diff -r 7b1b88e27a20 -r 48c4eec2b7e6 wp/wp-includes/js/dist/keycodes.min.js --- a/wp/wp-includes/js/dist/keycodes.min.js Thu Sep 29 08:06:27 2022 +0200 +++ b/wp/wp-includes/js/dist/keycodes.min.js Fri Sep 05 18:40:08 2025 +0200 @@ -1,2 +1,2 @@ /*! This file is auto-generated */ -!function(){"use strict";var n={d:function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o:function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r:function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})}},t={};n.r(t),n.d(t,{ALT:function(){return S},BACKSPACE:function(){return i},COMMAND:function(){return A},CTRL:function(){return E},DELETE:function(){return C},DOWN:function(){return w},END:function(){return s},ENTER:function(){return c},ESCAPE:function(){return f},F10:function(){return g},HOME:function(){return p},LEFT:function(){return h},PAGEDOWN:function(){return d},PAGEUP:function(){return a},RIGHT:function(){return m},SHIFT:function(){return P},SPACE:function(){return l},TAB:function(){return u},UP:function(){return y},ZERO:function(){return v},displayShortcut:function(){return T},displayShortcutList:function(){return L},isKeyboardEvent:function(){return M},modifiers:function(){return O},rawShortcut:function(){return b},shortcutAriaLabel:function(){return _}});var e=window.lodash,r=window.wp.i18n;function o(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!n){if("undefined"==typeof window)return!1;n=window}const{platform:t}=n.navigator;return-1!==t.indexOf("Mac")||(0,e.includes)(["iPad","iPhone"],t)}const i=8,u=9,c=13,f=27,l=32,a=33,d=34,s=35,p=36,h=37,y=38,m=39,w=40,C=46,g=121,S="alt",E="ctrl",A="meta",P="shift",v=48,O={primary:n=>n()?[A]:[E],primaryShift:n=>n()?[P,A]:[E,P],primaryAlt:n=>n()?[S,A]:[E,S],secondary:n=>n()?[P,S,A]:[E,P,S],access:n=>n()?[E,S]:[P,S],ctrl:()=>[E],alt:()=>[S],ctrlShift:()=>[E,P],shift:()=>[P],shiftAlt:()=>[P,S],undefined:()=>[]},b=(0,e.mapValues)(O,(n=>function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;return[...n(e),t.toLowerCase()].join("+")})),L=(0,e.mapValues)(O,(n=>function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;const i=r(),u={[S]:i?"⌥":"Alt",[E]:i?"⌃":"Ctrl",[A]:"⌘",[P]:i?"⇧":"Shift"},c=n(r).reduce(((n,t)=>{const r=(0,e.get)(u,t,t);return i?[...n,r]:[...n,r,"+"]}),[]),f=(0,e.capitalize)(t);return[...c,f]})),T=(0,e.mapValues)(L,(n=>function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;return n(t,e).join("")})),_=(0,e.mapValues)(O,(n=>function(t){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;const u=i(),c={[P]:"Shift",[A]:u?"Command":"Control",[E]:"Control",[S]:u?"Option":"Alt",",":(0,r.__)("Comma"),".":(0,r.__)("Period"),"`":(0,r.__)("Backtick")};return[...n(i),t].map((n=>(0,e.capitalize)((0,e.get)(c,n,n)))).join(u?" ":" + ")}));function j(n){return[S,E,A,P].filter((t=>n[`${t}Key`]))}const M=(0,e.mapValues)(O,(n=>function(t,r){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o;const u=n(i),c=j(t);if((0,e.xor)(u,c).length)return!1;let f=t.key.toLowerCase();return r?(t.altKey&&1===r.length&&(f=String.fromCharCode(t.keyCode).toLowerCase()),"del"===r&&(r="delete"),f===r.toLowerCase()):(0,e.includes)(u,f)}));(window.wp=window.wp||{}).keycodes=t}(); \ No newline at end of file +(()=>{"use strict";var e={d:(t,r)=>{for(var o in r)e.o(r,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:r[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{ALT:()=>S,BACKSPACE:()=>n,COMMAND:()=>A,CTRL:()=>E,DELETE:()=>m,DOWN:()=>C,END:()=>u,ENTER:()=>l,ESCAPE:()=>a,F10:()=>w,HOME:()=>f,LEFT:()=>p,PAGEDOWN:()=>d,PAGEUP:()=>s,RIGHT:()=>h,SHIFT:()=>O,SPACE:()=>c,TAB:()=>i,UP:()=>y,ZERO:()=>P,displayShortcut:()=>_,displayShortcutList:()=>L,isAppleOS:()=>o,isKeyboardEvent:()=>k,modifiers:()=>T,rawShortcut:()=>v,shortcutAriaLabel:()=>j});const r=window.wp.i18n;function o(e=null){if(!e){if("undefined"==typeof window)return!1;e=window}const{platform:t}=e.navigator;return-1!==t.indexOf("Mac")||["iPad","iPhone"].includes(t)}const n=8,i=9,l=13,a=27,c=32,s=33,d=34,u=35,f=36,p=37,y=38,h=39,C=40,m=46,w=121,S="alt",E="ctrl",A="meta",O="shift",P=48;function b(e){return e.length<2?e.toUpperCase():e.charAt(0).toUpperCase()+e.slice(1)}function g(e,t){return Object.fromEntries(Object.entries(e).map((([e,r])=>[e,t(r)])))}const T={primary:e=>e()?[A]:[E],primaryShift:e=>e()?[O,A]:[E,O],primaryAlt:e=>e()?[S,A]:[E,S],secondary:e=>e()?[O,S,A]:[E,O,S],access:e=>e()?[E,S]:[O,S],ctrl:()=>[E],alt:()=>[S],ctrlShift:()=>[E,O],shift:()=>[O],shiftAlt:()=>[O,S],undefined:()=>[]},v=g(T,(e=>(t,r=o)=>[...e(r),t.toLowerCase()].join("+"))),L=g(T,(e=>(t,r=o)=>{const n=r(),i={[S]:n?"⌥":"Alt",[E]:n?"⌃":"Ctrl",[A]:"⌘",[O]:n?"⇧":"Shift"};return[...e(r).reduce(((e,t)=>{var r;const o=null!==(r=i[t])&&void 0!==r?r:t;return n?[...e,o]:[...e,o,"+"]}),[]),b(t)]})),_=g(L,(e=>(t,r=o)=>e(t,r).join(""))),j=g(T,(e=>(t,n=o)=>{const i=n(),l={[O]:"Shift",[A]:i?"Command":"Control",[E]:"Control",[S]:i?"Option":"Alt",",":(0,r.__)("Comma"),".":(0,r.__)("Period"),"`":(0,r.__)("Backtick"),"~":(0,r.__)("Tilde")};return[...e(n),t].map((e=>{var t;return b(null!==(t=l[e])&&void 0!==t?t:e)})).join(i?" ":" + ")}));const k=g(T,(e=>(t,r,n=o)=>{const i=e(n),l=function(e){return[S,E,A,O].filter((t=>e[`${t}Key`]))}(t),a={Comma:",",Backslash:"\\",IntlRo:"\\",IntlYen:"\\"},c=i.filter((e=>!l.includes(e))),s=l.filter((e=>!i.includes(e)));if(c.length>0||s.length>0)return!1;let d=t.key.toLowerCase();return r?(t.altKey&&1===r.length&&(d=String.fromCharCode(t.keyCode).toLowerCase()),t.shiftKey&&1===r.length&&a[t.code]&&(d=a[t.code]),"del"===r&&(r="delete"),d===r.toLowerCase()):i.includes(d)}));(window.wp=window.wp||{}).keycodes=t})(); \ No newline at end of file