Server : Apache/2.4.43 (Win64) OpenSSL/1.1.1g PHP/7.4.6 System : Windows NT USER-PC 6.1 build 7601 (Windows 7 Professional Edition Service Pack 1) AMD64 User : User ( 0) PHP Version : 7.4.6 Disable Function : NONE Directory : C:/Program Files/Avast Software/Avast/gui_resources/1.0.663/ |
//{"name":"Recommendations","version":"1.2.338","created":"2021-09-06T10:53:07.361Z"} import e from"./ractive.js";import{Router as t}from"./libs.js";import{nls as o}from"./i18n.js";import{serviceRequest as r}from"./napi.js";const s=e.extend({template:{v:3,t:[{t:4,f:[{t:4,f:[{t:7,e:"Ipm",a:{id:[{t:2,r:"IPM_ELM"}]}}],n:50,r:"ipmFullpage"},{t:4,n:51,f:[{t:7,e:"div",a:{class:"color-security -bg nui_page"},f:[{t:4,f:[{t:7,e:"Header",a:{customBreadcrumbs:[{t:2,r:"customBreadcrumbs"}]}}],n:50,r:"customBreadcrumbs.length"}," ",{t:7,e:"section",a:{class:"nui_page__flex"},f:[{t:4,f:[{t:7,e:"Ipm",a:{id:[{t:2,r:"IPM_ELM"}]}}],n:50,r:"IPM_ELM"}]}]}],r:"ipmFullpage"}],n:50,x:{r:["ipmFullpage"],s:"_0!==null"}}]},router:new t,data:()=>({IPM_ELM:null,ipmLoaded:!1,customBreadcrumbs:[],ipmFullpage:null}),onrender(){function e(e){this.set({IPM_ELM:e?285:359,ipmFullpage:e}),this.ipmCompo=this.findComponent("Ipm"),this.ipmCompo.on("success",(()=>{this.set("ipmLoaded",!0),this.ipmCompo.fire("route",location.hash.toLowerCase().replace("#",""))}))}this.router.on("/*",(e=>{const t=[{title:o("earn.rewards"),url:"#Recommendations"}];"terms"===e.wildcard&&t.push({title:o("terms.and.conditions"),url:"#Recommendations/terms"}),this.set("customBreadcrumbs",t),this.ipmLoaded&&this.ipmCompo.fire("route",location.hash.toLowerCase().replace("#",""))})),r("app.settings.Get","avdef://config/GuiCache/IpmRewardsMore").then((t=>{e.call(this,Boolean(t))})).catch((t=>{e.call(this,!1)}))},onteardown(){this.router.removeAllListeners()}});export default s;const a={name:"Recommendations",version:"1.2.338",created:"2021-09-06T10:53:07.361Z"};export{a as metadata};