chat.amplify.ai Open in urlscan Pro
2a02:26f0:7100::687e:24b1  Public Scan

URL: https://chat.amplify.ai/plugin/6090ee64bda49d2f06290673/chat_plugin.js?pluginId=6090ee64bda49d2f06290673
Submission: On December 08 via manual from RO — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

!function(e){var t={};function i(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)i.d(n,o,function(t){return e[t]}.bind(null,o));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=6)}([function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}(),s=i(15),l=i(1),d=i(3),c=i(4),p=(n=c)&&n.__esModule?n:{default:n};var u=!1,f=new(function(){function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.webChatWidget={},this.isDragging=!1,this.firstLoader=!0,this.firstMockChat=!0,this.startedAmplifyEngine=!1,this.widgetClose=!1,this.fileSelected=!1,this.widgetChatInitiated=!1,this.fileObj=!1,this.adRendered=null,this.init=function(e){var i=e.webChatWidget;t.webChatWidget=i,window.logger.push({webChatWidget:i})},this.getLiveLocation=function(e){(0,s.getUserCity)(e||t.webChatWidget.geoEnable).then(function(e){var t='{"city":"'+e.city+'","country_code":"'+e.country_code+'","country":"'+e.country_name+'"}';window.userData=t,(0,d.eraseCookie)("userObj"),(0,d.createCookie)("userObj",t,.125)})},this.isNonMetroCity=function(){var e=(0,d.readCookie)("userObj");if(""!=e&&null!=e&&"undefined"!=e){var i=JSON.parse(e),n=i.city?i.city:null;return!(n&&n!=e&&t.webChatWidget&&t.webChatWidget.openModeBlockedInCities&&t.webChatWidget.blockedCountry&&(t.webChatWidget.openModeBlockedInCities.includes(n)||t.webChatWidget.blockedCountry.includes(i.country_code)))}(0,s.getUserCity)(t.webChatWidget.geoEnable).then(function(e){var i='{"city":"'+e.city+'","country_code":"'+e.country_code+'","country":"'+e.country_name+'"}';window.userData=i,(0,d.createCookie)("userObj",i,.125);var n=t.webChatWidget.openModeCount-1;return n<0&&(n=0),(0,d.createCookie)("openModeCount",n,1),!(t.webChatWidget&&t.webChatWidget.openModeBlockedInCities&&t.webChatWidget.blockedCountry&&(t.webChatWidget.openModeBlockedInCities.includes(e.city)||t.webChatWidget.blockedCountry.includes(e.country_code)))})},this.renderFormInBot=function(){if(t.webChatWidget.uploadFile){var e=t.formFileUpload(["application/pdf","application/msword","application/vnd.ms-office","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/rtf","application/x-rtf","text/rtf","text/richtext","application/msword","application/doc","application/x-soffice"]);document.getElementById("chatList")&&(document.getElementById("chatList").innerHTML+=e);var i=JSON.parse(localStorage.getItem("clientInfo"));if(i&&i.expires_on){var n=new Date;Date.parse(n)>Date.parse(i.expires_on)&&t.getAccessKey()}else t.getAccessKey()}},this.validateUpload=function(){var e=t;acpjQuery("#uploadFile").change(function(t){console.log("file selected.."),this.fileSelected=!1;this.files[0];var i=this.files[0].type,n=this.files[0].name;if(!["application/pdf","application/msword","application/vnd.ms-office","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/rtf","application/x-rtf","text/rtf","text/richtext","application/msword","application/doc","application/x-soffice"].includes(i))return acpjQuery("#uploadStatus").html("Please select a valid file (.pdf/.doc/.docx/.rtf/.txt).").removeClass("AmplifySuccess").addClass("AmplifyError"),acpjQuery("#fileInput").val(""),!1;this.fileSelected=!0,acpjQuery("#uploadStatus").html('The file <span class="AmplifyBoldText">'+e.truncateString(n,30)+"</span> is selected").removeClass("AmplifySuccess").removeClass("AmplifyError")})},this.formFileUpload=function(e){var t="";return e&&(t=e.join(", ")),'<div class="uploadFormBox" style="margin-top:15px;margin-bottom:15px"><div class="uploadFormHeading">Upload Resume</div><div id="uploadBoxStart"><div id="uploadStatus" class="AmplifyText"></div><div id="AmplifyFileUpload"><form id="AmplifyForm" encType="multipart/form-data" class="AmplifyForm"><label class="AmplifyFormLabel">Choose File: <input type="file" name="uploadFile" id="uploadFile" class="AmplifyFileInput" placeholder="Choose File" accept="'+t+'"></label><input type="button" name="submit" value="UPLOAD" id="uploadFileButton" class="AmplifyFormButton"></div></div><div class="AmplifyLoadingFileUpload"><div class="loading-dots"><div class="loading-dots--dot dotwdt"></div><div class="loading-dots--dot dotwdt"></div><div class="loading-dots--dot dotwdt"></div><div class="loading-dots--dot dotwdt"></div><div class="loading-dots--dot dotwdt"></div></div></form></div></div></div>'},this.getAccessKey=function(){if(t.webChatWidget&&t.webChatWidget.clientAPI){var e=t.webChatWidget.clientAPI.getaccesskey,i=e.active,n="",o="",a="",r="";"sandbox"==i?(n=e.sandbox.apiURL,o=e.sandbox.apiKey,a=e.sandbox.apiSecret,r=e.sandbox.apiMethod):"production"==i&&(n=e.production.apiURL,o=e.production.apiKey,a=e.production.apiSecret,r=e.production.apiMethod);var s,l={key:o,secret:a,format:"json"};s={Accept:"application/json"},acpjQuery.ajax({type:r,url:n,data:JSON.stringify(l),contentType:"application/json",headers:s,crossDomain:!0,dataType:"json",success:function(e,t,i){var n=JSON.parse(localStorage.getItem("clientInfo"));n.access_token=e.access_token,n.expires_on=e.expires_on,localStorage.setItem("clientInfo",JSON.stringify(n)),console.log({success:!0})},error:function(e,t){console.log({success:!1,error_code:t.code})}})}},this.truncateString=function(e,t,i){if(e.length<=t)return e;var n=t-(i=i||"...").length,o=Math.ceil(n/2),a=Math.floor(n/2);return e.substr(0,o)+i+e.substr(e.length-a)},this.disableForm=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e&&(acpjQuery("#uploadStatus").html(e),"error"==t?acpjQuery("#uploadStatus").addClass("AmplifyError"):"success"==t&&acpjQuery("#uploadStatus").addClass("AmplifySuccess")),acpjQuery("#uploadFileButton").addClass("disabledButton").attr("disabled","disabled"),acpjQuery("#uploadFile").attr("disabled","disabled"),acpjQuery(".AmplifyFormLabel").addClass("disabledButton"),!1},this.enableForm=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e&&(acpjQuery("#uploadStatus").html(e),"error"==t?acpjQuery("#uploadStatus").addClass("AmplifyError"):"success"==t&&acpjQuery("#uploadStatus").addClass("AmplifySuccess")),acpjQuery("#uploadFileButton").removeClass("disabledButton").removeAttr("disabled"),acpjQuery("#uploadFile").removeAttr("disabled"),acpjQuery(".AmplifyFormLabel").removeClass("disabledButton"),!1},this.processFileUpload=function(){if(t.fileSelected||t.enableForm("Please select your resume.","error"),console.log("uploadresume"),t.webChatWidget&&t.webChatWidget.clientAPI){var e=t.webChatWidget.clientAPI,i=JSON.parse(localStorage.getItem("clientInfo")),n=i.access_token;if(!n)return t.disableForm("The file can not be uploaded.","error"),!1;if(!i.cId)return t.disableForm("The candidate id is missing.","error"),!1;var o=e.uploadresume,a=o.active,r="",s="",l=t;if("sandbox"==a?(r=o.sandbox.apiURL,s=o.sandbox.apiMethod,r=r.replace("CANDIDATE_ID",i.cId)):"production"==a&&(r=o.production.apiURL,s=o.production.apiMethod,r=r.replace("CANDIDATE_ID",i.cId)),!r)return t.disableForm("The resume uploading is not available.","error"),!1;var d=new FormData,c=acpjQuery("#uploadFile")[0].files[0];if(!c)return t.enableForm("Please select your resume.","error"),acpjQuery("#AmplifyForm").trigger("reset"),!1;c.name;d.append("resume_file",c);var p={url:r,method:s,timeout:0,headers:{Accept:"application/json",Authorization:n},processData:!1,mimeType:"multipart/form-data",contentType:!1,data:d};t.disableForm(),acpjQuery("#uploadStatus").html(""),acpjQuery(".AmplifyLoadingFileUpload").fadeIn(1e3),acpjQuery.ajax(p).done(function(e){acpjQuery(".AmplifyLoadingFileUpload").fadeOut(100),l.enableForm("Your resume has been successfully submitted.","success"),acpjQuery("#AmplifyForm").trigger("reset"),l.webChatWidget.uploadSuccessKeyword&&(this.isZendeskEnable()||window.amplifyChatEngine.sendMessageText(l.webChatWidget.uploadSuccessKeyword,!0),acpjQuery(".uploadFormBox").remove())}).fail(function(e,t,i){var n=acpjQuery.parseJSON(e.responseText);acpjQuery(".AmplifyLoadingFileUpload").fadeOut(100),console.log(n.non_field_errors),n.non_field_errors?l.enableForm(n.non_field_errors,"error"):l.enableForm("Please select your resume again.","error"),l.webChatWidget.uploadFailKeyword&&(this.isZendeskEnable()||window.amplifyChatEngine.sendMessageText(l.webChatWidget.uploadFailKeyword,!0),acpjQuery(".uploadFormBox").remove())})}},this.fileUploadToS3=function(){},this.fileUploadByAPI=function(){},this.responseFileUpload=function(){},this.showAmplifyInfoView=function(){if("complete"===document.readyState&&0==t.widgetClose&&!t.isDragging){if(t.currentState("open"),t.customizePosition("open"),t.enableTypeWriter(),acpjQuery("#amplifyDraggableDiv")&&acpjQuery("#amplifyDraggableDiv").hide(),acpjQuery("#amplifyChatBoxDiv")&&acpjQuery("#amplifyChatBoxDiv").show(),acpjQuery("#amplifyChatViewDiv")&&acpjQuery("#amplifyChatViewDiv").hide(),acpjQuery("#amplifyChatCoverDiv")&&acpjQuery("#amplifyChatCoverDiv").show(),acpjQuery("#amplifyChatHeaderDiv")&&acpjQuery("#amplifyChatHeaderDiv").show(),document.getElementById("amplifyChatBoxDiv")){var e=document.getElementById("amplifyChatBoxDiv");e.style.bottom="5px"}document.getElementById("poweredByAmplify")&&((e=document.getElementById("poweredByAmplify")).style.display="block"),document.getElementById("socialLinks")&&((e=document.getElementById("socialLinks")).style.display="block");document.getElementById("amplifyChatBoxButton")&&((e=document.getElementById("amplifyChatBoxButton")).style.bottom="40px")}},this.showAmplifyChatView=function(){t.startedAmplifyEngine=!0,t.adRendered=null,t.isDragging||0!=t.widgetClose||(t.currentState("open"),t.customizePosition("open"),acpjQuery("#amplifyWidget").removeClass("highZindex"),acpjQuery("#amplifyTriggerIcon").hide(),(0,l.isMobile)()?acpjQuery(".translucent").length>0&&(acpjQuery(".translucent").css("z-index","100"),acpjQuery(".translucent").show(),acpjQuery("body,html")&&acpjQuery("body,html").css({"overflow-y":"hidden"})):acpjQuery("#amplifyDragHandle").hide(),window.setTimeout(function(){acpjQuery("#sfacElement")&&acpjQuery("#sfacElement").hide(),acpjQuery("#amplifyDraggableDiv")&&acpjQuery("#amplifyDraggableDiv").hide()},0),acpjQuery("#amplifyChatBoxDiv")&&acpjQuery("#amplifyChatBoxDiv").show(),acpjQuery("#amplifyChatViewDiv")&&acpjQuery("#amplifyChatViewDiv").show(),acpjQuery("#amplifyChatCoverDiv")&&acpjQuery("#amplifyChatCoverDiv").hide(),acpjQuery("#amplifyChatHeaderDiv")&&acpjQuery("#amplifyChatHeaderDiv").show(),t.webChatWidget.simpleHideAndShowAnimation&&(acpjQuery("#amplifyChatBoxDiv")&&(acpjQuery("#amplifyChatBoxDiv").addClass("simpleShowAnimation"),acpjQuery("#amplifyChatBoxDiv").removeClass("simpleHideAnimation")),acpjQuery("#amplifyChatViewDiv")&&(acpjQuery("#amplifyChatViewDiv").addClass("simpleShowAnimation"),acpjQuery("#amplifyChatViewDiv").removeClass("simpleHideAnimation")),window.setTimeout(function(){acpjQuery("#amplifyChatBoxDiv").css({"z-index":"inherit",transform:"none"}),acpjQuery("#amplifyChatViewDiv").css({"z-index":"inherit",transform:"none"})},300)),t.webChatWidget.popupShowAnimation&&(acpjQuery("#amplifyChatBoxDiv")&&acpjQuery("#amplifyChatBoxDiv").addClass("popupShowAnimation"),window.setTimeout(function(){acpjQuery("#amplifyChatBoxDiv").css({"z-index":"inherit",transform:"none"}),acpjQuery("#amplifyChatViewDiv").css({"z-index":"inherit",transform:"none"})},300)),t.webChatWidget.salesforceAvailabilityChecker&&"object"===a(t.webChatWidget.salesforceAvailabilityCheckerConfig)&&t.webChatWidget.salesforceAvailabilityCheckerConfig.botId&&t.disableSalesforceAgentAvailabilityCheckTimer())},this.minimizeAmplifyWidget=function(){var e=0,i=0;if(0==t.widgetClose)return window.hideToolTip(),t.currentState("minimize"),t.customizePosition("close"),t.webChatWidget.simpleHideAndShowAnimation||acpjQuery("#amplifyWidget").addClass("highZindex"),acpjQuery("#amplifyTriggerIcon").show(),(0,l.isMobile)()||t.webChatWidget.enableOverlayOnDesktop?(t.webChatWidget.CloseIconOnMobile&&acpjQuery("#amplifyDragHandle").show(),acpjQuery(".translucent").length>0&&(acpjQuery(".translucent").hide(),acpjQuery("body,html").length>0&&acpjQuery("body,html").css({"overflow-y":"inherit"})),t.removeStyleFromBodyHtml()):acpjQuery("#amplifyDragHandle").show(),t.webChatWidget.simpleHideAndShowAnimation&&(acpjQuery("#amplifyChatBoxDiv")&&(acpjQuery("#amplifyChatBoxDiv").addClass("simpleHideAnimation"),acpjQuery("#amplifyChatBoxDiv").removeClass("simpleShowAnimation")),acpjQuery("#amplifyChatViewDiv")&&(acpjQuery("#amplifyChatViewDiv").addClass("simpleHideAnimation"),acpjQuery("#amplifyChatViewDiv").removeClass("simpleShowAnimation")),e=300,i=200),window.setTimeout(function(){acpjQuery("#amplifyDraggableDiv")&&acpjQuery("#amplifyDraggableDiv").show(),acpjQuery("#sfacElement")&&acpjQuery("#sfacElement").show()},i),window.setTimeout(function(){acpjQuery("#amplifyChatBoxDiv")&&acpjQuery("#amplifyChatBoxDiv").hide(),acpjQuery("#amplifyChatViewDiv")&&acpjQuery("#amplifyChatViewDiv").hide(),acpjQuery("#amplifyChatCoverDiv")&&acpjQuery("#amplifyChatCoverDiv").hide(),acpjQuery("#amplifyChatHeaderDiv")&&acpjQuery("#amplifyChatHeaderDiv").hide(),t.webChatWidget.simpleHideAndShowAnimation&&acpjQuery("#amplifyWidget").addClass("highZindex")},e),t.webChatWidget.salesforceAvailabilityChecker&&"object"===a(t.webChatWidget.salesforceAvailabilityCheckerConfig)&&t.webChatWidget.salesforceAvailabilityCheckerConfig.botId&&t.enableSalesforceAgentAvailabilityCheckTimer(t.webChatWidget.salesforceAvailabilityCheckerConfig.recheckDelay),!1},this.resetAmplifyWidget=function(){t.startedAmplifyEngine=!1},this.isEmpty=function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0},this.addEventListener=function(e,t){e&&e.removeEventListener("click",t),e&&e.addEventListener("click",t)},this.toggleAmplifyWidget=function(){setTimeout(function(){t.startedAmplifyEngine||t.webChatWidget.directChatbotPage?t.showAmplifyChatView():t.showAmplifyInfoView()},300)},this.currentState=function(e){e&&("open"==e&&(window.configWidget.widgetState.open=1),"minimize"==e&&(window.configWidget.widgetState.minimize<0?window.configWidget.widgetState.minimize+=1:window.configWidget.widgetState.minimize=1),"close"==e&&(window.configWidget.widgetState.close=1),window.configWidget.widgetState.currentState=e)},this.removeStyleFromBodyHtml=function(){"5e40ea5cb232e921e3a44723"!=t.webChatWidget.pluginId&&"5e8c604264d2b46468ffc561"!=t.webChatWidget.pluginId||acpjQuery("body,html").removeAttr("style")},this.customizePosition=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"close";(0,l.isMobile)()||"5e255324e22b995a4b82c94f"==t.webChatWidget.pluginId&&("close"===e?acpjQuery("#amplifyWidget").css({left:"unset",right:"18%"}):acpjQuery("#amplifyWidget").css({right:"unset",left:"18%"}))},this.closeAmplifyWidget=function(){var e=0;return t.startedAmplifyEngine=!1,t.widgetClose=!0,t.currentState("close"),t.customizePosition("close"),window.hideToolTip(),t.webChatWidget.simpleHideAndShowAnimation&&(acpjQuery("#amplifyChatBoxDiv")&&(acpjQuery("#amplifyChatBoxDiv").addClass("simpleHideAnimation"),acpjQuery("#amplifyChatBoxDiv").removeClass("simpleShowAnimation")),acpjQuery("#amplifyChatViewDiv")&&(acpjQuery("#amplifyChatViewDiv").addClass("simpleHideAnimation"),acpjQuery("#amplifyChatViewDiv").removeClass("simpleShowAnimation")),e=300),acpjQuery("#sfacElement")&&acpjQuery("#sfacElement").hide(),acpjQuery("#amplifyTriggerIcon")&&acpjQuery("#amplifyTriggerIcon").hide(),acpjQuery("#amplifyDragHandle")&&acpjQuery("#amplifyDragHandle").hide(),acpjQuery("#fixed320x50")&&acpjQuery("#fixed320x50").hide(),window.setTimeout(function(){(o=document.getElementById("amplifyWidget")).style.display="none"},e),acpjQuery(".translucent").length>0&&(0,l.isMobile)()&&(acpjQuery("#amplifyWidget").removeClass("highZindex"),acpjQuery(".translucent").hide(),acpjQuery("body,html").css({"overflow-y":"inherit"}),t.removeStyleFromBodyHtml()),!1},this.trackGAEvent=function(e,i,n,o){window.galite&&window.galite("send","event",[e],[i],[n],[o],[{send_to:t.webChatWidget.gaCode}])},this.bindLiveTV=function(){window.logger.push({bindLiveTV:!0}),acpjQuery(".openFullScreen").hide();var e=t.webChatWidget.fullScreenView.video.iframe,i=document.createElement("div");i.setAttribute("id","liveTVPlayer"),i.setAttribute("class","liveTVPlayer"),i.innerHTML=e,document.getElementById("chatList")&&document.getElementById("chatList").appendChild(i),acpjQuery(".openFullScreen").hide()},this.mockChatBot=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=!1;if(window.logger.push({mockChatbot:!0}),t.firstLoader){var o=document.createElement("div");o.setAttribute("class","loader"),o.setAttribute("id","imgLoader"),o.innerHTML='<div class="loading-dots"><div class="loading-dots--dot"></div><div class="loading-dots--dot"></div><div class="loading-dots--dot"></div></div>',o.style.cssText="margin:10px 10px 10px 10px;",document.getElementById("chatList")&&document.getElementById("chatList").appendChild(o);var a=!1;if(t.firstLoader&&t.webChatWidget.showWelcomeMsgInChatViewMock){n=!0;var r="";""!=t.webChatWidget.logoInChat&&((r=document.createElement("img")).setAttribute("src",t.webChatWidget.logoInChat),r.setAttribute("id","headImg"),r.setAttribute("height","50px"),r.setAttribute("width","auto"));var s="";if(""!=e){(s=document.createElement("div")).style.color="#666",s.style.fontSize="14px",s.style.fontWeight="600";var l=document.createTextNode(e);s.appendChild(l)}var d="";if(""!=i){(d=document.createElement("div")).style.color="#666",d.style.fontSize="12px",d.style.marginTop="5px";var c=document.createTextNode(i);d.appendChild(c)}a=!0}setTimeout(function(){t.webChatWidget.dynamicGallery&&t.printGallery(),t.webChatWidget.customDesign&&t.webChatWidget.startModuleAfterMock&&(t.printStartChatBtn(),acpjQuery("#imgLoader").hide())},3e3),t.firstLoader=!1}setTimeout(function(){if(a){var t=document.createElement("li");t.setAttribute("class","amplifyChat ChatLog__entry");var i=document.createElement("div");i.setAttribute("class","amplifyChat ChatLog__message");var o=document.createElement("p");if(o.setAttribute("class","amplifyChat"),n)n=!1,r&&o.appendChild(r),s&&o.appendChild(s),d&&o.appendChild(d);else{var l=document.createTextNode(e);o.appendChild(l)}i.appendChild(o),t.appendChild(i),document.getElementById("chatList")&&document.getElementById("chatList").appendChild(t)}document.getElementById("imgLoader")&&(document.getElementById("imgLoader").style.display="none")},2e3)},this.printMockChat=function(){if(window.logger.push({PrintMockChat:!0}),t.webChatWidget.startModuleAfterMock){if(t.webChatWidget.chatReset){var e=document.createElement("img");e.src=t.webChatWidget.bannerAd,e.style.maxWidth="96%",e.style.borderRadius="6px",e.style.border="1px solid #d3d3d3",e.style.marginLeft="4px",e.style.marginTop="6px",e.className="amplifyChat",document.getElementById("chatList").appendChild(e)}var i=0;if(t.firstMockChat){t.firstMockChat=!1;var n=t.webChatWidget.botText;if(t.firstLoader&&t.webChatWidget.startModuleAfterMock)t.mockChatBot(n.txt1,n.txt2);else for(var o in n)i<5&&(t.mockChatBot(n[o],""),i++)}}},this.printGallery=function(){if(window.logger.push({printGallery:!0}),!u&&window.insertTopNews&window.insertTopNews.data&&window.insertTopNews.data.items){u=!0;var e=window.insertTopNews.data.items,t=0,i="",n=document.createElement("div");for(var o in n.setAttribute("id","dynamicGallery"),n.setAttribute("class","dynamicGallery"),i+='<div class="myGallery" style="width:98%;text-align:left;margin-left:10px;background:#fff;border-radius:6px;border:1 px solid #c2c2c2;padding:6px;">',e)t>0&&(i+='<div class="myGallerySep"></div>'),i+='<div id="'+t+++'" class="myGalleryContainer">',i+='<div class="myGalleryImgDiv"><a href="'+e[o].link+'" style="border:0px;"><img src="'+e[o].image+'" class="myGalleryImg"></div>',i+='<div class="myGalleryContent">',i+='<div><a href="'+e[o].link+'" class="myGalleryTitle">'+e[o].title+"</a></div>",i+='<div class="myGalleryDescDiv"><a href="'+e[o].link+'" class="myGalleryDesc">'+e[o].description+"</a></div>",i+="</div>",i+="</div>";i+="</div>",n.innerHTML=i,document.getElementById("chatList")&&document.getElementById("chatList").appendChild(n)}},this.createDynamicBtns=function(e){if(!t.isEmpty(e)){var i=0,n=document.createElement("li");n.setAttribute("class","amplifyChat ChatLog__entry");var o=document.createElement("div");o.setAttribute("id","dynamicBtn"),o.setAttribute("style","margin:6px 0px 10px 0px;width:100%;max-width:325px;");var a=document.createElement("div");for(var r in a.setAttribute("id","dynamicBtnRow"),e)if(e.hasOwnProperty(r)&&i<=6&&e[r].text){var s=document.createElement("a");s.setAttribute("href",e[r].href?e[r].href:"#"),e[r]&&e[r].target&&s.setAttribute("target",e[r].target),e[r]&&e[r].btnStyle&&s.setAttribute("style",e[r].btnStyle),s.setAttribute("class",e[r].className?e[r].className:"quickBtnLink");var l=document.createElement("div");l.setAttribute("id",(e[r].btnPrefix?e[r].btnPrefix:"quickBtn_")+i),e[r]&&e[r].textStyle&&l.setAttribute("style",e[r].textStyle),l.setAttribute("class","quickBtnText"),l.innerHTML=e[r].text,s.appendChild(l),a.append(s),i++}i>0&&(o.appendChild(a),n.appendChild(o),document.getElementById("chatList")&&document.getElementById("chatList").appendChild(n))}},this.printStartChatBtn=function(){var e=t.webChatWidget.txtStartButton?t.webChatWidget.txtStartButton:"Start Chat",i=document.createElement("div");i.setAttribute("id","StartChatBot"),i.setAttribute("class","quickBtn blink"),i.innerHTML=e,document.getElementById("chatList")&&document.getElementById("chatList").appendChild(i)},this.isZendeskEnable=function(){return!(!t.webChatWidget.enableZendeskChat||"zendesk"!=window.chatHandover)},this.bindStartChat=function(){if(t.webChatWidget.QuickLinkModule&&!t.widgetChatInitiated){t.widgetChatInitiated=!0,window.logger.push({StartChatBtn:!0}),f.trackGAEvent("ACP",t.webChatWidget.pluginId,"StartChatBtn","1");var e=t.webChatWidget&&t.webChatWidget.initiateWithMetaData&&window.acpMetaData?window.acpMetaData:null;e&&t.webChatWidget.refreshMetaDataOnStart&&e.page&&e.page.url&&(e.page.url=window.location.href);var i=t.webChatWidget.enableAmplifyParams&&window.amplifyUrlParams&&window.amplifyUrlParams.acpK?window.amplifyUrlParams.acpK:t.webChatWidget.QuickLinkModule,n=!!(t.webChatWidget.enableAmplifyParams&&window.amplifyUrlParams&&window.amplifyUrlParams.acpK);t.isZendeskEnable()||(window.amplifyChatEngine.sendMessageText(i,!n,null,e),t.startedAmplifyEngine=!0),acpjQuery("#StartChatBot").fadeOut("slow")}},this.forceScrollBottom=function(){var e=1;setInterval(function(){e<=20&&(acpjQuery("#chatFrameWrapper").scrollTop(1e6),e+=1)},300)},this.clearInputBoxSendButton=function(){acpjQuery("#textInputSendButton")&&(acpjQuery("#textInputSendButton").html(""),acpjQuery("#textInputSendButton").text(""),t.webChatWidget.disableSendButtonOnStart||acpjQuery("#textInputSendButton").removeAttr("disabled"))},this.startAmplifyEngine=function(){t.clearInputBoxSendButton(),window.logger.push({startAmplifyEngine:!0}),window.startAmplifyEngine=!0;var e=40,i=setInterval(function(){document.getElementById("amplifyChatBoxButton")&&((o=document.getElementById("amplifyChatBoxButton")).style.bottom=e+"px"),e>10?(document.getElementById("poweredByAmplify")&&((o=document.getElementById("poweredByAmplify")).style.display="none",o.addEventListener("click",function(){this.trackGAEvent("ACP",this.webChatWidget.pluginId,"amplifyClick","1")})),document.getElementById("socialLinks")&&((o=document.getElementById("socialLinks")).style.display="none")):10==e&&(clearInterval(i),setTimeout(function(){t.showAmplifyChatView();var e=document.getElementById("textInput");o=document.getElementById("textInputSendButton"),e&&(t.webChatWidget.disableTextInput?t.disableACPInput():(e.setAttribute("placeholder",t.webChatWidget.adViewPlaceholder),e.setAttribute("type","text"),e.setAttribute("autocomplete","off"),e.addEventListener("keydown",function(i){if("616fadda50b08f57b5b99d08"===t.webChatWidget.pluginId&&t.enableACPInput(),"Enter"===i.key){if(t.forceScrollBottom(),t.webChatWidget.profineText&&(0,l.profineText)(i,e,o),t.webChatWidget.disableSendButtonWhenTextInputIsEmpty&&(o.disabled=!0),t.isZendeskEnable()){if("bw_login"===e.value)return window.acpTriggerNextNodes(["ZENDESK_LOGIN"],"",{}),!1;if("bw_loginmodal"===e.value)return window.acpTriggerNextNodes(["ZENDESK_LOGIN_MODAL"],"",{}),!1;p.default.zChatSendMessage(e.value)}t.webChatWidget.typingEvents&&t.webChatWidget.typingEventConfig&&"object"===a(t.webChatWidget.typingEventConfig)&&window.acpUserIsTyping&&(window.acpTypingTimer&&(clearTimeout(window.acpTypingTimer),window.acpTypingTimer=null),window.acpUserIsTyping=!1,t.webChatWidget.typingEventConfig.typingOff&&"function"==typeof t.webChatWidget.typingEventConfig.typingOff&&t.webChatWidget.typingEventConfig.typingOff())}}))),o&&(o.addEventListener("mousedown",function(i){if(t.forceScrollBottom(),t.webChatWidget.profineText&&(0,l.profineText)(i,e,o),t.isZendeskEnable()){if("bw_login"===e.value)return window.acpTriggerNextNodes(["ZENDESK_LOGIN"],"",{}),!1;if("bw_loginmodal"===e.value)return window.acpTriggerNextNodes(["ZENDESK_LOGIN_MODAL"],"",{}),!1;p.default.zChatSendMessage(e.value)}t.webChatWidget.typingEvents&&t.webChatWidget.typingEventConfig&&"object"===a(t.webChatWidget.typingEventConfig)&&window.acpUserIsTyping&&(window.acpTypingTimer&&(clearTimeout(window.acpTypingTimer),window.acpTypingTimer=null),window.acpUserIsTyping=!1,t.webChatWidget.typingEventConfig.typingOff&&"function"==typeof t.webChatWidget.typingEventConfig.typingOff&&t.webChatWidget.typingEventConfig.typingOff())}),o.innerText="",t.webChatWidget.disableSendButtonWhenTextInputIsEmpty&&(o.disabled=!0)),acpjQuery("#JtextInputSendButton").click(function(){this.isZendeskEnable()||(window.amplifyChatEngine.sendMessageText(this.webChatWidget.welcomeModule,!0),this.startedAmplifyEngine=!0)});var i=!0,n=(0,d.readCookie)("showWelcomeMsgAgain");""!=n&&"false"==n&&(i=!1),t.webChatWidget.startModuleAfterMock&&i?(t.printMockChat(),(0,d.createCookie)("showWelcomeMsgAgain",!1,1)):t.bindStartChat(),t.webChatWidget.customDesign&&t.webChatWidget.startModuleAfterMock&&acpjQuery(document).on("click","#StartChatBot",t.bindStartChat),t.webChatWidget.b3_google_320_50&&(document.getElementById("chatFrameWrapper").getElementsByTagName("img")[0].style.display="none")},100)),e--},30)},this.getTextWrite=function(e){for(var i=0;i<e.length;i++)!function(t){setTimeout(function(){acpjQuery("#amplifyChatBoxButton").val(e[t])},1e3*t)}(i);setTimeout(t.enableTypeWriter,1e3*e.length)},this.enableTypeWriter=function(){var e=JSON.parse(t.webChatWidget.botViewPlaceholder);acpjQuery("#amplifyChatBoxButton").val(e[0]),t.getTextWrite(e)},this.showMenu=function(){acpjQuery("#acpMenu").show(),acpjQuery("#acpMenu").addClass("simpleShowAnimationForMenu"),acpjQuery("#acpMenu").removeClass("simpleHideAnimationForMenu")},this.hideMenu=function(){acpjQuery("#acpMenu").addClass("simpleHideAnimationForMenu"),acpjQuery("#acpMenu").removeClass("simpleShowAnimationForMenu"),setTimeout(function(){acpjQuery("#acpMenu").hide()},300)},this.increaseACPHeight=function(){acpjQuery("#amplifyChatBoxDiv").addClass("enlargeChatBox"),acpjQuery("#amplifyChatViewDiv").addClass("enlargeChatView"),window.setTimeout(function(){acpjQuery("#acpUnStretchIcon").show(),acpjQuery("#acpStretchIcon").hide()},600)},this.resetACPHeight=function(){acpjQuery("#amplifyChatViewDiv").removeClass("enlargeChatView"),acpjQuery("#amplifyChatBoxDiv").removeClass("enlargeChatBox"),window.setTimeout(function(){acpjQuery("#acpStretchIcon").show(),acpjQuery("#acpUnStretchIcon").hide()},700)},this.checkSalesforceAgentAvailability=function(){t.webChatWidget.salesforceAvailabilityChecker&&"object"===a(t.webChatWidget.salesforceAvailabilityCheckerConfig)&&t.webChatWidget.salesforceAvailabilityCheckerConfig.botId&&acpjQuery.post("https://asllcjv1of.execute-api.us-east-1.amazonaws.com/prod/agentAvailability",{botId:t.webChatWidget.salesforceAvailabilityCheckerConfig.botId},function(e){e&&e.isAvailable?(acpjQuery("#sfacStatusText").text("Chat Now"),acpjQuery("#sfacElement").addClass("sfacElementOnAvailable"),acpjQuery("#sfacStatusText").addClass("sfacStatusTextOnAvilable"),acpjQuery("#sfacStatusIcon").addClass("sfacStatusIconOnAvilable"),acpjQuery("#sfClickBlocker")&&acpjQuery("#sfClickBlocker").hide(),window.salesforceAgentIsAvailable=!0,window.salesforceClickBlockerIsActive=!1):(acpjQuery("#sfacStatusText").text("Chat Support"),acpjQuery("#sfacElement").removeClass("sfacElementOnAvailable"),acpjQuery("#sfacStatusText").removeClass("sfacStatusTextOnAvilable"),acpjQuery("#sfacStatusIcon").removeClass("sfacStatusIconOnAvilable"),acpjQuery("#sfClickBlocker")&&acpjQuery("#sfClickBlocker").show(),window.salesforceAgentIsAvailable=!1,window.salesforceClickBlockerIsActive=!(!window.amplifyUrlParams||!window.amplifyUrlParams.blockClickWhenAgentUnavailable))})},this.enableSalesforceAgentAvailabilityCheckTimer=function(e){window.sfaChecker=setInterval(function(){t.checkSalesforceAgentAvailability()},e)},this.disableSalesforceAgentAvailabilityCheckTimer=function(){clearInterval(window.sfaChecker)},this.showFileUploader=function(){acpjQuery("#acpFileUploadLoader").hide(),acpjQuery(".acpFileUploadButton").show(),acpjQuery("#acpFileUploadThumbnailLabel").show(),acpjQuery("#acpFileUploadBlocker").hide(),acpjQuery("#acpFileUploader").show(),acpjQuery("#acpFileUploader").addClass("simpleShowAnimationForMenu"),acpjQuery("#acpFileUploader").removeClass("simpleHideAnimationForMenu"),t.addDragAndDropLogicToFileUploader("#acpFileUploadArea","#acpFileUploaderInput")},this.addDragAndDropLogicToFileUploader=function(e,i){var n=function(e){e.stopPropagation(),e.preventDefault()};acpjQuery(e).on("dragenter",function(e){n(e)}),acpjQuery(e).on("dragover",function(e){n(e)}),acpjQuery(e).on("dragleave",function(e){n(e)}),acpjQuery(e).on("drop",function(e){n(e);var i=e.originalEvent.dataTransfer.files;t.prepareFormDataForFileUpload(i)}),acpjQuery(i).change(function(e){n(e),t.prepareFormDataForFileUpload()})},this.prepareFormDataForFileUpload=function(e){if(!e){e=[];acpjQuery.each(acpjQuery("#acpFileUploaderInput")[0].files,function(t,i){e.push(i)})}var i=e[0];i?(t.addFileThumbnailInUploader(i),window.acpFileUploadFormData=new FormData,window.acpFileUploadFormData.append("file",i),window.acpFileUploadFormData.append("fileNameInput",i.name)):window.acpFileUploadFormData=null},this.addFileThumbnailInUploader=function(e){console.log("Selected File for Uploading: "+e.name),acpjQuery("#acpFileUploaderInputLabel").hide(),acpjQuery("#acpFileUploaderThumbnailWrapper").show(),acpjQuery("#acpFileUploaderThumbnailWrapper div p").text(e.name)},this.clearFileThumbnailInUploader=function(){acpjQuery("#acpFileUploaderInputLabel").show(),acpjQuery("#acpFileUploaderThumbnailWrapper").hide(),acpjQuery("#acpFileUploaderThumbnailWrapper div p").text("File")},this.uploadFilesToSalesforce=function(){if(!window.acpFileUploadFormData)return console.warn("No File Selected for Uploading");if(window.salesforceFileUploadConfig&&window.salesforceFileUploadConfig.uploadUrl&&window.salesforceFileUploadConfig.orgId&&window.salesforceFileUploadConfig.sessionId&&window.salesforceFileUploadConfig.fileToken&&window.acpFileUploadFormData){acpjQuery(".acpFileUploadButton").hide(),acpjQuery("#acpFileUploadLoader").show(),acpjQuery("#acpFileUploadThumbnailLabel").hide(),acpjQuery("#acpFileUploadBlocker").show();var e=window.salesforceFileUploadConfig.uploadUrl+"?orgId="+window.salesforceFileUploadConfig.orgId+"&chatKey="+window.salesforceFileUploadConfig.sessionId+"&fileToken="+window.salesforceFileUploadConfig.fileToken+"&encoding=UTF-8";t.makeAjaxRequestForFileUpload(e,window.acpFileUploadFormData)}},this.uploadFilesToAWS=function(){if(!window.acpFileUploadFormData)return console.warn("No File Selected for Uploading");if(window.awsFileUploadConfig&&window.awsFileUploadConfig.key&&window.awsFileUploadConfig.expiry&&window.awsFileUploadConfig.url&&window.awsFileUploadConfig.bucket&&window.awsFileUploadConfig.algorithm&&window.awsFileUploadConfig.credential&&window.awsFileUploadConfig.date&&window.awsFileUploadConfig.signature&&window.awsFileUploadConfig.securityTokenPart1&&window.awsFileUploadConfig.securityTokenPart2&&window.awsFileUploadConfig.policyPart1&&window.awsFileUploadConfig.policyPart2&&window.awsFileUploadConfig.policyPart3){acpjQuery(".acpFileUploadButton").hide(),acpjQuery("#acpFileUploadLoader").show(),acpjQuery("#acpFileUploadThumbnailLabel").hide(),acpjQuery("#acpFileUploadBlocker").show(),window.awsFileUploadConfig.securityToken=""+window.awsFileUploadConfig.securityTokenPart1+window.awsFileUploadConfig.securityTokenPart2,window.awsFileUploadConfig.policy=""+window.awsFileUploadConfig.policyPart1+window.awsFileUploadConfig.policyPart2+window.awsFileUploadConfig.policyPart3;var e=window.acpFileUploadFormData.get("file");window.awsFileUploadConfig.key+="."+e.name.split(".").pop();var i={key:window.awsFileUploadConfig.key,bucket:window.awsFileUploadConfig.bucket,"X-Amz-Algorithm":window.awsFileUploadConfig.algorithm,"X-Amz-Credential":window.awsFileUploadConfig.credential,"X-Amz-Date":window.awsFileUploadConfig.date,"X-Amz-Security-Token":window.awsFileUploadConfig.securityToken,Policy:window.awsFileUploadConfig.policy,"X-Amz-Signature":window.awsFileUploadConfig.signature},n=new FormData;Object.keys(i).forEach(function(e){n.append(e,i[e])}),n.append("file",e),t.makeAjaxRequestForFileUpload(window.awsFileUploadConfig.url,n)}},this.makeAjaxRequestForFileUpload=function(e,i){e&&i&&acpjQuery.ajax({url:e,data:i,cache:!1,contentType:!1,processData:!1,method:"POST",type:"POST",success:t.fileUploadSuccessful,error:t.fileUploadFailed})},this.fileUploadSuccessful=function(e){"aws"===window.acpFileUploadDestination?(window.acpTriggerNextNodes(["ACP_FILE_UPLOAD_SUCCESSFUL"],"File",{type:window.acpFileUploadFormData.get("file").name.split(".").pop()}),window.awsFileUploadConfig=null,window.acpFileUploadFormData=null,t.hideFileUploader()):"Success"===e?(window.acpTriggerNextNodes(["SALESFORCE_FILE_UPLOAD_SUCCESSFUL"],"File",{response:""+e}),t.hideFileUploader()):t.fileUploadFailed(e)},this.fileUploadFailed=function(e){"aws"===window.acpFileUploadDestination?(window.acpTriggerNextNodes(["ACP_FILE_UPLOAD_FAILED"],"",{error:e.responseText,status:e.status,statusText:e.statusText}),window.awsFileUploadConfig=null):window.acpTriggerNextNodes(["SALESFORCE_FILE_UPLOAD_FAILED"],"",{error:""+err}),t.hideFileUploader()},this.hideFileUploader=function(){acpjQuery("#acpFileUploader").addClass("simpleHideAnimationForMenu"),acpjQuery("#acpFileUploader").removeClass("simpleShowAnimationForMenu"),setTimeout(function(){acpjQuery("#acpFileUploader").hide()},300),t.clearFileThumbnailInUploader()},this.mutateACPInputType=function(e,i,n){var o=t.webChatWidget.adViewPlaceholder?t.webChatWidget.adViewPlaceholder:"Please type in your query...";o=window.acpTextInputPlaceholder?window.acpTextInputPlaceholder:o,i=i||o,["email","tel","name"].includes(e)?(acpjQuery("#textInput").attr("type",e),acpjQuery("#textInput").attr("placeholder",i),n&&acpjQuery("#textInput").attr("autocomplete",n),window.acpDebugLogger.mutateTextInput={type:e,placeholder:i,autocomplete:n},acpjQuery(document).on("mousedown","#textInputSendButton",function(e){t.resetACPInputType()}),acpjQuery(document).on("keypress","#textInput",function(e){"13"==(e.keyCode?e.keyCode:e.which)&&t.resetACPInputType()})):t.resetACPInputType()},this.resetACPInputType=function(e){var i=t.webChatWidget.adViewPlaceholder?t.webChatWidget.adViewPlaceholder:"Please type in your query...";i=window.acpTextInputPlaceholder?window.acpTextInputPlaceholder:i,e=e||i,acpjQuery("#textInput").attr("placeholder",e),acpjQuery("#textInput").attr("type","text"),acpjQuery("#textInput").attr("autocomplete","off"),window.acpDebugLogger.mutateTextInput=!1},this.updateACPInputPlaceholder=function(e){e&&(acpjQuery("#textInput").attr("placeholder",e),window.acpTextInputPlaceholder=e)},this.disableACPInput=function(e){e=e||"Please use buttons - typing disabled",acpjQuery("#textInput").attr("placeholder",e),acpjQuery("#textInput").attr("disabled",!0),acpjQuery("#textInputSendButton").attr("disabled",!0),acpjQuery("#textInput").css("cursor","not-allowed"),acpjQuery("#textInputSendButton").css("cursor","not-allowed"),window.acpDebugLogger.textInputDisabled=!0},this.enableACPInput=function(e){var i=t.webChatWidget.adViewPlaceholder?t.webChatWidget.adViewPlaceholder:"Please type in your query...";e=e||i,acpjQuery("#textInput").attr("placeholder",e),acpjQuery("#textInput").attr("disabled",!1),acpjQuery("#textInputSendButton").attr("disabled",!1),acpjQuery("#textInput").css("cursor",""),acpjQuery("#textInputSendButton").css("cursor",""),window.acpDebugLogger.textInputDisabled=!1}}return r(e,[{key:"onLoadWidget",value:function(e){var t=this;this.webChatWidget=e;var i={},n={};if("alwaysopen"==this.webChatWidget.widgetMode)acpjQuery("#amplifyWidgetIcon").click(),this.trackGAEvent("ACP",this.webChatWidget.pluginId,"IconClick-Auto","1");else if("open"==this.webChatWidget.widgetMode)if(this.webChatWidget.geoEnable){i=(0,d.readCookie)("userObj");var o;if(o=(0,d.readCookie)("openModeCount"),""!=i&&null!=i&&"undefined"!=i){var a=(n=JSON.parse(i)).city?n.city:null;if(a&&a!=i&&this.webChatWidget&&this.webChatWidget.openModeBlockedInCities&&this.webChatWidget.blockedCountry&&(this.webChatWidget.openModeBlockedInCities.includes(a)||this.webChatWidget.blockedCountry.includes(n.country_code)))this.minimizeAmplifyWidget();else if(o>0&&this.webChatWidget.openModeCount>0){(0,d.eraseCookie)("openModeCount");var r=o-1;r<0&&(r=0),(0,d.createCookie)("openModeCount",r,1),this.trackGAEvent("ACP",this.webChatWidget.pluginId,"IconClick-Auto","1"),acpjQuery("#amplifyWidgetIcon").click()}else this.minimizeAmplifyWidget()}else(0,s.getUserCity)(this.webChatWidget.geoEnable).then(function(e){var i='{"city":"'+e.city+'","country_code":"'+e.country_code+'","country":"'+e.country_name+'"}';(0,d.createCookie)("userObj",i,.125);var n=t.webChatWidget.openModeCount-1;n<0&&(n=0),(0,d.createCookie)("openModeCount",n,1),t.webChatWidget&&t.webChatWidget.openModeBlockedInCities&&t.webChatWidget.blockedCountry&&(t.webChatWidget.openModeBlockedInCities.includes(e.city)||t.webChatWidget.blockedCountry.includes(e.country_code))?t.minimizeAmplifyWidget():t.webChatWidget.openModeCount>0?(t.trackGAEvent("ACP",t.webChatWidget.pluginId,"IconClick-Auto","1"),acpjQuery("#amplifyWidgetIcon").click()):t.minimizeAmplifyWidget()})}else this.webChatWidget.openModeCount>0&&(this.showAmplifyInfoView(),this.trackGAEvent("ACP",this.webChatWidget.pluginId,"IconClick-Auto","1"));else this.minimizeAmplifyWidget()}}]),e}());t.default=f},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.queryStringToJSON=t.loadCSS=t.loadJS=t.profineText=t.isMobile=void 0;var n,o=i(2),a=i(16),r=(n=a)&&n.__esModule?n:{default:n};t.isMobile=function(){var e=!1;return(/(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(navigator.userAgent)||/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(navigator.userAgent.substr(0,4)))&&(e=!0),e},t.profineText=function(e,t,i){var n=new r.default({placeHolder:"*"}),a=t.value;if(n.isProfane(a)){a=n.clean(a);var s=t.placeholder;t.value="",i.disabled=!0,t.placeholder="",e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation();var l=setTimeout(function(){t.value=a,i.disabled=!1,t.placeholder=s,clearTimeout(l)},o.profineTextReplaceTime)}},t.loadJS=function(e,t){var i=document.createElement("script");return i.onload=t,i.src=e,i.type="text/javascript",i.async=!0,document.getElementsByTagName("head")[0].appendChild(i),i},t.loadCSS=function(e){var t=document.createElement("link");return t.href=e,t.type="text/css",t.rel="stylesheet",t.media="all",document.getElementsByTagName("head")[0].appendChild(t),t},t.queryStringToJSON=function(e){if(!e)return{};var t=e.slice(1).split("&"),i={};return t.forEach(function(e){e=e.split("="),i[e[0]]=decodeURIComponent(e[1]||"")}),JSON.parse(JSON.stringify(i))}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="https://chat.amplify.ai/plugin",o={widgetAssets:"",pluginJSPath:n+"/js",pluginCSSPath:n+"/css",pluginVIDEOPath:n+"/video",clientConfigPath:""+n};t.GaLiteJsUrl="//chat.amplify.ai/third-party-js/ga-lite.min.js";t.configWidget=o,t.profineTextReplaceTime=1e3},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t,i){if(i){var n=new Date;n.setTime(n.getTime()+24*i*60*60*1e3),o="; expires="+n.toUTCString()}else var o="";e&&(document.cookie=e+"="+(t||"")+o+"; path=/;")};t.createCookie=n,t.readCookie=function(e){for(var t=e+"=",i=document.cookie.split(";"),n=0;n<i.length;n++){for(var o=i[n];" "==o.charAt(0);)o=o.substring(1,o.length);if(0==o.indexOf(t))return o.substring(t.length,o.length)}return null},t.eraseCookie=function(e){n(e,"",-1)}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=i(0),a=(n=o)&&n.__esModule?n:{default:n};var r,s=[],l=null,d=null,c=!1,p=new function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.init=function(e){t.webChatWidget=e,l=t,t.endChat=!1,zChat.init({account_key:"6VzVASN1atADGeE6wUGgO7ms2ssMQAVP",suppress_console_error:!0}),d=new Audio,(d=new Audio("https://amplify-web-renderer.s3.amazonaws.com/plugin/zendesk/chat-sound.mp3")).pause(),t.printTyping("agent_init"),t.bindEvent(),t.bindEventListener(),t.setTimeOutWithLimit(function(){l.checkConnectionStatus()},3e4,120),t.sessionCheck(),t.sendChatHistoryToAgent()},this.renderLoginForm=function(){var e=t.getLoginForm();if(document.getElementById("chatList")&&(document.getElementById("chatList").innerHTML+=e),document.getElementById("AmplifyForm")){var i=document.getElementById("AmplifyForm");i.addEventListener("submit",function(e){e.preventDefault();var t={email:i.elements.loginEmail.value,password:i.elements.loginPassword.value};window.amplifyGetToken(t.email,t.password)})}},this.removeLoginForm=function(){document.getElementById("loginFormBox")&&document.getElementById("loginFormBox").remove()},this.getLoginForm=function(){return t.removeLoginForm(),'<div class="loginFormBox" id="loginFormBox" style="margin-top:15px;margin-bottom:15px"><div class="loginFormHeading">Login to Dollar Shave Club</div><div id="loginBoxStart"><div id="loginStatus" class="AmplifyText"></div><div id="AmplifyLogin"><form id="AmplifyForm" class="AmplifyForm"><input type="text" name="loginEmail" autocomplete="email" id="loginEmail" placeholder="Type your email.." style="width:180px;border:0px;"><input type="password" name="loginPassword" autocomplete="current-password" id="loginPassword" placeholder="Type your password.."  style="width:160px;border:0px;"><input type="submit" form="AmplifyForm" name="submit" value="Login" id="loginButton" class="AmplifyFormButton"></div></div><div class="AmplifyLoadingLogin"><div class="loading-dots"><div class="loading-dots--dot dotwdt"></div><div class="loading-dots--dot dotwdt"></div><div class="loading-dots--dot dotwdt"></div><div class="loading-dots--dot dotwdt"></div><div class="loading-dots--dot dotwdt"></div></div></form></div></div></div>'},this.renderDSCLoginModal=function(){var e=t.getLoginForm(),i=document.getElementById("amplifyWidgetOverlay");i&&(i.innerHTML+=e,"block"===i.style.display&&(c=!0),i.style.display="flex",i.style.flexDirection="column",i.style.alignContent="center",i.style.justifyContent="center",i.style.cssText+="z-index:100000000000 !important");var n=document.getElementById("loginFormBox");if(n&&(n.style.cssText+="margin: 0 !important; align-self: center"),document.getElementById("AmplifyForm")){var o=document.getElementById("AmplifyForm");o.addEventListener("submit",function(e){e.preventDefault();var t={email:o.elements.loginEmail.value,password:o.elements.loginPassword.value};window.loginToDSC(t.email,t.password),window.removeDSCLoginModal()})}},this.removeDSCLoginModal=function(){var e=document.getElementById("amplifyWidgetOverlay");e&&(e.removeAttribute("style"),c&&(e.style.display="block")),t.removeLoginForm()},this.bindEventListener=function(){window.amplifyChatEngine.addEventListener("messageReceived",t.onMessageReceived),window.amplifyChatEngine.addEventListener("messageSent",t.onMessageSent),window.amplifyChatEngine.addEventListener("typingStarted",t.onTypingStarted),window.amplifyChatEngine.addEventListener("typingEnded",t.onTypingEnded)},this.removeEventListener=function(){window.amplifyChatEngine.removeEventListener("messageReceived",t.onMessageReceived),window.amplifyChatEngine.removeEventListener("messageSent",t.onMessageSent),window.amplifyChatEngine.removeEventListener("typingStarted",t.onTypingStarted),window.amplifyChatEngine.removeEventListener("typingEnded",t.onTypingEnded)},this.bindEvent=function(){zChat.on("chat",t.chatEventHandler),zChat.on("error",t.chatErrorHandler)},this.unBindEvent=function(){zChat.un("chat",t.chatEventHandler),zChat.un("error",t.chatErrorHandler)},this.chatEventHandler=function(e){if("chat.memberjoin"===e.type&&(l.zChatSetVisitorInfo(),l.showAgentStatus()),"chat.msg"===e.type&&(-1!=e.msg.indexOf("CHAT SUMMARY")&&-1!=e.msg.indexOf("bw_enter")||(l.printChat(e.msg),l.onMessageReceived(e.msg),l.showAgentStatus("online"),l.removeTyping(),l.resetSession())),"chat.memberleave"===e.type&&(console.log("member leave"),l.printTyping("agent_leave"),t.zChatEndChat("",["ZENDESK_AGENT_ENDCHAT"],{event:"agent_endchat"})),e.type,e.type,e.type,"typing"===e.type&&(l.printTyping("agent"),l.showAgentStatus("online")),"last_read"===e.type)return detail.timestamp},this.chatErrorHandler=function(e){},this.sendMessageHandler=function(){},this.sendChatHistoryToAgent=function(){var e="";amplifyChatEngine.fetchChatTranscript({displayTimestamps:!0,messageCount:20},function(t,i){20===(e=i.chatTranscript).indexOf("bw_enter")&&(e=e.substr(30)),(e="----------------------------\nChat Summary\n----------------------------\n"+(e=(e=(e=(e=(e=e.replace("bw_enter","<START CHAT>")).replace("_NAME_","Name: ")).replace("_EMAIL_","Email: ")).replace("_name_","")).replace("_email_",""))+"----------------------------\n\n")&&zChat.sendChatMsg(e,l.sendMessageHandler)})},this.zChatSendMessage=function(e){e&&zChat.sendChatMsg(e,t.sendMessageHandler)},this.resetSession=function(){if("zendesk"!=window.chatHandover)return acpjQuery("#sessionTimer").fadeOut(2e3),!1;clearInterval(r);var e=120,t=acpjQuery(".timer"),i=e<60?e:Math.round(e/60),n=e<60?" sec":" min";t.text("Session expiring in "+i+n),r=setInterval(function(){if(e>=0&&(--e<60&&e>=0?acpjQuery("#sessionTimer").fadeIn(2e3):acpjQuery("#sessionTimer").fadeOut(2e3),60==e&&l.playSound(),i=e<60?e:Math.round(e/60),n=e<60?" sec":" min",t.text("Session expiring in "+i+n),e<=0||"zendesk"!=window.chatHandover))return this.endChat||0!=e||l.zChatEndChat("",["ZENDESK_SESSION_TIMEOUT"],{event:"session_timeout"}),acpjQuery("#sessionTimer").fadeOut(2e3),!1},1e3)},this.sessionCheck=function(){var e=document.createElement("div");e.setAttribute("id","sessionTimer"),e.setAttribute("class","timer"),document.getElementById("chatList")&&document.getElementById("chatList").appendChild(e),acpjQuery(document).on("mousemove",function(){l.resetSession()}).mousemove(),acpjQuery(document).on("keydown",function(){l.resetSession()}).mousemove()},this.setTimeOutWithLimit=function(e,t,i){var n,o,a=(n=t,o=i,function(){if(void 0===o||o-- >0){setTimeout(a,n);try{e.call(null)}catch(e){throw o=0,e.toString()}}});setTimeout(a,t)},this.checkConnectionStatus=function(){var e=l.zChatConnectionStatus();return"closed"==e&&"zendesk"==window.chatHandover&&(t.endChat||l.zChatEndChat("",["ZENDESK_CONNECTION_CLOSED"],{event:"connection_closed"}),l.printTyping("handovertoamplify"),l.showAgentStatus(),window.handoverToAmplify()),e},this.zChatEndChat=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["HANDOVER_TO_AMPLIFY"],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t.endChat=!0,console.log("endchat"),t.removeLoginForm(),t.unBindEvent(),clearInterval(r),zChat.endChat(),t.printTyping("handovertoamplify"),t.showAgentStatus("disconnected"),window.handoverToAmplify(e,i,n)},this.zChatEmailTranscript=function(){zChat.sendEmailTranscript("saleem@amplify.ai")},this.zChatRating=function(){zChat.sendChatRating("good",function(e){})},this.zChatComment=function(){zChat.sendChatComment("Agent is helpful",function(e){})},this.zChatSendFile=function(e){zChat.sendFile(e,function(e,t){})},this.zChatReceiveAttachment=function(){zChat.on("chat",function(e){"chat.file"===e.type&&e.attachment.url})},this.zChatAccountStatus=function(){return zChat.getAccountStatus()},this.zChatConnectionStatus=function(){return zChat.getConnectionStatus()},this.zChatGetVisitorInfo=function(){return zChat.getVisitorInfo()},this.zChatSetVisitorInfo=function(){var e={display_name:window.botUserInfo.name,email:window.botUserInfo.email};zChat.setVisitorInfo(e,function(e){})},this.zChatSendVisitorPath=function(){zChat.sendVisitorPath({title:"Pricing",url:"https://example.com/page#pricing"},function(e){})},this.onMessageReceived=function(e){t.resetSession(),acpjQuery(".amplifyChat .textInput").removeAttr("disabled").css("background","#fff"),acpjQuery(".amplifyChat .textInputSendButton").removeAttr("disabled"),s.push('{ "Agent" : '+e+"}")},this.onMessageSent=function(e){t.resetSession(),s.push('{ "User" : '+e.detail.message+"}"),zChat.sendTyping(!1),t.removeTyping()},this.onTypingStarted=function(){t.resetSession(),t.printTyping("user"),zChat.sendTyping(!0)},this.onTypingEnded=function(){t.resetSession(),zChat.sendTyping(!1),t.removeTyping()},this.logMessages=function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]},this.playSound=function(){if("zendesk"!=window.chatHandover)return!1;d.play()},this.showAgentStatus=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(document.getElementById("agentStatus")&&document.getElementById("agentStatus").remove(),"disconnected"!=e){var i=document.createElement("sub");i.setAttribute("id","agentStatus"),i.setAttribute("class","agentStatus"),""==e&&(e=t.zChatAccountStatus()),"online"==e?(i.innerHTML="Online",i.setAttribute("class","agentStatus agentStatusOnline")):"offline"==e?(i.innerHTML="Offline",i.setAttribute("class","agentStatus agentStatusOffline"),t.printTyping("no_agent")):"away"==e&&(i.innerHTML="Away",i.setAttribute("class","agentStatus")),document.getElementById("amplifyChatHeaderTitleTxt")&&document.getElementById("amplifyChatHeaderTitleTxt").appendChild(i)}},this.removeTyping=function(){document.getElementById("typingTxt")&&document.getElementById("typingTxt").remove()},this.getGreetingMessage=function(){var e=(new Date).getHours();return e<12?"Good Morning":e<18?"Good Afternoon":"Good Evening"},this.printTyping=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i="",n="";if(t.removeTyping(),"zendesk"!=window.chatHandover)return acpjQuery("#sessionTimer").fadeOut(2e3),!1;if("agent"==e?n="Agent is typing...":"agent_live"==e?n="Agent is live now...":"user"==e?n="User is typing...":"agent_leave"==e?n="The agent has end the chat...":"no_agent"==e?n="There is no agent available right now...":"agent_init"==e?n="Connecting you to live agent...":"handovertoamplify"==e&&(n="The chat is end with agent and we are connecting you to the bot..."),""!=n){(i=document.createElement("div")).setAttribute("id","typingTxt"),i.setAttribute("class","typingTxt typingTxtPosition");var o=document.createTextNode(n);i.appendChild(o),document.getElementById("mainDiv")&&document.getElementById("mainDiv").appendChild(i)}"agent_init"!=e&&"no_agent"!=e&&"agent_leave"!=e&&setTimeout(function(){t.removeTyping()},5e3)},this.printChat=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=document.createElement("div");i.setAttribute("class","loader imgLoader"),i.setAttribute("id","imgLoader"),i.innerHTML='<div class="loading-dots"><div class="loading-dots--dot"></div><div class="loading-dots--dot"></div><div class="loading-dots--dot"></div></div>',i.style.cssText="margin:10px 10px 10px 10px;",document.getElementById("chatList")&&document.getElementById("chatList").appendChild(i);var n="";if(""!=e){n=document.createElement("div");var o=document.createTextNode(e);n.appendChild(o)}var r,s=document.getElementsByClassName("imgLoader");for(r=0;r<s.length;r++)s[r].style.display="none";var l=document.createElement("li");l.setAttribute("class","amplifyChat ChatLog__entry");var d=document.createElement("img");d.src=t.webChatWidget.avatarImage,d.setAttribute("class","amplifyChat ChatLog__avatar");var c=document.createElement("div");c.setAttribute("class","amplifyChat ChatLog__message");var p=document.createElement("p");p.setAttribute("class","amplifyChat"),p.appendChild(n),c.appendChild(p),l.appendChild(d),l.appendChild(c),document.getElementById("chatList")&&document.getElementById("chatList").appendChild(l),document.getElementById("imgLoader")&&(document.getElementById("imgLoader").style.display="none"),a.default.forceScrollBottom()},{}};t.default=p},function(e,t,i){"use strict";(function(e){var i,n,o,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n="undefined"!=typeof window?window:void 0,o=function(n,o){var r=[],s=r.slice,l=r.concat,d=r.push,c=r.indexOf,p={},u=p.toString,f=p.hasOwnProperty,h={},g=n.document,m="2.1.3",y=function e(t,i){return new e.fn.init(t,i)},v=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,w=/^-ms-/,b=/-([\da-z])/gi,x=function(e,t){return t.toUpperCase()};function C(e){var t=e.length,i=y.type(e);return"function"!==i&&!y.isWindow(e)&&(!(1!==e.nodeType||!t)||("array"===i||0===t||"number"==typeof t&&t>0&&t-1 in e))}y.fn=y.prototype={jquery:m,constructor:y,selector:"",length:0,toArray:function(){return s.call(this)},get:function(e){return null!=e?0>e?this[e+this.length]:this[e]:s.call(this)},pushStack:function(e){var t=y.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return y.each(this,e,t)},map:function(e){return this.pushStack(y.map(this,function(t,i){return e.call(t,i,t)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,i=+e+(0>e?t:0);return this.pushStack(i>=0&&t>i?[this[i]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:d,sort:r.sort,splice:r.splice},y.extend=y.fn.extend=function(){var e,t,i,n,o,r,s=arguments[0]||{},l=1,d=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[l]||{},l++),"object"==(void 0===s?"undefined":a(s))||y.isFunction(s)||(s={}),l===d&&(s=this,l--);d>l;l++)if(null!=(e=arguments[l]))for(t in e)i=s[t],s!==(n=e[t])&&(c&&n&&(y.isPlainObject(n)||(o=y.isArray(n)))?(o?(o=!1,r=i&&y.isArray(i)?i:[]):r=i&&y.isPlainObject(i)?i:{},s[t]=y.extend(c,r,n)):void 0!==n&&(s[t]=n));return s},y.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===y.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){return!y.isArray(e)&&e-parseFloat(e)+1>=0},isPlainObject:function(e){return"object"===y.type(e)&&!e.nodeType&&!y.isWindow(e)&&!(e.constructor&&!f.call(e.constructor.prototype,"isPrototypeOf"))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==(void 0===e?"undefined":a(e))||"function"==typeof e?p[u.call(e)]||"object":void 0===e?"undefined":a(e)},globalEval:function(e){var t,i=eval;(e=y.trim(e))&&(1===e.indexOf("use strict")?((t=g.createElement("script")).text=e,g.head.appendChild(t).parentNode.removeChild(t)):i(e))},camelCase:function(e){return e.replace(w,"ms-").replace(b,x)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,i){var n=0,o=e.length,a=C(e);if(i){if(a)for(;o>n&&!1!==t.apply(e[n],i);n++);else for(n in e)if(!1===t.apply(e[n],i))break}else if(a)for(;o>n&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},trim:function(e){return null==e?"":(e+"").replace(v,"")},makeArray:function(e,t){var i=t||[];return null!=e&&(C(Object(e))?y.merge(i,"string"==typeof e?[e]:e):d.call(i,e)),i},inArray:function(e,t,i){return null==t?-1:c.call(t,e,i)},merge:function(e,t){for(var i=+t.length,n=0,o=e.length;i>n;n++)e[o++]=t[n];return e.length=o,e},grep:function(e,t,i){for(var n=[],o=0,a=e.length,r=!i;a>o;o++)!t(e[o],o)!==r&&n.push(e[o]);return n},map:function(e,t,i){var n,o=0,a=e.length,r=[];if(C(e))for(;a>o;o++)null!=(n=t(e[o],o,i))&&r.push(n);else for(o in e)null!=(n=t(e[o],o,i))&&r.push(n);return l.apply([],r)},guid:1,proxy:function(e,t){var i,n,o;return"string"==typeof t&&(i=e[t],t=e,e=i),y.isFunction(e)?(n=s.call(arguments,2),(o=function(){return e.apply(t||this,n.concat(s.call(arguments)))}).guid=e.guid=e.guid||y.guid++,o):void 0},now:Date.now,support:h}),y.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){p["[object "+t+"]"]=t.toLowerCase()});var k=function(e){var t,i,n,o,a,r,s,l,d,c,p,u,f,h,g,m,y,v,w,b="sizzle"+1*new Date,x=e.document,C=0,k=0,T=re(),I=re(),A=re(),_=function(e,t){return e===t&&(p=!0),0},S=1<<31,E={}.hasOwnProperty,B=[],j=B.pop,D=B.push,P=B.push,L=B.slice,M=function(e,t){for(var i=0,n=e.length;n>i;i++)if(e[i]===t)return i;return-1},F="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",W="[\\x20\\t\\r\\n\\f]",H="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N=H.replace("w","w#"),Q="\\["+W+"*("+H+")(?:"+W+"*([*^$|!~]?=)"+W+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+N+"))|)"+W+"*\\]",O=":("+H+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+Q+")*)|.*)\\)|)",U=new RegExp(W+"+","g"),z=new RegExp("^"+W+"+|((?:^|[^\\\\])(?:\\\\.)*)"+W+"+$","g"),q=new RegExp("^"+W+"*,"+W+"*"),R=new RegExp("^"+W+"*([>+~]|"+W+")"+W+"*"),V=new RegExp("="+W+"*([^\\]'\"]*?)"+W+"*\\]","g"),G=new RegExp(O),$=new RegExp("^"+N+"$"),X={ID:new RegExp("^#("+H+")"),CLASS:new RegExp("^\\.("+H+")"),TAG:new RegExp("^("+H.replace("w","w*")+")"),ATTR:new RegExp("^"+Q),PSEUDO:new RegExp("^"+O),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+W+"*(even|odd|(([+-]|)(\\d*)n|)"+W+"*(?:([+-]|)"+W+"*(\\d+)|))"+W+"*\\)|)","i"),bool:new RegExp("^(?:"+F+")$","i"),needsContext:new RegExp("^"+W+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+W+"*((?:-\\d)?\\d*)"+W+"*\\)|)(?=[^-]|$)","i")},J=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=/'|\\/g,ie=new RegExp("\\\\([\\da-f]{1,6}"+W+"?|("+W+")|.)","ig"),ne=function(e,t,i){var n="0x"+t-65536;return n!=n||i?t:0>n?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},oe=function(){u()};try{P.apply(B=L.call(x.childNodes),x.childNodes),B[x.childNodes.length].nodeType}catch(e){P={apply:B.length?function(e,t){D.apply(e,L.call(t))}:function(e,t){for(var i=e.length,n=0;e[i++]=t[n++];);e.length=i-1}}}function ae(e,t,n,o){var a,s,d,c,p,h,y,v,C,k;if((t?t.ownerDocument||t:x)!==f&&u(t),n=n||[],c=(t=t||f).nodeType,"string"!=typeof e||!e||1!==c&&9!==c&&11!==c)return n;if(!o&&g){if(11!==c&&(a=K.exec(e)))if(d=a[1]){if(9===c){if(!(s=t.getElementById(d))||!s.parentNode)return n;if(s.id===d)return n.push(s),n}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(d))&&w(t,s)&&s.id===d)return n.push(s),n}else{if(a[2])return P.apply(n,t.getElementsByTagName(e)),n;if((d=a[3])&&i.getElementsByClassName)return P.apply(n,t.getElementsByClassName(d)),n}if(i.qsa&&(!m||!m.test(e))){if(v=y=b,C=t,k=1!==c&&e,1===c&&"object"!==t.nodeName.toLowerCase()){for(h=r(e),(y=t.getAttribute("id"))?v=y.replace(te,"\\$&"):t.setAttribute("id",v),v="[id='"+v+"'] ",p=h.length;p--;)h[p]=v+me(h[p]);C=ee.test(e)&&he(t.parentNode)||t,k=h.join(",")}if(k)try{return P.apply(n,C.querySelectorAll(k)),n}catch(e){}finally{y||t.removeAttribute("id")}}}return l(e.replace(z,"$1"),t,n,o)}function re(){var e=[];return function t(i,o){return e.push(i+" ")>n.cacheLength&&delete t[e.shift()],t[i+" "]=o}}function se(e){return e[b]=!0,e}function le(e){var t=f.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var i=e.split("|"),o=e.length;o--;)n.attrHandle[i[o]]=t}function ce(e,t){var i=t&&e,n=i&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||S)-(~e.sourceIndex||S);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function ue(e){return function(t){var i=t.nodeName.toLowerCase();return("input"===i||"button"===i)&&t.type===e}}function fe(e){return se(function(t){return t=+t,se(function(i,n){for(var o,a=e([],i.length,t),r=a.length;r--;)i[o=a[r]]&&(i[o]=!(n[o]=i[o]))})})}function he(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in i=ae.support={},a=ae.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},u=ae.setDocument=function(e){var t,o,r=e?e.ownerDocument||e:x;return r!==f&&9===r.nodeType&&r.documentElement?(f=r,h=r.documentElement,(o=r.defaultView)&&o!==o.top&&(o.addEventListener?o.addEventListener("unload",oe,!1):o.attachEvent&&o.attachEvent("onunload",oe)),g=!a(r),i.attributes=le(function(e){return e.className="i",!e.getAttribute("className")}),i.getElementsByTagName=le(function(e){return e.appendChild(r.createComment("")),!e.getElementsByTagName("*").length}),i.getElementsByClassName=Z.test(r.getElementsByClassName),i.getById=le(function(e){return h.appendChild(e).id=b,!r.getElementsByName||!r.getElementsByName(b).length}),i.getById?(n.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var i=t.getElementById(e);return i&&i.parentNode?[i]:[]}},n.filter.ID=function(e){var t=e.replace(ie,ne);return function(e){return e.getAttribute("id")===t}}):(delete n.find.ID,n.filter.ID=function(e){var t=e.replace(ie,ne);return function(e){var i=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return i&&i.value===t}}),n.find.TAG=i.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):i.qsa?t.querySelectorAll(e):void 0}:function(e,t){var i,n=[],o=0,a=t.getElementsByTagName(e);if("*"===e){for(;i=a[o++];)1===i.nodeType&&n.push(i);return n}return a},n.find.CLASS=i.getElementsByClassName&&function(e,t){return g?t.getElementsByClassName(e):void 0},y=[],m=[],(i.qsa=Z.test(r.querySelectorAll))&&(le(function(e){h.appendChild(e).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\f]' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+W+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+W+"*(?:value|"+F+")"),e.querySelectorAll("[id~="+b+"-]").length||m.push("~="),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||m.push(".#.+[+~]")}),le(function(e){var t=r.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+W+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(i.matchesSelector=Z.test(v=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&le(function(e){i.disconnectedMatch=v.call(e,"div"),v.call(e,"[s!='']:x"),y.push("!=",O)}),m=m.length&&new RegExp(m.join("|")),y=y.length&&new RegExp(y.join("|")),t=Z.test(h.compareDocumentPosition),w=t||Z.test(h.contains)?function(e,t){var i=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},_=t?function(e,t){if(e===t)return p=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!i.sortDetached&&t.compareDocumentPosition(e)===n?e===r||e.ownerDocument===x&&w(x,e)?-1:t===r||t.ownerDocument===x&&w(x,t)?1:c?M(c,e)-M(c,t):0:4&n?-1:1)}:function(e,t){if(e===t)return p=!0,0;var i,n=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(!o||!a)return e===r?-1:t===r?1:o?-1:a?1:c?M(c,e)-M(c,t):0;if(o===a)return ce(e,t);for(i=e;i=i.parentNode;)s.unshift(i);for(i=t;i=i.parentNode;)l.unshift(i);for(;s[n]===l[n];)n++;return n?ce(s[n],l[n]):s[n]===x?-1:l[n]===x?1:0},r):f},ae.matches=function(e,t){return ae(e,null,null,t)},ae.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&u(e),t=t.replace(V,"='$1']"),!(!i.matchesSelector||!g||y&&y.test(t)||m&&m.test(t)))try{var n=v.call(e,t);if(n||i.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return ae(t,f,null,[e]).length>0},ae.contains=function(e,t){return(e.ownerDocument||e)!==f&&u(e),w(e,t)},ae.attr=function(e,t){(e.ownerDocument||e)!==f&&u(e);var o=n.attrHandle[t.toLowerCase()],a=o&&E.call(n.attrHandle,t.toLowerCase())?o(e,t,!g):void 0;return void 0!==a?a:i.attributes||!g?e.getAttribute(t):(a=e.getAttributeNode(t))&&a.specified?a.value:null},ae.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ae.uniqueSort=function(e){var t,n=[],o=0,a=0;if(p=!i.detectDuplicates,c=!i.sortStable&&e.slice(0),e.sort(_),p){for(;t=e[a++];)t===e[a]&&(o=n.push(a));for(;o--;)e.splice(n[o],1)}return c=null,e},o=ae.getText=function(e){var t,i="",n=0,a=e.nodeType;if(a){if(1===a||9===a||11===a){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)i+=o(e)}else if(3===a||4===a)return e.nodeValue}else for(;t=e[n++];)i+=o(t);return i},(n=ae.selectors={cacheLength:50,createPseudo:se,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ie,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(ie,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ae.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ae.error(e[0]),e},PSEUDO:function(e){var t,i=!e[6]&&e[2];return X.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":i&&G.test(i)&&(t=r(i,!0))&&(t=i.indexOf(")",i.length-t)-i.length)&&(e[0]=e[0].slice(0,t),e[2]=i.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ie,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=T[e+" "];return t||(t=new RegExp("(^|"+W+")"+e+"("+W+"|$)"))&&T(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,i){return function(n){var o=ae.attr(n,e);return null==o?"!="===t:!t||(o+="","="===t?o===i:"!="===t?o!==i:"^="===t?i&&0===o.indexOf(i):"*="===t?i&&o.indexOf(i)>-1:"$="===t?i&&o.slice(-i.length)===i:"~="===t?(" "+o.replace(U," ")+" ").indexOf(i)>-1:"|="===t&&(o===i||o.slice(0,i.length+1)===i+"-"))}},CHILD:function(e,t,i,n,o){var a="nth"!==e.slice(0,3),r="last"!==e.slice(-4),s="of-type"===t;return 1===n&&0===o?function(e){return!!e.parentNode}:function(t,i,l){var d,c,p,u,f,h,g=a!==r?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!l&&!s;if(m){if(a){for(;g;){for(p=t;p=p[g];)if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[r?m.firstChild:m.lastChild],r&&v){for(f=(d=(c=m[b]||(m[b]={}))[e]||[])[0]===C&&d[1],u=d[0]===C&&d[2],p=f&&m.childNodes[f];p=++f&&p&&p[g]||(u=f=0)||h.pop();)if(1===p.nodeType&&++u&&p===t){c[e]=[C,f,u];break}}else if(v&&(d=(t[b]||(t[b]={}))[e])&&d[0]===C)u=d[1];else for(;(p=++f&&p&&p[g]||(u=f=0)||h.pop())&&((s?p.nodeName.toLowerCase()!==y:1!==p.nodeType)||!++u||(v&&((p[b]||(p[b]={}))[e]=[C,u]),p!==t)););return(u-=o)===n||u%n==0&&u/n>=0}}},PSEUDO:function(e,t){var i,o=n.pseudos[e]||n.setFilters[e.toLowerCase()]||ae.error("unsupported pseudo: "+e);return o[b]?o(t):o.length>1?(i=[e,e,"",t],n.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,i){for(var n,a=o(e,t),r=a.length;r--;)e[n=M(e,a[r])]=!(i[n]=a[r])}):function(e){return o(e,0,i)}):o}},pseudos:{not:se(function(e){var t=[],i=[],n=s(e.replace(z,"$1"));return n[b]?se(function(e,t,i,o){for(var a,r=n(e,null,o,[]),s=e.length;s--;)(a=r[s])&&(e[s]=!(t[s]=a))}):function(e,o,a){return t[0]=e,n(t,null,a,i),t[0]=null,!i.pop()}}),has:se(function(e){return function(t){return ae(e,t).length>0}}),contains:se(function(e){return e=e.replace(ie,ne),function(t){return(t.textContent||t.innerText||o(t)).indexOf(e)>-1}}),lang:se(function(e){return $.test(e||"")||ae.error("unsupported lang: "+e),e=e.replace(ie,ne).toLowerCase(),function(t){var i;do{if(i=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(i=i.toLowerCase())===e||0===i.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var i=e.location&&e.location.hash;return i&&i.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!n.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return J.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:fe(function(){return[0]}),last:fe(function(e,t){return[t-1]}),eq:fe(function(e,t,i){return[0>i?i+t:i]}),even:fe(function(e,t){for(var i=0;t>i;i+=2)e.push(i);return e}),odd:fe(function(e,t){for(var i=1;t>i;i+=2)e.push(i);return e}),lt:fe(function(e,t,i){for(var n=0>i?i+t:i;--n>=0;)e.push(n);return e}),gt:fe(function(e,t,i){for(var n=0>i?i+t:i;++n<t;)e.push(n);return e})}}).pseudos.nth=n.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})n.pseudos[t]=pe(t);for(t in{submit:!0,reset:!0})n.pseudos[t]=ue(t);function ge(){}function me(e){for(var t=0,i=e.length,n="";i>t;t++)n+=e[t].value;return n}function ye(e,t,i){var n=t.dir,o=i&&"parentNode"===n,a=k++;return t.first?function(t,i,a){for(;t=t[n];)if(1===t.nodeType||o)return e(t,i,a)}:function(t,i,r){var s,l,d=[C,a];if(r){for(;t=t[n];)if((1===t.nodeType||o)&&e(t,i,r))return!0}else for(;t=t[n];)if(1===t.nodeType||o){if((s=(l=t[b]||(t[b]={}))[n])&&s[0]===C&&s[1]===a)return d[2]=s[2];if(l[n]=d,d[2]=e(t,i,r))return!0}}}function ve(e){return e.length>1?function(t,i,n){for(var o=e.length;o--;)if(!e[o](t,i,n))return!1;return!0}:e[0]}function we(e,t,i,n,o){for(var a,r=[],s=0,l=e.length,d=null!=t;l>s;s++)(a=e[s])&&(!i||i(a,n,o))&&(r.push(a),d&&t.push(s));return r}function be(e,t,i,n,o,a){return n&&!n[b]&&(n=be(n)),o&&!o[b]&&(o=be(o,a)),se(function(a,r,s,l){var d,c,p,u=[],f=[],h=r.length,g=a||function(e,t,i){for(var n=0,o=t.length;o>n;n++)ae(e,t[n],i);return i}(t||"*",s.nodeType?[s]:s,[]),m=!e||!a&&t?g:we(g,u,e,s,l),y=i?o||(a?e:h||n)?[]:r:m;if(i&&i(m,y,s,l),n)for(d=we(y,f),n(d,[],s,l),c=d.length;c--;)(p=d[c])&&(y[f[c]]=!(m[f[c]]=p));if(a){if(o||e){if(o){for(d=[],c=y.length;c--;)(p=y[c])&&d.push(m[c]=p);o(null,y=[],d,l)}for(c=y.length;c--;)(p=y[c])&&(d=o?M(a,p):u[c])>-1&&(a[d]=!(r[d]=p))}}else y=we(y===r?y.splice(h,y.length):y),o?o(null,r,y,l):P.apply(r,y)})}function xe(e){for(var t,i,o,a=e.length,r=n.relative[e[0].type],s=r||n.relative[" "],l=r?1:0,c=ye(function(e){return e===t},s,!0),p=ye(function(e){return M(t,e)>-1},s,!0),u=[function(e,i,n){var o=!r&&(n||i!==d)||((t=i).nodeType?c(e,i,n):p(e,i,n));return t=null,o}];a>l;l++)if(i=n.relative[e[l].type])u=[ye(ve(u),i)];else{if((i=n.filter[e[l].type].apply(null,e[l].matches))[b]){for(o=++l;a>o&&!n.relative[e[o].type];o++);return be(l>1&&ve(u),l>1&&me(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(z,"$1"),i,o>l&&xe(e.slice(l,o)),a>o&&xe(e=e.slice(o)),a>o&&me(e))}u.push(i)}return ve(u)}function Ce(e,t){var i=t.length>0,o=e.length>0,a=function(a,r,s,l,c){var p,u,h,g=0,m="0",y=a&&[],v=[],w=d,b=a||o&&n.find.TAG("*",c),x=C+=null==w?1:Math.random()||.1,k=b.length;for(c&&(d=r!==f&&r);m!==k&&null!=(p=b[m]);m++){if(o&&p){for(u=0;h=e[u++];)if(h(p,r,s)){l.push(p);break}c&&(C=x)}i&&((p=!h&&p)&&g--,a&&y.push(p))}if(g+=m,i&&m!==g){for(u=0;h=t[u++];)h(y,v,r,s);if(a){if(g>0)for(;m--;)y[m]||v[m]||(v[m]=j.call(l));v=we(v)}P.apply(l,v),c&&!a&&v.length>0&&g+t.length>1&&ae.uniqueSort(l)}return c&&(C=x,d=w),y};return i?se(a):a}return ge.prototype=n.filters=n.pseudos,n.setFilters=new ge,r=ae.tokenize=function(e,t){var i,o,a,r,s,l,d,c=I[e+" "];if(c)return t?0:c.slice(0);for(s=e,l=[],d=n.preFilter;s;){for(r in(!i||(o=q.exec(s)))&&(o&&(s=s.slice(o[0].length)||s),l.push(a=[])),i=!1,(o=R.exec(s))&&(i=o.shift(),a.push({value:i,type:o[0].replace(z," ")}),s=s.slice(i.length)),n.filter)!(o=X[r].exec(s))||d[r]&&!(o=d[r](o))||(i=o.shift(),a.push({value:i,type:r,matches:o}),s=s.slice(i.length));if(!i)break}return t?s.length:s?ae.error(e):I(e,l).slice(0)},s=ae.compile=function(e,t){var i,n=[],o=[],a=A[e+" "];if(!a){for(t||(t=r(e)),i=t.length;i--;)(a=xe(t[i]))[b]?n.push(a):o.push(a);(a=A(e,Ce(o,n))).selector=e}return a},l=ae.select=function(e,t,o,a){var l,d,c,p,u,f="function"==typeof e&&e,h=!a&&r(e=f.selector||e);if(o=o||[],1===h.length){if((d=h[0]=h[0].slice(0)).length>2&&"ID"===(c=d[0]).type&&i.getById&&9===t.nodeType&&g&&n.relative[d[1].type]){if(!(t=(n.find.ID(c.matches[0].replace(ie,ne),t)||[])[0]))return o;f&&(t=t.parentNode),e=e.slice(d.shift().value.length)}for(l=X.needsContext.test(e)?0:d.length;l--&&(c=d[l],!n.relative[p=c.type]);)if((u=n.find[p])&&(a=u(c.matches[0].replace(ie,ne),ee.test(d[0].type)&&he(t.parentNode)||t))){if(d.splice(l,1),!(e=a.length&&me(d)))return P.apply(o,a),o;break}}return(f||s(e,h))(a,t,!g,o,ee.test(e)&&he(t.parentNode)||t),o},i.sortStable=b.split("").sort(_).join("")===b,i.detectDuplicates=!!p,u(),i.sortDetached=le(function(e){return 1&e.compareDocumentPosition(f.createElement("div"))}),le(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||de("type|href|height|width",function(e,t,i){return i?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),i.attributes&&le(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||de("value",function(e,t,i){return i||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),le(function(e){return null==e.getAttribute("disabled")})||de(F,function(e,t,i){var n;return i?void 0:!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null}),ae}(n);y.find=k,y.expr=k.selectors,y.expr[":"]=y.expr.pseudos,y.unique=k.uniqueSort,y.text=k.getText,y.isXMLDoc=k.isXML,y.contains=k.contains;var T=y.expr.match.needsContext,I=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,A=/^.[^:#\[\.,]*$/;function _(e,t,i){if(y.isFunction(t))return y.grep(e,function(e,n){return!!t.call(e,n,e)!==i});if(t.nodeType)return y.grep(e,function(e){return e===t!==i});if("string"==typeof t){if(A.test(t))return y.filter(t,e,i);t=y.filter(t,e)}return y.grep(e,function(e){return c.call(t,e)>=0!==i})}y.filter=function(e,t,i){var n=t[0];return i&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?y.find.matchesSelector(n,e)?[n]:[]:y.find.matches(e,y.grep(t,function(e){return 1===e.nodeType}))},y.fn.extend({find:function(e){var t,i=this.length,n=[],o=this;if("string"!=typeof e)return this.pushStack(y(e).filter(function(){for(t=0;i>t;t++)if(y.contains(o[t],this))return!0}));for(t=0;i>t;t++)y.find(e,o[t],n);return(n=this.pushStack(i>1?y.unique(n):n)).selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(_(this,e||[],!1))},not:function(e){return this.pushStack(_(this,e||[],!0))},is:function(e){return!!_(this,"string"==typeof e&&T.test(e)?y(e):e||[],!1).length}});var S,E=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(y.fn.init=function(e,t){var i,n;if(!e)return this;if("string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:E.exec(e))||!i[1]&&t)return!t||t.jquery?(t||S).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof y?t[0]:t,y.merge(this,y.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:g,!0)),I.test(i[1])&&y.isPlainObject(t))for(i in t)y.isFunction(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(n=g.getElementById(i[2]))&&n.parentNode&&(this.length=1,this[0]=n),this.context=g,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):y.isFunction(e)?void 0!==S.ready?S.ready(e):e(y):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),y.makeArray(e,this))}).prototype=y.fn,S=y(g);var B=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function D(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}y.extend({dir:function(e,t,i){for(var n=[],o=void 0!==i;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&y(e).is(i))break;n.push(e)}return n},sibling:function(e,t){for(var i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i}}),y.fn.extend({has:function(e){var t=y(e,this),i=t.length;return this.filter(function(){for(var e=0;i>e;e++)if(y.contains(this,t[e]))return!0})},closest:function(e,t){for(var i,n=0,o=this.length,a=[],r=T.test(e)||"string"!=typeof e?y(e,t||this.context):0;o>n;n++)for(i=this[n];i&&i!==t;i=i.parentNode)if(i.nodeType<11&&(r?r.index(i)>-1:1===i.nodeType&&y.find.matchesSelector(i,e))){a.push(i);break}return this.pushStack(a.length>1?y.unique(a):a)},index:function(e){return e?"string"==typeof e?c.call(y(e),this[0]):c.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(y.unique(y.merge(this.get(),y(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),y.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return y.dir(e,"parentNode")},parentsUntil:function(e,t,i){return y.dir(e,"parentNode",i)},next:function(e){return D(e,"nextSibling")},prev:function(e){return D(e,"previousSibling")},nextAll:function(e){return y.dir(e,"nextSibling")},prevAll:function(e){return y.dir(e,"previousSibling")},nextUntil:function(e,t,i){return y.dir(e,"nextSibling",i)},prevUntil:function(e,t,i){return y.dir(e,"previousSibling",i)},siblings:function(e){return y.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return y.sibling(e.firstChild)},contents:function(e){return e.contentDocument||y.merge([],e.childNodes)}},function(e,t){y.fn[e]=function(i,n){var o=y.map(this,t,i);return"Until"!==e.slice(-5)&&(n=i),n&&"string"==typeof n&&(o=y.filter(n,o)),this.length>1&&(j[e]||y.unique(o),B.test(e)&&o.reverse()),this.pushStack(o)}});var P,L=/\S+/g,M={};function F(){g.removeEventListener("DOMContentLoaded",F,!1),n.removeEventListener("load",F,!1),y.ready()}y.Callbacks=function(e){e="string"==typeof e?M[e]||function(e){var t=M[e]={};return y.each(e.match(L)||[],function(e,i){t[i]=!0}),t}(e):y.extend({},e);var t,i,n,o,a,r,s=[],l=!e.once&&[],d=function d(p){for(t=e.memory&&p,i=!0,r=o||0,o=0,a=s.length,n=!0;s&&a>r;r++)if(!1===s[r].apply(p[0],p[1])&&e.stopOnFalse){t=!1;break}n=!1,s&&(l?l.length&&d(l.shift()):t?s=[]:c.disable())},c={add:function(){if(s){var i=s.length;!function t(i){y.each(i,function(i,n){var o=y.type(n);"function"===o?e.unique&&c.has(n)||s.push(n):n&&n.length&&"string"!==o&&t(n)})}(arguments),n?a=s.length:t&&(o=i,d(t))}return this},remove:function(){return s&&y.each(arguments,function(e,t){for(var i;(i=y.inArray(t,s,i))>-1;)s.splice(i,1),n&&(a>=i&&a--,r>=i&&r--)}),this},has:function(e){return e?y.inArray(e,s)>-1:!(!s||!s.length)},empty:function(){return s=[],a=0,this},disable:function(){return s=l=t=void 0,this},disabled:function(){return!s},lock:function(){return l=void 0,t||c.disable(),this},locked:function(){return!l},fireWith:function(e,t){return!s||i&&!l||(t=[e,(t=t||[]).slice?t.slice():t],n?l.push(t):d(t)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},y.extend({Deferred:function(e){var t=[["resolve","done",y.Callbacks("once memory"),"resolved"],["reject","fail",y.Callbacks("once memory"),"rejected"],["notify","progress",y.Callbacks("memory")]],i="pending",n={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var e=arguments;return y.Deferred(function(i){y.each(t,function(t,a){var r=y.isFunction(e[t])&&e[t];o[a[1]](function(){var e=r&&r.apply(this,arguments);e&&y.isFunction(e.promise)?e.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[a[0]+"With"](this===n?i.promise():this,r?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?y.extend(e,n):n}},o={};return n.pipe=n.then,y.each(t,function(e,a){var r=a[2],s=a[3];n[a[1]]=r.add,s&&r.add(function(){i=s},t[1^e][2].disable,t[2][2].lock),o[a[0]]=function(){return o[a[0]+"With"](this===o?n:this,arguments),this},o[a[0]+"With"]=r.fireWith}),n.promise(o),e&&e.call(o,o),o},when:function(e){var t,i,n,o=0,a=s.call(arguments),r=a.length,l=1!==r||e&&y.isFunction(e.promise)?r:0,d=1===l?e:y.Deferred(),c=function(e,i,n){return function(o){i[e]=this,n[e]=arguments.length>1?s.call(arguments):o,n===t?d.notifyWith(i,n):--l||d.resolveWith(i,n)}};if(r>1)for(t=new Array(r),i=new Array(r),n=new Array(r);r>o;o++)a[o]&&y.isFunction(a[o].promise)?a[o].promise().done(c(o,n,a)).fail(d.reject).progress(c(o,i,t)):--l;return l||d.resolveWith(n,a),d.promise()}}),y.fn.ready=function(e){return y.ready.promise().done(e),this},y.extend({isReady:!1,readyWait:1,holdReady:function(e){e?y.readyWait++:y.ready(!0)},ready:function(e){(!0===e?--y.readyWait:y.isReady)||(y.isReady=!0,!0!==e&&--y.readyWait>0||(P.resolveWith(g,[y]),y.fn.triggerHandler&&(y(g).triggerHandler("ready"),y(g).off("ready"))))}}),y.ready.promise=function(e){return P||(P=y.Deferred(),"complete"===g.readyState?setTimeout(y.ready):(g.addEventListener("DOMContentLoaded",F,!1),n.addEventListener("load",F,!1))),P.promise(e)},y.ready.promise();var W=y.access=function(e,t,i,n,o,a,r){var s=0,l=e.length,d=null==i;if("object"===y.type(i))for(s in o=!0,i)y.access(e,t,s,i[s],!0,a,r);else if(void 0!==n&&(o=!0,y.isFunction(n)||(r=!0),d&&(r?(t.call(e,n),t=null):(d=t,t=function(e,t,i){return d.call(y(e),i)})),t))for(;l>s;s++)t(e[s],i,r?n:n.call(e[s],s,t(e[s],i)));return o?e:d?t.call(e):l?t(e[0],i):a};function H(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=y.expando+H.uid++}y.acceptData=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType},H.uid=1,H.accepts=y.acceptData,H.prototype={key:function(e){if(!H.accepts(e))return 0;var t={},i=e[this.expando];if(!i){i=H.uid++;try{t[this.expando]={value:i},Object.defineProperties(e,t)}catch(n){t[this.expando]=i,y.extend(e,t)}}return this.cache[i]||(this.cache[i]={}),i},set:function(e,t,i){var n,o=this.key(e),a=this.cache[o];if("string"==typeof t)a[t]=i;else if(y.isEmptyObject(a))y.extend(this.cache[o],t);else for(n in t)a[n]=t[n];return a},get:function(e,t){var i=this.cache[this.key(e)];return void 0===t?i:i[t]},access:function(e,t,i){var n;return void 0===t||t&&"string"==typeof t&&void 0===i?void 0!==(n=this.get(e,t))?n:this.get(e,y.camelCase(t)):(this.set(e,t,i),void 0!==i?i:t)},remove:function(e,t){var i,n,o,a=this.key(e),r=this.cache[a];if(void 0===t)this.cache[a]={};else{y.isArray(t)?n=t.concat(t.map(y.camelCase)):(o=y.camelCase(t),t in r?n=[t,o]:n=(n=o)in r?[n]:n.match(L)||[]),i=n.length;for(;i--;)delete r[n[i]]}},hasData:function(e){return!y.isEmptyObject(this.cache[e[this.expando]]||{})},discard:function(e){e[this.expando]&&delete this.cache[e[this.expando]]}};var N=new H,Q=new H,O=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,U=/([A-Z])/g;function z(e,t,i){var n;if(void 0===i&&1===e.nodeType)if(n="data-"+t.replace(U,"-$1").toLowerCase(),"string"==typeof(i=e.getAttribute(n))){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:O.test(i)?y.parseJSON(i):i)}catch(e){}Q.set(e,t,i)}else i=void 0;return i}y.extend({hasData:function(e){return Q.hasData(e)||N.hasData(e)},data:function(e,t,i){return Q.access(e,t,i)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,i){return N.access(e,t,i)},_removeData:function(e,t){N.remove(e,t)}}),y.fn.extend({data:function(e,t){var i,n,o,r=this[0],s=r&&r.attributes;if(void 0===e){if(this.length&&(o=Q.get(r),1===r.nodeType&&!N.get(r,"hasDataAttrs"))){for(i=s.length;i--;)s[i]&&(0===(n=s[i].name).indexOf("data-")&&(n=y.camelCase(n.slice(5)),z(r,n,o[n])));N.set(r,"hasDataAttrs",!0)}return o}return"object"==(void 0===e?"undefined":a(e))?this.each(function(){Q.set(this,e)}):W(this,function(t){var i,n=y.camelCase(e);if(r&&void 0===t){if(void 0!==(i=Q.get(r,e)))return i;if(void 0!==(i=Q.get(r,n)))return i;if(void 0!==(i=z(r,n,void 0)))return i}else this.each(function(){var i=Q.get(this,n);Q.set(this,n,t),-1!==e.indexOf("-")&&void 0!==i&&Q.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Q.remove(this,e)})}}),y.extend({queue:function(e,t,i){var n;return e?(t=(t||"fx")+"queue",n=N.get(e,t),i&&(!n||y.isArray(i)?n=N.access(e,t,y.makeArray(i)):n.push(i)),n||[]):void 0},dequeue:function(e,t){t=t||"fx";var i=y.queue(e,t),n=i.length,o=i.shift(),a=y._queueHooks(e,t);"inprogress"===o&&(o=i.shift(),n--),o&&("fx"===t&&i.unshift("inprogress"),delete a.stop,o.call(e,function(){y.dequeue(e,t)},a)),!n&&a&&a.empty.fire()},_queueHooks:function(e,t){var i=t+"queueHooks";return N.get(e,i)||N.access(e,i,{empty:y.Callbacks("once memory").add(function(){N.remove(e,[t+"queue",i])})})}}),y.fn.extend({queue:function(e,t){var i=2;return"string"!=typeof e&&(t=e,e="fx",i--),arguments.length<i?y.queue(this[0],e):void 0===t?this:this.each(function(){var i=y.queue(this,e,t);y._queueHooks(this,e),"fx"===e&&"inprogress"!==i[0]&&y.dequeue(this,e)})},dequeue:function(e){return this.each(function(){y.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var i,n=1,o=y.Deferred(),a=this,r=this.length,s=function(){--n||o.resolveWith(a,[a])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";r--;)(i=N.get(a[r],e+"queueHooks"))&&i.empty&&(n++,i.empty.add(s));return s(),o.promise(t)}});var q=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,R=["Top","Right","Bottom","Left"],V=function(e,t){return e=t||e,"none"===y.css(e,"display")||!y.contains(e.ownerDocument,e)},G=/^(?:checkbox|radio)$/i;!function(){var e=g.createDocumentFragment().appendChild(g.createElement("div")),t=g.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),h.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",h.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var $="undefined";h.focusinBubbles="onfocusin"in n;var X=/^key/,J=/^(?:mouse|pointer|contextmenu)|click/,Y=/^(?:focusinfocus|focusoutblur)$/,Z=/^([^.]*)(?:\.(.+)|)$/;function K(){return!0}function ee(){return!1}function te(){try{return g.activeElement}catch(e){}}y.event={global:{},add:function(e,t,i,n,o){var r,s,l,d,c,p,u,f,h,g,m,v=N.get(e);if(v)for(i.handler&&(i=(r=i).handler,o=r.selector),i.guid||(i.guid=y.guid++),(d=v.events)||(d=v.events={}),(s=v.handle)||(s=v.handle=function(t){return(void 0===y?"undefined":a(y))!==$&&y.event.triggered!==t.type?y.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(L)||[""]).length;c--;)h=m=(l=Z.exec(t[c])||[])[1],g=(l[2]||"").split(".").sort(),h&&(u=y.event.special[h]||{},h=(o?u.delegateType:u.bindType)||h,u=y.event.special[h]||{},p=y.extend({type:h,origType:m,data:n,handler:i,guid:i.guid,selector:o,needsContext:o&&y.expr.match.needsContext.test(o),namespace:g.join(".")},r),(f=d[h])||((f=d[h]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,n,g,s)||e.addEventListener&&e.addEventListener(h,s,!1)),u.add&&(u.add.call(e,p),p.handler.guid||(p.handler.guid=i.guid)),o?f.splice(f.delegateCount++,0,p):f.push(p),y.event.global[h]=!0)},remove:function(e,t,i,n,o){var a,r,s,l,d,c,p,u,f,h,g,m=N.hasData(e)&&N.get(e);if(m&&(l=m.events)){for(d=(t=(t||"").match(L)||[""]).length;d--;)if(f=g=(s=Z.exec(t[d])||[])[1],h=(s[2]||"").split(".").sort(),f){for(p=y.event.special[f]||{},u=l[f=(n?p.delegateType:p.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=a=u.length;a--;)c=u[a],!o&&g!==c.origType||i&&i.guid!==c.guid||s&&!s.test(c.namespace)||n&&n!==c.selector&&("**"!==n||!c.selector)||(u.splice(a,1),c.selector&&u.delegateCount--,p.remove&&p.remove.call(e,c));r&&!u.length&&(p.teardown&&!1!==p.teardown.call(e,h,m.handle)||y.removeEvent(e,f,m.handle),delete l[f])}else for(f in l)y.event.remove(e,f+t[d],i,n,!0);y.isEmptyObject(l)&&(delete m.handle,N.remove(e,"events"))}},trigger:function(e,t,i,o){var r,s,l,d,c,p,u,h=[i||g],m=f.call(e,"type")?e.type:e,v=f.call(e,"namespace")?e.namespace.split("."):[];if(s=l=i=i||g,3!==i.nodeType&&8!==i.nodeType&&!Y.test(m+y.event.triggered)&&(m.indexOf(".")>=0&&(v=m.split("."),m=v.shift(),v.sort()),c=m.indexOf(":")<0&&"on"+m,(e=e[y.expando]?e:new y.Event(m,"object"==(void 0===e?"undefined":a(e))&&e)).isTrigger=o?2:3,e.namespace=v.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:y.makeArray(t,[e]),u=y.event.special[m]||{},o||!u.trigger||!1!==u.trigger.apply(i,t))){if(!o&&!u.noBubble&&!y.isWindow(i)){for(d=u.delegateType||m,Y.test(d+m)||(s=s.parentNode);s;s=s.parentNode)h.push(s),l=s;l===(i.ownerDocument||g)&&h.push(l.defaultView||l.parentWindow||n)}for(r=0;(s=h[r++])&&!e.isPropagationStopped();)e.type=r>1?d:u.bindType||m,(p=(N.get(s,"events")||{})[e.type]&&N.get(s,"handle"))&&p.apply(s,t),(p=c&&s[c])&&p.apply&&y.acceptData(s)&&(e.result=p.apply(s,t),!1===e.result&&e.preventDefault());return e.type=m,o||e.isDefaultPrevented()||u._default&&!1!==u._default.apply(h.pop(),t)||!y.acceptData(i)||c&&y.isFunction(i[m])&&!y.isWindow(i)&&((l=i[c])&&(i[c]=null),y.event.triggered=m,i[m](),y.event.triggered=void 0,l&&(i[c]=l)),e.result}},dispatch:function(e){e=y.event.fix(e);var t,i,n,o,a,r=[],l=s.call(arguments),d=(N.get(this,"events")||{})[e.type]||[],c=y.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,e)){for(r=y.event.handlers.call(this,e,d),t=0;(o=r[t++])&&!e.isPropagationStopped();)for(e.currentTarget=o.elem,i=0;(a=o.handlers[i++])&&!e.isImmediatePropagationStopped();)(!e.namespace_re||e.namespace_re.test(a.namespace))&&(e.handleObj=a,e.data=a.data,void 0!==(n=((y.event.special[a.origType]||{}).handle||a.handler).apply(o.elem,l))&&!1===(e.result=n)&&(e.preventDefault(),e.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,t){var i,n,o,a,r=[],s=t.delegateCount,l=e.target;if(s&&l.nodeType&&(!e.button||"click"!==e.type))for(;l!==this;l=l.parentNode||this)if(!0!==l.disabled||"click"!==e.type){for(n=[],i=0;s>i;i++)void 0===n[o=(a=t[i]).selector+" "]&&(n[o]=a.needsContext?y(o,this).index(l)>=0:y.find(o,this,null,[l]).length),n[o]&&n.push(a);n.length&&r.push({elem:l,handlers:n})}return s<t.length&&r.push({elem:this,handlers:t.slice(s)}),r},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var i,n,o,a=t.button;return null==e.pageX&&null!=t.clientX&&(n=(i=e.target.ownerDocument||g).documentElement,o=i.body,e.pageX=t.clientX+(n&&n.scrollLeft||o&&o.scrollLeft||0)-(n&&n.clientLeft||o&&o.clientLeft||0),e.pageY=t.clientY+(n&&n.scrollTop||o&&o.scrollTop||0)-(n&&n.clientTop||o&&o.clientTop||0)),e.which||void 0===a||(e.which=1&a?1:2&a?3:4&a?2:0),e}},fix:function(e){if(e[y.expando])return e;var t,i,n,o=e.type,a=e,r=this.fixHooks[o];for(r||(this.fixHooks[o]=r=J.test(o)?this.mouseHooks:X.test(o)?this.keyHooks:{}),n=r.props?this.props.concat(r.props):this.props,e=new y.Event(a),t=n.length;t--;)e[i=n[t]]=a[i];return e.target||(e.target=g),3===e.target.nodeType&&(e.target=e.target.parentNode),r.filter?r.filter(e,a):e},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==te()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===te()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&y.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(e){return y.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,i,n){var o=y.extend(new y.Event,i,{type:e,isSimulated:!0,originalEvent:{}});n?y.event.trigger(o,null,t):y.event.dispatch.call(t,o),o.isDefaultPrevented()&&i.preventDefault()}},y.removeEvent=function(e,t,i){e.removeEventListener&&e.removeEventListener(t,i,!1)},y.Event=function(e,t){return this instanceof y.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?K:ee):this.type=e,t&&y.extend(this,t),this.timeStamp=e&&e.timeStamp||y.now(),void(this[y.expando]=!0)):new y.Event(e,t)},y.Event.prototype={isDefaultPrevented:ee,isPropagationStopped:ee,isImmediatePropagationStopped:ee,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=K,e&&e.preventDefault},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=K,e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=K,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},y.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){y.event.special[e]={delegateType:t,bindType:t,handle:function(e){var i,n=e.relatedTarget,o=e.handleObj;return(!n||n!==this&&!y.contains(this,n))&&(e.type=o.origType,i=o.handler.apply(this,arguments),e.type=t),i}}}),h.focusinBubbles||y.each({focus:"focusin",blur:"focusout"},function(e,t){var i=function(e){y.event.simulate(t,e.target,y.event.fix(e),!0)};y.event.special[t]={setup:function(){var n=this.ownerDocument||this,o=N.access(n,t);o||n.addEventListener(e,i,!0),N.access(n,t,(o||0)+1)},teardown:function(){var n=this.ownerDocument||this,o=N.access(n,t)-1;o?N.access(n,t,o):(n.removeEventListener(e,i,!0),N.remove(n,t))}}}),y.fn.extend({on:function(e,t,i,n,o){var r,s;if("object"==(void 0===e?"undefined":a(e))){for(s in"string"!=typeof t&&(i=i||t,t=void 0),e)this.on(s,t,i,e[s],o);return this}if(null==i&&null==n?(n=t,i=t=void 0):null==n&&("string"==typeof t?(n=i,i=void 0):(n=i,i=t,t=void 0)),!1===n)n=ee;else if(!n)return this;return 1===o&&(r=n,(n=function(e){return y().off(e),r.apply(this,arguments)}).guid=r.guid||(r.guid=y.guid++)),this.each(function(){y.event.add(this,e,n,i,t)})},one:function(e,t,i,n){return this.on(e,t,i,n,1)},off:function(e,t,i){var n,o;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,y(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==(void 0===e?"undefined":a(e))){for(o in e)this.off(o,t,e[o]);return this}return(!1===t||"function"==typeof t)&&(i=t,t=void 0),!1===i&&(i=ee),this.each(function(){y.event.remove(this,e,i,t)})},trigger:function(e,t){return this.each(function(){y.event.trigger(e,t,this)})},triggerHandler:function(e,t){var i=this[0];return i?y.event.trigger(e,t,i,!0):void 0}});var ie=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ne=/<([\w:]+)/,oe=/<|&#?\w+;/,ae=/<(?:script|style|link)/i,re=/checked\s*(?:[^=]|=\s*.checked.)/i,se=/^$|\/(?:java|ecma)script/i,le=/^true\/(.*)/,de=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ce={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function pe(e,t){return y.nodeName(e,"table")&&y.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function ue(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function fe(e){var t=le.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function he(e,t){for(var i=0,n=e.length;n>i;i++)N.set(e[i],"globalEval",!t||N.get(t[i],"globalEval"))}function ge(e,t){var i,n,o,a,r,s,l,d;if(1===t.nodeType){if(N.hasData(e)&&(a=N.access(e),r=N.set(t,a),d=a.events))for(o in delete r.handle,r.events={},d)for(i=0,n=d[o].length;n>i;i++)y.event.add(t,o,d[o][i]);Q.hasData(e)&&(s=Q.access(e),l=y.extend({},s),Q.set(t,l))}}function me(e,t){var i=e.getElementsByTagName?e.getElementsByTagName(t||"*"):e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&y.nodeName(e,t)?y.merge([e],i):i}function ye(e,t){var i=t.nodeName.toLowerCase();"input"===i&&G.test(e.type)?t.checked=e.checked:("input"===i||"textarea"===i)&&(t.defaultValue=e.defaultValue)}ce.optgroup=ce.option,ce.tbody=ce.tfoot=ce.colgroup=ce.caption=ce.thead,ce.th=ce.td,y.extend({clone:function(e,t,i){var n,o,a,r,s=e.cloneNode(!0),l=y.contains(e.ownerDocument,e);if(!(h.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||y.isXMLDoc(e)))for(r=me(s),n=0,o=(a=me(e)).length;o>n;n++)ye(a[n],r[n]);if(t)if(i)for(a=a||me(e),r=r||me(s),n=0,o=a.length;o>n;n++)ge(a[n],r[n]);else ge(e,s);return(r=me(s,"script")).length>0&&he(r,!l&&me(e,"script")),s},buildFragment:function(e,t,i,n){for(var o,a,r,s,l,d,c=t.createDocumentFragment(),p=[],u=0,f=e.length;f>u;u++)if((o=e[u])||0===o)if("object"===y.type(o))y.merge(p,o.nodeType?[o]:o);else if(oe.test(o)){for(a=a||c.appendChild(t.createElement("div")),r=(ne.exec(o)||["",""])[1].toLowerCase(),s=ce[r]||ce._default,a.innerHTML=s[1]+o.replace(ie,"<$1></$2>")+s[2],d=s[0];d--;)a=a.lastChild;y.merge(p,a.childNodes),(a=c.firstChild).textContent=""}else p.push(t.createTextNode(o));for(c.textContent="",u=0;o=p[u++];)if((!n||-1===y.inArray(o,n))&&(l=y.contains(o.ownerDocument,o),a=me(c.appendChild(o),"script"),l&&he(a),i))for(d=0;o=a[d++];)se.test(o.type||"")&&i.push(o);return c},cleanData:function(e){for(var t,i,n,o,a=y.event.special,r=0;void 0!==(i=e[r]);r++){if(y.acceptData(i)&&((o=i[N.expando])&&(t=N.cache[o]))){if(t.events)for(n in t.events)a[n]?y.event.remove(i,n):y.removeEvent(i,n,t.handle);N.cache[o]&&delete N.cache[o]}delete Q.cache[i[Q.expando]]}}}),y.fn.extend({text:function(e){return W(this,function(e){return void 0===e?y.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=e)})},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||pe(this,e).appendChild(e)})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=pe(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var i,n=e?y.filter(e,this):this,o=0;null!=(i=n[o]);o++)t||1!==i.nodeType||y.cleanData(me(i)),i.parentNode&&(t&&y.contains(i.ownerDocument,i)&&he(me(i,"script")),i.parentNode.removeChild(i));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(y.cleanData(me(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return y.clone(this,e,t)})},html:function(e){return W(this,function(e){var t=this[0]||{},i=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ae.test(e)&&!ce[(ne.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(ie,"<$1></$2>");try{for(;n>i;i++)1===(t=this[i]||{}).nodeType&&(y.cleanData(me(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=arguments[0];return this.domManip(arguments,function(t){e=this.parentNode,y.cleanData(me(this)),e&&e.replaceChild(t,this)}),e&&(e.length||e.nodeType)?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t){e=l.apply([],e);var i,n,o,a,r,s,d=0,c=this.length,p=this,u=c-1,f=e[0],g=y.isFunction(f);if(g||c>1&&"string"==typeof f&&!h.checkClone&&re.test(f))return this.each(function(i){var n=p.eq(i);g&&(e[0]=f.call(this,i,n.html())),n.domManip(e,t)});if(c&&(n=(i=y.buildFragment(e,this[0].ownerDocument,!1,this)).firstChild,1===i.childNodes.length&&(i=n),n)){for(a=(o=y.map(me(i,"script"),ue)).length;c>d;d++)r=i,d!==u&&(r=y.clone(r,!0,!0),a&&y.merge(o,me(r,"script"))),t.call(this[d],r,d);if(a)for(s=o[o.length-1].ownerDocument,y.map(o,fe),d=0;a>d;d++)r=o[d],se.test(r.type||"")&&!N.access(r,"globalEval")&&y.contains(s,r)&&(r.src?y._evalUrl&&y._evalUrl(r.src):y.globalEval(r.textContent.replace(de,"")))}return this}}),y.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){y.fn[e]=function(e){for(var i,n=[],o=y(e),a=o.length-1,r=0;a>=r;r++)i=r===a?this:this.clone(!0),y(o[r])[t](i),d.apply(n,i.get());return this.pushStack(n)}});var ve,we={};function be(e,t){var i,o=y(t.createElement(e)).appendTo(t.body),a=n.getDefaultComputedStyle&&(i=n.getDefaultComputedStyle(o[0]))?i.display:y.css(o[0],"display");return o.detach(),a}function xe(e){var t=g,i=we[e];return i||("none"!==(i=be(e,t))&&i||((t=(ve=(ve||y("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),i=be(e,t),ve.detach()),we[e]=i),i}var Ce=/^margin/,ke=new RegExp("^("+q+")(?!px)[a-z%]+$","i"),Te=function(e){return e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):n.getComputedStyle(e,null)};function Ie(e,t,i){var n,o,a,r,s=e.style;return(i=i||Te(e))&&(r=i.getPropertyValue(t)||i[t]),i&&(""!==r||y.contains(e.ownerDocument,e)||(r=y.style(e,t)),ke.test(r)&&Ce.test(t)&&(n=s.width,o=s.minWidth,a=s.maxWidth,s.minWidth=s.maxWidth=s.width=r,r=i.width,s.width=n,s.minWidth=o,s.maxWidth=a)),void 0!==r?r+"":r}function Ae(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}!function(){var e,t,i=g.documentElement,o=g.createElement("div"),a=g.createElement("div");if(a.style){var r=function(){a.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",a.innerHTML="",i.appendChild(o);var r=n.getComputedStyle(a,null);e="1%"!==r.top,t="4px"===r.width,i.removeChild(o)};a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",h.clearCloneStyle="content-box"===a.style.backgroundClip,o.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",o.appendChild(a),n.getComputedStyle&&y.extend(h,{pixelPosition:function(){return r(),e},boxSizingReliable:function(){return null==t&&r(),t},reliableMarginRight:function(){var e,t=a.appendChild(g.createElement("div"));return t.style.cssText=a.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",a.style.width="1px",i.appendChild(o),e=!parseFloat(n.getComputedStyle(t,null).marginRight),i.removeChild(o),a.removeChild(t),e}})}}(),y.swap=function(e,t,i,n){var o,a,r={};for(a in t)r[a]=e.style[a],e.style[a]=t[a];for(a in o=i.apply(e,n||[]),t)e.style[a]=r[a];return o};var _e=/^(none|table(?!-c[ea]).+)/,Se=new RegExp("^("+q+")(.*)$","i"),Ee=new RegExp("^([+-])=("+q+")","i"),Be={position:"absolute",visibility:"hidden",display:"block"},je={letterSpacing:"0",fontWeight:"400"},De=["Webkit","O","Moz","ms"];function Pe(e,t){if(t in e)return t;for(var i=t[0].toUpperCase()+t.slice(1),n=t,o=De.length;o--;)if((t=De[o]+i)in e)return t;return n}function Le(e,t,i){var n=Se.exec(t);return n?Math.max(0,n[1]-(i||0))+(n[2]||"px"):t}function Me(e,t,i,n,o){for(var a=i===(n?"border":"content")?4:"width"===t?1:0,r=0;4>a;a+=2)"margin"===i&&(r+=y.css(e,i+R[a],!0,o)),n?("content"===i&&(r-=y.css(e,"padding"+R[a],!0,o)),"margin"!==i&&(r-=y.css(e,"border"+R[a]+"Width",!0,o))):(r+=y.css(e,"padding"+R[a],!0,o),"padding"!==i&&(r+=y.css(e,"border"+R[a]+"Width",!0,o)));return r}function Fe(e,t,i){var n=!0,o="width"===t?e.offsetWidth:e.offsetHeight,a=Te(e),r="border-box"===y.css(e,"boxSizing",!1,a);if(0>=o||null==o){if((0>(o=Ie(e,t,a))||null==o)&&(o=e.style[t]),ke.test(o))return o;n=r&&(h.boxSizingReliable()||o===e.style[t]),o=parseFloat(o)||0}return o+Me(e,t,i||(r?"border":"content"),n,a)+"px"}function We(e,t){for(var i,n,o,a=[],r=0,s=e.length;s>r;r++)(n=e[r]).style&&(a[r]=N.get(n,"olddisplay"),i=n.style.display,t?(a[r]||"none"!==i||(n.style.display=""),""===n.style.display&&V(n)&&(a[r]=N.access(n,"olddisplay",xe(n.nodeName)))):(o=V(n),"none"===i&&o||N.set(n,"olddisplay",o?i:y.css(n,"display"))));for(r=0;s>r;r++)(n=e[r]).style&&(t&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=t?a[r]||"":"none"));return e}function He(e,t,i,n,o){return new He.prototype.init(e,t,i,n,o)}y.extend({cssHooks:{opacity:{get:function(e,t){if(t){var i=Ie(e,"opacity");return""===i?"1":i}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,i,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,r,s,l=y.camelCase(t),d=e.style;return t=y.cssProps[l]||(y.cssProps[l]=Pe(d,l)),s=y.cssHooks[t]||y.cssHooks[l],void 0===i?s&&"get"in s&&void 0!==(o=s.get(e,!1,n))?o:d[t]:("string"===(r=void 0===i?"undefined":a(i))&&(o=Ee.exec(i))&&(i=(o[1]+1)*o[2]+parseFloat(y.css(e,t)),r="number"),void(null!=i&&i==i&&("number"!==r||y.cssNumber[l]||(i+="px"),h.clearCloneStyle||""!==i||0!==t.indexOf("background")||(d[t]="inherit"),s&&"set"in s&&void 0===(i=s.set(e,i,n))||(d[t]=i))))}},css:function(e,t,i,n){var o,a,r,s=y.camelCase(t);return t=y.cssProps[s]||(y.cssProps[s]=Pe(e.style,s)),(r=y.cssHooks[t]||y.cssHooks[s])&&"get"in r&&(o=r.get(e,!0,i)),void 0===o&&(o=Ie(e,t,n)),"normal"===o&&t in je&&(o=je[t]),""===i||i?(a=parseFloat(o),!0===i||y.isNumeric(a)?a||0:o):o}}),y.each(["height","width"],function(e,t){y.cssHooks[t]={get:function(e,i,n){return i?_e.test(y.css(e,"display"))&&0===e.offsetWidth?y.swap(e,Be,function(){return Fe(e,t,n)}):Fe(e,t,n):void 0},set:function(e,i,n){var o=n&&Te(e);return Le(0,i,n?Me(e,t,n,"border-box"===y.css(e,"boxSizing",!1,o),o):0)}}}),y.cssHooks.marginRight=Ae(h.reliableMarginRight,function(e,t){return t?y.swap(e,{display:"inline-block"},Ie,[e,"marginRight"]):void 0}),y.each({margin:"",padding:"",border:"Width"},function(e,t){y.cssHooks[e+t]={expand:function(i){for(var n=0,o={},a="string"==typeof i?i.split(" "):[i];4>n;n++)o[e+R[n]+t]=a[n]||a[n-2]||a[0];return o}},Ce.test(e)||(y.cssHooks[e+t].set=Le)}),y.fn.extend({css:function(e,t){return W(this,function(e,t,i){var n,o,a={},r=0;if(y.isArray(t)){for(n=Te(e),o=t.length;o>r;r++)a[t[r]]=y.css(e,t[r],!1,n);return a}return void 0!==i?y.style(e,t,i):y.css(e,t)},e,t,arguments.length>1)},show:function(){return We(this,!0)},hide:function(){return We(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){V(this)?y(this).show():y(this).hide()})}}),y.Tween=He,He.prototype={constructor:He,init:function(e,t,i,n,o,a){this.elem=e,this.prop=i,this.easing=o||"swing",this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=a||(y.cssNumber[i]?"":"px")},cur:function(){var e=He.propHooks[this.prop];return e&&e.get?e.get(this):He.propHooks._default.get(this)},run:function(e){var t,i=He.propHooks[this.prop];return this.pos=t=this.options.duration?y.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):He.propHooks._default.set(this),this}},He.prototype.init.prototype=He.prototype,He.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=y.css(e.elem,e.prop,""))&&"auto"!==t?t:0:e.elem[e.prop]},set:function(e){y.fx.step[e.prop]?y.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[y.cssProps[e.prop]]||y.cssHooks[e.prop])?y.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},He.propHooks.scrollTop=He.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},y.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},y.fx=He.prototype.init,y.fx.step={};var Ne,Qe,Oe=/^(?:toggle|show|hide)$/,Ue=new RegExp("^(?:([+-])=|)("+q+")([a-z%]*)$","i"),ze=/queueHooks$/,qe=[function(e,t,i){var n,o,a,r,s,l,d,c=this,p={},u=e.style,f=e.nodeType&&V(e),h=N.get(e,"fxshow");for(n in i.queue||(null==(s=y._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,c.always(function(){c.always(function(){s.unqueued--,y.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(i.overflow=[u.overflow,u.overflowX,u.overflowY],d=y.css(e,"display"),"inline"===("none"===d?N.get(e,"olddisplay")||xe(e.nodeName):d)&&"none"===y.css(e,"float")&&(u.display="inline-block")),i.overflow&&(u.overflow="hidden",c.always(function(){u.overflow=i.overflow[0],u.overflowX=i.overflow[1],u.overflowY=i.overflow[2]})),t)if(o=t[n],Oe.exec(o)){if(delete t[n],a=a||"toggle"===o,o===(f?"hide":"show")){if("show"!==o||!h||void 0===h[n])continue;f=!0}p[n]=h&&h[n]||y.style(e,n)}else d=void 0;if(y.isEmptyObject(p))"inline"===("none"===d?xe(e.nodeName):d)&&(u.display=d);else for(n in h?"hidden"in h&&(f=h.hidden):h=N.access(e,"fxshow",{}),a&&(h.hidden=!f),f?y(e).show():c.done(function(){y(e).hide()}),c.done(function(){var t;for(t in N.remove(e,"fxshow"),p)y.style(e,t,p[t])}),p)r=$e(f?h[n]:0,n,c),n in h||(h[n]=r.start,f&&(r.end=r.start,r.start="width"===n||"height"===n?1:0))}],Re={"*":[function(e,t){var i=this.createTween(e,t),n=i.cur(),o=Ue.exec(t),a=o&&o[3]||(y.cssNumber[e]?"":"px"),r=(y.cssNumber[e]||"px"!==a&&+n)&&Ue.exec(y.css(i.elem,e)),s=1,l=20;if(r&&r[3]!==a){a=a||r[3],o=o||[],r=+n||1;do{r/=s=s||".5",y.style(i.elem,e,r+a)}while(s!==(s=i.cur()/n)&&1!==s&&--l)}return o&&(r=i.start=+r||+n||0,i.unit=a,i.end=o[1]?r+(o[1]+1)*o[2]:+o[2]),i}]};function Ve(){return setTimeout(function(){Ne=void 0}),Ne=y.now()}function Ge(e,t){var i,n=0,o={height:e};for(t=t?1:0;4>n;n+=2-t)o["margin"+(i=R[n])]=o["padding"+i]=e;return t&&(o.opacity=o.width=e),o}function $e(e,t,i){for(var n,o=(Re[t]||[]).concat(Re["*"]),a=0,r=o.length;r>a;a++)if(n=o[a].call(i,t,e))return n}function Xe(e,t,i){var n,o,a=0,r=qe.length,s=y.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var t=Ne||Ve(),i=Math.max(0,d.startTime+d.duration-t),n=1-(i/d.duration||0),a=0,r=d.tweens.length;r>a;a++)d.tweens[a].run(n);return s.notifyWith(e,[d,n,i]),1>n&&r?i:(s.resolveWith(e,[d]),!1)},d=s.promise({elem:e,props:y.extend({},t),opts:y.extend(!0,{specialEasing:{}},i),originalProperties:t,originalOptions:i,startTime:Ne||Ve(),duration:i.duration,tweens:[],createTween:function(t,i){var n=y.Tween(e,d.opts,t,i,d.opts.specialEasing[t]||d.opts.easing);return d.tweens.push(n),n},stop:function(t){var i=0,n=t?d.tweens.length:0;if(o)return this;for(o=!0;n>i;i++)d.tweens[i].run(1);return t?s.resolveWith(e,[d,t]):s.rejectWith(e,[d,t]),this}}),c=d.props;for(function(e,t){var i,n,o,a,r;for(i in e)if(o=t[n=y.camelCase(i)],a=e[i],y.isArray(a)&&(o=a[1],a=e[i]=a[0]),i!==n&&(e[n]=a,delete e[i]),(r=y.cssHooks[n])&&"expand"in r)for(i in a=r.expand(a),delete e[n],a)i in e||(e[i]=a[i],t[i]=o);else t[n]=o}(c,d.opts.specialEasing);r>a;a++)if(n=qe[a].call(d,e,c,d.opts))return n;return y.map(c,$e,d),y.isFunction(d.opts.start)&&d.opts.start.call(e,d),y.fx.timer(y.extend(l,{elem:e,anim:d,queue:d.opts.queue})),d.progress(d.opts.progress).done(d.opts.done,d.opts.complete).fail(d.opts.fail).always(d.opts.always)}y.Animation=y.extend(Xe,{tweener:function(e,t){y.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var i,n=0,o=e.length;o>n;n++)i=e[n],Re[i]=Re[i]||[],Re[i].unshift(t)},prefilter:function(e,t){t?qe.unshift(e):qe.push(e)}}),y.speed=function(e,t,i){var n=e&&"object"==(void 0===e?"undefined":a(e))?y.extend({},e):{complete:i||!i&&t||y.isFunction(e)&&e,duration:e,easing:i&&t||t&&!y.isFunction(t)&&t};return n.duration=y.fx.off?0:"number"==typeof n.duration?n.duration:n.duration in y.fx.speeds?y.fx.speeds[n.duration]:y.fx.speeds._default,(null==n.queue||!0===n.queue)&&(n.queue="fx"),n.old=n.complete,n.complete=function(){y.isFunction(n.old)&&n.old.call(this),n.queue&&y.dequeue(this,n.queue)},n},y.fn.extend({fadeTo:function(e,t,i,n){return this.filter(V).css("opacity",0).show().end().animate({opacity:t},e,i,n)},animate:function(e,t,i,n){var o=y.isEmptyObject(e),a=y.speed(t,i,n),r=function(){var t=Xe(this,y.extend({},e),a);(o||N.get(this,"finish"))&&t.stop(!0)};return r.finish=r,o||!1===a.queue?this.each(r):this.queue(a.queue,r)},stop:function(e,t,i){var n=function(e){var t=e.stop;delete e.stop,t(i)};return"string"!=typeof e&&(i=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,o=null!=e&&e+"queueHooks",a=y.timers,r=N.get(this);if(o)r[o]&&r[o].stop&&n(r[o]);else for(o in r)r[o]&&r[o].stop&&ze.test(o)&&n(r[o]);for(o=a.length;o--;)a[o].elem!==this||null!=e&&a[o].queue!==e||(a[o].anim.stop(i),t=!1,a.splice(o,1));(t||!i)&&y.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,i=N.get(this),n=i[e+"queue"],o=i[e+"queueHooks"],a=y.timers,r=n?n.length:0;for(i.finish=!0,y.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=a.length;t--;)a[t].elem===this&&a[t].queue===e&&(a[t].anim.stop(!0),a.splice(t,1));for(t=0;r>t;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete i.finish})}}),y.each(["toggle","show","hide"],function(e,t){var i=y.fn[t];y.fn[t]=function(e,n,o){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(Ge(t,!0),e,n,o)}}),y.each({slideDown:Ge("show"),slideUp:Ge("hide"),slideToggle:Ge("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){y.fn[e]=function(e,i,n){return this.animate(t,e,i,n)}}),y.timers=[],y.fx.tick=function(){var e,t=0,i=y.timers;for(Ne=y.now();t<i.length;t++)(e=i[t])()||i[t]!==e||i.splice(t--,1);i.length||y.fx.stop(),Ne=void 0},y.fx.timer=function(e){y.timers.push(e),e()?y.fx.start():y.timers.pop()},y.fx.interval=13,y.fx.start=function(){Qe||(Qe=setInterval(y.fx.tick,y.fx.interval))},y.fx.stop=function(){clearInterval(Qe),Qe=null},y.fx.speeds={slow:600,fast:200,_default:400},y.fn.delay=function(e,t){return e=y.fx&&y.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,i){var n=setTimeout(t,e);i.stop=function(){clearTimeout(n)}})},function(){var e=g.createElement("input"),t=g.createElement("select"),i=t.appendChild(g.createElement("option"));e.type="checkbox",h.checkOn=""!==e.value,h.optSelected=i.selected,t.disabled=!0,h.optDisabled=!i.disabled,(e=g.createElement("input")).value="t",e.type="radio",h.radioValue="t"===e.value}();var Je,Ye=y.expr.attrHandle;y.fn.extend({attr:function(e,t){return W(this,y.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){y.removeAttr(this,e)})}}),y.extend({attr:function(e,t,i){var n,o,r=e.nodeType;if(e&&3!==r&&8!==r&&2!==r)return a(e.getAttribute)===$?y.prop(e,t,i):(1===r&&y.isXMLDoc(e)||(t=t.toLowerCase(),n=y.attrHooks[t]||(y.expr.match.bool.test(t)?Je:void 0)),void 0===i?n&&"get"in n&&null!==(o=n.get(e,t))?o:null==(o=y.find.attr(e,t))?void 0:o:null!==i?n&&"set"in n&&void 0!==(o=n.set(e,i,t))?o:(e.setAttribute(t,i+""),i):void y.removeAttr(e,t))},removeAttr:function(e,t){var i,n,o=0,a=t&&t.match(L);if(a&&1===e.nodeType)for(;i=a[o++];)n=y.propFix[i]||i,y.expr.match.bool.test(i)&&(e[n]=!1),e.removeAttribute(i)},attrHooks:{type:{set:function(e,t){if(!h.radioValue&&"radio"===t&&y.nodeName(e,"input")){var i=e.value;return e.setAttribute("type",t),i&&(e.value=i),t}}}}}),Je={set:function(e,t,i){return!1===t?y.removeAttr(e,i):e.setAttribute(i,i),i}},y.each(y.expr.match.bool.source.match(/\w+/g),function(e,t){var i=Ye[t]||y.find.attr;Ye[t]=function(e,t,n){var o,a;return n||(a=Ye[t],Ye[t]=o,o=null!=i(e,t,n)?t.toLowerCase():null,Ye[t]=a),o}});var Ze=/^(?:input|select|textarea|button)$/i;y.fn.extend({prop:function(e,t){return W(this,y.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[y.propFix[e]||e]})}}),y.extend({propFix:{for:"htmlFor",class:"className"},prop:function(e,t,i){var n,o,a=e.nodeType;if(e&&3!==a&&8!==a&&2!==a)return(1!==a||!y.isXMLDoc(e))&&(t=y.propFix[t]||t,o=y.propHooks[t]),void 0!==i?o&&"set"in o&&void 0!==(n=o.set(e,i,t))?n:e[t]=i:o&&"get"in o&&null!==(n=o.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){return e.hasAttribute("tabindex")||Ze.test(e.nodeName)||e.href?e.tabIndex:-1}}}}),h.optSelected||(y.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null}}),y.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){y.propFix[this.toLowerCase()]=this});var Ke=/[\t\r\n\f]/g;y.fn.extend({addClass:function(e){var t,i,n,o,a,r,s="string"==typeof e&&e,l=0,d=this.length;if(y.isFunction(e))return this.each(function(t){y(this).addClass(e.call(this,t,this.className))});if(s)for(t=(e||"").match(L)||[];d>l;l++)if(n=1===(i=this[l]).nodeType&&(i.className?(" "+i.className+" ").replace(Ke," "):" ")){for(a=0;o=t[a++];)n.indexOf(" "+o+" ")<0&&(n+=o+" ");r=y.trim(n),i.className!==r&&(i.className=r)}return this},removeClass:function(e){var t,i,n,o,a,r,s=0===arguments.length||"string"==typeof e&&e,l=0,d=this.length;if(y.isFunction(e))return this.each(function(t){y(this).removeClass(e.call(this,t,this.className))});if(s)for(t=(e||"").match(L)||[];d>l;l++)if(n=1===(i=this[l]).nodeType&&(i.className?(" "+i.className+" ").replace(Ke," "):"")){for(a=0;o=t[a++];)for(;n.indexOf(" "+o+" ")>=0;)n=n.replace(" "+o+" "," ");r=e?y.trim(n):"",i.className!==r&&(i.className=r)}return this},toggleClass:function(e,t){var i=void 0===e?"undefined":a(e);return"boolean"==typeof t&&"string"===i?t?this.addClass(e):this.removeClass(e):this.each(y.isFunction(e)?function(i){y(this).toggleClass(e.call(this,i,this.className,t),t)}:function(){if("string"===i)for(var t,n=0,o=y(this),a=e.match(L)||[];t=a[n++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else(i===$||"boolean"===i)&&(this.className&&N.set(this,"__className__",this.className),this.className=this.className||!1===e?"":N.get(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",i=0,n=this.length;n>i;i++)if(1===this[i].nodeType&&(" "+this[i].className+" ").replace(Ke," ").indexOf(t)>=0)return!0;return!1}});var et=/\r/g;y.fn.extend({val:function(e){var t,i,n,o=this[0];return arguments.length?(n=y.isFunction(e),this.each(function(i){var o;1===this.nodeType&&(null==(o=n?e.call(this,i,y(this).val()):e)?o="":"number"==typeof o?o+="":y.isArray(o)&&(o=y.map(o,function(e){return null==e?"":e+""})),(t=y.valHooks[this.type]||y.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))})):o?(t=y.valHooks[o.type]||y.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(i=t.get(o,"value"))?i:"string"==typeof(i=o.value)?i.replace(et,""):null==i?"":i:void 0}}),y.extend({valHooks:{option:{get:function(e){var t=y.find.attr(e,"value");return null!=t?t:y.trim(y.text(e))}},select:{get:function(e){for(var t,i,n=e.options,o=e.selectedIndex,a="select-one"===e.type||0>o,r=a?null:[],s=a?o+1:n.length,l=0>o?s:a?o:0;s>l;l++)if(!(!(i=n[l]).selected&&l!==o||(h.optDisabled?i.disabled:null!==i.getAttribute("disabled"))||i.parentNode.disabled&&y.nodeName(i.parentNode,"optgroup"))){if(t=y(i).val(),a)return t;r.push(t)}return r},set:function(e,t){for(var i,n,o=e.options,a=y.makeArray(t),r=o.length;r--;)((n=o[r]).selected=y.inArray(n.value,a)>=0)&&(i=!0);return i||(e.selectedIndex=-1),a}}}}),y.each(["radio","checkbox"],function(){y.valHooks[this]={set:function(e,t){return y.isArray(t)?e.checked=y.inArray(y(e).val(),t)>=0:void 0}},h.checkOn||(y.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),y.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){y.fn[t]=function(e,i){return arguments.length>0?this.on(t,null,e,i):this.trigger(t)}}),y.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,i,n){return this.on(t,e,i,n)},undelegate:function(e,t,i){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",i)}});var tt=y.now(),it=/\?/;y.parseJSON=function(e){return JSON.parse(e+"")},y.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return(!t||t.getElementsByTagName("parsererror").length)&&y.error("Invalid XML: "+e),t};var nt=/#.*$/,ot=/([?&])_=[^&]*/,at=/^(.*?):[ \t]*([^\r\n]*)$/gm,rt=/^(?:GET|HEAD)$/,st=/^\/\//,lt=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,dt={},ct={},pt="*/".concat("*"),ut=n.location.href,ft=lt.exec(ut.toLowerCase())||[];function ht(e){return function(t,i){"string"!=typeof t&&(i=t,t="*");var n,o=0,a=t.toLowerCase().match(L)||[];if(y.isFunction(i))for(;n=a[o++];)"+"===n[0]?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(i)):(e[n]=e[n]||[]).push(i)}}function gt(e,t,i,n){var o={},a=e===ct;function r(s){var l;return o[s]=!0,y.each(e[s]||[],function(e,s){var d=s(t,i,n);return"string"!=typeof d||a||o[d]?a?!(l=d):void 0:(t.dataTypes.unshift(d),r(d),!1)}),l}return r(t.dataTypes[0])||!o["*"]&&r("*")}function mt(e,t){var i,n,o=y.ajaxSettings.flatOptions||{};for(i in t)void 0!==t[i]&&((o[i]?e:n||(n={}))[i]=t[i]);return n&&y.extend(!0,e,n),e}y.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ut,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ft[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":pt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":y.parseJSON,"text xml":y.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?mt(mt(e,y.ajaxSettings),t):mt(y.ajaxSettings,e)},ajaxPrefilter:ht(dt),ajaxTransport:ht(ct),ajax:function(e,t){"object"==(void 0===e?"undefined":a(e))&&(t=e,e=void 0),t=t||{};var i,n,o,r,s,l,d,c,p=y.ajaxSetup({},t),u=p.context||p,f=p.context&&(u.nodeType||u.jquery)?y(u):y.event,h=y.Deferred(),g=y.Callbacks("once memory"),m=p.statusCode||{},v={},w={},b=0,x="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!r)for(r={};t=at.exec(o);)r[t[1].toLowerCase()]=t[2];t=r[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?o:null},setRequestHeader:function(e,t){var i=e.toLowerCase();return b||(e=w[i]=w[i]||e,v[e]=t),this},overrideMimeType:function(e){return b||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>b)for(t in e)m[t]=[m[t],e[t]];else C.always(e[C.status]);return this},abort:function(e){var t=e||x;return i&&i.abort(t),k(0,t),this}};if(h.promise(C).complete=g.add,C.success=C.done,C.error=C.fail,p.url=((e||p.url||ut)+"").replace(nt,"").replace(st,ft[1]+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=y.trim(p.dataType||"*").toLowerCase().match(L)||[""],null==p.crossDomain&&(l=lt.exec(p.url.toLowerCase()),p.crossDomain=!(!l||l[1]===ft[1]&&l[2]===ft[2]&&(l[3]||("http:"===l[1]?"80":"443"))===(ft[3]||("http:"===ft[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=y.param(p.data,p.traditional)),gt(dt,p,t,C),2===b)return C;for(c in(d=y.event&&p.global)&&0==y.active++&&y.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!rt.test(p.type),n=p.url,p.hasContent||(p.data&&(n=p.url+=(it.test(n)?"&":"?")+p.data,delete p.data),!1===p.cache&&(p.url=ot.test(n)?n.replace(ot,"$1_="+tt++):n+(it.test(n)?"&":"?")+"_="+tt++)),p.ifModified&&(y.lastModified[n]&&C.setRequestHeader("If-Modified-Since",y.lastModified[n]),y.etag[n]&&C.setRequestHeader("If-None-Match",y.etag[n])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+pt+"; q=0.01":""):p.accepts["*"]),p.headers)C.setRequestHeader(c,p.headers[c]);if(p.beforeSend&&(!1===p.beforeSend.call(u,C,p)||2===b))return C.abort();for(c in x="abort",{success:1,error:1,complete:1})C[c](p[c]);if(i=gt(ct,p,t,C)){C.readyState=1,d&&f.trigger("ajaxSend",[C,p]),p.async&&p.timeout>0&&(s=setTimeout(function(){C.abort("timeout")},p.timeout));try{b=1,i.send(v,k)}catch(e){if(!(2>b))throw e;k(-1,e)}}else k(-1,"No Transport");function k(e,t,a,r){var l,c,v,w,x,k=t;2!==b&&(b=2,s&&clearTimeout(s),i=void 0,o=r||"",C.readyState=e>0?4:0,l=e>=200&&300>e||304===e,a&&(w=function(e,t,i){for(var n,o,a,r,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(o in s)if(s[o]&&s[o].test(n)){l.unshift(o);break}if(l[0]in i)a=l[0];else{for(o in i){if(!l[0]||e.converters[o+" "+l[0]]){a=o;break}r||(r=o)}a=a||r}return a?(a!==l[0]&&l.unshift(a),i[a]):void 0}(p,C,a)),w=function(e,t,i,n){var o,a,r,s,l,d={},c=e.dataTypes.slice();if(c[1])for(r in e.converters)d[r.toLowerCase()]=e.converters[r];for(a=c.shift();a;)if(e.responseFields[a]&&(i[e.responseFields[a]]=t),!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=a,a=c.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(!(r=d[l+" "+a]||d["* "+a]))for(o in d)if((s=o.split(" "))[1]===a&&(r=d[l+" "+s[0]]||d["* "+s[0]])){!0===r?r=d[o]:!0!==d[o]&&(a=s[0],c.unshift(s[1]));break}if(!0!==r)if(r&&e.throws)t=r(t);else try{t=r(t)}catch(e){return{state:"parsererror",error:r?e:"No conversion from "+l+" to "+a}}}return{state:"success",data:t}}(p,w,C,l),l?(p.ifModified&&((x=C.getResponseHeader("Last-Modified"))&&(y.lastModified[n]=x),(x=C.getResponseHeader("etag"))&&(y.etag[n]=x)),204===e||"HEAD"===p.type?k="nocontent":304===e?k="notmodified":(k=w.state,c=w.data,l=!(v=w.error))):(v=k,(e||!k)&&(k="error",0>e&&(e=0))),C.status=e,C.statusText=(t||k)+"",l?h.resolveWith(u,[c,k,C]):h.rejectWith(u,[C,k,v]),C.statusCode(m),m=void 0,d&&f.trigger(l?"ajaxSuccess":"ajaxError",[C,p,l?c:v]),g.fireWith(u,[C,k]),d&&(f.trigger("ajaxComplete",[C,p]),--y.active||y.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,i){return y.get(e,t,i,"json")},getScript:function(e,t){return y.get(e,void 0,t,"script")}}),y.each(["get","post"],function(e,t){y[t]=function(e,i,n,o){return y.isFunction(i)&&(o=o||n,n=i,i=void 0),y.ajax({url:e,type:t,dataType:o,data:i,success:n})}}),y._evalUrl=function(e){return y.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},y.fn.extend({wrapAll:function(e){var t;return y.isFunction(e)?this.each(function(t){y(this).wrapAll(e.call(this,t))}):(this[0]&&(t=y(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(e){return this.each(y.isFunction(e)?function(t){y(this).wrapInner(e.call(this,t))}:function(){var t=y(this),i=t.contents();i.length?i.wrapAll(e):t.append(e)})},wrap:function(e){var t=y.isFunction(e);return this.each(function(i){y(this).wrapAll(t?e.call(this,i):e)})},unwrap:function(){return this.parent().each(function(){y.nodeName(this,"body")||y(this).replaceWith(this.childNodes)}).end()}}),y.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0},y.expr.filters.visible=function(e){return!y.expr.filters.hidden(e)};var yt=/%20/g,vt=/\[\]$/,wt=/\r?\n/g,bt=/^(?:submit|button|image|reset|file)$/i,xt=/^(?:input|select|textarea|keygen)/i;function Ct(e,t,i,n){var o;if(y.isArray(t))y.each(t,function(t,o){i||vt.test(e)?n(e,o):Ct(e+"["+("object"==(void 0===o?"undefined":a(o))?t:"")+"]",o,i,n)});else if(i||"object"!==y.type(t))n(e,t);else for(o in t)Ct(e+"["+o+"]",t[o],i,n)}y.param=function(e,t){var i,n=[],o=function(e,t){t=y.isFunction(t)?t():null==t?"":t,n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=y.ajaxSettings&&y.ajaxSettings.traditional),y.isArray(e)||e.jquery&&!y.isPlainObject(e))y.each(e,function(){o(this.name,this.value)});else for(i in e)Ct(i,e[i],t,o);return n.join("&").replace(yt,"+")},y.fn.extend({serialize:function(){return y.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=y.prop(this,"elements");return e?y.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!y(this).is(":disabled")&&xt.test(this.nodeName)&&!bt.test(e)&&(this.checked||!G.test(e))}).map(function(e,t){var i=y(this).val();return null==i?null:y.isArray(i)?y.map(i,function(e){return{name:t.name,value:e.replace(wt,"\r\n")}}):{name:t.name,value:i.replace(wt,"\r\n")}}).get()}}),y.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(e){}};var kt=0,Tt={},It={0:200,1223:204},At=y.ajaxSettings.xhr();n.attachEvent&&n.attachEvent("onunload",function(){for(var e in Tt)Tt[e]()}),h.cors=!!At&&"withCredentials"in At,h.ajax=At=!!At,y.ajaxTransport(function(e){var t;return h.cors||At&&!e.crossDomain?{send:function(i,n){var o,a=e.xhr(),r=++kt;if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)a[o]=e.xhrFields[o];for(o in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)a.setRequestHeader(o,i[o]);t=function(e){return function(){t&&(delete Tt[r],t=a.onload=a.onerror=null,"abort"===e?a.abort():"error"===e?n(a.status,a.statusText):n(It[a.status]||a.status,a.statusText,"string"==typeof a.responseText?{text:a.responseText}:void 0,a.getAllResponseHeaders()))}},a.onload=t(),a.onerror=t("error"),t=Tt[r]=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}:void 0}),y.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return y.globalEval(e),e}}}),y.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),y.ajaxTransport("script",function(e){var t,i;if(e.crossDomain)return{send:function(n,o){t=y("<script>").prop({async:!0,charset:e.scriptCharset,src:e.url}).on("load error",i=function(e){t.remove(),i=null,e&&o("error"===e.type?404:200,e.type)}),g.head.appendChild(t[0])},abort:function(){i&&i()}}});var _t=[],St=/(=)\?(?=&|$)|\?\?/;y.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=_t.pop()||y.expando+"_"+tt++;return this[e]=!0,e}}),y.ajaxPrefilter("json jsonp",function(e,t,i){var o,a,r,s=!1!==e.jsonp&&(St.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&St.test(e.data)&&"data");return s||"jsonp"===e.dataTypes[0]?(o=e.jsonpCallback=y.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(St,"$1"+o):!1!==e.jsonp&&(e.url+=(it.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return r||y.error(o+" was not called"),r[0]},e.dataTypes[0]="json",a=n[o],n[o]=function(){r=arguments},i.always(function(){n[o]=a,e[o]&&(e.jsonpCallback=t.jsonpCallback,_t.push(o)),r&&y.isFunction(a)&&a(r[0]),r=a=void 0}),"script"):void 0}),y.parseHTML=function(e,t,i){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(i=t,t=!1),t=t||g;var n=I.exec(e),o=!i&&[];return n?[t.createElement(n[1])]:(n=y.buildFragment([e],t,o),o&&o.length&&y(o).remove(),y.merge([],n.childNodes))};var Et=y.fn.load;y.fn.load=function(e,t,i){if("string"!=typeof e&&Et)return Et.apply(this,arguments);var n,o,r,s=this,l=e.indexOf(" ");return l>=0&&(n=y.trim(e.slice(l)),e=e.slice(0,l)),y.isFunction(t)?(i=t,t=void 0):t&&"object"==(void 0===t?"undefined":a(t))&&(o="POST"),s.length>0&&y.ajax({url:e,type:o,dataType:"html",data:t}).done(function(e){r=arguments,s.html(n?y("<div>").append(y.parseHTML(e)).find(n):e)}).complete(i&&function(e,t){s.each(i,r||[e.responseText,t,e])}),this},y.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){y.fn[t]=function(e){return this.on(t,e)}}),y.expr.filters.animated=function(e){return y.grep(y.timers,function(t){return e===t.elem}).length};var Bt=n.document.documentElement;function jt(e){return y.isWindow(e)?e:9===e.nodeType&&e.defaultView}y.offset={setOffset:function(e,t,i){var n,o,a,r,s,l,d=y.css(e,"position"),c=y(e),p={};"static"===d&&(e.style.position="relative"),s=c.offset(),a=y.css(e,"top"),l=y.css(e,"left"),("absolute"===d||"fixed"===d)&&(a+l).indexOf("auto")>-1?(r=(n=c.position()).top,o=n.left):(r=parseFloat(a)||0,o=parseFloat(l)||0),y.isFunction(t)&&(t=t.call(e,i,s)),null!=t.top&&(p.top=t.top-s.top+r),null!=t.left&&(p.left=t.left-s.left+o),"using"in t?t.using.call(e,p):c.css(p)}},y.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){y.offset.setOffset(this,e,t)});var t,i,n=this[0],o={top:0,left:0},r=n&&n.ownerDocument;return r?(t=r.documentElement,y.contains(t,n)?(a(n.getBoundingClientRect)!==$&&(o=n.getBoundingClientRect()),i=jt(r),{top:o.top+i.pageYOffset-t.clientTop,left:o.left+i.pageXOffset-t.clientLeft}):o):void 0},position:function(){if(this[0]){var e,t,i=this[0],n={top:0,left:0};return"fixed"===y.css(i,"position")?t=i.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),y.nodeName(e[0],"html")||(n=e.offset()),n.top+=y.css(e[0],"borderTopWidth",!0),n.left+=y.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-y.css(i,"marginTop",!0),left:t.left-n.left-y.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||Bt;e&&!y.nodeName(e,"html")&&"static"===y.css(e,"position");)e=e.offsetParent;return e||Bt})}}),y.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var i="pageYOffset"===t;y.fn[e]=function(o){return W(this,function(e,o,a){var r=jt(e);return void 0===a?r?r[t]:e[o]:void(r?r.scrollTo(i?n.pageXOffset:a,i?a:n.pageYOffset):e[o]=a)},e,o,arguments.length,null)}}),y.each(["top","left"],function(e,t){y.cssHooks[t]=Ae(h.pixelPosition,function(e,i){return i?(i=Ie(e,t),ke.test(i)?y(e).position()[t]+"px":i):void 0})}),y.each({Height:"height",Width:"width"},function(e,t){y.each({padding:"inner"+e,content:t,"":"outer"+e},function(i,n){y.fn[n]=function(n,o){var a=arguments.length&&(i||"boolean"!=typeof n),r=i||(!0===n||!0===o?"margin":"border");return W(this,function(t,i,n){var o;return y.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===n?y.css(t,i,r):y.style(t,i,n,r)},t,a?n:void 0,a,null)}})}),y.fn.size=function(){return this.length},y.fn.andSelf=y.fn.addBack,void 0===(i=function(){return y}.apply(t,[]))||(e.exports=i);var Dt=n.jQuery,Pt=n.$;return y.noConflict=function(e){return n.$===y&&(n.$=Pt),e&&n.jQuery===y&&(n.jQuery=Dt),y},(void 0===o?"undefined":a(o))===$&&(n.jQuery=n.$=y),y},"object"==a(e)&&"object"==a(e.exports)?e.exports=n.document?o(n,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return o(e)}:o(n)}).call(this,i(18)(e))},function(e,t,i){e.exports=i(7)},function(e,t,i){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=u(i(8)),a=u(i(5)),r=i(1),s=u(i(0)),l=i(3),d=i(2),c=(u(i(19)),u(i(20))),p=u(i(4));function u(e){return e&&e.__esModule?e:{default:e}}window.acpjQuery=a.default,window.mCanvasEnabled=!0,window.userData="",window.stopAds=!1,window.configWidget.widgetState={open:0,minimize:-1,close:0,currentState:"none",showACP:0},window.logger=[],window.acpDebugLogger={},window.acpIsMobile=(0,r.isMobile)(),i(21),i(22);var f=0;function h(e){var t=document.currentScript,i=new URL(t.src),n=i.searchParams;n&&Object.keys(n).length||(n=(0,r.queryStringToJSON)(i.search)),window.initAmplifyConfig=Object.keys(n).length?n:window.initAmplifyConfig}function g(){var e=(0,l.readCookie)("chatSession");if(e&&1==e)return console.log("Amplify Closed By User"),!1;(0==f&&h(),"object"!=n(window.initAmplifyConfig)||window.initAmplifyConfig.pluginId||console.log("Check config settings..."),window.initAmplifyConfig)&&("5f08008646e7000000e667e4"==window.initAmplifyConfig.pluginId&&(c.default.init(window.initAmplifyConfig),c.default.getIPLStatus()),window.logger.push({initAmplifyConfig:window.initAmplifyConfig}),w())}function m(){for(var e="abcdefghijklmnopqrstufwxyzABCDEFGHIJKLMNOPQRSTUFWXYZ1234567890",t="",i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16;i>0;--i)t+=e[Math.floor(Math.random()*e.length)];return t}function y(){"5e40ea5cb232e921e3a44723"!=window.amplifyChatPluginConfig.pluginId&&"5e8c604264d2b46468ffc561"!=window.amplifyChatPluginConfig.pluginId||acpjQuery("body,html").removeAttr("style")}function v(){return window.location.pathname.length}function w(){var e=new o.default({initAmplifyWidget:window.amplifyChatPluginConfig});c.default.init(window.amplifyChatPluginConfig),s.default.getLiveLocation(window.amplifyChatPluginConfig&&window.amplifyChatPluginConfig.geoEnable);var t,n=window.amplifyChatPluginConfig,a=location.hostname,p=window.location.hostname,u=(n.whiteListDomains,/www./);a=a.replace(u,""),p=p.replace(u,""),window.getIPLStatus>=1&&c.default.getIPLData(),n.enableZendeskChat&&function(){var e="https:"==document.location.protocol,t=document.createElement("script");t.type="text/javascript",t.async=!0,t.src=(e?"https:":"http:")+"//chat.amplify.ai/plugin/zendesk/web-sdk.js";var i=document.getElementsByTagName("script")[0];i.parentNode.insertBefore(t,i)}(),(t=localStorage.getItem("uId"))||(t=m(64),localStorage.setItem("uId",t)),window.acpUserUniqueId=t;var f,h;if("5eb410e902db055d752459e6,5eb410cf02db055d752459e4,5eb4110102db055d752459e8,5ea1375a75f9ff0ea3b3f2d5,5f08004646e7ca1034e667d7,5f08008646e7ca1034e667e4,5f07fffcf08fd75794d1502e".includes(n.pluginId)&&c.default.getCovidData(),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(arguments.length>1&&void 0!==arguments[1]&&arguments[1],!e)return!1;window.logger.push({"GA Called":e}),console.info("Amplify Initiated"),window.galite=window.galite||function(){(window.galite.q=window.galite.q||[]).push(arguments)};var t="gaLiteAmplify",i=document.getElementsByTagName("script")[0];if(!document.getElementById(t)){var n=document.createElement("script");n.id=t,n.async=!0,n.onload=function(){window.galite("create",e,"auto"),window.galite("send","pageview")},n.src=d.GaLiteJsUrl,i.parentNode.insertBefore(n,i)}}(n.gaCode,n.gtmCode),"6090ee6400000d2f06290673"==n.pluginId&&acpjQuery("#amplifyWidget #textInput").bind("click",function(){var e=document.activeElement.id;document.getElementById(e).scrollIntoView()}),"5d8c79fc71d7034e8751eec9"==n.pluginId&&!(0,r.isMobile)())return console.info("..........."),!1;if("5e01cf4c7fcd1c0e656fb19a"==n.pluginId||"5e01cf4c7fcd0000006fb19a"==n.pluginId){var g=window.location.pathname.split("/"),y=v();if("kt-engage"==g[1])return console.log("The amplify bot has been stopped."),!1;acpjQuery(".container_sponsor")[0]&&(window.stopAds=!0)}if(window&&window.amplifyChatPluginConfig&&window.amplifyChatPluginConfig.enableAmplifyParams){var w=(f=new URL(window.location.href),(h=f.searchParams)&&Object.keys(h).length||(h=(0,r.queryStringToJSON)(f.search)),h);window.amplifyUrlParams=window.amplifyUrlParams||{},w&&w.hasOwnProperty("acpO")&&(window.amplifyUrlParams.acpO=!0),w&&w.hasOwnProperty("acpdebug")&&(window.amplifyUrlParams.acpdebug=!0),w&&w.hasOwnProperty("acpref")&&(window.amplifyUrlParams.acpref=w.acpref),w&&w.hasOwnProperty("acpuid")&&(window.amplifyUrlParams.acpuid=w.acpuid),w&&w.hasOwnProperty("acpK")&&(window.amplifyUrlParams.acpK=w.acpK),w&&w.hasOwnProperty("acpH")&&(window.amplifyUrlParams.acpH=Boolean(w.acpH)),window.logger.push({amplifyUrlParams:window.amplifyUrlParams})}if(window.amplifyChatPluginConfig.salesforceAvailabilityChecker&&window.amplifyChatPluginConfig.salesforceAvailabilityCheckerConfig&&window.amplifyChatPluginConfig.salesforceAvailabilityCheckerConfig.blockClickWhenAgentUnavailable&&window.amplifyChatPluginConfig.salesforceAvailabilityCheckerConfig.disableClickBlockForDomains){var b=window.amplifyChatPluginConfig.salesforceAvailabilityCheckerConfig.disableClickBlockForDomains;b.includes(a)&&b.includes(p)||(window.amplifyUrlParams=window.amplifyUrlParams||{},window.amplifyUrlParams.blockClickWhenAgentUnavailable=!0,window.logger.push({salesforceClickBlockerActive:!0}))}s.default.isNonMetroCity();if(!(x=JSON.parse((0,l.readCookie)("trackUser")))){x='{"pageCount":"'+(_=0)+'"}',(0,l.createCookie)("trackUser",x,.125);var x=JSON.parse((0,l.readCookie)("trackUser"))}var C=JSON.parse((0,l.readCookie)("userObj"));setTimeout(function(){if("5d8c79e971d7034e8751eec7"!=n.pluginId&&"5ea00c4ee120182efc2e134b"!=n.pluginId&&"5d8c79fc71d7034e8751eec9"!=n.pluginId){var t=window.amplifyChatPluginConfig.blockedCountry,i=window.amplifyChatPluginConfig.openModeBlockedInCities,o=e.getUserLocation().userCountry;if(o&&"IN"!=o&&(i="nocity"),window.amplifyChatPluginConfig&&window.amplifyChatPluginConfig.fix320X50AdOnScroll&&(0,r.isMobile)()&&!e.isBlockedCountry(t)&&!e.isBlockedCity(i)){if("5b276c1468136c0dc755610b"!=n.pluginId||"IN"!=C.country_code&&"IN"!=window.userData.country_code||s.default.trackGAEvent("ACP",n.pluginId,C.country_code+":"+window.userData.country_code,"1"),!document.getElementById("amplifyWidget")){var a=document.createElement("div");a.id="amplifyWidget",document.getElementsByTagName("body")[0]&&document.getElementsByTagName("body")[0].appendChild(a)}e.get320x50FixedBanner()}}},8e3);var k=window.userData.country_code&&""!=window.userData.country_code?window.userData.country_code:C&&""!=C.country_code?C.country_code:"",T=window.userData.city&&""!=window.userData.city?window.userData.city:C&&C.city?C.city:"";y=v();if((0,r.isMobile)()&&window.mCanvasEnabled&&"IN"==k&&y>=1&&n.mCanvas&&n.mCanvas.script&&""!=n.mCanvas.script){var I=!0,A=n.mCanvas.blockCity;T=(T=(T=(T=window.userData.city&&""!=window.userData.city?window.userData.city:C&&C.city?C.city:"").toLowerCase()).trim()).replace(/[^a-zA-Z ]/g,"").replace(/ /g,"").replace(/\s/g,""),A=A.toLowerCase(),window.logger.push({ctylist:T+" = "+JSON.stringify(C)}),"5b276c1468136c0dc755610b"!=n.pluginId&&"5b472fcbf3ad1217f3f9051f"!=n.pluginId&&A?A&&T&&A.includes(T)?I=!1:T||(I=!1,s.default.trackGAEvent("ACP",n.pluginId,"null-city","1")):I=!0,(0,l.eraseCookie)("trackUser");var _=++x.pageCount;if(x='{"pageCount":"'+_+'"}',(0,l.createCookie)("trackUser",x,.125),I&&window.mCanvasEnabled)return window.logger.push({mcanvas:window.mCanvasEnabled}),s.default.trackGAEvent("ACP",n.pluginId,"mCanvasBannerCall","1"),s.default.trackGAEvent("ACP",n.pluginId,"x-"+T,"1"),function(e){if(e.mCanvas&&e.mCanvas.script&&window.mCanvasEnabled){s.default.trackGAEvent("ACP",e.pluginId,"mccall","1");var t=document.createElement("div");t.setAttribute("id","mCanvas"),t.setAttribute("class","mCanvas");var i=document.createElement("script");return i.setAttribute("type","text/javascript"),i.innerHTML=e.mCanvas.script,t.appendChild(i),document.getElementsByTagName("body")[0]&&document.getElementsByTagName("body")[0].appendChild(t),!1}return!0}(n)}function S(e){e&&((new Image).src=e)}if(n.widgetIcon&&S(n.widgetIcon),n.smallLogo&&S(n.smallLogo),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=window.location.href;return e&&e.length>0&&t&&(t=(t=t.replace(/^[^.]+\./g,"")).replace(/\//g,"-"),e=e.map(function(e){return(e=e.replace(/^[^.]+\./g,"")).replace(/\//g,"-")}),!s.default.isEmpty(e)&&-1!=acpjQuery.inArray(t,e))?1:0}(n.urlBlockList))return console.log("The amplify bot has been stopped."),!1;e.createAmplifyWidget(),window.onload=function(){e.generateAdsOnPageLoad()},"5d8c79e971d7034e8751eec7"!=n.pluginId&&"5ea00c4ee120182efc2e134b"!=n.pluginId&&"5d8c79fc71d7034e8751eec9"!=n.pluginId||(acpjQuery("#amplifyWidget").hide(),setTimeout(function(){e.checkCricketBall()},1e3)),"cube"==n.animatedIcon&&i(23)}"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?g():(h(f=1),document.addEventListener("DOMContentLoaded",g)),window.initACP=function(){window.mCanvasEnabled=!1,w()},window.showACP=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(window.configWidget&&window.configWidget.widgetState&&window.configWidget.widgetState.showACP++,!(window.amplifyChatPluginConfig.salesforceAvailabilityChecker&&window.amplifyChatPluginConfig.salesforceAvailabilityCheckerConfig&&window.amplifyChatPluginConfig.salesforceAvailabilityCheckerConfig.blockClickWhenAgentUnavailable&&window.amplifyUrlParams&&window.amplifyUrlParams.blockClickWhenAgentUnavailable&&window.amplifyChatPluginConfig.salesforceAvailabilityCheckerConfig.disableShowACPWhenClickBlockIsEnabled)||window.salesforceAgentIsAvailable){if(acpjQuery("#amplifyWidget").show(),i&&acpjQuery("#chatList").html(""),"5e40ea5cb232e921e3a44723"==window.amplifyChatPluginConfig.pluginId||"5e8c604264d2b46468ffc561"==window.amplifyChatPluginConfig.pluginId){if(t){var n=JSON.parse(localStorage.getItem("clientInfo"));n?(n.access_token&&(n.access_token=n.access_token),n.expires_on&&(n.expires_on=n.expires_on)):n={cId:t.cId,env:t.env},localStorage.setItem("clientInfo",JSON.stringify(n))}acpjQuery("#chatList").html(""),s.default.trackGAEvent("ACP",window.amplifyChatPluginConfig.pluginId,"shine-showacp","1")}s.default.widgetClose=!1,s.default.showAmplifyChatView();var a=document.getElementById("textInput");if(a&&window.amplifyChatPluginConfig&&window.amplifyChatPluginConfig.adViewPlaceholder&&a.setAttribute("placeholder",window.amplifyChatPluginConfig.adViewPlaceholder),s.default.trackGAEvent("ACP",window.amplifyChatPluginConfig.pluginId,"showACP-Called","1"),e=e||"bw_enter",window.amplifyChatEngine&&"function"==typeof window.amplifyChatEngine.sendMessageText){if(window.amplifyChatPluginConfig&&window.amplifyChatPluginConfig.doNotRestartChatOnShowACPCall&&window.configWidget&&window.configWidget.widgetState&&(window.configWidget.widgetState.minimize>0||window.configWidget.widgetState.showACP>1))return;t=window.amplifyChatPluginConfig&&window.amplifyChatPluginConfig.initiateWithMetaData&&window.acpMetaData?window.acpMetaData:t,this.webChatWidget.enableAmplifyParams&&window.amplifyUrlParams&&window.amplifyUrlParams.acpK&&(e=window.amplifyUrlParams.acpK);var r=!!(this.webChatWidget.enableAmplifyParams&&window.amplifyUrlParams&&window.amplifyUrlParams.acpK);s.default.isZendeskEnable()||window.amplifyChatEngine.sendMessageText(e,!r,"",t)}var l=new o.default({initAmplifyWidget:window.amplifyChatPluginConfig});l.replaceHTMLCounter=-1,setTimeout(function(){l.replaceFBWAIcons(),l.replaceHTMLDOM(1)},2e3)}},window.renderUploadForm=function(){s.default.renderFormInBot()},window.minimizeACP=function(){s.default.widgetClose=!1,s.default.minimizeAmplifyWidget(),y()},window.hideACP=function(){"5e40ea5cb232e921e3a44723"!=window.amplifyChatPluginConfig.pluginId&&"5e8c604264d2b46468ffc561"!=window.amplifyChatPluginConfig.pluginId||(s.default.startAmplifyEngine=!1,s.default.trackGAEvent("ACP",window.amplifyChatPluginConfig.pluginId,"hideacp","1")),s.default.closeAmplifyWidget(),y()},window.setInputAttr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(s.default.isEmpty(e))return!1;var t=acpjQuery(".amplifyChat.textInput");for(var i in e)t.attr(i,e[i])},window.currentState=function(){return window.configWidget.widgetState},window.closeACP=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;amplifyWidget.amplifyCloseButtonClick(e),y()},window.showACPMenu=function(){s.default.showMenu()},window.hideACPMenu=function(){s.default.hideMenu()},window.stretchACP=function(){s.default.increaseACPHeight()},window.unStretchACP=function(){s.default.resetACPHeight()},window.checkSFAgentAvailability=function(){s.default.checkSalesforceAgentAvailability()},window.showACPFileUploader=function(){s.default.showFileUploader()},window.hideACPFileUploader=function(){s.default.hideFileUploader()},window.cancelACPFileUpload=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Cancel Upload";e&&e.length>0&&window.acpTriggerNextNodes(e,t),window.hideACPFileUploader()},window.startACPFileUpload=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;e&&"aws"===e?(window.acpFileUploadDestination="aws",s.default.uploadFilesToAWS()):(window.acpFileUploadDestination="salesforce",s.default.uploadFilesToSalesforce())},window.ACPFileUploadSuccessful=function(){s.default.fileUploadSuccessful()},window.ACPFileUploadFailed=function(){s.default.fileUploadFailed()},window.mutateACPInputField=function(e,t,i){s.default.mutateACPInputType(e,t,i)},window.resetACPInputField=function(e){s.default.resetACPInputType(e)},window.updateACPInputFieldPlaceholder=function(e){s.default.updateACPInputPlaceholder(e)},window.disableACPTextInput=function(e){s.default.disableACPInput(e)},window.enableACPTextInput=function(e){s.default.enableACPInput(e)},window.acpTriggerNextNodes=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],i=arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(window.amplifyChatEngine&&window.amplifyChatEngine.sendMessageToAPI&&window.amplifyChatEngine.platformBotId&&window.amplifyChatEngine.platformUserId&&window.amplifyChatEngine.platform&&e&&e.length>0){var o={platformBotId:window.amplifyChatEngine.platformBotId,platformUserId:window.amplifyChatEngine.platformUserId,platform:window.amplifyChatEngine.platform,timestamp:Date.now(),nextNodes:e,metaData:i||{}};if(n){var a="https://api.amplify.ai/api/v1/messaging/platformUser?access_token="+window.amplifyChatEngine.accessToken;return navigator.sendBeacon(a,JSON.stringify(o))}window.amplifyChatEngine.sendMessageToAPI(JSON.stringify(o),window.amplifyChatEngine.addSendMessageChatNode&&t?window.amplifyChatEngine.addSendMessageChatNode(t):null)}},window.showToolTip=function(e){if(!e)return!1;new o.default({initAmplifyWidget:window.amplifyChatPluginConfig}).createToolTip(e)},window.hideToolTip=function(){new o.default({initAmplifyWidget:window.amplifyChatPluginConfig}).closeToolTip()},window.createButton=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s.default.isEmpty(e)||s.default.createDynamicBtns(e)},window.initZendeskChat=function(){p.default.removeEventListener(),p.default.init(window.amplifyChatPluginConfig),window.handoverToZendesk()},window.handoverToZendesk=function(){window.chatHandover="zendesk",window.amplifyChatEngine&&"function"==typeof window.amplifyChatEngine.setHandover&&window.amplifyChatEngine.setHandover(!0),acpjQuery(".amplifyChat .textInput").attr("disabled","disabled").css("background","#c2c2c2"),acpjQuery(".amplifyChat .textInputSendButton").attr("disabled","disabled")},window.amplifyUserEndChat=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";p.default.zChatEndChat(e)},window.handoverToAmplify=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["HANDOVER_TO_AMPLIFY"],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};"zendesk"==window.chatHandover&&(window.chatHandover="amplify",window.amplifyChatEngine&&"function"==typeof window.amplifyChatEngine.setHandover&&window.amplifyChatEngine.setHandover(!1),window.acpTriggerNextNodes(t,e,i),acpjQuery(".amplifyChat .textInput").removeAttr("disabled").css("background","#fff"),acpjQuery(".amplifyChat .textInputSendButton").removeAttr("disabled"),s.default.startedAmplifyEngine=!0,p.default.removeEventListener())},window.getDSCLogin=function(){p.default.renderLoginForm()},window.removeDSCLogin=function(){p.default.removeLoginForm()},window.amplifyGetToken=function(e,t){window.loginToDSC(e,t),window.removeDSCLogin()},window.loginToDSC=function(e,t){var i=m(),n=Date.now()+864e5;window.amplifySetToken(i,n,e)},window.amplifySetToken=function(e,t,i){window.acpTriggerNextNodes(["DSC_USER_LOGGED_IN"],"Login",{accessToken:e,expiry:t,email:i})},window.displayDSCLoginModal=function(){p.default.renderDSCLoginModal()},window.removeDSCLoginModal=function(){p.default.removeDSCLoginModal()}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};i(9);var o=d(i(14)),a=d(i(0)),r=i(1),s=i(3),l=i(2);function d(e){return e&&e.__esModule?e:{default:e}}var c,p={},u=1,f=!0,h=0,g=3,m=!0,y=!0,v=!0;window.configWidget=l.configWidget,window.isIconClicked=!1,window.liveTVPlayed=!1;var w=!1,b=!1,x=!1;t.default=function e(t){var i=this,d=t.initAmplifyWidget;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.generateSocialHTML=function(){var e="",t={},i=0;if(p.socialLinks){for(var n in e="<div class='socialLinks' id='socialLinks'>",t=p.socialLinks)t[n].status&&t[n].link&&i<5&&(e+='<a href="'+(t[n].link?t[n].link:"")+'" class="sl sl-'+t[n].className+' trackSocial"data="'+t[n].className+'"alt="'+(t[n].alt?t[n].alt:"")+'" title = "'+(t[n].alt?t[n].alt:"")+'" target=_blank></a>',i++);e+="</div>"}return e},this.loadFBLike=function(){var e="https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v3.3&appId="+p.fbLikes.appId+"&autoLogAppEvents=1";return(0,r.loadJS)(e),'<div class="socialLinks" id="socialLinks">\x3c!-- Your like button code --\x3e<div class="fb-like trackSocial" data-href="'+p.fbLikes.dataHref+'"data-width="" data-layout="button_count" data-action="like" data-size="small" data-show-faces="true" data-share="false" data="fblikes" ></div></div>'},this.getTime=function(){return Math.floor(Date.now()/1e3)},this.bindMouseOverScroll=function(){var e=i;acpjQuery(window).on("resize scroll",function(){"show"==localStorage.getItem("fix320X50AdTopMiddle")&&(window.pageYOffset>50||document.documentElement.scrollTop>50?(acpjQuery(".fixed320x50Top")&&acpjQuery(".fixed320x50Top").css("display","block"),acpjQuery(".fixed320x50Middle")&&acpjQuery(".fixed320x50Middle").css("display","block")):(acpjQuery(".fixed320x50Top")&&acpjQuery(".fixed320x50Top").css("display","none"),acpjQuery(".fixed320x50Middle")&&acpjQuery(".fixed320x50Middle").css("display","none"))),p.showWidgetOnScroll&&acpjQuery(window).scroll(function(t){(0,r.isMobile)()||(acpjQuery("#amplifyWidget").hide(),"5d8c79e971d7034e8751eec7"!=p.pluginId&&"5ea00c4ee120182efc2e134b"!=p.pluginId&&"5d8c79fc71d7034e8751eec9"!=p.pluginId||a.default.widgetClose?acpjQuery("#amplifyWidget").show():window.pageYOffset>250||document.documentElement.scrollTop>250?(acpjQuery("#amplifyWidget").show(),e.checkCricketBall()):acpjQuery("#amplifyWidget").hide())})}),(0,r.isMobile)()&&acpjQuery(window).scroll(function(e){acpjQuery("#amplifyWidget").hover(function(){acpjQuery(document).bind("mousewheel DOMMouseScroll",function(e){e||(e=window.event),e.preventDefault&&e.preventDefault(),e.returnValue=!1})},function(){acpjQuery(document).unbind("mousewheel DOMMouseScroll")});var t=p.blockedCountry,n=p.openModeBlockedInCities;p&&p.fix320X50AdOnScroll&&(i.isBlockedCountry(t)||i.isBlockedCity(n)||i.get320x50FixedBanner());var o=i.getUserLocation().userCountry;o&&"IN"!=o&&(n="nocity");var a=p&&p.fix320X50AdShowPosition?p.fix320X50AdShowPosition:150;window.pageYOffset>a||document.documentElement.scrollTop>a?i.isBlockedCountry(t)?acpjQuery("#fixed320x50")&&acpjQuery("#fixed320x50").css("display","none"):i.isBlockedCity(n)||acpjQuery("#fixed320x50")&&acpjQuery("#fixed320x50").css("display","block"):acpjQuery("#fixed320x50")&&acpjQuery("#fixed320x50").css("display","none")})},this.checkCricketBall=function(){acpjQuery("div[class*=js-btm-nav").filter(function(e,t){return""!=acpjQuery(t).html()}).each(function(e,t){var i=acpjQuery(t).html(),n=Array("world-cup-logo","match-score-widget","score-iframe","live-score","Scorecard_Ball_Tracker");(i.includes(n[0])||i.includes(n[1])||i.includes(n[2])||i.includes(n[3])||i.includes(n[4]))&&acpjQuery("#amplifyWidget").css({display:"none"})})},this.get320x50FixedBanner=function(){if(i.fixedBannerCalled)return!1;var e=p.blockedCountry,t=p.openModeBlockedInCities;if(p&&p.fix320X50AdOnScroll){if(!document.getElementById("amplifyWidget")){var n=document.createElement("div");n.id="amplifyWidget",document.getElementsByTagName("body")[0]&&document.getElementsByTagName("body")[0].appendChild(n)}if(!i.isBlockedCountry(e)&&!i.isBlockedCity(t)&&!i.fixedBannerCalled){i.fixedBannerCalled=!0;var o=JSON.parse((0,s.readCookie)("userObj"));"5b276c1468136c0dc755610b"!=p.pluginId||"IN"!=o.country_code&&"IN"!=window.userData.country_code||a.default.trackGAEvent("ACP",p.pluginId,o.country_code+"-"+window.userData.country_code,"1"),i.create320x50FixedBanner()}}},this.showFullScreenBannerAd=function(){if(!p.enableFullBanner300x250Ad||window.stopAds)return!1;if(f){var e={},t=p.fullBannerCounter&&p.fullBannerCounter>0?p.fullBannerCounter:5;if(!p.dfp||a.default.isEmpty(p.dfp["300_250"][u])||0!=g&&g%t!=0)u=1;else{e={},e={divId:"creativeCompose",width:p.dfp["300_250"][u].width,height:p.dfp["300_250"][u].height,dataAdClient:p.dfp["300_250"][u].dataAdClient,dataAdSlot:p.dfp["300_250"][u].dataAdSlot,adtype:p.dfp["300_250"][u].adtype,jsLoad:!1,className:"extdfp"},document.getElementById("creativeCompose").innerHTML='<div class="txtAdTitle">'+(p.txtAdTitle?p.txtAdTitle:"")+'</div></div><div id="closeme"><span id="fulladSkip">Skip</span></div>';var n=document.getElementById("fulladSkip");n&&i.addEventListener(n,i.showFullScreen),acpjQuery("#fulladSkip").click(function(){y=!1}),i.showFullScreen(),i.setDFPTag(e),setTimeout(function(){y&&i.showFullScreen(),y=!0},1e4)}g++}},this.youtubeLoader=function(){var e=p.fullScreenView.video.iframe,t=document.getElementById("youtube-player");""!=e&&(t.innerHTML=e),document.getElementById("youtubeBg")&&(document.getElementById("youtubeBg").style.display="none")},this.setVideoPlayer=function(){var e;if(window.logger.push({setVideoPlayerCalled:!0}),e='<div id="player-overlay"><div id="youtube-player" class="youtube-player"><div id="youtubeBg"></div></div></div>',acpjQuery("#creativeCompose")&&""!=acpjQuery("#creativeCompose").html()){acpjQuery("#creativeCompose").html(e),f=!1;var t=document.getElementById("youtube-player");t&&i.addEventListener(t,i.youtubeLoader)}return e},this.setAnimatedIcon=function(){var e=(0,r.isMobile)()?80:110;return p.widgetIcons[0]&&p.widgetIcons[1]&&p.widgetIcons[2]&&p.widgetIcons[3]?'<div class="dimage-showcase"><div class="dimage" data-direction="right" data-size="'+e+'" data-speed="25" data-image-front="'+(p.widgetIcons[0].iconimg?p.widgetIcons[0].iconimg:"")+'" data-image-right="'+(p.widgetIcons[1].iconimg?p.widgetIcons[1].iconimg:"")+'" data-image-left="'+(p.widgetIcons[2].iconimg?p.widgetIcons[2].iconimg:"")+'" data-image-back="'+(p.widgetIcons[3].iconimg?p.widgetIcons[3].iconimg:"")+'"data-link-front="'+(p.widgetIcons[0].link?p.widgetIcons[0].link:"")+'" data-link-right="'+(p.widgetIcons[1].link?p.widgetIcons[1].link:"")+'" data-link-left="'+(p.widgetIcons[2].link?p.widgetIcons[2].link:"")+'" data-link-back="'+(p.widgetIcons[3].link?p.widgetIcons[3].link:"")+'"></div></div>':'<div class="dimage-showcase"><div class="dimage" data-direction="right" data-size="140" data-speed="10" data-image-front="'+(p.widgetIcon?p.widgetIcon:"")+'" data-image-right="'+(p.widgetIcon?p.widgetIcon:"")+'" data-image-left="'+(p.widgetIcon?p.widgetIcon:"")+'" data-image-back="'+(p.widgetIcon?p.widgetIcon:"")+'"></div></div>'},this.attachHTMLCubeCSS=function(){var e='.cube_boxwrap *{box-sizing:border-box; margin:0;} .main-wrapper { width: 990px;  margin: 0 auto;}.cube_boxwrap { height: inherit; width: 150px; position: fixed; left: auto; bottom:80px; box-shadow:0 0 15px rgba(0,0,0,0.6); z-index:999;}.cube_boxwrap:after{z-index:-1;position:absolute;content:"";bottom:50px;left:3%;width:90%;height:10px;-webkit-box-shadow:0 20px 20px #777;box-shadow:0 25px 20px #777}  .articleshow .election_cube_box{bottom: 40px!important;} .flipbox-wrapper {perspective: 800px; perspective-origin: 50% 50%;} .flipbox-wrapper .flipbox-box {position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition-property: transform;} .flipbox-wrapper .flipbox-box .flipbox-side {position: absolute; width: 100%; height: 100%; backface-visibility: hidden;} .flipbox-wrapper .flipbox-box .flipbox-side.flipbox-front {transform: translateZ(0);} .flipbox-wrapper .flipbox-box .flipbox-side.flipbox-left {transform-origin: center left;} .flipbox-wrapper .flipbox-box .flipbox-side.flipbox-right {transform-origin: top right;} .flipbox-wrapper .flipbox-box .flipbox-side.flipbox-top {transform-origin: top center;} .flipbox-wrapper .flipbox-box .flipbox-side.flipbox-bottom {transform-origin: bottom center;} .box {width: 150px; height: 117px;} .box .side { height:100px; font:400 14px Arial, Helvetica, sans-serif;background: #f0f0f0;} .box .side a{display: block; text-decoration: none;} .box .side.side1 {background: #f0f0f0;} .box .side.side2 {background: #f0f0f0;} .box .side.side3 {background: #c2c2c2;} .box .side.side4 {background: #fff;} @media screen and (max-width:766px) { .main-wrapper { box-sizing: border-box; padding: 0 10px; width: 100%; margin: 0px; } .box {height:117px;}} ';if(document.getElementById("amplifyWidget")){var t=document.getElementById("amplifyWidget"),i=document.createElement("style");i.type="text/css",i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e)),document.getElementById("amplifyWidget").insertBefore(i,t.childNodes[0]),t.insertAdjacentElement("beforebegin",i)}},this.htmlCubeStructure=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(a.default.isEmpty(e))return!1;var t='<div class="main-wrapper"><div class="cube_boxwrap"><div class="box" id="mainCubeBox">',i=1;for(var n in e)t=t+'<div class="side side'+i+'">'+e[i]+"</div>",i++;return t+="</div></div></div>"},this.setTimeOutWithLimit=function(e,t,i){var n,o,a=(n=t,o=i,function(){if(void 0===o||o-- >0){setTimeout(a,n);try{e.call(null)}catch(e){throw o=0,e.toString()}}});setTimeout(a,t)},this.updateIPLData=function(){var e=JSON.stringify(window.getIPLData);acpjQuery(function(){e&&(e=JSON.parse(e),acpjQuery.each(e,function(e,t){acpjQuery.each(this,function(t,i){var n=""+i;acpjQuery("#"+e+"_"+t).html(n)})}))})},this.updateCovidData=function(){var e=JSON.stringify(window.getCovidData);acpjQuery(function(){e&&(e=JSON.parse(e),acpjQuery.each(e,function(e,t){acpjQuery.each(this,function(t,i){var n=""+i;acpjQuery("#"+e+"_"+t).html(n)})}))})},this.getCovidData=function(){var e={text_1:"",text_2:"",text_3:"",heading:"COVID 19",subheading:"India",label_1:"Cases",label_2:"Deaths",label_3:"Recovered"},t={text_1:"",text_2:"",text_3:"",heading:"COVID 19",subheading:"World",label_1:"Cases",label_2:"Deaths",label_3:"Recovered"},n={text_1:"",text_2:"",text_3:"",heading:"COVID 19",subheading:"India",label_1:"Cases",label_2:"Deaths",label_3:"Recovered"};return p.cubeDataType&&"covid"==p.cubeDataType&&setTimeout(function(){i.updateCovidData();var e=i;i.setTimeOutWithLimit(function(){e.updateCovidData()},2e3,10)},5500),{1:"<img src='"+p.widgetIcon+"' style='height:100px;width:130px;margin-top:8px;'>",2:'<div class="content" style="height:130px;width:130px"><div><h6 class="cubeHeading">'+e.heading+'</h6></div><div><h6 class="cubeSubheading">'+e.subheading+'</h6></div><div class="cubeData"><table><tbody><tr><td class="cubeSubHead" id="data_1_label_1">'+e.label_1+'</td><td class="cubeTxt" id="data_1_text_1">'+e.text_1+'</td></tr><tr><td class="cubeSubHead" id="data_1_label_2">'+e.label_2+'</td><td class="cubeTxt" id="data_1_text_2">'+e.text_2+'</td></tr><tr><td class="cubeSubHead" id="data_1_label_3">'+e.label_3+'</td><td class="cubeTxt" id="data_1_text_3">'+e.text_3+'</td></tr></tbody></table></div><div><h5><a onClick="javascript:void(0);" class="cubeViewDetail">LATEST UPDATES</a></h5></div></div>',3:'<div class="content"  style="height:130px;width:130px"><div><h6 class="cubeHeading">'+t.heading+'</h6></div><div><h6 class="cubeSubheading">'+t.subheading+'</h6></div><div class="cubeData"><table><tbody><tr><td class="cubeSubHead" id="data_2_label_1">'+t.label_1+'</td><td class="cubeTxt" id="data_2_text_1">'+t.text_1+'</td></tr><tr><td class="cubeSubHead" id="data_2_label_2">'+t.label_2+'</td><td class="cubeTxt" id="data_2_text_2">'+t.text_2+'</td></tr><tr><td class="cubeSubHead" id="data_2_label_3">'+t.label_3+'</td><td class="cubeTxt" id="data_2_text_3">'+t.text_3+'</td></tr></tbody></table></div><div><h5><a onClick="javascript:void(0);" class="cubeViewDetail">LATEST UPDATES</a></h5></div></div>',4:'<div class="content"  style="height:130px;width:130px"><div><h6 class="cubeHeading">'+n.heading+'</h6></div><div><h6 class="cubeSubheading">'+n.subheading+'</h6></div><div class="cubeData"><table><tbody><tr><td class="cubeSubHead" id="data_3_label_1">'+n.label_1+'</td><td class="cubeTxt" id="data_3_text_1">'+n.text_1+'</td></tr><tr><td class="cubeSubHead" id="data_3_label_2">'+n.label_2+'</td><td class="cubeTxt" id="data_3_text_2">'+n.text_2+'</td></tr><tr><td class="cubeSubHead" id="data_3_label_3">'+n.label_3+'</td><td class="cubeTxt" id="data_3_text_3">'+n.text_3+'</td></tr></tbody></table></div><div><h5><a onClick="javascript:void(0);" class="cubeViewDetail">LATEST UPDATES</a></h5></div></div>'}},this.getIPLData=function(){var e={text_1:"",text_2:"",text_3:"",heading:"AUS vs <label class='blink'>IND</label>",subheading:"IPL 2020",label_1:"Run",label_2:"Over",label_3:"Target"},t={text_1:"",text_2:"",text_3:"",heading:"<label class='blink'>SA</label> vs WI",subheading:"IPL 2020",label_1:"Run",label_2:"Over",label_3:"Run Rate"},n={text_1:"",text_2:"",text_3:"",heading:"<label class='blink'>NZ</label> vs SL",subheading:"IPL 2020",label_1:"Run",label_2:"Over",label_3:"Run Rate"};return p.cubeDataType&&"ipl"==p.cubeDataType&&setTimeout(function(){i.updateIPLData();var e=i;i.setTimeOutWithLimit(function(){e.updateIPLData()},2e3,10)},5500),{1:"<img src='"+p.widgetIcon+"' style='height:100px;width:130px;margin-top:8px;'>",2:'<div class="content" style="height:130px;width:130px"><div><h6 class="cubeHeading">'+e.heading+'</h6></div><div><h6 class="cubeSubheading">'+e.subheading+'</h6></div><div class="cubeData"><table><tbody><tr><td class="cubeSubHead" id="match_1_label_1">'+e.label_1+'</td><td class="cubeTxt" id="match_1_text_1">'+e.text_1+'</td></tr><tr><td class="cubeSubHead" id="match_1_label_2">'+e.label_2+'</td><td class="cubeTxt" id="match_1_text_2">'+e.text_2+'</td></tr><tr><td class="cubeSubHead" id="match_1_label_3">'+e.label_3+'</td><td class="cubeTxt" id="match_1_text_3">'+e.text_3+'</td></tr></tbody></table></div><div><h5><a onClick="javascript:void(0);" class="cubeViewDetail">LATEST UPDATES</a></h5></div></div>',3:'<div class="content" style="height:130px;width:130px"><div><h6 class="cubeHeading">'+t.heading+'</h6></div><div><h6 class="cubeSubheading">'+t.subheading+'</h6></div><div class="cubeData"><table><tbody><tr><td class="cubeSubHead"  id="match_2_label_1">'+t.label_1+'</td><td class="cubeTxt" id="match_2_text_1">'+t.text_1+'</td></tr><tr><td class="cubeSubHead"  id="match_2_label_2">'+t.label_2+'</td><td class="cubeTxt" id="match_2_text_2">'+t.text_2+'</td></tr><tr><td class="cubeSubHead"  id="match_2_label_3">'+t.label_3+'</td><td class="cubeTxt" id="match_2_text_3">'+t.text_3+'</td></tr></tbody></table></div><div><h5><a onClick="javascript:void(0);" class="cubeViewDetail">LATEST UPDATES</a></h5></div></div>',4:'<div class="content" style="height:130px;width:130px"><div><h6 class="cubeHeading">'+n.heading+'</h6></div><div><h6 class="cubeSubheading">'+n.subheading+'</h6></div><div class="cubeData"><table><tbody><tr><td class="cubeSubHead"   id="match_3_label_1">'+n.label_1+'</td><td class="cubeTxt" id="match_3_text_1">'+n.text_1+'</td></tr><tr><td class="cubeSubHead" id="match_3_label_2">'+n.label_2+'</td><td class="cubeTxt" id="match_3_text_2">'+n.text_2+'</td></tr><tr><td class="cubeSubHead" id="match_3_label_3">'+n.label_3+'</td><td class="cubeTxt" id="match_3_text_3">'+n.text_3+'</td></tr></tbody></table></div><div><h5><a onClick="javascript:void(0);" class="cubeViewDetail">LATEST UPDATES</a></h5></div></div>'}},this.createHTMLCubeObj=function(){var e=p.cubeDataType&&"ipl"==p.cubeDataType?i.getIPLData():i.getCovidData();if(e){var t=i.htmlCubeStructure(e);if(t)return i.attachHTMLCubeCSS(),t}},this.bindHTMLCube=function(){acpjQuery("#mainCubeBox")&&acpjQuery("#mainCubeBox").flipbox({vertical:!1,autoplay:!0,autoplayReverse:!1,animationDuration:1e3,autoplayWaitDuration:5e3,autoplayPauseOnHover:!0})},this.videoAdPlayerBox=function(){return'<style>.arrow_box {position: absolute;background: #f4f4f4;padding:6px;border: 1px solid #c2c2c2;right: 22;bottom: 135;border-radius: 6px;width: 300px;height: 150px;}.arrow_box:after, .arrow_box:before {top: 100%;left: 90%;border: solid transparent;content: \' \';height: 0;width: 0;position: absolute;pointer-events: none;}.arrow_box:after {border-color: rgba(136, 183, 213, 0);border-top-color: #c2c2c2;border-width: 18px;margin-left: -31px;}.arrow_box:before {border-color: rgba(194, 225, 245, 0);border-top-color: #c2c2c2;border-width: 20px;margin-left: -33px;}</style><div id="videoAdPlayer" class="arrow_box"><div class="closeVideo">X</div><iframe src="https://content.vidgyor.com/live/midroll/html/zeenews.html" width="300px" height="150px"  style="border:none;" allowfullscreen allow="autoplay; fullscreen" mozAllowFullScreen webkitAllowFullScreen scrolling="no"></iframe></div>'},this.getBranding=function(){var e=p.brandingText&&""!=p.brandingText&&p.brandingLink&&""!=p.brandingLink?'<a href="'+p.brandingLink+'" target="_blank" rel="author"  id="poweredByAmplify">'+p.brandingText+"</a>":'<a href="https://www.amplify.ai/?utm_source=acpPlugin&utm_medium=web&utm_campaign=clickonbrandname" target="_blank" rel="author"  id="poweredByAmplify">powered by Amplify.ai</a>';return e=p.brandingNonClickable?'<p id="poweredByAmplify">'+p.brandingText+"</p>":e},this.createAmplifyWidget=function(){if(window.logger.push({createAmplifyWidget:!0}),c=new o.default({webChatWidget:p}),a.default.init({webChatWidget:p}),!document.getElementById("amplifyWidget")){var e=document.createElement("div");e.id="amplifyWidget",document.getElementsByTagName("body")[0]&&document.getElementsByTagName("body")[0].appendChild(e)}var t;t=p.hideTagline?"":p.widgetTagline;var n="",s="",l="";p.socialLinks&&p.socialLinks.status&&!a.default.isEmpty(p.socialLinks)?n=i.generateSocialHTML():p.fbLikes&&p.fbLikes.status&&!a.default.isEmpty(p.fbLikes)&&(n=i.loadFBLike()),(p.fullScreenView&&p.fullScreenView.video.status&&!a.default.isEmpty(p.fullScreenView.video)||p.openLiveTvAfterBanner)&&(s=i.setVideoPlayer());var d="";"htmlcube"==p.animatedIcon?l=i.createHTMLCubeObj():"cube"==p.animatedIcon?(d="amplifyTriggerText_Cube",l=i.setAnimatedIcon()):"flip"==p.animatedIcon?l=p.iconDisplay:p.widgetIcon&&(d="amplifyTriggerText_Static",l='<img src="'+p.widgetIcon+'" alt="'+p.widgetAlt+'" id="amplifyTriggerIcon" style="border:none;">');var u="";u=p.headerHTML?p.headerHTML:'<div id="amplifyChatHeaderDiv"><div id="amplifyChatHeaderIconDiv"><a href="'+p.siteUrl+'" target="_blank"><img src="'+p.smallLogo+'" style="height:'+p.smallLogoHeight+";width: "+p.smallLogoWidth+';"></a></div><div id="amplifyChatHeaderTitleDiv"><div id="downArrow">'+(""!=s?'<img src="'+p.pluginIMGPath+'/img/down.svg" alt="Open" style="width:30px;height: 30px;" class="openFullScreen" id="fullScreen">':"")+'</div></div><div id="amplifyChatHeaderButtonsDiv"><div id="amplifyChatHeaderMinimize"><img src="'+p.pluginIMGPath+'/img/minimizeIcon.svg" alt="Minimize"></div><div id="amplifyChatHeaderClose"><a href="javascript:void(0);" style="text-decoration:none;"><img src="'+p.pluginIMGPath+'/img/closeIcon.svg" alt="Close" id="amplifyChatHeaderCloseIcon"></a></div></div>';var f=i.getBranding(),h='<div class="startPlugin"><div class="sectionDiv"><div>'+(p.salesforceAvailabilityChecker?'<div id="sfacElement" onclick="'+(p.salesforceAvailabilityCheckerConfig.clickable?"window.showACP();":"")+"this.style.display='none'\" style=\""+(p.salesforceAvailabilityCheckerConfig.clickable?"cursor:pointer;":"")+'display:none"><div id="sfacWrapper"><div id="sfacStatusIcon"></div><img id="sfacAgentAvatar" src="'+p.salesforceAvailabilityCheckerConfig.agentAvatar+'"><p id="sfacStatusText">Chat Support</p></div></div>':"")+'<div id="amplifyDraggableDiv" style="display:none;"><div id="amplifyTriggerDiv"><div id="amplifyDragHandle"><a id="amplifyCloseButton" href="javascript:void(0);" style="text-decoration:none;"><img src="'+p.pluginIMGPath+'/img/closeme-v2.png" alt="Close"></a></div><div class="widgetIcon" id = "amplifyWidgetIcon"><div class="pulse1"></div><div class="pulse2"></div>'+l+(""!=t?'<p id="amplifyTriggerText" class="'+d+'">'+t+"</p>":"")+"</div>"+(p.bottomStickyDivId?'<div id="'+p.bottomStickyDivId+'"></div>':'<div id="banner32050"></div>')+"</div></div></div>"+(p.salesforceAvailabilityChecker&&p.salesforceAvailabilityCheckerConfig&&p.salesforceAvailabilityCheckerConfig.blockClickWhenAgentUnavailable&&window.amplifyUrlParams&&window.amplifyUrlParams.blockClickWhenAgentUnavailable?'<div id="sfClickBlocker"></div>':"")+'<div id="amplifyChatBoxDiv"><div id="creativeCompose" class="creativeCompose">'+s+"</div>"+u+'</div><div id="amplifyChatCoverDiv">'+(p.customChatCover?p.customChatCoverHTML:"")+'<div id="amplifyChatBulletinDiv"></div><div id="amplifyChatBoxButtonDiv"><input type="text" readonly id="amplifyChatBoxButton" class="typewrite" autocomplete="off" data-period="2000" placeholder="" value="">'+(n||"")+(p.noAmplifyBranding?"":f)+'</div></div><div id="amplifyChatViewDiv"></div></div></div></div><div id="1x1"></div>';if(document.getElementById("amplifyWidget")){var g=document.getElementById("amplifyWidget");document.getElementById("amplifyWidget").innerHTML=h,document.getElementById("amplifyWidget").className="highZindex";var m=document.createElement("div");m.id="amplifyWidgetOverlay",m.setAttribute("class","translucent"),document.getElementById("amplifyWidget").insertBefore(m,g.childNodes[0]),g.insertAdjacentElement("beforebegin",m),p.showVideoPlayerIcon&&p.videoPlayerWithIcon&&setTimeout(function(){i.createVideoAdPlayer()},1e3*p.showVideoPlayerIcon)}return setTimeout(function(){!(0,r.isMobile)()||"5d8c79e971d7034e8751eec7"!=p.pluginId&&"5ea00c4ee120182efc2e134b"!=p.pluginId&&"5d8c79fc71d7034e8751eec9"!=p.pluginId||i.checkCricketBall()},4e3),setTimeout(function(){i.bindClickEvents(),i.handleAnimation(),i.bindMouseOverScroll(),i.addAmplifyWidgetScript(),i.bindHTMLCube()},0)},this.addMsgAnalyzer=function(){p.msgAnalyzer&&"function"==typeof p.analyzeMsg&&document.getElementById("chatList")&&document.getElementById("chatList").addEventListener("DOMNodeInserted",function(e){p.analyzeMsg(e)},!1)},this.addCustomMonthValidation=function(){p.customMonthValidation&&(acpjQuery("#amplifyWidgetIcon").html(""),acpjQuery("#textInput").attr({type:"text",oninput:"this.value = this.value.replace(/[^0-9]/g, '').replace(/^0+/, '');",maxlength:"3",placeholder:"Enter month in number... "}))},this.initiateWithMetaData=function(){if(p.initiateWithMetaData&&"function"==typeof p.metaInit){var e=JSON.parse((0,s.readCookie)("userObj"));p.metaInit(e)}},this.enableSalesforceAvailabilityChecker=function(){p.salesforceAvailabilityChecker&&"object"===n(p.salesforceAvailabilityCheckerConfig)&&p.salesforceAvailabilityCheckerConfig.botId&&a.default.checkSalesforceAgentAvailability()},this.enableTypingEvents=function(){p.typingEvents&&p.typingEventConfig&&"object"===n(p.typingEventConfig)&&acpjQuery("#textInput").on("input",function(e){window.acpTypingTimer&&(clearTimeout(window.acpTypingTimer),window.acpTypingTimer=null),window.acpUserIsTyping||(window.acpUserIsTyping=!0,p.typingEventConfig.typingOn&&"function"==typeof p.typingEventConfig.typingOn&&p.typingEventConfig.typingOn(e)),window.acpTypingTimer=setTimeout(function(){window.acpUserIsTyping=!1,p.typingEventConfig.typingOff&&"function"==typeof p.typingEventConfig.typingOff&&p.typingEventConfig.typingOff()},p.typingEventConfig.typingOffDelay?p.typingEventConfig.typingOffDelay:1e3)})},this.bindClickEvents=function(){var e="";(e=document.getElementById("closeVideo"))&&i.addEventListener(e,i.showFullScreen),(e=document.getElementById("youtube-player"))&&i.addEventListener(e,i.youtubeLoader),(e=document.getElementById("fullScreen"))&&i.addEventListener(e,i.showFullScreen),(e=document.getElementById("amplifyWidgetIcon"))&&i.addEventListener(e,i.amplifyWidgetIconClick),(e=document.getElementById("amplifyChatBoxButton"))&&i.addEventListener(e,i.amplifyChatBoxButtonClick),(e=document.getElementById("amplifyCloseButton"))&&i.addEventListener(e,i.amplifyCloseButtonClick),(e=document.getElementById("amplifyChatHeaderMinimize"))&&i.addEventListener(e,i.amplifyChatHeaderMinimizeClick),(e=document.getElementById("amplifyChatHeaderClose"))&&i.addEventListener(e,i.amplifyChatHeaderCloseClick),(e=document.getElementById("hcloseIcon2"))&&i.addEventListener(e,i.acpHide),(e=document.getElementById("amplifyWidgetIcon"))&&i.addEventListener(e,i.handleAmplifyChatIconClick),p.hideWithOverlayClick&&(e=document.getElementById("amplifyWidgetOverlay"))&&i.addEventListener(e,i.amplifyChatHeaderMinimizeClick),(e=document.getElementsByClassName("trackSocial"))&&i.bindSocialClick(e),acpjQuery(document).on("click",".quickTextButtonText",i.bindBannerCall),acpjQuery(document).on("click",".quickTextButtonText",function(){"5e40ea5cb232e921e3a44723"!=p.pluginId&&"5e8c604264d2b46468ffc561"!=p.pluginId||a.default.trackGAEvent("ACP",p.pluginId,"shine-clicked-"+acpjQuery(this).html(),"1")}),acpjQuery(document).on("click",".closeVideo",i.closeVideoAdPlayer),acpjQuery(document).on("click",".closeToolTip",i.closeToolTip),acpjQuery(document).on("click",".hcloseIconTop",i.hcloseIconTopClick),acpjQuery(document).on("click",".hcloseIconPosition",i.hcloseIconPositionClick),acpjQuery(document).on("click",".hcloseIconMiddle",i.hcloseIconMiddleClick),acpjQuery(document).on("click","#uploadFile",a.default.validateUpload),acpjQuery(document).on("click","#uploadFileButton",a.default.processFileUpload);var t=i;acpjQuery(document).on("mousedown","#textInputSendButton",function(e){this.replaceHTMLCounter=-1,p.customDesign&&p.replaceDOM&&t.setTimeOutWithLimit(function(){t.replaceFBWAIcons(),t.replaceHTMLDOM(1)},50,10)}),acpjQuery(document).on("keypress","#textInput",function(e){"13"==(e.keyCode?e.keyCode:e.which)&&(this.replaceHTMLCounter=-1,p.replaceDOM&&t.setTimeOutWithLimit(function(){t.replaceFBWAIcons(),t.replaceHTMLDOM(1)},50,10))})},this.replaceFBWAIcons=function(){acpjQuery.expr[":"].contains=function(e,t,i){return acpjQuery(e).text().toLowerCase().indexOf(i[3].toLowerCase())>=0},p.strReplaceFacebook&&acpjQuery(".quickTextButtonText:contains('"+p.strReplaceFacebook+"')").addClass("fbwaCustom").html('<img src="'+p.pluginIMGPath+'/img/facebook-blue.png">').addClass("GalleryFBIcon").hide(),p.strReplaceWhatsapp&&acpjQuery(".quickTextButtonText:contains('"+p.strReplaceWhatsapp+"')").addClass("fbwaCustom").html('<img src="'+p.pluginIMGPath+'/img/whatsapp-green.png">').addClass("GalleryWhatsappIcon").hide()},this.getPageInfo=function(){return window.location.pathname},this.acpHide=function(){a.default.trackGAEvent("ACP",p.pluginId,"shine-close-in-header","1"),a.default.closeAmplifyWidget()},this.hcloseIconPositionClick=function(){window.logger.push({hcloseIconPositionClick:!0}),acpjQuery("#position320x50").fadeOut(500)},this.hcloseIconTopClick=function(){window.logger.push({hcloseIconTopClick:!0}),!1,localStorage.setItem("fix320X50AdTopMiddle","hide"),acpjQuery(".fixed320x50Top").fadeOut(500)},this.hcloseIconMiddleClick=function(){window.logger.push({hcloseIconMiddleClick:!0}),!1,localStorage.setItem("fix320X50AdTopMiddle","hide"),acpjQuery(".fixed320x50Middle").fadeOut(500)},this.reCreate320x50ChatBanner=function(e){var t;p.dfp&&p.dfp["320_50"][0]&&!a.default.isEmpty(p.dfp["320_50"][0])&&(t={divId:e,width:p.dfp["320_50"][0].width,height:p.dfp["320_50"][0].height,dataAdClient:p.dfp["320_50"][0].dataAdClient,dataAdSlot:p.dfp["320_50"][0].dataAdSlot,adtype:"defineslot",jsLoad:!0,className:""},a.default.trackGAEvent("ACP",p.pluginId,"320x50-ChatBannerCall-Us","1"),t.adtype&&"definepass"==t.adtype?i.setDefinePassback(t):i.setDFPTag(t))},this.reCreate300x250ChatBanner=function(e){if(p.dfp&&p.dfp["300_250"][0]&&!a.default.isEmpty(p.dfp["300_250"][0])){var t={};t={divId:e,width:p.dfp["300_250"][0].width,height:p.dfp["300_250"][0].height,dataAdClient:p.dfp["300_250"][0].dataAdClient,dataAdSlot:p.dfp["300_250"][0].dataAdSlot,adtype:"defineslot",jsLoad:!1,className:""}}a.default.trackGAEvent("ACP",p.pluginId,"300x250-ChatBannerCall-Us","1"),t.adtype&&"definepass"==t.adtype?i.setDefinePassback(t):i.setDFPTag(t)},this.isInViewport=function(e){var t=e.offset().top,i=t+e.outerHeight(),n=acpjQuery(window).scrollTop(),o=n+acpjQuery(window).height();return i>n&&t<o},this.toolTipBox=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!!e&&'<style>.tooltip_box {z-index:10000000;position: absolute;background: #fff;color:#333;padding:6px;border: 1px solid #c2c2c2;right: 22;bottom: 75;border-radius: 6px;width: 300px;max-height: 70px;height: auto;} .tooltip_box:after, .tooltip_box:before {top: 100%;left: 20%;border: solid transparent;content: \' \';height: 0;width: 0;position: absolute;pointer-events: none;}.tooltip_box:after {border-color: rgba(245, 248, 250, 0);border-top-color: #fff;border-width: 18px;margin-left: -31px;}.tooltip_box:before {border-color: rgba(247, 250, 252, 0);border-top-color: #c2c2c2;border-width: 20px;margin-left: -33px;}</style><div id="toolTipBox" class="tooltip_box"><div class="closeToolTip">X</div> <div class="textToolTip">'+e+"</div></div>"},this.createToolTip=function(e){acpjQuery("#toolTipMainBox")&&acpjQuery("#toolTipMainBox").html("").remove(),document.getElementById("amplifyWidget");var t=document.createElement("div");t.setAttribute("class","toolTipMainBox"),t.setAttribute("id","toolTipMainBox"),t.innerHTML=i.toolTipBox(e),document.getElementById("amplifyWidget").appendChild(t)},this.closeToolTip=function(e){acpjQuery("#toolTipMainBox")&&acpjQuery("#toolTipMainBox").html("").remove()},this.createVideoAdPlayer=function(e){if(!window.isIconClicked){window.liveTVPlayed=!0;var t=document.getElementById("amplifyWidget"),n=document.createElement("div");n.setAttribute("class","videoPlayerBox"),n.innerHTML=i.videoAdPlayerBox(),document.getElementById("amplifyWidget").insertBefore(n,t.childNodes[0]),t.insertAdjacentElement("beforebegin",n)}},this.closeVideoAdPlayer=function(e){p.videoPlayerWithIcon&&(acpjQuery("#videoAdPlayer")&&acpjQuery("#videoAdPlayer").html(""),acpjQuery(".videoPlayerBox")&&acpjQuery(".videoPlayerBox").hide())},this.bindExitBannerCall=function(e){window.logger.push({bindExitBannerCall:!0}),(p.exitBannerCall||p.entryBannerCall)&&(f=!0,i.showFullScreenBannerAd(),a.default.trackGAEvent("ACP",p.pluginId,"300x250-ExitBannerCall","1"))},this.bindBannerCall=function(e){if(p.customDesign&&(f=!0,i.showFullScreenBannerAd()),p.customDesign&&p.replaceDOM){i.replaceHTMLCounter=-1;var t=i;setTimeout(function(){t.replaceFBWAIcons(),t.replaceHTMLDOM(1)},1e3)}a.default.trackGAEvent("ACP",p.pluginId,"QuickLinks","1")},this.bindSocialClick=function(e){Array.prototype.forEach.call(e,function(e){e.addEventListener("click",function(){a.default.trackGAEvent("ACP",p.pluginId,e.getAttribute("data"),"1")})})},this.getIconHTML=function(){var e=p.iconWithBranding.icon;return!!e&&(e[0]?'<a href="'+e[0].link+'" target=_blank><img src="'+e[0].img+'" class="'+e[0].className+'"></a>':"")+(e[1]?'<a href="'+e[1].link+'" target=_blank><img src="'+e[1].img+'" class="'+e[1].className+'"></a>':"")+(e[2]?'<a href="'+e[2].link+'" target=_blank><img src="'+e[2].img+'" class="'+e[2].className+'"></a>':"")},this.amplifyWidgetIconClick=function(){if(!a.default.isDragging){if(acpjQuery("#amplifyWidget").removeClass("highZindex"),p.simpleHideAndShowAnimation||p.popupShowAnimation||acpjQuery("#amplifyTriggerIcon").hide(),acpjQuery("#amplifyDragHandle").hide(),acpjQuery(".translucent").length>0&&((0,r.isMobile)()||p.enableOverlayOnDesktop)&&(acpjQuery(".translucent").show(),acpjQuery("body,html").css({"overflow-y":"hidden"})),i.closeVideoAdPlayer(),p.entryBannerCall&&v&&(i.bindExitBannerCall(),v=!1,p.openLiveTvAfterBanner&&setTimeout(function(){videoHTML=i.setVideoPlayer(),acpjQuery("#creativeCompose").html(videoHTML),i.youtubeLoader(),acpjQuery(".openFullScreen").trigger("click")},10050)),!p.displayLiveTVinChat||window.isIconClicked||window.liveTVPlayed||(setTimeout(function(){a.default.bindLiveTV(),p.displayLiveTVinChat=!1},2e3),acpjQuery("#imgLoader").hide()),window.isIconClicked=!0,a.default.trackGAEvent("ACP",p.pluginId,"IconClick","1"),p.directChatbotPage){if(i.amplifyChatBoxButtonClick(),!p.dfp||a.default.isEmpty(p.dfp["320_50"][1])&&a.default.isEmpty(p.dfp["300_250"][1])||a.default.firstMockChat&&0==h&&("320_50"==p.whichChatViewAd?i.create320x50ChatBanner():"300_250"==p.whichChatViewAd?i.create300x250ChatBanner():i.create320x50ChatBanner(),h=1),acpjQuery("#textInputSendButton")){var e=i.getBranding();if(acpjQuery("#textInputSendButton").after("<span class='brandingTxtBox'>"+e+"</span>"),p.iconWithBranding&&p.iconWithBranding.status){var t=i.getIconHTML();acpjQuery(".amplifyChat .otherIcons")&&acpjQuery(".amplifyChat .otherIcons").remove(),acpjQuery("#textInputSendButton").after("<span class='otherIcons'>"+t+"</span>")}}return acpjQuery(document).on("click","#poweredByAmplify",function(){a.default.trackGAEvent("ACP",p.pluginId,"amplifyClick","1")}),acpjQuery(".textInput")&&acpjQuery(".textInput").focusin(function(){acpjQuery(".brandingTxtBox").hide()}).focusout(function(){acpjQuery(".brandingTxtBox").show()}),document.getElementById("chatFrameWrapper")&&document.getElementById("chatFrameWrapper").getElementsByTagName("img")[0]&&(document.getElementById("chatFrameWrapper").getElementsByTagName("img")[0].style.display="none"),!1}a.default.toggleAmplifyWidget()}},this.replaceHTMLDOM=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20;e>0&&(i.replaceHTMLCounter=e),window.logger.push({replaceHTMLDOM:!0}),acpjQuery.expr[":"].contains=function(e,t,i){return acpjQuery(e).text().toUpperCase().indexOf(i[3].toUpperCase())>=0},i.replaceFBWAIcons();for(var n=acpjQuery(".amplifyChat.gallery.horizontal").last().children(".amplifyChat .galleryItem"),o=0;o<n.length;o++){var a,r,s,l,d=n.eq(o).children();if(a=d.find(".amplifyChat.quickTextButtonBasic.quickTextButtonRounded:nth-child(1)").attr("data-click-url"),r=d.find(".amplifyChat.quickTextButtonBasic.quickTextButtonText:nth-child(1)").html(),s=d.find(".GalleryFBIcon").parent().attr("data-click-url"),l=d.find(".GalleryWhatsappIcon").parent().attr("data-click-url"),void 0!==a&&void 0!==r){d.nextAll("div").remove();var c='<div class="galleryTitle2"><a href="'+a+'" target=_blank>'+r+'</a></div><div class="GalleryFBIcon2">'+(void 0===s||""==s||p.hideGalleryFBShareLink?p.hideGalleryFBShareLink?"":'<img src="'+p.pluginIMGPath+'/img/facebook-blue.png">':'<a href="'+s+'" target=_blank><img src="'+p.pluginIMGPath+'/img/facebook-blue.png"></a>')+'</div><div class="GalleryWhatsappIcon2">'+(void 0===l||""==l||p.hideGalleryWAShareLink?p.hideGalleryWAShareLink?"":'<img src="'+p.pluginIMGPath+'/img/whatsapp-green.png">':'<a href="'+l+'" target=_blank><img src="'+p.pluginIMGPath+'/img/whatsapp-green.png"></a>')+"</div>";d.next().after(c)}}if(!(i.replaceHTMLCounter>0&&i.replaceHTMLCounter<t))return!1;i.replaceHTMLCounter++;var u=i.replaceHTMLCounter;setTimeout(function(){i.replaceHTMLDOM(u)},600)},this.amplifyChatBoxButtonClick=function(){if(window.logger.push({amplifyChatBoxButtonClick:!0}),p.customDesign||a.default.trackGAEvent("ACP",p.pluginId,"ChatView","1"),a.default.resetAmplifyWidget(),a.default.startAmplifyEngine(),p.chatReset&&(a.default.firstMockChat=!0,document.getElementById("chatList").innerHTML="",i.create320x50ChatBanner(),a.default.printMockChat()),p.replaceDOM){i.replaceHTMLCounter=-1;var e=i;setTimeout(function(){e.replaceFBWAIcons(),e.replaceHTMLDOM(1)},3e3)}},this.amplifyCloseButtonClick=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.0208333333,t=0;p.closeWidgetDuration?(t=.9999999984*p.closeWidgetDuration,(0,s.createCookie)("chatSession",1,t),p.closeWidgetForever&&localStorage.setItem("closeForever",1)):(0,s.createCookie)("chatSession",1,e),a.default.trackGAEvent("ACP",p.pluginId,"CloseInIcon","1"),a.default.closeAmplifyWidget()},this.amplifyChatHeaderMinimizeClick=function(){a.default.trackGAEvent("ACP",p.pluginId,"Minimize","1"),a.default.minimizeAmplifyWidget()},this.amplifyChatHeaderCloseClick=function(){f=!1,window.logger.push({amplifyChatHeaderCloseClick:!0}),a.default.resetAmplifyWidget(),i.setVideoPlayer(),a.default.trackGAEvent("ACP",p.pluginId,"CloseInHeader","1"),p.exitBannerCall&&a.default.isNonMetroCity()?(i.bindExitBannerCall(),setTimeout(function(){a.default.minimizeAmplifyWidget()},5e3)):a.default.minimizeAmplifyWidget()},this.handleAmplifyChatIconClick=function(){},this.addEventListener=function(e,t){e&&e.removeEventListener("click",t),e&&e.addEventListener("click",t)},this.showFullScreen=function(){acpjQuery(".creativeCompose")&&acpjQuery(".creativeCompose").slideToggle(500),acpjQuery(".openFullScreen")&&acpjQuery(".openFullScreen").toggleClass("rotateImg")},this.addAmplifyWidgetScript=function(){if(window.insertTopNews){window.logger.push({insertTopNews:window.insertTopNews});var e=JSON.stringify(window.insertTopNews)}else e=JSON.stringify('{"data":{"type":"image","value":{"url":"'+p.bannerAd+'"}}}');return window.amplifyChatConfig={platformBotId:p.asyncMessaging&&"object"==n(p.asyncOptions)&&p.asyncOptions.platformBotId?p.asyncOptions.platformBotId:p.botId,platform:p.asyncMessaging?"amplify_chat":"internal",enableAsyncChat:p.asyncMessaging,connectSocketOnLoad:!(!p.asyncMessaging||"object"!=n(p.asyncOptions)||!p.asyncOptions.connectSocketOnLoad),access_token:p.accessToken,headerHeight:55,cssOverrideURL:p.overrideCSS?p.overrideCSS:p.pluginCSSPath+"/amplifyChatTheme.min.css",disableHistory:!p.retainHistory,disableToolTip:!0,disableTextInput:!1,avatarImage:p.avatarImage?p.avatarImage:"",hideStartingText:!0,startWhenVisible:!0,hideStartingLoadingIcon:!0,startingText:"",onLoadText:"",hideOnLoadText:!1,onVisibleText:"",hideOnVisibleText:!0,metaData:{},enableGalleryArrows:(0,r.isMobile)()?p.enableGalleryArrowsMobile:p.enableGalleryArrows,leftGalleryArrowImageUrl:p.leftGalleryArrowImageUrl?p.leftGalleryArrowImageUrl:"",rightGalleryArrowImageUrl:p.rightGalleryArrowImageUrl?p.rightGalleryArrowImageUrl:"",galleryTransitionWidth:p.galleryTransitionWidth?p.galleryTransitionWidth:"",enableQuickTextArrows:(0,r.isMobile)()?p.enableQuickTextArrowsMobile:p.enableQuickTextArrows,leftQuickTextArrowImageUrl:p.leftQuickTextArrowImageUrl?p.leftQuickTextArrowImageUrl:"",rightQuickTextArrowImageUrl:p.rightQuickTextArrowImageUrl?p.rightQuickTextArrowImageUrl:"",quickTextTransitionWidth:p.quickTextTransitionWidth?p.quickTextTransitionWidth:"",introChatMsgs:'[{"type":"FROMBOT","message":'+e+"}]"},p.acpUserId&&window.amplifyUrlParams&&window.amplifyUrlParams.acpuid&&(window.amplifyChatConfig.platformUserId=window.amplifyUrlParams.acpuid),p.enableAmplifyParams&&window.amplifyUrlParams&&window.amplifyUrlParams.hasOwnProperty("acpH")&&(window.amplifyChatConfig.disableHistory=!window.amplifyUrlParams.acpH),c.initializeDraggable(),i.createWebChatScript()},this.create320x50FixedBannerMiddle=function(){if(p.dfp&&p.dfp["320_50_Fixed"]&&p.dfp["320_50_Fixed"][0]&&!a.default.isEmpty(p.dfp["320_50_Fixed"][0])){window.logger.push({create320x50FixedBannerMiddle:!0});var e,t=document.getElementById("amplifyWidget");if(!document.getElementById("fixed320x50Middle")){var n=document.createElement("div");n.setAttribute("id","fixed320x50Middle"),n.setAttribute("class","fixed320x50Middle"),n.setAttribute("style","display:none"),document.getElementById("amplifyWidget").insertBefore(n,t.childNodes[0]),t.insertAdjacentElement("beforebegin",n);var o=document.createElement("div");o.innerHTML='<img src="'+p.pluginIMGPath+'/img/closeIcon.svg" alt="Close" class = "hcloseIconMiddle" id="hcloseIconMiddle">',document.getElementById("fixed320x50Middle")&&document.getElementById("fixed320x50Middle").appendChild(o)}m=!1,e={divId:"fixed320x50Middle",width:p.dfp["320_50_Fixed"][0].width,height:p.dfp["320_50_Fixed"][0].height,dataAdClient:p.dfp["320_50_Fixed"][0].dataAdClient,dataAdSlot:p.dfp["320_50_Fixed"][0].dataAdSlot,adtype:p.dfp["320_50_Fixed"][0].adtype,jsLoad:!0,className:"centerAlign"},a.default.trackGAEvent("ACP",p.pluginId,"320x50-Fixed-Middle-BannerCall","1"),e.adtype&&"definepass"==e.adtype?i.setDefinePassback(e):i.setDFPTag(e)}},this.create320x50FixedBannerTop=function(){if(p.dfp&&p.dfp["320_50_Fixed"]&&p.dfp["320_50_Fixed"][0]&&!a.default.isEmpty(p.dfp["320_50_Fixed"][0])){window.logger.push({create320x50FixedTop:!0});var e,t=document.getElementById("amplifyWidget");if(!document.getElementById("fixed320x50Top")){var n=document.createElement("div");n.setAttribute("id","fixed320x50Top"),n.setAttribute("class","fixed320x50Top"),n.setAttribute("style","display:none"),document.getElementById("amplifyWidget").insertBefore(n,t.childNodes[0]),t.insertAdjacentElement("beforebegin",n);var o=document.createElement("div");o.innerHTML='<img src="'+p.pluginIMGPath+'/img/closeIcon.svg" alt="Close" class = "hcloseIconTop"  id="hcloseIconTop">',document.getElementById("fixed320x50Top")&&document.getElementById("fixed320x50Top").appendChild(o)}m=!1,e={divId:"fixed320x50Top",width:p.dfp["320_50_Fixed"][0].width,height:p.dfp["320_50_Fixed"][0].height,dataAdClient:p.dfp["320_50_Fixed"][0].dataAdClient,dataAdSlot:p.dfp["320_50_Fixed"][0].dataAdSlot,adtype:p.dfp["320_50_Fixed"][0].adtype,jsLoad:!0,className:"centerAlign"},a.default.trackGAEvent("ACP",p.pluginId,"320x50-Fixed-Top-BannerCall","1"),e.adtype&&"definepass"==e.adtype?i.setDefinePassback(e):i.setDFPTag(e)}},this.create320x50OnPageBanner=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!t)return!1;p.dfp&&p.dfp["320_50"][2]&&!a.default.isEmpty(p.dfp["320_50"][2])&&(e={divId:t,width:p.dfp["320_50"][2].width,height:p.dfp["320_50"][2].height,dataAdClient:p.dfp["320_50"][2].dataAdClient,dataAdSlot:p.dfp["320_50"][2].dataAdSlot,adtype:p.dfp["320_50"][2].adtype,jsLoad:!0,className:"centerAlign "+n},a.default.trackGAEvent("ACP",p.pluginId,"320x50-PageBannerCall","1"),e.adtype&&"definepass"==e.adtype?i.setDefinePassback(e):i.setDFPTag(e))},this.create320x50PositionBanner=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"position320x50",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"position320x50";if(p.dfp&&p.dfp["320_50_Fixed"]&&p.dfp["320_50_Fixed"][0]&&!a.default.isEmpty(p.dfp["320_50_Fixed"][0])&&m){if(p&&p.fix320X50AdByPosition){var n=document.getElementById("amplifyWidget");if(!document.getElementById(e)){var o=document.createElement("div");o.setAttribute("id",e),o.setAttribute("class",t),document.getElementById("amplifyWidget").insertBefore(o,n.childNodes[0]),n.insertAdjacentElement("beforebegin",o);var r=document.createElement("div");r.innerHTML='<img src="'+p.pluginIMGPath+'/img/closeIcon.svg" alt="Close" class = "hcloseIconPosition"  id="hcloseIconPosition">',document.getElementById(e)&&document.getElementById(e).appendChild(r)}}var s;s={divId:e,width:p.dfp["320_50_Fixed"][1].width,height:p.dfp["320_50_Fixed"][1].height,dataAdClient:p.dfp["320_50_Fixed"][1].dataAdClient,dataAdSlot:p.dfp["320_50_Fixed"][1].dataAdSlot,adtype:p.dfp["320_50_Fixed"][1].adtype,jsLoad:!0,className:"centerAlign"},a.default.trackGAEvent("ACP",p.pluginId,"320x50-BannerCall-1","1"),s.adtype&&"definepass"==s.adtype?i.setDefinePassback(s):i.setDFPTag(s)}},this.create320x50FixedBanner=function(){if(p.dfp&&p.dfp["320_50_Fixed"]&&p.dfp["320_50_Fixed"][0]&&!a.default.isEmpty(p.dfp["320_50_Fixed"][0])&&m){if(p&&p.fix320X50AdOnScroll){var e=document.getElementById("amplifyWidget");if(!document.getElementById("fixed320x50")){var t=document.createElement("div");t.setAttribute("id","fixed320x50"),t.setAttribute("class","fixed320x50"),document.getElementById("amplifyWidget").insertBefore(t,e.childNodes[0]),e.insertAdjacentElement("beforebegin",t)}}var n;m=!1,n={divId:"fixed320x50",width:p.dfp["320_50_Fixed"][0].width,height:p.dfp["320_50_Fixed"][0].height,dataAdClient:p.dfp["320_50_Fixed"][0].dataAdClient,dataAdSlot:p.dfp["320_50_Fixed"][0].dataAdSlot,adtype:p.dfp["320_50_Fixed"][0].adtype,jsLoad:!0,className:"centerAlign"},a.default.trackGAEvent("ACP",p.pluginId,"320x50-FixedBannerCall","1"),n.adtype&&"definepass"==n.adtype?i.setDefinePassback(n):i.setDFPTag(n)}},this.create320x50ChatBanner=function(){var e;p.dfp&&p.dfp["320_50"][1]&&!a.default.isEmpty(p.dfp["320_50"][1])&&(e={divId:"chatList",width:p.dfp["320_50"][1].width,height:p.dfp["320_50"][1].height,dataAdClient:p.dfp["320_50"][1].dataAdClient,dataAdSlot:p.dfp["320_50"][1].dataAdSlot,adtype:p.dfp["320_50"][1].adtype,jsLoad:!0,className:"centerAlign"},a.default.trackGAEvent("ACP",p.pluginId,"320x50-ChatBannerCall","1"),e.adtype&&"definepass"==e.adtype?i.setDefinePassback(e):i.setDFPTag(e))},this.create300x250ChatBanner=function(){if(p.dfp&&p.dfp["300_250"][1]&&!a.default.isEmpty(p.dfp["300_250"][1])){var e={};e={divId:"chatList",width:p.dfp["300_250"][1].width,height:p.dfp["300_250"][1].height,dataAdClient:p.dfp["300_250"][1].dataAdClient,dataAdSlot:p.dfp["300_250"][1].dataAdSlot,adtype:p.dfp["300_250"][1].adtype,jsLoad:!1,className:"centerAlign"}}setTimeout(function(){a.default.startedAmplifyEngine&&(acpjQuery("#amplifyChatBulletinDiv").show(),a.default.trackGAEvent("ACP",p.pluginId,"300x250-ChatBannerCall","1"),e.adtype&&"definepass"==e.adtype?i.setDefinePassback(e):i.setDFPTag(e))},5e3)},this.create320x50IconBanner=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(p.dfp&&p.dfp["320_50_Fixed"]&&p.dfp["320_50_Fixed"][e]&&!a.default.isEmpty(p.dfp["320_50_Fixed"][e])){var t,n=p.bottomStickyDivId?p.bottomStickyDivId:"banner32050";t={divId:n,width:p.dfp["320_50_Fixed"][e].width,height:p.dfp["320_50_Fixed"][e].height,dataAdClient:p.dfp["320_50_Fixed"][e].dataAdClient,dataAdSlot:p.dfp["320_50_Fixed"][e].dataAdSlot,adtype:p.dfp["320_50_Fixed"][e].adtype,jsLoad:!1,className:""},setTimeout(function(){var e=p.bottomStickyDivId?p.bottomStickyDivId:"banner32050";p.bottomStickyDivId?acpjQuery("#"+e)&&(acpjQuery("#"+e).html("").show(),acpjQuery("#"+e+" > div").css("display","block"),screen.width<768&&acpjQuery("#"+e).css({position:"relative",left:"-256px"})):acpjQuery("#banner32050")&&acpjQuery("#banner32050").html("").show(),a.default.trackGAEvent("ACP",p.pluginId,"320x50-FixedBottomSticky","1"),t.adtype&&"definepass"==t.adtype?i.setDefinePassback(t):i.setDFPTag(t)},200)}},this.openAutoPopup=function(){window.startAmplifyEngine||acpjQuery("#amplifyWidgetIcon").click()},this.getUserLocation=function(){var e=JSON.parse((0,s.readCookie)("userObj"));return{userCity:window.userData&&""!=JSON.parse(window.userData).city?JSON.parse(window.userData).city:e&&e.city?e.city:"",userCountry:window.userData&&""!=JSON.parse(window.userData).country_code?JSON.parse(window.userData).country_code:e&&e.country_code?e.country_code:""}},this.isBlockedCity=function(e){if(!e)return!0;var t=JSON.parse((0,s.readCookie)("userObj")),i=window.userData&&""!=JSON.parse(window.userData).city?JSON.parse(window.userData).city:t&&t.city?t.city:null,n=window.userData&&""!=JSON.parse(window.userData).country_code?JSON.parse(window.userData).country_code:t&&t.country_code?t.country_code:null;return i&&(i=(i=(i=i.toLowerCase()).trim()).replace(/[^a-zA-Z]/g,"").replace(/\s/g,"").replace(/\s/g,"")),e&&(e=(e=e.toLowerCase().replace(/[^a-zA-Z]/g,"").replace(/\s/g,"").replace(/\s/g,"")).replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()),n&&"IN"!=n&&(i&&"null"!=i||(i="noblockcity"),e=e.replace("null","")),!(i&&null!=i&&"null"!=i&&void 0!==i&&null!=n&&n&&void 0!==n&&e&&!(e.includes(i)&&i&&e))},this.isBlockedCountry=function(e){if(!e)return!0;var t=JSON.parse((0,s.readCookie)("userObj")),i=window.userData&&""!=JSON.parse(window.userData).country_code?JSON.parse(window.userData).country_code:t&&t.country_code?t.country_code:null;return i&&(i=i.toLowerCase()),e&&(e=(e=e.toLowerCase().replace(/[^a-zA-Z]/g,"").replace(/\s/g,"").replace(/\s/g,"")).replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()),!i||null==i||"null"==i||void 0===i||!e||!!(e.includes(i)&&i&&e)},this.createWebChatScript=function(){var e=document.createElement("script");"5f59c4945e210a4afbe8bda4"==p.pluginId||"5f7a1fe39aacff4237a6110a"==p.pluginId||"5f76311e065504423e76d040"==p.pluginId?e.src="https://botworx.s3.amazonaws.com/test/share/dsc/web_chat.js":e.src="https://chat.amplify.ai/web_chat.js",document.getElementById("amplifyChatViewDiv")&&document.getElementById("amplifyChatViewDiv").appendChild(e),e.onload=function(){var e={},t={},n={};(!(0,r.isMobile)()&&p.fix320X50AdBelowIcon||(0,r.isMobile)()&&p.fix320X50AdBelowIconMobile)&&i.create320x50IconBanner(),i.addMsgAnalyzer(),i.addCustomMonthValidation();var o=p.fix320X50AdBlockedByCity?p.fix320X50AdBlockedByCity:"",s=p.fix320X50AdBlockedByCountry?p.fix320X50AdBlockedByCountry:"";if(o=o.toLowerCase(),s=s.toLowerCase(),(0,r.isMobile)()&&((p.fix320X50AdMiddle||p.fix320X50AdTop)&&(window.fix320X50AdTopMiddle=localStorage.getItem("fix320X50AdTopMiddle"),window.fix320X50AdTopMiddle||(localStorage.setItem("fix320X50AdTopMiddle","show"),window.fix320X50AdTopMiddle=localStorage.getItem("fix320X50AdTopMiddle"))),p.fix320X50AdMiddle?window.fix320X50AdTopMiddle&&"show"==window.fix320X50AdTopMiddle&&(i.isBlockedCountry(s)||i.isBlockedCity(o)||i.create320x50FixedBannerMiddle()):p.fix320X50AdTop&&window.fix320X50AdTopMiddle&&"show"==window.fix320X50AdTopMiddle&&(i.isBlockedCountry(s)||i.isBlockedCity(o)||i.create320x50FixedBannerTop())),i.initiateWithMetaData(),i.enableSalesforceAvailabilityChecker(),i.enableTypingEvents(),window&&window.amplifyChatPluginConfig&&window.amplifyChatPluginConfig.enableAmplifyParams&&window.amplifyUrlParams&&window.amplifyUrlParams.acpO&&!window.salesforceClickBlockerIsActive&&setTimeout(function(){i.openAutoPopup()},p.autoPopupDelay),p.autoPopup&&p.autoPopupDelay>0&&!i.startedAmplifyEngine&&setTimeout(function(){i.openAutoPopup()},p.autoPopupDelay),p.dfp&&p.dfp["320_50"]&&p.dfp["320_50"][0]&&!a.default.isEmpty(p.dfp["320_50"][0])&&!(0,r.isMobile)()&&a.default.isNonMetroCity()&&(!(0,r.isMobile)()&&p.fix320X50AdBelowIcon||(0,r.isMobile)()&&p.fix320X50AdBelowIconMobile)){if(window.logger.push({create320x50FixedDesktop:!0}),t={},t={divId:l=p.bottomStickyDivId?p.bottomStickyDivId:"banner32050",width:p.dfp["320_50"][0].width,height:p.dfp["320_50"][0].height,dataAdClient:p.dfp["320_50"][0].dataAdClient,dataAdSlot:p.dfp["320_50"][0].dataAdSlot,adtype:p.dfp["320_50"][0].adtype,jsLoad:!1,className:""},p.bottomStickyDivId){var l=p.bottomStickyDivId?p.bottomStickyDivId:"banner32050";acpjQuery("#"+l)&&(acpjQuery("#"+l).html("").show(),acpjQuery("#"+l+" > div").css("display","block"),screen.width<768&&acpjQuery("#"+l).css({position:"relative",left:"-256px"}))}else acpjQuery("#banner32050")&&acpjQuery("#banner32050").html("").show();a.default.trackGAEvent("ACP",p.pluginId,"320x50-FixedBannerCall","1"),t.adtype&&"definepass"==t.adtype?i.setDefinePassback(t):i.setDFPTag(t)}return p.customDesign||p.dfp&&p.dfp["300_250"][0]&&!a.default.isEmpty(p.dfp["300_250"][0])&&(e={},e={divId:"amplifyChatBulletinDiv",width:p.dfp["300_250"][0].width,height:p.dfp["300_250"][0].height,dataAdClient:p.dfp["300_250"][0].dataAdClient,dataAdSlot:p.dfp["300_250"][0].dataAdSlot,adtype:p.dfp["300_250"][0].adtype,jsLoad:!1,className:""},setTimeout(function(){acpjQuery("#amplifyChatBulletinDiv").show(),a.default.trackGAEvent("ACP",p.pluginId,"300x250-BannerCall","1"),e.adtype&&"definepass"==e.adtype?i.setDefinePassback(e):i.setDFPTag(e)},1e3)),p.dfp&&p.dfp["1_1"]&&p.dfp["1_1"][0]&&!a.default.isEmpty(p.dfp["1_1"][0])&&(n={},n={divId:"1x1",width:p.dfp["1_1"][0].width,height:p.dfp["1_1"][0].height,dataAdClient:p.dfp["1_1"][0].dataAdClient,dataAdSlot:p.dfp["1_1"][0].dataAdSlot,adtype:p.dfp["1_1"][0].adtype,jsLoad:!1,className:""},setTimeout(function(){i.setDFPTag(n)},500)),!0}},this.setDefineSlot=function(e){if(window.stopAds)return console.log("No Ad"),!1;var t="5e01cf4c7fcd1c0e656fb19a"==p.pluginId||"5e01cf4c7fcd0000006fb19a"==p.pluginId?"Ad":i.getTime(),n=document.createElement("div");t=e.divId+t,n.id=t,n.className=e.className,document.getElementById(e.divId)?(document.getElementById(e.divId).innerHTML="",acpjQuery("#"+t)&&acpjQuery("#"+t).remove(),document.getElementById(e.divId).appendChild(n)):console.log("The div with id=banner32050 is not found"),n="",(n=document.createElement("script")).async=!0,n.type="text/javascript";var o="https:"==document.location.protocol;if(n.src=(o?"https:":"http:")+"//www.googletagservices.com/tag/js/gpt.js",document.getElementById(t)&&document.getElementById(t).appendChild(n),"5e01cf4c7fcd1c0e656fb19a"==p.pluginId||"5e01cf4c7fcd0000006fb19a"==p.pluginId){if(!(0,r.isMobile)()){if(!a.default.adRendered)return a.default.adRendered=t,!1;console.log("Good Call")}n="",n=document.createElement("script"),e&&e.dataAdClient&&-1!=e.dataAdClient.indexOf("sticky")?n.innerHTML="  var adSlot = ''; window.googletag = window.googletag || {cmd: []}; googletag.cmd.push(function() { var adSlot = googletag.defineSlot('/"+e.dataAdSlot+"/"+e.dataAdClient+"', ["+e.width+", "+e.height+"], '"+t+"').setCollapseEmptyDiv(true, true).addService(googletag.pubads()); googletag.pubads().disableInitialLoad(); googletag.enableServices(); googletag.cmd.push(function() {  googletag.display('"+t+"'); }); googletag.cmd.push(function() {  googletag.pubads().refresh([adSlot]);}); });":n.innerHTML="  var adSlot_1 = ''; window.googletag = window.googletag || {cmd: []}; googletag.cmd.push(function() { var adSlot_1 = googletag.defineSlot('/"+e.dataAdSlot+"/"+e.dataAdClient+"', ["+e.width+", "+e.height+"], '"+t+"').setCollapseEmptyDiv(true, true).addService(googletag.pubads()); googletag.pubads().disableInitialLoad();googletag.enableServices(); googletag.cmd.push(function() {  googletag.pubads().refresh([adSlot_1]);}); googletag.cmd.push(function() {  googletag.display('"+t+"');  }); });"}else n="",(n=document.createElement("script")).innerHTML="  var adSlot = ''; window.googletag = window.googletag || {cmd: []}; googletag.cmd.push(function() { var adSlot = googletag.defineSlot('/"+e.dataAdSlot+"/"+e.dataAdClient+"', ["+e.width+", "+e.height+"], '"+t+"').setCollapseEmptyDiv(true, true).addService(googletag.pubads());googletag.enableServices(); googletag.cmd.push(function() {  googletag.pubads().refresh([adSlot]);}); googletag.cmd.push(function() {  googletag.display('"+t+"');});  });";console.log("KT Ad Code Called - "+e.divId+" - "+t),document.getElementById(t)&&document.getElementById(t).appendChild(n)},this.setDefinePassback=function(e){if(window.stopAds)return!1;var t="5e01cf4c7fcd1c0e656fb19a"==p.pluginId||"5e01cf4c7fcd0000006fb19a"==p.pluginId?"Ad":i.getTime(),n=document.createElement("div");t=e.divId+t,n.id=t,n.className=e.className,document.getElementById(e.divId)&&document.getElementById(e.divId).appendChild(n),(n=document.createElement("script")).type="text/javascript";var o="https:"==document.location.protocol;n.src=(o?"https:":"http:")+"//www.googletagservices.com/tag/js/gpt.js",n.innerHTML="googletag.pubads().definePassback('/"+e.dataAdSlot+"/"+e.dataAdClient+"', ["+e.width+", "+e.height+"]).display();",document.getElementById(t)&&(document.getElementById(t).appendChild(n),acpjQuery("#"+t).show())},this.declareTags=function(){var e="";(e=document.createElement("script")).async=!0,e.type="text/javascript";var t="https:"==document.location.protocol;e.src=(t?"https:":"http:")+"//securepubads.g.doubleclick.net/tag/js/gpt.js";var i="";i=document.createElement("script"),tagScript="window.googletag = window.googletag || {cmd: []}; googletag.cmd.push(function() {";for(var n=0;n<6;n++)tagScript+=p.dfp["1_1"]&&p.dfp["1_1"][n]?"googletag.defineSlot('/"+p.dfp["1_1"][n].dataAdSlot+"/"+p.dfp["1_1"][n].dataAdClient+"', ["+p.dfp["1_1"][n].width+", "+p.dfp["1_1"][n].height+"], 'div-gpt-ad-"+p.dfp["1_1"][n].dataAdClient+"').addService(googletag.pubads()).setCollapseEmptyDiv(true);":"";for(n=0;n<6;n++)tagScript+=p.dfp["300_250"]&&p.dfp["300_250"][n]?"googletag.defineSlot('/"+p.dfp["300_250"][n].dataAdSlot+"/"+p.dfp["300_250"][n].dataAdClient+"', ["+p.dfp["300_250"][n].width+", "+p.dfp["300_250"][n].height+"], 'div-gpt-ad-"+p.dfp["300_250"][n].dataAdClient+"').addService(googletag.pubads()).setCollapseEmptyDiv(true);":"";for(n=0;n<6;n++)tagScript+=p.dfp["320_50"]&&p.dfp["320_50"][n]?"googletag.defineSlot('/"+p.dfp["320_50"][n].dataAdSlot+"/"+p.dfp["320_50"][n].dataAdClient+"', ["+p.dfp["320_50"][n].width+", "+p.dfp["320_50"][n].height+"], 'div-gpt-ad-"+p.dfp["320_50"][n].dataAdClient+"').addService(googletag.pubads()).setCollapseEmptyDiv(true);":"";for(n=0;n<20;n++)tagScript+=p.dfp["320_50_Fixed"]&&p.dfp["320_50_Fixed"][n]?"googletag.defineSlot('/"+p.dfp["320_50_Fixed"][n].dataAdSlot+"/"+p.dfp["320_50_Fixed"][n].dataAdClient+"', ["+p.dfp["320_50_Fixed"][n].width+", "+p.dfp["320_50_Fixed"][n].height+"], 'div-gpt-ad-"+p.dfp["320_50_Fixed"][n].dataAdClient+"').addService(googletag.pubads()).setCollapseEmptyDiv(true);":"";tagScript+="googletag.enableServices();});",i.innerHTML=tagScript,document.getElementsByTagName("head")&&(document.getElementsByTagName("head")[0].appendChild(e),document.getElementsByTagName("head")[0].appendChild(i))},this.gptTag=function(e){w||(w=!0,i.declareTags());var t=document.createElement("div"),n="div-gpt-ad-"+e.dataAdClient;t.id=n,t.className=e.className,document.getElementById(e.divId)&&document.getElementById(e.divId).appendChild(t),t="",(t=document.createElement("script")).innerHTML="googletag.cmd.push(function() { googletag.display('"+n+"'); });",document.getElementById(n)&&document.getElementById(n).appendChild(t)},this.setHeadTagABM=function(e){if(!w){w=!0;var t="//rtbcdn.andbeyond.media/prod-global-"+e+".js";i.setHeadTag(t)}},this.replace300x250Ad=function(){a.default.trackGAEvent("ACP",p.pluginId,"replace300x250Ad","1");var e=acpjQuery("div[id*=google_ads_iframe]"),t=i;b||e.filter(function(e,t){return(300==acpjQuery(t).width()&&250==acpjQuery(t).height()||t.id.includes("300x250"))&&!t.id.includes("google_ads_300x250_")}).each(function(e,i){var n=acpjQuery(i),o="google_ads_300x250_"+e;0==e&&(n.parent().html('<div id="'+o+'" style="width:300px;height:250px;"></div>'),n.parent().html('<div id="'+o+'" ></div>'),t.reCreate300x250ChatBanner(o),b=!0)})},this.replace320x50Ad=function(){a.default.trackGAEvent("ACP",p.pluginId,"replace320x50Ad","1");var e=acpjQuery("div[id*=google_ads_iframe]"),t=i;x||e.filter(function(e,t){return(320==acpjQuery(t).width()&&50==acpjQuery(t).height()||t.id.includes("320x50"))&&!t.id.includes("google_ads_320x50_")}).each(function(e,i){var n=acpjQuery(i),o="google_ads_320x50_"+e;0==e&&(n.parent().html('<div id="'+o+'" style="width:320px;height:50px;"></div>'),t.reCreate320x50ChatBanner(o),x=!0)})},this.validateTime=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Array(),t=(new Date).getHours(),i=!1;return e.includes(t)&&(i=!0),i},this.generateAdsOnPageLoad=function(){var e=JSON.parse((0,s.readCookie)("userObj")),t=(window.userData.country_code&&""!=window.userData.country_code?window.userData.country_code:e&&""!=e.country_code&&e.country_code,window.userData&&window.userData.city&&""!=window.userData.city?window.userData.city:e&&e.city&&e.city,p.customTagBlockedCity?p.customTagBlockedCity:""),n=p.customTagBlockedCountry?p.customTagBlockedCountry:"";if("5e01cf4c7fcd1c0e656fb19a"==p.pluginId||"5e01cf4c7fcd0000006fb19a"==p.pluginId){var o="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js";i.setHeadTag(o,"",[{key:"none",val:"none"},{key:"data-ad-client",val:"ca-pub-1494318219894110"}]),i.isBlockedCountry(n)||i.isBlockedCity(t)||(o="//tag-based.s3.ap-south-1.amazonaws.com/khaleej-times/D_S.js",i.setHeadTag(o))}"5d8c79fc71d700008751eec9"!=p.pluginId&&"5d8c79fc71d7034e8751eec9"!=p.pluginId||(n="IN",i.isBlockedCountry(n)||i.isBlockedCity(t)||!(0,r.isMobile)())||(o="//tag-based.s3.ap-south-1.amazonaws.com/indian-express/D_S.js",i.setHeadTag(o)),"5ea00c4ee120182efc2e134b"!=p.pluginId&&"9e971d7034e8751efc2e134b"!=p.pluginId||(n="IN",i.isBlockedCountry(n)||i.isBlockedCity(t)||!(0,r.isMobile)())||(o="//tag-based.s3.ap-south-1.amazonaws.com/loksatta/D_S.js",i.setHeadTag(o)),"6090ee64bda49d2f06290673"!=p.pluginId&&"6090ee6400000d2f06290673"!=p.pluginId||i.isBlockedCountry(n)||i.isBlockedCity(t)||!(0,r.isMobile)()||(o="//tag-based.s3.ap-south-1.amazonaws.com/Latestly/D_S.js",i.setHeadTag(o)),"5fb37ca95da5eb424c10e9bd"!=p.pluginId||i.isBlockedCountry(n)||i.isBlockedCity(t)||!(0,r.isMobile)()||(o="//tag-based.s3.ap-south-1.amazonaws.com/Spotboye/D_S.js",i.setHeadTag(o)),"5d8c79e971d7034e8751eec7"!=p.pluginId&&"9e971d7034e8751eec700000"!=p.pluginId||i.isBlockedCountry(n)||i.isBlockedCity(t)||!(0,r.isMobile)()||(o="//tag-based.s3.ap-south-1.amazonaws.com/Jansatta/Jansatta_D_S.js",i.setHeadTag(o))},this.setHeadTag=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e)return!1;t||function(){var t=document.createElement("script");t.type="text/javascript",t.async=!0,!a.default.isEmpty(i)&&i[1]&&i[1].key&&i[1].val&&t.setAttribute(i[1].key,i[1].val);var n="https:"==document.location.protocol;t.src=(n?"https:":"http:")+e;var o=document.getElementsByTagName("script")[0];o.parentNode.insertBefore(t,o)}()},this.setDFPTag=function(e){return e.adtype&&"definepass"==e.adtype?(i.setDefinePassback(e),!1):e.adtype&&"defineslotheader"==e.adtype?(i.gptTag(e),!1):void i.setDefineSlot(e)},this.loadWidgetExternalContent=function(e){var t=document.createElement("script");t.src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js",document.getElementById(e.divId).appendChild(t);var i=document.createElement("ins");i.className="adsbygoogle",i.setAttribute("async","async"),i.style="display:inline-block;width:"+e.width+";height:"+e.height,i.setAttribute("data-ad-client",e.dataAdClient),i.setAttribute("data-ad-slot",e.dataAdSlot),document.getElementById(e.divId).appendChild(i);var n=document.createElement("script");return n.innerHTML="(adsbygoogle=window.adsbygoogle||[]).push({});",document.getElementById(e.divId).appendChild(n),!0},this.positionRightBottom=function(){var e=!0;e?(e=!1,p.widgetAnimation?(acpjQuery("#amplifyWidget").css({position:"fixed",left:"1%",bottom:"8px","z-index":"100000",width:"100%",height:"auto",right:"unset"}),acpjQuery("#amplifyDraggableDiv").css({display:"none",left:"-200px","margin-left":"-3%",bottom:"8px",right:"unset",width:"auto",transform:"translateX(0%)","-webkit-transform":"translateX(0%)"}),acpjQuery("#amplifyTriggerIcon, .amplifyTriggerIcon").css({left:"initial",transform:"translateX(0%)"}),acpjQuery("#amplifyDraggableDiv").show().delay(200).animate({left:"0","-webkit-transition":"all 0.8s ease-in-out",position:"fixed",right:"27px",bottom:"8px",width:"100%",opacity:"1"},{duration:1e3,easing:"swing"})):(acpjQuery("#amplifyTriggerIcon, .amplifyTriggerIcon").css({left:"initial",transform:"translateX(0%)"}),a.default.onLoadWidget(p),acpjQuery("#amplifyDraggableDiv").show()),!(0,r.isMobile)()&&p.widgetDraggable?c.mobileEventTransform():(0,r.isMobile)()&&p.widgetDraggableMobile&&c.mobileEventTransform()):(!(0,r.isMobile)()&&p.widgetDraggable?c.mobileEventTransform():(0,r.isMobile)()&&p.widgetDraggableMobile&&c.mobileEventTransform(),acpjQuery("#amplifyDraggableDiv").show())},this.positionRightCenter=function(){p.widgetAnimation?(acpjQuery("#amplifyDragHandle").hide(),acpjQuery("#amplifyWidget").css({position:"fixed",left:"1%",bottom:"3px","z-index":"100000",width:"100%",right:"unset"}),acpjQuery("#amplifyDraggableDiv").css({display:"none",left:"-200px","margin-left":"-3%",top:"42%",right:"unset",width:"auto",transform:"translateX(0%)","-webkit-transform":"translateX(0%)"}),acpjQuery("#banner32050").css({"margin-left":"-205px"}),acpjQuery("#amplifyDraggableDiv").show().delay(200).animate({left:"0","-webkit-transition":"all 0.5s ease-in-out",position:"fixed",right:"7px",top:"42%",width:"100%","margin-left":"0px",opacity:"1"},{duration:1e3,easing:"swing"})):(acpjQuery("#amplifyDragHandle").hide(),acpjQuery("#amplifyWidget").css({position:"fixed",left:"1%",bottom:"3px","z-index":"100000",width:"100%",right:"unset"}),acpjQuery("#banner32050").css({"margin-left":"-205px"}),acpjQuery("#amplifyDraggableDiv").show().delay(200).css({left:"0","-webkit-transition":"all 0.5s ease-in-out",position:"fixed",right:"7px",top:"42%",width:"100%","margin-left":"0px",opacity:"1"}),a.default.onLoadWidget(p))},this.positionCenterBottom=function(){var e,t,i,n,o=!0;e=0,acpjQuery(window).scroll(function(){var t=acpjQuery(this).scrollTop();t<e?acpjQuery("#amplifyDraggableDiv").css({bottom:"2px","-webkit-transition":"all 0.8s ease-in-out"}):acpjQuery("#amplifyDraggableDiv").css({bottom:"-35px","-webkit-transition":"all 0.8s ease-in-out"}),e=t}),o?(o=!1,p.widgetAnimation?(acpjQuery("#amplifyWidget").css({position:"fixed",left:"1%",bottom:"8px","z-index":"100000",width:"100%",height:"auto",right:"unset"}),acpjQuery("#amplifyDraggableDiv").css({display:"none",left:"0px","margin-left":"-3%",bottom:"8px",right:"unset",width:"auto",transform:"translateX(0%)","-webkit-transform":"translateX(0%)"}),acpjQuery("#banner32050").css({left:"120px",position:"relative"}),acpjQuery("#amplifyTriggerDiv").css({width:"80px",margin:"0px"}),acpjQuery(".widgetIcon").css({"max-width":"80px",float:"none"}),acpjQuery("#amplifyTriggerIcon, .amplifyTriggerIcon").css({left:"initial",transform:"translateX(0%)"}),acpjQuery("#amplifyDragHandle").hide(),acpjQuery("#amplifyDraggableDiv").show().delay(200).animate((n="initial",(i="right")in(t={right:"unset","-webkit-transition":"all 0.5s ease-in-out",position:"fixed",bottom:"2px",opacity:"1",width:"80px",height:"80px"})?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t),{duration:1e3,easing:"swing"})):(acpjQuery("#amplifyDraggableDiv").css({width:"80px",height:"80px",right:"initial",bottom:"2px"}),acpjQuery("#amplifyTriggerDiv").css({width:"80px",margin:"0px"}),acpjQuery(".widgetIcon").css({"max-width":"80px",float:"none"}),acpjQuery("#amplifyTriggerIcon, .amplifyTriggerIcon").css({left:"initial",transform:"translateX(0%)"}),acpjQuery("#amplifyDragHandle").hide(),acpjQuery("#banner32050").css({left:"120px",position:"relative"}),a.default.onLoadWidget(p)),!(0,r.isMobile)()&&p.widgetDraggable?c.mobileEventTransform():(0,r.isMobile)()&&p.widgetDraggableMobile&&c.mobileEventTransform()):!(0,r.isMobile)()&&p.widgetDraggable?c.mobileEventTransform():(0,r.isMobile)()&&p.widgetDraggableMobile&&c.mobileEventTransform()},this.handleAnimation=function(){window.acpjQuery&&acpjQuery(document).ready(function(e){(0,r.isMobile)()?p.widgetPosition&&"rightbottom"==p.widgetPosition?i.positionRightBottom():p.widgetPosition&&"rightcenter"==p.widgetPosition?i.positionRightCenter():p.widgetPosition&&"centerbottom"==p.widgetPosition&&i.positionCenterBottom():(acpjQuery("#amplifyDraggableDiv").show(),a.default.onLoadWidget(p))})},p=Object.assign({},l.configWidget,d)}},function(e,t,i){var n=i(10);"string"==typeof n&&(n=[[e.i,n,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};i(12)(n,o);n.locals&&(e.exports=n.locals)},function(e,t,i){(e.exports=i(11)(!1)).push([e.i,'.fixed320x50{padding:4px;top:92px;position:fixed;height:60px;width:330px;left:calc(50% - 180px);display:none}.closeVideo{position:absolute;top:-33px;right:0;font-size:12px;background:#c2c2c2;width:20px;height:18px;text-align:center;padding-top:3px;border-radius:50%;color:#000;cursor:pointer}.closeToolTip{position:absolute;top:2px;right:3px;font-size:10px;background:#fff;width:13px;height:14px;text-align:center;padding-top:0px;border-radius:50%;color:#000;cursor:pointer;border:1px solid #999}#toolTipMainBox{top:230;z-index:10000000;right:12px;width:95%;max-width:320px;position:relative}.textToolTip{margin:10px 4px 10px 4px;font-family:sans-serif, serif;font-size:14px}@keyframes dot-keyframes{0%{opacity:0.3;transform:scale(1, 1)}50%{opacity:1;transform:scale(1.2, 1.2)}100%{opacity:0.4;transform:scale(1, 1)}}.loading-dots{text-align:center;width:100%}.loading-dots--dot{animation:dot-keyframes 1.5s infinite ease-in-out;background-color:#000;margin-left:10px;border-radius:10px;display:inline-block;height:10px;width:10px}.loading-dots--dot:nth-child(2){animation-delay:0.5s}.loading-dots--dot:nth-child(3){animation-delay:1s}.amplifyChat .textInput{background:#fff;width:calc(100% - 16px);border-radius:7px;position:absolute;bottom:10px;left:8px;right:8px;border:1px solid #d6d6d6;font-size:14px;font-weight:300;letter-spacing:-0.2px;line-height:normal;padding-right:40px;padding-left:10px;cursor:pointer;text-align:left;color:#888;height:40px}.amplifyChat .textInputSendButton{border-radius:24px;border:0;width:30px;border-top-left-radius:0;border-bottom-left-radius:0;height:38px;position:absolute;right:16px;bottom:11px;background-color:#fff}.amplifyChat .textInputSendButton:disabled,.amplifyChat .textInputSendButton[disabled]{border:0;background-color:#fff !important;background-image:url("https://chat.amplify.ai/plugin/img/send_e1261c.png");background-position:center;background-repeat:no-repeat;background-size:22px}.amplifyChat .textInputSendButton:enabled,.amplifyChat .textInputSendButton[enabled]{border:0;background-color:#fff !important;background-image:url("https://chat.amplify.ai/plugin/img/send_e0e0e0.png");background-position:center;background-repeat:no-repeat;background-size:22px}#textInputSendButton:hover,#textInputSendButton[hover]{background-color:#f9f9f9}.amplifyChat .textInput:focus{border:1px solid #d6d6d6}.amplifyChat .mainDiv{margin-bottom:0;padding:0 !important;height:calc(100% - 64px);background-color:#f9f9f9;overflow:unset !important}.hdr{height:70px;background-color:#f9f9f9;border-bottom:1px solid #dadce0}p.amplifyChat{background-color:#fff;border:1px solid #dadada;border-radius:6px;padding:12px;font-size:14px}.desktopHide{display:none}@media screen and (max-width: 565px){.mobileHide{display:none}.creativeCompose{height:92.5% !important}}.socialLinks{position:absolute;margin:0px 10px 2px;bottom:4px}.socialLinks .sl{padding:4px 7px 4px 7px;border-radius:50%;text-decoration:none;margin:2px 4px;overflow:hidden;position:relative;display:inline-block}.socialLinks .sl:hover{opacity:0.5}.socialLinks .sl-facebook{background-image:url("https://chat.amplify.ai/plugin/img/sm.png");background-repeat:no-repeat;background-position:-27px -28px;height:15px;width:9px}.socialLinks .sl-pinterest{background-image:url("https://chat.amplify.ai/plugin/img/sm.png");background-repeat:no-repeat;background-position:-66px -27px;height:15px;width:9px}.socialLinks .sl-whatsapp{background-image:url("https://chat.amplify.ai/plugin/img/sm.png");background-repeat:no-repeat;background-position:-108px -27px;height:15px;width:9px}.socialLinks .sl-twitter{background-image:url("https://chat.amplify.ai/plugin/img/sm.png");background-repeat:no-repeat;background-position:-147px -27px;height:15px;width:9px}.socialLinks .sl-instagram{background-image:url("https://chat.amplify.ai/plugin/img/sm.png");background-repeat:no-repeat;background-position:-27px -61px;height:15px;width:9px}.socialLinks .sl-youtube{background-image:url("https://chat.amplify.ai/plugin/img/sm.png");background-repeat:no-repeat;background-position:-66px -61px;height:15px;width:9px}.socialLinks .sl-google,.socialLinks .sl-googleplus{background-image:url("https://chat.amplify.ai/plugin/img/sm.png");background-repeat:no-repeat;background-position:-108px -61px;height:15px;width:9px}.socialLinks .sl-linkedin{background-image:url("https://chat.amplify.ai/plugin/img/sm.png");background-repeat:no-repeat;background-position:-147px -61px;height:15px;width:9px}.creativeCompose{max-width:500px;top:50px;background:#333;height:87.5%;width:99.5%;z-index:100002;position:absolute;opacity:0.93;border-radius:0px;display:none;margin-left:1px}.openFullScreen{cursor:pointer;width:30px;height:30px;position:absolute;left:50%;margin-top:16px}.rotateImg{transform:rotate(180deg)}#player-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:#000;z-index:999}video{display:block;width:100%;height:100%}.closeIcon{z-index:1000000000;position:absolute;right:0;width:16px;height:16px;padding:3px 0px 0px 1px;margin:7px 12px;cursor:pointer}#downArrow{width:auto;height:50px;float:left}.typewrite>.wrap{border-right:0.08em solid #888888}.youtube-player{width:100%;display:block;position:relative;cursor:pointer;max-height:180px;height:100%;overflow:hidden;padding-bottom:56.25%;margin:0 auto}.centerAlign{text-align:center;padding:3px;background:#fff;border:1px solid #d2d2d2;border-radius:6px;width:fit-content;margin-left:4px;max-width:330px}.extdfp{margin-top:20%;text-align:center}#youtubeBg,.youtubeBg{height:113px;width:134px;left:42%;top:44%;position:absolute;background:url("https://chat.amplify.ai/plugin/img/sm.png") no-repeat;background-size:45%}.startPlugin{height:50px;width:100%}.liveTVPlayer{margin-top:15px;margin-bottom:15px;margin-left:15px}.GalleryWhatsappIcon{position:relative;display:block;left:52px;margin-top:5px}.GalleryFBIcon{position:relative;display:block;left:62px;margin-top:5px}.translucent{background-color:rgba(0,0,0,0.6);position:fixed;top:0;left:0;width:100%;height:100%;box-shadow:inset 0 0 0 1000px rgba(0,0,0,0.2);display:none}span.brandingTxtBox{position:absolute;z-index:100;right:0;margin-top:20px;margin-right:50px;font-size:10px;color:#48a1e5;font-family:sans-serif;width:100%}.quickBtn{background:#001d42;border-radius:6px;cursor:pointer;color:#fff;width:80px;margin:5px;padding:6px;text-align:center;font-size:14px;white-space:nowrap;width:max-content}.txtAdTitle{color:#fff;font-size:11px;margin:25px 18px;position:absolute;font-family:roboto, sans-serif}.widgetIcon{max-width:100px;float:right}#hindiLogo{height:35px;text-align:center}#closeme{position:absolute;right:6px;top:6px;cursor:pointer}#fulladSkip{cursor:pointer;font-size:12px;font-style:inherit;color:#fff;position:absolute;right:25px;top:15px}.bannerLoader{border-radius:50%;width:25px;height:25px}#amplifyChatBulletinDiv{width:300px;height:250px;margin-left:auto;margin-right:auto;position:relative;top:calc(50% - 165px);background-color:lightgrey}#amplifyChatCoverDiv{width:calc(100% - 1px);height:370px;position:absolute;background:whitesmoke;display:none;margin-left:0px}#amplifyChatBoxButtonDiv{width:inherit;height:80px}#amplifyChatBoxButton{background:#fff;width:calc(98% - 24px);border-radius:7px;position:absolute;bottom:10px;border:1px solid #d6d6d6;font-size:15px;font-weight:300;letter-spacing:-0.2px;line-height:normal;cursor:pointer;text-align:left;color:#888;height:40px;cursor:pointer;margin-left:9px;padding-left:10px;cursor:pointer}#amplifyChatBoxButton:focus{outline:transparent;background:#fbfbfb}#amplifyChatBoxButton:hover{background:#fbfbfb}#amplifyChatBoxButtonIcon{height:22px;position:absolute;right:11px;bottom:7px}#poweredByAmplify{position:absolute;right:11px;bottom:-10px;font-family:"Segoe UI", Tahoma, Geneva, Verdana, sans-serif;margin-top:0;margin-bottom:0;font-size:12px;color:#48a1e5;text-decoration:none}#poweredByAmplify:hover{cursor:pointer;color:#48a1e5}#amplifyChatHeaderDiv{height:50px;box-sizing:border-box;width:100%;border-bottom:1px solid #dadce0;background-color:whitesmoke}#amplifyChatHeaderIconDiv{width:140px;float:left;height:50px}#amplifyChatHeaderIconDiv img{margin:2px 2px;max-width:180px;max-height:80px;border-radius:10%}#amplifyChatHeaderIconDiv img:hover{cursor:pointer}#downArrow{margin-top:0px}#amplifyChatHeaderTitleDiv{text-align:center;width:30%;height:96%;float:left}#amplifyChatHeaderTitleText{font-family:"Segoe UI", Tahoma, Geneva, Verdana, sans-serif;font-weight:bold;font-size:x-large;margin-bottom:9px}@media screen and (min-width: 366px) and (max-width: 765px){#amplifyChatHeaderButtonsDiv{width:16% !important}}@media screen and (max-width: 365px){#amplifyChatHeaderButtonsDiv{width:22% !important}}@media screen and (max-width: 265px){#amplifyChatHeaderButtonsDiv{width:27% !important}#amplifyChatBoxButton{width:calc(100% - 49px)}#amplifyChatHeaderTitleDiv{width:10% !important}}#amplifyChatHeaderButtonsDiv{width:22%;height:96%;float:right}#amplifyChatHeaderMinimize2{width:33px;height:50px;float:left}#amplifyChatHeaderMinimize2 img{width:18px;height:18px;margin:15px 5px 10px 10px}#amplifyChatHeaderMinimize2 img:hover{cursor:pointer}#amplifyChatHeaderMinimize{width:33px;height:50px;float:left}#amplifyChatHeaderMinimize img{width:20px;height:20px;margin:15px 5px 10px 10px}#amplifyChatHeaderMinimize img:hover{cursor:pointer}#amplifyChatHeaderClose{width:33px;height:50px;float:right}#amplifyChatHeaderClose img{width:20px;height:20px;margin:15px 10px 10px 5px}#amplifyChatHeaderClose img:hover{cursor:pointer}#amplifyWidget{position:fixed;right:0;bottom:0;z-index:100000;max-width:340px;width:100%;height:fit-content}#amplifyDraggableDiv{width:fit-content;height:fit-content;position:absolute;right:15px;bottom:10px;-ms-touch-action:none;touch-action:none;display:block;z-index:100002}#amplifyTriggerIcon,.amplifyTriggerIcon{height:50px;width:50px;border-radius:6px;background-color:whitesmoke;object-fit:cover;cursor:pointer}#amplifyTriggerText{font-family:"Segoe UI", Tahoma, Geneva, Verdana, sans-serif;font-weight:600;cursor:pointer;color:#333;background:#f2f2f2;padding:4px 4px 0px 3px;border-radius:2px;font-size:12px;opacity:0.8;max-width:90px;height:18px;width:90px}.amplifyTriggerText_Cube{margin:2px 0px 2px -13px}.amplifyTriggerText_Static{margin:2px 0px 2px 3px}#amplifyTriggerDiv{height:fit-content;width:fit-content;text-align:center;margin-left:auto;margin-right:5px}#amplifyDragHandle{display:block;margin:0;border-radius:50%;height:16px;width:16px;background-color:transparent;position:absolute;right:3px;top:-40px}#amplifyDragHandle:hover{background-color:transparent}#amplifyDragHandle img{height:30px;width:30px;margin:3px}#amplifyChatBoxDiv{box-sizing:border-box;width:100%;border:1px solid #dadce0;display:none}#amplifyChatViewDiv{height:calc(100% - 52px);width:calc(100% - 2px);position:absolute;display:none;background-color:#f9f9f9;margin-left:0px}@media (min-width: 768px){#amplifyTriggerIcon,.amplifyTriggerIcon{height:50px;width:50px}#amplifyDragHandle{height:16px;width:16px;right:12px;top:-20px}#amplifyDragHandle img{height:20px;width:20px;margin:3px}#amplifyChatBoxDiv{position:absolute;right:20px;bottom:3px;height:435px;width:100%;box-sizing:unset;display:none}#amplifyChatCoverDiv{width:100%;height:385px}#amplifyChatViewDiv{height:385px;width:100%}}@media (max-width: 765px){#amplifyTriggerIcon,.amplifyTriggerIcon{left:50%;transform:translateX(-50%)}.bannerLoader{border-radius:50%;width:30px;height:30px}#amplifyDraggableDiv{display:none}#amplifyChatHeaderTitleText{margin-top:16px}#amplifyTriggerDiv{width:95px}#amplifyWidget{position:fixed;right:0;bottom:0;left:0;z-index:100000;max-width:450px;width:100%;height:506px}#amplifyChatCoverDiv{width:calc(100% - 1px);height:455px;bottom:0;position:relative;background:whitesmoke}#banner32050{float:right}}\n',""])},function(e,t,i){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var i=function(e,t){var i=e[1]||"",n=e[3];if(!n)return i;if(t&&"function"==typeof btoa){var o=(r=n,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),a=n.sources.map(function(e){return"/*# sourceURL="+n.sourceRoot+e+" */"});return[i].concat(a).concat([o]).join("\n")}var r;return[i].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+i+"}":i}).join("")},t.i=function(e,i){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},o=0;o<this.length;o++){var a=this[o][0];null!=a&&(n[a]=!0)}for(o=0;o<e.length;o++){var r=e[o];null!=r[0]&&n[r[0]]||(i&&!r[2]?r[2]=i:i&&(r[2]="("+r[2]+") and ("+i+")"),t.push(r))}},t}},function(e,t,i){var n,o,a={},r=(n=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=n.apply(this,arguments)),o}),s=function(e){var t={};return function(e,i){if("function"==typeof e)return e();if(void 0===t[e]){var n=function(e,t){return t?t.querySelector(e):document.querySelector(e)}.call(this,e,i);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}}(),l=null,d=0,c=[],p=i(13);function u(e,t){for(var i=0;i<e.length;i++){var n=e[i],o=a[n.id];if(o){o.refs++;for(var r=0;r<o.parts.length;r++)o.parts[r](n.parts[r]);for(;r<n.parts.length;r++)o.parts.push(v(n.parts[r],t))}else{var s=[];for(r=0;r<n.parts.length;r++)s.push(v(n.parts[r],t));a[n.id]={id:n.id,refs:1,parts:s}}}}function f(e,t){for(var i=[],n={},o=0;o<e.length;o++){var a=e[o],r=t.base?a[0]+t.base:a[0],s={css:a[1],media:a[2],sourceMap:a[3]};n[r]?n[r].parts.push(s):i.push(n[r]={id:r,parts:[s]})}return i}function h(e,t){var i=s(e.insertInto);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var n=c[c.length-1];if("top"===e.insertAt)n?n.nextSibling?i.insertBefore(t,n.nextSibling):i.appendChild(t):i.insertBefore(t,i.firstChild),c.push(t);else if("bottom"===e.insertAt)i.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=s(e.insertAt.before,i);i.insertBefore(t,o)}}function g(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=c.indexOf(e);t>=0&&c.splice(t,1)}function m(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var n=function(){0;return i.nc}();n&&(e.attrs.nonce=n)}return y(t,e.attrs),h(e,t),t}function y(e,t){Object.keys(t).forEach(function(i){e.setAttribute(i,t[i])})}function v(e,t){var i,n,o,a;if(t.transform&&e.css){if(!(a="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=a}if(t.singleton){var r=d++;i=l||(l=m(t)),n=x.bind(null,i,r,!1),o=x.bind(null,i,r,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(i=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",y(t,e.attrs),h(e,t),t}(t),n=function(e,t,i){var n=i.css,o=i.sourceMap,a=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||a)&&(n=p(n));o&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var r=new Blob([n],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(r),s&&URL.revokeObjectURL(s)}.bind(null,i,t),o=function(){g(i),i.href&&URL.revokeObjectURL(i.href)}):(i=m(t),n=function(e,t){var i=t.css,n=t.media;n&&e.setAttribute("media",n);if(e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}.bind(null,i),o=function(){g(i)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=r()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var i=f(e,t);return u(i,t),function(e){for(var n=[],o=0;o<i.length;o++){var r=i[o];(s=a[r.id]).refs--,n.push(s)}e&&u(f(e,t),t);for(o=0;o<n.length;o++){var s;if(0===(s=n[o]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete a[s.id]}}}};var w,b=(w=[],function(e,t){return w[e]=t,w.filter(Boolean).join("\n")});function x(e,t,i,n){var o=i?"":n.css;if(e.styleSheet)e.styleSheet.cssText=b(t,o);else{var a=document.createTextNode(o),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(a,r[t]):e.appendChild(a)}}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var i=t.protocol+"//"+t.host,n=i+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var o,a=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(a)?e:(o=0===a.indexOf("//")?a:0===a.indexOf("/")?i+a:n+a.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")})}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=i(0),a=(n=o)&&n.__esModule?n:{default:n},r=i(1);var s=!1;t.default=function e(){var t=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.touchHandler=function(e){var t=e.changedTouches[0],i=document.createEvent("MouseEvent");i.initMouseEvent({touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup"}[e.type],!0,!0,window,1,t.screenX,t.screenY,t.clientX,t.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(i)},this.clearHandler=function(){document.removeEventListener("touchstart",t.touchHandler.bind(t)),document.removeEventListener("touchmove",t.touchHandler.bind(t)),document.removeEventListener("touchend",t.touchHandler.bind(t)),document.removeEventListener("touchcancel",t.touchHandler.bind(t))},this.initHandler=function(){document.addEventListener("touchstart",t.touchHandler.bind(t),{passive:!0}),document.addEventListener("touchmove",t.touchHandler.bind(t),{passive:!0}),document.addEventListener("touchend",t.touchHandler.bind(t),{passive:!0}),document.addEventListener("touchcancel",t.touchHandler.bind(t),{passive:!0})},this.transformDesktopEventsToMobile=function(){!function(e){function t(e,t){if(!(e.originalEvent.touches.length>1)){e.preventDefault();var i=e.originalEvent.changedTouches[0],n=document.createEvent("MouseEvents");n.initMouseEvent(t,!0,!0,window,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(n)}}if(e.support.touch="ontouchend"in document,e.support.touch){var i,n=e.ui.mouse.prototype,o=n._mouseInit,a=n._mouseDestroy;n._touchStart=function(e){!i&&this._mouseCapture(e.originalEvent.changedTouches[0])&&(i=!0,this._touchMoved=!1,t(e,"mouseover"),t(e,"mousemove"),t(e,"mousedown"))},n._touchMove=function(e){i&&(this._touchMoved=!0,t(e,"mousemove"))},n._touchEnd=function(e){i&&(t(e,"mouseup"),t(e,"mouseout"),this._touchMoved||t(e,"click"),i=!1)},n._mouseInit=function(){var t=this;t.element.bind({touchstart:e.proxy(t,"_touchStart"),touchmove:e.proxy(t,"_touchMove"),touchend:e.proxy(t,"_touchEnd")}),o.call(t)},n._mouseDestroy=function(){var t=this;t.element.unbind({touchstart:e.proxy(t,"_touchStart"),touchmove:e.proxy(t,"_touchMove"),touchend:e.proxy(t,"_touchEnd")}),a.call(t)}}}(acpjQuery)},this.handleCustomMobileEvents=function(){window.acpjQuery&&(acpjQuery("#amplifyDraggableDiv").bind("touchmove",function(){s=!0,a.default.isDragging=!0,t.webChatWidget.widgetAnimation?(window.pageYOffset>150||document.documentElement.scrollTop>150)&&setTimeout(function(){a.default.minimizeAmplifyWidget()},5e3):a.default.minimizeAmplifyWidget()}).bind("touchstart",function(){0==s&&setTimeout(function(){a.default.toggleAmplifyWidget()},500)}).bind("touchend",function(){a.default.isDragging=!1,s=!1}),acpjQuery("#amplifyChatHeaderClose, #amplifyChatHeaderMinimize").bind("touchstart",function(){s=!1,a.default.isDragging=!1,t.webChatWidget.widgetAnimation?(window.pageYOffset>150||document.documentElement.scrollTop>150)&&setTimeout(function(){a.default.minimizeAmplifyWidget()},5e3):a.default.minimizeAmplifyWidget()}))},this.mobileEventTransform=function(){window.acpjQuery&&acpjQuery(document).ready(function(e){(0,r.isMobile)()&&(t.clearHandler(),t.transformDesktopEventsToMobile(),setTimeout(function(){t.initHandler()},4e3))})},this.initializeDraggable=function(){window.acpjQuery&&acpjQuery(document).ready(function(e){var i=!1;!(0,r.isMobile)()&&t.webChatWidget.widgetDraggable?i=!0:(0,r.isMobile)()&&t.webChatWidget.widgetDraggableMobile&&(i=!0),i&&(void 0!==acpjQuery.ui?acpjQuery("#amplifyDraggableDiv").draggable({revert:!1,drag:function(){s=!0,a.default.isDragging=s},stop:function(){setTimeout(function(){s=!1,a.default.isDragging=s},500)}}):console.log("jQueryUI not loaded")),acpjQuery("#amplifyDraggableDiv").bind("mouseup",function(){0==s&&a.default.toggleAmplifyWidget()})})},this.webChatWidget=i.webChatWidget}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUserCity=function(e){return new Promise(function(t,i){e?acpjQuery(function(){acpjQuery.ajax({url:"http://geoip-db.com/json/"}).done(function(e){var i;(i=JSON.parse(JSON.parse(JSON.stringify(e,"",2)))).city,window.logger.push({cityinfo:i}),t(i)})}):t({})})}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}(),o=i(17);function a(e){if(Array.isArray(e)){for(var t=0,i=Array(e.length);t<e.length;t++)i[t]=e[t];return i}return Array.from(e)}var r=[],s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),Object.assign(this,{list:t.emptyList&&[]||Array.prototype.concat.apply(o.localList,[r,t.list||[]]),exclude:t.exclude||[],placeHolder:t.placeHolder||"*",regex:t.regex||/[^a-zA-Z0-9|\$|\@]|\^/g,replaceRegex:t.replaceRegex||/\w/g})}return n(e,[{key:"isProfane",value:function(e){var t=this;return this.list.filter(function(i){var n=new RegExp("\\b"+i.replace(/(\W)/g,"\\$1")+"\\b","gi");return!t.exclude.includes(i.toLowerCase())&&n.test(e)}).length>0||!1}},{key:"replaceWord",value:function(e){return e.replace(this.regex,"").replace(this.replaceRegex,this.placeHolder)}},{key:"clean",value:function(e){var t=this;return e.split(/\b/).map(function(e){return t.isProfane(e)?t.replaceWord(e):e}).join("")}},{key:"addWords",value:function(){var e,t=this,i=Array.from(arguments);(e=this.list).push.apply(e,a(i)),i.map(function(e){return e.toLowerCase()}).forEach(function(e){t.exclude.includes(e)&&t.exclude.splice(t.exclude.indexOf(e),1)})}},{key:"removeWords",value:function(){var e;(e=this.exclude).push.apply(e,a(Array.from(arguments).map(function(e){return e.toLowerCase()})))}}]),e}();t.default=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.localList=["ahole","anus","ash0le","ash0les","asholes","ass","Ass Monkey","Assface","assh0le","assh0lez","asshole","assholes","assholz","asswipe","azzhole","bassterds","bastard","bastards","bastardz","basterds","basterdz","Biatch","bitch","bitches","Blow Job","boffing","butthole","buttwipe","c0ck","c0cks","c0k","Carpet Muncher","cawk","cawks","Clit","cnts","cntz","cock","cockhead","cock-head","cocks","CockSucker","cock-sucker","crap","cum","cunt","cunts","cuntz","dick","dild0","dild0s","dildo","dildos","dilld0","dilld0s","dominatricks","dominatrics","dominatrix","dyke","enema","f u c k","f u c k e r","fag","handjob","fag1t","faget","fagg1t","faggit","faggot","fagg0t","fagit","fags","fagz","faig","faigs","fart","flipping the bird","fuck","fucker","fuckin","fucking","fucks","Fudge Packer","fuk","Fukah","Fuken","fuker","Fukin","Fukk","Fukkah","Fukken","Fukker","Fukkin","g00k","God-damned","h00r","h0ar","h0re","hells","hoar","hoor","hoore","jackoff","jap","japs","jerk-off","jisim","jiss","jizm","jizz","knob","knobs","knobz","kunt","kunts","kuntz","Lezzian","Lipshits","Lipshitz","masochist","masokist","massterbait","masstrbait","masstrbate","masterbaiter","masterbate","masterbates","Motha Fucker","Motha Fuker","Motha Fukkah","Motha Fukker","Mother Fucker","Mother Fukah","Mother Fuker","Mother Fukkah","Mother Fukker","mother-fucker","Mutha Fucker","Mutha Fukah","Mutha Fuker","Mutha Fukkah","Mutha Fukker","n1gr","nastt","nigger;","nigur;","niiger;","niigr;","orafis","orgasim;","orgasm","orgasum","oriface","orifice","orifiss","packi","packie","packy","paki","pakie","paky","pecker","peeenus","peeenusss","peenus","peinus","pen1s","penas","penis","penis-breath","penus","penuus","Phuc","Phuck","Phuk","Phuker","Phukker","polac","polack","polak","Poonani","pr1c","pr1ck","pr1k","pusse","pussee","pussy","puuke","puuker","queer","queers","queerz","qweers","qweerz","qweir","recktum","rectum","retard","sadist","scank","schlong","screwing","semen","sex","sexy","Sh!t","sh1t","sh1ter","sh1ts","sh1tter","sh1tz","shit","shits","shitter","Shitty","Shity","shitz","Shyt","Shyte","Shytty","Shyty","skanck","skank","skankee","skankey","skanks","Skanky","slag","slut","lund","sluts","Slutty","slutz","son-of-a-bitch","tit","turd","va1jina","vag1na","vagiina","vagina","vaj1na","vajina","vullva","vulva","w0p","wh00r","wh0re","whore","xrated","xxx","b!+ch","bitch","blowjob","clit","arschloch","fuck","shit","ass","asshole","b!tch","b17ch","b1tch","bastard","bi+ch","boiolas","buceta","c0ck","cawk","chink","cipa","clits","cock","cum","cunt","dildo","dirsa","ejakulate","fatass","fcuk","fuk","fux0r","hoer","hore","jism","kawk","l3itch","l3i+ch","lesbian","masturbate","masterbat*","masterbat3","motherfucker","s.o.b.","mofo","nazi","nigga","nigger","nutsack","phuck","pimpis","pusse","pussy","scrotum","sh!t","shemale","shi+","sh!+","slut","smut","teets","tits","boobs","b00bs","teez","testical","testicle","titt","w00se","jackoff","wank","whoar","whore","*damn","*dyke","*fuck*","*shit*","@$$","amcik","andskota","arse*","assrammer","ayir","bi7ch","bitch*","bollock*","breasts","butt-pirate","cabron","cazzo","chraa","chuj","Cock*","cunt*","d4mn","daygo","dego","dick*","dike*","dupa","dziwka","ejackulate","Ekrem*","Ekto","enculer","faen","fag*","fanculo","fanny","feces","feg","Felcher","ficken","fitt*","Flikker","foreskin","Fotze","Fu(*","fuk*","futkretzn","gook","guiena","h0r","h4x0r","hell","helvete","hoer*","honkey","Huevon","hui","injun","jizz","kanker*","kike","klootzak","kraut","knulle","kuk","kuksuger","Kurac","kurwa","kusi*","kyrpa*","lesbo","mamhoon","masturbat*","merd*","mibun","monkleigh","mouliewop","muie","mulkku","muschi","nazis","nepesaurio","nigger*","orospu","paska*","perse","picka","pierdol*","pillu*","pimmel","piss*","pizda","poontsee","poop","porn","p0rn","pr0n","preteen","pula","pule","puta","puto","qahbeh","queef*","rautenberg","schaffer","scheiss*","schlampe","schmuck","screw","sh!t*","sharmuta","sharmute","shipal","shiz","skribz","skurwysyn","sphencter","spic","spierdalaj","splooge","suka","b00b*","testicle*","titt*","twat","vittu","wank*","wetback*","wichser","wop*","yed","zabourah"]},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,i){"use strict";var n="|localhost|0.0.0.0|".includes(location.hostname)&&""!=location.hostname?location.origin:"https://chat.amplify.ai/plugin",o="6090ee64bda49d2f06290673",a=Array("Welcome_Module"),r=Array(n+"/custom/"+o+"/img/icon.png");if(void 0!==a&&a.length>0&&Array.isArray(a))var s=a.length,l=Math.floor(Math.random()*(s-0+1))+0,d=a[l],c=a[l],p=r[l];Math.floor(1e5+9e5*Math.random()),Math.floor(1e6*Math.random()+1);window.amplifyChatPluginConfig={pluginId:o,gaCode:"UA-196310040-1",gtmCode:"",botId:"6090ee64bda49d2f06290673_internal",accessToken:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbGVlbUBhbXBsaWZ5LmFpIiwiaWQiOiI1YzgwYWZkMzg4YmUyYTZkNGNlZDQ5YzUiLCJpYXQiOjE2MjAxOTg3MzV9.mvKuZprrL30NH4yfRPRXUrvxz1SmwG8L2Vra6uHRxC8",welcomeModule:d||"Welcome_Module",QuickLinkModule:c||"Welcome_Module",botText:{txt1:"",txt2:""},siteUrl:"https:///www.latestly.com/?utm_source=acpPlugin&utm_medium=acpPlugin&utm_campaign=acpPlugin",widgetIcon:p||n+"/custom/"+o+"/img/icon.png",bannerAd:"",smallLogo:n+"/custom/"+o+"/img/headerimg.png",logoInChat:n+"/custom/"+o+"/img/headerimg-1.png",widgetTagline:"",widgetAlt:"",smallLogoWidth:"30px",smallLogoHeight:"30px",adViewPlaceholder:"Start typing here...",botViewPlaceholder:'["Type Your Question..","Ask Something","Start Writing"]',overrideCSS:"",hideTagline:!1,widgetPosition:"rightbottom",animatedIcon:"static",customDesign:!0,txtAdTitle:"The ad will automatically close in 5 sec.",txtStartButton:"Start Chat",CloseIconOnMobile:!0,replaceDOM:!0,directChatbotPage:!0,chatReset:!1,widgetAnimation:!1,widgetMode:"open",openModeCount:0,geoEnable:!0,openModeBlockedInCities:"",blockedCountry:"|IN|",widgetDraggable:!0,widgetDraggableMobile:!1,noAmplifyBranding:!0,startModuleAfterMock:!1,exitBannerCall:!1,whichChatViewAd:"320_50",fix320X50AdOnScroll:!1,profineText:!0,entryBannerCall:!1,showWelcomeMsgInChatViewMock:!1,displayLiveTVinChat:!1,liveTVIconWithSocialIcon:!1,openLiveTvAfterBanner:!1,fix320X50AdBelowIcon:!0,fix320X50AdBelowIconMobile:!0,autoPopup:!1,autoPopupDelay:2e4,consoleLog:!1,dynamicGallery:!1,closeWidgetDuration:-1,closeWidgetForever:!1,videoPlayerWithIcon:!1,showVideoPlayerIcon:10,pluginIMGPath:n,strReplaceWhatsapp:"whatsapp",strReplaceFacebook:"facebook",enableFullBanner300x250Ad:!0,bottomStickyDivId:"banner32050",iconWithBranding:{status:!0,icon:[{img:n+"/img/ios-icon.png",link:"https://apps.apple.com/us/app/latestly/id1382168376?ls=1",className:"bottomIcon"},{img:n+"/img/android-icon.png",link:"https://play.google.com/store/apps/details?id=com.media.latestly.latestlymedia&hl=en_IN",className:"bottomIcon"}]},enableGalleryArrows:!0,enableGalleryArrowsMobile:!1,leftGalleryArrowImageUrl:n+"/img/prev.png",rightGalleryArrowImageUrl:n+"/img/next.png",galleryTransitionWidth:"",enableQuickTextArrows:!0,enableQuickTextArrowsMobile:!1,leftQuickTextArrowImageUrl:n+"/img/prev.png",rightQuickTextArrowImageUrl:n+"/img/next.png",quickTextTransitionWidth:"",customTagStr:"customtag",customTagBlockedCity:"|noblocklist|",customTagBlockedCountry:"|noblocklist|",showWidgetOnScroll:!1,replace300x250Ad:!1,replace320x50Ad:!1,fbLikes:{status:!1,appId:"900617613376037",dataHref:"https://facebook.com/Latestly"},socialLinks:{status:!0,links1:{alt:"Follow on facebook",link:"https://facebook.com/Latestly?utm_source=acpPlugin&utm_medium=acpPlugin&utm_campaign=acpPlugin",status:!0,className:"facebook",src:""},links2:{alt:"Follow on Twitter",link:"https://twitter.com/Latestly?utm_source=acpPlugin&utm_medium=acpPlugin&utm_campaign=acpPlugin",status:!0,className:"twitter"},links6:{alt:"Follow on YouTube",link:"https://www.youtube.com/channel/UC3Fci14HzLNhI9_stjLWV7g?utm_source=acpPlugin&utm_medium=acpPlugin&utm_campaign=acpPlugin",status:!0,className:"youtube"},links3:{alt:"Follow on LinkedIn",link:"https://www.linkedin.com/company/13592851/?utm_source=acpPlugin&utm_medium=acpPlugin&utm_campaign=acpPlugin",status:!0,className:"linkedIn"},links4:{alt:"Follow on Instagram",link:"https://www.instagram.com/latestly/?utm_source=acpPlugin&utm_medium=acpPlugin&utm_campaign=acpPlugin",status:!0,className:"instagram"}},dropdownCountdown:!1,dfp:{"300_250":[{dataAdClient:"Latestly/Latestly_Display_300x250",dataAdSlot:"21791476620",width:300,height:250,adtype:"defineslot"},{dataAdClient:"Latestly/Latestly_Display_300x250",dataAdSlot:"21791476620",width:300,height:250,adtype:"defineslot"}],"320_50":[{dataAdClient:"Latestly/Latestly_Display_320x50_sticky",dataAdSlot:"21791476620",width:320,height:50,adtype:"defineslot"},{dataAdClient:"Latestly/Latestly_320x50",dataAdSlot:"21791476620",width:320,height:50,adtype:"defineslot"}],"320_50_Fixed":[{dataAdClient:"Latestly/Latestly_Display_320x50_sticky",dataAdSlot:"21791476620",width:320,height:50,adtype:"defineslot"}]},urlBlockList:[],initiateWithMetaData:!0,metaInit:function(e){window.acpMetaData={uniqueId:window.acpUserUniqueId}},whiteListDomains:"|localhost|0.0.0.0|amplify-web-renderer-staging.s3.amazonaws.com|amplify-web-renderer.s3.amazonaws.com|chat.amplify.ai|amplify.ai|"};var u="<style>#amplifyChatBoxDiv{border:0px;} #amplifyChatHeaderTitleDiv img{height:22px;margin-top: 4px;float:left;} #amplifyChatHeaderIconDiv img{height:30px;width:90px;margin-top:2px;} #amplifyChatHeaderMinimize2 img{margin:7px 5px 10px 6px;width:18px;height:18px;} #amplifyChatHeaderIconDiv, #amplifyChatHeaderMinimize2{height:30px;} #amplifyChatHeaderDiv{height:30px;border-bottom:0px;border-top-left-radius:6px;border-top-right-radius:6px;}.amplifyChat .mainDiv{padding:5px !important;}#poweredByAmplify{top:20px;bottom:0px;left:20px;}.amplifyChat .gallery{height:240px;} .amplifyChat .galleryItemImageHorizontal{width:180px;}.arrow_box{bottom:110px;} .creativeCompose{top:30px;}.amplifyChat p.amplifyChat:last-child {border-left: 2px solid #eb008b;} #fulladSkip{font-family: sans-serif;font-size:11px;margin-top: 5px;} .otherIcons {right:0px;margin-top: 20px;float:right;margin-right: 6px;}.bottomIcon {width:25px;height:25px;} .bottomIcon2 {width:auto;height:25px;}  .hbgColor {background:#0c109b !important;} .openFullScreen{margin-top: 11px;} .quickBtn{background:#333;border-radius:6px;padding:8px;} .quickBtn:hover {text-shadow: 0px 0px 6px rgba(255, 255, 255, 1);-webkit-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);-moz-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);transition: all 0.4s ease 0s;} .amplifyChat .quickTextButtonBasic .quickTextButtonText, .amplifyChat .textInput, .textInput, p.amplifyChat, .quickTextButtonText, p.amplifyChat.galleryItemTitle, p.amplifyChat.galleryItemSubTitle, .quickTextButtonBasic.quickTextButtonText{font-size:14px;} .hcloseIcon {position: absolute;right: 0;margin-top: -25px;width:33px;width:25px !important;height:25px !important;}  .socialLinks2 {position: absolute;margin-left: 10px;bottom:unset;}  #amplifyChatHeaderMinimize img {width:16px;height:16px;}  .amplifyChat p { background:#fff;position:relative; } .amplifyChat p:before, .amplifyChat p:after{content:'';position:absolute;z-index:-1;top:10px;bottom:10px;left:0;right:0;-moz-border-radius:100px / 10px;border-radius:100px / 10px;} .amplifyChat p:after{right:10px;left:auto;-webkit-transform:skew(8deg) rotate(3deg);-moz-transform:skew(8deg) rotate(3deg);-ms-transform:skew(8deg) rotate(3deg);-o-transform:skew(8deg) rotate(3deg);transform:skew(8deg) rotate(3deg);} .amplifyChat.ChatLog__entry.ChatLog__entry_mine p.amplifyChat {border-radius:6px;padding:12px;background-color:#eb008b;}  .amplifyChat p.amplifyChat {padding:16px;border-left: 2px solid #ff0000;border-bottom-left-radius:0px;border-top-left-radius:0px;max-width: 100%;color: #333;min-width:177px;} .amplifyChat .galleryTitle2 a, .amplifyChat .galleryTitle2 a:hover{color:#eb008b;} .amplifyChat .galleryItemTitle, .amplifyChat .galleryItemSubTitle, .amplifyChat p.amplifyChat.galleryItemSubTitle, .amplifyChat p.amplifyChat.galleryItemTitle, .amplifyChat .galleryItemSubTitle {max-width:100%;color: #333;min-height:90px;overflow: hidden;border-left:0px;} .amplifyChat .galleryItemTitle, .amplifyChat .galleryItemSubTitle, .amplifyChat p.amplifyChat.galleryItemSubTitle, .amplifyChat p.amplifyChat.galleryItemTitle, .amplifyChat .galleryItemSubTitle{min-height:90px;overflow: hidden;line-height: 25px;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;}  #amplifyChatViewDiv {background: #fcfcfc;border:1px solid #c2c2c2;width:99.5%;}  #amplifyChatViewDiv:before {background: rgba(0,0,0,.5);}  .amplifyChat .textInput{border-color:#c3c3c3;padding:13px 12px;}  .amplifyChat .textInput:focus{outline:none}  .amplifyChat, #mainDiv, #chatFrameWrapper, #chatList {background:none;} #amplifyTriggerIcon, .amplifyTriggerIcon {width:80px;height:80px;border-radius:0px;background-color:none !important;background:none !important;}  input:focus {outline:none;}  .amplifyChat .quickTextOptionWrapper .quickTextButtonBasic, .galleryItem .quickTextButtonBasic:hover { background: #eb008b;justify-content: center;height: 30px;align-items: center;border-radius: 6px;color: #fff;}  .amplifyChat .quickTextButtonRounded:hover, .quickTextButtonRounded:hover, .galleryItem .quickTextButtonBasic:hover {background:#333333 !important;background-color:#333333 !important;border:0px;}  .amplifyChat .quickTextOptionWrapper .quickTextButtonRounded, .amplifyChat .quickTextButtonRounded{border:0px;}  .galleryItem .quickTextButtonBasic:hover {border-radius: 6px !important;}  .amplifyChat .quickTextButtonBasic {width:120px;} .amplifyChat.galleryItem:nth-last-child(1),.amplifyChat.galleryItem{border-radius:6px !important;min-width: 180px;}  .saperator {float: left;width: 2px;margin-top: 0px;}  .saperator img{height: 34px;width: 2px;} .socialLinks2 a{float:left;} @media(max-width: 765px) { .saperator img{height: 34px;width: 2px;} } .fbwaCustom{display:none;} .gallery .amplifyChat .quickTextButtonBasic{height:40px;width:40px !important;display:block;}  .amplifyChat.galleryItem:nth-child(1) {border-radius:6px;}  .gallery .amplifyChat .quickTextButtonBasic:nth-child(1) {margin-top: 2px;color:#eb008b;}  .galleryItem:nth-child(1) .quickTextButtonBasic:hover {background-color:none !important;background:none !important;color:#E1261C !important;}  .galleryItem:nth-child(2) .quickTextButtonBasic:hover {background-color:none !important;background:none !important;color:#E1261C !important;}  .galleryItem:nth-child(3) .quickTextButtonBasic:hover {background-color:none !important;background:none !important;color:#E1261C !important;}  .galleryItem:nth-child(4) .quickTextButtonBasic:hover {background-color:none !important;background:none !important;color:#E1261C !important;}  .galleryItem:nth-child(5) .quickTextButtonBasic:hover {background-color:none !important;background:none !important;color:#E1261C !important;}  .galleryItem:nth-child(6) .quickTextButtonBasic:hover {background-color:none !important;background:none !important;color:#E1261C !important;}  .galleryItem:nth-child(7) .quickTextButtonBasic:hover {background-color:none !important;background:none !important;color:#E1261C !important;}  .galleryItem:nth-child(8) .quickTextButtonBasic:hover {background-color:none !important;background:none !important;color:#E1261C !important;}  .galleryItem:nth-child(9) .quickTextButtonBasic:hover {background-color:none !important;background:none !important;color:#E1261C !important;}  .galleryItem:nth-child(10) .quickTextButtonBasic:hover {background-color:none !important;background:none !important;color:#E1261C !important;}  .galleryItem .quickTextButtonRounded:hover {background-color:none !important;background:none !important;}  .galleryItem:nth-child(1) .quickTextButtonRounded:hover {background-color:none !important;background:none !important;}  .galleryItem:nth-child(2) .quickTextButtonRounded:hover {background-color:none !important;background:none !important;}  .galleryItem:nth-child(3) .quickTextButtonRounded:hover {background-color:none !important;background:none !important;}  .galleryItem:nth-child(4) .quickTextButtonRounded:hover {background-color:none !important;background:none !important;}  .galleryItem:nth-child(5) .quickTextButtonRounded:hover {background-color:none !important;background:none !important;}  .galleryItem:nth-child(6) .quickTextButtonRounded:hover {background-color:none !important;background:none !important;}  .galleryItem:nth-child(7) .quickTextButtonRounded:hover {background-color:none !important;background:none !important;}  .galleryItem:nth-child(8) .quickTextButtonRounded:hover {background-color:none !important;background:none !important;}  .galleryItem:nth-child(9) .quickTextButtonRounded:hover {background-color:none !important;background:none !important;}  .galleryItem:nth-child(10) .quickTextButtonRounded:hover {background-color:none !important;background:none !important;}  .galleryItem .quickTextButton:hover {background-color:none !important;background:none !important;}  .galleryItem:nth-child(1) .quickTextButton:hover {background-color:none !important;background:none !important;}  .galleryItem:nth-child(2) .quickTextButton:hover {background-color:none !important;background:none !important;}  .galleryItem:nth-child(3) .quickTextButton:hover {background-color:none !important;background:none !important;}  .galleryItem:nth-child(4) .quickTextButton:hover {background-color:none !important;background:none !important;}  .galleryItem:nth-child(5) .quickTextButton:hover {background-color:none !important;background:none !important;}  .galleryItem:nth-child(6) .quickTextButton:hover {background-color:none !important;background:none !important;}  .galleryItem:nth-child(7) .quickTextButton:hover {background-color:none !important;background:none !important;}  .galleryItem:nth-child(8) .quickTextButton:hover {background-color:none !important;background:none !important;}  .galleryItem:nth-child(9) .quickTextButton:hover {background-color:none !important;background:none !important;}  .galleryItem:nth-child(10) .quickTextButton:hover {background-color:none !important;background:none !important;}  .amplifyChat .amplifyChat .ChatLog .ChatLog__entry .quickTextButtonBasic .quickTextButton {background-color:none !important;background:none !important;}  .amplifyChat .amplifyChat .ChatLog .ChatLog__entry .quickTextButtonRounded {background-color:none !important;background:none !important;padding-left:2px;}  .amplifyChat .amplifyChat .ChatLog .ChatLog__entry .quickTextButtonBasic .quickTextButton:hover {background-color:none !important;background:none !important;border-bottom-color:none;}  .amplifyChat .amplifyChat .ChatLog .ChatLog__entry .quickTextButtonBasic .quickTextButton:hover .quickTextButtonRounded {background-color:none !important;background:none !important;border-bottom-color:none;} .highZindex{height: 80px !important;width: 80px !important;position: absolute;}"+("dev-hindi.latestly.com"==window.location.hostname||"hindi.latestly.com"==window.location.hostname?" @media(max-width: 765px) { #banner32050{left: 24px !important; max-width: 365px;} }":"@media(max-width: 765px) { #banner32050{left: 80px !important;} }")+" @media(max-width: 765px) { #amplifyTriggerDiv{margin-right:12px;} #banner32050Ad {margin-left: 150px;} #banner32050 {bottom:-3px;right: 6px;width: 500px;background: #fff;position: relative;} .creativeCompose{height:93.5%;} #amplifyDragHandle {display:block !important;right:25px;top:-18px;} #amplifyDraggableDiv{right:8px;bottom:3px;} #amplifyWidget{ max-width:395px;bottom:0px;left:2px;height:420px;z-index:9999999999; } #textInputSendButton, .textInput{display:block;font-family:Helvetica Neue, Segoe UI, Helvetica, Arial, sans-serif;} .amplifyChat .textInput{bottom:6px;} .amplifyChat .textInputSendButton{bottom:6px;right:8px;} span.brandingTxtBox{margin-right:12px;margin-top:9px;} #amplifyChatViewDiv{height: calc(100% - 28px);} .highZindex{height: 80px !important;width: 80px !important;left: 89% !important;transform: translateX(-50%);position: absolute;}} @media(min-width: 766px) { #amplifyDragHandle {display:block !important;right:15px;top: -25px;} #banner32050 {display: block; position: absolute; right: 10px; top: 81px;} #amplifyWidget{ max-width:395px;bottom:30px;height:420px;margin-right:20px; } #textInputSendButton, .textInput{display:block;font-family:Helvetica Neue, Segoe UI, Helvetica, Arial, sans-serif;} .amplifyChat .textInput{bottom:6px;} .amplifyChat .textInputSendButton{bottom:6px;right:8px;} span.brandingTxtBox{margin-right:12px;margin-top:9px;} #amplifyChatViewDiv{height: calc(100% - 28px);}} .amplifyChat .ChatLog .ChatLog__entry, .amplifyChat .ChatLog__entry.ChatLog__entry_mine:nth-child(1) {margin-top: 5px !important;}  .amplifyChat .chatFrameWrapper {overflow-x:hidden;} @media(min-width:400px) and (max-width: 550px) { #amplifyWidget {width:100%;max-width:99%;} } .amplifyChat .chatFrameWrapper::-webkit-scrollbar {width: 0px;background: transparent;} .cardBox{box-sizing: border-box;width: 180px;height: 70px;display: inline-block;transition: .25s;cursor:pointer;text-align: center;margin:0px 0px 0px -60px;} #seasonOne .mainIcon {background: url('"+n+"/custom/"+o+"/img/icon-flat.png')  no-repeat;width: 188px;height: 81px;display: block;margin: 0 auto;transition: .3s;transform: scale(.9);} #seasonOne:hover .mainIcon {transform: scale(1);width: 87px;height: 81px;border-radius: 0;background:url('"+n+"/custom/"+o+'/img/icon.png\') no-repeat;} </style><div class="closeOnTop"><a href="javascript:void(0);" style="text-decoration:none;display: block;"><img src="'+n+"/custom/"+o+'/img/closeme.png" id="amplifyChatHeaderClose" alt="Close" class="hcloseIcon"></a></div><div id="amplifyChatHeaderDiv" class="hbgColor"><div id="amplifyChatHeaderIconDiv" style="width:30px;"><a href="'+window.amplifyChatPluginConfig.siteUrl+'" target="_blank"><img src="'+window.amplifyChatPluginConfig.smallLogo+'" style="margin-top: 0px;height:'+window.amplifyChatPluginConfig.smallLogoHeight+";width: "+window.amplifyChatPluginConfig.smallLogoWidth+';"></a></div><div id="amplifyChatHeaderTitleDiv" style="width:26%;"><a href="'+window.amplifyChatPluginConfig.siteUrl+'" target="_blank"><img src="'+n+"/custom/"+o+'/img/head-1.png"></a></div><div id="amplifyChatHeaderButtonsDiv" style="width:45%  !important"><div class="saperator"><img src="'+n+'/img/saperator.png"></div><div id="amplifyChatHeaderMinimize2">'+function(){var e="",t={},i=0,o=window.amplifyChatPluginConfig.liveTVIconWithSocialIcon?2:6;if(window.amplifyChatPluginConfig.socialLinks){e='<div class="socialLinks2" id="socialLinks2">',t=window.amplifyChatPluginConfig.socialLinks;var a="width:auto;height:20px;margin-top:5px;";for(var r in t)t[r].link&&t[r].status&&i<o&&(i>0&&(a=""),e+='<a href="'+(t[r].link?t[r].link:"")+'" class="trackSocial"data="'+t[r].className+'"alt="'+(t[r].alt?t[r].alt:"")+'" title = "'+(t[r].alt?t[r].alt:"")+'" target=_blank><img src="'+n+"/img/"+t[r].className+'-white-new.png" style="'+a+'" ></a>',i++);window.amplifyChatPluginConfig.liveTVIconWithSocialIcon&&(e+='<img style="margin-left: 4px;width: 25px;height: 25px;" src="'+n+'/img/live-tv.png" class="liveTVIconWithSocialIcon" id="liveTVIconWithSocialIcon">'),e+="</div>"}return e}()+'</div><div id="amplifyChatHeaderClose" style="display:none;"><a href="javascript:void(0);" style="text-decoration:none;"><img src="'+n+'/img/closeIcon.svg" alt="Close" id="amplifyChatHeaderCloseIcon"></a></div></div>';window.amplifyChatPluginConfig.iconDisplay='<div id="seasonOne" class="cardBox seasonOne"><div class="mainIcon"></div></div>',window.amplifyChatPluginConfig.headerHTML=u},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=new function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.init=function(e){t.webChatWidget=e},this.getIPLStatus=function(){fetch("https://8483auvt5c.execute-api.us-east-1.amazonaws.com/dev/readiplstatus",{method:"GET"}).then(function(e){return e.ok?e.json():Promise.reject(e)}).then(function(e){window.getIPLStatus=e.status}).catch(function(e){})},this.getIPLData=function(){fetch("https://chat.amplify.ai/plugin/apidata/ipl.json",{method:"GET"}).then(function(e){return e.ok?e.json():Promise.reject(e)}).then(function(e){window.getIPLData=e}).catch(function(e){console.warn("Something went wrong.",e)})},this.getCovidData=function(){fetch("https://chat.amplify.ai/plugin/apidata/covid.json",{method:"GET"}).then(function(e){return e.ok?e.json():Promise.reject(e)}).then(function(e){window.getCovidData=e}).catch(function(e){console.warn("Something went wrong.",e)})},{}};t.default=n},function(e,t,i){"use strict";var n,o,a,r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};o=[i(5)],void 0===(a="function"==typeof(n=function(e){e.ui=e.ui||{},e.ui.version="1.12.1";var t=0,i=Array.prototype.slice;e.cleanData=function(t){return function(i){var n,o,a;for(a=0;null!=(o=i[a]);a++)try{(n=e._data(o,"events"))&&n.remove&&e(o).triggerHandler("remove")}catch(e){}t(i)}}(e.cleanData),e.widget=function(t,i,n){var o,a,r,s={},l=t.split(".")[0];t=t.split(".")[1];var d=l+"-"+t;return n||(n=i,i=e.Widget),e.isArray(n)&&(n=e.extend.apply(null,[{}].concat(n))),e.expr[":"][d.toLowerCase()]=function(t){return!!e.data(t,d)},e[l]=e[l]||{},o=e[l][t],a=e[l][t]=function(e,t){return this._createWidget?void(arguments.length&&this._createWidget(e,t)):new a(e,t)},e.extend(a,o,{version:n.version,_proto:e.extend({},n),_childConstructors:[]}),(r=new i).options=e.widget.extend({},r.options),e.each(n,function(t,n){return e.isFunction(n)?void(s[t]=function(){function e(){return i.prototype[t].apply(this,arguments)}function o(e){return i.prototype[t].apply(this,e)}return function(){var t,i=this._super,a=this._superApply;return this._super=e,this._superApply=o,t=n.apply(this,arguments),this._super=i,this._superApply=a,t}}()):void(s[t]=n)}),a.prototype=e.widget.extend(r,{widgetEventPrefix:o&&r.widgetEventPrefix||t},s,{constructor:a,namespace:l,widgetName:t,widgetFullName:d}),o?(e.each(o._childConstructors,function(t,i){var n=i.prototype;e.widget(n.namespace+"."+n.widgetName,a,i._proto)}),delete o._childConstructors):i._childConstructors.push(a),e.widget.bridge(t,a),a},e.widget.extend=function(t){for(var n,o,a=i.call(arguments,1),r=0,s=a.length;s>r;r++)for(n in a[r])o=a[r][n],a[r].hasOwnProperty(n)&&void 0!==o&&(t[n]=e.isPlainObject(o)?e.isPlainObject(t[n])?e.widget.extend({},t[n],o):e.widget.extend({},o):o);return t},e.widget.bridge=function(t,n){var o=n.prototype.widgetFullName||t;e.fn[t]=function(a){var r="string"==typeof a,s=i.call(arguments,1),l=this;return r?this.length||"instance"!==a?this.each(function(){var i,n=e.data(this,o);return"instance"===a?(l=n,!1):n?e.isFunction(n[a])&&"_"!==a.charAt(0)?(i=n[a].apply(n,s))!==n&&void 0!==i?(l=i&&i.jquery?l.pushStack(i.get()):i,!1):void 0:e.error("no such method '"+a+"' for "+t+" widget instance"):e.error("cannot call methods on "+t+" prior to initialization; attempted to call method '"+a+"'")}):l=void 0:(s.length&&(a=e.widget.extend.apply(null,[a].concat(s))),this.each(function(){var t=e.data(this,o);t?(t.option(a||{}),t._init&&t._init()):e.data(this,o,new n(a,this))})),l}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(i,n){n=e(n||this.defaultElement||this)[0],this.element=e(n),this.uuid=t++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=e(),this.hoverable=e(),this.focusable=e(),this.classesElementLookup={},n!==this&&(e.data(n,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===n&&this.destroy()}}),this.document=e(n.style?n.ownerDocument:n.document||n),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this.options=e.widget.extend({},this.options,this._getCreateOptions(),i),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){var t=this;this._destroy(),e.each(this.classesElementLookup,function(e,i){t._removeClass(i,e)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:e.noop,widget:function(){return this.element},option:function(t,i){var n,o,a,r=t;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof t)if(r={},n=t.split("."),t=n.shift(),n.length){for(o=r[t]=e.widget.extend({},this.options[t]),a=0;n.length-1>a;a++)o[n[a]]=o[n[a]]||{},o=o[n[a]];if(t=n.pop(),1===arguments.length)return void 0===o[t]?null:o[t];o[t]=i}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];r[t]=i}return this._setOptions(r),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return"classes"===e&&this._setOptionClasses(t),this.options[e]=t,"disabled"===e&&this._setOptionDisabled(t),this},_setOptionClasses:function(t){var i,n,o;for(i in t)o=this.classesElementLookup[i],t[i]!==this.options.classes[i]&&o&&o.length&&(n=e(o.get()),this._removeClass(o,i),n.addClass(this._classes({element:n,keys:i,classes:t,add:!0})))},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e),e&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(t){function i(i,a){var r,s;for(s=0;i.length>s;s++)r=o.classesElementLookup[i[s]]||e(),r=t.add?e(e.unique(r.get().concat(t.element.get()))):e(r.not(t.element).get()),o.classesElementLookup[i[s]]=r,n.push(i[s]),a&&t.classes[i[s]]&&n.push(t.classes[i[s]])}var n=[],o=this;return t=e.extend({element:this.element,classes:this.options.classes||{}},t),this._on(t.element,{remove:"_untrackClassesElement"}),t.keys&&i(t.keys.match(/\S+/g)||[],!0),t.extra&&i(t.extra.match(/\S+/g)||[]),n.join(" ")},_untrackClassesElement:function(t){var i=this;e.each(i.classesElementLookup,function(n,o){-1!==e.inArray(t.target,o)&&(i.classesElementLookup[n]=e(o.not(t.target).get()))})},_removeClass:function(e,t,i){return this._toggleClass(e,t,i,!1)},_addClass:function(e,t,i){return this._toggleClass(e,t,i,!0)},_toggleClass:function(e,t,i,n){n="boolean"==typeof n?n:i;var o="string"==typeof e||null===e,a={extra:o?t:i,keys:o?e:t,element:o?this.element:e,add:n};return a.element.toggleClass(this._classes(a),n),this},_on:function(t,i,n){var o,a=this;"boolean"!=typeof t&&(n=i,i=t,t=!1),n?(i=o=e(i),this.bindings=this.bindings.add(i)):(n=i,i=this.element,o=this.widget()),e.each(n,function(n,r){function s(){return t||!0!==a.options.disabled&&!e(this).hasClass("ui-state-disabled")?("string"==typeof r?a[r]:r).apply(a,arguments):void 0}"string"!=typeof r&&(s.guid=r.guid=r.guid||s.guid||e.guid++);var l=n.match(/^([\w:-]*)\s*(.*)$/),d=l[1]+a.eventNamespace,c=l[2];c?o.on(d,c,s):i.on(d,s)})},_off:function(t,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(i).off(i),this.bindings=e(this.bindings.not(t).get()),this.focusable=e(this.focusable.not(t).get()),this.hoverable=e(this.hoverable.not(t).get())},_delay:function(e,t){var i=this;return setTimeout(function(){return("string"==typeof e?i[e]:e).apply(i,arguments)},t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(e(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(e(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,i,n){var o,a,r=this.options[t];if(n=n||{},(i=e.Event(i)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),i.target=this.element[0],a=i.originalEvent)for(o in a)o in i||(i[o]=a[o]);return this.element.trigger(i,n),!(e.isFunction(r)&&!1===r.apply(this.element[0],[i].concat(n))||i.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},function(t,i){e.Widget.prototype["_"+t]=function(n,o,a){"string"==typeof o&&(o={effect:o});var r,s=o?!0===o||"number"==typeof o?i:o.effect||i:t;"number"==typeof(o=o||{})&&(o={duration:o}),r=!e.isEmptyObject(o),o.complete=a,o.delay&&n.delay(o.delay),r&&e.effects&&e.effects.effect[s]?n[t](o):s!==t&&n[s]?n[s](o.duration,o.easing,a):n.queue(function(i){e(this)[t](),a&&a.call(n[0]),i()})}}),e.widget,function(){function t(e,t,i){return[parseFloat(e[0])*(c.test(e[0])?t/100:1),parseFloat(e[1])*(c.test(e[1])?i/100:1)]}function i(t,i){return parseInt(e.css(t,i),10)||0}var n,o=Math.max,a=Math.abs,r=/left|center|right/,s=/top|center|bottom/,l=/[\+\-]\d+(\.[\d]+)?%?/,d=/^\w+/,c=/%$/,p=e.fn.position;e.position={scrollbarWidth:function(){if(void 0!==n)return n;var t,i,o=e("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),a=o.children()[0];return e("body").append(o),t=a.offsetWidth,o.css("overflow","scroll"),i=a.offsetWidth,t===i&&(i=o[0].clientWidth),o.remove(),n=t-i},getScrollInfo:function(t){var i=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),n=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),o="scroll"===i||"auto"===i&&t.width<t.element[0].scrollWidth,a="scroll"===n||"auto"===n&&t.height<t.element[0].scrollHeight;return{width:a?e.position.scrollbarWidth():0,height:o?e.position.scrollbarWidth():0}},getWithinInfo:function(t){var i=e(t||window),n=e.isWindow(i[0]),o=!!i[0]&&9===i[0].nodeType,a=!n&&!o;return{element:i,isWindow:n,isDocument:o,offset:a?e(t).offset():{left:0,top:0},scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:i.outerWidth(),height:i.outerHeight()}}},e.fn.position=function(n){if(!n||!n.of)return p.apply(this,arguments);n=e.extend({},n);var c,u,f,h,g,m,y=e(n.of),v=e.position.getWithinInfo(n.within),w=e.position.getScrollInfo(v),b=(n.collision||"flip").split(" "),x={};return m=function(t){var i=t[0];return 9===i.nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:e.isWindow(i)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()}}(y),y[0].preventDefault&&(n.at="left top"),u=m.width,f=m.height,h=m.offset,g=e.extend({},h),e.each(["my","at"],function(){var e,t,i=(n[this]||"").split(" ");1===i.length&&(i=r.test(i[0])?i.concat(["center"]):s.test(i[0])?["center"].concat(i):["center","center"]),i[0]=r.test(i[0])?i[0]:"center",i[1]=s.test(i[1])?i[1]:"center",e=l.exec(i[0]),t=l.exec(i[1]),x[this]=[e?e[0]:0,t?t[0]:0],n[this]=[d.exec(i[0])[0],d.exec(i[1])[0]]}),1===b.length&&(b[1]=b[0]),"right"===n.at[0]?g.left+=u:"center"===n.at[0]&&(g.left+=u/2),"bottom"===n.at[1]?g.top+=f:"center"===n.at[1]&&(g.top+=f/2),c=t(x.at,u,f),g.left+=c[0],g.top+=c[1],this.each(function(){var r,s,l=e(this),d=l.outerWidth(),p=l.outerHeight(),m=i(this,"marginLeft"),C=i(this,"marginTop"),k=d+m+i(this,"marginRight")+w.width,T=p+C+i(this,"marginBottom")+w.height,I=e.extend({},g),A=t(x.my,l.outerWidth(),l.outerHeight());"right"===n.my[0]?I.left-=d:"center"===n.my[0]&&(I.left-=d/2),"bottom"===n.my[1]?I.top-=p:"center"===n.my[1]&&(I.top-=p/2),I.left+=A[0],I.top+=A[1],r={marginLeft:m,marginTop:C},e.each(["left","top"],function(t,i){e.ui.position[b[t]]&&e.ui.position[b[t]][i](I,{targetWidth:u,targetHeight:f,elemWidth:d,elemHeight:p,collisionPosition:r,collisionWidth:k,collisionHeight:T,offset:[c[0]+A[0],c[1]+A[1]],my:n.my,at:n.at,within:v,elem:l})}),n.using&&(s=function(e){var t=h.left-I.left,i=t+u-d,r=h.top-I.top,s=r+f-p,c={target:{element:y,left:h.left,top:h.top,width:u,height:f},element:{element:l,left:I.left,top:I.top,width:d,height:p},horizontal:0>i?"left":t>0?"right":"center",vertical:0>s?"top":r>0?"bottom":"middle"};d>u&&u>a(t+i)&&(c.horizontal="center"),p>f&&f>a(r+s)&&(c.vertical="middle"),c.important=o(a(t),a(i))>o(a(r),a(s))?"horizontal":"vertical",n.using.call(this,e,c)}),l.offset(e.extend(I,{using:s}))})},e.ui.position={fit:{left:function(e,t){var i,n=t.within,a=n.isWindow?n.scrollLeft:n.offset.left,r=n.width,s=e.left-t.collisionPosition.marginLeft,l=a-s,d=s+t.collisionWidth-r-a;t.collisionWidth>r?l>0&&0>=d?(i=e.left+l+t.collisionWidth-r-a,e.left+=l-i):e.left=d>0&&0>=l?a:l>d?a+r-t.collisionWidth:a:l>0?e.left+=l:d>0?e.left-=d:e.left=o(e.left-s,e.left)},top:function(e,t){var i,n=t.within,a=n.isWindow?n.scrollTop:n.offset.top,r=t.within.height,s=e.top-t.collisionPosition.marginTop,l=a-s,d=s+t.collisionHeight-r-a;t.collisionHeight>r?l>0&&0>=d?(i=e.top+l+t.collisionHeight-r-a,e.top+=l-i):e.top=d>0&&0>=l?a:l>d?a+r-t.collisionHeight:a:l>0?e.top+=l:d>0?e.top-=d:e.top=o(e.top-s,e.top)}},flip:{left:function(e,t){var i,n,o=t.within,r=o.offset.left+o.scrollLeft,s=o.width,l=o.isWindow?o.scrollLeft:o.offset.left,d=e.left-t.collisionPosition.marginLeft,c=d-l,p=d+t.collisionWidth-s-l,u="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,f="left"===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,h=-2*t.offset[0];0>c?(0>(i=e.left+u+f+h+t.collisionWidth-s-r)||a(c)>i)&&(e.left+=u+f+h):p>0&&((n=e.left-t.collisionPosition.marginLeft+u+f+h-l)>0||p>a(n))&&(e.left+=u+f+h)},top:function(e,t){var i,n,o=t.within,r=o.offset.top+o.scrollTop,s=o.height,l=o.isWindow?o.scrollTop:o.offset.top,d=e.top-t.collisionPosition.marginTop,c=d-l,p=d+t.collisionHeight-s-l,u="top"===t.my[1],f=u?-t.elemHeight:"bottom"===t.my[1]?t.elemHeight:0,h="top"===t.at[1]?t.targetHeight:"bottom"===t.at[1]?-t.targetHeight:0,g=-2*t.offset[1];0>c?(0>(n=e.top+f+h+g+t.collisionHeight-s-r)||a(c)>n)&&(e.top+=f+h+g):p>0&&((i=e.top-t.collisionPosition.marginTop+f+h+g-l)>0||p>a(i))&&(e.top+=f+h+g)}},flipfit:{left:function(){e.ui.position.flip.left.apply(this,arguments),e.ui.position.fit.left.apply(this,arguments)},top:function(){e.ui.position.flip.top.apply(this,arguments),e.ui.position.fit.top.apply(this,arguments)}}}}(),e.ui.position,e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(i){return!!e.data(i,t)}}):function(t,i,n){return!!e.data(t,n[3])}}),e.fn.scrollParent=function(t){var i=this.css("position"),n="absolute"===i,o=t?/(auto|scroll|hidden)/:/(auto|scroll)/,a=this.parents().filter(function(){var t=e(this);return(!n||"static"!==t.css("position"))&&o.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==i&&a.length?a:e(this[0].ownerDocument||document)},e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var n=!1;e(document).on("mouseup",function(){n=!1}),e.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).on("click."+this.widgetName,function(i){return!0===e.data(i.target,t.widgetName+".preventClickEvent")?(e.removeData(i.target,t.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):void 0}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(t){if(!n){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(t),this._mouseDownEvent=t;var i=this,o=1===t.which,a=!("string"!=typeof this.options.cancel||!t.target.nodeName)&&e(t.target).closest(this.options.cancel).length;return!(o&&!a&&this._mouseCapture(t)&&(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){i.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(t),!this._mouseStarted)?(t.preventDefault(),0):(!0===e.data(t.target,this.widgetName+".preventClickEvent")&&e.removeData(t.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return i._mouseMove(e)},this._mouseUpDelegate=function(e){return i._mouseUp(e)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),t.preventDefault(),n=!0,0)))}},_mouseMove:function(t){if(this._mouseMoved){if(e.ui.ie&&(!document.documentMode||9>document.documentMode)&&!t.button)return this._mouseUp(t);if(!t.which)if(t.originalEvent.altKey||t.originalEvent.ctrlKey||t.originalEvent.metaKey||t.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(t)}return(t.which||t.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,t),this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(t){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&e.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,n=!1,t.preventDefault()},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),e.ui.plugin={add:function(t,i,n){var o,a=e.ui[t].prototype;for(o in n)a.plugins[o]=a.plugins[o]||[],a.plugins[o].push([i,n[o]])},call:function(e,t,i,n){var o,a=e.plugins[t];if(a&&(n||e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType))for(o=0;a.length>o;o++)e.options[a[o][0]]&&a[o][1].apply(e.element,i)}},e.ui.safeActiveElement=function(e){var t;try{t=e.activeElement}catch(i){t=e.body}return t||(t=e.body),t.nodeName||(t=e.body),t},e.ui.safeBlur=function(t){t&&"body"!==t.nodeName.toLowerCase()&&e(t).trigger("blur")},e.widget("ui.draggable",e.ui.mouse,{version:"1.12.1",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(e,t){this._super(e,t),"handle"===e&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){return(this.helper||this.element).is(".ui-draggable-dragging")?void(this.destroyOnClear=!0):(this._removeHandleClassName(),void this._mouseDestroy())},_mouseCapture:function(t){var i=this.options;return!(this.helper||i.disabled||e(t.target).closest(".ui-resizable-handle").length>0||(this.handle=this._getHandle(t),!this.handle||(this._blurActiveElement(t),this._blockFrames(!0===i.iframeFix?"iframe":i.iframeFix),0)))},_blockFrames:function(t){this.iframeBlocks=this.document.find(t).map(function(){var t=e(this);return e("<div>").css("position","absolute").appendTo(t.parent()).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).offset(t.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(t){var i=e.ui.safeActiveElement(this.document[0]),n=e(t.target);n.closest(i).length||e.ui.safeBlur(i)},_mouseStart:function(t){var i=this.options;return this.helper=this._createHelper(t),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),e.ui.ddmanager&&(e.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=this.helper.parents().filter(function(){return"fixed"===e(this).css("position")}).length>0,this.positionAbs=this.element.offset(),this._refreshOffsets(t),this.originalPosition=this.position=this._generatePosition(t,!1),this.originalPageX=t.pageX,this.originalPageY=t.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this._setContainment(),!1===this._trigger("start",t)?(this._clear(),!1):(this._cacheHelperProportions(),e.ui.ddmanager&&!i.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),e.ui.ddmanager&&e.ui.ddmanager.dragStart(this,t),!0)},_refreshOffsets:function(e){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:e.pageX-this.offset.left,top:e.pageY-this.offset.top}},_mouseDrag:function(t,i){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(t,!0),this.positionAbs=this._convertPositionTo("absolute"),!i){var n=this._uiHash();if(!1===this._trigger("drag",t,n))return this._mouseUp(new e.Event("mouseup",t)),!1;this.position=n.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var i=this,n=!1;return e.ui.ddmanager&&!this.options.dropBehaviour&&(n=e.ui.ddmanager.drop(this,t)),this.dropped&&(n=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!n||"valid"===this.options.revert&&n||!0===this.options.revert||e.isFunction(this.options.revert)&&this.options.revert.call(this.element,n)?e(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==i._trigger("stop",t)&&i._clear()}):!1!==this._trigger("stop",t)&&this._clear(),!1},_mouseUp:function(t){return this._unblockFrames(),e.ui.ddmanager&&e.ui.ddmanager.dragStop(this,t),this.handleElement.is(t.target)&&this.element.trigger("focus"),e.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new e.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(t){return!this.options.handle||!!e(t.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(t){var i=this.options,n=e.isFunction(i.helper),o=n?e(i.helper.apply(this.element[0],[t])):"clone"===i.helper?this.element.clone().removeAttr("id"):this.element;return o.parents("body").length||o.appendTo("parent"===i.appendTo?this.element[0].parentNode:i.appendTo),n&&o[0]===this.element[0]&&this._setPositionRelative(),o[0]===this.element[0]||/(fixed|absolute)/.test(o.css("position"))||o.css("position","absolute"),o},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),e.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_isRootNode:function(e){return/(html|body)/i.test(e.tagName)||e===this.document[0]},_getParentOffset:function(){var t=this.offsetParent.offset(),i=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==i&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(t={top:0,left:0}),{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var e=this.element.position(),t=this._isRootNode(this.scrollParent[0]);return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+(t?0:this.scrollParent.scrollTop()),left:e.left-(parseInt(this.helper.css("left"),10)||0)+(t?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,i,n,o=this.options,a=this.document[0];return this.relativeContainer=null,o.containment?"window"===o.containment?void(this.containment=[e(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,e(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,e(window).scrollLeft()+e(window).width()-this.helperProportions.width-this.margins.left,e(window).scrollTop()+(e(window).height()||a.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]):"document"===o.containment?void(this.containment=[0,0,e(a).width()-this.helperProportions.width-this.margins.left,(e(a).height()||a.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]):o.containment.constructor===Array?void(this.containment=o.containment):("parent"===o.containment&&(o.containment=this.helper[0].parentNode),i=e(o.containment),void((n=i[0])&&(t=/(scroll|auto)/.test(i.css("overflow")),this.containment=[(parseInt(i.css("borderLeftWidth"),10)||0)+(parseInt(i.css("paddingLeft"),10)||0),(parseInt(i.css("borderTopWidth"),10)||0)+(parseInt(i.css("paddingTop"),10)||0),(t?Math.max(n.scrollWidth,n.offsetWidth):n.offsetWidth)-(parseInt(i.css("borderRightWidth"),10)||0)-(parseInt(i.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(t?Math.max(n.scrollHeight,n.offsetHeight):n.offsetHeight)-(parseInt(i.css("borderBottomWidth"),10)||0)-(parseInt(i.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=i))):void(this.containment=null)},_convertPositionTo:function(e,t){t||(t=this.position);var i="absolute"===e?1:-1,n=this._isRootNode(this.scrollParent[0]);return{top:t.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.offset.scroll.top:n?0:this.offset.scroll.top)*i,left:t.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.offset.scroll.left:n?0:this.offset.scroll.left)*i}},_generatePosition:function(e,t){var i,n,o,a,r=this.options,s=this._isRootNode(this.scrollParent[0]),l=e.pageX,d=e.pageY;return s&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),t&&(this.containment&&(this.relativeContainer?(n=this.relativeContainer.offset(),i=[this.containment[0]+n.left,this.containment[1]+n.top,this.containment[2]+n.left,this.containment[3]+n.top]):i=this.containment,e.pageX-this.offset.click.left<i[0]&&(l=i[0]+this.offset.click.left),e.pageY-this.offset.click.top<i[1]&&(d=i[1]+this.offset.click.top),e.pageX-this.offset.click.left>i[2]&&(l=i[2]+this.offset.click.left),e.pageY-this.offset.click.top>i[3]&&(d=i[3]+this.offset.click.top)),r.grid&&(o=r.grid[1]?this.originalPageY+Math.round((d-this.originalPageY)/r.grid[1])*r.grid[1]:this.originalPageY,d=i?o-this.offset.click.top>=i[1]||o-this.offset.click.top>i[3]?o:o-this.offset.click.top>=i[1]?o-r.grid[1]:o+r.grid[1]:o,a=r.grid[0]?this.originalPageX+Math.round((l-this.originalPageX)/r.grid[0])*r.grid[0]:this.originalPageX,l=i?a-this.offset.click.left>=i[0]||a-this.offset.click.left>i[2]?a:a-this.offset.click.left>=i[0]?a-r.grid[0]:a+r.grid[0]:a),"y"===r.axis&&(l=this.originalPageX),"x"===r.axis&&(d=this.originalPageY)),{top:d-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:s?0:this.offset.scroll.top),left:l-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:s?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(t,i,n){return n=n||this._uiHash(),e.ui.plugin.call(this,t,[i,n,this],!0),/^(drag|start|stop)/.test(t)&&(this.positionAbs=this._convertPositionTo("absolute"),n.offset=this.positionAbs),e.Widget.prototype._trigger.call(this,t,i,n)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),e.ui.plugin.add("draggable","connectToSortable",{start:function(t,i,n){var o=e.extend({},i,{item:n.element});n.sortables=[],e(n.options.connectToSortable).each(function(){var i=e(this).sortable("instance");i&&!i.options.disabled&&(n.sortables.push(i),i.refreshPositions(),i._trigger("activate",t,o))})},stop:function(t,i,n){var o=e.extend({},i,{item:n.element});n.cancelHelperRemoval=!1,e.each(n.sortables,function(){var e=this;e.isOver?(e.isOver=0,n.cancelHelperRemoval=!0,e.cancelHelperRemoval=!1,e._storedCSS={position:e.placeholder.css("position"),top:e.placeholder.css("top"),left:e.placeholder.css("left")},e._mouseStop(t),e.options.helper=e.options._helper):(e.cancelHelperRemoval=!0,e._trigger("deactivate",t,o))})},drag:function(t,i,n){e.each(n.sortables,function(){var o=!1,a=this;a.positionAbs=n.positionAbs,a.helperProportions=n.helperProportions,a.offset.click=n.offset.click,a._intersectsWith(a.containerCache)&&(o=!0,e.each(n.sortables,function(){return this.positionAbs=n.positionAbs,this.helperProportions=n.helperProportions,this.offset.click=n.offset.click,this!==a&&this._intersectsWith(this.containerCache)&&e.contains(a.element[0],this.element[0])&&(o=!1),o})),o?(a.isOver||(a.isOver=1,n._parent=i.helper.parent(),a.currentItem=i.helper.appendTo(a.element).data("ui-sortable-item",!0),a.options._helper=a.options.helper,a.options.helper=function(){return i.helper[0]},t.target=a.currentItem[0],a._mouseCapture(t,!0),a._mouseStart(t,!0,!0),a.offset.click.top=n.offset.click.top,a.offset.click.left=n.offset.click.left,a.offset.parent.left-=n.offset.parent.left-a.offset.parent.left,a.offset.parent.top-=n.offset.parent.top-a.offset.parent.top,n._trigger("toSortable",t),n.dropped=a.element,e.each(n.sortables,function(){this.refreshPositions()}),n.currentItem=n.element,a.fromOutside=n),a.currentItem&&(a._mouseDrag(t),i.position=a.position)):a.isOver&&(a.isOver=0,a.cancelHelperRemoval=!0,a.options._revert=a.options.revert,a.options.revert=!1,a._trigger("out",t,a._uiHash(a)),a._mouseStop(t,!0),a.options.revert=a.options._revert,a.options.helper=a.options._helper,a.placeholder&&a.placeholder.remove(),i.helper.appendTo(n._parent),n._refreshOffsets(t),i.position=n._generatePosition(t,!0),n._trigger("fromSortable",t),n.dropped=!1,e.each(n.sortables,function(){this.refreshPositions()}))})}}),e.ui.plugin.add("draggable","cursor",{start:function(t,i,n){var o=e("body"),a=n.options;o.css("cursor")&&(a._cursor=o.css("cursor")),o.css("cursor",a.cursor)},stop:function(t,i,n){var o=n.options;o._cursor&&e("body").css("cursor",o._cursor)}}),e.ui.plugin.add("draggable","opacity",{start:function(t,i,n){var o=e(i.helper),a=n.options;o.css("opacity")&&(a._opacity=o.css("opacity")),o.css("opacity",a.opacity)},stop:function(t,i,n){var o=n.options;o._opacity&&e(i.helper).css("opacity",o._opacity)}}),e.ui.plugin.add("draggable","scroll",{start:function(e,t,i){i.scrollParentNotHidden||(i.scrollParentNotHidden=i.helper.scrollParent(!1)),i.scrollParentNotHidden[0]!==i.document[0]&&"HTML"!==i.scrollParentNotHidden[0].tagName&&(i.overflowOffset=i.scrollParentNotHidden.offset())},drag:function(t,i,n){var o=n.options,a=!1,r=n.scrollParentNotHidden[0],s=n.document[0];r!==s&&"HTML"!==r.tagName?(o.axis&&"x"===o.axis||(n.overflowOffset.top+r.offsetHeight-t.pageY<o.scrollSensitivity?r.scrollTop=a=r.scrollTop+o.scrollSpeed:t.pageY-n.overflowOffset.top<o.scrollSensitivity&&(r.scrollTop=a=r.scrollTop-o.scrollSpeed)),o.axis&&"y"===o.axis||(n.overflowOffset.left+r.offsetWidth-t.pageX<o.scrollSensitivity?r.scrollLeft=a=r.scrollLeft+o.scrollSpeed:t.pageX-n.overflowOffset.left<o.scrollSensitivity&&(r.scrollLeft=a=r.scrollLeft-o.scrollSpeed))):(o.axis&&"x"===o.axis||(t.pageY-e(s).scrollTop()<o.scrollSensitivity?a=e(s).scrollTop(e(s).scrollTop()-o.scrollSpeed):e(window).height()-(t.pageY-e(s).scrollTop())<o.scrollSensitivity&&(a=e(s).scrollTop(e(s).scrollTop()+o.scrollSpeed))),o.axis&&"y"===o.axis||(t.pageX-e(s).scrollLeft()<o.scrollSensitivity?a=e(s).scrollLeft(e(s).scrollLeft()-o.scrollSpeed):e(window).width()-(t.pageX-e(s).scrollLeft())<o.scrollSensitivity&&(a=e(s).scrollLeft(e(s).scrollLeft()+o.scrollSpeed)))),!1!==a&&e.ui.ddmanager&&!o.dropBehaviour&&e.ui.ddmanager.prepareOffsets(n,t)}}),e.ui.plugin.add("draggable","snap",{start:function(t,i,n){var o=n.options;n.snapElements=[],e(o.snap.constructor!==String?o.snap.items||":data(ui-draggable)":o.snap).each(function(){var t=e(this),i=t.offset();this!==n.element[0]&&n.snapElements.push({item:this,width:t.outerWidth(),height:t.outerHeight(),top:i.top,left:i.left})})},drag:function(t,i,n){var o,a,r,s,l,d,c,p,u,f,h=n.options,g=h.snapTolerance,m=i.offset.left,y=m+n.helperProportions.width,v=i.offset.top,w=v+n.helperProportions.height;for(u=n.snapElements.length-1;u>=0;u--)l=n.snapElements[u].left-n.margins.left,d=l+n.snapElements[u].width,c=n.snapElements[u].top-n.margins.top,p=c+n.snapElements[u].height,l-g>y||m>d+g||c-g>w||v>p+g||!e.contains(n.snapElements[u].item.ownerDocument,n.snapElements[u].item)?(n.snapElements[u].snapping&&n.options.snap.release&&n.options.snap.release.call(n.element,t,e.extend(n._uiHash(),{snapItem:n.snapElements[u].item})),n.snapElements[u].snapping=!1):("inner"!==h.snapMode&&(o=g>=Math.abs(c-w),a=g>=Math.abs(p-v),r=g>=Math.abs(l-y),s=g>=Math.abs(d-m),o&&(i.position.top=n._convertPositionTo("relative",{top:c-n.helperProportions.height,left:0}).top),a&&(i.position.top=n._convertPositionTo("relative",{top:p,left:0}).top),r&&(i.position.left=n._convertPositionTo("relative",{top:0,left:l-n.helperProportions.width}).left),s&&(i.position.left=n._convertPositionTo("relative",{top:0,left:d}).left)),f=o||a||r||s,"outer"!==h.snapMode&&(o=g>=Math.abs(c-v),a=g>=Math.abs(p-w),r=g>=Math.abs(l-m),s=g>=Math.abs(d-y),o&&(i.position.top=n._convertPositionTo("relative",{top:c,left:0}).top),a&&(i.position.top=n._convertPositionTo("relative",{top:p-n.helperProportions.height,left:0}).top),r&&(i.position.left=n._convertPositionTo("relative",{top:0,left:l}).left),s&&(i.position.left=n._convertPositionTo("relative",{top:0,left:d-n.helperProportions.width}).left)),!n.snapElements[u].snapping&&(o||a||r||s||f)&&n.options.snap.snap&&n.options.snap.snap.call(n.element,t,e.extend(n._uiHash(),{snapItem:n.snapElements[u].item})),n.snapElements[u].snapping=o||a||r||s||f)}}),e.ui.plugin.add("draggable","stack",{start:function(t,i,n){var o,a=n.options,r=e.makeArray(e(a.stack)).sort(function(t,i){return(parseInt(e(t).css("zIndex"),10)||0)-(parseInt(e(i).css("zIndex"),10)||0)});r.length&&(o=parseInt(e(r[0]).css("zIndex"),10)||0,e(r).each(function(t){e(this).css("zIndex",o+t)}),this.css("zIndex",o+r.length))}}),e.ui.plugin.add("draggable","zIndex",{start:function(t,i,n){var o=e(i.helper),a=n.options;o.css("zIndex")&&(a._zIndex=o.css("zIndex")),o.css("zIndex",a.zIndex)},stop:function(t,i,n){var o=n.options;o._zIndex&&e(i.helper).css("zIndex",o._zIndex)}}),e.ui.draggable;var o="ui-effects-",a="ui-effects-style",s="ui-effects-animated",l=e;e.effects={effect:{}},function(e,t){function i(e,t,i){var n=c[t.type]||{};return null==e?i||!t.def?null:t.def:(e=n.floor?~~e:parseFloat(e),isNaN(e)?t.def:n.mod?(e+n.mod)%n.mod:0>e?0:e>n.max?n.max:e)}function n(i){var n=l(),o=n._rgba=[];return i=i.toLowerCase(),f(s,function(e,a){var r,s=a.re.exec(i),l=s&&a.parse(s),c=a.space||"rgba";return l?(r=n[c](l),n[d[c].cache]=r[d[c].cache],o=n._rgba=r._rgba,!1):t}),o.length?("0,0,0,0"===o.join()&&e.extend(o,a.transparent),n):a[i]}function o(e,t,i){return 1>6*(i=(i+1)%1)?e+6*(t-e)*i:1>2*i?t:2>3*i?e+6*(t-e)*(2/3-i):e}var a,r=/^([\-+])=\s*(\d+\.?\d*)/,s=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],l=e.Color=function(t,i,n,o){return new e.Color.fn.parse(t,i,n,o)},d={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},c={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},p=l.support={},u=e("<p>")[0],f=e.each;u.style.cssText="background-color:rgba(1,1,1,.5)",p.rgba=u.style.backgroundColor.indexOf("rgba")>-1,f(d,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),l.fn=e.extend(l.prototype,{parse:function(o,r,s,c){if(o===t)return this._rgba=[null,null,null,null],this;(o.jquery||o.nodeType)&&(o=e(o).css(r),r=t);var p=this,u=e.type(o),h=this._rgba=[];return r!==t&&(o=[o,r,s,c],u="array"),"string"===u?this.parse(n(o)||a._default):"array"===u?(f(d.rgba.props,function(e,t){h[t.idx]=i(o[t.idx],t)}),this):"object"===u?(f(d,o instanceof l?function(e,t){o[t.cache]&&(p[t.cache]=o[t.cache].slice())}:function(t,n){var a=n.cache;f(n.props,function(e,t){if(!p[a]&&n.to){if("alpha"===e||null==o[e])return;p[a]=n.to(p._rgba)}p[a][t.idx]=i(o[e],t,!0)}),p[a]&&0>e.inArray(null,p[a].slice(0,3))&&(p[a][3]=1,n.from&&(p._rgba=n.from(p[a])))}),this):t},is:function(e){var i=l(e),n=!0,o=this;return f(d,function(e,a){var r,s=i[a.cache];return s&&(r=o[a.cache]||a.to&&a.to(o._rgba)||[],f(a.props,function(e,i){return null!=s[i.idx]?n=s[i.idx]===r[i.idx]:t})),n}),n},_space:function(){var e=[],t=this;return f(d,function(i,n){t[n.cache]&&e.push(i)}),e.pop()},transition:function(e,t){var n=l(e),o=n._space(),a=d[o],r=0===this.alpha()?l("transparent"):this,s=r[a.cache]||a.to(r._rgba),p=s.slice();return n=n[a.cache],f(a.props,function(e,o){var a=o.idx,r=s[a],l=n[a],d=c[o.type]||{};null!==l&&(null===r?p[a]=l:(d.mod&&(l-r>d.mod/2?r+=d.mod:r-l>d.mod/2&&(r-=d.mod)),p[a]=i((l-r)*t+r,o)))}),this[o](p)},blend:function(t){if(1===this._rgba[3])return this;var i=this._rgba.slice(),n=i.pop(),o=l(t)._rgba;return l(e.map(i,function(e,t){return(1-n)*o[t]+n*e}))},toRgbaString:function(){var t="rgba(",i=e.map(this._rgba,function(e,t){return null==e?t>2?1:0:e});return 1===i[3]&&(i.pop(),t="rgb("),t+i.join()+")"},toHslaString:function(){var t="hsla(",i=e.map(this.hsla(),function(e,t){return null==e&&(e=t>2?1:0),t&&3>t&&(e=Math.round(100*e)+"%"),e});return 1===i[3]&&(i.pop(),t="hsl("),t+i.join()+")"},toHexString:function(t){var i=this._rgba.slice(),n=i.pop();return t&&i.push(~~(255*n)),"#"+e.map(i,function(e){return 1===(e=(e||0).toString(16)).length?"0"+e:e}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),l.fn.parse.prototype=l.fn,d.hsla.to=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t,i,n=e[0]/255,o=e[1]/255,a=e[2]/255,r=e[3],s=Math.max(n,o,a),l=Math.min(n,o,a),d=s-l,c=s+l,p=.5*c;return t=l===s?0:n===s?60*(o-a)/d+360:o===s?60*(a-n)/d+120:60*(n-o)/d+240,i=0===d?0:.5>=p?d/c:d/(2-c),[Math.round(t)%360,i,p,null==r?1:r]},d.hsla.from=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/360,i=e[1],n=e[2],a=e[3],r=.5>=n?n*(1+i):n+i-n*i,s=2*n-r;return[Math.round(255*o(s,r,t+1/3)),Math.round(255*o(s,r,t)),Math.round(255*o(s,r,t-1/3)),a]},f(d,function(n,o){var a=o.props,s=o.cache,d=o.to,c=o.from;l.fn[n]=function(n){if(d&&!this[s]&&(this[s]=d(this._rgba)),n===t)return this[s].slice();var o,r=e.type(n),p="array"===r||"object"===r?n:arguments,u=this[s].slice();return f(a,function(e,t){var n=p["object"===r?e:t.idx];null==n&&(n=u[t.idx]),u[t.idx]=i(n,t)}),c?((o=l(c(u)))[s]=u,o):l(u)},f(a,function(t,i){l.fn[t]||(l.fn[t]=function(o){var a,s=e.type(o),l="alpha"===t?this._hsla?"hsla":"rgba":n,d=this[l](),c=d[i.idx];return"undefined"===s?c:("function"===s&&(o=o.call(this,c),s=e.type(o)),null==o&&i.empty?this:("string"===s&&(a=r.exec(o))&&(o=c+parseFloat(a[2])*("+"===a[1]?1:-1)),d[i.idx]=o,this[l](d)))})})}),l.hook=function(t){var i=t.split(" ");f(i,function(t,i){e.cssHooks[i]={set:function(t,o){var a,r,s="";if("transparent"!==o&&("string"!==e.type(o)||(a=n(o)))){if(o=l(a||o),!p.rgba&&1!==o._rgba[3]){for(r="backgroundColor"===i?t.parentNode:t;(""===s||"transparent"===s)&&r&&r.style;)try{s=e.css(r,"backgroundColor"),r=r.parentNode}catch(e){}o=o.blend(s&&"transparent"!==s?s:"_default")}o=o.toRgbaString()}try{t.style[i]=o}catch(e){}}},e.fx.step[i]=function(t){t.colorInit||(t.start=l(t.elem,i),t.end=l(t.end),t.colorInit=!0),e.cssHooks[i].set(t.elem,t.start.transition(t.end,t.pos))}})},l.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),e.cssHooks.borderColor={expand:function(e){var t={};return f(["Top","Right","Bottom","Left"],function(i,n){t["border"+n+"Color"]=e}),t}},a=e.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(l),function(){function t(t){var i,n,o=t.ownerDocument.defaultView?t.ownerDocument.defaultView.getComputedStyle(t,null):t.currentStyle,a={};if(o&&o.length&&o[0]&&o[o[0]])for(n=o.length;n--;)i=o[n],"string"==typeof o[i]&&(a[e.camelCase(i)]=o[i]);else for(i in o)"string"==typeof o[i]&&(a[i]=o[i]);return a}function i(t,i){var n,a,r={};for(n in i)a=i[n],t[n]!==a&&(o[n]||(e.fx.step[n]||!isNaN(parseFloat(a)))&&(r[n]=a));return r}var n=["add","remove","toggle"],o={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};e.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(t,i){e.fx.step[i]=function(e){("none"!==e.end&&!e.setAttr||1===e.pos&&!e.setAttr)&&(l.style(e.elem,i,e.end),e.setAttr=!0)}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e.effects.animateClass=function(o,a,r,s){var l=e.speed(a,r,s);return this.queue(function(){var a,r=e(this),s=r.attr("class")||"",d=l.children?r.find("*").addBack():r;d=d.map(function(){var i=e(this);return{el:i,start:t(this)}}),(a=function(){e.each(n,function(e,t){o[t]&&r[t+"Class"](o[t])})})(),d=d.map(function(){return this.end=t(this.el[0]),this.diff=i(this.start,this.end),this}),r.attr("class",s),d=d.map(function(){var t=this,i=e.Deferred(),n=e.extend({},l,{queue:!1,complete:function(){i.resolve(t)}});return this.el.animate(this.diff,n),i.promise()}),e.when.apply(e,d.get()).done(function(){a(),e.each(arguments,function(){var t=this.el;e.each(this.diff,function(e){t.css(e,"")})}),l.complete.call(r[0])})})},e.fn.extend({addClass:function(t){return function(i,n,o,a){return n?e.effects.animateClass.call(this,{add:i},n,o,a):t.apply(this,arguments)}}(e.fn.addClass),removeClass:function(t){return function(i,n,o,a){return arguments.length>1?e.effects.animateClass.call(this,{remove:i},n,o,a):t.apply(this,arguments)}}(e.fn.removeClass),toggleClass:function(t){return function(i,n,o,a,r){return"boolean"==typeof n||void 0===n?o?e.effects.animateClass.call(this,n?{add:i}:{remove:i},o,a,r):t.apply(this,arguments):e.effects.animateClass.call(this,{toggle:i},n,o,a)}}(e.fn.toggleClass),switchClass:function(t,i,n,o,a){return e.effects.animateClass.call(this,{add:i,remove:t},n,o,a)}})}(),function(){function t(t,i,n,o){return e.isPlainObject(t)&&(i=t,t=t.effect),t={effect:t},null==i&&(i={}),e.isFunction(i)&&(o=i,n=null,i={}),("number"==typeof i||e.fx.speeds[i])&&(o=n,n=i,i={}),e.isFunction(n)&&(o=n,n=null),i&&e.extend(t,i),n=n||i.duration,t.duration=e.fx.off?0:"number"==typeof n?n:n in e.fx.speeds?e.fx.speeds[n]:e.fx.speeds._default,t.complete=o||i.complete,t}function i(t){return!(t&&"number"!=typeof t&&!e.fx.speeds[t])||"string"==typeof t&&!e.effects.effect[t]||!!e.isFunction(t)||"object"==(void 0===t?"undefined":r(t))&&!t.effect}function n(e,t){var i=t.outerWidth(),n=t.outerHeight(),o=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/.exec(e)||["",0,i,n,0];return{top:parseFloat(o[1])||0,right:"auto"===o[2]?i:parseFloat(o[2]),bottom:"auto"===o[3]?n:parseFloat(o[3]),left:parseFloat(o[4])||0}}e.expr&&e.expr.filters&&e.expr.filters.animated&&(e.expr.filters.animated=function(t){return function(i){return!!e(i).data(s)||t(i)}}(e.expr.filters.animated)),!1!==e.uiBackCompat&&e.extend(e.effects,{save:function(e,t){for(var i=0,n=t.length;n>i;i++)null!==t[i]&&e.data(o+t[i],e[0].style[t[i]])},restore:function(e,t){for(var i,n=0,a=t.length;a>n;n++)null!==t[n]&&(i=e.data(o+t[n]),e.css(t[n],i))},setMode:function(e,t){return"toggle"===t&&(t=e.is(":hidden")?"show":"hide"),t},createWrapper:function(t){if(t.parent().is(".ui-effects-wrapper"))return t.parent();var i={width:t.outerWidth(!0),height:t.outerHeight(!0),float:t.css("float")},n=e("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),o={width:t.width(),height:t.height()},a=document.activeElement;try{a.id}catch(e){a=document.body}return t.wrap(n),(t[0]===a||e.contains(t[0],a))&&e(a).trigger("focus"),n=t.parent(),"static"===t.css("position")?(n.css({position:"relative"}),t.css({position:"relative"})):(e.extend(i,{position:t.css("position"),zIndex:t.css("z-index")}),e.each(["top","left","bottom","right"],function(e,n){i[n]=t.css(n),isNaN(parseInt(i[n],10))&&(i[n]="auto")}),t.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),t.css(o),n.css(i).show()},removeWrapper:function(t){var i=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),(t[0]===i||e.contains(t[0],i))&&e(i).trigger("focus")),t}}),e.extend(e.effects,{version:"1.12.1",define:function(t,i,n){return n||(n=i,i="effect"),e.effects.effect[t]=n,e.effects.effect[t].mode=i,n},scaledDimensions:function(e,t,i){if(0===t)return{height:0,width:0,outerHeight:0,outerWidth:0};var n="horizontal"!==i?(t||100)/100:1,o="vertical"!==i?(t||100)/100:1;return{height:e.height()*o,width:e.width()*n,outerHeight:e.outerHeight()*o,outerWidth:e.outerWidth()*n}},clipToBox:function(e){return{width:e.clip.right-e.clip.left,height:e.clip.bottom-e.clip.top,left:e.clip.left,top:e.clip.top}},unshift:function(e,t,i){var n=e.queue();t>1&&n.splice.apply(n,[1,0].concat(n.splice(t,i))),e.dequeue()},saveStyle:function(e){e.data(a,e[0].style.cssText)},restoreStyle:function(e){e[0].style.cssText=e.data(a)||"",e.removeData(a)},mode:function(e,t){var i=e.is(":hidden");return"toggle"===t&&(t=i?"show":"hide"),(i?"hide"===t:"show"===t)&&(t="none"),t},getBaseline:function(e,t){var i,n;switch(e[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=e[0]/t.height}switch(e[1]){case"left":n=0;break;case"center":n=.5;break;case"right":n=1;break;default:n=e[1]/t.width}return{x:n,y:i}},createPlaceholder:function(t){var i,n=t.css("position"),a=t.position();return t.css({marginTop:t.css("marginTop"),marginBottom:t.css("marginBottom"),marginLeft:t.css("marginLeft"),marginRight:t.css("marginRight")}).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()),/^(static|relative)/.test(n)&&(n="absolute",i=e("<"+t[0].nodeName+">").insertAfter(t).css({display:/^(inline|ruby)/.test(t.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:t.css("marginTop"),marginBottom:t.css("marginBottom"),marginLeft:t.css("marginLeft"),marginRight:t.css("marginRight"),float:t.css("float")}).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).addClass("ui-effects-placeholder"),t.data(o+"placeholder",i)),t.css({position:n,left:a.left,top:a.top}),i},removePlaceholder:function(e){var t=o+"placeholder",i=e.data(t);i&&(i.remove(),e.removeData(t))},cleanUp:function(t){e.effects.restoreStyle(t),e.effects.removePlaceholder(t)},setTransition:function(t,i,n,o){return o=o||{},e.each(i,function(e,i){var a=t.cssUnit(i);a[0]>0&&(o[i]=a[0]*n+a[1])}),o}}),e.fn.extend({effect:function(){function i(t){function i(){e.isFunction(d)&&d.call(r[0]),e.isFunction(t)&&t()}var r=e(this);n.mode=p.shift(),!1===e.uiBackCompat||a?"none"===n.mode?(r[c](),i()):o.call(r[0],n,function(){r.removeData(s),e.effects.cleanUp(r),"hide"===n.mode&&r.hide(),i()}):(r.is(":hidden")?"hide"===c:"show"===c)?(r[c](),i()):o.call(r[0],n,i)}var n=t.apply(this,arguments),o=e.effects.effect[n.effect],a=o.mode,r=n.queue,l=r||"fx",d=n.complete,c=n.mode,p=[],u=function(t){var i=e(this),n=e.effects.mode(i,c)||a;i.data(s,!0),p.push(n),a&&("show"===n||n===a&&"hide"===n)&&i.show(),a&&"none"===n||e.effects.saveStyle(i),e.isFunction(t)&&t()};return e.fx.off||!o?c?this[c](n.duration,d):this.each(function(){d&&d.call(this)}):!1===r?this.each(u).each(i):this.queue(l,u).queue(l,i)},show:function(e){return function(n){if(i(n))return e.apply(this,arguments);var o=t.apply(this,arguments);return o.mode="show",this.effect.call(this,o)}}(e.fn.show),hide:function(e){return function(n){if(i(n))return e.apply(this,arguments);var o=t.apply(this,arguments);return o.mode="hide",this.effect.call(this,o)}}(e.fn.hide),toggle:function(e){return function(n){if(i(n)||"boolean"==typeof n)return e.apply(this,arguments);var o=t.apply(this,arguments);return o.mode="toggle",this.effect.call(this,o)}}(e.fn.toggle),cssUnit:function(t){var i=this.css(t),n=[];return e.each(["em","px","%","pt"],function(e,t){i.indexOf(t)>0&&(n=[parseFloat(i),t])}),n},cssClip:function(e){return e?this.css("clip","rect("+e.top+"px "+e.right+"px "+e.bottom+"px "+e.left+"px)"):n(this.css("clip"),this)},transfer:function(t,i){var n=e(this),o=e(t.to),a="fixed"===o.css("position"),r=e("body"),s=a?r.scrollTop():0,l=a?r.scrollLeft():0,d=o.offset(),c={top:d.top-s,left:d.left-l,height:o.innerHeight(),width:o.innerWidth()},p=n.offset(),u=e("<div class='ui-effects-transfer'></div>").appendTo("body").addClass(t.className).css({top:p.top-s,left:p.left-l,height:n.innerHeight(),width:n.innerWidth(),position:a?"fixed":"absolute"}).animate(c,t.duration,t.easing,function(){u.remove(),e.isFunction(i)&&i()})}}),e.fx.step.clip=function(t){t.clipInit||(t.start=e(t.elem).cssClip(),"string"==typeof t.end&&(t.end=n(t.end,t.elem)),t.clipInit=!0),e(t.elem).cssClip({top:t.pos*(t.end.top-t.start.top)+t.start.top,right:t.pos*(t.end.right-t.start.right)+t.start.right,bottom:t.pos*(t.end.bottom-t.start.bottom)+t.start.bottom,left:t.pos*(t.end.left-t.start.left)+t.start.left})}}(),function(){var t={};e.each(["Quad","Cubic","Quart","Quint","Expo"],function(e,i){t[i]=function(t){return Math.pow(t,e+2)}}),e.extend(t,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,i=4;((t=Math.pow(2,--i))-1)/11>e;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*t-2)/22-e,2)}}),e.each(t,function(t,i){e.easing["easeIn"+t]=i,e.easing["easeOut"+t]=function(e){return 1-i(1-e)},e.easing["easeInOut"+t]=function(e){return.5>e?i(2*e)/2:1-i(-2*e+2)/2}})}(),e.effects,e.effects.define("bounce",function(t,i){var n,o,a,r=e(this),s=t.mode,l="hide"===s,d="show"===s,c=t.direction||"up",p=t.distance,u=t.times||5,f=2*u+(d||l?1:0),h=t.duration/f,g=t.easing,m="up"===c||"down"===c?"top":"left",y="up"===c||"left"===c,v=0,w=r.queue().length;for(e.effects.createPlaceholder(r),a=r.css(m),p||(p=r["top"===m?"outerHeight":"outerWidth"]()/3),d&&((o={opacity:1})[m]=a,r.css("opacity",0).css(m,y?2*-p:2*p).animate(o,h,g)),l&&(p/=Math.pow(2,u-1)),(o={})[m]=a;u>v;v++)(n={})[m]=(y?"-=":"+=")+p,r.animate(n,h,g).animate(o,h,g),p=l?2*p:p/2;l&&((n={opacity:0})[m]=(y?"-=":"+=")+p,r.animate(n,h,g)),r.queue(i),e.effects.unshift(r,w,f+1)}),e.effects.define("slide","show",function(t,i){var n,o,a=e(this),r={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},s=t.mode,l=t.direction||"left",d="up"===l||"down"===l?"top":"left",c="up"===l||"left"===l,p=t.distance||a["top"===d?"outerHeight":"outerWidth"](!0),u={};e.effects.createPlaceholder(a),n=a.cssClip(),o=a.position()[d],u[d]=(c?-1:1)*p+o,u.clip=a.cssClip(),u.clip[r[l][1]]=u.clip[r[l][0]],"show"===s&&(a.cssClip(u.clip),a.css(d,u[d]),u.clip=n,u[d]=o),a.animate(u,{queue:!1,duration:t.duration,easing:t.easing,complete:i})})})?n.apply(t,o):n)||(e.exports=a)},function(e,t,i){"use strict";!function(e){var t="jquery-flipbox";function i(e,t){t=t||{},this.$element=e,this.rotation=0,this.contents=this.$element.children().detach().map(function(){return this}),this.contentIndex=Math.min(Math.max(t.index,0),this.contents.length-1)||0,this.config(t),this.create()}i.prototype.config=function(t){t=t||{},this.options&&(delete t.vertical,delete t.width,delete t.height),this.options=e.extend({vertical:!1,width:this.$element.width(),height:this.$element.height(),animationDuration:400,animationEasing:"ease",autoplay:!1,autoplayReverse:!1,autoplayWaitDuration:3e3,autoplayPauseOnHover:!1},this.options,t)},i.prototype.create=function(){var i=this;this.$element.addClass("flipbox-wrapper"),this.$box=e("<div></div>").addClass("flipbox-box").css("transition-duration",(this.options.animationDuration||0)+"ms").css("transition-timing-function",this.options.animationEasing).appendTo(this.$element),this.$front=e("<div></div>").addClass("flipbox-side flipbox-front").appendTo(this.$box),this.$back=e("<div></div>").addClass("flipbox-side flipbox-back").appendTo(this.$box),this.options.vertical?(this.$box.addClass("flipbox-vertical"),this.$top=e("<div></div>").addClass("flipbox-side flipbox-top").appendTo(this.$box),this.$bottom=e("<div></div>").addClass("flipbox-side flipbox-bottom").appendTo(this.$box)):(this.$box.addClass("flipbox-horizontal"),this.$left=e("<div></div>").addClass("flipbox-side flipbox-left").appendTo(this.$box),this.$right=e("<div></div>").addClass("flipbox-side flipbox-right").appendTo(this.$box)),this.$front.append(this.contents[this.contentIndex]),this.options.autoplay&&this.options.autoplayPauseOnHover&&this.$element.on("mouseenter."+t,function(){i.toggleAutoplay(!1)}).on("mouseleave."+t,function(){i.toggleAutoplay(!0)}),this.resize(),this.toggleAutoplay(this.options.autoplay),e(window).on("focus."+t,function(){i.toggleAutoplay(i.options.autoplay)}),e(window).on("blur."+t,function(){i.toggleAutoplay(!1)}),this.trigger("created")},i.prototype.update=function(){if(this.$box.css("transition-duration",(this.options.animationDuration||0)+"ms").css("transition-timing-function",this.options.animationEasing),this.$element.off("mouseenter."+t+" mouseleave."+t),this.options.autoplay&&this.options.autoplayPauseOnHover){var e=this;this.$element.on("mouseenter."+t,function(){e.toggleAutoplay(!1)}).on("mouseleave."+t,function(){e.toggleAutoplay(!0)})}this.resize(),this.toggleAutoplay(this.options.autoplay),this.trigger("updated")},i.prototype.destroy=function(){e(window).off("focus."+t+" blur."+t),this.$element.off("mouseenter."+t+" mouseleave."+t),this.$element.removeClass("flipbox-wrapper"),this.$element.empty(),this.$element.append(this.contents),this.trigger("destroyed")},i.prototype.resize=function(){this.options.vertical?(this.$box.css("transform-origin","0 "+this.options.height/2+"px -"+this.options.height/2+"px"),this.$back.css("transform","translateZ(-"+this.options.height+"px) rotateX(180deg)"),this.$top.css("transform","rotateX(-270deg) translateY(-"+this.options.height+"px)"),this.$bottom.css("transform","rotateX(-90deg) translateY("+this.options.height+"px)")):(this.$box.css("transform-origin",this.options.width/2+"px 0 -"+this.options.width/2+"px"),this.$back.css("transform","translateZ(-"+this.options.width+"px) rotateY(180deg)"),this.$left.css("transform","rotateY(270deg) translateX(-"+this.options.width+"px)"),this.$right.css("transform","rotateY(-270deg) translateX("+this.options.width+"px)"))},i.prototype.displayContent=function(e,t){if(this.contentIndex!==e){var i=this.getNextSide(t);i.find(">").detach(),i.append(this.contents[e]);var n=this.contentIndex;this.contentIndex=e,this.flip(t,n,e)}},i.prototype.refreshCurrentContent=function(){var e=this.getCurrentSide();e.find(">").detach(),e.append(this.contents[this.contentIndex])},i.prototype.addContent=function(t,i){i=i||0===i?i:this.contents.length,i=Math.min(Math.max(0,i),this.contents.length),this.contents.splice(i,0,e(t)[0]),this.contentIndex=Math.max(this.contentIndex,0),this.contentIndex===i&&this.refreshCurrentContent(),this.trigger("added",{index:i})},i.prototype.removeContent=function(e){e=Math.min(Math.max(0,e),this.contents.length),this.contents.splice(e,1),this.contentIndex===e&&(this.contentIndex=Math.min(this.contentIndex,this.contents.length-1),this.refreshCurrentContent()),this.trigger("removed",{index:e})},i.prototype.replaceContent=function(t,i){i=i||0===i?i:this.contentIndex,i=Math.min(Math.max(0,i),this.contents.length),this.contents[i]=e(t)[0],this.contentIndex===i&&this.refreshCurrentContent(),this.trigger("replaced",{index:i})},i.prototype.flip=function(e,i,n){var o=this;this.trigger("flipping",{reverse:e,currentIndex:i,nextIndex:n}),this.$box.off("transitionend."+t).one("transitionend."+t,function(){o.trigger("flipped",{reverse:e,prevIndex:i,currentIndex:n})}),this.options.vertical?(this.rotation+=90*(e?-1:1),this.$box.css("transform","rotateX("+this.rotation+"deg)")):(this.rotation-=90*(e?-1:1),this.$box.css("transform","rotateY("+this.rotation+"deg)"))},i.prototype.getCurrentSide=function(){var e=this.rotation/90%4;return e=e<0?4+e:e,this.options.vertical?0===e?this.$front:1===e?this.$bottom:2===e?this.$back:this.$top:0===e?this.$front:1===e?this.$left:2===e?this.$back:this.$right},i.prototype.getNextSide=function(e){var t=this.rotation/90%4;return t=t<0?4+t:t,this.options.vertical?0===t?e?this.$top:this.$bottom:1===t?e?this.$front:this.$back:2===t?e?this.$bottom:this.$top:e?this.$back:this.$front:0===t?e?this.$left:this.$right:1===t?e?this.$back:this.$front:2===t?e?this.$right:this.$left:e?this.$front:this.$back},i.prototype.toggleAutoplay=function(e){if(clearInterval(this.autoplayTimer),e){var t=this;this.autoplayTimer=setInterval(function(){t.next(t.options.autoplayReverse)},this.options.autoplayWaitDuration)}},i.prototype.next=function(e){this.displayContent(this.contentIndex+1<this.contents.length?this.contentIndex+1:0,e)},i.prototype.prev=function(e){this.displayContent(this.contentIndex>0?this.contentIndex-1:this.contents.length-1,e)},i.prototype.jump=function(e,t){this.displayContent(Math.min(Math.max(e,0),this.contents.length-1),t)},i.prototype.trigger=function(e,t){this.$element.trigger(e,t)},e.fn.flipbox=function(n){var o=arguments;return"size"===n?e(this).data(t).contents.length:"current"===n?e(this).data(t).contentIndex:this.each(function(){var a=e(this),r=a.data(t);"destroy"===n?(r.destroy(),a.data(t,null)):"next"===n?r.next(o[1]):"prev"===n?r.prev(o[1]):"jump"===n?r.jump(o[1],o[2]):"add"===n?r.addContent(o[1],o[2]):"remove"===n?r.removeContent(o[1]):"replace"===n?r.replaceContent(o[1],o[2]):r?(r.config(n),r.update()):(r=new i(a,n),a.data(t,r))})}}(acpjQuery)},function(e,t,i){"use strict";(function(){function e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments[2],n=arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=document.createElement("div");return a.style.background="url('"+e+"') no-repeat",a.style.backgroundSize="100% 100%",a.style.position="absolute",a.style.width=i+"px",a.style.height=i+"px",a.style.transform=n,t&&(a.onclick=function(){return window.open(t,"_blank"),!1}),null!==o&&(a.style.transformOrigin=o),a}function t(t){var i=function(e){var t=parseFloat(e.dataset.size),i=void 0!==e.dataset.direction&&"left"==e.dataset.direction?"left":"right",n=e.dataset.speed,o=e.dataset.image,a=e.dataset.image,r=e.dataset.image,s=e.dataset.image,l=e.dataset.linkFront,d=e.dataset.linkRight,c=e.dataset.linkBack,p=e.dataset.linkLeft;return void 0!==e.dataset.imageFront&&(o=e.dataset.imageFront),void 0!==e.dataset.imageRight&&(a=e.dataset.imageRight),void 0!==e.dataset.imageBack&&(r=e.dataset.imageBack),void 0!==e.dataset.imageLeft&&(s=e.dataset.imageLeft),{size:t,speed:n,spinDirection:i,imageFront:o,imageRight:a,imageBack:r,imageLeft:s,linkFront:l,linkRight:d,linkBack:c,linkLeft:p}}(t);!function(e,t,i){var n=document.createElement("div");n.style.paddingLeft=i.size/4+"px",n.style.paddingTop=i.size/10+"px",n.style.perspective=4*i.size+"px",n.style.perspectiveOrigin="50% "+i.size/2+"px";var o=document.createElement("div");o.style.animation="dimage-spin-"+i.spinDirection+" "+i.speed+"s infinite linear",o.style.position="relative",o.style.width=i.size+"px",o.style.transformStyle="preserve-3d",t.forEach(function(e){return o.appendChild(e)}),n.appendChild(o),e.style.width=1.5*i.size+"px",e.style.height=1.3*i.size+"px",e.appendChild(n)}(t,[e(i.imageFront,i.linkFront,i.size,"translateZ("+i.size/2+"px)"),e(i.imageRight,i.linkRight,i.size,"rotateY(90deg) translateX("+i.size/2+"px)","top right"),e(i.imageBack,i.linkBack,i.size,"translateZ(-"+i.size/2+"px) rotateY(180deg)"),e(i.imageLeft,i.linkLeft,i.size,"rotateY(270deg) translateX(-"+i.size/2+"px)","center left")],i)}return i=document.createElement("style"),i.type="text/css",i.innerHTML="    @keyframes dimage-spin-right {        from {            transform: rotateY(0);        }        to {            transform: rotateY(360deg);          }    }    @keyframes dimage-spin-left {        from {            transform: rotateY(360deg);          }         to {            transform: rotateY(0);        }    }",document.getElementsByTagName("head")[0].appendChild(i),{initDimages:function(){for(var e=document.getElementsByClassName("dimage"),i=e.length-1;i>=0;i--)t(e[i])}};var i})().initDimages()}]);
//# sourceMappingURL=chat_plugin.js.map