hotkey-router 0.5.1 → 0.5.2

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.
@@ -141,6 +141,46 @@
141
141
  "meta+shift+z": { "action": "Redo", "severity": "hard" },
142
142
  "meta+alt+c": { "action": "Web Inspector pick", "severity": "hard" },
143
143
  "meta+alt+i": { "action": "Web Inspector", "severity": "hard" }
144
+ },
145
+ "edge": {
146
+ "$comment": "From Microsoft's Edge shortcuts page (Mac table), 2026-11-15. Edit-menu rows (meta+a/c/v/x/z, meta+shift+z) as Chrome. Not checked with real keys.",
147
+ "meta+a": { "action": "Select all", "severity": "hard" },
148
+ "meta+c": { "action": "Copy", "severity": "hard" },
149
+ "meta+d": { "action": "Save as favorite", "severity": "hard" },
150
+ "meta+f": { "action": "Find in page", "severity": "hard" },
151
+ "meta+g": { "action": "Find next", "severity": "hard" },
152
+ "meta+l": { "action": "Focus address bar", "severity": "hard" },
153
+ "meta+n": { "action": "New window", "severity": "hard" },
154
+ "meta+o": { "action": "Open file", "severity": "hard" },
155
+ "meta+p": { "action": "Print", "severity": "hard" },
156
+ "meta+r": { "action": "Reload", "severity": "hard" },
157
+ "meta+s": { "action": "Save page", "severity": "hard" },
158
+ "meta+t": { "action": "New tab", "severity": "hard" },
159
+ "meta+v": { "action": "Paste", "severity": "hard" },
160
+ "meta+w": { "action": "Close tab", "severity": "hard" },
161
+ "meta+x": { "action": "Cut", "severity": "hard" },
162
+ "meta+y": { "action": "History", "severity": "hard" },
163
+ "meta+z": { "action": "Undo", "severity": "hard" },
164
+ "ctrl+m": { "action": "Mute current tab", "severity": "hard" },
165
+ "ctrl+meta+f": { "action": "Toggle full screen", "severity": "hard" },
166
+ "meta+shift+b": { "action": "Favorites bar toggle", "severity": "hard" },
167
+ "meta+shift+c": { "action": "Developer tools", "severity": "hard" },
168
+ "meta+shift+d": { "action": "Favorite all tabs", "severity": "hard" },
169
+ "meta+shift+e": { "action": "Search in sidebar", "severity": "hard" },
170
+ "meta+shift+g": { "action": "Find previous", "severity": "find-bar-only" },
171
+ "meta+shift+h": { "action": "Home page", "severity": "hard" },
172
+ "meta+shift+m": { "action": "Switch user / guest", "severity": "hard" },
173
+ "meta+shift+n": { "action": "New InPrivate window", "severity": "hard" },
174
+ "meta+shift+r": { "action": "Hard reload", "severity": "hard" },
175
+ "meta+shift+t": { "action": "Reopen closed tab", "severity": "hard" },
176
+ "meta+shift+u": { "action": "Read Aloud toggle", "severity": "hard" },
177
+ "meta+shift+v": { "action": "Paste as plain text", "severity": "hard" },
178
+ "meta+shift+w": { "action": "Close window", "severity": "hard" },
179
+ "meta+shift+z": { "action": "Redo", "severity": "hard" },
180
+ "meta+alt+f": { "action": "Search the web", "severity": "hard" },
181
+ "meta+alt+j": { "action": "JavaScript console", "severity": "hard" },
182
+ "meta+alt+l": { "action": "Downloads", "severity": "hard" },
183
+ "meta+alt+m": { "action": "Minimize all windows", "severity": "hard" }
144
184
  }
145
185
  },
146
186
  "system": {
@@ -1561,7 +1561,7 @@
1561
1561
  "word.cloud.microsoft",
1562
1562
  "*.officeapps.live.com",
1563
1563
  "onedrive.live.com",
1564
- "sharepoint.com"
1564
+ "*.sharepoint.com"
1565
1565
  ],
1566
1566
  "hostsConfirmed": false,
1567
1567
  "pathPrefixes": [],
