1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`829619`}}catch{}})();import{D as e,E as t,S as n,_ as r,g as i,h as a,m as o,p as s,y as c}from"./history.BTnQtFIA.chunk.js";import{t as l}from"./isEqual.Bf8tE7r_.chunk.js";import{t as u}from"./innerFrom.DKuKrSbC.chunk.js";import{a as d,l as f,n as p,o as m,r as h,s as g,t as _}from"./authUserStream.Di02ohQL.chunk.js";import{t as v}from"./eventEmitter.BuhOyG0i.chunk.js";function y(e){return t(function(t,i){var a=[];return t.subscribe(r(i,function(e){return a.push(e)},function(){i.next(a),i.complete()})),u(e).subscribe(r(i,function(){var e=a;a=[],i.next(e)},n)),function(){a=null}})}function b(e,t,n,i,a,o,s,c){var l=[],d=0,f=0,p=!1,m=function(){p&&!l.length&&!d&&t.complete()},h=function(e){return d<i?_(e):l.push(e)},_=function(e){o&&t.next(e),d++;var c=!1;u(n(e,f++)).subscribe(r(t,function(e){a?.(e),o?h(e):t.next(e)},function(){c=!0},void 0,function(){if(c)try{d--;for(var e=function(){var e=l.shift();s?g(t,s,function(){return _(e)}):_(e)};l.length&&d<i;)e();m()}catch(e){t.error(e)}}))};return e.subscribe(r(t,h,function(){p=!0,m()})),function(){c?.()}}function x(n,r,i){return i===void 0&&(i=1/0),e(r)?x(function(e,t){return d(function(n,i){return r(e,n,t,i)})(u(n(e,t)))},i):(typeof r==`number`&&(i=r),t(function(e,t){return b(e,t,n,i)}))}function S(e){return e===void 0&&(e=1/0),x(c,e)}function C(){return S(1)}function w(){var e=[...arguments];return C()(m(e,f(e)))}function T(){return t(function(e,t){var n,i=!1;e.subscribe(r(t,function(e){var r=n;n=e,i&&t.next([r,e]),i=!0}))})}var E=[`analytics`,`advertising`,`functional`],D=[],O=()=>D,k=e=>D.find(t=>t.key===e),A=()=>E,j=e=>{D.push(e)},M=(e,t,n)=>!(e.feature_flag&&!N(e.feature_flag,t)||e.hasPermission&&!e.hasPermission(n||void 0));function N(e,t){return t.attributes.settings[e]?.allowed&&t.attributes.settings[e]?.enabled}var P=new i,F=new i,I=new i,L=v.observeEvent(`destinationConsentChanged`).pipe(o(l)),R=e=>h([L,p,_]).pipe(s(([t,n,r])=>{if(n){let i=k(e);return t.eventValue[e]&&(!i||M(i,n.data,r?.data))}})),z=(e,t)=>w(t.pipe(y(R(e)),a(1),S()),t),B=e=>h([L,p,_]).pipe(d(([t,n,r])=>{let i=k(e);return t.eventValue[e]&&n&&(!i||M(i,n.data,r?.data))}),T(),s(([e,t])=>e&&!t));function V(e){return{tenantId:e&&e.id,tenantName:e&&e.attributes.name,tenantHost:e&&e.attributes.host,tenantOrganizationType:e&&e.attributes.settings.core.organization_type,tenantLifecycleStage:e&&e.attributes.settings.core.lifecycle_stage}}function H(e,t={}){F.next({properties:t,path:e})}function U(e){I.next(e)}function W(e,t={}){P.next({properties:t,name:e})}export{w as _,B as a,H as c,A as d,k as f,T as g,j as h,F as i,U as l,M as m,P as n,V as o,O as p,R as r,W as s,z as t,I as u,x as v}; 2//# sourceMappingURL=analytics.2PV13rNm.chunk.js.map
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.