diff options
author | Brett Weiland <brett_weiland@bpcspace.com> | 2020-11-01 18:47:04 -0600 |
---|---|---|
committer | Brett Weiland <brett_weiland@bpcspace.com> | 2020-11-01 18:47:04 -0600 |
commit | cfd882717f1e13c294e2d481a46ca8982c97f05c (patch) | |
tree | 5414e3c24d654d8ca38f21bda73ac4bad7582b75 /test_page | |
parent | 680da9662e0f0185aad05293739122c23d6c9bca (diff) |
new file: color_test.py
modified: post_bot.py
new file: test_page
Diffstat (limited to 'test_page')
-rw-r--r-- | test_page | 3789 |
1 files changed, 3789 insertions, 0 deletions
diff --git a/test_page b/test_page new file mode 100644 index 0000000..709cc21 --- /dev/null +++ b/test_page @@ -0,0 +1,3789 @@ +HTTP/1.1 200 OK + +Date: Mon, 02 Nov 2020 03:36:31 GMT + +Content-Type: text/html; charset=UTF-8 + +Connection: close + +X-Powered-By: PHP/7.0.33 + +Expires: Thu, 19 Nov 1981 08:52:00 GMT + +Cache-Control: no-store, no-cache, must-revalidate + +Pragma: no-cache + +Pragma: public + +CF-Cache-Status: DYNAMIC + +cf-request-id: 0628a033320000eca628294000000001 + +Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" + +Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report?s=I%2FnM1I7XsNBQajStTTluEJdN2ScNg%2BU%2FGukz0JCSp71g4yJ4KFfO%2F9pOAeC843pdrXWU0LeNeB8c4YsZ%2FexKgqfL1hTL3G85LJL7"}],"group":"cf-nel","max_age":604800} + +NEL: {"report_to":"cf-nel","max_age":604800} + +Server: cloudflare + +CF-RAY: 5ebacfcb8c96eca6-DFW + +Content-Length: 229284 + + + +<!DOCTYPE html> +<html> +<head> +<title>Account Settings < recolor.me</title> +<meta charset="utf-8" /> +<meta name="Author" content="recolor.me" /> +<meta name="Keywords" content="avatar, avatars, games, puzzles, forum, recolor, recolors, recolorme, recolor.me" /> +<meta name="Description" content="An avatar and minigame community" /> +<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" /> +<meta name="HandheldFriendly" content="true"> +<link rel="apple-touch-icon" href="/images/site/re.png" /> +<link rel="apple-touch-icon-precomposed" href="/images/site/re.png" /> +<link rel="icon" type="image/png" href="/images/site/re.png"> +<link rel="stylesheet" href="/css/re.css?rev=1576342590"> <link rel="stylesheet" href="/css/jquery-ui.css"> +<link rel="stylesheet" href="/css/shake.css"> +<link rel="stylesheet" href="/css/spectrum.css?rev=1576342590"> +<style> + + + + + .limited + { + width: 94%; + max-width: 1000px; + } + + #header_event_link + { + position: relative; + vertical-align: middle; + display: inline-block; + margin: 5px 13px 0 0; + height: 50px; + width: 50px; + z-index: 2; + } + + #header_event_link img.icon + { + width: 100%; + height: 100%; + position: relative; + z-index: 3; + left: 5px; + } + + #header_event_link img.icon + { + width: 70%; + height: 70%; + top: 15%; + left: 15%; + position: absolute; + z-index: 3; + } + + #header_event_link .blackhole + { + height: 150%; + left: -25%; + position: absolute; + top: -25%; + width: 150%; + z-index: 2; + } + + .speech_bubble + { + border: 2px solid #aaaaaa; + color: #333333; + } + + .nightmode .speech_bubble_message + { + color: #bbbbbb !important; + } + + .nightmode .speech_bubble textarea + { + color: #bbbbbb !important; + } + + .speech_bubble_tick + { + border-bottom: 2px solid #aaaaaa; + border-left: 2px solid #aaaaaa; + } + + #header .small_head + { + } + + #header #header_name + { + } + + #header #header_name:hover + { + } + + #rcmenu #chats + { + overflow-y: hidden; + } + #rcmenu #chats:hover + { + overflow-y: auto; + } + + .chat_container + { + + position: fixed !important; + } + + + + #global_container.minimal { + background-image: none; + } + + #global_container.minimal #global_container_backdrop { + } + + #global_container.minimal .post_avatar { + top: 55px; + left: 10px; + text-align: left; + width: 125px; + } + #global_container.minimal .post_avatar .account_name { + padding-left: 7px; + } + #global_container.minimal .post_avatar .sub_icon_container { + margin-top: 0; + } + #global_container.minimal .post_avatar .account_rank { + padding-left: 7px; + } + + #global_container.minimal .forum_topic .post { + min-height: auto; + margin-bottom: 7px; + } + + #global_container.minimal .post_content { + margin: 7px 0 0 100px; + padding: 0; + } + + #global_container.minimal .post_content { + margin: 7px 0 0 125px; + } + + #global_container.minimal .post_avatar a { + width: 50px; + height: 50px; + overflow: hidden; + } + #global_container.minimal .post_avatar a span { + display: block; + } + #global_container.minimal .post_avatar a img { + margin-left: -60px; + margin-top: -53px; + width: auto; + height: 200px; + max-width: 250px; + } + #global_container.minimal .post_avatar a img.defeated { + margin-top: -100px; + margin-left: -42px; + } + + + + + + </style> +<script src="/script/jquery_224.js"></script> +<script src="/script/jqueryui_1121.js"></script> +<script src="/script/recc3.js?rev=1465362006"></script> +<script src="/script/rvoice515e.js?rev=1465362006"></script> +<script> + + var site = {}; + + site.emotes = [{"emote_id":15,"emote_category":1,"emote_code":":cool:","emote_designer":4,"emote_image":"cool.png","emote_editor":4,"emote_v":1,"emote_priority":0},{"emote_id":17,"emote_category":1,"emote_code":":cry:","emote_designer":4,"emote_image":"cry.png","emote_editor":4,"emote_v":1,"emote_priority":1},{"emote_id":4,"emote_category":1,"emote_code":":blush:","emote_designer":73548,"emote_image":"blush.png","emote_editor":73548,"emote_v":1,"emote_priority":2},{"emote_id":14,"emote_category":3,"emote_code":":cookie:","emote_designer":4,"emote_image":"cookie.png","emote_editor":4,"emote_v":1,"emote_priority":3},{"emote_id":27,"emote_category":5,"emote_code":":ghost:","emote_designer":605,"emote_image":"ghost.png","emote_editor":605,"emote_v":1,"emote_priority":4},{"emote_id":30,"emote_category":5,"emote_code":":heart:","emote_designer":605,"emote_image":"heart.png","emote_editor":605,"emote_v":1,"emote_priority":5},{"emote_id":35,"emote_category":1,"emote_code":":laugh:","emote_designer":4,"emote_image":"laugh.png","emote_editor":4,"emote_v":1,"emote_priority":6},{"emote_id":44,"emote_category":5,"emote_code":":poo:","emote_designer":605,"emote_image":"poo.png","emote_editor":605,"emote_v":1,"emote_priority":7},{"emote_id":16,"emote_category":1,"emote_code":":shades:","emote_designer":4,"emote_image":"shades.png","emote_editor":4,"emote_v":1,"emote_priority":8},{"emote_id":61,"emote_category":1,"emote_code":":sweat:","emote_designer":59074,"emote_image":"sweat.png","emote_editor":59074,"emote_v":1,"emote_priority":9},{"emote_id":349,"emote_category":3,"emote_code":":smore:","emote_designer":45928,"emote_image":"smore.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":348,"emote_category":1,"emote_code":":pensive:","emote_designer":45928,"emote_image":"pensive.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":347,"emote_category":3,"emote_code":":macarons:","emote_designer":45928,"emote_image":"macarons.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":346,"emote_category":4,"emote_code":":hourglass:","emote_designer":45928,"emote_image":"hourglass.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":345,"emote_category":2,"emote_code":":frog:","emote_designer":45928,"emote_image":"frog.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":344,"emote_category":3,"emote_code":":friedegg:","emote_designer":45928,"emote_image":"friedegg.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":343,"emote_category":2,"emote_code":":crow:","emote_designer":45928,"emote_image":"crow.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":342,"emote_category":4,"emote_code":":book:","emote_designer":45928,"emote_image":"book.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":341,"emote_category":5,"emote_code":":microbes:","emote_designer":45928,"emote_image":"microbes.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":340,"emote_category":5,"emote_code":":jigsawpuzzle:","emote_designer":45928,"emote_image":"jigsawpuzzle.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":339,"emote_category":4,"emote_code":":gbh:","emote_designer":45928,"emote_image":"gbh.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":338,"emote_category":3,"emote_code":":fortunecookie:","emote_designer":45928,"emote_image":"fortunecookie.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":337,"emote_category":5,"emote_code":":dna:","emote_designer":45928,"emote_image":"dna.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":336,"emote_category":3,"emote_code":":boba:","emote_designer":45928,"emote_image":"boba.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":335,"emote_category":4,"emote_code":":tooth:","emote_designer":605,"emote_image":"tooth.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":334,"emote_category":4,"emote_code":":toolbox:","emote_designer":605,"emote_image":"toolbox.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":333,"emote_category":4,"emote_code":":sponge:","emote_designer":605,"emote_image":"sponge.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":332,"emote_category":4,"emote_code":":petridish:","emote_designer":605,"emote_image":"petridish.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":331,"emote_category":4,"emote_code":":broom:","emote_designer":605,"emote_image":"broom.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":330,"emote_category":4,"emote_code":":testtube:","emote_designer":605,"emote_image":"testtube.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":329,"emote_category":2,"emote_code":":sloth:","emote_designer":605,"emote_image":"sloth.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":328,"emote_category":5,"emote_code":":mothman:","emote_designer":605,"emote_image":"mothman.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":327,"emote_category":4,"emote_code":":bone:","emote_designer":605,"emote_image":"bone.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":326,"emote_category":4,"emote_code":":paintbrush:","emote_designer":605,"emote_image":"paintbrush.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":325,"emote_category":5,"emote_code":":witchat:","emote_designer":45928,"emote_image":"witchat.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":324,"emote_category":5,"emote_code":":foot:","emote_designer":45928,"emote_image":"foot.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":323,"emote_category":5,"emote_code":":cauldron:","emote_designer":45928,"emote_image":"cauldron.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":322,"emote_category":5,"emote_code":":bong:","emote_designer":45928,"emote_image":"bong.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":321,"emote_category":4,"emote_code":":lock:","emote_designer":45928,"emote_image":"lock.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":320,"emote_category":1,"emote_code":":spit:","emote_designer":605,"emote_image":"spit.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":319,"emote_category":4,"emote_code":":ribbon:","emote_designer":45928,"emote_image":"ribbon.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":318,"emote_category":3,"emote_code":":peach:","emote_designer":45928,"emote_image":"peach.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":317,"emote_category":5,"emote_code":":chubstar:","emote_designer":45928,"emote_image":"chubstar.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":316,"emote_category":3,"emote_code":":carrot:","emote_designer":45928,"emote_image":"carrot.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":315,"emote_category":2,"emote_code":":bunny:","emote_designer":45928,"emote_image":"bunny.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":314,"emote_category":2,"emote_code":":bear:","emote_designer":45928,"emote_image":"bear.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":313,"emote_category":3,"emote_code":":thirsty:","emote_designer":46230,"emote_image":"thirsty.png","emote_editor":44966,"emote_v":1,"emote_priority":9001},{"emote_id":312,"emote_category":4,"emote_code":":rocketship:","emote_designer":605,"emote_image":"rocketship.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":311,"emote_category":4,"emote_code":":ufo:","emote_designer":605,"emote_image":"ufo.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":310,"emote_category":4,"emote_code":":lightbulb_off:","emote_designer":2479,"emote_image":"lightbulb_off.png","emote_editor":2479,"emote_v":1,"emote_priority":9001},{"emote_id":309,"emote_category":4,"emote_code":":lightbulb:","emote_designer":2479,"emote_image":"lightbulb.png","emote_editor":2479,"emote_v":1,"emote_priority":9001},{"emote_id":308,"emote_category":2,"emote_code":":turtle:","emote_designer":605,"emote_image":"turtle.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":307,"emote_category":3,"emote_code":":sushi:","emote_designer":45928,"emote_image":"sushi.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":306,"emote_category":3,"emote_code":":pancakes:","emote_designer":45928,"emote_image":"pancakes.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":305,"emote_category":3,"emote_code":":icecream:","emote_designer":45928,"emote_image":"icecream.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":304,"emote_category":3,"emote_code":":donut:","emote_designer":45928,"emote_image":"donut.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":303,"emote_category":3,"emote_code":":avocado:","emote_designer":45928,"emote_image":"avocado.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":302,"emote_category":4,"emote_code":":tombstone:","emote_designer":45928,"emote_image":"tombstone.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":301,"emote_category":4,"emote_code":":brain:","emote_designer":45928,"emote_image":"brain.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":300,"emote_category":5,"emote_code":":token:","emote_designer":4,"emote_image":"token.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":299,"emote_category":2,"emote_code":":chick:","emote_designer":45928,"emote_image":"chick.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":298,"emote_category":4,"emote_code":":eastereggs:","emote_designer":45928,"emote_image":"eastereggs.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":297,"emote_category":2,"emote_code":":hatch:","emote_designer":45928,"emote_image":"hatch.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":296,"emote_category":1,"emote_code":":nope:","emote_designer":45928,"emote_image":"nope.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":295,"emote_category":2,"emote_code":":spider:","emote_designer":45928,"emote_image":"spider.png","emote_editor":48351,"emote_v":1,"emote_priority":9001},{"emote_id":294,"emote_category":1,"emote_code":":starstruck:","emote_designer":4,"emote_image":"starstruck.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":293,"emote_category":4,"emote_code":":basketball:","emote_designer":2479,"emote_image":"basketball.png","emote_editor":2479,"emote_v":1,"emote_priority":9001},{"emote_id":292,"emote_category":5,"emote_code":":no:","emote_designer":1593,"emote_image":"no.png","emote_editor":1593,"emote_v":1,"emote_priority":9001},{"emote_id":291,"emote_category":3,"emote_code":":pan:","emote_designer":45928,"emote_image":"pan.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":290,"emote_category":4,"emote_code":":microwave:","emote_designer":45928,"emote_image":"microwave.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":289,"emote_category":3,"emote_code":":bowl:","emote_designer":45928,"emote_image":"bowl.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":288,"emote_category":3,"emote_code":":chopsticks:","emote_designer":4,"emote_image":"chopsticks.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":287,"emote_category":3,"emote_code":":knife:","emote_designer":605,"emote_image":"knife.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":286,"emote_category":3,"emote_code":":spoon:","emote_designer":45928,"emote_image":"spoond.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":285,"emote_category":3,"emote_code":":fork:","emote_designer":45928,"emote_image":"forkd.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":284,"emote_category":4,"emote_code":":plate:","emote_designer":45928,"emote_image":"plate.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":283,"emote_category":4,"emote_code":":tennis:","emote_designer":45928,"emote_image":"tennis.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":282,"emote_category":4,"emote_code":":baseball:","emote_designer":45928,"emote_image":"baseball.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":281,"emote_category":4,"emote_code":":hockey:","emote_designer":45928,"emote_image":"hockey.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":280,"emote_category":4,"emote_code":":soccer:","emote_designer":45928,"emote_image":"soccer.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":279,"emote_category":4,"emote_code":":football:","emote_designer":4,"emote_image":"football.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":278,"emote_category":4,"emote_code":":pillows:","emote_designer":605,"emote_image":"pillows.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":277,"emote_category":4,"emote_code":":hairdryer:","emote_designer":605,"emote_image":"hairdryer.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":276,"emote_category":4,"emote_code":":tp:","emote_designer":605,"emote_image":"tp.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":275,"emote_category":4,"emote_code":":soap:","emote_designer":4,"emote_image":"soap.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":274,"emote_category":4,"emote_code":":coffeetable:","emote_designer":605,"emote_image":"coffeetable.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":273,"emote_category":4,"emote_code":":key:","emote_designer":605,"emote_image":"key.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":272,"emote_category":4,"emote_code":":purse:","emote_designer":605,"emote_image":"purse.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":271,"emote_category":4,"emote_code":":tv:","emote_designer":605,"emote_image":"tv.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":270,"emote_category":4,"emote_code":":couch:","emote_designer":605,"emote_image":"couch.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":269,"emote_category":4,"emote_code":":taxi:","emote_designer":605,"emote_image":"taxi.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":268,"emote_category":4,"emote_code":":skateboard:","emote_designer":605,"emote_image":"skateboard.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":267,"emote_category":4,"emote_code":":boat:","emote_designer":605,"emote_image":"boat.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":266,"emote_category":4,"emote_code":":motorcycle:","emote_designer":605,"emote_image":"motorcycle.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":265,"emote_category":4,"emote_code":":train:","emote_designer":605,"emote_image":"train.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":264,"emote_category":4,"emote_code":":bicycle:","emote_designer":605,"emote_image":"bicycle.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":263,"emote_category":4,"emote_code":":airplane:","emote_designer":45928,"emote_image":"airplane.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":262,"emote_category":4,"emote_code":":bus:","emote_designer":605,"emote_image":"bus.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":261,"emote_category":4,"emote_code":":car:","emote_designer":605,"emote_image":"car.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":260,"emote_category":5,"emote_code":":tornado:","emote_designer":605,"emote_image":"tornado.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":259,"emote_category":5,"emote_code":":coldweather:","emote_designer":45928,"emote_image":"coldweather.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":258,"emote_category":5,"emote_code":":thunderstorm:","emote_designer":45928,"emote_image":"thunderstorm.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":257,"emote_category":4,"emote_code":":flipflops:","emote_designer":4,"emote_image":"flipflops.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":256,"emote_category":4,"emote_code":":jacket:","emote_designer":45928,"emote_image":"jacket.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":255,"emote_category":4,"emote_code":":sweater:","emote_designer":45928,"emote_image":"sweater.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":254,"emote_category":4,"emote_code":":gloves:","emote_designer":45928,"emote_image":"gloves.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":253,"emote_category":4,"emote_code":":scarf:","emote_designer":45928,"emote_image":"scarf.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":252,"emote_category":4,"emote_code":":hat:","emote_designer":45928,"emote_image":"hat.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":251,"emote_category":4,"emote_code":":suit:","emote_designer":45928,"emote_image":"suit.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":250,"emote_category":4,"emote_code":":tie:","emote_designer":45928,"emote_image":"tie.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":249,"emote_category":4,"emote_code":":dress:","emote_designer":4,"emote_image":"dress.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":248,"emote_category":4,"emote_code":":skirt:","emote_designer":45928,"emote_image":"skirt.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":247,"emote_category":4,"emote_code":":socks:","emote_designer":605,"emote_image":"socks.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":246,"emote_category":4,"emote_code":":tshirt:","emote_designer":45928,"emote_image":"tshirt.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":245,"emote_category":4,"emote_code":":shoes:","emote_designer":605,"emote_image":"shoes.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":243,"emote_category":4,"emote_code":":pants:","emote_designer":45928,"emote_image":"pants.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":242,"emote_category":4,"emote_code":":map:","emote_designer":45928,"emote_image":"map.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":241,"emote_category":4,"emote_code":":folder:","emote_designer":605,"emote_image":"folder.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":240,"emote_category":4,"emote_code":":calculator:","emote_designer":45928,"emote_image":"calculator.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":239,"emote_category":4,"emote_code":":scissors:","emote_designer":605,"emote_image":"scissors.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":238,"emote_category":4,"emote_code":":glue:","emote_designer":605,"emote_image":"glue.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":237,"emote_category":4,"emote_code":":paperclip:","emote_designer":4,"emote_image":"paperclip.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":236,"emote_category":4,"emote_code":":ruler:","emote_designer":45928,"emote_image":"ruler.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":235,"emote_category":4,"emote_code":":notebook:","emote_designer":45928,"emote_image":"notebook.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":234,"emote_category":4,"emote_code":":paper:","emote_designer":4,"emote_image":"paper.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":233,"emote_category":4,"emote_code":":pen:","emote_designer":605,"emote_image":"pen.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":232,"emote_category":3,"emote_code":":salad:","emote_designer":605,"emote_image":"salad.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":231,"emote_category":3,"emote_code":":pizza:","emote_designer":62125,"emote_image":"pizza.png","emote_editor":62125,"emote_v":1,"emote_priority":9001},{"emote_id":230,"emote_category":2,"emote_code":":egg:","emote_designer":2479,"emote_image":"egg.png","emote_editor":2479,"emote_v":1,"emote_priority":9001},{"emote_id":229,"emote_category":3,"emote_code":":waffle:","emote_designer":45928,"emote_image":"waffle.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":228,"emote_category":3,"emote_code":":bacon:","emote_designer":4,"emote_image":"bacon.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":227,"emote_category":3,"emote_code":":coffee:","emote_designer":605,"emote_image":"coffee.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":226,"emote_category":3,"emote_code":":water:","emote_designer":46230,"emote_image":"water.png","emote_editor":44966,"emote_v":1,"emote_priority":9001},{"emote_id":225,"emote_category":3,"emote_code":":rice:","emote_designer":605,"emote_image":"rice.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":224,"emote_category":3,"emote_code":":frenchfries:","emote_designer":45928,"emote_image":"frenchfries.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":223,"emote_category":3,"emote_code":":burger:","emote_designer":45928,"emote_image":"burger.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":222,"emote_category":3,"emote_code":":taco:","emote_designer":45928,"emote_image":"taco.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":221,"emote_category":3,"emote_code":":lemon:","emote_designer":62125,"emote_image":"lemon.png","emote_editor":62125,"emote_v":1,"emote_priority":9001},{"emote_id":220,"emote_category":3,"emote_code":":pineapple:","emote_designer":45928,"emote_image":"pineapple.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":219,"emote_category":3,"emote_code":":potato:","emote_designer":62125,"emote_image":"potato.png","emote_editor":62125,"emote_v":1,"emote_priority":9001},{"emote_id":218,"emote_category":3,"emote_code":":soda:","emote_designer":605,"emote_image":"soda.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":217,"emote_category":3,"emote_code":":strawberry:","emote_designer":45928,"emote_image":"strawberry.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":216,"emote_category":3,"emote_code":":watermelon:","emote_designer":605,"emote_image":"watermelon.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":215,"emote_category":3,"emote_code":":lime:","emote_designer":62125,"emote_image":"lime.png","emote_editor":62125,"emote_v":1,"emote_priority":9001},{"emote_id":213,"emote_category":2,"emote_code":":giraffe:","emote_designer":605,"emote_image":"giraffe.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":212,"emote_category":2,"emote_code":":goat:","emote_designer":605,"emote_image":"goat.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":211,"emote_category":2,"emote_code":":squirrel:","emote_designer":605,"emote_image":"squirrel.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":210,"emote_category":2,"emote_code":":pig:","emote_designer":605,"emote_image":"pig.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":209,"emote_category":2,"emote_code":":cow:","emote_designer":605,"emote_image":"cow.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":208,"emote_category":2,"emote_code":":bird:","emote_designer":45928,"emote_image":"birdo.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":207,"emote_category":2,"emote_code":":alligator:","emote_designer":605,"emote_image":"alligator.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":206,"emote_category":2,"emote_code":":butterfly:","emote_designer":45928,"emote_image":"butterfly.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":205,"emote_category":2,"emote_code":":ant:","emote_designer":4,"emote_image":"ant.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":204,"emote_category":2,"emote_code":":bug:","emote_designer":605,"emote_image":"bug.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":203,"emote_category":2,"emote_code":":bee:","emote_designer":1593,"emote_image":"bee.png","emote_editor":1593,"emote_v":1,"emote_priority":9001},{"emote_id":202,"emote_category":2,"emote_code":":fish:","emote_designer":45928,"emote_image":"fishy.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":201,"emote_category":2,"emote_code":":mouse:","emote_designer":605,"emote_image":"mouse.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":200,"emote_category":3,"emote_code":":cup:","emote_designer":4,"emote_image":"cup.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":199,"emote_category":5,"emote_code":":sunny:","emote_designer":45928,"emote_image":"sunny.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":198,"emote_category":5,"emote_code":":snow:","emote_designer":45928,"emote_image":"snow.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":197,"emote_category":4,"emote_code":":pencil:","emote_designer":605,"emote_image":"pencil.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":196,"emote_category":2,"emote_code":":horse:","emote_designer":605,"emote_image":"horse.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":195,"emote_category":4,"emote_code":":door:","emote_designer":4,"emote_image":"door.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":194,"emote_category":2,"emote_code":":chicken:","emote_designer":605,"emote_image":"chicken.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":193,"emote_category":4,"emote_code":":chair:","emote_designer":605,"emote_image":"chair.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":192,"emote_category":4,"emote_code":":palette:","emote_designer":4,"emote_image":"palette.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":191,"emote_category":2,"emote_code":":dragon:","emote_designer":50206,"emote_image":"dragon.png","emote_editor":37865,"emote_v":1,"emote_priority":9001},{"emote_id":190,"emote_category":3,"emote_code":":apple:","emote_designer":4,"emote_image":"apple.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":189,"emote_category":3,"emote_code":":orange:","emote_designer":4,"emote_image":"orange.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":188,"emote_category":3,"emote_code":":bananas:","emote_designer":4,"emote_image":"bananas.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":187,"emote_category":3,"emote_code":":pear:","emote_designer":4,"emote_image":"pear.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":186,"emote_category":3,"emote_code":":blueberries:","emote_designer":4,"emote_image":"blueberries.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":185,"emote_category":3,"emote_code":":grapes:","emote_designer":4,"emote_image":"grapes.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":184,"emote_category":2,"emote_code":":sadpepe:","emote_designer":45710,"emote_image":"sadpepe.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":183,"emote_category":1,"emote_code":":ok:","emote_designer":44814,"emote_image":"ok.png","emote_editor":0,"emote_v":1,"emote_priority":9001},{"emote_id":182,"emote_category":1,"emote_code":":maniac:","emote_designer":44814,"emote_image":"maniac.png","emote_editor":0,"emote_v":1,"emote_priority":9001},{"emote_id":181,"emote_category":1,"emote_code":":umm:","emote_designer":44814,"emote_image":"umm.png","emote_editor":0,"emote_v":1,"emote_priority":9001},{"emote_id":180,"emote_category":1,"emote_code":":uwu:","emote_designer":2769,"emote_image":"uwu.png","emote_editor":59074,"emote_v":1,"emote_priority":9001},{"emote_id":179,"emote_category":2,"emote_code":":owl:","emote_designer":220,"emote_image":"cowl.png","emote_editor":0,"emote_v":1,"emote_priority":9001},{"emote_id":178,"emote_category":3,"emote_code":":mushroom:","emote_designer":2769,"emote_image":"mushroom.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":177,"emote_category":4,"emote_code":":eyeball:","emote_designer":220,"emote_image":"eyeball.png","emote_editor":0,"emote_v":1,"emote_priority":9001},{"emote_id":176,"emote_category":4,"emote_code":":crown:","emote_designer":45928,"emote_image":"crown.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":175,"emote_category":3,"emote_code":":teacup:","emote_designer":45928,"emote_image":"teacup.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":174,"emote_category":2,"emote_code":":duck:","emote_designer":4,"emote_image":"duck.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":173,"emote_category":1,"emote_code":":kissy:","emote_designer":7404,"emote_image":"kissy.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":172,"emote_category":3,"emote_code":":bread:","emote_designer":46230,"emote_image":"bread.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":171,"emote_category":3,"emote_code":":toast:","emote_designer":46230,"emote_image":"toast.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":170,"emote_category":1,"emote_code":":sneaky:","emote_designer":2769,"emote_image":"sneaky.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":169,"emote_category":5,"emote_code":":lit:","emote_designer":2769,"emote_image":"lit.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":168,"emote_category":1,"emote_code":":faint:","emote_designer":59074,"emote_image":"faint.png","emote_editor":59074,"emote_v":1,"emote_priority":9001},{"emote_id":167,"emote_category":1,"emote_code":":brow:","emote_designer":2769,"emote_image":"brow.png","emote_editor":59074,"emote_v":1,"emote_priority":9001},{"emote_id":166,"emote_category":1,"emote_code":":rbow:","emote_designer":4,"emote_image":"rbow.png","emote_editor":0,"emote_v":1,"emote_priority":9001},{"emote_id":165,"emote_category":1,"emote_code":":smirk:","emote_designer":4,"emote_image":"smirk.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":164,"emote_category":1,"emote_code":":mischief:","emote_designer":4,"emote_image":"mischief.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":163,"emote_category":1,"emote_code":":wha:","emote_designer":73548,"emote_image":"wha.png","emote_editor":73548,"emote_v":1,"emote_priority":9001},{"emote_id":162,"emote_category":1,"emote_code":":shy:","emote_designer":4,"emote_image":"shy.png","emote_editor":59074,"emote_v":1,"emote_priority":9001},{"emote_id":161,"emote_category":1,"emote_code":":relief:","emote_designer":4,"emote_image":"relief.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":160,"emote_category":1,"emote_code":":nyoron:","emote_designer":4,"emote_image":"nyoron.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":159,"emote_category":1,"emote_code":":nyan:","emote_designer":4,"emote_image":"nyan.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":158,"emote_category":1,"emote_code":":heee:","emote_designer":4,"emote_image":"heee.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":157,"emote_category":1,"emote_code":":nom:","emote_designer":59074,"emote_image":"nom.png","emote_editor":59074,"emote_v":1,"emote_priority":9001},{"emote_id":156,"emote_category":1,"emote_code":":flirty:","emote_designer":59074,"emote_image":"flirty.png","emote_editor":59074,"emote_v":1,"emote_priority":9001},{"emote_id":155,"emote_category":1,"emote_code":":galp:","emote_designer":605,"emote_image":"galp.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":154,"emote_category":1,"emote_code":":i:","emote_designer":4,"emote_image":"i.png","emote_editor":0,"emote_v":1,"emote_priority":9001},{"emote_id":153,"emote_category":1,"emote_code":":hurr:","emote_designer":4,"emote_image":"hurr.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":152,"emote_category":1,"emote_code":":denko:","emote_designer":4,"emote_image":"denko.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":151,"emote_category":1,"emote_code":":darp:","emote_designer":907,"emote_image":"darp.png","emote_editor":47250,"emote_v":1,"emote_priority":9001},{"emote_id":150,"emote_category":1,"emote_code":":hand:","emote_designer":54949,"emote_image":"hand.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":149,"emote_category":1,"emote_code":":brows:","emote_designer":73548,"emote_image":"brows.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":148,"emote_category":1,"emote_code":":whistle:","emote_designer":54949,"emote_image":"whistle.png","emote_editor":73548,"emote_v":1,"emote_priority":9001},{"emote_id":147,"emote_category":1,"emote_code":":brighteyes:","emote_designer":1599,"emote_image":"brighteyes.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":146,"emote_category":2,"emote_code":":who:","emote_designer":17777,"emote_image":"who.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":145,"emote_category":2,"emote_code":":hoot:","emote_designer":17777,"emote_image":"hoot.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":144,"emote_category":1,"emote_code":":expired:","emote_designer":2769,"emote_image":"expired.png","emote_editor":0,"emote_v":1,"emote_priority":9001},{"emote_id":143,"emote_category":1,"emote_code":":hysterical:","emote_designer":2769,"emote_image":"hysterical.png","emote_editor":73548,"emote_v":1,"emote_priority":9001},{"emote_id":142,"emote_category":1,"emote_code":":upset:","emote_designer":2769,"emote_image":"upset.png","emote_editor":73548,"emote_v":1,"emote_priority":9001},{"emote_id":141,"emote_category":1,"emote_code":":yell:","emote_designer":2769,"emote_image":"yell.png","emote_editor":59074,"emote_v":1,"emote_priority":9001},{"emote_id":140,"emote_category":1,"emote_code":":oh:","emote_designer":2769,"emote_image":"oh.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":139,"emote_category":1,"emote_code":":bored:","emote_designer":2769,"emote_image":"bored.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":138,"emote_category":1,"emote_code":":finger:","emote_designer":62125,"emote_image":"finger.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":137,"emote_category":5,"emote_code":":question:","emote_designer":62125,"emote_image":"question.png","emote_editor":0,"emote_v":1,"emote_priority":9001},{"emote_id":136,"emote_category":3,"emote_code":":corndog:","emote_designer":62125,"emote_image":"corndog.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":135,"emote_category":1,"emote_code":":cyclops:","emote_designer":3318,"emote_image":"cyclops.png","emote_editor":2275,"emote_v":1,"emote_priority":9001},{"emote_id":134,"emote_category":1,"emote_code":":tri:","emote_designer":3318,"emote_image":"tri.png","emote_editor":47250,"emote_v":1,"emote_priority":9001},{"emote_id":133,"emote_category":1,"emote_code":":motivated:","emote_designer":7954,"emote_image":"motivated.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":132,"emote_category":1,"emote_code":":8):","emote_designer":2769,"emote_image":"8.png","emote_editor":0,"emote_v":1,"emote_priority":9001},{"emote_id":131,"emote_category":1,"emote_code":":uhno:","emote_designer":7954,"emote_image":"uhno.png","emote_editor":59074,"emote_v":1,"emote_priority":9001},{"emote_id":130,"emote_category":1,"emote_code":":awesome:","emote_designer":62125,"emote_image":"awesome.png","emote_editor":59074,"emote_v":1,"emote_priority":9001},{"emote_id":129,"emote_category":5,"emote_code":":slime:","emote_designer":62125,"emote_image":"slime.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":128,"emote_category":1,"emote_code":":yeesh:","emote_designer":7954,"emote_image":"yeesh.png","emote_editor":73548,"emote_v":1,"emote_priority":9001},{"emote_id":127,"emote_category":1,"emote_code":":bashful:","emote_designer":7954,"emote_image":"bashful.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":126,"emote_category":1,"emote_code":":jaw:","emote_designer":62125,"emote_image":"jaw.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":125,"emote_category":1,"emote_code":":noop:","emote_designer":2769,"emote_image":"noop.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":124,"emote_category":2,"emote_code":":ewe:","emote_designer":2769,"emote_image":"ewe.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":123,"emote_category":1,"emote_code":":admin:","emote_designer":2769,"emote_image":"admin.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":122,"emote_category":1,"emote_code":":feels:","emote_designer":59074,"emote_image":"feels.png","emote_editor":59074,"emote_v":1,"emote_priority":9001},{"emote_id":121,"emote_category":1,"emote_code":":erk:","emote_designer":4,"emote_image":"erk.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":120,"emote_category":1,"emote_code":":pbt:","emote_designer":12084,"emote_image":"pbt.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":119,"emote_category":1,"emote_code":":huehue:","emote_designer":39212,"emote_image":"huehue.png","emote_editor":59074,"emote_v":1,"emote_priority":9001},{"emote_id":118,"emote_category":1,"emote_code":":pray:","emote_designer":2854,"emote_image":"pray.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":117,"emote_category":1,"emote_code":":snrk:","emote_designer":4,"emote_image":"snrk.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":116,"emote_category":1,"emote_code":":ohoho:","emote_designer":4,"emote_image":"ohoho.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":115,"emote_category":1,"emote_code":":tickles:","emote_designer":33720,"emote_image":"tickles.png","emote_editor":0,"emote_v":1,"emote_priority":9001},{"emote_id":114,"emote_category":3,"emote_code":":hotdog:","emote_designer":2769,"emote_image":"hotdog.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":113,"emote_category":1,"emote_code":":shock:","emote_designer":2769,"emote_image":"shock.png","emote_editor":59074,"emote_v":1,"emote_priority":9001},{"emote_id":112,"emote_category":1,"emote_code":":jack:","emote_designer":2769,"emote_image":"jack.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":111,"emote_category":1,"emote_code":":nerd:","emote_designer":46230,"emote_image":"nerd.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":110,"emote_category":1,"emote_code":":o3o:","emote_designer":2769,"emote_image":"o3o.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":109,"emote_category":4,"emote_code":":tea:","emote_designer":2769,"emote_image":"tea.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":108,"emote_category":3,"emote_code":":salt:","emote_designer":2769,"emote_image":"salt.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":107,"emote_category":1,"emote_code":":bitter:","emote_designer":2769,"emote_image":"bitter.png","emote_editor":73548,"emote_v":1,"emote_priority":9001},{"emote_id":106,"emote_category":1,"emote_code":":vom:","emote_designer":2769,"emote_image":"vom.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":105,"emote_category":1,"emote_code":":3:","emote_designer":2769,"emote_image":"3.png","emote_editor":2275,"emote_v":1,"emote_priority":9001},{"emote_id":104,"emote_category":1,"emote_code":":low:","emote_designer":2769,"emote_image":"low.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":103,"emote_category":1,"emote_code":":ahg:","emote_designer":2769,"emote_image":"ahg.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":102,"emote_category":1,"emote_code":":tear:","emote_designer":2769,"emote_image":"tear.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":101,"emote_category":1,"emote_code":":xD:","emote_designer":2769,"emote_image":"xD.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":100,"emote_category":1,"emote_code":":facepalm:","emote_designer":2769,"emote_image":"facepalm.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":99,"emote_category":1,"emote_code":":shrug:","emote_designer":2769,"emote_image":"shrug.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":98,"emote_category":1,"emote_code":":nun:","emote_designer":2769,"emote_image":"nun.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":97,"emote_category":1,"emote_code":":8u8:","emote_designer":45710,"emote_image":"8u8.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":96,"emote_category":1,"emote_code":":dur:","emote_designer":220,"emote_image":"dur.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":95,"emote_category":2,"emote_code":":pepe:","emote_designer":45710,"emote_image":"pepe.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":94,"emote_category":1,"emote_code":":yara:","emote_designer":59015,"emote_image":"yara.png","emote_editor":47250,"emote_v":1,"emote_priority":9001},{"emote_id":93,"emote_category":1,"emote_code":":n_n:","emote_designer":45710,"emote_image":"n_n.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":92,"emote_category":1,"emote_code":":oAo:","emote_designer":45710,"emote_image":"oao.png","emote_editor":73548,"emote_v":1,"emote_priority":9001},{"emote_id":91,"emote_category":1,"emote_code":":huh:","emote_designer":45710,"emote_image":"huh.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":90,"emote_category":1,"emote_code":":skull:","emote_designer":44966,"emote_image":"skull.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":89,"emote_category":3,"emote_code":":pop:","emote_designer":16182,"emote_image":"pop.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":88,"emote_category":1,"emote_code":":cheeks:","emote_designer":2769,"emote_image":"cheeks.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":87,"emote_category":1,"emote_code":":wah:","emote_designer":2769,"emote_image":"wah.png","emote_editor":0,"emote_v":1,"emote_priority":9001},{"emote_id":86,"emote_category":1,"emote_code":":bubbles:","emote_designer":17385,"emote_image":"bubbles.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":85,"emote_category":1,"emote_code":":butt:","emote_designer":1599,"emote_image":"butt.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":84,"emote_category":1,"emote_code":":sympathy:","emote_designer":46230,"emote_image":"sympathy.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":83,"emote_category":1,"emote_code":":tdown:","emote_designer":16733,"emote_image":"tdown.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":82,"emote_category":1,"emote_code":":tup:","emote_designer":16733,"emote_image":"tup.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":81,"emote_category":1,"emote_code":":glance:","emote_designer":16733,"emote_image":"glance.png","emote_editor":0,"emote_v":1,"emote_priority":9001},{"emote_id":80,"emote_category":1,"emote_code":":roll:","emote_designer":2769,"emote_image":"roll.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":79,"emote_category":1,"emote_code":":eoe:","emote_designer":2769,"emote_image":"eoe.png","emote_editor":59074,"emote_v":1,"emote_priority":9001},{"emote_id":78,"emote_category":3,"emote_code":":popcorn:","emote_designer":19383,"emote_image":"popcorn.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":77,"emote_category":1,"emote_code":":da:","emote_designer":16733,"emote_image":"da.png","emote_editor":73548,"emote_v":1,"emote_priority":9001},{"emote_id":76,"emote_category":1,"emote_code":":hm:","emote_designer":73548,"emote_image":"hm.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":75,"emote_category":1,"emote_code":":qq:","emote_designer":59074,"emote_image":"qq.png","emote_editor":59074,"emote_v":1,"emote_priority":9001},{"emote_id":74,"emote_category":1,"emote_code":":hothead:","emote_designer":1599,"emote_image":"hothead.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":73,"emote_category":1,"emote_code":":ene:","emote_designer":2769,"emote_image":"ene.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":72,"emote_category":1,"emote_code":":zombie:","emote_designer":4,"emote_image":"zombie.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":71,"emote_category":1,"emote_code":":yawning:","emote_designer":4,"emote_image":"yawning.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":70,"emote_category":1,"emote_code":":yawn:","emote_designer":4,"emote_image":"yawn.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":69,"emote_category":1,"emote_code":":wink:","emote_designer":4,"emote_image":"wink.png","emote_editor":0,"emote_v":1,"emote_priority":9001},{"emote_id":68,"emote_category":4,"emote_code":":win:","emote_designer":45928,"emote_image":"win.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":67,"emote_category":1,"emote_code":":whew:","emote_designer":4,"emote_image":"whew.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":66,"emote_category":4,"emote_code":":wave:","emote_designer":4,"emote_image":"wave.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":65,"emote_category":1,"emote_code":":vomit:","emote_designer":605,"emote_image":"vomit.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":64,"emote_category":1,"emote_code":":unimpressed:","emote_designer":2275,"emote_image":"unimpressed.png","emote_editor":2275,"emote_v":1,"emote_priority":9001},{"emote_id":63,"emote_category":1,"emote_code":":tongue:","emote_designer":605,"emote_image":"tongue.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":62,"emote_category":1,"emote_code":":think:","emote_designer":4,"emote_image":"think.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":60,"emote_category":5,"emote_code":":sun:","emote_designer":45928,"emote_image":"sun.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":59,"emote_category":5,"emote_code":":stars:","emote_designer":45928,"emote_image":"stars.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":58,"emote_category":1,"emote_code":":smug:","emote_designer":59074,"emote_image":"smug.png","emote_editor":59074,"emote_v":1,"emote_priority":9001},{"emote_id":57,"emote_category":1,"emote_code":":smoke:","emote_designer":4,"emote_image":"smoke.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":56,"emote_category":1,"emote_code":":smile:","emote_designer":73548,"emote_image":"smile.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":55,"emote_category":1,"emote_code":":sleeping:","emote_designer":4,"emote_image":"sleeping.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":54,"emote_category":1,"emote_code":":sleep:","emote_designer":4,"emote_image":"sleep.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":53,"emote_category":1,"emote_code":":silly:","emote_designer":73548,"emote_image":"silly.png","emote_editor":73548,"emote_v":1,"emote_priority":9001},{"emote_id":52,"emote_category":1,"emote_code":":silenced:","emote_designer":4,"emote_image":"silenced.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":51,"emote_category":1,"emote_code":":sicker:","emote_designer":4,"emote_image":"sicker.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":50,"emote_category":1,"emote_code":":sick:","emote_designer":4,"emote_image":"sick.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":49,"emote_category":1,"emote_code":":shh:","emote_designer":4,"emote_image":"shh.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":48,"emote_category":1,"emote_code":":scared:","emote_designer":4,"emote_image":"scared.png","emote_editor":0,"emote_v":1,"emote_priority":9001},{"emote_id":47,"emote_category":1,"emote_code":":sad:","emote_designer":4,"emote_image":"sad.png","emote_editor":0,"emote_v":1,"emote_priority":9001},{"emote_id":46,"emote_category":5,"emote_code":":rainbow:","emote_designer":4,"emote_image":"rainbow.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":45,"emote_category":1,"emote_code":":rain:","emote_designer":4,"emote_image":"rain.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":43,"emote_category":4,"emote_code":":phone:","emote_designer":59074,"emote_image":"phone.png","emote_editor":59074,"emote_v":1,"emote_priority":9001},{"emote_id":42,"emote_category":1,"emote_code":":party:","emote_designer":45928,"emote_image":"party.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":41,"emote_category":1,"emote_code":":ninja:","emote_designer":4,"emote_image":"ninja.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":40,"emote_category":5,"emote_code":":night:","emote_designer":4,"emote_image":"night.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":39,"emote_category":1,"emote_code":":music:","emote_designer":4,"emote_image":"music.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":38,"emote_category":4,"emote_code":":mail:","emote_designer":59074,"emote_image":"mail.png","emote_editor":59074,"emote_v":1,"emote_priority":9001},{"emote_id":37,"emote_category":1,"emote_code":":love:","emote_designer":73548,"emote_image":"love.png","emote_editor":73548,"emote_v":1,"emote_priority":9001},{"emote_id":36,"emote_category":1,"emote_code":":loser:","emote_designer":4,"emote_image":"loser.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":34,"emote_category":4,"emote_code":":lips:","emote_designer":605,"emote_image":"lips.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":33,"emote_category":1,"emote_code":":angel:","emote_designer":4,"emote_image":"angel.png","emote_editor":0,"emote_v":1,"emote_priority":9001},{"emote_id":32,"emote_category":1,"emote_code":":idea:","emote_designer":4,"emote_image":"idea.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":31,"emote_category":1,"emote_code":":hug:","emote_designer":4,"emote_image":"hug.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":29,"emote_category":1,"emote_code":":grin:","emote_designer":73548,"emote_image":"grin.png","emote_editor":73548,"emote_v":1,"emote_priority":9001},{"emote_id":28,"emote_category":5,"emote_code":":gift:","emote_designer":59074,"emote_image":"gift.png","emote_editor":59074,"emote_v":1,"emote_priority":9001},{"emote_id":26,"emote_category":4,"emote_code":":flower:","emote_designer":4,"emote_image":"flower.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":25,"emote_category":1,"emote_code":":drool:","emote_designer":4,"emote_image":"drool.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":24,"emote_category":3,"emote_code":":drink:","emote_designer":45928,"emote_image":"drink.png","emote_editor":45928,"emote_v":1,"emote_priority":9001},{"emote_id":23,"emote_category":2,"emote_code":":dpig:","emote_designer":4,"emote_image":"dpig.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":22,"emote_category":2,"emote_code":":dog:","emote_designer":4,"emote_image":"dog.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":21,"emote_category":1,"emote_code":":dizzy:","emote_designer":4,"emote_image":"dizzy.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":20,"emote_category":1,"emote_code":":devil:","emote_designer":605,"emote_image":"devil.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":19,"emote_category":1,"emote_code":":dead:","emote_designer":605,"emote_image":"dead.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":18,"emote_category":1,"emote_code":":crying:","emote_designer":73548,"emote_image":"crying.png","emote_editor":73548,"emote_v":1,"emote_priority":9001},{"emote_id":13,"emote_category":1,"emote_code":":confused:","emote_designer":59074,"emote_image":"confused.png","emote_editor":59074,"emote_v":1,"emote_priority":9001},{"emote_id":12,"emote_category":1,"emote_code":":cold:","emote_designer":4,"emote_image":"cold.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":11,"emote_category":1,"emote_code":":clown:","emote_designer":4,"emote_image":"clown.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":10,"emote_category":4,"emote_code":":clock:","emote_designer":4,"emote_image":"clock.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":9,"emote_category":2,"emote_code":":cat:","emote_designer":4,"emote_image":"cat.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":8,"emote_category":3,"emote_code":":cake:","emote_designer":605,"emote_image":"cake.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":7,"emote_category":1,"emote_code":":bye:","emote_designer":59074,"emote_image":"bye.png","emote_editor":59074,"emote_v":1,"emote_priority":9001},{"emote_id":6,"emote_category":5,"emote_code":":broken:","emote_designer":605,"emote_image":"broken.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":5,"emote_category":4,"emote_code":":bomb:","emote_designer":605,"emote_image":"bomb.png","emote_editor":605,"emote_v":1,"emote_priority":9001},{"emote_id":3,"emote_category":1,"emote_code":":blank:","emote_designer":4,"emote_image":"blank.png","emote_editor":0,"emote_v":1,"emote_priority":9001},{"emote_id":2,"emote_category":5,"emote_code":":bit:","emote_designer":4,"emote_image":"bits.png","emote_editor":4,"emote_v":1,"emote_priority":9001},{"emote_id":1,"emote_category":1,"emote_code":":angry:","emote_designer":59074,"emote_image":"angry.png","emote_editor":59074,"emote_v":1,"emote_priority":9001}]; + + site.chats_unread = 0; + site.event = "trickortreat"; + site.my_chat_accounts = []; + site.my_chat_interval = [31,48]; + site.my_chat_messages = []; + site.my_id = 120100; + site.my_bits = 1760; + site.my_eggs = 0; + site.my_tips = 0; + site.my_tips_anon = 0; + site.my_tips_today = 0; + site.my_emotes = [15,17,4,14,27,30,35,44,16,61]; + site.my_karma = 4760; + site.my_name = 'testingaccount1'; + site.my_ghost = 84903; + site.my_robot = 70046; + site.my_saves = '10'; + site.my_tokens = 0; + site.my_key = 'cbO_VxSG_0kklt4LHX28pQ93WJEiw5WV'; + site.my_device = 'computer'; + site.my_friends = []; + site.my_blocked = []; + site.my_wishlist = []; + site.no_tips = 0; + site.daily_limit = 1710; + site.dayleft = 8609; + site.egg_goal = 3; + site.is_chrome = true; + site.is_donor = false; + site.is_mod = false; + site.is_subscribed = false; + site.was_subscribed = false; + site.is_gifter = true; + site.limit_bits = 3000; + site.limit_tip = 10; + site.limit_tips = 300; + site.start_env = $("body").attr('class'); + + // if (typeof(ERROR) == 'undefined') + // ERROR = {}; + + // if (typeof(ERROR.captureStackTrace) == 'undefined') + // ERROR.captureStackTrace = function (){}; + + site.changeWorld = function (bodyclass) + { + if ($("#global_container_backdrop .curtain").length < 1) + $("#global_container_backdrop").append("<div class='curtain curtain_black'></div>"); + + $("#global_container_backdrop .curtain").css("opacity", 0).animate({opacity: 1}, 550, function () + { + if ($("body").hasClass("widescreen")) + bodyclass += " widescreen"; + + $("body").attr("class", bodyclass+" override"); + $("#global_container_backdrop .curtain").stop().animate({opacity: 0}, 550, function () + { + $("#global_container_backdrop .curtain").css("opacity", 0); + }); + }); + } + + site.changing_world = false; + + site.closestTextarea = function (dom_obj) + { + var this_parent = dom_obj.parent(); + + if (this_parent.find("textarea").length > 0) + return this_parent.find("textarea"); + else + { + this_grandparent = this_parent.parent(); + + if (this_grandparent.find("textarea").length > 0) + return this_grandparent.find("textarea"); + else + return this_grandparent.closest("textarea"); + } + } + + site.fadeToLink = function (redirect_url) + { + if (!site.fading) + { + site.fading = true; + $("#content, #rcmenu").animate({opacity: 0}, 1000); + $("#global_container_backdrop").append("<div class='curtain curtain_black'></div>"); + $("#global_container_backdrop .curtain").css("opacity", 0).animate({opacity: 1}, 550); + } + setTimeout(function () { + window.location = redirect_url; + }, 1000*.55); + } + + site.fading = false; + + site.hasMatch = function (str, pattern) + { + pattern = "*"+pattern+"*"; + return new RegExp("^" + pattern.toLowerCase().split("*").join(".*") + "$").test(str.toLowerCase()); + } + + site.now = 1604288191; + + site.overlay = function () + { + try + { + var overlay_options = {}; + + if(arguments.length > 0) + overlay_options = arguments[0]; + + if (typeof(overlay_options['bg']) == 'undefined') + overlay_options['bg'] = 'darker'; + + if($("#global_container").hasClass("nightmode")) + overlay_options['bg'] += " nightmode"; + + if (typeof(overlay_options['env']) == 'undefined') + overlay_options['env'] = false; + + if (typeof(overlay_options['fastclose']) == 'undefined') + overlay_options['fastclose'] = false; + + if (typeof(overlay_options['message']) == 'undefined') + overlay_options['message'] = '<p><a href="#" class="button global_overlay_close">Continue</a></p>'; + + $("#global_overlay_message").html(overlay_options['message']); + + if (overlay_options['env']) + { + $("#global_overlay").attr('data-env', overlay_options['env']).append('<div id="global_overlay_bg"></div>');; + setTimeout(function () + { + $("#global_overlay_bg").animate({opacity: 1}, 1000, function () + { + var new_body_css = $("#global_overlay").attr('data-env'); + + if ($("body").hasClass("widescreen")) + new_body_css += " widescreen"; + + if ($("body").hasClass("no_overflow")) + new_body_css += " no_overflow"; + + $("body").attr("class", new_body_css); + + setTimeout(function () + { + $("#global_overlay_bg").animate({opacity: 0}, 1000); + }, 1000*0.42); + + }); + }, 1000*0.25); + } + + if (overlay_options['fastclose']) + $("#global_overlay_message").append('<div id="global_overlay_backdrop"></div>'); + else + $("#global_overlay_message #global_overlay_backdrop").remove(); + + $("#global_overlay").attr("class", overlay_options['bg']).show(); + + if ($("#global_overlay_message .profile_bio_content").length > 0) + $("#global_overlay_message .profile_bio_content").eq(0).scrollTop(0); + + if (site.my_device == 'mobile') + $("body").addClass("no_overflow"); + + // setTimout(function () + // { + // $("#global_overlay_message .delay_hide:not(.activated)").addClass("activated"); + // $("#global_overlay_message .delay_reveal:not(.activated)").addClass("activated"); + // }, 1000*1.5); + + setTimeout(function (){$("#global_overlay_message .delay_hide:not(.activated)").addClass('activated');}, 1000*1); + // setTimeout(function (){$("#global_overlay_message .delay_reveal:not(.activated)").addClass('activated');}, 1000*0.85); + + setTimeout( function () + { + $("#global_overlay_message .delay_reveal").each(function (i) + { + $(this).delay(500*i).css({"visibility": "visible"}).animate({"opacity": 1}, 1000); + }); + }, 1000*.5); + + // var delay_hide = $("#global_overlay_message .delay_hide:not(.activated)"); + // var delay_reveal = $("#global_overlay_message .delay_reveal:not(.activated)"); + + // if (delay_hide.length> 0) + // delay_hide.each(function (i) + // { + // $(this).delay(i*1000*5).queue('fx', function() { $(this).addClass('activated'); }); + // }); + + // if (delay_reveal.length> 0) + // delay_reveal.each(function (i) + // { + // $(this).delay(i*1000*2.5).queue('fx', function() { $(this).addClass('activated'); }); + // }); + + + }catch(e){} + } + + site.overlayClose = function () + { + $("body").removeClass("no_overflow"); + $("#global_overlay").attr("class", "").hide(); + } + + site.ping = {}; + site.sound_playing = false; + + site.randNum = function (min,max) + { + return Math.floor(Math.random() * (max - min + 1)) + min; + } + + site.shuffleArray = function (arr) + { + for (var i = arr.length - 1; i > 0; i--) { + var j = Math.floor(Math.random() * (i + 1)); + var temp = arr[i]; + arr[i] = arr[j]; + arr[j] = temp; + } + return arr; + } + + site.status = []; + + var isIE = false; + var chat_active = false; + var ping_active = false; + var ping_last = 0; + + function centerBlockUI() + { + $(".blockPage").css("top", ($(window).height()-$(".blockPage").height())*0.31); + $(".blockPage").css("left", ($(window).width()-$(".blockPage").width())*0.45); + } + + $(document).ready(function() + { + $("#header_event_link .icon").on("mouseover", function () + { + $(this).addClass("css_shake css_shake-slow"); + }); + + $("#header_event_link .icon").on("mouseout", function () + { + $(this).removeClass("css_shake css_shake-slow"); + }); + + $.fn.animateRotate = function(startAngle, endAngle, duration, easing, complete) + { + return this.each(function() + { + var elem = $(this); + + $({deg: startAngle}).animate({deg: endAngle}, + { + duration: duration, + easing: easing, + step: function(now){ + elem.css({ + '-moz-transform':'rotate('+now+'deg)', + '-webkit-transform':'rotate('+now+'deg)', + '-o-transform':'rotate('+now+'deg)', + '-ms-transform':'rotate('+now+'deg)', + 'transform':'rotate('+now+'deg)' + }); + }, + complete: complete || $.noop + }); + }); + }; + + // if (site.my_device == 'mobile' && site.is_chrome) + // { + // responsiveVoice.addEventListener("OnReady", function () + // { + // responsiveVoice.speak(""); + // }); + // } + + $(document).on("click", ".emote_list_categories a", function() + { + cat = $(this).attr('data-category'); + emote_container = $(this).parent().parent(); + emote_container.find(".post_bbcode_emote").removeClass("inactive"); + + if (emote_container.attr("data-category") != cat) { + emote_container.attr("data-category", cat); + emote_container.find(".post_bbcode_emote[data-category!='"+cat+"']").addClass("inactive"); + } else { + emote_container.attr("data-category", ""); + } + $("#emote_list:visible, .chat_emote_list:visible").scrollTop(0); + return false; + }); + + $(document).on("click", "a.minimal_toggle", function () + { + if ($("#global_container").hasClass("minimal")) + { + $("#global_container").removeClass("minimal"); + // $("#global_container_backdrop").attr("class", ""); + document.cookie = "minimal=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/"; + } + else + { + $("#global_container").addClass("minimal"); + // $("#global_container_backdrop").attr("class", $("body").attr("class")); + var cookie_date = new Date(); + cookie_date.setTime(cookie_date.getTime()+(12*31*24*60*60*1000)); + document.cookie = "minimal=1; expires="+cookie_date.toGMTString()+"; path=/"; + } + $("#rc_account_menu").hide(); + + return false; + }); + + $(document).on("click", "a.nightmode_toggle", function () + { + if ($("#global_container").hasClass("nightmode")) + { + $("#global_container").removeClass("nightmode"); + document.cookie = "nightmode=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/"; + } + else + { + $("#global_container").addClass("nightmode"); + var cookie_date = new Date(); + cookie_date.setTime(cookie_date.getTime()+(12*31*24*60*60*1000)); + document.cookie = "nightmode=1; expires="+cookie_date.toGMTString()+"; path=/"; + } + $("#rc_account_menu").hide(); + + return false; + }); + + $(document).on("click", "#global_overlay_backdrop", function () + { + site.overlayClose(); + return false; + }); + + $(document).on("click", ".button_speak_language", function () + { + var spoken_language = $("input[name='speak_language']:checked").val(); + + if (typeof(spoken_language) != 'undefined' && spoken_language != null && spoken_language.length > 0) + { + var speak_text = $("#post_"+$(this).attr('data-post')).find(".speech_bubble_message").clone(); + speak_text.find("br").replaceWith(" "); + + speak_text = speak_text.text(); + + while (speak_text.indexOf('..') > -1) + speak_text = speak_text.replace('..', '.'); + + while (speak_text.indexOf('!!') > -1) + speak_text = speak_text.replace('!!', '!'); + + while (speak_text.indexOf('??') > -1) + speak_text = speak_text.replace('??', '?'); + + while (speak_text.indexOf('**') > -1) + speak_text = speak_text.replace('**', '*'); + + if (speak_text.length > 1) + { + // if(site.my_device == 'mobile') + // console.log("[narration]"); + + responsiveVoice.speak(speak_text, spoken_language, + { + onstart: function () + { + // site.sound_playing = true; + }, + onend: function () + { + // site.sound_playing = false; + } + }); + } + } + + site.overlayClose(); + return false; + }); + + $.event.special.tap.emitTapOnTaphold = false; + + if (site.my_device != 'computer') + { + $(document).on("taphold", "a.button_speak", function (e) + { + site.overlay({bg: 'standard', fastclose: true, message: '<div class="text_container variable"><fieldset><label><input type="radio" name="speak_language" value="Arabic Female"><span>Arabic</span></label><label><input type="radio" checked="true" name="speak_language" value="Chinese Female"><span>Chinese</span></label><label><input type="radio" name="speak_language" value="Australian Female"><span>English</span></label><label><input type="radio" name="speak_language" value="French Female"><span>French</span></label><label><input type="radio" name="speak_language" value="Hindi Female"><span>Hindi</span></label><label><input type="radio" name="speak_language" value="Italian Female"><span>Italian</span></label><label><input type="radio" name="speak_language" value="Japanese Female"><span>Japanese</span></label><label><input type="radio" name="speak_language" value="Korean Female"><span>Korean</span></label><label><input type="radio" name="speak_language" value="Brazilian Portuguese Female"><span>Portuguese</span></label><label><input type="radio" name="speak_language" value="Russian Female"><span>Russian</span></label><label><input type="radio" name="speak_language" value="Spanish Female"><span>Spanish</span></label><label><input type="radio" name="speak_language" value="Vietnamese Female"><span>Vietnamese</span></label></fieldset><p><a href="#" class="button button_green button_speak_language" data-post="'+$(this).closest('.post').attr('data-post')+'">Play Audio Message</a></p></div>'}); + + return false; + }); + } + + $(document).on("click", ".post .button_speak", function (e) + { + // var is_rightmouse = false; + + // if ("which" in e && e.which == 3) + // is_rightmouse = true; + // else if ("button" in e && e.which == 2) + // is_rightmouse = true; + + if (e.ctrlKey || e.shiftKey) + { + site.overlay({bg: 'standard', fastclose: true, message: '<div class="text_container variable"><fieldset><label><input type="radio" name="speak_language" value="Arabic Female"><span>Arabic</span></label><label><input type="radio" checked="true" name="speak_language" value="Chinese Female"><span>Chinese</span></label><label><input type="radio" name="speak_language" value="Australian Female"><span>English</span></label><label><input type="radio" name="speak_language" value="French Female"><span>French</span></label><label><input type="radio" name="speak_language" value="Hindi Female"><span>Hindi</span></label><label><input type="radio" name="speak_language" value="Italian Female"><span>Italian</span></label><label><input type="radio" name="speak_language" value="Japanese Female"><span>Japanese</span></label><label><input type="radio" name="speak_language" value="Korean Female"><span>Korean</span></label><label><input type="radio" name="speak_language" value="Brazilian Portuguese Female"><span>Portuguese</span></label><label><input type="radio" name="speak_language" value="Russian Female"><span>Russian</span></label><label><input type="radio" name="speak_language" value="Spanish Female"><span>Spanish</span></label><label><input type="radio" name="speak_language" value="Vietnamese Female"><span>Vietnamese</span></label></fieldset><p><a href="#" class="button button_green button_speak_language" data-post="'+$(this).closest('.post').attr('data-post')+'">Play Audio Message</a></p></div>'}); + } + else + { + + // if (site.sound_playing) + // responsiveVoice.cancel(); + if (responsiveVoice.isPlaying()) + responsiveVoice.cancel(); + else + { + // var speak_text = $.trim($(this).closest(".post_content").find(".speech_bubble_message").text()); + + var speak_text = $(this).closest(".post_content").find(".speech_bubble_message").clone(); + speak_text.find("br").replaceWith(" "); + + // speak_text.find(".bbcode_smiley").each(function () + // { + // $(this).replaceWith($(this).attr('title').replace(':', '')); + // }); + // speak_text.find("br").replaceWith(", "); + + speak_text = speak_text.text(); + + // x.replace(/[*!.?]{3}/g, '') + + while (speak_text.indexOf('..') > -1) + speak_text = speak_text.replace('..', '.'); + + while (speak_text.indexOf('!!') > -1) + speak_text = speak_text.replace('!!', '!'); + + while (speak_text.indexOf('??') > -1) + speak_text = speak_text.replace('??', '?'); + + while (speak_text.indexOf('**') > -1) + speak_text = speak_text.replace('**', '*'); + + // speak_text = speak_text.text().replace(',,', ',').replace(' ,', ','); + + // if (speak_text.length > 500) + // speak_text = speak_text.substr(0, 500); + + // console.log(speak_text); + + if (speak_text.length > 1) + { + // if(site.my_device == 'mobile') + // console.log("[narration]"); + + responsiveVoice.speak(speak_text, "US English Female", + { + onstart: function () + { + // site.sound_playing = true; + }, + onend: function () + { + // site.sound_playing = false; + } + }); + } + } + } + return false; + }); + + $(document).on("click", "a.ghost_battle:not(.battle_active)", function (e) + { + var re_dom = $(this); + var re_ghost = $(this).attr("data-ghost"); + + if (typeof Darkworld === 'undefined') + { + // $.unblockUI(); + site.overlayClose(); + // $("#global_overlay_message").html("<h2>Loading...</h2>"); + // $("#global_overlay").addClass("darker").show(); + site.overlay({message: "<h2><img alt='' src='/images/site/dots.gif' /></h2>"}); + + $("body").append("<div id='darkworld_ajax'></div>"); + $("#darkworld_ajax").load("/get/darkworld/"+site.my_ghost, function () + { + // $("#global_overlay").hide(); + site.overlayClose(); + re_dom.addClass("battle_active"); + if (typeof Darkworld !== 'undefined') + Darkworld.battleStart(re_ghost); + }); + } + else if (site.my_ghost > 0) + { + // $.unblockUI(); + site.overlayClose(); + $(this).addClass("battle_active").addClass("reversed"); + Darkworld.battleStart($(this).attr("data-ghost")); + } + return false; + }); + + $(document).on("click", "a.refresh_page", function (e) + { + if (!$(this).hasClass("activated")) + { + $(this).addClass("activated"); + window.location.reload(true); + return false; + } + }); + + $(document).on("click", "a.bbcode_ghost", function (e) + { + return false; + }); + + $(document).on("click", "#header_name", function () + { + $("#rc_account_menu").toggle(); + return false; + }); + + $(document).on("click", "#header_logout", function () + { + $("#form_logout").submit(); + return false; + }); + + $(document).on("click", "a.button_close_container", function () + { + $(this).closest(".container").remove(); + return false; + }); + + $(document).on("click", "a.button_hide_container", function () + { + $(this).closest(".container").hide(); + return false; + }); + + $(document).on("click", "a.self_close", function () + { + $(this).remove(); + return false; + }); + + $(document).on("click", "a.global_overlay_close", function () + { + // $("#global_overlay").hide().removeClass("darker"); + // $("#global_overlay").hide().removeClass("darker"); + site.overlayClose(); + return false; + }); + + $(document).on("click", "a.fade_to_link", function () + { + if (!$(this).hasClass("activated")) + { + $(this).addClass("activated"); + site.fadeToLink($(this).attr('href')); + } + return false; + }); + + $(document).on("keydown", "textarea", function(e) + { + if (e.ctrlKey && e.keyCode == 13) + { + $(this).closest("form").trigger("submit"); + return false; + } + }); + + $(document).on("mouseenter touchstart", "#rcmenu_bottom a img", function () + { + $(this).removeClass("grayscale"); + }); + + $(document).on("mouseleave", "#rcmenu_bottom a img", function () + { + $(this).addClass("grayscale"); + }); + + + $(document).on("click", "#button_rcmenu", function () + { + if (!$(this).hasClass("activated")) + { + $(this).addClass("activated"); + + $("#button_rcmenu img").attr("src", "/images/site/wmenu.png"); + var active_menu = $("#rcmenu"); + var active_chat = $(".chat_container:visible"); + active_menu.toggle(); + + if (active_menu.is(":visible")) + { + $("#rcmenu").addClass("darker"); + $("#logo").css("position", "fixed"); + + if (active_chat.length > 0) + { + if ($(window).width() < (active_chat.width() + active_menu.width()+50)) + { + active_chat.each(function (index) + { + $(this).find("a.button_chat_close").trigger("click"); + }); + } + else + { + active_chat.each(function (index) + { + if ($(this).position().left < active_menu.width()) + $(this).css("left", (active_menu.width()+10*(index+1))+"px"); + }); + } + } + + rcChatDrawMenu(); + } + else + { + $("#rcmenu").removeClass("darker"); + $("#logo").css("position", "absolute"); + + if (active_chat.length == 1) + { + if (site.my_device == 'computer' && $(window).width() > (active_menu.width() + active_chat.width() + 25) && active_chat.eq(0).position().left == 220) + active_chat.eq(0).animate({left: ($(window).width() - active_chat.width()-4)}, 750); + } + } + + setTimeout(function (){$("#button_rcmenu").removeClass("activated");}, 1000*0.31); + } + + return false; + }); + + + $(window).resize(function() + { + if ($(window).width() < 1425) + $("body").removeClass("widescreen"); + else + $("body").addClass("widescreen"); + + setTimeout(function (){$("#chats").scrollTop($("#chats")[0].scrollHeight);}, 50); + }); + + rcChatDrawMenu(); + + $(window).trigger("resize"); + + // site.chat_ping = setInterval(rcChatPing, 1000*site.randNum(25,42)); + site.chat_ping = setInterval(rcChatPing, 1000*site.randNum(site.my_chat_interval[0],site.my_chat_interval[1])); + setTimeout(function (){clearInterval(site.chat_ping);}, 1000*60*60); + + $(document).on("click", "#header_bits a.bits_info", function () + { + var reset_message = ""; + + if (site.dayleft > 60*60*2) + reset_message = "Day resets in about "+Math.floor(site.dayleft/60/60)+" hours"; + else if (site.dayleft > 60) + reset_message = "Day resets in about "+Math.floor(site.dayleft/60)+" min"; + else + reset_message = "Daily reset begins soon..."; + + var progress_bits = Math.floor(site.daily_limit/site.limit_bits*100); + var progress_tips = Math.floor(site.my_tips_today/site.limit_tips*100); + + var data = ""; + + data += "<div id='info_bits' class='text_container variable'><h3 class='text_left'><img alt='' class='middle' src='/images/e/bit.png' style='height: 24px;'/>Bits</h3><p class='text_left smaller'>Earn bits by playing games and posting</p><h4>Daily Bit Cap</h4><p id='bitcap'><span id='bitcap_current'>"+site.daily_limit.toLocaleString()+"</span> / "+site.limit_bits.toLocaleString()+"</p>"; + + // if (site.no_tips == 0 && site.my_tips_today > 0) + if (site.no_tips == 0) + { + data += "<h4>Daily Tip Limit</h4><div><div id='tipcap' class='progress_bar'><div class='progress_bar_status' style='width: "+progress_tips+"%;'></div><div class='progress_bar_starter'><img alt='' src='/images/site/clear.png' /></div></div></div>"; + + if (site.my_tips_today >= site.limit_tips) + data += "<p class='smaller'>Daily tip limit reached!</p>"; + else + data += "<p class='smaller'>Other people can tip your posts!</p>"; + + if (site.my_tips > 0 || site.my_tips_today > 0) + data += "<p class='smaller'><a href='/tips' target='_blank'>Who tipped me?</a></p>"; + } + + + if (site.my_tips > 0) + data += "<p>Current Tips: <a href='#' class='tips_trade'>"+site.my_tips.toLocaleString()+"</a></p>"; + + data += "<p id='bitcap_reset'>"+reset_message+"</p></div>"; + + site.overlay({bg: 'standard', fastclose: true, message: data}); + + // site.overlay({bg: 'standard', fastclose: true, message: '<div id="info_daily" class="text_container variable"><p class="smaller">Earn bits by playing games and posting</p><h4>Daily Bit Cap</h4><p id="bitcap"><span id="bitcap_current">'+site.daily_limit+'</span> / 3000</p><p id="bitcap_reset">'+reset_message+'</p></div>'}); + + return false; + }); + + $(document).on("click", "#header_bits a.tokens_info", function () + { + var data = ""; + + data += "<div id='info_bits' class='text_container variable'><h3 class='text_left'><img alt='' class='middle' src='/images/e/token.png' style='height: 24px;'/>Gold Tokens</h3><p class='text_left smaller'>Used to access special recolor.me features</p><p class='text_center'><br /><a href='/tokens' class='button'>More Info</a></p></div>"; + + site.overlay({bg: 'standard', fastclose: true, message: data}); + + return false; + }); + + $(document).on("click", "#header_bits a.eggs_info", function () + { + var data = ""; + + data += "<div id='info_bits' class='text_container variable'><h3 class='text_left'><img alt='' class='middle' src='"+$(".eggs_info img").attr('src')+"' style='height: 24px;'/>Eggs</h3>"; + + if (site.my_eggs >= site.egg_goal) + data += "<p class='text_left smaller'>Exchange <strong>"+site.egg_goal+"</strong> eggs for an item</p><p><a href='#' class='button eggs_collect button_pink'>Exchange Eggs</a></p>"; + else + data += "<p class='text_left smaller'>Collect <strong>"+site.egg_goal+"</strong> eggs to exchange for an item</p>"; + + // data += "<p class='text_left smaller'>Eggs will expire on May 1st</p></div>"; + + site.overlay({bg: 'standard', fastclose: true, message: data}); + + return false; + }); + + $(document).on("click", "a.eggs_collect", function () + { + if (!$(this).hasClass("disabled")) + { + $(this).addClass("disabled"); + + site.overlay({bg: 'darker', fastclose: false, message: "<img alt='' src='/images/site/dots.gif' />"}); + + $.post("/egg", {"action": "prize", "key": site.my_key}, function (data) + { + var result = JSON.parse(data); + + if (result && typeof(result.message) != 'undefined') + { + site.overlay({bg: 'darker', fastclose: false, message: result.message}); + } + }); + } + }); + + $(document).on("click", "a.tips_confirm", function () + { + if (!$(this).hasClass("activated")) + { + $(this).addClass("activated"); + site.overlayClose(); + $("#td_tips").html("0"); + $.post("/", {"action": "tips_trade", "key": site.my_key}); + site.my_bits += site.my_tips; + site.my_tips = 0; + $("#mybits").html(site.my_bits.toLocaleString()); + } + return false; + }); + + $(document).on("click", "a.tips_trade", function () + { + if (site.my_tips > 0) + { + var chtml = "<div class='text_container variable'>"; + chtml += "<h2>Collect Tips</h2>"; + chtml += "<p class='smaller'>Trade in tips for <strong>"+site.my_tips.toLocaleString()+" <img src='/images/e/bit.png' alt='' style='height: 24px; vertical-align: middle;'/>?</strong></p>"; + chtml += "<p class='text_center'><a class='button button_yellow tips_confirm' href='#'>Collect Bits</a></p>"; + chtml += "<p class='text_center'><br /><a class='global_overlay_close' href='#'>Cancel</a></p>"; + chtml += "</div>"; + + site.overlay({message: chtml}); + // site.overlay({fastclose: true, message: chtml}); + } + + return false; + }); + + }); + + // Global.js + + + + $(document).ready(function () + { + // Escape key + $(document).on("keydown", "body", function(e) + { + if (e.keyCode == 27) + { + $("#rcmenu:visible").hide(); + + $(".chat_container:visible:first").each(function (){$(this).find("a.button_chat_close").trigger('click');}); + } + }); + + $(document).on("click", "#bbcode_mention_add", function() + { + var dom_obj = $("#reply_message"); + + if (dom_obj.length < 1) + dom_obj = $("#forum_topic_post"); + + if (dom_obj.length < 1) + dom_obj = $("textarea[name='message']"); + + if (dom_obj.length < 1) + dom_obj = $("textarea[name='chat_message']"); + + if (dom_obj.length > 0) + { + var mention_names = []; + + $("#bbcode_mention_friendlist input:checked").each(function() + { + var mention_name = $(this).val(); + + if (mention_name.indexOf(" ") > -1) + mention_name = '"' + mention_name + '"'; + + mention_names.push("@"+mention_name); + }); + + dom_obj.val($.trim(dom_obj.val()) + " " + mention_names.join("\r\n") + " "); + + // if (site.my_device == 'computer') + // dom_obj.focus(); + } + + // $("#global_overlay").hide(); + var dom_obj = $("#reply_container"); + + if (dom_obj.length < 1) + dom_obj = $("#forum_topic_post").closest(".speech_bubble"); + + dom_obj.unblock(); + + return false; + }); + + $(document).on("click", "a.post_bbcode_mention", function() + { + var dom_obj = $("#reply_container"); + + if (dom_obj.length < 1) + dom_obj = $("#forum_topic_post").closest(".speech_bubble"); + + var data = ""; + + data += "<div class='text_left bbcode_mention_container'>"; + + data += "<h2>Add Mention</h2>"; + + data += "<p class='mention_limit'> </p>"; + + data += "<p><div id='bbcode_mention_friendlist'><img alt='' src='/images/site/dots.gif' /></div></p>"; + + data += "<p><a href='#' class='button' id='bbcode_mention_add'>Continue</a></p>"; + + data += "</div>"; + + dom_obj.block({css:{width: "auto"},message:data}); + // $("#global_overlay_message").html(data); + // $("#global_overlay").addClass("darker").show(); + + $.get("/friends?json", function (data) + { + var friends = JSON.parse(data); + + if (friends && friends.length > 0) + { + $(".mention_limit").html("Choose up to "+Math.min(friends.length, 55)+" friends:"); + $("#bbcode_mention_friendlist").html(""); + for (var i in friends) + { + // $("#bbcode_mention_friendlist").append("<option value='"+friends[i]['account_id']+"'>"+friends[i]['account_name']+"</option>"); + $("#bbcode_mention_friendlist").append("<label><input type='checkbox' value='"+friends[i]['account_name']+"'>"+friends[i]['account_name']+"</label>"); + } + } + }); + + return false; + }); + + $(document).on("click", "a.bbcode_emotes_more", function() + { + $(this).parent().addClass("full"); + $(this).remove(); + return false; + }); + + $(document).on("click", "a.post_bbcode_emote", function() + { + var dom_obj = $("#reply_message"); + + if ($(this).hasClass("chat_bbcode_emote")) + dom_obj = $(this).closest("form").find("textarea"); + + if (dom_obj.length < 1) + dom_obj = $("#forum_topic_post"); + + if (dom_obj.length < 1) + dom_obj = $("textarea[name='message']"); + + if (dom_obj.length < 1) + dom_obj = $("textarea[name='story_event_text']"); + + if (dom_obj.length < 1) + dom_obj = $("textarea[name='chat_message']"); + + if (dom_obj.length > 0) + { + dom_obj.val($.trim(dom_obj.val()) + " " + $(this).attr("data-emote") + " "); + + if (site.my_device == 'computer') + dom_obj.focus(); + } + + return false; + }); + + $(document).on("click", ".reversed, .upsidedown, .bbcode_smiley", function () + { + if ([":bong:",":calculator:",":notebook:",":rip:",":tombstone:"].indexOf($(this).attr("title")) < 0) + { + if ([":lightbulb:",":lightbulb_off:", ":lightbulb_on:"].indexOf($(this).attr("title")) > -1) + { + if ($(this).attr("src").indexOf('lightbulb_off') > -1) + { + $(this).attr("src", $(this).attr("src").replace("_off.png", "_on.png")); + } + else + { + $(this).attr("src", $(this).attr("src").replace("_on.png", "_off.png")); + $(this).attr("src", $(this).attr("src").replace("bulb.png", "bulb_off.png")); + } + } + else + { + if ($(this).hasClass("reversed") || $(this).hasClass("bbcode_smiley")) + { + if ($(this).parent().hasClass("bbcode_smiley_container")) + $(this).parent().find("img").toggleClass("imgflip"); + else + $(this).toggleClass("imgflip"); + } + if ($(this).hasClass("upsidedown")) + $(this).toggleClass("imgflipv"); + } + } + }); + + $(document).on("click", ".bbcode_robot", function () + { + var robot_img = $(this).find("img"); + + if (robot_img) + { + if (robot_img.attr("src").indexOf("a.png") > -1) + robot_img.attr("src", robot_img.attr("src").replace("a.png", ".png")); + else + robot_img.attr("src", robot_img.attr("src").replace(".png", "a.png")); + } + }); + + $(document).on("click", ".bbcode_blur", function () + { + $(this).toggleClass("bbcode_blur_disabled"); + }); + + $(document).on("click", ".bbcode_spoiler", function () + { + $(this).toggleClass("spoiler_revealed"); + }); + + $(document).on("click", "a.bbcode_brick", function (e) + { + var brick_level = parseInt($(this).attr("data-level"), 10); + brick_level--; + + if (e.ctrlKey || e.shiftKey) + brick_level = 0; + + if (brick_level < 1) + { + $(this).next().show(); + + $(this).next().find("a.bbcode_brick").each(function () + { + $(this).attr("data-level", 1); + $(this).trigger("click"); + }); + $(this).remove(); + } + else + $(this).attr("data-level", brick_level).html(brick_level).addClass("level_"+brick_level); + + return false; + }); + + $(document).on("click", "a.post_bbcode_youtube_add", function() + { + var youtube_link = $(".post_bbcode_youtube_link").val(); + + if (youtube_link.length > 0) + { + var dom_obj = $("#reply_message"); + + if (dom_obj.length < 1) + dom_obj = $("#forum_topic_post"); + + if (dom_obj.length < 1) + dom_obj = $("textarea[name='message']"); + + if (dom_obj.length < 1) + dom_obj = $("textarea[name='story_event_text']"); + + dom_obj.val(dom_obj.val() + " [media]" + youtube_link + "[/media]"); + } + + // $.unblockUI(); + // $("#global_overlay").hide(); + site.overlayClose(); + return false; + }); + + $(document).on("click", "a.post_bbcode_more", function() + { + $(this).parent().find(".bbcode_extra").addClass("active"); + $(this).remove(); + return false; + }); + + $(document).on("click", "a.post_bbcode_simple", function() + { + var this_bbcode = $(this).attr('data-bbcode'); + var dom_obj = site.closestTextarea($(this)); + + if (dom_obj.length > 0) + { + if (typeof(dom_obj[0].selectionStart) != 'undefined' && dom_obj[0].selectionStart != dom_obj[0].selectionEnd) + { + dom_obj.val(dom_obj.val().substr(0, dom_obj[0].selectionStart) + "["+this_bbcode+"]"+dom_obj.val().substring(dom_obj[0].selectionStart, dom_obj[0].selectionEnd)+"[/"+this_bbcode+"]" + dom_obj.val().substr(dom_obj[0].selectionEnd)); + dom_obj.focus(); + } + else + { + dom_obj.val(dom_obj.val() + "["+this_bbcode+"] [/"+this_bbcode+"]"); + dom_obj.focus(); + dom_obj.setCursorPosition(dom_obj.val().length-4-this_bbcode.length); + } + } + return false; + }); + + // $(document).on("click", "a.post_bbcode_bold", function() + // { + // var dom_obj = site.closestTextarea($(this)); + + // if (dom_obj.length > 0) + // { + // if (typeof(dom_obj[0].selectionStart) != 'undefined' && dom_obj[0].selectionStart != dom_obj[0].selectionEnd) + // { + // dom_obj.val(dom_obj.val().substr(0, dom_obj[0].selectionStart) + "[b]"+dom_obj.val().substring(dom_obj[0].selectionStart, dom_obj[0].selectionEnd)+"[/b]" + dom_obj.val().substr(dom_obj[0].selectionEnd)); + // dom_obj.focus(); + // } + // else + // { + // dom_obj.val(dom_obj.val() + "[b] [/b]"); + // dom_obj.focus(); + // dom_obj.setCursorPosition(dom_obj.val().length-5) + // } + // } + // return false; + // }); + + $(document).on("click", "a.post_bbcode_d20", function() + { + var dom_obj = $("#reply_message"); + + if (dom_obj.length < 1) + dom_obj = $("#forum_topic_post"); + + if (dom_obj.length < 1) + dom_obj = $("textarea[name='message']"); + + if (dom_obj.length < 1) + dom_obj = $("textarea[name='story_event_text']"); + + if (dom_obj.length > 0) + { + dom_obj.val(dom_obj.val() + "[d20] "); + } + return false; + }); + + $(document).on("click", "a.post_bbcode_d6", function() + { + var dom_obj = $("#reply_message"); + + if (dom_obj.length < 1) + dom_obj = $("#forum_topic_post"); + + if (dom_obj.length < 1) + dom_obj = $("textarea[name='message']"); + + if (dom_obj.length < 1) + dom_obj = $("textarea[name='story_event_text']"); + + if (dom_obj.length > 0) + { + dom_obj.val(dom_obj.val() + "[d6] "); + } + return false; + }); + + $(document).on("click", "a.post_bbcode_ghost", function() + { + var dom_obj = $("#reply_message"); + + if (dom_obj.length < 1) + dom_obj = $("#forum_topic_post"); + + if (dom_obj.length < 1) + dom_obj = $("textarea[name='message']"); + + if (dom_obj.length < 1) + dom_obj = $("textarea[name='story_event_text']"); + + if (dom_obj.length > 0) + { + dom_obj.val(dom_obj.val() + "[ghost]"+site.my_ghost+"[/ghost] "); + } + return false; + }); + + $(document).on("click", "a.post_bbcode_robot", function() + { + var dom_obj = $("#reply_message"); + + if (dom_obj.length < 1) + dom_obj = $("#forum_topic_post"); + + if (dom_obj.length < 1) + dom_obj = $("textarea[name='message']"); + + if (dom_obj.length < 1) + dom_obj = $("textarea[name='story_event_text']"); + + if (dom_obj.length > 0) + { + dom_obj.val(dom_obj.val() + "[robot]"+site.my_robot+"[/robot] "); + } + return false; + }); + + $(document).on("click", "a.post_bbcode_random", function() + { + var dom_obj = $("#reply_message"); + + if (dom_obj.length < 1) + dom_obj = $("#forum_topic_post"); + + if (dom_obj.length < 1) + dom_obj = $("textarea[name='message']"); + + if (dom_obj.length < 1) + dom_obj = $("textarea[name='story_event_text']"); + + if (dom_obj.length > 0) + { + dom_obj.val(dom_obj.val() + "[random=1,10000] "); + } + return false; + }); + + if (site.my_device != 'computer') { + + // $(document).on("focus", "input, textarea", function () { + // $("#button_rcmenu").css({bottom: 'inherit', top: 0}); + // }); + + // $(document).on("blur", "input, textarea", function () { + // $("#button_rcmenu").css({bottom: 0, top: 'inherit'}); + // }); + } + + $(document).on("click", "a.post_bbcode_viewername", function() + { + var dom_obj = site.closestTextarea($(this)); + this_bbcode = " [viewername] "; + + if (dom_obj.length > 0) + { + if (typeof(dom_obj[0].selectionStart) != 'undefined' && dom_obj[0].selectionStart != dom_obj[0].selectionEnd) + { + dom_obj.val(dom_obj.val().substr(0, dom_obj[0].selectionStart) + this_bbcode + dom_obj.val().substring(dom_obj[0].selectionStart, dom_obj[0].selectionEnd) + dom_obj.val().substr(dom_obj[0].selectionEnd)); + dom_obj.focus(); + } + else + { + dom_obj.val(dom_obj.val() + this_bbcode); + dom_obj.focus(); + } + } + + return false; + }); + + $(document).on("click", "a.post_bbcode_brick", function() + { + var dom_obj = site.closestTextarea($(this)); + this_bbcode = "brick"; + + if (dom_obj.length > 0) + { + if (typeof(dom_obj[0].selectionStart) != 'undefined' && dom_obj[0].selectionStart != dom_obj[0].selectionEnd) + { + dom_obj.val(dom_obj.val().substr(0, dom_obj[0].selectionStart) + "["+this_bbcode+"=]"+dom_obj.val().substring(dom_obj[0].selectionStart, dom_obj[0].selectionEnd)+"[/"+this_bbcode+"]" + dom_obj.val().substr(dom_obj[0].selectionEnd)); + dom_obj.focus(); + } + else + { + dom_obj.val(dom_obj.val() + "["+this_bbcode+"=] [/"+this_bbcode+"]"); + dom_obj.focus(); + dom_obj.setCursorPosition(dom_obj.val().length-4-this_bbcode.length); + } + } + + return false; + }); + + $(document).on("click", "a.post_bbcode_hidden_insert", function() + { + var dom_obj = site.closestTextarea($(this)); + var this_bbcode = "hidden"; + + if (dom_obj.length > 0) + { + if (typeof(dom_obj[0].selectionStart) != 'undefined' && dom_obj[0].selectionStart != dom_obj[0].selectionEnd) + { + dom_obj.val(dom_obj.val().substr(0, dom_obj[0].selectionStart) + "["+this_bbcode+"=]"+dom_obj.val().substring(dom_obj[0].selectionStart, dom_obj[0].selectionEnd)+"[/"+this_bbcode+"]" + dom_obj.val().substr(dom_obj[0].selectionEnd)); + dom_obj.focus(); + } + else + { + dom_obj.val(dom_obj.val() + "["+this_bbcode+"=] [/"+this_bbcode+"]"); + dom_obj.focus(); + dom_obj.setCursorPosition(dom_obj.val().length-4-this_bbcode.length); + } + } + return false; + }); + + $(document).on("click", "a.post_bbcode_youtube", function () + { + var dom_obj = $("#reply_message"); + + if (dom_obj.length < 1) + dom_obj = $("#forum_topic_post"); + + if (dom_obj.length < 1) + dom_obj = $("textarea[name='message']"); + + if (dom_obj.length < 1) + dom_obj = $("textarea[name='story_event_text']"); + + dom_obj.val(dom_obj.val() + " [media]https://[/media] "); + + var input_length = dom_obj.val().length; + + dom_obj.focus().setSelection(input_length - 17, input_length - 9); + + return false; + }); + + + $(document).on("click", "a.post_bbcode_img_add", function() + { + var img_link = $(".post_bbcode_img_link").val(); + var img_filter = $("#bbcode_img_filter").val(); + + if (img_filter && img_filter.length > 0) + img_filter = " filter="+img_filter; + else + img_filter = ""; + + if (img_link.length > 0) + { + if ($("#forum_topic_post").length > 0) + $("#forum_topic_post").val($("#forum_topic_post").val() + " [img"+img_filter+"]" + img_link + "[/img]"); + else if ($("#reply_message").length > 0) + $("#reply_message").val($("#reply_message").val() + " [img"+img_filter+"]" + img_link + "[/img]"); + else if ($("textarea[name='message']").length > 0) + $("textarea[name='message']").val($("textarea[name='message']").val() + " [img"+img_filter+"]" + img_link + "[/img]"); + else if ($("textarea[name='story_event_text']").length > 0) + $("textarea[name='story_event_text']").val($("textarea[name='story_event_text']").val() + " [img"+img_filter+"]" + img_link + "[/img]"); + } + + // $.unblockUI(); + // $("#global_overlay").hide(); + site.overlayClose(); + + return false; + }); + + $("textarea[maxlength]").bind('input propertychange', function() + { + var maxLength = $(this).attr('maxlength'); + if ($(this).val().length > maxLength) { + $(this).val($(this).val().substring(0, maxLength)); + } + }); + + $(document).on("click", "a.post_bbcode_img", function () + { + // $("#global_overlay_message").html("<div class='text_container variable'><h2><img alt='' class='bbcode_random_icon' src='/images/site/bbcode_img.png'/> Add Image: </h2><p><select id='bbcode_img_filter'><option value=''>No Filter</option><option value='contrast'>Contrast</option><option value='flash'>Flash</option><option value='ghost'>Ghost</option><option value='grayscale'>Grayscale</option><option value='invert'>Invert</option><option value='sepia'>Sepia</option></select></p><p><input type='file' class='imgurUpload' value='Upload Image'/></p><p><input type='text' class='post_bbcode_img_link' value='' placeholder='Link: http...'/></p><p><a href='#' class='button post_bbcode_img_add'>Add Image</a></p></div><p><a href='#' class='red_text global_overlay_close'>Cancel</a></p>"); + // $("#global_overlay").addClass("darker").show(); + + var img_html = "<div class='text_container variable'><h2><img alt='' class='bbcode_random_icon' src='/images/site/bbcode_img.png'/> Add Image: </h2><p><select id='bbcode_img_filter' user-scalable='no'><option value=''>No Filter</option><option value='contrast'>Contrast</option><option value='flash'>Flash</option><option value='ghost'>Ghost</option><option value='grayscale'>Grayscale</option><option value='invert'>Invert</option><option value='sepia'>Sepia</option></select></p><p><input type='file' class='imgurUpload' value='Upload Image'/></p><p><input type='text' class='post_bbcode_img_link' value='' placeholder='Link: http...'/></p><p><a href='#' class='button post_bbcode_img_add'>Add Image</a></p><p class='post_bbcode_img_upload_status'></p></div>"; + + if (site.my_device == 'computer') + site.overlay({bg: "clear", fastclose: true, message: img_html}); + else + { + img_html += "<p><a href='#' class='global_overlay_close red_text'>Cancel</a></p>"; + site.overlay({bg: "standard", fastclose: false, message: img_html}); + } + + + // data = ""; + // data += "<h2><img alt='' src='/images/site/bbcode_img.png' /> Add Image</h2>"; + // data += ""; + // data += ""; + // data += ""; + // data += "<p class='text_center'><a href='#' class='red_text unblockUI_link'>Cancel</a> "; + + // $.blockUI({focusInput: false, onOverlayClick: function () {}, message: data, blockMsgClass: 'blockUI_white', css: + // { + + // }, + // overlayCSS:{ + // backgroundColor: 'rgba(0,0,0,0.66)', + // opacity: 1 + // }}); + // centerBlockUI(); + + return false; + }); + + $(document).on("change", ".imgurUpload", function() + { + var reader = new FileReader(); + + reader.onload = function (e) + { + var img_src = e.target.result.split(',')[1]; + + $(".post_bbcode_img_upload_status").html("Uploading <img src='/images/site/dots.gif' alt='' />"); + + $("#art_image .uploading_status").append("<span>Uploading <img src='/images/site/dots.gif' alt='' /></span>"); + $("#art_image .art_options_alt").remove(); + + $("#share_image .uploading_status").append("<span>Uploading <img src='/images/site/dots.gif' alt='' /></span>"); + $("#share_image share_options_alt").remove(); + + var formData = new FormData(); + formData.append("img", img_src); + + jQuery.ajax({ + url: "/upload", + type: "POST", + cache: false, + contentType: false, + processData: false, + data: formData, + beforeSend: function (xhr){} + }) + .done((data) => { + + var result = JSON.parse(data); + + var img_link = result['link']; + + try + { + if (img_link.length > 0) + { + var img_filter = $("#bbcode_img_filter").val(); + + if (img_filter && img_filter.length > 0) + img_filter = " filter="+img_filter; + else + img_filter = ""; + + if ($("#reply_message").length > 0) + $("#reply_message").val($("#reply_message").val() + " [img"+img_filter+"]" + img_link + "[/img]"); + + if ($("#forum_topic_post").length > 0) + $("#forum_topic_post").val($("#forum_topic_post").val() + " [img"+img_filter+"]" + img_link + "[/img]"); + + if ($("textarea[name='message']").length > 0) + $("textarea[name='message']").val($("textarea[name='message']").val() + " [img"+img_filter+"]" + img_link + "[/img]"); + + if ($("textarea[name='story_event_text']").length > 0) + $("textarea[name='story_event_text']").val($("textarea[name='story_event_text']").val() + " [img"+img_filter+"]" + img_link + "[/img]"); + + if ($("input[name='art_image_link']").length > 0) + { + $("#art_image input[name='art_image_upload']").hide(); + $("#art_image .art_options_alt").remove(); + $("#art_image .uploading_status span").remove(); + $("#art_image .button_hidden").addClass("inactive"); + $("input[name='art_image_link']").val(img_link); + } + + if ($("input[name='share_image_link']").length > 0) + { + $("#share_image input[name='share_image_upload']").hide(); + $("#share_image .share_options_alt").remove(); + $("#share_image .uploading_status span").remove(); + $("#share_image .button_hidden").addClass("inactive"); + $("input[name='share_image_link']").val(img_link); + } + } + }catch(e) {} + + site.overlayClose(); + }) + .fail((e) => { + site.overlayClose(); + }); + + // $.post("/upload", {"upload": "image", "img": img_src}, function (data) + // { + // var result = JSON.parse(data); + + // try + // { + // if (result.link && result.link.length > 0) + // { + + // } + // else + // { + + // } + // } catch (e) {} + + // site.overlayClose(); + // }); + + + // $.ajax( + // { + // url: 'https://api.imgur.com/3/image', + // headers: { + // 'Authorization': 'Client-ID bf6ac1bf2520598', + // 'Accept': 'application/json', + // 'Origin': 'https://recolor.me' + // }, + // type: 'POST', + // data: + // { + // type: 'base64', + // image: img_src + // }, + // dataType: 'json', + // success: function(data) + // { + // var img_link = data['data']['link']; + + // var img_filter = $("#bbcode_img_filter").val(); + + // if (img_filter && img_filter.length > 0) + // img_filter = " filter="+img_filter; + // else + // img_filter = ""; + + // if ($("#reply_message").length > 0) + // $("#reply_message").val($("#reply_message").val() + " [img"+img_filter+"]" + img_link + "[/img]"); + + // if ($("#forum_topic_post").length > 0) + // $("#forum_topic_post").val($("#forum_topic_post").val() + " [img"+img_filter+"]" + img_link + "[/img]"); + + // if ($("textarea[name='message']").length > 0) + // $("textarea[name='message']").val($("textarea[name='message']").val() + " [img"+img_filter+"]" + img_link + "[/img]"); + + // if ($("input[name='art_image_link']").length > 0) + // { + // $("#art_image input[name='art_image_upload']").hide(); + // $("#art_image .art_options_alt").remove(); + // $("#art_image .uploading_status span").remove(); + // $("#art_image .button_hidden").addClass("inactive"); + // $("input[name='art_image_link']").val(img_link); + // } + + // if ($("input[name='share_image_link']").length > 0) + // { + // $("#share_image input[name='share_image_upload']").hide(); + // $("#share_image .share_options_alt").remove(); + // $("#share_image .uploading_status span").remove(); + // $("#share_image .button_hidden").addClass("inactive"); + // $("input[name='share_image_link']").val(img_link); + // } + // site.overlayClose(); + // }, + // progress: function (e) + // { + // }, + // error: function(e) + // { + // try{console.log(e)}catch(e2){} + // site.overlayClose(); + // } + // }); + } + + reader.readAsDataURL($(this)[0].files[0]); + }); + + + $(document).on("click", ".bbcode_hidden_button", function (evt) + { + if (!$(this).next().is(":visible")) + { + $(this).next().fadeIn(); + + $(this).next().find("iframe").each(function () + { + if ($(this).attr('data-src') != undefined) + $(this).attr('src', $(this).attr('data-src')).removeAttr('data-src'); + }); + + if ($(this).find("span").html() == "+") + $(this).find("span").html("-"); + + if (evt.ctrlKey || evt.shiftKey) + { + var dom_hidden = $(this).next(); + + // dom_hidden.find(".bbcode_hidden_content").removeClass("hidden").show(); + dom_hidden.find(".bbcode_hidden").css({margin: 0, padding: 0}).find(".bbcode_hidden_content").removeClass("hidden").css({margin: 0, padding: 0}).show().find("br").remove(); + + dom_hidden.find(".bbcode_hidden_button").remove(); + + } + } + else + { + $(this).next().fadeOut(); + + if ($(this).find("span").html() == "-") + $(this).find("span").html("+"); + } + // if ($(this).html() == 'Show') + // { + // $(this).html("Hide"); + // $(this).next().fadeIn(); + + // if (evt.ctrlKey || evt.shiftKey) + // { + // var dom_hidden = $(this).next(); + // dom_hidden.find(".bbcode_hidden_content").removeClass("hidden").show(); + // dom_hidden.find(".bbcode_hidden_button").html("Hide"); + // } + // } + // else + // { + // $(this).html("Show"); + // $(this).next().fadeOut(); + // } + + return false; + }); + + $(document).on("click", "a.bbcode_outfit_link", function () + { + // site.overlay({message: "Loading outfit <img alt='' src='/images/site/dots.gif' />"}); + $(this).parent().html("Loading <img alt='' src='/images/site/dots.gif' />"); + return true; + }); + + $(document).on("click", "a.bbcode_outfit", function () + { + // $("#global_overlay_message").html("<p><img alt='' src='"+$(this).find("img").attr("src")+"' class='imgflip backshadow' /></p><p></p><a href='"+$(this).attr("href")+"' class='button'>Load Outfit</a><p><a href='#' class='global_overlay_close'>Close</a></p>"); + // $("#global_overlay").addClass("darker").show(); + + site.overlay({fastclose: true, message: "<div class='variable'><img alt='' src='"+$(this).find("img").attr("src")+"' class='imgflip backshadow' /></div><p><a href='"+$(this).attr("href")+"' class='button bbcode_outfit_link'>Load Outfit</a></p>"}); + + // $.unblockUI(); + // site.overlayClose(); + return false; + }); + + $(document).on("click", "a.reward_box_open", function () + { + if (!$(this).hasClass("disabled")) + { + $(this).addClass("disabled").closest(".reward_box").removeClass("css_shake"); + + var reward_box_container = $(this).parent(); + + var reward_box_top = reward_box_container.find(".reward_box_top"); + + if (reward_box_top.length > 0) + { + reward_box_top.animate({bottom: 100, opacity: 0.1}, 750, function () + { + var reward_box_container = $(this).closest(".reward_box"); + + if (reward_box_container && reward_box_container.length > 0) + { + reward_box_container.find(".reward_box_prize").css({opacity: 1, "z-index": 5}).animate({top: "-=60"}, 250, function () + { + $("#global_overlay_message .slow_reveal").each(function (i) + { + $(this).delay(500*i).css({"visibility": "visible"}).animate({"opacity": 1}, 1000); + }); + + }); + + setTimeout(function (){$("#global_overlay_message .reward_box_prize").addClass("enlarged");}, 1000*1); + } + + $(this).remove(); + }); + } + else + { + reward_box_container.find(".reward_box_envelope").animate({left: '-=31', top: '+=100', opacity: 0}, 750, function () + { + reward_box_container.find(".reward_box_prize").css({opacity: 1, "z-index": 5}).animate({top: "-=25"}, 250, function () + { + $("#global_overlay_message .slow_reveal").each(function (i) + { + $(this).delay(500*i).css({"visibility": "visible"}).animate({"opacity": 1}, 1000); + }); + + }); + + setTimeout(function (){$("#global_overlay_message .reward_box_prize").addClass("enlarged");}, 1000*1); + }); + } + + $(this).remove(); + } + + return false; + }); + + $(document).on("click", "a.button_block", function () + { + var cid = parseInt($(this).attr("href").substr(1), 10); + // $.unblockUI(); + site.overlayClose(); + site.my_blocked.push(cid); + + var account_notes = ""; + + if ($("#account_notes").length > 0) + account_notes = $("#account_notes").val(); + + $(".room_member[data-account='"+cid+"']").remove(); + $(".post[data-creator='"+cid+"']").animate({opacity: 0, height: 0}, 500, function (){$(this).remove();}); + + $.post("/friends", {"action": 'block', "account_notes": account_notes, "id": cid, "key": site.my_key}, function (data) + { + var result = JSON.parse(data); + + $.blockUI({ + message: '<h1>'+result.message+'</h1><h2>'+result.block_name+'</h2>', + fadeIn: 700, + fadeOut: 700, + timeout: 3000, + showOverlay: false, + centerY: false, + blockMsgClass: 'growlfriend', + css: { + cursor: 'auto', + width: '280px', + top: '10px', + left: '', + right: '10px', + border: 'none', + padding: '5px', + backgroundColor: '#fff', + '-webkit-border-radius': '10px', + '-moz-border-radius': '10px', + 'border-radius': '10px', + opacity: .9, + color: '#333 !important'} + }); + }); + return false; + }); + + $(document).on("click", "a.button_addfriend", function () + { + var cid = parseInt($(this).attr("href").substr(1), 10); + // $.unblockUI(); + site.overlayClose(); + site.my_friends.push(cid); + + var account_notes = ""; + + if ($("#account_notes").length > 0) + account_notes = $("#account_notes").val(); + + $(".room_member[data-account='"+cid+"']").removeClass('stranger'); + + $.post("/friends", {"action": 'add', "account_notes": account_notes, "id": cid, "key": site.my_key}, function (data) + { + var result = JSON.parse(data); + + $.blockUI({ + message: '<h1>'+result.message+'</h1><h2>'+result.friend_name+'</h2>', + fadeIn: 700, + fadeOut: 700, + timeout: 3000, + showOverlay: false, + centerY: false, + blockMsgClass: 'growlfriend', + css: { + cursor: 'auto', + width: '280px', + top: '10px', + left: '', + right: '10px', + border: 'none', + padding: '5px', + backgroundColor: '#fff', + '-webkit-border-radius': '10px', + '-moz-border-radius': '10px', + 'border-radius': '10px', + opacity: .9, + color: '#333 !important'} + }); + }); + return false; + }); + + $(document).on("click", "a.unblockUI_link, a.button_cancelfriend, a.button_cancelblock", function () + { + // $.unblockUI(); + site.overlayClose(); + return false; + }); + + $(document).on("click", "a.blocklink", function () + { + var cid = parseInt($(this).attr("href").substr(1)); + var this_profile = $(this).closest(".profile_container"); + + if (this_profile) + { + if (this_profile.find(".profile_avatar .robotavatar").length < 1) + { + var profile_avatar = this_profile.find(".profile_avatar img"); + profile_avatar.attr("src", profile_avatar.attr("src").replace("a.png", "b.png")); + + if (profile_avatar.attr("src").indexOf("b.png") < 0) + profile_avatar.attr("src", profile_avatar.attr("src").replace(".png", "b.png")); + } + + this_profile.find(".profile_bio_content").html("<h2>Block User?</h2><p class='text_right'><textarea id='account_notes' placeholder='Notes...' autocomplete='off' spellcheck='true'></textarea></p><p class='text_right'><a href='#"+cid+"' class='button button_red button_block'>Confirm</a></p>"); + } + + return false; + }); + + $(document).on("click", "a.friendlink", function () + { + var cid = parseInt($(this).attr("href").substr(1)); + var this_profile = $(this).closest(".profile_container"); + + if (this_profile) + { + var profile_avatar = this_profile.find(".profile_avatar img"); + profile_avatar.attr("src", profile_avatar.attr("src").replace("b.png", "a.png")); + + if (profile_avatar.attr("src").indexOf("a.png") < 0) + profile_avatar.attr("src", profile_avatar.attr("src").replace(".png", "a.png")); + else + profile_avatar.attr("src", profile_avatar.attr("src").replace("a.png", ".png")); + + + + if (site.my_id != cid && site.my_friends.indexOf(cid) < 0) + this_profile.find(".profile_bio_content").html("<h2>Add Friend?</h2><p class='text_right'><textarea id='account_notes' placeholder='Notes...' autocomplete='off' spellcheck='true'></textarea></p><p class='text_right'><a href='#"+cid+"' class='button button_addfriend'>Confirm</a></p>"); + } + + return false; + }); + + $.fn.center = function () + { + this.css("position","absolute"); + this.css("top", ( $(window).height() - this.height() ) / 2+$(window).scrollTop() + "px"); + this.css("left", ( $(window).width() - this.width() ) / 2+$(window).scrollLeft() + "px"); + return this; + } + + $.fn.setCursorPosition = function(position) + { + if(this.length == 0) + return this; + return $(this).setSelection(position, position); + } + + $.fn.setSelection = function(selectionStart, selectionEnd) + { + if(this.length == 0) + return this; + + input = this[0]; + + if (input.createTextRange) + { + var range = input.createTextRange(); + range.collapse(true); + range.moveEnd('character', selectionEnd); + range.moveStart('character', selectionStart); + range.select(); + } + else if (input.setSelectionRange) + { + input.focus(); + input.setSelectionRange(selectionStart, selectionEnd); + } + + return this; + } + + $.fn.focusEnd = function() + { + this.scrollTop(this[0].scrollHeight); + this.setCursorPosition(this.val().length); + return this; + } + + + $(document).on("click", "a.citizen", function () + { + var cid = parseInt($(this).attr("href").substr(1), 10); + + var chtml = ""; + + var cimg = "<span class='profile_avatar'><img class='imgflip backshadow' src='"+avatarPath(cid) +"?"+Date.now()+"' alt=''/></span>"; + + if ($(this).find("img").length > 0) + { + if ($(this).find(".quads_card_img").length > 0) + { + cimg = $(this).find(".quads_card_img").html(); + + if (!$(this).hasClass("blue")) + cimg = "<span class='imgflip'>"+cimg+"</span>"; + + cimg = "<span class='profile_avatar'>"+cimg+"</span>"; + } + else + { + $(this).find(".blur").removeClass("blur"); + $(this).find(".inverted").removeClass("inverted"); + $(this).find(".shifted").css({"filter": "none", "-webkit-filter": "none"}); + cimg = "<span class='profile_avatar'>"+$(this).html().replace("width:", "swidth").replace("tripped", "")+"</span>"; + } + } + + chtml += "<div class='text_container profile_container' data-profile='"+cid+"'>"; + + chtml += cimg; + + chtml += "<h2><span class='citizen_id'>Citizen "+cid+": </span><span class='citizen_name'>"+$(this).attr("title")+"</span></h2>"; + + chtml += "<div class='profile_options'>"; + + if (site.my_friends.indexOf(cid) < 0 && site.my_id != cid) + chtml += "<a class='friendlink button' href='#"+cid+"' title='Add "+$(this).attr("title")+" to friend list'>Friend</a>"; + else if (site.my_id == cid) + chtml += "<a class='friendlink button button_green' href='#"+cid+"' title='Victory'>Pose</a>"; + else + chtml += "<a class='friendlink button button_green' href='#"+cid+"' title='Add "+$(this).attr("title")+" to friend list'>Friend</a>"; + + chtml += "<a id='citizen_mail_"+cid+"' class='chatstart button' href='#"+cid+"' title='"+$(this).attr("title")+"'>Chat</a>"; + + + if (site.my_blocked.indexOf(cid) < 0 && site.my_id != cid && site.my_friends.indexOf(cid) < 0) + chtml += "<a class='blocklink button button_red' href='#"+cid+"' title='Block "+$(this).attr("title")+" '>Block</a>"; + + + chtml += "</div>"; + chtml += "<div class='profile_bio'>"; + chtml += "<div class='profile_bio_content'>"; + chtml += "</div>"; + chtml += "</div>"; + + chtml += "</div>"; + + site.overlay({bg: 'clear', fastclose: true, message: chtml}); + + $.get("/get/account/"+cid, function (data) + { + var result = JSON.parse(data); + var profile_dom = $(".profile_container[data-profile='"+cid+"']"); + + if (profile_dom.length > 0) + { + profile_dom.find(".citizen_name").html(result.account.name); + profile_dom.find(".chatstart").attr("title", result.account.name); + profile_dom.find(".profile_bio_content").html(result.account.bio+"<br /><br />"); + + if (result.account.agelock != undefined && result.account.agelock == 1) + profile_dom.find("a.modlink").addClass("agelocked"); + + if (result.account.artist != undefined && result.account.artist == 1) + profile_dom.find(".profile_options").prepend("<a title='Items' target='_blank' href='/database/item/designer/"+result.account.id+"' class='button button_green'>Items</a>"); + + if (result.account.id != site.my_id && result.account.public_wishlist != undefined && result.account.public_wishlist == 1) + { + // if (site.is_gifter || site.my_tokens > 0) + profile_dom.find(".profile_options").prepend("<a title='Buy Gift' target='_blank' href='/gift/"+result.account.id+"' class='button button_yellow'>Gift</a>"); + } + + // profile_dom.eq(0).scrollTop(0); + $(".profile_bio_content").scrollTop(0); + } + }); + + return false; + }); + }); + + function contestPath() + { + if (arguments.length = 1) + return "/images/contest/"+Math.ceil(arguments[0]/30000)+"/"+arguments[0]+".png"; + } + + function outfitPath() + { + if (arguments.length = 1) + return "/images/outfit/"+Math.ceil(arguments[0]/30000)+"/"+arguments[0]+".png"; + } + + function avatarPath() + { + if (arguments.length = 1) + return "/av/"+Math.ceil(arguments[0]/10000)+"/"+arguments[0]+".png"; + } + + function thumbnailPath() + { + if (arguments.length = 1) + return "/images/thumbnails/"+Math.ceil(arguments[0]/100000)+"/"+arguments[0]+".png"; + } + + function timeFrom(timestamp) + { + var unix = Math.round(+new Date()/1000); + var diff = unix - parseInt(timestamp, 10); + + if (diff < 60) + return "just now"; + else if (diff < 60*60*2) + return Math.floor(diff/60) + " min ago"; + else if (diff < 60*60*24) + return Math.floor(diff/60/60) + " hours ago"; + else if (diff < 60*60*24*2) + return "a day ago"; + else if (diff < 60*60*24*60) + return Math.floor(diff/60/60/24) + " days ago"; + else if (diff < 60*60*24*30*365) + return "~" + Math.floor(diff/60/60/24/30) + " months ago"; + else if (diff < 60*60*24*30*365*2) + return "over a year ago"; + else + return "over " + Math.floor(diff/60/60/24/365) + " years ago"; + } + + function timeUntil(timestamp) + { + var timestamp_now = Math.round(+new Date()/1000); + var diff = timestamp - timestamp_now; + return diff; + } + + function timeToString(x) + { + var data = ""; + + var seconds = Math.floor(x); + var minutes = Math.floor(seconds/60); + var hours = Math.floor(minutes/60); + var days = Math.floor(hours/24); + + hours = hours-(days*24); + minutes = minutes-(days*24*60)-(hours*60); + seconds = seconds-(days*24*60*60)-(hours*60*60)-(minutes*60); + + if (days >= 2) + data += "<span class='numbers'>"+days+"</span><span class='words'>days</span>"; + else if (days == 1) + data += "<span class='numbers'>1</span><span class='words'>day</span>"; + + if (hours == 1) + data += "<span class='numbers'>"+hours+"</span><span class='words'>hour</span>"; + else + data += "<span class='numbers'>"+hours+"</span><span class='words'>hours</span>"; + + if (minutes == 1) + data += "<span class='numbers'>"+minutes+"</span><span class='words'>minute</span>"; + else + data += "<span class='numbers'>"+minutes+"</span><span class='words'>minutes</span>"; + + if (seconds == 1) + data += "<span class='numbers'>"+seconds+"</span><span class='words'>second</span>"; + else + data += "<span class='numbers'>"+seconds+"</span><span class='words'>seconds</span>"; + + return data; + } + + + function rgb2hsl(r, g, b) + { + var h = 0; + var s = 0; + var l = 0; + + var rx = r/255; + var gx = g/255; + var bx = b/255; + + var max = Math.max(rx, gx, bx); + var min = Math.min(rx, gx, bx); + var delta = max - min; + + if (max == rx) + h = 60*( ((gx-bx)/ delta) % 6); + else if (max == gx) + h = 60*( ((bx-rx)/ delta) + 2); + else + h = 60*( ((rx-gx)/ delta) + 4); + + if (isNaN(h)) + h = 0; + + l = (max + min) / 2; + + if (delta != 0) + s = delta / (1 - Math.abs(2*l - 1)); + + return [h,s,l]; + } + + function hsl2rgb(h, s, l) + { + var h = h%360; + var rx = 0; + var gx = 0; + var bx = 0; + + var c = (1 - Math.abs(2*l - 1)) * s; + var x = c * (1 - Math.abs((h/60)%2 - 1)); + var m = l - c/2; + + if (h < 60) + { + rx = c; + gx = x; + } + else if (h < 120) + { + rx = x; + gx = c; + } + else if (h < 180) + { + gx = c; + bx = x; + } + else if (h < 240) + { + gx = x; + bx = c; + } + else if (h < 300) + { + rx = x; + bx = c; + } + else + { + rx = c; + bx = x; + } + + var r = (rx+m)*255; + var g = (gx+m)*255; + var b = (bx+m)*255; + + return [r,g,b]; + } + + function flatFormat(str) + { + return $("<div />").html(str).text().replace(/[^A-Za-z0-9 ]/g, "").replace(/[ ]/g, "_"); + } + + + </script> +</head> +<body class='village override'><div id='global_container' class=''><div id='global_container_backdrop' class=''></div> <h1 id="logo"><a href="/"> <img class="" src="/images/site/re.png" alt="recolor.me" /></a></h1> +<div id="header" class="limited centered"> +<a id='header_event_link' href='/trickortreat'><img alt='' src='/images/e/jack.png' class='icon backshadow css_chake css_shake-slow' /><img alt='' src='/images/site/darkness.png' class='blackhole spinnerCC' /></a><a href='/avatar' class='small_head'><img class='imgflip' alt='' src='/av/13/120100.png?s=10' /></a><a id="header_name" href="#">testingaccount1 </a><br /> +<div id="header_bits"> +<a href="#" class="bits_info"><img alt="" src="/images/site/bits.png" style="height: 30px; width: 30px;" /></a><span id="mybits">1,760</span> </div> +<div id="rc_account_menu"> +<a href='/friends'>Friends<span class='bbcode_selfie'><img alt='' src='/av/0/0.png' /></span></a><a class="nightmode_toggle" href="#"><span class="rc_account_menu_icon"><img title="Dark Mode" alt="dark mode" src="/images/site/lightbulb.png" /></span></a><a href="/privacy">Privacy<span class="rc_account_menu_icon"><img src="/images/site/eye.png" alt="" /></span></a><a href="/account">Settings<span class="rc_account_menu_icon"><img src="/images/site/gears_blue.png" alt="" /></span></a><a id="header_logout" href="#">Log Out<span class="rc_account_menu_icon"><img title="Log Out" alt="log out" src="/images/site/shift_right.png" /></span></a> </div> +</div> +<div id="content"> +<style> + + #account_menu + { + margin-top: 7px; + padding-bottom: 25px; + } + + #account_menu_menu + { + padding: 7px 0; + display: none; + } + + #account_menu h3 + { + padding-left: 0; + } + #account_menu h3 img + { + display: inline-block; + vertical-align: middle; + margin: 0 4px 0 0; + width: 42px; + height: 42px; + } + + .account_menu_section + { + text-align: left; + position: relative; + display: inline-block; + vertical-align: top; + padding: 10px 0 10px 31px; + } + .account_menu_link + { + position: relative; + display: block; + vertical-align: top; + text-align: left; + margin: 10px 10px 10px 10px; + padding: 7px 0; + font-size: 18px; + } + + .account_menu_desc + { + font-size: 13px; + padding-left: 25px; + } + + .account_menu_desc strong + { + display: inline-block; + vertical-align: middle; + font-size: 12px; + padding-left: 25px; + } + + .label_radio + { + display: inline-block; + border-radius: 5px; + vertical-align: middle; + padding: 5px; + cursor: pointer; + margin: 4px 10px; + } + .label_radio.active + { + background: rgba(55, 155, 55, 0.55); + } + + </style> +<script> + + </script> +<div class="centered limited"> +<div class="text_container text_left variable" id="account_menu"> +<h2>Account Settings</h2> +<div class='account_menu_section'> +<h3 class='text_left'>Personal Settings</h3> +<a class='account_menu_link' href='/account/bio'>Personal Bio</a> +<a class='account_menu_link' href='/account/emotes'>Favorite Emotes</a> +<a class='account_menu_link' href='/account/messages'>Message Colors</a> +<a class='account_menu_link' href='/account/name'>Name Color</a> +<a class='account_menu_link' href='/account/notifications'>Notifications</a> +<a class='account_menu_link' href='/account/icon'>Chat Icon</a> +</div> +<div class='account_menu_section'> +<h3 class='text_left'>Site Settings</h3> +<a class='account_menu_link' href='/account/site'>Site Options</a> +<a class='account_menu_link' href='/account/filter'>Message Filter</a> +</div> +<div class='account_menu_section'> +<h3 class='text_left'>Security</h3> +<a href='/account/email' class='account_menu_link'>Add email</a> +<a class='account_menu_link' href='/account/password'>Change Password</a> +<a class='account_menu_link' href='/account/history'>Clear History</a> +<a class='account_menu_link' href='/privacy'>Privacy Settings</a> +</div> +</div> +</div> +</div> +<script> + $(document).ready( function () + { + $(document).on("mouseover", "*", function () { + $('#foo').animate({ borderSpacing: -90 }, { + step: function(now,fx) { + $(this).css('transform','rotate('+now+'deg)'); + }, + duration:'slow' + },'linear'); + }); + }); + </script> +<style> + + #easter_egg + { + position: absolute; + z-index: 10; + } + #easter_egg img + { + height: 85px; + } + + + .slowRotatorCloser + { + position: absolute; + z-index: 20; +-webkit-animation: slowtationCloser 13s linear infinite; + -moz-animation: slowtationCloser 13s linear infinite; + -o-animation: slowtationCloser 13s linear infinite; + animation: slowtationCloser 13s linear infinite; + } + + @-webkit-keyframes slowtationCloser + { + from { -webkit-transform: rotate(0deg) translateX(130px); } + to { -webkit-transform: rotate(-360deg) translateX(130px); } + } + + @-moz-keyframes slowtationCloser + { + from { -moz-transform: rotate(0deg) translateX(130px); } + to { -moz-transform: rotate(-360deg) translateX(130px); } + } + + @-o-keyframes slowtationCloser + { + from { -o-transform: rotate(0deg) translateX(130px); } + to { -o-transform: rotate(-360deg) translateX(130px); } + } + + @keyframes slowtationCloser + { + from { transform: rotate(0deg) translateX(130px); } + to { transform: rotate(-360deg) translateX(130px); } + } + + .slowRotatorClosest + { + position: absolute; + z-index: 20; +-webkit-animation: slowtationClosest 10s linear infinite; + -moz-animation: slowtationClosest 10s linear infinite; + -o-animation: slowtationClosest 10s linear infinite; + animation: slowtationClosest 10s linear infinite; + } + + @-webkit-keyframes slowtationClosest + { + from { -webkit-transform: rotate(0deg) translateX(130px); } + to { -webkit-transform: rotate(-360deg) translateX(130px); } + } + + @-moz-keyframes slowtationClosest + { + from { -moz-transform: rotate(0deg) translateX(130px); } + to { -moz-transform: rotate(-360deg) translateX(130px); } + } + + @-o-keyframes slowtationClosest + { + from { -o-transform: rotate(0deg) translateX(130px); } + to { -o-transform: rotate(-360deg) translateX(130px); } + } + + @keyframes slowtationClosest + { + from { transform: rotate(0deg) translateX(130px); } + to { transform: rotate(-360deg) translateX(130px); } + } + + + + + + .map_container + { + position: relative; + z-index: 2; + width: 92%; + max-width: 800px; + max-width: 600px; + max-height: 100%; + margin: 0 auto; + box-shadow: 0 0 7px 7px rgba(0, 0, 0, 0.42); + overflow-y: auto; + overflow-x: hidden; + -webkit-overflow-scrolling: touch; + + background: rgba(0,0,0,0.5); + background: -moz-linear-gradient(top, #000000 0%, #0094d2 100%); + background: -webkit-linear-gradient(top, #000000 0%,#0094d2 100%); + background: linear-gradient(to bottom, #000000 0%,#0094d2 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#0094d2',GradientType=0 ); + + background: rgba(0,0,0,0.5); + background: -moz-linear-gradient(top, #000000 0%, #0075CD 100%); + background: -webkit-linear-gradient(top, #000000 0%,#0075CD 100%); + background: linear-gradient(to bottom, #000000 0%,#0075CD 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#0075CD',GradientType=0 ); + + + opacity: 0; + } + + .map_container .map + { + width: 100%; + } + + .map_container .nomobile + { + } + + .map_container .map_center + { + padding-top: 135px; + padding-bottom: 150px; + } + .map_container .map_left + { + display: inline-block; + position: absolute; + top: 0; + left: 4%; + text-align: left; + } + + .map_container .map_right + { + display: inline-block; + position: absolute; + top: 0; + right: 4%; + text-align: right; + } + + .map_container .map img.map_bg + { + display: block; + position: absolute; + z-index: 1; + top: 0; + left: 0; + width: 100%; + } + + .map_container .map img.map_prop + { + display: inline-block; + position: absolute; + z-index: 2; + } + + .map_container .map img.map_ship + { + left: 4%; + top: 777px; + height: 66px; + } + + .map_container .map a + { + display: block; + position: relative; + z-index: 3; + + padding: 4px 5px 5px; + width: 142px; + + font-size: 16px; + letter-spacing: 0.6px; + background: rgba(0, 0, 0, 0.5); + border: 1px solid rgba(100, 100, 100, 0.5); + border-radius: 4px; + box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.66) inset; + opacity: 0.9; + color: #fff7cf; + font-weight: bold; + line-height: 20px; + text-align: center; + text-shadow: 0 1px 1px #000; + margin-top: 70px; + } + + .map_container .map_center a + { + } + + .map_container .map a.noborder + { + border: none; + box-shadow: none; + background: transparent !important; + margin-top: 25px; + } + .map_container .map a.noborder img + { + height: auto; + max-width: 100%; + } + + .map_container .map a:hover + { + background: rgba(0, 0, 0, 0.75); + } + + .map_container .map a.highlight + { + background: -moz-radial-gradient(center, ellipse cover, rgba(250,255,0,0.5) 0%, rgba(250,255,0,0) 100%); + background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(250,255,0,0.5)), color-stop(100%,rgba(250,255,0,0))); + background: -webkit-radial-gradient(center, ellipse cover, rgba(250,255,0,0.5) 0%,rgba(250,255,0,0) 100%); + background: -o-radial-gradient(center, ellipse cover, rgba(250,255,0,0.5) 0%,rgba(250,255,0,0) 100%); + background: -ms-radial-gradient(center, ellipse cover, rgba(250,255,0,0.5) 0%,rgba(250,255,0,0) 100%); + background: radial-gradient(ellipse at center, rgba(250,255,0,0.5) 0%,rgba(250,255,0,0) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#faff00', endColorstr='#00faff00',GradientType=1 ); + } + + .map_container .map a.highlight:hover + { + background: -moz-radial-gradient(center, ellipse cover, rgba(250,255,0,0.75) 0%, rgba(250,255,0,0) 100%); + background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(250,255,0,0.5)), color-stop(100%,rgba(250,255,0,0))); + background: -webkit-radial-gradient(center, ellipse cover, rgba(250,255,0,0.75) 0%,rgba(250,255,0,0) 100%); + background: -o-radial-gradient(center, ellipse cover, rgba(250,255,0,0.75) 0%,rgba(250,255,0,0) 100%); + background: -ms-radial-gradient(center, ellipse cover, rgba(250,255,0,0.75) 0%,rgba(250,255,0,0) 100%); + background: radial-gradient(ellipse at center, rgba(250,255,0,0.75) 0%,rgba(250,255,0,0) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#faff00', endColorstr='#00faff00',GradientType=1 ); + } + + .map_container .map a.bigger + { + font-size: 21px; + } + + .map_container .map a.smaller + { + font-size: 13px; + } + + .map_container .map a img + { + vertical-align: middle; + margin-right: 4px; + height: 30px; + } + + .map_container .map a .helper + { + display: inline-block; + position: absolute; + bottom: -7px; + left: 0; + width: 100%; + text-align: center; + white-space: nowrap; + font-size: 10px; + color: #ddd; + font-style: italic; + } + + .map_container a.margin_medium { + } + .map_container a.margin_small { + } + + input.input_chat_add + { + font-size: 13px; + padding: 0 2px; + margin-top: -2px; + } + + </style> +<script> + + site.my_chats = [{"chat_id":189489,"chat_owner":2,"chat_owner_name":"Admin","chat_recip":120100,"chat_recip_name":"testingaccount1","chat_updated":1603156553,"chat_updater":2,"chat_length":2,"chat_multi":0,"chat_members":2,"chat_last_text":"Welcome to recolor.me! :admin:[br][br]If you need help getting started, please check out [url=https:\/\/recolor.me\/topic\/907133\/Beginner_Guide]A Beginner's Guide to recolor.me[\/url]","chat_last_chatter":2,"chat_last_chatter_name":"Admin","chat_title":"","chat_account_id":378277,"chat_account_chat":189489,"chat_account_created":1603156553,"chat_account_account":120100,"chat_account_name":"testingaccount1","chat_account_updated":0,"chat_account_read":1,"chat_account_left":0,"chat_account_title":"","read":1}]; + + function rcChatDrawMenu() + { + if (site.my_chats != undefined && site.my_chats.length > 0) + { + site.my_chats.sort(function (a,b) + { + a['chat_updated'] = parseInt(a['chat_updated'], 10); + b['chat_updated'] = parseInt(b['chat_updated'], 10); + + return (a['chat_updated']-b['chat_updated']); + }); + + for (var i in site.my_chats) + { + if (site.my_chats[i]['chat_account_left'] == 0) + { + var this_chat = site.my_chats[i]; + + var portrait = this_chat.chat_owner; + var portrait_name = this_chat.chat_owner_name; + + if (this_chat.chat_account_title != "") { + portrait_name = this_chat.chat_account_title; + } + else if (portrait == site.my_id) + { + portrait = this_chat.chat_recip; + portrait_name = this_chat.chat_recip_name; + } + + if ($("#chats .chat[data-chat='"+this_chat.chat_id+"']").length < 1) + { + $("#chats").append("<a href='/chat/"+this_chat.chat_id+"' class='chat chatlink' data-chat='"+this_chat.chat_id+"'><span class='small_head left'><img alt='' class='imgflip' src='"+avatarPath(portrait,'')+"?chat="+this_chat.chat_id+"' /></span><div class='chatlink_content'></div><div class='chat_time'></div></a>"); + } + + var chat_dom = $("#chats .chat[data-chat='"+this_chat.chat_id+"']"); + + if (this_chat.read == 0) + { + if ($(".chat_container[data-chat='"+this_chat.chat_id+"']").length > 0) + { + this_chat.read = 1; + $.post("/chat", {"action": "read", "chat_id": this_chat.chat_id, "key": site.my_key}); + } + else + chat_dom.addClass("unread"); + } + + if (this_chat.chat_multi == 0) + if (this_chat.chat_recip == site.my_id) + chat_dom.attr("data-account", this_chat['chat_owner']); + else + chat_dom.attr("data-account", this_chat['chat_recip']); + + chat_dom.find(".chat_time").html(timeFrom(this_chat.chat_updated)); + + var chatlink_content = []; + + if (typeof(this_chat.chat_account_title) != 'undefined' && this_chat.chat_account_title.length > 1) + { + chatlink_content.push("<strong>"+portrait_name+"</strong>"); + } + else if (this_chat.chat_members > 2) + { + // chatlink_content.push("<strong>Group Chat (+"+(parseInt(this_chat.chat_members, 10)-2)+")</strong>"); + chatlink_content.push("<strong>Group Chat ("+parseInt(this_chat.chat_members, 10)+")</strong>"); + } + else if (this_chat.chat_members == 2) + { + chatlink_content.push("<strong>"+portrait_name+"</strong>"); + } + else if (this_chat.chat_members < 2) + { + // if (this_chat.chat_owner != this_chat.chat_recip) + // chatlink_content.push(" (left)"); + // chatlink_content.push("Chat #"+this_chat.chat_id); + // chatlink_content.push("<strong>"+portrait_name+"</strong> (closed)"); + chatlink_content.push("<strong>"+portrait_name+"</strong>"); + + // try{console.log(this_chat.chat_members); }catch(e){} + } + + + chatlink_content.push("<br />"); + + if (this_chat.chat_last_chatter == site.my_id) + chatlink_content.push("<span class='chat_preview'>You: ""+this_chat.chat_last_text+""</span>"); + else + chatlink_content.push("<span class='chat_preview'>""+this_chat.chat_last_text+""</span>"); + if (chatlink_content.length > 0) + chat_dom.find(".chatlink_content").html(chatlink_content.join("")); + } + } + + if (site.my_chats.length > 9 && $("#chats a.listopen").length < 1) + { + $("#chats").prepend("<a href='/chat/open' class='button listopen'>Open Chats</a>"); + } + } + + $("#chats").scrollTop($("#chats")[0].scrollHeight); + + } + + function rcChatDraw() + { + var chats_missing = []; + + $(".chat_container:visible").each(function (this_chat_dom) + { + var chat_id = parseInt($(this).attr("data-chat"), 10); + + if (chat_id == 0) + { + $(".chat_container[data-chat='"+chat_id+"'] .button_chat_leave").remove(); + $(".chat_container[data-chat='"+chat_id+"'] .chat_header_title").html("Public Chat"); + $(".chat_container[data-chat='"+chat_id+"'] .chat_options").addClass("text_left").html(" Shout out to the world!"); + } + else + { + var this_chat = {}; + + for (var i in site.my_chats) + if (site.my_chats[i]['chat_id'] == chat_id) + this_chat = site.my_chats[i]; + + if (typeof(this_chat['chat_id']) != 'undefined') + { + var portrait = this_chat['chat_owner']; + var portrait_name = this_chat['chat_owner_name']; + + if (site.my_id == portrait) + { + var portrait = this_chat['chat_recip']; + var portrait_name = this_chat['chat_recip_name']; + } + + var chat_options = []; + + // if (this_chat.chat_owner == site.my_id && this_chat.chat_members > 1) + // chat_options.push('<a class="button_chat_add" href="#">Add Friend</a>'); + if (this_chat.chat_owner == site.my_id && this_chat.chat_members > 1) + chat_options.push('<a class="" href="/chat/'+this_chat['chat_id']+'?add">Add Friend</a>'); + + if (this_chat.chat_members) + { + if (chat_id > 0) + chat_options.push('<div class="left"><a class="button_chat_report red_text" href="#'+chat_id+'">Report</a></div>'); + + if (typeof(this_chat.chat_account_title) != 'undefined' && this_chat.chat_account_title.length > 1) + { + $(".chat_container[data-chat='"+chat_id+"'] .chat_header_title").html(this_chat.chat_account_title); + } + else if (this_chat.chat_members > 1) + { + if (this_chat.chat_members == 2) + { + if (this_chat.chat_owner == this_chat.chat_recip) + $(".chat_container[data-chat='"+chat_id+"'] .chat_header_title").html("Self Chat"); + else + $(".chat_container[data-chat='"+chat_id+"'] .chat_header_title").html(portrait_name); + } + else + $(".chat_container[data-chat='"+chat_id+"'] .chat_header_title").html("Group Chat <a class='link_chat_memberschat' href='/chat/"+chat_id+"'>("+this_chat.chat_members+")</a>"); + } + else + { + // $(".chat_container[data-chat='"+chat_id+"'] .chat_header_title").html("No one in chat"); + // $(".chat_container[data-chat='"+chat_id+"'] .chat_header_title").html("(Chat Closed)"); + + if (this_chat.chat_owner == this_chat.chat_recip) + $(".chat_container[data-chat='"+chat_id+"'] .chat_header_title").html("Self Chat"); + else + $(".chat_container[data-chat='"+chat_id+"'] .chat_header_title").html(portrait_name); + } + } + + $(".chat_container[data-chat='"+chat_id+"'] .chat_options").html(chat_options); + } + } + + if (site.my_chat_messages[chat_id] == undefined) + { + chats_missing.push(chat_id); + } + else + { + var chat_messages = site.my_chat_messages[chat_id]; + + chat_messages.sort(function (a,b) + { + a['chat_message_created'] = parseInt(a['chat_message_created'], 10); + b['chat_message_created'] = parseInt(b['chat_message_created'], 10); + + // return (b['chat_message_created']-a['chat_message_created']); + return (a['chat_message_created']-b['chat_message_created']); + }); + + var chatbox = $(this).find(".chat_messages"); + + if (chatbox) + { + for (var i in chat_messages) + { + var chat_msg = chat_messages[i]; + if (chat_msg['chat_message_chat'] == chat_id) + { + if (chatbox.find(".chat_message[data-id='"+chat_msg['chat_message_id']+"']").length < 1) + { + // chatbox.append(rcChatMessage(chat_msg)); + chatbox.prepend(rcChatMessage(chat_msg)); + } + } + } + + // chatbox.scrollTop(chatbox[0].scrollHeight); + chatbox.scrollTop(0); + } + } + }); + + if (chats_missing.length > 0) + { + $.post("/chat", {"action": "load_chats", "chats": chats_missing.join(","), "key": site.my_key, "mark_read": true}, function (data) + { + var result = JSON.parse(data); + if (result.chats != undefined) + { + for (var i = 0; i < result.chats.length; i++) + { + var this_chat_id = parseInt(result.chats[i].chat['chat_id'], 10); + + site.my_chat_messages[this_chat_id] = result.chats[i].chat_messages; + } + rcChatDraw(); + } + }); + } + } + + function rcChatMessage(chat_msg) + { + var unix = Math.round(+new Date()/1000); + var data = ""; + + var portrait_saves = 0; + + if (typeof(chat_msg['account_saves']) != 'undefined') + portrait_saves = chat_msg['account_saves']; + + data += "<div class='chat_message' data-id='"+chat_msg['chat_message_id']+"'>"; + data += "<a class='citizen tinyhead left' href='#"+chat_msg['chat_message_account']+"' title='"+chat_msg['chat_message_name']+"'><img alt='' class='imgflip' src='"+avatarPath(chat_msg['chat_message_account'], '')+"?s="+portrait_saves+"'/></a>"; + data += "<div class='speech_bubble speech_bubble_smaller'>"; + data += "<div class='speech_bubble_tick'></div>"; + data += "<div class='speech_bubble_message'>"; + data += chat_msg['chat_message_text']; + data += "</div>"; + data += "<div class='speech_bubble_time'>"+timeFrom(chat_msg['chat_message_created'])+"</div>"; + data += "</div>"; + data += "</div>"; + + return data; + } + + function rcChatPing() + { + var chat_ids = []; + $(".chat_container:visible").each(function (this_chat_dom) + { + chat_ids.push($(this).attr("data-chat")); + }); + + try + { + $.post("/chat", {"action": "load_chats", "chats": chat_ids.join(","), "key": site.my_key}, function (data) + { + var result = JSON.parse(data); + + + if (typeof(result.chats_unread_list) == 'undefined' || result.chats_unread_list.length < 1) + result.chats_unread_list = []; + + if (typeof(result.chats_unread) != 'undefined' && result.chats_unread > 0) + { + // $("#rcmenu_bottom a#mentions_link img").addClass("disabled"); + // $("#button_rcmenu img").attr("src", "/images/site/rcmenu_mentions.png"); + + rcChatDrawMenu(); + } + else if (typeof(result.new_mentions) != 'undefined' && result.new_mentions == 1) + { + $("#rcmenu_bottom a#mentions_link img").addClass("disabled"); + $("#button_rcmenu img").attr("src", "/images/site/rcmenu_mentions.png"); + } + + if (typeof(result.chats) != 'undefined') + { + var hidden_updated = 0; + + for (var i = 0; i < result.chats.length; i++) + { + if (result.chats_unread_list.indexOf(result.chats[i].chat['chat_id']) > -1) + { + for (var iter_chats in site.my_chats) + if (site.my_chats[iter_chats]['chat_id'] == result.chats[i].chat['chat_id']) + { + if ($(".chat_container[data-chat='"+result.chats[i].chat['chat_id']+"']").length < 1) + hidden_updated++; + + site.my_chats[iter_chats]['read'] = 0; + + if (typeof(result.chats[i]['chat']['chat_last_chatter'] != 'undefined')) + site.my_chats[iter_chats]['chat_last_chatter'] = result.chats[i]['chat']['chat_last_chatter']; + + if (typeof(result.chats[i]['chat']['chat_last_chatter_name'] != 'undefined')) + site.my_chats[iter_chats]['chat_last_chatter_name'] = result.chats[i]['chat']['chat_last_chatter_name']; + + if (typeof(result.chats[i]['chat']['chat_last_text'] != 'undefined')) + site.my_chats[iter_chats]['chat_last_text'] = result.chats[i]['chat']['chat_last_text']; + + if (typeof(result.chats[i]['chat']['chat_updated'] != 'undefined')) + site.my_chats[iter_chats]['chat_updated'] = result.chats[i]['chat']['chat_updated']; + // if (typeof(result.chats[i]['chat_messages'] != 'undefined')) + // site.my_chats[iter_chats]['chat_last_text'] = result.chats[i]['chat_messages'][0]['chat_message_text']; + } + // site.my_chats[iter_chats] = result.chats[i]; + } + + var this_chat_id = parseInt(result.chats[i].chat['chat_id'], 10); + + site.my_chat_messages[this_chat_id] = result.chats[i].chat_messages; + + if (hidden_updated > 0 && $("#rcmenu:visible").length < 1) + { + $("#button_rcmenu img").attr("src", "/images/site/alert.png"); + } + } + + rcChatDrawMenu(); + rcChatDraw(); + } + + }); + } + catch(e) + { + clearInterval(site.chat_ping); + } + + clearInterval(site.chat_ping); + // site.chat_ping = setInterval(rcChatPing, 1000*site.randNum(25,42)); + site.chat_ping = setInterval(rcChatPing, 1000*site.randNum(site.my_chat_interval[0],site.my_chat_interval[1])); + + return true; + } + + + $(document).ready(function() + { + $(document).on("click", "#whirlpool", function () + { + var bodyclass = "water"; + if ($("body").hasClass("widescreen")) + bodyclass += " widescreen"; + $("body").attr("class", bodyclass+" override"); + + site.overlay({bg: "darker", message: "<div id='whirlpool_menu' style='transform: rotateX(70deg); -webkit-transform: rotateX(70deg);position: relative;' class='limited centered'><a id='whirlpool_return' href='/?return' style='display: inline-block;'><img class='spinnerCC' src='/images/site/darkness.png'></a><a href='/?event=easter' style='display: inline-block; position: absolute;left: 42%;top: -55%;' class='slowRotator'><img alt='' style='height: 100px; width: 85px;' src='/images/site/egg.png' class=''></a><a href='/?event=spookmas' style='display: inline-block; position: absolute;left: 48%;top: -25%;' class='slowRotatorCloser'><img alt='' style='height: 85px; width: 85px;' src='/images/emoticons/jack.png' class=''></a><a href='/?event=giftmas' style='display: inline-block; position: absolute;left: 48%;top: -7%;' class='slowRotatorClosest'><img alt='' style='height: 85px; width: 85px;' src='/images/site/holly.png' class=''></a></div>"}); + $("#global_container #content, #rcmenu, #footer").css("opacity", 0); + return false; + }); + + $(document).on("click", "#whirlpool_menu a", function () + { + if (!$(this).hasClass("activated")) + { + $(this).addClass("activated"); + $("#whirlpool_return").addClass("bigGrower"); + return true; + } else { + return false; + } + }); + + $(document).on("click", "a.world_map", function () + { + if (site.my_device != 'computer' || !$("body").hasClass('widescreen')) + if ($("#rcmenu:visible").length > 0) + $("#rcmenu").hide(); + // $("#rcmenu").trigger("click"); + + $(".map_container").css({"max-height": $(window).height()}); + site.overlay({fastclose: true, message: $(".map_container:first").clone()}); + + if (site.my_device == 'mobile') + { + var this_map = $(".map:visible"); + + if (this_map.width() < 600) + this_map.find(".map_bg").css({left: '-100px'}); + // else if (this_map.width() < 800) + // this_map.find(".map_bg").css({left: '-100px'}); + + // var map_offset = ; + // this_map.find(".map_bg").css({left: '-'+map_offset+'px'}) + + $(".map_container:visible").scrollTop(0).css({opacity: 1}); + } + else + $(".map_container:visible").scrollTop(0).animate({opacity: 1}, 500); + + return false; + }); + + $(document).on("submit", "form.form_chat", function () + { + if (!$(this).prop('disabled') && $.trim($(this).find("textarea[name='chat_message']").val()).length > 0) + { + $("form.form_chat").prop('disabled', true); + var form_ser = $(this).serialize(); + $(this).find(".chat_emote_list_container").addClass("hidden"); + $(this).find("textarea[name='chat_message']").val(""); + + var chatbox = $(this).closest(".chat_container"); + var chatbox_messages = chatbox.find(".chat_messages"); + // chatbox_messages.append("<p class='temporary text_center'>Sending <img alt='' src='/images/site/dots.gif' /></p>"); + // chatbox_messages.scrollTop(chatbox_messages[0].scrollHeight); + chatbox_messages.prepend("<p class='temporary text_center'>Sending <img alt='' src='/images/site/dots.gif' /></p>"); + chatbox_messages.scrollTop(0); + + $.post("/chat", form_ser, function (data) + { + var result = JSON.parse(data); + + if (result && result['last_chat'] != undefined) + { + $(".chat_container p.temporary").remove(); + if (result['last_chat'] != undefined) + { + if (parseInt(result['last_chat'], 10) > 0) + for (var iter_chats in site.my_chats) + if (site.my_chats[iter_chats]['chat_id'] == result['last_chat']) + { + site.my_chats[iter_chats]['chat_last_chatter'] = site.my_id; + site.my_chats[iter_chats]['chat_last_chatter_name'] = site.my_name; + site.my_chats[iter_chats]['chat_last_text'] = result.message_sent; + site.my_chats[iter_chats]['chat_updated'] = result.ctime; + rcChatDrawMenu(); + } + + if (site.my_chat_messages[result['last_chat']] == undefined) + site.my_chat_messages[result['last_chat']] = []; + + site.my_chat_messages[result['last_chat']].push(result.chat_message); + + $(".chat_container[data-chat='-2']").attr('data-chat', result['last_chat']).find("input[name='chat_id']").val(result['last_chat']); + } + + rcChatDraw(); + } + else + { + $(".chat_container p.temporary").html("Error sending message"); + } + + $("form.form_chat").prop('disabled', false); + }); + } + + return false; + }); + + $(document).on("click", "a.chatstart", function () + { + // $.unblockUI(); + site.overlayClose(); + + var account_id = parseInt($(this).attr('href').substr(1), 10); + + if ($(".chat_container[data-account='"+account_id+"']").length > 0) + { + $(".chat_container[data-account='"+account_id+"']").find("textarea").focus(); + } + else if ($("#chats .chat[data-account='"+account_id+"']").length > 0) + { + $("#chats .chat[data-account='"+account_id+"']").trigger("click"); + } + else + { + $("#templates_container .chat_container").clone(true).appendTo("#global_container"); + var active_chat = $("#global_container .chat_container:last"); + + if (site.my_device == 'mobile') + active_chat.css({top: $(window).scrollTop()+50}); + + if (site.my_device != 'mobile') + active_chat.css({top: "60px", left: "60px"}); + + active_chat.attr("data-chat", -2); + active_chat.find("input[name='chat_id']").val(-2); + active_chat.find("input[name='chat_recip']").val(account_id); + + active_chat.find(".chat_header_title").html("To: "+$(this).attr("title")); + active_chat.find(".chat_options").hide(); + + active_chat.show(); + + if (site.my_device == 'mobile') + { + active_chat.draggable( + { + axis: "y", + containment: "body", + distance: 10, + handle: ".chat_header_title" + }); + } + else if (site.my_device == 'computer') + { + active_chat.resizable( + { + distance: 10, + handles: "sw, w, nw, n, ne, e, se, s", + minHeight: 150, + minWidth: 250 + }); + + active_chat.draggable( + { + axis: "xy", + containment: "window", + distance: 10, + handle: ".chat_header_title" + }); + } + else if (site.my_device == 'tablet') + { + active_chat.draggable( + { + axis: "xy", + containment: "window", + distance: 10, + handle: ".chat_header_title" + }); + } + + if (site.my_device == 'mobile') + active_chat.css({top: $(window).scrollTop()}); + + if (site.my_device != 'mobile') + active_chat.css({top: ($(window).height()-active_chat.height())/2.25}); + + active_chat.find("textarea[name='chat_message']")[0].focus(); + active_chat.find("a.button_chat_resize").hide(); + } + + // $(".chat_container[data-chat='"+chat_id+"'] a.button_chat_resize").hide(); + + return false; + }); + + $(document).on("click", "a.chatlink", function () + { + var active_menu = $("#rcmenu"); + + var chat_id = parseInt($(this).attr("href").substr(1)); + + if ($(this).attr("href").indexOf('/') > -1) + chat_id = parseInt($(this).attr("href").substr($(this).attr("href").lastIndexOf('/')+1)); + + if ($(".chat_container[data-chat='"+chat_id+"']").length > 0) + { + $(".chat_container[data-chat='"+chat_id+"'] a.button_chat_close").trigger("click"); + } + else + { + $("#templates_container .chat_container").clone(true).appendTo("#global_container"); + + var active_chat = $("#global_container .chat_container:last"); + active_chat.attr("data-chat", chat_id); + active_chat.find("input[name='chat_id']").val(chat_id); + + var this_chat = {}; + for (var i in site.my_chats) + if (site.my_chats[i]['chat_id'] == chat_id) + this_chat = site.my_chats[i]; + + if (typeof(this_chat['chat_id']) != 'undefined') + { + if (this_chat['read'] == 0) + { + $(this).removeClass("unread"); + this_chat['read'] = 1; + $.post("/chat", {"action": "read", "chat_id": chat_id, "key": site.my_key}); + + if ($("a.chatlink.unread").length < 1 && $("#button_rcmenu img").attr("src").indexOf("alert") > -1) + { + $("#button_rcmenu img").attr("src", "/images/site/wmenu.png"); + } + } + + if (this_chat['chat_multi'] == 0) + if (this_chat['chat_recip'] == site.my_id) + active_chat.attr("data-account", this_chat['chat_owner']); + else + active_chat.attr("data-account", this_chat['chat_recip']); + } + + active_chat.show(); + + if (site.my_device == 'mobile') + { + active_chat.draggable( + { + axis: "y", + containment: "body", + distance: 10, + handle: ".chat_header_title" + }); + + active_chat.css({top: $(window).scrollTop()+50}); + } + else if (site.my_device == 'computer') + { + active_chat.draggable( + { + axis: "xy", + containment: "window", + distance: 10, + handle: ".chat_header_title" + }).resizable( + { + distance: 10, + handles: "sw, w, nw, n, ne, e, se, s", + minHeight: 150, + minWidth: 250 + }); + } + else if (site.my_device == 'tablet') + { + active_chat.draggable( + { + axis: "xy", + containment: "window", + distance: 10, + handle: ".chat_header_title" + }); + } + + rcChatDraw(); + + if (site.my_device != 'mobile') + active_chat.css({top: ($(window).height()-active_chat.height())/2.25, left: "220px"}); + + // active_chat.scrollTop(active_chat[0].scrollHeight); + active_chat.scrollTop(0); + + if (active_menu.is(":visible") && (active_chat.width() + active_menu.width()) > $(window).width()) + { + $("#button_rcmenu").trigger("click"); + + if (site.my_device != 'mobile') + active_chat.css("left", "25px"); + } + + $(".chat_container[data-chat='"+chat_id+"'] a.button_chat_resize").attr("href", "/chat/"+chat_id); + } + + site.overlayClose(); + return false; + }); + + $(document).on("click", "a.chat_bbcode_emotes", function () + { + if ($(this).closest("form").find(".chat_emote_list a").length > 0) + $(this).closest("form").find(".chat_emote_list_container").toggleClass("hidden"); + + return false; + }); + + $(document).on("click", ".chat_options a.cancel", function () + { + rcChatDraw(); + return false; + }); + + $(document).on("click", "a.button_chat_report_confirm", function () + { + var chat_id = $(this).attr("href").substr(1); + $(".chat[data-chat='"+chat_id+"']").remove(); + $(".chat_container[data-chat='"+chat_id+"']").remove(); + $.post("/chat", {"action": "report", "chat_id": chat_id, "key": site.my_key}, function (data) + { + if (data.length > 4) + { + var result = JSON.parse(data); + if (result['chat_messages'] != undefined) + { + site.my_chat = result; + rcChatDraw(); + } + } + }); + return false; + }); + + $(document).on("submit", ".chat_report_form", function () + { + var chat_id = $(this).find("input[name='chat_id']").val(); + if ($(this).find("textarea[name='reason']").val().length > 1) + { + $(".chat[data-chat='"+chat_id+"']").remove(); + $(".chat_container[data-chat='"+chat_id+"']").remove(); + + if (!$(this).hasClass("submitted")) + { + $(this).addClass("submitted"); + $.post("/chat", $(this).serialize()); + } + site.overlayClose(); + } + return false; + }); + + $(document).on("click", "a.button_chat_report", function () + { + var chat_id = parseInt($(this).attr('href').substr(1), 10); + site.overlay({message: "<div class='text_container text_left variable'><form class='chat_report_form' method='post' action='/chat' style='margin: 10px;'><p class='smaller'><strong>Report Chat</strong></p><p class='smaller'>Reason for reporting:</p><input type='hidden' name='action' value='report' /><input type='hidden' name='chat_id' value='"+chat_id+"' /><input type='hidden' name='key' value='cbO_VxSG_0kklt4LHX28pQ93WJEiw5WV' /> <textarea name='reason' maxlength='5000' rows='3'></textarea><br/><p class='smaller'>Chat will be closed after reporting</p><input type='submit' class='button button_red' value='Submit'/></form></div><br /><a href='#' class='global_overlay_close'>Cancel</a>"}); + // $(this).closest(".chat_options").html("Report? <a href='"+$(this).attr("href")+"' class='red_text button_chat_report_confirm'>Violates ToS</a> - <a href='#' class='cancel'>Cancel</a>"); + return false; + }); + + $(document).on("focus", ".input_chat_add", function (e) + { + $(this).addClass("active"); + }); + + $(document).on("blur", ".input_chat_add", function (e) + { + $(this).removeClass("active"); + }); + + $(document).on("keydown", ".form_chat textarea", function (e) + { + if(e.keyCode == 13) + { + if (!e.ctrlKey && !e.shiftKey && !e.altKey) + { + $(this).closest(".form_chat").trigger("submit"); + return false; + } + } + }); + + $(document).on("keydown", ".input_chat_add", function (e) + { + if(e.keyCode == 13) + { + var chat_id = $(".input_chat_add.active").closest(".chat_container").attr("data-chat"); + var name = $(".input_chat_add.active").val(); + if (name.length > 0) + { + $(".input_chat_add.active").closest(".chat_options").html("Adding friend..."); + + $.post("/chat", {"action": "add", "chat_id": chat_id, "name": name, "key": site.my_key}, function (data) + { + var result = JSON.parse(data); + + if (result) + { + if (result['message'] != undefined) + { + + } + } + // if (data.length > 4) + // { + + // if (result['chat_messages'] != undefined) + // site.my_chat = result; + // rcChatDraw(); + // } + }); + } + + return false; + } + }); + + + $(document).on("click", "a.link_chat_members", function () + { + var this_chat = parseInt($(this).attr('href').substr(1), 10); + if (site.my_chat['chats'] != undefined) + { + var this_members = []; + var this_members = [site.my_name]; + for (var i in site.my_chat['chats']) + if (site.my_chat['chats'][i].chat_id == this_chat) + this_members = site.my_chat['chats'][i].members; + + var data = "<h2>Chat List</h2><p><a href='#' class='button global_overlay_close'>Continue</a></p><div class='chat_member_list'>"; + + if (this_members) + { + this_members.sort(function (a,b) + { + return (a['name'].toUpperCase() > b['name'].toUpperCase()); + }); + + for (var i in this_members) + data += "<p><a class='citizen' href='#"+this_members[i].id+"' title='"+this_members[i].name+"'>"+this_members[i].name+"</a></p>"; + + data += "<p>and <a class='citizen' href='#"+site.my_id+"' title='"+site.my_name+"'>"+site.my_name+"</a></p>"; + } + + data += "</div>"; + + $("#global_overlay_message").html(data); + $("#global_overlay").addClass("darker").show(); + } + return false; + }); + + $(document).on("click", "a.button_chat_add", function () + { + var parent_container = $(this).closest(".chat_options"); + + parent_container.html("<input type='text' class='input_chat_add' size='10' value='' placeholder='Add Friend...'/> <a href='#' class='cancel'>Cancel</a>"); + parent_container.find("input.input_chat_add").focus(); + return false; + }); + + $(document).on("click", "a.button_chat_leave_confirm", function () + { + var chat_id = $(this).attr("href").substr(1); + $("#chats .chat[data-chat='"+chat_id+"']").remove(); + $(".chat_container[data-chat='"+chat_id+"']").remove(); + + if (site.my_chats.length > 0) + for (var iter_chats in site.my_chats) + if (site.my_chats[iter_chats]['chat_id'] == chat_id) + site.my_chats[iter_chats]['chat_account_left'] = 1; + + $.post("/chat", {"action": "leave", "chat_id": chat_id, "key": site.my_key}, function (data) + { + if (data.length > 4) + { + var result = JSON.parse(data); + if (result['chat_messages'] != undefined) + { + site.my_chat = result; + rcChatDraw(); + } + } + }); + return false; + }); + + $(document).on("click", "a.button_chat_leave", function () + { + var chatbox = $(this).closest(".chat_container"); + + if (chatbox.attr("data-chat") == -2) + { + chatbox.remove(); + } + else + { + chatbox.find(".chat_options").html("Leave Chat: <a href='#"+chatbox.attr("data-chat")+"' class='red_text button_chat_leave_confirm'>Yes</a> - <a href='#' class='cancel'>No</a>"); + } + + return false; + }); + + $(document).on("click", "a.button_chat_close", function () + { + var this_chat = $(this).closest(".chat_container"); + this_chat.remove(); + return false; + }); + + if (site.my_device == 'mobile') + { + // $(document).on("touchstart", "textarea[name='chat_message']", function () + // { + // var this_chat = $(this).closest(".chat_container"); + // this_chat.addClass("mobile_absolute").css({top: $(window).scrollTop()}); + // }); + + // $(document).on("focus", "textarea[name='chat_message']", function () + // { + // var this_chat = $(this).closest(".chat_container"); + // this_chat.removeClass("mobile_absolute").css({top: 0}); + // }); + + // $(this).closest(".chat_container"); + } + + $("#easter_egg").one("click", function () + { + $(this).children().rotate({animateTo:360}); + $(this).children().animate({height: "120px", opacity: 0.1}, 1000, function(){$("#easter_egg").remove();}); + $.post("/egg", {"action": "collect", key: site.my_key}); + site.my_eggs += 1; + $("#myeggs").html(site.my_eggs); + return false; + }); + + }); + + + </script> +<div id="templates_container"> +<div class="chat_container" data-chat=""> +<div class="resizeable"> +<a class="button_chat_leave hover_icongrow" href="#"><img alt="" src="/images/site/close_round.png" /></a> +<a class="button_chat_resize hover_icongrow" href="/"><img alt="" src="/images/site/resize_round.png" /></a> +<a class="button_chat_close hover_icongrow" href="#"><img alt="" src="/images/site/minimize_round.png" /></a> +<div class="chat_header"> +<div class="chat_header_title"></div> +<div class="chat_options"></div> +</div> +<div class="chat_messages"></div> +<div class="chat_form"> +<form class="form_chat" action="/chat" method="post"> +<input type="hidden" name="action" value="send" /> +<input type="hidden" name="key" value="cbO_VxSG_0kklt4LHX28pQ93WJEiw5WV" /> +<input type="hidden" name="chat_id" value="0" /> +<input type="hidden" name="chat_recip" value="0" /> +<textarea name="chat_message" placeholder="..." maxlength="2048" autocomplete="off" spellcheck="true"></textarea> +<input type="submit" value="Send" class="button" /> +<a href="#" class="chat_bbcode_emotes"><img alt="" src="/images/emotes/cool.png" style="height: 32px;"></a><div class="chat_emote_list_container hidden"><div class="emote_list_categories"><a href="#" class="bbcode_emote_category" data-category="1"><img alt="" src="/images/e/cool.png" /></a><a href="#" class="bbcode_emote_category" data-category="2"><img alt="" src="/images/e/frog.png" /></a><a href="#" class="bbcode_emote_category" data-category="3"><img alt="" src="/images/e/cookie.png" /></a><a href="#" class="bbcode_emote_category" data-category="4"><img alt="" src="/images/e/hourglass.png" /></a><a href="#" class="bbcode_emote_category" data-category="5"><img alt="" src="/images/e/ghost.png" /></a></div><div class="chat_emote_list"><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':cool:'><img alt='' src='/images/emotes/cool.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':cry:'><img alt='' src='/images/emotes/cry.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':blush:'><img alt='' src='/images/emotes/blush.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':cookie:'><img alt='' src='/images/emotes/cookie.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='5' data-emote=':ghost:'><img alt='' src='/images/emotes/ghost.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='5' data-emote=':heart:'><img alt='' src='/images/emotes/heart.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':laugh:'><img alt='' src='/images/emotes/laugh.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='5' data-emote=':poo:'><img alt='' src='/images/emotes/poo.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':shades:'><img alt='' src='/images/emotes/shades.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':sweat:'><img alt='' src='/images/emotes/sweat.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':smore:'><img alt='' src='/images/emotes/smore.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':pensive:'><img alt='' src='/images/emotes/pensive.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':macarons:'><img alt='' src='/images/emotes/macarons.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':hourglass:'><img alt='' src='/images/emotes/hourglass.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':frog:'><img alt='' src='/images/emotes/frog.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':friedegg:'><img alt='' src='/images/emotes/friedegg.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':crow:'><img alt='' src='/images/emotes/crow.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':book:'><img alt='' src='/images/emotes/book.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='5' data-emote=':microbes:'><img alt='' src='/images/emotes/microbes.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='5' data-emote=':jigsawpuzzle:'><img alt='' src='/images/emotes/jigsawpuzzle.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':gbh:'><img alt='' src='/images/emotes/gbh.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':fortunecookie:'><img alt='' src='/images/emotes/fortunecookie.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='5' data-emote=':dna:'><img alt='' src='/images/emotes/dna.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':boba:'><img alt='' src='/images/emotes/boba.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':tooth:'><img alt='' src='/images/emotes/tooth.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':toolbox:'><img alt='' src='/images/emotes/toolbox.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':sponge:'><img alt='' src='/images/emotes/sponge.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':petridish:'><img alt='' src='/images/emotes/petridish.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':broom:'><img alt='' src='/images/emotes/broom.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':testtube:'><img alt='' src='/images/emotes/testtube.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':sloth:'><img alt='' src='/images/emotes/sloth.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='5' data-emote=':mothman:'><img alt='' src='/images/emotes/mothman.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':bone:'><img alt='' src='/images/emotes/bone.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':paintbrush:'><img alt='' src='/images/emotes/paintbrush.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='5' data-emote=':witchat:'><img alt='' src='/images/emotes/witchat.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='5' data-emote=':foot:'><img alt='' src='/images/emotes/foot.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='5' data-emote=':cauldron:'><img alt='' src='/images/emotes/cauldron.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='5' data-emote=':bong:'><img alt='' src='/images/emotes/bong.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':lock:'><img alt='' src='/images/emotes/lock.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':spit:'><img alt='' src='/images/emotes/spit.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':ribbon:'><img alt='' src='/images/emotes/ribbon.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':peach:'><img alt='' src='/images/emotes/peach.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='5' data-emote=':chubstar:'><img alt='' src='/images/emotes/chubstar.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':carrot:'><img alt='' src='/images/emotes/carrot.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':bunny:'><img alt='' src='/images/emotes/bunny.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':bear:'><img alt='' src='/images/emotes/bear.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':thirsty:'><img alt='' src='/images/emotes/thirsty.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':rocketship:'><img alt='' src='/images/emotes/rocketship.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':ufo:'><img alt='' src='/images/emotes/ufo.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':lightbulb_off:'><img alt='' src='/images/emotes/lightbulb_off.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':lightbulb:'><img alt='' src='/images/emotes/lightbulb.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':turtle:'><img alt='' src='/images/emotes/turtle.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':sushi:'><img alt='' src='/images/emotes/sushi.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':pancakes:'><img alt='' src='/images/emotes/pancakes.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':icecream:'><img alt='' src='/images/emotes/icecream.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':donut:'><img alt='' src='/images/emotes/donut.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':avocado:'><img alt='' src='/images/emotes/avocado.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':tombstone:'><img alt='' src='/images/emotes/tombstone.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':brain:'><img alt='' src='/images/emotes/brain.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='5' data-emote=':token:'><img alt='' src='/images/emotes/token.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':chick:'><img alt='' src='/images/emotes/chick.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':eastereggs:'><img alt='' src='/images/emotes/eastereggs.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':hatch:'><img alt='' src='/images/emotes/hatch.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':nope:'><img alt='' src='/images/emotes/nope.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':spider:'><img alt='' src='/images/emotes/spider.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':starstruck:'><img alt='' src='/images/emotes/starstruck.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':basketball:'><img alt='' src='/images/emotes/basketball.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='5' data-emote=':no:'><img alt='' src='/images/emotes/no.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':pan:'><img alt='' src='/images/emotes/pan.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':microwave:'><img alt='' src='/images/emotes/microwave.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':bowl:'><img alt='' src='/images/emotes/bowl.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':chopsticks:'><img alt='' src='/images/emotes/chopsticks.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':knife:'><img alt='' src='/images/emotes/knife.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':spoon:'><img alt='' src='/images/emotes/spoond.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':fork:'><img alt='' src='/images/emotes/forkd.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':plate:'><img alt='' src='/images/emotes/plate.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':tennis:'><img alt='' src='/images/emotes/tennis.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':baseball:'><img alt='' src='/images/emotes/baseball.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':hockey:'><img alt='' src='/images/emotes/hockey.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':soccer:'><img alt='' src='/images/emotes/soccer.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':football:'><img alt='' src='/images/emotes/football.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':pillows:'><img alt='' src='/images/emotes/pillows.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':hairdryer:'><img alt='' src='/images/emotes/hairdryer.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':tp:'><img alt='' src='/images/emotes/tp.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':soap:'><img alt='' src='/images/emotes/soap.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':coffeetable:'><img alt='' src='/images/emotes/coffeetable.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':key:'><img alt='' src='/images/emotes/key.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':purse:'><img alt='' src='/images/emotes/purse.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':tv:'><img alt='' src='/images/emotes/tv.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':couch:'><img alt='' src='/images/emotes/couch.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':taxi:'><img alt='' src='/images/emotes/taxi.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':skateboard:'><img alt='' src='/images/emotes/skateboard.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':boat:'><img alt='' src='/images/emotes/boat.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':motorcycle:'><img alt='' src='/images/emotes/motorcycle.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':train:'><img alt='' src='/images/emotes/train.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':bicycle:'><img alt='' src='/images/emotes/bicycle.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':airplane:'><img alt='' src='/images/emotes/airplane.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':bus:'><img alt='' src='/images/emotes/bus.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':car:'><img alt='' src='/images/emotes/car.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='5' data-emote=':tornado:'><img alt='' src='/images/emotes/tornado.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='5' data-emote=':coldweather:'><img alt='' src='/images/emotes/coldweather.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='5' data-emote=':thunderstorm:'><img alt='' src='/images/emotes/thunderstorm.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':flipflops:'><img alt='' src='/images/emotes/flipflops.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':jacket:'><img alt='' src='/images/emotes/jacket.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':sweater:'><img alt='' src='/images/emotes/sweater.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':gloves:'><img alt='' src='/images/emotes/gloves.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':scarf:'><img alt='' src='/images/emotes/scarf.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':hat:'><img alt='' src='/images/emotes/hat.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':suit:'><img alt='' src='/images/emotes/suit.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':tie:'><img alt='' src='/images/emotes/tie.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':dress:'><img alt='' src='/images/emotes/dress.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':skirt:'><img alt='' src='/images/emotes/skirt.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':socks:'><img alt='' src='/images/emotes/socks.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':tshirt:'><img alt='' src='/images/emotes/tshirt.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':shoes:'><img alt='' src='/images/emotes/shoes.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':pants:'><img alt='' src='/images/emotes/pants.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':map:'><img alt='' src='/images/emotes/map.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':folder:'><img alt='' src='/images/emotes/folder.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':calculator:'><img alt='' src='/images/emotes/calculator.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':scissors:'><img alt='' src='/images/emotes/scissors.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':glue:'><img alt='' src='/images/emotes/glue.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':paperclip:'><img alt='' src='/images/emotes/paperclip.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':ruler:'><img alt='' src='/images/emotes/ruler.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':notebook:'><img alt='' src='/images/emotes/notebook.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':paper:'><img alt='' src='/images/emotes/paper.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':pen:'><img alt='' src='/images/emotes/pen.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':salad:'><img alt='' src='/images/emotes/salad.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':pizza:'><img alt='' src='/images/emotes/pizza.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':egg:'><img alt='' src='/images/emotes/egg.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':waffle:'><img alt='' src='/images/emotes/waffle.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':bacon:'><img alt='' src='/images/emotes/bacon.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':coffee:'><img alt='' src='/images/emotes/coffee.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':water:'><img alt='' src='/images/emotes/water.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':rice:'><img alt='' src='/images/emotes/rice.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':frenchfries:'><img alt='' src='/images/emotes/frenchfries.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':burger:'><img alt='' src='/images/emotes/burger.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':taco:'><img alt='' src='/images/emotes/taco.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':lemon:'><img alt='' src='/images/emotes/lemon.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':pineapple:'><img alt='' src='/images/emotes/pineapple.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':potato:'><img alt='' src='/images/emotes/potato.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':soda:'><img alt='' src='/images/emotes/soda.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':strawberry:'><img alt='' src='/images/emotes/strawberry.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':watermelon:'><img alt='' src='/images/emotes/watermelon.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':lime:'><img alt='' src='/images/emotes/lime.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':giraffe:'><img alt='' src='/images/emotes/giraffe.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':goat:'><img alt='' src='/images/emotes/goat.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':squirrel:'><img alt='' src='/images/emotes/squirrel.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':pig:'><img alt='' src='/images/emotes/pig.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':cow:'><img alt='' src='/images/emotes/cow.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':bird:'><img alt='' src='/images/emotes/birdo.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':alligator:'><img alt='' src='/images/emotes/alligator.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':butterfly:'><img alt='' src='/images/emotes/butterfly.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':ant:'><img alt='' src='/images/emotes/ant.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':bug:'><img alt='' src='/images/emotes/bug.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':bee:'><img alt='' src='/images/emotes/bee.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':fish:'><img alt='' src='/images/emotes/fishy.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':mouse:'><img alt='' src='/images/emotes/mouse.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':cup:'><img alt='' src='/images/emotes/cup.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='5' data-emote=':sunny:'><img alt='' src='/images/emotes/sunny.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='5' data-emote=':snow:'><img alt='' src='/images/emotes/snow.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':pencil:'><img alt='' src='/images/emotes/pencil.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':horse:'><img alt='' src='/images/emotes/horse.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':door:'><img alt='' src='/images/emotes/door.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':chicken:'><img alt='' src='/images/emotes/chicken.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':chair:'><img alt='' src='/images/emotes/chair.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':palette:'><img alt='' src='/images/emotes/palette.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':dragon:'><img alt='' src='/images/emotes/dragon.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':apple:'><img alt='' src='/images/emotes/apple.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':orange:'><img alt='' src='/images/emotes/orange.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':bananas:'><img alt='' src='/images/emotes/bananas.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':pear:'><img alt='' src='/images/emotes/pear.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':blueberries:'><img alt='' src='/images/emotes/blueberries.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':grapes:'><img alt='' src='/images/emotes/grapes.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':sadpepe:'><img alt='' src='/images/emotes/sadpepe.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':ok:'><img alt='' src='/images/emotes/ok.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':maniac:'><img alt='' src='/images/emotes/maniac.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':umm:'><img alt='' src='/images/emotes/umm.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':uwu:'><img alt='' src='/images/emotes/uwu.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':owl:'><img alt='' src='/images/emotes/cowl.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':mushroom:'><img alt='' src='/images/emotes/mushroom.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':eyeball:'><img alt='' src='/images/emotes/eyeball.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':crown:'><img alt='' src='/images/emotes/crown.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':teacup:'><img alt='' src='/images/emotes/teacup.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':duck:'><img alt='' src='/images/emotes/duck.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':kissy:'><img alt='' src='/images/emotes/kissy.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':bread:'><img alt='' src='/images/emotes/bread.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':toast:'><img alt='' src='/images/emotes/toast.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':sneaky:'><img alt='' src='/images/emotes/sneaky.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='5' data-emote=':lit:'><img alt='' src='/images/emotes/lit.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':faint:'><img alt='' src='/images/emotes/faint.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':brow:'><img alt='' src='/images/emotes/brow.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':rbow:'><img alt='' src='/images/emotes/rbow.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':smirk:'><img alt='' src='/images/emotes/smirk.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':mischief:'><img alt='' src='/images/emotes/mischief.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':wha:'><img alt='' src='/images/emotes/wha.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':shy:'><img alt='' src='/images/emotes/shy.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':relief:'><img alt='' src='/images/emotes/relief.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':nyoron:'><img alt='' src='/images/emotes/nyoron.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':nyan:'><img alt='' src='/images/emotes/nyan.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':heee:'><img alt='' src='/images/emotes/heee.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':nom:'><img alt='' src='/images/emotes/nom.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':flirty:'><img alt='' src='/images/emotes/flirty.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':galp:'><img alt='' src='/images/emotes/galp.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':i:'><img alt='' src='/images/emotes/i.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':hurr:'><img alt='' src='/images/emotes/hurr.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':denko:'><img alt='' src='/images/emotes/denko.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':darp:'><img alt='' src='/images/emotes/darp.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':hand:'><img alt='' src='/images/emotes/hand.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':brows:'><img alt='' src='/images/emotes/brows.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':whistle:'><img alt='' src='/images/emotes/whistle.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':brighteyes:'><img alt='' src='/images/emotes/brighteyes.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':who:'><img alt='' src='/images/emotes/who.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':hoot:'><img alt='' src='/images/emotes/hoot.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':expired:'><img alt='' src='/images/emotes/expired.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':hysterical:'><img alt='' src='/images/emotes/hysterical.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':upset:'><img alt='' src='/images/emotes/upset.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':yell:'><img alt='' src='/images/emotes/yell.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':oh:'><img alt='' src='/images/emotes/oh.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':bored:'><img alt='' src='/images/emotes/bored.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':finger:'><img alt='' src='/images/emotes/finger.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='5' data-emote=':question:'><img alt='' src='/images/emotes/question.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':corndog:'><img alt='' src='/images/emotes/corndog.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':cyclops:'><img alt='' src='/images/emotes/cyclops.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':tri:'><img alt='' src='/images/emotes/tri.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':motivated:'><img alt='' src='/images/emotes/motivated.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':8):'><img alt='' src='/images/emotes/8.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':uhno:'><img alt='' src='/images/emotes/uhno.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':awesome:'><img alt='' src='/images/emotes/awesome.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='5' data-emote=':slime:'><img alt='' src='/images/emotes/slime.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':yeesh:'><img alt='' src='/images/emotes/yeesh.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':bashful:'><img alt='' src='/images/emotes/bashful.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':jaw:'><img alt='' src='/images/emotes/jaw.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':noop:'><img alt='' src='/images/emotes/noop.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':ewe:'><img alt='' src='/images/emotes/ewe.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':admin:'><img alt='' src='/images/emotes/admin.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':feels:'><img alt='' src='/images/emotes/feels.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':erk:'><img alt='' src='/images/emotes/erk.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':pbt:'><img alt='' src='/images/emotes/pbt.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':huehue:'><img alt='' src='/images/emotes/huehue.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':pray:'><img alt='' src='/images/emotes/pray.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':snrk:'><img alt='' src='/images/emotes/snrk.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':ohoho:'><img alt='' src='/images/emotes/ohoho.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':tickles:'><img alt='' src='/images/emotes/tickles.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':hotdog:'><img alt='' src='/images/emotes/hotdog.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':shock:'><img alt='' src='/images/emotes/shock.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':jack:'><img alt='' src='/images/emotes/jack.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':nerd:'><img alt='' src='/images/emotes/nerd.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':o3o:'><img alt='' src='/images/emotes/o3o.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':tea:'><img alt='' src='/images/emotes/tea.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':salt:'><img alt='' src='/images/emotes/salt.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':bitter:'><img alt='' src='/images/emotes/bitter.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':vom:'><img alt='' src='/images/emotes/vom.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':3:'><img alt='' src='/images/emotes/3.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':low:'><img alt='' src='/images/emotes/low.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':ahg:'><img alt='' src='/images/emotes/ahg.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':tear:'><img alt='' src='/images/emotes/tear.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':xD:'><img alt='' src='/images/emotes/xD.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':facepalm:'><img alt='' src='/images/emotes/facepalm.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':shrug:'><img alt='' src='/images/emotes/shrug.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':nun:'><img alt='' src='/images/emotes/nun.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':8u8:'><img alt='' src='/images/emotes/8u8.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':dur:'><img alt='' src='/images/emotes/dur.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':pepe:'><img alt='' src='/images/emotes/pepe.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':yara:'><img alt='' src='/images/emotes/yara.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':n_n:'><img alt='' src='/images/emotes/n_n.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':oAo:'><img alt='' src='/images/emotes/oao.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':huh:'><img alt='' src='/images/emotes/huh.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':skull:'><img alt='' src='/images/emotes/skull.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':pop:'><img alt='' src='/images/emotes/pop.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':cheeks:'><img alt='' src='/images/emotes/cheeks.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':wah:'><img alt='' src='/images/emotes/wah.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':bubbles:'><img alt='' src='/images/emotes/bubbles.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':butt:'><img alt='' src='/images/emotes/butt.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':sympathy:'><img alt='' src='/images/emotes/sympathy.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':tdown:'><img alt='' src='/images/emotes/tdown.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':tup:'><img alt='' src='/images/emotes/tup.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':glance:'><img alt='' src='/images/emotes/glance.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':roll:'><img alt='' src='/images/emotes/roll.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':eoe:'><img alt='' src='/images/emotes/eoe.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':popcorn:'><img alt='' src='/images/emotes/popcorn.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':da:'><img alt='' src='/images/emotes/da.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':hm:'><img alt='' src='/images/emotes/hm.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':qq:'><img alt='' src='/images/emotes/qq.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':hothead:'><img alt='' src='/images/emotes/hothead.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':ene:'><img alt='' src='/images/emotes/ene.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':zombie:'><img alt='' src='/images/emotes/zombie.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':yawning:'><img alt='' src='/images/emotes/yawning.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':yawn:'><img alt='' src='/images/emotes/yawn.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':wink:'><img alt='' src='/images/emotes/wink.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':win:'><img alt='' src='/images/emotes/win.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':whew:'><img alt='' src='/images/emotes/whew.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':wave:'><img alt='' src='/images/emotes/wave.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':vomit:'><img alt='' src='/images/emotes/vomit.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':unimpressed:'><img alt='' src='/images/emotes/unimpressed.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':tongue:'><img alt='' src='/images/emotes/tongue.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':think:'><img alt='' src='/images/emotes/think.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='5' data-emote=':sun:'><img alt='' src='/images/emotes/sun.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='5' data-emote=':stars:'><img alt='' src='/images/emotes/stars.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':smug:'><img alt='' src='/images/emotes/smug.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':smoke:'><img alt='' src='/images/emotes/smoke.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':smile:'><img alt='' src='/images/emotes/smile.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':sleeping:'><img alt='' src='/images/emotes/sleeping.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':sleep:'><img alt='' src='/images/emotes/sleep.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':silly:'><img alt='' src='/images/emotes/silly.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':silenced:'><img alt='' src='/images/emotes/silenced.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':sicker:'><img alt='' src='/images/emotes/sicker.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':sick:'><img alt='' src='/images/emotes/sick.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':shh:'><img alt='' src='/images/emotes/shh.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':scared:'><img alt='' src='/images/emotes/scared.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':sad:'><img alt='' src='/images/emotes/sad.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='5' data-emote=':rainbow:'><img alt='' src='/images/emotes/rainbow.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':rain:'><img alt='' src='/images/emotes/rain.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':phone:'><img alt='' src='/images/emotes/phone.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':party:'><img alt='' src='/images/emotes/party.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':ninja:'><img alt='' src='/images/emotes/ninja.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='5' data-emote=':night:'><img alt='' src='/images/emotes/night.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':music:'><img alt='' src='/images/emotes/music.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':mail:'><img alt='' src='/images/emotes/mail.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':love:'><img alt='' src='/images/emotes/love.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':loser:'><img alt='' src='/images/emotes/loser.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':lips:'><img alt='' src='/images/emotes/lips.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':angel:'><img alt='' src='/images/emotes/angel.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':idea:'><img alt='' src='/images/emotes/idea.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':hug:'><img alt='' src='/images/emotes/hug.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':grin:'><img alt='' src='/images/emotes/grin.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='5' data-emote=':gift:'><img alt='' src='/images/emotes/gift.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':flower:'><img alt='' src='/images/emotes/flower.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':drool:'><img alt='' src='/images/emotes/drool.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':drink:'><img alt='' src='/images/emotes/drink.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':dpig:'><img alt='' src='/images/emotes/dpig.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':dog:'><img alt='' src='/images/emotes/dog.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':dizzy:'><img alt='' src='/images/emotes/dizzy.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':devil:'><img alt='' src='/images/emotes/devil.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':dead:'><img alt='' src='/images/emotes/dead.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':crying:'><img alt='' src='/images/emotes/crying.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':confused:'><img alt='' src='/images/emotes/confused.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':cold:'><img alt='' src='/images/emotes/cold.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':clown:'><img alt='' src='/images/emotes/clown.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':clock:'><img alt='' src='/images/emotes/clock.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='2' data-emote=':cat:'><img alt='' src='/images/emotes/cat.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='3' data-emote=':cake:'><img alt='' src='/images/emotes/cake.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':bye:'><img alt='' src='/images/emotes/bye.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='5' data-emote=':broken:'><img alt='' src='/images/emotes/broken.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='4' data-emote=':bomb:'><img alt='' src='/images/emotes/bomb.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':blank:'><img alt='' src='/images/emotes/blank.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='5' data-emote=':bit:'><img alt='' src='/images/emotes/bits.png' /></a><a href='#' class='post_bbcode_emote chat_bbcode_emote' data-category='1' data-emote=':angry:'><img alt='' src='/images/emotes/angry.png' /></a></div></div> +</form> +</div> +</div> +</div> +<div class="map_container"> +<div class="map"> +<img class="map_bg" style="" alt="" src="/images/site/world_map_small.jpg" /> +<img class="map_prop map_ship backshadow" alt="" src="/images/site/ship.png"> +<div class="map_center"> +<a href="/community/1/Welcome" class="centered margin_small" style="">Welcome<br />Forum</a><a href="/community/2/General_Discussion" class="bigger centered" style="">General Discussion</a><a href="/stories" class="centered" style=""><img alt="" src="/images/e/idea.png" />Stories</a><a href="/community/5/Topic_Games" class="centered" style="">Topic and Word Games</a><a href="/community/9/The_Abyss" class="centered" style="">The Abyss</a><a href="/" id="whirlpool" class="centered noborder" style=""><img src="/images/site/map_whirlpool.png" alt="" style="" /></a> +</div> +<div class="map_left"> +<img class="map_prop" style="left: 2%; top: 10px; height: 70px;" alt="" src="/images/site/map_satglow.png" /><a class="highlight" href="/topic/1451486/recolorme_News" style=""><img alt="" src="/images/site/alert.png" style="vertical-align: middle; position: absolute; height: 25px; top: 2px; left: -13px;" />Site Updates<div class="helper">recolor.me News</div></a> +<a href="/database" class="margin_medium" style=""><img alt="" src="/images/site/binary_screen.png" />Database</a> +<a href="/community/6/Friendly_Chats" style="">Friendly Chats</a> +<a href="/share" style="position: absolute; left: 200px; width: 42px; height: 42px; margin: 0px; top: 385px;"><img alt="" src="/images/site/camera.png" style="height: 130%; width: 130%; margin-left: -15%; margin-top: -15%;" /></a> +<a href="/community/8/Entertainment" style="">Entertainment</a> +<a href="/community/22/Class_Help" style="">Class Help</a> +<a href="/polls" style=""><img alt="" src="/images/site/minimagnet.png" />Polls</a> +</div> +<div class="map_right"> +<a href="/community/11/Feedback" style="">Feedback</a> +<a href="/factions" class="margin_medium" style=""><img alt="" src="/images/site/icon_shield.png" />Factions</a> +<a href="/collages" style="position: absolute; right: 55px; width: 42px; height: 42px; margin: 0px; top: 342px;"><img alt="" class="imgflip" src="/images/emoticons/pencil.png" style="height: 110%; width: 110%; margin-left: -5%;" /></a> +<a href="/art" style="position: absolute; right: 200px; width: 42px; height: 42px; margin: 0px; top: 385px;"><img alt="" src="/images/site/swirl.png" style="height: 110%; width: 110%; margin-left: -5%;" /></a> +<a href="/community/10/Art" style="">Art<span class='nomobile'> and Creations</span></a> +<a href="/community/7/Roleplay" style=""><span class='nomobile'>Adventures and </span>Roleplay</a> +<a href="/community/21/Avatar_Discussion" style="">Av<span class='nomobile'>atar</span> Discussion</a> +<a href="/contests" style=""><img alt="" src="/images/site/icon_ribbon.png" />Contests</a> +</div> +</div> +</div> +</div> +<a id="button_rcmenu" href="#"><img alt="" src="/images/site/rcmenu_mentions.png" /></a> +<div id="footer"> +<div id="footer_merch" style="margin: 7px auto 5px;display: none;"> +<a href="/merch" style="display: inline-block; padding: 4px 7px; margin: 2px; border: 1px solid rgba(200,200,200,0.5); border-radius: 5px; color: #fff; background: rgba(0,0,0,0.35);"><img alt="" src="/images/site/merch3.png" style="display: inline-block; vertical-align: middle; height: 42px; width: 42px; margin-right:5px; border: 3px solid rgba(0,0,0,0.5); border-radius: 5px;" />Merchandise</a> +</div> +<form id="form_status" method="post" action="/"> +<input type="hidden" name="page" value="home" /> +<input type="hidden" name="action" value="status" /> +<input type="hidden" name="status" id="form_status_message" value="" /> +<input type="hidden" name="key" value="cbO_VxSG_0kklt4LHX28pQ93WJEiw5WV" /> +</form> +<form id="form_logout" method="post" action="/"> +<input type="hidden" name="page" value="logout" /> +<input type="hidden" name="action" value="logout" /> +<input type="hidden" name="key" value="cbO_VxSG_0kklt4LHX28pQ93WJEiw5WV" /> +</form> +<div id="footer_links"> +<a href="/causes">Causes</a> +<a href="/contact">Contact Us</a> +<a href="/credits">Credits</a> +<a href="/design">Design Items</a><a href="/fair_use">Fair Use</a> +<a href="/database/guides">Guides</a> +<a href="/merch">Merch</a> +<a href="/tos">Terms of Service</a> +<a href="/volunteer">Volunteer</a> +</div> +<div id="footer_copyright"> +<p>Website © Copyright 2020 recolor.me</p> +<div style="margin: 4px auto;"><a href="https://responsivevoice.org" style="color: #ddd;">ResponsiveVoice-NonCommercial</a> licensed under <a href="https://creativecommons.org/licenses/by-nc-nd/4.0/"><img title="ResponsiveVoice Text To Speech" src="/images/site/rvoice_9515.png" alt="95x15" width="95" height="15" /></a></div> +<p>All trademarks and copyrights are owned by their respective parties.</p> +</div> +</div> +<div id="rcmenu"> +<div id="chats"></div> +<a href="/chat/0" class="chatlink" id="button_chat_friends"><img alt="" src="/images/thumbnails/1/753.png" class="imgflip" /> Public Chat</a> +<div id="rcmenu_top"> +<a href="/play">Play</a><a href="/faction/2">Faction</a><a href="#" class="world_map highlight">World</a> </div> +<div id="rcmenu_bottom"> +<a id='mentions_link' href="/database/posts/@testingaccount1"><img alt=" " src="/images/site/rcmenu_mentions.png" class="rcmenu_img grayscale disabled" /></a><a href="/recent/topics"><img alt=" " src="/images/site/rcmenu_topics.png" class="rcmenu_img grayscale" /></a><a href="/watched"><span class="tinyhead"><img alt=" " src="/av/13/120100.png?t=1604288191" class="imgflip grayscale" /></span></a> +</div> +</div> +<div id="global_overlay"><div id="global_overlay_message_container"><div id="global_overlay_message">Loading...</div></div></div> +</body> +</html> |