@@ -1 +1 @@
1
- {"$comment":"Generated from data/site-hotkeys.json (the full, sourced table). Runtime projection used by sites.js; do not edit by hand.","version":{"researched":"2026-10-03","schema":"1.0","method":"Vendor help pages and keymap source, read by research agents (often through a summarizing fetch). verified=true means read on the vendor page or source in that session; false means a secondary source or inference. Sites the agents could not read have researched=false and no rows."},"sites":[{"id":"google-docs","name":"Google Docs","hosts":["docs.google.com"],"pathPrefixes":["/document/"],"shortcuts":[["ctrl+shift+v","meta+shift+v","ctrl+shift+v","Paste without formatting",1],["ctrl+shift+z","meta+shift+z","ctrl+shift+z","Redo",1],["ctrl+shift+g","meta+shift+g","ctrl+shift+g","Find previous",1],["ctrl+shift+f","ctrl+shift+f","ctrl+shift+f","Hide menus (compact mode)",1],["ctrl+shift+period","meta+shift+period","ctrl+shift+period","Increase font size",1],["ctrl+shift+comma","meta+shift+comma","ctrl+shift+comma","Decrease font size",1],["ctrl+shift+k","alt+shift+k",null,"Small caps",1],["ctrl+shift+l","meta+shift+l","ctrl+shift+l","Left align",1],["ctrl+shift+e","meta+shift+e","ctrl+shift+e","Center align",1],["ctrl+shift+r","meta+shift+r","ctrl+shift+r","Right align",1],["ctrl+shift+j","meta+shift+j","ctrl+shift+j","Justify",1],["ctrl+shift+7","meta+shift+7","ctrl+shift+7","Numbered list",1],["ctrl+shift+8","meta+shift+8","ctrl+shift+8","Bulleted list",1],["ctrl+shift+9","meta+shift+9",null,"Checklist",1],["ctrl+shift+arrowup","ctrl+shift+arrowup",null,"Move paragraph up",1],["ctrl+shift+arrowdown","ctrl+shift+arrowdown",null,"Move paragraph down",1],["ctrl+shift+x",null,"ctrl+shift+x","Context (right-click) menu",1],["ctrl+shift+backslash","meta+shift+backslash",null,"Context (right-click) menu (alternate)",1],["ctrl+shift+y","meta+shift+y","ctrl+shift+y","Open dictionary",1],["ctrl+shift+c","meta+shift+c","ctrl+shift+c","Word count",1],["ctrl+shift+s","meta+shift+s","ctrl+shift+s","Start voice typing",1],[null,"meta+shift+h",null,"Find and replace (Mac form)",1],["ctrl+shift+arrowleft",null,"ctrl+shift+arrowleft","Extend selection one word left",1],["ctrl+shift+arrowright",null,"ctrl+shift+arrowright","Extend selection one word right",1],["ctrl+shift+home","meta+shift+arrowup",null,"Extend selection to document start",1],["ctrl+shift+end","meta+shift+arrowdown",null,"Extend selection to document end",1],["ctrl+shift+pagedown",null,null,"Move to next tab",1],["ctrl+shift+pageup",null,null,"Move to previous tab",1],[null,"meta+shift+k",null,"Toggle input controls",1],["ctrl+alt+1","meta+alt+1","ctrl+alt+1","Apply heading style 1",1],["ctrl+alt+2","meta+alt+2","ctrl+alt+2","Apply heading style 2",1],["ctrl+alt+3","meta+alt+3","ctrl+alt+3","Apply heading style 3",1],["ctrl+alt+4","meta+alt+4","ctrl+alt+4","Apply heading style 4",1],["ctrl+alt+5","meta+alt+5","ctrl+alt+5","Apply heading style 5",1],["ctrl+alt+6","meta+alt+6","ctrl+alt+6","Apply heading style 6",1],["ctrl+alt+0","meta+alt+0","ctrl+alt+0","Apply normal text style",1],["ctrl+alt+y","meta+alt+y","ctrl+alt+y","Alt text",1],["ctrl+alt+k","ctrl+meta+k","ctrl+alt+k","Resize larger (drawing)",1],["ctrl+alt+b","ctrl+meta+b","ctrl+alt+b","Resize larger horizontally (drawing)",1],["ctrl+alt+i","ctrl+meta+i","ctrl+alt+i","Resize larger vertically (drawing)",1],["ctrl+alt+j","ctrl+meta+j","ctrl+alt+j","Resize smaller (drawing)",1],["ctrl+alt+w","ctrl+meta+w","ctrl+alt+w","Resize smaller horizontally (drawing)",1],["ctrl+alt+q","ctrl+meta+q","ctrl+alt+q","Resize smaller vertically (drawing)",1],["ctrl+alt+m","meta+alt+m","ctrl+alt+m","Insert comment",1],["ctrl+alt+f","meta+alt+f","ctrl+alt+f","Insert footnote",1],["ctrl+alt+c","meta+alt+c","ctrl+alt+c","Copy text formatting",1],["ctrl+alt+v","meta+alt+v","ctrl+alt+v","Paste text formatting",1],["ctrl+alt+x","meta+alt+x",null,"Open spelling and grammar",1],["ctrl+alt+z","meta+alt+z","ctrl+alt+z","Enable screen reader support",1],["ctrl+alt+h","meta+alt+h","ctrl+alt+h","Enable braille support",1],["ctrl+alt+enter","meta+alt+enter","ctrl+alt+enter","Toggle checkbox",1],["ctrl+alt+period","meta+alt+period","alt+shift+period","Go to side panel",1],["ctrl+alt+comma","meta+alt+comma","alt+shift+comma","Go to side panel (alternate)",1],["ctrl+alt+k",null,"ctrl+alt+k","Move to next edit",1],["ctrl+alt+j",null,"ctrl+alt+j","Move to previous edit",1],["alt+shift+5","meta+shift+x","alt+shift+5","Strikethrough",1],["alt+shift+arrowleft","alt+shift+arrowleft","alt+shift+arrowleft","Rotate counterclockwise 1 degree (drawing)",1],["alt+shift+arrowright","alt+shift+arrowright","alt+shift+arrowright","Rotate clockwise 1 degree (drawing)",1],["alt+shift+backquote",null,"alt+shift+backquote","Enable screen reader support (alternate)",1],[null,"alt+shift+arrowup",null,"Extend selection one paragraph up",1],[null,"alt+shift+arrowdown",null,"Extend selection one paragraph down",1],["alt+shift+f","ctrl+alt+f",null,"File menu",1],["alt+shift+e","ctrl+alt+e",null,"Edit menu",1],["alt+shift+v","ctrl+alt+v",null,"View menu",1],["alt+shift+i","ctrl+alt+i",null,"Insert menu",1],["alt+shift+o","ctrl+alt+o",null,"Format menu",1],["alt+shift+t","ctrl+alt+t",null,"Tools menu",1],["alt+shift+h","ctrl+alt+h",null,"Help menu",1],["alt+shift+a","ctrl+alt+a",null,"Accessibility menu",1],["ctrl+alt+shift+a","meta+alt+shift+a","ctrl+alt+shift+a","Open discussion thread / comment history",1],["ctrl+alt+shift+k","meta+alt+shift+k","ctrl+alt+shift+k","Input Tools menu",1],["ctrl+alt+shift+r","meta+alt+shift+r","ctrl+alt+shift+r","Show live edits",1],["ctrl+alt+shift+m","meta+alt+shift+m","ctrl+alt+shift+m","Move focus out of editing area",1],["ctrl+alt+shift+z","meta+alt+shift+z","ctrl+alt+shift+z","Switch to editing",1],["ctrl+alt+shift+x","meta+alt+shift+x","ctrl+alt+shift+x","Switch to suggesting",1],["ctrl+alt+shift+c","meta+alt+shift+c","ctrl+alt+shift+c","Switch to viewing",1],["ctrl+alt+shift+h","meta+alt+shift+h","ctrl+alt+shift+h","Open revision history",1],["ctrl+alt+shift+i","meta+alt+shift+i","ctrl+alt+shift+i","Open Explore tool",1],["ctrl+alt+shift+arrowleft","ctrl+meta+shift+arrowleft","ctrl+alt+shift+arrowleft","Select multiple text sections (left)",1],["ctrl+alt+shift+arrowright","ctrl+meta+shift+arrowright","ctrl+alt+shift+arrowright","Select multiple text sections (right)",1]]},{"id":"google-slides","name":"Google Slides","hosts":["docs.google.com"],"pathPrefixes":["/presentation/"],"shortcuts":[["ctrl+shift+z","meta+shift+z","ctrl+shift+z","Redo",1],["ctrl+shift+g","meta+shift+g","ctrl+shift+g","Find previous",1],["ctrl+shift+f","ctrl+shift+f","ctrl+shift+f","Hide or show menus",1],["ctrl+shift+c","meta+shift+c","ctrl+shift+c","Turn on captions",1],["ctrl+shift+backslash","meta+shift+backslash",null,"Context menu",1],["ctrl+shift+x",null,"ctrl+shift+x","Context menu (alternate)",1],["ctrl+shift+arrowup","meta+shift+arrowup","ctrl+shift+arrowup","Move slide to beginning / Bring to front",1],["ctrl+shift+arrowdown","meta+shift+arrowdown","ctrl+shift+arrowdown","Move slide to end / Send to back",1],["ctrl+shift+period","meta+shift+period","ctrl+shift+period","Increase font size / playback rate",1],["ctrl+shift+comma","meta+shift+comma","ctrl+shift+comma","Decrease font size / playback rate",1],["ctrl+shift+l","meta+shift+l",null,"Left align",1],["ctrl+shift+r","meta+shift+r","ctrl+shift+r","Right align",1],["ctrl+shift+e","meta+shift+e","ctrl+shift+e","Center align",1],["ctrl+shift+j","meta+shift+j","ctrl+shift+j","Justify",1],["ctrl+shift+8","meta+shift+8","ctrl+shift+8","Bulleted list",1],["ctrl+shift+7","meta+shift+7","ctrl+shift+7","Numbered list",1],["ctrl+shift+k","meta+shift+k","ctrl+shift+k","Toggle input controls",1],[null,"meta+shift+h",null,"Find and replace (Mac form)",1],[null,"meta+shift+f",null,"Toggle full screen (present, Mac form)",1],["ctrl+alt+c","meta+alt+c","ctrl+alt+c","Copy formatting",1],["ctrl+alt+v","meta+alt+v","ctrl+alt+v","Paste formatting",1],["ctrl+alt+y","meta+alt+y","ctrl+alt+y","Alt text",1],["ctrl+alt+m","meta+alt+m","ctrl+alt+m","Insert comment",1],["ctrl+alt+g","meta+alt+g","ctrl+alt+g","Group",1],["ctrl+alt+b","ctrl+meta+b","ctrl+alt+b","Resize larger horizontally",1],["ctrl+alt+i","ctrl+meta+i","ctrl+alt+i","Resize larger vertically",1],["ctrl+alt+j","ctrl+meta+j","ctrl+alt+j","Resize smaller",1],["ctrl+alt+k","ctrl+meta+k","ctrl+alt+k","Resize larger",1],["ctrl+alt+w","ctrl+meta+w","ctrl+alt+w","Resize smaller horizontally",1],["ctrl+alt+9",null,"ctrl+alt+9","Resize smaller vertically",1],["ctrl+alt+x","ctrl+meta+x","ctrl+alt+x","Verbalize selection",1],["ctrl+alt+r","ctrl+meta+r","ctrl+alt+r","Verbalize from cursor",1],["ctrl+alt+z","meta+alt+z","ctrl+alt+z","Enable screen reader",1],["ctrl+alt+h","meta+alt+h","ctrl+alt+h","Enable braille",1],["ctrl+alt+period","meta+alt+period","alt+shift+period","Go to side panel",1],["ctrl+alt+comma","meta+alt+comma","alt+shift+comma","Go to side panel (alternate)",1],["alt+shift+5","meta+shift+x","alt+shift+5","Strikethrough",1],["alt+shift+arrowdown","alt+shift+arrowdown",null,"Move paragraph down",1],["alt+shift+arrowup","alt+shift+arrowup",null,"Move paragraph up",1],["alt+shift+arrowleft","alt+shift+arrowleft","alt+shift+arrowleft","Rotate counterclockwise 1 degree",1],["alt+shift+arrowright","alt+shift+arrowright","alt+shift+arrowright","Rotate clockwise 1 degree",1],["alt+shift+backquote",null,"alt+shift+backquote","Enable screen reader (alternate)",1],["alt+shift+f",null,null,"File menu",1],["alt+shift+e",null,null,"Edit menu",1],["alt+shift+v",null,null,"View menu",1],["alt+shift+i",null,null,"Insert menu",1],["alt+shift+o",null,null,"Format menu",1],["alt+shift+t",null,null,"Tools menu",1],["alt+shift+h",null,null,"Help menu",1],["alt+shift+a",null,null,"Accessibility menu",1],["ctrl+alt+shift+f","meta+alt+shift+f","ctrl+alt+shift+f","Move to filmstrip",1],["ctrl+alt+shift+c","meta+alt+shift+c","ctrl+alt+shift+c","Move to canvas",1],["ctrl+alt+shift+s","meta+alt+shift+s","ctrl+alt+shift+s","Open speaker notes",1],["ctrl+alt+shift+p","meta+alt+shift+p","ctrl+alt+shift+p","HTML view",1],["ctrl+alt+shift+b","meta+alt+shift+b","ctrl+alt+shift+b","Open animations",1],["ctrl+alt+shift+i","meta+alt+shift+i","ctrl+alt+shift+i","Open Explore",1],["ctrl+alt+shift+a","meta+alt+shift+a","ctrl+alt+shift+a","Open comment thread",1],["ctrl+alt+shift+j","meta+alt+shift+j","ctrl+alt+shift+j","Hide comment",1],["ctrl+alt+shift+g","meta+alt+shift+g","ctrl+alt+shift+g","Ungroup",1],["ctrl+alt+shift+k","meta+alt+shift+k","ctrl+alt+shift+k","Input tools menu",1],["ctrl+alt+shift+h","meta+alt+shift+h",null,"Revision history",1]]},{"id":"gmail","name":"Gmail","hosts":["mail.google.com"],"pathPrefixes":[],"shortcuts":[["ctrl+shift+c","meta+shift+c","ctrl+shift+c","Add cc recipients",1],["ctrl+shift+b","meta+shift+b","ctrl+shift+b","Add bcc recipients",1],["ctrl+shift+f","meta+shift+f","ctrl+shift+f","Access custom From",1],["ctrl+shift+5","meta+shift+5","ctrl+shift+5","Previous font",1],["ctrl+shift+6","meta+shift+6","ctrl+shift+6","Next font",1],["ctrl+shift+minus","meta+shift+minus","ctrl+shift+minus","Decrease text size",1],["ctrl+shift+equal","meta+shift+equal","ctrl+shift+equal","Increase text size",1],["ctrl+shift+7","meta+shift+7","ctrl+shift+7","Numbered list",1],["ctrl+shift+8","meta+shift+8","ctrl+shift+8","Bulleted list",1],["ctrl+shift+9","meta+shift+9","ctrl+shift+9","Quote",1],["ctrl+shift+l","meta+shift+l","ctrl+shift+l","Align left",1],["ctrl+shift+e","meta+shift+e","ctrl+shift+e","Align center",1],["ctrl+shift+r","meta+shift+r","ctrl+shift+r","Align right",1],["ctrl+alt+comma","meta+alt+comma","ctrl+alt+comma","Switch between Calendar/Keep/Tasks sidebar and inbox",1],["ctrl+alt+period","meta+alt+period","ctrl+alt+period","Switch between Calendar/Keep/Tasks sidebar and inbox (alternate)",1]]},{"id":"google-keep","name":"Google Keep","hosts":["keep.google.com"],"pathPrefixes":[],"shortcuts":[["ctrl+shift+8","meta+shift+8","ctrl+shift+8","Toggle checkboxes",1]]},{"id":"word-web","name":"Word for the web","hosts":["word.cloud.microsoft","*.officeapps.live.com","onedrive.live.com","sharepoint.com"],"pathPrefixes":[],"shortcuts":[["ctrl+shift+f6",null,null,"Move between ribbon and document content (Ctrl+F6 also)",1],["ctrl+shift+arrowright",null,null,"Select right one word",1],["ctrl+shift+arrowleft",null,null,"Select left one word",1],["ctrl+shift+arrowup",null,null,"Select up one paragraph",1],["ctrl+shift+arrowdown",null,null,"Select down one paragraph",1],["ctrl+shift+home",null,null,"Select to beginning of document",1],["ctrl+shift+end",null,null,"Select to end of document",1],["ctrl+alt+g",null,null,"Select image",0],["alt+shift+arrowleft",null,null,"Outdent / select left by word",0],["alt+shift+arrowright",null,null,"Indent",0],["ctrl+alt+shift+tab",null,null,"Task Switcher",0]]},{"id":"outlook-web","name":"Outlook on the web","hosts":["outlook.office.com","outlook.live.com","outlook.cloud.microsoft","outlook.office365.com"],"pathPrefixes":[],"shortcuts":[["ctrl+shift+r",null,null,"Reply all",1],["ctrl+shift+f",null,null,"Forward message",1],["ctrl+shift+2",null,null,"Go to calendar",1],["ctrl+shift+1",null,null,"Go to mail / Inbox",0],["ctrl+alt+arrowleft",null,null,"Calendar: previous day/period",1],["ctrl+alt+arrowright",null,null,"Calendar: next day/period",1],["ctrl+alt+1",null,null,"Calendar: Day view",1],["ctrl+alt+2",null,null,"Calendar: Week / work week view",1],["ctrl+alt+4",null,null,"Calendar: Month view",1],["alt+shift+y",null,null,"Calendar: go to today",1],["alt+shift+1",null,null,"Calendar: Day view (shift+alt set)",1],["alt+shift+2",null,null,"Calendar: Work week view",1],["alt+shift+3",null,null,"Calendar: Full week view",1],["alt+shift+4",null,null,"Calendar: Month view",1]]},{"id":"teams-web","name":"Microsoft Teams (web)","hosts":["teams.microsoft.com","teams.live.com","teams.cloud.microsoft"],"pathPrefixes":[],"shortcuts":[["ctrl+shift+f","meta+shift+f",null,"Open filter",0],["ctrl+shift+n","meta+shift+n",null,"Start chat in new window (desktop; browser reserves new incognito window)",0],["ctrl+shift+x","meta+shift+x",null,"Expand compose box",0],["ctrl+shift+c","meta+shift+c",null,"Insert inline code",0],["ctrl+shift+b","meta+shift+b",null,"Insert code block",0],["ctrl+shift+i","meta+shift+i",null,"Mark message important",0],["ctrl+shift+a","meta+shift+a",null,"Accept video call",0],["ctrl+shift+s",null,null,"Accept audio call",0],["ctrl+shift+d","meta+shift+d",null,"Decline call",0],["ctrl+shift+m","meta+shift+m",null,"Toggle mute",0],["ctrl+shift+u",null,null,"Toggle speaker",0],["ctrl+shift+o","meta+shift+o",null,"Toggle video",0],["ctrl+shift+e","meta+shift+e",null,"Toggle share tray",0],["ctrl+shift+h","meta+shift+h",null,"End call",0],["ctrl+shift+k","meta+shift+k",null,"Raise/lower hand",0],["ctrl+shift+l","meta+shift+l",null,"Announce raised hands",0],["ctrl+shift+y","meta+shift+y",null,"Admit from lobby",0],["ctrl+shift+j",null,null,"Join from meeting toast",0],["ctrl+shift+r",null,null,"Open meeting chat from notification",0],["ctrl+shift+q",null,null,"Create meeting request",0],["ctrl+shift+1",null,null,"Download diagnostic logs (also: opens 1st app on web per page note)",0],["ctrl+alt+enter",null,null,"Move focus to pane divider",0],["ctrl+alt+r","meta+alt+r",null,"React to last message",0],["ctrl+alt+u","meta+alt+u",null,"See all unread chats",0],["ctrl+alt+c","meta+alt+c",null,"See all chats",0],["ctrl+alt+a","meta+alt+a",null,"See all channel conversations",0],["ctrl+alt+b","meta+alt+b",null,"See all meeting chats",0],["ctrl+alt+z","meta+alt+z",null,"Clear all filters",0],["ctrl+alt+p","meta+alt+p",null,"Paragraph style",0],["ctrl+alt+4",null,null,"Insert block quote",0],["ctrl+alt+x",null,null,"Strikethrough",0],["ctrl+alt+l","meta+alt+l",null,"Add Loop paragraph",0],["ctrl+alt+5","meta+alt+4",null,"Insert code",0],["ctrl+alt+1","meta+alt+1",null,"Heading 1",0],["ctrl+alt+2","meta+alt+2",null,"Heading 2",0],["ctrl+alt+3","meta+alt+3",null,"Heading 3",0],["ctrl+alt+f",null,null,"Forward an event",0],["ctrl+alt+k",null,null,"Mark all as read (Activity)",0],["ctrl+alt+m",null,null,"Filter activity to mentions",0],["ctrl+alt+arrowleft",null,null,"Calendar previous day/week",0],["ctrl+alt+arrowright",null,null,"Calendar next day/week",0],["alt+shift+r","meta+shift+r",null,"Reply to last message",0],["alt+shift+o","meta+alt+o",null,"Attach file",0],["alt+shift+e",null,null,"Open video recorder",0],["alt+shift+a",null,null,"Start audio call",0],["alt+shift+v",null,null,"Start video call",0],["alt+shift+equal","meta+alt+equal",null,"Zoom in shared content",0],["alt+shift+minus","meta+alt+minus",null,"Zoom out shared content",0],["alt+shift+0","meta+alt+0",null,"Reset zoom",0],["alt+shift+arrowup","meta+alt+arrowup",null,"Pan up",0],["alt+shift+arrowdown","meta+alt+arrowdown",null,"Pan down",0],["alt+shift+arrowleft","meta+alt+arrowleft",null,"Pan left",0],["alt+shift+arrowright","meta+alt+arrowright",null,"Pan right",0],["alt+shift+j",null,null,"Join from meeting details",0],["alt+shift+s",null,null,"Go to suggested time",0],["alt+shift+1",null,null,"Day view",0],["alt+shift+2",null,null,"Work week view",0],["alt+shift+3",null,null,"Week view",0],["alt+shift+4",null,null,"Month view",0],["alt+shift+5",null,null,"Agenda in month view",0],["alt+shift+y",null,null,"Go to today",0],["ctrl+alt+shift+r","meta+alt+shift+r",null,"Report a problem",0],["ctrl+alt+shift+1",null,null,"Download diagnostic logs",0]]},{"id":"onenote-web","name":"OneNote for the web","hosts":["onenote.cloud.microsoft","www.onenote.com","*.officeapps.live.com","onedrive.live.com"],"pathPrefixes":[],"shortcuts":[["ctrl+shift+f",null,null,"Create a new outline",1],["alt+shift+arrowright",null,null,"Increase paragraph indent",1],["alt+shift+arrowleft",null,null,"Decrease paragraph indent",1]]},{"id":"notion","name":"Notion","hosts":["www.notion.so","www.notion.com"],"pathPrefixes":[],"shortcuts":[["ctrl+shift+n","meta+shift+n","ctrl+shift+n","Open a new Notion window",1],["ctrl+shift+l","meta+shift+l","ctrl+shift+l","Toggle dark/light mode",1],["ctrl+shift+m","meta+shift+m","ctrl+shift+m","Create a comment",1],["ctrl+shift+s","meta+shift+s","ctrl+shift+s","Strikethrough",1],["ctrl+shift+u","meta+shift+u","ctrl+shift+u","Go up one level in page hierarchy",1],["ctrl+shift+h","meta+shift+h","ctrl+shift+h","Apply last used text or highlight color",1],[null,"ctrl+shift+k",null,"Previous database page in peek view",1],[null,"ctrl+shift+j",null,"Next database page in peek view",1],["ctrl+shift+arrowup","meta+shift+arrowup","ctrl+shift+arrowup","Move selected block(s) up",1],["ctrl+shift+arrowdown","meta+shift+arrowdown","ctrl+shift+arrowdown","Move selected block(s) down",1],["ctrl+shift+arrowleft","meta+shift+arrowleft","ctrl+shift+arrowleft","Move/outdent selected block(s)",0],["ctrl+shift+arrowright","meta+shift+arrowright","ctrl+shift+arrowright","Move/indent selected block(s)",0],["ctrl+shift+t","meta+alt+t","ctrl+shift+t","Expand or close all toggles in a toggle list",1],["ctrl+shift+0","meta+alt+0","ctrl+shift+0","Turn block into text/heading/to-do/list/code/page (digit)",1],["ctrl+shift+1","meta+alt+1","ctrl+shift+1","Turn block into text/heading/to-do/list/code/page (digit)",1],["ctrl+shift+2","meta+alt+2","ctrl+shift+2","Turn block into text/heading/to-do/list/code/page (digit)",1],["ctrl+shift+3","meta+alt+3","ctrl+shift+3","Turn block into text/heading/to-do/list/code/page (digit)",1],["ctrl+shift+4","meta+alt+4","ctrl+shift+4","Turn block into text/heading/to-do/list/code/page (digit)",1],["ctrl+shift+5","meta+alt+5","ctrl+shift+5","Turn block into text/heading/to-do/list/code/page (digit)",1],["ctrl+shift+6","meta+alt+6","ctrl+shift+6","Turn block into text/heading/to-do/list/code/page (digit)",1],["ctrl+shift+7","meta+alt+7","ctrl+shift+7","Turn block into text/heading/to-do/list/code/page (digit)",1],["ctrl+shift+8","meta+alt+8","ctrl+shift+8","Turn block into text/heading/to-do/list/code/page (digit)",1],["ctrl+shift+9","meta+alt+9","ctrl+shift+9","Turn block into text/heading/to-do/list/code/page (digit)",1]]},{"id":"slack","name":"Slack","hosts":["app.slack.com"],"pathPrefixes":["/client/"],"shortcuts":[["ctrl+shift+k","meta+shift+k","ctrl+shift+k","Compose new message / Browse DMs",1],["ctrl+shift+2",null,"ctrl+shift+2","Browse DMs (Windows row)",1],["ctrl+shift+y","meta+shift+y","ctrl+shift+y","Set status",1],["ctrl+shift+n","meta+shift+n","ctrl+shift+n","Create new canvas",1],["ctrl+shift+j","meta+shift+j","ctrl+shift+j","View downloaded files",1],["ctrl+shift+enter","meta+shift+enter","ctrl+shift+enter","Create snippet",1],["ctrl+shift+backquote","meta+shift+backquote","ctrl+shift+backquote","Add emoji reaction",1],["ctrl+shift+backslash","meta+shift+backslash","ctrl+shift+backslash","Add emoji reaction (layout variant)",1],["ctrl+shift+h","meta+shift+h","ctrl+shift+h","Start/join/leave huddle (canvas: find and replace)",1],["ctrl+shift+space","meta+shift+space","ctrl+shift+space","Toggle huddle mute",1],["ctrl+shift+w","meta+shift+w","ctrl+shift+w","Reopen last closed window",1],["ctrl+shift+e","meta+shift+e","ctrl+shift+e","Open People view",1],["ctrl+shift+m","meta+shift+m","ctrl+shift+m","Open Activity view",1],["ctrl+shift+t","meta+shift+t","ctrl+shift+t","Open Threads view",1],["ctrl+shift+l","meta+shift+l","ctrl+shift+l","Browse channels",1],["ctrl+shift+i","meta+shift+i","ctrl+shift+i","Open conversation details",1],["ctrl+shift+a","meta+shift+a","ctrl+shift+a","Open All unreads view",1],["ctrl+shift+s","meta+shift+s","ctrl+shift+s","Expand/collapse workspace switcher",1],["ctrl+shift+x","meta+shift+x","ctrl+shift+x","Strikethrough text",1],["ctrl+shift+u","meta+shift+u","ctrl+shift+u","Hyperlink text",1],["ctrl+shift+9","meta+shift+9","ctrl+shift+9","Quote text",1],["ctrl+shift+8","meta+shift+8","ctrl+shift+8","Bulleted list",1],["ctrl+shift+7","meta+shift+7","ctrl+shift+7","Numbered list",1],["ctrl+shift+c","meta+shift+c","ctrl+shift+c","Code text",1],["ctrl+shift+f","meta+shift+f","ctrl+shift+f","Apply markdown formatting",1],["ctrl+shift+0","meta+shift+0","ctrl+shift+0","Format as checklist (canvas)",1],["ctrl+shift+g","meta+shift+g","ctrl+shift+g","Find previous (canvas)",1],["ctrl+shift+z","meta+shift+z","ctrl+shift+z","Redo (canvas)",1],[null,"meta+shift+slash",null,"Open context menu (canvas), Mac",1],["ctrl+shift+1",null,"ctrl+shift+1","Switch to tab by number (Shift Ctrl [number], digits 1-9)",1],["alt+shift+arrowup","alt+shift+arrowup","alt+shift+arrowup","Jump to previous unread channel/DM",1],["alt+shift+arrowdown","alt+shift+arrowdown","alt+shift+arrowdown","Jump to next unread channel/DM",1],["ctrl+alt+shift+c","meta+alt+shift+c","ctrl+alt+shift+c","Codeblock text",1],["ctrl+alt+0","meta+alt+0","ctrl+alt+0","Paragraph (canvas)",1],["ctrl+alt+1","meta+alt+1","ctrl+alt+1","Big heading (canvas)",1],["ctrl+alt+2","meta+alt+2","ctrl+alt+2","Medium heading (canvas)",1],["ctrl+alt+3","meta+alt+3","ctrl+alt+3","Small heading (canvas)",1],["ctrl+alt+t","meta+alt+t","ctrl+alt+t","View comment thread (canvas)",1],["ctrl+alt+r","meta+alt+r","ctrl+alt+r","Show reader/edit view (canvas)",1],["ctrl+alt+arrowup","meta+alt+arrowup","ctrl+alt+arrowup","Move list item up (canvas)",1],["ctrl+alt+arrowdown","meta+alt+arrowdown","ctrl+alt+arrowdown","Move list item down (canvas)",1],["ctrl+alt+q","ctrl+alt+q","ctrl+alt+q","Copy anchor link (canvas)",1]]},{"id":"discord","name":"Discord","hosts":["discord.com"],"pathPrefixes":["/channels/"],"shortcuts":[["ctrl+shift+m","meta+shift+m","ctrl+shift+m","Toggle mute",1],["ctrl+shift+d","meta+shift+d","ctrl+shift+d","Toggle deafen",1],["ctrl+shift+u","meta+shift+u","ctrl+shift+u","Attach a file to your message",1],["ctrl+shift+b","meta+shift+b","ctrl+shift+b","Open soundboard during voice call",1],["ctrl+alt+shift+v","meta+alt+shift+v","ctrl+alt+shift+v","Return to your active voice call",1]]},{"id":"confluence","name":"Confluence Cloud","hosts":["*.atlassian.net"],"pathPrefixes":["/wiki/"],"shortcuts":[["ctrl+shift+7","meta+shift+7","ctrl+shift+7","Numbered list",1],["ctrl+shift+8","meta+shift+8","ctrl+shift+8","Bullet list",1],["ctrl+shift+9","meta+shift+9","ctrl+shift+9","Quote",1],["ctrl+shift+m","meta+shift+m","ctrl+shift+m","Code",1],["ctrl+shift+s","alt+shift+s","ctrl+shift+s","Strikethrough",1],["ctrl+shift+comma","alt+shift+comma","ctrl+shift+comma","Subscript",1],["ctrl+shift+period","alt+shift+period","ctrl+shift+period","Superscript",1],["ctrl+shift+enter","meta+shift+enter","ctrl+shift+enter","Publish with note",1],["ctrl+shift+i","ctrl+shift+i","ctrl+shift+i","Open details panel",1],["ctrl+shift+u","meta+shift+u","ctrl+shift+u","Next unread comment",1],["ctrl+shift+d","meta+shift+d","ctrl+shift+d","Insert markup",1],["ctrl+shift+a","meta+shift+a","ctrl+shift+a","Macro",1],[null,"meta+shift+i",null,"Insert table (Mac only per page)",0],["ctrl+alt+shift+b","meta+alt+shift+b","ctrl+alt+shift+b","Blog post",1],["ctrl+alt+o","meta+alt+o","ctrl+alt+o","Open notifications",1],["ctrl+alt+h","meta+alt+h","ctrl+alt+h","Go Home",1],["ctrl+alt+g","meta+alt+g","ctrl+alt+g","Open recent",1],["ctrl+alt+8","meta+alt+8","ctrl+alt+8","Open starred",1],["ctrl+alt+v","meta+alt+v","ctrl+alt+v","Go to space overview",1],["ctrl+alt+0","meta+alt+0","ctrl+alt+0","Paragraph",1],["ctrl+alt+1","meta+alt+1","ctrl+alt+1","Heading 1",1],["ctrl+alt+2","meta+alt+2","ctrl+alt+2","Heading 2",1],["ctrl+alt+3","meta+alt+3","ctrl+alt+3","Heading 3",1],["ctrl+alt+4","meta+alt+4","ctrl+alt+4","Heading 4",1],["ctrl+alt+5","meta+alt+5","ctrl+alt+5","Heading 5",1],["ctrl+alt+6","meta+alt+6","ctrl+alt+6","Heading 6",1],["ctrl+alt+y","meta+alt+y","ctrl+alt+y","Highlight yellow",1],["ctrl+alt+c","meta+alt+c","ctrl+alt+c","Comment",1],["ctrl+alt+w","meta+alt+w","ctrl+alt+w","Watch",1],["ctrl+alt+s","meta+alt+s","ctrl+alt+s","Share",1],["ctrl+alt+e","meta+alt+e","ctrl+alt+e","Align center",1],["ctrl+alt+t","meta+alt+t","ctrl+alt+t","Align right",1],["ctrl+alt+a","ctrl+alt+a","ctrl+alt+a","Edit labels",1],["ctrl+alt+f","ctrl+alt+f","ctrl+alt+f","Favorite content",1],[null,"ctrl+alt+c",null,"Create page (Mac)",1],[null,"ctrl+alt+t",null,"Attachments (Mac)",1],["ctrl+alt+p",null,"ctrl+alt+p","Presenter mode",1],["ctrl+alt+arrowup",null,"ctrl+alt+arrowup","Table row/column operations (Ctrl+Alt+Arrow keys)",1],["ctrl+alt+equal",null,"ctrl+alt+equal","Table insert row/column",1],["ctrl+alt+minus",null,"ctrl+alt+minus","Table delete row/column",1],["alt+shift+z","ctrl+alt+z","alt+shift+z","Quick search",1],["ctrl+alt+shift+r","meta+alt+shift+r","ctrl+alt+shift+r","Table resize (whiteboard/table)",1],["ctrl+alt+shift+arrowup","meta+alt+shift+arrowup","ctrl+alt+shift+arrowup","Table column selection (Up/Down arrows)",1],["ctrl+alt+shift+arrowdown","meta+alt+shift+arrowdown","ctrl+alt+shift+arrowdown","Table column selection",1],["ctrl+alt+shift+arrowleft","meta+alt+shift+arrowleft","ctrl+alt+shift+arrowleft","Table row selection (Left/Right arrows)",1],["ctrl+alt+shift+arrowright","meta+alt+shift+arrowright","ctrl+alt+shift+arrowright","Table row selection",1],["ctrl+shift+1","meta+shift+1","ctrl+shift+1","Whiteboard: zoom to fit",1],["ctrl+shift+2",null,"ctrl+shift+2","Whiteboard: zoom to selection",1]]},{"id":"jira","name":"Jira Cloud","hosts":["*.atlassian.net"],"pathPrefixes":["/jira/","/browse/"],"shortcuts":[]},{"id":"linear","name":"Linear","hosts":["linear.app"],"pathPrefixes":[],"shortcuts":[["ctrl+shift+o","meta+shift+o","ctrl+shift+o","Create sub-issue",0],["ctrl+shift+arrowup","meta+shift+arrowup","ctrl+shift+arrowup","Open parent issue",0],["ctrl+shift+s","meta+shift+s","ctrl+shift+s","Manage subscribers",0],["ctrl+shift+m","meta+shift+m","ctrl+shift+m","Move to another team",0],["ctrl+shift+period","meta+shift+period","ctrl+shift+period","Copy Git branch name",0],["ctrl+shift+comma","meta+shift+comma","ctrl+shift+comma","Copy issue URL",0],["ctrl+shift+d","meta+shift+d","ctrl+shift+d","Remove due date",0],["alt+shift+f","alt+shift+f","alt+shift+f","Clear all filters",0],["ctrl+shift+1","meta+shift+1","ctrl+shift+1","Go to team 1",0],["ctrl+shift+2","meta+shift+2","ctrl+shift+2","Go to team 2",0],["ctrl+shift+3","meta+shift+3","ctrl+shift+3","Go to team 3",0],["ctrl+shift+4","meta+shift+4","ctrl+shift+4","Go to team 4",0],["ctrl+shift+5","meta+shift+5","ctrl+shift+5","Go to team 5",0],["ctrl+shift+6","meta+shift+6","ctrl+shift+6","Go to team 6",0],["ctrl+shift+7","meta+shift+7","ctrl+shift+7","Go to team 7",0],["ctrl+shift+8","meta+shift+8","ctrl+shift+8","Go to team 8",0],["ctrl+shift+9","meta+shift+9","ctrl+shift+9","Go to team 9",0],["ctrl+alt+1","meta+alt+1","ctrl+alt+1","Set status by position 1",0],["ctrl+alt+2","meta+alt+2","ctrl+alt+2","Set status by position 2",0],["ctrl+alt+3","meta+alt+3","ctrl+alt+3","Set status by position 3",0],["ctrl+alt+4","meta+alt+4","ctrl+alt+4","Set status by position 4",0],["ctrl+alt+5","meta+alt+5","ctrl+alt+5","Set status by position 5",0],["ctrl+alt+6","meta+alt+6","ctrl+alt+6","Set status by position 6",0],["ctrl+alt+7","meta+alt+7","ctrl+alt+7","Set status by position 7",0],["ctrl+alt+8","meta+alt+8","ctrl+alt+8","Set status by position 8",0],["ctrl+alt+9","meta+alt+9","ctrl+alt+9","Set status by position 9",0]]},{"id":"github","name":"GitHub","hosts":["github.com"],"pathPrefixes":[],"shortcuts":[["ctrl+shift+7","meta+shift+7",null,"Ordered list markdown (comment box, file editor)",1],["ctrl+shift+8","meta+shift+8",null,"Unordered list markdown (comment box, file editor)",1],["ctrl+shift+period","meta+shift+period",null,"Quote markdown (comment box, file editor)",1],["ctrl+shift+g","meta+shift+g",null,"Find previous (code editor)",1],["ctrl+shift+r","meta+alt+shift+f",null,"Replace all (code editor)",1],["ctrl+shift+p","meta+shift+p",null,"Toggle Write/Preview tabs (comments, issues, PRs, editor)",1],["ctrl+shift+v","meta+shift+v",null,"Paste HTML link as plain text",1],["ctrl+alt+shift+v","meta+alt+shift+v",null,"Paste HTML link as plain text (alternate chord)",1],["ctrl+shift+enter","meta+shift+enter",null,"Submit a review comment (Files changed tab)",1],["ctrl+shift+backslash","meta+shift+backslash",null,"Open row actions menu (Projects)",1],["alt+shift+c","alt+shift+c",null,"Open line menu for selected code (code view/editor)",1],["alt+shift+c","alt+shift+c",null,"Create a new sub-issue (issues)",1],["alt+shift+a","alt+shift+a",null,"Add an existing issue as sub-issue",1],["alt+shift+p","alt+shift+p",null,"Edit parent issue",1]]},{"id":"gutenberg","name":"WordPress block editor (Gutenberg)","hosts":["*"],"pathPrefixes":["/wp-admin/post.php","/wp-admin/post-new.php"],"shortcuts":[["ctrl+alt+shift+m","meta+alt+shift+m",null,"Switch visual editor / code editor",1],["ctrl+alt+shift+f","meta+alt+shift+f",null,"Toggle fullscreen mode",1],["alt+shift+o","ctrl+alt+o",null,"Open block list view",1],["ctrl+shift+comma","meta+shift+comma",null,"Show/hide settings sidebar",1],["alt+shift+n","ctrl+alt+n",null,"Navigate to next part of editor",1],["ctrl+shift+backquote","ctrl+shift+backquote",null,"Navigate to previous part of editor",1],["alt+shift+p","ctrl+alt+p",null,"Navigate to previous part of editor (alternate)",1],["ctrl+shift+z","meta+shift+z",null,"Redo",1],["ctrl+shift+0","meta+shift+0",null,"Zoom out toggle",1],["ctrl+shift+d","meta+shift+d",null,"Duplicate selected block(s)",1],["alt+shift+z","ctrl+alt+z",null,"Remove selected block(s)",1],["ctrl+alt+t","meta+alt+t",null,"Insert block before selection",1],["ctrl+alt+y","meta+alt+y",null,"Insert block after selection",1],["ctrl+alt+shift+t","meta+alt+shift+t",null,"Move selected block(s) up",1],["ctrl+alt+shift+y","meta+alt+shift+y",null,"Move selected block(s) down",1],["ctrl+alt+v","meta+alt+v",null,"Paste styles from copied block",1],["ctrl+shift+k","meta+shift+k",null,"Remove link",1],["ctrl+alt+x","meta+alt+x",null,"Inline code",1],["alt+shift+1","meta+alt+1",null,"Convert paragraph/heading to heading level 1",1],["alt+shift+2","meta+alt+2",null,"Convert paragraph/heading to heading level 2",1],["alt+shift+3","meta+alt+3",null,"Convert paragraph/heading to heading level 3",1],["alt+shift+4","meta+alt+4",null,"Convert paragraph/heading to heading level 4",1],["alt+shift+5","meta+alt+5",null,"Convert paragraph/heading to heading level 5",1],["alt+shift+6","meta+alt+6",null,"Convert paragraph/heading to heading level 6",1],["alt+shift+0","meta+alt+0",null,"Convert heading to paragraph",1],["alt+shift+h","ctrl+alt+h",null,"Show list of all editor shortcuts",1]]},{"id":"medium","name":"Medium","hosts":["medium.com"],"pathPrefixes":[],"shortcuts":[]},{"id":"reddit","name":"Reddit","hosts":["www.reddit.com"],"pathPrefixes":[],"shortcuts":[]},{"id":"linkedin","name":"LinkedIn","hosts":["www.linkedin.com"],"pathPrefixes":[],"shortcuts":[]},{"id":"x","name":"X / Twitter","hosts":["x.com","twitter.com"],"pathPrefixes":[],"shortcuts":[]},{"id":"substack","name":"Substack","hosts":["substack.com"],"pathPrefixes":[],"shortcuts":[]}]}
1
+ {"$comment":"Generated from data/site-hotkeys.json (the full, sourced table). Runtime projection used by sites.js; do not edit by hand.","version":{"researched":"2026-10-03","schema":"1.0","method":"Vendor help pages and keymap source, read by research agents (often through a summarizing fetch). verified=true means read on the vendor page or source in that session; false means a secondary source or inference. Sites the agents could not read have researched=false and no rows."},"sites":[{"id":"google-docs","name":"Google Docs","hosts":["docs.google.com"],"pathPrefixes":["/document/"],"shortcuts":[["ctrl+shift+v","meta+shift+v","ctrl+shift+v","Paste without formatting",1],["ctrl+shift+z","meta+shift+z","ctrl+shift+z","Redo",1],["ctrl+shift+g","meta+shift+g","ctrl+shift+g","Find previous",1],["ctrl+shift+f","ctrl+shift+f","ctrl+shift+f","Hide menus (compact mode)",1],["ctrl+shift+period","meta+shift+period","ctrl+shift+period","Increase font size",1],["ctrl+shift+comma","meta+shift+comma","ctrl+shift+comma","Decrease font size",1],["ctrl+shift+k","alt+shift+k",null,"Small caps",1],["ctrl+shift+l","meta+shift+l","ctrl+shift+l","Left align",1],["ctrl+shift+e","meta+shift+e","ctrl+shift+e","Center align",1],["ctrl+shift+r","meta+shift+r","ctrl+shift+r","Right align",1],["ctrl+shift+j","meta+shift+j","ctrl+shift+j","Justify",1],["ctrl+shift+7","meta+shift+7","ctrl+shift+7","Numbered list",1],["ctrl+shift+8","meta+shift+8","ctrl+shift+8","Bulleted list",1],["ctrl+shift+9","meta+shift+9",null,"Checklist",1],["ctrl+shift+arrowup","ctrl+shift+arrowup",null,"Move paragraph up",1],["ctrl+shift+arrowdown","ctrl+shift+arrowdown",null,"Move paragraph down",1],["ctrl+shift+x",null,"ctrl+shift+x","Context (right-click) menu",1],["ctrl+shift+backslash","meta+shift+backslash",null,"Context (right-click) menu (alternate)",1],["ctrl+shift+y","meta+shift+y","ctrl+shift+y","Open dictionary",1],["ctrl+shift+c","meta+shift+c","ctrl+shift+c","Word count",1],["ctrl+shift+s","meta+shift+s","ctrl+shift+s","Start voice typing",1],[null,"meta+shift+h",null,"Find and replace (Mac form)",1],["ctrl+shift+arrowleft",null,"ctrl+shift+arrowleft","Extend selection one word left",1],["ctrl+shift+arrowright",null,"ctrl+shift+arrowright","Extend selection one word right",1],["ctrl+shift+home","meta+shift+arrowup",null,"Extend selection to document start",1],["ctrl+shift+end","meta+shift+arrowdown",null,"Extend selection to document end",1],["ctrl+shift+pagedown",null,null,"Move to next tab",1],["ctrl+shift+pageup",null,null,"Move to previous tab",1],[null,"meta+shift+k",null,"Toggle input controls",1],["ctrl+alt+1","meta+alt+1","ctrl+alt+1","Apply heading style 1",1],["ctrl+alt+2","meta+alt+2","ctrl+alt+2","Apply heading style 2",1],["ctrl+alt+3","meta+alt+3","ctrl+alt+3","Apply heading style 3",1],["ctrl+alt+4","meta+alt+4","ctrl+alt+4","Apply heading style 4",1],["ctrl+alt+5","meta+alt+5","ctrl+alt+5","Apply heading style 5",1],["ctrl+alt+6","meta+alt+6","ctrl+alt+6","Apply heading style 6",1],["ctrl+alt+0","meta+alt+0","ctrl+alt+0","Apply normal text style",1],["ctrl+alt+y","meta+alt+y","ctrl+alt+y","Alt text",1],["ctrl+alt+k","ctrl+meta+k","ctrl+alt+k","Resize larger (drawing)",1],["ctrl+alt+b","ctrl+meta+b","ctrl+alt+b","Resize larger horizontally (drawing)",1],["ctrl+alt+i","ctrl+meta+i","ctrl+alt+i","Resize larger vertically (drawing)",1],["ctrl+alt+j","ctrl+meta+j","ctrl+alt+j","Resize smaller (drawing)",1],["ctrl+alt+w","ctrl+meta+w","ctrl+alt+w","Resize smaller horizontally (drawing)",1],["ctrl+alt+q","ctrl+meta+q","ctrl+alt+q","Resize smaller vertically (drawing)",1],["ctrl+alt+m","meta+alt+m","ctrl+alt+m","Insert comment",1],["ctrl+alt+f","meta+alt+f","ctrl+alt+f","Insert footnote",1],["ctrl+alt+c","meta+alt+c","ctrl+alt+c","Copy text formatting",1],["ctrl+alt+v","meta+alt+v","ctrl+alt+v","Paste text formatting",1],["ctrl+alt+x","meta+alt+x",null,"Open spelling and grammar",1],["ctrl+alt+z","meta+alt+z","ctrl+alt+z","Enable screen reader support",1],["ctrl+alt+h","meta+alt+h","ctrl+alt+h","Enable braille support",1],["ctrl+alt+enter","meta+alt+enter","ctrl+alt+enter","Toggle checkbox",1],["ctrl+alt+period","meta+alt+period","alt+shift+period","Go to side panel",1],["ctrl+alt+comma","meta+alt+comma","alt+shift+comma","Go to side panel (alternate)",1],["ctrl+alt+k",null,"ctrl+alt+k","Move to next edit",1],["ctrl+alt+j",null,"ctrl+alt+j","Move to previous edit",1],["alt+shift+5","meta+shift+x","alt+shift+5","Strikethrough",1],["alt+shift+arrowleft","alt+shift+arrowleft","alt+shift+arrowleft","Rotate counterclockwise 1 degree (drawing)",1],["alt+shift+arrowright","alt+shift+arrowright","alt+shift+arrowright","Rotate clockwise 1 degree (drawing)",1],["alt+shift+backquote",null,"alt+shift+backquote","Enable screen reader support (alternate)",1],[null,"alt+shift+arrowup",null,"Extend selection one paragraph up",1],[null,"alt+shift+arrowdown",null,"Extend selection one paragraph down",1],["alt+shift+f","ctrl+alt+f",null,"File menu",1],["alt+shift+e","ctrl+alt+e",null,"Edit menu",1],["alt+shift+v","ctrl+alt+v",null,"View menu",1],["alt+shift+i","ctrl+alt+i",null,"Insert menu",1],["alt+shift+o","ctrl+alt+o",null,"Format menu",1],["alt+shift+t","ctrl+alt+t",null,"Tools menu",1],["alt+shift+h","ctrl+alt+h",null,"Help menu",1],["alt+shift+a","ctrl+alt+a",null,"Accessibility menu",1],["ctrl+alt+shift+a","meta+alt+shift+a","ctrl+alt+shift+a","Open discussion thread / comment history",1],["ctrl+alt+shift+k","meta+alt+shift+k","ctrl+alt+shift+k","Input Tools menu",1],["ctrl+alt+shift+r","meta+alt+shift+r","ctrl+alt+shift+r","Show live edits",1],["ctrl+alt+shift+m","meta+alt+shift+m","ctrl+alt+shift+m","Move focus out of editing area",1],["ctrl+alt+shift+z","meta+alt+shift+z","ctrl+alt+shift+z","Switch to editing",1],["ctrl+alt+shift+x","meta+alt+shift+x","ctrl+alt+shift+x","Switch to suggesting",1],["ctrl+alt+shift+c","meta+alt+shift+c","ctrl+alt+shift+c","Switch to viewing",1],["ctrl+alt+shift+h","meta+alt+shift+h","ctrl+alt+shift+h","Open revision history",1],["ctrl+alt+shift+i","meta+alt+shift+i","ctrl+alt+shift+i","Open Explore tool",1],["ctrl+alt+shift+arrowleft","ctrl+meta+shift+arrowleft","ctrl+alt+shift+arrowleft","Select multiple text sections (left)",1],["ctrl+alt+shift+arrowright","ctrl+meta+shift+arrowright","ctrl+alt+shift+arrowright","Select multiple text sections (right)",1]]},{"id":"google-slides","name":"Google Slides","hosts":["docs.google.com"],"pathPrefixes":["/presentation/"],"shortcuts":[["ctrl+shift+z","meta+shift+z","ctrl+shift+z","Redo",1],["ctrl+shift+g","meta+shift+g","ctrl+shift+g","Find previous",1],["ctrl+shift+f","ctrl+shift+f","ctrl+shift+f","Hide or show menus",1],["ctrl+shift+c","meta+shift+c","ctrl+shift+c","Turn on captions",1],["ctrl+shift+backslash","meta+shift+backslash",null,"Context menu",1],["ctrl+shift+x",null,"ctrl+shift+x","Context menu (alternate)",1],["ctrl+shift+arrowup","meta+shift+arrowup","ctrl+shift+arrowup","Move slide to beginning / Bring to front",1],["ctrl+shift+arrowdown","meta+shift+arrowdown","ctrl+shift+arrowdown","Move slide to end / Send to back",1],["ctrl+shift+period","meta+shift+period","ctrl+shift+period","Increase font size / playback rate",1],["ctrl+shift+comma","meta+shift+comma","ctrl+shift+comma","Decrease font size / playback rate",1],["ctrl+shift+l","meta+shift+l",null,"Left align",1],["ctrl+shift+r","meta+shift+r","ctrl+shift+r","Right align",1],["ctrl+shift+e","meta+shift+e","ctrl+shift+e","Center align",1],["ctrl+shift+j","meta+shift+j","ctrl+shift+j","Justify",1],["ctrl+shift+8","meta+shift+8","ctrl+shift+8","Bulleted list",1],["ctrl+shift+7","meta+shift+7","ctrl+shift+7","Numbered list",1],["ctrl+shift+k","meta+shift+k","ctrl+shift+k","Toggle input controls",1],[null,"meta+shift+h",null,"Find and replace (Mac form)",1],[null,"meta+shift+f",null,"Toggle full screen (present, Mac form)",1],["ctrl+alt+c","meta+alt+c","ctrl+alt+c","Copy formatting",1],["ctrl+alt+v","meta+alt+v","ctrl+alt+v","Paste formatting",1],["ctrl+alt+y","meta+alt+y","ctrl+alt+y","Alt text",1],["ctrl+alt+m","meta+alt+m","ctrl+alt+m","Insert comment",1],["ctrl+alt+g","meta+alt+g","ctrl+alt+g","Group",1],["ctrl+alt+b","ctrl+meta+b","ctrl+alt+b","Resize larger horizontally",1],["ctrl+alt+i","ctrl+meta+i","ctrl+alt+i","Resize larger vertically",1],["ctrl+alt+j","ctrl+meta+j","ctrl+alt+j","Resize smaller",1],["ctrl+alt+k","ctrl+meta+k","ctrl+alt+k","Resize larger",1],["ctrl+alt+w","ctrl+meta+w","ctrl+alt+w","Resize smaller horizontally",1],["ctrl+alt+9",null,"ctrl+alt+9","Resize smaller vertically",1],["ctrl+alt+x","ctrl+meta+x","ctrl+alt+x","Verbalize selection",1],["ctrl+alt+r","ctrl+meta+r","ctrl+alt+r","Verbalize from cursor",1],["ctrl+alt+z","meta+alt+z","ctrl+alt+z","Enable screen reader",1],["ctrl+alt+h","meta+alt+h","ctrl+alt+h","Enable braille",1],["ctrl+alt+period","meta+alt+period","alt+shift+period","Go to side panel",1],["ctrl+alt+comma","meta+alt+comma","alt+shift+comma","Go to side panel (alternate)",1],["alt+shift+5","meta+shift+x","alt+shift+5","Strikethrough",1],["alt+shift+arrowdown","alt+shift+arrowdown",null,"Move paragraph down",1],["alt+shift+arrowup","alt+shift+arrowup",null,"Move paragraph up",1],["alt+shift+arrowleft","alt+shift+arrowleft","alt+shift+arrowleft","Rotate counterclockwise 1 degree",1],["alt+shift+arrowright","alt+shift+arrowright","alt+shift+arrowright","Rotate clockwise 1 degree",1],["alt+shift+backquote",null,"alt+shift+backquote","Enable screen reader (alternate)",1],["alt+shift+f",null,null,"File menu",1],["alt+shift+e",null,null,"Edit menu",1],["alt+shift+v",null,null,"View menu",1],["alt+shift+i",null,null,"Insert menu",1],["alt+shift+o",null,null,"Format menu",1],["alt+shift+t",null,null,"Tools menu",1],["alt+shift+h",null,null,"Help menu",1],["alt+shift+a",null,null,"Accessibility menu",1],["ctrl+alt+shift+f","meta+alt+shift+f","ctrl+alt+shift+f","Move to filmstrip",1],["ctrl+alt+shift+c","meta+alt+shift+c","ctrl+alt+shift+c","Move to canvas",1],["ctrl+alt+shift+s","meta+alt+shift+s","ctrl+alt+shift+s","Open speaker notes",1],["ctrl+alt+shift+p","meta+alt+shift+p","ctrl+alt+shift+p","HTML view",1],["ctrl+alt+shift+b","meta+alt+shift+b","ctrl+alt+shift+b","Open animations",1],["ctrl+alt+shift+i","meta+alt+shift+i","ctrl+alt+shift+i","Open Explore",1],["ctrl+alt+shift+a","meta+alt+shift+a","ctrl+alt+shift+a","Open comment thread",1],["ctrl+alt+shift+j","meta+alt+shift+j","ctrl+alt+shift+j","Hide comment",1],["ctrl+alt+shift+g","meta+alt+shift+g","ctrl+alt+shift+g","Ungroup",1],["ctrl+alt+shift+k","meta+alt+shift+k","ctrl+alt+shift+k","Input tools menu",1],["ctrl+alt+shift+h","meta+alt+shift+h",null,"Revision history",1]]},{"id":"gmail","name":"Gmail","hosts":["mail.google.com"],"pathPrefixes":[],"shortcuts":[["ctrl+shift+c","meta+shift+c","ctrl+shift+c","Add cc recipients",1],["ctrl+shift+b","meta+shift+b","ctrl+shift+b","Add bcc recipients",1],["ctrl+shift+f","meta+shift+f","ctrl+shift+f","Access custom From",1],["ctrl+shift+5","meta+shift+5","ctrl+shift+5","Previous font",1],["ctrl+shift+6","meta+shift+6","ctrl+shift+6","Next font",1],["ctrl+shift+minus","meta+shift+minus","ctrl+shift+minus","Decrease text size",1],["ctrl+shift+equal","meta+shift+equal","ctrl+shift+equal","Increase text size",1],["ctrl+shift+7","meta+shift+7","ctrl+shift+7","Numbered list",1],["ctrl+shift+8","meta+shift+8","ctrl+shift+8","Bulleted list",1],["ctrl+shift+9","meta+shift+9","ctrl+shift+9","Quote",1],["ctrl+shift+l","meta+shift+l","ctrl+shift+l","Align left",1],["ctrl+shift+e","meta+shift+e","ctrl+shift+e","Align center",1],["ctrl+shift+r","meta+shift+r","ctrl+shift+r","Align right",1],["ctrl+alt+comma","meta+alt+comma","ctrl+alt+comma","Switch between Calendar/Keep/Tasks sidebar and inbox",1],["ctrl+alt+period","meta+alt+period","ctrl+alt+period","Switch between Calendar/Keep/Tasks sidebar and inbox (alternate)",1]]},{"id":"google-keep","name":"Google Keep","hosts":["keep.google.com"],"pathPrefixes":[],"shortcuts":[["ctrl+shift+8","meta+shift+8","ctrl+shift+8","Toggle checkboxes",1]]},{"id":"word-web","name":"Word for the web","hosts":["word.cloud.microsoft","*.officeapps.live.com","onedrive.live.com","*.sharepoint.com"],"pathPrefixes":[],"shortcuts":[["ctrl+shift+f6",null,null,"Move between ribbon and document content (Ctrl+F6 also)",1],["ctrl+shift+arrowright",null,null,"Select right one word",1],["ctrl+shift+arrowleft",null,null,"Select left one word",1],["ctrl+shift+arrowup",null,null,"Select up one paragraph",1],["ctrl+shift+arrowdown",null,null,"Select down one paragraph",1],["ctrl+shift+home",null,null,"Select to beginning of document",1],["ctrl+shift+end",null,null,"Select to end of document",1],["ctrl+alt+g",null,null,"Select image",0],["alt+shift+arrowleft",null,null,"Outdent / select left by word",0],["alt+shift+arrowright",null,null,"Indent",0],["ctrl+alt+shift+tab",null,null,"Task Switcher",0]]},{"id":"outlook-web","name":"Outlook on the web","hosts":["outlook.office.com","outlook.live.com","outlook.cloud.microsoft","outlook.office365.com"],"pathPrefixes":[],"shortcuts":[["ctrl+shift+r",null,null,"Reply all",1],["ctrl+shift+f",null,null,"Forward message",1],["ctrl+shift+2",null,null,"Go to calendar",1],["ctrl+shift+1",null,null,"Go to mail / Inbox",0],["ctrl+alt+arrowleft",null,null,"Calendar: previous day/period",1],["ctrl+alt+arrowright",null,null,"Calendar: next day/period",1],["ctrl+alt+1",null,null,"Calendar: Day view",1],["ctrl+alt+2",null,null,"Calendar: Week / work week view",1],["ctrl+alt+4",null,null,"Calendar: Month view",1],["alt+shift+y",null,null,"Calendar: go to today",1],["alt+shift+1",null,null,"Calendar: Day view (shift+alt set)",1],["alt+shift+2",null,null,"Calendar: Work week view",1],["alt+shift+3",null,null,"Calendar: Full week view",1],["alt+shift+4",null,null,"Calendar: Month view",1]]},{"id":"teams-web","name":"Microsoft Teams (web)","hosts":["teams.microsoft.com","teams.live.com","teams.cloud.microsoft"],"pathPrefixes":[],"shortcuts":[["ctrl+shift+f","meta+shift+f",null,"Open filter",0],["ctrl+shift+n","meta+shift+n",null,"Start chat in new window (desktop; browser reserves new incognito window)",0],["ctrl+shift+x","meta+shift+x",null,"Expand compose box",0],["ctrl+shift+c","meta+shift+c",null,"Insert inline code",0],["ctrl+shift+b","meta+shift+b",null,"Insert code block",0],["ctrl+shift+i","meta+shift+i",null,"Mark message important",0],["ctrl+shift+a","meta+shift+a",null,"Accept video call",0],["ctrl+shift+s",null,null,"Accept audio call",0],["ctrl+shift+d","meta+shift+d",null,"Decline call",0],["ctrl+shift+m","meta+shift+m",null,"Toggle mute",0],["ctrl+shift+u",null,null,"Toggle speaker",0],["ctrl+shift+o","meta+shift+o",null,"Toggle video",0],["ctrl+shift+e","meta+shift+e",null,"Toggle share tray",0],["ctrl+shift+h","meta+shift+h",null,"End call",0],["ctrl+shift+k","meta+shift+k",null,"Raise/lower hand",0],["ctrl+shift+l","meta+shift+l",null,"Announce raised hands",0],["ctrl+shift+y","meta+shift+y",null,"Admit from lobby",0],["ctrl+shift+j",null,null,"Join from meeting toast",0],["ctrl+shift+r",null,null,"Open meeting chat from notification",0],["ctrl+shift+q",null,null,"Create meeting request",0],["ctrl+shift+1",null,null,"Download diagnostic logs (also: opens 1st app on web per page note)",0],["ctrl+alt+enter",null,null,"Move focus to pane divider",0],["ctrl+alt+r","meta+alt+r",null,"React to last message",0],["ctrl+alt+u","meta+alt+u",null,"See all unread chats",0],["ctrl+alt+c","meta+alt+c",null,"See all chats",0],["ctrl+alt+a","meta+alt+a",null,"See all channel conversations",0],["ctrl+alt+b","meta+alt+b",null,"See all meeting chats",0],["ctrl+alt+z","meta+alt+z",null,"Clear all filters",0],["ctrl+alt+p","meta+alt+p",null,"Paragraph style",0],["ctrl+alt+4",null,null,"Insert block quote",0],["ctrl+alt+x",null,null,"Strikethrough",0],["ctrl+alt+l","meta+alt+l",null,"Add Loop paragraph",0],["ctrl+alt+5","meta+alt+4",null,"Insert code",0],["ctrl+alt+1","meta+alt+1",null,"Heading 1",0],["ctrl+alt+2","meta+alt+2",null,"Heading 2",0],["ctrl+alt+3","meta+alt+3",null,"Heading 3",0],["ctrl+alt+f",null,null,"Forward an event",0],["ctrl+alt+k",null,null,"Mark all as read (Activity)",0],["ctrl+alt+m",null,null,"Filter activity to mentions",0],["ctrl+alt+arrowleft",null,null,"Calendar previous day/week",0],["ctrl+alt+arrowright",null,null,"Calendar next day/week",0],["alt+shift+r","meta+shift+r",null,"Reply to last message",0],["alt+shift+o","meta+alt+o",null,"Attach file",0],["alt+shift+e",null,null,"Open video recorder",0],["alt+shift+a",null,null,"Start audio call",0],["alt+shift+v",null,null,"Start video call",0],["alt+shift+equal","meta+alt+equal",null,"Zoom in shared content",0],["alt+shift+minus","meta+alt+minus",null,"Zoom out shared content",0],["alt+shift+0","meta+alt+0",null,"Reset zoom",0],["alt+shift+arrowup","meta+alt+arrowup",null,"Pan up",0],["alt+shift+arrowdown","meta+alt+arrowdown",null,"Pan down",0],["alt+shift+arrowleft","meta+alt+arrowleft",null,"Pan left",0],["alt+shift+arrowright","meta+alt+arrowright",null,"Pan right",0],["alt+shift+j",null,null,"Join from meeting details",0],["alt+shift+s",null,null,"Go to suggested time",0],["alt+shift+1",null,null,"Day view",0],["alt+shift+2",null,null,"Work week view",0],["alt+shift+3",null,null,"Week view",0],["alt+shift+4",null,null,"Month view",0],["alt+shift+5",null,null,"Agenda in month view",0],["alt+shift+y",null,null,"Go to today",0],["ctrl+alt+shift+r","meta+alt+shift+r",null,"Report a problem",0],["ctrl+alt+shift+1",null,null,"Download diagnostic logs",0]]},{"id":"onenote-web","name":"OneNote for the web","hosts":["onenote.cloud.microsoft","www.onenote.com","*.officeapps.live.com","onedrive.live.com"],"pathPrefixes":[],"shortcuts":[["ctrl+shift+f",null,null,"Create a new outline",1],["alt+shift+arrowright",null,null,"Increase paragraph indent",1],["alt+shift+arrowleft",null,null,"Decrease paragraph indent",1]]},{"id":"notion","name":"Notion","hosts":["www.notion.so","www.notion.com"],"pathPrefixes":[],"shortcuts":[["ctrl+shift+n","meta+shift+n","ctrl+shift+n","Open a new Notion window",1],["ctrl+shift+l","meta+shift+l","ctrl+shift+l","Toggle dark/light mode",1],["ctrl+shift+m","meta+shift+m","ctrl+shift+m","Create a comment",1],["ctrl+shift+s","meta+shift+s","ctrl+shift+s","Strikethrough",1],["ctrl+shift+u","meta+shift+u","ctrl+shift+u","Go up one level in page hierarchy",1],["ctrl+shift+h","meta+shift+h","ctrl+shift+h","Apply last used text or highlight color",1],[null,"ctrl+shift+k",null,"Previous database page in peek view",1],[null,"ctrl+shift+j",null,"Next database page in peek view",1],["ctrl+shift+arrowup","meta+shift+arrowup","ctrl+shift+arrowup","Move selected block(s) up",1],["ctrl+shift+arrowdown","meta+shift+arrowdown","ctrl+shift+arrowdown","Move selected block(s) down",1],["ctrl+shift+arrowleft","meta+shift+arrowleft","ctrl+shift+arrowleft","Move/outdent selected block(s)",0],["ctrl+shift+arrowright","meta+shift+arrowright","ctrl+shift+arrowright","Move/indent selected block(s)",0],["ctrl+shift+t","meta+alt+t","ctrl+shift+t","Expand or close all toggles in a toggle list",1],["ctrl+shift+0","meta+alt+0","ctrl+shift+0","Turn block into text/heading/to-do/list/code/page (digit)",1],["ctrl+shift+1","meta+alt+1","ctrl+shift+1","Turn block into text/heading/to-do/list/code/page (digit)",1],["ctrl+shift+2","meta+alt+2","ctrl+shift+2","Turn block into text/heading/to-do/list/code/page (digit)",1],["ctrl+shift+3","meta+alt+3","ctrl+shift+3","Turn block into text/heading/to-do/list/code/page (digit)",1],["ctrl+shift+4","meta+alt+4","ctrl+shift+4","Turn block into text/heading/to-do/list/code/page (digit)",1],["ctrl+shift+5","meta+alt+5","ctrl+shift+5","Turn block into text/heading/to-do/list/code/page (digit)",1],["ctrl+shift+6","meta+alt+6","ctrl+shift+6","Turn block into text/heading/to-do/list/code/page (digit)",1],["ctrl+shift+7","meta+alt+7","ctrl+shift+7","Turn block into text/heading/to-do/list/code/page (digit)",1],["ctrl+shift+8","meta+alt+8","ctrl+shift+8","Turn block into text/heading/to-do/list/code/page (digit)",1],["ctrl+shift+9","meta+alt+9","ctrl+shift+9","Turn block into text/heading/to-do/list/code/page (digit)",1]]},{"id":"slack","name":"Slack","hosts":["app.slack.com"],"pathPrefixes":["/client/"],"shortcuts":[["ctrl+shift+k","meta+shift+k","ctrl+shift+k","Compose new message / Browse DMs",1],["ctrl+shift+2",null,"ctrl+shift+2","Browse DMs (Windows row)",1],["ctrl+shift+y","meta+shift+y","ctrl+shift+y","Set status",1],["ctrl+shift+n","meta+shift+n","ctrl+shift+n","Create new canvas",1],["ctrl+shift+j","meta+shift+j","ctrl+shift+j","View downloaded files",1],["ctrl+shift+enter","meta+shift+enter","ctrl+shift+enter","Create snippet",1],["ctrl+shift+backquote","meta+shift+backquote","ctrl+shift+backquote","Add emoji reaction",1],["ctrl+shift+backslash","meta+shift+backslash","ctrl+shift+backslash","Add emoji reaction (layout variant)",1],["ctrl+shift+h","meta+shift+h","ctrl+shift+h","Start/join/leave huddle (canvas: find and replace)",1],["ctrl+shift+space","meta+shift+space","ctrl+shift+space","Toggle huddle mute",1],["ctrl+shift+w","meta+shift+w","ctrl+shift+w","Reopen last closed window",1],["ctrl+shift+e","meta+shift+e","ctrl+shift+e","Open People view",1],["ctrl+shift+m","meta+shift+m","ctrl+shift+m","Open Activity view",1],["ctrl+shift+t","meta+shift+t","ctrl+shift+t","Open Threads view",1],["ctrl+shift+l","meta+shift+l","ctrl+shift+l","Browse channels",1],["ctrl+shift+i","meta+shift+i","ctrl+shift+i","Open conversation details",1],["ctrl+shift+a","meta+shift+a","ctrl+shift+a","Open All unreads view",1],["ctrl+shift+s","meta+shift+s","ctrl+shift+s","Expand/collapse workspace switcher",1],["ctrl+shift+x","meta+shift+x","ctrl+shift+x","Strikethrough text",1],["ctrl+shift+u","meta+shift+u","ctrl+shift+u","Hyperlink text",1],["ctrl+shift+9","meta+shift+9","ctrl+shift+9","Quote text",1],["ctrl+shift+8","meta+shift+8","ctrl+shift+8","Bulleted list",1],["ctrl+shift+7","meta+shift+7","ctrl+shift+7","Numbered list",1],["ctrl+shift+c","meta+shift+c","ctrl+shift+c","Code text",1],["ctrl+shift+f","meta+shift+f","ctrl+shift+f","Apply markdown formatting",1],["ctrl+shift+0","meta+shift+0","ctrl+shift+0","Format as checklist (canvas)",1],["ctrl+shift+g","meta+shift+g","ctrl+shift+g","Find previous (canvas)",1],["ctrl+shift+z","meta+shift+z","ctrl+shift+z","Redo (canvas)",1],[null,"meta+shift+slash",null,"Open context menu (canvas), Mac",1],["ctrl+shift+1",null,"ctrl+shift+1","Switch to tab by number (Shift Ctrl [number], digits 1-9)",1],["alt+shift+arrowup","alt+shift+arrowup","alt+shift+arrowup","Jump to previous unread channel/DM",1],["alt+shift+arrowdown","alt+shift+arrowdown","alt+shift+arrowdown","Jump to next unread channel/DM",1],["ctrl+alt+shift+c","meta+alt+shift+c","ctrl+alt+shift+c","Codeblock text",1],["ctrl+alt+0","meta+alt+0","ctrl+alt+0","Paragraph (canvas)",1],["ctrl+alt+1","meta+alt+1","ctrl+alt+1","Big heading (canvas)",1],["ctrl+alt+2","meta+alt+2","ctrl+alt+2","Medium heading (canvas)",1],["ctrl+alt+3","meta+alt+3","ctrl+alt+3","Small heading (canvas)",1],["ctrl+alt+t","meta+alt+t","ctrl+alt+t","View comment thread (canvas)",1],["ctrl+alt+r","meta+alt+r","ctrl+alt+r","Show reader/edit view (canvas)",1],["ctrl+alt+arrowup","meta+alt+arrowup","ctrl+alt+arrowup","Move list item up (canvas)",1],["ctrl+alt+arrowdown","meta+alt+arrowdown","ctrl+alt+arrowdown","Move list item down (canvas)",1],["ctrl+alt+q","ctrl+alt+q","ctrl+alt+q","Copy anchor link (canvas)",1]]},{"id":"discord","name":"Discord","hosts":["discord.com"],"pathPrefixes":["/channels/"],"shortcuts":[["ctrl+shift+m","meta+shift+m","ctrl+shift+m","Toggle mute",1],["ctrl+shift+d","meta+shift+d","ctrl+shift+d","Toggle deafen",1],["ctrl+shift+u","meta+shift+u","ctrl+shift+u","Attach a file to your message",1],["ctrl+shift+b","meta+shift+b","ctrl+shift+b","Open soundboard during voice call",1],["ctrl+alt+shift+v","meta+alt+shift+v","ctrl+alt+shift+v","Return to your active voice call",1]]},{"id":"confluence","name":"Confluence Cloud","hosts":["*.atlassian.net"],"pathPrefixes":["/wiki/"],"shortcuts":[["ctrl+shift+7","meta+shift+7","ctrl+shift+7","Numbered list",1],["ctrl+shift+8","meta+shift+8","ctrl+shift+8","Bullet list",1],["ctrl+shift+9","meta+shift+9","ctrl+shift+9","Quote",1],["ctrl+shift+m","meta+shift+m","ctrl+shift+m","Code",1],["ctrl+shift+s","alt+shift+s","ctrl+shift+s","Strikethrough",1],["ctrl+shift+comma","alt+shift+comma","ctrl+shift+comma","Subscript",1],["ctrl+shift+period","alt+shift+period","ctrl+shift+period","Superscript",1],["ctrl+shift+enter","meta+shift+enter","ctrl+shift+enter","Publish with note",1],["ctrl+shift+i","ctrl+shift+i","ctrl+shift+i","Open details panel",1],["ctrl+shift+u","meta+shift+u","ctrl+shift+u","Next unread comment",1],["ctrl+shift+d","meta+shift+d","ctrl+shift+d","Insert markup",1],["ctrl+shift+a","meta+shift+a","ctrl+shift+a","Macro",1],[null,"meta+shift+i",null,"Insert table (Mac only per page)",0],["ctrl+alt+shift+b","meta+alt+shift+b","ctrl+alt+shift+b","Blog post",1],["ctrl+alt+o","meta+alt+o","ctrl+alt+o","Open notifications",1],["ctrl+alt+h","meta+alt+h","ctrl+alt+h","Go Home",1],["ctrl+alt+g","meta+alt+g","ctrl+alt+g","Open recent",1],["ctrl+alt+8","meta+alt+8","ctrl+alt+8","Open starred",1],["ctrl+alt+v","meta+alt+v","ctrl+alt+v","Go to space overview",1],["ctrl+alt+0","meta+alt+0","ctrl+alt+0","Paragraph",1],["ctrl+alt+1","meta+alt+1","ctrl+alt+1","Heading 1",1],["ctrl+alt+2","meta+alt+2","ctrl+alt+2","Heading 2",1],["ctrl+alt+3","meta+alt+3","ctrl+alt+3","Heading 3",1],["ctrl+alt+4","meta+alt+4","ctrl+alt+4","Heading 4",1],["ctrl+alt+5","meta+alt+5","ctrl+alt+5","Heading 5",1],["ctrl+alt+6","meta+alt+6","ctrl+alt+6","Heading 6",1],["ctrl+alt+y","meta+alt+y","ctrl+alt+y","Highlight yellow",1],["ctrl+alt+c","meta+alt+c","ctrl+alt+c","Comment",1],["ctrl+alt+w","meta+alt+w","ctrl+alt+w","Watch",1],["ctrl+alt+s","meta+alt+s","ctrl+alt+s","Share",1],["ctrl+alt+e","meta+alt+e","ctrl+alt+e","Align center",1],["ctrl+alt+t","meta+alt+t","ctrl+alt+t","Align right",1],["ctrl+alt+a","ctrl+alt+a","ctrl+alt+a","Edit labels",1],["ctrl+alt+f","ctrl+alt+f","ctrl+alt+f","Favorite content",1],[null,"ctrl+alt+c",null,"Create page (Mac)",1],[null,"ctrl+alt+t",null,"Attachments (Mac)",1],["ctrl+alt+p",null,"ctrl+alt+p","Presenter mode",1],["ctrl+alt+arrowup",null,"ctrl+alt+arrowup","Table row/column operations (Ctrl+Alt+Arrow keys)",1],["ctrl+alt+equal",null,"ctrl+alt+equal","Table insert row/column",1],["ctrl+alt+minus",null,"ctrl+alt+minus","Table delete row/column",1],["alt+shift+z","ctrl+alt+z","alt+shift+z","Quick search",1],["ctrl+alt+shift+r","meta+alt+shift+r","ctrl+alt+shift+r","Table resize (whiteboard/table)",1],["ctrl+alt+shift+arrowup","meta+alt+shift+arrowup","ctrl+alt+shift+arrowup","Table column selection (Up/Down arrows)",1],["ctrl+alt+shift+arrowdown","meta+alt+shift+arrowdown","ctrl+alt+shift+arrowdown","Table column selection",1],["ctrl+alt+shift+arrowleft","meta+alt+shift+arrowleft","ctrl+alt+shift+arrowleft","Table row selection (Left/Right arrows)",1],["ctrl+alt+shift+arrowright","meta+alt+shift+arrowright","ctrl+alt+shift+arrowright","Table row selection",1],["ctrl+shift+1","meta+shift+1","ctrl+shift+1","Whiteboard: zoom to fit",1],["ctrl+shift+2",null,"ctrl+shift+2","Whiteboard: zoom to selection",1]]},{"id":"jira","name":"Jira Cloud","hosts":["*.atlassian.net"],"pathPrefixes":["/jira/","/browse/"],"shortcuts":[]},{"id":"linear","name":"Linear","hosts":["linear.app"],"pathPrefixes":[],"shortcuts":[["ctrl+shift+o","meta+shift+o","ctrl+shift+o","Create sub-issue",0],["ctrl+shift+arrowup","meta+shift+arrowup","ctrl+shift+arrowup","Open parent issue",0],["ctrl+shift+s","meta+shift+s","ctrl+shift+s","Manage subscribers",0],["ctrl+shift+m","meta+shift+m","ctrl+shift+m","Move to another team",0],["ctrl+shift+period","meta+shift+period","ctrl+shift+period","Copy Git branch name",0],["ctrl+shift+comma","meta+shift+comma","ctrl+shift+comma","Copy issue URL",0],["ctrl+shift+d","meta+shift+d","ctrl+shift+d","Remove due date",0],["alt+shift+f","alt+shift+f","alt+shift+f","Clear all filters",0],["ctrl+shift+1","meta+shift+1","ctrl+shift+1","Go to team 1",0],["ctrl+shift+2","meta+shift+2","ctrl+shift+2","Go to team 2",0],["ctrl+shift+3","meta+shift+3","ctrl+shift+3","Go to team 3",0],["ctrl+shift+4","meta+shift+4","ctrl+shift+4","Go to team 4",0],["ctrl+shift+5","meta+shift+5","ctrl+shift+5","Go to team 5",0],["ctrl+shift+6","meta+shift+6","ctrl+shift+6","Go to team 6",0],["ctrl+shift+7","meta+shift+7","ctrl+shift+7","Go to team 7",0],["ctrl+shift+8","meta+shift+8","ctrl+shift+8","Go to team 8",0],["ctrl+shift+9","meta+shift+9","ctrl+shift+9","Go to team 9",0],["ctrl+alt+1","meta+alt+1","ctrl+alt+1","Set status by position 1",0],["ctrl+alt+2","meta+alt+2","ctrl+alt+2","Set status by position 2",0],["ctrl+alt+3","meta+alt+3","ctrl+alt+3","Set status by position 3",0],["ctrl+alt+4","meta+alt+4","ctrl+alt+4","Set status by position 4",0],["ctrl+alt+5","meta+alt+5","ctrl+alt+5","Set status by position 5",0],["ctrl+alt+6","meta+alt+6","ctrl+alt+6","Set status by position 6",0],["ctrl+alt+7","meta+alt+7","ctrl+alt+7","Set status by position 7",0],["ctrl+alt+8","meta+alt+8","ctrl+alt+8","Set status by position 8",0],["ctrl+alt+9","meta+alt+9","ctrl+alt+9","Set status by position 9",0]]},{"id":"github","name":"GitHub","hosts":["github.com"],"pathPrefixes":[],"shortcuts":[["ctrl+shift+7","meta+shift+7",null,"Ordered list markdown (comment box, file editor)",1],["ctrl+shift+8","meta+shift+8",null,"Unordered list markdown (comment box, file editor)",1],["ctrl+shift+period","meta+shift+period",null,"Quote markdown (comment box, file editor)",1],["ctrl+shift+g","meta+shift+g",null,"Find previous (code editor)",1],["ctrl+shift+r","meta+alt+shift+f",null,"Replace all (code editor)",1],["ctrl+shift+p","meta+shift+p",null,"Toggle Write/Preview tabs (comments, issues, PRs, editor)",1],["ctrl+shift+v","meta+shift+v",null,"Paste HTML link as plain text",1],["ctrl+alt+shift+v","meta+alt+shift+v",null,"Paste HTML link as plain text (alternate chord)",1],["ctrl+shift+enter","meta+shift+enter",null,"Submit a review comment (Files changed tab)",1],["ctrl+shift+backslash","meta+shift+backslash",null,"Open row actions menu (Projects)",1],["alt+shift+c","alt+shift+c",null,"Open line menu for selected code (code view/editor)",1],["alt+shift+c","alt+shift+c",null,"Create a new sub-issue (issues)",1],["alt+shift+a","alt+shift+a",null,"Add an existing issue as sub-issue",1],["alt+shift+p","alt+shift+p",null,"Edit parent issue",1]]},{"id":"gutenberg","name":"WordPress block editor (Gutenberg)","hosts":["*"],"pathPrefixes":["/wp-admin/post.php","/wp-admin/post-new.php"],"shortcuts":[["ctrl+alt+shift+m","meta+alt+shift+m",null,"Switch visual editor / code editor",1],["ctrl+alt+shift+f","meta+alt+shift+f",null,"Toggle fullscreen mode",1],["alt+shift+o","ctrl+alt+o",null,"Open block list view",1],["ctrl+shift+comma","meta+shift+comma",null,"Show/hide settings sidebar",1],["alt+shift+n","ctrl+alt+n",null,"Navigate to next part of editor",1],["ctrl+shift+backquote","ctrl+shift+backquote",null,"Navigate to previous part of editor",1],["alt+shift+p","ctrl+alt+p",null,"Navigate to previous part of editor (alternate)",1],["ctrl+shift+z","meta+shift+z",null,"Redo",1],["ctrl+shift+0","meta+shift+0",null,"Zoom out toggle",1],["ctrl+shift+d","meta+shift+d",null,"Duplicate selected block(s)",1],["alt+shift+z","ctrl+alt+z",null,"Remove selected block(s)",1],["ctrl+alt+t","meta+alt+t",null,"Insert block before selection",1],["ctrl+alt+y","meta+alt+y",null,"Insert block after selection",1],["ctrl+alt+shift+t","meta+alt+shift+t",null,"Move selected block(s) up",1],["ctrl+alt+shift+y","meta+alt+shift+y",null,"Move selected block(s) down",1],["ctrl+alt+v","meta+alt+v",null,"Paste styles from copied block",1],["ctrl+shift+k","meta+shift+k",null,"Remove link",1],["ctrl+alt+x","meta+alt+x",null,"Inline code",1],["alt+shift+1","meta+alt+1",null,"Convert paragraph/heading to heading level 1",1],["alt+shift+2","meta+alt+2",null,"Convert paragraph/heading to heading level 2",1],["alt+shift+3","meta+alt+3",null,"Convert paragraph/heading to heading level 3",1],["alt+shift+4","meta+alt+4",null,"Convert paragraph/heading to heading level 4",1],["alt+shift+5","meta+alt+5",null,"Convert paragraph/heading to heading level 5",1],["alt+shift+6","meta+alt+6",null,"Convert paragraph/heading to heading level 6",1],["alt+shift+0","meta+alt+0",null,"Convert heading to paragraph",1],["alt+shift+h","ctrl+alt+h",null,"Show list of all editor shortcuts",1]]},{"id":"medium","name":"Medium","hosts":["medium.com"],"pathPrefixes":[],"shortcuts":[]},{"id":"reddit","name":"Reddit","hosts":["www.reddit.com"],"pathPrefixes":[],"shortcuts":[]},{"id":"linkedin","name":"LinkedIn","hosts":["www.linkedin.com"],"pathPrefixes":[],"shortcuts":[]},{"id":"x","name":"X / Twitter","hosts":["x.com","twitter.com"],"pathPrefixes":[],"shortcuts":[]},{"id":"substack","name":"Substack","hosts":["substack.com"],"pathPrefixes":[],"shortcuts":[]}]}
package/dist/auto.js CHANGED
@@ -1,4 +1,4 @@
1
- // hotkey-router v0.5.1 | SEE LICENSE IN LICENSE
1
+ // hotkey-router v0.5.2 | SEE LICENSE IN LICENSE
2
2
 
