@sheerid/jslib 1.98.0 → 1.101.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.
- package/__tests__/__mocks__/mockRequestsAndViewModels.d.ts +2 -1
- package/__tests__/__mocks__/mockResponses.d.ts +2 -1
- package/__tests__/__mocks__/mockVerificationService.d.ts +1 -0
- package/es5/Tmetrix.bundle.js +5 -5
- package/es5/Tmetrix.bundle.js.map +1 -1
- package/es5/messages_ar.bundle.js +5 -5
- package/es5/messages_bg.bundle.js +5 -5
- package/es5/messages_cs.bundle.js +5 -5
- package/es5/messages_da.bundle.js +5 -5
- package/es5/messages_de.bundle.js +5 -5
- package/es5/messages_el.bundle.js +5 -5
- package/es5/messages_en-GB.bundle.js +5 -5
- package/es5/messages_es-ES.bundle.js +5 -5
- package/es5/messages_es.bundle.js +5 -5
- package/es5/messages_fi.bundle.js +5 -5
- package/es5/messages_fr-CA.bundle.js +5 -5
- package/es5/messages_fr.bundle.js +5 -5
- package/es5/messages_ga.bundle.js +5 -5
- package/es5/messages_hr.bundle.js +5 -5
- package/es5/messages_hu.bundle.js +5 -5
- package/es5/messages_id.bundle.js +5 -5
- package/es5/messages_it.bundle.js +5 -5
- package/es5/messages_iw.bundle.js +5 -5
- package/es5/messages_ja.bundle.js +5 -5
- package/es5/messages_ko.bundle.js +5 -5
- package/es5/messages_lo.bundle.js +5 -5
- package/es5/messages_lt.bundle.js +5 -5
- package/es5/messages_ms.bundle.js +5 -5
- package/es5/messages_nl.bundle.js +5 -5
- package/es5/messages_no.bundle.js +5 -5
- package/es5/messages_pl.bundle.js +5 -5
- package/es5/messages_pt-BR.bundle.js +5 -5
- package/es5/messages_pt.bundle.js +5 -5
- package/es5/messages_ru.bundle.js +5 -5
- package/es5/messages_sk.bundle.js +5 -5
- package/es5/messages_sl.bundle.js +5 -5
- package/es5/messages_sr.bundle.js +5 -5
- package/es5/messages_sv.bundle.js +5 -5
- package/es5/messages_th.bundle.js +5 -5
- package/es5/messages_tr.bundle.js +5 -5
- package/es5/messages_zh-HK.bundle.js +5 -5
- package/es5/messages_zh.bundle.js +5 -5
- package/es6/{ar-aa7923c0.es.js → ar-1faa4db1.es.js} +23 -1
- package/es6/{cs-0102f276.es.js.map → ar-1faa4db1.es.js.map} +1 -1
- package/es6/{bg-7716e1e1.es.js → bg-45d1d14b.es.js} +23 -1
- package/es6/{ar-aa7923c0.es.js.map → bg-45d1d14b.es.js.map} +1 -1
- package/es6/{cs-0102f276.es.js → cs-e8160a36.es.js} +30 -8
- package/es6/{da-7ea93323.es.js.map → cs-e8160a36.es.js.map} +1 -1
- package/es6/{da-7ea93323.es.js → da-f9ed1458.es.js} +24 -2
- package/es6/{bg-7716e1e1.es.js.map → da-f9ed1458.es.js.map} +1 -1
- package/es6/{de-37bf2739.es.js → de-e7a08b06.es.js} +24 -2
- package/es6/de-e7a08b06.es.js.map +1 -0
- package/es6/{el-04fa4103.es.js → el-04b888ea.es.js} +24 -2
- package/es6/el-04b888ea.es.js.map +1 -0
- package/es6/{en-GB-8acf43be.es.js → en-GB-2db915cc.es.js} +24 -2
- package/es6/{en-GB-8acf43be.es.js.map → en-GB-2db915cc.es.js.map} +1 -1
- package/es6/{es-5112b32e.es.js → es-5a900d0c.es.js} +42 -20
- package/es6/es-5a900d0c.es.js.map +1 -0
- package/es6/{es-ES-c906634a.es.js → es-ES-941e8db9.es.js} +40 -18
- package/es6/{es-ES-c906634a.es.js.map → es-ES-941e8db9.es.js.map} +1 -1
- package/es6/{fi-2277ea1e.es.js → fi-fde4fec9.es.js} +24 -2
- package/es6/fi-fde4fec9.es.js.map +1 -0
- package/es6/{fr-b9d3dc58.es.js → fr-80a2a26c.es.js} +23 -1
- package/es6/fr-80a2a26c.es.js.map +1 -0
- package/es6/{fr-CA-bfca14f3.es.js → fr-CA-3826bfe9.es.js} +57 -35
- package/es6/{fr-CA-bfca14f3.es.js.map → fr-CA-3826bfe9.es.js.map} +1 -1
- package/es6/{ga-4bf9710e.es.js → ga-7703dbc9.es.js} +23 -1
- package/es6/ga-7703dbc9.es.js.map +1 -0
- package/es6/{hr-ed9b974f.es.js → hr-a7f4488e.es.js} +23 -1
- package/es6/hr-a7f4488e.es.js.map +1 -0
- package/es6/{hu-a36c8244.es.js → hu-bb1a7231.es.js} +23 -1
- package/es6/hu-bb1a7231.es.js.map +1 -0
- package/es6/{id-5896c7f1.es.js → id-edc10c45.es.js} +23 -1
- package/es6/id-edc10c45.es.js.map +1 -0
- package/es6/{it-7c28e015.es.js → it-6d7b10ed.es.js} +23 -1
- package/es6/it-6d7b10ed.es.js.map +1 -0
- package/es6/{iw-e61ca28b.es.js → iw-ca617691.es.js} +23 -1
- package/es6/iw-ca617691.es.js.map +1 -0
- package/es6/{ja-5e5d13be.es.js → ja-b39bfd96.es.js} +23 -1
- package/es6/ja-b39bfd96.es.js.map +1 -0
- package/es6/{ko-e4c5d44d.es.js → ko-f5f37c0e.es.js} +23 -1
- package/es6/ko-f5f37c0e.es.js.map +1 -0
- package/es6/{lo-3d03c534.es.js → lo-1375d6dc.es.js} +23 -1
- package/es6/lo-1375d6dc.es.js.map +1 -0
- package/es6/{lt-99c6971e.es.js → lt-272ca866.es.js} +23 -1
- package/es6/lt-272ca866.es.js.map +1 -0
- package/es6/{ms-e537ec43.es.js → ms-4eabd6f7.es.js} +23 -1
- package/es6/ms-4eabd6f7.es.js.map +1 -0
- package/es6/{nl-162d7a39.es.js → nl-cf693076.es.js} +23 -1
- package/es6/nl-cf693076.es.js.map +1 -0
- package/es6/{no-53861522.es.js → no-7ebde5a4.es.js} +23 -1
- package/es6/no-7ebde5a4.es.js.map +1 -0
- package/es6/{pl-b2b55c9f.es.js → pl-e70aadbd.es.js} +23 -1
- package/es6/pl-e70aadbd.es.js.map +1 -0
- package/es6/{pt-61825a2b.es.js → pt-2c7668f4.es.js} +23 -1
- package/es6/pt-2c7668f4.es.js.map +1 -0
- package/es6/{pt-BR-a9efa2ab.es.js → pt-BR-37b0709b.es.js} +23 -1
- package/es6/{pt-BR-a9efa2ab.es.js.map → pt-BR-37b0709b.es.js.map} +1 -1
- package/es6/{ru-cba590b5.es.js → ru-4165ace7.es.js} +23 -1
- package/es6/ru-4165ace7.es.js.map +1 -0
- package/es6/{sk-a190ec18.es.js → sk-139145b7.es.js} +23 -1
- package/es6/sk-139145b7.es.js.map +1 -0
- package/es6/{sl-fb23d48f.es.js → sl-04fc215b.es.js} +23 -1
- package/es6/sl-04fc215b.es.js.map +1 -0
- package/es6/{sr-07ed6a42.es.js → sr-0a49e21b.es.js} +23 -1
- package/es6/sr-0a49e21b.es.js.map +1 -0
- package/es6/{sv-bd7e69b0.es.js → sv-10054373.es.js} +23 -1
- package/es6/sv-10054373.es.js.map +1 -0
- package/es6/{th-ee9b4c94.es.js → th-37fb110c.es.js} +23 -1
- package/es6/th-37fb110c.es.js.map +1 -0
- package/es6/{tr-133c4315.es.js → tr-af77cc51.es.js} +23 -1
- package/es6/tr-af77cc51.es.js.map +1 -0
- package/es6/{zh-HK-bea37a07.es.js → zh-HK-625f012f.es.js} +23 -1
- package/es6/zh-HK-625f012f.es.js.map +1 -0
- package/es6/{zh-52690171.es.js → zh-ec86f7f8.es.js} +23 -1
- package/es6/zh-ec86f7f8.es.js.map +1 -0
- package/localized-messages/ar.json +22 -0
- package/localized-messages/bg.json +22 -0
- package/localized-messages/cs.json +29 -7
- package/localized-messages/da.json +23 -1
- package/localized-messages/de.json +23 -1
- package/localized-messages/el.json +23 -1
- package/localized-messages/en-GB.json +23 -1
- package/localized-messages/en-US.json +22 -0
- package/localized-messages/es-ES.json +39 -17
- package/localized-messages/es.json +41 -19
- package/localized-messages/fi.json +23 -1
- package/localized-messages/fr-CA.json +56 -34
- package/localized-messages/fr.json +22 -0
- package/localized-messages/ga.json +22 -0
- package/localized-messages/hr.json +22 -0
- package/localized-messages/hu.json +22 -0
- package/localized-messages/id.json +22 -0
- package/localized-messages/it.json +22 -0
- package/localized-messages/iw.json +22 -0
- package/localized-messages/ja.json +22 -0
- package/localized-messages/ko.json +22 -0
- package/localized-messages/lo.json +22 -0
- package/localized-messages/lt.json +22 -0
- package/localized-messages/ms.json +22 -0
- package/localized-messages/nl.json +22 -0
- package/localized-messages/no.json +22 -0
- package/localized-messages/pl.json +22 -0
- package/localized-messages/pt-BR.json +22 -0
- package/localized-messages/pt.json +22 -0
- package/localized-messages/ru.json +22 -0
- package/localized-messages/sk.json +22 -0
- package/localized-messages/sl.json +22 -0
- package/localized-messages/sr.json +22 -0
- package/localized-messages/sv.json +22 -0
- package/localized-messages/th.json +22 -0
- package/localized-messages/tr.json +22 -0
- package/localized-messages/zh-HK.json +22 -0
- package/localized-messages/zh.json +22 -0
- package/manifest.json +49 -49
- package/package.json +1 -1
- package/sheerid-requestOrg.css +5 -5
- package/sheerid-requestOrg.css.map +1 -1
- package/sheerid-requestOrg.js +15 -15
- package/sheerid-requestOrg.js.map +1 -1
- package/sheerid-utils.js +9 -9
- package/sheerid-utils.js.map +1 -1
- package/sheerid.css +5 -5
- package/sheerid.css.map +1 -1
- package/sheerid.js +18 -18
- package/sheerid.js.map +1 -1
- package/sheerides6.js +573 -290
- package/sheerides6.js.map +1 -1
- package/src/components/CopyToClipboard/CopyToClipboardComponent.d.ts +1 -1
- package/src/components/FeatureFlags/flags.d.ts +0 -1
- package/src/components/FeatureFlags/hooks.d.ts +1 -1
- package/src/components/FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent.d.ts +7 -0
- package/src/components/FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent.test.d.ts +1 -0
- package/src/components/StepLowIncomePersonalInfo/StepLowIncomePersonalInfoComponent.d.ts +11 -0
- package/src/components/StepLowIncomePersonalInfo/StepLowIncomePersonalInfoComponent.test.d.ts +1 -0
- package/src/es6.d.ts +3 -2
- package/src/lib/ServerApi/Network.d.ts +1 -4
- package/src/lib/ServerApi/VerificationApiClient.d.ts +1 -1
- package/src/lib/VerificationService/ViewModel.d.ts +3 -2
- package/src/lib/frames/frameMessages.d.ts +7 -7
- package/src/lib/installScript/iframe.d.ts +6 -0
- package/src/lib/installScript/index.d.ts +4 -2
- package/src/lib/installScript/modal.d.ts +4 -1
- package/src/lib/intl/messages/lowIncomeMessages.d.ts +2 -0
- package/src/lib/types/empties.d.ts +2 -1
- package/src/lib/types/runtimeTypes.d.ts +9 -2
- package/src/lib/types/types.d.ts +44 -12
- package/src/serverMocks/mocks.d.ts +3 -1
- package/types-reference.zip +0 -0
- package/es6/de-37bf2739.es.js.map +0 -1
- package/es6/el-04fa4103.es.js.map +0 -1
- package/es6/es-5112b32e.es.js.map +0 -1
- package/es6/fi-2277ea1e.es.js.map +0 -1
- package/es6/fr-b9d3dc58.es.js.map +0 -1
- package/es6/ga-4bf9710e.es.js.map +0 -1
- package/es6/hr-ed9b974f.es.js.map +0 -1
- package/es6/hu-a36c8244.es.js.map +0 -1
- package/es6/id-5896c7f1.es.js.map +0 -1
- package/es6/it-7c28e015.es.js.map +0 -1
- package/es6/iw-e61ca28b.es.js.map +0 -1
- package/es6/ja-5e5d13be.es.js.map +0 -1
- package/es6/ko-e4c5d44d.es.js.map +0 -1
- package/es6/lo-3d03c534.es.js.map +0 -1
- package/es6/lt-99c6971e.es.js.map +0 -1
- package/es6/ms-e537ec43.es.js.map +0 -1
- package/es6/nl-162d7a39.es.js.map +0 -1
- package/es6/no-53861522.es.js.map +0 -1
- package/es6/pl-b2b55c9f.es.js.map +0 -1
- package/es6/pt-61825a2b.es.js.map +0 -1
- package/es6/ru-cba590b5.es.js.map +0 -1
- package/es6/sk-a190ec18.es.js.map +0 -1
- package/es6/sl-fb23d48f.es.js.map +0 -1
- package/es6/sr-07ed6a42.es.js.map +0 -1
- package/es6/sv-bd7e69b0.es.js.map +0 -1
- package/es6/th-ee9b4c94.es.js.map +0 -1
- package/es6/tr-133c4315.es.js.map +0 -1
- package/es6/zh-52690171.es.js.map +0 -1
- package/es6/zh-HK-bea37a07.es.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StudentPersonalInfoViewModel, TeacherPersonalInfoViewModel, DocUploadViewModel, ActiveMilitaryPersonalInfoViewModel, SeniorPersonalInfoViewModel, AgePersonalInfoViewModel, FirstResponderPersonalInfoViewModel, MedicalProfessionalPersonalInfoViewModel, MemberPersonalInfoViewModel, EmploymentPersonalInfoViewModel, SMSLoopViewModel, InactiveMilitaryPersonalInfoViewModel, DriverLicensePersonalInfoViewModel, LicensedProfessionalPersonalInfoViewModel, MoverPersonalInfoViewModel } from "../../src/lib/types/types";
|
|
1
|
+
import { StudentPersonalInfoViewModel, TeacherPersonalInfoViewModel, DocUploadViewModel, ActiveMilitaryPersonalInfoViewModel, SeniorPersonalInfoViewModel, AgePersonalInfoViewModel, FirstResponderPersonalInfoViewModel, MedicalProfessionalPersonalInfoViewModel, MemberPersonalInfoViewModel, EmploymentPersonalInfoViewModel, SMSLoopViewModel, InactiveMilitaryPersonalInfoViewModel, DriverLicensePersonalInfoViewModel, LicensedProfessionalPersonalInfoViewModel, MoverPersonalInfoViewModel, LowIncomePersonalInfoViewModel } from "../../src/lib/types/types";
|
|
2
2
|
export declare const mockStudentPersonalViewModel: Readonly<StudentPersonalInfoViewModel>;
|
|
3
3
|
export declare const mockSeniorPersonalViewModel: Readonly<SeniorPersonalInfoViewModel>;
|
|
4
4
|
export declare const mockAgePersonalViewModel: Readonly<AgePersonalInfoViewModel>;
|
|
@@ -11,6 +11,7 @@ export declare const mockMemberPersonalViewModel: Readonly<MemberPersonalInfoVie
|
|
|
11
11
|
export declare const mockDriverLicensePersonalViewModel: Readonly<DriverLicensePersonalInfoViewModel>;
|
|
12
12
|
export declare const mockLicensedProfessionalPersonalViewModel: Readonly<LicensedProfessionalPersonalInfoViewModel>;
|
|
13
13
|
export declare const mockMoverPersonalViewModel: Readonly<MoverPersonalInfoViewModel>;
|
|
14
|
+
export declare const mockLowIncomePersonalViewModel: Readonly<LowIncomePersonalInfoViewModel>;
|
|
14
15
|
export declare const mockDocUploadViewModel: Readonly<DocUploadViewModel>;
|
|
15
16
|
export declare const mockSMSLoopViewModel: Readonly<SMSLoopViewModel>;
|
|
16
17
|
export declare const mockEmptyEmploymentPersonalViewModel: Readonly<EmploymentPersonalInfoViewModel>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DocUploadResponse, SMSLoopResponse, StudentPersonalInfoResponse, TeacherPersonalInfoResponse, ActiveMilitaryPersonalInfoResponse, InactiveMilitaryPersonalInfoResponse, MilitaryStatusResponse, SeniorPersonalInfoResponse, AgePersonalInfoResponse, FirstResponderPersonalInfoResponse, MedicalProfessionalPersonalInfoResponse, MemberPersonalInfoResponse, EmploymentPersonalInfoResponse, ErrorResponse, SuccessResponse, SocialSecurityResponse, DriverLicensePersonalInfoResponse, GeneralIdentityPersonalInfoResponse, HybridIdentityPersonalInfoResponse, PendingResponse, LicensedProfessionalPersonalInfoResponse, MoverPersonalInfoResponse } from "../../src/lib/types/types";
|
|
1
|
+
import { DocUploadResponse, SMSLoopResponse, StudentPersonalInfoResponse, TeacherPersonalInfoResponse, ActiveMilitaryPersonalInfoResponse, InactiveMilitaryPersonalInfoResponse, MilitaryStatusResponse, SeniorPersonalInfoResponse, AgePersonalInfoResponse, FirstResponderPersonalInfoResponse, MedicalProfessionalPersonalInfoResponse, MemberPersonalInfoResponse, EmploymentPersonalInfoResponse, ErrorResponse, SuccessResponse, SocialSecurityResponse, DriverLicensePersonalInfoResponse, GeneralIdentityPersonalInfoResponse, HybridIdentityPersonalInfoResponse, PendingResponse, LicensedProfessionalPersonalInfoResponse, MoverPersonalInfoResponse, LowIncomePersonalInfoResponse } from "../../src/lib/types/types";
|
|
2
2
|
export declare const mockCollectStudentPersonalInfoResponse: Readonly<StudentPersonalInfoResponse>;
|
|
3
3
|
export declare const mockFRCollectStudentPersonalInfoResponse: Readonly<StudentPersonalInfoResponse>;
|
|
4
4
|
export declare const mockCollectTeacherPersonalInfoResponse: Readonly<TeacherPersonalInfoResponse>;
|
|
@@ -16,6 +16,7 @@ export declare const mockCollectGeneralIdentityPersonalInfoResponse: Readonly<Ge
|
|
|
16
16
|
export declare const mockCollectLicensedProfessionalPersonalInfoResponse: Readonly<LicensedProfessionalPersonalInfoResponse>;
|
|
17
17
|
export declare const mockCollectHybridIdentityPersonalInfoResponse: Readonly<HybridIdentityPersonalInfoResponse>;
|
|
18
18
|
export declare const mockCollectMoverPersonalInfoResponse: Readonly<MoverPersonalInfoResponse>;
|
|
19
|
+
export declare const mockCollectLowIncomePersonalInfoResponse: Readonly<LowIncomePersonalInfoResponse>;
|
|
19
20
|
export declare const mockSocialSecurityResponse: Readonly<SocialSecurityResponse>;
|
|
20
21
|
export declare const mockDocUploadResponse: Readonly<DocUploadResponse>;
|
|
21
22
|
export declare const mockSMSLoopResponse: Readonly<SMSLoopResponse>;
|
|
@@ -18,6 +18,7 @@ export declare const mockMemberVerificationService: VerificationService;
|
|
|
18
18
|
export declare const mockIdentityVerificationService: VerificationService;
|
|
19
19
|
export declare const mockLicensedProfessionalVerificationService: VerificationService;
|
|
20
20
|
export declare const mockMoverVerificationService: VerificationService;
|
|
21
|
+
export declare const mockLowIncomeVerificationService: VerificationService;
|
|
21
22
|
export declare const mockErroredVerificationService: VerificationService;
|
|
22
23
|
export declare const mockFilesVerificationServiceDocUpload: VerificationService;
|
|
23
24
|
export declare const mockSuccessVerificationService: VerificationService;
|
package/es5/Tmetrix.bundle.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* VERSION: 1.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 1.101.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1656416210936
|
|
5
|
+
* BUILD_DATE: Tue Jun 28 2022 11:36:50 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 29a1cada080cc77c87266d60c1ba45007848f6c2
|
|
7
7
|
*
|
|
8
8
|
*/
|
|
9
|
-
window.sheerIdCurrentScript=document.currentScript,window.sheerIdEs5="true",window.sheerIdPubV="1.
|
|
9
|
+
window.sheerIdCurrentScript=document.currentScript,window.sheerIdEs5="true",window.sheerIdPubV="1.101.0",(window.webpackJsonpsheerid=window.webpackJsonpsheerid||[]).push([[0],{513: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 u(){return a(i())}function a(e){return(e+78364164096).toString(36)}var s=i(),l=i(),d=885187064159;l=((l=l-l%256+r.version)+s)%2742745743359,d=(d+s)%2742745743359;var p="https://"+e+"/"+(s=u()+a(s))+t,m=[(l=a(d)+a(l))+"="+n,u()+u()+"="+c];return void 0!==o&&o.length>0&&m.push(u()+u()+"="+o),p+"?"+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 u=new RTCPeerConnection(i);u.createDataChannel(Math.random().toString());var a=function(){},s=function(e){u.setLocalDescription(e,a,a)};"undefined"==typeof Promise||u.createOffer.length>0?u.createOffer(s,a):u.createOffer().then(s,a)}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 u=r.create_url(e,".js",t,n,c);i.setAttribute("src",u),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
10
|
//# sourceMappingURL=Tmetrix.bundle.js.map
|
|
@@ -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":";;;;;;;;
|
|
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":"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","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":""}
|