@elliemae/pui-logrocket 1.1.15 → 1.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/docs/404.html +2 -2
- package/build/docs/api/functions/buildLogRocketQueryParams/index.html +2 -2
- package/build/docs/api/functions/hasUserConsentedToSessionRecording/index.html +3 -3
- package/build/docs/api/functions/initLogRocket/index.html +2 -2
- package/build/docs/api/index.html +2 -2
- package/build/docs/api/type-aliases/LROptions/index.html +2 -2
- package/build/docs/api/variables/LogRocket/index.html +2 -2
- package/build/docs/assets/images/cookie-choices-3b92aafd30e6e586295ab6215b5b177c.png +0 -0
- package/build/docs/assets/js/{04ee7372.ce5efa70.js → 04ee7372.b9517d64.js} +1 -1
- package/build/docs/assets/js/{211c08f1.d133fc82.js → 211c08f1.da35d82d.js} +1 -1
- package/build/docs/assets/js/e376fc56.b068d96b.js +1 -0
- package/build/docs/assets/js/{main.2b591930.js → main.df60512c.js} +2 -2
- package/build/docs/assets/js/{runtime~main.9d15ff5d.js → runtime~main.430abecc.js} +1 -1
- package/build/docs/compliance/index.html +8 -8
- package/build/docs/index.html +2 -2
- package/build/docs/usage-guide/index.html +5 -5
- package/dist/cjs/logrocket.js +1 -1
- package/dist/esm/logrocket.js +1 -1
- package/dist/public/index.html +1 -1
- package/dist/public/js/{emuiLogrocket.62c31029c170ae19a379.js → emuiLogrocket.dbc52447421309982993.js} +2 -2
- package/dist/public/js/emuiLogrocket.dbc52447421309982993.js.br +0 -0
- package/dist/public/js/{emuiLogrocket.62c31029c170ae19a379.js.gz → emuiLogrocket.dbc52447421309982993.js.gz} +0 -0
- package/dist/public/js/{emuiLogrocket.62c31029c170ae19a379.js.map → emuiLogrocket.dbc52447421309982993.js.map} +1 -1
- package/dist/public/test.js +1 -1
- package/dist/public/test.js.br +0 -0
- package/dist/public/test.js.gz +0 -0
- package/dist/public/test.js.map +1 -1
- package/dist/types/lib/logrocket.d.ts +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.br +0 -0
- package/dist/umd/index.js.gz +0 -0
- package/dist/umd/index.js.map +1 -1
- package/dist/umd/test.js +1 -1
- package/dist/umd/test.js.br +0 -0
- package/dist/umd/test.js.gz +0 -0
- package/dist/umd/test.js.map +1 -1
- package/package.json +1 -1
- package/build/docs/assets/images/cookie-choices-2714be2ea99c6797644dd14b05ba1093.png +0 -0
- package/build/docs/assets/js/e376fc56.f1721c2d.js +0 -1
- package/dist/public/js/emuiLogrocket.62c31029c170ae19a379.js.br +0 -0
- /package/build/docs/assets/js/{main.2b591930.js.LICENSE.txt → main.df60512c.js.LICENSE.txt} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e,a,r,t,o,c={},f={};function d(e){var a=f[e];if(void 0!==a)return a.exports;var r=f[e]={id:e,loaded:!1,exports:{}};return c[e].call(r.exports,r,r.exports,d),r.loaded=!0,r.exports}d.m=c,d.c=f,e=[],d.O=(a,r,t,o)=>{if(!r){var c=1/0;for(i=0;i<e.length;i++){for(var[r,t,o]=e[i],f=!0,n=0;n<r.length;n++)(!1&o||c>=o)&&Object.keys(d.O).every(e=>d.O[e](r[n]))?r.splice(n--,1):(f=!1,o<c&&(c=o));if(f){e.splice(i--,1);var b=t();void 0!==b&&(a=b)}}return a}o=o||0;for(var i=e.length;i>0&&e[i-1][2]>o;i--)e[i]=e[i-1];e[i]=[r,t,o]},d.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return d.d(a,{a:a}),a},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,d.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var o=Object.create(null);d.r(o);var c={};a=a||[null,r({}),r([]),r(r)];for(var f=2&t&&e;("object"==typeof f||"function"==typeof f)&&!~a.indexOf(f);f=r(f))Object.getOwnPropertyNames(f).forEach(a=>c[a]=()=>e[a]);return c.default=()=>e,d.d(o,c),o},d.d=(e,a)=>{for(var r in a)d.o(a,r)&&!d.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},d.f={},d.e=e=>Promise.all(Object.keys(d.f).reduce((a,r)=>(d.f[r](e,a),a),[])),d.u=e=>"assets/js/"+({295:"51c4ceb1",594:"5e8c322a",2076:"common",3361:"c377a04b",3365:"ed616b60",3480:"e376fc56",4319:"211c08f1",4804:"7fcbe1af",5742:"aba21aa0",5754:"acaa8c75",5760:"552a934f",5908:"04ee7372",7098:"a7bd4aaa",8401:"17896441",9048:"a94703ab",9647:"5e95c892"}[e]||e)+"."+{33:"26b2760e",295:"e88fb182",407:"1609258d",459:"0ef6028a",594:"86d2fc4a",638:"a490f71f",654:"d3bf8f92",967:"54c4bee1",1519:"382051d0",1653:"0f512a56",1784:"d8d3eb6f",1945:"f17ce4cb",1991:"7f866f21",2045:"1bebedee",2076:"783bea07",2776:"108cd80f",3038:"002397e7",3070:"7cbc892b",3361:"e8bab181",3365:"5ce87321",3480:"
|
|
1
|
+
(()=>{"use strict";var e,a,r,t,o,c={},f={};function d(e){var a=f[e];if(void 0!==a)return a.exports;var r=f[e]={id:e,loaded:!1,exports:{}};return c[e].call(r.exports,r,r.exports,d),r.loaded=!0,r.exports}d.m=c,d.c=f,e=[],d.O=(a,r,t,o)=>{if(!r){var c=1/0;for(i=0;i<e.length;i++){for(var[r,t,o]=e[i],f=!0,n=0;n<r.length;n++)(!1&o||c>=o)&&Object.keys(d.O).every(e=>d.O[e](r[n]))?r.splice(n--,1):(f=!1,o<c&&(c=o));if(f){e.splice(i--,1);var b=t();void 0!==b&&(a=b)}}return a}o=o||0;for(var i=e.length;i>0&&e[i-1][2]>o;i--)e[i]=e[i-1];e[i]=[r,t,o]},d.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return d.d(a,{a:a}),a},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,d.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var o=Object.create(null);d.r(o);var c={};a=a||[null,r({}),r([]),r(r)];for(var f=2&t&&e;("object"==typeof f||"function"==typeof f)&&!~a.indexOf(f);f=r(f))Object.getOwnPropertyNames(f).forEach(a=>c[a]=()=>e[a]);return c.default=()=>e,d.d(o,c),o},d.d=(e,a)=>{for(var r in a)d.o(a,r)&&!d.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},d.f={},d.e=e=>Promise.all(Object.keys(d.f).reduce((a,r)=>(d.f[r](e,a),a),[])),d.u=e=>"assets/js/"+({295:"51c4ceb1",594:"5e8c322a",2076:"common",3361:"c377a04b",3365:"ed616b60",3480:"e376fc56",4319:"211c08f1",4804:"7fcbe1af",5742:"aba21aa0",5754:"acaa8c75",5760:"552a934f",5908:"04ee7372",7098:"a7bd4aaa",8401:"17896441",9048:"a94703ab",9647:"5e95c892"}[e]||e)+"."+{33:"26b2760e",295:"e88fb182",407:"1609258d",459:"0ef6028a",594:"86d2fc4a",638:"a490f71f",654:"d3bf8f92",967:"54c4bee1",1519:"382051d0",1653:"0f512a56",1784:"d8d3eb6f",1945:"f17ce4cb",1991:"7f866f21",2045:"1bebedee",2076:"783bea07",2776:"108cd80f",3038:"002397e7",3070:"7cbc892b",3361:"e8bab181",3365:"5ce87321",3480:"b068d96b",3899:"9ba4046a",4319:"da35d82d",4362:"e67b3c91",4804:"57ab9f7e",4860:"aa45023e",4931:"0293910b",5122:"7fe63ad9",5621:"853372b8",5742:"c2c2f2c9",5754:"be91209b",5760:"61bd8d58",5820:"c04e4b12",5908:"b9517d64",6409:"6f06126b",6959:"110f49dd",7039:"0493dc3c",7098:"6aa43433",7299:"909bd2d8",7666:"f71add4d",7685:"feb9b2b8",7807:"9aa70b38",7860:"d45cb0c2",7868:"0076697f",7968:"92fc7d89",7997:"2ae474c8",8130:"4423e15c",8182:"16116f9a",8257:"8e164d61",8401:"6f8fb109",8587:"8653f695",8796:"163faa83",8907:"6cf12a5a",9048:"53aa43ca",9176:"d6ec3115",9647:"add994c9",9839:"6a9eb650"}[e]+".js",d.miniCssF=e=>{},d.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),t={},o="@elliemae/pui-logrocket:",d.l=(e,a,r,c)=>{if(t[e])t[e].push(a);else{var f,n;if(void 0!==r)for(var b=document.getElementsByTagName("script"),i=0;i<b.length;i++){var l=b[i];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==o+r){f=l;break}}f||(n=!0,(f=document.createElement("script")).charset="utf-8",d.nc&&f.setAttribute("nonce",d.nc),f.setAttribute("data-webpack",o+r),f.src=e),t[e]=[a];var u=(a,r)=>{f.onerror=f.onload=null,clearTimeout(s);var o=t[e];if(delete t[e],f.parentNode&&f.parentNode.removeChild(f),o&&o.forEach(e=>e(r)),a)return a(r)},s=setTimeout(u.bind(null,void 0,{type:"timeout",target:f}),12e4);f.onerror=u.bind(null,f.onerror),f.onload=u.bind(null,f.onload),n&&document.head.appendChild(f)}},d.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.p="/logrocket/",d.gca=function(e){return e={17896441:"8401","51c4ceb1":"295","5e8c322a":"594",common:"2076",c377a04b:"3361",ed616b60:"3365",e376fc56:"3480","211c08f1":"4319","7fcbe1af":"4804",aba21aa0:"5742",acaa8c75:"5754","552a934f":"5760","04ee7372":"5908",a7bd4aaa:"7098",a94703ab:"9048","5e95c892":"9647"}[e]||e,d.p+d.u(e)},(()=>{var e={5354:0,1869:0};d.f.j=(a,r)=>{var t=d.o(e,a)?e[a]:void 0;if(0!==t)if(t)r.push(t[2]);else if(/^(1869|5354)$/.test(a))e[a]=0;else{var o=new Promise((r,o)=>t=e[a]=[r,o]);r.push(t[2]=o);var c=d.p+d.u(a),f=new Error;d.l(c,r=>{if(d.o(e,a)&&(0!==(t=e[a])&&(e[a]=void 0),t)){var o=r&&("load"===r.type?"missing":r.type),c=r&&r.target&&r.target.src;f.message="Loading chunk "+a+" failed.\n("+o+": "+c+")",f.name="ChunkLoadError",f.type=o,f.request=c,t[1](f)}},"chunk-"+a,a)}},d.O.j=a=>0===e[a];var a=(a,r)=>{var t,o,[c,f,n]=r,b=0;if(c.some(a=>0!==e[a])){for(t in f)d.o(f,t)&&(d.m[t]=f[t]);if(n)var i=n(d)}for(a&&a(r);b<c.length;b++)o=c[b],d.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return d.O(i)},r=globalThis.webpackChunk_elliemae_pui_logrocket=globalThis.webpackChunk_elliemae_pui_logrocket||[];r.forEach(a.bind(null,0)),r.push=a.bind(null,r.push.bind(r))})()})();
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
5
|
<meta name="generator" content="Docusaurus v3.9.2">
|
|
6
6
|
<title data-rh="true">Compliance Requirements | LogRocket</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:url" content="https://pui.ice.com/logrocket/compliance"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="Compliance Requirements | LogRocket"><meta data-rh="true" name="description" content="Due to wiretapping & privacy laws in certain jurisdictions, it is essential to ensure that our session recording practices comply with local regulations. Below are the key compliance requirements we need to adhere to when using LogRocket for recording user sessions and activities,"><meta data-rh="true" property="og:description" content="Due to wiretapping & privacy laws in certain jurisdictions, it is essential to ensure that our session recording practices comply with local regulations. Below are the key compliance requirements we need to adhere to when using LogRocket for recording user sessions and activities,"><link data-rh="true" rel="icon" href="/logrocket/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://pui.ice.com/logrocket/compliance"><link data-rh="true" rel="alternate" href="https://pui.ice.com/logrocket/compliance" hreflang="en"><link data-rh="true" rel="alternate" href="https://pui.ice.com/logrocket/compliance" hreflang="x-default"><script data-rh="true" type="application/ld+json">{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Compliance Requirements","item":"https://pui.ice.com/logrocket/compliance"}]}</script><link rel="stylesheet" href="/logrocket/assets/css/styles.48d5ef50.css">
|
|
7
|
-
<script src="/logrocket/assets/js/runtime~main.
|
|
8
|
-
<script src="/logrocket/assets/js/main.
|
|
7
|
+
<script src="/logrocket/assets/js/runtime~main.430abecc.js" defer="defer"></script>
|
|
8
|
+
<script src="/logrocket/assets/js/main.df60512c.js" defer="defer"></script>
|
|
9
9
|
</head>
|
|
10
10
|
<body class="navigation-with-keyboard">
|
|
11
11
|
<svg style="display: none;"><defs>
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
<h2 class="anchor anchorTargetStickyNavbar_UXZL" id="key-requirements">Key Requirements<a href="#key-requirements" class="hash-link" aria-label="Direct link to Key Requirements" title="Direct link to Key Requirements" translate="no"></a></h2>
|
|
23
23
|
<h3 class="anchor anchorTargetStickyNavbar_UXZL" id="application-types">Application Types<a href="#application-types" class="hash-link" aria-label="Direct link to Application Types" title="Direct link to Application Types" translate="no"></a></h3>
|
|
24
24
|
<p>LogRocket session recording requirements differ based on the application type:</p>
|
|
25
|
-
<table><thead><tr><th>Aspect</th><th>Borrower-Facing (e.g., ECC)</th><th>Non-Borrower-Facing (e.g., EncompassWeb, TPO)</th></tr></thead><tbody><tr><td><strong>OneTrust Banner</strong></td><td>For obtaining user consent</td><td>For transparency/disclosure only</td></tr><tr><td><strong>Consent Required</strong></td><td>Yes - C0002 (init),
|
|
25
|
+
<table><thead><tr><th>Aspect</th><th>Borrower-Facing (e.g., ECC)</th><th>Non-Borrower-Facing (e.g., EncompassWeb, TPO)</th></tr></thead><tbody><tr><td><strong>OneTrust Banner</strong></td><td>For obtaining user consent</td><td>For transparency/disclosure only</td></tr><tr><td><strong>Consent Required</strong></td><td>Yes - C0002 (init), C0003 (recording)</td><td>No - shown for informational purposes</td></tr><tr><td><strong>Session Recording</strong></td><td>Enabled only with C0003 consent</td><td>Always enabled by default</td></tr><tr><td><strong>User Opt-Out</strong></td><td>✅ Can opt-out via OneTrust</td><td>❌ Cannot opt-out</td></tr><tr><td><strong>Target Users</strong></td><td>Consumers/borrowers</td><td>Professional/business users</td></tr></tbody></table>
|
|
26
26
|
<p><strong>Rationale for non-borrower-facing</strong>: Professional applications require continuous session recording for technical troubleshooting, security monitoring, user experience optimization, and compliance requirements.</p>
|
|
27
27
|
<h3 class="anchor anchorTargetStickyNavbar_UXZL" id="consent-matrix-borrower-facing-applications">Consent Matrix (Borrower-Facing Applications)<a href="#consent-matrix-borrower-facing-applications" class="hash-link" aria-label="Direct link to Consent Matrix (Borrower-Facing Applications)" title="Direct link to Consent Matrix (Borrower-Facing Applications)" translate="no"></a></h3>
|
|
28
|
-
<table><thead><tr><th>Feature</th><th>With C0002 Only</th><th>With C0002 +
|
|
28
|
+
<table><thead><tr><th>Feature</th><th>With C0002 Only</th><th>With C0002 + C0003</th><th>Without C0002</th></tr></thead><tbody><tr><td>LogRocket Init</td><td>✅ Initialized</td><td>✅ Initialized</td><td>❌ Not Initialized</td></tr><tr><td>Session Recording (DOM)</td><td>❌ Disabled</td><td>✅ Enabled</td><td>❌ Not Available</td></tr><tr><td>Visual Replay</td><td>❌ Not Available</td><td>✅ Available</td><td>❌ Not Available</td></tr><tr><td>Mouse Movements</td><td>❌ Not Captured</td><td>✅ Captured</td><td>❌ Not Captured</td></tr><tr><td>Clicks & Interactions</td><td>❌ Not Captured</td><td>✅ Captured</td><td>❌ Not Captured</td></tr><tr><td>Page Changes</td><td>❌ Not Captured</td><td>✅ Captured</td><td>❌ Not Captured</td></tr><tr><td>Network Requests</td><td>✅ Captured</td><td>✅ Captured</td><td>❌ Not Captured</td></tr><tr><td>Console Logs</td><td>✅ Captured</td><td>✅ Captured</td><td>❌ Not Captured</td></tr><tr><td>JavaScript Errors</td><td>✅ Captured</td><td>✅ Captured</td><td>❌ Not Captured</td></tr><tr><td>Performance Metrics</td><td>✅ Captured</td><td>✅ Captured</td><td>❌ Not Captured</td></tr><tr><td>Custom Events</td><td>✅ Captured</td><td>✅ Captured</td><td>❌ Not Captured</td></tr></tbody></table>
|
|
29
29
|
<ol>
|
|
30
30
|
<li class="">
|
|
31
31
|
<p><strong>Data Minimization</strong>: Only log data that is necessary for the intended purpose.</p>
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
<p>Sample OneTrust based cookie banner</p>
|
|
53
53
|
<p><img decoding="async" loading="lazy" alt="Cookie Banner" src="/logrocket/assets/images/cookie-banner-44da75a3249d0545c24f9b735d2fa068.png" width="1912" height="1007" class="img_moYf"></p>
|
|
54
54
|
<p>Sample Cookie Choices
|
|
55
|
-
<img decoding="async" loading="lazy" alt="Cookie Choices" src="/logrocket/assets/images/cookie-choices-
|
|
55
|
+
<img decoding="async" loading="lazy" alt="Cookie Choices" src="/logrocket/assets/images/cookie-choices-3b92aafd30e6e586295ab6215b5b177c.png" width="448" height="926" class="img_moYf"></p>
|
|
56
56
|
<h4 class="anchor anchorTargetStickyNavbar_UXZL" id="user-journey-first-visit-no-prior-consent">User Journey: First Visit (No Prior Consent)<a href="#user-journey-first-visit-no-prior-consent" class="hash-link" aria-label="Direct link to User Journey: First Visit (No Prior Consent)" title="Direct link to User Journey: First Visit (No Prior Consent)" translate="no"></a></h4>
|
|
57
57
|
<!-- -->
|
|
58
58
|
<h4 class="anchor anchorTargetStickyNavbar_UXZL" id="user-journey-returning-visit-consent-previously-given">User Journey: Returning Visit (Consent Previously Given)<a href="#user-journey-returning-visit-consent-previously-given" class="hash-link" aria-label="Direct link to User Journey: Returning Visit (Consent Previously Given)" title="Direct link to User Journey: Returning Visit (Consent Previously Given)" translate="no"></a></h4>
|
|
@@ -149,14 +149,14 @@
|
|
|
149
149
|
<h3 class="anchor anchorTargetStickyNavbar_UXZL" id="borrower-facing-specific-eg-ecc">Borrower-Facing Specific (e.g., ECC)<a href="#borrower-facing-specific-eg-ecc" class="hash-link" aria-label="Direct link to Borrower-Facing Specific (e.g., ECC)" title="Direct link to Borrower-Facing Specific (e.g., ECC)" translate="no"></a></h3>
|
|
150
150
|
<ul class="contains-task-list containsTaskList_IbxC">
|
|
151
151
|
<li class="task-list-item"><input type="checkbox" disabled=""> <!-- -->Confirmed application is borrower-facing (consumer-facing)</li>
|
|
152
|
-
<li class="task-list-item"><input type="checkbox" disabled=""> <!-- -->OneTrust integration configured with C0002 and
|
|
152
|
+
<li class="task-list-item"><input type="checkbox" disabled=""> <!-- -->OneTrust integration configured with C0002 and C0003 for consent control</li>
|
|
153
153
|
<li class="task-list-item"><input type="checkbox" disabled=""> <!-- -->Verified OneTrust banner obtains user consent</li>
|
|
154
154
|
<li class="task-list-item"><input type="checkbox" disabled=""> <!-- -->Verified C0002 required for LogRocket initialization</li>
|
|
155
|
-
<li class="task-list-item"><input type="checkbox" disabled=""> <!-- -->Verified
|
|
155
|
+
<li class="task-list-item"><input type="checkbox" disabled=""> <!-- -->Verified C0003 required for session recording (DOM capture)</li>
|
|
156
156
|
<li class="task-list-item"><input type="checkbox" disabled=""> <!-- -->Verified users can opt-out via OneTrust cookie preferences</li>
|
|
157
157
|
<li class="task-list-item"><input type="checkbox" disabled=""> <!-- -->User consent flows tested (accept, decline, change preferences)</li>
|
|
158
158
|
<li class="task-list-item"><input type="checkbox" disabled=""> <!-- -->Verified LogRocket does NOT initialize without C0002</li>
|
|
159
|
-
<li class="task-list-item"><input type="checkbox" disabled=""> <!-- -->Verified LogRocket initializes with C0002 but disables DOM without
|
|
159
|
+
<li class="task-list-item"><input type="checkbox" disabled=""> <!-- -->Verified LogRocket initializes with C0002 but disables DOM without C0003</li>
|
|
160
160
|
</ul>
|
|
161
161
|
<h3 class="anchor anchorTargetStickyNavbar_UXZL" id="non-borrower-facing-specific-eg-encompassweb-tpo">Non-Borrower-Facing Specific (e.g., EncompassWeb, TPO)<a href="#non-borrower-facing-specific-eg-encompassweb-tpo" class="hash-link" aria-label="Direct link to Non-Borrower-Facing Specific (e.g., EncompassWeb, TPO)" title="Direct link to Non-Borrower-Facing Specific (e.g., EncompassWeb, TPO)" translate="no"></a></h3>
|
|
162
162
|
<ul class="contains-task-list containsTaskList_IbxC">
|
package/build/docs/index.html
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
5
|
<meta name="generator" content="Docusaurus v3.9.2">
|
|
6
6
|
<title data-rh="true">Getting Started | LogRocket</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:url" content="https://pui.ice.com/logrocket/"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="Getting Started | LogRocket"><meta data-rh="true" name="description" content="UI Platform LogRocket library standardizes the way we integrate LogRocket into our applications."><meta data-rh="true" property="og:description" content="UI Platform LogRocket library standardizes the way we integrate LogRocket into our applications."><link data-rh="true" rel="icon" href="/logrocket/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://pui.ice.com/logrocket/"><link data-rh="true" rel="alternate" href="https://pui.ice.com/logrocket/" hreflang="en"><link data-rh="true" rel="alternate" href="https://pui.ice.com/logrocket/" hreflang="x-default"><script data-rh="true">function insertBanner(){var n=document.createElement("div");n.id="__docusaurus-base-url-issue-banner-container";n.innerHTML='\n<div id="__docusaurus-base-url-issue-banner" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">/logrocket/</span> </p>\n <p>We suggest trying baseUrl = <span id="__docusaurus-base-url-issue-banner-suggestion-container" style="font-weight: bold; color: green;"></span></p>\n</div>\n',document.body.prepend(n);var e=document.getElementById("__docusaurus-base-url-issue-banner-suggestion-container"),o=window.location.pathname,s="/"===o.substr(-1)?o:o+"/";e.innerHTML=s}document.addEventListener("DOMContentLoaded",function(){void 0===window.docusaurus&&insertBanner()})</script><script data-rh="true" type="application/ld+json">{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Getting Started","item":"https://pui.ice.com/logrocket/"}]}</script><link rel="stylesheet" href="/logrocket/assets/css/styles.48d5ef50.css">
|
|
7
|
-
<script src="/logrocket/assets/js/runtime~main.
|
|
8
|
-
<script src="/logrocket/assets/js/main.
|
|
7
|
+
<script src="/logrocket/assets/js/runtime~main.430abecc.js" defer="defer"></script>
|
|
8
|
+
<script src="/logrocket/assets/js/main.df60512c.js" defer="defer"></script>
|
|
9
9
|
</head>
|
|
10
10
|
<body class="navigation-with-keyboard">
|
|
11
11
|
<svg style="display: none;"><defs>
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
5
|
<meta name="generator" content="Docusaurus v3.9.2">
|
|
6
6
|
<title data-rh="true">Usage Guide | LogRocket</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:url" content="https://pui.ice.com/logrocket/usage-guide"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="Usage Guide | LogRocket"><meta data-rh="true" name="description" content="UI Platform LogRocket library standardizes the way we integrate LogRocket into our applications."><meta data-rh="true" property="og:description" content="UI Platform LogRocket library standardizes the way we integrate LogRocket into our applications."><link data-rh="true" rel="icon" href="/logrocket/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://pui.ice.com/logrocket/usage-guide"><link data-rh="true" rel="alternate" href="https://pui.ice.com/logrocket/usage-guide" hreflang="en"><link data-rh="true" rel="alternate" href="https://pui.ice.com/logrocket/usage-guide" hreflang="x-default"><script data-rh="true" type="application/ld+json">{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Usage Guide","item":"https://pui.ice.com/logrocket/usage-guide"}]}</script><link rel="stylesheet" href="/logrocket/assets/css/styles.48d5ef50.css">
|
|
7
|
-
<script src="/logrocket/assets/js/runtime~main.
|
|
8
|
-
<script src="/logrocket/assets/js/main.
|
|
7
|
+
<script src="/logrocket/assets/js/runtime~main.430abecc.js" defer="defer"></script>
|
|
8
|
+
<script src="/logrocket/assets/js/main.df60512c.js" defer="defer"></script>
|
|
9
9
|
</head>
|
|
10
10
|
<body class="navigation-with-keyboard">
|
|
11
11
|
<svg style="display: none;"><defs>
|
|
@@ -58,9 +58,9 @@
|
|
|
58
58
|
</ul>
|
|
59
59
|
</li>
|
|
60
60
|
<li class="">
|
|
61
|
-
<p><strong>Session Recording (
|
|
61
|
+
<p><strong>Session Recording (C0003 - Functional Cookies)</strong>: Controls whether DOM recording is enabled</p>
|
|
62
62
|
<ul>
|
|
63
|
-
<li class="">If
|
|
63
|
+
<li class="">If C0003 is not granted, LogRocket still captures technical data but disables visual session recording</li>
|
|
64
64
|
<li class="">Technical data includes: network requests, console logs, JavaScript errors, performance metrics, and custom events</li>
|
|
65
65
|
</ul>
|
|
66
66
|
</li>
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
<p>This also allows interoperable child micro applications to work with different parent micro application (Encompass, TPO etc.,) without requiring any hardcoded LogRocket configuration in the child micro applications.</p>
|
|
84
84
|
<p><code>buildLogRocketQueryParams</code> function generates URL query parameters that contain following information to share with child micro applications as part of the iframe URL:</p>
|
|
85
85
|
<ul>
|
|
86
|
-
<li class=""><strong><code>analyticsConsent</code></strong>: Set to <code>'true'</code> if user has consented to
|
|
86
|
+
<li class=""><strong><code>analyticsConsent</code></strong>: Set to <code>'true'</code> if user has consented to functional cookies, <code>'false'</code> otherwise</li>
|
|
87
87
|
<li class=""><strong><code>lrEnabled</code></strong>: Set to <code>'true'</code> if LogRocket is enabled in the app, <code>'false'</code> otherwise</li>
|
|
88
88
|
<li class=""><strong><code>lrAppId</code></strong>: The LogRocket application ID being used in the app</li>
|
|
89
89
|
</ul>
|
package/dist/cjs/logrocket.js
CHANGED
|
@@ -132,7 +132,7 @@ const hasUserConsentedToSessionRecording = () => {
|
|
|
132
132
|
return window.emui.dangerouslyOverrideSessionRecordingConsent;
|
|
133
133
|
}
|
|
134
134
|
if (window.OnetrustActiveGroups) {
|
|
135
|
-
return window.OnetrustActiveGroups.includes("
|
|
135
|
+
return window.OnetrustActiveGroups.includes("C0003");
|
|
136
136
|
}
|
|
137
137
|
const urlParams = new URLSearchParams(window.location.search);
|
|
138
138
|
if (urlParams.get("analyticsConsent") === "true") {
|
package/dist/esm/logrocket.js
CHANGED
|
@@ -96,7 +96,7 @@ const hasUserConsentedToSessionRecording = () => {
|
|
|
96
96
|
return window.emui.dangerouslyOverrideSessionRecordingConsent;
|
|
97
97
|
}
|
|
98
98
|
if (window.OnetrustActiveGroups) {
|
|
99
|
-
return window.OnetrustActiveGroups.includes("
|
|
99
|
+
return window.OnetrustActiveGroups.includes("C0003");
|
|
100
100
|
}
|
|
101
101
|
const urlParams = new URLSearchParams(window.location.search);
|
|
102
102
|
if (urlParams.get("analyticsConsent") === "true") {
|
package/dist/public/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>LogRocket Test</title><script defer="defer" src="js/emuiLogrocket.
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>LogRocket Test</title><script defer="defer" src="js/emuiLogrocket.dbc52447421309982993.js"></script></head><body><h1>LogRocket Test</h1><button id="testButton">Click me</button></body></html>
|
|
@@ -40,6 +40,6 @@ Error generating stack: `+l.message+`
|
|
|
40
40
|
*
|
|
41
41
|
* This source code is licensed under the MIT license found in the
|
|
42
42
|
* LICENSE file in the root directory of this source tree.
|
|
43
|
-
*/function me(y,w){var Y=y.length;y.push(w);e:for(;0<Y;){var ue=Y-1>>>1,f=y[ue];if(0<s(f,w))y[ue]=w,y[Y]=f,Y=ue;else break e}}function Se(y){return y.length===0?null:y[0]}function ye(y){if(y.length===0)return null;var w=y[0],Y=y.pop();if(Y!==w){y[0]=Y;e:for(var ue=0,f=y.length,V=f>>>1;ue<V;){var fe=2*(ue+1)-1,de=y[fe],ee=fe+1,le=y[ee];if(0>s(de,Y))ee<f&&0>s(le,de)?(y[ue]=le,y[ee]=Y,ue=ee):(y[ue]=de,y[fe]=Y,ue=fe);else if(ee<f&&0>s(le,Y))y[ue]=le,y[ee]=Y,ue=ee;else break e}}return w}function s(y,w){var Y=y.sortIndex-w.sortIndex;return Y!==0?Y:y.id-w.id}if(typeof performance=="object"&&typeof performance.now=="function"){var h=performance;K.unstable_now=function(){return h.now()}}else{var p=Date,E=p.now();K.unstable_now=function(){return p.now()-E}}var M=[],P=[],I=1,A=null,z=3,L=!1,U=!1,C=!1,k=typeof setTimeout=="function"?setTimeout:null,c=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function O(y){for(var w=Se(P);w!==null;){if(w.callback===null)ye(P);else if(w.startTime<=y)ye(P),w.sortIndex=w.expirationTime,me(M,w);else break;w=Se(P)}}function x(y){if(C=!1,O(y),!U)if(Se(M)!==null)U=!0,ne(j);else{var w=Se(P);w!==null&&te(x,w.startTime-y)}}function j(y,w){U=!1,C&&(C=!1,c(g),g=-1),L=!0;var Y=z;try{for(O(w),A=Se(M);A!==null&&(!(A.expirationTime>w)||y&&!F());){var ue=A.callback;if(typeof ue=="function"){A.callback=null,z=A.priorityLevel;var f=ue(A.expirationTime<=w);w=K.unstable_now(),typeof f=="function"?A.callback=f:A===Se(M)&&ye(M),O(w)}else ye(M);A=Se(M)}if(A!==null)var V=!0;else{var fe=Se(P);fe!==null&&te(x,fe.startTime-w),V=!1}return V}finally{A=null,z=Y,L=!1}}var N=!1,D=null,g=-1,S=5,Q=-1;function F(){return!(K.unstable_now()-Q<S)}function q(){if(D!==null){var y=K.unstable_now();Q=y;var w=!0;try{w=D(!0,y)}finally{w?G():(N=!1,D=null)}}else N=!1}var G;if(typeof a=="function")G=function(){a(q)};else if(typeof MessageChannel<"u"){var b=new MessageChannel,J=b.port2;b.port1.onmessage=q,G=function(){J.postMessage(null)}}else G=function(){k(q,0)};function ne(y){D=y,N||(N=!0,G())}function te(y,w){g=k(function(){y(K.unstable_now())},w)}K.unstable_IdlePriority=5,K.unstable_ImmediatePriority=1,K.unstable_LowPriority=4,K.unstable_NormalPriority=3,K.unstable_Profiling=null,K.unstable_UserBlockingPriority=2,K.unstable_cancelCallback=function(y){y.callback=null},K.unstable_continueExecution=function(){U||L||(U=!0,ne(j))},K.unstable_forceFrameRate=function(y){0>y||125<y?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):S=0<y?Math.floor(1e3/y):5},K.unstable_getCurrentPriorityLevel=function(){return z},K.unstable_getFirstCallbackNode=function(){return Se(M)},K.unstable_next=function(y){switch(z){case 1:case 2:case 3:var w=3;break;default:w=z}var Y=z;z=w;try{return y()}finally{z=Y}},K.unstable_pauseExecution=function(){},K.unstable_requestPaint=function(){},K.unstable_runWithPriority=function(y,w){switch(y){case 1:case 2:case 3:case 4:case 5:break;default:y=3}var Y=z;z=y;try{return w()}finally{z=Y}},K.unstable_scheduleCallback=function(y,w,Y){var ue=K.unstable_now();switch(typeof Y=="object"&&Y!==null?(Y=Y.delay,Y=typeof Y=="number"&&0<Y?ue+Y:ue):Y=ue,y){case 1:var f=-1;break;case 2:f=250;break;case 5:f=1073741823;break;case 4:f=1e4;break;default:f=5e3}return f=Y+f,y={id:I++,callback:w,priorityLevel:y,startTime:Y,expirationTime:f,sortIndex:-1},Y>ue?(y.sortIndex=Y,me(P,y),Se(M)===null&&y===Se(P)&&(C?(c(g),g=-1):C=!0,te(x,Y-ue))):(y.sortIndex=f,me(M,y),U||L||(U=!0,ne(j))),y},K.unstable_shouldYield=F,K.unstable_wrapCallback=function(y){var w=z;return function(){var Y=z;z=w;try{return y.apply(this,arguments)}finally{z=Y}}}},755:(ke,K,me)=>{"use strict";var Se;Se={value:!0},K.A=p;var ye=me(143);let s;const h=ye.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;h&&h.Events&&h.Events[0]&&(s=h.Events[0]);function p(){const E=M=>{try{const I=s(M.target),A=[];let z=I;for(;z;){var P=typeof z.elementType=="function"&&z.elementType.displayName;P&&A.push(P),z=z.return}M.__lrName=A}catch{console.error("logrocket-react caught an error while hooking into React. Please make sure you are using the correct version of logrocket-react for your version of react-dom.")}};document.body.addEventListener("click",E,{capture:!0,passive:!0})}},758:(ke,K,me)=>{"use strict";ke.exports=me(713)},896:(ke,K,me)=>{"use strict";ke.exports=me(733)}},zr={};function Fe(ke){var K=zr[ke];if(K!==void 0)return K.exports;var me=zr[ke]={exports:{}};return Mi[ke].call(me.exports,me,me.exports,Fe),me.exports}Fe.n=ke=>{var K=ke&&ke.__esModule?()=>ke.default:()=>ke;return Fe.d(K,{a:K}),K},Fe.d=(ke,K)=>{for(var me in K)Fe.o(K,me)&&!Fe.o(ke,me)&&Object.defineProperty(ke,me,{enumerable:!0,get:K[me]})},Fe.o=(ke,K)=>Object.prototype.hasOwnProperty.call(ke,K),Fe.r=ke=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(ke,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(ke,"__esModule",{value:!0})};var Xo={};return(()=>{"use strict";Fe.r(Xo),Fe.d(Xo,{LogRocket:()=>ke,buildLogRocketQueryParams:()=>U,hasUserConsentedToSessionRecording:()=>z,initLogRocket:()=>k});var ke=Fe(353),K=Fe.n(ke),me=Fe(755);const Se=c=>c!==null&&typeof c=="object"&&!Array.isArray(c),ye=(c,a)=>{const O={...c};return Se(c)&&Se(a)&&Object.keys(a).forEach(x=>{const j=a[x],N=O[x];Se(j)&&Se(N)?O[x]=ye(N,j):O[x]=j}),O},s=me.A.default,h=K()||ke,p=window.emui?.logger??console;let E=null;window.emui=window.emui||{},window.emui.isLogRocketInitialized=window.emui.isLogRocketInitialized??!1;const M=()=>{try{return window.parent.location.origin}catch{try{return new URL(document.referrer).origin}catch{return null}}},P=()=>({browser:{urlSanitizer:c=>{let a=c;return a=a.replace(/code=([^&]*)/,"code=REDACTED"),a}},dom:{hiddenAttributes:["aria-label","aria-labelledby","aria-describedby","aria-details","aria-errormessage","aria-valuetext","aria-placeholder"],inputSanitizer:"lipsum",isEnabled:!1,textSanitizer:!0},mergeIframes:!0,network:{requestSanitizer:c=>{const a={...c};return c.headers.Authorization&&(a.headers.Authorization="**redacted**"),{...a,body:null}},responseSanitizer:c=>c.headers["x-secret"]?null:{...c,body:null}},release:"MISSING_ENV_VAR".APP_VERSION,rootHostname:window.emui?.logRocketConfig?.rootHostname??".ice.com",childDomains:window.emui?.logRocketConfig?.childDomains??null,parentDomain:M()??window.emui?.logRocketConfig?.parentDomain??null}),I=()=>window.OnetrustActiveGroups?window.OnetrustActiveGroups.includes("C0002"):!0,A=()=>{if(!I())return!0;window.location.hostname;const c=new URLSearchParams(window.location.search);return window.emui?.logRocketConfig?.enable===!1||c.get("lrEnabled")==="false"},z=()=>typeof window.emui?.dangerouslyOverrideSessionRecordingConsent=="boolean"?(p.warn("Using dangerouslyOverrideSessionRecordingConsent - this should only be used for testing purposes"),window.emui.dangerouslyOverrideSessionRecordingConsent):window.OnetrustActiveGroups?window.OnetrustActiveGroups.includes("
|
|
43
|
+
*/function me(y,w){var Y=y.length;y.push(w);e:for(;0<Y;){var ue=Y-1>>>1,f=y[ue];if(0<s(f,w))y[ue]=w,y[Y]=f,Y=ue;else break e}}function Se(y){return y.length===0?null:y[0]}function ye(y){if(y.length===0)return null;var w=y[0],Y=y.pop();if(Y!==w){y[0]=Y;e:for(var ue=0,f=y.length,V=f>>>1;ue<V;){var fe=2*(ue+1)-1,de=y[fe],ee=fe+1,le=y[ee];if(0>s(de,Y))ee<f&&0>s(le,de)?(y[ue]=le,y[ee]=Y,ue=ee):(y[ue]=de,y[fe]=Y,ue=fe);else if(ee<f&&0>s(le,Y))y[ue]=le,y[ee]=Y,ue=ee;else break e}}return w}function s(y,w){var Y=y.sortIndex-w.sortIndex;return Y!==0?Y:y.id-w.id}if(typeof performance=="object"&&typeof performance.now=="function"){var h=performance;K.unstable_now=function(){return h.now()}}else{var p=Date,E=p.now();K.unstable_now=function(){return p.now()-E}}var M=[],P=[],I=1,A=null,z=3,L=!1,U=!1,C=!1,k=typeof setTimeout=="function"?setTimeout:null,c=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function O(y){for(var w=Se(P);w!==null;){if(w.callback===null)ye(P);else if(w.startTime<=y)ye(P),w.sortIndex=w.expirationTime,me(M,w);else break;w=Se(P)}}function x(y){if(C=!1,O(y),!U)if(Se(M)!==null)U=!0,ne(j);else{var w=Se(P);w!==null&&te(x,w.startTime-y)}}function j(y,w){U=!1,C&&(C=!1,c(g),g=-1),L=!0;var Y=z;try{for(O(w),A=Se(M);A!==null&&(!(A.expirationTime>w)||y&&!F());){var ue=A.callback;if(typeof ue=="function"){A.callback=null,z=A.priorityLevel;var f=ue(A.expirationTime<=w);w=K.unstable_now(),typeof f=="function"?A.callback=f:A===Se(M)&&ye(M),O(w)}else ye(M);A=Se(M)}if(A!==null)var V=!0;else{var fe=Se(P);fe!==null&&te(x,fe.startTime-w),V=!1}return V}finally{A=null,z=Y,L=!1}}var N=!1,D=null,g=-1,S=5,Q=-1;function F(){return!(K.unstable_now()-Q<S)}function q(){if(D!==null){var y=K.unstable_now();Q=y;var w=!0;try{w=D(!0,y)}finally{w?G():(N=!1,D=null)}}else N=!1}var G;if(typeof a=="function")G=function(){a(q)};else if(typeof MessageChannel<"u"){var b=new MessageChannel,J=b.port2;b.port1.onmessage=q,G=function(){J.postMessage(null)}}else G=function(){k(q,0)};function ne(y){D=y,N||(N=!0,G())}function te(y,w){g=k(function(){y(K.unstable_now())},w)}K.unstable_IdlePriority=5,K.unstable_ImmediatePriority=1,K.unstable_LowPriority=4,K.unstable_NormalPriority=3,K.unstable_Profiling=null,K.unstable_UserBlockingPriority=2,K.unstable_cancelCallback=function(y){y.callback=null},K.unstable_continueExecution=function(){U||L||(U=!0,ne(j))},K.unstable_forceFrameRate=function(y){0>y||125<y?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):S=0<y?Math.floor(1e3/y):5},K.unstable_getCurrentPriorityLevel=function(){return z},K.unstable_getFirstCallbackNode=function(){return Se(M)},K.unstable_next=function(y){switch(z){case 1:case 2:case 3:var w=3;break;default:w=z}var Y=z;z=w;try{return y()}finally{z=Y}},K.unstable_pauseExecution=function(){},K.unstable_requestPaint=function(){},K.unstable_runWithPriority=function(y,w){switch(y){case 1:case 2:case 3:case 4:case 5:break;default:y=3}var Y=z;z=y;try{return w()}finally{z=Y}},K.unstable_scheduleCallback=function(y,w,Y){var ue=K.unstable_now();switch(typeof Y=="object"&&Y!==null?(Y=Y.delay,Y=typeof Y=="number"&&0<Y?ue+Y:ue):Y=ue,y){case 1:var f=-1;break;case 2:f=250;break;case 5:f=1073741823;break;case 4:f=1e4;break;default:f=5e3}return f=Y+f,y={id:I++,callback:w,priorityLevel:y,startTime:Y,expirationTime:f,sortIndex:-1},Y>ue?(y.sortIndex=Y,me(P,y),Se(M)===null&&y===Se(P)&&(C?(c(g),g=-1):C=!0,te(x,Y-ue))):(y.sortIndex=f,me(M,y),U||L||(U=!0,ne(j))),y},K.unstable_shouldYield=F,K.unstable_wrapCallback=function(y){var w=z;return function(){var Y=z;z=w;try{return y.apply(this,arguments)}finally{z=Y}}}},755:(ke,K,me)=>{"use strict";var Se;Se={value:!0},K.A=p;var ye=me(143);let s;const h=ye.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;h&&h.Events&&h.Events[0]&&(s=h.Events[0]);function p(){const E=M=>{try{const I=s(M.target),A=[];let z=I;for(;z;){var P=typeof z.elementType=="function"&&z.elementType.displayName;P&&A.push(P),z=z.return}M.__lrName=A}catch{console.error("logrocket-react caught an error while hooking into React. Please make sure you are using the correct version of logrocket-react for your version of react-dom.")}};document.body.addEventListener("click",E,{capture:!0,passive:!0})}},758:(ke,K,me)=>{"use strict";ke.exports=me(713)},896:(ke,K,me)=>{"use strict";ke.exports=me(733)}},zr={};function Fe(ke){var K=zr[ke];if(K!==void 0)return K.exports;var me=zr[ke]={exports:{}};return Mi[ke].call(me.exports,me,me.exports,Fe),me.exports}Fe.n=ke=>{var K=ke&&ke.__esModule?()=>ke.default:()=>ke;return Fe.d(K,{a:K}),K},Fe.d=(ke,K)=>{for(var me in K)Fe.o(K,me)&&!Fe.o(ke,me)&&Object.defineProperty(ke,me,{enumerable:!0,get:K[me]})},Fe.o=(ke,K)=>Object.prototype.hasOwnProperty.call(ke,K),Fe.r=ke=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(ke,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(ke,"__esModule",{value:!0})};var Xo={};return(()=>{"use strict";Fe.r(Xo),Fe.d(Xo,{LogRocket:()=>ke,buildLogRocketQueryParams:()=>U,hasUserConsentedToSessionRecording:()=>z,initLogRocket:()=>k});var ke=Fe(353),K=Fe.n(ke),me=Fe(755);const Se=c=>c!==null&&typeof c=="object"&&!Array.isArray(c),ye=(c,a)=>{const O={...c};return Se(c)&&Se(a)&&Object.keys(a).forEach(x=>{const j=a[x],N=O[x];Se(j)&&Se(N)?O[x]=ye(N,j):O[x]=j}),O},s=me.A.default,h=K()||ke,p=window.emui?.logger??console;let E=null;window.emui=window.emui||{},window.emui.isLogRocketInitialized=window.emui.isLogRocketInitialized??!1;const M=()=>{try{return window.parent.location.origin}catch{try{return new URL(document.referrer).origin}catch{return null}}},P=()=>({browser:{urlSanitizer:c=>{let a=c;return a=a.replace(/code=([^&]*)/,"code=REDACTED"),a}},dom:{hiddenAttributes:["aria-label","aria-labelledby","aria-describedby","aria-details","aria-errormessage","aria-valuetext","aria-placeholder"],inputSanitizer:"lipsum",isEnabled:!1,textSanitizer:!0},mergeIframes:!0,network:{requestSanitizer:c=>{const a={...c};return c.headers.Authorization&&(a.headers.Authorization="**redacted**"),{...a,body:null}},responseSanitizer:c=>c.headers["x-secret"]?null:{...c,body:null}},release:"MISSING_ENV_VAR".APP_VERSION,rootHostname:window.emui?.logRocketConfig?.rootHostname??".ice.com",childDomains:window.emui?.logRocketConfig?.childDomains??null,parentDomain:M()??window.emui?.logRocketConfig?.parentDomain??null}),I=()=>window.OnetrustActiveGroups?window.OnetrustActiveGroups.includes("C0002"):!0,A=()=>{if(!I())return!0;window.location.hostname;const c=new URLSearchParams(window.location.search);return window.emui?.logRocketConfig?.enable===!1||c.get("lrEnabled")==="false"},z=()=>typeof window.emui?.dangerouslyOverrideSessionRecordingConsent=="boolean"?(p.warn("Using dangerouslyOverrideSessionRecordingConsent - this should only be used for testing purposes"),window.emui.dangerouslyOverrideSessionRecordingConsent):window.OnetrustActiveGroups?window.OnetrustActiveGroups.includes("C0003"):new URLSearchParams(window.location.search).get("analyticsConsent")==="true",L=c=>{const O=new URLSearchParams(window.location.search).get("lrAppId"),x=window.emui?.logRocketConfig?.appId;return O||c||x||null},U=()=>{const c=new URLSearchParams;return c.append("analyticsConsent",z()===!0?"true":"false"),c.append("lrEnabled",A()?"false":"true"),c.append("lrAppId",L()??""),c.toString()},C=c=>{const{appId:a,isReact:O=!0,...x}=c??{};if(E=L(a),!E)throw window.emui.isLogRocketInitialized=!1,new Error("LogRocket appId is required to initialize LogRocket. Either pass it as parameter or set window.emui.logRocketConfig.appId");if(A()){window.emui.isLogRocketInitialized=!1,p.info("LogRocket is disabled in this environment");return}const j=P(),N=z();j.dom&&(j.dom.isEnabled=N);const D=ye(j,x);h.init(E,D),O&&s(h),p.info(`LogRocket initialized ${D.dom?.isEnabled?"with":"without"} session recording`)},k=c=>{window.emui.isLogRocketInitialized||(window.emui.isLogRocketInitialized=!0,window.hasOneTrust?window.onetrustCallback=()=>{C(c)}:C(c))};window.emui.logRocket=window.emui.logRocket??h})(),Xo})());
|
|
44
44
|
|
|
45
|
-
//# sourceMappingURL=emuiLogrocket.
|
|
45
|
+
//# sourceMappingURL=emuiLogrocket.dbc52447421309982993.js.map
|
|
Binary file
|