if (window && window.DD_RUM) { window.DD_RUM.init({ clientToken: 'pube7d8f53ac3c9217ab7b53a3e960935c1', applicationId: 'e252f82c-ba52-4d13-aff8-c7bfa34e735a', site: 'datadoghq.com', service: 'vimeo-next', env: window.location.host === 'master.ci.vimeows.com' ? 'staging' : 'production', version: 'undefined', sessionSampleRate: 100, sessionReplaySampleRate: 0, trackUserInteractions: true, trackResources: true, trackLongTasks: true, defaultPrivacyLevel: 'mask-user-input', trackViewsManually: false, usePartitionedCrossSiteSessionCookie: true, beforeSend: t=>{if("error"!==t.type)return!0;for(let e of[/Uncaught "ResizeObserver loop completed with undelivered notifications."/,/Script error./,/Cannot read (.+) of null (.+)/,/null is not an object \(evaluating 'n.content'\)/,/.*Cannot create property '(.+)' on string '(.+)'.*/])if(t.error&&t.error.message&&t.error.message.match(e))return!1;return!0}, allowedTracingUrls: [(urlString) => { const url = new URL(urlString); const hostname = url.hostname; return hostname.endsWith('api.vimeo.dev') || hostname.endsWith('api.ci.vimeows.com') || hostname.endsWith('api.vimeo.com'); }], traceSampleRate: 1, traceContextInjection: 'sampled' }); }