diff --git a/assets/profile.min.js b/assets/profile.min.js index 2a26b169..ccda13e9 100644 --- a/assets/profile.min.js +++ b/assets/profile.min.js @@ -1 +1 @@ -!function(e,t){function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(e);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t

'+e+"

"):t.find(".security-key-status").text("")}function r(e){var n=e instanceof DOMException?function(e,t){switch(e.name){case"NotAllowedError":return a;case"SecurityError":return o;case"NotSupportedError":return c;case"AbortError":return s;case"InvalidStateError":return t?d:u;default:return e.message}}(e,!1):e.message,r=t.find(".registered-keys");r.siblings(".notice").remove(),r.before('")}t.find(".add-webauthn-key button").on("click",(function(){t.find(".registered-keys").prev(".notice").remove(),n(f),x({action:"webauthn_preregister",_ajax_nonce:tfa_webauthn.nonce}).then((function(e){n(b),tfa_webauthn.nonce=e.data.nonce;var t=function(e){var t;return i({},e,{user:i({},e.user,{id:m(k(e.user.id))}),challenge:m(k(e.challenge)),excludeCredentials:null===(t=e.excludeCredentials)||void 0===t?void 0:t.map((function(e){return i({},e,{id:m(k(e.id))})}))})}(e.data.options);return navigator.credentials.create({publicKey:t})})).then((function(t){if(t){n(h);var r=e("#webauthn-key-name").val();return x({action:"webauthn_register",_ajax_nonce:tfa_webauthn.nonce,credential:JSON.stringify((i=t,a=i.response,{id:i.id,type:i.type,rawId:_(new Uint8Array(i.rawId)),clientExtensionResults:i.getClientExtensionResults(),response:{attestationObject:"attestationObject"in a?_(new Uint8Array(a.attestationObject)):void 0,authenticatorData:"authenticatorData"in a?_(new Uint8Array(a.authenticatorData)):void 0,signature:"signature"in a?_(new Uint8Array(a.signature)):void 0,userHandle:"userHandle"in a&&a.userHandle?_(new Uint8Array(a.userHandle)):void 0,clientDataJSON:_(new Uint8Array(i.response.clientDataJSON))}})),name:r})}var i,a;throw new Error(v)})).then((function(e){tfa_webauthn.nonce=e.data.nonce;var n=t.find(".registered-keys");n.find("tbody > tr:last-child").after(e.data.row),n.find("tbody > tr.no-items").remove(),n.before('")})).catch(r).finally((function(){n(""),e("#webauthn-key-name").val("")}))})),t.find(".registered-keys").on("click","tbody .delete a",(function(i){t.find(".registered-keys").prev(".notice").remove(),i.preventDefault();var a=e(i.target),o=a.closest(".row-actions");if(!o.siblings(".confirm-revoke").length){var c=a.data("handle"),s=a.data("nonce"),d=t.find(".registered-keys"),u=e(e("#webauthn-revoke-confirm").text());o.after(u),o.siblings(".confirm-revoke").on("click",".button-secondary",(function(){o.siblings(".confirm-revoke").remove()})).on("click",".button-link-delete",(function(){return o.siblings(".confirm-revoke").hide(),n(w),x({action:"webauthn_delete_key",_ajax_nonce:s,handle:c}).then((function(){d.before('"),a.closest("tr").remove(),d.find("tbody > tr").length||d.find("tbody").append(e("#webauthn-no-keys").text())})).catch(r).finally((function(){n(""),o.siblings(".confirm-revoke").remove()}))}))}})),t.find(".registered-keys").on("click","tbody .rename a",(function(i){t.find(".registered-keys").prev(".notice").remove(),i.preventDefault();var a=e(i.target),o=a.closest(".row-actions");if(!o.siblings(".rename-key").length){var c=a.data("handle"),s=a.data("nonce"),d=a.closest("td").find("span.key-name").text().trim(),u=t.find(".registered-keys"),l=e(e("#webauthn-rename-key").text());o.after(l),o.siblings(".rename-key").on("click",".button-secondary",(function(){o.siblings(".rename-key").remove()})).on("click",".button-primary",(function(){var e=o.siblings(".rename-key").find('input[type="text"]').val();return o.siblings(".rename-key").hide(),n(w),x({action:"webauthn_rename_key",_ajax_nonce:s,handle:c,name:e}).then((function(e){u.before('"),a.closest("td").find("span.key-name").text(e.data.name)})).catch(r).finally((function(){n(""),o.siblings(".rename-key").remove()}))})).find('input[type="text"]').val(d)}}))}))}(jQuery,wp.i18n); +!function(e,t){function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t

'+e+"

"):t.find(".security-key-status").text("")}function m(e){var n=e instanceof DOMException?function(e,t){switch(e.name){case"NotAllowedError":return r;case"SecurityError":return i;case"NotSupportedError":return a;case"AbortError":return o;case"InvalidStateError":return t?c:s;default:return e.message}}(e,!1):e.message,d=t.find(".registered-keys");d.siblings(".notice").remove(),d.before('")}t.find(".add-webauthn-key button").on("click",(function(){t.find(".registered-keys").prev(".notice").remove(),d(u),k({action:"webauthn_preregister",_ajax_nonce:tfa_webauthn.nonce}).then((function(e){d(l),tfa_webauthn.nonce=e.data.nonce;var t=function(e){var t;return n({},e,{user:n({},e.user,{id:_(g(e.user.id))}),challenge:_(g(e.challenge)),excludeCredentials:null===(t=e.excludeCredentials)||void 0===t?void 0:t.map((function(e){return n({},e,{id:_(g(e.id))})}))})}(e.data.options);return navigator.credentials.create({publicKey:t})})).then((function(t){if(t){d(f);var n=e("#webauthn-key-name").val();return k({action:"webauthn_register",_ajax_nonce:tfa_webauthn.nonce,credential:JSON.stringify((r=t,i=r.response,{id:r.id,type:r.type,rawId:y(new Uint8Array(r.rawId)),clientExtensionResults:r.getClientExtensionResults(),response:{attestationObject:"attestationObject"in i?y(new Uint8Array(i.attestationObject)):void 0,authenticatorData:"authenticatorData"in i?y(new Uint8Array(i.authenticatorData)):void 0,signature:"signature"in i?y(new Uint8Array(i.signature)):void 0,userHandle:"userHandle"in i&&i.userHandle?y(new Uint8Array(i.userHandle)):void 0,clientDataJSON:y(new Uint8Array(r.response.clientDataJSON))}})),name:n})}var r,i;throw new Error(h)})).then((function(e){tfa_webauthn.nonce=e.data.nonce;var n=t.find(".registered-keys");n.find("tbody > tr:last-child").after(e.data.row),n.find("tbody > tr.no-items").remove(),n.before('")})).catch(m).finally((function(){d(""),e("#webauthn-key-name").val("")}))})),t.find(".registered-keys").on("click","tbody .delete a",(function(n){t.find(".registered-keys").prev(".notice").remove(),n.preventDefault();var r=e(n.target),i=r.closest(".row-actions");if(!i.siblings(".confirm-revoke").length){var a=r.data("handle"),o=r.data("nonce"),c=t.find(".registered-keys"),s=e(e("#webauthn-revoke-confirm").text());i.after(s),i.siblings(".confirm-revoke").on("click",".button-secondary",(function(){i.siblings(".confirm-revoke").remove()})).on("click",".button-link-delete",(function(){return i.siblings(".confirm-revoke").hide(),d(v),k({action:"webauthn_delete_key",_ajax_nonce:o,handle:a}).then((function(){c.before('"),r.closest("tr").remove(),c.find("tbody > tr").length||c.find("tbody").append(e("#webauthn-no-keys").text())})).catch(m).finally((function(){d(""),i.siblings(".confirm-revoke").remove()}))}))}})),t.find(".registered-keys").on("click","tbody .rename a",(function(n){t.find(".registered-keys").prev(".notice").remove(),n.preventDefault();var r=e(n.target),i=r.closest(".row-actions");if(!i.siblings(".rename-key").length){var a=r.data("handle"),o=r.data("nonce"),c=r.closest("td").find("span.key-name").text().trim(),s=t.find(".registered-keys"),u=e(e("#webauthn-rename-key").text());i.after(u),i.siblings(".rename-key").on("click",".button-secondary",(function(){i.siblings(".rename-key").remove()})).on("click",".button-primary",(function(){var e=i.siblings(".rename-key").find('input[type="text"]').val();return i.siblings(".rename-key").hide(),d(v),k({action:"webauthn_rename_key",_ajax_nonce:o,handle:a,name:e}).then((function(e){s.before('"),r.closest("td").find("span.key-name").text(e.data.name)})).catch(m).finally((function(){d(""),i.siblings(".rename-key").remove()}))})).find('input[type="text"]').val(c)}}))}))}(jQuery,wp.i18n); diff --git a/assets/profile.min.js.map b/assets/profile.min.js.map index 494a1a82..6463626a 100644 --- a/assets/profile.min.js.map +++ b/assets/profile.min.js.map @@ -1 +1 @@ -{"version":3,"file":"profile.min.js","sources":["lang.ts","common.ts","profile.ts"],"sourcesContent":[null,null,null],"names":["__","L_NOT_ALLOWED_ERROR","L_SECURITY_ERROR","L_NOT_SUPPORTED_ERROR","L_ABORT_ERROR","L_UNKNOWN_KEY","L_KEY_ALREADY_REGISTERED","L_UNKNOWN_ERROR","L_FETCHING_REG_INFO","L_GENERATING_CREDENTIALS","L_REGISTERING_CREDENTIALS","L_FAILED_TO_CREATE_CREDENTIALS","L_KEY_REGISTERED","L_SENDING_REQUEST","L_KEY_REVOKED","L_KEY_RENAMED","arrayToBase64String","a","window","btoa","String","fromCharCode","apply","base64UrlDecode","input","atob","replace","repeat","length","stringToBuffer","s","Uint8Array","from","c","charCodeAt","ajaxRequest","data","Promise","resolve","reject","jQuery","ajax","method","url","ajaxurl","done","response","fail","message","responseJSON","statusText","Error","jQuery__default","$","parent","updateStatus","status","find","html","text","errorHandler","e","DOMException","isAuth","name","decodeDOMException","table","siblings","remove","before","on","prev","action","_ajax_nonce","tfa_webauthn","nonce","then","publicKey","_extends","user","id","challenge","excludeCredentials","_a","map","preparePublicKeyCreationOptions","options","navigator","credentials","create","val","credential","JSON","stringify","type","rawId","clientExtensionResults","getClientExtensionResults","attestationObject","undefined","authenticatorData","signature","userHandle","clientDataJSON","after","row","preventDefault","target","actions","closest","handle","tpl","hide","append","trim","keyname","r"],"mappings":"sUAEwCA,EAAAA,GAAG,4CAA6C,gCAC3CA,EAAAA,GAC5C,yCACA,gCAEM,IAAMC,EAAsBD,EAAEA,GAAC,8BAA+B,gCACxDE,EAAmBF,EAAEA,GAAC,6BAA8B,gCACpDG,EAAwBH,EAAEA,GAAC,kCAAmC,gCAC9DI,EAAgBJ,EAAEA,GAAC,8BAA+B,gCAClDK,EAAgBL,EAAEA,GAAC,qCAAsC,gCACzDM,EAA2BN,EAAEA,GAAC,kCAAmC,gCACjEO,EAAkBP,EAAEA,GAAC,kCAAmC,gCACxDQ,EAAsBR,EAAEA,GAAC,qCAAsC,gCAC/DS,EAA2BT,EAAEA,GAAC,0BAA2B,gCACzDU,EAA4BV,EAAEA,GAAC,2BAA4B,gCAC3DW,EAAiCX,EAAEA,GAC/C,0CACA,gCAEYY,EAAmBZ,EAAEA,GAAC,+BAAgC,gCACtDa,EAAoBb,EAAEA,GAAC,mBAAoB,gCAC3Cc,EAAgBd,EAAEA,GAAC,4BAA6B,gCAChDe,EAAgBf,EAAAA,GAAG,4BAA6B,gCCgB7D,SAASgB,EAAoBC,GAC5B,OAAOC,OAAOC,KAAKC,OAAOC,aAAPC,MAAAF,OAAuBH,GAC1C,CAED,SAASM,EAAgBC,GACxB,OAAON,OAAOO,KAAKD,EAA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SAAS,mBAAmBC,QACpC,MAlCH,KAsCFd,EAAOG,KAAK,oBAAoBa,GAAG,QAAS,mBAAmB,SAACT,GAC/DP,EAAOG,KAAK,oBAAoBc,KAAK,WAAWH,SAChDP,EAAE6C,iBACF,IAAMzF,EAAIoC,EAAEQ,EAAE8C,QACRC,EAAU3F,EAAE4F,QAAQ,gBAC1B,IAAID,EAAQzC,SAAS,eAAevC,OAApC,CAIA,IAAMkF,EAAiB7F,EAAEmB,KAAK,UACxBuC,EAAgB1D,EAAEmB,KAAK,SACvB4B,EAAO/C,EAAE4F,QAAQ,MAAMpD,KAAK,iBAAiBE,OAAOuD,OACpDhD,EAAQZ,EAAOG,KAAK,oBAEpBsD,EAAM1D,EAAEA,EAAE,wBAAwBM,QACxCiD,EAAQJ,MAAMO,GACdH,EACEzC,SAAS,eACTG,GAAG,QAAS,qBAAqB,WACjCsC,EAAQzC,SAAS,eAAeC,QAHlC,IAKEE,GAAG,QAAS,mBAAmB,WAC/B,IAAM6C,EAAUP,EAAQzC,SAAS,eAAeV,KAAK,sBAAsBiC,MAG3E,OAFAkB,EAAQzC,SAAS,eAAe6C,OAChCzD,EAAa1C,GACNsB,EAA4B,CAClCqC,OAAQ,sBACRC,YAAaE,EACbmC,OAAAA,EACA9C,KAAMmD,IAELvC,MAAK,SAACwC,GACNlD,EAAMG,OACL,6DAA+DtD,EAAgB,cAGhFE,EAAE4F,QAAQ,MAAMpD,KAAK,iBAAiBE,KAAKyD,EAAEhF,KAAK4B,KAX7C,IAAA,MAaCJ,GAbD,SAcG,WACRL,EAAa,IACbqD,EAAQzC,SAAS,eAAeC,QAChC,GA1BJ,IA4BEX,KAAK,sBACLiC,IAAI1B,EAtCL,IAwCF"} \ No newline at end of file +{"version":3,"file":"profile.min.js","sources":["lang.ts","common.ts","profile.ts"],"sourcesContent":[null,null,null],"names":["__","L_NOT_ALLOWED_ERROR","L_SECURITY_ERROR","L_NOT_SUPPORTED_ERROR","L_ABORT_ERROR","L_UNKNOWN_KEY","L_KEY_ALREADY_REGISTERED","L_UNKNOWN_ERROR","L_FETCHING_REG_INFO","L_GENERATING_CREDENTIALS","L_REGISTERING_CREDENTIALS","L_FAILED_TO_CREATE_CREDENTIALS","L_KEY_REGISTERED","L_SENDING_REQUEST","L_KEY_REVOKED","L_KEY_RENAMED","arrayToBase64String","a","window","btoa","String","fromCharCode","apply","base64UrlDecode","input","atob","replace","repeat","length","stringToBuffer","s","Uint8Array","from","c","charCodeAt","ajaxRequest","data","Promise","resolve","reject","jQuery","ajax","method","url","ajaxurl","done","response","fail","message","responseJSON","statusText","Error","$","parent","updateStatus","status","find","html","text","errorHandler","e","DOMException","isAuth","name","decodeDOMException","table","siblings","remove","before","on","prev","action","_ajax_nonce","tfa_webauthn","nonce","then","publicKey","_extends","user","id","challenge","excludeCredentials","_a","map","preparePublicKeyCreationOptions","options","navigator","credentials","create","val","credential","JSON","stringify","type","rawId","clientExtensionResults","getClientExtensionResults","attestationObject","undefined","authenticatorData","signature","userHandle","clientDataJSON","after","row","preventDefault","target","actions","closest","handle","tpl","hide","append","trim","keyname","r"],"mappings":"mPAEwCA,EAAAA,GAAG,4CAA6C,gCAC3CA,EAAAA,GAC5C,yCACA,gCAEM,IAAMC,EAAsBD,EAAEA,GAAC,8BAA+B,gCACxDE,EAAmBF,EAAEA,GAAC,6BAA8B,gCACpDG,EAAwBH,EAAEA,GAAC,kCAAmC,gCAC9DI,EAAgBJ,EAAEA,GAAC,8BAA+B,gCAClDK,EAAgBL,EAAEA,GAAC,qCAAsC,gCACzDM,EAA2BN,EAAEA,GAAC,kCAAmC,gCACjEO,EAAkBP,EAAEA,GAAC,kCAAmC,gCACxDQ,EAAsBR,EAAEA,GAAC,qCAAsC,gCAC/DS,EAA2BT,EAAEA,GAAC,0BAA2B,gCACzDU,EAA4BV,EAAEA,GAAC,2BAA4B,gCAC3DW,EAAiCX,EAAEA,GAC/C,0CACA,gCAEYY,EAAmBZ,EAAEA,GAAC,+BAAgC,gCACtDa,EAAoB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C,QAChC,GA1BJ,IA4BEX,KAAK,sBACLiC,IAAI1B,EAtCL,IAwCF"} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index d403a42f..3644a75a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,7 @@ "eslint-formatter-gha": "^1.4.1", "eslint-plugin-playwright": "^0.11.0", "playwright-core": "^1.18.1", - "rollup": "^2.64.0", + "rollup": "^3.0.0", "terser": "^5.15.1", "typescript": "^4.5.4" } @@ -4197,6 +4197,20 @@ "dev": true, "peer": true }, + "node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, "node_modules/function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", @@ -5583,15 +5597,16 @@ } }, "node_modules/rollup": { - "version": "2.79.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.79.1.tgz", - "integrity": "sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.1.0.tgz", + "integrity": "sha512-GEvr+COcXicr4nuih6mpt2Eydq5lZ72z0RrKx1H4/Q2ouT34OHrIIJ9OUj2sZqUhq7QL8Hp8Q8BoWbjL/6ccRQ==", "dev": true, "bin": { "rollup": "dist/bin/rollup" }, "engines": { - "node": ">=10.0.0" + "node": ">=14.18.0", + "npm": ">=8.0.0" }, "optionalDependencies": { "fsevents": "~2.3.2" @@ -9236,6 +9251,13 @@ "dev": true, "peer": true }, + "fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "optional": true + }, "function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", @@ -10258,9 +10280,9 @@ } }, "rollup": { - "version": "2.79.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.79.1.tgz", - "integrity": "sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.1.0.tgz", + "integrity": "sha512-GEvr+COcXicr4nuih6mpt2Eydq5lZ72z0RrKx1H4/Q2ouT34OHrIIJ9OUj2sZqUhq7QL8Hp8Q8BoWbjL/6ccRQ==", "dev": true, "requires": { "fsevents": "~2.3.2" diff --git a/package.json b/package.json index 710a70a7..76c99f4b 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "eslint-formatter-gha": "^1.4.1", "eslint-plugin-playwright": "^0.11.0", "playwright-core": "^1.18.1", - "rollup": "^2.64.0", + "rollup": "^3.0.0", "terser": "^5.15.1", "typescript": "^4.5.4" }