var onWebChat_=onWebChat_||function(){window.console||(console={log:function(){}});let U=18;function h(){return(window.performance&&window.performance.now?window.performance:Date).now()}const V=h();let y,b;var g,p,$=!1,X=0,Y=0,G=!1,J=0;let w;var l={ min_offline: { l1: 'Hors ligne -Envoyez-nous un email !', l2: 'Hors ligne -Envoyez-nous un email !' }, min_online: { l1: 'Je suis en ligne, prêt à discuter !', l2: 'En ligne, et prêt à discuter !' }, max_title: { l1: 'Discutez avec nous!', l2:'Discutez avec nous!'}, max_msg: { l1: 'En ligne, et prêt à discuter avec vous !', l2:'En ligne, et prêt à discuter avec vous !'}, max_served: { l1: 'Vous êtes servi par {{operator}}', l2:'Vous êtes servi par {{operator}}'}, max_me: { l1: 'Me:', l2: 'Me:' }, max_agent: { l1: '{{operator}}:', l2: '{{operator}}:' }, max_placeholder: { l1: 'Tapez votre message ici ...', l2: 'Tapez votre message ici ...' }, max_closed: { l1: '{{operator}} fermé le chat', l2: '{{operator}}fermé le chat' }, max_typing: {l1: '{{operator}} is typing..', l2: '{{operator}} is typing..'}, off_title:{l1: 'Laissez nous un mail nous vous répondrons dans les meilleurs délais!', l2:'Envoyez-nous un email !'}, off_msg:{l1: 'Nous ne sommes pas en ligne pour le moment. Laissez un message et nous vous recontacterons dans les plus brefs délais. Merci !', l2:'Nous ne sommes pas en ligne pour le moment. Laissez un message et nous vous recontacterons.'}, off_name: { l1:'Votre nom', l2: 'Nom'}, off_email: { l1: 'Votre Email', l2: 'Email'}, off_phone: { l1: 'Votre téléphone ( optionnel )', l2: 'Phone(optionnel)'}, off_text: { l1: 'Message', l2: 'Message'}, prechat_name: { l1:'Name(optionnel)', l2: 'Nom(optionnel)'}, prechat_email: { l1: 'Email', l2: 'Email'}, prechat_phone: { l1: 'Phone', l2: 'Phone'}, prechat_text: { l1: 'Comment pouvons-nous vous aider aujourd\'hui', l2: 'Comment pouvons-nous vous aider aujourd\'hui?'}, off_send: { l1:'Expédier', l2: 'Expédier'}, off_thank: { l1: 'Merci de nous contacter. Nous vous répondrons dans les meilleurs délais.', l2: 'Merci de nous contacter. Nous vous répondrons dans les meilleurs délais.'}, prechat_msg: { l1: 'S\'il vous plaît nous donner quelques informations pour mieux vous servir.', l2: 'Bonjour je suis Cédric Gomes du service pronostic, Et vous ?.'}, prechat_btn: { l1: 'Démarrer la discussion !', l2: 'Démarrer la discussion !'} , max_gone: { l1: 'Tous les agents sont hors ligne', l2: 'Tous les agents sont hors ligne'} , consent_text: { l1: 'I agree that my personal data, provided via chat, to be processed for using live chat service', l2: 'I agree that my personal data, provided via chat, to be processed for using live chat service'} , menu_send_file: { l1: 'Enoyez un fichier', l2: 'Send file'} , menu_email: { l1: 'Envoyez un mail', l2: 'Email transcript'} , menu_print: { l1: 'Print', l2: 'Print'} , menu_save: { l1: 'Save', l2: 'Save'} , menu_sound: { l1: 'Sound', l2: 'Sound'} , menu_end_chat: { l1: 'Finir la discussion', l2: 'End chat'} , end_chat_msg: { l1: 'Are you sure you want to close this chat?', l2: 'Are you sure you want to close this chat?'} , cancel: { l1: 'Cancel', l2: 'Cancel'} , rating_msg: { l1: 'Thank you. We would appreciate it if you could rate this chat', l2: 'Thank you. We would appreciate it if you could rate this chat'} , rating_btn: { l1: 'Submit', l2: 'Submit'} , rating_no_msg: { l1: 'No, thanks', l2: 'No, thanks'} , departments: { l1: 'Choose a department', l2: 'Choose a department'} },f="",_="",v="",Q="",K=function(){},d=function(){},c=function(){},s=function(){},ee=function(){},te=function(){},ne=function(){},oe=function(){},ae="",I="",ie=0,le=!1,de="3.15.141.184",E="l2",r="",x="",ce=(""!=O("servingOpImage")&&null!=O("servingOpImage")&&(x=O("servingOpImage")),"1");1==ce&&""==x&&(x="0_support_man.png");const se='',re='';var B=-1,me=0,m=-1,ue=0,ge="1",pe="0",he=0,ye=0,be="0";""!=O("isRated")&&null!=O("isRated")&&(ye=O("isRated"));let we=2e3;const fe=400;let _e=!0,ve=0;1==(ve=""!=O("chatWithBot")&&null!=O("chatWithBot")?O("chatWithBot"):ve)&&(we=fe);var Ie,Ee=0,xe="",Be=(1==(be=1==be&&0==ge?0:be)&&q('hideImage',0),!0),ke="",Ce=(0!=O('hideImage')&&1!=O('hideImage')&&q('hideImage',0),Nt('onwbchtsessionrandom')),u=('null'!=Ce&&null!=Ce&&''!=Ce&&'undefined'!=Ce||Ft("onwbchtsessionrandom",Ce=Math.floor(1e6*Math.random()+1)),"1"),k=26870,Te=".onwebchatbox span{font-size:unset;margin:initial;padding:initial}.onwebchatbox div{padding:initial;font-size:initial;margin:initial}.onwebchatbox #offline_form{display:none;position:initial;line-height:inherit}.onwebchatbox #prechat_form{display:none;position:initial}.onwebchatbox a{margin-bottom:0 !important;border-width:0 !important;border-style:none !important;display:inline;color:#393939;letter-spacing:initial;text-decoration:underline;vertical-align:baseline !important;cursor:pointer !important}.onwebchatbox a:hover{text-shadow:0 0 1px #b1b1b1}.onwebchatbox .onweb_uploadfile{margin-right:10px;margin-bottom:-3px}.onwebchatbox .onweb_uploadimage{background:url('https://www.onwebchat.com/chatimages/loading.gif');background-repeat:no-repeat;background-position:center}#onweb_chatimage_div{position:fixed;bottom:0;right:100px;width:#chat_widthpx;z-index:2147483600}#operatorImageSmall{width:32px !important;height:32px !important;position:absolute !important;border-radius:20px !important;left:-37px !important;top:0 !important;box-shadow:0 0 7px 2px #bebebe !important;cursor:initial !important;user-drag:none !important;-webkit-user-drag:none !important;overflow:hidden}@media(max-width:480px){#operatorImageSmall{transform:scale(1.14) !important;margin-top:2px;margin-left:-4px}}.operatorImageSmallClass{transform:scale(1)}#operatorImage{position:absolute;z-index:100 !important;border-radius:30px;border-style:solid;border-color:#ababab;top:8px !important;left:20px !important;width:50px !important;height:50px !important;border-width:0 !important;user-drag:none !important;-webkit-user-drag:none !important;overflow:hidden;background:#fffffff7 !important}.onweb_chatimage{position:absolute !important;bottom:40px !important;left:17px !important;cursor:pointer !important;border:none !important;opacity:1 !important;width:115px !important;max-height:initial !important;max-width:initial !important;min-width:initial !important;min-height:initial !important;-webkit-filter:brightness(100%);-webkit-transition:all .7s ease;-moz-transition:all .7s ease;-o-transition:all .7s ease;-ms-transition:all .7s ease;transition:all .7s ease}.onweb_chatimage_mobile{position:absolute !important;bottom:19px !important;right:20px !important;cursor:pointer !important;border:none !important;opacity:1 !important;width:72px !important;max-height:initial !important;max-width:initial !important;min-width:initial !important;min-height:initial !important}img#onweb_chatimage:hover{opacity:1;-webkit-filter:brightness(112%);-webkit-transition:all .7s ease;-moz-transition:all .7s ease;-o-transition:all .7s ease;-ms-transition:all .7s ease;transition:all .7s ease}.onwebchatbox .onweb_chatimage:-moz-loading{visibility:hidden}.onwebchatbox .onweb_chatimage_x{position:absolute;visibility:hidden;z-index:2147483600;display:inline;cursor:pointer;border:0;opacity:.5}.onwebchatbox .wblogoimg{margin-right:10px;margin-top:7px}.onwebchatbox .wblogoimgdiv{text-align:right;width:100%}.onwebchatbox img{vertical-align:baseline;border:0;cursor:pointer;width:initial !important;margin:0;padding:0;clear:initial;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.onwebchatbox .onwcimg{vertical-align:baseline;border:0;cursor:pointer;margin:0;clear:initial;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.onwebchatbox{all:initial;*{all:unset}color:#555;box-shadow:0 0 5px 0 #777 !important;line-height:16px !important;display:none;text-align:left;position:fixed !important;bottom:0 !important;right:100px;width:#chat_widthpx !important;height:#onwebchatbox_header1_heightpx;font-family:Arial,Helvetica,sans-serif !important;background-color:#fcfcfc;font-size:12px !important;border-top-left-radius:6px !important;border-top-right-radius:6px !important;z-index:2147483610 !important;box-sizing:content-box !important;color:#545454 !important;transition:initial !important}.onwebchatbox svg,.onwebchatbox svg *{all:revert-layer}#onwbchat_window{background-image:url(https://www.onwebchat.com/chatimages/backgrounds/back4.png);border-radius:11px !important;border-top-left-radius:13px !important;border-top-right-radius:13px !important;box-shadow:rgba(0,0,0,0.43) 0 0 1.2em !important}.onwebchatbox .webchat_header{display:block !important;white-space:nowrap !important;background-color:#567ea6 !important;height:#onwebchatbox_header_height_+_4px !important;min-height:36px !important;line-height:#onwebchatbox_header1_heightpx !important;cursor:pointer;box-sizing:content-box !important;margin:0 !important;padding:0 !important;border:0 !important;outline:0 !important;float:left !important;padding-left:12px !important;padding-right:28px !important;vertical-align:baseline !important;font-size:13px !important;font-weight:bold !important;width:#chatheader_widthpx !important;position:relative;border-top-left-radius:11px !important;border-top-right-radius:11px !important;background-image:url(https://www.onwebchat.com/chatimages/backgrounds/trans-back4.png)}.onwebchatbox .webchat_header:hover{opacity:1}.onwebchatbox .webchat_header a{float:right;text-decoration:none;color:#fff;display:block;margin-right:0;padding-left:0;padding-right:0;line-height:13px}}.onwebchatbox .webchat_header a:hover{color:#000}.onwebchatbox .chat_area{float:left;clear:left;width:#chat_widthpx;height:#chat_area_heightpx;margin-top:0;margin-bottom:0;padding:26px 0 0 0;overflow:auto;color:#a4a4a4;box-sizing:content-box;direction:ltr !important;box-shadow:inset 0 11px 17px -17px rgba(0,0,0,0.4) !important}.onwebchatbox #chat_area_id{box-sizing:initial !important}#chat_area_id::-webkit-scrollbar{width:13px !important}#chat_area_id::-webkit-scrollbar-track{-webkit-border-radius:30px;border-radius:30px !important}#chat_area_id::-webkit-scrollbar-thumb{background-clip:content-box !important;background:#cdcdcd;-webkit-border-radius:10px;border-radius:12px;border:3px solid transparent !important}#chat_area_id::-webkit-scrollbar-thumb:hover{background:#bababa !important}#chat_area_id::-webkit-scrollbar-thumb:active{background:#a5a5a5 !important}#chat_area_id::-webkit-scrollbar-thumb:hover{background-color:#bababa !important}#chat_area_id::-webkit-scrollbar-thumb:active{background-color:#a5a5a5 !important}#onwbtxtarea::-webkit-scrollbar{width:0 !important}.onwebchatbox .chat_area .me a{color:#visitor_css_text_color !important;text-decoration:underline !important;letter-spacing:normal !important;line-height:normal !important}.onwebchatbox .chat_area .agent a{color:#agent_css_text_color !important;text-decoration:underline !important;letter-spacing:normal !important;line-height:normal !important}.onwebchatbox .chat_info{clear:left;height:10px;background-color:#fcfcfc;border-top:1px solid #ddd;box-sizing:border-box;border-top:1px solid ##e2e2e2 !important;width:90% !important;float:none !important;margin:auto !important}.onwebchatbox .chat_message{position:initial;width:100%;height:55px;float:left;clear:left;padding-top:0;background-color:#fcfcfc;box-sizing:content-box}#onwc_chat_message_div{position:absolute;bottom:0;height:68px !important;border-bottom-left-radius:11px !important;border-bottom-right-radius:11px !important}.onwebchatbox #onwbtxtarea::placeholder{user-select:none;pointer-events:none}.onwebchatbox #onwbtxtarea{float:none !important;padding:4px 25px 0 4px !important;font-weight:400 !important;text-align:initial !important;font-style:initial !important;box-sizing:initial !important;white-space:initial !important;position:absolute !important;left:9px !important;bottom:25px !important}.onwebchatbox input::-webkit-input-placeholder,.onwebchatbox textarea::-webkit-input-placeholder{color:#919191 !important;font-size:14px !important;font-weight:400 !important;line-height:inherit !important;font-family:inherit !important;padding:0 2px 0 2px}.onwebchatbox input::-moz-placeholder,.onwebchatbox textarea::-moz-placeholder{color:#919191 !important;font-size:14px !important;font-weight:400 !important;font-family:inherit !important;line-height:inherit !important}.onwebchatbox input:-ms-input-placeholder,.onwebchatbox textarea:-ms-input-placeholder{color:#919191 !important;font-size:14px !important;font-weight:400 !important;font-family:inherit !important;line-height:inherit !important}.onwebchatbox .chat_message .onwebtextarea{width:#textarea_widthpx !important;line-height:normal !important;min-height:initial !important;min-width:initial !important;max-height:initial !important;max-width:initial !important;font-family:Arial,Helvetica,sans-serif !important;text-transform:initial !important;letter-spacing:initial !important;color:#545454 !important;display:block;margin-left:auto !important;margin-right:auto !important;margin-bottom:initial !important;padding:2px 2px 2px 2px !important;background-image:none !important;resize:none;outline:none !important;border-radius:5px !important;box-sizing:content-box;transition:box-shadow .40s,border-color .40s ease-in-out;border:none !important;box-shadow:none !important;font-size:14px !important;height:27px !important;background-color:transparent !important}@media(max-width:480px){.onwebchatbox .chat_message .onwebtextarea{font-size:100% !important}.onwebchatbox input::-webkit-input-placeholder,.onwebchatbox textarea::-webkit-input-placeholder{font-size:15px !important}.onwebchatbox input::-moz-placeholder,.onwebchatbox textarea::-moz-placeholder{font-size:15px !important}.onwebchatbox input:-ms-input-placeholder,.onwebchatbox textarea:-ms-input-placeholder{font-size:15px !important}}.onwebchatbox .chat_message textarea:hover{border:none !important}.onwebchatbox .chat_message textarea:focus{border:none !important}.onwebchatbox #onweb-offline-icon{margin:initial !important;border:none !important;box-sizing:content-box !important;vertical-align:baseline !important;padding-top:1px !important}.onwebchatbox #onweb-online-icon{margin:initial !important;border:none !important;box-sizing:content-box !important;vertical-align:baseline !important}.onwebchatbox #onweb_chaticon{display:inline !important;position:absolute !important;right:0 !important;float:right !important;line-height:24px !important;margin-right:16px !important;margin-top:11px !important}.onwebchatbox .con:hover{opacity:.75}.onwebchatbox .onweb_minimize_btn_icon{display:initial !important;border:solid;border-width:0 3px 3px 0;position:absolute;top:#onweb_min_btn_marginpx !important;padding:4px;transform:rotate(45deg);-webkit-transform:rotate(45deg);margin-right:15px;color:#ddd;cursor:pointer;right:6px !important}.onwebchatbox .onweb_minimize_btn_icon:hover{margin-top:1px}.onwebchatbox .onweb_departm_menu_minimize_btn{border:solid;border-width:0 2px 2px 0;padding:3px;border-color:#929292;position:relative;top:-35px;float:right;transform:rotate(45deg);-webkit-transform:rotate(45deg);margin-right:15px;color:#ddd;cursor:pointer;right:6px !important}.onwebchatbox div.maximize_onwebchatbox{display:inline}.onwebchatbox .chat_area p{letter-spacing:.1px !important;padding-left:12px;padding-right:12px;font-size:14px !important;font-family:Arial,Helvetica,sans-serif !important;line-height:20px;float:left;clear:left;word-wrap:break-word;max-width:max-content;margin:0;color:#agent_css_text_color;box-sizing:content-box}@media(max-width:480px){.onwebchatbox .chat_area p{font-size:115% !important;line-height:1.18 !important}}.onwebchatbox .chat_area .error{color:#c30000;font-style:italic}.onwebchatbox .chat_area .me{color:#visitor_css_text_color !important;margin-bottom:10px !important;font-family:arial,verdana,sans-serif !important;text-align:right}.onwebchatbox .spanbold{font-weight:700;margin-left:initial;float:initial;font-size:12px !important}@media(max-width:480px){.onwebchatbox .spanbold{font-size:14px !important}}.onwebchatbox .me .spanbold,.onwebchatbox .agent .spanbold{display:none}.onwebchatbox .chat_area .agent{color:#agent_css_text_color !important;margin-bottom:10px !important;min-height:10px !important;font-family:arial,verdana,sans-serif !important}.onwebchatbox .chat_area .system{font-style:italic;font-size:11px}.onwebchatbox #onwebchat-logo-span{position:absolute !important;color:#707070 !important;font-weight:500 !important;font-family:Arial,sans-serif !important;letter-spacing:0 !important;font-size:11.7px !important;font-style:normal !important;bottom:5px !important;direction:ltr !important;user-select:none !important;left:50% !important;transform:translateX(-50%) !important}.onwebchatbox #off-form-onwebchat-logo{display:none;float:right !important;position:absolute !important;margin:0 !important;right:9px !important;border:none !important;box-sizing:content-box !important;opacity:.91;bottom:7px !important}.onwebchatbox #off-form-onwebchat-logo:hover{opacity:1}.onwebchatbox .widget-logo{float:right !important;position:absolute !important;margin:0 !important;bottom:0 !important;right:4px !important;border:none !important;padding:4px 6px !important;box-sizing:content-box;height:initial !important;width:initial !important;margin:initial !important;opacity:.80}.onwebchatbox .widget-logo:hover{opacity:1}.onwebchatbox #div_chat_min_title{display:block;position:initial;margin:auto 10px auto auto;width:97%;text-align:center;overflow:hidden;margin-right:10px;line-height:inherit !important}.onwebchatbox #div_chat_min_title_span{color:#f1f1f1 !important;font-family:arial,verdana,sans-serif !important;font-weight:300 !important;letter-spacing:.3px !important;font-size:14px !important;line-height:42px !important;vertical-align:baseline !important}.onwebchatbox #div_chat_max_title{display:none;position:initial;margin:auto 10px auto auto;width:96%;text-align:center;overflow:hidden;margin-right:10px;line-height:inherit !important}.onwebchatbox #div_chat_max_title_span{padding-left:10px !important;color:#f1f1f1 !important;font-family:arial,verdana,sans-serif !important;line-height:#onwebchatbox_header1_heightpx !important;font-weight:500 !important;font-size:15px !important;vertical-align:baseline !important;letter-spacing:.3px !important}@media(max-width:480px){.onwebchatbox #div_chat_max_title_span{font-size:18px !important}}.onwebchatbox .server_messages{display:block;text-align:center;width:90%;max-width:90% !important;margin:auto;color:#727787 !important;padding:0 0 10px 15px;box-sizing:content-box}.onwebchatbox .server_messages span{color:#727787 !important}.onwebchatbox .onweboffline_msg{position:relative !important;display:block !important;font-size:14px;font-weight:400;font-family:arial,verdana,sans-serif !important;color:#393939 !important;padding:2% 10% 0 !important;margin-top:22% !important;margin-bottom:3px !important;top:initial !important;min-height:26px !important;line-height:20px !important}.onwebchatbox .ns{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.onwebchatbox .onwebchat_title2{display:block;text-align:center !important;width:54% !important;margin:auto !important;color:#737379 !important;font-family:arial,verdana,sans-serif !important;font-weight:300 !important;border-radius:13px !important;box-sizing:initial;line-height:18px !important;position:relative;margin-top:13% !important;box-shadow:1px 1px 3px 0 #c9c9c9 !important;padding:14px 19px 14px 19px !important;max-width:160px !important;background:#f2f2f2 !important;border:none !important;font-size:15px !important}@media(max-width:480px){.onwebchatbox .onwebchat_title2{transform:scale(1.15) !important}}.onwebchatbox .onwebchat_title2::after{content:'';width:0;height:0;position:absolute;bottom:-16px;left:18%;border-left:0 solid transparent;border-right:22px solid transparent;border-top:17px solid #f2f2f2}.onwebchatbox .onwebchat_title2::before{content:'';width:0;height:0;position:absolute;bottom:-15px;left:23%;border-left:5px solid transparent;border-right:12px solid transparent;border-top:0}.onwebchatbox .onwebchatform_div{display:block;position:initial;line-height:inherit;width:80%;margin:19px auto auto;color:#545454 !important}.onwebchatbox #onwebchatoffname,#onwebchatoffemail,#onwebchatofftel,#onwebchatemailtext,#onprechatname,#onprechatemail,#onprechattel,#onprechattext,#departments{float:initial !important;display:block;background-color:#fefefe !important;background-image:none !important;padding:7px 11px !important;font-size:14px !important;font-weight:initial !important;font-family:Arial,Helvetica,sans-serif !important;font-style:initial !important;text-transform:initial !important;text-indent:initial !important;text-align:initial !important;letter-spacing:.2px !important;color:#393939 !important;width:100% !important;max-width:initial !important;max-height:initial !important;min-width:initial !important;min-height:initial !important;resize:none !important;outline:none !important;border-radius:5px !important;line-height:inherit !important;transition:box-shadow .40s,border-color .40s ease-in-out !important;box-sizing:border-box !important;box-shadow:inset 0 1px 2px rgba(0,0,0,0.1) !important;height:36px !important;margin:12px auto 11px !important}.onwebchatbox .onwebchatform_div #onprechattext{height:68px !important;line-height:normal !important;text-align:initial !important;white-space:initial !important}.onwebchatbox .onwebchatform_div #onwebchatemailtext{height:82px !important;line-height:normal !important;text-align:initial !important;border:1px solid #ccc !important;white-space:initial !important}#prechat_btn{margin:30px auto 20px !important;color:#fff !important;background-image:inherit;background-color:#567ea6 !important;width:100% !important;font-weight:600 !important;height:40px !important;max-width:initial !important;letter-spacing:.1px !important}.onwebchatbox #onwebchatoffname:focus,#onwebchatoffemail:focus,#onwebchatemailtext:focus,#onwebchatofftel:focus,#onprechatname:focus,#onprechatemail:focus,#onprechattext:focus,#onprechattel:focus{background:inherit;box-shadow:0 0 1px !important}#offlineform_btn{background-color:#567ea6 !important;width:100% !important;font-weight:600 !important;height:40px !important;max-width:initial !important;letter-spacing:.1px !important}#offlineform_ok_btn{background-color:#567ea6 !important;min-width:100% !important;height:37px !important}.onwebchatbox .onweb_mail_btn{display:block !important;margin:30px auto 20px !important;text-align:center !important;text-transform:initial !important;text-indent:initial !important;font-family:Arial,Helvetica,sans-serif !important;font-style:normal !important;font-weight:400 !important;background-color:#567ea6 !important;cursor:pointer;padding:3px 14px !important;border-style:none !important;position:relative !important;border-radius:5px !important;float:inherit !important;min-width:80px !important;width:initial;max-width:200px !important;outline:none !important;min-height:initial !important;height:28px !important;line-height:16px !important;box-sizing:border-box !important;text-shadow:inherit !important;box-shadow:none !important;letter-spacing:inherit !important;font-size:14px !important}.onwebchatbox .onweb_mail_btn:hover{background-color:#567ea6;opacity:.82;border-style:none;box-shadow:none !important}.onwebchatbox .me-bubble{background-color:#e9e9e9;width:69% !important;margin-right:5% !important;padding:8px;position:relative !important;float:right !important;text-align:left;clear:both !important;border-radius:11px;border:0;margin-left:8px !important}.onwebchatbox .me-first{border-top-right-radius:2px !important}.onwebchatbox .me-bubble b{font-weight:600}.onwebchatbox .agent-bubble b{font-weight:600}.onwebchatbox .agent-bubble{background-color:#dbeb1a;width:60% !important;margin-left:5% !important;padding:8px;position:relative;text-align:left;clear:both !important;border-radius:11px;border:0;margin-right:8px !important}.onwebchatbox .big-margin-left{margin-left:13% !important}.onwebchatbox .agent-first{border-top-left-radius:2px !important}.onwebchatbox .onwebchat-widget-settings-icon{opacity:.83 !important;position:absolute !important;bottom:1px !important;left:12px !important;height:29px !important;fill:#787878 !important;cursor:pointer !important;border-radius:34px !important;transition:transform .25s ease,background .25s ease !important;-webkit-transition:-webkit-transform .25s ease,background .25s ease !important;-webkit-tap-highlight-color:transparent}.onwebchatbox .onwebchat-widget-settings-icon:hover{opacity:1 !important;background:#e3dbdb8a !important;border-radius:34px !important}.onwebchatbox #onwebchat-emoticons-div{position:absolute;bottom:66px !important;right:4px !important;background-color:#fff !important;box-shadow:0 3px 12px 1px #b5b5b5 !important;border:1px solid #d2d2d2 !important;display:none;margin:0 !important;padding:4px 6px !important;list-style-type:none !important;box-sizing:content-box !important;line-height:initial !important;width:223px !important;width:-moz-max-content !important;width:max-content !important;border-radius:8px !important;font-size:22px !important;line-height:1.5 !important;user-select:none !important;z-index:999999 !important}#onwebchat-emoticons-div:after{display:block !important;content:'' !important;border:9px solid transparent !important;border-top-color:#fff !important;position:absolute !important;right:9px !important;bottom:-17px !important;pointer-events:none !important}.onwebchatbox #onwebchat-emoticons-div span{font-size:22px !important;box-sizing:border-box !important;margin-bottom:initial !important;padding:2px 2px !important;display:inline-block !important;text-align:center !important;width:1.53em !important;height:1.56em !important;line-height:26px !important;vertical-align:middle !important;transition:transform .12s ease !important;-webkit-transition:-webkit-transform .12s ease !important}.onwebchatbox #onwebchat-emoticons-div span img{height:1.1em !important}.onwebchatbox #onwebchat-emoticons-div span:hover{cursor:pointer !important;-webkit-transform:scale(1.21) !important;transform:scale(1.21) !important}#onwbchat_window .chat_area p>i{font-size:140% !important;line-height:1.2 !important;font-style:normal !important}.onwebchatbox .onwebchat-widget-settings-submenu{position:absolute;bottom:30px !important;left:10px !important;background-color:#fefefe !important;border:1px solid #d2d2d2 !important;opacity:1;display:none;margin:0 !important;padding:0 0 !important;list-style-type:none !important;width:initial !important;box-shadow:rgba(0,0,0,0.23) 0 2px 12px;border-radius:8px !important;overflow:hidden !important;z-index:999999 !important}.onwebchatbox .onwebchat-widget-settings-submenu li{text-align:left !important;float:initial !important;list-style-type:none !important;list-style:none !important;cursor:pointer !important;margin:0 !important;line-height:22px !important;direction:ltr !important;background:none !important;display:block !important;font-size:10px !important;padding:3px 50px 6px 10px !important}.onwebchatbox .onwebchat-widget-settings-submenu li:hover{background-color:#f4f4f4 !important;color:black !important}.onwebchatbox .onwebchat-widget-settings-submenu li:before{content:initial !important}.onwebchatbox .onwebchat-widget-settings-submenu-text{margin-right:10px;color:#484848;position:relative;bottom:4px !important;font-weight:500 !important;vertical-align:middle !important;font-family:arial,verdana,sans-serif !important;margin-left:11px !important;font-size:14px !important}.onwebchatbox .onwebchat-menu-icons{transform:scale(1.1);transform-origin:0 0;margin:0 0 0 5px !important;vertical-align:baseline !important;fill:#787878 !important;position:relative !important;top:3px !important}.onwebchatbox .onwebchat-emoticons{position:relative;top:4px;cursor:initial !important}.onwebchatbox img:-moz-loading{visibility:hidden}#operator-image{position:absolute;width:46px;left:15px;border-radius:100%;border:2px solid #bbb7b7;z-index:9999999;top:-5px}#iconsdiv{width:54px !important;height:80px !important;position:absolute !important;right:0 !important;bottom:-5px !important}#wb-send-image{position:relative !important;float:right !important;z-index:initial !important;right:35px !important;top:25px !important;width:26px !important;height:26px !important;fill:#567ea6 !important;cursor:pointer !important}#wb-smile-image{position:relative !important;float:right !important;right:-14px !important;opacity:.8 !important;z-index:initial !important;fill:#707070 !important;cursor:pointer !important;top:26px !important}#wb-smile-image:hover{opacity:1 !important}#wb-send-image:hover{opacity:1 !important;transform:scale(1.06) !important;-webkit-transform:scale(1.06) !important;transition:transform .22s ease !important;-webkit-transition:-webkit-transform .22s ease !important;padding:0 !important}#uploadfileid{opacity:.84}#uploadfileid:hover{opacity:1}#onwebchat-volume-li-id{opacity:.84}#onwebchat-volume-li-id:hover{opacity:1}#onwebchat-print-li{cursor:default !important;opacity:.5}#onwebchat-savetofile-li{cursor:default !important;opacity:.5}#onwebchat-email-li{cursor:default !important;opacity:.5}#onwebchat-endchat-li{cursor:default !important;opacity:.5}.onwebchatbox .onwcmodaltext{padding:8px 13px !important;line-height:20px !important;color:#383838 !important}.onwebchatbox .onwcmodal-content .onwcmodalclose{font-size:22px !important;color:#7f7e7e;font-weight:800;cursor:pointer;position:absolute;right:11px;top:4px;width:24px}.onwcmodalclose:hover{color:#ac1616 !important;background:#c9c9c9;border-radius:46px;transition-duration:350ms}.onwcmodal{position:absolute !important;left:0 !important;top:0 !important;width:100% !important;height:100% !important;background-color:rgb(70 70 70 / 55%) !important;opacity:0;visibility:hidden;transition:visibility 0s linear .25s,opacity .25s 0s,transform .25s !important;z-index:999999 !important;border-top-right-radius:5px !important;border-top-left-radius:5px !important;user-select:none !important}.onwebchatbox .onwcmodal-content{position:relative !important;display:grid !important;margin:auto;margin-top:50%;background-color:white !important;width:84% !important;max-width:240px !important;min-width:172px !important;line-height:24px !important;min-height:30px !important;font-size:15px !important;padding:32px 18px !important;border-radius:7px !important;user-select:none;text-align:center}.onwebchatbox .onwcmodal-content div{font-size:14px !important}.show-onwcmodal{opacity:1;visibility:visible;transition:visibility 0s linear 0s,opacity .25s 0s,transform .25s}.onwc-show{transition:opacity 400ms !important;opacity:1 !important}.onwc-hide{opacity:0 !important;transition:opacity 400ms !important}.onwebchatbox .onwcbutton{width:29% !important;cursor:pointer !important;line-height:initial !important;min-width:fit-content !important;min-width:-moz-fit-content !important;min-height:initial !important;margin-left:auto !important;margin-right:auto !important;color:#383838 !important;background:#ddd !important;font-family:Arial,Helvetica,sans-serif !important;border:1px solid rgba(0,0,0,0.0) !important;padding:5px 12px !important;font-size:14px !important;border-radius:5px !important;display:inline-block !important;height:fit-content !important}.onwcbutton:focus{outline-color:lightgray !important}.onwcbutton:hover{background:#c5c5c5 !important}#onwcemailtrans{text-align:left !important;border-radius:5px !important;height:20px !important;box-sizing:content-box !important;border:1px solid #909090 !important;height:20px !important;font-size:14px !important;padding:2% 5% !important;width:89% !important;outline:none !important;max-width:189px !important;margin:10px auto 19px auto !important}.onwebchatbox .orange{background:#f5d28d !important}.onwebchatbox .orange:hover:not(:disabled){background:#eac57b !important}.onwebchatbox .disabled{opacity:.5;cursor:default !important}#onwbchtlogo-in-widget-icon{width:12px !important;height:12px !important;bottom:-2px;position:relative;fill:#747474}.onwbchtlogo-in-widget-bw2,.onwbchtsend-icon,.onwbchtonline-icon,.onwbchtoffline-icon,.onwbchtupload-icon-2,.onwbchtvolume-icon-2,.onwbchtvolume-icon-off,.onwbchtsave-icon,.onwbchtemail-icon,.onwbchtclose2,.onwbchtendchat-icon{display:inline-block;background:url('https://www.onwebchat.com/chatimages/live-chat-images-3.png?v=2') no-repeat;overflow:hidden;text-indent:-9999px;text-align:left}.onwbchtlogo-in-widget-bw2{background-position:-1px -0;width:71px;height:10px}.onwbchtonline-icon{background-position:-1px -37px;width:23px;height:18px}.onwbchtoffline-icon{background-position:-52px -11px;width:17px;height:15px}.onwbchtupload-icon-2{background-position:-25px -39px;width:17px;height:14px}.onwbchtvolume-icon-2{background-position:-43px -43px;width:17px;height:13px}.onwbchtvolume-icon-off{background-position:-25px -54px;width:17px;height:13px}.onwbchtsave-icon{background-position:-1px -56px;width:16px;height:14px}.onwbchtemail-icon{background-position:-43px -57px;width:16px;height:15px}.onwbchtclose2{background-position:-18px -68px;width:14px;height:14px}.onwbchtendchat-icon{background-position:-16px -68px;width:17px;height:14px}#onwc_consent_l_offline span{font-size:14px !important;color:#545454 !important}#onwc_consent_l_prechat span{font-size:14px !important;color:#545454 !important}#onwc_consent_l_inchat_modal{margin-bottom:24px;display:block !important}#onwc_consent_l_inchat_modal span{font-size:14px !important;color:#545454 !important;line-height:20px !important;margin-bottom:18px}#onwc_consent_checkbox_inchat_modal{margin:0 5px 2px 0 !important}.onwebchatbox .rating{unicode-bidi:bidi-override;direction:rtl;text-align:center;margin-top:20px}.onwebchatbox .rating span{font-size:23px !important;display:inline-block !important;position:relative !important;width:1.1em !important;color:#aeaeae !important}.onwebchatbox .rating span:hover,.onwebchatbox .rating span:hover ~ span{cursor:pointer !important;color:#ffb900 !important}#onwbchat_window .onwcdepartmenu{display:none !important;position:absolute !important;background:white !important;list-style:none !important;border:1px solid #ddd !important;border-radius:7px !important;margin-top:-11px !important;padding-inline-start:0 !important;z-index:999999 !important;box-shadow:0 2px 10px rgb(0 0 0 / 20%) !important;-webkit-box-shadow:0 2px 10px rgb(0 0 0 / 20%) !important;user-select:none !important}#onwbchat_window .onwcdepartmenu>li{cursor:default !important;font-size:13px !important;padding:7px 15px 5px 15px !important}#onwbchat_window .onwcdepartmenu>li span{font-size:14px !important;color:#545454 !important}#onwbchat_window .onwcdepartmenu>li:hover{background:#fee188 !important}#onwbchat_window #upload_img{display:none;position:absolute;text-align:center;top:50%;width:100%;z-index:10000}#onwbchat_window .onwctime{text-align:left;display:block;padding-top:11px;opacity:0;padding-right:11px}#onwbchat_window .onwctime span{padding:initial !important;margin:initial !important;color:grey !important;font-size:12px !important;text-align:left !important}#onwbchat_window .onwctime.me{text-align:right !important}#onwbchat_window .onwcinner{display:inline-flex;width:100%}.onwcouter{position:relative;margin-bottom:2px;margin-top:3px !important}.onwcminner{position:relative;width:100%;text-align:right}.onwcouter:last-of-type .onwctime{opacity:1 !important}.onwcinner:hover .onwctime{opacity:1 !important;transition:opacity .5s ease-out;transition-delay:.09s}#onwbchat_window .onwcouter{margin-top:9px !important}#onwbchat_window .onwcouter_agent+.onwcouter_agent{margin-top:0 !important}#onwbchat_window .onwcouter_me+.onwcouter_me{margin-top:0 !important}#agenttypingimage{display:grid !important;position:relative !important;float:left !important;width:48px !important;height:42px !important;clear:both !important;padding:0 !important;margin-top:0 !important;margin-bottom:0 !important}.onwc-typing-indicator{width:48px !important;height:32px !important;position:relative !important;margin-left:10px !important}.onwc-bubble{width:8px;height:8px;background:#555;position:absolute;bottom:0;border-radius:50%;animation:onwc-bubble 1.1s ease-in-out infinite}.onwc-bubble:nth-child(1){left:2px;animation-delay:0s}.onwc-bubble:nth-child(2){left:14px;animation-delay:.2s}.onwc-bubble:nth-child(3){left:26px;animation-delay:.4s}@keyframes onwc-bubble{0%{bottom:0;opacity:.6}50%{bottom:12px;opacity:1}100%{bottom:0;opacity:.6}}#scrollToBottomBtn{position:absolute !important;bottom:77px !important;left:50% !important;transform:translateX(-50%) !important;width:32px !important;height:32px !important;text-align:center !important;border-radius:50% !important;background-color:#fff !important;color:#0a0a0a !important;border:none !important;cursor:pointer !important;border:1px solid #ccc !important;font-size:46px !important;z-index:999998 !important;outline:none !important;-webkit-tap-highlight-color:transparent !important}#scrollToBottomBtn:hover{border:1px solid #777 !important}#onwbchat_window [type='checkbox']+span:not(.lever):before,#onwbchat_window [type='checkbox']:not(.filled-in)+span:not(.lever):after{box-sizing:border-box !important;margin-left:-3px !important}#outer_agent_bubble{box-shadow:none !important;box-sizing:border-box !important;position:fixed !important;display:none !important;bottom:139px !important;background:transparent !important;z-index:1999999999 !important;cursor:pointer !important;height:auto !important;min-width:60px !important;width:fit-content !important;max-width:#chat_widthpx !important}@media(max-width:480px){#outer_agent_bubble{right:16px !important}}#outer_agent_bubble_div{display:grid;border:1px solid #f5f5f4 !important;border-radius:5px !important;border-top-left-radius:0 !important;background-color:#fdfdfd !important;box-shadow:0 2px 3px rgba(0,0,0,.08) !important;font-family:arial,verdana,sans-serif !important;letter-spacing:.1px !important;font-size:14px !important;user-select:none !important;white-space:normal !important;word-break:break-word !important;padding:7px 11px !important;max-height:80px !important;overflow:auto}#outer_agent_bubble_x{position:absolute !important;top:-24px !important;right:3px !important;background:white !important;height:17px !important;width:17px !important;border-radius:25px !important}#bubble_x_svg{margin-left:-3px !important;margin-top:-3px !important;background:transparent !important;fill:gray !important}#bubble_x_svg:hover{fill:#5a5a5a !important}#operatorImageSmallPreview{box-shadow:none !important;top:4px !important;width:32px !important;height:32px !important;position:absolute !important;border-radius:20px !important;left:-37px !important;cursor:pointer !important;-webkit-user-drag:none !important;overflow:hidden !important;background:white !important} @keyframes onwbmoveleft { 0% { transform: translateX(-540px); } 84% { transform: translateX(+6px); } } #onwbchat_window,#onweb_chatimage{ animation-name: onwbmoveleft ; animation-timing-function: ease-out; animation-iteration-count: 1; animation-duration: 1.5s ; }",Pe="free",je="0",Me="1",C="undefined",Se=0,We="420",Le="60",Oe="295",qe="right",Ae="100",Re="1",He="0",Ne="1",Fe="1",De="1",Ze="0",ze="1",Ue="0",Ve="0",$e="1",Xe="0",Ye="0",Ge="0",Je=0,Qe="0",T="0",P="1",Ke="1",et="0",tt="0",nt="0",ot="0",at="0",it="1";let lt="";''!=lt&&null!=lt||(lt="chat-bot.png");const dt="M337.615-298.693 480-441.078l142.385 142.385 38.922-38.922L518.922-480l142.385-142.385-38.922-38.922L480-518.922 337.615-661.307l-38.922 38.922L441.078-480 298.693-337.615l38.922 38.922Zm142.477 190.615q-77.152 0-145.066-29.325-67.914-29.324-118.152-79.595-50.238-50.27-79.517-118.055-29.279-67.785-29.279-144.855 0-77.152 29.325-145.066 29.324-67.914 79.595-118.152 50.27-50.238 118.055-79.517 67.785-29.279 144.855-29.279 77.152 0 145.066 29.325 67.914 29.324 118.152 79.595 50.238 50.27 79.517 118.055 29.279 67.785 29.279 144.855 0 77.152-29.325 145.066-29.324 67.914-79.595 118.152-50.27 50.238-118.055 79.517-67.785 29.279-144.855 29.279Zm-.105-55.96q131.898 0 223.936-92.026 92.039-92.026 92.039-223.923 0-131.898-92.026-223.936-92.026-92.039-223.923-92.039-131.898 0-223.936 92.026-92.039 92.026-92.039 223.923 0 131.898 92.026 223.936 92.026 92.039 223.923 92.039ZM480-480Z";var j=Nt('onwbchtblocked');''!=j&&null!=j&&'null'!=j&&'NaN'!=j||Ft('onwbchtblocked',j=0);var ct=""==(ct=L('onwbchtemailsSent'))?0:parseInt(ct),st=(Te=(Te=(Te=(Te=(Te=(Te=(Te=(Te=(Te=(Te=Te.replace("#onweb_min_btn_margin",.36*Le-1.36)).replace(new RegExp('__modern','g'),"")).replace(/#textarea_width/g,Oe-71)).replace(/#chat_width/g,Oe)).replace(/#chatheader_width/g,Oe-40)).replace("#chat_area_height",We-98-Le)).replace("#onwebchatbox_header_height_+_4",+Le+4)).replace(/#onwebchatbox_header1_height/g,Le)).replace(/#visitor_css_text_color/g,"#595959")).replace(/#agent_css_text_color/g,"#393939"),null!=C&&'undefined'!=C||(C=0),document.title),rt=window.location.href;'remove'in Element.prototype||(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),window.addEventListener("orientationchange",function(e){1==O('maxChat')&&(setTimeout(function(){sn()},20),setTimeout(function(){sn()},200))});let mt=we/20*30;mt++,mt++;var ut=this,gt=navigator.appVersion,e=navigator.userAgent,t=navigator.appName,n=''+parseFloat(navigator.appVersion),pt=parseInt(navigator.appVersion,10);an=gt+" -- "+e+" -- "+t+" -- "+n+" -- "+pt+" -- "+navigator.platform+" -- "+navigator.oscpu,-1!=(o=e.indexOf('Opera'))?(t='Opera',n=e.substring(o+6),-1!=(o=e.indexOf('Version'))&&(n=e.substring(o+8))):-1!=(o=e.indexOf('MSIE'))?(t='Internet Explorer',n=e.substring(o+5)):-1!=(o=e.indexOf('Edge'))||-1!=(o=e.indexOf('Edg/'))?(t='Edge',n=''):-1!=(o=e.indexOf('Chrome'))?(t='Chrome',n=e.substring(o+7),-1!=(o=e.indexOf('OPR/'))&&(t='Opera',n=e.substring(o+4))):-1!=(o=e.indexOf('Safari'))?(t='Safari',n=e.substring(o+7),-1!=(o=e.indexOf('Version'))&&(n=e.substring(o+8))):-1!=(o=e.indexOf('Firefox'))?(t='Firefox',n=e.substring(o+8)):-1!=e.indexOf('Trident/')?(t='Internet Explorer',n=e.substring(e.indexOf('rv:')+3)):(yt=e.lastIndexOf(' ')+1)<(o=e.lastIndexOf('/'))&&(t=e.substring(yt,o),n=e.substring(o+1),t.toLowerCase()==t.toUpperCase())&&(t=navigator.appName),0<(n=-1!=(yt=(n=-1!=(yt=(n=-1!=(yt=n.indexOf(';'))?n.substring(0,yt):n).indexOf(' '))?n.substring(0,yt):n).indexOf(')'))?n.substring(0,yt):n).indexOf('.')&&0<(o=n.indexOf('.',n.indexOf('.')+1))&&(n=n.substring(0,o)),pt=parseInt(''+n,10),isNaN(pt)&&(n=''+parseFloat(navigator.appVersion),parseInt(navigator.appVersion,10)),'Edge'==t&&(n=''),Z=!1,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(Z=!0);var ht,yt=!!navigator.cookieEnabled,bt=(void 0!==navigator.cookieEnabled||yt||(document.cookie='testcookie',yt=-1!=document.cookie.indexOf('testcookie')),''),wt=[{s:'Windows 3.11',r:/Win16/},{s:'Windows 95',r:/(Windows 95|Win95|Windows_95)/},{s:'Windows ME',r:/(Win 9x 4.90|Windows ME)/},{s:'Windows 98',r:/(Windows 98|Win98)/},{s:'Windows CE',r:/Windows CE/},{s:'Windows 2000',r:/(Windows NT 5.0|Windows 2000)/},{s:'Windows XP',r:/(Windows NT 5.1|Windows XP)/},{s:'Windows Server 2003',r:/Windows NT 5.2/},{s:'Windows Vista',r:/Windows NT 6.0/},{s:'Windows 7',r:/(Windows 7|Windows NT 6.1)/},{s:'Windows 8.1',r:/(Windows 8.1|Windows NT 6.3)/},{s:'Windows 8',r:/(Windows 8|Windows NT 6.2)/},{s:'Windows 10',r:/(Windows 10|Windows NT 10.0)/},{s:'Windows NT 4.0',r:/(Windows NT 4.0|WinNT4.0)/},{s:'Windows',r:/(WinNT|Windows NT)/},{s:'Windows ME',r:/Windows ME/},{s:'Windows Phone',r:/Windows Phone/},{s:'Android',r:/Android/},{s:'Open BSD',r:/OpenBSD/},{s:'Sun OS',r:/SunOS/},{s:'Linux',r:/(Linux|X11)/},{s:'iOS',r:/(iPhone|iPad|iPod)/},{s:'Mac OS X',r:/Mac OS X/},{s:'Mac OS',r:/(MacPPC|MacIntel|Mac_PowerPC|Macintosh)/},{s:'QNX',r:/QNX/},{s:'UNIX',r:/UNIX/},{s:'BeOS',r:/BeOS/},{s:'OS/2',r:/OS\/2/},{s:'BlackBerry OS',r:/BlackBerry/},{s:'Search Bot',r:/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask Jeeves\/Teoma|ia_archiver)/}];for(ht in wt){var ft=wt[ht];if(ft.r.test(e)){bt=ft.s;break}}''==bt&&(bt=navigator.platform);var _t="-";switch(/Windows/.test(bt)&&(_t=/Windows (.*)/.exec(bt)[1],bt='Windows'),bt){case'Mac OS X':_t=/Mac OS X (10[\.\_\d]+)/.exec(e)[1];break;case'Android':_t=/Android ([\.\_\d]+)/.exec(e)[1];break;case'iOS':_t=(_t=/OS (\d+)_(\d+)_?(\d+)?/.exec(gt))[1]+'.'+_t[2]+'.'+(0|_t[3])}var o='no check';'undefined'!=typeof swfobject&&(o=0<(pt=swfobject.getFlashPlayerVersion()).major?pt.major+'.'+pt.minor+' r'+pt.release:"-"),ut.jscd={browser:t,browserVersion:n,isMobile:Z,os:bt,osVersion:_t,cookies:yt,flashVersion:o},on=jscd.os+' '+jscd.osVersion,nn=jscd.browser+' '+jscd.browserVersion;try{var vt=function(e,t){var n,o,a,i;1==C&&(O('chattext session :'+O('chattext')),"undefined"==typeof sessionStorage||'1'==O('hasTriggered')||1==L('hasTriggeredC')||1==L('inChatC')||""!=O('chattext')||1==O('maxChat')&&1==u||(s(),0!=B&&(qt('onWebChat','Trigger activated',''),q('hasTriggered',1),W('hasTriggeredC',1,.166),q('mustSendTriggerText',!0),G=!0,q('triggerText',e),""!=S('max_served',E)&&""!=t&&"null"!=t&&null!=t&&(_n('

'+S('max_served',E).replace('{{operator}}',t)+'

'),q('hasWrSeByTr',!(xe=""))),n=" agent-bubble ",i=a=o="",'agent'!=xe&&(n+=" agent-first ",1==ce)&&(a=''),1==ce&&(i=" big-margin-left "),_n('

'+a+''+S('max_agent',E).replace('{{operator}}',t)+' '+Ot(e).replace(/({{newline}})/gm,"
")+'

',"",!0),xe="agent",O('maxChat'),H)&&A.emit('setclientstatus','triggered')))};function It(){clearTimeout(J),1!=k&&(27254==k?J=setTimeout(Et,3e3,"Бихте ли ни дали телефон за връзка, за да уточним детайли?"):3322==k&&(J=setTimeout(Et,1e4,"Right now all our operators are busy. Please wait a few minutes or give us your email, so we can contact you.")))}function Et(e){var t,n,o,a;"undefined"!=typeof sessionStorage&&'1'!=O('hasTriggeredNoReply')&&1!=L('hasTriggeredNoReplyC')&&1!=L('inChatC')&&0!=B&&(qt('onWebChat','Trigger (no reply) activated',''),q('hasTriggeredNoReply',1),W('hasTriggeredNoReplyC',1,.166),q('mustSendTriggerNoReplyText',!0),b=h(),(obj={}).vesrion=U,obj.url=window.location.href,obj.userAgent=navigator.userAgent,obj.realAgentOnline=Ie,obj.agentOnline=C,obj.durationInSeconds=(b-V)/1e3,obj.socketDurationInSeconds=(b-y)/1e3,obj.isConnected=H,obj.firstConnection=F,obj.timeoutTime_userconnect=w,obj.tryToReconnect=N,obj.pos=624,O('chattext')&&(obj.chattext=O('chattext').substring(0,20)),A.emit('sendchat',"",e,0,0,624,ue,D,mt,obj),At(),t=" agent-bubble ",a=o=n="",'agent'!=xe&&(t+=" agent-first ",1==ce)&&(o=''),1==ce&&(a=" big-margin-left "),_n('

'+o+''+S('max_agent',E).replace('{{operator}}',"")+' '+Ot(e).replace(/({{newline}})/gm,"
")+'

'))}}catch(e){console.log(e)}var pt='[]'.replace(/(\r\n|\n|\r)/gm,"{{newline}}"),a=JSON.parse(pt),xt=!1;void 0!==O('secOnSite')&&"NaN"!=O('secOnSite')||q('secOnSite',0);let Bt;function kt(e){_e=!0,document.getElementById('wb-send-image').style.pointerEvents='none',document.getElementById("wb-send-image").style.opacity="0.42",'aibot'==e&&(Bt=setTimeout(function(){Ct()},1e4))}function Ct(){clearTimeout(Bt),_e=!1,document.getElementById('wb-send-image').style.pointerEvents='auto',document.getElementById("wb-send-image").style.opacity="0.90"}function Tt(){O('chattext')&&O('chattext').endsWith(S('max_gone',E)+"

")&&(Be=!1,document.getElementById('onwbtxtarea').style.pointerEvents='none',document.getElementById("onwbtxtarea").disabled=!0,document.getElementById('wb-send-image').style.pointerEvents='none',document.getElementById('wb-smile-image').style.pointerEvents='none',document.getElementById("onwbtxtarea").style.opacity="0.42",document.getElementById("wb-send-image").style.opacity="0.42",document.getElementById("wb-smile-image").style.opacity="0.42",document.getElementById("onwbtxtarea").setAttribute("placeholder",""),disableMenuItem("uploadfileid"))}function Pt(){Be=!0;try{document.getElementById('onwbtxtarea').style.pointerEvents='auto',document.getElementById("onwbtxtarea").disabled=!1,document.getElementById('wb-send-image').style.pointerEvents='auto',document.getElementById('wb-smile-image').style.pointerEvents='auto'}catch(e){}document.getElementById("onwbtxtarea").style.opacity="1",document.getElementById("wb-send-image").style.opacity="0.90",document.getElementById("wb-smile-image").style.opacity="0.78",document.getElementById("onwbtxtarea").setAttribute("placeholder",S('max_placeholder',E)),enableMenuItem("uploadfileid")}var jt=a.length;if(1!=Z||0!=Me)for(var M=0;M/g,">")}xt&&setInterval(function(){void 0!==O('secOnSite')&&'NaN'!=O('secOnSite')||q('secOnSite',0),q('secOnSite',parseInt(O('secOnSite'))+1)},1e3);var qt=function(e,t,n){try{'function'==typeof gtag?gtag('event',t,{event_category:e,event_label:n}):ga('send','event',{eventCategory:e,eventAction:t,eventLabel:n})}catch(e){}};function At(){if(Xt){""==document.getElementById("onwebchataudio").innerHTML.trim()&&(document.getElementById("onwebchataudio").innerHTML='');var e=document.getElementById("onwebchataudio");try{e.play()}catch(e){}}}var S=function(e,t){return l[e]&&l[e][t]?l[e][t]:'email_text'==e?"Send chat transcript to your email:":'email_sent'==e?"Transcript sent!":'send'==e?"Send":null==l[e]?"":l[e].l1};try{for(i=0;in.length)&&(t=n.length),t-=e.length,n.indexOf(e,t));return-1!==n&&n===t});var Zt,A,R=document.location.protocol,zt=('file:'==R&&(R="https:"),document.location.port),zt=null==document.location.protocol||''==zt||'80'==zt||'443'==zt?'':':443',Ut=(serverIP="www.onwebchat.com","1"),Vt=!1,H=!1,N=!1,F=!0,$t=816e5,D=('free'==Pe&&($t=444e5),""),Xt=!0,Yt=(''==(Xt=Nt('onwbchtSound'))||null==Xt?(Xt=!0,Ft("onwbchtSound",1)):0==Xt&&(Xt=!1),''!=(D=null==(D=Nt('onwbchtclientid'))?'':D)&&null!=D&&1==ge&&1==m&&(ge=0),"uploaded/26870/pronostic.jpg"),Gt="uploaded/26870/pronostic.jpg",Jt="uploaded/26870/pronostic.jpg",Qt="uploaded/26870/pronostic.jpg";function Kt(){var e=navigator.userAgent.toLowerCase(),t=e.indexOf('msie '),n=e.indexOf('trident/'),o=e.indexOf('edge/');return 0()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i.test(e)}function tn(n,o){void(jdelay=0)!==window.define&&(console.log("define.."),jdelay=1200),setTimeout(function(){var t=document.createElement('script'),e=(t.src=n,t.async=!0,t.onreadystatechange=t.onload=function(){var e=t.readyState;o.done||e&&!/loaded|complete/.test(e)||(o.done=!0,o())},document.getElementsByTagName('head')[0]);e.insertBefore(t,e.firstChild)},jdelay)}'undefined'==typeof JSON&&(Vt=!0);var nn,on,an,Z,ln,dn=!1;function cn(){N=!0,A.connect(),8!=Kt()&&(Zt=setTimeout(function(){A.io.disconnect(),un()},$t))}function sn(){var e;document.getElementById("onwbchat_window").style.setProperty("animation-iteration-count","0"),document.getElementById("onwbchat_window").style.setProperty("box-shadow","rgba(0, 0, 0, 0.43) 0px 0em 1.2em","important"),1!=be&&!Z||document.getElementById("onwbchat_window").style.setProperty("display","block"),"none"==document.getElementById("div_chat_max_title").style.display&&d(),document.getElementById("onweb_chatimage")&&document.getElementById("onweb_chatimage").style.setProperty("display","none"),document.getElementById("outer_agent_bubble")&&document.getElementById("outer_agent_bubble").style.setProperty("display","none","important"),document.getElementById("onweb_chatimage_x")&&document.getElementById("onweb_chatimage_x").style.setProperty("display","none"),document.getElementById("onweb_chatimage")&&document.getElementById("onweb_chatimage").style.setProperty("display","none"),1==Se||0!=C||null!=O('chattext')&&''!=O('chattext')?(1==u&&0===O('chattext').length?(ke="prechat",document.getElementById('chat_area_id').style.display='none',document.getElementById('onwc_chat_message_div').style.display='none',document.getElementById('chat_info_id').style.display='none',document.getElementById('offline_form').style.display='none',document.getElementById('prechat_form').style.display='block'):(ke="chat",document.getElementById('chat_area_id').style.display='block',document.getElementById('onwc_chat_message_div').style.display='block',document.getElementById('chat_info_id').style.display='block',document.getElementById('offline_form').style.display='none',document.getElementById('prechat_form').style.display='none'),document.getElementById("div_chat_max_title_span").textContent=S('max_title',E)):(ke="offline",document.getElementById('chat_area_id').style.display='none',document.getElementById('onwc_chat_message_div').style.display='none',document.getElementById('chat_info_id').style.display='none',document.getElementById('offline_form').style.display='block',document.getElementById("div_chat_max_title_span").textContent=S('off_title',E),document.getElementById('prechat_form').style.display='none'),Z?(document.getElementById("onwbchat_window").style.setProperty("height","100%"),document.getElementById("onwbchat_window").style.setProperty("max-height","100%"),document.getElementById("onwbchat_window").style.setProperty("border-radius","0px","important"),document.getElementById("webchat_header").style.setProperty("border-radius","0px","important"),e=document.getElementById("onwbchat_window").clientWidth,document.getElementById("onwbtxtarea").style.setProperty("width",e-48-23+"px","important"),document.getElementById("chat_area_id").style.setProperty("width",+e+"px","important"),document.getElementById("webchat_header").style.setProperty("width",e-40+"px","important")):(document.getElementById("onwbchat_window").style.setProperty("height",We+"px","important"),document.getElementById("onwbchat_window").style.setProperty("top",p+"px"),document.getElementById("onwbchat_window").style.setProperty("left",g+"px"),document.getElementById("onwbchat_window").style.setProperty("bottom","20px","important")),document.getElementById("div_chat_min_title").style.setProperty("line-height","42px","important"),document.getElementById("webchat_header").style.setProperty("height",Le+"px","important"),document.getElementById("webchat_header").style.setProperty("cursor","move"),document.getElementById("div_chat_max_title").style.setProperty("display","block"),document.getElementById("div_chat_min_title").style.setProperty("display","none"),document.getElementById('off-form-onwebchat-logo')&&(document.getElementById('off-form-onwebchat-logo').style.display='block'),document.getElementById('onwebchat-logo-span')&&(document.getElementById('onwebchat-logo-span').style.display='block'),q('maxChat',1),loadEmoticons(),z(),rn(),mn()}function rn(){'chat'==ke&&1==ce?document.getElementById("div_chat_max_title_span").style.setProperty("padding-left","50px","important"):document.getElementById("div_chat_max_title_span").style.setProperty("padding-left","10px","important")}function mn(){var e=document.getElementById('chat_area_id'),e=e.scrollHeight-e.clientHeight<=e.scrollTop+100;document.getElementById('scrollToBottomBtn').style.display=e?'none':'block'}function un(){1!=be&&!Z||document.getElementById("onwbchat_window").style.setProperty("display","none"),"block"==document.getElementById('div_chat_max_title').style.display&&c(),q('maxChat',0),setTimeout(function(){document.getElementById('chat_area_id').style.display='none',document.getElementById('onwc_chat_message_div').style.display='none',document.getElementById('chat_info_id').style.display='none',document.getElementById('scrollToBottomBtn').style.display='none',document.getElementById("prechat_form")&&(document.getElementById('prechat_form').style.display='none'),document.getElementById("onwbchat_window").style.setProperty("height","60px"),document.getElementById('webchat_header').style.cursor='pointer',0==O('hideImage')&&document.getElementById("onweb_chatimage")&&(document.getElementById("onweb_chatimage").style.setProperty("display","inline"),document.getElementById("onweb_chatimage").style.setProperty("cursor","pointer"),document.getElementById("onweb_chatimage").style.setProperty("animation-iteration-count","0")),0==B&&document.getElementById("onweb_chatimage")&&document.getElementById("onweb_chatimage").style.setProperty("display","none"),document.getElementById('onweb_chatimage_x')&&(document.getElementById('onweb_chatimage_x').style.display='inline',onweb_chatimage_loaded()),document.getElementById("div_chat_min_title").style.setProperty("display","block"),document.getElementById("div_chat_max_title").style.setProperty("display","none"),document.getElementById('off-form-onwebchat-logo')&&(document.getElementById('off-form-onwebchat-logo').style.display='none'),document.getElementById('onwebchat-logo-span')&&(document.getElementById('onwebchat-logo-span').style.display='none'),document.getElementById("onwbchat_window").style.setProperty("box-shadow","0px 0px 5px 0px #777","important"),Z||(document.getElementById("onwbchat_window").style.setProperty("top","initial"),document.getElementById("onwbchat_window").style.setProperty("left","initial"),document.getElementById("onwbchat_window").style.setProperty(qe,Ae+"px"),document.getElementById("webchat_header").style.setProperty("height","40px","important"),document.getElementById("onwbchat_window").style.setProperty("height","40px","important"),document.getElementById("onwbchat_window").style.setProperty("bottom","0px","important"))},100)}function gn(){pn(document.getElementById("onwbchat_window")),pn(document.getElementById("onweb_chatimage"))}function pn(e){e&&(e.classList.remove('onwc-show'),e.classList.add('onwc-hide'),fadeTimout=setTimeout(function(){e.style.setProperty("display","none")},400))}function hn(){document.getElementById("onwbchat_window").classList.remove('onwc-hide'),document.getElementById("onweb_chatimage")&&document.getElementById("onweb_chatimage").classList.remove('onwc-hide'),0==be&&0==Z&&document.getElementById("onwbchat_window").style.setProperty("display","block"),1==O('hideImage')&&document.getElementById("onweb_chatimage")&&document.getElementById("onweb_chatimage").style.setProperty("display","none"),0==O('hideImage')&&document.getElementById("onweb_chatimage")&&document.getElementById("onweb_chatimage").style.setProperty("display","inline"),Z&&q('maxChat',0),1==O('maxChat')?sn():(document.getElementById('chat_area_id').style.display='none',document.getElementById('onwc_chat_message_div').style.display='none',document.getElementById('chat_info_id').style.display='none'),setTimeout(function(){let e=null!=(t=document.getElementById('onweb_chatimage'))?(t=t.getBoundingClientRect().top,window.innerHeight-t):0;var t;0==e?e=60:e+=16;let n=document.getElementById("outer_agent_bubble");document.getElementById("outer_agent_bubble_span")&&(n.style.setProperty("bottom",e+"px","important"),O('outeragentbubbletext'))&&''!=O('outeragentbubbletext')&&""==document.getElementById('outer_agent_bubble_span').textContent&&(document.getElementById("outer_agent_bubble_span")&&document.getElementById('outer_agent_bubble_span').insertAdjacentHTML("beforeend",O('outeragentbubbletext')),1!=O('maxChat'))&&n.style.setProperty("display","grid","important"),n.addEventListener('click',function(){sn(),document.getElementById("onwbtxtarea").focus()}),document.getElementById("outer_agent_bubble_x").addEventListener('click',function(e){e.stopPropagation(),n.style.setProperty("display","none","important"),Ht('outeragentbubbletext')})},500)}if(function(){try{return window.self!==window.top}catch(e){}}()&&(dn=!0),'function'!=typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,'')}),1!=Z||0!=Me)return hasRequirejs_delay=100,void 0!==window.define&&(hasRequirejs_delay=5e3),setTimeout(function(){window.__requirejsToggleBackup={define:window.define,require:window.require,requirejs:window.requirejs},window.define=void 0,window.require=void 0,window.requirejs=void 0,Vt||dn||tn(R+'//cdnjs.cloudflare.com/ajax/libs/socket.io/4.5.4/socket.io.min.js',""!=r?function(){!function(e,t,n){var o=new XMLHttpRequest;o.open('GET',e),o.withCredentials=!0,o.setRequestHeader('X-Requested-With','XMLHttpRequest'),o.setRequestHeader('Content-Type','application/json'),o.onreadystatechange=function(){4===o.readyState&&(200===o.status||0===o.status&&''!==o.responseText?n({url:e,status:200,body:o.responseText||''}):t({url:e,status:o.status,body:o.responseText||''}))},o.send()}(r,function(e){console.log("Error: language file failed to load! filename: "+r),console.log("Ensure that language file url is correct and is not blocked as cross-origin request."),'l1'!=E&&'l2'!=E&&(E='l1'),yn()},function(t){try{var e,n=JSON.parse(t.body);for(e in n)n.hasOwnProperty(e)&&(l[e]=n[e])}catch(e){console.log("exception parsing lang text file : "+e),console.log("lang text file data: "+t.body.substring(0,100)+" ...")}yn()})}:yn)},hasRequirejs_delay),enableMenuItem=function(e){document.getElementById(e)&&(document.getElementById(e).style.opacity=.84,document.getElementById(e).onmouseenter=function(e){this.style.opacity=1},document.getElementById(e).onmouseleave=function(e){this.style.opacity=.84},document.getElementById(e).style.setProperty("cursor","pointer","important"))},disableMenuItem=function(e){document.getElementById(e)&&(document.getElementById(e).style.opacity=.5,document.getElementById(e).onmouseenter=function(e){this.style.opacity=.5},document.getElementById(e).onmouseleave=function(e){this.style.opacity=.5},document.getElementById(e).style.setProperty("cursor","initial","important"))},''!=(ln=Nt('onwbchttimesVisited'))&&null!=ln&&'NaN'!=ln||(ln=0,Ft("onwbchttimesVisited",1)),{init:function(e){0},set:function(e,t){if("name"==e&&0==j){f=t;try{A.emit('setclientdetails',D,k,f,"","","")}catch(e){}}else if("email"==e&&0==j){_=t;try{A.emit('setclientdetails',D,k,"",_,"","")}catch(e){}}else if("phone"==e&&0==j){v=t;try{A.emit('setclientdetails',D,k,"","",v,"")}catch(e){}}else if("notes"==e&&0==j){Q=t;try{A.emit('setclientdetails',D,k,"","","",Q)}catch(e){}}else if("pageUrl"==e&&0==j)try{A.emit('setclientpageurl',D,k,"",t)}catch(e){}else if("pageTitle"==e&&0==j)try{A.emit('setclientpageurl',D,k,t,"")}catch(e){}else"max"==e&&0==j?1==t?(sn(),document.getElementById("onwbtxtarea").focus()):0==t&&un():"show"==e&&0==j?1==t?(B=1,hn()):0==t&&(B=0,gn()):"online"==e&&0==j||"hideImage"==e&&0==j||("language"==e&&0==j?'l1'!=(E='en'==(E='gr'!=(E=t)&&'el'!=E?E:'l1')?'l2':E)&&'l2'!=E&&(E='l1'):"languageFile"==e&&0==j?r="":"onClick"==e&&0==j?K=t:"onMaximize"==e&&0==j?d=t:"onMinimize"==e&&0==j?c=t:"onTrigger"==e&&0==j?s=t:"onStartWriting"==e&&0==j?ee=t:"onUpdateOperators"==e&&0==j?te=t:"onNewMessage"==e&&0==j?ne=t:"onWebChatLoaded"==e&&0==j?oe=t:"onlineColor"==e&&0==j?(ae=t,1==C&&""!=ae&&document.getElementById("webchat_header").style.setProperty('background-color',ae,'important')):"offlineColor"==e&&0==j&&(I=t,1!=C)&&""!=I&&(document.getElementById("webchat_header").style.setProperty('background-color',I,'important'),document.getElementById("offlineform_btn").style.setProperty('background-color',I,'important')))},get:function(e){return"name"==e?f:"email"==e?_:"phone"==e?v:"notes"==e?Q:"status"==e?1==C?"online":"offline":""}};function z(){let e;if(e='block'==document.getElementById("prechat_form").style.getPropertyValue('display')?document.getElementById('prechat_btn'):document.getElementById('offlineform_btn'),1==O('maxChat')&&null!=e){"rgb(255, 255, 255)"==getComputedStyle(e).backgroundColor&&e.style.setProperty("background-color","#ababab","important");let n=i();if(n<40&&''==document.getElementById("onwebchatform_div_id").style.margin||n<0){var o=(40-n)/9;let e=30-3*o;e<0&&(e=0),document.getElementById("onwebchatoffname")&&document.getElementById("onwebchatoffname").style.setProperty("margin",16-o+"px auto 5px","important"),document.getElementById("onwebchatoffemail")&&document.getElementById("onwebchatoffemail").style.setProperty("margin",16-o+"px auto 5px","important"),document.getElementById("onwebchatofftel")&&document.getElementById("onwebchatofftel").style.setProperty("margin",16-o+"px auto 5px","important"),document.getElementById("onwebchatemailtext")&&document.getElementById("onwebchatemailtext").style.setProperty("margin",16-o+"px auto 5px","important"),document.getElementById("onprechatname")&&document.getElementById("onprechatname").style.setProperty("margin",16-o+"px auto 5px","important"),document.getElementById("onprechatemail")&&document.getElementById("onprechatemail").style.setProperty("margin",16-o+"px auto 5px","important"),document.getElementById("onprechattel")&&document.getElementById("onprechattel").style.setProperty("margin",16-o+"px auto 5px","important"),document.getElementById("onprechattext")&&document.getElementById("onprechattext").style.setProperty("margin",16-o+"px auto 5px","important"),document.getElementById("prechat_btn").style.setProperty("margin",e+"px auto 20px","important"),document.getElementById("offlineform_btn").style.setProperty("margin",e+"px auto 20px","important");var a=document.getElementsByClassName("onwebchatform_div");let t=25-2*o;t<4&&(t=4),a[0].style.setProperty("margin",t+"px auto auto","important"),a[1].style.setProperty("margin",t+"px auto auto","important"),document.getElementById("onweboffline_msg_id").style.setProperty("margin-bottom",26-2*o+"px","important"),document.getElementById("onweboffline_msg_id").style.setProperty("top",10-o+"px","important"),document.getElementById("onwebprechat_msg_id").style.setProperty("margin-bottom",26-2*o+"px","important"),document.getElementById("onwebprechat_msg_id").style.setProperty("top",10-o+"px","important"),n=i()}function i(){let e;return e='block'==document.getElementById("prechat_form").style.getPropertyValue('display')?document.getElementById('prechat_btn'):document.getElementById('offlineform_btn'),document.getElementById('onwbchat_window').getBoundingClientRect().bottom-e.getBoundingClientRect().bottom}(n=i())<28&&(a=parseInt(document.getElementById("onwbchat_window").style.getPropertyValue('height')),document.getElementById("onwbchat_window").style.setProperty("height",a+(28-n)+"px","important"))}}function yn(){if(Object.assign&&(Object.assign(window,window.__requirejsToggleBackup),delete window.__requirejsToggleBackup),document.getElementsByTagName('head')[0].insertAdjacentHTML('beforeend',""),0==document.querySelectorAll(".onwebchatbox").length){div_chat_min_title=S(1==C?'min_online':'min_offline',E);var n=' by onWebChat',o=n.replace("l=2&","");1==je&&(n=o=""),image_name=Z?1==C?Yt:Gt:1==C?Jt:Qt;let e='',t='';1==ce&&(e='',t='');var a='
'+S('max_msg',E)+'
',i=(''==S('max_msg',E)&&(a=''),tempSaveSt='',Kt()||(tempSaveSt='
  • '+S('menu_save',E)+'
  • '),""),l="",d="";1==T&&(s=r="",1==P&&(r='',s='padding-left: 0px;text-indent:-17px;'),i='',l=i.replace(/_offline/g,'_prechat'),d=i.replace(/_offline/g,'_inchat_modal')),1==Z&&1!=Me||8!=Kt()&&document.getElementsByTagName('body')[0].insertAdjacentHTML('beforeend',"
    "+t+"
    "+div_chat_min_title+"
    "+S('off_msg',E)+"
    "+(0==Re?'':'')+(0==Ne?'':'')+(0==De?'':'')+''+i+''+o+"
    "+S('prechat_msg',E)+"
    "+(0==ze?'':'')+(0==Ve?'':'')+(0==Xe?'':'')+(0==Qe?'':'
      ')+''+l+''+o+"
      "+e+a+"
      • "+S('menu_send_file',E)+"
      • "+S('menu_email',E)+"
      • "+S('menu_print',E)+'
      • '+tempSaveSt+'
      • '+se+''+S('menu_sound',E)+"
      • '+S('menu_end_chat',E)+"
      "+n+'
      ×
      File size larger than 50 Mb
      ×
      File type not allowed
      "+S('email_text',E)+"
      ×
      "+S('email_sent',E)+"
      "+S('end_chat_msg',E)+'
      "+S('rating_msg',E)+"
      "+d+"
      "),openonwcDepartMenu=function(){A.emit('askdepartments',k),widthtemp=document.getElementById("departments").offsetWidth,document.getElementById("onwcdepartmenu").style.setProperty("width",widthtemp+"px","important")},onwcmenuliclick=function(e){document.getElementById("departments").value=e.children[0].innerText,Je=e.children[1].innerText.trim(),A.emit('visitorselectdepartment',k,Je),setTimeout(function(){document.getElementById("departments").style.setProperty("border","1px solid #CCC","important")},0)},consentTextClicked=function(){var e;1==P&&((e=document.getElementById("onwc_consent_checkbox_inchat_modal"))&&(e.checked=!e.checked,e.dispatchEvent(new Event("change"))),(e=document.getElementById("onwc_consent_checkbox_offline"))&&(e.checked=!e.checked,e.dispatchEvent(new Event("change"))),e=document.getElementById("onwc_consent_checkbox_prechat"))&&(e.checked=!e.checked,e.dispatchEvent(new Event("change")))},toggleModal=function(e,t){document.getElementById(e).classList.toggle("show-onwcmodal",t)},document.getElementById('onwbchat_window')&&document.getElementById('onwbchat_window').addEventListener("click",function(e){'onwcEndChatModal'!==e.target.id&&'onwcFileModal'!==e.target.id&&'onwcFileModalType'!==e.target.id&&'onwcEmailModal'!==e.target.id&&'onwcEmailOkModal'!==e.target.id||toggleModal(e.target.id,!1),'departments'!=e.target.id&&'onweb_menu_minimize_btn_id'!=e.target.id&&document.getElementById("onwcdepartmenu")&&document.getElementById("onwcdepartmenu").style.setProperty("display","none","important")}),checkPhone=function(e){e.value=e.value.replace(/[^\d -]/g,'')},emailTranscript=function(){""!=O('chattext')&&ct<6&&(document.getElementById("onwebchat-widget-settings-submenu-ul").style.setProperty("display","none"),toggleModal("onwcEmailModal"),document.getElementById("onwcemailtrans").focus())},checkMobileChatHeight=function(){try{var e;Z&&(e=document.getElementById("onwbchat_window").clientHeight,document.getElementById("chat_area_id").style.setProperty("height",e-98-Le-4+14+"px"),bn(document.getElementById("chat_area_id"),2,1))}catch(e){}},clickConsentModalOk=function(){var e=-1;document.getElementById("onwc_consent_checkbox_inchat_modal")&&(e=document.getElementById("onwc_consent_checkbox_inchat_modal").value),1==P&&0==document.getElementById("onwc_consent_checkbox_inchat_modal").checked?document.getElementById("onwc_consent_l_inchat_modal").style.setProperty("color","#D04848"):1==P&&1==document.getElementById("onwc_consent_checkbox_inchat_modal").checked?(W("consentvalue",2,93),toggleModal('onwcConsentModal',!1),A.emit('setconsentsettings',D,e,T,P)):1==T&&1!=P&&(W("consentvalue",1,93),toggleModal('onwcConsentModal',!1),A.emit('setconsentsettings',D,e,T,P))},document.getElementById("onwc_consent_checkbox_inchat_modal")&&document.getElementById("onwc_consent_checkbox_inchat_modal").addEventListener('change',function(){1==document.getElementById("onwc_consent_checkbox_inchat_modal").checked&&document.getElementById("onwc_consent_l_inchat_modal").style.setProperty("color","#545454")}),endChatClicked=function(){1==le&&(document.getElementById("onwebchat-widget-settings-submenu-ul").style.setProperty("display","none"),toggleModal("onwcEndChatModal",!0))},endChatFunction=function(){if(""!=O('chattext')){q('chattext',''),disableMenuItem("onwebchat-print-li"),disableMenuItem("onwebchat-savetofile-li"),disableMenuItem("onwebchat-email-li"),disableMenuItem('onwebchat-endchat-li'),le=!1;var t=document.getElementById('chat_area_id'),n=t.childNodes;for(let e=n.length-1;0<=e;e--){var o=n[e];'IMG'===o.tagName.toUpperCase()&&'operatorImage'===o.id||t.removeChild(o)}document.getElementById('chat_area_id').insertAdjacentHTML('beforeend',a),hn(),A.emit('close_dialog_visitor'),q("servingOpImage",""),x="",1==ce&&(x="0_support_man.png"),document.getElementById("departments")&&(document.getElementById("departments").value="",document.getElementById("departments").placeholder=S('departments',E)),document.getElementById('onprechattext').value='',Je=0}toggleModal('onwcEndChatModal',!1),1==pe&&1==L('inChatC')&&0==ye&&toggleModal("onwcRatingChatModal",!0),q("isRated",ye=0),q('hasTriggeredNoReply',0),W('hasTriggeredNoReplyC',0,.166),W('inChatC',0,.166)},rate=function(e){for(this.rating=e,document.getElementById("sendStarButton").classList.remove("disabled"),document.getElementById("sendStarButton").removeAttribute("disabled"),M=1;M<=e;M++){var t="onwcstar"+M;document.getElementById(t).style.setProperty("color","#ffb900","important")}for(M=e+1;M<=5;M++){t="onwcstar"+M;document.getElementById(t).style.setProperty("color","#aeaeae","important")}},sendRate=function(){A.emit('ratechat',k,he,this.rating),toggleModal('onwcRatingChatModal',!1),0==L('inChatC')?q("isRated",ye=0):q("isRated",ye=1)},sendEmailTranscript=function(){var e;en(document.getElementById('onwcemailtrans').value)?ct<6&&(e=(new Date).getTimezoneOffset()/60*-1,A.emit('onwcemailtranscript',D,k,document.getElementById("onwcemailtrans").value,e,rt),toggleModal("onwcEmailModal",!1),e=L('onwbchtemailsSent'),ct++,W('onwbchtemailsSent',""==e?1:parseInt(e)+1,.0416)):(document.getElementById("onwcemailtrans").focus(),document.getElementById("onwcemailtrans").style.setProperty("border","1px solid #D04848","important"))},document.getElementById("onwcemailtrans")&&document.getElementById("onwcemailtrans").addEventListener('keyup',function(){en(document.getElementById('onwcemailtrans').value)&&document.getElementById("onwcemailtrans").style.setProperty("border","1px solid #909090","important")}),(1==C?Pt:Tt)(),1==be&&document.getElementById("onwbchat_window").style.setProperty('display','none'),1==C?document.getElementById("onweb-offline-icon")&&document.getElementById("onweb-offline-icon").style.setProperty('display','none'):document.getElementById("onweb-online-icon")&&document.getElementById("onweb-online-icon").style.setProperty('display','none'),1==C&&""!=ae?document.getElementById("webchat_header").style.setProperty('background-color',ae,'important'):""!=I&&(document.getElementById("webchat_header").style.setProperty('background-color',I,'important'),document.getElementById("offlineform_btn").style.setProperty('background-color',I,'important')),0==Ke&&document.getElementById('onwc-settings-icon-id').remove(),0==tt&&0==et&&0==nt&&0==ot&&0==at&&0==it&&document.getElementById('onwebchat-widget-settings-submenu-ul')&&document.getElementById('onwebchat-widget-settings-submenu-ul').remove(),0==tt&&document.getElementById('onwebchat-email-li')&&document.getElementById('onwebchat-email-li').remove(),0==et&&document.getElementById('uploadfileid')&&document.getElementById('uploadfileid').remove(),0==nt&&document.getElementById('onwebchat-print-li')&&document.getElementById('onwebchat-print-li').remove(),0==ot&&document.getElementById('onwebchat-savetofile-li')&&document.getElementById('onwebchat-savetofile-li').remove(),0==at&&document.getElementById('onwebchat-volume-li-id')&&document.getElementById('onwebchat-volume-li-id').remove(),0==it&&document.getElementById('onwebchat-endchat-li')&&document.getElementById('onwebchat-endchat-li').remove(),validateFileSizeType=function(e,t){let n,o,a=(o=(1==t?(n=e.files[0].size/1024/1024,e.files[0]):(n=e.size/1024/1024,e)).name).split(".");a=(a=a[a.length-1]).toLowerCase();return["jpg","jpeg","png","gif","bmp","tiff","docx","xlsx","pdf","txt","rtf"].includes(a)?50'+S('max_me',E)+"\t[loading...]

      ",'me'),1==t&&(e=new FormData(document.getElementById("onwbchtUploadForm")),1==Ke)&&1==et&&sendFileToServer(e),!0):(toggleModal('onwcFileModalType'),document.getElementById('onwbchtFileinput').value='',!1)},SaveToFile=function(e){try{var t,n,o,a,i,l;""!=O('chattext')&&(document.getElementById("onwebchat-widget-settings-submenu-ul").style.setProperty("display","none"),n=(t=new Date).getFullYear()+'-'+(t.getMonth()+1)+'-'+t.getDate(),o='Chat transcript from '+wn(window.location.href)+' on '+n+'

      Chat transcript from "+wn(window.location.href)+' on '+n+'

      '+document.getElementById(e).innerHTML+'




      ',0 in(l=document.createElement('a')),l.setAttribute('href','data:text/plain;charset=utf-8,'+encodeURIComponent(i)),l.setAttribute('download',a),document.createEvent?(i=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0,clientX:0}),l.dispatchEvent(i)):l.click())}catch(e){console.log(e)}},PrintElem2Printer=function(e){try{""!=O('chattext')&&(document.getElementById("onwebchat-widget-settings-submenu-ul").style.setProperty("display","none"),Popup2Print(document.getElementById(e).innerHTML))}catch(e){console.log(e)}},Popup2Print=function(e){var t=window.open('','onWebChat live chat - Print ','height=700,width=920');return t.document.write('Chat transcript from '+wn(window.location.href)+' '),t.document.write(''),t.document.write('

      '),t.document.write(e),t.document.write(''),t.document.close(),t.focus(),t.print(),t.close(),!0},okButtonClicked=function(){A.emit('chatWindowMax',0),un()},uploadFilePressed=function(){.9',"")),bn(document.getElementById("chat_area_id"),20,1),setTimeout(function(){bn(document.getElementById("chat_area_id"),20,1)},500),setTimeout(function(){bn(document.getElementById("chat_area_id"),20,1)},1e3),o.src=t,(n=document.createElement("a")).innerHTML=o.outerHTML,n.setAttribute('href',R+"//"+serverIP+"/filesUpload/"+encodeURI(a)),n.setAttribute('target','_blank'),n.setAttribute('rel','noopener noreferrer'),o.parentNode.insertBefore(n,o),o.remove()):(t=o.src.replace("loading.gif","download-icon.png"),e=a.replace(/^.*[\\\/]/,''),o.src=t,(n=document.createElement("a")).innerHTML=o.outerHTML,n.setAttribute('href',R+"//"+serverIP+"/filesUpload/"+encodeURI(a)),n.setAttribute('target','_blank'),n.setAttribute('rel','noopener noreferrer'),o.parentNode.insertBefore(n,o),t=o.parentNode,o.remove(),(n=document.createElement("span")).innerHTML=e,t.appendChild(n),q('chattext',O('chattext').replace('',""+e+""))),b=h(),(obj={}).vesrion=U,obj.url=window.location.href,obj.userAgent=navigator.userAgent,obj.realAgentOnline=Ie,obj.agentOnline=C,obj.durationInSeconds=(b-V)/1e3,obj.socketDurationInSeconds=(b-y)/1e3,obj.isConnected=H,obj.firstConnection=F,obj.timeoutTime_userconnect=w,obj.tryToReconnect=N,obj.pos=3244,O('chattext')&&(obj.chattext=O('chattext').substring(0,20));let i=0;H||(i=5400,0==H&&0==N&&(obj.socketReconnect=1,cn())),setTimeout(function(){b=h(),obj.durationInSeconds2=(b-V)/1e3,obj.socketDurationInSeconds2=(b-y)/1e3,obj.isConnected2=H,obj.tryToReconnect2=N,obj.firstConnection2=F,obj.timeoutTime_userconnect2=w,obj.sendChatDelay=i,obj.pos=3244,A.emit('sendchat','{{fileuploaded:'+a+'}}',void 0,0,0,3244,ue,D,mt,obj),ne("{{fileuploaded:"+a+"}}","visitor")},i)},document.getElementsByClassName("formVal"),(a=new XMLHttpRequest).onreadystatechange=function(){4===a.readyState&&(200===a.status||0===a.status&&''!==a.responseText?o({url:t,status:200,body:a.responseText||''}):n({url:t,status:a.status,body:a.responseText||''}))},a.open("post",t,!0),a.send(e)},document.getElementById('onwc-settings-icon-id')&&(document.getElementById('onwc-settings-icon-id').onclick=function(e){var t;e.stopPropagation(),(t=document.getElementById('onwebchat-emoticons-div'))&&(t.classList.remove('onwc-show'),t.classList.add('onwc-hide'),setTimeout(function(){t.style.setProperty("display","none")},400)),p(document.getElementById('onwebchat-widget-settings-submenu-ul'))}),document.getElementById('wb-smile-image').onclick=function(e){var t;e.stopPropagation(),p(document.getElementById('onwebchat-emoticons-div')),(t=document.getElementById('onwebchat-widget-settings-submenu-ul'))&&t.classList.contains('onwc-show')&&(t.classList.remove('onwc-show'),t.classList.add('onwc-hide'),c=setTimeout(function(){t.style.setProperty("display","none")},400)),0==H&&0==N&&cn()},document.addEventListener("click",function(e){document.getElementById("onwebchat-widget-settings-submenu-ul")&&'1'==document.getElementById("onwebchat-widget-settings-submenu-ul").classList.contains('onwc-show')&&p(document.getElementById('onwebchat-widget-settings-submenu-ul')),'1'==document.getElementById("onwebchat-emoticons-div").classList.contains('onwc-show')&&p(document.getElementById('onwebchat-emoticons-div'))}),document.getElementById('onwebchat-volume-li-id')&&(document.getElementById('onwebchat-volume-li-id').onclick=function(e){1==Xt?(Xt=!1,Ft("onwbchtSound",0),document.getElementById('onwebchat-volume-icon').innerHTML=re):(Xt=!0,Ft("onwbchtSound",1),document.getElementById('onwebchat-volume-icon').innerHTML=se)}),0==Xt&&(document.getElementById('onwebchat-volume-icon').innerHTML=re),document.getElementById("onwebchat-widget-settings-submenu-ul")&&document.getElementById("onwebchat-widget-settings-submenu-ul").addEventListener("click",function(e){e.stopPropagation()}),document.getElementById("onwebchat-emoticons-div").addEventListener("click",function(e){e.stopPropagation()}),document.getElementById("webchat_header").style.setProperty("height","40px","important"),document.getElementById("onwbchat_window").style.setProperty("height","40px","important"),document.getElementById("div_chat_min_title").style.setProperty("line-height","42px","important"),document.getElementById("onwbchat_window").style.setProperty("box-shadow","0px 0px 5px 0px #777","important"),1!=ge&&!Z||(imageClass=Z?"onweb_chatimage_mobile":"onweb_chatimage",s=R+'//'+serverIP+'/chatWidgetImages/'+image_name,(r=document.getElementById('onwbchat_window'))&&(r.insertAdjacentHTML("afterend",'
      '),0==B)&&document.getElementById("onweb_chatimage")&&document.getElementById("onweb_chatimage").style.setProperty("display","none"),0==C&&1==Se&&document.getElementById("onweb_chatimage")&&document.getElementById("onweb_chatimage").style.setProperty("display","none"),onweb_chatimage_loaded=function(){document.getElementById('onwbchat_window').insertAdjacentHTML('beforeend','
      ');var e=parseInt(window.getComputedStyle(document.getElementById("onweb_chatimage"),null).getPropertyValue("left"))+parseInt(document.getElementById('onweb_chatimage').clientWidth)-4,e=(document.getElementById("onweb_chatimage_x").style.setProperty("left",e+"px"),parseInt(window.getComputedStyle(document.getElementById("onweb_chatimage"),null).getPropertyValue("bottom"))+parseInt(document.getElementById('onweb_chatimage').clientHeight)-4);document.getElementById("onweb_chatimage_x").style.setProperty("bottom",e+"px"),document.getElementById('onwbchat_window').onmouseleave=function(){document.getElementById('onweb_chatimage_x').style.visibility='hidden'},document.getElementById('onweb_chatimage_x').onmouseleave=function(){document.getElementById('onweb_chatimage_x').style.opacity='0.5'},document.getElementById('webchat_header').onmouseenter=function(){document.getElementById('onweb_chatimage_x').style.visibility='hidden'},document.getElementById('onweb_chatimage_x').onclick=function(){document.getElementById("onweb_chatimage").style.setProperty("display","none"),document.getElementById('onweb_chatimage_x').style.display="none",q('hideImage',1)}}),document.getElementById('offlineform_btn').onclick=function(){var e,t,n,o,a;return 1==T&&1==P&&0==document.getElementById("onwc_consent_checkbox_offline").checked||1==Ne&&1==Fe&&!en(document.getElementById("onwebchatoffemail").value)||1==De&&1==Ze&&document.getElementById("onwebchatofftel").value.length<4||1==Re&&1==He&&document.getElementById("onwebchatoffname").value.length<2||document.getElementById("onwebchatemailtext").value.length<1?(1==T&&1==P&&0==document.getElementById("onwc_consent_checkbox_offline").checked&&document.getElementById("onwc_consent_l_offline_span").style.setProperty("color","#D04848","important"),document.getElementById("onwebchatemailtext").value.length<1&&(document.getElementById("onwebchatemailtext").focus(),document.getElementById("onwebchatemailtext").style.setProperty("border","1px solid #D04848","important")),1==De&&1==Ze&&document.getElementById("onwebchatofftel").value.length<4&&(document.getElementById("onwebchatofftel").focus(),setTimeout(function(){document.getElementById("onwebchatofftel").style.setProperty("border","1px solid #D04848","important")},0),z()),1!=Ne||1!=Fe||en(document.getElementById("onwebchatoffemail").value)||(document.getElementById("onwebchatoffemail").focus(),setTimeout(function(){document.getElementById("onwebchatoffemail").style.setProperty("border","1px solid #D04848","important")},0),z()),1==Re&&1==He&&document.getElementById("onwebchatoffname").value.length<2&&(document.getElementById("onwebchatoffname").focus(),setTimeout(function(){document.getElementById("onwebchatoffname").style.setProperty("border","1px solid #D04848","important")},0),z())):(e=-1,document.getElementById("onwc_consent_checkbox_offline")&&(e=document.getElementById("onwc_consent_checkbox_offline").value),(t=new FormData).append('clientip',de),t.append('clientid',D),t.append('sid',k),t.append('name',''),t.append('email',''),t.append('text',''),t.append('phone',''),document.getElementById("onwebchatoffname")&&t.append('name',document.getElementById("onwebchatoffname").value),document.getElementById("onwebchatoffemail")&&t.append('email',document.getElementById("onwebchatoffemail").value),document.getElementById("onwebchatemailtext")&&t.append('text',document.getElementById("onwebchatemailtext").value),document.getElementById("onwebchatofftel")&&t.append('phone',document.getElementById("onwebchatofftel").value),t.append('conboxv',e),t.append('conuse',T),t.append('conboxshow',P),a=o=n=t="",document.getElementById("onwebchatoffname")&&(n=document.getElementById("onwebchatoffname").value),document.getElementById("onwebchatoffemail")&&(t=document.getElementById("onwebchatoffemail").value),document.getElementById("onwebchatemailtext")&&(o=document.getElementById("onwebchatemailtext").value),document.getElementById("onwebchatofftel")&&(a=document.getElementById("onwebchatofftel").value),A.emit('visitorSendOfflineEmail',D,de,k,n,t,o,a,e,T,P,rt),document.getElementById('onwebchatform_div_id').style.display="none",document.getElementById('onweboffline_msg_id').innerHTML=S('off_thank',E)+'',qt('onWebChat','Offline message sent','')),!1},document.getElementById('prechat_btn').onclick=function(){if(document.getElementById("onprechatname")&&(f=document.getElementById("onprechatname").value),document.getElementById("onprechatemail")&&(_=document.getElementById("onprechatemail").value),document.getElementById("onprechattel")&&(v=document.getElementById("onprechattel").value),null==_&&(_=""),null==v&&(v=""),f=(f=null==f?"":f).trim(),_=_.trim(),v=v.trim(),1==T&&1==P&&0==document.getElementById("onwc_consent_checkbox_prechat").checked||1==Ve&&1==$e&&!en(_)||1==Xe&&1==Ye&&v.length<4||1==ze&&1==Ue&&f.length<2||1==Qe&&1==Ge&&0==Je||document.getElementById('onprechattext').value.trim().length<1)return 1==T&&1==P&&0==document.getElementById("onwc_consent_checkbox_prechat").checked&&document.getElementById("onwc_consent_l_prechat_span").style.setProperty("color","#D04848","important"),document.getElementById('onprechattext').value.trim().length<1&&(document.getElementById('onprechattext').focus(),document.getElementById("onprechattext").style.setProperty("border","1px solid #D04848","important")),1==Xe&&1==Ye&&v.length<4&&(document.getElementById("onprechattel").focus(),setTimeout(function(){document.getElementById("onprechattel").style.setProperty("border","1px solid #D04848","important")},0),z()),1!=Ve||1!=$e||en(document.getElementById('onprechatemail').value)||(document.getElementById("onprechatemail").focus(),setTimeout(function(){document.getElementById("onprechatemail").style.setProperty("border","1px solid #D04848","important")},0),z()),1==ze&&1==Ue&&f.length<2&&(document.getElementById("onprechatname").focus(),setTimeout(function(){document.getElementById("onprechatname").style.setProperty("border","1px solid #D04848","important")},0),z()),1==Qe&&1==Ge&&0==Je&&(setTimeout(function(){document.getElementById("departments").style.setProperty("border","1px solid #D04848","important")},0),z()),!1;{var t=document.getElementById("onprechattext").value,n=(A.emit('setclientdetails',D,k,f,_,v,""),-1);1==(n=document.getElementById("onwc_consent_checkbox_prechat")?document.getElementById("onwc_consent_checkbox_prechat").value:n)?W("consentvalue",2,93):1==T&&W("consentvalue",1,93),A.emit('setconsentsettings',D,n,T,P),document.getElementById('chat_area_id').style.display="block",document.getElementById('onwc_chat_message_div').style.display="block",document.getElementById('chat_info_id').style.display="block",document.getElementById('prechat_form').style.display="none",document.getElementById('div_chat_max_title_span').textContent=S('max_title',E);_n("

      "+S('max_me',E)+'\t'+Ot(t)+'

      ','me'),xe="me",b=h(),(obj={}).vesrion=U,obj.url=window.location.href,obj.userAgent=navigator.userAgent,obj.realAgentOnline=Ie,obj.agentOnline=C,obj.durationInSeconds=(b-V)/1e3,obj.socketDurationInSeconds=(b-y)/1e3,obj.isConnected=H,obj.firstConnection=F,obj.timeoutTime_userconnect=w,obj.tryToReconnect=N,obj.pos=3850,O('chattext')&&(obj.chattext=O('chattext').substring(0,20));let e=0;return H||(e=5400,0==H&&0==N&&(obj.socketReconnect=1,cn())),setTimeout(function(){b=h(),obj.durationInSeconds2=(b-V)/1e3,obj.socketDurationInSeconds2=(b-y)/1e3,obj.isConnected2=H,obj.tryToReconnect2=N,obj.firstConnection2=F,obj.timeoutTime_userconnect2=w,obj.sendChatDelay=e,setTimeout(function(){A.emit('sendchat',t,void 0,0,Je,3850,ue,D,mt,obj)},400)},e),It(),ke="chat",rn(),!1}},document.getElementById('onwc_consent_checkbox_offline')&&document.getElementById('onwc_consent_checkbox_offline').addEventListener('change',function(){1==document.getElementById("onwc_consent_checkbox_offline").checked&&document.getElementById("onwc_consent_l_offline_span").style.setProperty("color","#545454","important")}),document.getElementById('onwc_consent_checkbox_prechat')&&(document.getElementById('onwc_consent_checkbox_prechat').onchange=function(){1==document.getElementById("onwc_consent_checkbox_prechat").checked&&document.getElementById("onwc_consent_l_prechat_span").style.setProperty("color","#545454","important")}),document.getElementById('onwebchatoffemail')&&(document.getElementById('onwebchatoffemail').onkeyup=function(){en(document.getElementById('onwebchatoffemail').value)&&(document.getElementById("onwebchatoffemail").style.setProperty("border","1px solid #ccc","important"),z())}),document.getElementById('onwebchatemailtext')&&(document.getElementById('onwebchatemailtext').onkeyup=function(){1<=document.getElementById('onwebchatemailtext').value.length&&(document.getElementById("onwebchatemailtext").style.setProperty("border","1px solid #ccc","important"),z())}),document.getElementById('onwebchatofftel')&&(document.getElementById('onwebchatofftel').onkeyup=function(){checkPhone(document.getElementById('onwebchatofftel')),4<=document.getElementById('onwebchatofftel').value.length&&(document.getElementById("onwebchatofftel").style.setProperty("border","1px solid #ccc","important"),z())}),document.getElementById('onwebchatoffname')&&(document.getElementById('onwebchatoffname').onkeyup=function(){2<=document.getElementById('onwebchatoffname').value.length&&(document.getElementById("onwebchatoffname").style.setProperty("border","1px solid #ccc","important"),z())}),document.getElementById('onprechatemail')&&(document.getElementById('onprechatemail').onkeyup=function(){en(document.getElementById('onprechatemail').value)&&(document.getElementById("onprechatemail").style.setProperty("border","1px solid #ccc","important"),z())}),document.getElementById('onprechattext').onkeyup=function(){1<=document.getElementById('onprechattext').value.length&&(document.getElementById("onprechattext").style.setProperty("border","1px solid #ccc","important"),z())},document.getElementById('onprechattel')&&(document.getElementById('onprechattel').onkeyup=function(){checkPhone(document.getElementById('onprechattel')),4<=document.getElementById('onprechattel').value.length&&(document.getElementById("onprechattel").style.setProperty("border","1px solid #ccc","important"),z())}),document.getElementById('onprechatname')&&(document.getElementById('onprechatname').onkeyup=function(){2<=document.getElementById('onprechatname').value.length&&(document.getElementById("onprechatname").style.setProperty("border","1px solid #ccc","important"),z())}),loadEmoticons=function(){if(""==document.getElementById('onwebchat-emoticons-div').innerHTML){document.getElementById('onwebchat-emoticons-div').insertAdjacentHTML('beforeend',"😉 😀 🙂 😂 😃 😁
      😅 😆 😎 😊 😇 😋
      😌 🤔 😍 😘 😗 😶
      😚 😜 😝 😛 😐 😒
      😳 😲 😵 😧 😞 😟
      😠 😡 😈 😔 😕 😓
      😦 😣 😖 😩 😤 😱
      😨 😰 😢 😭 😷 😴
      👍 👎 👏 🤝 💓 🙋");for(var e=document.querySelector("#onwebchat-emoticons-div").querySelectorAll("span"),t=0;t{bn(document.getElementById("chat_area_id"),50,1)}),1==j&&document.getElementById("onweb_chatimage").style.setProperty('display','none'),setTimeout(function(){z()},5),Vt||(null==O('chattext')&&q('chattext',''),1!=B&&1!=C&&1==Se&&''===O('chattext'))||0!=j||0===B||hn();l=0,o=navigator.userAgent;0==(l=-1

      ")&&1==C&&0!=Ie&&(n=document.getElementById('chat_area_id').lastChild,document.getElementById('chat_area_id').removeChild(n),q('chattext',O('chattext').substring(0,O('chattext').lastIndexOf('

      '+S('max_gone',E)+'

      '))),Pt()),1==C&&0!=Ie&&Pt(),0==ve&1!=C)&&0==Ie&&0

      ")||setTimeout(function(){1==C||0!=Ie||O('chattext').endsWith(S('max_gone',E)+"

      ")||(_n('

      '+S('max_gone',E)+'

      '),Tt())},1==X?3e3:1e3))}),A.on('setIsBlocked',function(e){Ft("onwbchtblocked",j=e=null==e?0:e),1==j?gn():0!=j||1!=C&&1==Se||0!=B&&hn()}),A.on('visitordeleted',function(){q('chattext',''),document.querySelectorAll('#chat_area_id p').forEach(function(e){e.remove()}),pn(document.getElementById("onwbchat_window")),deleteAllCookiesAndStorage(),A.disconnect()}),deleteAllCookiesAndStorage=function(){Rt("onwbchtclientid"),Rt("inChatC"),Rt("onwbchtSound"),Rt("onwbchtblocked"),Rt("onwbchtexpress.sid"),Rt("onwbchtlastvisit"),Rt("onwbchtsessionrandom"),Rt("onwbchttimesVisited");try{localStorage.clear(),sessionStorage.clear()}catch(e){}},A.on('servercommand',function(e,t,n,o,a,i){null!=n&&""!=n||(n="operator"),'close_dialog'==e?(1==L('inChatC')&&""!=S('max_closed',E)&&_n('

      '+S('max_closed',E).replace('{{operator}}',n)+'

      '),1==pe&&1==L('inChatC')&&0==ye&&toggleModal("onwcRatingChatModal",!0),W('inChatC',0,.166),q("servingOpImage",""),x=1==ce?"0_support_man.png":"",q('hasTriggeredNoReply',0),W('hasTriggeredNoReplyC',0,.166),disableMenuItem('onwebchat-endchat-li'),le=!1,q('isRated',ye=0),he=i):'serve_dialog'==e?(X="androidapp"==o?1:0,xe="served_by",""==S('max_served',E)||O('hasWrSeByTr')||_n('

      '+S('max_served',E).replace('{{operator}}',n)+'

      '),q("servingOpImage",x=a=""!=a&&a?a:"0_support_man.png"),document.getElementById("operatorImage")&&document.getElementById("operatorImage").setAttribute('src',R+'//'+serverIP+'/filesUpload/operatorImages/'+a)):'no_agent'==e&&_n('

      No agent is online now, but we will reply to you asap.

      ')}),A.on('disablesendbutton',function(){kt('aibot')}),A.on('updatechatvisitor',function(e,t){var n="",n=" me-bubble ",o=('me'!=xe&&(n+=" me-first "),"");_n('

      '+S('max_me',E)+'\t'+Ot(e)+'

      ',"me"),xe="me"}),A.on('updatechat',function(e,t,n,o){if('aibot'==(o=null!=o&&""!=o?o:"operator")?(q("chatWithBot",ve=1),x=lt,document.getElementById('onwbtxtarea').maxLength=fe,document.getElementById("operatorImage")&&document.getElementById("operatorImage").setAttribute('src',R+'//'+serverIP+'/filesUpload/operatorImages/'+lt),q("servingOpImage",lt)):q("chatWithBot",ve=0),'command:typing...'==n){document.getElementById('agenttypingimage')&&document.getElementById('agenttypingimage').remove();let e=1==ce?" big-margin-left ":"";null!=O('chattext')&&''!=O('chattext')&&document.getElementById('chat_area_id').insertAdjacentHTML("beforeend","
      "),setTimeout(function(){document.getElementById("chat_area_id").scrollTop=9999999},0)}else if('command:notyping...'==n)try{null!=document.getElementById('agenttypingimage')&&(document.getElementById('agenttypingimage').style.visibility='hidden')}catch(e){}else{var a,i,l,d;0!=B&&(Ct(),At(),clearTimeout(J),Pt(),document.getElementById('agenttypingimage')&&document.getElementById('agenttypingimage').remove(),i=a=l="",l=" agent-bubble ",'agent'!=xe&&(l+=" agent-first ",1==ce)&&(a=''),1==ce&&(i=" big-margin-left "),ne(n,"operator"),W('inChatC',1,.166),d="",_n('

      '+a+''+S('max_agent',E).replace('{{operator}}',o)+' '+Ot(n)+'

      '),xe="agent",""!=e&&1!=O('maxChat')&&MaximizeWindowInit(),1!=C&&(null!=O('chattext')&&O('chattext'),hn()),'block'==document.getElementById('prechat_form').style.display)&&hn()}}),removeLoadingImage=function(e){document.getElementById(e)&&(document.getElementById(e).style.background="none"),bn(document.getElementById('chat_area_id'),10,10)},0),n=0,o=0,i="";function a(){if(Z&&document.getElementById("onwbtxtarea").blur(),1!=j){var n=document.getElementById('onwbtxtarea').value;if((document.getElementById('onwbtxtarea').value="")!=n.trim()){var e="",e=" me-bubble",o=("me"!=xe&&(e+=" me-first "),ne(i=n,"visitor"),n=n.replace(/\n/g,"{{newline}}"),"");_n('

      '+S('max_me',E)+'\t'+Ot(n)+'

      ',"me"),xe="me",It(),b=h(),(obj={}).vesrion=U,obj.url=window.location.href,obj.userAgent=navigator.userAgent,obj.realAgentOnline=Ie,obj.agentOnline=C,obj.durationInSeconds=(b-V)/1e3,obj.socketDurationInSeconds=(b-y)/1e3,obj.isConnected=H,obj.tryToReconnect=N,obj.firstConnection=F,obj.timeoutTime_userconnect=w,obj.pos=5183,O('chattext')&&(obj.chattext=O('chattext').substring(0,20));let t=300;if(H||(t=900,0==H&&0==N&&(obj.socketReconnect=1,cn())),Dt('sessionStorage')&&O('mustSendTriggerText')||!Dt('sessionStorage')&&1==G){const a=O('triggerText');setTimeout(function(){A.emit('sendchat',n,a,0,0,5183,ue,D,mt,obj)},t),q('mustSendTriggerText',!1),G=!1,Ht('triggerText')}else setTimeout(function(){b=h(),obj.durationInSeconds2=(b-V)/1e3,obj.socketDurationInSeconds2=(b-y)/1e3,obj.isConnected2=H,obj.tryToReconnect2=N,obj.firstConnection2=F,obj.timeoutTime_userconnect2=w,obj.sendChatDelay=t,obj.pos=5191;let e=H?300:5300;setTimeout(function(){b=h(),obj.durationInSeconds3=(b-V)/1e3,obj.socketDurationInSeconds3=(b-y)/1e3,obj.isConnected3=H,obj.tryToReconnect3=N,obj.firstConnection3=F,obj.timeoutTime_userconnect3=w,obj.sendChatDelay2=e,obj.pos=5191,A.emit('sendchat',n,void 0,0,0,5191,ue,D,mt,obj)},e)},t)}t=0}}function l(){isRTLlanguage(S('max_placeholder',E).trim().substring(0,2))?d("rtl","right"):d("","left")}function d(e,t){document.getElementById('onwbtxtarea').style.setProperty("direction",e,"important"),document.getElementById('onwbtxtarea').style.setProperty("text-align",t,"important")}document.getElementById("onwc_chat_message_div").addEventListener("paste",function(e){0==H&&0==N&&cn(),setTimeout(function(){checkText2ShowSendButton()},0)}),document.getElementById("onwc_chat_message_div").addEventListener("keydown",function(e){if("Enter"!=e.key||e.shiftKey){1!=ie&&1!=O('hasStartedWriting')&&(ee(),q('hasStartedWriting',1)),ie=1,0==H&&0==N&&cn(),0==t&&0==j&&(1!=ve&&(b=h(),(obj={}).vesrion=U,obj.url=window.location.href,obj.userAgent=navigator.userAgent,obj.realAgentOnline=Ie,obj.agentOnline=C,obj.durationInSeconds=(b-V)/1e3,obj.socketDurationInSeconds=(b-y)/1e3,obj.isConnected=H,obj.firstConnection=F,obj.timeoutTime_userconnect=w,obj.tryToReconnect=N,obj.pos=5265,O('chattext')&&(obj.chattext=O('chattext').substring(0,20)),A.emit('sendchat','command:typing...',void 0,0,0,5265,ue,D,mt,obj)),t=1);let e='free'==Pe?1500:200;0==o&&(o=setTimeout(function(){var e;""!=(e=document.getElementById('onwbtxtarea').value).trim()&&0==j&&(b=h(),(obj={}).vesrion=U,obj.url=window.location.href,obj.userAgent=navigator.userAgent,obj.realAgentOnline=Ie,obj.agentOnline=C,obj.durationInSeconds=(b-V)/1e3,obj.socketDurationInSeconds=(b-y)/1e3,obj.isConnected=H,obj.firstConnection=F,obj.timeoutTime_userconnect=w,obj.tryToReconnect=N,obj.pos=5217,O('chattext')&&(obj.chattext=O('chattext').substring(0,20)),A.emit('sendchat',e,void 0,1,0,5217,ue,D,mt,obj)),o=0},e)),clearTimeout(n),n=setTimeout(function(){t=0,clearTimeout(o),1!=ve&&(b=h(),(obj={}).vesrion=U,obj.url=window.location.href,obj.userAgent=navigator.userAgent,obj.realAgentOnline=Ie,obj.agentOnline=C,obj.durationInSeconds=(b-V)/1e3,obj.socketDurationInSeconds=(b-y)/1e3,obj.isConnected=H,obj.firstConnection=F,obj.timeoutTime_userconnect=w,obj.tryToReconnect=N,obj.pos=5281,O('chattext')&&(obj.chattext=O('chattext').substring(0,20)),A.emit('sendchat','command:notyping...',void 0,0,0,5281,ue,D,mt,obj))},1800)}else e.preventDefault(),_e||(a(),clearTimeout(o),o=0)}),document.getElementById("wb-send-image").addEventListener("click",function(e){a(),Z||document.getElementById("onwbtxtarea").focus(),checkText2ShowSendButton()}),isRTLlanguage=function(e){return result=/[\u0590-\u05FF\u0600-\u06FF\u0750-\u077F\uFB50-\uFC3F\uFE70-\uFEFC]/.test(e)},l(),document.getElementById("onwc_chat_message_div").addEventListener("keyup",function(e){'ArrowUp'==e.key&&''==document.getElementById('onwbtxtarea').value&&(document.getElementById('onwbtxtarea').value=i),""!=document.getElementById('onwbtxtarea').value.trim().substring(0,2)?isRTLlanguage(document.getElementById('onwbtxtarea').value.trim().substring(0,2))?d("rtl","right"):d("","left"):""==document.getElementById('onwbtxtarea').value&&l(),1==T&&1!=L('consentvalue')&&2!=L('consentvalue')&&toggleModal("onwcConsentModal",!0),checkText2ShowSendButton()}),(checkText2ShowSendButton=function(){""==document.getElementById('onwbtxtarea').value?document.getElementById("wb-send-image").style.visibility="hidden":document.getElementById("wb-send-image").style.visibility="visible"})(),document.getElementById('onwebchatemailtext').addEventListener("keyup",function(e){isRTLlanguage(document.getElementById('onwebchatemailtext').value.substring(0,2))?(document.getElementById("onwebchatemailtext").style.setProperty("direction","rtl","important"),document.getElementById("onwebchatemailtext").style.setProperty("text-align","right","important")):(document.getElementById("onwebchatemailtext").style.setProperty("direction","","important"),document.getElementById("onwebchatemailtext").style.setProperty("text-align","left","important"))}),document.getElementById('onprechattext').addEventListener("keyup",function(e){isRTLlanguage(document.getElementById("onprechattext").value.substring(0,2))?(document.getElementById("onprechattext").style.setProperty("direction","rtl","important"),document.getElementById("onprechattext").style.setProperty("text-align","right","important")):(document.getElementById("onprechattext").style.setProperty("direction","","important"),document.getElementById("onprechattext").style.setProperty("text-align","left","important"))});var c,s,r=0;parseInt(document.getElementById("onwbchat_window").style.getPropertyValue('width'));function m(e){var t;e.target?t=e.target:e.srcElement&&(t=e.srcElement),"onweb_minimize_btn_icon_id"!=t.id&&1==O('maxChat')&&(r=1,window.addEventListener('mousemove',u,!0),document.getElementById("webchat_header").style.setProperty('cursor','move'))}function u(e){var t,n=window.innerHeight,o=Math.max(document.documentElement.clientWidth,document.body.scrollWidth,document.documentElement.scrollWidth,document.body.offsetWidth,document.documentElement.offsetWidth),a=parseInt(document.getElementById("onwbchat_window").style.getPropertyValue('height')),i=parseInt(document.getElementById("onwbchat_window").offsetWidth),l=e.clientX,e=e.clientY,d=(1==r&&(d=document.body.scrollTop,t=document.body.scrollLeft,divTop=document.getElementById('onwbchat_window').offsetTop-d,divLeft=document.getElementById('onwbchat_window').offsetLeft-t,c=l-divLeft,s=e-divTop),r=0,Y=1,document.getElementById('onwbchat_window'));d.style.position='absolute',(p=e-s)<0&&(p=0),n-a{return wn(n=n.startsWith("www.")?"https://"+n:n)==wn(window.location.href)?`${t}`:`${t}`}):"";var a=/(\b(https?|ftp|file):\/\/(?![-A-Z0-9+\/:.]*filesUpload\/operatorImages)[-A-Z0-9+&@#\/%?=~_|!:,.;()]*[-A-Z0-9+&@#\/%=~_|()])/gi;let i;null!=(i=vn(e)?i:e.match(a))&&(e=wn(i=i[0])==wn(window.location.href)?e.replace(a,"$1"):e.replace(a,"$1"));a=/(^|[^\/])(www\.[-A-Z0-9+&@#\/%?=~_|!:,.;()]*[-A-Z0-9+&@#\/%=~_|()])/gi;let l;null!=(l=vn(e)?l:e.match(a))&&(e=wn(l=l[0])==wn(window.location.href)?e.replace(a,"$1$2"):e.replace(a,"$1$2"));for(;-1'):''+c+'';e=e.replace("{{fileuploaded:"+d+"}}",s)}for(var r="😀😬😁😂😃😄😅😆😇😉😊🙂🙃😋😌😍😘😗😙😚😜😝😛🤑🤓😎🤗😏😶😐😒🙄🤔😳😞😟😠😡😔😕🙁😣😖😫😩😤😱😨😰😯😦😧😢😪😓😭😵😲🤐🤒🤕😴😮👍👎👏🤝💓🙏🙋😈😷"[Symbol.iterator]();;){var m=r.next();if(m.done)break;m=m.value,e=e.replace(new RegExp(m,"g"),''+m+'')}e=(e=(e=e.replace('[loading...]','')).replace(/{{newline}}/g,'
      ')).replace(/\*\*(.*?)\*\*/g,'$1');var a=new Date,u=a.getHours(),a=(u<10&&(u="0"+u),a.getMinutes());a<10&&(a="0"+a),n?(n=function(e){var t=document.createElement('div'),e=(t.innerHTML=e,t.querySelector('img'));e&&e.remove();e=t.querySelector('span.spanbold');e&&e.remove();e=t.innerHTML;return e=e.replace(/^]*>/,'').replace(/<\/p>$/,'')}(e),document.getElementById('outer_agent_bubble_span')&&(document.getElementById("outer_agent_bubble").style.setProperty("display","grid","important"),document.getElementById('outer_agent_bubble_span').insertAdjacentHTML("beforeend",n)),q('outeragentbubbletext',n)):Ht('outeragentbubbletext'),-1==e.indexOf("server_messages")&&(e="
      "+e+"
      "+u+":"+a+"
      "),null!=document.getElementById('agenttypingimage')?document.getElementById('agenttypingimage').insertAdjacentHTML("beforebegin",e):document.getElementById('chat_area_id')&&document.getElementById('chat_area_id').insertAdjacentHTML("beforeend",e),bn(document.getElementById("chat_area_id"),20,4),setTimeout(function(){bn(document.getElementById("chat_area_id"),20,1)},500),O('chattext')?q('chattext',O('chattext')+e):q('chattext',e),8!=Kt()&&(clearTimeout(Zt),Zt=setTimeout(function(){A.io.disconnect(),un()},$t)),enableMenuItem("onwebchat-print-li"),enableMenuItem("onwebchat-savetofile-li"),ct<6&&enableMenuItem("onwebchat-email-li"),enableMenuItem('onwebchat-endchat-li'),le=!0,Oe<340&&(n=document.getElementsByClassName('operatorImageSmallClass'),[].forEach.call(n,function(e){e.style.transform="scale(0.85)",e.style.marginLeft="3px"})),checkMobileChatHeight()}function vn(e){return/]*href=["']/i.test(e)}}();