/*! This file is auto-generated */ (()=>{"use strict";var e={d:(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},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:()=>P,BACKSPACE:()=>d,COMMAND:()=>L,CTRL:()=>j,DELETE:()=>S,DOWN:()=>O,END:()=>g,ENTER:()=>p,ESCAPE:()=>h,F10:()=>b,HOME:()=>w,LEFT:()=>C,PAGEDOWN:()=>A,PAGEUP:()=>m,RIGHT:()=>E,SHIFT:()=>T,SPACE:()=>y,TAB:()=>f,UP:()=>v,ZERO:()=>_,displayShortcut:()=>x,displayShortcutList:()=>Z,isAppleOS:()=>u,isKeyboardEvent:()=>K,modifiers:()=>k,rawShortcut:()=>M,shortcutAriaLabel:()=>D});var r=function(){return r=Object.assign||function(e){for(var t,r=1,n=arguments.length;r[e,t(r)])))}const k={primary:e=>e()?[L]:[j],primaryShift:e=>e()?[T,L]:[j,T],primaryAlt:e=>e()?[P,L]:[j,P],secondary:e=>e()?[T,P,L]:[j,T,P],access:e=>e()?[j,P]:[T,P],ctrl:()=>[j],alt:()=>[P],ctrlShift:()=>[j,T],shift:()=>[T],shiftAlt:()=>[T,P],undefined:()=>[]},M=R(k,(e=>(t,r=u)=>[...e(r),t.toLowerCase()].join("+"))),Z=R(k,(e=>(t,r=u)=>{const n=r(),o={[P]:n?"⌥":"Alt",[j]:n?"⌃":"Ctrl",[L]:"⌘",[T]:n?"⇧":"Shift"};return[...e(r).reduce(((e,t)=>{var r;const i=null!==(r=o[t])&&void 0!==r?r:t;return n?[...e,i]:[...e,i,"+"]}),[]),l(t,{stripRegexp:/[^A-Z0-9~`,\.\\\-]/gi})]})),x=R(Z,(e=>(t,r=u)=>e(t,r).join(""))),D=R(k,(e=>(t,r=u)=>{const n=r(),o={[T]:"Shift",[L]:n?"Command":"Control",[j]:"Control",[P]:n?"Option":"Alt",",":(0,s.__)("Comma"),".":(0,s.__)("Period"),"`":(0,s.__)("Backtick"),"~":(0,s.__)("Tilde")};return[...e(r),t].map((e=>{var t;return l(null!==(t=o[e])&&void 0!==t?t:e)})).join(n?" ":" + ")}));const K=R(k,(e=>(t,r,n=u)=>{const o=e(n),i=function(e){return[P,j,L,T].filter((t=>e[`${t}Key`]))}(t),a={Comma:",",Backslash:"\\",IntlRo:"\\",IntlYen:"\\"},c=o.filter((e=>!i.includes(e))),l=i.filter((e=>!o.includes(e)));if(c.length>0||l.length>0)return!1;let s=t.key.toLowerCase();return r?(t.altKey&&1===r.length&&(s=String.fromCharCode(t.keyCode).toLowerCase()),t.shiftKey&&1===r.length&&a[t.code]&&(s=a[t.code]),"del"===r&&(r="delete"),s===r.toLowerCase()):o.includes(s)}));(window.wp=window.wp||{}).keycodes=t})();