import { a8 as c, Z as E } from "./index.B_XvPxIW.js"; const L = { BACKGROUND: "background", // バックグラウンドで音声認識中 LISTENING: "listening", // 音声認識中 DISABLED: "disabled" // 音声認識停止中 }, C = () => /* @__PURE__ */ new Map(), O = c.isChrome || c.isSafari, b = { START: "startspeech", STOP: "stopspeech", FINISH: "finish", HELP: "help", HELP_CLOSE: "helpclose" }, _ = { ONLY_NUMBER: "onlynumber", CLICK: "click" }, R = { SCROLL_UP: "scrollup", SCROLL_DOWN: "scrolldown", SCROLL_TOP: "scrolltop", SCROLL_BOTTOM: "scrollbottom", SCROLL_RIGHT: "scrollright", SCROLL_LEFT: "scrollleft", SCROLL_RIGHTEND: "scrollrightend", SCROLL_LEFTEND: "scrollleftend", GO_BACK: "goback", GO_FORWARD: "goforward", RELOAD: "reload" }, T = { SUBMIT_FORM: "submitform", BLUR_INPUT: "blurinput", DELETE_WORD_ALL: "deletewordall", DELETE_SELECTION: "deleteselection", MOVE_CURSOR_START: "movecursorstart", MOVE_CURSOR_END: "movecursorend", SELECT_ALL: "selectall", COPY_ALL: "copyall", COPY_SELECTION: "copyselection", CUT_ALL: "cutall", CUT_SELECTION: "cutselection", PASTE: "paste" }, N = { DELETE_WORD_PREV: "deletewordprev", DELETE_WORD_NEXT: "deletewordnext", MOVE_CURSOR_LEFT: "movecursorleft", MOVE_CURSOR_RIGHT: "movecursorright", SELECT_PREV: "selectprev", SELECT_NEXT: "selectnext" }, m = (e, o) => ({ command: e, number: o }), u = (e, o) => (r) => { var t; for (const [n, a] of e.entries()) { const l = n.replace(o, "(\\d+)"), s = (t = r.match(new RegExp(`^${l}$`))) == null ? void 0 : t[1]; if (s) return m(a, Number.parseInt(s)); } }, d = (e, o) => ({ command: e, value: o }), S = (e, o) => (r) => { var t; for (const [n, a] of e.entries()) { const l = n.replace(o, "(\\d+)"), s = (t = r.match(new RegExp(`^${l}`))) == null ? void 0 : t[1]; if (s) return d(a, Number.parseInt(s)); } }, i = "uniweb---vnav-tooltip", f = ` .${i} { position: absolute; top: -100%; /* Initially hidden above the container */ left: 50%; transform: translateX(-50%); padding: 0.4em 0.8em; opacity: 1; visibility: visible; transition: all 0.3s; border-radius: 8px; background: black; box-shadow: 0 -4px 5px 10px rgba(255, 255, 255, 0.3); z-index: ${E.TOOLTIP}; color: white; border: 2px solid #fff; outline: 3px solid #000; font-weight: bold; font-size: 14px; } .${i}::before { content: ""; position: absolute; bottom: 100%; left: 50%; transform: translateY(-5px) translateX(-50%); border-style: solid; border-width: 0 6px 8px; border-color: transparent transparent black; } `; export { N as V, S as a, T as b, u as c, _ as d, R as e, b as f, L as g, C as h, O as i, i as j, f as t };