/*!
 * 
 * MCAFEE RESTRICTED CONFIDENTIAL
 * Copyright (c) 2020 McAfee, LLC
 * 
 * The source code contained or described herein and all documents related
 * to the source code ("Material") are owned by McAfee or its
 * suppliers or licensors. Title to the Material remains with McAfee
 * or its suppliers and licensors. The Material contains trade
 * secrets and proprietary and confidential information of McAfee or its
 * suppliers and licensors. The Material is protected by worldwide copyright
 * and trade secret laws and treaty provisions. No part of the Material may
 * be used, copied, reproduced, modified, published, uploaded, posted,
 * transmitted, distributed, or disclosed in any way without McAfee's prior
 * express written permission.
 * 
 * No license under any patent, copyright, trade secret or other intellectual
 * property right is granted to or conferred upon you by disclosure or
 * delivery of the Materials, either expressly, by implication, inducement,
 * estoppel or otherwise. Any license under such intellectual property rights
 * must be expressed and approved by McAfee in writing.
 * 
 * 
 */!function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=94)}([function(e,t,n){"use strict";n.d(t,"f",(function(){return r})),n.d(t,"e",(function(){return o})),n.d(t,"d",(function(){return s})),n.d(t,"k",(function(){return a})),n.d(t,"j",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"h",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return p})),n.d(t,"l",(function(){return L})),n.d(t,"n",(function(){return v})),n.d(t,"m",(function(){return R})),n.d(t,"c",(function(){return D}));var i=n(2);const r={WHITELIST:"whitelist",PREFERENCE:"preference",STATISTICS:"statistics",ABOUT:"about"},o={ADBLOCK:{BUBBLE:"AdblockBubble",WHITELISTED:"AdblockWhitelisted"},ADBLOCK_INTERACTION:"AdBlock_Interaction",BADGE:"Badge",BLOCK_PAGE:"Block_Page",BROWSER_ACTION_CLICKED:"BrowserAction_Clicked",BROWSER_BADGE_UPDATE:"BrowserBadgeUpdate",BROWSER_NAVIGATE:"Browser_Navigate",CRYPTOJACKING_BLOCK:"Cryptojacking_Block",DOWNLOAD_BLOCK:"Download_Block",DOWNLOAD_SCAN_UI:"Download_Scan_UI",GET_SEARCH_EXTENSION:"EmbedSearchExtension",PRODUCT_UPSELL_PROMPT:"ProductUpsellPrompt",PRODUCT_UPSELL_TOAST:"ProductUpsellToast",PROFILE_INFO:"ProfileInfo",SEARCH_SUGGEST:"SearchSuggest",SEARCH_SUGGEST_BLOCK_PAGE:"SearchSuggest_BlockPage",SEARCH_SUGGEST_TYPOSQUATTING:"SearchSuggest_TypoSquatting",SECURE_SEARCH:"Secure_Search",SECURE_SEARCH_HIT:"Secure_Search_Hit",SIDEBAR_PANEL:"SideBar_Panel",SITE_REPORT:"SiteReport",SMA_REPUTATION:"SMA_Reputation",TOAST:"Toast",TYPOSQUATTING:"Typosquatting",AMAZON_UPSELL_SIDEBAR_TOAST:"AmazonUpsellSidebarToast",REMOTE_ACCESS_TROJAN:"RemoteAccessTrojan",SECURE_SEARCH_TOAST:"Secure_Search_Toast",FIND_SIMILAR_PAGES:"SimilarPages",WELCOME_SS_ON:"WelcomeSSON",WSS_ANALYTICS:"WSS_Analytics"},s={SECURE_SEARCH_TOAST:"SecureSearchToast"},a={FIRST_ANNOTATION:"FirstAnnotation"},c={YAHOO:"Yahoo"},l={BROWSER_ACTION_CLICKED:"BrowserActionClicked",TYPOSQUATTING:"Typosquatting",BLOCK_PAGE:"BlockPage",SECURE_SEARCH_HIT:"SecureSearchHit",CRYPTOJACKING_BLOCK:"CryptojackingBlock",SIDEBAR_PANEL:"SideBarPanel",SMA_REPUTATION:"SMAReputation",DOWNLOAD_SCAN_UI:"DownloadScanUI",DOWNLOAD_BLOCK:"DownloadBlock"},u={IMPRESSION:"Impression",WEBADVISOR:"WebAdvisor",CRYPTOJACKING:{LEARN_MORE_CLICKED:"LearnMoreClicked",WHITELISTED:"Whitelisted"},SIDEBAR_PANEL:{SMA:"SocialMediaAnnotation",MAIN:"Main"},SELECTION:"Selection",DISMISSED:"Dismissed",HOVERED:"Hovered",CLOSE_CLICKED:"CloseClicked",ENABLE:"Enable",ADD:"Add",ADBLOCK:{DISMISS:"Dismiss",WHITELISTED:"Whitelisted",UNWHITELISTED:"Unwhitelisted"},PPS:{ACCEPT_RISK:"AcceptRisk",BLOCKED:"Blocked",ACKNOWLEDGED:"Acknowledged",GO_PROFILE:"GoProfile",WHITELIST_ADDED:"WhitelistAdded",WHITELIST_DELETED:"WhitelistDeleted",RESET_CLICKED:"ResetClicked"},BROWSER_BADGE:{SMA:"SMA"},UPSELL_SIDEBAR:{ACCEPTED:"Accepted",DECLINED:"Declined",CLOSED:"Closed",CLICKED:"Clicked"},RAT_DETECTION:{ACKNOWLEDGED:"Acknowledged",WHITELISTED:"Whitelisted"},FIND_SIMILAR_PAGES:{LINK_CLICKED:"LinkNavigated"},ACCEPTED:"Accepted",DECLINED:"Declined"},d={TOP:"Top",FRAME:"Frame",INLINE:"Inline"},h={EDUCATION:"Education",NORMAL:"Normal"},p={ACCEPT_SECURE_SEARCH:"AcceptSecureSearch",BLOCK_BAD_PAGE:"BlockBadPage",DELETE_BAD_DOWNLOAD:"DeleteBadDownload"},_="About",E="Preferences",f="Whitelist",m="UserStatistics",g="UNKNOWN",T="Red",S="Yellow",A="Green",O="Yellow",C="Red",N="UNKNOWN",I="Hackersafe",y="Typosquatting",b="Phishing",L={DEFAULT:"DefaultSearch"},v={TOAST:"Toast",FIRST_ANNOTATION:"FirstAnnotation"},R={ACTION:{CLICK:"click",KEYDOWN:"keydown",RETURN_KEY_CODE:13,SHOW:"show",SEARCH_SUGGEST_KEY_CODES:[8,32,46,...Object(i.k)(48,57),...Object(i.k)(65,90),...Object(i.k)(96,107),...Object(i.k)(109,111),...Object(i.k)(186,192),...Object(i.k)(219,222)]},MISC:{LOADED:"Loaded",CHECKED:"checked",UNKNOWN:"UNKNOWN",ACTION_PANEL:"ActionPanel",ACCEPTED:"Accepted",DECLINED:"Declined",SETTINGS_TAB_PREFIX:"settings_tab_",GREEN:"GREEN",YELLOW:"YELLOW",RED:"RED",HACKERSAFE:"HACKERSAFE",PREFERENCE:"Preference"},SIDEBAR_AMAZON_UPSELL:{PRODUCT:"AmazonExtension",NO_THANKS:"_no_thanks",REMIND_ME_LATER:"_remind_me_later",SIDEBAR_PROTECT:"sidebar_protect_"},SEARCH_ENGINE:{GOOGLE:"google",YAHOO:"yahoo"},SOCIAL_MEDIA:{LINKEDIN:"linkedin",FACEBOOK:"facebook",YOUTUBE:"youtube",INSTAGRAM:"instagram",REDDIT:"reddit",TWITTER:"twitter"},TRIGGER:{AMAZON_EXTN_UPSELL:{INSTALLED_REJECTED:"installed_rejected",INSTALLED_DISABLED:"installed_disabled",NOT_INSTALLED:"not_installed"}}};class D{static toColorTelemetry(e){let t=g;switch(e){case i.h.RED:t=T;break;case i.h.YELLOW:t=S}return t}static toTelemetryBlockState(e){let t=N;switch(e){case i.c.GREEN:t=A;break;case i.c.YELLOW:t=O;break;case i.c.RED:t=C;break;case i.c.HACKERSAFE:t=I;break;case i.c.TYPOSQUATTING:t=y;break;case i.c.PHISHING:t=b}return t}static toTelemetrySettingTab(e){let t=E;switch(e){case r.WHITELIST:t=f;break;case r.STATISTICS:t=m;break;case r.ABOUT:t=_}return t}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return r})),n.d(t,"i",(function(){return o})),n.d(t,"c",(function(){return s})),n.d(t,"k",(function(){return a})),n.d(t,"j",(function(){return c})),n.d(t,"h",(function(){return l})),n.d(t,"g",(function(){return u})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return h})),n.d(t,"a",(function(){return p}));const i={CACHE_STORE:"CACHE_STORE",CONTENT_HANDLER:"CONTENT_HANDLER",EXECUTE_COMMAND:"EXECUTE_COMMAND",FOCUS_OR_CREATE_TAB:"FOCUS_OR_CREATE_TAB",GET_BK_GLOBALS:"GET_BK_GLOBALS",GET_EXTENSION_STATUS:"GET_EXTENSION_STATUS",GET_TAB_DATA:"GET_TAB_DATA",GET_VALUES:"GET_VALUES",GTI_REQUEST:"GTI_REQUEST",INSTALL_EXTENSION:"INSTALL_EXTENSION",LOGGER:"LOGGER",PLACEHOLDER_TEXT:"PLACEHOLDER_TEXT",REMOVE_TAB:"REMOVE_TAB",SEND_TELEMETRY:"SEND_TELEMETRY",SET_TAB_ACTION_PANEL_DATA:"SET_TAB_ACTION_PANEL_DATA",SET_VIEWPORT:"SET_VIEWPORT",UPDATE_BROWSER_ACTION:"UPDATE_BROWSER_ACTION",WHITELIST:"WHITELIST",RESET_NATIVE_SETTING:"RESET_NATIVE_SETTING",GET_POPUP_DATA:"GET_POPUP_DATA",GET_SETTINGS_DATA:"GET_SETTINGS_DATA",RESET_SETTINGS:"RESET_SETTINGS",ADD_ADBLOCK_WHITELIST:"ADD_ADBLOCK_WHITELIST",GET_COSMETIC_FILTERS:"GET_COSMETIC_FILTERS",REMOVE_ADBLOCK_WHITELIST:"REMOVE_ADBLOCK_WHITELIST",TOGGLE_ADBLOCK_ENGINE:"TOGGLE_ADBLOCK_ENGINE",SHOW_PERM_REQUEST_BALLOON:"SHOW_PERM_REQUEST_BALLOON",AUTO_RUN_VIDEO_SITE:"AUTO_RUN_VIDEO_SITE",GET_CLICK_EVENT_TIME:"GET_CLICK_EVENT_TIME",SAVE_CLICK_EVENT_TIME:"SAVE_CLICK_EVENT_TIME",CLOSE_TOAST:"CLOSE_TOAST",SHOULD_SHOW_TOAST:"SHOULD_SHOW_TOAST",GET_TYPOSQUATTING_DATA:"GET_TYPOSQUATTING_DATA",IS_FRAME_BLOCKED:"IS_FRAME_BLOCKED",IS_WHITELISTED:"IS_WHITELISTED",ANY_BLOCKED_IFRAMES:"ANY_BLOCKED_IFRAMES",ANY_BLOCKED_CRYPTOSCRIPTS:"ANY_BLOCKED_CRYPTOSCRIPTS",UNBLOCK_ALL_IFRAMES:"UNBLOCK_ALL_IFRAMES",VIEW_SITE_REPORT:"VIEW_SITE_REPORT",SEARCH_ANNOTATION:"SEARCH_ANNOTATION",UPDATE_ENGINE_STATS:"UPDATE_ENGINE_STATS",SHOW_NPS_CHECKLIST:"SHOW_NPS_CHECKLIST",SOCIAL_MEDIA_ANNOTATION:"SOCIAL_MEDIA_ANNOTATION",DOWNLOAD_SCANNING_DELETE_FILE:"DOWNLOAD_SCANNING_DELETE_FILE",TRIGGER_NEXT_EVENT_FOR_DOWNLOAD_SCANNING:"TRIGGER_NEXT_EVENT_FOR_DOWNLOAD_SCANNING",REMOVE_FROM_DOWNLOAD_SCAN_QUEUE:"REMOVE_FROM_DOWNLOAD_SCAN_QUEUE",UPDATE_RAT_DETECTION_SHOWING_FLAG:"UPDATE_RAT_DETECTION_SHOWING_FLAG",GET_DOMAIN_VISITED_DETAILS:"GET_DOMAIN_VISITED_DETAILS",SEARCH_SUGGEST:"SEARCH_SUGGEST",SHOW_SS_WELCOME_ANNOTATION:"SHOW_SS_WELCOME_ANNOTATION",GET_AMAZON_UPSELL_CATEGORY_DETAILS:"GET_AMAZON_UPSELL_CATEGORY_DETAILS",SHOW_AMAZON_UPSELL_TOAST:"SHOW_AMAZON_UPSELL_TOAST",BLAST_SEARCH_BASE:"BLAST_SEARCH_BASE"},r={UNBLOCK_IFRAME:"UNBLOCK_IFRAME",BALLOON_MESSAGE:"BALLOON_MESSAGE",FLOATING_BALLOON:"FLOATING_BALLOON",PAGE_OVERLAY:"PAGE_OVERLAY",SIDEBAR:"SIDEBAR",TOAST:"TOAST",TOPBAR:"TOPBAR"},o={BADGE_COLLECTION:"BADGE_COLLECTION",BLOCK_PAGE:"BLOCK_PAGE",DOWNLOAD_SCANNING_MALICIOUS:"DOWNLOAD_SCANNING_MALICIOUS",DOWNLOAD_SCANNING_FILE_DELETED:"DOWNLOAD_SCANNING_FILE_DELETED",DOWNLOAD_SCANNING_FILE_NOT_DELETED:"DOWNLOAD_SCANNING_FILE_NOT_DELETED",IFRAME_BLOCK:"IFRAME_BLOCK",MAIN:"MAIN",RELOAD:"RELOAD",SITE_REPORT:"SITE_REPORT",SMA:"SMA",SS_ACCEPTED:"SS_ACCEPTED",RAT_DETECTION:"RAT_DETECTION",AMAZON_UPSELL_TOAST:"AMAZON_UPSELL_TOAST"},s={SS_EXPERIENCE:"SS_EXPERIENCE",FIND_SIMILAR_PAGES:"FIND_SIMILAR_PAGES"},a={CRYPTO_BLOCK:"CRYPTO_BLOCK",IFRAME_BLOCK:"IFRAME_BLOCK",TRIGGER_ALLOW:"TRIGGER_ALLOW"},c={CLOSE_ALL_TOAST:"CLOSE_ALL_TOASTS",SECURE_SEARCH:"SECURE_SEARCH"},l={SEARCH_EXTENSION_OVERLAY:"SEARCH_EXTENSION_OVERLAY",FINISH_DOWNLOAD:"FINISH_DOWNLOAD"},u={UPDATE_AD_COUNT:"UPDATE_AD_COUNT",UPDATE_TRACKER_COUNT:"UPDATE_TRACKER_COUNT",UPDATE_DOWNLOAD_SCAN_COUNT:"UPDATE_DOWNLOAD_SCAN_COUNT",HIDE_BUBBLE:"HIDE_BUBBLE",SHOW_FIND_SIMILAR_PAGES_BALLOON:"SHOW_FIND_SIMILAR_PAGES_BALLOON",SHOW_SS_EXPERIENCE_BALLOON:"SHOW_SS_EXPERIENCE_BALLOON"},d={PING:0,DISCONNECT_NATIVE:1,ADBLOCK:"ADBLOCK",SET_PROPERTY:3,GET_PROPERTY:4,CLEAR_GTI_CACHE:5,RESET_CRYPTO:6,CLEAN_TYPOSQUATING_WHITELIST:7,CLEAR_TYPOSQUATING_CACHE:8,SHOW_UNUSED_SELECTORS:9,CLEAN_CRYPTO_WHITELIST:10,WB_VIDEO_STATS:11,CLEAN_RAT_WHITELIST:12,CLEAN_RAT_CACHE:13,WB_TELEMETRY:14,REPLACE_TRUSTED_DOMAIN:15,PROFILER_DEBUGGER:16},h={PONG:0},p={ADD_WHITELIST:"ADD_WHITELIST",REMOVE_WHITELIST:"REMOVE_WHITELIST",IS_DISABLED:"IS_DISABLED",AD_BLOCKED:"AD_BLOCKED",TRACKER_BLOCKED:"TRACKER_BLOCKED",TURN_ON:"TURN_ON",TURN_OFF:"TURN_OFF",ADBLOCKER_READY:"ADBLOCKER_READY"}},function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"f",(function(){return r})),n.d(t,"g",(function(){return o})),n.d(t,"h",(function(){return s})),n.d(t,"i",(function(){return a})),n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return l})),n.d(t,"o",(function(){return u})),n.d(t,"n",(function(){return d})),n.d(t,"p",(function(){return h})),n.d(t,"l",(function(){return p})),n.d(t,"m",(function(){return _})),n.d(t,"b",(function(){return E})),n.d(t,"k",(function(){return f})),n.d(t,"j",(function(){return m})),n.d(t,"a",(function(){return g}));const i={GREEN:0,YELLOW:1,RED:2,UNKNOWN:3,HACKERSAFE:4,TYPOSQUATTING:5,PHISHING:6,*[Symbol.iterator](){for(const e of Object.keys(this))"GREEN"!==e&&"HACKERSAFE"!==e&&"UNKNOWN"!==e&&(yield this[e])}},r={UNKNOWN:-1,FIREFOX:1,CHROME:2,EDGE:3},o={BROWSER_TYPE:2,DEBUG_MODE:!1,EXTENSION_VERSION:"8.1.0.436",LOG_LEVEL:0,PPS_MODE:!1,ENGINES_VERSION:"1.0.0.1"},s={GREEN:0,YELLOW:1,RED:2,UNKNOWN:3,HACKERSAFE:4,DISABLED:5},a={RAISE_NEW_TAB_EVENT:3,UPDATE_CACHE_STATS:4},c={[s.GREEN]:"GREEN",[s.YELLOW]:"YELLOW",[s.RED]:"RED",[s.UNKNOWN]:"WHITE",[s.HACKERSAFE]:"HACKERSAFE",[s.DISABLED]:"DISABLED"},l={SMA:"SMA",SS_ACCEPTED:"SS_ACCEPTED"},u={[i.GREEN]:"green",[i.YELLOW]:"yellow",[i.RED]:"red",[i.PHISHING]:"phishing",[i.UNKNOWN]:"unknown",[i.HACKERSAFE]:"green"},d={MINIMAL:15,UNKNOWN:30,MEDIUM:50},h=e=>{const t={};return Object.keys(e).forEach(n=>{t[e[n]]=n}),t},p={FF:"https://sadownload.mcafee.com/products/SA/Win/xpi/searchextension/searchextension.xpi"},_={CH:"https://chrome.google.com/webstore/detail/mcafee%C2%AE-secure-search/enppghjcblldgigemljohkgpcompnjgh",ED:"https://microsoftedge.microsoft.com/addons/detail/dbghilognjpbmkdcpjgodiieiflmlaeb"},E={GTI_CATEGORY_SIDEBAR:[1,2],GTI_CATEGORY_TOAST:[3,4]},f=(e,t)=>Array.from(Array(t+1).keys()).slice(e),m={ADBLOCK:"ADBLOCK",FIND_SIMILAR_PAGES:"FIND_SIMILAR_PAGES"},g={INSTALLED_REJECTED:"installed_rejected",INSTALLED_DISABLED:"installed_disabled",NOT_INSTALLED:"not_installed"}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const i=chrome},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n(2),r=n(9),o=n(3),s=n(8),a=n(20);class c{static toGTICategoriesString(e,t=!1){const n=[];for(const i of e){const e=parseInt(i,10);isNaN(e)||a.ResourceManager.getResString(`category_id_${e}_name`,i=>{const r={};if(r.name=i,!t)return n.push(r);a.ResourceManager.getResString(`category_id_${e}_description`,e=>{r.description=e,n.push(r)})})}return n}static browserTypeToString(e=!1){let t="";switch(i.g.BROWSER_TYPE){case 1:t="FF";break;case 2:t="CH";break;case 3:t="ED";break;default:t="UN"}return e?t.toLowerCase():t}static toImagePaths(e){let t="images/browser_action/";switch(e.startsWith("small_")?e:`small_${e}`){case"small_button_green.gif":t+="green";break;case"small_button_yellow.gif":t+="yellow";break;case"small_button_red.gif":t+="red";break;case"small_button_grey.gif":t+="white";break;case"small_button_hs.gif":t+="hackersafe";break;case"small_button_disabled.gif":t+="disabled";break;default:t+=e}return{size16:`${t}_16.png`,size20:`${t}_20.png`,size32:`${t}_32.png`,size40:`${t}_40.png`}}static colorToImagePaths(e){let t="white";switch(e){case i.h.GREEN:t="green";break;case i.h.YELLOW:t="yellow";break;case i.h.RED:t="red";break;case i.h.UNKNOWN:t="white";break;case i.h.HACKERSAFE:t="hackersafe";break;case i.h.DISABLED:t="disabled"}return c.toImagePaths(t)}static toAnnotationImageClass(e){let t="";switch(c.toColor(e)){case i.h.GREEN:t="OK";break;case i.h.RED:t="WARN";break;case i.h.YELLOW:t="INFO";break;case i.h.HACKERSAFE:t="HACKERSAFE";break;case i.h.UNKNOWN:t="UNKNOWN"}return t}static isPhishingURI(e){return e&&e.includes(r.a.PHISHING_CATEGORY)}static getIFrameBlockPageUrl(){return o.a.runtime.getURL("html/iframe_block_page.html")}static toBlockState(e){const t=c.toColor(e);return t!==i.h.RED&&t!==i.h.YELLOW||!c.isPhishingURI(e.cat)?isNaN(t)?i.c.UNKNOWN:t:i.c.PHISHING}static toColor(e){let t=i.h.UNKNOWN;return t=e.rep<i.n.MINIMAL?c.isHackerSafe(e.ufg)?i.h.HACKERSAFE:i.h.GREEN:e.rep<i.n.UNKNOWN?i.h.UNKNOWN:e.rep<i.n.MEDIUM?i.h.YELLOW:i.h.RED,t}static toSiteReportUrl(e){const t=o.a.runtime.getURL("html/site_status_site_report.html");return s.a.PPS_MODE?"#":`${t}?url=${escape(e)}`}static isExtensionUrl(e){if(i.f.CHROME===i.g.BROWSER_TYPE&&e.startsWith(`chrome-extension://${o.a.runtime.id}`)||i.f.EDGE===i.g.BROWSER_TYPE&&e.startsWith(`ms-browser-extension://${o.a.runtime.id}`))return!0;if(i.f.FIREFOX===i.g.BROWSER_TYPE){let t=o.a.i18n.getMessage("@@extension_id");if(!t){const e=o.a.runtime.getURL("images/web_advisor/logo.png").split("/");t=e.length>=3?e[2]:""}return t&&e.startsWith(`moz-extension://${t}`)}return!1}static isHackerSafeUrl(e){return c.isSiteAdvisorUrl(e)||c.isExtensionUrl(e)}static isSiteAdvisorUrl(e){return e.startsWith(`http://${r.a.SITE_ADVISOR_URL}`)||e.startsWith(`https://${r.a.SITE_ADVISOR_URL}`)}static isHackerSafe(e){return 1&e}static isPropertRedirectUrl(e){return c.isPropertyWebURL(e)||e.startsWith("edge://")||e.startsWith("chrome://")}static isProperWebURL(e){return!!(e.startsWith("http://")||e.startsWith("https://")||e.startsWith("ftp://"))}static isSearchEngineResultPage(e,t){return t.some(t=>{for(const n of t.urlre){if(null!==e.match(new RegExp(n,"i")))return!0}return!1})}static getUINumber(e){if(e>=1e4)return"10k+";if(e>=1e3){let t=(e/1e3).toFixed(1);return t="0"===t.substring(2,3)?t.substring(0,1):t,`${t}k+`}return`${e}`}static hasEpochTimeElapsed(e,t){return(new Date).getTime()/1e3>e+t}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n(3),r=n(1),o=n(2),s=n(4),a=n(12),c=n(14);class l{static handlePromiseMessage(e,t=null){return new Promise((n,r)=>{i.a.runtime.sendMessage(e,e=>{"function"==typeof t?t(n,r,e):((e,t,n)=>{i.a.runtime.lastError&&t(i.a.runtime.lastError.message),e(n)})(n,r,e)})})}static logger(e,t){if(Object(a.f)()!==a.a.NONE){Object(a.e)(e,t,a.d.CONTENT);const n=r.b.LOGGER;i.a.runtime.sendMessage({command:n,message:e,logType:t})}}static logError(e){l.logger(e,a.b.ERROR)}static logInfo(e){l.logger(e,a.b.INFO)}static cacheStore(e,t){const n=r.b.CACHE_STORE;return this.handlePromiseMessage({command:n,action:e,data:t})}static saveLastClickedTime(){const e=r.b.SAVE_CLICK_EVENT_TIME;i.a.runtime.sendMessage({command:e,last_event:Date.now()})}static getLastClickedTime(){const e=r.b.GET_CLICK_EVENT_TIME;return this.handlePromiseMessage({command:e})}static autoRunVideo(e){const t=r.b.AUTO_RUN_VIDEO_SITE;i.a.runtime.sendMessage({command:t,url:e})}static isFrameBlocked(e){const t=r.b.IS_FRAME_BLOCKED;return this.handlePromiseMessage({command:t,url:e})}static makeGTIRequest(e,t,n,i){const o={command:r.b.GTI_REQUEST,url:e,isSecureSearch:t,requestData:n,referer:i};return this.handlePromiseMessage(o)}static executeCommand(e,t){const n=r.b.EXECUTE_COMMAND;i.a.runtime.sendMessage({command:n,commandId:e,params:t})}static focusOrCreateTab(e){const t=r.b.FOCUS_OR_CREATE_TAB;i.a.runtime.sendMessage({command:t,url:e})}static closeTab(){const e=r.b.REMOVE_TAB;i.a.runtime.sendMessage({command:e})}static whitelist(e,t,n){const i=r.b.WHITELIST;return this.handlePromiseMessage({action:e,command:i,type:t,data:n})}static getPopupData(){const e=r.b.GET_POPUP_DATA;return this.handlePromiseMessage({command:e})}static getSettingsData(){const e=r.b.GET_SETTINGS_DATA;return this.handlePromiseMessage({command:e})}static searchAnnotation(e,t){const n=r.b.SEARCH_ANNOTATION;return this.handlePromiseMessage({action:e,data:t,command:n})}static socialMediaAnnotation(e,t){const n=r.b.SOCIAL_MEDIA_ANNOTATION;return this.handlePromiseMessage({action:e,data:t,command:n})}static getBkGlobals(){const e=r.b.GET_BK_GLOBALS;return this.handlePromiseMessage({command:e})}static viewSiteReport(e=null,t=!1){const n=r.b.VIEW_SITE_REPORT;i.a.runtime.sendMessage({command:n,url:e,showInNewTab:t})}static getTypoSquattingData(e){const t=r.b.GET_TYPOSQUATTING_DATA;return this.handlePromiseMessage({command:t,domain:e})}static getPlaceholderText(e){const t=r.b.PLACEHOLDER_TEXT;return this.handlePromiseMessage({command:t,id:e})}static setViewPort(e,t){const n=r.b.SET_VIEWPORT;i.a.runtime.sendMessage({command:n,x:e,y:t})}static sendTelemetry(e){const t=r.b.SEND_TELEMETRY;i.a.runtime.sendMessage({command:t,telemetry:e})}static anyBlockedIframes(e){const t=r.b.ANY_BLOCKED_IFRAMES;return this.handlePromiseMessage({command:t,frameUrls:e})}static anyBlockedCryptoScripts(){const e=r.b.ANY_BLOCKED_CRYPTOSCRIPTS;return this.handlePromiseMessage({command:e})}static updateBrowserAction(e,t=!1){const n=r.b.UPDATE_BROWSER_ACTION;i.a.runtime.sendMessage({details:e,allTabs:t,command:n})}static resetSettings(){const e=r.b.RESET_SETTINGS;i.a.runtime.sendMessage({command:e})}static sendEngineStat(e){i.a.runtime.sendMessage({command:r.b.UPDATE_ENGINE_STATS,engine:e})}static contentHandler(e){const t=r.b.CONTENT_HANDLER;i.a.runtime.sendMessage({command:t,message:e})}static shouldShowToast(){const e=r.b.SHOULD_SHOW_TOAST;return this.handlePromiseMessage({command:e})}static closeToast(e){const t=r.b.CLOSE_TOAST;i.a.runtime.sendMessage({command:t,userConfirmation:e})}static showNPSChecklist(e){const t=r.b.SHOW_NPS_CHECKLIST,n=window.location.href;i.a.runtime.sendMessage({command:t,fromBlockPage:e,location:n})}static updateAdblockWhitelist(e){i.a.runtime.sendMessage({command:e})}static toggleAdblockEngine(e){const t=r.b.TOGGLE_ADBLOCK_ENGINE;i.a.runtime.sendMessage({command:t,enableAdblockEngine:e})}static setTabActionPanelData(e){const t=r.b.SET_TAB_ACTION_PANEL_DATA;i.a.runtime.sendMessage({command:t,data:e})}static getTabData(e={}){const t={command:r.b.GET_TAB_DATA,...e};return this.handlePromiseMessage(t)}static isWhitelisted(e){const t={command:r.b.IS_WHITELISTED,url:e};return this.handlePromiseMessage(t)}static reloadSideBarPanel(){const e=r.b.RELOAD_SIDEBAR_PANEL;i.a.runtime.sendMessage({command:e})}static deleteMaliciousFile(e){const t=r.b.DOWNLOAD_SCANNING_DELETE_FILE;i.a.runtime.sendMessage({command:t,payload:e})}static triggerNextEventForDownloadScanning(){const e=r.b.TRIGGER_NEXT_EVENT_FOR_DOWNLOAD_SCANNING;i.a.runtime.sendMessage({command:e})}static removeFromDownloadScanQueue(){const e=r.b.REMOVE_FROM_DOWNLOAD_SCAN_QUEUE;i.a.runtime.sendMessage({command:e})}static getSEStatus(){const e=c.a.get("SearchExtension"),t=r.b.GET_EXTENSION_STATUS;return this.handlePromiseMessage({command:t,extension_id:e})}static getExtensionStatus(e){if(e)return this.handlePromiseMessage({command:r.b.GET_EXTENSION_STATUS,extension_id:e})}static installSE(){const e=c.a.get("SearchExtension"),t=r.b.INSTALL_EXTENSION,n=o.m[s.a.browserTypeToString()];i.a.runtime.sendMessage({command:t,extension_id:e,redirect_url:n})}static showPermRequestBalloon(){const e=r.b.SHOW_PERM_REQUEST_BALLOON;i.a.runtime.sendMessage({command:e})}static unblockAllIframes(){const e=r.b.UNBLOCK_ALL_IFRAMES;i.a.runtime.sendMessage({command:e})}static showAmazonExtnUpsellToast(e,t,n,o){const s=r.b.SHOW_AMAZON_UPSELL_TOAST,a={category:e,count:t,amazonExtnStatus:n,url:o};i.a.runtime.sendMessage({command:s,payload:a})}static closeAllOtherUpsellComponents(e){const t=r.b.CLOSE_ALL_OTHER_UPSELL_COMPONENTS;i.a.runtime.sendMessage({command:t,payload:e})}static updateUpsellShowingFlag(e,t){const n=r.b.UPDATE_UPSELL_SHOWING_FLAG;i.a.runtime.sendMessage({command:n,upsellCategoryType:e,showing:t})}static getAmazonUpsellCategoryDetails(){const e=r.b.GET_AMAZON_UPSELL_CATEGORY_DETAILS;return this.handlePromiseMessage({command:e})}static updateRatDetectionShowingFlag(e){const t=r.b.UPDATE_RAT_DETECTION_SHOWING_FLAG;i.a.runtime.sendMessage({command:t,showed:e})}static getDomainVisitedDetails(){const e=r.b.GET_DOMAIN_VISITED_DETAILS;return this.handlePromiseMessage({command:e})}static getSearchSuggest(e){const t={command:r.b.SEARCH_SUGGEST,searchTerm:e};return this.handlePromiseMessage(t)}static showSSWelcomeAnnotation(e){const t=r.b.SHOW_SS_WELCOME_ANNOTATION;i.a.runtime.sendMessage({command:t,state:e})}static getNativeValue(e){const t=r.b.GET_VALUES;return this.handlePromiseMessage({command:t,getList:e})}static resetNativeSetting(e){const t=r.b.RESET_NATIVE_SETTING;i.a.runtime.sendMessage({command:t,setting:e})}static blastSearchBase(){const e=r.b.BLAST_SEARCH_BASE;i.a.runtime.sendMessage({command:e})}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return o}));const i={SET:"SET",GET:"GET",CLEAR:"CLEAR"},r={BLOCK_PAGE_WHITELIST:"BLOCK_PAGE_WHITELIST",CRYPTO_WHITELIST:"CRYPTO_WHITELIST",TYPOSQUATTING_WHITELIST:"TYPOSQUATTING_WHITELIST",RAT_DETECTION_WHITELIST:"RAT_DETECTION_WHITELIST",POPUP_STATS:"POPUP_STATS",WHITELIST_FLAG:"WHITELIST_FLAG",USER_NATIVE_STATS:"USER_NATIVE_STATS",EXTENSION_LOGGING:"EXTENSION_LOGGING",SEARCH_ANNOTATION_OPTION:"SEARCH_ANNOTATION_OPTION",SMA_FIRST_TIME:"SMA_FIRST_TIME",SOCIAL_MEDIA_ANNOTATION_OPTION:"SOCIAL_MEDIA_ANNOTATION_OPTION",SOCIAL_MEDIA_ANNOTATION_TOGGLE:"SOCIAL_MEDIA_ANNOTATION_TOGGLE",AP_USER_TOGGLE:"AP_USER_TOGGLE",AB_USER_TOGGLE:"AB_USER_TOGGLE",IS_SECURE_SEARCH_SET:"IS_SECURE_SEARCH_SET",USER_ACCEPTED_TOAST_ONCE:"USER_ACCEPTED_TOAST_ONCE",BLOCK_PAGE_RED_FIRST_VARIANT_COUNT:"BLOCK_PAGE_RED_FIRST_VARIANT_COUNT",BLOCK_PAGE_YELLOW_FIRST_VARIANT_COUNT:"BLOCK_PAGE_YELLOW_FIRST_VARIANT_COUNT",BLOCK_PAGE_PHISHING_FIRST_VARIANT_COUNT:"BLOCK_PAGE_PHISHING_FIRST_VARIANT_COUNT",IFRAME_BLOCK_FIRST_TIME:"IFRAME_BLOCK_FIRST_TIME",FIND_SIMILAR_PAGES_TOGGLE:"FIND_SIMILAR_PAGES_TOGGLE",FIND_SIMILAR_PAGES_COUNT:"FIND_SIMILAR_PAGES_COUNT",FIND_SIMILAR_PAGES_LAST_SHOWN:"FIND_SIMILAR_PAGES_LAST_SHOWN",FIND_SIMILAR_PAGES_FIRST_SHOWN:"FIND_SIMILAR_PAGES_FIRST_SHOWN",FIND_SIMILAR_PAGES_SHOPPING_TEXT_VARIANT:"FIND_SIMILAR_PAGES_SHOPPING_TEXT_VARIANT",FIND_SIMILAR_PAGES_NEWS_TEXT_VARIANT:"FIND_SIMILAR_PAGES_NEWS_TEXT_VARIANT",POST_INSTALLATION_PAGE_SHOWED:"POST_INSTALLATION_PAGE_SHOWED",AMAZON_UPSELL_GTI_SHOPPING_SHOWN_COUNT:"AMAZON_UPSELL_GTI_SHOPPING_SHOWN_COUNT",AMAZON_UPSELL_GTI_SHOPPING_LAST_SHOWN:"AMAZON_UPSELL_GTI_SHOPPING_LAST_SHOWN",AMAZON_UPSELL_GTI_SHOPPING_LAST_DOMAIN_SHOWN:"AMAZON_UPSELL_GTI_SHOPPING_LAST_DOMAIN_SHOWN",BLAST_SEARCH_BASE_FIRST_TIME:"BLAST_SEARCH_BASE_FIRST_TIME",ENGINES:"ENGINES",ENGINES_FUTURE_TIME:"ENGINES_FUTURE_TIME",ENGINES_VERSION:"ENGINES_VERSION"},o={CACHE_TYPOQUATTING:"CACHE_TYPOQUATTING",SS_TOAST_ACCEPTED:"SS_TOAST_ACCEPTED",USER_ACCEPTED_ADBLOCK_TOAST:"USER_ACCEPTED_ADBLOCK_TOAST",DOWNLOAD_SCANNING_QUEUE:"DOWNLOAD_SCANNING_QUEUE",RAT_DETECTION_SHOWING:"RAT_DETECTION_SHOWING",SS_WELCOME_OVERLAY_PER_SESSION:"SS_WELCOME_OVERLAY_PER_SESSION",AMAZON_UPSELL_SHOPPING_SHOWING:"AMAZON_UPSELL_SHOPPING_SHOWING"}},function(e,t,n){"use strict";var i=n(3),r=n(6);class o{static set(e,t){const n={};n[e]=t,i.a.storage.local.set(n)}static get(e){return new Promise(t=>i.a.storage.local.get(e,n=>((t,n)=>{let i=n[e];const r=typeof i;"boolean"!==r&&"number"!==r&&(i=i||null),t(i)})(t,n)))}static clear(e){i.a.storage.local.remove(e)}}class s{constructor(){this.tabData=new Map}static getResetValues(){return{adblockDisabled:!1,adsBlocked:0,trackersBlocked:0,actionPanelData:{},blockedIframes:[],cryptoBlockData:null,tabDomainTrusted:!1}}static getDefaultValues(){return{adblockWhitelist:[],...s.getResetValues()}}reset(e){this.update(e,s.getResetValues())}get(e){return this.tabData.get(e)||s.getDefaultValues()}set(e,t){this.tabData.set(e,t)}delete(e){this.tabData.delete(e)}getMap(){return this.tabData}update(e,t){const n=this.get(e);this.set(e,{...n,...t})}setTabBlockPageData(e,t){const n=this.get(e);this.set(e,{...n,blockPageData:t})}addBlockedFrame(e,t){this.get(e).blockedIframes.push(t)}getBlockedFrames(e){return this.get(e).blockedIframes}resetBlockedFrames(e){this.get(e).blockedIframes=[]}}var a=n(2),c=n(9),l=n(19);var u=n(23);n.d(t,"a",(function(){return d}));const d={FFSearchExtensionDownloadUrl:"https://sadownload.mcafee.com/products/SA/Win/xpi/searchextension/searchextension.xpi",uninstallSurveyUrl:"https://www.surveymonkey.com/r/mcafeewebadvisor",postInstallationPage:"https://www.mcafee.com/consumer/v/wa-how.html",listenerManager:null,wssNativeClient:null,firefoxInternalUUID:"",shadowMode:"closed",adblockManager:null,browserAction:null,browserType:a.g.BROWSER_TYPE,cacheStore:new class{constructor(){this.initialized=!1;for(const e of Object.values(r.c))this[e]=null;for(const e of Object.values(r.a))this[e]=null;this.init()}init(){const e=[];for(const t of Object.values(r.c))e.push(o.get(t).then(e=>{const n={};return n.storeVariable=t,n.result=e,n}));Promise.all(e).then(e=>{e.forEach(({storeVariable:e,result:t})=>{const n=typeof t;"boolean"!==n&&"number"!==n&&(t=t||null),this[e]=t}),this.initialized=!0})}isInit(){return new Promise((e,t)=>{this.initialized&&e(!0);let n=0;const i=window.setInterval(()=>{this.initialized?(window.clearInterval(i),e(!0)):10==++n&&(window.clearInterval(i),t(new Error("Cache store took too long to initialize")))},500)})}get(e,t){const n=this[e];return arguments.length<2?n:null==n?t:n}set(e,t){this[e]=t,r.c[e]&&o.set(e,t)}clear(e){void 0!==this[e]&&(this[e]=null,r.c[e]&&o.clear(e))}},ffViewports:null,garbageCollector:new class{constructor(){this.collection=[]}add(e){this.collection.push(e),1===this.collection.length&&this.setCleanUpTimer()}setCleanUpTimer(){setInterval(()=>{this.collection.forEach(e=>{e.checkCache()})},36e5)}},gtiCache:new u.GTICache(a.g),logger:null,messageDispatcher:null,port:null,tabData:new s,tabIdToLastClickTime:new Map,useNativeLogger:!1,wasm:null,userAgentInBase64:null,gtiServer:c.a.GTI_SERVER,typoSquattingServer:c.a.TYPOSQUATTING_SERVER,tldParser:null,cryptoBlacklist:c.b,ratBlacklist:c.c,trustedDomains:c.d,nativeSettings:l.b,searchSuggest:null,searchEngines:null,enginesVersionUrl:c.a.ENGINE_VERSION_URL,engineCheckInterval:864e5,ENGINES_VERSION:a.g.ENGINES_VERSION,WSS_INSTALLED:null,AP_FEATURE_ENABLED:!1,AUTO_PLAY_NOTIFICATION_ENABLED:!1,PPS_MODE:a.g.PPS_MODE,ALLOW_LOCALHOST:!1,RAT_DETECTION_CATEGORIES:[142],AMAZON_EXTN_TRIGGER_CATEGORIES:[136]}},function(e,t,n){"use strict";var i=n(2),r=n(17),o=n(13),s=n(5),a=n(3),c=n(1);n.d(t,"a",(function(){return l}));const l={uid:"0DE9E47C-871A-4F90-8440-B190C216800A",browserType:i.g.BROWSER_TYPE,externalMsgDispatcher:new class{isvalidRequestType(e){let t=!1;for(const n in c.e)c.e[n]===e&&(t=!0);return t}validateMsg(e,t){return!(void 0===e||void 0===t||!this.isvalidRequestType(e))||(s.a.logError("Invalid msg to be sent externally"),!1)}sendExtnMsg(e,t,n){const{request_type:i,payload:r}=t;if(!this.validateMsg(i,r))return;return new Promise((i,r)=>{a.a.runtime.sendMessage(e,t,e=>{"function"==typeof n?n(i,r,e):((e,t,n)=>{a.a.runtime.lastError&&t(a.a.runtime.lastError.message),e(n)})(i,r,e)})})}},reputationReqCount:5,imageCounter:0,isSearchPage:!1,isSearchHitSend:!1,resourceRequestor:null,gtiRequestor:null,clientFunctions:null,activeURI:null,mapSelectors:null,eventHandler:null,bkGlobals:null,searchEngine:null,searchAnnotationOption:o.a.ONLY_SECURE_SEARCH,socialMediaOption:r.c.NONE,socialMediaToggle:!1,hasReportPage:!0,PPS_MODE:i.g.PPS_MODE,ssExperienceDetected:!1}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return s}));const i={MAX_CACHE_RECORDS:1e3,MAX_RESERVED_CALLBACK_ID:5,PHISHING_CATEGORY:169,SITE_ADVISOR_URL:"www.siteadvisor.com/",GTI_SERVER:"https://webadvisorc.rest.gti.mcafee.com/1",TYPOSQUATTING_SERVER:"https://mip.api.mcafeewebadvisor.com/v1/typosquatting?",ENGINE_VERSION_URL:"https://sadownload.mcafee.com/products/SA/Win/extensions/engines/update.json"},r=new Set(["www.mcafee.com"]),o=["wss://*.gasolina.ml/*","*://kissdoujin.com/Content/js/c-hive.js*","wss://*.sen-to-zdrowie.ml/*","*://cookiescript.info/libs/*","*://rocks.io/assets/*","*://coin-have.com/c/*","*://coinnebula.com/lib/*","wss://*.coin-have.com/","ws://digger.cryptobara.com/*","ws://*.webminepool.tk/*","*://*.lewd.ninja/static/m.js*","*://tokyodrift.ga/dropyoulike/a-o/*","*://*.2giga.link/hive/lib/*","*://papoto.com/lib/*","*://load.jsecoin.com/*","ws://*.1q2w3.fun/*","*://*/*plugins/ajcryptominer/assets/*","*://monerominer.rocks/miner.php*","*://minemytraffic.com/*","*://*.monerise.com/core/*","*://*.cookiescript.info/libs/*","ws://hive.tubetitties.com/*","wss://*.freecontent.racing/*","wss://*.hodling.faith/*","ws://gtg02.bestsecurepractice.com/proxy","*://cryptoloot.pro/lib/*","*://lmodr.biz/*","*://*.webminepool.com/lib/base.js","ws://*.sen-to-zdrowie.ml/*","ws://*.morningdigit.com/*","*://mine.nahnoji.cz/*","*://*.minescripts.info/*","*://jsecoin.com/server*","*://coinhive.com/lib*","wss://*.webminepool.tk/*","ws://*.monerise.com/proxy/*","*://kisshentai.net/Content/js/c-hive.js*","*://mataharirama.xyz/*","*://*.coinpirate.cf/*","ws://*.playerassets.info/*","wss://*.1q2w3.fun/*","*://*.1q2w3.fun/*","*://anime.reactor.cc/js/ch/cryptonight.wasm*","*://webmine.cz/miner*","wss://ws.l33tsite.info/*","*://coinhive.com/captcha*","wss://www.mutuza.win/proxy","*://*.morningdigit.com/*","ws://*.host.d-ns.ga/*","*://*.doubleclick5.xyz/*","*://miner.pr0gramm.com/xmr.min.js*","*://*.freecontent.bid/*","ws://lewd.ninja/comics/*","wss://*.monerise.com:9333/proxy/*","*://*.webminepool.com/lib/captcha.js","*://coinerra.com/lib/*","*://*.playerassets.info/*","wss://*.webmine.pro/*","wss://lewd.ninja/comics/*","*://*.doubleclick1.xyz/*","ws://*.freecontent.racing/*","*://*.googleanalytcs.com/*","wss://*.coinnebula.com/proxy*","ws://*.monerise.com:9333/proxy/*","ws://*.freecontent.loan/*","*://party-nngvitbizn.now.sh/*","wss://api.l33tsite.info/*","*://coinlab.biz/lib/coinlab.js*","wss://*.monerise.com/proxy/*","ws://www.mutuza.win/proxy","*://jscdndel.com/content/vidm.min.js*","*://listat.biz/*","*://minecrunch.co/web/*","ws://*.chainblock.science/*","*://baiduccdn1.com/lib/*","*://*.mutuza.win/worker.js","*://*.load.jsecoin.com/*","*://ppoi.org/lib/*","wss://*.chainblock.science/*","wss://*.crypto-loot.com/proxy*","wss://gtg02.bestsecurepractice.com/proxy","wss://*.coinhive.com/proxy*","*://coin-hive.com/captcha*","*://jsccnn.com/content/vidm.min.js*","*://monerominer.rocks/scripts/miner.js*","*://*.jsecoin.com/server*","*://server.jsecoin.com/*","wss://*.coin-hive.com/proxy*","*://*.doubleclick4.xyz/*","*://miner.cryptobara.com/client/*","*://*.rocks.io/assets/*","*://*.ppoi.org/lib/*","*://you.tubetitties.com/worker.js*","wss://*.googleanalytcs.com/*","wss://hive.tubetitties.com/*","*://static.reasedoper.pw/*","*://*.ppoi.org/token/*","ws://*.webmine.pro/*","*://you.tubetitties.com/hash.wasm*","*://*.doubleclick3.xyz/*","*://*.turnsocial.com/m.js","ws://*.hodling.faith/*","wss://*.morningdigit.com/*","*://*.ad-miner.com/lib/*","wss://*.2giga.link/wproxy*","ws://*.googleanalytcs.com/*","*://*.doubleclick6.xyz/*","ws://turnsocial.now.sh/*","*://cdn.cloudcoins.co/javascript/cloudcoins.min.js*","*://joyreactor.cc/ws/ch/*","*://minero.pw/miner.min.js*","*://*.webmine.pro/*","*://punchsub.net/chm.js","wss://mine.nahnoji.cz/*","wss://mine.torrent.pw/*","*://*.mutuza.win/lib/*","*://*.kickass.cd/power2/m.js","ws://*.cpu2cash.link/*","*://*.server.jsecoin.com/*","*://*.mutuza.win/processor.js","wss://turnsocial.now.sh/*","*://kiwifarms.net/js/Jawsh/xmr/xmr.min.js*","*://*.rocks.io/proxy*","*://crypto-loot.com/lib*","*://*.chmproxy.bid/lib/*","ws://*.gasolina.ml/*","*://*.stackpathdns.com/assets/javascript/cr.js","*://*.coinblind.com/lib/*","*://miner.pr0gramm.com/pm.min.js*","*://*.bewhoyouare.gq/*","wss://*.zlx.com.br/proxy*","*://a-o.ninja/apk-AO/kingofthenorth/*","*://ad-miner.com/lib/*","*://*.webminepool.com/api/*","*://*.cpu2cash.link/*","*://*.hemnes.win/*","wss://*.cpu2cash.link/*","ws://*.coinpirate.cf/*","ws://ws.l33tsite.info/*","*://digger.cryptobara.com/client/*","*://kickass.cd/m.js*","ws://*.zlx.com.br/proxy*","*://*.doubleclick2.xyz/*","*://*.amazonaws.com/doubleclick13/*","wss://*.freecontent.loan/*","*://*.host.d-ns.ga/*","*://*.candid.zone/youtube.com/*","ws://api.l33tsite.info/*","*://gtg2.bestsecurepractice.com/lib/*","wss://*.host.d-ns.ga/*","*://coin-hive.com/lib*","ws://mine.nahnoji.cz/*","wss://*.playerassets.info/*","*://*.afminer.com/code/*","wss://*.coinpirate.cf/*","*://cookiescriptcdn.pro/libs/*","*://*.goredirect.party/assets/*","*://*.ZLX.COM.BR/assets/min.js*","*://*.ZLX.COM.BR/assets/playermon.js*","*://p.hemnes.win/lib/*","*://gtg02.bestsecurepractice.com/proxy2/*","*://gtg02.bestsecurepractice.com/meri.js","*://gtg02.bestsecurepractice.com/lv.js","*://gtg02.bestsecurepractice.com/worker.js","*://gtg02.bestsecurepractice.com/processor.js","*://gtg02.bestsecurepractice.com/demo.html","*://*.turnsocial.com/c.wasm*","*://*.turnsocial.com/m.js*","*://cdn.minescripts.info/c/*","*://tokyodrift.ga/dropyoulike/backup/c.wasm*","*://punchsub.net/chm2.js","*://*.kickass.cd/webmr4.js","*://*.kickass.cd/m.js","wss://*.authedmine.com/proxy"],s=["www.beyondtrust.com","www.beamyourscreen.com","www.connectwise.com","get.gotoassist.com","fastsupport.gotoassist.com","www.join.me","www.mikogo.com","www.mikogo.de","www.noip.com","www.securelink.com","join.zoho.com"]},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var i=n(5),r=n(24);class o{constructor(t=null,n=document){if(this.resourcerequestor=new r.a,this.document=n,t){const n=e(`#${t}`);n&&(this.document=n[0].contentDocument)}}localeData(e,t=[]){return this.resourcerequestor.geti18nRes(e,t)}fillText(e,t){const n=this.document.getElementById(e);if(n){const e=n.getAttribute("x-mcinsertposition");if(e)return void n.insertAdjacentText(e,t);n.textContent=t}}fillLocalizedTexts(){for(const{id:e}of this.document.querySelectorAll("*[x-mclocalizedtext]")){const t=this.localeData(e);if(null==t)return!1;this.fillText(e,t)}return!0}fillInputPlaceHolders(){for(const{id:e}of this.document.querySelectorAll("*[x-inputplaceholder]")){const t=this.localeData(e),n=this.document.getElementById(e);if(null==t)return!1;null!=n&&n.setAttribute("placeholder",t)}return!0}fillPlaceHolderInternal(e){i.a.getPlaceholderText(e).then(t=>{this.fillText(e,t.text)}).catch(()=>{})}fillPlaceHolders(){for(const{id:e}of this.document.querySelectorAll("*[x-mcplaceholder]"))this.fillPlaceHolderInternal(e);return!0}init(){this.fillLocalizedTexts(),this.fillPlaceHolders(),this.fillInputPlaceHolders()}}}).call(this,n(18))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return c}));var i=n(0),r=n(13),o=n(7),s=n(5),a=n(29);class c{static sendTelemetryMessages(t,n){const a=n.trigger.sendTelemetry||!1,c=n.trigger.action,l=[i.m.ACTION.CLICK],u=e=>{n.messages.forEach(n=>{const o=Object.assign({},n.template),s=a&&(void 0===o.count||0!==o.count);let u=l.includes(c);if(c===i.m.ACTION.KEYDOWN&&t.whitelistedKeys){const n=e.keyCode;u=t.whitelistedKeys.includes(n)}if(t.hasCheckBox)if(n.template.name===i.e.ADBLOCK.WHITELISTED)o.interaction_type=t.containerMeta.query(".adblock-switch").attr("checked")?i.h.ADBLOCK.UNWHITELISTED:i.h.ADBLOCK.WHITELISTED;else if(!n.template.action_type){const e=t.toastData.providerId===r.c.YAHOO?t.containerMeta.query(".toast_content__checkbox > input").prop(i.m.MISC.CHECKED)?i.m.MISC.ACCEPTED:i.m.MISC.DECLINED:i.m.MISC.ACCEPTED;o.action_type=e}(s||u)&&d(t.isFromBackground||!1,o)})},d=(e,t)=>{e?o.a.messageDispatcher.sendTelemetry(JSON.stringify(t)):s.a.sendTelemetry(JSON.stringify(t))};n.trigger.selector&&n.trigger.action?t.containerMeta?t.containerMeta.query(n.trigger.selector).eq(0).on(n.trigger.action,u):e(document).ready(()=>e(n.trigger.selector).eq(0).on(n.trigger.action,u)):(a||a&&n.trigger.state&&n.trigger.state===t.state)&&u()}static handle(e){new a.a(e).fetchTelemetryHandlers(e.identifier).forEach(t=>{this.sendTelemetryMessages(e,t)})}}}).call(this,n(18))},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return a})),n.d(t,"d",(function(){return c})),n.d(t,"c",(function(){return u})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return h}));var i=n(7),r=n(2),o=n(6);const s={NONE:0,INFO:1,ERROR:2,ALL:3},a={INFO:1,ERROR:2},c={BACKGROUND:"BACKGROUND",CONTENT:"CONTENT",TELEMETRY:"TELEMETRY"},l={DEFAULT:"color: #000000; font-weight: normal; font-style:normal; background: #FFFFFF;",BACKGROUND:"color: #8D0DBA; font-weight: bold; background: #FFFFFF;",CONTENT:"color: #F54A26; font-weight: bold; background: #FFFFFF;",TELEMETRY:"color: #147831; font-weight: bold; background: #FFFFFF;"};class u{constructor(){this.nativeLogging=!1,this.browserType=r.g.BROWSER_TYPE,this.extensionType="wa"}setNativeLogging(e){i.a.useNativeLogger=e,this.nativeLogging=e}processLog(e,t,n){if(this.nativeLogging){const r={processType:t,browserType:this.browserType,extensionType:this.extensionType,logType:n,message:e};i.a.messageDispatcher.logger(r)}d(e,n,t)}log(e,t=c.BACKGROUND){this.processLog(e,t,s.INFO)}error(e,t=c.BACKGROUND){this.processLog(e,t,s.ERROR)}}const d=(e,t,n)=>{const i=h(),r=`%c[${n} - ${(new Date).toLocaleString()}]: %c${e}`,o=l.DEFAULT,c=l[n];i!==s.NONE&&(t!==a.ERROR||i!==s.ERROR&&i!==s.ALL||console.error(r,o,o),t!==a.INFO||i!==s.INFO&&i!==s.ALL||console.log(r,c,o))},h=()=>{const e=r.g.LOG_LEVEL,t=i.a.cacheStore.get(o.c.EXTENSION_LOGGING,null);return t&&Number.isInteger(t)&&Object.values(s).includes(t)?t:e}},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return s}));const i={GET:"GET",SET:"SET"},r={NONE:"NONE",ONLY_SECURE_SEARCH:"ONLY_SECURE_SEARCH",ALL:"ALL"},o={UNKNOWN:0,GOOGLE:1,YAHOO:2,AOL:3,ASK:4,UOL:5,GOO:6,MYWAY:7,TERRA:8,WEB:9,BIGLOBE:10,GMX:11,EXCITE:12,SKY:13,NAVER:14,NIFTY:15,RAKUTEN:16,IXQUICK:17,XFINITY:18,SOGOU:19,DOGPILE:20,SEARCH:21,WEBCRAWLER:22,BING:23,INFO:24,YANDEX:25,YIPPY:26,WOW:27,HAOSO:28,DUCKDUCKGO:30,ONESEARCH:31,LINKEDIN:100,FACEBOOK:101,YOUTUBE:102,INSTAGRAM:103,REDDIT:104,TWITTER:105},s={SHOPPING:{name:"shopping",variants:3},NEWS:{name:"news",variants:2},SEARCH:{name:"search",variants:1},COOKING:{name:"cooking",variants:1},STREAMING:{name:"streaming",variants:1},TRAVEL:{name:"travel",variants:1}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n(2);const r={[i.f.CHROME]:{WebBoost:"klekeajafkkpokaofllcadenjdckhinm",SearchExtension:"enppghjcblldgigemljohkgpcompnjgh",NewTabExtension:"kanjcmmieblbpbihaafnedamppkhfadn",AutomationExtension:"bipjijaejfebbgbhchciejpabkhgpegh"},[i.f.FIREFOX]:{SearchExtension:"{DFC8025B-FC38-42B1-9E3A-DFA474F33D93}",AutomationExtension:"{B1BC313F-0344-4FAF-95F0-F7D121EF6D6F}"},[i.f.EDGE]:{}},o={[i.f.CHROME]:{AmazonAssistant:"pbjikboenpfhbbejgkoklgkhjpfogcam"}},s=r[i.g.BROWSER_TYPE],a=o[i.g.BROWSER_TYPE];class c{static isWhiteListed(e){return s&&Object.values(s).includes(e)}static isWhiteListedLimited(e){return a&&Object.values(a).includes(e)}static get(e){return a&&a[e]?a[e]:s[e]}static getExtnIds(){return Object.values(s)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));class i{constructor(){this.tlds=null,this.getTlds()}getTlds(){fetch("https://publicsuffix.org/list/public_suffix_list.dat").then(e=>e.ok?e.text():null).then(e=>{const t=i.parseTLDData(e);this.tlds=t}).catch(()=>null)}static parseTLDData(e){const t={};if(!e)return null;const n=e.split(/\n/);for(let e=0;e<n.length;e+=1){let i=n[e];if(!i)continue;const r=i.indexOf("//");if(0===r)continue;r>0&&(i=i.substring(0,r));const o=i.replace(/^(\s|!|\*\.)/g,"");let s=(i.match(/\./g)||[]).length+1;s-=i.startsWith("!")?1:0,t[o]=s}return 0===Object.keys(t).length&&t.constructor===Object?null:t}parse(e){const t={hostname:"",subdomain:"",domain:"",domainOnly:"",suffix:""},n=new URL(e);if(!this.tlds||!n)return t;const{origin:i}=n,r=i.split(".");let o="",s=1;for(let e=r.length-1;e>=0;e-=1){const t=r[e];if(o=o?`${t}.${o}`:t,!this.tlds[o])break;s=this.tlds[o]}return r.length<=s?t:(t.subdomain=r.slice(0,-s-1).join("."),t.domain=r.slice(-s-1).join("."),t.domainOnly=r.slice(-s-1,-s).join("."),t.suffix=r.slice(-s).join("."),t.hostname=n.hostname,t)}static getURI(e){let t=e.split("?");return t.length>1?t[0]:(t=e.split("#"),t.length>1?t[0]:e)}static getCleanURI(e){let t=e;return t.endsWith("/")&&(t=t.slice(0,-1)),t.startsWith("http://")?t=t.slice(7):t.startsWith("https://")&&(t=t.slice(8)),this.getURI(t)}static getParam(e,t){const n=e.indexOf("?");if(-1===n)return null;const i=e.substring(n+1).split("&");for(let e=0;e<i.length;++e){const n=i[e].indexOf("=");if(-1!==n&&i[e].substring(0,n)===t){return i[e].substring(n+1)}}return null}static getDomain(e){if(void 0===e||!/^https?:\/\//.test(e))return"";return new URL(e).hostname}static decodeQueryParam(e){return decodeURIComponent(e.replace(/\+/g," "))}}},function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return s}));var i=n(6);const r={BLOCK_PAGE:"BLOCK_PAGE",CRYPTOJACKING:"CRYPTOJACKING",TYPOSQUATTING:"TYPOSQUATTING",IFRAME:"IFRAME",RAT_DETECTION:"RAT_DETECTION"},o={BLOCK_PAGE:i.c.BLOCK_PAGE_WHITELIST,CRYPTOJACKING:i.c.CRYPTO_WHITELIST,TYPOSQUATTING:i.c.TYPOSQUATTING_WHITELIST,IFRAME:i.c.BLOCK_PAGE_WHITELIST,RAT_DETECTION:i.c.RAT_DETECTION_WHITELIST},s={ADD:"ADD",GET:"GET",REMOVE:"REMOVE",CLEAR:"CLEAR"}},function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o}));const i={NONE:0,LINKEDIN:1,INSTAGRAM:2,YOUTUBE:4,FACEBOOK:8,TWITTER:16,REDDIT:32},r=Object.values(i).reduce((e,t)=>e+t),o={TOGGLE_ON:"TOGGLE_ON",TOGGLE_OFF:"TOGGLE_OFF",ANNOTATION_ENABLE_ALL:"ANNOTATION_ENABLE_ALL",ANNOTATION_DISABLE_ALL:"ANNOTATION_DISABLE_ALL",ANNOTATION_ENABLE:"ANNOTATION_ENABLE",ANNOTATION_DISABLE:"ANNOTATION_DISABLE",GET:"GET"}},function(e,t,n){var i;
/*!
 * jQuery JavaScript Library v3.5.0
 * https://jquery.com/
 *
 * Includes Sizzle.js
 * https://sizzlejs.com/
 *
 * Copyright JS Foundation and other contributors
 * Released under the MIT license
 * https://jquery.org/license
 *
 * Date: 2020-04-10T15:07Z
 */!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(n,r){"use strict";var o=[],s=Object.getPrototypeOf,a=o.slice,c=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},l=o.push,u=o.indexOf,d={},h=d.toString,p=d.hasOwnProperty,_=p.toString,E=_.call(Object),f={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},g=function(e){return null!=e&&e===e.window},T=n.document,S={type:!0,src:!0,nonce:!0,noModule:!0};function A(e,t,n){var i,r,o=(n=n||T).createElement("script");if(o.text=e,t)for(i in S)(r=t[i]||t.getAttribute&&t.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function O(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[h.call(e)]||"object":typeof e}var C=function(e,t){return new C.fn.init(e,t)};function N(e){var t=!!e&&"length"in e&&e.length,n=O(e);return!m(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}C.fn=C.prototype={jquery:"3.5.0",constructor:C,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=C.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return C.each(this,e)},map:function(e){return this.pushStack(C.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(C.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(C.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:o.sort,splice:o.splice},C.extend=C.fn.extend=function(){var e,t,n,i,r,o,s=arguments[0]||{},a=1,c=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[a]||{},a++),"object"==typeof s||m(s)||(s={}),a===c&&(s=this,a--);a<c;a++)if(null!=(e=arguments[a]))for(t in e)i=e[t],"__proto__"!==t&&s!==i&&(l&&i&&(C.isPlainObject(i)||(r=Array.isArray(i)))?(n=s[t],o=r&&!Array.isArray(n)?[]:r||C.isPlainObject(n)?n:{},r=!1,s[t]=C.extend(l,o,i)):void 0!==i&&(s[t]=i));return s},C.extend({expando:"jQuery"+("3.5.0"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==h.call(e))&&(!(t=s(e))||"function"==typeof(n=p.call(t,"constructor")&&t.constructor)&&_.call(n)===E)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){A(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,i=0;if(N(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(N(Object(e))?C.merge(n,"string"==typeof e?[e]:e):l.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;i++)e[r++]=t[i];return e.length=r,e},grep:function(e,t,n){for(var i=[],r=0,o=e.length,s=!n;r<o;r++)!t(e[r],r)!==s&&i.push(e[r]);return i},map:function(e,t,n){var i,r,o=0,s=[];if(N(e))for(i=e.length;o<i;o++)null!=(r=t(e[o],o,n))&&s.push(r);else for(o in e)null!=(r=t(e[o],o,n))&&s.push(r);return c(s)},guid:1,support:f}),"function"==typeof Symbol&&(C.fn[Symbol.iterator]=o[Symbol.iterator]),C.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){d["[object "+t+"]"]=t.toLowerCase()}));var I=
/*!
 * Sizzle CSS Selector Engine v2.3.5
 * https://sizzlejs.com/
 *
 * Copyright JS Foundation and other contributors
 * Released under the MIT license
 * https://js.foundation/
 *
 * Date: 2020-03-14
 */
function(e){var t,n,i,r,o,s,a,c,l,u,d,h,p,_,E,f,m,g,T,S="sizzle"+1*new Date,A=e.document,O=0,C=0,N=ce(),I=ce(),y=ce(),b=ce(),L=function(e,t){return e===t&&(d=!0),0},v={}.hasOwnProperty,R=[],D=R.pop,w=R.push,P=R.push,k=R.slice,x=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},M="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",G="[\\x20\\t\\r\\n\\f]",B="(?:\\\\[\\da-fA-F]{1,6}"+G+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",U="\\["+G+"*("+B+")(?:"+G+"*([*^$|!~]?=)"+G+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+B+"))|)"+G+"*\\]",H=":("+B+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+U+")*)|.*)\\)|)",W=new RegExp(G+"+","g"),F=new RegExp("^"+G+"+|((?:^|[^\\\\])(?:\\\\.)*)"+G+"+$","g"),K=new RegExp("^"+G+"*,"+G+"*"),j=new RegExp("^"+G+"*([>+~]|"+G+")"+G+"*"),q=new RegExp(G+"|>"),Y=new RegExp(H),$=new RegExp("^"+B+"$"),V={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+U),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+G+"*(even|odd|(([+-]|)(\\d*)n|)"+G+"*(?:([+-]|)"+G+"*(\\d+)|))"+G+"*\\)|)","i"),bool:new RegExp("^(?:"+M+")$","i"),needsContext:new RegExp("^"+G+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+G+"*((?:-\\d)?\\d*)"+G+"*\\)|)(?=[^-]|$)","i")},z=/HTML$/i,X=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+G+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},ie=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,re=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){h()},se=Se((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{P.apply(R=k.call(A.childNodes),A.childNodes),R[A.childNodes.length].nodeType}catch(e){P={apply:R.length?function(e,t){w.apply(e,k.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function ae(e,t,i,r){var o,a,l,u,d,_,m,g=t&&t.ownerDocument,A=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==A&&9!==A&&11!==A)return i;if(!r&&(h(t),t=t||p,E)){if(11!==A&&(d=Z.exec(e)))if(o=d[1]){if(9===A){if(!(l=t.getElementById(o)))return i;if(l.id===o)return i.push(l),i}else if(g&&(l=g.getElementById(o))&&T(t,l)&&l.id===o)return i.push(l),i}else{if(d[2])return P.apply(i,t.getElementsByTagName(e)),i;if((o=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return P.apply(i,t.getElementsByClassName(o)),i}if(n.qsa&&!b[e+" "]&&(!f||!f.test(e))&&(1!==A||"object"!==t.nodeName.toLowerCase())){if(m=e,g=t,1===A&&(q.test(e)||j.test(e))){for((g=ee.test(e)&&me(t.parentNode)||t)===t&&n.scope||((u=t.getAttribute("id"))?u=u.replace(ie,re):t.setAttribute("id",u=S)),a=(_=s(e)).length;a--;)_[a]=(u?"#"+u:":scope")+" "+Te(_[a]);m=_.join(",")}try{return P.apply(i,g.querySelectorAll(m)),i}catch(t){b(e,!0)}finally{u===S&&t.removeAttribute("id")}}}return c(e.replace(F,"$1"),t,i,r)}function ce(){var e=[];return function t(n,r){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function le(e){return e[S]=!0,e}function ue(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),r=n.length;r--;)i.attrHandle[n[r]]=t}function he(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function _e(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function Ee(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&se(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function fe(e){return le((function(t){return t=+t,le((function(n,i){for(var r,o=e([],n.length,t),s=o.length;s--;)n[r=o[s]]&&(n[r]=!(i[r]=n[r]))}))}))}function me(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=ae.support={},o=ae.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!z.test(t||n&&n.nodeName||"HTML")},h=ae.setDocument=function(e){var t,r,s=e?e.ownerDocument||e:A;return s!=p&&9===s.nodeType&&s.documentElement?(_=(p=s).documentElement,E=!o(p),A!=p&&(r=p.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",oe,!1):r.attachEvent&&r.attachEvent("onunload",oe)),n.scope=ue((function(e){return _.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=ue((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ue((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Q.test(p.getElementsByClassName),n.getById=ue((function(e){return _.appendChild(e).id=S,!p.getElementsByName||!p.getElementsByName(S).length})),n.getById?(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&E){var n,i,r,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(r=t.getElementsByName(e),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),i.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},i.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&E)return t.getElementsByClassName(e)},m=[],f=[],(n.qsa=Q.test(p.querySelectorAll))&&(ue((function(e){var t;_.appendChild(e).innerHTML="<a id='"+S+"'></a><select id='"+S+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&f.push("[*^$]="+G+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||f.push("\\["+G+"*(?:value|"+M+")"),e.querySelectorAll("[id~="+S+"-]").length||f.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||f.push("\\["+G+"*name"+G+"*="+G+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||f.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||f.push(".#.+[+~]"),e.querySelectorAll("\\\f"),f.push("[\\r\\n\\f]")})),ue((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&f.push("name"+G+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&f.push(":enabled",":disabled"),_.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&f.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),f.push(",.*:")}))),(n.matchesSelector=Q.test(g=_.matches||_.webkitMatchesSelector||_.mozMatchesSelector||_.oMatchesSelector||_.msMatchesSelector))&&ue((function(e){n.disconnectedMatch=g.call(e,"*"),g.call(e,"[s!='']:x"),m.push("!=",H)})),f=f.length&&new RegExp(f.join("|")),m=m.length&&new RegExp(m.join("|")),t=Q.test(_.compareDocumentPosition),T=t||Q.test(_.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},L=t?function(e,t){if(e===t)return d=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===i?e==p||e.ownerDocument==A&&T(A,e)?-1:t==p||t.ownerDocument==A&&T(A,t)?1:u?x(u,e)-x(u,t):0:4&i?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!r||!o)return e==p?-1:t==p?1:r?-1:o?1:u?x(u,e)-x(u,t):0;if(r===o)return he(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[i]===a[i];)i++;return i?he(s[i],a[i]):s[i]==A?-1:a[i]==A?1:0},p):p},ae.matches=function(e,t){return ae(e,null,null,t)},ae.matchesSelector=function(e,t){if(h(e),n.matchesSelector&&E&&!b[t+" "]&&(!m||!m.test(t))&&(!f||!f.test(t)))try{var i=g.call(e,t);if(i||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){b(t,!0)}return ae(t,p,null,[e]).length>0},ae.contains=function(e,t){return(e.ownerDocument||e)!=p&&h(e),T(e,t)},ae.attr=function(e,t){(e.ownerDocument||e)!=p&&h(e);var r=i.attrHandle[t.toLowerCase()],o=r&&v.call(i.attrHandle,t.toLowerCase())?r(e,t,!E):void 0;return void 0!==o?o:n.attributes||!E?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},ae.escape=function(e){return(e+"").replace(ie,re)},ae.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ae.uniqueSort=function(e){var t,i=[],r=0,o=0;if(d=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(L),d){for(;t=e[o++];)t===e[o]&&(r=i.push(o));for(;r--;)e.splice(i[r],1)}return u=null,e},r=ae.getText=function(e){var t,n="",i=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=r(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[i++];)n+=r(t);return n},(i=ae.selectors={cacheLength:50,createPseudo:le,match:V,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(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,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,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&Y.test(n)&&(t=s(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=N[e+" "];return t||(t=new RegExp("(^|"+G+")"+e+"("+G+"|$)"))&&N(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(i){var r=ae.attr(i,e);return null==r?"!="===t:!t||(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&r.indexOf(n)>-1:"$="===t?n&&r.slice(-n.length)===n:"~="===t?(" "+r.replace(W," ")+" ").indexOf(n)>-1:"|="===t&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,r){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,c){var l,u,d,h,p,_,E=o!==s?"nextSibling":"previousSibling",f=t.parentNode,m=a&&t.nodeName.toLowerCase(),g=!c&&!a,T=!1;if(f){if(o){for(;E;){for(h=t;h=h[E];)if(a?h.nodeName.toLowerCase()===m:1===h.nodeType)return!1;_=E="only"===e&&!_&&"nextSibling"}return!0}if(_=[s?f.firstChild:f.lastChild],s&&g){for(T=(p=(l=(u=(d=(h=f)[S]||(h[S]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]||[])[0]===O&&l[1])&&l[2],h=p&&f.childNodes[p];h=++p&&h&&h[E]||(T=p=0)||_.pop();)if(1===h.nodeType&&++T&&h===t){u[e]=[O,p,T];break}}else if(g&&(T=p=(l=(u=(d=(h=t)[S]||(h[S]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]||[])[0]===O&&l[1]),!1===T)for(;(h=++p&&h&&h[E]||(T=p=0)||_.pop())&&((a?h.nodeName.toLowerCase()!==m:1!==h.nodeType)||!++T||(g&&((u=(d=h[S]||(h[S]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]=[O,T]),h!==t)););return(T-=r)===i||T%i==0&&T/i>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||ae.error("unsupported pseudo: "+e);return r[S]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?le((function(e,n){for(var i,o=r(e,t),s=o.length;s--;)e[i=x(e,o[s])]=!(n[i]=o[s])})):function(e){return r(e,0,n)}):r}},pseudos:{not:le((function(e){var t=[],n=[],i=a(e.replace(F,"$1"));return i[S]?le((function(e,t,n,r){for(var o,s=i(e,null,r,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=o))})):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}})),has:le((function(e){return function(t){return ae(e,t).length>0}})),contains:le((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||r(t)).indexOf(e)>-1}})),lang:le((function(e){return $.test(e||"")||ae.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=E?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===_},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:Ee(!1),disabled:Ee(!0),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!i.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return X.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,n){return[n<0?n+t:n]})),even:fe((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:fe((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:fe((function(e,t,n){for(var i=n<0?n+t:n>t?t:n;--i>=0;)e.push(i);return e})),gt:fe((function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e}))}}).pseudos.nth=i.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[t]=pe(t);for(t in{submit:!0,reset:!0})i.pseudos[t]=_e(t);function ge(){}function Te(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function Se(e,t,n){var i=t.dir,r=t.next,o=r||i,s=n&&"parentNode"===o,a=C++;return t.first?function(t,n,r){for(;t=t[i];)if(1===t.nodeType||s)return e(t,n,r);return!1}:function(t,n,c){var l,u,d,h=[O,a];if(c){for(;t=t[i];)if((1===t.nodeType||s)&&e(t,n,c))return!0}else for(;t=t[i];)if(1===t.nodeType||s)if(u=(d=t[S]||(t[S]={}))[t.uniqueID]||(d[t.uniqueID]={}),r&&r===t.nodeName.toLowerCase())t=t[i]||t;else{if((l=u[o])&&l[0]===O&&l[1]===a)return h[2]=l[2];if(u[o]=h,h[2]=e(t,n,c))return!0}return!1}}function Ae(e){return e.length>1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function Oe(e,t,n,i,r){for(var o,s=[],a=0,c=e.length,l=null!=t;a<c;a++)(o=e[a])&&(n&&!n(o,i,r)||(s.push(o),l&&t.push(a)));return s}function Ce(e,t,n,i,r,o){return i&&!i[S]&&(i=Ce(i)),r&&!r[S]&&(r=Ce(r,o)),le((function(o,s,a,c){var l,u,d,h=[],p=[],_=s.length,E=o||function(e,t,n){for(var i=0,r=t.length;i<r;i++)ae(e,t[i],n);return n}(t||"*",a.nodeType?[a]:a,[]),f=!e||!o&&t?E:Oe(E,h,e,a,c),m=n?r||(o?e:_||i)?[]:s:f;if(n&&n(f,m,a,c),i)for(l=Oe(m,p),i(l,[],a,c),u=l.length;u--;)(d=l[u])&&(m[p[u]]=!(f[p[u]]=d));if(o){if(r||e){if(r){for(l=[],u=m.length;u--;)(d=m[u])&&l.push(f[u]=d);r(null,m=[],l,c)}for(u=m.length;u--;)(d=m[u])&&(l=r?x(o,d):h[u])>-1&&(o[l]=!(s[l]=d))}}else m=Oe(m===s?m.splice(_,m.length):m),r?r(null,s,m,c):P.apply(s,m)}))}function Ne(e){for(var t,n,r,o=e.length,s=i.relative[e[0].type],a=s||i.relative[" "],c=s?1:0,u=Se((function(e){return e===t}),a,!0),d=Se((function(e){return x(t,e)>-1}),a,!0),h=[function(e,n,i){var r=!s&&(i||n!==l)||((t=n).nodeType?u(e,n,i):d(e,n,i));return t=null,r}];c<o;c++)if(n=i.relative[e[c].type])h=[Se(Ae(h),n)];else{if((n=i.filter[e[c].type].apply(null,e[c].matches))[S]){for(r=++c;r<o&&!i.relative[e[r].type];r++);return Ce(c>1&&Ae(h),c>1&&Te(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(F,"$1"),n,c<r&&Ne(e.slice(c,r)),r<o&&Ne(e=e.slice(r)),r<o&&Te(e))}h.push(n)}return Ae(h)}return ge.prototype=i.filters=i.pseudos,i.setFilters=new ge,s=ae.tokenize=function(e,t){var n,r,o,s,a,c,l,u=I[e+" "];if(u)return t?0:u.slice(0);for(a=e,c=[],l=i.preFilter;a;){for(s in n&&!(r=K.exec(a))||(r&&(a=a.slice(r[0].length)||a),c.push(o=[])),n=!1,(r=j.exec(a))&&(n=r.shift(),o.push({value:n,type:r[0].replace(F," ")}),a=a.slice(n.length)),i.filter)!(r=V[s].exec(a))||l[s]&&!(r=l[s](r))||(n=r.shift(),o.push({value:n,type:s,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?ae.error(e):I(e,c).slice(0)},a=ae.compile=function(e,t){var n,r=[],o=[],a=y[e+" "];if(!a){for(t||(t=s(e)),n=t.length;n--;)(a=Ne(t[n]))[S]?r.push(a):o.push(a);(a=y(e,function(e,t){var n=t.length>0,r=e.length>0,o=function(o,s,a,c,u){var d,_,f,m=0,g="0",T=o&&[],S=[],A=l,C=o||r&&i.find.TAG("*",u),N=O+=null==A?1:Math.random()||.1,I=C.length;for(u&&(l=s==p||s||u);g!==I&&null!=(d=C[g]);g++){if(r&&d){for(_=0,s||d.ownerDocument==p||(h(d),a=!E);f=e[_++];)if(f(d,s||p,a)){c.push(d);break}u&&(O=N)}n&&((d=!f&&d)&&m--,o&&T.push(d))}if(m+=g,n&&g!==m){for(_=0;f=t[_++];)f(T,S,s,a);if(o){if(m>0)for(;g--;)T[g]||S[g]||(S[g]=D.call(c));S=Oe(S)}P.apply(c,S),u&&!o&&S.length>0&&m+t.length>1&&ae.uniqueSort(c)}return u&&(O=N,l=A),T};return n?le(o):o}(o,r))).selector=e}return a},c=ae.select=function(e,t,n,r){var o,c,l,u,d,h="function"==typeof e&&e,p=!r&&s(e=h.selector||e);if(n=n||[],1===p.length){if((c=p[0]=p[0].slice(0)).length>2&&"ID"===(l=c[0]).type&&9===t.nodeType&&E&&i.relative[c[1].type]){if(!(t=(i.find.ID(l.matches[0].replace(te,ne),t)||[])[0]))return n;h&&(t=t.parentNode),e=e.slice(c.shift().value.length)}for(o=V.needsContext.test(e)?0:c.length;o--&&(l=c[o],!i.relative[u=l.type]);)if((d=i.find[u])&&(r=d(l.matches[0].replace(te,ne),ee.test(c[0].type)&&me(t.parentNode)||t))){if(c.splice(o,1),!(e=r.length&&Te(c)))return P.apply(n,r),n;break}}return(h||a(e,p))(r,t,!E,n,!t||ee.test(e)&&me(t.parentNode)||t),n},n.sortStable=S.split("").sort(L).join("")===S,n.detectDuplicates=!!d,h(),n.sortDetached=ue((function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))})),ue((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||de("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ue((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||de("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ue((function(e){return null==e.getAttribute("disabled")}))||de(M,(function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null})),ae}(n);C.find=I,C.expr=I.selectors,C.expr[":"]=C.expr.pseudos,C.uniqueSort=C.unique=I.uniqueSort,C.text=I.getText,C.isXMLDoc=I.isXML,C.contains=I.contains,C.escapeSelector=I.escape;var y=function(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&C(e).is(n))break;i.push(e)}return i},b=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},L=C.expr.match.needsContext;function v(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var R=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(e,t,n){return m(t)?C.grep(e,(function(e,i){return!!t.call(e,i,e)!==n})):t.nodeType?C.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?C.grep(e,(function(e){return u.call(t,e)>-1!==n})):C.filter(t,e,n)}C.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?C.find.matchesSelector(i,e)?[i]:[]:C.find.matches(e,C.grep(t,(function(e){return 1===e.nodeType})))},C.fn.extend({find:function(e){var t,n,i=this.length,r=this;if("string"!=typeof e)return this.pushStack(C(e).filter((function(){for(t=0;t<i;t++)if(C.contains(r[t],this))return!0})));for(n=this.pushStack([]),t=0;t<i;t++)C.find(e,r[t],n);return i>1?C.uniqueSort(n):n},filter:function(e){return this.pushStack(D(this,e||[],!1))},not:function(e){return this.pushStack(D(this,e||[],!0))},is:function(e){return!!D(this,"string"==typeof e&&L.test(e)?C(e):e||[],!1).length}});var w,P=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(C.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||w,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:P.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof C?t[0]:t,C.merge(this,C.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:T,!0)),R.test(i[1])&&C.isPlainObject(t))for(i in t)m(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(r=T.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(C):C.makeArray(e,this)}).prototype=C.fn,w=C(T);var k=/^(?:parents|prev(?:Until|All))/,x={children:!0,contents:!0,next:!0,prev:!0};function M(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}C.fn.extend({has:function(e){var t=C(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(C.contains(this,t[e]))return!0}))},closest:function(e,t){var n,i=0,r=this.length,o=[],s="string"!=typeof e&&C(e);if(!L.test(e))for(;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&C.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?C.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(C(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),C.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return y(e,"parentNode")},parentsUntil:function(e,t,n){return y(e,"parentNode",n)},next:function(e){return M(e,"nextSibling")},prev:function(e){return M(e,"previousSibling")},nextAll:function(e){return y(e,"nextSibling")},prevAll:function(e){return y(e,"previousSibling")},nextUntil:function(e,t,n){return y(e,"nextSibling",n)},prevUntil:function(e,t,n){return y(e,"previousSibling",n)},siblings:function(e){return b((e.parentNode||{}).firstChild,e)},children:function(e){return b(e.firstChild)},contents:function(e){return null!=e.contentDocument&&s(e.contentDocument)?e.contentDocument:(v(e,"template")&&(e=e.content||e),C.merge([],e.childNodes))}},(function(e,t){C.fn[e]=function(n,i){var r=C.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=C.filter(i,r)),this.length>1&&(x[e]||C.uniqueSort(r),k.test(e)&&r.reverse()),this.pushStack(r)}}));var G=/[^\x20\t\r\n\f]+/g;function B(e){return e}function U(e){throw e}function H(e,t,n,i){var r;try{e&&m(r=e.promise)?r.call(e).done(t).fail(n):e&&m(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}C.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return C.each(e.match(G)||[],(function(e,n){t[n]=!0})),t}(e):C.extend({},e);var t,n,i,r,o=[],s=[],a=-1,c=function(){for(r=r||e.once,i=t=!0;s.length;a=-1)for(n=s.shift();++a<o.length;)!1===o[a].apply(n[0],n[1])&&e.stopOnFalse&&(a=o.length,n=!1);e.memory||(n=!1),t=!1,r&&(o=n?[]:"")},l={add:function(){return o&&(n&&!t&&(a=o.length-1,s.push(n)),function t(n){C.each(n,(function(n,i){m(i)?e.unique&&l.has(i)||o.push(i):i&&i.length&&"string"!==O(i)&&t(i)}))}(arguments),n&&!t&&c()),this},remove:function(){return C.each(arguments,(function(e,t){for(var n;(n=C.inArray(t,o,n))>-1;)o.splice(n,1),n<=a&&a--})),this},has:function(e){return e?C.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=s=[],n||t||(o=n=""),this},locked:function(){return!!r},fireWith:function(e,n){return r||(n=[e,(n=n||[]).slice?n.slice():n],s.push(n),t||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!i}};return l},C.extend({Deferred:function(e){var t=[["notify","progress",C.Callbacks("memory"),C.Callbacks("memory"),2],["resolve","done",C.Callbacks("once memory"),C.Callbacks("once memory"),0,"resolved"],["reject","fail",C.Callbacks("once memory"),C.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return C.Deferred((function(n){C.each(t,(function(t,i){var r=m(e[i[4]])&&e[i[4]];o[i[1]]((function(){var e=r&&r.apply(this,arguments);e&&m(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,r?[e]:arguments)}))})),e=null})).promise()},then:function(e,i,r){var o=0;function s(e,t,i,r){return function(){var a=this,c=arguments,l=function(){var n,l;if(!(e<o)){if((n=i.apply(a,c))===t.promise())throw new TypeError("Thenable self-resolution");l=n&&("object"==typeof n||"function"==typeof n)&&n.then,m(l)?r?l.call(n,s(o,t,B,r),s(o,t,U,r)):(o++,l.call(n,s(o,t,B,r),s(o,t,U,r),s(o,t,B,t.notifyWith))):(i!==B&&(a=void 0,c=[n]),(r||t.resolveWith)(a,c))}},u=r?l:function(){try{l()}catch(n){C.Deferred.exceptionHook&&C.Deferred.exceptionHook(n,u.stackTrace),e+1>=o&&(i!==U&&(a=void 0,c=[n]),t.rejectWith(a,c))}};e?u():(C.Deferred.getStackHook&&(u.stackTrace=C.Deferred.getStackHook()),n.setTimeout(u))}}return C.Deferred((function(n){t[0][3].add(s(0,n,m(r)?r:B,n.notifyWith)),t[1][3].add(s(0,n,m(e)?e:B)),t[2][3].add(s(0,n,m(i)?i:U))})).promise()},promise:function(e){return null!=e?C.extend(e,r):r}},o={};return C.each(t,(function(e,n){var s=n[2],a=n[5];r[n[1]]=s.add,a&&s.add((function(){i=a}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),s.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=s.fireWith})),r.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,i=Array(n),r=a.call(arguments),o=C.Deferred(),s=function(e){return function(n){i[e]=this,r[e]=arguments.length>1?a.call(arguments):n,--t||o.resolveWith(i,r)}};if(t<=1&&(H(e,o.done(s(n)).resolve,o.reject,!t),"pending"===o.state()||m(r[n]&&r[n].then)))return o.then();for(;n--;)H(r[n],s(n),o.reject);return o.promise()}});var W=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;C.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&W.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},C.readyException=function(e){n.setTimeout((function(){throw e}))};var F=C.Deferred();function K(){T.removeEventListener("DOMContentLoaded",K),n.removeEventListener("load",K),C.ready()}C.fn.ready=function(e){return F.then(e).catch((function(e){C.readyException(e)})),this},C.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--C.readyWait:C.isReady)||(C.isReady=!0,!0!==e&&--C.readyWait>0||F.resolveWith(T,[C]))}}),C.ready.then=F.then,"complete"===T.readyState||"loading"!==T.readyState&&!T.documentElement.doScroll?n.setTimeout(C.ready):(T.addEventListener("DOMContentLoaded",K),n.addEventListener("load",K));var j=function(e,t,n,i,r,o,s){var a=0,c=e.length,l=null==n;if("object"===O(n))for(a in r=!0,n)j(e,t,a,n[a],!0,o,s);else if(void 0!==i&&(r=!0,m(i)||(s=!0),l&&(s?(t.call(e,i),t=null):(l=t,t=function(e,t,n){return l.call(C(e),n)})),t))for(;a<c;a++)t(e[a],n,s?i:i.call(e[a],a,t(e[a],n)));return r?e:l?t.call(e):c?t(e[0],n):o},q=/^-ms-/,Y=/-([a-z])/g;function $(e,t){return t.toUpperCase()}function V(e){return e.replace(q,"ms-").replace(Y,$)}var z=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function X(){this.expando=C.expando+X.uid++}X.uid=1,X.prototype={cache:function(e){var t=e[this.expando];return t||(t=Object.create(null),z(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,r=this.cache(e);if("string"==typeof t)r[V(t)]=n;else for(i in t)r[V(i)]=t[i];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][V(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(V):(t=V(t))in i?[t]:t.match(G)||[]).length;for(;n--;)delete i[t[n]]}(void 0===t||C.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!C.isEmptyObject(t)}};var J=new X,Q=new X,Z=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ee=/[A-Z]/g;function te(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(ee,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Z.test(e)?JSON.parse(e):e)}(n)}catch(e){}Q.set(e,t,n)}else n=void 0;return n}C.extend({hasData:function(e){return Q.hasData(e)||J.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,n){return J.access(e,t,n)},_removeData:function(e,t){J.remove(e,t)}}),C.fn.extend({data:function(e,t){var n,i,r,o=this[0],s=o&&o.attributes;if(void 0===e){if(this.length&&(r=Q.get(o),1===o.nodeType&&!J.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(i=s[n].name).indexOf("data-")&&(i=V(i.slice(5)),te(o,i,r[i]));J.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each((function(){Q.set(this,e)})):j(this,(function(t){var n;if(o&&void 0===t)return void 0!==(n=Q.get(o,e))?n:void 0!==(n=te(o,e))?n:void 0;this.each((function(){Q.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){Q.remove(this,e)}))}}),C.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=J.get(e,t),n&&(!i||Array.isArray(n)?i=J.access(e,t,C.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=C.queue(e,t),i=n.length,r=n.shift(),o=C._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,(function(){C.dequeue(e,t)}),o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:C.Callbacks("once memory").add((function(){J.remove(e,[t+"queue",n])}))})}}),C.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?C.queue(this[0],e):void 0===t?this:this.each((function(){var n=C.queue(this,e,t);C._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&C.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){C.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=C.Deferred(),o=this,s=this.length,a=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(n=J.get(o[s],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(t)}});var ne=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ie=new RegExp("^(?:([+-])=|)("+ne+")([a-z%]*)$","i"),re=["Top","Right","Bottom","Left"],oe=T.documentElement,se=function(e){return C.contains(e.ownerDocument,e)},ae={composed:!0};oe.getRootNode&&(se=function(e){return C.contains(e.ownerDocument,e)||e.getRootNode(ae)===e.ownerDocument});var ce=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&se(e)&&"none"===C.css(e,"display")};function le(e,t,n,i){var r,o,s=20,a=i?function(){return i.cur()}:function(){return C.css(e,t,"")},c=a(),l=n&&n[3]||(C.cssNumber[t]?"":"px"),u=e.nodeType&&(C.cssNumber[t]||"px"!==l&&+c)&&ie.exec(C.css(e,t));if(u&&u[3]!==l){for(c/=2,l=l||u[3],u=+c||1;s--;)C.style(e,t,u+l),(1-o)*(1-(o=a()/c||.5))<=0&&(s=0),u/=o;u*=2,C.style(e,t,u+l),n=n||[]}return n&&(u=+u||+c||0,r=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=l,i.start=u,i.end=r)),r}var ue={};function de(e){var t,n=e.ownerDocument,i=e.nodeName,r=ue[i];return r||(t=n.body.appendChild(n.createElement(i)),r=C.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),ue[i]=r,r)}function he(e,t){for(var n,i,r=[],o=0,s=e.length;o<s;o++)(i=e[o]).style&&(n=i.style.display,t?("none"===n&&(r[o]=J.get(i,"display")||null,r[o]||(i.style.display="")),""===i.style.display&&ce(i)&&(r[o]=de(i))):"none"!==n&&(r[o]="none",J.set(i,"display",n)));for(o=0;o<s;o++)null!=r[o]&&(e[o].style.display=r[o]);return e}C.fn.extend({show:function(){return he(this,!0)},hide:function(){return he(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ce(this)?C(this).show():C(this).hide()}))}});var pe,_e,Ee=/^(?:checkbox|radio)$/i,fe=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,me=/^$|^module$|\/(?:java|ecma)script/i;pe=T.createDocumentFragment().appendChild(T.createElement("div")),(_e=T.createElement("input")).setAttribute("type","radio"),_e.setAttribute("checked","checked"),_e.setAttribute("name","t"),pe.appendChild(_e),f.checkClone=pe.cloneNode(!0).cloneNode(!0).lastChild.checked,pe.innerHTML="<textarea>x</textarea>",f.noCloneChecked=!!pe.cloneNode(!0).lastChild.defaultValue,pe.innerHTML="<option></option>",f.option=!!pe.lastChild;var ge={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 Te(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&v(e,t)?C.merge([e],n):n}function Se(e,t){for(var n=0,i=e.length;n<i;n++)J.set(e[n],"globalEval",!t||J.get(t[n],"globalEval"))}ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td,f.option||(ge.optgroup=ge.option=[1,"<select multiple='multiple'>","</select>"]);var Ae=/<|&#?\w+;/;function Oe(e,t,n,i,r){for(var o,s,a,c,l,u,d=t.createDocumentFragment(),h=[],p=0,_=e.length;p<_;p++)if((o=e[p])||0===o)if("object"===O(o))C.merge(h,o.nodeType?[o]:o);else if(Ae.test(o)){for(s=s||d.appendChild(t.createElement("div")),a=(fe.exec(o)||["",""])[1].toLowerCase(),c=ge[a]||ge._default,s.innerHTML=c[1]+C.htmlPrefilter(o)+c[2],u=c[0];u--;)s=s.lastChild;C.merge(h,s.childNodes),(s=d.firstChild).textContent=""}else h.push(t.createTextNode(o));for(d.textContent="",p=0;o=h[p++];)if(i&&C.inArray(o,i)>-1)r&&r.push(o);else if(l=se(o),s=Te(d.appendChild(o),"script"),l&&Se(s),n)for(u=0;o=s[u++];)me.test(o.type||"")&&n.push(o);return d}var Ce=/^key/,Ne=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ie=/^([^.]*)(?:\.(.+)|)/;function ye(){return!0}function be(){return!1}function Le(e,t){return e===function(){try{return T.activeElement}catch(e){}}()==("focus"===t)}function ve(e,t,n,i,r,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(i=i||n,n=void 0),t)ve(e,a,n,i,t[a],o);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=be;else if(!r)return e;return 1===o&&(s=r,(r=function(e){return C().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=C.guid++)),e.each((function(){C.event.add(this,t,r,i,n)}))}function Re(e,t,n){n?(J.set(e,t,!1),C.event.add(e,t,{namespace:!1,handler:function(e){var i,r,o=J.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(C.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=a.call(arguments),J.set(this,t,o),i=n(this,t),this[t](),o!==(r=J.get(this,t))||i?J.set(this,t,!1):r={},o!==r)return e.stopImmediatePropagation(),e.preventDefault(),r.value}else o.length&&(J.set(this,t,{value:C.event.trigger(C.extend(o[0],C.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===J.get(e,t)&&C.event.add(e,t,ye)}C.event={global:{},add:function(e,t,n,i,r){var o,s,a,c,l,u,d,h,p,_,E,f=J.get(e);if(z(e))for(n.handler&&(n=(o=n).handler,r=o.selector),r&&C.find.matchesSelector(oe,r),n.guid||(n.guid=C.guid++),(c=f.events)||(c=f.events=Object.create(null)),(s=f.handle)||(s=f.handle=function(t){return void 0!==C&&C.event.triggered!==t.type?C.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(G)||[""]).length;l--;)p=E=(a=Ie.exec(t[l])||[])[1],_=(a[2]||"").split(".").sort(),p&&(d=C.event.special[p]||{},p=(r?d.delegateType:d.bindType)||p,d=C.event.special[p]||{},u=C.extend({type:p,origType:E,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&C.expr.match.needsContext.test(r),namespace:_.join(".")},o),(h=c[p])||((h=c[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,i,_,s)||e.addEventListener&&e.addEventListener(p,s)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,u):h.push(u),C.event.global[p]=!0)},remove:function(e,t,n,i,r){var o,s,a,c,l,u,d,h,p,_,E,f=J.hasData(e)&&J.get(e);if(f&&(c=f.events)){for(l=(t=(t||"").match(G)||[""]).length;l--;)if(p=E=(a=Ie.exec(t[l])||[])[1],_=(a[2]||"").split(".").sort(),p){for(d=C.event.special[p]||{},h=c[p=(i?d.delegateType:d.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+_.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=h.length;o--;)u=h[o],!r&&E!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(h.splice(o,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(e,u));s&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,_,f.handle)||C.removeEvent(e,p,f.handle),delete c[p])}else for(p in c)C.event.remove(e,p+t[l],n,i,!0);C.isEmptyObject(c)&&J.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,o,s,a=new Array(arguments.length),c=C.event.fix(e),l=(J.get(this,"events")||Object.create(null))[c.type]||[],u=C.event.special[c.type]||{};for(a[0]=c,t=1;t<arguments.length;t++)a[t]=arguments[t];if(c.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,c)){for(s=C.event.handlers.call(this,c,l),t=0;(r=s[t++])&&!c.isPropagationStopped();)for(c.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!c.isImmediatePropagationStopped();)c.rnamespace&&!1!==o.namespace&&!c.rnamespace.test(o.namespace)||(c.handleObj=o,c.data=o.data,void 0!==(i=((C.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,a))&&!1===(c.result=i)&&(c.preventDefault(),c.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,c),c.result}},handlers:function(e,t){var n,i,r,o,s,a=[],c=t.delegateCount,l=e.target;if(c&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],s={},n=0;n<c;n++)void 0===s[r=(i=t[n]).selector+" "]&&(s[r]=i.needsContext?C(r,this).index(l)>-1:C.find(r,this,null,[l]).length),s[r]&&o.push(i);o.length&&a.push({elem:l,handlers:o})}return l=this,c<t.length&&a.push({elem:l,handlers:t.slice(c)}),a},addProp:function(e,t){Object.defineProperty(C.Event.prototype,e,{enumerable:!0,configurable:!0,get:m(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[C.expando]?e:new C.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Ee.test(t.type)&&t.click&&v(t,"input")&&Re(t,"click",ye),!1},trigger:function(e){var t=this||e;return Ee.test(t.type)&&t.click&&v(t,"input")&&Re(t,"click"),!0},_default:function(e){var t=e.target;return Ee.test(t.type)&&t.click&&v(t,"input")&&J.get(t,"click")||v(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},C.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},C.Event=function(e,t){if(!(this instanceof C.Event))return new C.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?ye:be,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&C.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[C.expando]=!0},C.Event.prototype={constructor:C.Event,isDefaultPrevented:be,isPropagationStopped:be,isImmediatePropagationStopped:be,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=ye,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=ye,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=ye,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},C.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&Ce.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Ne.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},C.event.addProp),C.each({focus:"focusin",blur:"focusout"},(function(e,t){C.event.special[e]={setup:function(){return Re(this,e,Le),!1},trigger:function(){return Re(this,e),!0},delegateType:t}})),C.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){C.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,r=e.relatedTarget,o=e.handleObj;return r&&(r===i||C.contains(i,r))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),C.fn.extend({on:function(e,t,n,i){return ve(this,e,t,n,i)},one:function(e,t,n,i){return ve(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,C(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=be),this.each((function(){C.event.remove(this,e,n,t)}))}});var De=/<script|<style|<link/i,we=/checked\s*(?:[^=]|=\s*.checked.)/i,Pe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function ke(e,t){return v(e,"table")&&v(11!==t.nodeType?t:t.firstChild,"tr")&&C(e).children("tbody")[0]||e}function xe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Me(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ge(e,t){var n,i,r,o,s,a;if(1===t.nodeType){if(J.hasData(e)&&(a=J.get(e).events))for(r in J.remove(t,"handle events"),a)for(n=0,i=a[r].length;n<i;n++)C.event.add(t,r,a[r][n]);Q.hasData(e)&&(o=Q.access(e),s=C.extend({},o),Q.set(t,s))}}function Be(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Ee.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Ue(e,t,n,i){t=c(t);var r,o,s,a,l,u,d=0,h=e.length,p=h-1,_=t[0],E=m(_);if(E||h>1&&"string"==typeof _&&!f.checkClone&&we.test(_))return e.each((function(r){var o=e.eq(r);E&&(t[0]=_.call(this,r,o.html())),Ue(o,t,n,i)}));if(h&&(o=(r=Oe(t,e[0].ownerDocument,!1,e,i)).firstChild,1===r.childNodes.length&&(r=o),o||i)){for(a=(s=C.map(Te(r,"script"),xe)).length;d<h;d++)l=r,d!==p&&(l=C.clone(l,!0,!0),a&&C.merge(s,Te(l,"script"))),n.call(e[d],l,d);if(a)for(u=s[s.length-1].ownerDocument,C.map(s,Me),d=0;d<a;d++)l=s[d],me.test(l.type||"")&&!J.access(l,"globalEval")&&C.contains(u,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?C._evalUrl&&!l.noModule&&C._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},u):A(l.textContent.replace(Pe,""),l,u))}return e}function He(e,t,n){for(var i,r=t?C.filter(t,e):e,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||C.cleanData(Te(i)),i.parentNode&&(n&&se(i)&&Se(Te(i,"script")),i.parentNode.removeChild(i));return e}C.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,r,o,s,a=e.cloneNode(!0),c=se(e);if(!(f.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||C.isXMLDoc(e)))for(s=Te(a),i=0,r=(o=Te(e)).length;i<r;i++)Be(o[i],s[i]);if(t)if(n)for(o=o||Te(e),s=s||Te(a),i=0,r=o.length;i<r;i++)Ge(o[i],s[i]);else Ge(e,a);return(s=Te(a,"script")).length>0&&Se(s,!c&&Te(e,"script")),a},cleanData:function(e){for(var t,n,i,r=C.event.special,o=0;void 0!==(n=e[o]);o++)if(z(n)){if(t=n[J.expando]){if(t.events)for(i in t.events)r[i]?C.event.remove(n,i):C.removeEvent(n,i,t.handle);n[J.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),C.fn.extend({detach:function(e){return He(this,e,!0)},remove:function(e){return He(this,e)},text:function(e){return j(this,(function(e){return void 0===e?C.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 Ue(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||ke(this,e).appendChild(e)}))},prepend:function(){return Ue(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=ke(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ue(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ue(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(C.cleanData(Te(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return C.clone(this,e,t)}))},html:function(e){return j(this,(function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!De.test(e)&&!ge[(fe.exec(e)||["",""])[1].toLowerCase()]){e=C.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(C.cleanData(Te(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Ue(this,arguments,(function(t){var n=this.parentNode;C.inArray(this,e)<0&&(C.cleanData(Te(this)),n&&n.replaceChild(t,this))}),e)}}),C.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){C.fn[e]=function(e){for(var n,i=[],r=C(e),o=r.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),C(r[s])[t](n),l.apply(i,n.get());return this.pushStack(i)}}));var We=new RegExp("^("+ne+")(?!px)[a-z%]+$","i"),Fe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Ke=function(e,t,n){var i,r,o={};for(r in t)o[r]=e.style[r],e.style[r]=t[r];for(r in i=n.call(e),t)e.style[r]=o[r];return i},je=new RegExp(re.join("|"),"i");function qe(e,t,n){var i,r,o,s,a=e.style;return(n=n||Fe(e))&&(""!==(s=n.getPropertyValue(t)||n[t])||se(e)||(s=C.style(e,t)),!f.pixelBoxStyles()&&We.test(s)&&je.test(t)&&(i=a.width,r=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=i,a.minWidth=r,a.maxWidth=o)),void 0!==s?s+"":s}function Ye(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",oe.appendChild(l).appendChild(u);var e=n.getComputedStyle(u);i="1%"!==e.top,c=12===t(e.marginLeft),u.style.right="60%",s=36===t(e.right),r=36===t(e.width),u.style.position="absolute",o=12===t(u.offsetWidth/3),oe.removeChild(l),u=null}}function t(e){return Math.round(parseFloat(e))}var i,r,o,s,a,c,l=T.createElement("div"),u=T.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",f.clearCloneStyle="content-box"===u.style.backgroundClip,C.extend(f,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),s},pixelPosition:function(){return e(),i},reliableMarginLeft:function(){return e(),c},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,t,i,r;return null==a&&(e=T.createElement("table"),t=T.createElement("tr"),i=T.createElement("div"),e.style.cssText="position:absolute;left:-11111px",t.style.height="1px",i.style.height="9px",oe.appendChild(e).appendChild(t).appendChild(i),r=n.getComputedStyle(t),a=parseInt(r.height)>3,oe.removeChild(e)),a}}))}();var $e=["Webkit","Moz","ms"],Ve=T.createElement("div").style,ze={};function Xe(e){var t=C.cssProps[e]||ze[e];return t||(e in Ve?e:ze[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=$e.length;n--;)if((e=$e[n]+t)in Ve)return e}(e)||e)}var Je=/^(none|table(?!-c[ea]).+)/,Qe=/^--/,Ze={position:"absolute",visibility:"hidden",display:"block"},et={letterSpacing:"0",fontWeight:"400"};function tt(e,t,n){var i=ie.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function nt(e,t,n,i,r,o){var s="width"===t?1:0,a=0,c=0;if(n===(i?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(c+=C.css(e,n+re[s],!0,r)),i?("content"===n&&(c-=C.css(e,"padding"+re[s],!0,r)),"margin"!==n&&(c-=C.css(e,"border"+re[s]+"Width",!0,r))):(c+=C.css(e,"padding"+re[s],!0,r),"padding"!==n?c+=C.css(e,"border"+re[s]+"Width",!0,r):a+=C.css(e,"border"+re[s]+"Width",!0,r));return!i&&o>=0&&(c+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-c-a-.5))||0),c}function it(e,t,n){var i=Fe(e),r=(!f.boxSizingReliable()||n)&&"border-box"===C.css(e,"boxSizing",!1,i),o=r,s=qe(e,t,i),a="offset"+t[0].toUpperCase()+t.slice(1);if(We.test(s)){if(!n)return s;s="auto"}return(!f.boxSizingReliable()&&r||!f.reliableTrDimensions()&&v(e,"tr")||"auto"===s||!parseFloat(s)&&"inline"===C.css(e,"display",!1,i))&&e.getClientRects().length&&(r="border-box"===C.css(e,"boxSizing",!1,i),(o=a in e)&&(s=e[a])),(s=parseFloat(s)||0)+nt(e,t,n||(r?"border":"content"),o,i,s)+"px"}function rt(e,t,n,i,r){return new rt.prototype.init(e,t,n,i,r)}C.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=qe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,s,a=V(t),c=Qe.test(t),l=e.style;if(c||(t=Xe(a)),s=C.cssHooks[t]||C.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(r=s.get(e,!1,i))?r:l[t];"string"===(o=typeof n)&&(r=ie.exec(n))&&r[1]&&(n=le(e,t,r),o="number"),null!=n&&n==n&&("number"!==o||c||(n+=r&&r[3]||(C.cssNumber[a]?"":"px")),f.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,i))||(c?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,i){var r,o,s,a=V(t);return Qe.test(t)||(t=Xe(a)),(s=C.cssHooks[t]||C.cssHooks[a])&&"get"in s&&(r=s.get(e,!0,n)),void 0===r&&(r=qe(e,t,i)),"normal"===r&&t in et&&(r=et[t]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),C.each(["height","width"],(function(e,t){C.cssHooks[t]={get:function(e,n,i){if(n)return!Je.test(C.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?it(e,t,i):Ke(e,Ze,(function(){return it(e,t,i)}))},set:function(e,n,i){var r,o=Fe(e),s=!f.scrollboxSize()&&"absolute"===o.position,a=(s||i)&&"border-box"===C.css(e,"boxSizing",!1,o),c=i?nt(e,t,i,a,o):0;return a&&s&&(c-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-nt(e,t,"border",!1,o)-.5)),c&&(r=ie.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=C.css(e,t)),tt(0,n,c)}}})),C.cssHooks.marginLeft=Ye(f.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(qe(e,"marginLeft"))||e.getBoundingClientRect().left-Ke(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),C.each({margin:"",padding:"",border:"Width"},(function(e,t){C.cssHooks[e+t]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[e+re[i]+t]=o[i]||o[i-2]||o[0];return r}},"margin"!==e&&(C.cssHooks[e+t].set=tt)})),C.fn.extend({css:function(e,t){return j(this,(function(e,t,n){var i,r,o={},s=0;if(Array.isArray(t)){for(i=Fe(e),r=t.length;s<r;s++)o[t[s]]=C.css(e,t[s],!1,i);return o}return void 0!==n?C.style(e,t,n):C.css(e,t)}),e,t,arguments.length>1)}}),C.Tween=rt,rt.prototype={constructor:rt,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||C.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(C.cssNumber[n]?"":"px")},cur:function(){var e=rt.propHooks[this.prop];return e&&e.get?e.get(this):rt.propHooks._default.get(this)},run:function(e){var t,n=rt.propHooks[this.prop];return this.options.duration?this.pos=t=C.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rt.propHooks._default.set(this),this}},rt.prototype.init.prototype=rt.prototype,rt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=C.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){C.fx.step[e.prop]?C.fx.step[e.prop](e):1!==e.elem.nodeType||!C.cssHooks[e.prop]&&null==e.elem.style[Xe(e.prop)]?e.elem[e.prop]=e.now:C.style(e.elem,e.prop,e.now+e.unit)}}},rt.propHooks.scrollTop=rt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},C.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},C.fx=rt.prototype.init,C.fx.step={};var ot,st,at=/^(?:toggle|show|hide)$/,ct=/queueHooks$/;function lt(){st&&(!1===T.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(lt):n.setTimeout(lt,C.fx.interval),C.fx.tick())}function ut(){return n.setTimeout((function(){ot=void 0})),ot=Date.now()}function dt(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=re[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function ht(e,t,n){for(var i,r=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),o=0,s=r.length;o<s;o++)if(i=r[o].call(n,t,e))return i}function pt(e,t,n){var i,r,o=0,s=pt.prefilters.length,a=C.Deferred().always((function(){delete c.elem})),c=function(){if(r)return!1;for(var t=ot||ut(),n=Math.max(0,l.startTime+l.duration-t),i=1-(n/l.duration||0),o=0,s=l.tweens.length;o<s;o++)l.tweens[o].run(i);return a.notifyWith(e,[l,i,n]),i<1&&s?n:(s||a.notifyWith(e,[l,1,0]),a.resolveWith(e,[l]),!1)},l=a.promise({elem:e,props:C.extend({},t),opts:C.extend(!0,{specialEasing:{},easing:C.easing._default},n),originalProperties:t,originalOptions:n,startTime:ot||ut(),duration:n.duration,tweens:[],createTween:function(t,n){var i=C.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(i),i},stop:function(t){var n=0,i=t?l.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)l.tweens[n].run(1);return t?(a.notifyWith(e,[l,1,0]),a.resolveWith(e,[l,t])):a.rejectWith(e,[l,t]),this}}),u=l.props;for(!function(e,t){var n,i,r,o,s;for(n in e)if(r=t[i=V(n)],o=e[n],Array.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),(s=C.cssHooks[i])&&"expand"in s)for(n in o=s.expand(o),delete e[i],o)n in e||(e[n]=o[n],t[n]=r);else t[i]=r}(u,l.opts.specialEasing);o<s;o++)if(i=pt.prefilters[o].call(l,e,u,l.opts))return m(i.stop)&&(C._queueHooks(l.elem,l.opts.queue).stop=i.stop.bind(i)),i;return C.map(u,ht,l),m(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),C.fx.timer(C.extend(c,{elem:e,anim:l,queue:l.opts.queue})),l}C.Animation=C.extend(pt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return le(n.elem,e,ie.exec(t),n),n}]},tweener:function(e,t){m(e)?(t=e,e=["*"]):e=e.match(G);for(var n,i=0,r=e.length;i<r;i++)n=e[i],pt.tweeners[n]=pt.tweeners[n]||[],pt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,r,o,s,a,c,l,u,d="width"in t||"height"in t,h=this,p={},_=e.style,E=e.nodeType&&ce(e),f=J.get(e,"fxshow");for(i in n.queue||(null==(s=C._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,h.always((function(){h.always((function(){s.unqueued--,C.queue(e,"fx").length||s.empty.fire()}))}))),t)if(r=t[i],at.test(r)){if(delete t[i],o=o||"toggle"===r,r===(E?"hide":"show")){if("show"!==r||!f||void 0===f[i])continue;E=!0}p[i]=f&&f[i]||C.style(e,i)}if((c=!C.isEmptyObject(t))||!C.isEmptyObject(p))for(i in d&&1===e.nodeType&&(n.overflow=[_.overflow,_.overflowX,_.overflowY],null==(l=f&&f.display)&&(l=J.get(e,"display")),"none"===(u=C.css(e,"display"))&&(l?u=l:(he([e],!0),l=e.style.display||l,u=C.css(e,"display"),he([e]))),("inline"===u||"inline-block"===u&&null!=l)&&"none"===C.css(e,"float")&&(c||(h.done((function(){_.display=l})),null==l&&(u=_.display,l="none"===u?"":u)),_.display="inline-block")),n.overflow&&(_.overflow="hidden",h.always((function(){_.overflow=n.overflow[0],_.overflowX=n.overflow[1],_.overflowY=n.overflow[2]}))),c=!1,p)c||(f?"hidden"in f&&(E=f.hidden):f=J.access(e,"fxshow",{display:l}),o&&(f.hidden=!E),E&&he([e],!0),h.done((function(){for(i in E||he([e]),J.remove(e,"fxshow"),p)C.style(e,i,p[i])}))),c=ht(E?f[i]:0,i,h),i in f||(f[i]=c.start,E&&(c.end=c.start,c.start=0))}],prefilter:function(e,t){t?pt.prefilters.unshift(e):pt.prefilters.push(e)}}),C.speed=function(e,t,n){var i=e&&"object"==typeof e?C.extend({},e):{complete:n||!n&&t||m(e)&&e,duration:e,easing:n&&t||t&&!m(t)&&t};return C.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in C.fx.speeds?i.duration=C.fx.speeds[i.duration]:i.duration=C.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){m(i.old)&&i.old.call(this),i.queue&&C.dequeue(this,i.queue)},i},C.fn.extend({fadeTo:function(e,t,n,i){return this.filter(ce).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=C.isEmptyObject(e),o=C.speed(t,n,i),s=function(){var t=pt(this,C.extend({},e),o);(r||J.get(this,"finish"))&&t.stop(!0)};return s.finish=s,r||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,r=null!=e&&e+"queueHooks",o=C.timers,s=J.get(this);if(r)s[r]&&s[r].stop&&i(s[r]);else for(r in s)s[r]&&s[r].stop&&ct.test(r)&&i(s[r]);for(r=o.length;r--;)o[r].elem!==this||null!=e&&o[r].queue!==e||(o[r].anim.stop(n),t=!1,o.splice(r,1));!t&&n||C.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=J.get(this),i=n[e+"queue"],r=n[e+"queueHooks"],o=C.timers,s=i?i.length:0;for(n.finish=!0,C.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<s;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish}))}}),C.each(["toggle","show","hide"],(function(e,t){var n=C.fn[t];C.fn[t]=function(e,i,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(dt(t,!0),e,i,r)}})),C.each({slideDown:dt("show"),slideUp:dt("hide"),slideToggle:dt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){C.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}})),C.timers=[],C.fx.tick=function(){var e,t=0,n=C.timers;for(ot=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||C.fx.stop(),ot=void 0},C.fx.timer=function(e){C.timers.push(e),C.fx.start()},C.fx.interval=13,C.fx.start=function(){st||(st=!0,lt())},C.fx.stop=function(){st=null},C.fx.speeds={slow:600,fast:200,_default:400},C.fn.delay=function(e,t){return e=C.fx&&C.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,i){var r=n.setTimeout(t,e);i.stop=function(){n.clearTimeout(r)}}))},function(){var e=T.createElement("input"),t=T.createElement("select").appendChild(T.createElement("option"));e.type="checkbox",f.checkOn=""!==e.value,f.optSelected=t.selected,(e=T.createElement("input")).value="t",e.type="radio",f.radioValue="t"===e.value}();var _t,Et=C.expr.attrHandle;C.fn.extend({attr:function(e,t){return j(this,C.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){C.removeAttr(this,e)}))}}),C.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?C.prop(e,t,n):(1===o&&C.isXMLDoc(e)||(r=C.attrHooks[t.toLowerCase()]||(C.expr.match.bool.test(t)?_t:void 0)),void 0!==n?null===n?void C.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=C.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!f.radioValue&&"radio"===t&&v(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,r=t&&t.match(G);if(r&&1===e.nodeType)for(;n=r[i++];)e.removeAttribute(n)}}),_t={set:function(e,t,n){return!1===t?C.removeAttr(e,n):e.setAttribute(n,n),n}},C.each(C.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=Et[t]||C.find.attr;Et[t]=function(e,t,i){var r,o,s=t.toLowerCase();return i||(o=Et[s],Et[s]=r,r=null!=n(e,t,i)?s:null,Et[s]=o),r}}));var ft=/^(?:input|select|textarea|button)$/i,mt=/^(?:a|area)$/i;function gt(e){return(e.match(G)||[]).join(" ")}function Tt(e){return e.getAttribute&&e.getAttribute("class")||""}function St(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(G)||[]}C.fn.extend({prop:function(e,t){return j(this,C.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[C.propFix[e]||e]}))}}),C.extend({prop:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&C.isXMLDoc(e)||(t=C.propFix[t]||t,r=C.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=C.find.attr(e,"tabindex");return t?parseInt(t,10):ft.test(e.nodeName)||mt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),f.optSelected||(C.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){C.propFix[this.toLowerCase()]=this})),C.fn.extend({addClass:function(e){var t,n,i,r,o,s,a,c=0;if(m(e))return this.each((function(t){C(this).addClass(e.call(this,t,Tt(this)))}));if((t=St(e)).length)for(;n=this[c++];)if(r=Tt(n),i=1===n.nodeType&&" "+gt(r)+" "){for(s=0;o=t[s++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");r!==(a=gt(i))&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,i,r,o,s,a,c=0;if(m(e))return this.each((function(t){C(this).removeClass(e.call(this,t,Tt(this)))}));if(!arguments.length)return this.attr("class","");if((t=St(e)).length)for(;n=this[c++];)if(r=Tt(n),i=1===n.nodeType&&" "+gt(r)+" "){for(s=0;o=t[s++];)for(;i.indexOf(" "+o+" ")>-1;)i=i.replace(" "+o+" "," ");r!==(a=gt(i))&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=typeof e,i="string"===n||Array.isArray(e);return"boolean"==typeof t&&i?t?this.addClass(e):this.removeClass(e):m(e)?this.each((function(n){C(this).toggleClass(e.call(this,n,Tt(this),t),t)})):this.each((function(){var t,r,o,s;if(i)for(r=0,o=C(this),s=St(e);t=s[r++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=Tt(this))&&J.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":J.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+gt(Tt(n))+" ").indexOf(t)>-1)return!0;return!1}});var At=/\r/g;C.fn.extend({val:function(e){var t,n,i,r=this[0];return arguments.length?(i=m(e),this.each((function(n){var r;1===this.nodeType&&(null==(r=i?e.call(this,n,C(this).val()):e)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=C.map(r,(function(e){return null==e?"":e+""}))),(t=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))}))):r?(t=C.valHooks[r.type]||C.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(At,""):null==n?"":n:void 0}}),C.extend({valHooks:{option:{get:function(e){var t=C.find.attr(e,"value");return null!=t?t:gt(C.text(e))}},select:{get:function(e){var t,n,i,r=e.options,o=e.selectedIndex,s="select-one"===e.type,a=s?null:[],c=s?o+1:r.length;for(i=o<0?c:s?o:0;i<c;i++)if(((n=r[i]).selected||i===o)&&!n.disabled&&(!n.parentNode.disabled||!v(n.parentNode,"optgroup"))){if(t=C(n).val(),s)return t;a.push(t)}return a},set:function(e,t){for(var n,i,r=e.options,o=C.makeArray(t),s=r.length;s--;)((i=r[s]).selected=C.inArray(C.valHooks.option.get(i),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),C.each(["radio","checkbox"],(function(){C.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=C.inArray(C(e).val(),t)>-1}},f.checkOn||(C.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),f.focusin="onfocusin"in n;var Ot=/^(?:focusinfocus|focusoutblur)$/,Ct=function(e){e.stopPropagation()};C.extend(C.event,{trigger:function(e,t,i,r){var o,s,a,c,l,u,d,h,_=[i||T],E=p.call(e,"type")?e.type:e,f=p.call(e,"namespace")?e.namespace.split("."):[];if(s=h=a=i=i||T,3!==i.nodeType&&8!==i.nodeType&&!Ot.test(E+C.event.triggered)&&(E.indexOf(".")>-1&&(f=E.split("."),E=f.shift(),f.sort()),l=E.indexOf(":")<0&&"on"+E,(e=e[C.expando]?e:new C.Event(E,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=f.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:C.makeArray(t,[e]),d=C.event.special[E]||{},r||!d.trigger||!1!==d.trigger.apply(i,t))){if(!r&&!d.noBubble&&!g(i)){for(c=d.delegateType||E,Ot.test(c+E)||(s=s.parentNode);s;s=s.parentNode)_.push(s),a=s;a===(i.ownerDocument||T)&&_.push(a.defaultView||a.parentWindow||n)}for(o=0;(s=_[o++])&&!e.isPropagationStopped();)h=s,e.type=o>1?c:d.bindType||E,(u=(J.get(s,"events")||Object.create(null))[e.type]&&J.get(s,"handle"))&&u.apply(s,t),(u=l&&s[l])&&u.apply&&z(s)&&(e.result=u.apply(s,t),!1===e.result&&e.preventDefault());return e.type=E,r||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(_.pop(),t)||!z(i)||l&&m(i[E])&&!g(i)&&((a=i[l])&&(i[l]=null),C.event.triggered=E,e.isPropagationStopped()&&h.addEventListener(E,Ct),i[E](),e.isPropagationStopped()&&h.removeEventListener(E,Ct),C.event.triggered=void 0,a&&(i[l]=a)),e.result}},simulate:function(e,t,n){var i=C.extend(new C.Event,n,{type:e,isSimulated:!0});C.event.trigger(i,null,t)}}),C.fn.extend({trigger:function(e,t){return this.each((function(){C.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return C.event.trigger(e,t,n,!0)}}),f.focusin||C.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){C.event.simulate(t,e.target,C.event.fix(e))};C.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,r=J.access(i,t);r||i.addEventListener(e,n,!0),J.access(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=J.access(i,t)-1;r?J.access(i,t,r):(i.removeEventListener(e,n,!0),J.remove(i,t))}}}));var Nt=n.location,It={guid:Date.now()},yt=/\?/;C.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||C.error("Invalid XML: "+e),t};var bt=/\[\]$/,Lt=/\r?\n/g,vt=/^(?:submit|button|image|reset|file)$/i,Rt=/^(?:input|select|textarea|keygen)/i;function Dt(e,t,n,i){var r;if(Array.isArray(t))C.each(t,(function(t,r){n||bt.test(e)?i(e,r):Dt(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)}));else if(n||"object"!==O(t))i(e,t);else for(r in t)Dt(e+"["+r+"]",t[r],n,i)}C.param=function(e,t){var n,i=[],r=function(e,t){var n=m(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!C.isPlainObject(e))C.each(e,(function(){r(this.name,this.value)}));else for(n in e)Dt(n,e[n],t,r);return i.join("&")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=C.prop(this,"elements");return e?C.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!C(this).is(":disabled")&&Rt.test(this.nodeName)&&!vt.test(e)&&(this.checked||!Ee.test(e))})).map((function(e,t){var n=C(this).val();return null==n?null:Array.isArray(n)?C.map(n,(function(e){return{name:t.name,value:e.replace(Lt,"\r\n")}})):{name:t.name,value:n.replace(Lt,"\r\n")}})).get()}});var wt=/%20/g,Pt=/#.*$/,kt=/([?&])_=[^&]*/,xt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Mt=/^(?:GET|HEAD)$/,Gt=/^\/\//,Bt={},Ut={},Ht="*/".concat("*"),Wt=T.createElement("a");function Ft(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,o=t.toLowerCase().match(G)||[];if(m(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function Kt(e,t,n,i){var r={},o=e===Ut;function s(a){var c;return r[a]=!0,C.each(e[a]||[],(function(e,a){var l=a(t,n,i);return"string"!=typeof l||o||r[l]?o?!(c=l):void 0:(t.dataTypes.unshift(l),s(l),!1)})),c}return s(t.dataTypes[0])||!r["*"]&&s("*")}function jt(e,t){var n,i,r=C.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&C.extend(!0,e,i),e}Wt.href=Nt.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Nt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Nt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ht,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?jt(jt(e,C.ajaxSettings),t):jt(C.ajaxSettings,e)},ajaxPrefilter:Ft(Bt),ajaxTransport:Ft(Ut),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var i,r,o,s,a,c,l,u,d,h,p=C.ajaxSetup({},t),_=p.context||p,E=p.context&&(_.nodeType||_.jquery)?C(_):C.event,f=C.Deferred(),m=C.Callbacks("once memory"),g=p.statusCode||{},S={},A={},O="canceled",N={readyState:0,getResponseHeader:function(e){var t;if(l){if(!s)for(s={};t=xt.exec(o);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(e,t){return null==l&&(e=A[e.toLowerCase()]=A[e.toLowerCase()]||e,S[e]=t),this},overrideMimeType:function(e){return null==l&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)N.always(e[N.status]);else for(t in e)g[t]=[g[t],e[t]];return this},abort:function(e){var t=e||O;return i&&i.abort(t),I(0,t),this}};if(f.promise(N),p.url=((e||p.url||Nt.href)+"").replace(Gt,Nt.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(G)||[""],null==p.crossDomain){c=T.createElement("a");try{c.href=p.url,c.href=c.href,p.crossDomain=Wt.protocol+"//"+Wt.host!=c.protocol+"//"+c.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=C.param(p.data,p.traditional)),Kt(Bt,p,t,N),l)return N;for(d in(u=C.event&&p.global)&&0==C.active++&&C.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Mt.test(p.type),r=p.url.replace(Pt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(wt,"+")):(h=p.url.slice(r.length),p.data&&(p.processData||"string"==typeof p.data)&&(r+=(yt.test(r)?"&":"?")+p.data,delete p.data),!1===p.cache&&(r=r.replace(kt,"$1"),h=(yt.test(r)?"&":"?")+"_="+It.guid+++h),p.url=r+h),p.ifModified&&(C.lastModified[r]&&N.setRequestHeader("If-Modified-Since",C.lastModified[r]),C.etag[r]&&N.setRequestHeader("If-None-Match",C.etag[r])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&N.setRequestHeader("Content-Type",p.contentType),N.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Ht+"; q=0.01":""):p.accepts["*"]),p.headers)N.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(_,N,p)||l))return N.abort();if(O="abort",m.add(p.complete),N.done(p.success),N.fail(p.error),i=Kt(Ut,p,t,N)){if(N.readyState=1,u&&E.trigger("ajaxSend",[N,p]),l)return N;p.async&&p.timeout>0&&(a=n.setTimeout((function(){N.abort("timeout")}),p.timeout));try{l=!1,i.send(S,I)}catch(e){if(l)throw e;I(-1,e)}}else I(-1,"No Transport");function I(e,t,s,c){var d,h,T,S,A,O=t;l||(l=!0,a&&n.clearTimeout(a),i=void 0,o=c||"",N.readyState=e>0?4:0,d=e>=200&&e<300||304===e,s&&(S=function(e,t,n){for(var i,r,o,s,a=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in a)if(a[r]&&a[r].test(i)){c.unshift(r);break}if(c[0]in n)o=c[0];else{for(r in n){if(!c[0]||e.converters[r+" "+c[0]]){o=r;break}s||(s=r)}o=o||s}if(o)return o!==c[0]&&c.unshift(o),n[o]}(p,N,s)),!d&&C.inArray("script",p.dataTypes)>-1&&(p.converters["text script"]=function(){}),S=function(e,t,n,i){var r,o,s,a,c,l={},u=e.dataTypes.slice();if(u[1])for(s in e.converters)l[s.toLowerCase()]=e.converters[s];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!c&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=o,o=u.shift())if("*"===o)o=c;else if("*"!==c&&c!==o){if(!(s=l[c+" "+o]||l["* "+o]))for(r in l)if((a=r.split(" "))[1]===o&&(s=l[c+" "+a[0]]||l["* "+a[0]])){!0===s?s=l[r]:!0!==l[r]&&(o=a[0],u.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+c+" to "+o}}}return{state:"success",data:t}}(p,S,N,d),d?(p.ifModified&&((A=N.getResponseHeader("Last-Modified"))&&(C.lastModified[r]=A),(A=N.getResponseHeader("etag"))&&(C.etag[r]=A)),204===e||"HEAD"===p.type?O="nocontent":304===e?O="notmodified":(O=S.state,h=S.data,d=!(T=S.error))):(T=O,!e&&O||(O="error",e<0&&(e=0))),N.status=e,N.statusText=(t||O)+"",d?f.resolveWith(_,[h,O,N]):f.rejectWith(_,[N,O,T]),N.statusCode(g),g=void 0,u&&E.trigger(d?"ajaxSuccess":"ajaxError",[N,p,d?h:T]),m.fireWith(_,[N,O]),u&&(E.trigger("ajaxComplete",[N,p]),--C.active||C.event.trigger("ajaxStop")))}return N},getJSON:function(e,t,n){return C.get(e,t,n,"json")},getScript:function(e,t){return C.get(e,void 0,t,"script")}}),C.each(["get","post"],(function(e,t){C[t]=function(e,n,i,r){return m(n)&&(r=r||i,i=n,n=void 0),C.ajax(C.extend({url:e,type:t,dataType:r,data:n,success:i},C.isPlainObject(e)&&e))}})),C.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),C._evalUrl=function(e,t,n){return C.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){C.globalEval(e,t,n)}})},C.fn.extend({wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=C(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 m(e)?this.each((function(t){C(this).wrapInner(e.call(this,t))})):this.each((function(){var t=C(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=m(e);return this.each((function(n){C(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){C(this).replaceWith(this.childNodes)})),this}}),C.expr.pseudos.hidden=function(e){return!C.expr.pseudos.visible(e)},C.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},C.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var qt={0:200,1223:204},Yt=C.ajaxSettings.xhr();f.cors=!!Yt&&"withCredentials"in Yt,f.ajax=Yt=!!Yt,C.ajaxTransport((function(e){var t,i;if(f.cors||Yt&&!e.crossDomain)return{send:function(r,o){var s,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)a[s]=e.xhrFields[s];for(s in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)a.setRequestHeader(s,r[s]);t=function(e){return function(){t&&(t=i=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(qt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=t(),i=a.onerror=a.ontimeout=t("error"),void 0!==a.onabort?a.onabort=i:a.onreadystatechange=function(){4===a.readyState&&n.setTimeout((function(){t&&i()}))},t=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),C.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),C.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return C.globalEval(e),e}}}),C.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),C.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(i,r){t=C("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&r("error"===e.type?404:200,e.type)}),T.head.appendChild(t[0])},abort:function(){n&&n()}}}));var $t,Vt=[],zt=/(=)\?(?=&|$)|\?\?/;C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Vt.pop()||C.expando+"_"+It.guid++;return this[e]=!0,e}}),C.ajaxPrefilter("json jsonp",(function(e,t,i){var r,o,s,a=!1!==e.jsonp&&(zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(zt,"$1"+r):!1!==e.jsonp&&(e.url+=(yt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return s||C.error(r+" was not called"),s[0]},e.dataTypes[0]="json",o=n[r],n[r]=function(){s=arguments},i.always((function(){void 0===o?C(n).removeProp(r):n[r]=o,e[r]&&(e.jsonpCallback=t.jsonpCallback,Vt.push(r)),s&&m(o)&&o(s[0]),s=o=void 0})),"script"})),f.createHTMLDocument=(($t=T.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===$t.childNodes.length),C.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(f.createHTMLDocument?((i=(t=T.implementation.createHTMLDocument("")).createElement("base")).href=T.location.href,t.head.appendChild(i)):t=T),o=!n&&[],(r=R.exec(e))?[t.createElement(r[1])]:(r=Oe([e],t,o),o&&o.length&&C(o).remove(),C.merge([],r.childNodes)));var i,r,o},C.fn.load=function(e,t,n){var i,r,o,s=this,a=e.indexOf(" ");return a>-1&&(i=gt(e.slice(a)),e=e.slice(0,a)),m(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),s.length>0&&C.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done((function(e){o=arguments,s.html(i?C("<div>").append(C.parseHTML(e)).find(i):e)})).always(n&&function(e,t){s.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},C.expr.pseudos.animated=function(e){return C.grep(C.timers,(function(t){return e===t.elem})).length},C.offset={setOffset:function(e,t,n){var i,r,o,s,a,c,l=C.css(e,"position"),u=C(e),d={};"static"===l&&(e.style.position="relative"),a=u.offset(),o=C.css(e,"top"),c=C.css(e,"left"),("absolute"===l||"fixed"===l)&&(o+c).indexOf("auto")>-1?(s=(i=u.position()).top,r=i.left):(s=parseFloat(o)||0,r=parseFloat(c)||0),m(t)&&(t=t.call(e,n,C.extend({},a))),null!=t.top&&(d.top=t.top-a.top+s),null!=t.left&&(d.left=t.left-a.left+r),"using"in t?t.using.call(e,d):("number"==typeof d.top&&(d.top+="px"),"number"==typeof d.left&&(d.left+="px"),u.css(d))}},C.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){C.offset.setOffset(this,e,t)}));var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],r={top:0,left:0};if("fixed"===C.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===C.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((r=C(e).offset()).top+=C.css(e,"borderTopWidth",!0),r.left+=C.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-C.css(i,"marginTop",!0),left:t.left-r.left-C.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===C.css(e,"position");)e=e.offsetParent;return e||oe}))}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;C.fn[e]=function(i){return j(this,(function(e,i,r){var o;if(g(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===r)return o?o[t]:e[i];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):e[i]=r}),e,i,arguments.length)}})),C.each(["top","left"],(function(e,t){C.cssHooks[t]=Ye(f.pixelPosition,(function(e,n){if(n)return n=qe(e,t),We.test(n)?C(e).position()[t]+"px":n}))})),C.each({Height:"height",Width:"width"},(function(e,t){C.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,i){C.fn[i]=function(r,o){var s=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===o?"margin":"border");return j(this,(function(t,n,r){var o;return g(t)?0===i.indexOf("outer")?t["inner"+e]: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===r?C.css(t,n,a):C.style(t,n,r,a)}),t,s?r:void 0,s)}}))})),C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){C.fn[t]=function(e){return this.on(t,e)}})),C.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),C.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){C.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var Xt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;C.proxy=function(e,t){var n,i,r;if("string"==typeof t&&(n=e[t],t=e,e=n),m(e))return i=a.call(arguments,2),(r=function(){return e.apply(t||this,i.concat(a.call(arguments)))}).guid=e.guid=e.guid||C.guid++,r},C.holdReady=function(e){e?C.readyWait++:C.ready(!0)},C.isArray=Array.isArray,C.parseJSON=JSON.parse,C.nodeName=v,C.isFunction=m,C.isWindow=g,C.camelCase=V,C.type=O,C.now=Date.now,C.isNumeric=function(e){var t=C.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},C.trim=function(e){return null==e?"":(e+"").replace(Xt,"")},void 0===(i=function(){return C}.apply(t,[]))||(e.exports=i);var Jt=n.jQuery,Qt=n.$;return C.noConflict=function(e){return n.$===C&&(n.$=Qt),e&&n.jQuery===C&&(n.jQuery=Jt),C},void 0===r&&(n.jQuery=n.$=C),C}))},function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return c})),n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return d}));var i=n(2);class r{static PreprocessSecureSearchRegEx(e){return e.trim().split("\n")}static PreProcessAdBlockToast(e){return Boolean(e)}static getBrowserSuffix(){const{CH:e,FF:t,EDGE:n}={CH:"_ch",FF:"_ff",IE:"_ie",EDGE:"_ed"},r={};return r[i.f.EDGE]=n,r[i.f.FIREFOX]=t,r[i.f.CHROME]=e,r[i.g.BROWSER_TYPE]}}const o={SYSTEM:0,USER:1},{SYSTEM:s,USER:a}=o,c={NONE:0,INT:1,INT64:2,BOOL:3,STRING:4},l={WEBBOOST_AUTO_PLAY_NOTIFICATION:"AutoPlayNotificationRequired",WEBBOOST_UPSELL_DISABLED:"WBUpsellDisabled",USE_NATIVE_LOGGER:"UseNativeLogger"},u=r.getBrowserSuffix(),d={AFF_ID:{scope:s,name:"*Affid",value:0},BINARY_VERSION:{scope:s,name:"version",value:""},EXTENSION_VERSION_CH:{scope:s,name:"ChromeExtVersion",value:"",writeOnly:!0},EXTENSION_VERSION_FF:{scope:s,name:"*FirefoxXPIVersion",value:"",writeOnly:!0},EXTENSION_VERSION_ED:{scope:s,name:"EdgeExtVersion",value:"",writeOnly:!0},BROWSER_TYPE:{scope:s,name:"browsertype",value:"",writeOnly:!0},USER_AGENT:{scope:s,name:"useragent",value:"",writeOnly:!0},SUGGESTION_URL:{scope:s,name:"suggestion_url",value:""},SCRIPT_GENERATED_DEFAULT_SS_URL:{scope:a,name:`SCRIPT_GENERATED_DEFAULT_SS_URL${u}`,value:""},SECURE_SEARCH_REGEXES:{scope:a,name:"SECURE_SEARCH_REGEXES",value:"",preprocess:r.PreprocessSecureSearchRegEx},SHOW_SEARCH_SETTINGS:{scope:s,name:"*ShowSearchSettings",value:!0},SECURE_SEARCH_TOAST_STAMP:{scope:a,name:`*SSDateStampShowedToast${u}`,value:0},SECURE_SEARCH_ANNOTATION_ONLY:{scope:s,name:"*OnlyShowAnnotationsOnSecureSearch",value:!0},SECURE_SEARCH_SHOW_ICONS:{scope:a,name:"*Icons",value:!0},SECURE_SEARCH_CHOICE:{scope:a,name:`*SSToastChoice${u}`,value:!1,writeOnly:!0},FF_EXTENSION_LAST_TOAST_TIME:{scope:a,name:"ff_extension_last_toast_time",value:0,writeOnly:!0},FF_EXTENSION_TOAST_COUNT:{scope:a,name:"ff_extension_toast_count",value:0,writeOnly:!0},CHECKLIST_START_INGORE_DATE_AV:{scope:s,name:"startIgnoreDateAV",value:"",writeOnly:!0},CHECKLIST_START_IGNORE_DATE_FW:{scope:s,name:"startIgnoreDateFW",value:"",writeOnly:!0},CHECKLIST_IGNORE_DURACTION:{scope:s,name:"ignoreDuration",value:"14",writeOnly:!0},CHECKLIST_GRACE_PERIOD_AV:{scope:s,name:"fixGracePeriodStartDateAV",value:"",writeOnly:!0},CHECKLIST_GRACE_PERIOD_FW:{scope:s,name:"fixGracePeriodStartDateFW",value:"",writeOnly:!0},CHECKLIST_GRACE_PERIOD_DURATION:{scope:s,name:"fixGracePeriodDuration",value:"24",writeOnly:!0},AP_FEATURE_ENABLED:{scope:s,name:`adblock_toast${u}`,value:"",preprocess:r.PreProcessAdBlockToast},ADBLOCK_REENABLE_TOAST:{scope:a,name:"adblock_reenable_toast",value:!1},AP_USER_TOGGLE:{scope:a,name:`ap_user_toggle${u}`,value:!1},AB_USER_TOGGLE:{scope:a,name:`ab_user_toggle${u}`,value:!1},CRYPTOJACKING_DISABLED:{scope:s,name:"CryptojackingDisabled",value:!1},HIDE_MCAFEE_SECURE_ANNOTATIONS:{scope:s,name:"HideMcAfeeSecureAnnotations",value:!1},SMA_USER_TOGGLE:{scope:s,name:`sma_user_toggle${u}`,value:!1,writeOnly:!0},SMA_ANNOTATION_OPTIONS:{scope:s,name:`sma_annotation_options${u}`,value:0,writeOnly:!0},PAGES_SCANNED:{scope:s,name:"*CounterPagesScanned",value:0},PAGES_BLOCKED:{scope:s,name:"*CounterPagesBlocked",value:0},DOWNLOADS_SCANNED:{scope:s,name:"*CounterDownloadsScanned",value:0},DOWNLOADS_BLOCKED:{scope:s,name:"*CounterDownloadsBlocked",value:0},CRYPTO_BLOCKED:{scope:s,name:"*CounterCryptoJackingBlocked",value:0},BLOCKPAGE_WHITELIST:{scope:a,name:"*WhiteList",value:""},TS_WHITELIST:{scope:a,name:"*TListWhiteList",value:""},CSP_ID_SETTING:{scope:s,name:"CSPIdValue",value:"__not_available__"},UNINSTALL_SURVEY_ENABLED:{scope:s,name:"uninstall_survey_enabled",value:!1},UNINSTALL_SURVEY_URL:{scope:s,name:"uninstall_survey_url",value:""},RAT_DETECTION_ENABLED:{scope:s,name:"rat_detection_enabled",value:!0},FIND_SIMILAR_PAGES_ENABLED:{scope:s,name:"find_similar_pages_enabled",value:!1},FIND_SIMILAR_PAGES_CADENCE_PER_HOUR:{scope:s,name:"find_similar_pages_cadence_per_hour",value:0},FIND_SIMILAR_PAGES_TIMEOUT:{scope:s,name:"find_similar_pages_timeout",value:15e3},FIND_SIMILAR_PAGES_DELAY:{scope:s,name:"find_similar_pages_delay",value:0},FIND_SIMILAR_PAGES_LIMIT_COUNT_PER_DAY:{scope:s,name:"find_similar_pages_limit_count_per_day",value:0},FIND_SIMILAR_PAGES_USER_TOGGLE:{scope:s,name:`find_similar_pages_user_toggle${u}`,value:0},SS_WELCOME_EXPERIENCE_COHORT:{scope:s,name:"ss_welcome_experience_cohort",value:0},SS_WELCOME_ANNOTATION:{scope:s,name:"ss_welcome_annotation",value:!1},AMAZON_EXTN_TOAST_ENABLED:{scope:s,name:"amazon_extn_toast_enabled",value:!1},AMAZON_EXTN_TOAST_COHORT:{scope:s,name:"amazon_extn_toast_cohort",value:0},AMAZON_EXTN_TOAST_CADENCE:{scope:s,name:"amazon_extn_toast_cadence",value:3},AMAZON_EXTN_URL:{scope:s,name:"amazon_extn_url",value:"https://chrome.google.com/webstore/detail/amazon-assistant-for-chro/pbjikboenpfhbbejgkoklgkhjpfogcam?hl=en-US"},BLAST_TO_SEARCH_BASE_COHORT:{scope:s,name:"blast_to_search_base_cohort",value:0}}},function(e,t,n){const i=n(22);t.ResourceManager=class{static getHtml(e,t){i.ANNOTATION.resourceRequestor.getHtml(e,n=>{n?t(n):i.BackgroundIPC.logError(`Failed to fetch html ${e}`)})}static getImage(e,t){i.ANNOTATION.resourceRequestor.getImage(e,n=>{n?t(n):i.BackgroundIPC.logError(`Image ${e} failed to fetch through resource requestor`)})}static getJSON(e,t){i.ANNOTATION.resourceRequestor.getJSON(e,n=>{n?t(n):i.BackgroundIPC.logError(`Failed to fetch json ${e}`)})}static getLocalizedString(e){return i.ANNOTATION.resourceRequestor.geti18nRes(e)}static getResString(e,t){i.ANNOTATION.resourceRequestor.getResStr(e,n=>{n?t(n):i.BackgroundIPC.logError(`Resource string ${e} failed to fetch through resource requestor`)})}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));class i{onHttpResponse(e){if(!e.ok){const t=`HttpService Status: ${e.status}\nError Text: ${e.statusText}`;return Promise.reject(new Error(t))}return e}sendHttpRequest({url:e,headers:t,body:n,method:i="GET"}){return fetch(e,{headers:t,method:i,body:n}).then(this.onHttpResponse)}}},function(e,t){t.ANNOTATION={},t.BackgroundIPC=null,t.BackgroundCommons=null,t.ContextTelemetry=null,t.TelemetryEventNames=null,t.UrlParser=null,t.Utils=null,t.Commands={},t.CommonConstants={},t.extension=null,t.SearchEngineHelper=null},function(e,t,n){const i=n(27);n(26);t.GTICache=class{constructor(e){this.reputationCache=new Map,this.urlMap=new Map,i.GTI_CONSTANTS.pv=e.EXTENSION_VERSION}checkCache(){this.reputationCache.size>.5*i.GTI_CONSTANTS.maxCacheRecords&&this.cleanReputationCache()}cleanReputationCache(){this.reputationCache.forEach((e,t,n)=>{Date.now()>i.GTI_CONSTANTS.reputationTTL+e.timeCached&&n.delete(t)})}checkRequest(e){const t=[];return e.forEach(e=>{this.urlMap.has(e)&&t.push(this.urlMap.get(e))}),t}addRequest(e,t){e.forEach(e=>{this.urlMap.set(e,t)})}deleteRequest(e){e.forEach(e=>{this.urlMap.delete(e)})}setReputation(e,t){return!(this.reputationCache.size>i.GTI_CONSTANTS.maxCacheRecords)&&(this.reputationCache.set(e,{timeCached:Date.now(),value:t}),!0)}getReputation(e){const t=this.reputationCache.get(e),n={cache_entry:t};return t||(n.cache_entry=null),n}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n(21),r=n(3),o=n(5),s=n(8);class a{constructor(){this.http=new i.a}geti18nRes(e,t=[]){let n=r.a.i18n.getMessage(e,t);const i=r.a.i18n.getMessage(s.a.PPS_MODE?"res_PRODUCT_NAME_TRADEMARKED_PPS":"res_PRODUCT_NAME_TRADEMARKED");return n=n.replace(/%PRODUCTNAME%/g,i),n}getURI(e){return r.a.runtime.getURL(e)}getImage(e,t){const n=this.getURI(`images/${e}`);this.http.sendHttpRequest({url:n}).then(e=>e.blob()).then(e=>{const n=URL.createObjectURL(e);t(n)}).catch(t=>{o.a.logError(`Failed requesting: ${e} ${t}`)})}getJSON(e,t){const n=this.getURI(`json/${e}`),i=new Headers({"content-type":"application/json"});this.http.sendHttpRequest({url:n,headers:i}).then(e=>e.json()).then(e=>{t(e)}).catch(t=>{o.a.logError(`Failed requesting: ${e} ${t}`)})}getHtml(e,t){const n=this.getURI(`html/${e}`);this.http.sendHttpRequest({url:n}).then(e=>e.text()).then(e=>{t(e)}).catch(t=>{o.a.logError(`Failed requesting: ${e} ${t}`)})}getResStr(e,t){const n=this.geti18nRes(e);t("??"===n?"":n)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n(1),r=n(8),o=n(14);class s{static isAdblockDisabled(e){const t=o.a.get("SearchExtension"),n={command:i.a.IS_DISABLED,tabId:e},s={request_type:i.e.ADBLOCK,payload:n};return r.a.externalMsgDispatcher.sendExtnMsg(t,s)}static updateAdblockWhitelist(e,t){const n=o.a.get("SearchExtension"),s={command:e,tabId:t},a={request_type:i.e.ADBLOCK,payload:s};return r.a.externalMsgDispatcher.sendExtnMsg(n,a)}static toggleAdblockEngine(e){const t=o.a.get("SearchExtension"),n={command:e?i.a.TURN_ON:i.a.TURN_OFF},s={request_type:i.e.ADBLOCK,payload:n};return r.a.externalMsgDispatcher.sendExtnMsg(t,s)}static pingExtension(e){const t={request_type:i.e.PING,payload:{}};return r.a.externalMsgDispatcher.sendExtnMsg(e,t)}}},function(e,t){t.BackgroundGlobals=null,t.HttpService=null},function(e,t){const n={reputationTTL:36e5,maxGTIQuestionLength:16384,globalSafeModeFlag:536870912,contentType:"application/json; charset=utf-8",clientId:"87d8d1082c2f2f821f438b2359b7a5b4",prn:"McAfee WebAdvisor",sdkv:"1.0",pv:null,pev:1,gtiId:"is-webadvisorc-prod",customerId:"Customer0008",maxCacheRecords:1e3},i={None:0,SkipCustomKeywords:1,SkipCustomSites:2,SkipWebDatabaseNotKeywords:4,SkipWebDatabaseKeywords:8,SkipPatterns:16,SkipCGIPatterns:32,SkipEmbeddedURLs:64,SkipTrustedSourceQuery:128,All:2047};function r(e){this.cliid=n.clientId,this.prn=n.prn,this.sdkv=n.sdkv,this.pv=n.pv,this.pev=n.pev,this.rid=e,this.affid="0",this.cid=n.customerId}e.exports={gtiBody:function(e){this.ci=new r(e),this.q=[]},gtiQueryItems:function(){this.op=null,this.uop=i.SkipEmbeddedURLs,this.url=null,this.catset=4},gtiClientInfo:r,GTI_UPO_FLAGS:i,GTI_CONSTANTS:n}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return r}));var i=n(3);function r(t,n=document){const{content:r,offsetx:o,offsety:s,popoverID:a,src:c,title:l}=t,u=a||Math.random().toString(36).substring(7),d=`#${u}`,h=`\n    <div id="${u}" class="popover-wrapper">\n      <div class="popover">\n        <div class="popover__arrow">\n          <div class="arrow__outer"></div>\n          <div class="arrow__inner"></div>\n        </div>\n        <div class="popover__content">\n          <h3>\n            ${l}\n            ${!c.includes("category-info")?`<img src="${i.a.runtime.getURL("/images/web_advisor/info_icon.svg")}" />`:""}\n          </h3>\n          ${r}\n        </div>\n      </div>\n    </div>\n  `;n!==document?e(n).append(h):e("body").append(h),e(c,n).hover((function(){const t=e(c,n).parent().position(),i=e(`${d} .popover__content`,n).outerHeight(),r=e(`${d} .popover__arrow`,n).innerWidth(),a=e(`${d} .popover__arrow`,n).outerHeight();if(c.includes("threat-info")){let c=t.left-r+(o||0);const l=232-c;l>0&&(c+=l,e(`${d} .popover__arrow`,n).css({left:`${240-l}px`})),e(d,n).hide().css({position:"absolute",top:`${t.top-i-a/2+(s||0)}px`,left:`${c}px`}).fadeIn("fast")}else c.includes("category-info")&&e(`${d} .popover__arrow`,n).css({left:"40px"}),e(d,n).hide().css({position:"absolute",top:`${t.top-i-a/2+(s||0)}px`,left:`${t.left-r+(o||0)}px`}).fadeIn("fast");e(`${d}`,n).css({visibility:"visible"})}),(function(){e(d,n).fadeOut("fast",()=>{e(`${d}`,n).css({visibility:"hidden"}),e(d,n).css("left","-1000px").show()})}))}}).call(this,n(18))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n(0),r=n(4),o=n(7),s=n(8);class a{constructor(e){this._options=e,this.TELEMETRY_HANDLERS=this.initializeTelemetryHandler()}fetchTelemetryHandlers(e){const t=[];return this.TELEMETRY_HANDLERS.forEach(n=>{n.trigger.identifier&&e!==n.trigger.identifier||t.push(n)}),t}initializeTelemetryHandler(){return[{trigger:{identifier:i.e.ADBLOCK_INTERACTION,sendTelemetry:!(null===s.a.bkGlobals||!this._options.ads_count)&&s.a.bkGlobals.AP_FEATURE_ENABLED},messages:[{template:{name:i.e.ADBLOCK.BUBBLE,interaction_type:this._options.interaction_type,ads_count:this._options.ads_count,tracker_count:this._options.tracker_count,_event_name:i.e.ADBLOCK.BUBBLE,domain:this._options.domain,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.ADBLOCK_INTERACTION,selector:".adblock-switch",action:i.m.ACTION.CLICK,sendTelemetry:null!==s.a.bkGlobals&&s.a.bkGlobals.AP_FEATURE_ENABLED},messages:[{template:{name:i.e.ADBLOCK.WHITELISTED,domain:this._options.domain,browser:r.a.browserTypeToString(),_event_name:i.e.ADBLOCK.WHITELISTED}}]},{trigger:{identifier:i.e.ADBLOCK_INTERACTION,selector:"#settings_preference_ap_alert_button",action:i.m.ACTION.CLICK},messages:[{template:{name:i.e.GET_SEARCH_EXTENSION,interaction_type:0===this._options.status?i.h.ENABLE:i.h.ADD,source:i.m.MISC.PREFERENCE,_event_name:i.e.GET_SEARCH_EXTENSION,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.BADGE,sendTelemetry:!0},messages:[{template:{name:i.e.BADGE,interaction_type:i.h.IMPRESSION,reason:this._options.reason,_event_name:i.e.BADGE,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.BADGE,selector:"#settings-link",action:i.m.ACTION.CLICK},messages:[{template:{name:i.e.BADGE,interaction_type:i.h.PPS.GO_PROFILE,reason:this._options.reason,_event_name:i.e.BLOCK_PAGE,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.BADGE,selector:"#sidebar_badge_collection_btn_accept",action:i.m.ACTION.CLICK},messages:[{template:{name:i.e.BADGE,interaction_type:i.h.PPS.ACKNOWLEDGED,reason:this._options.reason,_event_name:i.e.BLOCK_PAGE,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.BADGE,selector:"#sidebar_ss_accepted_btn_got_it",action:i.m.ACTION.CLICK},messages:[{template:{name:i.e.BADGE,interaction_type:i.h.PPS.ACKNOWLEDGED,reason:this._options.reason,_event_name:i.e.BLOCK_PAGE,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.BADGE,selector:"#sidebar_ds_file_deleted_high_five",action:i.m.ACTION.CLICK},messages:[{template:{name:i.e.BADGE,interaction_type:i.h.PPS.ACKNOWLEDGED,reason:this._options.reason,_event_name:i.e.BADGE,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.BADGE,selector:"#sidebar-close",action:i.m.ACTION.CLICK},messages:[{template:{name:i.e.BADGE,interaction_type:i.h.CLOSE_CLICKED,reason:this._options.reason,_event_name:i.e.BADGE,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.BLOCK_PAGE,sendTelemetry:this._options.isFromBackground||!1},messages:[{template:{name:i.g.BLOCK_PAGE,interaction_type:i.h.IMPRESSION,colour:i.c.toTelemetryBlockState(this._options.colour),level:this._options.level,style:this._options.level===i.i.FRAME?o.a.PPS_MODE?i.b.NORMAL:null:this._options.blockPageStyle||"UNKNOWN",_event_name:i.e.BLOCK_PAGE,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.BLOCK_PAGE,selector:"#settings-link",action:i.m.ACTION.CLICK},messages:[{template:{name:i.g.BLOCK_PAGE,interaction_type:i.h.PPS.GO_PROFILE,colour:i.c.toTelemetryBlockState(this._options.colour),level:this._options.level,style:this._options.blockPageStyle||"UNKNOWN",_event_name:i.e.BLOCK_PAGE,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.BLOCK_PAGE,selector:"#sidebar_iframe_block_accept_risk",action:i.m.ACTION.CLICK},messages:[{template:{name:i.g.BLOCK_PAGE,interaction_type:i.h.PPS.ACCEPT_RISK,colour:i.c.toTelemetryBlockState(this._options.colour),level:this._options.level,style:this._options.blockPageStyle||"UNKNOWN",_event_name:i.e.BLOCK_PAGE,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.BLOCK_PAGE,selector:"#sidebar_iframe_block_btn_block",action:i.m.ACTION.CLICK},messages:[{template:{name:i.g.BLOCK_PAGE,interaction_type:i.h.PPS.BLOCKED,colour:i.c.toTelemetryBlockState(this._options.colour),level:this._options.level,style:this._options.blockPageStyle||"UNKNOWN",_event_name:i.e.BLOCK_PAGE,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.BLOCK_PAGE,selector:"#sidebar_block_page_btn_accept_risk",action:i.m.ACTION.CLICK},messages:[{template:{name:i.g.BLOCK_PAGE,interaction_type:i.h.PPS.ACCEPT_RISK,colour:i.c.toTelemetryBlockState(this._options.colour),level:this._options.level,style:this._options.blockPageStyle||"UNKNOWN",_event_name:i.e.BLOCK_PAGE,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.BLOCK_PAGE,selector:"#sidebar_block_page_btn_block",action:i.m.ACTION.CLICK},messages:[{template:{name:i.g.BLOCK_PAGE,interaction_type:i.h.PPS.BLOCKED,colour:i.c.toTelemetryBlockState(this._options.colour),level:this._options.level,style:this._options.blockPageStyle||"UNKNOWN",_event_name:i.e.BLOCK_PAGE,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.BLOCK_PAGE,selector:"#sidebar-close",action:i.m.ACTION.CLICK},messages:[{template:{name:i.g.BLOCK_PAGE,interaction_type:i.h.CLOSE_CLICKED,colour:i.c.toTelemetryBlockState(this._options.colour),level:this._options.level,style:this._options.blockPageStyle||"UNKNOWN",_event_name:i.e.BLOCK_PAGE,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.BROWSER_ACTION_CLICKED,sendTelemetry:!0},messages:[{template:{name:i.g.BROWSER_ACTION_CLICKED,interaction_type:i.h.WEBADVISOR,badge_count:this._options.count,_event_name:i.e.BROWSER_ACTION_CLICKED,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.BROWSER_BADGE_UPDATE,sendTelemetry:!0},messages:[{template:{name:i.e.BROWSER_BADGE_UPDATE,feature:i.h.BROWSER_BADGE.SMA,count:this._options.count,_event_name:i.e.BROWSER_BADGE_UPDATE,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.BROWSER_NAVIGATE,sendTelemetry:this._options.isFromBackground},messages:[{template:{url:this._options.url,browser:r.a.browserTypeToString(),_event_name:i.e.BROWSER_NAVIGATE}}]},{trigger:{identifier:i.e.CRYPTOJACKING_BLOCK,state:i.m.MISC.LOADED,sendTelemetry:!0},messages:[{template:{interaction_type:i.h.IMPRESSION,name:i.g.CRYPTOJACKING_BLOCK,_event_name:i.e.CRYPTOJACKING_BLOCK,browser:r.a.browserTypeToString(),is_shown:!0,domain:this._options.domain||"default",crypto_miner:this._options.miner||"default"}}]},{trigger:{identifier:i.e.CRYPTOJACKING_BLOCK,selector:"#cryptojacking_learn_link",action:i.m.ACTION.CLICK},messages:[{template:{interaction_type:i.h.CRYPTOJACKING.LEARN_MORE_CLICKED,name:i.g.CRYPTOJACKING_BLOCK,_event_name:i.e.CRYPTOJACKING_BLOCK,browser:r.a.browserTypeToString(),is_shown:!0,domain:this._options.domain||"default",crypto_miner:this._options.miner||"default"}}]},{trigger:{identifier:i.e.CRYPTOJACKING_BLOCK,selector:".crypto-block-actions__close",action:i.m.ACTION.CLICK},messages:[{template:{interaction_type:i.h.CLOSE_CLICKED,name:i.g.CRYPTOJACKING_BLOCK,_event_name:i.e.CRYPTOJACKING_BLOCK,browser:r.a.browserTypeToString(),is_shown:!0,domain:this._options.domain||"default",crypto_miner:this._options.miner||"default"}}]},{trigger:{identifier:i.e.CRYPTOJACKING_BLOCK,selector:"#cryptojacking_banner_allow_btn",action:i.m.ACTION.CLICK},messages:[{template:{interaction_type:i.h.CRYPTOJACKING.WHITELISTED,name:i.g.CRYPTOJACKING_BLOCK,_event_name:i.e.CRYPTOJACKING_BLOCK,browser:r.a.browserTypeToString(),is_shown:!0,domain:this._options.domain||"default",crypto_miner:this._options.miner||"default"}}]},{trigger:{identifier:i.e.DOWNLOAD_BLOCK,state:i.m.MISC.LOADED,sendTelemetry:!0},messages:[{template:{name:i.g.DOWNLOAD_BLOCK,interaction_type:i.h.IMPRESSION,process_name:i.m.MISC.UNKNOWN,file_name:i.m.MISC.UNKNOWN,colour:i.m.MISC.UNKNOWN,ui_type:i.m.MISC.ACTION_PANEL,_event_name:i.e.DOWNLOAD_BLOCK,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.DOWNLOAD_BLOCK,selector:"#ap_download_scanning_delete_file_btn",action:i.m.ACTION.CLICK},messages:[{template:{name:i.g.DOWNLOAD_BLOCK,interaction_type:i.h.PPS.BLOCKED,process_name:i.m.MISC.UNKNOWN,file_name:i.m.MISC.UNKNOWN,colour:i.m.MISC.UNKNOWN,ui_type:i.m.MISC.ACTION_PANEL,_event_name:i.e.DOWNLOAD_BLOCK,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.DOWNLOAD_BLOCK,selector:"#sidebar_ds_malicious_keep_file",action:i.m.ACTION.CLICK},messages:[{template:{name:i.g.DOWNLOAD_BLOCK,interaction_type:i.h.PPS.ACCEPT_RISK,process_name:i.m.MISC.UNKNOWN,file_name:i.m.MISC.UNKNOWN,colour:i.m.MISC.UNKNOWN,ui_type:i.m.MISC.ACTION_PANEL,_event_name:i.e.DOWNLOAD_BLOCK,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.DOWNLOAD_SCAN_UI,sendTelemetry:s.a.PPS_MODE},messages:[{template:{name:i.g.DOWNLOAD_SCAN_UI,interaction_type:this._options.interaction_type,count:this._options.count,_event_name:i.e.DOWNLOAD_SCAN_UI,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.PROFILE_INFO,sendTelemetry:!0},messages:[{template:{name:i.e.PROFILE_INFO,interaction_type:i.h.IMPRESSION,tab:i.c.toTelemetrySettingTab(i.f.PREFERENCE),_event_name:i.e.PROFILE_INFO,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.PROFILE_INFO,selector:`#${i.m.MISC.SETTINGS_TAB_PREFIX}${i.f.PREFERENCE}`,action:i.m.ACTION.CLICK},messages:[{template:{name:i.e.PROFILE_INFO,interaction_type:i.h.IMPRESSION,tab:i.c.toTelemetrySettingTab(i.f.PREFERENCE),_event_name:i.e.PROFILE_INFO,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.PROFILE_INFO,selector:`#${i.m.MISC.SETTINGS_TAB_PREFIX}${i.f.WHITELIST}`,action:i.m.ACTION.CLICK},messages:[{template:{name:i.e.PROFILE_INFO,interaction_type:i.h.IMPRESSION,tab:i.c.toTelemetrySettingTab(i.f.WHITELIST),_event_name:i.e.PROFILE_INFO,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.PROFILE_INFO,selector:`#${i.m.MISC.SETTINGS_TAB_PREFIX}${i.f.ABOUT}`,action:i.m.ACTION.CLICK},messages:[{template:{name:i.e.PROFILE_INFO,interaction_type:i.h.IMPRESSION,tab:i.c.toTelemetrySettingTab(i.f.ABOUT),_event_name:i.e.PROFILE_INFO,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.PROFILE_INFO,selector:`#${i.m.MISC.SETTINGS_TAB_PREFIX}${i.f.STATISTICS}`,action:i.m.ACTION.CLICK},messages:[{template:{name:i.e.PROFILE_INFO,interaction_type:i.h.IMPRESSION,tab:i.c.toTelemetrySettingTab(i.f.STATISTICS),_event_name:i.e.PROFILE_INFO,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.PROFILE_INFO,selector:"#settings_preference_reset_button",action:i.m.ACTION.CLICK},messages:[{template:{name:i.e.PROFILE_INFO,interaction_type:i.h.PPS.RESET_CLICKED,tab:i.c.toTelemetrySettingTab(i.f.PREFERENCE),_event_name:i.e.PROFILE_INFO,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.PROFILE_INFO,selector:"#remove-btn",action:i.m.ACTION.CLICK},messages:[{template:{name:i.e.PROFILE_INFO,interaction_type:i.h.PPS.WHITELIST_DELETED,tab:i.c.toTelemetrySettingTab(i.f.WHITELIST),_event_name:i.e.PROFILE_INFO,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.PROFILE_INFO,selector:"#add-btn",action:i.m.ACTION.CLICK},messages:[{template:{name:i.e.PROFILE_INFO,interaction_type:i.h.PPS.WHITELIST_ADDED,tab:i.c.toTelemetrySettingTab(i.f.WHITELIST),_event_name:i.e.PROFILE_INFO,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.PROFILE_INFO,selector:"#settings_whitelist_input",action:i.m.ACTION.KEYDOWN},messages:[{template:{name:i.e.PROFILE_INFO,interaction_type:i.h.PPS.WHITELIST_ADDED,tab:i.c.toTelemetrySettingTab(i.f.WHITELIST),_event_name:i.e.PROFILE_INFO,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.SEARCH_SUGGEST_BLOCK_PAGE,selector:"#block_page_search_input",action:i.m.ACTION.KEYDOWN},messages:[{template:{name:i.e.SEARCH_SUGGEST,interaction_type:i.h.IMPRESSION,search_type:i.e.BLOCK_PAGE,browser:r.a.browserTypeToString(),_event_name:i.e.SEARCH_SUGGEST}}]},{trigger:{identifier:i.e.SEARCH_SUGGEST_BLOCK_PAGE,sendTelemetry:this._options.selected},messages:[{template:{name:i.e.SEARCH_SUGGEST,interaction_type:i.h.SELECTION,search_type:i.e.BLOCK_PAGE,browser:r.a.browserTypeToString(),_event_name:i.e.SEARCH_SUGGEST}}]},{trigger:{identifier:i.e.SEARCH_SUGGEST_TYPOSQUATTING,selector:"#typosquatting_message_search_input",action:i.m.ACTION.KEYDOWN},messages:[{template:{name:i.e.SEARCH_SUGGEST,interaction_type:i.h.IMPRESSION,search_type:i.e.TYPOSQUATTING,browser:r.a.browserTypeToString(),_event_name:i.e.SEARCH_SUGGEST}}]},{trigger:{identifier:i.e.SEARCH_SUGGEST_TYPOSQUATTING,sendTelemetry:this._options.selected},messages:[{template:{name:i.e.SEARCH_SUGGEST,interaction_type:i.h.SELECTION,search_type:i.e.TYPOSQUATTING,browser:r.a.browserTypeToString(),_event_name:i.e.SEARCH_SUGGEST}}]},{trigger:{identifier:i.e.SECURE_SEARCH_HIT,sendTelemetry:!0},messages:[{template:{name:i.g.SECURE_SEARCH_HIT,search_type:i.l.DEFAULT,_event_name:i.e.SECURE_SEARCH_HIT,browser:r.a.browserTypeToString(),type_tag:this._options.typeTag,provider_type:this._options.engineName}}]},{trigger:{identifier:i.e.SIDEBAR_PANEL,sendTelemetry:!0},messages:[{template:{name:i.g.SIDEBAR_PANEL,interaction_type:this._options.interaction_type,_event_name:i.e.SIDEBAR_PANEL,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.SITE_REPORT,state:i.m.MISC.LOADED,sendTelemetry:!0},messages:[{template:{name:i.e.SITE_REPORT,interaction_type:i.h.IMPRESSION,block_state:i.c.toTelemetryBlockState(this._options.blockState),site_categories:this._options.siteCategories,url:this._options.displayUrl,style:i.m.MISC.ACTION_PANEL,_event_name:i.e.SITE_REPORT,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.SITE_REPORT,selector:"#sidebar__settings",action:i.m.ACTION.CLICK},messages:[{template:{name:i.e.SITE_REPORT,interaction_type:i.h.PPS.GO_PROFILE,block_state:i.c.toTelemetryBlockState(this._options.blockState),site_categories:this._options.siteCategories,url:this._options.displayUrl,style:i.m.MISC.ACTION_PANEL,_event_name:i.e.SITE_REPORT,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.SITE_REPORT,selector:"#sidebar-close",action:i.m.ACTION.CLICK},messages:[{template:{name:i.e.SITE_REPORT,interaction_type:i.h.CLOSE_CLICKED,block_state:i.c.toTelemetryBlockState(this._options.blockState),site_categories:this._options.siteCategories,url:this._options.displayUrl,style:i.m.MISC.ACTION_PANEL,_event_name:i.e.SITE_REPORT,browser:r.a.browserTypeToString()}}]},{trigger:{identifier:i.e.SMA_REPUTATION,sendTelemetry:!0},messages:[{template:{name:i.g.SMA_REPUTATION,interaction_type:i.h.IMPRESSION,_event_name:i.e.SMA_REPUTATION,browser:r.a.browserTypeToString(),site:this._options.site,color:i.m.MISC.GREEN,count:this._options[i.m.MISC.GREEN]}},{template:{name:i.g.SMA_REPUTATION,interaction_type:i.h.IMPRESSION,_event_name:i.e.SMA_REPUTATION,browser:r.a.browserTypeToString(),site:this._options.site,color:i.m.MISC.RED,count:this._options[i.m.MISC.RED]}},{template:{name:i.g.SMA_REPUTATION,interaction_type:i.h.IMPRESSION,_event_name:i.e.SMA_REPUTATION,browser:r.a.browserTypeToString(),site:this._options.site,color:i.m.MISC.YELLOW,count:this._options[i.m.MISC.YELLOW]}},{template:{name:i.g.SMA_REPUTATION,interaction_type:i.h.IMPRESSION,_event_name:i.e.SMA_REPUTATION,browser:r.a.browserTypeToString(),site:this._options.site,color:i.m.MISC.UNKNOWN,count:this._options[i.m.MISC.UNKNOWN]}},{template:{name:i.g.SMA_REPUTATION,interaction_type:i.h.IMPRESSION,_event_name:i.e.SMA_REPUTATION,browser:r.a.browserTypeToString(),site:this._options.site,color:i.m.MISC.HACKERSAFE,count:this._options[i.m.MISC.HACKERSAFE]}}]},{trigger:{identifier:i.e.TOAST,sendTelemetry:!0},messages:[{template:{triggerType:"Impression",browser:r.a.browserTypeToString(),category:"ToastCheck",_event_name:"ToastCheckCompleted"}},{template:{action_type:"Impression",browser:r.a.browserTypeToString(),provider:this._options.toastData?this._options.toastData.providerId:"",category:"SecureSearchToast",_event_name:"Secure_Search_Toast"}}]},{trigger:{identifier:i.e.TOAST,selector:"#iframe-toast-actions__yes",action:i.m.ACTION.CLICK},messages:[{template:{triggerType:"Acceptance",browser:r.a.browserTypeToString(),category:"ToastCheck",_event_name:"ToastCheckCompleted"}},{template:{browser:r.a.browserTypeToString(),provider:this._options.toastData?this._options.toastData.providerId:"",category:"SecureSearchToast",_event_name:"Secure_Search_Toast"}}]},{trigger:{identifier:i.e.TOAST,selector:"#iframe-toast-actions__no",action:i.m.ACTION.CLICK},messages:[{template:{triggerType:"Acceptance",browser:r.a.browserTypeToString(),category:"ToastCheck",_event_name:"ToastCheckCompleted"}},{template:{browser:r.a.browserTypeToString(),provider:this._options.toastData?this._options.toastData.providerId:"",category:"SecureSearchToast",_event_name:"Secure_Search_Toast",action_type:"Declined"}}]},{trigger:{identifier:i.e.TYPOSQUATTING,sendTelemetry:this._options.isFromBackground},messages:[{template:{name:i.g.TYPOSQUATTING,interaction_type:i.h.IMPRESSION,browser:r.a.browserTypeToString(),_event_name:i.e.TYPOSQUATTING}}]},{trigger:{identifier:i.e.REMOTE_ACCESS_TROJAN,state:i.m.MISC.LOADED,sendTelemetry:!0},messages:[{template:{name:i.e.REMOTE_ACCESS_TROJAN,interaction_type:i.h.IMPRESSION,browser:r.a.browserTypeToString(!0),url:this._options.url,_event_name:i.e.REMOTE_ACCESS_TROJAN}}]},{trigger:{identifier:i.e.REMOTE_ACCESS_TROJAN,selector:"#rat_detection_got_it_btn",action:i.m.ACTION.CLICK},messages:[{template:{name:i.e.REMOTE_ACCESS_TROJAN,interaction_type:i.h.RAT_DETECTION.ACKNOWLEDGED,browser:r.a.browserTypeToString(!0),url:this._options.url,_event_name:i.e.REMOTE_ACCESS_TROJAN}}]},{trigger:{identifier:i.e.REMOTE_ACCESS_TROJAN,selector:"#sidebar_rat_detection_whitelist_btn",action:i.m.ACTION.CLICK},messages:[{template:{name:i.e.REMOTE_ACCESS_TROJAN,interaction_type:i.h.RAT_DETECTION.WHITELISTED,browser:r.a.browserTypeToString(!0),url:this._options.url,_event_name:i.e.REMOTE_ACCESS_TROJAN}}]},{trigger:{identifier:i.e.REMOTE_ACCESS_TROJAN,selector:"#sidebar-close",action:i.m.ACTION.CLICK},messages:[{template:{name:i.e.REMOTE_ACCESS_TROJAN,interaction_type:i.h.CLOSE_CLICKED,browser:r.a.browserTypeToString(!0),url:this._options.url,_event_name:i.e.REMOTE_ACCESS_TROJAN}}]},{trigger:{identifier:i.e.SECURE_SEARCH_TOAST,sendTelemetry:!0},messages:[{template:{action_type:i.h.IMPRESSION,_event_name:i.e.SECURE_SEARCH_TOAST,browser:r.a.browserTypeToString()||i.m.MISC.UNKNOWN,provider:i.j.YAHOO,toastType:i.k.FIRST_ANNOTATION,category:i.d.SECURE_SEARCH_TOAST}}]},{trigger:{identifier:i.e.SECURE_SEARCH_TOAST,selector:".turn-ss-on",action:i.m.ACTION.CLICK},messages:[{template:{action_type:i.h.ACCEPTED,_event_name:i.e.SECURE_SEARCH_TOAST,browser:r.a.browserTypeToString()||i.m.MISC.UNKNOWN,provider:i.j.YAHOO,toastType:i.k.FIRST_ANNOTATION,category:i.d.SECURE_SEARCH_TOAST}}]},{trigger:{identifier:i.e.SECURE_SEARCH_TOAST,selector:"#close-balloon",action:i.m.ACTION.CLICK},messages:[{template:{action_type:i.h.DECLINED,_event_name:i.e.SECURE_SEARCH_TOAST,browser:r.a.browserTypeToString()||i.m.MISC.UNKNOWN,provider:i.j.YAHOO,toastType:i.k.FIRST_ANNOTATION,category:i.d.SECURE_SEARCH_TOAST}}]},{trigger:{identifier:i.e.FIND_SIMILAR_PAGES,sendTelemetry:!0},messages:[{template:{_event_name:i.e.FIND_SIMILAR_PAGES,name:i.e.FIND_SIMILAR_PAGES,interaction_type:this._options.interaction_type,domain:this._options.domain,browser:r.a.browserTypeToString().toLowerCase()}}]},{trigger:{identifier:i.e.WELCOME_SS_ON,sendTelemetry:!0},messages:[{template:{_event_name:i.e.WELCOME_SS_ON,category:i.e.WELCOME_SS_ON,action_type:i.h.IMPRESSION,browser:r.a.browserTypeToString(!0),sequence:this._options.sequence,type:this._options.type}}]},{trigger:{identifier:i.e.WELCOME_SS_ON,selector:".action-buttons > .got-it",action:i.m.ACTION.CLICK},messages:[{template:{_event_name:i.e.WELCOME_SS_ON,category:i.e.WELCOME_SS_ON,action_type:i.h.DECLINED,browser:r.a.browserTypeToString(!0),sequence:1,type:i.n.FIRST_ANNOTATION}}]},{trigger:{identifier:i.e.WELCOME_SS_ON,selector:".action-buttons > .learn-more",action:i.m.ACTION.CLICK},messages:[{template:{_event_name:i.e.WELCOME_SS_ON,category:i.e.WELCOME_SS_ON,action_type:i.h.ACCEPTED,browser:r.a.browserTypeToString(!0),sequence:1,type:i.n.FIRST_ANNOTATION}}]},{trigger:{identifier:i.e.WELCOME_SS_ON,selector:"button#mc-accept-btn-next",action:i.m.ACTION.CLICK},messages:[{template:{_event_name:i.e.WELCOME_SS_ON,category:i.e.WELCOME_SS_ON,action_type:i.h.ACCEPTED,browser:r.a.browserTypeToString(!0),sequence:this._options.sequence,type:this._options.type}},{template:{_event_name:i.e.WELCOME_SS_ON,category:i.e.WELCOME_SS_ON,action_type:i.h.IMPRESSION,browser:r.a.browserTypeToString(!0),sequence:this._options.sequence+1,type:this._options.type}}]},{trigger:{identifier:i.e.WELCOME_SS_ON,selector:"button#mc-accept-btn-done",action:i.m.ACTION.CLICK},messages:[{template:{_event_name:i.e.WELCOME_SS_ON,category:i.e.WELCOME_SS_ON,action_type:i.h.ACCEPTED,browser:r.a.browserTypeToString(!0),sequence:this._options.sequence+1,type:this._options.type}}]},{trigger:{identifier:i.e.WSS_ANALYTICS,sendTelemetry:!0},messages:[{template:{_event_name:i.e.WSS_ANALYTICS,message:this._options.message}}]},{trigger:{identifier:i.e.AMAZON_UPSELL_SIDEBAR_TOAST,state:i.m.MISC.LOADED,sendTelemetry:!0},messages:[{template:{category:i.e.PRODUCT_UPSELL_TOAST,trigger:this._options.trigger||i.m.MISC.UNKNOWN,sequence:this._options.sequence||i.m.MISC.UNKNOWN,product:i.m.SIDEBAR_AMAZON_UPSELL.PRODUCT||i.m.MISC.UNKNOWN,action_type:i.h.IMPRESSION||i.m.MISC.UNKNOWN,variation:this._options.variation||i.m.MISC.UNKNOWN,browser:r.a.browserTypeToString(!0)||i.m.MISC.UNKNOWN,url:this._options.url||i.m.MISC.UNKNOWN,_event_name:i.e.PRODUCT_UPSELL_TOAST}}]},{trigger:{identifier:i.e.AMAZON_UPSELL_SIDEBAR_TOAST,selector:"#button__amazon_extn_get",action:i.m.ACTION.CLICK},messages:[{template:{category:i.e.PRODUCT_UPSELL_TOAST,trigger:this._options.trigger||i.m.MISC.UNKNOWN,sequence:this._options.sequence||i.m.MISC.UNKNOWN,product:i.m.SIDEBAR_AMAZON_UPSELL.PRODUCT||i.m.MISC.UNKNOWN,action_type:i.h.UPSELL_SIDEBAR.ACCEPTED||i.m.MISC.UNKNOWN,variation:this._options.variation||i.m.MISC.UNKNOWN,browser:r.a.browserTypeToString(!0)||i.m.MISC.UNKNOWN,url:this._options.url||i.m.MISC.UNKNOWN,_event_name:i.e.PRODUCT_UPSELL_TOAST}}]},{trigger:{identifier:i.e.AMAZON_UPSELL_SIDEBAR_TOAST,selector:"#link__amazon_extns_decline",action:i.m.ACTION.CLICK},messages:[{template:{category:i.e.PRODUCT_UPSELL_TOAST,trigger:this._options.trigger||i.m.MISC.UNKNOWN,sequence:this._options.sequence||i.m.MISC.UNKNOWN,product:i.m.SIDEBAR_AMAZON_UPSELL.PRODUCT||i.m.MISC.UNKNOWN,action_type:i.h.UPSELL_SIDEBAR.DECLINED||i.m.MISC.UNKNOWN,variation:this._options.variation||i.m.MISC.UNKNOWN,browser:r.a.browserTypeToString(!0)||i.m.MISC.UNKNOWN,url:this._options.url||i.m.MISC.UNKNOWN,_event_name:i.e.PRODUCT_UPSELL_TOAST}}]},{trigger:{identifier:i.e.AMAZON_UPSELL_SIDEBAR_TOAST,selector:"#sidebar-close",action:i.m.ACTION.CLICK},messages:[{template:{category:i.e.PRODUCT_UPSELL_TOAST,trigger:this._options.trigger||i.m.MISC.UNKNOWN,sequence:this._options.sequence||i.m.MISC.UNKNOWN,product:i.m.SIDEBAR_AMAZON_UPSELL.PRODUCT||i.m.MISC.UNKNOWN,action_type:i.h.UPSELL_SIDEBAR.CLOSED||i.m.MISC.UNKNOWN,variation:this._options.variation||i.m.MISC.UNKNOWN,browser:r.a.browserTypeToString(!0)||i.m.MISC.UNKNOWN,url:this._options.url||i.m.MISC.UNKNOWN,_event_name:i.e.PRODUCT_UPSELL_TOAST}}]}]}}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return r}));var i=n(33);class r{constructor(e,t=null){this.closing=!1,this.showing=!1,this.animateReload=!0,this.allowReplace=!0,this.componentData=null,this.template=null,this.hostNode=null,this.shadowRoot=null,this.hostStyles=e,this.baseTemplate=t,this.showContainer=this.showContainer.bind(this),this.closeContainer=this.closeContainer.bind(this),this.query=this.query.bind(this),this.clickListener=this.clickListener.bind(this),this.bgGrayout=!1,this.bgGrayoutElement=null}async initContainer(e,t=null){if(this.closing)return!1;if(this.showing&&!1===this.allowReplace&&r.isSameObject(e,this.template))return!1;if(this.componentData&&JSON.stringify(this.componentData)===JSON.stringify(t))return!1;this.componentData=t;const{allowReplace:n=!0,animateReload:o=!0}=e;if(this.allowReplace=n,this.animateReload=o,this.showing=!0,this.hostNode&&n)return await this.reloadContainer(e),!0;let s={...e};this.template=s,null===this.baseTemplate&&(this.baseTemplate=s,s=null);const a={hostStyles:{...this.hostStyles.DEFAULT,...this.hostStyles.HIDE}},{hostNode:c,shadowRoot:l}=await i.a.loadTemplate(a,this.baseTemplate,s);return this.hostNode=c,this.shadowRoot=l,!0}static isSameObject(e=null,t=null){return null===e&&null===t||e&&t&&JSON.stringify(e)===JSON.stringify(t)}async reloadContainer(e,t=this.animateReload){await this.closeContainer(!1,t),this.template=e,await i.a.reloadTemplate(e,this.baseTemplate,this.shadowRoot)}setBackgroundOverlay(t){const n=e("body");if(t){const t="display:none; width: 100%; height: 100%; position: fixed; top: 0px; left: 0px; z-index: 99999; background: rgba(0, 0, 0, 0.3);";this.bgGrayoutElement=e(`<div style="${t}"></div>`),n.append(this.bgGrayoutElement),n.css("overflow","hidden"),this.bgOverlay.fadeIn()}else this.bgGrayoutElement&&this.bgGrayoutElement.fadeOut(),n.css("overflow","auto")}showBackgroundGrayout(t){if(this.bgGrayout=t,!t)return;this.bgGrayoutElement=e('<div style="display:none; width: 100%; height: 100%; position: fixed; top: 0px; left: 0px; z-index: 99999; background: rgba(0, 0, 0, 0.3);"></div>');const n=e("body");n.append(this.bgGrayoutElement),n.css("overflow","hidden"),this.bgGrayoutElement.fadeIn()}hideBackgroundGrayOut(){this.bgGrayoutElement&&this.bgGrayout&&(this.bgGrayoutElement.fadeOut(),e("body").css("overflow","auto"),this.bgGrayout=!1)}showContainer(t=null){const n=t&&t.bgGrayout;this.showBackgroundGrayout(n),e(this.hostNode).css(this.hostStyles.SHOW)}closeContainer(t=!0,n=!0){if(this.hideBackgroundGrayOut(),this.closing)return;this.closing=!0;const i=()=>{this.closing=!1,this.showing=!1,t&&(e(this.hostNode).remove(),this.hostNode=null,this.componentData=null,this.template=null,this.shadowRoot=null,this.baseTemplate=null)};if(n)return e(this.hostNode).css({...this.hostStyles.DEFAULT,...this.hostStyles.HIDE}),new Promise(e=>setTimeout(()=>e(i()),500));i()}query(t){return e(t,this.shadowRoot)}clickListener(e,t){const n=this.shadowRoot.querySelector(e);n&&n.addEventListener("click",e=>{e.isTrusted&&t(e)})}}}).call(this,n(18))},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o}));var i=n(6);const r={SHOPPING:"SHOPPING"},o={[r.SHOPPING]:{count:i.c.AMAZON_UPSELL_GTI_SHOPPING_SHOWN_COUNT,lastShown:i.c.AMAZON_UPSELL_GTI_SHOPPING_LAST_SHOWN,showing:i.a.AMAZON_UPSELL_SHOPPING_SHOWING,lastDomainShown:i.c.AMAZON_UPSELL_GTI_SHOPPING_LAST_DOMAIN_SHOWN}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n(8),r=n(4),o=n(5),s=n(15),a=n(16);class c{static async shouldShowSidebar(){const e=document.location.href;if(!i.a.bkGlobals.nativeSettings.RAT_DETECTION_ENABLED.value)return!1;if(!r.a.isProperWebURL(e)||r.a.isSiteAdvisorUrl(e))return!1;const t=s.a.getDomain(e);if(await c.getDomainVisited()===t)return!1;c.updateShowing(!1);const n=await o.a.whitelist(a.a.GET,a.c.RAT_DETECTION,{});if(!Array.isArray(n))return o.a.logError("invalid RAT whitelist from background cache storage"),!1;if(n.includes(t))return!1;if(i.a.bkGlobals.ratBlacklist.includes(t))return!0;const l=(await o.a.makeGTIRequest(e,!1,[e],void 0)).annotationMap[e];return Array.isArray(l.cat)?l.cat.includes(i.a.bkGlobals.RAT_DETECTION_CATEGORIES[0]):(o.a.logError("invalid category result from GTI response"),!1)}static updateShowing(e){o.a.updateRatDetectionShowingFlag(e)}static async getDomainVisited(){return await o.a.getDomainVisitedDetails()}}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return s}));var i=n(3),r=n(21),o=n(5);class s{static async loadTemplate(t,n,i=null){const{hostStyles:r}=t,a=document.createElement("div");e(a).css(r);const c=(await o.a.getBkGlobals()).shadowMode,l=a.attachShadow({mode:c});return await s.populateContainer(n,l),i&&await s.populateContainer(i,l),document.body.appendChild(a),{hostNode:a,shadowRoot:l}}static async populateContainer(e,t){const{htmlPath:n,cssPath:i,containerId:r}=e,o=await s.getTemplate(n,i);(r?t.querySelector(`#${r}`):t).appendChild(o)}static async reloadTemplate(e,t,n){n.innerHTML="",t&&await s.populateContainer(t,n),await s.populateContainer(e,n)}static async getTemplate(e,t=null){const n=new r.a,o=document.createElement("template"),s=await n.sendHttpRequest({url:i.a.runtime.getURL(e)}),a=await s.text();let c="";if(t){const e=await n.sendHttpRequest({url:i.a.runtime.getURL(t)});c=await e.text(),c=`<style>${c}</style>`}o.innerHTML=`${c}${a}`;for(const e of o.content.querySelectorAll("img[x-mcsrc]")){const t=e.getAttribute("src");e.src=i.a.runtime.getURL(t)}return o.content.cloneNode(!0)}}}).call(this,n(18))},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n(8),r=n(6),o=n(5),s=n(31),a=n(14),c=n(19);class l{static async shouldShowMessage(){const e={show:!1,count:-1,lastShown:-1,categoryId:null,upsellCategoryType:null,domain:null,amazonExtnStatus:null},{isEnabled:t,status:n}=await l.isExtnInstalled();if(t)return e;const{count:i,lastShown:r,categoryId:o,upsellCategoryType:s,sameTabCategory:a,domain:c}=await l.getAmazonUpsellDetails();return a&&await l.validateCachedData(s,i,r,c)?(e.amazonExtnStatus=n,e.count=i,e.lastShown=r,e.categoryId=o,e.upsellCategoryType=s,e.domain=c,e.show=!0,e):e}static async isExtnInstalled(){const e={isEnabled:!0,status:0},t=a.a.get("AmazonAssistant"),n=await o.a.getExtensionStatus(t);return n<0||1===n?e:(e.isEnabled=!1,e.status=n,e)}static async shouldDelayToastShow(){const{AMAZON_EXTN_DELAY_TIMESTAMP:e}=i.a.bkGlobals.nativeSettings,t=[{scope:c.c.SYSTEM,name:e.name}];return void 0!==(await o.a.getNativeValue(t))[e.name]}static async validateCachedData(e,t,n,a){if(t>2)return!1;const c=864e5*i.a.bkGlobals.nativeSettings.AMAZON_EXTN_TOAST_CADENCE.value;if(0!==n&&(new Date).getTime()<n+c)return!1;const l=s.a[e],u={[l.lastDomainShown]:null};return a!==((await o.a.cacheStore(r.b.GET,u))[l.lastDomainShown]||null)}static async updateShownCounter(e,t){const n=s.a[e];if(!n)return;const i={[n.count]:1},a=await o.a.cacheStore(r.b.GET,i);o.a.cacheStore(r.b.SET,{[n.count]:a[n.count]+1}),o.a.cacheStore(r.b.SET,{[n.lastShown]:(new Date).getTime()}),t&&o.a.cacheStore(r.b.SET,{[n.lastDomainShown]:t})}static async getAmazonUpsellDetails(){return await o.a.getAmazonUpsellCategoryDetails()}static updateShowing(e,t){o.a.updateUpsellShowingFlag(e,t)}}},function(e,t,n){"use strict";var i=n(8),r=n(6),o=n(5);class s{static getSMAEngineData(e){return i.a.searchEngine.getSMAForUrl(e)}static async shouldShowSMANotification(e){if(!s.getSMAEngineData(e))return!1;const t=r.c.SMA_FIRST_TIME;return(await o.a.cacheStore(r.b.GET,{[t]:!0}))[t]&&o.a.cacheStore(r.b.SET,{[t]:!1}),isFirstTime}}var a=s,c=n(30);const l={DEFAULT:{top:"0",padding:"0",margin:"0",zIndex:"2147483646",position:"fixed",border:"none",opacity:"0",left:"auto",right:"0",display:"block",maxWidth:"none",boxShadow:"10px 0 35px rgba(0, 0, 0, 0.2)",backgroundColor:"#FFFFFF"},HIDE:{transition:"width 0s 0.4s, height 0s 0.4s, opacity 0.4s, transform 0.4s",transform:"translate3d(400px, 0, 0)",opacity:"0",width:"400px",height:"0"},SHOW:{transition:"opacity 0.4s, transform 0.4s",transform:"translate3d(0, 0, 0)",opacity:"1",width:"400px",height:"100%"}};class u extends c.a{constructor(){const e={htmlPath:"html/sidebar/sidebar_action_panel.html",cssPath:"css/sidebar_action_panel_style.css"};super(l,e),this.loadAsBaseTemplate=null,this.defaultBaseTemplate=e}async init(e,t=null,n=!1,i=!1){!0===this.loadAsBaseTemplate&&this.loadAsBaseTemplate!==i&&(this.baseTemplate=this.defaultBaseTemplate),i&&(this.baseTemplate=null),this.loadAsBaseTemplate=i;const r=await this.initContainer(e,t);return r?(this.initBaseEventListeners(n),r):r}initBaseEventListeners(e){!this.loadAsBaseTemplate&&this.clickListener("#sidebar-close",()=>{e?window.history.length<2?o.a.closeTab():window.history.go(-1):this.closeContainer()})}}var d=n(1),h=n(2),p=n(11),_=n(3),E=n(16),f=n(15),m=n(28),g=n(0),T=n(10);class S{constructor(e,t,n=!1){this.telemetryData={},this.componentData=e,this.isForegroundPage=n,this.blockPageData=null,this.strConvertor=null,this.shadowRoot=t.shadowRoot,this.query=t.query,this.showContainer=t.showContainer,this.closeContainer=t.closeContainer,this.clickListener=t.clickListener,this.options={identifier:g.e.BLOCK_PAGE,containerMeta:t}}async init(){if(this.strConvertor=new T.a(null,this.shadowRoot),this.strConvertor.init(),this.isForegroundPage){const e=await o.a.getTabData();this.blockPageData=e.actionPanelData.componentData.blockPageData}else this.blockPageData=this.componentData.blockPageData;const{blockState:e,categories:t}=this.blockPageData,[n,i]=this.stateOfPage(e);let r=await this.getVariantCount(i);const s=2===r;this.telemetryData.blockPageStyle=s?g.b.NORMAL:g.b.EDUCATION,this.telemetryData.pageLevel=this.isForegroundPage?g.i.TOP:g.i.INLINE,this.updateHtml(n,s),this.updateLocales(n,s),this.renderCategories(t),s||this.saveVariantCount(i,++r),this.initEventListeners(),this.showContainer(),this.options.colour=this.telemetryData.color,this.options.level=this.telemetryData.pageLevel,this.options.blockPageStyle=this.telemetryData.blockPageStyle,p.a.handle(this.options)}async getVariantCount(e){const t={};return t[e]=0,(await o.a.cacheStore(r.b.GET,t))[e]||0}initEventListeners(){this.clickListener("#settings-link",()=>{const e=_.a.runtime.getURL("html/settings.html");o.a.focusOrCreateTab(e)}),this.clickListener("#sidebar_block_page_btn_accept_risk",()=>{const{url:e}=this.blockPageData,t=f.a.getDomain(e);this.sendBlockPageTelemetry(InteractionTypes.PPS.ACCEPT_RISK),o.a.whitelist(E.a.ADD,E.c.BLOCK_PAGE,{domains:[t]}),this.isForegroundPage?window.location.replace(e):window.location.href=e}),this.clickListener("#sidebar_block_page_btn_block",()=>{const{blockState:e}=this.blockPageData,t={command:d.d.SIDEBAR,payload:{subcommand:d.i.BADGE_COLLECTION,componentData:{badgeCollectionData:{caller:d.i.BLOCK_PAGE,state:h.o[e]}}}};o.a.contentHandler(t)})}stateOfPage(e){let t,n;switch(e){case h.c.RED:t=h.o[h.c.RED],n=r.c.BLOCK_PAGE_RED_FIRST_VARIANT_COUNT;break;case h.c.YELLOW:t=h.o[h.c.YELLOW],n=r.c.BLOCK_PAGE_YELLOW_FIRST_VARIANT_COUNT;break;case h.c.PHISHING:t=h.o[h.c.PHISHING],n=r.c.BLOCK_PAGE_PHISHING_FIRST_VARIANT_COUNT}return[t,n]}renderCategories(e){const t=this.query(".threats__list"),n=[];for(const i of e){if(n.includes(i))continue;n.push(i);const e=this.strConvertor.localeData(`category_id_${i}_name`),r=this.strConvertor.localeData(`category_id_${i}_description`),o=Math.random().toString(36).substring(7),s=`\n        <li>\n          <span class="threat">${e}</span>\n          <span class="threat-image">\n            <img id="threat-info-${o}" class="threat-info" src="${_.a.runtime.getURL("/images/action_panel/info-circle-icon.svg")}" alt="info-icon">\n          </span>\n        </li>\n      `;t.append(s);const a={src:`#threat-info-${o}`,title:e,content:r,offsetx:2,offsety:-5};Object(m.a)(a,this.shadowRoot)}}saveVariantCount(e,t){const n={};n[e]=t,o.a.cacheStore(r.b.SET,n)}updateHtml(e,t){const n=_.a.runtime.getURL(`/images/action_panel/ap_jumbo_${e}.svg`);this.query("header.border-btm").show(),this.query(".jumbo__image").attr("src",n),e===h.o[h.c.PHISHING]&&t&&this.query(".sidebar__jumbo").addClass("jumbo__phishing")}updateLocales(e,t){const n=t?"_variant_2":"";this.query("#jumbo__title").text(this.strConvertor.localeData(`sidebar_block_page_title_${e}${n}`)),this.query("#jumbo__description").text(this.strConvertor.localeData(`sidebar_block_page_description_${e}${n}`)),this.query("#threats__title").text(this.strConvertor.localeData(`sidebar_block_page_threats_title_${e}${n}`));const i=`<a id='settings-link' href='#'>${this.strConvertor.localeData("sidebar_action_panel_web_protection_preferences")}</a>`,r=this.strConvertor.localeData("sidebar_action_panel_settings_link",[i]);this.query("#sidebar__settings").html(r)}}var A=n(4);class O{constructor(e,t){this.componentData=e,this.strConvertor=null,this.shadowRoot=t.shadowRoot,this.query=t.query,this.showContainer=t.showContainer,this.closeContainer=t.closeContainer,this.clickListener=t.clickListener,this.options={identifier:g.e.SITE_REPORT,containerMeta:t}}async init(){try{const{annotationItem:e,url:t}=this.componentData.siteReportData;this.strConvertor=new T.a(null,this.shadowRoot),this.strConvertor.init(),this.renderSiteReport(e,f.a.getURI(t)),this.initEventListeners(),this.showContainer(),this.options.state=g.m.MISC.LOADED,p.a.handle(this.options)}catch(e){o.a.logError(e)}}renderSiteReport(e,t){const n=A.a.toColor(e),i=h.o[n];this.options.blockState=A.a.toBlockState(e),this.options.displayUrl=t,this.updateHtml({state:i,displayUrl:t}),this.updateLocales(i),this.renderCategories(e.cat)}updateHtml({state:e,displayUrl:t}){if(this.query(`.jumbo__image--${e}`).show(),e===h.o[h.c.UNKNOWN])return this.query(".jumbo__site-url").hide(),void this.query(".sidebar__threats").hide();this.query(".jumbo__site-url").addClass(`jumbo__site-url--${e}`),this.query("#display-url__image").attr("src",_.a.runtime.getURL(`/images/action_panel/ap_site_report_url_${e}.svg`));const n=t.length>32?`${t.substring(0,31)}...`:t;this.query("#display-url").text(n)}updateLocales(e){this.query("#jumbo__title").text(this.strConvertor.localeData(`sidebar_site_report_title_${e}`)),this.query("#jumbo__description").text(this.strConvertor.localeData(`sidebar_site_report_description_${e}`)),this.query("#threats__title").text(this.strConvertor.localeData(`sidebar_site_report_threats_title_${e}`));const t=`<a id="settings-link" href="#">${this.strConvertor.localeData("sidebar_action_panel_web_protection_preferences")}</a>`,n=this.strConvertor.localeData("sidebar_action_panel_settings_link",[t]);this.query("#sidebar__settings").html(n)}renderCategories(e=[]){const t=this.query(".threats__list"),n=[];let i="";for(const r of e){if(n.includes(r))continue;n.push(r);const e=this.strConvertor.localeData(`category_id_${r}_name`),o=this.strConvertor.localeData(`category_id_${r}_description`);i+=`${e},`;const s=Math.random().toString(36).substring(7),a=`\n        <li>\n          <span class="threat">${e}</span>\n          <span class="threat-image">\n            <img id="threat-info-${s}" class="threat-info" src="${_.a.runtime.getURL("/images/action_panel/info-circle-icon.svg")}" alt="info-icon">\n          </span>\n        </li>\n      `;t.append(a);const c={src:`#threat-info-${s}`,title:e,content:o,offsetx:2,offsety:-5};Object(m.a)(c,this.shadowRoot)}i=i.substr(0,i.length-1),this.options.siteCategories=i}initEventListeners(){this.clickListener("#sidebar__settings",()=>{const e=_.a.runtime.getURL("html/settings.html");o.a.focusOrCreateTab(e)})}}class C{constructor(e,t){this.componentData=e,this.telemetryData={},this.strConvertor=null,this.shadowRoot=t.shadowRoot,this.query=t.query,this.showContainer=t.showContainer,this.closeContainer=t.closeContainer,this.clickListener=t.clickListener,this.options={identifier:g.e.BLOCK_PAGE,containerMeta:t}}async init(){this.strConvertor=new T.a(null,this.shadowRoot),this.strConvertor.init(),this.telemetryData.color=h.h.UNKNOWN,this.telemetryData.pageLevel=g.i.FRAME,this.telemetryData.blockPageStyle=g.b.NORMAL,this.updateLocales(),this.initListeners(),this.showContainer(),this.options.colour=h.h.UNKNOWN,this.options.level=g.i.FRAME,this.options.blockPageStyle=g.b.NORMAL,p.a.handle(this.options)}initListeners(){this.clickListener("#settings-link",()=>{const e=_.a.runtime.getURL("html/settings.html");o.a.focusOrCreateTab(e)}),this.clickListener("#sidebar_iframe_block_btn_block",async()=>{if(await this.isFirstTime()){const e={command:d.d.SIDEBAR,payload:{subcommand:d.i.BADGE_COLLECTION,componentData:{badgeCollectionData:{caller:d.i.IFRAME_BLOCK}}}};o.a.contentHandler(e)}}),this.clickListener("#sidebar_iframe_block_accept_risk",()=>{o.a.unblockAllIframes(),this.closeContainer()})}async isFirstTime(){const e=r.c.IFRAME_BLOCK_FIRST_TIME,t=await o.a.cacheStore(r.b.GET,{[e]:!0}),n=t[e]||null===t[e];return n&&o.a.cacheStore(r.b.SET,{[e]:!1}),n}updateLocales(){const e=`<a id='settings-link' href='#'>${this.strConvertor.localeData("sidebar_action_panel_web_protection_preferences")}</a>`,t=this.strConvertor.localeData("sidebar_action_panel_settings_link",[e]);this.query("#sidebar__settings").html(t)}}class N{constructor(e,t,n=!1){this.telemetryData={},this.componentData=e,this.isForegroundPage=n,this.strConvertor=null,this.shadowRoot=t.shadowRoot,this.query=t.query,this.showContainer=t.showContainer,this.closeContainer=t.closeContainer,this.clickListener=t.clickListener,this.options={identifier:g.e.DOWNLOAD_BLOCK,state:g.m.MISC.LOADED,containerMeta:t}}async init(){this.strConvertor=new T.a(null,this.shadowRoot),this.strConvertor.init();const e=new URLSearchParams(window.location.search),t={};if(this.isForegroundPage){if(!e.has("tab-id"))return;t.tabId=Number(e.get("tab-id"));const n=await o.a.getTabData(t);this.componentData=n.actionPanelData.componentData}const{downloadScanData:n}=this.componentData,i=n.filePath.split("\\");this.query("#ap_download_scanning_filename").text(i[i.length-1]),this.query("#ap_download_scanning_source_name").text(n.fileUrl),this.initListeners(n),this.showContainer(),p.a.handle(this.options)}initListeners(e){this.clickListener("#ap_download_scanning_delete_file_btn",()=>{const t={filePath:e.filePath,fileUrl:e.fileUrl};this.closeContainer(!0,!1),o.a.removeFromDownloadScanQueue(),o.a.deleteMaliciousFile(t)}),this.clickListener("#sidebar_ds_malicious_keep_file",()=>{this.closeContainer(),o.a.removeFromDownloadScanQueue(),o.a.triggerNextEventForDownloadScanning(),this.isForegroundPage&&o.a.closeTab()})}}class I{constructor(e,t,n=!1){this.componentData=e,this.isForegroundPage=n,this.strConvertor=null,this.shadowRoot=t.shadowRoot,this.query=t.query,this.showContainer=t.showContainer,this.closeContainer=t.closeContainer,this.clickListener=t.clickListener,this.options={identifier:g.e.BADGE,containerMeta:t,reason:g.a.DELETE_BAD_DOWNLOAD}}async init(){this.strConvertor=new T.a(null,this.shadowRoot),this.strConvertor.init(),this.updateLocales(),this.initListeners(),this.showContainer(),p.a.handle(this.options)}initListeners(){this.clickListener("#settings-link",()=>{const e=_.a.runtime.getURL("html/settings.html");o.a.focusOrCreateTab(e)}),this.clickListener("#sidebar_ds_file_deleted_high_five",()=>{this.isForegroundPage?o.a.closeTab():(this.closeContainer(),o.a.triggerNextEventForDownloadScanning())})}updateLocales(){const e=`<a id='settings-link' href='#'>${this.strConvertor.localeData("sidebar_action_panel_web_protection_preferences")}</a>`,t=this.strConvertor.localeData("sidebar_action_panel_settings_link",[e]);this.query("#sidebar__settings").html(t)}}class y{constructor(e,t,n=!1){this.telemetryData={},this.componentData=e,this.isForegroundPage=n,this.strConvertor=null,this.shadowRoot=t.shadowRoot,this.query=t.query,this.showContainer=t.showContainer,this.closeContainer=t.closeContainer,this.clickListener=t.clickListener}async init(){const{downloadScanData:e}=this.componentData,t=e.filePath.split("\\");this.strConvertor=new T.a(null,this.shadowRoot),this.strConvertor.init(),this.query("#ap_download_scanning_filename").text(t[t.length-1]),this.query("#ap_download_scanning_source_name").text(e.fileUrl),this.query("#ap_download_scanning_location_name").text(e.filePath),this.updateLocales(),this.initListeners(),this.showContainer()}initListeners(){this.clickListener("#settings-link",()=>{const e=_.a.runtime.getURL("html/settings.html");o.a.focusOrCreateTab(e)}),this.clickListener("#sidebar_ds_file_not_deleted_got_it",()=>{this.isForegroundPage?o.a.closeTab():(this.closeContainer(),o.a.triggerNextEventForDownloadScanning())})}updateLocales(){const e=`<a id='settings-link' href='#'>${this.strConvertor.localeData("sidebar_action_panel_web_protection_preferences")}</a>`,t=this.strConvertor.localeData("sidebar_action_panel_settings_link",[e]);this.query("#sidebar__settings").html(t)}}class b{constructor(e,t,n=!1){this.componentData=e,this.isForegroundPage=n,this.strConvertor=null,this.shadowRoot=t.shadowRoot,this.query=t.query,this.showContainer=t.showContainer,this.closeContainer=t.closeContainer,this.clickListener=t.clickListener,this.options={identifier:g.e.BADGE,containerMeta:t,reason:g.a.ACCEPT_SECURE_SEARCH}}init(){this.strConvertor=new T.a(null,this.shadowRoot),this.strConvertor.init(),o.a.updateBrowserAction({text:""}),this.updateLocales(),this.initListeners(),this.showContainer(),p.a.handle(this.options)}updateLocales(){this.query("header.border-btm").show(),this.query("#jumbo__title").text(this.strConvertor.localeData("sidebar_ss_accepted_title")),this.query("#jumbo__description").text(this.strConvertor.localeData("sidebar_ss_accepted_description")),this.query("#jumbo__sub-description").text(this.strConvertor.localeData("sidebar_ss_accepted_sub_description")),this.query("#sidebar_ss_accepted_btn_got_it").text(this.strConvertor.localeData("sidebar_ss_accepted_btn_got_it"));const e=`<a id='settings-link' href='#'>${this.strConvertor.localeData("sidebar_action_panel_web_protection_preferences")}</a>`,t=this.strConvertor.localeData("sidebar_action_panel_settings_link",[e]);this.query("#sidebar__settings").html(t)}initListeners(){this.clickListener("#settings-link",()=>{const e=_.a.runtime.getURL("html/settings.html");o.a.focusOrCreateTab(e)}),this.clickListener("#sidebar_ss_accepted_btn_got_it",()=>{this.isForegroundPage?window.history.length<2?o.a.closeTab():window.history.go(-1):this.closeContainer()})}}var L=n(13),v=n(25);class R{constructor(e,t){this.componentData=e,this.shadowRoot=t.shadowRoot,this.query=t.query,this.showContainer=t.showContainer,this.closeContainer=t.closeContainer,this.clickListener=t.clickListener,this.options={identifier:g.e.ADBLOCK_INTERACTION,hasCheckBox:!0,containerMeta:t}}async init(){const e=new T.a(null,this.shadowRoot);e.init();try{const t=await o.a.getPopupData(),{AP_FEATURE_ENABLED:n}=t;if(n)try{const{adblockDisabled:e}=await v.a.isAdblockDisabled(t.tabId);t.adblockDisabled=e,t.searchExtnOn=!0}catch(e){o.a.logError(e);const n={};n[r.c.SEARCH_ANNOTATION_OPTION]=L.a.NONE,o.a.cacheStore(r.b.SET,n),t.searchExtnOn=!1}this.initContent(t,e),this.initListeners(t),this.populateData(t),this.showContainer(),this.options.domain=t.url,p.a.handle(this.options)}catch(e){o.a.logError(e)}}initContent({AP_FEATURE_ENABLED:e,tabData:t,cacheStore:n,searchExtnOn:i},r){let o="",s="";if(e){this.query("#sidebar_view_site_report").hide(),this.query("#sidebar_footer_view_stats").css({display:"block"});const{AB_USER_TOGGLE:e}=n;if(!e||!i)return this.query(".innerbody__message__title").html(r.localeData("sidebar_everything_looks_good")),this.query(".innerbody__message__desc").html(r.localeData("sidebar_everything_looks_good_desc")),this.query("#innerbody__message__action_text").html(r.localeData("sidebar_go_to_web_protection")),this.hideStats(),void this.showMessage();if(A.a.isProperWebURL(t.url)){o=new URL(t.url).origin,s=r.localeData("sidebar_adblock_subtitle")}else this.query("#sidebar_title").hide();this.query("#sidebar_adblock_enabled").css({display:"block"}),this.query("#sidebar_adblock_view_site_report").html(r.localeData("sidebar_view_site_report")),this.query("#sidebar_adblock_view_site_report").css({display:"block"})}else o=r.localeData("sidebar_title"),s=r.localeData("sidebar_subtitle");this.query("#sidebar_title").html(o),this.query("#sidebar_subtitle").html(s)}hideStats(){this.query("#sidebar_title").hide(),this.query("#sidebar_subtitle").hide(),this.query(".innerbody__stats-box").hide(),this.query("#sidebar_adblock_view_site_report").hide()}showMessage(){this.query(".innerbody").addClass("center"),this.query(".innerbody__message").css("display","flex")}populateData(e){const{AP_FEATURE_ENABLED:t,cacheStore:n,stats:i,tabData:r,PPS_MODE:o,adblockDisabled:s,BINARY_VERSION:a}=e,c=this.query("#sidebar_version").text();if(this.query("#sidebar_version").text(`${c} ${h.g.EXTENSION_VERSION}`),t)return this.query("#num-ads-blocked").text(A.a.getUINumber(s?0:r.adsBlocked)),this.query("#num-trackers-blocked").text(A.a.getUINumber(s?0:r.trackersBlocked)),void(n.AB_USER_TOGGLE?this.query(".adblock-switch").attr("checked",s):(this.query(".adblock-switch").attr("checked",!1),this.query(".adblock-switch").attr("disabled",!0)));this.query(".innerbody__stats-box > .innerbody__stats-box__item").css("display","flex");const{pagesScanned:l,pagesBlocked:u,downloadsBlocked:d,cryptoBlocked:p}=i;this.query("#num-pages-scanned").text(A.a.getUINumber(l)),this.query("#num-unsafe-blocked").text(A.a.getUINumber(d)),this.query("#num-pages-blocked").text(A.a.getUINumber(u)),this.query("#num-crypto-blocked").text(A.a.getUINumber(p)),o&&this.query("#sidebar_statsrow_crypto").hide(),h.f.EDGE===h.g.BROWSER_TYPE&&null===a&&this.query("#sidebar_statsrow_unsafe_blocked").hide()}close(e){e?this.closeContainer():o.a.closeTab()}initListeners({url:e,AP_FEATURE_ENABLED:t,tabId:n}){const i=A.a.isProperWebURL(e);i?(this.clickListener("#sidebar_adblock_view_site_report",()=>{o.a.viewSiteReport(e,!0)}),this.clickListener("#sidebar_view_site_report",()=>{o.a.viewSiteReport(e,!0)}),t&&this.clickListener(".adblock-switch",e=>{this.query(e.currentTarget).attr("disabled",!0);const t=this.query(e.currentTarget).attr("checked")?d.a.REMOVE_WHITELIST:d.a.ADD_WHITELIST;v.a.updateAdblockWhitelist(t,n)})):(this.query("#sidebar_view_site_report").css({color:"#B1BABF",cursor:"default"}),this.query("#sidebar_adblock_view_site_report").css({color:"#B1BABF",cursor:"default"}),this.query(".adblock-switch").attr("disabled",!0)),this.clickListener("img[id=close]",()=>{this.close(i)});const r=e=>{const t=_.a.runtime.getURL(`html/settings.html${e?`?tabtype=${e}`:""}`);o.a.focusOrCreateTab(t)};this.clickListener("img[id=settings]",()=>{r()}),t&&(this.clickListener("#sidebar_view_stats",()=>{r("statistics")}),this.clickListener(".innerbody__message__action > a",()=>{r("preferences")}))}}class D{constructor(e,t){this.componentData=e,this.shadowRoot=t.shadowRoot,this.query=t.query,this.showContainer=t.showContainer,this.closeContainer=t.closeContainer,this.clickListener=t.clickListener}async init(){new T.a(null,this.shadowRoot).init(),this.initListeners(),this.showContainer()}initListeners(){this.clickListener("img[id=close]",this.closeContainer),this.clickListener("img[id=home]",this.goToPreference),this.clickListener("#sma_personalize_button",this.goToPreference)}goToPreference(){const e=_.a.runtime.getURL("html/settings.html?tabtype=preference");o.a.focusOrCreateTab(e)}}class w{constructor(e,t,n=!1){this.componentData=e,this.isForegroundPage=n,this.strConvertor=null,this.type="",this.state="",this.badgeType={IFRAME_BLOCK:"iframe_block",BLOCK_PAGE:"block_page"},this.shadowRoot=t.shadowRoot,this.query=t.query,this.showContainer=t.showContainer,this.closeContainer=t.closeContainer,this.clickListener=t.clickListener,this.options={identifier:g.e.BADGE,containerMeta:t,reason:g.a.BLOCK_BAD_PAGE}}init(){this.strConvertor=new T.a(null,this.shadowRoot),this.strConvertor.init(),this.populateDetails(),this.renderBadgeCollection(),this.initListeners(),this.showContainer(),p.a.handle(this.options)}populateDetails(){const{caller:e}=this.componentData.badgeCollectionData;switch(e){case d.i.IFRAME_BLOCK:this.type=this.badgeType.IFRAME_BLOCK;break;case d.i.BLOCK_PAGE:this.type=this.badgeType.BLOCK_PAGE,this.state=this.componentData.badgeCollectionData.state}}renderBadgeCollection(){this.updateHtml(),this.updateLocales()}updateHtml(){const e=_.a.runtime.getURL("/images/action_panel/ap_badge_collection_checked.svg");this.query(".jumbo__image").attr("src",e),this.type!==this.badgeType.BLOCK_PAGE&&this.query("#jumbo__sub-description__wrapper").hide()}updateLocales(){this.query("header.border-btm").show();const e=this.state?`${this.type}_${this.state}_title`:`${this.type}_title`;this.query("#jumbo__title").text(this.strConvertor.localeData(`sidebar_badge_collection_${e}`));let t="";if(this.type===this.badgeType.BLOCK_PAGE){const e=`<span style='font-style:italic'>${this.strConvertor.localeData(`sidebar_badge_collection_${this.type}_description_italic`)}</span>`;t=this.strConvertor.localeData(`sidebar_badge_collection_${this.type}_description`,[e])}else t=this.strConvertor.localeData(`sidebar_badge_collection_${this.type}_description`);this.query("#jumbo__description").html(t),this.type===this.badgeType.BLOCK_PAGE&&this.query("#jumbo__sub-description").text(this.strConvertor.localeData("sidebar_badge_collection_block_page_description_sub")),this.query("#sidebar_badge_collection_btn_accept").text(this.strConvertor.localeData(`sidebar_badge_collection_${this.type}_btn_accept`));const n=`<a id="settings-link" href="#">${this.strConvertor.localeData("sidebar_action_panel_web_protection_preferences")}</a>`,i=this.strConvertor.localeData("sidebar_action_panel_settings_link",[n]);this.query("#sidebar__settings").html(i)}initListeners(){this.clickListener("#settings-link",()=>{const e=_.a.runtime.getURL("html/settings.html");o.a.focusOrCreateTab(e)}),this.clickListener("#sidebar_badge_collection_btn_accept",()=>{this.isForegroundPage?window.history.length<2?o.a.closeTab():window.history.go(-1):this.closeContainer()})}}var P=n(32);class k{constructor(e,t){this.componentData=e,this.strConvertor=null,this.domain=f.a.getDomain(document.location.href),this.shadowRoot=t.shadowRoot,this.query=t.query,this.showContainer=t.showContainer,this.closeContainer=t.closeContainer,this.clickListener=t.clickListener,this.options={identifier:g.e.REMOTE_ACCESS_TROJAN,containerMeta:t}}async init(){try{this.strConvertor=new T.a(null,this.shadowRoot),this.strConvertor.init(),this.initEventListeners(),this.showContainer(),this.options.state=g.m.MISC.LOADED,this.options.url=this.domain,p.a.handle(this.options)}catch(e){o.a.logError(e)}}initEventListeners(){this.clickListener("#rat_detection_got_it_btn",()=>{P.a.updateShowing(!0),this.closeContainer()}),this.clickListener("#sidebar-close",()=>{P.a.updateShowing(!0)}),this.clickListener("#sidebar_rat_detection_whitelist_btn",()=>{o.a.whitelist(E.a.ADD,E.c.RAT_DETECTION,{domains:[this.domain]}),this.closeContainer()})}}var x=n(34);class M{constructor(e,t){this.componentData=e,this.strConvertor=null,this.domain=f.a.getDomain(document.location.href),this.shadowRoot=t.shadowRoot,this.query=t.query,this.showContainer=t.showContainer,this.closeContainer=t.closeContainer,this.clickListener=t.clickListener,this.options={identifier:g.e.AMAZON_UPSELL_SIDEBAR_TOAST,containerMeta:t}}async init(){try{const{upsellCategoryType:e,count:t,cohort:n,amazonExtnStatus:r}=this.componentData;switch(this.strConvertor=new T.a(null,this.shadowRoot),this.strConvertor.init(),this.renderContent(n,t),this.initEventListeners(i.a.bkGlobals.nativeSettings.AMAZON_EXTN_URL.value),this.showContainer(),this.updateViewedCounter(e),this.options.state=g.m.MISC.LOADED,this.options.url=this.domain,this.options.sequence=t,r){case 0:this.options.trigger=h.a.INSTALLED_DISABLED;break;case 2:this.options.trigger=h.a.INSTALLED_REJECTED;break;case 3:this.options.trigger=h.a.NOT_INSTALLED}p.a.handle(this.options)}catch(e){o.a.logError(e)}}renderContent(e,t){this.query(".top__home").show();let n="",i="",r="";const o=`<span class="sidebar_amazon_product_name">${this.strConvertor.localeData("sidebar_amazon_upsell_product")}</span>`;1===e?(n="sidebar_amazon_upsell_title_I",i="sidebar_amazon_upsell_first_description_I",r="sidebar_amazon_upsell_second_description_I",this.options.variation=g.m.VARIATIONS.AMAZON_EXTENSION_UPSELL.VARIATION_SAFER_SMARTER):2===e&&(n="sidebar_amazon_upsell_title_II",i="sidebar_amazon_upsell_first_description_II",r="sidebar_amazon_upsell_second_description_II",this.options.variation=g.m.VARIATIONS.AMAZON_EXTENSION_UPSELL.VARIATION_TIME_MONEY);const s=t>1?"sidebar_amazon_upsell_no_thanks_button":"sidebar_amazon_upsell_not_now_button";this.query("#sidebar_amazon_upsell_title").text(this.strConvertor.localeData(n)),this.query("#sidebar_amazon_upsell_first_description").html(this.strConvertor.localeData(i,[o])),this.query("#sidebar_amazon_upsell_second_description").html(this.strConvertor.localeData(r,["<br/>"])),this.query("#link__amazon_extns_decline").text(this.strConvertor.localeData(s))}initEventListeners(e){this.clickListener("#button__amazon_extn_get",()=>{o.a.focusOrCreateTab(e),this.closeContainer()}),this.clickListener("#link__amazon_extns_decline",()=>{this.closeContainer()}),this.clickListener("#sidebar-close",()=>{this.closeContainer()}),this.clickListener(".top__home",()=>{o.a.contentHandler({command:d.d.SIDEBAR,payload:{subcommand:d.i.MAIN,componentData:{sidebarMainData:{}}}})})}updateViewedCounter(){x.a.updateShownCounter(this.componentData.upsellCategoryType,this.componentData.domain)}}n.d(t,"a",(function(){return G}));class G{constructor(){this.savedComponentDetails=null,this.isForegroundPage=!1,this.iframeBlockShown=!1,this.iframeBlockedUrls={},this.sidebarContainer=new u,this.componentMap={[d.i.MAIN]:{template:{htmlPath:"html/sidebar/sidebar_main.html",cssPath:"css/sidebar_main.css"},Component:R,loadAsBaseTemplate:!0},[d.i.SMA]:{template:{htmlPath:"html/sidebar/sidebar_sma.html",cssPath:"css/sidebar_sma.css"},Component:D,loadAsBaseTemplate:!0},[d.i.SITE_REPORT]:{template:{htmlPath:"html/sidebar/sidebar_site_report.html",cssPath:"css/sidebar_site_report.css",containerId:"main-container__innerbody"},Component:O},[d.i.BLOCK_PAGE]:{template:{htmlPath:"html/sidebar/sidebar_block_page.html",cssPath:"css/sidebar_block_page.css",containerId:"main-container__innerbody"},Component:S},[d.i.IFRAME_BLOCK]:{template:{htmlPath:"html/sidebar/sidebar_iframe_block.html",cssPath:"css/sidebar_iframe_block.css",containerId:"main-container__innerbody",allowReplace:!1},Component:C},[d.i.DOWNLOAD_SCANNING_MALICIOUS]:{template:{htmlPath:"html/sidebar/sidebar_ds_malicious.html",cssPath:"css/sidebar_ds_malicious.css",containerId:"main-container__innerbody"},Component:N},[d.i.DOWNLOAD_SCANNING_FILE_DELETED]:{template:{htmlPath:"html/sidebar/sidebar_ds_file_deleted.html",cssPath:"css/sidebar_ds_file_deleted.css",containerId:"main-container__innerbody"},Component:I},[d.i.DOWNLOAD_SCANNING_FILE_NOT_DELETED]:{template:{htmlPath:"html/sidebar/sidebar_ds_file_not_deleted.html",cssPath:"css/sidebar_ds_file_not_deleted.css",containerId:"main-container__innerbody"},Component:y},[d.i.SS_ACCEPTED]:{template:{htmlPath:"html/sidebar/sidebar_ss_accepted.html",cssPath:"css/sidebar_ss_accepted.css",containerId:"main-container__innerbody"},Component:b},[d.i.BADGE_COLLECTION]:{template:{htmlPath:"html/sidebar/sidebar_badge_collection.html",cssPath:"css/sidebar_badge_collection.css",containerId:"main-container__innerbody"},Component:w},[d.i.RAT_DETECTION]:{template:{htmlPath:"html/sidebar/sidebar_rat_detection.html",cssPath:"css/sidebar_rat_detection.css",containerId:"main-container__innerbody"},Component:k},[d.i.AMAZON_UPSELL_TOAST]:{template:{htmlPath:"html/sidebar/sidebar_amazon_upsell.html",cssPath:"css/sidebar_amazon_upsell.css",containerId:"main-container__innerbody"},Component:M}}}processMessage(e,t=!1){this.isForegroundPage=t;const{subcommand:n}=e;if(n){switch(n){case d.i.IFRAME_BLOCK:if(this.iframeBlockShown)return;this.iframeBlockShown=!0;break;case d.i.RELOAD:return void this.ReloadComponent()}this.RenderUIContainer(e)}}async recheckIframeBlock(){if(this.iframeBlockShown)return;if(await o.a.anyBlockedIframes()){if(this.iframeBlockShown)return;this.iframeBlockShown=!0,this.RenderUIContainer({subcommand:d.i.IFRAME_BLOCK,componentData:{iframeBlockData:{}}})}}async sidebarAutoMessage(){if(await a.shouldShowSMANotification(document.location.href)){const e=1,t={identifier:g.e.BROWSER_BADGE_UPDATE,count:e.toString()};p.a.handle(t),o.a.updateBrowserAction({bounce:!0,priority:h.e.SMA})}}async RenderUIContainer(e){const{subcommand:t,componentData:n}=e,i=this.componentMap[t];if(!i)return;const{template:r,Component:o,loadAsBaseTemplate:s=!1}=i;if(!await this.sidebarContainer.init(r,n,this.isForegroundPage,s))return;const a=new o(n,this.sidebarContainer,this.isForegroundPage);a.init(),this.savedComponentDetails={instance:a,...i}}async ReloadComponent(){const{template:e,componentData:t,Component:n}=this.savedComponentDetails;await this.sidebarContainer.reloadContainer(e,!1),new n(t,this.sidebarContainer,this.isForegroundPage).init()}}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));n(39);var i=n(10),r=n(3),o=n(35);class s{constructor(){this.strConvertor=null,this.sidebarUIHandler=null,this.isForeground=!0}init(){this.strConvertor=new i.a(null),this.strConvertor.init(),this.sidebarUIHandler=new o.a}processMessage(e,t){this.sidebarUIHandler.processMessage({subcommand:e,componentData:t},this.isForeground)}initMessageListener(){r.a.runtime.onMessage.addListener((e,t)=>{if(t.id!==r.a.runtime.id)return;const{payload:n}=e;n&&this.sidebarUIHandler.processMessage(n,this.isForeground)})}}},function(e,t,n){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var i=n(1),r=n(38);class o extends r.a{start(){this.init(),this.processMessage(i.i.MAIN,{sidebarMainData:{}}),this.initMessageListener()}}(new o).start()}]);
//# sourceMappingURL=../sourceMap/chrome/foreground_sidebar_main.map