var addToHome=function(n){function it(){if(b){var t=Date.now(),u;if(n.addToHomeConfig)for(u in n.addToHomeConfig)i[u]=n.addToHomeConfig[u];i.autostart||(i.hookOnLoad=!1),e=/ipad/gi.test(f.platform),k=n.devicePixelRatio&&n.devicePixelRatio>1,d=/Safari/i.test(f.appVersion)&&!/CriOS/i.test(f.appVersion),g=f.standalone,r=f.appVersion.match(/OS (\d+_\d+)/i),r=r[1]?+r[1].replace("_","."):0,s=+n.localStorage.getItem("addToHome"),p=n.sessionStorage.getItem("addToHomeSession"),c=i.returningVisitor?s&&s+24192e5>t:!0,s||(s=t),y=c&&s<=t,i.hookOnLoad?n.addEventListener("load",a,!1):!i.hookOnLoad&&i.autostart&&a()}}function a(){if(n.removeEventListener("load",a,!1),c?i.expire&&y&&n.localStorage.setItem("addToHome",Date.now()+i.expire*6e4):n.localStorage.setItem("addToHome",Date.now()),nt||d&&y&&!p&&!g&&c){var s=i.touchIcon?document.querySelectorAll("head link[rel=apple-touch-icon],head link[rel=apple-touch-icon-precomposed]"):[],h,u="",v,tt=f.platform.split(" ")[0],w=f.language.replace("-","_"),o,b;if(t=document.createElement("div"),t.id="addToHomeScreen",t.style.cssText+="left:-9999px;-webkit-transition-property:-webkit-transform,opacity;-webkit-transition-duration:0;-webkit-transform:translate3d(0,0,0);position:"+(r<5?"absolute":"fixed"),i.message in l&&(w=i.message,i.message=""),i.message===""&&(i.message=w in l?l[w]:l.en_us),s.length){for(o=0,b=s.length;o<b;o++)if(h=s[o].getAttribute("sizes"),h){if(k&&h=="114x114"){u=s[o].href;break}}else u=s[o].href;u='<span style="background-image:url('+u+')" class="addToHomeTouchIcon"><\/span>'}t.className=(e?"addToHomeIpad":"addToHomeIphone")+(u?" addToHomeWide":""),t.innerHTML=u+i.message.replace("%device",tt).replace("%icon",r>=4.2?'<span class="addToHomeShare"><\/span>':'<span class="addToHomePlus">+<\/span>')+(i.arrow?'<span class="addToHomeArrow"><\/span>':"")+'<span class="addToHomeClose">×<\/span>',document.body.appendChild(t),v=t.querySelector(".addToHomeClose"),v&&v.addEventListener("click",ft,!1),setTimeout(rt,i.startDelay)}}function rt(){var f,s=160;if(e){r<5&&(u=n.scrollY,o=n.scrollX,s=208),t.style.top=u+i.bottomOffset+"px",t.style.left=o+s-Math.round(t.offsetWidth/2)+"px";switch(i.animationIn){case"drop":f="0.6s",t.style.webkitTransform="translate3d(0,"+-(n.scrollY+i.bottomOffset+t.offsetHeight)+"px,0)";break;case"bubble":f="0.6s",t.style.opacity="0",t.style.webkitTransform="translate3d(0,"+(u+50)+"px,0)";break;default:f="1s",t.style.opacity="0"}}else{u=n.innerHeight+n.scrollY,r<5?(o=Math.round((n.innerWidth-t.offsetWidth)/2)+n.scrollX,t.style.left=o+"px",t.style.top=u-t.offsetHeight-i.bottomOffset+"px"):(t.style.left="50%",t.style.marginLeft=-Math.round(t.offsetWidth/2)+"px",t.style.bottom=i.bottomOffset+"px");switch(i.animationIn){case"drop":f="1s",t.style.webkitTransform="translate3d(0,"+-(u+i.bottomOffset)+"px,0)";break;case"bubble":f="0.6s",t.style.webkitTransform="translate3d(0,"+(t.offsetHeight+i.bottomOffset+50)+"px,0)";break;default:f="1s",t.style.opacity="0"}}t.offsetHeight,t.style.webkitTransitionDuration=f,t.style.opacity="1",t.style.webkitTransform="translate3d(0,0,0)",t.addEventListener("webkitTransitionEnd",w,!1),h=setTimeout(v,i.lifespan)}function ut(n){b&&!t&&(nt=n,a())}function v(){clearInterval(tt),clearTimeout(h),h=null;var f=0,l=0,c="1",s="0",a=t.querySelector(".addToHomeClose");a&&a.removeEventListener("click",v,!1),r<5&&(f=e?n.scrollY-u:n.scrollY+n.innerHeight-u,l=e?n.scrollX-o:n.scrollX+Math.round((n.innerWidth-t.offsetWidth)/2)-o),t.style.webkitTransitionProperty="-webkit-transform,opacity";switch(i.animationOut){case"drop":e?(s="0.4s",c="0",f=f+50):(s="0.6s",f=f+t.offsetHeight+i.bottomOffset+50);break;case"bubble":e?(s="0.8s",f=f-t.offsetHeight-i.bottomOffset-50):(s="0.4s",c="0",f=f-50);break;default:s="0.8s",c="0"}t.addEventListener("webkitTransitionEnd",w,!1),t.style.opacity=c,t.style.webkitTransitionDuration=s,t.style.webkitTransform="translate3d("+l+"px,"+f+"px,0)"}function ft(){n.sessionStorage.setItem("addToHomeSession","1"),p=!0,v()}function w(){if(t.removeEventListener("webkitTransitionEnd",w,!1),t.style.webkitTransitionProperty="-webkit-transform",t.style.webkitTransitionDuration="0.2s",!h){t.parentNode.removeChild(t),t=null;return}r<5&&h&&(tt=setInterval(et,i.iterations))}function et(){var i=new WebKitCSSMatrix(n.getComputedStyle(t,null).webkitTransform),r=e?n.scrollY-u:n.scrollY+n.innerHeight-u,f=e?n.scrollX-o:n.scrollX+Math.round((n.innerWidth-t.offsetWidth)/2)-o;(r!=i.m42||f!=i.m41)&&(t.style.webkitTransform="translate3d("+f+"px,"+r+"px,0)")}function ot(){n.localStorage.removeItem("addToHome"),n.sessionStorage.removeItem("addToHomeSession")}var f=n.navigator,b="platform"in f&&/iphone|ipod|ipad/gi.test(f.platform),e,k,d,g,r,o=0,u=0,s=0,y,p,c,t,nt,tt,h,i={autostart:!0,returningVisitor:!1,animationIn:"drop",animationOut:"fade",startDelay:2e3,lifespan:15e3,bottomOffset:14,expire:0,message:"",touchIcon:!1,arrow:!0,hookOnLoad:!0,iterations:100},l={ca_es:"Per instal·lar aquesta aplicació al vostre %device premeu %icon i llavors <strong>Afegir a pantalla d'inici<\/strong>.",cs_cz:"Pro instalaci aplikace na Váš %device, stiskněte %icon a v nabídce <strong>Přidat na plochu<\/strong>.",da_dk:"Tilføj denne side til din %device: tryk på %icon og derefter <strong>Føj til hjemmeskærm<\/strong>.",de_de:"Installieren Sie diese App auf Ihrem %device: %icon antippen und dann <strong>Zum Home-Bildschirm<\/strong>.",el_gr:"Εγκαταστήσετε αυτήν την Εφαρμογή στήν συσκευή σας %device: %icon μετά πατάτε <strong>Προσθήκη σε Αφετηρία<\/strong>.",en_us:"Install this web app on your %device: tap %icon and then <strong>Add to Home Screen<\/strong>.",es_es:"Para instalar esta app en su %device, pulse %icon y seleccione <strong>Añadir a pantalla de inicio<\/strong>.",fi_fi:"Asenna tämä web-sovellus laitteeseesi %device: paina %icon ja sen jälkeen valitse <strong>Lisää Koti-valikkoon<\/strong>.",fr_fr:"Ajoutez cette application sur votre %device en cliquant sur %icon, puis <strong>Ajouter à l'écran d'accueil<\/strong>.",he_il:'<span dir="rtl">התקן אפליקציה זו על ה-%device שלך: הקש %icon ואז <strong>הוסף למסך הבית<\/strong>.<\/span>',hu_hu:"Telepítse ezt a web-alkalmazást az Ön %device-jára: nyomjon a %icon-ra majd a <strong>Főképernyőhöz adás<\/strong> gombra.",it_it:"Installa questa applicazione sul tuo %device: premi su %icon e poi <strong>Aggiungi a Home<\/strong>.",ja_jp:"このウェブアプリをあなたの%deviceにインストールするには%iconをタップして<strong>ホーム画面に追加<\/strong>を選んでください。",ko_kr:'%device에 웹앱을 설치하려면 %icon을 터치 후 "홈화면에 추가"를 선택하세요',nb_no:"Installer denne appen på din %device: trykk på %icon og deretter <strong>Legg til på Hjem-skjerm<\/strong>",nl_nl:"Installeer deze webapp op uw %device: tik %icon en dan <strong>Zet in beginscherm<\/strong>.",pl_pl:"Aby zainstalować tę aplikacje na %device: naciśnij %icon a następnie <strong>Dodaj jako ikonę<\/strong>.",pt_br:"Instale este web app em seu %device: aperte %icon e selecione <strong>Adicionar à Tela Inicio<\/strong>.",pt_pt:"Para instalar esta aplicação no seu %device, prima o %icon e depois o <strong>Adicionar ao ecrã principal<\/strong>.",ru_ru:"Установите это веб-приложение на ваш %device: нажмите %icon, затем <strong>Добавить в «Домой»<\/strong>.",sv_se:"Lägg till denna webbapplikation på din %device: tryck på %icon och därefter <strong>Lägg till på hemskärmen<\/strong>.",th_th:"ติดตั้งเว็บแอพฯ นี้บน %device ของคุณ: แตะ %icon และ <strong>เพิ่มที่หน้าจอโฮม<\/strong>",tr_tr:"%device için bu uygulamayı kurduktan sonra %icon simgesine dokunarak <strong>Ana Ekrana Ekle<\/strong>yin.",zh_cn:"您可以将此应用程式安装到您的 %device 上。请按 %icon 然后点选<strong>添加至主屏幕<\/strong>。",zh_tw:"您可以將此應用程式安裝到您的 %device 上。請按 %icon 然後點選<strong>加入主畫面螢幕<\/strong>。"};return it(),{show:ut,close:v,reset:ot}}(this)