3
3
 
4
4
  // auto.js
package/dist/auto.min.js CHANGED
@@ -1,3 +1,3 @@
1
- // hotkey-router v0.5.1 | SEE LICENSE IN LICENSE
1
+ // hotkey-router v0.5.2 | SEE LICENSE IN LICENSE
2
2
 
3
- function J(e){return e?/Chrome ?OS|CrOS/i.test(e)?"chromeos":/Mac|iPhone|iPad|iPod/i.test(e)?"mac":/Win/i.test(e)?"windows":/Linux|X11/i.test(e)?"linux":null:null}function E(e=typeof navigator<"u"?navigator:null,{chromeos:t=!1}={}){if(!e)return null;let r=e.userAgent||"",i=(/\bCrOS\b/.test(r)?"chromeos":null)||J(e.userAgentData?.platform)||J(e.platform)||(/Mac OS X/i.test(r)?"mac":/Windows/i.test(r)?"windows":/Linux|X11/i.test(r)?"linux":null);return i==="chromeos"&&!t?"linux":i}function ee(e=typeof navigator<"u"?navigator:null){if(!e)return null;let t=e.userAgent||"";return/Edg\//.test(t)?"edge":/Firefox/.test(t)?"firefox":/Chrome/.test(t)?"chrome":/Safari/.test(t)?"safari":null}var Ee={mac:"macOS",windows:"Windows",linux:"Linux",chromeos:"ChromeOS"};function te(e){return Ee[e]||e}var Ae=E(),re=new Set(["ctrl","shift","alt","meta","mod"]),Pe=new Map([["^","ctrl"],["!","alt"],["+","shift"],["#","meta"]]),ie=Object.freeze({esc:"escape",escape:"escape",space:" ",spacebar:" ",enter:"enter",return:"enter",del:"delete",delete:"delete",backspace:"backspace",tab:"tab",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright",home:"home",end:"end",pageup:"pageup",pagedown:"pagedown",pgup:"pageup",pgdn:"pagedown",cmd:"meta",command:"meta",win:"meta",meta:"meta",control:"ctrl",ctrl:"ctrl",option:"alt",opt:"alt",alt:"alt",shift:"shift","\u2318":"meta","\u2303":"ctrl","\u2325":"alt","\u21E7":"shift",mod:"mod",plus:"+"});function P(e){let t=String(e??"");if(t===" ")return" ";let i=t.trim().toLowerCase();return ie[i]??i}function Te(e){return re.has(P(e))}var Fe=/(^|\+)code:([A-Za-z][A-Za-z0-9_]*)/;function oe(e,{platform:t=Ae}={}){let r=String(e||"").trim(),i=null,a=y=>{i=i||`Invalid hotkey "${e}": ${y}`},d=/\s+up$/i.test(r),u=d?r.replace(/\s+up$/i,"").trim():r,n={ctrl:!1,shift:!1,alt:!1,meta:!1,key:null,code:null,bareModifier:null},b=y=>{y==="mod"?n[t==="mac"?"meta":"ctrl"]=!0:n[y]=!0},w=u;for(;w.length;){let y=Pe.get(w[0])??null;if(!y)break;b(y),w=w.slice(1).trimStart()}let x=w.match(/code:[A-Za-z][A-Za-z0-9_]*/g);x&&x.length>1&&a(`multiple code: tokens not supported (got ${x.length}).`);let L=null,F=w.replace(Fe,(y,S,j)=>(L=j,S+"__code__")).toLowerCase(),D=F.split("+").map(y=>y.trim()),N=D.filter(Boolean),$=D.some(y=>y==="")&&F.includes("++");if(!$){let y=!1;for(let S of N)Te(S)?y&&a('modifiers must come before the base key (e.g. "ctrl+k", not "k+ctrl")'):y=!0}for(let y of N){if(y==="__code__"){n.code=L;continue}let S=ie[y]??y;re.has(S)?b(S):n.key=P(S)}if(!n.key&&!n.code&&$&&(n.key="+"),!n.key&&!n.code){let y=(n.ctrl?1:0)+(n.shift?1:0)+(n.alt?1:0)+(n.meta?1:0);y===1?n.bareModifier=n.ctrl?"ctrl":n.shift?"shift":n.alt?"alt":"meta":y>1?a('multi-modifier bare bindings not supported. Add a base key (e.g. "ctrl+alt+x").'):i=i||`Invalid hotkey "${e}" (missing base key)`}return{combo:n,type:d?"keyup":"keydown",raw:e,error:i}}function T(e,t){let{combo:r,type:i,raw:a,error:d}=oe(e,t);if(d)throw new Error(d);return{combo:r,type:i,raw:a}}var Ke={",":["<","Comma"],".":[">","Period"],"/":["?","Slash"],";":[":","Semicolon"],"'":['"',"Quote"],"[":["{","BracketLeft"],"]":["}","BracketRight"],"\\":["|","Backslash"],"-":["_","Minus"],"=":["+","Equal"],"`":["~","Backquote"]};function ae(e){let{combo:t,type:r,error:i}=oe(e);if(i||!t.shift||t.code)return null;let a=Ke[t.key];if(!a)return null;let[d,u]=a,b=String(e).trim().replace(/\s+up$/i,"").slice(0,-1)+"code:"+u+(r==="keyup"?" up":"");return{message:`"${e}" never fires on US layouts: Shift turns "${t.key}" into "${d}". Bind "${b}" instead.`,suggestion:b}}var W={".":"period",",":"comma",";":"semicolon","'":"quote","/":"slash","\\":"backslash","[":"bracketleft","]":"bracketright","-":"minus","=":"equal","`":"backquote"," ":"space","+":"equal"};function Re(e){if(!e)return null;let t=/^Key([A-Za-z])$/.exec(e);if(t)return t[1].toLowerCase();let r=/^(?:Digit|Numpad)(\d)$/.exec(e);return r?r[1]:e.toLowerCase()}function De(e){if(e==null||e==="")return null;if(W[e])return W[e];let t=P(e);return W[t]||t||null}function ne(e){if(!e||e.bareModifier)return null;let t=e.code?Re(e.code):De(e.key);if(!t)return null;let r=[];return e.ctrl&&r.push("ctrl"),e.meta&&r.push("meta"),e.alt&&r.push("alt"),e.shift&&r.push("shift"),r.push(t),r.join("+")}function R(e,t,r,i){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r,i)}var Oe=E(),q=Object.freeze({Alt:"alt",AltGraph:"alt",Control:"ctrl",Shift:"shift",Meta:"meta",OS:"meta"}),se=new Set;function z({ctrl:e,shift:t,alt:r,meta:i,key:a,code:d,bareModifier:u}){if(u)return`__bare__:${u}`;let n="";return e&&(n+="ctrl+"),t&&(n+="shift+"),r&&(n+="alt+"),i&&(n+="meta+"),d?n+"code:"+d:n?n+a:a}function Be(e){let t=q[e.key];return t?`__bare__:${t}`:z({ctrl:e.ctrlKey,shift:e.shiftKey,alt:e.altKey,meta:e.metaKey,key:P(e.key)})}function Me(e){if(!e.code)return null;let t="";return e.ctrlKey&&(t+="ctrl+"),e.shiftKey&&(t+="shift+"),e.altKey&&(t+="alt+"),e.metaKey&&(t+="meta+"),t+"code:"+e.code}var Le=new Set(["checkbox","radio","range","color","file","button","submit","reset","image"]);function Ne(e){let t=e?.composedPath?.();if(t?.length)return t;let r=[];for(let i=e?.target;i;i=i.parentNode||i.host)r.push(i);return r}function $e(e,t){let r=Ne(e),i=r[0];if(!i)return null;let a=String(i.tagName||"").toUpperCase();if(i.isContentEditable||a==="TEXTAREA"||a==="SELECT"||i.getAttribute?.("role")==="textbox")return"text";if(a==="INPUT"){if(t==="all")return"text";let d=String(i.getAttribute?.("type")||"text").toLowerCase();return Le.has(d)?"control":"text"}if(t==="text"){for(let d of r)if(String(d.tagName||"").toUpperCase()==="BUTTON"||d.getAttribute?.("role")==="button")return"control"}return null}function _e(e){return!!((e.ctrlKey||e.altKey||e.metaKey)&&!q[e.key])}function ce(e){if(e==="all"||e==="text")return e;if(typeof e=="string")throw new TypeError(`hotkeys.ignoreInput() expects true, false, 'all' or 'text', got "${e}"`);return e?"all":null}function Ie(e,t){let r=t?{...t}:{};return e==="keydown"&&r.repeat==null&&(r.repeat=!1),r.priority==null&&(r.priority=0),r}function le(e){let t=null;for(let r of e)t?(r.options.priority>t.options.priority||r.options.priority===t.options.priority&&r.id>t.id)&&(t=r):t=r;return t}function ze(e){return!!(e.ctrlKey&&e.altKey&&typeof e.getModifierState=="function"&&e.getModifierState("AltGraph")&&typeof e.key=="string"&&e.key.length===1)}function fe(e){return!!(e.isComposing||e.keyCode===229)}var je=/^(?!\p{Script=Latin})\p{L}$/u;function He(e){if(!(e.ctrlKey||e.metaKey)||e.altKey||fe(e)||typeof e.getModifierState=="function"&&e.getModifierState("AltGraph"))return null;let t=/^Key([A-Z])$/.exec(e.code||"");return!t||typeof e.key!="string"||!je.test(e.key)?null:z({ctrl:e.ctrlKey,shift:e.shiftKey,alt:!1,meta:e.metaKey,key:t[1].toLowerCase()})}var Ue={ctrl:"Control",shift:"Shift",alt:"Alt",meta:"Meta"},ue={Period:".",Comma:",",Semicolon:";",Quote:"'",Slash:"/",Backslash:"\\",BracketLeft:"[",BracketRight:"]",Minus:"-",Equal:"=",Backquote:"`",Space:" ",Enter:"Enter",NumpadEnter:"Enter",Tab:"Tab",Escape:"Escape",Backspace:"Backspace",Delete:"Delete",Insert:"Insert",Home:"Home",End:"End",PageUp:"PageUp",PageDown:"PageDown",ArrowUp:"ArrowUp",ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight"},I={},de;for(let[e,t]of Object.entries(ue))I[de=P(t)]??(I[de]=e);function We(e){if(!e)return null;let t=/^Key([A-Z])$/.exec(e);if(t)return t[1].toLowerCase();let r=/^(?:Digit|Numpad)(\d)$/.exec(e);return r?r[1]:/^F\d{1,2}$/.test(e)?e:ue[e]??null}function qe(e){return e?/^[a-z]$/.test(e)?"Key"+e.toUpperCase():/^\d$/.test(e)?"Digit"+e:/^f\d{1,2}$/.test(e)?e.toUpperCase():I[e]??null:null}function he(e,{physical:t=!0,useMod:r=!1,platform:i=Oe}={}){if(!e||q[e.key])return null;let a=[],d=i==="mac";if(r&&(d?e.metaKey:e.ctrlKey)&&a.push("mod"),e.ctrlKey&&!(r&&!d)&&a.push("ctrl"),e.metaKey&&!(r&&d)&&a.push("meta"),e.altKey&&a.push("alt"),e.shiftKey&&a.push("shift"),t&&e.code)a.push(`code:${e.code}`);else{let u=P(e.key);if(!u)return null;a.push(u===" "?"space":u)}return a.join("+")}function pe({target:e=typeof window<"u"?window:null,capture:t=!1,ignoreInput:r=!0}={}){let i=ce(r),a=e,d=t,u=[],n=new Map,b=new Map,w=new Map,x=!1,L=1;function G(o,l){let c=n.get(o);c||(c=new Map,n.set(o,c));let s=c.get(l);return s||(s=[],c.set(l,s)),s}function F(o){let l=w.get(o);if(!l)return!1;let{comboStr:c,type:s}=l,h=n.get(c),f=h?.get(s);if(!f?.length)return w.delete(o),!1;let p=f.filter(m=>m.id!==o);return p.length?h.set(s,p):h.delete(s),h.size||n.delete(c),w.delete(o),!0}function D(o,l,c=null,s={}){let{combo:h,type:f,raw:p}=T(o),m=z(h),g=Ie(f,s),k={id:L++,comboStr:m,type:f,combo:h,handler:l,plugin:c,raw:p,options:g};G(m,f).push(k),w.set(k.id,{comboStr:m,type:f});let C=`${m} ${f}`;if(!se.has(C)){let A=ae(o);A&&(se.add(C),console.warn(`[hotkey-router] ${A.message}`))}if(u.length)for(let A of u)try{A({combo:h,raw:p,options:g,plugin:c,id:k.id})}catch(_){console.error("[hotkey-router] onBind hook threw:",_)}let v=()=>F(k.id);return v.id=k.id,v.hotkey=p,v}function N(o){if(typeof o!="function")throw new TypeError("hotkeys.onBind(hook) expects a function");return u.push(o),()=>{u=u.filter(l=>l!==o)}}function $(o,l){let{combo:c,type:s}=T(o),h=z(c),f=n.get(h);if(!f)return;let p=f.get(s);if(p?.length){if(l){let m=[];for(let g of p)g.handler===l?w.delete(g.id):m.push(g);m.length?f.set(s,m):f.delete(s)}else{for(let m of p)w.delete(m.id);f.delete(s)}f.size||n.delete(h)}}function y(o,l){if(b.has(o))throw new Error(`Plugin "${o}" already registered`);let c=Object.entries(l);for(let[h]of c)T(h);let s=[];for(let[h,f]of c){let[p,m]=Array.isArray(f)?f:[f,{}],g=D(h,p,o,m);s.push(g.id)}return b.set(o,s),()=>S(o)}function S(o){let l=b.get(o);if(l){for(let c of l)F(c);b.delete(o)}}function j(){x=!0}function ge(){x=!1}function ke(o=!0){i=ce(o)}function Se(o){a=o}function Z(o,l,c){let s={altGraphChar:ze(o),composing:fe(o),focus:i&&$e(o,i),chord:_e(o)},h=[],f=new Set;for(let p of[Be(o),Me(o)])!p||f.has(p)||(f.add(p),Q(h,p,o,l,c,s));if(!h.length){let p=He(o);p&&!f.has(p)&&Q(h,p,o,l,c,s)}return h}function Q(o,l,c,s,h,{altGraphChar:f,composing:p,focus:m,chord:g}){let k=n.get(l)?.get(s);if(k?.length)for(let C of k){let v=C.options;h==="capture"&&!v.capture||h==="bubble"&&v.capture||f&&!v.altGraph||p&&!v.composing||m&&!(m==="control"&&g)&&!v.allowIn?.(c)||s==="keydown"&&v.repeat===!1&&c.repeat||v.when&&v.when(c)===!1||o.push(C)}}function X(o,l){let c=o.options;c.preventDefault&&l.preventDefault(),c.stopImmediatePropagation?l.stopImmediatePropagation():c.stopPropagation&&l.stopPropagation();try{o.handler(l)}finally{c.once&&F(o.id)}}function K(o,l="all"){return c=>{if(x)return;let s=Z(c,o,l);s.length&&X(le(s),c)}}let O=null,B=null,H=null,U=null;function xe({target:o=a,capture:l=d}={}){if(!o)throw new Error("hotkeys.init() requires a target (e.g. window)");if((O||B)&&Y(),l){O=R(o,"keydown",K("keydown"),{capture:!0}),B=R(o,"keyup",K("keyup"),{capture:!0});return}O=R(o,"keydown",K("keydown","bubble"),{capture:!1}),B=R(o,"keyup",K("keyup","bubble"),{capture:!1}),H=R(o,"keydown",K("keydown","capture"),{capture:!0}),U=R(o,"keyup",K("keyup","capture"),{capture:!0})}function Y(){O?.(),B?.(),H?.(),U?.(),O=null,B=null,H=null,U=null,n.clear(),b.clear(),w.clear()}function Ce(o,{type:l,target:c=null}={}){let{combo:s,type:h}=T(o),f=l||h;if(x)return!1;let p=s.bareModifier?Ue[s.bareModifier]:s.key??We(s.code),m=s.bareModifier?null:s.code??qe(s.key),g=!!s.alt,k=!!s.ctrl,C=!!s.shift,v=!!s.meta;s.bareModifier&&f==="keyup"&&(s.bareModifier==="alt"?g=!1:s.bareModifier==="ctrl"?k=!1:s.bareModifier==="shift"?C=!1:s.bareModifier==="meta"&&(v=!1));let A={type:f,key:p,code:m,ctrlKey:k,shiftKey:C,altKey:g,metaKey:v,repeat:!1,isComposing:!1,getModifierState(){return!1},preventDefault(){},stopPropagation(){},stopImmediatePropagation(){},target:c},_=Z(A,f,"all");return _.length?(X(le(_),A),!0):!1}return{init:xe,destroy:Y,setTarget:Se,bind:D,unbind:$,registerPlugin:y,unregisterPlugin:S,onBind:N,pause:j,resume:ge,ignoreInput:ke,trigger:Ce,parseHotkey:T,comboFromEvent:he,detectPlatform:E}}var ye=pe();typeof window<"u"&&ye.init();var V=ye;var M={$comment:"Machine-readable companion to docs/browser-hotkeys.md. Each combo entry describes who claims the binding and how strongly. Intended for runtime conflict warnings in keyboard-routing libraries (e.g. hotkey-router) and dev-time validation in apps like WebRadar. Update both this file and the markdown together \u2014 the markdown is the human source of truth, this file is the machine projection.",version:{generated:"2026-10-29",schema:"1.0",sources:["https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perform-firefox-tasks-quickly","https://firefox-source-docs.mozilla.org/devtools-user/keyboard_shortcuts/index.html","https://support.google.com/chrome/answer/157179","https://developer.chrome.com/docs/devtools/shortcuts","https://support.apple.com/guide/safari/keyboard-shortcuts-and-gestures-cpsh003/mac","https://developer.apple.com/documentation/safari-developer-tools/web-inspector","https://support.microsoft.com/en-us/microsoft-edge/keyboard-shortcuts-in-microsoft-edge-50d3edab-30d9-c7e4-21ce-37fe2713cfad","https://support.apple.com/en-us/102650","https://support.microsoft.com/en-us/windows/keyboard-shortcuts-in-windows-dcc61a57-8ff0-cffe-9796-cb9706c75eec","https://help.gnome.org/gnome-help/shell-keyboard-shortcuts.html"]},severityLevels:{hard:"Browser or OS intercepts before page-world keydown fires. preventDefault() can't recover it.","find-bar-only":"Reserved only when the browser's find bar has focus. Fires in page world during normal browsing.","menu-activation":"Win/Linux Alt+letter activates the browser menu bar. Hard to suppress reliably.","system-text":"Only reserved while a text input has focus (terminal-style cursor controls on macOS).",compose:"macOS Option+letter types a special character in text inputs. Outside inputs, free for page world.",os:"Operating system intercepts globally, before any application sees it.","devtools-open":"Only relevant when DevTools is already open; outside DevTools it fires normally.",preventable:"The browser's own shortcut, but keydown reaches the page first: a binding with preventDefault() keeps the browser out, and without one the browser acts. Checked with real keys on Windows (docs/notes/key-check-reserved-2026-10-29.md)."},$keyFormat:"Each combo key uses hotkey-router-compatible syntax: modifiers in canonical order (ctrl|meta|alt|shift) joined by '+', then the key (lowercased letter, or symbolic name). Per-platform tables use the platform's native modifier name \u2014 `meta` on macOS = Cmd, `meta` on Windows = Win, `ctrl` on Linux/Windows = the primary modifier.",platforms:{mac:{browsers:{firefox:{"meta+a":{action:"Select all",severity:"hard"},"meta+b":{action:"Bookmarks sidebar",severity:"hard"},"meta+c":{action:"Copy",severity:"hard"},"meta+d":{action:"Bookmark this page",severity:"hard"},"meta+e":{action:"Search from page",severity:"hard"},"meta+f":{action:"Find in page",severity:"hard"},"meta+g":{action:"Find next",severity:"hard"},"meta+j":{action:"Downloads",severity:"hard"},"meta+l":{action:"Focus address bar",severity:"hard"},"meta+n":{action:"New window",severity:"hard"},"meta+o":{action:"Open file",severity:"hard"},"meta+p":{action:"Print",severity:"hard"},"meta+r":{action:"Reload",severity:"hard"},"meta+s":{action:"Save page",severity:"hard"},"meta+t":{action:"New tab",severity:"hard"},"meta+u":{action:"View source",severity:"hard"},"meta+v":{action:"Paste",severity:"hard"},"meta+w":{action:"Close tab",severity:"hard"},"meta+x":{action:"Cut",severity:"hard"},"meta+y":{action:"Redo",severity:"hard"},"meta+z":{action:"Undo",severity:"hard"},"meta+shift+a":{action:"Add-ons manager",severity:"hard"},"meta+shift+b":{action:"Bookmarks toolbar",severity:"hard"},"meta+shift+c":{action:"Inspector (element picker)",severity:"hard"},"meta+shift+d":{action:"Bookmark all tabs",severity:"hard"},"meta+shift+e":{action:"Network Monitor",severity:"hard"},"meta+shift+f":{action:"Toggle fullscreen",severity:"hard"},"meta+shift+g":{action:"Find previous",severity:"find-bar-only"},"meta+shift+j":{action:"Browser Console",severity:"hard"},"meta+shift+n":{action:"New private window",severity:"hard"},"meta+shift+o":{action:"Bookmarks library",severity:"hard"},"meta+shift+p":{action:"New private window (alt)",severity:"hard"},"meta+shift+q":{action:"Quit (with confirm)",severity:"hard"},"meta+shift+s":{action:"Firefox Screenshot",severity:"hard"},"meta+shift+t":{action:"Reopen closed tab",severity:"hard"},"meta+shift+v":{action:"Paste as plain text",severity:"hard"},"meta+shift+w":{action:"Close window",severity:"hard"},"meta+shift+z":{action:"Redo",severity:"hard"},"meta+alt+c":{action:"Inspector",severity:"hard"},"meta+alt+e":{action:"Network Monitor",severity:"hard"},"meta+alt+i":{action:"DevTools Toolbox",severity:"hard"},"meta+alt+j":{action:"Browser Console",severity:"hard"},"meta+alt+k":{action:"Web Console",severity:"hard"},"meta+alt+m":{action:"Responsive Design Mode",severity:"hard"},"meta+alt+z":{action:"Debugger",severity:"hard"}},chrome:{"meta+a":{action:"Select all",severity:"hard"},"meta+c":{action:"Copy",severity:"hard"},"meta+d":{action:"Bookmark this page",severity:"hard"},"meta+e":{action:"Search selected text",severity:"find-bar-only"},"meta+f":{action:"Find in page",severity:"hard"},"meta+g":{action:"Find next",severity:"hard"},"meta+l":{action:"Focus address bar",severity:"hard"},"meta+n":{action:"New window",severity:"hard"},"meta+o":{action:"Open file",severity:"hard"},"meta+p":{action:"Print",severity:"hard"},"meta+r":{action:"Reload",severity:"hard"},"meta+s":{action:"Save page",severity:"hard"},"meta+t":{action:"New tab",severity:"hard"},"meta+v":{action:"Paste",severity:"hard"},"meta+w":{action:"Close tab",severity:"hard"},"meta+x":{action:"Cut",severity:"hard"},"meta+y":{action:"History page",severity:"hard"},"meta+z":{action:"Undo",severity:"hard"},"meta+shift+b":{action:"Bookmarks bar toggle",severity:"hard"},"meta+shift+c":{action:"DevTools Inspector",severity:"hard"},"meta+shift+d":{action:"Bookmark all tabs",severity:"hard"},"meta+shift+g":{action:"Find previous",severity:"find-bar-only"},"meta+shift+j":{action:"Downloads page",severity:"hard"},"meta+shift+m":{action:"Switch user / guest",severity:"hard"},"meta+shift+n":{action:"New incognito window",severity:"hard"},"meta+shift+r":{action:"Hard reload",severity:"hard"},"meta+shift+t":{action:"Reopen closed tab",severity:"hard"},"meta+shift+v":{action:"Paste as plain text",severity:"hard"},"meta+shift+w":{action:"Close window",severity:"hard"},"meta+shift+z":{action:"Redo",severity:"hard"},"meta+alt+i":{action:"DevTools",severity:"hard"},"meta+alt+j":{action:"DevTools (console)",severity:"hard"},"meta+alt+u":{action:"View source",severity:"hard"}},safari:{"meta+a":{action:"Select all",severity:"hard"},"meta+c":{action:"Copy",severity:"hard"},"meta+d":{action:"Add to Reading List",severity:"hard"},"meta+f":{action:"Find in page",severity:"hard"},"meta+g":{action:"Find next",severity:"hard"},"meta+j":{action:"Downloads",severity:"hard"},"meta+l":{action:"Focus Smart Search",severity:"hard"},"meta+n":{action:"New window",severity:"hard"},"meta+p":{action:"Print",severity:"hard"},"meta+r":{action:"Reload",severity:"hard"},"meta+s":{action:"Save page",severity:"hard"},"meta+t":{action:"New tab",severity:"hard"},"meta+v":{action:"Paste",severity:"hard"},"meta+w":{action:"Close tab",severity:"hard"},"meta+x":{action:"Cut",severity:"hard"},"meta+z":{action:"Undo",severity:"hard"},"meta+shift+c":{action:"Inspector pick element",severity:"hard"},"meta+shift+d":{action:"Add Reading List item",severity:"hard"},"meta+shift+g":{action:"Find previous",severity:"find-bar-only"},"meta+shift+h":{action:"Go to homepage",severity:"hard"},"meta+shift+n":{action:"New private window",severity:"hard"},"meta+shift+r":{action:"Reader mode",severity:"hard"},"meta+shift+t":{action:"Reopen last closed tab",severity:"hard"},"meta+shift+v":{action:"Paste as plain text",severity:"hard"},"meta+shift+w":{action:"Close window",severity:"hard"},"meta+shift+z":{action:"Redo",severity:"hard"},"meta+alt+c":{action:"Web Inspector pick",severity:"hard"},"meta+alt+i":{action:"Web Inspector",severity:"hard"}}},system:{"meta+space":{action:"Spotlight",severity:"os"},"meta+tab":{action:"App switcher",severity:"os"},"meta+h":{action:"Hide app",severity:"os"},"meta+m":{action:"Minimize window",severity:"os"},"meta+q":{action:"Quit app",severity:"os"},"meta+shift+3":{action:"Screenshot full screen",severity:"os"},"meta+shift+4":{action:"Screenshot selection",severity:"os"},"meta+shift+5":{action:"Screen recording tool",severity:"os"},"meta+shift+q":{action:"Log out",severity:"os"},"meta+ctrl+q":{action:"Lock screen",severity:"os"},"meta+ctrl+space":{action:"Character Viewer",severity:"os"},"meta+alt+esc":{action:"Force-quit dialog",severity:"os"},"meta+shift+slash":{action:"Help menu search (Cmd+?)",severity:"os"},"meta+alt+h":{action:"Hide other apps",severity:"os"},"meta+alt+d":{action:"Show or hide the Dock",severity:"os"},"meta+backquote":{action:"Switch windows of the front app",severity:"os"}},noteForLetterCombos:{"alt+a..z":{behavior:"compose",note:"Option+letter types special characters in text inputs (Option+E\u2192\xB4, Option+A\u2192\xE5, Option+F\u2192\u0192). Outside inputs, free for page world."},"ctrl+a..z":{behavior:"system-text",note:"Mac uses Ctrl+letter as terminal-style cursor controls inside text inputs (Ctrl+A=line start, Ctrl+E=line end, Ctrl+K=delete-to-end, etc.). Outside inputs, free for page world."}}},windows:{browsers:{firefox:{"ctrl+a":{action:"Select all",severity:"preventable"},"ctrl+b":{action:"Bookmarks sidebar",severity:"preventable"},"ctrl+c":{action:"Copy",severity:"preventable"},"ctrl+d":{action:"Bookmark this page",severity:"preventable"},"ctrl+e":{action:"Search from page",severity:"preventable"},"ctrl+f":{action:"Find in page",severity:"preventable"},"ctrl+g":{action:"Find next",severity:"preventable"},"ctrl+h":{action:"History sidebar",severity:"preventable"},"ctrl+j":{action:"Downloads",severity:"preventable"},"ctrl+k":{action:"Search from page",severity:"preventable"},"ctrl+l":{action:"Focus address bar",severity:"preventable"},"ctrl+n":{action:"New window",severity:"hard"},"ctrl+o":{action:"Open file",severity:"preventable"},"ctrl+p":{action:"Print",severity:"preventable"},"ctrl+r":{action:"Reload",severity:"preventable"},"ctrl+s":{action:"Save page",severity:"preventable"},"ctrl+t":{action:"New tab",severity:"hard"},"ctrl+u":{action:"View source",severity:"preventable"},"ctrl+v":{action:"Paste",severity:"preventable"},"ctrl+w":{action:"Close tab",severity:"hard"},"ctrl+x":{action:"Cut",severity:"preventable"},"ctrl+y":{action:"Redo",severity:"preventable"},"ctrl+z":{action:"Undo",severity:"preventable"},"ctrl+shift+a":{action:"Add-ons manager",severity:"hard"},"ctrl+shift+b":{action:"Bookmarks toolbar",severity:"hard"},"ctrl+shift+c":{action:"Inspector (element picker)",severity:"hard"},"ctrl+shift+d":{action:"Bookmark all tabs",severity:"hard"},"ctrl+shift+e":{action:"Network Monitor",severity:"hard"},"ctrl+shift+g":{action:"Find previous",severity:"find-bar-only"},"ctrl+shift+i":{action:"Developer Tools",severity:"hard"},"ctrl+shift+j":{action:"Browser Console",severity:"hard"},"ctrl+shift+k":{action:"Web Console",severity:"hard"},"ctrl+shift+m":{action:"Responsive Design Mode",severity:"hard"},"ctrl+shift+n":{action:"New private window",severity:"hard"},"ctrl+shift+o":{action:"Bookmarks library",severity:"hard"},"ctrl+shift+p":{action:"New private window (alt)",severity:"hard"},"ctrl+shift+s":{action:"Firefox Screenshot",severity:"hard"},"ctrl+shift+t":{action:"Reopen closed tab",severity:"hard"},"ctrl+shift+v":{action:"Paste as plain text",severity:"hard"},"ctrl+shift+w":{action:"Close window",severity:"hard"},"ctrl+shift+y":{action:"Downloads (alt)",severity:"hard"},"ctrl+shift+z":{action:"Debugger",severity:"hard"},"alt+f":{action:"File menu",severity:"menu-activation"},"alt+e":{action:"Edit menu",severity:"menu-activation"},"alt+v":{action:"View menu",severity:"menu-activation"},"alt+b":{action:"Bookmarks menu",severity:"menu-activation"},"alt+t":{action:"Tools menu",severity:"menu-activation"},"alt+h":{action:"Help menu",severity:"menu-activation"},"alt+d":{action:"Focus address bar",severity:"hard"}},chrome:{"ctrl+a":{action:"Select all",severity:"preventable"},"ctrl+c":{action:"Copy",severity:"preventable"},"ctrl+d":{action:"Bookmark this page",severity:"preventable"},"ctrl+e":{action:"Search from page",severity:"preventable"},"ctrl+f":{action:"Find in page",severity:"preventable"},"ctrl+g":{action:"Find next",severity:"preventable"},"ctrl+h":{action:"History page",severity:"preventable"},"ctrl+j":{action:"Downloads",severity:"preventable"},"ctrl+k":{action:"Search from page",severity:"preventable"},"ctrl+l":{action:"Focus address bar",severity:"preventable"},"ctrl+n":{action:"New window",severity:"hard"},"ctrl+o":{action:"Open file",severity:"preventable"},"ctrl+p":{action:"Print",severity:"preventable"},"ctrl+r":{action:"Reload",severity:"preventable"},"ctrl+s":{action:"Save page",severity:"preventable"},"ctrl+t":{action:"New tab",severity:"hard"},"ctrl+u":{action:"View source",severity:"preventable"},"ctrl+v":{action:"Paste",severity:"preventable"},"ctrl+w":{action:"Close tab",severity:"hard"},"ctrl+x":{action:"Cut",severity:"preventable"},"ctrl+z":{action:"Undo",severity:"preventable"},"ctrl+shift+b":{action:"Bookmarks bar toggle",severity:"hard"},"ctrl+shift+d":{action:"Bookmark all tabs",severity:"hard"},"ctrl+shift+g":{action:"Find previous",severity:"find-bar-only"},"ctrl+shift+i":{action:"DevTools",severity:"hard"},"ctrl+shift+j":{action:"DevTools (console)",severity:"hard"},"ctrl+shift+m":{action:"Switch user / guest",severity:"hard"},"ctrl+shift+n":{action:"Incognito window",severity:"hard"},"ctrl+shift+r":{action:"Hard reload",severity:"hard"},"ctrl+shift+t":{action:"Reopen closed tab",severity:"hard"},"ctrl+shift+v":{action:"Paste as plain text",severity:"hard"},"ctrl+shift+w":{action:"Close window",severity:"hard"},"alt+d":{action:"Focus address bar",severity:"hard"},"alt+e":{action:"Customize menu",severity:"menu-activation"},"alt+f":{action:"Customize menu (alt)",severity:"menu-activation"}},edge:{"ctrl+a":{action:"Select all",severity:"preventable"},"ctrl+c":{action:"Copy",severity:"preventable"},"ctrl+d":{action:"Favorite this page",severity:"preventable"},"ctrl+e":{action:"Search from page",severity:"preventable"},"ctrl+f":{action:"Find in page",severity:"preventable"},"ctrl+g":{action:"Find next",severity:"preventable"},"ctrl+h":{action:"History",severity:"preventable"},"ctrl+j":{action:"Downloads",severity:"preventable"},"ctrl+k":{action:"Search from page",severity:"preventable"},"ctrl+l":{action:"Focus address bar",severity:"preventable"},"ctrl+m":{action:"Mute current tab",severity:"preventable"},"ctrl+n":{action:"New window",severity:"hard"},"ctrl+o":{action:"Open file",severity:"preventable"},"ctrl+p":{action:"Print",severity:"preventable"},"ctrl+r":{action:"Reload",severity:"preventable"},"ctrl+s":{action:"Save page",severity:"preventable"},"ctrl+t":{action:"New tab",severity:"hard"},"ctrl+u":{action:"View source",severity:"preventable"},"ctrl+v":{action:"Paste",severity:"preventable"},"ctrl+w":{action:"Close tab",severity:"hard"},"ctrl+x":{action:"Cut",severity:"preventable"},"ctrl+z":{action:"Undo",severity:"preventable"},"ctrl+shift+b":{action:"Favorites bar toggle",severity:"hard"},"ctrl+shift+d":{action:"Bookmark all tabs in folder",severity:"hard"},"ctrl+shift+e":{action:"Search in sidebar",severity:"hard"},"ctrl+shift+g":{action:"Find previous",severity:"find-bar-only"},"ctrl+shift+i":{action:"DevTools",severity:"hard"},"ctrl+shift+j":{action:"DevTools (console)",severity:"hard"},"ctrl+shift+k":{action:"Duplicate tab",severity:"hard"},"ctrl+shift+l":{action:"Paste and search",severity:"hard"},"ctrl+shift+m":{action:"Switch user / guest",severity:"hard"},"ctrl+shift+n":{action:"InPrivate window",severity:"hard"},"ctrl+shift+o":{action:"Open favorites",severity:"hard"},"ctrl+shift+p":{action:"Print (system dialog)",severity:"hard"},"ctrl+shift+r":{action:"Hard reload",severity:"hard"},"ctrl+shift+t":{action:"Reopen closed tab",severity:"hard"},"ctrl+shift+u":{action:"Read Aloud toggle",severity:"hard"},"ctrl+shift+v":{action:"Paste without formatting",severity:"hard"},"ctrl+shift+w":{action:"Close window",severity:"hard"},"ctrl+shift+y":{action:"Collections",severity:"hard"},"alt+d":{action:"Focus address bar",severity:"hard"},"alt+e":{action:"Settings menu",severity:"menu-activation"},"alt+f":{action:"Settings menu (alt)",severity:"menu-activation"},"alt+shift+b":{action:"Focus favorites bar",severity:"hard"},"alt+shift+i":{action:"Send feedback dialog",severity:"hard"},"alt+shift+t":{action:"Focus app bar toolbar",severity:"hard"}}},system:{"meta+a":{action:"Action Center",severity:"os"},"meta+c":{action:"Windows search",severity:"os"},"meta+d":{action:"Show desktop",severity:"os"},"meta+e":{action:"File Explorer",severity:"os"},"meta+g":{action:"Game bar",severity:"os"},"meta+h":{action:"Voice dictation",severity:"os"},"meta+i":{action:"Settings",severity:"os"},"meta+l":{action:"Lock",severity:"os"},"meta+n":{action:"Notification center",severity:"os"},"meta+p":{action:"Project / display mode",severity:"os"},"meta+r":{action:"Run dialog",severity:"os"},"meta+s":{action:"Search",severity:"os"},"meta+v":{action:"Clipboard history",severity:"os"},"meta+w":{action:"Widgets",severity:"os"},"meta+x":{action:"Quick Link menu",severity:"os"},"meta+z":{action:"Snap layouts",severity:"os"},"meta+tab":{action:"Task View",severity:"os"},"meta+shift+s":{action:"Screenshot region",severity:"os"},"ctrl+shift+esc":{action:"Task Manager",severity:"os"},"ctrl+alt+del":{action:"Security screen",severity:"os"},"alt+tab":{action:"Switch windows",severity:"os"},"alt+f4":{action:"Close active window",severity:"os"}}},linux:{browsers:{firefox:"$ref:platforms.windows.browsers.firefox",chrome:"$ref:platforms.windows.browsers.chrome",edge:"$ref:platforms.windows.browsers.edge"},system:{$comment:"GNOME defaults. KDE and other DEs have similar-shaped reservations but vary; this is a conservative baseline.","meta+tab":{action:"Switch windows",severity:"os"},"meta+a":{action:"Show applications",severity:"os"},"meta+l":{action:"Lock screen",severity:"os"},"meta+v":{action:"Notification list",severity:"os"},"alt+tab":{action:"Switch applications",severity:"os"},"alt+esc":{action:"Cycle windows",severity:"os"},"alt+f2":{action:"Run command",severity:"os"},"alt+f4":{action:"Close window",severity:"os"},"ctrl+alt+tab":{action:"Top-bar accessibility switcher",severity:"os"},"ctrl+alt+del":{action:"Power-off dialog",severity:"os"},"ctrl+shift+alt+r":{action:"Toggle screencast recording",severity:"os"}},noteForCtrlAlt:"Some Linux setups map right-Alt (AltGr) to 'compose' for typing accented characters, in which case AltGr+letter is reported as ctrl+alt+letter and types a special character. Avoid the ctrl+alt+letter namespace on Linux."}}};var Ge="1.0",Ze=new Set(["hard","os","menu-activation"]);function Qe(e){let t=String(e).toLowerCase().split("+").map(d=>d.trim()).filter(Boolean);if(!t.length)return"";let r=t[t.length-1],i=new Set(t.slice(0,-1)),a=[];return i.has("ctrl")&&a.push("ctrl"),i.has("meta")&&a.push("meta"),i.has("alt")&&a.push("alt"),i.has("shift")&&a.push("shift"),a.push(r),a.join("+")}function Xe(e,t){if(typeof e!="string"||!e.startsWith("$ref:"))return e;let r=e.slice(5).split("."),i=t;for(let a of r)i=i?.[a];return i}function me(e){if(!e||typeof e!="object")return null;let t=Object.create(null);for(let[r,i]of Object.entries(e))!i||typeof i!="object"||!("severity"in i)||(t[Qe(r)]=i);return t}function Ye(e){let t={platforms:{}},r=e?.platforms||{};for(let[i,a]of Object.entries(r)){let d={};for(let[u,n]of Object.entries(a.browsers||{}))d[u]=me(Xe(n,e));t.platforms[i]={browsers:d,system:me(a.system)}}return t}var ve=M?.version?.schema===Ge,Je=ve?Ye(M):{platforms:{}},et=ne;function tt(e,{platform:t,browser:r}={}){if(!ve)return null;let i=et(e);if(!i)return null;let a=t&&Je.platforms[t];if(!a)return null;let u=(r?a.browsers?.[r]:null)?.[i];if(u)return{source:"browser",platform:t,browser:r,lookupKey:i,action:u.action,severity:u.severity};let n=a.system?.[i];return n?{source:"system",platform:t,browser:r,lookupKey:i,action:n.action,severity:n.severity}:null}function be(e){return Ze.has(e)}function rt(e,t,r){let i=te(e.platform),a=e.source==="browser"?`${e.browser} on ${i}`:i,d=be(e.severity)?"will not fire":e.severity==="preventable"?r?.preventDefault?"fires first; preventDefault keeps the browser out":"fires, and the browser acts too; bind with preventDefault: true":"fires in normal browsing";return`[hotkey-router] "${t}" (${e.lookupKey}) reserved by ${a}: "${e.action}" [${e.severity}] \u2014 ${d}.`}function it(e,t,r=console,i){let a=rt(e,t,i);(be(e.severity)||e.severity==="preventable"&&!i?.preventDefault?r.warn:r.info).call(r,a)}function we(e,t={}){if(!e||typeof e.onBind!="function")throw new TypeError("installReservationWarnings(hotkeys) requires a hotkey-router instance with onBind() (>= v0.2.0)");let r=t.platform!==void 0?t.platform:E(),i=t.browser!==void 0?t.browser:ee(),a=t.console||console;return e.onBind(({combo:d,raw:u,options:n})=>{if(n?.warnOnReserved===!1||!r||!i)return;let b=tt(d,{platform:r,browser:i});b&&it(b,u,a,n)})}var mt=M?.version?.schema,vt=M?.version?.generated;we(V);var kt=V;export{kt as default};
3
+ function v(e,t){return e!=null&&Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0}function ie(e){return e?/Chrome ?OS|CrOS/i.test(e)?"chromeos":/Mac|iPhone|iPad|iPod/i.test(e)?"mac":/Win/i.test(e)?"windows":/Linux|X11/i.test(e)?"linux":null:null}function A(e=typeof navigator<"u"?navigator:null,{chromeos:t=!1}={}){if(!e)return null;let r=e.userAgent||"",i=(/\bCrOS\b/.test(r)?"chromeos":null)||ie(e.userAgentData?.platform)||ie(e.platform)||(/Mac OS X/i.test(r)?"mac":/Windows/i.test(r)?"windows":/Linux|X11/i.test(r)?"linux":null);return i==="chromeos"&&!t?"linux":i}function oe(e=typeof navigator<"u"?navigator:null){if(!e)return null;let t=e.userAgent||"";return/Edg\//.test(t)?"edge":/Firefox/.test(t)?"firefox":/Chrome/.test(t)?"chrome":/Safari/.test(t)?"safari":null}var Fe={mac:"macOS",windows:"Windows",linux:"Linux",chromeos:"ChromeOS"};function ae(e){return v(Fe,e)||e}var De=A(),ne=new Set(["ctrl","shift","alt","meta","mod"]),Te=new Map([["^","ctrl"],["!","alt"],["+","shift"],["#","meta"]]),se=Object.freeze({esc:"escape",escape:"escape",space:" ",spacebar:" ",enter:"enter",return:"enter",del:"delete",delete:"delete",backspace:"backspace",tab:"tab",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright",home:"home",end:"end",pageup:"pageup",pagedown:"pagedown",pgup:"pageup",pgdn:"pagedown",cmd:"meta",command:"meta",win:"meta",meta:"meta",control:"ctrl",ctrl:"ctrl",option:"alt",opt:"alt",alt:"alt",shift:"shift","\u2318":"meta","\u2303":"ctrl","\u2325":"alt","\u21E7":"shift",mod:"mod",plus:"+"});function P(e){let t=String(e??"");if(t===" ")return" ";let i=t.trim().toLowerCase();return v(se,i)??i}function Ke(e){return ne.has(P(e))}var Re=/(^|\+)\s*code:([A-Za-z][A-Za-z0-9_]*)/;function j(e,{platform:t=De}={}){let r=String(e||"").trim(),i=null,s=m=>{i=i||`Invalid hotkey "${e}": ${m}`},f=/\s+up$/i.test(r),p=f?r.replace(/\s+up$/i,"").trim():r,a={ctrl:!1,shift:!1,alt:!1,meta:!1,key:null,code:null,bareModifier:null},b=m=>{m==="mod"?a[t==="mac"?"meta":"ctrl"]=!0:a[m]=!0},w=p;for(;w.length>1;){let m=Te.get(w[0])??null;if(!m)break;b(m),w=w.slice(1).trimStart()}let C=w.match(/code:[A-Za-z][A-Za-z0-9_]*/g);C&&C.length>1&&s(`multiple code: tokens not supported (got ${C.length}).`);let _=null,T=w.replace(Re,(m,S,W)=>(_=W,S+"__code__")).toLowerCase(),O=T.split("+").map(m=>m.trim()),I=O.filter(Boolean),z=O.some(m=>m==="")&&T.includes("++");if(!z){let m=!1;for(let S of I)Ke(S)?m&&s('modifiers must come before the base key (e.g. "ctrl+k", not "k+ctrl")'):m=!0}let M=0;for(let m of I){if(m==="__code__"){a.code=_,M++;continue}let S=v(se,m)??m;ne.has(S)?b(S):(a.key=P(S),M++)}if(M>1&&s('use one base key (e.g. "ctrl+k"), or one code: token'),!a.key&&!a.code&&(z||w==="+")&&(a.key="+"),!a.key&&!a.code){let m=(a.ctrl?1:0)+(a.shift?1:0)+(a.alt?1:0)+(a.meta?1:0);m===1?a.bareModifier=a.ctrl?"ctrl":a.shift?"shift":a.alt?"alt":"meta":m>1?s('multi-modifier bare bindings not supported. Add a base key (e.g. "ctrl+alt+x").'):i=i||`Invalid hotkey "${e}" (missing base key)`}return{combo:a,type:f?"keyup":"keydown",raw:e,error:i}}function D(e,t){let{combo:r,type:i,raw:s,error:f}=j(e,t);if(f)throw new Error(f);return{combo:r,type:i,raw:s}}var ce={",":["<","Comma"],".":[">","Period"],"/":["?","Slash"],";":[":","Semicolon"],"'":['"',"Quote"],"[":["{","BracketLeft"],"]":["}","BracketRight"],"\\":["|","Backslash"],"-":["_","Minus"],"=":["+","Equal"],"`":["~","Backquote"]};for(let e=0;e<10;e++)ce[e]=[")!@#$%^&*("[e],"Digit"+e];function le(e){let{combo:t,type:r,error:i}=j(e);if(i||!t.shift||t.code)return null;let s=v(ce,t.key);if(!s)return null;let[f,p]=s,b=String(e).trim().replace(/\s+up$/i,"").slice(0,-1)+"code:"+p+(r==="keyup"?" up":"");return{message:`"${e}" never fires on US layouts: Shift turns "${t.key}" into "${f}". Bind "${b}" instead.`,suggestion:b}}var G={".":"period",",":"comma",";":"semicolon","'":"quote","/":"slash","\\":"backslash","[":"bracketleft","]":"bracketright","-":"minus","=":"equal","`":"backquote"," ":"space","+":"equal"};function Oe(e){if(!e)return null;let t=/^Key([A-Za-z])$/.exec(e);if(t)return t[1].toLowerCase();let r=/^(?:Digit|Numpad)(\d)$/.exec(e);return r?r[1]:e.toLowerCase()}function Me(e){if(e==null||e==="")return null;if(v(G,e))return v(G,e);let t=P(e);return v(G,t)||t||null}function Z(e){if(!e||e.bareModifier)return null;let t=e.code?Oe(e.code):Me(e.key);if(!t)return null;let r=[];return e.ctrl&&r.push("ctrl"),e.meta&&r.push("meta"),e.alt&&r.push("alt"),e.shift&&r.push("shift"),r.push(t),r.join("+")}function R(e,t,r,i){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r,i)}var Be=A(),Q=Object.freeze({Alt:"alt",AltGraph:"alt",Control:"ctrl",Shift:"shift",Meta:"meta",OS:"meta"}),de=new Set;function L({ctrl:e,shift:t,alt:r,meta:i,key:s,code:f,bareModifier:p}){if(p)return`__bare__:${p}`;let a="";return e&&(a+="ctrl+"),t&&(a+="shift+"),r&&(a+="alt+"),i&&(a+="meta+"),f?a+"code:"+f:a?a+s:s}function Ne(e){let t=v(Q,e.key);return t?`__bare__:${t}`:L({ctrl:e.ctrlKey,shift:e.shiftKey,alt:e.altKey,meta:e.metaKey,key:P(e.key)})}function Le(e){if(!e.code)return null;let t="";return e.ctrlKey&&(t+="ctrl+"),e.shiftKey&&(t+="shift+"),e.altKey&&(t+="alt+"),e.metaKey&&(t+="meta+"),t+"code:"+e.code}var $e=new Set(["checkbox","radio","range","color","file","button","submit","reset","image"]);function _e(e){let t=e?.composedPath?.();if(t?.length)return t;let r=[];for(let i=e?.target;i;i=i.parentNode||i.host)r.push(i);return r}function Ie(e,t){let r=_e(e),i=r[0];if(!i)return null;let s=String(i.tagName||"").toUpperCase();if(i.isContentEditable||s==="TEXTAREA"||s==="SELECT"||i.getAttribute?.("role")==="textbox")return"text";if(s==="INPUT"){if(t==="all")return"text";let f=String(i.getAttribute?.("type")||"text").toLowerCase();return $e.has(f)?"control":"text"}if(t==="text"){for(let f of r)if(String(f.tagName||"").toUpperCase()==="BUTTON"||f.getAttribute?.("role")==="button")return"control"}return null}function ze(e){return!!((e.ctrlKey||e.altKey||e.metaKey)&&!v(Q,e.key))}function fe(e,t){if(typeof t!="function")throw new TypeError(`hotkeys.bind("${e}") expects a function handler, got ${t===null?"null":typeof t}`)}function he(e){if(e==="all"||e==="text")return e;if(typeof e=="string")throw new TypeError(`hotkeys.ignoreInput() expects true, false, 'all' or 'text', got "${e}"`);return e?"all":null}function He(e,t){let r=t?{...t}:{};return e==="keydown"&&r.repeat==null&&(r.repeat=!1),r.priority==null&&(r.priority=0),r}function ue(e){let t=null;for(let r of e)t?(r.options.priority>t.options.priority||r.options.priority===t.options.priority&&r.id>t.id)&&(t=r):t=r;return t}function je(e){return!!(e.ctrlKey&&e.altKey&&typeof e.getModifierState=="function"&&e.getModifierState("AltGraph")&&typeof e.key=="string"&&e.key.length===1)}function pe(e){return!!(e.isComposing||e.keyCode===229)}var Ue=/^(?!\p{Script=Latin})\p{L}$/u;function We(e){if(!(e.ctrlKey||e.metaKey)||e.altKey||pe(e)||typeof e.getModifierState=="function"&&e.getModifierState("AltGraph"))return null;let t=/^Key([A-Z])$/.exec(e.code||"");return!t||typeof e.key!="string"||!Ue.test(e.key)?null:L({ctrl:e.ctrlKey,shift:e.shiftKey,alt:!1,meta:e.metaKey,key:t[1].toLowerCase()})}function Ve(e){return!e.shiftKey||typeof e.key!="string"||e.key.length!==1||/\s/.test(e.key)||e.key.toLowerCase()!==e.key.toUpperCase()?null:L({ctrl:e.ctrlKey,shift:!1,alt:e.altKey,meta:e.metaKey,key:P(e.key)})}var qe={ctrl:"Control",shift:"Shift",alt:"Alt",meta:"Meta"},me={Period:".",Comma:",",Semicolon:";",Quote:"'",Slash:"/",Backslash:"\\",BracketLeft:"[",BracketRight:"]",Minus:"-",Equal:"=",Backquote:"`",Space:" ",Enter:"Enter",NumpadEnter:"Enter",Tab:"Tab",Escape:"Escape",Backspace:"Backspace",Delete:"Delete",Insert:"Insert",Home:"Home",End:"End",PageUp:"PageUp",PageDown:"PageDown",ArrowUp:"ArrowUp",ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight"},U={},ye;for(let[e,t]of Object.entries(me))U[ye=P(t)]??(U[ye]=e);function Ge(e){if(!e)return null;let t=/^Key([A-Z])$/.exec(e);if(t)return t[1].toLowerCase();let r=/^(?:Digit|Numpad)(\d)$/.exec(e);return r?r[1]:/^F\d{1,2}$/.test(e)?e:v(me,e)??null}function Ze(e){return e?/^[a-z]$/.test(e)?"Key"+e.toUpperCase():/^\d$/.test(e)?"Digit"+e:/^f\d{1,2}$/.test(e)?e.toUpperCase():v(U,e)??null:null}function ve(e,{physical:t=!0,useMod:r=!1,platform:i=Be}={}){if(!e||v(Q,e.key))return null;let s=[],f=i==="mac";if(r&&(f?e.metaKey:e.ctrlKey)&&s.push("mod"),e.ctrlKey&&!(r&&!f)&&s.push("ctrl"),e.metaKey&&!(r&&f)&&s.push("meta"),e.altKey&&s.push("alt"),e.shiftKey&&s.push("shift"),t&&e.code)s.push(`code:${e.code}`);else{let p=P(e.key);if(!p)return null;s.push(p===" "?"space":p)}return s.join("+")}function be({target:e=typeof window<"u"?window:null,capture:t=!1,ignoreInput:r=!0}={}){let i=he(r),s=e,f=t,p=[],a=new Map,b=new Map,w=new Map,C=!1,_=1;function Y(o,c){let l=a.get(o);l||(l=new Map,a.set(o,l));let n=l.get(c);return n||(n=[],l.set(c,n)),n}function T(o){let c=w.get(o);if(!c)return!1;let{comboStr:l,type:n}=c,h=a.get(l),d=h?.get(n);if(!d?.length)return w.delete(o),!1;let u=d.filter(y=>y.id!==o);return u.length?h.set(n,u):h.delete(n),h.size||a.delete(l),w.delete(o),!0}function O(o,c,l=null,n={}){let{combo:h,type:d,raw:u}=D(o);fe(o,c);let y=L(h),k=He(d,n),x={id:_++,comboStr:y,type:d,combo:h,handler:c,plugin:l,raw:u,options:k};Y(y,d).push(x),w.set(x.id,{comboStr:y,type:d});let E=`${y} ${d}`;if(!de.has(E)){let F=le(o);F&&(de.add(E),console.warn(`[hotkey-router] ${F.message}`))}if(p.length)for(let F of p)try{F({combo:h,raw:u,options:k,plugin:l,id:x.id})}catch(H){console.error("[hotkey-router] onBind hook threw:",H)}let g=()=>T(x.id);return g.id=x.id,g.hotkey=u,g}function I(o){if(typeof o!="function")throw new TypeError("hotkeys.onBind(hook) expects a function");return p.push(o),()=>{p=p.filter(c=>c!==o)}}function z(o,c){let{combo:l,type:n}=D(o),h=L(l),d=a.get(h);if(!d)return;let u=d.get(n);if(u?.length){if(c){let y=[];for(let k of u)k.handler===c?w.delete(k.id):y.push(k);y.length?d.set(n,y):d.delete(n)}else{for(let y of u)w.delete(y.id);d.delete(n)}d.size||a.delete(h)}}function M(o,c){if(b.has(o))throw new Error(`Plugin "${o}" already registered`);let l=Object.entries(c).map(([h,d])=>{let[u,y]=Array.isArray(d)?d:[d,{}];return D(h),fe(h,u),[h,u,y]}),n=[];for(let[h,d,u]of l){let y=O(h,d,o,u);n.push(y.id)}return b.set(o,n),()=>{b.get(o)===n&&m(o)}}function m(o){let c=b.get(o);if(c){for(let l of c)T(l);b.delete(o)}}function S(){C=!0}function W(){C=!1}function Ce(o=!0){i=he(o)}function Ee(o){s=o}function J(o,c,l){let n={altGraphChar:je(o),composing:pe(o),focus:i&&Ie(o,i),chord:ze(o)},h=[],d=new Set;for(let u of[Ne(o),Le(o)])!u||d.has(u)||(d.add(u),ee(h,u,o,c,l,n));for(let u of[We,Ve]){if(h.length)break;let y=u(o);y&&!d.has(y)&&(d.add(y),ee(h,y,o,c,l,n))}return h}function ee(o,c,l,n,h,{altGraphChar:d,composing:u,focus:y,chord:k}){let x=a.get(c)?.get(n);if(x?.length)for(let E of x){let g=E.options;h==="capture"&&!g.capture||h==="bubble"&&g.capture||d&&!g.altGraph||u&&!g.composing||y&&!(y==="control"&&k)&&!g.allowIn?.(l)||n==="keydown"&&g.repeat===!1&&l.repeat||g.when&&g.when(l)===!1||o.push(E)}}function te(o,c){let l=o.options;l.preventDefault&&c.preventDefault(),l.stopImmediatePropagation?c.stopImmediatePropagation():l.stopPropagation&&c.stopPropagation(),l.once&&T(o.id),o.handler(c)}function K(o,c="all"){return l=>{if(C)return;let n=J(l,o,c);n.length&&te(ue(n),l)}}let B=null,N=null,V=null,q=null;function Ae({target:o=s,capture:c=f}={}){if(!o)throw new Error("hotkeys.init() requires a target (e.g. window)");if((B||N)&&re(),c){B=R(o,"keydown",K("keydown"),{capture:!0}),N=R(o,"keyup",K("keyup"),{capture:!0});return}B=R(o,"keydown",K("keydown","bubble"),{capture:!1}),N=R(o,"keyup",K("keyup","bubble"),{capture:!1}),V=R(o,"keydown",K("keydown","capture"),{capture:!0}),q=R(o,"keyup",K("keyup","capture"),{capture:!0})}function re(){B?.(),N?.(),V?.(),q?.(),B=null,N=null,V=null,q=null,a.clear(),b.clear(),w.clear()}function Pe(o,{type:c,target:l=null}={}){let{combo:n,type:h}=D(o),d=c||h;if(C)return!1;let u=n.bareModifier?v(qe,n.bareModifier):n.key??Ge(n.code),y=n.bareModifier?null:n.code??Ze(n.key),k=!!n.alt,x=!!n.ctrl,E=!!n.shift,g=!!n.meta;n.bareModifier&&d==="keyup"&&(n.bareModifier==="alt"?k=!1:n.bareModifier==="ctrl"?x=!1:n.bareModifier==="shift"?E=!1:n.bareModifier==="meta"&&(g=!1));let F={type:d,key:u,code:y,ctrlKey:x,shiftKey:E,altKey:k,metaKey:g,repeat:!1,isComposing:!1,getModifierState(){return!1},preventDefault(){},stopPropagation(){},stopImmediatePropagation(){},target:l},H=J(F,d,"all");return H.length?(te(ue(H),F),!0):!1}return{init:Ae,destroy:re,setTarget:Ee,bind:O,unbind:z,registerPlugin:M,unregisterPlugin:m,onBind:I,pause:S,resume:W,ignoreInput:Ce,trigger:Pe,parseHotkey:D,comboFromEvent:ve,detectPlatform:A}}var we=be();typeof window<"u"&&we.init();var X=we;var $={$comment:"Machine-readable companion to docs/browser-hotkeys.md. Each combo entry describes who claims the binding and how strongly. Intended for runtime conflict warnings in keyboard-routing libraries (e.g. hotkey-router) and dev-time validation in apps like WebRadar. Update both this file and the markdown together \u2014 the markdown is the human source of truth, this file is the machine projection.",version:{generated:"2026-10-29",schema:"1.0",sources:["https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perform-firefox-tasks-quickly","https://firefox-source-docs.mozilla.org/devtools-user/keyboard_shortcuts/index.html","https://support.google.com/chrome/answer/157179","https://developer.chrome.com/docs/devtools/shortcuts","https://support.apple.com/guide/safari/keyboard-shortcuts-and-gestures-cpsh003/mac","https://developer.apple.com/documentation/safari-developer-tools/web-inspector","https://support.microsoft.com/en-us/microsoft-edge/keyboard-shortcuts-in-microsoft-edge-50d3edab-30d9-c7e4-21ce-37fe2713cfad","https://support.apple.com/en-us/102650","https://support.microsoft.com/en-us/windows/keyboard-shortcuts-in-windows-dcc61a57-8ff0-cffe-9796-cb9706c75eec","https://help.gnome.org/gnome-help/shell-keyboard-shortcuts.html"]},severityLevels:{hard:"Browser or OS intercepts before page-world keydown fires. preventDefault() can't recover it.","find-bar-only":"Reserved only when the browser's find bar has focus. Fires in page world during normal browsing.","menu-activation":"Win/Linux Alt+letter activates the browser menu bar. Hard to suppress reliably.","system-text":"Only reserved while a text input has focus (terminal-style cursor controls on macOS).",compose:"macOS Option+letter types a special character in text inputs. Outside inputs, free for page world.",os:"Operating system intercepts globally, before any application sees it.","devtools-open":"Only relevant when DevTools is already open; outside DevTools it fires normally.",preventable:"The browser's own shortcut, but keydown reaches the page first: a binding with preventDefault() keeps the browser out, and without one the browser acts. Checked with real keys on Windows (docs/notes/key-check-reserved-2026-10-29.md)."},$keyFormat:"Each combo key uses hotkey-router-compatible syntax: modifiers in canonical order (ctrl|meta|alt|shift) joined by '+', then the key (lowercased letter, or symbolic name). Per-platform tables use the platform's native modifier name \u2014 `meta` on macOS = Cmd, `meta` on Windows = Win, `ctrl` on Linux/Windows = the primary modifier.",platforms:{mac:{browsers:{firefox:{"meta+a":{action:"Select all",severity:"hard"},"meta+b":{action:"Bookmarks sidebar",severity:"hard"},"meta+c":{action:"Copy",severity:"hard"},"meta+d":{action:"Bookmark this page",severity:"hard"},"meta+e":{action:"Search from page",severity:"hard"},"meta+f":{action:"Find in page",severity:"hard"},"meta+g":{action:"Find next",severity:"hard"},"meta+j":{action:"Downloads",severity:"hard"},"meta+l":{action:"Focus address bar",severity:"hard"},"meta+n":{action:"New window",severity:"hard"},"meta+o":{action:"Open file",severity:"hard"},"meta+p":{action:"Print",severity:"hard"},"meta+r":{action:"Reload",severity:"hard"},"meta+s":{action:"Save page",severity:"hard"},"meta+t":{action:"New tab",severity:"hard"},"meta+u":{action:"View source",severity:"hard"},"meta+v":{action:"Paste",severity:"hard"},"meta+w":{action:"Close tab",severity:"hard"},"meta+x":{action:"Cut",severity:"hard"},"meta+y":{action:"Redo",severity:"hard"},"meta+z":{action:"Undo",severity:"hard"},"meta+shift+a":{action:"Add-ons manager",severity:"hard"},"meta+shift+b":{action:"Bookmarks toolbar",severity:"hard"},"meta+shift+c":{action:"Inspector (element picker)",severity:"hard"},"meta+shift+d":{action:"Bookmark all tabs",severity:"hard"},"meta+shift+e":{action:"Network Monitor",severity:"hard"},"meta+shift+f":{action:"Toggle fullscreen",severity:"hard"},"meta+shift+g":{action:"Find previous",severity:"find-bar-only"},"meta+shift+j":{action:"Browser Console",severity:"hard"},"meta+shift+n":{action:"New private window",severity:"hard"},"meta+shift+o":{action:"Bookmarks library",severity:"hard"},"meta+shift+p":{action:"New private window (alt)",severity:"hard"},"meta+shift+q":{action:"Quit (with confirm)",severity:"hard"},"meta+shift+s":{action:"Firefox Screenshot",severity:"hard"},"meta+shift+t":{action:"Reopen closed tab",severity:"hard"},"meta+shift+v":{action:"Paste as plain text",severity:"hard"},"meta+shift+w":{action:"Close window",severity:"hard"},"meta+shift+z":{action:"Redo",severity:"hard"},"meta+alt+c":{action:"Inspector",severity:"hard"},"meta+alt+e":{action:"Network Monitor",severity:"hard"},"meta+alt+i":{action:"DevTools Toolbox",severity:"hard"},"meta+alt+j":{action:"Browser Console",severity:"hard"},"meta+alt+k":{action:"Web Console",severity:"hard"},"meta+alt+m":{action:"Responsive Design Mode",severity:"hard"},"meta+alt+z":{action:"Debugger",severity:"hard"}},chrome:{"meta+a":{action:"Select all",severity:"hard"},"meta+c":{action:"Copy",severity:"hard"},"meta+d":{action:"Bookmark this page",severity:"hard"},"meta+e":{action:"Search selected text",severity:"find-bar-only"},"meta+f":{action:"Find in page",severity:"hard"},"meta+g":{action:"Find next",severity:"hard"},"meta+l":{action:"Focus address bar",severity:"hard"},"meta+n":{action:"New window",severity:"hard"},"meta+o":{action:"Open file",severity:"hard"},"meta+p":{action:"Print",severity:"hard"},"meta+r":{action:"Reload",severity:"hard"},"meta+s":{action:"Save page",severity:"hard"},"meta+t":{action:"New tab",severity:"hard"},"meta+v":{action:"Paste",severity:"hard"},"meta+w":{action:"Close tab",severity:"hard"},"meta+x":{action:"Cut",severity:"hard"},"meta+y":{action:"History page",severity:"hard"},"meta+z":{action:"Undo",severity:"hard"},"meta+shift+b":{action:"Bookmarks bar toggle",severity:"hard"},"meta+shift+c":{action:"DevTools Inspector",severity:"hard"},"meta+shift+d":{action:"Bookmark all tabs",severity:"hard"},"meta+shift+g":{action:"Find previous",severity:"find-bar-only"},"meta+shift+j":{action:"Downloads page",severity:"hard"},"meta+shift+m":{action:"Switch user / guest",severity:"hard"},"meta+shift+n":{action:"New incognito window",severity:"hard"},"meta+shift+r":{action:"Hard reload",severity:"hard"},"meta+shift+t":{action:"Reopen closed tab",severity:"hard"},"meta+shift+v":{action:"Paste as plain text",severity:"hard"},"meta+shift+w":{action:"Close window",severity:"hard"},"meta+shift+z":{action:"Redo",severity:"hard"},"meta+alt+i":{action:"DevTools",severity:"hard"},"meta+alt+j":{action:"DevTools (console)",severity:"hard"},"meta+alt+u":{action:"View source",severity:"hard"}},safari:{"meta+a":{action:"Select all",severity:"hard"},"meta+c":{action:"Copy",severity:"hard"},"meta+d":{action:"Add to Reading List",severity:"hard"},"meta+f":{action:"Find in page",severity:"hard"},"meta+g":{action:"Find next",severity:"hard"},"meta+j":{action:"Downloads",severity:"hard"},"meta+l":{action:"Focus Smart Search",severity:"hard"},"meta+n":{action:"New window",severity:"hard"},"meta+p":{action:"Print",severity:"hard"},"meta+r":{action:"Reload",severity:"hard"},"meta+s":{action:"Save page",severity:"hard"},"meta+t":{action:"New tab",severity:"hard"},"meta+v":{action:"Paste",severity:"hard"},"meta+w":{action:"Close tab",severity:"hard"},"meta+x":{action:"Cut",severity:"hard"},"meta+z":{action:"Undo",severity:"hard"},"meta+shift+c":{action:"Inspector pick element",severity:"hard"},"meta+shift+d":{action:"Add Reading List item",severity:"hard"},"meta+shift+g":{action:"Find previous",severity:"find-bar-only"},"meta+shift+h":{action:"Go to homepage",severity:"hard"},"meta+shift+n":{action:"New private window",severity:"hard"},"meta+shift+r":{action:"Reader mode",severity:"hard"},"meta+shift+t":{action:"Reopen last closed tab",severity:"hard"},"meta+shift+v":{action:"Paste as plain text",severity:"hard"},"meta+shift+w":{action:"Close window",severity:"hard"},"meta+shift+z":{action:"Redo",severity:"hard"},"meta+alt+c":{action:"Web Inspector pick",severity:"hard"},"meta+alt+i":{action:"Web Inspector",severity:"hard"}},edge:{$comment:"From Microsoft's Edge shortcuts page (Mac table), 2026-11-15. Edit-menu rows (meta+a/c/v/x/z, meta+shift+z) as Chrome. Not checked with real keys.","meta+a":{action:"Select all",severity:"hard"},"meta+c":{action:"Copy",severity:"hard"},"meta+d":{action:"Save as favorite",severity:"hard"},"meta+f":{action:"Find in page",severity:"hard"},"meta+g":{action:"Find next",severity:"hard"},"meta+l":{action:"Focus address bar",severity:"hard"},"meta+n":{action:"New window",severity:"hard"},"meta+o":{action:"Open file",severity:"hard"},"meta+p":{action:"Print",severity:"hard"},"meta+r":{action:"Reload",severity:"hard"},"meta+s":{action:"Save page",severity:"hard"},"meta+t":{action:"New tab",severity:"hard"},"meta+v":{action:"Paste",severity:"hard"},"meta+w":{action:"Close tab",severity:"hard"},"meta+x":{action:"Cut",severity:"hard"},"meta+y":{action:"History",severity:"hard"},"meta+z":{action:"Undo",severity:"hard"},"ctrl+m":{action:"Mute current tab",severity:"hard"},"ctrl+meta+f":{action:"Toggle full screen",severity:"hard"},"meta+shift+b":{action:"Favorites bar toggle",severity:"hard"},"meta+shift+c":{action:"Developer tools",severity:"hard"},"meta+shift+d":{action:"Favorite all tabs",severity:"hard"},"meta+shift+e":{action:"Search in sidebar",severity:"hard"},"meta+shift+g":{action:"Find previous",severity:"find-bar-only"},"meta+shift+h":{action:"Home page",severity:"hard"},"meta+shift+m":{action:"Switch user / guest",severity:"hard"},"meta+shift+n":{action:"New InPrivate window",severity:"hard"},"meta+shift+r":{action:"Hard reload",severity:"hard"},"meta+shift+t":{action:"Reopen closed tab",severity:"hard"},"meta+shift+u":{action:"Read Aloud toggle",severity:"hard"},"meta+shift+v":{action:"Paste as plain text",severity:"hard"},"meta+shift+w":{action:"Close window",severity:"hard"},"meta+shift+z":{action:"Redo",severity:"hard"},"meta+alt+f":{action:"Search the web",severity:"hard"},"meta+alt+j":{action:"JavaScript console",severity:"hard"},"meta+alt+l":{action:"Downloads",severity:"hard"},"meta+alt+m":{action:"Minimize all windows",severity:"hard"}}},system:{"meta+space":{action:"Spotlight",severity:"os"},"meta+tab":{action:"App switcher",severity:"os"},"meta+h":{action:"Hide app",severity:"os"},"meta+m":{action:"Minimize window",severity:"os"},"meta+q":{action:"Quit app",severity:"os"},"meta+shift+3":{action:"Screenshot full screen",severity:"os"},"meta+shift+4":{action:"Screenshot selection",severity:"os"},"meta+shift+5":{action:"Screen recording tool",severity:"os"},"meta+shift+q":{action:"Log out",severity:"os"},"meta+ctrl+q":{action:"Lock screen",severity:"os"},"meta+ctrl+space":{action:"Character Viewer",severity:"os"},"meta+alt+esc":{action:"Force-quit dialog",severity:"os"},"meta+shift+slash":{action:"Help menu search (Cmd+?)",severity:"os"},"meta+alt+h":{action:"Hide other apps",severity:"os"},"meta+alt+d":{action:"Show or hide the Dock",severity:"os"},"meta+backquote":{action:"Switch windows of the front app",severity:"os"}},noteForLetterCombos:{"alt+a..z":{behavior:"compose",note:"Option+letter types special characters in text inputs (Option+E\u2192\xB4, Option+A\u2192\xE5, Option+F\u2192\u0192). Outside inputs, free for page world."},"ctrl+a..z":{behavior:"system-text",note:"Mac uses Ctrl+letter as terminal-style cursor controls inside text inputs (Ctrl+A=line start, Ctrl+E=line end, Ctrl+K=delete-to-end, etc.). Outside inputs, free for page world."}}},windows:{browsers:{firefox:{"ctrl+a":{action:"Select all",severity:"preventable"},"ctrl+b":{action:"Bookmarks sidebar",severity:"preventable"},"ctrl+c":{action:"Copy",severity:"preventable"},"ctrl+d":{action:"Bookmark this page",severity:"preventable"},"ctrl+e":{action:"Search from page",severity:"preventable"},"ctrl+f":{action:"Find in page",severity:"preventable"},"ctrl+g":{action:"Find next",severity:"preventable"},"ctrl+h":{action:"History sidebar",severity:"preventable"},"ctrl+j":{action:"Downloads",severity:"preventable"},"ctrl+k":{action:"Search from page",severity:"preventable"},"ctrl+l":{action:"Focus address bar",severity:"preventable"},"ctrl+n":{action:"New window",severity:"hard"},"ctrl+o":{action:"Open file",severity:"preventable"},"ctrl+p":{action:"Print",severity:"preventable"},"ctrl+r":{action:"Reload",severity:"preventable"},"ctrl+s":{action:"Save page",severity:"preventable"},"ctrl+t":{action:"New tab",severity:"hard"},"ctrl+u":{action:"View source",severity:"preventable"},"ctrl+v":{action:"Paste",severity:"preventable"},"ctrl+w":{action:"Close tab",severity:"hard"},"ctrl+x":{action:"Cut",severity:"preventable"},"ctrl+y":{action:"Redo",severity:"preventable"},"ctrl+z":{action:"Undo",severity:"preventable"},"ctrl+shift+a":{action:"Add-ons manager",severity:"hard"},"ctrl+shift+b":{action:"Bookmarks toolbar",severity:"hard"},"ctrl+shift+c":{action:"Inspector (element picker)",severity:"hard"},"ctrl+shift+d":{action:"Bookmark all tabs",severity:"hard"},"ctrl+shift+e":{action:"Network Monitor",severity:"hard"},"ctrl+shift+g":{action:"Find previous",severity:"find-bar-only"},"ctrl+shift+i":{action:"Developer Tools",severity:"hard"},"ctrl+shift+j":{action:"Browser Console",severity:"hard"},"ctrl+shift+k":{action:"Web Console",severity:"hard"},"ctrl+shift+m":{action:"Responsive Design Mode",severity:"hard"},"ctrl+shift+n":{action:"New private window",severity:"hard"},"ctrl+shift+o":{action:"Bookmarks library",severity:"hard"},"ctrl+shift+p":{action:"New private window (alt)",severity:"hard"},"ctrl+shift+s":{action:"Firefox Screenshot",severity:"hard"},"ctrl+shift+t":{action:"Reopen closed tab",severity:"hard"},"ctrl+shift+v":{action:"Paste as plain text",severity:"hard"},"ctrl+shift+w":{action:"Close window",severity:"hard"},"ctrl+shift+y":{action:"Downloads (alt)",severity:"hard"},"ctrl+shift+z":{action:"Debugger",severity:"hard"},"alt+f":{action:"File menu",severity:"menu-activation"},"alt+e":{action:"Edit menu",severity:"menu-activation"},"alt+v":{action:"View menu",severity:"menu-activation"},"alt+b":{action:"Bookmarks menu",severity:"menu-activation"},"alt+t":{action:"Tools menu",severity:"menu-activation"},"alt+h":{action:"Help menu",severity:"menu-activation"},"alt+d":{action:"Focus address bar",severity:"hard"}},chrome:{"ctrl+a":{action:"Select all",severity:"preventable"},"ctrl+c":{action:"Copy",severity:"preventable"},"ctrl+d":{action:"Bookmark this page",severity:"preventable"},"ctrl+e":{action:"Search from page",severity:"preventable"},"ctrl+f":{action:"Find in page",severity:"preventable"},"ctrl+g":{action:"Find next",severity:"preventable"},"ctrl+h":{action:"History page",severity:"preventable"},"ctrl+j":{action:"Downloads",severity:"preventable"},"ctrl+k":{action:"Search from page",severity:"preventable"},"ctrl+l":{action:"Focus address bar",severity:"preventable"},"ctrl+n":{action:"New window",severity:"hard"},"ctrl+o":{action:"Open file",severity:"preventable"},"ctrl+p":{action:"Print",severity:"preventable"},"ctrl+r":{action:"Reload",severity:"preventable"},"ctrl+s":{action:"Save page",severity:"preventable"},"ctrl+t":{action:"New tab",severity:"hard"},"ctrl+u":{action:"View source",severity:"preventable"},"ctrl+v":{action:"Paste",severity:"preventable"},"ctrl+w":{action:"Close tab",severity:"hard"},"ctrl+x":{action:"Cut",severity:"preventable"},"ctrl+z":{action:"Undo",severity:"preventable"},"ctrl+shift+b":{action:"Bookmarks bar toggle",severity:"hard"},"ctrl+shift+d":{action:"Bookmark all tabs",severity:"hard"},"ctrl+shift+g":{action:"Find previous",severity:"find-bar-only"},"ctrl+shift+i":{action:"DevTools",severity:"hard"},"ctrl+shift+j":{action:"DevTools (console)",severity:"hard"},"ctrl+shift+m":{action:"Switch user / guest",severity:"hard"},"ctrl+shift+n":{action:"Incognito window",severity:"hard"},"ctrl+shift+r":{action:"Hard reload",severity:"hard"},"ctrl+shift+t":{action:"Reopen closed tab",severity:"hard"},"ctrl+shift+v":{action:"Paste as plain text",severity:"hard"},"ctrl+shift+w":{action:"Close window",severity:"hard"},"alt+d":{action:"Focus address bar",severity:"hard"},"alt+e":{action:"Customize menu",severity:"menu-activation"},"alt+f":{action:"Customize menu (alt)",severity:"menu-activation"}},edge:{"ctrl+a":{action:"Select all",severity:"preventable"},"ctrl+c":{action:"Copy",severity:"preventable"},"ctrl+d":{action:"Favorite this page",severity:"preventable"},"ctrl+e":{action:"Search from page",severity:"preventable"},"ctrl+f":{action:"Find in page",severity:"preventable"},"ctrl+g":{action:"Find next",severity:"preventable"},"ctrl+h":{action:"History",severity:"preventable"},"ctrl+j":{action:"Downloads",severity:"preventable"},"ctrl+k":{action:"Search from page",severity:"preventable"},"ctrl+l":{action:"Focus address bar",severity:"preventable"},"ctrl+m":{action:"Mute current tab",severity:"preventable"},"ctrl+n":{action:"New window",severity:"hard"},"ctrl+o":{action:"Open file",severity:"preventable"},"ctrl+p":{action:"Print",severity:"preventable"},"ctrl+r":{action:"Reload",severity:"preventable"},"ctrl+s":{action:"Save page",severity:"preventable"},"ctrl+t":{action:"New tab",severity:"hard"},"ctrl+u":{action:"View source",severity:"preventable"},"ctrl+v":{action:"Paste",severity:"preventable"},"ctrl+w":{action:"Close tab",severity:"hard"},"ctrl+x":{action:"Cut",severity:"preventable"},"ctrl+z":{action:"Undo",severity:"preventable"},"ctrl+shift+b":{action:"Favorites bar toggle",severity:"hard"},"ctrl+shift+d":{action:"Bookmark all tabs in folder",severity:"hard"},"ctrl+shift+e":{action:"Search in sidebar",severity:"hard"},"ctrl+shift+g":{action:"Find previous",severity:"find-bar-only"},"ctrl+shift+i":{action:"DevTools",severity:"hard"},"ctrl+shift+j":{action:"DevTools (console)",severity:"hard"},"ctrl+shift+k":{action:"Duplicate tab",severity:"hard"},"ctrl+shift+l":{action:"Paste and search",severity:"hard"},"ctrl+shift+m":{action:"Switch user / guest",severity:"hard"},"ctrl+shift+n":{action:"InPrivate window",severity:"hard"},"ctrl+shift+o":{action:"Open favorites",severity:"hard"},"ctrl+shift+p":{action:"Print (system dialog)",severity:"hard"},"ctrl+shift+r":{action:"Hard reload",severity:"hard"},"ctrl+shift+t":{action:"Reopen closed tab",severity:"hard"},"ctrl+shift+u":{action:"Read Aloud toggle",severity:"hard"},"ctrl+shift+v":{action:"Paste without formatting",severity:"hard"},"ctrl+shift+w":{action:"Close window",severity:"hard"},"ctrl+shift+y":{action:"Collections",severity:"hard"},"alt+d":{action:"Focus address bar",severity:"hard"},"alt+e":{action:"Settings menu",severity:"menu-activation"},"alt+f":{action:"Settings menu (alt)",severity:"menu-activation"},"alt+shift+b":{action:"Focus favorites bar",severity:"hard"},"alt+shift+i":{action:"Send feedback dialog",severity:"hard"},"alt+shift+t":{action:"Focus app bar toolbar",severity:"hard"}}},system:{"meta+a":{action:"Action Center",severity:"os"},"meta+c":{action:"Windows search",severity:"os"},"meta+d":{action:"Show desktop",severity:"os"},"meta+e":{action:"File Explorer",severity:"os"},"meta+g":{action:"Game bar",severity:"os"},"meta+h":{action:"Voice dictation",severity:"os"},"meta+i":{action:"Settings",severity:"os"},"meta+l":{action:"Lock",severity:"os"},"meta+n":{action:"Notification center",severity:"os"},"meta+p":{action:"Project / display mode",severity:"os"},"meta+r":{action:"Run dialog",severity:"os"},"meta+s":{action:"Search",severity:"os"},"meta+v":{action:"Clipboard history",severity:"os"},"meta+w":{action:"Widgets",severity:"os"},"meta+x":{action:"Quick Link menu",severity:"os"},"meta+z":{action:"Snap layouts",severity:"os"},"meta+tab":{action:"Task View",severity:"os"},"meta+shift+s":{action:"Screenshot region",severity:"os"},"ctrl+shift+esc":{action:"Task Manager",severity:"os"},"ctrl+alt+del":{action:"Security screen",severity:"os"},"alt+tab":{action:"Switch windows",severity:"os"},"alt+f4":{action:"Close active window",severity:"os"}}},linux:{browsers:{firefox:"$ref:platforms.windows.browsers.firefox",chrome:"$ref:platforms.windows.browsers.chrome",edge:"$ref:platforms.windows.browsers.edge"},system:{$comment:"GNOME defaults. KDE and other DEs have similar-shaped reservations but vary; this is a conservative baseline.","meta+tab":{action:"Switch windows",severity:"os"},"meta+a":{action:"Show applications",severity:"os"},"meta+l":{action:"Lock screen",severity:"os"},"meta+v":{action:"Notification list",severity:"os"},"alt+tab":{action:"Switch applications",severity:"os"},"alt+esc":{action:"Cycle windows",severity:"os"},"alt+f2":{action:"Run command",severity:"os"},"alt+f4":{action:"Close window",severity:"os"},"ctrl+alt+tab":{action:"Top-bar accessibility switcher",severity:"os"},"ctrl+alt+del":{action:"Power-off dialog",severity:"os"},"ctrl+shift+alt+r":{action:"Toggle screencast recording",severity:"os"}},noteForCtrlAlt:"Some Linux setups map right-Alt (AltGr) to 'compose' for typing accented characters, in which case AltGr+letter is reported as ctrl+alt+letter and types a special character. Avoid the ctrl+alt+letter namespace on Linux."}}};var Xe="1.0",Ye=new Set(["hard","os","menu-activation"]);function Je(e){return Z(j(e).combo)||""}function et(e,t){if(typeof e!="string"||!e.startsWith("$ref:"))return e;let r=e.slice(5).split("."),i=t;for(let s of r)i=i?.[s];return i}function ge(e){if(!e||typeof e!="object")return null;let t=Object.create(null);for(let[r,i]of Object.entries(e))!i||typeof i!="object"||!("severity"in i)||(t[Je(r)]=i);return t}function tt(e){let t={platforms:Object.create(null)},r=e?.platforms||{};for(let[i,s]of Object.entries(r)){let f=Object.create(null);for(let[p,a]of Object.entries(s.browsers||{}))f[p]=ge(et(a,e));t.platforms[i]={browsers:f,system:ge(s.system)}}return t}var ke=$?.version?.schema===Xe,rt=ke?tt($):{platforms:Object.create(null)},it=Z;function ot(e,{platform:t,browser:r}={}){if(!ke)return null;let i=it(e);if(!i)return null;let s=t&&v(rt.platforms,t);if(!s)return null;let f=r?v(s.browsers,r):null,p=v(f,i);if(p)return{source:"browser",platform:t,browser:r,lookupKey:i,action:p.action,severity:p.severity};let a=v(s.system,i);return a?{source:"system",platform:t,browser:r,lookupKey:i,action:a.action,severity:a.severity}:null}function xe(e){return Ye.has(e)}function at(e,t,r){let i=ae(e.platform),s=e.source==="browser"?`${e.browser} on ${i}`:i,f=xe(e.severity)?"will not fire":e.severity==="preventable"?r?.preventDefault?"fires first; preventDefault keeps the browser out":"fires, and the browser acts too; bind with preventDefault: true":"fires in normal browsing";return`[hotkey-router] "${t}" (${e.lookupKey}) reserved by ${s}: "${e.action}" [${e.severity}] \u2014 ${f}.`}function nt(e,t,r=console,i){let s=at(e,t,i);(xe(e.severity)||e.severity==="preventable"&&!i?.preventDefault?r.warn:r.info).call(r,s)}function Se(e,t={}){if(!e||typeof e.onBind!="function")throw new TypeError("installReservationWarnings(hotkeys) requires a hotkey-router instance with onBind() (>= v0.2.0)");let r=t.platform!==void 0?t.platform:A(),i=t.browser!==void 0?t.browser:oe(),s=t.console||console;return e.onBind(({combo:f,raw:p,options:a})=>{if(a?.warnOnReserved===!1||!r||!i)return;let b=ot(f,{platform:r,browser:i});b&&nt(b,p,s,a)})}var Ct=$?.version?.schema,Et=$?.version?.generated;Se(X);var Dt=X;export{Dt as default};