1"use strict";(self.webpackChunkhost=self.webpackChunkhost||[]).push([[9207],{79207:(e,n,t)=>{t.r(n),t.d(n,{AppInsights:()=>d});var o=t(77285),a=t(13569),s=t(50132),i=t(8806),r=t(99296),c=t(91516),l=t(52322);const g=["ads.linkedin.com","clarity.ms","facebook.com","facebook.net","googletagmanager.com","analytics.google.com","bing.com","snap.licdn.com","heapanalytics.com","127.0.0.1","chat.allica.bank","consentcdn.cookiebot.com","api.privacy-protector-adblocker.com","google-analytics.com"],d=({children:e,mfe:n,roleInstance:t})=>{const{insightsConnectionString:d}=(0,c.useConfigurationContext)(),{data:u}=(0,a.useUserProfileQuery)(),p=(0,o.useMemo)((()=>new i.ReactPlugin),[]),m=d;return(0,o.useEffect)((()=>{const e=new s.ApplicationInsights({config:{connectionString:m,enableAutoRouteTracking:!0,autoTrackPageVisitTime:!0,enableRequestHeaderTracking:!0,enableResponseHeaderTracking:!0,extensions:[p],disableTelemetry:!1}});return e.loadAppInsights(),u&&e.setAuthenticatedUserContext(u.id),e.addTelemetryInitializer((e=>{const o=null==e?void 0:e.baseData;return e.tags=e.tags||[],e.tags["ai.cloud.role"]=`online-banking-${n}-swa-${t}`,e.tags["ai.cloud.roleInstance"]=t,e.tags["ai.session.id"]=(()=>{let e=sessionStorage.getItem("X-Session-Id");return(!e||e&&e.length>30)&&(e=Math.random().toString(36).substring(2)+"I"+(new Date).toISOString().replace(/\D/g,""),sessionStorage.setItem("X-Session-Id",e)),e})(),e.name!==s.RemoteDependencyData.envelopeType||null==o||!o.name||!new RegExp(g.join("|")).test(null==o?void 0:o.name)})),()=>{e.unload()}}),[m,n,p,t,u]),(0,l.jsx)(i.AppInsightsContext.Provider,{value:p,children:(0,l.jsx)(i.AppInsightsErrorBoundary,{appInsights:p,onError:r.PageError,children:e})})}}}]);
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.