Commit 71899fcf151d161c535aa3136997a45228b70359

Authored by Geoffrey PREUD'HOMME
1 parent ea5a9738

Récupération du script du mur de tweets

cfg.js 0 → 100644
... ... @@ -0,0 +1,8 @@
  1 +module.exports = {
  2 + consumer_key: '0jLhI21FclBdw7ArkzBIPj4W6',
  3 + consumer_secret: 'Q805J8iKRuhGKWnYDiB8gL6u9LnRFUrJFGztLMpFALrLMEX0eg',
  4 + token: '527372302-oQneyUhrb7aWRAJldyFN535bql3kw9fS7nai7LNy',
  5 + access_token_key: '527372302-oQneyUhrb7aWRAJldyFN535bql3kw9fS7nai7LNy',
  6 + token_secret: '7FQ3w5jzlePCEkrJ4qt3hPvcHXB8vstaBKCubzGdWLV0Z',
  7 + access_token_secret: '7FQ3w5jzlePCEkrJ4qt3hPvcHXB8vstaBKCubzGdWLV0Z'
  8 +}
... ...
index.html 0 → 100644
... ... @@ -0,0 +1,54 @@
  1 +<!DOCTYPE html>
  2 +<html>
  3 + <head>
  4 + <title>Mur de tweets !</title>
  5 + <meta http-equiv="content-type" content="text/html; charset=utf-8">
  6 + <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
  7 + <link type="text/css" href="style.css" rel="stylesheet" />
  8 + <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
  9 + <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.10.6/moment.min.js"></script>
  10 + <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/1.3.6/socket.io.min.js"></script>
  11 +<script>window.twttr = (function(d, s, id) {
  12 + var js, fjs = d.getElementsByTagName(s)[0],
  13 + t = window.twttr || {};
  14 + if (d.getElementById(id)) return t;
  15 + js = d.createElement(s);
  16 + js.id = id;
  17 + js.src = "https://platform.twitter.com/widgets.js";
  18 + fjs.parentNode.insertBefore(js, fjs);
  19 +
  20 + t._e = [];
  21 + t.ready = function(f) {
  22 + t._e.push(f);
  23 + };
  24 +
  25 + return t;
  26 +}(document, "script", "twitter-wjs"));</script>
  27 + <script type="text/javascript" src="script.js"></script>
  28 + </head>
  29 + <body>
  30 + <div class="row">
  31 + <div class="col-md-4" style="margin-top: 30px">
  32 + <p>Ouvre ton Twitter ou crée-toi un compte si tu n'en as pas, et fait un maximum de tweets avec le hashtag <strong>#LeClubInfoCestCool</strong>, celui qui en fait le plus gagne une binouze !</p>
  33 + <p style="display: none;">Ça commence <span id="start">DTC</span></p>
  34 + <p>Ça finit <span id="stop">DTC</span></p>
  35 + </div>
  36 + <div class="col-md-4">
  37 + <img src="logo.svg" class="center-block" id="logo"/>
  38 + <p id="sub" class="text-center">c'est cool</p>
  39 + <h1 class="text-center">Mur de tweets</h1>
  40 + </div>
  41 + <div class="col-md-4" style="margin-top: 30px">
  42 + <p>Venez déguster le bon gratin de pâtes (avec ou sans jambon) fait avec amour par Poly'games et Le Club Info pour 2,5€ seulement ! Hmmm, c'est bon !</p>
  43 + </div>
  44 + </div>
  45 + <div id="main" class="row">
  46 + <div id="tweets" class="col-md-8">
  47 + </div>
  48 + <div id="lead" class="col-md-4">
  49 + <ol>
  50 + </ol>
  51 + </div>
  52 + </div>
  53 + </body>
  54 +</html>
... ...
index.js 0 → 100644
... ... @@ -0,0 +1,59 @@
  1 +var express = require('express');
  2 +var app = express();
  3 +var http = require('http').Server(app);
  4 +var io = require('socket.io')(http)
  5 +
  6 +var cfg = require('./cfg.js')
  7 +var tw = require('node-tweet-stream')(cfg)
  8 +var tp = require('twitter')(cfg)
  9 +
  10 +var tweets = [];
  11 +var tag = '#LeClubInfoCestCool';
  12 +
  13 +io.on('connection', function(socket) {
  14 + socket.on('track', function(tag) {
  15 + tw.track(tag);
  16 + });
  17 + socket.on('untrack', function(tag) {
  18 + tw.untrack(tag);
  19 + });
  20 + console.log('Someone connected');
  21 + socket.emit('tag', tag);
  22 + for (tweet in tweets) {
  23 + socket.emit('tweet', tweets[tweet]);
  24 + }
  25 +});
  26 +
  27 +function twe(tweet) {
  28 + console.log('Tweet', tweet.text)
  29 + tweets.push(tweet)
  30 + io.emit('tweet', tweet)
  31 +}
  32 +
  33 +tp.get('search/tweets', {q: tag, count: 10}, function(err, tweets, rep) {
  34 + if (err) {
  35 + console.log(err);
  36 + } else {
  37 + for (tweet in tweets.statuses) {
  38 + twe(tweets.statuses[tweet])
  39 + }
  40 + }
  41 +});
  42 +
  43 +tw.track(tag);
  44 +tw.on('tweet', twe)
  45 +
  46 +setInterval(function msg() {
  47 + var whole = require('fs').readFileSync('sub.txt', 'utf8');
  48 + console.log(whole)
  49 + ex = whole.split('\n');
  50 + id = Math.floor((Math.random() * (ex.length - 1)));
  51 + io.emit('msg', ex[id])
  52 + console.log('MSG', id, ex[id]);
  53 +}, 30000);
  54 +
  55 +app.use(express.static(__dirname))
  56 +
  57 +http.listen(3000, function(){
  58 + console.log('listening on *:3000');
  59 +});
