()
| 395 | }; |
| 396 | |
| 397 | const QuoraTracking = (): ReactElement => { |
| 398 | return ( |
| 399 | <> |
| 400 | <Script |
| 401 | id="quora-pixel" |
| 402 | strategy="afterInteractive" |
| 403 | data-quora-id={QUORA_TRACKING_ID} |
| 404 | > |
| 405 | {`(function() { |
| 406 | const QUORA_PIXEL_ID = document.currentScript.getAttribute('data-quora-id'); |
| 407 | |
| 408 | function initializeQuoraPixel(q, e, v, n, t, s) { |
| 409 | if (q.qp) return; |
| 410 | n = q.qp = function() { |
| 411 | n.qp ? n.qp.apply(n, arguments) : n.queue.push(arguments); |
| 412 | }; |
| 413 | n.queue = []; |
| 414 | t = document.createElement(e); |
| 415 | t.async = !0; |
| 416 | t.src = v; |
| 417 | s = document.getElementsByTagName(e)[0]; |
| 418 | s.parentNode.insertBefore(t, s); |
| 419 | } |
| 420 | |
| 421 | initializeQuoraPixel( |
| 422 | window, |
| 423 | 'script', |
| 424 | 'https://a.quora.com/qevents.js', |
| 425 | ); |
| 426 | |
| 427 | window.qp('init', QUORA_PIXEL_ID); |
| 428 | |
| 429 | window.qp('track', 'ViewContent'); |
| 430 | })(); |
| 431 | `} |
| 432 | </Script> |
| 433 | <noscript> |
| 434 | <img |
| 435 | alt="Quora Pixel" |
| 436 | height="1" |
| 437 | width="1" |
| 438 | style={{ display: 'none' }} |
| 439 | src={`https://q.quora.com/_/ad/${QUORA_TRACKING_ID}/pixel?tag=ViewContent&noscript=1`} |
| 440 | /> |
| 441 | </noscript> |
| 442 | </> |
| 443 | ); |
| 444 | }; |
| 445 | |
| 446 | export const EXPERIENCE_TO_SENIORITY: Record< |
| 447 | keyof typeof UserExperienceLevel, |
nothing calls this directly
no outgoing calls
no test coverage detected