@sheerid/jslib 1.136.0 → 1.137.0

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.
Files changed (137) hide show
  1. package/es5/Tmetrix.bundle.js +2 -9
  2. package/es5/Tmetrix.bundle.js.LICENSE.txt +8 -0
  3. package/es5/Tmetrix.bundle.js.map +1 -1
  4. package/es5/messages_ar.bundle.js +2 -10
  5. package/es5/messages_ar.bundle.js.LICENSE.txt +8 -0
  6. package/es5/messages_bg.bundle.js +2 -10
  7. package/es5/messages_bg.bundle.js.LICENSE.txt +8 -0
  8. package/es5/messages_cs.bundle.js +2 -10
  9. package/es5/messages_cs.bundle.js.LICENSE.txt +8 -0
  10. package/es5/messages_da.bundle.js +2 -10
  11. package/es5/messages_da.bundle.js.LICENSE.txt +8 -0
  12. package/es5/messages_de.bundle.js +2 -10
  13. package/es5/messages_de.bundle.js.LICENSE.txt +8 -0
  14. package/es5/messages_el.bundle.js +2 -10
  15. package/es5/messages_el.bundle.js.LICENSE.txt +8 -0
  16. package/es5/messages_en-GB.bundle.js +2 -10
  17. package/es5/messages_en-GB.bundle.js.LICENSE.txt +8 -0
  18. package/es5/messages_es-ES.bundle.js +2 -10
  19. package/es5/messages_es-ES.bundle.js.LICENSE.txt +8 -0
  20. package/es5/messages_es.bundle.js +2 -10
  21. package/es5/messages_es.bundle.js.LICENSE.txt +8 -0
  22. package/es5/messages_fi.bundle.js +2 -10
  23. package/es5/messages_fi.bundle.js.LICENSE.txt +8 -0
  24. package/es5/messages_fr-CA.bundle.js +2 -10
  25. package/es5/messages_fr-CA.bundle.js.LICENSE.txt +8 -0
  26. package/es5/messages_fr.bundle.js +2 -10
  27. package/es5/messages_fr.bundle.js.LICENSE.txt +8 -0
  28. package/es5/messages_ga.bundle.js +2 -10
  29. package/es5/messages_ga.bundle.js.LICENSE.txt +8 -0
  30. package/es5/messages_hr.bundle.js +2 -10
  31. package/es5/messages_hr.bundle.js.LICENSE.txt +8 -0
  32. package/es5/messages_hu.bundle.js +2 -10
  33. package/es5/messages_hu.bundle.js.LICENSE.txt +8 -0
  34. package/es5/messages_id.bundle.js +2 -10
  35. package/es5/messages_id.bundle.js.LICENSE.txt +8 -0
  36. package/es5/messages_it.bundle.js +2 -10
  37. package/es5/messages_it.bundle.js.LICENSE.txt +8 -0
  38. package/es5/messages_iw.bundle.js +2 -10
  39. package/es5/messages_iw.bundle.js.LICENSE.txt +8 -0
  40. package/es5/messages_ja.bundle.js +2 -10
  41. package/es5/messages_ja.bundle.js.LICENSE.txt +8 -0
  42. package/es5/messages_ko.bundle.js +2 -10
  43. package/es5/messages_ko.bundle.js.LICENSE.txt +8 -0
  44. package/es5/messages_lo.bundle.js +2 -10
  45. package/es5/messages_lo.bundle.js.LICENSE.txt +8 -0
  46. package/es5/messages_lt.bundle.js +2 -10
  47. package/es5/messages_lt.bundle.js.LICENSE.txt +8 -0
  48. package/es5/messages_ms.bundle.js +2 -10
  49. package/es5/messages_ms.bundle.js.LICENSE.txt +8 -0
  50. package/es5/messages_nl.bundle.js +2 -10
  51. package/es5/messages_nl.bundle.js.LICENSE.txt +8 -0
  52. package/es5/messages_no.bundle.js +2 -10
  53. package/es5/messages_no.bundle.js.LICENSE.txt +8 -0
  54. package/es5/messages_pl.bundle.js +2 -10
  55. package/es5/messages_pl.bundle.js.LICENSE.txt +8 -0
  56. package/es5/messages_pt-BR.bundle.js +2 -10
  57. package/es5/messages_pt-BR.bundle.js.LICENSE.txt +8 -0
  58. package/es5/messages_pt.bundle.js +2 -10
  59. package/es5/messages_pt.bundle.js.LICENSE.txt +8 -0
  60. package/es5/messages_ru.bundle.js +2 -10
  61. package/es5/messages_ru.bundle.js.LICENSE.txt +8 -0
  62. package/es5/messages_sk.bundle.js +2 -10
  63. package/es5/messages_sk.bundle.js.LICENSE.txt +8 -0
  64. package/es5/messages_sl.bundle.js +2 -10
  65. package/es5/messages_sl.bundle.js.LICENSE.txt +8 -0
  66. package/es5/messages_sr.bundle.js +2 -10
  67. package/es5/messages_sr.bundle.js.LICENSE.txt +8 -0
  68. package/es5/messages_sv.bundle.js +2 -10
  69. package/es5/messages_sv.bundle.js.LICENSE.txt +8 -0
  70. package/es5/messages_th.bundle.js +2 -10
  71. package/es5/messages_th.bundle.js.LICENSE.txt +8 -0
  72. package/es5/messages_tr.bundle.js +2 -10
  73. package/es5/messages_tr.bundle.js.LICENSE.txt +8 -0
  74. package/es5/messages_zh-HK.bundle.js +2 -10
  75. package/es5/messages_zh-HK.bundle.js.LICENSE.txt +8 -0
  76. package/es5/messages_zh.bundle.js +2 -10
  77. package/es5/messages_zh.bundle.js.LICENSE.txt +8 -0
  78. package/manifest.json +43 -215
  79. package/metrics-preview.js +1 -23
  80. package/metrics-sandbox.js +1 -23
  81. package/metrics.js +1 -23
  82. package/package.json +1 -1
  83. package/sheerid-requestOrg.css +5 -5
  84. package/sheerid-requestOrg.css.map +1 -1
  85. package/sheerid-requestOrg.js +2 -70
  86. package/sheerid-requestOrg.js.LICENSE.txt +58 -0
  87. package/sheerid-requestOrg.js.map +1 -1
  88. package/sheerid-utils.js +2 -25
  89. package/sheerid-utils.js.LICENSE.txt +16 -0
  90. package/sheerid-utils.js.map +1 -1
  91. package/sheerid.css +5 -5
  92. package/sheerid.css.map +1 -1
  93. package/sheerid.js +2 -91
  94. package/sheerid.js.LICENSE.txt +73 -0
  95. package/sheerid.js.map +1 -1
  96. package/sheerides6.js +70 -69
  97. package/sheerides6.js.map +1 -1
  98. package/src/lib/types/runtimeTypes.d.ts +16 -30
  99. package/src/lib/types/types.d.ts +12 -6
  100. package/types-reference.zip +0 -0
  101. package/es5/messages_ar.bundle.js.map +0 -1
  102. package/es5/messages_bg.bundle.js.map +0 -1
  103. package/es5/messages_cs.bundle.js.map +0 -1
  104. package/es5/messages_da.bundle.js.map +0 -1
  105. package/es5/messages_de.bundle.js.map +0 -1
  106. package/es5/messages_el.bundle.js.map +0 -1
  107. package/es5/messages_en-GB.bundle.js.map +0 -1
  108. package/es5/messages_es-ES.bundle.js.map +0 -1
  109. package/es5/messages_es.bundle.js.map +0 -1
  110. package/es5/messages_fi.bundle.js.map +0 -1
  111. package/es5/messages_fr-CA.bundle.js.map +0 -1
  112. package/es5/messages_fr.bundle.js.map +0 -1
  113. package/es5/messages_ga.bundle.js.map +0 -1
  114. package/es5/messages_hr.bundle.js.map +0 -1
  115. package/es5/messages_hu.bundle.js.map +0 -1
  116. package/es5/messages_id.bundle.js.map +0 -1
  117. package/es5/messages_it.bundle.js.map +0 -1
  118. package/es5/messages_iw.bundle.js.map +0 -1
  119. package/es5/messages_ja.bundle.js.map +0 -1
  120. package/es5/messages_ko.bundle.js.map +0 -1
  121. package/es5/messages_lo.bundle.js.map +0 -1
  122. package/es5/messages_lt.bundle.js.map +0 -1
  123. package/es5/messages_ms.bundle.js.map +0 -1
  124. package/es5/messages_nl.bundle.js.map +0 -1
  125. package/es5/messages_no.bundle.js.map +0 -1
  126. package/es5/messages_pl.bundle.js.map +0 -1
  127. package/es5/messages_pt-BR.bundle.js.map +0 -1
  128. package/es5/messages_pt.bundle.js.map +0 -1
  129. package/es5/messages_ru.bundle.js.map +0 -1
  130. package/es5/messages_sk.bundle.js.map +0 -1
  131. package/es5/messages_sl.bundle.js.map +0 -1
  132. package/es5/messages_sr.bundle.js.map +0 -1
  133. package/es5/messages_sv.bundle.js.map +0 -1
  134. package/es5/messages_th.bundle.js.map +0 -1
  135. package/es5/messages_tr.bundle.js.map +0 -1
  136. package/es5/messages_zh-HK.bundle.js.map +0 -1
  137. package/es5/messages_zh.bundle.js.map +0 -1