... ...
logo.svg 0 → 100644
... ... @@ -0,0 +1,144 @@
  1 +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2 +<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
  3 +
  4 +<svg
  5 + xmlns:dc="http://purl.org/dc/elements/1.1/"
  6 + xmlns:cc="http://creativecommons.org/ns#"
  7 + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  8 + xmlns:svg="http://www.w3.org/2000/svg"
  9 + xmlns="http://www.w3.org/2000/svg"
  10 + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
  11 + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
  12 + version="1.1"
  13 + x="0px"
  14 + y="0px"
  15 + width="1024"
  16 + height="594.44067"
  17 + viewBox="0 0 1024 594.44067"
  18 + enable-background="new 0 0 1024 1024"
  19 + xml:space="preserve"
  20 + id="svg2"
  21 + inkscape:version="0.91 r13725"
  22 + sodipodi:docname="logo.svg"><metadata
  23 + id="metadata58"><rdf:RDF><cc:Work
  24 + rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
  25 + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
  26 + id="defs56" /><sodipodi:namedview
  27 + pagecolor="#ffffff"
  28 + bordercolor="#666666"
  29 + borderopacity="1"
  30 + objecttolerance="10"
  31 + gridtolerance="10"
  32 + guidetolerance="10"
  33 + inkscape:pageopacity="0"
  34 + inkscape:pageshadow="2"
  35 + inkscape:window-width="1596"
  36 + inkscape:window-height="861"
  37 + id="namedview54"
  38 + showgrid="false"
  39 + inkscape:zoom="0.4609375"
  40 + inkscape:cx="172.26285"
  41 + inkscape:cy="403.71425"
  42 + inkscape:window-x="0"
  43 + inkscape:window-y="18"
  44 + inkscape:window-maximized="0"
  45 + inkscape:current-layer="svg2"
  46 + fit-margin-top="0"
  47 + fit-margin-left="0"
  48 + fit-margin-right="0"
  49 + fit-margin-bottom="0" /><g
  50 + id="Fond"
  51 + transform="scale(1,0.58050847)"><rect
  52 + width="1024"
  53 + height="1024"
  54 + id="rect5"
  55 + x="0"
  56 + y="0" /></g><g
  57 + id="Blanc"
  58 + transform="translate(0,-214.77966)"><g
  59 + id="Le_Club_Info"
  60 + transform="translate(-36.1065,0)"><path
  61 + d="m 228.985,750.627 0,-108.617 6.076,0 0,102.393 30.58,0 0,6.225 -36.656,0 z"
  62 + id="path9"
  63 + inkscape:connector-curvature="0"
  64 + style="fill:#fdfdfe" /><path
  65 + d="m 277.212,717.919 c 0,8.528 2.27,15.262 6.833,20.237 4.76,5.077 11.33,7.611 19.645,7.611 4.244,0 8.116,-0.708 11.56,-2.139 4.343,-1.81 8.248,-5.518 11.703,-11.1 l 5.648,2.588 c -3.97,7.513 -10.058,12.586 -18.262,15.214 -3.159,1.02 -6.702,1.514 -10.649,1.514 -9.433,0 -17.209,-3.094 -23.297,-9.269 -6.175,-6.191 -9.257,-13.962 -9.257,-23.291 0,-9.428 3.016,-17.183 9.125,-23.258 6.187,-6.196 13.996,-9.301 23.429,-9.301 9.333,0 17.021,2.896 23.131,8.676 6.175,5.78 9.268,13.304 9.268,22.517 l -58.877,0 z m 42.907,-19.923 c -4.771,-3.45 -10.255,-5.171 -16.43,-5.171 -13.009,0 -21.52,6.382 -25.557,19.167 l 50.958,0 c -1.019,-5.787 -4.014,-10.448 -8.971,-13.996 z"
  66 + id="path11"
  67 + inkscape:connector-curvature="0"
  68 + style="fill:#fdfdfe" /><path
  69 + d="m 473.605,744.254 c -5.681,4.156 -13.371,6.686 -23.131,7.591 -1.108,0.098 -2.326,0.196 -3.642,0.229 -1.317,0.066 -2.666,0.084 -4.103,0.084 -16.431,0 -29.8,-5.179 -40.154,-15.525 -10.441,-10.447 -15.673,-23.883 -15.673,-40.308 0,-16.431 5.166,-29.818 15.509,-40.165 10.452,-10.454 23.888,-15.674 40.318,-15.674 9.323,0 17.769,1.365 25.259,4.107 4.465,1.728 8.774,4.224 12.942,7.458 l 0,7.771 c -4.267,-3.565 -8.938,-6.405 -13.994,-8.544 -7.723,-3.121 -15.773,-4.695 -24.207,-4.695 -14.39,0 -26.257,4.661 -35.58,13.996 -9.334,9.328 -13.996,21.234 -13.996,35.745 0,14.499 4.597,26.377 13.832,35.612 9.322,9.329 21.255,13.996 35.745,13.996 9.027,0 16.879,-1.646 23.582,-4.881 3.849,-1.921 8.742,-5.013 14.619,-9.279 l 0,7.162 -7.326,5.32 z"
  70 + id="path13"
  71 + inkscape:connector-curvature="0"
  72 + style="fill:#fdfdfe" /><path
  73 + d="m 490.068,750.627 0,-112.571 6.076,0 0,112.571 -6.076,0 z"
  74 + id="path15"
  75 + inkscape:connector-curvature="0"
  76 + style="fill:#fdfdfe" /><path
  77 + d="m 550.152,745.159 c -4.169,4.469 -9.981,6.686 -17.506,6.686 -7.393,0 -13.141,-2.173 -17.188,-6.537 -4.068,-4.354 -6.075,-10.454 -6.075,-18.252 l 0,-39.243 6.241,0 0,39.243 c 0,5.995 1.315,10.596 3.947,13.848 2.721,3.251 7.096,4.864 13.074,4.864 11.659,0 17.506,-6.241 17.506,-18.712 l 0,-39.243 6.086,0 0,39.243 c 0.001,7.701 -2.038,13.749 -6.085,18.103 z"
  78 + id="path17"
  79 + inkscape:connector-curvature="0"
  80 + style="fill:#fdfdfe" /><path
  81 + d="m 628.804,742.269 c -6.307,6.29 -13.996,9.444 -23.12,9.444 -10.453,0 -19.03,-4.224 -25.731,-12.646 l 0,11.561 -6.241,0 0,-112.572 6.241,0 0,61.449 c 6.604,-8.408 15.18,-12.614 25.731,-12.614 9.124,0 16.781,3.087 22.956,9.279 6.317,6.295 9.433,13.996 9.433,23.115 -10e-4,9.131 -3.084,16.787 -9.269,22.984 z m -4.563,-41.546 c -5.188,-5.156 -11.363,-7.755 -18.558,-7.755 -7.294,0 -13.503,2.533 -18.569,7.622 -5.155,5.161 -7.755,11.402 -7.755,18.695 0,7.212 2.6,13.403 7.755,18.563 5.165,5.188 11.373,7.766 18.569,7.766 7.293,0 13.468,-2.544 18.558,-7.602 5.155,-5.177 7.754,-11.418 7.754,-18.728 0,-7.193 -2.599,-13.369 -7.754,-18.561 z"
  82 + id="path19"
  83 + inkscape:connector-curvature="0"
  84 + style="fill:#fdfdfe" /><path
  85 + d="m 694.513,750.627 0,-108.617 6.11,0 0,108.617 -6.11,0 z"
  86 + id="path21"
  87 + inkscape:connector-curvature="0"
  88 + style="fill:#fdfdfe" /><path
  89 + d="m 756.285,750.627 0,-37.565 c 0,-13.294 -5.989,-19.93 -17.944,-19.93 -5.879,0 -10.342,1.712 -13.403,5.161 -3.124,3.449 -4.693,8.176 -4.693,14.158 l 0,38.176 -6.251,0 0,-62.814 6.251,0 0,7.59 c 2.819,-5.571 8.862,-8.363 18.097,-8.363 7.82,0 13.798,2.231 17.944,6.686 4.169,4.47 6.241,10.709 6.241,18.727 l 0,38.176 -6.242,0 z"
  90 + id="path23"
  91 + inkscape:connector-curvature="0"
  92 + style="fill:#fdfdfe" /><path
  93 + d="m 798.141,644.28 -4.114,-0.444 c -5.683,0 -8.511,3.34 -8.511,10.041 l 0,33.936 14.884,0 0,6.225 -14.884,0 0,56.59 -6.242,0 0,-56.59 -8.533,0 0,-6.225 8.533,0 0,-35.762 c 0,-9.646 4.871,-14.456 14.589,-14.456 2.236,0 3.652,0.116 4.278,0.313 1.205,0 2.587,0.362 4.101,1.054 l 0,6.24 -4.101,-0.922 z"
  94 + id="path25"
  95 + inkscape:connector-curvature="0"
  96 + style="fill:#fdfdfe" /><path
  97 + d="m 857.927,742.269 c -6.273,6.29 -13.996,9.444 -23.122,9.444 -9.135,0 -16.791,-3.104 -22.966,-9.303 -6.308,-6.273 -9.434,-13.994 -9.434,-23.125 0,-9.021 3.126,-16.678 9.434,-22.961 6.175,-6.395 13.831,-9.598 22.966,-9.598 9.028,0 16.683,3.158 22.957,9.443 6.308,6.295 9.466,13.996 9.466,23.115 0,9.132 -3.126,16.788 -9.301,22.985 z m -4.399,-41.679 c -5.09,-5.188 -11.308,-7.765 -18.724,-7.765 -7.096,0 -13.248,2.644 -18.403,7.897 -5.286,5.291 -7.919,11.466 -7.919,18.563 0,7.212 2.6,13.403 7.755,18.563 5.188,5.188 11.373,7.766 18.567,7.766 7.283,0 13.502,-2.544 18.559,-7.602 5.188,-5.177 7.755,-11.418 7.755,-18.728 0,-7.391 -2.534,-13.633 -7.59,-18.694 z"
  98 + id="path27"
  99 + inkscape:connector-curvature="0"
  100 + style="fill:#fdfdfe" /></g><g
  101 + id="Human_Evolution_Vecto_Nath"><path
  102 + d="m 413.79,314.12 c 0.713,0 1.419,0 2.125,0 17.898,13.438 36.454,26.216 54.871,39.136 -0.041,-9.023 -1.086,-18.006 5.53,-23.396 3.26,-2.659 12.735,-7.624 19.145,-6.806 4.34,0.551 7.025,3.99 11.482,5.104 -1.834,0.706 -2.132,2.706 -1.71,6.806 0.118,0.95 0.845,2.002 0.865,2.976 0.042,1.881 -0.699,2.694 -0.429,3.83 0.602,2.561 2.014,3.742 3.827,4.68 0.249,1.815 -1.793,1.322 -2.554,2.125 0.657,2.064 -0.845,2.773 -0.845,4.255 -0.014,3.649 4.235,5.909 1.696,9.781 -5.108,1.554 -11.746,1.58 -11.912,8.086 3.475,3.757 8.202,5.996 12.341,8.931 4.152,2.948 7.945,6.4 12.333,8.935 2.319,-0.597 7.067,-0.758 9.358,0 2.429,0.979 2.54,4.261 4.686,5.53 -0.312,2.146 1.294,2.385 0.837,4.681 11.843,9.292 24.336,17.938 37.008,26.37 0,0.709 0,1.42 0,2.125 -1.563,1.482 -3.883,-0.466 -5.101,-1.271 -1.675,-1.125 -3.253,-2.408 -4.686,-3.405 -9.572,-6.732 -19.165,-14.17 -28.495,-20.414 -3.356,1.016 -8.568,3.307 -12.333,1.273 -5.974,4.371 -11.033,9.673 -18.286,12.761 0.519,4.183 -2.457,7.868 -2.983,10.637 -0.644,3.41 0.166,7.784 0,11.479 -0.305,6.904 -1.91,12.041 0,17.452 1.8,5.078 5.066,10.314 7.233,16.148 2.145,5.826 4.187,11.922 4.686,18.723 0.283,3.917 -0.34,7.546 0,11.06 0.664,7.081 7.412,11.724 3.398,18.71 1.142,13.094 3.633,31.471 1.28,45.103 -0.271,1.567 -1.198,3.159 -1.28,4.675 -0.271,4.759 2,11.96 4.249,14.473 2.45,2.713 9.413,5.367 12.763,6.797 4.264,1.827 9.787,3.111 11.482,8.087 -7.593,3.443 -16.798,0.063 -25.09,-0.861 -5.529,-0.609 -10.568,0.716 -15.738,0 -0.81,-4.447 2.076,-8.084 2.554,-12.323 0.367,-3.381 0.45,-7.983 -0.429,-11.922 -0.437,-1.917 -1.834,-3.17 -2.562,-5.102 -1.253,-3.377 -2.063,-7.751 -2.976,-11.911 -1.834,-8.435 -4.79,-21.279 -0.423,-28.929 -0.857,-8.645 -2.388,-16.605 -8.499,-19.985 -5.689,11.009 -11.891,28.879 -15.746,42.957 -2.229,8.186 -7.031,23.849 -0.851,31.054 3.101,3.62 11.725,5.163 16.161,7.236 1.37,0.633 4.229,1.346 3.834,3.401 -1.876,2.499 -5.979,1.699 -9.357,1.699 -3.786,0 -7.717,0.312 -11.489,0 -1.612,-0.124 -3.184,-0.785 -4.672,-0.848 -4.457,-0.166 -9.593,1.883 -12.348,-1.277 -0.104,-7.679 3.018,-13.61 2.983,-20.421 -0.021,-4.831 -1.468,-9.586 -1.696,-14.036 -0.408,-7.98 -0.159,-15.476 2.125,-21.269 0.796,-2.023 2.547,-3.452 3.398,-5.111 2.977,-5.764 5.357,-12.895 5.537,-19.985 0.063,-2.696 -0.747,-5.307 -0.852,-8.086 -0.312,-7.535 0.312,-18.161 1.689,-24.671 -2.562,-0.693 -2.589,-3.919 -4.672,-5.099 2.11,-4.096 -0.395,-11.455 2.547,-15.322 -2.562,-5.649 -8.499,-12.491 -10.624,-21.26 -0.955,-3.902 -0.713,-9.77 -1.71,-14.892 -0.408,-2.13 -1.377,-3.917 -1.273,-5.959 0.09,-1.81 1.232,-2.712 1.71,-4.676 0.774,-3.28 0.187,-7.997 1.273,-11.904 0.567,-2.08 2.207,-3.737 2.547,-5.531 0.491,-2.596 -0.561,-5.422 0,-7.666 0.325,-1.301 2.208,-2.368 2.976,-4.249 0.831,-2.017 0.596,-4.006 1.288,-5.53 1.646,-3.681 3.938,-5.39 8.076,-5.53 1.295,-3.515 2.375,-7.257 5.108,-9.361 -0.318,-0.368 -2.125,-0.341 -3.412,-0.844 -0.498,-1.363 -0.567,-3.385 -2.547,-2.125 0.132,-0.99 -0.076,-1.639 -0.43,-2.135 -14.485,-10.211 -29.353,-20.51 -43.389,-30.627 -4.748,-3.426 -9.835,-6.504 -14.037,-10.636 -0.022,-0.743 0.103,-1.317 0.435,-1.701 z m 91.88,84.653 c 7.578,0.922 11.808,-1.52 14.036,-5.956 -6.499,-6.971 -15.746,-11.2 -22.972,-17.446 2.644,8.138 8.271,13.28 8.936,23.402 z"
  103 + id="path30"
  104 + inkscape:connector-curvature="0"
  105 + style="clip-rule:evenodd;fill:#ffffff;fill-rule:evenodd" /><path
  106 + d="m 329.988,385.587 c -0.083,2.327 -3.225,1.603 -3.834,3.405 -0.229,3.551 4.457,4.246 3.412,7.23 1.571,0.688 3.024,1.504 3.821,2.975 0.221,2.779 -1.087,4.013 -1.274,6.376 -2.914,0.242 -3.779,3.689 -6.381,4.261 -4.25,0.933 -5.655,-2.582 -8.936,-2.981 -5.537,-0.668 -8.181,6.033 -14.028,3.405 0.156,4.41 -2.426,6.08 -4.686,8.08 1.007,9.106 -1.232,18.598 -7.658,21.696 -1.277,6.52 -3.547,12.056 -7.652,15.746 3.606,10.53 7.278,21.551 6.375,34.021 -0.343,4.735 -2.104,8.821 -0.426,13.608 2.177,6.169 6.8,10.875 5.952,18.723 -0.249,2.332 -1.938,3.576 -1.267,6.81 -0.754,1.647 -2.384,2.425 -2.55,4.665 -0.9,0.757 -1.263,0.975 -2.551,0.435 -0.433,6.252 -0.329,12.896 -1.284,19.137 -0.415,2.797 -1.813,5.638 -2.125,8.084 -0.737,5.869 -0.737,15.726 1.273,19.57 1.807,3.471 11.175,9.745 16.161,10.635 5.715,1.018 11.654,1.723 14.9,5.952 -1.433,1.73 -5.06,1.574 -8.091,1.699 -9.608,0.446 -20.925,0.166 -30.203,0 -3.111,-0.042 -5.786,1.09 -8.077,-0.849 -1.408,-4.498 -1.118,-10.617 2.54,-12.337 -0.343,-7.402 -0.104,-13.319 -2.54,-19.134 -1.336,-3.173 -4.052,-5.869 -5.108,-8.935 -1.381,-4.025 -1.796,-9.767 -0.416,-14.038 1.066,-3.338 6.51,-8.261 4.676,-14.471 -0.322,-1.037 -1.713,-2.923 -3.412,-2.975 -3.212,-0.104 -6.281,7.93 -8.074,11.496 -5.091,10.117 -7.361,15.869 -13.611,25.084 -1.969,2.904 -6.015,9.704 -5.537,13.621 0.395,3.153 7.818,8.926 10.638,10.199 2.931,1.339 6.696,1.765 9.783,2.986 2.613,1.038 6.115,1.865 7.226,5.101 -4.779,1.609 -8.509,2.167 -13.185,1.699 -6.208,-0.609 -11.133,-4.713 -17.012,-3.824 -1.637,0.249 -3.004,1.782 -4.675,2.125 -4.083,0.827 -7.762,0.249 -11.06,-1.699 -0.308,-3.599 -0.208,-7.205 1.277,-10.209 0.779,-1.588 2.582,-2.408 3.398,-3.827 1.464,-2.551 3.205,-9.268 3.402,-12.77 0.322,-5.371 -0.852,-8.645 -0.426,-12.749 0.623,-5.869 1.99,-10.389 4.25,-14.038 2.468,-3.969 7.797,-6.053 8.087,-13.195 -0.581,-1.854 -2.201,-0.031 -3.402,0 0.27,-2.748 -0.093,-4.135 -2.125,-2.551 2.25,-9.546 -5.485,-12.231 -5.959,-20.421 -0.436,-0.236 -2.467,0.374 -1.702,-2.125 -0.298,-1.337 -2.426,1.172 -2.547,0 0.204,-2.486 1.003,-4.374 1.699,-6.385 -5.973,-7.307 -7.776,-17.621 -3.828,-27.635 1.132,-2.883 2.201,-6.096 3.828,-8.085 1.346,-1.66 3.679,-2.468 5.108,-4.261 1.941,-2.446 3.288,-6.542 5.101,-10.205 1.661,-3.348 3.907,-6.92 4.675,-10.211 0.353,-1.456 -0.063,-3.161 0.436,-4.686 0.602,-1.881 2.488,-4.338 3.813,-6.8 8.603,-15.798 20.836,-32.632 41.268,-35.731 1.035,-2.42 1.668,-5.535 4.26,-7.23 1.018,-0.668 2.52,-0.596 3.813,-1.28 4.229,-2.192 6.14,-5.328 10.65,-5.954 8.748,-1.213 15.773,2.953 18.715,8.936 2.059,0.924 4.454,1.504 5.105,3.831 z"
  107 + id="path32"
  108 + inkscape:connector-curvature="0"
  109 + style="clip-rule:evenodd;fill:#ffffff;fill-rule:evenodd" /><path
  110 + d="m 140.697,601.254 c -0.433,0 -0.848,0 -1.284,0 -5.132,-0.982 -13.725,-2.26 -18.286,0 -2.695,0 -5.388,0 -8.084,0 -0.561,-0.713 -1.886,-0.664 -2.55,-1.287 -0.924,-3.004 0.312,-6.88 1.699,-8.922 -0.499,-8.181 -1.19,-16.368 0.851,-22.549 0.786,-2.36 3.17,-7.098 1.699,-10.631 -2.966,-2.562 -8.146,-2.903 -10.634,-5.963 -2.239,5.948 -2.696,12.53 -8.077,15.32 -8.468,4.408 -21.29,9.817 -13.611,24.245 3.402,1.557 7.029,2.883 9.351,5.537 -0.083,1.886 -1.906,2.052 -2.55,3.398 -5.066,-1.876 -10.676,-3.212 -17.435,-3.398 -4.021,-4.489 -3.699,-13.32 -9.787,-15.746 0,-1.143 0,-2.271 0,-3.412 0.935,-0.619 1.827,-1.284 3.402,-1.264 4.198,-7.091 9.704,-12.811 16.171,-17.022 2.156,-1.405 5.274,-2.609 5.949,-5.533 0.499,-1.907 -2.374,-0.454 -1.699,-2.549 -1.616,-0.354 -0.498,2.054 -2.125,1.7 0.291,-1.7 -0.405,-2.427 -0.426,-3.827 -4.966,-5.71 -12.417,-12.863 -9.787,-23.396 -0.083,-0.621 -1.024,-0.393 -1.699,-0.424 0.031,-1.067 4.188,-1.711 1.699,-2.55 0.249,-1.026 1.609,-0.943 2.55,-1.275 11.746,-14.938 24.01,-29.739 40.842,-39.142 5.804,-3.234 12.583,-6.106 20.421,-6.374 1.242,-3.432 2.426,-6.936 6.374,-7.662 2.52,-2.715 5.938,-6.541 11.061,-7.234 6.987,-0.923 13.538,2.031 16.161,6.811 2.426,-0.011 3.72,1.108 4.675,2.55 -0.083,1.896 -2.063,1.907 -2.966,2.975 0.955,4.582 4.852,6.219 7.651,8.936 0.062,2.332 -0.499,4.042 -0.851,5.961 -3.06,1.119 -3.617,4.405 -6.8,4.674 -2.82,0.249 -4.541,-2.477 -8.084,-2.125 -1.277,3.204 0.516,7.517 0.848,11.911 0.54,7.255 0.613,14.159 -0.425,20.845 3.578,3.515 7.433,6.738 10.627,10.637 7.751,2.777 19.943,8.075 25.529,14.884 0.612,0.758 1.215,2.21 2.125,3.412 2.696,3.555 5.775,5.679 2.976,10.198 0.696,2.862 2.924,4.178 2.976,7.662 -2.509,0.246 -3.786,-1.443 -5.526,1.273 -1.149,-0.412 -2.052,-1.069 -2.125,-2.551 -3.049,2.728 -4.322,-1.366 -7.658,-0.851 0.031,-1.986 1.138,-4.091 0.422,-7.658 -7.388,-3.669 -10.604,-11.507 -20.421,-12.76 2.986,6.198 7.008,11.919 9.361,18.722 0.945,2.714 0.779,5.42 1.713,8.084 1.139,3.295 3.398,4.52 3.814,7.233 0.301,1.879 -0.727,3.858 -0.416,6.367 0.374,3.06 3.938,5.897 2.125,9.371 -4.987,-0.332 -9.506,1.378 -13.185,-1.287 -1.522,0.208 -2.457,0.695 -3.824,0 -0.893,-1.647 -2.301,-5.184 0,-6.374 -2.073,-3.329 -1.64,-9.6 1.699,-11.061 -5.745,-9.766 -13.413,-20.358 -21.705,-28.07 -2.395,-2.25 -7.817,-5.287 -9.351,-7.66 -3.959,-6.148 5.638,-13.975 -0.851,-19.996 -1.72,-0.29 -0.723,2.114 -1.699,2.549 -1.886,0.332 -1.46,-1.657 -2.55,-2.125 -1.533,0.902 -0.931,1.919 -0.437,3.826 -2.671,-0.717 -3.273,-3.524 -3.824,-6.374 -8.219,1.128 -14.099,4.61 -17.009,11.06 1.99,4.954 5.066,8.821 7.648,13.185 0.343,1.078 1.761,1.078 2.55,1.699 0.27,2.852 2.26,5.319 2.561,8.514 0.446,4.686 -1.564,8.485 -2.125,13.171 -0.841,6.887 -1.803,14.794 -0.436,20.857 5.288,4.644 16.722,3.132 22.121,7.651 0.519,2.073 -1.959,1.163 -1.264,3.398 -3.13,-0.09 -5.493,-0.643 -8.085,0.436 z"
  111 + id="path34"
  112 + inkscape:connector-curvature="0"
  113 + style="clip-rule:evenodd;fill:#ffffff;fill-rule:evenodd" /><g
  114 + id="g36"><path
  115 + d="m 420.171,384.731 c 0.595,1.681 2.104,2.437 2.125,4.681 -0.609,1.239 -2.07,1.616 -3.412,2.13 -0.575,1.4 -0.173,3.784 -1.696,4.25 -3.232,2.545 -6.541,-0.496 -9.787,-0.424 -5.087,0.119 -11.663,5.317 -11.898,11.061 -0.104,2.104 1.481,3.854 2.125,6.379 1.883,7.583 1.239,15.471 -4.264,18.291 -1.121,3.691 -2.007,7.624 -1.702,12.76 4.409,3.566 10.617,6.563 15.316,10.636 3.052,2.654 5.468,5.951 11.061,6.386 5.211,0.394 13.399,-2.094 18.292,1.274 1.834,3.463 1.952,5.349 0.416,8.501 -0.547,1.161 -1.267,2.674 -2.125,4.685 -0.374,0.903 0,2.322 -1.273,2.55 -3.703,-0.093 -6.873,0.312 -10.202,-1.698 -2.014,-1.214 -2.499,-4.086 -4.263,-5.112 -2.083,-1.202 -5.502,-0.787 -8.506,-1.265 -7.683,-1.233 -15.144,-3.399 -21.262,-6.811 -1.391,2.437 -0.27,7.393 -1.703,9.787 7.911,9.474 15.282,17.403 20.84,28.92 1.855,3.847 2.478,8.138 4.25,12.336 1.875,4.385 4.734,6.811 4.256,14.46 -0.208,3.441 -1.772,5.452 -2.547,9.371 -1.578,7.92 -0.208,14.065 -2.547,19.987 -0.727,1.813 -2.803,3.522 -3.412,5.522 -1.688,5.564 -1.121,13.112 0.437,17.013 1.716,4.374 7.226,9.149 11.482,11.067 4.762,2.146 11.808,2.117 14.452,7.651 -7.081,1.117 -15.884,2.063 -24.245,1.284 -1.17,-0.111 -2.554,-0.797 -3.813,-0.849 -6.056,-0.27 -12.763,1.45 -16.597,-2.55 -0.471,-3.627 2.692,-4.914 3.398,-7.236 0.817,-2.696 1.024,-7.361 1.274,-11.061 1.163,-17.103 -9.759,-31.978 1.703,-45.101 -0.422,-7.215 -3.08,-12.212 -8.929,-14.025 -4.686,3.39 0.139,16.294 -8.506,15.735 -5.627,6.676 -17.684,17.695 -25.519,25.521 -1.35,1.339 -2.644,2.996 -3.842,4.686 -2.561,3.616 -5.447,8.894 -3.82,15.31 0.734,2.903 1.522,8.551 3.405,10.635 1.89,2.083 5.703,1.101 6.381,5.101 -2.665,1.599 -9.468,0.665 -12.34,-1.263 -1.654,-1.132 -4.61,-5.99 -6.382,-7.673 -4.042,-3.823 -12.949,-5.35 -12.34,-10.634 0.312,-2.676 2.658,-2.021 6.381,-4.25 2.796,-1.658 10.32,-9.745 11.489,-13.188 0.845,-2.475 0.332,-5.212 0.852,-7.232 1.751,-6.779 6.43,-13.372 11.489,-17.437 3.737,-3.016 9.731,-5.234 10.208,-9.785 0.291,-2.756 -1.931,-5.908 -3.412,-10.21 -1.377,-4.001 -2.941,-8.447 -3.391,-12.76 -0.152,-1.39 0.436,-4.303 0,-5.95 -0.409,-1.493 -2.028,-2.862 -2.983,-4.25 -2.436,-3.607 -5.288,-8.936 -5.952,-14.896 -0.346,-3.099 0.602,-6.374 0,-9.774 -0.381,-2.124 -1.979,-3.971 -2.983,-5.971 -2.796,-5.598 -6.195,-12.771 -7.226,-19.562 -0.415,-2.679 -1.059,-7.821 -0.422,-11.06 0.851,-4.344 5.62,-8.577 8.506,-11.905 3.329,-3.861 5.869,-7.184 11.061,-9.366 5.737,-10.283 12.008,-20.031 22.127,-25.94 0.083,-8.904 3.571,-19.585 11.046,-22.546 5.08,-2.016 17.144,-1.146 21.698,1.27 4.353,2.313 3.502,7.796 6.81,11.912 1.045,1.104 -0.927,1.585 -0.865,2.979 1.736,1.524 5.889,6.077 1.286,7.653 z m -65.509,70.613 c 2.962,-1.418 2.505,-8.013 2.125,-12.759 -0.325,-4.002 -1.356,-7.521 -2.554,-9.361 -0.422,0 -0.844,0 -1.281,0 1.357,6.592 1.883,14.004 1.71,22.12 z"
  116 + id="path38"
  117 + inkscape:connector-curvature="0"
  118 + style="clip-rule:evenodd;fill:#ffffff;fill-rule:evenodd" /><polygon
  119 + points="422.898,467.492 413.354,493.864 432.685,474.729 "
  120 + id="polygon40"
  121 + style="clip-rule:evenodd;fill:#ffffff;fill-rule:evenodd" /></g><path
  122 + d="M 592.58,547.258 673.268,379.69 c 0,0 6.208,-7.764 2.713,3.1 l -79.089,166.024 c 0,0 -3.835,6.975 0,12.803 l 11.6,11.247 c 0,0 13.186,6.208 9.31,11.247 l -8.929,5.824 -46.933,-30.65 c 0,0 8.922,-9.31 16.673,-5.039 7.758,4.259 12.762,-4.469 13.967,-6.988 z"
  123 + id="path42"
  124 + inkscape:connector-curvature="0"
  125 + style="fill:#ffffff" /><path
  126 + d="m 753.298,373.479 c 0,0 -7.752,-8.79 -17.58,-9.562 -9.835,-0.784 -11.642,7.234 -13.185,13.086 -1.564,5.848 -4.914,8.889 -6.209,9.926 -1.301,1.036 0,2.581 0,2.581 l -3.883,-0.514 c -34.135,4.39 -36.197,39.308 -36.98,44.739 -0.768,5.433 -4.914,18.623 -4.914,18.623 -7.232,8.79 -5.945,16.294 -5.945,16.294 -1.806,12.917 10.604,21.458 10.604,21.458 6.209,20.172 12.68,27.668 12.68,27.668 l 0,8.28 c -5.177,3.1 -7.246,5.432 -7.246,5.432 -11.123,4.127 -12.673,19.645 -13.455,21.716 -0.769,2.063 -9.302,16.036 -13.704,18.099 -4.396,2.076 -3.869,5.434 -3.869,5.434 -2.332,5.433 10.077,7.766 10.077,7.766 2.07,0.519 9.828,8.53 9.828,8.53 3.613,3.097 11.898,1.034 11.898,0.516 0,-0.516 -8.805,-7.763 -8.805,-7.763 -6.713,-6.717 -3.861,-11.631 -3.861,-15.258 0,-3.619 15.504,-19.654 15.504,-19.654 0,0 17.074,-17.063 19.926,-20.161 2.831,-3.109 2.063,-5.432 2.063,-5.432 l 0.256,-8.013 c 8.527,5.161 8.015,10.987 8.015,10.987 -3.356,2.197 -5.952,8.396 -5.952,8.396 -4.9,12.937 1.309,25.343 -0.256,35.949 -1.543,10.604 -5.434,14.739 -5.434,14.739 -5.163,8.024 1.813,11.641 1.813,11.641 5.696,3.102 31.298,1.163 31.298,1.163 l 3.102,-1.419 c 6.464,-2.852 -8.278,-3.879 -8.278,-3.879 -7.752,-3.887 -11.122,-8.025 -11.122,-8.025 -4.658,-1.284 -4.382,-10.59 -2.319,-13.704 2.063,-3.097 9.814,-28.441 10.617,-33.355 0.796,-4.914 3.593,-11.899 3.593,-11.899 0.595,-2.343 0.803,-4.033 0.823,-5.246 0.443,-3.771 -3.121,-8.686 -3.121,-8.696 -5.891,-12.74 -24.072,-34.674 -24.072,-34.674 0,0 -5.689,-10.086 -6.458,-13.693 -0.775,-3.598 1.544,-4.923 1.544,-4.923 2.845,5.172 16.556,18.357 16.556,19.394 0,1.037 0.775,7.246 0.775,7.246 2.581,0.508 4.395,6.198 4.395,6.198 4.645,3.358 9.821,-1.554 10.077,-6.468 0.263,-4.914 -5.433,-11.889 -8.015,-12.926 -2.588,-1.038 -4.651,-5.173 -5.945,-8.521 -1.287,-3.338 -2.388,-6.997 -2.388,-6.997 l 16.61,6.997 0.125,-0.208 c 1.446,0.675 2.395,1.172 2.478,1.39 0.409,0.953 3.551,6.354 3.551,6.354 2.575,-0.527 6.472,4.003 6.472,4.003 5.6,1.265 8.437,-5.266 6.755,-9.889 -1.688,-4.624 -9.648,-8.832 -12.438,-8.77 -0.879,0.019 -1.854,-0.291 -2.838,-0.789 -2.437,-3.026 -20.715,-13.829 -20.715,-13.829 l 0,-2.063 0,-5.948 c 8.997,-5.691 9.891,-30.253 9.891,-30.253 0,0 2.852,-1.556 4.657,-2.847 1.8,-1.296 4.651,0.26 6.278,2.063 1.605,1.815 5.869,2.587 6.644,1.296 0.783,-1.296 0.783,-4.914 0.783,-6.208 0,-1.291 1.023,-1.81 2.844,-1.81 1.807,0 2.582,-1.549 2.582,-1.549 -1.295,-1.81 -0.52,-4.914 -0.52,-5.95 0,-1.037 1.551,-3.1 2.326,-4.136 0.789,-1.036 1.564,-5.434 1.564,-5.434 0.505,1.296 4.125,0.779 4.125,0.779 2.074,-3.617 -3.622,-8.278 -3.622,-8.278 z"
  127 + id="path44"
  128 + inkscape:connector-curvature="0"
  129 + style="fill:#ffffff" /><path
  130 + d="m 903.039,443.3 -5.434,47.33 10.859,0 1.551,0 -1.031,2.073 -1.813,0 0.263,5.681 -2.596,0 -1.038,12.419 -29.982,1.036 c 0,0 -5.696,1.545 -5.185,7.494 l 1.551,0 0,8.531 6.99,0 0.52,7.505 9.814,0 1.807,59.998 0,1.284 50.697,0 0,-2.072 3.107,0 0,-56.111 0,-3.099 7.752,0 1.807,-7.505 7.496,0 0,-5.163 1.827,-2.715 0,-7.049 -8.804,0 -2.838,-11.195 c 0,0 -20.432,0.271 -23.532,-9.568 l -1.038,-6.198 17.074,-5.95 0.52,-20.172 c 0,0 -20.951,-11.889 -22.764,-13.962 l -17.58,-2.592 z"
  131 + id="path46"
  132 + inkscape:connector-curvature="0"
  133 + style="fill:#ffffff" /><path
  134 + d="m 895.148,498.197 c 0.567,-1.948 -5.434,-4.852 -5.434,-4.852 -2.318,-2.716 -11.046,-5.619 -11.046,-5.619 0,0 -0.789,-0.787 0.948,-2.341 l 0.596,-0.706 4.007,0.995 c 0.097,0.052 0.437,0.229 0.831,0.457 0.471,0.259 0.996,0.579 1.211,0.745 0.159,0.146 0.449,0.354 0.823,0.561 0.374,0.188 0.796,0.372 1.253,0.394 0.354,0.021 0.755,-0.073 1.059,-0.372 0.291,-0.302 0.457,-0.748 0.499,-1.338 l 0,-0.011 0,-0.021 c 0.021,-0.457 -0.208,-0.85 -0.54,-1.202 -0.561,-0.603 -1.481,-1.109 -2.582,-1.598 -2.395,-1.077 -5.585,-1.948 -7.094,-2.321 l 0,-0.063 c -4.125,-0.995 -8.188,-1.325 -8.188,-1.325 -0.789,-1.369 -6.402,1.532 -8.922,2.715 -2.533,1.182 -4.852,6.199 -4.852,6.199 0,0 -6.209,7.172 -8.534,6.985 -2.333,-0.195 -7.185,0 -7.185,0 2.139,-5.037 -0.768,-14.159 -0.768,-14.159 2.72,-6.208 0.387,-16.876 0.387,-16.876 l 10.563,0.582 c 1.646,3.688 7.668,2.518 7.668,2.518 l 1.544,-2.715 1.758,-3.1 0.367,-2.116 c 0,0 1.571,-0.216 2.54,-0.021 0.969,0.187 0.769,-1.938 0.374,-2.528 -0.374,-0.57 -0.769,-5.618 -0.769,-5.618 l 1.551,-1.358 0.969,-7.95 c 2.52,0.389 3.309,-1.741 3.309,-1.741 -0.977,-4.852 -12.037,-10.667 -21.158,-12.808 -9.102,-2.13 -11.248,7.759 -13.566,13.771 -2.332,6.012 -3.876,6.012 -3.876,6.012 -16.299,-3.297 -26.57,5.235 -26.57,5.235 -15.331,13.899 -17.981,23.645 -18.244,29.937 -0.748,5.856 -1.966,16.296 -2.499,26.411 -0.063,0.498 -0.11,0.976 -0.152,1.431 l -0.014,0 c -3.986,8.48 -2.962,15.104 -2.464,17.188 -1.73,-0.094 -4.208,0.166 -6.104,1.845 l -1.951,2.321 c 0,0 -1.351,-2.715 -0.395,-13.371 0,0 3.688,4.665 8.928,-5.432 l 0,-23.467 c 0,0 -3.869,-13.414 -8.533,-4.271 l 0,7.369 -1.544,0.642 c 0,0 -3.627,-1.036 -3.627,3.494 0,4.529 0.52,31.554 0.52,31.554 0,0 2.069,5.556 5.564,8.656 0,0 1.412,1.938 4.52,2.591 l 12.541,0 0,1.42 -1.55,0 -0.264,1.938 6.728,0 0,-1.813 -2.457,0 0,-1.545 3.108,-0.258 1.162,0.258 0,2.249 -2.132,1.441 -5.495,3.598 c 0,0 -5.434,3.771 -5.828,5.712 -0.381,1.938 0,3.491 2.914,1.159 2.914,-2.331 4.264,-5.048 4.264,-5.048 l 5.031,-3.732 1.246,-0.496 0,10.012 c -0.125,1.222 -0.395,2.405 -0.457,3.609 -0.063,1.19 0.166,2.423 0,3.596 l -0.234,0.454 0,0.902 -0.513,0.447 0,0.899 c -0.049,0.727 0.208,1.536 0.249,2.263 0.104,1.689 0.035,3.564 0,4.956 0,0.392 0.222,1.294 -0.249,1.571 -4.125,-0.641 -10.084,-0.703 -13.905,0.229 l -0.249,0.457 -0.242,0.228 c -0.193,0.312 -0.152,0.728 -0.505,0.894 -0.208,0.899 0.381,1.668 0,2.031 -0.886,-0.063 -1.19,0.415 -1.979,0.457 0.042,0.944 -1.184,0.993 -1.744,1.117 -0.603,0.146 -1.232,0.332 -1.73,0.457 l -0.256,0.229 c -0.679,0.187 -1.073,0.124 -1.495,0.229 -0.672,0.145 -1.558,0.519 -1.993,0.671 -0.333,0.125 -0.547,0.083 -0.983,0.229 -0.442,0.139 -0.754,0.367 -0.996,0.446 -0.374,0.135 -0.609,0.135 -0.997,0.229 -0.429,0.104 -0.886,0.332 -1.231,0.446 -1.273,0.446 -2.541,0.733 -2.983,1.356 l -0.249,0.675 c -0.34,0.728 -0.256,1.672 -0.249,2.706 -0.983,-0.062 -1.522,0.271 -1.993,0.676 -0.526,0.234 -0.97,0.754 -0.99,1.128 l -0.249,0.229 c -0.166,0.685 -0.2,2.218 0.498,2.031 -0.014,1.442 0.928,2.011 1.737,2.695 1.544,0.208 2.271,-0.332 3.481,-0.446 0.312,-0.321 0,-0.384 0,-0.675 0,-0.457 0.845,-0.951 0.491,-1.803 0.852,0.011 1.08,-0.529 1.502,-0.91 0.098,-0.955 -0.249,-2.312 0.235,-2.925 1.509,-0.083 3.322,-0.644 4.479,-0.902 l 0.249,-0.229 c 0.616,-0.132 1.35,-0.069 1.993,-0.215 l 0.235,-0.229 c 1.072,-0.249 1.841,-0.415 2.74,-0.457 l 0.236,-0.229 c 1.142,-0.207 2.519,-0.27 3.744,-0.446 0.312,-0.052 0.353,-0.176 0.733,-0.218 0.935,-0.125 1.19,-0.146 1.744,-0.229 l 0.733,0 0.264,-0.229 c 1.294,-0.152 2.65,-0.124 3.966,-0.229 1.543,-0.124 3.71,-0.332 4.72,-0.456 0.775,-0.083 0.99,0.166 1.239,0.228 0.574,0.139 1.468,-0.27 1.495,0.229 0.207,3.485 -0.623,7.012 -0.249,9.922 -2.25,-0.166 -4.001,1.865 -3.724,3.609 0.055,0.381 -0.111,0.993 0.747,0.9 0.222,1.204 0.928,2.426 2.243,2.706 0.608,0.135 1.335,-0.094 2.229,0 0.27,-0.333 0.685,-0.561 0.982,-0.903 0.325,-0.35 0.457,-0.717 0.754,-1.118 l 0,-0.913 0.748,-0.229 c 0.388,-0.464 0.616,-0.893 0.74,-1.347 0.395,-1.388 -0.325,-3.235 0.506,-3.838 0.395,-0.29 -0.174,-1.034 0.234,-1.346 l 0,-1.132 c 0.063,-0.713 0.201,-1.045 0.25,-1.356 0.124,-0.769 -0.063,-1.107 0.249,-1.347 l 0,-0.456 c 0.325,-1.015 0.208,-2.385 0.997,-3.153 1.792,-0.567 3.605,-0.519 5.46,-0.456 1.309,0.041 2.624,0.146 3.932,0.27 1.854,1.682 3.959,3.069 5.461,3.464 3.688,0.973 5.433,7.963 6.015,10.863 0.581,2.914 9.891,1.557 9.891,1.557 0,0 4.457,0 6.008,-1.557 1.55,-1.544 -3.689,-1.928 -3.689,-1.928 l -3.696,-2.26 c 0.63,0.042 1.239,-0.135 1.917,-0.031 l 0.506,-0.446 c 0.381,-0.353 0.581,-0.789 0.733,-1.139 0.125,-0.238 0.249,-0.332 0.249,-0.664 0.229,-0.862 1.219,-1.159 1.495,-2.26 0.083,-0.312 0.042,-0.831 0,-1.35 -0.042,-0.651 -0.249,-1.17 0,-1.356 l 0,-0.443 c 0.132,-1.018 -0.29,-1.89 -0.498,-2.035 l 0,-0.457 c -0.277,-0.432 -1.834,-1.2 -2.235,-1.346 -0.374,-0.146 -0.603,-0.146 -0.99,-0.229 -0.422,-0.101 -0.928,-0.363 -1.253,-0.446 -0.879,-0.256 -1.861,-0.588 -2.215,-0.682 -0.332,-0.073 -0.519,-0.155 -0.761,-0.218 -0.332,-0.094 -0.672,-0.166 -0.9,-0.208 -1.709,-8.347 0.872,-13.527 0.872,-13.527 11.829,-22.505 27.347,-36.664 27.347,-36.664 6.977,-4.457 5.82,-7.753 6.194,-12.792 0.395,-5.049 -8.915,-10.676 -8.915,-10.676 5.634,-11.052 12.998,-11.236 12.998,-11.236 0,0 2.326,2.507 4.264,6.001 1.952,3.493 2.318,3.888 4.076,3.307 1.738,-0.591 -0.187,-2.715 -0.187,-2.715 l 0,-3.111 c 0,0 1.149,-0.767 5.032,-0.767 3.89,0 3.495,2.901 3.495,2.901 1.543,3.878 3.481,1.939 3.481,1.939 1.176,-2.913 -1.938,-4.841 -1.938,-4.841 7.764,3.684 6.407,1.164 6.407,1.164 z m -82.044,1.741 c 0,0 1.938,-8.728 6.977,-13.185 l 6.021,0 c 0,0 0.962,13.185 3.488,17.457 l -0.97,0.964 -15.517,0 0,-5.236 z m 21.062,86.255 -0.257,-0.81 c 0.367,0.041 0.713,0.094 1.004,0.343 l -0.747,0.467 z m -4.575,-39.899 c -2.132,4.842 -8.735,9.889 -8.735,9.889 0,0 -1.35,-0.976 -5.038,2.136 -3.689,3.101 0.2,6.398 2.52,7.558 2.332,1.174 0.588,3.305 0.588,3.305 -2.733,1.661 -4.049,2.575 -4.796,3.268 -2.375,0.238 -4.555,0.671 -6.541,0.879 -0.035,-1.613 -0.125,-3.107 -0.249,-4.734 -0.125,-1.605 -0.076,-3.35 -0.249,-4.955 -0.069,-0.654 -0.401,-0.551 -0.498,-0.9 -0.194,-0.706 0.062,-1.391 0,-2.035 -0.042,-0.498 -0.194,-0.857 -0.25,-1.346 -0.193,-2.271 -0.131,-4.499 -0.249,-6.77 -0.083,-1.711 -0.229,-5.67 -0.941,-5.742 l 0,-6.759 0,-0.975 15.324,-0.187 c 0,0 0.774,0.383 0,1.74 -0.769,1.358 3.876,1.938 6.789,0.197 2.907,-1.751 2.907,-9.701 -0.782,-9.701 2.52,-1.545 8.348,-0.582 8.348,-0.582 -4.459,4.654 -3.109,10.864 -5.241,15.714 z"
  135 + id="path48"
  136 + inkscape:connector-curvature="0"
  137 + style="fill:#ffffff" /><path
  138 + d="m 602.034,363.508 c 0,0 0.774,-8.314 2.339,-8.314 0,0 1.813,-25.468 15.85,-24.172 14.037,1.301 23.644,12.216 23.644,12.216 0,0 -1.024,4.369 -2.589,4.008 0,0 -1.294,5.089 -3.121,5.612 l -0.52,6.749 1.295,2.605 -2.846,1.296 0.762,2.856 -2.845,2.084 -0.27,6.759 c 0,0 -4.409,2.859 -6.236,0 0,0 -2.325,-2.338 -5.71,-0.52 -3.377,1.818 -8.582,2.598 -8.319,10.909 0,0 2.34,8.844 2.34,13.518 0,4.681 -0.52,10.917 -4.153,14.818 l -3.121,13.776 c 0,0 11.434,14.289 16.895,17.928 0,0 7.537,4.421 8.832,4.421 0,0 11.17,-1.565 11.17,4.156 0,0 -2.068,13.258 -9.087,12.99 0,0 -2.34,-0.25 -4.16,-4.148 0,0 -0.263,-2.859 -4.686,-5.722 0,0 -17.67,-9.619 -23.38,-11.697 l -2.083,10.92 c 0,0 15.33,19.748 23.649,52.235 0,0 1.302,-0.26 0,7.275 0,0 -2.339,28.33 -5.461,42.874 -3.121,14.572 0.264,23.923 2.347,26.785 2.069,2.861 10.133,5.713 10.133,5.713 0,0 15.061,2.34 12.728,4.936 0,0 -6.755,2.868 -10.651,3.388 0,0 -30.142,1.554 -30.405,-1.574 -0.256,-3.111 2.076,-8.563 3.378,-10.659 1.302,-2.073 2.852,-14.016 0.519,-28.318 -2.353,-14.306 -6.498,-23.385 -1.045,-46.263 0,0 -7.537,-3.38 -7.537,-4.156 l 0,10.406 c 0,0 1.309,2.852 -4.672,8.697 0,0 -16.888,25.076 -22.362,32.351 -5.454,7.277 -8.817,15.593 -3.107,21.583 l 5.461,5.7 c 0,0 9.095,1.564 9.351,3.647 0.263,2.076 -1.309,3.9 -5.461,3.641 0,0 -9.303,0.104 -11.164,-2.343 -1.89,-2.437 -7.807,-5.983 -10.915,-5.194 -3.121,0.778 -11.447,-3.638 -7.807,-8.323 3.64,-4.675 6.243,-11.434 6.243,-11.434 0,0 8.049,-9.866 8.838,-15.071 0,0 -3.641,-16.109 16.369,-30.933 l -1.813,-43.91 c 0,0 -11.448,-5.203 -9.628,-16.117 1.834,-10.917 4.941,-13.258 4.941,-13.258 l 2.603,-11.693 -7.544,-19.752 c 0,0 -2.332,-1.82 1.834,-8.313 4.153,-6.499 9.351,-18.716 9.351,-18.716 0,0 5.447,-14.036 13.773,-19.233 -0.003,-10e-4 7.728,-4.432 8.053,-7.019 z"
  139 + id="path50"
  140 + inkscape:connector-curvature="0"
  141 + style="fill:#ffffff" /><polygon
  142 + points="755.865,454.218 743.441,467.577 750.841,468.891 763.265,455.531 "
  143 + id="polygon52"
  144 + style="fill:#ffffff" /></g></g></svg>
