PageSourceSearch

https://cdn2.umnico.com/production/landing-nuxt/_nuxt/DvXj1taW.js

js umnico.com collected 2026-10-01 11:36:15 UTC 2,609 bytes, 1 lines download raw bytes

1import{e as c,P as h,R as m,ae as _,k as g,h as s,C as p,B as W,j as f,N as l,o as r,Y as w,_ as L}from"./BzPfCV2i.js";import{g as b}from"./DH3WXvuO.js";/* empty css        */const v={name:"WidgetLoader",data(){const t=_().public;return{showFacade:!0,isWidgetLoading:!1,hash:null,widgetRootUrl:t.widgetRootUrl||"",feedbackWidgetHash:t.feedbackWidgetHash||"",landingWidgetHash:t.landingWidgetHash||t.feedbackWidgetHash||"",landingWidgetStyle:"background-color: rgb(255, 84, 84); color: white",feedbackWidgetStyle:"background-color: rgb(16, 140, 255); color: white"}},computed:{isLandingWidgetActive(){return!this.isHelpCenterRoute()}},mounted(){if(window.__PRERENDER_INJECTED__)return;document.umnicoFeedbackWidgetHash=this.feedbackWidgetHash,document.umnicoLandingWidgetHash=this.landingWidgetHash,document.umnicoWidgetUrl=this.widgetRootUrl,this.hash=this.isHelpCenterRoute()?document.umnicoFeedbackWidgetHash:document.umnicoLandingWidgetHash;const t=new MutationObserver(e=>{e.forEach(n=>{n.addedNodes.forEach(a=>{a.id==="umnico-widget-wrapper"&&(this.show
1Facade=!1,t.disconnect())})})});t.observe(document.body,{childList:!0})},methods:{normalizePath(t){return String(t||"").replace(/^\/+|\/+$/g,"")},isHelpCenterRoute(){const t=this.normalizePath(b(this._.provides[h]||this.$route)),e=this.normalizePath(m.HELP_CENTER.path);return t===e||t.startsWith(`${e}/`)},onLoad(){this.isWidgetLoading||(this.isWidgetLoading=!0,this.initWidget())},initWidget(){const{umnicoWidgetUrl:t}=document;if(!t||!this.hash){this.isWidgetLoading=!1;return}window.__UMNICO_WIDGET_LOAD_NOW__=!0,document.umnicoWidgetHash=this.hash;const e=document.createElement("script");e.src=`${t.replace(/\/$/,"")}/assets/widget-loader.js`,e.async=!0,document.body.appendChild(e)}}};function k(t,e,n,a,d,i){return d.showFacade?(l(),g("div",{key:0,id:"umnico-widget-loader",class:"facade-widget facade-widget__container",onMouseover:e[0]||(e[0]=(...o)=>i.onLoad&&i.onLoad(...o)),onMousemove:e[1]||(e[1]=(...o)=>i.onLoad&&i.onLoad(...o)),onClick:e[2]||(e[2]=(...o)=>i.onLoad&&i.onLoad(...o))},[s("div",{class:W(["facade-widget__preview-block",{"facade-widget__preview-block--hide":!d.showFacade}])},[s("div",{class:"facade-widget__preview-main",style:p(i.isLandingWidgetActive?d.landingWidgetStyle:d.feedbackWidgetStyle)},[...e[3]||(e[3]=[s("div",{class:"facade-widget__preview-icon"},null,-1)])],4)],2)],32)):f("",!0)}const H=c(v,[["render",k]]),C={name:"HelpCenterLayout",components:{WidgetLoader:H}};function E(t,e,n,a,d,i){const o=L,u=w("WidgetLoader");return l(),g("div",null,[r(o),r(u)])}const P=c(C,[["render",E]]);export{P as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.