/*! This file is auto-generated */
"use strict";var wp;(wp||={}).keycodes=(()=>{var M=Object.create;var E=Object.defineProperty;var P=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var w=Object.getPrototypeOf,D=Object.prototype.hasOwnProperty;var j=(r,t)=>()=>(t||r((t={exports:{}}).exports,t),t.exports),g=(r,t)=>{for(var e in t)E(r,e,{get:t[e],enumerable:!0})},S=(r,t,e,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of T(t))!D.call(r,n)&&n!==e&&E(r,n,{get:()=>t[n],enumerable:!(o=P(t,n))||o.enumerable});return r};var N=(r,t,e)=>(e=r!=null?M(w(r)):{},S(t||!r||!r.__esModule?E(e,"default",{value:r,enumerable:!0}):e,r)),R=r=>S(E({},"__esModule",{value:!0}),r);var O=j((nr,K)=>{K.exports=window.wp.i18n});var er={};g(er,{ALT:()=>i,BACKSPACE:()=>b,COMMAND:()=>f,CTRL:()=>s,DELETE:()=>$,DOWN:()=>Z,END:()=>G,ENTER:()=>B,ESCAPE:()=>F,F10:()=>q,HOME:()=>H,LEFT:()=>W,PAGEDOWN:()=>k,PAGEUP:()=>U,RIGHT:()=>Y,SHIFT:()=>a,SPACE:()=>I,TAB:()=>x,UP:()=>V,ZERO:()=>z,ariaKeyShortcut:()=>Q,displayShortcut:()=>X,displayShortcutList:()=>L,isAppleOS:()=>l,isKeyboardEvent:()=>tr,modifiers:()=>p,rawShortcut:()=>J,shortcutAriaLabel:()=>_});var m=N(O(),1);function l(r){if(!r){if(typeof window>"u")return!1;r=window}let{platform:t}=r.navigator;return t.indexOf("Mac")!==-1||["iPad","iPhone"].includes(t)}var b=8,x=9,B=13,F=27,I=32,U=33,k=34,G=35,H=36,W=37,V=38,Y=39,Z=40,$=46,q=121,i="alt",s="ctrl",f="meta",a="shift",z=48;function y(r){return r.length<2?r.toUpperCase():r.charAt(0).toUpperCase()+r.slice(1)}function c(r,t){return Object.fromEntries(Object.entries(r).map(([e,o])=>[e,t(o)]))}var p={primary:r=>r()?[f]:[s],primaryShift:r=>r()?[a,f]:[s,a],primaryAlt:r=>r()?[i,f]:[s,i],secondary:r=>r()?[a,i,f]:[s,a,i],access:r=>r()?[s,i]:[a,i],ctrl:()=>[s],alt:()=>[i],ctrlShift:()=>[s,a],shift:()=>[a],shiftAlt:()=>[a,i],undefined:()=>[]},J=c(p,r=>(t,e=l)=>[...r(e),t.toLowerCase()].join("+")),Q=c(p,r=>(t,e=l)=>[...r(e).map(o=>o===s?"Control":o).map(o=>y(o)),y(t)].join("+")),L=c(p,r=>(t,e=l)=>{let o=e(),n={[i]:o?"\u2325":"Alt",[s]:o?"\u2303":"Ctrl",[f]:"\u2318",[a]:o?"\u21E7":"Shift"};return[...r(e).reduce((d,v)=>{let C=n[v]??v;return o?[...d,C]:[...d,C,"+"]},[]),y(t)]}),X=c(L,r=>(t,e=l)=>r(t,e).join("")),_=c(p,r=>(t,e=l)=>{let o=e(),n={[a]:"Shift",[f]:o?"Command":"Control",[s]:"Control",[i]:o?"Option":"Alt",",":(0,m.__)("Comma"),".":(0,m.__)("Period"),"`":(0,m.__)("Backtick"),"~":(0,m.__)("Tilde")};return[...r(e),t].map(u=>y(n[u]??u)).join(o?" ":" + ")});function rr(r){return[i,s,f,a].filter(t=>r[`${t}Key`])}var tr=c(p,r=>(t,e,o=l)=>{let n=r(o),u=rr(t),d={Comma:",",Backslash:"\\",IntlRo:"\\",IntlYen:"\\"},v=n.filter(A=>!u.includes(A)),C=u.filter(A=>!n.includes(A));if(v.length>0||C.length>0)return!1;let h=t.key.toLowerCase();return e?(t.altKey&&e.length===1&&(h=String.fromCharCode(t.keyCode).toLowerCase()),t.shiftKey&&e.length===1&&d[t.code]&&(h=d[t.code]),e==="del"&&(e="delete"),h===e.toLowerCase()):n.includes(h)});return R(er);})();