@@ -1,10 +1,3 @@
1
- /*!
2
- *
3
- * VERSION: 1.136.0
4
- * BUILD_TIMESTAMP: 1680197674375
5
- * BUILD_DATE: Thu Mar 30 2023 17:34:34 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 1e975c16d7e083d394121d8426207acffecacca5
7
- *
8
- */
9
- (window.webpackJsonpsheerid=window.webpackJsonpsheerid||[]).push([[0],{512:function(e,t,n){"use strict";n.r(t),n.d(t,"ThreatMetrix",(function(){return r}));const r=(()=>{let e=window.hp_frame||null,t=window.tmx_frame||null,n=window.tmx_script||null;var r=r||{};return r.version=3,r.create_url=function(e,t,n,c,o){function i(){return Math.floor(2742745743359*Math.random())}function a(){return u(i())}function u(e){return(e+78364164096).toString(36)}var l=i(),s=i(),p=885187064159;s=((s=s-s%256+r.version)+l)%2742745743359,p=(p+l)%2742745743359;var d="https://"+e+"/"+(l=a()+u(l))+t,m=[(s=u(p)+u(s))+"="+n,a()+a()+"="+c];return void 0!==o&&o.length>0&&m.push(a()+a()+"="+o),d+"?"+m.join("&")},r.beacon=function(e,t,n,r){var c="turn:aa.online-metrix.net?transport=",o="1:"+t+":"+n,i={iceServers:[{urls:c+"tcp",username:o,credential:n},{urls:c+"udp",username:o,credential:n}]};try{var a=new RTCPeerConnection(i);a.createDataChannel(Math.random().toString());var u=function(){},l=function(e){a.setLocalDescription(e,u,u)};"undefined"==typeof Promise||a.createOffer.length>0?a.createOffer(l,u):a.createOffer().then(l,u)}catch(e){}},r.load_tags=function(e,t,n,c){r.beacon(e,t,n,c);var o=document.getElementsByTagName("head").item(0),i=document.createElement("script");i.id="tmx_tags_js",i.setAttribute("type","text/javascript");var a=r.create_url(e,".js",t,n,c);i.setAttribute("src",a),r.set_csp_nonce(i),o.appendChild(i)},r.load_iframe_tags=function(e,t,n,c){r.beacon(e,t,n,c);var o=r.create_url(e,".htm",t,n,c),i=document.createElement("iframe");i.title="empty",i.setAttribute("aria-disabled","true"),i.width="0",i.height="0",i.setAttribute("style","color:rgba(0,0,0,0); float:left; position:absolute; top:-200; left:-200; border:0px"),i.setAttribute("src",o),document.body.appendChild(i)},r.csp_nonce=null,r.register_csp_nonce=function(e){if(void 0!==e.currentScript&&null!==e.currentScript){var t=e.currentScript.getAttribute("nonce");null!=t&&""!==t?r.csp_nonce=t:void 0!==e.currentScript.nonce&&null!==e.currentScript.nonce&&""!==e.currentScript.nonce&&(r.csp_nonce=e.currentScript.nonce)}},r.set_csp_nonce=function(e){null!==r.csp_nonce&&(e.setAttribute("nonce",r.csp_nonce),e.getAttribute("nonce")!==r.csp_nonce&&(e.nonce=r.csp_nonce))},r.cleanup=function(){for(;null!==(e=document.getElementById("tdz_ifrm"));)e.parentElement.removeChild(e);for(;null!==(t=document.getElementById("tmx_tags_iframe"));)t.parentElement.removeChild(t);for(;null!==(n=document.getElementById("tmx_tags_js"));)n.parentElement.removeChild(n)},r.profile=function(e,t,n,c){r.cleanup(),r.register_csp_nonce(document),r.load_tags(e,t,n,c)},r.profile_iframe=function(e,t,n,c){r.cleanup(),r.register_csp_nonce(document),r.load_iframe_tags(e,t,n,c)},r})()}}]);
1
+ /*! For license information please see Tmetrix.bundle.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunksheerid=self.webpackChunksheerid||[]).push([[772],{5372:(e,t,n)=>{n.r(t),n.d(t,{ThreatMetrix:()=>r});const r=(()=>{let e=window.hp_frame||null,t=window.tmx_frame||null,n=window.tmx_script||null;var r=r||{};return r.version=3,r.create_url=function(e,t,n,c,o){function i(){return Math.floor(2742745743359*Math.random())}function a(){return u(i())}function u(e){return(e+78364164096).toString(36)}var l=i(),s=i(),p=885187064159;s=((s=s-s%256+r.version)+l)%2742745743359,p=(p+l)%2742745743359;var d="https://"+e+"/"+(l=a()+u(l))+t,m=[(s=u(p)+u(s))+"="+n,a()+a()+"="+c];return void 0!==o&&o.length>0&&m.push(a()+a()+"="+o),d+"?"+m.join("&")},r.beacon=function(e,t,n,r){var c="turn:aa.online-metrix.net?transport=",o="1:"+t+":"+n,i={iceServers:[{urls:c+"tcp",username:o,credential:n},{urls:c+"udp",username:o,credential:n}]};try{var a=new RTCPeerConnection(i);a.createDataChannel(Math.random().toString());var u=function(){},l=function(e){a.setLocalDescription(e,u,u)};"undefined"==typeof Promise||a.createOffer.length>0?a.createOffer(l,u):a.createOffer().then(l,u)}catch(e){}},r.load_tags=function(e,t,n,c){r.beacon(e,t,n,c);var o=document.getElementsByTagName("head").item(0),i=document.createElement("script");i.id="tmx_tags_js",i.setAttribute("type","text/javascript");var a=r.create_url(e,".js",t,n,c);i.setAttribute("src",a),r.set_csp_nonce(i),o.appendChild(i)},r.load_iframe_tags=function(e,t,n,c){r.beacon(e,t,n,c);var o=r.create_url(e,".htm",t,n,c),i=document.createElement("iframe");i.title="empty",i.setAttribute("aria-disabled","true"),i.width="0",i.height="0",i.setAttribute("style","color:rgba(0,0,0,0); float:left; position:absolute; top:-200; left:-200; border:0px"),i.setAttribute("src",o),document.body.appendChild(i)},r.csp_nonce=null,r.register_csp_nonce=function(e){if(void 0!==e.currentScript&&null!==e.currentScript){var t=e.currentScript.getAttribute("nonce");null!=t&&""!==t?r.csp_nonce=t:void 0!==e.currentScript.nonce&&null!==e.currentScript.nonce&&""!==e.currentScript.nonce&&(r.csp_nonce=e.currentScript.nonce)}},r.set_csp_nonce=function(e){null!==r.csp_nonce&&(e.setAttribute("nonce",r.csp_nonce),e.getAttribute("nonce")!==r.csp_nonce&&(e.nonce=r.csp_nonce))},r.cleanup=function(){for(;null!==(e=document.getElementById("tdz_ifrm"));)e.parentElement.removeChild(e);for(;null!==(t=document.getElementById("tmx_tags_iframe"));)t.parentElement.removeChild(t);for(;null!==(n=document.getElementById("tmx_tags_js"));)n.parentElement.removeChild(n)},r.profile=function(e,t,n,c){r.cleanup(),r.register_csp_nonce(document),r.load_tags(e,t,n,c)},r.profile_iframe=function(e,t,n,c){r.cleanup(),r.register_csp_nonce(document),r.load_iframe_tags(e,t,n,c)},r})()}}]);
10
3
  //# sourceMappingURL=Tmetrix.bundle.js.map
@@ -0,0 +1,8 @@
1
+ /*!
2
+ *
3
+ * VERSION: 1.137.0
4
+ * BUILD_TIMESTAMP: 1680292705276
5
+ * BUILD_DATE: Fri Mar 31 2023 19:58:25 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: e1e3b4651a6cb42cd65dec128c7e2e44dddf7831
7
+ *
8
+ */
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack://sheerid/./src/lib/ThreatMetrix/index.js"],"names":["ThreatMetrix","hp_frame","window","tmx_frame","tmx_script","threatmetrix","version","create_url","t","e","r","n","a","i","Math","floor","random","c","o","toString","m","u","l","s","h","length","push","join","beacon","iceServers","urls","username","credential","RTCPeerConnection","createDataChannel","setLocalDescription","Promise","createOffer","then","load_tags","document","getElementsByTagName","item","createElement","id","setAttribute","set_csp_nonce","appendChild","load_iframe_tags","title","width","height","body","csp_nonce","register_csp_nonce","currentScript","getAttribute","nonce","cleanup","getElementById","parentElement","removeChild","profile","profile_iframe","CreateThreatMetrixExport"],"mappings":";;;;;;;;wGAAA,0DA2GaA,EA3GoB,MAC/B,IAAIC,EAAWC,OAAOD,UAAY,KAC9BE,EAAYD,OAAOC,WAAa,KAChCC,EAAaF,OAAOE,YAAc,KACtC,IAAIC,EAAeA,GAAgB,GAoGnC,OAnGCA,EAAaC,QAAU,EACrBD,EAAaE,WAAa,SAAUC,EAAGC,EAAGC,EAAGC,EAAGC,GAC/C,SAASC,IACP,OAAOC,KAAKC,MAAM,cAAgBD,KAAKE,UAEzC,SAASC,IACP,OAAOC,EAAEL,KAEX,SAASK,EAAEV,GACT,OAAQA,EAAI,aAAaW,SAAS,IAEpC,IAAIC,EAAIP,IACNQ,EAAIR,IACJS,EAAI,aACLD,IAAMA,EAAIA,EAAKA,EAAI,IAAOhB,EAAaC,SAAWc,GAAK,cACrDE,GAAKA,EAAIF,GAAK,cACjB,IAAIG,EAAI,WAAaf,EAAI,KAAOY,EAAIH,IAAMC,EAAEE,IAAMX,EAChDe,EAAI,EAAEH,EAAIH,EAAEI,GAAKJ,EAAEG,IAAM,IAAMX,EAAGO,IAAMA,IAAM,IAAMN,GACtD,YAAO,IAAWC,GAAKA,EAAEa,OAAS,GAAKD,EAAEE,KAAKT,IAAMA,IAAM,IAAML,GAAIW,EAAI,IAAMC,EAAEG,KAAK,MAEtFtB,EAAauB,OAAS,SAAUpB,EAAGC,EAAGC,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C,GACtB4B,SAASY,KAAKL,YAAYlC,IAE7BR,EAAagD,UAAY,KACzBhD,EAAaiD,mBAAqB,SAAU9C,GAC3C,QAAI,IAAWA,EAAE+C,eAAiB,OAAS/C,EAAE+C,cAAe,CAC1D,IAAI9C,EAAID,EAAE+C,cAAcC,aAAa,SACrC,MAAW/C,GAAmB,KAAOA,EAChCJ,EAAagD,UAAY5C,OAC1B,IAAWD,EAAE+C,cAAcE,OAC3B,OAASjD,EAAE+C,cAAcE,OACzB,KAAOjD,EAAE+C,cAAcE,QACtBpD,EAAagD,UAAY7C,EAAE+C,cAAcE,SAGjDpD,EAAayC,cAAgB,SAAUtC,GACtC,OAASH,EAAagD,YACnB7C,EAAEqC,aAAa,QAASxC,EAAagD,WACtC7C,EAAEgD,aAAa,WAAanD,EAAagD,YAAc7C,EAAEiD,MAAQpD,EAAagD,aAEjFhD,EAAaqD,QAAU,WACtB,KAAO,QAAUzD,EAAWuC,SAASmB,eAAe,cAClD1D,EAAS2D,cAAcC,YAAY5D,GACrC,KAAO,QAAUE,EAAYqC,SAASmB,eAAe,qBACnDxD,EAAUyD,cAAcC,YAAY1D,GACtC,KAAO,QAAUC,EAAaoC,SAASmB,eAAe,iBACpDvD,EAAWwD,cAAcC,YAAYzD,IAExCC,EAAayD,QAAU,SAAUtD,EAAGC,EAAGC,EAAGC,GACzCN,EAAaqD,UACXrD,EAAaiD,mBAAmBd,UAChCnC,EAAakC,UAAU/B,EAAGC,EAAGC,EAAGC,IAEnCN,EAAa0D,eAAiB,SAAUvD,EAAGC,EAAGC,EAAGC,GAChDN,EAAaqD,UACXrD,EAAaiD,mBAAmBd,UAChCnC,EAAa2C,iBAAiBxC,EAAGC,EAAGC,EAAGC,IAEtCN,GAGmB2D","file":"es5/Tmetrix.bundle.js","sourcesContent":["const CreateThreatMetrixExport = () => {\n let hp_frame = window.hp_frame || null;\n let tmx_frame = window.tmx_frame || null;\n let tmx_script = window.tmx_script || null;\n var threatmetrix = threatmetrix || {};\n (threatmetrix.version = 3),\n (threatmetrix.create_url = function (t, e, r, n, a) {\n function i() {\n return Math.floor(2742745743359 * Math.random());\n }\n function c() {\n return o(i());\n }\n function o(t) {\n return (t + 78364164096).toString(36);\n }\n var m = i(),\n u = i(),\n l = 885187064159;\n (u = ((u = u - (u % 256) + threatmetrix.version) + m) % 2742745743359),\n (l = (l + m) % 2742745743359);\n var s = \"https://\" + t + \"/\" + (m = c() + o(m)) + e,\n h = [(u = o(l) + o(u)) + \"=\" + r, c() + c() + \"=\" + n];\n return void 0 !== a && a.length > 0 && h.push(c() + c() + \"=\" + a), s + \"?\" + h.join(\"&\");\n }),\n (threatmetrix.beacon = function (t, e, r, n) {\n var a = \"turn:aa.online-metrix.net?transport=\",\n i = \"1:\" + e + \":\" + r,\n c = {\n iceServers: [\n { urls: a + \"tcp\", username: i, credential: r },\n { urls: a + \"udp\", username: i, credential: r },\n ],\n };\n try {\n var o = new RTCPeerConnection(c);\n o.createDataChannel(Math.random().toString());\n var m = function () {},\n u = function (t) {\n o.setLocalDescription(t, m, m);\n };\n \"undefined\" == typeof Promise || o.createOffer.length > 0\n ? o.createOffer(u, m)\n : o.createOffer().then(u, m);\n } catch (t) {}\n }),\n (threatmetrix.load_tags = function (t, e, r, n) {\n threatmetrix.beacon(t, e, r, n);\n var a = document.getElementsByTagName(\"head\").item(0),\n i = document.createElement(\"script\");\n (i.id = \"tmx_tags_js\"), i.setAttribute(\"type\", \"text/javascript\");\n var c = threatmetrix.create_url(t, \".js\", e, r, n);\n i.setAttribute(\"src\", c), threatmetrix.set_csp_nonce(i), a.appendChild(i);\n }),\n (threatmetrix.load_iframe_tags = function (t, e, r, n) {\n threatmetrix.beacon(t, e, r, n);\n var a = threatmetrix.create_url(t, \".htm\", e, r, n),\n i = document.createElement(\"iframe\");\n (i.title = \"empty\"),\n i.setAttribute(\"aria-disabled\", \"true\"),\n (i.width = \"0\"),\n (i.height = \"0\"),\n i.setAttribute(\n \"style\",\n \"color:rgba(0,0,0,0); float:left; position:absolute; top:-200; left:-200; border:0px\",\n ),\n i.setAttribute(\"src\", a),\n document.body.appendChild(i);\n }),\n (threatmetrix.csp_nonce = null),\n (threatmetrix.register_csp_nonce = function (t) {\n if (void 0 !== t.currentScript && null !== t.currentScript) {\n var e = t.currentScript.getAttribute(\"nonce\");\n void 0 !== e && null !== e && \"\" !== e\n ? (threatmetrix.csp_nonce = e)\n : void 0 !== t.currentScript.nonce &&\n null !== t.currentScript.nonce &&\n \"\" !== t.currentScript.nonce &&\n (threatmetrix.csp_nonce = t.currentScript.nonce);\n }\n }),\n (threatmetrix.set_csp_nonce = function (t) {\n null !== threatmetrix.csp_nonce &&\n (t.setAttribute(\"nonce\", threatmetrix.csp_nonce),\n t.getAttribute(\"nonce\") !== threatmetrix.csp_nonce && (t.nonce = threatmetrix.csp_nonce));\n }),\n (threatmetrix.cleanup = function () {\n for (; null !== (hp_frame = document.getElementById(\"tdz_ifrm\")); )\n hp_frame.parentElement.removeChild(hp_frame);\n for (; null !== (tmx_frame = document.getElementById(\"tmx_tags_iframe\")); )\n tmx_frame.parentElement.removeChild(tmx_frame);\n for (; null !== (tmx_script = document.getElementById(\"tmx_tags_js\")); )\n tmx_script.parentElement.removeChild(tmx_script);\n }),\n (threatmetrix.profile = function (t, e, r, n) {\n threatmetrix.cleanup(),\n threatmetrix.register_csp_nonce(document),\n threatmetrix.load_tags(t, e, r, n);\n }),\n (threatmetrix.profile_iframe = function (t, e, r, n) {\n threatmetrix.cleanup(),\n threatmetrix.register_csp_nonce(document),\n threatmetrix.load_iframe_tags(t, e, r, n);\n });\n return threatmetrix;\n};\n\nexport const ThreatMetrix = CreateThreatMetrixExport();\n"],"sourceRoot":""}
1
+ {"version":3,"file":"es5/Tmetrix.bundle.js","mappings":";oIAAA,MA2GaA,EA3GoB,MAC/B,IAAIC,EAAWC,OAAOD,UAAY,KAC9BE,EAAYD,OAAOC,WAAa,KAChCC,EAAaF,OAAOE,YAAc,KACtC,IAAIC,EAAeA,GAAgB,CA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WAAanD,EAAagD,YAAc7C,EAAEiD,MAAQpD,EAAagD,WAClF,EACChD,EAAaqD,QAAU,WACtB,KAAO,QAAUzD,EAAWuC,SAASmB,eAAe,cAClD1D,EAAS2D,cAAcC,YAAY5D,GACrC,KAAO,QAAUE,EAAYqC,SAASmB,eAAe,qBACnDxD,EAAUyD,cAAcC,YAAY1D,GACtC,KAAO,QAAUC,EAAaoC,SAASmB,eAAe,iBACpDvD,EAAWwD,cAAcC,YAAYzD,EACzC,EACCC,EAAayD,QAAU,SAAUtD,EAAGC,EAAGC,EAAGC,GACzCN,EAAaqD,UACXrD,EAAaiD,mBAAmBd,UAChCnC,EAAakC,UAAU/B,EAAGC,EAAGC,EAAGC,EACpC,EACCN,EAAa0D,eAAiB,SAAUvD,EAAGC,EAAGC,EAAGC,GAChDN,EAAaqD,UACXrD,EAAaiD,mBAAmBd,UAChCnC,EAAa2C,iBAAiBxC,EAAGC,EAAGC,EAAGC,EAC3C,EACKN,CAAY,EAGO2D","sources":["webpack://sheerid/./src/lib/ThreatMetrix/index.js"],"sourcesContent":["const CreateThreatMetrixExport = () => {\n let hp_frame = window.hp_frame || null;\n let tmx_frame = window.tmx_frame || null;\n let tmx_script = window.tmx_script || null;\n var threatmetrix = threatmetrix || {};\n (threatmetrix.version = 3),\n (threatmetrix.create_url = function (t, e, r, n, a) {\n function i() {\n return Math.floor(2742745743359 * Math.random());\n }\n function c() {\n return o(i());\n }\n function o(t) {\n return (t + 78364164096).toString(36);\n }\n var m = i(),\n u = i(),\n l = 885187064159;\n (u = ((u = u - (u % 256) + threatmetrix.version) + m) % 2742745743359),\n (l = (l + m) % 2742745743359);\n var s = \"https://\" + t + \"/\" + (m = c() + o(m)) + e,\n h = [(u = o(l) + o(u)) + \"=\" + r, c() + c() + \"=\" + n];\n return void 0 !== a && a.length > 0 && h.push(c() + c() + \"=\" + a), s + \"?\" + h.join(\"&\");\n }),\n (threatmetrix.beacon = function (t, e, r, n) {\n var a = \"turn:aa.online-metrix.net?transport=\",\n i = \"1:\" + e + \":\" + r,\n c = {\n iceServers: [\n { urls: a + \"tcp\", username: i, credential: r },\n { urls: a + \"udp\", username: i, credential: r },\n ],\n };\n try {\n var o = new RTCPeerConnection(c);\n o.createDataChannel(Math.random().toString());\n var m = function () {},\n u = function (t) {\n o.setLocalDescription(t, m, m);\n };\n \"undefined\" == typeof Promise || o.createOffer.length > 0\n ? o.createOffer(u, m)\n : o.createOffer().then(u, m);\n } catch (t) {}\n }),\n (threatmetrix.load_tags = function (t, e, r, n) {\n threatmetrix.beacon(t, e, r, n);\n var a = document.getElementsByTagName(\"head\").item(0),\n i = document.createElement(\"script\");\n (i.id = \"tmx_tags_js\"), i.setAttribute(\"type\", \"text/javascript\");\n var c = threatmetrix.create_url(t, \".js\", e, r, n);\n i.setAttribute(\"src\", c), threatmetrix.set_csp_nonce(i), a.appendChild(i);\n }),\n (threatmetrix.load_iframe_tags = function (t, e, r, n) {\n threatmetrix.beacon(t, e, r, n);\n var a = threatmetrix.create_url(t, \".htm\", e, r, n),\n i = document.createElement(\"iframe\");\n (i.title = \"empty\"),\n i.setAttribute(\"aria-disabled\", \"true\"),\n (i.width = \"0\"),\n (i.height = \"0\"),\n i.setAttribute(\n \"style\",\n \"color:rgba(0,0,0,0); float:left; position:absolute; top:-200; left:-200; border:0px\",\n ),\n i.setAttribute(\"src\", a),\n document.body.appendChild(i);\n }),\n (threatmetrix.csp_nonce = null),\n (threatmetrix.register_csp_nonce = function (t) {\n if (void 0 !== t.currentScript && null !== t.currentScript) {\n var e = t.currentScript.getAttribute(\"nonce\");\n void 0 !== e && null !== e && \"\" !== e\n ? (threatmetrix.csp_nonce = e)\n : void 0 !== t.currentScript.nonce &&\n null !== t.currentScript.nonce &&\n \"\" !== t.currentScript.nonce &&\n (threatmetrix.csp_nonce = t.currentScript.nonce);\n }\n }),\n (threatmetrix.set_csp_nonce = function (t) {\n null !== threatmetrix.csp_nonce &&\n (t.setAttribute(\"nonce\", threatmetrix.csp_nonce),\n t.getAttribute(\"nonce\") !== threatmetrix.csp_nonce && (t.nonce = threatmetrix.csp_nonce));\n }),\n (threatmetrix.cleanup = function () {\n for (; null !== (hp_frame = document.getElementById(\"tdz_ifrm\")); )\n hp_frame.parentElement.removeChild(hp_frame);\n for (; null !== (tmx_frame = document.getElementById(\"tmx_tags_iframe\")); )\n tmx_frame.parentElement.removeChild(tmx_frame);\n for (; null !== (tmx_script = document.getElementById(\"tmx_tags_js\")); )\n tmx_script.parentElement.removeChild(tmx_script);\n }),\n (threatmetrix.profile = function (t, e, r, n) {\n threatmetrix.cleanup(),\n threatmetrix.register_csp_nonce(document),\n threatmetrix.load_tags(t, e, r, n);\n }),\n (threatmetrix.profile_iframe = function (t, e, r, n) {\n threatmetrix.cleanup(),\n threatmetrix.register_csp_nonce(document),\n threatmetrix.load_iframe_tags(t, e, r, n);\n });\n return threatmetrix;\n};\n\nexport const ThreatMetrix = CreateThreatMetrixExport();\n"],"names":["ThreatMetrix","hp_frame","window","tmx_frame","tmx_script","threatmetrix","version","create_url","t","e","r","n","a","i","Math","floor","random","c","o","toString","m","u","l","s","h","length","push","join","beacon","iceServers","urls","username","credential","RTCPeerConnection","createDataChannel","setLocalDescription","Promise","createOffer","then","load_tags","document","getElementsByTagName","item","createElement","id","setAttribute","set_csp_nonce","appendChild","load_iframe_tags","title","width","height","body","csp_nonce","register_csp_nonce","currentScript","getAttribute","nonce","cleanup","getElementById","parentElement","removeChild","profile","profile_iframe","CreateThreatMetrixExport"],"sourceRoot":""}