0 145 \ No newline at end of file
... ...
script.js 0 → 100644
... ... @@ -0,0 +1,127 @@
  1 +moment.locale('fr', {
  2 + months : "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),
  3 + monthsShort : "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),
  4 + weekdays : "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),
  5 + weekdaysShort : "dim._lun._mar._mer._jeu._ven._sam.".split("_"),
  6 + weekdaysMin : "Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),
  7 + longDateFormat : {
  8 + LT : "HH:mm",
  9 + LTS : "HH:mm:ss",
  10 + L : "DD/MM/YYYY",
  11 + LL : "D MMMM YYYY",
  12 + LLL : "D MMMM YYYY LT",
  13 + LLLL : "dddd D MMMM YYYY LT"
  14 + },
  15 + calendar : {
  16 + sameDay: "[Aujourd'hui à] LT",
  17 + nextDay: '[Demain à] LT',
  18 + nextWeek: 'dddd [à] LT',
  19 + lastDay: '[Hier à] LT',
  20 + lastWeek: 'dddd [dernier à] LT',
  21 + sameElse: 'L'
  22 + },
  23 + relativeTime : {
  24 + future : "dans %s",
  25 + past : "il y a %s",
  26 + s : "quelques secondes",
  27 + m : "une minute",
  28 + mm : "%d minutes",
  29 + h : "une heure",
  30 + hh : "%d heures",
  31 + d : "un jour",
  32 + dd : "%d jours",
  33 + M : "un mois",
  34 + MM : "%d mois",
  35 + y : "une année",
  36 + yy : "%d années"
  37 + },
  38 + ordinalParse : /\d{1,2}(er|ème)/,
  39 + ordinal : function (number) {
  40 + return number + (number === 1 ? 'er' : 'ème');
  41 + },
  42 + meridiemParse: /PD|MD/,
  43 + isPM: function (input) {
  44 + return input.charAt(0) === 'M';
  45 + },
  46 + // in case the meridiem units are not separated around 12, then implement
  47 + // this function (look at locale/id.js for an example)
  48 + // meridiemHour : function (hour, meridiem) {
  49 + // return /* 0-23 hour, given meridiem token and hour 1-12 */
  50 + // },
  51 + meridiem : function (hours, minutes, isLower) {
  52 + return hours < 12 ? 'PD' : 'MD';
  53 + },
  54 + week : {
  55 + dow : 1, // Monday is the first day of the week.
  56 + doy : 4 // The week that contains Jan 4th is the first week of the year.
  57 + }
  58 +});
  59 +
  60 +var startTime = moment().hour(18).minute(30);
  61 +var endTime = moment().hour(19).minute(45);
  62 +var tag = '#leclubinfocestcool'
  63 +
  64 +var s = null;
  65 +
  66 +var scores = {};
  67 +
  68 +function updateLeaderBoard() {
  69 + var sortable = [];
  70 + for (var name in scores)
  71 + sortable.push([name, scores[name]])
  72 + sortable.sort(function(b, a) {return a[1] - b[1]})
  73 + var list = $('#lead ol');
  74 + list.empty();
  75 + for (tuple in sortable) {
  76 + list.append($('<li>').text(sortable[tuple][0]));
  77 + }
  78 +}
  79 +
  80 +function clearTw() {
  81 + var els = $('#tweets>div');
  82 + for (el in els) {
  83 + if (el > 10) {
  84 + $(els[el]).remove();
  85 + }
  86 + }
  87 +}
  88 +
  89 +
  90 +
  91 +$(function() {
  92 + twttr.ready(function() {
  93 + console.log('Ready')
  94 + s = io();
  95 + setInterval(function() {
  96 + $('#start').text(startTime.fromNow());
  97 + $('#stop').text(endTime.fromNow());
  98 + }, 1000);
  99 + s.on('tag', function(datag) {
  100 + // tag = datag
  101 + });
  102 + s.on('tweet', function(tweet) {
  103 + var el = $('<div>').hide();
  104 + console.log(tweet)
  105 + var d = new Date(tweet.created_at);
  106 + if (tweet.text.toLowerCase().indexOf(tag) != -1 && startTime.isBefore(d) && endTime.isAfter(d)) { // Si il y a bien le tag
  107 + el.addClass('tag');
  108 + if (scores[tweet.user.name] == undefined) {
  109 + scores[tweet.user.name] = 0;
  110 + }
  111 + scores[tweet.user.name]++;
  112 + updateLeaderBoard();
  113 + }
  114 + $('#tweets').prepend(el);
  115 + twttr.widgets.createTweet(tweet.id_str, el[0], {theme: 'dark', width: 500})
  116 + .then(function(iframe) {
  117 + $(el).show('slow');
  118 + clearTw();
  119 + });
  120 + })
  121 + s.on('msg', function(msg) {
  122 + $('#sub').text(msg);
  123 +
  124 + });
  125 +
  126 + })
  127 +})
