1!function(){"use strict";var e={dirty:!1,raw:"95285a2",hash:"95285a2",distance:null,tag:null,semver:null,suffix:"95285a2",semverString:null,version:"1.4.1"};!function(){function t(){for(var e=arguments.length,t=Array(1<e?e-1:0),n=1;n<e;n++)t[n-1]=arguments[n]}function n(){return'<div id="cw.resultForm" class="as-result-form"><div class="as-survey-text"><p class="as-underline">Pomohli sme ti?</p></div><div class="as-survey-center"><a href="'+d.thumbUpUrl+'" target="_blank" class="nice-reply"><img class="as-survey-btn" id="thumbsUp" alt="Thumb up" src="'+d.thumbUpImg+'"></a>\n<a href="'+d.thumbDownUrl+'" target="_blank" class="nice-reply"><img class="as-survey-btn" id="thumbsDown" alt="Thumb down" src="'+d.thumbDownImg+'"></a></div>'}function a(e,n){var a=n?"WebChat.showChatButton":"WebChat.hideChatButton";e.command(a,{duration:1e3}).done((function(){t("setChatButtonVisibility.success")})).fail((function(e){t("setChatButtonVisibility.error",e)}))}function s(e,n){i(e,0,(function(){var a=e(".cx-widget .cx-webchat-chat-button");a.off(),a.click((function(){t("setupChatButton.click"),h=!1,u=!1,m=!1,t("ext.WebChat.open.exec"),n.command("WebChat.open",{form:{autoSubmit:!0,firstname:"Anon",lastname:"Anon",nickname:"Ja"}}).done((function(e){t("WebChat.open.success",e)})).fail((function(e){t("WebChat.open.fail",e)}))}))}))}function o(e,n){t("setTextContents.elem",e),e.contents().filter((function(){this.nodeType==Node.TEXT_NODE&&(this.nodeValue=n)}))}function i(e,t,n){setTimeout((function(){var a=e(".cx-widget .cx-webchat-chat-button");return 1===a.length?void n():void(15>++t&&0===a.length&&i(e,t,n))}),100)}function c(e,t,n){setTimeout((function(){var a=e(".cx-title");return 1===a.length?void n():void(15>++t&&0===a.length&&c(e,t,n))}),100)}function r(e,n){t("setupAvatar.agentId",n);var a=e(".as-avatar");t("setupAvatar.avatar",a);var s=d.avatarUrl+n+".jpg";if(-1===n&&(s=d.avatarDefaultUrl),0==a.length){var o=e(".cx-titlebar"),i=e(".cx-title"),c=e(".cx-titlebar .c
1x-icon");c.remove(),t("setupAvatar.titlebar",o),t("setupAvatar.icon",c);var r=e('<img src="'.concat(s,'" \n onError="this.onerror=null; this.src=\'').concat(d.avatarDefaultUrl,'\';"\n class="as-avatar">'));i.before(r)}else a.attr({src:s})}console.log("chat-widget v"+e.version);var d,l="/assets/chat/",u=!1,m=!1,h=!1;!function(){function i(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n}var f=function(){window._genesys||(window._genesys={}),window._gt||(window._gt=[]),window._genesys.widgets={onReady:function(e){t("widgets.onReady "+window._genesys.widgets.common.data("version")),e.command("App.info"),window.alcWidgetPlugin=e.registerPlugin("AlcLocalCust")},main:{debug:!1,theme:"365",themes:{365:"cx-theme-365"},lang:"sk",i18n:l+"resources/widgets-sk.i18n.json",timeFormat:24,customStylesheetID:"custom-genesys-widgets-styles",downloadGoogleFont:!1},sendmessage:{dataURL:d.msgURL,uploadsEnabled:!1,SendMessageButton:{enabled:!1,effect:"fade",openDelay:1e3,effectDuration:300},form:{inputs:[{id:"cx_sendmessage_form_firstname",name:"firstname",maxlength:"100",placeholder:"@i18n:sendmessage.PlaceholderFirstName",label:!1,value:"Anon",type:"hidden"},{id:"cx_sendmessage_form_lastname",name:"lastname",maxlength:"100",placeholder:"@i18n:sendmessage.PlaceholderLastName",label:!1,value:"Anon",type:"hidden"},{id:"cx_sendmessage_form_subject",name:"subject",maxlength:"100",placeholder:"@i18n:sendmessage.PlaceholderSubject",label:!1,value:"Anon",type:"hidden"},{id:"cx_sendmessage_form_email",type:"email",name:"email",maxlength:"100",placeholder:"@i18n:sendmessage.PlaceholderEmail",label:!1},{id:"cx_sendmessage_form_messagebody",type:"textarea",name:"messagebody",rows:"8",placeholder:"@i18n:sendmessage.PlaceholderTypetexthere",label:!1}]}},webchat:{userData:d.userData,emojis:!1,timeFormat:24,actionsMenu:!1,charCountEnabled:!1,markdown:!0,confirmFormCloseEnabled:!1,autoInvite:{enabled:!1,timeToInviteSeconds:5,inviteTimeoutSeconds:10},cometD:{enabled:!1},chatButton:{enabled:!1,openDelay:1e3,effectDuration:300,hideDuringInvite:!0},uploadsEnabled:!1,dataURL:d.GMSChatURL,apikey:"",form:{inputs:[{id:"cx_webchat_form_firstname",name:"firstname",maxlength:"100",placeholder:"@i18n:webchat.ChatFormPlaceholderFirstName",label:"@i18n:webchat.ChatFormFirstName",value:"Ja",type:"hidden"},{id:"cx_webchat_form_lastname",name:"lastname",maxlength:"100",placeholder:"@i18n:webchat.ChatFormPlaceholderLastName",label:"@i18n:webchat.ChatFormLastName",value:" ",type:"hidden"},{id:"cx_webchat_form_nickname",name:"nickname",maxlength:"100",placeholder:"@i18n:webchat.ChatFormPlaceholderLastName",label:"@i18n:webchat.ChatFormLastName",value:"Ja",type:"hidden"}]}}},window._genesys.widgets.extensions||(window._genesys.widgets.extensions={}),window._genesys.widgets.extensions.alcExt=function(d,l){t("ext.cx",l);var f=l.registerPlugin("alcExt");f.registerCommand("version",(function(t){t.deferred.resolve(e)})),f.registerCommand("WebChat",(function(e){t("ext.WebChat.command",e),f.command("WebChat.open",{form:{autoSubmit:!0,firstname:"Anon",lastname:"Anon",nickname:"Ja"}}).done((function(n){t("WebChat.open.success",n),e.deferred.resolve(n)})).fail((function(n){t("WebChat.open.fail",n),e.deferred.reject(n)}))})),f.subscribe("WebChatService.error",(function(e){t("ext.WebChatService.error",e)})),f.subscribe("App.ready",(function(){t("ext.App.ready")})),f.subscribe("WebChat.ready",(function(e){t("ext.WebChat.ready",e),s(d,f)})),f.subscribe("SendMessage.ready",(function(e){t("ext.SendMessage.ready",e)})),f.command("WebChatService.registerPreProcessor",{preprocessor:function(e){if(t("WebChatService.PreProcessor.message",e),"Agent"===e.from.type)e.from.nickname=e.from.nickname.split(" ")[0];else if("ParticipantJoined"===e.type);else if("CustomNotice"===e.type){if("###TargetAgentId###"===e.from.nickname){var n=e.text.split("|")[0];r(d,n),o(d(".cx-title"),e.text.split("|")[1])}"###SwitchToMsg###"===e.from.nickname&&function(e){t("switchToMsg"),h=!0,e.command("WebChatService.endChat").done((function(){t("switchToMsg.WebChatService.endChat.success")})).fail((function(e){t("switchToMsg.WebChatService.endChat.err"+e)}))}(f)}return e}}).done((function(){t("WebChatService.registerPreProcessor.success")})).fail((function(e){t("WebChatService.registerPreProcessor.fail",e)})),f.subscribe("WebChatService.botConnected",(function(e){t("WebChatService.botConnected",e),m=!0})),f.subscribe("WebChatService.agentConnected",(function(e){t("WebChatService.agentConnected",e),u=!0;var n=e.data.agents,a=(Object.keys(n),Object.values(n)[0].name);t("WebChatService.agentConnected.name",a);var s=a.split(" ")[0];c(d,0,(function(){o(d(".cx-title"),s)})),f.command("WebChatService.getSessionData").done((function(e){t("WebChatService.getSessionData.success",JSON.stringify(e))})).fail((function(e){t("WebChatService.getSessionData.fail",e)}))}
1)),f.subscribe("WebChatService.ended",(function(e){return t("WebChatService.ended",e),h?void f.command("WebChat.close").done((function(){t("switchToMsg.WebChat.close.success"),f.command("SendMessage.open").done((function(){t("switchToMsg.SendMessage.open.success")})).fail((function(e){t("switchToMsg.SendMessage.open.fail"+e)}))})).fail((function(){t("switchToMsg.WebChat.close.error"+e)})):void(!(u||m)||f.command("WebChat.showOverlay",{html:n(),hideFooter:!1}).done((function(){var e=document.getElementById("thumbsUp"),n=document.getElementById("thumbsDown");i(e,"click",(function(){f.command("WebChat.close").done((function(){t("WebChat.close.success")})).fail((function(){t("WebChat.close.error")}))})),i(n,"click",(function(){f.command("WebChat.close").done((function(){t("WebChat.close.success")})).fail((function(){t("WebChat.close.error")}))}))})))})),f.subscribe("WebChat.opened",(function(e){t("ext.WebChat.opened",e),h=!1,m=!1,u=!1,r(d,-1)})),f.subscribe("WebChat.closed",(function(e){t("WebChat.closed",e),s(d,f)})),f.subscribe("WebChat.messageAdded",(function(e){t("ext.WebChat.messageAdded",e)})),f.subscribe("SendMessage.opened",(function(e){t("ext.SendMessage.opened",e),a(f,!1),function(e,n){t("setMessageOfflineMsg");var a=n(".cx-powered-by");t("setMessageOfflineMsg.el",a),a.text("Sme offline")}(0,d)})),f.subscribe("SendMessage.closed",(function(e){t("ext.SendMessage.closed",e),a(f,!0),s(d,f)})),f.republish("ready"),f.ready()},function(e){var t=function(){var t=e.location;e.aTags=e.aTags||[];for(var n=0;n<e.aTags.length;n++){var a,s=e.aTags[n],o=t.getElementsByTagName(s.type)[0];if(t.getElementById(s.id))return;(a=t.createElement(s.type)).id=s.id,"script"==s.type?a.src=s.path:(a.type="text/css",a.rel="stylesheet",a.href=s.path),o?o.parentNode.insertBefore(a,o):t.head.appendChild(a)}},n=window.onload;e.onload?"function"==typeof window.onload?window.onload=function(){n(),t()}:window.onload=t:t()}({location:document,onload:!1,aTags:[{type:"script",id:"genesys-cx-widget-script",path:l+"resources/widgets.min.js"},{type:"link",id:"genesys-cx-widget-styles",path:l+"resources/widgets.min.css"}]})};window&&void 0!==window.widgetConfigJsonObject?(d=window.widgetConfigJsonObject,f()):function(e,t){var n=new XMLHttpRequest;n.overrideMimeType("application/json"),n.open("GET",e,!0),n.onreadystatechange=function(){4===n.readyState&&"200"==n.status&&t(n.responseText)},n.send(null)}(l+"widget-config.json",(function(e){d=JSON.parse(e),f()}))}()}()}();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.