@hyperfixi/core 3.1.1 → 3.3.0
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.
- package/README.md +28 -36
- package/dist/ast/command-slots.d.ts +1 -1
- package/dist/ast/nodes.d.ts +2 -0
- package/dist/ast-utils/index.cjs +193 -48
- package/dist/ast-utils/index.mjs +193 -48
- package/dist/ast-utils/interchange/types.d.ts +19 -1
- package/dist/behaviors/index.cjs +19 -0
- package/dist/behaviors/index.mjs +19 -0
- package/dist/bundle-generator/index.cjs +36 -17
- package/dist/bundle-generator/index.mjs +36 -17
- package/dist/bundle-generator/parser-templates.d.ts +1 -1
- package/dist/chunks/bridge-CI9SOl8u.js +2 -0
- package/dist/chunks/browser-modular-7CpI5VF2.js +2 -0
- package/dist/chunks/index-BwXDEK0m.js +2 -0
- package/dist/chunks/index-DQi2o8Lk.js +2 -0
- package/dist/chunks/index-uCOQ8Qn0.js +2 -0
- package/dist/commands/animation/transition.d.ts +12 -6
- package/dist/commands/helpers/loop-executor.d.ts +2 -2
- package/dist/commands/helpers/numeric-target-parser.d.ts +1 -1
- package/dist/commands/helpers/variable-access.d.ts +5 -2
- package/dist/commands/helpers/write-target.d.ts +5 -0
- package/dist/commands/index.cjs +938 -425
- package/dist/commands/index.mjs +938 -425
- package/dist/commands/templates/render.d.ts +4 -4
- package/dist/commands/utility/beep.d.ts +0 -3
- package/dist/expressions/index.cjs +7 -13
- package/dist/expressions/index.mjs +7 -13
- package/dist/htmx/i18n-hooks.d.ts +4 -1
- package/dist/hyperfixi-browser-classic-i18n.js +1 -1
- package/dist/hyperfixi-browser.js +1 -1
- package/dist/hyperfixi-classic-i18n.js +1 -1
- package/dist/hyperfixi-hx-v4.js +1 -1
- package/dist/hyperfixi-hx.js +1 -1
- package/dist/hyperfixi-hybrid-complete.js +1 -1
- package/dist/hyperfixi-hybrid-hx.js +1 -1
- package/dist/hyperfixi-multilingual.js +1 -1
- package/dist/hyperfixi.js +1 -1
- package/dist/hyperfixi.mjs +1 -1
- package/dist/index.cjs +1149 -485
- package/dist/index.min.js +1 -1
- package/dist/index.mjs +1149 -485
- package/dist/lib/swap-executor.d.ts +1 -1
- package/dist/lokascript-browser-classic-i18n.js +1 -1
- package/dist/lokascript-browser.js +1 -1
- package/dist/lokascript-hybrid-complete.js +1 -1
- package/dist/lokascript-hybrid-hx.js +1 -1
- package/dist/lokascript-multilingual.js +1 -1
- package/dist/metadata.cjs +9 -9
- package/dist/metadata.d.ts +1 -1
- package/dist/metadata.mjs +9 -9
- package/dist/parser/command-grammar.d.ts +1 -0
- package/dist/parser/full-parser.cjs +396 -153
- package/dist/parser/full-parser.mjs +396 -153
- package/dist/parser/helpers/parsing-helpers.d.ts +3 -0
- package/dist/parser/hybrid/index.cjs +3 -0
- package/dist/parser/hybrid/index.mjs +3 -0
- package/dist/parser/hybrid/parser-core.cjs +3 -0
- package/dist/parser/hybrid/parser-core.mjs +3 -0
- package/dist/parser/hybrid-parser.cjs +3 -0
- package/dist/parser/hybrid-parser.mjs +3 -0
- package/dist/parser/parser-types.d.ts +2 -0
- package/dist/parser/parser.d.ts +9 -0
- package/dist/parser/pratt-parser.d.ts +2 -0
- package/dist/registry/index.cjs +535 -210
- package/dist/registry/index.mjs +535 -210
- package/dist/utils/beep.d.ts +8 -0
- package/dist/version.d.ts +1 -1
- package/package.json +21 -18
- package/vocab/htmx/ar.js +22 -20
- package/vocab/htmx/bn.js +21 -5
- package/vocab/htmx/de.js +33 -10
- package/vocab/htmx/en.js +4 -1
- package/vocab/htmx/es.js +28 -9
- package/vocab/htmx/fr.js +28 -8
- package/vocab/htmx/he.js +22 -1
- package/vocab/htmx/hi.js +28 -7
- package/vocab/htmx/id.js +29 -10
- package/vocab/htmx/it.js +26 -5
- package/vocab/htmx/ja.js +36 -11
- package/vocab/htmx/ko.js +27 -6
- package/vocab/htmx/ms.js +24 -1
- package/vocab/htmx/pl.js +27 -7
- package/vocab/htmx/pt.js +30 -9
- package/vocab/htmx/qu.js +32 -9
- package/vocab/htmx/ru.js +28 -6
- package/vocab/htmx/sw.js +28 -8
- package/vocab/htmx/th.js +19 -1
- package/vocab/htmx/tl.js +24 -1
- package/vocab/htmx/tr.js +34 -8
- package/vocab/htmx/uk.js +28 -6
- package/vocab/htmx/vi.js +27 -19
- package/vocab/htmx/zh.js +28 -9
- package/dist/chunks/bridge-D7qrHhV0.js +0 -2
- package/dist/chunks/browser-modular-C4LFxfoS.js +0 -2
- package/dist/chunks/index-C7lqD4mo.js +0 -2
- package/dist/chunks/index-CAPhqA6k.js +0 -2
- package/dist/chunks/index-CLdRyZaP.js +0 -2
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{stripOptionalDiacritics as e,TokenStreamImpl as t,renderExplicit as r,StringLiteralExtractor as i,NumberExtractor as a,IdentifierExtractor as n,isExplicitSyntax as o,parseExplicit as s,isValidReference as l,BaseTokenizer as p,isWhitespace as m,createToken as c,createPosition as d,normalized as u,noChange as y,createUnicodeRangeClassifier as v,BaseMorphologicalNormalizer as f}from"./index-CLdRyZaP.js";export{createTokenizerContext,isContextAwareExtractor}from"./index-CLdRyZaP.js";var h,g,k,z=Object.defineProperty,w=Object.getOwnPropertyNames,b=(e,t)=>function(){return e&&(t=(0,e[w(e)[0]])(e=0)),t},x=(e,t)=>{for(var r in t)z(e,r,{get:t[r],enumerable:!0})};function T(e,t){return e.replace(/\{(\w+)\}/g,(e,r)=>(t[r]??`{${r}}`)+"")}function S(e,t,r={},i){const a=T(g[e],r),n=k[e],o=n?T(n,r):void 0;return{code:e,message:a,severity:t,...i&&{role:i},...o&&{suggestion:o}}}var j,E,L,C=b({"src/generators/schema-error-codes.ts"(){h={AMBIGUOUS_TYPE_LITERAL_SELECTOR:"SCHEMA_AMBIGUOUS_TYPE_LITERAL_SELECTOR",TOO_MANY_EXPECTED_TYPES:"SCHEMA_TOO_MANY_EXPECTED_TYPES",MULTI_TYPE_PATIENT_EXPECTED:"SCHEMA_MULTI_TYPE_PATIENT_EXPECTED",NO_REQUIRED_ROLES:"SCHEMA_NO_REQUIRED_ROLES",NO_REQUIRED_ROLES_EXPECTED:"SCHEMA_NO_REQUIRED_ROLES_EXPECTED",TRANSITION_PATIENT_ACCEPTS_SELECTOR:"SCHEMA_TRANSITION_PATIENT_ACCEPTS_SELECTOR",TRANSITION_MISSING_GOAL:"SCHEMA_TRANSITION_MISSING_GOAL",EVENT_HANDLER_MISSING_EVENT:"SCHEMA_EVENT_HANDLER_MISSING_EVENT",EVENT_HANDLER_EVENT_NOT_REQUIRED:"SCHEMA_EVENT_HANDLER_EVENT_NOT_REQUIRED",CONDITIONAL_MISSING_CONDITION:"SCHEMA_CONDITIONAL_MISSING_CONDITION",CONDITIONAL_CONDITION_NOT_REQUIRED:"SCHEMA_CONDITIONAL_CONDITION_NOT_REQUIRED",FOR_LOOP_MISSING_SOURCE:"SCHEMA_FOR_LOOP_MISSING_SOURCE",WHILE_LOOP_MISSING_CONDITION:"SCHEMA_WHILE_LOOP_MISSING_CONDITION",VALUE_TYPE_MISMATCH:"SCHEMA_VALUE_TYPE_MISMATCH",SELECTOR_KIND_MISMATCH:"SCHEMA_SELECTOR_KIND_MISMATCH",SELECTOR_KINDS_WITHOUT_SELECTOR_TYPE:"SCHEMA_SELECTOR_KINDS_WITHOUT_SELECTOR_TYPE",KEYWORD_COLLISION:"PROFILE_KEYWORD_COLLISION"},g={[h.AMBIGUOUS_TYPE_LITERAL_SELECTOR]:"Role '{role}' accepts both 'literal' and 'selector'. This may cause ambiguous type inference for values starting with special characters (* . # etc.).",[h.TOO_MANY_EXPECTED_TYPES]:"Role '{role}' accepts {count} different types. This may make type inference unreliable.",[h.MULTI_TYPE_PATIENT_EXPECTED]:"Role '{role}' accepts multiple types (expected for {command} command).",[h.NO_REQUIRED_ROLES]:"Command has no required roles. Is this intentional?",[h.NO_REQUIRED_ROLES_EXPECTED]:"Command has no required roles (expected for {command}).",[h.TRANSITION_PATIENT_ACCEPTS_SELECTOR]:"Transition command 'patient' role (CSS property name) should only accept 'literal', not 'selector'. CSS property names like 'background-color' are strings, not CSS selectors.",[h.TRANSITION_MISSING_GOAL]:"Transition command requires a 'goal' role for the target value (to <value>). Without it, there's no way to specify what value to transition to.",[h.EVENT_HANDLER_MISSING_EVENT]:"Event handler command should have an 'event' role to specify which event to listen for.",[h.EVENT_HANDLER_EVENT_NOT_REQUIRED]:"Event role should be required - every event handler needs an event to listen for.",[h.CONDITIONAL_MISSING_CONDITION]:"Conditional command should have a 'condition' role for the boolean expression.",[h.CONDITIONAL_CONDITION_NOT_REQUIRED]:"Condition role should be required - conditionals need a condition to evaluate.",[h.FOR_LOOP_MISSING_SOURCE]:"For-loop should have a 'source' role for the collection to iterate over.",[h.WHILE_LOOP_MISSING_CONDITION]:"While-loop should have a 'condition' role for the loop condition.",[h.VALUE_TYPE_MISMATCH]:"Role '{role}' of command '{command}' expects type [{expectedTypes}], got '{actualType}'.",[h.SELECTOR_KIND_MISMATCH]:"Role '{role}' of command '{command}' expects selector kind [{selectorKinds}], got '{actualKind}'.",[h.SELECTOR_KINDS_WITHOUT_SELECTOR_TYPE]:"Role '{role}' has selectorKinds but expectedTypes does not include 'selector'.",[h.KEYWORD_COLLISION]:"Keyword '{keyword}' is used by multiple commands: {commands}. Only the first-registered command will be reachable."},k={[h.AMBIGUOUS_TYPE_LITERAL_SELECTOR]:"Consider being more specific about which type is expected, or use explicit type markers.",[h.TOO_MANY_EXPECTED_TYPES]:"Consider narrowing the accepted types to improve type inference reliability.",[h.TRANSITION_PATIENT_ACCEPTS_SELECTOR]:"Remove 'selector' from expectedTypes and only accept 'literal'.",[h.TRANSITION_MISSING_GOAL]:"Add a 'goal' role with expectedTypes ['literal', 'variable'].",[h.EVENT_HANDLER_MISSING_EVENT]:"Add an 'event' role with expectedTypes ['literal'].",[h.EVENT_HANDLER_EVENT_NOT_REQUIRED]:"Set required: true on the 'event' role.",[h.CONDITIONAL_MISSING_CONDITION]:"Add a 'condition' role with expectedTypes ['expression'].",[h.CONDITIONAL_CONDITION_NOT_REQUIRED]:"Set required: true on the 'condition' role.",[h.FOR_LOOP_MISSING_SOURCE]:"Add a 'source' role for the collection to iterate over.",[h.WHILE_LOOP_MISSING_CONDITION]:"Add a 'condition' role for the loop continuation condition.",[h.VALUE_TYPE_MISMATCH]:"Ensure the value matches one of the expected types: [{expectedTypes}].",[h.SELECTOR_KIND_MISMATCH]:"Use a selector of the correct kind: [{selectorKinds}].",[h.SELECTOR_KINDS_WITHOUT_SELECTOR_TYPE]:"Either add 'selector' to expectedTypes or remove selectorKinds.",[h.KEYWORD_COLLISION]:"Give each command a unique keyword. Move the shared keyword to alternatives on one command, or use a more specific translation."}}}),_={};function P(e){const t=[];for(const r of e.roles)r.expectedTypes.includes("literal")&&r.expectedTypes.includes("selector")&&("patient"===r.role&&j.has(e.action)?t.push(S(h.MULTI_TYPE_PATIENT_EXPECTED,"note",{role:r.role,command:e.action},r.role)):t.push(S(h.AMBIGUOUS_TYPE_LITERAL_SELECTOR,"warning",{role:r.role},r.role))),r.expectedTypes.length>3&&!j.has(e.action)&&t.push(S(h.TOO_MANY_EXPECTED_TYPES,"warning",{role:r.role,count:r.expectedTypes.length},r.role));for(const r of e.roles)r.selectorKinds&&r.selectorKinds.length>0&&(r.expectedTypes.includes("selector")||t.push(S(h.SELECTOR_KINDS_WITHOUT_SELECTOR_TYPE,"warning",{role:r.role},r.role)));switch(e.action){case"transition":!function(e,t){const r=e.roles.find(e=>"patient"===e.role),i=e.roles.find(e=>"goal"===e.role);r&&!i&&t.push(S(h.TRANSITION_MISSING_GOAL,"error",{}))}(e,t);break;case"on":!function(e,t){const r=e.roles.find(e=>"event"===e.role);r||t.push(S(h.EVENT_HANDLER_MISSING_EVENT,"warning",{}));r&&!r.required&&t.push(S(h.EVENT_HANDLER_EVENT_NOT_REQUIRED,"warning",{}))}(e,t);break;case"if":case"unless":!function(e,t){const r=e.roles.find(e=>"condition"===e.role);r||t.push(S(h.CONDITIONAL_MISSING_CONDITION,"warning",{}));r&&!r.required&&t.push(S(h.CONDITIONAL_CONDITION_NOT_REQUIRED,"warning",{}))}(e,t);break;case"repeat":case"for":case"while":!function(e,t){if("for"===e.action){e.roles.find(e=>"source"===e.role)||t.push(S(h.FOR_LOOP_MISSING_SOURCE,"warning",{}))}else if("while"===e.action){e.roles.find(e=>"condition"===e.role)||t.push(S(h.WHILE_LOOP_MISSING_CONDITION,"warning",{}))}}(e,t)}return 0===e.roles.filter(e=>e.required).length&&(E.has(e.action)?t.push(S(h.NO_REQUIRED_ROLES_EXPECTED,"note",{command:e.action})):t.push(S(h.NO_REQUIRED_ROLES,"warning",{}))),function(e,t){return{action:e,items:t}}(e.action,t)}function W(e,t={}){const r=new Map,{includeNotes:i=!1}=t;for(const[t,a]of Object.entries(e)){const e=P(a),n=e.items.some(e=>"warning"===e.severity||"error"===e.severity),o=i&&e.items.some(e=>"note"===e.severity);(n||o)&&r.set(t,e)}return r}function A(e,t={}){const r=[],{showNotes:i=!1,showCodes:a=!0}=t;for(const[t,n]of e){const e=n.items.filter(e=>"error"===e.severity),o=n.items.filter(e=>"warning"===e.severity),s=n.items.filter(e=>"note"===e.severity);if(e.length>0){r.push(` \u274c ${t}:`);for(const t of e){r.push(` ERROR${a?` [${t.code}]`:""}: ${t.message}`),t.suggestion&&r.push(" \ud83d\udca1 Suggestion: "+t.suggestion)}}if(o.length>0){r.push(` \u26a0\ufe0f ${t}:`);for(const e of o){r.push(` ${(a?` [${e.code}]`:"")?e.code+": ":""}${e.message}`),e.suggestion&&r.push(" \ud83d\udca1 "+e.suggestion)}}if(i&&s.length>0){r.push(` \u2139\ufe0f ${t}:`);for(const e of s){r.push(` ${(a?` [${e.code}]`:"")?e.code+": ":""}${e.message}`)}}}return r.join("\n")}function q(e){let t=0,r=0,i=0;const a={};for(const n of e.values())for(const e of n.items)"error"===e.severity?t++:"warning"===e.severity?r++:"note"===e.severity&&i++,a[e.code]=(a[e.code]||0)+1;return{totalCommands:e.size,errors:t,warnings:r,notes:i,byCode:a}}function O(e,t){const r=[];for(const i of t){const t=e.roles.find(e=>e.role===i.role);t&&(t.expectedTypes.length>0&&!t.expectedTypes.includes(i.type)&&(t.expectedTypes.includes("expression")||r.push({level:"error",role:i.role,message:`${e.action}.${i.role} expects type [${t.expectedTypes.join(", ")}], got '${i.type}'`,code:h.VALUE_TYPE_MISMATCH})),"selector"===i.type&&i.selectorKind&&t.selectorKinds&&t.selectorKinds.length>0&&(t.selectorKinds.includes(i.selectorKind)||r.push({level:"error",role:i.role,message:`${e.action}.${i.role} expects selector kind [${t.selectorKinds.join(", ")}], got '${i.selectorKind}'`,code:h.SELECTOR_KIND_MISMATCH})))}return r}function R(e){if(2!==e.length)return!1;const[t,r]=[...e].sort();return L.some(([e,i])=>e===t&&i===r)}function M(e){const t=[];if(!e.keywords)return{language:e.code,collisions:t};const r=new Map;for(const[t,i]of Object.entries(e.keywords)){if(!i||!i.primary)continue;const e=r.get(i.primary)||[];if(e.push({command:t,isPrimary:!0}),r.set(i.primary,e),i.alternatives)for(const e of i.alternatives){const i=r.get(e)||[];i.push({command:t,isPrimary:!1}),r.set(e,i)}}for(const[e,i]of r){const r=[...new Set(i.map(e=>e.command))];if(1>=r.length)continue;if(R(r))continue;const a=i.filter(e=>e.isPrimary).length;let n;n=2>a?1===a?"primary-alternative":"alternative-alternative":"primary-primary",t.push({keyword:e,commands:r.sort(),type:n})}const i={"primary-primary":0,"primary-alternative":1,"alternative-alternative":2};return t.sort((e,t)=>i[e.type]-i[t.type]),{language:e.code,collisions:t}}function N(e){const t=[];for(const[,r]of Object.entries(e)){const e=M(r);e.collisions.length>0&&t.push(e)}return t.sort((e,t)=>e.language.localeCompare(t.language))}x(_,{SchemaErrorCodes:()=>h,formatValidationResults:()=>A,getValidationStats:()=>q,validateAllKeywordCollisions:()=>N,validateAllSchemas:()=>W,validateCommandSchema:()=>P,validateKeywordCollisions:()=>M,validateRoleValues:()=>O});var I,$,K,V,D,B,F,H,U,G,Z,Y,X,Q,J,ee,te,re,ie,ae,ne,oe,se,le,pe,me,ce,de,ue,ye,ve,fe,he,ge,ke,ze,we,be,xe,Te,Se,je,Ee,Le,Ce,_e,Pe,We,Ae,qe,Oe,Re,Me,Ne,Ie,$e,Ke,Ve,De,Be,Fe,He,Ue,Ge,Ze,Ye,Xe,Qe,Je,et,tt,rt,it=b({"src/generators/schema-validator.ts"(){C(),j=new Set(["put","append","prepend","log","throw","make","measure","return","swap","morph","beep","copy"]),E=new Set(["compound","else","halt","continue","init","settle","focus","blur","return","js","measure","break","exit","beep","empty","open","close","select","clear","reset","breakpoint","live","eventsource","socket","worker","intercept"]),L=[["change","changes"]]}});function at(e){const t=e.roles.find(e=>"destination"===e.role);return t?{destination:t.default?{fromRole:"destination",default:t.default}:{fromRole:"destination"}}:{}}function nt(e){const t=e.roles.find(e=>"source"===e.role);return t?{source:t.default?{fromRole:"source",default:t.default}:{fromRole:"source"}}:{}}function ot(e,t){return lt(e,t,"source")}function st(e,t){return lt(e,t,"destination")}function lt(e,t,r){if(!t||!e.roles.some(e=>e.role===r))return[];const i=t.alternatives?{type:"literal",value:t.primary,alternatives:[...t.alternatives]}:{type:"literal",value:t.primary},a={type:"role",role:r,optional:!0};return[{type:"group",optional:!0,tokens:"after"===t.position?[a,i]:[i,a]}]}function pt(e){return rt[e]}function mt(e){return Object.values(rt).filter(t=>t.category===e)}function ct(){return Object.values(rt).filter(e=>!0!==e.structuralOnly&&(e.roles.length>0||!0===e.bareKeyword))}var dt,ut,yt,vt,ft,ht=b({"src/generators/command-schemas.ts"(){I={action:"toggle",description:"Toggle a class or attribute on/off",category:"dom-class",primaryRole:"patient",ast:{args:["patient"],modifiers:{on:"destination",for:"duration"}},argSkipTokens:["on"],roles:[{role:"patient",description:"The class or attribute to toggle",required:!0,expectedTypes:["selector"],selectorKinds:["class","attribute"],svoPosition:1,sovPosition:2,markerOptional:{zh:!0}},{role:"destination",description:"The target element (defaults to me)",required:!1,expectedTypes:["selector","reference"],default:{type:"reference",value:"me"},svoPosition:2,sovPosition:1,markerVariants:{ko:["\uc5d0\uc11c"]}},{role:"duration",description:"How long the class stays on before reverting (`toggle .a for 2s`)",required:!1,expectedTypes:["literal"],svoPosition:3,sovPosition:3,valueShape:"time",markerOverride:{en:"for",ja:"\u9593",ko:"\ub3d9\uc548"}}],errorCodes:["MISSING_ARGUMENT","NO_VALID_CLASS_NAMES","INVALID_CSS_PROPERTY"],preconditions:[{condition:"Command has at least one argument",errorCode:"MISSING_ARGUMENT",message:"toggle command requires an argument"},{condition:"Class names are valid CSS identifiers",errorCode:"NO_VALID_CLASS_NAMES",message:"toggle command: no valid class names found"}],recoveryHints:{MISSING_ARGUMENT:"Add a class selector (.classname) or attribute to toggle",NO_VALID_CLASS_NAMES:"Ensure class names start with a dot (.) and are valid CSS identifiers",INVALID_CSS_PROPERTY:"Check CSS property name syntax (use kebab-case)"}},$={action:"add",description:"Add a class or attribute to an element",category:"dom-class",primaryRole:"patient",ast:{args:["patient"],modifiers:{to:"destination"}},roles:[{role:"patient",description:"The class or attribute to add",required:!0,expectedTypes:["selector","literal"],svoPosition:1,sovPosition:2},{role:"destination",description:"The target element (defaults to me)",required:!1,expectedTypes:["selector","reference","expression"],default:{type:"reference",value:"me"},svoPosition:2,sovPosition:1,markerOverride:{en:"to",es:"a",ar:"\u0625\u0644\u0649",zh:"\u5230",fr:"\u00e0",de:"zu",pt:"a",he:"\u05d0\u05dc",id:"ke",it:"a",sw:"kwa"},markerLegacy:{es:["en","sobre","hacia"],ar:["\u0639\u0644\u0649","\u0641\u064a","\u0628"],zh:["\u5728","\u4e8e"],fr:["sur","dans"],de:["auf","in"],pt:["em","para"],he:["\u05e2\u05dc","\u05d1","\u05dc"],id:["pada","di"],it:["in","su"],sw:["kwenye"]}}],errorCodes:["MISSING_ARGUMENT","NO_VALID_CLASS_NAMES","PROPERTY_REQUIRES_VALUE"],preconditions:[{condition:"Command has at least one argument",errorCode:"MISSING_ARGUMENT",message:"add command requires an argument"}],recoveryHints:{MISSING_ARGUMENT:"Add a class selector (.classname) or attribute to add",NO_VALID_CLASS_NAMES:"Ensure class names start with a dot (.) and are valid CSS identifiers",PROPERTY_REQUIRES_VALUE:"When adding a property (*prop), provide a value argument"}},K={action:"remove",description:"Remove a class or attribute from an element",category:"dom-class",primaryRole:"patient",ast:{args:["patient"],modifiers:{from:"source"}},targetRole:"source",argSkipTokens:["from"],roles:[{role:"patient",description:"The class/attribute to remove, or the element to remove",required:!0,expectedTypes:["selector","reference"],svoPosition:1,sovPosition:2},{role:"source",description:"The element to remove from (defaults to me)",required:!1,expectedTypes:["selector","reference","expression"],default:{type:"reference",value:"me"},svoPosition:2,sovPosition:1}],errorCodes:["MISSING_ARGUMENT","NO_VALID_CLASS_NAMES"],preconditions:[{condition:"Command has at least one argument",errorCode:"MISSING_ARGUMENT",message:"remove command requires an argument"}],recoveryHints:{MISSING_ARGUMENT:"Add a class selector (.classname) or attribute to remove",NO_VALID_CLASS_NAMES:"Ensure class names start with a dot (.) and are valid CSS identifiers"}},V={action:"put",description:"Put content into a target element or variable",category:"dom-content",primaryRole:"patient",roles:[{role:"patient",description:"The content to put",required:!0,expectedTypes:["literal","selector","reference","expression"],svoPosition:1,sovPosition:1},{role:"destination",description:"Where to put the content",required:!0,expectedTypes:["selector","reference"],svoPosition:2,sovPosition:2,markerOverride:{en:"into",ar:"\u0641\u064a",zh:"\u5230",fr:"dans",de:"in",he:"\u05d1",id:"ke",sw:"kwa"},markerVariants:{en:["before","after"]},markerLegacy:{ar:["\u0639\u0644\u0649","\u0625\u0644\u0649","\u0628"],zh:["\u5728","\u4e8e"],fr:["sur","\u00e0"],de:["auf","zu"],he:["\u05e2\u05dc","\u05d0\u05dc","\u05dc"],id:["pada","di"],sw:["kwenye"]},methodCarrier:"method"}],errorCodes:["MISSING_ARGUMENTS","MISSING_CONTENT","MISSING_POSITION","INVALID_POSITION","NO_TARGET","NO_ELEMENTS"],preconditions:[{condition:"Command has content and position arguments",errorCode:"MISSING_ARGUMENTS",message:"put requires arguments"},{condition:"Content to put is specified",errorCode:"MISSING_CONTENT",message:"put requires content"},{condition:"Position keyword is specified (into, before, after, etc.)",errorCode:"MISSING_POSITION",message:"put requires position keyword"}],recoveryHints:{MISSING_ARGUMENTS:"Use syntax: put <content> into/before/after <target>",MISSING_CONTENT:"Add content to put (string, element, or expression)",MISSING_POSITION:"Add position keyword: into, before, after, at start of, at end of",INVALID_POSITION:"Valid positions: into, before, after, at start of, at end of",NO_TARGET:'Ensure target element exists or use "me" reference',NO_ELEMENTS:"Check that the selector matches existing elements"}},D={action:"set",description:"Set a property or variable to a value",category:"variable",primaryRole:"destination",ast:{args:["destination"],modifiers:{to:"patient",on:"scope"}},argSkipTokens:["to"],roles:[{role:"destination",description:"The property or variable to set",required:!0,expectedTypes:["selector","reference","expression","property-path"],svoPosition:1,sovPosition:1,markerOverride:{en:"",es:"",ja:"\u3092",ko:"\ub97c",tr:"i",ar:"",sw:"",tl:"",th:"",bn:"\u0995\u09c7",qu:"ta",hi:"\u0915\u094b",zh:"\u628a"},markerOptional:{zh:!0}},{role:"patient",description:"The value to set",required:!0,expectedTypes:["literal","expression","reference"],svoPosition:2,sovPosition:2,markerOverride:{en:"to",es:"a",pt:"para",fr:"\u00e0",de:"auf",id:"ke",ja:"\u306b",ko:"\uc5d0",tr:"e",ar:"\u0625\u0644\u0649",sw:"kwenye",tl:"sa",th:"\u0e43\u0e19",bn:"\u09a4\u09c7",qu:"man",hi:"\u092e\u0947\u0902",zh:"\u5230"},markerVariants:{tr:["e","a","ye","ya"],zh:["\u4e3a","\u70ba","\u6210"]}},{role:"scope",description:"The element(s) the attribute/property is set on (defaults to me)",required:!1,expectedTypes:["selector","reference"],svoPosition:3,sovPosition:3,markerOverride:{en:"on",es:"on",pt:"on",fr:"on",de:"on",it:"on",id:"on",ms:"on",sw:"on",tl:"on",zh:"on",vi:"on",ru:"on",uk:"on",pl:"on",th:"on",he:"on",ar:"on",ja:"on",ko:"on",tr:"on",hi:"on",bn:"on",qu:"on"}}],errorCodes:["MISSING_TARGET","INVALID_TARGET","MISSING_VALUE","INVALID_SYNTAX"],preconditions:[{condition:"Command has a target variable or property",errorCode:"MISSING_TARGET",message:"set command requires a target"},{condition:"Target is a valid variable or property reference",errorCode:"INVALID_TARGET",message:"set command target must be a string or object literal"},{condition:'Value is specified with "to" keyword',errorCode:"MISSING_VALUE",message:'set command requires a value (use "to" keyword)'}],recoveryHints:{MISSING_TARGET:"Add a target: set :variable to value OR set element.property to value",INVALID_TARGET:'Use local variable (:name), element property (el.prop), or "the X of Y" syntax',MISSING_VALUE:'Add "to <value>" to specify what to set',INVALID_SYNTAX:"Use syntax: set <target> to <value>"}},B={action:"bind",description:"Reactively bind a variable to an element or property value",category:"variable",primaryRole:"destination",roles:[{role:"destination",description:"The variable to bind",required:!0,expectedTypes:["reference","expression"],svoPosition:1,sovPosition:1,markerOverride:{en:"",es:"",pt:"",fr:"",de:"",it:"",id:"",ms:"",vi:"",ru:"",uk:"",pl:"",th:"",zh:"",he:"",ar:"",sw:"",tl:"",ja:"\u3092",ko:"\ub97c",tr:"i",bn:"\u0995\u09c7",qu:"ta",hi:"\u0915\u094b"}},{role:"source",description:"The element or property to bind to",required:!0,expectedTypes:["selector","reference","expression","property-path"],svoPosition:2,sovPosition:2,markerOverride:{en:"to",es:"a",pt:"para",fr:"\u00e0",de:"zu",it:"in",id:"ke",ms:"ke",vi:"v\u00e0o",ru:"\u0432",uk:"\u0432",pl:"do",ja:"\u306b",ko:"\uc5d0",tr:"e",ar:"\u0625\u0644\u0649",zh:"\u5230",he:"\u05dc",sw:"kwa",th:"\u0e43\u0e19",tl:"sa",bn:"\u09a4\u09c7",qu:"man",hi:"\u092e\u0947\u0902"}}],errorCodes:["MISSING_TARGET","MISSING_VALUE","INVALID_SYNTAX"],recoveryHints:{MISSING_TARGET:"Add a variable to bind: bind $name to #input",MISSING_VALUE:'Add "to <element>" to specify the binding source',INVALID_SYNTAX:"Use syntax: bind <variable> to <element>"}},F={action:"live",description:"Reactive block: re-run the body when its dependencies change",category:"control-flow",primaryRole:"patient",hasBody:!0,bareKeyword:!0,roles:[]},H={action:"when",description:"Reactive observer: re-run the body when a watched expression changes",category:"control-flow",primaryRole:"condition",ast:{args:["condition"]},hasBody:!0,structuralOnly:!0,roles:[{role:"condition",description:"The watched expression (`or`-separated expressions watch each)",required:!0,expectedTypes:["expression","reference","selector"],svoPosition:1}]},U={action:"eventsource",description:"Open a Server-Sent Events stream and handle its events",category:"async",primaryRole:"patient",hasBody:!0,bareKeyword:!0,roles:[]},G={action:"socket",description:"Open a WebSocket and handle its messages",category:"async",primaryRole:"patient",hasBody:!0,bareKeyword:!0,roles:[]},Z={action:"worker",description:"Define a Web Worker with inline methods",category:"async",primaryRole:"patient",hasBody:!0,bareKeyword:!0,roles:[]},Y={action:"intercept",description:"Service-worker fetch interception / caching strategies",category:"async",primaryRole:"patient",hasBody:!0,bareKeyword:!0,roles:[]},X={action:"show",description:"Make an element visible",category:"dom-visibility",primaryRole:"patient",ast:{args:[["destination","patient"]],modifiers:{with:"duration"}},roles:[{role:"patient",description:"The element to show",required:!0,expectedTypes:["selector","reference"],default:{type:"reference",value:"me"},svoPosition:1,sovPosition:1},{role:"style",description:"Animation style (fade, slide, etc.)",required:!1,expectedTypes:["literal"],svoPosition:2,sovPosition:2}]},Q={action:"hide",description:"Make an element invisible",category:"dom-visibility",primaryRole:"patient",ast:{args:[["destination","patient"]],modifiers:{with:"duration"}},roles:[{role:"patient",description:"The element to hide",required:!0,expectedTypes:["selector","reference"],default:{type:"reference",value:"me"},svoPosition:1,sovPosition:1},{role:"style",description:"Animation style (fade, slide, etc.)",required:!1,expectedTypes:["literal"],svoPosition:2,sovPosition:2}]},J={action:"on",description:"Handle an event",category:"event",primaryRole:"event",ast:{args:["event"],modifiers:{from:"source"}},hasBody:!0,roles:[{role:"event",description:"The event to handle",required:!0,expectedTypes:["literal"],svoPosition:1,sovPosition:2},{role:"source",description:"The element to listen on (defaults to me)",required:!1,expectedTypes:["selector","reference"],default:{type:"reference",value:"me"},svoPosition:2,sovPosition:1}],widenTypeVariants:[{role:"event",types:["literal","expression"],idSuffix:"expr-event",excludeLanguages:["ko"]}]},ee={action:"trigger",description:"Trigger/dispatch an event",category:"event",primaryRole:"event",ast:{args:["event"],modifiers:{on:"destination"}},argSkipTokens:["on"],roles:[{role:"event",description:"The event to trigger (supports namespaced events like draggable:start)",required:!0,expectedTypes:["literal","expression"],svoPosition:1,sovPosition:2,markerVariants:{hi:["\u0915\u094b"],qu:["ta"],bn:["\u0995\u09c7"]},markerOverride:{bn:"\u0995\u09c7",hi:"\u0915\u094b"}},{role:"destination",description:"The target element (defaults to me)",required:!1,expectedTypes:["selector","reference"],default:{type:"reference",value:"me"},svoPosition:2,sovPosition:1}]},te={action:"wait",description:"Wait for a duration or event",category:"async",primaryRole:"duration",roles:[{role:"duration",description:"Duration or event to wait for",required:!0,expectedTypes:["literal","expression"],svoPosition:1,sovPosition:1}]},re={action:"fetch",description:"Fetch data from a URL",category:"async",primaryRole:"source",ast:{args:["source"],modifiers:{with:["style","method"],as:"responseType",body:"patient"},isBlocking:!0},roles:[{role:"source",description:"The URL to fetch from",required:!0,expectedTypes:["literal","expression"],svoPosition:1,sovPosition:1,renderOverride:{en:""}},{role:"style",description:"Request options object (method, headers, body, credentials\u2026)",required:!1,expectedTypes:["expression"],valueShape:"object",svoPosition:2,sovPosition:2},{role:"responseType",description:"Response format (json, text, html, blob, etc.)",required:!1,expectedTypes:["literal","expression"],svoPosition:3,sovPosition:3,markerOverride:{en:"as",ja:"\u3068\u3057\u3066"}},{role:"method",description:"HTTP method (GET, POST, etc.)",required:!1,expectedTypes:["literal"],svoPosition:4,sovPosition:4},{role:"destination",description:"Where to store the result",required:!1,expectedTypes:["selector","reference"],svoPosition:5,sovPosition:5}]},ie={action:"increment",description:"Increment a numeric value",category:"variable",primaryRole:"patient",ast:{args:[["destination","patient"]],modifiers:{by:"quantity"}},roles:[{role:"patient",description:"The value to increment",required:!0,expectedTypes:["selector","reference","expression"],svoPosition:1,sovPosition:1},{role:"quantity",description:"Amount to increment by (defaults to 1)",required:!1,expectedTypes:["literal"],default:{type:"literal",value:1,dataType:"number"},svoPosition:2,sovPosition:2,markerOverride:{en:"by",es:"por",pt:"por",fr:"par",de:"um"}}]},ae={action:"decrement",description:"Decrement a numeric value",category:"variable",primaryRole:"patient",ast:{args:[["destination","patient"]],modifiers:{by:"quantity"}},roles:[{role:"patient",description:"The value to decrement",required:!0,expectedTypes:["selector","reference","expression"],svoPosition:1,sovPosition:1},{role:"quantity",description:"Amount to decrement by (defaults to 1)",required:!1,expectedTypes:["literal"],default:{type:"literal",value:1,dataType:"number"},svoPosition:2,sovPosition:2,markerOverride:{en:"by",es:"por",pt:"por",fr:"par",de:"um"}}]},ne={action:"append",description:"Append content to an element",category:"dom-content",primaryRole:"patient",ast:{args:["patient"],modifiers:{to:"destination"}},omitRoleVariants:["destination"],roles:[{role:"patient",description:"The content to append",required:!0,expectedTypes:["literal","selector","reference","expression"],svoPosition:1,sovPosition:2},{role:"destination",description:"The element to append to",required:!0,expectedTypes:["selector","reference","expression"],svoPosition:2,sovPosition:1,markerOverride:{en:"to"}}]},oe={action:"prepend",description:"Prepend content to an element",category:"dom-content",primaryRole:"patient",ast:{args:["patient"],modifiers:{to:"destination"}},omitRoleVariants:["destination"],roles:[{role:"patient",description:"The content to prepend",required:!0,expectedTypes:["literal","selector","reference","expression"],svoPosition:1,sovPosition:2},{role:"destination",description:"The element to prepend to",required:!0,expectedTypes:["selector","reference","expression"],svoPosition:2,sovPosition:1,markerOverride:{en:"to"}}]},se={action:"log",description:"Log a value to the console",category:"variable",primaryRole:"patient",ast:{args:["patient"]},roles:[{role:"patient",description:"The value to log",required:!0,expectedTypes:["literal","selector","reference","expression"],svoPosition:1,sovPosition:1}]},le={action:"get",description:"Get a value from a source",category:"variable",primaryRole:"source",ast:{args:[["source","patient"]]},roles:[{role:"source",description:"The source to get from",required:!0,expectedTypes:["selector","reference","expression"],svoPosition:1,sovPosition:2,markerOverride:{en:"",es:"",pt:"",fr:"",de:"",ja:"\u3092",zh:"",ko:"\ub97c",ar:"\u0639\u0644\u0649",tr:"i",id:"",he:"\u05d0\u05ea",sw:"",tl:"",bn:"\u0995\u09c7",qu:"ta"}},{role:"destination",description:"Where to store the result (optional)",required:!1,expectedTypes:["reference"],svoPosition:2,sovPosition:1}]},pe={action:"take",description:"Take content from a source element",category:"dom-content",primaryRole:"patient",ast:{args:["patient"],modifiers:{from:"source",for:"recipient"}},argSkipTokens:["from"],roles:[{role:"patient",description:"The class or element to take",required:!0,expectedTypes:["selector"],svoPosition:1,sovPosition:2},{role:"source",description:"The element to take from (defaults to all current holders)",required:!1,expectedTypes:["selector","reference"],svoPosition:2,sovPosition:1},{role:"recipient",description:"The element the class moves ONTO (`take .active from .tab for me`)",required:!1,expectedTypes:["reference"],svoPosition:3,sovPosition:3,valueShape:"reference",markerOverride:{en:"for"}}]},me={action:"make",description:"Create a new element",category:"dom-content",primaryRole:"patient",ast:{args:["patient"]},roles:[{role:"patient",description:"The element type or selector to create",required:!0,expectedTypes:["literal","selector"],svoPosition:1,sovPosition:1}]},ce={action:"halt",description:"Halt/stop execution or event propagation",category:"control-flow",primaryRole:"patient",ast:{args:[],modifiers:{the:"patient"}},argSkipTokens:["the"],roles:[{role:"patient",description:"What to halt (event, default, bubbling, etc.)",required:!1,expectedTypes:["literal","reference","expression"],svoPosition:1,sovPosition:1}]},de={action:"settle",description:"Wait for animations/transitions to settle",category:"async",primaryRole:"patient",ast:{args:[["destination","patient"]],isBlocking:!0},roles:[{role:"patient",description:"The element to settle (defaults to me)",required:!1,expectedTypes:["selector","reference"],default:{type:"reference",value:"me"},svoPosition:1,sovPosition:1}]},ue={action:"throw",description:"Throw an error",category:"control-flow",primaryRole:"patient",ast:{args:["patient"]},roles:[{role:"patient",description:"The error message or object to throw",required:!0,expectedTypes:["literal","expression"],svoPosition:1,sovPosition:1}]},ye={action:"send",description:"Send an event to an element",category:"event",primaryRole:"event",ast:{args:["event"],modifiers:{to:"destination",detail:"patient"}},roles:[{role:"event",description:"The event to send",required:!0,expectedTypes:["literal","expression"],svoPosition:1,sovPosition:2},{role:"destination",description:"The target element (defaults to me)",required:!1,expectedTypes:["selector","reference","expression"],default:{type:"reference",value:"me"},svoPosition:2,sovPosition:1,markerOverride:{en:"to",ja:"\u306b",ar:"\u0625\u0644\u0649",es:"a",ko:"\uc5d0\uac8c",zh:"\u5230",tr:"e",pt:"para",fr:"\u00e0",de:"an",id:"ke",qu:"man",sw:"kwa"}}]},ve={action:"if",description:"Conditional execution",category:"control-flow",primaryRole:"condition",ast:{args:["condition"]},hasBody:!0,roles:[{role:"condition",description:"The condition to evaluate",required:!0,expectedTypes:["expression","reference","selector"],svoPosition:1,sovPosition:1}]},fe={action:"unless",description:"Negated conditional execution (executes when condition is false)",category:"control-flow",primaryRole:"condition",ast:{args:["condition"]},hasBody:!0,roles:[{role:"condition",description:"The condition to evaluate (body executes when false)",required:!0,expectedTypes:["expression","reference","selector"],svoPosition:1,sovPosition:1}]},he={action:"else",description:"Else branch of conditional",category:"control-flow",primaryRole:"patient",hasBody:!0,roles:[]},ge={action:"repeat",description:"Repeat a block of commands",category:"control-flow",primaryRole:"loopType",ast:{args:[["quantity","patient"]]},hasBody:!0,roles:[{role:"loopType",description:"Loop variant: forever, times, for, while, until, until-event",required:!0,expectedTypes:["literal"],svoPosition:0,sovPosition:0},{role:"quantity",description:"Number of times to repeat",required:!1,expectedTypes:["literal","expression"],svoPosition:1,sovPosition:1},{role:"event",description:"Event to wait for (terminates loop)",required:!1,expectedTypes:["literal","expression"],svoPosition:2,sovPosition:2},{role:"source",description:"Element to listen for event on",required:!1,expectedTypes:["selector","reference"],svoPosition:3,sovPosition:3}],notes:'Can also use "repeat forever", "repeat until condition", or "repeat until event X from Y"'},ke={action:"for",description:"Iterate over a collection",category:"control-flow",primaryRole:"patient",ast:{args:["patient"],modifiers:{in:"source"}},hasBody:!0,roles:[{role:"patient",description:"The iteration variable",required:!0,expectedTypes:["reference","expression"],svoPosition:1,sovPosition:2},{role:"source",description:"The collection to iterate over",required:!0,expectedTypes:["selector","reference","expression"],svoPosition:2,sovPosition:1,markerOverride:{en:"in",es:"en",fr:"en",de:"in",it:"in",pt:"dentro",id:"dalam",ms:"dalam",pl:"w",ru:"\u0432",uk:"\u0443",sw:"ndani",th:"\u0e43\u0e19",vi:"trong",ar:"\u0641\u064a",tl:"sa_loob",he:"in",zh:"\u5728"}}]},ze={action:"while",description:"Loop while condition is true",category:"control-flow",primaryRole:"condition",ast:{args:["condition"]},hasBody:!0,roles:[{role:"condition",description:"The condition to check",required:!0,expectedTypes:["expression"],svoPosition:1,sovPosition:1}]},we={action:"continue",description:"Continue to next loop iteration",category:"control-flow",primaryRole:"patient",ast:{},roles:[]},xe={action:"go",description:"Navigate to a URL",category:"navigation",primaryRole:"destination",roles:[{role:"destination",description:"The URL to navigate to",required:!0,expectedTypes:["literal","expression"],svoPosition:1,sovPosition:1,markerOverride:{en:"to",es:"a",ar:"\u0625\u0644\u0649",fr:"\u00e0",de:"zu",pt:"para",he:"\u05d0\u05dc",hi:"\u092a\u0930",id:"ke",it:"a",ru:"\u043d\u0430",sw:"kwa",uk:"\u043d\u0430"},renderOverride:{en:"",zh:"",vi:"",th:""},markerOptional:{en:!0,zh:!0,vi:!0,th:!0},markerVariants:{zh:["\u628a"]},markerLegacy:{es:["en","sobre","hacia"],ar:["\u0639\u0644\u0649","\u0641\u064a","\u0628"],fr:["sur","dans"],de:["auf","in"],pt:["em","a"],he:["\u05e2\u05dc","\u05d1","\u05dc","\u05d0\u05ea"],hi:["\u092e\u0947\u0902"],id:["pada","di"],it:["in","su"],ru:["\u0432","\u043a"],sw:["kwenye"],uk:["\u0432","\u0434\u043e"]}}],rolePrefixLiteralVariants:[{role:"destination",literal:be={en:"url",es:"url",pt:"url",fr:"url",de:"url",it:"url",ja:"url",ko:"url",zh:"url",ar:"url",he:"url",hi:"url",bn:"url",tr:"url",ru:"url",uk:"url",pl:"url",id:"url",vi:"url",th:"url",ms:"url",tl:"url",sw:"url",qu:"url"},idSuffix:"url",priorityDelta:5,methodCarrier:"method"}]},Te={action:"transition",description:"Transition an element with animation",category:"dom-visibility",primaryRole:"patient",ast:{args:["patient"],modifiers:{to:"goal",over:"duration",on:"destination"}},omitRoleVariants:["goal"],roles:[{role:"patient",description:"The property to transition (opacity, *background-color, etc.)",required:!0,expectedTypes:["literal","expression","selector"],svoPosition:1,sovPosition:2,markerOverride:{en:"",ar:"",tl:"",sw:""}},{role:"goal",description:"The target value to transition to",required:!0,expectedTypes:["literal","expression"],svoPosition:2,sovPosition:3,markerOverride:{en:"to",ar:"\u0625\u0644\u0649",tl:"sa",sw:"kwa",bn:"\u09a4\u09c7",qu:"man",es:"a",pt:"para",fr:"\u00e0",de:"zu",he:"\u05e2\u05dc",it:"in",ja:"\u306b",ko:"\uc5d0",ms:"ke",pl:"do",ru:"\u0432",th:"\u0e43\u0e19",tr:"e",uk:"\u0432",vi:"v\u00e0o",zh:"\u5230",id:"ke"}},{role:"destination",description:"The target element (defaults to me)",required:!1,expectedTypes:["selector","reference"],default:{type:"reference",value:"me"},svoPosition:3,sovPosition:1},{role:"duration",description:"Transition duration (over 500ms, for 2 seconds)",required:!1,expectedTypes:["literal"],svoPosition:4,sovPosition:4,markerOverride:{en:"over"}},{role:"style",description:"Easing function (ease-in, linear, etc.)",required:!1,expectedTypes:["literal"],svoPosition:5,sovPosition:5}]},Se={action:"clone",description:"Clone an element",category:"dom-content",primaryRole:"patient",ast:{args:[["source","patient"]],modifiers:{into:"destination"}},roles:[{role:"patient",description:"The element to clone",required:!0,expectedTypes:["selector","reference"],svoPosition:1,sovPosition:2},{role:"destination",description:"Where to put the clone",required:!1,expectedTypes:["selector","reference"],svoPosition:2,sovPosition:1,markerOverride:{en:"into"}}]},je={action:"focus",description:"Focus an element",category:"dom-content",primaryRole:"patient",ast:{args:[["destination","patient"]]},roles:[{role:"patient",description:"The element to focus (defaults to me)",required:!1,expectedTypes:["selector","reference"],default:{type:"reference",value:"me"},svoPosition:1,sovPosition:1}]},Ee={action:"blur",description:"Remove focus from an element",category:"dom-content",primaryRole:"patient",ast:{args:[["destination","patient"]]},roles:[{role:"patient",description:"The element to blur (defaults to me)",required:!1,expectedTypes:["selector","reference"],default:{type:"reference",value:"me"},svoPosition:1,sovPosition:1}]},Le={action:"empty",description:"Remove all children from an element (sets innerHTML to empty)",category:"dom-content",primaryRole:"patient",roles:[{role:"patient",description:"The element to empty (defaults to me)",required:!1,expectedTypes:["selector","reference"],default:{type:"reference",value:"me"},svoPosition:1,sovPosition:1}]},Ce={action:"open",description:"Open a dialog, details element, or popover",category:"dom-content",primaryRole:"patient",ast:{args:["patient"],modifiers:{as:"style"}},roles:[{role:"patient",description:"The element to open (defaults to me)",required:!1,expectedTypes:["selector","reference"],default:{type:"reference",value:"me"},svoPosition:1,sovPosition:2},{role:"style",description:"Open-mode variant (modal / non-modal) for <dialog>",required:!1,expectedTypes:["literal","expression"],svoPosition:2,sovPosition:1,markerOverride:{en:"as",ja:"\u3068\u3057\u3066"}}]},_e={action:"close",description:"Close a dialog, details element, or popover",category:"dom-content",primaryRole:"patient",roles:[{role:"patient",description:"The element to close (defaults to me)",required:!1,expectedTypes:["selector","reference"],default:{type:"reference",value:"me"},svoPosition:1,sovPosition:1}]},Pe={action:"select",description:"Select the contents of a text field or DOM element",category:"dom-content",primaryRole:"patient",roles:[{role:"patient",description:"The element whose contents to select (defaults to me)",required:!1,expectedTypes:["selector","reference"],default:{type:"reference",value:"me"},svoPosition:1,sovPosition:1}]},We={action:"clear",description:"Clear a variable, local, or input element",category:"variable",primaryRole:"patient",roles:[{role:"patient",description:"The variable or element to clear (defaults to me)",required:!1,expectedTypes:["selector","reference","expression"],default:{type:"reference",value:"me"},svoPosition:1,sovPosition:1}]},Ae={action:"reset",description:"Reset a <form> element to its default values",category:"dom-content",primaryRole:"patient",roles:[{role:"patient",description:"The form element to reset (defaults to me)",required:!1,expectedTypes:["selector","reference"],default:{type:"reference",value:"me"},svoPosition:1,sovPosition:1}]},qe={action:"breakpoint",description:"Drop into the debugger",category:"control-flow",primaryRole:"patient",roles:[],bareKeyword:!0},Oe={action:"call",description:"Call a function",category:"control-flow",primaryRole:"patient",ast:{args:["patient"]},roles:[{role:"patient",description:"The function to call",required:!0,expectedTypes:["expression","reference"],markerOptional:{he:!0,zh:!0},svoPosition:1,sovPosition:1}]},Re={action:"return",description:"Return a value from a function",category:"control-flow",primaryRole:"patient",ast:{args:["patient"]},roles:[{role:"patient",description:"The value to return",required:!1,expectedTypes:["literal","expression","reference"],svoPosition:1,sovPosition:1}]},Me={action:"js",description:"Execute raw JavaScript code",category:"control-flow",primaryRole:"patient",ast:{args:["patient"]},hasBody:!0,roles:[{role:"patient",description:"The JavaScript code to execute",required:!1,expectedTypes:["expression"],svoPosition:1,sovPosition:1}]},Ne={action:"tell",description:"Execute commands in context of another element",category:"control-flow",primaryRole:"destination",ast:{args:[["destination","patient"]]},hasBody:!0,roles:[{role:"destination",description:"The element to tell",required:!0,expectedTypes:["selector","reference"],svoPosition:1,sovPosition:1,markerOverride:{en:"",he:"\u05d0\u05ea",zh:"\u628a"}}]},Ie={action:"default",description:"Set a default value for a variable",category:"variable",primaryRole:"destination",ast:{args:["destination"],modifiers:{to:"patient"}},roles:[{role:"destination",description:"The variable to set default for",required:!0,expectedTypes:["selector","reference","expression","property-path"],svoPosition:1,sovPosition:1,markerOverride:{en:"",ar:"",tl:"",sw:"",bn:"\u0995\u09c7",qu:"ta",ja:"\u3092",ko:"\ub97c",tr:"i",hi:"\u0915\u094b",de:"",es:"",fr:"",it:"",pt:"",pl:"",ru:"",uk:"",vi:"",id:"",ms:"",th:"",zh:"\u628a",he:"\u05d0\u05ea"}},{role:"patient",description:"The default value",required:!0,expectedTypes:["literal","expression"],svoPosition:2,sovPosition:2,markerOverride:{en:"to",ar:"\u0625\u0644\u0649",tl:"sa",sw:"kwa",bn:"\u09a4\u09c7",qu:"man",ja:"\u306b",ko:"\uc5d0",tr:"e",hi:"\u092e\u0947\u0902",de:"zu",es:"a",fr:"\u00e0",it:"in",pt:"para",pl:"do",ru:"\u0432",uk:"\u0432",vi:"v\u00e0o",id:"ke",ms:"ke",th:"\u0e43\u0e19",zh:"\u5230",he:"\u05e2\u05dc"}}]},$e={action:"init",description:"Initialization block that runs once",category:"control-flow",primaryRole:"patient",ast:{},hasBody:!0,roles:[]},Ke={action:"behavior",description:"Define a reusable behavior",category:"control-flow",primaryRole:"patient",ast:{args:["patient"]},hasBody:!0,roles:[{role:"patient",description:"The behavior name (PascalCase identifier)",required:!0,expectedTypes:["literal","reference","expression"],svoPosition:1,sovPosition:1}]},Ve={action:"install",description:"Install a behavior on an element",category:"control-flow",primaryRole:"patient",ast:{args:["patient"],modifiers:{on:"destination"}},roles:[{role:"patient",description:"The behavior name to install",required:!0,expectedTypes:["literal","reference","expression"],svoPosition:1,sovPosition:2},{role:"destination",description:"Element to install on (defaults to me)",required:!1,expectedTypes:["selector","reference"],default:{type:"reference",value:"me"},svoPosition:2,sovPosition:1}]},De={action:"measure",description:"Measure element dimensions (x, y, width, height, etc.)",category:"dom-content",primaryRole:"patient",ast:{args:["patient"],modifiers:{of:["destination","source"]}},roles:[{role:"patient",description:"Property to measure (x, y, width, height, top, left, etc.)",required:!1,expectedTypes:["literal","expression"],svoPosition:1,sovPosition:1},{role:"source",description:"Element to measure (defaults to me)",required:!1,expectedTypes:["selector","reference"],default:{type:"reference",value:"me"},svoPosition:2,sovPosition:2,markerOverride:{en:"of"}}]},Be={role:"manner",description:"Run the swap inside a `document.startViewTransition()` (`using view transition`)",required:!1,expectedTypes:["literal","expression"],valueShape:"keyword",markerOverride:{en:"using view",es:"using view",pt:"using view",fr:"using view",de:"using view",it:"using view",ja:"using view",ko:"using view",zh:"using view",ar:"using view",he:"using view",hi:"using view",bn:"using view",tr:"using view",ru:"using view",uk:"using view",pl:"using view",id:"using view",vi:"using view",th:"using view",ms:"using view",tl:"using view",sw:"using view",qu:"using view"}},Fe={action:"swap",description:"Swap DOM content using various strategies (innerHTML, outerHTML, delete, etc.)",category:"dom-content",primaryRole:"destination",ast:{args:["method","destination","patient"],modifiers:{viewTransition:"manner"}},roles:[{role:"method",description:"The swap strategy (innerHTML, outerHTML, beforebegin, afterend, delete)",required:!1,expectedTypes:["literal"],svoPosition:1,sovPosition:3,markerOverride:{en:""}},{role:"destination",description:"The element to swap content in/for",required:!0,expectedTypes:["selector","reference"],svoPosition:2,sovPosition:1,markerOverride:{en:"of",es:"",fr:"",pt:"",it:"",de:"",pl:"",ru:"",uk:"",id:"",ms:"",sw:"",th:"",vi:"",he:"\u05d0\u05ea",zh:"\u628a",tl:""}},{role:"patient",description:"The content to swap in (optional for delete)",required:!1,expectedTypes:["literal","expression","selector"],svoPosition:3,sovPosition:2,markerOverride:{en:"with",es:"con",fr:"avec",pt:"com",it:"con",de:"mit",pl:"z",ru:"\u0441",uk:"\u0437",id:"dengan",ms:"dengan",sw:"na",th:"\u0e14\u0e49\u0e27\u0e22",vi:"v\u1edbi",he:"\u05e2\u05dd",zh:"\u7528",hi:"\u0938\u0947",bn:"\u09a6\u09bf\u09af\u09bc\u09c7",tr:"ile",qu:"wan",ar:"\u0628\u0640",tl:"nang"}},{...Be,svoPosition:4,sovPosition:4}]},He={action:"morph",description:"Morph an element into another using DOM diffing",category:"dom-content",primaryRole:"patient",ast:{args:[["source","destination"]],modifiers:{on:"patient",viewTransition:"manner"}},roles:[{role:"patient",description:"The element to morph",required:!0,expectedTypes:["selector","reference"],svoPosition:1,sovPosition:1,markerOverride:{en:""}},{role:"destination",description:"The target content/element to morph into",required:!0,expectedTypes:["literal","expression","selector","reference"],svoPosition:2,sovPosition:2,markerOverride:{en:"to"}},{...Be,svoPosition:3,sovPosition:3}]},Ue={action:"beep",description:"Debug output for expressions with type information",category:"variable",primaryRole:"patient",roles:[{role:"patient",description:"The expression(s) to debug",required:!1,expectedTypes:["literal","selector","reference","expression"],svoPosition:1,sovPosition:1}]},Ge={action:"break",description:"Exit from the current loop",category:"control-flow",primaryRole:"patient",roles:[]},Ze={action:"copy",description:"Copy text or element content to the clipboard",category:"dom-content",primaryRole:"patient",roles:[{role:"patient",description:"The text or element to copy",required:!0,expectedTypes:["literal","selector","reference","expression"],svoPosition:1,sovPosition:1}]},Ye={action:"exit",description:"Exit from the current event handler",category:"control-flow",primaryRole:"patient",roles:[],bareKeyword:!0},Xe={action:"pick",description:"Select item(s), character(s), a range, first/last/random N, or regex matches from a root",category:"variable",primaryRole:"patient",roles:[{role:"patient",description:"The range/count/index/regex argument to pick",required:!0,expectedTypes:["literal","expression","reference"],svoPosition:1,sovPosition:1},{role:"source",description:'The root to pick from (with "of"/"from" keyword)',required:!1,expectedTypes:["reference","expression"],svoPosition:2,sovPosition:2}]},Qe={action:"scroll",description:"Scroll the viewport to a target element",category:"navigation",primaryRole:"destination",ast:{args:["destination"]},argSkipTokens:["of","the","top","bottom","middle","center","nearest","left","right","smoothly","instantly"],roles:[{role:"destination",description:"The element to scroll to",required:!0,expectedTypes:["selector","reference","expression"],svoPosition:1,sovPosition:1,markerOverride:{en:"to"}}]},Je={action:"push",description:"Push a URL onto the browser history",category:"navigation",primaryRole:"patient",roles:[{role:"patient",description:"The URL to push (after the `url` keyword)",required:!0,expectedTypes:["literal","expression"],svoPosition:1,sovPosition:1,markerOverride:be}]},et={action:"replace",description:"Replace the current browser history entry with a URL",category:"navigation",primaryRole:"patient",roles:[{role:"patient",description:"The URL to replace with (after the `url` keyword)",required:!0,expectedTypes:["literal","expression"],svoPosition:1,sovPosition:1,markerOverride:be}]},tt={action:"process",description:"Process hx-partial markup in HTML content",category:"dom-content",primaryRole:"patient",ast:{args:["patient"],modifiers:{viewTransition:"manner"}},roles:[{role:"patient",description:"The HTML content (string, element, or response) to process",required:!0,expectedTypes:["literal","reference","expression"],svoPosition:1,sovPosition:1,markerOverride:{en:"partials in",es:"partials in",pt:"partials in",fr:"partials in",de:"partials in",it:"partials in",ja:"partials in",ko:"partials in",zh:"partials in",ar:"partials in",he:"partials in",hi:"partials in",bn:"partials in",tr:"partials in",ru:"partials in",uk:"partials in",pl:"partials in",id:"partials in",vi:"partials in",th:"partials in",ms:"partials in",tl:"partials in",sw:"partials in",qu:"partials in"}},{...Be,svoPosition:2,sovPosition:2}]},rt={toggle:I,add:$,remove:K,put:V,set:D,show:X,hide:Q,on:J,trigger:ee,wait:te,fetch:re,increment:ie,decrement:ae,append:ne,prepend:oe,log:se,get:le,take:pe,make:me,halt:ce,settle:de,throw:ue,send:ye,if:ve,unless:fe,else:he,repeat:ge,for:ke,while:ze,continue:we,go:xe,scroll:Qe,push:Je,replace:et,process:tt,transition:Te,clone:Se,focus:je,blur:Ee,empty:Le,open:Ce,close:_e,select:Pe,clear:We,reset:Ae,breakpoint:qe,call:Oe,return:Re,js:Me,tell:Ne,default:Ie,init:$e,behavior:Ke,install:Ve,measure:De,swap:Fe,morph:He,beep:Ue,break:Ge,copy:Ze,exit:Ye,pick:Xe,render:{action:"render",description:"Render a template with optional variables",category:"dom-content",primaryRole:"patient",roles:[{role:"patient",description:"The template to render",required:!0,expectedTypes:["selector","reference","expression"],svoPosition:1,sovPosition:2},{role:"style",description:"Variables to pass to the template (with keyword)",required:!1,expectedTypes:["expression"],valueShape:"object",svoPosition:2,sovPosition:1}]},bind:B,live:F,when:H,eventsource:U,socket:G,worker:Z,intercept:Y,compound:{action:"compound",description:"A compound node representing chained statements",primaryRole:"patient",category:"control-flow",hasBody:!0,roles:[]}},"undefined"!=typeof process&&"1"===process.env.LOKASCRIPT_SCHEMA_VALIDATION&&Promise.resolve().then(()=>(it(),_)).then(({validateAllSchemas:e,formatValidationResults:t})=>{const r=e(rt);r.size>0&&(console.warn("[SCHEMA VALIDATION] Found issues in command schemas:"),console.warn(t(r)),console.warn("\nThese warnings help identify potential schema design issues."),console.warn("Fix them to improve type inference and avoid runtime bugs."))}).catch(e=>{})}});function gt(e,t){const r={...e};for(const i of Object.keys(t)){const a=t[i],n=e[i];void 0!==a&&(r[i]="object"!=typeof a||null===a||Array.isArray(a)||"object"!=typeof n||null===n||Array.isArray(n)?a:gt(n,a))}return r}function kt(e,t){return gt(e,t)}function zt(e){if(!e.extends)return e;const t=ut.get(e.extends);if(!t)return console.warn(`[Registry] Profile '${e.code}' extends '${e.extends}' but base is not registered. Make sure to import the base language before the variant.`),e;return kt(zt(t),e)}function wt(e,t,r){dt.set(e,t),ut.set(e,r),yt.delete(e)}function bt(e,t){ft.set(e,t),yt.delete(e)}function xt(e){return e.split("-")[0]}function Tt(e){return e.includes("-")}function St(e){let t=ut.get(e);return!t&&Tt(e)&&(t=ut.get(xt(e))),t?zt(t):void 0}function jt(){return Array.from(dt.keys())}function Et(e){if(dt.has(e)&&ut.has(e))return!0;if(Tt(e)){const t=xt(e);return dt.has(t)&&ut.has(t)}return!1}function Lt(e,t){return function(e){let t=dt.get(e);if(!t&&Tt(e)){const r=xt(e);t=dt.get(r)}if(!t){const t=Array.from(dt.keys()).join(", ");throw Error(`Language '${e}' is not registered. Registered languages: ${t||"none"}. Import the language module first: import '@lokascript/semantic/languages/${e}';`)}return t}(t).tokenize(e)}function Ct(e){let t=yt.get(e);if(!t&&Tt(e)&&(t=yt.get(xt(e))),t)return t;let r=ft.get(e);if(!r&&Tt(e)&&(r=ft.get(xt(e))),r)return yt.set(e,r),r;if(!vt)throw Error(`No patterns registered for language '${e}'. Either import the language module or set a pattern generator.`);const i=function(e){let t=ut.get(e);if(!t&&Tt(e)){const r=xt(e);t=ut.get(r)}if(!t){const t=Array.from(ut.keys()).join(", ");throw Error(`Language profile '${e}' is not registered. Registered languages: ${t||"none"}. Import the language module first: import '@lokascript/semantic/languages/${e}';`)}return zt(t)}(e),a=vt(i);return yt.set(e,a),a}var _t,Pt=b({"src/registry.ts"(){dt=new Map,ut=new Map,yt=new Map,vt=null,ft=new Map}}),Wt={};x(Wt,{arabicProfile:()=>_t});var At,qt=b({"src/generators/profiles/arabic.ts"(){_t={code:"ar",name:"Arabic",nativeName:"\u0627\u0644\u0639\u0631\u0628\u064a\u0629",regions:["priority"],direction:"rtl",script:"arabic",wordOrder:"VSO",markingStrategy:"preposition",usesSpaces:!0,verb:{position:"start",subjectDrop:!0},references:{me:"\u0623\u0646\u0627",it:"\u0647\u0648",you:"\u0623\u0646\u062a",result:"\u0627\u0644\u0646\u062a\u064a\u062c\u0629",event:"\u0627\u0644\u062d\u062f\u062b",target:"\u0627\u0644\u0647\u062f\u0641",body:"\u062c\u0633\u0645",document:"\u0648\u062b\u064a\u0642\u0629",window:"\u0646\u0627\u0641\u0630\u0629",detail:"\u062a\u0641\u0627\u0635\u064a\u0644"},possessive:{marker:"",markerPosition:"after-object",usePossessiveAdjectives:!0,specialForms:{me:"\u0644\u064a",it:"\u0644\u0647",you:"\u0644\u0643"},keywords:{"\u0644\u064a":"me","\u0644\u0643":"you","\u0644\u0647":"it","\u0644\u0647\u0627":"it"}},roleMarkers:{destination:{primary:"\u0639\u0644\u0649",alternatives:["\u0641\u064a","\u0625\u0644\u0649","\u0628","\u0642\u0628\u0644","\u0628\u0639\u062f"],position:"before"},source:{primary:"\u0645\u0646",position:"before"},patient:{primary:"",position:"before"},style:{primary:"\u0628\u0640",alternatives:["\u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645"],position:"before"}},keywords:{toggle:{primary:"\u0628\u062f\u0651\u0644",alternatives:["\u0628\u062f\u0644","\u063a\u064a\u0651\u0631","\u063a\u064a\u0631"],normalized:"toggle"},add:{primary:"\u0623\u0636\u0641",alternatives:["\u0627\u0636\u0641"],normalized:"add"},remove:{primary:"\u0627\u062d\u0630\u0641",alternatives:["\u0623\u0632\u0644","\u0627\u0645\u0633\u062d"],normalized:"remove"},put:{primary:"\u0636\u0639",alternatives:["\u0627\u062c\u0639\u0644"],normalized:"put"},append:{primary:"\u0623\u0644\u062d\u0642",normalized:"append"},prepend:{primary:"\u0633\u0628\u0642",normalized:"prepend"},take:{primary:"\u062e\u0630",normalized:"take"},make:{primary:"\u0627\u0635\u0646\u0639",alternatives:["\u0623\u0646\u0634\u0626"],normalized:"make"},clone:{primary:"\u0627\u0633\u062a\u0646\u0633\u062e",normalized:"clone"},swap:{primary:"\u0627\u0633\u062a\u0628\u062f\u0644",alternatives:["\u062a\u0628\u0627\u062f\u0644"],normalized:"swap"},morph:{primary:"\u062d\u0648\u0651\u0644",normalized:"morph"},set:{primary:"\u0627\u0636\u0628\u0637",alternatives:["\u0639\u064a\u0651\u0646","\u062d\u062f\u062f"],normalized:"set"},get:{primary:"\u0627\u062d\u0635\u0644",normalized:"get"},increment:{primary:"\u0632\u0650\u062f",alternatives:["\u0632\u062f","\u0627\u0631\u0641\u0639"],normalized:"increment"},decrement:{primary:"\u0623\u0646\u0642\u0635",alternatives:["\u0627\u0646\u0642\u0635","\u0642\u0644\u0644"],normalized:"decrement"},log:{primary:"\u0633\u062c\u0644",normalized:"log"},show:{primary:"\u0627\u0638\u0647\u0631",alternatives:["\u0623\u0638\u0647\u0631","\u0627\u0639\u0631\u0636"],normalized:"show"},hide:{primary:"\u0627\u062e\u0641",alternatives:["\u0623\u062e\u0641\u0650","\u0627\u062e\u0641\u064a","\u0623\u062e\u0641"],normalized:"hide"},transition:{primary:"\u0627\u0646\u062a\u0642\u0627\u0644",alternatives:["\u0627\u0646\u062a\u0642\u0644"],normalized:"transition"},on:{primary:"\u0639\u0644\u0649",alternatives:["\u0639\u0646\u062f","\u0644\u062f\u0649","\u062d\u064a\u0646"],normalized:"on"},trigger:{primary:"\u062a\u0634\u063a\u064a\u0644",alternatives:["\u0623\u0637\u0644\u0642","\u0641\u0639\u0651\u0644"],normalized:"trigger"},send:{primary:"\u0623\u0631\u0633\u0644",normalized:"send"},focus:{primary:"\u062a\u0631\u0643\u064a\u0632",alternatives:["\u0631\u0643\u0632"],normalized:"focus"},blur:{primary:"\u0636\u0628\u0627\u0628\u064a\u0629",alternatives:["\u0634\u0648\u0634"],normalized:"blur"},empty:{primary:"\u0625\u0641\u0631\u0627\u063a",alternatives:["\u0641\u0627\u0631\u063a"],normalized:"empty"},open:{primary:"\u0627\u0641\u062a\u062d",normalized:"open"},close:{primary:"\u0623\u063a\u0644\u0642",normalized:"close"},select:{primary:"\u0638\u0644\u0644",normalized:"select"},clear:{primary:"\u0646\u0638\u0651\u0641",normalized:"clear"},reset:{primary:"\u0625\u0639\u0627\u062f\u0629-\u0636\u0628\u0637",alternatives:["\u0623\u0639\u062f-\u062a\u0639\u064a\u064a\u0646"],normalized:"reset"},breakpoint:{primary:"\u0646\u0642\u0637\u0629-\u062a\u0648\u0642\u0641",normalized:"breakpoint"},go:{primary:"\u0627\u0630\u0647\u0628",normalized:"go"},scroll:{primary:"\u0645\u0631\u0631",alternatives:["\u062a\u0645\u0631\u064a\u0631"],normalized:"scroll"},push:{primary:"\u0627\u062f\u0641\u0639",alternatives:["\u062f\u0641\u0639"],normalized:"push"},replace:{primary:"\u0627\u0633\u062a\u0628\u062f\u0644_\u0639\u0646\u0648\u0627\u0646",alternatives:["\u0623\u0639\u062f_\u062a\u0639\u064a\u064a\u0646_\u0639\u0646\u0648\u0627\u0646"],normalized:"replace"},process:{primary:"\u0639\u0627\u0644\u062c",alternatives:["\u0645\u0639\u0627\u0644\u062c\u0629"],normalized:"process"},wait:{primary:"\u0627\u0646\u062a\u0638\u0631",normalized:"wait"},fetch:{primary:"\u0627\u062d\u0636\u0631",alternatives:["\u062c\u0644\u0628"],normalized:"fetch"},settle:{primary:"\u0627\u0633\u062a\u0642\u0631",normalized:"settle"},if:{primary:"\u0625\u0630\u0627",normalized:"if"},unless:{primary:"\u0625\u0644\u0627",normalized:"unless"},when:{primary:"\u0639\u0646\u062f\u0645\u0627",normalized:"when"},changes:{primary:"\u064a\u062a\u063a\u064a\u0631",normalized:"changes"},where:{primary:"\u0623\u064a\u0646",normalized:"where"},else:{primary:"\u0648\u0625\u0644\u0627",alternatives:["\u062e\u0644\u0627\u0641 \u0630\u0644\u0643"],normalized:"else"},repeat:{primary:"\u0643\u0631\u0631",normalized:"repeat"},for:{primary:"\u0644\u0643\u0644",normalized:"for"},while:{primary:"\u0628\u064a\u0646\u0645\u0627",normalized:"while"},forever:{primary:"forever",normalized:"forever"},continue:{primary:"\u0648\u0627\u0635\u0644",normalized:"continue"},halt:{primary:"\u0623\u0648\u0642\u0641",normalized:"halt"},throw:{primary:"\u0627\u0631\u0645",alternatives:["\u0627\u0631\u0645\u0650"],normalized:"throw"},call:{primary:"\u0627\u0633\u062a\u062f\u0639",alternatives:["\u0646\u0627\u062f\u0650"],normalized:"call"},return:{primary:"\u0627\u0631\u062c\u0639",alternatives:["\u0639\u064f\u062f"],normalized:"return"},then:{primary:"\u062b\u0645",alternatives:["\u0628\u0639\u062f\u0647\u0627","\u062b\u0645\u0651"],normalized:"then"},and:{primary:"\u0648\u0623\u064a\u0636\u0627\u064b",alternatives:["\u0623\u064a\u0636\u0627\u064b"],normalized:"and"},matches:{primary:"\u064a\u0637\u0627\u0628\u0642",normalized:"matches"},exists:{primary:"\u0645\u0648\u062c\u0648\u062f",normalized:"exists"},no:{primary:"\u0644\u0627 \u064a\u0648\u062c\u062f",normalized:"no"},end:{primary:"\u0646\u0647\u0627\u064a\u0629",alternatives:["\u0627\u0646\u062a\u0647\u0649","\u0627\u0644\u0646\u0647\u0627\u064a\u0629"],normalized:"end"},js:{primary:"\u062c\u0627\u0641\u0627\u0633\u0643\u0631\u0628\u062a",alternatives:["js"],normalized:"js"},async:{primary:"\u0645\u062a\u0632\u0627\u0645\u0646",normalized:"async"},tell:{primary:"\u0623\u062e\u0628\u0631",normalized:"tell"},default:{primary:"\u0627\u0641\u062a\u0631\u0627\u0636\u064a",normalized:"default"},init:{primary:"\u062a\u0647\u064a\u0626\u0629",alternatives:["\u0628\u062f\u0621"],normalized:"init"},behavior:{primary:"\u0633\u0644\u0648\u0643",normalized:"behavior"},install:{primary:"\u062a\u062b\u0628\u064a\u062a",alternatives:["\u062b\u0628\u0651\u062a"],normalized:"install"},measure:{primary:"\u0642\u064a\u0627\u0633",alternatives:["\u0642\u0650\u0633","\u0642\u0633"],normalized:"measure"},beep:{primary:"\u0635\u0641\u0651\u0631",normalized:"beep"},break:{primary:"\u062a\u0648\u0642\u0641",normalized:"break"},copy:{primary:"\u0627\u0646\u0633\u062e",normalized:"copy"},exit:{primary:"\u0627\u062e\u0631\u062c",normalized:"exit"},pick:{primary:"\u0627\u062e\u062a\u0631",normalized:"pick"},render:{primary:"\u0627\u0631\u0633\u0645",normalized:"render"},into:{primary:"\u0641\u064a",alternatives:["\u0625\u0644\u0649"],normalized:"into"},before:{primary:"\u0642\u0628\u0644",normalized:"before"},after:{primary:"\u0628\u0639\u062f",normalized:"after"},until:{primary:"\u062d\u062a\u0649",normalized:"until"},event:{primary:"\u062d\u062f\u062b",normalized:"event"},from:{primary:"\u0645\u0646",normalized:"from"},connect:{primary:"\u0627\u062a\u0635\u0644",alternatives:["\u0627\u062a\u0635\u0627\u0644"],normalized:"connect"},stream:{primary:"\u062a\u062f\u0641\u0642",alternatives:["\u0628\u062b"],normalized:"stream"},live:{primary:"\u0645\u0628\u0627\u0634\u0631",alternatives:["\u062d\u064a"],normalized:"live"},socket:{primary:"\u0645\u0642\u0628\u0633",alternatives:["websocket"],normalized:"socket"},bind:{primary:"\u0627\u0631\u0628\u0637",alternatives:["\u0631\u0628\u0637","bind"],normalized:"bind"},intercept:{primary:"\u0627\u0639\u062a\u0631\u0636",alternatives:["\u0627\u0639\u062a\u0631\u0627\u0636","intercept"],normalized:"intercept"},worker:{primary:"\u0639\u0627\u0645\u0644",alternatives:["worker"],normalized:"worker"},eventsource:{primary:"eventsource",alternatives:["\u0645\u0635\u062f\u0631-\u0627\u0644\u0623\u062d\u062f\u0627\u062b"],normalized:"eventsource"}},tokenization:{prefixes:["\u0627\u0644","\u0648","\u0641","\u0628","\u0643","\u0644"]},eventHandler:{eventMarker:{primary:"\u0639\u0646\u062f",alternatives:["\u0641\u064a","\u0644\u062f\u0649","\u0639\u0646\u062f\u0645\u0627","\u062d\u064a\u0646","\u062d\u064a\u0646\u0645\u0627","\u0644\u0645\u0651\u0627","\u0644\u0645\u0627"],position:"before"},temporalMarkers:["\u0639\u0646\u062f\u0645\u0627","\u062d\u064a\u0646","\u0644\u0645\u0651\u0627"],negationMarker:{primary:"\u0639\u062f\u0645",alternatives:["\u0639\u062f\u0645"],position:"before"}}}}}),Ot={};x(Ot,{bengaliProfile:()=>At});var Rt,Mt=b({"src/generators/profiles/bengali.ts"(){At={code:"bn",name:"Bengali",nativeName:"\u09ac\u09be\u0982\u09b2\u09be",direction:"ltr",script:"bengali",wordOrder:"SOV",markingStrategy:"postposition",usesSpaces:!0,defaultVerbForm:"imperative",verb:{position:"end",suffixes:["\u09c1\u09a8","\u09cb","\u09be","\u09c7","\u09bf"],subjectDrop:!0},references:{me:"\u0986\u09ae\u09bf",it:"\u098f\u099f\u09bf",you:"\u0986\u09aa\u09a8\u09bf",result:"\u09ab\u09b2\u09be\u09ab\u09b2",event:"\u0998\u099f\u09a8\u09be",target:"\u09b2\u0995\u09cd\u09b7\u09cd\u09af",body:"\u09ac\u09a1\u09bf"},possessive:{marker:"\u09b0",markerPosition:"between",keywords:{"\u0986\u09ae\u09be\u09b0":"me","\u09a4\u09cb\u09ae\u09be\u09b0":"you","\u0986\u09aa\u09a8\u09be\u09b0":"you","\u09a4\u09be\u09b0":"it","\u098f\u09b0":"it"}},roleMarkers:{patient:{primary:"\u0995\u09c7",position:"after"},destination:{primary:"\u09a4\u09c7",alternatives:["\u098f"],position:"after"},source:{primary:"\u09a5\u09c7\u0995\u09c7",position:"after"},style:{primary:"\u09a6\u09bf\u09af\u09bc\u09c7",position:"after"},event:{primary:"\u09a4\u09c7",position:"after"}},keywords:{toggle:{primary:"\u099f\u0997\u09b2",normalized:"toggle"},add:{primary:"\u09af\u09cb\u0997",alternatives:["\u09af\u09cb\u0997 \u0995\u09b0\u09c1\u09a8"],normalized:"add"},remove:{primary:"\u09b8\u09b0\u09be\u09a8",alternatives:["\u09b8\u09b0\u09bf\u09af\u09bc\u09c7 \u09ab\u09c7\u09b2\u09c1\u09a8","\u09ae\u09c1\u099b\u09c1\u09a8"],normalized:"remove"},put:{primary:"\u09b0\u09be\u0996\u09c1\u09a8",alternatives:["\u09b0\u09be\u0996"],normalized:"put"},append:{primary:"\u099c\u09c1\u09a1\u09bc\u09c1\u09a8",alternatives:[],normalized:"append"},prepend:{primary:"\u09b6\u09c1\u09b0\u09c1\u09a4\u09c7 \u09af\u09cb\u0997",alternatives:[],normalized:"prepend"},take:{primary:"\u09a8\u09bf\u09a8",alternatives:["\u09a8\u09c7"],normalized:"take"},make:{primary:"\u09a4\u09c8\u09b0\u09bf \u0995\u09b0\u09c1\u09a8",alternatives:["\u09ac\u09be\u09a8\u09be\u09a8"],normalized:"make"},clone:{primary:"\u0995\u09cd\u09b2\u09cb\u09a8",alternatives:["\u09aa\u09cd\u09b0\u09a4\u09bf\u09b2\u09bf\u09aa\u09bf"],normalized:"clone"},swap:{primary:"\u09ac\u09a6\u09b2",alternatives:[],normalized:"swap"},morph:{primary:"\u09b0\u09c2\u09aa\u09be\u09a8\u09cd\u09a4\u09b0",alternatives:[],normalized:"morph"},set:{primary:"\u09b8\u09c7\u099f",alternatives:["\u09a8\u09bf\u09b0\u09cd\u09a7\u09be\u09b0\u09a3"],normalized:"set"},get:{primary:"\u09aa\u09be\u09a8",normalized:"get"},increment:{primary:"\u09ac\u09c3\u09a6\u09cd\u09a7\u09bf",alternatives:["\u09ac\u09be\u09a1\u09bc\u09be\u09a8"],normalized:"increment"},decrement:{primary:"\u09b9\u09cd\u09b0\u09be\u09b8",alternatives:["\u0995\u09ae\u09be\u09a8"],normalized:"decrement"},log:{primary:"\u09b2\u0997",alternatives:["\u09b0\u09c7\u0995\u09b0\u09cd\u09a1"],normalized:"log"},show:{primary:"\u09a6\u09c7\u0996\u09be\u09a8",alternatives:["\u09a6\u09c7\u0996\u09be\u0993"],normalized:"show"},hide:{primary:"\u09b2\u09c1\u0995\u09be\u09a8",alternatives:["\u09b2\u09c1\u0995\u09be\u0993"],normalized:"hide"},transition:{primary:"\u09b8\u0982\u0995\u09cd\u09b0\u09ae\u09a3",alternatives:[],normalized:"transition"},on:{primary:"\u09a4\u09c7",alternatives:["\u098f"],normalized:"on"},trigger:{primary:"\u099f\u09cd\u09b0\u09bf\u0997\u09be\u09b0",alternatives:[],normalized:"trigger"},send:{primary:"\u09aa\u09be\u09a0\u09be\u09a8",alternatives:["\u09aa\u09be\u09a0\u09be\u0993"],normalized:"send"},focus:{primary:"\u09ab\u09cb\u0995\u09be\u09b8",alternatives:["\u09ae\u09a8\u09cb\u09af\u09cb\u0997"],normalized:"focus"},blur:{primary:"\u099d\u09be\u09aa\u09b8\u09be",alternatives:["\u09ab\u09cb\u0995\u09be\u09b8_\u09b8\u09b0\u09be\u09a8"],normalized:"blur"},empty:{primary:"\u0996\u09be\u09b2\u09bf-\u0995\u09b0\u09c1\u09a8",alternatives:["\u0996\u09be\u09b2\u09bf"],normalized:"empty"},open:{primary:"\u0996\u09c1\u09b2\u09c1\u09a8",normalized:"open"},close:{primary:"\u09ac\u09a8\u09cd\u09a7",normalized:"close"},select:{primary:"\u09a8\u09bf\u09b0\u09cd\u09ac\u09be\u099a\u09a8",normalized:"select"},clear:{primary:"\u09aa\u09b0\u09bf\u09b7\u09cd\u0995\u09be\u09b0",normalized:"clear"},reset:{primary:"\u09b0\u09bf\u09b8\u09c7\u099f",normalized:"reset"},breakpoint:{primary:"\u09ac\u09cd\u09b0\u09c7\u0995\u09aa\u09af\u09bc\u09c7\u09a8\u09cd\u099f",normalized:"breakpoint"},click:{primary:"\u0995\u09cd\u09b2\u09bf\u0995",normalized:"click"},hover:{primary:"\u09b9\u09cb\u09ad\u09be\u09b0",alternatives:["\u0989\u09aa\u09b0\u09c7_\u09b0\u09be\u0996\u09c1\u09a8"],normalized:"hover"},submit:{primary:"\u09b8\u09be\u09ac\u09ae\u09bf\u099f",alternatives:["\u099c\u09ae\u09be"],normalized:"submit"},input:{primary:"\u0987\u09a8\u09aa\u09c1\u099f",alternatives:["\u09aa\u09cd\u09b0\u09ac\u09c7\u09b6"],normalized:"input"},change:{primary:"\u09aa\u09b0\u09bf\u09ac\u09b0\u09cd\u09a4\u09a8",normalized:"change"},go:{primary:"\u09af\u09be\u09a8",alternatives:["\u09af\u09be\u0993"],normalized:"go"},scroll:{primary:"\u09b8\u09cd\u0995\u09cd\u09b0\u09cb\u09b2",normalized:"scroll"},push:{primary:"\u09aa\u09c1\u09b6",alternatives:["\u09a0\u09c7\u09b2\u09c1\u09a8"],normalized:"push"},replace:{primary:"\u09aa\u09cd\u09b0\u09a4\u09bf\u09b8\u09cd\u09a5\u09be\u09aa\u09a8",normalized:"replace"},process:{primary:"\u09aa\u09cd\u09b0\u09b8\u09c7\u09b8",alternatives:["\u09aa\u09cd\u09b0\u0995\u09cd\u09b0\u09bf\u09af\u09bc\u09be"],normalized:"process"},wait:{primary:"\u0985\u09aa\u09c7\u0995\u09cd\u09b7\u09be",normalized:"wait"},fetch:{primary:"\u0986\u09a8\u09c1\u09a8",alternatives:[],normalized:"fetch"},settle:{primary:"\u09b8\u09cd\u09a5\u09bf\u09b0",alternatives:[],normalized:"settle"},if:{primary:"\u09af\u09a6\u09bf",alternatives:[],normalized:"if"},unless:{primary:"\u09af\u09a6\u09bf \u09a8\u09be",normalized:"unless"},when:{primary:"\u09af\u0996\u09a8",normalized:"when"},changes:{primary:"\u09aa\u09b0\u09bf\u09ac\u09b0\u09cd\u09a4\u09bf\u09a4 \u09b9\u09b2\u09c7",normalized:"changes"},where:{primary:"\u0995\u09cb\u09a5\u09be\u09af\u09bc",normalized:"where"},else:{primary:"\u09a8\u09a4\u09c1\u09ac\u09be",alternatives:["\u09a8\u09be \u09b9\u09b2\u09c7"],normalized:"else"},repeat:{primary:"\u09aa\u09c1\u09a8\u09b0\u09be\u09ac\u09c3\u09a4\u09cd\u09a4\u09bf",alternatives:["\u09ac\u09be\u09b0 \u09ac\u09be\u09b0"],normalized:"repeat"},for:{primary:"\u099c\u09a8\u09cd\u09af",alternatives:[],normalized:"for"},while:{primary:"\u09af\u09a4\u0995\u09cd\u09b7\u09a3",alternatives:[],normalized:"while"},forever:{primary:"\u099a\u09bf\u09b0\u0995\u09be\u09b2",normalized:"forever",alternatives:["forever"]},continue:{primary:"\u099a\u09be\u09b2\u09bf\u09af\u09bc\u09c7 \u09af\u09be\u09a8",alternatives:[],normalized:"continue"},halt:{primary:"\u09a5\u09be\u09ae\u09c1\u09a8",alternatives:["\u09a5\u09be\u09ae\u09be\u0993"],normalized:"halt"},throw:{primary:"\u09a8\u09bf\u0995\u09cd\u09b7\u09c7\u09aa",alternatives:["\u099b\u09c1\u0981\u09a1\u09bc\u09c7 \u09a6\u09bf\u09a8"],normalized:"throw"},call:{primary:"\u0995\u09b2",alternatives:["\u09a1\u09be\u0995\u09c1\u09a8"],normalized:"call"},return:{primary:"\u09ab\u09bf\u09b0\u09c1\u09a8",alternatives:["\u09ab\u09c7\u09b0\u09a4 \u09a6\u09bf\u09a8"],normalized:"return"},then:{primary:"\u09a4\u09be\u09b0\u09aa\u09b0",alternatives:["\u09a4\u0996\u09a8"],normalized:"then"},and:{primary:"\u098f\u09ac\u0982",alternatives:[],normalized:"and"},is:{primary:"\u09b9\u09af\u09bc",normalized:"is"},end:{primary:"\u09b6\u09c7\u09b7",alternatives:["\u09b8\u09ae\u09be\u09aa\u09cd\u09a4"],normalized:"end"},js:{primary:"\u099c\u09c7\u098f\u09b8",alternatives:["js"],normalized:"js"},async:{primary:"\u0985\u09cd\u09af\u09be\u09b8\u09bf\u0999\u09cd\u0995",alternatives:[],normalized:"async"},tell:{primary:"\u09ac\u09b2\u09c1\u09a8",alternatives:["\u09ac\u09b2"],normalized:"tell"},default:{primary:"\u09a1\u09bf\u09ab\u09b2\u09cd\u099f",alternatives:[],normalized:"default"},init:{primary:"\u09b6\u09c1\u09b0\u09c1",alternatives:[],normalized:"init"},behavior:{primary:"\u0986\u099a\u09b0\u09a3",alternatives:[],normalized:"behavior"},install:{primary:"\u0987\u09a8\u09b8\u09cd\u099f\u09b2",alternatives:[],normalized:"install"},measure:{primary:"\u09ae\u09be\u09aa\u09c1\u09a8",alternatives:[],normalized:"measure"},beep:{primary:"\u09ac\u09c0\u09aa",alternatives:[],normalized:"beep"},break:{primary:"\u09ad\u09be\u0999\u09c1\u09a8",alternatives:[],normalized:"break"},copy:{primary:"\u0995\u09aa\u09bf",alternatives:[],normalized:"copy"},exit:{primary:"\u09ac\u09c7\u09b0",alternatives:[],normalized:"exit"},pick:{primary:"\u09ac\u09be\u099b\u09c1\u09a8",alternatives:[],normalized:"pick"},render:{primary:"\u09b0\u09c7\u09a8\u09cd\u09a1\u09be\u09b0",alternatives:[],normalized:"render"},into:{primary:"\u09ad\u09bf\u09a4\u09b0\u09c7",normalized:"into"},before:{primary:"\u0986\u0997\u09c7",alternatives:[],normalized:"before"},after:{primary:"\u09aa\u09b0\u09c7",alternatives:[],normalized:"after"},until:{primary:"\u09aa\u09b0\u09cd\u09af\u09a8\u09cd\u09a4",alternatives:[],normalized:"until"},event:{primary:"\u0998\u099f\u09a8\u09be",alternatives:[],normalized:"event"},from:{primary:"\u09a5\u09c7\u0995\u09c7",normalized:"from"},connect:{primary:"\u0995\u09be\u09a8\u09c7\u0995\u09cd\u099f",alternatives:["\u09b8\u0982\u09af\u09cb\u0997","\u09af\u09c1\u0995\u09cd\u09a4"],normalized:"connect"},stream:{primary:"\u09b8\u09cd\u099f\u09cd\u09b0\u09bf\u09ae",alternatives:["\u09b8\u09cd\u09b0\u09cb\u09a4","\u09aa\u09cd\u09b0\u09ac\u09be\u09b9"],normalized:"stream"},live:{primary:"\u09b2\u09be\u0987\u09ad",alternatives:["\u09b8\u09b0\u09be\u09b8\u09b0\u09bf","\u09aa\u09cd\u09b0\u09a4\u09cd\u09af\u0995\u09cd\u09b7"],normalized:"live"},socket:{primary:"\u09b8\u0995\u09c7\u099f",alternatives:["\u0993\u09af\u09bc\u09c7\u09ac\u09b8\u0995\u09c7\u099f"],normalized:"socket"},bind:{primary:"\u09ac\u09be\u0987\u09a8\u09cd\u09a1",alternatives:["bind"],normalized:"bind"},intercept:{primary:"\u0986\u099f\u0995\u09be\u0993",alternatives:["\u0987\u09a8\u09cd\u099f\u09be\u09b0\u09b8\u09c7\u09aa\u09cd\u099f","intercept"],normalized:"intercept"},worker:{primary:"\u0995\u09b0\u09cd\u09ae\u09c0",alternatives:["\u0993\u09af\u09bc\u09be\u09b0\u09cd\u0995\u09be\u09b0","worker"],normalized:"worker"},eventsource:{primary:"eventsource",alternatives:["\u0987\u09ad\u09c7\u09a8\u09cd\u099f\u09b8\u09cb\u09b0\u09cd\u09b8"],normalized:"eventsource"}},tokenization:{particles:["\u0995\u09c7","\u09a4\u09c7","\u09a5\u09c7\u0995\u09c7","\u09b0","\u098f\u09b0","\u09a6\u09bf\u09af\u09bc\u09c7","\u099c\u09a8\u09cd\u09af","\u09aa\u09b0\u09cd\u09af\u09a8\u09cd\u09a4"],boundaryStrategy:"space"},eventHandler:{keyword:{primary:"\u09a4\u09c7",alternatives:["\u098f","\u09af\u0996\u09a8"],normalized:"on"},sourceMarker:{primary:"\u09a5\u09c7\u0995\u09c7",position:"after"},eventMarker:{primary:"\u09a4\u09c7",alternatives:["\u098f"],position:"after"},temporalMarkers:["\u09af\u0996\u09a8","\u09af\u0996\u09a8\u0987"]}}}}),Nt={};x(Nt,{germanProfile:()=>Rt});var It,$t=b({"src/generators/profiles/german.ts"(){Rt={code:"de",name:"German",nativeName:"Deutsch",regions:["western","priority"],direction:"ltr",script:"latin",wordOrder:"SVO",markingStrategy:"preposition",usesSpaces:!0,defaultVerbForm:"infinitive",verb:{position:"start",subjectDrop:!1},references:{me:"ich",it:"es",you:"du",result:"Ergebnis",event:"Ereignis",target:"Ziel",body:"K\u00f6rper",document:"dokument",window:"fenster",detail:"detail"},possessive:{marker:"",markerPosition:"before-property",usePossessiveAdjectives:!0,specialForms:{me:"mein",it:"sein",you:"dein"},keywords:{mein:"me",meine:"me",meinen:"me",dein:"you",deine:"you",deinen:"you",sein:"it",seine:"it",seinen:"it"}},roleMarkers:{destination:{primary:"auf",alternatives:["zu","in"],position:"before"},source:{primary:"von",alternatives:["aus"],position:"before"},patient:{primary:"",position:"before"},style:{primary:"mit",position:"before"}},keywords:{toggle:{primary:"umschalten",alternatives:["wechseln"],normalized:"toggle"},add:{primary:"hinzuf\u00fcgen",normalized:"add"},remove:{primary:"entfernen",alternatives:["l\u00f6schen"],normalized:"remove"},put:{primary:"setzen",alternatives:["stellen","platzieren"],normalized:"put"},append:{primary:"anh\u00e4ngen",normalized:"append"},prepend:{primary:"voranstellen",normalized:"prepend"},take:{primary:"nehmen",normalized:"take"},make:{primary:"machen",alternatives:["erstellen","erzeugen"],normalized:"make"},clone:{primary:"klonen",alternatives:["duplizieren"],normalized:"clone"},swap:{primary:"austauschen",alternatives:["tauschen","vertauschen"],normalized:"swap"},morph:{primary:"verwandeln",alternatives:["transformieren"],normalized:"morph"},set:{primary:"festlegen",alternatives:["definieren"],normalized:"set"},get:{primary:"holen",alternatives:["bekommen","erhalten"],normalized:"get"},increment:{primary:"erh\u00f6hen",normalized:"increment"},decrement:{primary:"verringern",alternatives:["vermindern"],normalized:"decrement"},log:{primary:"protokollieren",alternatives:["ausgeben"],normalized:"log"},show:{primary:"zeigen",alternatives:["anzeigen"],normalized:"show"},hide:{primary:"verbergen",alternatives:["verstecken"],normalized:"hide"},transition:{primary:"\u00fcbergang",alternatives:["animieren"],normalized:"transition"},on:{primary:"bei",alternatives:["auf"],normalized:"on"},trigger:{primary:"ausl\u00f6sen",normalized:"trigger"},send:{primary:"senden",alternatives:["schicken"],normalized:"send"},focus:{primary:"Fokus",alternatives:["Fokuserhalt","fokussieren"],normalized:"focus"},blur:{primary:"Fokusverlust",alternatives:["verlassen","defokussieren","entfokussieren"],normalized:"blur"},empty:{primary:"leeren",alternatives:["leer"],normalized:"empty"},open:{primary:"\u00f6ffnen",alternatives:["oeffnen"],normalized:"open"},close:{primary:"schlie\u00dfen",alternatives:["schliessen"],normalized:"close"},select:{primary:"markieren",normalized:"select"},clear:{primary:"bereinigen",normalized:"clear"},reset:{primary:"zur\u00fccksetzen",alternatives:["zuruecksetzen"],normalized:"reset"},breakpoint:{primary:"haltepunkt",normalized:"breakpoint"},go:{primary:"gehen",alternatives:["navigieren"],normalized:"go"},scroll:{primary:"scrollen",normalized:"scroll"},push:{primary:"dr\u00fccken",alternatives:["push"],normalized:"push"},replace:{primary:"ersetzen",normalized:"replace"},process:{primary:"verarbeiten",normalized:"process"},wait:{primary:"warten",normalized:"wait"},fetch:{primary:"abrufen",alternatives:["laden"],normalized:"fetch"},settle:{primary:"stabilisieren",normalized:"settle"},if:{primary:"falls",alternatives:["sofern"],normalized:"if"},unless:{primary:"wennnicht",normalized:"unless"},when:{primary:"wenn",normalized:"when"},changes:{primary:"\u00e4ndert",normalized:"changes"},where:{primary:"wo",normalized:"where"},else:{primary:"sonst",alternatives:["ansonsten"],normalized:"else"},repeat:{primary:"wiederholen",normalized:"repeat"},for:{primary:"f\u00fcr",normalized:"for"},while:{primary:"solange",alternatives:["w\u00e4hrend"],normalized:"while"},forever:{primary:"forever",normalized:"forever"},continue:{primary:"fortfahren",alternatives:["weiter"],normalized:"continue"},halt:{primary:"anhalten",alternatives:["stoppen"],normalized:"halt"},throw:{primary:"werfen",normalized:"throw"},call:{primary:"aufrufen",normalized:"call"},return:{primary:"zur\u00fcckgeben",normalized:"return"},then:{primary:"dann",alternatives:["danach","anschlie\u00dfend"],normalized:"then"},and:{primary:"und",alternatives:["sowie","auch"],normalized:"and"},is:{primary:"ist",normalized:"is"},matches:{primary:"passt",normalized:"matches"},exists:{primary:"existiert",normalized:"exists"},no:{primary:"kein",normalized:"no"},end:{primary:"ende",alternatives:["fertig"],normalized:"end"},js:{primary:"js",alternatives:["javascript"],normalized:"js"},async:{primary:"asynchron",normalized:"async"},tell:{primary:"sagen",normalized:"tell"},default:{primary:"standard",normalized:"default"},init:{primary:"Initialisierung",alternatives:["initialisieren"],normalized:"init"},behavior:{primary:"verhalten",normalized:"behavior"},install:{primary:"installieren",normalized:"install"},measure:{primary:"messen",normalized:"measure"},beep:{primary:"piepton",normalized:"beep"},break:{primary:"unterbrechen",normalized:"break"},copy:{primary:"kopieren",normalized:"copy"},exit:{primary:"beenden",normalized:"exit"},pick:{primary:"ausw\u00e4hlen",normalized:"pick"},render:{primary:"rendern",normalized:"render"},into:{primary:"hinein",normalized:"into"},before:{primary:"vor",normalized:"before"},after:{primary:"nach",normalized:"after"},click:{primary:"Klick",alternatives:["Klicken"],normalized:"click"},hover:{primary:"Hover",alternatives:["Schweben"],normalized:"hover"},submit:{primary:"Absenden",alternatives:["Senden"],normalized:"submit"},input:{primary:"Eingabe",normalized:"input"},change:{primary:"\u00c4nderung",alternatives:["\u00c4ndern"],normalized:"change"},resize:{primary:"Gr\u00f6\u00dfen\u00e4nderung",alternatives:["gr\u00f6\u00dfen\u00e4nderung","gr\u00f6ssen\u00e4nderung","Gr\u00f6\u00dfe \u00e4ndern","gr\u00f6\u00dfe\u00e4ndern"],normalized:"resize"},until:{primary:"bis",normalized:"until"},event:{primary:"Ereignis",alternatives:["Event"],normalized:"event"},from:{primary:"von",alternatives:["aus"],normalized:"from"},connect:{primary:"verbinden",alternatives:["Verbindung"],normalized:"connect"},stream:{primary:"stream",alternatives:["Strom"],normalized:"stream"},live:{primary:"direkt",alternatives:["live","echtzeit"],normalized:"live"},socket:{primary:"socket",alternatives:["websocket"],normalized:"socket"},bind:{primary:"binden",alternatives:["verknuepfen","bind"],normalized:"bind"},intercept:{primary:"abfangen",alternatives:["intercept"],normalized:"intercept"},worker:{primary:"arbeiter",alternatives:["worker"],normalized:"worker"},eventsource:{primary:"eventsource",alternatives:["ereignisquelle"],normalized:"eventsource"}},eventHandler:{keyword:{primary:"bei",alternatives:["auf"],normalized:"on"},sourceMarker:{primary:"von",alternatives:["aus"],position:"before"},conditionalKeyword:{primary:"wenn",alternatives:["falls"]},eventMarker:{primary:"bei",alternatives:["beim"],position:"before"},temporalMarkers:["wenn","bei"]}}}}),Kt={};x(Kt,{englishProfile:()=>It});var Vt,Dt=b({"src/generators/profiles/english.ts"(){It={code:"en",name:"English",nativeName:"English",regions:["western","priority"],direction:"ltr",script:"latin",wordOrder:"SVO",markingStrategy:"preposition",usesSpaces:!0,defaultVerbForm:"base",verb:{position:"start",subjectDrop:!1},references:{me:"me",it:"it",you:"you",result:"result",event:"event",target:"target",body:"body",document:"document",window:"window",detail:"detail"},possessive:{marker:"'s",markerPosition:"after-object",specialForms:{me:"my",it:"its",you:"your"},keywords:{my:"me",your:"you",its:"it"}},roleMarkers:{destination:{primary:"on",alternatives:["to","from"],position:"before"},source:{primary:"from",position:"before"},patient:{primary:"",position:"before"},style:{primary:"with",alternatives:["by","using"],position:"before"},responseType:{primary:"as",position:"before"},method:{primary:"via",alternatives:["using"],position:"before"}},keywords:{toggle:{primary:"toggle"},add:{primary:"add"},remove:{primary:"remove"},put:{primary:"put"},append:{primary:"append"},prepend:{primary:"prepend"},take:{primary:"take"},make:{primary:"make"},clone:{primary:"clone"},swap:{primary:"swap"},morph:{primary:"morph"},set:{primary:"set"},get:{primary:"get"},increment:{primary:"increment"},decrement:{primary:"decrement"},log:{primary:"log"},show:{primary:"show"},hide:{primary:"hide"},transition:{primary:"transition"},on:{primary:"on"},trigger:{primary:"trigger"},send:{primary:"send"},focus:{primary:"focus"},blur:{primary:"blur"},empty:{primary:"empty",normalized:"empty"},open:{primary:"open",normalized:"open"},close:{primary:"close",normalized:"close"},select:{primary:"select",normalized:"select"},clear:{primary:"clear",normalized:"clear"},reset:{primary:"reset",normalized:"reset"},breakpoint:{primary:"breakpoint",normalized:"breakpoint"},go:{primary:"go"},scroll:{primary:"scroll",normalized:"scroll"},push:{primary:"push",normalized:"push"},replace:{primary:"replace",normalized:"replace"},process:{primary:"process",normalized:"process"},wait:{primary:"wait"},fetch:{primary:"fetch"},settle:{primary:"settle"},if:{primary:"if"},when:{primary:"when",normalized:"when"},changes:{primary:"changes",normalized:"changes"},where:{primary:"where",normalized:"where"},else:{primary:"else"},repeat:{primary:"repeat"},for:{primary:"for"},while:{primary:"while"},continue:{primary:"continue"},halt:{primary:"halt"},throw:{primary:"throw"},call:{primary:"call"},return:{primary:"return"},then:{primary:"then"},and:{primary:"and"},end:{primary:"end"},js:{primary:"js"},async:{primary:"async"},tell:{primary:"tell"},default:{primary:"default"},init:{primary:"init"},behavior:{primary:"behavior"},install:{primary:"install"},measure:{primary:"measure"},beep:{primary:"beep"},break:{primary:"break"},copy:{primary:"copy"},exit:{primary:"exit"},pick:{primary:"pick"},render:{primary:"render"},into:{primary:"into"},before:{primary:"before"},after:{primary:"after"},until:{primary:"until"},event:{primary:"event"},from:{primary:"from"},connect:{primary:"connect",normalized:"connect"},stream:{primary:"stream",normalized:"stream"},live:{primary:"live",normalized:"live"},socket:{primary:"socket",alternatives:["websocket"],normalized:"socket"},bind:{primary:"bind",normalized:"bind"},eventsource:{primary:"eventsource",normalized:"eventsource"},worker:{primary:"worker",normalized:"worker"},intercept:{primary:"intercept",normalized:"intercept"}}}}}),Bt={};x(Bt,{spanishProfile:()=>Vt});var Ft,Ht=b({"src/generators/profiles/spanish.ts"(){Vt={code:"es",name:"Spanish",nativeName:"Espa\u00f1ol",regions:["western","priority"],direction:"ltr",script:"latin",wordOrder:"SVO",markingStrategy:"preposition",usesSpaces:!0,defaultVerbForm:"infinitive",verb:{position:"start",subjectDrop:!0},references:{me:"yo",it:"ello",you:"t\u00fa",result:"resultado",event:"evento",target:"objetivo",body:"cuerpo",document:"documento",window:"ventana",detail:"detalle"},possessive:{marker:"de",markerPosition:"before-property",usePossessiveAdjectives:!0,specialForms:{me:"mi",it:"su",you:"tu"},keywords:{mi:"me",tu:"you",su:"it"}},roleMarkers:{destination:{primary:"en",alternatives:["sobre","a","hacia"],position:"before"},source:{primary:"de",alternatives:["desde"],position:"before"},patient:{primary:"",position:"before"},style:{primary:"con",position:"before"}},keywords:{toggle:{primary:"alternar",alternatives:["conmutar","toggle"],normalized:"toggle"},add:{primary:"agregar",alternatives:["a\u00f1adir"],normalized:"add"},remove:{primary:"quitar",alternatives:["eliminar","remover","sacar","borrar"],normalized:"remove"},put:{primary:"poner",alternatives:["colocar","pon"],normalized:"put"},append:{primary:"anexar",normalized:"append"},prepend:{primary:"anteponer",normalized:"prepend"},take:{primary:"tomar",normalized:"take"},make:{primary:"hacer",alternatives:["crear"],normalized:"make"},clone:{primary:"clonar",alternatives:["duplicar"],normalized:"clone"},swap:{primary:"intercambiar",alternatives:["permutar"],normalized:"swap"},morph:{primary:"transformar",alternatives:["convertir"],normalized:"morph"},set:{primary:"establecer",alternatives:["fijar","definir","establece"],normalized:"set"},get:{primary:"obtener",alternatives:["conseguir","obt\u00e9n"],normalized:"get"},increment:{primary:"incrementar",alternatives:["aumentar"],normalized:"increment"},decrement:{primary:"decrementar",alternatives:["disminuir"],normalized:"decrement"},log:{primary:"registrar",alternatives:["imprimir"],normalized:"log"},show:{primary:"mostrar",alternatives:["ense\u00f1ar","muestra"],normalized:"show"},hide:{primary:"ocultar",alternatives:["esconder"],normalized:"hide"},transition:{primary:"transici\u00f3n",alternatives:["animar"],normalized:"transition"},on:{primary:"en",alternatives:["al"],normalized:"on"},trigger:{primary:"disparar",alternatives:["activar"],normalized:"trigger"},send:{primary:"enviar",alternatives:["env\u00eda"],normalized:"send"},focus:{primary:"enfoque",alternatives:["enfocar"],normalized:"focus"},blur:{primary:"p\u00e9rdida de foco",alternatives:["perdida de foco","desenfoque","desenfocar"],normalized:"blur"},open:{primary:"abrir",normalized:"open"},close:{primary:"cerrar",normalized:"close"},select:{primary:"seleccionar",normalized:"select"},clear:{primary:"limpiar",normalized:"clear"},reset:{primary:"reiniciar",alternatives:["restablecer"],normalized:"reset"},breakpoint:{primary:"punto-interrupci\u00f3n",alternatives:["punto-interrupcion"],normalized:"breakpoint"},click:{primary:"clic",alternatives:["hacer clic","click"],normalized:"click"},resize:{primary:"cambio de tama\u00f1o",alternatives:["cambio de tamano","redimensionar"],normalized:"resize"},hover:{primary:"sobrevolar",alternatives:["pasar por encima"],normalized:"hover"},submit:{primary:"env\u00edo",alternatives:["envio","someter"],normalized:"submit"},input:{primary:"entrada",alternatives:["introducir"],normalized:"input"},change:{primary:"cambio",alternatives:["cambiar"],normalized:"change"},load:{primary:"carga",alternatives:["cargar"],normalized:"load"},scroll:{primary:"desplazamiento",alternatives:["desplazar"],normalized:"scroll"},keydown:{primary:"tecla pulsada",alternatives:["tecla presionada","tecla abajo"],normalized:"keydown"},keyup:{primary:"tecla soltada",alternatives:["tecla liberada","tecla arriba"],normalized:"keyup"},mouseover:{primary:"rat\u00f3n encima",alternatives:["raton encima","mouse encima"],normalized:"mouseover"},mouseout:{primary:"rat\u00f3n fuera",alternatives:["raton fuera","mouse fuera"],normalized:"mouseout"},mousedown:{primary:"rat\u00f3n pulsado",alternatives:["raton pulsado","mouse presionado","rat\u00f3n abajo","raton abajo","rat\u00f3nabajo"],normalized:"mousedown"},mouseup:{primary:"rat\u00f3n soltado",alternatives:["raton soltado","mouse soltado","rat\u00f3n arriba","raton arriba","rat\u00f3narriba"],normalized:"mouseup"},go:{primary:"ir",alternatives:["navegar","ve"],normalized:"go"},push:{primary:"empujar",alternatives:["push"],normalized:"push"},replace:{primary:"reemplazar",alternatives:["sustituir"],normalized:"replace"},process:{primary:"procesar",normalized:"process"},wait:{primary:"esperar",normalized:"wait"},fetch:{primary:"buscar",alternatives:["recuperar"],normalized:"fetch"},settle:{primary:"estabilizar",normalized:"settle"},if:{primary:"si",normalized:"if"},unless:{primary:"menos",alternatives:["a menos que","salvo"],normalized:"unless"},when:{primary:"cuando",normalized:"when"},changes:{primary:"cambia",normalized:"changes"},where:{primary:"donde",normalized:"where"},else:{primary:"sino",alternatives:["de lo contrario"],normalized:"else"},repeat:{primary:"repetir",normalized:"repeat"},for:{primary:"para",normalized:"for"},while:{primary:"mientras",normalized:"while"},forever:{primary:"forever",normalized:"forever"},continue:{primary:"continuar",normalized:"continue"},halt:{primary:"detener",alternatives:["parar"],normalized:"halt"},throw:{primary:"lanzar",alternatives:["arrojar"],normalized:"throw"},call:{primary:"llamar",normalized:"call"},return:{primary:"retornar",alternatives:["devolver"],normalized:"return"},then:{primary:"entonces",alternatives:["luego"],normalized:"then"},and:{primary:"y",alternatives:["adem\u00e1s","tambi\u00e9n"],normalized:"and"},or:{primary:"o",normalized:"or"},not:{primary:"no",normalized:"not"},is:{primary:"es",normalized:"is"},exists:{primary:"existe",normalized:"exists"},empty:{primary:"vac\u00edo",alternatives:["vacio"],normalized:"empty"},matches:{primary:"coincide",normalized:"matches"},no:{primary:"ning\u00fan",normalized:"no"},end:{primary:"fin",alternatives:["final","terminar"],normalized:"end"},js:{primary:"js",normalized:"js"},async:{primary:"as\u00edncrono",alternatives:["asincrono"],normalized:"async"},tell:{primary:"decir",normalized:"tell"},default:{primary:"predeterminar",alternatives:["por defecto"],normalized:"default"},init:{primary:"inicio",alternatives:["inicializaci\u00f3n","iniciar","inicializar"],normalized:"init"},behavior:{primary:"comportamiento",normalized:"behavior"},install:{primary:"instalar",normalized:"install"},measure:{primary:"medir",normalized:"measure"},beep:{primary:"pitido",normalized:"beep"},break:{primary:"romper",normalized:"break"},copy:{primary:"copiar",normalized:"copy"},exit:{primary:"salir",normalized:"exit"},pick:{primary:"escoger",normalized:"pick"},render:{primary:"renderizar",normalized:"render"},first:{primary:"primero",alternatives:["primera"],normalized:"first"},last:{primary:"\u00faltimo",alternatives:["ultima"],normalized:"last"},next:{primary:"siguiente",normalized:"next"},previous:{primary:"anterior",normalized:"previous"},closest:{primary:"cercano",normalized:"closest"},parent:{primary:"padre",normalized:"parent"},into:{primary:"dentro",alternatives:["adentro","dentro de"],normalized:"into"},before:{primary:"antes",alternatives:["antes de"],normalized:"before"},after:{primary:"despu\u00e9s",alternatives:["despues","despu\u00e9s de","despues de"],normalized:"after"},out:{primary:"fuera",alternatives:["fuera de"],normalized:"out"},until:{primary:"hasta",alternatives:["hasta que"],normalized:"until"},event:{primary:"evento",normalized:"event"},from:{primary:"de",alternatives:["desde"],normalized:"from"},connect:{primary:"conectar",alternatives:["conectarse"],normalized:"connect"},stream:{primary:"transmitir",alternatives:["flujo"],normalized:"stream"},live:{primary:"en-vivo",alternatives:["vivo","directo"],normalized:"live"},socket:{primary:"socket",alternatives:["websocket"],normalized:"socket"},bind:{primary:"vincular",alternatives:["enlazar","bind"],normalized:"bind"},intercept:{primary:"interceptar",alternatives:["intercept"],normalized:"intercept"},worker:{primary:"trabajador",alternatives:["worker"],normalized:"worker"},eventsource:{primary:"eventsource",alternatives:["fuente-de-eventos"],normalized:"eventsource"}},eventHandler:{keyword:{primary:"al",alternatives:["cuando","en"],normalized:"on"},sourceMarker:{primary:"de",alternatives:["desde"],position:"before"},eventMarker:{primary:"al",alternatives:["cuando","en"],position:"before"},temporalMarkers:["cuando","al"]}}}}),Ut={};x(Ut,{frenchProfile:()=>Ft});var Gt,Zt=b({"src/generators/profiles/french.ts"(){Ft={code:"fr",name:"French",nativeName:"Fran\u00e7ais",regions:["western","priority"],direction:"ltr",script:"latin",wordOrder:"SVO",markingStrategy:"preposition",usesSpaces:!0,defaultVerbForm:"infinitive",verb:{position:"start",subjectDrop:!1},references:{me:"moi",it:"il",you:"toi",result:"r\u00e9sultat",event:"\u00e9v\u00e9nement",target:"cible",body:"corps",document:"document",window:"fen\u00eatre",detail:"d\u00e9tail"},possessive:{marker:"de",markerPosition:"before-property",usePossessiveAdjectives:!0,specialForms:{me:"ma",it:"sa",you:"ta"},keywords:{mon:"me",ma:"me",mes:"me",ton:"you",ta:"you",tes:"you",son:"it",sa:"it",ses:"it"}},roleMarkers:{destination:{primary:"sur",alternatives:["\u00e0","dans"],position:"before"},source:{primary:"de",alternatives:["depuis"],position:"before"},patient:{primary:"",position:"before"},style:{primary:"avec",position:"before"}},keywords:{toggle:{primary:"basculer",alternatives:["alterner"],normalized:"toggle"},add:{primary:"ajouter",normalized:"add"},remove:{primary:"supprimer",alternatives:["enlever","retirer","retire"],normalized:"remove"},put:{primary:"mettre",alternatives:["placer","mets"],normalized:"put"},append:{primary:"annexer",normalized:"append"},prepend:{primary:"pr\u00e9fixer",normalized:"prepend"},take:{primary:"prendre",normalized:"take"},make:{primary:"faire",alternatives:["cr\u00e9er"],normalized:"make"},clone:{primary:"cloner",alternatives:["dupliquer"],normalized:"clone"},swap:{primary:"\u00e9changer",alternatives:["permuter"],normalized:"swap"},morph:{primary:"transformer",alternatives:["m\u00e9tamorphoser"],normalized:"morph"},set:{primary:"d\u00e9finir",alternatives:["\u00e9tablir"],normalized:"set"},get:{primary:"obtenir",alternatives:["obtiens"],normalized:"get"},increment:{primary:"incr\u00e9menter",alternatives:["augmenter"],normalized:"increment"},decrement:{primary:"d\u00e9cr\u00e9menter",alternatives:["diminuer"],normalized:"decrement"},log:{primary:"enregistrer",alternatives:["journaliser"],normalized:"log"},show:{primary:"montrer",alternatives:["afficher","montre"],normalized:"show"},hide:{primary:"cacher",alternatives:["masquer"],normalized:"hide"},transition:{primary:"transition",alternatives:["animer"],normalized:"transition"},on:{primary:"sur",alternatives:["lors"],normalized:"on"},trigger:{primary:"d\u00e9clencher",normalized:"trigger"},send:{primary:"envoyer",alternatives:["envoie"],normalized:"send"},focus:{primary:"focaliser",alternatives:["concentrer"],normalized:"focus"},blur:{primary:"perte de focus",alternatives:["d\u00e9focaliser"],normalized:"blur"},empty:{primary:"vider",alternatives:["vide"],normalized:"empty"},open:{primary:"ouvrir",normalized:"open"},close:{primary:"fermer",normalized:"close"},select:{primary:"s\u00e9lectionner",alternatives:["selectionner"],normalized:"select"},clear:{primary:"effacer",normalized:"clear"},reset:{primary:"r\u00e9initialiser",alternatives:["reinitialiser"],normalized:"reset"},breakpoint:{primary:"point-arr\u00eat",alternatives:["point-arret"],normalized:"breakpoint"},go:{primary:"aller",alternatives:["naviguer","va"],normalized:"go"},scroll:{primary:"d\u00e9filement",alternatives:["defilement","d\u00e9filer","faire-d\u00e9filer"],normalized:"scroll"},push:{primary:"pousser",normalized:"push"},replace:{primary:"remplacer",normalized:"replace"},process:{primary:"traiter",normalized:"process"},wait:{primary:"attendre",normalized:"wait"},fetch:{primary:"chercher",alternatives:["r\u00e9cup\u00e9rer","r\u00e9cup\u00e8re"],normalized:"fetch"},settle:{primary:"stabiliser",normalized:"settle"},if:{primary:"si",normalized:"if"},unless:{primary:"saufsi",normalized:"unless"},when:{primary:"quand",normalized:"when"},changes:{primary:"change",normalized:"changes"},where:{primary:"o\u00f9",normalized:"where"},else:{primary:"sinon",normalized:"else"},repeat:{primary:"r\u00e9p\u00e9ter",normalized:"repeat"},for:{primary:"pour",normalized:"for"},while:{primary:"pendant",normalized:"while"},forever:{primary:"forever",normalized:"forever"},continue:{primary:"continuer",normalized:"continue"},halt:{primary:"arr\u00eater",alternatives:["stopper"],normalized:"halt"},throw:{primary:"lancer",normalized:"throw"},call:{primary:"appeler",normalized:"call"},return:{primary:"retourner",alternatives:["renvoyer"],normalized:"return"},then:{primary:"puis",alternatives:["ensuite","alors"],normalized:"then"},and:{primary:"et",alternatives:["aussi","\u00e9galement"],normalized:"and"},matches:{primary:"correspond",normalized:"matches"},exists:{primary:"existe",normalized:"exists"},is:{primary:"est",normalized:"is"},no:{primary:"aucun",normalized:"no"},end:{primary:"fin",alternatives:["terminer","finir"],normalized:"end"},js:{primary:"js",normalized:"js"},async:{primary:"asynchrone",normalized:"async"},tell:{primary:"dire",normalized:"tell"},default:{primary:"d\u00e9faut",normalized:"default"},init:{primary:"initialiser",normalized:"init"},behavior:{primary:"comportement",normalized:"behavior"},install:{primary:"installer",normalized:"install"},measure:{primary:"mesurer",normalized:"measure"},beep:{primary:"bip",normalized:"beep"},break:{primary:"interrompre",normalized:"break"},copy:{primary:"copier",normalized:"copy"},exit:{primary:"sortir",normalized:"exit"},pick:{primary:"choisir",normalized:"pick"},render:{primary:"rendu",normalized:"render"},into:{primary:"dans",normalized:"into"},before:{primary:"avant",normalized:"before"},after:{primary:"apr\u00e8s",normalized:"after"},click:{primary:"clic",alternatives:["clique"],normalized:"click"},resize:{primary:"redimensionnement",alternatives:["redimensionner"],normalized:"resize"},hover:{primary:"survol",alternatives:["survoler"],normalized:"hover"},submit:{primary:"soumission",alternatives:["soumettre"],normalized:"submit"},input:{primary:"saisie",alternatives:["entr\u00e9e"],normalized:"input"},change:{primary:"changement",alternatives:["modifier","changer"],normalized:"change"},load:{primary:"charger",alternatives:["chargement"],normalized:"load"},until:{primary:"jusqu'\u00e0",alternatives:["jusque"],normalized:"until"},event:{primary:"\u00e9v\u00e9nement",normalized:"event"},from:{primary:"de",alternatives:["depuis"],normalized:"from"},connect:{primary:"connecter",alternatives:["connexion"],normalized:"connect"},stream:{primary:"flux",alternatives:["streaming"],normalized:"stream"},live:{primary:"en-direct",alternatives:["direct","vif"],normalized:"live"},socket:{primary:"socket",alternatives:["websocket"],normalized:"socket"},bind:{primary:"lier",alternatives:["relier","bind"],normalized:"bind"},intercept:{primary:"intercepter",alternatives:["intercept"],normalized:"intercept"},worker:{primary:"travailleur",alternatives:["worker"],normalized:"worker"},eventsource:{primary:"eventsource",alternatives:["source-d-evenements"],normalized:"eventsource"}},eventHandler:{keyword:{primary:"sur",alternatives:["lors"],normalized:"on"},sourceMarker:{primary:"de",alternatives:["depuis"],position:"before"},conditionalKeyword:{primary:"quand",alternatives:["lorsque"]},eventMarker:{primary:"au",alternatives:["lors du","lors de","sur"],position:"before"},temporalMarkers:["quand","lorsque"]}}}}),Yt={};x(Yt,{hebrewProfile:()=>Gt});var Xt,Qt=b({"src/generators/profiles/he.ts"(){Gt={code:"he",name:"Hebrew",nativeName:"\u05e2\u05d1\u05e8\u05d9\u05ea",direction:"rtl",script:"hebrew",wordOrder:"SVO",markingStrategy:"preposition",usesSpaces:!0,verb:{position:"second",subjectDrop:!0},references:{me:"\u05d0\u05e0\u05d9",it:"\u05d6\u05d4",you:"\u05d0\u05ea\u05d4",result:"\u05ea\u05d5\u05e6\u05d0\u05d4",event:"\u05d0\u05d9\u05e8\u05d5\u05e2",target:"\u05d9\u05e2\u05d3",body:"\u05d2\u05d5\u05e3"},possessive:{marker:"\u05e9\u05dc",markerPosition:"before-property",usePossessiveAdjectives:!0,specialForms:{me:"\u05e9\u05dc\u05d9",it:"\u05e9\u05dc\u05d5",you:"\u05e9\u05dc\u05da"},keywords:{"\u05e9\u05dc\u05d9":"me","\u05e9\u05dc\u05da":"you","\u05e9\u05dc\u05d5":"it","\u05e9\u05dc\u05d4":"it"}},roleMarkers:{destination:{primary:"\u05e2\u05dc",alternatives:["\u05d1","\u05d0\u05dc","\u05dc"],position:"before"},source:{primary:"\u05de",alternatives:["\u05de\u05df","\u05de\u05d0\u05ea"],position:"before"},patient:{primary:"\u05d0\u05ea",position:"before"},style:{primary:"\u05e2\u05dd",alternatives:["\u05d1"],position:"before"}},keywords:{toggle:{primary:"\u05de\u05ea\u05d2",alternatives:["\u05d4\u05d3\u05dc\u05e7 \u05db\u05d1\u05d4"],normalized:"toggle"},add:{primary:"\u05d4\u05d5\u05e1\u05e3",normalized:"add"},remove:{primary:"\u05d4\u05e1\u05e8",alternatives:["\u05de\u05d7\u05e7","\u05d4\u05d5\u05e8\u05d3"],normalized:"remove"},put:{primary:"\u05e9\u05d9\u05dd",alternatives:["\u05d4\u05e0\u05d7","\u05d4\u05db\u05e0\u05e1"],normalized:"put"},append:{primary:"\u05e6\u05e8\u05e3",alternatives:["\u05d4\u05d5\u05e1\u05e3 \u05d1\u05e1\u05d5\u05e3"],normalized:"append"},prepend:{primary:"\u05d4\u05e7\u05d3\u05dd",alternatives:["\u05d4\u05d5\u05e1\u05e3 \u05d1\u05d4\u05ea\u05d7\u05dc\u05d4"],normalized:"prepend"},take:{primary:"\u05e7\u05d7",normalized:"take"},make:{primary:"\u05e6\u05d5\u05e8",alternatives:["\u05d4\u05db\u05df"],normalized:"make"},clone:{primary:"\u05e9\u05db\u05e4\u05dc",normalized:"clone"},swap:{primary:"\u05d4\u05d7\u05dc\u05e3",alternatives:["\u05d4\u05de\u05e8"],normalized:"swap"},morph:{primary:"\u05d4\u05e4\u05d5\u05da",alternatives:["\u05e2\u05e6\u05d1 \u05de\u05d7\u05d3\u05e9"],normalized:"morph"},set:{primary:"\u05e7\u05d1\u05e2",alternatives:["\u05d4\u05d2\u05d3\u05e8"],normalized:"set"},get:{primary:"\u05e7\u05d1\u05dc",alternatives:["\u05d4\u05e9\u05d2"],normalized:"get"},increment:{primary:"\u05d4\u05d2\u05d3\u05dc",alternatives:["\u05d4\u05d5\u05e1\u05e3 \u05d0\u05d7\u05d3"],normalized:"increment"},decrement:{primary:"\u05d4\u05e7\u05d8\u05df",alternatives:["\u05d4\u05e4\u05d7\u05ea"],normalized:"decrement"},log:{primary:"\u05e8\u05e9\u05d5\u05dd",normalized:"log"},show:{primary:"\u05d4\u05e8\u05d0\u05d4",alternatives:["\u05d4\u05e6\u05d2"],normalized:"show"},hide:{primary:"\u05d4\u05e1\u05ea\u05e8",alternatives:["\u05d4\u05d7\u05d1\u05d0"],normalized:"hide"},transition:{primary:"\u05de\u05e2\u05d1\u05e8",alternatives:["\u05d4\u05e0\u05e4\u05e9"],normalized:"transition"},on:{primary:"\u05d1",normalized:"on"},trigger:{primary:"\u05d4\u05e4\u05e2\u05dc",alternatives:["\u05e9\u05d2\u05e8"],normalized:"trigger"},send:{primary:"\u05e9\u05dc\u05d7",normalized:"send"},focus:{primary:"\u05de\u05e7\u05d3",alternatives:["\u05d4\u05ea\u05de\u05e7\u05d3"],normalized:"focus"},blur:{primary:"\u05d8\u05e9\u05d8\u05e9",alternatives:["\u05d4\u05e1\u05e8 \u05de\u05d9\u05e7\u05d5\u05d3"],normalized:"blur"},empty:{primary:"\u05e8\u05d5\u05e7\u05df",normalized:"empty"},open:{primary:"\u05e4\u05ea\u05d7",normalized:"open"},close:{primary:"\u05e1\u05d2\u05d5\u05e8",normalized:"close"},select:{primary:"\u05e1\u05de\u05df",normalized:"select"},clear:{primary:"\u05e0\u05e7\u05d4",normalized:"clear"},reset:{primary:"\u05d0\u05e4\u05e1",normalized:"reset"},breakpoint:{primary:"\u05e0\u05e7\u05d5\u05d3\u05ea-\u05e2\u05e6\u05d9\u05e8\u05d4",alternatives:["breakpoint"],normalized:"breakpoint"},go:{primary:"\u05dc\u05da",alternatives:["\u05e0\u05d5\u05d5\u05d8"],normalized:"go"},scroll:{primary:"\u05d2\u05dc\u05d5\u05dc",normalized:"scroll"},push:{primary:"\u05d3\u05d7\u05d5\u05e3",alternatives:["\u05d4\u05d5\u05e1\u05e3-\u05dc\u05d4\u05d9\u05e1\u05d8\u05d5\u05e8\u05d9\u05d4"],normalized:"push"},replace:{primary:"\u05d4\u05d7\u05dc\u05e3_\u05db\u05ea\u05d5\u05d1\u05ea",alternatives:["\u05e9\u05e0\u05d4_\u05db\u05ea\u05d5\u05d1\u05ea"],normalized:"replace"},process:{primary:"\u05e2\u05d1\u05d3",alternatives:["\u05e2\u05d9\u05d1\u05d5\u05d3"],normalized:"process"},wait:{primary:"\u05d7\u05db\u05d4",alternatives:["\u05d4\u05de\u05ea\u05df"],normalized:"wait"},fetch:{primary:"\u05d4\u05d1\u05d0",alternatives:["\u05d8\u05e2\u05df"],normalized:"fetch"},settle:{primary:"\u05d4\u05ea\u05d9\u05d9\u05e6\u05d1",normalized:"settle"},if:{primary:"\u05d0\u05dd",normalized:"if"},unless:{primary:"\u05d0\u05dc\u05d0",normalized:"unless"},when:{primary:"\u05db\u05d0\u05e9\u05e8",alternatives:["\u05db\u05e9"],normalized:"when"},changes:{primary:"\u05de\u05e9\u05ea\u05e0\u05d4",normalized:"changes"},where:{primary:"\u05d0\u05d9\u05e4\u05d4",alternatives:["\u05d4\u05d9\u05db\u05df"],normalized:"where"},else:{primary:"\u05d0\u05d7\u05e8\u05ea",alternatives:["\u05d0\u05dd \u05dc\u05d0"],normalized:"else"},repeat:{primary:"\u05d7\u05d6\u05d5\u05e8",normalized:"repeat"},for:{primary:"\u05e2\u05d1\u05d5\u05e8",alternatives:["\u05dc\u05db\u05dc"],normalized:"for"},while:{primary:"\u05db\u05dc \u05e2\u05d5\u05d3",alternatives:["\u05d1\u05d6\u05de\u05df"],normalized:"while"},forever:{primary:"forever",normalized:"forever"},continue:{primary:"\u05d4\u05de\u05e9\u05da",normalized:"continue"},halt:{primary:"\u05e2\u05e6\u05d5\u05e8",alternatives:["\u05d4\u05e4\u05e1\u05e7"],normalized:"halt"},throw:{primary:"\u05d6\u05e8\u05d5\u05e7",normalized:"throw"},call:{primary:"\u05e7\u05e8\u05d0",alternatives:["\u05d6\u05de\u05df"],normalized:"call"},return:{primary:"\u05d4\u05d7\u05d6\u05e8",normalized:"return"},then:{primary:"\u05d0\u05d6",alternatives:["\u05d5\u05d0\u05d6"],normalized:"then"},and:{primary:"\u05d5\u05d2\u05dd",alternatives:["\u05d2\u05dd"],normalized:"and"},end:{primary:"\u05e1\u05d5\u05e3",alternatives:["\u05e1\u05d9\u05d5\u05dd"],normalized:"end"},js:{primary:"js",alternatives:["\u05d2\u05f3\u05d0\u05d5\u05d5\u05d4\u05e1\u05e7\u05e8\u05d9\u05e4\u05d8"],normalized:"js"},async:{primary:"\u05d0\u05e1\u05d9\u05e0\u05db\u05e8\u05d5\u05e0\u05d9",normalized:"async"},tell:{primary:"\u05d0\u05de\u05d5\u05e8",normalized:"tell"},default:{primary:"\u05d1\u05e8\u05d9\u05e8\u05ea \u05de\u05d7\u05d3\u05dc",normalized:"default"},init:{primary:"\u05d0\u05ea\u05d7\u05dc",alternatives:["\u05d4\u05ea\u05d7\u05dc"],normalized:"init"},behavior:{primary:"\u05d4\u05ea\u05e0\u05d4\u05d2\u05d5\u05ea",normalized:"behavior"},install:{primary:"\u05d4\u05ea\u05e7\u05df",normalized:"install"},measure:{primary:"\u05de\u05d3\u05d5\u05d3",normalized:"measure"},beep:{primary:"\u05d1\u05d9\u05e4",normalized:"beep"},break:{primary:"\u05e9\u05d1\u05d5\u05e8",normalized:"break"},copy:{primary:"\u05d4\u05e2\u05ea\u05e7",normalized:"copy"},exit:{primary:"\u05e6\u05d0",normalized:"exit"},pick:{primary:"\u05d1\u05d7\u05e8",normalized:"pick"},render:{primary:"\u05e8\u05e0\u05d3\u05e8",normalized:"render"},into:{primary:"\u05dc\u05ea\u05d5\u05da",alternatives:["\u05d0\u05dc"],normalized:"into"},before:{primary:"\u05dc\u05e4\u05e0\u05d9",normalized:"before"},after:{primary:"\u05d0\u05d7\u05e8\u05d9",normalized:"after"},click:{primary:"\u05dc\u05d7\u05d9\u05e6\u05d4",alternatives:["\u05e7\u05dc\u05d9\u05e7"],normalized:"click"},hover:{primary:"\u05e8\u05d9\u05d7\u05d5\u05e3",normalized:"hover"},submit:{primary:"\u05e9\u05dc\u05d9\u05d7\u05d4",alternatives:["\u05d4\u05d2\u05e9\u05d4"],normalized:"submit"},input:{primary:"\u05e7\u05dc\u05d8",alternatives:["\u05d4\u05d6\u05e0\u05d4"],normalized:"input"},change:{primary:"\u05e9\u05d9\u05e0\u05d5\u05d9",alternatives:["\u05e2\u05d3\u05db\u05d5\u05df"],normalized:"change"},until:{primary:"\u05e2\u05d3",normalized:"until"},event:{primary:"\u05d0\u05d9\u05e8\u05d5\u05e2",normalized:"event"},from:{primary:"\u05de",alternatives:["\u05de\u05d0\u05ea"],normalized:"from"},connect:{primary:"\u05d4\u05ea\u05d7\u05d1\u05e8",alternatives:["\u05d7\u05d1\u05e8","\u05d4\u05ea\u05d7\u05d1\u05e8\u05d5\u05ea"],normalized:"connect"},stream:{primary:"\u05d4\u05d6\u05e8\u05dd",alternatives:["\u05e1\u05d8\u05e8\u05d9\u05dd","\u05e9\u05d9\u05d3\u05d5\u05e8"],normalized:"stream"},live:{primary:"\u05d7\u05d9",alternatives:["\u05d1\u05d6\u05de\u05df-\u05d0\u05de\u05ea","\u05dc\u05d9\u05d9\u05d1"],normalized:"live"},socket:{primary:"\u05e9\u05e7\u05e2",alternatives:["\u05e1\u05d5\u05e7\u05d8","\u05d5\u05d5\u05d1-\u05e1\u05d5\u05e7\u05d8","socket"],normalized:"socket"},bind:{primary:"\u05e7\u05e9\u05d5\u05e8",alternatives:["\u05d0\u05d2\u05d3","bind"],normalized:"bind"},intercept:{primary:"\u05d9\u05d9\u05e8\u05d8",alternatives:["\u05d9\u05d9\u05e8\u05d5\u05d8","intercept"],normalized:"intercept"},worker:{primary:"\u05e2\u05d5\u05d1\u05d3",alternatives:["worker"],normalized:"worker"},eventsource:{primary:"eventsource",alternatives:["\u05de\u05e7\u05d5\u05e8-\u05d0\u05d9\u05e8\u05d5\u05e2\u05d9\u05dd"],normalized:"eventsource"}},tokenization:{prefixes:["\u05d4","\u05d5","\u05d1","\u05db","\u05dc","\u05de","\u05e9"]},eventHandler:{keyword:{primary:"\u05d1",normalized:"on"},sourceMarker:{primary:"\u05de",alternatives:["\u05de\u05d0\u05ea"],position:"before"},conditionalKeyword:{primary:"\u05db\u05d0\u05e9\u05e8",alternatives:["\u05db\u05e9","\u05d0\u05dd"]},eventMarker:{primary:"\u05d1",alternatives:["\u05db\u05e9"],position:"before"},temporalMarkers:["\u05db\u05d0\u05e9\u05e8","\u05db\u05e9"]}}}}),Jt={};x(Jt,{hindiProfile:()=>Xt});var er,tr=b({"src/generators/profiles/hindi.ts"(){Xt={code:"hi",name:"Hindi",nativeName:"\u0939\u093f\u0928\u094d\u0926\u0940",direction:"ltr",script:"devanagari",wordOrder:"SOV",markingStrategy:"postposition",usesSpaces:!0,defaultVerbForm:"imperative",verb:{position:"end",suffixes:["\u0947\u0902","\u093e","\u0940","\u0947","\u094b"],subjectDrop:!0},references:{me:"\u092e\u0948\u0902",it:"\u092f\u0939",you:"\u0906\u092a",result:"\u092a\u0930\u093f\u0923\u093e\u092e",event:"\u0918\u091f\u0928\u093e",target:"\u0932\u0915\u094d\u0937\u094d\u092f",body:"\u092c\u0949\u0921\u0940",document:"\u0926\u0938\u094d\u0924\u093e\u0935\u0947\u091c\u093c",window:"\u0935\u093f\u0902\u0921\u094b",detail:"\u0935\u093f\u0935\u0930\u0923"},possessive:{marker:"\u0915\u093e",markerPosition:"between",keywords:{"\u092e\u0947\u0930\u093e":"me","\u092e\u0947\u0930\u0940":"me","\u092e\u0947\u0930\u0947":"me","\u0924\u0947\u0930\u093e":"you","\u0924\u0947\u0930\u0940":"you","\u0924\u0947\u0930\u0947":"you","\u0906\u092a\u0915\u093e":"you","\u0906\u092a\u0915\u0940":"you","\u0906\u092a\u0915\u0947":"you","\u0909\u0938\u0915\u093e":"it","\u0909\u0938\u0915\u0940":"it","\u0909\u0938\u0915\u0947":"it","\u0907\u0938\u0915\u093e":"it","\u0907\u0938\u0915\u0940":"it","\u0907\u0938\u0915\u0947":"it"}},roleMarkers:{patient:{primary:"\u0915\u094b",position:"after"},destination:{primary:"\u092e\u0947\u0902",alternatives:["\u092a\u0930"],position:"after"},source:{primary:"\u0938\u0947",position:"after"},style:{primary:"\u0938\u0947",position:"after"},event:{primary:"\u092a\u0930",position:"after"}},keywords:{toggle:{primary:"\u091f\u0949\u0917\u0932",alternatives:["\u092c\u0926\u0932\u0947\u0902","\u092c\u0926\u0932"],normalized:"toggle"},add:{primary:"\u091c\u094b\u0921\u093c\u0947\u0902",alternatives:["\u091c\u094b\u0921\u093c"],normalized:"add"},remove:{primary:"\u0939\u091f\u093e\u090f\u0902",alternatives:["\u0939\u091f\u093e","\u092e\u093f\u091f\u093e\u090f\u0902"],normalized:"remove"},put:{primary:"\u0930\u0916\u0947\u0902",alternatives:["\u0930\u0916","\u0921\u093e\u0932\u0947\u0902","\u0921\u093e\u0932"],normalized:"put"},append:{primary:"\u0938\u0902\u0932\u0917\u094d\u0928",alternatives:[],normalized:"append"},prepend:{primary:"\u091c\u094b\u0921\u093c\u0947\u0902_\u0936\u0941\u0930\u0942",alternatives:[],normalized:"prepend"},take:{primary:"\u0932\u0947\u0902",alternatives:["\u0932\u0947"],normalized:"take"},make:{primary:"\u092c\u0928\u093e\u090f\u0902",alternatives:["\u092c\u0928\u093e"],normalized:"make"},clone:{primary:"\u0915\u094d\u0932\u094b\u0928",alternatives:["\u092a\u094d\u0930\u0924\u093f\u0932\u093f\u092a\u093f"],normalized:"clone"},swap:{primary:"\u0935\u093f\u0928\u093f\u092e\u092f",alternatives:[],normalized:"swap"},morph:{primary:"\u0930\u0942\u092a\u093e\u0902\u0924\u0930",alternatives:[],normalized:"morph"},set:{primary:"\u0938\u0947\u091f",alternatives:["\u0928\u093f\u0930\u094d\u0927\u093e\u0930\u093f\u0924"],normalized:"set"},get:{primary:"\u092a\u094d\u0930\u093e\u092a\u094d\u0924",alternatives:["\u092a\u093e\u090f\u0902"],normalized:"get"},increment:{primary:"\u092c\u0922\u093c\u093e\u090f\u0902",alternatives:["\u092c\u0922\u093c\u093e"],normalized:"increment"},decrement:{primary:"\u0918\u091f\u093e\u090f\u0902",alternatives:["\u0918\u091f\u093e"],normalized:"decrement"},log:{primary:"\u0932\u0949\u0917",alternatives:["\u0926\u0930\u094d\u091c"],normalized:"log"},show:{primary:"\u0926\u093f\u0916\u093e\u090f\u0902",alternatives:["\u0926\u093f\u0916\u093e"],normalized:"show"},hide:{primary:"\u091b\u093f\u092a\u093e\u090f\u0902",alternatives:["\u091b\u093f\u092a\u093e"],normalized:"hide"},transition:{primary:"\u0938\u0902\u0915\u094d\u0930\u092e\u0923",alternatives:[],normalized:"transition"},on:{primary:"\u092a\u0930",alternatives:[],normalized:"on"},trigger:{primary:"\u091f\u094d\u0930\u093f\u0917\u0930",alternatives:[],normalized:"trigger"},send:{primary:"\u092d\u0947\u091c\u0947\u0902",alternatives:["\u092d\u0947\u091c"],normalized:"send"},focus:{primary:"\u092b\u094b\u0915\u0938",alternatives:["\u0915\u0947\u0902\u0926\u094d\u0930\u093f\u0924"],normalized:"focus"},blur:{primary:"\u0927\u0941\u0902\u0927\u0932\u093e",alternatives:["\u092b\u094b\u0915\u0938_\u0939\u091f\u093e\u090f\u0902"],normalized:"blur"},empty:{primary:"\u0916\u093e\u0932\u0940-\u0915\u0930\u0947\u0902",alternatives:["\u0916\u093e\u0932\u0940"],normalized:"empty"},open:{primary:"\u0916\u094b\u0932\u0947\u0902",normalized:"open"},close:{primary:"\u092c\u0902\u0926-\u0915\u0930\u0947\u0902",normalized:"close"},select:{primary:"\u091a\u093f\u0939\u094d\u0928\u093f\u0924-\u0915\u0930\u0947\u0902",normalized:"select"},clear:{primary:"\u0938\u093e\u092b\u093c-\u0915\u0930\u0947\u0902",alternatives:["\u0938\u093e\u092b-\u0915\u0930\u0947\u0902"],normalized:"clear"},reset:{primary:"\u0930\u0940\u0938\u0947\u091f",normalized:"reset"},breakpoint:{primary:"\u092c\u094d\u0930\u0947\u0915\u092a\u094d\u0935\u093e\u0907\u0902\u091f",normalized:"breakpoint"},click:{primary:"\u0915\u094d\u0932\u093f\u0915",normalized:"click"},hover:{primary:"\u0939\u094b\u0935\u0930",alternatives:["\u090a\u092a\u0930_\u0930\u0916\u0947\u0902"],normalized:"hover"},submit:{primary:"\u0938\u092c\u092e\u093f\u091f",alternatives:["\u091c\u092e\u093e"],normalized:"submit"},input:{primary:"\u0907\u0928\u092a\u0941\u091f",alternatives:[],normalized:"input"},change:{primary:"\u092c\u0926\u0932\u093e\u0935",alternatives:["\u092a\u0930\u093f\u0935\u0930\u094d\u0924\u0928"],normalized:"change"},go:{primary:"\u091c\u093e\u090f\u0902",alternatives:["\u091c\u093e"],normalized:"go"},scroll:{primary:"\u0938\u094d\u0915\u094d\u0930\u0949\u0932",normalized:"scroll"},push:{primary:"\u0927\u0915\u0947\u0932\u0947\u0902",alternatives:["\u092a\u0941\u0936"],normalized:"push"},replace:{primary:"\u092c\u0926\u0932\u0947\u0902_\u092f\u0942\u0906\u0930\u090f\u0932",alternatives:["\u092a\u094d\u0930\u0924\u093f\u0938\u094d\u0925\u093e\u092a\u093f\u0924"],normalized:"replace"},process:{primary:"\u0938\u0902\u0938\u093e\u0927\u093f\u0924",alternatives:["\u092a\u094d\u0930\u0938\u0902\u0938\u094d\u0915\u0943\u0924"],normalized:"process"},wait:{primary:"\u092a\u094d\u0930\u0924\u0940\u0915\u094d\u0937\u093e",alternatives:["\u0930\u0941\u0915\u0947\u0902"],normalized:"wait"},fetch:{primary:"\u0932\u093e\u090f\u0902",alternatives:[],normalized:"fetch"},settle:{primary:"\u0938\u094d\u0925\u093f\u0930",alternatives:[],normalized:"settle"},if:{primary:"\u0905\u0917\u0930",alternatives:["\u092f\u0926\u093f"],normalized:"if"},when:{primary:"\u091c\u092c",normalized:"when"},changes:{primary:"\u092c\u0926\u0932\u0928\u0947 \u092a\u0930",normalized:"changes"},where:{primary:"\u0915\u0939\u093e\u0901",normalized:"where"},else:{primary:"\u0935\u0930\u0928\u093e",alternatives:["\u0928\u0939\u0940\u0902 \u0924\u094b"],normalized:"else"},repeat:{primary:"\u0926\u094b\u0939\u0930\u093e\u090f\u0902",alternatives:["\u0926\u094b\u0939\u0930\u093e"],normalized:"repeat"},for:{primary:"\u0915\u0947 \u0932\u093f\u090f",alternatives:["\u0939\u0947\u0924\u0941"],normalized:"for"},while:{primary:"\u091c\u092c \u0924\u0915",alternatives:[],normalized:"while"},forever:{primary:"\u0939\u092e\u0947\u0936\u093e",normalized:"forever",alternatives:["forever"]},unless:{primary:"\u091c\u092c \u0924\u0915 \u0928\u0939\u0940\u0902",normalized:"unless"},continue:{primary:"\u091c\u093e\u0930\u0940",alternatives:[],normalized:"continue"},halt:{primary:"\u0930\u094b\u0915\u0947\u0902",alternatives:["\u0930\u094b\u0915"],normalized:"halt"},throw:{primary:"\u092b\u0947\u0902\u0915\u0947\u0902",alternatives:["\u092b\u0947\u0902\u0915"],normalized:"throw"},call:{primary:"\u0915\u0949\u0932",alternatives:["\u092c\u0941\u0932\u093e\u090f\u0902"],normalized:"call"},return:{primary:"\u0932\u094c\u091f\u093e\u090f\u0902",alternatives:["\u0932\u094c\u091f\u093e"],normalized:"return"},then:{primary:"\u092b\u093f\u0930",alternatives:["\u0924\u092c"],normalized:"then"},and:{primary:"\u0914\u0930",alternatives:[],normalized:"and"},matches:{primary:"\u092e\u0947\u0932 \u0916\u093e\u0924\u093e",normalized:"matches"},exists:{primary:"\u092e\u094c\u091c\u0942\u0926",normalized:"exists"},end:{primary:"\u0938\u092e\u093e\u092a\u094d\u0924",alternatives:["\u0905\u0902\u0924"],normalized:"end"},js:{primary:"\u091c\u0947\u090f\u0938",alternatives:["js"],normalized:"js"},async:{primary:"\u0905\u0938\u093f\u0902\u0915",alternatives:[],normalized:"async"},tell:{primary:"\u092c\u0924\u093e\u090f\u0902",alternatives:["\u092c\u0924\u093e"],normalized:"tell"},default:{primary:"\u0921\u093f\u092b\u093c\u0949\u0932\u094d\u091f",alternatives:[],normalized:"default"},init:{primary:"\u092a\u094d\u0930\u093e\u0930\u0902\u092d",alternatives:[],normalized:"init"},behavior:{primary:"\u0935\u094d\u092f\u0935\u0939\u093e\u0930",alternatives:[],normalized:"behavior"},install:{primary:"\u0907\u0902\u0938\u094d\u091f\u0949\u0932",alternatives:[],normalized:"install"},measure:{primary:"\u092e\u093e\u092a\u0947\u0902",alternatives:[],normalized:"measure"},beep:{primary:"\u092c\u0940\u092a",alternatives:[],normalized:"beep"},break:{primary:"\u0924\u094b\u0921\u093c\u0947\u0902",alternatives:[],normalized:"break"},copy:{primary:"\u0915\u0949\u092a\u0940",alternatives:[],normalized:"copy"},exit:{primary:"\u092c\u093e\u0939\u0930",alternatives:[],normalized:"exit"},pick:{primary:"\u091a\u0941\u0928\u0947\u0902",alternatives:[],normalized:"pick"},render:{primary:"\u0930\u0947\u0902\u0921\u0930",alternatives:[],normalized:"render"},into:{primary:"\u092e\u0947\u0902",alternatives:[],normalized:"into"},before:{primary:"\u0938\u0947 \u092a\u0939\u0932\u0947",alternatives:["\u092a\u0939\u0932\u0947"],normalized:"before"},after:{primary:"\u0915\u0947 \u092c\u093e\u0926",alternatives:["\u092c\u093e\u0926"],normalized:"after"},until:{primary:"\u0924\u0915",alternatives:[],normalized:"until"},event:{primary:"\u0918\u091f\u0928\u093e",alternatives:[],normalized:"event"},from:{primary:"\u0938\u0947",normalized:"from"},connect:{primary:"\u0915\u0928\u0947\u0915\u094d\u091f",alternatives:["\u0938\u0902\u092f\u094b\u091c\u093f\u0924"],normalized:"connect"},stream:{primary:"\u0938\u094d\u091f\u094d\u0930\u0940\u092e",alternatives:["\u0927\u093e\u0930\u093e","\u092a\u094d\u0930\u0935\u093e\u0939"],normalized:"stream"},live:{primary:"\u0932\u093e\u0907\u0935",alternatives:["\u0938\u091c\u0940\u0935","\u092a\u094d\u0930\u0924\u094d\u092f\u0915\u094d\u0937"],normalized:"live"},socket:{primary:"\u0938\u0949\u0915\u0947\u091f",alternatives:["\u0935\u0947\u092c\u0938\u0949\u0915\u0947\u091f"],normalized:"socket"},worker:{primary:"worker",alternatives:["\u0935\u0930\u094d\u0915\u0930"],normalized:"worker"},eventsource:{primary:"eventsource",alternatives:["\u0907\u0935\u0947\u0902\u091f\u0938\u094b\u0930\u094d\u0938"],normalized:"eventsource"},bind:{primary:"bind",alternatives:["\u092c\u093e\u0907\u0902\u0921","\u092c\u093e\u0902\u0927\u0947\u0902"],normalized:"bind"},intercept:{primary:"intercept",alternatives:["\u0907\u0902\u091f\u0930\u0938\u0947\u092a\u094d\u091f"],normalized:"intercept"}},tokenization:{particles:["\u0915\u094b","\u092e\u0947\u0902","\u092a\u0930","\u0938\u0947","\u0915\u093e","\u0915\u0940","\u0915\u0947","\u0924\u0915","\u0928\u0947"],boundaryStrategy:"space"},eventHandler:{keyword:{primary:"\u092a\u0930",alternatives:[],normalized:"on"},sourceMarker:{primary:"\u0938\u0947",position:"after"},eventMarker:{primary:"\u092a\u0930",alternatives:[],position:"after"},temporalMarkers:["\u091c\u092c","\u091c\u092c \u092d\u0940"]}}}}),rr={};x(rr,{indonesianProfile:()=>er});var ir,ar=b({"src/generators/profiles/indonesian.ts"(){er={code:"id",name:"Indonesian",nativeName:"Bahasa Indonesia",regions:["priority"],direction:"ltr",script:"latin",wordOrder:"SVO",markingStrategy:"preposition",usesSpaces:!0,verb:{position:"start",subjectDrop:!0},references:{me:"saya",it:"itu",you:"anda",result:"hasil",event:"peristiwa",target:"target",body:"badan",document:"dokumen",window:"jendela",detail:"detail"},possessive:{marker:"",markerPosition:"after-object",usePossessiveAdjectives:!0,specialForms:{me:"saya",it:"nya",you:"anda"},keywords:{saya:"me",aku:"me",ku:"me",my:"me",anda:"you",kamu:"you",mu:"you",nya:"it",dia:"it",miliknya:"it"},connectors:["punya"]},roleMarkers:{destination:{primary:"pada",alternatives:["ke","di"],position:"before"},source:{primary:"dari",position:"before"},patient:{primary:"",position:"before"},style:{primary:"dengan",position:"before"}},keywords:{toggle:{primary:"alihkan",normalized:"toggle"},add:{primary:"tambah",alternatives:["tambahkan"],normalized:"add"},remove:{primary:"hapus",alternatives:["buang","hilangkan"],normalized:"remove"},put:{primary:"taruh",alternatives:["letakkan","masukkan"],normalized:"put"},append:{primary:"sisipkan",normalized:"append"},prepend:{primary:"awali",normalized:"prepend"},take:{primary:"ambil",normalized:"take"},make:{primary:"buat",alternatives:["bikin","ciptakan"],normalized:"make"},clone:{primary:"klon",alternatives:["tiru"],normalized:"clone"},swap:{primary:"tukar",alternatives:["ganti"],normalized:"swap"},morph:{primary:"ubah",alternatives:["transformasi"],normalized:"morph"},set:{primary:"atur",alternatives:["tetapkan"],normalized:"set"},get:{primary:"dapatkan",alternatives:["peroleh"],normalized:"get"},increment:{primary:"tingkatkan",alternatives:["naikkan"],normalized:"increment"},decrement:{primary:"turunkan",alternatives:["kurangi"],normalized:"decrement"},log:{primary:"catat",alternatives:["rekam","cetak"],normalized:"log"},show:{primary:"tampilkan",alternatives:["perlihatkan"],normalized:"show"},hide:{primary:"sembunyikan",alternatives:["tutup"],normalized:"hide"},transition:{primary:"transisi",alternatives:["animasikan"],normalized:"transition"},on:{primary:"pada",alternatives:["saat"],normalized:"on"},trigger:{primary:"picu",alternatives:["jalankan"],normalized:"trigger"},send:{primary:"kirim",alternatives:["kirimkan"],normalized:"send"},focus:{primary:"fokus",alternatives:["fokuskan"],normalized:"focus"},blur:{primary:"blur",normalized:"blur"},empty:{primary:"kosongkan",alternatives:["kosong"],normalized:"empty"},open:{primary:"buka",normalized:"open"},close:{primary:"tutupkan",normalized:"close"},select:{primary:"tandai",normalized:"select"},clear:{primary:"bersihkan",normalized:"clear"},reset:{primary:"setel-ulang",alternatives:["reset"],normalized:"reset"},breakpoint:{primary:"titik-henti",normalized:"breakpoint"},go:{primary:"pergi",alternatives:["pindah","navigasi"],normalized:"go"},scroll:{primary:"gulir",alternatives:["gulung"],normalized:"scroll"},push:{primary:"dorong",alternatives:["push"],normalized:"push"},replace:{primary:"ganti_url",alternatives:["gantikan_url"],normalized:"replace"},process:{primary:"proses",normalized:"process"},wait:{primary:"tunggu",normalized:"wait"},fetch:{primary:"muat",normalized:"fetch"},settle:{primary:"stabilkan",normalized:"settle"},if:{primary:"jika",alternatives:["kalau","bila"],normalized:"if"},unless:{primary:"kecuali",normalized:"unless"},when:{primary:"ketika",normalized:"when"},changes:{primary:"berubah",normalized:"changes"},where:{primary:"di_mana",normalized:"where"},else:{primary:"selainnya",alternatives:["lainnya"],normalized:"else"},repeat:{primary:"ulangi",normalized:"repeat"},for:{primary:"untuk",normalized:"for"},while:{primary:"selama",normalized:"while"},forever:{primary:"forever",normalized:"forever"},continue:{primary:"lanjutkan",alternatives:["terus"],normalized:"continue"},halt:{primary:"hentikan",alternatives:["berhenti"],normalized:"halt"},throw:{primary:"lempar",normalized:"throw"},call:{primary:"panggil",normalized:"call"},return:{primary:"kembalikan",alternatives:["kembali"],normalized:"return"},then:{primary:"lalu",alternatives:["kemudian","setelah itu"],normalized:"then"},and:{primary:"dan",alternatives:["juga","serta"],normalized:"and"},matches:{primary:"cocok",normalized:"matches"},end:{primary:"selesai",alternatives:["akhir","tamat"],normalized:"end"},js:{primary:"js",alternatives:["javascript"],normalized:"js"},async:{primary:"asinkron",normalized:"async"},tell:{primary:"katakan",alternatives:["beritahu"],normalized:"tell"},default:{primary:"bawaan",normalized:"default"},init:{primary:"inisialisasi",alternatives:["mulai"],normalized:"init"},behavior:{primary:"perilaku",normalized:"behavior"},install:{primary:"pasang",alternatives:["instal"],normalized:"install"},measure:{primary:"ukur",normalized:"measure"},beep:{primary:"bunyi",normalized:"beep"},break:{primary:"putuskan",normalized:"break"},copy:{primary:"salin",normalized:"copy"},exit:{primary:"keluar",normalized:"exit"},pick:{primary:"pilih",normalized:"pick"},render:{primary:"olah",normalized:"render"},into:{primary:"ke dalam",normalized:"into"},before:{primary:"sebelum",normalized:"before"},after:{primary:"sesudah",alternatives:["setelah"],normalized:"after"},click:{primary:"klik",alternatives:["tekan"],normalized:"click"},hover:{primary:"hover",alternatives:["arahkan"],normalized:"hover"},submit:{primary:"ajukan",normalized:"submit"},input:{primary:"masuk",alternatives:["input","masukan"],normalized:"input"},change:{primary:"berubah",normalized:"change"},until:{primary:"sampai",normalized:"until"},event:{primary:"peristiwa",alternatives:["event"],normalized:"event"},from:{primary:"dari",normalized:"from"},connect:{primary:"sambungkan",alternatives:["hubungkan","koneksi"],normalized:"connect"},stream:{primary:"alirkan",alternatives:["streaming"],normalized:"stream"},live:{primary:"langsung",alternatives:["live"],normalized:"live"},socket:{primary:"soket",alternatives:["socket","websocket"],normalized:"socket"},bind:{primary:"ikat",alternatives:["kaitkan","bind"],normalized:"bind"},intercept:{primary:"cegat",alternatives:["tangkap","intercept"],normalized:"intercept"},worker:{primary:"pekerja",alternatives:["worker"],normalized:"worker"},eventsource:{primary:"eventsource",alternatives:["sumber peristiwa"],normalized:"eventsource"}},eventHandler:{keyword:{primary:"pada",alternatives:["ketika","saat"],normalized:"on"},sourceMarker:{primary:"dari",position:"before"},conditionalKeyword:{primary:"ketika",alternatives:["saat","waktu"]},eventMarker:{primary:"saat",alternatives:["ketika","pada"],position:"before"},temporalMarkers:["ketika","saat"]}}}}),nr={};x(nr,{italianProfile:()=>ir});var or,sr=b({"src/generators/profiles/italian.ts"(){ir={code:"it",name:"Italian",nativeName:"Italiano",regions:["western"],direction:"ltr",script:"latin",wordOrder:"SVO",markingStrategy:"preposition",usesSpaces:!0,defaultVerbForm:"infinitive",verb:{position:"start",subjectDrop:!0},references:{me:"io",it:"esso",you:"tu",result:"risultato",event:"evento",target:"obiettivo",body:"corpo",document:"documento",window:"finestra",detail:"dettaglio"},possessive:{marker:"di",markerPosition:"before-property",usePossessiveAdjectives:!0,specialForms:{me:"mio",it:"suo",you:"tuo"},keywords:{mio:"me",mia:"me",miei:"me",mie:"me",tuo:"you",tua:"you",tuoi:"you",tue:"you",suo:"it",sua:"it",suoi:"it",sue:"it"}},roleMarkers:{destination:{primary:"in",alternatives:["su","a"],position:"before"},source:{primary:"da",alternatives:["di"],position:"before"},patient:{primary:"",position:"before"},style:{primary:"con",position:"before"}},keywords:{toggle:{primary:"commutare",alternatives:["alternare"],normalized:"toggle"},add:{primary:"aggiungere",alternatives:["aggiungi"],normalized:"add"},remove:{primary:"rimuovere",alternatives:["eliminare","togliere"],normalized:"remove"},put:{primary:"mettere",alternatives:["inserire"],normalized:"put"},append:{primary:"accodare",normalized:"append"},prepend:{primary:"anteporre",normalized:"prepend"},take:{primary:"prendere",normalized:"take"},make:{primary:"fare",alternatives:["creare"],normalized:"make"},clone:{primary:"clonare",normalized:"clone"},swap:{primary:"scambiare",normalized:"swap"},morph:{primary:"trasformare",alternatives:["convertire"],normalized:"morph"},set:{primary:"impostare",alternatives:["definire"],normalized:"set"},get:{primary:"ottenere",normalized:"get"},increment:{primary:"incrementare",alternatives:["aumentare"],normalized:"increment"},decrement:{primary:"decrementare",alternatives:["diminuire"],normalized:"decrement"},log:{primary:"registrare",normalized:"log"},show:{primary:"mostrare",alternatives:["visualizzare"],normalized:"show"},hide:{primary:"nascondere",normalized:"hide"},transition:{primary:"transizione",alternatives:["animare"],normalized:"transition"},on:{primary:"su",alternatives:["al"],normalized:"on"},trigger:{primary:"scatenare",alternatives:["attivare"],normalized:"trigger"},send:{primary:"inviare",normalized:"send"},focus:{primary:"focalizzare",normalized:"focus"},blur:{primary:"sfuocare",normalized:"blur"},empty:{primary:"svuotare",alternatives:["vuoto"],normalized:"empty"},open:{primary:"aprire",normalized:"open"},close:{primary:"chiudere",normalized:"close"},select:{primary:"selezionare",normalized:"select"},clear:{primary:"cancellare",normalized:"clear"},reset:{primary:"reimpostare",normalized:"reset"},breakpoint:{primary:"punto-interruzione",normalized:"breakpoint"},go:{primary:"andare",alternatives:["navigare","vai"],normalized:"go"},scroll:{primary:"scorrere",alternatives:["scroll"],normalized:"scroll"},push:{primary:"spingere",alternatives:["push"],normalized:"push"},replace:{primary:"sostituire",normalized:"replace"},process:{primary:"elaborare",alternatives:["processare"],normalized:"process"},wait:{primary:"aspettare",alternatives:["attendere"],normalized:"wait"},fetch:{primary:"recuperare",normalized:"fetch"},settle:{primary:"stabilizzare",normalized:"settle"},if:{primary:"se",normalized:"if"},unless:{primary:"salvo",normalized:"unless"},when:{primary:"quando",normalized:"when"},changes:{primary:"cambia",normalized:"changes"},where:{primary:"dove",normalized:"where"},else:{primary:"altrimenti",normalized:"else"},repeat:{primary:"ripetere",normalized:"repeat"},for:{primary:"per",normalized:"for"},while:{primary:"mentre",normalized:"while"},forever:{primary:"forever",normalized:"forever"},continue:{primary:"continuare",normalized:"continue"},halt:{primary:"fermare",normalized:"halt"},throw:{primary:"lanciare",normalized:"throw"},call:{primary:"chiamare",normalized:"call"},return:{primary:"ritornare",normalized:"return"},then:{primary:"allora",alternatives:["poi","quindi"],normalized:"then"},and:{primary:"e",alternatives:["anche"],normalized:"and"},matches:{primary:"corrisponde",normalized:"matches"},no:{primary:"nessun",normalized:"no"},end:{primary:"fine",normalized:"end"},js:{primary:"js",normalized:"js"},async:{primary:"asincrono",normalized:"async"},tell:{primary:"dire",normalized:"tell"},default:{primary:"predefinito",normalized:"default"},init:{primary:"inizializzare",alternatives:["inizia"],normalized:"init"},behavior:{primary:"comportamento",normalized:"behavior"},install:{primary:"installare",normalized:"install"},measure:{primary:"misurare",normalized:"measure"},beep:{primary:"beep",normalized:"beep"},break:{primary:"interrompere",normalized:"break"},copy:{primary:"copiare",normalized:"copy"},exit:{primary:"uscire",normalized:"exit"},pick:{primary:"scegliere",normalized:"pick"},render:{primary:"renderizzare",normalized:"render"},into:{primary:"in",alternatives:["dentro"],normalized:"into"},before:{primary:"prima",normalized:"before"},after:{primary:"dopo",normalized:"after"},click:{primary:"clic",alternatives:["clicca"],normalized:"click"},resize:{primary:"ridimensiona",normalized:"resize"},hover:{primary:"passaggio",alternatives:["sorvolo"],normalized:"hover"},submit:{primary:"invio",alternatives:["sottomettere"],normalized:"submit"},input:{primary:"inserimento",alternatives:["input"],normalized:"input"},change:{primary:"cambio",alternatives:["cambiamento"],normalized:"change"},load:{primary:"carica",alternatives:["caricamento"],normalized:"load"},until:{primary:"fino",normalized:"until"},event:{primary:"evento",normalized:"event"},from:{primary:"da",alternatives:["di"],normalized:"from"},connect:{primary:"connettere",alternatives:["connettersi","collegare"],normalized:"connect"},stream:{primary:"trasmettere",alternatives:["flusso","streaming"],normalized:"stream"},live:{primary:"in-diretta",alternatives:["diretta","dal-vivo","vivo"],normalized:"live"},socket:{primary:"socket",alternatives:["presa","websocket"],normalized:"socket"},bind:{primary:"vincolare",alternatives:["legare","bind"],normalized:"bind"},intercept:{primary:"intercettare",alternatives:["intercept"],normalized:"intercept"},worker:{primary:"lavoratore",alternatives:["worker"],normalized:"worker"},eventsource:{primary:"eventsource",alternatives:["sorgente-eventi"],normalized:"eventsource"}},eventHandler:{keyword:{primary:"su",alternatives:["al"],normalized:"on"},sourceMarker:{primary:"da",alternatives:["di"],position:"before"},conditionalKeyword:{primary:"quando",alternatives:["se"]},eventMarker:{primary:"al",alternatives:["allo","alla","su"],position:"before"},temporalMarkers:["quando","al"]}}}}),lr={};x(lr,{japaneseProfile:()=>or});var pr,mr=b({"src/generators/profiles/japanese.ts"(){or={code:"ja",name:"Japanese",nativeName:"\u65e5\u672c\u8a9e",regions:["east-asian","priority"],direction:"ltr",script:"cjk",wordOrder:"SOV",markingStrategy:"particle",usesSpaces:!1,defaultVerbForm:"base",verb:{position:"end",suffixes:["\u308b","\u3066","\u305f","\u307e\u3059","\u306a\u3044"],subjectDrop:!0},references:{me:"\u81ea\u5206",it:"\u305d\u308c",you:"\u3042\u306a\u305f",result:"\u7d50\u679c",event:"\u30a4\u30d9\u30f3\u30c8",target:"\u30bf\u30fc\u30b2\u30c3\u30c8",body:"\u30dc\u30c7\u30a3",document:"\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8",window:"\u30a6\u30a3\u30f3\u30c9\u30a6",detail:"\u8a73\u7d30"},possessive:{marker:"\u306e",markerPosition:"between",keywords:{"\u79c1\u306e":"me","\u3042\u306a\u305f\u306e":"you","\u305d\u306e":"it"}},roleMarkers:{patient:{primary:"\u3092",position:"after"},destination:{primary:"\u306b",alternatives:["\u3078","\u3067","\u306e"],position:"after"},source:{primary:"\u304b\u3089",position:"after"},style:{primary:"\u3067",position:"after"},event:{primary:"\u3092",position:"after"}},keywords:{toggle:{primary:"\u5207\u308a\u66ff\u3048",alternatives:["\u5207\u308a\u66ff\u3048\u308b","\u30c8\u30b0\u30eb","\u30c8\u30b0\u30eb\u3059\u308b"],normalized:"toggle"},add:{primary:"\u8ffd\u52a0",alternatives:["\u8ffd\u52a0\u3059\u308b","\u52a0\u3048\u308b"],normalized:"add"},remove:{primary:"\u524a\u9664",alternatives:["\u524a\u9664\u3059\u308b","\u53d6\u308a\u9664\u304f"],normalized:"remove"},put:{primary:"\u7f6e\u304f",alternatives:["\u5165\u308c\u308b"],normalized:"put"},append:{primary:"\u672b\u5c3e\u8ffd\u52a0",alternatives:["\u672b\u5c3e\u306b\u8ffd\u52a0","\u30a2\u30da\u30f3\u30c9"],normalized:"append"},prepend:{primary:"\u5148\u982d\u8ffd\u52a0",alternatives:["\u5148\u982d\u306b\u8ffd\u52a0","\u30d7\u30ea\u30da\u30f3\u30c9"],normalized:"prepend"},take:{primary:"\u53d6\u308b",normalized:"take"},make:{primary:"\u4f5c\u308b",alternatives:["\u4f5c\u6210"],normalized:"make"},clone:{primary:"\u8907\u88fd",alternatives:["\u30af\u30ed\u30fc\u30f3"],normalized:"clone"},swap:{primary:"\u4ea4\u63db",alternatives:["\u30b9\u30ef\u30c3\u30d7","\u5165\u308c\u66ff\u3048"],normalized:"swap"},morph:{primary:"\u5909\u5f62",alternatives:["\u30e2\u30fc\u30d5","\u5909\u63db"],normalized:"morph"},set:{primary:"\u8a2d\u5b9a",alternatives:["\u8a2d\u5b9a\u3059\u308b"],normalized:"set"},get:{primary:"\u53d6\u5f97",alternatives:["\u53d6\u5f97\u3059\u308b","\u30b2\u30c3\u30c8"],normalized:"get"},increment:{primary:"\u5897\u52a0",alternatives:["\u5897\u3084\u3059","\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8"],normalized:"increment"},decrement:{primary:"\u6e1b\u5c11",alternatives:["\u6e1b\u3089\u3059","\u30c7\u30af\u30ea\u30e1\u30f3\u30c8"],normalized:"decrement"},log:{primary:"\u8a18\u9332",alternatives:["\u30ed\u30b0","\u51fa\u529b"],normalized:"log"},show:{primary:"\u8868\u793a",alternatives:["\u8868\u793a\u3059\u308b","\u898b\u305b\u308b"],normalized:"show"},hide:{primary:"\u96a0\u3059",alternatives:["\u975e\u8868\u793a","\u975e\u8868\u793a\u306b\u3059\u308b"],normalized:"hide"},transition:{primary:"\u9077\u79fb",alternatives:["\u30c8\u30e9\u30f3\u30b8\u30b7\u30e7\u30f3","\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3"],normalized:"transition"},on:{primary:"\u3067",alternatives:["\u6642"],normalized:"on"},trigger:{primary:"\u5f15\u304d\u91d1",alternatives:["\u767a\u706b","\u30c8\u30ea\u30ac\u30fc"],normalized:"trigger"},send:{primary:"\u9001\u308b",alternatives:["\u9001\u4fe1"],normalized:"send"},focus:{primary:"\u30d5\u30a9\u30fc\u30ab\u30b9",normalized:"focus"},blur:{primary:"\u30d5\u30a9\u30fc\u30ab\u30b9\u89e3\u9664",alternatives:["\u30d5\u30a9\u30fc\u30ab\u30b9\u30a2\u30a6\u30c8","\u30d6\u30e9\u30fc","\u307c\u304b\u3057"],normalized:"blur"},empty:{primary:"\u7a7a\u306b",alternatives:["\u7a7a\u306b\u3059\u308b"],normalized:"empty"},open:{primary:"\u958b\u304f",alternatives:["\u30aa\u30fc\u30d7\u30f3"],normalized:"open"},close:{primary:"\u9589\u3058\u308b",alternatives:["\u30af\u30ed\u30fc\u30ba"],normalized:"close"},select:{primary:"\u9078\u3076",alternatives:["\u30bb\u30ec\u30af\u30c8"],normalized:"select"},clear:{primary:"\u30af\u30ea\u30a2",alternatives:["\u6d88\u53bb"],normalized:"clear"},reset:{primary:"\u30ea\u30bb\u30c3\u30c8",alternatives:["\u518d\u8a2d\u5b9a"],normalized:"reset"},breakpoint:{primary:"\u30d6\u30ec\u30fc\u30af\u30dd\u30a4\u30f3\u30c8",normalized:"breakpoint"},go:{primary:"\u79fb\u52d5",alternatives:["\u884c\u304f","\u30ca\u30d3\u30b2\u30fc\u30c8"],normalized:"go"},scroll:{primary:"\u30b9\u30af\u30ed\u30fc\u30eb",normalized:"scroll"},push:{primary:"\u30d7\u30c3\u30b7\u30e5",normalized:"push"},replace:{primary:"\u7f6e\u63db",alternatives:["\u7f6e\u304d\u63db\u3048"],normalized:"replace"},process:{primary:"\u51e6\u7406",normalized:"process"},wait:{primary:"\u5f85\u3064",alternatives:["\u5f85\u6a5f"],normalized:"wait"},fetch:{primary:"\u30d5\u30a7\u30c3\u30c1",normalized:"fetch"},settle:{primary:"\u5b89\u5b9a",alternatives:["\u843d\u3061\u7740\u304f"],normalized:"settle"},if:{primary:"\u3082\u3057",normalized:"if"},when:{primary:"\u3068\u304d",alternatives:["\u3068\u304d\u306b"],normalized:"when"},changes:{primary:"\u5909\u308f\u3063\u305f\u3089",normalized:"changes"},where:{primary:"\u3069\u3053",normalized:"where"},else:{primary:"\u305d\u3046\u3067\u306a\u3051\u308c\u3070",alternatives:["\u305d\u308c\u4ee5\u5916"],normalized:"else"},unless:{primary:"\u306a\u3044\u9650\u308a",normalized:"unless"},repeat:{primary:"\u7e70\u308a\u8fd4\u3057",alternatives:["\u7e70\u308a\u8fd4\u3059","\u30ea\u30d4\u30fc\u30c8"],normalized:"repeat"},for:{primary:"\u305f\u3081\u306b",alternatives:["\u5404"],normalized:"for"},while:{primary:"\u306e\u9593",alternatives:["\u9593"],normalized:"while"},forever:{primary:"forever",normalized:"forever"},continue:{primary:"\u7d9a\u3051\u308b",alternatives:["\u7d99\u7d9a"],normalized:"continue"},halt:{primary:"\u505c\u6b62",alternatives:["\u6b62\u3081\u308b","\u30cf\u30eb\u30c8"],normalized:"halt"},throw:{primary:"\u6295\u3052\u308b",alternatives:["\u30b9\u30ed\u30fc"],normalized:"throw"},call:{primary:"\u547c\u3073\u51fa\u3057",alternatives:["\u30b3\u30fc\u30eb","\u547c\u3076"],normalized:"call"},return:{primary:"\u623b\u308b",alternatives:["\u8fd4\u3059","\u30ea\u30bf\u30fc\u30f3"],normalized:"return"},then:{primary:"\u305d\u308c\u304b\u3089",alternatives:["\u6b21\u306b","\u306a\u3089\u3070","\u306a\u3089"],normalized:"then"},and:{primary:"\u307e\u305f",alternatives:["\u3068","\u305d\u3057\u3066"],normalized:"and"},matches:{primary:"\u4e00\u81f4\u3059\u308b",normalized:"matches"},exists:{primary:"\u5b58\u5728\u3059\u308b",normalized:"exists"},is:{primary:"\u3067\u3042\u308b",normalized:"is"},no:{primary:"\u306a\u3044",normalized:"no"},end:{primary:"\u7d42\u308f\u308a",alternatives:["\u304a\u308f\u308a"],normalized:"end"},js:{primary:"JS\u5b9f\u884c",alternatives:["js"],normalized:"js"},async:{primary:"\u975e\u540c\u671f",alternatives:["\u30a2\u30b7\u30f3\u30af"],normalized:"async"},tell:{primary:"\u4f1d\u3048\u308b",alternatives:["\u30c6\u30eb"],normalized:"tell"},default:{primary:"\u65e2\u5b9a",alternatives:["\u30c7\u30d5\u30a9\u30eb\u30c8"],normalized:"default"},init:{primary:"\u521d\u671f\u5316",normalized:"init"},behavior:{primary:"\u632f\u308b\u821e\u3044",alternatives:["\u30d3\u30d8\u30a4\u30d3\u30a2"],normalized:"behavior"},install:{primary:"\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb",alternatives:["\u5c0e\u5165"],normalized:"install"},measure:{primary:"\u6e2c\u5b9a",alternatives:["\u8a08\u6e2c","\u30e1\u30b8\u30e3\u30fc"],normalized:"measure"},beep:{primary:"\u30d3\u30fc\u30d7",normalized:"beep"},break:{primary:"\u4e2d\u65ad",normalized:"break"},copy:{primary:"\u30b3\u30d4\u30fc",normalized:"copy"},exit:{primary:"\u9000\u51fa",normalized:"exit"},pick:{primary:"\u9078\u629e",normalized:"pick"},render:{primary:"\u63cf\u753b",normalized:"render"},into:{primary:"\u3078",alternatives:["\u306b"],normalized:"into"},before:{primary:"\u524d\u306b",alternatives:["\u524d"],normalized:"before"},after:{primary:"\u5f8c\u306b",alternatives:["\u5f8c"],normalized:"after"},until:{primary:"\u307e\u3067",alternatives:["\u8fc4"],normalized:"until"},event:{primary:"\u30a4\u30d9\u30f3\u30c8",alternatives:["\u4e8b\u8c61"],normalized:"event"},from:{primary:"\u304b\u3089",normalized:"from"},connect:{primary:"\u63a5\u7d9a",alternatives:["\u63a5\u7d9a\u3059\u308b"],normalized:"connect"},stream:{primary:"\u30b9\u30c8\u30ea\u30fc\u30e0",alternatives:["\u914d\u4fe1"],normalized:"stream"},live:{primary:"\u30e9\u30a4\u30d6",alternatives:["\u5b9f\u6642\u9593"],normalized:"live"},socket:{primary:"\u30bd\u30b1\u30c3\u30c8",alternatives:["websocket"],normalized:"socket"},bind:{primary:"\u30d0\u30a4\u30f3\u30c9",alternatives:["\u7d50\u3073\u3064\u3051\u308b","bind"],normalized:"bind"},intercept:{primary:"\u30a4\u30f3\u30bf\u30fc\u30bb\u30d7\u30c8",alternatives:["\u508d\u53d7","intercept"],normalized:"intercept"},worker:{primary:"\u30ef\u30fc\u30ab\u30fc",alternatives:["worker"],normalized:"worker"},eventsource:{primary:"eventsource",alternatives:["\u30a4\u30d9\u30f3\u30c8\u30bd\u30fc\u30b9"],normalized:"eventsource"}},tokenization:{particles:["\u3092","\u306b","\u3067","\u304b\u3089","\u306e","\u304c","\u306f","\u3082","\u3078","\u3068"],boundaryStrategy:"particle"},eventHandler:{eventMarker:{primary:"\u3067",position:"after"},temporalMarkers:["\u6642","\u3068\u304d"]}}}}),cr={};x(cr,{koreanProfile:()=>pr});var dr,ur=b({"src/generators/profiles/korean.ts"(){pr={code:"ko",name:"Korean",nativeName:"\ud55c\uad6d\uc5b4",regions:["east-asian","priority"],direction:"ltr",script:"hangul",wordOrder:"SOV",markingStrategy:"particle",usesSpaces:!0,verb:{position:"end",suffixes:["\ub2e4","\uc694","\ub2c8\ub2e4","\uc138\uc694"],subjectDrop:!0},references:{me:"\ub098",it:"\uadf8\uac83",you:"\ub108",result:"\uacb0\uacfc",event:"\uc774\ubca4\ud2b8",target:"\ub300\uc0c1",body:"\ubc14\ub514",document:"\ubb38\uc11c",window:"\ucc3d",detail:"\uc138\ubd80"},possessive:{marker:"\uc758",markerPosition:"between",specialForms:{me:"\ub0b4",it:"\uadf8\uac83\uc758",you:"\ub124"},keywords:{"\ub0b4":"me","\ub124":"you","\uadf8\uc758":"it"}},roleMarkers:{patient:{primary:"\uc744",alternatives:["\ub97c"],position:"after"},destination:{primary:"\uc5d0",alternatives:["\uc73c\ub85c","\ub85c","\uc758"],position:"after"},source:{primary:"\uc5d0\uc11c",alternatives:["\ubd80\ud130"],position:"after"},style:{primary:"\ub85c",alternatives:["\uc73c\ub85c"],position:"after"},event:{primary:"\uc744",alternatives:["\ub97c"],position:"after"}},keywords:{toggle:{primary:"\ud1a0\uae00",normalized:"toggle"},add:{primary:"\ucd94\uac00",normalized:"add"},remove:{primary:"\uc81c\uac70",alternatives:["\uc0ad\uc81c"],normalized:"remove"},put:{primary:"\ub123\ub2e4",alternatives:["\ub123\uae30","\ub193\uae30","\ub123\uc73c\uc138\uc694"],normalized:"put"},append:{primary:"\ub367\ubd99\uc774\ub2e4",alternatives:["\ub05d\uc5d0\ucd94\uac00"],normalized:"append"},prepend:{primary:"\uc55e\uc5d0\ucd94\uac00",alternatives:["\uc120\ub450\ucd94\uac00"],normalized:"prepend"},take:{primary:"\uac00\uc838\uc624\ub2e4",alternatives:["\uac00\uc838\uc624\uc138\uc694"],normalized:"take"},make:{primary:"\ub9cc\ub4e4\ub2e4",normalized:"make"},clone:{primary:"\ubcf5\uc81c",normalized:"clone"},swap:{primary:"\uad50\ud658",alternatives:["\ubc14\uafb8\ub2e4"],normalized:"swap"},morph:{primary:"\ubcc0\ud615",alternatives:["\ubcc0\ud658"],normalized:"morph"},set:{primary:"\uc124\uc815",normalized:"set"},get:{primary:"\uc5bb\ub2e4",alternatives:["\uc5bb\uc73c\uc138\uc694"],normalized:"get"},increment:{primary:"\uc99d\uac00",normalized:"increment"},decrement:{primary:"\uac10\uc18c",normalized:"decrement"},log:{primary:"\ub85c\uadf8",normalized:"log"},show:{primary:"\ubcf4\uc774\ub2e4",alternatives:["\ud45c\uc2dc","\ubcf4\uc774\uae30","\ubcf4\uc774\uc138\uc694"],normalized:"show"},hide:{primary:"\uc228\uae30\ub2e4",alternatives:["\uc228\uae30\uae30","\uc228\uae30\uc138\uc694"],normalized:"hide"},transition:{primary:"\ud2b8\ub79c\uc9c0\uc158",alternatives:["\uc804\ud658"],normalized:"transition"},on:{primary:"\uc5d0",alternatives:["\uc2dc","\ud560 \ub54c"],normalized:"on"},trigger:{primary:"\ud2b8\ub9ac\uac70",normalized:"trigger"},send:{primary:"\ubcf4\ub0b4\ub2e4",alternatives:["\ubcf4\ub0b4\uc138\uc694"],normalized:"send"},focus:{primary:"\ud3ec\ucee4\uc2a4",normalized:"focus"},blur:{primary:"\ud3ec\ucee4\uc2a4\uc544\uc6c3",alternatives:["\ube14\ub7ec"],normalized:"blur"},empty:{primary:"\ube44\uc6b0\uae30",alternatives:["\ube44\uc5b4\uc788\ub294"],normalized:"empty"},open:{primary:"\uc5f4\uae30",normalized:"open"},close:{primary:"\ub2eb\uae30",normalized:"close"},select:{primary:"\uace0\ub974\uae30",normalized:"select"},clear:{primary:"\uc9c0\uc6b0\uae30",normalized:"clear"},reset:{primary:"\uc7ac\uc124\uc815",normalized:"reset"},breakpoint:{primary:"\uc911\ub2e8\uc810",normalized:"breakpoint"},click:{primary:"\ud074\ub9ad",normalized:"click"},hover:{primary:"\ud638\ubc84",normalized:"hover"},submit:{primary:"\uc81c\ucd9c",normalized:"submit"},input:{primary:"\uc785\ub825",normalized:"input"},change:{primary:"\ubcc0\uacbd",normalized:"change"},go:{primary:"\uc774\ub3d9",normalized:"go"},scroll:{primary:"\uc2a4\ud06c\ub864",normalized:"scroll"},push:{primary:"\ud478\uc2dc",normalized:"push"},replace:{primary:"\uad50\uccb4",alternatives:["\ubc14\uafb8\uae30"],normalized:"replace"},process:{primary:"\ucc98\ub9ac",normalized:"process"},wait:{primary:"\ub300\uae30",normalized:"wait"},fetch:{primary:"\ud328\uce58",alternatives:["\uac00\uc838\uc624\uae30"],normalized:"fetch"},settle:{primary:"\uc548\uc815",normalized:"settle"},if:{primary:"\ub9cc\uc57d",normalized:"if"},when:{primary:"\ub54c",normalized:"when"},changes:{primary:"\ubcc0\uacbd\ub418\uba74",normalized:"changes"},where:{primary:"\uc5b4\ub514",normalized:"where"},else:{primary:"\uc544\ub2c8\uba74",normalized:"else"},unless:{primary:"\uc544\ub2c8\ub77c\uba74",normalized:"unless"},repeat:{primary:"\ubc18\ubcf5",normalized:"repeat"},for:{primary:"\uac01\uac01",normalized:"for"},while:{primary:"\ub3d9\uc548",normalized:"while"},forever:{primary:"forever",normalized:"forever"},continue:{primary:"\uacc4\uc18d",normalized:"continue"},halt:{primary:"\uc815\uc9c0",normalized:"halt"},throw:{primary:"\ub358\uc9c0\ub2e4",normalized:"throw"},call:{primary:"\ud638\ucd9c",normalized:"call"},return:{primary:"\ubc18\ud658",normalized:"return"},then:{primary:"\uadf8\ub2e4\uc74c",alternatives:["\uadf8\ub7f0\ud6c4"],normalized:"then"},and:{primary:"\uadf8\ub9ac\uace0",alternatives:["\ub610\ud55c","\ubc0f"],normalized:"and"},matches:{primary:"\uc77c\uce58",normalized:"matches"},exists:{primary:"\uc874\uc7ac",normalized:"exists"},no:{primary:"\uc5c6\uc74c",normalized:"no"},end:{primary:"\ub05d",alternatives:["\ub9c8\uce68"],normalized:"end"},js:{primary:"JS\uc2e4\ud589",alternatives:["js"],normalized:"js"},async:{primary:"\ube44\ub3d9\uae30",normalized:"async"},tell:{primary:"\ub9d0\ud558\ub2e4",normalized:"tell"},default:{primary:"\uae30\ubcf8\uac12",normalized:"default"},init:{primary:"\ucd08\uae30\ud654",normalized:"init"},behavior:{primary:"\ub3d9\uc791",normalized:"behavior"},install:{primary:"\uc124\uce58",normalized:"install"},measure:{primary:"\uce21\uc815",normalized:"measure"},beep:{primary:"\ube44\ud504",normalized:"beep"},break:{primary:"\uc911\ub2e8",normalized:"break"},copy:{primary:"\ubcf5\uc0ac",normalized:"copy"},exit:{primary:"\ub098\uac00\uae30",normalized:"exit"},pick:{primary:"\uc120\ud0dd",normalized:"pick"},render:{primary:"\ub80c\ub354\ub9c1",normalized:"render"},into:{primary:"\uc73c\ub85c",normalized:"into"},before:{primary:"\uc804\uc5d0",normalized:"before"},after:{primary:"\ud6c4\uc5d0",normalized:"after"},until:{primary:"\uae4c\uc9c0",normalized:"until"},event:{primary:"\uc774\ubca4\ud2b8",normalized:"event"},from:{primary:"\uc5d0\uc11c",normalized:"from"},connect:{primary:"\uc5f0\uacb0",alternatives:["\uc811\uc18d"],normalized:"connect"},stream:{primary:"\uc2a4\ud2b8\ub9bc",alternatives:["\uc2a4\ud2b8\ub9ac\ubc0d"],normalized:"stream"},live:{primary:"\uc2e4\uc2dc\uac04",alternatives:["\ub77c\uc774\ube0c"],normalized:"live"},socket:{primary:"\uc18c\ucf13",alternatives:["websocket"],normalized:"socket"},bind:{primary:"\ubc14\uc778\ub4dc",alternatives:["bind"],normalized:"bind"},intercept:{primary:"\uac00\ub85c\ucc44\uae30",alternatives:["\uc778\ud130\uc149\ud2b8","intercept"],normalized:"intercept"},worker:{primary:"\uc6cc\ucee4",alternatives:["worker"],normalized:"worker"},eventsource:{primary:"eventsource",alternatives:["\uc774\ubca4\ud2b8\uc18c\uc2a4"],normalized:"eventsource"}},tokenization:{particles:["\uc744","\ub97c","\uc774","\uac00","\uc740","\ub294","\uc5d0","\uc5d0\uc11c","\uc73c\ub85c","\ub85c","\uc640","\uacfc","\ub3c4"],boundaryStrategy:"space"},eventHandler:{eventMarker:{primary:"\ud560 \ub54c",alternatives:["\ud560\ub54c","\ub54c","\uc5d0"],position:"after"},temporalMarkers:["\ud560 \ub54c","\ud560\ub54c","\ub54c"]}}}}),yr={};x(yr,{malayProfile:()=>dr});var vr,fr=b({"src/generators/profiles/ms.ts"(){dr={code:"ms",name:"Malay",nativeName:"Melayu",direction:"ltr",script:"latin",wordOrder:"SVO",markingStrategy:"preposition",usesSpaces:!0,defaultVerbForm:"base",verb:{position:"start",subjectDrop:!0},references:{me:"saya",it:"ia",you:"kamu",result:"hasil",event:"peristiwa",target:"sasaran",body:"badan",document:"dokumen",window:"tetingkap",detail:"perincian"},possessive:{marker:"",markerPosition:"after-object",keywords:{saya:"me",saya_punya:"me",aku:"me",awak:"you",kamu:"you",anda:"you",dia:"it",ia:"it",nya:"it","-ku":"me","-mu":"you","-nya":"it"}},roleMarkers:{destination:{primary:"ke",alternatives:["pada"],position:"before"},source:{primary:"dari",position:"before"},patient:{primary:"",position:"before"},style:{primary:"dengan",position:"before"}},keywords:{toggle:{primary:"togol",alternatives:["tukar"],normalized:"toggle"},add:{primary:"tambah",normalized:"add"},remove:{primary:"buang",alternatives:["padam"],normalized:"remove"},put:{primary:"letak",alternatives:["letakkan"],normalized:"put"},append:{primary:"tambah_hujung",normalized:"append"},prepend:{primary:"tambah_mula",normalized:"prepend"},take:{primary:"ambil",normalized:"take"},make:{primary:"buat",alternatives:["cipta"],normalized:"make"},clone:{primary:"klon",alternatives:[],normalized:"clone"},swap:{primary:"tukar_tempat",normalized:"swap"},morph:{primary:"ubah_bentuk",normalized:"morph"},set:{primary:"tetapkan",alternatives:["setkan"],normalized:"set"},get:{primary:"dapatkan",alternatives:[],normalized:"get"},increment:{primary:"tambah_satu",normalized:"increment"},decrement:{primary:"kurang_satu",normalized:"decrement"},log:{primary:"catat",alternatives:["log"],normalized:"log"},show:{primary:"tunjuk",alternatives:[],normalized:"show"},hide:{primary:"sembunyi",alternatives:["sorok"],normalized:"hide"},transition:{primary:"peralihan",normalized:"transition"},on:{primary:"apabila",alternatives:["ketika"],normalized:"on"},trigger:{primary:"cetuskan",normalized:"trigger"},send:{primary:"hantar",normalized:"send"},focus:{primary:"fokus",normalized:"focus"},blur:{primary:"kabur",normalized:"blur"},empty:{primary:"kosongkan",alternatives:["kosong"],normalized:"empty"},open:{primary:"buka",normalized:"open"},close:{primary:"tutup",normalized:"close"},select:{primary:"tandai",normalized:"select"},clear:{primary:"bersihkan",normalized:"clear"},reset:{primary:"set-semula",alternatives:["reset"],normalized:"reset"},breakpoint:{primary:"titik-henti",normalized:"breakpoint"},go:{primary:"pergi",alternatives:["pindah"],normalized:"go"},scroll:{primary:"tatal",alternatives:["skrol","scroll"],normalized:"scroll"},push:{primary:"tolak",alternatives:["push"],normalized:"push"},replace:{primary:"ganti_url",alternatives:["gantikan_url"],normalized:"replace"},process:{primary:"proses",normalized:"process"},wait:{primary:"tunggu",normalized:"wait"},fetch:{primary:"ambil_dari",alternatives:["muat"],normalized:"fetch"},settle:{primary:"selesai",normalized:"settle"},if:{primary:"jika",alternatives:["kalau"],normalized:"if"},unless:{primary:"kecuali",normalized:"unless"},when:{primary:"bila",normalized:"when"},changes:{primary:"berubah",normalized:"changes"},where:{primary:"di_mana",normalized:"where"},else:{primary:"kalau_tidak",alternatives:["jika_tidak"],normalized:"else"},repeat:{primary:"ulang",normalized:"repeat"},for:{primary:"untuk",normalized:"for"},while:{primary:"selagi",alternatives:["semasa"],normalized:"while"},forever:{primary:"selamanya",normalized:"forever",alternatives:["forever"]},continue:{primary:"teruskan",normalized:"continue"},halt:{primary:"henti",alternatives:["berhenti"],normalized:"halt"},throw:{primary:"lempar",normalized:"throw"},call:{primary:"panggil",normalized:"call"},return:{primary:"pulang",alternatives:["kembali"],normalized:"return"},then:{primary:"kemudian",alternatives:["lepas_itu"],normalized:"then"},and:{primary:"dan",normalized:"and"},matches:{primary:"sepadan",normalized:"matches"},exists:{primary:"wujud",normalized:"exists"},is:{primary:"adalah",normalized:"is"},no:{primary:"tiada",normalized:"no"},end:{primary:"tamat",alternatives:["habis"],normalized:"end"},js:{primary:"js",normalized:"js"},async:{primary:"tak_segerak",normalized:"async"},tell:{primary:"beritahu",normalized:"tell"},default:{primary:"lalai",normalized:"default"},init:{primary:"mula",alternatives:["mulakan"],normalized:"init"},behavior:{primary:"kelakuan",normalized:"behavior"},install:{primary:"pasang",normalized:"install"},measure:{primary:"ukur",normalized:"measure"},beep:{primary:"bunyi",normalized:"beep"},break:{primary:"pecah",normalized:"break"},copy:{primary:"salin",normalized:"copy"},exit:{primary:"keluar",normalized:"exit"},pick:{primary:"pilih",normalized:"pick"},render:{primary:"papar",normalized:"render"},into:{primary:"ke_dalam",normalized:"into"},before:{primary:"sebelum",normalized:"before"},after:{primary:"selepas",alternatives:["lepas"],normalized:"after"},until:{primary:"sehingga",alternatives:["sampai"],normalized:"until"},event:{primary:"peristiwa",normalized:"event"},from:{primary:"dari",normalized:"from"},connect:{primary:"sambung",alternatives:["hubungkan"],normalized:"connect"},stream:{primary:"strim",alternatives:["penstriman","aliran"],normalized:"stream"},live:{primary:"langsung",alternatives:["siaran-langsung"],normalized:"live"},socket:{primary:"soket",alternatives:["websocket"],normalized:"socket"},bind:{primary:"ikat",alternatives:["kaitkan","bind"],normalized:"bind"},intercept:{primary:"pintas",alternatives:["cegat","intercept"],normalized:"intercept"},worker:{primary:"pekerja",alternatives:["worker"],normalized:"worker"},eventsource:{primary:"eventsource",alternatives:["sumber_peristiwa"],normalized:"eventsource"}},eventHandler:{keyword:{primary:"apabila",alternatives:["ketika"],normalized:"on"},sourceMarker:{primary:"dari",position:"before"},eventMarker:{primary:"apabila",alternatives:["ketika"],position:"before"}}}}}),hr={};x(hr,{polishProfile:()=>vr});var gr,kr=b({"src/generators/profiles/polish.ts"(){vr={code:"pl",name:"Polish",nativeName:"Polski",direction:"ltr",script:"latin",wordOrder:"SVO",markingStrategy:"preposition",usesSpaces:!0,defaultVerbForm:"imperative",verb:{position:"start",subjectDrop:!0,suffixes:["a\u0107","e\u0107","i\u0107","y\u0107","\u0105\u0107","owa\u0107"]},references:{me:"ja",it:"to",you:"ty",result:"wynik",event:"zdarzenie",target:"cel",body:"body",document:"dokument",window:"okno",detail:"szczeg\u00f3\u0142"},possessive:{marker:"",markerPosition:"after-object",usePossessiveAdjectives:!0,specialForms:{me:"m\u00f3j",it:"jego",you:"tw\u00f3j"},keywords:{"m\u00f3j":"me",moja:"me",moje:"me","tw\u00f3j":"you",twoja:"you",twoje:"you",jego:"it",jej:"it"}},roleMarkers:{destination:{primary:"do",alternatives:["w","na"],position:"before"},source:{primary:"z",alternatives:["od","ze"],position:"before"},patient:{primary:"",position:"before"},style:{primary:"z",alternatives:["ze"],position:"before"}},keywords:{toggle:{primary:"prze\u0142\u0105cz",alternatives:["przelacz"],normalized:"toggle",form:"imperative"},add:{primary:"dodaj",normalized:"add",form:"imperative"},remove:{primary:"usu\u0144",alternatives:["usun","wyczy\u015b\u0107","wyczysc"],normalized:"remove",form:"imperative"},put:{primary:"umie\u015b\u0107",alternatives:["umiesc","wstaw"],normalized:"put",form:"imperative"},append:{primary:"do\u0142\u0105cz",alternatives:["dolacz"],normalized:"append",form:"imperative"},prepend:{primary:"poprzed\u017a",alternatives:["poprzedz"],normalized:"prepend",form:"imperative"},take:{primary:"we\u017a",alternatives:["wez"],normalized:"take",form:"imperative"},make:{primary:"utw\u00f3rz",alternatives:["utworz","stw\u00f3rz","stworz"],normalized:"make",form:"imperative"},clone:{primary:"sklonuj",normalized:"clone",form:"imperative"},swap:{primary:"zamie\u0144",alternatives:["zamien"],normalized:"swap",form:"imperative"},morph:{primary:"przekszta\u0142\u0107",alternatives:["przeksztalc"],normalized:"morph",form:"imperative"},set:{primary:"ustaw",alternatives:["okre\u015bl","okresl"],normalized:"set",form:"imperative"},get:{primary:"uzyskaj",normalized:"get",form:"imperative"},increment:{primary:"zwi\u0119ksz",alternatives:["zwieksz"],normalized:"increment",form:"imperative"},decrement:{primary:"zmniejsz",normalized:"decrement",form:"imperative"},log:{primary:"loguj",alternatives:["wypisz"],normalized:"log",form:"imperative"},show:{primary:"poka\u017c",alternatives:["pokaz","wy\u015bwietl","wyswietl"],normalized:"show",form:"imperative"},hide:{primary:"ukryj",alternatives:["schowaj"],normalized:"hide",form:"imperative"},transition:{primary:"animuj",alternatives:["przej\u015bcie","przejscie"],normalized:"transition",form:"imperative"},on:{primary:"gdy",alternatives:["przy","na"],normalized:"on"},trigger:{primary:"wyzw\u00f3l",alternatives:["wyzwol"],normalized:"trigger",form:"imperative"},send:{primary:"wy\u015blij",alternatives:["wyslij"],normalized:"send",form:"imperative"},focus:{primary:"skup",alternatives:["skupienie"],normalized:"focus",form:"imperative"},blur:{primary:"rozmyj",alternatives:["odskup"],normalized:"blur",form:"imperative"},empty:{primary:"opr\u00f3\u017cnij",alternatives:["oproznij","pusty"],normalized:"empty"},open:{primary:"otw\u00f3rz",alternatives:["otworz"],normalized:"open"},close:{primary:"zamknij",normalized:"close"},select:{primary:"zaznacz",normalized:"select"},clear:{primary:"zeruj",normalized:"clear"},reset:{primary:"zresetuj",normalized:"reset"},breakpoint:{primary:"punkt-przerwania",normalized:"breakpoint"},go:{primary:"id\u017a",alternatives:["idz","przejd\u017a","przejdz","nawiguj"],normalized:"go",form:"imperative"},scroll:{primary:"przewi\u0144",alternatives:["przewin"],normalized:"scroll",form:"imperative"},push:{primary:"wepchnij",alternatives:["push"],normalized:"push",form:"imperative"},replace:{primary:"nadpisz",alternatives:["zamie\u0144_url","zamien_url"],normalized:"replace",form:"imperative"},process:{primary:"przetw\u00f3rz",alternatives:["przetworz"],normalized:"process",form:"imperative"},wait:{primary:"czekaj",alternatives:["poczekaj"],normalized:"wait",form:"imperative"},fetch:{primary:"pobierz",alternatives:["za\u0142aduj","zaladuj"],normalized:"fetch",form:"imperative"},settle:{primary:"ustabilizuj",normalized:"settle",form:"imperative"},if:{primary:"je\u015bli",alternatives:["jesli","je\u017celi","jezeli"],normalized:"if"},unless:{primary:"chyba",normalized:"unless"},when:{primary:"kiedy",normalized:"when"},changes:{primary:"zmienia",normalized:"changes"},where:{primary:"gdzie",normalized:"where"},else:{primary:"inaczej",alternatives:["wpp"],normalized:"else"},repeat:{primary:"powt\u00f3rz",alternatives:["powtorz"],normalized:"repeat",form:"imperative"},for:{primary:"dla",alternatives:["ka\u017cdy","kazdy"],normalized:"for"},while:{primary:"dop\u00f3ki",alternatives:["dopoki","podczas"],normalized:"while"},forever:{primary:"forever",normalized:"forever"},continue:{primary:"kontynuuj",alternatives:["dalej"],normalized:"continue",form:"imperative"},halt:{primary:"zatrzymaj",alternatives:["stop"],normalized:"halt",form:"imperative"},throw:{primary:"rzu\u0107",alternatives:["rzuc"],normalized:"throw",form:"imperative"},call:{primary:"wywo\u0142aj",alternatives:["wywolaj"],normalized:"call",form:"imperative"},return:{primary:"zwr\u00f3\u0107",alternatives:["zwroc"],normalized:"return",form:"imperative"},then:{primary:"wtedy",alternatives:["potem","nast\u0119pnie","nastepnie"],normalized:"then"},and:{primary:"i",alternatives:["oraz"],normalized:"and"},matches:{primary:"pasuje",normalized:"matches"},no:{primary:"brak",normalized:"no"},end:{primary:"koniec",normalized:"end"},js:{primary:"js",normalized:"js"},async:{primary:"async",alternatives:["asynchronicznie"],normalized:"async"},tell:{primary:"powiedz",normalized:"tell",form:"imperative"},default:{primary:"domy\u015blnie",alternatives:["domyslnie"],normalized:"default"},init:{primary:"inicjuj",normalized:"init",form:"imperative"},behavior:{primary:"zachowanie",normalized:"behavior"},install:{primary:"zainstaluj",normalized:"install",form:"imperative"},measure:{primary:"zmierz",normalized:"measure",form:"imperative"},beep:{primary:"sygna\u0142",normalized:"beep"},break:{primary:"przerwij",normalized:"break"},copy:{primary:"kopiuj",normalized:"copy"},exit:{primary:"wyjd\u017a",normalized:"exit"},pick:{primary:"wybierz",normalized:"pick"},render:{primary:"renderuj",normalized:"render"},into:{primary:"do",alternatives:["w"],normalized:"into"},before:{primary:"przed",normalized:"before"},after:{primary:"po",normalized:"after"},click:{primary:"klikni\u0119ciu",alternatives:["klikniecie","klik"],normalized:"click"},resize:{primary:"zmiana rozmiaru",alternatives:["zmie\u0144 rozmiar","zmie\u0144rozmiar"],normalized:"resize"},hover:{primary:"najechaniu",alternatives:["hover"],normalized:"hover"},submit:{primary:"wys\u0142aniu",alternatives:["wyslaniu","submit"],normalized:"submit"},input:{primary:"wprowadzeniu",alternatives:["input","wej\u015bcie"],normalized:"input"},change:{primary:"zmianie",alternatives:["zmiana"],normalized:"change"},until:{primary:"a\u017c",alternatives:["az"],normalized:"until"},event:{primary:"zdarzenie",normalized:"event"},from:{primary:"z",alternatives:["od","ze"],normalized:"from"},connect:{primary:"po\u0142\u0105cz",alternatives:["pod\u0142\u0105cz"],normalized:"connect"},stream:{primary:"transmituj",alternatives:["strumie\u0144","streamuj"],normalized:"stream"},live:{primary:"na-\u017cywo",alternatives:["na-bie\u017c\u0105co","live","\u017cywy"],normalized:"live"},socket:{primary:"gniazdo",alternatives:["socket","websocket"],normalized:"socket"},bind:{primary:"powi\u0105\u017c",alternatives:["zwi\u0105za\u0107","bind"],normalized:"bind"},intercept:{primary:"przechwy\u0107",alternatives:["przechwytuj","intercept"],normalized:"intercept"},worker:{primary:"pracownik",alternatives:["worker"],normalized:"worker"},eventsource:{primary:"eventsource",alternatives:["\u017ar\u00f3d\u0142o-zdarze\u0144"],normalized:"eventsource"}},eventHandler:{keyword:{primary:"gdy",alternatives:["przy","na"],normalized:"on"},sourceMarker:{primary:"na",alternatives:["w","przy"],position:"before"},conditionalKeyword:{primary:"kiedy",alternatives:["gdy","je\u015bli"]},eventMarker:{primary:"przy",alternatives:["na","gdy"],position:"before"},temporalMarkers:["kiedy","gdy","przy"]}}}}),zr={};x(zr,{portugueseProfile:()=>gr});var wr,br=b({"src/generators/profiles/portuguese.ts"(){gr={code:"pt",name:"Portuguese",nativeName:"Portugu\u00eas",regions:["western","priority"],direction:"ltr",script:"latin",wordOrder:"SVO",markingStrategy:"preposition",usesSpaces:!0,verb:{position:"start",subjectDrop:!0},references:{me:"eu",it:"ele",you:"voc\u00ea",result:"resultado",event:"evento",target:"alvo",body:"corpo",document:"documento",window:"janela",detail:"detalhe"},possessive:{marker:"de",markerPosition:"before-property",usePossessiveAdjectives:!0,specialForms:{me:"meu",it:"seu",you:"teu"},keywords:{meu:"me",minha:"me",teu:"you",tua:"you",seu:"it",sua:"it"}},roleMarkers:{destination:{primary:"em",alternatives:["para","a"],position:"before"},source:{primary:"de",alternatives:["desde"],position:"before"},patient:{primary:"",position:"before"},style:{primary:"com",position:"before"}},keywords:{toggle:{primary:"alternar",alternatives:[],normalized:"toggle"},add:{primary:"adicionar",alternatives:["acrescentar"],normalized:"add"},remove:{primary:"remover",alternatives:["eliminar","apagar","remova"],normalized:"remove"},put:{primary:"colocar",alternatives:["p\u00f4r","por","coloque"],normalized:"put"},append:{primary:"anexar",normalized:"append"},prepend:{primary:"preceder",normalized:"prepend"},take:{primary:"pegar",alternatives:["pegue"],normalized:"take"},make:{primary:"fazer",alternatives:["criar"],normalized:"make"},clone:{primary:"clonar",alternatives:[],normalized:"clone"},swap:{primary:"trocar",alternatives:["substituir"],normalized:"swap"},morph:{primary:"transformar",alternatives:["converter"],normalized:"morph"},set:{primary:"definir",alternatives:["configurar","defina"],normalized:"set"},get:{primary:"obter",alternatives:["obtenha"],normalized:"get"},increment:{primary:"incrementar",alternatives:["aumentar"],normalized:"increment"},decrement:{primary:"decrementar",alternatives:["diminuir"],normalized:"decrement"},log:{primary:"registrar",alternatives:["imprimir"],normalized:"log"},show:{primary:"mostrar",alternatives:["exibir"],normalized:"show"},hide:{primary:"ocultar",alternatives:["esconder","esconda"],normalized:"hide"},transition:{primary:"transi\u00e7\u00e3o",alternatives:["animar"],normalized:"transition"},on:{primary:"em",alternatives:["ao"],normalized:"on"},trigger:{primary:"disparar",alternatives:["ativar"],normalized:"trigger"},send:{primary:"enviar",normalized:"send"},focus:{primary:"foco",alternatives:["focar"],normalized:"focus"},blur:{primary:"perda de foco",alternatives:["desfocar"],normalized:"blur"},empty:{primary:"esvaziar",alternatives:["vazio"],normalized:"empty"},open:{primary:"abrir",normalized:"open"},close:{primary:"fechar",normalized:"close"},select:{primary:"selecionar",normalized:"select"},clear:{primary:"limpar",normalized:"clear"},reset:{primary:"redefinir",alternatives:["resetar"],normalized:"reset"},breakpoint:{primary:"ponto-interrup\u00e7\u00e3o",alternatives:["ponto-interrupcao"],normalized:"breakpoint"},go:{primary:"ir",alternatives:["navegar","v\u00e1"],normalized:"go"},scroll:{primary:"rolagem",alternatives:["rolar","deslocamento","scroll"],normalized:"scroll"},push:{primary:"empurrar",alternatives:["push"],normalized:"push"},replace:{primary:"repor",alternatives:["recolocar"],normalized:"replace"},process:{primary:"processar",normalized:"process"},wait:{primary:"esperar",alternatives:["aguardar"],normalized:"wait"},fetch:{primary:"buscar",alternatives:["busque"],normalized:"fetch"},settle:{primary:"estabilizar",normalized:"settle"},if:{primary:"se",normalized:"if"},unless:{primary:"salvo",alternatives:["a_menos"],normalized:"unless"},when:{primary:"quando",normalized:"when"},changes:{primary:"muda",normalized:"changes"},where:{primary:"onde",normalized:"where"},else:{primary:"sen\u00e3o",normalized:"else"},repeat:{primary:"repetir",normalized:"repeat"},for:{primary:"para",normalized:"for"},while:{primary:"enquanto",normalized:"while"},forever:{primary:"forever",normalized:"forever"},continue:{primary:"continuar",normalized:"continue"},halt:{primary:"parar",normalized:"halt"},throw:{primary:"lan\u00e7ar",normalized:"throw"},call:{primary:"chamar",normalized:"call"},return:{primary:"retornar",alternatives:["devolver"],normalized:"return"},then:{primary:"ent\u00e3o",alternatives:["logo"],normalized:"then"},and:{primary:"e",alternatives:["tamb\u00e9m","al\u00e9m disso"],normalized:"and"},matches:{primary:"corresponde",normalized:"matches"},exists:{primary:"existe",normalized:"exists"},is:{primary:"\u00e9",normalized:"is"},no:{primary:"nenhum",normalized:"no"},end:{primary:"fim",alternatives:["final","t\u00e9rmino"],normalized:"end"},js:{primary:"js",normalized:"js"},async:{primary:"ass\u00edncrono",normalized:"async"},tell:{primary:"dizer",normalized:"tell"},default:{primary:"padr\u00e3o",normalized:"default"},init:{primary:"inicializa\u00e7\u00e3o",alternatives:["iniciar","inicializar"],normalized:"init"},behavior:{primary:"comportamento",normalized:"behavior"},install:{primary:"instalar",normalized:"install"},measure:{primary:"medir",normalized:"measure"},beep:{primary:"apitar",normalized:"beep"},break:{primary:"interromper",normalized:"break"},copy:{primary:"copiar",normalized:"copy"},exit:{primary:"sair",normalized:"exit"},pick:{primary:"escolher",normalized:"pick"},render:{primary:"renderizar",normalized:"render"},into:{primary:"dentro",alternatives:["dentro de"],normalized:"into"},before:{primary:"antes",normalized:"before"},after:{primary:"depois",normalized:"after"},click:{primary:"clique",alternatives:["clicar"],normalized:"click"},resize:{primary:"redimensionamento",alternatives:["redimensionar"],normalized:"resize"},hover:{primary:"sobrevoar",alternatives:["passar"],normalized:"hover"},submit:{primary:"envio",alternatives:["submeter","submiss\u00e3o"],normalized:"submit"},input:{primary:"entrada",alternatives:["inser\u00e7\u00e3o"],normalized:"input"},change:{primary:"altera\u00e7\u00e3o",alternatives:["mudan\u00e7a"],normalized:"change"},mousedown:{primary:"mouse pressionado",alternatives:["rato pressionado","mouse baixo","mouseBaixo"],normalized:"mousedown"},mouseup:{primary:"mouse solto",alternatives:["mouse liberado","rato libertado","mouse cima","mouseCima"],normalized:"mouseup"},until:{primary:"at\u00e9",normalized:"until"},event:{primary:"evento",normalized:"event"},from:{primary:"de",alternatives:["desde"],normalized:"from"},connect:{primary:"conectar",alternatives:["conex\u00e3o"],normalized:"connect"},stream:{primary:"transmitir",alternatives:["fluxo"],normalized:"stream"},live:{primary:"ao-vivo",alternatives:["vivo","direto"],normalized:"live"},socket:{primary:"soquete",alternatives:["websocket"],normalized:"socket"},bind:{primary:"vincular",alternatives:["ligar","bind"],normalized:"bind"},intercept:{primary:"interceptar",alternatives:["intercept"],normalized:"intercept"},worker:{primary:"trabalhador",alternatives:["worker"],normalized:"worker"},eventsource:{primary:"eventsource",alternatives:["fonte-de-eventos"],normalized:"eventsource"}},eventHandler:{keyword:{primary:"em",alternatives:["ao"],normalized:"on"},sourceMarker:{primary:"de",alternatives:["desde"],position:"before"},conditionalKeyword:{primary:"quando",alternatives:["se"]},eventMarker:{primary:"ao",alternatives:["no","em"],position:"before"},temporalMarkers:["quando","ao"]}}}}),xr={};x(xr,{quechuaProfile:()=>wr});var Tr,Sr=b({"src/generators/profiles/quechua.ts"(){wr={code:"qu",name:"Quechua",nativeName:"Runasimi",direction:"ltr",script:"latin",wordOrder:"SOV",markingStrategy:"postposition",usesSpaces:!0,verb:{position:"end",subjectDrop:!0},references:{me:"noqa",it:"chay",you:"qam",result:"rurasqa",event:"ruwakuq",target:"punta",body:"kurku",document:"qillqa",window:"k_iri",detail:"sut_iy"},possessive:{marker:"-pa",markerPosition:"after-object",keywords:{"\u00f1uqapa":"me","\u00f1uqaypa":"me",noqaq:"me",qampa:"you",paypa:"it",chay:"it"},connectors:["paq","pa"]},roleMarkers:{patient:{primary:"ta",position:"after"},destination:{primary:"man",alternatives:["pa"],position:"after"},source:{primary:"manta",position:"after"},style:{primary:"wan",position:"after"},event:{primary:"pi",position:"after"}},keywords:{toggle:{primary:"t'ikray",alternatives:["tikray"],normalized:"toggle"},add:{primary:"yapay",alternatives:["yapaykuy"],normalized:"add"},remove:{primary:"qichuy",alternatives:["hurquy","anchuchiy"],normalized:"remove"},put:{primary:"churay",alternatives:["tiyachiy"],normalized:"put"},append:{primary:"qatichiy",alternatives:["qhipaman_yapay"],normalized:"append"},prepend:{primary:"\u00f1awpachiy",normalized:"prepend"},take:{primary:"hapiy",normalized:"take"},make:{primary:"ruray",alternatives:["kamay"],normalized:"make"},clone:{primary:"kikinchay",alternatives:[],normalized:"clone"},swap:{primary:"t'inkuy",alternatives:["rantikunakuy","rantin_tikray"],normalized:"swap"},morph:{primary:"tukunay",alternatives:[],normalized:"morph"},set:{primary:"churanay",alternatives:["kamaykuy"],normalized:"set"},get:{primary:"taripay",normalized:"get"},increment:{primary:"yapachiy",normalized:"increment"},decrement:{primary:"pisiyachiy",normalized:"decrement"},log:{primary:"qillqakuy",alternatives:["willakuy"],normalized:"log"},show:{primary:"rikuchiy",alternatives:["qawachiy"],normalized:"show"},hide:{primary:"pakay",alternatives:["pakakuy"],normalized:"hide"},transition:{primary:"pasay",alternatives:[],normalized:"transition"},on:{primary:"chaypim",alternatives:["kaypi"],normalized:"on"},trigger:{primary:"kuyuchiy",alternatives:["kichay"],normalized:"trigger"},send:{primary:"kachay",alternatives:["apachiy"],normalized:"send"},focus:{primary:"qhawachiy",alternatives:["qhaway"],normalized:"focus"},blur:{primary:"paqariy",alternatives:["mana qhawachiy"],normalized:"blur"},empty:{primary:"ch'usaq",alternatives:["chusaq"],normalized:"empty"},open:{primary:"paskay",normalized:"open"},close:{primary:"wichqay",normalized:"close"},select:{primary:"marcay",normalized:"select"},clear:{primary:"pichay",normalized:"clear"},reset:{primary:"musuqchay",normalized:"reset"},breakpoint:{primary:"sayachinay",normalized:"breakpoint"},go:{primary:"riy",alternatives:["puriy"],normalized:"go"},scroll:{primary:"kunray",alternatives:[],normalized:"scroll"},push:{primary:"tanqay",normalized:"push"},replace:{primary:"tikray_url",alternatives:[],normalized:"replace"},process:{primary:"rurariy",normalized:"process"},wait:{primary:"suyay",normalized:"wait"},fetch:{primary:"apamuy",alternatives:["taripakaramuy"],normalized:"fetch"},settle:{primary:"tiyakuy",normalized:"settle"},if:{primary:"sichus",normalized:"if"},unless:{primary:"mana sichus",normalized:"unless"},when:{primary:"maykama",normalized:"when"},changes:{primary:"tukurikun",normalized:"changes"},where:{primary:"maypi",normalized:"where"},else:{primary:"manachus",alternatives:["hukniraq"],normalized:"else"},repeat:{primary:"kutipay",alternatives:["muyu"],normalized:"repeat"},for:{primary:"sapankaq",normalized:"for"},while:{primary:"kaykamaqa",normalized:"while"},forever:{primary:"forever",normalized:"forever"},continue:{primary:"qatipay",normalized:"continue"},halt:{primary:"sayay",alternatives:[],normalized:"halt"},throw:{primary:"chanqay",normalized:"throw"},call:{primary:"waqyay",alternatives:["qayay"],normalized:"call"},return:{primary:"kutimuy",alternatives:["kutichiy"],normalized:"return"},then:{primary:"chaymantataq",alternatives:["hinaspa","chaymanta"],normalized:"then"},and:{primary:"hinallataq",alternatives:["ima","chaymantawan"],normalized:"and"},matches:{primary:"tupan",normalized:"matches"},exists:{primary:"tiyan",normalized:"exists"},is:{primary:"kanqa",normalized:"is"},end:{primary:"tukukuy",alternatives:["tukuy","puchukay"],normalized:"end"},js:{primary:"js",normalized:"js"},async:{primary:"mana waqtalla",normalized:"async"},tell:{primary:"niy",alternatives:[],normalized:"tell"},default:{primary:"\u00f1awpaq_kaq",alternatives:["qallariy"],normalized:"default"},init:{primary:"qallarichiy",normalized:"init"},behavior:{primary:"ruwana",normalized:"behavior"},install:{primary:"tarpuy",normalized:"install"},measure:{primary:"tupuy",normalized:"measure"},beep:{primary:"waqay",normalized:"beep"},break:{primary:"p'akiy",normalized:"break"},copy:{primary:"qillqay",normalized:"copy"},exit:{primary:"lluqsiy",normalized:"exit"},pick:{primary:"akllay",normalized:"pick"},render:{primary:"rikurichiy",normalized:"render"},into:{primary:"ukuman",normalized:"into"},before:{primary:"\u00f1awpaq",normalized:"before"},after:{primary:"qhipa",normalized:"after"},until:{primary:"kama",alternatives:["-kama"],normalized:"until"},event:{primary:"ruwakuq",alternatives:["imayna"],normalized:"event"},from:{primary:"manta",alternatives:["-manta"],normalized:"from"},click:{primary:"\u00f1itiy",normalized:"click"},load:{primary:"apakuy",normalized:"load"},submit:{primary:"apaykachay",normalized:"submit"},hover:{primary:"hawachiy",normalized:"hover"},input:{primary:"yaykuchiy",normalized:"input"},change:{primary:"kambiay",normalized:"change"},connect:{primary:"tinkiy",alternatives:["watay","hukllachay"],normalized:"connect"},stream:{primary:"phawachiy",alternatives:["sururichiy","ch'uquchiy"],normalized:"stream"},live:{primary:"kawsachkaq",alternatives:["kunan-pacha","kawsay"],normalized:"live"},socket:{primary:"tinkina",alternatives:["t'oqo","tinkiy-tinkina"],normalized:"socket"},bind:{primary:"bind",alternatives:["watachiy"],normalized:"bind"},intercept:{primary:"hark'ay",alternatives:["intercept"],normalized:"intercept"},worker:{primary:"llamk'aq",alternatives:["worker"],normalized:"worker"},eventsource:{primary:"eventsource",alternatives:["kawsay-pukyu"],normalized:"eventsource"}},eventHandler:{keyword:{primary:"pi",alternatives:["kaqtin"]},sourceMarker:{primary:"manta",position:"after"},eventMarker:{primary:"pi",alternatives:["kaqtin","kaqpi"],position:"after"}}}}}),jr={};x(jr,{russianProfile:()=>Tr});var Er,Lr=b({"src/generators/profiles/russian.ts"(){Tr={code:"ru",name:"Russian",nativeName:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439",direction:"ltr",script:"cyrillic",wordOrder:"SVO",markingStrategy:"preposition",usesSpaces:!0,defaultVerbForm:"infinitive",verb:{position:"start",subjectDrop:!0,suffixes:["\u0442\u044c","\u0442\u044c\u0441\u044f","\u0438\u0442\u044c","\u0438\u0442\u044c\u0441\u044f","\u0430\u0442\u044c","\u0430\u0442\u044c\u0441\u044f","\u0435\u0442\u044c","\u0435\u0442\u044c\u0441\u044f"]},references:{me:"\u044f",it:"\u044d\u0442\u043e",you:"\u0442\u044b",result:"\u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442",event:"\u0441\u043e\u0431\u044b\u0442\u0438\u0435",target:"\u0446\u0435\u043b\u044c",body:"\u0442\u0435\u043b\u043e",document:"\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442",window:"\u043e\u043a\u043d\u043e",detail:"\u0434\u0435\u0442\u0430\u043b\u0438"},possessive:{marker:"",markerPosition:"after-object",usePossessiveAdjectives:!0,specialForms:{me:"\u043c\u043e\u0439",it:"\u0435\u0433\u043e",you:"\u0442\u0432\u043e\u0439"},keywords:{"\u043c\u043e\u0439":"me","\u043c\u043e\u044f":"me","\u043c\u043e\u0451":"me","\u043c\u043e\u0438":"me","\u0442\u0432\u043e\u0439":"you","\u0442\u0432\u043e\u044f":"you","\u0442\u0432\u043e\u0451":"you","\u0442\u0432\u043e\u0438":"you","\u0435\u0433\u043e":"it","\u0435\u0451":"it"}},roleMarkers:{destination:{primary:"\u0432",alternatives:["\u043d\u0430","\u043a"],position:"before"},source:{primary:"\u0438\u0437",alternatives:["\u043e\u0442","\u0441"],position:"before"},patient:{primary:"",position:"before"},style:{primary:"\u0441",alternatives:["\u0441\u043e"],position:"before"}},keywords:{toggle:{primary:"\u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c",alternatives:["\u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438"],normalized:"toggle",form:"infinitive"},add:{primary:"\u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c",alternatives:["\u0434\u043e\u0431\u0430\u0432\u044c"],normalized:"add",form:"infinitive"},remove:{primary:"\u0443\u0434\u0430\u043b\u0438\u0442\u044c",alternatives:["\u0443\u0434\u0430\u043b\u0438","\u0443\u0431\u0440\u0430\u0442\u044c","\u0443\u0431\u0435\u0440\u0438"],normalized:"remove",form:"infinitive"},put:{primary:"\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c",alternatives:["\u043f\u043e\u043b\u043e\u0436\u0438","\u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c","\u043f\u043e\u043c\u0435\u0441\u0442\u0438","\u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c","\u0432\u0441\u0442\u0430\u0432\u044c"],normalized:"put",form:"infinitive"},append:{primary:"\u0434\u043e\u043f\u0438\u0441\u0430\u0442\u044c",alternatives:["\u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u043a\u043e\u043d\u0435\u0446","\u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c_\u0432_\u043a\u043e\u043d\u0435\u0446"],normalized:"append",form:"infinitive"},prepend:{primary:"\u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u043d\u0430\u0447\u0430\u043b\u043e",alternatives:["\u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c_\u0432_\u043d\u0430\u0447\u0430\u043b\u043e"],normalized:"prepend",form:"infinitive"},take:{primary:"\u0432\u0437\u044f\u0442\u044c",alternatives:["\u0432\u043e\u0437\u044c\u043c\u0438"],normalized:"take",form:"infinitive"},make:{primary:"\u0441\u043e\u0437\u0434\u0430\u0442\u044c",alternatives:["\u0441\u043e\u0437\u0434\u0430\u0439"],normalized:"make",form:"infinitive"},clone:{primary:"\u043a\u043b\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c",alternatives:["\u043a\u043b\u043e\u043d\u0438\u0440\u0443\u0439"],normalized:"clone",form:"infinitive"},swap:{primary:"\u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c",alternatives:["\u043f\u043e\u043c\u0435\u043d\u044f\u0439"],normalized:"swap",form:"infinitive"},morph:{primary:"\u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c",alternatives:["\u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0439"],normalized:"morph",form:"infinitive"},set:{primary:"\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c",alternatives:["\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438","\u0437\u0430\u0434\u0430\u0442\u044c","\u0437\u0430\u0434\u0430\u0439"],normalized:"set",form:"infinitive"},get:{primary:"\u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c",alternatives:["\u043f\u043e\u043b\u0443\u0447\u0438"],normalized:"get",form:"infinitive"},increment:{primary:"\u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c",alternatives:["\u0443\u0432\u0435\u043b\u0438\u0447\u044c"],normalized:"increment",form:"infinitive"},decrement:{primary:"\u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c",alternatives:["\u0443\u043c\u0435\u043d\u044c\u0448\u0438"],normalized:"decrement",form:"infinitive"},log:{primary:"\u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c",alternatives:["\u0437\u0430\u043f\u0438\u0448\u0438"],normalized:"log",form:"infinitive"},show:{primary:"\u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c",alternatives:["\u043f\u043e\u043a\u0430\u0436\u0438"],normalized:"show",form:"infinitive"},hide:{primary:"\u0441\u043a\u0440\u044b\u0442\u044c",alternatives:["\u0441\u043a\u0440\u043e\u0439","\u0441\u043f\u0440\u044f\u0442\u0430\u0442\u044c","\u0441\u043f\u0440\u044f\u0447\u044c"],normalized:"hide",form:"infinitive"},transition:{primary:"\u0430\u043d\u0438\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c",alternatives:["\u0430\u043d\u0438\u043c\u0438\u0440\u0443\u0439"],normalized:"transition",form:"infinitive"},on:{primary:"\u043f\u0440\u0438",normalized:"on"},trigger:{primary:"\u0438\u043d\u0438\u0446\u0438\u0438\u0440\u043e\u0432\u0430\u0442\u044c",alternatives:["\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c","\u0437\u0430\u043f\u0443\u0441\u0442\u0438"],normalized:"trigger",form:"infinitive"},send:{primary:"\u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c",alternatives:["\u043e\u0442\u043f\u0440\u0430\u0432\u044c"],normalized:"send",form:"infinitive"},focus:{primary:"\u0441\u0444\u043e\u043a\u0443\u0441\u0438\u0440\u043e\u0432\u0430\u0442\u044c",alternatives:["\u0441\u0444\u043e\u043a\u0443\u0441\u0438\u0440\u0443\u0439","\u0444\u043e\u043a\u0443\u0441"],normalized:"focus",form:"infinitive"},blur:{primary:"\u0440\u0430\u0437\u043c\u044b\u0442\u044c",alternatives:["\u0440\u0430\u0437\u043c\u043e\u0439"],normalized:"blur",form:"infinitive"},empty:{primary:"\u043e\u043f\u0443\u0441\u0442\u043e\u0448\u0438\u0442\u044c",alternatives:["\u043f\u0443\u0441\u0442\u043e\u0439"],normalized:"empty"},open:{primary:"\u043e\u0442\u043a\u0440\u044b\u0442\u044c",normalized:"open"},close:{primary:"\u0437\u0430\u043a\u0440\u044b\u0442\u044c",normalized:"close"},select:{primary:"\u0432\u044b\u0434\u0435\u043b\u0438\u0442\u044c",normalized:"select"},clear:{primary:"\u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c",normalized:"clear"},reset:{primary:"\u0441\u0431\u0440\u043e\u0441\u0438\u0442\u044c",normalized:"reset"},breakpoint:{primary:"\u0442\u043e\u0447\u043a\u0430-\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0430",normalized:"breakpoint"},click:{primary:"\u043a\u043b\u0438\u043a",alternatives:["\u043a\u043b\u0438\u043a\u0435","\u043d\u0430\u0436\u0430\u0442\u0438\u0438"],normalized:"click"},hover:{primary:"\u043d\u0430\u0432\u0435\u0434\u0435\u043d\u0438\u0438",alternatives:["\u043d\u0430\u0432\u0435\u0434\u0435\u043d\u0438\u0435"],normalized:"hover"},submit:{primary:"\u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0435",alternatives:["\u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430"],normalized:"submit"},input:{primary:"\u0432\u0432\u043e\u0434\u0435",alternatives:["\u0432\u0432\u043e\u0434"],normalized:"input"},change:{primary:"\u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438",alternatives:["\u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435"],normalized:"change"},load:{primary:"\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430",alternatives:["\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435"],normalized:"load"},go:{primary:"\u043f\u0435\u0440\u0435\u0439\u0442\u0438",alternatives:["\u043f\u0435\u0440\u0435\u0439\u0434\u0438","\u0438\u0434\u0442\u0438","\u0438\u0434\u0438"],normalized:"go",form:"infinitive"},scroll:{primary:"\u043f\u0440\u043e\u043a\u0440\u0443\u0442\u0438\u0442\u044c",alternatives:["\u043f\u0440\u043e\u043a\u0440\u0443\u0442\u0438"],normalized:"scroll",form:"infinitive"},push:{primary:"\u0432\u0442\u043e\u043b\u043a\u043d\u0443\u0442\u044c",alternatives:["\u0442\u043e\u043b\u043a\u043d\u0443\u0442\u044c"],normalized:"push",form:"infinitive"},replace:{primary:"\u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c",alternatives:["\u0437\u0430\u043c\u0435\u043d\u0438"],normalized:"replace",form:"infinitive"},process:{primary:"\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c",alternatives:["\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0439"],normalized:"process",form:"infinitive"},wait:{primary:"\u0436\u0434\u0430\u0442\u044c",alternatives:["\u0436\u0434\u0438","\u043f\u043e\u0434\u043e\u0436\u0434\u0438"],normalized:"wait",form:"infinitive"},fetch:{primary:"\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c",alternatives:["\u0437\u0430\u0433\u0440\u0443\u0437\u0438"],normalized:"fetch",form:"infinitive"},settle:{primary:"\u0441\u0442\u0430\u0431\u0438\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c",normalized:"settle",form:"infinitive"},if:{primary:"\u0435\u0441\u043b\u0438",normalized:"if"},unless:{primary:"\u043a\u0440\u043e\u043c\u0435",normalized:"unless"},when:{primary:"\u043a\u043e\u0433\u0434\u0430",normalized:"when"},changes:{primary:"\u0438\u0437\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f",normalized:"changes"},where:{primary:"\u0433\u0434\u0435",normalized:"where"},else:{primary:"\u0438\u043d\u0430\u0447\u0435",normalized:"else"},repeat:{primary:"\u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c",alternatives:["\u043f\u043e\u0432\u0442\u043e\u0440\u0438"],normalized:"repeat",form:"infinitive"},for:{primary:"\u0434\u043b\u044f",alternatives:["\u043a\u0430\u0436\u0434\u044b\u0439"],normalized:"for"},while:{primary:"\u043f\u043e\u043a\u0430",normalized:"while"},forever:{primary:"\u0432\u0441\u0435\u0433\u0434\u0430",normalized:"forever",alternatives:["forever"]},continue:{primary:"\u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c",alternatives:["\u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438"],normalized:"continue",form:"infinitive"},halt:{primary:"\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c",alternatives:["\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0441\u044c","\u0441\u0442\u043e\u043f"],normalized:"halt",form:"infinitive"},throw:{primary:"\u0431\u0440\u043e\u0441\u0438\u0442\u044c",alternatives:["\u0431\u0440\u043e\u0441\u044c"],normalized:"throw",form:"infinitive"},call:{primary:"\u0432\u044b\u0437\u0432\u0430\u0442\u044c",alternatives:["\u0432\u044b\u0437\u043e\u0432\u0438"],normalized:"call",form:"infinitive"},return:{primary:"\u0432\u0435\u0440\u043d\u0443\u0442\u044c",alternatives:["\u0432\u0435\u0440\u043d\u0438"],normalized:"return",form:"infinitive"},then:{primary:"\u0437\u0430\u0442\u0435\u043c",alternatives:["\u043f\u043e\u0442\u043e\u043c","\u0442\u043e\u0433\u0434\u0430"],normalized:"then"},and:{primary:"\u0438",normalized:"and"},matches:{primary:"\u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442",normalized:"matches"},exists:{primary:"\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442",normalized:"exists"},is:{primary:"\u0435\u0441\u0442\u044c",normalized:"is"},no:{primary:"\u043d\u0435\u0442",normalized:"no"},end:{primary:"\u043a\u043e\u043d\u0435\u0446",normalized:"end"},js:{primary:"js",normalized:"js"},async:{primary:"\u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e",alternatives:["async"],normalized:"async"},tell:{primary:"\u0441\u043a\u0430\u0437\u0430\u0442\u044c",alternatives:["\u0441\u043a\u0430\u0436\u0438"],normalized:"tell",form:"infinitive"},default:{primary:"\u043f\u043e_\u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e",normalized:"default"},init:{primary:"\u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c",alternatives:["\u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0439"],normalized:"init",form:"infinitive"},behavior:{primary:"\u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435",normalized:"behavior"},install:{primary:"\u0438\u043d\u0441\u0442\u0430\u043b\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c",normalized:"install",form:"infinitive"},measure:{primary:"\u0438\u0437\u043c\u0435\u0440\u0438\u0442\u044c",alternatives:["\u0438\u0437\u043c\u0435\u0440\u044c"],normalized:"measure",form:"infinitive"},beep:{primary:"\u0437\u0432\u0443\u043a",normalized:"beep"},break:{primary:"\u043f\u0440\u0435\u0440\u0432\u0430\u0442\u044c",normalized:"break"},copy:{primary:"\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c",normalized:"copy"},exit:{primary:"\u0432\u044b\u0439\u0442\u0438",normalized:"exit"},pick:{primary:"\u0432\u044b\u0431\u0440\u0430\u0442\u044c",normalized:"pick"},render:{primary:"\u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c",normalized:"render"},into:{primary:"\u0432",alternatives:["\u0432\u043e"],normalized:"into"},before:{primary:"\u0434\u043e",alternatives:["\u043f\u0435\u0440\u0435\u0434"],normalized:"before"},after:{primary:"\u043f\u043e\u0441\u043b\u0435",normalized:"after"},until:{primary:"\u043f\u043e\u043a\u0430_\u043d\u0435",normalized:"until"},event:{primary:"\u0441\u043e\u0431\u044b\u0442\u0438\u0435",normalized:"event"},from:{primary:"\u0438\u0437",alternatives:["\u043e\u0442","\u0441"],normalized:"from"},connect:{primary:"\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c",alternatives:["\u0441\u043e\u0435\u0434\u0438\u043d\u0438\u0442\u044c","\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f"],normalized:"connect"},stream:{primary:"\u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c",alternatives:["\u043f\u043e\u0442\u043e\u043a","\u0441\u0442\u0440\u0438\u043c"],normalized:"stream"},live:{primary:"\u0432-\u043f\u0440\u044f\u043c\u043e\u043c-\u044d\u0444\u0438\u0440\u0435",alternatives:["\u043f\u0440\u044f\u043c\u043e\u0439-\u044d\u0444\u0438\u0440","\u0432\u0436\u0438\u0432\u0443\u044e","\u0436\u0438\u0432\u043e\u0439"],normalized:"live"},socket:{primary:"\u0441\u043e\u043a\u0435\u0442",alternatives:["\u0433\u043d\u0435\u0437\u0434\u043e","websocket","socket"],normalized:"socket"},bind:{primary:"\u043f\u0440\u0438\u0432\u044f\u0437\u0430\u0442\u044c",alternatives:["\u0441\u0432\u044f\u0437\u0430\u0442\u044c","bind"],normalized:"bind"},intercept:{primary:"\u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442\u0438\u0442\u044c",alternatives:["\u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442\u0438","intercept"],normalized:"intercept"},worker:{primary:"\u0440\u0430\u0431\u043e\u0447\u0438\u0439",alternatives:["\u0432\u043e\u0440\u043a\u0435\u0440","worker"],normalized:"worker"},eventsource:{primary:"eventsource",alternatives:["\u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a-\u0441\u043e\u0431\u044b\u0442\u0438\u0439"],normalized:"eventsource"}},eventHandler:{keyword:{primary:"\u043f\u0440\u0438",normalized:"on"},sourceMarker:{primary:"\u043d\u0430",alternatives:["\u0432","\u043f\u0440\u0438"],position:"before"},eventMarker:{primary:"\u043f\u0440\u0438",position:"before"},temporalMarkers:["\u043a\u043e\u0433\u0434\u0430","\u0435\u0441\u043b\u0438"]}}}}),Cr={};x(Cr,{swahiliProfile:()=>Er});var _r,Pr=b({"src/generators/profiles/swahili.ts"(){Er={code:"sw",name:"Swahili",nativeName:"Kiswahili",direction:"ltr",script:"latin",wordOrder:"SVO",markingStrategy:"preposition",usesSpaces:!0,verb:{position:"start",subjectDrop:!0},references:{me:"mimi",it:"hiyo",you:"wewe",result:"matokeo",event:"tukio",target:"lengo",body:"mwili",document:"hati",window:"dirisha",detail:"maelezo"},possessive:{marker:"",markerPosition:"after-object",usePossessiveAdjectives:!0,specialForms:{me:"yangu",it:"yake",you:"yako"},keywords:{wangu:"me",yangu:"me",langu:"me",changu:"me",wako:"you",yako:"you",lako:"you",chako:"you",wake:"it",yake:"it",lake:"it",chake:"it"}},roleMarkers:{destination:{primary:"kwenye",alternatives:["kwa"],position:"before"},source:{primary:"kutoka",position:"before"},patient:{primary:"",position:"before"},style:{primary:"na",position:"before"}},keywords:{toggle:{primary:"badilisha",normalized:"toggle"},add:{primary:"ongeza",normalized:"add"},remove:{primary:"ondoa",alternatives:["futa","toa"],normalized:"remove"},put:{primary:"weka",alternatives:["tia"],normalized:"put"},append:{primary:"ambatanisha",normalized:"append"},prepend:{primary:"tanguliza",normalized:"prepend"},take:{primary:"chukua",normalized:"take"},make:{primary:"tengeneza",alternatives:["unda"],normalized:"make"},clone:{primary:"nakili",alternatives:["rudufu"],normalized:"clone"},swap:{primary:"badilishana",alternatives:["badalisha"],normalized:"swap"},morph:{primary:"geuza",alternatives:["badilisha umbo"],normalized:"morph"},set:{primary:"seti",normalized:"set"},get:{primary:"pata",alternatives:["pokea"],normalized:"get"},increment:{primary:"ongezeko",normalized:"increment"},decrement:{primary:"punguza",normalized:"decrement"},log:{primary:"andika",alternatives:["rekodi"],normalized:"log"},show:{primary:"onyesha",normalized:"show"},hide:{primary:"ficha",alternatives:["mficho"],normalized:"hide"},transition:{primary:"hamisha",alternatives:["animisha","mpito"],normalized:"transition"},on:{primary:"unapo",alternatives:["kwenye"],normalized:"on"},trigger:{primary:"chochea",normalized:"trigger"},send:{primary:"tuma",alternatives:["peleka"],normalized:"send"},focus:{primary:"lenga",alternatives:["angazia"],normalized:"focus"},blur:{primary:"blur",normalized:"blur"},empty:{primary:"toa-kila-kitu",alternatives:["mwaga","tupu"],normalized:"empty"},open:{primary:"fungua",normalized:"open"},close:{primary:"funga",normalized:"close"},select:{primary:"alama",normalized:"select"},clear:{primary:"safisha",normalized:"clear"},reset:{primary:"anzisha-upya",normalized:"reset"},breakpoint:{primary:"nukta-simama",normalized:"breakpoint"},go:{primary:"nenda",alternatives:["enda","elekea"],normalized:"go"},scroll:{primary:"sogeza",alternatives:["skroli"],normalized:"scroll"},push:{primary:"sukuma",alternatives:["push"],normalized:"push"},replace:{primary:"badilisha_url",alternatives:["badili_url"],normalized:"replace"},process:{primary:"shughulikia",alternatives:["changanua"],normalized:"process"},wait:{primary:"subiri",alternatives:["ngoja"],normalized:"wait"},fetch:{primary:"leta",alternatives:["pakia"],normalized:"fetch"},settle:{primary:"tulia",alternatives:["imarika"],normalized:"settle"},if:{primary:"kama",alternatives:["ikiwa"],normalized:"if"},unless:{primary:"isipokuwa",normalized:"unless"},when:{primary:"wakati",normalized:"when"},changes:{primary:"inabadilika",normalized:"changes"},where:{primary:"wapi",normalized:"where"},else:{primary:"vinginevyo",alternatives:["sivyo"],normalized:"else"},repeat:{primary:"rudia",normalized:"repeat"},for:{primary:"kwa",normalized:"for"},while:{primary:"kadri",normalized:"while"},forever:{primary:"forever",normalized:"forever"},continue:{primary:"endelea",normalized:"continue"},halt:{primary:"simama",alternatives:["acha"],normalized:"halt"},throw:{primary:"tupa",normalized:"throw"},call:{primary:"ita",normalized:"call"},return:{primary:"rudisha",alternatives:["rejea"],normalized:"return"},then:{primary:"kisha",alternatives:["halafu","baadaye"],normalized:"then"},and:{primary:"na",alternatives:["pia","vilevile"],normalized:"and"},is:{primary:"ni",normalized:"is"},matches:{primary:"inafanana",normalized:"matches"},no:{primary:"hakuna",normalized:"no"},end:{primary:"mwisho",alternatives:["maliza","tamati"],normalized:"end"},js:{primary:"js",alternatives:["javascript"],normalized:"js"},async:{primary:"isiyo sawia",normalized:"async"},tell:{primary:"sema",alternatives:["ambia"],normalized:"tell"},default:{primary:"chaguo-msingi",alternatives:["msingi"],normalized:"default"},init:{primary:"anzisha",alternatives:["anza"],normalized:"init"},behavior:{primary:"tabia",normalized:"behavior"},install:{primary:"sakinisha",normalized:"install"},measure:{primary:"pima",normalized:"measure"},beep:{primary:"lia",normalized:"beep"},break:{primary:"vunja",normalized:"break"},copy:{primary:"nakala",normalized:"copy"},exit:{primary:"toka",normalized:"exit"},pick:{primary:"chagua",normalized:"pick"},render:{primary:"chora",normalized:"render"},into:{primary:"ndani",normalized:"into"},before:{primary:"kabla",normalized:"before"},after:{primary:"baada",normalized:"after"},until:{primary:"hadi",normalized:"until"},event:{primary:"tukio",normalized:"event"},from:{primary:"kutoka",normalized:"from"},connect:{primary:"unganisha",alternatives:["unga","ungana"],normalized:"connect"},stream:{primary:"tiririsha",alternatives:["mtiririko","strimu"],normalized:"stream"},live:{primary:"moja-kwa-moja",alternatives:["mubashara","hai"],normalized:"live"},socket:{primary:"soketi",alternatives:["tundu","soketi-wavuti"],normalized:"socket"},bind:{primary:"ambatisha",alternatives:["funganisha","bind"],normalized:"bind"},intercept:{primary:"zuia",alternatives:["nasa","intercept"],normalized:"intercept"},worker:{primary:"mfanyakazi",alternatives:["worker"],normalized:"worker"},eventsource:{primary:"eventsource",alternatives:["chanzo-matukio"],normalized:"eventsource"}},eventHandler:{keyword:{primary:"unapo",alternatives:["kwenye","kwa","wakati"]},sourceMarker:{primary:"kutoka",position:"before"},conditionalKeyword:{primary:"unapo",alternatives:["anapo","tunapo","mnapo","wanapo"]},eventMarker:{primary:"unapo",alternatives:["kwenye","kwa","wakati"],position:"before"}}}}}),Wr={};x(Wr,{thaiProfile:()=>_r});var Ar,qr=b({"src/generators/profiles/thai.ts"(){_r={code:"th",name:"Thai",nativeName:"\u0e44\u0e17\u0e22",direction:"ltr",script:"thai",wordOrder:"SVO",markingStrategy:"preposition",usesSpaces:!1,defaultVerbForm:"base",verb:{position:"second",subjectDrop:!0},references:{me:"\u0e09\u0e31\u0e19",it:"\u0e21\u0e31\u0e19",you:"\u0e04\u0e38\u0e13",result:"\u0e1c\u0e25\u0e25\u0e31\u0e1e\u0e18\u0e4c",event:"\u0e40\u0e2b\u0e15\u0e38\u0e01\u0e32\u0e23\u0e13\u0e4c",target:"\u0e40\u0e1b\u0e49\u0e32\u0e2b\u0e21\u0e32\u0e22",body:"\u0e1a\u0e2d\u0e14\u0e35\u0e49"},possessive:{marker:"\u0e02\u0e2d\u0e07",markerPosition:"between",keywords:{"\u0e02\u0e2d\u0e07\u0e09\u0e31\u0e19":"me","\u0e02\u0e2d\u0e07\u0e1c\u0e21":"me","\u0e02\u0e2d\u0e07\u0e04\u0e38\u0e13":"you","\u0e02\u0e2d\u0e07\u0e21\u0e31\u0e19":"it","\u0e02\u0e2d\u0e07\u0e40\u0e02\u0e32":"it","\u0e02\u0e2d\u0e07\u0e40\u0e18\u0e2d":"it"}},roleMarkers:{patient:{primary:"",position:"before"},destination:{primary:"\u0e43\u0e19",alternatives:["\u0e44\u0e1b\u0e22\u0e31\u0e07"],position:"before"},source:{primary:"\u0e08\u0e32\u0e01",position:"before"},style:{primary:"\u0e14\u0e49\u0e27\u0e22",position:"before"}},keywords:{toggle:{primary:"\u0e2a\u0e25\u0e31\u0e1a",alternatives:[],normalized:"toggle"},add:{primary:"\u0e40\u0e1e\u0e34\u0e48\u0e21",alternatives:[],normalized:"add"},remove:{primary:"\u0e25\u0e1a",alternatives:["\u0e25\u0e1a\u0e2d\u0e2d\u0e01"],normalized:"remove"},put:{primary:"\u0e43\u0e2a\u0e48",alternatives:["\u0e27\u0e32\u0e07"],normalized:"put"},append:{primary:"\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e17\u0e49\u0e32\u0e22",alternatives:[],normalized:"append"},prepend:{primary:"\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e2b\u0e19\u0e49\u0e32",alternatives:[],normalized:"prepend"},take:{primary:"\u0e23\u0e31\u0e1a",alternatives:[],normalized:"take"},make:{primary:"\u0e2a\u0e23\u0e49\u0e32\u0e07",alternatives:[],normalized:"make"},clone:{primary:"\u0e42\u0e04\u0e25\u0e19",alternatives:["\u0e2a\u0e33\u0e40\u0e19\u0e32"],normalized:"clone"},swap:{primary:"\u0e2a\u0e25\u0e31\u0e1a\u0e17\u0e35\u0e48",alternatives:[],normalized:"swap"},morph:{primary:"\u0e41\u0e1b\u0e25\u0e07\u0e23\u0e48\u0e32\u0e07",alternatives:[],normalized:"morph"},set:{primary:"\u0e15\u0e31\u0e49\u0e07",alternatives:["\u0e01\u0e33\u0e2b\u0e19\u0e14"],normalized:"set"},get:{primary:"\u0e23\u0e31\u0e1a\u0e04\u0e48\u0e32",alternatives:[],normalized:"get"},increment:{primary:"\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e04\u0e48\u0e32",alternatives:[],normalized:"increment"},decrement:{primary:"\u0e25\u0e14\u0e04\u0e48\u0e32",alternatives:[],normalized:"decrement"},log:{primary:"\u0e1a\u0e31\u0e19\u0e17\u0e36\u0e01",alternatives:[],normalized:"log"},show:{primary:"\u0e41\u0e2a\u0e14\u0e07",alternatives:[],normalized:"show"},hide:{primary:"\u0e0b\u0e48\u0e2d\u0e19",alternatives:[],normalized:"hide"},transition:{primary:"\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19\u0e1c\u0e48\u0e32\u0e19",alternatives:[],normalized:"transition"},on:{primary:"\u0e40\u0e21\u0e37\u0e48\u0e2d",alternatives:["\u0e15\u0e2d\u0e19"],normalized:"on"},trigger:{primary:"\u0e17\u0e23\u0e34\u0e01\u0e40\u0e01\u0e2d\u0e23\u0e4c",alternatives:[],normalized:"trigger"},send:{primary:"\u0e2a\u0e48\u0e07",alternatives:[],normalized:"send"},focus:{primary:"\u0e42\u0e1f\u0e01\u0e31\u0e2a",alternatives:[],normalized:"focus"},blur:{primary:"\u0e40\u0e1a\u0e25\u0e2d",alternatives:[],normalized:"blur"},empty:{primary:"\u0e25\u0e49\u0e32\u0e07",alternatives:["\u0e17\u0e33\u0e43\u0e2b\u0e49\u0e27\u0e48\u0e32\u0e07","\u0e27\u0e48\u0e32\u0e07"],normalized:"empty"},open:{primary:"\u0e40\u0e1b\u0e34\u0e14",normalized:"open"},close:{primary:"\u0e1b\u0e34\u0e14",normalized:"close"},select:{primary:"\u0e17\u0e33\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e2b\u0e21\u0e32\u0e22",normalized:"select"},clear:{primary:"\u0e40\u0e04\u0e25\u0e35\u0e22\u0e23\u0e4c",normalized:"clear"},reset:{primary:"\u0e23\u0e35\u0e40\u0e0b\u0e47\u0e15",normalized:"reset"},breakpoint:{primary:"\u0e08\u0e38\u0e14\u0e1e\u0e31\u0e01",normalized:"breakpoint"},click:{primary:"\u0e04\u0e25\u0e34\u0e01",normalized:"click"},hover:{primary:"\u0e42\u0e2e\u0e40\u0e27\u0e2d\u0e23\u0e4c",alternatives:["\u0e27\u0e32\u0e07\u0e40\u0e21\u0e32\u0e2a\u0e4c"],normalized:"hover"},submit:{primary:"\u0e22\u0e37\u0e48\u0e19",alternatives:["\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25"],normalized:"submit"},input:{primary:"\u0e1b\u0e49\u0e2d\u0e19",alternatives:["\u0e01\u0e23\u0e2d\u0e01"],normalized:"input"},changes:{primary:"\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19",normalized:"changes"},change:{primary:"\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19",alternatives:["\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19\u0e41\u0e1b\u0e25\u0e07"],normalized:"change"},go:{primary:"\u0e44\u0e1b",alternatives:["\u0e44\u0e1b\u0e17\u0e35\u0e48"],normalized:"go"},scroll:{primary:"\u0e40\u0e25\u0e37\u0e48\u0e2d\u0e19",normalized:"scroll"},push:{primary:"\u0e14\u0e31\u0e19",alternatives:["\u0e1c\u0e25\u0e31\u0e01"],normalized:"push"},replace:{primary:"\u0e41\u0e17\u0e19\u0e17\u0e35\u0e48",alternatives:["\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19-url"],normalized:"replace"},process:{primary:"\u0e1b\u0e23\u0e30\u0e21\u0e27\u0e25\u0e1c\u0e25",alternatives:["\u0e08\u0e31\u0e14\u0e01\u0e32\u0e23"],normalized:"process"},wait:{primary:"\u0e23\u0e2d",alternatives:[],normalized:"wait"},fetch:{primary:"\u0e14\u0e36\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25",alternatives:[],normalized:"fetch"},settle:{primary:"\u0e04\u0e07\u0e17\u0e35\u0e48",alternatives:[],normalized:"settle"},if:{primary:"\u0e16\u0e49\u0e32",alternatives:["\u0e2b\u0e32\u0e01"],normalized:"if"},unless:{primary:"unless",normalized:"unless"},when:{primary:"\u0e02\u0e13\u0e30\u0e17\u0e35\u0e48",normalized:"when"},where:{primary:"\u0e17\u0e35\u0e48\u0e44\u0e2b\u0e19",normalized:"where"},else:{primary:"\u0e44\u0e21\u0e48\u0e07\u0e31\u0e49\u0e19",alternatives:["\u0e44\u0e21\u0e48\u0e40\u0e0a\u0e48\u0e19\u0e19\u0e31\u0e49\u0e19"],normalized:"else"},repeat:{primary:"\u0e17\u0e33\u0e0b\u0e49\u0e33",alternatives:[],normalized:"repeat"},for:{primary:"\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a",alternatives:[],normalized:"for"},while:{primary:"\u0e43\u0e19\u0e02\u0e13\u0e30\u0e17\u0e35\u0e48",alternatives:[],normalized:"while"},forever:{primary:"\u0e15\u0e25\u0e2d\u0e14\u0e44\u0e1b",normalized:"forever",alternatives:["forever"]},continue:{primary:"\u0e15\u0e48\u0e2d\u0e44\u0e1b",alternatives:[],normalized:"continue"},halt:{primary:"\u0e2b\u0e22\u0e38\u0e14",alternatives:[],normalized:"halt"},throw:{primary:"\u0e42\u0e22\u0e19",alternatives:[],normalized:"throw"},call:{primary:"\u0e40\u0e23\u0e35\u0e22\u0e01",alternatives:[],normalized:"call"},return:{primary:"\u0e04\u0e37\u0e19\u0e04\u0e48\u0e32",alternatives:["\u0e01\u0e25\u0e31\u0e1a"],normalized:"return"},then:{primary:"\u0e41\u0e25\u0e49\u0e27",alternatives:[],normalized:"then"},and:{primary:"\u0e41\u0e25\u0e30",alternatives:[],normalized:"and"},exists:{primary:"\u0e21\u0e35\u0e2d\u0e22\u0e39\u0e48",normalized:"exists"},end:{primary:"\u0e08\u0e1a",alternatives:[],normalized:"end"},js:{primary:"\u0e40\u0e08\u0e40\u0e2d\u0e2a",alternatives:["js"],normalized:"js"},async:{primary:"\u0e2d\u0e30\u0e0b\u0e34\u0e07\u0e04\u0e4c",alternatives:[],normalized:"async"},tell:{primary:"\u0e1a\u0e2d\u0e01",alternatives:[],normalized:"tell"},default:{primary:"\u0e04\u0e48\u0e32\u0e40\u0e23\u0e34\u0e48\u0e21\u0e15\u0e49\u0e19",alternatives:[],normalized:"default"},init:{primary:"\u0e40\u0e23\u0e34\u0e48\u0e21\u0e15\u0e49\u0e19",alternatives:[],normalized:"init"},behavior:{primary:"\u0e1e\u0e24\u0e15\u0e34\u0e01\u0e23\u0e23\u0e21",alternatives:[],normalized:"behavior"},install:{primary:"\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07",alternatives:[],normalized:"install"},measure:{primary:"\u0e27\u0e31\u0e14",alternatives:[],normalized:"measure"},beep:{primary:"\u0e1a\u0e35\u0e4a\u0e1a",alternatives:[],normalized:"beep"},break:{primary:"\u0e02\u0e31\u0e14\u0e08\u0e31\u0e07\u0e2b\u0e27\u0e30",alternatives:[],normalized:"break"},copy:{primary:"\u0e04\u0e31\u0e14\u0e25\u0e2d\u0e01",alternatives:[],normalized:"copy"},exit:{primary:"\u0e2d\u0e2d\u0e01",alternatives:[],normalized:"exit"},pick:{primary:"\u0e40\u0e25\u0e37\u0e2d\u0e01",alternatives:[],normalized:"pick"},render:{primary:"\u0e41\u0e2a\u0e14\u0e07\u0e1c\u0e25",alternatives:[],normalized:"render"},into:{primary:"\u0e43\u0e19",alternatives:[],normalized:"into"},before:{primary:"\u0e01\u0e48\u0e2d\u0e19",alternatives:[],normalized:"before"},after:{primary:"\u0e2b\u0e25\u0e31\u0e07",alternatives:[],normalized:"after"},until:{primary:"\u0e08\u0e19\u0e16\u0e36\u0e07",alternatives:[],normalized:"until"},event:{primary:"\u0e40\u0e2b\u0e15\u0e38\u0e01\u0e32\u0e23\u0e13\u0e4c",alternatives:[],normalized:"event"},from:{primary:"\u0e08\u0e32\u0e01",normalized:"from"},connect:{primary:"\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d",alternatives:["\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21"],normalized:"connect"},stream:{primary:"\u0e2a\u0e15\u0e23\u0e35\u0e21",alternatives:["\u0e2a\u0e15\u0e23\u0e35\u0e21\u0e21\u0e34\u0e48\u0e07","\u0e01\u0e23\u0e30\u0e41\u0e2a"],normalized:"stream"},live:{primary:"\u0e44\u0e25\u0e1f\u0e4c",alternatives:["\u0e2a\u0e14","\u0e16\u0e48\u0e32\u0e22\u0e17\u0e2d\u0e14\u0e2a\u0e14"],normalized:"live"},socket:{primary:"\u0e0b\u0e47\u0e2d\u0e01\u0e40\u0e01\u0e47\u0e15",alternatives:["websocket","\u0e40\u0e27\u0e47\u0e1a\u0e0b\u0e47\u0e2d\u0e01\u0e40\u0e01\u0e47\u0e15","socket"],normalized:"socket"},intercept:{primary:"\u0e14\u0e31\u0e01\u0e08\u0e31\u0e1a",alternatives:["intercept","\u0e2a\u0e01\u0e31\u0e14\u0e01\u0e31\u0e49\u0e19"],normalized:"intercept"},worker:{primary:"\u0e40\u0e27\u0e34\u0e23\u0e4c\u0e01\u0e40\u0e01\u0e2d\u0e23\u0e4c",alternatives:["worker"],normalized:"worker"},eventsource:{primary:"eventsource",alternatives:["\u0e2d\u0e35\u0e40\u0e27\u0e19\u0e15\u0e4c\u0e0b\u0e2d\u0e23\u0e4c\u0e2a"],normalized:"eventsource"},bind:{primary:"\u0e1c\u0e39\u0e01",alternatives:["bind"],normalized:"bind"}},tokenization:{boundaryStrategy:"character"},eventHandler:{keyword:{primary:"\u0e40\u0e21\u0e37\u0e48\u0e2d",alternatives:["\u0e15\u0e2d\u0e19"],normalized:"on"},sourceMarker:{primary:"\u0e08\u0e32\u0e01",position:"before"},eventMarker:{primary:"\u0e40\u0e21\u0e37\u0e48\u0e2d",alternatives:["\u0e15\u0e2d\u0e19"],position:"before"},temporalMarkers:["\u0e40\u0e21\u0e37\u0e48\u0e2d","\u0e15\u0e2d\u0e19"]}}}}),Or={};x(Or,{tagalogProfile:()=>Ar});var Rr,Mr=b({"src/generators/profiles/tl.ts"(){Ar={code:"tl",name:"Tagalog",nativeName:"Tagalog",direction:"ltr",script:"latin",wordOrder:"VSO",markingStrategy:"preposition",usesSpaces:!0,defaultVerbForm:"base",verb:{position:"start",subjectDrop:!0},references:{me:"ako",it:"ito",you:"ikaw",result:"resulta",event:"pangyayari",target:"target",body:"katawan",document:"dokumento",window:"bintana",detail:"detalye"},possessive:{marker:"ng",markerPosition:"between",keywords:{ko:"me",akin:"me",aking:"me",mo:"you",iyo:"you",niya:"it",nito:"it",kaniya:"it"}},roleMarkers:{destination:{primary:"sa",alternatives:["bago","matapos"],position:"before"},source:{primary:"mula_sa",position:"before"},patient:{primary:"",position:"before"},style:{primary:"nang",position:"before"}},keywords:{toggle:{primary:"palitan",alternatives:["itoggle"],normalized:"toggle"},add:{primary:"idagdag",alternatives:["magdagdag"],normalized:"add"},remove:{primary:"alisin",alternatives:["tanggalin"],normalized:"remove"},put:{primary:"ilagay",alternatives:["maglagay"],normalized:"put"},append:{primary:"idagdag_sa_dulo",normalized:"append"},prepend:{primary:"idagdag_sa_simula",normalized:"prepend"},take:{primary:"kumuha",normalized:"take"},make:{primary:"gumawa",alternatives:["lumikha"],normalized:"make"},clone:{primary:"i-clone",normalized:"clone"},swap:{primary:"palitan_pwesto",alternatives:["magpalit"],normalized:"swap"},morph:{primary:"baguhin",normalized:"morph"},set:{primary:"itakda",alternatives:["magtakda"],normalized:"set"},get:{primary:"kunin",normalized:"get"},increment:{primary:"dagdagan",alternatives:["taasan"],normalized:"increment"},decrement:{primary:"bawasan",alternatives:["ibaba"],normalized:"decrement"},log:{primary:"itala",normalized:"log"},show:{primary:"ipakita",alternatives:["magpakita"],normalized:"show"},hide:{primary:"itago",alternatives:["magtago"],normalized:"hide"},transition:{primary:"lumipat",normalized:"transition"},on:{primary:"kapag",normalized:"on"},trigger:{primary:"palitawin",alternatives:["magpatugtog"],normalized:"trigger"},send:{primary:"ipadala",alternatives:["magpadala"],normalized:"send"},focus:{primary:"ituon",normalized:"focus"},blur:{primary:"alisin_tuon",normalized:"blur"},empty:{primary:"walang-laman",alternatives:["alisin-laman","walang_laman"],normalized:"empty"},open:{primary:"buksan",normalized:"open"},close:{primary:"isara",normalized:"close"},select:{primary:"piliin",normalized:"select"},clear:{primary:"burahin",normalized:"clear"},reset:{primary:"i-reset",normalized:"reset"},breakpoint:{primary:"breakpoint",normalized:"breakpoint"},go:{primary:"pumunta",alternatives:["punta"],normalized:"go"},scroll:{primary:"iscroll",alternatives:["mag_scroll","scroll"],normalized:"scroll"},push:{primary:"itulak",alternatives:["ipush"],normalized:"push"},replace:{primary:"palitan_url",alternatives:["ireplace"],normalized:"replace"},process:{primary:"iproseso",alternatives:["proseso"],normalized:"process"},wait:{primary:"maghintay",alternatives:["hintay"],normalized:"wait"},fetch:{primary:"kuhanin_mula",alternatives:["kunin_mula"],normalized:"fetch"},settle:{primary:"magpatahimik",normalized:"settle"},if:{primary:"kung",normalized:"if"},unless:{primary:"maliban_kung",normalized:"unless"},when:{primary:"tuwing",normalized:"when"},changes:{primary:"nagbabago",normalized:"changes"},where:{primary:"kung_saan",normalized:"where"},else:{primary:"kung_hindi",alternatives:["kundi"],normalized:"else"},repeat:{primary:"ulitin",alternatives:["paulit-ulit"],normalized:"repeat"},for:{primary:"para_sa",normalized:"for"},while:{primary:"habang",normalized:"while"},forever:{primary:"magpakailanman",normalized:"forever",alternatives:["forever"]},continue:{primary:"magpatuloy",normalized:"continue"},halt:{primary:"itigil",alternatives:["huminto"],normalized:"halt"},throw:{primary:"ihagis",alternatives:["itapon"],normalized:"throw"},call:{primary:"tawagin",alternatives:["tawagan","tumawag"],normalized:"call"},return:{primary:"ibalik",alternatives:["bumalik"],normalized:"return"},then:{primary:"pagkatapos",alternatives:["saka"],normalized:"then"},and:{primary:"at",normalized:"and"},matches:{primary:"tumutugma",normalized:"matches"},is:{primary:"ay",normalized:"is"},end:{primary:"wakas",alternatives:["tapos"],normalized:"end"},js:{primary:"js",normalized:"js"},async:{primary:"async",alternatives:["sabay"],normalized:"async"},tell:{primary:"sabihin",alternatives:["magsabi"],normalized:"tell"},default:{primary:"pamantayan",alternatives:["default","unang_halaga"],normalized:"default"},init:{primary:"simulan",alternatives:["magsimula"],normalized:"init"},behavior:{primary:"ugali",alternatives:["kilos"],normalized:"behavior"},install:{primary:"ikabit",alternatives:["mag-install"],normalized:"install"},measure:{primary:"sukatin",normalized:"measure"},beep:{primary:"tunog",normalized:"beep"},break:{primary:"putulin",normalized:"break"},copy:{primary:"kopyahin",normalized:"copy"},exit:{primary:"lumabas",normalized:"exit"},pick:{primary:"pumili",normalized:"pick"},render:{primary:"irender",normalized:"render"},into:{primary:"sa",normalized:"into"},before:{primary:"bago",normalized:"before"},after:{primary:"matapos",normalized:"after"},until:{primary:"hanggang",normalized:"until"},event:{primary:"pangyayari",normalized:"event"},from:{primary:"mula",alternatives:["galing"],normalized:"from"},connect:{primary:"ikonekta",alternatives:["kumonekta","connect"],normalized:"connect"},stream:{primary:"i-stream",alternatives:["stream","agos"],normalized:"stream"},live:{primary:"live",alternatives:["tuwiran","direkta"],normalized:"live"},socket:{primary:"socket",alternatives:["websocket"],normalized:"socket"},worker:{primary:"worker",alternatives:["manggagawa"],normalized:"worker"},eventsource:{primary:"eventsource",normalized:"eventsource"},intercept:{primary:"intercept",alternatives:["harangin","humarang"],normalized:"intercept"},bind:{primary:"itali",alternatives:["iugnay","bind"],normalized:"bind"}},eventHandler:{keyword:{primary:"kapag",normalized:"on"},sourceMarker:{primary:"mula_sa",alternatives:["galing_sa"],position:"before"},eventMarker:{primary:"kapag",position:"before"}}}}}),Nr={};x(Nr,{turkishProfile:()=>Rr});var Ir,$r=b({"src/generators/profiles/turkish.ts"(){Rr={code:"tr",name:"Turkish",nativeName:"T\u00fcrk\u00e7e",regions:["priority"],direction:"ltr",script:"latin",wordOrder:"SOV",markingStrategy:"case-suffix",usesSpaces:!0,markersOptional:!0,verb:{position:"end",suffixes:["mek","mak","yor","di","mi\u015f"],subjectDrop:!0},references:{me:"ben",it:"o",you:"sen",result:"sonu\u00e7",event:"olay",target:"hedef",body:"g\u00f6vde",document:"belge",window:"pencere",detail:"detay"},possessive:{marker:"\u0131n",markerPosition:"after-object",usePossessiveAdjectives:!0,specialForms:{me:"benim",it:"onun",you:"senin"},keywords:{benim:"me",senin:"you",onun:"it"}},roleMarkers:{patient:{primary:"i",alternatives:["\u0131","u","\u00fc","yi","y\u0131","yu","y\u00fc","ni","n\u0131","nu","n\u00fc"],position:"after"},destination:{primary:"e",alternatives:["a","ye","ya","ne","na","de","da","te","ta","\u0131n","in","un","\u00fcn","n\u0131n","nin","nun","n\u00fcn"],position:"after"},source:{primary:"den",alternatives:["dan","ten","tan"],position:"after"},style:{primary:"le",alternatives:["la","yle","yla","ile"],position:"after"},event:{primary:"i",alternatives:["\u0131","u","\u00fc"],position:"after"}},keywords:{toggle:{primary:"de\u011fi\u015ftir",alternatives:["a\u00e7/kapat"],normalized:"toggle"},add:{primary:"ekle",normalized:"add"},remove:{primary:"kald\u0131r",alternatives:["sil"],normalized:"remove"},put:{primary:"koy",normalized:"put"},append:{primary:"ili\u015ftir",normalized:"append"},prepend:{primary:"ba\u015f\u0131naekle",normalized:"prepend"},take:{primary:"tut",normalized:"take"},make:{primary:"yap",normalized:"make"},clone:{primary:"klonla",normalized:"clone"},swap:{primary:"takas",normalized:"swap"},morph:{primary:"d\u00f6n\u00fc\u015ft\u00fcr",alternatives:["\u015fekil de\u011fi\u015ftir"],normalized:"morph"},set:{primary:"ayarla",alternatives:["belirle"],normalized:"set"},get:{primary:"al",normalized:"get"},increment:{primary:"art\u0131r",normalized:"increment"},decrement:{primary:"azalt",normalized:"decrement"},log:{primary:"kaydet",normalized:"log"},show:{primary:"g\u00f6ster",normalized:"show"},hide:{primary:"gizle",normalized:"hide"},transition:{primary:"ge\u00e7i\u015f",normalized:"transition"},on:{primary:"\u00fczerinde",alternatives:["zaman"],normalized:"on"},trigger:{primary:"tetikle",normalized:"trigger"},send:{primary:"g\u00f6nder",normalized:"send"},focus:{primary:"odaklanma",alternatives:["odak"],normalized:"focus"},blur:{primary:"odak kayb\u0131",alternatives:["odak kaybi","bulan\u0131k","bulan\u0131kl\u0131k","bulanik"],normalized:"blur"},empty:{primary:"bo\u015falt",alternatives:["bosalt","bo\u015f"],normalized:"empty"},open:{primary:"a\u00e7",alternatives:["ac"],normalized:"open"},close:{primary:"kapat",normalized:"close"},select:{primary:"vurgula",normalized:"select"},clear:{primary:"temizle",normalized:"clear"},reset:{primary:"s\u0131f\u0131rla",alternatives:["sifirla"],normalized:"reset"},breakpoint:{primary:"kesme-noktas\u0131",alternatives:["kesme-noktasi"],normalized:"breakpoint"},click:{primary:"t\u0131klama",alternatives:["t\u0131kla","tiklama","t\u0131k","tik"],normalized:"click"},hover:{primary:"\u00fczerine gelme",alternatives:["\u00fczerinde gezinme"],normalized:"hover"},submit:{primary:"g\u00f6nderme",normalized:"submit"},input:{primary:"girdi",alternatives:["giri\u015f","giris"],normalized:"input"},change:{primary:"de\u011fi\u015fiklik",alternatives:["de\u011fi\u015fim","degisim"],normalized:"change"},load:{primary:"y\u00fckle",normalized:"load"},go:{primary:"git",normalized:"go"},scroll:{primary:"kayd\u0131rma",alternatives:["kaydirma","kayd\u0131r","kaydir"],normalized:"scroll"},push:{primary:"itele",alternatives:["push"],normalized:"push"},replace:{primary:"de\u011fi\u015ftir_url",alternatives:["degistir_url"],normalized:"replace"},process:{primary:"i\u015fle",alternatives:["isle"],normalized:"process"},wait:{primary:"bekle",normalized:"wait"},fetch:{primary:"getir",normalized:"fetch"},settle:{primary:"sabitlen",normalized:"settle"},if:{primary:"e\u011fer",normalized:"if"},unless:{primary:"de\u011filse",normalized:"unless"},when:{primary:"iken",alternatives:["durumunda","oldu\u011funda"],normalized:"when"},changes:{primary:"de\u011fi\u015fti\u011finde",normalized:"changes"},where:{primary:"nerede",normalized:"where"},else:{primary:"yoksa",normalized:"else"},repeat:{primary:"tekrarla",normalized:"repeat"},for:{primary:"i\u00e7in",normalized:"for"},while:{primary:"s\u00fcresince",normalized:"while"},forever:{primary:"forever",normalized:"forever"},continue:{primary:"devam",normalized:"continue"},halt:{primary:"durdur",normalized:"halt"},throw:{primary:"f\u0131rlat",normalized:"throw"},call:{primary:"\u00e7a\u011f\u0131r",normalized:"call"},return:{primary:"d\u00f6n",normalized:"return"},then:{primary:"ard\u0131ndan",alternatives:["daha sonra","ardindan"],normalized:"then"},and:{primary:"ve",alternatives:["ayr\u0131ca","hem de"],normalized:"and"},or:{primary:"veya",normalized:"or"},not:{primary:"de\u011fil",alternatives:["degil"],normalized:"not"},matches:{primary:"e\u015fle\u015fir",normalized:"matches"},is:{primary:"dir",normalized:"is"},no:{primary:"yok",normalized:"no"},end:{primary:"son",alternatives:["biti\u015f","bitti"],normalized:"end"},js:{primary:"js",normalized:"js"},async:{primary:"asenkron",normalized:"async"},tell:{primary:"s\u00f6yle",normalized:"tell"},default:{primary:"varsay\u0131lan",normalized:"default"},init:{primary:"ba\u015flat",normalized:"init"},behavior:{primary:"davran\u0131\u015f",normalized:"behavior"},install:{primary:"kur",alternatives:["y\u00fcklemek"],normalized:"install"},measure:{primary:"\u00f6l\u00e7",normalized:"measure"},beep:{primary:"bip",normalized:"beep"},break:{primary:"dur",normalized:"break"},copy:{primary:"kopyala",normalized:"copy"},exit:{primary:"\u00e7\u0131k",normalized:"exit"},pick:{primary:"se\u00e7",normalized:"pick"},render:{primary:"render",normalized:"render"},into:{primary:"i\u00e7ine",normalized:"into"},before:{primary:"\u00f6nce",normalized:"before"},after:{primary:"sonra",normalized:"after"},until:{primary:"kadar",normalized:"until"},event:{primary:"olay",normalized:"event"},from:{primary:"den",alternatives:["dan"],normalized:"from"},connect:{primary:"ba\u011flan",alternatives:["ba\u011fla","ba\u011flant\u0131"],normalized:"connect"},stream:{primary:"yay\u0131nla",alternatives:["ak\u0131t","ak\u0131\u015f"],normalized:"stream"},live:{primary:"canl\u0131",alternatives:["ger\u00e7ek-zamanl\u0131"],normalized:"live"},socket:{primary:"soket",alternatives:["websocket"],normalized:"socket"},bind:{primary:"bind",normalized:"bind"},intercept:{primary:"yakala",alternatives:["araya-gir","intercept"],normalized:"intercept"},worker:{primary:"i\u015f\u00e7i",alternatives:["worker"],normalized:"worker"},eventsource:{primary:"eventsource",alternatives:["olay-kayna\u011f\u0131"],normalized:"eventsource"}},eventHandler:{eventMarker:{primary:"da",alternatives:["de","ta","te"],position:"after"},temporalMarkers:["d\u0131\u011f\u0131nda","di\u011finde"]}}}}),Kr={};x(Kr,{ukrainianProfile:()=>Ir});var Vr,Dr=b({"src/generators/profiles/ukrainian.ts"(){Ir={code:"uk",name:"Ukrainian",nativeName:"\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430",direction:"ltr",script:"cyrillic",wordOrder:"SVO",markingStrategy:"preposition",usesSpaces:!0,defaultVerbForm:"infinitive",verb:{position:"start",subjectDrop:!0,suffixes:["\u0442\u0438","\u0442\u0438\u0441\u044f","\u0438\u0442\u0438","\u0438\u0442\u0438\u0441\u044f","\u0430\u0442\u0438","\u0430\u0442\u0438\u0441\u044f","\u0456\u0442\u0438","\u0456\u0442\u0438\u0441\u044f"]},references:{me:"\u044f",it:"\u0446\u0435",you:"\u0442\u0438",result:"\u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442",event:"\u043f\u043e\u0434\u0456\u044f",target:"\u0446\u0456\u043b\u044c",body:"\u0442\u0456\u043b\u043e",document:"\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442",window:"\u0432\u0456\u043a\u043d\u043e",detail:"\u0434\u0435\u0442\u0430\u043b\u0456"},possessive:{marker:"",markerPosition:"after-object",usePossessiveAdjectives:!0,specialForms:{me:"\u043c\u0456\u0439",it:"\u0439\u043e\u0433\u043e",you:"\u0442\u0432\u0456\u0439"},keywords:{"\u043c\u0456\u0439":"me","\u043c\u043e\u044f":"me","\u043c\u043e\u0454":"me","\u043c\u043e\u0457":"me","\u0442\u0432\u0456\u0439":"you","\u0442\u0432\u043e\u044f":"you","\u0442\u0432\u043e\u0454":"you","\u0442\u0432\u043e\u0457":"you","\u0439\u043e\u0433\u043e":"it","\u0457\u0457":"it"}},roleMarkers:{destination:{primary:"\u0432",alternatives:["\u043d\u0430","\u0434\u043e"],position:"before"},source:{primary:"\u0437",alternatives:["\u0432\u0456\u0434","\u0456\u0437"],position:"before"},patient:{primary:"",position:"before"},style:{primary:"\u0437",alternatives:["\u0456\u0437"],position:"before"}},keywords:{toggle:{primary:"\u043f\u0435\u0440\u0435\u043c\u043a\u043d\u0443\u0442\u0438",alternatives:["\u043f\u0435\u0440\u0435\u043c\u043a\u043d\u0438"],normalized:"toggle",form:"infinitive"},add:{primary:"\u0434\u043e\u0434\u0430\u0442\u0438",alternatives:["\u0434\u043e\u0434\u0430\u0439"],normalized:"add",form:"infinitive"},remove:{primary:"\u0432\u0438\u0434\u0430\u043b\u0438\u0442\u0438",alternatives:["\u0432\u0438\u0434\u0430\u043b\u0438","\u043f\u0440\u0438\u0431\u0440\u0430\u0442\u0438","\u043f\u0440\u0438\u0431\u0435\u0440\u0438"],normalized:"remove",form:"infinitive"},put:{primary:"\u043f\u043e\u043a\u043b\u0430\u0441\u0442\u0438",alternatives:["\u043f\u043e\u043a\u043b\u0430\u0434\u0438","\u043f\u043e\u043c\u0456\u0441\u0442\u0438\u0442\u0438","\u043f\u043e\u043c\u0456\u0441\u0442\u0438","\u0432\u0441\u0442\u0430\u0432\u0438\u0442\u0438","\u0432\u0441\u0442\u0430\u0432"],normalized:"put",form:"infinitive"},append:{primary:"\u0434\u043e\u043f\u0438\u0441\u0430\u0442\u0438",alternatives:["\u0434\u043e\u0434\u0430\u0442\u0438 \u0432 \u043a\u0456\u043d\u0435\u0446\u044c","\u0434\u043e\u0434\u0430\u0442\u0438_\u0432_\u043a\u0456\u043d\u0435\u0446\u044c"],normalized:"append",form:"infinitive"},prepend:{primary:"\u0434\u043e\u0434\u0430\u0442\u0438 \u043d\u0430 \u043f\u043e\u0447\u0430\u0442\u043e\u043a",alternatives:["\u0434\u043e\u0434\u0430\u0442\u0438_\u043d\u0430_\u043f\u043e\u0447\u0430\u0442\u043e\u043a"],normalized:"prepend",form:"infinitive"},take:{primary:"\u0432\u0437\u044f\u0442\u0438",alternatives:["\u0432\u0456\u0437\u044c\u043c\u0438"],normalized:"take",form:"infinitive"},make:{primary:"\u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438",alternatives:["\u0441\u0442\u0432\u043e\u0440\u0438"],normalized:"make",form:"infinitive"},clone:{primary:"\u043a\u043b\u043e\u043d\u0443\u0432\u0430\u0442\u0438",alternatives:["\u043a\u043b\u043e\u043d\u0443\u0439"],normalized:"clone",form:"infinitive"},swap:{primary:"\u043f\u043e\u043c\u0456\u043d\u044f\u0442\u0438",alternatives:["\u043f\u043e\u043c\u0456\u043d\u044f\u0439"],normalized:"swap",form:"infinitive"},morph:{primary:"\u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0443\u0432\u0430\u0442\u0438",alternatives:["\u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0443\u0439"],normalized:"morph",form:"infinitive"},set:{primary:"\u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438",alternatives:["\u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438","\u0437\u0430\u0434\u0430\u0442\u0438","\u0437\u0430\u0434\u0430\u0439"],normalized:"set",form:"infinitive"},get:{primary:"\u043e\u0442\u0440\u0438\u043c\u0430\u0442\u0438",alternatives:["\u043e\u0442\u0440\u0438\u043c\u0430\u0439"],normalized:"get",form:"infinitive"},increment:{primary:"\u0437\u0431\u0456\u043b\u044c\u0448\u0438\u0442\u0438",alternatives:["\u0437\u0431\u0456\u043b\u044c\u0448"],normalized:"increment",form:"infinitive"},decrement:{primary:"\u0437\u043c\u0435\u043d\u0448\u0438\u0442\u0438",alternatives:["\u0437\u043c\u0435\u043d\u0448"],normalized:"decrement",form:"infinitive"},log:{primary:"\u0437\u0430\u043f\u0438\u0441\u0430\u0442\u0438",alternatives:["\u0437\u0430\u043f\u0438\u0448\u0438"],normalized:"log",form:"infinitive"},show:{primary:"\u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0438",alternatives:["\u043f\u043e\u043a\u0430\u0436\u0438"],normalized:"show",form:"infinitive"},hide:{primary:"\u0441\u0445\u043e\u0432\u0430\u0442\u0438",alternatives:["\u0441\u0445\u043e\u0432\u0430\u0439","\u043f\u0440\u0438\u0445\u043e\u0432\u0430\u0442\u0438","\u043f\u0440\u0438\u0445\u043e\u0432\u0430\u0439"],normalized:"hide",form:"infinitive"},transition:{primary:"\u0430\u043d\u0456\u043c\u0443\u0432\u0430\u0442\u0438",alternatives:["\u0430\u043d\u0456\u043c\u0443\u0439"],normalized:"transition",form:"infinitive"},on:{primary:"\u043f\u0440\u0438",normalized:"on"},trigger:{primary:"\u0456\u043d\u0456\u0446\u0456\u044e\u0432\u0430\u0442\u0438",alternatives:["\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0438","\u0437\u0430\u043f\u0443\u0441\u0442\u0438"],normalized:"trigger",form:"infinitive"},send:{primary:"\u043d\u0430\u0434\u0456\u0441\u043b\u0430\u0442\u0438",alternatives:["\u043d\u0430\u0434\u0456\u0448\u043b\u0438"],normalized:"send",form:"infinitive"},focus:{primary:"\u0441\u0444\u043e\u043a\u0443\u0441\u0443\u0432\u0430\u0442\u0438",alternatives:["\u0441\u0444\u043e\u043a\u0443\u0441\u0443\u0439","\u0444\u043e\u043a\u0443\u0441"],normalized:"focus",form:"infinitive"},blur:{primary:"\u0440\u043e\u0437\u0444\u043e\u043a\u0443\u0441\u0443\u0432\u0430\u0442\u0438",alternatives:["\u0440\u043e\u0437\u0444\u043e\u043a\u0443\u0441\u0443\u0439"],normalized:"blur",form:"infinitive"},empty:{primary:"\u0441\u043f\u043e\u0440\u043e\u0436\u043d\u0438\u0442\u0438",alternatives:["\u043f\u043e\u0440\u043e\u0436\u043d\u0456\u0439"],normalized:"empty"},open:{primary:"\u0432\u0456\u0434\u043a\u0440\u0438\u0442\u0438",normalized:"open"},close:{primary:"\u0437\u0430\u043a\u0440\u0438\u0442\u0438",normalized:"close"},select:{primary:"\u0432\u0438\u0434\u0456\u043b\u0438\u0442\u0438",normalized:"select"},clear:{primary:"\u043e\u0447\u0438\u0441\u0442\u0438\u0442\u0438",normalized:"clear"},reset:{primary:"\u0441\u043a\u0438\u043d\u0443\u0442\u0438",normalized:"reset"},breakpoint:{primary:"\u0442\u043e\u0447\u043a\u0430-\u0437\u0443\u043f\u0438\u043d\u043a\u0438",normalized:"breakpoint"},click:{primary:"\u043a\u043b\u0456\u043a\u0443",alternatives:["\u043a\u043b\u0456\u043a","\u043d\u0430\u0442\u0438\u0441\u043a\u0430\u043d\u043d\u0456"],normalized:"click"},hover:{primary:"\u043d\u0430\u0432\u0435\u0434\u0435\u043d\u043d\u0456",alternatives:["\u043d\u0430\u0432\u0435\u0434\u0435\u043d\u043d\u044f"],normalized:"hover"},submit:{primary:"\u0432\u0456\u0434\u043f\u0440\u0430\u0432\u0446\u0456",alternatives:["\u0432\u0456\u0434\u043f\u0440\u0430\u0432\u043a\u0430","\u043d\u0430\u0434\u0441\u0438\u043b\u0430\u043d\u043d\u044f"],normalized:"submit"},input:{primary:"\u0432\u0432\u0435\u0434\u0435\u043d\u043d\u0456",alternatives:["\u0432\u0432\u0435\u0434\u0435\u043d\u043d\u044f"],normalized:"input"},change:{primary:"\u0437\u043c\u0456\u043d\u0456",alternatives:["\u0437\u043c\u0456\u043d\u0430"],normalized:"change"},load:{primary:"\u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f",normalized:"load"},go:{primary:"\u043f\u0435\u0440\u0435\u0439\u0442\u0438",alternatives:["\u043f\u0435\u0440\u0435\u0439\u0434\u0438","\u0439\u0442\u0438","\u0439\u0434\u0438"],normalized:"go",form:"infinitive"},scroll:{primary:"\u043f\u0440\u043e\u043a\u0440\u0443\u0442\u0438\u0442\u0438",alternatives:["\u043f\u0440\u043e\u043a\u0440\u0443\u0442\u0438"],normalized:"scroll",form:"infinitive"},push:{primary:"\u0448\u0442\u043e\u0432\u0445\u043d\u0443\u0442\u0438",alternatives:["\u0437\u0430\u0448\u0442\u043e\u0432\u0445\u043d\u0443\u0442\u0438"],normalized:"push",form:"infinitive"},replace:{primary:"\u0437\u0430\u043c\u0456\u043d\u0438\u0442\u0438",alternatives:["\u0437\u0430\u043c\u0456\u043d\u0438"],normalized:"replace",form:"infinitive"},process:{primary:"\u043e\u0431\u0440\u043e\u0431\u0438\u0442\u0438",alternatives:["\u043e\u0431\u0440\u043e\u0431\u043b\u044f\u0442\u0438"],normalized:"process",form:"infinitive"},wait:{primary:"\u0447\u0435\u043a\u0430\u0442\u0438",alternatives:["\u0447\u0435\u043a\u0430\u0439","\u0437\u0430\u0447\u0435\u043a\u0430\u0439"],normalized:"wait",form:"infinitive"},fetch:{primary:"\u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438",alternatives:["\u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436"],normalized:"fetch",form:"infinitive"},settle:{primary:"\u0441\u0442\u0430\u0431\u0456\u043b\u0456\u0437\u0443\u0432\u0430\u0442\u0438",normalized:"settle",form:"infinitive"},if:{primary:"\u044f\u043a\u0449\u043e",normalized:"if"},unless:{primary:"\u043a\u0440\u0456\u043c",normalized:"unless"},when:{primary:"\u043a\u043e\u043b\u0438",normalized:"when"},changes:{primary:"\u0437\u043c\u0456\u043d\u044e\u0454\u0442\u044c\u0441\u044f",normalized:"changes"},where:{primary:"\u0434\u0435",normalized:"where"},else:{primary:"\u0456\u043d\u0430\u043a\u0448\u0435",normalized:"else"},repeat:{primary:"\u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0438",alternatives:["\u043f\u043e\u0432\u0442\u043e\u0440\u0438"],normalized:"repeat",form:"infinitive"},for:{primary:"\u0434\u043b\u044f",alternatives:["\u043a\u043e\u0436\u043d\u0438\u0439"],normalized:"for"},while:{primary:"\u043f\u043e\u043a\u0438",normalized:"while"},forever:{primary:"\u0437\u0430\u0432\u0436\u0434\u0438",normalized:"forever",alternatives:["forever"]},continue:{primary:"\u043f\u0440\u043e\u0434\u043e\u0432\u0436\u0438\u0442\u0438",alternatives:["\u043f\u0440\u043e\u0434\u043e\u0432\u0436\u0443\u0439"],normalized:"continue",form:"infinitive"},halt:{primary:"\u0437\u0443\u043f\u0438\u043d\u0438\u0442\u0438",alternatives:["\u0437\u0443\u043f\u0438\u043d\u0438\u0441\u044c","\u0441\u0442\u043e\u043f"],normalized:"halt",form:"infinitive"},throw:{primary:"\u043a\u0438\u043d\u0443\u0442\u0438",alternatives:["\u043a\u0438\u043d\u044c"],normalized:"throw",form:"infinitive"},call:{primary:"\u0432\u0438\u043a\u043b\u0438\u043a\u0430\u0442\u0438",alternatives:["\u0432\u0438\u043a\u043b\u0438\u0447"],normalized:"call",form:"infinitive"},return:{primary:"\u043f\u043e\u0432\u0435\u0440\u043d\u0443\u0442\u0438",alternatives:["\u043f\u043e\u0432\u0435\u0440\u043d\u0438"],normalized:"return",form:"infinitive"},then:{primary:"\u043f\u043e\u0442\u0456\u043c",alternatives:["\u0434\u0430\u043b\u0456","\u0442\u043e\u0434\u0456"],normalized:"then"},and:{primary:"\u0456",alternatives:["\u0442\u0430"],normalized:"and"},matches:{primary:"\u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u0430\u0454",normalized:"matches"},exists:{primary:"\u0456\u0441\u043d\u0443\u0454",normalized:"exists"},is:{primary:"\u0454",normalized:"is"},no:{primary:"\u043d\u0456",normalized:"no"},end:{primary:"\u043a\u0456\u043d\u0435\u0446\u044c",normalized:"end"},js:{primary:"js",normalized:"js"},async:{primary:"\u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e",alternatives:["async"],normalized:"async"},tell:{primary:"\u0441\u043a\u0430\u0437\u0430\u0442\u0438",alternatives:["\u0441\u043a\u0430\u0436\u0438"],normalized:"tell",form:"infinitive"},default:{primary:"\u0437\u0430_\u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c",normalized:"default"},init:{primary:"\u0456\u043d\u0456\u0446\u0456\u0430\u043b\u0456\u0437\u0443\u0432\u0430\u0442\u0438",alternatives:["\u0456\u043d\u0456\u0446\u0456\u0430\u043b\u0456\u0437\u0443\u0439"],normalized:"init",form:"infinitive"},behavior:{primary:"\u043f\u043e\u0432\u0435\u0434\u0456\u043d\u043a\u0430",normalized:"behavior"},install:{primary:"\u0456\u043d\u0441\u0442\u0430\u043b\u044e\u0432\u0430\u0442\u0438",normalized:"install",form:"infinitive"},measure:{primary:"\u0432\u0438\u043c\u0456\u0440\u044f\u0442\u0438",alternatives:["\u0432\u0438\u043c\u0456\u0440\u044f\u0439"],normalized:"measure",form:"infinitive"},beep:{primary:"\u0437\u0432\u0443\u043a",normalized:"beep"},break:{primary:"\u043f\u0435\u0440\u0435\u0440\u0432\u0430\u0442\u0438",normalized:"break"},copy:{primary:"\u043a\u043e\u043f\u0456\u044e\u0432\u0430\u0442\u0438",normalized:"copy"},exit:{primary:"\u0432\u0438\u0439\u0442\u0438",normalized:"exit"},pick:{primary:"\u0432\u0438\u0431\u0440\u0430\u0442\u0438",normalized:"pick"},render:{primary:"\u0432\u0456\u0434\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u0438",normalized:"render"},into:{primary:"\u0432",alternatives:["\u0443"],normalized:"into"},before:{primary:"\u0434\u043e",alternatives:["\u043f\u0435\u0440\u0435\u0434"],normalized:"before"},after:{primary:"\u043f\u0456\u0441\u043b\u044f",normalized:"after"},until:{primary:"\u043f\u043e\u043a\u0438_\u043d\u0435",normalized:"until"},event:{primary:"\u043f\u043e\u0434\u0456\u044f",normalized:"event"},from:{primary:"\u0437",alternatives:["\u0432\u0456\u0434","\u0456\u0437"],normalized:"from"},connect:{primary:"\u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0438",alternatives:["\u0437\u02bc\u0454\u0434\u043d\u0430\u0442\u0438","\u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0438\u0441\u044f"],normalized:"connect"},stream:{primary:"\u0442\u0440\u0430\u043d\u0441\u043b\u044e\u0432\u0430\u0442\u0438",alternatives:["\u043f\u043e\u0442\u0456\u043a","\u0441\u0442\u0440\u0456\u043c"],normalized:"stream"},live:{primary:"\u043d\u0430\u0436\u0438\u0432\u043e",alternatives:["\u0443-\u043f\u0440\u044f\u043c\u043e\u043c\u0443-\u0435\u0444\u0456\u0440\u0456","\u0432-\u0440\u0435\u0436\u0438\u043c\u0456-\u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0433\u043e-\u0447\u0430\u0441\u0443","\u0436\u0438\u0432\u0438\u0439"],normalized:"live"},socket:{primary:"\u0441\u043e\u043a\u0435\u0442",alternatives:["\u0433\u043d\u0456\u0437\u0434\u043e","websocket","socket"],normalized:"socket"},bind:{primary:"\u043f\u0440\u0438\u0432'\u044f\u0437\u0430\u0442\u0438",alternatives:["\u0437\u0432'\u044f\u0437\u0430\u0442\u0438","\u043f\u0440\u0438\u0454\u0434\u043d\u0430\u0442\u0438","bind"],normalized:"bind"},intercept:{primary:"\u043f\u0435\u0440\u0435\u0445\u043e\u043f\u0438\u0442\u0438",alternatives:["\u043f\u0435\u0440\u0435\u0445\u043e\u043f\u043b\u0435\u043d\u043d\u044f","intercept"],normalized:"intercept"},worker:{primary:"\u0440\u043e\u0431\u0456\u0442\u043d\u0438\u043a",alternatives:["\u0432\u043e\u0440\u043a\u0435\u0440","worker"],normalized:"worker"},eventsource:{primary:"eventsource",alternatives:["\u0434\u0436\u0435\u0440\u0435\u043b\u043e-\u043f\u043e\u0434\u0456\u0439"],normalized:"eventsource"}},eventHandler:{keyword:{primary:"\u043f\u0440\u0438",normalized:"on"},sourceMarker:{primary:"\u043d\u0430",alternatives:["\u0432","\u043f\u0440\u0438"],position:"before"},eventMarker:{primary:"\u043f\u0440\u0438",position:"before"},temporalMarkers:["\u043a\u043e\u043b\u0438","\u044f\u043a\u0449\u043e"]}}}}),Br={};x(Br,{vietnameseProfile:()=>Vr});var Fr,Hr=b({"src/generators/profiles/vietnamese.ts"(){Vr={code:"vi",name:"Vietnamese",nativeName:"Ti\u1ebfng Vi\u1ec7t",direction:"ltr",script:"latin",wordOrder:"SVO",markingStrategy:"preposition",usesSpaces:!0,defaultVerbForm:"base",verb:{position:"start",subjectDrop:!0},references:{me:"t\u00f4i",it:"n\u00f3",you:"b\u1ea1n",result:"k\u1ebft qu\u1ea3",event:"s\u1ef1 ki\u1ec7n",target:"m\u1ee5c ti\u00eau",body:"body"},possessive:{marker:"c\u1ee7a",markerPosition:"between",specialForms:{me:"c\u1ee7a t\u00f4i",it:"c\u1ee7a n\u00f3",you:"c\u1ee7a b\u1ea1n"},keywords:{"c\u1ee7a t\u00f4i":"me",my:"me","c\u1ee7a b\u1ea1n":"you","c\u1ee7a anh":"you","c\u1ee7a ch\u1ecb":"you","c\u1ee7a n\u00f3":"it"}},roleMarkers:{destination:{primary:"v\u00e0o",alternatives:["cho","\u0111\u1ebfn"],position:"before"},source:{primary:"t\u1eeb",alternatives:["kh\u1ecfi"],position:"before"},patient:{primary:"",position:"before"},style:{primary:"v\u1edbi",position:"before"}},keywords:{toggle:{primary:"chuy\u1ec3n \u0111\u1ed5i",alternatives:["b\u1eadt t\u1eaft","chuy\u1ec3n"],normalized:"toggle"},add:{primary:"th\u00eam",alternatives:["b\u1ed5 sung"],normalized:"add"},remove:{primary:"x\u00f3a",alternatives:["g\u1ee1 b\u1ecf","lo\u1ea1i b\u1ecf","b\u1ecf"],normalized:"remove"},put:{primary:"\u0111\u1eb7t",alternatives:["\u0111\u1ec3","\u0111\u01b0a"],normalized:"put"},append:{primary:"n\u1ed1i",normalized:"append"},prepend:{primary:"th\u00eam v\u00e0o \u0111\u1ea7u",normalized:"prepend"},take:{primary:"l\u1ea5y",normalized:"take"},make:{primary:"t\u1ea1o",normalized:"make"},clone:{primary:"nh\u00e2n b\u1ea3n",normalized:"clone"},swap:{primary:"ho\u00e1n \u0111\u1ed5i",normalized:"swap"},morph:{primary:"bi\u1ebfn \u0111\u1ed5i",normalized:"morph"},set:{primary:"g\u00e1n",alternatives:["thi\u1ebft l\u1eadp"],normalized:"set"},get:{primary:"l\u1ea5y gi\u00e1 tr\u1ecb",alternatives:["nh\u1eadn"],normalized:"get"},increment:{primary:"t\u0103ng",alternatives:["t\u0103ng l\u00ean"],normalized:"increment"},decrement:{primary:"gi\u1ea3m",alternatives:["gi\u1ea3m \u0111i"],normalized:"decrement"},log:{primary:"in ra",normalized:"log"},show:{primary:"hi\u1ec3n th\u1ecb",alternatives:["hi\u1ec7n"],normalized:"show"},hide:{primary:"\u1ea9n",alternatives:["che","gi\u1ea5u"],normalized:"hide"},transition:{primary:"chuy\u1ec3n ti\u1ebfp",normalized:"transition"},on:{primary:"khi",alternatives:["tr\u00ean"],normalized:"on"},trigger:{primary:"k\u00edch ho\u1ea1t",normalized:"trigger"},send:{primary:"g\u1eedi",normalized:"send"},focus:{primary:"t\u1eadp trung",normalized:"focus"},blur:{primary:"m\u1ea5t t\u1eadp trung",normalized:"blur"},empty:{primary:"l\u00e0m-r\u1ed7ng",alternatives:["tr\u1ed1ng"],normalized:"empty"},open:{primary:"m\u1edf",normalized:"open"},close:{primary:"\u0111\u00f3ng",normalized:"close"},select:{primary:"\u0111\u00e1nh-d\u1ea5u",normalized:"select"},clear:{primary:"t\u1ea9y",normalized:"clear"},reset:{primary:"\u0111\u1eb7t-l\u1ea1i",normalized:"reset"},breakpoint:{primary:"\u0111i\u1ec3m-d\u1eebng",normalized:"breakpoint"},click:{primary:"nh\u1ea5p",alternatives:["b\u1ea5m"],normalized:"click"},hover:{primary:"di chu\u1ed9t",alternatives:["r\u00ea chu\u1ed9t"],normalized:"hover"},submit:{primary:"n\u1ed9p",alternatives:[],normalized:"submit"},input:{primary:"nh\u1eadp",alternatives:["nh\u1eadp li\u1ec7u"],normalized:"input"},changes:{primary:"thay \u0111\u1ed5i",normalized:"changes"},change:{primary:"thay \u0111\u1ed5i",alternatives:["\u0111\u1ed5i"],normalized:"change"},go:{primary:"\u0111i \u0111\u1ebfn",alternatives:["\u0111i"],normalized:"go"},scroll:{primary:"cu\u1ed9n",normalized:"scroll"},push:{primary:"\u0111\u1ea9y",alternatives:["push"],normalized:"push"},replace:{primary:"thay_th\u1ebf",alternatives:["thay_the"],normalized:"replace"},process:{primary:"x\u1eed_l\u00fd",alternatives:["xu_ly"],normalized:"process"},wait:{primary:"ch\u1edd",alternatives:["\u0111\u1ee3i","ch\u1edd \u0111\u1ee3i"],normalized:"wait"},fetch:{primary:"t\u1ea3i",normalized:"fetch"},settle:{primary:"\u1ed5n \u0111\u1ecbnh",normalized:"settle"},if:{primary:"n\u1ebfu",normalized:"if"},unless:{primary:"tr\u1eeb khi",alternatives:["tr\u1eeb_khi"],normalized:"unless"},when:{primary:"l\u00fac",normalized:"when"},where:{primary:"\u1edf_\u0111\u00e2u",normalized:"where"},else:{primary:"kh\u00f4ng th\u00ec",alternatives:["n\u1ebfu kh\u00f4ng"],normalized:"else"},repeat:{primary:"l\u1eb7p l\u1ea1i",normalized:"repeat"},for:{primary:"v\u1edbi m\u1ed7i",normalized:"for"},while:{primary:"trong khi",normalized:"while"},forever:{primary:"m\u00e3i m\u00e3i",normalized:"forever",alternatives:["forever"]},continue:{primary:"ti\u1ebfp t\u1ee5c",normalized:"continue"},halt:{primary:"d\u1eebng",alternatives:["d\u1eebng l\u1ea1i"],normalized:"halt"},throw:{primary:"n\u00e9m",normalized:"throw"},call:{primary:"g\u1ecdi",normalized:"call"},return:{primary:"tr\u1ea3 v\u1ec1",normalized:"return"},then:{primary:"r\u1ed3i",alternatives:["sau \u0111\u00f3","th\u00ec"],normalized:"then"},and:{primary:"v\u00e0",normalized:"and"},matches:{primary:"kh\u1edbp",normalized:"matches"},end:{primary:"k\u1ebft th\u00fac",normalized:"end"},js:{primary:"js",normalized:"js"},async:{primary:"b\u1ea5t \u0111\u1ed3ng b\u1ed9",normalized:"async"},tell:{primary:"n\u00f3i v\u1edbi",normalized:"tell"},default:{primary:"m\u1eb7c \u0111\u1ecbnh",normalized:"default"},init:{primary:"kh\u1edfi t\u1ea1o",normalized:"init"},behavior:{primary:"h\u00e0nh vi",normalized:"behavior"},install:{primary:"c\u00e0i \u0111\u1eb7t",normalized:"install"},measure:{primary:"\u0111o l\u01b0\u1eddng",normalized:"measure"},beep:{primary:"beep",normalized:"beep"},break:{primary:"ng\u1eaft",normalized:"break"},copy:{primary:"sao ch\u00e9p",normalized:"copy"},exit:{primary:"tho\u00e1t",alternatives:["tho\u00e1t ra"],normalized:"exit"},pick:{primary:"ch\u1ecdn",normalized:"pick"},render:{primary:"k\u1ebft xu\u1ea5t",normalized:"render"},into:{primary:"v\u00e0o",alternatives:["v\u00e0o trong"],normalized:"into"},before:{primary:"tr\u01b0\u1edbc",alternatives:["tr\u01b0\u1edbc khi"],normalized:"before"},after:{primary:"sau",alternatives:["sau khi"],normalized:"after"},until:{primary:"cho \u0111\u1ebfn khi",normalized:"until"},event:{primary:"s\u1ef1 ki\u1ec7n",normalized:"event"},from:{primary:"t\u1eeb",alternatives:["kh\u1ecfi"],normalized:"from"},connect:{primary:"k\u1ebft-n\u1ed1i",alternatives:["k\u1ebft-n\u1ed1i-t\u1edbi"],normalized:"connect"},stream:{primary:"truy\u1ec1n-ph\u00e1t",alternatives:["ph\u00e1t","lu\u1ed3ng"],normalized:"stream"},live:{primary:"tr\u1ef1c-ti\u1ebfp",alternatives:["ph\u00e1t-tr\u1ef1c-ti\u1ebfp","live"],normalized:"live"},socket:{primary:"socket",alternatives:["\u1ed5-c\u1eafm","websocket"],normalized:"socket"},bind:{primary:"r\u00e0ng bu\u1ed9c",alternatives:["li\u00ean k\u1ebft","bind"],normalized:"bind"},intercept:{primary:"ch\u1eb7n",alternatives:["ch\u1eb7n b\u1eaft","intercept"],normalized:"intercept"},worker:{primary:"worker",alternatives:["c\u00f4ng nh\u00e2n"],normalized:"worker"},eventsource:{primary:"eventsource",alternatives:["ngu\u1ed3n s\u1ef1 ki\u1ec7n"],normalized:"eventsource"}},eventHandler:{keyword:{primary:"khi",alternatives:["tr\u00ean"],normalized:"on"},sourceMarker:{primary:"tr\u00ean",alternatives:["t\u1ea1i"],position:"before"},eventMarker:{primary:"khi",alternatives:["l\u00fac"],position:"before"},temporalMarkers:["khi","l\u00fac"]}}}}),Ur={};x(Ur,{chineseProfile:()=>Fr});var Gr,Zr=b({"src/generators/profiles/chinese.ts"(){Fr={code:"zh",name:"Chinese",nativeName:"\u4e2d\u6587",regions:["east-asian","priority"],direction:"ltr",script:"cjk",wordOrder:"SVO",markingStrategy:"preposition",usesSpaces:!1,verb:{position:"second",subjectDrop:!0},references:{me:"\u6211",it:"\u5b83",you:"\u4f60",result:"\u7ed3\u679c",event:"\u4e8b\u4ef6",target:"\u76ee\u6807",body:"\u4e3b\u4f53",document:"\u6587\u6863",window:"\u7a97\u53e3",detail:"\u8be6\u60c5"},possessive:{marker:"\u7684",markerPosition:"between",keywords:{"\u6211\u7684":"me","\u4f60\u7684":"you","\u5b83\u7684":"it","\u4ed6\u7684":"it","\u5979\u7684":"it"}},roleMarkers:{destination:{primary:"\u5728",alternatives:["\u5230","\u4e8e"],position:"before"},source:{primary:"\u4ece",alternatives:["\u7531"],position:"before"},patient:{primary:"\u628a",position:"before"},style:{primary:"\u7528",alternatives:["\u4ee5"],position:"before"}},keywords:{toggle:{primary:"\u5207\u6362",normalized:"toggle"},add:{primary:"\u6dfb\u52a0",alternatives:["\u52a0"],normalized:"add"},remove:{primary:"\u79fb\u9664",alternatives:["\u5220\u9664","\u53bb\u6389"],normalized:"remove"},put:{primary:"\u653e\u7f6e",alternatives:["\u653e","\u653e\u5165"],normalized:"put"},append:{primary:"\u8ffd\u52a0",alternatives:["\u9644\u52a0"],normalized:"append"},prepend:{primary:"\u524d\u7f6e",alternatives:["\u9884\u7f6e"],normalized:"prepend"},take:{primary:"\u62ff\u53d6",normalized:"take"},make:{primary:"\u5236\u4f5c",normalized:"make"},clone:{primary:"\u514b\u9686",normalized:"clone"},swap:{primary:"\u4ea4\u6362",normalized:"swap"},morph:{primary:"\u53d8\u5f62",alternatives:["\u8f6c\u6362"],normalized:"morph"},set:{primary:"\u8bbe\u7f6e",alternatives:["\u8bbe\u5b9a"],normalized:"set"},get:{primary:"\u83b7\u53d6",alternatives:["\u83b7\u5f97","\u53d6\u5f97"],normalized:"get"},increment:{primary:"\u589e\u52a0",normalized:"increment"},decrement:{primary:"\u51cf\u5c11",normalized:"decrement"},log:{primary:"\u65e5\u5fd7",normalized:"log"},show:{primary:"\u663e\u793a",alternatives:["\u5c55\u793a"],normalized:"show"},hide:{primary:"\u9690\u85cf",normalized:"hide"},transition:{primary:"\u8fc7\u6e21",normalized:"transition"},on:{primary:"\u5f53",alternatives:["\u5728...\u65f6"],normalized:"on"},trigger:{primary:"\u89e6\u53d1",normalized:"trigger"},send:{primary:"\u53d1\u9001",normalized:"send"},focus:{primary:"\u805a\u7126",alternatives:["\u53d6\u5f97\u7126\u9ede"],normalized:"focus"},blur:{primary:"\u5931\u7126",alternatives:["\u5931\u53bb\u7126\u9ede"],normalized:"blur"},empty:{primary:"\u6e05\u7a7a",alternatives:["\u7a7a\u7684"],normalized:"empty"},open:{primary:"\u6253\u5f00",normalized:"open"},close:{primary:"\u5173\u95ed",normalized:"close"},select:{primary:"\u9009\u62e9",normalized:"select"},clear:{primary:"\u6e05\u9664",normalized:"clear"},reset:{primary:"\u91cd\u7f6e",normalized:"reset"},breakpoint:{primary:"\u65ad\u70b9",normalized:"breakpoint"},click:{primary:"\u70b9\u51fb",normalized:"click"},hover:{primary:"\u60ac\u505c",alternatives:["\u60ac\u6d6e"],normalized:"hover"},submit:{primary:"\u63d0\u4ea4",alternatives:["\u9001\u51fa"],normalized:"submit"},input:{primary:"\u8f93\u5165",normalized:"input"},change:{primary:"\u53d8\u5316",alternatives:["\u6539\u53d8"],normalized:"change"},go:{primary:"\u524d\u5f80",normalized:"go"},scroll:{primary:"\u6eda\u52a8",alternatives:["\u6372\u52d5"],normalized:"scroll"},push:{primary:"\u63a8\u9001",normalized:"push"},replace:{primary:"\u66ff\u6362",normalized:"replace"},process:{primary:"\u5904\u7406",normalized:"process"},wait:{primary:"\u7b49\u5f85",normalized:"wait"},fetch:{primary:"\u6293\u53d6",normalized:"fetch"},settle:{primary:"\u7a33\u5b9a",normalized:"settle"},if:{primary:"\u5982\u679c",normalized:"if"},unless:{primary:"\u9664\u975e",normalized:"unless"},when:{primary:"\u4f55\u65f6",normalized:"when"},changes:{primary:"\u6539\u53d8\u65f6",normalized:"changes"},where:{primary:"\u54ea\u91cc",normalized:"where"},else:{primary:"\u5426\u5219",normalized:"else"},matches:{primary:"\u5339\u914d",normalized:"matches"},repeat:{primary:"\u91cd\u590d",normalized:"repeat"},forever:{primary:"forever",normalized:"forever"},for:{primary:"\u4e3a",normalized:"for"},while:{primary:"\u6301\u7eed",normalized:"while"},continue:{primary:"\u7ee7\u7eed",normalized:"continue"},halt:{primary:"\u505c\u6b62",normalized:"halt"},throw:{primary:"\u629b\u51fa",normalized:"throw"},call:{primary:"\u8c03\u7528",normalized:"call"},return:{primary:"\u8fd4\u56de",normalized:"return"},then:{primary:"\u7136\u540e",alternatives:["\u63a5\u7740","\u90a3\u4e48"],normalized:"then"},and:{primary:"\u5e76\u4e14",alternatives:["\u548c","\u800c\u4e14"],normalized:"and"},exists:{primary:"\u5b58\u5728",normalized:"exists"},end:{primary:"\u7ed3\u675f",alternatives:["\u7ec8\u6b62","\u5b8c"],normalized:"end"},js:{primary:"JS\u6267\u884c",alternatives:["js"],normalized:"js"},async:{primary:"\u5f02\u6b65",normalized:"async"},tell:{primary:"\u544a\u8bc9",normalized:"tell"},default:{primary:"\u9ed8\u8ba4",normalized:"default"},init:{primary:"\u521d\u59cb\u5316",normalized:"init"},behavior:{primary:"\u884c\u4e3a",normalized:"behavior"},install:{primary:"\u5b89\u88c5",normalized:"install"},measure:{primary:"\u6d4b\u91cf",normalized:"measure"},beep:{primary:"\u8702\u9e23",normalized:"beep"},break:{primary:"\u4e2d\u65ad",normalized:"break"},copy:{primary:"\u590d\u5236",normalized:"copy"},exit:{primary:"\u9000\u51fa",normalized:"exit"},pick:{primary:"\u9009\u53d6",normalized:"pick"},render:{primary:"\u6e32\u67d3",normalized:"render"},into:{primary:"\u8fdb\u5165",normalized:"into"},before:{primary:"\u4e4b\u524d",normalized:"before"},after:{primary:"\u4e4b\u540e",normalized:"after"},until:{primary:"\u76f4\u5230",normalized:"until"},event:{primary:"\u4e8b\u4ef6",normalized:"event"},from:{primary:"\u4ece",normalized:"from"},connect:{primary:"\u8fde\u63a5",alternatives:["\u8fde\u63a5\u5668"],normalized:"connect"},stream:{primary:"\u6d41",alternatives:["\u6d41\u5f0f\u4f20\u8f93"],normalized:"stream"},live:{primary:"\u5b9e\u65f6",alternatives:["\u76f4\u64ad"],normalized:"live"},socket:{primary:"\u5957\u63a5\u5b57",alternatives:["websocket","socket"],normalized:"socket"},bind:{primary:"\u7ed1\u5b9a",alternatives:["bind"],normalized:"bind"},intercept:{primary:"\u62e6\u622a",alternatives:["intercept"],normalized:"intercept"},worker:{primary:"\u5de5\u4f5c\u7ebf\u7a0b",alternatives:["\u5de5\u4f5c\u8005","worker"],normalized:"worker"},eventsource:{primary:"eventsource",alternatives:["\u4e8b\u4ef6\u6e90"],normalized:"eventsource"}},tokenization:{boundaryStrategy:"character"},eventHandler:{keyword:{primary:"\u5f53",alternatives:["\u5728...\u65f6"],normalized:"on"},sourceMarker:{primary:"\u4ece",position:"before"},eventMarker:{primary:"\u5f53",alternatives:["\u5728"],position:"before"},temporalMarkers:["\u5f53","\u5728...\u65f6","\u4e00"]}}}});function Yr(e,t){const r=e.markerOverride?.[t.code],i=t.roleMarkers[e.role];if(void 0!==r){const a=function(e,t,r){const i=e.markerLegacy?.[t];if(!i?.length)return;const a=[...new Set(i)].filter(e=>e&&e!==r);return a.length?a:void 0}(e,t.code,r);return{primary:r,...a&&{alternatives:a},position:i?.position??"before",isOverride:!0}}if(i&&i.primary){const e={primary:i.primary,position:i.position,isOverride:!1};return i.alternatives&&(e.alternatives=i.alternatives),e}return null}function Xr(e,t,r){const i=[...new Set([...e.markerLegacy?.[t]??[],...e.methodCarrier?[]:e.markerVariants?.[t]??[]])].filter(e=>e&&e!==r);return i.length?i:void 0}var Qr,Jr,ei=b({"src/parser/utils/marker-resolution.ts"(){Gr=new Set(["destination","source","patient","object","event","eventmarker","manner","instrument"])}});function ti(e,t,r,i){const a=Jr.find(t=>t.lang===e);if(!a)return!1;const n=(e,t)=>(e??"").toLowerCase()===t.toLowerCase();return n(t,a.end)&&n(r,a.at)&&n(i,a.of)}function ri(){const e=(e,t)=>({id:"put-tr-"+e,language:"tr",command:"put",priority:105,template:{format:`{patient} ${t} {destination} i koy`,tokens:[{type:"role",role:"patient"},{type:"literal",value:t},{type:"role",role:"destination"},{type:"group",optional:!0,tokens:[{type:"literal",value:"i",alternatives:["\u0131","u","\u00fc","yi","y\u0131","yu","y\u00fc"]}]},{type:"literal",value:"koy",alternatives:["koymak"]}]},extraction:{patient:{position:0},destination:{position:2},manner:{default:{type:"literal",value:e}}}});return[e("before","\u00f6nce"),e("after","sonra")]}function ii(e){const t=function(e){const t=Qr.find(t=>t.lang===e);return t?["before","after"].map(e=>{const r=t[e],i=[t.verbAlts?{type:"literal",value:t.verb,alternatives:t.verbAlts}:{type:"literal",value:t.verb}];return t.patientPrefix&&i.push(t.patientPrefixOptional?{type:"group",optional:!0,tokens:[{type:"literal",value:t.patientPrefix}]}:{type:"literal",value:t.patientPrefix}),i.push({type:"role",role:"patient"},{type:"literal",value:r},{type:"role",role:"destination"}),{id:`put-${t.lang}-${e}`,language:t.lang,command:"put",priority:105,template:{format:`${t.verb} {patient} ${r} {destination}`,tokens:i},extraction:{patient:{position:t.patientPrefix&&!t.patientPrefixOptional?2:1},destination:{marker:r},manner:{default:{type:"literal",value:e}}}}}):[]}(e),r=function(e){const t=Jr.find(t=>t.lang===e);if(!t)return[];const r=[],i=t.verbAlts?{type:"literal",value:t.verb,alternatives:t.verbAlts}:{type:"literal",value:t.verb},a=e=>{r.push({type:"literal",value:e})};return t.sov?(r.push({type:"role",role:"patient"}),a(t.at),a(t.end),a(t.of),r.push({type:"role",role:"destination"}),t.objMarker&&r.push({type:"literal",value:t.objMarker}),r.push(i)):(r.push(i),t.patientPrefix&&r.push({type:"literal",value:t.patientPrefix}),r.push({type:"role",role:"patient"}),a(t.at),a(t.end),a(t.of),r.push({type:"role",role:"destination"})),[{id:`put-${t.lang}-at-end`,language:t.lang,command:"put",priority:110,template:{format:`put {patient} ${t.at} ${t.end} ${t.of} {destination}`,tokens:r},extraction:{manner:{default:{type:"literal",value:"at end of"}}}}]}(e);switch(e){case"bn":return[{id:"put-bn-before",language:"bn",command:"put",priority:105,template:{format:"{patient} before {destination} \u0995\u09c7 \u09b0\u09be\u0996\u09c1\u09a8",tokens:[{type:"role",role:"patient"},{type:"literal",value:"before"},{type:"role",role:"destination"},{type:"literal",value:"\u0995\u09c7"},{type:"literal",value:"\u09b0\u09be\u0996\u09c1\u09a8",alternatives:["\u09b0\u09be\u0996"]}]},extraction:{patient:{position:0},destination:{marker:"before"},manner:{default:{type:"literal",value:"before"}}}},{id:"put-bn-after",language:"bn",command:"put",priority:105,template:{format:"{patient} after {destination} \u0995\u09c7 \u09b0\u09be\u0996\u09c1\u09a8",tokens:[{type:"role",role:"patient"},{type:"literal",value:"after"},{type:"role",role:"destination"},{type:"literal",value:"\u0995\u09c7"},{type:"literal",value:"\u09b0\u09be\u0996\u09c1\u09a8",alternatives:["\u09b0\u09be\u0996"]}]},extraction:{patient:{position:0},destination:{marker:"after"},manner:{default:{type:"literal",value:"after"}}}},{id:"put-bn-full",language:"bn",command:"put",priority:100,template:{format:"{patient} \u0995\u09c7 {destination} \u098f \u09b0\u09be\u0996\u09c1\u09a8",tokens:[{type:"role",role:"patient"},{type:"literal",value:"\u0995\u09c7"},{type:"role",role:"destination"},{type:"literal",value:"\u098f",alternatives:["\u09a4\u09c7"]},{type:"literal",value:"\u09b0\u09be\u0996\u09c1\u09a8",alternatives:["\u09b0\u09be\u0996"]}]},extraction:{patient:{position:0},destination:{marker:"\u098f",position:2}}},{id:"put-bn-simple",language:"bn",command:"put",priority:90,template:{format:"\u09b0\u09be\u0996\u09c1\u09a8 {patient} {destination} \u098f",tokens:[{type:"literal",value:"\u09b0\u09be\u0996\u09c1\u09a8",alternatives:["\u09b0\u09be\u0996"]},{type:"role",role:"patient"},{type:"role",role:"destination"},{type:"literal",value:"\u098f",alternatives:["\u09a4\u09c7"]}]},extraction:{patient:{position:1},destination:{position:2}}},...r];case"en":return[{id:"put-en-into",language:"en",command:"put",priority:100,template:{format:"put {patient} into {destination}",tokens:[{type:"literal",value:"put"},{type:"role",role:"patient"},{type:"literal",value:"into",alternatives:["in","to"]},{type:"role",role:"destination"}]},extraction:{patient:{position:1},destination:{marker:"into",markerAlternatives:["in","to"]}}},{id:"put-en-before",language:"en",command:"put",priority:95,template:{format:"put {patient} before {destination}",tokens:[{type:"literal",value:"put"},{type:"role",role:"patient"},{type:"literal",value:"before"},{type:"role",role:"destination"}]},extraction:{patient:{position:1},destination:{marker:"before"},manner:{default:{type:"literal",value:"before"}}}},{id:"put-en-after",language:"en",command:"put",priority:95,template:{format:"put {patient} after {destination}",tokens:[{type:"literal",value:"put"},{type:"role",role:"patient"},{type:"literal",value:"after"},{type:"role",role:"destination"}]},extraction:{patient:{position:1},destination:{marker:"after"},manner:{default:{type:"literal",value:"after"}}}},{id:"put-en-at-end",language:"en",command:"put",priority:96,template:{format:"put {patient} at end of {destination}",tokens:[{type:"literal",value:"put"},{type:"role",role:"patient"},{type:"literal",value:"at"},{type:"literal",value:"end"},{type:"literal",value:"of"},{type:"role",role:"destination"}]},extraction:{patient:{position:1},destination:{position:5},manner:{default:{type:"literal",value:"at end of"}}}},{id:"put-en-at-start",language:"en",command:"put",priority:96,template:{format:"put {patient} at start of {destination}",tokens:[{type:"literal",value:"put"},{type:"role",role:"patient"},{type:"literal",value:"at"},{type:"literal",value:"start"},{type:"literal",value:"of"},{type:"role",role:"destination"}]},extraction:{patient:{position:1},destination:{position:5},manner:{default:{type:"literal",value:"at start of"}}}}];case"es":return[{id:"put-es-full",language:"es",command:"put",priority:100,template:{format:"poner {patient} en {destination}",tokens:[{type:"literal",value:"poner",alternatives:["pon","colocar","put"]},{type:"role",role:"patient"},{type:"literal",value:"en",alternatives:["dentro de","a"]},{type:"role",role:"destination"}]},extraction:{patient:{position:1},destination:{marker:"en",markerAlternatives:["dentro de","a"]}}},{id:"put-es-before",language:"es",command:"put",priority:95,template:{format:"poner {patient} antes de {destination}",tokens:[{type:"literal",value:"poner",alternatives:["pon","colocar"]},{type:"role",role:"patient"},{type:"literal",value:"antes de",alternatives:["antes"]},{type:"role",role:"destination"}]},extraction:{patient:{position:1},destination:{marker:"antes de",markerAlternatives:["antes"]},manner:{default:{type:"literal",value:"before"}}}},{id:"put-es-after",language:"es",command:"put",priority:95,template:{format:"poner {patient} despu\u00e9s de {destination}",tokens:[{type:"literal",value:"poner",alternatives:["pon","colocar"]},{type:"role",role:"patient"},{type:"literal",value:"despu\u00e9s de",alternatives:["despues de","despu\u00e9s"]},{type:"role",role:"destination"}]},extraction:{patient:{position:1},destination:{marker:"despu\u00e9s de",markerAlternatives:["despues de","despu\u00e9s"]},manner:{default:{type:"literal",value:"after"}}}},...r];case"hi":return[{id:"put-hi-before",language:"hi",command:"put",priority:106,template:{format:"{patient} before {destination} \u0915\u094b \u0930\u0916\u0947\u0902",tokens:[{type:"role",role:"patient"},{type:"literal",value:"before"},{type:"role",role:"destination"},{type:"literal",value:"\u0915\u094b"},{type:"literal",value:"\u0930\u0916\u0947\u0902",alternatives:["\u0930\u0916","\u0921\u093e\u0932\u0947\u0902","\u0921\u093e\u0932"]}]},extraction:{patient:{position:0},destination:{marker:"before"},manner:{default:{type:"literal",value:"before"}}}},{id:"put-hi-after",language:"hi",command:"put",priority:106,template:{format:"{patient} after {destination} \u0915\u094b \u0930\u0916\u0947\u0902",tokens:[{type:"role",role:"patient"},{type:"literal",value:"after"},{type:"role",role:"destination"},{type:"literal",value:"\u0915\u094b"},{type:"literal",value:"\u0930\u0916\u0947\u0902",alternatives:["\u0930\u0916","\u0921\u093e\u0932\u0947\u0902","\u0921\u093e\u0932"]}]},extraction:{patient:{position:0},destination:{marker:"after"},manner:{default:{type:"literal",value:"after"}}}},{id:"put-hi-verb-medial",language:"hi",command:"put",priority:105,template:{format:"{patient} \u0915\u094b \u0930\u0916\u0947\u0902 {destination} \u092e\u0947\u0902",tokens:[{type:"role",role:"patient"},{type:"literal",value:"\u0915\u094b"},{type:"literal",value:"\u0930\u0916\u0947\u0902",alternatives:["\u0930\u0916","\u0921\u093e\u0932\u0947\u0902","\u0921\u093e\u0932"]},{type:"role",role:"destination"},{type:"literal",value:"\u092e\u0947\u0902"}]},extraction:{patient:{position:0},destination:{marker:"\u092e\u0947\u0902",position:3}}},{id:"put-hi-full",language:"hi",command:"put",priority:100,template:{format:"{patient} \u0915\u094b {destination} \u092e\u0947\u0902 \u0930\u0916\u0947\u0902",tokens:[{type:"role",role:"patient"},{type:"literal",value:"\u0915\u094b"},{type:"role",role:"destination"},{type:"literal",value:"\u092e\u0947\u0902"},{type:"literal",value:"\u0930\u0916\u0947\u0902",alternatives:["\u0930\u0916","\u0921\u093e\u0932\u0947\u0902","\u0921\u093e\u0932"]}]},extraction:{patient:{position:0},destination:{marker:"\u092e\u0947\u0902",position:3}}},{id:"put-hi-simple",language:"hi",command:"put",priority:90,template:{format:"{patient} \u0930\u0916\u0947\u0902",tokens:[{type:"role",role:"patient"},{type:"literal",value:"\u0930\u0916\u0947\u0902",alternatives:["\u0930\u0916","\u0921\u093e\u0932\u0947\u0902","\u0921\u093e\u0932"]}]},extraction:{patient:{position:0},destination:{default:{type:"reference",value:"me"}}}},{id:"put-hi-bare",language:"hi",command:"put",priority:80,template:{format:"\u0930\u0916\u0947\u0902 {patient}",tokens:[{type:"literal",value:"\u0930\u0916\u0947\u0902",alternatives:["\u0930\u0916","\u0921\u093e\u0932\u0947\u0902","\u0921\u093e\u0932"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},destination:{default:{type:"reference",value:"me"}}}},...r];case"id":return[{id:"put-id-full",language:"id",command:"put",priority:100,template:{format:"taruh {patient} ke dalam {destination}",tokens:[{type:"literal",value:"taruh",alternatives:["letakkan","masukkan","tempatkan","put"]},{type:"role",role:"patient",expectedTypes:["literal","selector","reference","expression"]},{type:"literal",value:"ke"},{type:"literal",value:"dalam",alternatives:["di"]},{type:"role",role:"destination",expectedTypes:["selector","reference"]}]},extraction:{patient:{position:1},destination:{position:4}}},{id:"put-id-simple-ke",language:"id",command:"put",priority:95,template:{format:"taruh {patient} ke {destination}",tokens:[{type:"literal",value:"taruh",alternatives:["letakkan","masukkan","tempatkan"]},{type:"role",role:"patient",expectedTypes:["literal","selector","reference","expression"]},{type:"literal",value:"ke",alternatives:["di","pada"]},{type:"role",role:"destination",expectedTypes:["selector","reference"]}]},extraction:{patient:{position:1},destination:{position:3}}},{id:"put-id-di",language:"id",command:"put",priority:90,template:{format:"taruh {patient} di {destination}",tokens:[{type:"literal",value:"taruh",alternatives:["letakkan","masukkan"]},{type:"role",role:"patient",expectedTypes:["literal","selector","reference","expression"]},{type:"literal",value:"di"},{type:"role",role:"destination",expectedTypes:["selector","reference"]}]},extraction:{patient:{position:1},destination:{position:3}}},...t,...r];case"it":return[{id:"put-it-full",language:"it",command:"put",priority:100,template:{format:"mettere {patient} in {target}",tokens:[{type:"literal",value:"mettere",alternatives:["metti","inserire","put"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"in",alternatives:["dentro","nel"]},{type:"role",role:"destination"}]}]},extraction:{patient:{position:1},destination:{marker:"in",markerAlternatives:["dentro","nel"]}}},{id:"put-it-before",language:"it",command:"put",priority:105,template:{format:"mettere {patient} prima {target}",tokens:[{type:"literal",value:"mettere",alternatives:["metti","inserire","put"]},{type:"role",role:"patient"},{type:"literal",value:"prima"},{type:"role",role:"destination"}]},extraction:{patient:{position:1},destination:{marker:"prima"},manner:{default:{type:"literal",value:"before"}}}},{id:"put-it-after",language:"it",command:"put",priority:105,template:{format:"mettere {patient} dopo {target}",tokens:[{type:"literal",value:"mettere",alternatives:["metti","inserire","put"]},{type:"role",role:"patient"},{type:"literal",value:"dopo"},{type:"role",role:"destination"}]},extraction:{patient:{position:1},destination:{marker:"dopo"},manner:{default:{type:"literal",value:"after"}}}},{id:"put-it-simple",language:"it",command:"put",priority:90,template:{format:"mettere {patient}",tokens:[{type:"literal",value:"mettere",alternatives:["metti","inserire","put"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}},...r];case"ja":return[...["before","after"].map(e=>{const t="before"===e?"\u524d\u306b":"\u5f8c\u306b";return{id:"put-ja-"+e,language:"ja",command:"put",priority:105,template:{format:`{patient} ${t} {destination} \u3092 \u7f6e\u304f`,tokens:[{type:"role",role:"patient"},{type:"literal",value:t,alternatives:["before"===e?"\u524d":"\u5f8c"]},{type:"role",role:"destination"},{type:"literal",value:"\u3092"},{type:"literal",value:"\u7f6e\u304f",alternatives:["\u5165\u308c\u308b"]}]},extraction:{patient:{position:0},destination:{position:2},manner:{default:{type:"literal",value:e}}}}}),...r];case"ko":return[...["before","after"].map(e=>{const t="before"===e?"\uc804\uc5d0":"\ud6c4\uc5d0";return{id:"put-ko-"+e,language:"ko",command:"put",priority:105,template:{format:`{patient} ${t} {destination} \ub97c \ub123\ub2e4`,tokens:[{type:"role",role:"patient"},{type:"literal",value:t},{type:"role",role:"destination"},{type:"literal",value:"\ub97c",alternatives:["\uc744"]},{type:"literal",value:"\ub123\ub2e4",alternatives:["\ub123\uae30","\ub193\uae30"]}]},extraction:{patient:{position:0},destination:{position:2},manner:{default:{type:"literal",value:e}}}}}),...r];case"tr":return[...ri(),...r];case"pl":return[{id:"put-pl-full",language:"pl",command:"put",priority:100,template:{format:"umie\u015b\u0107 {patient} w {destination}",tokens:[{type:"literal",value:"umie\u015b\u0107",alternatives:["umiesc","wstaw","w\u0142\u00f3\u017c","wloz"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"w",alternatives:["do","na"]},{type:"role",role:"destination"}]}]},extraction:{patient:{position:1},destination:{marker:"w",markerAlternatives:["do","na"]}}},{id:"put-pl-before",language:"pl",command:"put",priority:105,template:{format:"umie\u015b\u0107 {patient} przed {destination}",tokens:[{type:"literal",value:"umie\u015b\u0107",alternatives:["umiesc","wstaw"]},{type:"role",role:"patient"},{type:"literal",value:"przed"},{type:"role",role:"destination"}]},extraction:{patient:{position:1},destination:{marker:"przed"},manner:{default:{type:"literal",value:"before"}}}},{id:"put-pl-after",language:"pl",command:"put",priority:105,template:{format:"umie\u015b\u0107 {patient} po {destination}",tokens:[{type:"literal",value:"umie\u015b\u0107",alternatives:["umiesc","wstaw"]},{type:"role",role:"patient"},{type:"literal",value:"po"},{type:"role",role:"destination"}]},extraction:{patient:{position:1},destination:{marker:"po"},manner:{default:{type:"literal",value:"after"}}}},...r];case"ru":return[{id:"put-ru-full",language:"ru",command:"put",priority:100,template:{format:"\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c {patient} \u0432 {destination}",tokens:[{type:"literal",value:"\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c",alternatives:["\u043f\u043e\u043b\u043e\u0436\u0438","\u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c","\u043f\u043e\u043c\u0435\u0441\u0442\u0438","\u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c","\u0432\u0441\u0442\u0430\u0432\u044c"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u0432",alternatives:["\u0432\u043e","\u043d\u0430"]},{type:"role",role:"destination"}]}]},extraction:{patient:{position:1},destination:{marker:"\u0432",markerAlternatives:["\u0432\u043e","\u043d\u0430"]}}},{id:"put-ru-before",language:"ru",command:"put",priority:105,template:{format:"\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c {patient} \u043f\u0435\u0440\u0435\u0434 {destination}",tokens:[{type:"literal",value:"\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c",alternatives:["\u043f\u043e\u043b\u043e\u0436\u0438","\u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c","\u043f\u043e\u043c\u0435\u0441\u0442\u0438"]},{type:"role",role:"patient"},{type:"literal",value:"\u043f\u0435\u0440\u0435\u0434",alternatives:["\u0434\u043e"]},{type:"role",role:"destination"}]},extraction:{patient:{position:1},destination:{marker:"\u043f\u0435\u0440\u0435\u0434",markerAlternatives:["\u0434\u043e"]},manner:{default:{type:"literal",value:"before"}}}},{id:"put-ru-after",language:"ru",command:"put",priority:105,template:{format:"\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c {patient} \u043f\u043e\u0441\u043b\u0435 {destination}",tokens:[{type:"literal",value:"\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c",alternatives:["\u043f\u043e\u043b\u043e\u0436\u0438","\u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c","\u043f\u043e\u043c\u0435\u0441\u0442\u0438"]},{type:"role",role:"patient"},{type:"literal",value:"\u043f\u043e\u0441\u043b\u0435"},{type:"role",role:"destination"}]},extraction:{patient:{position:1},destination:{marker:"\u043f\u043e\u0441\u043b\u0435"},manner:{default:{type:"literal",value:"after"}}}},...r];case"qu":return[...["before","after"].map(e=>{const t="before"===e?"\u00f1awpaqpi":"qhepapi";return{id:"put-qu-"+e,language:"qu",command:"put",priority:105,template:{format:`{patient} ${t} {destination} ta churay`,tokens:[{type:"role",role:"patient"},{type:"literal",value:t,alternatives:[e]},{type:"role",role:"destination"},{type:"group",optional:!0,tokens:[{type:"literal",value:"ta"}]},{type:"literal",value:"churay",alternatives:["tiyachiy"]}]},extraction:{patient:{position:0},destination:{position:2},manner:{default:{type:"literal",value:e}}}}}),{id:"put-qu-patient-first",language:"qu",command:"put",priority:96,template:{format:"{patient} ta {destination} man churay",tokens:[{type:"role",role:"patient"},{type:"literal",value:"ta"},{type:"role",role:"destination"},{type:"literal",value:"man"},{type:"literal",value:"churay",alternatives:["tiyachiy"]}]},extraction:{patient:{position:0},destination:{position:2}}},...r];case"th":return[{id:"put-th-full",language:"th",command:"put",priority:100,template:{format:"\u0e43\u0e2a\u0e48 {patient} \u0e43\u0e19 {destination}",tokens:[{type:"literal",value:"\u0e43\u0e2a\u0e48",alternatives:["\u0e27\u0e32\u0e07"]},{type:"role",role:"patient"},{type:"literal",value:"\u0e43\u0e19"},{type:"role",role:"destination"}]},extraction:{patient:{position:1},destination:{marker:"\u0e43\u0e19",position:3}}},{id:"put-th-before",language:"th",command:"put",priority:105,template:{format:"\u0e43\u0e2a\u0e48 {patient} \u0e01\u0e48\u0e2d\u0e19 {destination}",tokens:[{type:"literal",value:"\u0e43\u0e2a\u0e48",alternatives:["\u0e27\u0e32\u0e07"]},{type:"role",role:"patient"},{type:"literal",value:"\u0e01\u0e48\u0e2d\u0e19"},{type:"role",role:"destination"}]},extraction:{patient:{position:1},destination:{marker:"\u0e01\u0e48\u0e2d\u0e19"},manner:{default:{type:"literal",value:"before"}}}},{id:"put-th-after",language:"th",command:"put",priority:105,template:{format:"\u0e43\u0e2a\u0e48 {patient} \u0e2b\u0e25\u0e31\u0e07 {destination}",tokens:[{type:"literal",value:"\u0e43\u0e2a\u0e48",alternatives:["\u0e27\u0e32\u0e07"]},{type:"role",role:"patient"},{type:"literal",value:"\u0e2b\u0e25\u0e31\u0e07"},{type:"role",role:"destination"}]},extraction:{patient:{position:1},destination:{marker:"\u0e2b\u0e25\u0e31\u0e07"},manner:{default:{type:"literal",value:"after"}}}},...r];case"uk":return[{id:"put-uk-full",language:"uk",command:"put",priority:100,template:{format:"\u043f\u043e\u043a\u043b\u0430\u0441\u0442\u0438 {patient} \u0432 {destination}",tokens:[{type:"literal",value:"\u043f\u043e\u043a\u043b\u0430\u0441\u0442\u0438",alternatives:["\u043f\u043e\u043a\u043b\u0430\u0434\u0438","\u043f\u043e\u043c\u0456\u0441\u0442\u0438\u0442\u0438","\u043f\u043e\u043c\u0456\u0441\u0442\u0438","\u0432\u0441\u0442\u0430\u0432\u0438\u0442\u0438","\u0432\u0441\u0442\u0430\u0432"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u0432",alternatives:["\u0443","\u043d\u0430"]},{type:"role",role:"destination"}]}]},extraction:{patient:{position:1},destination:{marker:"\u0432",markerAlternatives:["\u0443","\u043d\u0430"]}}},{id:"put-uk-before",language:"uk",command:"put",priority:105,template:{format:"\u043f\u043e\u043a\u043b\u0430\u0441\u0442\u0438 {patient} \u043f\u0435\u0440\u0435\u0434 {destination}",tokens:[{type:"literal",value:"\u043f\u043e\u043a\u043b\u0430\u0441\u0442\u0438",alternatives:["\u043f\u043e\u043a\u043b\u0430\u0434\u0438","\u043f\u043e\u043c\u0456\u0441\u0442\u0438\u0442\u0438","\u043f\u043e\u043c\u0456\u0441\u0442\u0438"]},{type:"role",role:"patient"},{type:"literal",value:"\u043f\u0435\u0440\u0435\u0434",alternatives:["\u0434\u043e"]},{type:"role",role:"destination"}]},extraction:{patient:{position:1},destination:{marker:"\u043f\u0435\u0440\u0435\u0434",markerAlternatives:["\u0434\u043e"]},manner:{default:{type:"literal",value:"before"}}}},{id:"put-uk-after",language:"uk",command:"put",priority:105,template:{format:"\u043f\u043e\u043a\u043b\u0430\u0441\u0442\u0438 {patient} \u043f\u0456\u0441\u043b\u044f {destination}",tokens:[{type:"literal",value:"\u043f\u043e\u043a\u043b\u0430\u0441\u0442\u0438",alternatives:["\u043f\u043e\u043a\u043b\u0430\u0434\u0438","\u043f\u043e\u043c\u0456\u0441\u0442\u0438\u0442\u0438","\u043f\u043e\u043c\u0456\u0441\u0442\u0438"]},{type:"role",role:"patient"},{type:"literal",value:"\u043f\u0456\u0441\u043b\u044f"},{type:"role",role:"destination"}]},extraction:{patient:{position:1},destination:{marker:"\u043f\u0456\u0441\u043b\u044f"},manner:{default:{type:"literal",value:"after"}}}},...r];case"vi":return[{id:"put-vi-into",language:"vi",command:"put",priority:100,template:{format:"\u0111\u1eb7t {patient} v\u00e0o {target}",tokens:[{type:"literal",value:"\u0111\u1eb7t",alternatives:["\u0111\u1ec3","\u0111\u01b0a"]},{type:"role",role:"patient"},{type:"literal",value:"v\u00e0o",alternatives:["v\u00e0o trong"]},{type:"role",role:"destination"}]},extraction:{patient:{position:1},destination:{marker:"v\u00e0o",markerAlternatives:["v\u00e0o trong"]}}},{id:"put-vi-before",language:"vi",command:"put",priority:105,template:{format:"\u0111\u1eb7t {patient} tr\u01b0\u1edbc {target}",tokens:[{type:"literal",value:"\u0111\u1eb7t",alternatives:["\u0111\u1ec3","\u0111\u01b0a"]},{type:"role",role:"patient"},{type:"literal",value:"tr\u01b0\u1edbc",alternatives:["tr\u01b0\u1edbc khi"]},{type:"role",role:"destination"}]},extraction:{patient:{position:1},destination:{marker:"tr\u01b0\u1edbc",markerAlternatives:["tr\u01b0\u1edbc khi"]},manner:{default:{type:"literal",value:"before"}}}},{id:"put-vi-after",language:"vi",command:"put",priority:105,template:{format:"\u0111\u1eb7t {patient} sau {target}",tokens:[{type:"literal",value:"\u0111\u1eb7t",alternatives:["\u0111\u1ec3","\u0111\u01b0a"]},{type:"role",role:"patient"},{type:"literal",value:"sau",alternatives:["sau khi"]},{type:"role",role:"destination"}]},extraction:{patient:{position:1},destination:{marker:"sau",markerAlternatives:["sau khi"]},manner:{default:{type:"literal",value:"after"}}}},...r];case"zh":return[{id:"put-zh-full",language:"zh",command:"put",priority:100,template:{format:"\u653e\u7f6e {patient} \u5230 {destination}",tokens:[{type:"literal",value:"\u653e\u7f6e",alternatives:["\u653e","\u653e\u5165","\u7f6e\u5165","put"]},{type:"role",role:"patient",expectedTypes:["literal","selector","reference","expression"]},{type:"literal",value:"\u5230",alternatives:["\u5728","\u4e8e","\u5165"]},{type:"role",role:"destination",expectedTypes:["selector","reference"]}]},extraction:{patient:{position:1},destination:{position:3}}},{id:"put-zh-ba",language:"zh",command:"put",priority:95,template:{format:"\u628a {patient} \u653e\u7f6e \u5230 {destination}",tokens:[{type:"literal",value:"\u628a"},{type:"role",role:"patient",expectedTypes:["literal","selector","reference","expression"]},{type:"literal",value:"\u653e\u7f6e",alternatives:["\u653e\u5230","\u653e\u5728","\u653e\u5165","\u653e","\u7f6e\u5165"]},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u5230",alternatives:["\u5728","\u4e8e","\u5165"]}]},{type:"role",role:"destination",expectedTypes:["selector","reference"]}]},extraction:{patient:{position:1},destination:{marker:"\u5230",markerAlternatives:["\u5728","\u4e8e","\u5165"]}}},...t,...r];default:return[...t,...r]}}var ai,ni,oi,si=b({"src/patterns/put.ts"(){Qr=[{lang:"ar",verb:"\u0636\u0639",verbAlts:["\u0627\u062c\u0639\u0644"],before:"\u0642\u0628\u0644",after:"\u0628\u0639\u062f"},{lang:"de",verb:"setzen",before:"vor",after:"nach"},{lang:"fr",verb:"mettre",before:"avant",after:"apr\u00e8s"},{lang:"he",verb:"\u05e9\u05d9\u05dd",patientPrefix:"\u05d0\u05ea",before:"\u05dc\u05e4\u05e0\u05d9",after:"\u05d0\u05d7\u05e8\u05d9"},{lang:"id",verb:"taruh",verbAlts:["letakkan","masukkan","tempatkan"],before:"sebelum",after:"setelah"},{lang:"ms",verb:"letak",before:"sebelum",after:"selepas"},{lang:"pt",verb:"colocar",before:"antes",after:"depois"},{lang:"sw",verb:"weka",before:"kabla",after:"baada"},{lang:"tl",verb:"ilagay",verbAlts:["maglagay"],before:"bago",after:"matapos"},{lang:"zh",verb:"\u653e\u7f6e",verbAlts:["\u653e","\u653e\u5165"],patientPrefix:"\u628a",patientPrefixOptional:!0,before:"\u4e4b\u524d",after:"\u4e4b\u540e"}],Jr=[{lang:"es",verb:"poner",verbAlts:["pon","colocar","put"],at:"en",end:"fin",of:"de"},{lang:"fr",verb:"mettre",at:"\u00e0",end:"fin",of:"de"},{lang:"pt",verb:"colocar",at:"em",end:"fim",of:"de"},{lang:"it",verb:"mettere",at:"a",end:"fine",of:"di"},{lang:"de",verb:"setzen",at:"bei",end:"ende",of:"von"},{lang:"sw",verb:"weka",at:"katika",end:"mwisho",of:"ya"},{lang:"id",verb:"taruh",verbAlts:["letakkan","masukkan","tempatkan"],at:"di",end:"akhir",of:"dari"},{lang:"ms",verb:"letak",at:"di",end:"tamat",of:"daripada"},{lang:"vi",verb:"\u0111\u1eb7t",at:"t\u1ea1i",end:"k\u1ebft th\u00fac",of:"c\u1ee7a"},{lang:"pl",verb:"umie\u015b\u0107",at:"przy",end:"koniec",of:"z"},{lang:"ru",verb:"\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c",at:"\u0443",end:"\u043a\u043e\u043d\u0435\u0446",of:"\u0438\u0437"},{lang:"uk",verb:"\u043f\u043e\u043a\u043b\u0430\u0441\u0442\u0438",at:"\u0432",end:"\u043a\u0456\u043d\u0435\u0446\u044c",of:"\u0437"},{lang:"th",verb:"\u0e43\u0e2a\u0e48",at:"\u0e17\u0e35\u0e48",end:"\u0e08\u0e1a",of:"\u0e02\u0e2d\u0e07"},{lang:"tl",verb:"ilagay",at:"sa",end:"wakas",of:"ng"},{lang:"ar",verb:"\u0636\u0639",at:"\u0639\u0646\u062f",end:"\u0627\u0644\u0646\u0647\u0627\u064a\u0629",of:"\u0645\u0646"},{lang:"zh",verb:"\u653e\u7f6e",verbAlts:["\u653e","\u653e\u5165"],patientPrefix:"\u628a",at:"\u5728",end:"\u7ed3\u675f",of:"\u7684"},{lang:"he",verb:"\u05e9\u05d9\u05dd",patientPrefix:"\u05d0\u05ea",at:"at",end:"\u05e1\u05d5\u05e3",of:"of"},{lang:"tr",verb:"koy",sov:!0,objMarker:"i",at:"de",end:"son",of:"nin"},{lang:"ja",verb:"\u7f6e\u304f",sov:!0,objMarker:"\u3092",at:"\u3067",end:"\u7d42\u308f\u308a",of:"\u306e"},{lang:"ko",verb:"\ub123\ub2e4",sov:!0,objMarker:"\ub97c",at:"\uc5d0",end:"\ub05d",of:"\uc758"},{lang:"hi",verb:"\u0930\u0916\u0947\u0902",verbAlts:["\u0930\u0916","\u0921\u093e\u0932\u0947\u0902","\u0921\u093e\u0932"],sov:!0,objMarker:"\u0915\u094b",at:"\u092a\u0930",end:"\u0938\u092e\u093e\u092a\u094d\u0924",of:"\u0915\u093e"},{lang:"bn",verb:"\u09b0\u09be\u0996\u09c1\u09a8",verbAlts:["\u09b0\u09be\u0996"],sov:!0,objMarker:"\u0995\u09c7",at:"\u098f",end:"\u09b6\u09c7\u09b7",of:"\u09b0"},{lang:"qu",verb:"churay",sov:!0,objMarker:"ta",at:"pi",end:"tukuy",of:"pa"}]}}),li=b({"src/tokenizers/token-utils.ts"(){}}),pi=b({"src/tokenizers/char-classifiers.ts"(){}}),mi=b({"src/tokenizers/base-tokenizer.ts"(){}}),ci=b({"src/tokenizers/base.ts"(){li(),pi(),mi()}});function di(){return[new i,new a,new ni,new oi,new n]}var ui,yi=b({"src/tokenizers/generic-extractors.ts"(){ai=["===","!==","->","==","!=","<=",">=","&&","||","**","+=","-=","*=","/=","+","-","*","/","=",">","<","!","&","|","%","^","~"],ni=class{constructor(e=ai){this.name="operator",this.operators=[...e].sort((e,t)=>t.length-e.length)}canExtract(e,t){return this.operators.some(r=>e.startsWith(r,t))}extract(e,t){for(const r of this.operators)if(e.startsWith(r,t))return{value:r,length:r.length};return null}},oi=class{constructor(e="()[]{},:;"){this.punctuation=e,this.name="punctuation"}canExtract(e,t){return this.punctuation.includes(e[t])}extract(e,t){const r=e[t];return this.punctuation.includes(r)?{value:r,length:1}:null}}}});function vi(e,t){let r=t;for(;e.length>r&&":"===e[r];){const t=e.slice(r).match(/^::?[a-zA-Z][a-zA-Z0-9-]*/);if(!t)break;let i=r+t[0].length;if("("===e[i]){let t=0,r=i;for(;e.length>r;){if("("===e[r])t++;else if(")"===e[r]&&(t--,0===t)){r++;break}r++}if(0!==t)break;i=r}r=i}return r}function fi(e,t){const r=e[t];if("#"===r){const r=e.slice(t).match(/^#[a-zA-Z_][\w-]*/);if(!r)return null;const i=vi(e,t+r[0].length);return e.slice(t,i)}if("."===r){const r=e.slice(t).match(/^\.\{[a-zA-Z_$][\w$]*\}/);if(r)return r[0];const i=e.slice(t).match(/^\.[a-zA-Z_][\w-]*/);if(!i)return null;const a=vi(e,t+i[0].length);return e.slice(t,a)}if("@"===r){const r=e.slice(t).match(/^@[a-zA-Z_][\w-]*/);return r?r[0]:null}if("*"===r){const r=e.slice(t).match(/^\*(?:--)?[a-zA-Z_][\w-]*/);return r?r[0]:null}if("["===r){let r=0,i=t;for(;e.length>i;){if("["===e[i]&&r++,"]"===e[i]&&(r--,0===r)){const r=vi(e,i+1);return e.slice(t,r)}i++}return null}if("<"===r){const r=e.slice(t).match(/^<(?=[\w.#[])[\w-]*(?:[#.][\w-]+|\[[^\]]+\]|::?[a-zA-Z][a-zA-Z0-9-]*(?:\([^)]*\))?)*\s*\/>/);return r?r[0]:null}return null}var hi,gi,ki,zi=b({"src/tokenizers/extractors/css-selector.ts"(){ui=class{constructor(){this.name="css-selector"}canExtract(e,t){const r=e[t];return"#"===r||"."===r||"["===r||"<"===r||("@"===r||"*"===r)&&null!==fi(e,t)}extract(e,t){const r=fi(e,t);return r?{value:r,length:r.length,metadata:{type:"css-selector"}}:null}}}}),wi=b({"src/tokenizers/extractors/event-modifier.ts"(){hi=class{constructor(){this.name="event-modifier"}canExtract(e,t){if("."!==e[t])return!1;const r=e.slice(t);return/^\.(once|prevent|stop|debounce|throttle|queue)/.test(r)}extract(e,t){const r=e.slice(t).match(/^\.(?:once|prevent|stop|debounce|throttle|queue)(?:\(([^)]+)\))?/);if(!r)return null;const i=r[0],a=i.slice(1).split("(")[0],n=r[1];return{value:i,length:i.length,metadata:{modifierName:a,value:n?"queue"===a?n:parseInt(n,10):void 0}}}}}});function bi(e,t){let r=1;for(let i=t;e.length>i;i++){const t=e[i];if("{"===t)r++;else if("}"===t&&0===--r)return i+1}return-1}var xi,Ti,Si=b({"src/tokenizers/extractors/url.ts"(){gi=["http://","https://","//","./","../","/"],ki=class{constructor(){this.name="url"}canExtract(e,t){const r=e.slice(t);return r.startsWith("http://")||r.startsWith("https://")||r.startsWith("//")||r.startsWith("./")||r.startsWith("../")||r.startsWith("/")}extract(e,t){const r=function(e,t){const r=e.slice(t),i=gi.find(e=>r.startsWith(e));if(!i)return null;let a=i.length;for(;r.length>a;){const e=r[a];if("$"===e&&"{"===r[a+1]){const e=bi(r,a+2);if(-1!==e){a=e;continue}}if(/\s/.test(e))break;a++}return r.slice(0,a)}(e,t);return r?{value:r,length:r.length,metadata:{type:"url"}}:null}}}}),ji=b({"src/tokenizers/extractors/variable-ref.ts"(){xi=class{constructor(){this.name="variable-ref"}canExtract(e,t){const r=e[t];return(":"===r||"$"===r||"^"===r)&&e.length>t+1&&/[a-zA-Z_]/.test(e[t+1])}extract(e,t){if(!this.canExtract(e,t))return null;let r=1;for(;e.length>t+r&&/[a-zA-Z0-9_]/.test(e[t+r]);)r++;return{value:e.substring(t,t+r),length:r,metadata:{type:"variable-reference"}}}}}});function Ei(e){return function(e){const t=e.charCodeAt(0);return t>=12352&&12447>=t}(e)||function(e){const t=e.charCodeAt(0);return t>=12448&&12543>=t}(e)||function(e){const t=e.charCodeAt(0);return t>=19968&&40879>=t||t>=13312&&19903>=t}(e)}var Li,Ci,_i,Pi,Wi,Ai=b({"src/tokenizers/extractors/japanese-keyword.ts"(){Ti=class{constructor(){this.name="japanese-keyword"}setContext(e){this.context=e}canExtract(e,t){return Ei(e[t])}extract(e,t){if(!this.context)throw Error("JapaneseKeywordExtractor: context not set");const r=t;this.context.isKeywordStart(e,t);let i="",a=t;for(;e.length>a&&Ei(e[a]);)i+=e[a],a++;let n=i,o=i.length;for(let e=i.length;e>0;e--){const t=i.substring(0,e);if(this.context.lookupKeyword(t)){n=t,o=e;break}}if(i=n,a=t+o,!i)return null;const s=this.context.lookupKeyword(i),l=s&&s.normalized!==s.native?s.normalized:void 0;let p;if(!s&&this.context.normalizer){const e=this.context.normalizer.normalize(i);if(e.stem!==i&&e.confidence>=.7){const t=this.context.lookupKeyword(e.stem);t&&(p=t.normalized)}}return{value:i,length:a-r,metadata:{normalized:l||p}}}}}}),qi=b({"src/tokenizers/extractors/japanese-particle.ts"(){Li=new Map([["\u3092",{role:"patient",confidence:.95}],["\u306b",{role:"destination",confidence:.85}],["\u304c",{role:"subject",confidence:.9}],["\u306e",{role:"possessive",confidence:.9}],["\u3068",{role:"conjunction",confidence:.8}],["\u3067",{role:"instrument",confidence:.85}],["\u3078",{role:"direction",confidence:.85}],["\u3084",{role:"listing",confidence:.8}],["\u304b",{role:"question",confidence:.85}],["\u3082",{role:"also",confidence:.85}],["\u306f",{role:"topic",confidence:.9}]]),Ci=new Map([["\u304b\u3089",{role:"source",confidence:.95}],["\u307e\u3067",{role:"until",confidence:.95}],["\u3088\u308a",{role:"comparison",confidence:.9}],["\u3068\u3057\u3066",{role:"as",confidence:.9}],["\u306b\u3064\u3044\u3066",{role:"about",confidence:.9}],["\u306b\u3088\u3063\u3066",{role:"by-means",confidence:.9}],["\u306b\u3066",{role:"at-location",confidence:.85}]]),_i=class{constructor(){this.name="japanese-particle"}setContext(e){this._context=e}longerKeywordStartsHere(e,t){if(!this._context)return!1;for(let r=4;r>=2;r--){const i=e.slice(t,t+r);if(i.length===r&&this._context.isKeyword(i))return!0}return!1}canExtract(e,t){if(Li.has(e[t])&&!this.longerKeywordStartsHere(e,t))return!0;for(const[r]of Ci)if(e.startsWith(r,t))return!0;return!1}extract(e,t){for(const[r,i]of Ci)if(e.startsWith(r,t))return{value:r,length:r.length,metadata:{role:i.role,confidence:i.confidence,variant:r}};const r=e[t];if(this.longerKeywordStartsHere(e,t))return null;const i=Li.get(r);return i?{value:r,length:1,metadata:{role:i.role,confidence:i.confidence,variant:r}}:null}}}});function Oi(e){return function(e){const t=e.charCodeAt(0);return t>=44032&&55203>=t}(e)||function(e){const t=e.charCodeAt(0);return t>=4352&&4607>=t||t>=12592&&12687>=t}(e)}var Ri,Mi,Ni,Ii=b({"src/tokenizers/extractors/korean-keyword.ts"(){Pi=["\ud560\ub54c","\ud558\uba74","\ud558\ub2c8\uae4c","\ud560 \ub54c"],Wi=class{constructor(){this.name="korean-keyword"}setContext(e){this.context=e}canExtract(e,t){return Oi(e[t])}extract(e,t){if(!this.context)throw Error("KoreanKeywordExtractor: context not set");const r=t;for(let t=Math.min(6,e.length-r);t>=2;t--){const i=e.slice(r,r+t);let a=!0;for(let e=0;i.length>e;e++)if(!Oi(i[e])){a=!1;break}if(!a)continue;const n=this.context.lookupKeyword(i);if(n)return{value:i,length:t,metadata:{normalized:n.normalized!==n.native?n.normalized:void 0}};if(this.context.normalizer){const e=this.context.normalizer.normalize(i);if(e.stem!==i&&e.confidence>=.7){const r=this.context.lookupKeyword(e.stem);if(r)return{value:i,length:t,metadata:{normalized:r.normalized,stem:e.stem,stemConfidence:e.confidence}}}}}let i="",a=t;for(;e.length>a&&Oi(e[a])&&(0>=i.length||!this.context.isKeywordStart(e,a));)i+=e[a],a++;if(!i)return null;for(const e of Pi)if(i.endsWith(e)&&i.length>e.length){const t=i.slice(0,-e.length),r=this.context.lookupKeyword(t);if(r)return{value:t,length:t.length,metadata:{normalized:r.normalized,hasSuffix:!0,suffix:e,stem:t}}}const n=this.context.lookupKeyword(i),o=n&&n.normalized!==n.native?n.normalized:void 0;let s,l,p;if(i.includes("\ud1a0\uae00"),!n&&this.context.normalizer){const e=this.context.normalizer.normalize(i);if(e.stem!==i&&e.confidence>=.7){const t=this.context.lookupKeyword(e.stem);t&&(s=t.normalized,l=e.stem,p=e.confidence,i.includes("\ud1a0\uae00"))}}return{value:i,length:a-r,metadata:{normalized:o||s,stem:l,stemConfidence:p}}}}}});function $i(e){if(!e)return!1;const t=e.codePointAt(0);return t>=44032&&55203>=t}var Ki,Vi=b({"src/tokenizers/extractors/korean-particle.ts"(){Ri=new Map([["\uc774",{role:"agent",confidence:.85,variant:"consonant",description:"subject marker (after consonant)"}],["\uac00",{role:"agent",confidence:.85,variant:"vowel",description:"subject marker (after vowel)"}],["\uc744",{role:"patient",confidence:.95,variant:"consonant",description:"object marker (after consonant)"}],["\ub97c",{role:"patient",confidence:.95,variant:"vowel",description:"object marker (after vowel)"}],["\uc740",{role:"agent",confidence:.75,variant:"consonant",description:"topic marker (after consonant)"}],["\ub294",{role:"agent",confidence:.75,variant:"vowel",description:"topic marker (after vowel)"}],["\uc5d0",{role:"destination",confidence:.85,description:"at/to marker"}],["\ub85c",{role:"destination",confidence:.85,variant:"vowel",description:"to/by means (after vowel or \u3139)"}],["\uc640",{role:"style",confidence:.7,variant:"vowel",description:"and/with (after vowel)"}],["\uacfc",{role:"style",confidence:.7,variant:"consonant",description:"and/with (after consonant)"}],["\uc758",{role:"patient",confidence:.6,description:"possessive marker"}],["\ub3c4",{role:"patient",confidence:.65,description:"also/too marker"}],["\ub9cc",{role:"patient",confidence:.65,description:"only marker"}]]),Mi=new Map([["\uc5d0\uc11c",{role:"source",confidence:.8,description:"at/from marker (action location)"}],["\uc73c\ub85c",{role:"destination",confidence:.85,variant:"consonant",description:"to/by means (after consonant)"}],["\ubd80\ud130",{role:"source",confidence:.9,description:"from/since marker"}],["\uae4c\uc9c0",{role:"destination",confidence:.75,description:"until/to marker"}],["\ucc98\ub7fc",{role:"manner",confidence:.8,description:"like/as marker"}],["\ubcf4\ub2e4",{role:"source",confidence:.75,description:"than marker"}]]),Ni=class{constructor(){this.name="korean-particle"}setContext(e){this._context=e}canExtract(e,t){if(Ri.has(e[t])&&!$i(e[t+1]))return!0;for(const[r]of Mi)if(e.startsWith(r,t))return!0;return!1}extract(e,t){for(const[r,i]of Mi)if(e.startsWith(r,t))return{value:r,length:r.length,metadata:{particleRole:i.role,particleConfidence:i.confidence,particleVariant:i.variant}};const r=e[t],i=Ri.get(r);return i&&!$i(e[t+1])?{value:r,length:1,metadata:{particleRole:i.role,particleConfidence:i.confidence,particleVariant:i.variant}}:null}}}});function Di(e){const t=e.charCodeAt(0);return t>=19968&&40959>=t||t>=13312&&19903>=t||t>=63744&&64255>=t||t>=131072&&173791>=t||t>=173824&&177983>=t||t>=177984&&178207>=t||t>=178208&&183983>=t||t>=183984&&191471>=t||t>=194560&&195103>=t}var Bi,Fi,Hi,Ui,Gi,Zi,Yi,Xi=b({"src/tokenizers/extractors/chinese-keyword.ts"(){Ki=class{constructor(){this.name="chinese-keyword"}setContext(e){this.context=e}canExtract(e,t){return Di(e[t])}extract(e,t){if(!this.context)throw Error("ChineseKeywordExtractor: context not set");const r=t;let i=null;if(this.context.isKeywordStart(e,t))for(let r=10;r>=1;r--){const a=e.slice(t,t+r);if([...a].every(e=>Di(e))){const e=this.context.lookupKeyword(a);if(e){i={word:a,entry:e};break}}}if(i)return{value:i.word,length:i.word.length,metadata:{normalized:i.entry.normalized}};let a="",n=t;for(;e.length>n&&Di(e[n])&&(a+=e[n],n++,n>=e.length||!this.context.isKeywordStart(e,n)););return a?{value:a,length:n-r,metadata:{}}:null}}}}),Qi=b({"src/tokenizers/extractors/chinese-particle.ts"(){Bi=new Map([["\u628a",{role:"patient",confidence:.95,description:"ba-construction object marker"}],["\u5728",{role:"location",confidence:.85,description:"at/in/on location marker"}],["\u4ece",{role:"source",confidence:.9,description:"from marker"}],["\u5230",{role:"destination",confidence:.9,description:"to/until marker"}],["\u5411",{role:"destination",confidence:.85,description:"towards marker"}],["\u7ed9",{role:"destination",confidence:.85,description:"to/for recipient marker"}],["\u5bf9",{role:"destination",confidence:.8,description:"to/towards marker"}],["\u7528",{role:"instrument",confidence:.85,description:"with/using marker"}],["\u88ab",{role:"agent",confidence:.8,description:"by (passive) marker"}],["\u8ba9",{role:"agent",confidence:.75,description:"let/make causative marker"}],["\u7684",{role:"possessive",confidence:.9,description:"possessive/attributive marker"}],["\u5730",{role:"manner",confidence:.85,description:"adverbial marker"}],["\u5f97",{role:"manner",confidence:.8,description:"complement marker"}],["\u4e86",{role:"aspect",confidence:.7,description:"completion aspect marker"}],["\u7740",{role:"aspect",confidence:.7,description:"progressive aspect marker"}],["\u8fc7",{role:"aspect",confidence:.7,description:"experiential aspect marker"}],["\u5417",{role:"mood",confidence:.75,description:"question particle"}],["\u5462",{role:"mood",confidence:.7,description:"question/emphasis particle"}],["\u5427",{role:"mood",confidence:.7,description:"suggestion particle"}]]),Fi=new Map([["\u7136\u540e",{role:"sequence",confidence:.9,description:"then/afterwards"}],["\u63a5\u7740",{role:"sequence",confidence:.85,description:"next/following"}],["\u5e76\u4e14",{role:"conjunction",confidence:.85,description:"and/moreover"}],["\u6216\u8005",{role:"conjunction",confidence:.85,description:"or"}],["\u5982\u679c",{role:"condition",confidence:.9,description:"if"}],["\u90a3\u4e48",{role:"consequence",confidence:.85,description:"then"}],["\u5426\u5219",{role:"alternative",confidence:.85,description:"otherwise"}]]),Hi=class{constructor(){this.name="chinese-particle"}setContext(e){this._context=e}longerKeywordAt(e,t,r){const i=this._context;if(!i)return!1;for(let a=Math.min(10,e.length-t);a>r;a--)if(i.lookupKeyword(e.slice(t,t+a)))return!0;return!1}canExtract(e,t){if(Bi.has(e[t])&&!this.longerKeywordAt(e,t,1))return!0;for(const[r]of Fi)if(e.startsWith(r,t)&&!this.longerKeywordAt(e,t,r.length))return!0;return!1}extract(e,t){for(const[r,i]of Fi)if(e.startsWith(r,t)&&!this.longerKeywordAt(e,t,r.length))return{value:r,length:r.length,metadata:{particleRole:i.role,particleConfidence:i.confidence,particleDescription:i.description}};const r=e[t],i=Bi.get(r);return i&&!this.longerKeywordAt(e,t,1)?{value:r,length:1,metadata:{particleRole:i.role,particleConfidence:i.confidence,particleDescription:i.description}}:null}}}});var Ji,ea,ta,ra,ia,aa,na,oa,sa,la,pa,ma,ca,da=b({"src/tokenizers/extractors/vietnamese-keyword.ts"(){var e;({isLetter:Ui,isIdentifierChar:Gi}=(e=/[a-zA-Z\u00e0\u00e1\u1ea3\u00e3\u1ea1\u0103\u1eb1\u1eaf\u1eb3\u1eb5\u1eb7\u00e2\u1ea7\u1ea5\u1ea9\u1eab\u1ead\u00e8\u00e9\u1ebb\u1ebd\u1eb9\u00ea\u1ec1\u1ebf\u1ec3\u1ec5\u1ec7\u00ec\u00ed\u1ec9\u0129\u1ecb\u00f2\u00f3\u1ecf\u00f5\u1ecd\u00f4\u1ed3\u1ed1\u1ed5\u1ed7\u1ed9\u01a1\u1edd\u1edb\u1edf\u1ee1\u1ee3\u00f9\u00fa\u1ee7\u0169\u1ee5\u01b0\u1eeb\u1ee9\u1eed\u1eef\u1ef1\u1ef3\u00fd\u1ef7\u1ef9\u1ef5\u0111\u00c0\u00c1\u1ea2\u00c3\u1ea0\u0102\u1eb0\u1eae\u1eb2\u1eb4\u1eb6\u00c2\u1ea6\u1ea4\u1ea8\u1eaa\u1eac\u00c8\u00c9\u1eba\u1ebc\u1eb8\u00ca\u1ec0\u1ebe\u1ec2\u1ec4\u1ec6\u00cc\u00cd\u1ec8\u0128\u1eca\u00d2\u00d3\u1ece\u00d5\u1ecc\u00d4\u1ed2\u1ed0\u1ed4\u1ed6\u1ed8\u01a0\u1edc\u1eda\u1ede\u1ee0\u1ee2\u00d9\u00da\u1ee6\u0168\u1ee4\u01af\u1eea\u1ee8\u1eec\u1eee\u1ef0\u1ef2\u00dd\u1ef6\u1ef8\u1ef4\u0110]/,{isLetter:t=>e.test(t),isIdentifierChar:t=>/[0-9]/.test(t)||e.test(t)})),Zi=new Set(["trong","ngo\u00e0i","tr\u00ean","d\u01b0\u1edbi","v\u00e0o","ra","\u0111\u1ebfn","t\u1eeb","v\u1edbi","cho","b\u1edfi","qua","tr\u01b0\u1edbc","sau","gi\u1eefa","b\u00ean","theo","v\u1ec1","t\u1edbi","l\u00ean","xu\u1ed1ng"]),Yi=class{constructor(){this.name="vietnamese-keyword"}setContext(e){this.context=e}canExtract(e,t){return Ui(e[t])}extract(e,t){if(!this.context)throw Error("VietnameseKeywordExtractor: context not set");const r=this.tryMultiWordPhrase(e,t);if(r)return r;let i=t,a="";for(;e.length>i&&Gi(e[i]);)a+=e[i++];if(!a)return null;const n=a.toLowerCase(),o=Zi.has(n),s=this.context.lookupKeyword(n);return{value:a,length:i-t,metadata:{normalized:s&&s.normalized!==s.native?s.normalized:void 0,isPreposition:o}}}tryMultiWordPhrase(e,t){if(!this.context)return null;const r=["v\u00e0o trong","s\u1ef1 ki\u1ec7n"];for(const i of r){if(e.slice(t,t+i.length).toLowerCase()===i.toLowerCase()){const r=t+i.length;if(r>=e.length||!/[a-zA-Z\u00e0\u00e1\u1ea3\u00e3\u1ea1\u0103\u1eb1\u1eaf\u1eb3\u1eb5\u1eb7\u00e2\u1ea7\u1ea5\u1ea9\u1eab\u1ead\u00e8\u00e9\u1ebb\u1ebd\u1eb9\u00ea\u1ec1\u1ebf\u1ec3\u1ec5\u1ec7\u00ec\u00ed\u1ec9\u0129\u1ecb\u00f2\u00f3\u1ecf\u00f5\u1ecd\u00f4\u1ed3\u1ed1\u1ed5\u1ed7\u1ed9\u01a1\u1edd\u1edb\u1edf\u1ee1\u1ee3\u00f9\u00fa\u1ee7\u0169\u1ee5\u01b0\u1eeb\u1ee9\u1eed\u1eef\u1ef1\u1ef3\u00fd\u1ef7\u1ef9\u1ef5\u0111]/.test(e[r])){const a=this.context.lookupKeyword(i);return{value:e.slice(t,r),length:i.length,metadata:{normalized:a?.normalized,isPreposition:!1}}}}}return null}}}}),ua=b({"src/tokenizers/extractors/arabic-keyword.ts"(){ci(),Ji=v([[1536,1791],[1872,1919],[2208,2303],[64336,65023],[65136,65279]]),ea=new Set(["\u0641\u064a","\u0639\u0644\u0649","\u0645\u0646","\u0625\u0644\u0649","\u0627\u0644\u0649","\u0645\u0639","\u0639\u0646","\u0642\u0628\u0644","\u0628\u0639\u062f","\u0628\u064a\u0646"]),ta=class{constructor(){this.name="arabic-keyword"}setContext(e){this.context=e}canExtract(e,t){return Ji(e[t])}extract(e,t){if(!this.context)throw Error("ArabicKeywordExtractor: context not set");const r=t;this.context.isKeywordStart(e,t);let i="",a=t;for(;e.length>a&&(Ji(e[a])||"\u0640"===e[a]);)i+=e[a],a++;if(!i)return null;const n=this.context.lookupKeyword(i),o=n&&n.normalized!==n.native?n.normalized:void 0;if(ea.has(i))return{value:i,length:a-r,metadata:{prepositionValue:i,normalized:o}};let s,l,p;if(!n&&this.context.normalizer){const e=this.context.normalizer.normalize(i);if(e.stem!==i&&e.confidence>=.7){const t=this.context.lookupKeyword(e.stem);t&&(s=t.normalized,l=e.stem,p=e.confidence)}}return{value:i,length:a-r,metadata:{normalized:o||s,stem:l,stemConfidence:p}}}}}}),ya=b({"src/tokenizers/extractors/arabic-proclitic.ts"(){ci(),ra=v([[1536,1791],[1872,1919],[2208,2303],[64336,65023],[65136,65279]]),ia=new Map([["\u0648",{normalized:"and",type:"conjunction"}],["\u0641",{normalized:"then",type:"conjunction"}],["\u0628",{normalized:"with",type:"preposition"}],["\u0644",{normalized:"to",type:"preposition"}],["\u0643",{normalized:"like",type:"preposition"}],["\u0648\u0644",{normalized:"and-to",type:"conjunction"}],["\u0648\u0628",{normalized:"and-with",type:"conjunction"}],["\u0648\u0643",{normalized:"and-like",type:"conjunction"}],["\u0641\u0644",{normalized:"then-to",type:"conjunction"}],["\u0641\u0628",{normalized:"then-with",type:"conjunction"}],["\u0641\u0643",{normalized:"then-like",type:"conjunction"}]]),aa=new Set(["\u0648\u062b\u064a\u0642\u0629"]),na=class{constructor(){this.name="arabic-proclitic"}setContext(e){this.context=e}canExtract(e,t){return ia.has(e[t])||e.length>t+1&&ia.has(e.slice(t,t+2))}extract(e,t){if(!this.context)throw Error("ArabicProcliticExtractor: context not set");let r=t;for(;e.length>r&&(ra(e[r])||"\u0640"===e[r]);)r++;const i=e.slice(t,r);if(this.context.isKeyword(i))return null;if(aa.has(i))return null;if(e.length>=t+2){const i=e.slice(t,t+2),a=ia.get(i);if(a){const n=t+2;if(e.length>n&&ra(e[n])){let o=0,s=n;for(;e.length>s&&ra(e[s]);)o++,s++;if(o>=2){if(!ia.get(e[t]))return{value:i,length:2,metadata:{procliticType:a.type,normalized:a.normalized}};{const n=e.slice(t+1,r);if(!this.context.isKeyword(n))return{value:i,length:2,metadata:{procliticType:a.type,normalized:a.normalized}}}}}}}const a=e[t],n=ia.get(a);if(!n)return null;const o=t+1;if(o>=e.length||!ra(e[o]))return null;let s=0,l=o;for(;e.length>l&&ra(e[l]);)s++,l++;if(2>s){const r=s>=1&&e.slice(o,l).split("").every(e=>"\u0640"===e),i=e[l];return"preposition"!==n.type||!r||"#"!==i&&"."!==i?null:{value:e.slice(t,l),length:l-t,metadata:{procliticType:n.type,normalized:n.normalized}}}return{value:a,length:1,metadata:{procliticType:n.type,normalized:n.normalized}}}}}}),va=b({"src/tokenizers/extractors/arabic-temporal.ts"(){ci(),oa=v([[1536,1791],[1872,1919],[2208,2303],[64336,65023],[65136,65279]]),sa=new Map([["\u0639\u0646\u062f\u0645\u0627",{normalized:"on",formality:"formal",confidence:.95,description:"when (formal MSA)"}],["\u062d\u064a\u0646\u0645\u0627",{normalized:"on",formality:"formal",confidence:.93,description:"when/whenever (formal)"}],["\u0639\u0646\u062f",{normalized:"on",formality:"neutral",confidence:.88,description:"at/when (neutral)"}],["\u062d\u064a\u0646",{normalized:"on",formality:"neutral",confidence:.85,description:"when/time (neutral)"}],["\u0644\u0645\u0651\u0627",{normalized:"on",formality:"dialectal",confidence:.7,description:"when (dialectal, with shadda)"}],["\u0644\u0645\u0627",{normalized:"on",formality:"dialectal",confidence:.68,description:"when (dialectal, no diacritic)"}],["\u0644\u062f\u0649",{normalized:"on",formality:"neutral",confidence:.82,description:"at/with (temporal)"}]]),la=class{constructor(){this.name="arabic-temporal"}setContext(e){this._context=e}canExtract(e,t){for(const[r]of sa)if(e.startsWith(r,t))return!0;return!1}extract(e,t){const r=Array.from(sa.entries()).sort(([e],[t])=>t.length-e.length);for(const[i,a]of r)if(e.startsWith(i,t)){const r=t+i.length;if(r>=e.length||/\s/.test(e[r])||!oa(e[r]))return{value:i,length:i.length,metadata:{temporalFormality:a.formality,temporalConfidence:a.confidence,normalized:a.normalized,description:a.description}}}return null}}}});var fa,ha=b({"src/tokenizers/extractors/cyrillic-keyword.ts"(){pa=class{constructor(e,t,r){this.name=e;const i=(a=t,{isLetter:e=>a.test(e),isIdentifierChar:e=>/[0-9_]/.test(e)||a.test(e)});var a;this.isLetter=i.isLetter,this.isIdentifierChar=i.isIdentifierChar,this.prepositions=r}setContext(e){this.context=e}canExtract(e,t){const r=e[t];return"'"!==r&&this.isLetter(r)}extract(e,t){if(!this.context)throw Error(this.name+": context not set");let r=t,i="";for(;e.length>r&&this.isIdentifierChar(e[r]);)i+=e[r++];if(!i)return null;const a=i.toLowerCase(),n=this.prepositions.has(a),o=this.context.lookupKeyword(a),s=o&&o.normalized!==o.native?o.normalized:void 0;let l;if(!o&&this.context.normalizer){const e=this.context.normalizer.normalize(i);if(e.stem!==i&&e.confidence>=.7){const t=this.context.lookupKeyword(e.stem);t&&(l=t.normalized)}}return{value:i,length:r-t,metadata:{normalized:s||l,isPreposition:n}}}},ma=new Set(["\u0432","\u0432\u043e","\u043d\u0430","\u0441","\u0441\u043e","\u043a","\u043a\u043e","\u043e","\u043e\u0431","\u043e\u0431\u043e","\u0443","\u043e\u0442","\u0434\u043e","\u0438\u0437","\u0437\u0430","\u043f\u043e","\u043f\u043e\u0434","\u043d\u0430\u0434","\u043f\u0435\u0440\u0435\u0434","\u043f\u0435\u0440\u0435\u0434\u043e","\u043c\u0435\u0436\u0434\u0443","\u0447\u0435\u0440\u0435\u0437","\u0431\u0435\u0437","\u0434\u043b\u044f","\u043f\u0440\u0438","\u043f\u0440\u043e","\u043f\u043e\u0441\u043b\u0435","\u0432\u043e\u043a\u0440\u0443\u0433","\u043f\u0440\u043e\u0442\u0438\u0432","\u0432\u043c\u0435\u0441\u0442\u043e","\u043a\u0440\u043e\u043c\u0435","\u0441\u0440\u0435\u0434\u0438"]),ca=new Set(["\u0432","\u0443","\u043d\u0430","\u0437","\u0456\u0437","\u0437\u0456","\u0434\u043e","\u0432\u0456\u0434","\u043e","\u043e\u0431","\u043f\u0440\u0438","\u0434\u043b\u044f","\u043f\u0456\u0434","\u043d\u0430\u0434","\u043f\u0435\u0440\u0435\u0434","\u043c\u0456\u0436","\u0447\u0435\u0440\u0435\u0437","\u0431\u0435\u0437","\u043f\u043e","\u0437\u0430","\u043f\u0440\u043e","\u043f\u0456\u0441\u043b\u044f","\u043d\u0430\u0432\u043a\u043e\u043b\u043e","\u043f\u0440\u043e\u0442\u0438","\u0437\u0430\u043c\u0456\u0441\u0442\u044c","\u043a\u0440\u0456\u043c","\u0441\u0435\u0440\u0435\u0434","\u043a"])}});function ga(e){const t=e.charCodeAt(0);return t>=2304&&2431>=t||t>=43232&&43263>=t}var ka,za,wa,ba,xa=b({"src/tokenizers/extractors/hindi-keyword.ts"(){fa=class{constructor(){this.name="hindi-keyword"}setContext(e){this.context=e}canExtract(e,t){return ga(e[t])}extract(e,t){if(!this.context)throw Error("HindiKeywordExtractor: context not set");const r=t;let i="",a=t;for(;e.length>a&&ga(e[a]);)i+=e[a],a++;if(this.context&&"-"===e[a]&&e.length>a+1&&ga(e[a+1])){let t=a,r=i;for(;e.length>t&&("-"===e[t]||ga(e[t]));)r+=e[t++];this.context.lookupKeyword(r)&&(i=r,a=t)}if(this.context&&"_"===e[a]&&e.length>a+1&&ga(e[a+1])){let t=a,r=i;for(;e.length>t&&("_"===e[t]||ga(e[t]));)r+=e[t++];this.context.lookupKeyword(r)&&(i=r,a=t)}if(!i)return null;const n=this.context.lookupKeyword(i),o=n&&n.normalized!==n.native?n.normalized:void 0;let s;if(!n&&this.context.normalizer){const e=this.context.normalizer.normalize(i);if(e.stem!==i&&e.confidence>=.7){const t=this.context.lookupKeyword(e.stem);t&&(s=t.normalized)}}return{value:i,length:a-r,metadata:{normalized:o||s}}}}}}),Ta=b({"src/tokenizers/extractors/hindi-particle.ts"(){ka=new Map([["\u0915\u094b",{role:"patient",confidence:.95}],["\u092e\u0947\u0902",{role:"destination",confidence:.9}],["\u092a\u0930",{role:"event",confidence:.85}],["\u0938\u0947",{role:"source",confidence:.9}],["\u0915\u093e",{role:"possessive",confidence:.95}],["\u0915\u0940",{role:"possessive",confidence:.95}],["\u0915\u0947",{role:"possessive",confidence:.95}],["\u0924\u0915",{role:"until",confidence:.9}],["\u0928\u0947",{role:"agent",confidence:.85}]]),za=new Map([["\u0915\u0947 \u0938\u093e\u0925",{role:"instrument",confidence:.95}],["\u0915\u0947 \u092c\u093e\u0930\u0947 \u092e\u0947\u0902",{role:"about",confidence:.9}]]),wa=class{constructor(){this.name="hindi-particle"}setContext(e){this._context=e}canExtract(e,t){if(this.underscoreJoinedKeyword(e,t))return!1;for(const[r]of za)if(e.startsWith(r,t))return!0;let r="",i=t;for(;e.length>i&&this.isDevanagari(e[i]);)r+=e[i],i++;return ka.has(r)}underscoreJoinedKeyword(e,t){if(!this._context)return!1;let r=t;for(;e.length>r&&this.isDevanagari(e[r]);)r++;if("_"!==e[r]||r+1>=e.length||!this.isDevanagari(e[r+1]))return!1;let i=e.slice(t,r);for(;e.length>r&&("_"===e[r]||this.isDevanagari(e[r]));)i+=e[r++];return!!this._context.lookupKeyword(i)}extract(e,t){if(this.underscoreJoinedKeyword(e,t))return null;for(const[r,i]of za)if(e.startsWith(r,t))return{value:r,length:r.length,metadata:{role:i.role,confidence:i.confidence,variant:r}};let r="",i=t;for(;e.length>i&&this.isDevanagari(e[i]);)r+=e[i],i++;const a=ka.get(r);return a?{value:r,length:r.length,metadata:{role:a.role,confidence:a.confidence,variant:r}}:null}isDevanagari(e){const t=e.charCodeAt(0);return t>=2304&&2431>=t||t>=43232&&43263>=t}}}});function Sa(e){const t=e.charCodeAt(0);return t>=2432&&2559>=t}var ja,Ea,La,Ca=b({"src/tokenizers/extractors/bengali-keyword.ts"(){ba=class{constructor(){this.name="bengali-keyword"}setContext(e){this.context=e}canExtract(e,t){return Sa(e[t])}extract(e,t){if(!this.context)throw Error("BengaliKeywordExtractor: context not set");const r=t;let i="",a=t;for(;e.length>a&&Sa(e[a]);)i+=e[a],a++;if(!i)return null;const n=this.context.lookupKeyword(i),o=n&&n.normalized!==n.native?n.normalized:void 0;let s;if(!n&&this.context.normalizer){const e=this.context.normalizer.normalize(i);if(e.stem!==i&&e.confidence>=.7){const t=this.context.lookupKeyword(e.stem);t&&(s=t.normalized)}}return{value:i,length:a-r,metadata:{normalized:o||s}}}}}}),_a=b({"src/tokenizers/extractors/bengali-particle.ts"(){ja=new Map([["\u0995\u09c7",{role:"patient",confidence:.95}],["\u09a4\u09c7",{role:"destination",confidence:.9}],["\u098f",{role:"event",confidence:.85}],["\u09a5\u09c7\u0995\u09c7",{role:"source",confidence:.95}],["\u09b0",{role:"possessive",confidence:.95}],["\u098f\u09b0",{role:"possessive",confidence:.95}],["\u09a6\u09bf\u09af\u09bc\u09c7",{role:"instrument",confidence:.9}],["\u099c\u09a8\u09cd\u09af",{role:"purpose",confidence:.9}],["\u09aa\u09b0\u09cd\u09af\u09a8\u09cd\u09a4",{role:"until",confidence:.9}],["\u09ae\u09a7\u09cd\u09af\u09c7",{role:"location",confidence:.85}]]),Ea=class{constructor(){this.name="bengali-particle"}setContext(e){this._context=e}canExtract(e,t){let r="",i=t;for(;e.length>i&&this.isBengali(e[i]);)r+=e[i],i++;return ja.has(r)}extract(e,t){let r="",i=t;for(;e.length>i&&this.isBengali(e[i]);)r+=e[i],i++;const a=ja.get(r);return a?{value:r,length:r.length,metadata:{role:a.role,confidence:a.confidence,variant:r}}:null}isBengali(e){const t=e.charCodeAt(0);return t>=2432&&2559>=t}}}});function Pa(e){const t=e.charCodeAt(0);return t>=3584&&3711>=t}function Wa(e){return/[a-zA-Z0-9_]/.test(e)}var Aa,qa=b({"src/tokenizers/extractors/thai-keyword.ts"(){La=class{constructor(){this.name="thai-keyword"}setContext(e){this.context=e}canExtract(e,t){return Pa(e[t])||Wa(e[t])}extract(e,t){if(!this.context)throw Error("ThaiKeywordExtractor: context not set");const r=e[t];return Pa(r)?this.extractThaiWord(e,t):Wa(r)?this.extractAsciiWord(e,t):null}extractThaiWord(e,t){if(!this.context)return null;let r=null,i=t,a="";for(;e.length>i&&Pa(e[i]);){a+=e[i],i++;const t=this.context.lookupKeyword(a);t&&(r={word:a,entry:t})}if(r){return{value:r.word,length:r.word.length,metadata:{normalized:r.entry.normalized!==r.entry.native?r.entry.normalized:void 0}}}let n=t,o="";for(;e.length>n&&Pa(e[n])&&(0>=o.length||!this.isKeywordStart(e,n));)o+=e[n],n++;return o?{value:o,length:o.length,metadata:{}}:null}extractAsciiWord(e,t){if(!this.context)return null;let r=t,i="";for(;e.length>r&&Wa(e[r]);)i+=e[r++];if(!i)return null;const a=i.toLowerCase(),n=this.context.lookupKeyword(a);return{value:i,length:i.length,metadata:{normalized:n&&n.normalized!==n.native?n.normalized:void 0}}}isKeywordStart(e,t){if(!this.context)return!1;let r=t,i="";for(;e.length>r&&Pa(e[r]);){if(i+=e[r],r++,this.context.lookupKeyword(i))return!0;if(i.length>10)break}return!1}}}});function Oa(e){return/[a-zA-Z0-9_]/.test(e)}var Ra,Ma,Na=b({"src/tokenizers/extractors/malay-keyword.ts"(){Aa=class{constructor(){this.name="malay-keyword"}setContext(e){this.context=e}canExtract(e,t){return/[a-zA-Z_]/.test(e[t])}extract(e,t){if(!this.context)throw Error("MalayKeywordExtractor: context not set");let r=t,i="";for(;e.length>r&&Oa(e[r]);)i+=e[r++];if(!i)return null;const a=i.toLowerCase(),n=this.context.lookupKeyword(a);return{value:i,length:i.length,metadata:{normalized:n&&n.normalized!==n.native?n.normalized:void 0}}}}}});function Ia(e){return/[a-zA-Z0-9_]/.test(e)}var $a,Ka,Va,Da,Ba=b({"src/tokenizers/extractors/tagalog-keyword.ts"(){Ra=new Set(["sa","ng","para","mula","hanggang","gaya","tulad","kasama","para sa"]),Ma=class{constructor(){this.name="tagalog-keyword"}setContext(e){this.context=e}canExtract(e,t){return/[a-zA-Z_]/.test(e[t])}extract(e,t){if(!this.context)throw Error("TagalogKeywordExtractor: context not set");let r=t,i="";for(;e.length>r&&Ia(e[r]);)i+=e[r++];if(!i)return null;const a=i.toLowerCase(),n=Ra.has(a),o=this.context.lookupKeyword(a),s=o&&o.normalized!==o.native?o.normalized:void 0;let l;if(!o&&this.context.normalizer){const e=this.context.normalizer.normalize(i);if(e.stem!==i&&e.confidence>=.7){const t=this.context.lookupKeyword(e.stem);t&&(l=t.normalized)}}return{value:i,length:i.length,metadata:{normalized:s||l,isPreposition:n}}}}}});var Fa,Ha,Ua,Ga,Za=b({"src/tokenizers/extractors/polish-keyword.ts"(){$a=new Set(["do","od","z","ze","w","we","na","po","pod","przed","za","nad","mi\u0119dzy","miedzy","przez","dla","bez","o","przy","u","wed\u0142ug","wedlug","mimo","w\u015br\u00f3d","wsrod","obok","poza","wok\u00f3\u0142","wokol","przeciw","ku"]),({isLetter:Ka,isIdentifierChar:Va}=function(){const e=/[a-zA-Z\u0105\u0119\u0107\u0144\u00f3\u015b\u017a\u017c\u0142\u0104\u0118\u0106\u0143\u00d3\u015a\u0179\u017b\u0141]/;return{isLetter:t=>e.test(t),isIdentifierChar:t=>/[0-9]/.test(t)||e.test(t)}}()),Da=class{constructor(){this.name="polish-keyword"}setContext(e){this.context=e}canExtract(e,t){return Ka(e[t])}extract(e,t){if(!this.context)throw Error("PolishKeywordExtractor: context not set");let r=t,i="";for(;e.length>r&&Va(e[r]);)i+=e[r++];if(!i)return null;const a=i.toLowerCase(),n=$a.has(a),o=this.context.lookupKeyword(a),s=o&&o.normalized!==o.native?o.normalized:void 0;let l;if(!o&&this.context.normalizer){const e=this.context.normalizer.normalize(i);if(e.stem!==i&&e.confidence>=.7){const t=this.context.lookupKeyword(e.stem);t&&(l=t.normalized)}}return{value:i,length:r-t,metadata:{normalized:s||l,isPreposition:n}}}}}});var Ya,Xa,Qa,Ja,en=b({"src/tokenizers/extractors/indonesian-keyword.ts"(){Fa=new Set(["di","ke","dari","pada","dengan","tanpa","untuk","oleh","antara","sebelum","sesudah","setelah","selama","sampai","hingga","sejak","menuju","tentang","terhadap","melalui","dalam","luar"]),({isLetter:Ha,isIdentifierChar:Ua}=function(){const e=/[a-zA-Z]/;return{isLetter:t=>e.test(t),isIdentifierChar:t=>/[0-9]/.test(t)||e.test(t)}}()),Ga=class{constructor(){this.name="indonesian-keyword"}setContext(e){this.context=e}canExtract(e,t){return Ha(e[t])}extract(e,t){if(!this.context)throw Error("IndonesianKeywordExtractor: context not set");let r=t,i="";for(;e.length>r&&Ua(e[r]);)i+=e[r++];if(this.context&&e.length>r&&"_"===e[r]){let t=r,a=i;for(;e.length>t&&("_"===e[t]||Ua(e[t]));)a+=e[t++];this.context.lookupKeyword(a.toLowerCase())&&(i=a,r=t)}if(!i)return null;const a=i.toLowerCase(),n=Fa.has(a),o=this.context.lookupKeyword(a),s=o&&o.normalized!==o.native?o.normalized:void 0;let l;if(!o&&this.context.normalizer){const e=this.context.normalizer.normalize(i);if(e.stem!==i&&e.confidence>=.7){const t=this.context.lookupKeyword(e.stem);t&&(l=t.normalized)}}return{value:i,length:r-t,metadata:{normalized:s||l,isPreposition:n}}}}}});var tn,rn,an,nn=b({"src/tokenizers/extractors/swahili-keyword.ts"(){Ya=new Set(["kwa","na","katika","kwenye","kutoka","hadi","mpaka","kabla","baada","wakati","bila","kuhusu","karibu","mbele","nyuma","ndani","nje","juu","chini","kati"]),({isLetter:Xa,isIdentifierChar:Qa}=function(){const e=/[a-zA-Z]/;return{isLetter:t=>e.test(t),isIdentifierChar:t=>/[0-9]/.test(t)||e.test(t)}}()),Ja=class{constructor(){this.name="swahili-keyword"}setContext(e){this.context=e}canExtract(e,t){return Xa(e[t])}extract(e,t){if(!this.context)throw Error("SwahiliKeywordExtractor: context not set");let r=t,i="";for(;e.length>r&&Qa(e[r]);)i+=e[r++];if(this.context&&e.length>r&&"_"===e[r]){let t=r,a=i;for(;e.length>t&&("_"===e[t]||Qa(e[t]));)a+=e[t++];this.context.lookupKeyword(a.toLowerCase())&&(i=a,r=t)}if(!i)return null;const a=i.toLowerCase(),n=Ya.has(a),o=this.context.lookupKeyword(a),s=o&&o.normalized!==o.native?o.normalized:void 0;let l;if(!o&&this.context.normalizer){const e=this.context.normalizer.normalize(i);if(e.stem!==i&&e.confidence>=.7){const t=this.context.lookupKeyword(e.stem);t&&(l=t.normalized)}}return{value:i,length:r-t,metadata:{normalized:s||l,isPreposition:n}}}}}});function on(e){const t=e.charCodeAt(0);if(t>=65&&90>=t||t>=97&&122>=t)return!0;return"\u00e7\u00c7\u011f\u011e\u0131\u0130\u00f6\u00d6\u015f\u015e\u00fc\u00dc".includes(e)}var sn,ln,pn,mn,cn=b({"src/tokenizers/extractors/turkish-keyword.ts"(){tn=new Set(["ile","i\u00e7in","kadar","gibi","\u00f6nce","\u00fczerinde","alt\u0131nda","i\u00e7inde","d\u0131\u015f\u0131nda","aras\u0131nda","kar\u015f\u0131","g\u00f6re","ra\u011fmen","do\u011fru","boyunca"]),rn=new Set(["de","da","te","ta","den","dan","ten","tan","e","a","ye","ya","i","\u0131","u","\u00fc","in","\u0131n","un","\u00fcn","le","la","yle","yla"]),an=class{constructor(){this.name="turkish-keyword"}setContext(e){this.context=e}canExtract(e,t){return on(e[t])}extract(e,t){if(!this.context)throw Error("TurkishKeywordExtractor: context not set");const r=t;for(let t=Math.min(12,e.length-r);t>=2;t--){const i=e.slice(r,r+t);if(e.length>r+t&&on(e[r+t]))continue;let a=!0;for(let e=0;i.length>e;e++)if(!on(i[e])){a=!1;break}if(!a)continue;const n=this.context.lookupKeyword(i);if(n)return{value:i,length:t,metadata:{normalized:n.normalized!==n.native?n.normalized:void 0}};if(this.context.normalizer){const e=this.context.normalizer.normalize(i);if(e.stem!==i&&e.confidence>=.7){const r=this.context.lookupKeyword(e.stem);if(r)return{value:i,length:t,metadata:{normalized:r.normalized,stem:e.stem,stemConfidence:e.confidence}}}}}let i="",a=t;for(;e.length>a&&on(e[a]);)i+=e[a],a++;for(let e=i.length;e>=2&&i.length<=e;e--){const t=i.substring(0,e),r=this.context.lookupKeyword(t);if(r)return{value:t,length:e,metadata:{normalized:r.normalized!==r.native?r.normalized:void 0}}}if(!i)return null;if(!i)return null;if(tn.has(i.toLowerCase()))return{value:i,length:a-r,metadata:{postpositionValue:i.toLowerCase()}};if(rn.has(i.toLowerCase()))return{value:i,length:a-r,metadata:{caseSuffixValue:i.toLowerCase()}};const n=this.context.lookupKeyword(i),o=n&&n.normalized!==n.native?n.normalized:void 0;let s,l,p;if(!n&&this.context.normalizer){const e=this.context.normalizer.normalize(i);if(e.stem!==i&&e.confidence>=.7){const t=this.context.lookupKeyword(e.stem);t&&(s=t.normalized,l=e.stem,p=e.confidence)}}return{value:i,length:a-r,metadata:{normalized:o||s,stem:l,stemConfidence:p}}}}}});function dn(e){const t=e.charCodeAt(0);return t>=65&&90>=t||t>=97&&122>=t||("\u00f1"===e||"\u00d1"===e||"'"===e||"\u2019"===e)}function un(e,t){const r=e.slice(t);for(const i of pn){if(!r.startsWith(i))continue;const a=e[t+i.length];if(void 0===a||!dn(a))return!0}return!1}var yn,vn,fn,hn,gn=b({"src/tokenizers/extractors/quechua-keyword.ts"(){sn=new Set(["-ta","-man","-manta","-pi","-wan","-paq","-kama","-rayku","-hina","ta","man","manta","pi","wan","paq","kama","hina","pa"]),ln=new Set(["kama","hina","rayku","paq"]),pn=new Set([...sn,...ln].map(e=>e.startsWith("-")?e.slice(1):e)),mn=class{constructor(){this.name="quechua-keyword"}setContext(e){this.context=e}canExtract(e,t){return!!dn(e[t])||null!==this.isHyphenatedSuffix(e,t)}isHyphenatedSuffix(e,t){if("-"!==e[t])return null;const r=e.slice(t).match(/^-([a-z\u00f1'\u2019]+)/i);return r&&sn.has("-"+r[1].toLowerCase())?r[1]:null}extract(e,t){if(!this.context)throw Error("QuechuaKeywordExtractor: context not set");const r=t,i=this.isHyphenatedSuffix(e,t);if(null!==i)return{value:i,length:i.length+1,metadata:{suffixValue:i.toLowerCase()}};for(let t=Math.min(13,e.length-r);t>=2;t--){const i=e.slice(r,r+t),a=e[r+t];if(void 0!==a&&dn(a))continue;let n=!0;for(let e=0;i.length>e;e++){const t=i[e];if(("_"!==t||0>=e||e>=i.length-1)&&!dn(t)){n=!1;break}}if(!n)continue;const o=this.context.lookupKeyword(i);if(o)return{value:i,length:t,metadata:{normalized:o.normalized!==o.native?o.normalized:void 0}};if(this.context.normalizer){const e=this.context.normalizer.normalize(i);if(e.stem!==i&&e.confidence>=.7){const r=this.context.lookupKeyword(e.stem);if(r)return{value:i,length:t,metadata:{normalized:r.normalized}}}}}let a="",n=t;for(;e.length>n&&dn(e[n])&&(0>=a.length||!un(e,n));)a+=e[n],n++;if(!a)return null;if(sn.has(a.toLowerCase()))return{value:a,length:n-r,metadata:{suffixValue:a.toLowerCase()}};if(ln.has(a.toLowerCase()))return{value:a,length:n-r,metadata:{postpositionValue:a.toLowerCase()}};const o=this.context.lookupKeyword(a),s=o&&o.normalized!==o.native?o.normalized:void 0;let l;if(!o&&this.context.normalizer){const e=this.context.normalizer.normalize(a);if(e.stem!==a&&e.confidence>=.7){const t=this.context.lookupKeyword(e.stem);t&&(l=t.normalized)}}return{value:a,length:n-r,metadata:{normalized:s||l}}}}}});var kn,zn,wn,bn,xn,Tn=b({"src/tokenizers/extractors/hebrew-keyword.ts"(){ci(),yn=v([[1424,1535],[64285,64335]]),vn=new Set(["\u05e2\u05dc","\u05d0\u05ea","\u05d0\u05dc","\u05de\u05df","\u05e2\u05dd","\u05d1\u05ea\u05d5\u05da","\u05de\u05ea\u05d5\u05da","\u05dc\u05d9\u05d3","\u05d0\u05d7\u05e8\u05d9","\u05dc\u05e4\u05e0\u05d9","\u05d1\u05d9\u05df","\u05e2\u05d3","\u05e9\u05dc"]),fn=new Set(["\u05d5"]),hn=class{constructor(){this.name="hebrew-keyword"}setContext(e){this.context=e}canExtract(e,t){return yn(e[t])}extract(e,t){if(!this.context)throw Error("HebrewKeywordExtractor: context not set");const r=t;this.context.isKeywordStart(e,t);let i="",a=t;for(;e.length>a&&yn(e[a]);)i+=e[a],a++;if(!i)return null;const n=this.context.lookupKeyword(i),o=n&&n.normalized!==n.native?n.normalized:void 0;if(vn.has(i))return{value:i,length:a-r,metadata:{prepositionValue:i,normalized:o}};if(fn.has(i))return{value:i,length:a-r,metadata:{conjunctionValue:i,normalized:o}};let s;if(!n&&this.context.normalizer){const e=this.context.normalizer.normalize(i);if(e.stem!==i&&e.confidence>=.7){const t=this.context.lookupKeyword(e.stem);t&&(s=t.normalized)}}return{value:i,length:a-r,metadata:{normalized:o||s}}}}}});var Sn,jn=b({"src/tokenizers/extractors/hebrew-proclitic.ts"(){ci(),kn=v([[1424,1535],[64285,64335]]),zn=new Map([["\u05d1","on"],["\u05dc","to"],["\u05de","from"],["\u05db","as"],["\u05d4","the"],["\u05d5","and"],["\u05e9","that"]]),wn=new Set(["\u05d1","\u05db"]),bn=new Set(["\u05dc\u05d7\u05d9\u05e6\u05d4","\u05e7\u05dc\u05d9\u05e7","\u05e9\u05dc\u05d9\u05d7\u05d4","\u05d4\u05d2\u05e9\u05d4","\u05e8\u05d9\u05d7\u05d5\u05e3","\u05de\u05e2\u05d1\u05e8","\u05e9\u05d9\u05e0\u05d5\u05d9","\u05e2\u05d3\u05db\u05d5\u05df","\u05e7\u05dc\u05d8","\u05d4\u05d6\u05e0\u05d4","\u05de\u05d9\u05e7\u05d5\u05d3","\u05d8\u05e9\u05d8\u05d5\u05e9","\u05d8\u05e2\u05d9\u05e0\u05d4","\u05d2\u05dc\u05d9\u05dc\u05d4"]),xn=class{constructor(){this.name="hebrew-proclitic"}setContext(e){this.context=e}canExtract(e,t){return zn.has(e[t])&&e.length>t+1&&kn(e[t+1])}extract(e,t){if(!this.context)throw Error("HebrewProcliticExtractor: context not set");const r=e[t],i=zn.get(r);if(!i)return null;let a=t;for(;e.length>a&&kn(e[a]);)a++;const n=e.slice(t,a),o=this.context?.lookupKeyword(n);if(o)return null;if(e.length>t+1&&zn.has(e[t+1])){const r=e.slice(t+1,a),i=this.context?.lookupKeyword(r),n=bn.has(r);if(!i&&!n&&r.length<3)return null}const s=e.slice(t+1,a),l=this.context?.lookupKeyword(s),p=wn.has(r),m=bn.has(s);if(p&&m)return{value:r,length:1,metadata:{normalized:i,procliticType:i,isEventMarker:!0}};if(1===s.length&&zn.has(s))return null;if(!l&&!m&&2>s.length)return null;return{value:r,length:1,metadata:{normalized:i,procliticType:i,isEventMarker:p&&l}}}}}});function En(e){const t=e.charCodeAt(0);return t>=48&&57>=t||t>=65&&90>=t||t>=97&&122>=t||95===t||36===t}var Ln=b({"src/tokenizers/extractors/ascii-identifier.ts"(){Sn=class{constructor(){this.name="ascii-identifier"}setContext(e){this.context=e}canExtract(e,t){return function(e){const t=e.charCodeAt(0);return t>=65&&90>=t||t>=97&&122>=t||95===t||36===t}(e[t])}extract(e,t){if(!this.context)throw Error("AsciiIdentifierExtractor: context not set");const r=t;let i="",a=t;for(;e.length>a&&En(e[a]);)i+=e[a],a++;if(!i)return null;const n=this.context.lookupKeyword(i);return{value:i,length:a-r,metadata:{normalized:n&&n.normalized!==n.native?n.normalized:void 0}}}}}}),Cn=b({"src/tokenizers/extractors/index.ts"(){zi(),wi(),Si(),ji()}});function _n(){return[new ki,new hi,new xi,new ui]}var Pn,Wn=b({"src/tokenizers/extractor-helpers.ts"(){Cn()}});function An(e){return/[a-zA-Z0-9_]/.test(e)}var qn,On,Rn,Mn=b({"src/tokenizers/extractors/english-keyword.ts"(){Pn=class{constructor(){this.name="english-keyword"}setContext(e){this.context=e}canExtract(e,t){return/[a-zA-Z_]/.test(e[t])}extract(e,t){if(!this.context)throw Error("EnglishKeywordExtractor: context not set");let r=t,i="";for(;e.length>r&&An(e[r]);)i+=e[r++];if(!i)return null;if(e.length>r&&":"===e[r]){const t=r;r++;let a="";for(;e.length>r&&An(e[r]);)a+=e[r++];a?i=i+":"+a:r=t}const a=this.context.lookupKeyword(i),n=a&&a.normalized!==a.native?a.normalized:void 0;let o=null;return this.context.isKeyword(i)||(o=this.tryClassSyntaxConversion(e,r,i)),{value:o||i,length:r-t,metadata:{normalized:n,classConversion:!!o||void 0}}}tryClassSyntaxConversion(e,t,r){let i=t;for(;e.length>i&&/\s/.test(e[i]);)i++;if("class"===e.slice(i,i+5).toLowerCase()){const t=i+5;if(t>=e.length||!An(e[t]))return"."+r}return null}}}}),Nn={};x(Nn,{EnglishTokenizer:()=>On,englishTokenizer:()=>Rn});var In,$n,Kn,Vn=b({"src/tokenizers/english.ts"(){ci(),Dt(),yi(),Wn(),Mn(),qn=[{native:"true",normalized:"true"},{native:"false",normalized:"false"},{native:"null",normalized:"null"},{native:"undefined",normalized:"undefined"},{native:"first",normalized:"first"},{native:"last",normalized:"last"},{native:"next",normalized:"next"},{native:"previous",normalized:"previous"},{native:"closest",normalized:"closest"},{native:"click",normalized:"click"},{native:"dblclick",normalized:"dblclick"},{native:"mousedown",normalized:"mousedown"},{native:"mouseup",normalized:"mouseup"},{native:"mouseover",normalized:"mouseover"},{native:"mouseout",normalized:"mouseout"},{native:"mouseenter",normalized:"mouseenter"},{native:"mouseleave",normalized:"mouseleave"},{native:"mousemove",normalized:"mousemove"},{native:"keydown",normalized:"keydown"},{native:"keyup",normalized:"keyup"},{native:"keypress",normalized:"keypress"},{native:"input",normalized:"input"},{native:"change",normalized:"change"},{native:"submit",normalized:"submit"},{native:"reset",normalized:"reset"},{native:"load",normalized:"load"},{native:"unload",normalized:"unload"},{native:"scroll",normalized:"scroll"},{native:"resize",normalized:"resize"},{native:"dragstart",normalized:"dragstart"},{native:"drag",normalized:"drag"},{native:"dragend",normalized:"dragend"},{native:"dragenter",normalized:"dragenter"},{native:"dragleave",normalized:"dragleave"},{native:"dragover",normalized:"dragover"},{native:"drop",normalized:"drop"},{native:"touchstart",normalized:"touchstart"},{native:"touchmove",normalized:"touchmove"},{native:"touchend",normalized:"touchend"},{native:"touchcancel",normalized:"touchcancel"},{native:"in",normalized:"in"},{native:"to",normalized:"to"},{native:"at",normalized:"at"},{native:"by",normalized:"by"},{native:"with",normalized:"with"},{native:"without",normalized:"without"},{native:"of",normalized:"of"},{native:"as",normalized:"as"},{native:"every",normalized:"every"},{native:"upon",normalized:"upon"},{native:"unless",normalized:"unless"},{native:"forever",normalized:"forever"},{native:"times",normalized:"times"},{native:"and",normalized:"and"},{native:"or",normalized:"or"},{native:"not",normalized:"not"},{native:"is",normalized:"is"},{native:"exists",normalized:"exists"},{native:"empty",normalized:"empty"},{native:"my",normalized:"my"},{native:"your",normalized:"your"},{native:"its",normalized:"its"},{native:"the",normalized:"the"},{native:"a",normalized:"a"},{native:"an",normalized:"an"},{native:"delete",normalized:"delete"},{native:"innerHTML",normalized:"innerHTML"},{native:"outerHTML",normalized:"outerHTML"},{native:"beforebegin",normalized:"beforebegin"},{native:"afterend",normalized:"afterend"},{native:"beforeend",normalized:"beforeend"},{native:"afterbegin",normalized:"afterbegin"},{native:"flip",normalized:"toggle"},{native:"switch",normalized:"toggle"},{native:"increase",normalized:"increment"},{native:"decrease",normalized:"decrement"},{native:"display",normalized:"show"},{native:"reveal",normalized:"show"},{native:"conceal",normalized:"hide"},{native:"colour",normalized:"color"},{native:"grey",normalized:"gray"},{native:"centre",normalized:"center"},{native:"behaviour",normalized:"behavior"},{native:"initialise",normalized:"initialize"},{native:"favourite",normalized:"favorite"}],Rn=new(On=class extends p{constructor(){super(),this.language="en",this.direction="ltr",this.initializeKeywordsFromProfile(It,qn),this.registerExtractors(_n()),this.registerExtractor(new i),this.registerExtractor(new a),this.registerExtractors([new Pn]),this.registerExtractor(new ni),this.registerExtractor(new oi)}classifyToken(e){return this.isKeyword(e)?"keyword":e.startsWith("/")||e.startsWith("./")||e.startsWith("../")||e.startsWith("http")?"url":/^\.(once|prevent|stop|debounce|throttle|queue)(\(.*\))?$/.test(e)?"event-modifier":e.startsWith("#")||e.startsWith(".")||e.startsWith("[")||e.startsWith("*")||e.startsWith("<")?"selector":e.startsWith('"')||e.startsWith("'")||/^\d/.test(e)?"literal":["==","!=","<=",">=","<",">","&&","||","!"].includes(e)?"operator":"identifier"}})}}),Dn=b({"src/tokenizers/morphology/types.ts"(){}});function Bn(e){const t=e.charCodeAt(0);return t>=12352&&12447>=t}function Fn(e){const t=e.charCodeAt(0);return t>=12448&&12543>=t}function Hn(e){const t=e.charCodeAt(0);return t>=19968&&40959>=t||t>=13312&&19903>=t}var Un,Gn,Zn,Yn,Xn=b({"src/tokenizers/morphology/japanese-normalizer.ts"(){Dn(),In=[{pattern:"\u3057\u305f\u3089",confidence:.88,conjugationType:"conditional-tara",minStemLength:2},{pattern:"\u3059\u308b\u3068",confidence:.88,conjugationType:"conditional-to",minStemLength:2},{pattern:"\u3059\u308c\u3070",confidence:.85,conjugationType:"conditional-ba",minStemLength:2},{pattern:"\u305f\u3089",confidence:.85,conjugationType:"conditional-tara",minStemLength:2},{pattern:"\u308c\u3070",confidence:.82,conjugationType:"conditional-ba",minStemLength:2},{pattern:"\u3066\u3044\u307e\u3057\u305f",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"\u3066\u3044\u307e\u3059",confidence:.85,conjugationType:"progressive",minStemLength:2},{pattern:"\u3066\u304f\u3060\u3055\u3044",confidence:.85,conjugationType:"request",minStemLength:2},{pattern:"\u3067\u304f\u3060\u3055\u3044",confidence:.85,conjugationType:"request",minStemLength:2},{pattern:"\u3066\u3044\u308b",confidence:.85,conjugationType:"progressive",minStemLength:2},{pattern:"\u3066\u304a\u304f",confidence:.82,conjugationType:"progressive",minStemLength:2},{pattern:"\u3066\u307f\u308b",confidence:.82,conjugationType:"progressive",minStemLength:2},{pattern:"\u3066\u3042\u308b",confidence:.82,conjugationType:"progressive",minStemLength:2},{pattern:"\u3066\u304f\u308c",confidence:.8,conjugationType:"casual-request",minStemLength:2},{pattern:"\u3067\u304f\u308c",confidence:.8,conjugationType:"casual-request",minStemLength:2},{pattern:"\u3061\u3083\u3063\u305f",confidence:.82,conjugationType:"contracted-past",minStemLength:2},{pattern:"\u3058\u3083\u3063\u305f",confidence:.82,conjugationType:"contracted-past",minStemLength:2},{pattern:"\u3061\u3083\u3046",confidence:.82,conjugationType:"contracted",minStemLength:2},{pattern:"\u3058\u3083\u3046",confidence:.82,conjugationType:"contracted",minStemLength:2},{pattern:"\u307e\u3057\u305f",confidence:.85,conjugationType:"past",minStemLength:2},{pattern:"\u307e\u305b\u3093",confidence:.85,conjugationType:"negative",minStemLength:2},{pattern:"\u307e\u3059",confidence:.85,conjugationType:"polite",minStemLength:2},{pattern:"\u3066",confidence:.85,conjugationType:"te-form",minStemLength:2},{pattern:"\u305f",confidence:.85,conjugationType:"past",minStemLength:2},{pattern:"\u306a\u3044",confidence:.82,conjugationType:"negative",minStemLength:2},{pattern:"\u306a\u304b\u3063\u305f",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"\u3089\u308c\u308b",confidence:.8,conjugationType:"potential",minStemLength:2},{pattern:"\u308c\u308b",confidence:.78,conjugationType:"potential",minStemLength:2},{pattern:"\u3089\u308c\u305f",confidence:.8,conjugationType:"passive",minStemLength:2},{pattern:"\u3055\u305b\u308b",confidence:.8,conjugationType:"causative",minStemLength:2},{pattern:"\u305b\u308b",confidence:.78,conjugationType:"causative",minStemLength:2},{pattern:"\u3088\u3046",confidence:.8,conjugationType:"volitional",minStemLength:2},{pattern:"\u308b",confidence:.75,conjugationType:"dictionary",minStemLength:3}],$n=[{pattern:"\u3057\u305f\u3089",confidence:.88,conjugationType:"conditional-tara"},{pattern:"\u3059\u308b\u3068",confidence:.88,conjugationType:"conditional-to"},{pattern:"\u3059\u308c\u3070",confidence:.85,conjugationType:"conditional-ba"},{pattern:"\u3057\u3066\u3044\u307e\u3059",confidence:.85,conjugationType:"progressive"},{pattern:"\u3057\u3066\u3044\u308b",confidence:.85,conjugationType:"progressive"},{pattern:"\u3057\u307e\u3057\u305f",confidence:.85,conjugationType:"past"},{pattern:"\u3057\u307e\u3059",confidence:.85,conjugationType:"polite"},{pattern:"\u3057\u306a\u3044",confidence:.82,conjugationType:"negative"},{pattern:"\u3057\u3066",confidence:.85,conjugationType:"te-form"},{pattern:"\u3057\u305f",confidence:.85,conjugationType:"past"},{pattern:"\u3059\u308b",confidence:.88,conjugationType:"dictionary"}],new(Kn=class{constructor(){this.language="ja"}isNormalizable(e){if(!function(e){for(const t of e)if(Bn(t)||Fn(t)||Hn(t))return!0;return!1}(e))return!1;if(2>e.length)return!1;return Bn(e[e.length-1])}normalize(e){const t=this.normalizeCompound(e);if(t)return t;const r=this.trySuruNormalization(e);if(r)return r;for(const t of In)if(e.endsWith(t.pattern)){const r=e.slice(0,-t.pattern.length);if((t.minStemLength??2)>r.length)continue;const i={removedSuffixes:[t.pattern]};return t.conjugationType&&(i.conjugationType=t.conjugationType),u(r,t.confidence,i)}return y(e)}trySuruNormalization(e){for(const t of $n)if(e.endsWith(t.pattern)){const r=e.slice(0,-t.pattern.length);if(1>r.length)continue;return u(r,t.confidence,{removedSuffixes:[t.pattern],conjugationType:t.conjugationType,originalForm:"suru-verb"})}return null}normalizeCompound(e){const t=[{pattern:"\u3066\u3044\u306a\u304b\u3063\u305f",suffixes:["\u3066","\u3044","\u306a\u304b\u3063\u305f"],confidence:.8,minStemLength:2},{pattern:"\u3067\u3044\u306a\u304b\u3063\u305f",suffixes:["\u3067","\u3044","\u306a\u304b\u3063\u305f"],confidence:.8,minStemLength:2},{pattern:"\u3066\u3044\u306a\u3044",suffixes:["\u3066","\u3044","\u306a\u3044"],confidence:.82,minStemLength:2},{pattern:"\u3067\u3044\u306a\u3044",suffixes:["\u3067","\u3044","\u306a\u3044"],confidence:.82,minStemLength:2},{pattern:"\u3066\u3044\u305f",suffixes:["\u3066","\u3044","\u305f"],confidence:.85,minStemLength:2},{pattern:"\u3067\u3044\u305f",suffixes:["\u3067","\u3044","\u305f"],confidence:.85,minStemLength:2}];for(const{pattern:r,suffixes:i,confidence:a,minStemLength:n}of t)if(e.endsWith(r)){const t=e.slice(0,-r.length);if(n>t.length)continue;return u(t,a,{removedSuffixes:i,conjugationType:"compound"})}return null}})}}),Qn={};x(Qn,{JapaneseTokenizer:()=>Zn,japaneseTokenizer:()=>Yn});var Jn,eo,to,ro=b({"src/tokenizers/japanese.ts"(){ci(),Xn(),mr(),yi(),Wn(),Ai(),qi(),Ln(),Un=new Set(["\u3092","\u306b","\u3067","\u304b\u3089","\u307e\u3067","\u3078","\u3068","\u306e","\u304c","\u306f","\u3082","\u3088\u308a"]),Gn=[{native:"\u771f",normalized:"true"},{native:"\u507d",normalized:"false"},{native:"\u30cc\u30eb",normalized:"null"},{native:"\u672a\u5b9a\u7fa9",normalized:"undefined"},{native:"\u6700\u521d",normalized:"first"},{native:"\u6700\u5f8c",normalized:"last"},{native:"\u6b21",normalized:"next"},{native:"\u524d",normalized:"previous"},{native:"\u6700\u3082\u8fd1\u3044",normalized:"closest"},{native:"\u89aa",normalized:"parent"},{native:"\u306e\u4e2d",normalized:"in"},{native:"\u30af\u30ea\u30c3\u30af",normalized:"click"},{native:"\u5909\u66f4",normalized:"change"},{native:"\u9001\u4fe1",normalized:"submit"},{native:"\u5165\u529b",normalized:"input"},{native:"\u30ed\u30fc\u30c9",normalized:"load"},{native:"\u8aad\u307f\u8fbc\u307f",normalized:"load"},{native:"\u30b9\u30af\u30ed\u30fc\u30eb",normalized:"scroll"},{native:"\u30ad\u30fc\u30c0\u30a6\u30f3",normalized:"keydown"},{native:"\u30ad\u30fc\u30a2\u30c3\u30d7",normalized:"keyup"},{native:"\u30de\u30a6\u30b9\u30aa\u30fc\u30d0\u30fc",normalized:"mouseover"},{native:"\u30de\u30a6\u30b9\u30a2\u30a6\u30c8",normalized:"mouseout"},{native:"\u30de\u30a6\u30b9\u62bc\u4e0b",normalized:"mousedown"},{native:"\u30de\u30a6\u30b9\u89e3\u653e",normalized:"mouseup"},{native:"\u307e\u305f\u306f",normalized:"or"},{native:"\u79c1",normalized:"me"},{native:"\u5bfe\u8c61",normalized:"target"},{native:"\u3057\u305f\u3089",normalized:"on"},{native:"\u3059\u308b\u3068",normalized:"on"},{native:"\u6642\u306b",normalized:"on"},{native:"\u79d2",normalized:"s"},{native:"\u30df\u30ea\u79d2",normalized:"ms"},{native:"\u5206",normalized:"m"},{native:"\u6642\u9593",normalized:"h"},{native:"\u542b\u3080",normalized:"inclusive"},{native:"\u9664\u304f",normalized:"exclusive"},{native:"\u6587\u5b57",normalized:"characters"},{native:"\u30e9\u30f3\u30c0\u30e0",normalized:"random"}],Yn=new(Zn=class extends p{constructor(){super(),this.language="ja",this.direction="ltr",this.initializeKeywordsFromProfile(or,Gn),this.normalizer=new Kn,this.registerExtractors(_n()),this.registerExtractor(new i),this.registerExtractor(new a),this.registerExtractor(new Sn),this.registerExtractor(new _i),this.registerExtractor(new Ti),this.registerExtractor(new ni),this.registerExtractor(new oi)}classifyToken(e){return Un.has(e)?"particle":this.isKeyword(e)?"keyword":e.startsWith("/")||e.startsWith("./")||e.startsWith("../")||e.startsWith("http")?"url":/^\.(once|prevent|stop|debounce|throttle|queue)(\(.*\))?$/.test(e)?"event-modifier":e.startsWith("#")||e.startsWith(".")||e.startsWith("[")||e.startsWith("*")||e.startsWith("<")?"selector":e.startsWith('"')||e.startsWith("'")||e.startsWith("\u300c")||/^\d/.test(e)?"literal":"identifier"}})}});function io(e){const t=e.charCodeAt(0);return t>=44032&&55203>=t}var ao,no,oo,so,lo=b({"src/tokenizers/morphology/korean-normalizer.ts"(){Dn(),Jn=[{pattern:"\ud558\uc2dc\ub2c8\uae4c",confidence:.85,conjugationType:"honorific-causal",minStemLength:1},{pattern:"\ud558\uc2e4\ub54c",confidence:.88,conjugationType:"honorific-temporal",minStemLength:1},{pattern:"\ud558\uc2e4 \ub54c",confidence:.88,conjugationType:"honorific-temporal",minStemLength:1},{pattern:"\ud558\uc2dc\uba74",confidence:.88,conjugationType:"honorific-conditional",minStemLength:1},{pattern:"\uc73c\uc2dc\uba74",confidence:.85,conjugationType:"honorific-conditional",minStemLength:2},{pattern:"\uc2dc\uba74",confidence:.82,conjugationType:"honorific-conditional",minStemLength:2},{pattern:"\ud558\uace0\ub098\uc11c",confidence:.85,conjugationType:"sequential-after",minStemLength:1},{pattern:"\ud558\uace0 \ub098\uc11c",confidence:.85,conjugationType:"sequential-after",minStemLength:1},{pattern:"\ud558\uace0\uc11c",confidence:.85,conjugationType:"sequential-after",minStemLength:1},{pattern:"\uace0\ub098\uc11c",confidence:.82,conjugationType:"sequential-after",minStemLength:2},{pattern:"\uace0 \ub098\uc11c",confidence:.82,conjugationType:"sequential-after",minStemLength:2},{pattern:"\uace0\uc11c",confidence:.82,conjugationType:"sequential-after",minStemLength:2},{pattern:"\ud558\uae30\uc804\uc5d0",confidence:.85,conjugationType:"sequential-before",minStemLength:1},{pattern:"\ud558\uae30 \uc804\uc5d0",confidence:.85,conjugationType:"sequential-before",minStemLength:1},{pattern:"\uae30\uc804\uc5d0",confidence:.82,conjugationType:"sequential-before",minStemLength:2},{pattern:"\uae30 \uc804\uc5d0",confidence:.82,conjugationType:"sequential-before",minStemLength:2},{pattern:"\ud558\uc790\ub9c8\uc790",confidence:.88,conjugationType:"immediate",minStemLength:1},{pattern:"\uc790\ub9c8\uc790",confidence:.85,conjugationType:"immediate",minStemLength:2},{pattern:"\ud574\uc57c\ud574\uc694",confidence:.85,conjugationType:"obligation",minStemLength:1},{pattern:"\ud574\uc57c\ud574",confidence:.85,conjugationType:"obligation",minStemLength:1},{pattern:"\ud574\uc57c\ud558\ub2e4",confidence:.85,conjugationType:"obligation",minStemLength:1},{pattern:"\uc5b4\uc57c\ud574\uc694",confidence:.82,conjugationType:"obligation",minStemLength:2},{pattern:"\uc5b4\uc57c\ud574",confidence:.82,conjugationType:"obligation",minStemLength:2},{pattern:"\uc544\uc57c\ud574\uc694",confidence:.82,conjugationType:"obligation",minStemLength:2},{pattern:"\uc544\uc57c\ud574",confidence:.82,conjugationType:"obligation",minStemLength:2},{pattern:"\ud558\ub2c8\uae4c",confidence:.85,conjugationType:"causal-nikka",minStemLength:1},{pattern:"\ud560\ub54c",confidence:.88,conjugationType:"temporal-ttae",minStemLength:1},{pattern:"\ud560 \ub54c",confidence:.88,conjugationType:"temporal-ttae",minStemLength:1},{pattern:"\uc744\ub54c",confidence:.85,conjugationType:"temporal-ttae",minStemLength:2},{pattern:"\uc744 \ub54c",confidence:.85,conjugationType:"temporal-ttae",minStemLength:2},{pattern:"\ud558\uba74",confidence:.88,conjugationType:"conditional-myeon",minStemLength:1},{pattern:"\uc73c\uba74",confidence:.85,conjugationType:"conditional-myeon",minStemLength:2},{pattern:"\ub2c8\uae4c",confidence:.82,conjugationType:"causal-nikka",minStemLength:2},{pattern:"\uba74",confidence:.8,conjugationType:"conditional-myeon",minStemLength:2},{pattern:"\ud558\uc600\uc2b5\ub2c8\ub2e4",confidence:.85,conjugationType:"past",minStemLength:1},{pattern:"\ud588\uc2b5\ub2c8\ub2e4",confidence:.85,conjugationType:"past",minStemLength:1},{pattern:"\ud569\ub2c8\ub2e4",confidence:.85,conjugationType:"polite",minStemLength:1},{pattern:"\uc2b5\ub2c8\ub2e4",confidence:.82,conjugationType:"polite",minStemLength:2},{pattern:"\ub429\ub2c8\ub2e4",confidence:.82,conjugationType:"polite",minStemLength:1},{pattern:"\u3142\ub2c8\ub2e4",confidence:.82,conjugationType:"polite",minStemLength:2},{pattern:"\ud558\uc138\uc694",confidence:.85,conjugationType:"honorific",minStemLength:1},{pattern:"\ud558\uc2ed\uc2dc\uc624",confidence:.85,conjugationType:"honorific",minStemLength:1},{pattern:"\uc138\uc694",confidence:.82,conjugationType:"honorific",minStemLength:2},{pattern:"\uc2ed\uc2dc\uc624",confidence:.82,conjugationType:"honorific",minStemLength:2},{pattern:"\ud558\uace0\uc788\uc5b4\uc694",confidence:.82,conjugationType:"progressive",minStemLength:1},{pattern:"\ud558\uace0\uc788\uc5b4",confidence:.82,conjugationType:"progressive",minStemLength:1},{pattern:"\ud588\uc5b4\uc694",confidence:.85,conjugationType:"past",minStemLength:1},{pattern:"\ud574\uc694",confidence:.85,conjugationType:"polite",minStemLength:1},{pattern:"\uc5b4\uc694",confidence:.82,conjugationType:"polite",minStemLength:2},{pattern:"\uc544\uc694",confidence:.82,conjugationType:"polite",minStemLength:2},{pattern:"\ud588\uc5b4",confidence:.85,conjugationType:"past",minStemLength:1},{pattern:"\ud574",confidence:.8,conjugationType:"present",minStemLength:1},{pattern:"\uc5c8\uc5b4",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"\uc558\uc5b4",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"\ud558\uace0\uc788\ub2e4",confidence:.82,conjugationType:"progressive",minStemLength:1},{pattern:"\uace0\uc788\ub2e4",confidence:.8,conjugationType:"progressive",minStemLength:2},{pattern:"\uace0\uc788\uc5b4",confidence:.8,conjugationType:"progressive",minStemLength:2},{pattern:"\ud558\ub2e4",confidence:.88,conjugationType:"dictionary",minStemLength:1},{pattern:"\ud558\uc9c0\uc54a\ub2e4",confidence:.82,conjugationType:"negative",minStemLength:1},{pattern:"\uc548\ud558\ub2e4",confidence:.82,conjugationType:"negative",minStemLength:1},{pattern:"\uc9c0\uc54a\ub2e4",confidence:.8,conjugationType:"negative",minStemLength:2},{pattern:"\ud574\ub77c",confidence:.82,conjugationType:"imperative",minStemLength:1},{pattern:"\ud558\ub77c",confidence:.82,conjugationType:"imperative",minStemLength:1},{pattern:"\ub2e4",confidence:.75,conjugationType:"dictionary",minStemLength:2}],eo=[{pattern:"\ud558\uc2dc\ub2c8\uae4c",confidence:.88,conjugationType:"honorific-causal"},{pattern:"\ud558\uc2e4\ub54c",confidence:.88,conjugationType:"honorific-temporal"},{pattern:"\ud558\uc2e4 \ub54c",confidence:.88,conjugationType:"honorific-temporal"},{pattern:"\ud558\uc2dc\uba74",confidence:.88,conjugationType:"honorific-conditional"},{pattern:"\ud558\uc168\uc5b4\uc694",confidence:.85,conjugationType:"honorific-past"},{pattern:"\ud558\uc168\uc5b4",confidence:.85,conjugationType:"honorific-past"},{pattern:"\ud558\uc2ed\ub2c8\ub2e4",confidence:.85,conjugationType:"honorific-polite"},{pattern:"\ud558\uace0\ub098\uc11c",confidence:.88,conjugationType:"sequential-after"},{pattern:"\ud558\uace0 \ub098\uc11c",confidence:.88,conjugationType:"sequential-after"},{pattern:"\ud558\uace0\uc11c",confidence:.88,conjugationType:"sequential-after"},{pattern:"\ud558\uae30\uc804\uc5d0",confidence:.88,conjugationType:"sequential-before"},{pattern:"\ud558\uae30 \uc804\uc5d0",confidence:.88,conjugationType:"sequential-before"},{pattern:"\ud558\uc790\ub9c8\uc790",confidence:.88,conjugationType:"immediate"},{pattern:"\ud574\uc57c\ud574\uc694",confidence:.88,conjugationType:"obligation"},{pattern:"\ud574\uc57c\ud574",confidence:.88,conjugationType:"obligation"},{pattern:"\ud574\uc57c\ud558\ub2e4",confidence:.88,conjugationType:"obligation"},{pattern:"\ud558\ub2c8\uae4c",confidence:.88,conjugationType:"causal-nikka"},{pattern:"\ud560\ub54c",confidence:.88,conjugationType:"temporal-ttae"},{pattern:"\ud560 \ub54c",confidence:.88,conjugationType:"temporal-ttae"},{pattern:"\ud558\uba74",confidence:.88,conjugationType:"conditional-myeon"},{pattern:"\ud558\uc600\uc2b5\ub2c8\ub2e4",confidence:.85,conjugationType:"past"},{pattern:"\ud588\uc2b5\ub2c8\ub2e4",confidence:.85,conjugationType:"past"},{pattern:"\ud569\ub2c8\ub2e4",confidence:.85,conjugationType:"polite"},{pattern:"\ud558\uc2ed\uc2dc\uc624",confidence:.85,conjugationType:"honorific"},{pattern:"\ud558\uc138\uc694",confidence:.85,conjugationType:"honorific"},{pattern:"\ud588\uc5b4\uc694",confidence:.85,conjugationType:"past"},{pattern:"\ud574\uc694",confidence:.85,conjugationType:"polite"},{pattern:"\ud588\uc5b4",confidence:.85,conjugationType:"past"},{pattern:"\ud574",confidence:.8,conjugationType:"present"},{pattern:"\ud558\uace0\uc788\uc5b4\uc694",confidence:.82,conjugationType:"progressive"},{pattern:"\ud558\uace0\uc788\uc5b4",confidence:.82,conjugationType:"progressive"},{pattern:"\ud558\uace0\uc788\ub2e4",confidence:.82,conjugationType:"progressive"},{pattern:"\ud574\uc11c",confidence:.82,conjugationType:"connective"},{pattern:"\ud558\uace0",confidence:.8,conjugationType:"connective"},{pattern:"\ud558\uc9c0\uc54a\uc544\uc694",confidence:.82,conjugationType:"negative"},{pattern:"\ud558\uc9c0\uc54a\ub2e4",confidence:.82,conjugationType:"negative"},{pattern:"\uc548\ud574\uc694",confidence:.82,conjugationType:"negative"},{pattern:"\uc548\ud574",confidence:.82,conjugationType:"negative"},{pattern:"\ud574\ub77c",confidence:.82,conjugationType:"imperative"},{pattern:"\ud558\ub77c",confidence:.82,conjugationType:"imperative"},{pattern:"\ud558\ub2e4",confidence:.88,conjugationType:"dictionary"}],new(to=class{constructor(){this.language="ko"}isNormalizable(e){return!!function(e){for(const t of e)if(io(t))return!0;return!1}(e)&&2<=e.length}normalize(e){const t=this.normalizeCompound(e);if(t)return t;const r=this.tryHadaNormalization(e);if(r)return r;for(const t of Jn)if(e.endsWith(t.pattern)){const r=e.slice(0,-t.pattern.length);if((t.minStemLength??2)>r.length)continue;const i={removedSuffixes:[t.pattern]};return t.conjugationType&&(i.conjugationType=t.conjugationType),u(r,t.confidence,i)}return y(e)}tryHadaNormalization(e){for(const t of eo)if(e.endsWith(t.pattern)){const r=e.slice(0,-t.pattern.length);if(1>r.length)continue;return u(r,t.confidence,{removedSuffixes:[t.pattern],conjugationType:t.conjugationType,originalForm:"hada-verb"})}return null}normalizeCompound(e){const t=[{pattern:"\ud558\uace0\ub098\uc11c\uc600\uc5b4",suffixes:["\ud558\uace0\ub098\uc11c","\uc600\uc5b4"],confidence:.78,conjugationType:"sequential-after",minStemLength:2},{pattern:"\ud558\uace0\ub098\uc11c\uc600\ub2e4",suffixes:["\ud558\uace0\ub098\uc11c","\uc600\ub2e4"],confidence:.78,conjugationType:"sequential-after",minStemLength:2},{pattern:"\ud558\uace0\ub098\uc11c",suffixes:["\ud558\uace0","\ub098\uc11c"],confidence:.85,conjugationType:"sequential-after",minStemLength:2},{pattern:"\ud574\uc57c\ud588\uc5b4",suffixes:["\ud574\uc57c","\ud588\uc5b4"],confidence:.8,conjugationType:"obligation",minStemLength:2},{pattern:"\ud574\uc57c\ud588\ub2e4",suffixes:["\ud574\uc57c","\ud588\ub2e4"],confidence:.8,conjugationType:"obligation",minStemLength:2},{pattern:"\ud574\uc57c\ud588\uc2b5\ub2c8\ub2e4",suffixes:["\ud574\uc57c","\ud588\uc2b5\ub2c8\ub2e4"],confidence:.8,conjugationType:"obligation",minStemLength:2},{pattern:"\ud558\uc2dc\uba74\uc11c",suffixes:["\ud558\uc2dc","\uba74\uc11c"],confidence:.82,conjugationType:"connective",minStemLength:2},{pattern:"\ud558\uc2dc\uba70",suffixes:["\ud558\uc2dc","\uba70"],confidence:.82,conjugationType:"connective",minStemLength:2},{pattern:"\ud558\uace0\uc788\uc5c8\uc5b4",suffixes:["\ud558\uace0","\uc788\uc5c8\uc5b4"],confidence:.8,conjugationType:"progressive",minStemLength:2},{pattern:"\ud558\uace0\uc788\uc5c8\ub2e4",suffixes:["\ud558\uace0","\uc788\uc5c8\ub2e4"],confidence:.8,conjugationType:"progressive",minStemLength:2}];for(const{pattern:r,suffixes:i,confidence:a,conjugationType:n,minStemLength:o}of t)if(e.endsWith(r)){const t=e.slice(0,-r.length);if(o>t.length)continue;return u(t,a,{removedSuffixes:i,conjugationType:n})}return null}})}}),po={};x(po,{KoreanTokenizer:()=>oo,koreanTokenizer:()=>so});var mo,co,uo,yo,vo,fo=b({"src/tokenizers/korean.ts"(){ci(),lo(),ur(),yi(),Wn(),Ii(),Vi(),Ln(),ao=new Set(["\uc774","\uac00","\uc744","\ub97c","\uc740","\ub294","\uc5d0","\uc5d0\uc11c","\ub85c","\uc73c\ub85c","\uc640","\uacfc","\uc758","\ub3c4","\ub9cc","\ubd80\ud130","\uae4c\uc9c0","\ucc98\ub7fc","\ubcf4\ub2e4"]),no=[{native:"\ucc38",normalized:"true"},{native:"\uac70\uc9d3",normalized:"false"},{native:"\ub110",normalized:"null"},{native:"\ubbf8\uc815\uc758",normalized:"undefined"},{native:"\uc815\uc758\uc548\ub428",normalized:"undefined"},{native:"\uccab\ubc88\uc9f8",normalized:"first"},{native:"\ub9c8\uc9c0\ub9c9",normalized:"last"},{native:"\ub2e4\uc74c",normalized:"next"},{native:"\uc774\uc804",normalized:"previous"},{native:"\uac00\uc7a5\uac00\uae4c\uc6b4",normalized:"closest"},{native:"\ubd80\ubaa8",normalized:"parent"},{native:"\uc548\uc5d0",normalized:"in"},{native:"\ud074\ub9ad",normalized:"click"},{native:"\ub354\ube14\ud074\ub9ad",normalized:"dblclick"},{native:"\ubcc0\uacbd",normalized:"change"},{native:"\uc81c\ucd9c",normalized:"submit"},{native:"\uc785\ub825",normalized:"input"},{native:"\ub85c\ub4dc",normalized:"load"},{native:"\uc2a4\ud06c\ub864",normalized:"scroll"},{native:"\ud0a4\ub2e4\uc6b4",normalized:"keydown"},{native:"\ud0a4\uc5c5",normalized:"keyup"},{native:"\ub9c8\uc6b0\uc2a4\uc624\ubc84",normalized:"mouseover"},{native:"\ub9c8\uc6b0\uc2a4\uc544\uc6c3",normalized:"mouseout"},{native:"\ub9c8\uc6b0\uc2a4\ub2e4\uc6b4",normalized:"mousedown"},{native:"\ub9c8\uc6b0\uc2a4\uc5c5",normalized:"mouseup"},{native:"\ub0b4",normalized:"my"},{native:"\uadf8\uac83\uc758",normalized:"its"},{native:"\uadf8\ub2e4\uc74c",normalized:"then"},{native:"\uadf8\ub7f0\ud6c4",normalized:"then"},{native:"\uadf8\ub7ec\uba74",normalized:"then"},{native:"\uadf8\ub9ac\uace0",normalized:"and"},{native:"\ub610\ub294",normalized:"or"},{native:"\uc544\ub2c8",normalized:"not"},{native:"\uc774\ub2e4",normalized:"is"},{native:"\ucd08",normalized:"s"},{native:"\ubc00\ub9ac\ucd08",normalized:"ms"},{native:"\ubd84",normalized:"m"},{native:"\uc2dc\uac04",normalized:"h"},{native:"\ud3ec\ud568",normalized:"inclusive"},{native:"\uc81c\uc678",normalized:"exclusive"},{native:"\ubb38\uc790",normalized:"characters"},{native:"\ubb34\uc791\uc704",normalized:"random"}],so=new(oo=class extends p{constructor(){super(),this.language="ko",this.direction="ltr",this.initializeKeywordsFromProfile(pr,no),this.normalizer=new to,this.registerExtractors(_n()),this.registerExtractor(new i),this.registerExtractor(new a),this.registerExtractor(new Sn),this.registerExtractor(new Ni),this.registerExtractor(new Wi),this.registerExtractor(new ni),this.registerExtractor(new oi)}classifyToken(e){return ao.has(e)?"particle":this.isKeyword(e)?"keyword":e.startsWith("/")||e.startsWith("./")||e.startsWith("../")||e.startsWith("http")?"url":/^\.(once|prevent|stop|debounce|throttle|queue)(\(.*\))?$/.test(e)?"event-modifier":e.startsWith("#")||e.startsWith(".")||e.startsWith("[")||e.startsWith("*")||e.startsWith("<")?"selector":e.startsWith('"')||e.startsWith("'")||/^\d/.test(e)?"literal":"identifier"}})}});function ho(e){const t=e.charCodeAt(0);return t>=1536&&1791>=t||t>=1872&&1919>=t||t>=2208&&2303>=t||t>=64336&&65023>=t||t>=65136&&65279>=t}var go,ko,zo,wo,bo,xo=b({"src/tokenizers/morphology/arabic-normalizer.ts"(){Dn(),mo=[{pattern:"\u0648\u0627\u0644",confidencePenalty:.15,prefixType:"conjunction"},{pattern:"\u0641\u0627\u0644",confidencePenalty:.15,prefixType:"conjunction"},{pattern:"\u0628\u0627\u0644",confidencePenalty:.15,prefixType:"preposition"},{pattern:"\u0643\u0627\u0644",confidencePenalty:.15,prefixType:"preposition"},{pattern:"\u0644\u0644",confidencePenalty:.12,prefixType:"preposition"}],co=[{pattern:"\u0627\u0644",confidencePenalty:.08,prefixType:"article",minRemaining:2},{pattern:"\u0648",confidencePenalty:.08,prefixType:"conjunction",minRemaining:3},{pattern:"\u0641",confidencePenalty:.08,prefixType:"conjunction",minRemaining:3},{pattern:"\u0628",confidencePenalty:.1,prefixType:"preposition",minRemaining:3},{pattern:"\u0644",confidencePenalty:.1,prefixType:"preposition",minRemaining:3},{pattern:"\u0643",confidencePenalty:.1,prefixType:"preposition",minRemaining:3}],uo=[{pattern:"\u064a",confidencePenalty:.12,prefixType:"verb-marker",minRemaining:3},{pattern:"\u062a",confidencePenalty:.12,prefixType:"verb-marker",minRemaining:3},{pattern:"\u0646",confidencePenalty:.12,prefixType:"verb-marker",minRemaining:3},{pattern:"\u0623",confidencePenalty:.12,prefixType:"verb-marker",minRemaining:3},{pattern:"\u0627",confidencePenalty:.12,prefixType:"verb-marker",minRemaining:3}],yo=[{pattern:"\u0648\u0646",confidencePenalty:.1,type:"masculine-plural"},{pattern:"\u064a\u0646",confidencePenalty:.1,type:"masculine-plural-accusative"},{pattern:"\u0627\u062a",confidencePenalty:.1,type:"feminine-plural"},{pattern:"\u0627\u0646",confidencePenalty:.1,type:"dual-nominative"},{pattern:"\u064a\u0646",confidencePenalty:.1,type:"dual-accusative"},{pattern:"\u0647\u0627",confidencePenalty:.1,type:"pronoun-her"},{pattern:"\u0647\u0645",confidencePenalty:.1,type:"pronoun-them"},{pattern:"\u0647\u0646",confidencePenalty:.1,type:"pronoun-them-f"},{pattern:"\u0646\u0627",confidencePenalty:.1,type:"pronoun-us"},{pattern:"\u0643\u0645",confidencePenalty:.1,type:"pronoun-you-pl"},{pattern:"\u0643",confidencePenalty:.08,type:"pronoun-you"},{pattern:"\u0647",confidencePenalty:.08,type:"pronoun-him"},{pattern:"\u064a",confidencePenalty:.08,type:"pronoun-me"},{pattern:"\u0629",confidencePenalty:.08,type:"feminine"}],new(vo=class{constructor(){this.language="ar"}isNormalizable(e){return!!function(e){for(const t of e)if(ho(t))return!0;return!1}(e)&&2<=e.length}normalize(e){let t=function(e){return e.replace(/[\u064B-\u0652\u0670]/g,"")}(e),r=1;const i=[],a=[];for(const e of mo)if(t.startsWith(e.pattern)){const a=t.slice(e.pattern.length);if(a.length>=2){t=a,r-=e.confidencePenalty,i.push(e.pattern);break}}if(0===i.length)for(const e of co)if(t.startsWith(e.pattern)){const a=t.slice(e.pattern.length);if(a.length>=(e.minRemaining??2)){t=a,r-=e.confidencePenalty,i.push(e.pattern);break}}if(!(t.endsWith("\u0627\u062a")||t.endsWith("\u0629")||t.endsWith("\u0648\u0646")||t.endsWith("\u064a\u0646")||t.endsWith("\u0647\u0627")||t.endsWith("\u0647\u0645")||t.endsWith("\u0647\u0646")||t.endsWith("\u0646\u0627")||t.endsWith("\u0643\u0645"))&&(0===i.length||"\u0648"===i[0]||"\u0641"===i[0]))for(const e of uo)if(t.startsWith(e.pattern)){const a=t.slice(e.pattern.length);if(a.length>=(e.minRemaining??3)){t=a,r-=e.confidencePenalty,i.push(e.pattern);break}}for(const e of yo)if(t.endsWith(e.pattern)){const i=t.slice(0,-e.pattern.length);2>i.length||(t=i,r-=e.confidencePenalty,a.push(e.pattern))}return r=Math.max(.5,r),0===i.length&&0===a.length?y(e):u(t,r,{removedPrefixes:i,removedSuffixes:a})}})}}),To={};x(To,{ArabicTokenizer:()=>wo,arabicTokenizer:()=>bo});var So,jo,Eo,Lo,Co,_o=b({"src/tokenizers/arabic.ts"(){ci(),xo(),qt(),yi(),Wn(),ua(),Ln(),ya(),va(),go=new Set(["\u0648\u0644","\u0648\u0628","\u0648\u0643","\u0641\u0644","\u0641\u0628","\u0641\u0643"]),ko=new Set(["\u0641\u064a","\u0639\u0644\u0649","\u0645\u0646","\u0625\u0644\u0649","\u0627\u0644\u0649","\u0645\u0639","\u0639\u0646","\u0642\u0628\u0644","\u0628\u0639\u062f","\u0628\u064a\u0646","\u0628","\u0644","\u0643"]),zo=[{native:"\u0647\u062f\u0641",normalized:"target"},{native:"\u0646\u062a\u064a\u062c\u0629",normalized:"result"},{native:"\u0635\u062d\u064a\u062d",normalized:"true"},{native:"\u062e\u0637\u0623",normalized:"false"},{native:"null",normalized:"null"},{native:"\u0641\u0627\u0631\u063a",normalized:"null"},{native:"\u063a\u064a\u0631 \u0645\u0639\u0631\u0641",normalized:"undefined"},{native:"\u0627\u0644\u0623\u0648\u0644",normalized:"first"},{native:"\u0623\u0648\u0644",normalized:"first"},{native:"\u0627\u0644\u0623\u062e\u064a\u0631",normalized:"last"},{native:"\u0622\u062e\u0631",normalized:"last"},{native:"\u0627\u0644\u062a\u0627\u0644\u064a",normalized:"next"},{native:"\u0627\u0644\u0633\u0627\u0628\u0642",normalized:"previous"},{native:"\u0627\u0644\u0623\u0642\u0631\u0628",normalized:"closest"},{native:"\u0627\u0644\u0623\u0628",normalized:"parent"},{native:"\u0627\u0644\u0646\u0642\u0631",normalized:"click"},{native:"\u0646\u0642\u0631",normalized:"click"},{native:"\u0627\u0644\u0625\u062f\u062e\u0627\u0644",normalized:"input"},{native:"\u0625\u062f\u062e\u0627\u0644",normalized:"input"},{native:"\u0627\u0644\u062a\u063a\u064a\u064a\u0631",normalized:"change"},{native:"\u062a\u063a\u064a\u064a\u0631",normalized:"change"},{native:"\u0627\u0644\u0625\u0631\u0633\u0627\u0644",normalized:"submit"},{native:"\u0625\u0631\u0633\u0627\u0644",normalized:"submit"},{native:"\u0627\u0644\u062a\u0631\u0643\u064a\u0632",normalized:"focus"},{native:"\u0641\u0642\u062f\u0627\u0646 \u0627\u0644\u062a\u0631\u0643\u064a\u0632",normalized:"blur"},{native:"\u0636\u063a\u0637",normalized:"keydown"},{native:"\u0631\u0641\u0639",normalized:"keyup"},{native:"\u062a\u0645\u0631\u064a\u0631 \u0627\u0644\u0641\u0623\u0631\u0629",normalized:"mouseover"},{native:"\u0645\u063a\u0627\u062f\u0631\u0629 \u0627\u0644\u0641\u0623\u0631\u0629",normalized:"mouseout"},{native:"\u062a\u062d\u0645\u064a\u0644",normalized:"load"},{native:"\u062a\u0645\u0631\u064a\u0631",normalized:"scroll"},{native:"\u0641\u0623\u0631\u0629 \u0623\u0633\u0641\u0644",normalized:"mousedown"},{native:"\u0641\u0623\u0631\u0629 \u0623\u0639\u0644\u0649",normalized:"mouseup"},{native:"\u0641\u0623\u0631\u0629 \u062f\u062e\u0648\u0644",normalized:"mouseenter"},{native:"\u0641\u0623\u0631\u0629 \u062e\u0631\u0648\u062c",normalized:"mouseleave"},{native:"\u0641\u0623\u0631\u0629 \u0641\u0648\u0642",normalized:"mouseover"},{native:"\u0641\u0623\u0631\u0629 \u062e\u0627\u0631\u062c",normalized:"mouseout"},{native:"\u0641\u0623\u0631\u0629 \u062a\u062d\u0631\u0643",normalized:"mousemove"},{native:"\u0645\u0641\u062a\u0627\u062d \u0623\u0633\u0641\u0644",normalized:"keydown"},{native:"\u0645\u0641\u062a\u0627\u062d \u0623\u0639\u0644\u0649",normalized:"keyup"},{native:"\u0647\u064a",normalized:"it"},{native:"\u062b\u0627\u0646\u064a\u0629",normalized:"s"},{native:"\u062b\u0648\u0627\u0646\u064a",normalized:"s"},{native:"\u0645\u0644\u064a \u062b\u0627\u0646\u064a\u0629",normalized:"ms"},{native:"\u062f\u0642\u064a\u0642\u0629",normalized:"m"},{native:"\u062f\u0642\u0627\u0626\u0642",normalized:"m"},{native:"\u0633\u0627\u0639\u0629",normalized:"h"},{native:"\u0633\u0627\u0639\u0627\u062a",normalized:"h"},{native:"\u0639\u0646\u062f\u0645\u0627",normalized:"on"},{native:"\u062d\u064a\u0646\u0645\u0627",normalized:"on"},{native:"\u0639\u0646\u062f",normalized:"on"},{native:"\u062d\u064a\u0646",normalized:"on"},{native:"\u0644\u0645\u0651\u0627",normalized:"on"},{native:"\u0644\u0645\u0627",normalized:"on"},{native:"\u0644\u062f\u0649",normalized:"on"},{native:"\u0634\u0627\u0645\u0644",normalized:"inclusive"},{native:"\u062d\u0635\u0631\u064a",normalized:"exclusive"},{native:"\u062d\u0631\u0648\u0641",normalized:"characters"},{native:"\u0639\u0634\u0648\u0627\u0626\u064a",normalized:"random"}],bo=new(wo=class extends p{constructor(){super(),this.language="ar",this.direction="rtl",this.initializeKeywordsFromProfile(_t,zo),this.normalizer=new vo,this.registerExtractors(_n()),this.registerExtractor(new i),this.registerExtractor(new a),this.registerExtractor(new Sn),this.registerExtractor(new la),this.registerExtractor(new na),this.registerExtractor(new ta),this.registerExtractor(new ni),this.registerExtractor(new oi)}tokenizeWithExtractors(e){const r=[];let i=0;for(;e.length>i;){for(;e.length>i&&m(e[i]);)i++;if(i>=e.length)break;const t=this.tryMultiWordKeyword(e,i);if(t){r.push(t),i=t.position.end;continue}let a=!1;for(const t of this.extractors)if(t.canExtract(e,i)){const n=t.extract(e,i);if(n){const e=n.metadata?.normalized,t=n.metadata?.stem,o=n.metadata?.stemConfidence,s={};if(n.metadata)for(const[e,t]of Object.entries(n.metadata))"normalized"!==e&&"stem"!==e&&"stemConfidence"!==e&&(s[e]=t);let l;l="conjunction"===s.procliticType?"conjunction":"preposition"===s.procliticType?"particle":this.classifyToken(n.value);const p={};e&&(p.normalized=e),t&&(p.stem=t),void 0!==o&&(p.stemConfidence=o),Object.keys(s).length>0&&(p.metadata=s),r.push(c(n.value,l,d(i,i+n.length),Object.keys(p).length>0?p:void 0)),i+=n.length,a=!0;break}}if(!a){const t=e[i],a=this.classifyUnknownChar(t);r.push(c(t,a,d(i,i+1))),i++}}return new t(this.mergeColonQualifiedNames(r),this.language)}classifyToken(e){return go.has(e)?"conjunction":ko.has(e)?"particle":this.isKeyword(e)?"keyword":e.startsWith("/")||e.startsWith("./")||e.startsWith("../")||e.startsWith("http")?"url":/^\.(once|prevent|stop|debounce|throttle|queue)(\(.*\))?$/.test(e)?"event-modifier":e.startsWith("#")||e.startsWith(".")||e.startsWith("[")||e.startsWith("*")||e.startsWith("<")?"selector":e.startsWith('"')||e.startsWith("'")||/^\d/.test(e)?"literal":"identifier"}})}});function Po(e){return/[\u00e1\u00e9\u00ed\u00f3\u00fa\u00fc\u00f1\u00c1\u00c9\u00cd\u00d3\u00da\u00dc\u00d1]/.test(e)}var Wo,Ao,qo,Oo,Ro=b({"src/tokenizers/morphology/spanish-normalizer.ts"(){Dn(),So=[{ending:"ando",stem:"ar",confidence:.88,type:"gerund"},{ending:"ado",stem:"ar",confidence:.88,type:"participle"},{ending:"ada",stem:"ar",confidence:.88,type:"participle"},{ending:"ados",stem:"ar",confidence:.88,type:"participle"},{ending:"adas",stem:"ar",confidence:.88,type:"participle"},{ending:"o",stem:"ar",confidence:.75,type:"present"},{ending:"as",stem:"ar",confidence:.82,type:"present"},{ending:"a",stem:"ar",confidence:.75,type:"present"},{ending:"amos",stem:"ar",confidence:.85,type:"present"},{ending:"\u00e1is",stem:"ar",confidence:.85,type:"present"},{ending:"ais",stem:"ar",confidence:.82,type:"present"},{ending:"an",stem:"ar",confidence:.8,type:"present"},{ending:"\u00e9",stem:"ar",confidence:.85,type:"past"},{ending:"aste",stem:"ar",confidence:.88,type:"past"},{ending:"\u00f3",stem:"ar",confidence:.82,type:"past"},{ending:"amos",stem:"ar",confidence:.85,type:"past"},{ending:"asteis",stem:"ar",confidence:.88,type:"past"},{ending:"aron",stem:"ar",confidence:.88,type:"past"},{ending:"aba",stem:"ar",confidence:.88,type:"past"},{ending:"abas",stem:"ar",confidence:.88,type:"past"},{ending:"\u00e1bamos",stem:"ar",confidence:.88,type:"past"},{ending:"abamos",stem:"ar",confidence:.85,type:"past"},{ending:"abais",stem:"ar",confidence:.88,type:"past"},{ending:"aban",stem:"ar",confidence:.88,type:"past"},{ending:"e",stem:"ar",confidence:.72,type:"subjunctive"},{ending:"es",stem:"ar",confidence:.78,type:"subjunctive"},{ending:"emos",stem:"ar",confidence:.82,type:"subjunctive"},{ending:"\u00e9is",stem:"ar",confidence:.85,type:"subjunctive"},{ending:"eis",stem:"ar",confidence:.82,type:"subjunctive"},{ending:"en",stem:"ar",confidence:.78,type:"subjunctive"},{ending:"a",stem:"ar",confidence:.75,type:"imperative"},{ending:"ad",stem:"ar",confidence:.85,type:"imperative"},{ending:"ar",stem:"ar",confidence:.92,type:"dictionary"}],jo=[{ending:"iendo",stem:"er",confidence:.88,type:"gerund"},{ending:"ido",stem:"er",confidence:.85,type:"participle"},{ending:"ida",stem:"er",confidence:.85,type:"participle"},{ending:"idos",stem:"er",confidence:.85,type:"participle"},{ending:"idas",stem:"er",confidence:.85,type:"participle"},{ending:"o",stem:"er",confidence:.72,type:"present"},{ending:"es",stem:"er",confidence:.78,type:"present"},{ending:"e",stem:"er",confidence:.72,type:"present"},{ending:"emos",stem:"er",confidence:.85,type:"present"},{ending:"\u00e9is",stem:"er",confidence:.85,type:"present"},{ending:"eis",stem:"er",confidence:.82,type:"present"},{ending:"en",stem:"er",confidence:.78,type:"present"},{ending:"\u00ed",stem:"er",confidence:.85,type:"past"},{ending:"iste",stem:"er",confidence:.88,type:"past"},{ending:"i\u00f3",stem:"er",confidence:.85,type:"past"},{ending:"io",stem:"er",confidence:.82,type:"past"},{ending:"imos",stem:"er",confidence:.85,type:"past"},{ending:"isteis",stem:"er",confidence:.88,type:"past"},{ending:"ieron",stem:"er",confidence:.88,type:"past"},{ending:"\u00eda",stem:"er",confidence:.88,type:"past"},{ending:"ia",stem:"er",confidence:.85,type:"past"},{ending:"\u00edas",stem:"er",confidence:.88,type:"past"},{ending:"ias",stem:"er",confidence:.85,type:"past"},{ending:"\u00edamos",stem:"er",confidence:.88,type:"past"},{ending:"iamos",stem:"er",confidence:.85,type:"past"},{ending:"\u00edais",stem:"er",confidence:.88,type:"past"},{ending:"iais",stem:"er",confidence:.85,type:"past"},{ending:"\u00edan",stem:"er",confidence:.88,type:"past"},{ending:"ian",stem:"er",confidence:.85,type:"past"},{ending:"er",stem:"er",confidence:.92,type:"dictionary"}],Eo=[{ending:"iendo",stem:"ir",confidence:.88,type:"gerund"},{ending:"ido",stem:"ir",confidence:.85,type:"participle"},{ending:"ida",stem:"ir",confidence:.85,type:"participle"},{ending:"idos",stem:"ir",confidence:.85,type:"participle"},{ending:"idas",stem:"ir",confidence:.85,type:"participle"},{ending:"o",stem:"ir",confidence:.72,type:"present"},{ending:"es",stem:"ir",confidence:.78,type:"present"},{ending:"e",stem:"ir",confidence:.72,type:"present"},{ending:"imos",stem:"ir",confidence:.85,type:"present"},{ending:"\u00eds",stem:"ir",confidence:.85,type:"present"},{ending:"is",stem:"ir",confidence:.82,type:"present"},{ending:"en",stem:"ir",confidence:.78,type:"present"},{ending:"\u00ed",stem:"ir",confidence:.85,type:"past"},{ending:"iste",stem:"ir",confidence:.88,type:"past"},{ending:"i\u00f3",stem:"ir",confidence:.85,type:"past"},{ending:"io",stem:"ir",confidence:.82,type:"past"},{ending:"imos",stem:"ir",confidence:.85,type:"past"},{ending:"isteis",stem:"ir",confidence:.88,type:"past"},{ending:"ieron",stem:"ir",confidence:.88,type:"past"},{ending:"\u00eda",stem:"ir",confidence:.88,type:"past"},{ending:"ia",stem:"ir",confidence:.85,type:"past"},{ending:"\u00edas",stem:"ir",confidence:.88,type:"past"},{ending:"ias",stem:"ir",confidence:.85,type:"past"},{ending:"\u00edamos",stem:"ir",confidence:.88,type:"past"},{ending:"iamos",stem:"ir",confidence:.85,type:"past"},{ending:"\u00edais",stem:"ir",confidence:.88,type:"past"},{ending:"iais",stem:"ir",confidence:.85,type:"past"},{ending:"\u00edan",stem:"ir",confidence:.88,type:"past"},{ending:"ian",stem:"ir",confidence:.85,type:"past"},{ending:"ir",stem:"ir",confidence:.92,type:"dictionary"}],Lo=[...So,...jo,...Eo].sort((e,t)=>t.ending.length-e.ending.length),new(Co=class extends f{constructor(){super({language:"es",minWordLength:3,minStemLength:2,endings:Lo,reflexiveSuffixes:["se","me","te","nos","os"],infinitiveEndings:["ar","er","ir"]})}isNormalizable(e){if(3>e.length)return!1;const t=e.toLowerCase();if(t.endsWith("ar")||t.endsWith("er")||t.endsWith("ir"))return!0;if(t.endsWith("ando")||t.endsWith("iendo"))return!0;if(t.endsWith("ado")||t.endsWith("ido"))return!0;if(t.endsWith("arse")||t.endsWith("erse")||t.endsWith("irse"))return!0;for(const t of e)if(Po(t))return!0;return!1}})}});var Mo,No,Io,$o,Ko=b({"src/tokenizers/extractors/spanish-keyword.ts"(){var e;ci(),({isLetter:Wo,isIdentifierChar:Ao}=(e=/[a-zA-Z\u00e1\u00e9\u00ed\u00f3\u00fa\u00fc\u00f1\u00c1\u00c9\u00cd\u00d3\u00da\u00dc\u00d1]/,{isLetter:t=>e.test(t),isIdentifierChar:t=>/[0-9]/.test(t)||e.test(t)})),qo=new Set(["en","a","de","desde","hasta","con","sin","por","para","sobre","entre","antes","despu\u00e9s","despues","dentro","fuera","al","del"]),Oo=class{constructor(){this.name="spanish-keyword"}setContext(e){this.context=e}canExtract(e,t){return Wo(e[t])}extract(e,t){if(!this.context)throw Error("SpanishKeywordExtractor: context not set");const r=this.tryMultiWordPhrase(e,t);return r||this.extractSpanishWord(e,t)}tryMultiWordPhrase(e,t){if(!this.context)return null;const r=["de lo contrario","de lo normal","por defecto","de nuevo","de otra manera"];for(const i of r){if(e.slice(t,t+i.length).toLowerCase()===i.toLowerCase()){const r=t+i.length;if(r>=e.length||m(e[r])||!Wo(e[r])){const a=this.context.lookupKeyword(i);return{value:e.slice(t,r),length:i.length,metadata:{normalized:a?.normalized,multiWord:!0}}}}}return null}extractSpanishWord(e,t){if(!this.context)return null;let r=t,i="";for(;e.length>r&&Ao(e[r]);)i+=e[r++];if(!i)return null;const a=i.toLowerCase(),n=qo.has(a),o=this.context.lookupKeyword(i),s=o&&o.normalized!==o.native?o.normalized:void 0;let l,p,m;if(!o&&this.context.normalizer){const e=this.context.normalizer.normalize(i);if(e.stem!==i&&e.confidence>=.7){const t=this.context.lookupKeyword(e.stem);t&&(l=t.normalized,p=e.stem,m=e.confidence)}}return{value:i,length:r-t,metadata:{normalized:s||l,stem:p,stemConfidence:m,isPreposition:n}}}}}}),Vo={};x(Vo,{SpanishTokenizer:()=>Io,spanishTokenizer:()=>$o});var Do,Bo,Fo=b({"src/tokenizers/spanish.ts"(){ci(),Ro(),Ht(),yi(),Wn(),Ko(),Mo=new Set(["en","a","de","desde","hasta","con","sin","por","para","sobre","entre","antes","despu\u00e9s","despues","dentro","fuera","al","del"]),No=[{native:"verdadero",normalized:"true"},{native:"falso",normalized:"false"},{native:"nulo",normalized:"null"},{native:"indefinido",normalized:"undefined"},{native:"segundo",normalized:"s"},{native:"segundos",normalized:"s"},{native:"milisegundo",normalized:"ms"},{native:"milisegundos",normalized:"ms"},{native:"minuto",normalized:"m"},{native:"minutos",normalized:"m"},{native:"hora",normalized:"h"},{native:"horas",normalized:"h"},{native:"m\u00ed",normalized:"me"},{native:"destino",normalized:"target"},{native:"inclusivo",normalized:"inclusive"},{native:"exclusivo",normalized:"exclusive"},{native:"caracteres",normalized:"characters"},{native:"aleatorio",normalized:"random"}],$o=new(Io=class extends p{constructor(){super(),this.language="es",this.direction="ltr",this.initializeKeywordsFromProfile(Vt,No),this.setNormalizer(new Co),this.registerExtractors(_n()),this.registerExtractor(new i),this.registerExtractor(new a),this.registerExtractors([new Oo]),this.registerExtractor(new ni),this.registerExtractor(new oi)}classifyToken(e){const t=e.toLowerCase();return Mo.has(t)?"particle":this.isKeyword(t)?"keyword":/^\.(once|prevent|stop|debounce|throttle|queue)(\(.*\))?$/.test(e)?"event-modifier":e.startsWith("#")||e.startsWith(".")||e.startsWith("[")||e.startsWith("*")||e.startsWith("<")?"selector":e.startsWith('"')||e.startsWith("'")||/^\d/.test(e)?"literal":["==","!=","<=",">=","<",">","&&","||","!"].includes(e)?"operator":e.startsWith("/")||e.startsWith("./")||e.startsWith("http")?"url":"identifier"}})}});function Ho(e){const t=e.charCodeAt(0);if(t>=65&&90>=t||t>=97&&122>=t)return!0;return"\u00e7\u00c7\u011f\u011e\u0131\u0130\u00f6\u00d6\u015f\u015e\u00fc\u00dc".includes(e)}function Uo(e){return"a\u0131ouAIOU".includes(e)}function Go(e){return"ei\u00f6\u00fcE\u0130\u00d6\u00dc".includes(e)}function Zo(e){return Uo(e)||Go(e)}function Yo(e,t){const r=function(e){for(let t=e.length-1;t>=0;t--)if(Zo(e[t]))return e[t];return null}(e);if(!r)return!0;const i=t.split("").find(e=>Zo(e));return!i||(Uo(r)?Uo(i):Go(i))}var Xo,Qo,Jo,es,ts,rs=b({"src/tokenizers/morphology/turkish-normalizer.ts"(){Dn(),Do=[{pattern:"iyorsunuz",confidence:.82,conjugationType:"progressive",minStemLength:2},{pattern:"\u0131yorsunuz",confidence:.82,conjugationType:"progressive",minStemLength:2},{pattern:"\u00fcyorsunuz",confidence:.82,conjugationType:"progressive",minStemLength:2},{pattern:"uyorsunuz",confidence:.82,conjugationType:"progressive",minStemLength:2},{pattern:"iyorsun",confidence:.82,conjugationType:"progressive",minStemLength:2},{pattern:"\u0131yorsun",confidence:.82,conjugationType:"progressive",minStemLength:2},{pattern:"\u00fcyorsun",confidence:.82,conjugationType:"progressive",minStemLength:2},{pattern:"uyorsun",confidence:.82,conjugationType:"progressive",minStemLength:2},{pattern:"iyoruz",confidence:.82,conjugationType:"progressive",minStemLength:2},{pattern:"\u0131yoruz",confidence:.82,conjugationType:"progressive",minStemLength:2},{pattern:"\u00fcyoruz",confidence:.82,conjugationType:"progressive",minStemLength:2},{pattern:"uyoruz",confidence:.82,conjugationType:"progressive",minStemLength:2},{pattern:"iyorum",confidence:.85,conjugationType:"progressive",minStemLength:2},{pattern:"\u0131yorum",confidence:.85,conjugationType:"progressive",minStemLength:2},{pattern:"\u00fcyorum",confidence:.85,conjugationType:"progressive",minStemLength:2},{pattern:"uyorum",confidence:.85,conjugationType:"progressive",minStemLength:2},{pattern:"iyorlar",confidence:.82,conjugationType:"progressive",minStemLength:2},{pattern:"\u0131yorlar",confidence:.82,conjugationType:"progressive",minStemLength:2},{pattern:"\u00fcyorlar",confidence:.82,conjugationType:"progressive",minStemLength:2},{pattern:"uyorlar",confidence:.82,conjugationType:"progressive",minStemLength:2},{pattern:"eceksiniz",confidence:.82,conjugationType:"future",minStemLength:2},{pattern:"acaks\u0131n\u0131z",confidence:.82,conjugationType:"future",minStemLength:2},{pattern:"eceksin",confidence:.82,conjugationType:"future",minStemLength:2},{pattern:"acaks\u0131n",confidence:.82,conjugationType:"future",minStemLength:2},{pattern:"ece\u011fiz",confidence:.82,conjugationType:"future",minStemLength:2},{pattern:"aca\u011f\u0131z",confidence:.82,conjugationType:"future",minStemLength:2},{pattern:"ece\u011fim",confidence:.85,conjugationType:"future",minStemLength:2},{pattern:"aca\u011f\u0131m",confidence:.85,conjugationType:"future",minStemLength:2},{pattern:"ecekler",confidence:.82,conjugationType:"future",minStemLength:2},{pattern:"acaklar",confidence:.82,conjugationType:"future",minStemLength:2},{pattern:"mi\u015fsiniz",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"m\u0131\u015fs\u0131n\u0131z",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"m\u00fc\u015fs\u00fcn\u00fcz",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"mu\u015fsunuz",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"mi\u015fsin",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"m\u0131\u015fs\u0131n",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"m\u00fc\u015fs\u00fcn",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"mu\u015fsun",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"mi\u015fiz",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"m\u0131\u015f\u0131z",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"m\u00fc\u015f\u00fcz",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"mu\u015fuz",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"mi\u015fim",confidence:.85,conjugationType:"past",minStemLength:2},{pattern:"m\u0131\u015f\u0131m",confidence:.85,conjugationType:"past",minStemLength:2},{pattern:"m\u00fc\u015f\u00fcm",confidence:.85,conjugationType:"past",minStemLength:2},{pattern:"mu\u015fum",confidence:.85,conjugationType:"past",minStemLength:2},{pattern:"mi\u015fler",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"m\u0131\u015flar",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"m\u00fc\u015fler",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"mu\u015flar",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"diniz",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"d\u0131n\u0131z",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"d\u00fcn\u00fcz",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"dunuz",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"tiniz",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"t\u0131n\u0131z",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"t\u00fcn\u00fcz",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"tunuz",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"diler",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"d\u0131lar",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"d\u00fcler",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"dular",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"tiler",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"t\u0131lar",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"t\u00fcler",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"tular",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"din",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"d\u0131n",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"d\u00fcn",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"dun",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"tin",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"t\u0131n",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"t\u00fcn",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"tun",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"dik",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"d\u0131k",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"d\u00fck",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"duk",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"tik",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"t\u0131k",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"t\u00fck",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"tuk",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"dim",confidence:.85,conjugationType:"past",minStemLength:2},{pattern:"d\u0131m",confidence:.85,conjugationType:"past",minStemLength:2},{pattern:"d\u00fcm",confidence:.85,conjugationType:"past",minStemLength:2},{pattern:"dum",confidence:.85,conjugationType:"past",minStemLength:2},{pattern:"tim",confidence:.85,conjugationType:"past",minStemLength:2},{pattern:"t\u0131m",confidence:.85,conjugationType:"past",minStemLength:2},{pattern:"t\u00fcm",confidence:.85,conjugationType:"past",minStemLength:2},{pattern:"tum",confidence:.85,conjugationType:"past",minStemLength:2},{pattern:"iyor",confidence:.85,conjugationType:"progressive",minStemLength:2},{pattern:"\u0131yor",confidence:.85,conjugationType:"progressive",minStemLength:2},{pattern:"\u00fcyor",confidence:.85,conjugationType:"progressive",minStemLength:2},{pattern:"uyor",confidence:.85,conjugationType:"progressive",minStemLength:2},{pattern:"ecek",confidence:.85,conjugationType:"future",minStemLength:2},{pattern:"acak",confidence:.85,conjugationType:"future",minStemLength:2},{pattern:"mi\u015f",confidence:.85,conjugationType:"past",minStemLength:2},{pattern:"m\u0131\u015f",confidence:.85,conjugationType:"past",minStemLength:2},{pattern:"m\u00fc\u015f",confidence:.85,conjugationType:"past",minStemLength:2},{pattern:"mu\u015f",confidence:.85,conjugationType:"past",minStemLength:2},{pattern:"di",confidence:.85,conjugationType:"past",minStemLength:2},{pattern:"d\u0131",confidence:.85,conjugationType:"past",minStemLength:2},{pattern:"d\u00fc",confidence:.85,conjugationType:"past",minStemLength:2},{pattern:"du",confidence:.85,conjugationType:"past",minStemLength:2},{pattern:"ti",confidence:.85,conjugationType:"past",minStemLength:2},{pattern:"t\u0131",confidence:.85,conjugationType:"past",minStemLength:2},{pattern:"t\u00fc",confidence:.85,conjugationType:"past",minStemLength:2},{pattern:"tu",confidence:.85,conjugationType:"past",minStemLength:2},{pattern:"mek",confidence:.88,conjugationType:"dictionary",minStemLength:2},{pattern:"mak",confidence:.88,conjugationType:"dictionary",minStemLength:2},{pattern:"eyelim",confidence:.82,conjugationType:"optative",minStemLength:2},{pattern:"ayal\u0131m",confidence:.82,conjugationType:"optative",minStemLength:2},{pattern:"eyim",confidence:.82,conjugationType:"optative",minStemLength:2},{pattern:"ay\u0131m",confidence:.82,conjugationType:"optative",minStemLength:2},{pattern:"elim",confidence:.82,conjugationType:"optative",minStemLength:2},{pattern:"al\u0131m",confidence:.82,conjugationType:"optative",minStemLength:2},{pattern:"melisiniz",confidence:.82,conjugationType:"necessitative",minStemLength:2},{pattern:"mal\u0131s\u0131n\u0131z",confidence:.82,conjugationType:"necessitative",minStemLength:2},{pattern:"melisin",confidence:.82,conjugationType:"necessitative",minStemLength:2},{pattern:"mal\u0131s\u0131n",confidence:.82,conjugationType:"necessitative",minStemLength:2},{pattern:"meliyiz",confidence:.82,conjugationType:"necessitative",minStemLength:2},{pattern:"mal\u0131y\u0131z",confidence:.82,conjugationType:"necessitative",minStemLength:2},{pattern:"meliyim",confidence:.85,conjugationType:"necessitative",minStemLength:2},{pattern:"mal\u0131y\u0131m",confidence:.85,conjugationType:"necessitative",minStemLength:2},{pattern:"meliler",confidence:.82,conjugationType:"necessitative",minStemLength:2},{pattern:"mal\u0131lar",confidence:.82,conjugationType:"necessitative",minStemLength:2},{pattern:"meli",confidence:.85,conjugationType:"necessitative",minStemLength:2},{pattern:"mal\u0131",confidence:.85,conjugationType:"necessitative",minStemLength:2},{pattern:"ebiliyor",confidence:.82,conjugationType:"potential",minStemLength:2},{pattern:"abiliyor",confidence:.82,conjugationType:"potential",minStemLength:2},{pattern:"ebilir",confidence:.85,conjugationType:"potential",minStemLength:2},{pattern:"abilir",confidence:.85,conjugationType:"potential",minStemLength:2},{pattern:"ebildi",confidence:.82,conjugationType:"potential",minStemLength:2},{pattern:"abildi",confidence:.82,conjugationType:"potential",minStemLength:2},{pattern:"ebilmek",confidence:.85,conjugationType:"potential",minStemLength:2},{pattern:"abilmek",confidence:.85,conjugationType:"potential",minStemLength:2},{pattern:"iniz",confidence:.82,conjugationType:"imperative",minStemLength:2},{pattern:"\u0131n\u0131z",confidence:.82,conjugationType:"imperative",minStemLength:2},{pattern:"\u00fcn\u00fcz",confidence:.82,conjugationType:"imperative",minStemLength:2},{pattern:"unuz",confidence:.82,conjugationType:"imperative",minStemLength:2},{pattern:"in",confidence:.8,conjugationType:"imperative",minStemLength:2},{pattern:"\u0131n",confidence:.8,conjugationType:"imperative",minStemLength:2},{pattern:"\u00fcn",confidence:.8,conjugationType:"imperative",minStemLength:2},{pattern:"un",confidence:.8,conjugationType:"imperative",minStemLength:2},{pattern:"ildi",confidence:.82,conjugationType:"passive",minStemLength:2},{pattern:"\u0131ld\u0131",confidence:.82,conjugationType:"passive",minStemLength:2},{pattern:"\u00fcld\u00fc",confidence:.82,conjugationType:"passive",minStemLength:2},{pattern:"uldu",confidence:.82,conjugationType:"passive",minStemLength:2},{pattern:"ilir",confidence:.82,conjugationType:"passive",minStemLength:2},{pattern:"\u0131l\u0131r",confidence:.82,conjugationType:"passive",minStemLength:2},{pattern:"\u00fcl\u00fcr",confidence:.82,conjugationType:"passive",minStemLength:2},{pattern:"ulur",confidence:.82,conjugationType:"passive",minStemLength:2},{pattern:"tirmek",confidence:.82,conjugationType:"causative",minStemLength:2},{pattern:"t\u0131rmak",confidence:.82,conjugationType:"causative",minStemLength:2},{pattern:"t\u00fcrmek",confidence:.82,conjugationType:"causative",minStemLength:2},{pattern:"turmak",confidence:.82,conjugationType:"causative",minStemLength:2},{pattern:"dirmek",confidence:.82,conjugationType:"causative",minStemLength:2},{pattern:"d\u0131rmak",confidence:.82,conjugationType:"causative",minStemLength:2},{pattern:"d\u00fcrmek",confidence:.82,conjugationType:"causative",minStemLength:2},{pattern:"durmak",confidence:.82,conjugationType:"causative",minStemLength:2},{pattern:"miyorsunuz",confidence:.8,conjugationType:"negative",minStemLength:2},{pattern:"m\u0131yorsunuz",confidence:.8,conjugationType:"negative",minStemLength:2},{pattern:"m\u00fcyorsunuz",confidence:.8,conjugationType:"negative",minStemLength:2},{pattern:"muyorsunuz",confidence:.8,conjugationType:"negative",minStemLength:2},{pattern:"miyorsun",confidence:.8,conjugationType:"negative",minStemLength:2},{pattern:"m\u0131yorsun",confidence:.8,conjugationType:"negative",minStemLength:2},{pattern:"m\u00fcyorsun",confidence:.8,conjugationType:"negative",minStemLength:2},{pattern:"muyorsun",confidence:.8,conjugationType:"negative",minStemLength:2},{pattern:"miyoruz",confidence:.8,conjugationType:"negative",minStemLength:2},{pattern:"m\u0131yoruz",confidence:.8,conjugationType:"negative",minStemLength:2},{pattern:"m\u00fcyoruz",confidence:.8,conjugationType:"negative",minStemLength:2},{pattern:"muyoruz",confidence:.8,conjugationType:"negative",minStemLength:2},{pattern:"miyorum",confidence:.82,conjugationType:"negative",minStemLength:2},{pattern:"m\u0131yorum",confidence:.82,conjugationType:"negative",minStemLength:2},{pattern:"m\u00fcyorum",confidence:.82,conjugationType:"negative",minStemLength:2},{pattern:"muyorum",confidence:.82,conjugationType:"negative",minStemLength:2},{pattern:"miyor",confidence:.82,conjugationType:"negative",minStemLength:2},{pattern:"m\u0131yor",confidence:.82,conjugationType:"negative",minStemLength:2},{pattern:"m\u00fcyor",confidence:.82,conjugationType:"negative",minStemLength:2},{pattern:"muyor",confidence:.82,conjugationType:"negative",minStemLength:2},{pattern:"medi",confidence:.82,conjugationType:"negative",minStemLength:2},{pattern:"mad\u0131",confidence:.82,conjugationType:"negative",minStemLength:2},{pattern:"me",confidence:.75,conjugationType:"negative",minStemLength:3},{pattern:"ma",confidence:.75,conjugationType:"negative",minStemLength:3}],new(Bo=class{constructor(){this.language="tr"}isNormalizable(e){return!!function(e){for(const t of e)if(Ho(t))return!0;return!1}(e)&&3<=e.length}normalize(e){const t=e.toLowerCase();for(const e of Do)if(t.endsWith(e.pattern)){const r=t.slice(0,-e.pattern.length);if((e.minStemLength??2)>r.length)continue;if(!Yo(r,e.pattern)){const t=.9*e.confidence,i={removedSuffixes:[e.pattern]};return e.conjugationType&&(i.conjugationType=e.conjugationType),u(r,t,i)}const i={removedSuffixes:[e.pattern]};return e.conjugationType&&(i.conjugationType=e.conjugationType),u(r,e.confidence,i)}return y(e)}})}}),is={};x(is,{TurkishTokenizer:()=>es,turkishTokenizer:()=>ts});var as,ns,os,ss,ls=b({"src/tokenizers/turkish.ts"(){ci(),rs(),$r(),yi(),Wn(),cn(),Xo=new Set(["ile","i\u00e7in","kadar","gibi","\u00f6nce","\u00fczerinde","alt\u0131nda","i\u00e7inde","d\u0131\u015f\u0131nda","aras\u0131nda","kar\u015f\u0131","g\u00f6re","ra\u011fmen","boyunca"]),Qo=new Set(["de","da","te","ta","den","dan","ten","tan","e","a","ye","ya","i","\u0131","u","\u00fc","in","\u0131n","un","\u00fcn","le","la","yle","yla"]),Jo=[{native:"do\u011fru",normalized:"true"},{native:"dogru",normalized:"true"},{native:"yanl\u0131\u015f",normalized:"false"},{native:"yanlis",normalized:"false"},{native:"null",normalized:"null"},{native:"bo\u015f",normalized:"null"},{native:"bos",normalized:"null"},{native:"tan\u0131ms\u0131z",normalized:"undefined"},{native:"tanimsiz",normalized:"undefined"},{native:"ilk",normalized:"first"},{native:"son",normalized:"last"},{native:"sonuncu",normalized:"last"},{native:"sonraki",normalized:"next"},{native:"\u00f6nceki",normalized:"previous"},{native:"onceki",normalized:"previous"},{native:"enyak\u0131n",normalized:"closest"},{native:"enyakin",normalized:"closest"},{native:"ebeveyn",normalized:"parent"},{native:"fare \u00fczerinde",normalized:"mouseover"},{native:"fare uzerinde",normalized:"mouseover"},{native:"fare d\u0131\u015f\u0131nda",normalized:"mouseout"},{native:"fare disinda",normalized:"mouseout"},{native:"farebas",normalized:"mousedown"},{native:"fareb\u0131rak",normalized:"mouseup"},{native:"farebirak",normalized:"mouseup"},{native:"kayd\u0131r",normalized:"scroll"},{native:"kaydir",normalized:"scroll"},{native:"boyutland\u0131rma",normalized:"resize"},{native:"boyutlandirma",normalized:"resize"},{native:"boyutland\u0131r",normalized:"resize"},{native:"boyutlandir",normalized:"resize"},{native:"kayd\u0131rma",normalized:"scroll"},{native:"kaydirma",normalized:"scroll"},{native:"tu\u015f_bas",normalized:"keydown"},{native:"tus_bas",normalized:"keydown"},{native:"tu\u015f_b\u0131rak",normalized:"keyup"},{native:"tus_birak",normalized:"keyup"},{native:"saniye",normalized:"s"},{native:"milisaniye",normalized:"ms"},{native:"dakika",normalized:"m"},{native:"saat",normalized:"h"},{native:"dahil",normalized:"inclusive"},{native:"hari\u00e7",normalized:"exclusive"},{native:"karakterler",normalized:"characters"},{native:"rastgele",normalized:"random"}],ts=new(es=class extends p{constructor(){super(),this.language="tr",this.direction="ltr",this.initializeKeywordsFromProfile(Rr,Jo),this.setNormalizer(new Bo),this.registerExtractors(_n()),this.registerExtractor(new i),this.registerExtractor(new a),this.registerExtractor(new an),this.registerExtractor(new ni),this.registerExtractor(new oi)}classifyToken(e){const t=e.toLowerCase();return Xo.has(t)||Qo.has(t)?"particle":this.isKeyword(t)?"keyword":e.startsWith("/")||e.startsWith("./")||e.startsWith("../")||e.startsWith("http")?"url":/^\.(once|prevent|stop|debounce|throttle|queue)(\(.*\))?$/.test(e)?"event-modifier":e.startsWith("#")||e.startsWith(".")||e.startsWith("[")||e.startsWith("*")||e.startsWith("<")?"selector":e.startsWith('"')||e.startsWith("'")||/^\d/.test(e)?"literal":["==","!=","<=",">=","<",">","&&","||","!"].includes(e)?"operator":"identifier"}})}}),ps={};x(ps,{ChineseTokenizer:()=>os,chineseTokenizer:()=>ss});var ms,cs,ds,us,ys,vs,fs=b({"src/tokenizers/chinese.ts"(){ci(),Zr(),yi(),Wn(),Xi(),Qi(),Ln(),as=new Set(["\u628a","\u5728","\u4ece","\u5230","\u5411","\u7ed9","\u5bf9","\u7528","\u88ab","\u8ba9","\u7684","\u5730","\u5f97","\u4e86","\u7740","\u8fc7","\u5417","\u5462","\u5427"]),ns=[{native:"\u771f",normalized:"true"},{native:"\u5047",normalized:"false"},{native:"\u7a7a",normalized:"null"},{native:"\u672a\u5b9a\u4e49",normalized:"undefined"},{native:"\u7b2c\u4e00\u4e2a",normalized:"first"},{native:"\u9996\u4e2a",normalized:"first"},{native:"\u6700\u540e\u4e00\u4e2a",normalized:"last"},{native:"\u672b\u4e2a",normalized:"last"},{native:"\u4e0b\u4e00\u4e2a",normalized:"next"},{native:"\u4e0a\u4e00\u4e2a",normalized:"previous"},{native:"\u6700\u8fd1\u7684",normalized:"closest"},{native:"\u7236\u7ea7",normalized:"parent"},{native:"\u70b9\u51fb",normalized:"click"},{native:"\u53cc\u51fb",normalized:"dblclick"},{native:"\u8f93\u5165",normalized:"input"},{native:"\u53d8\u66f4",normalized:"change"},{native:"\u6539\u53d8",normalized:"change"},{native:"\u63d0\u4ea4",normalized:"submit"},{native:"\u6309\u952e",normalized:"keydown"},{native:"\u91ca\u653e\u952e",normalized:"keyup"},{native:"\u9f20\u6807\u79fb\u5165",normalized:"mouseover"},{native:"\u9f20\u6807\u79fb\u51fa",normalized:"mouseout"},{native:"\u83b7\u5f97\u7126\u70b9",normalized:"focus"},{native:"\u5931\u53bb\u7126\u70b9",normalized:"blur"},{native:"\u52a0\u8f7d",normalized:"load"},{native:"\u6eda\u52a8",normalized:"scroll"},{native:"\u6211\u7684",normalized:"my"},{native:"\u5b83\u7684",normalized:"its"},{native:"\u79d2",normalized:"s"},{native:"\u6beb\u79d2",normalized:"ms"},{native:"\u5206\u949f",normalized:"m"},{native:"\u5c0f\u65f6",normalized:"h"},{native:"\u548c",normalized:"and"},{native:"\u6216\u8005",normalized:"or"},{native:"\u6216",normalized:"or"},{native:"\u4e0d",normalized:"not"},{native:"\u975e",normalized:"not"},{native:"\u662f",normalized:"is"},{native:"\u82e5",normalized:"if"},{native:"\u4e0d\u7136",normalized:"else"},{native:"\u5faa\u73af",normalized:"repeat"},{native:"\u904d\u5386",normalized:"for"},{native:"\u6bcf\u4e2a",normalized:"for"},{native:"\u4e3a\u6bcf",normalized:"for"},{native:"\u4e2d\u6b62",normalized:"halt"},{native:"\u629b",normalized:"throw"},{native:"\u547c\u53eb",normalized:"call"},{native:"\u56de",normalized:"return"},{native:"\u811a\u672c",normalized:"js"},{native:"\u901a\u77e5",normalized:"tell"},{native:"\u7f3a\u7701",normalized:"default"},{native:"\u521d\u59cb",normalized:"init"},{native:"\u52a8\u4f5c",normalized:"behavior"},{native:"\u6fc0\u53d1",normalized:"trigger"},{native:"\u5bf9\u7126",normalized:"focus"},{native:"\u6a21\u7cca",normalized:"blur"},{native:"\u8df3\u8f6c",normalized:"go"},{native:"\u5bfc\u822a",normalized:"go"},{native:"\u6293\u53d6",normalized:"fetch"},{native:"\u83b7\u53d6\u6570\u636e",normalized:"fetch"},{native:"\u5b89\u5b9a",normalized:"settle"},{native:"\u62ff\u53d6",normalized:"take"},{native:"\u53d6",normalized:"take"},{native:"\u521b\u5efa",normalized:"make"},{native:"\u514b\u9686",normalized:"clone"},{native:"\u8bb0\u5f55",normalized:"log"},{native:"\u6253\u5370",normalized:"log"},{native:"\u52a8\u753b",normalized:"transition"},{native:"\u5230\u91cc\u9762",normalized:"into"},{native:"\u91cc",normalized:"into"},{native:"\u524d",normalized:"before"},{native:"\u540e",normalized:"after"},{native:"\u90a3\u4e48",normalized:"then"},{native:"\u5b8c",normalized:"end"},{native:"\u4f5c\u4e3a",normalized:"as"},{native:"\u5305\u542b",normalized:"inclusive"},{native:"\u6392\u9664",normalized:"exclusive"},{native:"\u5b57\u7b26",normalized:"characters"},{native:"\u968f\u673a",normalized:"random"}],ss=new(os=class extends p{constructor(){super(),this.language="zh",this.direction="ltr",this.initializeKeywordsFromProfile(Fr,ns),this.registerExtractors(_n()),this.registerExtractor(new i),this.registerExtractor(new a),this.registerExtractor(new Sn),this.registerExtractor(new Hi),this.registerExtractor(new Ki),this.registerExtractor(new ni),this.registerExtractor(new oi)}classifyToken(e){return as.has(e)?"particle":this.isKeyword(e)?"keyword":e.startsWith("/")||e.startsWith("./")||e.startsWith("../")||e.startsWith("http")?"url":/^\.(once|prevent|stop|debounce|throttle|queue)(\(.*\))?$/.test(e)?"event-modifier":e.startsWith("#")||e.startsWith(".")||e.startsWith("[")||e.startsWith("*")||e.startsWith("<")?"selector":e.startsWith('"')||e.startsWith("'")||e.startsWith("\u201c")||e.startsWith("\u2018")||/^\d/.test(e)?"literal":"identifier"}})}});function hs(e){return/[\u00e1\u00e0\u00e2\u00e3\u00e9\u00ea\u00ed\u00f3\u00f4\u00f5\u00fa\u00fc\u00e7\u00c1\u00c0\u00c2\u00c3\u00c9\u00ca\u00cd\u00d3\u00d4\u00d5\u00da\u00dc\u00c7]/.test(e)}var gs,ks,zs,ws,bs=b({"src/tokenizers/morphology/portuguese-normalizer.ts"(){Dn(),ms=["-se","-me","-te","-nos","-vos"],cs=[{ending:"ando",stem:"ar",confidence:.88,type:"gerund"},{ending:"ado",stem:"ar",confidence:.88,type:"participle"},{ending:"ada",stem:"ar",confidence:.88,type:"participle"},{ending:"ados",stem:"ar",confidence:.88,type:"participle"},{ending:"adas",stem:"ar",confidence:.88,type:"participle"},{ending:"o",stem:"ar",confidence:.75,type:"present"},{ending:"as",stem:"ar",confidence:.82,type:"present"},{ending:"a",stem:"ar",confidence:.75,type:"present"},{ending:"amos",stem:"ar",confidence:.85,type:"present"},{ending:"ais",stem:"ar",confidence:.85,type:"present"},{ending:"am",stem:"ar",confidence:.8,type:"present"},{ending:"ei",stem:"ar",confidence:.88,type:"past"},{ending:"aste",stem:"ar",confidence:.88,type:"past"},{ending:"ou",stem:"ar",confidence:.88,type:"past"},{ending:"\u00e1mos",stem:"ar",confidence:.88,type:"past"},{ending:"amos",stem:"ar",confidence:.85,type:"past"},{ending:"astes",stem:"ar",confidence:.88,type:"past"},{ending:"aram",stem:"ar",confidence:.88,type:"past"},{ending:"ava",stem:"ar",confidence:.88,type:"past"},{ending:"avas",stem:"ar",confidence:.88,type:"past"},{ending:"\u00e1vamos",stem:"ar",confidence:.88,type:"past"},{ending:"avamos",stem:"ar",confidence:.85,type:"past"},{ending:"\u00e1veis",stem:"ar",confidence:.88,type:"past"},{ending:"aveis",stem:"ar",confidence:.85,type:"past"},{ending:"avam",stem:"ar",confidence:.88,type:"past"},{ending:"e",stem:"ar",confidence:.72,type:"subjunctive"},{ending:"es",stem:"ar",confidence:.78,type:"subjunctive"},{ending:"emos",stem:"ar",confidence:.82,type:"subjunctive"},{ending:"eis",stem:"ar",confidence:.82,type:"subjunctive"},{ending:"em",stem:"ar",confidence:.78,type:"subjunctive"},{ending:"a",stem:"ar",confidence:.75,type:"imperative"},{ending:"ai",stem:"ar",confidence:.85,type:"imperative"},{ending:"ar",stem:"ar",confidence:.92,type:"dictionary"}],ds=[{ending:"endo",stem:"er",confidence:.88,type:"gerund"},{ending:"ido",stem:"er",confidence:.85,type:"participle"},{ending:"ida",stem:"er",confidence:.85,type:"participle"},{ending:"idos",stem:"er",confidence:.85,type:"participle"},{ending:"idas",stem:"er",confidence:.85,type:"participle"},{ending:"o",stem:"er",confidence:.72,type:"present"},{ending:"es",stem:"er",confidence:.78,type:"present"},{ending:"e",stem:"er",confidence:.72,type:"present"},{ending:"emos",stem:"er",confidence:.85,type:"present"},{ending:"eis",stem:"er",confidence:.82,type:"present"},{ending:"em",stem:"er",confidence:.78,type:"present"},{ending:"i",stem:"er",confidence:.85,type:"past"},{ending:"este",stem:"er",confidence:.88,type:"past"},{ending:"eu",stem:"er",confidence:.88,type:"past"},{ending:"emos",stem:"er",confidence:.85,type:"past"},{ending:"estes",stem:"er",confidence:.88,type:"past"},{ending:"eram",stem:"er",confidence:.88,type:"past"},{ending:"ia",stem:"er",confidence:.85,type:"past"},{ending:"ias",stem:"er",confidence:.85,type:"past"},{ending:"\u00edamos",stem:"er",confidence:.88,type:"past"},{ending:"iamos",stem:"er",confidence:.85,type:"past"},{ending:"\u00edeis",stem:"er",confidence:.88,type:"past"},{ending:"ieis",stem:"er",confidence:.85,type:"past"},{ending:"iam",stem:"er",confidence:.85,type:"past"},{ending:"er",stem:"er",confidence:.92,type:"dictionary"}],us=[{ending:"indo",stem:"ir",confidence:.88,type:"gerund"},{ending:"ido",stem:"ir",confidence:.85,type:"participle"},{ending:"ida",stem:"ir",confidence:.85,type:"participle"},{ending:"idos",stem:"ir",confidence:.85,type:"participle"},{ending:"idas",stem:"ir",confidence:.85,type:"participle"},{ending:"o",stem:"ir",confidence:.72,type:"present"},{ending:"es",stem:"ir",confidence:.78,type:"present"},{ending:"e",stem:"ir",confidence:.72,type:"present"},{ending:"imos",stem:"ir",confidence:.85,type:"present"},{ending:"is",stem:"ir",confidence:.82,type:"present"},{ending:"em",stem:"ir",confidence:.78,type:"present"},{ending:"i",stem:"ir",confidence:.85,type:"past"},{ending:"iste",stem:"ir",confidence:.88,type:"past"},{ending:"iu",stem:"ir",confidence:.88,type:"past"},{ending:"imos",stem:"ir",confidence:.85,type:"past"},{ending:"istes",stem:"ir",confidence:.88,type:"past"},{ending:"iram",stem:"ir",confidence:.88,type:"past"},{ending:"ia",stem:"ir",confidence:.85,type:"past"},{ending:"ias",stem:"ir",confidence:.85,type:"past"},{ending:"\u00edamos",stem:"ir",confidence:.88,type:"past"},{ending:"iamos",stem:"ir",confidence:.85,type:"past"},{ending:"\u00edeis",stem:"ir",confidence:.88,type:"past"},{ending:"ieis",stem:"ir",confidence:.85,type:"past"},{ending:"iam",stem:"ir",confidence:.85,type:"past"},{ending:"ir",stem:"ir",confidence:.92,type:"dictionary"}],ys=[...cs,...ds,...us].sort((e,t)=>t.ending.length-e.ending.length),new(vs=class{constructor(){this.language="pt"}isNormalizable(e){return e.length>=3&&function(e){const t=e.toLowerCase();if(t.endsWith("ar")||t.endsWith("er")||t.endsWith("ir"))return!0;if(t.endsWith("ando")||t.endsWith("endo")||t.endsWith("indo"))return!0;if(t.endsWith("ado")||t.endsWith("ido"))return!0;if(t.endsWith("ar-se")||t.endsWith("er-se")||t.endsWith("ir-se"))return!0;for(const t of e)if(hs(t))return!0;return!1}(e)}normalize(e){const t=e.toLowerCase();if((t.endsWith("ar")||t.endsWith("er")||t.endsWith("ir"))&&!ms.some(e=>t.endsWith(e)))return y(e);const r=this.tryReflexiveNormalization(t);if(r)return r;const i=this.tryConjugationNormalization(t);return i||y(e)}tryReflexiveNormalization(e){for(const t of ms)if(e.endsWith(t)){const r=e.slice(0,-t.length);if(r.endsWith("ar")||r.endsWith("er")||r.endsWith("ir"))return u(r,.88,{removedSuffixes:[t],conjugationType:"reflexive"});const i=this.tryConjugationNormalization(r);if(i&&i.stem!==r)return u(i.stem,.95*i.confidence,{removedSuffixes:[t,...i.metadata?.removedSuffixes||[]],conjugationType:"reflexive"})}return null}tryConjugationNormalization(e){for(const t of ys)if(e.endsWith(t.ending)){const r=e.slice(0,-t.ending.length);if(2>r.length)continue;return u(r+t.stem,t.confidence,{removedSuffixes:[t.ending],conjugationType:t.type})}return null}})}});var xs,Ts,Ss,js,Es=b({"src/tokenizers/extractors/portuguese-keyword.ts"(){var e;({isLetter:gs,isIdentifierChar:ks}=(e=/[a-zA-Z\u00e1\u00e2\u00e3\u00e9\u00ea\u00ed\u00f3\u00f4\u00f5\u00fa\u00e7\u00c1\u00c2\u00c3\u00c9\u00ca\u00cd\u00d3\u00d4\u00d5\u00da\u00c7]/,{isLetter:t=>e.test(t),isIdentifierChar:t=>/[0-9]/.test(t)||e.test(t)})),zs=new Set(["em","a","de","para","com","sem","por","sobre","entre","antes","depois","dentro","fora","ao","do","da","no","na"]),ws=class{constructor(){this.name="portuguese-keyword"}setContext(e){this.context=e}canExtract(e,t){return gs(e[t])}extract(e,t){if(!this.context)throw Error("PortugueseKeywordExtractor: context not set");let r=t,i="";for(;e.length>r&&ks(e[r]);)i+=e[r++];if(!i)return null;const a=i.toLowerCase(),n=zs.has(a),o=this.context.lookupKeyword(a),s=o&&o.normalized!==o.native?o.normalized:void 0;let l,p,m;if(!o&&this.context.normalizer){const e=this.context.normalizer.normalize(i);if(e.stem!==i&&e.confidence>=.7){const t=this.context.lookupKeyword(e.stem);t&&(l=t.normalized,p=e.stem,m=e.confidence)}}return{value:i,length:r-t,metadata:{normalized:s||l,stem:p,stemConfidence:m,isPreposition:n}}}}}}),Ls={};x(Ls,{PortugueseTokenizer:()=>Ss,portugueseTokenizer:()=>js});var Cs,_s,Ps,Ws,As,qs,Os=b({"src/tokenizers/portuguese.ts"(){ci(),br(),bs(),yi(),Wn(),Es(),xs=new Set(["em","a","de","desde","at\u00e9","ate","com","sem","por","para","sobre","entre","antes","depois","dentro","fora","ao","do","no","na"]),Ts=[{native:"verdadeiro",normalized:"true"},{native:"falso",normalized:"false"},{native:"nulo",normalized:"null"},{native:"indefinido",normalized:"undefined"},{native:"primeiro",normalized:"first"},{native:"primeira",normalized:"first"},{native:"\u00faltimo",normalized:"last"},{native:"ultima",normalized:"last"},{native:"pr\u00f3ximo",normalized:"next"},{native:"proximo",normalized:"next"},{native:"anterior",normalized:"previous"},{native:"maispr\u00f3ximo",normalized:"closest"},{native:"maisproximo",normalized:"closest"},{native:"pai",normalized:"parent"},{native:"clique",normalized:"click"},{native:"click",normalized:"click"},{native:"entrada",normalized:"input"},{native:"mudan\u00e7a",normalized:"change"},{native:"mudanca",normalized:"change"},{native:"envio",normalized:"submit"},{native:"tecla baixo",normalized:"keydown"},{native:"tecla cima",normalized:"keyup"},{native:"mouse sobre",normalized:"mouseover"},{native:"mouse fora",normalized:"mouseout"},{native:"foco",normalized:"focus"},{native:"desfoque",normalized:"blur"},{native:"carregar",normalized:"load"},{native:"rolagem",normalized:"scroll"},{native:"meu",normalized:"my"},{native:"minha",normalized:"my"},{native:"isso",normalized:"it"},{native:"segundo",normalized:"s"},{native:"segundos",normalized:"s"},{native:"milissegundo",normalized:"ms"},{native:"milissegundos",normalized:"ms"},{native:"minuto",normalized:"m"},{native:"minutos",normalized:"m"},{native:"hora",normalized:"h"},{native:"horas",normalized:"h"},{native:"senao",normalized:"else"},{native:"transicao",normalized:"transition"},{native:"ate",normalized:"until"},{native:"entao",normalized:"then"},{native:"lancar",normalized:"throw"},{native:"assincrono",normalized:"async"},{native:"padrao",normalized:"default"},{native:"at\u00e9 que",normalized:"until"},{native:"dentro de",normalized:"into"},{native:"inclusivo",normalized:"inclusive"},{native:"exclusivo",normalized:"exclusive"},{native:"caracteres",normalized:"characters"},{native:"aleat\u00f3rio",normalized:"random"}],js=new(Ss=class extends p{constructor(){super(),this.language="pt",this.direction="ltr",this.initializeKeywordsFromProfile(gr,Ts),this.setNormalizer(new vs),this.registerExtractors(_n()),this.registerExtractor(new i),this.registerExtractor(new a),this.registerExtractors([new ws]),this.registerExtractor(new ni),this.registerExtractor(new oi)}classifyToken(e){const t=e.toLowerCase();return xs.has(t)?"particle":this.isKeyword(t)?"keyword":/^\.(once|prevent|stop|debounce|throttle|queue)(\(.*\))?$/.test(e)?"event-modifier":e.startsWith("#")||e.startsWith(".")||e.startsWith("[")||e.startsWith("*")||e.startsWith("<")?"selector":e.startsWith('"')||e.startsWith("'")||/^\d/.test(e)?"literal":e.startsWith("/")||e.startsWith("./")||e.startsWith("http")?"url":"identifier"}})}});var Rs,Ms,Ns,Is,$s=b({"src/tokenizers/morphology/french-normalizer.ts"(){Dn(),Cs=["toi","vous","nous"],_s=[{ending:"ant",stem:"er",confidence:.88,type:"gerund"},{ending:"\u00e9",stem:"er",confidence:.88,type:"participle"},{ending:"\u00e9e",stem:"er",confidence:.88,type:"participle"},{ending:"\u00e9s",stem:"er",confidence:.88,type:"participle"},{ending:"\u00e9es",stem:"er",confidence:.88,type:"participle"},{ending:"e",stem:"er",confidence:.75,type:"present"},{ending:"es",stem:"er",confidence:.78,type:"present"},{ending:"ons",stem:"er",confidence:.85,type:"present"},{ending:"ez",stem:"er",confidence:.85,type:"present"},{ending:"ent",stem:"er",confidence:.82,type:"present"},{ending:"ais",stem:"er",confidence:.82,type:"past"},{ending:"ait",stem:"er",confidence:.82,type:"past"},{ending:"ions",stem:"er",confidence:.85,type:"past"},{ending:"iez",stem:"er",confidence:.85,type:"past"},{ending:"aient",stem:"er",confidence:.85,type:"past"},{ending:"ai",stem:"er",confidence:.8,type:"past"},{ending:"as",stem:"er",confidence:.78,type:"past"},{ending:"a",stem:"er",confidence:.75,type:"past"},{ending:"\u00e2mes",stem:"er",confidence:.88,type:"past"},{ending:"\u00e2tes",stem:"er",confidence:.88,type:"past"},{ending:"\u00e8rent",stem:"er",confidence:.88,type:"past"},{ending:"erai",stem:"er",confidence:.85,type:"future"},{ending:"eras",stem:"er",confidence:.85,type:"future"},{ending:"era",stem:"er",confidence:.82,type:"future"},{ending:"erons",stem:"er",confidence:.88,type:"future"},{ending:"erez",stem:"er",confidence:.88,type:"future"},{ending:"eront",stem:"er",confidence:.88,type:"future"},{ending:"erais",stem:"er",confidence:.85,type:"conditional"},{ending:"erait",stem:"er",confidence:.85,type:"conditional"},{ending:"erions",stem:"er",confidence:.88,type:"conditional"},{ending:"eriez",stem:"er",confidence:.88,type:"conditional"},{ending:"eraient",stem:"er",confidence:.88,type:"conditional"},{ending:"ions",stem:"er",confidence:.8,type:"subjunctive"},{ending:"iez",stem:"er",confidence:.8,type:"subjunctive"},{ending:"ons",stem:"er",confidence:.82,type:"imperative"},{ending:"ez",stem:"er",confidence:.82,type:"imperative"},{ending:"er",stem:"er",confidence:.92,type:"dictionary"}],Ps=[{ending:"issant",stem:"ir",confidence:.88,type:"gerund"},{ending:"i",stem:"ir",confidence:.8,type:"participle"},{ending:"ie",stem:"ir",confidence:.82,type:"participle"},{ending:"is",stem:"ir",confidence:.78,type:"participle"},{ending:"ies",stem:"ir",confidence:.82,type:"participle"},{ending:"is",stem:"ir",confidence:.78,type:"present"},{ending:"it",stem:"ir",confidence:.78,type:"present"},{ending:"issons",stem:"ir",confidence:.88,type:"present"},{ending:"issez",stem:"ir",confidence:.88,type:"present"},{ending:"issent",stem:"ir",confidence:.88,type:"present"},{ending:"issais",stem:"ir",confidence:.85,type:"past"},{ending:"issait",stem:"ir",confidence:.85,type:"past"},{ending:"issions",stem:"ir",confidence:.88,type:"past"},{ending:"issiez",stem:"ir",confidence:.88,type:"past"},{ending:"issaient",stem:"ir",confidence:.88,type:"past"},{ending:"irai",stem:"ir",confidence:.85,type:"future"},{ending:"iras",stem:"ir",confidence:.85,type:"future"},{ending:"ira",stem:"ir",confidence:.82,type:"future"},{ending:"irons",stem:"ir",confidence:.88,type:"future"},{ending:"irez",stem:"ir",confidence:.88,type:"future"},{ending:"iront",stem:"ir",confidence:.88,type:"future"},{ending:"ir",stem:"ir",confidence:.9,type:"dictionary"}],Ws=[{ending:"ant",stem:"re",confidence:.82,type:"gerund"},{ending:"u",stem:"re",confidence:.8,type:"participle"},{ending:"ue",stem:"re",confidence:.82,type:"participle"},{ending:"us",stem:"re",confidence:.82,type:"participle"},{ending:"ues",stem:"re",confidence:.82,type:"participle"},{ending:"s",stem:"re",confidence:.72,type:"present"},{ending:"d",stem:"re",confidence:.75,type:"present"},{ending:"ons",stem:"re",confidence:.82,type:"present"},{ending:"ez",stem:"re",confidence:.82,type:"present"},{ending:"ent",stem:"re",confidence:.8,type:"present"},{ending:"re",stem:"re",confidence:.9,type:"dictionary"}],As=[..._s,...Ps,...Ws].sort((e,t)=>t.ending.length-e.ending.length),new(qs=class{constructor(){this.language="fr"}isNormalizable(e){return e.length>=3&&function(e){const t=e.toLowerCase();return!!(t.endsWith("er")||t.endsWith("ir")||t.endsWith("re")||t.endsWith("ant")||t.endsWith("\u00e9")||t.endsWith("i")||t.endsWith("u")||/[\u00e0\u00e2\u00e4\u00e9\u00e8\u00ea\u00eb\u00ef\u00ee\u00f4\u00f9\u00fb\u00fc\u00ff\u00e7\u0153\u00e6]/i.test(e))}(e)}normalize(e){const t=e.toLowerCase();if((t.endsWith("er")||t.endsWith("ir")||t.endsWith("re"))&&t.length>=4)return y(e);const r=this.tryReflexiveNormalization(t);if(r)return r;const i=this.tryConjugationNormalization(t);return i||y(e)}tryReflexiveNormalization(e){for(const t of Cs){const r="-"+t;if(e.endsWith(r)){const t=e.slice(0,-r.length),i=this.tryConjugationNormalization(t);if(i&&i.stem!==t)return u(i.stem,.95*i.confidence,{removedSuffixes:[r,...i.metadata?.removedSuffixes||[]],conjugationType:"reflexive"})}}return null}tryConjugationNormalization(e){for(const t of As)if(e.endsWith(t.ending)){const r=e.slice(0,-t.ending.length);if(2>r.length)continue;return u(r+t.stem,t.confidence,{removedSuffixes:[t.ending],conjugationType:t.type})}return null}})}});var Ks,Vs,Ds,Bs=b({"src/tokenizers/extractors/french-keyword.ts"(){var e;({isLetter:Rs,isIdentifierChar:Ms}=(e=/[a-zA-Z\u00e0\u00e2\u00e6\u00e7\u00e9\u00e8\u00ea\u00eb\u00ef\u00ee\u00f4\u00f9\u00fb\u00fc\u00ff\u0153\u00c0\u00c2\u00c6\u00c7\u00c9\u00c8\u00ca\u00cb\u00cf\u00ce\u00d4\u00d9\u00db\u00dc\u0178\u0152]/,{isLetter:t=>e.test(t),isIdentifierChar:t=>/[0-9]/.test(t)||e.test(t)})),Ns=new Set(["\u00e0","a","de","du","des","dans","sur","sous","avec","sans","par","pour","entre","avant","apr\u00e8s","apres","depuis","vers","chez","contre","au","aux"]),Is=class{constructor(){this.name="french-keyword"}setContext(e){this.context=e}canExtract(e,t){return Rs(e[t])}extract(e,t){if(!this.context)throw Error("FrenchKeywordExtractor: context not set");let r=t,i="";for(;e.length>r&&Ms(e[r]);)i+=e[r++];if(!i)return null;const a=i.toLowerCase(),n=Ns.has(a),o=this.context.lookupKeyword(a),s=o&&o.normalized!==o.native?o.normalized:void 0;let l,p,m;if(!o&&this.context.normalizer){const e=this.context.normalizer.normalize(i);if(e.stem!==i&&e.confidence>=.7){const t=this.context.lookupKeyword(e.stem);t&&(l=t.normalized,p=e.stem,m=e.confidence)}}return{value:i,length:r-t,metadata:{normalized:s||l,stem:p,stemConfidence:m,isPreposition:n}}}}}}),Fs={};x(Fs,{FrenchTokenizer:()=>Vs,frenchTokenizer:()=>Ds});var Hs,Us,Gs,Zs,Ys,Xs=b({"src/tokenizers/french.ts"(){ci(),Zt(),$s(),yi(),Wn(),Bs(),Ks=[{native:"vrai",normalized:"true"},{native:"faux",normalized:"false"},{native:"nul",normalized:"null"},{native:"ind\u00e9fini",normalized:"undefined"},{native:"indefini",normalized:"undefined"},{native:"premier",normalized:"first"},{native:"premi\u00e8re",normalized:"first"},{native:"premiere",normalized:"first"},{native:"dernier",normalized:"last"},{native:"derni\u00e8re",normalized:"last"},{native:"derniere",normalized:"last"},{native:"suivant",normalized:"next"},{native:"pr\u00e9c\u00e9dent",normalized:"previous"},{native:"precedent",normalized:"previous"},{native:"proche",normalized:"closest"},{native:"parent",normalized:"parent"},{native:"clic",normalized:"click"},{native:"click",normalized:"click"},{native:"entr\u00e9e",normalized:"input"},{native:"entree",normalized:"input"},{native:"changement",normalized:"change"},{native:"soumission",normalized:"submit"},{native:"touche bas",normalized:"keydown"},{native:"touche haut",normalized:"keyup"},{native:"souris dessus",normalized:"mouseover"},{native:"souris dehors",normalized:"mouseout"},{native:"focus",normalized:"focus"},{native:"flou",normalized:"blur"},{native:"chargement",normalized:"load"},{native:"d\u00e9filement",normalized:"scroll"},{native:"defilement",normalized:"scroll"},{native:"je",normalized:"me"},{native:"mon",normalized:"my"},{native:"ma",normalized:"my"},{native:"mes",normalized:"my"},{native:"\u00e7a",normalized:"it"},{native:"ca",normalized:"it"},{native:"resultat",normalized:"result"},{native:"evenement",normalized:"event"},{native:"seconde",normalized:"s"},{native:"secondes",normalized:"s"},{native:"milliseconde",normalized:"ms"},{native:"millisecondes",normalized:"ms"},{native:"minute",normalized:"m"},{native:"minutes",normalized:"m"},{native:"heure",normalized:"h"},{native:"heures",normalized:"h"},{native:"prefixer",normalized:"prepend"},{native:"creer",normalized:"make"},{native:"definir",normalized:"set"},{native:"etablir",normalized:"set"},{native:"incrementer",normalized:"increment"},{native:"decrementer",normalized:"decrement"},{native:"declencher",normalized:"trigger"},{native:"defocaliser",normalized:"blur"},{native:"recuperer",normalized:"fetch"},{native:"repeter",normalized:"repeat"},{native:"arreter",normalized:"halt"},{native:"defaut",normalized:"default"},{native:"jusqua",normalized:"until"},{native:"apres",normalized:"after"},{native:"journaliser",normalized:"log"},{native:"transmuter",normalized:"morph"},{native:"tant que",normalized:"while"},{native:"inclusif",normalized:"inclusive"},{native:"exclusif",normalized:"exclusive"},{native:"caract\u00e8res",normalized:"characters"},{native:"al\u00e9atoire",normalized:"random"}],Ds=new(Vs=class extends p{constructor(){super(),this.language="fr",this.direction="ltr",this.initializeKeywordsFromProfile(Ft,Ks),this.normalizer=new qs,this.registerExtractors(_n()),this.registerExtractor(new i),this.registerExtractor(new a),this.registerExtractors([new Is]),this.registerExtractor(new ni),this.registerExtractor(new oi)}classifyToken(e){return this.isKeyword(e)?"keyword":/^\.(once|prevent|stop|debounce|throttle|queue)(\(.*\))?$/.test(e)?"event-modifier":e.startsWith("#")||e.startsWith(".")||e.startsWith("[")||e.startsWith("*")||e.startsWith("<")?"selector":e.startsWith('"')||e.startsWith("'")||/^\d/.test(e)?"literal":["==","!=","<=",">=","<",">","&&","||","!"].includes(e)?"operator":e.startsWith("/")||e.startsWith("./")||e.startsWith("http")?"url":"identifier"}})}});var Qs,Js,el,tl,rl=b({"src/tokenizers/morphology/german-normalizer.ts"(){Dn(),Hs=["an","auf","aus","ein","mit","vor","zu","ab","bei","nach","weg","um","her","hin"],Us=[{ending:"end",stem:"en",confidence:.88,type:"gerund"},{ending:"e",stem:"en",confidence:.75,type:"present"},{ending:"st",stem:"en",confidence:.8,type:"present"},{ending:"t",stem:"en",confidence:.78,type:"present"},{ending:"en",stem:"en",confidence:.85,type:"dictionary"},{ending:"test",stem:"en",confidence:.85,type:"past"},{ending:"ten",stem:"en",confidence:.82,type:"past"},{ending:"tet",stem:"en",confidence:.85,type:"past"},{ending:"te",stem:"en",confidence:.82,type:"past"},{ending:"test",stem:"en",confidence:.8,type:"subjunctive"},{ending:"ten",stem:"en",confidence:.78,type:"subjunctive"},{ending:"tet",stem:"en",confidence:.8,type:"subjunctive"},{ending:"te",stem:"en",confidence:.78,type:"subjunctive"},{ending:"e",stem:"en",confidence:.72,type:"imperative"},{ending:"t",stem:"en",confidence:.72,type:"imperative"},{ending:"en",stem:"en",confidence:.75,type:"imperative"}],Gs=[{ending:"le",stem:"eln",confidence:.82,type:"present"},{ending:"elst",stem:"eln",confidence:.85,type:"present"},{ending:"elt",stem:"eln",confidence:.85,type:"present"},{ending:"eln",stem:"eln",confidence:.88,type:"dictionary"},{ending:"re",stem:"ern",confidence:.82,type:"present"},{ending:"erst",stem:"ern",confidence:.85,type:"present"},{ending:"ert",stem:"ern",confidence:.85,type:"present"},{ending:"ern",stem:"ern",confidence:.88,type:"dictionary"}],Zs=[...Us,...Gs].sort((e,t)=>t.ending.length-e.ending.length),new(Ys=class{constructor(){this.language="de"}isNormalizable(e){return e.length>=3&&function(e){const t=e.toLowerCase();return!!(t.endsWith("en")||t.endsWith("eln")||t.endsWith("ern")||t.startsWith("ge")&&t.endsWith("t")||t.startsWith("ge")&&t.endsWith("en")||/[\u00e4\u00f6\u00fc\u00df]/i.test(e))}(e)}normalize(e){const t=e.toLowerCase();if(t.endsWith("en")&&t.length>=4)return y(e);if((t.endsWith("eln")||t.endsWith("ern"))&&t.length>=5)return y(e);const r=this.tryParticipleNormalization(t);if(r)return r;const i=this.tryConjugationNormalization(t);return i||y(e)}tryParticipleNormalization(e){for(const t of Hs)if(e.startsWith(t+"ge")){const r=e.slice(t.length),i=this.trySimpleParticipleNormalization(r);if(i){const e={removedPrefixes:["ge"],conjugationType:"participle"};return i.metadata?.removedSuffixes&&(e.removedSuffixes=i.metadata.removedSuffixes),u(t+i.stem,.95*i.confidence,e)}}return this.trySimpleParticipleNormalization(e)}trySimpleParticipleNormalization(e){if(!e.startsWith("ge"))return null;const t=e.slice(2);if(t.endsWith("t")&&t.length>=3){const e=t.slice(0,-1);return u(e+"en",.85,{removedPrefixes:["ge"],removedSuffixes:["t"],conjugationType:"participle"})}return t.endsWith("en")&&t.length>=4?u(t,.82,{removedPrefixes:["ge"],conjugationType:"participle"}):null}tryConjugationNormalization(e){for(const t of Zs)if(e.endsWith(t.ending)){const r=e.slice(0,-t.ending.length);if(2>r.length)continue;return u(r+t.stem,t.confidence,{removedSuffixes:[t.ending],conjugationType:t.type})}return null}})}});var il,al,nl,ol=b({"src/tokenizers/extractors/german-keyword.ts"(){var e;({isLetter:Qs,isIdentifierChar:Js}=(e=/[a-zA-Z\u00e4\u00f6\u00fc\u00c4\u00d6\u00dc\u00df]/,{isLetter:t=>e.test(t),isIdentifierChar:t=>/[0-9]/.test(t)||e.test(t)})),el=new Set(["an","auf","aus","bei","durch","f\u00fcr","fur","gegen","in","mit","nach","ohne","seit","\u00fcber","uber","um","unter","von","vor","zu","zwischen","bis","gegen\u00fcber","gegenuber","w\u00e4hrend","wahrend","wegen","trotz","statt","innerhalb","au\u00dferhalb","ausserhalb"]),tl=class{constructor(){this.name="german-keyword"}setContext(e){this.context=e}canExtract(e,t){return Qs(e[t])}extract(e,t){if(!this.context)throw Error("GermanKeywordExtractor: context not set");return this.extractGermanWord(e,t)}extractGermanWord(e,t){if(!this.context)return null;let r=t,i="";for(;e.length>r&&Js(e[r]);)i+=e[r++];if(!i)return null;const a=i.toLowerCase(),n=el.has(a),o=this.context.lookupKeyword(i),s=o&&o.normalized!==o.native?o.normalized:void 0;let l;if(!o&&this.context.normalizer){const e=this.context.normalizer.normalize(i);if(e.stem!==i&&e.confidence>=.7){const t=this.context.lookupKeyword(e.stem);t&&(l=t.normalized)}}return{value:i,length:r-t,metadata:{normalized:s||l,isPreposition:n}}}}}}),sl={};x(sl,{GermanTokenizer:()=>al,germanTokenizer:()=>nl});var ll,pl,ml,cl,dl=b({"src/tokenizers/german.ts"(){ci(),$t(),rl(),yi(),Wn(),ol(),il=[{native:"wahr",normalized:"true"},{native:"falsch",normalized:"false"},{native:"null",normalized:"null"},{native:"undefiniert",normalized:"undefined"},{native:"erste",normalized:"first"},{native:"erster",normalized:"first"},{native:"erstes",normalized:"first"},{native:"letzte",normalized:"last"},{native:"letzter",normalized:"last"},{native:"letztes",normalized:"last"},{native:"n\u00e4chste",normalized:"next"},{native:"nachste",normalized:"next"},{native:"n\u00e4chstgelegene",normalized:"closest"},{native:"nachstgelegene",normalized:"closest"},{native:"vorherige",normalized:"previous"},{native:"eltern",normalized:"parent"},{native:"klick",normalized:"click"},{native:"click",normalized:"click"},{native:"eingabe",normalized:"input"},{native:"\u00e4nderung",normalized:"change"},{native:"anderung",normalized:"change"},{native:"absenden",normalized:"submit"},{native:"taste unten",normalized:"keydown"},{native:"taste oben",normalized:"keyup"},{native:"maus dr\u00fcber",normalized:"mouseover"},{native:"maus druber",normalized:"mouseover"},{native:"maus weg",normalized:"mouseout"},{native:"fokus",normalized:"focus"},{native:"unsch\u00e4rfe",normalized:"blur"},{native:"unscharfe",normalized:"blur"},{native:"scrollen",normalized:"scroll"},{native:"meine",normalized:"my"},{native:"meinen",normalized:"my"},{native:"ergebnis",normalized:"result"},{native:"ziel",normalized:"target"},{native:"sekunde",normalized:"s"},{native:"sekunden",normalized:"s"},{native:"millisekunde",normalized:"ms"},{native:"millisekunden",normalized:"ms"},{native:"minute",normalized:"m"},{native:"minuten",normalized:"m"},{native:"stunde",normalized:"h"},{native:"stunden",normalized:"h"},{native:"hinzufugen",normalized:"add"},{native:"hinzufgen",normalized:"add"},{native:"loschen",normalized:"remove"},{native:"anhangen",normalized:"append"},{native:"erhohen",normalized:"increment"},{native:"ubergang",normalized:"transition"},{native:"auslosen",normalized:"trigger"},{native:"zuruckgeben",normalized:"return"},{native:"anschliessend",normalized:"then"},{native:"erh\u00f6he",normalized:"increment"},{native:"erhohe",normalized:"increment"},{native:"verringere",normalized:"decrement"},{native:"inklusiv",normalized:"inclusive"},{native:"exklusiv",normalized:"exclusive"},{native:"Zeichen",normalized:"characters"},{native:"zuf\u00e4llig",normalized:"random"}],nl=new(al=class extends p{constructor(){super(),this.language="de",this.direction="ltr",this.initializeKeywordsFromProfile(Rt,il),this.normalizer=new Ys,this.registerExtractors(_n()),this.registerExtractor(new i),this.registerExtractor(new a),this.registerExtractors([new tl]),this.registerExtractor(new ni),this.registerExtractor(new oi)}classifyToken(e){return this.isKeyword(e)?"keyword":/^\.(once|prevent|stop|debounce|throttle|queue)(\(.*\))?$/.test(e)?"event-modifier":e.startsWith("#")||e.startsWith(".")||e.startsWith("[")||e.startsWith("*")||e.startsWith("<")?"selector":e.startsWith('"')||e.startsWith("'")||/^\d/.test(e)?"literal":e.startsWith("/")||e.startsWith("./")||e.startsWith("http")?"url":"identifier"}})}}),ul={};x(ul,{IndonesianTokenizer:()=>ml,indonesianTokenizer:()=>cl});var yl,vl,fl=b({"src/tokenizers/indonesian.ts"(){ci(),ar(),yi(),Wn(),en(),ll=new Set(["di","ke","dari","pada","dengan","tanpa","untuk","oleh","antara","sebelum","sesudah","setelah","selama","sampai","hingga","sejak","menuju","tentang","terhadap","melalui","dalam","luar"]),pl=[{native:"ubah_ukuran",normalized:"resize"},{native:"tidak_ada",normalized:"no"},{native:"benar",normalized:"true"},{native:"salah",normalized:"false"},{native:"null",normalized:"null"},{native:"kosong",normalized:"null"},{native:"tidakdidefinisikan",normalized:"undefined"},{native:"tidak_terdefinisi",normalized:"undefined"},{native:"pertama",normalized:"first"},{native:"terakhir",normalized:"last"},{native:"berikutnya",normalized:"next"},{native:"sebelumnya",normalized:"previous"},{native:"terdekat",normalized:"closest"},{native:"induk",normalized:"parent"},{native:"klik",normalized:"click"},{native:"click",normalized:"click"},{native:"ubah",normalized:"change"},{native:"kirim",normalized:"submit"},{native:"tekan",normalized:"keydown"},{native:"arahkan",normalized:"mouseover"},{native:"tinggalkan",normalized:"mouseout"},{native:"kabur",normalized:"blur"},{native:"muat",normalized:"load"},{native:"gulir",normalized:"scroll"},{native:"input",normalized:"input"},{native:"milik",normalized:"my"},{native:"detik",normalized:"s"},{native:"milidetik",normalized:"ms"},{native:"menit",normalized:"m"},{native:"jam",normalized:"h"},{native:"atau",normalized:"or"},{native:"tidak",normalized:"not"},{native:"adalah",normalized:"is"},{native:"ada",normalized:"exists"},{native:"inklusif",normalized:"inclusive"},{native:"eksklusif",normalized:"exclusive"},{native:"karakter",normalized:"characters"},{native:"acak",normalized:"random"}],cl=new(ml=class extends p{constructor(){super(),this.language="id",this.direction="ltr",this.initializeKeywordsFromProfile(er,pl),this.registerExtractors(_n()),this.registerExtractor(new i),this.registerExtractor(new a),this.registerExtractors([new Ga]),this.registerExtractor(new ni),this.registerExtractor(new oi)}classifyToken(e){const t=e.toLowerCase();return ll.has(t)?"particle":this.isKeyword(t)?"keyword":/^\.(once|prevent|stop|debounce|throttle|queue)(\(.*\))?$/.test(e)?"event-modifier":e.startsWith("#")||e.startsWith(".")||e.startsWith("[")||e.startsWith("*")||e.startsWith("<")?"selector":e.startsWith('"')||e.startsWith("'")||/^\d/.test(e)?"literal":["==","!=","<=",">=","<",">","&&","||","!"].includes(e)?"operator":e.startsWith("/")||e.startsWith("./")||e.startsWith("http")?"url":"identifier"}})}});function hl(e){const t=e.charCodeAt(0);return t>=65&&90>=t||t>=97&&122>=t||("\u00f1"===e||"\u00d1"===e||"'"===e||"'"===e)}var gl,kl,zl,wl,bl,xl=b({"src/tokenizers/morphology/quechua-normalizer.ts"(){Dn(),yl=[{pattern:"shankichik",confidence:.8,conjugationType:"progressive",minStemLength:2},{pattern:"shaniku",confidence:.8,conjugationType:"progressive",minStemLength:2},{pattern:"shanki",confidence:.82,conjugationType:"progressive",minStemLength:2},{pattern:"shani",confidence:.82,conjugationType:"progressive",minStemLength:2},{pattern:"shanchik",confidence:.82,conjugationType:"progressive",minStemLength:2},{pattern:"shanku",confidence:.82,conjugationType:"progressive",minStemLength:2},{pattern:"shan",confidence:.82,conjugationType:"progressive",minStemLength:2},{pattern:"rqankichik",confidence:.8,conjugationType:"past",minStemLength:2},{pattern:"rqaniku",confidence:.8,conjugationType:"past",minStemLength:2},{pattern:"rqanki",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"rqani",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"rqanchik",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"rqanku",confidence:.82,conjugationType:"past",minStemLength:2},{pattern:"rqan",confidence:.85,conjugationType:"past",minStemLength:2},{pattern:"nqankichik",confidence:.8,conjugationType:"future",minStemLength:2},{pattern:"nqaniku",confidence:.8,conjugationType:"future",minStemLength:2},{pattern:"nqanki",confidence:.82,conjugationType:"future",minStemLength:2},{pattern:"nqani",confidence:.82,conjugationType:"future",minStemLength:2},{pattern:"nqanchik",confidence:.82,conjugationType:"future",minStemLength:2},{pattern:"nqanku",confidence:.82,conjugationType:"future",minStemLength:2},{pattern:"nqa",confidence:.85,conjugationType:"future",minStemLength:2},{pattern:"chikuy",confidence:.8,conjugationType:"compound",minStemLength:2},{pattern:"chiku",confidence:.82,conjugationType:"compound",minStemLength:2},{pattern:"chiy",confidence:.85,conjugationType:"causative",minStemLength:2,replacement:"y"},{pattern:"chiq",confidence:.85,conjugationType:"causative",minStemLength:2,replacement:"y"},{pattern:"chi",confidence:.82,conjugationType:"causative",minStemLength:2},{pattern:"kuy",confidence:.82,conjugationType:"reflexive",minStemLength:2},{pattern:"rqa",confidence:.85,conjugationType:"past",minStemLength:2},{pattern:"rqan",confidence:.85,conjugationType:"past",minStemLength:2},{pattern:"sha",confidence:.82,conjugationType:"progressive",minStemLength:2},{pattern:"na",confidence:.85,conjugationType:"obligation",minStemLength:2},{pattern:"manmi",confidence:.8,conjugationType:"potential",minStemLength:2},{pattern:"man",confidence:.8,conjugationType:"potential",minStemLength:2},{pattern:"nkichik",confidence:.8,conjugationType:"present",minStemLength:2},{pattern:"niku",confidence:.8,conjugationType:"present",minStemLength:2},{pattern:"nki",confidence:.82,conjugationType:"present",minStemLength:2},{pattern:"nchik",confidence:.82,conjugationType:"present",minStemLength:2},{pattern:"nku",confidence:.82,conjugationType:"present",minStemLength:2},{pattern:"ni",confidence:.85,conjugationType:"present",minStemLength:2},{pattern:"ku",confidence:.82,conjugationType:"reflexive",minStemLength:2},{pattern:"ychik",confidence:.82,conjugationType:"imperative",minStemLength:2},{pattern:"y",confidence:.9,conjugationType:"dictionary",minStemLength:2},{pattern:"sqa",confidence:.82,conjugationType:"passive",minStemLength:2},{pattern:"ska",confidence:.82,conjugationType:"passive",minStemLength:2},{pattern:"kama",confidence:.7,conjugationType:"dictionary",minStemLength:2},{pattern:"manta",confidence:.7,conjugationType:"dictionary",minStemLength:2},{pattern:"man",confidence:.7,conjugationType:"dictionary",minStemLength:2},{pattern:"wan",confidence:.7,conjugationType:"dictionary",minStemLength:2},{pattern:"pi",confidence:.7,conjugationType:"dictionary",minStemLength:2},{pattern:"ta",confidence:.7,conjugationType:"dictionary",minStemLength:2}],vl=new class{constructor(){this.language="qu"}isNormalizable(e){if(!function(e){for(const t of e)if(hl(t))return!0;return!1}(e))return!1;if(3>e.length)return!1;return!!/[aiu]/.test(e.toLowerCase())}normalize(e){const t=e.toLowerCase();for(const e of yl)if(t.endsWith(e.pattern)){let r=t.slice(0,-e.pattern.length);e.replacement&&!r.endsWith(e.replacement)&&(r+=e.replacement);if((e.minStemLength??2)>r.length)continue;if(!this.isValidStem(r))continue;const i={removedSuffixes:[e.pattern]};return e.conjugationType&&(i.conjugationType=e.conjugationType),u(r,e.confidence,i)}return y(e)}isValidStem(e){if(2>e.length)return!1;if(!/[aeiou]/.test(e))return!1;return!new Set(["ta","man","pi","wan","pa","kama","hina"]).has(e)}}}}),Tl={};x(Tl,{QuechuaTokenizer:()=>wl,quechuaTokenizer:()=>bl});var Sl,jl,El,Ll,Cl=b({"src/tokenizers/quechua.ts"(){ci(),Sr(),xl(),yi(),Wn(),gn(),gl=class{constructor(){this.name="quechua-string-literal"}canExtract(e,t){return'"'===e[t]||"'"===e[t]||"`"===e[t]}extract(e,t){const r=e[t];let i=r,a=t+1;for(;e.length>a;){const t=e[a];if(t===r)return i+=t,{value:i,length:i.length};"\\"===t&&e.length>a+1?(i+=t+e[a+1],a+=2):(i+=t,a++)}return null}},kl=new Set(["-ta","-man","-manta","-pi","-wan","-paq","-kama","-rayku","-hina","ta","man","manta","pi","wan","paq","kama","hina","pa"]),zl=[{native:"sanampa",normalized:"characters"},{native:"cheqaq",normalized:"true"},{native:"ar\u00ed",normalized:"true"},{native:"ari",normalized:"true"},{native:"manan",normalized:"false"},{native:"mana",normalized:"false"},{native:"ch'usaq",normalized:"null"},{native:"chusaq",normalized:"null"},{native:"mana riqsisqa",normalized:"undefined"},{native:"\u00f1awpaqpi",normalized:"before"},{native:"nawpaqpi",normalized:"before"},{native:"qhepapi",normalized:"after"},{native:"qhipapi",normalized:"after"},{native:"\u00f1awpaq",normalized:"first"},{native:"nawpaq",normalized:"first"},{native:"qhipa",normalized:"last"},{native:"hamuq",normalized:"next"},{native:"qhipantin",normalized:"next"},{native:"\u00f1awpaqnin",normalized:"previous"},{native:"\u00f1awpaq kaq",normalized:"previous"},{native:"\u00f1awpaq_kaq",normalized:"previous"},{native:"kaylla",normalized:"closest"},{native:"ukupi",normalized:"in"},{native:"k_iri",normalized:"window"},{native:"hatun_kay",normalized:"resize"},{native:"mana_kanchu",normalized:"no"},{native:"mana_riqsisqa",normalized:"undefined"},{native:"qaylla",normalized:"closest"},{native:"tayta",normalized:"parent"},{native:"llikllay",normalized:"click"},{native:"\u00f1itiy",normalized:"click"},{native:"\u00f1it'iy",normalized:"click"},{native:"click",normalized:"click"},{native:"yaykuy",normalized:"input"},{native:"llave uray",normalized:"keydown"},{native:"llave hawa",normalized:"keyup"},{native:"mausiri yayku",normalized:"mouseover"},{native:"mausiri lluqsi",normalized:"mouseout"},{native:"rat\u00f1itiy",normalized:"mousedown"},{native:"rathuqariy",normalized:"mouseup"},{native:"qhaway",normalized:"focus"},{native:"mana qhaway",normalized:"blur"},{native:"kargay",normalized:"load"},{native:"muyuy",normalized:"scroll"},{native:"\u00f1uqa",normalized:"me"},{native:"nuqa",normalized:"me"},{native:"\u00f1uqap",normalized:"my"},{native:"nuqap",normalized:"my"},{native:"chay",normalized:"it"},{native:"chaymi",normalized:"it"},{native:"lluqsiy",normalized:"result"},{native:"ruway",normalized:"event"},{native:"maypi",normalized:"target"},{native:"sikundu",normalized:"s"},{native:"segundu",normalized:"s"},{native:"waranqa sikundu",normalized:"ms"},{native:"minutu",normalized:"m"},{native:"ura",normalized:"h"},{native:"hora",normalized:"h"},{native:"chaypim",normalized:"on"},{native:"kaypi",normalized:"on"},{native:"chayqa",normalized:"then"},{native:"chaymanta",normalized:"then"},{native:"chaymantataq",normalized:"then"},{native:"hinaspa",normalized:"then"},{native:"tukukuy",normalized:"end"},{native:"puchukay",normalized:"end"},{native:"kaykama",normalized:"until"},{native:"yapay",normalized:"add"},{native:"t'ikray",normalized:"toggle"},{native:"tikray",normalized:"toggle"},{native:"qhawachiy",normalized:"focus"},{native:"mana qhawachiy",normalized:"blur"},{native:"-manta",normalized:"from"},{native:"imaymanata",normalized:"random"}],bl=new(wl=class extends p{constructor(){super(),this.language="qu",this.direction="ltr",this.initializeKeywordsFromProfile(wr,zl),this.setNormalizer(vl),this.registerExtractors(_n()),this.registerExtractor(new gl),this.registerExtractor(new a),this.registerExtractor(new mn),this.registerExtractor(new ni),this.registerExtractor(new oi)}classifyToken(e){const t=e.toLowerCase();return kl.has(t)?"particle":this.isKeyword(t)?"keyword":e.startsWith("/")||e.startsWith("./")||e.startsWith("../")||e.startsWith("http")?"url":/^\.(once|prevent|stop|debounce|throttle|queue)(\(.*\))?$/.test(e)?"event-modifier":e.startsWith("#")||e.startsWith(".")||e.startsWith("[")||e.startsWith("*")||e.startsWith("<")?"selector":e.startsWith('"')||e.startsWith("'")||/^\d/.test(e)?"literal":["==","!=","<=",">=","<",">","&&","||","!"].includes(e)?"operator":"identifier"}})}}),_l={};x(_l,{SwahiliTokenizer:()=>El,swahiliTokenizer:()=>Ll});var Pl,Wl,Al,ql,Ol,Rl,Ml=b({"src/tokenizers/swahili.ts"(){ci(),Pr(),yi(),Wn(),nn(),Sl=new Set(["kwa","na","katika","kwenye","kutoka","hadi","mpaka","kabla","baada","wakati","bila","kuhusu","karibu","mbele","nyuma","ndani","nje","juu","chini","kati"]),jl=[{native:"badilisha_ukubwa",normalized:"resize"},{native:"kweli",normalized:"true"},{native:"uongo",normalized:"false"},{native:"null",normalized:"null"},{native:"haijafafanuliwa",normalized:"undefined"},{native:"kwanza",normalized:"first"},{native:"wamwisho",normalized:"last"},{native:"ifuatayo",normalized:"next"},{native:"ijayo",normalized:"next"},{native:"iliyotangulia",normalized:"previous"},{native:"iliyopita",normalized:"previous"},{native:"karibu",normalized:"closest"},{native:"mzazi",normalized:"parent"},{native:"bonyeza",normalized:"click"},{native:"click",normalized:"click"},{native:"ganti",normalized:"change"},{native:"wasilisha",normalized:"submit"},{native:"bonyeza kitufe",normalized:"keydown"},{native:"sogeza juu",normalized:"mouseover"},{native:"sogeza nje",normalized:"mouseout"},{native:"panya_shuka",normalized:"mousedown"},{native:"panya_juu",normalized:"mouseup"},{native:"panya_ingia",normalized:"mouseenter"},{native:"panya_toka",normalized:"mouseleave"},{native:"panya_nje",normalized:"mouseout"},{native:"panya_sogea",normalized:"mousemove"},{native:"kitufe_shuka",normalized:"keydown"},{native:"kitufe_juu",normalized:"keyup"},{native:"fifia",normalized:"blur"},{native:"pakia",normalized:"load"},{native:"sukuma",normalized:"scroll"},{native:"input",normalized:"input"},{native:"ingizo",normalized:"input"},{native:"yangu",normalized:"my"},{native:"wangu",normalized:"my"},{native:"changu",normalized:"my"},{native:"langu",normalized:"my"},{native:"sekunde",normalized:"s"},{native:"millisekunde",normalized:"ms"},{native:"dakika",normalized:"m"},{native:"saa",normalized:"h"},{native:"au",normalized:"or"},{native:"si",normalized:"not"},{native:"ni",normalized:"is"},{native:"ipo",normalized:"exists"},{native:"tupu",normalized:"empty"},{native:"herufi",normalized:"characters"},{native:"nasibu",normalized:"random"}],Ll=new(El=class extends p{constructor(){super(),this.language="sw",this.direction="ltr",this.initializeKeywordsFromProfile(Er,jl),this.registerExtractors(_n()),this.registerExtractor(new i),this.registerExtractor(new a),this.registerExtractors([new Ja]),this.registerExtractor(new ni),this.registerExtractor(new oi)}classifyToken(e){const t=e.toLowerCase();return Sl.has(t)?"particle":this.isKeyword(t)?"keyword":/^\.(once|prevent|stop|debounce|throttle|queue)(\(.*\))?$/.test(e)?"event-modifier":e.startsWith("#")||e.startsWith(".")||e.startsWith("[")||e.startsWith("*")||e.startsWith("<")?"selector":e.startsWith('"')||e.startsWith("'")||/^\d/.test(e)?"literal":["==","!=","<=",">=","<",">","&&","||","!"].includes(e)?"operator":e.startsWith("/")||e.startsWith("./")||e.startsWith("http")?"url":"identifier"}})}});function Nl(e){return/[\u00e0\u00e8\u00e9\u00ec\u00ed\u00ee\u00f2\u00f3\u00f9\u00fa\u00c0\u00c8\u00c9\u00cc\u00cd\u00ce\u00d2\u00d3\u00d9\u00da]/.test(e)}var Il,$l,Kl=b({"src/tokenizers/morphology/italian-normalizer.ts"(){Dn(),Pl=["si","mi","ti","ci","vi"],Wl=[{ending:"ando",stem:"are",confidence:.88,type:"gerund"},{ending:"ato",stem:"are",confidence:.88,type:"participle"},{ending:"ata",stem:"are",confidence:.88,type:"participle"},{ending:"ati",stem:"are",confidence:.88,type:"participle"},{ending:"ate",stem:"are",confidence:.88,type:"participle"},{ending:"o",stem:"are",confidence:.75,type:"present"},{ending:"i",stem:"are",confidence:.72,type:"present"},{ending:"a",stem:"are",confidence:.75,type:"present"},{ending:"iamo",stem:"are",confidence:.85,type:"present"},{ending:"ate",stem:"are",confidence:.85,type:"present"},{ending:"ano",stem:"are",confidence:.85,type:"present"},{ending:"avo",stem:"are",confidence:.88,type:"past"},{ending:"avi",stem:"are",confidence:.88,type:"past"},{ending:"ava",stem:"are",confidence:.88,type:"past"},{ending:"avamo",stem:"are",confidence:.88,type:"past"},{ending:"avate",stem:"are",confidence:.88,type:"past"},{ending:"avano",stem:"are",confidence:.88,type:"past"},{ending:"ai",stem:"are",confidence:.85,type:"past"},{ending:"asti",stem:"are",confidence:.88,type:"past"},{ending:"\u00f2",stem:"are",confidence:.85,type:"past"},{ending:"ammo",stem:"are",confidence:.88,type:"past"},{ending:"aste",stem:"are",confidence:.88,type:"past"},{ending:"arono",stem:"are",confidence:.88,type:"past"},{ending:"i",stem:"are",confidence:.72,type:"subjunctive"},{ending:"ino",stem:"are",confidence:.82,type:"subjunctive"},{ending:"a",stem:"are",confidence:.75,type:"imperative"},{ending:"are",stem:"are",confidence:.92,type:"dictionary"}],Al=[{ending:"endo",stem:"ere",confidence:.88,type:"gerund"},{ending:"uto",stem:"ere",confidence:.85,type:"participle"},{ending:"uta",stem:"ere",confidence:.85,type:"participle"},{ending:"uti",stem:"ere",confidence:.85,type:"participle"},{ending:"ute",stem:"ere",confidence:.85,type:"participle"},{ending:"o",stem:"ere",confidence:.72,type:"present"},{ending:"i",stem:"ere",confidence:.72,type:"present"},{ending:"e",stem:"ere",confidence:.72,type:"present"},{ending:"iamo",stem:"ere",confidence:.85,type:"present"},{ending:"ete",stem:"ere",confidence:.85,type:"present"},{ending:"ono",stem:"ere",confidence:.82,type:"present"},{ending:"evo",stem:"ere",confidence:.88,type:"past"},{ending:"evi",stem:"ere",confidence:.88,type:"past"},{ending:"eva",stem:"ere",confidence:.88,type:"past"},{ending:"evamo",stem:"ere",confidence:.88,type:"past"},{ending:"evate",stem:"ere",confidence:.88,type:"past"},{ending:"evano",stem:"ere",confidence:.88,type:"past"},{ending:"ei",stem:"ere",confidence:.85,type:"past"},{ending:"etti",stem:"ere",confidence:.85,type:"past"},{ending:"esti",stem:"ere",confidence:.88,type:"past"},{ending:"\u00e9",stem:"ere",confidence:.85,type:"past"},{ending:"ette",stem:"ere",confidence:.85,type:"past"},{ending:"emmo",stem:"ere",confidence:.88,type:"past"},{ending:"este",stem:"ere",confidence:.88,type:"past"},{ending:"erono",stem:"ere",confidence:.88,type:"past"},{ending:"ettero",stem:"ere",confidence:.88,type:"past"},{ending:"ere",stem:"ere",confidence:.92,type:"dictionary"}],ql=[{ending:"endo",stem:"ire",confidence:.85,type:"gerund"},{ending:"ito",stem:"ire",confidence:.85,type:"participle"},{ending:"ita",stem:"ire",confidence:.85,type:"participle"},{ending:"iti",stem:"ire",confidence:.85,type:"participle"},{ending:"ite",stem:"ire",confidence:.85,type:"participle"},{ending:"o",stem:"ire",confidence:.7,type:"present"},{ending:"i",stem:"ire",confidence:.7,type:"present"},{ending:"e",stem:"ire",confidence:.7,type:"present"},{ending:"iamo",stem:"ire",confidence:.85,type:"present"},{ending:"ite",stem:"ire",confidence:.85,type:"present"},{ending:"ono",stem:"ire",confidence:.78,type:"present"},{ending:"isco",stem:"ire",confidence:.85,type:"present"},{ending:"isci",stem:"ire",confidence:.85,type:"present"},{ending:"isce",stem:"ire",confidence:.85,type:"present"},{ending:"iscono",stem:"ire",confidence:.88,type:"present"},{ending:"ivo",stem:"ire",confidence:.88,type:"past"},{ending:"ivi",stem:"ire",confidence:.88,type:"past"},{ending:"iva",stem:"ire",confidence:.88,type:"past"},{ending:"ivamo",stem:"ire",confidence:.88,type:"past"},{ending:"ivate",stem:"ire",confidence:.88,type:"past"},{ending:"ivano",stem:"ire",confidence:.88,type:"past"},{ending:"ii",stem:"ire",confidence:.85,type:"past"},{ending:"isti",stem:"ire",confidence:.88,type:"past"},{ending:"\u00ec",stem:"ire",confidence:.85,type:"past"},{ending:"immo",stem:"ire",confidence:.88,type:"past"},{ending:"iste",stem:"ire",confidence:.88,type:"past"},{ending:"irono",stem:"ire",confidence:.88,type:"past"},{ending:"ire",stem:"ire",confidence:.92,type:"dictionary"}],Ol=[...Wl,...Al,...ql].sort((e,t)=>t.ending.length-e.ending.length),new(Rl=class{constructor(){this.language="it"}isNormalizable(e){return e.length>=3&&function(e){const t=e.toLowerCase();if(t.endsWith("are")||t.endsWith("ere")||t.endsWith("ire"))return!0;if(t.endsWith("ando")||t.endsWith("endo"))return!0;if(t.endsWith("ato")||t.endsWith("uto")||t.endsWith("ito"))return!0;if(t.endsWith("arsi")||t.endsWith("ersi")||t.endsWith("irsi"))return!0;for(const t of e)if(Nl(t))return!0;return!1}(e)}normalize(e){const t=e.toLowerCase();if((t.endsWith("are")||t.endsWith("ere")||t.endsWith("ire"))&&!Pl.some(e=>t.endsWith(e+"are")||t.endsWith(e+"ere")||t.endsWith(e+"ire")))return y(e);const r=this.tryReflexiveNormalization(t);if(r)return r;const i=this.tryConjugationNormalization(t);return i||y(e)}tryReflexiveNormalization(e){for(const t of Pl)if(e.endsWith(t)){const r=e.slice(0,-t.length);if(r.endsWith("ar")||r.endsWith("er")||r.endsWith("ir")){return u(r+"e",.88,{removedSuffixes:[t],conjugationType:"reflexive"})}if(r.endsWith("are")||r.endsWith("ere")||r.endsWith("ire"))return u(r,.88,{removedSuffixes:[t],conjugationType:"reflexive"});const i=this.tryConjugationNormalization(r);if(i&&i.stem!==r)return u(i.stem,.95*i.confidence,{removedSuffixes:[t,...i.metadata?.removedSuffixes||[]],conjugationType:"reflexive"})}return null}tryConjugationNormalization(e){for(const t of Ol)if(e.endsWith(t.ending)){const r=e.slice(0,-t.ending.length);if(2>r.length)continue;return u(r+t.stem,t.confidence,{removedSuffixes:[t.ending],conjugationType:t.type})}return null}})}});var Vl,Dl,Bl,Fl,Hl=b({"src/tokenizers/extractors/romance-language-keyword.ts"(){Il=class{constructor(e,t,r){this.name=e;const i=(a=t,{isLetter:e=>a.test(e),isIdentifierChar:e=>/[0-9]/.test(e)||a.test(e)});var a;this.isLetter=i.isLetter,this.isIdentifierChar=i.isIdentifierChar,this.prepositions=r}setContext(e){this.context=e}canExtract(e,t){return this.isLetter(e[t])}extract(e,t){if(!this.context)throw Error(this.name+": context not set");let r=t,i="";for(;e.length>r&&this.isIdentifierChar(e[r]);)i+=e[r++];if(!i)return null;const a=i.toLowerCase(),n=this.prepositions.has(a),o=this.context.lookupKeyword(a),s=o&&o.normalized!==o.native?o.normalized:void 0;let l;if(!o&&this.context.normalizer){const e=this.context.normalizer.normalize(i);if(e.stem!==i&&e.confidence>=.7){const t=this.context.lookupKeyword(e.stem);t&&(l=t.normalized)}}return{value:i,length:r-t,metadata:{normalized:s||l,isPreposition:n}}}},$l=new Set(["in","a","di","da","con","su","per","tra","fra","dopo","prima","dentro","fuori","sopra","sotto","al","allo","alla","ai","agli","alle","del","dello","della","dei","degli","delle","dal","dallo","dalla","dai","dagli","dalle","nel","nello","nella","nei","negli","nelle","sul","sullo","sulla","sui","sugli","sulle"])}}),Ul={};x(Ul,{ItalianTokenizer:()=>Bl,italianTokenizer:()=>Fl});var Gl,Zl,Yl,Xl=b({"src/tokenizers/italian.ts"(){ci(),Kl(),sr(),yi(),Wn(),Hl(),Vl=new Set(["in","a","di","da","con","su","per","tra","fra","dopo","prima","dentro","fuori","sopra","sotto","al","allo","alla","ai","agli","alle","del","dello","della","dei","degli","delle","dal","dallo","dalla","dai","dagli","dalle","nel","nello","nella","nei","negli","nelle","sul","sullo","sulla","sui","sugli","sulle"]),Dl=[{native:"vero",normalized:"true"},{native:"falso",normalized:"false"},{native:"nullo",normalized:"null"},{native:"indefinito",normalized:"undefined"},{native:"primo",normalized:"first"},{native:"prima",normalized:"first"},{native:"ultimo",normalized:"last"},{native:"ultima",normalized:"last"},{native:"prossimo",normalized:"next"},{native:"successivo",normalized:"next"},{native:"precedente",normalized:"previous"},{native:"vicino",normalized:"closest"},{native:"padre",normalized:"parent"},{native:"clic",normalized:"click"},{native:"click",normalized:"click"},{native:"fare clic",normalized:"click"},{native:"input",normalized:"input"},{native:"cambio",normalized:"change"},{native:"invio",normalized:"submit"},{native:"tasto gi\u00f9",normalized:"keydown"},{native:"tasto su",normalized:"keyup"},{native:"mouse sopra",normalized:"mouseover"},{native:"mouse fuori",normalized:"mouseout"},{native:"fuoco",normalized:"focus"},{native:"sfuocatura",normalized:"blur"},{native:"caricamento",normalized:"load"},{native:"scorrimento",normalized:"scroll"},{native:"io",normalized:"me"},{native:"me",normalized:"me"},{native:"destinazione",normalized:"target"},{native:"secondo",normalized:"s"},{native:"secondi",normalized:"s"},{native:"millisecondo",normalized:"ms"},{native:"millisecondi",normalized:"ms"},{native:"minuto",normalized:"m"},{native:"minuti",normalized:"m"},{native:"ora",normalized:"h"},{native:"ore",normalized:"h"},{native:"fino a",normalized:"until"},{native:"prima di",normalized:"before"},{native:"dopo di",normalized:"after"},{native:"dentro di",normalized:"into"},{native:"fuori di",normalized:"out"},{native:"aggiungere",normalized:"add"},{native:"aggiungi",normalized:"add"},{native:"rimuovi",normalized:"remove"},{native:"elimina",normalized:"remove"},{native:"togli",normalized:"remove"},{native:"metti",normalized:"put"},{native:"inserisci",normalized:"put"},{native:"prendi",normalized:"take"},{native:"fai",normalized:"make"},{native:"crea",normalized:"make"},{native:"clona",normalized:"clone"},{native:"copia",normalized:"clone"},{native:"imposta",normalized:"set"},{native:"ottieni",normalized:"get"},{native:"incrementa",normalized:"increment"},{native:"aumenta",normalized:"increment"},{native:"decrementa",normalized:"decrement"},{native:"diminuisci",normalized:"decrement"},{native:"registra",normalized:"log"},{native:"mostra",normalized:"show"},{native:"visualizza",normalized:"show"},{native:"nascondi",normalized:"hide"},{native:"anima",normalized:"transition"},{native:"scatena",normalized:"trigger"},{native:"attiva",normalized:"trigger"},{native:"invia",normalized:"send"},{native:"focalizza",normalized:"focus"},{native:"sfuoca",normalized:"blur"},{native:"vai",normalized:"go"},{native:"naviga",normalized:"go"},{native:"aspetta",normalized:"wait"},{native:"attendi",normalized:"wait"},{native:"recupera",normalized:"fetch"},{native:"stabilizza",normalized:"settle"},{native:"ripeti",normalized:"repeat"},{native:"continua",normalized:"continue"},{native:"ferma",normalized:"halt"},{native:"lancia",normalized:"throw"},{native:"chiama",normalized:"call"},{native:"ritorna",normalized:"return"},{native:"inizializza",normalized:"init"},{native:"installa",normalized:"install"},{native:"misura",normalized:"measure"},{native:"e",normalized:"and"},{native:"o",normalized:"or"},{native:"non",normalized:"not"},{native:"\u00e8",normalized:"is"},{native:"esiste",normalized:"exists"},{native:"vuoto",normalized:"empty"},{native:"toggle",normalized:"toggle"},{native:"di",normalized:"tell"},{native:"inclusivo",normalized:"inclusive"},{native:"esclusivo",normalized:"exclusive"},{native:"caratteri",normalized:"characters"},{native:"casuale",normalized:"random"}],Fl=new(Bl=class extends p{constructor(){super(),this.language="it",this.direction="ltr",this.initializeKeywordsFromProfile(ir,Dl),this.setNormalizer(new Rl),this.registerExtractors(_n()),this.registerExtractor(new i),this.registerExtractor(new a),this.registerExtractors([new Il("italian-keyword",/[a-zA-Z\u00e0\u00e8\u00e9\u00ec\u00ed\u00ee\u00f2\u00f3\u00f9\u00fa\u00c0\u00c8\u00c9\u00cc\u00cd\u00ce\u00d2\u00d3\u00d9\u00da]/,$l)]),this.registerExtractor(new ni),this.registerExtractor(new oi)}classifyToken(e){const t=e.toLowerCase();return Vl.has(t)?"particle":this.isKeyword(t)?"keyword":/^\.(once|prevent|stop|debounce|throttle|queue)(\(.*\))?$/.test(e)?"event-modifier":e.startsWith("#")||e.startsWith(".")||e.startsWith("[")||e.startsWith("*")||e.startsWith("<")?"selector":e.startsWith('"')||e.startsWith("'")||/^\d/.test(e)?"literal":["==","!=","<=",">=","<",">","&&","||","!"].includes(e)?"operator":e.startsWith("/")||e.startsWith("./")||e.startsWith("http")?"url":"identifier"}})}}),Ql={};x(Ql,{VietnameseTokenizer:()=>Zl,vietnameseTokenizer:()=>Yl});var Jl,ep,tp,rp,ip,ap,np=b({"src/tokenizers/vietnamese.ts"(){ci(),Hr(),da(),yi(),Wn(),Gl=[{native:"\u0111\u00fang",normalized:"true"},{native:"sai",normalized:"false"},{native:"null",normalized:"null"},{native:"kh\u00f4ng x\u00e1c \u0111\u1ecbnh",normalized:"undefined"},{native:"\u0111\u1ea7u ti\u00ean",normalized:"first"},{native:"cu\u1ed1i c\u00f9ng",normalized:"last"},{native:"ti\u1ebfp theo",normalized:"next"},{native:"tr\u01b0\u1edbc \u0111\u00f3",normalized:"previous"},{native:"g\u1ea7n nh\u1ea5t",normalized:"closest"},{native:"cha",normalized:"parent"},{native:"nh\u1ea5p",normalized:"click"},{native:"nh\u1ea5p chu\u1ed9t",normalized:"click"},{native:"click",normalized:"click"},{native:"nh\u1ea5p \u0111\u00fap",normalized:"dblclick"},{native:"nh\u1eadp",normalized:"input"},{native:"thay \u0111\u1ed5i",normalized:"change"},{native:"g\u1eedi bi\u1ec3u m\u1eabu",normalized:"submit"},{native:"ph\u00edm xu\u1ed1ng",normalized:"keydown"},{native:"ph\u00edm l\u00ean",normalized:"keyup"},{native:"chu\u1ed9t v\u00e0o",normalized:"mouseover"},{native:"chu\u1ed9t ra",normalized:"mouseout"},{native:"t\u1ea3i trang",normalized:"load"},{native:"cu\u1ed9n",normalized:"scroll"},{native:"c\u1ee7a t\u00f4i",normalized:"my"},{native:"c\u1ee7a n\u00f3",normalized:"its"},{native:"gi\u00e2y",normalized:"s"},{native:"mili gi\u00e2y",normalized:"ms"},{native:"ph\u00fat",normalized:"m"},{native:"gi\u1edd",normalized:"h"},{native:"th\u00eam v\u00e0o cu\u1ed1i",normalized:"append"},{native:"nh\u00e2n b\u1ea3n",normalized:"clone"},{native:"t\u1ea1o ra",normalized:"make"},{native:"\u0111\u1eb7t gi\u00e1 tr\u1ecb",normalized:"set"},{native:"gi\u00e1 tr\u1ecb",normalized:"value"},{native:"ghi nh\u1eadt k\u00fd",normalized:"log"},{native:"chuy\u1ec3n t\u1edbi",normalized:"go"},{native:"ng\u01b0\u1ee3c l\u1ea1i",normalized:"else"},{native:"l\u1eb7p",normalized:"repeat"},{native:"ho\u1eb7c",normalized:"or"},{native:"kh\u00f4ng",normalized:"not"},{native:"l\u00e0",normalized:"is"},{native:"t\u1ed3n t\u1ea1i",normalized:"exists"},{native:"r\u1ed7ng",normalized:"empty"},{native:"javascript",normalized:"js"},{native:"bao g\u1ed3m",normalized:"inclusive"},{native:"lo\u1ea1i tr\u1eeb",normalized:"exclusive"},{native:"k\u00fd t\u1ef1",normalized:"characters"},{native:"ng\u1eabu nhi\u00ean",normalized:"random"}],Yl=new(Zl=class extends p{constructor(){super(),this.language="vi",this.direction="ltr",this.initializeKeywordsFromProfile(Vr,Gl),this.registerExtractors(_n()),this.registerExtractor(new i),this.registerExtractor(new a),this.registerExtractors([new Yi]),this.registerExtractor(new ni),this.registerExtractor(new oi)}classifyToken(e){const t=e.toLowerCase();return this.isKeyword(t)?"keyword":/^\.(once|prevent|stop|debounce|throttle|queue)(\(.*\))?$/.test(e)?"event-modifier":e.startsWith("#")||e.startsWith(".")||e.startsWith("[")||e.startsWith("*")||e.startsWith("<")?"selector":e.startsWith('"')||e.startsWith("'")||/^\d/.test(e)?"literal":["==","!=","<=",">=","<",">","&&","||","!"].includes(e)?"operator":e.startsWith("/")||e.startsWith("./")||e.startsWith("http")?"url":"identifier"}})}}),op=b({"src/tokenizers/morphology/polish-normalizer.ts"(){Dn(),Jl=new Map([["prze\u0142\u0105cz","prze\u0142\u0105cza\u0107"],["przelacz","przelaczac"],["dodaj","dodawa\u0107"],["usu\u0144","usuwa\u0107"],["usun","usuwac"],["umie\u015b\u0107","umieszcza\u0107"],["umiesc","umieszczac"],["wstaw","wstawia\u0107"],["ustaw","ustawia\u0107"],["pobierz","pobiera\u0107"],["we\u017a","bra\u0107"],["wez","brac"],["zwi\u0119ksz","zwi\u0119ksza\u0107"],["zwieksz","zwiekszac"],["zmniejsz","zmniejsza\u0107"],["poka\u017c","pokazywa\u0107"],["pokaz","pokazywac"],["ukryj","ukrywa\u0107"],["schowaj","schowywa\u0107"],["czekaj","czeka\u0107"],["poczekaj","poczeka\u0107"],["id\u017a","i\u015b\u0107"],["idz","isc"],["przejd\u017a","przej\u015b\u0107"],["przejdz","przejsc"],["wywo\u0142aj","wywo\u0142ywa\u0107"],["wywolaj","wywolywac"],["wy\u015blij","wysy\u0142a\u0107"],["wyslij","wysylac"],["loguj","logowa\u0107"],["wypisz","wypisywa\u0107"],["sklonuj","sklonowa\u0107"],["kopiuj","kopiowa\u0107"],["zamie\u0144","zamienia\u0107"],["zamien","zamieniac"],["utw\u00f3rz","tworzy\u0107"],["utworz","tworzyc"],["stw\u00f3rz","stwarza\u0107"],["stworz","stwarzac"],["skup","skupia\u0107"],["rozmyj","rozmywa\u0107"],["nawiguj","nawigowa\u0107"],["za\u0142aduj","\u0142adowa\u0107"],["zaladuj","ladowac"],["powt\u00f3rz","powtarza\u0107"],["powtorz","powtarzac"],["kontynuuj","kontynuowa\u0107"],["zatrzymaj","zatrzymywa\u0107"],["przerwij","przerywa\u0107"],["rzu\u0107","rzuca\u0107"],["rzuc","rzucac"],["zwr\u00f3\u0107","zwraca\u0107"],["zwroc","zwracac"],["inicjuj","inicjowa\u0107"],["zainstaluj","instalowa\u0107"],["zmierz","mierzy\u0107"]]),new(ep=class{constructor(){this.language="pl"}isNormalizable(e){return e.length>=3&&/[a-zA-Z\u0105\u0119\u0107\u0144\u00f3\u015b\u017a\u017c\u0142\u0104\u0118\u0106\u0143\u00d3\u015a\u0179\u017b\u0141]/.test(e)}normalize(e){const t=e.toLowerCase();if(this.isInfinitive(t))return y(t);const r=this.tryImperativeNormalization(t);if(r)return r;const i=this.tryPastTenseNormalization(t);if(i)return i;const a=this.tryPresentTenseNormalization(t);return a||y(t)}isInfinitive(e){return["a\u0107","e\u0107","i\u0107","y\u0107","\u0105\u0107","owa\u0107","iwa\u0107","ywa\u0107"].some(t=>e.endsWith(t))}tryImperativeNormalization(e){return Jl.has(e)?u(Jl.get(e),.95,{removedSuffixes:["imperative"],conjugationType:"imperative"}):e.endsWith("aj")?u(e.slice(0,-2)+"a\u0107",.8,{removedSuffixes:["aj"],conjugationType:"imperative"}):e.endsWith("uj")?u(e.slice(0,-2)+"owa\u0107",.8,{removedSuffixes:["uj"],conjugationType:"imperative"}):e.endsWith("ij")?u(e.slice(0,-2)+"i\u0107",.75,{removedSuffixes:["ij"],conjugationType:"imperative"}):null}tryPresentTenseNormalization(e){return e.endsWith("uj\u0119")||e.endsWith("uje")?u(e.slice(0,-3)+"owa\u0107",.85,{removedSuffixes:["uj\u0119"],conjugationType:"present"}):e.endsWith("am")&&e.length>3?u(e.slice(0,-2)+"a\u0107",.8,{removedSuffixes:["am"],conjugationType:"present"}):e.endsWith("em")&&e.length>3?u(e.slice(0,-2)+"e\u0107",.75,{removedSuffixes:["em"],conjugationType:"present"}):e.endsWith("\u0119")&&e.length>2?u(e.slice(0,-1)+"a\u0107",.7,{removedSuffixes:["\u0119"],conjugationType:"present"}):null}tryPastTenseNormalization(e){if(e.endsWith("a\u0142em")||e.endsWith("a\u0142am"))return u(e.slice(0,-4)+"a\u0107",.85,{removedSuffixes:[e.slice(-4)],conjugationType:"past"});if(e.endsWith("a\u0142")||e.endsWith("a\u0142a")){const t=e.endsWith("a\u0142a")?3:2;return u(e.slice(0,-t)+"a\u0107",.8,{removedSuffixes:[e.slice(-t)],conjugationType:"past"})}if(e.endsWith("i\u0142em")||e.endsWith("i\u0142am")||e.endsWith("ilem")||e.endsWith("ilam"))return u(e.slice(0,-4)+"i\u0107",.85,{removedSuffixes:[e.slice(-4)],conjugationType:"past"});if(e.endsWith("i\u0142")||e.endsWith("i\u0142a")||e.endsWith("il")||e.endsWith("ila")){const t=e.endsWith("i\u0142a")||e.endsWith("ila")?3:2;return u(e.slice(0,-t)+"i\u0107",.8,{removedSuffixes:[e.slice(-t)],conjugationType:"past"})}return null}})}}),sp={};x(sp,{PolishTokenizer:()=>ip,polishTokenizer:()=>ap});var lp,pp,mp=b({"src/tokenizers/polish.ts"(){ci(),kr(),op(),yi(),Wn(),Za(),tp=new Set(["do","od","z","ze","w","we","na","po","pod","przed","za","nad","mi\u0119dzy","miedzy","przez","dla","bez","o","przy","u","wed\u0142ug","wedlug","mimo","w\u015br\u00f3d","wsrod","obok","poza","wok\u00f3\u0142","wokol","przeciw","ku"]),rp=[{native:"prawda",normalized:"true"},{native:"fa\u0142sz",normalized:"false"},{native:"falsz",normalized:"false"},{native:"null",normalized:"null"},{native:"nieokre\u015blony",normalized:"undefined"},{native:"nieokreslony",normalized:"undefined"},{native:"pierwszy",normalized:"first"},{native:"pierwsza",normalized:"first"},{native:"pierwsze",normalized:"first"},{native:"ostatni",normalized:"last"},{native:"ostatnia",normalized:"last"},{native:"ostatnie",normalized:"last"},{native:"nast\u0119pny",normalized:"next"},{native:"nastepny",normalized:"next"},{native:"poprzedni",normalized:"previous"},{native:"najbli\u017cszy",normalized:"closest"},{native:"najblizszy",normalized:"closest"},{native:"rodzic",normalized:"parent"},{native:"klikni\u0119cie",normalized:"click"},{native:"klikniecie",normalized:"click"},{native:"klik",normalized:"click"},{native:"click",normalized:"click"},{native:"zmiana",normalized:"change"},{native:"wys\u0142anie",normalized:"submit"},{native:"wyslanie",normalized:"submit"},{native:"naci\u015bni\u0119cie",normalized:"keydown"},{native:"nacisniecie",normalized:"keydown"},{native:"klawisz",normalized:"keydown"},{native:"najechanie",normalized:"mouseover"},{native:"zjechanie",normalized:"mouseout"},{native:"rozmycie",normalized:"blur"},{native:"za\u0142adowanie",normalized:"load"},{native:"zaladowanie",normalized:"load"},{native:"przewini\u0119cie",normalized:"scroll"},{native:"przewiniecie",normalized:"scroll"},{native:"input",normalized:"input"},{native:"m\u00f3j",normalized:"my"},{native:"moj",normalized:"my"},{native:"sekunda",normalized:"s"},{native:"sekundy",normalized:"s"},{native:"sekund",normalized:"s"},{native:"milisekunda",normalized:"ms"},{native:"milisekundy",normalized:"ms"},{native:"milisekund",normalized:"ms"},{native:"minuta",normalized:"m"},{native:"minuty",normalized:"m"},{native:"minut",normalized:"m"},{native:"godzina",normalized:"h"},{native:"godziny",normalized:"h"},{native:"godzin",normalized:"h"},{native:"po\u0142\u00f3\u017c",normalized:"put"},{native:"poloz",normalized:"put"},{native:"lub",normalized:"or"},{native:"nie",normalized:"not"},{native:"jest",normalized:"is"},{native:"istnieje",normalized:"exists"},{native:"pusty",normalized:"empty"},{native:"puste",normalized:"empty"},{native:"w\u0142\u0105cznie",normalized:"inclusive"},{native:"wy\u0142\u0105cznie",normalized:"exclusive"},{native:"znaki",normalized:"characters"},{native:"losowy",normalized:"random"}],ap=new(ip=class extends p{constructor(){super(),this.language="pl",this.direction="ltr",this.initializeKeywordsFromProfile(vr,rp),this.setNormalizer(new ep),this.registerExtractors(_n()),this.registerExtractor(new i),this.registerExtractor(new a),this.registerExtractors([new Da]),this.registerExtractor(new ni),this.registerExtractor(new oi)}classifyToken(e){const t=e.toLowerCase();return tp.has(t)?"particle":this.isKeyword(t)?"keyword":/^\.(once|prevent|stop|debounce|throttle|queue)(\(.*\))?$/.test(e)?"event-modifier":e.startsWith("#")||e.startsWith(".")||e.startsWith("[")||e.startsWith("*")||e.startsWith("<")?"selector":e.startsWith('"')||e.startsWith("'")||/^\d/.test(e)?"literal":["==","!=","<=",">=","<",">","&&","||","!"].includes(e)?"operator":e.startsWith("/")||e.startsWith("./")||e.startsWith("http")?"url":"identifier"}})}});function cp(e){return/[\u0430-\u044f\u0410-\u042f\u0451\u0401]/.test(e)}var dp,up,yp,vp,fp=b({"src/tokenizers/morphology/russian-normalizer.ts"(){Dn(),lp=new Map([["\u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438","\u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c"],["\u0434\u043e\u0431\u0430\u0432\u044c","\u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c"],["\u0443\u0434\u0430\u043b\u0438","\u0443\u0434\u0430\u043b\u0438\u0442\u044c"],["\u0443\u0431\u0435\u0440\u0438","\u0443\u0431\u0440\u0430\u0442\u044c"],["\u043f\u043e\u043b\u043e\u0436\u0438","\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c"],["\u043f\u043e\u043c\u0435\u0441\u0442\u0438","\u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c"],["\u0432\u0441\u0442\u0430\u0432\u044c","\u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c"],["\u0432\u043e\u0437\u044c\u043c\u0438","\u0432\u0437\u044f\u0442\u044c"],["\u0441\u043e\u0437\u0434\u0430\u0439","\u0441\u043e\u0437\u0434\u0430\u0442\u044c"],["\u043a\u043b\u043e\u043d\u0438\u0440\u0443\u0439","\u043a\u043b\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c"],["\u043f\u043e\u043c\u0435\u043d\u044f\u0439","\u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c"],["\u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0439","\u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c"],["\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438","\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c"],["\u0437\u0430\u0434\u0430\u0439","\u0437\u0430\u0434\u0430\u0442\u044c"],["\u043f\u043e\u043b\u0443\u0447\u0438","\u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c"],["\u0443\u0432\u0435\u043b\u0438\u0447\u044c","\u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c"],["\u0443\u043c\u0435\u043d\u044c\u0448\u0438","\u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c"],["\u0437\u0430\u043f\u0438\u0448\u0438","\u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c"],["\u043f\u043e\u043a\u0430\u0436\u0438","\u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c"],["\u0441\u043a\u0440\u043e\u0439","\u0441\u043a\u0440\u044b\u0442\u044c"],["\u0441\u043f\u0440\u044f\u0447\u044c","\u0441\u043f\u0440\u044f\u0442\u0430\u0442\u044c"],["\u0430\u043d\u0438\u043c\u0438\u0440\u0443\u0439","\u0430\u043d\u0438\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c"],["\u0432\u044b\u0437\u043e\u0432\u0438","\u0432\u044b\u0437\u0432\u0430\u0442\u044c"],["\u043e\u0442\u043f\u0440\u0430\u0432\u044c","\u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c"],["\u0441\u0444\u043e\u043a\u0443\u0441\u0438\u0440\u0443\u0439","\u0441\u0444\u043e\u043a\u0443\u0441\u0438\u0440\u043e\u0432\u0430\u0442\u044c"],["\u0440\u0430\u0437\u043c\u043e\u0439","\u0440\u0430\u0437\u043c\u044b\u0442\u044c"],["\u043f\u0435\u0440\u0435\u0439\u0434\u0438","\u043f\u0435\u0440\u0435\u0439\u0442\u0438"],["\u0438\u0434\u0438","\u0438\u0434\u0442\u0438"],["\u0436\u0434\u0438","\u0436\u0434\u0430\u0442\u044c"],["\u043f\u043e\u0434\u043e\u0436\u0434\u0438","\u043f\u043e\u0434\u043e\u0436\u0434\u0430\u0442\u044c"],["\u0437\u0430\u0433\u0440\u0443\u0437\u0438","\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c"],["\u043f\u043e\u0432\u0442\u043e\u0440\u0438","\u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c"],["\u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438","\u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c"],["\u0431\u0440\u043e\u0441\u044c","\u0431\u0440\u043e\u0441\u0438\u0442\u044c"],["\u0432\u0435\u0440\u043d\u0438","\u0432\u0435\u0440\u043d\u0443\u0442\u044c"],["\u0441\u043a\u0430\u0436\u0438","\u0441\u043a\u0430\u0437\u0430\u0442\u044c"],["\u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0439","\u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c"],["\u0438\u0437\u043c\u0435\u0440\u044c","\u0438\u0437\u043c\u0435\u0440\u0438\u0442\u044c"]]),new(pp=class{constructor(){this.language="ru"}isNormalizable(e){return e.length>=3&&function(e){for(const t of e)if(cp(t))return!0;return!1}(e)}normalize(e){const t=e.toLowerCase();if(t.endsWith("\u0441\u044f")||t.endsWith("\u0441\u044c")){const e=this.tryReflexiveNormalization(t);if(e)return e}if(t.endsWith("\u0442\u044c")||t.endsWith("\u0442\u0438")||t.endsWith("\u0447\u044c"))return y(e);const r=this.tryImperativeLookup(t);if(r)return r;const i=this.tryPastTenseNormalization(t);if(i)return i;const a=this.tryPresentTenseNormalization(t);if(a)return a;const n=this.tryGenericImperativeNormalization(t);return n||y(e)}tryReflexiveNormalization(e){e.endsWith("\u0441\u044f");const t=e.slice(0,-2);if(e.endsWith("\u0442\u044c\u0441\u044f")||e.endsWith("\u0442\u0438\u0441\u044c")||e.endsWith("\u0447\u044c\u0441\u044f"))return y(e);const r=this.normalizeNonReflexive(t);if(1>r.confidence){const e=r.stem.endsWith("\u0442\u044c")?r.stem.slice(0,-2)+"\u0442\u044c\u0441\u044f":r.stem+"\u0441\u044f";return u(e,.95*r.confidence,{removedSuffixes:["\u0441\u044f",...r.metadata?.removedSuffixes||[]],conjugationType:"reflexive"})}return null}normalizeNonReflexive(e){if(e.endsWith("\u0442\u044c")||e.endsWith("\u0442\u0438")||e.endsWith("\u0447\u044c"))return y(e);const t=this.tryImperativeLookup(e);if(t)return t;const r=this.tryPastTenseNormalization(e);if(r)return r;const i=this.tryPresentTenseNormalization(e);if(i)return i;const a=this.tryGenericImperativeNormalization(e);return a||y(e)}tryImperativeLookup(e){return lp.has(e)?u(lp.get(e),.95,{removedSuffixes:["imperative"],conjugationType:"imperative"}):null}tryGenericImperativeNormalization(e){return e.endsWith("\u0439\u0442\u0435")&&e.length>5?u(e.slice(0,-3)+"\u0442\u044c",.8,{removedSuffixes:["\u0439\u0442\u0435"],conjugationType:"imperative"}):e.endsWith("\u0438\u0442\u0435")&&e.length>5?u(e.slice(0,-3)+"\u0438\u0442\u044c",.8,{removedSuffixes:["\u0438\u0442\u0435"],conjugationType:"imperative"}):e.endsWith("\u0439")&&e.length>3?u(e.slice(0,-1)+"\u0442\u044c",.75,{removedSuffixes:["\u0439"],conjugationType:"imperative"}):e.endsWith("\u0438")&&e.length>3?u(e+"\u0442\u044c",.7,{removedSuffixes:["\u0438\u2192\u0438\u0442\u044c"],conjugationType:"imperative"}):null}tryPastTenseNormalization(e){return e.endsWith("\u0430\u043b\u0430")&&e.length>4?u(e.slice(0,-3)+"\u0430\u0442\u044c",.85,{removedSuffixes:["\u0430\u043b\u0430"],conjugationType:"past"}):e.endsWith("\u0438\u043b\u0430")&&e.length>4?u(e.slice(0,-3)+"\u0438\u0442\u044c",.85,{removedSuffixes:["\u0438\u043b\u0430"],conjugationType:"past"}):e.endsWith("\u0435\u043b\u043e")&&e.length>4?u(e.slice(0,-3)+"\u0435\u0442\u044c",.82,{removedSuffixes:["\u0435\u043b\u043e"],conjugationType:"past"}):e.endsWith("\u0430\u0431\u043e")&&e.length>4?u(e.slice(0,-3)+"\u0430\u0442\u044c",.82,{removedSuffixes:["\u0430\u0431\u043e"],conjugationType:"past"}):e.endsWith("\u0430\u043b\u0438")&&e.length>4?u(e.slice(0,-3)+"\u0430\u0442\u044c",.85,{removedSuffixes:["\u0430\u043b\u0438"],conjugationType:"past"}):e.endsWith("\u0438\u043b\u0438")&&e.length>4?u(e.slice(0,-3)+"\u0438\u0442\u044c",.85,{removedSuffixes:["\u0438\u043b\u0438"],conjugationType:"past"}):e.endsWith("\u0430\u043b")&&e.length>3?u(e.slice(0,-2)+"\u0430\u0442\u044c",.82,{removedSuffixes:["\u0430\u043b"],conjugationType:"past"}):e.endsWith("\u0438\u043b")&&e.length>3?u(e.slice(0,-2)+"\u0438\u0442\u044c",.82,{removedSuffixes:["\u0438\u043b"],conjugationType:"past"}):null}tryPresentTenseNormalization(e){return e.endsWith("\u0438\u0448\u044c")&&e.length>4?u(e.slice(0,-3)+"\u0438\u0442\u044c",.8,{removedSuffixes:["\u0438\u0448\u044c"],conjugationType:"present"}):e.endsWith("\u0438\u0442")&&e.length>3?u(e.slice(0,-2)+"\u0438\u0442\u044c",.78,{removedSuffixes:["\u0438\u0442"],conjugationType:"present"}):e.endsWith("\u0438\u043c")&&e.length>3?u(e.slice(0,-2)+"\u0438\u0442\u044c",.78,{removedSuffixes:["\u0438\u043c"],conjugationType:"present"}):e.endsWith("\u044f\u0442")&&e.length>3?u(e.slice(0,-2)+"\u0438\u0442\u044c",.78,{removedSuffixes:["\u044f\u0442"],conjugationType:"present"}):e.endsWith("\u0435\u0448\u044c")&&e.length>4?u(e.slice(0,-3)+"\u0430\u0442\u044c",.75,{removedSuffixes:["\u0435\u0448\u044c"],conjugationType:"present"}):e.endsWith("\u0435\u0442")&&e.length>3?u(e.slice(0,-2)+"\u0430\u0442\u044c",.72,{removedSuffixes:["\u0435\u0442"],conjugationType:"present"}):e.endsWith("\u0435\u043c")&&e.length>3?u(e.slice(0,-2)+"\u0430\u0442\u044c",.72,{removedSuffixes:["\u0435\u043c"],conjugationType:"present"}):e.endsWith("\u044e\u0442")&&e.length>3?u(e.slice(0,-2)+"\u0430\u0442\u044c",.75,{removedSuffixes:["\u044e\u0442"],conjugationType:"present"}):e.endsWith("\u0443\u0442")&&e.length>3?u(e.slice(0,-2)+"\u0430\u0442\u044c",.72,{removedSuffixes:["\u0443\u0442"],conjugationType:"present"}):null}})}}),hp={};x(hp,{RussianTokenizer:()=>yp,russianTokenizer:()=>vp});var gp,kp,zp=b({"src/tokenizers/russian.ts"(){ci(),fp(),Lr(),yi(),Wn(),ha(),Ln(),dp=new Set(["\u0432","\u0432\u043e","\u043d\u0430","\u0441","\u0441\u043e","\u043a","\u043a\u043e","\u043e","\u043e\u0431","\u043e\u0431\u043e","\u0443","\u043e\u0442","\u0434\u043e","\u0438\u0437","\u0437\u0430","\u043f\u043e","\u043f\u043e\u0434","\u043d\u0430\u0434","\u043f\u0435\u0440\u0435\u0434","\u043f\u0435\u0440\u0435\u0434\u043e","\u043c\u0435\u0436\u0434\u0443","\u0447\u0435\u0440\u0435\u0437","\u0431\u0435\u0437","\u0434\u043b\u044f","\u043f\u0440\u0438","\u043f\u0440\u043e","\u043f\u043e\u0441\u043b\u0435","\u0432\u043e\u043a\u0440\u0443\u0433","\u043f\u0440\u043e\u0442\u0438\u0432","\u0432\u043c\u0435\u0441\u0442\u043e","\u043a\u0440\u043e\u043c\u0435","\u0441\u0440\u0435\u0434\u0438"]),up=[{native:"\u043c\u044b\u0448\u044c\u0432\u043d\u0438\u0437",normalized:"mousedown"},{native:"\u043c\u044b\u0448\u044c\u0432\u0432\u0435\u0440\u0445",normalized:"mouseup"},{native:"\u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435\u0440\u0430\u0437\u043c\u0435\u0440\u0430",normalized:"resize"},{native:"\u0438\u0441\u0442\u0438\u043d\u0430",normalized:"true"},{native:"\u043f\u0440\u0430\u0432\u0434\u0430",normalized:"true"},{native:"\u043b\u043e\u0436\u044c",normalized:"false"},{native:"null",normalized:"null"},{native:"\u043d\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043e",normalized:"undefined"},{native:"\u043d\u0438\u0447\u0435\u0433\u043e",normalized:"null"},{native:"\u0441\u0435\u043a\u0443\u043d\u0434\u0430",normalized:"s"},{native:"\u0441\u0435\u043a\u0443\u043d\u0434\u044b",normalized:"s"},{native:"\u0441\u0435\u043a\u0443\u043d\u0434",normalized:"s"},{native:"\u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434\u0430",normalized:"ms"},{native:"\u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434\u044b",normalized:"ms"},{native:"\u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434",normalized:"ms"},{native:"\u043c\u0438\u043d\u0443\u0442\u0430",normalized:"m"},{native:"\u043c\u0438\u043d\u0443\u0442\u044b",normalized:"m"},{native:"\u043c\u0438\u043d\u0443\u0442",normalized:"m"},{native:"\u0447\u0430\u0441",normalized:"h"},{native:"\u0447\u0430\u0441\u0430",normalized:"h"},{native:"\u0447\u0430\u0441\u043e\u0432",normalized:"h"},{native:"\u043f\u0435\u0440\u0432\u044b\u0439",normalized:"first"},{native:"\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439",normalized:"last"},{native:"\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439",normalized:"next"},{native:"\u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439",normalized:"previous"},{native:"\u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0438\u0439",normalized:"closest"},{native:"\u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c",normalized:"parent"},{native:"\u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0439",normalized:"random"},{native:"\u043f\u0435\u0440\u0432\u0430\u044f",normalized:"first"},{native:"\u043f\u0435\u0440\u0432\u043e\u0435",normalized:"first"},{native:"\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f",normalized:"last"},{native:"\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435",normalized:"last"},{native:"\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f",normalized:"next"},{native:"\u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0430\u044f",normalized:"previous"},{native:"\u043f\u0443\u0441\u0442\u0430\u044f",normalized:"empty"},{native:"\u043f\u0443\u0441\u0442\u043e\u0435",normalized:"empty"},{native:"\u043c\u043e\u044f",normalized:"my"},{native:"\u043c\u043e\u0451",normalized:"my"},{native:"\u043c\u043e\u0438",normalized:"my"},{native:"\u0432\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e",normalized:"inclusive"},{native:"\u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e",normalized:"exclusive"},{native:"\u0441\u0438\u043c\u0432\u043e\u043b\u044b",normalized:"characters"}],vp=new(yp=class extends p{constructor(){super(),this.language="ru",this.direction="ltr",this.initializeKeywordsFromProfile(Tr,up),this.setNormalizer(new pp),this.registerExtractors([..._n(),new pa("russian-keyword",/[a-zA-Z\u0430-\u044f\u0410-\u042f\u0451\u0401]/,ma),new i,new a,new Sn,new ni,new oi])}classifyToken(e){const t=e.toLowerCase();return dp.has(t)?"particle":this.isKeyword(t)?"keyword":/^\.(once|prevent|stop|debounce|throttle|queue)(\(.*\))?$/.test(e)?"event-modifier":e.startsWith("#")||e.startsWith(".")||e.startsWith("[")||e.startsWith("*")||e.startsWith("<")?"selector":e.startsWith('"')||e.startsWith("'")||/^\d/.test(e)?"literal":e.startsWith("/")||e.startsWith("./")||e.startsWith("http")?"url":"identifier"}})}});var wp,bp,xp,Tp,Sp=b({"src/tokenizers/morphology/ukrainian-normalizer.ts"(){Dn(),gp=new Map([["\u043f\u0435\u0440\u0435\u043c\u043a\u043d\u0438","\u043f\u0435\u0440\u0435\u043c\u043a\u043d\u0443\u0442\u0438"],["\u0434\u043e\u0434\u0430\u0439","\u0434\u043e\u0434\u0430\u0442\u0438"],["\u0432\u0438\u0434\u0430\u043b\u0438","\u0432\u0438\u0434\u0430\u043b\u0438\u0442\u0438"],["\u043f\u0440\u0438\u0431\u0435\u0440\u0438","\u043f\u0440\u0438\u0431\u0440\u0430\u0442\u0438"],["\u043f\u043e\u043a\u043b\u0430\u0434\u0438","\u043f\u043e\u043a\u043b\u0430\u0441\u0442\u0438"],["\u043f\u043e\u043c\u0456\u0441\u0442\u0438","\u043f\u043e\u043c\u0456\u0441\u0442\u0438\u0442\u0438"],["\u0432\u0441\u0442\u0430\u0432","\u0432\u0441\u0442\u0430\u0432\u0438\u0442\u0438"],["\u0432\u0456\u0437\u044c\u043c\u0438","\u0432\u0437\u044f\u0442\u0438"],["\u0441\u0442\u0432\u043e\u0440\u0438","\u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438"],["\u043a\u043b\u043e\u043d\u0443\u0439","\u043a\u043b\u043e\u043d\u0443\u0432\u0430\u0442\u0438"],["\u043f\u043e\u043c\u0456\u043d\u044f\u0439","\u043f\u043e\u043c\u0456\u043d\u044f\u0442\u0438"],["\u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0443\u0439","\u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0443\u0432\u0430\u0442\u0438"],["\u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438","\u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438"],["\u0437\u0430\u0434\u0430\u0439","\u0437\u0430\u0434\u0430\u0442\u0438"],["\u043e\u0442\u0440\u0438\u043c\u0430\u0439","\u043e\u0442\u0440\u0438\u043c\u0430\u0442\u0438"],["\u0437\u0431\u0456\u043b\u044c\u0448","\u0437\u0431\u0456\u043b\u044c\u0448\u0438\u0442\u0438"],["\u0437\u043c\u0435\u043d\u0448","\u0437\u043c\u0435\u043d\u0448\u0438\u0442\u0438"],["\u0437\u0430\u043f\u0438\u0448\u0438","\u0437\u0430\u043f\u0438\u0441\u0430\u0442\u0438"],["\u043f\u043e\u043a\u0430\u0436\u0438","\u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0438"],["\u0441\u0445\u043e\u0432\u0430\u0439","\u0441\u0445\u043e\u0432\u0430\u0442\u0438"],["\u043f\u0440\u0438\u0445\u043e\u0432\u0430\u0439","\u043f\u0440\u0438\u0445\u043e\u0432\u0430\u0442\u0438"],["\u0430\u043d\u0456\u043c\u0443\u0439","\u0430\u043d\u0456\u043c\u0443\u0432\u0430\u0442\u0438"],["\u0432\u0438\u043a\u043b\u0438\u0447","\u0432\u0438\u043a\u043b\u0438\u043a\u0430\u0442\u0438"],["\u043d\u0430\u0434\u0456\u0448\u043b\u0438","\u043d\u0430\u0434\u0456\u0441\u043b\u0430\u0442\u0438"],["\u0441\u0444\u043e\u043a\u0443\u0441\u0443\u0439","\u0441\u0444\u043e\u043a\u0443\u0441\u0443\u0432\u0430\u0442\u0438"],["\u0440\u043e\u0437\u0444\u043e\u043a\u0443\u0441\u0443\u0439","\u0440\u043e\u0437\u0444\u043e\u043a\u0443\u0441\u0443\u0432\u0430\u0442\u0438"],["\u043f\u0435\u0440\u0435\u0439\u0434\u0438","\u043f\u0435\u0440\u0435\u0439\u0442\u0438"],["\u0439\u0434\u0438","\u0439\u0442\u0438"],["\u0447\u0435\u043a\u0430\u0439","\u0447\u0435\u043a\u0430\u0442\u0438"],["\u0437\u0430\u0447\u0435\u043a\u0430\u0439","\u0437\u0430\u0447\u0435\u043a\u0430\u0442\u0438"],["\u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436","\u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438"],["\u043f\u043e\u0432\u0442\u043e\u0440\u0438","\u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0438"],["\u043f\u0440\u043e\u0434\u043e\u0432\u0436\u0443\u0439","\u043f\u0440\u043e\u0434\u043e\u0432\u0436\u0438\u0442\u0438"],["\u043a\u0438\u043d\u044c","\u043a\u0438\u043d\u0443\u0442\u0438"],["\u043f\u043e\u0432\u0435\u0440\u043d\u0438","\u043f\u043e\u0432\u0435\u0440\u043d\u0443\u0442\u0438"],["\u0441\u043a\u0430\u0436\u0438","\u0441\u043a\u0430\u0437\u0430\u0442\u0438"],["\u0456\u043d\u0456\u0446\u0456\u0430\u043b\u0456\u0437\u0443\u0439","\u0456\u043d\u0456\u0446\u0456\u0430\u043b\u0456\u0437\u0443\u0432\u0430\u0442\u0438"],["\u0432\u0438\u043c\u0456\u0440\u044f\u0439","\u0432\u0438\u043c\u0456\u0440\u044f\u0442\u0438"]]),new(kp=class{constructor(){this.language="uk"}isNormalizable(e){return e.length>=3&&function(e){return/[\u0430-\u044f\u0410-\u042f\u0456\u0406\u0457\u0407\u0454\u0404\u0491\u0490\u044c\u042c']/.test(e)}(e)}normalize(e){const t=e.toLowerCase();if(t.endsWith("\u0441\u044f")||t.endsWith("\u0441\u044c")){const e=this.tryReflexiveNormalization(t);if(e)return e}if(t.endsWith("\u0442\u0438")||t.endsWith("\u0447\u0438"))return y(e);const r=this.tryImperativeLookup(t);if(r)return r;const i=this.tryPastTenseNormalization(t);if(i)return i;const a=this.tryPresentTenseNormalization(t);if(a)return a;const n=this.tryGenericImperativeNormalization(t);return n||y(e)}tryReflexiveNormalization(e){const t=e.slice(0,-2);if(e.endsWith("\u0442\u0438\u0441\u044f")||e.endsWith("\u0447\u0438\u0441\u044f"))return y(e);const r=this.normalizeNonReflexive(t);if(1>r.confidence){const e=r.stem.endsWith("\u0442\u0438")?r.stem.slice(0,-2)+"\u0442\u0438\u0441\u044f":r.stem+"\u0441\u044f";return u(e,.95*r.confidence,{removedSuffixes:["\u0441\u044f",...r.metadata?.removedSuffixes||[]],conjugationType:"reflexive"})}return null}normalizeNonReflexive(e){if(e.endsWith("\u0442\u0438")||e.endsWith("\u0447\u0438"))return y(e);const t=this.tryImperativeLookup(e);if(t)return t;const r=this.tryPastTenseNormalization(e);if(r)return r;const i=this.tryPresentTenseNormalization(e);if(i)return i;const a=this.tryGenericImperativeNormalization(e);return a||y(e)}tryImperativeLookup(e){return gp.has(e)?u(gp.get(e),.95,{removedSuffixes:["imperative"],conjugationType:"imperative"}):null}tryGenericImperativeNormalization(e){return e.endsWith("\u0439\u0442\u0435")&&e.length>5?u(e.slice(0,-3)+"\u0442\u0438",.8,{removedSuffixes:["\u0439\u0442\u0435"],conjugationType:"imperative"}):e.endsWith("\u0456\u0442\u044c")&&e.length>5?u(e.slice(0,-3)+"\u0438\u0442\u0438",.8,{removedSuffixes:["\u0456\u0442\u044c"],conjugationType:"imperative"}):e.endsWith("\u0439")&&e.length>3?u(e.slice(0,-1)+"\u0442\u0438",.75,{removedSuffixes:["\u0439"],conjugationType:"imperative"}):e.endsWith("\u0438")&&e.length>3?u(e+"\u0442\u0438",.7,{removedSuffixes:["\u0438\u2192\u0438\u0442\u0438"],conjugationType:"imperative"}):null}tryPastTenseNormalization(e){return e.endsWith("\u0430\u043b\u0430")&&e.length>4?u(e.slice(0,-3)+"\u0430\u0442\u0438",.85,{removedSuffixes:["\u0430\u043b\u0430"],conjugationType:"past"}):e.endsWith("\u0438\u043b\u0430")&&e.length>4?u(e.slice(0,-3)+"\u0438\u0442\u0438",.85,{removedSuffixes:["\u0438\u043b\u0430"],conjugationType:"past"}):e.endsWith("\u0430\u043b\u0438")&&e.length>4?u(e.slice(0,-3)+"\u0430\u0442\u0438",.85,{removedSuffixes:["\u0430\u043b\u0438"],conjugationType:"past"}):e.endsWith("\u0438\u043b\u0438")&&e.length>4?u(e.slice(0,-3)+"\u0438\u0442\u0438",.85,{removedSuffixes:["\u0438\u043b\u0438"],conjugationType:"past"}):e.endsWith("\u0430\u0432")&&e.length>3?u(e.slice(0,-2)+"\u0430\u0442\u0438",.82,{removedSuffixes:["\u0430\u0432"],conjugationType:"past"}):e.endsWith("\u0438\u0432")&&e.length>3?u(e.slice(0,-2)+"\u0438\u0442\u0438",.82,{removedSuffixes:["\u0438\u0432"],conjugationType:"past"}):null}tryPresentTenseNormalization(e){return e.endsWith("\u0438\u0448")&&e.length>3?u(e.slice(0,-2)+"\u0438\u0442\u0438",.8,{removedSuffixes:["\u0438\u0448"],conjugationType:"present"}):e.endsWith("\u0438\u0442\u044c")&&e.length>4?u(e.slice(0,-3)+"\u0438\u0442\u0438",.78,{removedSuffixes:["\u0438\u0442\u044c"],conjugationType:"present"}):e.endsWith("\u0438\u043c\u043e")&&e.length>4?u(e.slice(0,-3)+"\u0438\u0442\u0438",.8,{removedSuffixes:["\u0438\u043c\u043e"],conjugationType:"present"}):e.endsWith("\u044f\u0442\u044c")&&e.length>4?u(e.slice(0,-3)+"\u0438\u0442\u0438",.78,{removedSuffixes:["\u044f\u0442\u044c"],conjugationType:"present"}):e.endsWith("\u0454\u0448")&&e.length>3?u(e.slice(0,-2)+"\u0430\u0442\u0438",.78,{removedSuffixes:["\u0454\u0448"],conjugationType:"present"}):e.endsWith("\u0435\u0448")&&e.length>3?u(e.slice(0,-2)+"\u0430\u0442\u0438",.75,{removedSuffixes:["\u0435\u0448"],conjugationType:"present"}):e.endsWith("\u0454")&&e.length>2?u(e.slice(0,-1)+"\u0430\u0442\u0438",.72,{removedSuffixes:["\u0454"],conjugationType:"present"}):e.endsWith("\u0454\u043c\u043e")&&e.length>4?u(e.slice(0,-3)+"\u0430\u0442\u0438",.8,{removedSuffixes:["\u0454\u043c\u043e"],conjugationType:"present"}):e.endsWith("\u044e\u0442\u044c")&&e.length>4?u(e.slice(0,-3)+"\u0430\u0442\u0438",.78,{removedSuffixes:["\u044e\u0442\u044c"],conjugationType:"present"}):e.endsWith("\u0443\u0442\u044c")&&e.length>4?u(e.slice(0,-3)+"\u0430\u0442\u0438",.75,{removedSuffixes:["\u0443\u0442\u044c"],conjugationType:"present"}):null}})}}),jp={};x(jp,{UkrainianTokenizer:()=>xp,ukrainianTokenizer:()=>Tp});var Ep,Lp,Cp,_p,Pp=b({"src/tokenizers/ukrainian.ts"(){ci(),Sp(),Dr(),yi(),Wn(),ha(),Ln(),wp=new Set(["\u0432","\u0443","\u043d\u0430","\u0437","\u0456\u0437","\u0437\u0456","\u0434\u043e","\u0432\u0456\u0434","\u043e","\u043e\u0431","\u043f\u0440\u0438","\u0434\u043b\u044f","\u043f\u0456\u0434","\u043d\u0430\u0434","\u043f\u0435\u0440\u0435\u0434","\u043c\u0456\u0436","\u0447\u0435\u0440\u0435\u0437","\u0431\u0435\u0437","\u043f\u043e","\u0437\u0430","\u043f\u0440\u043e","\u043f\u0456\u0441\u043b\u044f","\u043d\u0430\u0432\u043a\u043e\u043b\u043e","\u043f\u0440\u043e\u0442\u0438","\u0437\u0430\u043c\u0456\u0441\u0442\u044c","\u043a\u0440\u0456\u043c","\u0441\u0435\u0440\u0435\u0434","\u043a"]),bp=[{native:"\u043c\u0438\u0448\u0430\u0432\u043d\u0438\u0437",normalized:"mousedown"},{native:"\u043c\u0438\u0448\u0430\u0432\u0433\u043e\u0440\u0443",normalized:"mouseup"},{native:"\u0437\u043c\u0456\u043d\u0430\u0440\u043e\u0437\u043c\u0456\u0440\u0443",normalized:"resize"},{native:"\u0456\u0441\u0442\u0438\u043d\u0430",normalized:"true"},{native:"\u043f\u0440\u0430\u0432\u0434\u0430",normalized:"true"},{native:"\u0445\u0438\u0431\u043d\u0456\u0441\u0442\u044c",normalized:"false"},{native:"null",normalized:"null"},{native:"\u043d\u0435\u0432\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u043e",normalized:"undefined"},{native:"\u043d\u0456\u0447\u043e\u0433\u043e",normalized:"null"},{native:"\u0441\u0435\u043a\u0443\u043d\u0434\u0430",normalized:"s"},{native:"\u0441\u0435\u043a\u0443\u043d\u0434\u0438",normalized:"s"},{native:"\u0441\u0435\u043a\u0443\u043d\u0434",normalized:"s"},{native:"\u043c\u0456\u043b\u0456\u0441\u0435\u043a\u0443\u043d\u0434\u0430",normalized:"ms"},{native:"\u043c\u0456\u043b\u0456\u0441\u0435\u043a\u0443\u043d\u0434\u0438",normalized:"ms"},{native:"\u043c\u0456\u043b\u0456\u0441\u0435\u043a\u0443\u043d\u0434",normalized:"ms"},{native:"\u0445\u0432\u0438\u043b\u0438\u043d\u0430",normalized:"m"},{native:"\u0445\u0432\u0438\u043b\u0438\u043d\u0438",normalized:"m"},{native:"\u0445\u0432\u0438\u043b\u0438\u043d",normalized:"m"},{native:"\u0433\u043e\u0434\u0438\u043d\u0430",normalized:"h"},{native:"\u0433\u043e\u0434\u0438\u043d\u0438",normalized:"h"},{native:"\u0433\u043e\u0434\u0438\u043d",normalized:"h"},{native:"\u043f\u0435\u0440\u0448\u0438\u0439",normalized:"first"},{native:"\u043e\u0441\u0442\u0430\u043d\u043d\u0456\u0439",normalized:"last"},{native:"\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u0439",normalized:"next"},{native:"\u043f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u0456\u0439",normalized:"previous"},{native:"\u043d\u0430\u0439\u0431\u043b\u0438\u0436\u0447\u0438\u0439",normalized:"closest"},{native:"\u0431\u0430\u0442\u044c\u043a\u0456\u0432\u0441\u044c\u043a\u0438\u0439",normalized:"parent"},{native:"\u0432\u0438\u043f\u0430\u0434\u043a\u043e\u0432\u0438\u0439",normalized:"random"},{native:"\u043f\u0435\u0440\u0448\u0430",normalized:"first"},{native:"\u043f\u0435\u0440\u0448\u0435",normalized:"first"},{native:"\u043e\u0441\u0442\u0430\u043d\u043d\u044f",normalized:"last"},{native:"\u043e\u0441\u0442\u0430\u043d\u043d\u0454",normalized:"last"},{native:"\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0430",normalized:"next"},{native:"\u043f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u044f",normalized:"previous"},{native:"\u043f\u043e\u0440\u043e\u0436\u043d\u044f",normalized:"empty"},{native:"\u043f\u043e\u0440\u043e\u0436\u043d\u0454",normalized:"empty"},{native:"\u043c\u043e\u044f",normalized:"my"},{native:"\u043c\u043e\u0454",normalized:"my"},{native:"\u043c\u043e\u0457",normalized:"my"},{native:"\u0432\u043a\u043b\u044e\u0447\u043d\u043e",normalized:"inclusive"},{native:"\u0432\u0438\u043a\u043b\u044e\u0447\u043d\u043e",normalized:"exclusive"},{native:"\u0441\u0438\u043c\u0432\u043e\u043b\u0438",normalized:"characters"}],Tp=new(xp=class extends p{constructor(){super(),this.language="uk",this.direction="ltr",this.initializeKeywordsFromProfile(Ir,bp),this.setNormalizer(new kp),this.registerExtractors([..._n(),new pa("ukrainian-keyword",/[a-zA-Z\u0430-\u044f\u0410-\u042f\u0456\u0406\u0457\u0407\u0454\u0404\u0491\u0490\u044c\u042c']/,ca),new i,new a,new Sn,new ni,new oi])}classifyToken(e){const t=e.toLowerCase();return wp.has(t)?"particle":this.isKeyword(t)?"keyword":/^\.(once|prevent|stop|debounce|throttle|queue)(\(.*\))?$/.test(e)?"event-modifier":e.startsWith("#")||e.startsWith(".")||e.startsWith("[")||e.startsWith("*")||e.startsWith("<")?"selector":e.startsWith('"')||e.startsWith("'")||/^\d/.test(e)?"literal":e.startsWith("/")||e.startsWith("./")||e.startsWith("http")?"url":"identifier"}})}}),Wp={};x(Wp,{HebrewTokenizer:()=>Cp,hebrewTokenizer:()=>_p});var Ap,qp,Op=b({"src/tokenizers/he.ts"(){ci(),Qt(),yi(),Wn(),Tn(),jn(),Ln(),Ep=new Set(["\u05e2\u05dc","\u05d0\u05ea","\u05d0\u05dc","\u05de\u05df","\u05e2\u05dd","\u05d1\u05ea\u05d5\u05da","\u05de\u05ea\u05d5\u05da","\u05dc\u05d9\u05d3","\u05d0\u05d7\u05e8\u05d9","\u05dc\u05e4\u05e0\u05d9","\u05d1\u05d9\u05df","\u05e2\u05d3","\u05e9\u05dc"]),Lp=[{native:"\u05d0\u05de\u05ea",normalized:"true"},{native:"\u05e9\u05e7\u05e8",normalized:"false"},{native:"null",normalized:"null"},{native:"\u05e8\u05d9\u05e7",normalized:"null"},{native:"\u05dc\u05d0 \u05de\u05d5\u05d2\u05d3\u05e8",normalized:"undefined"},{native:"\u05e8\u05d0\u05e9\u05d5\u05df",normalized:"first"},{native:"\u05d0\u05d7\u05e8\u05d5\u05df",normalized:"last"},{native:"\u05d4\u05d1\u05d0",normalized:"next"},{native:"\u05d4\u05e7\u05d5\u05d3\u05dd",normalized:"previous"},{native:"\u05d4\u05e7\u05e8\u05d5\u05d1",normalized:"closest"},{native:"\u05d4\u05d5\u05e8\u05d4",normalized:"parent"},{native:"\u05dc\u05d7\u05d9\u05e6\u05d4",normalized:"click"},{native:"\u05e7\u05dc\u05d9\u05e7",normalized:"click"},{native:"\u05e7\u05dc\u05d8",normalized:"input"},{native:"\u05e9\u05d9\u05e0\u05d5\u05d9",normalized:"change"},{native:"\u05e9\u05dc\u05d9\u05d7\u05d4",normalized:"submit"},{native:"\u05de\u05d9\u05e7\u05d5\u05d3",normalized:"focus"},{native:"\u05d8\u05e9\u05d8\u05d5\u05e9",normalized:"blur"},{native:"\u05dc\u05d7\u05d9\u05e6\u05ea \u05de\u05e7\u05e9",normalized:"keydown"},{native:"\u05e9\u05d7\u05e8\u05d5\u05e8 \u05de\u05e7\u05e9",normalized:"keyup"},{native:"\u05de\u05e2\u05d1\u05e8 \u05e2\u05db\u05d1\u05e8",normalized:"mouseover"},{native:"\u05d9\u05e6\u05d9\u05d0\u05ea \u05e2\u05db\u05d1\u05e8",normalized:"mouseout"},{native:"load",normalized:"load"},{native:"resize",normalized:"resize"},{native:"scroll",normalized:"scroll"},{native:"keydown",normalized:"keydown"},{native:"keyup",normalized:"keyup"},{native:"mousedown",normalized:"mousedown"},{native:"mouseup",normalized:"mouseup"},{native:"\u05d8\u05e2\u05d9\u05e0\u05d4",normalized:"load"},{native:"\u05d2\u05dc\u05d9\u05dc\u05d4",normalized:"scroll"},{native:"\u05d4\u05d9\u05d0",normalized:"it"},{native:"\u05d4\u05d5\u05d0",normalized:"it"},{native:"\u05e9\u05e0\u05d9\u05d9\u05d4",normalized:"s"},{native:"\u05e9\u05e0\u05d9\u05d5\u05ea",normalized:"s"},{native:"\u05de\u05d9\u05dc\u05d9\u05e9\u05e0\u05d9\u05d9\u05d4",normalized:"ms"},{native:"\u05d3\u05e7\u05d4",normalized:"m"},{native:"\u05d3\u05e7\u05d5\u05ea",normalized:"m"},{native:"\u05e9\u05e2\u05d4",normalized:"h"},{native:"\u05e9\u05e2\u05d5\u05ea",normalized:"h"},{native:"\u05db\u05d5\u05dc\u05dc",normalized:"inclusive"},{native:"\u05d1\u05dc\u05e2\u05d3\u05d9",normalized:"exclusive"},{native:"\u05ea\u05d5\u05d5\u05d9\u05dd",normalized:"characters"},{native:"\u05d0\u05e7\u05e8\u05d0\u05d9",normalized:"random"}],_p=new(Cp=class extends p{constructor(){super(),this.language="he",this.direction="rtl",this.initializeKeywordsFromProfile(Gt,Lp),this.registerExtractors(_n()),this.registerExtractor(new i),this.registerExtractor(new a),this.registerExtractor(new Sn),this.registerExtractor(new xn),this.registerExtractors([new hn]),this.registerExtractor(new ni),this.registerExtractor(new oi)}classifyToken(e){return Ep.has(e)?"particle":this.isKeyword(e)?"keyword":/^\.(once|prevent|stop|debounce|throttle|queue)(\(.*\))?$/.test(e)?"event-modifier":e.startsWith("#")||e.startsWith(".")||e.startsWith("[")||e.startsWith("*")||e.startsWith("<")?"selector":e.startsWith('"')||e.startsWith("'")||/^\d/.test(e)?"literal":["==","!=","<=",">=","<",">","&&","||","!"].includes(e)?"operator":e.startsWith("/")||e.startsWith("./")||e.startsWith("http")?"url":"identifier"}})}});function Rp(e){return/[\u0900-\u097F\u0A8E-\u0A8F]/u.test(e)}var Mp,Np,Ip,$p,Kp=b({"src/tokenizers/morphology/hindi-normalizer.ts"(){Dn(),Ap=[{suffix:" \u0930\u0939\u093e \u0939\u0948",replacement:"",confidence:.82,type:"progressive",minStemLength:1},{suffix:" \u0930\u0939\u0940 \u0939\u0948",replacement:"",confidence:.82,type:"progressive",minStemLength:1},{suffix:" \u0930\u0939\u0947 \u0939\u0948\u0902",replacement:"",confidence:.82,type:"progressive",minStemLength:1},{suffix:"\u0930\u0939\u093e",replacement:"",confidence:.82,type:"progressive",minStemLength:1},{suffix:"\u0930\u0939\u0940",replacement:"",confidence:.82,type:"progressive",minStemLength:1},{suffix:"\u0930\u0939\u0947",replacement:"",confidence:.82,type:"progressive",minStemLength:1},{suffix:"\u0942\u0902\u0917\u093e",replacement:"",confidence:.85,type:"future",minStemLength:1},{suffix:"\u0942\u0902\u0917\u0940",replacement:"",confidence:.85,type:"future",minStemLength:1},{suffix:"\u0947\u0917\u093e",replacement:"",confidence:.85,type:"future",minStemLength:1},{suffix:"\u0947\u0917\u0940",replacement:"",confidence:.85,type:"future",minStemLength:1},{suffix:"\u0947\u0902\u0917\u0947",replacement:"",confidence:.85,type:"future",minStemLength:1},{suffix:"\u0924\u093e \u0939\u0948",replacement:"",confidence:.85,type:"present",minStemLength:1},{suffix:"\u0924\u0940 \u0939\u0948",replacement:"",confidence:.85,type:"present",minStemLength:1},{suffix:"\u0924\u0947 \u0939\u0948\u0902",replacement:"",confidence:.85,type:"present",minStemLength:1},{suffix:"\u0924\u093e",replacement:"",confidence:.85,type:"present",minStemLength:1},{suffix:"\u0924\u0940",replacement:"",confidence:.85,type:"present",minStemLength:1},{suffix:"\u0924\u0947",replacement:"",confidence:.85,type:"present",minStemLength:1},{suffix:"\u0928\u093e",replacement:"",confidence:.9,type:"dictionary",minStemLength:1},{suffix:"\u093e\u092f\u093e",replacement:"",confidence:.82,type:"past",minStemLength:1},{suffix:"\u093e\u092f\u0940",replacement:"",confidence:.82,type:"past",minStemLength:1},{suffix:"\u093e\u092f\u0947",replacement:"",confidence:.82,type:"past",minStemLength:1},{suffix:"\u092f\u093e",replacement:"",confidence:.82,type:"past",minStemLength:1},{suffix:"\u093f\u092f\u0947",replacement:"",confidence:.85,type:"imperative",minStemLength:1},{suffix:"\u093f\u090f",replacement:"",confidence:.85,type:"imperative",minStemLength:1},{suffix:"\u0908",replacement:"",confidence:.82,type:"past",minStemLength:1},{suffix:"\u090f",replacement:"",confidence:.82,type:"past",minStemLength:1},{suffix:"\u0947\u0902",replacement:"",confidence:.85,type:"imperative",minStemLength:1},{suffix:"\u094b",replacement:"",confidence:.85,type:"imperative",minStemLength:1},{suffix:"\u093e",replacement:"",confidence:.82,type:"past",minStemLength:2},{suffix:"\u0940",replacement:"",confidence:.82,type:"past",minStemLength:2},{suffix:"\u0947",replacement:"",confidence:.82,type:"past",minStemLength:2}],new(qp=class{constructor(){this.language="hi"}isNormalizable(e){return e.length>=2&&Rp(e)}normalize(e){const t=this.tryConjugationNormalization(e);return t||y(e)}tryConjugationNormalization(e){for(const t of Ap)if(e.endsWith(t.suffix)){const r=Array.from(e),i=Array.from(t.suffix),a=r.slice(0,r.length-i.length),n=a.join("")+t.replacement;if((t.minStemLength??1)>a.length)continue;if(n.length>0&&!Rp(n))continue;return u(n,t.confidence,{removedSuffixes:[t.suffix],conjugationType:t.type})}return null}})}}),Vp={};x(Vp,{HindiTokenizer:()=>Ip,hindiTokenizer:()=>$p});var Dp,Bp,Fp=b({"src/tokenizers/hindi.ts"(){ci(),Kp(),tr(),yi(),Wn(),xa(),Ta(),Ln(),Mp=new Set(["\u0915\u094b","\u092e\u0947\u0902","\u092a\u0930","\u0938\u0947","\u0915\u093e","\u0915\u0940","\u0915\u0947","\u0924\u0915","\u0928\u0947"]),Np=[{native:"\u092e\u093e\u0909\u0938\u0928\u0940\u091a\u0947",normalized:"mousedown"},{native:"\u092e\u093e\u0909\u0938\u090a\u092a\u0930",normalized:"mouseup"},{native:"\u0906\u0915\u093e\u0930_\u092c\u0926\u0932\u0947\u0902",normalized:"resize"},{native:"\u0938\u091a",normalized:"true"},{native:"\u0938\u0924\u094d\u092f",normalized:"true"},{native:"\u091d\u0942\u0920",normalized:"false"},{native:"\u0905\u0938\u0924\u094d\u092f",normalized:"false"},{native:"\u0916\u093e\u0932\u0940",normalized:"null"},{native:"\u0905\u092a\u0930\u093f\u092d\u093e\u0937\u093f\u0924",normalized:"undefined"},{native:"\u092a\u0939\u0932\u093e",normalized:"first"},{native:"\u0905\u0902\u0924\u093f\u092e",normalized:"last"},{native:"\u0905\u0917\u0932\u093e",normalized:"next"},{native:"\u092a\u093f\u091b\u0932\u093e",normalized:"previous"},{native:"\u0928\u093f\u0915\u091f\u0924\u092e",normalized:"closest"},{native:"\u092e\u0942\u0932",normalized:"parent"},{native:"\u0915\u094d\u0932\u093f\u0915",normalized:"click"},{native:"\u092a\u0930\u093f\u0935\u0930\u094d\u0924\u0928",normalized:"change"},{native:"\u091c\u092e\u093e",normalized:"submit"},{native:"\u0907\u0928\u092a\u0941\u091f",normalized:"input"},{native:"\u0932\u094b\u0921",normalized:"load"},{native:"\u0938\u094d\u0915\u094d\u0930\u0949\u0932",normalized:"scroll"},{native:"\u0915\u094b",normalized:"to"},{native:"\u0915\u0947 \u0938\u093e\u0925",normalized:"with"},{native:"\u0915\u0947_\u0930\u0942\u092a_\u092e\u0947\u0902",normalized:"as"},{native:"\u092f\u093e",normalized:"or"},{native:"\u0905\u0915\u094d\u0937\u0930",normalized:"characters"},{native:"\u092f\u093e\u0926\u0943\u091a\u094d\u091b\u093f\u0915",normalized:"random"}],$p=new(Ip=class extends p{constructor(){super(),this.language="hi",this.direction="ltr",this.initializeKeywordsFromProfile(Xt,Np),this.normalizer=new qp,this.registerExtractors(_n()),this.registerExtractor(new i),this.registerExtractor(new a),this.registerExtractor(new wa),this.registerExtractor(new fa),this.registerExtractor(new Sn),this.registerExtractor(new ni),this.registerExtractor(new oi)}classifyToken(e){return Mp.has(e)?"particle":this.isKeyword(e)?"keyword":e.startsWith("/")||e.startsWith("./")||e.startsWith("../")||e.startsWith("http")?"url":/^\.(once|prevent|stop|debounce|throttle|queue)(\(.*\))?$/.test(e)?"event-modifier":e.startsWith("#")||e.startsWith(".")||e.startsWith("[")||e.startsWith("*")||e.startsWith("<")?"selector":e.startsWith('"')||e.startsWith("'")||/^\d/.test(e)?"literal":(e.startsWith(":"),"identifier")}})}});function Hp(e){return/[\u0980-\u09FF]/u.test(e)}var Up,Gp,Zp,Yp,Xp=b({"src/tokenizers/morphology/bengali-normalizer.ts"(){Dn(),Dp=[{suffix:"\u099a\u09cd\u099b\u09c7 \u0986\u099b\u09c7",replacement:"",confidence:.82,type:"progressive",minStemLength:1},{suffix:"\u099a\u09cd\u099b \u0986\u099b\u09bf",replacement:"",confidence:.82,type:"progressive",minStemLength:1},{suffix:"\u099a\u09cd\u099b\u09c7\u09a8 \u0986\u099b\u09c7\u09a8",replacement:"",confidence:.82,type:"progressive",minStemLength:1},{suffix:"\u09c7\u099b\u09c7\u09a8",replacement:"",confidence:.85,type:"present",minStemLength:1},{suffix:"\u09c7\u099b\u09c7",replacement:"",confidence:.85,type:"present",minStemLength:1},{suffix:"\u09c7\u099b",replacement:"",confidence:.85,type:"present",minStemLength:1},{suffix:"\u09ac\u09c7\u09a8",replacement:"",confidence:.85,type:"future",minStemLength:1},{suffix:"\u09ac\u09c7",replacement:"",confidence:.85,type:"future",minStemLength:1},{suffix:"\u09ac\u09cb",replacement:"",confidence:.85,type:"future",minStemLength:1},{suffix:"\u09b2\u09c7\u09a8",replacement:"",confidence:.85,type:"past",minStemLength:1},{suffix:"\u09b2\u09cb",replacement:"",confidence:.85,type:"past",minStemLength:1},{suffix:"\u09b2",replacement:"",confidence:.85,type:"past",minStemLength:2},{suffix:"\u09c1\u09a8",replacement:"",confidence:.85,type:"imperative",minStemLength:1},{suffix:"\u09cb",replacement:"",confidence:.85,type:"imperative",minStemLength:1},{suffix:"\u099a\u09cd\u099b\u09c7",replacement:"",confidence:.82,type:"progressive",minStemLength:1},{suffix:"\u099a\u09cd\u099b",replacement:"",confidence:.82,type:"progressive",minStemLength:1},{suffix:"\u099a\u09cd\u099b\u09bf",replacement:"",confidence:.82,type:"progressive",minStemLength:1},{suffix:"\u09be",replacement:"",confidence:.9,type:"dictionary",minStemLength:1},{suffix:"\u09c7",replacement:"",confidence:.85,type:"present",minStemLength:2},{suffix:"\u09bf",replacement:"",confidence:.85,type:"present",minStemLength:2},{suffix:"\u09cb",replacement:"",confidence:.85,type:"present",minStemLength:2}],Bp=new class{constructor(){this.language="bn"}isNormalizable(e){return e.length>=2&&Hp(e)}normalize(e){const t=this.tryConjugationNormalization(e);return t||y(e)}tryConjugationNormalization(e){for(const t of Dp)if(e.endsWith(t.suffix)){const r=Array.from(e),i=Array.from(t.suffix),a=r.slice(0,r.length-i.length),n=a.join("")+t.replacement;if((t.minStemLength??1)>a.length)continue;if(n.length>0&&!Hp(n))continue;return u(n,t.confidence,{removedSuffixes:[t.suffix],conjugationType:t.type})}return null}}}}),Qp={};x(Qp,{BengaliTokenizer:()=>Zp,bengaliTokenizer:()=>Yp});var Jp,em,tm,rm=b({"src/tokenizers/bengali.ts"(){ci(),Xp(),Mt(),yi(),Wn(),Ca(),_a(),Ln(),Up=new Set(["\u0995\u09c7","\u09a4\u09c7","\u09a5\u09c7\u0995\u09c7","\u09b0","\u098f\u09b0","\u09a6\u09bf\u09af\u09bc\u09c7","\u099c\u09a8\u09cd\u09af","\u09aa\u09b0\u09cd\u09af\u09a8\u09cd\u09a4","\u098f","\u09ae\u09a7\u09cd\u09af\u09c7"]),Gp=[{native:"\u09b8\u09a4\u09cd\u09af",normalized:"true"},{native:"\u09ae\u09bf\u09a5\u09cd\u09af\u09be",normalized:"false"},{native:"\u09b6\u09c2\u09a8\u09cd\u09af",normalized:"null"},{native:"\u0985\u09a8\u09bf\u09b0\u09cd\u09a7\u09be\u09b0\u09bf\u09a4",normalized:"undefined"},{native:"\u09aa\u09cd\u09b0\u09a5\u09ae",normalized:"first"},{native:"\u09aa\u09b0\u09ac\u09b0\u09cd\u09a4\u09c0",normalized:"next"},{native:"\u0986\u0997\u09c7\u09b0",normalized:"previous"},{native:"\u09a8\u09bf\u0995\u099f\u09a4\u09ae",normalized:"closest"},{native:"\u09ae\u09c2\u09b2",normalized:"parent"},{native:"\u0995\u09cd\u09b2\u09bf\u0995",normalized:"click"},{native:"\u099c\u09ae\u09be",normalized:"submit"},{native:"\u0987\u09a8\u09aa\u09c1\u099f",normalized:"input"},{native:"\u09b2\u09cb\u09a1",normalized:"load"},{native:"\u09b8\u09cd\u0995\u09cd\u09b0\u09cb\u09b2",normalized:"scroll"},{native:"\u0995\u09c7",normalized:"to"},{native:"\u09b8\u09be\u09a5\u09c7",normalized:"with"},{native:"\u0985\u09a5\u09ac\u09be",normalized:"or"},{native:"\u0985\u09a8\u09cd\u09a4\u09b0\u09cd\u09ad\u09c1\u0995\u09cd\u09a4",normalized:"inclusive"},{native:"\u09ac\u09be\u09a6",normalized:"exclusive"},{native:"\u0985\u0995\u09cd\u09b7\u09b0",normalized:"characters"},{native:"\u098f\u09b2\u09cb\u09ae\u09c7\u09b2\u09cb",normalized:"random"}],Yp=new(Zp=class extends p{constructor(){super(),this.language="bn",this.direction="ltr",this.initializeKeywordsFromProfile(At,Gp),this.setNormalizer(Bp),this.registerExtractors(_n()),this.registerExtractor(new i),this.registerExtractor(new a),this.registerExtractor(new Ea),this.registerExtractor(new ba),this.registerExtractor(new Sn),this.registerExtractor(new ni),this.registerExtractor(new oi)}classifyToken(e){return Up.has(e)?"particle":this.isKeyword(e)?"keyword":e.startsWith("/")||e.startsWith("./")||e.startsWith("../")||e.startsWith("http")?"url":/^\.(once|prevent|stop|debounce|throttle|queue)(\(.*\))?$/.test(e)?"event-modifier":e.startsWith("#")||e.startsWith(".")||e.startsWith("[")||e.startsWith("*")||e.startsWith("<")?"selector":e.startsWith('"')||e.startsWith("'")||/^\d/.test(e)?"literal":(e.startsWith(":"),"identifier")}})}}),im={};x(im,{ThaiTokenizer:()=>em,thaiTokenizer:()=>tm});var am,nm,om,sm=b({"src/tokenizers/thai.ts"(){ci(),qr(),yi(),Wn(),qa(),Jp=[{native:"\u0e08\u0e23\u0e34\u0e07",normalized:"true"},{native:"\u0e40\u0e17\u0e47\u0e08",normalized:"false"},{native:"\u0e27\u0e48\u0e32\u0e07",normalized:"null"},{native:"\u0e44\u0e21\u0e48\u0e01\u0e33\u0e2b\u0e19\u0e14",normalized:"undefined"},{native:"\u0e41\u0e23\u0e01",normalized:"first"},{native:"\u0e2a\u0e38\u0e14\u0e17\u0e49\u0e32\u0e22",normalized:"last"},{native:"\u0e16\u0e31\u0e14\u0e44\u0e1b",normalized:"next"},{native:"\u0e01\u0e48\u0e2d\u0e19\u0e2b\u0e19\u0e49\u0e32",normalized:"previous"},{native:"\u0e43\u0e01\u0e25\u0e49\u0e2a\u0e38\u0e14",normalized:"closest"},{native:"\u0e15\u0e49\u0e19\u0e17\u0e32\u0e07",normalized:"parent"},{native:"\u0e04\u0e25\u0e34\u0e01",normalized:"click"},{native:"\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19\u0e41\u0e1b\u0e25\u0e07",normalized:"change"},{native:"\u0e2a\u0e48\u0e07",normalized:"submit"},{native:"\u0e2d\u0e34\u0e19\u0e1e\u0e38\u0e15",normalized:"input"},{native:"\u0e42\u0e2b\u0e25\u0e14",normalized:"load"},{native:"\u0e40\u0e25\u0e37\u0e48\u0e2d\u0e19",normalized:"scroll"},{native:"\u0e1b\u0e23\u0e31\u0e1a\u0e02\u0e19\u0e32\u0e14",normalized:"resize"},{native:"\u0e40\u0e27\u0e25\u0e32",normalized:"when"},{native:"\u0e44\u0e1b\u0e22\u0e31\u0e07",normalized:"to"},{native:"\u0e14\u0e49\u0e27\u0e22",normalized:"with"},{native:"\u0e41\u0e25\u0e30",normalized:"and"},{native:"\u0e23\u0e27\u0e21",normalized:"inclusive"},{native:"\u0e22\u0e01\u0e40\u0e27\u0e49\u0e19",normalized:"exclusive"},{native:"\u0e2d\u0e31\u0e01\u0e02\u0e23\u0e30",normalized:"characters"},{native:"\u0e2a\u0e38\u0e48\u0e21",normalized:"random"}],tm=new(em=class extends p{constructor(){super(),this.language="th",this.direction="ltr",this.initializeKeywordsFromProfile(_r,Jp),this.registerExtractors(_n()),this.registerExtractor(new i),this.registerExtractor(new a),this.registerExtractors([new La]),this.registerExtractor(new ni),this.registerExtractor(new oi)}classifyToken(e){return this.isKeyword(e)?"keyword":/^\.(once|prevent|stop|debounce|throttle|queue)(\(.*\))?$/.test(e)?"event-modifier":e.startsWith(".")||e.startsWith("#")||e.startsWith("[")||e.startsWith("*")||e.startsWith("<")?"selector":e.startsWith(":")?"identifier":e.startsWith('"')||e.startsWith("'")||/^-?\d/.test(e)?"literal":e.startsWith("/")||e.startsWith("./")||e.startsWith("http")?"url":"identifier"}})}}),lm={};x(lm,{MalayTokenizer:()=>nm,malayTokenizer:()=>om});var pm,mm,cm,dm,um,ym=b({"src/tokenizers/ms.ts"(){ci(),fr(),yi(),Wn(),Na(),am=[{native:"benar",normalized:"true"},{native:"salah",normalized:"false"},{native:"kosong",normalized:"null"},{native:"tak_tentu",normalized:"undefined"},{native:"pertama",normalized:"first"},{native:"terakhir",normalized:"last"},{native:"seterusnya",normalized:"next"},{native:"sebelumnya",normalized:"previous"},{native:"terdekat",normalized:"closest"},{native:"induk",normalized:"parent"},{native:"klik",normalized:"click"},{native:"berubah",normalized:"change"},{native:"ubah",normalized:"change"},{native:"hantar",normalized:"submit"},{native:"input",normalized:"input"},{native:"masuk",normalized:"input"},{native:"muat",normalized:"load"},{native:"tatal",normalized:"scroll"},{native:"hover",normalized:"hover"},{native:"inklusif",normalized:"inclusive"},{native:"eksklusif",normalized:"exclusive"},{native:"aksara",normalized:"characters"},{native:"rawak",normalized:"random"}],om=new(nm=class extends p{constructor(){super(),this.language="ms",this.direction="ltr",this.initializeKeywordsFromProfile(dr,am),this.registerExtractors(_n()),this.registerExtractor(new i),this.registerExtractor(new a),this.registerExtractors([new Aa]),this.registerExtractor(new ni),this.registerExtractor(new oi)}classifyToken(e){return this.isKeyword(e)?"keyword":/^\.(once|prevent|stop|debounce|throttle|queue)(\(.*\))?$/.test(e)?"event-modifier":e.startsWith(".")||e.startsWith("#")||e.startsWith("[")||e.startsWith("*")||e.startsWith("<")?"selector":e.startsWith(":")?"identifier":e.startsWith('"')||e.startsWith("'")||/^-?\d/.test(e)?"literal":e.startsWith("/")||e.startsWith("./")||e.startsWith("http")?"url":"identifier"}})}});function vm(e){const t=e.charCodeAt(0);return t>=65&&90>=t||t>=97&&122>=t||("\u00f1"===e||"\u00d1"===e)}var fm,hm,gm,km=b({"src/tokenizers/morphology/tagalog-normalizer.ts"(){Dn(),pm=[{pattern:"magpapa",confidencePenalty:.15,prefixType:"verb-marker",minRemaining:3},{pattern:"magpa",confidencePenalty:.15,prefixType:"verb-marker",minRemaining:3},{pattern:"ipang",confidencePenalty:.15,prefixType:"verb-marker",minRemaining:3},{pattern:"ipag",confidencePenalty:.15,prefixType:"verb-marker",minRemaining:3},{pattern:"nagpa",confidencePenalty:.15,prefixType:"verb-marker",minRemaining:3}],mm=[{pattern:"mag",confidencePenalty:.15,prefixType:"verb-marker",minRemaining:3},{pattern:"nag",confidencePenalty:.15,prefixType:"verb-marker",minRemaining:3},{pattern:"mang",confidencePenalty:.15,prefixType:"verb-marker",minRemaining:3},{pattern:"nang",confidencePenalty:.15,prefixType:"verb-marker",minRemaining:3},{pattern:"ma",confidencePenalty:.12,prefixType:"verb-marker",minRemaining:3},{pattern:"na",confidencePenalty:.12,prefixType:"verb-marker",minRemaining:3},{pattern:"i",confidencePenalty:.15,prefixType:"verb-marker",minRemaining:3},{pattern:"pa",confidencePenalty:.12,prefixType:"verb-marker",minRemaining:3}],cm=["um","in"],dm=[{pattern:"hin",confidencePenalty:.18,type:"patient-focus"},{pattern:"in",confidencePenalty:.18,type:"patient-focus"},{pattern:"han",confidencePenalty:.18,type:"locative-focus"},{pattern:"an",confidencePenalty:.18,type:"locative-focus"}],um=new class{constructor(){this.language="tl"}isNormalizable(e){return!!function(e){for(const t of e)if(vm(t))return!0;return!1}(e)&&2<=e.length}normalize(e){let t=e.toLowerCase(),r=1;const i=[],a=[],n=[];for(const e of pm)if(t.startsWith(e.pattern)){const a=t.slice(e.pattern.length);if(a.length>=(e.minRemaining??2)){t=a,r-=e.confidencePenalty,i.push(e.pattern),n.push("prefix:"+e.pattern);break}}if(0===i.length)for(const e of mm)if(t.startsWith(e.pattern)){const a=t.slice(e.pattern.length);if(a.length>=(e.minRemaining??2)){t=a,r-=e.confidencePenalty,i.push(e.pattern),n.push("prefix:"+e.pattern);break}}const o=function(e){const t=e.toLowerCase();if(4>t.length)return{stem:t,reduplicated:!1};const r=t[0],i=t[1];if(!"aeiou".includes(r)&&"aeiou".includes(i)){const e=t.slice(2);if(e.length>=2&&e[0]===r)return{stem:e,reduplicated:!0}}return{stem:t,reduplicated:!1}}(t);o.reduplicated&&o.stem.length>=2&&(t=o.stem,r-=.1,n.push("reduplication:CV"));const s=function(e){const t=e.toLowerCase();if(5>t.length)return null;let r=0;for(let e=0;t.length>e&&!"aeiou".includes(t[e]);e++)r=e+1;if(0===r)return null;for(const e of cm){const i=r;if(t.slice(i,i+e.length)===e){const a=t.slice(0,r)+t.slice(i+e.length);if(a.length>=3)return{stem:a,infix:e}}}return null}(t);let l=!1;if(s&&s.stem.length>=2&&(t=s.stem,r-=.18,n.push("infix:"+s.infix),l=!0),!l)for(const e of dm)if(t.endsWith(e.pattern)){const i=t.slice(0,-e.pattern.length);if(i.length>=2){t=i,r-=e.confidencePenalty,a.push(e.pattern),n.push("suffix:"+e.pattern);break}}return r=Math.max(.5,r),0===i.length&&0===a.length&&0===n.length?y(e):u(t,r,{removedPrefixes:i,removedSuffixes:a,appliedRules:n})}}}}),zm={};x(zm,{TagalogTokenizer:()=>hm,tagalogTokenizer:()=>gm});var wm,bm,xm,Tm=b({"src/tokenizers/tl.ts"(){ci(),Mr(),km(),yi(),Wn(),Ba(),fm=[{native:"totoo",normalized:"true"},{native:"mali",normalized:"false"},{native:"wala",normalized:"null"},{native:"hindi_tinukoy",normalized:"undefined"},{native:"una",normalized:"first"},{native:"huli",normalized:"last"},{native:"susunod",normalized:"next"},{native:"nakaraan",normalized:"previous"},{native:"pinakamalapit",normalized:"closest"},{native:"magulang",normalized:"parent"},{native:"pindot",normalized:"click"},{native:"pagbabago",normalized:"change"},{native:"isumite",normalized:"submit"},{native:"input",normalized:"input"},{native:"karga",normalized:"load"},{native:"mag_scroll",normalized:"scroll"},{native:"kasama",normalized:"inclusive"},{native:"bukod",normalized:"exclusive"},{native:"karakter",normalized:"characters"},{native:"random",normalized:"random"}],gm=new(hm=class extends p{constructor(){super(),this.language="tl",this.direction="ltr",this.initializeKeywordsFromProfile(Ar,fm),this.setNormalizer(um),this.registerExtractors(_n()),this.registerExtractor(new i),this.registerExtractor(new a),this.registerExtractors([new Ma]),this.registerExtractor(new ni),this.registerExtractor(new oi)}classifyToken(e){return this.isKeyword(e)?"keyword":/^\.(once|prevent|stop|debounce|throttle|queue)(\(.*\))?$/.test(e)?"event-modifier":e.startsWith(".")||e.startsWith("#")||e.startsWith("[")||e.startsWith("*")||e.startsWith("<")?"selector":e.startsWith(":")?"identifier":e.startsWith('"')||e.startsWith("'")||/^-?\d/.test(e)?"literal":e.startsWith("/")||e.startsWith("./")||e.startsWith("http")?"url":"identifier"}})}});function Sm(e,t){const r=wm[t];return r&&r[e]?r[e]:e.toLowerCase()}function jm(){return xm}function Em(e,t){return xm[t]?.has(e)?e:bm[t]?.[e]??e}function Lm(e){const t=e.verbAlts?{type:"literal",value:e.verb,alternatives:e.verbAlts}:{type:"literal",value:e.verb},r=e.eventMarkerAlts?{type:"literal",value:e.eventMarker,alternatives:e.eventMarkerAlts}:{type:"literal",value:e.eventMarker};return["before","after"].map(i=>{const a={type:"literal",value:"before"===i?e.before:e.after},n={type:"role",role:"patient"},o={type:"role",role:"destination"},s={type:"role",role:"event"};return{id:`put-event-${e.lang}-vso-${i}`,language:e.lang,command:"on",priority:160,template:{format:`${e.lang} put ${i}`,tokens:"verb-first"===e.order?[t,n,a,o,r,s]:[r,s,t,n,a,o]},extraction:"verb-first"===e.order?{action:{value:"put"},patient:{position:1},destination:{position:3},event:{position:5},manner:{default:{type:"literal",value:i}}}:{action:{value:"put"},event:{position:1},patient:{position:3},destination:{position:5},manner:{default:{type:"literal",value:i}}}}})}function Cm(e){switch(e){case"bn":return[{id:"event-handler-bn-sov",language:"bn",command:"on",priority:100,template:{format:"{event} \u09a4\u09c7 {action}",tokens:[{type:"role",role:"event"},{type:"literal",value:"\u09a4\u09c7",alternatives:["\u098f"]},{type:"role",role:"action"}]},extraction:{event:{position:0},action:{position:2}}},{id:"event-handler-bn-with-source",language:"bn",command:"on",priority:95,template:{format:"{source} \u09a5\u09c7\u0995\u09c7 {event} \u09a4\u09c7 {action}",tokens:[{type:"role",role:"source"},{type:"literal",value:"\u09a5\u09c7\u0995\u09c7"},{type:"role",role:"event"},{type:"literal",value:"\u09a4\u09c7",alternatives:["\u098f"]},{type:"role",role:"action"}]},extraction:{source:{position:0},event:{marker:"\u09a4\u09c7",position:2},action:{position:4}}},{id:"event-handler-bn-when",language:"bn",command:"on",priority:90,template:{format:"\u09af\u0996\u09a8 {event} {action}",tokens:[{type:"literal",value:"\u09af\u0996\u09a8"},{type:"role",role:"event"},{type:"role",role:"action"}]},extraction:{event:{position:1},action:{position:2}}}];case"ko":return[{id:"event-handler-ko-sov",language:"ko",command:"on",priority:110,template:{format:"{event} \ud560 \ub54c",tokens:[{type:"role",role:"event",expectedTypes:["literal","expression"]},{type:"literal",value:"\ud560"},{type:"literal",value:"\ub54c"}]},extraction:{event:{position:0},source:{default:{type:"reference",value:"me"}}}},{id:"event-handler-ko-with-source",language:"ko",command:"on",priority:108,template:{format:"{source} \uc5d0\uc11c {event} \ud560 \ub54c",tokens:[{type:"role",role:"source",expectedTypes:["selector","reference"]},{type:"literal",value:"\uc5d0\uc11c"},{type:"role",role:"event",expectedTypes:["literal","expression"]},{type:"literal",value:"\ud560"},{type:"literal",value:"\ub54c"}]},extraction:{source:{position:0},event:{position:2}}}];case"de":return[{id:"event-de-wenn-source",language:"de",command:"on",priority:115,template:{format:"wenn {event} von {source} {body}",tokens:[{type:"literal",value:"wenn",alternatives:["falls","sobald"]},{type:"role",role:"event"},{type:"literal",value:"von",alternatives:["aus"]},{type:"role",role:"source"}]},extraction:{event:{position:1},source:{marker:"von",markerAlternatives:["aus"]}}},{id:"event-de-wenn",language:"de",command:"on",priority:105,template:{format:"wenn {event} {body}",tokens:[{type:"literal",value:"wenn",alternatives:["falls","sobald"]},{type:"role",role:"event"}]},extraction:{event:{position:1}}},{id:"event-de-bei-source",language:"de",command:"on",priority:110,template:{format:"bei {event} von {source} {body}",tokens:[{type:"literal",value:"bei",alternatives:["beim"]},{type:"role",role:"event"},{type:"literal",value:"von",alternatives:["aus"]},{type:"role",role:"source"}]},extraction:{event:{position:1},source:{marker:"von",markerAlternatives:["aus"]}}},{id:"event-de-bei",language:"de",command:"on",priority:100,template:{format:"bei {event} {body}",tokens:[{type:"literal",value:"bei",alternatives:["beim"]},{type:"role",role:"event"}]},extraction:{event:{position:1}}},{id:"event-de-auf",language:"de",command:"on",priority:95,template:{format:"auf {event} {body}",tokens:[{type:"literal",value:"auf"},{type:"role",role:"event"}]},extraction:{event:{position:1}}},{id:"event-de-im-falle",language:"de",command:"on",priority:90,template:{format:"im Falle von {event} {body}",tokens:[{type:"literal",value:"im Falle von",alternatives:["im Fall von"]},{type:"role",role:"event"}]},extraction:{event:{position:1}}}];case"en":return[{id:"event-en-source",language:"en",command:"on",priority:110,template:{format:"on {event} from {source} {body}",tokens:[{type:"literal",value:"on"},{type:"role",role:"event"},{type:"literal",value:"from"},{type:"role",role:"source"}]},extraction:{event:{position:1},source:{marker:"from"}}},{id:"event-en-standard",language:"en",command:"on",priority:100,template:{format:"on {event} {body}",tokens:[{type:"literal",value:"on"},{type:"role",role:"event"}]},extraction:{event:{position:1}}},{id:"event-en-upon",language:"en",command:"on",priority:98,template:{format:"upon {event} {body}",tokens:[{type:"literal",value:"upon"},{type:"role",role:"event"}]},extraction:{event:{position:1}}},{id:"event-en-if",language:"en",command:"on",priority:95,template:{format:"if {event} {body}",tokens:[{type:"literal",value:"if"},{type:"role",role:"event"}]},extraction:{event:{position:1}}}];case"es":return[{id:"event-es-native-al-source",language:"es",command:"on",priority:115,template:{format:"al {event} en {source} {body}",tokens:[{type:"literal",value:"al"},{type:"role",role:"event"},{type:"literal",value:"en",alternatives:["de"]},{type:"role",role:"source"}]},extraction:{event:{position:1},source:{marker:"en",markerAlternatives:["de"]}}},{id:"event-es-cuando-source",language:"es",command:"on",priority:112,template:{format:"cuando {event} en {source} {body}",tokens:[{type:"literal",value:"cuando"},{type:"role",role:"event"},{type:"literal",value:"en",alternatives:["de"]},{type:"role",role:"source"}]},extraction:{event:{position:1},source:{marker:"en",markerAlternatives:["de"]}}},{id:"event-es-native-al",language:"es",command:"on",priority:108,template:{format:"al {event} {body}",tokens:[{type:"literal",value:"al"},{type:"role",role:"event"}]},extraction:{event:{position:1}}},{id:"event-es-standard",language:"es",command:"on",priority:100,template:{format:"en {event} {body}",tokens:[{type:"literal",value:"en",alternatives:["al","cuando"]},{type:"role",role:"event"}]},extraction:{event:{position:1}}},{id:"event-es-source",language:"es",command:"on",priority:110,template:{format:"en {event} desde {source} {body}",tokens:[{type:"literal",value:"en",alternatives:["al"]},{type:"role",role:"event"},{type:"literal",value:"desde",alternatives:["de"]},{type:"role",role:"source"}]},extraction:{event:{position:1},source:{marker:"desde",markerAlternatives:["de"]}}},{id:"event-es-when",language:"es",command:"on",priority:95,template:{format:"cuando {event} {body}",tokens:[{type:"literal",value:"cuando"},{type:"role",role:"event"}]},extraction:{event:{position:1}}},{id:"event-es-conditional-si",language:"es",command:"on",priority:85,template:{format:"si {event} {body}",tokens:[{type:"literal",value:"si"},{type:"role",role:"event"}]},extraction:{event:{position:1}}}];case"fr":return[{id:"event-fr-quand-source",language:"fr",command:"on",priority:115,template:{format:"quand {event} de {source} {body}",tokens:[{type:"literal",value:"quand",alternatives:["lorsque"]},{type:"role",role:"event"},{type:"literal",value:"de",alternatives:["depuis"]},{type:"role",role:"source"}]},extraction:{event:{position:1},source:{marker:"de",markerAlternatives:["depuis"]}}},{id:"event-fr-quand",language:"fr",command:"on",priority:105,template:{format:"quand {event} {body}",tokens:[{type:"literal",value:"quand",alternatives:["lorsque"]},{type:"role",role:"event"}]},extraction:{event:{position:1}}},{id:"event-fr-sur-source",language:"fr",command:"on",priority:110,template:{format:"sur {event} de {source} {body}",tokens:[{type:"literal",value:"sur",alternatives:["lors de"]},{type:"role",role:"event"},{type:"literal",value:"de",alternatives:["depuis"]},{type:"role",role:"source"}]},extraction:{event:{position:1},source:{marker:"de",markerAlternatives:["depuis"]}}},{id:"event-fr-sur",language:"fr",command:"on",priority:100,template:{format:"sur {event} {body}",tokens:[{type:"literal",value:"sur",alternatives:["lors de"]},{type:"role",role:"event"}]},extraction:{event:{position:1}}},{id:"event-fr-si",language:"fr",command:"on",priority:95,template:{format:"si {event} {body}",tokens:[{type:"literal",value:"si"},{type:"role",role:"event"}]},extraction:{event:{position:1}}},{id:"event-fr-a",language:"fr",command:"on",priority:90,template:{format:"\u00e0 {event} {body}",tokens:[{type:"literal",value:"\u00e0",alternatives:["au"]},{type:"role",role:"event"}]},extraction:{event:{position:1}}}];case"hi":return[{id:"event-hi-standard",language:"hi",command:"on",priority:100,template:{format:"{event} \u092a\u0930",tokens:[{type:"role",role:"event"},{type:"literal",value:"\u092a\u0930",alternatives:["\u092e\u0947\u0902","\u091c\u092c"]}]},extraction:{event:{position:0}}},{id:"event-hi-with-source",language:"hi",command:"on",priority:95,template:{format:"{source} \u0938\u0947 {event} \u092a\u0930",tokens:[{type:"role",role:"source"},{type:"literal",value:"\u0938\u0947"},{type:"role",role:"event"},{type:"literal",value:"\u092a\u0930",alternatives:["\u092e\u0947\u0902","\u091c\u092c"]}]},extraction:{source:{position:0},event:{marker:"\u0938\u0947",position:2}}},{id:"event-hi-when",language:"hi",command:"on",priority:95,template:{format:"\u091c\u092c {event} {body}",tokens:[{type:"literal",value:"\u091c\u092c"},{type:"role",role:"event",expectedTypes:["reference","expression","selector"]}]},extraction:{event:{position:1}}},{id:"event-hi-bare",language:"hi",command:"on",priority:80,template:{format:"{event}",tokens:[{type:"role",role:"event"}]},extraction:{event:{position:0}}}];case"id":return[{id:"event-id-ketika-source",language:"id",command:"on",priority:115,template:{format:"ketika {event} dari {source} {body}",tokens:[{type:"literal",value:"ketika",alternatives:["saat","waktu"]},{type:"role",role:"event"},{type:"literal",value:"dari"},{type:"role",role:"source"}]},extraction:{event:{position:1},source:{marker:"dari"}}},{id:"event-id-ketika",language:"id",command:"on",priority:105,template:{format:"ketika {event} {body}",tokens:[{type:"literal",value:"ketika",alternatives:["saat","waktu"]},{type:"role",role:"event"}]},extraction:{event:{position:1}}},{id:"event-id-pada-source",language:"id",command:"on",priority:110,template:{format:"pada {event} dari {source} {body}",tokens:[{type:"literal",value:"pada"},{type:"role",role:"event"},{type:"literal",value:"dari"},{type:"role",role:"source"}]},extraction:{event:{position:1},source:{marker:"dari"}}},{id:"event-id-pada",language:"id",command:"on",priority:100,template:{format:"pada {event} {body}",tokens:[{type:"literal",value:"pada"},{type:"role",role:"event"}]},extraction:{event:{position:1}}},{id:"event-id-jika",language:"id",command:"on",priority:95,template:{format:"jika {event} {body}",tokens:[{type:"literal",value:"jika",alternatives:["kalau","apabila"]},{type:"role",role:"event"}]},extraction:{event:{position:1}}},{id:"event-id-bila",language:"id",command:"on",priority:90,template:{format:"bila {event} {body}",tokens:[{type:"literal",value:"bila"},{type:"role",role:"event"}]},extraction:{event:{position:1}}}];case"it":return[{id:"event-handler-it-full",language:"it",command:"on",priority:100,template:{format:"su {event} {action}",tokens:[{type:"literal",value:"su",alternatives:["quando","al","on"]},{type:"role",role:"event"},{type:"role",role:"action"}]},extraction:{event:{position:1},action:{position:2}}},{id:"event-handler-it-from",language:"it",command:"on",priority:95,template:{format:"su {event} da {source} {action}",tokens:[{type:"literal",value:"su",alternatives:["quando","al","on"]},{type:"role",role:"event"},{type:"literal",value:"da",alternatives:["di"]},{type:"role",role:"source"},{type:"role",role:"action"}]},extraction:{event:{position:1},source:{marker:"da",markerAlternatives:["di"]},action:{position:-1}}}];case"ms":return[{id:"event-ms-apabila",language:"ms",command:"on",priority:100,template:{format:"apabila {event} {body}",tokens:[{type:"literal",value:"apabila",alternatives:["bila","ketika"]},{type:"role",role:"event"}]},extraction:{event:{position:1}}},{id:"event-ms-apabila-source",language:"ms",command:"on",priority:110,template:{format:"apabila {event} dari {source} {body}",tokens:[{type:"literal",value:"apabila",alternatives:["bila","ketika"]},{type:"role",role:"event"},{type:"literal",value:"dari"},{type:"role",role:"source"}]},extraction:{event:{position:1},source:{marker:"dari"}}}];case"pl":return[{id:"event-handler-pl-full",language:"pl",command:"on",priority:100,template:{format:"gdy {event} na {source}",tokens:[{type:"literal",value:"gdy",alternatives:["kiedy","przy","na"]},{type:"role",role:"event"},{type:"group",optional:!0,tokens:[{type:"literal",value:"na",alternatives:["w","przy","z"]},{type:"role",role:"source"}]}]},extraction:{event:{position:1},source:{marker:"na",markerAlternatives:["w","przy","z"],default:{type:"reference",value:"me"}}}},{id:"event-handler-pl-simple",language:"pl",command:"on",priority:90,template:{format:"gdy {event}",tokens:[{type:"literal",value:"gdy",alternatives:["kiedy","przy","na"]},{type:"role",role:"event"}]},extraction:{event:{position:1},source:{default:{type:"reference",value:"me"}}}}];case"pt":return[{id:"event-pt-ao-source",language:"pt",command:"on",priority:115,template:{format:"ao {event} em {source} {body}",tokens:[{type:"literal",value:"ao",alternatives:["\u00e0"]},{type:"role",role:"event"},{type:"literal",value:"em",alternatives:["de","no","na"]},{type:"role",role:"source"}]},extraction:{event:{position:1},source:{marker:"em",markerAlternatives:["de","no","na"]}}},{id:"event-pt-quando-source",language:"pt",command:"on",priority:110,template:{format:"quando {event} de {source} {body}",tokens:[{type:"literal",value:"quando"},{type:"role",role:"event"},{type:"literal",value:"de",alternatives:["em","no","na"]},{type:"role",role:"source"}]},extraction:{event:{position:1},source:{marker:"de",markerAlternatives:["em","no","na"]}}},{id:"event-pt-ao",language:"pt",command:"on",priority:105,template:{format:"ao {event} {body}",tokens:[{type:"literal",value:"ao",alternatives:["\u00e0"]},{type:"role",role:"event"}]},extraction:{event:{position:1}}},{id:"event-pt-quando",language:"pt",command:"on",priority:100,template:{format:"quando {event} {body}",tokens:[{type:"literal",value:"quando"},{type:"role",role:"event"}]},extraction:{event:{position:1}}},{id:"event-pt-em",language:"pt",command:"on",priority:95,template:{format:"em {event} {body}",tokens:[{type:"literal",value:"em",alternatives:["no","na"]},{type:"role",role:"event"}]},extraction:{event:{position:1}}},{id:"event-pt-se",language:"pt",command:"on",priority:90,template:{format:"se {event} {body}",tokens:[{type:"literal",value:"se"},{type:"role",role:"event"}]},extraction:{event:{position:1}}}];case"qu":return[{id:"event-qu-maykama",language:"qu",command:"on",priority:115,template:{format:"maykama {event} {body}",tokens:[{type:"literal",value:"maykama"},{type:"role",role:"event"}]},extraction:{event:{position:1}}},{id:"event-qu-kaqtin",language:"qu",command:"on",priority:105,template:{format:"{event} kaqtin {body}",tokens:[{type:"role",role:"event"},{type:"literal",value:"kaqtin",alternatives:["qtin","ptin"]}]},extraction:{event:{position:0}}},{id:"event-qu-standard",language:"qu",command:"on",priority:100,template:{format:"{event} pi {body}",tokens:[{type:"role",role:"event"},{type:"literal",value:"pi",alternatives:["kaqpi","kaqpim"]}]},extraction:{event:{position:0}}}];case"ru":return[{id:"event-handler-ru-full",language:"ru",command:"on",priority:100,template:{format:"\u043f\u0440\u0438 {event} \u043d\u0430 {source}",tokens:[{type:"literal",value:"\u043f\u0440\u0438",alternatives:["\u043a\u043e\u0433\u0434\u0430"]},{type:"role",role:"event"},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u043d\u0430",alternatives:["\u0432","\u043e\u0442"]},{type:"role",role:"source"}]}]},extraction:{event:{position:1},source:{marker:"\u043d\u0430",markerAlternatives:["\u0432","\u043e\u0442"],default:{type:"reference",value:"me"}}}},{id:"event-handler-ru-simple",language:"ru",command:"on",priority:90,template:{format:"\u043f\u0440\u0438 {event}",tokens:[{type:"literal",value:"\u043f\u0440\u0438",alternatives:["\u043a\u043e\u0433\u0434\u0430"]},{type:"role",role:"event"}]},extraction:{event:{position:1},source:{default:{type:"reference",value:"me"}}}}];case"sw":return[{id:"event-sw-unapo-source",language:"sw",command:"on",priority:115,template:{format:"unapo {event} kutoka {source} {body}",tokens:[{type:"literal",value:"unapo",alternatives:["wakati wa","wakati"]},{type:"role",role:"event"},{type:"literal",value:"kutoka"},{type:"role",role:"source"}]},extraction:{event:{position:1},source:{marker:"kutoka"}}},{id:"event-sw-unapo",language:"sw",command:"on",priority:105,template:{format:"unapo {event} {body}",tokens:[{type:"literal",value:"unapo",alternatives:["wakati wa","wakati"]},{type:"role",role:"event"}]},extraction:{event:{position:1}}},{id:"event-sw-kwa-source",language:"sw",command:"on",priority:110,template:{format:"kwa {event} kutoka {source} {body}",tokens:[{type:"literal",value:"kwa"},{type:"role",role:"event"},{type:"literal",value:"kutoka"},{type:"role",role:"source"}]},extraction:{event:{position:1},source:{marker:"kutoka"}}},{id:"event-sw-kwa",language:"sw",command:"on",priority:100,template:{format:"kwa {event} {body}",tokens:[{type:"literal",value:"kwa"},{type:"role",role:"event"}]},extraction:{event:{position:1}}},{id:"event-sw-ikiwa",language:"sw",command:"on",priority:95,template:{format:"ikiwa {event} {body}",tokens:[{type:"literal",value:"ikiwa",alternatives:["kama"]},{type:"role",role:"event"}]},extraction:{event:{position:1}}},{id:"event-sw-baada-ya",language:"sw",command:"on",priority:90,template:{format:"baada ya {event} {body}",tokens:[{type:"literal",value:"baada ya"},{type:"role",role:"event"}]},extraction:{event:{position:1}}}];case"th":return[{id:"event-handler-th-svo",language:"th",command:"on",priority:100,template:{format:"\u0e40\u0e21\u0e37\u0e48\u0e2d {event} {action}",tokens:[{type:"literal",value:"\u0e40\u0e21\u0e37\u0e48\u0e2d",alternatives:["\u0e15\u0e2d\u0e19"]},{type:"role",role:"event"},{type:"role",role:"action"}]},extraction:{event:{position:1},action:{position:2}}},{id:"event-handler-th-with-source",language:"th",command:"on",priority:95,template:{format:"\u0e40\u0e21\u0e37\u0e48\u0e2d {event} \u0e08\u0e32\u0e01 {source} {action}",tokens:[{type:"literal",value:"\u0e40\u0e21\u0e37\u0e48\u0e2d",alternatives:["\u0e15\u0e2d\u0e19"]},{type:"role",role:"event"},{type:"literal",value:"\u0e08\u0e32\u0e01"},{type:"role",role:"source"},{type:"role",role:"action"}]},extraction:{event:{position:1},source:{marker:"\u0e08\u0e32\u0e01",position:3},action:{position:4}}}];case"tl":return[...Lm({lang:"tl",verb:"ilagay",verbAlts:["maglagay"],eventMarker:"kapag",eventMarkerAlts:["sa"],before:"bago",after:"matapos",order:"verb-first"}),{id:"event-tl-kapag-source",language:"tl",command:"on",priority:115,template:{format:"kapag {event} mula_sa {source} {body}",tokens:[{type:"literal",value:"kapag",alternatives:["sa"]},{type:"role",role:"event"},{type:"literal",value:"mula_sa",alternatives:["galing_sa"]},{type:"role",role:"source"}]},extraction:{event:{position:1},source:{marker:"mula_sa"}}},{id:"event-tl-kapag",language:"tl",command:"on",priority:105,template:{format:"kapag {event} {body}",tokens:[{type:"literal",value:"kapag",alternatives:["sa"]},{type:"role",role:"event"}]},extraction:{event:{position:1}}}];case"uk":return[...Lm({lang:"uk",verb:"\u043f\u043e\u043a\u043b\u0430\u0441\u0442\u0438",verbAlts:["\u043f\u043e\u043a\u043b\u0430\u0434\u0438","\u043f\u043e\u043c\u0456\u0441\u0442\u0438\u0442\u0438","\u043f\u043e\u043c\u0456\u0441\u0442\u0438","\u0432\u0441\u0442\u0430\u0432\u0438\u0442\u0438","\u0432\u0441\u0442\u0430\u0432"],eventMarker:"\u043f\u0440\u0438",eventMarkerAlts:["\u043a\u043e\u043b\u0438"],before:"\u0434\u043e",after:"\u043f\u0456\u0441\u043b\u044f",order:"event-first"}),{id:"event-handler-uk-full",language:"uk",command:"on",priority:100,template:{format:"\u043f\u0440\u0438 {event} \u043d\u0430 {source}",tokens:[{type:"literal",value:"\u043f\u0440\u0438",alternatives:["\u043a\u043e\u043b\u0438"]},{type:"role",role:"event"},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u043d\u0430",alternatives:["\u0432","\u0432\u0456\u0434"]},{type:"role",role:"source"}]}]},extraction:{event:{position:1},source:{marker:"\u043d\u0430",markerAlternatives:["\u0432","\u0432\u0456\u0434"],default:{type:"reference",value:"me"}}}},{id:"event-handler-uk-simple",language:"uk",command:"on",priority:90,template:{format:"\u043f\u0440\u0438 {event}",tokens:[{type:"literal",value:"\u043f\u0440\u0438",alternatives:["\u043a\u043e\u043b\u0438"]},{type:"role",role:"event"}]},extraction:{event:{position:1},source:{default:{type:"reference",value:"me"}}}}];case"vi":return[{id:"event-handler-vi-full",language:"vi",command:"on",priority:100,template:{format:"khi {event} tr\u00ean {source}",tokens:[{type:"literal",value:"khi",alternatives:["l\u00fac","tr\u00ean"]},{type:"role",role:"event"},{type:"group",optional:!0,tokens:[{type:"literal",value:"tr\u00ean",alternatives:["t\u1ea1i"]},{type:"role",role:"source"}]}]},extraction:{event:{position:1},source:{marker:"tr\u00ean",markerAlternatives:["t\u1ea1i"],default:{type:"reference",value:"me"}}}},{id:"event-handler-vi-simple",language:"vi",command:"on",priority:90,template:{format:"khi {event}",tokens:[{type:"literal",value:"khi",alternatives:["l\u00fac","tr\u00ean"]},{type:"role",role:"event"}]},extraction:{event:{position:1},source:{default:{type:"reference",value:"me"}}}}];case"zh":return[{id:"event-zh-temporal-source",language:"zh",command:"on",priority:115,template:{format:"{event} \u7684\u65f6\u5019 \u4ece {source} {body}",tokens:[{type:"role",role:"event"},{type:"literal",value:"\u7684\u65f6\u5019",alternatives:["\u65f6\u5019","\u65f6"]},{type:"literal",value:"\u4ece",alternatives:["\u5728"]},{type:"role",role:"source"}]},extraction:{event:{position:0},source:{marker:"\u4ece",markerAlternatives:["\u5728"]}}},{id:"event-zh-source",language:"zh",command:"on",priority:110,template:{format:"\u5f53 {event} \u4ece {source} {body}",tokens:[{type:"literal",value:"\u5f53"},{type:"role",role:"event"},{type:"literal",value:"\u4ece",alternatives:["\u5728"]},{type:"role",role:"source"}]},extraction:{event:{position:1},source:{marker:"\u4ece",markerAlternatives:["\u5728"]}}},{id:"event-zh-immediate",language:"zh",command:"on",priority:108,template:{format:"\u4e00 {event} \u5c31 {body}",tokens:[{type:"literal",value:"\u4e00"},{type:"role",role:"event"},{type:"literal",value:"\u5c31"}]},extraction:{event:{position:1}}},{id:"event-zh-temporal",language:"zh",command:"on",priority:105,template:{format:"{event} \u7684\u65f6\u5019 {body}",tokens:[{type:"role",role:"event"},{type:"literal",value:"\u7684\u65f6\u5019",alternatives:["\u65f6\u5019","\u65f6"]}]},extraction:{event:{position:0}}},{id:"event-zh-whenever",language:"zh",command:"on",priority:103,template:{format:"\u6bcf\u5f53 {event} {body}",tokens:[{type:"literal",value:"\u6bcf\u5f53",alternatives:["\u6bcf\u6b21"]},{type:"role",role:"event"}]},extraction:{event:{position:1}}},{id:"event-zh-circumfix",language:"zh",command:"on",priority:106,template:{format:"\u5f53 {event} \u65f6 {body}",tokens:[{type:"literal",value:"\u5f53"},{type:"role",role:"event"},{type:"literal",value:"\u65f6",alternatives:["\u7684\u65f6\u5019","\u65f6\u5019"]}]},extraction:{event:{position:1}}},{id:"event-zh-standard",language:"zh",command:"on",priority:100,template:{format:"\u5f53 {event} {body}",tokens:[{type:"literal",value:"\u5f53"},{type:"role",role:"event"}]},extraction:{event:{position:1}}},{id:"event-zh-completion",language:"zh",command:"on",priority:95,template:{format:"{event} \u4e86 {body}",tokens:[{type:"role",role:"event"},{type:"literal",value:"\u4e86"}]},extraction:{event:{position:0}}},{id:"event-zh-conditional",language:"zh",command:"on",priority:90,template:{format:"\u5982\u679c {event} {body}",tokens:[{type:"literal",value:"\u5982\u679c",alternatives:["\u82e5","\u5047\u5982"]},{type:"role",role:"event"}]},extraction:{event:{position:1}}}];case"ja":return[{id:"event-ja-when",language:"ja",command:"on",priority:95,template:{format:"\u3068\u304d {event} {body}",tokens:[{type:"literal",value:"\u3068\u304d",alternatives:["\u6642","\u3068\u304d\u306b"]},{type:"role",role:"event"}]},extraction:{event:{position:1}}}];case"tr":return[{id:"event-tr-when",language:"tr",command:"on",priority:95,template:{format:"iken {event} {body}",tokens:[{type:"literal",value:"iken",alternatives:["durumunda","oldu\u011funda"]},{type:"role",role:"event"}]},extraction:{event:{position:1}}}];case"ar":return[...Lm({lang:"ar",verb:"\u0636\u0639",verbAlts:["\u0627\u062c\u0639\u0644"],eventMarker:"\u0639\u0646\u062f",eventMarkerAlts:["\u0641\u064a","\u0644\u062f\u0649","\u0639\u0646\u062f\u0645\u0627","\u062d\u064a\u0646","\u062d\u064a\u0646\u0645\u0627","\u0644\u0645\u0651\u0627","\u0644\u0645\u0627"],before:"\u0642\u0628\u0644",after:"\u0628\u0639\u062f",order:"verb-first"}),{id:"event-ar-when",language:"ar",command:"on",priority:95,template:{format:"\u0639\u0646\u062f\u0645\u0627 {event} {body}",tokens:[{type:"literal",value:"\u0639\u0646\u062f\u0645\u0627",alternatives:["\u062d\u064a\u0646","\u0644\u0645\u0651\u0627"]},{type:"role",role:"event"}]},extraction:{event:{position:1}}}];case"he":return[{id:"event-he-when",language:"he",command:"on",priority:95,template:{format:"\u05db\u05d0\u05e9\u05e8 {event} {body}",tokens:[{type:"literal",value:"\u05db\u05d0\u05e9\u05e8",alternatives:["\u05db\u05e9"]},{type:"role",role:"event"}]},extraction:{event:{position:1}}}];default:return[]}}var _m=b({"src/patterns/event-handler.ts"(){bm=Object.fromEntries(Object.entries(wm={ko:{"\ud074\ub9ad":"click","\uc785\ub825":"input","\ubcc0\uacbd":"change","\uc81c\ucd9c":"submit","\ud0a4\ub2e4\uc6b4":"keydown","\ud0a4\uc5c5":"keyup","\ub9c8\uc6b0\uc2a4\uc624\ubc84":"mouseover","\ub9c8\uc6b0\uc2a4\uc544\uc6c3":"mouseout","\ub9c8\uc6b0\uc2a4\ub2e4\uc6b4":"mousedown","\ub9c8\uc6b0\uc2a4\uc5c5":"mouseup","\ud3ec\ucee4\uc2a4":"focus","\ube14\ub7ec":"blur","\ub85c\ub4dc":"load","\ub9ac\uc0ac\uc774\uc988":"resize","\uc2a4\ud06c\ub864":"scroll","\ub9c8\uc6b0\uc2a4\uc5d4\ud130":"mouseenter","\ub9c8\uc6b0\uc2a4\ub9ac\ube0c":"mouseleave","\ub9c8\uc6b0\uc2a4\ubb34\ube0c":"mousemove","\ud0a4\ud504\ub808\uc2a4":"keypress","\ud130\uce58\uc885\ub8cc":"touchend","\ud130\uce58\ucde8\uc18c":"touchcancel"},ja:{"\u30af\u30ea\u30c3\u30af":"click","\u5165\u529b":"input","\u5909\u66f4":"change","\u9001\u4fe1":"submit","\u30ad\u30fc\u30c0\u30a6\u30f3":"keydown","\u30ad\u30fc\u30a2\u30c3\u30d7":"keyup","\u30ad\u30fc\u30d7\u30ec\u30b9":"keypress","\u30de\u30a6\u30b9\u30aa\u30fc\u30d0\u30fc":"mouseover","\u30de\u30a6\u30b9\u30a2\u30a6\u30c8":"mouseout","\u30de\u30a6\u30b9\u62bc\u4e0b":"mousedown","\u30de\u30a6\u30b9\u89e3\u653e":"mouseup","\u30d5\u30a9\u30fc\u30ab\u30b9":"focus","\u30d6\u30e9\u30fc":"blur","\u30ed\u30fc\u30c9":"load","\u8aad\u307f\u8fbc\u307f":"load","\u30b5\u30a4\u30ba\u5909\u66f4":"resize","\u30b9\u30af\u30ed\u30fc\u30eb":"scroll","\u307c\u304b\u3057":"blur"},ar:{"\u0627\u0644\u0646\u0642\u0631":"click","\u0646\u0642\u0631":"click","\u0627\u0644\u0625\u062f\u062e\u0627\u0644":"input","\u0625\u062f\u062e\u0627\u0644":"input","\u0627\u0644\u062a\u063a\u064a\u064a\u0631":"change","\u062a\u063a\u064a\u064a\u0631":"change","\u0627\u0644\u0625\u0631\u0633\u0627\u0644":"submit","\u0625\u0631\u0633\u0627\u0644":"submit","\u0636\u063a\u0637 \u0627\u0644\u0645\u0641\u062a\u0627\u062d":"keydown","\u0631\u0641\u0639 \u0627\u0644\u0645\u0641\u062a\u0627\u062d":"keyup","\u062a\u0645\u0631\u064a\u0631 \u0627\u0644\u0645\u0627\u0648\u0633":"mouseover","\u0627\u0644\u062a\u0631\u0643\u064a\u0632":"focus","\u062a\u062d\u0645\u064a\u0644":"load","\u062a\u0645\u0631\u064a\u0631":"scroll","\u062a\u0631\u0643\u064a\u0632":"focus","\u0645\u0641\u062a\u0627\u062d \u0623\u0633\u0641\u0644":"keydown","\u0645\u0641\u062a\u0627\u062d \u0623\u0639\u0644\u0649":"keyup","\u0641\u0623\u0631\u0629 \u0641\u0648\u0642":"mouseover","\u062a\u063a\u064a\u064a\u0631 \u062d\u062c\u0645":"resize"},es:{clic:"click",click:"click",entrada:"input",cambio:"change","env\u00edo":"submit",enviar:"submit","tecla abajo":"keydown","tecla arriba":"keyup","rat\u00f3n encima":"mouseover","rat\u00f3n fuera":"mouseout",enfoque:"focus",desenfoque:"blur",carga:"load",desplazamiento:"scroll",cambiar:"change",enfocar:"focus",desenfocar:"blur",cargar:"load",desplazar:"scroll",dobleclic:"dblclick","rat\u00f3nentrar":"mouseenter","rat\u00f3nsalir":"mouseleave","rat\u00f3nmover":"mousemove",teclapresar:"keypress",descargar:"unload",toqueempezar:"touchstart",toqueterminar:"touchend",toquemover:"touchmove",toquecancelar:"touchcancel"},tr:{"t\u0131klama":"click","t\u0131kla":"click","t\u0131k":"click","giri\u015f":"input",girdi:"input","de\u011fi\u015fiklik":"change","de\u011fi\u015fim":"change","g\u00f6nderme":"submit","g\u00f6nder":"submit","tu\u015fbasma":"keydown","tu\u015fb\u0131rakma":"keyup",fare_bas:"mousedown","fare_b\u0131rak":"mouseup","farei\u00e7inde":"mouseover","fared\u0131\u015f\u0131nda":"mouseout",odaklanma:"focus",odak:"focus","bulan\u0131kl\u0131k":"blur","y\u00fckleme":"load","y\u00fckle":"load","boyutland\u0131rma":"resize","boyutland\u0131r":"resize","kayd\u0131rma":"scroll","bulan\u0131k":"blur",farebas:"mousedown","fareb\u0131rak":"mouseup","kayd\u0131r":"scroll"},pt:{clique:"click",clicar:"click",click:"click",entrada:"input",inserir:"input","mudan\u00e7a":"change",mudanca:"change",alterar:"change",envio:"submit",enviar:"submit","tecla baixo":"keydown","tecla cima":"keyup","pressionar tecla":"keydown","soltar tecla":"keyup","mouse sobre":"mouseover","mouse fora":"mouseout",foco:"focus",focar:"focus",desfoque:"blur",desfocar:"blur",carregar:"load",carregamento:"load",rolagem:"scroll",rolar:"scroll",duploClique:"dblclick",mouseEntrar:"mouseenter",mouseSair:"mouseleave",mouseMover:"mousemove",teclaPressionar:"keypress",descarregar:"unload","toqueIn\u00edcio":"touchstart",toqueFim:"touchend",toqueMover:"touchmove",toqueCancelar:"touchcancel"},zh:{"\u70b9\u51fb":"click","\u5355\u51fb":"click","\u53cc\u51fb":"dblclick","\u8f93\u5165":"input","\u6539\u53d8":"change","\u53d8\u5316":"change","\u53d8\u66f4":"change","\u63d0\u4ea4":"submit","\u53d1\u9001":"submit","\u6309\u952e":"keydown","\u952e\u5165":"keydown","\u677e\u952e":"keyup","\u9f20\u6807\u8fdb\u5165":"mouseover","\u9f20\u6807\u79fb\u5165":"mouseover","\u9f20\u6807\u79bb\u5f00":"mouseout","\u9f20\u6807\u79fb\u51fa":"mouseout","\u7126\u70b9":"focus","\u805a\u7126":"focus","\u5931\u7126":"blur","\u6a21\u7cca":"blur","\u52a0\u8f7d":"load","\u8f7d\u5165":"load","\u6eda\u52a8":"scroll","\u6309\u952e\u6309\u4e0b":"keydown","\u9f20\u6807\u79fb\u52a8":"mousemove","\u5378\u8f7d":"unload","\u8c03\u6574\u5927\u5c0f":"resize","\u89e6\u6478\u5f00\u59cb":"touchstart","\u89e6\u6478\u79fb\u52a8":"touchmove"},fr:{clic:"click",cliquer:"click",click:"click",saisie:"input","entr\u00e9e":"input",changement:"change",changer:"change",soumettre:"submit",soumission:"submit",envoi:"submit","touche bas":"keydown","touche haut":"keyup","souris dessus":"mouseover","souris dehors":"mouseout",focus:"focus",focaliser:"focus","d\u00e9focus":"blur","d\u00e9focaliser":"blur",chargement:"load",charger:"load","d\u00e9filement":"scroll","d\u00e9filer":"scroll",flou:"blur",doubleclic:"dblclick",sourisentrer:"mouseenter",sourissortir:"mouseleave",sourisbouger:"mousemove","touchepress\u00e9e":"keypress","d\u00e9charger":"unload",touchercommencer:"touchstart",toucherfin:"touchend",toucherbouger:"touchmove",toucherannuler:"touchcancel"},de:{klick:"click",klicken:"click",click:"click",eingabe:"input",eingeben:"input","\u00e4nderung":"change","\u00e4ndern":"change",absenden:"submit",einreichen:"submit","taste runter":"keydown","taste hoch":"keyup","maus \u00fcber":"mouseover","maus raus":"mouseout",fokus:"focus",fokussieren:"focus",defokussieren:"blur","unsch\u00e4rfe":"blur",laden:"load",ladung:"load",scrollen:"scroll","bl\u00e4ttern":"scroll","taste unten":"keydown","taste oben":"keyup","maus dr\u00fcber":"mouseover","maus weg":"mouseout",doppelklick:"dblclick",mauseintreten:"mouseenter",mausverlassen:"mouseleave",mausbewegen:"mousemove","tastedr\u00fccken":"keypress",entladen:"unload","ber\u00fchrungstart":"touchstart","ber\u00fchrungend":"touchend","ber\u00fchrungbewegen":"touchmove","ber\u00fchrungabbrechen":"touchcancel"},id:{klik:"click",click:"click",masukan:"input",input:"input",ubah:"change",perubahan:"change",kirim:"submit","tekan tombol":"keydown","lepas tombol":"keyup","mouse masuk":"mouseover","mouse keluar":"mouseout",fokus:"focus",blur:"blur",muat:"load",memuat:"load",gulir:"scroll",menggulir:"scroll",tekan_tombol:"keydown",keyup:"keyup",arahkan:"mouseover",tinggalkan:"mouseout",bongkar:"unload"},bn:{"\u0995\u09cd\u09b2\u09bf\u0995":"click","\u0987\u09a8\u09aa\u09c1\u099f":"input","\u099c\u09ae\u09be":"submit","\u09b2\u09cb\u09a1":"load","\u09b8\u09cd\u0995\u09cd\u09b0\u09cb\u09b2":"scroll","\u09b0\u09bf\u09b8\u09be\u0987\u099c":"resize","\u099d\u09be\u09aa\u09b8\u09be":"blur","\u09ab\u09cb\u0995\u09be\u09b8":"focus","\u09aa\u09b0\u09bf\u09ac\u09b0\u09cd\u09a4\u09a8":"change"},qu:{click:"click","\u00f1it'iy":"click","\u00f1itiy":"click",yaykuchiy:"input",yaykuy:"input",tikray:"change","t'ikray":"change",kambiay:"change",apachiy:"submit",kachay:"submit",apaykachay:"submit","llave uray":"keydown","llave hawa":"keyup","q'away":"focus",qhaway:"focus",paqariy:"blur","mana q'away":"blur",cargay:"load",apakuy:"load",apamuy:"load",kunray:"scroll",muyuy:"scroll",hatun_kay:"resize"},sw:{bofya:"click",click:"click",kubofya:"click",ingiza:"input",kubadilisha:"change",mabadiliko:"change",tuma:"submit",kutuma:"submit","bonyeza chini":"keydown","bonyeza juu":"keyup","panya juu":"mouseover","panya nje":"mouseout",lenga:"focus",kulenga:"focus",blur:"blur",pakia:"load",kupakia:"load",sogeza:"scroll",kusogeza:"scroll",bonyeza:"click",ingizo:"input",kitufe_shuka:"keydown",kitufe_juu:"keyup",panya_nje:"mouseout",wasilisha:"submit","sogeza juu":"mouseover",shuka:"unload"},vi:{"\u0111\u1ed5i k\u00edch th\u01b0\u1edbc":"resize"}}).map(([e,t])=>{const r={};for(const[e,i]of Object.entries(t))i in r||(r[i]=e);return[e,r]})),xm={ar:new Set(["mouseover"]),bn:new Set(["resize"]),de:new Set(["keydown","keyup","load","mouseout","mouseover"]),fr:new Set(["blur"]),id:new Set(["input","keyup","mouseout","mouseover"]),ja:new Set(["keypress","mousedown","mouseup","resize"]),qu:new Set(["change","focus","load","resize","submit"]),sw:new Set(["change","click","input","keydown","keyup","mouseout","mouseover","submit"]),tr:new Set(["keydown","keyup","load","mousedown","mouseout","mouseover","mouseup","resize","scroll"]),zh:new Set(["focus","keyup","mouseout","mouseover"])}}});function Pm(e,t){const r="SOV"===t?"sovPosition":"svoPosition";return[...e].sort((e,t)=>(e[r]??99)-(t[r]??99))}var Wm=b({"src/parser/utils/role-positioning.ts"(){}});function Am(e,t){let r,i;if(e.markerOverride&&void 0!==e.markerOverride[t.code])r=e.markerOverride[t.code],i=r?Xr(e,t.code,r):void 0;else{const a=t.roleMarkers[e.role];if(a){r=a.primary;const n=Xr(e,t.code,r)??[],o=[...new Set([...a.alternatives??[],...n])].filter(e=>e!==r);i=o.length?o:void 0}}return{marker:r,alternatives:i}}function qm(e,t,r){r.roles.find(e=>"scope"===e.role&&!e.required)&&(e.push({type:"group",optional:!0,tokens:[{type:"literal",value:"on"},{type:"role",role:"scope",optional:!0,expectedTypes:["selector","reference"]}]}),t.scope={fromRole:"scope"})}function Om(e,t,r,i){Mm(e,t,r,i,"manner",{requireMarker:!0})}function Rm(e,t,r,i){Mm(e,t,r,i,"recipient",{requireMarker:!1})}function Mm(e,t,r,i,a,n){const o=r.roles.find(e=>e.role===a&&!e.required);if(!o)return;const s=o.markerOverride?.[i];n.requireMarker&&!s||(e.push({type:"group",optional:!0,tokens:[...(s?s.split(/\s+/):[]).map(e=>({type:"literal",value:e})),{type:"role",role:a,optional:!0,expectedTypes:o.expectedTypes,...void 0!==o.valueShape?{valueShape:o.valueShape}:{}}]}),t[a]={fromRole:a})}function Nm(e){if(e.roles.some(e=>"patient"===e.role))return"patient";const t=e.roles.filter(e=>e.required),r=t.find(t=>t.role===e.primaryRole)??t[0];return r&&"event"!==r.role?r.role:"patient"}function Im(e,t,r){const i=e.roles.find(e=>e.role===r);if(!i||"patient"===r)return[{type:"role",role:r,optional:!1}];const{marker:a,alternatives:n}=Am(i,t),o={type:"role",role:r,optional:!1,...void 0!==i.valueShape?{valueShape:i.valueShape}:{}};if(!a)return[o];const s=a.split(/\s+/).filter(Boolean),l={type:"group",optional:!0,tokens:s.map(e=>({type:"literal",value:e,...1===s.length&&n?.length?{alternatives:n}:{}}))};return"after"===(t.roleMarkers[r]?.position??"before")?[o,l]:[l,o]}function $m(e,t,r,i,a){for(const n of r.roles){if(n.required)continue;if(a.has(n.role))continue;if(t[n.role])continue;((n.markerOverride?.[i.code]??i.roleMarkers[n.role]?.primary)||void 0!==n.valueShape)&&(e.push({type:"group",optional:!0,tokens:ic(n,i)}),t[n.role]=n.default?{fromRole:n.role,default:n.default}:{fromRole:n.role})}}function Km(e,t,r,i,a){const n=[],o="swap"===e.action,s=o?"destination":"patient";n.push({type:"role",role:s,optional:!1});const l=t.roleMarkers.patient;if(l){n.push(l.alternatives?{type:"literal",value:l.primary,alternatives:l.alternatives}:{type:"literal",value:l.primary})}if(n.push({type:"role",role:"event",optional:!1}),"after"===i.position){const e=i.primary.split(/\s+/);if(e.length>1)for(const t of e)n.push({type:"literal",value:t});else{n.push(i.alternatives?{type:"literal",value:i.primary,alternatives:i.alternatives}:{type:"literal",value:i.primary})}}n.push(r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary}),n.push(...ot(e,t.roleMarkers.source));let p=t.roleMarkers.destination;if(o&&p){const r=e.roles.find(e=>"patient"===e.role)?.markerOverride?.[t.code];if(r&&r!==p.primary){const e=p.alternatives??[];e.includes(r)||(p={...p,alternatives:[...e,r]})}}var m,c;n.push(...o?(m=e,c=p,lt(m,c,"patient")):st(e,p));const d={action:{value:e.action},event:{fromRole:"event"},[s]:{fromRole:s},...o?{}:at(e),...nt(e)};return Rm(n,d,e,t.code),Om(n,d,e,t.code),{id:`${e.action}-event-${t.code}-sov-patient-first`,language:t.code,command:"on",priority:(a.basePriority??100)+45,template:{format:`{patient} ${l?.primary||""} {event} ${i.primary} ${r.primary}`,tokens:n},extraction:d}}var Vm=b({"src/generators/event-handlers-sov.ts"(){ht(),cc(),ei()}});function Dm(e,t,r){const i=Xr(e,t.code,r.primary)??[],a=[...new Set([...r.alternatives??[],...i])].filter(e=>e!==r.primary);return a.length?a:void 0}function Bm(e,t,r,i,a){const n=[];if("before"===i.position){n.push(i.alternatives?{type:"literal",value:i.primary,alternatives:i.alternatives}:{type:"literal",value:i.primary})}n.push({type:"role",role:"event",optional:!1});n.push(r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary});const o=Nm(e);n.push(...Im(e,t,o));const s=t.roleMarkers.destination,l=e.roles.some(e=>"destination"===e.role);s&&l&&"destination"!==o&&n.push({type:"group",optional:!0,tokens:[s.alternatives?{type:"literal",value:s.primary,alternatives:s.alternatives}:{type:"literal",value:s.primary},{type:"role",role:"destination",optional:!0}]}),"source"!==o&&n.push(...ot(e,t.roleMarkers.source));const p={action:{value:e.action},event:{fromRole:"event"},[o]:{fromRole:o},..."destination"===o?{}:at(e),..."source"===o?{}:nt(e)};return $m(n,p,e,t,new Set(["event",o,"destination","source"])),{id:`${e.action}-event-${t.code}-vso`,language:t.code,command:"on",priority:(a.basePriority??100)+50,template:{format:`${i.primary} {event} ${r.primary} {${o}} ${s?.primary||""} {destination?}`,tokens:n},extraction:p}}function Fm(e,t,r,i,a){const n=[];if("before"===i.position){n.push(i.alternatives?{type:"literal",value:i.primary,alternatives:i.alternatives}:{type:"literal",value:i.primary})}n.push({type:"role",role:"event",optional:!1});n.push(r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary});const o=[...e.roles.filter(e=>e.required)].sort((e,t)=>(e.svoPosition??999)-(t.svoPosition??999));for(const e of o){let r,i;if(e.markerOverride&&void 0!==e.markerOverride[t.code])r=e.markerOverride[t.code],i=r?Xr(e,t.code,r):void 0;else{const a=t.roleMarkers[e.role];a&&(r=a.primary,i=Dm(e,t,a))}if(r){n.push(i?{type:"literal",value:r,alternatives:i}:{type:"literal",value:r})}n.push({type:"role",role:e.role,optional:!1})}const s=o.map(e=>`{${e.role}}`).join(" "),l={action:{value:e.action},event:{fromRole:"event"},...Object.fromEntries(o.map(e=>[e.role,{fromRole:e.role}]))};return qm(n,l,e),{id:`${e.action}-event-${t.code}-vso-2role`,language:t.code,command:"on",priority:(a.basePriority??100)+55,template:{format:`${i.primary} {event} ${r.primary} ${s}`,tokens:n},extraction:l}}var Hm,Um=b({"src/generators/event-handlers-vso.ts"(){ht(),Vm(),ei()}});function Gm(){return jt().map(e=>St(e)).filter(e=>void 0!==e)}function Zm(e,t,r=Hm){const i=`${e.action}-${t.code}-generated`,a=r.basePriority??100,n=t.keywords[e.action];if(!n)throw Error(`No keyword translation for '${e.action}' in ${t.code}`);const o=function(e,t,r){const i=[],a=r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary},n=function(e,t){const r=[],i=Pm(e.roles,t.wordOrder);for(const e of i){const i=ic(e,t);e.required?r.push(...i):r.push({type:"group",optional:!0,tokens:i})}return r}(e,t);switch(t.wordOrder){case"SVO":case"VSO":default:i.push(a),i.push(...n);break;case"SOV":i.push(...n),i.push(a)}return function(e){const t=[];for(const r of e){const e=t[t.length-1];if(e&&"literal"===e.type&&"literal"===r.type&&e.value===r.value){const i=[...e.alternatives??[],...r.alternatives??[]];i.length&&(t[t.length-1]={...e,alternatives:[...new Set(i)]});continue}t.push(r)}return t}(i)}(e,t,n),s=ac(e,t),l=function(e,t,r){const i=[],a=Pm(e.roles,t.wordOrder),n=a.map(e=>{const r=Yr(e,t);let i="";return i=r&&r.primary?"before"===r.position?`${r.primary} {${e.role}}`:`{${e.role}} ${r.primary}`:`{${e.role}}`,e.required?i:`[${i}]`});switch(t.wordOrder){case"SVO":case"VSO":default:i.push(r.primary,...n);break;case"SOV":i.push(...n,r.primary)}return i.join(" ")}(e,t,n);return{id:i,language:t.code,command:e.action,priority:a,template:{format:l,tokens:o},extraction:s}}function Ym(e,t,r=Hm){if(0===e.roles.filter(e=>!e.required).length)return null;const i=e.roles.filter(e=>e.required);return{...Zm({...e,roles:i},t,r),id:`${e.action}-${t.code}-generated-simple`,priority:(r.basePriority??100)-5,extraction:ac(e,t)}}function Xm(e,t,r=Hm){if("SOV"!==t.wordOrder)return null;const i=e.roles.filter(e=>e.required);if(1!==i.length)return null;const a=t.keywords[e.action];if(!a)return null;const n=a.alternatives?{type:"literal",value:a.primary,alternatives:a.alternatives}:{type:"literal",value:a.primary},o=i.flatMap(e=>{const r=e.valuePrefixLiteral?.[t.code],i={type:"role",role:e.role,optional:!1,expectedTypes:e.expectedTypes};return r?[{type:"literal",value:r},i]:[i]});return{id:`${e.action}-${t.code}-generated-verb-first`,language:t.code,command:e.action,priority:(r.basePriority??100)-20,template:{format:`${a.primary} <${i[0].role}>`,tokens:[n,...o]},extraction:ac(e,t)}}function Qm(e,t,r=Hm){const i=[];if(i.push(Zm(e,t,r)),r.generateSimpleVariants){const a=Ym(e,t,r);a&&i.push(a)}for(const a of e.omitRoleVariants??[]){const n=Zm({...e,roles:e.roles.filter(e=>e.role!==a)},t,r);i.push({...n,id:`${e.action}-${t.code}-generated-no-${a}`,priority:(r.basePriority??100)-8})}for(const a of e.widenTypeVariants??[]){if(a.excludeLanguages?.includes(t.code))continue;const n=Zm({...e,roles:e.roles.map(e=>e.role===a.role?{...e,expectedTypes:[...a.types]}:e)},t,r);i.push({...n,id:`${e.action}-${t.code}-generated-${a.idSuffix}`,priority:(r.basePriority??100)-(a.priorityDelta??15)})}if(!1!==r.generateVerbFirstVariants){const a=Xm(e,t,r);a&&i.push(a)}for(const a of e.rolePrefixLiteralVariants??[]){const n=a.literal[t.code];if(!n)continue;const{rolePrefixLiteralVariants:o,...s}=e,l={...s,roles:e.roles.map(e=>e.role===a.role?{...e,valuePrefixLiteral:{[t.code]:n}}:e)},p=a.priorityDelta??5,m=a.methodCarrier?{[a.methodCarrier]:{value:n}}:{},c=Zm(l,t,r);if(i.push({...c,id:`${e.action}-${t.code}-generated-${a.idSuffix}`,priority:(r.basePriority??100)+p,extraction:{...c.extraction,...m}}),!1!==r.generateVerbFirstVariants){const n=Xm(l,t,r);n&&i.push({...n,id:`${e.action}-${t.code}-generated-verb-first-${a.idSuffix}`,priority:(r.basePriority??100)-20+p,extraction:{...n.extraction,...m}})}}return i}function Jm(e,t=Hm){const r=[],i=ct();for(const a of i){if(!e.keywords[a.action])continue;const i=Qm(a,e,t);if(r.push(...i),e.eventHandler?.eventMarker){const i=rc(a,e,t);r.push(...i)}}return r}function ec(e,t,r=Hm){const i=[],a=t??Gm();for(const t of a){if(!t.keywords[e.action])continue;const a=Qm(e,t,r);i.push(...a)}return i}function tc(e,t=Hm){const r=[],i=e??Gm();for(const e of i){const i=Jm(e,t);r.push(...i)}return r}function rc(e,t,r=Hm){if(!t.eventHandler||!t.eventHandler.eventMarker)return[];const i=[],a=t.eventHandler.eventMarker,n=t.keywords[e.action];if(!n)return[];if(0===e.roles.length)return[];if("js"===e.action)return[];const o=2===e.roles.filter(e=>e.required).length;if("SOV"===t.wordOrder)if(o)i.push(function(e,t,r,i,a){const n=[];if(n.push({type:"role",role:"event",optional:!1}),"after"===i.position){const e=i.primary.split(/\s+/);if(e.length>1)for(const t of e)n.push({type:"literal",value:t});else n.push(i.alternatives?{type:"literal",value:i.primary,alternatives:i.alternatives}:{type:"literal",value:i.primary})}const o=[...e.roles.filter(e=>e.required)].sort((e,t)=>(e.sovPosition??999)-(t.sovPosition??999));for(const e of o){n.push({type:"role",role:e.role,optional:!1});const{marker:r,alternatives:i}=Am(e,t);r&&n.push(i?{type:"literal",value:r,alternatives:i}:{type:"literal",value:r})}n.push(r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary});const s=o.map(e=>`{${e.role}}`).join(" "),l={action:{value:e.action},event:{fromRole:"event"},...Object.fromEntries(o.map(e=>[e.role,{fromRole:e.role}]))};return qm(n,l,e),{id:`${e.action}-event-${t.code}-sov-2role`,language:t.code,command:"on",priority:(a.basePriority??100)+55,template:{format:`{event} ${i.primary} ${s} ${r.primary}`,tokens:n},extraction:l}}(e,t,n,a,r)),i.push(function(e,t,r,i,a){const n=[],o=[...e.roles.filter(e=>e.required)].sort((e,t)=>(e.sovPosition??999)-(t.sovPosition??999)),s=o[0];n.push({type:"role",role:s.role,optional:!1});const{marker:l,alternatives:p}=Am(s,t);l&&n.push(p?{type:"literal",value:l,alternatives:p}:{type:"literal",value:l});if(n.push({type:"role",role:"event",optional:!1}),"after"===i.position){const e=i.primary.split(/\s+/);if(e.length>1)for(const t of e)n.push({type:"literal",value:t});else n.push(i.alternatives?{type:"literal",value:i.primary,alternatives:i.alternatives}:{type:"literal",value:i.primary})}n.push(r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary});const m=o[1];n.push({type:"role",role:m.role,optional:!1});const{marker:c,alternatives:d}=Am(m,t);c&&n.push(d?{type:"literal",value:c,alternatives:d}:{type:"literal",value:c});const u={action:{value:e.action},event:{fromRole:"event"},[s.role]:{fromRole:s.role},[m.role]:{fromRole:m.role}};return qm(n,u,e),{id:`${e.action}-event-${t.code}-sov-2role-dest-first`,language:t.code,command:"on",priority:(a.basePriority??100)+48,template:{format:`{${s.role}} {event} ${i.primary} ${r.primary} {${m.role}}`,tokens:n},extraction:u}}(e,t,n,a,r)),i.push(function(e,t,r,i,a){const n=[],o=[...e.roles.filter(e=>e.required)].sort((e,t)=>(e.sovPosition??999)-(t.sovPosition??999));for(const e of o){n.push({type:"role",role:e.role,optional:!1});const{marker:r,alternatives:i}=Am(e,t);r&&n.push(i?{type:"literal",value:r,alternatives:i}:{type:"literal",value:r})}if(n.push(r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary}),n.push({type:"role",role:"event",optional:!1}),"after"===i.position){const e=i.primary.split(/\s+/);if(e.length>1)for(const t of e)n.push({type:"literal",value:t});else n.push(i.alternatives?{type:"literal",value:i.primary,alternatives:i.alternatives}:{type:"literal",value:i.primary})}const s=o.map(e=>`{${e.role}}`).join(" "),l={action:{value:e.action},event:{fromRole:"event"},...Object.fromEntries(o.map(e=>[e.role,{fromRole:e.role}]))};return qm(n,l,e),{id:`${e.action}-event-${t.code}-sov-2role-event-last`,language:t.code,command:"on",priority:(a.basePriority??100)+40,template:{format:`${s} ${r.primary} {event} ${i.primary}`,tokens:n},extraction:l}}(e,t,n,a,r));else{i.push(function(e,t,r,i,a){const n=[];if(n.push({type:"role",role:"event",optional:!1}),"after"===i.position){const e=i.primary.split(/\s+/);if(e.length>1)for(const t of e)n.push({type:"literal",value:t});else n.push(i.alternatives?{type:"literal",value:i.primary,alternatives:i.alternatives}:{type:"literal",value:i.primary})}const o=Nm(e),s=t.roleMarkers.destination,l=e.roles.some(e=>"destination"===e.role);s&&l&&"destination"!==o&&n.push({type:"group",optional:!0,tokens:[{type:"role",role:"destination",optional:!0},s.alternatives?{type:"literal",value:s.primary,alternatives:s.alternatives}:{type:"literal",value:s.primary}]});const p=t.roleMarkers.source,m=e.roles.some(e=>"source"===e.role);p&&m&&"source"!==o&&n.push({type:"group",optional:!0,tokens:[{type:"role",role:"source",optional:!0},p.alternatives?{type:"literal",value:p.primary,alternatives:p.alternatives}:{type:"literal",value:p.primary}]}),n.push(...Im(e,t,o));const c=t.roleMarkers.patient;c&&"patient"===o&&n.push(c.alternatives?{type:"literal",value:c.primary,alternatives:c.alternatives}:{type:"literal",value:c.primary});n.push(r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary}),"source"!==o&&n.push(...ot(e,t.roleMarkers.source)),"destination"!==o&&n.push(...st(e,t.roleMarkers.destination));const d={action:{value:e.action},event:{fromRole:"event"},[o]:{fromRole:o},..."destination"===o?{}:at(e),..."source"===o?{}:nt(e)};return $m(n,d,e,t,new Set(["event",o,"destination","source"])),{id:`${e.action}-event-${t.code}-sov`,language:t.code,command:"on",priority:(a.basePriority??100)+50,template:{format:`{event} ${i.primary} {destination?} {${o}} ${c?.primary||""} ${r.primary}`,tokens:n},extraction:d}}(e,t,n,a,r)),i.push(Km(e,t,n,a,r));const o=function(e,t,r,i,a){const n=e.roles.find(e=>"source"===e.role);if(!n)return null;const{marker:o,alternatives:s}=Am(n,t),l=t.roleMarkers.patient;if(!o)return null;if(o===i.primary||o===l?.primary)return null;const p=[];p.push({type:"role",role:"patient",optional:!1}),l&&p.push(l.alternatives?{type:"literal",value:l.primary,alternatives:l.alternatives}:{type:"literal",value:l.primary}),p.push({type:"role",role:"source",optional:!1,...n.expectedTypes?{expectedTypes:n.expectedTypes}:{},...void 0!==n.valueShape?{valueShape:n.valueShape}:{}});for(const e of o.split(/\s+/))p.push(s&&1===o.split(/\s+/).length?{type:"literal",value:e,alternatives:s}:{type:"literal",value:e});if(p.push({type:"role",role:"event",optional:!1}),"after"===i.position){const e=i.primary.split(/\s+/);if(e.length>1)for(const t of e)p.push({type:"literal",value:t});else p.push(i.alternatives?{type:"literal",value:i.primary,alternatives:i.alternatives}:{type:"literal",value:i.primary})}p.push(r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary});const m={action:{value:e.action},event:{fromRole:"event"},patient:{fromRole:"patient"},source:{fromRole:"source"}};return Rm(p,m,e,t.code),Om(p,m,e,t.code),{id:`${e.action}-event-${t.code}-sov-source-fronted`,language:t.code,command:"on",priority:(a.basePriority??100)+48,template:{format:`{patient} ${l?.primary||""} {source} ${o} {event} ${i.primary} ${r.primary}`,tokens:p},extraction:m}}(e,t,n,a,r);o&&i.push(o);const s=t.roleMarkers.destination;s&&s.primary!==a.primary&&i.push(function(e,t,r,i,a){const n=[];n.push({type:"role",role:"patient",optional:!1});const o=t.roleMarkers.patient;o&&n.push(o.alternatives?{type:"literal",value:o.primary,alternatives:o.alternatives}:{type:"literal",value:o.primary});const s=t.roleMarkers.destination;if(s&&(n.push({type:"role",role:"destination",optional:!1}),n.push(s.alternatives?{type:"literal",value:s.primary,alternatives:s.alternatives}:{type:"literal",value:s.primary})),n.push({type:"role",role:"event",optional:!1}),"after"===i.position){const e=i.primary.split(/\s+/);if(e.length>1)for(const t of e)n.push({type:"literal",value:t});else n.push(i.alternatives?{type:"literal",value:i.primary,alternatives:i.alternatives}:{type:"literal",value:i.primary})}return n.push(r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary}),{id:`${e.action}-event-${t.code}-sov-patient-first-dest`,language:t.code,command:"on",priority:(a.basePriority??100)+40,template:{format:`{patient} ${o?.primary||""} {destination} ${s?.primary||""} {event} ${i.primary} ${r.primary}`,tokens:n},extraction:{action:{value:e.action},event:{fromRole:"event"},patient:{fromRole:"patient"},destination:{fromRole:"destination"}}}}(e,t,n,a,r));const l=a.primary.split(/\s+/),p=a.alternatives?.some(e=>!e.includes(" ")&&e.length>1);l.length>1&&p&&i.push(function(e,t,r,i,a){const n=[];n.push({type:"role",role:"event",optional:!1});const o=i.alternatives?.filter(e=>!e.includes(" ")&&e.length>1)||[];o.length>0&&n.push({type:"literal",value:o[0],alternatives:o.slice(1)});const s=t.roleMarkers.destination;s&&n.push({type:"group",optional:!0,tokens:[{type:"role",role:"destination",optional:!0},s.alternatives?{type:"literal",value:s.primary,alternatives:s.alternatives}:{type:"literal",value:s.primary}]}),n.push({type:"role",role:"patient",optional:!1});const l=t.roleMarkers.patient;l&&n.push(l.alternatives?{type:"literal",value:l.primary,alternatives:l.alternatives}:{type:"literal",value:l.primary});return n.push(r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary}),n.push(...ot(e,t.roleMarkers.source)),n.push(...st(e,t.roleMarkers.destination)),{id:`${e.action}-event-${t.code}-sov-compact`,language:t.code,command:"on",priority:(a.basePriority??100)+52,template:{format:`{event}${o[0]||""} {patient} ${r.primary}`,tokens:n},extraction:{action:{value:e.action},event:{fromRole:"event"},patient:{fromRole:"patient"},...at(e),...nt(e)}}}(e,t,n,a,r)),i.push(function(e,t,r,i,a){const n=[];if(n.push({type:"role",role:"event",optional:!1}),"after"===i.position){const e=i.primary.split(/\s+/);if(e.length>1)for(const t of e)n.push({type:"literal",value:t});else n.push(i.alternatives?{type:"literal",value:i.primary,alternatives:i.alternatives}:{type:"literal",value:i.primary})}return n.push(r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary}),{id:`${e.action}-event-${t.code}-sov-simple`,language:t.code,command:"on",priority:(a.basePriority??100)+48,template:{format:`{event} ${i.primary} ${r.primary}`,tokens:n},extraction:{action:{value:e.action},event:{fromRole:"event"},patient:{default:{type:"reference",value:"me"}}}}}(e,t,n,a,r));const m=function(e,t,r,i){const a=t.eventHandler?.temporalMarkers;if(!a||0===a.length)return null;const n=[];n.push({type:"role",role:"event",optional:!1}),t.possessive?.marker&&n.push({type:"group",optional:!0,tokens:[{type:"literal",value:t.possessive.marker}]}),n.push({type:"literal",value:a[0],alternatives:a.slice(1)}),n.push({type:"role",role:"patient",optional:!1});const o=t.roleMarkers.patient;o?.primary&&n.push(o.alternatives?{type:"literal",value:o.primary,alternatives:o.alternatives}:{type:"literal",value:o.primary});return n.push(r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary}),{id:`${e.action}-event-${t.code}-sov-temporal`,language:t.code,command:"on",priority:(i.basePriority??100)+49,template:{format:`{event} ${a[0]} {patient} ${r.primary}`,tokens:n},extraction:{action:{value:e.action},event:{fromRole:"event"},patient:{fromRole:"patient"}}}}(e,t,n,r);m&&i.push(m)}else"VSO"===t.wordOrder?o?(i.push(Fm(e,t,n,a,r)),i.push(function(e,t,r,i,a){const n=[];n.push(r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary});const o=[...e.roles.filter(e=>e.required)].sort((e,t)=>(e.svoPosition??999)-(t.svoPosition??999));for(const e of o){let r,i;if(e.markerOverride&&void 0!==e.markerOverride[t.code])r=e.markerOverride[t.code],i=r?Xr(e,t.code,r):void 0;else{const a=t.roleMarkers[e.role];a&&(r=a.primary,i=Dm(e,t,a))}r&&n.push(i?{type:"literal",value:r,alternatives:i}:{type:"literal",value:r}),n.push({type:"role",role:e.role,optional:!1})}"before"===i.position&&n.push(i.alternatives?{type:"literal",value:i.primary,alternatives:i.alternatives}:{type:"literal",value:i.primary});n.push({type:"role",role:"event",optional:!1});const s=o.map(e=>`{${e.role}}`).join(" "),l={action:{value:e.action},event:{fromRole:"event"},...Object.fromEntries(o.map(e=>[e.role,{fromRole:e.role}]))};return qm(n,l,e),{id:`${e.action}-event-${t.code}-vso-verb-first-2role`,language:t.code,command:"on",priority:(a.basePriority??100)+48,template:{format:`${r.primary} ${s} ${i.primary} {event}`,tokens:n},extraction:l}}(e,t,n,a,r))):(i.push(Bm(e,t,n,a,r)),i.push(function(e,t,r,i,a){const n=[];n.push(r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary});const o="swap"===e.action;n.push({type:"role",role:o?"destination":"patient",optional:!1});const s=o?void 0:t.roleMarkers.destination;s&&n.push({type:"group",optional:!0,tokens:[s.alternatives?{type:"literal",value:s.primary,alternatives:s.alternatives}:{type:"literal",value:s.primary},{type:"role",role:"destination",optional:!0}]}),n.push(...ot(e,t.roleMarkers.source)),"before"===i.position&&n.push(i.alternatives?{type:"literal",value:i.primary,alternatives:i.alternatives}:{type:"literal",value:i.primary});if(n.push({type:"role",role:"event",optional:!1}),o){const r=e.roles.find(e=>"patient"===e.role)?.markerOverride?.[t.code];r&&n.push({type:"group",optional:!0,tokens:[{type:"literal",value:r},{type:"role",role:"patient",optional:!1}]})}const l={action:{value:e.action},event:{fromRole:"event"},[o?"destination":"patient"]:{fromRole:o?"destination":"patient"},...o?{}:at(e),...nt(e)};return Om(n,l,e,t.code),{id:`${e.action}-event-${t.code}-vso-verb-first`,language:t.code,command:"on",priority:(a.basePriority??100)+45,template:{format:`${r.primary} {patient} ${s?.primary||""} {destination?} ${i.primary} {event}`,tokens:n},extraction:l}}(e,t,n,a,r)),t.eventHandler?.negationMarker&&i.push(function(e,t,r,i,a){const n=[],o=t.eventHandler?.negationMarker;"before"===i.position&&n.push(i.alternatives?{type:"literal",value:i.primary,alternatives:i.alternatives}:{type:"literal",value:i.primary});o&&n.push(o.alternatives?{type:"literal",value:o.primary,alternatives:o.alternatives}:{type:"literal",value:o.primary});n.push({type:"role",role:"event",optional:!1}),n.push(r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary}),n.push({type:"role",role:"patient",optional:!1});const s=t.roleMarkers.destination;return s&&n.push({type:"group",optional:!0,tokens:[s.alternatives?{type:"literal",value:s.primary,alternatives:s.alternatives}:{type:"literal",value:s.primary},{type:"role",role:"destination",optional:!0}]}),n.push(...ot(e,t.roleMarkers.source)),{id:`${e.action}-event-${t.code}-vso-negated`,language:t.code,command:"on",priority:(a.basePriority??100)+48,template:{format:`${i.primary} ${o?.primary||""} {event} ${r.primary} {patient} ${s?.primary||""} {destination?}`,tokens:n},extraction:{action:{value:e.action},event:{fromRole:"event"},patient:{fromRole:"patient"},...at(e),...nt(e)}}}(e,t,n,a,r)),t.tokenization?.prefixes&&i.push(function(e,t,r,i){const a=[];a.push({type:"literal",value:"and",alternatives:["then"]}),a.push({type:"role",role:"event",optional:!1}),a.push(r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary}),a.push({type:"role",role:"patient",optional:!1});const n=t.roleMarkers.destination;return n&&a.push({type:"group",optional:!0,tokens:[n.alternatives?{type:"literal",value:n.primary,alternatives:n.alternatives}:{type:"literal",value:n.primary},{type:"role",role:"destination",optional:!0}]}),a.push(...ot(e,t.roleMarkers.source)),{id:`${e.action}-event-${t.code}-vso-proclitic`,language:t.code,command:"on",priority:(i.basePriority??100)+45,template:{format:`[proclitic?] {event} ${r.primary} {patient} ${n?.primary||""} {destination?}`,tokens:a},extraction:{action:{value:e.action},event:{fromRole:"event"},patient:{fromRole:"patient"},...at(e),...nt(e)}}}(e,t,n,r))):i.push(o?Fm(e,t,n,a,r):Bm(e,t,n,a,r));return i}function ic(e,t){const r=[],i=e.markerOverride?.[t.code],a=t.roleMarkers[e.role],n=""===e.renderOverride?.[t.code],o={type:"role",role:e.role,optional:!e.required,expectedTypes:e.expectedTypes,...void 0!==e.valueShape?{valueShape:e.valueShape}:{}},s=e.valuePrefixLiteral?.[t.code],l=()=>{s&&r.push({type:"literal",value:s}),r.push(o)};if(void 0!==i){const o=i?i.split(/\s+/).filter(Boolean):[],s=void 0!==i&&i===e.markerOverride?.en,p=a?.position??("SOV"!==t.wordOrder||s?"before":"after"),m=!0===e.markerOptional?.[t.code],c=i=>{const a=1===o.length?Xr(e,t.code,i)??[]:[],s={type:"literal",value:i,...a.length?{alternatives:a}:{},...n?{renderSuppress:!0}:{}};r.push(m?{type:"group",optional:!0,tokens:[s]}:s)};if("before"===p){for(const e of o)c(e);l()}else{l();for(const e of o)c(e)}}else if(a){const i=()=>{const r=[...new Set([...a.alternatives??[],...Xr(e,t.code,a.primary)??[]])].filter(e=>e!==a.primary);return{type:"literal",value:a.primary,...r.length?{alternatives:r}:{},...n?{renderSuppress:!0}:{}}},o=i=>{r.push(t.markersOptional||e.markerOptional?.[t.code]?{type:"group",optional:!0,...t.markersOptional&&!e.markerOptional?.[t.code]?{renderRequired:!0}:{},tokens:[i]}:i)};"before"===a.position?(a.primary&&o(i()),l()):(l(),o(i()))}else l();return r}function ac(e,t){const r=function(e,t){const r={};for(const i of e.roles){const e=i.markerOverride?.[t.code],a=t.roleMarkers[i.role];if(i.valuePrefixLiteral?.[t.code])r[i.role]={marker:i.valuePrefixLiteral[t.code]};else if(void 0!==e)if(e){const a=/\s/.test(e.trim())?[]:Xr(i,t.code,e)??[];r[i.role]=a.length?{marker:e,markerAlternatives:a}:{marker:e}}else r[i.role]={};else if(a&&a.primary){const e=[...new Set([...a.alternatives??[],...Xr(i,t.code,a.primary)??[]])].filter(e=>e!==a.primary);r[i.role]=e.length?{marker:a.primary,markerAlternatives:e}:{marker:a.primary}}else r[i.role]={}}return r}(e,t),i={};for(const t of e.roles){const e=r[t.role]||{};i[t.role]=!t.required&&t.default?{...e,default:t.default}:e}return i}function nc(){const e=jt(),t=ct().map(e=>e.action);let r=0;for(const t of e){const e=St(t);if(e)for(const t of ct())e.keywords[t.action]&&(r+=2)}return{languages:e,commands:t,totalPatterns:r}}function oc(e,t=ct()){const r=[],i=[];for(const a of t)e.keywords[a.action]?i.push(a.action):r.push(a.action);return{missing:r,available:i}}var sc,lc,pc,mc,cc=b({"src/generators/pattern-generator.ts"(){ht(),Wm(),ei(),Vm(),Um(),Pt(),Hm={basePriority:100,generateSimpleVariants:!0,generateAlternatives:!0}}}),dc=b({"src/patterns/languages/en/fetch.ts"(){sc=[{id:"fetch-en-with-options-as",language:"en",command:"fetch",priority:95,template:{format:"fetch {source} with {style} as {responseType}",tokens:[{type:"literal",value:"fetch"},{type:"role",role:"source",expectedTypes:["literal","expression"]},{type:"literal",value:"with",alternatives:["by","using"]},{type:"role",role:"style",expectedTypes:["expression"]},{type:"literal",value:"as"},{type:"role",role:"responseType",expectedTypes:["literal","expression"]}]},extraction:{source:{position:1},style:{marker:"with"},responseType:{marker:"as"}}},{id:"fetch-en-with-options",language:"en",command:"fetch",priority:93,template:{format:"fetch {source} with {style}",tokens:[{type:"literal",value:"fetch"},{type:"role",role:"source",expectedTypes:["literal","expression"]},{type:"literal",value:"with",alternatives:["by","using"]},{type:"role",role:"style",expectedTypes:["expression"]}]},extraction:{source:{position:1},style:{marker:"with"}}},{id:"fetch-en-with-response-type",language:"en",command:"fetch",priority:90,template:{format:"fetch {source} as {responseType}",tokens:[{type:"literal",value:"fetch"},{type:"role",role:"source",expectedTypes:["literal","expression"]},{type:"literal",value:"as"},{type:"role",role:"responseType",expectedTypes:["literal","expression"]}]},extraction:{source:{position:1},responseType:{marker:"as"}}},{id:"fetch-en-simple",language:"en",command:"fetch",priority:80,template:{format:"fetch {source}",tokens:[{type:"literal",value:"fetch"},{type:"role",role:"source"}]},extraction:{source:{position:1}}}]}}),uc=b({"src/patterns/languages/en/pick.ts"(){lc=[{id:"pick-en-variant",language:"en",command:"pick",priority:110,template:{format:"pick {method} {patient} of {source}",tokens:[{type:"literal",value:"pick"},{type:"role",role:"method",expectedTypes:["literal","expression"]},{type:"role",role:"patient",expectedTypes:["literal","expression"]},{type:"literal",value:"of",alternatives:["from"]},{type:"role",role:"source",expectedTypes:["selector","reference","expression"]}]},extraction:{method:{position:1},patient:{position:2},source:{marker:"of",markerAlternatives:["from"]}}}]}}),yc=b({"src/patterns/languages/en/swap.ts"(){mc=[{id:"swap-en-strategy-of",language:"en",command:"swap",priority:140,template:{format:"swap {method} of {destination} with {patient} [using view {manner}]",tokens:[{type:"literal",value:"swap"},{type:"role",role:"method"},{type:"literal",value:"of"},{type:"role",role:"destination"},{type:"literal",value:"with"},{type:"role",role:"patient"},pc={type:"group",optional:!0,tokens:[{type:"literal",value:"using"},{type:"literal",value:"view"},{type:"role",role:"manner",optional:!0,expectedTypes:["literal","expression"],valueShape:"keyword"}]}]},extraction:{}},{id:"swap-en-strategy",language:"en",command:"swap",priority:130,template:{format:"swap {method} {destination} with {patient} [using view {manner}]",tokens:[{type:"literal",value:"swap"},{type:"role",role:"method"},{type:"role",role:"destination"},{type:"literal",value:"with"},{type:"role",role:"patient"},pc]},extraction:{}},{id:"swap-en-element",language:"en",command:"swap",priority:120,template:{format:"swap {destination} with {patient} [using view {manner}]",tokens:[{type:"literal",value:"swap"},{type:"role",role:"destination"},{type:"literal",value:"with"},{type:"role",role:"patient"},pc]},extraction:{}},{id:"swap-en-handcrafted",language:"en",command:"swap",priority:110,template:{format:"swap {method} {destination} [using view {manner}]",tokens:[{type:"literal",value:"swap"},{type:"role",role:"method"},{type:"role",role:"destination"},pc]},extraction:{method:{position:1},destination:{position:2}}}]}});function vc(e){switch(e){case"bn":return[{id:"toggle-bn-full",language:"bn",command:"toggle",priority:100,template:{format:"{patient} \u0995\u09c7 \u099f\u0997\u09b2 \u0995\u09b0\u09c1\u09a8",tokens:[{type:"role",role:"patient"},{type:"literal",value:"\u0995\u09c7"},{type:"literal",value:"\u099f\u0997\u09b2",alternatives:["\u09aa\u09b0\u09bf\u09ac\u09b0\u09cd\u09a4\u09a8"]},{type:"literal",value:"\u0995\u09b0\u09c1\u09a8"}]},extraction:{patient:{position:0}}},{id:"toggle-bn-simple",language:"bn",command:"toggle",priority:90,template:{format:"\u099f\u0997\u09b2 {patient}",tokens:[{type:"literal",value:"\u099f\u0997\u09b2",alternatives:["\u09aa\u09b0\u09bf\u09ac\u09b0\u09cd\u09a4\u09a8"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}},{id:"toggle-bn-with-dest",language:"bn",command:"toggle",priority:95,template:{format:"{destination} \u098f {patient} \u0995\u09c7 \u099f\u0997\u09b2 \u0995\u09b0\u09c1\u09a8",tokens:[{type:"role",role:"destination"},{type:"literal",value:"\u098f",alternatives:["\u09a4\u09c7"]},{type:"role",role:"patient"},{type:"literal",value:"\u0995\u09c7"},{type:"literal",value:"\u099f\u0997\u09b2",alternatives:["\u09aa\u09b0\u09bf\u09ac\u09b0\u09cd\u09a4\u09a8"]},{type:"literal",value:"\u0995\u09b0\u09c1\u09a8"}]},extraction:{destination:{position:0},patient:{position:2}}}];case"en":return[{id:"toggle-en-full",language:"en",command:"toggle",priority:100,template:{format:"toggle {patient} on {target}",tokens:[{type:"literal",value:"toggle"},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"on",alternatives:["from"]},{type:"role",role:"destination"}]}]},extraction:{patient:{position:1},destination:{marker:"on",markerAlternatives:["from"],default:{type:"reference",value:"me"}}}},{id:"toggle-en-simple",language:"en",command:"toggle",priority:90,template:{format:"toggle {patient}",tokens:[{type:"literal",value:"toggle"},{type:"role",role:"patient"}]},extraction:{patient:{position:1},destination:{default:{type:"reference",value:"me"}}}}];case"es":return[{id:"toggle-es-full",language:"es",command:"toggle",priority:100,template:{format:"alternar {patient} en {target}",tokens:[{type:"literal",value:"alternar",alternatives:["cambiar","toggle"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"en",alternatives:["sobre","de"]},{type:"role",role:"destination"}]}]},extraction:{patient:{position:1},destination:{marker:"en",markerAlternatives:["sobre","de"],default:{type:"reference",value:"me"}}}},{id:"toggle-es-simple",language:"es",command:"toggle",priority:90,template:{format:"alternar {patient}",tokens:[{type:"literal",value:"alternar",alternatives:["cambiar","toggle"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},destination:{default:{type:"reference",value:"me"}}}}];case"hi":return[{id:"toggle-hi-full",language:"hi",command:"toggle",priority:100,template:{format:"{patient} \u0915\u094b {destination} \u092a\u0930 \u091f\u0949\u0917\u0932 \u0915\u0930\u0947\u0902",tokens:[{type:"role",role:"patient"},{type:"literal",value:"\u0915\u094b"},{type:"role",role:"destination"},{type:"literal",value:"\u092a\u0930"},{type:"literal",value:"\u091f\u0949\u0917\u0932",alternatives:["\u092c\u0926\u0932\u0947\u0902","\u092c\u0926\u0932"]},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u0915\u0930\u0947\u0902",alternatives:["\u0915\u0930\u094b"]}]}]},extraction:{patient:{position:0},destination:{marker:"\u0915\u094b",position:2}}},{id:"toggle-hi-simple",language:"hi",command:"toggle",priority:90,template:{format:"{patient} \u091f\u0949\u0917\u0932 \u0915\u0930\u0947\u0902",tokens:[{type:"role",role:"patient"},{type:"literal",value:"\u091f\u0949\u0917\u0932",alternatives:["\u092c\u0926\u0932\u0947\u0902","\u092c\u0926\u0932"]},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u0915\u0930\u0947\u0902",alternatives:["\u0915\u0930\u094b"]}]}]},extraction:{patient:{position:0},destination:{default:{type:"reference",value:"me"}}}},{id:"toggle-hi-bare",language:"hi",command:"toggle",priority:80,template:{format:"\u091f\u0949\u0917\u0932 {patient}",tokens:[{type:"literal",value:"\u091f\u0949\u0917\u0932",alternatives:["\u092c\u0926\u0932\u0947\u0902","\u092c\u0926\u0932"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},destination:{default:{type:"reference",value:"me"}}}}];case"it":return[{id:"toggle-it-full",language:"it",command:"toggle",priority:100,template:{format:"commutare {patient} su {target}",tokens:[{type:"literal",value:"commutare",alternatives:["alternare","toggle","cambiare"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"su",alternatives:["in","di"]},{type:"role",role:"destination"}]}]},extraction:{patient:{position:1},destination:{marker:"su",markerAlternatives:["in","di"],default:{type:"reference",value:"me"}}}},{id:"toggle-it-simple",language:"it",command:"toggle",priority:90,template:{format:"commutare {patient}",tokens:[{type:"literal",value:"commutare",alternatives:["alternare","toggle","cambiare"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},destination:{default:{type:"reference",value:"me"}}}}];case"pl":return[{id:"toggle-pl-full",language:"pl",command:"toggle",priority:100,template:{format:"prze\u0142\u0105cz {patient} na {destination}",tokens:[{type:"literal",value:"prze\u0142\u0105cz",alternatives:["przelacz","prze\u0142\u0105czaj"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"na",alternatives:["w","dla"]},{type:"role",role:"destination"}]}]},extraction:{patient:{position:1},destination:{marker:"na",markerAlternatives:["w","dla"],default:{type:"reference",value:"me"}}}},{id:"toggle-pl-simple",language:"pl",command:"toggle",priority:90,template:{format:"prze\u0142\u0105cz {patient}",tokens:[{type:"literal",value:"prze\u0142\u0105cz",alternatives:["przelacz","prze\u0142\u0105czaj"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},destination:{default:{type:"reference",value:"me"}}}}];case"qu":return[{id:"toggle-qu-sov",language:"qu",command:"toggle",priority:100,template:{format:"{patient} ta t'ikray",tokens:[{type:"role",role:"patient"},{type:"literal",value:"ta"},{type:"literal",value:"t'ikray",alternatives:["tikray","kutichiy"]}]},extraction:{patient:{position:0}}},{id:"toggle-qu-simple",language:"qu",command:"toggle",priority:90,template:{format:"t'ikray {patient}",tokens:[{type:"literal",value:"t'ikray",alternatives:["tikray","kutichiy"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}},{id:"toggle-qu-with-dest",language:"qu",command:"toggle",priority:95,template:{format:"{destination} pi {patient} ta t'ikray",tokens:[{type:"role",role:"destination"},{type:"literal",value:"pi"},{type:"role",role:"patient"},{type:"literal",value:"ta"},{type:"literal",value:"t'ikray",alternatives:["tikray","kutichiy"]}]},extraction:{destination:{position:0},patient:{position:2}}},{id:"toggle-qu-dest-man",language:"qu",command:"toggle",priority:93,template:{format:"{destination} man {patient} ta t'ikray",tokens:[{type:"role",role:"destination"},{type:"literal",value:"man"},{type:"role",role:"patient"},{type:"literal",value:"ta"},{type:"literal",value:"t'ikray",alternatives:["tikray","kutichiy"]}]},extraction:{destination:{position:0},patient:{position:2}}},{id:"toggle-qu-patient-first-dest",language:"qu",command:"toggle",priority:102,template:{format:"{patient} ta {destination} man t'ikray",tokens:[{type:"role",role:"patient"},{type:"literal",value:"ta"},{type:"role",role:"destination"},{type:"literal",value:"man",alternatives:["pa"]},{type:"literal",value:"t'ikray",alternatives:["tikray","kutichiy"]}]},extraction:{patient:{position:0},destination:{position:2}}}];case"ru":return[{id:"toggle-ru-full",language:"ru",command:"toggle",priority:100,template:{format:"\u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c {patient} \u043d\u0430 {destination}",tokens:[{type:"literal",value:"\u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c",alternatives:["\u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u043d\u0430",alternatives:["\u0432","\u0434\u043b\u044f"]},{type:"role",role:"destination"}]}]},extraction:{patient:{position:1},destination:{marker:"\u043d\u0430",markerAlternatives:["\u0432","\u0434\u043b\u044f"],default:{type:"reference",value:"me"}}}},{id:"toggle-ru-simple",language:"ru",command:"toggle",priority:90,template:{format:"\u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c {patient}",tokens:[{type:"literal",value:"\u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c",alternatives:["\u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},destination:{default:{type:"reference",value:"me"}}}}];case"th":return[{id:"toggle-th-simple",language:"th",command:"toggle",priority:90,template:{format:"\u0e2a\u0e25\u0e31\u0e1a {patient}",tokens:[{type:"literal",value:"\u0e2a\u0e25\u0e31\u0e1a"},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}},{id:"toggle-th-with-dest",language:"th",command:"toggle",priority:95,template:{format:"\u0e2a\u0e25\u0e31\u0e1a {patient} \u0e43\u0e19 {destination}",tokens:[{type:"literal",value:"\u0e2a\u0e25\u0e31\u0e1a"},{type:"role",role:"patient"},{type:"literal",value:"\u0e43\u0e19"},{type:"role",role:"destination"}]},extraction:{patient:{position:1},destination:{marker:"\u0e43\u0e19",position:3}}}];case"uk":return[{id:"toggle-uk-full",language:"uk",command:"toggle",priority:100,template:{format:"\u043f\u0435\u0440\u0435\u043c\u043a\u043d\u0443\u0442\u0438 {patient} \u043d\u0430 {destination}",tokens:[{type:"literal",value:"\u043f\u0435\u0440\u0435\u043c\u043a\u043d\u0443\u0442\u0438",alternatives:["\u043f\u0435\u0440\u0435\u043c\u043a\u043d\u0438"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u043d\u0430",alternatives:["\u0432","\u0434\u043b\u044f"]},{type:"role",role:"destination"}]}]},extraction:{patient:{position:1},destination:{marker:"\u043d\u0430",markerAlternatives:["\u0432","\u0434\u043b\u044f"],default:{type:"reference",value:"me"}}}},{id:"toggle-uk-simple",language:"uk",command:"toggle",priority:90,template:{format:"\u043f\u0435\u0440\u0435\u043c\u043a\u043d\u0443\u0442\u0438 {patient}",tokens:[{type:"literal",value:"\u043f\u0435\u0440\u0435\u043c\u043a\u043d\u0443\u0442\u0438",alternatives:["\u043f\u0435\u0440\u0435\u043c\u043a\u043d\u0438"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},destination:{default:{type:"reference",value:"me"}}}}];case"vi":return[{id:"toggle-vi-full",language:"vi",command:"toggle",priority:100,template:{format:"chuy\u1ec3n \u0111\u1ed5i {patient} tr\u00ean {target}",tokens:[{type:"literal",value:"chuy\u1ec3n \u0111\u1ed5i",alternatives:["chuy\u1ec3n","b\u1eadt t\u1eaft"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"tr\u00ean",alternatives:["t\u1ea1i","\u1edf"]},{type:"role",role:"destination"}]}]},extraction:{patient:{position:1},destination:{marker:"tr\u00ean",markerAlternatives:["t\u1ea1i","\u1edf"],default:{type:"reference",value:"me"}}}},{id:"toggle-vi-simple",language:"vi",command:"toggle",priority:90,template:{format:"chuy\u1ec3n \u0111\u1ed5i {patient}",tokens:[{type:"literal",value:"chuy\u1ec3n \u0111\u1ed5i",alternatives:["chuy\u1ec3n","b\u1eadt t\u1eaft"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},destination:{default:{type:"reference",value:"me"}}}}];case"zh":return[{id:"toggle-zh-full",language:"zh",command:"toggle",priority:100,template:{format:"\u5207\u6362 {patient} \u5728 {target}",tokens:[{type:"literal",value:"\u5207\u6362"},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u5728",alternatives:["\u5230","\u4e8e"]},{type:"role",role:"destination"}]}]},extraction:{patient:{position:1},destination:{marker:"\u5728",markerAlternatives:["\u5230","\u4e8e"],default:{type:"reference",value:"me"}}}},{id:"toggle-zh-simple",language:"zh",command:"toggle",priority:90,template:{format:"\u5207\u6362 {patient}",tokens:[{type:"literal",value:"\u5207\u6362"},{type:"role",role:"patient"}]},extraction:{patient:{position:1},destination:{default:{type:"reference",value:"me"}}}},{id:"toggle-zh-ba",language:"zh",command:"toggle",priority:95,template:{format:"\u628a {patient} \u5207\u6362",tokens:[{type:"literal",value:"\u628a"},{type:"role",role:"patient"},{type:"literal",value:"\u5207\u6362"}]},extraction:{patient:{marker:"\u628a"},destination:{default:{type:"reference",value:"me"}}}},{id:"toggle-zh-full-ba",language:"zh",command:"toggle",priority:98,template:{format:"\u5728 {target} \u628a {patient} \u5207\u6362",tokens:[{type:"literal",value:"\u5728",alternatives:["\u5230","\u4e8e"]},{type:"role",role:"destination"},{type:"literal",value:"\u628a"},{type:"role",role:"patient"},{type:"literal",value:"\u5207\u6362"}]},extraction:{destination:{marker:"\u5728",markerAlternatives:["\u5230","\u4e8e"]},patient:{marker:"\u628a"}}}];default:return[]}}var fc,hc,gc,kc,zc,wc,bc,xc,Tc,Sc,jc,Ec,Lc=b({"src/patterns/toggle.ts"(){}});function Cc(e,t,r,i){const a=[];return a.push({type:"literal",value:t}),i&&a.push({type:"literal",value:i}),a.push({type:"role",role:"quantity",expectedTypes:["literal","expression"]}),a.push({type:"literal",value:r}),{id:`repeat-${e}-times`,language:e,command:"repeat",priority:110,template:{format:`${t}${i?" "+i:""} {quantity} ${r}`,tokens:a},extraction:{loopType:{default:{type:"literal",value:"times"}}}}}function _c(e,t,r){return{id:`repeat-${e}-times`,language:e,command:"repeat",priority:110,template:{format:`{quantity} ${t} ${r} repeat`,tokens:[{type:"role",role:"quantity",expectedTypes:["literal","expression"]},{type:"literal",value:t},{type:"literal",value:r},{type:"literal",value:"repeat"}]},extraction:{loopType:{default:{type:"literal",value:"times"}}}}}function Pc(e,t){const r=[{type:"literal",value:"repeat"}];if(t.forWords&&t.forWords.length>0)if(t.requireForWords)for(const e of t.forWords)r.push({type:"literal",value:e});else r.push({type:"group",optional:!0,tokens:t.forWords.map(e=>({type:"literal",value:e}))});r.push({type:"role",role:"patient",expectedTypes:["expression","reference"]});for(const e of t.inWords)r.push({type:"literal",value:e});return r.push({type:"role",role:"source",expectedTypes:["selector","expression","reference"]}),{id:`repeat-${e}-for-in`,language:e,command:"repeat",priority:110,template:{format:`repeat [${(t.forWords??[]).join(" ")}] {patient} ${t.inWords.join(" ")} {source}`,tokens:r},extraction:{loopType:{default:{type:"literal",value:"for"}}}}}function Wc(e,t){const r=[{type:"literal",value:"repeat"}];for(const e of t.pre??[])r.push({type:"literal",value:e});return r.push({type:"literal",value:t.whileWord}),r.push({type:"role",role:"condition",expectedTypes:["property-path","expression"]}),{id:`repeat-${e}-while-head`,language:e,command:"repeat",priority:110,template:{format:`repeat ${(t.pre??[]).join(" ")} ${t.whileWord} {condition}`,tokens:r},extraction:{loopType:{default:{type:"literal",value:"while"}}}}}function Ac(e,t){return{id:`repeat-${e}-while-head`,language:e,command:"repeat",priority:110,template:{format:`${t.whileWord} {condition} ${t.verb}`,tokens:[{type:"literal",value:t.whileWord},{type:"role",role:"condition",expectedTypes:["property-path","expression"]},{type:"literal",value:t.verb}]},extraction:{loopType:{default:{type:"literal",value:"while"}}}}}function qc(e,t){const r=[{type:"literal",value:"repeat"}];for(const e of t.pre??[])r.push({type:"literal",value:e});return r.push({type:"literal",value:t.untilWord}),t.preEvent&&r.push({type:"literal",value:t.preEvent}),r.push({type:"literal",value:t.eventWord}),r.push({type:"role",role:"event",expectedTypes:["literal","expression"]}),r.push({type:"group",optional:!0,tokens:[{type:"literal",value:t.fromWord},{type:"role",role:"source",expectedTypes:["selector","reference","expression"]}]}),{id:`repeat-${e}-until-head`,language:e,command:"repeat",priority:110,template:{format:`repeat ${t.untilWord} ${t.eventWord} {event} [${t.fromWord} {source}]`,tokens:r},extraction:{loopType:{default:{type:"literal",value:"until-event"}}}}}function Oc(e,t){return{id:`repeat-${e}-until-head`,language:e,command:"repeat",priority:110,template:{format:`${t.untilWord} ${t.eventWord} {event} ${t.objMarker} repeat [{source} ${t.fromWord}]`,tokens:[{type:"literal",value:t.untilWord},{type:"literal",value:t.eventWord},{type:"role",role:"event",expectedTypes:["literal","expression"]},{type:"literal",value:t.objMarker},{type:"literal",value:"repeat"},{type:"group",optional:!0,tokens:[{type:"role",role:"source",expectedTypes:["selector","reference","expression"]},{type:"literal",value:t.fromWord}]}]},extraction:{loopType:{default:{type:"literal",value:"until-event"}}}}}function Rc(e,t){return{id:`repeat-${e}-until-head-verb-final`,language:e,command:"repeat",priority:111,template:{format:`${t.untilWord} ${t.eventWord} {event} ${t.objMarker} {source} ${t.fromWord} repeat`,tokens:[{type:"literal",value:t.untilWord},{type:"literal",value:t.eventWord},{type:"role",role:"event",expectedTypes:["literal","expression"]},{type:"literal",value:t.objMarker},{type:"role",role:"source",expectedTypes:["selector","reference","expression"]},{type:"literal",value:t.fromWord},{type:"literal",value:"repeat"}]},extraction:{loopType:{default:{type:"literal",value:"until-event"}}}}}function Mc(e,t){return{id:`for-${e}-sov-basic`,language:e,command:"for",priority:105,template:{format:`{patient} ${t.inWords.join(" ")} {source} [${t.objMarker}] ${t.forVerb}`,tokens:[{type:"role",role:"patient",expectedTypes:["expression","reference"]},...t.inWords.map(e=>({type:"literal",value:e})),{type:"role",role:"source",expectedTypes:["selector","expression","reference"]},{type:"group",optional:!0,tokens:[{type:"literal",value:t.objMarker}]},{type:"literal",value:t.forVerb}]},extraction:{patient:{position:0}}}}function Nc(e){return jc.get(e)??[]}var Ic=b({"src/patterns/repeat.ts"(){fc=[["es","repetir","times"],["de","wiederholen","times"],["fr","r\u00e9p\u00e9ter","times"],["it","ripetere","times"],["pt","repetir","times"],["ru","\u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c","times"],["uk","\u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0438","times"],["pl","powt\u00f3rz","times"],["ar","\u0643\u0631\u0631","times"],["he","\u05d7\u05d6\u05d5\u05e8","times","\u05d0\u05ea"],["id","ulangi","times"],["ms","ulang","kali"],["sw","rudia","times"],["th","\u0e17\u0e33\u0e0b\u0e49\u0e33","\u0e04\u0e23\u0e31\u0e49\u0e07"],["vi","l\u1eb7p l\u1ea1i","l\u1ea7n"],["tl","ulitin","beses"],["zh","\u91cd\u590d","times","\u628a"]],hc=[["ja","times","\u3092"],["ko","times","\ub97c"],["tr","times","i"],["hi","times","\u0915\u094b"],["bn","\u09ac\u09be\u09b0","\u0995\u09c7"],["qu","times","ta"]],gc=[["en",{forWords:["for"],inWords:["in"],requireForWords:!0}],["es",{forWords:["para"],inWords:["en"]}],["pt",{forWords:["para"],inWords:["dentro"]}],["fr",{forWords:["pour"],inWords:["en"]}],["it",{forWords:["per"],inWords:["in"]}],["de",{forWords:["f\u00fcr"],inWords:["in"]}],["ru",{forWords:["\u0434\u043b\u044f"],inWords:["\u0432"]}],["uk",{forWords:["\u0434\u043b\u044f"],inWords:["\u0443"]}],["pl",{forWords:["dla"],inWords:["w"]}],["ar",{forWords:["\u0644\u0643\u0644"],inWords:["\u0641\u064a"]}],["he",{forWords:["\u05e2\u05d1\u05d5\u05e8","\u05d0\u05ea"],inWords:["in"]}],["hi",{inWords:["\u092e\u0947\u0902"]}],["bn",{inWords:["\u098f"]}],["ja",{inWords:["\u306e\u4e2d"]}],["ko",{inWords:["\uc548\uc5d0"]}],["zh",{forWords:["\u4e3a","\u628a"],inWords:["\u5728"]}],["tr",{inWords:["i\u00e7inde"]}],["id",{forWords:["untuk"],inWords:["dalam"]}],["ms",{forWords:["untuk"],inWords:["dalam"]}],["sw",{forWords:["kwa"],inWords:["ndani"]}],["th",{forWords:["\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a"],inWords:["\u0e43\u0e19"]}],["vi",{forWords:["v\u1edbi m\u1ed7i"],inWords:["trong"]}],["tl",{forWords:["para_sa"],inWords:["sa_loob"]}],["qu",{inWords:["ukupi"]}]],kc=[["ja",{whileWord:"\u306e\u9593",verb:"\u7e70\u308a\u8fd4\u3057"}],["ko",{whileWord:"\ub3d9\uc548",verb:"\ubc18\ubcf5"}],["tr",{whileWord:"s\u00fcresince",verb:"tekrarla"}],["hi",{whileWord:"\u091c\u092c \u0924\u0915",verb:"\u0926\u094b\u0939\u0930\u093e\u090f\u0902"}],["bn",{whileWord:"\u09af\u09a4\u0995\u09cd\u09b7\u09a3",verb:"\u09aa\u09c1\u09a8\u09b0\u09be\u09ac\u09c3\u09a4\u09cd\u09a4\u09bf"}],["qu",{whileWord:"kaykamaqa",verb:"kutipay"}]],zc=[["en",{whileWord:"while"}],["es",{whileWord:"mientras"}],["pt",{whileWord:"enquanto"}],["fr",{whileWord:"tantque"}],["it",{whileWord:"mentre"}],["de",{whileWord:"w\u00e4hrend"}],["ru",{whileWord:"\u043f\u043e\u043a\u0430"}],["uk",{whileWord:"\u043f\u043e\u043a\u0438"}],["pl",{whileWord:"dop\u00f3ki"}],["ar",{whileWord:"\u0628\u064a\u0646\u0645\u0627"}],["he",{pre:["\u05d0\u05ea"],whileWord:"\u05db\u05dc \u05e2\u05d5\u05d3"}],["zh",{pre:["\u628a"],whileWord:"\u5f53"}],["id",{whileWord:"selama"}],["ms",{whileWord:"selagi"}],["sw",{whileWord:"wakati"}],["th",{whileWord:"\u0e43\u0e19\u0e02\u0e13\u0e30\u0e17\u0e35\u0e48"}],["vi",{whileWord:"trong khi"}],["tl",{whileWord:"habang"}]],wc=[["es",{untilWord:"hasta",eventWord:"evento",fromWord:"de"}],["pt",{untilWord:"at\u00e9",eventWord:"evento",fromWord:"de"}],["fr",{untilWord:"jusqu\u00e0",eventWord:"\u00e9v\u00e9nement",fromWord:"de"}],["it",{untilWord:"fino",eventWord:"evento",fromWord:"da"}],["de",{untilWord:"bis",eventWord:"ereignis",fromWord:"von"}],["ru",{untilWord:"\u0434\u043e",eventWord:"\u0441\u043e\u0431\u044b\u0442\u0438\u0435",fromWord:"\u0438\u0437"}],["uk",{untilWord:"\u0434\u043e",eventWord:"\u043f\u043e\u0434\u0456\u044f",fromWord:"\u0437"}],["pl",{untilWord:"a\u017c",eventWord:"zdarzenie",fromWord:"z"}],["ar",{untilWord:"\u062d\u062a\u0649",eventWord:"\u062d\u062f\u062b",fromWord:"\u0645\u0646"}],["he",{untilWord:"\u05e2\u05d3",preEvent:"\u05d0\u05ea",eventWord:"\u05d0\u05d9\u05e8\u05d5\u05e2",fromWord:"\u05de"}],["id",{untilWord:"sampai",eventWord:"peristiwa",fromWord:"dari"}],["ms",{untilWord:"sehingga",eventWord:"peristiwa",fromWord:"dari"}],["sw",{untilWord:"hadi",eventWord:"tukio",fromWord:"kutoka"}],["th",{untilWord:"\u0e08\u0e19\u0e16\u0e36\u0e07",eventWord:"\u0e40\u0e2b\u0e15\u0e38\u0e01\u0e32\u0e23\u0e13\u0e4c",fromWord:"\u0e08\u0e32\u0e01"}],["vi",{untilWord:"cho \u0111\u1ebfn khi",eventWord:"s\u1ef1 ki\u1ec7n",fromWord:"t\u1eeb"}],["tl",{untilWord:"hanggang",eventWord:"pangyayari",fromWord:"mula_sa"}],["zh",{pre:["\u628a"],untilWord:"\u76f4\u5230",eventWord:"\u4e8b\u4ef6",fromWord:"\u4ece"}]],bc={id:"repeat-qu-midclause-until-head",language:"qu",command:"repeat",priority:109,template:{format:"until event {event} ta {source} manta repeat",tokens:[{type:"literal",value:"until"},{type:"literal",value:"event"},{type:"role",role:"event",expectedTypes:["literal","expression"]},{type:"literal",value:"ta"},{type:"role",role:"source",expectedTypes:["selector","reference","expression"]},{type:"literal",value:"manta"},{type:"literal",value:"repeat"}]},extraction:{loopType:{default:{type:"literal",value:"until-event"}}}},xc=[["hi",{untilWord:"\u0924\u0915",eventWord:"\u0918\u091f\u0928\u093e",objMarker:"\u0915\u094b",fromWord:"\u0938\u0947"}],["bn",{untilWord:"\u09aa\u09b0\u09cd\u09af\u09a8\u09cd\u09a4",eventWord:"\u0998\u099f\u09a8\u09be",objMarker:"\u0995\u09c7",fromWord:"\u09a5\u09c7\u0995\u09c7"}],["ja",{untilWord:"\u307e\u3067",eventWord:"\u30a4\u30d9\u30f3\u30c8",objMarker:"\u3092",fromWord:"\u304b\u3089"}],["ko",{untilWord:"\uae4c\uc9c0",eventWord:"\uc774\ubca4\ud2b8",objMarker:"\ub97c",fromWord:"\uc5d0\uc11c"}],["tr",{untilWord:"kadar",eventWord:"olay",objMarker:"i",fromWord:"den"}]],Tc={id:"repeat-qu-until-head",language:"qu",command:"repeat",priority:110,template:{format:"hayk _ a until event {event} ta {source} manta repeat",tokens:[{type:"literal",value:"hayk"},{type:"literal",value:"_"},{type:"literal",value:"a"},{type:"literal",value:"until"},{type:"literal",value:"event"},{type:"role",role:"event",expectedTypes:["literal","expression"]},{type:"literal",value:"ta"},{type:"role",role:"source",expectedTypes:["selector","reference","expression"]},{type:"literal",value:"manta"},{type:"literal",value:"repeat"}]},extraction:{loopType:{default:{type:"literal",value:"until-event"}}}},Sc=[["ja",{inWords:["\u306e\u4e2d"],objMarker:"\u3092",forVerb:"\u305f\u3081\u306b"}],["ko",{inWords:["\uc548\uc5d0"],objMarker:"\ub97c",forVerb:"\uac01\uac01"}],["tr",{inWords:["i\u00e7inde"],objMarker:"i",forVerb:"i\u00e7in"}],["qu",{inWords:["ukupi"],objMarker:"ta",forVerb:"sapankaq"}],["bn",{inWords:["\u098f"],objMarker:"\u0995\u09c7",forVerb:"\u099c\u09a8\u09cd\u09af"}],["hi",{inWords:["\u092e\u0947\u0902"],objMarker:"\u0915\u094b",forVerb:"\u0939\u0947\u0924\u0941"}]],jc=new Map,Ec=(e,t)=>{const r=jc.get(e);r?r.push(t):jc.set(e,[t])};for(const[e,t,r,i]of fc)Ec(e,Cc(e,t,r,i));for(const[e,t,r]of hc)Ec(e,_c(e,t,r));for(const[e,t]of gc)Ec(e,Pc(e,t));for(const[e,t]of Sc)Ec(e,Mc(e,t));for(const[e,t]of zc)Ec(e,Wc(e,t));for(const[e,t]of kc)Ec(e,Ac(e,t));for(const[e,t]of wc)Ec(e,qc(e,t));for(const[e,t]of xc)Ec(e,Oc(e,t)),"tr"===e&&Ec(e,Rc(e,t));Ec("qu",{id:"repeat-qu-canonical-until-head",language:"qu",command:"repeat",priority:110,template:{format:"kama ruway {event} ta repeat [{source} manta]",tokens:[{type:"literal",value:"kama"},{type:"literal",value:"ruway"},{type:"role",role:"event",expectedTypes:["literal","expression"]},{type:"literal",value:"ta"},{type:"literal",value:"repeat"},{type:"group",optional:!0,tokens:[{type:"role",role:"source",expectedTypes:["selector","reference","expression"]},{type:"literal",value:"manta"}]}]},extraction:{loopType:{default:{type:"literal",value:"until-event"}}}}),Ec("qu",Tc),Ec("qu",bc)}});function $c(e,t,r,i,a,n,o){const s=()=>({type:"group",optional:!0,tokens:[{type:"literal",value:"("},...Array.from({length:n},(e,t)=>[...t>0?[{type:"literal",value:","}]:[],{type:"role",role:"condition",expectedTypes:["expression","literal","reference"]}]).flat(),{type:"literal",value:")"}]});return{id:e,language:t,command:"wait",priority:105,template:{format:`{source} ${i} {duration} ${a} {patient} ${r}`,tokens:[{type:"role",role:"source",expectedTypes:["expression","reference"]},{type:"literal",value:i,...o?{alternatives:o}:{}},{type:"role",role:"duration",expectedTypes:["expression","literal"]},s(),{type:"literal",value:a},{type:"role",role:"patient",expectedTypes:["expression","literal"]},s(),{type:"literal",value:r}]},extraction:{source:{position:0},duration:{position:2}}}}function Kc(e,t,r,i,a,n,o){const s=()=>({type:"group",optional:!0,tokens:[{type:"literal",value:"("},...Array.from({length:o},(e,t)=>[...t>0?[{type:"literal",value:","}]:[],{type:"role",role:"condition",expectedTypes:["expression","literal","reference"]}]).flat(),{type:"literal",value:")"}]}),l=()=>({type:"group",optional:!0,tokens:[{type:"literal",value:a}]});return{id:e,language:t,command:"wait",priority:105,template:{format:`${r} {duration} ${i} [${a}] {patient} [${a}] {source} ${n}`,tokens:[{type:"literal",value:r},{type:"role",role:"duration",expectedTypes:["expression","literal"]},s(),{type:"literal",value:i},l(),{type:"role",role:"patient",expectedTypes:["expression","literal"]},s(),l(),{type:"role",role:"source",expectedTypes:["expression","reference"]},{type:"literal",value:n}]},extraction:{duration:{position:1},source:{position:8}}}}function Vc(e){switch(e){case"en":return[{id:"wait-en-for-event",language:"en",command:"wait",priority:110,template:{format:"wait for {event}",tokens:[{type:"literal",value:"wait"},{type:"literal",value:"for"},{type:"role",role:"event",expectedTypes:["literal","expression"]}]},extraction:{event:{position:2}}}];case"zh":return[{id:"wait-zh-ba",language:"zh",command:"wait",priority:105,template:{format:"\u7b49\u5f85 \u628a {duration}",tokens:[{type:"literal",value:"\u7b49\u5f85",alternatives:["\u7b49","\u7a0d\u5019"]},{type:"literal",value:"\u628a"},{type:"role",role:"duration",expectedTypes:["literal","expression"]}]},extraction:{duration:{position:2}}}];case"he":return[{id:"wait-he-et",language:"he",command:"wait",priority:105,template:{format:"\u05d7\u05db\u05d4 \u05d0\u05ea {duration}",tokens:[{type:"literal",value:"\u05d7\u05db\u05d4",alternatives:["\u05d4\u05de\u05ea\u05df"]},{type:"literal",value:"\u05d0\u05ea"},{type:"role",role:"duration",expectedTypes:["literal","expression"]}]},extraction:{duration:{position:2}}}];case"ar":return[{id:"wait-ar-from-first",language:"ar",command:"wait",priority:105,template:{format:"\u0627\u0646\u062a\u0638\u0631 \u0645\u0646 {source} {duration}",tokens:[{type:"literal",value:"\u0627\u0646\u062a\u0638\u0631",alternatives:["\u0627\u0646\u062a\u0638\u0631\u064a"]},{type:"literal",value:"\u0645\u0646"},{type:"role",role:"source",expectedTypes:["expression","reference"]},{type:"role",role:"duration",expectedTypes:["expression","literal"]}]},extraction:{source:{position:2},duration:{position:3}}}];case"bn":return[Kc("wait-bn-or-run","bn","\u0985\u09aa\u09c7\u0995\u09cd\u09b7\u09be","\u0985\u09a5\u09ac\u09be","\u099c\u09a8\u09cd\u09af","\u09a5\u09c7\u0995\u09c7",1),Kc("wait-bn-or-run-2arg","bn","\u0985\u09aa\u09c7\u0995\u09cd\u09b7\u09be","\u0985\u09a5\u09ac\u09be","\u099c\u09a8\u09cd\u09af","\u09a5\u09c7\u0995\u09c7",2)];case"tl":return[{id:"wait-tl-from-first",language:"tl",command:"wait",priority:105,template:{format:"maghintay mula_sa {source} {duration}",tokens:[{type:"literal",value:"maghintay",alternatives:["hintay"]},{type:"literal",value:"mula_sa",alternatives:["galing_sa"]},{type:"role",role:"source",expectedTypes:["expression","reference"]},{type:"role",role:"duration",expectedTypes:["expression","literal"]}]},extraction:{source:{position:2},duration:{position:3}}}];case"tr":return[$c("wait-tr-or-run","tr","bekle","den","veya",1,["dan","ten","tan"]),$c("wait-tr-or-run-2arg","tr","bekle","den","veya",2,["dan","ten","tan"])];case"qu":return[$c("wait-qu-or-run","qu","suyay","manta","utaq",1),$c("wait-qu-or-run-2arg","qu","suyay","manta","utaq",2)];default:return[]}}var Dc,Bc,Fc,Hc,Uc,Gc,Zc,Yc,Xc,Qc,Jc=b({"src/patterns/wait.ts"(){}}),ed={};function td(){const e=[];e.push(...vc("en")),e.push(...ii("en")),e.push(...Cm("en")),e.push(...Nc("en")),e.push(...Vc("en")),e.push(...sc,...lc,...mc,Dc,Bc,Fc,Hc,Uc,Gc,Zc,Yc,Xc,Qc);const t=Jm(It);return e.push(...t),e}x(ed,{buildEnglishPatterns:()=>td});var rd=b({"src/patterns/en.ts"(){Dt(),cc(),dc(),uc(),yc(),Lc(),si(),_m(),Ic(),Jc(),Dc={id:"repeat-en-until-event-from",language:"en",command:"repeat",priority:120,template:{format:"repeat until event {event} from {source}",tokens:[{type:"literal",value:"repeat"},{type:"literal",value:"until"},{type:"literal",value:"event"},{type:"role",role:"event",expectedTypes:["literal","expression"]},{type:"literal",value:"from"},{type:"role",role:"source",expectedTypes:["selector","reference","expression"]}]},extraction:{event:{marker:"event"},source:{marker:"from"},loopType:{default:{type:"literal",value:"until-event"}}}},Bc={id:"repeat-en-until-event",language:"en",command:"repeat",priority:110,template:{format:"repeat until event {event}",tokens:[{type:"literal",value:"repeat"},{type:"literal",value:"until"},{type:"literal",value:"event"},{type:"role",role:"event",expectedTypes:["literal","expression"]}]},extraction:{event:{marker:"event"},loopType:{default:{type:"literal",value:"until-event"}}}},Fc={id:"repeat-en-times",language:"en",command:"repeat",priority:110,template:{format:"repeat {quantity} times",tokens:[{type:"literal",value:"repeat"},{type:"role",role:"quantity",expectedTypes:["literal","expression"]},{type:"literal",value:"times"}]},extraction:{loopType:{default:{type:"literal",value:"times"}}}},Hc={id:"repeat-en-forever",language:"en",command:"repeat",priority:110,template:{format:"repeat forever",tokens:[{type:"literal",value:"repeat"},{type:"literal",value:"forever"}]},extraction:{loopType:{default:{type:"literal",value:"forever"}}}},Uc={id:"set-en-possessive",language:"en",command:"set",priority:100,template:{format:"set {destination} to {patient} [on {scope}]",tokens:[{type:"literal",value:"set"},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"literal",value:"to"},{type:"role",role:"patient",expectedTypes:["literal","expression","reference"]},{type:"group",optional:!0,tokens:[{type:"literal",value:"on"},{type:"role",role:"scope",optional:!0,expectedTypes:["selector","reference"]}]}]},extraction:{destination:{position:1},patient:{marker:"to"},scope:{marker:"on"}}},Gc={id:"for-en-basic",language:"en",command:"for",priority:100,template:{format:"for {patient} in {source}",tokens:[{type:"literal",value:"for"},{type:"role",role:"patient",expectedTypes:["expression","reference"]},{type:"literal",value:"in"},{type:"role",role:"source",expectedTypes:["selector","expression","reference"]}]},extraction:{patient:{position:1},source:{marker:"in"}}},Zc={id:"if-en-basic",language:"en",command:"if",priority:100,template:{format:"if {condition}",tokens:[{type:"literal",value:"if"},{type:"role",role:"condition",expectedTypes:["expression","reference","selector"]}]},extraction:{condition:{position:1}}},Yc={id:"unless-en-basic",language:"en",command:"unless",priority:100,template:{format:"unless {condition}",tokens:[{type:"literal",value:"unless"},{type:"role",role:"condition",expectedTypes:["expression","reference","selector"]}]},extraction:{condition:{position:1}}},Xc={id:"temporal-en-in",language:"en",command:"wait",priority:95,template:{format:"in {duration}",tokens:[{type:"literal",value:"in"},{type:"role",role:"duration",expectedTypes:["literal","expression"]}]},extraction:{duration:{position:1}}},Qc={id:"temporal-en-after",language:"en",command:"wait",priority:95,template:{format:"after {duration}",tokens:[{type:"literal",value:"after"},{type:"role",role:"duration",expectedTypes:["literal","expression"]}]},extraction:{duration:{position:1}}}}}),id=.5,ad=.8,nd=new Set(["me","my","myself","you","your","yourself","it","its","result","event","target","body","detail","window","document"]),od=new Set(["and","or","not","no"]),sd=new Set(["true","false","null","undefined"]),ld=new Set(["is","matches","match","contains","in"]),pd=new Set(["next","previous","closest","first","last"]),md=new Set(["ms","s","seconds","second","milliseconds","millisecond","minutes","minute","hours","hour"]);var cd=new Set(["my","its","your"]),dd={my:"me",its:"it",your:"you"},ud=new Set(["is","matches","match","contains","in","exists","does"]),yd=new Set(["next","previous","closest","first","last"]),vd=class{constructor(){this.tokens=[],this.current=0}parse(e){try{if(this.tokens=function(e){const t=[];let r=0,i=1,a=1;function n(){if(0===t.length)return!0;const e=t[t.length-1];return!("IDENTIFIER"!==e.type||!ld.has(e.value.toLowerCase()))||!("IDENTIFIER"!==e.type||!pd.has(e.value.toLowerCase()))||["OPERATOR","COMPARISON","LOGICAL","LPAREN","LBRACKET","LBRACE","COMMA","COLON"].includes(e.type)}function o(t=0){return e[r+t]??""}function s(){const t=e[r];return r++,"\n"===t?(i++,a=1):a++,t}function l(){for(;e.length>r&&/\s/.test(e[r]);)s()}function p(t){let i="";for(;e.length>r&&t(e[r]);)i+=s();return i}function m(t){let i=t;for(s();e.length>r&&e[r]!==t;)"\\"===e[r]&&e.length>r+1?(i+=s(),i+=s()):i+=s();return e.length>r&&(i+=s()),i}function c(){let t="`";for(s();e.length>r&&"`"!==e[r];)"\\"===e[r]&&e.length>r+1?(t+=s(),t+=s()):t+=s();return e.length>r&&(t+=s()),t}function d(){let t="<";for(s();e.length>r&&(t+=s(),!t.endsWith("/>")););return t}function u(e,t,n){return{type:e,value:t,start:n,end:r,line:i,column:a-t.length}}for(;e.length>r&&(l(),e.length>r);){const i=r,a=o();if("'"!==a||"s"!==o(1)||/\w/.test(o(2))){if('"'===a||"'"===a){const e=m(a);t.push(u("STRING",e,i));continue}if("`"===a){const e=c();t.push(u("TEMPLATE_LITERAL",e,i));continue}if("<"===a&&/[a-zA-Z.#\[]/.test(o(1))){const e=d();t.push(u("QUERY_SELECTOR",e,i));continue}if("#"===a&&n()){s();const e=p(e=>/[\w-]/.test(e));t.push(u("ID_SELECTOR","#"+e,i));continue}if("."===a&&/[a-zA-Z_-]/.test(o(1))&&n()){s();const e=p(e=>/[\w-]/.test(e));t.push(u("CLASS_SELECTOR","."+e,i));continue}if("@"===a&&/[a-zA-Z_]/.test(o(1))){s();const e=p(e=>/[\w-]/.test(e));t.push(u("ATTRIBUTE_REF","@"+e,i));continue}if("["===a&&n()){const a=o(1);if("@"===a||/[a-zA-Z]/.test(a)){let a="";for(a+=s();e.length>r&&"]"!==e[r];)a+='"'===e[r]||"'"===e[r]?m(e[r]):s();e.length>r&&(a+=s()),t.push(u("ATTRIBUTE_SELECTOR",a,i));continue}}if("["!==a)if("]"!==a){if(/\d/.test(a)){const e=p(e=>/[\d.]/.test(e)),a=r,n=p(e=>/[a-zA-Z]/.test(e));md.has(n)?t.push(u("TIME_EXPRESSION",e+n,i)):(r=a,t.push(u("NUMBER",e,i)));continue}if("("!==a)if(")"!==a)if("{"!==a)if("}"!==a)if(","!==a)if(":"!==a)if("."!==a)if("+"!==a&&"-"!==a&&"*"!==a&&"/"!==a&&"%"!==a){if("="===a||"!"===a||"<"===a||">"===a){let e=s();"="===o()&&(e+=s()),t.push(u("COMPARISON",e,i));continue}if(/[a-zA-Z_$]/.test(a)){const e=p(e=>/[\w$]/.test(e)),r=e.toLowerCase();nd.has(r)?t.push(u("CONTEXT_VAR",e,i)):od.has(r)?t.push(u("LOGICAL",e,i)):sd.has(r)?t.push(u("BOOLEAN",e,i)):t.push(u("IDENTIFIER",e,i));continue}s()}else s(),t.push(u("OPERATOR",a,i));else s(),t.push(u("DOT",".",i));else s(),t.push(u("COLON",":",i));else s(),t.push(u("COMMA",",",i));else s(),t.push(u("RBRACE","}",i));else s(),t.push(u("LBRACE","{",i));else s(),t.push(u("RPAREN",")",i));else s(),t.push(u("LPAREN","(",i))}else s(),t.push(u("RBRACKET","]",i));else s(),t.push(u("LBRACKET","[",i))}else s(),s(),t.push(u("POSSESSIVE","'s",i))}return t.push(u("EOF","",r)),t}(e),this.current=0,this.isAtEnd())return{success:!1,error:"Empty expression"};return{success:!0,node:this.parseExpression(),consumed:this.current}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Parse error"}}}peek(){return this.tokens[this.current]??{type:"EOF",value:"",start:0,end:0}}peekAt(e){return this.tokens[this.current+e]??{type:"EOF",value:"",start:0,end:0}}previous(){return this.tokens[this.current-1]??{type:"EOF",value:"",start:0,end:0}}isAtEnd(){return"EOF"===this.peek().type}advance(){return this.isAtEnd()||this.current++,this.previous()}check(e){return this.peek().type===e}checkValue(e){return this.peek().value.toLowerCase()===e.toLowerCase()}match(...e){for(const t of e)if(this.check(t))return this.advance(),!0;return!1}parseExpression(){return this.parseOr()}parseOr(){let e=this.parseAnd();for(;this.checkValue("or");){const t=this.advance().value,r=this.parseAnd();e=this.createBinaryExpression(t,e,r)}return e}parseAnd(){let e=this.parseEquality();for(;this.checkValue("and");){const t=this.advance().value,r=this.parseEquality();e=this.createBinaryExpression(t,e,r)}return e}parseEquality(){let e=this.parseComparison();for(;;){let t;if(this.match("COMPARISON"))t=this.previous().value;else{if(!(this.checkValue("is")||this.checkValue("matches")||this.checkValue("match")||this.checkValue("contains")||this.checkValue("in")))break;{const e=this.advance().value;t="match"===e.toLowerCase()?"matches":e}}if("is"===t.toLowerCase()){if(this.checkValue("empty")){this.advance(),e=this.createPostfixUnary("is empty",e);continue}if(this.checkValue("not")&&"empty"===this.peekAt(1).value.toLowerCase()){this.advance(),this.advance(),e=this.createPostfixUnary("is not empty",e);continue}}const r=this.parseComparison();e=this.createBinaryExpression(t,e,r)}return e}parseComparison(){let e=this.parseAddition();for(;this.check("COMPARISON");){const t=this.advance().value,r=this.parseAddition();e=this.createBinaryExpression(t,e,r)}return e}parseAddition(){let e=this.parseMultiplication();for(;"+"===this.peek().value||"-"===this.peek().value;){const t=this.advance().value,r=this.parseMultiplication();e=this.createBinaryExpression(t,e,r)}return e}parseMultiplication(){let e=this.parseUnary();for(;"*"===this.peek().value||"/"===this.peek().value||"%"===this.peek().value;){const t=this.advance().value,r=this.parseUnary();e=this.createBinaryExpression(t,e,r)}return e}parseUnary(){if(this.checkValue("not")||this.checkValue("no")||"-"===this.peek().value){const e=this.advance().value,t=this.parseUnary();return this.createUnaryExpression(e,t)}return this.parsePostfix()}parsePostfix(){let e=this.parsePrimary();for(;;)if(this.match("DOT")){if(!this.check("IDENTIFIER")&&!this.check("CONTEXT_VAR"))break;{const t=this.advance();e=this.createMemberExpression(e,this.createIdentifier(t.value,t),!1)}}else if(this.match("POSSESSIVE")){if(!this.check("IDENTIFIER")&&!this.check("CONTEXT_VAR"))break;{const t=this.advance().value;e=this.createPossessiveExpression(e,t)}}else if(this.match("LPAREN")){const t=this.parseArguments();e=this.createCallExpression(e,t)}else if(this.match("LBRACKET")){const t=this.parseExpression();if(!this.match("RBRACKET"))throw Error("Expected ] after index");e=this.createMemberExpression(e,t,!0)}else if("identifier"===e.type&&cd.has(e.name)&&this.check("IDENTIFIER")&&!ud.has(this.peek().value.toLowerCase())){const t=this.advance(),r=e,i={...r,name:dd[r.name]??r.name};e=this.createMemberExpression(i,this.createIdentifier(t.value,t),!1)}else{if(!this.checkValue("exists")||"LPAREN"===this.peekAt(1).type)break;this.advance(),e=this.createPostfixUnary("exists",e)}return e}parsePrimary(){const e=this.peek();if(this.match("NUMBER"))return this.createLiteral(parseFloat(e.value),"number",e);if(this.match("STRING")){const t=e.value.slice(1,-1);return this.createLiteral(t,"string",e)}if(this.match("BOOLEAN")){return this.createLiteral("true"===e.value||"false"!==e.value&&("null"===e.value?null:void 0),{true:"boolean",false:"boolean",null:"null",undefined:"undefined"}[e.value]??"string",e)}if(this.match("TEMPLATE_LITERAL")){const t=e.value;return{type:"templateLiteral",value:t.length>=2&&t.startsWith("`")&&t.endsWith("`")?t.slice(1,-1):t,start:e.start,end:e.end,line:e.line,column:e.column}}if(this.match("TIME_EXPRESSION"))return this.parseTimeExpression(e);if(this.match("ID_SELECTOR"))return this.createSelector(e.value,"id",e);if(this.match("CLASS_SELECTOR"))return this.createSelector(e.value,"class",e);if(this.match("ATTRIBUTE_SELECTOR"))return this.createSelector(e.value,"attribute",e);if(this.match("ATTRIBUTE_REF"))return{type:"attributeAccess",attributeName:e.value.slice(1),start:e.start,end:e.end};if(this.match("QUERY_SELECTOR")){const t=e.value.slice(1,-2);return this.createSelector(t,"query",e)}if(this.match("CONTEXT_VAR"))return this.createIdentifier(e.value,e);if(this.match("IDENTIFIER")){if(yd.has(e.value.toLowerCase())&&(this.check("CLASS_SELECTOR")||this.check("ID_SELECTOR")||this.check("QUERY_SELECTOR"))){const t=this.advance(),r="QUERY_SELECTOR"===t.type?t.value.slice(1,-2):t.value,i="CLASS_SELECTOR"===t.type?"class":"ID_SELECTOR"===t.type?"id":"query";return{type:"callExpression",callee:this.createIdentifier(e.value,e),arguments:[this.createSelector(r,i,t)],start:e.start,end:t.end}}return this.createIdentifier(e.value,e)}if(this.match("LPAREN")){const e=this.parseExpression();if(!this.match("RPAREN"))throw Error("Expected ) after expression");return e}if(this.match("LBRACKET"))return this.parseArrayLiteral();if(this.match("LBRACE"))return this.parseObjectLiteral();throw Error("Unexpected token: "+e.value)}parseArguments(){const e=[];if(!this.check("RPAREN"))do{e.push(this.parseExpression())}while(this.match("COMMA"));if(!this.match("RPAREN"))throw Error("Expected ) after arguments");return e}parseArrayLiteral(){const e=[],t=this.previous().start;if(!this.check("RBRACKET"))do{e.push(this.parseExpression())}while(this.match("COMMA"));if(!this.match("RBRACKET"))throw Error("Expected ] after array elements");return{type:"arrayLiteral",elements:e,start:t,end:this.previous().end}}parseObjectLiteral(){const e=[],t=this.previous().start;if(!this.check("RBRACE"))do{let t;if(this.check("STRING"))t=this.advance().value.slice(1,-1);else{if(!this.check("IDENTIFIER")&&!this.check("CONTEXT_VAR"))throw Error("Expected property name");t=this.advance().value}if(!this.match("COLON"))throw Error("Expected : after property name");const r=this.parseExpression();e.push({key:t,value:r})}while(this.match("COMMA"));if(!this.match("RBRACE"))throw Error("Expected } after object properties");return{type:"objectLiteral",properties:e.map(e=>({type:"objectProperty",key:e.key,value:e.value})),start:t,end:this.previous().end}}parseTimeExpression(e){const t=e.value.match(/^(\d+(?:\.\d+)?)(ms|s|seconds?|milliseconds?|minutes?|hours?)$/i);if(!t)throw Error("Invalid time expression: "+e.value);return{type:"timeExpression",value:parseFloat(t[1]),unit:t[2].toLowerCase(),raw:e.value,start:e.start,end:e.end,line:e.line,column:e.column}}createLiteral(e,t,r){return{type:"literal",value:e,dataType:t,raw:r.value,start:r.start,end:r.end,line:r.line,column:r.column}}createSelector(e,t,r){return{type:"selector",value:e,selector:e,selectorType:t,start:r.start,end:r.end,line:r.line,column:r.column}}createIdentifier(e,t){return{type:"identifier",name:e,start:t.start,end:t.end,line:t.line,column:t.column}}createMemberExpression(e,t,r){return{type:"memberExpression",object:e,property:t,computed:r,start:e.start,end:this.previous().end}}createPossessiveExpression(e,t){return{type:"possessiveExpression",object:e,property:t,start:e.start,end:this.previous().end}}createBinaryExpression(e,t,r){return{type:"binaryExpression",operator:e,left:t,right:r,start:t.start,end:r.end}}createUnaryExpression(e,t){return{type:"unaryExpression",operator:e,operand:t,prefix:!0,start:this.previous().start,end:t.end}}createPostfixUnary(e,t){return{type:"unaryExpression",operator:e,operand:t,prefix:!1,start:t.start,end:this.previous().end}}createCallExpression(e,t){return{type:"callExpression",callee:e,arguments:t,start:e.start,end:this.previous().end}}};function fd(e,t){return r=function(e,t){switch(e.type){case"literal":return gd(e);case"selector":return kd(e,t);case"reference":return zd(e);case"property-path":return wd(e,t);case"expression":return bd(e);case"flag":return{type:"literal",value:e.enabled};default:throw Error("Unknown semantic value type: "+e.type)}}(e,t),(i=e.position)&&"number"!=typeof r.start?{...r,start:i.start,end:i.end}:r;var r,i}function hd(e){return!0===e?.implicit}function gd(e){const t={type:"literal",value:e.value};return e.dataType?{...t,dataType:e.dataType}:t}function kd(e,t){if(e.value.startsWith("@")&&/^[a-zA-Z_]/.test(e.value.slice(1)))return{type:"attributeAccess",attributeName:e.value.slice(1)};t&&e.value.startsWith("*")&&/^[a-zA-Z-]/.test(e.value.slice(1))&&t.push(`Converted '${e.value}' to a CSS selector, but it looks like a CSS property name. CSS properties in commands like 'transition' should be literal strings, not selectors. Consider using expectedTypes: ['literal'] instead of ['literal', 'selector'] in the command schema.`);const r=function(e){if(!e.startsWith("<")||!e.endsWith("/>")||3>=e.length)return;const t=e.slice(1,-2).trim();return t?{selector:t}:void 0}(e.value);return r?{type:"selector",value:r.selector,selector:r.selector,selectorType:e.selectorKind,fromQuery:!0,raw:e.value}:e.value.startsWith("<")?{type:"selector",value:e.value,selector:e.value,selectorType:e.selectorKind,raw:e.value}:{type:"selector",value:e.value,selector:e.value,selectorType:e.selectorKind}}function zd(e){const t=e.value;if("string"==typeof t){if(t.startsWith(":")&&t.length>1)return{type:"identifier",name:t.slice(1),scope:"element"};if(t.startsWith("$")&&t.length>1)return{type:"identifier",name:t}}const r=t+"";return{type:"identifier",name:{my:"me",its:"it",your:"you"}[r]??r}}function wd(e,t){const r=fd(e.object,t),i="identifier"===r.type&&["me","it","you"].includes(r.name);if("possessive"===e.access&&!i)return{type:"possessiveExpression",object:r,property:{type:"identifier",name:e.property}};let a=r;for(const t of(e.property+"").split("."))t&&(a={type:"memberExpression",object:a,property:{type:"identifier",name:t},computed:!1});return a}function bd(e){const t=(r=e.raw,(new vd).parse(r));var r;if(!t.success||!t.node){return{type:"identifier",name:e.raw}}return function(e,t){if(!t||0===t.start)return e;const r=e=>{if(Array.isArray(e))return e.map(r);if(!e||"object"!=typeof e)return e;const i=Object.getPrototypeOf(e);if(i!==Object.prototype&&null!==i)return e;const a={};for(const[i,n]of Object.entries(e))if("start"!==i&&"end"!==i||"number"!=typeof n){if("line"===i||"column"===i)continue;a[i]=r(n)}else a[i]=n+t.start;return a};return r(e)}(t.node,e.position)}function xd(e,t){const r=e.roles.get(t);return hd(r)?void 0:r}function Td(e,t,r){const i=xd(e,t);return i?fd(i,r):void 0}function Sd(e,t=[],r,i={}){const a={type:"command",name:e,args:t};return r&&Object.keys(r).length>0&&(a.modifiers=r),i.isBlocking&&(a.isBlocking=i.isBlocking),i.implicitTarget&&(a.implicitTarget=i.implicitTarget),i.semanticRoles&&Object.keys(i.semanticRoles).length>0&&(a.semanticRoles=i.semanticRoles),a}ht();var jd={action:"wait",toAST(e,t){const r=Td(e,"event");if(r){const t={for:r},i=Td(e,"source");return i&&(t.from=i),Sd("wait",[],t,{isBlocking:!0})}const i=Td(e,"duration");return Sd("wait",i?[i]:[],void 0,{isBlocking:!0})}},Ed={action:"put",toAST(e,t){const r=Td(e,"patient"),i=Td(e,"destination"),a=xd(e,"manner")??xd(e,"method"),n=r?[r]:[],o={};if(i){o["literal"===a?.type?a.value+"":"into"]=i}return Sd("put",n,o)}},Ld={action:"go",toAST(e,t){const r=xd(e,"destination"),i=xd(e,"method"),a=[];if(r&&(r&&"value"in r?r.value:r?.raw)+""=="back")a.push({type:"string",value:"back"});else if(r){i&&("value"in i?i.value:void 0)+""=="url"&&a.push({type:"string",value:"url"});const t=Td(e,"destination");t&&a.push(t)}return Sd("go",a,{})}},Cd=new Set(["item","items","character","characters"]),_d=new Set(["first","last","random"]),Pd=new Set(["match","matches"]);function Wd(e){if(e)return"literal"===e.type?e.value+"":"expression"===e.type?e.raw:"value"in e&&"string"==typeof e.value?e.value:void 0}function Ad(e){const t=e.trim();if("start"===t||"end"===t)return{type:"literal",value:t};const r=Number(t);return{type:"literal",value:Number.isNaN(r)?t:r}}var qd=new Map([["wait",jd],["put",Ed],["go",Ld],["pick",{action:"pick",toAST(e,t){const r=Wd(xd(e,"method"))?.trim().toLowerCase(),i=xd(e,"patient"),a=Td(e,"source");if(!r||!(Cd.has(r)||_d.has(r)||Pd.has(r))){const e=i?fd(i):void 0,t=[];return e&&t.push(e),a&&t.push(a),Sd("pick",t)}const n=a?[a]:[],o={};if(_d.has(r))o.variant={type:"literal",value:r},i&&(o.count=fd(i));else if(Pd.has(r))o.variant={type:"literal",value:r},i&&(o.regex=fd(i));else{o.variant={type:"literal",value:"range"};let e="default",t=(Wd(i)??"").trim();const r=t.match(/\s+(inclusive|exclusive)\s*$/i);r&&(e=r[1].toLowerCase(),t=t.slice(0,t.length-r[0].length).trim());const a=t.split(/\s+to\s+/i),n=a[0]?.trim(),s=a[1]?.trim();n&&(o.rangeStart=Ad(n)),s&&(o.rangeEnd=Ad(s)),o.rangeMode={type:"literal",value:e}}return Sd("pick",n,o)}}]]);function Od(e,t){const r=Array.isArray(t)?t:[t];for(const t of r){const r=Td(e,t);if(void 0!==r)return r}}function Rd(e,t,r){const i=[];for(const t of r.args??[]){const r=Od(e,t);void 0!==r&&i.push(r)}const a={};for(const[t,i]of Object.entries(r.modifiers??{})){const r=Od(e,i);void 0!==r&&(a[t]=r)}return Sd(t,i,a,r.isBlocking?{isBlocking:!0}:{})}function Md(e){const t=pt(e)?.ast;if(t)return{action:e,toAST:r=>Rd(r,e,t)}}function Nd(e){return qd.get(e)??Md(e)}function Id(e){return qd.get(e)}function $d(e){qd.set(e.action,e)}function Kd(){return new Map(qd)}var Vd=class{constructor(e={}){this.warnings=[]}build(e){switch(e.kind){case"command":return this.buildCommand(e);case"event-handler":return this.buildEventHandler(e);case"conditional":return this.buildConditional(e);case"compound":return this.buildCompound(e);case"loop":return this.buildLoop(e);case"behavior":return this.buildBehavior(e);case"def":return this.buildDef(e);case"feature":return this.buildFeature(e);default:throw Error("Unknown semantic node kind: "+e.kind)}}buildBehavior(e){const t=e.eventHandlers.map(e=>this.buildEventHandler(e)),r={type:"behavior",name:e.name,parameters:[...e.parameters],eventHandlers:t};return e.initBlock&&e.initBlock.length>0&&(r.initBlock={type:"initBlock",commands:e.initBlock.map(e=>this.build(e))}),r}buildDef(e){return{type:"def",name:e.name,params:[...e.parameters],body:e.body.map(e=>this.build(e))}}buildFeature(e){const t=[];void 0!==e.name&&t.push({type:"literal",value:e.name});const r=e.roles.get("condition");return r&&t.push(fd(r)),t.push({type:"block",commands:e.body.map(e=>this.build(e))}),{type:"command",name:e.action,args:t}}buildCommand(e){const t=Nd(e.action);let r;if(t){const i=t.toAST(e,this);if("ast"in i&&"warnings"in i){const e=i;this.warnings.push(...e.warnings),r=e.ast}else r=i}else r=this.buildGenericCommand(e);if(e.roles&&e.roles.size>0){const t={};for(const[r,i]of e.roles)t[r]=fd(i);Object.keys(t).length>0&&(r.semanticRoles=t)}return r}buildGenericCommand(e){const t=[],r={},i=["patient","source","quantity"],a=["destination","duration","method","style"];for(const r of i){const i=e.roles.get(r);i&&!hd(i)&&t.push(fd(i))}for(const t of a){const i=e.roles.get(t);if(i&&!hd(i)){r[this.roleToModifierKey(t)]=fd(i)}}const n={type:"command",name:e.action,args:t};return Object.keys(r).length>0?{...n,modifiers:r}:n}roleToModifierKey(e){return{destination:"on",duration:"for",source:"from",condition:"if",method:"via",style:"with"}[e]??e}buildEventHandler(e){const t=e.roles.get("event");let r,i="click";const a="literal"===t?.type?t.value+"":"expression"===t?.type?t.raw:"reference"===t?.type?t.value:void 0;void 0!==a&&(a.includes("|")||a.includes(" or ")?(r=a.split(/\s+or\s+|\|/).map(e=>e.trim()),i=r[0]):i=a);const n=e.body.map(e=>this.build(e)),o=e.roles.get("source");let s,l;"selector"===o?.type?(s=o.value,l=o.value):"reference"===o?.type?l=o.value:"literal"===o?.type&&(l=o.value+"");const p=e.roles.get("condition"),m=p?fd(p):void 0,c=e.roles.get("destination"),d=c?fd(c):void 0,u=e.eventModifiers;let y=s;if(u?.from){const e=u.from;"selector"!==e.type||s?l||("reference"===e.type?l=e.value:"literal"===e.type?l=e.value+"":"expression"===e.type&&(l=e.raw)):(y=e.value,l=l??e.value)}const v={};u?.once&&(v.once=!0),"number"==typeof u?.debounce&&(v.debounce=u.debounce),"number"==typeof u?.throttle&&(v.throttle=u.throttle);const f=e.parameterNames?[...e.parameterNames]:void 0;return{type:"eventHandler",event:i,commands:n,...r&&r.length>1?{events:r}:{},...y?{selector:y}:{},...l?{target:l}:{},...m?{condition:m}:{},...d?{watchTarget:d}:{},...f&&f.length>0?{args:f,params:f}:{},...Object.keys(v).length>0?{modifiers:v}:{}}}buildConditional(e){const t=e.roles.get("condition");if(!t)throw Error("Conditional node missing condition");const r=fd(t),i=e.thenBranch.map(e=>this.build(e)),a=e.elseBranch?.map(e=>this.build(e)),n=[r,{type:"block",commands:i}];return a&&a.length>0&&n.push({type:"block",commands:a}),{type:"command",name:"if",args:n}}buildCompound(e){const t=e.statements.map(e=>this.build(e));if(1===t.length)return t[0];if(0===t.length)return{type:"block",commands:[]};if(t.every(e=>"eventHandler"===e.type))return{type:"Program",statements:t};return{type:"CommandSequence",commands:t}}buildLoop(e){const t=e.body.map(e=>this.build(e)),r=[{type:"identifier",name:e.loopVariant}];switch(e.loopVariant){case"times":{const t=e.roles.get("quantity");t&&r.push(fd(t));break}case"for":{e.loopVariable&&r.push({type:"string",value:e.loopVariable});const t=e.roles.get("source");t&&r.push(fd(t));break}case"while":case"until":{const t=e.roles.get("condition");t&&r.push(fd(t));break}}return r.push({type:"block",commands:t}),{type:"command",name:"repeat",args:r}}buildBlock(e){return{type:"block",commands:e.map(e=>this.build(e))}}};function Dd(e){const t=new Vd;return{ast:t.build(e),warnings:t.warnings}}Pt(),qt(),Mt(),$t(),Dt(),Ht(),Zt(),Qt(),tr(),ar(),sr(),mr(),ur(),fr(),kr(),br(),Sr(),Lr(),Pr(),qr(),Mr(),$r(),Dr(),Hr(),Zr();var Bd=Object.freeze({ar:_t,bn:At,de:Rt,en:It,es:Vt,fr:Ft,he:Gt,hi:Xt,id:er,it:ir,ja:or,ko:pr,ms:dr,pl:vr,pt:gr,qu:wr,ru:Tr,sw:Er,th:_r,tl:Ar,tr:Rr,uk:Ir,vi:Vr,zh:Fr}),Fd=new Map;function Hd(e,t){Fd.set(e.toLowerCase(),t)}function Ud(e){const t=e.toLowerCase();return Fd.get(t)??Fd.get(t.split("-")[0])}function Gd(){return[...Fd.keys()].sort()}function Zd(e){let t="complex";return e.startsWith("#")&&!e.includes(" ")?t="id":e.startsWith(".")&&!e.includes(" ")?t="class":e.startsWith("[")&&e.endsWith("]")?t="attribute":/^[a-z][a-z0-9]*$/i.test(e)&&(t="element"),{type:"selector",value:e,selectorKind:t}}function Yd(e,t){return void 0!==t?{type:"literal",value:e,dataType:t}:{type:"literal",value:e}}function Xd(e){return l(e)}function Qd(e){return{type:"reference",value:e}}function Jd(e,t,r){return r?{type:"property-path",object:e,property:t,access:r}:{type:"property-path",object:e,property:t}}function eu(e,t,r){const i={kind:"command",action:e,roles:new Map(Object.entries(t))};return void 0!==r?{...i,metadata:r}:i}function tu(e,t,r,i,a,n){const o=new Map;o.set("event",e);const s={kind:"event-handler",action:"on",roles:o,body:t};return void 0!==r&&(s.eventModifiers=r),void 0!==i&&(s.metadata=i),void 0!==a&&a.length>0&&(s.parameterNames=a),void 0!==n&&n.length>0&&(s.additionalEvents=n),s}function ru(e,t,r,i,a){const n={kind:"feature",action:e,roles:a??new Map,body:t};return void 0!==r&&(n.name=r),void 0!==i&&(n.metadata=i),n}function iu(e,t="then",r){const i={kind:"compound",action:"compound",roles:new Map,statements:e,chainType:t};return void 0!==r&&(i.metadata=r),i}function au(e,t,r,i){const a=new Map;a.set("condition",e);const n={kind:"conditional",action:"if",roles:a,thenBranch:t};return void 0!==r&&(n.elseBranch=r),void 0!==i&&(n.metadata=i),n}function nu(e,t,r,i,a){const n={kind:"loop",action:e,loopVariant:t,roles:new Map(Object.entries(r)),body:i};return a?.loopVariable&&(n.loopVariable=a.loopVariable),a?.indexVariable&&(n.indexVariable=a.indexVariable),a?.metadata&&(n.metadata=a.metadata),n}function ou(e,t){return!t||0===t.length||(!!t.includes(e)||(!!t.includes("expression")||("property-path"===e||"expression"===e)&&t.some(e=>["selector","reference","expression"].includes(e))))}function su(e,t){const r=e.possessive?.keywords?.[t];if(r)return r;const i=e.possessive?.specialForms;if(i)for(const[e,r]of Object.entries(i))if(r===t)return e}function lu(e){return It.possessive?.specialForms?.[e]??e+"'s"}ei(),ht(),Dt(),ht();var pu={ar:{"\u0642\u064a\u0645\u0629":"value"},bn:{"\u0985\u0995\u09cd\u09b7\u09ae":"disabled","\u099a\u09c7\u0995 \u0995\u09b0\u09be":"checked","\u09a6\u09c8\u09b0\u09cd\u0998\u09cd\u09af":"length","\u09ae\u09be\u09a8":"value"},de:{wert:"value"},es:{valor:"value"},fr:{valeur:"value"},hi:{"\u0905\u0915\u094d\u0937\u092e":"disabled","\u091a\u0947\u0915":"checked","\u091b\u093f\u092a\u093e":"hidden","\u092e\u093e\u0928":"value"},id:{nilai:"value"},it:{valore:"value"},ja:{"\u5024":"value"},ko:{"\uac12":"value"},ms:{dilumpuhkan:"disabled",ditanda:"checked",nilai:"value",panjang:"length"},pl:{"warto\u015b\u0107":"value"},pt:{valor:"value"},qu:{chanin:"value"},ru:{"\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435":"value","\u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u043e":"disabled","\u043e\u0442\u043c\u0435\u0447\u0435\u043d\u043e":"checked","\u0441\u043a\u0440\u044b\u0442\u043e":"hidden"},sw:{thamani:"value"},th:{"\u0e04\u0e27\u0e32\u0e21\u0e22\u0e32\u0e27":"length","\u0e04\u0e48\u0e32":"value","\u0e1b\u0e34\u0e14\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19":"disabled","\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e41\u0e25\u0e49\u0e27":"checked"},tl:{haba:"length",halaga:"value",hindi_pinagana:"disabled",naka_tsek:"checked"},tr:{"de\u011fer":"value"},uk:{"\u0432\u0438\u043c\u043a\u043d\u0435\u043d\u043e":"disabled","\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f":"value","\u043f\u043e\u0437\u043d\u0430\u0447\u0435\u043d\u043e":"checked","\u043f\u0440\u0438\u0445\u043e\u0432\u0430\u043d\u043e":"hidden"},vi:{"\u1ea9n":"hidden","\u0111\u01b0\u1ee3c ch\u1ecdn":"checked","gi\u00e1 tr\u1ecb":"value","v\u00f4 hi\u1ec7u":"disabled"},zh:{"\u503c":"value"}},mu={ar:{"\u0643\u0640":"as"},bn:{"\u09b9\u09bf\u09b8\u09be\u09ac\u09c7":"as"},de:{als:"as"},es:{como:"as"},fr:{comme:"as"},hi:{"\u0915\u0947_\u0930\u0942\u092a_\u092e\u0947\u0902":"as"},id:{sebagai:"as"},it:{come:"as"},ja:{"\u3068\u3057\u3066":"as"},ko:{"\ub85c":"as"},ms:{sebagai:"as"},pl:{jako:"as"},pt:{como:"as"},qu:{hina:"as"},ru:{"\u043a\u0430\u043a":"as"},sw:{kuwa:"as"},tl:{bilang:"as"},tr:{olarak:"as"},uk:{"\u044f\u043a":"as"},vi:{"nh\u01b0":"as"},zh:{"\u4f5c\u4e3a":"as"}},cu={ms:new Set(["daripada"]),sw:new Set(["ya"]),vi:new Set(["c\u1ee7a"]),zh:new Set(["\u7684"]),it:new Set(["di"]),pl:new Set(["z"]),uk:new Set(["\u0437"]),th:new Set(["\u0e02\u0e2d\u0e07"]),ar:new Set(["\u0644\u0640"]),ja:new Set(["\u306e"]),ko:new Set(["\uc758"]),bn:new Set(["\u09b0"]),hi:new Set(["\u0915\u093e"]),qu:new Set(["pa"]),tr:new Set(["nin","n\u0131n","nun","n\u00fcn","in","\u0131n","un","\u00fcn"])};function du(e,t){const r=t.value.toLowerCase(),i=(t.normalized??"").toLowerCase();if("of"===r||"ng"===r||"of"===i||"source"===i)return!0;const a=e?.code?cu[e.code]:void 0;return!!a&&a.has(r)}var uu={destination:"in",source:"from"},yu={ar:new Set(["\u0639\u0646\u062f","\u0641\u064a"]),bn:new Set(["\u098f","\u09a4\u09c7"]),de:new Set(["bei"]),es:new Set(["en"]),fr:new Set(["dans","en","\u00e0"]),he:new Set(["\u05dc\u05ea\u05d5\u05da"]),hi:new Set(["\u092a\u0930","\u092e\u0947\u0902"]),id:new Set(["dalam","di","ke_dalam"]),it:new Set(["a"]),ja:new Set(["\u3067","\u306e\u4e2d","\u3078"]),ko:new Set(["\uc548\uc5d0","\uc5d0","\uc73c\ub85c"]),ms:new Set(["dalam","di","ke_dalam"]),pl:new Set(["do","przy","w"]),pt:new Set(["dentro","em"]),qu:new Set(["pi","ukupi"]),ru:new Set(["\u0432","\u0443"]),sw:new Set(["katika","ndani"]),th:new Set(["\u0e17\u0e35\u0e48","\u0e43\u0e19"]),tl:new Set(["papasok_sa","sa","sa_loob"]),tr:new Set(["de","i\u00e7inde","i\u00e7ine"]),uk:new Set(["\u0432","\u0443"]),vi:new Set(["trong","t\u1ea1i","v\u00e0o"]),zh:new Set(["\u5728","\u8fdb\u5165"])},vu=new Set(["in","into","at","within","inside"]);function fu(e,t){const r=t.value.toLowerCase(),i=e?.code?yu[e.code]:void 0;if(i?.has(r))return"in";const a=t.normalized??t.value,n=a.toLowerCase();return vu.has(n)?"in":uu[n]??a}var hu=new Set(["first","last","next","previous","random","closest"]),gu={bn:{"\u09b6\u09c7\u09b7":"last"}},ku=new Set(Object.keys(rt).map(e=>e.toLowerCase()));function zu(e,t,r,i){const a=e[t];if(!a)return null;const n=(a.normalized??a.value).toLowerCase(),o=e[t+1],s=r?.code&&"selector"===o?.kind&&o.value.startsWith("<")?gu[r.code]?.[a.value.toLowerCase()]:void 0;if(!hu.has(n)&&!hu.has(a.value.toLowerCase())&&void 0===s)return null;const l=[{text:s??a.normalized??a.value,token:a}];let p=t+1;const m=e[p];if(!m||"selector"!==m.kind)return null;l.push({text:m.value,token:m}),p++;let c=0;for(;8>c++;){const t=e[p];if(!t||"selector"!==t.kind||!t.value.startsWith("."))break;l.push({text:t.value,token:t}),p++}const d=e[p],u=e[p+1];return!d||!u||"selector"!==u.kind||"keyword"!==d.kind&&"particle"!==d.kind&&"identifier"!==d.kind||hu.has((d.normalized??d.value).toLowerCase())||ku.has((d.normalized??d.value).toLowerCase())||!0===i?.(d)&&!0!==i(e[p+2])||(l.push({text:fu(r,d),token:d}),l.push({text:u.value,token:u}),p+=2),{parts:l,consumed:p-t}}function wu(e,t){const r=mu[e];return r?r[t.toLowerCase()]??t:t}function bu(e,t){const r=pu[e];return r?r[t.toLowerCase()]??t:t}function xu(e,t){const r=[t.value,t.normalized].filter(Boolean);for(const t of r){const r=su(e,t)??su(e,t.toLowerCase());if(r)return r}}function Tu(e){return"literal"!==e.kind&&"operator"!==e.kind&&"punctuation"!==e.kind&&!/^[$:@#.*^(){}[\]]/.test(e.value)}function Su(e,t){const r=e?.references;if(!r)return!1;const i=Object.values(r).filter(e=>"string"==typeof e).map(e=>e.toLowerCase());return[t.value,t.normalized].filter(Boolean).some(e=>i.includes(e.toLowerCase()))}function ju(e,t){return!!Tu(e)&&(bu(t,e.value)!==e.value||"identifier"===e.kind)}var Eu={ar:{"\u0647\u0648":{beforePredicate:"is"}},hi:{"\u0939\u0948":{beforePredicate:"is"},"\u0928\u0939\u0940\u0902":{beforeBareIdentifier:"no"}},th:{"\u0e40\u0e1b\u0e47\u0e19":{beforeTypeName:"as",beforePredicate:"is"}},ja:{"\u7a7a":{afterCopula:"empty"}},zh:{"\u6ca1\u6709":{beforeBareIdentifier:"no"}},tl:{walang:{beforeBareIdentifier:"no"},may:{afterSubject:"exists"}},bn:{"\u0986\u099b\u09c7":{afterSubject:"exists"}},tr:{var:{afterSubject:"exists"}}},Lu=new Set(["empty","null","undefined","true","false"]),Cu=new Set(["Number","Int","Float","String","Date","Array","Object","JSON","json","FormData","HTML","Fragment","Values"]);function _u(e,t,r,i){const a=Eu[e],n=a?.[t.value]??a?.[t.value.toLowerCase()];if(n)return n.beforeTypeName&&"identifier"===i?.kind&&Cu.has(i.value)?n.beforeTypeName:n.beforePredicate&&i&&("literal"===i.kind||"keyword"===i.kind&&Lu.has((i.normalized??"").toLowerCase()))?n.beforePredicate:n.beforeBareIdentifier&&"identifier"===i?.kind&&/^[A-Za-z_]\w*$/.test(i.value)?n.beforeBareIdentifier:!n.afterSubject||"selector"!==r?.kind&&"reference"!==r?.kind?n.afterCopula&&"keyword"===r?.kind&&"is"===(r.normalized??"").toLowerCase()?n.afterCopula:void 0:n.afterSubject}function Pu(e,t){const r=t?.code??"en";let i,a="";const n=(e,t)=>{if(void 0===i)return a=e,void(i=t);const r=void 0!==i.position?.end&&void 0!==t.position?.start&&i.position.end===t.position.start&&(e.startsWith(".")||e.startsWith("!"));a+=(r?"":" ")+e,i=t},o=e=>"keyword"===e.kind?e.normalized??e.value:e.value;for(let s=0;e.length>s;s++){const l=e[s],p=t?xu(t,l):void 0,m=e[s+1];if("'"===l.value&&void 0!==i&&"s"===m?.value&&void 0!==l.position?.end&&m.position?.start===l.position.end){a+="'s",i=m;const t=e[s+2];t&&bu(r,t.value)!==t.value?(n(bu(r,t.value),t),s+=2):s+=1;continue}if(void 0!==p&&m){const i=t?.possessive?.connectors,a=!!i?.length&&i.some(e=>{const t=e.toLowerCase();return t===m.value.toLowerCase()||t===(m.normalized??"").toLowerCase()}),o=a?s+2:s+1,c=e[o];if(c&&ju(c,r)){n(lu(p),l),n(bu(r,c.value),c),s=o;continue}if(a&&c&&/^\.[a-zA-Z_]\w*$/.test(c.value)&&void 0!==m.position?.end&&void 0!==c.position?.start&&m.position.end===c.position.start){n(lu(p),l),n(bu(r,c.value.slice(1)),c),s=o;continue}if(!a&&/^\.[a-zA-Z_]\w*$/.test(m.value)&&void 0!==l.position?.end&&void 0!==m.position?.start&&l.position.end===m.position.start&&!Su(t,l)){n(lu(p),l),n(bu(r,m.value.slice(1)),m),s+=1;continue}}const c=e[s+2];if(m&&c&&"selector"===c.kind&&du(t,m)&&Tu(l)){n(bu(r,l.value),l),n("of",m),n(c.value,c),s+=2;continue}if("selector"===l.kind&&m&&c&&du(t,m)&&ju(c,r)&&bu(r,c.value)!==c.value){n(bu(r,c.value),c),n("of",m),n(l.value,l),s+=2;continue}const d=zu(e,s,t);if(d){for(const e of d.parts)n(e.text,e.token);s+=d.consumed-1;continue}const u=_u(r,l,e[s-1],m);if(void 0!==u){n(u,l);continue}const y=wu(r,l.value);y===l.value?n(o(l),l):n(y,l)}return a.trim()}Pt(),si();var Wu={en:new Set(["end"]),ja:new Set(["\u7d42\u308f\u308a","\u304a\u308f\u308a"]),ar:new Set(["\u0646\u0647\u0627\u064a\u0629","\u0627\u0646\u062a\u0647\u0649","\u0627\u0644\u0646\u0647\u0627\u064a\u0629"]),es:new Set(["fin","final","terminar"]),ko:new Set(["\ub05d","\ub9c8\uce68"]),zh:new Set(["\u7ed3\u675f","\u7ec8\u6b62","\u5b8c"]),tr:new Set(["son","biti\u015f","bitti"]),pt:new Set(["fim","final","t\u00e9rmino"]),fr:new Set(["fin","terminer","finir"]),de:new Set(["ende","fertig"]),id:new Set(["selesai","akhir","tamat"]),tl:new Set(["wakas","tapos"]),bn:new Set(["\u09b8\u09ae\u09be\u09aa\u09cd\u09a4"]),qu:new Set(["tukukuy","tukuy","puchukay"]),sw:new Set(["mwisho","maliza","tamati"])};function Au(e,t){return Wu[t]?.has(e.toLowerCase())??!1}var qu=/^[A-Za-z_][\w-]*$/,Ou=/^[A-Za-z_][\w-]*:[^\s'"`/:][^\s]*$/;function Ru(e,t){const r=e.peek(t);return!!r&&"identifier"===r.kind&&Ou.test(r.value)}function Mu(e,t){const r=e.peek(t);if(!r||"identifier"!==r.kind&&"keyword"!==r.kind||!qu.test(r.value))return!1;const i=e.peek(t+1),a=e.peek(t+2);return!!i&&":"===i.value&&!!a}function Nu(e,t=0){return Ru(e,t)||Mu(e,t)}function Iu(e){const t=e.peek();return t?"{"===t.value||"("===t.value?function(e){const t=e.peek();if(!t||"{"!==t.value&&"("!==t.value)return null;let r="",i=-1,a=0,n=0;for(;!e.isAtEnd()&&96>n++;){const t=e.advance();if(!t)break;if(i>=0&&t.position.start>i&&(r+=" ".repeat(t.position.start-i)),r+=t.value,i=t.position.end,"{"===t.value||"("===t.value)a++;else if(("}"===t.value||")"===t.value)&&(a--,0===a))return r}return null}(e):","===t.value||":"===t.value?null:(e.advance(),t.value):null}function $u(e,t){const r=e.mark(),i=[];if(void 0!==t){const a=e.peek();if(!a||":"!==a.value||!e.peek(1))return null;e.advance();const n=Iu(e);if(null===n)return e.reset(r),null;i.push(`${t}:${n}`)}else if(!Nu(e))return null;let a=0;for(;96>a++;){const t=e.peek();if(!t)break;if(","===t.value){if(0===i.length||!Nu(e,1))break;e.advance();continue}if(Ru(e,0)){i.push(e.advance().value);continue}if(!Mu(e,0))break;const a=e.advance().value;e.advance();const n=Iu(e);if(null===n)return e.reset(r),null;i.push(`${a}:${n}`)}return 0===i.length?(e.reset(r),null):`{${i.join(", ")}}`}ht();var Ku=.8,Vu=new Set(["\u0628\u062f\u0644","\u063a\u064a\u0631","\u0623\u0636\u0641","\u0623\u0632\u0644","\u0636\u0639","\u0627\u062c\u0639\u0644","\u0639\u064a\u0646","\u0632\u062f","\u0627\u0646\u0642\u0635","\u0633\u062c\u0644","\u0623\u0638\u0647\u0631","\u0623\u062e\u0641","\u0634\u063a\u0644","\u0623\u0631\u0633\u0644","\u0631\u0643\u0632","\u0634\u0648\u0634","\u062a\u0648\u0642\u0641","\u0627\u0646\u0633\u062e","\u0627\u062d\u0630\u0641","\u0627\u0635\u0646\u0639","\u0627\u0646\u062a\u0638\u0631","\u0627\u0646\u062a\u0642\u0627\u0644","\u0623\u0648"]),Du={patient:["\u0639\u0644\u0649"],destination:["\u0625\u0644\u0649","\u0627\u0644\u0649"],source:["\u0645\u0646"],agent:["\u0645\u0646"],manner:["\u0628"],style:["\u0628"],goal:["\u0625\u0644\u0649","\u0627\u0644\u0649"],method:["\u0628"]},Bu=new class{calculate(e){return this.calculateWithBreakdown(e).final}calculateWithBreakdown(e){const t=this.scoreRoleCoverage(e),r=this.scoreStemPenalty(e),i=this.scoreLanguageBoost(e),a=this.scoreLanguageAdjustment(e);let n=t;return n=Math.max(.5,n+r),n=Math.min(1,n+i),n=Math.max(0,Math.min(1,n+a)),{roleCoverage:t,stemPenalty:r,languageBoost:i,languageAdjustment:a,final:n}}scoreRoleCoverage(e){const{pattern:t,captured:r}=e;let i=0,a=0;const n=e=>void 0!==t.extraction?.[e]?.default,o="on"===t.command?t.extraction?.action?.value:void 0,s=rt[o??t.command]?.roles,l=e=>void 0!==s?.find(t=>t.role===e)?.valueShape;for(const e of t.template.tokens)if("role"===e.type)r.has(e.role)?(a+=1,i+=1):l(e.role)||(a+=1);else if("group"===e.type)for(const t of e.tokens)"role"===t.type&&(r.has(t.role)?(a+=Ku,i+=Ku):l(t.role)||(a+=Ku,n(t.role)&&(i+=.48)));return a>0?i/a:1}scoreStemPenalty(e){const{stemMatchCount:t,totalKeywordMatches:r}=e;return t>0&&r>0?-t/r*.15:0}scoreLanguageBoost(e){const{pattern:t}=e;if("ar"!==t.language)return 0;const r=t.template.tokens[0];return r&&"literal"===r.type&&(Vu.has(r.value)||r.alternatives?.some(e=>Vu.has(e)))?.15:0}scoreLanguageAdjustment(e){const{pattern:t,captured:r}=e;if("ar"!==t.language)return 0;let i=0;for(const[e,t]of r.entries()){const r=Du[e];if(!r||0===r.length)continue;const a="metadata"in t?t.metadata:void 0;a&&"string"==typeof a.prepositionValue&&(r.includes(a.prepositionValue)?i+=.1:i-=.1)}return Math.max(-.1,Math.min(.1,i))}},Fu=new Set(Object.values(rt).filter(e=>!0===e.bareKeyword).map(e=>e.action));var Hu=class t{constructor(e){this.matchCache=new Map,this.roleStarts=new Map,this.stemMatchCount=0,this.totalKeywordMatches=0,this.confidenceModel=e??Bu}matchPattern(e,t){const r=e.mark(),i=new Map;this.currentProfile=St(t.language),this.currentPatternCommand=t.command,this.stemMatchCount=0,this.totalKeywordMatches=0,this.roleStarts=new Map;if(!this.matchTokenSequence(e,t.template.tokens,i))return e.reset(r),null;const a=this.confidenceModel.calculate({pattern:t,captured:i,stemMatchCount:this.stemMatchCount,totalKeywordMatches:this.totalKeywordMatches});return this.applyExtractionRules(t,i),{pattern:t,captured:i,consumedTokens:e.position()-r.position,confidence:a,roleStarts:this.roleStarts}}matchBest(e,t){this.matchCache.clear();const r=[],i=e.position();for(const a of t){const t=e.mark(),n=`${i}:${a.id}`;let o;this.matchCache.has(n)?o=this.matchCache.get(n):(o=this.matchPattern(e,a),this.matchCache.set(n,o)),o&&r.push(o),e.reset(t)}if(0===r.length)return null;r.sort((e,t)=>{const r=t.pattern.priority-e.pattern.priority;return 0!==r?r:t.confidence-e.confidence});const a=r[0];return this.matchPattern(e,a.pattern),a}matchTokenSequence(e,t,r,i){const a=t[0],n="literal"===a?.type&&("and"===a.value||"then"===a.value||a.alternatives?.includes("and")||a.alternatives?.includes("then"));if("ar"===this.currentProfile?.code&&!n)for(;"conjunction"===e.peek()?.kind;)e.advance();let o=0;for(let a=0;t.length>a;a++){const n=t[a];if(o>0&&"literal"===n.type&&this.tryConsumeEventSourceClause(e,r,n),this.shouldTrySkippingVerbSlot(n,e,t[a+1]??i)){const n=e.mark(),o=new Map(r);if(this.matchTokenSequence(e,t.slice(a+1),o,i)&&this.atClauseEnd(e)){r.clear();for(const[e,t]of o)r.set(e,t);return!0}e.reset(n)}const s=this.matchPatternToken(e,n,r,t[a+1]??i);if(o="role"===n.type&&"event"===n.role?2:Math.max(0,o-1),!s){if(this.isOptional(n))continue;return!1}}return!0}tryConsumeEventSourceClause(e,t,r){if(t.has("source"))return;const i=e.peek(),a=e.peek(1);if(!i||!a)return;if(this.patternTokenWouldMatch(r,i))return;const n=this.currentProfile?.roleMarkers?.source,o=e=>{if("particle"!==e.kind&&"keyword"!==e.kind)return!1;if("source"===(e.normalized??"").toLowerCase())return!0;if(!n)return!1;const t=e.value.toLowerCase();return n.primary?.toLowerCase()===t||!!n.alternatives?.some(e=>e.toLowerCase()===t)},s=n?.position;if("after"!==s&&o(i)&&"selector"===a.kind){e.advance();const r=this.tokenToSemanticValue(e.advance());return void(r&&t.set("source",r))}if("after"===s&&"selector"===i.kind&&o(a)){const r=this.tokenToSemanticValue(i);e.advance(),e.advance(),r&&t.set("source",r)}}matchPatternToken(e,t,r,i){switch(t.type){case"literal":return this.matchLiteralToken(e,t);case"role":{const a=e.position(),n=this.matchRoleToken(e,t,r,i);return n&&r.has(t.role)&&this.roleStarts.set(t.role,a),n}case"group":return this.matchGroupToken(e,t,r,i);default:return!1}}matchLiteralToken(e,t){const r=e.peek();if(!r)return!1;const i=this.getMatchType(r,t.value);if("none"!==i)return this.totalKeywordMatches++,"stem"===i&&this.stemMatchCount++,e.advance(),!0;if(t.alternatives)for(const i of t.alternatives){const t=this.getMatchType(r,i);if("none"!==t)return this.totalKeywordMatches++,"stem"===t&&this.stemMatchCount++,e.advance(),!0}for(const r of[t.value,...t.alternatives??[]])for(const t of["-","_"])if(r.includes(t)&&this.tryMatchShatteredCompound(e,r,t))return this.totalKeywordMatches++,!0;return!1}tryFoldHyphenActionKeyword(e){const t=this.currentProfile;if(!t)return null;const r=e.mark(),i=[];for(;;){const t=e.peek();if(!t||"identifier"!==t.kind&&"keyword"!==t.kind)break;i.push(t.value),e.advance();const r=e.peek();if(!r||"-"!==r.value)break;e.advance(),i.push("-")}if(3>i.length||"-"===i[i.length-1])return e.reset(r),null;const a=i.join("").toLowerCase();for(const[e,r]of Object.entries(t.keywords))if(r.primary.toLowerCase()===a||r.alternatives?.some(e=>e.toLowerCase()===a))return Yd(e);return e.reset(r),null}tryMatchShatteredCompound(e,t,r){const i=t.split(r);if(2>i.length||i.some(e=>0===e.length))return!1;const a=e.mark();for(let t=0;i.length>t;t++){if(t>0){const t=e.peek();if(!t||t.value!==r)return e.reset(a),!1;e.advance()}const n=e.peek();if(!n||"identifier"!==n.kind&&"keyword"!==n.kind&&"particle"!==n.kind||n.value.toLowerCase()!==i[t].toLowerCase())return e.reset(a),!1;e.advance()}return!0}matchRoleToken(e,t,r,i){const a=e.position(),n=r.get(t.role);return!!this.matchRoleTokenCore(e,t,r,i)&&(this.absorbTrailingConversion(e,t,r,i,a),this.absorbTrailingConditionOperand(e,t,r,i,a),this.stampCaptureSpan(e,t.role,r,a,n),!0)}stampCaptureSpan(e,t,r,i,a){const n=r.get(t);if(!n||n===a||n.position)return;if(e.position()<=i)return;const o=e.tokens[i],s=e.tokens[e.position()-1];o&&s&&r.set(t,function(e,t){return t?{...e,position:t}:e}(n,{start:o.position.start,end:s.position.end}))}absorbTrailingConditionOperand(e,r,i,a,n){if("condition"!==r.role)return;if(!i.has("condition"))return;if(e.position()<=n)return;if(void 0!==a||"on"!==this.currentPatternCommand)return;const o=e.peek();if(!o)return;const s=t.CONDITION_OPERATOR_WORDS;if(!s.has((o.normalized??"").toLowerCase())&&!s.has(o.value.toLowerCase()))return;if(this.patternTokenWouldMatch(a,o))return;e.advance();const l=e.peek();!l||"selector"!==l.kind&&"identifier"!==l.kind&&"literal"!==l.kind||ku.has((l.normalized??l.value).toLowerCase())||e.advance();const p=Pu(e.tokens.slice(n,e.position()),this.currentProfile);i.set("condition",{type:"expression",raw:p,value:p})}conversionRunLength(e){const t=e.peek();if(!t)return 0;if("as"!==(t.normalized??t.value).toLowerCase()&&"as"!==t.value.toLowerCase())return 0;const r=e.peek(1);return r&&Cu.has(r.value)?2:0}absorbTrailingConversion(e,t,r,i,a){if("event"===t.role||"action"===t.role)return;if(!r.has(t.role))return;if(e.position()<=a)return;if(2!==this.conversionRunLength(e))return;if(this.patternTokenWouldMatch(i,e.peek()))return;e.advance(),e.advance();const n=Pu(e.tokens.slice(a,e.position()),this.currentProfile);r.set(t.role,{type:"expression",raw:n,value:n})}matchRoleTokenCore(e,r,i,a){this.skipNoiseWords(e);const n=e.peek();if(!n)return r.optional||!1;if("action"===r.role&&this.currentProfile&&"-"===e.peek(1)?.value){const t=this.tryFoldHyphenActionKeyword(e);if(t)return i.set(r.role,t),!0}if("event"===r.role&&"on"===this.currentPatternCommand){if(!t.tokenLooksLikeEvent(n))return r.optional||!1;const e=(n.normalized??n.value).toLowerCase();if(t.POSITIONAL_OR_SCOPE_KEYWORDS.has(e))return r.optional||!1;if(this.currentProfile&&void 0!==(su(this.currentProfile,n.value)??su(this.currentProfile,e)))return r.optional||!1;if(n.value.includes("?."))return r.optional||!1}if("event"===r.role){const e=(n.normalized??n.value).toLowerCase();if(t.STRUCTURAL_NEVER_EVENT.has(e))return r.optional||!1}if("keyword"===n.kind){const t=(n.normalized??n.value).toLowerCase();if("then"===t||"end"===t&&"selector"!==e.peek(1)?.kind)return r.optional||!1;if(Au(n.value,this.currentProfile?.code??""))return r.optional||!1;if("quantity"===r.role||"event"===r.role&&"repeat"===this.currentPatternCommand){if((n.normalized??n.value).toLowerCase()in rt)return r.optional||!1}}if("duration"===r.role){const e=(n.normalized??n.value).toLowerCase();if(t.POSITIONAL_OR_SCOPE_KEYWORDS.has(e))return r.optional||!1}if(r.optional&&"event"!==r.role&&"action"!==r.role&&"keyword"!==r.valueShape&&"keyword"===n.kind){if((n.normalized??n.value).toLowerCase()in rt&&(void 0===a||this.patternTokenWouldMatch(a,n)))return!0}const o=this.tryMatchPositionalExpression(e,a);if(o)return r.expectedTypes&&r.expectedTypes.length>0&&!ou(o.type,r.expectedTypes)?r.optional||!1:(i.set(r.role,o),!0);const s=this.tryMatchCaretScopeExpression(e);if(s)return r.expectedTypes&&r.expectedTypes.length>0&&!ou(s.type,r.expectedTypes)?r.optional||!1:(i.set(r.role,s),!0);if("event"!==r.role&&(!r.expectedTypes||r.expectedTypes.includes("expression"))){const t=this.tryMatchBeepPrefixExpression(e);if(t)return i.set(r.role,t),!0;const a=this.tryMatchHyphenatedWord(e);if(a)return i.set(r.role,a),!0;const n=this.tryMatchOperatorRunExpression(e);if(n)return i.set(r.role,n),!0}if("pick"===this.currentPatternCommand&&"patient"===r.role&&(!r.expectedTypes||r.expectedTypes.includes("expression"))){const t=this.tryMatchPickRangeExpression(e);if(t)return i.set(r.role,t),!0}if(r.expectedTypes?.includes("property-path")){const t=this.tryMatchOfPossessiveExpression(e);if(t)return i.set(r.role,t),!0;const a=this.tryMatchPostNominalPossessiveExpression(e);if(a)return i.set(r.role,a),!0}const l=this.tryMatchPossessiveExpression(e);if(l)return r.expectedTypes&&r.expectedTypes.length>0&&!r.expectedTypes.includes(l.type)&&!r.expectedTypes.includes("expression")?r.optional||!1:(i.set(r.role,l),!0);const p=this.tryMatchMethodCallExpression(e);if(p)return r.expectedTypes&&r.expectedTypes.length>0&&!r.expectedTypes.includes(p.type)&&!r.expectedTypes.includes("expression")?r.optional||!1:(i.set(r.role,p),!0);const m="event"===r.role&&"on"===this.currentPatternCommand||t.DECLARATION_COMMANDS.has(this.currentPatternCommand??"")?null:this.tryMatchBareCallExpression(e);if(m)return r.expectedTypes&&r.expectedTypes.length>0&&!r.expectedTypes.includes(m.type)&&!r.expectedTypes.includes("expression")?r.optional||!1:(i.set(r.role,m),!0);const c=this.tryMatchPossessiveSelectorExpression(e);if(c)return r.expectedTypes&&r.expectedTypes.length>0&&!ou(c.type,r.expectedTypes)?r.optional||!1:(i.set(r.role,c),!0);const d=this.tryMatchPropertyAccessExpression(e,"condition"!==r.role);if(d)return r.expectedTypes&&r.expectedTypes.length>0&&!r.expectedTypes.includes(d.type)&&!r.expectedTypes.includes("expression")?r.optional||!1:(i.set(r.role,d),!0);const u=this.tryMatchSelectorPropertyExpression(e);if(u)return r.expectedTypes&&r.expectedTypes.length>0&&!ou(u.type,r.expectedTypes)?r.optional||!1:(i.set(r.role,u),!0);if("identifier"===n.kind&&"{"===n.value){const t=r.expectedTypes,a=1===t?.length&&"expression"===t[0]?this.tryMatchBraceRunExpression(e):!t?.length||t.includes("literal")?this.tryMatchBraceRunLiteral(e):null;if(a)return i.set(r.role,a),!0}if("style"===r.role&&1===r.expectedTypes?.length&&"expression"===r.expectedTypes[0]){const t=$u(e);if(t)return i.set(r.role,{type:"expression",raw:t}),!0}const y=this.tokenToSemanticValue(n);if(!y)return r.optional||!1;if(r.expectedTypes&&r.expectedTypes.length>0&&!r.expectedTypes.includes(y.type)){const e="selector"===y.type&&(y.value+"").startsWith("@"),t=r.expectedTypes.some(e=>"expression"===e||"reference"===e);if(!e||!t)return r.optional||!1}if(i.set(r.role,"keyword"===r.valueShape&&"expression"===y.type?Yd((y.raw??"")+""):y),e.advance(),"event"===r.role){const t=e.peek();t&&"selector"===t.kind&&t.value.startsWith("[")&&"value"in y&&(i.set(r.role,Yd(`${y.value+""}${t.value}`)),e.advance());const n=e.peek();if(n&&("particle"===n.kind||"keyword"===n.kind)&&"source"===(n.normalized??"").toLowerCase()&&!this.patternTokenWouldMatch(a,n)){const t=e.peek(1);if(t&&("selector"===t.kind||"identifier"===t.kind)){e.advance();const t=this.tokenToSemanticValue(e.advance());t&&!i.has("source")&&i.set("source",t)}}}return!0}shouldTrySkippingVerbSlot(e,t,r){const i="group"===e.type&&e.optional?e.tokens.every(e=>"role"===e.type)?e.tokens[0]:void 0:e;if(!i||"role"!==i.type||!i.optional)return!1;if("event"===i.role||"action"===i.role)return!1;if("keyword"===i.valueShape)return!1;const a=t.peek();if(!a||"keyword"!==a.kind)return!1;if(void 0===r)return!1;const n=this.patternTokenWouldMatch(r,a);return(a.normalized??a.value).toLowerCase()in rt?!n:n}atClauseEnd(e){const t=e.peek();if(!t)return!0;if("conjunction"===t.kind)return!0;if("keyword"!==t.kind)return!1;const r=(t.normalized??t.value).toLowerCase();return"then"===r||"end"===r||Au(t.value,this.currentProfile?.code??"")}patternTokenWouldMatch(e,t){return!!e&&("literal"===e.type?"none"!==this.getMatchType(t,e.value)||!!e.alternatives?.some(e=>"none"!==this.getMatchType(t,e)):"group"===e.type&&this.patternTokenWouldMatch(e.tokens?.[0],t))}tryMatchPositionalExpression(e,t){const r=zu(e.tokens,e.position(),this.currentProfile,e=>void 0!==e&&this.patternTokenWouldMatch(t,e));if(!r)return null;for(let t=0;r.consumed>t;t++)e.advance();return{type:"expression",raw:r.parts.map(e=>e.text).join(" ")}}tryMatchCaretScopeExpression(e){const t=e.peek();if(!t||"identifier"!==t.kind||!t.value.startsWith("^"))return null;const r=e.peek(1),i=e.peek(2),a=(r?.normalized??"").toLowerCase(),n=!!r&&("on"===r.value.toLowerCase()||"destination"===a||"on"===a);return r&&i&&"selector"===i.kind&&n?(e.advance(),e.advance(),e.advance(),{type:"expression",raw:`${t.value} on ${i.value}`}):null}isOfPossessiveMarker(e){return du(this.currentProfile,e)}static isBareWordToken(e){return!!e&&/^[A-Za-z_][A-Za-z0-9_]*$/.test(e.value)}static tokensAdjacent(e,t){return void 0!==e?.position?.end&&void 0!==t?.position?.start&&e.position.end===t.position.start}tryMatchBeepPrefixExpression(e){const r=e.peek(),i=e.peek(1);if(!r||!i||"!"!==i.value)return null;if("beep"!==(r.normalized??r.value).toLowerCase())return null;if(!(void 0!==r.position?.end&&void 0!==i.position?.start&&r.position.end===i.position.start))return null;const a=e.mark(),n=e.position();if(e.advance(),e.advance(),!this.tryConsumeRunOperand(e))return e.reset(a),null;for(;;){const r=e.peek();if(!r||!t.RUN_OPERATORS.has(r.value))break;const i=e.mark();if(e.advance(),!this.tryConsumeRunOperand(e)){e.reset(i);break}}const o=Pu(e.tokens.slice(n,e.position()),this.currentProfile);return{type:"expression",raw:o,value:o}}tryMatchHyphenatedWord(e){const r=e.peek();if(!t.isBareWordToken(r))return null;let i=1;const a=[r.value];for(;;){const r=e.peek(i),n=e.peek(i+1);if(!(r&&"-"===r.value&&t.isBareWordToken(n)&&t.tokensAdjacent(e.peek(i-1),r)&&t.tokensAdjacent(r,n)))break;a.push(n.value),i+=2}if(2>a.length)return null;for(let t=0;i>t;t++)e.advance();return Yd(a.join("-"),"string")}tryMatchOperatorRunExpression(e){const r=e.mark(),i=e.position();if(!this.tryConsumeRunOperand(e))return e.reset(r),null;let a=1;for(;;){const r=e.peek();if(!r||!t.RUN_OPERATORS.has(r.value))break;const i=e.mark();if(e.advance(),!this.tryConsumeRunOperand(e)){e.reset(i);break}a++}if(2>a)return e.reset(r),null;const n=Pu(e.tokens.slice(i,e.position()),this.currentProfile);return{type:"expression",raw:n,value:n}}static rangeSeparatorFor(e){const[r]=t.PICK_RANGE_SEPARATORS_BY_LANG[e]??[];return r}isPickRangeSeparator(e){const r=(e.normalized??e.value).toLowerCase();if(t.PICK_RANGE_SEPARATORS.has(r))return!0;const i=this.currentProfile?.code;return!!i&&(t.PICK_RANGE_SEPARATORS_BY_LANG[i]?.has(e.value.toLowerCase())??!1)}tryMatchPickRangeExpression(e){const r=e.mark(),i=e.position();if(!this.tryConsumePickRangeOperand(e))return e.reset(r),null;const a=e.peek();if(!a||!this.isPickRangeSeparator(a))return e.reset(r),null;if(e.advance(),!this.tryConsumePickRangeOperand(e))return e.reset(r),null;const n=e.peek();n&&t.PICK_RANGE_MODES.has((n.normalized??n.value).toLowerCase())&&e.advance();const o=e.tokens.slice(i,e.position()),[s,,l,p]=o,m=e=>"keyword"===e.kind?e.normalized??e.value:e.value;let c=`${m(s)} to ${m(l)}`;return p&&(c+=" "+(p.normalized??p.value).toLowerCase()),{type:"expression",raw:c,value:c}}tryConsumePickRangeOperand(e){const t=e.peek();if(!t)return!1;const r=(t.normalized??t.value).toLowerCase();if(this.isPickRangeSeparator(t))return!1;return!("literal"!==t.kind&&"identifier"!==t.kind&&("keyword"!==t.kind||"start"!==r&&"end"!==r))&&(e.advance(),!0)}tryConsumeRunOperand(e){const r=e.peek();if(!r)return!1;if("("===r.value){const t=e.mark();let r=0;for(;!e.isAtEnd();){const t=e.advance();if("("===t.value)r++;else if(")"===t.value&&(r--,0===r))return!0}return e.reset(t),!1}return!!this.tryMatchPossessiveExpression(e)||!("literal"!==r.kind&&"identifier"!==r.kind&&"selector"!==r.kind&&"keyword"!==r.kind||t.RUN_OPERATORS.has(r.value)||")"===r.value)&&(e.advance(),!0)}isPossessorToken(e){if(!this.currentProfile)return!1;for(const t of[e.value,e.normalized].filter(Boolean))if(su(this.currentProfile,t)??su(this.currentProfile,t.toLowerCase()))return!0;return!1}isBareWordPropertyHead(e){return"identifier"===e.kind&&(!/^[$:@#.*]/.test(e.value)&&(!this.isStructuralKeyword(e.value)&&((!e.normalized||!this.isStructuralKeyword(e.normalized))&&((!e.normalized||!this.isRoleMarkerConcept(e.normalized))&&!this.isPossessorToken(e)))))}toEnglishProperty(e){return this.currentProfile?bu(this.currentProfile.code,e):e}tryMatchOfPossessiveExpression(e){const t=e.peek();if(!t)return null;if("selector"!==t.kind&&!this.isBareWordPropertyHead(t))return null;const r=e.mark();e.advance();const i=e.peek();if(!i||!this.isOfPossessiveMarker(i))return e.reset(r),null;e.advance();const a=e.peek();return!a||"selector"!==a.kind||((n=a.value).startsWith("*")||n.startsWith("@"))?(e.reset(r),null):(e.advance(),Jd(Zd(a.value),this.toEnglishProperty(t.value),"possessive"));var n}tryMatchPossessiveExpression(e){const r=e.peek();if(!r)return null;if(!this.currentProfile)return null;const i=[r.value,r.normalized].filter(Boolean);let a;for(const e of i)if(a=su(this.currentProfile,e)??su(this.currentProfile,e.toLowerCase()),a)break;if(!a)return null;const n=e.mark();e.advance();const o=this.currentProfile.possessive?.connectors;if(o&&o.length>0){const t=e.peek();if(t){const r=t.value.toLowerCase(),i=(t.normalized??"").toLowerCase();o.some(e=>e.toLowerCase()===r||e.toLowerCase()===i)&&e.advance()}}const s=e.peek();if(!s)return e.reset(n),null;if(function(e,t){const r=Jr.find(t=>t.lang===e);if(!r)return!1;const i=t.toLowerCase();return i===r.at.toLowerCase()||i===r.of.toLowerCase()||i===r.end.toLowerCase()}(this.currentProfile.code,s.value))return e.reset(n),null;if("identifier"===s.kind||"keyword"===s.kind&&!this.isStructuralKeyword(s.value)&&(!s.normalized||!this.isStructuralKeyword(s.normalized))&&(!s.normalized||!this.isRoleMarkerConcept(s.normalized))&&(!s.normalized||!t.COMMAND_ACTION_KEYWORDS.has(s.normalized.toLowerCase()))||"selector"===s.kind&&s.value.startsWith("*")||"selector"===s.kind&&s.value.startsWith("@")||"selector"===s.kind&&s.value.startsWith(".")&&/^\.[a-zA-Z_]\w*/.test(s.value)){e.advance();let r=s.value;"selector"===s.kind&&r.startsWith(".")&&/^\.[a-zA-Z_]\w*/.test(r)&&(r=r.substring(1)),r=this.toEnglishProperty(r);let i=r;for(;;){const t=e.peek();if("selector"!==t?.kind||!t.value.startsWith(".")||!/^\.[a-zA-Z_]\w*/.test(t.value)){if("?"===t?.value){const t=e.peek(1);if("selector"===t?.kind&&t.value.startsWith(".")&&/^\.[a-zA-Z_]\w*/.test(t.value)){i+="?"+t.value,e.advance(),e.advance();continue}}break}i+=t.value,e.advance()}const n=e.peek();if(n&&n.value.startsWith("(")){let r="",a=0,n=0;for(;!e.isAtEnd()&&n++<t.MAX_METHOD_ARGS+2;){const t=e.peek();if(!t)break;r+=t.value,e.advance();for(const e of t.value)"("===e?a++:")"===e&&a--;if(0>=a)break}i+=r}return Jd(Qd(a),i,"possessive")}return e.reset(n),null}tryMatchPostNominalPossessiveExpression(e){if(!this.currentProfile)return null;if("after-object"!==this.currentProfile.possessive?.markerPosition)return null;const t=e.peek();if(!t)return null;const r="selector"===t.kind&&t.value.startsWith(".")&&/^\.[a-zA-Z_]\w*/.test(t.value);if(!("identifier"===t.kind&&!this.isStructuralKeyword(t.value)&&!(t.normalized&&this.isStructuralKeyword(t.normalized))&&!(t.normalized&&this.isRoleMarkerConcept(t.normalized))||"selector"===t.kind&&(t.value.startsWith("*")||t.value.startsWith("@"))||r)||this.isPossessorToken(t))return null;const i=e.mark();let a=t.value;r&&(a=a.substring(1)),e.advance(),a=this.toEnglishProperty(a);let n=a;for(;"selector"===e.peek()?.kind&&e.peek().value.startsWith(".")&&/^\.[a-zA-Z_]\w*/.test(e.peek().value);)n+=e.peek().value,e.advance();const o=e.peek();if(!o)return e.reset(i),null;let s;for(const e of[o.value,o.normalized].filter(Boolean))if(s=su(this.currentProfile,e)??su(this.currentProfile,e.toLowerCase()),s)break;return s?(e.advance(),Jd(Qd(s),n,"possessive")):(e.reset(i),null)}isStructuralKeyword(e){return new Set(["into","in","to","from","at","by","with","without","before","after","of","as","on","then","end","else","if","repeat","while","for","toggle","add","remove","put","set","show","hide","increment","decrement","send","trigger","call"]).has(e.toLowerCase())}isRoleMarkerConcept(e){return Gr.has(e.toLowerCase())}static tokenLooksLikeEvent(e){if("selector"===e.kind||"url"===e.kind)return!1;if("literal"===e.kind)return!1;const t=e.value;if(/[/#@*]/.test(t))return!1;if(t.startsWith('"')||t.startsWith("'")||t.startsWith("`"))return!1;const r=e.normalized?.toLowerCase();return(!r||!Fu.has(r))&&("me"!==r&&"it"!==r&&"you"!==r)}tryMatchBraceRunLiteral(e){const r=e.peek();if(!r||"identifier"!==r.kind||"{"!==r.value)return null;const i=e.mark();e.advance();const a=["{"];let n=1,o=0;for(;!e.isAtEnd()&&o++<t.MAX_BRACE_RUN_TOKENS;){const t=e.advance();if(!t)break;if("{"===t.value)n++;else if("}"===t.value&&(n--,0===n))return a.push("}"),Yd(a.join(" "));a.push(t.value)}return e.reset(i),null}tryMatchBraceRunExpression(e){const r=e.peek();if(!r||"identifier"!==r.kind||"{"!==r.value)return null;const i=e.mark();let a="",n=-1,o=0,s=0;for(;!e.isAtEnd()&&s++<t.MAX_BRACE_RUN_TOKENS;){const t=e.advance();if(!t)break;if(n>=0&&t.position.start>n&&(a+=" ".repeat(t.position.start-n)),a+=t.value,n=t.position.end,"{"===t.value)o++;else if("}"===t.value&&(o--,0===o))return{type:"expression",raw:a}}return e.reset(i),null}tryMatchBareCallExpression(e){const r=e.peek();if(!r||"identifier"!==r.kind)return null;if(!/^[A-Za-z_][\w$]*$/.test(r.value))return null;const i=e.peek(1);if(!i||"("!==i.value)return null;const a=e.mark();e.advance();const n=e.advance();let o="",s=n.position?.end,l=!1,p=0;for(;!e.isAtEnd()&&p++<t.MAX_METHOD_ARGS+2;){const t=e.peek();if(!t)break;if(")"===t.value){e.advance(),l=!0;break}o+=(""===o||void 0!==s&&t.position?.start===s?"":" ")+t.value,s=t.position?.end,e.advance()}return l?{type:"expression",raw:`${r.value}(${o})`}:(e.reset(a),null)}tryMatchMethodCallExpression(e){const r=e.peek();if(!r||"selector"!==r.kind)return null;const i=e.mark();e.advance();const a=e.peek();if(!a||"operator"!==a.kind||"."!==a.value)return e.reset(i),null;e.advance();const n=e.peek();if(!n||"identifier"!==n.kind)return e.reset(i),null;e.advance();const o=e.peek();if(!o||"punctuation"!==o.kind||"("!==o.value)return e.reset(i),null;e.advance();const s=[];for(;!e.isAtEnd()&&t.MAX_METHOD_ARGS>s.length;){const t=e.peek();if(!t)break;if("punctuation"===t.kind&&")"===t.value){e.advance();break}"punctuation"!==t.kind||","!==t.value?(s.push(t.value),e.advance()):e.advance()}return{type:"expression",raw:`${r.value}.${n.value}(${s.join(", ")})`}}tryMatchPropertyAccessExpression(e,r=!0){const i=e.peek();if(!i)return null;if("identifier"!==i.kind&&"keyword"!==i.kind)return null;const a=e.mark();e.advance();const n=i.value.toLowerCase(),o=e.peek();if(("identifier"===i.kind||t.PROPERTY_ACCESS_BASES.has(n))&&o&&"selector"===o.kind&&/^\.[a-zA-Z_]/.test(o.value)){let a=i.value;const o=[];let s=0;for(;t.MAX_PROPERTY_DEPTH>s;){const t=e.peek();if(!t||"selector"!==t.kind||!/^\.[a-zA-Z_]/.test(t.value))break;a+="."+t.value.slice(1),o.push(t.value.slice(1)),e.advance(),s++}const l=e.peek(),p=!!l&&l.value.startsWith("(");if(r&&!p&&o.length>0&&Xd(n))return Jd(Qd(n),o.join("."),"dot");if(p){const t=e.mark(),r=[];let i=0,n=!1;for(;!e.isAtEnd();){const t=e.peek();if(!t)break;if("("===t.value)i++;else if(")"===t.value){if(r.push(t.value),e.advance(),i--,0===i&&(n=!0),n)break;continue}r.push(t.value),e.advance()}n?a+=r.join(""):e.reset(t)}return{type:"expression",raw:a}}const s=e.peek();if(!s||"operator"!==s.kind||"."!==s.value)return e.reset(a),null;e.advance();const l=e.peek();if(!l||"identifier"!==l.kind)return e.reset(a),null;e.advance();let p=`${i.value}.${l.value}`,m=1;for(;!e.isAtEnd()&&t.MAX_PROPERTY_DEPTH>m;){const t=e.peek();if(!t||"operator"!==t.kind||"."!==t.value)break;e.advance();const r=e.peek();if(!r||"identifier"!==r.kind)break;e.advance(),p+="."+r.value,m++}const c=e.peek();if(c&&"punctuation"===c.kind&&"("===c.value){e.advance();const r=[];let i=0;for(;!e.isAtEnd()&&t.MAX_METHOD_ARGS>r.length;){const t=e.peek();if(!t)break;if("punctuation"===t.kind&&")"===t.value){if(0===i){e.advance();break}i--}"punctuation"===t.kind&&"("===t.value&&i++,"punctuation"!==t.kind||","!==t.value?(r.push(t.value),e.advance()):e.advance()}return{type:"expression",raw:`${p}(${r.join(", ")})`}}const d=i.value.toLowerCase();if(r&&Xd(d)){const e=p.split(".").slice(1).join(".");return Jd(Qd(d),e,"dot")}return{type:"expression",raw:p}}tryMatchPossessiveSelectorExpression(e){const t=e.peek();if(!t||"selector"!==t.kind)return null;const r=e.mark();e.advance();const i=e.peek(),a=this.currentProfile?.possessive?.marker?.replace(/^-/,""),n=!!i&&"punctuation"===i.kind&&"'s"===i.value,o=!!i&&"'"===i.value&&"s"===(e.peek(1)?.value??"").toLowerCase(),s=(()=>{if(!this.currentPatternCommand)return!1;if("source"!==(i?.normalized??"").toLowerCase())return!1;const e=rt[this.currentPatternCommand];return!!e&&e.roles.some(e=>"source"===e.role)})();if(!n&&!!(!i||!a||"'s"===a||i.value!==a||"particle"!==i.kind&&"punctuation"!==i.kind&&"identifier"!==i.kind||s)&&!o)return e.reset(r),null;e.advance(),o&&e.advance();const l=e.peek();if(!l)return e.reset(r),null;const p="selector"===l.kind&&l.value.startsWith("*"),m="keyword"===l.kind&&!!this.currentProfile&&(c=this.currentProfile.code,d=l.value,void 0!==pu[c]?.[d.toLowerCase()]);var c,d;return"identifier"===l.kind||p||m||(n||o)&&("selector"===l.kind||"keyword"===l.kind)?(e.advance(),Jd(Zd(t.value),this.toEnglishProperty(l.value),"possessive")):(e.reset(r),null)}tryMatchSelectorPropertyExpression(e){const t=e.peek();if(!t||"selector"!==t.kind)return null;if(!t.value.startsWith("#"))return null;const r=e.mark();e.advance();const i=e.peek();if(!i||"selector"!==i.kind)return e.reset(r),null;if(!i.value.startsWith("."))return e.reset(r),null;e.peek(1);e.advance();const a=i.value.slice(1);return Jd(Zd(t.value),a,"dot")}matchGroupToken(e,t,r,i){const a=e.mark(),n=new Map(r);let o=this.matchTokenSequence(e,t.tokens,r,i);if(o){const i=[];for(const e of t.tokens)if("group"===e.type&&e.renderRequired)for(const t of e.tokens)"literal"===t.type&&i.push(t.value,...t.alternatives??[]);if(i.length>0){if([...r.keys()].some(e=>!n.has(e))){e.tokens.slice(a.position,e.position()).some(e=>i.some(t=>"none"!==this.getMatchType(e,t)))||(o=!1)}}}if(!o){e.reset(a);for(const e of r.keys())n.has(e)||r.delete(e);for(const[e,t]of n)r.get(e)!==t&&r.set(e,t);return t.optional||!1}return!0}getMatchType(t,r){if(t.value===r)return"exact";if(t.normalized===r)return"normalized";if(t.stem===r&&void 0!==t.stemConfidence&&t.stemConfidence>=.7)return"stem";if("keyword"===t.kind&&t.value.toLowerCase()===r.toLowerCase())return"case-insensitive";if("keyword"===t.kind){const i=e(t.value).toLowerCase();if(i&&i===e(r).toLowerCase())return"case-insensitive"}return"none"}tokenToSemanticValue(e){switch(e.kind){case"selector":return Zd(e.value);case"literal":return this.parseLiteralValue(e.value);case"keyword":const t=(e.normalized||e.value).toLowerCase();return Xd(t)?Qd(t):Yd(e.normalized||e.value);case"identifier":if(e.value.startsWith("@"))return Zd(e.value);if(e.value.startsWith(":")||e.value.startsWith("$"))return Qd(e.value);const r=e.value.toLowerCase();return Xd(r)?Qd(r):{type:"expression",raw:e.value};case"url":return Yd(e.value,"string");default:return null}}parseLiteralValue(e){if(e.startsWith('"')||e.startsWith("'")||e.startsWith("`")||e.startsWith("\u300c")){return Yd(e.slice(1,-1),"string")}if("true"===e)return Yd(!0,"boolean");if("false"===e)return Yd(!1,"boolean");const t=e.match(/^(\d+(?:\.\d+)?)(ms|s|m|h)?$/);if(t){const r=parseFloat(t[1]);return t[2]?Yd(e,"duration"):Yd(r,"number")}const r=parseFloat(e);return isNaN(r)?Yd(e,"string"):Yd(r,"number")}applyExtractionRules(e,t){for(const[r,i]of Object.entries(e.extraction)){const e=t.get(r);if(e){if(i.transform){t.set(r,i.transform("literal"===e.type?e.value+"":(e.raw??"")+""))}}else void 0!==i.value?t.set(r,{type:"literal",value:i.value}):i.default&&t.set(r,{...i.default,implicit:!0})}}isOptional(e){return"literal"!==e.type&&!0===e.optional}skipNoiseWords(e){const r=e.peek();if(!r)return;const i=r.value.toLowerCase();if(t.ENGLISH_NOISE_WORDS.has(i)){const r=e.mark();e.advance();const i=e.peek();if(i&&("selector"===i.kind||"identifier"===i.kind))return;const a=e.peek(1);if(i&&"keyword"===i.kind&&a&&"selector"===a.kind&&/^\.[a-zA-Z_]/.test(a.value))return;const n=i?(i.normalized??i.value).toLowerCase():"";if(i&&t.POSITIONAL_OR_SCOPE_KEYWORDS.has(n))return;const o=e.peek(1),s=o?(o.normalized??o.value).toLowerCase():"",l="SOV"!==this.currentProfile?.wordOrder&&t.COMMAND_ACTION_KEYWORDS.has(s),p=!o||"particle"===o.kind||t.CLAUSE_BOUNDARY_KEYWORDS.has(s)||l;if(i&&"keyword"===i.kind&&"en"!==this.currentProfile?.code&&Xd(n)&&p)return;if(i&&"keyword"===i.kind&&"en"===this.currentProfile?.code&&Xd(n))return;e.reset(r)}"class"===i&&e.advance()}extractEventModifiers(e){const t={};let r=!1;for(;!e.isAtEnd();){const i=e.peek();if(!i||"event-modifier"!==i.kind)break;const a=i.metadata;if(!a)break;switch(r=!0,a.modifierName){case"once":t.once=!0;break;case"debounce":"number"==typeof a.value&&(t.debounce=a.value);break;case"throttle":"number"==typeof a.value&&(t.throttle=a.value);break;case"queue":"first"!==a.value&&"last"!==a.value&&"all"!==a.value&&"none"!==a.value||(t.queue=a.value)}e.advance()}return r?t:void 0}};Hu.CONDITION_OPERATOR_WORDS=new Set(["matches","match","contains","exists","has","have","equals","includes"]),Hu.POSITIONAL_OR_SCOPE_KEYWORDS=new Set(["first","last","next","previous","random","closest","parent"]),Hu.STRUCTURAL_NEVER_EVENT=new Set(["if","unless","else","end","then","while"]),Hu.PROPERTY_ACCESS_BASES=new Set(["it","me","you","my","its","your","event","result","target","detail","body","window","document","self","this"]),Hu.COMMAND_ACTION_KEYWORDS=ku,Hu.CLAUSE_BOUNDARY_KEYWORDS=new Set(["then","and","or","end","else"]),Hu.RUN_OPERATORS=new Set(["+","-","*","/"]),Hu.PICK_RANGE_SEPARATORS=new Set(["to"]),Hu.PICK_RANGE_SEPARATORS_BY_LANG={ar:new Set(["\u0625\u0644\u0649"]),bn:new Set(["\u09a5\u09c7\u0995\u09c7"]),de:new Set(["zu","bis"]),es:new Set(["a"]),fr:new Set(["\u00e0"]),he:new Set(["\u05e2\u05dc","\u05e2\u05d3"]),hi:new Set(["\u0938\u0947"]),id:new Set(["ke"]),it:new Set(["in","a"]),ja:new Set(["\u304b\u3089"]),ko:new Set(["\ubd80\ud130"]),ms:new Set(["ke"]),pl:new Set(["do"]),pt:new Set(["para","a"]),qu:new Set(["kama"]),ru:new Set(["\u0432","\u0434\u043e"]),sw:new Set(["kwa","hadi"]),th:new Set(["\u0e43\u0e19","\u0e16\u0e36\u0e07"]),tl:new Set(["sa"]),tr:new Set(["ile"]),uk:new Set(["\u0432","\u0434\u043e"]),vi:new Set(["v\u00e0o","\u0111\u1ebfn"]),zh:new Set(["\u5230"])},Hu.PICK_RANGE_MODES=new Set(["inclusive","exclusive"]),Hu.MAX_BRACE_RUN_TOKENS=64,Hu.MAX_PROPERTY_DEPTH=10,Hu.MAX_METHOD_ARGS=20,Hu.DECLARATION_COMMANDS=new Set(["behavior","def","install"]),Hu.ENGLISH_NOISE_WORDS=new Set(["the","a","an"]);var Uu=Hu,Gu=new Uu;function Zu(e,t){return Gu.matchPattern(e,t)}function Yu(e,t){return Gu.matchBest(e,t)}function Xu(e){return function(e){let t=dt.get(e);return!t&&Tt(e)&&(t=dt.get(xt(e))),t}(e)}function Qu(e,t){return Lt(e,t)}function Ju(){return jt()}function ey(e){return Et(e)}function ty(e){!function(e){dt.set(e.language,e)}(e)}Pt(),Vn(),ro(),fo(),_o(),Fo(),ls(),fs(),ci(),Pt(),ht();var ry={ar:new Set(["\u0623\u0648"]),bn:new Set(["\u0985\u09a5\u09ac\u09be"]),de:new Set(["oder"]),en:new Set(["or"]),es:new Set(["o"]),fr:new Set(["ou"]),he:new Set(["\u05d0\u05d5"]),hi:new Set(["\u092f\u093e"]),id:new Set(["atau"]),it:new Set(["o"]),ja:new Set(["\u307e\u305f\u306f"]),ko:new Set(["\ub610\ub294"]),ms:new Set(["atau"]),pl:new Set(["lub"]),pt:new Set(["ou"]),qu:new Set(["utaq"]),ru:new Set(["\u0438\u043b\u0438"]),sw:new Set(["au"]),th:new Set(["\u0e2b\u0e23\u0e37\u0e2d"]),tl:new Set(["o"]),tr:new Set(["veya"]),uk:new Set(["\u0430\u0431\u043e"]),vi:new Set(["ho\u1eb7c"]),zh:new Set(["\u6216"])},iy=new Set(Object.values(ry).flatMap(e=>[...e]));function ay(e,t){const r=(e.normalized??e.value).toLowerCase();if("or"===r)return!0;const i=void 0===t?iy:ry[t];return!!i&&(i.has(e.value)||i.has(r))}ei(),Pt(),ht();var ny=["if","unless","repeat","for","while"],oy=/^[A-Z][A-Za-z0-9_]*$/;function sy(e,t){const r=new Set([t]),i=St(e),a=i?.keywords?.[t];if(a){a.primary&&r.add(a.primary.toLowerCase());for(const e of a.alternatives??[])r.add(e.toLowerCase())}return r}function ly(e,t){return!!t.has(e.value.toLowerCase())||!!e.normalized&&t.has(e.normalized.toLowerCase())}var py=new Set(ny);function my(e,t){const r=e.normalized?.toLowerCase();return r?py.has(r):t.some(t=>ly(e,t))}var cy=new Set(["me","it","you","the","body","window","document","its","event","result","target","self","this","them","parent","next","previous","closest","first","last"]),dy=new Set(["destination","source","style","patient","on","from","to"]);function uy(e){if(!e)return!1;if("selector"===e.kind)return!1;const t=(e.normalized??e.value).toLowerCase(),r=e.value.toLowerCase();return!cy.has(t)&&!cy.has(r)&&!dy.has(t)}var yy=new Set(["ja","ko"]);function vy(e){const t=new Set;e?.primary&&t.add(e.primary.toLowerCase());for(const r of e?.alternatives??[])t.add(r.toLowerCase());return t}function fy(e,t){const r=[];let i=t.position.end;const a=e.slice(t.position.end).match(/^\s*\(([^)]*)\)/);if(a){i=t.position.end+a[0].length;for(const e of a[1].split(/[,\u060c\u3001]/)){const t=e.trim();t&&r.push(t)}}return{parameters:r,headerEnd:i}}function hy(e,t,r){let i=t+1;if(i>=e.length)return-1;const a=vy(St(r)?.roleMarkers?.patient);return a.size>0&&ly(e[i],a)&&i++,e.length>i?i:-1}var gy=/^[a-zA-Z_$][\w$]*(?:\.[a-zA-Z_$][\w$]*)*$/;function ky(e,t,r){if(!St(t))return null;const i=sy(t,"behavior"),a=sy(t,"def"),n=e.toLowerCase(),o=[...i].some(e=>n.includes(e)),s=/\bdef\b/.test(n)||[...a].some(e=>"def"!==e&&n.includes(e));if(!o&&!s)return null;const l=Qu(e,t).tokens;if(2>l.length)return null;if(ly(l[0],i))return by(e,t,l,r,0);const p=l.findIndex((e,t)=>t>0&&ly(e,i));if(p>0&&oy.test(l[0].value))return by(e,t,l,r,p);if(ly(l[0],a))return xy(e,t,l,r,0);const m=l.findIndex((e,t)=>t>0&&ly(e,a));return m>0&&function(e,t,r){const i=St(r);if("SOV"!==i?.wordOrder)return!1;if(!gy.test(e[0].value))return!1;if(t!==function(e){let t=1;if("("===e[1]?.value){let r=0,i=1;for(;e.length>i;i++)if("("===e[i].value)r++;else if(")"===e[i].value&&0===--r)break;if(i>=e.length)return-1;t=i+1}return t+1}(e))return!1;const a=vy(i.roleMarkers?.patient);return 0!==a.size&&ly(e[t-1],a)}(l,m,t)?xy(e,t,l,r,m):null}function zy(e){return e.length>0?e.reduce((e,t)=>e+t,0)/e.length:0}function wy(e){const t=[];for(const r of e){const e=r.statements;"compound"===r.kind&&Array.isArray(e)?t.push(...e):t.push(r)}return t}function by(e,t,r,i,a){const n=a>0,o=n?0:hy(r,a,t);if(0>o)return null;const s=r[o],l=s.value;if(!oy.test(l))return null;const{parameters:p,headerEnd:m}=fy(e,s);let c=n?a+1:r.findIndex(e=>e.position.start>=m);c>o||(c=o+1);const d=sy(t,"init"),u=sy(t,"end"),y=ny.map(e=>sy(t,e)),v=e=>my(e,y),f=e=>ly(e,u),h=[],g=[],k=[];let z=!1,w=0,b=c;for(let a=c;r.length>a;a++){const n=r[a];if(f(n)){if(w>0){w--;continue}if(a===b){z=!0;break}if(ly(r[b],d)){const a=e.slice(r[b].position.end,n.position.start).trim();if(a)try{const e=wy(i.body(a,t));g.push(...e),k.push(zy(e.map(e=>e.metadata?.confidence??.75)))}catch{k.push(0)}}else{const a=e.slice(r[b].position.start,n.position.start).trim();try{const e=i.statement(a,t);if(e&&"event-handler"===e.kind){const t=e;h.push(t);k.push(!t.body||0===t.body.length?.2:t.metadata?.confidence??.75)}else k.push(0)}catch{k.push(0)}}b=a+1}else v(n)&&w++}if(0===h.length&&0===g.length)return null;const x=(z?1:.8)*zy(k);return function(e,t,r,i,a){const n={kind:"behavior",action:"behavior",roles:new Map,name:e,parameters:t,eventHandlers:r};return void 0!==i&&i.length>0&&(n.initBlock=i),void 0!==a&&(n.metadata=a),n}(l,p,h,g.length>0?g:void 0,{sourceLanguage:t,confidence:x,sourceText:e})}function xy(e,t,r,i,a){const n=a>0,o=n?0:hy(r,a,t);if(0>o)return null;const s=r[o],l=s.value;if(!gy.test(l))return null;const{parameters:p,headerEnd:m}=fy(e,s);let c=n?a+1:r.findIndex(e=>e.position.start>=m);c>o||(c=o+1);const d=sy(t,"end"),u=ny.map(e=>sy(t,e)),y=e=>my(e,u),v=e=>ly(e,d);let f=0,h=-1;for(let e=c;r.length>e;e++)if(v(r[e])){if(0===f){h=e;break}f--}else y(r[e])&&f++;const g=e.slice(r[c]?.position.start??m,0>h?e.length:r[h].position.start).trim();if(!g)return null;let k;try{k=wy(i.body(g,t))}catch{return null}if(0===k.length)return null;let z=zy(k.map(e=>e.metadata?.confidence??.75));return 0>h&&(z*=.8),function(e,t,r,i){const a={kind:"def",action:"def",roles:new Map,name:e,parameters:t,body:r};return void 0!==i&&(a.metadata=i),a}(l,p,k,{sourceLanguage:t,confidence:z,sourceText:e})}var Ty=["live","eventsource","socket","worker","intercept"],Sy=new Set(["intercept"]),jy=new Set(["eventsource","socket","worker"]),Ey=new Set(["eventsource","socket"]),Ly=new Set(["worker"]);function Cy(e){const t=sy(e,"on");t.add("when");const r=St(e)?.eventHandler;if(r?.keyword){t.add(r.keyword.primary.toLowerCase());for(const e of r.keyword.alternatives??[])t.add(e.toLowerCase())}for(const e of r?.temporalMarkers??[])t.add(e.toLowerCase());return t}function _y(e,t,r){const i=St(r)?.eventHandler,a=[i?.eventMarker?.primary,...i?.eventMarker?.alternatives??[],...i?.temporalMarkers??[]].filter(e=>!!e&&/\s/.test(e));let n=1;for(const r of a){const i=r.toLowerCase().split(/\s+/),a=t-i.length+1;a<0||i.every((t,r)=>e[a+r]?.value.toLowerCase()===t)&&(n=Math.max(n,i.length))}return n}function Py(e,t,r,i,a){if("live"===e)return r+1;if(r>0){let a=r+1;return"eventsource"===e&&(a+=function(e,t,r){const i=vy(St(r)?.roleMarkers?.source);return 0!==i.size&&e.length>t+1&&(ly(e[t],i)||ly(e[t+1],i))?2:0}(t,a,i)),a}const n=hy(t,r,i);if(0>n)return-1;if("worker"===e)return n+1;const o=Cy(i),s=vy(St(i)?.roleMarkers?.event),l=0>a?t.length:a;for(let e=n+1;l>e;e++){if(!ly(t[e],o))continue;if(uy(t[e+1]))return e;if(e>n+2&&s.size>0&&ly(t[e-1],s)&&uy(t[e-2]))return e-2;const r=_y(t,e,i);if(r>1&&e-r>n&&uy(t[e-r]))return e-r;if(e>n+1&&uy(t[e-1]))return e-1}return l}function Wy(e,t,r){if(!St(t))return null;const i=e.toLowerCase();let a=!1;for(const e of[...Ty,"changes"]){for(const r of sy(t,e))if(r&&i.includes(r)){a=!0;break}if(a)break}if(!a)return null;const n=Qu(e,t).tokens;if(2>n.length)return null;const o=function(e,t){if(3>e.length)return-1;if(!ly(e[0],function(e){const t=sy(e,"when");for(const r of Cy(e))t.add(r);return t}(t)))return-1;const r=sy(t,"changes"),i=sy(t,"end");for(let t=2;e.length>t;t++){const a=e[t];if("literal"===a.kind)continue;if(ly(a,r))return t;if(ly(a,i))return-1;const n=(a.normalized??a.value).toLowerCase();if("keyword"===a.kind&&Ay.has(n))return-1}return-1}(n,t);if(o>=0)return function(e,t,r,i,a){const n=sy(t,"end"),o=ny.map(e=>sy(t,e)),s=e=>my(e,o),l=e=>ly(e,n),p=a+1;if(p>=r.length)return null;const m=qy(r,p,l,s),c=m>=0;if(c&&m!==r.length-1)return null;const d=c?r[m].position.start:e.length,u=e.slice(r[p].position.start,d).trim();if(!u)return null;let y;try{y=wy(i.body(u,t))}catch{return null}if(0===y.length)return null;const v=function(e,t,r){if("en"===r){return{type:"expression",raw:e.slice(t[0].position.start,t[t.length-1].position.end).trim()}}const i=t.map(e=>ay(e,r)?{...e,kind:"keyword",normalized:"or"}:e);return{type:"expression",raw:Pu(i,St(r))}}(e,r.slice(1,a),t),f=(c?1:.8)*zy(y.map(e=>e.metadata?.confidence??.75));return ru("when",y,void 0,{sourceLanguage:t,confidence:f,sourceText:e},new Map([["condition",v]]))}(e,t,n,r,o);const s=function(e,t){for(const r of Ty)if(ly(e[0],sy(t,r)))return{action:r,keywordIdx:0};if("SOV"!==St(t)?.wordOrder)return null;const r=Math.min(e.length,6);for(let i=1;r>i;i++)for(const r of Ty)if("live"!==r&&ly(e[i],sy(t,r))&&(!jy.has(r)||oy.test(e[0].value))&&("intercept"!==r||2>=i))return{action:r,keywordIdx:i};return null}(n,t);return s?function(e,t,r,i,a,n){const o=sy(t,"end"),s=ny.map(e=>sy(t,e)),l=e=>my(e,s),p=e=>ly(e,o),m=function(e,t,r,i){if(!jy.has(e))return;const a=r>0?0:hy(t,r,i);return 0>a?void 0:t[a].value}(a,r,n,t);if(jy.has(a)&&(!m||!oy.test(m)))return null;const c=r=>({sourceLanguage:t,confidence:r,sourceText:e}),d=qy(r,n+1,p,l);if(Sy.has(a))return 0>d||d===r.length-1?ru(a,[],m,c(0>d?.8:1)):null;const u=Py(a,r,n,t,d);if(0>u||u>r.length)return null;const y=[],v=[];let f=!1;const h=Ly.has(a);if(h||Ey.has(a)){const a=h?"def":"event-handler";let n=0,o=u;for(let s=u;r.length>s;s++){const m=r[s];if(p(m)){if(n>0){n--;continue}if(f=!0,s===o)break;const l=e.slice(r[o].position.start,h?m.position.end:m.position.start).trim();try{const e=i.statement(l,t);if(e&&e.kind===a){const t=e;y.push(t);v.push(!t.body||0===t.body.length?.2:t.metadata?.confidence??.75)}else v.push(0)}catch{v.push(0)}o=s+1}else l(m)&&n++}}else{const a=qy(r,u,p,l);f=a>=0;const n=e.slice(r[u].position.start,0>a?e.length:r[a].position.start).trim();if(!n)return null;try{y.push(...wy(i.body(n,t)))}catch{return null}if(0===y.length)return null;v.push(...y.map(e=>e.metadata?.confidence??.75))}if(0===y.length&&!f)return null;const g=f?1:.8,k=v.length>0?g*zy(v):g;return ru(a,y,m,c(k))}(e,t,n,r,s.action,s.keywordIdx):null}var Ay=new Set([...Object.keys(rt),"then","else"]);function qy(e,t,r,i){let a=0;for(let n=t;e.length>n;n++)if(r(e[n])){if(0===a)return n;a--}else i(e[n])&&a++;return-1}_m(),si();var Oy={debounced:"debounce",debounce:"debounce",throttled:"throttle",throttle:"throttle"},Ry=[["\u043e\u0434\u0438\u043d","_","\u0440\u0430\u0437"],["\u043e\u0434\u0438\u043d_\u0440\u0430\u0437"],["\u043e\u0434\u043d\u0430\u0436\u0434\u044b"],["m\u1ed9t","l\u1ea7n"],["once"]],My=/^(\d+)(ms|s|m)?$/,Ny=new Set(["selector","literal","url","event-modifier"]);function Iy(e){const t=e.match(My);if(!t)return null;let r=parseInt(t[1],10);const i=t[2]||"ms";return"s"===i?r*=1e3:"m"===i&&(r*=6e4),r}Pt(),_m();var $y=["values","expressions","logical","temporal","attributes"],Ky=/"[^"]*"|'[^']*'|`[^`]*`/g,Vy=/\uE010(\d+)\uE011/g,Dy=/(^|[^\w$.#@*:-])([A-Za-z][A-Za-z-]+)(?![\w$.:-])/g,By=new WeakMap;function Fy(e,t,r){if(!e)return e;const i=Ud(t);if(!i)return e;const{words:a}=function(e,t){const r=By.get(e);if(r)return r;const i=new Map,a=(e,t)=>{if(!t)return;const r=e.toLowerCase();i.has(r)||t===e||i.set(r,t)};for(const t of $y){const r=e[t];if(r)for(const[e,t]of Object.entries(r))a(e,t.primary)}for(const[e,r]of Object.entries(t?.references??{}))a(e,r);const n={words:i};return By.set(e,n),n}(i,r);if(0===a.size)return e;const n=[];return function(e,t){let r=e;for(let e=0;8>e&&r.includes("\ue010");e++)r=r.replace(Vy,(e,r)=>t[Number(r)]??"");return r}(function(e,t){let r="",i=0;for(;e.length>i;){const a=e.indexOf("{",i);if(-1===a){r+=e.slice(i);break}let n=0,o=-1;for(let t=a;e.length>t;t++)if("{"===e[t])n++;else if("}"===e[t]&&0===--n){o=t;break}if(-1===o){r+=e.slice(i);break}t.push(e.slice(a,o+1)),r+=e.slice(i,a)+`\ue010${t.length-1}\ue011`,i=o+1}return r}(e.replace(Ky,e=>(n.push(e),`\ue010${n.length-1}\ue011`)),n).replace(Dy,(e,t,r)=>{const i=a.get(r.toLowerCase());return i?`${t}${i}`:e}),n)}var Hy=new Set(["repeat","for","while","tell"]),Uy=new Set(["js"]),Gy=new Set(Object.values(pu).flatMap(e=>Object.values(e))),Zy=class{render(e,t){if("compound"===e.kind)return this.renderCompound(e,t);if("behavior"===e.kind)return this.renderBehavior(e,t);if("def"===e.kind)return this.renderDef(e,t);if("feature"===e.kind)return this.renderFeature(e,t);if("conditional"===e.kind)return this.renderConditional(e,t);if("js"===e.action&&"SOV"===St(t)?.wordOrder){const r=e.roles.get("patient"),i=r&&"expression"===r.type?r.raw:"",a=this.keyword(t,"js"),n=this.keyword(t,"end");return i?`${a} ${i} ${n}`:`${a} ${n}`}const r=function(e,t){return Ct(e).filter(e=>e.command===t).sort((e,t)=>t.priority-e.priority)}(t,e.action);if(0===r.length)return this.renderExplicit(e);const i=this.findBestPattern(e,r);if(!i)return this.renderExplicit(e);const a=this.renderWithPattern(e,i);return Uy.has(e.action)?`${a} ${this.keyword(t,"end")}`:a}renderCompound(e,t){if(e.statements.length>1&&e.statements.every(e=>"event-handler"===e.kind)){const r=this.keyword(t,"end"),i=[];for(const a of e.statements)i.push(this.render(a,t),r);return i.join("\n")}const r=e.statements.map(e=>this.render(e,t)),i=this.getChainWord(e.chainType,t);let a=r[0]??"";for(let t=1;r.length>t;t++){const n=e.statements[t-1],o=e.statements[t];a+=("command"===n.kind&&Hy.has(n.action)||"command"===n.kind&&"bind"===n.action&&"command"===o.kind&&"bind"===o.action?" ":` ${i} `)+r[t]}return this.closeBlockHeaders(a,e.statements,t)}renderConditional(e,t){const r=e.roles.get("condition"),i=r?this.valueToNaturalString(r,t):"",a=[`${this.keyword(t,"if")} ${i}`.trim()],n=this.joinStatements(e.thenBranch,t);return n&&a.push(n),e.elseBranch&&e.elseBranch.length>0&&a.push(this.keyword(t,"else"),this.joinStatements(e.elseBranch,t)),a.push(this.keyword(t,"end")),a.join(" ")}joinStatements(e,t){const r=e.map(e=>this.render(e,t)),i=this.keyword(t,"then");let a=r[0]??"";for(let t=1;r.length>t;t++){const n=e[t-1];a+=("command"===n.kind&&Hy.has(n.action)?" ":` ${i} `)+r[t]}return this.closeBlockHeaders(a,e,t)}closeBlockHeaders(e,t,r){const i=t.filter(e=>"command"===e.kind&&Hy.has(e.action)).length;if(0===i)return e;return`${e}${(" "+this.keyword(r,"end")).repeat(i)}`}keyword(e,t){return St(e)?.keywords?.[t]?.primary??t}renderBlockHeader(e,t,r){return r.length>0?`${e} ${t}(${r.join(", ")})`:`${e} ${t}`}renderBehavior(e,t){const r=this.keyword(t,"end"),i=[this.renderBlockHeader(this.keyword(t,"behavior"),e.name,e.parameters)];for(const a of e.eventHandlers)i.push(" "+this.render(a,t)," "+r);if(e.initBlock&&e.initBlock.length>0){i.push(" "+this.keyword(t,"init"));for(const r of e.initBlock)i.push(" "+this.render(r,t));i.push(" "+r)}return i.push(r),i.join("\n")}renderDef(e,t){const r=[this.renderBlockHeader(this.keyword(t,"def"),e.name,e.parameters)];for(const i of e.body)r.push(" "+this.render(i,t));return r.push(this.keyword(t,"end")),r.join("\n")}renderFeature(e,t){const r=this.keyword(t,"end"),i=[this.featureHeader(e,t)];for(const a of e.body)i.push(" "+this.render(a,t)),"event-handler"===a.kind&&i.push(" "+r);return i.push(r),i.join("\n")}featureHeader(e,t){const r=this.keyword(t,e.action);if("when"===e.action){const i=e.roles.get("condition");return[r,i?this.valueToNaturalString(i,t):"",this.keyword(t,"changes")].filter(Boolean).join(" ")}return e.name?`${r} ${e.name}`:r}getChainWord(e,t){const r=St(t);if(!r?.keywords)return e;const i=r.keywords[e];return i?.primary??e}renderExplicit(e){return r(e)}supportedLanguages(){return Ju()}findBestPattern(e,t){let r=t;if("event-handler"===e.kind){const e=t.filter(e=>!/-event-/i.test(e.id));e.length>0&&(r=e)}const i=new Map;for(const e of r)for(const[t,r]of Object.entries(e.extraction??{})){const e=r?.default;if(!e||"literal"!==e.type)continue;const a=(e.value+"").trim().toLowerCase(),n=i.get(t)??new Set;n.add(a),i.set(t,n)}const a=r.map(t=>{let r=t.priority;const a=t=>{const r=e.roles.get(t);return void 0!==r&&!(!0===r.implicit&&"reference"===r.type)},n=(e,t)=>{for(const i of e)"group"===i.type?n(i.tokens,!0):"role"===i.type&&(a(i.role)?r+=t?5:10:t||i.optional||(r-=50))};n(t.template.tokens,!1);for(const[a,n]of Object.entries(t.extraction??{})){const t=n?.default;if(!t||"literal"!==t.type)continue;const o=(t.value+"").trim().toLowerCase(),s=e.roles.get(a),l="literal"===s?.type?(s.value+"").trim().toLowerCase():void 0;l===o?r+=60:(void 0===l||i.get(a)?.has(l))&&(r-=200)}return"en"===t.language&&((t.id.includes("standard")||t.id.includes("en-source"))&&(r+=20),(t.id.includes("-when")||t.id.includes("-if")||t.id.includes("-upon"))&&(r-=15)),{pattern:t,score:r}});return a.sort((e,t)=>t.score-e.score),a.length>0?a[0].pattern:null}renderWithPattern(e,t){const r=[],i=t.language;for(const a of t.template.tokens){const t=this.renderPatternToken(a,e,i);null!==t&&r.push(t)}if("event-handler"===e.kind){if(e.body&&e.body.length>0){const t=e.body.map(e=>this.render(e,i));r.push(t.join(" "))}}return r.join(" ")}renderPatternToken(e,t,r){switch(e.type){case"literal":return e.renderSuppress?null:e.value;case"role":{const i=t.roles.get(e.role);if(!i){if("duration"===e.role&&"wait"===t.action){const e=t.roles.get("event");if(e)return this.renderEventName(e,r)}return null}if("event"===e.role)return this.renderEventName(i,r);if("en"===r&&"halt"===t.action&&"patient"===e.role&&"reference"===i.type&&"event"===i.value)return"the "+this.valueToNaturalString(i,r);if("render"===t.action&&"style"===e.role&&"expression"===i.type){const e=i.raw.trim();if(e.startsWith("{")&&e.endsWith("}"))return e.slice(1,-1).trim()}if("js"===t.action&&"expression"===i.type)return i.raw;if("pick"===t.action&&"patient"===e.role&&"expression"===i.type){const e=Uu.rangeSeparatorFor(r);if(e)return i.raw.replace(/(?<=\s)to(?=\s)/g,e)}return this.valueToNaturalString(i,r)}case"group":{if(!e.tokens.filter(e=>"role"===e.type&&!e.optional).every(e=>t.roles.has(e.role))&&e.optional)return null;if(e.optional)for(const r of["destination","source"]){if(!e.tokens.find(e=>"role"===e.type&&e.role===r))continue;const i=t.roles.get(r);if("reference"===i?.type&&"me"===i.value&&i.implicit){if("destination"===r){const e=t.roles.get("patient");if("literal"===e?.type&&"string"===e.dataType)continue}return null}}if(e.optional){if(e.tokens.find(e=>"role"===e.type&&"quantity"===e.role)){const e=t.roles.get("quantity");if("literal"===e?.type&&1===Number(e.value))return null}}const i=[];let a=!1;for(const n of e.tokens){const e=this.renderPatternToken(n,t,r);null!==e&&(i.push(e),"role"===n.type&&(a=!0))}return(!e.optional||a||e.renderRequired)&&i.length>0?i.join(" "):null}default:return null}}renderEventName(e,t){if("literal"!==e.type||"string"!=typeof e.value)return this.valueToNaturalString(e,t);const r=e.value,i=e=>e.includes(":")?e:Em(e,t);return r.includes(" or ")?r.split(" or ").map(e=>i(e.trim())).join(" or "):i(r)}valueToNaturalString(e,t="en"){switch(e.type){case"literal":return"string"==typeof e.value&&"string"===e.dataType?`"${e.value}"`:this.localizeValue(e.value+"",t);case"selector":return e.value;case"reference":return this.renderReference(e,t);case"property-path":return this.renderPropertyPath(e,t);case"expression":return this.localizeValue(this.localizeInteriorPossessives(e.raw,t),t);case"flag":return this.localizeValue(e.name,t)}}localizeValue(e,t){return"en"===t?e:Fy(e,t,St(t))}renderReference(e,t){const r=St(t);return r?.references?r.references[e.value]??e.value:e.value}renderDotBase(e,t,r){if("reference"!==e.type)return this.valueToNaturalString(e,t);const i=r?.possessive?.specialForms?.[e.value];return i&&!/\s/.test(i)?i:e.value}localizeInteriorPossessives(e,t){return"en"===t?e.replace(/\b(?:the\s+)?([A-Za-z][\w-]*)\s+of\s+([#.][\w-]+)/g,(e,t,r)=>Gy.has(t.toLowerCase())?`${r}'s ${t}`:e):e.includes("'s")?e.replace(/([#.][\w-]+)'s\s+([A-Za-z][\w-]*)/g,(e,r,i)=>this.renderPropertyPath({type:"property-path",object:Zd(r),property:i,access:"possessive"},t)||e):e}renderPropertyPath(e,t){const r=St(t);if("dot"===e.access){const i=this.renderDotBase(e.object,t,r),a=e.property;return/^[.?]/.test(a)?`${i}${a}`:`${i}.${a}`}const i=this.localizeValue(e.property,t),a="reference"===e.object.type?e.object.value:null;if(r?.possessive&&a){const e=r.possessive.specialForms?.[a]??function(e,t){if(!e)return;for(const[r,i]of Object.entries(e))if(i===t)return r;return}(r.possessive.keywords,a);if(e)return`${e} ${i}`}const n=this.valueToNaturalString(e.object,t);if(r?.possessive){const{marker:o,markerPosition:s,usePossessiveAdjectives:l}=r.possessive;if(l&&a)return`${n} ${i}`;if(o&&"between"===s){if("th"===t)return`${i} ${o} ${n}`;return r.usesSpaces&&!(void 0!==r.tokenization)?`${n} ${o} ${i}`:r.usesSpaces?`${n}${o} ${i}`:`${n}${o}${i}`}const p="en"!==t&&"selector"===e.object.type?function(e){if(!e?.code)return;const t=cu[e.code];if(t){const[e]=t;if(e)return e}return e.roleMarkers?.source?.primary}(r):void 0;if(p)return`${i} ${p} ${n}`;if(o)switch(s){case"after-object":return`${n}${o} ${i}`;case"before-property":return`${n} ${o} ${i}`}}return"en"!==t&&r?.possessive?`${n} ${i}`:"me"===n?"my "+i:"it"===n?"its "+i:`${n}'s ${i}`}};var Yy=new Zy;function Xy(e,t){return Yy.render(e,t)}function Qy(e){return Yy.renderExplicit(e)}ht();var Jy={getSchema:pt};function ev(e){return s(e,{schemaLookup:Jy})}var tv=new Set(["if","unless","while","repeat","for"]),rv=new Set(["then","end","else","if","unless","while","for","repeat","and"]),iv=new Set(["first","last","next","previous","random","closest"]),av=new Set(["click","dblclick","input","change","submit","keydown","keyup","keypress","mouseover","mouseout","mousedown","mouseup","focus","blur","load","scroll","resize","contextmenu","transitionend","transitionstart","transitionrun","transitioncancel","animationend","animationstart","animationiteration","animationcancel","pointerdown","pointerup","pointermove","pointerenter","pointerleave","pointercancel","pointerover","pointerout","touchstart","touchend","touchmove","touchcancel","mousemove","mouseenter","mouseleave","wheel","dragstart","dragend","dragover","dragenter","dragleave","drop","drag","loadend","loadstart","error","abort","close","open","message","popstate","hashchange","storage","online","offline","visibilitychange"]),nv=class extends Error{constructor(e,t,r,i){super(e),this.name="SemanticParseError",this.language=t,this.input=r,this.diagnostics=i}};function ov(e,t,r){return{message:e,severity:t,source:"semantic-parser",...r&&{code:r}}}function sv(e,t){return 0===t.length?e:{...e,diagnostics:t}}var lv=120;var pv=new Set(["to","from","into","onto","with","as","at","of","in","on","by","and","or","then","end","else","the","a","an","async"]);function mv(e){const t=[],r=new Set((e.diagnostics??[]).map(e=>`${e.code}|${e.message}`)),i=a=>{if(!a||"object"!=typeof a)return;if(a!==e)for(const e of a.diagnostics??[]){if("unconsumed-input"!==e.code)continue;const i=`${e.code}|${e.message}`;r.has(i)||(r.add(i),t.push(e))}const n=a;for(const e of dv){const t=n[e];if(Array.isArray(t))for(const e of t)i(e)}};return i(e),0===t.length?e:sv(e,[...e.diagnostics??[],...t])}function cv(e){if(e.length>=2){const t=e[0];if(('"'===t||"'"===t)&&e.endsWith(t))return e.slice(1,-1)}return e}var dv=["body","statements","thenBranch","elseBranch","eventHandlers","initBlock"];function uv(e,t){if(!e||"object"!=typeof e)return e;if(e.action&&e.roles instanceof Map){const r=pt(e.action),i=r?.primaryRole;if(r&&i&&"patient"!==i&&!r.roles.some(e=>"patient"===e.role)&&e.roles.has("patient")&&!e.roles.has(i)){const t=e.roles,r=t.get("patient");void 0!==r&&(t.delete("patient"),t.set(i,r))}if("tell"===e.action){const t=e.roles,r=t.get("patient"),i=t.get("destination");!r||"selector"!==r.type&&"reference"!==r.type||i&&"literal"!==i.type||(t.delete("patient"),t.set("destination",r))}if("transition"===e.action){const t=e.roles,r=t.get("goal");r&&"literal"===r.type&&"duration"===r.dataType&&!t.has("duration")&&(t.delete("goal"),t.set("duration",r))}if("fetch"===e.action){const t=e.roles,r=t.get("patient"),i=t.get("source");!r||!i||"literal"!==r.type&&"expression"!==r.type||"expression"!==i.type||t.has("style")||(t.delete("patient"),t.set("style",i),t.set("source",r))}if("transition"===e.action){const t=e.roles,r=t.get("destination");r&&"literal"===r.type&&!t.has("goal")&&(t.delete("destination"),t.set("goal",r));const i=t.get("patient");i&&"literal"===i.type&&"string"==typeof i.value&&/^[A-Za-z_][A-Za-z0-9_-]*$/.test(i.value)&&t.set("patient",{type:"expression",raw:i.value})}if("morph"===e.action){const t=e.roles,r=t.get("patient");r&&"literal"===r.type&&"string"==typeof r.value&&/<[a-zA-Z][^>]*\/?>/.test(r.value)&&t.set("patient",{type:"expression",raw:r.value})}if("wait"===e.action){const t=e.roles;if(!t.has("event")){const e=t.get("duration"),r="expression"===e?.type?e.raw:"literal"===e?.type?e.value:void 0;"string"==typeof r&&av.has(r.toLowerCase())&&(t.delete("duration"),t.set("event",{type:"literal",value:r,dataType:"string"}))}}if("command"===e.kind&&"on"!==e.action){const t=e.roles,r=t.get("event");if(r&&"expression"===r.type){const e=r.raw;"string"==typeof e&&/^[A-Za-z_][A-Za-z0-9_-]*(:[A-Za-z0-9_-]+)?$/.test(e)&&t.set("event",{type:"literal",value:e,dataType:"string"})}}if(t?.size){const r=e.roles;for(const e of["destination","source"]){const i=r.get(e);i&&"literal"===i.type&&"string"==typeof i.value&&t.has(i.value)&&r.set(e,{type:"expression",raw:i.value})}}}const r=e;for(const e of dv){const i=r[e];if(Array.isArray(i))for(const e of i)uv(e,t)}return e}function yv(e){if(!e||"object"!=typeof e)return e;if(e.action&&e.roles instanceof Map){const t=pt(e.action);if(t){const r=e.roles;for(const e of t.roles)void 0===e.default||r.has(e.role)||r.set(e.role,{...e.default,implicit:!0})}}const t=e;for(const e of dv){const r=t[e];if(Array.isArray(r))for(const e of r)yv(e)}return e}var vv=class e{constructor(){this.parseDepth=0,this.coverageFrames=[],this.boundIdentifiers=new Set}parse(e,t){0===this.parseDepth&&this.boundIdentifiers.clear(),this.parseDepth++,this.coverageFrames.push([]);try{let r=uv(this.parseInternal(e,t),this.boundIdentifiers);const i=this.coverageFrames[this.coverageFrames.length-1];if(i.length>0&&(r=sv(r,[...r.diagnostics??[],...i])),1===this.parseDepth&&(r=mv(r),"event-handler"===r.kind)){let i={node:r,input:e};const a=i.node.eventModifiers;if(a&&(a.once||void 0!==a.debounce||void 0!==a.throttle))for(let e=0;4>e;e++){const e=this.reclaimDanglingFromTail(i.node,i.input,t)??this.reclaimEventCompoundTail(i.node,i.input,t)??this.reclaimResponseTypeTail(i.node,i.input,t)??this.reclaimCapturedDestinationTail(i.node,i.input,t);if(!e)break;i=e}const n=this.reclaimEventCompoundTail(i.node,i.input,t);n&&(i=n),r=i.node}return r}finally{this.coverageFrames.pop(),this.parseDepth--}}coverageMark(){const e=this.coverageFrames[this.coverageFrames.length-1];return e?e.length:0}coverageRollback(e){const t=this.coverageFrames[this.coverageFrames.length-1];t&&t.length>e&&(t.length=e)}static getCoverageMarkerSurfaces(t){let r=e.coverageMarkerSurfaces.get(t);if(!r){r=new Set;const i=St(t)?.roleMarkers;if(i)for(const e of Object.values(i))if(e){if(e.primary)for(const t of e.primary.toLowerCase().split(/\s+/))r.add(t);for(const t of e.alternatives??[])for(const e of t.toLowerCase().split(/\s+/))r.add(e)}for(const i of e.LEAKED_RENDER_MARKERS[t]??[])r.add(i.toLowerCase());e.coverageMarkerSurfaces.set(t,r)}return r}isCoverageResidueToken(t,r){if("particle"===t.kind||"conjunction"===t.kind)return!0;if(t.metadata?.closesTrackedBlock)return!0;if(this.isThenKeyword(t.value,r)||this.isEndKeyword(t.value,r)||this.isElseKeyword(t.value,r))return!0;const i=(t.normalized??t.value).toLowerCase();return!!pv.has(i)||e.getCoverageMarkerSurfaces(r).has(t.value.toLowerCase())}recordDroppedTokens(e,t,r){if(0===e.length)return;const i=this.coverageFrames[this.coverageFrames.length-1];if(!i)return;if(!e.some(e=>!this.isCoverageResidueToken(e,t)))return;const a=e.map(e=>e.value).join(" ").trim();if(!a)return;const n=a.length>lv?a.slice(0,lv)+"\u2026":a;i.push(ov(`${r} left ${e.length} token(s) unconsumed: "${n}"`,"warning","unconsumed-input"))}registerBoundIdentifiers(e){const t="repeat"===e.action||"for"===e.action?"patient":"set"===e.action?"destination":null;if(!t)return;const r=e.roles.get(t);"expression"===r?.type&&"string"==typeof r.raw&&/^[A-Za-z_]\w*$/.test(r.raw)&&this.boundIdentifiers.add(r.raw)}parseInternal(t,r){const i=ky(t,r,{statement:(e,t)=>this.parse(e,t),body:(e,t)=>this.parseStatements(e,t)});if(i)return i;const a=Wy(t,r,{statement:(e,t)=>this.parse(e,t),body:(e,t)=>this.parseStatements(e,t)});if(a)return a;const n=function(e,t,r){const i=St(t);if(!i)return null;const a="SOV"!==i.wordOrder,n=yy.has(t)?vy(i.roleMarkers?.event):new Set,o=yy.has(t)?vy(i.keywords?.on):new Set,s=n.size>0&&o.size>0,l=sy(t,"end"),p=sy(t,"on"),m=e.toLowerCase(),c=[...l].some(e=>m.includes(e)),d=(a||s)&&(()=>{let e=0;for(const t of p)if(t)for(let r=m.indexOf(t);r>=0;r=m.indexOf(t,r+t.length))if(++e>=2)return!0;return!1})();if(!c&&!d)return null;const u=Qu(e,t).tokens;if(2>u.length)return null;const y=ny.map(e=>sy(t,e)),v=e=>my(e,y),f=e=>ly(e,l),h=[];let g=0,k=0;for(let t=0;u.length>t;t++){const r=u[t];if(f(r)){if(g>0){g--;continue}const i=e.slice(u[k].position.start,r.position.start).trim();i&&h.push(i),k=t+1}else if(v(r))g++;else if(a&&0===g&&t>k&&ly(r,p)&&uy(u[t+1])){const i=e.slice(u[k].position.start,r.position.start).trim();i&&h.push(i),k=t}else if(s&&0===g&&t-1>k&&ly(r,n)&&void 0!==u[t+1]&&ly(u[t+1],o)){const r=e.slice(u[k].position.start,u[t-1].position.start).trim();r&&h.push(r),k=t-1}}if(u.length>k){const t=e.slice(u[k].position.start).trim();t&&h.push(t)}if(2>h.length)return null;const z=[],w=[];for(const e of h){let i;try{i=r.statement(e,t)}catch{return null}if(!i||"event-handler"!==i.kind)return null;const a=i;if(z.push(a),!a.body||0===a.body.length)return null;w.push(a.metadata?.confidence??.75)}return iu(z,"then",{sourceLanguage:t,confidence:zy(w),sourceText:e})}(t,r,{statement:(e,t)=>this.parse(e,t),body:(e,t)=>this.parseStatements(e,t)});if(n)return n;const{modifiers:o,remainingInput:s}=this.extractStandaloneModifiers(t,r),l=s||t,p=this.stripAsyncModifier(l,r).remainingInput??l,m=this.stripDoNotThrowModifier(p,r).remainingInput??p,c=[],d=Qu(m,r);this.positionSource=m;{const e=d.mark(),t=this.consumeJsBlock(d,r);if(t&&d.isAtEnd())return sv(t,c);d.reset(e)}const u=Ct(r);if(0===u.length)throw new nv("No patterns available for language: "+r,r,m,[ov(`No patterns registered for language '${r}'`,"error","no-patterns")]);const y=[...u].sort((e,t)=>t.priority-e.priority);{const e=d.tokens;if("VSO"===St(r)?.wordOrder&&e.length>=4&&"source"===e[0]?.normalized){const t=e.findIndex(e=>"on"===e.normalized);if(t>=2&&e.length>t+1){const i=m.slice(e[0].position.start,e[t].position.start).trim(),a=e[t+1].position.end,n=m.slice(e[t].position.start,a)+" "+i+m.slice(a);if(n!==m)try{const e=this.parse(n,r);if(e&&"event-handler"===e.kind){return sv(o?this.applyModifiers(e,o):e,c)}}catch{}}}}{const t=d.tokens,i="if"===t[0]?.normalized;for(let a=0;i&&t.length>a+3;a++){const i=(t[a+3]?.normalized??t[a+3]?.value??"").toLowerCase();if("source"===t[a]?.normalized&&"on"===t[a+2]?.normalized&&e.KNOWN_EVENTS.has(i)){const e=(m.slice(0,t[a].position.start).trimEnd()+" "+m.slice(t[a+1].position.end).trimStart()).trim();if(e&&e!==m)try{const t=this.parse(e,r);if(t&&"event-handler"===t.kind){return sv(o?this.applyModifiers(t,o):t,c)}}catch{}break}}}{const t=d.tokens;for(let i=1;t.length-1>i;i++){if(!ay(t[i],r))continue;const a=t[i+1],n=(a.normalized??a.value).toLowerCase();if(!e.KNOWN_EVENTS.has(n))break;let s=i+1;const l=t[i+2];l&&"selector"===l.kind&&l.value.startsWith("[")&&(s=i+2);const p=t[s].position.end,d=(m.slice(0,t[i].position.start).trimEnd()+" "+m.slice(p).trimStart()).trim();if(d&&d!==m)try{const e=this.parse(d,r);if(e&&"event-handler"===e.kind){e.additionalEvents=[{type:"literal",value:n}];return sv(o?this.applyModifiers(e,o):e,c)}}catch{}break}}{const e=function(e){for(let t=1;e.length>t;t++){const r=e[t];if(Ny.has(r.kind))continue;const i=r.value.toLowerCase(),a=Oy[i];if(a){let i=0;for(let n=t+1;e.length>n;n++){const t=e[n],o=Iy(t.value);if(null!==o)return{modifiers:{[a]:o},start:r.position.start,end:t.position.end};if("selector"===t.kind||"literal"===t.kind||"url"===t.kind)break;if(++i>2)break}continue}for(const a of Ry){if(a[0]!==i)continue;if(t+a.length>e.length)continue;let n=!0;for(let r=1;a.length>r;r++)if(e[t+r].value.toLowerCase()!==a[r]){n=!1;break}if(n)return{modifiers:{once:!0},start:r.position.start,end:e[t+a.length-1].position.end}}}return null}(d.tokens);if(e){const t=(m.slice(0,e.start).trimEnd()+" "+m.slice(e.end).trimStart()).trim();if(t&&t!==m)try{const i=this.parse(t,r);if(i&&"event-handler"===i.kind){return sv(this.applyModifiers(i,{...o??{},...e.modifiers}),c)}}catch{}}}const v=y.filter(e=>"on"===e.command),f=d.mark(),h=Gu.matchBest(d,v);if(h){c.push(ov(`event pattern matched: ${h.pattern.id} (confidence: ${h.confidence.toFixed(2)})`,"info","pattern-match"));let t=!1;if(/^event-[a-z]+-bare$/.test(h.pattern.id)){const i=h.captured.get("event"),a=(""+(i?.raw??i?.value??"")).toLowerCase(),n=wm[r],s=e.KNOWN_EVENTS.has(a)||!!n&&Object.keys(n).some(e=>e.toLowerCase()===a);if(a&&!s){const e=this.trySOVEventExtraction(m,r,y);if(e){c.push(ov(`bare-event mis-anchor on "${a}" rejected; SOV extraction preferred`,"info","stage-bare-event-guard"));return sv(o?this.applyModifiers(e,o):e,c)}if("reference"===i?.type||"expression"===i?.type){d.reset(f);const e=y.filter(e=>"on"!==e.command),r=Gu.matchBest(d,e);d.reset(f),r&&"on"!==r.pattern.command?(t=!0,c.push(ov(`bare-event mis-anchor on reference "${a}" rejected; command ${r.pattern.command} preferred`,"info","stage-bare-event-guard"))):Gu.matchBest(d,v)}}}if(!t){const e=this.buildEventHandler(h,d,r);return sv(o?this.applyModifiers(e,o):e,c)}}c.push(ov(`event patterns: ${v.length} tried, no match`,"info","stage-event"));const g=this.tryTrailingEventExtraction(m,r,y);if(g){c.push(ov("trailing event extraction succeeded","info","stage-trailing-event"));return sv(o?this.applyModifiers(g,o):g,c)}const k=y.filter(e=>"on"!==e.command),z=this.tryParseUnlessGuard(d,k,r);if(z&&z.length>0){return sv(1===z.length?z[0]:iu(z,"then",{sourceLanguage:r,confidence:1}),c)}const w=Gu.matchBest(d,k);if(w){if(tv.has(w.pattern.command)){const e=this.trySOVEventExtraction(m,r,y);if(e){c.push(ov(`SOV event extraction preferred over bare ${w.pattern.command} command`,"info","stage-sov-loop"));return sv(o?this.applyModifiers(e,o):e,c)}const t=this.tryMidStreamEventExtraction(m,r,y);if(t){c.push(ov(`mid-stream event extraction preferred over bare ${w.pattern.command} command`,"info","stage-midstream-loop"));return sv(o?this.applyModifiers(t,o):t,c)}}else if(e.KNOWN_EVENTS.has(w.pattern.command)&&this.hasSOVEventMarkerHead(m,r)){const e=this.trySOVEventExtraction(m,r,y);if(e){c.push(ov("SOV event extraction preferred over command-homonym event "+w.pattern.command,"info","stage-sov-homonym"));return sv(o?this.applyModifiers(e,o):e,c)}}else if("VSO"===St(r)?.wordOrder){const e=this.tryMidStreamEventExtraction(m,r,y);if(e){c.push(ov(`mid-stream event extraction preferred over bare ${w.pattern.command} command`,"info","stage-midstream-cmd"));return sv(o?this.applyModifiers(e,o):e,c)}}if(d.tokens.length>w.consumedTokens&&"SOV"===St(r)?.wordOrder){const e=this.trySOVEventExtraction(m,r,y);if(e){c.push(ov(`SOV event extraction preferred over partial ${w.pattern.command} command (trailing remainder)`,"info","stage-sov-trailing"));return sv(o?this.applyModifiers(e,o):e,c)}}if(d.tokens.length>w.consumedTokens&&!tv.has(w.pattern.command)){const e=this.tryTopLevelCommandSequence(d,k,r);if(e)return c.push(ov(`top-level command sequence: ${e.statements.length} commands`,"info","stage-top-level-sequence")),sv(e,c)}c.push(ov(`command pattern matched: ${w.pattern.id} (confidence: ${w.confidence.toFixed(2)})`,"info","pattern-match"));const t=function(e,t,r){const i=t.tokens.length;if(e.consumedTokens>=i)return null;const a=t.tokens[e.consumedTokens],n=t.tokens[i-1];if(!a||!n)return null;const o=r.slice(a.position.start,n.position.end);if(!o.trim())return null;const s=o.length>lv?o.slice(0,lv)+"\u2026":o;return`pattern ${e.pattern.id} left ${i-e.consumedTokens} token(s) unconsumed: "${s}"`}(w,d,m);return t&&c.push(ov(t,"warning","unconsumed-input")),sv(this.buildCommand(w,r),c)}if(c.push(ov(`command patterns: ${k.length} tried, no match`,"info","stage-command")),!m.includes("\n")&&"VSO"===St(r)?.wordOrder){const e=this.tryMidStreamEventExtraction(m,r,y);if(e){c.push(ov("mid-stream event extraction succeeded with no leading command match","info","stage-midstream-nocmd"));return sv(o?this.applyModifiers(e,o):e,c)}}const b=this.trySOVEventExtraction(m,r,y);if(b){c.push(ov("SOV event extraction succeeded","info","stage-sov"));return sv(o?this.applyModifiers(b,o):b,c)}c.push(ov("SOV event extraction: no event keyword found","info","stage-sov"));const x=this.tryCompoundCommandParsing(d,k,r);if(x)return c.push(ov("compound command parsing succeeded","info","stage-compound")),sv(x,c);throw c.push(ov("compound parsing: no then-keywords or no command matches","info","stage-compound")),c.push(ov(`all parse stages exhausted for "${m}"`,"error","parse-failed")),new nv(`Could not parse input in ${r}: ${m}`,r,m,c)}parseStatements(e,t){const r=Qu(e,t),i=Ct(t).filter(e=>"on"!==e.command).sort((e,t)=>t.priority-e.priority);this.coverageFrames.push([]);try{const e=this.parseBodyWithClauses(r,i,t),a=this.coverageFrames[this.coverageFrames.length-1];if(a.length>0&&e.length>0){const t=e[e.length-1];e[e.length-1]=sv(t,[...t.diagnostics??[],...a])}return e}finally{this.coverageFrames.pop()}}canParse(e,t){try{return this.parse(e,t),!0}catch{return!1}}supportedLanguages(){return Ju()}buildCommand(e,t){if(!e)throw Error("No match to build command from");const r={};for(const[t,i]of e.captured)r[t]=i;const i=eu(e.pattern.command,r,{sourceLanguage:t,patternId:e.pattern.id,confidence:e.confidence});return this.registerBoundIdentifiers(i),i}buildEventHandler(r,i,a){if(!r)throw Error("No match to build event handler from");let n=r.captured.get("event");if(!n)throw Error("Event handler pattern matched but no event captured");{const t="expression"===n.type?n.raw:"literal"===n.type?n.value:void 0;if("string"==typeof t&&/^[^\s()[\]{}:]+$/.test(t)){const r=wm[a]?.[t];r?n={type:"literal",value:r,dataType:"string"}:"expression"===n.type&&e.KNOWN_EVENTS.has(t.toLowerCase())&&(n={type:"literal",value:t.toLowerCase(),dataType:"string"})}}let o=Gu.extractEventModifiers(i);const s=r.captured.get("source");s&&r.pattern.id.endsWith("source")&&("reference"!==s.type||"me"!==s.value)&&(o={...o??{},from:s});const l=this.extractOrConjunctionEvents(i,a);let p,m=n;if(l.length>0&&"literal"===n.type){m={type:"literal",value:[n.value+"",...l.map(e=>("value"in e?e.value:"")+"")].join(" or ")}}const c=r.captured.get("action");if(c&&"literal"===c.type&&"if"===c.value){const e=i.tokens;let n=-1;for(let t=i.position()-1;t>=0;t--){const r=e[t],i=(r.normalized??r.value).toLowerCase();if(this.isIfKeyword(i,a)){n=t;break}}if(n>=0){const s=Ct(a).filter(e=>"on"!==e.command).sort((e,t)=>t.priority-e.priority);let l=e.slice(n);if(r.pattern.id.endsWith("vso-verb-first")&&"literal"===m.type){const e=((m.value??"")+"").split("[")[0].trim().toLowerCase(),t=l.findIndex((t,r)=>{if(0===r||""===e)return!1;const i=(t.normalized??t.value).toLowerCase(),a=l[r-1];return i===e&&"keyword"===a.kind&&"on"===(a.normalized??"").toLowerCase()});if(t>0){const e=l[t+1],r=e&&"selector"===e.kind&&e.value.startsWith("[")?1:0;l=[...l.slice(0,t-1),...l.slice(t+1+r)]}}const p=new t(l,a),c=this.coverageMark(),d=this.parseBodyWithClauses(p,s,a);if(d.some(e=>"conditional"===e.kind)||1===d.length&&"compound"===d[0]?.kind&&d[0].statements.some(e=>"conditional"===e.kind)){for(;!i.isAtEnd();)i.advance();return tu(m,d,o,{sourceLanguage:a,patternId:r.pattern.id,confidence:r.confidence})}this.coverageRollback(c)}}if(c&&"literal"===c.type&&c.value+""!="js"&&void 0!==pt(c.value+"")){const t=c.value,o={};for(const[e,t]of r.captured)"event"!==e&&"action"!==e&&"continues"!==e&&(o[e]=t);if("repeat"===t){const e=i.peek(),t=e=>(e.normalized??e.value).toLowerCase();if(e&&"keyword"===e.kind&&"forever"===t(e))o.loopType={type:"literal",value:"forever"},delete o.patient,i.advance();else if(e&&"keyword"===e.kind&&"event"===t(e)){i.advance();const e=i.peek();if(e)for(o.event={type:"literal",value:t(e)},o.loopType={type:"literal",value:"until-event"},delete o.patient;!i.isAtEnd();){const e=i.peek();if(!e||"conjunction"===e.kind||"keyword"===e.kind&&(this.isThenKeyword(e.value,a)||this.isEndKeyword(e.value,a)))break;i.advance()}}const r=o.patient;r&&"reference"===r.type&&"me"===r.value&&delete o.patient}let s=eu(t,o,{sourceLanguage:a,patternId:r.pattern.id,confidence:r.confidence});this.registerBoundIdentifiers(s);let l=[];if(!tv.has(t)||"repeat"===t||"while"===t){const e=r.pattern.id.includes("verb-first"),p=i.tokens,m=i.position(),c=e=>"conjunction"===e.kind||"keyword"===e.kind&&(this.isThenKeyword(e.value,a)||this.isEndKeyword(e.value,a)),d=new Set;{const e=St(a)?.keywords?.[t];e?.primary&&d.add(e.primary.toLowerCase());for(const t of e?.alternatives??[])d.add(t.toLowerCase())}let u=-1;for(let e=m-1;e>=0;e--){const r=p[e];if(c(r))break;if((r.normalized??r.value).toLowerCase()===t||d.has(r.value.toLowerCase())){u=e;break}}if(u>=0){let r=m;for(;p.length>r&&!c(p[r]);)r++;const d=p.slice(u,r);let y=d;if(e){const e=((n.value??"")+"").toLowerCase(),t=d.findIndex(t=>(t.normalized??t.value).toLowerCase()===e);if(0>t)y=null;else{const e=d[t-1],r=e&&"keyword"===e.kind&&"on"===e.normalized?.toLowerCase()?t-1:t;y=[...d.slice(0,r),...d.slice(t+1)]}}if(y&&y.length>1){const e=Ct(a).filter(e=>"on"!==e.command).sort((e,t)=>t.priority-e.priority),n=this.coverageMark(),p=this.parseClause(y,e,a),m=p[0],c=e=>null!==e&&"object"==typeof e&&"string"==typeof e.type?e.type:typeof e,d=pt(t),u=d?.primaryRole,v=e=>"patient"===e&&u&&"patient"!==u&&!d?.roles.some(e=>"patient"===e.role)?u:e,f=(e,r)=>{if(!tv.has(t)||!d)return!1;const i=d.roles.find(t=>t.role===v(e));return!i||i.expectedTypes.length>0&&!i.expectedTypes.includes(c(r))},h=(e,t)=>"patient"===e&&!!d&&!d.roles.some(e=>"patient"===e.role)&&"literal"===c(t)&&Gr.has(((t.value??"")+"").toLowerCase()),g=e=>null!==e&&"object"==typeof e&&!0===e.implicit,k=!!m&&"command"===m.kind&&Object.entries(o).every(([e,r])=>{if(g(r))return!0;if(f(e,r)||h(e,r))return!0;const i=m.roles.get(v(e));if(void 0!==i&&c(i)===c(r))return!0;if("patient"===e&&"pick"===t&&"literal"===c(r)){const e=m.roles.get("method"),t=c(e),i="literal"===t?e.value+"":"expression"===t?e.raw+"":void 0;return void 0!==i&&i===r.value+""}return!1}),z=m?.metadata?.patternId??"",w=!tv.has(t)||/^repeat-.*-(times|for-in|while-head|until-head)$/.test(z);if((1===p.length||/^repeat-.*-(times|for-in|while-head|until-head)$/.test(z)&&p.length>1)&&m&&"command"===m.kind&&(m.action===t||"while"===t&&"repeat"===m.action&&/-while-head$/.test(m.metadata?.patternId??""))&&k&&w&&(m.roles.size>Object.entries(o).filter(([e,t])=>!h(e,t)).length||[...m.roles.values()].filter(e=>!g(e)).length>Object.entries(o).filter(([e,t])=>!h(e,t)&&!g(t)).length))for(s=m,l=p.slice(1);i.position()<r;)i.advance();else this.coverageRollback(n)}}}if(!tv.has(t)){const r=s,n=pt(t)?.roles.some(e=>"quantity"===e.role&&!e.required);if(n&&!r.roles.has("quantity")){const e=i.peek();e&&/^-?\d+(\.\d+)?$/.test(e.value)&&(s=eu(t,{...Object.fromEntries(r.roles),quantity:{type:"literal",value:parseFloat(e.value),dataType:"number"}},r.metadata),i.advance())}const o=s,l=pt(t)?.roles.some(e=>"duration"===e.role&&!e.required);if(l&&!o.roles.has("duration")){const e=/^\d+(\.\d+)?(ms|s)$/i;let r=i.peek(),n=!1;if(r&&"particle"===r.kind){const t=i.peek(1);t&&e.test(t.value)&&(n=!0,r=t)}r&&e.test(r.value)&&(s=eu(t,{...Object.fromEntries(o.roles),duration:{type:"literal",value:r.value,dataType:"string"}},o.metadata),n&&i.advance(),i.advance(),this.consumeForPostposition(i,a))}const p=s,m=pt(t),c=m?.roles.find(e=>"responseType"===e.role&&!e.required);if(c&&!p.roles.has("responseType")){const r=t=>"string"==typeof t&&e.RESPONSE_TYPE_WORDS.has(t.toLowerCase()),a=(e,r)=>{const i=Object.fromEntries(p.roles);r&&delete i.destination,i.responseType={type:"expression",raw:e},s=eu(t,i,p.metadata)},n=p.roles.get("destination"),o=m?.roles.find(e=>"destination"===e.role),l=n?.raw??n?.value;if(n&&o&&!o.expectedTypes.includes(n.type)&&r(l))a(l,!0);else{const e=i.peek();e&&r(e.value)&&(a(e.value,!1),i.advance())}}if("wait"===t){const e=s;if(!e.roles.has("event")){const r=i.peek();if(r&&av.has(r.value.toLowerCase())){const n=Object.fromEntries(e.roles),o=n.duration;o&&"literal"!==o.type&&"expression"!==o.type&&delete n.duration;const l=n.patient;l&&"reference"===l.type&&"me"===l.value&&delete n.patient,n.event={type:"literal",value:r.value,dataType:"string"},s=eu(t,n,e.metadata),i.advance(),this.consumeForPostposition(i,a)}}}this.tryAttachTrailingRole(i,s,a),this.tryAttachTrailingStyle(i,s,a),this.tryAttachTrailingExpressionRole(i,s,a)}const m=r.captured.get("continues"),d="literal"===m?.type&&"then"===m.value,u=i.peek(),y=!!u&&this.isThenKeyword(u.value,a),v=tv.has(t)&&!!u&&!this.isEndKeyword(u.value,a),f=!!u&&!this.isEndKeyword(u.value,a);if(d||y||v||f){const e=Ct(a).filter(e=>"on"!==e.command).sort((e,t)=>t.priority-e.priority),t=Ct(a).filter(e=>e.id.startsWith("grammar-")&&e.id.includes("-continuation")).sort((e,t)=>t.priority-e.priority),r=this.parseBodyWithGrammarPatterns(i,e,t,a);p=r.length>0?[s,...l,...r]:[s,...l]}else p=[s,...l],i.isAtEnd()||this.recordDroppedTokens(i.tokens.slice(i.position()),a,"handler body tail")}else{const e=Ct(a).filter(e=>"on"!==e.command).sort((e,t)=>t.priority-e.priority),n=c?r.roleStarts?.get("action"):void 0;if(void 0!==n&&n<i.position()){const r=new t(i.tokens.slice(n),a);for(p=this.parseBodyWithClauses(r,e,a);!i.isAtEnd();)i.advance()}else p=this.parseBodyWithClauses(i,e,a)}return tu(m,p.length>1?[iu(p,"then",{sourceLanguage:a})]:p,o,{sourceLanguage:a,patternId:r.pattern.id,confidence:r.confidence})}parseBodyWithClauses(e,t,r){const i=[],a=[];let n=0;const o=[];for(;!e.isAtEnd();){const s=e.peek();if(!s)break;if(0===a.length){const a=this.consumeJsBlock(e,r)??this.consumeVerbFinalJsBlock(e,r);if(a){i.push(a);continue}const n=this.tryParseConditionalBlock(e,t,r);if(n){i.push(n);continue}const o=this.tryParseUnlessGuard(e,t,r);if(o){i.push(...o);continue}}const l="conjunction"===s.kind||"keyword"===s.kind&&this.isThenKeyword(s.value,r),p=a[a.length-1],m=e.peek(1),c="at"===p?.value.toLowerCase()&&"of"===m?.value.toLowerCase()||ti(r,s.value,p?.value,m?.value),d="keyword"===s.kind&&this.isEndKeyword(s.value,r)&&!c;if(d&&0<n)n--,o.pop(),a.push({...s,metadata:{...s.metadata,closesTrackedBlock:!0}}),e.advance();else if(l&&o.includes("if"))a.push(s),e.advance();else if(l){if(a.length>0){const e=this.parseClause(a,t,r);i.push(...e),a.length=0,n=e.filter(e=>{const t=e;return!("for"!==t.action&&"repeat"!==t.action&&"while"!==t.action||Array.isArray(t.body)&&0!==t.body.length)}).length,o.length=0;for(let e=0;n>e;e++)o.push("other")}e.advance()}else{if(d){e.advance();const n=[];for(;!e.isAtEnd();){const t=e.peek();if(!t)break;if("conjunction"===t.kind||"keyword"===t.kind&&(this.isThenKeyword(t.value,r)||this.isEndKeyword(t.value,r)))break;n.push(t),e.advance()}if(n.length>0){const e=this.coverageMark(),o=a.length>0?this.parseClause(a,t,r):[];0===o.length&&a.length>0?(this.coverageRollback(e),i.push(...this.parseClause([...a,...n],t,r))):(i.push(...o),i.push(...this.parseClause(n,t,r)))}else if(a.length>0){const e=this.parseClause(a,t,r);i.push(...e)}a.length=0;break}if("keyword"===s.kind){const e=(s.normalized??s.value).toLowerCase();(this.isIfKeyword(e,r)||this.isUnlessKeyword(e,r)||"while"===e||"for"===e||"repeat"===e)&&(n++,o.push(this.isIfKeyword(e,r)?"if":"other"))}a.push(s),e.advance()}}if(a.length>0){const e=this.parseClause(a,t,r);i.push(...e)}e.isAtEnd()||this.recordDroppedTokens(e.tokens.slice(e.position()),r,"body stream tail"),this.foldFrontedWhileIntoRepeat(i,r);for(let e=i.length-1;e>=0;e--){const t=i[e];"command"!==t.kind||"for"!==t.action||t.roles instanceof Map&&0!==t.roles.size||Array.isArray(t.body)&&0!==t.body.length||i.splice(e,1)}return i.length>1?[iu(i,"then",{sourceLanguage:r})]:i}tryTopLevelCommandSequence(e,r,i){const a=this.coverageMark();let n;try{const a=new t(e.tokens,i);n=this.parseBodyWithClauses(a,r,i)}catch{return this.coverageRollback(a),null}if(1!==n.length||"compound"!==n[0].kind)return this.coverageRollback(a),null;const o=n[0];if(2>o.statements.length)return this.coverageRollback(a),null;const s=o.statements.map(e=>e.metadata?.confidence??.75),l=s.reduce((e,t)=>e+t,0)/s.length;return iu(o.statements,o.chainType,{sourceLanguage:i,confidence:l})}foldFrontedWhileIntoRepeat(e,t){for(let r=0;e.length>r+1;r++){const i=e[r],a=e[r+1];if("command"!==i.kind||"while"!==i.action)continue;if("command"!==a.kind||"repeat"!==a.action)continue;const n=i.roles.get("condition");if(!n)continue;if(a.roles.has("condition"))continue;if(Array.isArray(i.body)||Array.isArray(a.body))continue;const o=new Map(a.roles);o.set("condition",n),o.set("loopType",{type:"literal",value:"while",dataType:"string"}),e.splice(r,2,{...a,roles:o,metadata:{...a.metadata,sourceLanguage:t,patternId:`repeat-${t}-fronted-while-fold`,confidence:Math.max(a.metadata?.confidence??0,i.metadata?.confidence??0)}})}}parseClause(r,i,a){if(0===r.length)return[];let n=null,o=r;const s=r[r.length-1];if(s&&r.length>=2){const e=(s.normalized??s.value).toLowerCase();this.isUnlessKeyword(e,a)&&(n="unless",o=r.slice(0,-1))}let l=null;if(n&&o.length>=3){const t=St(a),r=t?e.buildVerbLookup(t):null;if(r)for(let t=1;o.length-1>t;t++){const i=o[t],a=r.get(i.value.toLowerCase())??(i.normalized?r.get(i.normalized.toLowerCase()):void 0);if(a&&!e.CONDITION_OPERATORS.has(a)){l=o.slice(0,t),o=o.slice(t);break}}}const p=new t(o,a),m=[],c=this.coverageMark();let d=0;const u=[];let y=l;const v=()=>{if(0===u.length)return;const e=u.slice();if(u.length=0,n&&0===m.length&&null===y)return void(y=e);const t=e[0];if(!(t&&("identifier"===t.kind||"selector"===t.kind||"literal"===t.kind||"reference"===t.kind)))return void this.recordDroppedTokens(e,a,"body clause");let r=!1;for(const t of this.parseSOVClauseByVerbAnchoring(e,a)){const e=t.action,i=t.roles;e&&pt(e)&&i instanceof Map&&i.size>0&&(m.push(t),r=!0)}r||this.recordDroppedTokens(e,a,"body clause")};for(;!p.isAtEnd();){const e=p.peek(),t=!!e&&"repeat"===e.normalized?.toLowerCase(),r=p.mark(),n=Gu.matchBest(p,i);if(t&&n&&"repeat"!==n.pattern.command)p.reset(r),v(),m.push(eu("repeat",{},{sourceLanguage:a,confidence:.6})),d++,p.advance();else{if(n&&"if"===n.pattern.command){const e=p.mark(),t=u.length;for(p.reset(r);!p.isAtEnd();){const e=p.peek();if(!e||this.isIfKeyword((e.normalized??e.value).toLowerCase(),a))break;u.push(e),p.advance()}const n=this.tryParseConditionalBlock(p,i,a);if(n){v(),m.push(n),d++;continue}u.length=t,p.reset(e)}if(n){v();const e=this.buildCommand(n,a);m.push(e),d++,this.tryAttachTrailingRole(p,e,a),this.tryAttachTrailingStyle(p,e,a),this.tryAttachTrailingExpressionRole(p,e,a),this.tryAttachTrailingDuration(p,e)}else{const e=p.peek();e&&"repeat"===e.normalized?.toLowerCase()?(v(),m.push(eu("repeat",{},{sourceLanguage:a,confidence:.6})),d++):e&&u.push(e),p.advance()}}}v();let f=m;if(0===d){const e=this.parseSOVClauseByVerbAnchoring(o,a);e.length>0&&(this.coverageRollback(c),f=e)}const h=y;if(n&&f.length>0&&h&&h.length>0){return[eu(n,{condition:{type:"expression",raw:this.joinTokenText(h,a)}},{sourceLanguage:a,patternId:`${n}-${a}-trailing-guard`,confidence:.85}),...f]}return n&&h&&h.length>0&&0===f.length?[eu(n,{condition:{type:"expression",raw:this.joinTokenText(h,a)}},{sourceLanguage:a,patternId:`${n}-${a}-trailing-guard`,confidence:.85})]:f}tryAttachTrailingDuration(e,t){const r=t.roles;if(r.has("duration"))return;const i=pt(t.action);if(!i?.roles.some(e=>"duration"===e.role&&!e.required))return;const a=e.peek();a&&/^\d+(?:\.\d+)?(?:ms|s|m|h)$/.test(a.value)&&(r.set("duration",Yd(a.value,"duration")),e.advance())}tryAttachTrailingRole(e,t,r){const i=pt(t.action);if(!i)return;const a=St(r);if(!a)return;const n=t.roles,o=(e,t)=>{if(!e)return!1;if("selector"===e.kind)return!0;const r=(e.normalized??e.value).toLowerCase();return!rv.has(r)&&("body"===r||"it"===r||"you"===r||"result"===r||"document"===r||"window"===r||(!!this.boundIdentifiers.has(e.value)||!t&&("identifier"===e.kind||"reference"===e.kind)))},s=[{role:"source",strict:!1},{role:"destination",strict:!0}];for(const{role:t,strict:r}of s){if(!i.roles.some(e=>e.role===t))continue;const s=a.roleMarkers?.[t];if(!s)continue;const l=n.get(t);if(l&&("reference"!==l.type||"me"!==l.value))continue;const p=e=>{if(!e||"particle"!==e.kind&&"keyword"!==e.kind)return!1;const i=e.value.toLowerCase();return s.primary?.toLowerCase()===i||!r&&((e.normalized??"").toLowerCase()===t||!!s.alternatives?.some(e=>e.toLowerCase()===i))},m=e.peek(),c=e.peek(1);if(!m||!c)return;if(r&&"after"===s.position){const r=e.peek(2),i=(m.normalized??m.value).toLowerCase();if(iv.has(i)&&"selector"===c.kind&&p(r))return n.set(t,{type:"expression",raw:`${i} ${c.value}`}),e.advance(),e.advance(),void e.advance()}if("after"===s.position){if(o(m,r)&&p(c)){const r=this.tokenToSemanticValue(m);return e.advance(),e.advance(),void(r&&n.set(t,r))}if(r&&o(m,r)){const r=e.peek(2),i=e.peek(3);if("in"===(c.normalized??c.value).toLowerCase()&&r&&!p(r)&&p(i)){const r=this.tokenToSemanticValue(m);return e.advance(),e.advance(),e.advance(),e.advance(),void(r&&n.set(t,r))}}}else if(p(m)&&o(c,r)){e.advance();const r=this.tokenToSemanticValue(e.advance());return void(r&&n.set(t,r))}}}tryAttachTrailingStyle(r,i,a){if("fetch"!==i.action&&"render"!==i.action)return;const n=i.roles,o=pt(i.action);if(!o?.roles.some(e=>"style"===e.role))return;const s=n.get("style");if(s){if("expression"===s.type&&"string"==typeof s.raw&&/^[A-Za-z_][\w-]*$/.test(s.raw)&&":"===r.peek()?.value){const e=$u(r,s.raw);e&&n.set("style",{type:"expression",raw:e})}return void this.tryAttachResponseTypeAfterStyle(r,i,a)}if("fetch"===i.action){const e=n.get("patient"),t=n.get("source");if(e&&t&&("literal"===e.type||"expression"===e.type)&&"expression"===t.type&&"string"==typeof t.raw&&/^[A-Za-z_][\w-]*$/.test(t.raw)&&":"===r.peek()?.value){const e=$u(r,t.raw);return void(e&&(n.set("source",{type:"expression",raw:e}),this.tryAttachResponseTypeAfterStyle(r,i,a)))}}const l=St(a),p=l?.roleMarkers?.style;if(!p)return;if("before"===p.position){const e=new Set([p.primary,...p.alternatives??[]].map(e=>e.toLowerCase())),t=r.peek();if(!t||!e.has(t.value.toLowerCase()))return;const o=r.mark();r.advance();const s=$u(r);return s?(n.set("style",{type:"expression",raw:s}),void this.tryAttachResponseTypeAfterStyle(r,i,a)):void r.reset(o)}if("after"!==p.position)return;const m=new Set([p.primary,...p.alternatives??[]].map(e=>e.toLowerCase())),c=e=>"conjunction"===e.kind||"keyword"===e.kind&&(this.isThenKeyword(e.value,a)||this.isEndKeyword(e.value,a));let d=-1,u=0;for(let e=0;24>e;e++){const t=r.peek(e);if(!t||c(t))break;if("("===t.value||"{"===t.value?u++:")"!==t.value&&"}"!==t.value||(u=Math.max(0,u-1)),0===u&&("particle"===t.kind||"keyword"===t.kind)&&m.has(t.value.toLowerCase())){d=e;break}}if(0>=d)return;const y=[];for(let e=0;d>e;e++){const t=r.peek(e);t&&y.push(t)}if(1===y.length&&e.RESPONSE_TYPE_WORDS.has(y[0].value.toLowerCase()))return;const v=new t(y,a),f=$u(v);n.set("style",{type:"expression",raw:f&&v.isAtEnd()?f:this.joinTokenText(y,a)});for(let e=0;d>=e;e++)r.advance();this.tryAttachResponseTypeAfterStyle(r,i,a)}tryAttachResponseTypeAfterStyle(t,r,i){const a=r.roles;if(a.has("responseType"))return;const n=pt(r.action);if(!n?.roles.some(e=>"responseType"===e.role&&!e.required))return;const o=t=>!!t&&e.RESPONSE_TYPE_WORDS.has(t.toLowerCase()),s=t.peek();if(!s)return;const l=e=>{a.set("responseType",{type:"expression",raw:e})},p=e.AS_MARKERS_BEFORE[i];if(p?.some(e=>s.value.toLowerCase()===e)){const e=t.peek(1);return void(e&&o(e.value)&&(t.advance(),t.advance(),l(e.value)))}if(o(s.value)){t.advance(),l(s.value);for(const r of e.AS_MARKERS_AFTER[i]??[])if(r.every((e,r)=>t.peek(r)?.value.toLowerCase()===e)){for(let e=0;r.length>e;e++)t.advance();break}}}tryAttachTrailingExpressionRole(e,t,r){const i=t.action,a="js"===i?{role:"patient",terminator:"boundary"}:"go"===i||"scroll"===i?{role:"destination",terminator:"destination-marker"}:null;if(!a)return;const n=t.roles,o=n.get(a.role);if("go"===i&&o&&"expression"===o.type&&"url"===(o.raw+"").toLowerCase()){const t=e.peek();if(t&&!rv.has((t.normalized??t.value).toLowerCase())){const r=this.tokenToSemanticValue(t);if("literal"===r.type||"selector"===r.type)return n.set(a.role,r),n.set("method",{type:"literal",value:"url"}),void e.advance()}const r=n.get("patient");if(r&&("literal"===r.type||"selector"===r.type))return n.set(a.role,r),n.set("method",{type:"literal",value:"url"}),void n.delete("patient")}if("go"===i&&o&&"expression"===o.type){const e=/^url\s+(\S+)$/i.exec((o.raw??"")+"");if(e){const t=e[1].replace(/^["']|["']$/g,"");return n.set(a.role,{type:"literal",value:t,dataType:"string"}),void n.set("method",{type:"literal",value:"url"})}}if("go"===i&&!o){const t=n.get("patient");if(t&&"expression"===t.type&&"url"===(t.raw+"").toLowerCase()){const t=e.peek();if(t&&!rv.has((t.normalized??t.value).toLowerCase())){const r=this.tokenToSemanticValue(t);if("literal"===r.type||"selector"===r.type)return n.set(a.role,r),n.set("method",{type:"literal",value:"url"}),n.delete("patient"),void e.advance()}}}if(o&&("reference"!==o.type||"me"!==o.value))return;const s=St(r);if(!s)return;let l=null;if("destination-marker"===a.terminator){const e=s.roleMarkers?.destination;if(!e||"after"!==e.position)return;l=e.primary.toLowerCase()}const p=e=>"conjunction"===e.kind||"keyword"===e.kind&&(this.isThenKeyword(e.value,r)||this.isEndKeyword(e.value,r)),m=[];let c=0,d=!1;for(let t=0;24>t;t++){const r=e.peek(t);if(!r||p(r))break;if("("===r.value||"{"===r.value?c++:")"!==r.value&&"}"!==r.value||(c=Math.max(0,c-1)),null!==l&&0===c&&("particle"===r.kind||"keyword"===r.kind)&&r.value.toLowerCase()===l){d=!0;break}m.push(r)}if(0===m.length)return;if(null!==l&&!d)return;const u=m.length+(d?1:0);if("go"===i&&2===m.length&&"url"===m[0].value.toLowerCase()){const t=this.tokenToSemanticValue(m[1]);if("literal"===t.type||"selector"===t.type){n.set(a.role,t),n.set("method",{type:"literal",value:"url"});const r=n.get("patient");r&&"reference"===r.type&&"me"===r.value&&!pt(i)?.roles.some(e=>"patient"===e.role)&&n.delete("patient");for(let t=0;u>t;t++)e.advance();return}}let y=m;if("js"===i){const e=s.keywords?.js,t=t=>[e?.primary,...e?.alternatives??[]].some(e=>!!e&&e.length>t.value.length&&e.includes(t.value));let r=0;for(;y.length>r&&t(y[r]);)r++;if(y=y.slice(r),0===y.length)return}if(n.set(a.role,{type:"expression",raw:this.joinTokenText(y,r)}),"patient"!==a.role){const e=n.get("patient");e&&"reference"===e.type&&"me"===e.value&&!pt(i)?.roles.some(e=>"patient"===e.role)&&n.delete("patient")}for(let t=0;u>t;t++)e.advance()}static buildVerbLookup(e){const t=new Map;for(const[r,i]of Object.entries(e.keywords))if(!["on","if","else","when","where","while","end","then","and"].includes(r)&&(t.set(i.primary.toLowerCase(),r),i.alternatives))for(const e of i.alternatives)t.set(e.toLowerCase(),r);return t}static buildMarkerToRoleLookup(e){const t=new Map;for(const[r,i]of Object.entries(e.roleMarkers)){if(!i)continue;if(!("event"!==r)&&t.has(i.primary)||t.set(i.primary,r),i.alternatives)for(const e of i.alternatives)t.has(e)||t.set(e,r)}return t}parseSOVClauseByVerbAnchoring(t,r){const i=St(r);if(!i||"SOV"!==i.wordOrder)return[];const a=e.buildVerbLookup(i),n=e.buildMarkerToRoleLookup(i),o=[];let s=0;for(;t.length>s;){let e=-1,i="";for(let r=s;t.length>r;r++){const o=t[r];if(n.has(o.value))continue;const s=a.get(o.value.toLowerCase()),l=o.normalized?a.get(o.normalized.toLowerCase()):void 0,p=s||l;if(p){e=r,i=p;break}}if(-1===e)break;const l=t.slice(s,e);let p=t.length;for(let i=e+1;t.length>i;i++){const o=t[i];if("conjunction"===o.kind||this.isThenKeyword(o.value,r)){p=i;break}if(i>e+1&&!n.has(o.value)){if(a.get(o.value.toLowerCase())||(o.normalized?a.get(o.normalized.toLowerCase()):void 0)){p=i;break}}}const m=t.slice(e+1,p),c=this.extractRolesFromMarkedTokens(l,m,n,i,r);if(o.push(eu(i,c,{sourceLanguage:r,confidence:.7})),s=p,t.length>s){const e=t[s];("conjunction"===e.kind||this.isThenKeyword(e.value,r))&&s++}}return o}extractRolesFromMarkedTokens(e,t,r,i,a){const n={},o=(e,t)=>{const r=this.isEndKeyword(e.value,a),i="keyword"===e.kind&&"end"===(e.normalized??"").toLowerCase();return!(!r&&!i)&&(!0===e.metadata?.closesTrackedBlock||(!!r||!(t&&"selector"===t.kind)))},s=e=>{let t=[];for(let s=0;e.length>s;s++){const l=e[s];if(o(l,e[s+1]))continue;const p=r.get(l.value);if(p&&"particle"===l.kind&&t.length>0){const e=this.tokensToSemanticValue(t,a);if(e){const t=this.mapRoleForCommand(p,i,n);t&&(n[t]=e)}t=[]}else t.push(l)}if(t.length>0){if(1===t.length&&/^\d+(\.\d+)?(ms|s)$/i.test(t[0].value)&&!n.duration&&pt(i)?.roles.some(e=>"duration"===e.role))n.duration={type:"literal",value:t[0].value,dataType:"string"};else{const e=this.tokensToSemanticValue(t,a);e&&(n.patient?n.destination||(n.destination=e):n.patient=e)}}};return s(e),s(t),n}mapRoleForCommand(e,t,r){return"set"===t&&("patient"===e?e="destination":"destination"===e&&(e="patient")),r[e]?"patient"!==e||r.destination?"destination"!==e||r.patient?"source"!==e||r.source?null:"source":"patient":"destination":e}tokensToSemanticValue(e,t){if(0===e.length)return null;let r=e.filter(e=>"whitespace"!==e.kind);if(0===r.length)return null;if(r.length>=2&&("selector"===r[0].kind||/^[#.@*<]/.test(r[0].value))){const e=r.findIndex((e,t)=>t>0&&"in"===(e.normalized??e.value).toLowerCase());e>0&&(r=r.slice(0,e))}if(1===r.length)return this.tokenToSemanticValue(r[0]);const i=r.map(e=>e.value).join(""),a=r[0];return"selector"===a.kind||a.value.startsWith("#")||a.value.startsWith(".")||a.value.startsWith("@")||a.value.startsWith("*")?Zd(i):"literal"===a.kind||a.value.startsWith('"')||a.value.startsWith("'")?Yd(cv(i),"string"):"reference"===a.kind?Qd(i):Yd(this.joinTokenText(r,t))}tokenToSemanticValue(e){const t=e.value;if("selector"===e.kind||t.startsWith("#")||t.startsWith(".")||t.startsWith("@")||t.startsWith("*"))return Zd(t);if(t.startsWith('"')||t.startsWith("'"))return Yd(cv(t),"string");if(/^-?\d+(\.\d+)?$/.test(t))return Yd(parseFloat(t));if("true"===t||"\u771f"===t||"\ucc38"===t||"do\u011fru"===t)return Yd(!0);if("false"===t||"\u507d"===t||"\uac70\uc9d3"===t||"yanl\u0131\u015f"===t)return Yd(!1);if(t.length>1&&(t.startsWith(":")||t.startsWith("$")))return Qd(t);const r=e.normalized?.toLowerCase();return"me"===r||"it"===r||"you"===r||"result"===r||"body"===r?Qd(r):"reference"===e.kind?Qd(e.normalized||"me"):Yd(t)}parseBodyWithGrammarPatterns(e,t,r,i){const a=[];let n=[],o=!1;const s=()=>{if(!o&&n.length>0){const e=this.parseSOVClauseByVerbAnchoring(n,i);a.push(...e),0===e.length&&this.recordDroppedTokens(n,i,"fused body walk")}else n.length>0&&this.recordDroppedTokens(n,i,"fused body walk");n=[],o=!1};let l=0;const p=()=>{let e=0;for(const t of a){const r=t;"for"!==r.action&&"repeat"!==r.action&&"while"!==r.action||Array.isArray(r.body)&&0!==r.body.length||e++}return e-l};for(;!e.isAtEnd();){const m=e.peek();if(m&&this.isThenKeyword(m.value,i)){s(),e.advance();continue}if(m&&this.isEndKeyword(m.value,i)){const t=e.peek(-1),r=e.peek(1);if(!ti(i,m.value,t?.value,r?.value)){if(s(),p()>0){l++,e.advance();continue}e.advance();break}}if(m&&!o&&this.isIfKeyword((m.normalized??m.value).toLowerCase(),i)){s();const r=this.tryParseConditionalBlock(e,t,i);if(r){a.push(r),o=!0;continue}}let c=!1;if(r.length>0){const t=Gu.matchBest(e,r);if(t){const e=t.pattern.command,r={};for(const[e,i]of t.captured)"event"!==e&&"action"!==e&&"continues"!==e&&(r[e]=i);const n=eu(e,r,{sourceLanguage:i,patternId:t.pattern.id});a.push(n),c=!0,o=!0;const s=t.captured.get("continues");if(s&&"literal"===s.type&&"then"===s.value)continue}}if(!c){const r=e.mark(),n=Gu.matchBest(e,t);if(n){if("if"===n.pattern.command){const n=e.mark();for(e.reset(r);!e.isAtEnd();){const t=e.peek();if(!t||this.isIfKeyword((t.normalized??t.value).toLowerCase(),i))break;e.advance()}const l=this.tryParseConditionalBlock(e,t,i);if(l){s(),a.push(l),o=!0;continue}e.reset(n)}const l=this.buildCommand(n,i);a.push(l),this.tryAttachTrailingRole(e,l,i),c=!0,o=!0}}c||(m&&n.push(m),e.advance())}s(),e.isAtEnd()||this.recordDroppedTokens(e.tokens.slice(e.position()),i,"fused body walk");for(let e=a.length-1;e>=0;e--){const t=a[e];"command"!==t.kind||"for"!==t.action||t.roles instanceof Map&&0!==t.roles.size||Array.isArray(t.body)&&0!==t.body.length||a.splice(e,1)}return a}tryCompoundCommandParsing(e,r,i){const a=e.tokens,n=a.some(e=>"conjunction"===e.kind||"keyword"===e.kind&&this.isThenKeyword(e.value,i)),o=a.some(e=>this.isElseKeyword(e.value,i));if(!n&&!o)return null;const s=new t(a,i),l=this.coverageMark(),p=this.parseBodyWithClauses(s,r,i);return 0===p.length?(this.coverageRollback(l),null):p[0]}static isEnEventKeyword(t){if("string"!=typeof t)return!1;const r=t.toLowerCase(),i=e.enEventKeywordCache.get(r);if(void 0!==i)return i;let a=!1;try{const e=Qu(r,"en").tokens;a=1===e.length&&"keyword"===e[0]?.kind}catch{a=!1}return e.enEventKeywordCache.set(r,a),a}matchEventMarkerPhrase(t,r,i){const a=e.SOV_EVENT_MARKER_PHRASES[i];if(!a)return 0;for(const e of a)if(e.every((e,i)=>t[r+i]?.value===e))return e.length;return 0}hasSOVEventMarkerHead(t,r){const i=e.SOV_EVENT_MARKERS[r];if(void 0===i)return!1;const{tokens:a}=Qu(t,r),n=wm[r],o=new Set;if(n)for(const e of Object.keys(n))o.add(e.toLowerCase());for(let t=0;a.length>t;t++){const n=a[t],s=n.value.toLowerCase(),l=n.normalized?.toLowerCase();if(!(!!l&&(e.KNOWN_EVENTS.has(l)||av.has(l))||e.KNOWN_EVENTS.has(s)||av.has(s)||o.has(s)))continue;const p=this.matchEventParamPhrase(a,t+1).len,m=a[t+1+p];if(m&&("particle"===m.kind||"keyword"===m.kind)&&i.has(m.value))return!0;if(this.matchEventMarkerPhrase(a,t+1+p,r)>0)return!0}return!1}matchEventParamPhrase(e,t){if("("!==e[t]?.value)return{len:0,names:[]};const r=[];for(let i=t+1;e.length>i;i++){const a=e[i].value;if(")"===a)return{len:i-t+1,names:r};if(","!==a){if("identifier"!==e[i].kind)break;r.push(a)}}return{len:0,names:[]}}isStrippableSourceRef(e,t){if(!e)return!1;const r=e.normalized?.toLowerCase();if("keyword"===e.kind&&("me"===r||"i"===r||"it"===r))return!0;const i=e.value.toLowerCase();return t.has(i)||!!r&&t.has(r)}tryTrailingEventExtraction(r,i,a){const n=Qu(r,i).tokens;if(3>n.length)return null;const o=wm[i],s=new Set;if(o)for(const e of Object.keys(o))s.add(e.toLowerCase());const l=n.length-2,p=n[l];if(!("keyword"===p.kind&&"on"===p.normalized?.toLowerCase()))return null;const m=n[n.length-1],c=m.value.toLowerCase(),d=m.normalized?.toLowerCase();if(!(!!d&&e.KNOWN_EVENTS.has(d)||e.KNOWN_EVENTS.has(c)||s.has(c)))return null;const u=d&&e.KNOWN_EVENTS.has(d)?d:o?.[c]??c,y=n.slice(0,l);if(0===y.length)return null;const v=a.filter(e=>"on"!==e.command),f=new t(y,i),h=this.coverageMark(),g=this.parseBodyWithClauses(f,v,i);return 0===g.length?(this.coverageRollback(h),null):tu({type:"literal",value:u},g,void 0,{sourceLanguage:i,confidence:.75})}tryMidStreamEventExtraction(r,i,a){const n=Qu(r,i).tokens;if(3>n.length)return null;const o=wm[i],s=new Set;if(o)for(const e of Object.keys(o))s.add(e.toLowerCase());for(let r=0;n.length-1>r;r++){const l=n[r];if(!("keyword"===l.kind&&"on"===l.normalized?.toLowerCase()))continue;const p=n[r+1],m=p.value.toLowerCase(),c=p.normalized?.toLowerCase();if(!(!!c&&e.KNOWN_EVENTS.has(c)||e.KNOWN_EVENTS.has(m)||s.has(m)))continue;const d=c&&e.KNOWN_EVENTS.has(c)?c:o?.[m]??m,u=n.filter((e,t)=>t!==r&&t!==r+1);if(0===u.length)return null;const y=a.filter(e=>"on"!==e.command),v=new t(u,i),f=this.coverageMark(),h=this.parseBodyWithClauses(v,y,i);return 0===h.length?(this.coverageRollback(f),null):tu({type:"literal",value:d},h,void 0,{sourceLanguage:i,confidence:.75})}return null}trySOVEventExtraction(r,i,a){const n=e.SOV_EVENT_MARKERS[i];if(!n)return null;const o=Qu(r,i).tokens,s=wm[i],l=new Set;if(s)for(const e of Object.keys(s))l.add(e.toLowerCase());const p=e.SOV_SOURCE_MARKERS[i];let m=-1,c="",d="",u=1,y=[];for(let t=0;o.length>t;t++){const r=o[t],a=r.value.toLowerCase();let p=a,v="";const f=a.indexOf("[");f>0&&(p=a.slice(0,f),v=r.value.slice(f));const h=r.normalized?.toLowerCase(),g=h&&(e.KNOWN_EVENTS.has(h)||av.has(h)),k=l.has(a)||l.has(p),z=e.KNOWN_EVENTS.has(p)||av.has(p);if(g||k||z){const e=o[t-1];if(e&&"event"===(e.normalized??e.value).toLowerCase())continue;let r;r=g?h:k?s?.[a]??s?.[p]??p:p;const l=this.matchEventParamPhrase(o,t+1);if(0>=n.size){m=t,c=r,d=v,u=1+l.len+this.matchEventMarkerPhrase(o,t+1+l.len,i),y=l.names;break}{let e=1+l.len;const i=o[t+e];i&&"selector"===i.kind&&i.value.startsWith("[")&&(e+=1);const a=o[t+e];if(a&&("particle"===a.kind||"keyword"===a.kind)&&n.has(a.value)){m=t,c=r,d=v||(e===l.len+2?o[t+e-1].value:""),u=e+1,y=l.names;break}}}}if(-1===m){const e=new Set(a.filter(e=>"on"!==e.command).map(e=>e.command));for(let t=0;o.length>t;t++){const r=o[t];if("identifier"===r.kind)if(n.size>0){let e=1;const i=o[t+1];i&&"selector"===i.kind&&i.value.startsWith("[")&&(e=2);const a=o[t+e];if(a&&("particle"===a.kind||"keyword"===a.kind)&&n.has(a.value)){m=t,c=r.value,d=2===e?o[t+1].value:"",u=e+1;break}}else{const a=this.matchEventMarkerPhrase(o,t+1,i);if(a>0){m=t,c=r.value,d="",u=1+a;break}const n=o[t+1];if(n&&"keyword"===n.kind&&null!=n.normalized&&e.has(n.normalized)){m=t,c=r.value,d="",u=1;break}}}}if(-1===m)return null;const v=new Set;for(let e=m;m+u>e;e++)v.add(e);if(p){const e=m+u;if(o.length>e){const t=o[e];if("particle"!==t.kind&&"keyword"!==t.kind||!p.markers.has(t.value)){if(this.isStrippableSourceRef(t,p.windowTokens)){const t=o[e+1];t&&("particle"===t.kind||"keyword"===t.kind)&&p.markers.has(t.value)&&(v.add(e),v.add(e+1))}}else v.add(e)}if(m>=2){const e=o[m-1];("particle"===e.kind||"keyword"===e.kind)&&p.markers.has(e.value)&&this.isStrippableSourceRef(o[m-2],p.windowTokens)&&(v.add(m-2),v.add(m-1))}for(let e=0;m>e;e++){const t=o[e],r=t.value.toLowerCase(),i=t.normalized?.toLowerCase();if(p.windowTokens.has(r)||i&&p.windowTokens.has(i)){v.add(e);break}}}const f=o.filter((e,t)=>!v.has(t));if(0===f.length)return null;const h=a.filter(e=>"on"!==e.command),g=new t(f,i),k=this.coverageMark(),z=this.parseBodyWithClauses(g,h,i);if(0===z.length)return this.coverageRollback(k),null;const w={sourceLanguage:i,confidence:.75};return d&&(w.keyFilter=d),tu(e.isEnEventKeyword(c)?{type:"literal",value:c}:{type:"expression",raw:c},z,void 0,w,y)}profileKeywordMatches(e,t,r){const i=St(e)?.keywords?.[t];return!!i&&(i.primary?.toLowerCase()===r||!!i.alternatives?.some(e=>e.toLowerCase()===r))}consumeForPostposition(e,t){const r=e.peek();if(!r)return;const i=(r.normalized??"").toLowerCase(),a=St(t)?.keywords?.for;("for"===i||r.value===a?.primary||(a?.alternatives??[]).includes(r.value))&&e.advance()}isThenKeyword(e,t){const r=e.toLowerCase(),i={en:new Set(["then"]),ja:new Set(["\u305d\u308c\u304b\u3089","\u6b21\u306b","\u305d\u3057\u3066"]),ar:new Set(["\u062b\u0645","\u0628\u0639\u062f\u0647\u0627","\u062b\u0645\u0651"]),es:new Set(["entonces","luego","despu\u00e9s"]),ko:new Set(["\uadf8\ub2e4\uc74c","\uadf8\ub9ac\uace0","\uadf8\ub7f0\ud6c4","\uadf8\ub7ec\uba74"]),zh:new Set(["\u7136\u540e","\u63a5\u7740","\u90a3\u4e48"]),tr:new Set(["ard\u0131ndan","daha sonra","ardindan"]),pt:new Set(["ent\u00e3o","depois","logo"]),fr:new Set(["puis","ensuite","alors"]),de:new Set(["dann","danach","anschlie\u00dfend"]),id:new Set(["lalu","kemudian","setelah itu"]),tl:new Set(["pagkatapos","tapos"]),bn:new Set(["\u09a4\u09be\u09b0\u09aa\u09b0"]),qu:new Set(["chaymantataq","hinaspa","chaymanta","chayqa"]),sw:new Set(["kisha","halafu","baadaye"])}[t];return i?i.has(r):"then"===r||this.profileKeywordMatches(t,"then",r)}isElseKeyword(e,t){const r=e.toLowerCase();return"else"===r||this.profileKeywordMatches(t,"else",r)}isEndKeyword(e,t){const r=e.toLowerCase(),i=function(e){return Wu[e]}(t);return i?"end"===r||i.has(r):"end"===r||this.profileKeywordMatches(t,"end",r)}isJsKeyword(e){const t=(e.normalized??e.value).toLowerCase();return"js"===t||this.profileKeywordMatches("en","js",t)}isPatientMarker(e,t){const r=St(t)?.roleMarkers?.patient;if(!r?.primary)return!1;const i=e.value.toLowerCase();return r.primary.toLowerCase()===i||!!r.alternatives?.some(e=>e.toLowerCase()===i)}isJsBlockTerminator(e,t){return this.isEndKeyword(e,t)||this.profileKeywordMatches(t,"end",e.toLowerCase())}consumeVerbFinalJsBlock(e,t){const r=e.mark();let i=0,a=-1;for(;;){const r=e.peek(i);if(!r)break;if(this.isThenKeyword(r.value,t)||this.isJsBlockTerminator(r.value,t))break;if(this.isJsKeyword(r)){const n=e.peek(i+1),o=!!n&&void 0!==r.position?.end&&r.position.end===n.position?.start&&this.profileKeywordMatches(t,"js",`${r.value}${n.value}`.toLowerCase()),s=e.peek(i+(o?2:1));if(i>0&&s&&this.isJsBlockTerminator(s.value,t)){a=i;break}}i++}if(0>=a)return null;const n=[];for(let t=0;a>t;t++){const r=e.peek(t);r&&n.push(r)}const o=n[n.length-1];if(o&&this.isPatientMarker(o,t)&&n.pop(),0===n.length)return e.reset(r),null;const s=this.rawJsBody(n);for(let t=0;a>t;t++)e.advance();e.advance();const l=e.peek();return l&&!this.isJsBlockTerminator(l.value,t)&&e.advance(),e.advance(),eu("js",{patient:{type:"expression",raw:s||"()"}},{sourceLanguage:t,patternId:"js-opaque-final-"+t,confidence:1})}consumeJsBlock(e,t){const r=e.peek();if(!r||!this.isJsKeyword(r))return null;const i=e.mark(),a=[];e.advance();const n=e.peek();n&&void 0!==r.position?.end&&r.position.end===n.position?.start&&this.profileKeywordMatches(t,"js",`${r.value}${n.value}`.toLowerCase())&&e.advance();const o=e.peek();o&&this.isPatientMarker(o,t)&&e.advance();let s=!1;for(;!e.isAtEnd();){const r=e.peek();if(!r)break;if(e.advance(),this.isJsBlockTerminator(r.value,t)){s=!0;break}a.push(r)}if(!s)return e.reset(i),null;return eu("js",{patient:{type:"expression",raw:this.rawJsBody(a)||"()"}},{sourceLanguage:t,patternId:"js-opaque-"+t,confidence:1})}rawJsBody(e){if(0===e.length)return"";const t=e[0].position?.start,r=e[e.length-1].position?.end,i=this.positionSource;if(void 0!==i&&void 0!==t&&void 0!==r){const a=i.slice(t,r),n=e=>e.replace(/\s+/g,"");if(n(a)===n(e.map(e=>e.value).join("")))return a.trim()}let a="";for(let t=0;e.length>t;t++){const r=e[t-1];t>0&&!(void 0!==r?.position?.end&&e[t].position?.start===r.position.end)&&(a+=" "),a+=e[t].value}return a.trim()}isIfKeyword(e,t){const r=e.toLowerCase();return"if"===r||this.profileKeywordMatches(t,"if",r)}isUnlessKeyword(e,t){const r=e.toLowerCase();return"unless"===r||this.profileKeywordMatches(t,"unless",r)}tryParseUnlessGuard(e,t,r){const i=e.peek();if(!i)return null;if(!this.isUnlessKeyword((i.normalized??i.value).toLowerCase(),r))return null;const a=e.mark(),n=this.tryParseConditionalBlock(e,t,r,!0);if(!n||"conditional"!==n.kind)return e.reset(a),null;const o=n;if(o.elseBranch&&o.elseBranch.length>0)return e.reset(a),null;const s=o.roles.get("condition");if(!s)return e.reset(a),null;return[eu("unless",{condition:s},{sourceLanguage:r,patternId:`unless-${r}-guard`,confidence:1}),...o.thenBranch]}isBlockEndToken(e,t,r){return!!this.isEndKeyword(e.value,r)||"keyword"===e.kind&&"end"===(e.normalized??"").toLowerCase()&&!(t&&"selector"===t.kind)}tryParseConditionalBlock(t,r,i,a=!1){const n=t.peek();if(!n)return null;const o=(n.normalized??n.value).toLowerCase();if(!(this.isIfKeyword(o,i)||a&&this.isUnlessKeyword(o,i)))return null;const s=t.mark(),l=this.coverageMark();t.advance();const p=[];let m=0;for(;!t.isAtEnd();){const e=t.peek();if(!e)break;const r=(e.normalized??e.value).toLowerCase();if(this.isIfKeyword(r,i)||this.isUnlessKeyword(r,i))m++,p.push(e),t.advance();else if(this.isBlockEndToken(e,t.peek(1)??void 0,i)){if(0===m){t.advance();break}m--,p.push(e),t.advance()}else p.push(e),t.advance()}if(0===p.length)return t.reset(s),this.coverageRollback(l),null;const c=St(i),d="SOV"===c?.wordOrder?e.buildVerbLookup(c):null;let u=0,y=0;const v=[];for(;p.length>u;u++){const t=p[u],a=(t.normalized??t.value).toLowerCase();if(this.isIfKeyword(a,i)||this.isUnlessKeyword(a,i)?y++:this.isBlockEndToken(t,p[u+1],i)&&y--,0===y&&this.isThenKeyword(t.value,i)){u++;break}if(0===y&&v.length>0){const a=(p[u-1].normalized??p[u-1].value).toLowerCase(),n=p[u-1].value.toLowerCase(),o=(t.normalized??t.value).toLowerCase(),s=e.CONDITION_COPULAS.has(a)||e.CONDITION_COPULAS_SURFACE.has(n)&&e.CONDITION_PREDICATES.has(o),l=null!==d&&d.has(t.value.toLowerCase())&&!e.CONDITION_PREDICATES.has(o),m=/^\.[a-zA-Z_]\w*$/.test(t.value)&&void 0!==p[u-1].position?.end&&void 0!==t.position?.start&&p[u-1].position.end===t.position.start;if(!e.CONDITION_OPERATORS.has(o)&&!m&&(!s||l)&&(this.tokensBeginCommand(p.slice(u),r,i)||this.sovCommandStartsAt(p.slice(u),d)))break}v.push(t)}if(0===v.length)return t.reset(s),this.coverageRollback(l),null;const f=[],h=[];let g=!1,k=0;for(;p.length>u;u++){const e=p[u],t=(e.normalized??e.value).toLowerCase();this.isIfKeyword(t,i)||this.isUnlessKeyword(t,i)?k++:this.isBlockEndToken(e,p[u+1],i)&&k--,0!==k||g||!this.isElseKeyword(e.value,i)?(g?h:f).push(e):g=!0}const z={type:"expression",raw:this.joinTokenText(v,i)},w=this.parseBranch(f,r,i),b=h.length>0?this.parseBranch(h,r,i):void 0;return 0!==w.length||b&&0!==b.length?au(z,w,b,{sourceLanguage:i,patternId:`conditional-${i}-folded`,confidence:1}):(t.reset(s),this.coverageRollback(l),null)}joinTokenText(e,t){return Pu(e,St(t))}tokensBeginCommand(e,r,i){if(0===e.length)return!1;const a=new t(e,i);return null!==Gu.matchBest(a,r)}sovCommandStartsAt(e,t){if(!t)return!1;const r=e=>t.has(e.value.toLowerCase())||!!e.normalized&&t.has(e.normalized.toLowerCase()),i=e=>"identifier"===e.kind||"selector"===e.kind||"literal"===e.kind||"reference"===e.kind;let a=0,n=0;for(;e.length>a+1;){const t=e[a+1];if(!i(e[a])||"particle"!==t.kind)break;n+=1,a+=2;const o=e[a];if(n>=1&&o&&r(o))return!0}return!1}parseBranch(e,r,i){if(0===e.length)return[];const a=new t(e,i),n=this.parseBodyWithClauses(a,r,i);return 1===n.length&&"compound"===n[0]?.kind?n[0].statements:n}extractStandaloneModifiers(t,r){const i=Qu(t,r).tokens;if(0===i.length)return{modifiers:null,remainingInput:null};const a=i[0].value.toLowerCase(),n=e.STANDALONE_MODIFIERS[a];if(!n)return{modifiers:null,remainingInput:null};const o={};let s=1;if("once"===n)o.once=!0;else{let e=1;if(i.length>e){const t=i[e],r=i[e+1];("keyword"===t.kind||"particle"===t.kind||"identifier"===t.kind&&"literal"===r?.kind&&/^\d+(ms|s|m)?$/.test(r.value))&&(e++,s++)}if(i.length>e){const t=i[e];if("literal"===t.kind){const r=t.value.match(/^(\d+)(ms|s|m)?$/);if(r){let t=parseInt(r[1],10);const i=r[2]||"ms";"s"===i?t*=1e3:"m"===i&&(t*=6e4),o[n]=t,s=e+1}}}o[n]||(o[n]="debounce"===n?300:100)}const l=i.slice(s);if(0===l.length)return{modifiers:null,remainingInput:null};return{modifiers:o,remainingInput:t.slice(l[0].position.start)}}stripAsyncModifier(e,t){const r=St(t)?.keywords?.async,i=new Set(["async"]);r?.primary&&i.add(r.primary.toLowerCase()),r?.alternatives?.forEach(e=>i.add(e.toLowerCase()));const a=Qu(e,t).tokens,n=a.findIndex(e=>i.has(e.value.toLowerCase()));if(-1===n)return{remainingInput:null};const o=a[n],s=(e.slice(0,o.position.start)+e.slice(o.position.end)).replace(/\s{2,}/g," ").trim();return 0===s.length?{remainingInput:null}:{remainingInput:s}}stripDoNotThrowModifier(e,t){const r=Qu(e,t).tokens;for(let t=0;r.length-1>t;t++){if("do"!==r[t].value.toLowerCase())continue;let i=-1;for(let e=t+1;t+5>=e&&r.length>e;e++){const t=r[e];if("throw"===t.normalized?.toLowerCase()){i=e;break}const a=t.kind;if("selector"===a||"literal"===a||"reference"===a||"conjunction"===a)break}if(-1===i)continue;const a=r[i].position.end,n=(e.slice(0,r[t].position.start)+e.slice(a)).replace(/\s{2,}/g," ").trim();return 0===n.length?{remainingInput:null}:{remainingInput:n}}return{remainingInput:null}}static droppedTokenCount(e){return(e.diagnostics??[]).filter(e=>"unconsumed-input"===e.code).reduce((e,t)=>e+(parseInt(/left (\d+) token/.exec(t.message)?.[1]??"0",10)||0),0)}static unconsumedSpans(e){return(e.diagnostics??[]).filter(e=>"unconsumed-input"===e.code).map(e=>/unconsumed: "(.*)"$/.exec(e.message)?.[1]).filter(e=>!!e).map(e=>e.replace(/\s+/g," ").trim())}static withoutSpanDiagnostics(e,t){return{...e,diagnostics:(e.diagnostics??[]).filter(e=>{if("unconsumed-input"!==e.code)return!0;const r=/unconsumed: "(.*)"$/.exec(e.message)?.[1];return!r||r.replace(/\s+/g," ").trim()!==t})}}reclaimDanglingFromTail(t,r,i){const a=e.droppedTokenCount,n=e.unconsumedSpans(t);if(0===n.length)return null;const o=a(t),s=St(i)?.roleMarkers?.source,l=new Set;s?.primary&&l.add(s.primary),s?.alternatives?.forEach(e=>l.add(e));const p=Qu(r,i).tokens;for(let e=0;p.length>e;e++){const t=p[e];if("source"!==t.normalized&&!l.has(t.value))continue;const m=p["after"===s?.position?e-1:e+1];if(!m||"identifier"!==m.kind&&"keyword"!==m.kind)continue;const c=Math.min(t.position.start,m.position.start),d=Math.max(t.position.end,m.position.end),u=r.slice(c,d).replace(/\s+/g," ").trim();if(!n.some(e=>e===u||e.includes(u)))continue;const y=(r.slice(0,c).trimEnd()+" "+r.slice(d).trimStart()).trim();if(y&&y!==r)try{const e=this.parse(y,i);if(!e||"event-handler"!==e.kind)continue;const t=mv(e);if(a(t)<o)return{node:{...t,eventModifiers:{...t.eventModifiers,from:{type:"literal",value:m.value,dataType:"string"}}},input:y}}catch{}}return null}reclaimEventCompoundTail(t,r,i){const a=e.unconsumedSpans(t);if(0===a.length)return null;const n=wm[i];if(!n)return null;const o=t.roles,s=o.get("event"),l="literal"===s?.type&&"string"==typeof s.value?s.value:null;if(!l)return null;const p=e=>e.replace(/\s+/g," ").trim(),m=Qu(r,i).tokens;for(const i of a)for(let a=1;m.length>a;a++)for(let s=a;m.length>s;s++){const c=p(r.slice(m[a].position.start,m[s].position.end));if(c.length>i.length)break;if(c!==i)continue;const d=m[a-1];if((n[d.value]??d.normalized)!==l)break;const u=n[p(r.slice(d.position.start,m[s].position.end))];if(!u)break;return o.set("event",{type:"literal",value:u,dataType:"string"}),{node:e.withoutSpanDiagnostics(t,i),input:r}}return null}reclaimResponseTypeTail(t,r,i){const a=e.unconsumedSpans(t);if(0===a.length)return null;const n=e.AS_MARKERS_BEFORE[i];if(!n)return null;const o=e=>e.replace(/\s+/g," ").trim(),s=e.droppedTokenCount(t),l=Qu(r,i).tokens;for(let t=0;l.length>t+1;t++){const p=l[t],m=l[t+1];if(!n.some(e=>p.value.toLowerCase()===e))continue;if(!e.RESPONSE_TYPE_WORDS.has(m.value.toLowerCase()))continue;const c=o(r.slice(p.position.start,m.position.end));if(!a.includes(c))continue;const d=(r.slice(0,p.position.start).trimEnd()+" "+r.slice(m.position.end).trimStart()).trim();if(d&&d!==r)try{const t=this.parse(d,i);if(!t||"event-handler"!==t.kind)continue;const r=mv(t);if(e.droppedTokenCount(r)>=s)continue;const a=e.findResponseTypeTarget(r);if(!a)continue;return a.roles.set("responseType",{type:"expression",raw:m.value}),{node:r,input:d}}catch{}}return null}static findResponseTypeTarget(e){let t=null;const r=e=>{if(!e||"object"!=typeof e||t)return;if("command"===e.kind){const r=e,i=pt(r.action);if(i?.roles.some(e=>"responseType"===e.role&&!e.required)&&!r.roles.has("responseType"))return void(t=r)}const i=e;for(const e of["body","statements","thenBranch","elseBranch","commands"]){const t=i[e];Array.isArray(t)&&t.forEach(e=>r(e))}};return r(e),t}reclaimCapturedDestinationTail(t,r,i){const a=e.unconsumedSpans(t);if(0===a.length)return null;const n=St(i)?.roleMarkers?.destination,o=new Set;if(n?.primary&&o.add(n.primary),n?.alternatives?.forEach(e=>o.add(e)),0===o.size)return null;const s=e=>e.replace(/\s+/g," ").trim(),l=Qu(r,i).tokens;for(let i=0;l.length>i+1;i++){const n=l[i],p=l[i+1],m=o.has(n.value)&&"me"===p.normalized,c="me"===n.normalized&&o.has(p.value);if(!m&&!c)continue;const d=s(r.slice(n.position.start,p.position.end));if(!a.includes(d))continue;let u=!1;const y=e=>{if(!e||"object"!=typeof e||u)return;if("command"===e.kind){const t=e.roles.get("destination");if("reference"===t?.type&&"me"===t.value)return void(u=!0)}const t=e;for(const e of["body","statements","thenBranch","elseBranch","commands"]){const r=t[e];Array.isArray(r)&&r.forEach(e=>y(e))}};if(y(t),u)return{node:e.withoutSpanDiagnostics(t,d),input:r}}return null}applyModifiers(e,t){return{...e,eventModifiers:{...e.eventModifiers,...t}}}extractOrConjunctionEvents(e,t){const r=[];for(;;){const i=e.mark(),a=e.peek();if(!a)break;if(!ay(a,t)){e.reset(i);break}e.advance();const n=e.peek();if(!n){e.reset(i);break}const o=(n.normalized||n.value).toLowerCase();e.advance(),r.push({type:"literal",value:o})}return r}};vv.coverageMarkerSurfaces=new Map,vv.LEAKED_RENDER_MARKERS={hi:["\u0915\u0947","\u0930\u0942\u092a","\u092e\u0947\u0902"],tr:["olarak"],qu:["hina"]},vv.AS_MARKERS_BEFORE={en:["as"],es:["como"],fr:["comme"],pt:["como"],it:["come"],de:["als"],id:["sebagai"],ms:["sebagai","sbg"],sw:["kuwa","kama"],th:["\u0e40\u0e1b\u0e47\u0e19"],vi:["nh\u01b0"],tl:["bilang"],he:["\u05db"],ar:["\u0643\u0640"],pl:["jako"],ru:["\u043a\u0430\u043a"],uk:["\u044f\u043a"],zh:["\u7684","\u4f5c\u4e3a","\u5f53\u4f5c"]},vv.AS_MARKERS_AFTER={ko:[["\ub85c"],["\uc73c\ub85c"]],qu:[["hina"]],tr:[["olarak"]],hi:[["\u0915\u0947","\u0930\u0942\u092a","\u092e\u0947\u0902"]]},vv.enEventKeywordCache=new Map,vv.KNOWN_EVENTS=new Set(["click","dblclick","input","change","submit","keydown","keyup","keypress","mouseover","mouseout","mousedown","mouseup","focus","blur","load","scroll","resize","contextmenu"]),vv.RESPONSE_TYPE_WORDS=new Set(["json","text","html","xml","blob","arraybuffer","formdata","response"]),vv.SOV_EVENT_MARKERS={ja:new Set(["\u3067"]),ko:new Set,tr:new Set(["de","da","te","ta"]),bn:new Set(["\u098f"]),qu:new Set(["pi"]),hi:new Set(["\u092a\u0930"])},vv.SOV_EVENT_MARKER_PHRASES={ko:[["\ud560","\ub54c"],["\ud560\ub54c"]]},vv.SOV_SOURCE_MARKERS={ja:{markers:new Set(["\u304b\u3089"]),windowTokens:new Set(["\u30a6\u30a3\u30f3\u30c9\u30a6","\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8","window","document"])},ko:{markers:new Set(["\uc5d0\uc11c"]),windowTokens:new Set(["\ucc3d","\uc708\ub3c4\uc6b0","\ubb38\uc11c","window","document"])},tr:{markers:new Set(["den","dan","ten","tan"]),windowTokens:new Set(["pencere","belge","window","document"])},bn:{markers:new Set(["\u09a5\u09c7\u0995\u09c7","\u09ae\u09a7\u09cd\u09af\u09c7"]),windowTokens:new Set(["\u0989\u0987\u09a8\u09cd\u09a1\u09cb","\u09a1\u0995\u09c1\u09ae\u09c7\u09a8\u09cd\u099f","window","document"])},qu:{markers:new Set(["manta"]),windowTokens:new Set(["k_iri","ventana","window","document"])},hi:{markers:new Set(["\u0938\u0947"]),windowTokens:new Set(["\u0935\u093f\u0902\u0921\u094b","\u0926\u0938\u094d\u0924\u093e\u0935\u0947\u091c\u093c","window","document"])}},vv.CONDITION_COPULAS=new Set(["is","am","are","be","was","were","not","no"]),vv.CONDITION_COPULAS_SURFACE=new Set(["\u0647\u0648","\u0e40\u0e1b\u0e47\u0e19","\u0939\u0948"]),vv.CONDITION_PREDICATES=new Set(["empty","null","undefined"]),vv.CONDITION_OPERATORS=new Set(["matches","match","contains","exists","has","have","equals","includes"]),vv.STANDALONE_MODIFIERS={once:"once",debounced:"debounce",debounce:"debounce",throttled:"throttle",throttle:"throttle"};var fv=vv,hv=new fv;function gv(e,t){return hv.parse(e,t)}function kv(e,t){return hv.canParse(e,t)}function zv(e,t){try{return hv.parse(e,t).action}catch{return null}}function wv(){const e={};for(const[t,r]of Object.entries(fv.SOV_EVENT_MARKERS))e[t]=[...r];for(const[t,r]of Object.entries(fv.SOV_EVENT_MARKER_PHRASES))e[t]=[...e[t]??[],...r.map(e=>e.join(" "))];return e}function bv(e,t){try{const r=Qu(e,t),i=Ct(t);if(0===i.length)return{confidence:0,parseSuccess:!1,error:"No patterns available for language: "+t};const a=[...i].sort((e,t)=>t.priority-e.priority),n=a.filter(e=>"on"===e.command),o=Gu.matchBest(r,n);if(o)return{confidence:o.confidence,parseSuccess:!0,patternId:o.pattern.id,action:o.pattern.command,tokensConsumed:o.consumedTokens};r.reset(r.mark());const s=a.filter(e=>"on"!==e.command),l=Gu.matchBest(r,s);return l?{confidence:l.confidence,parseSuccess:!0,patternId:l.pattern.id,action:l.pattern.command,tokensConsumed:l.consumedTokens}:{confidence:0,parseSuccess:!1,error:"Could not match any patterns for: "+e}}catch(e){return{confidence:0,parseSuccess:!1,error:e instanceof Error?e.message:e+""}}}function xv(e,t){try{const r=gv(e,t);if(r)return{node:r,confidence:r.metadata?.confidence??.8,error:void 0,tokensConsumed:Qu(e,t).tokens.length}}catch{}const r=bv(e,t);return r.parseSuccess?{node:null,confidence:r.confidence,error:void 0,tokensConsumed:r.tokensConsumed}:{node:null,confidence:0,error:r.error}}function Tv(e,t){if(o(e))return e;return Qy(gv(e,t))}function Sv(e,t){return Xy(ev(e),t)}function jv(e,t,r){if(o(e))return Sv(e,r);return Xy(gv(e,t),r)}function Ev(e,t){return o(e)?ev(e):gv(e,t)}function Lv(e,t,r){const i=Ev(e,t),a=r??t,n=o(e)?Qy(i):Xy(i,a);if(void 0!==r)return n;const s=e.trim().toLowerCase(),l=n.trim().toLowerCase();return{original:e,semantic:i,rendered:n,matches:s===l}}function Cv(e,t,r=jt()){return _v(e,t,r).translations}function _v(e,t,r=jt()){const i={},a={},n=Ev(e,t);for(const e of r)try{i[e]=Xy(n,e)}catch(t){a[e]=t instanceof Error?t.message:t+""}return i.explicit=Qy(n),{translations:i,failed:a}}function Pv(e,t,r,i){try{const a=Ev(e,r),n=Ev(t,i);if(a.action!==n.action)return!1;for(const[e,t]of a.roles){const r=n.roles.get(e);if(!r)return!1;if(!Wv(t,r))return!1}return!0}catch{return!1}}function Wv(e,t){if(e.type!==t.type)return!1;switch(e.type){case"literal":case"selector":case"reference":return e.value===t.value;case"property-path":return Wv(e.object,t.object)&&e.property===t.property;case"expression":return e.raw===t.raw;case"flag":return e.name===t.name&&e.enabled===t.enabled;default:return!1}}Pt(),Pt();var Av=class{constructor(e={}){this.cache=new Map,this.config={maxSize:e.maxSize??1e3,ttlMs:e.ttlMs??0,enabled:e.enabled??!0},this.stats={hits:0,misses:0,evictions:0,expirations:0}}makeKey(e,t){return`${t}:${e}`}isExpired(e){return 0!==this.config.ttlMs&&Date.now()-e.createdAt>this.config.ttlMs}evictLRU(){const e=this.cache.keys().next().value;void 0!==e&&(this.cache.delete(e),this.stats.evictions++)}get(e,t){if(!this.config.enabled)return void this.stats.misses++;const r=this.makeKey(e,t),i=this.cache.get(r);if(i)return this.isExpired(i)?(this.cache.delete(r),this.stats.expirations++,void this.stats.misses++):(this.cache.delete(r),i.lastAccessed=Date.now(),this.cache.set(r,i),this.stats.hits++,i.result);this.stats.misses++}set(e,t,r){if(!this.config.enabled)return;if(null!==r&&"object"==typeof r&&"confidence"in r&&0===r.confidence)return;const i=this.makeKey(e,t),a=Date.now();for(;this.cache.size>=this.config.maxSize;)this.evictLRU();this.cache.set(i,{result:r,createdAt:a,lastAccessed:a})}has(e,t){if(!this.config.enabled)return!1;const r=this.makeKey(e,t),i=this.cache.get(r);return!!i&&(!this.isExpired(i)||(this.cache.delete(r),this.stats.expirations++,!1))}delete(e,t){const r=this.makeKey(e,t);return this.cache.delete(r)}clear(){this.cache.clear()}resetStats(){this.stats={hits:0,misses:0,evictions:0,expirations:0}}getStats(){const e=this.stats.hits+this.stats.misses;return{hits:this.stats.hits,misses:this.stats.misses,size:this.cache.size,maxSize:this.config.maxSize,hitRate:e>0?this.stats.hits/e:0,evictions:this.stats.evictions,expirations:this.stats.expirations,enabled:this.config.enabled}}configure(e){if(void 0!==e.maxSize)for(this.config.maxSize=e.maxSize;this.cache.size>this.config.maxSize;)this.evictLRU();void 0!==e.ttlMs&&(this.config.ttlMs=e.ttlMs),void 0!==e.enabled&&(this.config.enabled=e.enabled)}enable(){this.config.enabled=!0}disable(){this.config.enabled=!1}getConfig(){return{...this.config}}},qv=new Av;function Ov(e){return new Av(e)}function Rv(e,t=qv){return(r,i)=>{const a=t.get(r,i);if(a)return a;const n=e(r,i);return t.set(r,i,n),n}}_o(),qt(),wt("ar",bo,_t),rm(),Mt(),wt("bn",Yp,At),dl(),$t(),wt("de",nl,Rt),Vn(),Dt(),rd(),wt("en",Rn,It),bt("en",td()),Fo(),Ht(),wt("es",$o,Vt),Xs(),Zt(),wt("fr",Ds,Ft),Op(),Qt(),wt("he",_p,Gt),Fp(),tr(),wt("hi",$p,Xt),fl(),ar(),wt("id",cl,er),Xl(),sr(),wt("it",Fl,ir),ro(),mr(),wt("ja",Yn,or),fo(),ur(),wt("ko",so,pr),ym(),fr(),wt("ms",om,dr),mp(),kr(),wt("pl",ap,vr),Os(),br(),wt("pt",js,gr),Cl(),Sr(),wt("qu",bl,wr),zp(),Lr(),wt("ru",vp,Tr),Ml(),Pr(),wt("sw",Ll,Er),sm(),qr(),wt("th",tm,_r),Tm(),Mr(),wt("tl",gm,Ar),ls(),$r(),wt("tr",ts,Rr),Pp(),Dr(),wt("uk",Tp,Ir),np(),Hr(),wt("vi",Yl,Vr),fs(),Zr(),wt("zh",ss,Fr);Hd("ar",{events:{blur:{primary:"\u0636\u0628\u0627\u0628\u064a\u0629"},change:{primary:"\u062a\u063a\u064a\u064a\u0631"},click:{primary:"\u0646\u0642\u0631"},dblclick:{primary:"dblclick"},focus:{primary:"\u062a\u0631\u0643\u064a\u0632"},input:{primary:"\u0625\u062f\u062e\u0627\u0644"},keydown:{primary:"\u0645\u0641\u062a\u0627\u062d \u0623\u0633\u0641\u0644"},keypress:{primary:"keypress"},keyup:{primary:"\u0645\u0641\u062a\u0627\u062d \u0623\u0639\u0644\u0649"},load:{primary:"\u062a\u062d\u0645\u064a\u0644"},mousedown:{primary:"mousedown"},mouseenter:{primary:"mouseenter"},mouseleave:{primary:"mouseleave"},mousemove:{primary:"mousemove"},mouseout:{primary:"mouseout"},mouseover:{primary:"\u0641\u0623\u0631\u0629 \u0641\u0648\u0642"},mouseup:{primary:"mouseup"},reset:{primary:"reset"},resize:{primary:"\u062a\u063a\u064a\u064a\u0631 \u062d\u062c\u0645"},scroll:{primary:"\u062a\u0645\u0631\u064a\u0631"},submit:{primary:"\u0625\u0631\u0633\u0627\u0644"},touchcancel:{primary:"touchcancel"},touchend:{primary:"touchend"},touchmove:{primary:"touchmove"},touchstart:{primary:"touchstart"},unload:{primary:"unload"}},logical:{and:{primary:"\u0648"},bind:{primary:"\u0627\u0631\u0628\u0637"},changes:{primary:"\u064a\u062a\u063a\u064a\u0631"},contains:{primary:"\u064a\u062d\u062a\u0648\u064a"},else:{primary:"\u0648\u0625\u0644\u0627"},end:{primary:"\u0627\u0644\u0646\u0647\u0627\u064a\u0629"},equals:{primary:"\u064a\u0633\u0627\u0648\u064a"},exists:{primary:"\u0645\u0648\u062c\u0648\u062f"},has:{primary:"\u0644\u062f\u064a\u0647"},have:{primary:"\u0644\u062f\u064a"},includes:{primary:"\u064a\u0634\u0645\u0644"},is:{primary:"\u0647\u0648"},live:{primary:"\u062d\u064a"},matches:{primary:"\u064a\u0637\u0627\u0628\u0642"},not:{primary:"\u0644\u064a\u0633"},or:{primary:"\u0623\u0648"},otherwise:{primary:"\u062e\u0644\u0627\u0641 \u0630\u0644\u0643"},then:{primary:"\u062b\u0645"},when:{primary:"\u0639\u0646\u062f\u0645\u0627"},where:{primary:"\u0623\u064a\u0646"}},temporal:{h:{primary:"\u0633"},hour:{primary:"\u0633\u0627\u0639\u0629"},hours:{primary:"\u0633\u0627\u0639\u0627\u062a"},millisecond:{primary:"\u0645\u064a\u0644\u064a \u062b\u0627\u0646\u064a\u0629"},milliseconds:{primary:"\u0645\u064a\u0644\u064a \u062b\u0627\u0646\u064a\u0629"},min:{primary:"\u062f"},minute:{primary:"\u062f\u0642\u064a\u0642\u0629"},minutes:{primary:"\u062f\u0642\u0627\u0626\u0642"},ms:{primary:"\u0645.\u062b"},s:{primary:"\u062b"},second:{primary:"\u062b\u0627\u0646\u064a\u0629"},seconds:{primary:"\u062b\u0648\u0627\u0646\u0650"}},values:{body:{primary:"\u062c\u0633\u0645"},detail:{primary:"\u062a\u0641\u0627\u0635\u064a\u0644"},document:{primary:"\u0648\u062b\u064a\u0642\u0629"},element:{primary:"\u0639\u0646\u0635\u0631"},event:{primary:"\u062d\u062f\u062b"},false:{primary:"\u062e\u0637\u0623"},it:{primary:"\u0647\u0648"},its:{primary:"\u0644\u0647"},me:{primary:"\u0623\u0646\u0627"},my:{primary:"\u0644\u064a"},myself:{primary:"\u0646\u0641\u0633\u064a"},null:{primary:"\u0641\u0627\u0631\u063a"},result:{primary:"\u0646\u062a\u064a\u062c\u0629"},target:{primary:"\u0647\u062f\u0641"},true:{primary:"\u0635\u062d\u064a\u062d"},undefined:{primary:"\u063a\u064a\u0631 \u0645\u0639\u0631\u0641"},value:{primary:"\u0642\u064a\u0645\u0629"},window:{primary:"\u0646\u0627\u0641\u0630\u0629"},you:{primary:"\u0623\u0646\u062a"},your:{primary:"\u0644\u0643"},yourself:{primary:"\u0646\u0641\u0633\u0643"}},attributes:{attribute:{primary:"\u062e\u0627\u0635\u064a\u0629"},attributes:{primary:"\u062e\u0635\u0627\u0626\u0635"},class:{primary:"\u0641\u0626\u0629"},classes:{primary:"\u0641\u0626\u0627\u062a"},properties:{primary:"\u062e\u0635\u0627\u0626\u0635"},property:{primary:"\u062e\u0627\u0635\u064a\u0629"},style:{primary:"\u0623\u0633\u0644\u0648\u0628"},styles:{primary:"\u0623\u0633\u0627\u0644\u064a\u0628"}},expressions:{at:{primary:"\u0639\u0646\u062f"},characters:{primary:"\u062d\u0631\u0648\u0641"},children:{primary:"\u0623\u0637\u0641\u0627\u0644"},closest:{primary:"\u0627\u0644\u0623\u0642\u0631\u0628"},empty:{primary:"\u0641\u0627\u0631\u063a"},"ends with":{primary:"\u064a\u0646\u062a\u0647\u064a \u0628\u0640"},exclusive:{primary:"\u062d\u0635\u0631\u064a"},first:{primary:"\u0623\u0648\u0644"},"ignoring case":{primary:"\u0645\u0639 \u062a\u062c\u0627\u0647\u0644 \u0627\u0644\u062d\u0627\u0644\u0629"},inclusive:{primary:"\u0634\u0627\u0645\u0644"},"joined by":{primary:"\u0645\u062f\u0645\u0648\u062c \u0628\u0648\u0627\u0633\u0637\u0629"},last:{primary:"\u0622\u062e\u0631"},"mapped to":{primary:"\u0645\u062d\u0648\u0644 \u0625\u0644\u0649"},next:{primary:"\u0627\u0644\u062a\u0627\u0644\u064a"},no:{primary:"\u0644\u0627 \u064a\u0648\u062c\u062f"},parent:{primary:"\u0648\u0627\u0644\u062f"},prev:{primary:"\u0633\u0627\u0628\u0642"},previous:{primary:"\u0627\u0644\u0633\u0627\u0628\u0642"},random:{primary:"\u0639\u0634\u0648\u0627\u0626\u064a"},some:{primary:"\u0628\u0639\u0636"},"sorted by":{primary:"\u0645\u0631\u062a\u0628 \u062d\u0633\u0628"},"split by":{primary:"\u0645\u0642\u0633\u0645 \u0628\u0648\u0627\u0633\u0637\u0629"},"starts with":{primary:"\u064a\u0628\u062f\u0623 \u0628\u0640"},within:{primary:"\u062f\u0627\u062e\u0644"}}});Hd("bn",{events:{blur:{primary:"\u099d\u09be\u09aa\u09b8\u09be"},change:{primary:"\u09aa\u09b0\u09bf\u09ac\u09b0\u09cd\u09a4\u09a8"},click:{primary:"\u0995\u09cd\u09b2\u09bf\u0995"},every:{primary:"\u09aa\u09cd\u09b0\u09a4\u09bf"},focus:{primary:"\u09ab\u09cb\u0995\u09be\u09b8"},input:{primary:"\u0987\u09a8\u09aa\u09c1\u099f"},keydown:{primary:"keydown"},keyup:{primary:"keyup"},load:{primary:"\u09b2\u09cb\u09a1"},mouseout:{primary:"mouseout"},mouseover:{primary:"mouseover"},reset:{primary:"\u09b0\u09bf\u09b8\u09c7\u099f"},resize:{primary:"\u09b0\u09bf\u09b8\u09be\u0987\u099c"},scroll:{primary:"\u09b8\u09cd\u0995\u09cd\u09b0\u09cb\u09b2"},submit:{primary:"\u099c\u09ae\u09be"}},logical:{and:{primary:"\u098f\u09ac\u0982"},bind:{primary:"\u09ac\u09be\u0987\u09a8\u09cd\u09a1"},changes:{primary:"\u09aa\u09b0\u09bf\u09ac\u09b0\u09cd\u09a4\u09bf\u09a4 \u09b9\u09b2\u09c7"},else:{primary:"\u09a8\u09a4\u09c1\u09ac\u09be"},empty:{primary:"\u0996\u09be\u09b2\u09bf"},end:{primary:"\u09b6\u09c7\u09b7"},exists:{primary:"\u0986\u099b\u09c7"},false:{primary:"\u09ae\u09bf\u09a5\u09cd\u09af\u09be"},has:{primary:"\u0986\u099b\u09c7"},have:{primary:"\u0986\u099b\u09bf"},if:{primary:"\u09af\u09a6\u09bf"},is:{primary:"\u09b9\u09af\u09bc"},live:{primary:"\u09b2\u09be\u0987\u09ad"},not:{primary:"\u09a8\u09be"},null:{primary:"\u09b6\u09c2\u09a8\u09cd\u09af"},or:{primary:"\u0985\u09a5\u09ac\u09be"},then:{primary:"\u09a4\u09be\u09b0\u09aa\u09b0"},true:{primary:"\u09b8\u09a4\u09cd\u09af"},undefined:{primary:"\u0985\u09a8\u09bf\u09b0\u09cd\u09a7\u09be\u09b0\u09bf\u09a4"},when:{primary:"\u09af\u0996\u09a8"},where:{primary:"\u0995\u09cb\u09a5\u09be\u09af\u09bc"}},temporal:{forever:{primary:"\u099a\u09bf\u09b0\u0995\u09be\u09b2"},hours:{primary:"\u0998\u09a3\u09cd\u099f\u09be"},milliseconds:{primary:"\u09ae\u09bf\u09b2\u09bf\u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1"},minutes:{primary:"\u09ae\u09bf\u09a8\u09bf\u099f"},ms:{primary:"\u09ae\u09bf\u09b8\u09c7"},now:{primary:"\u098f\u0996\u09a8"},s:{primary:"\u09b8\u09c7"},seconds:{primary:"\u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1"},times:{primary:"\u09ac\u09be\u09b0"}},values:{body:{primary:"\u09ac\u09a1\u09bf"},event:{primary:"\u0998\u099f\u09a8\u09be"},it:{primary:"\u098f\u099f\u09bf"},its:{primary:"\u098f\u09b0"},me:{primary:"\u0986\u09ae\u09bf"},my:{primary:"\u0986\u09ae\u09be\u09b0"},result:{primary:"\u09ab\u09b2\u09be\u09ab\u09b2"},target:{primary:"\u09b2\u0995\u09cd\u09b7\u09cd\u09af"},you:{primary:"\u0986\u09aa\u09a8\u09bf"},your:{primary:"\u09a4\u09cb\u09ae\u09be\u09b0"}},attributes:{checked:{primary:"\u099a\u09c7\u0995 \u0995\u09b0\u09be"},class:{primary:"\u09b6\u09cd\u09b0\u09c7\u09a3\u09bf"},disabled:{primary:"\u0985\u0995\u09cd\u09b7\u09ae"},html:{primary:"\u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2"},id:{primary:"\u0986\u0987\u09a1\u09bf"},style:{primary:"\u09b6\u09c8\u09b2\u09c0"},text:{primary:"\u09aa\u09be\u09a0\u09cd\u09af"},value:{primary:"\u09ae\u09be\u09a8"}},expressions:{characters:{primary:"\u0985\u0995\u09cd\u09b7\u09b0"},children:{primary:"\u09b8\u09a8\u09cd\u09a4\u09be\u09a8"},closest:{primary:"\u09a8\u09bf\u0995\u099f\u09a4\u09ae"},empty:{primary:"\u0996\u09be\u09b2\u09bf"},"ends with":{primary:"\u09a6\u09bf\u09af\u09bc\u09c7_\u09b6\u09c7\u09b7"},exclusive:{primary:"\u09ac\u09be\u09a6"},first:{primary:"\u09aa\u09cd\u09b0\u09a5\u09ae"},"ignoring case":{primary:"\u0995\u09c7\u09b8_\u0989\u09aa\u09c7\u0995\u09cd\u09b7\u09be"},inclusive:{primary:"\u0985\u09a8\u09cd\u09a4\u09b0\u09cd\u09ad\u09c1\u0995\u09cd\u09a4"},index:{primary:"\u09b8\u09c2\u099a\u0995"},"joined by":{primary:"\u09a6\u09cd\u09ac\u09be\u09b0\u09be_\u09af\u09c1\u0995\u09cd\u09a4"},last:{primary:"\u09b6\u09c7\u09b7"},length:{primary:"\u09a6\u09c8\u09b0\u09cd\u0998\u09cd\u09af"},"mapped to":{primary:"\u09a4\u09c7_\u09b0\u09c2\u09aa\u09be\u09a8\u09cd\u09a4\u09b0\u09bf\u09a4"},next:{primary:"\u09aa\u09b0\u09ac\u09b0\u09cd\u09a4\u09c0"},parent:{primary:"\u09ae\u09c2\u09b2"},previous:{primary:"\u0986\u0997\u09c7\u09b0"},random:{primary:"\u098f\u09b2\u09cb\u09ae\u09c7\u09b2\u09cb"},"sorted by":{primary:"\u09a6\u09cd\u09ac\u09be\u09b0\u09be_\u09b8\u09be\u099c\u09be\u09a8\u09cb"},"split by":{primary:"\u09a6\u09cd\u09ac\u09be\u09b0\u09be_\u09ac\u09bf\u09ad\u0995\u09cd\u09a4"},"starts with":{primary:"\u09a6\u09bf\u09af\u09bc\u09c7_\u09b6\u09c1\u09b0\u09c1"}}});Hd("de",{events:{blur:{primary:"defokussieren"},change:{primary:"\u00e4ndern"},click:{primary:"klick"},dblclick:{primary:"doppelklick"},focus:{primary:"fokus"},input:{primary:"eingabe"},keydown:{primary:"taste unten"},keypress:{primary:"tastedr\u00fccken"},keyup:{primary:"taste oben"},load:{primary:"laden"},mousedown:{primary:"mousedown"},mouseenter:{primary:"mauseintreten"},mouseleave:{primary:"mausverlassen"},mousemove:{primary:"mausbewegen"},mouseout:{primary:"maus weg"},mouseover:{primary:"maus dr\u00fcber"},mouseup:{primary:"mouseup"},reset:{primary:"zur\u00fccksetzen"},resize:{primary:"gr\u00f6\u00dfen\u00e4nderung"},scroll:{primary:"scrollen"},submit:{primary:"absenden"},touchcancel:{primary:"ber\u00fchrungabbrechen"},touchend:{primary:"ber\u00fchrungend"},touchmove:{primary:"ber\u00fchrungbewegen"},touchstart:{primary:"ber\u00fchrungstart"},unload:{primary:"entladen"}},logical:{and:{primary:"und"},changes:{primary:"\u00e4ndert"},contains:{primary:"enth\u00e4lt"},else:{primary:"sonst"},end:{primary:"ende"},equals:{primary:"gleicht"},exists:{primary:"existiert"},has:{primary:"hat"},have:{primary:"habe"},includes:{primary:"beinhaltet"},is:{primary:"ist"},live:{primary:"live"},matches:{primary:"passt"},not:{primary:"nicht"},or:{primary:"oder"},otherwise:{primary:"andernfalls"},then:{primary:"dann"},when:{primary:"wenn"},where:{primary:"wo"}},temporal:{h:{primary:"std"},hour:{primary:"stunde"},hours:{primary:"stunden"},millisecond:{primary:"millisekunde"},milliseconds:{primary:"millisekunden"},min:{primary:"min"},minute:{primary:"minute"},minutes:{primary:"minuten"},ms:{primary:"ms"},s:{primary:"s"},second:{primary:"sekunde"},seconds:{primary:"sekunden"}},values:{body:{primary:"k\u00f6rper"},detail:{primary:"detail"},document:{primary:"dokument"},element:{primary:"element"},event:{primary:"ereignis"},false:{primary:"falsch"},it:{primary:"es"},its:{primary:"sein"},me:{primary:"ich"},my:{primary:"mein"},myself:{primary:"ich selbst"},null:{primary:"null"},result:{primary:"ergebnis"},target:{primary:"ziel"},true:{primary:"wahr"},undefined:{primary:"undefiniert"},value:{primary:"wert"},window:{primary:"fenster"},you:{primary:"du"},your:{primary:"dein"},yourself:{primary:"dich selbst"}},attributes:{attribute:{primary:"attribut"},attributes:{primary:"attribute"},class:{primary:"klasse"},classes:{primary:"klassen"},properties:{primary:"eigenschaften"},property:{primary:"eigenschaft"},style:{primary:"stil"},styles:{primary:"stile"}},expressions:{at:{primary:"bei"},characters:{primary:"Zeichen"},children:{primary:"kinder"},closest:{primary:"n\u00e4chstgelegene"},empty:{primary:"leer"},"ends with":{primary:"endet mit"},exclusive:{primary:"exklusiv"},first:{primary:"erste"},"ignoring case":{primary:"ohne Gro\u00df-/Kleinschreibung"},inclusive:{primary:"inklusiv"},"joined by":{primary:"verbunden mit"},last:{primary:"letzte"},"mapped to":{primary:"zugeordnet zu"},next:{primary:"n\u00e4chste"},no:{primary:"kein"},parent:{primary:"elternteil"},prev:{primary:"vorh"},previous:{primary:"vorherige"},random:{primary:"zuf\u00e4llig"},some:{primary:"einige"},"sorted by":{primary:"sortiert nach"},"split by":{primary:"geteilt durch"},"starts with":{primary:"beginnt mit"},within:{primary:"innerhalb"}}});Hd("en",{events:{blur:{primary:"blur"},change:{primary:"change"},click:{primary:"click"},dblclick:{primary:"dblclick"},focus:{primary:"focus"},input:{primary:"input"},keydown:{primary:"keydown"},keypress:{primary:"keypress"},keyup:{primary:"keyup"},load:{primary:"load"},mousedown:{primary:"mousedown"},mouseenter:{primary:"mouseenter"},mouseleave:{primary:"mouseleave"},mousemove:{primary:"mousemove"},mouseout:{primary:"mouseout"},mouseover:{primary:"mouseover"},mouseup:{primary:"mouseup"},reset:{primary:"reset"},resize:{primary:"resize"},scroll:{primary:"scroll"},submit:{primary:"submit"},touchcancel:{primary:"touchcancel"},touchend:{primary:"touchend"},touchmove:{primary:"touchmove"},touchstart:{primary:"touchstart"},unload:{primary:"unload"}},logical:{and:{primary:"and"},changes:{primary:"changes"},contains:{primary:"contains"},else:{primary:"else"},end:{primary:"end"},equals:{primary:"equals"},exists:{primary:"exists"},has:{primary:"has"},have:{primary:"have"},includes:{primary:"includes"},is:{primary:"is"},live:{primary:"live"},matches:{primary:"matches"},not:{primary:"not"},or:{primary:"or"},otherwise:{primary:"otherwise"},then:{primary:"then"},when:{primary:"when"},where:{primary:"where"}},temporal:{h:{primary:"h"},hour:{primary:"hour"},hours:{primary:"hours"},millisecond:{primary:"millisecond"},milliseconds:{primary:"milliseconds"},min:{primary:"min"},minute:{primary:"minute"},minutes:{primary:"minutes"},ms:{primary:"ms"},s:{primary:"s"},second:{primary:"second"},seconds:{primary:"seconds"}},values:{body:{primary:"body"},detail:{primary:"detail"},document:{primary:"document"},element:{primary:"element"},event:{primary:"event"},false:{primary:"false"},it:{primary:"it"},its:{primary:"its"},me:{primary:"me"},my:{primary:"my"},myself:{primary:"myself"},null:{primary:"null"},result:{primary:"result"},target:{primary:"target"},true:{primary:"true"},undefined:{primary:"undefined"},value:{primary:"value"},window:{primary:"window"},you:{primary:"you"},your:{primary:"your"},yourself:{primary:"yourself"}},attributes:{attribute:{primary:"attribute"},attributes:{primary:"attributes"},class:{primary:"class"},classes:{primary:"classes"},properties:{primary:"properties"},property:{primary:"property"},style:{primary:"style"},styles:{primary:"styles"}},expressions:{at:{primary:"at"},children:{primary:"children"},closest:{primary:"closest"},empty:{primary:"empty"},"ends with":{primary:"ends with"},first:{primary:"first"},"ignoring case":{primary:"ignoring case"},"joined by":{primary:"joined by"},last:{primary:"last"},"mapped to":{primary:"mapped to"},next:{primary:"next"},no:{primary:"no"},parent:{primary:"parent"},prev:{primary:"prev"},previous:{primary:"previous"},random:{primary:"random"},some:{primary:"some"},"sorted by":{primary:"sorted by"},"split by":{primary:"split by"},"starts with":{primary:"starts with"},within:{primary:"within"}}});Hd("es",{events:{blur:{primary:"desenfocar"},change:{primary:"cambiar"},click:{primary:"clic"},dblclick:{primary:"dobleclic"},focus:{primary:"enfocar"},input:{primary:"entrada"},keydown:{primary:"tecla abajo"},keypress:{primary:"teclapresar"},keyup:{primary:"tecla arriba"},load:{primary:"cargar"},mousedown:{primary:"rat\u00f3n abajo"},mouseenter:{primary:"rat\u00f3nentrar"},mouseleave:{primary:"rat\u00f3nsalir"},mousemove:{primary:"rat\u00f3nmover"},mouseout:{primary:"rat\u00f3n fuera"},mouseover:{primary:"rat\u00f3n encima"},mouseup:{primary:"rat\u00f3n arriba"},reset:{primary:"reiniciar"},resize:{primary:"redimensionar"},scroll:{primary:"desplazar"},submit:{primary:"env\u00edo"},touchcancel:{primary:"toquecancelar"},touchend:{primary:"toqueterminar"},touchmove:{primary:"toquemover"},touchstart:{primary:"toqueempezar"},unload:{primary:"descargar"}},logical:{and:{primary:"y"},changes:{primary:"cambia"},contains:{primary:"contiene"},else:{primary:"sino"},end:{primary:"fin"},equals:{primary:"iguala"},exists:{primary:"existe"},has:{primary:"tiene"},have:{primary:"tengo"},includes:{primary:"incluye"},is:{primary:"es"},live:{primary:"vivo"},matches:{primary:"coincide"},not:{primary:"no"},or:{primary:"o"},otherwise:{primary:"delocontrario"},then:{primary:"entonces"},when:{primary:"cuando"},where:{primary:"donde"}},temporal:{h:{primary:"h"},hour:{primary:"hora"},hours:{primary:"horas"},millisecond:{primary:"milisegundo"},milliseconds:{primary:"milisegundos"},min:{primary:"min"},minute:{primary:"minuto"},minutes:{primary:"minutos"},ms:{primary:"ms"},s:{primary:"s"},second:{primary:"segundo"},seconds:{primary:"segundos"}},values:{body:{primary:"cuerpo"},detail:{primary:"detalle"},document:{primary:"documento"},element:{primary:"elemento"},event:{primary:"evento"},false:{primary:"falso"},it:{primary:"ello"},its:{primary:"su"},me:{primary:"yo"},my:{primary:"mi"},myself:{primary:"yo mismo"},null:{primary:"nulo"},result:{primary:"resultado"},target:{primary:"objetivo"},true:{primary:"verdadero"},undefined:{primary:"indefinido"},value:{primary:"valor"},window:{primary:"ventana"},you:{primary:"tu"},your:{primary:"tu"},yourself:{primary:"ti mismo"}},attributes:{attribute:{primary:"atributo"},attributes:{primary:"atributos"},class:{primary:"clase"},classes:{primary:"clases"},properties:{primary:"propiedades"},property:{primary:"propiedad"},style:{primary:"estilo"},styles:{primary:"estilos"}},expressions:{at:{primary:"en"},characters:{primary:"caracteres"},children:{primary:"hijos"},closest:{primary:"cercano"},empty:{primary:"vac\u00edo"},"ends with":{primary:"termina con"},exclusive:{primary:"exclusivo"},first:{primary:"primero"},"ignoring case":{primary:"ignorando may\u00fasculas"},inclusive:{primary:"inclusivo"},"joined by":{primary:"unido por"},last:{primary:"\u00faltimo"},"mapped to":{primary:"transformado a"},next:{primary:"siguiente"},no:{primary:"ning\u00fan"},parent:{primary:"padre"},prev:{primary:"ant"},previous:{primary:"anterior"},random:{primary:"aleatorio"},some:{primary:"alg\u00fan"},"sorted by":{primary:"ordenado por"},"split by":{primary:"dividido por"},"starts with":{primary:"empieza con"},within:{primary:"dentro"}}});Hd("fr",{events:{blur:{primary:"flou"},change:{primary:"changer"},click:{primary:"clic"},dblclick:{primary:"doubleclic"},focus:{primary:"focus"},input:{primary:"saisie"},keydown:{primary:"touche bas"},keypress:{primary:"touchepress\u00e9e"},keyup:{primary:"touche haut"},load:{primary:"charger"},mousedown:{primary:"mousedown"},mouseenter:{primary:"sourisentrer"},mouseleave:{primary:"sourissortir"},mousemove:{primary:"sourisbouger"},mouseout:{primary:"souris dehors"},mouseover:{primary:"souris dessus"},mouseup:{primary:"mouseup"},reset:{primary:"r\u00e9initialiser"},resize:{primary:"redimensionner"},scroll:{primary:"d\u00e9filer"},submit:{primary:"soumettre"},touchcancel:{primary:"toucherannuler"},touchend:{primary:"toucherfin"},touchmove:{primary:"toucherbouger"},touchstart:{primary:"touchercommencer"},unload:{primary:"d\u00e9charger"}},logical:{and:{primary:"et"},changes:{primary:"change"},contains:{primary:"contient"},else:{primary:"sinon"},end:{primary:"fin"},equals:{primary:"\u00e9gale"},exists:{primary:"existe"},has:{primary:"a"},have:{primary:"ai"},includes:{primary:"inclut"},is:{primary:"est"},live:{primary:"vif"},matches:{primary:"correspond"},not:{primary:"non"},or:{primary:"ou"},otherwise:{primary:"autrement"},then:{primary:"alors"},when:{primary:"quand"},where:{primary:"o\u00f9"}},temporal:{h:{primary:"h"},hour:{primary:"heure"},hours:{primary:"heures"},millisecond:{primary:"milliseconde"},milliseconds:{primary:"millisecondes"},min:{primary:"min"},minute:{primary:"minute"},minutes:{primary:"minutes"},ms:{primary:"ms"},s:{primary:"s"},second:{primary:"seconde"},seconds:{primary:"secondes"}},values:{body:{primary:"corps"},detail:{primary:"d\u00e9tail"},document:{primary:"document"},element:{primary:"\u00e9l\u00e9ment"},event:{primary:"\u00e9v\u00e9nement"},false:{primary:"faux"},it:{primary:"\u00e7a"},its:{primary:"son"},me:{primary:"moi"},my:{primary:"mon"},myself:{primary:"moi-m\u00eame"},null:{primary:"nul"},result:{primary:"r\u00e9sultat"},target:{primary:"cible"},true:{primary:"vrai"},undefined:{primary:"ind\u00e9fini"},value:{primary:"valeur"},window:{primary:"fen\u00eatre"},you:{primary:"tu"},your:{primary:"ton"},yourself:{primary:"toi-m\u00eame"}},attributes:{attribute:{primary:"attribut"},attributes:{primary:"attributs"},class:{primary:"classe"},classes:{primary:"classes"},properties:{primary:"propri\u00e9t\u00e9s"},property:{primary:"propri\u00e9t\u00e9"},style:{primary:"style"},styles:{primary:"styles"}},expressions:{at:{primary:"\u00e0"},characters:{primary:"caract\u00e8res"},children:{primary:"enfants"},closest:{primary:"proche"},empty:{primary:"vide"},"ends with":{primary:"finit par"},exclusive:{primary:"exclusif"},first:{primary:"premier"},"ignoring case":{primary:"en ignorant la casse"},inclusive:{primary:"inclusif"},"joined by":{primary:"joint par"},last:{primary:"dernier"},"mapped to":{primary:"transform\u00e9 en"},next:{primary:"suivant"},no:{primary:"aucun"},parent:{primary:"parent"},prev:{primary:"pr\u00e9c"},previous:{primary:"pr\u00e9c\u00e9dent"},random:{primary:"al\u00e9atoire"},some:{primary:"quelques"},"sorted by":{primary:"tri\u00e9 par"},"split by":{primary:"divis\u00e9 par"},"starts with":{primary:"commence par"},within:{primary:"dans"}}});Hd("he",{events:{blur:{primary:"\u05d8\u05e9\u05d8\u05e9"},change:{primary:"\u05e9\u05d9\u05e0\u05d5\u05d9"},click:{primary:"\u05dc\u05d7\u05d9\u05e6\u05d4"},focus:{primary:"\u05de\u05e7\u05d3"},input:{primary:"\u05e7\u05dc\u05d8"},submit:{primary:"\u05e9\u05dc\u05d9\u05d7\u05d4"}},logical:{and:{primary:"\u05d5\u05d2\u05dd"},bind:{primary:"\u05e7\u05e9\u05d5\u05e8"},changes:{primary:"\u05de\u05e9\u05ea\u05e0\u05d4"},else:{primary:"\u05d0\u05d7\u05e8\u05ea"},end:{primary:"\u05e1\u05d5\u05e3"},live:{primary:"\u05d7\u05d9"},then:{primary:"\u05d0\u05d6"},when:{primary:"\u05db\u05d0\u05e9\u05e8"},where:{primary:"\u05d0\u05d9\u05e4\u05d4"}},values:{body:{primary:"\u05d2\u05d5\u05e3"},event:{primary:"\u05d0\u05d9\u05e8\u05d5\u05e2"},false:{primary:"\u05e9\u05e7\u05e8"},true:{primary:"\u05d0\u05de\u05ea"},it:{primary:"\u05d6\u05d4"},its:{primary:"\u05e9\u05dc\u05d5"},me:{primary:"\u05d0\u05e0\u05d9"},my:{primary:"\u05e9\u05dc\u05d9"},result:{primary:"\u05ea\u05d5\u05e6\u05d0\u05d4"},target:{primary:"\u05d9\u05e2\u05d3"},you:{primary:"\u05d0\u05ea\u05d4"},your:{primary:"\u05e9\u05dc\u05da"}},expressions:{characters:{primary:"\u05ea\u05d5\u05d5\u05d9\u05dd"},exclusive:{primary:"\u05d1\u05dc\u05e2\u05d3\u05d9"},inclusive:{primary:"\u05db\u05d5\u05dc\u05dc"},last:{primary:"\u05d0\u05d7\u05e8\u05d5\u05df"},random:{primary:"\u05d0\u05e7\u05e8\u05d0\u05d9"}}});Hd("hi",{events:{blur:{primary:"\u0927\u0941\u0902\u0927\u0932\u093e"},change:{primary:"\u092a\u0930\u093f\u0935\u0930\u094d\u0924\u0928"},click:{primary:"\u0915\u094d\u0932\u093f\u0915"},dblclick:{primary:"\u0921\u092c\u0932_\u0915\u094d\u0932\u093f\u0915"},focus:{primary:"\u092b\u094b\u0915\u0938"},input:{primary:"\u0907\u0928\u092a\u0941\u091f"},keydown:{primary:"\u0915\u0940_\u0928\u0940\u091a\u0947"},keypress:{primary:"\u0915\u0940_\u092a\u094d\u0930\u0947\u0938"},keyup:{primary:"\u0915\u0940_\u090a\u092a\u0930"},load:{primary:"\u0932\u094b\u0921"},mousedown:{primary:"\u092e\u093e\u0909\u0938\u0928\u0940\u091a\u0947"},mouseenter:{primary:"\u092e\u093e\u0909\u0938_\u092a\u094d\u0930\u0935\u0947\u0936"},mouseleave:{primary:"\u092e\u093e\u0909\u0938_\u092c\u093e\u0939\u0930"},mousemove:{primary:"\u092e\u093e\u0909\u0938_\u092e\u0942\u0935"},mouseout:{primary:"\u092e\u093e\u0909\u0938_\u0906\u0909\u091f"},mouseover:{primary:"\u092e\u093e\u0909\u0938_\u0913\u0935\u0930"},mouseup:{primary:"\u092e\u093e\u0909\u0938\u090a\u092a\u0930"},reset:{primary:"\u0930\u0940\u0938\u0947\u091f"},resize:{primary:"\u0906\u0915\u093e\u0930_\u092c\u0926\u0932\u0947\u0902"},scroll:{primary:"\u0938\u094d\u0915\u094d\u0930\u0949\u0932"},submit:{primary:"\u091c\u092e\u093e"},touchcancel:{primary:"\u091f\u091a_\u0930\u0926\u094d\u0926"},touchend:{primary:"\u091f\u091a_\u0938\u092e\u093e\u092a\u094d\u0924"},touchmove:{primary:"\u091f\u091a_\u092e\u0942\u0935"},touchstart:{primary:"\u091f\u091a_\u0936\u0941\u0930\u0942"},unload:{primary:"\u0905\u0928\u0932\u094b\u0921"}},logical:{and:{primary:"\u0914\u0930"},changes:{primary:"\u092c\u0926\u0932\u0928\u0947 \u092a\u0930"},contains:{primary:"\u0936\u093e\u092e\u093f\u0932"},else:{primary:"\u0935\u0930\u0928\u093e"},empty:{primary:"\u0916\u093e\u0932\u0940"},end:{primary:"\u0938\u092e\u093e\u092a\u094d\u0924"},equals:{primary:"\u092c\u0930\u093e\u092c\u0930"},exists:{primary:"\u092e\u094c\u091c\u0942\u0926"},has:{primary:"\u0939\u0948"},have:{primary:"\u0939\u0948"},includes:{primary:"\u092e\u0947\u0902_\u0939\u0948"},is:{primary:"\u0939\u0948"},isNot:{primary:"\u0928\u0939\u0940\u0902_\u0939\u0948"},live:{primary:"\u0932\u093e\u0907\u0935"},matches:{primary:"\u092e\u0947\u0932 \u0916\u093e\u0924\u093e"},not:{primary:"\u0928\u0939\u0940\u0902"},or:{primary:"\u092f\u093e"},otherwise:{primary:"\u0905\u0928\u094d\u092f\u0925\u093e"},then:{primary:"\u092b\u093f\u0930"},when:{primary:"\u091c\u092c"},where:{primary:"\u0915\u0939\u093e\u0901"}},temporal:{every:{primary:"\u0939\u0930"},forever:{primary:"\u0939\u092e\u0947\u0936\u093e"},h:{primary:"\u0918\u0902"},hour:{primary:"\u0918\u0902\u091f\u093e"},hours:{primary:"\u0918\u0902\u091f\u0947"},millisecond:{primary:"\u092e\u093f\u0932\u0940\u0938\u0947\u0915\u0902\u0921"},milliseconds:{primary:"\u092e\u093f\u0932\u0940\u0938\u0947\u0915\u0902\u0921"},min:{primary:"\u092e\u093f"},minute:{primary:"\u092e\u093f\u0928\u091f"},minutes:{primary:"\u092e\u093f\u0928\u091f"},ms:{primary:"\u092e\u093f\u0938\u0947"},once:{primary:"\u090f\u0915_\u092c\u093e\u0930"},s:{primary:"\u0938\u0947"},second:{primary:"\u0938\u0947\u0915\u0902\u0921"},seconds:{primary:"\u0938\u0947\u0915\u0902\u0921"},until:{primary:"\u0924\u0915"}},values:{body:{primary:"\u092c\u0949\u0921\u0940"},closest:{primary:"\u0928\u093f\u0915\u091f\u0924\u092e"},detail:{primary:"\u0935\u093f\u0935\u0930\u0923"},document:{primary:"\u0926\u0938\u094d\u0924\u093e\u0935\u0947\u091c\u093c"},element:{primary:"\u0924\u0924\u094d\u0935"},event:{primary:"\u0918\u091f\u0928\u093e"},false:{primary:"\u091d\u0942\u0920"},first:{primary:"\u092a\u0939\u0932\u093e"},it:{primary:"\u092f\u0939"},its:{primary:"\u0907\u0938\u0915\u093e"},last:{primary:"\u0905\u0902\u0924\u093f\u092e"},me:{primary:"\u092e\u0948\u0902"},my:{primary:"\u092e\u0947\u0930\u093e"},myself:{primary:"\u092e\u0948\u0902_\u0938\u094d\u0935\u092f\u0902"},next:{primary:"\u0905\u0917\u0932\u093e"},null:{primary:"\u0916\u093e\u0932\u0940"},parent:{primary:"\u092e\u0942\u0932"},previous:{primary:"\u092a\u093f\u091b\u0932\u093e"},result:{primary:"\u092a\u0930\u093f\u0923\u093e\u092e"},target:{primary:"\u0932\u0915\u094d\u0937\u094d\u092f"},true:{primary:"\u0938\u091a"},undefined:{primary:"\u0905\u092a\u0930\u093f\u092d\u093e\u0937\u093f\u0924"},value:{primary:"\u092e\u093e\u0928"},window:{primary:"\u0935\u093f\u0902\u0921\u094b"},you:{primary:"\u0906\u092a"},your:{primary:"\u0906\u092a\u0915\u093e"},yourself:{primary:"\u0938\u094d\u0935\u092f\u0902"}},attributes:{attribute:{primary:"\u0917\u0941\u0923"},attributes:{primary:"\u0917\u0941\u0923"},checked:{primary:"\u091a\u0947\u0915"},class:{primary:"\u0915\u094d\u0932\u093e\u0938"},classes:{primary:"\u0915\u094d\u0932\u093e\u0938\u0947\u0938"},disabled:{primary:"\u0905\u0915\u094d\u0937\u092e"},hidden:{primary:"\u091b\u093f\u092a\u093e"},html:{primary:"html"},properties:{primary:"\u0938\u0902\u092a\u0924\u094d\u0924\u093f\u092f\u093e\u0901"},property:{primary:"\u0938\u0902\u092a\u0924\u094d\u0924\u093f"},readonly:{primary:"\u0915\u0947\u0935\u0932_\u092a\u0922\u093c\u0928\u0947"},required:{primary:"\u0906\u0935\u0936\u094d\u092f\u0915"},selected:{primary:"\u091a\u092f\u0928\u093f\u0924"},style:{primary:"\u0938\u094d\u091f\u093e\u0907\u0932"},styles:{primary:"\u0938\u094d\u091f\u093e\u0907\u0932\u094d\u0938"},text:{primary:"\u092a\u093e\u0920"}},expressions:{at:{primary:"\u092a\u0930"},characters:{primary:"\u0905\u0915\u094d\u0937\u0930"},children:{primary:"\u092c\u091a\u094d\u091a\u0947"},closest:{primary:"\u0928\u093f\u0915\u091f\u0924\u092e"},empty:{primary:"\u0916\u093e\u0932\u0940"},"ends with":{primary:"\u092a\u0930_\u0938\u092e\u093e\u092a\u094d\u0924"},first:{primary:"\u092a\u0939\u0932\u093e"},"ignoring case":{primary:"\u0915\u0947\u0938_\u0905\u0928\u0926\u0947\u0916\u093e"},"joined by":{primary:"\u0926\u094d\u0935\u093e\u0930\u093e_\u091c\u0941\u0921\u093c\u093e"},last:{primary:"\u0905\u0902\u0924\u093f\u092e"},"mapped to":{primary:"\u092e\u0947\u0902_\u092a\u0930\u093f\u0935\u0930\u094d\u0924\u093f\u0924"},next:{primary:"\u0905\u0917\u0932\u093e"},no:{primary:"\u0928\u0939\u0940\u0902"},parent:{primary:"\u092e\u0942\u0932"},prev:{primary:"\u092a\u093f\u091b"},previous:{primary:"\u092a\u093f\u091b\u0932\u093e"},random:{primary:"\u092f\u093e\u0926\u0943\u091a\u094d\u091b\u093f\u0915"},some:{primary:"\u0915\u0941\u091b"},"sorted by":{primary:"\u0926\u094d\u0935\u093e\u0930\u093e_\u0915\u094d\u0930\u092e\u092c\u0926\u094d\u0927"},"split by":{primary:"\u0926\u094d\u0935\u093e\u0930\u093e_\u0935\u093f\u092d\u093e\u091c\u093f\u0924"},"starts with":{primary:"\u0938\u0947_\u0936\u0941\u0930\u0942"},within:{primary:"\u0915\u0947_\u0905\u0902\u0926\u0930"}}});Hd("id",{events:{blur:{primary:"blur"},change:{primary:"ubah"},click:{primary:"klik"},dblclick:{primary:"dblclick"},focus:{primary:"fokus"},input:{primary:"masukan"},keydown:{primary:"tekan_tombol"},keypress:{primary:"keypress"},keyup:{primary:"keyup"},load:{primary:"muat"},mousedown:{primary:"mousedown"},mouseenter:{primary:"mouseenter"},mouseleave:{primary:"mouseleave"},mousemove:{primary:"mousemove"},mouseout:{primary:"tinggalkan"},mouseover:{primary:"arahkan"},mouseup:{primary:"mouseup"},reset:{primary:"reset"},resize:{primary:"ubah_ukuran"},scroll:{primary:"gulir"},submit:{primary:"kirim"},touchcancel:{primary:"touchcancel"},touchend:{primary:"touchend"},touchmove:{primary:"touchmove"},touchstart:{primary:"touchstart"},unload:{primary:"bongkar"}},logical:{and:{primary:"dan"},changes:{primary:"berubah"},contains:{primary:"berisi"},else:{primary:"lainnya"},end:{primary:"akhir"},equals:{primary:"sama"},exists:{primary:"ada"},has:{primary:"punya"},have:{primary:"punya"},includes:{primary:"termasuk"},is:{primary:"adalah"},live:{primary:"langsung"},matches:{primary:"cocok"},not:{primary:"bukan"},or:{primary:"atau"},otherwise:{primary:"sebaliknya"},then:{primary:"lalu"},when:{primary:"ketika"},where:{primary:"di_mana"}},temporal:{h:{primary:"j"},hour:{primary:"jam"},hours:{primary:"jam"},millisecond:{primary:"milidetik"},milliseconds:{primary:"milidetik"},min:{primary:"mnt"},minute:{primary:"menit"},minutes:{primary:"menit"},ms:{primary:"ms"},s:{primary:"d"},second:{primary:"detik"},seconds:{primary:"detik"}},values:{body:{primary:"badan"},detail:{primary:"detail"},document:{primary:"dokumen"},element:{primary:"elemen"},event:{primary:"peristiwa"},false:{primary:"salah"},it:{primary:"itu"},its:{primary:"miliknya"},me:{primary:"saya"},my:{primary:"saya punya"},myself:{primary:"saya sendiri"},null:{primary:"kosong"},result:{primary:"hasil"},target:{primary:"target"},true:{primary:"benar"},undefined:{primary:"tidak_terdefinisi"},value:{primary:"nilai"},window:{primary:"jendela"},you:{primary:"kamu"},your:{primary:"kamu punya"},yourself:{primary:"kamu sendiri"}},attributes:{attribute:{primary:"atribut"},attributes:{primary:"atribut_atribut"},class:{primary:"kelas"},classes:{primary:"kelas_kelas"},properties:{primary:"properti_properti"},property:{primary:"properti"},style:{primary:"gaya"},styles:{primary:"gaya_gaya"}},expressions:{at:{primary:"di"},characters:{primary:"karakter"},children:{primary:"anak_anak"},closest:{primary:"terdekat"},empty:{primary:"kosong"},"ends with":{primary:"diakhiri dengan"},exclusive:{primary:"eksklusif"},first:{primary:"pertama"},"ignoring case":{primary:"abaikan kapital"},inclusive:{primary:"inklusif"},"joined by":{primary:"digabung oleh"},last:{primary:"terakhir"},"mapped to":{primary:"dipetakan ke"},next:{primary:"berikutnya"},no:{primary:"tidak_ada"},parent:{primary:"induk"},prev:{primary:"sblm"},previous:{primary:"sebelumnya"},random:{primary:"acak"},some:{primary:"beberapa"},"sorted by":{primary:"diurutkan berdasarkan"},"split by":{primary:"dipisah oleh"},"starts with":{primary:"dimulai dengan"},within:{primary:"dalam"}}});Hd("it",{events:{blur:{primary:"sfuocare"},change:{primary:"cambio"},click:{primary:"clic"},dblclick:{primary:"doppioclic"},focus:{primary:"fuoco"},input:{primary:"input"},keydown:{primary:"tastogi\u00f9"},keypress:{primary:"tastopremi"},keyup:{primary:"tastosu"},load:{primary:"carica"},mousedown:{primary:"mousedown"},mouseenter:{primary:"mouseentra"},mouseleave:{primary:"mouseesce"},mousemove:{primary:"mousemuovi"},mouseout:{primary:"mousefuori"},mouseover:{primary:"mousesopra"},mouseup:{primary:"mouseup"},reset:{primary:"reimpostare"},resize:{primary:"ridimensiona"},scroll:{primary:"scorrimento"},submit:{primary:"invio"},touchcancel:{primary:"toccoannulla"},touchend:{primary:"toccofine"},touchmove:{primary:"toccomuovi"},touchstart:{primary:"toccoinizia"},unload:{primary:"scarica"}},logical:{and:{primary:"e"},changes:{primary:"cambia"},contains:{primary:"contiene"},else:{primary:"altrimenti"},end:{primary:"fine"},equals:{primary:"uguale"},exists:{primary:"esiste"},has:{primary:"ha"},have:{primary:"ho"},includes:{primary:"include"},is:{primary:"\u00e8"},live:{primary:"vivo"},matches:{primary:"corrisponde"},not:{primary:"non"},or:{primary:"o"},otherwise:{primary:"altrimenti"},then:{primary:"allora"},when:{primary:"quando"},where:{primary:"dove"}},temporal:{h:{primary:"h"},hour:{primary:"ora"},hours:{primary:"ore"},millisecond:{primary:"millisecondo"},milliseconds:{primary:"millisecondi"},min:{primary:"min"},minute:{primary:"minuto"},minutes:{primary:"minuti"},ms:{primary:"ms"},s:{primary:"s"},second:{primary:"secondo"},seconds:{primary:"secondi"}},values:{body:{primary:"corpo"},detail:{primary:"dettaglio"},document:{primary:"documento"},element:{primary:"elemento"},event:{primary:"evento"},false:{primary:"falso"},it:{primary:"esso"},its:{primary:"suo"},me:{primary:"io"},my:{primary:"mio"},myself:{primary:"me stesso"},null:{primary:"nullo"},result:{primary:"risultato"},target:{primary:"obiettivo"},true:{primary:"vero"},undefined:{primary:"indefinito"},value:{primary:"valore"},window:{primary:"finestra"},you:{primary:"tu"},your:{primary:"tuo"},yourself:{primary:"te stesso"}},attributes:{attribute:{primary:"attributo"},attributes:{primary:"attributi"},class:{primary:"classe"},classes:{primary:"classi"},properties:{primary:"propriet\u00e0"},property:{primary:"propriet\u00e0"},style:{primary:"stile"},styles:{primary:"stili"}},expressions:{at:{primary:"a"},characters:{primary:"caratteri"},children:{primary:"figli"},closest:{primary:"vicino"},empty:{primary:"vuoto"},"ends with":{primary:"finisce con"},exclusive:{primary:"esclusivo"},first:{primary:"primo"},"ignoring case":{primary:"ignorando maiuscole"},inclusive:{primary:"inclusivo"},"joined by":{primary:"unito per"},last:{primary:"ultimo"},"mapped to":{primary:"trasformato in"},next:{primary:"prossimo"},no:{primary:"nessun"},parent:{primary:"genitore"},prev:{primary:"prec"},previous:{primary:"precedente"},random:{primary:"casuale"},some:{primary:"qualche"},"sorted by":{primary:"ordinato per"},"split by":{primary:"diviso per"},"starts with":{primary:"inizia con"},within:{primary:"dentro"}}});Hd("ja",{events:{blur:{primary:"\u307c\u304b\u3057"},change:{primary:"\u5909\u66f4"},click:{primary:"\u30af\u30ea\u30c3\u30af"},dblclick:{primary:"dblclick"},focus:{primary:"\u30d5\u30a9\u30fc\u30ab\u30b9"},input:{primary:"\u5165\u529b"},keydown:{primary:"\u30ad\u30fc\u30c0\u30a6\u30f3"},keypress:{primary:"\u30ad\u30fc\u30d7\u30ec\u30b9"},keyup:{primary:"\u30ad\u30fc\u30a2\u30c3\u30d7"},load:{primary:"\u8aad\u307f\u8fbc\u307f"},mousedown:{primary:"\u30de\u30a6\u30b9\u62bc\u4e0b"},mouseenter:{primary:"mouseenter"},mouseleave:{primary:"mouseleave"},mousemove:{primary:"mousemove"},mouseout:{primary:"\u30de\u30a6\u30b9\u30a2\u30a6\u30c8"},mouseover:{primary:"\u30de\u30a6\u30b9\u30aa\u30fc\u30d0\u30fc"},mouseup:{primary:"\u30de\u30a6\u30b9\u89e3\u653e"},reset:{primary:"\u30ea\u30bb\u30c3\u30c8"},resize:{primary:"\u30b5\u30a4\u30ba\u5909\u66f4"},scroll:{primary:"\u30b9\u30af\u30ed\u30fc\u30eb"},submit:{primary:"\u9001\u4fe1"},touchcancel:{primary:"touchcancel"},touchend:{primary:"touchend"},touchmove:{primary:"touchmove"},touchstart:{primary:"touchstart"},unload:{primary:"unload"}},logical:{and:{primary:"\u305d\u3057\u3066"},bind:{primary:"\u30d0\u30a4\u30f3\u30c9"},changes:{primary:"\u5909\u308f\u3063\u305f\u3089"},contains:{primary:"\u542b\u3080"},else:{primary:"\u305d\u3046\u3067\u306a\u3051\u308c\u3070"},end:{primary:"\u7d42\u308f\u308a"},equals:{primary:"\u7b49\u3057\u3044"},exists:{primary:"\u5b58\u5728\u3059\u308b"},has:{primary:"\u3042\u308b"},have:{primary:"\u3042\u308b"},includes:{primary:"\u542b\u3081\u308b"},is:{primary:"\u3067\u3042\u308b"},live:{primary:"\u30e9\u30a4\u30d6"},matches:{primary:"\u4e00\u81f4\u3059\u308b"},not:{primary:"\u3067\u306f\u306a\u3044"},or:{primary:"\u307e\u305f\u306f"},otherwise:{primary:"\u305d\u3046\u3067\u306a\u3051\u308c\u3070"},then:{primary:"\u305d\u308c\u304b\u3089"},when:{primary:"\u6642"},where:{primary:"\u3069\u3053"}},temporal:{h:{primary:"\u6642"},hour:{primary:"\u6642\u9593"},hours:{primary:"\u6642\u9593"},millisecond:{primary:"\u30df\u30ea\u79d2"},milliseconds:{primary:"\u30df\u30ea\u79d2"},min:{primary:"\u5206"},minute:{primary:"\u5206"},minutes:{primary:"\u5206"},ms:{primary:"ms"},s:{primary:"\u79d2"},second:{primary:"\u79d2"},seconds:{primary:"\u79d2"}},values:{body:{primary:"\u30dc\u30c7\u30a3"},detail:{primary:"\u8a73\u7d30"},document:{primary:"\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8"},element:{primary:"\u8981\u7d20"},event:{primary:"\u30a4\u30d9\u30f3\u30c8"},false:{primary:"\u507d"},it:{primary:"\u305d\u308c"},its:{primary:"\u305d\u306e"},me:{primary:"\u79c1"},my:{primary:"\u79c1\u306e"},myself:{primary:"\u79c1\u81ea\u8eab"},null:{primary:"null"},result:{primary:"\u7d50\u679c"},target:{primary:"\u5bfe\u8c61"},true:{primary:"\u771f"},undefined:{primary:"\u672a\u5b9a\u7fa9"},value:{primary:"\u5024"},window:{primary:"\u30a6\u30a3\u30f3\u30c9\u30a6"},you:{primary:"\u3042\u306a\u305f"},your:{primary:"\u3042\u306a\u305f\u306e"},yourself:{primary:"\u3042\u306a\u305f\u81ea\u8eab"}},attributes:{attribute:{primary:"\u5c5e\u6027"},attributes:{primary:"\u5c5e\u6027\u7fa4"},class:{primary:"\u30af\u30e9\u30b9"},classes:{primary:"\u30af\u30e9\u30b9\u7fa4"},properties:{primary:"\u30d7\u30ed\u30d1\u30c6\u30a3\u7fa4"},property:{primary:"\u30d7\u30ed\u30d1\u30c6\u30a3"},style:{primary:"\u30b9\u30bf\u30a4\u30eb"},styles:{primary:"\u30b9\u30bf\u30a4\u30eb\u7fa4"}},expressions:{at:{primary:"\u3067"},characters:{primary:"\u6587\u5b57"},children:{primary:"\u5b50"},closest:{primary:"\u6700\u3082\u8fd1\u3044"},empty:{primary:"\u7a7a"},"ends with":{primary:"\u3067\u7d42\u308f\u308b"},exclusive:{primary:"\u9664\u304f"},first:{primary:"\u6700\u521d"},"ignoring case":{primary:"\u5927\u6587\u5b57\u5c0f\u6587\u5b57\u3092\u7121\u8996"},inclusive:{primary:"\u542b\u3080"},"joined by":{primary:"\u3067\u7d50\u5408"},last:{primary:"\u6700\u5f8c"},"mapped to":{primary:"\u306b\u5909\u63db"},next:{primary:"\u6b21"},no:{primary:"\u306a\u3044"},parent:{primary:"\u89aa"},prev:{primary:"\u524d"},previous:{primary:"\u524d"},random:{primary:"\u30e9\u30f3\u30c0\u30e0"},some:{primary:"\u3044\u304f\u3064\u304b"},"sorted by":{primary:"\u3067\u30bd\u30fc\u30c8"},"split by":{primary:"\u3067\u5206\u5272"},"starts with":{primary:"\u3067\u59cb\u307e\u308b"},within:{primary:"\u4ee5\u5185"}}});Hd("ko",{events:{blur:{primary:"\ube14\ub7ec"},change:{primary:"\ubcc0\uacbd"},click:{primary:"\ud074\ub9ad"},dblclick:{primary:"\ub354\ube14\ud074\ub9ad"},focus:{primary:"\ud3ec\ucee4\uc2a4"},input:{primary:"\uc785\ub825"},keydown:{primary:"\ud0a4\ub2e4\uc6b4"},keypress:{primary:"\ud0a4\ud504\ub808\uc2a4"},keyup:{primary:"\ud0a4\uc5c5"},load:{primary:"\ub85c\ub4dc"},mousedown:{primary:"\ub9c8\uc6b0\uc2a4\ub2e4\uc6b4"},mouseenter:{primary:"\ub9c8\uc6b0\uc2a4\uc5d4\ud130"},mouseleave:{primary:"\ub9c8\uc6b0\uc2a4\ub9ac\ube0c"},mousemove:{primary:"\ub9c8\uc6b0\uc2a4\ubb34\ube0c"},mouseout:{primary:"\ub9c8\uc6b0\uc2a4\uc544\uc6c3"},mouseover:{primary:"\ub9c8\uc6b0\uc2a4\uc624\ubc84"},mouseup:{primary:"\ub9c8\uc6b0\uc2a4\uc5c5"},reset:{primary:"\uc7ac\uc124\uc815"},resize:{primary:"\ub9ac\uc0ac\uc774\uc988"},scroll:{primary:"\uc2a4\ud06c\ub864"},submit:{primary:"\uc81c\ucd9c"},touchcancel:{primary:"\ud130\uce58\ucde8\uc18c"},touchend:{primary:"\ud130\uce58\uc885\ub8cc"},touchmove:{primary:"touchmove"},touchstart:{primary:"touchstart"},unload:{primary:"unload"}},logical:{and:{primary:"\uadf8\ub9ac\uace0"},bind:{primary:"\ubc14\uc778\ub4dc"},changes:{primary:"\ubcc0\uacbd\ub418\uba74"},contains:{primary:"\ud3ec\ud568"},else:{primary:"\uc544\ub2c8\uba74"},end:{primary:"\ub05d"},equals:{primary:"\uac19\ub2e4"},exists:{primary:"\uc874\uc7ac"},has:{primary:"\uc788\ub2e4"},have:{primary:"\uc788\ub2e4"},includes:{primary:"\ud3ec\ud568\ud558\ub2e4"},is:{primary:"\uc774\ub2e4"},live:{primary:"\ub77c\uc774\ube0c"},matches:{primary:"\uc77c\uce58"},not:{primary:"\uc544\ub2c8"},or:{primary:"\ub610\ub294"},otherwise:{primary:"\uadf8\ub807\uc9c0\uc54a\uc73c\uba74"},then:{primary:"\uadf8\ub7ec\uba74"},when:{primary:"\ub54c"},where:{primary:"\uc5b4\ub514"}},temporal:{h:{primary:"\uc2dc"},hour:{primary:"\uc2dc\uac04"},hours:{primary:"\uc2dc\uac04"},millisecond:{primary:"\ubc00\ub9ac\ucd08"},milliseconds:{primary:"\ubc00\ub9ac\ucd08"},min:{primary:"\ubd84"},minute:{primary:"\ubd84"},minutes:{primary:"\ubd84"},ms:{primary:"ms"},s:{primary:"\ucd08"},second:{primary:"\ucd08"},seconds:{primary:"\ucd08"}},values:{body:{primary:"\ubc14\ub514"},detail:{primary:"\uc138\ubd80"},document:{primary:"\ubb38\uc11c"},element:{primary:"\uc694\uc18c"},event:{primary:"\uc774\ubca4\ud2b8"},false:{primary:"\uac70\uc9d3"},it:{primary:"\uadf8\uac83"},its:{primary:"\uadf8\uac83\uc758"},me:{primary:"\ub098"},my:{primary:"\ub0b4"},myself:{primary:"\ub098\uc790\uc2e0"},null:{primary:"\ub110"},result:{primary:"\uacb0\uacfc"},target:{primary:"\ub300\uc0c1"},true:{primary:"\ucc38"},undefined:{primary:"\uc815\uc758\uc548\ub428"},value:{primary:"\uac12"},window:{primary:"\ucc3d"},you:{primary:"\ub108"},your:{primary:"\ub124"},yourself:{primary:"\ub108\uc790\uc2e0"}},attributes:{attribute:{primary:"\uc18d\uc131"},attributes:{primary:"\uc18d\uc131\ub4e4"},class:{primary:"\ud074\ub798\uc2a4"},classes:{primary:"\ud074\ub798\uc2a4\ub4e4"},properties:{primary:"\ud504\ub85c\ud37c\ud2f0\ub4e4"},property:{primary:"\ud504\ub85c\ud37c\ud2f0"},style:{primary:"\uc2a4\ud0c0\uc77c"},styles:{primary:"\uc2a4\ud0c0\uc77c\ub4e4"}},expressions:{at:{primary:"\uc5d0\uc11c"},characters:{primary:"\ubb38\uc790"},children:{primary:"\uc790\uc2dd"},closest:{primary:"\uac00\uc7a5\uac00\uae4c\uc6b4"},empty:{primary:"\ube44\uc5b4\uc788\ub294"},"ends with":{primary:"\ub85c\ub05d\ub098\ub294"},exclusive:{primary:"\uc81c\uc678"},first:{primary:"\uccab\ubc88\uc9f8"},"ignoring case":{primary:"\ub300\uc18c\ubb38\uc790_\ubb34\uc2dc"},inclusive:{primary:"\ud3ec\ud568"},"joined by":{primary:"\ub85c_\uacb0\ud569"},last:{primary:"\ub9c8\uc9c0\ub9c9"},"mapped to":{primary:"\ub85c_\ubcc0\ud658"},next:{primary:"\ub2e4\uc74c"},no:{primary:"\uc5c6\uc74c"},parent:{primary:"\ubd80\ubaa8"},prev:{primary:"\uc774\uc804"},previous:{primary:"\uc774\uc804"},random:{primary:"\ubb34\uc791\uc704"},some:{primary:"\uc77c\ubd80"},"sorted by":{primary:"\ub85c_\uc815\ub82c"},"split by":{primary:"\ub85c_\ubd84\ud560"},"starts with":{primary:"\ub85c\uc2dc\uc791"},within:{primary:"\uc774\ub0b4"}}});Hd("ms",{events:{blur:{primary:"blur"},change:{primary:"change"},click:{primary:"click"},dblclick:{primary:"dblclick"},every:{primary:"setiap"},focus:{primary:"focus"},input:{primary:"input"},keydown:{primary:"keydown"},keypress:{primary:"keypress"},keyup:{primary:"keyup"},load:{primary:"load"},mousedown:{primary:"mousedown"},mouseenter:{primary:"mouseenter"},mouseleave:{primary:"mouseleave"},mousemove:{primary:"mousemove"},mouseout:{primary:"mouseout"},mouseover:{primary:"mouseover"},mouseup:{primary:"mouseup"},reset:{primary:"reset"},resize:{primary:"resize"},scroll:{primary:"scroll"},submit:{primary:"submit"},touchcancel:{primary:"touchcancel"},touchend:{primary:"touchend"},touchmove:{primary:"touchmove"},touchstart:{primary:"touchstart"},unload:{primary:"unload"}},logical:{and:{primary:"dan"},changes:{primary:"berubah"},contains:{primary:"mengandungi"},else:{primary:"kalau_tidak"},empty:{primary:"kosong"},end:{primary:"tamat"},equals:{primary:"sama"},exists:{primary:"wujud"},false:{primary:"salah"},has:{primary:"ada"},have:{primary:"ada"},if:{primary:"jika"},includes:{primary:"termasuk"},is:{primary:"adalah"},live:{primary:"langsung"},matches:{primary:"sepadan"},not:{primary:"bukan"},null:{primary:"null"},or:{primary:"atau"},otherwise:{primary:"jika_tidak"},then:{primary:"kemudian"},true:{primary:"benar"},undefined:{primary:"tidak_ditakrifkan"},when:{primary:"apabila"},where:{primary:"di_mana"}},temporal:{forever:{primary:"selamanya"},h:{primary:"j"},hour:{primary:"jam"},hours:{primary:"jam"},millisecond:{primary:"milisaat"},milliseconds:{primary:"milisaat"},min:{primary:"min"},minute:{primary:"minit"},minutes:{primary:"minit"},ms:{primary:"ms"},now:{primary:"sekarang"},s:{primary:"s"},second:{primary:"saat"},seconds:{primary:"saat"},times:{primary:"kali"}},values:{body:{primary:"badan"},detail:{primary:"perincian"},document:{primary:"dokumen"},element:{primary:"elemen"},event:{primary:"peristiwa"},false:{primary:"salah"},it:{primary:"ia"},its:{primary:"nya"},me:{primary:"saya"},my:{primary:"saya_punya"},myself:{primary:"diri_saya"},null:{primary:"null"},result:{primary:"hasil"},target:{primary:"sasaran"},true:{primary:"benar"},undefined:{primary:"tidak_ditakrifkan"},value:{primary:"nilai"},window:{primary:"tetingkap"},you:{primary:"kamu"},your:{primary:"kamu_punya"},yourself:{primary:"diri_kamu"}},attributes:{attribute:{primary:"atribut"},attributes:{primary:"atribut_atribut"},checked:{primary:"ditanda"},class:{primary:"kelas"},classes:{primary:"kelas_kelas"},disabled:{primary:"dilumpuhkan"},html:{primary:"html"},id:{primary:"id"},properties:{primary:"sifat_sifat"},property:{primary:"sifat"},style:{primary:"gaya"},styles:{primary:"gaya_gaya"},text:{primary:"teks"},value:{primary:"nilai"}},expressions:{at:{primary:"di"},characters:{primary:"aksara"},children:{primary:"anak_anak"},closest:{primary:"terdekat"},empty:{primary:"kosong"},"ends with":{primary:"berakhir_dengan"},exclusive:{primary:"eksklusif"},first:{primary:"pertama"},"ignoring case":{primary:"abaikan_huruf_besar_kecil"},inclusive:{primary:"inklusif"},index:{primary:"indeks"},"joined by":{primary:"digabung_oleh"},last:{primary:"terakhir"},length:{primary:"panjang"},"mapped to":{primary:"dipetakan_ke"},next:{primary:"seterusnya"},no:{primary:"tiada"},parent:{primary:"induk"},prev:{primary:"sebelum"},previous:{primary:"sebelumnya"},random:{primary:"rawak"},some:{primary:"beberapa"},"sorted by":{primary:"disusun_mengikut"},"split by":{primary:"dipecah_oleh"},"starts with":{primary:"bermula_dengan"},within:{primary:"dalam"}}});Hd("pl",{events:{blur:{primary:"rozmycie"},change:{primary:"zmiana"},click:{primary:"klikni\u0119cie"},dblclick:{primary:"podw\u00f3jneklikni\u0119cie"},focus:{primary:"fokus"},input:{primary:"wej\u015bcie"},keydown:{primary:"klawiszd\u00f3\u0142"},keypress:{primary:"klawisznaci\u015bni\u0119cie"},keyup:{primary:"klawiszg\u00f3ra"},load:{primary:"za\u0142aduj"},mousedown:{primary:"mousedown"},mouseenter:{primary:"myszwej\u015bcie"},mouseleave:{primary:"myszwyj\u015bcie"},mousemove:{primary:"myszruch"},mouseout:{primary:"myszpoza"},mouseover:{primary:"mysznad"},mouseup:{primary:"mouseup"},reset:{primary:"zresetuj"},resize:{primary:"zmiana rozmiaru"},scroll:{primary:"przewi\u0144"},submit:{primary:"wys\u0142aniu"},touchcancel:{primary:"dotykanuluj"},touchend:{primary:"dotykkoniec"},touchmove:{primary:"dotykruch"},touchstart:{primary:"dotykstart"},unload:{primary:"wy\u0142aduj"}},logical:{and:{primary:"i"},changes:{primary:"zmienia"},contains:{primary:"zawiera"},else:{primary:"inaczej"},end:{primary:"koniec"},equals:{primary:"r\u00f3wna si\u0119"},exists:{primary:"istnieje"},has:{primary:"ma"},have:{primary:"mam"},includes:{primary:"obejmuje"},is:{primary:"jest"},live:{primary:"\u017cywy"},matches:{primary:"pasuje"},not:{primary:"nie"},or:{primary:"lub"},otherwise:{primary:"wpp"},then:{primary:"wtedy"},when:{primary:"kiedy"},where:{primary:"gdzie"}},temporal:{h:{primary:"godz"},hour:{primary:"godzina"},hours:{primary:"godziny"},millisecond:{primary:"milisekunda"},milliseconds:{primary:"milisekundy"},min:{primary:"min"},minute:{primary:"minuta"},minutes:{primary:"minuty"},ms:{primary:"ms"},s:{primary:"s"},second:{primary:"sekunda"},seconds:{primary:"sekundy"}},values:{body:{primary:"body"},detail:{primary:"szczeg\u00f3\u0142"},document:{primary:"dokument"},element:{primary:"element"},event:{primary:"zdarzenie"},false:{primary:"fa\u0142sz"},it:{primary:"to"},its:{primary:"jego"},me:{primary:"ja"},my:{primary:"m\u00f3j"},myself:{primary:"ja sam"},null:{primary:"null"},result:{primary:"wynik"},target:{primary:"cel"},true:{primary:"prawda"},undefined:{primary:"niezdefiniowane"},value:{primary:"warto\u015b\u0107"},window:{primary:"okno"},you:{primary:"ty"},your:{primary:"tw\u00f3j"},yourself:{primary:"ty sam"}},attributes:{attribute:{primary:"atrybut"},attributes:{primary:"atrybuty"},class:{primary:"klasa"},classes:{primary:"klasy"},properties:{primary:"w\u0142a\u015bciwo\u015bci"},property:{primary:"w\u0142a\u015bciwo\u015b\u0107"},style:{primary:"styl"},styles:{primary:"style"}},expressions:{at:{primary:"przy"},characters:{primary:"znaki"},children:{primary:"dzieci"},closest:{primary:"najbli\u017cszy"},empty:{primary:"pusty"},"ends with":{primary:"ko\u0144czy si\u0119 na"},exclusive:{primary:"wy\u0142\u0105cznie"},first:{primary:"pierwszy"},"ignoring case":{primary:"ignoruj\u0105c wielko\u015b\u0107 liter"},inclusive:{primary:"w\u0142\u0105cznie"},"joined by":{primary:"po\u0142\u0105czone przez"},last:{primary:"ostatni"},"mapped to":{primary:"przekszta\u0142cone na"},next:{primary:"nast\u0119pny"},no:{primary:"brak"},parent:{primary:"rodzic"},prev:{primary:"poprz"},previous:{primary:"poprzedni"},random:{primary:"losowy"},some:{primary:"jaki\u015b"},"sorted by":{primary:"sortowane wed\u0142ug"},"split by":{primary:"podzielone przez"},"starts with":{primary:"zaczyna si\u0119 od"},within:{primary:"wewn\u0105trz"}}});Hd("pt",{events:{blur:{primary:"desfoque"},change:{primary:"mudan\u00e7a"},click:{primary:"clique"},dblclick:{primary:"duploClique"},focus:{primary:"foco"},input:{primary:"entrada"},keydown:{primary:"tecla baixo"},keypress:{primary:"teclaPressionar"},keyup:{primary:"tecla cima"},load:{primary:"carregar"},mousedown:{primary:"mouse pressionado"},mouseenter:{primary:"mouseEntrar"},mouseleave:{primary:"mouseSair"},mousemove:{primary:"mouseMover"},mouseout:{primary:"mouse fora"},mouseover:{primary:"mouse sobre"},mouseup:{primary:"mouse solto"},reset:{primary:"redefinir"},resize:{primary:"redimensionar"},scroll:{primary:"rolar"},submit:{primary:"envio"},touchcancel:{primary:"toqueCancelar"},touchend:{primary:"toqueFim"},touchmove:{primary:"toqueMover"},touchstart:{primary:"toqueIn\u00edcio"},unload:{primary:"descarregar"}},logical:{and:{primary:"e"},changes:{primary:"muda"},contains:{primary:"cont\u00e9m"},else:{primary:"sen\u00e3o"},end:{primary:"fim"},equals:{primary:"igual"},exists:{primary:"existe"},has:{primary:"tem"},have:{primary:"tenho"},includes:{primary:"inclui"},is:{primary:"\u00e9"},live:{primary:"vivo"},matches:{primary:"corresponde"},not:{primary:"n\u00e3o"},or:{primary:"ou"},otherwise:{primary:"caso_contr\u00e1rio"},then:{primary:"ent\u00e3o"},when:{primary:"quando"},where:{primary:"onde"}},temporal:{h:{primary:"h"},hour:{primary:"hora"},hours:{primary:"horas"},millisecond:{primary:"milissegundo"},milliseconds:{primary:"milissegundos"},min:{primary:"min"},minute:{primary:"minuto"},minutes:{primary:"minutos"},ms:{primary:"ms"},s:{primary:"s"},second:{primary:"segundo"},seconds:{primary:"segundos"}},values:{body:{primary:"corpo"},detail:{primary:"detalhe"},document:{primary:"documento"},element:{primary:"elemento"},event:{primary:"evento"},false:{primary:"falso"},it:{primary:"isso"},its:{primary:"seu"},me:{primary:"eu"},my:{primary:"meu"},myself:{primary:"eu mesmo"},null:{primary:"nulo"},result:{primary:"resultado"},target:{primary:"alvo"},true:{primary:"verdadeiro"},undefined:{primary:"indefinido"},value:{primary:"valor"},window:{primary:"janela"},you:{primary:"voc\u00ea"},your:{primary:"seu"},yourself:{primary:"voc\u00ea mesmo"}},attributes:{attribute:{primary:"atributo"},attributes:{primary:"atributos"},class:{primary:"classe"},classes:{primary:"classes"},properties:{primary:"propriedades"},property:{primary:"propriedade"},style:{primary:"estilo"},styles:{primary:"estilos"}},expressions:{at:{primary:"em"},characters:{primary:"caracteres"},children:{primary:"filhos"},closest:{primary:"maispr\u00f3ximo"},empty:{primary:"vazio"},"ends with":{primary:"termina com"},exclusive:{primary:"exclusivo"},first:{primary:"primeiro"},"ignoring case":{primary:"ignorando mai\u00fasculas"},inclusive:{primary:"inclusivo"},"joined by":{primary:"unido por"},last:{primary:"\u00faltimo"},"mapped to":{primary:"mapeado para"},next:{primary:"pr\u00f3ximo"},no:{primary:"nenhum"},parent:{primary:"pai"},prev:{primary:"ant"},previous:{primary:"anterior"},random:{primary:"aleat\u00f3rio"},some:{primary:"algum"},"sorted by":{primary:"ordenado por"},"split by":{primary:"dividido por"},"starts with":{primary:"come\u00e7a com"},within:{primary:"dentro"}}});Hd("qu",{events:{blur:{primary:"paqariy"},change:{primary:"kambiay"},click:{primary:"\u00f1itiy"},dblclick:{primary:"dblclick"},focus:{primary:"qhaway"},input:{primary:"yaykuchiy"},keydown:{primary:"llave uray"},keypress:{primary:"keypress"},keyup:{primary:"llave hawa"},load:{primary:"apakuy"},mousedown:{primary:"rat\u00f1itiy"},mouseenter:{primary:"mouseenter"},mouseleave:{primary:"mouseleave"},mousemove:{primary:"mousemove"},mouseout:{primary:"mouseout"},mouseover:{primary:"mouseover"},mouseup:{primary:"rathuqariy"},reset:{primary:"musuqchay"},resize:{primary:"hatun_kay"},scroll:{primary:"kunray"},submit:{primary:"apaykachay"},touchcancel:{primary:"touchcancel"},touchend:{primary:"touchend"},touchmove:{primary:"touchmove"},touchstart:{primary:"touchstart"},unload:{primary:"unload"}},logical:{and:{primary:"chaymanta"},changes:{primary:"tukurikun"},contains:{primary:"ukupi_kan"},else:{primary:"manachus"},end:{primary:"tukuy"},equals:{primary:"kikin"},exists:{primary:"tiyan"},has:{primary:"kachkan"},have:{primary:"kachkani"},includes:{primary:"churasqa"},is:{primary:"kanqa"},live:{primary:"kawsay"},matches:{primary:"tupan"},not:{primary:"mana"},or:{primary:"utaq"},otherwise:{primary:"huk_kaqpi"},then:{primary:"chayqa"},when:{primary:"maykama"},where:{primary:"maypi"}},temporal:{h:{primary:"h"},hour:{primary:"hora"},hours:{primary:"horakuna"},millisecond:{primary:"iskay_paqta_sikundu"},milliseconds:{primary:"iskay_paqta_sikundukuna"},min:{primary:"m"},minute:{primary:"minutu"},minutes:{primary:"minutukuna"},ms:{primary:"ms"},s:{primary:"s"},second:{primary:"sikundu"},seconds:{primary:"sikundukuna"}},values:{body:{primary:"kurku"},detail:{primary:"sut_iy"},document:{primary:"qillqa"},element:{primary:"raku"},event:{primary:"ruway"},false:{primary:"llulla"},it:{primary:"chay"},its:{primary:"chaypaq"},me:{primary:"noqa"},my:{primary:"noqaq"},myself:{primary:"noqa killa"},null:{primary:"chusaq"},result:{primary:"lluqsiy"},target:{primary:"punta"},true:{primary:"cheqaq"},undefined:{primary:"mana_riqsisqa"},value:{primary:"chanin"},window:{primary:"k_iri"},you:{primary:"qam"},your:{primary:"qampaq"},yourself:{primary:"qam killa"}},attributes:{attribute:{primary:"kaq"},attributes:{primary:"kaqkuna"},class:{primary:"ayllu"},classes:{primary:"ayllukuna"},properties:{primary:"kanaykuna"},property:{primary:"kanay"},style:{primary:"sami"},styles:{primary:"samikuna"}},expressions:{at:{primary:"pi"},characters:{primary:"sanampa"},children:{primary:"wawakuna"},closest:{primary:"kaylla"},empty:{primary:"chusaq"},"ends with":{primary:"tukusqa wan"},first:{primary:"\u00f1awpaq"},"ignoring case":{primary:"hatun-huchuy qillqata-saqiy"},"joined by":{primary:"hu\u00f1usqa"},last:{primary:"qhipa"},"mapped to":{primary:"kay kaqman"},next:{primary:"qhipantin"},no:{primary:"mana_kanchu"},parent:{primary:"mama_tayta"},prev:{primary:"\u00f1awpaq"},previous:{primary:"\u00f1awpaqnin"},random:{primary:"imaymanata"},some:{primary:"wakin"},"sorted by":{primary:"niqpi ruwasqa"},"split by":{primary:"rakisqa"},"starts with":{primary:"qallarisqa wan"},within:{primary:"ukupi"}}});Hd("ru",{events:{blur:{primary:"\u043f\u043e\u0442\u0435\u0440\u044f_\u0444\u043e\u043a\u0443\u0441\u0430"},change:{primary:"\u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435"},click:{primary:"\u043a\u043b\u0438\u043a"},dblclick:{primary:"\u0434\u0432\u043e\u0439\u043d\u043e\u0439_\u043a\u043b\u0438\u043a"},focus:{primary:"\u0444\u043e\u043a\u0443\u0441"},input:{primary:"\u0432\u0432\u043e\u0434"},keydown:{primary:"\u043a\u043b\u0430\u0432\u0438\u0448\u0430_\u0432\u043d\u0438\u0437"},keypress:{primary:"\u043d\u0430\u0436\u0430\u0442\u0438\u0435_\u043a\u043b\u0430\u0432\u0438\u0448\u0438"},keyup:{primary:"\u043a\u043b\u0430\u0432\u0438\u0448\u0430_\u0432\u0432\u0435\u0440\u0445"},load:{primary:"\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430"},mousedown:{primary:"\u043c\u044b\u0448\u044c\u0432\u043d\u0438\u0437"},mouseenter:{primary:"\u043c\u044b\u0448\u044c_\u0432\u0445\u043e\u0434"},mouseleave:{primary:"\u043c\u044b\u0448\u044c_\u0432\u044b\u0445\u043e\u0434"},mousemove:{primary:"\u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435_\u043c\u044b\u0448\u0438"},mouseout:{primary:"\u0443\u0445\u043e\u0434"},mouseover:{primary:"\u043d\u0430\u0432\u0435\u0434\u0435\u043d\u0438\u0435"},mouseup:{primary:"\u043c\u044b\u0448\u044c\u0432\u0432\u0435\u0440\u0445"},reset:{primary:"\u0441\u0431\u0440\u043e\u0441\u0438\u0442\u044c"},resize:{primary:"\u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435\u0440\u0430\u0437\u043c\u0435\u0440\u0430"},scroll:{primary:"\u043f\u0440\u043e\u043a\u0440\u0443\u0442\u043a\u0430"},submit:{primary:"\u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430"},touchcancel:{primary:"\u043a\u0430\u0441\u0430\u043d\u0438\u0435_\u043e\u0442\u043c\u0435\u043d\u0430"},touchend:{primary:"\u043a\u0430\u0441\u0430\u043d\u0438\u0435_\u043a\u043e\u043d\u0435\u0446"},touchmove:{primary:"\u043a\u0430\u0441\u0430\u043d\u0438\u0435_\u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435"},touchstart:{primary:"\u043a\u0430\u0441\u0430\u043d\u0438\u0435_\u043d\u0430\u0447\u0430\u043b\u043e"},unload:{primary:"\u0432\u044b\u0433\u0440\u0443\u0437\u043a\u0430"}},logical:{and:{primary:"\u0438"},changes:{primary:"\u0438\u0437\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f"},contains:{primary:"\u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442"},else:{primary:"\u0438\u043d\u0430\u0447\u0435"},empty:{primary:"\u043f\u0443\u0441\u0442\u043e\u0439"},end:{primary:"\u043a\u043e\u043d\u0435\u0446"},equals:{primary:"\u0440\u0430\u0432\u043d\u043e"},exists:{primary:"\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442"},has:{primary:"\u0438\u043c\u0435\u0435\u0442"},have:{primary:"\u0438\u043c\u0435\u044e"},includes:{primary:"\u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442"},is:{primary:"\u0435\u0441\u0442\u044c"},isNot:{primary:"\u043d\u0435_\u0435\u0441\u0442\u044c"},live:{primary:"\u0436\u0438\u0432\u043e\u0439"},matches:{primary:"\u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442"},not:{primary:"\u043d\u0435"},or:{primary:"\u0438\u043b\u0438"},otherwise:{primary:"\u0432_\u043f\u0440\u043e\u0442\u0438\u0432\u043d\u043e\u043c_\u0441\u043b\u0443\u0447\u0430\u0435"},then:{primary:"\u0437\u0430\u0442\u0435\u043c"},when:{primary:"\u043a\u043e\u0433\u0434\u0430"},where:{primary:"\u0433\u0434\u0435"}},temporal:{every:{primary:"\u043a\u0430\u0436\u0434\u044b\u0439"},forever:{primary:"\u0432\u0441\u0435\u0433\u0434\u0430"},h:{primary:"\u0447"},hour:{primary:"\u0447\u0430\u0441"},hours:{primary:"\u0447\u0430\u0441\u043e\u0432"},millisecond:{primary:"\u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434\u0430"},milliseconds:{primary:"\u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434"},min:{primary:"\u043c\u0438\u043d"},minute:{primary:"\u043c\u0438\u043d\u0443\u0442\u0430"},minutes:{primary:"\u043c\u0438\u043d\u0443\u0442"},ms:{primary:"\u043c\u0441"},once:{primary:"\u043e\u0434\u043d\u0430\u0436\u0434\u044b"},s:{primary:"\u0441"},second:{primary:"\u0441\u0435\u043a\u0443\u043d\u0434\u0430"},seconds:{primary:"\u0441\u0435\u043a\u0443\u043d\u0434"},until:{primary:"\u0434\u043e"}},values:{body:{primary:"\u0442\u0435\u043b\u043e"},closest:{primary:"\u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0438\u0439"},detail:{primary:"\u0434\u0435\u0442\u0430\u043b\u0438"},document:{primary:"\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442"},element:{primary:"\u044d\u043b\u0435\u043c\u0435\u043d\u0442"},event:{primary:"\u0441\u043e\u0431\u044b\u0442\u0438\u0435"},false:{primary:"\u043b\u043e\u0436\u044c"},first:{primary:"\u043f\u0435\u0440\u0432\u044b\u0439"},it:{primary:"\u044d\u0442\u043e"},its:{primary:"\u0435\u0433\u043e"},last:{primary:"\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439"},me:{primary:"\u044f"},my:{primary:"\u043c\u043e\u0439"},myself:{primary:"\u044f_\u0441\u0430\u043c"},next:{primary:"\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439"},null:{primary:"\u043d\u0438\u0447\u0435\u0433\u043e"},parent:{primary:"\u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c"},previous:{primary:"\u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439"},result:{primary:"\u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442"},target:{primary:"\u0446\u0435\u043b\u044c"},true:{primary:"\u0438\u0441\u0442\u0438\u043d\u0430"},undefined:{primary:"\u043d\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043e"},value:{primary:"\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435"},window:{primary:"\u043e\u043a\u043d\u043e"},you:{primary:"\u0442\u044b"},your:{primary:"\u0442\u0432\u043e\u0439"},yourself:{primary:"\u0441\u0430\u043c"}},attributes:{attribute:{primary:"\u0430\u0442\u0440\u0438\u0431\u0443\u0442"},attributes:{primary:"\u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b"},checked:{primary:"\u043e\u0442\u043c\u0435\u0447\u0435\u043d\u043e"},class:{primary:"\u043a\u043b\u0430\u0441\u0441"},classes:{primary:"\u043a\u043b\u0430\u0441\u0441\u044b"},disabled:{primary:"\u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u043e"},hidden:{primary:"\u0441\u043a\u0440\u044b\u0442\u043e"},html:{primary:"html"},properties:{primary:"\u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430"},property:{primary:"\u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e"},readonly:{primary:"\u0442\u043e\u043b\u044c\u043a\u043e_\u0447\u0442\u0435\u043d\u0438\u0435"},required:{primary:"\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e"},selected:{primary:"\u0432\u044b\u0431\u0440\u0430\u043d\u043e"},style:{primary:"\u0441\u0442\u0438\u043b\u044c"},styles:{primary:"\u0441\u0442\u0438\u043b\u0438"},text:{primary:"\u0442\u0435\u043a\u0441\u0442"}},expressions:{at:{primary:"\u0432"},characters:{primary:"\u0441\u0438\u043c\u0432\u043e\u043b\u044b"},children:{primary:"\u0434\u0435\u0442\u0438"},closest:{primary:"\u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0438\u0439"},empty:{primary:"\u043f\u0443\u0441\u0442\u043e\u0439"},"ends with":{primary:"\u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f_\u043d\u0430"},exclusive:{primary:"\u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e"},first:{primary:"\u043f\u0435\u0440\u0432\u044b\u0439"},"ignoring case":{primary:"\u0431\u0435\u0437_\u0443\u0447\u0451\u0442\u0430_\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430"},inclusive:{primary:"\u0432\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e"},"joined by":{primary:"\u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u043e_\u0447\u0435\u0440\u0435\u0437"},last:{primary:"\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439"},"mapped to":{primary:"\u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u043e_\u0432"},next:{primary:"\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439"},no:{primary:"\u043d\u0435\u0442"},parent:{primary:"\u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c"},prev:{primary:"\u043f\u0440\u0435\u0434"},previous:{primary:"\u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439"},random:{primary:"\u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0439"},some:{primary:"\u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435"},"sorted by":{primary:"\u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043e_\u043f\u043e"},"split by":{primary:"\u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u043e_\u043f\u043e"},"starts with":{primary:"\u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f_\u0441"},within:{primary:"\u0432\u043d\u0443\u0442\u0440\u0438"}}});Hd("sw",{events:{blur:{primary:"blur"},change:{primary:"kubadilisha"},click:{primary:"bonyeza"},dblclick:{primary:"dblclick"},focus:{primary:"lenga"},input:{primary:"ingizo"},keydown:{primary:"kitufe_shuka"},keypress:{primary:"keypress"},keyup:{primary:"kitufe_juu"},load:{primary:"pakia"},mousedown:{primary:"panya_shuka"},mouseenter:{primary:"panya_ingia"},mouseleave:{primary:"panya_toka"},mousemove:{primary:"panya_sogea"},mouseout:{primary:"panya_nje"},mouseover:{primary:"sogeza juu"},mouseup:{primary:"panya_juu"},reset:{primary:"reset"},resize:{primary:"badilisha_ukubwa"},scroll:{primary:"sogeza"},submit:{primary:"wasilisha"},touchcancel:{primary:"touchcancel"},touchend:{primary:"touchend"},touchmove:{primary:"touchmove"},touchstart:{primary:"touchstart"},unload:{primary:"shuka"}},logical:{and:{primary:"na"},changes:{primary:"inabadilika"},contains:{primary:"ina"},else:{primary:"sivyo"},end:{primary:"mwisho"},equals:{primary:"sawa"},exists:{primary:"ipo"},has:{primary:"ana"},have:{primary:"nina"},includes:{primary:"pamoja"},is:{primary:"ni"},live:{primary:"mubashara"},matches:{primary:"inafanana"},not:{primary:"si"},or:{primary:"au"},otherwise:{primary:"vinginevyo"},then:{primary:"kisha"},when:{primary:"wakati"},where:{primary:"wapi"}},temporal:{h:{primary:"sa"},hour:{primary:"saa"},hours:{primary:"masaa"},millisecond:{primary:"millisekunde"},milliseconds:{primary:"millisekunde"},min:{primary:"dk"},minute:{primary:"dakika"},minutes:{primary:"dakika"},ms:{primary:"ms"},s:{primary:"s"},second:{primary:"sekunde"},seconds:{primary:"sekunde"}},values:{body:{primary:"mwili"},detail:{primary:"maelezo"},document:{primary:"hati"},element:{primary:"kipengele"},event:{primary:"tukio"},false:{primary:"uongo"},it:{primary:"hiyo"},its:{primary:"yake"},me:{primary:"mimi"},my:{primary:"yangu"},myself:{primary:"mimi mwenyewe"},null:{primary:"tupu"},result:{primary:"matokeo"},target:{primary:"lengo"},true:{primary:"kweli"},undefined:{primary:"haijafafanuliwa"},value:{primary:"thamani"},window:{primary:"dirisha"},you:{primary:"wewe"},your:{primary:"yako"},yourself:{primary:"wewe mwenyewe"}},attributes:{attribute:{primary:"sifa"},attributes:{primary:"sifa"},class:{primary:"darasa"},classes:{primary:"madarasa"},properties:{primary:"mali"},property:{primary:"mali"},style:{primary:"mtindo"},styles:{primary:"mitindo"}},expressions:{at:{primary:"katika"},characters:{primary:"herufi"},children:{primary:"watoto"},closest:{primary:"karibu"},empty:{primary:"tupu"},"ends with":{primary:"huisha na"},first:{primary:"kwanza"},"ignoring case":{primary:"puuza herufi kubwa ndogo"},"joined by":{primary:"kuunganishwa kwa"},last:{primary:"wamwisho"},"mapped to":{primary:"kubadilishwa kuwa"},next:{primary:"ijayo"},no:{primary:"hakuna"},parent:{primary:"mzazi"},prev:{primary:"awali"},previous:{primary:"iliyopita"},random:{primary:"nasibu"},some:{primary:"baadhi"},"sorted by":{primary:"kupangwa kwa"},"split by":{primary:"kugawanywa kwa"},"starts with":{primary:"huanza na"},within:{primary:"ndani_ya"}}});Hd("th",{events:{blur:{primary:"\u0e40\u0e1a\u0e25\u0e2d"},change:{primary:"\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19\u0e41\u0e1b\u0e25\u0e07"},click:{primary:"\u0e04\u0e25\u0e34\u0e01"},every:{primary:"\u0e17\u0e38\u0e01"},focus:{primary:"\u0e42\u0e1f\u0e01\u0e31\u0e2a"},input:{primary:"\u0e2d\u0e34\u0e19\u0e1e\u0e38\u0e15"},keydown:{primary:"\u0e01\u0e14\u0e04\u0e35\u0e22\u0e4c"},keyup:{primary:"\u0e1b\u0e25\u0e48\u0e2d\u0e22\u0e04\u0e35\u0e22\u0e4c"},load:{primary:"\u0e42\u0e2b\u0e25\u0e14"},mouseout:{primary:"\u0e40\u0e21\u0e32\u0e2a\u0e4c\u0e2d\u0e2d\u0e01"},mouseover:{primary:"\u0e40\u0e21\u0e32\u0e2a\u0e4c\u0e40\u0e02\u0e49\u0e32"},reset:{primary:"\u0e23\u0e35\u0e40\u0e0b\u0e47\u0e15"},resize:{primary:"\u0e1b\u0e23\u0e31\u0e1a\u0e02\u0e19\u0e32\u0e14"},scroll:{primary:"\u0e40\u0e25\u0e37\u0e48\u0e2d\u0e19"},submit:{primary:"\u0e2a\u0e48\u0e07"}},logical:{and:{primary:"\u0e41\u0e25\u0e30"},changes:{primary:"\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19"},else:{primary:"\u0e44\u0e21\u0e48\u0e07\u0e31\u0e49\u0e19"},empty:{primary:"\u0e27\u0e48\u0e32\u0e07"},end:{primary:"\u0e08\u0e1a"},exists:{primary:"\u0e21\u0e35\u0e2d\u0e22\u0e39\u0e48"},false:{primary:"\u0e40\u0e17\u0e47\u0e08"},has:{primary:"\u0e21\u0e35"},have:{primary:"\u0e21\u0e35"},if:{primary:"\u0e16\u0e49\u0e32"},is:{primary:"\u0e40\u0e1b\u0e47\u0e19"},live:{primary:"\u0e2a\u0e14"},not:{primary:"\u0e44\u0e21\u0e48"},null:{primary:"\u0e27\u0e48\u0e32\u0e07"},or:{primary:"\u0e2b\u0e23\u0e37\u0e2d"},then:{primary:"\u0e41\u0e25\u0e49\u0e27"},true:{primary:"\u0e08\u0e23\u0e34\u0e07"},undefined:{primary:"\u0e44\u0e21\u0e48\u0e01\u0e33\u0e2b\u0e19\u0e14"},when:{primary:"\u0e40\u0e21\u0e37\u0e48\u0e2d"},where:{primary:"\u0e17\u0e35\u0e48\u0e44\u0e2b\u0e19"}},temporal:{forever:{primary:"\u0e15\u0e25\u0e2d\u0e14\u0e44\u0e1b"},hours:{primary:"\u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07"},milliseconds:{primary:"\u0e21\u0e34\u0e25\u0e25\u0e34\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35"},minutes:{primary:"\u0e19\u0e32\u0e17\u0e35"},ms:{primary:"\u0e21\u0e27"},now:{primary:"\u0e15\u0e2d\u0e19\u0e19\u0e35\u0e49"},s:{primary:"\u0e27\u0e34"},seconds:{primary:"\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35"},times:{primary:"\u0e04\u0e23\u0e31\u0e49\u0e07"}},values:{body:{primary:"\u0e1a\u0e2d\u0e14\u0e35\u0e49"},event:{primary:"\u0e40\u0e2b\u0e15\u0e38\u0e01\u0e32\u0e23\u0e13\u0e4c"},it:{primary:"\u0e21\u0e31\u0e19"},its:{primary:"\u0e02\u0e2d\u0e07\u0e21\u0e31\u0e19"},me:{primary:"\u0e09\u0e31\u0e19"},my:{primary:"\u0e02\u0e2d\u0e07\u0e09\u0e31\u0e19"},result:{primary:"\u0e1c\u0e25\u0e25\u0e31\u0e1e\u0e18\u0e4c"},target:{primary:"\u0e40\u0e1b\u0e49\u0e32\u0e2b\u0e21\u0e32\u0e22"},you:{primary:"\u0e04\u0e38\u0e13"},your:{primary:"\u0e02\u0e2d\u0e07\u0e04\u0e38\u0e13"}},attributes:{checked:{primary:"\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e41\u0e25\u0e49\u0e27"},class:{primary:"\u0e04\u0e25\u0e32\u0e2a"},disabled:{primary:"\u0e1b\u0e34\u0e14\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19"},html:{primary:"\u0e40\u0e2d\u0e0a\u0e17\u0e35\u0e40\u0e2d\u0e47\u0e21\u0e41\u0e2d\u0e25"},id:{primary:"\u0e44\u0e2d\u0e14\u0e35"},style:{primary:"\u0e2a\u0e44\u0e15\u0e25\u0e4c"},text:{primary:"\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21"},value:{primary:"\u0e04\u0e48\u0e32"}},expressions:{characters:{primary:"\u0e2d\u0e31\u0e01\u0e02\u0e23\u0e30"},children:{primary:"\u0e25\u0e39\u0e01"},closest:{primary:"\u0e43\u0e01\u0e25\u0e49\u0e2a\u0e38\u0e14"},empty:{primary:"\u0e25\u0e49\u0e32\u0e07"},"ends with":{primary:"\u0e25\u0e07\u0e17\u0e49\u0e32\u0e22\u0e14\u0e49\u0e27\u0e22"},exclusive:{primary:"\u0e22\u0e01\u0e40\u0e27\u0e49\u0e19"},first:{primary:"\u0e41\u0e23\u0e01"},"ignoring case":{primary:"\u0e44\u0e21\u0e48\u0e2a\u0e19\u0e15\u0e31\u0e27\u0e1e\u0e34\u0e21\u0e1e\u0e4c"},inclusive:{primary:"\u0e23\u0e27\u0e21"},index:{primary:"\u0e14\u0e31\u0e0a\u0e19\u0e35"},"joined by":{primary:"\u0e23\u0e27\u0e21\u0e14\u0e49\u0e27\u0e22"},last:{primary:"\u0e2a\u0e38\u0e14\u0e17\u0e49\u0e32\u0e22"},length:{primary:"\u0e04\u0e27\u0e32\u0e21\u0e22\u0e32\u0e27"},"mapped to":{primary:"\u0e41\u0e1b\u0e25\u0e07\u0e40\u0e1b\u0e47\u0e19"},next:{primary:"\u0e16\u0e31\u0e14\u0e44\u0e1b"},parent:{primary:"\u0e15\u0e49\u0e19\u0e17\u0e32\u0e07"},previous:{primary:"\u0e01\u0e48\u0e2d\u0e19\u0e2b\u0e19\u0e49\u0e32"},random:{primary:"\u0e2a\u0e38\u0e48\u0e21"},"sorted by":{primary:"\u0e40\u0e23\u0e35\u0e22\u0e07\u0e15\u0e32\u0e21"},"split by":{primary:"\u0e41\u0e22\u0e01\u0e14\u0e49\u0e27\u0e22"},"starts with":{primary:"\u0e02\u0e36\u0e49\u0e19\u0e15\u0e49\u0e19\u0e14\u0e49\u0e27\u0e22"}}});Hd("tl",{events:{blur:{primary:"blur"},change:{primary:"change"},click:{primary:"click"},dblclick:{primary:"dblclick"},every:{primary:"bawat"},focus:{primary:"focus"},input:{primary:"input"},keydown:{primary:"keydown"},keypress:{primary:"keypress"},keyup:{primary:"keyup"},load:{primary:"load"},mousedown:{primary:"mousedown"},mouseenter:{primary:"mouseenter"},mouseleave:{primary:"mouseleave"},mousemove:{primary:"mousemove"},mouseout:{primary:"mouseout"},mouseover:{primary:"mouseover"},mouseup:{primary:"mouseup"},reset:{primary:"reset"},resize:{primary:"resize"},scroll:{primary:"scroll"},submit:{primary:"submit"},touchcancel:{primary:"touchcancel"},touchend:{primary:"touchend"},touchmove:{primary:"touchmove"},touchstart:{primary:"touchstart"},unload:{primary:"unload"}},logical:{and:{primary:"at"},changes:{primary:"nagbabago"},contains:{primary:"naglalaman"},else:{primary:"kung_hindi"},empty:{primary:"walang_laman"},end:{primary:"wakas"},equals:{primary:"katumbas"},exists:{primary:"may"},false:{primary:"mali"},has:{primary:"may"},have:{primary:"may"},if:{primary:"kung"},includes:{primary:"kasama"},is:{primary:"ay"},live:{primary:"live"},matches:{primary:"tumutugma"},not:{primary:"hindi"},null:{primary:"wala"},or:{primary:"o"},otherwise:{primary:"kung_hindi_man"},then:{primary:"pagkatapos"},true:{primary:"totoo"},undefined:{primary:"hindi_tinukoy"},when:{primary:"kapag"},where:{primary:"kung_saan"}},temporal:{forever:{primary:"magpakailanman"},h:{primary:"h"},hour:{primary:"oras"},hours:{primary:"oras"},millisecond:{primary:"milisegundo"},milliseconds:{primary:"milisegundo"},min:{primary:"min"},minute:{primary:"minuto"},minutes:{primary:"minuto"},ms:{primary:"ms"},now:{primary:"ngayon"},s:{primary:"s"},second:{primary:"segundo"},seconds:{primary:"segundo"},times:{primary:"beses"}},values:{body:{primary:"katawan"},detail:{primary:"detalye"},document:{primary:"dokumento"},element:{primary:"elemento"},event:{primary:"pangyayari"},false:{primary:"mali"},it:{primary:"ito"},its:{primary:"nito"},me:{primary:"ako"},my:{primary:"aking"},myself:{primary:"sarili_ko"},null:{primary:"wala"},result:{primary:"resulta"},target:{primary:"target"},true:{primary:"totoo"},undefined:{primary:"hindi_tinukoy"},value:{primary:"halaga"},window:{primary:"bintana"},you:{primary:"ikaw"},your:{primary:"iyong"},yourself:{primary:"sarili_mo"}},attributes:{attribute:{primary:"katangian"},attributes:{primary:"mga_katangian"},checked:{primary:"naka_tsek"},class:{primary:"klase"},classes:{primary:"mga_klase"},disabled:{primary:"hindi_pinagana"},html:{primary:"html"},id:{primary:"id"},properties:{primary:"mga_ari_arian"},property:{primary:"ari_arian"},style:{primary:"estilo"},styles:{primary:"mga_estilo"},text:{primary:"teksto"},value:{primary:"halaga"}},expressions:{at:{primary:"sa"},characters:{primary:"karakter"},children:{primary:"mga_anak"},closest:{primary:"pinakamalapit"},empty:{primary:"walang_laman"},"ends with":{primary:"nagtatapos_sa"},exclusive:{primary:"bukod"},first:{primary:"una"},"ignoring case":{primary:"huwag_pansinin_ang_case"},inclusive:{primary:"kasama"},index:{primary:"indeks"},"joined by":{primary:"pinagsama_sa"},last:{primary:"huli"},length:{primary:"haba"},"mapped to":{primary:"binago_sa"},next:{primary:"susunod"},no:{primary:"walang"},parent:{primary:"magulang"},prev:{primary:"nakaraan"},previous:{primary:"nakaraan"},random:{primary:"random"},some:{primary:"ilan"},"sorted by":{primary:"nakaayos_ayon_sa"},"split by":{primary:"hinati_sa"},"starts with":{primary:"nagsisimula_sa"},within:{primary:"sa_loob_ng"}}});Hd("tr",{events:{blur:{primary:"bulan\u0131k"},change:{primary:"de\u011fi\u015fim"},click:{primary:"t\u0131klama"},dblclick:{primary:"dblclick"},focus:{primary:"odak"},input:{primary:"giri\u015f"},keydown:{primary:"tu\u015fbasma"},keypress:{primary:"keypress"},keyup:{primary:"tu\u015fb\u0131rakma"},load:{primary:"y\u00fckle"},mousedown:{primary:"farebas"},mouseenter:{primary:"mouseenter"},mouseleave:{primary:"mouseleave"},mousemove:{primary:"mousemove"},mouseout:{primary:"fared\u0131\u015f\u0131nda"},mouseover:{primary:"farei\u00e7inde"},mouseup:{primary:"fareb\u0131rak"},reset:{primary:"s\u0131f\u0131rla"},resize:{primary:"boyutland\u0131rma"},scroll:{primary:"kayd\u0131r"},submit:{primary:"g\u00f6nderme"},touchcancel:{primary:"touchcancel"},touchend:{primary:"touchend"},touchmove:{primary:"touchmove"},touchstart:{primary:"touchstart"},unload:{primary:"unload"}},logical:{and:{primary:"ve"},changes:{primary:"de\u011fi\u015fti\u011finde"},contains:{primary:"i\u00e7erir"},else:{primary:"yoksa"},end:{primary:"son"},equals:{primary:"e\u015fittir"},exists:{primary:"var"},has:{primary:"var"},have:{primary:"var"},includes:{primary:"dahil"},is:{primary:"dir"},live:{primary:"canl\u0131"},matches:{primary:"e\u015fle\u015fir"},not:{primary:"de\u011fil"},or:{primary:"veya"},otherwise:{primary:"aksi_halde"},then:{primary:"ard\u0131ndan"},when:{primary:"iken"},where:{primary:"nerede"}},temporal:{h:{primary:"sa"},hour:{primary:"saat"},hours:{primary:"saat"},millisecond:{primary:"milisaniye"},milliseconds:{primary:"milisaniye"},min:{primary:"dk"},minute:{primary:"dakika"},minutes:{primary:"dakika"},ms:{primary:"ms"},s:{primary:"s"},second:{primary:"saniye"},seconds:{primary:"saniye"}},values:{body:{primary:"g\u00f6vde"},detail:{primary:"detay"},document:{primary:"belge"},element:{primary:"\u00f6\u011fe"},event:{primary:"olay"},false:{primary:"yanl\u0131\u015f"},it:{primary:"o"},its:{primary:"onun"},me:{primary:"ben"},my:{primary:"benim"},myself:{primary:"kendim"},null:{primary:"bo\u015f"},result:{primary:"sonu\u00e7"},target:{primary:"hedef"},true:{primary:"do\u011fru"},undefined:{primary:"tan\u0131ms\u0131z"},value:{primary:"de\u011fer"},window:{primary:"pencere"},you:{primary:"sen"},your:{primary:"senin"},yourself:{primary:"kendin"}},attributes:{attribute:{primary:"\u00f6zellik"},attributes:{primary:"\u00f6zellikler"},class:{primary:"s\u0131n\u0131f"},classes:{primary:"s\u0131n\u0131flar"},properties:{primary:"\u00f6zellikler"},property:{primary:"\u00f6zellik"},style:{primary:"stil"},styles:{primary:"stiller"}},expressions:{at:{primary:"de"},characters:{primary:"karakterler"},children:{primary:"\u00e7ocuklar"},closest:{primary:"enyak\u0131n"},empty:{primary:"bo\u015f"},"ends with":{primary:"ile biter"},exclusive:{primary:"hari\u00e7"},first:{primary:"ilk"},"ignoring case":{primary:"b\u00fcy\u00fck k\u00fc\u00e7\u00fck harf duyars\u0131z"},inclusive:{primary:"dahil"},"joined by":{primary:"ile birle\u015ftirilmi\u015f"},last:{primary:"sonuncu"},"mapped to":{primary:"ye d\u00f6n\u00fc\u015ft\u00fcr\u00fclm\u00fc\u015f"},next:{primary:"sonraki"},no:{primary:"yok"},parent:{primary:"ebeveyn"},prev:{primary:"\u00f6nc"},previous:{primary:"\u00f6nceki"},random:{primary:"rastgele"},some:{primary:"baz\u0131"},"sorted by":{primary:"g\u00f6re s\u0131ral\u0131"},"split by":{primary:"ile b\u00f6l\u00fcnm\u00fc\u015f"},"starts with":{primary:"ile ba\u015flar"},within:{primary:"i\u00e7inde"}}});Hd("uk",{events:{blur:{primary:"\u0440\u043e\u0437\u0444\u043e\u043a\u0443\u0441"},change:{primary:"\u0437\u043c\u0456\u043d\u0430"},click:{primary:"\u043a\u043b\u0456\u043a"},dblclick:{primary:"\u043f\u043e\u0434\u0432\u0456\u0439\u043d\u0438\u0439_\u043a\u043b\u0456\u043a"},focus:{primary:"\u0444\u043e\u043a\u0443\u0441"},input:{primary:"\u0432\u0432\u0435\u0434\u0435\u043d\u043d\u044f"},keydown:{primary:"\u043a\u043b\u0430\u0432\u0456\u0448\u0430_\u0432\u043d\u0438\u0437"},keypress:{primary:"\u043d\u0430\u0442\u0438\u0441\u043a\u0430\u043d\u043d\u044f_\u043a\u043b\u0430\u0432\u0456\u0448\u0456"},keyup:{primary:"\u043a\u043b\u0430\u0432\u0456\u0448\u0430_\u0432\u0433\u043e\u0440\u0443"},load:{primary:"\u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f"},mousedown:{primary:"\u043c\u0438\u0448\u0430\u0432\u043d\u0438\u0437"},mouseenter:{primary:"\u043c\u0438\u0448\u0430_\u0432\u0445\u0456\u0434"},mouseleave:{primary:"\u043c\u0438\u0448\u0430_\u0432\u0438\u0445\u0456\u0434"},mousemove:{primary:"\u0440\u0443\u0445_\u043c\u0438\u0448\u0456"},mouseout:{primary:"\u0432\u0456\u0434\u0432\u0435\u0434\u0435\u043d\u043d\u044f"},mouseover:{primary:"\u043d\u0430\u0432\u0435\u0434\u0435\u043d\u043d\u044f"},mouseup:{primary:"\u043c\u0438\u0448\u0430\u0432\u0433\u043e\u0440\u0443"},reset:{primary:"\u0441\u043a\u0438\u043d\u0443\u0442\u0438"},resize:{primary:"\u0437\u043c\u0456\u043d\u0430\u0440\u043e\u0437\u043c\u0456\u0440\u0443"},scroll:{primary:"\u043f\u0440\u043e\u043a\u0440\u0443\u0442\u043a\u0430"},submit:{primary:"\u043d\u0430\u0434\u0441\u0438\u043b\u0430\u043d\u043d\u044f"},touchcancel:{primary:"\u0434\u043e\u0442\u0438\u043a_\u0441\u043a\u0430\u0441\u0443\u0432\u0430\u043d\u043d\u044f"},touchend:{primary:"\u0434\u043e\u0442\u0438\u043a_\u043a\u0456\u043d\u0435\u0446\u044c"},touchmove:{primary:"\u0434\u043e\u0442\u0438\u043a_\u0440\u0443\u0445"},touchstart:{primary:"\u0434\u043e\u0442\u0438\u043a_\u043f\u043e\u0447\u0430\u0442\u043e\u043a"},unload:{primary:"\u0432\u0438\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f"}},logical:{and:{primary:"\u0456"},changes:{primary:"\u0437\u043c\u0456\u043d\u044e\u0454\u0442\u044c\u0441\u044f"},contains:{primary:"\u043c\u0456\u0441\u0442\u0438\u0442\u044c"},else:{primary:"\u0456\u043d\u0430\u043a\u0448\u0435"},empty:{primary:"\u043f\u043e\u0440\u043e\u0436\u043d\u0456\u0439"},end:{primary:"\u043a\u0456\u043d\u0435\u0446\u044c"},equals:{primary:"\u0434\u043e\u0440\u0456\u0432\u043d\u044e\u0454"},exists:{primary:"\u0456\u0441\u043d\u0443\u0454"},has:{primary:"\u043c\u0430\u0454"},have:{primary:"\u043c\u0430\u044e"},includes:{primary:"\u0432\u043a\u043b\u044e\u0447\u0430\u0454"},is:{primary:"\u0454"},isNot:{primary:"\u043d\u0435_\u0454"},live:{primary:"\u0436\u0438\u0432\u0438\u0439"},matches:{primary:"\u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u0430\u0454"},not:{primary:"\u043d\u0435"},or:{primary:"\u0430\u0431\u043e"},otherwise:{primary:"\u0432_\u0456\u043d\u0448\u043e\u043c\u0443_\u0432\u0438\u043f\u0430\u0434\u043a\u0443"},then:{primary:"\u0442\u043e\u0434\u0456"},when:{primary:"\u043a\u043e\u043b\u0438"},where:{primary:"\u0434\u0435"}},temporal:{every:{primary:"\u043a\u043e\u0436\u043d\u0438\u0439"},forever:{primary:"\u0437\u0430\u0432\u0436\u0434\u0438"},h:{primary:"\u0433\u043e\u0434"},hour:{primary:"\u0433\u043e\u0434\u0438\u043d\u0430"},hours:{primary:"\u0433\u043e\u0434\u0438\u043d"},millisecond:{primary:"\u043c\u0456\u043b\u0456\u0441\u0435\u043a\u0443\u043d\u0434\u0430"},milliseconds:{primary:"\u043c\u0456\u043b\u0456\u0441\u0435\u043a\u0443\u043d\u0434"},min:{primary:"\u0445\u0432"},minute:{primary:"\u0445\u0432\u0438\u043b\u0438\u043d\u0430"},minutes:{primary:"\u0445\u0432\u0438\u043b\u0438\u043d"},ms:{primary:"\u043c\u0441"},once:{primary:"\u043e\u0434\u0438\u043d_\u0440\u0430\u0437"},s:{primary:"\u0441"},second:{primary:"\u0441\u0435\u043a\u0443\u043d\u0434\u0430"},seconds:{primary:"\u0441\u0435\u043a\u0443\u043d\u0434"},until:{primary:"\u0434\u043e"}},values:{body:{primary:"\u0442\u0456\u043b\u043e"},closest:{primary:"\u043d\u0430\u0439\u0431\u043b\u0438\u0436\u0447\u0438\u0439"},detail:{primary:"\u0434\u0435\u0442\u0430\u043b\u0456"},document:{primary:"\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442"},element:{primary:"\u0435\u043b\u0435\u043c\u0435\u043d\u0442"},event:{primary:"\u043f\u043e\u0434\u0456\u044f"},false:{primary:"\u0445\u0438\u0431\u043d\u0456\u0441\u0442\u044c"},first:{primary:"\u043f\u0435\u0440\u0448\u0438\u0439"},it:{primary:"\u0446\u0435"},its:{primary:"\u0439\u043e\u0433\u043e"},last:{primary:"\u043e\u0441\u0442\u0430\u043d\u043d\u0456\u0439"},me:{primary:"\u044f"},my:{primary:"\u043c\u0456\u0439"},myself:{primary:"\u044f_\u0441\u0430\u043c"},next:{primary:"\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u0439"},null:{primary:"\u043d\u0456\u0447\u043e\u0433\u043e"},parent:{primary:"\u0431\u0430\u0442\u044c\u043a\u0456\u0432\u0441\u044c\u043a\u0438\u0439"},previous:{primary:"\u043f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u0456\u0439"},result:{primary:"\u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442"},target:{primary:"\u0446\u0456\u043b\u044c"},true:{primary:"\u0456\u0441\u0442\u0438\u043d\u0430"},undefined:{primary:"\u043d\u0435\u0432\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u043e"},value:{primary:"\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f"},window:{primary:"\u0432\u0456\u043a\u043d\u043e"},you:{primary:"\u0442\u0438"},your:{primary:"\u0442\u0432\u0456\u0439"},yourself:{primary:"\u0441\u0430\u043c"}},attributes:{attribute:{primary:"\u0430\u0442\u0440\u0438\u0431\u0443\u0442"},attributes:{primary:"\u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0438"},checked:{primary:"\u043f\u043e\u0437\u043d\u0430\u0447\u0435\u043d\u043e"},class:{primary:"\u043a\u043b\u0430\u0441"},classes:{primary:"\u043a\u043b\u0430\u0441\u0438"},disabled:{primary:"\u0432\u0438\u043c\u043a\u043d\u0435\u043d\u043e"},hidden:{primary:"\u043f\u0440\u0438\u0445\u043e\u0432\u0430\u043d\u043e"},html:{primary:"html"},properties:{primary:"\u0432\u043b\u0430\u0441\u0442\u0438\u0432\u043e\u0441\u0442\u0456"},property:{primary:"\u0432\u043b\u0430\u0441\u0442\u0438\u0432\u0456\u0441\u0442\u044c"},readonly:{primary:"\u043b\u0438\u0448\u0435_\u0447\u0438\u0442\u0430\u043d\u043d\u044f"},required:{primary:"\u043e\u0431\u043e\u0432'\u044f\u0437\u043a\u043e\u0432\u043e"},selected:{primary:"\u0432\u0438\u0431\u0440\u0430\u043d\u043e"},style:{primary:"\u0441\u0442\u0438\u043b\u044c"},styles:{primary:"\u0441\u0442\u0438\u043b\u0456"},text:{primary:"\u0442\u0435\u043a\u0441\u0442"}},expressions:{at:{primary:"\u0432"},characters:{primary:"\u0441\u0438\u043c\u0432\u043e\u043b\u0438"},children:{primary:"\u0434\u0456\u0442\u0438"},closest:{primary:"\u043d\u0430\u0439\u0431\u043b\u0438\u0436\u0447\u0438\u0439"},empty:{primary:"\u043f\u043e\u0440\u043e\u0436\u043d\u0456\u0439"},"ends with":{primary:"\u0437\u0430\u043a\u0456\u043d\u0447\u0443\u0454\u0442\u044c\u0441\u044f_\u043d\u0430"},exclusive:{primary:"\u0432\u0438\u043a\u043b\u044e\u0447\u043d\u043e"},first:{primary:"\u043f\u0435\u0440\u0448\u0438\u0439"},"ignoring case":{primary:"\u0431\u0435\u0437_\u0443\u0440\u0430\u0445\u0443\u0432\u0430\u043d\u043d\u044f_\u0440\u0435\u0433\u0456\u0441\u0442\u0440\u0443"},inclusive:{primary:"\u0432\u043a\u043b\u044e\u0447\u043d\u043e"},"joined by":{primary:"\u043e\u0431'\u0454\u0434\u043d\u0430\u043d\u043e_\u0447\u0435\u0440\u0435\u0437"},last:{primary:"\u043e\u0441\u0442\u0430\u043d\u043d\u0456\u0439"},"mapped to":{primary:"\u043f\u0435\u0440\u0435\u0442\u0432\u043e\u0440\u0435\u043d\u043e_\u043d\u0430"},next:{primary:"\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u0439"},no:{primary:"\u043d\u0456"},parent:{primary:"\u0431\u0430\u0442\u044c\u043a\u0456\u0432\u0441\u044c\u043a\u0438\u0439"},prev:{primary:"\u043f\u043e\u043f\u0435\u0440"},previous:{primary:"\u043f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u0456\u0439"},random:{primary:"\u0432\u0438\u043f\u0430\u0434\u043a\u043e\u0432\u0438\u0439"},some:{primary:"\u0434\u0435\u044f\u043a\u0456"},"sorted by":{primary:"\u0432\u0456\u0434\u0441\u043e\u0440\u0442\u043e\u0432\u0430\u043d\u043e_\u0437\u0430"},"split by":{primary:"\u0440\u043e\u0437\u0434\u0456\u043b\u0435\u043d\u043e_\u0437\u0430"},"starts with":{primary:"\u043f\u043e\u0447\u0438\u043d\u0430\u0454\u0442\u044c\u0441\u044f_\u0437"},within:{primary:"\u0432\u0441\u0435\u0440\u0435\u0434\u0438\u043d\u0456"}}});Hd("vi",{events:{blur:{primary:"blur"},change:{primary:"change"},click:{primary:"nh\u1ea5p"},dblclick:{primary:"dblclick"},focus:{primary:"focus"},input:{primary:"nh\u1eadp"},keydown:{primary:"keydown"},keypress:{primary:"keypress"},keyup:{primary:"keyup"},load:{primary:"load"},mouseenter:{primary:"mouseenter"},mouseleave:{primary:"mouseleave"},mouseout:{primary:"mouseout"},mouseover:{primary:"mouseover"},reset:{primary:"reset"},resize:{primary:"\u0111\u1ed5i k\u00edch th\u01b0\u1edbc"},scroll:{primary:"cu\u1ed9n"},submit:{primary:"n\u1ed9p"}},logical:{and:{primary:"v\u00e0"},changes:{primary:"thay \u0111\u1ed5i"},contains:{primary:"ch\u1ee9a"},else:{primary:"kh\u00f4ng th\u00ec"},empty:{primary:"tr\u1ed1ng"},end:{primary:"k\u1ebft th\u00fac"},equals:{primary:"b\u1eb1ng"},exists:{primary:"t\u1ed3n t\u1ea1i"},false:{primary:"sai"},has:{primary:"c\u00f3"},have:{primary:"c\u00f3"},is:{primary:"l\u00e0"},live:{primary:"live"},matches:{primary:"kh\u1edbp"},not:{primary:"kh\u00f4ng"},null:{primary:"r\u1ed7ng"},or:{primary:"ho\u1eb7c"},then:{primary:"r\u1ed3i"},true:{primary:"\u0111\u00fang"},when:{primary:"khi"},where:{primary:"\u1edf_\u0111\u00e2u"}},temporal:{always:{primary:"lu\u00f4n lu\u00f4n"},forever:{primary:"m\u00e3i m\u00e3i"},never:{primary:"kh\u00f4ng bao gi\u1edd"},now:{primary:"b\u00e2y gi\u1edd"},once:{primary:"m\u1ed9t l\u1ea7n"},sometimes:{primary:"\u0111\u00f4i khi"},today:{primary:"h\u00f4m nay"},tomorrow:{primary:"ng\u00e0y mai"},twice:{primary:"hai l\u1ea7n"},yesterday:{primary:"h\u00f4m qua"}},values:{all:{primary:"t\u1ea5t c\u1ea3"},any:{primary:"b\u1ea5t k\u1ef3"},body:{primary:"body"},each:{primary:"m\u1ed7i"},event:{primary:"s\u1ef1 ki\u1ec7n"},every:{primary:"t\u1ea5t c\u1ea3"},false:{primary:"sai"},it:{primary:"n\u00f3"},its:{primary:"c\u1ee7a n\u00f3"},me:{primary:"t\u00f4i"},my:{primary:"c\u1ee7a t\u00f4i"},none:{primary:"kh\u00f4ng c\u00f3"},null:{primary:"r\u1ed7ng"},result:{primary:"k\u1ebft qu\u1ea3"},some:{primary:"m\u1ed9t s\u1ed1"},target:{primary:"m\u1ee5c ti\u00eau"},true:{primary:"\u0111\u00fang"},undefined:{primary:"kh\u00f4ng x\u00e1c \u0111\u1ecbnh"},you:{primary:"b\u1ea1n"},your:{primary:"c\u1ee7a b\u1ea1n"}},attributes:{checked:{primary:"\u0111\u01b0\u1ee3c ch\u1ecdn"},class:{primary:"l\u1edbp"},disabled:{primary:"v\u00f4 hi\u1ec7u"},hidden:{primary:"\u1ea9n"},href:{primary:"li\u00ean k\u1ebft"},html:{primary:"html"},id:{primary:"id"},selected:{primary:"\u0111\u01b0\u1ee3c ch\u1ecdn"},src:{primary:"ngu\u1ed3n"},style:{primary:"ki\u1ec3u"},text:{primary:"v\u0103n b\u1ea3n"},value:{primary:"gi\u00e1 tr\u1ecb"}},expressions:{characters:{primary:"k\u00fd t\u1ef1"},children:{primary:"con"},closest:{primary:"g\u1ea7n nh\u1ea5t"},empty:{primary:"l\u00e0m-r\u1ed7ng"},"ends with":{primary:"k\u1ebft th\u00fac b\u1eb1ng"},event:{primary:"s\u1ef1 ki\u1ec7n"},exclusive:{primary:"lo\u1ea1i tr\u1eeb"},first:{primary:"\u0111\u1ea7u ti\u00ean"},"ignoring case":{primary:"kh\u00f4ng ph\u00e2n bi\u1ec7t hoa th\u01b0\u1eddng"},inclusive:{primary:"bao g\u1ed3m"},it:{primary:"n\u00f3"},its:{primary:"c\u1ee7a n\u00f3"},"joined by":{primary:"n\u1ed1i b\u1edfi"},last:{primary:"cu\u1ed1i c\u00f9ng"},"mapped to":{primary:"\u00e1nh x\u1ea1 th\u00e0nh"},me:{primary:"t\u00f4i"},my:{primary:"c\u1ee7a t\u00f4i"},next:{primary:"ti\u1ebfp theo"},parent:{primary:"cha"},previous:{primary:"tr\u01b0\u1edbc \u0111\u00f3"},random:{primary:"ng\u1eabu nhi\u00ean"},result:{primary:"k\u1ebft qu\u1ea3"},"sorted by":{primary:"s\u1eafp x\u1ebfp theo"},"split by":{primary:"t\u00e1ch b\u1edfi"},"starts with":{primary:"b\u1eaft \u0111\u1ea7u b\u1eb1ng"},target:{primary:"m\u1ee5c ti\u00eau"}}});Hd("zh",{events:{blur:{primary:"\u5931\u7126"},change:{primary:"\u6539\u53d8"},click:{primary:"\u70b9\u51fb"},dblclick:{primary:"\u53cc\u51fb"},focus:{primary:"\u805a\u7126"},input:{primary:"\u8f93\u5165"},keydown:{primary:"\u6309\u952e\u6309\u4e0b"},keypress:{primary:"keypress"},keyup:{primary:"\u677e\u952e"},load:{primary:"\u52a0\u8f7d"},mousedown:{primary:"mousedown"},mouseenter:{primary:"mouseenter"},mouseleave:{primary:"mouseleave"},mousemove:{primary:"\u9f20\u6807\u79fb\u52a8"},mouseout:{primary:"\u9f20\u6807\u79fb\u51fa"},mouseover:{primary:"\u9f20\u6807\u79fb\u5165"},mouseup:{primary:"mouseup"},reset:{primary:"\u91cd\u7f6e"},resize:{primary:"\u8c03\u6574\u5927\u5c0f"},scroll:{primary:"\u6eda\u52a8"},submit:{primary:"\u63d0\u4ea4"},touchcancel:{primary:"touchcancel"},touchend:{primary:"touchend"},touchmove:{primary:"\u89e6\u6478\u79fb\u52a8"},touchstart:{primary:"\u89e6\u6478\u5f00\u59cb"},unload:{primary:"\u5378\u8f7d"}},logical:{and:{primary:"\u548c"},bind:{primary:"\u7ed1\u5b9a"},changes:{primary:"\u6539\u53d8\u65f6"},contains:{primary:"\u5305\u542b"},else:{primary:"\u5426\u5219"},end:{primary:"\u7ed3\u675f"},equals:{primary:"\u7b49\u4e8e"},exists:{primary:"\u5b58\u5728"},has:{primary:"\u6709"},have:{primary:"\u6709"},includes:{primary:"\u5305\u62ec"},is:{primary:"\u662f"},live:{primary:"\u5b9e\u65f6"},matches:{primary:"\u5339\u914d"},not:{primary:"\u975e"},or:{primary:"\u6216"},otherwise:{primary:"\u8981\u4e0d\u7136"},then:{primary:"\u90a3\u4e48"},when:{primary:"\u5f53"},where:{primary:"\u54ea\u91cc"}},temporal:{h:{primary:"\u65f6"},hour:{primary:"\u5c0f\u65f6"},hours:{primary:"\u5c0f\u65f6"},millisecond:{primary:"\u6beb\u79d2"},milliseconds:{primary:"\u6beb\u79d2"},min:{primary:"\u5206"},minute:{primary:"\u5206\u949f"},minutes:{primary:"\u5206\u949f"},ms:{primary:"\u6beb\u79d2"},s:{primary:"\u79d2"},second:{primary:"\u79d2"},seconds:{primary:"\u79d2"}},values:{body:{primary:"\u4e3b\u4f53"},detail:{primary:"\u8be6\u60c5"},document:{primary:"\u6587\u6863"},element:{primary:"\u5143\u7d20"},event:{primary:"\u4e8b\u4ef6"},false:{primary:"\u5047"},it:{primary:"\u5b83"},its:{primary:"\u5b83\u7684"},me:{primary:"\u6211"},my:{primary:"\u6211\u7684"},myself:{primary:"\u6211\u81ea\u5df1"},null:{primary:"\u7a7a"},result:{primary:"\u7ed3\u679c"},target:{primary:"\u76ee\u6807"},true:{primary:"\u771f"},undefined:{primary:"\u672a\u5b9a\u4e49"},value:{primary:"\u503c"},window:{primary:"\u7a97\u53e3"},you:{primary:"\u4f60"},your:{primary:"\u4f60\u7684"},yourself:{primary:"\u4f60\u81ea\u5df1"}},attributes:{attribute:{primary:"\u5c5e\u6027"},attributes:{primary:"\u5c5e\u6027\u96c6"},class:{primary:"\u7c7b"},classes:{primary:"\u7c7b\u522b"},properties:{primary:"\u7279\u6027\u96c6"},property:{primary:"\u7279\u6027"},style:{primary:"\u6837\u5f0f"},styles:{primary:"\u6837\u5f0f\u96c6"}},expressions:{at:{primary:"\u5728"},characters:{primary:"\u5b57\u7b26"},children:{primary:"\u5b50\u7ea7"},closest:{primary:"\u6700\u8fd1\u7684"},empty:{primary:"\u7a7a\u7684"},"ends with":{primary:"\u4ee5\u7ed3\u5c3e"},exclusive:{primary:"\u6392\u9664"},first:{primary:"\u7b2c\u4e00\u4e2a"},"ignoring case":{primary:"\u5ffd\u7565\u5927\u5c0f\u5199"},inclusive:{primary:"\u5305\u542b"},"joined by":{primary:"\u7528_\u8fde\u63a5"},last:{primary:"\u6700\u540e\u4e00\u4e2a"},"mapped to":{primary:"\u6620\u5c04\u4e3a"},next:{primary:"\u4e0b\u4e00\u4e2a"},no:{primary:"\u6ca1\u6709"},parent:{primary:"\u7236\u7ea7"},prev:{primary:"\u4e0a\u4e2a"},previous:{primary:"\u4e0a\u4e00\u4e2a"},random:{primary:"\u968f\u673a"},some:{primary:"\u4e00\u4e9b"},"sorted by":{primary:"\u6309_\u6392\u5e8f"},"split by":{primary:"\u6309_\u5206\u5272"},"starts with":{primary:"\u4ee5\u5f00\u5934"},within:{primary:"\u4e4b\u5185"}}}),Pt();var Mv={en:async()=>{const{englishTokenizer:e}=await Promise.resolve().then(()=>(Vn(),Nn)),{englishProfile:t}=await Promise.resolve().then(()=>(Dt(),Kt)),{buildEnglishPatterns:r}=await Promise.resolve().then(()=>(rd(),ed));return{tokenizer:e,profile:t,buildPatterns:r}},es:async()=>{const{spanishTokenizer:e}=await Promise.resolve().then(()=>(Fo(),Vo)),{spanishProfile:t}=await Promise.resolve().then(()=>(Ht(),Bt));return{tokenizer:e,profile:t}},ja:async()=>{const{japaneseTokenizer:e}=await Promise.resolve().then(()=>(ro(),Qn)),{japaneseProfile:t}=await Promise.resolve().then(()=>(mr(),lr));return{tokenizer:e,profile:t}},ar:async()=>{const{arabicTokenizer:e}=await Promise.resolve().then(()=>(_o(),To)),{arabicProfile:t}=await Promise.resolve().then(()=>(qt(),Wt));return{tokenizer:e,profile:t}},ko:async()=>{const{koreanTokenizer:e}=await Promise.resolve().then(()=>(fo(),po)),{koreanProfile:t}=await Promise.resolve().then(()=>(ur(),cr));return{tokenizer:e,profile:t}},zh:async()=>{const{chineseTokenizer:e}=await Promise.resolve().then(()=>(fs(),ps)),{chineseProfile:t}=await Promise.resolve().then(()=>(Zr(),Ur));return{tokenizer:e,profile:t}},tr:async()=>{const{turkishTokenizer:e}=await Promise.resolve().then(()=>(ls(),is)),{turkishProfile:t}=await Promise.resolve().then(()=>($r(),Nr));return{tokenizer:e,profile:t}},pt:async()=>{const{portugueseTokenizer:e}=await Promise.resolve().then(()=>(Os(),Ls)),{portugueseProfile:t}=await Promise.resolve().then(()=>(br(),zr));return{tokenizer:e,profile:t}},fr:async()=>{const{frenchTokenizer:e}=await Promise.resolve().then(()=>(Xs(),Fs)),{frenchProfile:t}=await Promise.resolve().then(()=>(Zt(),Ut));return{tokenizer:e,profile:t}},de:async()=>{const{germanTokenizer:e}=await Promise.resolve().then(()=>(dl(),sl)),{germanProfile:t}=await Promise.resolve().then(()=>($t(),Nt));return{tokenizer:e,profile:t}},id:async()=>{const{indonesianTokenizer:e}=await Promise.resolve().then(()=>(fl(),ul)),{indonesianProfile:t}=await Promise.resolve().then(()=>(ar(),rr));return{tokenizer:e,profile:t}},qu:async()=>{const{quechuaTokenizer:e}=await Promise.resolve().then(()=>(Cl(),Tl)),{quechuaProfile:t}=await Promise.resolve().then(()=>(Sr(),xr));return{tokenizer:e,profile:t}},sw:async()=>{const{swahiliTokenizer:e}=await Promise.resolve().then(()=>(Ml(),_l)),{swahiliProfile:t}=await Promise.resolve().then(()=>(Pr(),Cr));return{tokenizer:e,profile:t}},bn:async()=>{const{bengaliTokenizer:e}=await Promise.resolve().then(()=>(rm(),Qp)),{bengaliProfile:t}=await Promise.resolve().then(()=>(Mt(),Ot));return{tokenizer:e,profile:t}},hi:async()=>{const{hindiTokenizer:e}=await Promise.resolve().then(()=>(Fp(),Vp)),{hindiProfile:t}=await Promise.resolve().then(()=>(tr(),Jt));return{tokenizer:e,profile:t}},it:async()=>{const{italianTokenizer:e}=await Promise.resolve().then(()=>(Xl(),Ul)),{italianProfile:t}=await Promise.resolve().then(()=>(sr(),nr));return{tokenizer:e,profile:t}},ms:async()=>{const{malayTokenizer:e}=await Promise.resolve().then(()=>(ym(),lm)),{malayProfile:t}=await Promise.resolve().then(()=>(fr(),yr));return{tokenizer:e,profile:t}},pl:async()=>{const{polishTokenizer:e}=await Promise.resolve().then(()=>(mp(),sp)),{polishProfile:t}=await Promise.resolve().then(()=>(kr(),hr));return{tokenizer:e,profile:t}},ru:async()=>{const{russianTokenizer:e}=await Promise.resolve().then(()=>(zp(),hp)),{russianProfile:t}=await Promise.resolve().then(()=>(Lr(),jr));return{tokenizer:e,profile:t}},th:async()=>{const{thaiTokenizer:e}=await Promise.resolve().then(()=>(sm(),im)),{thaiProfile:t}=await Promise.resolve().then(()=>(qr(),Wr));return{tokenizer:e,profile:t}},tl:async()=>{const{tagalogTokenizer:e}=await Promise.resolve().then(()=>(Tm(),zm)),{tagalogProfile:t}=await Promise.resolve().then(()=>(Mr(),Or));return{tokenizer:e,profile:t}},uk:async()=>{const{ukrainianTokenizer:e}=await Promise.resolve().then(()=>(Pp(),jp)),{ukrainianProfile:t}=await Promise.resolve().then(()=>(Dr(),Kr));return{tokenizer:e,profile:t}},vi:async()=>{const{vietnameseTokenizer:e}=await Promise.resolve().then(()=>(np(),Ql)),{vietnameseProfile:t}=await Promise.resolve().then(()=>(Hr(),Br));return{tokenizer:e,profile:t}},he:async()=>{const{hebrewTokenizer:e}=await Promise.resolve().then(()=>(Op(),Wp)),{hebrewProfile:t}=await Promise.resolve().then(()=>(Qt(),Yt));return{tokenizer:e,profile:t}}},Nv=Object.keys(Mv);async function Iv(e,t={}){const{url:r,module:i,skipIfRegistered:a=!0}=t;if(a&&Et(e))return{code:e,loaded:!1};try{let t;if(i)t=i;else if(r)t=await async function(e,t){try{const e=await fetch(t);if(!e.ok)throw Error(`Failed to fetch ${t}: ${e.status} ${e.statusText}`);const r=await e.text(),i=new Blob([r],{type:"application/javascript"}),a=URL.createObjectURL(i);try{const e=await import(a);if(!e.tokenizer||!e.profile)throw Error("Invalid language module: missing tokenizer or profile");return e}finally{URL.revokeObjectURL(a)}}catch(r){throw Error(`Failed to load language '${e}' from ${t}: ${r instanceof Error?r.message:r+""}`)}}(e,r);else{const r=Mv[e];if(!r)throw Error(`Unknown language: ${e}. Supported: ${Nv.join(", ")}`);t=await r()}return function(e,t){wt(e,t.tokenizer,t.profile),t.patterns?bt(e,t.patterns):t.buildPatterns&&bt(e,t.buildPatterns())}(e,t),{code:e,loaded:!0}}catch(t){return{code:e,loaded:!1,error:t instanceof Error?t.message:t+""}}}async function $v(e,t={}){return Promise.all(e.map(e=>Iv(e,t)))}function Kv(e){return e in Mv}function Vv(){return Nv.filter(Et)}function Dv(){return Nv.filter(e=>!Et(e))}function Bv(e){return e.map(e=>e.extraction?.scope?e:{...e,template:{...e.template,tokens:[...e.template.tokens,{type:"group",optional:!0,tokens:[{type:"literal",value:"on"},{type:"role",role:"scope",optional:!0,expectedTypes:["selector","reference"]}]}]},extraction:{...e.extraction,scope:{marker:"on"}}})}function Fv(e){const t=St(e)?.roleMarkers?.style;if(!t?.primary)return null;const r={type:"literal",value:t.primary,...t.alternatives?.length?{alternatives:t.alternatives}:{}},i={type:"role",role:"style",expectedTypes:["expression"]};return{token:{type:"group",optional:!0,tokens:"after"===t.position?[i,r]:[r,i]},extraction:{marker:t.primary,...t.alternatives?.length?{markerAlternatives:t.alternatives}:{}}}}function Hv(e,t,r,i,a,n,o,s){const l=Fv(t);return{id:e,language:t,command:"fetch",priority:105,template:{format:`${r} ${i} {source} ${a} {responseType}`,tokens:[{type:"literal",value:r,...n?{alternatives:n}:{}},{type:"group",optional:!0,tokens:[{type:"literal",value:i,...o?{alternatives:o}:{}}]},{type:"role",role:"source",expectedTypes:["literal","expression"]},...l?[l.token]:[],{type:"group",optional:!0,tokens:[{type:"literal",value:a,...s?{alternatives:s}:{}},{type:"role",role:"responseType",expectedTypes:["literal","expression"]}]}]},extraction:{source:{marker:i,...o?{markerAlternatives:o}:{}},...l?{style:l.extraction}:{},responseType:{marker:a,...s?{markerAlternatives:s}:{}}}}}function Uv(e,t,r,i,a,n,o,s){const l=Fv(t),p=[{type:"role",role:"responseType",expectedTypes:["literal","expression"]}];o&&p.push({type:"literal",value:o,...s?{alternatives:s}:{}});return{id:e,language:t,command:"fetch",priority:105,template:{format:`{source} ${i} ${r}`,tokens:[{type:"role",role:"source",expectedTypes:["literal","expression"]},{type:"group",optional:!0,tokens:[{type:"literal",value:i,...n?{alternatives:n}:{}}]},...l?[l.token]:[],{type:"literal",value:r,...a?{alternatives:a}:{}},{type:"group",optional:!0,tokens:p}]},extraction:{source:{marker:i,...n?{markerAlternatives:n}:{}},...l?{style:l.extraction}:{},responseType:o?{marker:o,...s?{markerAlternatives:s}:{}}:{}}}}function Gv(e){const t=St(e)?.keywords?.pick,r=t?.primary;if(!r||"pick"===r.toLowerCase())return{type:"literal",value:"pick"};return{type:"literal",value:r,alternatives:[...t?.alternatives??[],"pick"]}}Lc(),si(),_m(),Jc(),Pt(),Ic(),Pt();var Zv=new Set(["character","characters","item","items"]),Yv=e=>{if(Zv.has(e))return{type:"expression",raw:e};const t=Number(e);return Yd(""===e||Number.isNaN(t)?e:t)};function Xv(e,t){const r=[Gv(e)];return t.objectMarkers?.length&&r.push({type:"group",optional:!0,tokens:[{type:"literal",value:t.objectMarkers[0],...t.objectMarkers.length>1?{alternatives:t.objectMarkers.slice(1)}:{}}]}),r.push({type:"role",role:"method",expectedTypes:["literal","expression"]},{type:"role",role:"patient",expectedTypes:["literal","expression"]},{type:"literal",value:t.srcMarker,...t.srcAlternatives?.length?{alternatives:t.srcAlternatives}:{}},{type:"role",role:"source",expectedTypes:["selector","reference","expression"]}),{id:`pick-${e}-variant`,language:e,command:"pick",priority:110,template:{format:`pick {method} {patient} ${t.srcMarker} {source}`,tokens:r},extraction:{method:{position:1,transform:Yv},patient:{position:2},source:{marker:t.srcMarker,...t.srcAlternatives?.length?{markerAlternatives:t.srcAlternatives}:{}}}}}var Qv={ar:{srcMarker:"\u0645\u0646"},de:{srcMarker:"von",srcAlternatives:["aus"]},es:{srcMarker:"de"},fr:{srcMarker:"de"},he:{srcMarker:"of",srcAlternatives:["\u05e9\u05dc","\u05de"],objectMarkers:["\u05d0\u05ea"]},id:{srcMarker:"dari"},it:{srcMarker:"di",srcAlternatives:["da"]},ms:{srcMarker:"daripada",srcAlternatives:["dari"]},pl:{srcMarker:"z"},pt:{srcMarker:"de"},ru:{srcMarker:"\u0438\u0437"},sw:{srcMarker:"ya",srcAlternatives:["kutoka"]},th:{srcMarker:"\u0e02\u0e2d\u0e07",srcAlternatives:["\u0e08\u0e32\u0e01"]},tl:{srcMarker:"ng",srcAlternatives:["mula"]},uk:{srcMarker:"\u0437"},vi:{srcMarker:"c\u1ee7a",srcAlternatives:["t\u1eeb"]},zh:{srcMarker:"\u7684",objectMarkers:["\u628a"]}};function Jv(e,t){return{id:`pick-${e}-variant-sov`,language:e,command:"pick",priority:110,template:{format:`{source} ${t.genitive} {method} {patient} ${t.patientMarker} pick`,tokens:[{type:"role",role:"source",expectedTypes:["selector","reference","expression"]},{type:"literal",value:t.genitive},{type:"role",role:"method",expectedTypes:["literal","expression"]},{type:"role",role:"patient",expectedTypes:["literal","expression"]},{type:"group",optional:!0,tokens:[{type:"literal",value:t.patientMarker}]},Gv(e)]},extraction:{source:{position:0},method:{position:2,transform:Yv},patient:{position:3}}}}var ef={bn:{genitive:"\u09b0",patientMarker:"\u0995\u09c7"},hi:{genitive:"\u0915\u093e",patientMarker:"\u0915\u094b"},ja:{genitive:"\u306e",patientMarker:"\u3092"},ko:{genitive:"\uc758",patientMarker:"\ub97c"},qu:{genitive:"pa",patientMarker:"ta"},tr:{genitive:"nin",patientMarker:"i"}};dc(),yc();var tf=[{id:"repeat-en-until-event-from",language:"en",command:"repeat",priority:120,template:{format:"repeat until event {event} from {source}",tokens:[{type:"literal",value:"repeat"},{type:"literal",value:"until"},{type:"literal",value:"event"},{type:"role",role:"event",expectedTypes:["literal","expression"]},{type:"literal",value:"from"},{type:"role",role:"source",expectedTypes:["selector","reference","expression"]}]},extraction:{event:{marker:"event"},source:{marker:"from"},loopType:{default:{type:"literal",value:"until-event"}}}},{id:"repeat-en-until-event",language:"en",command:"repeat",priority:110,template:{format:"repeat until event {event}",tokens:[{type:"literal",value:"repeat"},{type:"literal",value:"until"},{type:"literal",value:"event"},{type:"role",role:"event",expectedTypes:["literal","expression"]}]},extraction:{event:{marker:"event"},loopType:{default:{type:"literal",value:"until-event"}}}}],rf=[{id:"set-en-possessive",language:"en",command:"set",priority:100,template:{format:"set {destination} to {patient}",tokens:[{type:"literal",value:"set"},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"literal",value:"to"},{type:"role",role:"patient",expectedTypes:["literal","expression","reference"]}]},extraction:{destination:{position:1},patient:{marker:"to"}}}],af=[{id:"for-en-basic",language:"en",command:"for",priority:100,template:{format:"for {patient} in {source}",tokens:[{type:"literal",value:"for"},{type:"role",role:"patient",expectedTypes:["expression","reference"]},{type:"literal",value:"in"},{type:"role",role:"source",expectedTypes:["selector","expression","reference"]}]},extraction:{patient:{position:1},source:{marker:"in"}}},{id:"if-en-basic",language:"en",command:"if",priority:100,template:{format:"if {condition}",tokens:[{type:"literal",value:"if"},{type:"role",role:"condition",expectedTypes:["expression","reference","selector"]}]},extraction:{condition:{position:1}}},{id:"unless-en-basic",language:"en",command:"unless",priority:100,template:{format:"unless {condition}",tokens:[{type:"literal",value:"unless"},{type:"role",role:"condition",expectedTypes:["expression","reference","selector"]}]},extraction:{condition:{position:1}}}],nf=[{id:"temporal-en-in",language:"en",command:"wait",priority:95,template:{format:"in {duration}",tokens:[{type:"literal",value:"in"},{type:"role",role:"duration",expectedTypes:["literal","expression"]}]},extraction:{duration:{position:1}}},{id:"temporal-en-after",language:"en",command:"wait",priority:95,template:{format:"after {duration}",tokens:[{type:"literal",value:"after"},{type:"role",role:"duration",expectedTypes:["literal","expression"]}]},extraction:{duration:{position:1}}}],of=[...sc,...mc,...tf,...rf,...af,...nf];cc(),ht(),Pt();var sf=[vc,function(e){return[]},ii,Cm,function(e){switch(e){case"bn":return[{id:"add-bn-full",language:"bn",command:"add",priority:100,template:{format:"{patient} \u0995\u09c7 \u09af\u09cb\u0997 \u0995\u09b0\u09c1\u09a8",tokens:[{type:"role",role:"patient"},{type:"literal",value:"\u0995\u09c7"},{type:"literal",value:"\u09af\u09cb\u0997"},{type:"literal",value:"\u0995\u09b0\u09c1\u09a8"}]},extraction:{patient:{position:0}}},{id:"add-bn-simple",language:"bn",command:"add",priority:90,template:{format:"\u09af\u09cb\u0997 {patient}",tokens:[{type:"literal",value:"\u09af\u09cb\u0997"},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}},{id:"add-bn-with-dest",language:"bn",command:"add",priority:95,template:{format:"{destination} \u098f {patient} \u0995\u09c7 \u09af\u09cb\u0997 \u0995\u09b0\u09c1\u09a8",tokens:[{type:"role",role:"destination"},{type:"literal",value:"\u098f",alternatives:["\u09a4\u09c7"]},{type:"role",role:"patient"},{type:"literal",value:"\u0995\u09c7"},{type:"literal",value:"\u09af\u09cb\u0997"},{type:"literal",value:"\u0995\u09b0\u09c1\u09a8"}]},extraction:{destination:{position:0},patient:{position:2}}}];case"hi":return[{id:"add-hi-full",language:"hi",command:"add",priority:100,template:{format:"{patient} \u0915\u094b {destination} \u092e\u0947\u0902 \u091c\u094b\u0921\u093c\u0947\u0902",tokens:[{type:"role",role:"patient"},{type:"literal",value:"\u0915\u094b"},{type:"role",role:"destination"},{type:"literal",value:"\u092e\u0947\u0902"},{type:"literal",value:"\u091c\u094b\u0921\u093c\u0947\u0902",alternatives:["\u091c\u094b\u0921\u093c"]}]},extraction:{patient:{position:0},destination:{marker:"\u092e\u0947\u0902",position:3}}},{id:"add-hi-simple",language:"hi",command:"add",priority:90,template:{format:"{patient} \u091c\u094b\u0921\u093c\u0947\u0902",tokens:[{type:"role",role:"patient"},{type:"literal",value:"\u091c\u094b\u0921\u093c\u0947\u0902",alternatives:["\u091c\u094b\u0921\u093c"]}]},extraction:{patient:{position:0},destination:{default:{type:"reference",value:"me"}}}},{id:"add-hi-bare",language:"hi",command:"add",priority:80,template:{format:"\u091c\u094b\u0921\u093c\u0947\u0902 {patient}",tokens:[{type:"literal",value:"\u091c\u094b\u0921\u093c\u0947\u0902",alternatives:["\u091c\u094b\u0921\u093c"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},destination:{default:{type:"reference",value:"me"}}}}];case"it":return[{id:"add-it-full",language:"it",command:"add",priority:100,template:{format:"aggiungere {patient} a {target}",tokens:[{type:"literal",value:"aggiungere",alternatives:["aggiungi","add"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"a",alternatives:["su","in"]},{type:"role",role:"destination"}]}]},extraction:{patient:{position:1},destination:{marker:"a",markerAlternatives:["su","in"],default:{type:"reference",value:"me"}}}},{id:"add-it-simple",language:"it",command:"add",priority:90,template:{format:"aggiungere {patient}",tokens:[{type:"literal",value:"aggiungere",alternatives:["aggiungi","add"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},destination:{default:{type:"reference",value:"me"}}}}];case"pl":return[{id:"add-pl-full",language:"pl",command:"add",priority:100,template:{format:"dodaj {patient} do {destination}",tokens:[{type:"literal",value:"dodaj"},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"do",alternatives:["na","w"]},{type:"role",role:"destination"}]}]},extraction:{patient:{position:1},destination:{marker:"do",markerAlternatives:["na","w"],default:{type:"reference",value:"me"}}}},{id:"add-pl-simple",language:"pl",command:"add",priority:90,template:{format:"dodaj {patient}",tokens:[{type:"literal",value:"dodaj"},{type:"role",role:"patient"}]},extraction:{patient:{position:1},destination:{default:{type:"reference",value:"me"}}}}];case"qu":return[{id:"add-qu-sov",language:"qu",command:"add",priority:100,template:{format:"{patient} ta yapay",tokens:[{type:"role",role:"patient"},{type:"literal",value:"ta"},{type:"literal",value:"yapay",alternatives:["yapaykuy"]}]},extraction:{patient:{position:0}}},{id:"add-qu-simple",language:"qu",command:"add",priority:90,template:{format:"yapay {patient}",tokens:[{type:"literal",value:"yapay",alternatives:["yapaykuy"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}},{id:"add-qu-patient-first",language:"qu",command:"add",priority:96,template:{format:"{patient} ta {destination} man yapay",tokens:[{type:"role",role:"patient"},{type:"literal",value:"ta"},{type:"role",role:"destination"},{type:"literal",value:"man"},{type:"literal",value:"yapay",alternatives:["yapaykuy"]}]},extraction:{patient:{position:0},destination:{position:2}}},{id:"add-qu-with-dest",language:"qu",command:"add",priority:95,template:{format:"{destination} man {patient} ta yapay",tokens:[{type:"role",role:"destination"},{type:"literal",value:"man"},{type:"role",role:"patient"},{type:"literal",value:"ta"},{type:"literal",value:"yapay",alternatives:["yapaykuy"]}]},extraction:{destination:{position:0},patient:{position:2}}}];case"ru":return[{id:"add-ru-full",language:"ru",command:"add",priority:100,template:{format:"\u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c {patient} \u043a {destination}",tokens:[{type:"literal",value:"\u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c",alternatives:["\u0434\u043e\u0431\u0430\u0432\u044c"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u043a",alternatives:["\u043d\u0430","\u0432"]},{type:"role",role:"destination"}]}]},extraction:{patient:{position:1},destination:{marker:"\u043a",markerAlternatives:["\u043d\u0430","\u0432"],default:{type:"reference",value:"me"}}}},{id:"add-ru-simple",language:"ru",command:"add",priority:90,template:{format:"\u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c {patient}",tokens:[{type:"literal",value:"\u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c",alternatives:["\u0434\u043e\u0431\u0430\u0432\u044c"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},destination:{default:{type:"reference",value:"me"}}}}];case"th":default:return[];case"uk":return[{id:"add-uk-full",language:"uk",command:"add",priority:100,template:{format:"\u0434\u043e\u0434\u0430\u0442\u0438 {patient} \u0434\u043e {destination}",tokens:[{type:"literal",value:"\u0434\u043e\u0434\u0430\u0442\u0438",alternatives:["\u0434\u043e\u0434\u0430\u0439"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u0434\u043e",alternatives:["\u043d\u0430","\u0432"]},{type:"role",role:"destination"}]}]},extraction:{patient:{position:1},destination:{marker:"\u0434\u043e",markerAlternatives:["\u043d\u0430","\u0432"],default:{type:"reference",value:"me"}}}},{id:"add-uk-simple",language:"uk",command:"add",priority:90,template:{format:"\u0434\u043e\u0434\u0430\u0442\u0438 {patient}",tokens:[{type:"literal",value:"\u0434\u043e\u0434\u0430\u0442\u0438",alternatives:["\u0434\u043e\u0434\u0430\u0439"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},destination:{default:{type:"reference",value:"me"}}}}];case"vi":return[{id:"add-vi-full",language:"vi",command:"add",priority:100,template:{format:"th\u00eam {patient} v\u00e0o {target}",tokens:[{type:"literal",value:"th\u00eam",alternatives:["b\u1ed5 sung"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"v\u00e0o",alternatives:["cho"]},{type:"role",role:"destination"}]}]},extraction:{patient:{position:1},destination:{marker:"v\u00e0o",markerAlternatives:["cho"],default:{type:"reference",value:"me"}}}},{id:"add-vi-simple",language:"vi",command:"add",priority:90,template:{format:"th\u00eam {patient}",tokens:[{type:"literal",value:"th\u00eam",alternatives:["b\u1ed5 sung"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},destination:{default:{type:"reference",value:"me"}}}}];case"zh":return[{id:"add-zh-full",language:"zh",command:"add",priority:100,template:{format:"\u7ed9 {destination} \u6dfb\u52a0 {patient}",tokens:[{type:"literal",value:"\u7ed9",alternatives:["\u70ba","\u4e3a"]},{type:"role",role:"destination"},{type:"literal",value:"\u6dfb\u52a0",alternatives:["\u52a0","\u589e\u52a0","\u52a0\u4e0a"]},{type:"role",role:"patient"}]},extraction:{destination:{position:1},patient:{position:3}}},{id:"add-zh-simple",language:"zh",command:"add",priority:90,template:{format:"\u6dfb\u52a0 {patient}",tokens:[{type:"literal",value:"\u6dfb\u52a0",alternatives:["\u52a0","\u589e\u52a0"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},destination:{default:{type:"reference",value:"me"}}}},{id:"add-zh-ba",language:"zh",command:"add",priority:95,template:{format:"\u628a {patient} \u6dfb\u52a0\u5230 {destination}",tokens:[{type:"literal",value:"\u628a"},{type:"role",role:"patient"},{type:"literal",value:"\u6dfb\u52a0\u5230",alternatives:["\u52a0\u5230","\u589e\u52a0\u5230"]},{type:"role",role:"destination"}]},extraction:{patient:{position:1},destination:{marker:"\u6dfb\u52a0\u5230",markerAlternatives:["\u52a0\u5230","\u589e\u52a0\u5230"]}}}]}},function(e){switch(e){case"bn":return[{id:"remove-bn-simple",language:"bn",command:"remove",priority:90,template:{format:"\u09b8\u09b0\u09be\u09a8 {patient}",tokens:[{type:"literal",value:"\u09b8\u09b0\u09be\u09a8",alternatives:["\u09ae\u09c1\u099b\u09c1\u09a8"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}},{id:"remove-bn-with-source",language:"bn",command:"remove",priority:95,template:{format:"{source} \u09a5\u09c7\u0995\u09c7 {patient} \u0995\u09c7 \u09b8\u09b0\u09be\u09a8",tokens:[{type:"role",role:"source"},{type:"literal",value:"\u09a5\u09c7\u0995\u09c7"},{type:"role",role:"patient"},{type:"literal",value:"\u0995\u09c7"},{type:"literal",value:"\u09b8\u09b0\u09be\u09a8",alternatives:["\u09ae\u09c1\u099b\u09c1\u09a8"]}]},extraction:{source:{position:0},patient:{position:2}}}];case"hi":return[{id:"remove-hi-full",language:"hi",command:"remove",priority:100,template:{format:"{patient} \u0915\u094b {source} \u0938\u0947 \u0939\u091f\u093e\u090f\u0902",tokens:[{type:"role",role:"patient"},{type:"literal",value:"\u0915\u094b"},{type:"role",role:"source"},{type:"literal",value:"\u0938\u0947"},{type:"literal",value:"\u0939\u091f\u093e\u090f\u0902",alternatives:["\u0939\u091f\u093e","\u092e\u093f\u091f\u093e\u090f\u0902"]}]},extraction:{patient:{position:0},source:{marker:"\u0938\u0947",position:3}}},{id:"remove-hi-simple",language:"hi",command:"remove",priority:90,template:{format:"{patient} \u0939\u091f\u093e\u090f\u0902",tokens:[{type:"role",role:"patient"},{type:"literal",value:"\u0939\u091f\u093e\u090f\u0902",alternatives:["\u0939\u091f\u093e","\u092e\u093f\u091f\u093e\u090f\u0902"]}]},extraction:{patient:{position:0},source:{default:{type:"reference",value:"me"}}}},{id:"remove-hi-bare",language:"hi",command:"remove",priority:80,template:{format:"\u0939\u091f\u093e\u090f\u0902 {patient}",tokens:[{type:"literal",value:"\u0939\u091f\u093e\u090f\u0902",alternatives:["\u0939\u091f\u093e","\u092e\u093f\u091f\u093e\u090f\u0902"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},source:{default:{type:"reference",value:"me"}}}}];case"it":return[{id:"remove-it-full",language:"it",command:"remove",priority:100,template:{format:"rimuovere {patient} da {source}",tokens:[{type:"literal",value:"rimuovere",alternatives:["rimuovi","eliminare","togliere","remove"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"da",alternatives:["di"]},{type:"role",role:"source"}]}]},extraction:{patient:{position:1},source:{marker:"da",markerAlternatives:["di"],default:{type:"reference",value:"me"}}}},{id:"remove-it-simple",language:"it",command:"remove",priority:90,template:{format:"rimuovere {patient}",tokens:[{type:"literal",value:"rimuovere",alternatives:["rimuovi","eliminare","togliere","remove"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},source:{default:{type:"reference",value:"me"}}}}];case"pl":return[{id:"remove-pl-full",language:"pl",command:"remove",priority:100,template:{format:"usu\u0144 {patient} z {source}",tokens:[{type:"literal",value:"usu\u0144",alternatives:["usun","wyczy\u015b\u0107","wyczysc"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"z",alternatives:["od","ze"]},{type:"role",role:"source"}]}]},extraction:{patient:{position:1},source:{marker:"z",markerAlternatives:["od","ze"],default:{type:"reference",value:"me"}}}},{id:"remove-pl-simple",language:"pl",command:"remove",priority:90,template:{format:"usu\u0144 {patient}",tokens:[{type:"literal",value:"usu\u0144",alternatives:["usun","wyczy\u015b\u0107","wyczysc"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},source:{default:{type:"reference",value:"me"}}}}];case"qu":return[{id:"remove-qu-sov",language:"qu",command:"remove",priority:100,template:{format:"{patient} ta qichuy",tokens:[{type:"role",role:"patient"},{type:"literal",value:"ta"},{type:"literal",value:"qichuy",alternatives:["hurquy","anchuchiy"]}]},extraction:{patient:{position:0}}},{id:"remove-qu-simple",language:"qu",command:"remove",priority:90,template:{format:"qichuy {patient}",tokens:[{type:"literal",value:"qichuy",alternatives:["hurquy","anchuchiy"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}},{id:"remove-qu-patient-first",language:"qu",command:"remove",priority:96,template:{format:"{patient} ta {source} manta qichuy",tokens:[{type:"role",role:"patient"},{type:"literal",value:"ta"},{type:"role",role:"source"},{type:"literal",value:"manta"},{type:"literal",value:"qichuy",alternatives:["hurquy","anchuchiy"]}]},extraction:{patient:{position:0},source:{position:2}}},{id:"remove-qu-with-source",language:"qu",command:"remove",priority:95,template:{format:"{source} manta {patient} ta qichuy",tokens:[{type:"role",role:"source"},{type:"literal",value:"manta"},{type:"role",role:"patient"},{type:"literal",value:"ta"},{type:"literal",value:"qichuy",alternatives:["hurquy","anchuchiy"]}]},extraction:{source:{position:0},patient:{position:2}}}];case"ru":return[{id:"remove-ru-full",language:"ru",command:"remove",priority:100,template:{format:"\u0443\u0434\u0430\u043b\u0438\u0442\u044c {patient} \u0438\u0437 {source}",tokens:[{type:"literal",value:"\u0443\u0434\u0430\u043b\u0438\u0442\u044c",alternatives:["\u0443\u0434\u0430\u043b\u0438","\u0443\u0431\u0440\u0430\u0442\u044c","\u0443\u0431\u0435\u0440\u0438"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u0438\u0437",alternatives:["\u043e\u0442","\u0441"]},{type:"role",role:"source"}]}]},extraction:{patient:{position:1},source:{marker:"\u0438\u0437",markerAlternatives:["\u043e\u0442","\u0441"],default:{type:"reference",value:"me"}}}},{id:"remove-ru-simple",language:"ru",command:"remove",priority:90,template:{format:"\u0443\u0434\u0430\u043b\u0438\u0442\u044c {patient}",tokens:[{type:"literal",value:"\u0443\u0434\u0430\u043b\u0438\u0442\u044c",alternatives:["\u0443\u0434\u0430\u043b\u0438","\u0443\u0431\u0440\u0430\u0442\u044c","\u0443\u0431\u0435\u0440\u0438"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},source:{default:{type:"reference",value:"me"}}}}];case"th":return[{id:"remove-th-simple",language:"th",command:"remove",priority:90,template:{format:"\u0e25\u0e1a {patient}",tokens:[{type:"literal",value:"\u0e25\u0e1a",alternatives:["\u0e25\u0e1a\u0e2d\u0e2d\u0e01"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}},{id:"remove-th-with-source",language:"th",command:"remove",priority:95,template:{format:"\u0e25\u0e1a {patient} \u0e08\u0e32\u0e01 {source}",tokens:[{type:"literal",value:"\u0e25\u0e1a",alternatives:["\u0e25\u0e1a\u0e2d\u0e2d\u0e01"]},{type:"role",role:"patient"},{type:"literal",value:"\u0e08\u0e32\u0e01"},{type:"role",role:"source"}]},extraction:{patient:{position:1},source:{marker:"\u0e08\u0e32\u0e01",position:3}}}];case"uk":return[{id:"remove-uk-full",language:"uk",command:"remove",priority:100,template:{format:"\u0432\u0438\u0434\u0430\u043b\u0438\u0442\u0438 {patient} \u0437 {source}",tokens:[{type:"literal",value:"\u0432\u0438\u0434\u0430\u043b\u0438\u0442\u0438",alternatives:["\u0432\u0438\u0434\u0430\u043b\u0438","\u043f\u0440\u0438\u0431\u0440\u0430\u0442\u0438","\u043f\u0440\u0438\u0431\u0435\u0440\u0438"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u0437",alternatives:["\u0432\u0456\u0434","\u0456\u0437"]},{type:"role",role:"source"}]}]},extraction:{patient:{position:1},source:{marker:"\u0437",markerAlternatives:["\u0432\u0456\u0434","\u0456\u0437"],default:{type:"reference",value:"me"}}}},{id:"remove-uk-simple",language:"uk",command:"remove",priority:90,template:{format:"\u0432\u0438\u0434\u0430\u043b\u0438\u0442\u0438 {patient}",tokens:[{type:"literal",value:"\u0432\u0438\u0434\u0430\u043b\u0438\u0442\u0438",alternatives:["\u0432\u0438\u0434\u0430\u043b\u0438","\u043f\u0440\u0438\u0431\u0440\u0430\u0442\u0438","\u043f\u0440\u0438\u0431\u0435\u0440\u0438"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},source:{default:{type:"reference",value:"me"}}}}];case"vi":return[{id:"remove-vi-full",language:"vi",command:"remove",priority:100,template:{format:"x\u00f3a {patient} kh\u1ecfi {target}",tokens:[{type:"literal",value:"x\u00f3a",alternatives:["g\u1ee1 b\u1ecf","lo\u1ea1i b\u1ecf","b\u1ecf"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"kh\u1ecfi",alternatives:["t\u1eeb"]},{type:"role",role:"source"}]}]},extraction:{patient:{position:1},source:{marker:"kh\u1ecfi",markerAlternatives:["t\u1eeb"],default:{type:"reference",value:"me"}}}},{id:"remove-vi-simple",language:"vi",command:"remove",priority:90,template:{format:"x\u00f3a {patient}",tokens:[{type:"literal",value:"x\u00f3a",alternatives:["g\u1ee1 b\u1ecf","lo\u1ea1i b\u1ecf","b\u1ecf"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},source:{default:{type:"reference",value:"me"}}}}];case"zh":return[{id:"remove-zh-full",language:"zh",command:"remove",priority:100,template:{format:"\u4ece {destination} \u5220\u9664 {patient}",tokens:[{type:"literal",value:"\u4ece",alternatives:["\u5f9e"]},{type:"role",role:"destination"},{type:"literal",value:"\u5220\u9664",alternatives:["\u522a\u9664","\u79fb\u9664","\u53bb\u6389"]},{type:"role",role:"patient"}]},extraction:{destination:{position:1},patient:{position:3}}},{id:"remove-zh-simple",language:"zh",command:"remove",priority:90,template:{format:"\u5220\u9664 {patient}",tokens:[{type:"literal",value:"\u5220\u9664",alternatives:["\u522a\u9664","\u79fb\u9664","\u53bb\u6389"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},destination:{default:{type:"reference",value:"me"}}}},{id:"remove-zh-ba",language:"zh",command:"remove",priority:95,template:{format:"\u628a {patient} \u4ece {destination} \u5220\u9664",tokens:[{type:"literal",value:"\u628a"},{type:"role",role:"patient"},{type:"literal",value:"\u4ece",alternatives:["\u5f9e"]},{type:"role",role:"destination"},{type:"literal",value:"\u5220\u9664",alternatives:["\u522a\u9664","\u79fb\u9664"]}]},extraction:{patient:{position:1},destination:{position:3}}}];default:return[]}},function(e){switch(e){case"bn":return[{id:"show-bn-full",language:"bn",command:"show",priority:100,template:{format:"{patient} \u0995\u09c7 \u09a6\u09c7\u0996\u09be\u09a8",tokens:[{type:"role",role:"patient"},{type:"literal",value:"\u0995\u09c7"},{type:"literal",value:"\u09a6\u09c7\u0996\u09be\u09a8",alternatives:["\u09a6\u09c7\u0996\u09be\u0993"]}]},extraction:{patient:{position:0}}},{id:"show-bn-simple",language:"bn",command:"show",priority:90,template:{format:"\u09a6\u09c7\u0996\u09be\u09a8 {patient}",tokens:[{type:"literal",value:"\u09a6\u09c7\u0996\u09be\u09a8",alternatives:["\u09a6\u09c7\u0996\u09be\u0993"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}}];case"de":return[{id:"show-de-full",language:"de",command:"show",priority:100,template:{format:"zeige {patient}",tokens:[{type:"literal",value:"zeige",alternatives:["zeigen","anzeigen","show"]},{type:"role",role:"patient",expectedTypes:["selector","reference"]}]},extraction:{patient:{position:1}}}];case"fr":return[{id:"show-fr-full",language:"fr",command:"show",priority:100,template:{format:"afficher {patient}",tokens:[{type:"literal",value:"afficher",alternatives:["montrer","pr\u00e9senter","show"]},{type:"role",role:"patient",expectedTypes:["selector","reference"]}]},extraction:{patient:{position:1}}}];case"hi":return[{id:"show-hi-full",language:"hi",command:"show",priority:100,template:{format:"{patient} \u0915\u094b \u0926\u093f\u0916\u093e\u090f\u0902",tokens:[{type:"role",role:"patient"},{type:"literal",value:"\u0915\u094b"},{type:"literal",value:"\u0926\u093f\u0916\u093e\u090f\u0902",alternatives:["\u0926\u093f\u0916\u093e"]}]},extraction:{patient:{position:0}}},{id:"show-hi-simple",language:"hi",command:"show",priority:90,template:{format:"\u0926\u093f\u0916\u093e\u090f\u0902 {patient}",tokens:[{type:"literal",value:"\u0926\u093f\u0916\u093e\u090f\u0902",alternatives:["\u0926\u093f\u0916\u093e"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}},{id:"show-hi-bare",language:"hi",command:"show",priority:80,template:{format:"\u0926\u093f\u0916\u093e\u090f\u0902",tokens:[{type:"literal",value:"\u0926\u093f\u0916\u093e\u090f\u0902",alternatives:["\u0926\u093f\u0916\u093e"]}]},extraction:{patient:{default:{type:"reference",value:"me"}}}}];case"it":return[{id:"show-it-full",language:"it",command:"show",priority:100,template:{format:"mostrare {patient} con {style}",tokens:[{type:"literal",value:"mostrare",alternatives:["mostra","visualizzare","show"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"con"},{type:"role",role:"style"}]}]},extraction:{patient:{position:1},style:{marker:"con"}}},{id:"show-it-simple",language:"it",command:"show",priority:90,template:{format:"mostrare {patient}",tokens:[{type:"literal",value:"mostrare",alternatives:["mostra","visualizzare","show"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}}];case"pl":return[{id:"show-pl-full",language:"pl",command:"show",priority:100,template:{format:"poka\u017c {patient} z {style}",tokens:[{type:"literal",value:"poka\u017c",alternatives:["pokaz","wy\u015bwietl","wyswietl"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"z",alternatives:["ze","jako"]},{type:"role",role:"style"}]}]},extraction:{patient:{position:1},style:{marker:"z",markerAlternatives:["ze","jako"]}}},{id:"show-pl-simple",language:"pl",command:"show",priority:90,template:{format:"poka\u017c {patient}",tokens:[{type:"literal",value:"poka\u017c",alternatives:["pokaz","wy\u015bwietl","wyswietl"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}}];case"ru":return[{id:"show-ru-full",language:"ru",command:"show",priority:100,template:{format:"\u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c {patient} \u0441 {style}",tokens:[{type:"literal",value:"\u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c",alternatives:["\u043f\u043e\u043a\u0430\u0436\u0438"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u0441",alternatives:["\u0441\u043e","\u043a\u0430\u043a"]},{type:"role",role:"style"}]}]},extraction:{patient:{position:1},style:{marker:"\u0441",markerAlternatives:["\u0441\u043e","\u043a\u0430\u043a"]}}},{id:"show-ru-simple",language:"ru",command:"show",priority:90,template:{format:"\u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c {patient}",tokens:[{type:"literal",value:"\u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c",alternatives:["\u043f\u043e\u043a\u0430\u0436\u0438"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}}];case"th":return[{id:"show-th-simple",language:"th",command:"show",priority:100,template:{format:"\u0e41\u0e2a\u0e14\u0e07 {patient}",tokens:[{type:"literal",value:"\u0e41\u0e2a\u0e14\u0e07"},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}}];case"uk":return[{id:"show-uk-full",language:"uk",command:"show",priority:100,template:{format:"\u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 {patient} \u0437 {style}",tokens:[{type:"literal",value:"\u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0438",alternatives:["\u043f\u043e\u043a\u0430\u0436\u0438"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u0437",alternatives:["\u0456\u0437","\u044f\u043a"]},{type:"role",role:"style"}]}]},extraction:{patient:{position:1},style:{marker:"\u0437",markerAlternatives:["\u0456\u0437","\u044f\u043a"]}}},{id:"show-uk-simple",language:"uk",command:"show",priority:90,template:{format:"\u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0438 {patient}",tokens:[{type:"literal",value:"\u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0438",alternatives:["\u043f\u043e\u043a\u0430\u0436\u0438"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}}];case"vi":return[{id:"show-vi-full",language:"vi",command:"show",priority:100,template:{format:"hi\u1ec3n th\u1ecb {patient} v\u1edbi {effect}",tokens:[{type:"literal",value:"hi\u1ec3n th\u1ecb",alternatives:["hi\u1ec7n"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"v\u1edbi"},{type:"role",role:"style"}]}]},extraction:{patient:{position:1},style:{marker:"v\u1edbi"}}},{id:"show-vi-simple",language:"vi",command:"show",priority:90,template:{format:"hi\u1ec3n th\u1ecb {patient}",tokens:[{type:"literal",value:"hi\u1ec3n th\u1ecb",alternatives:["hi\u1ec7n"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}}];case"zh":return[{id:"show-zh-full",language:"zh",command:"show",priority:100,template:{format:"\u663e\u793a {patient}",tokens:[{type:"literal",value:"\u663e\u793a",alternatives:["\u986f\u793a","\u5c55\u793a","\u5448\u73b0","\u5448\u73fe"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}},{id:"show-zh-ba",language:"zh",command:"show",priority:95,template:{format:"\u628a {patient} \u663e\u793a",tokens:[{type:"literal",value:"\u628a"},{type:"role",role:"patient"},{type:"literal",value:"\u663e\u793a",alternatives:["\u986f\u793a","\u5c55\u793a"]}]},extraction:{patient:{position:1}}},{id:"show-zh-with-\u7ed9",language:"zh",command:"show",priority:90,template:{format:"\u7ed9 {destination} \u663e\u793a {patient}",tokens:[{type:"literal",value:"\u7ed9",alternatives:["\u7d66"]},{type:"role",role:"destination"},{type:"literal",value:"\u663e\u793a",alternatives:["\u986f\u793a"]},{type:"role",role:"patient"}]},extraction:{destination:{position:1},patient:{position:3}}}];default:return[]}},function(e){switch(e){case"bn":return[{id:"hide-bn-full",language:"bn",command:"hide",priority:100,template:{format:"{patient} \u0995\u09c7 \u09b2\u09c1\u0995\u09be\u09a8",tokens:[{type:"role",role:"patient"},{type:"literal",value:"\u0995\u09c7"},{type:"literal",value:"\u09b2\u09c1\u0995\u09be\u09a8",alternatives:["\u09b2\u09c1\u0995\u09be\u0993"]}]},extraction:{patient:{position:0}}},{id:"hide-bn-simple",language:"bn",command:"hide",priority:90,template:{format:"\u09b2\u09c1\u0995\u09be\u09a8 {patient}",tokens:[{type:"literal",value:"\u09b2\u09c1\u0995\u09be\u09a8",alternatives:["\u09b2\u09c1\u0995\u09be\u0993"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}}];case"de":return[{id:"hide-de-full",language:"de",command:"hide",priority:100,template:{format:"verstecke {patient}",tokens:[{type:"literal",value:"verstecke",alternatives:["verstecken","verberge","verbergen","hide"]},{type:"role",role:"patient",expectedTypes:["selector","reference"]}]},extraction:{patient:{position:1}}}];case"hi":return[{id:"hide-hi-full",language:"hi",command:"hide",priority:100,template:{format:"{patient} \u0915\u094b \u091b\u093f\u092a\u093e\u090f\u0902",tokens:[{type:"role",role:"patient"},{type:"literal",value:"\u0915\u094b"},{type:"literal",value:"\u091b\u093f\u092a\u093e\u090f\u0902",alternatives:["\u091b\u093f\u092a\u093e"]}]},extraction:{patient:{position:0}}},{id:"hide-hi-simple",language:"hi",command:"hide",priority:90,template:{format:"\u091b\u093f\u092a\u093e\u090f\u0902 {patient}",tokens:[{type:"literal",value:"\u091b\u093f\u092a\u093e\u090f\u0902",alternatives:["\u091b\u093f\u092a\u093e"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}},{id:"hide-hi-bare",language:"hi",command:"hide",priority:80,template:{format:"\u091b\u093f\u092a\u093e\u090f\u0902",tokens:[{type:"literal",value:"\u091b\u093f\u092a\u093e\u090f\u0902",alternatives:["\u091b\u093f\u092a\u093e"]}]},extraction:{patient:{default:{type:"reference",value:"me"}}}}];case"it":return[{id:"hide-it-full",language:"it",command:"hide",priority:100,template:{format:"nascondere {patient} con {style}",tokens:[{type:"literal",value:"nascondere",alternatives:["nascondi","hide"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"con"},{type:"role",role:"style"}]}]},extraction:{patient:{position:1},style:{marker:"con"}}},{id:"hide-it-simple",language:"it",command:"hide",priority:90,template:{format:"nascondere {patient}",tokens:[{type:"literal",value:"nascondere",alternatives:["nascondi","hide"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}}];case"pl":return[{id:"hide-pl-full",language:"pl",command:"hide",priority:100,template:{format:"ukryj {patient} z {style}",tokens:[{type:"literal",value:"ukryj",alternatives:["schowaj","zas\u0142o\u0144","zaslon"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"z",alternatives:["ze","jako"]},{type:"role",role:"style",expectedTypes:["literal"]}]}]},extraction:{patient:{position:1},style:{marker:"z",markerAlternatives:["ze","jako"]}}},{id:"hide-pl-simple",language:"pl",command:"hide",priority:90,template:{format:"ukryj {patient}",tokens:[{type:"literal",value:"ukryj",alternatives:["schowaj","zas\u0142o\u0144","zaslon"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}}];case"ru":return[{id:"hide-ru-full",language:"ru",command:"hide",priority:100,template:{format:"\u0441\u043a\u0440\u044b\u0442\u044c {patient} \u0441 {style}",tokens:[{type:"literal",value:"\u0441\u043a\u0440\u044b\u0442\u044c",alternatives:["\u0441\u043a\u0440\u043e\u0439","\u0441\u043f\u0440\u044f\u0442\u0430\u0442\u044c","\u0441\u043f\u0440\u044f\u0447\u044c"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u0441",alternatives:["\u0441\u043e","\u043a\u0430\u043a"]},{type:"role",role:"style"}]}]},extraction:{patient:{position:1},style:{marker:"\u0441",markerAlternatives:["\u0441\u043e","\u043a\u0430\u043a"]}}},{id:"hide-ru-simple",language:"ru",command:"hide",priority:90,template:{format:"\u0441\u043a\u0440\u044b\u0442\u044c {patient}",tokens:[{type:"literal",value:"\u0441\u043a\u0440\u044b\u0442\u044c",alternatives:["\u0441\u043a\u0440\u043e\u0439","\u0441\u043f\u0440\u044f\u0442\u0430\u0442\u044c","\u0441\u043f\u0440\u044f\u0447\u044c"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}}];case"th":return[{id:"hide-th-simple",language:"th",command:"hide",priority:100,template:{format:"\u0e0b\u0e48\u0e2d\u0e19 {patient}",tokens:[{type:"literal",value:"\u0e0b\u0e48\u0e2d\u0e19"},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}}];case"uk":return[{id:"hide-uk-full",language:"uk",command:"hide",priority:100,template:{format:"\u0441\u0445\u043e\u0432\u0430\u0442\u0438 {patient} \u0437 {style}",tokens:[{type:"literal",value:"\u0441\u0445\u043e\u0432\u0430\u0442\u0438",alternatives:["\u0441\u0445\u043e\u0432\u0430\u0439","\u043f\u0440\u0438\u0445\u043e\u0432\u0430\u0442\u0438","\u043f\u0440\u0438\u0445\u043e\u0432\u0430\u0439"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u0437",alternatives:["\u0456\u0437","\u044f\u043a"]},{type:"role",role:"style",expectedTypes:["literal"]}]}]},extraction:{patient:{position:1},style:{marker:"\u0437",markerAlternatives:["\u0456\u0437","\u044f\u043a"]}}},{id:"hide-uk-simple",language:"uk",command:"hide",priority:90,template:{format:"\u0441\u0445\u043e\u0432\u0430\u0442\u0438 {patient}",tokens:[{type:"literal",value:"\u0441\u0445\u043e\u0432\u0430\u0442\u0438",alternatives:["\u0441\u0445\u043e\u0432\u0430\u0439","\u043f\u0440\u0438\u0445\u043e\u0432\u0430\u0442\u0438","\u043f\u0440\u0438\u0445\u043e\u0432\u0430\u0439"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}}];case"vi":return[{id:"hide-vi-full",language:"vi",command:"hide",priority:100,template:{format:"\u1ea9n {patient} v\u1edbi {effect}",tokens:[{type:"literal",value:"\u1ea9n",alternatives:["che","gi\u1ea5u"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"v\u1edbi"},{type:"role",role:"style"}]}]},extraction:{patient:{position:1},style:{marker:"v\u1edbi"}}},{id:"hide-vi-simple",language:"vi",command:"hide",priority:90,template:{format:"\u1ea9n {patient}",tokens:[{type:"literal",value:"\u1ea9n",alternatives:["che","gi\u1ea5u"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}}];case"zh":return[{id:"hide-zh-full",language:"zh",command:"hide",priority:100,template:{format:"\u9690\u85cf {patient}",tokens:[{type:"literal",value:"\u9690\u85cf",alternatives:["\u96b1\u85cf","\u85cf\u8d77","\u85cf"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}},{id:"hide-zh-ba",language:"zh",command:"hide",priority:95,template:{format:"\u628a {patient} \u9690\u85cf",tokens:[{type:"literal",value:"\u628a"},{type:"role",role:"patient"},{type:"literal",value:"\u9690\u85cf",alternatives:["\u96b1\u85cf","\u85cf\u8d77"]}]},extraction:{patient:{position:1}}},{id:"hide-zh-from",language:"zh",command:"hide",priority:90,template:{format:"\u4ece {destination} \u9690\u85cf {patient}",tokens:[{type:"literal",value:"\u4ece",alternatives:["\u5f9e"]},{type:"role",role:"destination"},{type:"literal",value:"\u9690\u85cf",alternatives:["\u96b1\u85cf"]},{type:"role",role:"patient"}]},extraction:{destination:{position:1},patient:{position:3}}}];default:return[]}},function(e){switch(e){case"bn":return Bv([{id:"set-bn-full",language:"bn",command:"set",priority:100,template:{format:"{destination} \u0995\u09c7 {patient} \u09a4\u09c7 \u09b8\u09c7\u099f",tokens:[{type:"role",role:"destination"},{type:"literal",value:"\u0995\u09c7"},{type:"role",role:"patient"},{type:"literal",value:"\u09a4\u09c7",alternatives:["\u098f"]},{type:"literal",value:"\u09b8\u09c7\u099f",alternatives:["\u09a8\u09bf\u09b0\u09cd\u09a7\u09be\u09b0\u09a3"]},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u0995\u09b0\u09c1\u09a8"}]}]},extraction:{destination:{position:0},patient:{marker:"\u09a4\u09c7",position:2}}},{id:"set-bn-simple",language:"bn",command:"set",priority:90,template:{format:"\u09b8\u09c7\u099f {destination} {patient}",tokens:[{type:"literal",value:"\u09b8\u09c7\u099f",alternatives:["\u09a8\u09bf\u09b0\u09cd\u09a7\u09be\u09b0\u09a3"]},{type:"role",role:"destination"},{type:"role",role:"patient"}]},extraction:{destination:{position:1},patient:{position:2}}}]);case"de":return Bv([{id:"set-de-full",language:"de",command:"set",priority:100,template:{format:"setze {destination} auf {patient}",tokens:[{type:"literal",value:"setze",alternatives:["set"]},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"literal",value:"auf",alternatives:["zu","an"]},{type:"role",role:"patient",expectedTypes:["literal","expression","reference"]}]},extraction:{destination:{position:1},patient:{position:3}}},{id:"set-de-festlegen-auf",language:"de",command:"set",priority:99,template:{format:"festlegen auf {destination} {patient}",tokens:[{type:"literal",value:"festlegen",alternatives:["einstellen"]},{type:"literal",value:"auf",alternatives:["an"]},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"role",role:"patient",expectedTypes:["literal","expression","reference"]}]},extraction:{destination:{position:2},patient:{position:3}}},{id:"set-de-equals",language:"de",command:"set",priority:95,template:{format:"{destination} = {patient}",tokens:[{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"literal",value:"="},{type:"role",role:"patient",expectedTypes:["literal","expression","reference"]}]},extraction:{destination:{position:0},patient:{position:2}}}]);case"es":return Bv([{id:"set-es-full",language:"es",command:"set",priority:100,template:{format:"establecer {destination} a {patient}",tokens:[{type:"literal",value:"establecer",alternatives:["fijar","definir","poner","set"]},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"literal",value:"a",alternatives:["en","como"]},{type:"role",role:"patient",expectedTypes:["literal","expression","reference"]}]},extraction:{destination:{position:1},patient:{position:3}}},{id:"set-es-prep-first",language:"es",command:"set",priority:95,template:{format:"establecer en {destination} {patient}",tokens:[{type:"literal",value:"establecer",alternatives:["fijar","definir","poner","set"]},{type:"literal",value:"en",alternatives:["a"]},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"role",role:"patient",expectedTypes:["literal","expression","reference"]}]},extraction:{destination:{position:2},patient:{position:3}}},{id:"set-es-equals",language:"es",command:"set",priority:95,template:{format:"{destination} = {patient}",tokens:[{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"literal",value:"="},{type:"role",role:"patient",expectedTypes:["literal","expression","reference"]}]},extraction:{destination:{position:0},patient:{position:2}}}]);case"fr":return Bv([{id:"set-fr-full",language:"fr",command:"set",priority:100,template:{format:"d\u00e9finir {destination} \u00e0 {patient}",tokens:[{type:"literal",value:"d\u00e9finir",alternatives:["definir","fixer","set"]},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"literal",value:"\u00e0",alternatives:["a","sur","comme"]},{type:"role",role:"patient",expectedTypes:["literal","expression","reference"]}]},extraction:{destination:{position:1},patient:{position:3}}},{id:"set-fr-sur-direct",language:"fr",command:"set",priority:98,template:{format:"d\u00e9finir sur {destination} {patient}",tokens:[{type:"literal",value:"d\u00e9finir",alternatives:["definir","mettre","fixer"]},{type:"literal",value:"sur",alternatives:["\u00e0","en"]},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"role",role:"patient",expectedTypes:["literal","expression","reference"]}]},extraction:{destination:{position:2},patient:{position:3}}},{id:"set-fr-equals",language:"fr",command:"set",priority:95,template:{format:"{destination} = {patient}",tokens:[{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"literal",value:"="},{type:"role",role:"patient",expectedTypes:["literal","expression","reference"]}]},extraction:{destination:{position:0},patient:{position:2}}}]);case"he":return Bv([{id:"set-he-full",language:"he",command:"set",priority:100,template:{format:"\u05e7\u05d1\u05e2 \u05d0\u05ea {destination} \u05e2\u05dc {patient}",tokens:[{type:"literal",value:"\u05e7\u05d1\u05e2",alternatives:["\u05d4\u05d2\u05d3\u05e8"]},{type:"literal",value:"\u05d0\u05ea"},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"literal",value:"\u05e2\u05dc",alternatives:["\u05d1","\u05d0\u05dc","\u05dc","\u05db"]},{type:"role",role:"patient",expectedTypes:["literal","expression","reference","selector"]}]},extraction:{destination:{marker:"\u05d0\u05ea"},patient:{marker:"\u05e2\u05dc",markerAlternatives:["\u05d1","\u05d0\u05dc","\u05dc","\u05db"]}}}]);case"hi":return Bv([{id:"set-hi-full",language:"hi",command:"set",priority:100,template:{format:"{destination} \u0915\u094b {patient} \u0938\u0947\u091f \u0915\u0930\u0947\u0902",tokens:[{type:"role",role:"destination"},{type:"literal",value:"\u0915\u094b"},{type:"role",role:"patient"},{type:"literal",value:"\u0938\u0947\u091f",alternatives:["\u0928\u093f\u0930\u094d\u0927\u093e\u0930\u093f\u0924"]},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u0915\u0930\u0947\u0902",alternatives:["\u0915\u0930\u094b"]}]}]},extraction:{destination:{position:0},patient:{marker:"\u0915\u094b",position:2}}},{id:"set-hi-simple",language:"hi",command:"set",priority:90,template:{format:"\u0938\u0947\u091f {destination} {patient}",tokens:[{type:"literal",value:"\u0938\u0947\u091f",alternatives:["\u0928\u093f\u0930\u094d\u0927\u093e\u0930\u093f\u0924"]},{type:"role",role:"destination"},{type:"role",role:"patient"}]},extraction:{destination:{position:1},patient:{position:2}}}]);case"id":return Bv([{id:"set-id-full",language:"id",command:"set",priority:100,template:{format:"atur {destination} ke {patient}",tokens:[{type:"literal",value:"atur",alternatives:["tetapkan","setel","set"]},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"literal",value:"ke",alternatives:["menjadi","jadi","pada"]},{type:"role",role:"patient",expectedTypes:["literal","expression","reference"]}]},extraction:{destination:{position:1},patient:{position:3}}},{id:"set-id-pada-direct",language:"id",command:"set",priority:98,template:{format:"atur pada {destination} {patient}",tokens:[{type:"literal",value:"atur",alternatives:["tetapkan","setel"]},{type:"literal",value:"pada",alternatives:["ke","di"]},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"role",role:"patient",expectedTypes:["literal","expression","reference"]}]},extraction:{destination:{position:2},patient:{position:3}}},{id:"set-id-equals",language:"id",command:"set",priority:95,template:{format:"{destination} = {patient}",tokens:[{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"literal",value:"="},{type:"role",role:"patient",expectedTypes:["literal","expression","reference"]}]},extraction:{destination:{position:0},patient:{position:2}}}]);case"ms":return Bv([{id:"set-ms-full",language:"ms",command:"set",priority:100,template:{format:"tetapkan {destination} ke {patient}",tokens:[{type:"literal",value:"tetapkan",alternatives:["setkan","set"]},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"literal",value:"ke",alternatives:["kepada","menjadi","jadi"]},{type:"role",role:"patient",expectedTypes:["literal","expression","reference"]}]},extraction:{destination:{position:1},patient:{position:3}}}]);case"it":return Bv([{id:"set-it-full",language:"it",command:"set",priority:100,template:{format:"impostare {destination} a {patient}",tokens:[{type:"literal",value:"impostare",alternatives:["imposta","set","definire"]},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"group",optional:!0,tokens:[{type:"literal",value:"a",alternatives:["su","come","in"]},{type:"role",role:"patient"}]}]},extraction:{destination:{position:1},patient:{marker:"a",markerAlternatives:["su","come","in"]}}},{id:"set-it-simple",language:"it",command:"set",priority:90,template:{format:"impostare {destination}",tokens:[{type:"literal",value:"impostare",alternatives:["imposta","set"]},{type:"role",role:"destination"}]},extraction:{destination:{position:1}}}]);case"pl":return Bv([{id:"set-pl-full",language:"pl",command:"set",priority:100,template:{format:"ustaw {destination} na {patient}",tokens:[{type:"literal",value:"ustaw",alternatives:["okre\u015bl","okresl","przypisz"]},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"group",optional:!0,tokens:[{type:"literal",value:"na",alternatives:["do","jako"]},{type:"role",role:"patient"}]}]},extraction:{destination:{position:1},patient:{marker:"na",markerAlternatives:["do","jako"]}}},{id:"set-pl-simple",language:"pl",command:"set",priority:90,template:{format:"ustaw {destination}",tokens:[{type:"literal",value:"ustaw",alternatives:["okre\u015bl","okresl"]},{type:"role",role:"destination"}]},extraction:{destination:{position:1}}}]);case"pt":return Bv([{id:"set-pt-full",language:"pt",command:"set",priority:100,template:{format:"definir {destination} para {patient}",tokens:[{type:"literal",value:"definir",alternatives:["estabelecer","set"]},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"literal",value:"para",alternatives:["como","a","em"]},{type:"role",role:"patient",expectedTypes:["literal","expression","reference"]}]},extraction:{destination:{position:1},patient:{position:3}}},{id:"set-pt-em-direct",language:"pt",command:"set",priority:98,template:{format:"definir em {destination} {patient}",tokens:[{type:"literal",value:"definir",alternatives:["estabelecer"]},{type:"literal",value:"em",alternatives:["para","a"]},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"role",role:"patient",expectedTypes:["literal","expression","reference"]}]},extraction:{destination:{position:2},patient:{position:3}}},{id:"set-pt-equals",language:"pt",command:"set",priority:95,template:{format:"{destination} = {patient}",tokens:[{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"literal",value:"="},{type:"role",role:"patient",expectedTypes:["literal","expression","reference"]}]},extraction:{destination:{position:0},patient:{position:2}}}]);case"qu":return Bv([{id:"set-qu-oblique-source",language:"qu",command:"set",priority:105,template:{format:"{destination} ta {source} manta {patient} man churanay",tokens:[{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"literal",value:"ta"},{type:"role",role:"source",expectedTypes:["selector","reference","expression"]},{type:"literal",value:"manta"},{type:"role",role:"patient",expectedTypes:["literal","expression","reference"]},{type:"literal",value:"man"},{type:"literal",value:"churanay",alternatives:["kamaykuy"]}]},extraction:{destination:{position:0},source:{position:2},patient:{position:4}}}]);case"ru":return Bv([{id:"set-ru-full",language:"ru",command:"set",priority:100,template:{format:"\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c {destination} \u0432 {patient}",tokens:[{type:"literal",value:"\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c",alternatives:["\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438","\u0437\u0430\u0434\u0430\u0442\u044c","\u0437\u0430\u0434\u0430\u0439"]},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u0432",alternatives:["\u043d\u0430","\u043a\u0430\u043a"]},{type:"role",role:"patient"}]}]},extraction:{destination:{position:1},patient:{marker:"\u0432",markerAlternatives:["\u043d\u0430","\u043a\u0430\u043a"]}}},{id:"set-ru-simple",language:"ru",command:"set",priority:90,template:{format:"\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c {destination}",tokens:[{type:"literal",value:"\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c",alternatives:["\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438","\u0437\u0430\u0434\u0430\u0442\u044c","\u0437\u0430\u0434\u0430\u0439"]},{type:"role",role:"destination"}]},extraction:{destination:{position:1}}}]);case"sw":return Bv([{id:"set-sw-kwa",language:"sw",command:"set",priority:100,template:{format:"seti {destination} kwa {patient}",tokens:[{type:"literal",value:"seti",alternatives:["weka thamani"]},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"literal",value:"kwa",alternatives:["kwenye"]},{type:"role",role:"patient",expectedTypes:["literal","expression","reference","selector"]}]},extraction:{destination:{position:1},patient:{marker:"kwa",markerAlternatives:["kwenye"]}}}]);case"th":return Bv([{id:"set-th-simple",language:"th",command:"set",priority:100,template:{format:"\u0e15\u0e31\u0e49\u0e07 {destination} \u0e43\u0e19 {patient}",tokens:[{type:"literal",value:"\u0e15\u0e31\u0e49\u0e07",alternatives:["\u0e01\u0e33\u0e2b\u0e19\u0e14","\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32"]},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u0e43\u0e19",alternatives:["\u0e40\u0e1b\u0e47\u0e19"]},{type:"role",role:"patient"}]}]},extraction:{destination:{position:1},patient:{marker:"\u0e43\u0e19",markerAlternatives:["\u0e40\u0e1b\u0e47\u0e19"]}}}]);case"uk":return Bv([{id:"set-uk-full",language:"uk",command:"set",priority:100,template:{format:"\u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 {destination} \u0432 {patient}",tokens:[{type:"literal",value:"\u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438",alternatives:["\u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438","\u0437\u0430\u0434\u0430\u0442\u0438","\u0437\u0430\u0434\u0430\u0439"]},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u0432",alternatives:["\u043d\u0430","\u044f\u043a"]},{type:"role",role:"patient"}]}]},extraction:{destination:{position:1},patient:{marker:"\u0432",markerAlternatives:["\u043d\u0430","\u044f\u043a"]}}},{id:"set-uk-simple",language:"uk",command:"set",priority:90,template:{format:"\u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438 {destination}",tokens:[{type:"literal",value:"\u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0438",alternatives:["\u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438","\u0437\u0430\u0434\u0430\u0442\u0438","\u0437\u0430\u0434\u0430\u0439"]},{type:"role",role:"destination"}]},extraction:{destination:{position:1}}}]);case"vi":return Bv([{id:"set-vi-vao",language:"vi",command:"set",priority:101,template:{format:"g\u00e1n {destination} v\u00e0o {patient}",tokens:[{type:"literal",value:"g\u00e1n",alternatives:["thi\u1ebft l\u1eadp","\u0111\u1eb7t gi\u00e1 tr\u1ecb"]},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"literal",value:"v\u00e0o",alternatives:["cho","\u0111\u1ebfn"]},{type:"role",role:"patient",expectedTypes:["literal","expression","reference","selector"]}]},extraction:{destination:{position:1},patient:{marker:"v\u00e0o",markerAlternatives:["cho","\u0111\u1ebfn"]}}},{id:"set-vi-full",language:"vi",command:"set",priority:100,template:{format:"g\u00e1n {destination} th\u00e0nh {patient}",tokens:[{type:"literal",value:"g\u00e1n",alternatives:["thi\u1ebft l\u1eadp","\u0111\u1eb7t gi\u00e1 tr\u1ecb"]},{type:"role",role:"patient"},{type:"literal",value:"th\u00e0nh",alternatives:["b\u1eb1ng","l\u00e0"]},{type:"role",role:"goal"}]},extraction:{patient:{position:1},goal:{marker:"th\u00e0nh",markerAlternatives:["b\u1eb1ng","l\u00e0"]}}},{id:"set-vi-simple",language:"vi",command:"set",priority:90,template:{format:"\u0111\u1eb7t {destination} l\u00e0 {patient}",tokens:[{type:"literal",value:"\u0111\u1eb7t"},{type:"role",role:"patient"},{type:"literal",value:"l\u00e0"},{type:"role",role:"goal"}]},extraction:{patient:{position:1},goal:{marker:"l\u00e0"}}}]);case"zh":return Bv([{id:"set-zh-full",language:"zh",command:"set",priority:100,template:{format:"\u8bbe\u7f6e {destination} \u5230 {patient}",tokens:[{type:"literal",value:"\u8bbe\u7f6e",alternatives:["\u8a2d\u7f6e","\u8bbe\u5b9a","\u8a2d\u5b9a"]},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"literal",value:"\u5230",alternatives:["\u4e3a","\u70ba","\u6210"]},{type:"role",role:"patient",expectedTypes:["literal","expression","reference"]}]},extraction:{destination:{position:1},patient:{marker:"\u5230",markerAlternatives:["\u4e3a","\u70ba","\u6210"]}}},{id:"set-zh-ba",language:"zh",command:"set",priority:95,template:{format:"\u628a {destination} \u8bbe\u7f6e \u5230 {patient}",tokens:[{type:"literal",value:"\u628a"},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"literal",value:"\u8bbe\u7f6e",alternatives:["\u8a2d\u7f6e","\u8bbe\u5b9a","\u8a2d\u5b9a","\u8bbe\u7f6e\u4e3a","\u8a2d\u7f6e\u70ba","\u8bbe\u5b9a\u4e3a","\u8a2d\u5b9a\u70ba"]},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u5230",alternatives:["\u4e3a","\u70ba","\u6210"]}]},{type:"role",role:"patient",expectedTypes:["literal","expression","reference"]}]},extraction:{destination:{position:1},patient:{marker:"\u5230",markerAlternatives:["\u4e3a","\u70ba","\u6210"]}}},{id:"set-zh-vba",language:"zh",command:"set",priority:96,template:{format:"\u8bbe\u7f6e \u628a {destination} \u5230 {patient}",tokens:[{type:"literal",value:"\u8bbe\u7f6e",alternatives:["\u8a2d\u7f6e","\u8bbe\u5b9a","\u8a2d\u5b9a"]},{type:"literal",value:"\u628a"},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u5230",alternatives:["\u4e3a","\u70ba","\u6210"]}]},{type:"role",role:"patient",expectedTypes:["literal","expression","reference"]}]},extraction:{destination:{position:2},patient:{marker:"\u5230",markerAlternatives:["\u4e3a","\u70ba","\u6210"]}}},{id:"set-zh-simple",language:"zh",command:"set",priority:90,template:{format:"{destination} = {patient}",tokens:[{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"literal",value:"="},{type:"role",role:"patient",expectedTypes:["literal","expression","reference"]}]},extraction:{destination:{position:0},patient:{position:2}}}]);default:return[]}},function(e){switch(e){case"bn":return[{id:"get-bn-full",language:"bn",command:"get",priority:100,template:{format:"{source} \u09a5\u09c7\u0995\u09c7 \u09aa\u09be\u09a8",tokens:[{type:"role",role:"source"},{type:"literal",value:"\u09a5\u09c7\u0995\u09c7"},{type:"literal",value:"\u09aa\u09be\u09a8"}]},extraction:{source:{position:0}}},{id:"get-bn-simple",language:"bn",command:"get",priority:90,template:{format:"\u09aa\u09be\u09a8 {source}",tokens:[{type:"literal",value:"\u09aa\u09be\u09a8"},{type:"role",role:"source"}]},extraction:{source:{position:1}}}];case"de":return[{id:"get-de-full",language:"de",command:"get",priority:100,template:{format:"hole {source}",tokens:[{type:"literal",value:"hole",alternatives:["holen","get","bekomme","bekommen"]},{type:"role",role:"source",expectedTypes:["selector","reference","expression"]}]},extraction:{source:{position:1}}}];case"zh":return[{id:"get-zh-ba",language:"zh",command:"get",priority:105,template:{format:"\u83b7\u53d6 \u628a {source}",tokens:[{type:"literal",value:"\u83b7\u53d6",alternatives:["\u83b7\u5f97","\u53d6\u5f97"]},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u628a",alternatives:["\u4ece","\u7531"]}]},{type:"role",role:"source",expectedTypes:["selector","reference","expression"]}]},extraction:{source:{marker:"\u628a",markerAlternatives:["\u4ece","\u7531"]}}}];case"hi":return[{id:"get-hi-full",language:"hi",command:"get",priority:100,template:{format:"{source} \u0938\u0947 \u092a\u094d\u0930\u093e\u092a\u094d\u0924 \u0915\u0930\u0947\u0902",tokens:[{type:"role",role:"source"},{type:"literal",value:"\u0938\u0947"},{type:"literal",value:"\u092a\u094d\u0930\u093e\u092a\u094d\u0924",alternatives:["\u092a\u093e\u090f\u0902"]},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u0915\u0930\u0947\u0902",alternatives:["\u0915\u0930\u094b"]}]}]},extraction:{source:{position:0}}},{id:"get-hi-simple",language:"hi",command:"get",priority:90,template:{format:"\u092a\u094d\u0930\u093e\u092a\u094d\u0924 {source}",tokens:[{type:"literal",value:"\u092a\u094d\u0930\u093e\u092a\u094d\u0924",alternatives:["\u092a\u093e\u090f\u0902"]},{type:"role",role:"source"}]},extraction:{source:{position:1}}}];case"it":return[{id:"get-it-full",language:"it",command:"get",priority:100,template:{format:"ottenere {patient} da {source}",tokens:[{type:"literal",value:"ottenere",alternatives:["ottieni","get"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"da",alternatives:["di"]},{type:"role",role:"source"}]}]},extraction:{patient:{position:1},source:{marker:"da",markerAlternatives:["di"]}}},{id:"get-it-simple",language:"it",command:"get",priority:90,template:{format:"ottenere {patient}",tokens:[{type:"literal",value:"ottenere",alternatives:["ottieni","get"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}}];case"pl":return[{id:"get-pl-full",language:"pl",command:"get",priority:100,template:{format:"uzyskaj {patient} z {source}",tokens:[{type:"literal",value:"uzyskaj"},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"z",alternatives:["od","ze"]},{type:"role",role:"source"}]}]},extraction:{patient:{position:1},source:{marker:"z",markerAlternatives:["od","ze"]}}},{id:"get-pl-simple",language:"pl",command:"get",priority:90,template:{format:"uzyskaj {patient}",tokens:[{type:"literal",value:"uzyskaj"},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}}];case"ru":return[{id:"get-ru-full",language:"ru",command:"get",priority:100,template:{format:"\u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c {patient} \u0438\u0437 {source}",tokens:[{type:"literal",value:"\u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c",alternatives:["\u043f\u043e\u043b\u0443\u0447\u0438"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u0438\u0437",alternatives:["\u043e\u0442","\u0441"]},{type:"role",role:"source"}]}]},extraction:{patient:{position:1},source:{marker:"\u0438\u0437",markerAlternatives:["\u043e\u0442","\u0441"]}}},{id:"get-ru-simple",language:"ru",command:"get",priority:90,template:{format:"\u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c {patient}",tokens:[{type:"literal",value:"\u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c",alternatives:["\u043f\u043e\u043b\u0443\u0447\u0438"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}}];case"th":return[{id:"get-th-simple",language:"th",command:"get",priority:100,template:{format:"\u0e23\u0e31\u0e1a\u0e04\u0e48\u0e32 {source}",tokens:[{type:"literal",value:"\u0e23\u0e31\u0e1a\u0e04\u0e48\u0e32"},{type:"role",role:"source"}]},extraction:{source:{position:1}}}];case"uk":return[{id:"get-uk-full",language:"uk",command:"get",priority:100,template:{format:"\u043e\u0442\u0440\u0438\u043c\u0430\u0442\u0438 {patient} \u0437 {source}",tokens:[{type:"literal",value:"\u043e\u0442\u0440\u0438\u043c\u0430\u0442\u0438",alternatives:["\u043e\u0442\u0440\u0438\u043c\u0430\u0439"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u0437",alternatives:["\u0432\u0456\u0434","\u0456\u0437"]},{type:"role",role:"source"}]}]},extraction:{patient:{position:1},source:{marker:"\u0437",markerAlternatives:["\u0432\u0456\u0434","\u0456\u0437"]}}},{id:"get-uk-simple",language:"uk",command:"get",priority:90,template:{format:"\u043e\u0442\u0440\u0438\u043c\u0430\u0442\u0438 {patient}",tokens:[{type:"literal",value:"\u043e\u0442\u0440\u0438\u043c\u0430\u0442\u0438",alternatives:["\u043e\u0442\u0440\u0438\u043c\u0430\u0439"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}}];case"vi":return[{id:"get-vi-full",language:"vi",command:"get",priority:92,template:{format:"l\u1ea5y gi\u00e1 tr\u1ecb c\u1ee7a {target}",tokens:[{type:"literal",value:"l\u1ea5y gi\u00e1 tr\u1ecb",alternatives:["nh\u1eadn"]},{type:"group",optional:!0,tokens:[{type:"literal",value:"c\u1ee7a"}]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}},{id:"get-vi-simple",language:"vi",command:"get",priority:90,template:{format:"l\u1ea5y gi\u00e1 tr\u1ecb {target}",tokens:[{type:"literal",value:"l\u1ea5y gi\u00e1 tr\u1ecb",alternatives:["nh\u1eadn"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}}];default:return[]}},function(e){switch(e){case"bn":return[{id:"increment-bn-full",language:"bn",command:"increment",priority:100,template:{format:"{patient} \u0995\u09c7 \u09ac\u09c3\u09a6\u09cd\u09a7\u09bf \u0995\u09b0\u09c1\u09a8",tokens:[{type:"role",role:"patient"},{type:"literal",value:"\u0995\u09c7"},{type:"literal",value:"\u09ac\u09c3\u09a6\u09cd\u09a7\u09bf",alternatives:["\u09ac\u09be\u09a1\u09bc\u09be\u09a8"]},{type:"literal",value:"\u0995\u09b0\u09c1\u09a8"}]},extraction:{patient:{position:0}}},{id:"increment-bn-with-quantity",language:"bn",command:"increment",priority:95,template:{format:"{patient} \u0995\u09c7 {quantity} \u09a6\u09bf\u09af\u09bc\u09c7 \u09ac\u09c3\u09a6\u09cd\u09a7\u09bf \u0995\u09b0\u09c1\u09a8",tokens:[{type:"role",role:"patient"},{type:"literal",value:"\u0995\u09c7"},{type:"role",role:"quantity"},{type:"literal",value:"\u09a6\u09bf\u09af\u09bc\u09c7"},{type:"literal",value:"\u09ac\u09c3\u09a6\u09cd\u09a7\u09bf",alternatives:["\u09ac\u09be\u09a1\u09bc\u09be\u09a8"]},{type:"literal",value:"\u0995\u09b0\u09c1\u09a8"}]},extraction:{patient:{position:0},quantity:{marker:"\u09a6\u09bf\u09af\u09bc\u09c7",position:2}}},{id:"increment-bn-simple",language:"bn",command:"increment",priority:90,template:{format:"\u09ac\u09c3\u09a6\u09cd\u09a7\u09bf {patient}",tokens:[{type:"literal",value:"\u09ac\u09c3\u09a6\u09cd\u09a7\u09bf",alternatives:["\u09ac\u09be\u09a1\u09bc\u09be\u09a8"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}}];case"de":return function(){const e=["erhoehe","erh\u00f6hen","inkrementiere","inkrementieren","increment"];return[{id:"increment-de-with-quantity",language:"de",command:"increment",priority:105,template:{format:"erh\u00f6he {patient} um {quantity}",tokens:[{type:"literal",value:"erh\u00f6he",alternatives:e},{type:"role",role:"patient",expectedTypes:["selector","reference","expression"]},{type:"literal",value:"um"},{type:"role",role:"quantity"}]},extraction:{patient:{position:1},quantity:{marker:"um",position:3}}},{id:"increment-de-full",language:"de",command:"increment",priority:100,template:{format:"erh\u00f6he {patient}",tokens:[{type:"literal",value:"erh\u00f6he",alternatives:e},{type:"role",role:"patient",expectedTypes:["selector","reference","expression"]}]},extraction:{patient:{position:1}}}]}();case"hi":return[{id:"increment-hi-full",language:"hi",command:"increment",priority:100,template:{format:"{patient} \u0915\u094b \u092c\u0922\u093c\u093e\u090f\u0902",tokens:[{type:"role",role:"patient"},{type:"literal",value:"\u0915\u094b"},{type:"literal",value:"\u092c\u0922\u093c\u093e\u090f\u0902",alternatives:["\u092c\u0922\u093c\u093e"]}]},extraction:{patient:{position:0}}},{id:"increment-hi-with-quantity",language:"hi",command:"increment",priority:95,template:{format:"{patient} \u0915\u094b {quantity} \u0938\u0947 \u092c\u0922\u093c\u093e\u090f\u0902",tokens:[{type:"role",role:"patient"},{type:"literal",value:"\u0915\u094b"},{type:"role",role:"quantity"},{type:"literal",value:"\u0938\u0947"},{type:"literal",value:"\u092c\u0922\u093c\u093e\u090f\u0902",alternatives:["\u092c\u0922\u093c\u093e"]}]},extraction:{patient:{position:0},quantity:{marker:"\u0938\u0947",position:2}}},{id:"increment-hi-simple",language:"hi",command:"increment",priority:90,template:{format:"\u092c\u0922\u093c\u093e\u090f\u0902 {patient}",tokens:[{type:"literal",value:"\u092c\u0922\u093c\u093e\u090f\u0902",alternatives:["\u092c\u0922\u093c\u093e"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}}];case"it":return[{id:"increment-it-full",language:"it",command:"increment",priority:100,template:{format:"incrementare {patient} di {quantity}",tokens:[{type:"literal",value:"incrementare",alternatives:["incrementa","aumentare","increment"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"di",alternatives:["per"]},{type:"role",role:"quantity"}]}]},extraction:{patient:{position:1},quantity:{marker:"di",markerAlternatives:["per"],default:{type:"literal",value:1}}}},{id:"increment-it-simple",language:"it",command:"increment",priority:90,template:{format:"incrementare {patient}",tokens:[{type:"literal",value:"incrementare",alternatives:["incrementa","aumentare","increment"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},quantity:{default:{type:"literal",value:1}}}}];case"pl":return[{id:"increment-pl-full",language:"pl",command:"increment",priority:100,template:{format:"zwi\u0119ksz {patient} o {quantity}",tokens:[{type:"literal",value:"zwi\u0119ksz",alternatives:["zwieksz","podnie\u015b","podnies"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"o"},{type:"role",role:"quantity"}]}]},extraction:{patient:{position:1},quantity:{marker:"o",default:{type:"literal",value:1}}}},{id:"increment-pl-simple",language:"pl",command:"increment",priority:90,template:{format:"zwi\u0119ksz {patient}",tokens:[{type:"literal",value:"zwi\u0119ksz",alternatives:["zwieksz","podnie\u015b","podnies"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},quantity:{default:{type:"literal",value:1}}}}];case"ru":return[{id:"increment-ru-full",language:"ru",command:"increment",priority:100,template:{format:"\u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c {patient} \u043d\u0430 {quantity}",tokens:[{type:"literal",value:"\u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c",alternatives:["\u0443\u0432\u0435\u043b\u0438\u0447\u044c"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u043d\u0430"},{type:"role",role:"quantity"}]}]},extraction:{patient:{position:1},quantity:{marker:"\u043d\u0430",default:{type:"literal",value:1}}}},{id:"increment-ru-simple",language:"ru",command:"increment",priority:90,template:{format:"\u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c {patient}",tokens:[{type:"literal",value:"\u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c",alternatives:["\u0443\u0432\u0435\u043b\u0438\u0447\u044c"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},quantity:{default:{type:"literal",value:1}}}}];case"th":return[{id:"increment-th-simple",language:"th",command:"increment",priority:90,template:{format:"\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e04\u0e48\u0e32 {patient}",tokens:[{type:"literal",value:"\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e04\u0e48\u0e32"},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}},{id:"increment-th-with-quantity",language:"th",command:"increment",priority:95,template:{format:"\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e04\u0e48\u0e32 {patient} \u0e14\u0e49\u0e27\u0e22 {quantity}",tokens:[{type:"literal",value:"\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e04\u0e48\u0e32"},{type:"role",role:"patient"},{type:"literal",value:"\u0e14\u0e49\u0e27\u0e22"},{type:"role",role:"quantity"}]},extraction:{patient:{position:1},quantity:{marker:"\u0e14\u0e49\u0e27\u0e22",position:3}}}];case"uk":return[{id:"increment-uk-full",language:"uk",command:"increment",priority:100,template:{format:"\u0437\u0431\u0456\u043b\u044c\u0448\u0438\u0442\u0438 {patient} \u043d\u0430 {quantity}",tokens:[{type:"literal",value:"\u0437\u0431\u0456\u043b\u044c\u0448\u0438\u0442\u0438",alternatives:["\u0437\u0431\u0456\u043b\u044c\u0448"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u043d\u0430"},{type:"role",role:"quantity"}]}]},extraction:{patient:{position:1},quantity:{marker:"\u043d\u0430",default:{type:"literal",value:1}}}},{id:"increment-uk-simple",language:"uk",command:"increment",priority:90,template:{format:"\u0437\u0431\u0456\u043b\u044c\u0448\u0438\u0442\u0438 {patient}",tokens:[{type:"literal",value:"\u0437\u0431\u0456\u043b\u044c\u0448\u0438\u0442\u0438",alternatives:["\u0437\u0431\u0456\u043b\u044c\u0448"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},quantity:{default:{type:"literal",value:1}}}}];case"qu":return[{id:"increment-qu-sov",language:"qu",command:"increment",priority:100,template:{format:"{patient} ta yapachiy",tokens:[{type:"role",role:"patient"},{type:"literal",value:"ta"},{type:"literal",value:"yapachiy"}]},extraction:{patient:{position:0},quantity:{default:{type:"literal",value:1}}}},{id:"increment-qu-simple",language:"qu",command:"increment",priority:90,template:{format:"yapachiy {patient}",tokens:[{type:"literal",value:"yapachiy"},{type:"role",role:"patient"}]},extraction:{patient:{position:1},quantity:{default:{type:"literal",value:1}}}}];case"vi":return[{id:"increment-vi-full",language:"vi",command:"increment",priority:100,template:{format:"t\u0103ng {target} th\u00eam {amount}",tokens:[{type:"literal",value:"t\u0103ng",alternatives:["t\u0103ng l\u00ean"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"th\u00eam",alternatives:["l\u00ean"]},{type:"role",role:"quantity"}]}]},extraction:{patient:{position:1},quantity:{marker:"th\u00eam",markerAlternatives:["l\u00ean"],default:{type:"literal",value:1}}}},{id:"increment-vi-simple",language:"vi",command:"increment",priority:90,template:{format:"t\u0103ng {target}",tokens:[{type:"literal",value:"t\u0103ng",alternatives:["t\u0103ng l\u00ean"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},quantity:{default:{type:"literal",value:1}}}}];case"zh":return[{id:"increment-zh-full",language:"zh",command:"increment",priority:100,template:{format:"\u589e\u52a0 {patient}",tokens:[{type:"literal",value:"\u589e\u52a0",alternatives:["\u9012\u589e","\u52a0","\u589e","increment"]},{type:"role",role:"patient",expectedTypes:["selector","reference","expression"]}]},extraction:{patient:{position:1}}}];default:return[]}},function(e){switch(e){case"bn":return[{id:"decrement-bn-full",language:"bn",command:"decrement",priority:100,template:{format:"{patient} \u0995\u09c7 \u09b9\u09cd\u09b0\u09be\u09b8 \u0995\u09b0\u09c1\u09a8",tokens:[{type:"role",role:"patient"},{type:"literal",value:"\u0995\u09c7"},{type:"literal",value:"\u09b9\u09cd\u09b0\u09be\u09b8",alternatives:["\u0995\u09ae\u09be\u09a8"]},{type:"literal",value:"\u0995\u09b0\u09c1\u09a8"}]},extraction:{patient:{position:0}}},{id:"decrement-bn-with-quantity",language:"bn",command:"decrement",priority:95,template:{format:"{patient} \u0995\u09c7 {quantity} \u09a6\u09bf\u09af\u09bc\u09c7 \u09b9\u09cd\u09b0\u09be\u09b8 \u0995\u09b0\u09c1\u09a8",tokens:[{type:"role",role:"patient"},{type:"literal",value:"\u0995\u09c7"},{type:"role",role:"quantity"},{type:"literal",value:"\u09a6\u09bf\u09af\u09bc\u09c7"},{type:"literal",value:"\u09b9\u09cd\u09b0\u09be\u09b8",alternatives:["\u0995\u09ae\u09be\u09a8"]},{type:"literal",value:"\u0995\u09b0\u09c1\u09a8"}]},extraction:{patient:{position:0},quantity:{marker:"\u09a6\u09bf\u09af\u09bc\u09c7",position:2}}},{id:"decrement-bn-simple",language:"bn",command:"decrement",priority:90,template:{format:"\u09b9\u09cd\u09b0\u09be\u09b8 {patient}",tokens:[{type:"literal",value:"\u09b9\u09cd\u09b0\u09be\u09b8",alternatives:["\u0995\u09ae\u09be\u09a8"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}}];case"de":return[{id:"decrement-de-full",language:"de",command:"decrement",priority:100,template:{format:"verringere {patient}",tokens:[{type:"literal",value:"verringere",alternatives:["verringern","dekrementiere","dekrementieren","reduziere","decrement"]},{type:"role",role:"patient",expectedTypes:["selector","reference","expression"]}]},extraction:{patient:{position:1}}}];case"hi":return[{id:"decrement-hi-full",language:"hi",command:"decrement",priority:100,template:{format:"{patient} \u0915\u094b \u0918\u091f\u093e\u090f\u0902",tokens:[{type:"role",role:"patient"},{type:"literal",value:"\u0915\u094b"},{type:"literal",value:"\u0918\u091f\u093e\u090f\u0902",alternatives:["\u0918\u091f\u093e"]}]},extraction:{patient:{position:0}}},{id:"decrement-hi-with-quantity",language:"hi",command:"decrement",priority:95,template:{format:"{patient} \u0915\u094b {quantity} \u0938\u0947 \u0918\u091f\u093e\u090f\u0902",tokens:[{type:"role",role:"patient"},{type:"literal",value:"\u0915\u094b"},{type:"role",role:"quantity"},{type:"literal",value:"\u0938\u0947"},{type:"literal",value:"\u0918\u091f\u093e\u090f\u0902",alternatives:["\u0918\u091f\u093e"]}]},extraction:{patient:{position:0},quantity:{marker:"\u0938\u0947",position:2}}},{id:"decrement-hi-simple",language:"hi",command:"decrement",priority:90,template:{format:"\u0918\u091f\u093e\u090f\u0902 {patient}",tokens:[{type:"literal",value:"\u0918\u091f\u093e\u090f\u0902",alternatives:["\u0918\u091f\u093e"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}}];case"it":return[{id:"decrement-it-full",language:"it",command:"decrement",priority:100,template:{format:"decrementare {patient} di {quantity}",tokens:[{type:"literal",value:"decrementare",alternatives:["decrementa","diminuire","decrement"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"di",alternatives:["per"]},{type:"role",role:"quantity"}]}]},extraction:{patient:{position:1},quantity:{marker:"di",markerAlternatives:["per"],default:{type:"literal",value:"1"}}}},{id:"decrement-it-simple",language:"it",command:"decrement",priority:90,template:{format:"decrementare {patient}",tokens:[{type:"literal",value:"decrementare",alternatives:["decrementa","diminuire","decrement"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},quantity:{default:{type:"literal",value:"1"}}}}];case"pl":return[{id:"decrement-pl-full",language:"pl",command:"decrement",priority:100,template:{format:"zmniejsz {patient} o {quantity}",tokens:[{type:"literal",value:"zmniejsz",alternatives:["obni\u017c","obniz"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"o"},{type:"role",role:"quantity"}]}]},extraction:{patient:{position:1},quantity:{marker:"o",default:{type:"literal",value:1}}}},{id:"decrement-pl-simple",language:"pl",command:"decrement",priority:90,template:{format:"zmniejsz {patient}",tokens:[{type:"literal",value:"zmniejsz",alternatives:["obni\u017c","obniz"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},quantity:{default:{type:"literal",value:1}}}}];case"ru":return[{id:"decrement-ru-full",language:"ru",command:"decrement",priority:100,template:{format:"\u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c {patient} \u043d\u0430 {quantity}",tokens:[{type:"literal",value:"\u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c",alternatives:["\u0443\u043c\u0435\u043d\u044c\u0448\u0438"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u043d\u0430"},{type:"role",role:"quantity"}]}]},extraction:{patient:{position:1},quantity:{marker:"\u043d\u0430",default:{type:"literal",value:1}}}},{id:"decrement-ru-simple",language:"ru",command:"decrement",priority:90,template:{format:"\u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c {patient}",tokens:[{type:"literal",value:"\u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c",alternatives:["\u0443\u043c\u0435\u043d\u044c\u0448\u0438"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},quantity:{default:{type:"literal",value:1}}}}];case"th":return[{id:"decrement-th-simple",language:"th",command:"decrement",priority:100,template:{format:"\u0e25\u0e14\u0e04\u0e48\u0e32 {patient}",tokens:[{type:"literal",value:"\u0e25\u0e14\u0e04\u0e48\u0e32"},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}},{id:"decrement-th-with-quantity",language:"th",command:"decrement",priority:95,template:{format:"\u0e25\u0e14\u0e04\u0e48\u0e32 {patient} \u0e14\u0e49\u0e27\u0e22 {quantity}",tokens:[{type:"literal",value:"\u0e25\u0e14\u0e04\u0e48\u0e32"},{type:"role",role:"patient"},{type:"literal",value:"\u0e14\u0e49\u0e27\u0e22"},{type:"role",role:"quantity"}]},extraction:{patient:{position:1},quantity:{marker:"\u0e14\u0e49\u0e27\u0e22",position:3}}}];case"uk":return[{id:"decrement-uk-full",language:"uk",command:"decrement",priority:100,template:{format:"\u0437\u043c\u0435\u043d\u0448\u0438\u0442\u0438 {patient} \u043d\u0430 {quantity}",tokens:[{type:"literal",value:"\u0437\u043c\u0435\u043d\u0448\u0438\u0442\u0438",alternatives:["\u0437\u043c\u0435\u043d\u0448"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u043d\u0430"},{type:"role",role:"quantity"}]}]},extraction:{patient:{position:1},quantity:{marker:"\u043d\u0430",default:{type:"literal",value:1}}}},{id:"decrement-uk-simple",language:"uk",command:"decrement",priority:90,template:{format:"\u0437\u043c\u0435\u043d\u0448\u0438\u0442\u0438 {patient}",tokens:[{type:"literal",value:"\u0437\u043c\u0435\u043d\u0448\u0438\u0442\u0438",alternatives:["\u0437\u043c\u0435\u043d\u0448"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},quantity:{default:{type:"literal",value:1}}}}];case"vi":return[{id:"decrement-vi-full",language:"vi",command:"decrement",priority:100,template:{format:"gi\u1ea3m {target} \u0111i {amount}",tokens:[{type:"literal",value:"gi\u1ea3m",alternatives:["gi\u1ea3m \u0111i"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u0111i",alternatives:["xu\u1ed1ng"]},{type:"role",role:"quantity"}]}]},extraction:{patient:{position:1},quantity:{marker:"\u0111i",markerAlternatives:["xu\u1ed1ng"],default:{type:"literal",value:"1"}}}},{id:"decrement-vi-simple",language:"vi",command:"decrement",priority:90,template:{format:"gi\u1ea3m {target}",tokens:[{type:"literal",value:"gi\u1ea3m",alternatives:["gi\u1ea3m \u0111i"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},quantity:{default:{type:"literal",value:"1"}}}}];case"zh":return[{id:"decrement-zh-full",language:"zh",command:"decrement",priority:100,template:{format:"\u51cf\u5c11 {patient}",tokens:[{type:"literal",value:"\u51cf\u5c11",alternatives:["\u9012\u51cf","\u51cf","\u964d\u4f4e","decrement"]},{type:"role",role:"patient",expectedTypes:["selector","reference","expression"]}]},extraction:{patient:{position:1}}}];default:return[]}},Vc,function(e){switch(e){case"zh":return function(){const e=Fv("zh");return[{id:"fetch-zh-ba",language:"zh",command:"fetch",priority:105,template:{format:"\u6293\u53d6 \u628a {source} \u7684 {responseType}",tokens:[{type:"literal",value:"\u6293\u53d6",alternatives:["\u53d6"]},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u628a",alternatives:["\u4ece","\u7531"]}]},{type:"role",role:"source",expectedTypes:["literal","expression"]},...e?[e.token]:[],{type:"group",optional:!0,tokens:[{type:"literal",value:"\u7684",alternatives:["\u4f5c\u4e3a","\u5f53\u4f5c"]},{type:"role",role:"responseType",expectedTypes:["literal","expression"]}]}]},extraction:{source:{marker:"\u628a",markerAlternatives:["\u4ece","\u7531"]},...e?{style:e.extraction}:{},responseType:{marker:"\u7684",markerAlternatives:["\u4f5c\u4e3a","\u5f53\u4f5c"]}}}]}();case"ms":return function(){const e=Fv("ms");return[{id:"fetch-ms",language:"ms",command:"fetch",priority:105,template:{format:"ambil_dari dari {source} sebagai {responseType}",tokens:[{type:"literal",value:"ambil_dari",alternatives:["muat","ambil"]},{type:"group",optional:!0,tokens:[{type:"literal",value:"dari"}]},{type:"role",role:"source",expectedTypes:["literal","expression"]},...e?[e.token]:[],{type:"group",optional:!0,tokens:[{type:"literal",value:"sebagai",alternatives:["sbg"]},{type:"role",role:"responseType",expectedTypes:["literal","expression"]}]}]},extraction:{source:{marker:"dari"},...e?{style:e.extraction}:{},responseType:{marker:"sebagai",markerAlternatives:["sbg"]}}}]}();case"fr":return function(){const e=Fv("fr");return[{id:"fetch-fr",language:"fr",command:"fetch",priority:105,template:{format:"chercher de {source} comme {responseType}",tokens:[{type:"literal",value:"chercher",alternatives:["r\u00e9cup\u00e9rer"]},{type:"group",optional:!0,tokens:[{type:"literal",value:"de"}]},{type:"role",role:"source",expectedTypes:["literal","expression"]},...e?[e.token]:[],{type:"group",optional:!0,tokens:[{type:"literal",value:"comme"},{type:"role",role:"responseType",expectedTypes:["literal","expression"]}]}]},extraction:{source:{marker:"de"},responseType:{marker:"comme"},...e?{style:e.extraction}:{}}}]}();case"pt":return function(){const e=Fv("pt");return[{id:"fetch-pt",language:"pt",command:"fetch",priority:105,template:{format:"buscar de {source} como {responseType}",tokens:[{type:"literal",value:"buscar"},{type:"group",optional:!0,tokens:[{type:"literal",value:"de"}]},{type:"role",role:"source",expectedTypes:["literal","expression"]},...e?[e.token]:[],{type:"group",optional:!0,tokens:[{type:"literal",value:"como"},{type:"role",role:"responseType",expectedTypes:["literal","expression"]}]}]},extraction:{source:{marker:"de"},responseType:{marker:"como"},...e?{style:e.extraction}:{}}}]}();case"es":return[Hv("fetch-es","es","buscar","de","como")];case"pl":return[Hv("fetch-pl","pl","pobierz","z","jako")];case"id":return[Hv("fetch-id","id","muat","dari","sebagai",["ambil"])];case"sw":return[Hv("fetch-sw","sw","leta","kutoka","kuwa",void 0,void 0,["kama"])];case"he":return[Hv("fetch-he","he","\u05d4\u05d1\u05d0","\u05de","\u05db",["\u05d8\u05e2\u05df"],["\u05d0\u05ea"])];case"de":return[Hv("fetch-de","de","abrufen","von","als",["laden"])];case"ru":return[Hv("fetch-ru","ru","\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c","\u0438\u0437","\u043a\u0430\u043a",["\u0437\u0430\u0433\u0440\u0443\u0437\u0438"])];case"uk":return[Hv("fetch-uk","uk","\u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438","\u0437","\u044f\u043a",["\u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436"])];case"it":return[Hv("fetch-it","it","recuperare","da","come")];case"vi":return[Hv("fetch-vi","vi","t\u1ea3i","t\u1eeb","nh\u01b0")];case"th":return[Hv("fetch-th","th","\u0e14\u0e36\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25","\u0e08\u0e32\u0e01","\u0e40\u0e1b\u0e47\u0e19")];case"ar":return[Hv("fetch-ar","ar","\u0627\u062d\u0636\u0631","\u0645\u0646","\u0643\u0640",["\u062c\u0644\u0628"])];case"tl":return[Hv("fetch-tl","tl","kuhanin_mula","mula_sa","bilang",["kunin_mula"])];case"ja":return[Uv("fetch-ja-sov","ja","\u30d5\u30a7\u30c3\u30c1","\u3092")];case"ko":return[Uv("fetch-ko-sov","ko","\ud328\uce58","\uc744",["\uac00\uc838\uc624\uae30"],["\ub97c"],"\ub85c",["\uc73c\ub85c"])];case"tr":return[Uv("fetch-tr-sov","tr","getir","i",void 0,["\u0131","u","\u00fc","yi","y\u0131","yu","y\u00fc"],"olarak")];case"hi":return[Uv("fetch-hi-sov","hi","\u0932\u093e\u090f\u0902","\u0915\u094b")];case"qu":return[Uv("fetch-qu-sov","qu","apamuy","ta",["taripakaramuy"],void 0,"hina")];case"bn":return[Uv("fetch-bn-sov","bn","\u0986\u09a8\u09c1\u09a8","\u0995\u09c7")];default:return[]}},Nc,function(e){return"en"===e?[{id:"append-en-full",language:"en",command:"append",priority:100,template:{format:"append {patient} to {destination}",tokens:[{type:"literal",value:"append"},{type:"role",role:"patient",expectedTypes:["literal","selector","expression"]},{type:"literal",value:"to"},{type:"role",role:"destination",expectedTypes:["selector","reference"]}]},extraction:{patient:{position:1},destination:{marker:"to"}}}]:[]},function(e){return"en"===e?[{id:"prepend-en-full",language:"en",command:"prepend",priority:100,template:{format:"prepend {patient} to {destination}",tokens:[{type:"literal",value:"prepend"},{type:"role",role:"patient",expectedTypes:["literal","selector","expression"]},{type:"literal",value:"to"},{type:"role",role:"destination",expectedTypes:["selector","reference"]}]},extraction:{patient:{position:1},destination:{marker:"to"}}}]:[]},function(e){switch(e){case"en":return[{id:"trigger-en-full",language:"en",command:"trigger",priority:100,template:{format:"trigger {event} on {destination}",tokens:[{type:"literal",value:"trigger"},{type:"role",role:"event",expectedTypes:["literal","expression"]},{type:"group",optional:!0,tokens:[{type:"literal",value:"on"},{type:"role",role:"destination",expectedTypes:["selector","reference"]}]}]},extraction:{event:{position:1},destination:{marker:"on",default:{type:"reference",value:"me"}}}},{id:"trigger-en-simple",language:"en",command:"trigger",priority:90,template:{format:"trigger {event}",tokens:[{type:"literal",value:"trigger"},{type:"role",role:"event",expectedTypes:["literal","expression"]}]},extraction:{event:{position:1},destination:{default:{type:"reference",value:"me"}}}}];case"zh":return[{id:"trigger-zh-ba",language:"zh",command:"trigger",priority:105,template:{format:"\u89e6\u53d1 \u628a {event} \u5728 {destination}",tokens:[{type:"literal",value:"\u89e6\u53d1",alternatives:["\u89f8\u767c"]},{type:"literal",value:"\u628a"},{type:"role",role:"event",expectedTypes:["literal","expression"]},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u5728",alternatives:["\u5230","\u4e8e"]},{type:"role",role:"destination",expectedTypes:["selector","reference","expression"]}]}]},extraction:{event:{position:2},destination:{marker:"\u5728",markerAlternatives:["\u5230","\u4e8e"],default:{type:"reference",value:"me"}}}}];case"he":return[{id:"trigger-he-et",language:"he",command:"trigger",priority:105,template:{format:"\u05d4\u05e4\u05e2\u05dc \u05d0\u05ea {event} \u05e2\u05dc {destination}",tokens:[{type:"literal",value:"\u05d4\u05e4\u05e2\u05dc",alternatives:["\u05e9\u05d2\u05e8"]},{type:"literal",value:"\u05d0\u05ea"},{type:"role",role:"event",expectedTypes:["literal","expression"]},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u05e2\u05dc",alternatives:["\u05dc","\u05d0\u05dc"]},{type:"role",role:"destination",expectedTypes:["selector","reference","expression"]}]}]},extraction:{event:{position:2},destination:{marker:"\u05e2\u05dc",markerAlternatives:["\u05dc","\u05d0\u05dc"],default:{type:"reference",value:"me"}}}}];case"qu":return[{id:"trigger-qu-event-first-verb-final",language:"qu",command:"trigger",priority:105,template:{format:"{event} ta [{destination} man] trigger",tokens:[{type:"role",role:"event",expectedTypes:["literal","expression"]},{type:"literal",value:"ta"},{type:"group",optional:!0,tokens:[{type:"role",role:"destination",expectedTypes:["selector","reference","expression"]},{type:"literal",value:"man"}]},{type:"literal",value:"trigger"}]},extraction:{destination:{default:{type:"reference",value:"me"}}}}];default:return[]}},function(e){switch(e){case"zh":return[{id:"send-zh-ba",language:"zh",command:"send",priority:105,template:{format:"\u53d1\u9001 \u628a {event} \u5230 {destination}",tokens:[{type:"literal",value:"\u53d1\u9001",alternatives:["\u767c\u9001","\u4f20\u9001","\u50b3\u9001"]},{type:"literal",value:"\u628a"},{type:"role",role:"event",expectedTypes:["literal","expression"]},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u5230",alternatives:["\u7ed9","\u7d66","\u5411"]},{type:"role",role:"destination",expectedTypes:["selector","reference","expression"]}]}]},extraction:{event:{position:2},destination:{marker:"\u5230",markerAlternatives:["\u7ed9","\u7d66","\u5411"],default:{type:"reference",value:"me"}}}}];case"he":return[{id:"send-he-et",language:"he",command:"send",priority:105,template:{format:"\u05e9\u05dc\u05d7 \u05d0\u05ea {event} \u05e2\u05dc {destination}",tokens:[{type:"literal",value:"\u05e9\u05dc\u05d7"},{type:"literal",value:"\u05d0\u05ea"},{type:"role",role:"event",expectedTypes:["literal","expression"]},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u05e2\u05dc",alternatives:["\u05dc","\u05d0\u05dc"]},{type:"role",role:"destination",expectedTypes:["selector","reference","expression"]}]}]},extraction:{event:{position:2},destination:{marker:"\u05e2\u05dc",markerAlternatives:["\u05dc","\u05d0\u05dc"],default:{type:"reference",value:"me"}}}}];default:return[]}},function(e){const t=Qv[e];if(t)return[Xv(e,t)];const r=ef[e];return r?[Jv(e,r)]:[]},function(e){return[]}],lf=new Map;function pf(e){const t=sf.flatMap(t=>t(e));return"en"===e&&t.push(...of),t.push(...function(e){const t=lf.get(e);if(t)return t;const r=St(e);if(!r)return[];const i=Jm(r);return lf.set(e,i),i}(e)),t.map(cf)}var mf=new Set(["on.source"]);function cf(e){const t=pt(e.command);if(!t)return e;let r;for(const i of t.roles){if(i.required||!i.default)continue;if(mf.has(`${e.command}.${i.role}`))continue;const t=e.extraction?.[i.role];void 0===t?.default&&void 0===t?.value&&(r??(r={...e.extraction}),r[i.role]={...t,default:i.default})}return r?{...e,extraction:r}:e}var df=["en","ja","ar","es","ko","zh","tr","pt","fr","de","id","qu","sw","it","vi","pl","ru","uk","hi","bn","th","ms","tl","he"];var uf=new Map,yf=null;function vf(){if(null===yf){const e=[];for(const t of df)e.push(...pf(t));yf=e}return yf}function ff(e){if(uf.has(e))return uf.get(e);const t=pf(e);return uf.set(e,t),t}function hf(e,t){return ff(e).filter(e=>e.command===t).sort((e,t)=>t.priority-e.priority)}function gf(){const e=new Set(vf().map(e=>e.language));return Array.from(e)}function kf(){const e=new Set(vf().map(e=>e.command));return Array.from(e)}function zf(e){return vf().find(t=>t.id===e)}function wf(){const e={},t={},r=vf();for(const i of r)e[i.language]=(e[i.language]||0)+1,t[i.command]=(t[i.command]||0)+1;return{totalPatterns:r.length,byLanguage:e,byCommand:t}}function bf(e,t){const r=t??Object.keys(Bd),i={};for(const t of r){const r=Bd[t]?.keywords[e];r&&(i[t]=r)}return i}function xf(e,t){const r=Bd[e]?.roleMarkers??{};return t?r[t]:r}Lc(),si(),_m(),_m(),Pt(),vt=function(e){return pf(e.code)},Cn(),Wn(),yi(),Pt(),qt(),Mt(),Zr(),Dt(),Zt(),$t(),Qt(),tr(),ar(),sr(),mr(),ur(),fr(),kr(),br(),Sr(),Lr(),Ht(),Pr(),qr(),Mr(),$r(),Dr(),Hr(),ht(),cc(),it(),ht();var Tf=new Map(Object.entries(rt));function Sf(e){return Tf.get(e)}function jf(e,t){Tf.set(e,t)}function Ef(e){return"literal"===e.type&&"string"==typeof e.value||"selector"===e.type||"reference"===e.type?e.value:void 0}function Lf(e,t){if(null==e)return!1;for(const r of t)switch(r){case"selector":if("selector"===e.type)return!0;const t=Ef(e);if(t&&(t.startsWith(".")||t.startsWith("#")||t.startsWith("[")))return!0;break;case"literal":if("literal"===e.type)return!0;if("property-path"===e.type)return!0;break;case"reference":if("reference"===e.type)return!0;if("property-path"===e.type)return!0;const r=Ef(e);if(r&&["me","you","it","my","its","result","event","target"].includes(r.toLowerCase()))return!0;break;case"expression":if("expression"===e.type)return!0;if("property-path"===e.type)return!0}return!1}function Cf(e){const t=[],r=[],i=[];let a=0;const n=Sf(e.action);if(!n)return r.push({code:"UNKNOWN_ROLE",message:`No schema found for action '${e.action}'. Skipping validation.`,severity:"warning"}),{valid:!0,errors:t,warnings:r,confidenceAdjustment:-.1,suggestions:i};const o=new Map;for(const t of e.arguments)t.role&&o.set(t.role,t);for(const e of n.roles){const n=o.get(e.role);!e.required||n?n&&!Lf(n,e.expectedTypes)&&(r.push({code:"INVALID_TYPE",message:`Role '${e.role}' expected ${e.expectedTypes.join(" or ")}, got ${n.type}.`,role:e.role,expected:e.expectedTypes,actual:n,severity:"warning"}),a-=.1):e.default?r.push({code:"MISSING_REQUIRED_ROLE",message:`Role '${e.role}' not provided, using default.`,role:e.role,severity:"warning"}):(t.push({code:"MISSING_REQUIRED_ROLE",message:`Required role '${e.role}' (${e.description}) is missing.`,role:e.role,expected:e.expectedTypes,severity:"error"}),i.push(`Add ${e.description.toLowerCase()} to the command.`),a-=.2)}for(const t of e.arguments)if(t.role){n.roles.some(e=>e.role===t.role)||(r.push({code:"UNKNOWN_ROLE",message:`Role '${t.role}' is not recognized for command '${e.action}'.`,role:t.role,severity:"warning"}),a-=.05)}return n.roles.filter(e=>e.required&&!e.default).every(e=>o.has(e.role))&&0===t.length&&(a+=.1),{valid:0===t.length,errors:t,warnings:r,confidenceAdjustment:Math.max(-1,Math.min(1,a)),suggestions:i}}function _f(e){const t=Cf(e);return{...e,confidence:Math.max(0,Math.min(1,e.confidence+t.confidenceAdjustment)),validation:t}}function Pf(e){switch(e){case"preposition":return"preposition";case"postposition":case"particle":case"case-suffix":return"postposition";default:return"none"}}function Wf(e,t,r){const i={form:t.primary,role:e,position:Pf(r),required:t.required??!1};return t.alternatives&&(i.alternatives=t.alternatives),i}function Af(e){const t=[];for(const[r,i]of Object.entries(e.roleMarkers))i&&t.push(Wf(r,i,e.markingStrategy));return{code:e.code,name:e.nativeName,wordOrder:e.wordOrder,adpositionType:Pf(e.markingStrategy),morphology:e.morphology,direction:e.direction,markers:t,canonicalOrder:e.canonicalOrder}}function qf(e){if(!e||"object"!=typeof e)return!1;return"string"==typeof e.code&&"string"==typeof e.name&&"string"==typeof e.wordOrder&&"string"==typeof e.markingStrategy&&"string"==typeof e.morphology&&"object"==typeof e.keywords&&Array.isArray(e.canonicalOrder)}var Of={accessibility:!0,performance:!0,schema:!0,strict:!1},Rf=new Set(["scroll","mousemove","touchmove","resize","input","keydown","keyup","keypress"]),Mf=new Set(["scroll","mousemove","touchmove","resize"]);function Nf(e,t){const r=[];if("event-handler"===e.kind){const i=e.roles.get("event");if(i&&"literal"===i.type){const e=(i.value+"").toLowerCase();"mouseenter"!==e&&"mouseover"!==e&&"hover"!==e||r.push({code:"HOVER_ONLY_INTERACTION",severity:"warning",message:`Hover-only interaction detected (${e}). Not accessible to keyboard or touch users.`,suggestion:"Add keyboard equivalent (focus) or use a click-based interaction.",location:{input:t,role:"event"}})}}return r}function If(e,t){const r=[];if("event-handler"===e.kind){const i=e.roles.get("event");if(i&&"literal"===i.type){const e=(i.value+"").toLowerCase();if(Rf.has(e)){const i=Mf.has(e)?"warning":"info";r.push({code:"HIGH_FREQUENCY_TRIGGER",severity:i,message:`High-frequency event '${e}' may cause performance issues.`,suggestion:Mf.has(e)?`Consider using 'on ${e} throttled:100ms' to limit execution frequency.`:"Consider debouncing or throttling this handler.",location:{input:t,role:"event"}})}}}return r}function $f(e,t){const r=[];if("command"!==e.kind)return r;const i=Sf(e.action);if(!i)return r;const a=Array.isArray(i.roles)?i.roles:[],n=new Set;for(const i of a)i&&"object"==typeof i&&"role"in i&&(n.add(i.role),i.required&&!e.roles.has(i.role)&&r.push({code:"MISSING_REQUIRED_ROLE",severity:"error",message:`Command '${e.action}' requires '${i.role}' but it was not provided.`,suggestion:i.description,location:{input:t}}));return e.roles.forEach((i,a)=>{n.has(a)||r.push({code:"INVALID_ROLE_FOR_COMMAND",severity:"warning",message:`Role '${a}' is not typically used with '${e.action}' command.`,location:{input:t,role:a}})}),r}function Kf(e){if("event-handler"===e.kind){return e.body??[]}return[]}function Vf(e,t={}){const r=[],i=new Map;for(const t of e)if("event-handler"===t.kind){const e=t.roles.get("event"),r=t.roles.get("source"),a=`${"literal"===e?.type?e.value:"unknown"}:${"selector"===r?.type?r.value:"self"}`;i.has(a)||i.set(a,[]);const n=Kf(t);i.get(a).push({handler:t,commands:n})}return i.forEach((e,t)=>{if(e.length>1){const i=[],a=[];for(const{commands:t}of e)for(const e of t){i.push(e.action);const t=e.roles.get("patient");a.push("selector"===t?.type?t.value:"unknown")}const n=i.includes("toggle"),o=i.includes("show"),s=i.includes("hide");if(n&&(o||s)){a.filter((e,t)=>("toggle"===i[t]||"show"===i[t]||"hide"===i[t])&&a.some((r,i)=>t!==i&&e===r)).length>0&&r.push({code:"CONFLICTING_ACTIONS",severity:"warning",message:`Conflicting actions on '${t}': ${[...new Set(i)].join(", ")} may interfere with each other.`,suggestion:"Consider using a single toggle or conditional logic."})}i.some(e=>["fetch","wait","send"].includes(e))&&e.length>1&&r.push({code:"POTENTIAL_RACE_CONDITION",severity:"info",message:`Multiple handlers on '${t}' include async operations. Consider sequencing.`,suggestion:'Use "then" to chain operations or add loading states.'})}}),r}function Df(e,t="en",r={}){const i={...Of,...r},a=[];let n=null;try{n=gv(e,t)}catch{}if(!n)return{valid:!1,warnings:[{code:"UNREACHABLE_BEHAVIOR",severity:"error",message:"Could not parse input to semantic representation.",location:{input:e}}],node:null};i.accessibility&&a.push(...Nf(n,e)),i.performance&&a.push(...If(n,e)),i.schema&&a.push(...$f(n,e));const o=a.some(e=>"error"===e.severity),s=a.some(e=>"warning"===e.severity);return{valid:i.strict?!o&&!s:!o,warnings:a,node:n}}function Bf(e,t="en",r={}){const i=[],a=[];for(const n of e){const e=Df(n,t,r);i.push(...e.warnings),e.node&&a.push(e.node)}i.push(...Vf(a,r));const n=i.some(e=>"error"===e.severity),o={...Of,...r},s=i.some(e=>"warning"===e.severity);return{valid:o.strict?!n&&!s:!n,warnings:i,node:a[0]??null}}var Ff=!1,Hf={};function Uf(e={}){Ff=!0,Hf=e}function Gf(){Ff=!1}function Zf(){return Ff}function Yf(){return{...Hf}}function Xf(e,t,r){if(!Ff)return;if(!r)return void console.warn("[hyperfixi] Parse failed: "+e);const i=Df(e,t,Hf);for(const e of i.warnings){console["error"===e.severity?"error":"warning"===e.severity?"warn":"info"](`${"error"===e.severity?"\u274c":"warning"===e.severity?"\u26a0\ufe0f":"\u2139\ufe0f"} [hyperfixi:${e.code}] ${e.message}`,e.suggestion?"\n \ud83d\udca1 "+e.suggestion:"",e.location?.input?"\n \ud83d\udccd "+e.location.input:"")}}function Qf(e){const t={};return"number"==typeof e.start&&(t.start=e.start),"number"==typeof e.end&&(t.end=e.end),"number"==typeof e.line&&(t.line=e.line),"number"==typeof e.column&&(t.column=e.column),t}function Jf(e){if(!e)return{type:"literal",value:null};switch(e.type){case"eventHandler":return function(e){const t=e.event??"click",r=e.commands??e.body??[],i=r.map(e=>Jf(e)),a=function(e){const t=e.eventModifiers;return{...e.once||t?.once?{once:!0}:{},...e.debounce||t?.debounce?{debounce:e.debounce??t?.debounce}:{},...e.throttle||t?.throttle?{throttle:e.throttle??t?.throttle}:{},...e.prevent||t?.prevent?{prevent:!0}:{},...e.stop||t?.stop?{stop:!0}:{},...e.capture||t?.capture?{capture:!0}:{},...e.passive||t?.passive?{passive:!0}:{},...e.from||t?.from?{from:e.from??t?.from}:e.selector?{from:e.selector}:{}}}(e);return{type:"event",event:t,modifiers:a,body:i,...Qf(e)}}(e);case"command":return function(e){const t=e.name;if("if"===t||"unless"===t)return function(e){const t=e.args??[];let r=t[0]?Jf(t[0]):{type:"literal",value:!0};const i=eh(t[1]),a=t[2]?eh(t[2]):void 0;"unless"===e.name&&(r={type:"unary",operator:"not",operand:r});return{type:"if",condition:r,thenBranch:i,...a?{elseBranch:a}:{},...Qf(e)}}(e);if("repeat"===t)return function(e){const t=e.args??[];if(0===t.length)return{type:"repeat",body:[],...Qf(e)};const r=t[0],i=t[t.length-1];switch(r?.name??r?.value??"forever"){case"times":return{type:"repeat",count:t[1]?Jf(t[1]):void 0,body:eh(i),...Qf(e)};case"for":return{type:"foreach",itemName:t[1]?.value??"item",collection:t[2]?Jf(t[2]):{type:"identifier",value:"[]"},body:eh(i),...Qf(e)};case"while":return{type:"while",condition:t[1]?Jf(t[1]):{type:"literal",value:!0},body:eh(i),...Qf(e)};case"until":return{type:"while",condition:{type:"unary",operator:"not",operand:t[1]?Jf(t[1]):{type:"literal",value:!1}},body:eh(i),...Qf(e)};default:return{type:"repeat",body:eh(i),...Qf(e)}}}(e);const r=(e.args??[]).map(e=>Jf(e)),i=e.target?Jf(e.target):void 0,a=e.modifiers?function(e){const t={};for(const[r,i]of Object.entries(e))t[r]=Jf(i);return t}(e.modifiers):void 0,n=e.semanticRoles,o=n?function(e){const t={};for(const[r,i]of Object.entries(e))t[r]=Jf(i);return t}(n):void 0;return{type:"command",name:t,args:r,...i?{target:i}:{},...a&&Object.keys(a).length>0?{modifiers:a}:{},...o&&Object.keys(o).length>0?{roles:o}:{},...Qf(e)}}(e);case"CommandSequence":return function(e){const t=e.commands??[];return 1===t.length?Jf(t[0]):{type:"event",event:"click",body:t.map(e=>Jf(e)),...Qf(e)}}(e);case"block":return function(e){const t=e.commands??[];return 1===t.length?Jf(t[0]):{type:"event",event:"click",body:t.map(e=>Jf(e)),...Qf(e)}}(e);case"if":return function(e){const t=e.condition?Jf(e.condition):{type:"literal",value:!0},r=(e.thenBranch??[]).map(e=>Jf(e)),i=e.elseBranch?e.elseBranch.map(e=>Jf(e)):void 0;return{type:"if",condition:t,thenBranch:r,...i?{elseBranch:i}:{},...Qf(e)}}(e);case"literal":case"string":case"timeExpression":return{type:"literal",value:e.value,...Qf(e)};case"selector":case"htmlSelector":return{type:"selector",value:e.value??e.selector??"",...Qf(e)};case"contextReference":return{type:"identifier",value:e.name??e.contextType??"",...Qf(e)};case"identifier":return{type:"identifier",value:e.name??e.value??"",name:e.name??"",...Qf(e)};case"propertyAccess":return function(e){const t=e.object?Jf(e.object):{type:"identifier",value:"me"};return{type:"possessive",object:t,property:e.property??"",...Qf(e)}}(e);case"possessiveExpression":return function(e){const t=e.object?Jf(e.object):{type:"identifier",value:"me"},r="string"==typeof e.property?e.property:e.property?.name??e.property?.value??"";return{type:"possessive",object:t,property:r,...Qf(e)}}(e);case"memberExpression":return function(e){const t=e.object?Jf(e.object):{type:"identifier",value:"me"},r="string"==typeof e.property?e.property:e.property?Jf(e.property):{type:"literal",value:""};return{type:"member",object:t,property:r,computed:e.computed??!1,...Qf(e)}}(e);case"binaryExpression":return function(e){return{type:"binary",operator:e.operator??"",left:Jf(e.left),right:Jf(e.right),...Qf(e)}}(e);case"callExpression":return function(e){const t="string"==typeof e.callee?{type:"identifier",value:e.callee,name:e.callee}:Jf(e.callee),r=(e.arguments??e.args??[]).map(e=>Jf(e));return{type:"call",callee:t,args:r,...Qf(e)}}(e);case"unaryExpression":return{type:"unary",operator:e.operator,operand:Jf(e.operand),...Qf(e)};case"templateLiteral":return{type:"literal",value:e.raw??e.value??"",...Qf(e)};case"variable":return{type:"variable",name:e.name??"",scope:e.scope??"local",...Qf(e)};case"positional":return{type:"positional",position:e.position,...e.target?{target:Jf(e.target)}:{},...Qf(e)};case"positionalExpression":return{type:"positional",position:e.operator,...e.argument?{target:Jf(e.argument)}:{},...Qf(e)};default:return{type:"literal",value:e.value??null,...Qf(e)}}}function eh(e){return e?"block"===e.type?(e.commands??[]).map(e=>Jf(e)):[Jf(e)]:[]}function th(){return[...Nv]}var rh="0.1.0";function ih(e,t){return xv(e,t)}export{Vd as ASTBuilder,ui as CssSelectorExtractor,id as DEFAULT_CONFIDENCE_THRESHOLD,hi as EventModifierExtractor,ad as HIGH_CONFIDENCE_THRESHOLD,n as IdentifierExtractor,Bd as KNOWN_PROFILES,Nv as LAZY_LOAD_LANGUAGES,a as NumberExtractor,ni as OperatorExtractor,Uu as PatternMatcher,oi as PunctuationExtractor,Nv as SUPPORTED_LANGUAGES,h as SchemaErrorCodes,Av as SemanticCache,fv as SemanticParserImpl,Zy as SemanticRendererImpl,i as StringLiteralExtractor,t as TokenStreamImpl,ki as UrlExtractor,rh as VERSION,xi as VariableRefExtractor,$ as addSchema,Df as analyze,Bf as analyzeAll,Vf as analyzeMultiple,ne as appendSchema,_t as arabicProfile,bo as arabicTokenizer,At as bengaliProfile,Dd as buildAST,Rd as buildFromAstShape,bv as calculateTranslationConfidence,Kv as canLoadLanguage,kv as canParse,Nf as checkAccessibility,If as checkPerformance,$f as checkSchema,Fr as chineseProfile,ss as chineseTokenizer,rt as commandSchemas,bd as convertExpression,gd as convertLiteral,wd as convertPropertyPath,zd as convertReference,kd as convertSelector,fd as convertValue,eu as createCommandNode,iu as createCompoundNode,au as createConditionalNode,tu as createEventHandler,Yd as createLiteral,nu as createLoopNode,Jd as createPropertyPath,Qd as createReference,Zd as createSelector,Ov as createSemanticCache,ae as decrementSchema,Xf as devModeAnalyze,Gf as disableDevMode,Uf as enableDevMode,It as englishProfile,Rn as englishTokenizer,wm as eventNameTranslations,re as fetchSchema,yv as fillSchemaDefaults,A as formatValidationResults,Ft as frenchProfile,Sv as fromExplicit,Jf as fromSemanticAST,tc as generateAllPatterns,Zm as generatePattern,Qm as generatePatternVariants,ec as generatePatternsForCommand,Jm as generatePatternsForLanguage,Ym as generateSimplePattern,Rt as germanProfile,Cv as getAllTranslations,_v as getAllTranslationsWithStatus,Id as getCommandMapper,zv as getCommandType,di as getDefaultExtractors,ct as getDefinedSchemas,Yf as getDevModeConfig,Cm as getEventHandlerPatternsForLanguage,jm as getEventLocalizationDenylist,nc as getGeneratorSummary,_n as getHyperscriptExtractors,bf as getKeywordTranslations,Ud as getLexicon,Vv as getLoadedLanguages,zf as getPatternById,wf as getPatternStats,ff as getPatternsForLanguage,hf as getPatternsForLanguageAndCommand,ii as getPutPatternsForLanguage,jt as getRegisteredLanguages,Gd as getRegisteredLexicons,Kd as getRegisteredMappers,xf as getRoleMarkers,wv as getSOVEventMarkers,pt as getSchema,Md as getSchemaMapper,mt as getSchemasByCategory,kf as getSupportedCommands,th as getSupportedLanguages,gf as getSupportedPatternLanguages,Ju as getSupportedTokenizerLanguages,vc as getTogglePatternsForLanguage,Xu as getTokenizer,Dv as getUnloadedLanguages,q as getValidationStats,Sf as getValidatorSchema,Gt as hebrewProfile,Q as hideSchema,Xt as hindiProfile,ie as incrementSchema,er as indonesianProfile,Zf as isDevModeEnabled,o as isExplicitSyntax,Et as isLanguageRegistered,ey as isLanguageSupported,qf as isUnifiedProfile,ir as italianProfile,or as japaneseProfile,Yn as japaneseTokenizer,pr as koreanProfile,so as koreanTokenizer,Iv as loadLanguage,$v as loadLanguages,Em as localizeEventName,dr as malayProfile,Pf as markingStrategyToAdpositionType,Yu as matchBest,Zu as matchPattern,Sm as normalizeEventName,J as onSchema,gv as parse,Ev as parseAny,ev as parseExplicit,ih as parseSemantic,xv as parseWithConfidence,Gu as patternMatcher,vr as polishProfile,gr as portugueseProfile,oe as prependSchema,V as putSchema,wr as quechuaProfile,$d as registerCommandMapper,Hd as registerLexicon,jf as registerSchema,ty as registerTokenizer,K as removeSchema,Xy as render,Qy as renderExplicit,Nd as resolveCommandMapper,Lv as roundTrip,Tr as russianProfile,Tf as schemaRegistry,qv as semanticCache,hv as semanticParser,Yy as semanticRenderer,D as setSchema,X as showSchema,Vt as spanishProfile,$o as spanishTokenizer,Er as swahiliProfile,Ar as tagalogProfile,_r as thaiProfile,Tv as toExplicit,Wf as toGrammaticalMarker,Af as toI18nProfile,I as toggleSchema,Qu as tokenize,jv as translate,ee as triggerSchema,St as tryGetProfile,Rr as turkishProfile,ts as turkishTokenizer,Ir as ukrainianProfile,W as validateAllSchemas,_f as validateAndAdjustConfidence,P as validateCommandSchema,oc as validateLanguageKeywords,Cf as validateSemanticResult,Pv as validateTranslation,Vr as vietnameseProfile,te as waitSchema,Rv as withCache};
|
|
2
|
-
//# sourceMappingURL=index-C7lqD4mo.js.map
|