... ...
style.css 0 → 100644
... ... @@ -0,0 +1,33 @@
  1 +body {
  2 + background: black;
  3 + color: white;
  4 + font-family: "GeosansLight";
  5 + padding: 30px;
  6 + overflow: hidden;
  7 +}
  8 +
  9 +p {
  10 + font-size: 150%;
  11 +}
  12 +
  13 +#logo {
  14 + width: 300px;
  15 +}
  16 +
  17 +#tweets {
  18 + padding: 10px;
  19 +}
  20 +
  21 +#lead {
  22 + font-size: 150%;
  23 + padding: 10px;
  24 +}
  25 +
  26 +#sub {
  27 + min-height: 100px;
  28 +}
  29 +
  30 +.tag {
  31 + margin-left: 50px;
  32 +}
  33 +
... ...
sub.txt 0 → 100644
... ... @@ -0,0 +1,19 @@
  1 +On est supra cool !
  2 +On fait pas de vidéos, désolé.
  3 +Faites un tweet original, je pourrais peut-être donner des points en plus.
  4 +On aurait pu faire la même chose sur Facebook, mais vos amis auraient peut-être pas apprécié.
  5 +Partenaire officieux de ta maman depuis dix ans.
  6 +Toujours pas espionné par Windows 10.
  7 +On est juste derrière toi.
  8 +On sait déjà tout sur ta toi.
  9 +Barbus et fier de l'être.
  10 +Ferme tes volets !
  11 +Ouvre ton PC !
  12 +Tous les langages informatique on les connait. Ou presque.
  13 +Contrairement aux idées reçues, nous ne sommes pas une majorité d'IMA.
  14 +Nous on nous voit !
  15 +<INSERT FUNNY TEXT HERE>
  16 +cout << "Hello world!" << endl;
  17 +Arrête de lire ça et tweete.
  18 +Twitter et le logo Twitter est une marque déposée de Twitter Inc., et patati, et patata, et texte légal, et bla bla bla...
  19 +À Polytech Lille depuis 74 ans.
... ...