'use strict'; (function(){var a=window.location.href,b=a.substr(a.length-1),c=a.split('#'),d=$('head').find('title'),e=$('.year'),f=new Date,g=f.getYear();1900>g&&(g+=1900),e.text(g);var h=function(){$('.bottom-left-svg').click(function(){window.location.assign(”+c)})},i=function(){$('.bottom-right-svg').click(function(){window.location.assign('{{ site.url }}')})},j=function(){$('.bottom-right-svg').click(function(){window.location.assign('{{ site.url }}/license')})},k=function(){$('.title').typed({strings:['{{ site.author.name }}'],showCursor:!1,typeSpeed:100})},l=function(){$('.title').typed({strings:['<span>{</span><a href=“{{ site.url }}/work”>work</a><span>}<span>'],showCursor:!1,typeSpeed:100})},m=function(){$('.title').typed({strings:['<span>$(</span><a href=“{{ site.url }}/tips”>tips</a><span>)<span>'],showCursor:!1,typeSpeed:100})},n=function(){$('.title').typed({strings:[‘'],showCursor:!1,typeSpeed:100})},o=function(){$('.title').typed({strings:,showCursor:!1,typeSpeed:100})},p=function(){$('.title').typed({strings:['woah there!^2000
<span>are you lost?</span>'],showCursor:!1,typeSpeed:100})},q=function(){$('.title').typed({strings:['go on now…^1000
go <a href=“{{ site.url }}”><span class=“green”><</span><span class=“red”>home</span><span class=“green”>></span></a>'],showCursor:!1,typeSpeed:100})};$(function(){'/'===b&&k(),0<a.indexOf('work')&&(l(),j(),h()),0<a.indexOf('tips')&&(m(),j(),h()),0<a.indexOf('contact')&&(n(),j(),h()),0<a.indexOf('license')&&(o(),i(),h()),0<d.text().indexOf('404')&&(p(),$(document).ready(function(){window.setTimeout(function(){$('.alert-svg').hide(),$('.home-svg').show(),$('.title').text(''),$('.typed-cursor').removeClass('small-cursor'),q()},15000)}))})})();