'),A.close()}}function d(t,o,n){t.addEventListener?t.addEventListener(o,n,!1):t.attachEvent&&(t.attachEvent("on"+o,function(t){return function(){n.call(t,e.event)}}(t)),t=null)}function l(){if(L.hasStorage)var e=parseInt(localStorage.getItem("jv_store_cdn_resolve_time"),10);return e&&e>=(new Date).getTime()||L.cdnUnavailableState}function v(){return O.static_host&&!l()?"//"+O.static_host:O.base_url}function u(){return O.host_blacklist!==n&&O.host_blacklist.indexOf(e.location.host)>=0}function g(){O.cp_tracker_id&&O.cp_tracker_url&&(e._cp={trackerId:O.cp_tracker_id},w(O.cp_tracker_url))}function m(e){clearTimeout(D),++z>=q||P||(L.hasStorage&&(localStorage.setItem("jv_store_cdn_resolve_time",((new Date).getTime()+J).toString()),localStorage.setItem("jv_store_cdn_unavailable",e)),L.cdnUnavailableState=!0,r())}function _(){l()||(D=setTimeout(function(){!P&&m("timeout")},G))}function p(e){P||(clearTimeout(D),P=!0,R=e,c())}function f(e){e.globalStore=L,h()}function h(){R=null;for(var e=t.getElementsByTagName("head")[0],o=e.getElementsByClassName("js-jivo-bundle"),n=0;n=(new Date).getTime()&&(e=!0,S())}return e}function S(){var e="This widget is permanently removed";console.error?console.error(e):console.log?console.log(e):void 0}function E(e){if(!y()){var o=new XMLHttpRequest;o.onreadystatechange=function(){if(4==o.readyState&&200==o.status){var e=t.getElementsByTagName("script"),n=e[0],a=t.createElement("script");T(a),n.parentNode.insertBefore(a,n).innerHTML=b(o)}},o.open("GET",e+"?rnd="+Math.random(),!0),o.send(null)}}function T(e){return e.type="text/javascript",e.async=!0,e.charset="UTF-8",e}if("undefined"==typeof e.jivo_magic_var){e.jivo_magic_var=!0;var I,k,L={hasStorage:e.__hasStorage,cdnUnavailableState:!1,jivoLoaderVersion:o,loadScript:w};try{throw new Error("Get script URL")}catch(e){for(var N=e.stack.split("\n"),x=N.length,B=0;B1&&(k=C[1],I=C[2])}}if(!I||!k)throw new Error("Failed to evaluate the widgetId or configHost");var O,U,A,M,D,P,R,F=/iPhone|iPad|iPod|Android|Windows Phone/i.test(navigator.userAgent),H=t.createElement("iframe"),V=t.createElement("div"),W=0,G=F?8e3:6e3,J=12e4,X=6048e5,q=3,z=0;e.__jivoConfigOnLoad=a,e.__jivoBundleOnLoad=p,e.__jivoBundleInit=f,E("//"+k+"/script/widget/config/"+I),e.__jivoCacheDeletedWidget=j}}var t=.1;window.__hasStorage=!1;try{localStorage.setItem("testLocalStorage","ok"),localStorage.removeItem("testLocalStorage"),window.__hasStorage=!0}catch(e){}var o=e,n=null;if(window.__hasStorage){try{n=JSON.parse(localStorage.getItem("__jivoLoader"))}catch(e){}n&&n.version>=t&&(o=new Function("window","document","jivoLoaderVersion","("+n.code+")(window, document, jivoLoaderVersion)"))}o(window,document,t)}(window,document);