HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by Skypack, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ES6 import
usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<div id="robotanimation">
<svg version="1.1" id="robotanimation" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 652 400" enable-background="new 0 0 652 400" xml:space="preserve">
<defs>
<clipPath id="clipPath1">
<rect x="222.7" y="291.7" width="81.2" height="83.6"/>
</clipPath>
</defs>
<g id="Base">
<rect id="robotbase1" y="358.5" fill="#4E5052" width="210.2" height="16.4"/>
<g id="robotbase2">
<path fill="#A6A9AB" d="M172.5,358.5h-69v-40.2h63.2c3.2,0,5.8,2.6,5.8,5.8V358.5z"/>
<path fill="#939699" d="M103.5,358.5h-69V324c0-3.2,2.6-5.8,5.8-5.8h63.2V358.5z"/>
</g>
<g id="robotbase3">
<path fill="#4E5052" d="M138,255v-67.3c-8.4,9.6-20.8,7.8-34.5,7.8s-26.1-6-34.5-15.6V255l-17.2,63.2h103.5L138,255z"/>
<path fill="#65676A" d="M138,255v-75.1c-8.4,9.6-20.8,15.6-34.5,15.6v122.8h51.8L138,255z"/>
</g>
</g>
<g id="wholearm">
<rect id="wholearmcontainer" x="55.2" fill="none" width="400" height="400"/>
<g id="armsection">
<rect id="arm1" x="79" y="123.2" transform="matrix(0.9801 -0.1985 0.1985 0.9801 -25.7742 34.6792)" fill="#4E5052" width="162" height="45.3"/>
<g id="rotationpoint1">
<circle fill="#CAD9DE" cx="103.5" cy="157.3" r="46"/>
<circle fill="#AAC3CF" cx="103.5" cy="157.3" r="23"/>
</g>
</g>
<g id="elbowsection">
<g id="elbowsectiondonotmove">
<g id="rotationpoint2">
<polygon id="arm2donottouch" fill="#4E5052" points="276.9,267.2 257.4,274.1 197.2,123.1 235.5,109.9 "/>
<g>
<circle fill="#CAD9DE" cx="223.2" cy="133.7" r="40.2"/>
</g>
<g>
<circle fill="#AAC3CF" cx="223.2" cy="133.7" r="17.2"/>
</g>
</g>
</g>
<g id="wristsection">
<path id="pincerright" fill="#4E5052" d="M312.8,278l-31.4-23.9c-2.1-8-9.4-13.9-18-13.8c-10.1,0.1-18.3,8.5-18.1,18.6
c0.1,10.1,8.5,18.3,18.6,18.1c1.5,0,2.9-0.2,4.2-0.6l33.1,12.7l-5.9,45l21-47.7l1.9-4.3L312.8,278z"/>
<path id="pincerleft" fill="#4E5052" d="M214.2,278l31.4-23.9c2.1-8,9.4-13.9,18-13.8c10.1,0.1,18.3,8.5,18.1,18.6
c-0.1,10.1-8.5,18.3-18.6,18.1c-1.5,0-2.9-0.2-4.2-0.6l-33.1,12.7l5.9,45l-21-47.7l-1.9-4.3L214.2,278z"/>
<g id="rotationpoint">
<circle fill="#CAD9DE" cx="263.6" cy="259" r="23"/>
<circle fill="#AAC3CF" cx="263.6" cy="259" r="12.3"/>
</g>
<g id="germanybox">
<rect x="232" y="311.6" fill="#8AADBF" width="63.2" height="63.2"/>
<g>
<rect x="242" y="329.7" fill="#4E5052" width="44.5" height="9.7"/>
<rect x="242" y="339.4" fill="#F80000" width="44.5" height="9.7"/>
<rect x="242" y="348.8" fill="#F29111" width="44.5" height="9.7"/>
</g>
</g>
<g id="usabox">
<rect x="232" y="311.6" fill="#8AADBF" width="63.2" height="63.2"/>
<g>
<g>
<rect x="241.7" y="329.5" fill="#F80000" width="44.7" height="2.1"/>
<rect x="241.7" y="354.6" fill="#F80000" width="44.7" height="2.1"/>
<rect x="241.7" y="352.4" fill="#FFFFFF" width="44.7" height="2.2"/>
<rect x="241.7" y="331.5" fill="#FFFFFF" width="44.7" height="2.1"/>
<rect x="241.7" y="333.7" fill="#F80000" width="44.7" height="2"/>
<rect x="241.7" y="350.5" fill="#F80000" width="44.7" height="1.9"/>
<rect x="241.7" y="348.3" fill="#FFFFFF" width="44.7" height="2.2"/>
<rect x="241.7" y="335.7" fill="#FFFFFF" width="44.7" height="2.2"/>
<rect x="241.7" y="346.2" fill="#F80000" width="44.7" height="2.1"/>
<rect x="241.7" y="337.9" fill="#F80000" width="44.7" height="2"/>
<rect x="241.7" y="340" fill="#FFFFFF" width="44.7" height="2.1"/>
<rect x="241.7" y="344" fill="#FFFFFF" width="44.7" height="2.1"/>
<rect x="241.7" y="342.1" fill="#F80000" width="44.7" height="2"/>
</g>
<rect x="241.7" y="329.5" fill="#324B5C" width="17.9" height="14.6"/>
<g>
<polygon fill="#FFFFFF" points="242.3,330.6 242.8,330.6 243,330 243.1,330.6 243.7,330.6 243.2,331 243.4,331.6 243,331.2
242.5,331.6 242.7,331 "/>
<polygon fill="#FFFFFF" points="245.3,330.6 245.9,330.6 246,330 246.2,330.6 246.7,330.6 246.3,331 246.5,331.6 246,331.2
245.6,331.6 245.7,331 "/>
<polygon fill="#FFFFFF" points="248.4,330.6 248.9,330.6 249.1,330 249.3,330.6 249.8,330.6 249.4,331 249.6,331.6
249.1,331.2 248.7,331.6 248.8,331 "/>
<polygon fill="#FFFFFF" points="251.5,330.6 252,330.6 252.2,330 252.4,330.6 252.9,330.6 252.5,331 252.6,331.6 252.2,331.2
251.8,331.6 251.9,331 "/>
<polygon fill="#FFFFFF" points="254.6,330.6 255.1,330.6 255.3,330 255.4,330.6 256,330.6 255.6,331 255.7,331.6 255.3,331.2
254.9,331.6 255,331 "/>
<polygon fill="#FFFFFF" points="257.6,330.6 258.2,330.6 258.4,330 258.5,330.6 259.1,330.6 258.6,331 258.8,331.6
258.4,331.2 257.9,331.6 258.1,331 "/>
<polygon fill="#FFFFFF" points="242.3,333.5 242.8,333.5 243,333 243.1,333.5 243.7,333.5 243.2,333.9 243.4,334.5 243,334.1
242.5,334.5 242.7,333.9 "/>
<polygon fill="#FFFFFF" points="245.3,333.5 245.9,333.5 246,333 246.2,333.5 246.7,333.5 246.3,333.9 246.5,334.5 246,334.1
245.6,334.5 245.7,333.9 "/>
<polygon fill="#FFFFFF" points="248.4,333.5 248.9,333.5 249.1,333 249.3,333.5 249.8,333.5 249.4,333.9 249.6,334.5
249.1,334.1 248.7,334.5 248.8,333.9 "/>
<polygon fill="#FFFFFF" points="251.5,333.5 252,333.5 252.2,333 252.4,333.5 252.9,333.5 252.5,333.9 252.6,334.5
252.2,334.1 251.8,334.5 251.9,333.9 "/>
<polygon fill="#FFFFFF" points="254.6,333.5 255.1,333.5 255.3,333 255.4,333.5 256,333.5 255.6,333.9 255.7,334.5
255.3,334.1 254.9,334.5 255,333.9 "/>
<polygon fill="#FFFFFF" points="257.6,333.5 258.2,333.5 258.4,333 258.5,333.5 259.1,333.5 258.6,333.9 258.8,334.5
258.4,334.1 257.9,334.5 258.1,333.9 "/>
<polygon fill="#FFFFFF" points="242.3,336.4 242.8,336.4 243,335.8 243.1,336.4 243.7,336.4 243.2,336.8 243.4,337.4 243,337
242.5,337.4 242.7,336.8 "/>
<polygon fill="#FFFFFF" points="245.3,336.4 245.9,336.4 246,335.8 246.2,336.4 246.7,336.4 246.3,336.8 246.5,337.4 246,337
245.6,337.4 245.7,336.8 "/>
<polygon fill="#FFFFFF" points="248.4,336.4 248.9,336.4 249.1,335.8 249.3,336.4 249.8,336.4 249.4,336.8 249.6,337.4
249.1,337 248.7,337.4 248.8,336.8 "/>
<polygon fill="#FFFFFF" points="251.5,336.4 252,336.4 252.2,335.8 252.4,336.4 252.9,336.4 252.5,336.8 252.6,337.4
252.2,337 251.8,337.4 251.9,336.8 "/>
<polygon fill="#FFFFFF" points="254.6,336.4 255.1,336.4 255.3,335.8 255.4,336.4 256,336.4 255.6,336.8 255.7,337.4
255.3,337 254.9,337.4 255,336.8 "/>
<polygon fill="#FFFFFF" points="257.6,336.4 258.2,336.4 258.4,335.8 258.5,336.4 259.1,336.4 258.6,336.8 258.8,337.4
258.4,337 257.9,337.4 258.1,336.8 "/>
<polygon fill="#FFFFFF" points="242.3,339.4 242.8,339.4 243,338.8 243.1,339.4 243.7,339.4 243.2,339.8 243.4,340.4 243,340
242.6,340.4 242.7,339.8 "/>
<polygon fill="#FFFFFF" points="245.3,339.4 245.9,339.4 246.1,338.8 246.2,339.4 246.8,339.4 246.3,339.8 246.5,340.4
246.1,340 245.6,340.4 245.8,339.8 "/>
<polygon fill="#FFFFFF" points="248.4,339.4 248.9,339.4 249.1,338.8 249.3,339.4 249.8,339.4 249.4,339.8 249.6,340.4
249.1,340 248.7,340.4 248.8,339.8 "/>
<polygon fill="#FFFFFF" points="251.5,339.4 252,339.4 252.2,338.8 252.4,339.4 252.9,339.4 252.5,339.8 252.6,340.4
252.2,340 251.8,340.4 251.9,339.8 "/>
<polygon fill="#FFFFFF" points="254.6,339.4 255.1,339.4 255.3,338.8 255.5,339.4 256,339.4 255.6,339.8 255.7,340.4
255.3,340 254.9,340.4 255,339.8 "/>
<polygon fill="#FFFFFF" points="257.7,339.4 258.2,339.4 258.4,338.8 258.5,339.4 259.1,339.4 258.6,339.8 258.8,340.4
258.4,340 257.9,340.4 258.1,339.8 "/>
<polygon fill="#FFFFFF" points="242.3,342.3 242.8,342.3 243,341.7 243.1,342.3 243.7,342.3 243.2,342.6 243.4,343.2
243,342.8 242.6,343.2 242.7,342.6 "/>
<polygon fill="#FFFFFF" points="245.3,342.3 245.9,342.3 246.1,341.7 246.2,342.3 246.8,342.3 246.3,342.6 246.5,343.2
246.1,342.8 245.6,343.2 245.8,342.6 "/>
<polygon fill="#FFFFFF" points="248.4,342.3 248.9,342.3 249.1,341.7 249.3,342.3 249.8,342.3 249.4,342.6 249.6,343.2
249.1,342.8 248.7,343.2 248.8,342.6 "/>
<polygon fill="#FFFFFF" points="251.5,342.3 252,342.3 252.2,341.7 252.4,342.3 252.9,342.3 252.5,342.6 252.6,343.2
252.2,342.8 251.8,343.2 251.9,342.6 "/>
<polygon fill="#FFFFFF" points="254.6,342.3 255.1,342.3 255.3,341.7 255.5,342.3 256,342.3 255.6,342.6 255.7,343.2
255.3,342.8 254.9,343.2 255,342.6 "/>
<polygon fill="#FFFFFF" points="257.7,342.3 258.2,342.3 258.4,341.7 258.5,342.3 259.1,342.3 258.6,342.6 258.8,343.2
258.4,342.8 257.9,343.2 258.1,342.6 "/>
<polygon fill="#FFFFFF" points="243.8,340.8 244.3,340.8 244.5,340.2 244.7,340.8 245.2,340.8 244.8,341.2 244.9,341.7
244.5,341.4 244.1,341.7 244.2,341.2 "/>
<polygon fill="#FFFFFF" points="246.9,340.8 247.4,340.8 247.6,340.2 247.7,340.8 248.3,340.8 247.9,341.2 248,341.7
247.6,341.4 247.2,341.7 247.3,341.2 "/>
<polygon fill="#FFFFFF" points="249.9,340.8 250.5,340.8 250.7,340.2 250.8,340.8 251.4,340.8 250.9,341.2 251.1,341.7
250.7,341.4 250.2,341.7 250.4,341.2 "/>
<polygon fill="#FFFFFF" points="253,340.8 253.5,340.8 253.7,340.2 253.9,340.8 254.4,340.8 254,341.2 254.2,341.7
253.7,341.4 253.3,341.7 253.4,341.2 "/>
<polygon fill="#FFFFFF" points="256.1,340.8 256.6,340.8 256.8,340.2 257,340.8 257.5,340.8 257.1,341.2 257.3,341.7
256.8,341.4 256.4,341.7 256.5,341.2 "/>
<polygon fill="#FFFFFF" points="243.8,337.9 244.3,337.9 244.5,337.3 244.7,337.9 245.2,337.9 244.8,338.3 244.9,338.9
244.5,338.5 244.1,338.9 244.2,338.3 "/>
<polygon fill="#FFFFFF" points="246.9,337.9 247.4,337.9 247.6,337.3 247.7,337.9 248.3,337.9 247.9,338.3 248,338.9
247.6,338.5 247.2,338.9 247.3,338.3 "/>
<polygon fill="#FFFFFF" points="249.9,337.9 250.5,337.9 250.7,337.3 250.8,337.9 251.4,337.9 250.9,338.3 251.1,338.9
250.7,338.5 250.2,338.9 250.4,338.3 "/>
<polygon fill="#FFFFFF" points="253,337.9 253.5,337.9 253.7,337.3 253.9,337.9 254.4,337.9 254,338.3 254.2,338.9
253.7,338.5 253.3,338.9 253.4,338.3 "/>
<polygon fill="#FFFFFF" points="256.1,337.9 256.6,337.9 256.8,337.3 257,337.9 257.5,337.9 257.1,338.3 257.3,338.9
256.8,338.5 256.4,338.9 256.5,338.3 "/>
<polygon fill="#FFFFFF" points="243.8,335 244.3,335 244.5,334.4 244.7,335 245.2,335 244.8,335.4 245,336 244.5,335.6
244.1,336 244.2,335.4 "/>
<polygon fill="#FFFFFF" points="246.9,335 247.4,335 247.6,334.4 247.8,335 248.3,335 247.9,335.4 248,336 247.6,335.6
247.2,336 247.3,335.4 "/>
<polygon fill="#FFFFFF" points="250,335 250.5,335 250.7,334.4 250.9,335 251.4,335 251,335.4 251.1,336 250.7,335.6
250.3,336 250.4,335.4 "/>
<polygon fill="#FFFFFF" points="253.1,335 253.6,335 253.8,334.4 253.9,335 254.5,335 254,335.4 254.2,336 253.8,335.6
253.3,336 253.5,335.4 "/>
<polygon fill="#FFFFFF" points="256.1,335 256.7,335 256.8,334.4 257,335 257.5,335 257.1,335.4 257.3,336 256.8,335.6
256.4,336 256.5,335.4 "/>
<polygon fill="#FFFFFF" points="243.8,332.1 244.3,332.1 244.5,331.5 244.7,332.1 245.2,332.1 244.8,332.5 245,333.1
244.5,332.7 244.1,333.1 244.2,332.5 "/>
<polygon fill="#FFFFFF" points="246.9,332.1 247.4,332.1 247.6,331.5 247.8,332.1 248.3,332.1 247.9,332.5 248,333.1
247.6,332.7 247.2,333.1 247.3,332.5 "/>
<polygon fill="#FFFFFF" points="250,332.1 250.5,332.1 250.7,331.5 250.9,332.1 251.4,332.1 251,332.5 251.1,333.1
250.7,332.7 250.3,333.1 250.4,332.5 "/>
<polygon fill="#FFFFFF" points="253.1,332.1 253.6,332.1 253.8,331.5 253.9,332.1 254.5,332.1 254,332.5 254.2,333.1
253.8,332.7 253.3,333.1 253.5,332.5 "/>
<polygon fill="#FFFFFF" points="256.1,332.1 256.7,332.1 256.8,331.5 257,332.1 257.5,332.1 257.1,332.5 257.3,333.1
256.8,332.7 256.4,333.1 256.5,332.5 "/>
</g>
</g>
</g>
<g id="japanbox">
<rect x="232" y="311.6" fill="#8AADBF" width="63.2" height="63.2"/>
<g>
<rect x="241.4" y="329.4" fill="#FFFFFF" width="44.5" height="28.8"/>
<circle fill="#F80000" cx="263.3" cy="343.8" r="8.3"/>
</g>
</g>
<g id="ukbox">
<rect x="232" y="311.6" fill="#8AADBF" width="63.2" height="63.2"/>
<g>
<rect x="241.7" y="329.5" fill="#324B5C" width="44.4" height="27.1"/>
<polygon fill="#FFFFFF" points="281.1,329.5 267.6,337.8 241.7,353.7 241.7,356.7 246.7,356.7 286.1,332.5 286.1,329.5
285.3,329.5 "/>
<polygon fill="#FFFFFF" points="286.1,353.7 246.8,329.5 241.7,329.5 241.7,332.6 281.1,356.7 286.1,356.7 "/>
<polygon fill="#FFFFFF" points="286.1,347.6 241.7,347.6 241.7,338.6 286.1,338.6 "/>
<polygon fill="#FFFFFF" points="260.2,329.5 260.2,356.7 267.6,356.7 267.6,329.5 "/>
<polygon fill="#F80000" points="286.1,340.4 241.7,340.4 241.7,345.8 286.1,345.8 "/>
<polygon fill="#F80000" points="282.8,329.5 267.9,338.6 271.3,338.6 286.1,329.5 285.3,329.5 "/>
<polygon fill="#F80000" points="266.1,329.5 266.1,356.7 261.7,356.7 261.7,329.5 "/>
<polygon fill="#F80000" points="241.7,329.5 256.4,338.6 253.2,338.6 241.7,331.5 "/>
<polygon fill="#F80000" points="241.7,356.7 256.4,347.6 259.7,347.6 245.1,356.7 "/>
<polygon fill="#F80000" points="271.4,347.6 286.1,356.7 286.1,354.6 274.6,347.6 "/>
</g>
</g>
</g>
</g>
</g>
<g id="conveyorandbelt">
<g id="cog">
<circle fill="#F29111" cx="333.5" cy="349.4" r="17.9"/>
<circle fill="#CF7215" cx="333.5" cy="349.4" r="5.3"/>
<circle fill="#4E5052" cx="333.5" cy="349.4" r="3.2"/>
<path fill="#4E5052" d="M325,345.3c0.9-1.7,2.2-3.1,3.8-4.1l-1.2-4.1c-3,1.4-5.5,4-6.8,7.2L325,345.3z"/>
<path fill="#4E5052" d="M331.4,358.7c-0.9-0.2-1.8-0.6-2.6-1.1l-2.9,3.1c1.4,0.9,2.9,1.6,4.6,2c1.7,0.4,3.4,0.5,5,0.2l-1.2-4.1
C333.3,359,332.3,358.9,331.4,358.7z"/>
<path fill="#4E5052" d="M341.4,344.1c1,1.6,1.6,3.4,1.6,5.4l4.2,1c0.3-3.5-0.8-6.8-2.9-9.5L341.4,344.1z"/>
</g>
<path id="belt" fill="none" stroke="#4E5052" stroke-width="3" stroke-miterlimit="10" d="M652,374.9H331.8
c-14,0-25.5-11.5-25.5-25.5v0c0-14,11.5-25.5,25.5-25.5H652"/>
</g>
<rect id="containerdeletethis" fill="none" width="652" height="400"/>
<g id="rotationpointcover">
<circle fill="#CAD9DE" cx="103.5" cy="157.3" r="46"/>
<circle fill="#AAC3CF" cx="103.5" cy="157.3" r="23"/>
</g>
<g id="germanyboxmoveoff">
<rect x="315" y="259.1" fill="#8AADBF" width="63.2" height="63.2"/>
<g>
<rect x="324.9" y="277.1" fill="#4E5052" width="44.5" height="9.7"/>
<rect x="324.9" y="286.8" fill="#F80000" width="44.5" height="9.7"/>
<rect x="324.9" y="296.3" fill="#F29111" width="44.5" height="9.7"/>
</g>
</g>
<g id="usaboxmoveoff">
<rect x="315" y="259.1" fill="#8AADBF" width="63.2" height="63.2"/>
<g>
<g>
<rect x="324.7" y="276.9" fill="#F80000" width="44.7" height="2.1"/>
<rect x="324.7" y="302.1" fill="#F80000" width="44.7" height="2.1"/>
<rect x="324.7" y="299.9" fill="#FFFFFF" width="44.7" height="2.2"/>
<rect x="324.7" y="279" fill="#FFFFFF" width="44.7" height="2.1"/>
<rect x="324.7" y="281.1" fill="#F80000" width="44.7" height="2"/>
<rect x="324.7" y="298" fill="#F80000" width="44.7" height="1.9"/>
<rect x="324.7" y="295.7" fill="#FFFFFF" width="44.7" height="2.2"/>
<rect x="324.7" y="283.2" fill="#FFFFFF" width="44.7" height="2.2"/>
<rect x="324.7" y="293.6" fill="#F80000" width="44.7" height="2.1"/>
<rect x="324.7" y="285.4" fill="#F80000" width="44.7" height="2"/>
<rect x="324.7" y="287.4" fill="#FFFFFF" width="44.7" height="2.1"/>
<rect x="324.7" y="291.5" fill="#FFFFFF" width="44.7" height="2.1"/>
<rect x="324.7" y="289.5" fill="#F80000" width="44.7" height="2"/>
</g>
<rect x="324.7" y="276.9" fill="#324B5C" width="17.9" height="14.6"/>
<g>
<polygon fill="#FFFFFF" points="325.2,278.1 325.7,278.1 325.9,277.5 326.1,278.1 326.6,278.1 326.2,278.4 326.3,279
325.9,278.6 325.5,279 325.6,278.4 "/>
<polygon fill="#FFFFFF" points="328.3,278.1 328.8,278.1 329,277.5 329.2,278.1 329.7,278.1 329.3,278.4 329.4,279 329,278.6
328.6,279 328.7,278.4 "/>
<polygon fill="#FFFFFF" points="331.4,278.1 331.9,278.1 332.1,277.5 332.2,278.1 332.8,278.1 332.3,278.4 332.5,279
332.1,278.6 331.6,279 331.8,278.4 "/>
<polygon fill="#FFFFFF" points="334.4,278.1 335,278.1 335.1,277.5 335.3,278.1 335.8,278.1 335.4,278.4 335.6,279 335.1,278.6
334.7,279 334.8,278.4 "/>
<polygon fill="#FFFFFF" points="337.5,278.1 338,278.1 338.2,277.5 338.4,278.1 338.9,278.1 338.5,278.4 338.7,279 338.2,278.6
337.8,279 337.9,278.4 "/>
<polygon fill="#FFFFFF" points="340.6,278.1 341.1,278.1 341.3,277.5 341.5,278.1 342,278.1 341.6,278.4 341.7,279 341.3,278.6
340.9,279 341,278.4 "/>
<polygon fill="#FFFFFF" points="325.2,281 325.7,281 325.9,280.4 326.1,281 326.6,281 326.2,281.4 326.3,282 325.9,281.6
325.5,282 325.6,281.4 "/>
<polygon fill="#FFFFFF" points="328.3,281 328.8,281 329,280.4 329.2,281 329.7,281 329.3,281.4 329.4,282 329,281.6 328.6,282
328.7,281.4 "/>
<polygon fill="#FFFFFF" points="331.4,281 331.9,281 332.1,280.4 332.2,281 332.8,281 332.3,281.4 332.5,282 332.1,281.6
331.6,282 331.8,281.4 "/>
<polygon fill="#FFFFFF" points="334.4,281 335,281 335.1,280.4 335.3,281 335.8,281 335.4,281.4 335.6,282 335.1,281.6
334.7,282 334.8,281.4 "/>
<polygon fill="#FFFFFF" points="337.5,281 338,281 338.2,280.4 338.4,281 338.9,281 338.5,281.4 338.7,282 338.2,281.6
337.8,282 337.9,281.4 "/>
<polygon fill="#FFFFFF" points="340.6,281 341.1,281 341.3,280.4 341.5,281 342,281 341.6,281.4 341.7,282 341.3,281.6
340.9,282 341,281.4 "/>
<polygon fill="#FFFFFF" points="325.2,283.8 325.7,283.8 325.9,283.3 326.1,283.8 326.6,283.8 326.2,284.2 326.3,284.8
325.9,284.4 325.5,284.8 325.6,284.2 "/>
<polygon fill="#FFFFFF" points="328.3,283.8 328.8,283.8 329,283.3 329.2,283.8 329.7,283.8 329.3,284.2 329.4,284.8 329,284.4
328.6,284.8 328.7,284.2 "/>
<polygon fill="#FFFFFF" points="331.4,283.8 331.9,283.8 332.1,283.3 332.2,283.8 332.8,283.8 332.3,284.2 332.5,284.8
332.1,284.4 331.6,284.8 331.8,284.2 "/>
<polygon fill="#FFFFFF" points="334.4,283.8 335,283.8 335.1,283.3 335.3,283.8 335.8,283.8 335.4,284.2 335.6,284.8
335.1,284.4 334.7,284.8 334.8,284.2 "/>
<polygon fill="#FFFFFF" points="337.5,283.8 338,283.8 338.2,283.3 338.4,283.8 338.9,283.8 338.5,284.2 338.7,284.8
338.2,284.4 337.8,284.8 337.9,284.2 "/>
<polygon fill="#FFFFFF" points="340.6,283.8 341.1,283.8 341.3,283.3 341.5,283.8 342,283.8 341.6,284.2 341.7,284.8
341.3,284.4 340.9,284.8 341,284.2 "/>
<polygon fill="#FFFFFF" points="325.2,286.8 325.7,286.8 325.9,286.2 326.1,286.8 326.6,286.8 326.2,287.2 326.4,287.8
325.9,287.4 325.5,287.8 325.6,287.2 "/>
<polygon fill="#FFFFFF" points="328.3,286.8 328.8,286.8 329,286.2 329.2,286.8 329.7,286.8 329.3,287.2 329.4,287.8 329,287.4
328.6,287.8 328.7,287.2 "/>
<polygon fill="#FFFFFF" points="331.4,286.8 331.9,286.8 332.1,286.2 332.2,286.8 332.8,286.8 332.4,287.2 332.5,287.8
332.1,287.4 331.7,287.8 331.8,287.2 "/>
<polygon fill="#FFFFFF" points="334.4,286.8 335,286.8 335.2,286.2 335.3,286.8 335.9,286.8 335.4,287.2 335.6,287.8
335.2,287.4 334.7,287.8 334.9,287.2 "/>
<polygon fill="#FFFFFF" points="337.5,286.8 338,286.8 338.2,286.2 338.4,286.8 338.9,286.8 338.5,287.2 338.7,287.8
338.2,287.4 337.8,287.8 337.9,287.2 "/>
<polygon fill="#FFFFFF" points="340.6,286.8 341.1,286.8 341.3,286.2 341.5,286.8 342,286.8 341.6,287.2 341.7,287.8
341.3,287.4 340.9,287.8 341,287.2 "/>
<polygon fill="#FFFFFF" points="325.2,289.7 325.7,289.7 325.9,289.1 326.1,289.7 326.6,289.7 326.2,290.1 326.4,290.7
325.9,290.3 325.5,290.7 325.6,290.1 "/>
<polygon fill="#FFFFFF" points="328.3,289.7 328.8,289.7 329,289.1 329.2,289.7 329.7,289.7 329.3,290.1 329.4,290.7 329,290.3
328.6,290.7 328.7,290.1 "/>
<polygon fill="#FFFFFF" points="331.4,289.7 331.9,289.7 332.1,289.1 332.2,289.7 332.8,289.7 332.4,290.1 332.5,290.7
332.1,290.3 331.7,290.7 331.8,290.1 "/>
<polygon fill="#FFFFFF" points="334.4,289.7 335,289.7 335.2,289.1 335.3,289.7 335.9,289.7 335.4,290.1 335.6,290.7
335.2,290.3 334.7,290.7 334.9,290.1 "/>
<polygon fill="#FFFFFF" points="337.5,289.7 338,289.7 338.2,289.1 338.4,289.7 338.9,289.7 338.5,290.1 338.7,290.7
338.2,290.3 337.8,290.7 337.9,290.1 "/>
<polygon fill="#FFFFFF" points="340.6,289.7 341.1,289.7 341.3,289.1 341.5,289.7 342,289.7 341.6,290.1 341.7,290.7
341.3,290.3 340.9,290.7 341,290.1 "/>
<polygon fill="#FFFFFF" points="326.7,288.2 327.3,288.2 327.4,287.6 327.6,288.2 328.1,288.2 327.7,288.6 327.9,289.2
327.4,288.8 327,289.2 327.1,288.6 "/>
<polygon fill="#FFFFFF" points="329.8,288.2 330.3,288.2 330.5,287.6 330.7,288.2 331.2,288.2 330.8,288.6 331,289.2
330.5,288.8 330.1,289.2 330.2,288.6 "/>
<polygon fill="#FFFFFF" points="332.9,288.2 333.4,288.2 333.6,287.6 333.8,288.2 334.3,288.2 333.9,288.6 334,289.2
333.6,288.8 333.2,289.2 333.3,288.6 "/>
<polygon fill="#FFFFFF" points="336,288.2 336.5,288.2 336.7,287.6 336.8,288.2 337.4,288.2 337,288.6 337.1,289.2 336.7,288.8
336.3,289.2 336.4,288.6 "/>
<polygon fill="#FFFFFF" points="339,288.2 339.6,288.2 339.8,287.6 339.9,288.2 340.5,288.2 340,288.6 340.2,289.2 339.8,288.8
339.3,289.2 339.5,288.6 "/>
<polygon fill="#FFFFFF" points="326.7,285.3 327.3,285.3 327.4,284.8 327.6,285.3 328.1,285.3 327.7,285.7 327.9,286.3
327.4,285.9 327,286.3 327.1,285.7 "/>
<polygon fill="#FFFFFF" points="329.8,285.3 330.3,285.3 330.5,284.8 330.7,285.3 331.2,285.3 330.8,285.7 331,286.3
330.5,285.9 330.1,286.3 330.2,285.7 "/>
<polygon fill="#FFFFFF" points="332.9,285.3 333.4,285.3 333.6,284.8 333.8,285.3 334.3,285.3 333.9,285.7 334,286.3
333.6,285.9 333.2,286.3 333.3,285.7 "/>
<polygon fill="#FFFFFF" points="336,285.3 336.5,285.3 336.7,284.8 336.8,285.3 337.4,285.3 337,285.7 337.1,286.3 336.7,285.9
336.3,286.3 336.4,285.7 "/>
<polygon fill="#FFFFFF" points="339,285.3 339.6,285.3 339.8,284.8 339.9,285.3 340.5,285.3 340,285.7 340.2,286.3 339.8,285.9
339.3,286.3 339.5,285.7 "/>
<polygon fill="#FFFFFF" points="326.8,282.4 327.3,282.4 327.5,281.8 327.6,282.4 328.2,282.4 327.8,282.8 327.9,283.4
327.5,283 327.1,283.4 327.2,282.8 "/>
<polygon fill="#FFFFFF" points="329.8,282.4 330.4,282.4 330.6,281.8 330.7,282.4 331.3,282.4 330.8,282.8 331,283.4 330.6,283
330.1,283.4 330.3,282.8 "/>
<polygon fill="#FFFFFF" points="332.9,282.4 333.4,282.4 333.6,281.8 333.8,282.4 334.3,282.4 333.9,282.8 334.1,283.4
333.6,283 333.2,283.4 333.3,282.8 "/>
<polygon fill="#FFFFFF" points="336,282.4 336.5,282.4 336.7,281.8 336.9,282.4 337.4,282.4 337,282.8 337.1,283.4 336.7,283
336.3,283.4 336.4,282.8 "/>
<polygon fill="#FFFFFF" points="339.1,282.4 339.6,282.4 339.8,281.8 340,282.4 340.5,282.4 340.1,282.8 340.2,283.4 339.8,283
339.4,283.4 339.5,282.8 "/>
<polygon fill="#FFFFFF" points="326.8,279.5 327.3,279.5 327.5,279 327.6,279.5 328.2,279.5 327.8,279.9 327.9,280.5
327.5,280.1 327.1,280.5 327.2,279.9 "/>
<polygon fill="#FFFFFF" points="329.8,279.5 330.4,279.5 330.6,279 330.7,279.5 331.3,279.5 330.8,279.9 331,280.5 330.6,280.1
330.1,280.5 330.3,279.9 "/>
<polygon fill="#FFFFFF" points="332.9,279.5 333.4,279.5 333.6,279 333.8,279.5 334.3,279.5 333.9,279.9 334.1,280.5
333.6,280.1 333.2,280.5 333.3,279.9 "/>
<polygon fill="#FFFFFF" points="336,279.5 336.5,279.5 336.7,279 336.9,279.5 337.4,279.5 337,279.9 337.1,280.5 336.7,280.1
336.3,280.5 336.4,279.9 "/>
<polygon fill="#FFFFFF" points="339.1,279.5 339.6,279.5 339.8,279 340,279.5 340.5,279.5 340.1,279.9 340.2,280.5 339.8,280.1
339.4,280.5 339.5,279.9 "/>
</g>
</g>
</g>
<g id="japanboxmoveoff">
<rect x="315" y="259.1" fill="#8AADBF" width="63.2" height="63.2"/>
<g>
<rect x="324.4" y="276.9" fill="#FFFFFF" width="44.5" height="28.8"/>
<circle fill="#F80000" cx="346.2" cy="291.3" r="8.3"/>
</g>
</g>
<g id="ukboxmoveoff">
<rect x="315" y="259.1" fill="#8AADBF" width="63.2" height="63.2"/>
<g>
<rect x="324.7" y="277" fill="#324B5C" width="44.4" height="27.1"/>
<polygon fill="#FFFFFF" points="364,277 350.5,285.3 324.7,301.1 324.7,304.1 329.7,304.1 369,280 369,277 368.2,277 "/>
<polygon fill="#FFFFFF" points="369,301.1 329.8,277 324.7,277 324.7,280.1 364.1,304.1 369,304.1 "/>
<polygon fill="#FFFFFF" points="369,295.1 324.7,295.1 324.7,286 369,286.1 "/>
<polygon fill="#FFFFFF" points="343.2,277 343.2,304.1 350.6,304.1 350.5,277 "/>
<polygon fill="#F80000" points="369,287.9 324.7,287.9 324.7,293.2 369,293.3 "/>
<polygon fill="#F80000" points="365.7,277 350.8,286 354.2,286 369,277 368.2,277 "/>
<polygon fill="#F80000" points="349,277 349,304.1 344.6,304.1 344.6,277 "/>
<polygon fill="#F80000" points="324.7,277 339.4,286 336.1,286 324.7,279 "/>
<polygon fill="#F80000" points="324.7,304.1 339.4,295.1 342.6,295.1 328,304.1 "/>
<polygon fill="#F80000" points="354.4,295.1 369,304.1 369,302.1 357.6,295.1 "/>
</g>
</g>
<g style="clip-path: url(#clipPath1);">
<g id="germanyboxrise">
<rect x="232" y="311.6" fill="#8AADBF" width="63.2" height="63.2"/>
<g>
<rect x="242" y="329.7" fill="#4E5052" width="44.5" height="9.7"/>
<rect x="242" y="339.4" fill="#F80000" width="44.5" height="9.7"/>
<rect x="242" y="348.8" fill="#F29111" width="44.5" height="9.7"/>
</g>
</g>
<g id="usaboxrise">
<rect x="232" y="311.6" fill="#8AADBF" width="63.2" height="63.2"/>
<g>
<g>
<rect x="241.7" y="329.5" fill="#F80000" width="44.7" height="2.1"/>
<rect x="241.7" y="354.6" fill="#F80000" width="44.7" height="2.1"/>
<rect x="241.7" y="352.4" fill="#FFFFFF" width="44.7" height="2.2"/>
<rect x="241.7" y="331.5" fill="#FFFFFF" width="44.7" height="2.1"/>
<rect x="241.7" y="333.7" fill="#F80000" width="44.7" height="2"/>
<rect x="241.7" y="350.5" fill="#F80000" width="44.7" height="1.9"/>
<rect x="241.7" y="348.3" fill="#FFFFFF" width="44.7" height="2.2"/>
<rect x="241.7" y="335.7" fill="#FFFFFF" width="44.7" height="2.2"/>
<rect x="241.7" y="346.2" fill="#F80000" width="44.7" height="2.1"/>
<rect x="241.7" y="337.9" fill="#F80000" width="44.7" height="2"/>
<rect x="241.7" y="340" fill="#FFFFFF" width="44.7" height="2.1"/>
<rect x="241.7" y="344" fill="#FFFFFF" width="44.7" height="2.1"/>
<rect x="241.7" y="342.1" fill="#F80000" width="44.7" height="2"/>
</g>
<rect x="241.7" y="329.5" fill="#324B5C" width="17.9" height="14.6"/>
<g>
<polygon fill="#FFFFFF" points="242.3,330.6 242.8,330.6 243,330 243.1,330.6 243.7,330.6 243.2,331 243.4,331.6 243,331.2
242.5,331.6 242.7,331 "/>
<polygon fill="#FFFFFF" points="245.3,330.6 245.9,330.6 246,330 246.2,330.6 246.7,330.6 246.3,331 246.5,331.6 246,331.2
245.6,331.6 245.7,331 "/>
<polygon fill="#FFFFFF" points="248.4,330.6 248.9,330.6 249.1,330 249.3,330.6 249.8,330.6 249.4,331 249.6,331.6 249.1,331.2
248.7,331.6 248.8,331 "/>
<polygon fill="#FFFFFF" points="251.5,330.6 252,330.6 252.2,330 252.4,330.6 252.9,330.6 252.5,331 252.6,331.6 252.2,331.2
251.8,331.6 251.9,331 "/>
<polygon fill="#FFFFFF" points="254.6,330.6 255.1,330.6 255.3,330 255.4,330.6 256,330.6 255.5,331 255.7,331.6 255.3,331.2
254.9,331.6 255,331 "/>
<polygon fill="#FFFFFF" points="257.6,330.6 258.2,330.6 258.4,330 258.5,330.6 259.1,330.6 258.6,331 258.8,331.6 258.4,331.2
257.9,331.6 258.1,331 "/>
<polygon fill="#FFFFFF" points="242.3,333.5 242.8,333.5 243,333 243.1,333.5 243.7,333.5 243.2,333.9 243.4,334.5 243,334.1
242.5,334.5 242.7,333.9 "/>
<polygon fill="#FFFFFF" points="245.3,333.5 245.9,333.5 246,333 246.2,333.5 246.7,333.5 246.3,333.9 246.5,334.5 246,334.1
245.6,334.5 245.7,333.9 "/>
<polygon fill="#FFFFFF" points="248.4,333.5 248.9,333.5 249.1,333 249.3,333.5 249.8,333.5 249.4,333.9 249.6,334.5
249.1,334.1 248.7,334.5 248.8,333.9 "/>
<polygon fill="#FFFFFF" points="251.5,333.5 252,333.5 252.2,333 252.4,333.5 252.9,333.5 252.5,333.9 252.6,334.5 252.2,334.1
251.8,334.5 251.9,333.9 "/>
<polygon fill="#FFFFFF" points="254.6,333.5 255.1,333.5 255.3,333 255.4,333.5 256,333.5 255.5,333.9 255.7,334.5 255.3,334.1
254.9,334.5 255,333.9 "/>
<polygon fill="#FFFFFF" points="257.6,333.5 258.2,333.5 258.4,333 258.5,333.5 259.1,333.5 258.6,333.9 258.8,334.5
258.4,334.1 257.9,334.5 258.1,333.9 "/>
<polygon fill="#FFFFFF" points="242.3,336.4 242.8,336.4 243,335.8 243.1,336.4 243.7,336.4 243.2,336.8 243.4,337.4 243,337
242.5,337.4 242.7,336.8 "/>
<polygon fill="#FFFFFF" points="245.3,336.4 245.9,336.4 246,335.8 246.2,336.4 246.7,336.4 246.3,336.8 246.5,337.4 246,337
245.6,337.4 245.7,336.8 "/>
<polygon fill="#FFFFFF" points="248.4,336.4 248.9,336.4 249.1,335.8 249.3,336.4 249.8,336.4 249.4,336.8 249.6,337.4
249.1,337 248.7,337.4 248.8,336.8 "/>
<polygon fill="#FFFFFF" points="251.5,336.4 252,336.4 252.2,335.8 252.4,336.4 252.9,336.4 252.5,336.8 252.6,337.4 252.2,337
251.8,337.4 251.9,336.8 "/>
<polygon fill="#FFFFFF" points="254.6,336.4 255.1,336.4 255.3,335.8 255.4,336.4 256,336.4 255.5,336.8 255.7,337.4 255.3,337
254.9,337.4 255,336.8 "/>
<polygon fill="#FFFFFF" points="257.6,336.4 258.2,336.4 258.4,335.8 258.5,336.4 259.1,336.4 258.6,336.8 258.8,337.4
258.4,337 257.9,337.4 258.1,336.8 "/>
<polygon fill="#FFFFFF" points="242.3,339.4 242.8,339.4 243,338.8 243.1,339.4 243.7,339.4 243.2,339.8 243.4,340.4 243,340
242.6,340.4 242.7,339.8 "/>
<polygon fill="#FFFFFF" points="245.3,339.4 245.9,339.4 246.1,338.8 246.2,339.4 246.8,339.4 246.3,339.8 246.5,340.4
246.1,340 245.6,340.4 245.8,339.8 "/>
<polygon fill="#FFFFFF" points="248.4,339.4 248.9,339.4 249.1,338.8 249.3,339.4 249.8,339.4 249.4,339.8 249.6,340.4
249.1,340 248.7,340.4 248.8,339.8 "/>
<polygon fill="#FFFFFF" points="251.5,339.4 252,339.4 252.2,338.8 252.4,339.4 252.9,339.4 252.5,339.8 252.6,340.4 252.2,340
251.8,340.4 251.9,339.8 "/>
<polygon fill="#FFFFFF" points="254.6,339.4 255.1,339.4 255.3,338.8 255.5,339.4 256,339.4 255.6,339.8 255.7,340.4 255.3,340
254.9,340.4 255,339.8 "/>
<polygon fill="#FFFFFF" points="257.7,339.4 258.2,339.4 258.4,338.8 258.5,339.4 259.1,339.4 258.6,339.8 258.8,340.4
258.4,340 257.9,340.4 258.1,339.8 "/>
<polygon fill="#FFFFFF" points="242.3,342.3 242.8,342.3 243,341.7 243.1,342.3 243.7,342.3 243.2,342.6 243.4,343.2 243,342.8
242.6,343.2 242.7,342.6 "/>
<polygon fill="#FFFFFF" points="245.3,342.3 245.9,342.3 246.1,341.7 246.2,342.3 246.8,342.3 246.3,342.6 246.5,343.2
246.1,342.8 245.6,343.2 245.8,342.6 "/>
<polygon fill="#FFFFFF" points="248.4,342.3 248.9,342.3 249.1,341.7 249.3,342.3 249.8,342.3 249.4,342.6 249.6,343.2
249.1,342.8 248.7,343.2 248.8,342.6 "/>
<polygon fill="#FFFFFF" points="251.5,342.3 252,342.3 252.2,341.7 252.4,342.3 252.9,342.3 252.5,342.6 252.6,343.2
252.2,342.8 251.8,343.2 251.9,342.6 "/>
<polygon fill="#FFFFFF" points="254.6,342.3 255.1,342.3 255.3,341.7 255.5,342.3 256,342.3 255.6,342.6 255.7,343.2
255.3,342.8 254.9,343.2 255,342.6 "/>
<polygon fill="#FFFFFF" points="257.7,342.3 258.2,342.3 258.4,341.7 258.5,342.3 259.1,342.3 258.6,342.6 258.8,343.2
258.4,342.8 257.9,343.2 258.1,342.6 "/>
<polygon fill="#FFFFFF" points="243.8,340.8 244.3,340.8 244.5,340.2 244.7,340.8 245.2,340.8 244.8,341.2 244.9,341.7
244.5,341.4 244.1,341.7 244.2,341.2 "/>
<polygon fill="#FFFFFF" points="246.9,340.8 247.4,340.8 247.6,340.2 247.7,340.8 248.3,340.8 247.9,341.2 248,341.7
247.6,341.4 247.2,341.7 247.3,341.2 "/>
<polygon fill="#FFFFFF" points="249.9,340.8 250.5,340.8 250.7,340.2 250.8,340.8 251.4,340.8 250.9,341.2 251.1,341.7
250.7,341.4 250.2,341.7 250.4,341.2 "/>
<polygon fill="#FFFFFF" points="253,340.8 253.5,340.8 253.7,340.2 253.9,340.8 254.4,340.8 254,341.2 254.2,341.7 253.7,341.4
253.3,341.7 253.4,341.2 "/>
<polygon fill="#FFFFFF" points="256.1,340.8 256.6,340.8 256.8,340.2 257,340.8 257.5,340.8 257.1,341.2 257.3,341.7
256.8,341.4 256.4,341.7 256.5,341.2 "/>
<polygon fill="#FFFFFF" points="243.8,337.9 244.3,337.9 244.5,337.3 244.7,337.9 245.2,337.9 244.8,338.3 244.9,338.9
244.5,338.5 244.1,338.9 244.2,338.3 "/>
<polygon fill="#FFFFFF" points="246.9,337.9 247.4,337.9 247.6,337.3 247.7,337.9 248.3,337.9 247.9,338.3 248,338.9
247.6,338.5 247.2,338.9 247.3,338.3 "/>
<polygon fill="#FFFFFF" points="249.9,337.9 250.5,337.9 250.7,337.3 250.8,337.9 251.4,337.9 250.9,338.3 251.1,338.9
250.7,338.5 250.2,338.9 250.4,338.3 "/>
<polygon fill="#FFFFFF" points="253,337.9 253.5,337.9 253.7,337.3 253.9,337.9 254.4,337.9 254,338.3 254.2,338.9 253.7,338.5
253.3,338.9 253.4,338.3 "/>
<polygon fill="#FFFFFF" points="256.1,337.9 256.6,337.9 256.8,337.3 257,337.9 257.5,337.9 257.1,338.3 257.3,338.9
256.8,338.5 256.4,338.9 256.5,338.3 "/>
<polygon fill="#FFFFFF" points="243.8,335 244.3,335 244.5,334.4 244.7,335 245.2,335 244.8,335.4 245,336 244.5,335.6
244.1,336 244.2,335.4 "/>
<polygon fill="#FFFFFF" points="246.9,335 247.4,335 247.6,334.4 247.8,335 248.3,335 247.9,335.4 248,336 247.6,335.6
247.2,336 247.3,335.4 "/>
<polygon fill="#FFFFFF" points="250,335 250.5,335 250.7,334.4 250.9,335 251.4,335 251,335.4 251.1,336 250.7,335.6 250.3,336
250.4,335.4 "/>
<polygon fill="#FFFFFF" points="253.1,335 253.6,335 253.8,334.4 253.9,335 254.5,335 254,335.4 254.2,336 253.8,335.6
253.3,336 253.5,335.4 "/>
<polygon fill="#FFFFFF" points="256.1,335 256.7,335 256.8,334.4 257,335 257.5,335 257.1,335.4 257.3,336 256.8,335.6
256.4,336 256.5,335.4 "/>
<polygon fill="#FFFFFF" points="243.8,332.1 244.3,332.1 244.5,331.5 244.7,332.1 245.2,332.1 244.8,332.5 245,333.1
244.5,332.7 244.1,333.1 244.2,332.5 "/>
<polygon fill="#FFFFFF" points="246.9,332.1 247.4,332.1 247.6,331.5 247.8,332.1 248.3,332.1 247.9,332.5 248,333.1
247.6,332.7 247.2,333.1 247.3,332.5 "/>
<polygon fill="#FFFFFF" points="250,332.1 250.5,332.1 250.7,331.5 250.9,332.1 251.4,332.1 251,332.5 251.1,333.1 250.7,332.7
250.3,333.1 250.4,332.5 "/>
<polygon fill="#FFFFFF" points="253.1,332.1 253.6,332.1 253.8,331.5 253.9,332.1 254.5,332.1 254,332.5 254.2,333.1
253.8,332.7 253.3,333.1 253.5,332.5 "/>
<polygon fill="#FFFFFF" points="256.1,332.1 256.7,332.1 256.8,331.5 257,332.1 257.5,332.1 257.1,332.5 257.3,333.1
256.8,332.7 256.4,333.1 256.5,332.5 "/>
</g>
</g>
</g>
<g id="japanboxrise">
<rect x="232" y="311.6" fill="#8AADBF" width="63.2" height="63.2"/>
<g>
<rect x="241.4" y="329.4" fill="#FFFFFF" width="44.5" height="28.8"/>
<circle fill="#F80000" cx="263.3" cy="343.8" r="8.3"/>
</g>
</g>
<g id="ukboxrise">
<rect x="232" y="311.6" fill="#8AADBF" width="63.2" height="63.2"/>
<g>
<rect x="241.7" y="329.5" fill="#324B5C" width="44.4" height="27.1"/>
<polygon fill="#FFFFFF" points="281.1,329.5 267.6,337.8 241.7,353.7 241.7,356.7 246.7,356.7 286.1,332.5 286.1,329.5
285.3,329.5 "/>
<polygon fill="#FFFFFF" points="286.1,353.7 246.8,329.5 241.7,329.5 241.7,332.6 281.1,356.7 286.1,356.7 "/>
<polygon fill="#FFFFFF" points="286.1,347.6 241.7,347.6 241.7,338.6 286.1,338.6 "/>
<polygon fill="#FFFFFF" points="260.2,329.5 260.2,356.7 267.6,356.7 267.6,329.5 "/>
<polygon fill="#F80000" points="286.1,340.4 241.7,340.4 241.7,345.8 286.1,345.8 "/>
<polygon fill="#F80000" points="282.8,329.5 267.9,338.6 271.3,338.6 286.1,329.5 285.3,329.5 "/>
<polygon fill="#F80000" points="266.1,329.5 266.1,356.7 261.7,356.7 261.7,329.5 "/>
<polygon fill="#F80000" points="241.7,329.5 256.4,338.6 253.2,338.6 241.7,331.5 "/>
<polygon fill="#F80000" points="241.7,356.7 256.4,347.6 259.7,347.6 245.1,356.7 "/>
<polygon fill="#F80000" points="271.4,347.6 286.1,356.7 286.1,354.6 274.6,347.6 "/>
</g>
</g>
</g>
</svg>
</div>
#robotanimation{
width: 652px;
height: 400px;
}
$(function() {
startAd();
})
startAd = function()
{
var wholearm, elbowsection, wristsection, pincerright, pincerleft, germanybox, usabox, japanbox, ukbox, germanyboxmoveoff, usaboxmoveoff, japanboxmoveoff, ukboxmoveoff, germanyboxrise, usaboxrise, japanboxrise, ukboxrise;
var cog, robotanimation;
var germanymoveoffanifunc, ukmoveoffanifunc, japanmoveoffanifunc, usamoveoffanifunc;
wholearm = document.getElementById("wholearm");
elbowsection = document.getElementById("elbowsection");
wristsection = document.getElementById("wristsection");
pincerright = document.getElementById("pincerright");
pincerleft = document.getElementById("pincerleft");
germanybox = document.getElementById("germanybox");
usabox = document.getElementById("usabox");
japanbox = document.getElementById("japanbox");
ukbox = document.getElementById("ukbox");
germanyboxmoveoff = document.getElementById("germanyboxmoveoff");
usaboxmoveoff = document.getElementById("usaboxmoveoff");
japanboxmoveoff = document.getElementById("japanboxmoveoff");
ukboxmoveoff = document.getElementById("ukboxmoveoff");
germanyboxrise = document.getElementById("germanyboxrise");
usaboxrise = document.getElementById("usaboxrise");
japanboxrise = document.getElementById("japanboxrise");
ukboxrise = document.getElementById("ukboxrise");
cog = document.getElementById("cog");
TweenMax.set(wholearm, {transformOrigin:"49px 157px"})
TweenMax.set(elbowsection, {transformOrigin:"40px 40px"})
TweenMax.set(wristsection, {transformOrigin:"54px 23px"})
TweenMax.set(pincerright, {transformOrigin:"19px 19px"})
TweenMax.set(pincerleft, {transformOrigin:"54px 19px"})
TweenMax.set([usabox, japanbox, ukbox], {display:"none"})
TweenMax.set([germanybox, usabox, japanbox, ukbox], {rotation:0})
TweenMax.set(germanyboxmoveoff, {display:"none"})
TweenMax.set(cog, {transformOrigin:"18px 18px"})
TweenMax.set(cog, {transformOrigin:"18px 18px"})
// TweenMax.set([germanyboxrise, ukboxrise, japanboxrise, usaboxrise], {y:"+=65"})
var robotanimation = new TimelineMax({repeat:-1});
//pickup germany
robotanimation.to(germanybox, 0.2, {display:"block"})
.to(germanyboxrise, 0.1, {opacity:0},"-=0.2")
.call(germanyboxriseresetfunc)
.to(wholearm, 1.5, {rotation:-30, ease: Back.easeOut.config(1)})
.to(elbowsection, 1.5, {rotation:30, ease: Back.easeOut.config(1)},"-=1.5")
.to(wholearm, 1.5, {rotation:0, ease: Back.easeOut.config(1)})
.to(elbowsection, 1.5, {rotation:-50, ease: Back.easeOut.config(1)},"-=1.5")
.to(wristsection, 1.5, {rotation:50, ease: Back.easeOut.config(1)},"-=1.5")
.to(pincerright, 0.2, {rotation:-20, ease: Back.easeOut.config(1)})
.to(pincerleft, 0.2, {rotation:20, ease: Back.easeOut.config(1)},"-=0.2")
.to(germanybox, 0.3, {y:"+=23", rotation:-4, ease: Bounce.easeOut},"-=0.2")
.call(germanymoveoffanifunc, ["param1"], this, "-=0.05")
.to(germanybox, 0.3, {rotation:0, ease: Bounce.easeOut},"-=0.1")
.to(germanybox, 0.1, {display:"none"},"-=0.3")
.to(germanyboxmoveoff, 0.1, {display:"block"},"-=0.2")
// drop germany
.to(wholearm, 1.5, {rotation:-40, ease: Back.easeOut.config(1)})
.to(elbowsection, 1.5, {rotation:40, ease: Back.easeOut.config(1)},"-=1.5")
.to(wristsection, 1.5, {rotation:0, ease: Back.easeOut.config(1)},"-=1.5")
.to(wholearm, 1.5, {rotation:0, ease: Back.easeOut.config(1)})
.to(elbowsection, 1.5, {rotation:0, ease: Back.easeOut.config(1)},"-=1.5")
.to(pincerright, 0.2, {rotation:0, ease: Back.easeOut.config(1)})
.to(pincerleft, 0.2, {rotation:0, ease: Back.easeOut.config(1)},"-=0.2")
//pickup uk
.to(ukbox, 0.2, {display:"block"})
.to(ukboxrise, 0.1, {opacity:0},"-=0.2")
.call(ukboxriseresetfunc)
.to(wholearm, 1.5, {rotation:-30, ease: Back.easeOut.config(1)})
.to(elbowsection, 1.5, {rotation:30, ease: Back.easeOut.config(1)},"-=1.5")
.to(wholearm, 1.5, {rotation:0, ease: Back.easeOut.config(1)})
.to(elbowsection, 1.5, {rotation:-50, ease: Back.easeOut.config(1)},"-=1.5")
.to(wristsection, 1.5, {rotation:50, ease: Back.easeOut.config(1)},"-=1.5")
.to(pincerright, 0.2, {rotation:-20, ease: Back.easeOut.config(1)})
.to(pincerleft, 0.2, {rotation:20, ease: Back.easeOut.config(1)},"-=0.2")
.to(ukbox, 0.3, {y:"+=23", rotation:-4, ease: Bounce.easeOut},"-=0.2")
.call(ukmoveoffanifunc, ["param1"], this, "-=0.05")
.to(ukbox, 0.3, {rotation:0, ease: Bounce.easeOut},"-=0.1")
.to(ukbox, 0.1, {display:"none"},"-=0.3")
.to(ukboxmoveoff, 0.1, {display:"block"},"-=0.2")
// drop uk
.to(wholearm, 1.5, {rotation:-40, ease: Back.easeOut.config(1)})
.to(elbowsection, 1.5, {rotation:40, ease: Back.easeOut.config(1)},"-=1.5")
.to(wristsection, 1.5, {rotation:0, ease: Back.easeOut.config(1)},"-=1.5")
.to(wholearm, 1.5, {rotation:0, ease: Back.easeOut.config(1)})
.to(elbowsection, 1.5, {rotation:0, ease: Back.easeOut.config(1)},"-=1.5")
.to(pincerright, 0.2, {rotation:0, ease: Back.easeOut.config(1)})
.to(pincerleft, 0.2, {rotation:0, ease: Back.easeOut.config(1)},"-=0.2")
//pickup japan
.to(japanbox, 0.2, {display:"block"})
.to(japanboxrise, 0.1, {opacity:0},"-=0.2")
.call(japanboxriseresetfunc)
.to(wholearm, 1.5, {rotation:-30, ease: Back.easeOut.config(1)})
.to(elbowsection, 1.5, {rotation:30, ease: Back.easeOut.config(1)},"-=1.5")
.to(wholearm, 1.5, {rotation:0, ease: Back.easeOut.config(1)})
.to(elbowsection, 1.5, {rotation:-50, ease: Back.easeOut.config(1)},"-=1.5")
.to(wristsection, 1.5, {rotation:50, ease: Back.easeOut.config(1)},"-=1.5")
.to(pincerright, 0.2, {rotation:-20, ease: Back.easeOut.config(1)})
.to(pincerleft, 0.2, {rotation:20, ease: Back.easeOut.config(1)},"-=0.2")
.to(japanbox, 0.3, {y:"+=23", rotation:-4, ease: Bounce.easeOut},"-=0.2")
.call(japanmoveoffanifunc, ["param1"], this, "-=0.05")
.to(japanbox, 0.3, {rotation:0, ease: Bounce.easeOut},"-=0.1")
.to(japanbox, 0.1, {display:"none"},"-=0.3")
.to(japanboxmoveoff, 0.1, {display:"block"},"-=0.2")
// drop japan
.to(wholearm, 1.5, {rotation:-40, ease: Back.easeOut.config(1)})
.to(elbowsection, 1.5, {rotation:40, ease: Back.easeOut.config(1)},"-=1.5")
.to(wristsection, 1.5, {rotation:0, ease: Back.easeOut.config(1)},"-=1.5")
.to(wholearm, 1.5, {rotation:0, ease: Back.easeOut.config(1)})
.to(elbowsection, 1.5, {rotation:0, ease: Back.easeOut.config(1)},"-=1.5")
.to(pincerright, 0.2, {rotation:0, ease: Back.easeOut.config(1)})
.to(pincerleft, 0.2, {rotation:0, ease: Back.easeOut.config(1)},"-=0.2")
//pickup usa
.to(usabox, 0.2, {display:"block"})
.to(usaboxrise, 0.1, {opacity:0},"-=0.2")
.call(usaboxriseresetfunc)
.to(wholearm, 1.5, {rotation:-30, ease: Back.easeOut.config(1)})
.to(elbowsection, 1.5, {rotation:30, ease: Back.easeOut.config(1)},"-=1.5")
.to(wholearm, 1.5, {rotation:0, ease: Back.easeOut.config(1)})
.to(elbowsection, 1.5, {rotation:-50, ease: Back.easeOut.config(1)},"-=1.5")
.to(wristsection, 1.5, {rotation:50, ease: Back.easeOut.config(1)},"-=1.5")
.to(pincerright, 0.2, {rotation:-20, ease: Back.easeOut.config(1)})
.to(pincerleft, 0.2, {rotation:20, ease: Back.easeOut.config(1)},"-=0.2")
.to(usabox, 0.3, {y:"+=23", rotation:-4, ease: Bounce.easeOut},"-=0.2")
.call(usamoveoffanifunc, ["param1"], this, "-=0.05")
.to(usabox, 0.3, {rotation:0, ease: Bounce.easeOut},"-=0.1")
.to(usabox, 0.1, {display:"none"},"-=0.3")
.to(usaboxmoveoff, 0.1, {display:"block"},"-=0.2")
// drop usa
.to(wholearm, 1.5, {rotation:-40, ease: Back.easeOut.config(1)})
.to(elbowsection, 1.5, {rotation:40, ease: Back.easeOut.config(1)},"-=1.5")
.to(wristsection, 1.5, {rotation:0, ease: Back.easeOut.config(1)},"-=1.5")
.to(wholearm, 1.5, {rotation:0, ease: Back.easeOut.config(1)})
.to(elbowsection, 1.5, {rotation:0, ease: Back.easeOut.config(1)},"-=1.5")
.to(pincerright, 0.2, {rotation:0, ease: Back.easeOut.config(1)})
.to(pincerleft, 0.2, {rotation:0, ease: Back.easeOut.config(1)},"-=0.2")
//cog animation
TweenMax.to(cog, 1.5, {rotation:360, repeat:-1, ease:Linear.easeNone})
//moveoff functions
function germanymoveoffanifunc(){
germanymoveoffani.play();
}
function ukmoveoffanifunc(){
ukmoveoffani.play();
}
function japanmoveoffanifunc(){
japanmoveoffani.play();
}
function usamoveoffanifunc(){
usamoveoffani.play();
}
//moveoff animations
var germanymoveoffani = new TimelineMax({paused:true, onComplete:function(){this.pause(0)}});
germanymoveoffani.from(germanyboxmoveoff, 0.1, {display:"none"})
.to(germanyboxmoveoff, 20, {x:"+=340px", ease: Power0.easeNone, onComplete:resetgermany})
.from(ukboxrise, 1, {y:"+=65px", ease: Power0.easeNone},"-=18")
// .set([germanybox, usabox, japanbox, ukbox], {rotation:-8});
// .fromTo(ukboxrise, 0.3,{y:-2}, {y:2, ease:RoughEase.ease.config({strength:4, points:4, template:Linear.easeNone, randomize:false}) , clearProps:"y"},"-=17");
var ukmoveoffani = new TimelineMax({paused:true, onComplete:function(){this.pause(0)}});
ukmoveoffani.from(ukboxmoveoff, 0.1, {display:"none"})
.to(ukboxmoveoff, 20, {x:"+=340px", ease: Power0.easeNone, onComplete:resetuk})
.from(japanboxrise, 1, {y:"+=65px", ease: Power0.easeNone},"-=18");
var japanmoveoffani = new TimelineMax({paused:true, onComplete:function(){this.pause(0)}});
japanmoveoffani.from(japanboxmoveoff, 0.1, {display:"none"})
.to(japanboxmoveoff, 20, {x:"+=340px", ease: Power0.easeNone, onComplete:resetjapan})
.from(usaboxrise, 1, {y:"+=65px", ease: Power0.easeNone},"-=18");
var usamoveoffani = new TimelineMax({paused:true, onComplete:function(){this.pause(0)}});
usamoveoffani.from(usaboxmoveoff, 0.1, {display:"none"})
.to(usaboxmoveoff, 20, {x:"+=340px", ease: Power0.easeNone, onComplete:resetusa})
.from(germanyboxrise, 1, {y:"+=65px", ease: Power0.easeNone},"-=18");
}
//reset move off
function resetgermany(){
TweenMax.set(germanyboxmoveoff, {x:"-=340px", display:"none"});
}
function resetuk(){
TweenMax.set(ukboxmoveoff, {x:"-=340px", display:"none"})
}
function resetjapan(){
TweenMax.set(japanboxmoveoff, {x:"-=340px", display:"none"})
}
function resetusa(){
TweenMax.set(usaboxmoveoff, {x:"-=340px", display:"none"})
}
//reset rise
function germanyboxriseresetfunc(){
TweenMax.set(germanyboxrise, {y:"+=65", opacity:1})
}
function ukboxriseresetfunc(){
TweenMax.set(ukboxrise, {y:"+=65", opacity:1})
}
function japanboxriseresetfunc(){
TweenMax.set(japanboxrise, {y:"+=65", opacity:1})
}
function usaboxriseresetfunc(){
TweenMax.set(usaboxrise, {y:"+=65", opacity:1})
}
Also see: Tab Triggers