@lokascript/hyperscript-adapter 3.2.0 → 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.
Files changed (39) hide show
  1. package/CHANGELOG.md +41 -1
  2. package/dist/hyperscript-i18n-ar.global.js +1 -1
  3. package/dist/hyperscript-i18n-bn.global.js +1 -1
  4. package/dist/hyperscript-i18n-de.global.js +1 -1
  5. package/dist/hyperscript-i18n-east-asian.global.js +1 -1
  6. package/dist/hyperscript-i18n-en.global.js +2 -2
  7. package/dist/hyperscript-i18n-es.global.js +1 -1
  8. package/dist/hyperscript-i18n-fr.global.js +1 -1
  9. package/dist/hyperscript-i18n-he.global.js +1 -1
  10. package/dist/hyperscript-i18n-hi.global.js +1 -1
  11. package/dist/hyperscript-i18n-id.global.js +1 -1
  12. package/dist/hyperscript-i18n-it.global.js +1 -1
  13. package/dist/hyperscript-i18n-ja.global.js +1 -1
  14. package/dist/hyperscript-i18n-ko.global.js +1 -1
  15. package/dist/hyperscript-i18n-lite.global.js +2 -2
  16. package/dist/hyperscript-i18n-ms.global.js +1 -1
  17. package/dist/hyperscript-i18n-pl.global.js +1 -1
  18. package/dist/hyperscript-i18n-pt.global.js +1 -1
  19. package/dist/hyperscript-i18n-qu.global.js +1 -1
  20. package/dist/hyperscript-i18n-ru.global.js +1 -1
  21. package/dist/hyperscript-i18n-slavic.global.js +1 -1
  22. package/dist/hyperscript-i18n-south-asian.global.js +1 -1
  23. package/dist/hyperscript-i18n-southeast-asian.global.js +1 -1
  24. package/dist/hyperscript-i18n-sw.global.js +1 -1
  25. package/dist/hyperscript-i18n-th.global.js +1 -1
  26. package/dist/hyperscript-i18n-tl.global.js +1 -1
  27. package/dist/hyperscript-i18n-tr.global.js +1 -1
  28. package/dist/hyperscript-i18n-uk.global.js +1 -1
  29. package/dist/hyperscript-i18n-vi.global.js +1 -1
  30. package/dist/hyperscript-i18n-western.global.js +1 -1
  31. package/dist/hyperscript-i18n-zh.global.js +1 -1
  32. package/dist/hyperscript-i18n.global.js +4 -4
  33. package/dist/hyperscript-i18n.global.js.map +1 -1
  34. package/dist/index.cjs +4 -0
  35. package/dist/index.cjs.map +1 -1
  36. package/dist/index.js +4 -0
  37. package/dist/index.js.map +1 -1
  38. package/package.json +3 -2
  39. package/src/attribute-translator.ts +18 -2
@@ -58,12 +58,12 @@ ${u}
58
58
  `)}function x0(e){let t=0,r=0,i=0,n={};for(let a of e.values())for(let u of a.items)u.severity==="error"?t++:u.severity==="warning"?r++:u.severity==="note"&&i++,n[u.code]=(n[u.code]||0)+1;return{totalCommands:e.size,errors:t,warnings:r,notes:i,byCode:n}}function yE(e,t){let r=[];for(let i of t){let n=e.roles.find(a=>a.role===i.role);n&&(n.expectedTypes.length>0&&!n.expectedTypes.includes(i.type)&&(n.expectedTypes.includes("expression")||r.push({level:"error",role:i.role,message:`${e.action}.${i.role} expects type [${n.expectedTypes.join(", ")}], got '${i.type}'`,code:O.VALUE_TYPE_MISMATCH})),i.type==="selector"&&i.selectorKind&&n.selectorKinds&&n.selectorKinds.length>0&&(n.selectorKinds.includes(i.selectorKind)||r.push({level:"error",role:i.role,message:`${e.action}.${i.role} expects selector kind [${n.selectorKinds.join(", ")}], got '${i.selectorKind}'`,code:O.SELECTOR_KIND_MISMATCH})))}return r}function fE(e){if(e.length!==2)return!1;let[t,r]=[...e].sort();return B0.some(([i,n])=>i===t&&n===r)}function b0(e){let t=[];if(!e.keywords)return{language:e.code,collisions:t};let r=new Map;for(let[n,a]of Object.entries(e.keywords)){if(!a||!a.primary)continue;let u=r.get(a.primary)||[];if(u.push({command:n,isPrimary:!0}),r.set(a.primary,u),a.alternatives)for(let o of a.alternatives){let s=r.get(o)||[];s.push({command:n,isPrimary:!1}),r.set(o,s)}}for(let[n,a]of r){let u=[...new Set(a.map(l=>l.command))];if(u.length<=1||fE(u))continue;let o=a.filter(l=>l.isPrimary).length,s;o>=2?s="primary-primary":o===1?s="primary-alternative":s="alternative-alternative",t.push({keyword:n,commands:u.sort(),type:s})}let i={"primary-primary":0,"primary-alternative":1,"alternative-alternative":2};return t.sort((n,a)=>i[n.type]-i[a.type]),{language:e.code,collisions:t}}function vE(e){let t=[];for(let[,r]of Object.entries(e)){let i=b0(r);i.collisions.length>0&&t.push(i)}return t.sort((r,i)=>r.language.localeCompare(i.language))}var Va,D0,B0,S0=b({"src/generators/schema-validator.ts"(){"use strict";sE(),Va=new Set(["put","append","prepend","log","throw","make","measure","return","swap","morph","beep","copy"]),D0=new Set(["compound","else","halt","continue","init","settle","focus","blur","show","hide","return","js","measure","break","exit","beep","empty","open","close","select","clear","reset","breakpoint","live","eventsource","socket","worker","intercept"]),B0=[["change","changes"]]}});function $t(e){let t=e.roles.find(r=>r.role==="destination");return t?{destination:t.default?{fromRole:"destination",default:t.default}:{fromRole:"destination"}}:{}}function Vt(e){let t=e.roles.find(r=>r.role==="source");return t?{source:t.default?{fromRole:"source",default:t.default}:{fromRole:"source"}}:{}}function Kt(e,t){return Ha(e,t,"source")}function Ka(e,t){return Ha(e,t,"destination")}function hE(e,t){return Ha(e,t,"patient")}function Ha(e,t,r){if(!t||!e.roles.some(a=>a.role===r))return[];let i=t.alternatives?{type:"literal",value:t.primary,alternatives:[...t.alternatives]}:{type:"literal",value:t.primary},n={type:"role",role:r,optional:!0};return[{type:"group",optional:!0,tokens:t.position==="after"?[n,i]:[i,n]}]}function ge(e){return Ae[e]}function gE(e){return Object.values(Ae).filter(t=>t.category===e)}function ci(){return Object.values(Ae).filter(e=>e.structuralOnly!==!0&&(e.roles.length>0||e.bareKeyword===!0))}var we,Ua,Ga,Ya,pi,mi,F0,T0,L0,P0,_0,R0,j0,yn,fn,Za,Xa,Qa,Ja,eu,tu,ru,iu,O0,nu,N0,I0,M0,W0,q0,$0,V0,K0,H0,U0,G0,Y0,Z0,di,X0,Q0,J0,ec,tc,rc,ic,nc,ac,uc,oc,sc,lc,cc,pc,mc,dc,yc,fc,vc,hc,gc,Ec,vn,kc,zc,Cc,wc,Ac,xc,bc,Dc,Bc,Sc,Fc,Tc,Lc,Ae,xe=b({"src/generators/command-schemas.ts"(){"use strict";we=["selector","reference","expression"],Ua={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:we,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)"}},Ga={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:"\xE0",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"}},Ya={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:we,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"}},pi={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","property-path"],svoPosition:1,sovPosition:1},{role:"destination",description:"Where to put the content",required:!0,expectedTypes:["selector","reference","expression","property-path"],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","\xE0"],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"}},mi={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","selector","expression","reference","property-path"],svoPosition:2,sovPosition:2,markerOverride:{en:"to",es:"a",pt:"para",fr:"\xE0",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>"}},F0={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:"\xE0",de:"zu",it:"in",id:"ke",ms:"ke",vi:"v\xE0o",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>"}},T0={action:"live",description:"Reactive block: re-run the body when its dependencies change",category:"control-flow",primaryRole:"patient",hasBody:!0,bareKeyword:!0,roles:[]},L0={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}]},P0={action:"eventsource",description:"Open a Server-Sent Events stream and handle its events",category:"async",primaryRole:"patient",hasBody:!0,bareKeyword:!0,roles:[]},_0={action:"socket",description:"Open a WebSocket and handle its messages",category:"async",primaryRole:"patient",hasBody:!0,bareKeyword:!0,roles:[]},R0={action:"worker",description:"Define a Web Worker with inline methods",category:"async",primaryRole:"patient",hasBody:!0,bareKeyword:!0,roles:[]},j0={action:"intercept",description:"Service-worker fetch interception / caching strategies",category:"async",primaryRole:"patient",hasBody:!0,bareKeyword:!0,roles:[]},yn={action:"show",description:"Make an element visible",category:"dom-visibility",primaryRole:"patient",ast:{args:[["destination","patient"]],modifiers:{with:["style","duration"]}},roles:[{role:"patient",description:"The element to show",required:!1,expectedTypes:we,default:{type:"reference",value:"me"},svoPosition:1,sovPosition:1},{role:"style",description:"The hide/show strategy (`with opacity`, `with *opacity`)",required:!1,expectedTypes:["expression","selector"],svoPosition:2,sovPosition:2}]},fn={action:"hide",description:"Make an element invisible",category:"dom-visibility",primaryRole:"patient",ast:{args:[["destination","patient"]],modifiers:{with:["style","duration"]}},roles:[{role:"patient",description:"The element to hide",required:!1,expectedTypes:we,default:{type:"reference",value:"me"},svoPosition:1,sovPosition:1},{role:"style",description:"The hide/show strategy (`with opacity`, `with *opacity`)",required:!1,expectedTypes:["expression","selector"],svoPosition:2,sovPosition:2}]},Za={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","expression"],default:{type:"reference",value:"me"},svoPosition:2,sovPosition:1}],widenTypeVariants:[{role:"event",types:["literal","expression"],idSuffix:"expr-event",excludeLanguages:["ko"]}]},Xa={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:we,default:{type:"reference",value:"me"},svoPosition:2,sovPosition:1}]},Qa={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}]},Ja={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}]},eu={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","property-path"],svoPosition:1,sovPosition:1},{role:"quantity",description:"Amount to increment by (defaults to 1)",required:!1,expectedTypes:["literal","selector","expression","reference","property-path"],default:{type:"literal",value:1,dataType:"number"},svoPosition:2,sovPosition:2,markerOverride:{en:"by",es:"por",pt:"por",fr:"par",de:"um"}}]},tu={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","property-path"],svoPosition:1,sovPosition:1},{role:"quantity",description:"Amount to decrement by (defaults to 1)",required:!1,expectedTypes:["literal","selector","expression","reference","property-path"],default:{type:"literal",value:1,dataType:"number"},svoPosition:2,sovPosition:2,markerOverride:{en:"by",es:"por",pt:"por",fr:"par",de:"um"}}]},ru={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","property-path"],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"}}]},iu={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","property-path"],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"}}]},O0={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","property-path"],svoPosition:1,sovPosition:1}]},nu={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:["literal","selector","reference","expression","property-path"],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}]},N0={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:we,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"}}]},I0={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}]},M0={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}]},W0={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:we,default:{type:"reference",value:"me"},svoPosition:1,sovPosition:1}]},q0={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","property-path"],svoPosition:1,sovPosition:1}]},$0={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:"\xE0",de:"an",id:"ke",qu:"man",sw:"kwa"}}]},V0={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}]},K0={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}]},H0={action:"else",description:"Else branch of conditional",category:"control-flow",primaryRole:"patient",hasBody:!0,roles:[]},U0={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"'},G0={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"}}]},Y0={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}]},Z0={action:"continue",description:"Continue to next loop iteration",category:"control-flow",primaryRole:"patient",ast:{},roles:[]},di={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"},X0=Object.fromEntries(Object.keys(di).map(e=>[e,"in new"])),Q0={action:"go",description:"Navigate to a URL, or scroll to an element",category:"navigation",primaryRole:"destination",roles:[{role:"destination",description:"The URL to navigate to, or the element to scroll to",required:!0,expectedTypes:["literal",...we],svoPosition:1,sovPosition:1,markerOverride:{en:"to",es:"a",ar:"\u0625\u0644\u0649",fr:"\xE0",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"]}},{role:"manner",description:"Open the URL in a new window (`in new window`)",required:!1,expectedTypes:["reference","literal","expression"],valueShape:"keyword",svoPosition:2,sovPosition:2,markerOverride:X0}],rolePrefixLiteralVariants:[{role:"destination",literal:di,idSuffix:"url",priorityDelta:5,methodCarrier:"method"}]},J0={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:"\xE0",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\xE0o",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}]},ec={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"}}]},tc={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:we,default:{type:"reference",value:"me"},svoPosition:1,sovPosition:1}]},rc={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:we,default:{type:"reference",value:"me"},svoPosition:1,sovPosition:1}]},ic={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:we,default:{type:"reference",value:"me"},svoPosition:1,sovPosition:1}]},nc={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:we,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"}}]},ac={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:we,default:{type:"reference",value:"me"},svoPosition:1,sovPosition:1}]},uc={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:we,default:{type:"reference",value:"me"},svoPosition:1,sovPosition:1}]},oc={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}]},sc={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:we,default:{type:"reference",value:"me"},svoPosition:1,sovPosition:1}]},lc={action:"breakpoint",description:"Drop into the debugger",category:"control-flow",primaryRole:"patient",roles:[],bareKeyword:!0},cc={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}]},pc={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","property-path"],svoPosition:1,sovPosition:1}]},mc={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}]},dc={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:we,svoPosition:1,sovPosition:1,markerOverride:{en:"",he:"\u05D0\u05EA",zh:"\u628A"}}]},yc={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","property-path"],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:"\xE0",it:"in",pt:"para",pl:"do",ru:"\u0432",uk:"\u0432",vi:"v\xE0o",id:"ke",ms:"ke",th:"\u0E43\u0E19",zh:"\u5230",he:"\u05E2\u05DC"}}]},fc={action:"init",description:"Initialization block that runs once",category:"control-flow",primaryRole:"patient",ast:{},hasBody:!0,roles:[]},vc={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}]},hc={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}]},gc={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:we,default:{type:"reference",value:"me"},svoPosition:2,sovPosition:2,markerOverride:{en:"of"}}]},Ec={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"},vn={role:"manner",description:"Run the swap inside a `document.startViewTransition()` (`using view transition`)",required:!1,expectedTypes:["literal","expression"],valueShape:"keyword",markerOverride:Ec},kc={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:we,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"}},{...vn,svoPosition:4,sovPosition:4}]},zc={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:we,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"}},{...vn,svoPosition:3,sovPosition:3}]},Cc={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}]},wc={action:"break",description:"Exit from the current loop",category:"control-flow",primaryRole:"patient",roles:[]},Ac={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","property-path"],svoPosition:1,sovPosition:1}]},xc={action:"exit",description:"Exit from the current event handler",category:"control-flow",primaryRole:"patient",roles:[],bareKeyword:!0},bc={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}]},Dc={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"}}]},Bc={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"},Sc={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:di}]},Fc={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:di}]},Tc={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:Bc},{...vn,svoPosition:2,sovPosition:2}]},Lc={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}]},Ae={toggle:Ua,add:Ga,remove:Ya,put:pi,set:mi,show:yn,hide:fn,on:Za,trigger:Xa,wait:Qa,fetch:Ja,increment:eu,decrement:tu,append:ru,prepend:iu,log:O0,get:nu,take:N0,make:I0,halt:M0,settle:W0,throw:q0,send:$0,if:V0,unless:K0,else:H0,repeat:U0,for:G0,while:Y0,continue:Z0,go:Q0,scroll:Dc,push:Sc,replace:Fc,process:Tc,transition:J0,clone:ec,focus:tc,blur:rc,empty:ic,open:nc,close:ac,select:uc,clear:oc,reset:sc,breakpoint:lc,call:cc,return:pc,js:mc,tell:dc,default:yc,init:fc,behavior:vc,install:hc,measure:gc,swap:kc,morph:zc,beep:Cc,break:wc,copy:Ac,exit:xc,pick:bc,render:Lc,bind:F0,live:T0,when:L0,eventsource:P0,socket:_0,worker:R0,intercept:j0,compound:{action:"compound",description:"A compound node representing chained statements",primaryRole:"patient",category:"control-flow",hasBody:!0,roles:[]}},typeof process<"u"&&process.env.LOKASCRIPT_SCHEMA_VALIDATION==="1"&&Promise.resolve().then(()=>(S0(),C0)).then(({validateAllSchemas:e,formatValidationResults:t})=>{let r=e(Ae);r.size>0&&(console.warn("[SCHEMA VALIDATION] Found issues in command schemas:"),console.warn(t(r)),console.warn(`
59
59
  These warnings help identify potential schema design issues.`),console.warn("Fix them to improve type inference and avoid runtime bugs."))}).catch(e=>{console.debug("Schema validation skipped:",e)})}}),hn=b({"src/tokenizers/token-utils.ts"(){"use strict"}}),au,Pc=b({"src/value-words.ts"(){"use strict";au=new Set(["me","my","myself","you","your","yourself","it","its","result","event","target","body","detail","window","document","true","false","null","undefined","empty"])}});function _c(e,t){let r={...e};for(let i of Object.keys(t)){let n=t[i],a=e[i];n!==void 0&&(typeof n=="object"&&n!==null&&!Array.isArray(n)&&typeof a=="object"&&a!==null&&!Array.isArray(a)?r[i]=_c(a,n):r[i]=n)}return r}function EE(e,t){return _c(e,t)}function uu(e){if(!e.extends)return e;let t=ct.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;let r=uu(t);return EE(r,e)}function le(e,t,r){ut.set(e,t),ct.set(e,r),Gt.delete(e)}function kE(e){ut.set(e.language,e)}function zE(e){gn=e}function ou(e,t){En.set(e,t),Gt.delete(e)}function Ht(e){return e.split("-")[0]}function Ut(e){return e.includes("-")}function CE(e){let t=ut.get(e);if(!t&&Ut(e)){let r=Ht(e);t=ut.get(r)}if(!t){let r=Array.from(ut.keys()).join(", ");throw new Error(`Language '${e}' is not registered. Registered languages: ${r||"none"}. Import the language module first: import '@lokascript/semantic/languages/${e}';`)}return t}function wE(e){let t=ct.get(e);if(!t&&Ut(e)){let r=Ht(e);t=ct.get(r)}if(!t){let r=Array.from(ct.keys()).join(", ");throw new Error(`Language profile '${e}' is not registered. Registered languages: ${r||"none"}. Import the language module first: import '@lokascript/semantic/languages/${e}';`)}return uu(t)}function AE(e){let t=ut.get(e);return!t&&Ut(e)&&(t=ut.get(Ht(e))),t}function T(e){let t=ct.get(e);return!t&&Ut(e)&&(t=ct.get(Ht(e))),t?uu(t):void 0}function sr(){return Array.from(ut.keys())}function tr(e){if(ut.has(e)&&ct.has(e))return!0;if(Ut(e)){let t=Ht(e);return ut.has(t)&&ct.has(t)}return!1}function xE(e,t){let i=CE(t).tokenize(e);return t==="en"?i:DE(i,t)}function bE(e){su=e}function DE(e,t){let r=e.tokens,i=[],n=!1;for(let a=0;a<r.length;a++){let u=r[a],o=r[a-1],s=a+2;for(;s<r.length&&r[s]?.value!==")"&&r[s-1].position.end===r[s].position.start;)s++;let l=r.slice(a+1,s),c=l.map(d=>d.value).join(""),p=l[0],m=l[l.length-1];if(u.value==="("&&p&&m&&r[s]?.value===")"&&/^[\p{L}_$][\p{L}\p{M}\p{N}_$]*$/u.test(c)&&!(p.kind!=="particle"&&au.has((p.normalized??p.value).toLowerCase()))&&su(c,t)&&u.position.end===p.position.start&&m.position.end===r[s].position.start&&!(o&&o.position.end===u.position.start&&/[\p{L}\p{N}_)\]]$/u.test(o.value))){i.push({value:`(${c})`,kind:"identifier",position:{...u.position,end:r[s].position.end}}),a=s,n=!0;continue}i.push(u)}return n?new Ce(i,t):e}function We(e){let t=Gt.get(e);if(!t&&Ut(e)&&(t=Gt.get(Ht(e))),t)return t;let r=En.get(e);if(!r&&Ut(e)&&(r=En.get(Ht(e))),r)return Gt.set(e,r),r;if(!gn)throw new Error(`No patterns registered for language '${e}'. Either import the language module or set a pattern generator.`);let i=wE(e),n=gn(i);return Gt.set(e,n),n}function BE(e,t){return We(e).filter(r=>r.command===t).sort((r,i)=>i.priority-r.priority)}var ut,ct,Gt,gn,En,su,Te=b({"src/registry.ts"(){"use strict";hn(),Pc(),ut=new Map,ct=new Map,Gt=new Map,gn=null,En=new Map,su=()=>!1}}),Rc={};j(Rc,{arabicProfile:()=>lr});var lr,yi=b({"src/generators/profiles/arabic.ts"(){"use strict";lr={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"}}}}}),jc={};j(jc,{bengaliProfile:()=>cr});var cr,fi=b({"src/generators/profiles/bengali.ts"(){"use strict";cr={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"]}}}}),Oc={};j(Oc,{germanProfile:()=>pr});var pr,vi=b({"src/generators/profiles/german.ts"(){"use strict";pr={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\xF6rper",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\xFCgen",normalized:"add"},remove:{primary:"entfernen",alternatives:["l\xF6schen"],normalized:"remove"},put:{primary:"setzen",alternatives:["stellen","platzieren"],normalized:"put"},append:{primary:"anh\xE4ngen",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\xF6hen",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:"\xFCbergang",alternatives:["animieren"],normalized:"transition"},on:{primary:"bei",alternatives:["auf"],normalized:"on"},trigger:{primary:"ausl\xF6sen",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:"\xF6ffnen",alternatives:["oeffnen"],normalized:"open"},close:{primary:"schlie\xDFen",alternatives:["schliessen"],normalized:"close"},select:{primary:"markieren",normalized:"select"},clear:{primary:"bereinigen",normalized:"clear"},reset:{primary:"zur\xFCcksetzen",alternatives:["zuruecksetzen"],normalized:"reset"},breakpoint:{primary:"haltepunkt",normalized:"breakpoint"},go:{primary:"gehen",alternatives:["navigieren"],normalized:"go"},scroll:{primary:"scrollen",normalized:"scroll"},push:{primary:"dr\xFCcken",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:"\xE4ndert",normalized:"changes"},where:{primary:"wo",normalized:"where"},else:{primary:"sonst",alternatives:["ansonsten"],normalized:"else"},repeat:{primary:"wiederholen",normalized:"repeat"},for:{primary:"f\xFCr",normalized:"for"},while:{primary:"solange",alternatives:["w\xE4hrend"],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\xFCckgeben",normalized:"return"},then:{primary:"dann",alternatives:["danach","anschlie\xDFend"],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\xE4hlen",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:"\xC4nderung",alternatives:["\xC4ndern"],normalized:"change"},resize:{primary:"Gr\xF6\xDFen\xE4nderung",alternatives:["gr\xF6\xDFen\xE4nderung","gr\xF6ssen\xE4nderung","Gr\xF6\xDFe \xE4ndern","gr\xF6\xDFe\xE4ndern"],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"]}}}}),Nc={};j(Nc,{englishProfile:()=>Tt});var Tt,Yt=b({"src/generators/profiles/english.ts"(){"use strict";Tt={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"}}}}}),Ic={};j(Ic,{spanishProfile:()=>mr});var mr,hi=b({"src/generators/profiles/spanish.ts"(){"use strict";mr={code:"es",name:"Spanish",nativeName:"Espa\xF1ol",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\xFA",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\xF1adir"],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\xE9n"],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\xF1ar","muestra"],normalized:"show"},hide:{primary:"ocultar",alternatives:["esconder"],normalized:"hide"},transition:{primary:"transici\xF3n",alternatives:["animar"],normalized:"transition"},on:{primary:"en",alternatives:["al"],normalized:"on"},trigger:{primary:"disparar",alternatives:["activar"],normalized:"trigger"},send:{primary:"enviar",alternatives:["env\xEDa"],normalized:"send"},focus:{primary:"enfoque",alternatives:["enfocar"],normalized:"focus"},blur:{primary:"p\xE9rdida 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\xF3n",alternatives:["punto-interrupcion"],normalized:"breakpoint"},click:{primary:"clic",alternatives:["hacer clic","click"],normalized:"click"},resize:{primary:"cambio de tama\xF1o",alternatives:["cambio de tamano","redimensionar"],normalized:"resize"},hover:{primary:"sobrevolar",alternatives:["pasar por encima"],normalized:"hover"},submit:{primary:"env\xEDo",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\xF3n encima",alternatives:["raton encima","mouse encima"],normalized:"mouseover"},mouseout:{primary:"rat\xF3n fuera",alternatives:["raton fuera","mouse fuera"],normalized:"mouseout"},mousedown:{primary:"rat\xF3n pulsado",alternatives:["raton pulsado","mouse presionado","rat\xF3n abajo","raton abajo","rat\xF3nabajo"],normalized:"mousedown"},mouseup:{primary:"rat\xF3n soltado",alternatives:["raton soltado","mouse soltado","rat\xF3n arriba","raton arriba","rat\xF3narriba"],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\xE1s","tambi\xE9n"],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\xEDo",alternatives:["vacio"],normalized:"empty"},matches:{primary:"coincide",normalized:"matches"},no:{primary:"ning\xFAn",normalized:"no"},end:{primary:"fin",alternatives:["final","terminar"],normalized:"end"},js:{primary:"js",normalized:"js"},async:{primary:"as\xEDncrono",alternatives:["asincrono"],normalized:"async"},tell:{primary:"decir",normalized:"tell"},default:{primary:"predeterminar",alternatives:["por defecto"],normalized:"default"},init:{primary:"inicio",alternatives:["inicializaci\xF3n","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:"\xFAltimo",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\xE9s",alternatives:["despues","despu\xE9s 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"]}}}}),Mc={};j(Mc,{frenchProfile:()=>dr});var dr,gi=b({"src/generators/profiles/french.ts"(){"use strict";dr={code:"fr",name:"French",nativeName:"Fran\xE7ais",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\xE9sultat",event:"\xE9v\xE9nement",target:"cible",body:"corps",document:"document",window:"fen\xEAtre",detail:"d\xE9tail"},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:["\xE0","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\xE9fixer",normalized:"prepend"},take:{primary:"prendre",normalized:"take"},make:{primary:"faire",alternatives:["cr\xE9er"],normalized:"make"},clone:{primary:"cloner",alternatives:["dupliquer"],normalized:"clone"},swap:{primary:"\xE9changer",alternatives:["permuter"],normalized:"swap"},morph:{primary:"transformer",alternatives:["m\xE9tamorphoser"],normalized:"morph"},set:{primary:"d\xE9finir",alternatives:["\xE9tablir"],normalized:"set"},get:{primary:"obtenir",alternatives:["obtiens"],normalized:"get"},increment:{primary:"incr\xE9menter",alternatives:["augmenter"],normalized:"increment"},decrement:{primary:"d\xE9cr\xE9menter",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\xE9clencher",normalized:"trigger"},send:{primary:"envoyer",alternatives:["envoie"],normalized:"send"},focus:{primary:"focaliser",alternatives:["concentrer"],normalized:"focus"},blur:{primary:"perte de focus",alternatives:["d\xE9focaliser"],normalized:"blur"},empty:{primary:"vider",alternatives:["vide"],normalized:"empty"},open:{primary:"ouvrir",normalized:"open"},close:{primary:"fermer",normalized:"close"},select:{primary:"s\xE9lectionner",alternatives:["selectionner"],normalized:"select"},clear:{primary:"effacer",normalized:"clear"},reset:{primary:"r\xE9initialiser",alternatives:["reinitialiser"],normalized:"reset"},breakpoint:{primary:"point-arr\xEAt",alternatives:["point-arret"],normalized:"breakpoint"},go:{primary:"aller",alternatives:["naviguer","va"],normalized:"go"},scroll:{primary:"d\xE9filement",alternatives:["defilement","d\xE9filer","faire-d\xE9filer"],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\xE9cup\xE9rer","r\xE9cup\xE8re"],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\xF9",normalized:"where"},else:{primary:"sinon",normalized:"else"},repeat:{primary:"r\xE9p\xE9ter",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\xEAter",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","\xE9galement"],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\xE9faut",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\xE8s",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\xE9e"],normalized:"input"},change:{primary:"changement",alternatives:["modifier","changer"],normalized:"change"},load:{primary:"charger",alternatives:["chargement"],normalized:"load"},until:{primary:"jusqu'\xE0",alternatives:["jusque"],normalized:"until"},event:{primary:"\xE9v\xE9nement",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"]}}}}),Wc={};j(Wc,{hebrewProfile:()=>yr});var yr,Ei=b({"src/generators/profiles/he.ts"(){"use strict";yr={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"]}}}}),qc={};j(qc,{hindiProfile:()=>fr});var fr,ki=b({"src/generators/profiles/hindi.ts"(){"use strict";fr={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"},no:{primary:"\u0915\u094B\u0908 \u0928\u0939\u0940\u0902",normalized:"no"},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"]}}}}),$c={};j($c,{indonesianProfile:()=>vr});var vr,zi=b({"src/generators/profiles/indonesian.ts"(){"use strict";vr={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"]}}}}),Vc={};j(Vc,{italianProfile:()=>hr});var hr,Ci=b({"src/generators/profiles/italian.ts"(){"use strict";hr={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"]}}}}),Kc={};j(Kc,{japaneseProfile:()=>gr});var gr,wi=b({"src/generators/profiles/japanese.ts"(){"use strict";gr={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"]}}}}),Hc={};j(Hc,{koreanProfile:()=>Er});var Er,Ai=b({"src/generators/profiles/korean.ts"(){"use strict";Er={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"]}}}}),Uc={};j(Uc,{malayProfile:()=>kr});var kr,xi=b({"src/generators/profiles/ms.ts"(){"use strict";kr={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"}}}}}),Gc={};j(Gc,{polishProfile:()=>zr});var zr,bi=b({"src/generators/profiles/polish.ts"(){"use strict";zr={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\xF3\u0142"},possessive:{marker:"",markerPosition:"after-object",usePossessiveAdjectives:!0,specialForms:{me:"m\xF3j",it:"jego",you:"tw\xF3j"},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\xF3rz",alternatives:["utworz","stw\xF3rz","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\xF3l",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\xF3\u017Cnij",alternatives:["oproznij","pusty"],normalized:"empty"},open:{primary:"otw\xF3rz",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\xF3rz",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\xF3rz",alternatives:["powtorz"],normalized:"repeat",form:"imperative"},for:{primary:"dla",alternatives:["ka\u017Cdy","kazdy"],normalized:"for"},while:{primary:"dop\xF3ki",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\xF3\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\xF3d\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"]}}}}),Yc={};j(Yc,{portugueseProfile:()=>Cr});var Cr,Di=b({"src/generators/profiles/portuguese.ts"(){"use strict";Cr={code:"pt",name:"Portuguese",nativeName:"Portugu\xEAs",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\xEA",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\xF4r","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\xE7\xE3o",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\xE7\xE3o",alternatives:["ponto-interrupcao"],normalized:"breakpoint"},go:{primary:"ir",alternatives:["navegar","v\xE1"],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\xE3o",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\xE7ar",normalized:"throw"},call:{primary:"chamar",normalized:"call"},return:{primary:"retornar",alternatives:["devolver"],normalized:"return"},then:{primary:"ent\xE3o",alternatives:["logo"],normalized:"then"},and:{primary:"e",alternatives:["tamb\xE9m","al\xE9m disso"],normalized:"and"},matches:{primary:"corresponde",normalized:"matches"},exists:{primary:"existe",normalized:"exists"},is:{primary:"\xE9",normalized:"is"},no:{primary:"nenhum",normalized:"no"},end:{primary:"fim",alternatives:["final","t\xE9rmino"],normalized:"end"},js:{primary:"js",normalized:"js"},async:{primary:"ass\xEDncrono",normalized:"async"},tell:{primary:"dizer",normalized:"tell"},default:{primary:"padr\xE3o",normalized:"default"},init:{primary:"inicializa\xE7\xE3o",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\xE3o"],normalized:"submit"},input:{primary:"entrada",alternatives:["inser\xE7\xE3o"],normalized:"input"},change:{primary:"altera\xE7\xE3o",alternatives:["mudan\xE7a"],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\xE9",normalized:"until"},event:{primary:"evento",normalized:"event"},from:{primary:"de",alternatives:["desde"],normalized:"from"},connect:{primary:"conectar",alternatives:["conex\xE3o"],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"]}}}}),Zc={};j(Zc,{quechuaProfile:()=>wr});var wr,Bi=b({"src/generators/profiles/quechua.ts"(){"use strict";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:"\xF1awpachiy",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:"\xF1awpaq_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:"\xF1awpaq",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:"\xF1itiy",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"}}}}}),Xc={};j(Xc,{russianProfile:()=>Ar});var Ar,Si=b({"src/generators/profiles/russian.ts"(){"use strict";Ar={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"]}}}}),Qc={};j(Qc,{swahiliProfile:()=>xr});var xr,Fi=b({"src/generators/profiles/swahili.ts"(){"use strict";xr={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"}}}}}),Jc={};j(Jc,{thaiProfile:()=>br});var br,Ti=b({"src/generators/profiles/thai.ts"(){"use strict";br={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"]}}}}),ep={};j(ep,{tagalogProfile:()=>Dr});var Dr,Li=b({"src/generators/profiles/tl.ts"(){"use strict";Dr={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"}}}}}),tp={};j(tp,{turkishProfile:()=>Br});var Br,Pi=b({"src/generators/profiles/turkish.ts"(){"use strict";Br={code:"tr",name:"Turkish",nativeName:"T\xFCrk\xE7e",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\xE7",event:"olay",target:"hedef",body:"g\xF6vde",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","\xFC","yi","y\u0131","yu","y\xFC","ni","n\u0131","nu","n\xFC"],position:"after"},destination:{primary:"e",alternatives:["a","ye","ya","ne","na","de","da","te","ta","\u0131n","in","un","\xFCn","n\u0131n","nin","nun","n\xFCn"],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","\xFC"],position:"after"}},keywords:{toggle:{primary:"de\u011Fi\u015Ftir",alternatives:["a\xE7/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\xF6n\xFC\u015Ft\xFCr",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\xF6ster",normalized:"show"},hide:{primary:"gizle",normalized:"hide"},transition:{primary:"ge\xE7i\u015F",normalized:"transition"},on:{primary:"\xFCzerinde",alternatives:["zaman"],normalized:"on"},trigger:{primary:"tetikle",normalized:"trigger"},send:{primary:"g\xF6nder",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\xE7",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:"\xFCzerine gelme",alternatives:["\xFCzerinde gezinme"],normalized:"hover"},submit:{primary:"g\xF6nderme",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\xFCkle",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\xE7in",normalized:"for"},while:{primary:"s\xFCresince",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:"\xE7a\u011F\u0131r",normalized:"call"},return:{primary:"d\xF6n",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\xF6yle",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\xFCklemek"],normalized:"install"},measure:{primary:"\xF6l\xE7",normalized:"measure"},beep:{primary:"bip",normalized:"beep"},break:{primary:"dur",normalized:"break"},copy:{primary:"kopyala",normalized:"copy"},exit:{primary:"\xE7\u0131k",normalized:"exit"},pick:{primary:"se\xE7",normalized:"pick"},render:{primary:"render",normalized:"render"},into:{primary:"i\xE7ine",normalized:"into"},before:{primary:"\xF6nce",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\xE7ek-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\xE7i",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"]}}}}),rp={};j(rp,{ukrainianProfile:()=>Sr});var Sr,_i=b({"src/generators/profiles/ukrainian.ts"(){"use strict";Sr={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"]}}}}),ip={};j(ip,{vietnameseProfile:()=>Fr});var Fr,Ri=b({"src/generators/profiles/vietnamese.ts"(){"use strict";Fr={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\xF4i",it:"n\xF3",you:"b\u1EA1n",result:"k\u1EBFt qu\u1EA3",event:"s\u1EF1 ki\u1EC7n",target:"m\u1EE5c ti\xEAu",body:"body"},possessive:{marker:"c\u1EE7a",markerPosition:"between",specialForms:{me:"c\u1EE7a t\xF4i",it:"c\u1EE7a n\xF3",you:"c\u1EE7a b\u1EA1n"},keywords:{"c\u1EE7a t\xF4i":"me",my:"me","c\u1EE7a b\u1EA1n":"you","c\u1EE7a anh":"you","c\u1EE7a ch\u1ECB":"you","c\u1EE7a n\xF3":"it"}},roleMarkers:{destination:{primary:"v\xE0o",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\xEAm",alternatives:["b\u1ED5 sung"],normalized:"add"},remove:{primary:"x\xF3a",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\xEAm v\xE0o \u0111\u1EA7u",normalized:"prepend"},take:{primary:"l\u1EA5y",normalized:"take"},make:{primary:"t\u1EA1o",normalized:"make"},clone:{primary:"nh\xE2n b\u1EA3n",normalized:"clone"},swap:{primary:"ho\xE1n \u0111\u1ED5i",normalized:"swap"},morph:{primary:"bi\u1EBFn \u0111\u1ED5i",normalized:"morph"},set:{primary:"g\xE1n",alternatives:["thi\u1EBFt l\u1EADp"],normalized:"set"},get:{primary:"l\u1EA5y gi\xE1 tr\u1ECB",alternatives:["nh\u1EADn"],normalized:"get"},increment:{primary:"t\u0103ng",alternatives:["t\u0103ng l\xEAn"],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\xEAn"],normalized:"on"},trigger:{primary:"k\xEDch 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\xE0m-r\u1ED7ng",alternatives:["tr\u1ED1ng"],normalized:"empty"},open:{primary:"m\u1EDF",normalized:"open"},close:{primary:"\u0111\xF3ng",normalized:"close"},select:{primary:"\u0111\xE1nh-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\xEA 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\xFD",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\xFAc",normalized:"when"},where:{primary:"\u1EDF_\u0111\xE2u",normalized:"where"},else:{primary:"kh\xF4ng th\xEC",alternatives:["n\u1EBFu kh\xF4ng"],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\xE3i m\xE3i",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\xE9m",normalized:"throw"},call:{primary:"g\u1ECDi",normalized:"call"},return:{primary:"tr\u1EA3 v\u1EC1",normalized:"return"},then:{primary:"r\u1ED3i",alternatives:["sau \u0111\xF3","th\xEC"],normalized:"then"},and:{primary:"v\xE0",normalized:"and"},matches:{primary:"kh\u1EDBp",normalized:"matches"},end:{primary:"k\u1EBFt th\xFAc",normalized:"end"},js:{primary:"js",normalized:"js"},async:{primary:"b\u1EA5t \u0111\u1ED3ng b\u1ED9",normalized:"async"},tell:{primary:"n\xF3i v\u1EDBi",normalized:"tell"},default:{primary:"m\u1EB7c \u0111\u1ECBnh",normalized:"default"},init:{primary:"kh\u1EDFi t\u1EA1o",normalized:"init"},behavior:{primary:"h\xE0nh vi",normalized:"behavior"},install:{primary:"c\xE0i \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\xE9p",normalized:"copy"},exit:{primary:"tho\xE1t",alternatives:["tho\xE1t ra"],normalized:"exit"},pick:{primary:"ch\u1ECDn",normalized:"pick"},render:{primary:"k\u1EBFt xu\u1EA5t",normalized:"render"},into:{primary:"v\xE0o",alternatives:["v\xE0o 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\xE1t",alternatives:["ph\xE1t","lu\u1ED3ng"],normalized:"stream"},live:{primary:"tr\u1EF1c-ti\u1EBFp",alternatives:["ph\xE1t-tr\u1EF1c-ti\u1EBFp","live"],normalized:"live"},socket:{primary:"socket",alternatives:["\u1ED5-c\u1EAFm","websocket"],normalized:"socket"},bind:{primary:"r\xE0ng bu\u1ED9c",alternatives:["li\xEAn k\u1EBFt","bind"],normalized:"bind"},intercept:{primary:"ch\u1EB7n",alternatives:["ch\u1EB7n b\u1EAFt","intercept"],normalized:"intercept"},worker:{primary:"worker",alternatives:["c\xF4ng nh\xE2n"],normalized:"worker"},eventsource:{primary:"eventsource",alternatives:["ngu\u1ED3n s\u1EF1 ki\u1EC7n"],normalized:"eventsource"}},eventHandler:{keyword:{primary:"khi",alternatives:["tr\xEAn"],normalized:"on"},sourceMarker:{primary:"tr\xEAn",alternatives:["t\u1EA1i"],position:"before"},eventMarker:{primary:"khi",alternatives:["l\xFAc"],position:"before"},temporalMarkers:["khi","l\xFAc"]}}}}),np={};j(np,{chineseProfile:()=>Tr});var Tr,ji=b({"src/generators/profiles/chinese.ts"(){"use strict";Tr={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 SE(e,t){let r=e.markerOverride?.[t.code],i=t.roleMarkers[e.role];if(r!==void 0){let n=FE(e,t.code,r);return{primary:r,...n&&{alternatives:n},position:i?.position??"before",isOverride:!0}}if(i&&i.primary){let n={primary:i.primary,position:i.position,isOverride:!1};return i.alternatives&&(n.alternatives=i.alternatives),n}return null}function FE(e,t,r){let i=e.markerLegacy?.[t];if(!i?.length)return;let n=[...new Set(i)].filter(a=>a&&a!==r);return n.length?n:void 0}function zt(e,t,r){let i=e.markerLegacy?.[t]??[],n=e.methodCarrier?[]:e.markerVariants?.[t]??[],a=[...new Set([...i,...n])].filter(u=>u&&u!==r);return a.length?a:void 0}var Lr,Pr=b({"src/parser/utils/marker-resolution.ts"(){"use strict";Lr=new Set(["destination","source","patient","object","event","eventmarker","manner","instrument","style"])}}),kn,lu=b({"src/patterns/count-words.ts"(){"use strict";kn={ar:["\u0645\u0631\u0627\u062A","\u0645\u0631\u0629"],bn:["\u09AC\u09BE\u09B0"],de:["mal","Mal"],es:["veces","vez"],fr:["fois"],he:["\u05E4\u05E2\u05DE\u05D9\u05DD","\u05E4\u05E2\u05DD"],hi:["\u092C\u093E\u0930"],id:["kali"],it:["volte","volta"],ja:["\u56DE","\u5EA6"],ko:["\uBC88","\uD68C"],ms:["kali"],pl:["razy","raz"],pt:["vezes","vez"],qu:["kuti"],ru:["\u0440\u0430\u0437","\u0440\u0430\u0437\u0430"],sw:["mara"],th:["\u0E04\u0E23\u0E31\u0E49\u0E07"],tl:["beses"],tr:["kez","kere","defa"],uk:["\u0440\u0430\u0437\u0456\u0432","\u0440\u0430\u0437\u0438","\u0440\u0430\u0437"],vi:["l\u1EA7n"],zh:["\u6B21","\u904D"]}}});function TE(){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}}}]}function LE(){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"}}}}]}function PE(){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\xE9s de {destination}",tokens:[{type:"literal",value:"poner",alternatives:["pon","colocar"]},{type:"role",role:"patient"},{type:"literal",value:"despu\xE9s de",alternatives:["despues de","despu\xE9s"]},{type:"role",role:"destination"}]},extraction:{patient:{position:1},destination:{marker:"despu\xE9s de",markerAlternatives:["despues de","despu\xE9s"]},manner:{default:{type:"literal",value:"after"}}}}]}function _E(){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"}}}}]}function RE(){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:zn},{type:"literal",value:"ke"},{type:"literal",value:"dalam",alternatives:["di"]},{type:"role",role:"destination",expectedTypes:_r}]},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:zn},{type:"literal",value:"ke",alternatives:["di","pada"]},{type:"role",role:"destination",expectedTypes:_r}]},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:zn},{type:"literal",value:"di"},{type:"role",role:"destination",expectedTypes:_r}]},extraction:{patient:{position:1},destination:{position:3}}}]}function jE(){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}}}]}function OE(){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\xF3\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"}}}}]}function NE(){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"}}}}]}function IE(){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"}}}}]}function ME(){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"}}}}]}function WE(){return[{id:"put-vi-into",language:"vi",command:"put",priority:100,template:{format:"\u0111\u1EB7t {patient} v\xE0o {target}",tokens:[{type:"literal",value:"\u0111\u1EB7t",alternatives:["\u0111\u1EC3","\u0111\u01B0a"]},{type:"role",role:"patient"},{type:"literal",value:"v\xE0o",alternatives:["v\xE0o trong"]},{type:"role",role:"destination"}]},extraction:{patient:{position:1},destination:{marker:"v\xE0o",markerAlternatives:["v\xE0o 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"}}}}]}function qE(){return[...["before","after"].map(e=>{let t=e==="before"?"\xF1awpaqpi":"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}}}]}function $E(){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:_r}]},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:_r}]},extraction:{patient:{position:1},destination:{marker:"\u5230",markerAlternatives:["\u5728","\u4E8E","\u5165"]}}}]}function cu(e,t,r,i){let n=Cn.find(u=>u.lang===e);if(!n)return!1;let a=(u,o)=>(u??"").toLowerCase()===o.toLowerCase();return a(t,n.end)&&a(r,n.at)&&a(i,n.of)}function VE(e,t){let r=Cn.find(n=>n.lang===e);if(!r)return!1;let i=t.toLowerCase();return i===r.at.toLowerCase()||i===r.of.toLowerCase()||i===r.end.toLowerCase()}function KE(e){let t=Cn.find(a=>a.lang===e);if(!t)return[];let r=[],i=t.verbAlts?{type:"literal",value:t.verb,alternatives:t.verbAlts}:{type:"literal",value:t.verb},n=a=>{r.push({type:"literal",value:a})};return t.sov?(r.push({type:"role",role:"patient"}),n(t.at),n(t.end),n(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"}),n(t.at),n(t.end),n(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"}}}}]}function HE(){return["before","after"].map(e=>{let t=e==="before"?"\u524D\u306B":"\u5F8C\u306B",r=e==="before"?"\u524D":"\u5F8C";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:[r]},{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}}}}})}function UE(){return["before","after"].map(e=>{let t=e==="before"?"\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}}}}})}function GE(){let e=(t,r)=>({id:`put-tr-${t}`,language:"tr",command:"put",priority:105,template:{format:`{patient} ${r} {destination} i koy`,tokens:[{type:"role",role:"patient"},{type:"literal",value:r},{type:"role",role:"destination"},{type:"group",optional:!0,tokens:[{type:"literal",value:"i",alternatives:["\u0131","u","\xFC","yi","y\u0131","yu","y\xFC"]}]},{type:"literal",value:"koy",alternatives:["koymak"]}]},extraction:{patient:{position:0},destination:{position:2},manner:{default:{type:"literal",value:t}}}});return[e("before","\xF6nce"),e("after","sonra")]}function YE(e){let t=ap.find(r=>r.lang===e);return t?["before","after"].map(r=>{let i=t[r],n=[t.verbAlts?{type:"literal",value:t.verb,alternatives:t.verbAlts}:{type:"literal",value:t.verb}];return t.patientPrefix&&n.push(t.patientPrefixOptional?{type:"group",optional:!0,tokens:[{type:"literal",value:t.patientPrefix}]}:{type:"literal",value:t.patientPrefix}),n.push({type:"role",role:"patient"},{type:"literal",value:i},{type:"role",role:"destination"}),{id:`put-${t.lang}-${r}`,language:t.lang,command:"put",priority:105,template:{format:`${t.verb} {patient} ${i} {destination}`,tokens:n},extraction:{patient:{position:t.patientPrefix&&!t.patientPrefixOptional?2:1},destination:{marker:i},manner:{default:{type:"literal",value:r}}}}}):[]}function pu(e){let t=YE(e),r=KE(e);switch(e){case"bn":return[...TE(),...r];case"en":return LE();case"es":return[...PE(),...r];case"hi":return[..._E(),...r];case"id":return[...RE(),...t,...r];case"it":return[...jE(),...r];case"ja":return[...HE(),...r];case"ko":return[...UE(),...r];case"tr":return[...GE(),...r];case"pl":return[...OE(),...r];case"ru":return[...NE(),...r];case"qu":return[...qE(),...r];case"th":return[...IE(),...r];case"uk":return[...ME(),...r];case"vi":return[...WE(),...r];case"zh":return[...$E(),...t,...r];default:return[...t,...r]}}var _r,zn,ap,Cn,Oi=b({"src/patterns/put.ts"(){"use strict";xe(),_r=[...pi.roles.find(e=>e.role==="destination")?.expectedTypes??[]],zn=[...pi.roles.find(e=>e.role==="patient")?.expectedTypes??[]],ap=[{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\xE8s"},{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"}],Cn=[{lang:"es",verb:"poner",verbAlts:["pon","colocar","put"],at:"en",end:"fin",of:"de"},{lang:"fr",verb:"mettre",at:"\xE0",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\xFAc",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"}]}}),ZE=b({"src/tokenizers/char-classifiers.ts"(){"use strict"}}),XE=b({"src/tokenizers/base-tokenizer.ts"(){"use strict"}}),Q=b({"src/tokenizers/base.ts"(){"use strict";hn(),ZE(),XE()}});function QE(){return[new ie,new re,new ue,new oe,new si]}var up,ue,op,oe,ce=b({"src/tokenizers/generic-extractors.ts"(){"use strict";up=["===","!==","->","==","!=","<=",">=","&&","||","**","+=","-=","*=","/=","+","-","*","/","=",">","<","!","&","|","%","^","~"],ue=class{constructor(e=up){this.name="operator",this.operators=[...e].sort((t,r)=>r.length-t.length)}canExtract(e,t){return this.operators.some(r=>e.startsWith(r,t))}extract(e,t){for(let r of this.operators)if(e.startsWith(r,t))return{value:r,length:r.length};return null}},op="()[]{},:;",oe=class{constructor(e=op){this.punctuation=e,this.name="punctuation"}canExtract(e,t){return this.punctuation.includes(e[t])}extract(e,t){let r=e[t];return this.punctuation.includes(r)?{value:r,length:1}:null}}}});function mu(e,t){let r=t;for(;r<e.length&&e[r]===":";){let i=e.slice(r).match(/^::?[a-zA-Z][a-zA-Z0-9-]*/);if(!i)break;let n=r+i[0].length;if(e[n]==="("){let a=0,u=n;for(;u<e.length;){if(e[u]==="(")a++;else if(e[u]===")"&&(a--,a===0)){u++;break}u++}if(a!==0)break;n=u}r=n}return r}function sp(e,t){let r=e[t];if(r==="#"){let i=e.slice(t).match(/^#[a-zA-Z_][\w-]*/);if(!i)return null;let n=mu(e,t+i[0].length);return e.slice(t,n)}if(r==="."){let i=e.slice(t).match(/^\.\{[a-zA-Z_$][\w$]*\}/);if(i)return i[0];let n=e.slice(t).match(/^\.[a-zA-Z_][\w-]*/);if(!n)return null;let a=mu(e,t+n[0].length);return e.slice(t,a)}if(r==="@"){let i=e.slice(t).match(/^@[a-zA-Z_][\w-]*/);return i?i[0]:null}if(r==="*"){let i=e.slice(t).match(/^\*(?:--)?[a-zA-Z_][\w-]*/);return i?i[0]:null}if(r==="["){let i=0,n=t;for(;n<e.length;){if(e[n]==="["&&i++,e[n]==="]"&&(i--,i===0)){let a=mu(e,n+1);return e.slice(t,a)}n++}return null}if(r==="<"){let i=e.slice(t).match(/^<(?=[\w.#[])[\w-]*(?:[#.][\w-]+|\[[^\]]+\]|::?[a-zA-Z][a-zA-Z0-9-]*(?:\([^)]*\))?)*\s*\/>/);return i?i[0]:null}return null}var du,JE=b({"src/tokenizers/extractors/css-selector.ts"(){"use strict";du=class{constructor(){this.name="css-selector"}canExtract(e,t){let r=e[t];return r==="#"||r==="."||r==="["||r==="<"?!0:r==="@"||r==="*"?sp(e,t)!==null:!1}extract(e,t){let r=sp(e,t);return r?{value:r,length:r.length,metadata:{type:"css-selector"}}:null}}}}),yu,e9=b({"src/tokenizers/extractors/event-modifier.ts"(){"use strict";yu=class{constructor(){this.name="event-modifier"}canExtract(e,t){if(e[t]!==".")return!1;let r=e.slice(t);return/^\.(once|prevent|stop|debounce|throttle|queue)/.test(r)}extract(e,t){let r=e.slice(t).match(/^\.(?:once|prevent|stop|debounce|throttle|queue)(?:\(([^)]+)\))?/);if(!r)return null;let i=r[0],n=i.slice(1).split("(")[0],a=r[1];return{value:i,length:i.length,metadata:{modifierName:n,value:a?n==="queue"?a:parseInt(a,10):void 0}}}}}});function t9(e,t){let r=1;for(let i=t;i<e.length;i++){let n=e[i];if(n==="{")r++;else if(n==="}"&&--r===0)return i+1}return-1}function r9(e,t){let r=e.slice(t),i=lp.find(a=>r.startsWith(a));if(!i)return null;let n=i.length;for(;n<r.length;){let a=r[n];if(a==="$"&&r[n+1]==="{"){let u=t9(r,n+2);if(u!==-1){n=u;continue}}if(/\s/.test(a))break;n++}return r.slice(0,n)}var lp,fu,i9=b({"src/tokenizers/extractors/url.ts"(){"use strict";lp=["http://","https://","//","./","../","/"],fu=class{constructor(){this.name="url"}canExtract(e,t){let r=e.slice(t);return r.startsWith("http://")||r.startsWith("https://")||r.startsWith("//")||r.startsWith("./")||r.startsWith("../")||r.startsWith("/")}extract(e,t){let r=r9(e,t);return r?{value:r,length:r.length,metadata:{type:"url"}}:null}}}}),vu,n9=b({"src/tokenizers/extractors/variable-ref.ts"(){"use strict";vu=class{constructor(){this.name="variable-ref"}canExtract(e,t){let r=e[t];return(r===":"||r==="$"||r==="^")&&t+1<e.length&&/[a-zA-Z_]/.test(e[t+1])}extract(e,t){if(!this.canExtract(e,t))return null;let r=1;for(;t+r<e.length&&/[a-zA-Z0-9_]/.test(e[t+r]);)r++;return{value:e.substring(t,t+r),length:r,metadata:{type:"variable-reference"}}}}}});function a9(e){let t=e.charCodeAt(0);return t>=12352&&t<=12447}function u9(e){let t=e.charCodeAt(0);return t>=12448&&t<=12543}function o9(e){let t=e.charCodeAt(0);return t>=19968&&t<=40879||t>=13312&&t<=19903}function cp(e){return a9(e)||u9(e)||o9(e)}var pp,s9=b({"src/tokenizers/extractors/japanese-keyword.ts"(){"use strict";pp=class{constructor(){this.name="japanese-keyword"}setContext(e){this.context=e}canExtract(e,t){return cp(e[t])}extract(e,t){if(!this.context)throw new Error("JapaneseKeywordExtractor: context not set");let r=t;this.context.isKeywordStart(e,t);let i="",n=t;for(;n<e.length&&cp(e[n]);)i+=e[n],n++;let a=i,u=i.length;for(let c=i.length;c>0;c--){let p=i.substring(0,c);if(this.context.lookupKeyword(p)){a=p,u=c;break}}if(i=a,n=t+u,!i)return null;let o=this.context.lookupKeyword(i),s=o&&o.normalized!==o.native?o.normalized:void 0,l;if(!o&&this.context.normalizer){let c=this.context.normalizer.normalize(i);if(c.stem!==i&&c.confidence>=.7){let p=this.context.lookupKeyword(c.stem);p&&(l=p.normalized)}}return{value:i,length:n-r,metadata:{normalized:s||l}}}}}}),hu,gu,mp,l9=b({"src/tokenizers/extractors/japanese-particle.ts"(){"use strict";hu=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}]]),gu=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}]]),mp=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--){let i=e.slice(t,t+r);if(i.length===r&&this._context.isKeyword(i))return!0}return!1}canExtract(e,t){let r=e[t];if(hu.has(r)&&!this.longerKeywordStartsHere(e,t))return!0;for(let[i]of gu)if(e.startsWith(i,t))return!0;return!1}extract(e,t){for(let[n,a]of gu)if(e.startsWith(n,t))return{value:n,length:n.length,metadata:{role:a.role,confidence:a.confidence,variant:n}};let r=e[t];if(this.longerKeywordStartsHere(e,t))return null;let i=hu.get(r);return i?{value:r,length:1,metadata:{role:i.role,confidence:i.confidence,variant:r}}:null}}}});function c9(e){let t=e.charCodeAt(0);return t>=44032&&t<=55203}function p9(e){let t=e.charCodeAt(0);return t>=4352&&t<=4607||t>=12592&&t<=12687}function Eu(e){return c9(e)||p9(e)}var dp,yp,m9=b({"src/tokenizers/extractors/korean-keyword.ts"(){"use strict";dp=["\uD560\uB54C","\uD558\uBA74","\uD558\uB2C8\uAE4C","\uD560 \uB54C"],yp=class{constructor(){this.name="korean-keyword"}setContext(e){this.context=e}canExtract(e,t){return Eu(e[t])}extract(e,t){if(!this.context)throw new Error("KoreanKeywordExtractor: context not set");let r=t,i=6;for(let p=Math.min(i,e.length-r);p>=2;p--){let m=e.slice(r,r+p),d=!0;for(let f=0;f<m.length;f++)if(!Eu(m[f])){d=!1;break}if(!d)continue;let y=this.context.lookupKeyword(m);if(y)return{value:m,length:p,metadata:{normalized:y.normalized!==y.native?y.normalized:void 0}};if(this.context.normalizer){let f=this.context.normalizer.normalize(m);if(f.stem!==m&&f.confidence>=.7){let v=this.context.lookupKeyword(f.stem);if(v)return{value:m,length:p,metadata:{normalized:v.normalized,stem:f.stem,stemConfidence:f.confidence}}}}}let n="",a=t;for(;a<e.length&&Eu(e[a])&&!(n.length>0&&this.context.isKeywordStart(e,a));)n+=e[a],a++;if(!n)return null;for(let p of dp)if(n.endsWith(p)&&n.length>p.length){let m=n.slice(0,-p.length),d=this.context.lookupKeyword(m);if(d)return{value:m,length:m.length,metadata:{normalized:d.normalized,hasSuffix:!0,suffix:p,stem:m}}}let u=this.context.lookupKeyword(n),o=u&&u.normalized!==u.native?u.normalized:void 0;n.includes("\uD1A0\uAE00")&&(console.log(`[KO DEBUG] word="${n}"`),console.log(`[KO DEBUG] keywordEntry=${u?"FOUND":"NOT FOUND"}`),console.log(`[KO DEBUG] normalizer=${this.context.normalizer?"EXISTS":"MISSING"}`));let s,l,c;if(!u&&this.context.normalizer){let p=this.context.normalizer.normalize(n);if(p.stem!==n&&p.confidence>=.7){let m=this.context.lookupKeyword(p.stem);m&&(s=m.normalized,l=p.stem,c=p.confidence,n.includes("\uD1A0\uAE00")&&console.log(`[KO DEBUG] word="${n}", stem="${p.stem}", normalized="${s}"`))}}return{value:n,length:a-r,metadata:{normalized:o||s,stem:l,stemConfidence:c}}}}}});function fp(e){if(!e)return!1;let t=e.codePointAt(0);return t>=44032&&t<=55203}var ku,zu,vp,d9=b({"src/tokenizers/extractors/korean-particle.ts"(){"use strict";ku=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"}]]),zu=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"}]]),vp=class{constructor(){this.name="korean-particle"}setContext(e){this._context=e,this._context}canExtract(e,t){let r=e[t];if(ku.has(r)&&!fp(e[t+1]))return!0;for(let[i]of zu)if(e.startsWith(i,t))return!0;return!1}extract(e,t){for(let[n,a]of zu)if(e.startsWith(n,t))return{value:n,length:n.length,metadata:{particleRole:a.role,particleConfidence:a.confidence,particleVariant:a.variant}};let r=e[t],i=ku.get(r);return i&&!fp(e[t+1])?{value:r,length:1,metadata:{particleRole:i.role,particleConfidence:i.confidence,particleVariant:i.variant}}:null}}}});function Cu(e){let t=e.charCodeAt(0);return t>=19968&&t<=40959||t>=13312&&t<=19903||t>=63744&&t<=64255||t>=131072&&t<=173791||t>=173824&&t<=177983||t>=177984&&t<=178207||t>=178208&&t<=183983||t>=183984&&t<=191471||t>=194560&&t<=195103}var hp,y9=b({"src/tokenizers/extractors/chinese-keyword.ts"(){"use strict";hp=class{constructor(){this.name="chinese-keyword"}setContext(e){this.context=e}canExtract(e,t){return Cu(e[t])}extract(e,t){if(!this.context)throw new Error("ChineseKeywordExtractor: context not set");let r=t,i=null;if(this.context.isKeywordStart(e,t))for(let u=10;u>=1;u--){let o=e.slice(t,t+u);if([...o].every(s=>Cu(s))){let s=this.context.lookupKeyword(o);if(s){i={word:o,entry:s};break}}}if(i)return{value:i.word,length:i.word.length,metadata:{normalized:i.entry.normalized}};let n="",a=t;for(;a<e.length&&Cu(e[a])&&(n+=e[a],a++,!(a<e.length&&this.context.isKeywordStart(e,a))););return n?{value:n,length:a-r,metadata:{}}:null}}}}),wu,Au,gp,f9=b({"src/tokenizers/extractors/chinese-particle.ts"(){"use strict";wu=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"}]]),Au=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"}]]),gp=class{constructor(){this.name="chinese-particle"}setContext(e){this._context=e}longerKeywordAt(e,t,r){let i=this._context;if(!i)return!1;let n=Math.min(10,e.length-t);for(let a=n;a>r;a--)if(i.lookupKeyword(e.slice(t,t+a)))return!0;return!1}canExtract(e,t){let r=e[t];if(wu.has(r)&&!this.longerKeywordAt(e,t,1))return!0;for(let[i]of Au)if(e.startsWith(i,t)&&!this.longerKeywordAt(e,t,i.length))return!0;return!1}extract(e,t){for(let[n,a]of Au)if(e.startsWith(n,t)&&!this.longerKeywordAt(e,t,n.length))return{value:n,length:n.length,metadata:{particleRole:a.role,particleConfidence:a.confidence,particleDescription:a.description}};let r=e[t],i=wu.get(r);return i&&!this.longerKeywordAt(e,t,1)?{value:r,length:1,metadata:{particleRole:i.role,particleConfidence:i.confidence,particleDescription:i.description}}:null}}}});function v9(e){return{isLetter:i=>e.test(i),isIdentifierChar:i=>/[0-9]/.test(i)||e.test(i)}}function h9(){return[new Cp]}var Ep,kp,zp,Cp,g9=b({"src/tokenizers/extractors/vietnamese-keyword.ts"(){"use strict";({isLetter:Ep,isIdentifierChar:kp}=v9(/[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]/)),zp=new Set(["trong","ngo\xE0i","tr\xEAn","d\u01B0\u1EDBi","v\xE0o","ra","\u0111\u1EBFn","t\u1EEB","v\u1EDBi","cho","b\u1EDFi","qua","tr\u01B0\u1EDBc","sau","gi\u1EEFa","b\xEAn","theo","v\u1EC1","t\u1EDBi","l\xEAn","xu\u1ED1ng"]),Cp=class{constructor(){this.name="vietnamese-keyword"}setContext(e){this.context=e}canExtract(e,t){return Ep(e[t])}extract(e,t){if(!this.context)throw new Error("VietnameseKeywordExtractor: context not set");let r=this.tryMultiWordPhrase(e,t);if(r)return r;let i=t,n="";for(;i<e.length&&kp(e[i]);)n+=e[i++];if(!n)return null;let a=n.toLowerCase(),u=zp.has(a),o=this.context.lookupKeyword(a),s=o&&o.normalized!==o.native?o.normalized:void 0;return{value:n,length:i-t,metadata:{normalized:s,isPreposition:u}}}tryMultiWordPhrase(e,t){if(!this.context)return null;let r=["v\xE0o trong","s\u1EF1 ki\u1EC7n"];for(let i of r)if(e.slice(t,t+i.length).toLowerCase()===i.toLowerCase()){let a=t+i.length;if(a>=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[a])){let u=this.context.lookupKeyword(i);return{value:e.slice(t,a),length:i.length,metadata:{normalized:u?.normalized,isPreposition:!1}}}}return null}}}}),xu,wp,Ap,E9=b({"src/tokenizers/extractors/arabic-keyword.ts"(){"use strict";Q(),xu=qt([[1536,1791],[1872,1919],[2208,2303],[64336,65023],[65136,65279]]),wp=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"]),Ap=class{constructor(){this.name="arabic-keyword"}setContext(e){this.context=e}canExtract(e,t){return xu(e[t])}extract(e,t){if(!this.context)throw new Error("ArabicKeywordExtractor: context not set");let r=t;this.context.isKeywordStart(e,t);let i="",n=t;for(;n<e.length&&(xu(e[n])||e[n]==="\u0640");)i+=e[n],n++;if(!i)return null;let a=this.context.lookupKeyword(i),u=a&&a.normalized!==a.native?a.normalized:void 0;if(wp.has(i))return{value:i,length:n-r,metadata:{prepositionValue:i,normalized:u}};let o,s,l;if(!a&&this.context.normalizer){let c=this.context.normalizer.normalize(i);if(c.stem!==i&&c.confidence>=.7){let p=this.context.lookupKeyword(c.stem);p&&(o=p.normalized,s=c.stem,l=c.confidence)}}return{value:i,length:n-r,metadata:{normalized:u||o,stem:s,stemConfidence:l}}}}}}),Rr,jr,xp,bp,k9=b({"src/tokenizers/extractors/arabic-proclitic.ts"(){"use strict";Q(),Rr=qt([[1536,1791],[1872,1919],[2208,2303],[64336,65023],[65136,65279]]),jr=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"}]]),xp=new Set(["\u0648\u062B\u064A\u0642\u0629"]),bp=class{constructor(){this.name="arabic-proclitic"}setContext(e){this.context=e}canExtract(e,t){let r=e[t];return jr.has(r)||t+1<e.length&&jr.has(e.slice(t,t+2))}extract(e,t){if(!this.context)throw new Error("ArabicProcliticExtractor: context not set");let r=t;for(;r<e.length&&(Rr(e[r])||e[r]==="\u0640");)r++;let i=e.slice(t,r);if(this.context.isKeyword(i)||xp.has(i))return null;if(t+2<=e.length){let l=e.slice(t,t+2),c=jr.get(l);if(c){let p=t+2;if(p<e.length&&Rr(e[p])){let m=0,d=p;for(;d<e.length&&Rr(e[d]);)m++,d++;if(m>=2)if(jr.get(e[t])){let f=e.slice(t+1,r);if(!this.context.isKeyword(f))return{value:l,length:2,metadata:{procliticType:c.type,normalized:c.normalized}}}else return{value:l,length:2,metadata:{procliticType:c.type,normalized:c.normalized}}}}}let n=e[t],a=jr.get(n);if(!a)return null;let u=t+1;if(u>=e.length||!Rr(e[u]))return null;let o=0,s=u;for(;s<e.length&&Rr(e[s]);)o++,s++;if(o<2){let l=o>=1&&e.slice(u,s).split("").every(p=>p==="\u0640"),c=e[s];return a.type==="preposition"&&l&&(c==="#"||c===".")?{value:e.slice(t,s),length:s-t,metadata:{procliticType:a.type,normalized:a.normalized}}:null}return{value:n,length:1,metadata:{procliticType:a.type,normalized:a.normalized}}}}}}),Dp,bu,Bp,z9=b({"src/tokenizers/extractors/arabic-temporal.ts"(){"use strict";Q(),Dp=qt([[1536,1791],[1872,1919],[2208,2303],[64336,65023],[65136,65279]]),bu=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)"}]]),Bp=class{constructor(){this.name="arabic-temporal"}setContext(e){this._context=e,this._context}canExtract(e,t){for(let[r]of bu)if(e.startsWith(r,t))return!0;return!1}extract(e,t){let r=Array.from(bu.entries()).sort(([i],[n])=>n.length-i.length);for(let[i,n]of r)if(e.startsWith(i,t)){let a=t+i.length;if(a>=e.length||/\s/.test(e[a])||!Dp(e[a]))return{value:i,length:i.length,metadata:{temporalFormality:n.formality,temporalConfidence:n.confidence,normalized:n.normalized,description:n.description}}}return null}}}});function C9(e){return{isLetter:i=>e.test(i),isIdentifierChar:i=>/[0-9_]/.test(i)||e.test(i)}}function w9(){return[new Du("russian-keyword",/[a-zA-Z\u0430-\u044f\u0410-\u042f\u0451\u0401]/,Sp)]}function A9(){return[new Du("ukrainian-keyword",/[a-zA-Z\u0430-\u044f\u0410-\u042f\u0456\u0406\u0457\u0407\u0454\u0404\u0491\u0490\u044c\u042c']/,Fp)]}var Du,Sp,Fp,Tp=b({"src/tokenizers/extractors/cyrillic-keyword.ts"(){"use strict";Du=class{constructor(e,t,r){this.name=e;let i=C9(t);this.isLetter=i.isLetter,this.isIdentifierChar=i.isIdentifierChar,this.prepositions=r}setContext(e){this.context=e}canExtract(e,t){let r=e[t];return r==="'"?!1:this.isLetter(r)}extract(e,t){if(!this.context)throw new Error(`${this.name}: context not set`);let r=t,i="";for(;r<e.length&&this.isIdentifierChar(e[r]);)i+=e[r++];if(!i)return null;let n=i.toLowerCase(),a=this.prepositions.has(n),u=this.context.lookupKeyword(n),o=u&&u.normalized!==u.native?u.normalized:void 0,s;if(!u&&this.context.normalizer){let l=this.context.normalizer.normalize(i);if(l.stem!==i&&l.confidence>=.7){let c=this.context.lookupKeyword(l.stem);c&&(s=c.normalized)}}return{value:i,length:r-t,metadata:{normalized:o||s,isPreposition:a}}}},Sp=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"]),Fp=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 Or(e){let t=e.charCodeAt(0);return t>=2304&&t<=2431||t>=43232&&t<=43263}var Lp,x9=b({"src/tokenizers/extractors/hindi-keyword.ts"(){"use strict";Lp=class{constructor(){this.name="hindi-keyword"}setContext(e){this.context=e}canExtract(e,t){return Or(e[t])}extract(e,t){if(!this.context)throw new Error("HindiKeywordExtractor: context not set");let r=t,i="",n=t;for(;n<e.length&&Or(e[n]);)i+=e[n],n++;if(this.context&&e[n]==="-"&&n+1<e.length&&Or(e[n+1])){let s=n,l=i;for(;s<e.length&&(e[s]==="-"||Or(e[s]));)l+=e[s++];this.context.lookupKeyword(l)&&(i=l,n=s)}if(this.context&&e[n]==="_"&&n+1<e.length&&Or(e[n+1])){let s=n,l=i;for(;s<e.length&&(e[s]==="_"||Or(e[s]));)l+=e[s++];this.context.lookupKeyword(l)&&(i=l,n=s)}if(!i)return null;let a=this.context.lookupKeyword(i),u=a&&a.normalized!==a.native?a.normalized:void 0,o;if(!a&&this.context.normalizer){let s=this.context.normalizer.normalize(i);if(s.stem!==i&&s.confidence>=.7){let l=this.context.lookupKeyword(s.stem);l&&(o=l.normalized)}}return{value:i,length:n-r,metadata:{normalized:u||o}}}}}}),Bu,Su,Pp,b9=b({"src/tokenizers/extractors/hindi-particle.ts"(){"use strict";Bu=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}]]),Su=new Map([["\u0915\u0947 \u0938\u093E\u0925",{role:"instrument",confidence:.95}],["\u0915\u0947 \u092C\u093E\u0930\u0947 \u092E\u0947\u0902",{role:"about",confidence:.9}]]),Pp=class{constructor(){this.name="hindi-particle"}setContext(e){this._context=e}canExtract(e,t){if(this.underscoreJoinedKeyword(e,t))return!1;for(let[n]of Su)if(e.startsWith(n,t))return!0;let r="",i=t;for(;i<e.length&&this.isDevanagari(e[i]);)r+=e[i],i++;return Bu.has(r)}underscoreJoinedKeyword(e,t){if(!this._context)return!1;let r=t;for(;r<e.length&&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(;r<e.length&&(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(let[a,u]of Su)if(e.startsWith(a,t))return{value:a,length:a.length,metadata:{role:u.role,confidence:u.confidence,variant:a}};let r="",i=t;for(;i<e.length&&this.isDevanagari(e[i]);)r+=e[i],i++;let n=Bu.get(r);return n?{value:r,length:r.length,metadata:{role:n.role,confidence:n.confidence,variant:r}}:null}isDevanagari(e){let t=e.charCodeAt(0);return t>=2304&&t<=2431||t>=43232&&t<=43263}}}});function _p(e){let t=e.charCodeAt(0);return t>=2432&&t<=2559}var Rp,D9=b({"src/tokenizers/extractors/bengali-keyword.ts"(){"use strict";Rp=class{constructor(){this.name="bengali-keyword"}setContext(e){this.context=e}canExtract(e,t){return _p(e[t])}extract(e,t){if(!this.context)throw new Error("BengaliKeywordExtractor: context not set");let r=t,i="",n=t;for(;n<e.length&&_p(e[n]);)i+=e[n],n++;if(!i)return null;let a=this.context.lookupKeyword(i),u=a&&a.normalized!==a.native?a.normalized:void 0,o;if(!a&&this.context.normalizer){let s=this.context.normalizer.normalize(i);if(s.stem!==i&&s.confidence>=.7){let l=this.context.lookupKeyword(s.stem);l&&(o=l.normalized)}}return{value:i,length:n-r,metadata:{normalized:u||o}}}}}}),Fu,jp,B9=b({"src/tokenizers/extractors/bengali-particle.ts"(){"use strict";Fu=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}]]),jp=class{constructor(){this.name="bengali-particle"}setContext(e){this._context=e,this._context}canExtract(e,t){let r="",i=t;for(;i<e.length&&this.isBengali(e[i]);)r+=e[i],i++;return Fu.has(r)}extract(e,t){let r="",i=t;for(;i<e.length&&this.isBengali(e[i]);)r+=e[i],i++;let n=Fu.get(r);return n?{value:r,length:r.length,metadata:{role:n.role,confidence:n.confidence,variant:r}}:null}isBengali(e){let t=e.charCodeAt(0);return t>=2432&&t<=2559}}}});function Ni(e){let t=e.charCodeAt(0);return t>=3584&&t<=3711}function Tu(e){return/[a-zA-Z0-9_]/.test(e)}function S9(){return[new Op]}var Op,F9=b({"src/tokenizers/extractors/thai-keyword.ts"(){"use strict";Op=class{constructor(){this.name="thai-keyword"}setContext(e){this.context=e}canExtract(e,t){return Ni(e[t])||Tu(e[t])}extract(e,t){if(!this.context)throw new Error("ThaiKeywordExtractor: context not set");let r=e[t];return Ni(r)?this.extractThaiWord(e,t):Tu(r)?this.extractAsciiWord(e,t):null}extractThaiWord(e,t){if(!this.context)return null;let r=null,i=t,n="";for(;i<e.length&&Ni(e[i]);){n+=e[i],i++;let o=this.context.lookupKeyword(n);o&&(r={word:n,entry:o})}if(r){let o=r.entry.normalized!==r.entry.native?r.entry.normalized:void 0;return{value:r.word,length:r.word.length,metadata:{normalized:o}}}let a=t,u="";for(;a<e.length&&Ni(e[a])&&!(u.length>0&&this.isKeywordStart(e,a));)u+=e[a],a++;return u?{value:u,length:u.length,metadata:{}}:null}extractAsciiWord(e,t){if(!this.context)return null;let r=t,i="";for(;r<e.length&&Tu(e[r]);)i+=e[r++];if(!i)return null;let n=i.toLowerCase(),a=this.context.lookupKeyword(n),u=a&&a.normalized!==a.native?a.normalized:void 0;return{value:i,length:i.length,metadata:{normalized:u}}}isKeywordStart(e,t){if(!this.context)return!1;let r=t,i="";for(;r<e.length&&Ni(e[r]);){if(i+=e[r],r++,this.context.lookupKeyword(i))return!0;if(i.length>10)break}return!1}}}});function T9(e){return/[a-zA-Z_]/.test(e)}function L9(e){return/[a-zA-Z0-9_]/.test(e)}function P9(){return[new Np]}var Np,_9=b({"src/tokenizers/extractors/malay-keyword.ts"(){"use strict";Np=class{constructor(){this.name="malay-keyword"}setContext(e){this.context=e}canExtract(e,t){return T9(e[t])}extract(e,t){if(!this.context)throw new Error("MalayKeywordExtractor: context not set");let r=t,i="";for(;r<e.length&&L9(e[r]);)i+=e[r++];if(!i)return null;let n=i.toLowerCase(),a=this.context.lookupKeyword(n),u=a&&a.normalized!==a.native?a.normalized:void 0;return{value:i,length:i.length,metadata:{normalized:u}}}}}});function R9(e){return/[a-zA-Z_]/.test(e)}function j9(e){return/[a-zA-Z0-9_]/.test(e)}function O9(){return[new Mp]}var Ip,Mp,N9=b({"src/tokenizers/extractors/tagalog-keyword.ts"(){"use strict";Ip=new Set(["sa","ng","para","mula","hanggang","gaya","tulad","kasama","para sa"]),Mp=class{constructor(){this.name="tagalog-keyword"}setContext(e){this.context=e}canExtract(e,t){return R9(e[t])}extract(e,t){if(!this.context)throw new Error("TagalogKeywordExtractor: context not set");let r=t,i="";for(;r<e.length&&j9(e[r]);)i+=e[r++];if(!i)return null;let n=i.toLowerCase(),a=Ip.has(n),u=this.context.lookupKeyword(n),o=u&&u.normalized!==u.native?u.normalized:void 0,s;if(!u&&this.context.normalizer){let l=this.context.normalizer.normalize(i);if(l.stem!==i&&l.confidence>=.7){let c=this.context.lookupKeyword(l.stem);c&&(s=c.normalized)}}return{value:i,length:i.length,metadata:{normalized:o||s,isPreposition:a}}}}}});function I9(){let e=/[a-zA-Z\u0105\u0119\u0107\u0144\u00f3\u015b\u017a\u017c\u0142\u0104\u0118\u0106\u0143\u00d3\u015a\u0179\u017b\u0141]/;return{isLetter:i=>e.test(i),isIdentifierChar:i=>/[0-9]/.test(i)||e.test(i)}}function M9(){return[new Vp]}var Wp,qp,$p,Vp,W9=b({"src/tokenizers/extractors/polish-keyword.ts"(){"use strict";Wp=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\xF3d","wsrod","obok","poza","wok\xF3\u0142","wokol","przeciw","ku"]),{isLetter:qp,isIdentifierChar:$p}=I9(),Vp=class{constructor(){this.name="polish-keyword"}setContext(e){this.context=e}canExtract(e,t){return qp(e[t])}extract(e,t){if(!this.context)throw new Error("PolishKeywordExtractor: context not set");let r=t,i="";for(;r<e.length&&$p(e[r]);)i+=e[r++];if(!i)return null;let n=i.toLowerCase(),a=Wp.has(n),u=this.context.lookupKeyword(n),o=u&&u.normalized!==u.native?u.normalized:void 0,s;if(!u&&this.context.normalizer){let l=this.context.normalizer.normalize(i);if(l.stem!==i&&l.confidence>=.7){let c=this.context.lookupKeyword(l.stem);c&&(s=c.normalized)}}return{value:i,length:r-t,metadata:{normalized:o||s,isPreposition:a}}}}}});function q9(){let e=/[a-zA-Z]/;return{isLetter:i=>e.test(i),isIdentifierChar:i=>/[0-9]/.test(i)||e.test(i)}}function $9(){return[new Up]}var Kp,Hp,Lu,Up,V9=b({"src/tokenizers/extractors/indonesian-keyword.ts"(){"use strict";Kp=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:Hp,isIdentifierChar:Lu}=q9(),Up=class{constructor(){this.name="indonesian-keyword"}setContext(e){this.context=e}canExtract(e,t){return Hp(e[t])}extract(e,t){if(!this.context)throw new Error("IndonesianKeywordExtractor: context not set");let r=t,i="";for(;r<e.length&&Lu(e[r]);)i+=e[r++];if(this.context&&r<e.length&&e[r]==="_"){let l=r,c=i;for(;l<e.length&&(e[l]==="_"||Lu(e[l]));)c+=e[l++];this.context.lookupKeyword(c.toLowerCase())&&(i=c,r=l)}if(!i)return null;let n=i.toLowerCase(),a=Kp.has(n),u=this.context.lookupKeyword(n),o=u&&u.normalized!==u.native?u.normalized:void 0,s;if(!u&&this.context.normalizer){let l=this.context.normalizer.normalize(i);if(l.stem!==i&&l.confidence>=.7){let c=this.context.lookupKeyword(l.stem);c&&(s=c.normalized)}}return{value:i,length:r-t,metadata:{normalized:o||s,isPreposition:a}}}}}});function K9(){let e=/[a-zA-Z]/;return{isLetter:i=>e.test(i),isIdentifierChar:i=>/[0-9]/.test(i)||e.test(i)}}function H9(){return[new Zp]}var Gp,Yp,Pu,Zp,U9=b({"src/tokenizers/extractors/swahili-keyword.ts"(){"use strict";Gp=new Set(["kwa","na","katika","kwenye","kutoka","hadi","mpaka","kabla","baada","wakati","bila","kuhusu","karibu","mbele","nyuma","ndani","nje","juu","chini","kati"]),{isLetter:Yp,isIdentifierChar:Pu}=K9(),Zp=class{constructor(){this.name="swahili-keyword"}setContext(e){this.context=e}canExtract(e,t){return Yp(e[t])}extract(e,t){if(!this.context)throw new Error("SwahiliKeywordExtractor: context not set");let r=t,i="";for(;r<e.length&&Pu(e[r]);)i+=e[r++];if(this.context&&r<e.length&&e[r]==="_"){let l=r,c=i;for(;l<e.length&&(e[l]==="_"||Pu(e[l]));)c+=e[l++];this.context.lookupKeyword(c.toLowerCase())&&(i=c,r=l)}if(!i)return null;let n=i.toLowerCase(),a=Gp.has(n),u=this.context.lookupKeyword(n),o=u&&u.normalized!==u.native?u.normalized:void 0,s;if(!u&&this.context.normalizer){let l=this.context.normalizer.normalize(i);if(l.stem!==i&&l.confidence>=.7){let c=this.context.lookupKeyword(l.stem);c&&(s=c.normalized)}}return{value:i,length:r-t,metadata:{normalized:o||s,isPreposition:a}}}}}});function wn(e){let t=e.charCodeAt(0);return t>=65&&t<=90||t>=97&&t<=122?!0:"\xE7\xC7\u011F\u011E\u0131\u0130\xF6\xD6\u015F\u015E\xFC\xDC".includes(e)}function G9(){return new Jp}var Xp,Qp,Jp,Y9=b({"src/tokenizers/extractors/turkish-keyword.ts"(){"use strict";Xp=new Set(["ile","i\xE7in","kadar","gibi","\xF6nce","\xFCzerinde","alt\u0131nda","i\xE7inde","d\u0131\u015F\u0131nda","aras\u0131nda","kar\u015F\u0131","g\xF6re","ra\u011Fmen","do\u011Fru","boyunca"]),Qp=new Set(["de","da","te","ta","den","dan","ten","tan","e","a","ye","ya","i","\u0131","u","\xFC","in","\u0131n","un","\xFCn","le","la","yle","yla"]),Jp=class{constructor(){this.name="turkish-keyword"}setContext(e){this.context=e}canExtract(e,t){return wn(e[t])}extract(e,t){if(!this.context)throw new Error("TurkishKeywordExtractor: context not set");let r=t,i=12;for(let p=Math.min(i,e.length-r);p>=2;p--){let m=e.slice(r,r+p);if(r+p<e.length&&wn(e[r+p]))continue;let d=!0;for(let f=0;f<m.length;f++)if(!wn(m[f])){d=!1;break}if(!d)continue;let y=this.context.lookupKeyword(m);if(y)return{value:m,length:p,metadata:{normalized:y.normalized!==y.native?y.normalized:void 0}};if(this.context.normalizer){let f=this.context.normalizer.normalize(m);if(f.stem!==m&&f.confidence>=.7){let v=this.context.lookupKeyword(f.stem);if(v)return{value:m,length:p,metadata:{normalized:v.normalized,stem:f.stem,stemConfidence:f.confidence}}}}}let n="",a=t;for(;a<e.length&&wn(e[a]);)n+=e[a],a++;for(let p=n.length;p>=2&&!(p<n.length);p--){let m=n.substring(0,p),d=this.context.lookupKeyword(m);if(d)return{value:m,length:p,metadata:{normalized:d.normalized!==d.native?d.normalized:void 0}}}if(!n||!n)return null;if(Xp.has(n.toLowerCase()))return{value:n,length:a-r,metadata:{postpositionValue:n.toLowerCase()}};if(Qp.has(n.toLowerCase()))return{value:n,length:a-r,metadata:{caseSuffixValue:n.toLowerCase()}};let u=this.context.lookupKeyword(n),o=u&&u.normalized!==u.native?u.normalized:void 0,s,l,c;if(!u&&this.context.normalizer){let p=this.context.normalizer.normalize(n);if(p.stem!==n&&p.confidence>=.7){let m=this.context.lookupKeyword(p.stem);m&&(s=m.normalized,l=p.stem,c=p.confidence)}}return{value:n,length:a-r,metadata:{normalized:o||s,stem:l,stemConfidence:c}}}}}});function Nr(e){let t=e.charCodeAt(0);return t>=65&&t<=90||t>=97&&t<=122?!0:e==="\xF1"||e==="\xD1"||e==="'"||e==="\u2019"}function Z9(e,t){let r=e.slice(t);for(let i of Ru){if(!r.startsWith(i))continue;let n=t+i.length,a=e[n];if(!(a!==void 0&&Nr(a))&&!X9(e,n))return!0}return!1}function X9(e,t){let r=t;for(;r<e.length&&/\s/.test(e[r]);)r++;e[r]==="-"&&r++;let i=r;for(;i<e.length&&Nr(e[i]);)i++;return Ru.has(e.slice(r,i).toLowerCase())}function Q9(){return new em}var An,_u,Ru,em,J9=b({"src/tokenizers/extractors/quechua-keyword.ts"(){"use strict";An=new Set(["-ta","-man","-manta","-pi","-wan","-paq","-kama","-rayku","-hina","ta","man","manta","pi","wan","paq","kama","hina","pa"]),_u=new Set(["kama","hina","rayku","paq"]),Ru=new Set([...An,..._u].map(e=>e.startsWith("-")?e.slice(1):e)),em=class{constructor(){this.name="quechua-keyword"}setContext(e){this.context=e}canExtract(e,t){return Nr(e[t])?!0:this.isHyphenatedSuffix(e,t)!==null}isHyphenatedSuffix(e,t){if(e[t]!=="-")return null;let r=e.slice(t).match(/^-([a-z\u00f1'\u2019]+)/i);return r&&An.has(`-${r[1].toLowerCase()}`)?r[1]:null}extract(e,t){if(!this.context)throw new Error("QuechuaKeywordExtractor: context not set");let r=t,i=this.isHyphenatedSuffix(e,t);if(i!==null)return{value:i,length:i.length+1,metadata:{suffixValue:i.toLowerCase()}};let n=13;for(let c=Math.min(n,e.length-r);c>=2;c--){let p=e.slice(r,r+c),m=e[r+c],d=m==="'"&&/^s(?!\p{L})/iu.test(e.slice(r+c+1));if(m!==void 0&&Nr(m)&&!d)continue;let y=!0;for(let v=0;v<p.length;v++){let h=p[v];if(!(h==="_"&&v>0&&v<p.length-1)&&!Nr(h)){y=!1;break}}if(!y)continue;let f=this.context.lookupKeyword(p);if(f&&d)return{value:`${p}'s`,length:c+2};if(!d){if(f)return{value:p,length:c,metadata:{normalized:f.normalized!==f.native?f.normalized:void 0}};if(this.context.normalizer){let v=this.context.normalizer.normalize(p);if(v.stem!==p&&v.confidence>=.7){let h=this.context.lookupKeyword(v.stem);if(h)return{value:p,length:c,metadata:{normalized:h.normalized}}}}}}let a="",u=t;for(;u<e.length&&Nr(e[u])&&!(a.length>0&&!/^\p{Lu}/u.test(a)&&Z9(e,u));)a+=e[u],u++;if(!a)return null;if(An.has(a.toLowerCase()))return{value:a,length:u-r,metadata:{suffixValue:a.toLowerCase()}};if(_u.has(a.toLowerCase()))return{value:a,length:u-r,metadata:{postpositionValue:a.toLowerCase()}};let o=this.context.lookupKeyword(a),s=o&&o.normalized!==o.native?o.normalized:void 0,l;if(!o&&this.context.normalizer){let c=this.context.normalizer.normalize(a);if(c.stem!==a&&c.confidence>=.7){let p=this.context.lookupKeyword(c.stem);p&&(l=p.normalized)}}return{value:a,length:u-r,metadata:{normalized:s||l}}}}}});function e1(){return[new im]}var ju,tm,rm,im,t1=b({"src/tokenizers/extractors/hebrew-keyword.ts"(){"use strict";Q(),ju=qt([[1424,1535],[64285,64335]]),tm=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"]),rm=new Set(["\u05D5"]),im=class{constructor(){this.name="hebrew-keyword"}setContext(e){this.context=e}canExtract(e,t){return ju(e[t])}extract(e,t){if(!this.context)throw new Error("HebrewKeywordExtractor: context not set");let r=t;this.context.isKeywordStart(e,t);let i="",n=t;for(;n<e.length&&ju(e[n]);)i+=e[n],n++;if(!i)return null;let a=this.context.lookupKeyword(i),u=a&&a.normalized!==a.native?a.normalized:void 0;if(tm.has(i))return{value:i,length:n-r,metadata:{prepositionValue:i,normalized:u}};if(rm.has(i))return{value:i,length:n-r,metadata:{conjunctionValue:i,normalized:u}};let o;if(!a&&this.context.normalizer){let s=this.context.normalizer.normalize(i);if(s.stem!==i&&s.confidence>=.7){let l=this.context.lookupKeyword(s.stem);l&&(o=l.normalized)}}return{value:i,length:n-r,metadata:{normalized:u||o}}}}}});function r1(){return new am}var Ou,Ii,nm,Nu,am,i1=b({"src/tokenizers/extractors/hebrew-proclitic.ts"(){"use strict";Q(),Ou=qt([[1424,1535],[64285,64335]]),Ii=new Map([["\u05D1","on"],["\u05DC","to"],["\u05DE","from"],["\u05DB","as"],["\u05D4","the"],["\u05D5","and"],["\u05E9","that"]]),nm=new Set(["\u05D1","\u05DB"]),Nu=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"]),am=class{constructor(){this.name="hebrew-proclitic"}setContext(e){this.context=e}canExtract(e,t){let r=e[t];return Ii.has(r)&&t+1<e.length&&Ou(e[t+1])}extract(e,t){if(!this.context)throw new Error("HebrewProcliticExtractor: context not set");let r=e[t],i=Ii.get(r);if(!i)return null;let n=t;for(;n<e.length&&Ou(e[n]);)n++;let a=e.slice(t,n);if(this.context?.lookupKeyword(a))return null;if(t+1<e.length&&Ii.has(e[t+1])){let m=e.slice(t+1,n),d=this.context?.lookupKeyword(m),y=Nu.has(m);if(!(d||y||m.length>=3))return null}let o=e.slice(t+1,n),s=this.context?.lookupKeyword(o),l=nm.has(r),c=Nu.has(o);return l&&c?{value:r,length:1,metadata:{normalized:i,procliticType:i,isEventMarker:!0}}:o.length===1&&Ii.has(o)||!s&&!c&&o.length<2?null:{value:r,length:1,metadata:{normalized:i,procliticType:i,isEventMarker:l&&s}}}}}});function n1(e){let t=e.charCodeAt(0);return t>=65&&t<=90||t>=97&&t<=122||t===95||t===36}function a1(e){let t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||t===95||t===36}var pt,Ct=b({"src/tokenizers/extractors/ascii-identifier.ts"(){"use strict";pt=class{constructor(){this.name="ascii-identifier"}setContext(e){this.context=e}canExtract(e,t){return n1(e[t])}extract(e,t){if(!this.context)throw new Error("AsciiIdentifierExtractor: context not set");let r=t,i="",n=t;for(;n<e.length&&a1(e[n]);)i+=e[n],n++;if(!i)return null;let a=this.context.lookupKeyword(i),u=a&&a.normalized!==a.native?a.normalized:void 0;return{value:i,length:n-r,metadata:{normalized:u}}}}}}),um=b({"src/tokenizers/extractors/index.ts"(){"use strict";JE(),e9(),i9(),n9()}});function pe(){return[new fu,new yu,new vu,new du]}var me=b({"src/tokenizers/extractor-helpers.ts"(){"use strict";um()}});function Iu(e){return/[a-zA-Z0-9_]/.test(e)}function u1(){return[new om]}var om,o1=b({"src/tokenizers/extractors/english-keyword.ts"(){"use strict";om=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 new Error("EnglishKeywordExtractor: context not set");let r=t,i="";for(;r<e.length&&Iu(e[r]);)i+=e[r++];if(!i)return null;if(r<e.length&&e[r]===":"){let o=r;r++;let s="";for(;r<e.length&&Iu(e[r]);)s+=e[r++];s?i=i+":"+s:r=o}let n=this.context.lookupKeyword(i),a=n&&n.normalized!==n.native?n.normalized:void 0,u=null;return this.context.isKeyword(i)||(u=this.tryClassSyntaxConversion(e,r,i)),{value:u||i,length:r-t,metadata:{normalized:a,classConversion:u?!0:void 0}}}tryClassSyntaxConversion(e,t,r){let i=t;for(;i<e.length&&/\s/.test(e[i]);)i++;if(e.slice(i,i+5).toLowerCase()==="class"){let n=i+5;if(n>=e.length||!Iu(e[n]))return"."+r}return null}}}}),sm={};j(sm,{EnglishTokenizer:()=>Mu,englishTokenizer:()=>xn});var lm,Mu,xn,Wu=b({"src/tokenizers/english.ts"(){"use strict";Q(),Yt(),ce(),me(),o1(),lm=[{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"}],Mu=class extends ae{constructor(){super(),this.language="en",this.direction="ltr",this.initializeKeywordsFromProfile(Tt,lm),this.registerExtractors(pe()),this.registerExtractor(new ie),this.registerExtractor(new re),this.registerExtractors(u1()),this.registerExtractor(new ue),this.registerExtractor(new oe)}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"}},xn=new Mu}}),Re=b({"src/tokenizers/morphology/types.ts"(){"use strict"}});function cm(e){let t=e.charCodeAt(0);return t>=12352&&t<=12447}function s1(e){let t=e.charCodeAt(0);return t>=12448&&t<=12543}function l1(e){let t=e.charCodeAt(0);return t>=19968&&t<=40959||t>=13312&&t<=19903}function c1(e){for(let t of e)if(cm(t)||s1(t)||l1(t))return!0;return!1}var pm,mm,qu,p1,m1=b({"src/tokenizers/morphology/japanese-normalizer.ts"(){"use strict";Re(),pm=[{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}],mm=[{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"}],qu=class{constructor(){this.language="ja"}isNormalizable(e){if(!c1(e)||e.length<2)return!1;let t=e[e.length-1];return cm(t)}normalize(e){let t=this.normalizeCompound(e);if(t)return t;let r=this.trySuruNormalization(e);if(r)return r;for(let i of pm)if(e.endsWith(i.pattern)){let n=e.slice(0,-i.pattern.length),a=i.minStemLength??2;if(n.length<a)continue;let u={removedSuffixes:[i.pattern]};return i.conjugationType&&(u.conjugationType=i.conjugationType),B(n,i.confidence,u)}return Y(e)}trySuruNormalization(e){for(let t of mm)if(e.endsWith(t.pattern)){let r=e.slice(0,-t.pattern.length);if(r.length<1)continue;return B(r,t.confidence,{removedSuffixes:[t.pattern],conjugationType:t.conjugationType,originalForm:"suru-verb"})}return null}normalizeCompound(e){let 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(let{pattern:r,suffixes:i,confidence:n,minStemLength:a}of t)if(e.endsWith(r)){let u=e.slice(0,-r.length);if(u.length<a)continue;return B(u,n,{removedSuffixes:i,conjugationType:"compound"})}return null}},p1=new qu}}),dm={};j(dm,{JapaneseTokenizer:()=>$u,japaneseTokenizer:()=>bn});var ym,fm,$u,bn,Vu=b({"src/tokenizers/japanese.ts"(){"use strict";Q(),m1(),wi(),ce(),me(),s9(),l9(),Ct(),ym=new Set(["\u3092","\u306B","\u3067","\u304B\u3089","\u307E\u3067","\u3078","\u3068","\u306E","\u304C","\u306F","\u3082","\u3088\u308A"]),fm=[{native:"\u3067\u306F\u306A\u3044",normalized:"not"},{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"}],$u=class extends ae{constructor(){super(),this.language="ja",this.direction="ltr",this.initializeKeywordsFromProfile(gr,fm),this.normalizer=new qu,this.registerExtractors(pe()),this.registerExtractor(new ie),this.registerExtractor(new re),this.registerExtractor(new pt),this.registerExtractor(new mp),this.registerExtractor(new pp),this.registerExtractor(new ue),this.registerExtractor(new oe)}classifyToken(e){return ym.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"}},bn=new $u}});function d1(e){let t=e.charCodeAt(0);return t>=44032&&t<=55203}function y1(e){for(let t of e)if(d1(t))return!0;return!1}var vm,hm,Ku,f1,v1=b({"src/tokenizers/morphology/korean-normalizer.ts"(){"use strict";Re(),vm=[{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}],hm=[{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"}],Ku=class{constructor(){this.language="ko"}isNormalizable(e){return!(!y1(e)||e.length<2)}normalize(e){let t=this.normalizeCompound(e);if(t)return t;let r=this.tryHadaNormalization(e);if(r)return r;for(let i of vm)if(e.endsWith(i.pattern)){let n=e.slice(0,-i.pattern.length),a=i.minStemLength??2;if(n.length<a)continue;let u={removedSuffixes:[i.pattern]};return i.conjugationType&&(u.conjugationType=i.conjugationType),B(n,i.confidence,u)}return Y(e)}tryHadaNormalization(e){for(let t of hm)if(e.endsWith(t.pattern)){let r=e.slice(0,-t.pattern.length);if(r.length<1)continue;return B(r,t.confidence,{removedSuffixes:[t.pattern],conjugationType:t.conjugationType,originalForm:"hada-verb"})}return null}normalizeCompound(e){let 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(let{pattern:r,suffixes:i,confidence:n,conjugationType:a,minStemLength:u}of t)if(e.endsWith(r)){let o=e.slice(0,-r.length);if(o.length<u)continue;return B(o,n,{removedSuffixes:i,conjugationType:a})}return null}},f1=new Ku}}),gm={};j(gm,{KoreanTokenizer:()=>Hu,koreanTokenizer:()=>Dn});var Em,km,Hu,Dn,Uu=b({"src/tokenizers/korean.ts"(){"use strict";Q(),v1(),Ai(),ce(),me(),m9(),d9(),Ct(),Em=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"]),km=[{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"}],Hu=class extends ae{constructor(){super(),this.language="ko",this.direction="ltr",this.initializeKeywordsFromProfile(Er,km),this.normalizer=new Ku,this.registerExtractors(pe()),this.registerExtractor(new ie),this.registerExtractor(new re),this.registerExtractor(new pt),this.registerExtractor(new vp),this.registerExtractor(new yp),this.registerExtractor(new ue),this.registerExtractor(new oe)}classifyToken(e){return Em.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"}},Dn=new Hu}});function h1(e){let t=e.charCodeAt(0);return t>=1536&&t<=1791||t>=1872&&t<=1919||t>=2208&&t<=2303||t>=64336&&t<=65023||t>=65136&&t<=65279}function g1(e){for(let t of e)if(h1(t))return!0;return!1}function E1(e){return e.replace(/[\u064B-\u0652\u0670]/g,"")}var zm,Cm,wm,Am,Gu,k1,z1=b({"src/tokenizers/morphology/arabic-normalizer.ts"(){"use strict";Re(),zm=[{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"}],Cm=[{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}],wm=[{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}],Am=[{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"}],Gu=class{constructor(){this.language="ar"}isNormalizable(e){return!(!g1(e)||e.length<2)}normalize(e){let t=E1(e),r=1,i=[],n=[];for(let u of zm)if(t.startsWith(u.pattern)){let o=t.slice(u.pattern.length);if(o.length>=2){t=o,r-=u.confidencePenalty,i.push(u.pattern);break}}if(i.length===0){for(let u of Cm)if(t.startsWith(u.pattern)){let o=t.slice(u.pattern.length),s=u.minRemaining??2;if(o.length>=s){t=o,r-=u.confidencePenalty,i.push(u.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"))&&(i.length===0||i[0]==="\u0648"||i[0]==="\u0641")){for(let u of wm)if(t.startsWith(u.pattern)){let o=t.slice(u.pattern.length),s=u.minRemaining??3;if(o.length>=s){t=o,r-=u.confidencePenalty,i.push(u.pattern);break}}}for(let u of Am)if(t.endsWith(u.pattern)){let o=t.slice(0,-u.pattern.length);o.length>=2&&(t=o,r-=u.confidencePenalty,n.push(u.pattern))}return r=Math.max(.5,r),i.length===0&&n.length===0?Y(e):B(t,r,{removedPrefixes:i,removedSuffixes:n})}},k1=new Gu}}),xm={};j(xm,{ArabicTokenizer:()=>Yu,arabicTokenizer:()=>Bn});var bm,Dm,Bm,Yu,Bn,Zu=b({"src/tokenizers/arabic.ts"(){"use strict";Q(),z1(),yi(),ce(),me(),E9(),Ct(),k9(),z9(),bm=new Set(["\u0648\u0644","\u0648\u0628","\u0648\u0643","\u0641\u0644","\u0641\u0628","\u0641\u0643"]),Dm=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"]),Bm=[{native:"\u0647\u062F\u0641",normalized:"target"},{native:"\u0646\u062A\u064A\u062C\u0629",normalized:"result"},{native:"\u0644\u064A\u0633",normalized:"not"},{native:"\u0644\u062F\u064A\u0647",normalized:"has"},{native:"\u0644\u062F\u064A",normalized:"have"},{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"}],Yu=class extends ae{constructor(){super(),this.language="ar",this.direction="rtl",this.initializeKeywordsFromProfile(lr,Bm),this.normalizer=new Gu,this.registerExtractors(pe()),this.registerExtractor(new ie),this.registerExtractor(new re),this.registerExtractor(new pt),this.registerExtractor(new Bp),this.registerExtractor(new bp),this.registerExtractor(new Ap),this.registerExtractor(new ue),this.registerExtractor(new oe)}tokenizeWithExtractors(e){let t=[],r=0;for(;r<e.length;){for(;r<e.length&&kt(e[r]);)r++;if(r>=e.length)break;let i=this.tryMultiWordKeyword(e,r);if(i){t.push(i),r=i.position.end;continue}let n=!1;for(let a of this.extractors)if(a.canExtract(e,r)){let u=a.extract(e,r);if(u){let o=u.metadata?.normalized,s=u.metadata?.stem,l=u.metadata?.stemConfidence,c={};if(u.metadata)for(let[d,y]of Object.entries(u.metadata))d!=="normalized"&&d!=="stem"&&d!=="stemConfidence"&&(c[d]=y);let p;c.procliticType==="conjunction"?p="conjunction":c.procliticType==="preposition"?p="particle":p=this.classifyToken(u.value);let m={};o&&(m.normalized=o),s&&(m.stem=s),l!==void 0&&(m.stemConfidence=l),Object.keys(c).length>0&&(m.metadata=c),t.push(ve(u.value,p,fe(r,r+u.length),Object.keys(m).length>0?m:void 0)),r+=u.length,n=!0;break}}if(!n){let a=e[r],u=this.classifyUnknownChar(a);t.push(ve(a,u,fe(r,r+1))),r++}}return new Ce(this.mergeColonQualifiedNames(t),this.language)}classifyToken(e){return bm.has(e)?"conjunction":Dm.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"}},Bn=new Yu}});function C1(e){return/[\u00e1\u00e9\u00ed\u00f3\u00fa\u00fc\u00f1\u00c1\u00c9\u00cd\u00d3\u00da\u00dc\u00d1]/.test(e)}var Sm,Fm,Tm,Lm,Xu,w1,A1=b({"src/tokenizers/morphology/spanish-normalizer.ts"(){"use strict";Re(),Sm=[{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:"\xE1is",stem:"ar",confidence:.85,type:"present"},{ending:"ais",stem:"ar",confidence:.82,type:"present"},{ending:"an",stem:"ar",confidence:.8,type:"present"},{ending:"\xE9",stem:"ar",confidence:.85,type:"past"},{ending:"aste",stem:"ar",confidence:.88,type:"past"},{ending:"\xF3",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:"\xE1bamos",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:"\xE9is",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"}],Fm=[{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:"\xE9is",stem:"er",confidence:.85,type:"present"},{ending:"eis",stem:"er",confidence:.82,type:"present"},{ending:"en",stem:"er",confidence:.78,type:"present"},{ending:"\xED",stem:"er",confidence:.85,type:"past"},{ending:"iste",stem:"er",confidence:.88,type:"past"},{ending:"i\xF3",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:"\xEDa",stem:"er",confidence:.88,type:"past"},{ending:"ia",stem:"er",confidence:.85,type:"past"},{ending:"\xEDas",stem:"er",confidence:.88,type:"past"},{ending:"ias",stem:"er",confidence:.85,type:"past"},{ending:"\xEDamos",stem:"er",confidence:.88,type:"past"},{ending:"iamos",stem:"er",confidence:.85,type:"past"},{ending:"\xEDais",stem:"er",confidence:.88,type:"past"},{ending:"iais",stem:"er",confidence:.85,type:"past"},{ending:"\xEDan",stem:"er",confidence:.88,type:"past"},{ending:"ian",stem:"er",confidence:.85,type:"past"},{ending:"er",stem:"er",confidence:.92,type:"dictionary"}],Tm=[{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:"\xEDs",stem:"ir",confidence:.85,type:"present"},{ending:"is",stem:"ir",confidence:.82,type:"present"},{ending:"en",stem:"ir",confidence:.78,type:"present"},{ending:"\xED",stem:"ir",confidence:.85,type:"past"},{ending:"iste",stem:"ir",confidence:.88,type:"past"},{ending:"i\xF3",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:"\xEDa",stem:"ir",confidence:.88,type:"past"},{ending:"ia",stem:"ir",confidence:.85,type:"past"},{ending:"\xEDas",stem:"ir",confidence:.88,type:"past"},{ending:"ias",stem:"ir",confidence:.85,type:"past"},{ending:"\xEDamos",stem:"ir",confidence:.88,type:"past"},{ending:"iamos",stem:"ir",confidence:.85,type:"past"},{ending:"\xEDais",stem:"ir",confidence:.88,type:"past"},{ending:"iais",stem:"ir",confidence:.85,type:"past"},{ending:"\xEDan",stem:"ir",confidence:.88,type:"past"},{ending:"ian",stem:"ir",confidence:.85,type:"past"},{ending:"ir",stem:"ir",confidence:.92,type:"dictionary"}],Lm=[...Sm,...Fm,...Tm].sort((e,t)=>t.ending.length-e.ending.length),Xu=class extends qa{constructor(){super({language:"es",minWordLength:3,minStemLength:2,endings:Lm,reflexiveSuffixes:["se","me","te","nos","os"],infinitiveEndings:["ar","er","ir"]})}isNormalizable(e){if(e.length<3)return!1;let t=e.toLowerCase();if(t.endsWith("ar")||t.endsWith("er")||t.endsWith("ir")||t.endsWith("ando")||t.endsWith("iendo")||t.endsWith("ado")||t.endsWith("ido")||t.endsWith("arse")||t.endsWith("erse")||t.endsWith("irse"))return!0;for(let r of e)if(C1(r))return!0;return!1}},w1=new Xu}});function x1(e){return{isLetter:i=>e.test(i),isIdentifierChar:i=>/[0-9]/.test(i)||e.test(i)}}function b1(){return[new Rm]}var Qu,Pm,_m,Rm,D1=b({"src/tokenizers/extractors/spanish-keyword.ts"(){"use strict";Q(),{isLetter:Qu,isIdentifierChar:Pm}=x1(/[a-zA-Z\u00e1\u00e9\u00ed\u00f3\u00fa\u00fc\u00f1\u00c1\u00c9\u00cd\u00d3\u00da\u00dc\u00d1]/),_m=new Set(["en","a","de","desde","hasta","con","sin","por","para","sobre","entre","antes","despu\xE9s","despues","dentro","fuera","al","del"]),Rm=class{constructor(){this.name="spanish-keyword"}setContext(e){this.context=e}canExtract(e,t){return Qu(e[t])}extract(e,t){if(!this.context)throw new Error("SpanishKeywordExtractor: context not set");let r=this.tryMultiWordPhrase(e,t);return r||this.extractSpanishWord(e,t)}tryMultiWordPhrase(e,t){if(!this.context)return null;let r=["de lo contrario","de lo normal","por defecto","de nuevo","de otra manera"];for(let i of r)if(e.slice(t,t+i.length).toLowerCase()===i.toLowerCase()){let a=t+i.length;if(a>=e.length||kt(e[a])||!Qu(e[a])){let u=this.context.lookupKeyword(i);return{value:e.slice(t,a),length:i.length,metadata:{normalized:u?.normalized,multiWord:!0}}}}return null}extractSpanishWord(e,t){if(!this.context)return null;let r=t,i="";for(;r<e.length&&Pm(e[r]);)i+=e[r++];if(!i)return null;let n=i.toLowerCase(),a=_m.has(n),u=this.context.lookupKeyword(i),o=u&&u.normalized!==u.native?u.normalized:void 0,s,l,c;if(!u&&this.context.normalizer){let p=this.context.normalizer.normalize(i);if(p.stem!==i&&p.confidence>=.7){let m=this.context.lookupKeyword(p.stem);m&&(s=m.normalized,l=p.stem,c=p.confidence)}}return{value:i,length:r-t,metadata:{normalized:o||s,stem:l,stemConfidence:c,isPreposition:a}}}}}}),jm={};j(jm,{SpanishTokenizer:()=>Ju,spanishTokenizer:()=>Sn});var Om,Nm,Ju,Sn,eo=b({"src/tokenizers/spanish.ts"(){"use strict";Q(),A1(),hi(),ce(),me(),D1(),Om=new Set(["en","a","de","desde","hasta","con","sin","por","para","sobre","entre","antes","despu\xE9s","despues","dentro","fuera","al","del"]),Nm=[{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\xED",normalized:"me"},{native:"destino",normalized:"target"},{native:"inclusivo",normalized:"inclusive"},{native:"exclusivo",normalized:"exclusive"},{native:"caracteres",normalized:"characters"},{native:"aleatorio",normalized:"random"}],Ju=class extends ae{constructor(){super(),this.language="es",this.direction="ltr",this.initializeKeywordsFromProfile(mr,Nm),this.setNormalizer(new Xu),this.registerExtractors(pe()),this.registerExtractor(new ie),this.registerExtractor(new re),this.registerExtractors(b1()),this.registerExtractor(new ue),this.registerExtractor(new oe)}classifyToken(e){let t=e.toLowerCase();return Om.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"}},Sn=new Ju}});function B1(e){let t=e.charCodeAt(0);return t>=65&&t<=90||t>=97&&t<=122?!0:"\xE7\xC7\u011F\u011E\u0131\u0130\xF6\xD6\u015F\u015E\xFC\xDC".includes(e)}function S1(e){for(let t of e)if(B1(t))return!0;return!1}function to(e){return"a\u0131ouAIOU".includes(e)}function Im(e){return"ei\xF6\xFCE\u0130\xD6\xDC".includes(e)}function Mm(e){return to(e)||Im(e)}function F1(e){for(let t=e.length-1;t>=0;t--)if(Mm(e[t]))return e[t];return null}function T1(e,t){let r=F1(e);if(!r)return!0;let i=t.split("").find(n=>Mm(n));return i?to(r)?to(i):Im(i):!0}var Wm,ro,L1,P1=b({"src/tokenizers/morphology/turkish-normalizer.ts"(){"use strict";Re(),Wm=[{pattern:"iyorsunuz",confidence:.82,conjugationType:"progressive",minStemLength:2},{pattern:"\u0131yorsunuz",confidence:.82,conjugationType:"progressive",minStemLength:2},{pattern:"\xFCyorsunuz",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:"\xFCyorsun",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:"\xFCyoruz",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:"\xFCyorum",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:"\xFCyorlar",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\xFC\u015Fs\xFCn\xFCz",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\xFC\u015Fs\xFCn",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\xFC\u015F\xFCz",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\xFC\u015F\xFCm",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\xFC\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\xFCn\xFCz",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\xFCn\xFCz",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\xFCler",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\xFCler",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\xFCn",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\xFCn",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\xFCk",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\xFCk",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\xFCm",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\xFCm",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:"\xFCyor",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\xFC\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\xFC",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\xFC",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:"\xFCn\xFCz",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:"\xFCn",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:"\xFCld\xFC",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:"\xFCl\xFCr",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\xFCrmek",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\xFCrmek",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\xFCyorsunuz",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\xFCyorsun",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\xFCyoruz",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\xFCyorum",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\xFCyor",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}],ro=class{constructor(){this.language="tr"}isNormalizable(e){return!(!S1(e)||e.length<3)}normalize(e){let t=e.toLowerCase();for(let r of Wm)if(t.endsWith(r.pattern)){let i=t.slice(0,-r.pattern.length),n=r.minStemLength??2;if(i.length<n)continue;if(!T1(i,r.pattern)){let u=r.confidence*.9,o={removedSuffixes:[r.pattern]};return r.conjugationType&&(o.conjugationType=r.conjugationType),B(i,u,o)}let a={removedSuffixes:[r.pattern]};return r.conjugationType&&(a.conjugationType=r.conjugationType),B(i,r.confidence,a)}return Y(e)}},L1=new ro}}),qm={};j(qm,{TurkishTokenizer:()=>io,turkishTokenizer:()=>Fn});var $m,Vm,Km,io,Fn,no=b({"src/tokenizers/turkish.ts"(){"use strict";Q(),P1(),Pi(),ce(),me(),Y9(),$m=new Set(["ile","i\xE7in","kadar","gibi","\xF6nce","\xFCzerinde","alt\u0131nda","i\xE7inde","d\u0131\u015F\u0131nda","aras\u0131nda","kar\u015F\u0131","g\xF6re","ra\u011Fmen","boyunca"]),Vm=new Set(["de","da","te","ta","den","dan","ten","tan","e","a","ye","ya","i","\u0131","u","\xFC","in","\u0131n","un","\xFCn","le","la","yle","yla"]),Km=[{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:"\xF6nceki",normalized:"previous"},{native:"onceki",normalized:"previous"},{native:"enyak\u0131n",normalized:"closest"},{native:"enyakin",normalized:"closest"},{native:"ebeveyn",normalized:"parent"},{native:"fare \xFCzerinde",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\xE7",normalized:"exclusive"},{native:"karakterler",normalized:"characters"},{native:"rastgele",normalized:"random"}],io=class extends ae{constructor(){super(),this.language="tr",this.direction="ltr",this.initializeKeywordsFromProfile(Br,Km),this.setNormalizer(new ro),this.registerExtractors(pe()),this.registerExtractor(new ie),this.registerExtractor(new re),this.registerExtractor(G9()),this.registerExtractor(new ue),this.registerExtractor(new oe)}classifyToken(e){let t=e.toLowerCase();return $m.has(t)||Vm.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"}},Fn=new io}}),Hm={};j(Hm,{ChineseTokenizer:()=>ao,chineseTokenizer:()=>Tn});var Um,Gm,ao,Tn,uo=b({"src/tokenizers/chinese.ts"(){"use strict";Q(),ji(),ce(),me(),y9(),f9(),Ct(),Um=new Set(["\u628A","\u5728","\u4ECE","\u5230","\u5411","\u7ED9","\u5BF9","\u7528","\u88AB","\u8BA9","\u7684","\u5730","\u5F97","\u4E86","\u7740","\u8FC7","\u5417","\u5462","\u5427"]),Gm=[{native:"\u771F",normalized:"true"},{native:"\u5047",normalized:"false"},{native:"\u7A7A",normalized:"null"},{native:"\u672A\u5B9A\u4E49",normalized:"undefined"},{native:"\u7B49\u4E8E",normalized:"equals"},{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"}],ao=class extends ae{constructor(){super(),this.language="zh",this.direction="ltr",this.initializeKeywordsFromProfile(Tr,Gm),this.registerExtractors(pe()),this.registerExtractor(new ie),this.registerExtractor(new re),this.registerExtractor(new pt),this.registerExtractor(new gp),this.registerExtractor(new hp),this.registerExtractor(new ue),this.registerExtractor(new oe)}classifyToken(e){return Um.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"}},Tn=new ao}});function _1(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)}function R1(e){let t=e.toLowerCase();if(t.endsWith("ar")||t.endsWith("er")||t.endsWith("ir")||t.endsWith("ando")||t.endsWith("endo")||t.endsWith("indo")||t.endsWith("ado")||t.endsWith("ido")||t.endsWith("ar-se")||t.endsWith("er-se")||t.endsWith("ir-se"))return!0;for(let r of e)if(_1(r))return!0;return!1}var oo,Ym,Zm,Xm,Qm,so,j1,O1=b({"src/tokenizers/morphology/portuguese-normalizer.ts"(){"use strict";Re(),oo=["-se","-me","-te","-nos","-vos"],Ym=[{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:"\xE1mos",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:"\xE1vamos",stem:"ar",confidence:.88,type:"past"},{ending:"avamos",stem:"ar",confidence:.85,type:"past"},{ending:"\xE1veis",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"}],Zm=[{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:"\xEDamos",stem:"er",confidence:.88,type:"past"},{ending:"iamos",stem:"er",confidence:.85,type:"past"},{ending:"\xEDeis",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"}],Xm=[{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:"\xEDamos",stem:"ir",confidence:.88,type:"past"},{ending:"iamos",stem:"ir",confidence:.85,type:"past"},{ending:"\xEDeis",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"}],Qm=[...Ym,...Zm,...Xm].sort((e,t)=>t.ending.length-e.ending.length),so=class{constructor(){this.language="pt"}isNormalizable(e){return e.length<3?!1:R1(e)}normalize(e){let t=e.toLowerCase();if((t.endsWith("ar")||t.endsWith("er")||t.endsWith("ir"))&&!oo.some(n=>t.endsWith(n)))return Y(e);let r=this.tryReflexiveNormalization(t);if(r)return r;let i=this.tryConjugationNormalization(t);return i||Y(e)}tryReflexiveNormalization(e){for(let t of oo)if(e.endsWith(t)){let r=e.slice(0,-t.length);if(r.endsWith("ar")||r.endsWith("er")||r.endsWith("ir"))return B(r,.88,{removedSuffixes:[t],conjugationType:"reflexive"});let i=this.tryConjugationNormalization(r);if(i&&i.stem!==r)return B(i.stem,i.confidence*.95,{removedSuffixes:[t,...i.metadata?.removedSuffixes||[]],conjugationType:"reflexive"})}return null}tryConjugationNormalization(e){for(let t of Qm)if(e.endsWith(t.ending)){let r=e.slice(0,-t.ending.length);if(r.length<2)continue;let i=r+t.stem;return B(i,t.confidence,{removedSuffixes:[t.ending],conjugationType:t.type})}return null}},j1=new so}});function N1(e){return{isLetter:i=>e.test(i),isIdentifierChar:i=>/[0-9]/.test(i)||e.test(i)}}function I1(){return[new rd]}var Jm,ed,td,rd,M1=b({"src/tokenizers/extractors/portuguese-keyword.ts"(){"use strict";({isLetter:Jm,isIdentifierChar:ed}=N1(/[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]/)),td=new Set(["em","a","de","para","com","sem","por","sobre","entre","antes","depois","dentro","fora","ao","do","da","no","na"]),rd=class{constructor(){this.name="portuguese-keyword"}setContext(e){this.context=e}canExtract(e,t){return Jm(e[t])}extract(e,t){if(!this.context)throw new Error("PortugueseKeywordExtractor: context not set");let r=t,i="";for(;r<e.length&&ed(e[r]);)i+=e[r++];if(!i)return null;let n=i.toLowerCase(),a=td.has(n),u=this.context.lookupKeyword(n),o=u&&u.normalized!==u.native?u.normalized:void 0,s,l,c;if(!u&&this.context.normalizer){let p=this.context.normalizer.normalize(i);if(p.stem!==i&&p.confidence>=.7){let m=this.context.lookupKeyword(p.stem);m&&(s=m.normalized,l=p.stem,c=p.confidence)}}return{value:i,length:r-t,metadata:{normalized:o||s,stem:l,stemConfidence:c,isPreposition:a}}}}}}),id={};j(id,{PortugueseTokenizer:()=>lo,portugueseTokenizer:()=>co});var nd,ad,lo,co,ud=b({"src/tokenizers/portuguese.ts"(){"use strict";Q(),Di(),O1(),ce(),me(),M1(),nd=new Set(["em","a","de","desde","at\xE9","ate","com","sem","por","para","sobre","entre","antes","depois","dentro","fora","ao","do","no","na"]),ad=[{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:"\xFAltimo",normalized:"last"},{native:"ultima",normalized:"last"},{native:"pr\xF3ximo",normalized:"next"},{native:"proximo",normalized:"next"},{native:"anterior",normalized:"previous"},{native:"maispr\xF3ximo",normalized:"closest"},{native:"maisproximo",normalized:"closest"},{native:"pai",normalized:"parent"},{native:"clique",normalized:"click"},{native:"click",normalized:"click"},{native:"entrada",normalized:"input"},{native:"mudan\xE7a",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\xE9 que",normalized:"until"},{native:"dentro de",normalized:"into"},{native:"inclusivo",normalized:"inclusive"},{native:"exclusivo",normalized:"exclusive"},{native:"caracteres",normalized:"characters"},{native:"aleat\xF3rio",normalized:"random"}],lo=class extends ae{constructor(){super(),this.language="pt",this.direction="ltr",this.initializeKeywordsFromProfile(Cr,ad),this.setNormalizer(new so),this.registerExtractors(pe()),this.registerExtractor(new ie),this.registerExtractor(new re),this.registerExtractors(I1()),this.registerExtractor(new ue),this.registerExtractor(new oe)}classifyToken(e){let t=e.toLowerCase();return nd.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"}},co=new lo}});function W1(e){let t=e.toLowerCase();return!!(t.endsWith("er")||t.endsWith("ir")||t.endsWith("re")||t.endsWith("ant")||t.endsWith("\xE9")||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))}var od,sd,ld,cd,pd,po,q1,$1=b({"src/tokenizers/morphology/french-normalizer.ts"(){"use strict";Re(),od=["toi","vous","nous"],sd=[{ending:"ant",stem:"er",confidence:.88,type:"gerund"},{ending:"\xE9",stem:"er",confidence:.88,type:"participle"},{ending:"\xE9e",stem:"er",confidence:.88,type:"participle"},{ending:"\xE9s",stem:"er",confidence:.88,type:"participle"},{ending:"\xE9es",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:"\xE2mes",stem:"er",confidence:.88,type:"past"},{ending:"\xE2tes",stem:"er",confidence:.88,type:"past"},{ending:"\xE8rent",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"}],ld=[{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"}],cd=[{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"}],pd=[...sd,...ld,...cd].sort((e,t)=>t.ending.length-e.ending.length),po=class{constructor(){this.language="fr"}isNormalizable(e){return e.length<3?!1:W1(e)}normalize(e){let t=e.toLowerCase();if((t.endsWith("er")||t.endsWith("ir")||t.endsWith("re"))&&t.length>=4)return Y(e);let r=this.tryReflexiveNormalization(t);if(r)return r;let i=this.tryConjugationNormalization(t);return i||Y(e)}tryReflexiveNormalization(e){for(let t of od){let r="-"+t;if(e.endsWith(r)){let i=e.slice(0,-r.length),n=this.tryConjugationNormalization(i);if(n&&n.stem!==i)return B(n.stem,n.confidence*.95,{removedSuffixes:[r,...n.metadata?.removedSuffixes||[]],conjugationType:"reflexive"})}}return null}tryConjugationNormalization(e){for(let t of pd)if(e.endsWith(t.ending)){let r=e.slice(0,-t.ending.length);if(r.length<2)continue;let i=r+t.stem;return B(i,t.confidence,{removedSuffixes:[t.ending],conjugationType:t.type})}return null}},q1=new po}});function V1(e){return{isLetter:i=>e.test(i),isIdentifierChar:i=>/[0-9]/.test(i)||e.test(i)}}function K1(){return[new fd]}var md,dd,yd,fd,H1=b({"src/tokenizers/extractors/french-keyword.ts"(){"use strict";({isLetter:md,isIdentifierChar:dd}=V1(/[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]/)),yd=new Set(["\xE0","a","de","du","des","dans","sur","sous","avec","sans","par","pour","entre","avant","apr\xE8s","apres","depuis","vers","chez","contre","au","aux"]),fd=class{constructor(){this.name="french-keyword"}setContext(e){this.context=e}canExtract(e,t){return md(e[t])}extract(e,t){if(!this.context)throw new Error("FrenchKeywordExtractor: context not set");let r=t,i="";for(;r<e.length&&dd(e[r]);)i+=e[r++];if(!i)return null;let n=i.toLowerCase(),a=yd.has(n),u=this.context.lookupKeyword(n),o=u&&u.normalized!==u.native?u.normalized:void 0,s,l,c;if(!u&&this.context.normalizer){let p=this.context.normalizer.normalize(i);if(p.stem!==i&&p.confidence>=.7){let m=this.context.lookupKeyword(p.stem);m&&(s=m.normalized,l=p.stem,c=p.confidence)}}return{value:i,length:r-t,metadata:{normalized:o||s,stem:l,stemConfidence:c,isPreposition:a}}}}}}),vd={};j(vd,{FrenchTokenizer:()=>mo,frenchTokenizer:()=>yo});var hd,mo,yo,gd=b({"src/tokenizers/french.ts"(){"use strict";Q(),gi(),$1(),ce(),me(),H1(),hd=[{native:"vrai",normalized:"true"},{native:"faux",normalized:"false"},{native:"nul",normalized:"null"},{native:"ind\xE9fini",normalized:"undefined"},{native:"indefini",normalized:"undefined"},{native:"premier",normalized:"first"},{native:"premi\xE8re",normalized:"first"},{native:"premiere",normalized:"first"},{native:"dernier",normalized:"last"},{native:"derni\xE8re",normalized:"last"},{native:"derniere",normalized:"last"},{native:"suivant",normalized:"next"},{native:"pr\xE9c\xE9dent",normalized:"previous"},{native:"precedent",normalized:"previous"},{native:"proche",normalized:"closest"},{native:"parent",normalized:"parent"},{native:"clic",normalized:"click"},{native:"click",normalized:"click"},{native:"entr\xE9e",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\xE9filement",normalized:"scroll"},{native:"defilement",normalized:"scroll"},{native:"je",normalized:"me"},{native:"mon",normalized:"my"},{native:"ma",normalized:"my"},{native:"mes",normalized:"my"},{native:"\xE7a",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\xE8res",normalized:"characters"},{native:"al\xE9atoire",normalized:"random"}],mo=class extends ae{constructor(){super(),this.language="fr",this.direction="ltr",this.initializeKeywordsFromProfile(dr,hd),this.normalizer=new po,this.registerExtractors(pe()),this.registerExtractor(new ie),this.registerExtractor(new re),this.registerExtractors(K1()),this.registerExtractor(new ue),this.registerExtractor(new oe)}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"}},yo=new mo}});function U1(e){let 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))}var Ed,kd,zd,Cd,fo,G1,Y1=b({"src/tokenizers/morphology/german-normalizer.ts"(){"use strict";Re(),Ed=["an","auf","aus","ein","mit","vor","zu","ab","bei","nach","weg","um","her","hin"],kd=[{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"}],zd=[{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"}],Cd=[...kd,...zd].sort((e,t)=>t.ending.length-e.ending.length),fo=class{constructor(){this.language="de"}isNormalizable(e){return e.length<3?!1:U1(e)}normalize(e){let 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);let r=this.tryParticipleNormalization(t);if(r)return r;let i=this.tryConjugationNormalization(t);return i||Y(e)}tryParticipleNormalization(e){for(let t of Ed)if(e.startsWith(t+"ge")){let r=e.slice(t.length),i=this.trySimpleParticipleNormalization(r);if(i){let n={removedPrefixes:["ge"],conjugationType:"participle"};return i.metadata?.removedSuffixes&&(n.removedSuffixes=i.metadata.removedSuffixes),B(t+i.stem,i.confidence*.95,n)}}return this.trySimpleParticipleNormalization(e)}trySimpleParticipleNormalization(e){if(!e.startsWith("ge"))return null;let t=e.slice(2);if(t.endsWith("t")&&t.length>=3){let r=t.slice(0,-1);return B(r+"en",.85,{removedPrefixes:["ge"],removedSuffixes:["t"],conjugationType:"participle"})}return t.endsWith("en")&&t.length>=4?B(t,.82,{removedPrefixes:["ge"],conjugationType:"participle"}):null}tryConjugationNormalization(e){for(let t of Cd)if(e.endsWith(t.ending)){let r=e.slice(0,-t.ending.length);if(r.length<2)continue;let i=r+t.stem;return B(i,t.confidence,{removedSuffixes:[t.ending],conjugationType:t.type})}return null}},G1=new fo}});function Z1(e){return{isLetter:i=>e.test(i),isIdentifierChar:i=>/[0-9]/.test(i)||e.test(i)}}function X1(){return[new bd]}var wd,Ad,xd,bd,Q1=b({"src/tokenizers/extractors/german-keyword.ts"(){"use strict";({isLetter:wd,isIdentifierChar:Ad}=Z1(/[a-zA-Z\u00e4\u00f6\u00fc\u00c4\u00d6\u00dc\u00df]/)),xd=new Set(["an","auf","aus","bei","durch","f\xFCr","fur","gegen","in","mit","nach","ohne","seit","\xFCber","uber","um","unter","von","vor","zu","zwischen","bis","gegen\xFCber","gegenuber","w\xE4hrend","wahrend","wegen","trotz","statt","innerhalb","au\xDFerhalb","ausserhalb"]),bd=class{constructor(){this.name="german-keyword"}setContext(e){this.context=e}canExtract(e,t){return wd(e[t])}extract(e,t){if(!this.context)throw new Error("GermanKeywordExtractor: context not set");return this.extractGermanWord(e,t)}extractGermanWord(e,t){if(!this.context)return null;let r=t,i="";for(;r<e.length&&Ad(e[r]);)i+=e[r++];if(!i)return null;let n=i.toLowerCase(),a=xd.has(n),u=this.context.lookupKeyword(i),o=u&&u.normalized!==u.native?u.normalized:void 0,s;if(!u&&this.context.normalizer){let l=this.context.normalizer.normalize(i);if(l.stem!==i&&l.confidence>=.7){let c=this.context.lookupKeyword(l.stem);c&&(s=c.normalized)}}return{value:i,length:r-t,metadata:{normalized:o||s,isPreposition:a}}}}}}),Dd={};j(Dd,{GermanTokenizer:()=>vo,germanTokenizer:()=>ho});var Bd,vo,ho,Sd=b({"src/tokenizers/german.ts"(){"use strict";Q(),vi(),Y1(),ce(),me(),Q1(),Bd=[{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\xE4chste",normalized:"next"},{native:"nachste",normalized:"next"},{native:"n\xE4chstgelegene",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:"\xE4nderung",normalized:"change"},{native:"anderung",normalized:"change"},{native:"absenden",normalized:"submit"},{native:"taste unten",normalized:"keydown"},{native:"taste oben",normalized:"keyup"},{native:"maus dr\xFCber",normalized:"mouseover"},{native:"maus druber",normalized:"mouseover"},{native:"maus weg",normalized:"mouseout"},{native:"fokus",normalized:"focus"},{native:"unsch\xE4rfe",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\xF6he",normalized:"increment"},{native:"erhohe",normalized:"increment"},{native:"verringere",normalized:"decrement"},{native:"inklusiv",normalized:"inclusive"},{native:"exklusiv",normalized:"exclusive"},{native:"Zeichen",normalized:"characters"},{native:"zuf\xE4llig",normalized:"random"}],vo=class extends ae{constructor(){super(),this.language="de",this.direction="ltr",this.initializeKeywordsFromProfile(pr,Bd),this.normalizer=new fo,this.registerExtractors(pe()),this.registerExtractor(new ie),this.registerExtractor(new re),this.registerExtractors(X1()),this.registerExtractor(new ue),this.registerExtractor(new oe)}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"}},ho=new vo}}),Fd={};j(Fd,{IndonesianTokenizer:()=>go,indonesianTokenizer:()=>Eo});var Td,Ld,go,Eo,Pd=b({"src/tokenizers/indonesian.ts"(){"use strict";Q(),zi(),ce(),me(),V9(),Td=new Set(["di","ke","dari","pada","dengan","tanpa","untuk","oleh","antara","sebelum","sesudah","setelah","selama","sampai","hingga","sejak","menuju","tentang","terhadap","melalui","dalam","luar"]),Ld=[{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"}],go=class extends ae{constructor(){super(),this.language="id",this.direction="ltr",this.initializeKeywordsFromProfile(vr,Ld),this.registerExtractors(pe()),this.registerExtractor(new ie),this.registerExtractor(new re),this.registerExtractors($9()),this.registerExtractor(new ue),this.registerExtractor(new oe)}classifyToken(e){let t=e.toLowerCase();return Td.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"}},Eo=new go}});function _d(e,t){let r=e.tokens;if(!r.some(n=>n.kind==="identifier"&&ko.test(n.value)))return e;let i=[];for(let n of r){let a=n.kind==="identifier"?ko.exec(n.value)?.[1]:void 0,u=a?t(a):[],o=u.length===1?u[0]:void 0;if(!a||o?.kind!=="keyword"||!Rd.has((o.normalized??"").toLowerCase())){i.push(n);continue}let s=n.position.start,l=s+a.length;i.push({...o,position:{start:s,end:l}}),i.push({value:"'",kind:"identifier",position:{start:l,end:l+1}}),i.push({value:"s",kind:"identifier",position:{start:l+1,end:l+2}})}return new Ce(i,e.language)}var Rd,ko,jd=b({"src/tokenizers/reference-possessive-split.ts"(){"use strict";hn(),Rd=new Set(["result","event","target","body","detail","document","window"]),ko=/^(.+)'s$/u}});function J1(e){let t=e.charCodeAt(0);return t>=65&&t<=90||t>=97&&t<=122?!0:e==="\xF1"||e==="\xD1"||e==="'"||e==="'"}function e2(e){for(let t of e)if(J1(t))return!0;return!1}var Od,Nd,Id,t2=b({"src/tokenizers/morphology/quechua-normalizer.ts"(){"use strict";Re(),Od=[{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}],Nd=class{constructor(){this.language="qu"}isNormalizable(e){return!(!e2(e)||e.length<3||!/[aiu]/.test(e.toLowerCase()))}normalize(e){let t=e.toLowerCase();for(let r of Od)if(t.endsWith(r.pattern)){let i=t.slice(0,-r.pattern.length);r.replacement&&!i.endsWith(r.replacement)&&(i=i+r.replacement);let n=r.minStemLength??2;if(i.length<n||!this.isValidStem(i))continue;let a={removedSuffixes:[r.pattern]};return r.conjugationType&&(a.conjugationType=r.conjugationType),B(i,r.confidence,a)}return Y(e)}isValidStem(e){return!(e.length<2||!/[aeiou]/.test(e)||new Set(["ta","man","pi","wan","pa","kama","hina"]).has(e))}},Id=new Nd}}),Md={};j(Md,{QuechuaTokenizer:()=>zo,quechuaTokenizer:()=>Co});var Wd,qd,$d,zo,Co,Vd=b({"src/tokenizers/quechua.ts"(){"use strict";Q(),jd(),Bi(),t2(),ce(),me(),J9(),Wd=class{constructor(){this.name="quechua-string-literal"}canExtract(e,t){return e[t]==='"'||e[t]==="'"||e[t]==="`"}extract(e,t){let r=e[t],i=r,n=t+1;for(;n<e.length;){let a=e[n];if(a===r)return i+=a,{value:i,length:i.length};a==="\\"&&n+1<e.length?(i+=a+e[n+1],n+=2):(i+=a,n++)}return null}},qd=new Set(["-ta","-man","-manta","-pi","-wan","-paq","-kama","-rayku","-hina","ta","man","manta","pi","wan","paq","kama","hina","pa"]),$d=[{native:"sanampa",normalized:"characters"},{native:"cheqaq",normalized:"true"},{native:"ar\xED",normalized:"true"},{native:"ari",normalized:"true"},{native:"llulla",normalized:"false"},{native:"manan",normalized:"false"},{native:"mana",normalized:"false"},{native:"ch'usaq",normalized:"null"},{native:"chusaq",normalized:"null"},{native:"mana riqsisqa",normalized:"undefined"},{native:"\xF1awpaqpi",normalized:"before"},{native:"nawpaqpi",normalized:"before"},{native:"qhepapi",normalized:"after"},{native:"qhipapi",normalized:"after"},{native:"\xF1awpaq",normalized:"first"},{native:"nawpaq",normalized:"first"},{native:"qhipa",normalized:"last"},{native:"hamuq",normalized:"next"},{native:"qhipantin",normalized:"next"},{native:"\xF1awpaqnin",normalized:"previous"},{native:"\xF1awpaq kaq",normalized:"previous"},{native:"\xF1awpaq_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:"ukupi_kan",normalized:"contains"},{native:"qaylla",normalized:"closest"},{native:"tayta",normalized:"parent"},{native:"llikllay",normalized:"click"},{native:"\xF1itiy",normalized:"click"},{native:"\xF1it'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\xF1itiy",normalized:"mousedown"},{native:"rathuqariy",normalized:"mouseup"},{native:"qhaway",normalized:"focus"},{native:"mana qhaway",normalized:"blur"},{native:"kargay",normalized:"load"},{native:"muyuy",normalized:"scroll"},{native:"\xF1uqa",normalized:"me"},{native:"nuqa",normalized:"me"},{native:"\xF1uqap",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"}],zo=class extends ae{constructor(){super(),this.language="qu",this.direction="ltr",this.initializeKeywordsFromProfile(wr,$d),this.setNormalizer(Id),this.registerExtractors(pe()),this.registerExtractor(new Wd),this.registerExtractor(new re),this.registerExtractor(Q9()),this.registerExtractor(new ue),this.registerExtractor(new oe)}tokenize(e){return _d(super.tokenize(e),t=>super.tokenize(t).tokens)}classifyToken(e){let t=e.toLowerCase();return qd.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"}},Co=new zo}}),Kd={};j(Kd,{SwahiliTokenizer:()=>wo,swahiliTokenizer:()=>Ao});var Hd,Ud,wo,Ao,Gd=b({"src/tokenizers/swahili.ts"(){"use strict";Q(),Fi(),ce(),me(),U9(),Hd=new Set(["kwa","na","katika","kwenye","kutoka","hadi","mpaka","kabla","baada","wakati","bila","kuhusu","karibu","mbele","nyuma","ndani","nje","juu","chini","kati"]),Ud=[{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"}],wo=class extends ae{constructor(){super(),this.language="sw",this.direction="ltr",this.initializeKeywordsFromProfile(xr,Ud),this.registerExtractors(pe()),this.registerExtractor(new ie),this.registerExtractor(new re),this.registerExtractors(H9()),this.registerExtractor(new ue),this.registerExtractor(new oe)}classifyToken(e){let t=e.toLowerCase();return Hd.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"}},Ao=new wo}});function r2(e){return/[\u00e0\u00e8\u00e9\u00ec\u00ed\u00ee\u00f2\u00f3\u00f9\u00fa\u00c0\u00c8\u00c9\u00cc\u00cd\u00ce\u00d2\u00d3\u00d9\u00da]/.test(e)}function i2(e){let t=e.toLowerCase();if(t.endsWith("are")||t.endsWith("ere")||t.endsWith("ire")||t.endsWith("ando")||t.endsWith("endo")||t.endsWith("ato")||t.endsWith("uto")||t.endsWith("ito")||t.endsWith("arsi")||t.endsWith("ersi")||t.endsWith("irsi"))return!0;for(let r of e)if(r2(r))return!0;return!1}var xo,Yd,Zd,Xd,Qd,bo,n2,a2=b({"src/tokenizers/morphology/italian-normalizer.ts"(){"use strict";Re(),xo=["si","mi","ti","ci","vi"],Yd=[{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:"\xF2",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"}],Zd=[{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:"\xE9",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"}],Xd=[{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:"\xEC",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"}],Qd=[...Yd,...Zd,...Xd].sort((e,t)=>t.ending.length-e.ending.length),bo=class{constructor(){this.language="it"}isNormalizable(e){return e.length<3?!1:i2(e)}normalize(e){let t=e.toLowerCase();if((t.endsWith("are")||t.endsWith("ere")||t.endsWith("ire"))&&!xo.some(n=>t.endsWith(n+"are")||t.endsWith(n+"ere")||t.endsWith(n+"ire")))return Y(e);let r=this.tryReflexiveNormalization(t);if(r)return r;let i=this.tryConjugationNormalization(t);return i||Y(e)}tryReflexiveNormalization(e){for(let t of xo)if(e.endsWith(t)){let r=e.slice(0,-t.length);if(r.endsWith("ar")||r.endsWith("er")||r.endsWith("ir")){let n=r+"e";return B(n,.88,{removedSuffixes:[t],conjugationType:"reflexive"})}if(r.endsWith("are")||r.endsWith("ere")||r.endsWith("ire"))return B(r,.88,{removedSuffixes:[t],conjugationType:"reflexive"});let i=this.tryConjugationNormalization(r);if(i&&i.stem!==r)return B(i.stem,i.confidence*.95,{removedSuffixes:[t,...i.metadata?.removedSuffixes||[]],conjugationType:"reflexive"})}return null}tryConjugationNormalization(e){for(let t of Qd)if(e.endsWith(t.ending)){let r=e.slice(0,-t.ending.length);if(r.length<2)continue;let i=r+t.stem;return B(i,t.confidence,{removedSuffixes:[t.ending],conjugationType:t.type})}return null}},n2=new bo}});function u2(e){return{isLetter:i=>e.test(i),isIdentifierChar:i=>/[0-9]/.test(i)||e.test(i)}}function o2(){return[new Jd("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]/,e4)]}var Jd,e4,s2=b({"src/tokenizers/extractors/romance-language-keyword.ts"(){"use strict";Jd=class{constructor(e,t,r){this.name=e;let i=u2(t);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 new Error(`${this.name}: context not set`);let r=t,i="";for(;r<e.length&&this.isIdentifierChar(e[r]);)i+=e[r++];if(!i)return null;let n=i.toLowerCase(),a=this.prepositions.has(n),u=this.context.lookupKeyword(n),o=u&&u.normalized!==u.native?u.normalized:void 0,s;if(!u&&this.context.normalizer){let l=this.context.normalizer.normalize(i);if(l.stem!==i&&l.confidence>=.7){let c=this.context.lookupKeyword(l.stem);c&&(s=c.normalized)}}return{value:i,length:r-t,metadata:{normalized:o||s,isPreposition:a}}}},e4=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"])}}),t4={};j(t4,{ItalianTokenizer:()=>Do,italianTokenizer:()=>Bo});var r4,i4,Do,Bo,n4=b({"src/tokenizers/italian.ts"(){"use strict";Q(),a2(),Ci(),ce(),me(),s2(),r4=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"]),i4=[{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\xF9",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:"\xE8",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"}],Do=class extends ae{constructor(){super(),this.language="it",this.direction="ltr",this.initializeKeywordsFromProfile(hr,i4),this.setNormalizer(new bo),this.registerExtractors(pe()),this.registerExtractor(new ie),this.registerExtractor(new re),this.registerExtractors(o2()),this.registerExtractor(new ue),this.registerExtractor(new oe)}classifyToken(e){let t=e.toLowerCase();return r4.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"}},Bo=new Do}});function a4(e){return e.kind==="literal"||e.kind==="selector"||e.kind==="reference"?!0:e.kind==="identifier"?/^[:$]?[\p{L}_][\p{L}\p{M}\p{N}_]*$/u.test(e.value):e.kind==="keyword"&&o4.has((e.normalized??"").toLowerCase())}function l2(e){return!!e&&(/^[([-]$/.test(e.value)||a4(e))}function c2(e){return!!e&&(e.value===")"||e.value==="]"||a4(e))}function u4(e,t,r){let i=e.tokens;if(!i.some(a=>a.value===t))return e;let n=[];return i.forEach((a,u)=>{if(a.value!==t||!l2(i[u+1])||c2(i[u-1])){n.push(a);return}let o=t.indexOf(" ");for(let[s,l]of[[t.slice(0,o),0],[t.slice(o+1),o+1]]){let c=a.position.start+l;for(let p of r(s))n.push({...p,position:{start:p.position.start+c,end:p.position.end+c}})}}),new Ce(n,e.language)}var o4,s4=b({"src/tokenizers/if-not-split.ts"(){"use strict";hn(),o4=new Set(["true","false","null","undefined","me","my","it","its","you","your","result","event","target","body"])}}),l4={};j(l4,{VietnameseTokenizer:()=>So,vietnameseTokenizer:()=>Fo});var c4,So,Fo,p4=b({"src/tokenizers/vietnamese.ts"(){"use strict";s4(),Q(),Ri(),g9(),ce(),me(),c4=[{native:"\u0111\xFAng",normalized:"true"},{native:"sai",normalized:"false"},{native:"null",normalized:"null"},{native:"r\u1ED7ng",normalized:"null"},{native:"kh\xF4ng x\xE1c \u0111\u1ECBnh",normalized:"undefined"},{native:"\u0111\u1EA7u ti\xEAn",normalized:"first"},{native:"cu\u1ED1i c\xF9ng",normalized:"last"},{native:"ti\u1EBFp theo",normalized:"next"},{native:"tr\u01B0\u1EDBc \u0111\xF3",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\xFAp",normalized:"dblclick"},{native:"nh\u1EADp",normalized:"input"},{native:"thay \u0111\u1ED5i",normalized:"change"},{native:"g\u1EEDi bi\u1EC3u m\u1EABu",normalized:"submit"},{native:"ph\xEDm xu\u1ED1ng",normalized:"keydown"},{native:"ph\xEDm l\xEAn",normalized:"keyup"},{native:"chu\u1ED9t v\xE0o",normalized:"mouseover"},{native:"chu\u1ED9t ra",normalized:"mouseout"},{native:"t\u1EA3i trang",normalized:"load"},{native:"cu\u1ED9n",normalized:"scroll"},{native:"c\u1EE7a t\xF4i",normalized:"my"},{native:"c\u1EE7a n\xF3",normalized:"its"},{native:"gi\xE2y",normalized:"s"},{native:"mili gi\xE2y",normalized:"ms"},{native:"ph\xFAt",normalized:"m"},{native:"gi\u1EDD",normalized:"h"},{native:"th\xEAm v\xE0o cu\u1ED1i",normalized:"append"},{native:"nh\xE2n b\u1EA3n",normalized:"clone"},{native:"t\u1EA1o ra",normalized:"make"},{native:"\u0111\u1EB7t gi\xE1 tr\u1ECB",normalized:"set"},{native:"gi\xE1 tr\u1ECB",normalized:"value"},{native:"ghi nh\u1EADt k\xFD",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\xF4ng",normalized:"not"},{native:"l\xE0",normalized:"is"},{native:"t\u1ED3n t\u1EA1i",normalized:"exists"},{native:"javascript",normalized:"js"},{native:"bao g\u1ED3m",normalized:"inclusive"},{native:"lo\u1EA1i tr\u1EEB",normalized:"exclusive"},{native:"k\xFD t\u1EF1",normalized:"characters"},{native:"ng\u1EABu nhi\xEAn",normalized:"random"}],So=class extends ae{constructor(){super(),this.language="vi",this.direction="ltr",this.initializeKeywordsFromProfile(Fr,c4),this.registerExtractors(pe()),this.registerExtractor(new ie),this.registerExtractor(new re),this.registerExtractors(h9()),this.registerExtractor(new ue),this.registerExtractor(new oe)}tokenize(e){return u4(super.tokenize(e),"n\u1EBFu kh\xF4ng",t=>super.tokenize(t).tokens)}classifyToken(e){let 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"}},Fo=new So}}),To,Lo,p2,m2=b({"src/tokenizers/morphology/polish-normalizer.ts"(){"use strict";Re(),To=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\xF3rz","tworzy\u0107"],["utworz","tworzyc"],["stw\xF3rz","stwarza\u0107"],["stworz","stwarzac"],["skup","skupia\u0107"],["rozmyj","rozmywa\u0107"],["nawiguj","nawigowa\u0107"],["za\u0142aduj","\u0142adowa\u0107"],["zaladuj","ladowac"],["powt\xF3rz","powtarza\u0107"],["powtorz","powtarzac"],["kontynuuj","kontynuowa\u0107"],["zatrzymaj","zatrzymywa\u0107"],["przerwij","przerywa\u0107"],["rzu\u0107","rzuca\u0107"],["rzuc","rzucac"],["zwr\xF3\u0107","zwraca\u0107"],["zwroc","zwracac"],["inicjuj","inicjowa\u0107"],["zainstaluj","instalowa\u0107"],["zmierz","mierzy\u0107"]]),Lo=class{constructor(){this.language="pl"}isNormalizable(e){return e.length<3?!1:/[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){let t=e.toLowerCase();if(this.isInfinitive(t))return Y(t);let r=this.tryImperativeNormalization(t);if(r)return r;let i=this.tryPastTenseNormalization(t);if(i)return i;let n=this.tryPresentTenseNormalization(t);return n||Y(t)}isInfinitive(e){return["a\u0107","e\u0107","i\u0107","y\u0107","\u0105\u0107","owa\u0107","iwa\u0107","ywa\u0107"].some(r=>e.endsWith(r))}tryImperativeNormalization(e){return To.has(e)?B(To.get(e),.95,{removedSuffixes:["imperative"],conjugationType:"imperative"}):e.endsWith("aj")?B(e.slice(0,-2)+"a\u0107",.8,{removedSuffixes:["aj"],conjugationType:"imperative"}):e.endsWith("uj")?B(e.slice(0,-2)+"owa\u0107",.8,{removedSuffixes:["uj"],conjugationType:"imperative"}):e.endsWith("ij")?B(e.slice(0,-2)+"i\u0107",.75,{removedSuffixes:["ij"],conjugationType:"imperative"}):null}tryPresentTenseNormalization(e){return e.endsWith("uj\u0119")||e.endsWith("uje")?B(e.slice(0,-3)+"owa\u0107",.85,{removedSuffixes:["uj\u0119"],conjugationType:"present"}):e.endsWith("am")&&e.length>3?B(e.slice(0,-2)+"a\u0107",.8,{removedSuffixes:["am"],conjugationType:"present"}):e.endsWith("em")&&e.length>3?B(e.slice(0,-2)+"e\u0107",.75,{removedSuffixes:["em"],conjugationType:"present"}):e.endsWith("\u0119")&&e.length>2?B(e.slice(0,-1)+"a\u0107",.7,{removedSuffixes:["\u0119"],conjugationType:"present"}):null}tryPastTenseNormalization(e){if(e.endsWith("a\u0142em")||e.endsWith("a\u0142am"))return B(e.slice(0,-4)+"a\u0107",.85,{removedSuffixes:[e.slice(-4)],conjugationType:"past"});if(e.endsWith("a\u0142")||e.endsWith("a\u0142a")){let t=e.endsWith("a\u0142a")?3:2;return B(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 B(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")){let t=e.endsWith("i\u0142a")||e.endsWith("ila")?3:2;return B(e.slice(0,-t)+"i\u0107",.8,{removedSuffixes:[e.slice(-t)],conjugationType:"past"})}return null}},p2=new Lo}}),m4={};j(m4,{PolishTokenizer:()=>Po,polishTokenizer:()=>_o});var d4,y4,Po,_o,f4=b({"src/tokenizers/polish.ts"(){"use strict";Q(),bi(),m2(),ce(),me(),W9(),d4=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\xF3d","wsrod","obok","poza","wok\xF3\u0142","wokol","przeciw","ku"]),y4=[{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:"r\xF3wna si\u0119",normalized:"equals"},{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\xF3j",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\xF3\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"}],Po=class extends ae{constructor(){super(),this.language="pl",this.direction="ltr",this.initializeKeywordsFromProfile(zr,y4),this.setNormalizer(new Lo),this.registerExtractors(pe()),this.registerExtractor(new ie),this.registerExtractor(new re),this.registerExtractors(M9()),this.registerExtractor(new ue),this.registerExtractor(new oe)}classifyToken(e){let t=e.toLowerCase();return d4.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"}},_o=new Po}});function d2(e){return/[\u0430-\u044f\u0410-\u042f\u0451\u0401]/.test(e)}function y2(e){for(let t of e)if(d2(t))return!0;return!1}var Ro,jo,f2,v2=b({"src/tokenizers/morphology/russian-normalizer.ts"(){"use strict";Re(),Ro=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"]]),jo=class{constructor(){this.language="ru"}isNormalizable(e){return e.length<3?!1:y2(e)}normalize(e){let t=e.toLowerCase();if(t.endsWith("\u0441\u044F")||t.endsWith("\u0441\u044C")){let u=this.tryReflexiveNormalization(t);if(u)return u}if(t.endsWith("\u0442\u044C")||t.endsWith("\u0442\u0438")||t.endsWith("\u0447\u044C"))return Y(e);let r=this.tryImperativeLookup(t);if(r)return r;let i=this.tryPastTenseNormalization(t);if(i)return i;let n=this.tryPresentTenseNormalization(t);if(n)return n;let a=this.tryGenericImperativeNormalization(t);return a||Y(e)}tryReflexiveNormalization(e){let t=(e.endsWith("\u0441\u044F"),2),r=e.slice(0,-t);if(e.endsWith("\u0442\u044C\u0441\u044F")||e.endsWith("\u0442\u0438\u0441\u044C")||e.endsWith("\u0447\u044C\u0441\u044F"))return Y(e);let i=this.normalizeNonReflexive(r);if(i.confidence<1){let n=i.stem.endsWith("\u0442\u044C")?i.stem.slice(0,-2)+"\u0442\u044C\u0441\u044F":i.stem+"\u0441\u044F";return B(n,i.confidence*.95,{removedSuffixes:["\u0441\u044F",...i.metadata?.removedSuffixes||[]],conjugationType:"reflexive"})}return null}normalizeNonReflexive(e){if(e.endsWith("\u0442\u044C")||e.endsWith("\u0442\u0438")||e.endsWith("\u0447\u044C"))return Y(e);let t=this.tryImperativeLookup(e);if(t)return t;let r=this.tryPastTenseNormalization(e);if(r)return r;let i=this.tryPresentTenseNormalization(e);if(i)return i;let n=this.tryGenericImperativeNormalization(e);return n||Y(e)}tryImperativeLookup(e){return Ro.has(e)?B(Ro.get(e),.95,{removedSuffixes:["imperative"],conjugationType:"imperative"}):null}tryGenericImperativeNormalization(e){return e.endsWith("\u0439\u0442\u0435")&&e.length>5?B(e.slice(0,-3)+"\u0442\u044C",.8,{removedSuffixes:["\u0439\u0442\u0435"],conjugationType:"imperative"}):e.endsWith("\u0438\u0442\u0435")&&e.length>5?B(e.slice(0,-3)+"\u0438\u0442\u044C",.8,{removedSuffixes:["\u0438\u0442\u0435"],conjugationType:"imperative"}):e.endsWith("\u0439")&&e.length>3?B(e.slice(0,-1)+"\u0442\u044C",.75,{removedSuffixes:["\u0439"],conjugationType:"imperative"}):e.endsWith("\u0438")&&e.length>3?B(e+"\u0442\u044C",.7,{removedSuffixes:["\u0438\u2192\u0438\u0442\u044C"],conjugationType:"imperative"}):null}tryPastTenseNormalization(e){return e.endsWith("\u0430\u043B\u0430")&&e.length>4?B(e.slice(0,-3)+"\u0430\u0442\u044C",.85,{removedSuffixes:["\u0430\u043B\u0430"],conjugationType:"past"}):e.endsWith("\u0438\u043B\u0430")&&e.length>4?B(e.slice(0,-3)+"\u0438\u0442\u044C",.85,{removedSuffixes:["\u0438\u043B\u0430"],conjugationType:"past"}):e.endsWith("\u0435\u043B\u043E")&&e.length>4?B(e.slice(0,-3)+"\u0435\u0442\u044C",.82,{removedSuffixes:["\u0435\u043B\u043E"],conjugationType:"past"}):e.endsWith("\u0430\u0431\u043E")&&e.length>4?B(e.slice(0,-3)+"\u0430\u0442\u044C",.82,{removedSuffixes:["\u0430\u0431\u043E"],conjugationType:"past"}):e.endsWith("\u0430\u043B\u0438")&&e.length>4?B(e.slice(0,-3)+"\u0430\u0442\u044C",.85,{removedSuffixes:["\u0430\u043B\u0438"],conjugationType:"past"}):e.endsWith("\u0438\u043B\u0438")&&e.length>4?B(e.slice(0,-3)+"\u0438\u0442\u044C",.85,{removedSuffixes:["\u0438\u043B\u0438"],conjugationType:"past"}):e.endsWith("\u0430\u043B")&&e.length>3?B(e.slice(0,-2)+"\u0430\u0442\u044C",.82,{removedSuffixes:["\u0430\u043B"],conjugationType:"past"}):e.endsWith("\u0438\u043B")&&e.length>3?B(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?B(e.slice(0,-3)+"\u0438\u0442\u044C",.8,{removedSuffixes:["\u0438\u0448\u044C"],conjugationType:"present"}):e.endsWith("\u0438\u0442")&&e.length>3?B(e.slice(0,-2)+"\u0438\u0442\u044C",.78,{removedSuffixes:["\u0438\u0442"],conjugationType:"present"}):e.endsWith("\u0438\u043C")&&e.length>3?B(e.slice(0,-2)+"\u0438\u0442\u044C",.78,{removedSuffixes:["\u0438\u043C"],conjugationType:"present"}):e.endsWith("\u044F\u0442")&&e.length>3?B(e.slice(0,-2)+"\u0438\u0442\u044C",.78,{removedSuffixes:["\u044F\u0442"],conjugationType:"present"}):e.endsWith("\u0435\u0448\u044C")&&e.length>4?B(e.slice(0,-3)+"\u0430\u0442\u044C",.75,{removedSuffixes:["\u0435\u0448\u044C"],conjugationType:"present"}):e.endsWith("\u0435\u0442")&&e.length>3?B(e.slice(0,-2)+"\u0430\u0442\u044C",.72,{removedSuffixes:["\u0435\u0442"],conjugationType:"present"}):e.endsWith("\u0435\u043C")&&e.length>3?B(e.slice(0,-2)+"\u0430\u0442\u044C",.72,{removedSuffixes:["\u0435\u043C"],conjugationType:"present"}):e.endsWith("\u044E\u0442")&&e.length>3?B(e.slice(0,-2)+"\u0430\u0442\u044C",.75,{removedSuffixes:["\u044E\u0442"],conjugationType:"present"}):e.endsWith("\u0443\u0442")&&e.length>3?B(e.slice(0,-2)+"\u0430\u0442\u044C",.72,{removedSuffixes:["\u0443\u0442"],conjugationType:"present"}):null}},f2=new jo}}),v4={};j(v4,{RussianTokenizer:()=>Oo,russianTokenizer:()=>No});var h4,g4,Oo,No,E4=b({"src/tokenizers/russian.ts"(){"use strict";Q(),v2(),Si(),ce(),me(),Tp(),Ct(),h4=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"]),g4=[{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"}],Oo=class extends ae{constructor(){super(),this.language="ru",this.direction="ltr",this.initializeKeywordsFromProfile(Ar,g4),this.setNormalizer(new jo),this.registerExtractors([...pe(),...w9(),new ie,new re,new pt,new ue,new oe])}classifyToken(e){let t=e.toLowerCase();return h4.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"}},No=new Oo}});function h2(e){return/[\u0430-\u044f\u0410-\u042f\u0456\u0406\u0457\u0407\u0454\u0404\u0491\u0490\u044c\u042c']/.test(e)}var Io,Mo,g2,E2=b({"src/tokenizers/morphology/ukrainian-normalizer.ts"(){"use strict";Re(),Io=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"]]),Mo=class{constructor(){this.language="uk"}isNormalizable(e){return e.length<3?!1:h2(e)}normalize(e){let t=e.toLowerCase();if(t.endsWith("\u0441\u044F")||t.endsWith("\u0441\u044C")){let u=this.tryReflexiveNormalization(t);if(u)return u}if(t.endsWith("\u0442\u0438")||t.endsWith("\u0447\u0438"))return Y(e);let r=this.tryImperativeLookup(t);if(r)return r;let i=this.tryPastTenseNormalization(t);if(i)return i;let n=this.tryPresentTenseNormalization(t);if(n)return n;let a=this.tryGenericImperativeNormalization(t);return a||Y(e)}tryReflexiveNormalization(e){let t=e.slice(0,-2);if(e.endsWith("\u0442\u0438\u0441\u044F")||e.endsWith("\u0447\u0438\u0441\u044F"))return Y(e);let r=this.normalizeNonReflexive(t);if(r.confidence<1){let i=r.stem.endsWith("\u0442\u0438")?r.stem.slice(0,-2)+"\u0442\u0438\u0441\u044F":r.stem+"\u0441\u044F";return B(i,r.confidence*.95,{removedSuffixes:["\u0441\u044F",...r.metadata?.removedSuffixes||[]],conjugationType:"reflexive"})}return null}normalizeNonReflexive(e){if(e.endsWith("\u0442\u0438")||e.endsWith("\u0447\u0438"))return Y(e);let t=this.tryImperativeLookup(e);if(t)return t;let r=this.tryPastTenseNormalization(e);if(r)return r;let i=this.tryPresentTenseNormalization(e);if(i)return i;let n=this.tryGenericImperativeNormalization(e);return n||Y(e)}tryImperativeLookup(e){return Io.has(e)?B(Io.get(e),.95,{removedSuffixes:["imperative"],conjugationType:"imperative"}):null}tryGenericImperativeNormalization(e){return e.endsWith("\u0439\u0442\u0435")&&e.length>5?B(e.slice(0,-3)+"\u0442\u0438",.8,{removedSuffixes:["\u0439\u0442\u0435"],conjugationType:"imperative"}):e.endsWith("\u0456\u0442\u044C")&&e.length>5?B(e.slice(0,-3)+"\u0438\u0442\u0438",.8,{removedSuffixes:["\u0456\u0442\u044C"],conjugationType:"imperative"}):e.endsWith("\u0439")&&e.length>3?B(e.slice(0,-1)+"\u0442\u0438",.75,{removedSuffixes:["\u0439"],conjugationType:"imperative"}):e.endsWith("\u0438")&&e.length>3?B(e+"\u0442\u0438",.7,{removedSuffixes:["\u0438\u2192\u0438\u0442\u0438"],conjugationType:"imperative"}):null}tryPastTenseNormalization(e){return e.endsWith("\u0430\u043B\u0430")&&e.length>4?B(e.slice(0,-3)+"\u0430\u0442\u0438",.85,{removedSuffixes:["\u0430\u043B\u0430"],conjugationType:"past"}):e.endsWith("\u0438\u043B\u0430")&&e.length>4?B(e.slice(0,-3)+"\u0438\u0442\u0438",.85,{removedSuffixes:["\u0438\u043B\u0430"],conjugationType:"past"}):e.endsWith("\u0430\u043B\u0438")&&e.length>4?B(e.slice(0,-3)+"\u0430\u0442\u0438",.85,{removedSuffixes:["\u0430\u043B\u0438"],conjugationType:"past"}):e.endsWith("\u0438\u043B\u0438")&&e.length>4?B(e.slice(0,-3)+"\u0438\u0442\u0438",.85,{removedSuffixes:["\u0438\u043B\u0438"],conjugationType:"past"}):e.endsWith("\u0430\u0432")&&e.length>3?B(e.slice(0,-2)+"\u0430\u0442\u0438",.82,{removedSuffixes:["\u0430\u0432"],conjugationType:"past"}):e.endsWith("\u0438\u0432")&&e.length>3?B(e.slice(0,-2)+"\u0438\u0442\u0438",.82,{removedSuffixes:["\u0438\u0432"],conjugationType:"past"}):null}tryPresentTenseNormalization(e){return e.endsWith("\u0438\u0448")&&e.length>3?B(e.slice(0,-2)+"\u0438\u0442\u0438",.8,{removedSuffixes:["\u0438\u0448"],conjugationType:"present"}):e.endsWith("\u0438\u0442\u044C")&&e.length>4?B(e.slice(0,-3)+"\u0438\u0442\u0438",.78,{removedSuffixes:["\u0438\u0442\u044C"],conjugationType:"present"}):e.endsWith("\u0438\u043C\u043E")&&e.length>4?B(e.slice(0,-3)+"\u0438\u0442\u0438",.8,{removedSuffixes:["\u0438\u043C\u043E"],conjugationType:"present"}):e.endsWith("\u044F\u0442\u044C")&&e.length>4?B(e.slice(0,-3)+"\u0438\u0442\u0438",.78,{removedSuffixes:["\u044F\u0442\u044C"],conjugationType:"present"}):e.endsWith("\u0454\u0448")&&e.length>3?B(e.slice(0,-2)+"\u0430\u0442\u0438",.78,{removedSuffixes:["\u0454\u0448"],conjugationType:"present"}):e.endsWith("\u0435\u0448")&&e.length>3?B(e.slice(0,-2)+"\u0430\u0442\u0438",.75,{removedSuffixes:["\u0435\u0448"],conjugationType:"present"}):e.endsWith("\u0454")&&e.length>2?B(e.slice(0,-1)+"\u0430\u0442\u0438",.72,{removedSuffixes:["\u0454"],conjugationType:"present"}):e.endsWith("\u0454\u043C\u043E")&&e.length>4?B(e.slice(0,-3)+"\u0430\u0442\u0438",.8,{removedSuffixes:["\u0454\u043C\u043E"],conjugationType:"present"}):e.endsWith("\u044E\u0442\u044C")&&e.length>4?B(e.slice(0,-3)+"\u0430\u0442\u0438",.78,{removedSuffixes:["\u044E\u0442\u044C"],conjugationType:"present"}):e.endsWith("\u0443\u0442\u044C")&&e.length>4?B(e.slice(0,-3)+"\u0430\u0442\u0438",.75,{removedSuffixes:["\u0443\u0442\u044C"],conjugationType:"present"}):null}},g2=new Mo}}),k4={};j(k4,{UkrainianTokenizer:()=>Wo,ukrainianTokenizer:()=>qo});var z4,C4,Wo,qo,w4=b({"src/tokenizers/ukrainian.ts"(){"use strict";Q(),jd(),E2(),_i(),ce(),me(),Tp(),Ct(),z4=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"]),C4=[{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"}],Wo=class extends ae{constructor(){super(),this.language="uk",this.direction="ltr",this.initializeKeywordsFromProfile(Sr,C4),this.setNormalizer(new Mo),this.registerExtractors([...pe(),...A9(),new ie,new re,new pt,new ue,new oe])}tokenize(e){return _d(super.tokenize(e),t=>super.tokenize(t).tokens)}classifyToken(e){let t=e.toLowerCase();return z4.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"}},qo=new Wo}}),A4={};j(A4,{HebrewTokenizer:()=>$o,hebrewTokenizer:()=>Vo});var x4,b4,$o,Vo,D4=b({"src/tokenizers/he.ts"(){"use strict";Q(),Ei(),ce(),me(),t1(),i1(),Ct(),x4=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"]),b4=[{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"}],$o=class extends ae{constructor(){super(),this.language="he",this.direction="rtl",this.initializeKeywordsFromProfile(yr,b4),this.registerExtractors(pe()),this.registerExtractor(new ie),this.registerExtractor(new re),this.registerExtractor(new pt),this.registerExtractor(r1()),this.registerExtractors(e1()),this.registerExtractor(new ue),this.registerExtractor(new oe)}classifyToken(e){return x4.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"}},Vo=new $o}});function B4(e){return/[\u0900-\u097F\u0A8E-\u0A8F]/u.test(e)}var S4,Ko,k2,z2=b({"src/tokenizers/morphology/hindi-normalizer.ts"(){"use strict";Re(),S4=[{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}],Ko=class{constructor(){this.language="hi"}isNormalizable(e){return e.length<2?!1:B4(e)}normalize(e){let t=this.tryConjugationNormalization(e);return t||Y(e)}tryConjugationNormalization(e){for(let t of S4)if(e.endsWith(t.suffix)){let r=Array.from(e),i=Array.from(t.suffix),n=r.slice(0,r.length-i.length),a=n.join("")+t.replacement,u=t.minStemLength??1;if(n.length<u||a.length>0&&!B4(a))continue;return B(a,t.confidence,{removedSuffixes:[t.suffix],conjugationType:t.type})}return null}},k2=new Ko}}),F4={};j(F4,{HindiTokenizer:()=>Ho,hindiTokenizer:()=>Uo});var T4,L4,Ho,Uo,P4=b({"src/tokenizers/hindi.ts"(){"use strict";Q(),z2(),ki(),ce(),me(),x9(),b9(),Ct(),T4=new Set(["\u0915\u094B","\u092E\u0947\u0902","\u092A\u0930","\u0938\u0947","\u0915\u093E","\u0915\u0940","\u0915\u0947","\u0924\u0915","\u0928\u0947"]),L4=[{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:"\u092E\u0947\u0902_\u0939\u0948",normalized:"includes"},{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"}],Ho=class extends ae{constructor(){super(),this.language="hi",this.direction="ltr",this.initializeKeywordsFromProfile(fr,L4),this.normalizer=new Ko,this.registerExtractors(pe()),this.registerExtractor(new ie),this.registerExtractor(new re),this.registerExtractor(new Pp),this.registerExtractor(new Lp),this.registerExtractor(new pt),this.registerExtractor(new ue),this.registerExtractor(new oe)}classifyToken(e){return T4.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")}},Uo=new Ho}});function _4(e){return/[\u0980-\u09FF]/u.test(e)}var R4,j4,O4,C2=b({"src/tokenizers/morphology/bengali-normalizer.ts"(){"use strict";Re(),R4=[{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}],j4=class{constructor(){this.language="bn"}isNormalizable(e){return e.length<2?!1:_4(e)}normalize(e){let t=this.tryConjugationNormalization(e);return t||Y(e)}tryConjugationNormalization(e){for(let t of R4)if(e.endsWith(t.suffix)){let r=Array.from(e),i=Array.from(t.suffix),n=r.slice(0,r.length-i.length),a=n.join("")+t.replacement,u=t.minStemLength??1;if(n.length<u||a.length>0&&!_4(a))continue;return B(a,t.confidence,{removedSuffixes:[t.suffix],conjugationType:t.type})}return null}},O4=new j4}}),N4={};j(N4,{BengaliTokenizer:()=>Go,bengaliTokenizer:()=>Yo});var I4,M4,Go,Yo,W4=b({"src/tokenizers/bengali.ts"(){"use strict";s4(),Q(),C2(),fi(),ce(),me(),D9(),B9(),Ct(),I4=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"]),M4=[{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"}],Go=class extends ae{constructor(){super(),this.language="bn",this.direction="ltr",this.initializeKeywordsFromProfile(cr,M4),this.setNormalizer(O4),this.registerExtractors(pe()),this.registerExtractor(new ie),this.registerExtractor(new re),this.registerExtractor(new jp),this.registerExtractor(new Rp),this.registerExtractor(new pt),this.registerExtractor(new ue),this.registerExtractor(new oe)}tokenize(e){return u4(super.tokenize(e),"\u09AF\u09A6\u09BF \u09A8\u09BE",t=>super.tokenize(t).tokens)}classifyToken(e){return I4.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")}},Yo=new Go}}),q4={};j(q4,{ThaiTokenizer:()=>Zo,thaiTokenizer:()=>Xo});var $4,Zo,Xo,V4=b({"src/tokenizers/thai.ts"(){"use strict";Q(),Ti(),ce(),me(),F9(),$4=[{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"}],Zo=class extends ae{constructor(){super(),this.language="th",this.direction="ltr",this.initializeKeywordsFromProfile(br,$4),this.registerExtractors(pe()),this.registerExtractor(new ie),this.registerExtractor(new re),this.registerExtractors(S9()),this.registerExtractor(new ue),this.registerExtractor(new oe)}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"}},Xo=new Zo}}),K4={};j(K4,{MalayTokenizer:()=>Qo,malayTokenizer:()=>Jo});var H4,Qo,Jo,U4=b({"src/tokenizers/ms.ts"(){"use strict";Q(),xi(),ce(),me(),_9(),H4=[{native:"benar",normalized:"true"},{native:"salah",normalized:"false"},{native:"kosong",normalized:"empty"},{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"}],Qo=class extends ae{constructor(){super(),this.language="ms",this.direction="ltr",this.initializeKeywordsFromProfile(kr,H4),this.registerExtractors(pe()),this.registerExtractor(new ie),this.registerExtractor(new re),this.registerExtractors(P9()),this.registerExtractor(new ue),this.registerExtractor(new oe)}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"}},Jo=new Qo}});function w2(e){let t=e.charCodeAt(0);return t>=65&&t<=90||t>=97&&t<=122?!0:e==="\xF1"||e==="\xD1"}function A2(e){for(let t of e)if(w2(t))return!0;return!1}function x2(e){let t=e.toLowerCase();if(t.length<5)return null;let r=0;for(let i=0;i<t.length;i++){let n=t[i];if(!"aeiou".includes(n))r=i+1;else break}if(r===0)return null;for(let i of Z4){let n=r;if(t.slice(n,n+i.length)===i){let a=t.slice(0,r)+t.slice(n+i.length);if(a.length>=3)return{stem:a,infix:i}}}return null}function b2(e){let t=e.toLowerCase();if(t.length<4)return{stem:t,reduplicated:!1};let r=t[0],i=t[1];if(!"aeiou".includes(r)&&"aeiou".includes(i)){let n=t.slice(2);if(n.length>=2&&n[0]===r)return{stem:n,reduplicated:!0}}return{stem:t,reduplicated:!1}}var G4,Y4,Z4,X4,Q4,J4,D2=b({"src/tokenizers/morphology/tagalog-normalizer.ts"(){"use strict";Re(),G4=[{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}],Y4=[{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}],Z4=["um","in"],X4=[{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"}],Q4=class{constructor(){this.language="tl"}isNormalizable(e){return!(!A2(e)||e.length<2)}normalize(e){let t=e.toLowerCase(),r=1,i=[],n=[],a=[];for(let l of G4)if(t.startsWith(l.pattern)){let c=t.slice(l.pattern.length),p=l.minRemaining??2;if(c.length>=p){t=c,r-=l.confidencePenalty,i.push(l.pattern),a.push(`prefix:${l.pattern}`);break}}if(i.length===0){for(let l of Y4)if(t.startsWith(l.pattern)){let c=t.slice(l.pattern.length),p=l.minRemaining??2;if(c.length>=p){t=c,r-=l.confidencePenalty,i.push(l.pattern),a.push(`prefix:${l.pattern}`);break}}}let u=b2(t);u.reduplicated&&u.stem.length>=2&&(t=u.stem,r-=.1,a.push("reduplication:CV"));let o=x2(t),s=!1;if(o&&o.stem.length>=2&&(t=o.stem,r-=.18,a.push(`infix:${o.infix}`),s=!0),!s){for(let l of X4)if(t.endsWith(l.pattern)){let c=t.slice(0,-l.pattern.length);if(c.length>=2){t=c,r-=l.confidencePenalty,n.push(l.pattern),a.push(`suffix:${l.pattern}`);break}}}return r=Math.max(.5,r),i.length===0&&n.length===0&&a.length===0?Y(e):B(t,r,{removedPrefixes:i,removedSuffixes:n,appliedRules:a})}},J4=new Q4}}),ey={};j(ey,{TagalogTokenizer:()=>es,tagalogTokenizer:()=>ts});var ty,es,ts,ry=b({"src/tokenizers/tl.ts"(){"use strict";Q(),Li(),D2(),ce(),me(),N9(),ty=[{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"}],es=class extends ae{constructor(){super(),this.language="tl",this.direction="ltr",this.initializeKeywordsFromProfile(Dr,ty),this.setNormalizer(J4),this.registerExtractors(pe()),this.registerExtractor(new ie),this.registerExtractor(new re),this.registerExtractors(O9()),this.registerExtractor(new ue),this.registerExtractor(new oe)}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"}},ts=new es}});function rs(e,t){let r=it[t];return r&&r[e]?r[e]:e.toLowerCase()}function B2(e,t){let r=it[t];return r?Object.keys(r).filter(i=>r[i]===e):[]}function S2(){return us}function is(e,t){return us[t]?.has(e)?e:iy[t]?.[e]??e}function F2(){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","expression"]},{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}}}]}function T2(){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}}}]}function L2(){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}}}]}function P2(){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}}}]}function _2(){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}}}]}function R2(){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:"\xE0 {event} {body}",tokens:[{type:"literal",value:"\xE0",alternatives:["au"]},{type:"role",role:"event"}]},extraction:{event:{position:1}}}]}function j2(){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}}}]}function O2(){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}}}]}function N2(){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}}}]}function I2(){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"}}}]}function M2(){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"}}}}]}function W2(){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:["\xE0"]},{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:["\xE0"]},{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}}}]}function q2(){return[{id:"event-qu-maykama",language:"qu",command:"on",priority:115,template:{format:"[{source} manta] maykama {event} {body}",tokens:[{type:"group",optional:!0,tokens:[{type:"role",role:"source",expectedTypes:["selector","reference","expression"]},{type:"literal",value:"manta",alternatives:["-manta"]}]},{type:"literal",value:"maykama"},{type:"role",role:"event"}]},extraction:{event:{position:2},source:{position:0}}},{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}}}]}function $2(){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"}}}}]}function V2(){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}}}]}function K2(){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}}}]}function ns(e){let 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=>{let n={type:"literal",value:i==="before"?e.before:e.after},a={type:"role",role:"patient"},u={type:"role",role:"destination"},o={type:"role",role:"event"},s=e.order==="verb-first"?[t,a,n,u,r,o]:[r,o,t,a,n,u],l=e.order==="verb-first"?{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}}};return{id:`put-event-${e.lang}-vso-${i}`,language:e.lang,command:"on",priority:160,template:{format:`${e.lang} put ${i}`,tokens:s},extraction:l}})}function H2(){return[...ns({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}}}]}function U2(){return[...ns({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"}}}}]}function G2(){return[{id:"event-handler-vi-full",language:"vi",command:"on",priority:100,template:{format:"khi {event} tr\xEAn {source}",tokens:[{type:"literal",value:"khi",alternatives:["l\xFAc","tr\xEAn"]},{type:"role",role:"event"},{type:"group",optional:!0,tokens:[{type:"literal",value:"tr\xEAn",alternatives:["t\u1EA1i"]},{type:"role",role:"source"}]}]},extraction:{event:{position:1},source:{marker:"tr\xEAn",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\xFAc","tr\xEAn"]},{type:"role",role:"event"}]},extraction:{event:{position:1},source:{default:{type:"reference",value:"me"}}}}]}function Y2(){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}}}]}function Z2(){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}}}]}function X2(){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}}}]}function Q2(){return[...ns({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}}}]}function J2(){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}}}]}function as(e){switch(e){case"bn":return T2();case"ko":return F2();case"de":return L2();case"en":return P2();case"es":return _2();case"fr":return R2();case"hi":return j2();case"id":return O2();case"it":return N2();case"ms":return I2();case"pl":return M2();case"pt":return W2();case"qu":return q2();case"ru":return $2();case"sw":return V2();case"th":return K2();case"tl":return H2();case"uk":return U2();case"vi":return G2();case"zh":return Y2();case"ja":return Z2();case"tr":return X2();case"ar":return Q2();case"he":return J2();default:return[]}}var it,iy,us,Ir=b({"src/patterns/event-handler.ts"(){"use strict";it={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\xF3n encima":"mouseover","rat\xF3n 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 \xFCber":"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\xFCber":"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","\xF1it'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\xEDch th\u01B0\u1EDBc":"resize"}},iy=Object.fromEntries(Object.entries(it).map(([e,t])=>{let r={};for(let[i,n]of Object.entries(t))n in r||(r[n]=i);return[e,r]})),us={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 ny(e,t){let r=t==="SOV"?"sovPosition":"svoPosition";return[...e].sort((i,n)=>{let a=i[r]??99,u=n[r]??99;return a-u})}var ek=b({"src/parser/utils/role-positioning.ts"(){"use strict"}});function Mr(e,t){let r,i;if(e.markerOverride&&e.markerOverride[t.code]!==void 0)r=e.markerOverride[t.code],i=r?zt(e,t.code,r):void 0;else{let n=t.roleMarkers[e.role];if(n){r=n.primary;let a=zt(e,t.code,r)??[],u=[...new Set([...n.alternatives??[],...a])].filter(o=>o!==r);i=u.length?u:void 0}}return{marker:r,alternatives:i}}function Mi(e,t,r){r.roles.find(n=>n.role==="scope"&&!n.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 os(e,t,r,i){uy(e,t,r,i,"manner",{requireMarker:!0})}function ay(e,t,r,i){uy(e,t,r,i,"recipient",{requireMarker:!1})}function uy(e,t,r,i,n,a){let u=r.roles.find(s=>s.role===n&&!s.required);if(!u)return;let o=u.markerOverride?.[i];a.requireMarker&&!o||(e.push({type:"group",optional:!0,tokens:[...(o?o.split(/\s+/):[]).map(s=>({type:"literal",value:s})),{type:"role",role:n,optional:!0,expectedTypes:u.expectedTypes,...u.valueShape!==void 0?{valueShape:u.valueShape}:{}}]}),t[n]={fromRole:n})}function oy(e){if(e.roles.some(i=>i.role==="patient"))return"patient";let t=e.roles.filter(i=>i.required),r=t.find(i=>i.role===e.primaryRole)??t[0];return!r||r.role==="event"?"patient":r.role}function sy(e,t,r){let i=e.roles.find(c=>c.role===r);if(!i||r==="patient")return[{type:"role",role:r,optional:!1}];let{marker:n,alternatives:a}=Mr(i,t),u={type:"role",role:r,optional:!1,...i.valueShape!==void 0?{valueShape:i.valueShape}:{}};if(!n)return[u];let o=n.split(/\s+/).filter(Boolean),s={type:"group",optional:!0,tokens:o.map(c=>({type:"literal",value:c,...o.length===1&&a?.length?{alternatives:a}:{}}))};return(t.roleMarkers[r]?.position??"before")==="after"?[u,s]:[s,u]}function ly(e,t,r,i,n){for(let a of r.roles)a.required||n.has(a.role)||t[a.role]||!(a.markerOverride?.[i.code]??i.roleMarkers[a.role]?.primary)&&a.valueShape===void 0||(e.push({type:"group",optional:!0,tokens:hy(a,i)}),t[a.role]=a.default?{fromRole:a.role,default:a.default}:{fromRole:a.role})}function tk(e,t,r,i,n){let a=[];if(a.push({type:"role",role:"event",optional:!1}),i.position==="after"){let y=i.primary.split(/\s+/);if(y.length>1)for(let f of y)a.push({type:"literal",value:f});else{let f=i.alternatives?{type:"literal",value:i.primary,alternatives:i.alternatives}:{type:"literal",value:i.primary};a.push(f)}}let u=oy(e),o=t.roleMarkers.destination,s=e.roles.some(y=>y.role==="destination");o&&s&&u!=="destination"&&a.push({type:"group",optional:!0,tokens:[{type:"role",role:"destination",optional:!0},o.alternatives?{type:"literal",value:o.primary,alternatives:o.alternatives}:{type:"literal",value:o.primary}]});let l=t.roleMarkers.source,c=e.roles.some(y=>y.role==="source");l&&c&&u!=="source"&&a.push({type:"group",optional:!0,tokens:[{type:"role",role:"source",optional:!0},l.alternatives?{type:"literal",value:l.primary,alternatives:l.alternatives}:{type:"literal",value:l.primary}]}),a.push(...sy(e,t,u));let p=t.roleMarkers.patient;if(p&&u==="patient"){let y=p.alternatives?{type:"literal",value:p.primary,alternatives:p.alternatives}:{type:"literal",value:p.primary};a.push(y)}let m=r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary};a.push(m),u!=="source"&&a.push(...Kt(e,t.roleMarkers.source)),u!=="destination"&&a.push(...Ka(e,t.roleMarkers.destination));let d={action:{value:e.action},event:{fromRole:"event"},[u]:{fromRole:u},...u==="destination"?{}:$t(e),...u==="source"?{}:Vt(e)};return ly(a,d,e,t,new Set(["event",u,"destination","source"])),{id:`${e.action}-event-${t.code}-sov`,language:t.code,command:"on",priority:(n.basePriority??100)+50,template:{format:`{event} ${i.primary} {destination?} {${u}} ${p?.primary||""} ${r.primary}`,tokens:a},extraction:d}}function rk(e,t,r,i,n){let a=[],u=e.action==="swap",o=u?"destination":"patient";a.push({type:"role",role:o,optional:!1});let s=t.roleMarkers.patient;if(s){let m=s.alternatives?{type:"literal",value:s.primary,alternatives:s.alternatives}:{type:"literal",value:s.primary};a.push(m)}if(a.push({type:"role",role:"event",optional:!1}),i.position==="after"){let m=i.primary.split(/\s+/);if(m.length>1)for(let d of m)a.push({type:"literal",value:d});else{let d=i.alternatives?{type:"literal",value:i.primary,alternatives:i.alternatives}:{type:"literal",value:i.primary};a.push(d)}}let l=r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary};a.push(l),a.push(...Kt(e,t.roleMarkers.source));let c=t.roleMarkers.destination;if(u&&c){let m=e.roles.find(d=>d.role==="patient")?.markerOverride?.[t.code];if(m&&m!==c.primary){let d=c.alternatives??[];d.includes(m)||(c={...c,alternatives:[...d,m]})}}a.push(...u?hE(e,c):Ka(e,c));let p={action:{value:e.action},event:{fromRole:"event"},[o]:{fromRole:o},...u?{}:$t(e),...Vt(e)};return ay(a,p,e,t.code),os(a,p,e,t.code),{id:`${e.action}-event-${t.code}-sov-patient-first`,language:t.code,command:"on",priority:(n.basePriority??100)+45,template:{format:`{patient} ${s?.primary||""} {event} ${i.primary} ${r.primary}`,tokens:a},extraction:p}}function ik(e,t,r,i,n){let a=e.roles.find(p=>p.role==="source");if(!a)return null;let{marker:u,alternatives:o}=Mr(a,t),s=t.roleMarkers.patient;if(!u||u===i.primary||u===s?.primary)return null;let l=[];l.push({type:"role",role:"patient",optional:!1}),s&&l.push(s.alternatives?{type:"literal",value:s.primary,alternatives:s.alternatives}:{type:"literal",value:s.primary}),l.push({type:"role",role:"source",optional:!1,...a.expectedTypes?{expectedTypes:a.expectedTypes}:{},...a.valueShape!==void 0?{valueShape:a.valueShape}:{}});for(let p of u.split(/\s+/))l.push(o&&u.split(/\s+/).length===1?{type:"literal",value:p,alternatives:o}:{type:"literal",value:p});if(l.push({type:"role",role:"event",optional:!1}),i.position==="after"){let p=i.primary.split(/\s+/);if(p.length>1)for(let m of p)l.push({type:"literal",value:m});else l.push(i.alternatives?{type:"literal",value:i.primary,alternatives:i.alternatives}:{type:"literal",value:i.primary})}l.push(r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary});let c={action:{value:e.action},event:{fromRole:"event"},patient:{fromRole:"patient"},source:{fromRole:"source"}};return ay(l,c,e,t.code),os(l,c,e,t.code),{id:`${e.action}-event-${t.code}-sov-source-fronted`,language:t.code,command:"on",priority:(n.basePriority??100)+48,template:{format:`{patient} ${s?.primary||""} {source} ${u} {event} ${i.primary} ${r.primary}`,tokens:l},extraction:c}}function nk(e,t,r,i,n){let a=[];a.push({type:"role",role:"patient",optional:!1});let u=t.roleMarkers.patient;if(u){let l=u.alternatives?{type:"literal",value:u.primary,alternatives:u.alternatives}:{type:"literal",value:u.primary};a.push(l)}let o=t.roleMarkers.destination;if(o&&(a.push({type:"role",role:"destination",optional:!1}),a.push(o.alternatives?{type:"literal",value:o.primary,alternatives:o.alternatives}:{type:"literal",value:o.primary})),a.push({type:"role",role:"event",optional:!1}),i.position==="after"){let l=i.primary.split(/\s+/);if(l.length>1)for(let c of l)a.push({type:"literal",value:c});else{let c=i.alternatives?{type:"literal",value:i.primary,alternatives:i.alternatives}:{type:"literal",value:i.primary};a.push(c)}}let s=r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary};return a.push(s),{id:`${e.action}-event-${t.code}-sov-patient-first-dest`,language:t.code,command:"on",priority:(n.basePriority??100)+40,template:{format:`{patient} ${u?.primary||""} {destination} ${o?.primary||""} {event} ${i.primary} ${r.primary}`,tokens:a},extraction:{action:{value:e.action},event:{fromRole:"event"},patient:{fromRole:"patient"},destination:{fromRole:"destination"}}}}function ak(e,t,r,i,n){let a=[];a.push({type:"role",role:"event",optional:!1});let u=i.alternatives?.filter(c=>!c.includes(" ")&&c.length>1)||[];u.length>0&&a.push({type:"literal",value:u[0],alternatives:u.slice(1)});let o=t.roleMarkers.destination;o&&a.push({type:"group",optional:!0,tokens:[{type:"role",role:"destination",optional:!0},o.alternatives?{type:"literal",value:o.primary,alternatives:o.alternatives}:{type:"literal",value:o.primary}]}),a.push({type:"role",role:"patient",optional:!1});let s=t.roleMarkers.patient;if(s){let c=s.alternatives?{type:"literal",value:s.primary,alternatives:s.alternatives}:{type:"literal",value:s.primary};a.push(c)}let l=r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary};return a.push(l),a.push(...Kt(e,t.roleMarkers.source)),a.push(...Ka(e,t.roleMarkers.destination)),{id:`${e.action}-event-${t.code}-sov-compact`,language:t.code,command:"on",priority:(n.basePriority??100)+52,template:{format:`{event}${u[0]||""} {patient} ${r.primary}`,tokens:a},extraction:{action:{value:e.action},event:{fromRole:"event"},patient:{fromRole:"patient"},...$t(e),...Vt(e)}}}function uk(e,t,r,i,n){let a=[];if(a.push({type:"role",role:"event",optional:!1}),i.position==="after"){let o=i.primary.split(/\s+/);if(o.length>1)for(let s of o)a.push({type:"literal",value:s});else{let s=i.alternatives?{type:"literal",value:i.primary,alternatives:i.alternatives}:{type:"literal",value:i.primary};a.push(s)}}let u=r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary};return a.push(u),{id:`${e.action}-event-${t.code}-sov-simple`,language:t.code,command:"on",priority:(n.basePriority??100)+48,template:{format:`{event} ${i.primary} ${r.primary}`,tokens:a},extraction:{action:{value:e.action},event:{fromRole:"event"},patient:{default:{type:"reference",value:"me"}}}}}function ok(e,t,r,i){let n=t.eventHandler?.temporalMarkers;if(!n||n.length===0)return null;let a=[];a.push({type:"role",role:"event",optional:!1}),t.possessive?.marker&&a.push({type:"group",optional:!0,tokens:[{type:"literal",value:t.possessive.marker}]}),a.push({type:"literal",value:n[0],alternatives:n.slice(1)}),a.push({type:"role",role:"patient",optional:!1});let u=t.roleMarkers.patient;if(u?.primary){let s=u.alternatives?{type:"literal",value:u.primary,alternatives:u.alternatives}:{type:"literal",value:u.primary};a.push(s)}let o=r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary};return a.push(o),{id:`${e.action}-event-${t.code}-sov-temporal`,language:t.code,command:"on",priority:(i.basePriority??100)+49,template:{format:`{event} ${n[0]} {patient} ${r.primary}`,tokens:a},extraction:{action:{value:e.action},event:{fromRole:"event"},patient:{fromRole:"patient"}}}}function sk(e,t,r,i,n){let a=[];if(a.push({type:"role",role:"event",optional:!1}),i.position==="after"){let p=i.primary.split(/\s+/);if(p.length>1)for(let m of p)a.push({type:"literal",value:m});else{let m=i.alternatives?{type:"literal",value:i.primary,alternatives:i.alternatives}:{type:"literal",value:i.primary};a.push(m)}}let o=[...e.roles.filter(p=>p.required)].sort((p,m)=>{let d=p.sovPosition??999,y=m.sovPosition??999;return d-y});for(let p of o){a.push({type:"role",role:p.role,optional:!1});let{marker:m,alternatives:d}=Mr(p,t);if(m){let y=d?{type:"literal",value:m,alternatives:d}:{type:"literal",value:m};a.push(y)}}let s=r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary};a.push(s);let l=o.map(p=>`{${p.role}}`).join(" "),c={action:{value:e.action},event:{fromRole:"event"},...Object.fromEntries(o.map(p=>[p.role,{fromRole:p.role}]))};return Mi(a,c,e),{id:`${e.action}-event-${t.code}-sov-2role`,language:t.code,command:"on",priority:(n.basePriority??100)+55,template:{format:`{event} ${i.primary} ${l} ${r.primary}`,tokens:a},extraction:c}}function lk(e,t,r,i,n){let a=[],o=[...e.roles.filter(c=>c.required)].sort((c,p)=>{let m=c.sovPosition??999,d=p.sovPosition??999;return m-d});for(let c of o){a.push({type:"role",role:c.role,optional:!1});let{marker:p,alternatives:m}=Mr(c,t);p&&a.push(m?{type:"literal",value:p,alternatives:m}:{type:"literal",value:p})}if(a.push(r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary}),a.push({type:"role",role:"event",optional:!1}),i.position==="after"){let c=i.primary.split(/\s+/);if(c.length>1)for(let p of c)a.push({type:"literal",value:p});else a.push(i.alternatives?{type:"literal",value:i.primary,alternatives:i.alternatives}:{type:"literal",value:i.primary})}let s=o.map(c=>`{${c.role}}`).join(" "),l={action:{value:e.action},event:{fromRole:"event"},...Object.fromEntries(o.map(c=>[c.role,{fromRole:c.role}]))};return Mi(a,l,e),{id:`${e.action}-event-${t.code}-sov-2role-event-last`,language:t.code,command:"on",priority:(n.basePriority??100)+40,template:{format:`${s} ${r.primary} {event} ${i.primary}`,tokens:a},extraction:l}}function ck(e,t,r,i,n){let a=[],o=[...e.roles.filter(v=>v.required)].sort((v,h)=>{let g=v.sovPosition??999,k=h.sovPosition??999;return g-k}),s=o[0];a.push({type:"role",role:s.role,optional:!1});let{marker:l,alternatives:c}=Mr(s,t);if(l){let v=c?{type:"literal",value:l,alternatives:c}:{type:"literal",value:l};a.push(v)}if(a.push({type:"role",role:"event",optional:!1}),i.position==="after"){let v=i.primary.split(/\s+/);if(v.length>1)for(let h of v)a.push({type:"literal",value:h});else{let h=i.alternatives?{type:"literal",value:i.primary,alternatives:i.alternatives}:{type:"literal",value:i.primary};a.push(h)}}let p=r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary};a.push(p);let m=o[1];a.push({type:"role",role:m.role,optional:!1});let{marker:d,alternatives:y}=Mr(m,t);if(d){let v=y?{type:"literal",value:d,alternatives:y}:{type:"literal",value:d};a.push(v)}let f={action:{value:e.action},event:{fromRole:"event"},[s.role]:{fromRole:s.role},[m.role]:{fromRole:m.role}};return Mi(a,f,e),{id:`${e.action}-event-${t.code}-sov-2role-dest-first`,language:t.code,command:"on",priority:(n.basePriority??100)+48,template:{format:`{${s.role}} {event} ${i.primary} ${r.primary} {${m.role}}`,tokens:a},extraction:f}}var cy=b({"src/generators/event-handlers-sov.ts"(){"use strict";xe(),Pn(),Pr()}});function py(e,t,r){let i=zt(e,t.code,r.primary)??[],n=[...new Set([...r.alternatives??[],...i])].filter(a=>a!==r.primary);return n.length?n:void 0}function my(e,t,r,i,n){let a=[];if(i.position==="before"){let p=i.alternatives?{type:"literal",value:i.primary,alternatives:i.alternatives}:{type:"literal",value:i.primary};a.push(p)}a.push({type:"role",role:"event",optional:!1});let u=r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary};a.push(u);let o=oy(e);a.push(...sy(e,t,o));let s=t.roleMarkers.destination,l=e.roles.some(p=>p.role==="destination");s&&l&&o!=="destination"&&a.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}]}),o!=="source"&&a.push(...Kt(e,t.roleMarkers.source));let c={action:{value:e.action},event:{fromRole:"event"},[o]:{fromRole:o},...o==="destination"?{}:$t(e),...o==="source"?{}:Vt(e)};return ly(a,c,e,t,new Set(["event",o,"destination","source"])),{id:`${e.action}-event-${t.code}-vso`,language:t.code,command:"on",priority:(n.basePriority??100)+50,template:{format:`${i.primary} {event} ${r.primary} {${o}} ${s?.primary||""} {destination?}`,tokens:a},extraction:c}}function pk(e,t,r,i,n){let a=[],u=r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary};a.push(u);let o=e.action==="swap";a.push({type:"role",role:o?"destination":"patient",optional:!1});let s=o?void 0:t.roleMarkers.destination;if(s&&a.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}]}),a.push(...Kt(e,t.roleMarkers.source)),i.position==="before"){let c=i.alternatives?{type:"literal",value:i.primary,alternatives:i.alternatives}:{type:"literal",value:i.primary};a.push(c)}if(a.push({type:"role",role:"event",optional:!1}),o){let c=e.roles.find(p=>p.role==="patient")?.markerOverride?.[t.code];c&&a.push({type:"group",optional:!0,tokens:[{type:"literal",value:c},{type:"role",role:"patient",optional:!1}]})}let l={action:{value:e.action},event:{fromRole:"event"},[o?"destination":"patient"]:{fromRole:o?"destination":"patient"},...o?{}:$t(e),...Vt(e)};return os(a,l,e,t.code),{id:`${e.action}-event-${t.code}-vso-verb-first`,language:t.code,command:"on",priority:(n.basePriority??100)+45,template:{format:`${r.primary} {patient} ${s?.primary||""} {destination?} ${i.primary} {event}`,tokens:a},extraction:l}}function mk(e,t,r,i,n){let a=[],u=r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary};a.push(u);let s=[...e.roles.filter(p=>p.required)].sort((p,m)=>{let d=p.svoPosition??999,y=m.svoPosition??999;return d-y});for(let p of s){let m,d;if(p.markerOverride&&p.markerOverride[t.code]!==void 0)m=p.markerOverride[t.code],d=m?zt(p,t.code,m):void 0;else{let y=t.roleMarkers[p.role];y&&(m=y.primary,d=py(p,t,y))}if(m){let y=d?{type:"literal",value:m,alternatives:d}:{type:"literal",value:m};a.push(y)}a.push({type:"role",role:p.role,optional:!1})}if(i.position==="before"){let p=i.alternatives?{type:"literal",value:i.primary,alternatives:i.alternatives}:{type:"literal",value:i.primary};a.push(p)}a.push({type:"role",role:"event",optional:!1});let l=s.map(p=>`{${p.role}}`).join(" "),c={action:{value:e.action},event:{fromRole:"event"},...Object.fromEntries(s.map(p=>[p.role,{fromRole:p.role}]))};return Mi(a,c,e),{id:`${e.action}-event-${t.code}-vso-verb-first-2role`,language:t.code,command:"on",priority:(n.basePriority??100)+48,template:{format:`${r.primary} ${l} ${i.primary} {event}`,tokens:a},extraction:c}}function dy(e,t,r,i,n){let a=[];if(i.position==="before"){let p=i.alternatives?{type:"literal",value:i.primary,alternatives:i.alternatives}:{type:"literal",value:i.primary};a.push(p)}a.push({type:"role",role:"event",optional:!1});let u=r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary};a.push(u);let s=[...e.roles.filter(p=>p.required)].sort((p,m)=>{let d=p.svoPosition??999,y=m.svoPosition??999;return d-y});for(let p of s){let m,d;if(p.markerOverride&&p.markerOverride[t.code]!==void 0)m=p.markerOverride[t.code],d=m?zt(p,t.code,m):void 0;else{let y=t.roleMarkers[p.role];y&&(m=y.primary,d=py(p,t,y))}if(m){let y=d?{type:"literal",value:m,alternatives:d}:{type:"literal",value:m};a.push(y)}a.push({type:"role",role:p.role,optional:!1})}let l=s.map(p=>`{${p.role}}`).join(" "),c={action:{value:e.action},event:{fromRole:"event"},...Object.fromEntries(s.map(p=>[p.role,{fromRole:p.role}]))};return Mi(a,c,e),{id:`${e.action}-event-${t.code}-vso-2role`,language:t.code,command:"on",priority:(n.basePriority??100)+55,template:{format:`${i.primary} {event} ${r.primary} ${l}`,tokens:a},extraction:c}}function dk(e,t,r,i,n){let a=[],u=t.eventHandler?.negationMarker;if(i.position==="before"){let l=i.alternatives?{type:"literal",value:i.primary,alternatives:i.alternatives}:{type:"literal",value:i.primary};a.push(l)}if(u){let l=u.alternatives?{type:"literal",value:u.primary,alternatives:u.alternatives}:{type:"literal",value:u.primary};a.push(l)}a.push({type:"role",role:"event",optional:!1});let o=r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary};a.push(o),a.push({type:"role",role:"patient",optional:!1});let s=t.roleMarkers.destination;return s&&a.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}]}),a.push(...Kt(e,t.roleMarkers.source)),{id:`${e.action}-event-${t.code}-vso-negated`,language:t.code,command:"on",priority:(n.basePriority??100)+48,template:{format:`${i.primary} ${u?.primary||""} {event} ${r.primary} {patient} ${s?.primary||""} {destination?}`,tokens:a},extraction:{action:{value:e.action},event:{fromRole:"event"},patient:{fromRole:"patient"},...$t(e),...Vt(e)}}}function yk(e,t,r,i){let n=[];n.push({type:"literal",value:"and",alternatives:["then"]}),n.push({type:"role",role:"event",optional:!1});let a=r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary};n.push(a),n.push({type:"role",role:"patient",optional:!1});let u=t.roleMarkers.destination;return u&&n.push({type:"group",optional:!0,tokens:[u.alternatives?{type:"literal",value:u.primary,alternatives:u.alternatives}:{type:"literal",value:u.primary},{type:"role",role:"destination",optional:!0}]}),n.push(...Kt(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} ${u?.primary||""} {destination?}`,tokens:n},extraction:{action:{value:e.action},event:{fromRole:"event"},patient:{fromRole:"patient"},...$t(e),...Vt(e)}}}var fk=b({"src/generators/event-handlers-vso.ts"(){"use strict";xe(),cy(),Pr()}});function yy(){return sr().map(t=>T(t)).filter(t=>t!==void 0)}function Wr(e,t,r=wt){let i=`${e.action}-${t.code}-generated`,n=r.basePriority??100,a=t.keywords[e.action];if(!a)throw new Error(`No keyword translation for '${e.action}' in ${t.code}`);let u=Ek(e,t,a),o=ls(e,t),s=wk(e,t,a);return{id:i,language:t.code,command:e.action,priority:n,template:{format:s,tokens:u},extraction:o}}function fy(e,t,r=wt){if(e.roles.filter(o=>!o.required).length===0)return null;let n=e.roles.filter(o=>o.required),a={...e,roles:n};return{...Wr(a,t,r),id:`${e.action}-${t.code}-generated-simple`,priority:(r.basePriority??100)-5,extraction:ls(e,t)}}function vy(e,t,r=wt){if(t.wordOrder!=="SOV")return null;let i=e.roles.filter(o=>o.required);if(i.length!==1)return null;let n=t.keywords[e.action];if(!n)return null;let a=n.alternatives?{type:"literal",value:n.primary,alternatives:n.alternatives}:{type:"literal",value:n.primary},u=i.flatMap(o=>{let s=o.valuePrefixLiteral?.[t.code],l={type:"role",role:o.role,optional:!1,expectedTypes:o.expectedTypes};return s?[{type:"literal",value:s},l]:[l]});return{id:`${e.action}-${t.code}-generated-verb-first`,language:t.code,command:e.action,priority:(r.basePriority??100)-20,template:{format:`${n.primary} <${i[0].role}>`,tokens:[a,...u]},extraction:ls(e,t)}}function ss(e,t,r=wt){let i=[];if(i.push(Wr(e,t,r)),r.generateSimpleVariants){let n=fy(e,t,r);n&&i.push(n)}for(let n of e.omitRoleVariants??[]){let a={...e,roles:e.roles.filter(o=>o.role!==n)},u=Wr(a,t,r);i.push({...u,id:`${e.action}-${t.code}-generated-no-${n}`,priority:(r.basePriority??100)-8})}for(let n of e.widenTypeVariants??[]){if(n.excludeLanguages?.includes(t.code))continue;let a={...e,roles:e.roles.map(o=>o.role===n.role?{...o,expectedTypes:[...n.types]}:o)},u=Wr(a,t,r);i.push({...u,id:`${e.action}-${t.code}-generated-${n.idSuffix}`,priority:(r.basePriority??100)-(n.priorityDelta??15)})}if(r.generateVerbFirstVariants!==!1){let n=vy(e,t,r);n&&i.push(n)}for(let n of e.rolePrefixLiteralVariants??[]){let a=n.literal[t.code];if(!a)continue;let{rolePrefixLiteralVariants:u,...o}=e,s={...o,roles:e.roles.map(m=>m.role===n.role?{...m,valuePrefixLiteral:{[t.code]:a}}:m)},l=n.priorityDelta??5,c=n.methodCarrier?{[n.methodCarrier]:{value:a}}:{},p=Wr(s,t,r);if(i.push({...p,id:`${e.action}-${t.code}-generated-${n.idSuffix}`,priority:(r.basePriority??100)+l,extraction:{...p.extraction,...c}}),r.generateVerbFirstVariants!==!1){let m=vy(s,t,r);m&&i.push({...m,id:`${e.action}-${t.code}-generated-verb-first-${n.idSuffix}`,priority:(r.basePriority??100)-20+l,extraction:{...m.extraction,...c}})}}return i}function Ln(e,t=wt){let r=[],i=ci();for(let n of i){if(!e.keywords[n.action])continue;let a=ss(n,e,t);if(r.push(...a),e.eventHandler?.eventMarker){let u=gk(n,e,t);r.push(...u)}}return r}function vk(e,t,r=wt){let i=[],n=t??yy();for(let a of n){if(!a.keywords[e.action])continue;let u=ss(e,a,r);i.push(...u)}return i}function hk(e,t=wt){let r=[],i=e??yy();for(let n of i){let a=Ln(n,t);r.push(...a)}return r}function gk(e,t,r=wt){if(!t.eventHandler||!t.eventHandler.eventMarker)return[];let i=[],n=t.eventHandler.eventMarker,a=t.keywords[e.action];if(!a)return[];if(e.roles.length===0)return[];if(e.action==="js")return[];let o=e.roles.filter(s=>s.required).length===2;if(t.wordOrder==="SOV")if(o)i.push(sk(e,t,a,n,r)),i.push(ck(e,t,a,n,r)),i.push(lk(e,t,a,n,r));else{i.push(tk(e,t,a,n,r)),i.push(rk(e,t,a,n,r));let s=ik(e,t,a,n,r);s&&i.push(s);let l=t.roleMarkers.destination;l&&l.primary!==n.primary&&i.push(nk(e,t,a,n,r));let c=n.primary.split(/\s+/),p=n.alternatives?.some(d=>!d.includes(" ")&&d.length>1);c.length>1&&p&&i.push(ak(e,t,a,n,r)),i.push(uk(e,t,a,n,r));let m=ok(e,t,a,r);m&&i.push(m)}else t.wordOrder==="VSO"?o?(i.push(dy(e,t,a,n,r)),i.push(mk(e,t,a,n,r))):(i.push(my(e,t,a,n,r)),i.push(pk(e,t,a,n,r)),t.eventHandler?.negationMarker&&i.push(dk(e,t,a,n,r)),t.tokenization?.prefixes&&i.push(yk(e,t,a,r))):o?i.push(dy(e,t,a,n,r)):i.push(my(e,t,a,n,r));return i}function Ek(e,t,r){let i=[],n=r.alternatives?{type:"literal",value:r.primary,alternatives:r.alternatives}:{type:"literal",value:r.primary},a=zk(e,t);switch(t.wordOrder){case"SVO":i.push(n),i.push(...a);break;case"SOV":i.push(...a),i.push(n);break;case"VSO":i.push(n),i.push(...a);break;default:i.push(n),i.push(...a)}return kk(i)}function kk(e){let t=[];for(let r of e){let i=t[t.length-1];if(i&&i.type==="literal"&&r.type==="literal"&&i.value===r.value){let n=[...i.alternatives??[],...r.alternatives??[]];n.length&&(t[t.length-1]={...i,alternatives:[...new Set(n)]});continue}t.push(r)}return t}function zk(e,t){let r=[],i=ny(e.roles,t.wordOrder);for(let n of i){let a=hy(n,t);n.required?r.push(...a):r.push({type:"group",optional:!0,tokens:a})}return r}function hy(e,t){let r=[],i=e.markerOverride?.[t.code],n=t.roleMarkers[e.role],a=e.renderOverride?.[t.code]==="",u={type:"role",role:e.role,optional:!e.required,expectedTypes:e.expectedTypes,...e.valueShape!==void 0?{valueShape:e.valueShape}:{}},o=e.valuePrefixLiteral?.[t.code],s=()=>{o&&r.push({type:"literal",value:o}),r.push(u)};if(i!==void 0){let l=i?i.split(/\s+/).filter(Boolean):[],c=i!==void 0&&i===e.markerOverride?.en,p=n?.position??(t.wordOrder==="SOV"&&!c?"after":"before"),m=e.markerOptional?.[t.code]===!0,d=y=>{let f=l.length===1?zt(e,t.code,y)??[]:[],v={type:"literal",value:y,...f.length?{alternatives:f}:{},...a?{renderSuppress:!0}:{}};r.push(m?{type:"group",optional:!0,tokens:[v]}:v)};if(p==="before"){for(let y of l)d(y);s()}else{s();for(let y of l)d(y)}}else if(n){let l=()=>{let p=[...new Set([...n.alternatives??[],...zt(e,t.code,n.primary)??[]])].filter(m=>m!==n.primary);return{type:"literal",value:n.primary,...p.length?{alternatives:p}:{},...a?{renderSuppress:!0}:{}}},c=p=>{if(!t.markersOptional&&!e.markerOptional?.[t.code]){r.push(p);return}r.push({type:"group",optional:!0,...t.markersOptional&&!e.markerOptional?.[t.code]?{renderRequired:!0}:{},tokens:[p]})};n.position==="before"?(n.primary&&c(l()),s()):(s(),c(l()))}else s();return r}function Ck(e,t){let r={};for(let i of e.roles){let n=i.markerOverride?.[t.code],a=t.roleMarkers[i.role];if(i.valuePrefixLiteral?.[t.code])r[i.role]={marker:i.valuePrefixLiteral[t.code]};else if(n!==void 0)if(!n)r[i.role]={};else{let o=!/\s/.test(n.trim())?zt(i,t.code,n)??[]:[];r[i.role]=o.length?{marker:n,markerAlternatives:o}:{marker:n}}else if(a&&a.primary){let u=[...new Set([...a.alternatives??[],...zt(i,t.code,a.primary)??[]])].filter(o=>o!==a.primary);r[i.role]=u.length?{marker:a.primary,markerAlternatives:u}:{marker:a.primary}}else r[i.role]={}}return r}function ls(e,t){let r=Ck(e,t),i={};for(let n of e.roles){let a=r[n.role]||{};!n.required&&n.default?i[n.role]={...a,default:n.default}:i[n.role]=a}return i}function wk(e,t,r){let i=[],a=ny(e.roles,t.wordOrder).map(u=>{let o=SE(u,t),s="";return o&&o.primary?o.position==="before"?s=`${o.primary} {${u.role}}`:s=`{${u.role}} ${o.primary}`:s=`{${u.role}}`,u.required?s:`[${s}]`});switch(t.wordOrder){case"SVO":case"VSO":i.push(r.primary,...a);break;case"SOV":i.push(...a,r.primary);break;default:i.push(r.primary,...a)}return i.join(" ")}function Ak(){let e=sr(),t=ci().map(i=>i.action),r=0;for(let i of e){let n=T(i);if(n)for(let a of ci())n.keywords[a.action]&&(r+=2)}return{languages:e,commands:t,totalPatterns:r}}function xk(e,t=ci()){let r=[],i=[];for(let n of t)e.keywords[n.action]?i.push(n.action):r.push(n.action);return{missing:r,available:i}}var wt,Pn=b({"src/generators/pattern-generator.ts"(){"use strict";xe(),ek(),Pr(),cy(),fk(),Te(),wt={basePriority:100,generateSimpleVariants:!0,generateAlternatives:!0}}}),gy,Ey,ky,zy,cs,Cy=b({"src/patterns/languages/en/fetch.ts"(){"use strict";gy={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"}}},Ey={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"}}},ky={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"}}},zy={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}}},cs=[Ey,ky,gy,zy]}}),wy,Ay,bk=b({"src/patterns/languages/en/pick.ts"(){"use strict";wy={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"]}}},Ay=[wy]}}),Wi,xy,by,Dy,By,ps,Sy=b({"src/patterns/languages/en/swap.ts"(){"use strict";Wi={type:"group",optional:!0,tokens:[{type:"literal",value:"using"},{type:"literal",value:"view"},{type:"role",role:"manner",optional:!0,expectedTypes:["literal","expression"],valueShape:"keyword"}]},xy={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"},Wi]},extraction:{method:{position:1},destination:{position:2}}},by={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"},Wi]},extraction:{}},Dy={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"},Wi]},extraction:{}},By={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"},Wi]},extraction:{}},ps=[Dy,By,by,xy]}}),Fy,ms,Ty,Ly=b({"src/patterns/languages/en/set.ts"(){"use strict";xe(),Fy=[...mi.roles.find(e=>e.role==="patient")?.expectedTypes??[]],ms={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:Fy},{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"}}},Ty=[ms]}});function Dk(){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}}}]}function Bk(){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"}}}}]}function Sk(){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"}}}}]}function Fk(){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"}}}}]}function Tk(){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"}}}}]}function Lk(){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"}}}}]}function Pk(){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}}}]}function _k(){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"}}}}]}function Rk(){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}}}]}function jk(){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"}}}}]}function Ok(){return[{id:"toggle-vi-full",language:"vi",command:"toggle",priority:100,template:{format:"chuy\u1EC3n \u0111\u1ED5i {patient} tr\xEAn {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\xEAn",alternatives:["t\u1EA1i","\u1EDF"]},{type:"role",role:"destination"}]}]},extraction:{patient:{position:1},destination:{marker:"tr\xEAn",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"}}}}]}function Nk(){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"}}}]}function ds(e){switch(e){case"bn":return Dk();case"en":return Bk();case"es":return Sk();case"hi":return Fk();case"it":return Tk();case"pl":return Lk();case"qu":return Pk();case"ru":return _k();case"th":return Rk();case"uk":return jk();case"vi":return Ok();case"zh":return Nk();default:return[]}}var ys=b({"src/patterns/toggle.ts"(){"use strict"}});function Py(e,t){let r=[...kn[e]??[],"times"].filter(i=>i!==t);return{type:"literal",value:t,alternatives:r}}function Ik(e,t,r,i){let n=[];return n.push({type:"literal",value:t}),i&&n.push({type:"literal",value:i}),n.push({type:"role",role:"quantity",expectedTypes:_n}),n.push(Py(e,r)),{id:`repeat-${e}-times`,language:e,command:"repeat",priority:110,template:{format:`${t}${i?" "+i:""} {quantity} ${r}`,tokens:n},extraction:{loopType:{default:{type:"literal",value:"times"}}}}}function Mk(e,t,r,i){return{id:`repeat-${e}-times`,language:e,command:"repeat",priority:110,template:{format:`{quantity} ${t} ${r} ${i}`,tokens:[{type:"role",role:"quantity",expectedTypes:_n},Py(e,t),{type:"literal",value:r},{type:"literal",value:i,alternatives:["repeat"]}]},extraction:{loopType:{default:{type:"literal",value:"times"}}}}}function Wk(e,t,r){return{id:`repeat-${e}-word-first-times`,language:e,command:"repeat",priority:109,template:{format:`${t} ${r} {quantity}`,tokens:[{type:"literal",value:t},{type:"literal",value:r},{type:"role",role:"quantity",expectedTypes:_n}]},extraction:{loopType:{default:{type:"literal",value:"times"}}}}}function qk(e,t){let r=[{type:"literal",value:"repeat"}];if(t.forWords&&t.forWords.length>0)if(t.requireForWords)for(let i of t.forWords)r.push({type:"literal",value:i});else r.push({type:"group",optional:!0,tokens:t.forWords.map(i=>({type:"literal",value:i}))});r.push({type:"role",role:"patient",expectedTypes:["expression","reference"]});for(let i of t.inWords)r.push({type:"literal",value:i});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 $k(e,t){let r=[{type:"literal",value:"repeat"}];for(let i of t.pre??[])r.push({type:"literal",value:i});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 Vk(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 _y(e,t){let r=[{type:"literal",value:"repeat"}];for(let i of t.pre??[])r.push({type:"literal",value:i});return r.push({type:"literal",value:t.untilWord}),r.push({type:"role",role:"condition",expectedTypes:["property-path","expression"]}),{id:`repeat-${e}-until-condition-head`,language:e,command:"repeat",priority:105,template:{format:`repeat ${(t.pre??[]).join(" ")} ${t.untilWord} {condition}`,tokens:r},extraction:{loopType:{default:{type:"literal",value:"until"}}}}}function Kk(e,t){return{id:`repeat-${e}-until-condition-head`,language:e,command:"repeat",priority:105,template:{format:`${t.untilWord} {condition} ${t.verb}`,tokens:[{type:"literal",value:t.untilWord},{type:"role",role:"condition",expectedTypes:["property-path","expression"]},{type:"literal",value:t.verb}]},extraction:{loopType:{default:{type:"literal",value:"until"}}}}}function Hk(e,t){let r=[{type:"literal",value:"repeat"}];for(let i of t.pre??[])r.push({type:"literal",value:i});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 Uk(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 Gk(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 Yk(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(r=>({type:"literal",value:r})),{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 Ry(e){return Rn.get(e)??[]}var _n,jy,Oy,Ny,Iy,My,Wy,qy,$y,Vy,Ky,Hy,Rn,Pe,Uy,Gy=b({"src/patterns/repeat.ts"(){"use strict";lu(),_n=["literal","expression","reference","property-path"],jy=[["es","repetir","veces"],["de","wiederholen","mal"],["fr","r\xE9p\xE9ter","fois"],["it","ripetere","volte"],["pt","repetir","vezes"],["ru","\u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C","\u0440\u0430\u0437"],["uk","\u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0438","\u0440\u0430\u0437\u0456\u0432"],["pl","powt\xF3rz","razy"],["ar","\u0643\u0631\u0631","\u0645\u0631\u0627\u062A"],["he","\u05D7\u05D6\u05D5\u05E8","\u05E4\u05E2\u05DE\u05D9\u05DD","\u05D0\u05EA"],["id","ulangi","kali"],["ms","ulang","kali"],["sw","rudia","mara"],["th","\u0E17\u0E33\u0E0B\u0E49\u0E33","\u0E04\u0E23\u0E31\u0E49\u0E07"],["vi","l\u1EB7p l\u1EA1i","l\u1EA7n"],["tl","ulitin","beses"],["zh","\u91CD\u590D","\u6B21","\u628A"]],Oy=[["ja","\u56DE","\u3092","\u7E70\u308A\u8FD4\u3057"],["ko","\uBC88","\uB97C","\uBC18\uBCF5"],["tr","kez","i","tekrarla"],["hi","\u092C\u093E\u0930","\u0915\u094B","\u0926\u094B\u0939\u0930\u093E\u090F\u0902"],["bn","\u09AC\u09BE\u09B0","\u0995\u09C7","\u09AA\u09C1\u09A8\u09B0\u09BE\u09AC\u09C3\u09A4\u09CD\u09A4\u09BF"],["qu","kuti","ta","kutipay"]],Ny=[["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\xFCr"],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\xE7inde"]}],["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"]}]],Iy=[["ja",{whileWord:"\u306E\u9593",verb:"\u7E70\u308A\u8FD4\u3057"}],["ko",{whileWord:"\uB3D9\uC548",verb:"\uBC18\uBCF5"}],["tr",{whileWord:"s\xFCresince",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"}]],My=[["en",{whileWord:"while"}],["es",{whileWord:"mientras"}],["pt",{whileWord:"enquanto"}],["fr",{whileWord:"tantque"}],["it",{whileWord:"mentre"}],["de",{whileWord:"w\xE4hrend"}],["ru",{whileWord:"\u043F\u043E\u043A\u0430"}],["uk",{whileWord:"\u043F\u043E\u043A\u0438"}],["pl",{whileWord:"dop\xF3ki"}],["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"}]],Wy=[["ja",{untilWord:"\u307E\u3067",verb:"\u7E70\u308A\u8FD4\u3057"}],["ko",{untilWord:"\uAE4C\uC9C0",verb:"\uBC18\uBCF5"}],["tr",{untilWord:"kadar",verb:"tekrarla"}],["hi",{untilWord:"\u0924\u0915",verb:"\u0926\u094B\u0939\u0930\u093E\u090F\u0902"}],["bn",{untilWord:"\u09AA\u09B0\u09CD\u09AF\u09A8\u09CD\u09A4",verb:"\u09AA\u09C1\u09A8\u09B0\u09BE\u09AC\u09C3\u09A4\u09CD\u09A4\u09BF"}],["qu",{untilWord:"kama",verb:"kutipay"}]],qy=[["es",{untilWord:"hasta",eventWord:"evento",fromWord:"de"}],["pt",{untilWord:"at\xE9",eventWord:"evento",fromWord:"de"}],["fr",{untilWord:"jusqu\xE0",eventWord:"\xE9v\xE9nement",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"}]],$y={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"}}}},Vy=[["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"}]],Ky={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"}}}},Hy=[["ja",{inWords:["\u306E\u4E2D"],objMarker:"\u3092",forVerb:"\u305F\u3081\u306B"}],["ko",{inWords:["\uC548\uC5D0"],objMarker:"\uB97C",forVerb:"\uAC01\uAC01"}],["tr",{inWords:["i\xE7inde"],objMarker:"i",forVerb:"i\xE7in"}],["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"}]],Rn=new Map,Pe=(e,t)=>{let r=Rn.get(e);r?r.push(t):Rn.set(e,[t])};for(let[e,t,r,i]of jy)Pe(e,Ik(e,t,r,i));for(let[e,t,r,i]of Oy)Pe(e,Mk(e,t,r,i));Pe("sw",Wk("sw","rudia","mara"));for(let[e,t]of Ny)Pe(e,qk(e,t));for(let[e,t]of Hy)Pe(e,Yk(e,t));for(let[e,t]of My)Pe(e,$k(e,t));for(let[e,t]of Iy)Pe(e,Vk(e,t));for(let[e,t]of qy)Pe(e,Hk(e,t)),Pe(e,_y(e,t));Pe("en",_y("en",{untilWord:"until"}));for(let[e,t]of Wy)Pe(e,Kk(e,t));for(let[e,t]of Vy)Pe(e,Uk(e,t)),e==="tr"&&Pe(e,Gk(e,t));Uy={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"}}}},Pe("qu",Uy),Pe("qu",Ky),Pe("qu",$y)}});function Zk(){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}}}]}function Xk(){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}}}]}function Qk(){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}}}]}function Jk(){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}}}]}function e5(){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}}}]}function jn(e,t,r,i,n,a,u){let o=()=>({type:"group",optional:!0,tokens:[{type:"literal",value:"("},...Array.from({length:a},(s,l)=>[...l>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} ${n} {patient} ${r}`,tokens:[{type:"role",role:"source",expectedTypes:["expression","reference"]},{type:"literal",value:i,...u?{alternatives:u}:{}},{type:"role",role:"duration",expectedTypes:["expression","literal"]},o(),{type:"literal",value:n},{type:"role",role:"patient",expectedTypes:["expression","literal"]},o(),{type:"literal",value:r}]},extraction:{source:{position:0},duration:{position:2}}}}function Yy(e,t,r,i,n,a,u){let o=()=>({type:"group",optional:!0,tokens:[{type:"literal",value:"("},...Array.from({length:u},(l,c)=>[...c>0?[{type:"literal",value:","}]:[],{type:"role",role:"condition",expectedTypes:["expression","literal","reference"]}]).flat(),{type:"literal",value:")"}]}),s=()=>({type:"group",optional:!0,tokens:[{type:"literal",value:n}]});return{id:e,language:t,command:"wait",priority:105,template:{format:`${r} {duration} ${i} [${n}] {patient} [${n}] {source} ${a}`,tokens:[{type:"literal",value:r},{type:"role",role:"duration",expectedTypes:["expression","literal"]},o(),{type:"literal",value:i},s(),{type:"role",role:"patient",expectedTypes:["expression","literal"]},o(),s(),{type:"role",role:"source",expectedTypes:["expression","reference"]},{type:"literal",value:a}]},extraction:{duration:{position:1},source:{position:8}}}}function t5(){return[Yy("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),Yy("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)]}function r5(){return[jn("wait-tr-or-run","tr","bekle","den","veya",1,["dan","ten","tan"]),jn("wait-tr-or-run-2arg","tr","bekle","den","veya",2,["dan","ten","tan"])]}function i5(){return[jn("wait-qu-or-run","qu","suyay","manta","utaq",1),jn("wait-qu-or-run-2arg","qu","suyay","manta","utaq",2)]}function Zy(e){switch(e){case"en":return Jk();case"zh":return Zk();case"he":return Xk();case"ar":return Qk();case"bn":return t5();case"tl":return e5();case"tr":return r5();case"qu":return i5();default:return[]}}var Xy=b({"src/patterns/wait.ts"(){"use strict"}}),Qy={};j(Qy,{buildEnglishPatterns:()=>Jy});function Jy(){let e=[];e.push(...ds("en")),e.push(...pu("en")),e.push(...as("en")),e.push(...Ry("en")),e.push(...Zy("en")),e.push(...cs,...Ay,...ps,ef,tf,rf,nf,ms,af,uf,of,sf,lf);let t=Ln(Tt);return e.push(...t),e}var ef,tf,rf,nf,af,uf,of,sf,lf,cf=b({"src/patterns/en.ts"(){"use strict";Yt(),Pn(),Cy(),bk(),Sy(),Ly(),ys(),Oi(),Ir(),Gy(),Xy(),ef={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"}}}},tf={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:"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","reference"]},{type:"literal",value:"times"}]},extraction:{loopType:{default:{type:"literal",value:"times"}}}},nf={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"}}}},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"}}},uf={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}}},of={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}}},sf={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}}},lf={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}}}}}),n5=.5,a5=.8,fs=["is not really equal to","is really equal to","is greater than or equal to","is less than or equal to","is not equal to","is equal to","is greater than","is less than","is not really","is really","is not equal","is equal","is not in","is in","is not","is","am not in","am in","am","does not match","do not match","does not contain","does not contains","do not contain","does not include","does not precede","does not follow","precedes","follows","really equals","equals","matches","match","contains","contain","includes","include","has","have","in"],vs=["is not empty","is empty","does not exist"],hs=["is not an","is not a","is an","is a"],u5=new Set(["me","my","myself","you","your","yourself","it","its","result","event","target","body","detail","window","document"]),o5=new Set(["and","or","not","no"]),s5=new Set(["true","false","null","undefined"]),l5=new Set(fs.map(e=>e.slice(e.lastIndexOf(" ")+1))),c5=new Set(["next","previous","closest","first","last"]),p5=new Set(["ms","s","seconds","second","milliseconds","millisecond","minutes","minute","hours","hour"]);function pf(e){let t=[],r=0,i=1,n=1;function a(){if(t.length===0)return!0;let y=t[t.length-1];return y.type==="IDENTIFIER"&&l5.has(y.value.toLowerCase())||y.type==="IDENTIFIER"&&c5.has(y.value.toLowerCase())||y.type==="IDENTIFIER"&&y.value.toLowerCase()==="of"?!0:["OPERATOR","COMPARISON","LOGICAL","LPAREN","LBRACKET","LBRACE","COMMA","COLON"].includes(y.type)}function u(y=0){return e[r+y]??""}function o(){let y=e[r];return r++,y===`
60
60
  `?(i++,n=1):n++,y}function s(){for(;r<e.length&&/\s/.test(e[r]);)o()}function l(y){let f="";for(;r<e.length&&y(e[r]);)f+=o();return f}function c(y){let f=y;for(o();r<e.length&&e[r]!==y;)e[r]==="\\"&&r+1<e.length&&(f+=o()),f+=o();return r<e.length&&(f+=o()),f}function p(){let y="`";for(o();r<e.length&&e[r]!=="`";)e[r]==="\\"&&r+1<e.length&&(y+=o()),y+=o();return r<e.length&&(y+=o()),y}function m(){let y="<";for(o();r<e.length&&(y+=o(),!y.endsWith("/>")););return y}function d(y,f,v){return{type:y,value:f,start:v,end:r,line:i,column:n-f.length}}for(;r<e.length&&(s(),!(r>=e.length));){let y=r,f=u();if(f==="'"&&u(1)==="s"&&!/\w/.test(u(2))){o(),o(),t.push(d("POSSESSIVE","'s",y));continue}if(f==='"'||f==="'"){let v=c(f);t.push(d("STRING",v,y));continue}if(f==="`"){let v=p();t.push(d("TEMPLATE_LITERAL",v,y));continue}if(f==="<"&&/[a-zA-Z.#\[]/.test(u(1))){let v=m();t.push(d("QUERY_SELECTOR",v,y));continue}if(f==="#"&&a()){o();let v=l(h=>/[\w-]/.test(h));t.push(d("ID_SELECTOR","#"+v,y));continue}if(f==="."&&/[a-zA-Z_-]/.test(u(1))&&a()){o();let v=l(h=>/[\w-]/.test(h));t.push(d("CLASS_SELECTOR","."+v,y));continue}if(f==="@"&&/[a-zA-Z_]/.test(u(1))){o();let v=l(h=>/[\w-]/.test(h));t.push(d("ATTRIBUTE_REF","@"+v,y));continue}if(f==="["&&a()&&u(1)==="@"){let h="";for(h+=o();r<e.length&&e[r]!=="]";)e[r]==='"'||e[r]==="'"?h+=c(e[r]):h+=o();r<e.length&&(h+=o()),t.push(d("ATTRIBUTE_SELECTOR",h,y));continue}if(f==="["){o(),t.push(d("LBRACKET","[",y));continue}if(f==="]"){o(),t.push(d("RBRACKET","]",y));continue}if(/\d/.test(f)){let v=l(k=>/[\d.]/.test(k)),h=r,g=l(k=>/[a-zA-Z]/.test(k));p5.has(g)?t.push(d("TIME_EXPRESSION",v+g,y)):(r=h,t.push(d("NUMBER",v,y)));continue}if(f==="("){o(),t.push(d("LPAREN","(",y));continue}if(f===")"){o(),t.push(d("RPAREN",")",y));continue}if(f==="{"){o(),t.push(d("LBRACE","{",y));continue}if(f==="}"){o(),t.push(d("RBRACE","}",y));continue}if(f===","){o(),t.push(d("COMMA",",",y));continue}if(f===":"){o(),t.push(d("COLON",":",y));continue}if(f==="."){o(),t.push(d("DOT",".",y));continue}if(f==="|"){o(),t.push(d("PIPE","|",y));continue}if(f==="+"||f==="-"||f==="*"||f==="/"||f==="%"){o(),t.push(d("OPERATOR",f,y));continue}if(f==="="||f==="!"||f==="<"||f===">"){let v=o();u()==="="&&(v+=o()),(v==="=="||v==="!=")&&u()==="="&&(v+=o()),t.push(d("COMPARISON",v,y));continue}if(/[a-zA-Z_$]/.test(f)){let v=l(g=>/[\w$]/.test(g)),h=v.toLowerCase();u5.has(h)?t.push(d("CONTEXT_VAR",v,y)):o5.has(h)?t.push(d("LOGICAL",v,y)):s5.has(h)?t.push(d("BOOLEAN",v,y)):t.push(d("IDENTIFIER",v,y));continue}o()}return t.push(d("EOF","",r)),t}var m5=new Set(["my","its","your"]),d5={my:"me",its:"it",your:"you"},y5=new Set(["is","matches","match","contains","in","exists","does"]),f5=new Set(["next","previous","closest","first","last"]),v5=[...vs,...hs,...fs].map(e=>[e,e.split(" ")]),h5=class{constructor(){this.tokens=[],this.current=0}parse(e){try{return this.tokens=pf(e),this.current=0,this.isAtEnd()?{success:!1,error:"Empty expression"}:{success:!0,node:this.parseExpression(),consumed:this.current}}catch(t){return{success:!1,error:t instanceof Error?t.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 this.peek().type==="EOF"}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(let 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");){let t=this.advance().value,r=this.parseAnd();e=this.createBinaryExpression(t,e,r)}return e}parseAnd(){let e=this.parseEquality();for(;this.checkValue("and");){let t=this.advance().value,r=this.parseEquality();e=this.createBinaryExpression(t,e,r)}return e}parseEquality(){let e=this.parseComparison();for(;;){if(this.match("COMPARISON")){let r=this.previous().value;e=this.createBinaryExpression(r,e,this.parseComparison());continue}let t=this.matchComparisonPhrase();if(t===void 0)break;if(vs.includes(t))e=this.createPostfixUnary(t,e);else if(hs.includes(t))e=this.parseTypeCheck(e,t.startsWith("is not"));else{let r=t==="match"?"matches":t;e=this.createBinaryExpression(r,e,this.parseComparison())}}return e}matchComparisonPhrase(){for(let[e,t]of v5)if(t.every((r,i)=>this.peekAt(i).value.toLowerCase()===r)){for(let r=0;r<t.length;r++)this.advance();return e}}parseTypeCheck(e,t){let r=this.advance();if(r.type==="EOF")throw new Error(`Expected a type name after 'is ${t?"not ":""}a'`);let i=!0;return this.peek().value==="!"&&(this.advance(),i=!1),{type:"typeCheckExpression",value:e,typeName:r.value,nullOk:i,negated:t,start:e.start,end:this.previous().end}}parseComparison(){let e=this.parseAddition();for(;this.check("COMPARISON");){let 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==="-";){let t=this.advance().value,r=this.parseMultiplication();e=this.createBinaryExpression(t,e,r)}return e}parseMultiplication(){let e=this.parseConversion();for(;this.peek().value==="*"||this.peek().value==="/"||this.peek().value==="%"||this.checkValue("mod");){let t=this.advance().value.toLowerCase(),r=this.parseConversion();e=this.createBinaryExpression(t,e,r)}return e}parseConversion(){let e=this.parseUnary();for(;this.checkValue("as")&&this.conversionTypeAt(1)!==void 0;)for(this.advance(),e=this.createAsExpression(e,this.parseConversionType());this.check("PIPE")&&this.conversionTypeAt(1)!==void 0;)this.advance(),e=this.createAsExpression(e,this.parseConversionType());return e}conversionTypeAt(e){let t=this.peekAt(e).value.toLowerCase(),r=t==="a"||t==="an"?e+1:e;return this.peekAt(r).type==="IDENTIFIER"?r:void 0}parseConversionType(){let e=this.conversionTypeAt(0)??0;for(let n=0;n<e;n++)this.advance();let t=this.advance(),r=this.peekAt(1).type;if(!this.check("COLON")||r!=="NUMBER"&&r!=="IDENTIFIER")return t;this.advance();let i=this.advance();return{...t,value:`${t.value}:${i.value}`,end:i.end}}parseUnary(){if(this.checkValue("not")||this.checkValue("no")||this.peek().value==="-"){let 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")){let t=this.advance();e=this.createMemberExpression(e,this.createIdentifier(t.value,t),!1)}else break;else if(this.match("POSSESSIVE"))if(this.check("IDENTIFIER")||this.check("CONTEXT_VAR")){let t=this.advance();e=this.createPossessiveExpression(e,this.createIdentifier(t.value,t))}else break;else if(this.match("LPAREN")){let t=this.parseArguments();e=this.createCallExpression(e,t)}else if(this.match("LBRACKET")){let t=this.parseExpression();if(!this.match("RBRACKET"))throw new Error("Expected ] after index");e=this.createMemberExpression(e,t,!0)}else if(e.type==="identifier"&&m5.has(e.name)&&this.check("IDENTIFIER")&&!y5.has(this.peek().value.toLowerCase())){let t=this.advance(),r=e,i={...r,name:d5[r.name]??r.name};e=this.createMemberExpression(i,this.createIdentifier(t.value,t),!1)}else if(this.checkValue("exists")&&this.peekAt(1).type!=="LPAREN")this.advance(),e=this.createPostfixUnary("exists",e);else break;return e}parsePrimary(){let e=this.peek();if(this.checkValue("the")&&(this.peekAt(1).type==="IDENTIFIER"||this.peekAt(1).type==="CONTEXT_VAR")&&this.peekAt(2).value.toLowerCase()==="of")return this.advance(),this.parsePropertyOf(this.advance(),e,!1);if(this.match("NUMBER"))return this.createLiteral(parseFloat(e.value),"number",e);if(this.match("STRING")){let t=e.value.slice(1,-1);return this.createLiteral(t,"string",e)}if(this.match("BOOLEAN")){let t=e.value==="true"?!0:e.value==="false"?!1:e.value==="null"?null:void 0,r={true:"boolean",false:"boolean",null:"null",undefined:"undefined"};return this.createLiteral(t,r[e.value]??"string",e)}if(this.match("TEMPLATE_LITERAL")){let 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")){let t={type:"attributeAccess",attributeName:e.value.slice(1),start:e.start,end:e.end};return this.checkValue("of")?(this.advance(),this.createBinaryExpression("of",t,this.parseConversion())):t}if(this.match("QUERY_SELECTOR")){let 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(f5.has(e.value.toLowerCase())&&(this.check("CLASS_SELECTOR")||this.check("ID_SELECTOR")||this.check("QUERY_SELECTOR"))){let t=this.advance(),r=t.type==="QUERY_SELECTOR"?t.value.slice(1,-2):t.value,i=t.type==="CLASS_SELECTOR"?"class":t.type==="ID_SELECTOR"?"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.checkValue("of")?this.parsePropertyOf(e,e):this.createIdentifier(e.value,e)}if(this.match("LPAREN")){let t=this.parseExpression();if(!this.match("RPAREN"))throw new Error("Expected ) after expression");return t}if(this.match("LBRACKET"))return this.parseArrayLiteral();if(this.match("LBRACE"))return this.parseObjectLiteral();throw new Error(`Unexpected token: ${e.value}`)}parsePropertyOf(e,t,r=!0){this.advance();let i=r?this.parseConversion():this.parseUnary();return{type:"propertyOfExpression",property:this.createIdentifier(e.value,e),target:i,start:t.start,end:this.previous().end}}parseArguments(){let e=[];if(!this.check("RPAREN"))do e.push(this.parseExpression());while(this.match("COMMA"));if(!this.match("RPAREN"))throw new Error("Expected ) after arguments");return e}parseArrayLiteral(){let e=[],t=this.previous().start;if(!this.check("RBRACKET"))do e.push(this.parseExpression());while(this.match("COMMA"));if(!this.match("RBRACKET"))throw new Error("Expected ] after array elements");return{type:"arrayLiteral",elements:e,start:t,end:this.previous().end}}parseObjectLiteral(){let e=[],t=this.previous().start;if(!this.check("RBRACE"))do{let r;if(this.check("STRING"))r=this.advance().value.slice(1,-1);else if(this.check("IDENTIFIER")||this.check("CONTEXT_VAR"))r=this.advance().value;else throw new Error("Expected property name");if(!this.match("COLON"))throw new Error("Expected : after property name");let i=this.parseExpression();e.push({key:r,value:i})}while(this.match("COMMA"));if(!this.match("RBRACE"))throw new Error("Expected } after object properties");return{type:"objectLiteral",properties:e.map(r=>({type:"objectProperty",key:{type:"identifier",name:r.key},value:r.value})),start:t,end:this.previous().end}}parseTimeExpression(e){let t=e.value.match(/^(\d+(?:\.\d+)?)(ms|s|seconds?|milliseconds?|minutes?|hours?)$/i);if(!t)throw new Error(`Invalid time expression: ${e.value}`);let r=parseFloat(t[1]),i=t[2].toLowerCase();return{type:"timeExpression",value:r,unit:i,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}}createAsExpression(e,t){return{type:"asExpression",expression:e,targetType:this.createIdentifier(t.value,t),start:e.start,end:t.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 On(e){return new h5().parse(e)}function Ee(e,t){return g5(E5(e,t),e.position)}function g5(e,t){return!t||typeof e.start=="number"?e:{...e,start:t.start,end:t.end}}function E5(e,t){switch(e.type){case"literal":return e.interpolates&&typeof e.value=="string"?{type:"templateLiteral",value:e.value}:mf(e);case"selector":return e.scope?z5(e,t):/^\[(?!@)/.test(e.value)?ks({type:"expression",raw:e.value}):/^\[@[a-zA-Z_][\w-]*\s*=/.test(e.value)?{type:"literal",value:e.value}:Es(e,t);case"reference":return df(e);case"property-path":return yf(e,t);case"expression":return ks(e);case"flag":return{type:"literal",value:e.enabled};default:let r=e;throw new Error(`Unknown semantic value type: ${r.type}`)}}function gs(e){return e?.implicit===!0}function mf(e){let t={type:"literal",value:e.value};return e.dataType?{...t,dataType:e.dataType}:t}function k5(e){if(!e.startsWith("<")||!e.endsWith("/>")||e.length<=3)return;let t=e.slice(1,-2).trim();return t?{selector:t}:void 0}function Es(e,t){if(e.value.startsWith("@")&&/^[a-zA-Z_]/.test(e.value.slice(1)))return{type:"attributeAccess",attributeName:e.value.slice(1)};let r=/^\[@([a-zA-Z_][\w-]*)\]$/.exec(e.value);if(r)return{type:"attributeAccess",attributeName:r[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.`);let i=k5(e.value);return i?{type:"selector",value:i.selector,selector:i.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 df(e){let t=e.value;if(typeof t=="string"){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}}let r={my:"me",its:"it",your:"you"},i=String(t);return{type:"identifier",name:r[i]??i}}function yf(e,t){let r=Ee(e.object,t),i=r.type==="identifier"&&["me","it","you"].includes(r.name);if(e.access==="possessive"&&!i)return{type:"possessiveExpression",object:r,property:{type:"identifier",name:e.property}};let n=r;for(let a of String(e.property).split("."))a&&(n={type:"memberExpression",object:n,property:{type:"identifier",name:a},computed:!1});return n}function z5(e,t){let{scope:r,...i}=e;return{type:"binaryExpression",operator:"in",left:Es(i,t),right:Ee(r,t)}}function ks(e){let t=On(e.raw);return!t.success||!t.node?{type:"identifier",name:e.raw}:C5(t.node,e.position)}function C5(e,t){if(!t||t.start===0)return e;let r=i=>{if(Array.isArray(i))return i.map(r);if(!i||typeof i!="object")return i;let n=Object.getPrototypeOf(i);if(n!==Object.prototype&&n!==null)return i;let a={};for(let[u,o]of Object.entries(i))if((u==="start"||u==="end")&&typeof o=="number")a[u]=o+t.start;else{if(u==="line"||u==="column")continue;a[u]=r(o)}return a};return r(e)}xe();function At(e,t){let r=e.roles.get(t);return gs(r)?void 0:r}function Zt(e,t,r){let i=At(e,t);return i?Ee(i,r):void 0}function Xt(e,t=[],r,i={}){let n={type:"command",name:e,args:t};return r&&Object.keys(r).length>0&&(n.modifiers=r),i.isBlocking&&(n.isBlocking=i.isBlocking),i.implicitTarget&&(n.implicitTarget=i.implicitTarget),i.semanticRoles&&Object.keys(i.semanticRoles).length>0&&(n.semanticRoles=i.semanticRoles),n}function zs(e,t){return{type:"objectProperty",key:{type:"identifier",name:e},value:t}}function Cs(e,t=[]){let r=i=>({type:"literal",value:i});return{type:"objectLiteral",properties:[zs("name",r(e)),zs("args",{type:"arrayLiteral",elements:t.map(r)})]}}function w5(e){let t=/^([\w:.-]+)\s*\(([^)]*)\)$/.exec(e.trim());return t?Cs(t[1],t[2].split(",").map(r=>r.trim()).filter(Boolean)):Cs(e.trim())}function A5(e){return{type:"objectLiteral",properties:[zs("duration",{type:"literal",value:e})]}}var x5={action:"wait",toAST(e,t){let r=At(e,"event"),i=r?.type==="literal"?String(r.value):r?.type==="expression"?r.raw:r?.type==="reference"?r.value:void 0;if(i){let o=[{type:"arrayLiteral",elements:e.waitAlternatives?.length?e.waitAlternatives.map(l=>"event"in l?Cs(l.event,l.params):A5(l.duration)):[w5(i)]}],s=e.waitSource?Ee(e.waitSource):Zt(e,"source");return s&&o.push(s),Xt("wait",o,void 0,{isBlocking:!0})}let n=Zt(e,"duration");return Xt("wait",n?[n]:[],void 0,{isBlocking:!0})}},b5={action:"put",toAST(e,t){let r=Zt(e,"patient"),i=Zt(e,"destination"),n=At(e,"manner")??At(e,"method"),a=r?[r]:[],u={};if(i){let o=n?.type==="literal"?String(n.value):"into";u[o]=i}return Xt("put",a,u)}},D5={action:"go",toAST(e,t){let r=At(e,"destination"),i=[],n={},u=r?.type==="literal"&&r.dataType==="string"?void 0:Nn(r);if(u==="back"||u==="forward")n[u]={type:"string",value:u};else{let o=Zt(e,"destination");o&&Nn(At(e,"method"))==="url"?n.url=o:o&&i.push(o)}return At(e,"manner")&&(n.in={type:"string",value:"new window"}),Xt("go",i,n)}},B5=new Set(["item","items","character","characters"]),ff=new Set(["first","last","random"]),vf=new Set(["match","matches"]);function Nn(e){if(e){if(e.type==="literal")return String(e.value);if(e.type==="expression")return e.raw;if("value"in e&&typeof e.value=="string")return e.value}}function hf(e){let t=e.trim();if(t==="start"||t==="end")return{type:"literal",value:t};let r=Number(t);return{type:"literal",value:Number.isNaN(r)?t:r}}var S5={action:"pick",toAST(e,t){let r=Nn(At(e,"method"))?.trim().toLowerCase(),i=At(e,"patient"),n=Zt(e,"source");if(!r||!(B5.has(r)||ff.has(r)||vf.has(r))){let o=i?Ee(i):void 0,s=[];return o&&s.push(o),n&&s.push(n),Xt("pick",s)}let a=n?[n]:[],u={};if(ff.has(r))u.variant={type:"literal",value:r},i&&(u.count=Ee(i));else if(vf.has(r))u.variant={type:"literal",value:r},i&&(u.regex=Ee(i));else{u.variant={type:"literal",value:"range"};let o=Nn(i)??"",s="default",l=o.trim(),c=l.match(/\s+(inclusive|exclusive)\s*$/i);c&&(s=c[1].toLowerCase(),l=l.slice(0,l.length-c[0].length).trim());let p=l.split(/\s+to\s+/i),m=p[0]?.trim(),d=p[1]?.trim();m&&(u.rangeStart=hf(m)),d&&(u.rangeEnd=hf(d)),u.rangeMode={type:"literal",value:s}}return Xt("pick",a,u)}},In=new Map([["wait",x5],["put",b5],["go",D5],["pick",S5]]);function gf(e,t){let r=Array.isArray(t)?t:[t];for(let i of r){let n=Zt(e,i);if(n!==void 0)return n}}function Ef(e,t,r){let i=[];for(let a of r.args??[]){let u=gf(e,a);u!==void 0&&i.push(u)}let n={};for(let[a,u]of Object.entries(r.modifiers??{})){let o=gf(e,u);o!==void 0&&(n[a]=o)}return Xt(t,i,n,r.isBlocking?{isBlocking:!0}:{})}function kf(e){let t=ge(e)?.ast;if(t)return{action:e,toAST(r){return Ef(r,e,t)}}}function zf(e){return In.get(e)??kf(e)}function F5(e){return In.get(e)}function T5(e){In.set(e.action,e)}function L5(){return new Map(In)}var P5=new Set(["for","times","while","until","until-event","forever"]);function Cf(e){if(e.type==="literal")return String(e.value);if(e.type==="expression")return e.raw;if(e.type==="reference")return e.value}function _5(e){let t=e.indexOf("[");return t<=0||!e.endsWith("]")?{name:e}:{name:e.slice(0,t),filter:e.slice(t+1,-1)}}function R5(e){switch(e.type){case"literal":return String(e.value);case"expression":return e.raw;case"reference":case"selector":return e.value;default:return}}var wf=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 new Error(`Unknown semantic node kind: ${e.kind}`)}}buildBehavior(e){let t=e.eventHandlers.map(i=>this.buildEventHandler(i)),r={type:"behavior",name:e.name,parameters:[...e.parameters],eventHandlers:t};return e.initBlock&&e.initBlock.length>0&&(r.initBlock={type:"initBlock",commands:this.buildStatements(e.initBlock)}),r}buildDef(e){return{type:"def",name:e.name,params:[...e.parameters],body:this.buildStatements(e.body)}}buildFeature(e){let t=[];e.name!==void 0&&t.push({type:"literal",value:e.name});let r=e.roles.get("condition");return r&&t.push(Ee(r)),t.push({type:"block",commands:this.buildStatements(e.body)}),{type:"command",name:e.action,args:t}}buildCommand(e){let t=zf(e.action),r;if(t){let i=t.toAST(e,this);if("ast"in i&&"warnings"in i){let n=i;this.warnings.push(...n.warnings),r=n.ast}else r=i}else r=this.buildGenericCommand(e);if(e.action==="fetch"&&e.doNotThrow){let i={type:"literal",value:!0};r={...r,modifiers:{...r.modifiers,doNotThrow:i}}}if((e.action==="go"||e.action==="scroll")&&(e.scrollPosition||e.scrollBehavior)){let i={...r.modifiers},n=e.scrollPosition?.split(" ").find(a=>a!=="the");if(n&&(i.position={type:"string",value:n}),e.scrollBehavior){let a=e.scrollBehavior==="smoothly"?"smooth":"instant";i.behavior={type:"string",value:a}}r={...r,modifiers:i}}if(e.roles&&e.roles.size>0){let i={};for(let[n,a]of e.roles)i[n]=Ee(a);Object.keys(i).length>0&&(r.semanticRoles=i)}return r}buildGenericCommand(e){let t=[],r={},i=["patient","source","quantity"],n=["destination","duration","method","style"];for(let u of i){let o=e.roles.get(u);o&&!gs(o)&&t.push(Ee(o))}for(let u of n){let o=e.roles.get(u);if(o&&!gs(o)){let s=this.roleToModifierKey(u);r[s]=Ee(o)}}let a={type:"command",name:e.action,args:t};return Object.keys(r).length>0?{...a,modifiers:r}:a}roleToModifierKey(e){return{destination:"on",duration:"for",source:"from",condition:"if",method:"via",style:"with"}[e]??e}buildEventHandler(e){let t=e.roles.get("event"),r="click",i,n=t?Cf(t):void 0;n!==void 0&&(n.includes("|")||n.includes(" or ")?(i=n.split(/\s+or\s+|\|/).map(E=>E.trim()),r=i[0]):r=n);let a=(e.additionalEvents??[]).map(Cf).filter(E=>E!==void 0);a.length>0&&(i=[...i??[r],...a]);let u=(i??[r]).map(_5);r=u[0].name,i&&(i=u.map(E=>E.name));let o=u.find(E=>E.filter!==void 0)?.filter,s=this.buildStatements(e.body),l=e.roles.get("source"),c,p;l?.type==="selector"?(c=l.value,p=l.value):l?.type==="reference"?p=l.value:l?.type==="literal"&&(p=String(l.value));let m=e.roles.get("condition"),d=m?Ee(m):o!==void 0?Ee({type:"expression",raw:o}):void 0,y=e.roles.get("destination"),f=y?Ee(y):void 0,v=e.eventModifiers,h=c,g;if(v?.from){let E=v.from;E.type==="expression"&&/^(closest|next|previous|first|last)\s/.test(E.raw)&&(g=Ee(E)),E.type==="selector"&&!c?(h=E.value,p=p??E.value):p||(E.type==="reference"?p=E.value:E.type==="literal"?p=String(E.value):E.type==="expression"&&(p=E.raw))}let k={};v?.once&&(k.once=!0),typeof v?.debounce=="number"&&(k.debounce=v.debounce),typeof v?.throttle=="number"&&(k.throttle=v.throttle);let C=e.parameterNames?[...e.parameterNames]:void 0;return{type:"eventHandler",event:r,commands:s,...i&&i.length>1?{events:i}:{},...h?{selector:h}:{},...p?{target:p}:{},...g?{targetExpression:g}:{},...d?{condition:d}:{},...f?{watchTarget:f}:{},...C&&C.length>0?{args:C,params:C}:{},...Object.keys(k).length>0?{modifiers:k}:{}}}buildConditional(e){let t=e.roles.get("condition");if(!t)throw new Error("Conditional node missing condition");let r=Ee(t),i=this.buildStatements(e.thenBranch),n=e.elseBranch&&this.buildStatements(e.elseBranch),a=[r,{type:"block",commands:i}];return n&&n.length>0&&a.push({type:"block",commands:n}),{type:"command",name:"if",args:a}}buildCompound(e){let t=this.buildStatements(e.statements);return t.length===1?t[0]:t.length===0?{type:"block",commands:[]}:t.every(i=>i.type==="eventHandler")?{type:"Program",statements:t}:{type:"CommandSequence",commands:t}}buildLoop(e){let t=o=>({type:"literal",value:o}),r=e.roles.get("loopType"),i=r?.type==="literal"?String(r.value):void 0,n=e.action==="for"?"for":i&&P5.has(i)?i:e.loopVariant,a={loopType:t(n)};switch(n){case"for":{e.loopVariable&&(a.for=t(e.loopVariable));let o=e.roles.get("source");o&&(a.in=Ee(o));break}case"times":{let o=e.roles.get("quantity");o&&(a.times=Ee(o));break}case"while":case"until":{let o=e.roles.get("condition");o&&(a[n]=Ee(o));break}case"until-event":{let o=e.roles.get("event"),s=o?R5(o):void 0;s&&(a.event=t(s));let l=e.roles.get("source");l&&(a.from=Ee(l));break}}return e.indexVariable&&(a.index=t(e.indexVariable)),{type:"command",name:"repeat",args:[{type:"block",commands:this.buildStatements(e.body)}],modifiers:a}}buildStatements(e){let t=[];for(let r=0;r<e.length;r++){let i=e[r],n=this.build(i);if(i.kind==="command"&&i.action==="tell"&&r+1<e.length){let a=this.buildStatements(e.slice(r+1)),u=n;t.push({...u,args:[...u.args,...a]});break}t.push(n)}return t}buildBlock(e){return{type:"block",commands:this.buildStatements(e)}}};function j5(e){let t=new wf;return{ast:t.build(e),warnings:t.warnings}}Te(),yi(),fi(),vi(),Yt(),hi(),gi(),Ei(),ki(),zi(),Ci(),wi(),Ai(),xi(),bi(),Di(),Bi(),Si(),Fi(),Ti(),Li(),Pi(),_i(),Ri(),ji();var Mn=Object.freeze({ar:lr,bn:cr,de:pr,en:Tt,es:mr,fr:dr,he:yr,hi:fr,id:vr,it:hr,ja:gr,ko:Er,ms:kr,pl:zr,pt:Cr,qu:wr,ru:Ar,sw:xr,th:br,tl:Dr,tr:Br,uk:Sr,vi:Fr,zh:Tr}),Wn=new Map;function de(e,t){Wn.set(e.toLowerCase(),t)}function Af(e){let t=e.toLowerCase();return Wn.get(t)??Wn.get(t.split("-")[0])}function O5(){return[...Wn.keys()].sort()}function ot(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 he(e,t){let r={type:"literal",value:e};return t!==void 0?{type:"literal",value:e,dataType:t}:r}function xf(e){if(e==="true")return he(!0,"boolean");if(e==="false")return he(!1,"boolean");if(e==="null")return{type:"expression",raw:"null"}}function mt(e){return ar(e)}function nt(e){return{type:"reference",value:e}}function bf(e,t){return t?{...e,position:t}:e}function dt(e,t,r){return r?{type:"property-path",object:e,property:t,access:r}:{type:"property-path",object:e,property:t}}function je(e,t,r){let i={kind:"command",action:e,roles:new Map(Object.entries(t))};return r!==void 0?{...i,metadata:r}:i}function qr(e,t,r,i,n,a){let u=new Map;u.set("event",e);let o={kind:"event-handler",action:"on",roles:u,body:t};return r!==void 0&&(o.eventModifiers=r),i!==void 0&&(o.metadata=i),n!==void 0&&n.length>0&&(o.parameterNames=n),a!==void 0&&a.length>0&&(o.additionalEvents=a),o}function N5(e,t,r,i,n){let a={kind:"behavior",action:"behavior",roles:new Map,name:e,parameters:t,eventHandlers:r};return i!==void 0&&i.length>0&&(a.initBlock=i),n!==void 0&&(a.metadata=n),a}function I5(e,t,r,i){let n={kind:"def",action:"def",roles:new Map,name:e,parameters:t,body:r};return i!==void 0&&(n.metadata=i),n}function ws(e,t,r,i,n){let a={kind:"feature",action:e,roles:n??new Map,body:t};return r!==void 0&&(a.name=r),i!==void 0&&(a.metadata=i),a}function Qt(e,t="then",r){let i={kind:"compound",action:"compound",roles:new Map,statements:e,chainType:t};return r!==void 0&&(i.metadata=r),i}function Df(e,t,r,i){let n=new Map;n.set("condition",e);let a={kind:"conditional",action:"if",roles:n,thenBranch:t};return r!==void 0&&(a.elseBranch=r),i!==void 0&&(a.metadata=i),a}function Bf(e,t,r,i,n){let a={kind:"loop",action:e,loopVariant:t,roles:new Map(Object.entries(r)),body:i};return n?.loopVariable&&(a.loopVariable=n.loopVariable),n?.indexVariable&&(a.indexVariable=n.indexVariable),n?.metadata&&(a.metadata=n.metadata),a}function qn(e,t){return!t||t.length===0||t.includes(e)||t.includes("expression")?!0:e==="property-path"?t.some(r=>["selector","reference","expression"].includes(r)):e==="expression"?t.some(r=>["selector","reference","expression"].includes(r)):!1}Pr(),xe(),Yt();function yt(e,t){let r=e.possessive?.keywords?.[t];if(r)return r;let i=e.possessive?.specialForms;if(i){for(let[n,a]of Object.entries(i))if(a===t)return n}}function As(e){return Tt.possessive?.specialForms?.[e]??`${e}'s`}var $n=new Set(["+","-","*","/","%","<",">","<=",">=","==","!=","===","!=="]),Sf=new Set(["<",">","<=",">=","==","!=","===","!=="]),Lt=new Set([...$n,"mod"]),M5=/^[<>=!+\-*/%]+$/;xe(),Pr();var Ff={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\xE9rmino"]),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 W5(e){return Ff[e]}function Vn(e,t){return Ff[t]?.has(e.toLowerCase())??!1}Te(),lu();var xs={ar:{\u0642\u064A\u0645\u0629:"value"},bn:{\u0985\u0995\u09CD\u09B7\u09AE:"disabled",\u0986\u0987\u09A1\u09BF:"id","\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",\u0E44\u0E2D\u0E14\u0E35:"id"},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\xE1 tr\u1ECB":"value","v\xF4 hi\u1EC7u":"disabled"},zh:{\u503C:"value"}},q5={ar:{\u0623\u0648:"or",\u0643\u0640:"as",\u0644\u064A\u0633:"not",\u0648:"and",\u064A\u062D\u062A\u0648\u064A:"contains",\u064A\u0633\u0627\u0648\u064A:"equals",\u064A\u0634\u0645\u0644:"includes"},bn:{\u0985\u09A5\u09AC\u09BE:"or",\u098F\u09AC\u0982:"and",\u09A8\u09BE:"not",\u09B9\u09BF\u09B8\u09BE\u09AC\u09C7:"as"},de:{als:"as",beinhaltet:"includes",enth\u00E4lt:"contains",gleicht:"equals",nicht:"not",oder:"or",und:"and"},es:{como:"as",contiene:"contains",iguala:"equals",incluye:"includes",no:"not",o:"or",y:"and"},fr:{comme:"as",contient:"contains",\u00E9gale:"equals",et:"and",inclut:"includes",non:"not",ou:"or"},he:{\u05D5\u05D2\u05DD:"and"},hi:{\u0914\u0930:"and",\u0915\u0947_\u0930\u0942\u092A_\u092E\u0947\u0902:"as",\u0928\u0939\u0940\u0902:"not",\u092C\u0930\u093E\u092C\u0930:"equals",\u092E\u0947\u0902_\u0939\u0948:"includes",\u092F\u093E:"or",\u0936\u093E\u092E\u093F\u0932:"contains"},id:{atau:"or",berisi:"contains",bukan:"not",dan:"and",sama:"equals",sebagai:"as",termasuk:"includes"},it:{come:"as",contiene:"contains",e:"and",include:"includes",non:"not",o:"or",uguale:"equals"},ja:{\u305D\u3057\u3066:"and",\u3067\u306F\u306A\u3044:"not",\u3068\u3057\u3066:"as",\u307E\u305F\u306F:"or",\u542B\u3080:"contains",\u542B\u3081\u308B:"includes",\u7B49\u3057\u3044:"equals"},ko:{\uAC19\uB2E4:"equals",\uADF8\uB9AC\uACE0:"and",\uB610\uB294:"or",\uB85C:"as",\uC544\uB2C8:"not",\uD3EC\uD568:"contains",\uD3EC\uD568\uD558\uB2E4:"includes"},ms:{atau:"or",bukan:"not",dan:"and",mengandungi:"contains",sama:"equals",sebagai:"as",termasuk:"includes"},pl:{i:"and",jako:"as",lub:"or",nie:"not",obejmuje:"includes","r\xF3wna si\u0119":"equals",zawiera:"contains"},pt:{como:"as",cont\u00E9m:"contains",e:"and",igual:"equals",inclui:"includes",n\u00E3o:"not",ou:"or"},qu:{churasqa:"includes",hina:"as",hinallataq:"and",kikin:"equals",ukupi_kan:"contains",utaq:"or"},ru:{\u0432\u043A\u043B\u044E\u0447\u0430\u0435\u0442:"includes",\u0438:"and",\u0438\u043B\u0438:"or",\u043A\u0430\u043A:"as",\u043D\u0435:"not",\u0440\u0430\u0432\u043D\u043E:"equals",\u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442:"contains"},sw:{au:"or",ina:"contains",kuwa:"as",pamoja:"includes",sawa:"equals",si:"not"},th:{\u0E44\u0E21\u0E48:"not",\u0E41\u0E25\u0E30:"and",\u0E2B\u0E23\u0E37\u0E2D:"or"},tl:{at:"and",bilang:"as",hindi:"not",katumbas:"equals",naglalaman:"contains",o:"or"},tr:{de\u011Fil:"not",e\u015Fittir:"equals",i\u00E7erir:"contains",olarak:"as",ve:"and",veya:"or"},uk:{\u0430\u0431\u043E:"or",\u0432\u043A\u043B\u044E\u0447\u0430\u0454:"includes",\u0434\u043E\u0440\u0456\u0432\u043D\u044E\u0454:"equals",\u0456:"and",\u043C\u0456\u0441\u0442\u0438\u0442\u044C:"contains",\u043D\u0435:"not",\u044F\u043A:"as"},vi:{b\u1EB1ng:"equals",ch\u1EE9a:"contains",ho\u1EB7c:"or",kh\u00F4ng:"not",nh\u01B0:"as",v\u00E0:"and"},zh:{\u4F5C\u4E3A:"as",\u5305\u542B:"contains",\u5305\u62EC:"includes",\u548C:"and",\u6216:"or",\u7B49\u4E8E:"equals",\u975E:"not"}},Tf={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\xFCn","in","\u0131n","un","\xFCn"])};function Lf(e){if(!e?.code)return;let t=Tf[e.code];if(t){let[r]=t;if(r)return r}return e.roleMarkers?.source?.primary}function Pt(e,t){let r=t.value.toLowerCase(),i=(t.normalized??"").toLowerCase();if(r==="of"||r==="ng"||i==="of"||i==="source")return!0;let n=e?.code?Tf[e.code]:void 0;return!!n&&n.has(r)}var $5={destination:"in",source:"from"},Pf={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","\xE0"]),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\xE7inde","i\xE7ine"]),uk:new Set(["\u0432","\u0443"]),vi:new Set(["trong","t\u1EA1i","v\xE0o"]),zh:new Set(["\u5728","\u8FDB\u5165"])},_f=new Set(["in","into","at","within","inside"]);function V5(e,t){let r=t.value.toLowerCase();if((e?.code?Pf[e.code]:void 0)?.has(r))return"in";let n=t.normalized??t.value,a=n.toLowerCase();return _f.has(a)?"in":$5[a]??n}function K5(e,t){return t.value.toLowerCase()==="in"||(e?.code?Pf[e.code]:void 0)?.has(t.value.toLowerCase())?!0:_f.has((t.normalized??t.value).toLowerCase())}var H5=new Set(["me","it","you","body","document","target","result"]);function U5(e,t){let r=e[t];if(!r)return null;if(r.kind==="selector")return/^[*@]/.test(r.value)?null:{kind:"selector",parts:[{text:r.value,token:r}],consumed:1};let i=(r.normalized??r.value).toLowerCase();if(H5.has(i))return{kind:"reference",parts:[{text:i,token:r}],consumed:1};let n=e[t+1];return i==="closest"&&n?.kind==="selector"&&!/^[*@]/.test(n.value)?{kind:"closest",parts:[{text:"closest",token:r},{text:n.value,token:n}],consumed:2}:null}function Rf(e,t,r,i){let n=e[t];if(!n||!K5(r,n))return null;let a=U5(e,t+1);if(!a)return null;let u=e[t+1+a.consumed];return i?.(n)===!0&&i(u)!==!0?null:{marker:n,scope:a}}var bs=new Set(["first","last","next","previous","random","closest"]),G5={bn:{\u09B6\u09C7\u09B7:"last"}},$r=new Set(Object.keys(Ae).map(e=>e.toLowerCase()));function qi(e,t,r,i){let n=e[t];if(!n)return null;let a=(n.normalized??n.value).toLowerCase(),u=e[t+1],o=r?.code&&u?.kind==="selector"&&u.value.startsWith("<")?G5[r.code]?.[n.value.toLowerCase()]:void 0;if(!bs.has(a)&&!bs.has(n.value.toLowerCase())&&o===void 0)return null;let s=[{text:o??n.normalized??n.value,token:n}],l=t+1,c=e[l];if(!c||c.kind!=="selector"||Sf.has(c.value))return null;s.push({text:c.value,token:c}),l++;let p=0;for(;p++<8;){let y=e[l];if(y&&y.kind==="selector"&&y.value.startsWith("."))s.push({text:y.value,token:y}),l++;else break}let m=e[l],d=e[l+1];if(m&&d&&d.kind==="selector"&&!/^[*@]/.test(d.value)&&(m.kind==="keyword"||m.kind==="particle"||m.kind==="identifier")&&!bs.has((m.normalized??m.value).toLowerCase())&&!$r.has((m.normalized??m.value).toLowerCase())&&!(i?.(m)===!0&&i(e[l+2])!==!0))s.push({text:V5(r,m),token:m}),s.push({text:d.value,token:d}),l+=2;else{let y=Rf(e,l,r,i);y&&y.scope.kind!=="selector"&&(s.push({text:"in",token:y.marker},...y.scope.parts),l+=1+y.scope.consumed)}return{parts:s,consumed:l-t}}function Jt(e,t){let r=q5[e];return r?r[t.toLowerCase()]??t:t}function Ze(e,t){let r=xs[e];return r?r[t.toLowerCase()]??t:t}function jf(e,t){return xs[e]?.[t.toLowerCase()]!==void 0}function Y5(e,t){let r=[t.value,t.normalized].filter(Boolean);for(let i of r){let n=yt(e,i)??yt(e,i.toLowerCase());if(n)return n}}function Of(e){return e.kind==="literal"||e.kind==="operator"||e.kind==="punctuation"?!1:!/^[$:@#.*^(){}[\]]/.test(e.value)}function Z5(e,t){let r=e?.references;if(!r)return!1;let i=Object.values(r).filter(a=>typeof a=="string").map(a=>a.toLowerCase());return[t.value,t.normalized].filter(Boolean).some(a=>i.includes(a.toLowerCase()))}function Vr(e,t){return Of(e)?Ze(t,e.value)!==e.value?!0:e.kind==="identifier":!1}var X5=new Set(["true","false","null","undefined","me","my","it","its","you","your","result","event","target","body","detail","document","window"]);function Nf(e){return e.kind==="literal"||e.kind==="selector"||e.kind==="reference"?!0:e.kind==="identifier"?J5.test(e.value):e.kind==="keyword"&&X5.has((e.normalized??e.value).toLowerCase())}function If(e){return!!e&&(e.value===")"||e.value==="]"||Nf(e))}function Ds(e){if(!e)return!1;if(/^[([-]$/.test(e.value)||Nf(e))return!0;let t=(e.normalized??"").toLowerCase();return e.kind==="keyword"&&(t==="not"||t==="no")}var Q5=/^\.[\p{L}_-][\p{L}\p{N}_-]*$/u,J5=/^(?:[:$]?[\p{L}_][\p{L}\p{M}\p{N}_]*|\([\p{L}_$][\p{L}\p{M}\p{N}_$]*\))$/u,ne={beforeClassRef:"has"},ez={ar:{\u0647\u0648:{beforePredicate:"is",afterOperand:"is"},\u0641\u0627\u0631\u063A:{afterCopula:"empty"}},hi:{\u0939\u0948:{beforePredicate:"is",beforeClassRef:"has",afterOperand:"is"},\u0916\u093E\u0932\u0940:{afterCopula:"empty"}},id:{kosong:{afterCopula:"empty"},punya:ne},th:{\u0E40\u0E1B\u0E47\u0E19:{beforeTypeName:"as",beforePredicate:"is",afterOperand:"is"},\u0E27\u0E48\u0E32\u0E07:{afterCopula:"empty"},\u0E21\u0E35:ne},ja:{\u7A7A:{afterCopula:"empty"},\u3042\u308B:ne},sw:{tupu:{afterCopula:"empty",otherwise:"null"},na:{betweenOperands:"and"},ana:ne,nina:ne},zh:{\u6CA1\u6709:{beforeBareIdentifier:"no",beforeSelector:"no"},\u6709:ne},tl:{walang:{beforeBareIdentifier:"no",beforeSelector:"no"},may:{afterSubject:"exists",beforeClassRef:"has"}},bn:{\u0986\u099B\u09C7:{afterSubject:"exists",beforeClassRef:"has"},\u0986\u099B\u09BF:ne},qu:{mana:{beforeOperand:"not"},chusaq:{afterCopula:"empty"},kachkan:ne,kachkani:ne},tr:{var:{afterSubject:"exists",beforeClassRef:"has"},bo\u015F:{afterCopula:"empty"}},de:{hat:ne,habe:ne},es:{tiene:ne,tengo:ne},fr:{a:ne,ai:ne},it:{ha:ne,ho:ne},ko:{\uC788\uB2E4:ne},ms:{ada:ne},pl:{ma:ne,mam:ne},pt:{tem:ne,tenho:ne},ru:{\u0438\u043C\u0435\u0435\u0442:ne,\u0438\u043C\u0435\u044E:ne},uk:{\u043C\u0430\u0454:ne,\u043C\u0430\u044E:ne},vi:{c\u00F3:ne}},tz=new Set(["text","json","html","response","blob","arraybuffer"]),rz=new Set(["empty","null","undefined","true","false"]),Mf=new Set(["Number","Int","Float","String","Boolean","Date","Array","Object","JSON","json","JSONString","FormData","FormEncoded","HTML","Fragment","Values","Values:Form","Values:JSON","Set","Map","Keys","Entries","Reversed","Unique","Flat"]);function $i(e){return Mf.has(e)||/^Fixed(?::\d+)?$/.test(e)||/^[A-Z][A-Za-z0-9_]*(?::[A-Za-z0-9_]+)?$/.test(e)}function Wf(e,t,r,i,n,a){let u=Bs(e,t);if(!u)return;if(u.beforeTypeName&&i?.kind==="identifier"&&a?.value!=="("&&(Mf.has(i.value)||tz.has(i.value.toLowerCase())))return u.beforeTypeName;if(u.beforePredicate&&i&&(i.kind==="literal"||i.kind==="keyword"&&rz.has((i.normalized??"").toLowerCase())))return u.beforePredicate;if(u.afterCopula&&n!==void 0&&["is","not","does","do"].includes(n.toLowerCase()))return u.afterCopula;if(u.beforeBareIdentifier&&i?.kind==="identifier"&&/^[A-Za-z_]\w*$/.test(i.value))return u.beforeBareIdentifier;let o=!!i&&Vi(i,e)&&xt({prev:t,beforePrev:r,next:a},e);if(u.beforeOperand&&(Ds(i)||o))return u.beforeOperand;if(u.beforeSelector&&i?.kind==="selector")return u.beforeSelector;if(u.beforeClassRef&&i&&Q5.test(i.value))return u.beforeClassRef;if(u.afterSubject&&(r?.kind==="selector"||r?.kind==="reference"))return u.afterSubject;let s=!!r&&Vi(r,e)&&n===r.value;return u.betweenOperands&&(If(r)||s)&&Ds(i)?u.betweenOperands:u.afterOperand&&(If(r)||r?.value==="}")?u.afterOperand:u.otherwise}function Bs(e,t){let r=ez[e];return r?.[t.value]??r?.[t.value.toLowerCase()]}function iz(e,t,r,i){return Wf(e,t,r,i,void 0,void 0)}function nz(e){return M5.test(e)||e==="("||e==="["||e===","}function az(e){return $n.has(e)&&e!=="-"||e===")"||e==="]"||e===","}var uz=new Set(["is","am","contains","contain","matches","match","has","have","includes","include","exists","exist","mod"]);function qf(e,t,r,i){let n=t.kind==="keyword"?(t.normalized??"").toLowerCase():Jt(e,t.value).toLowerCase();if(n!=="and"&&n!=="or")return!1;if(r===void 0||r!==void 0&&nz(r.value))return!0;if(i===void 0)return!1;if(az(i.value))return!0;let a=i.kind==="keyword"?(i.normalized??i.value).toLowerCase():Jt(e,i.value).toLowerCase();return uz.has(a)}var oz=new Set(["include","contain","match","exist"]);function $f(e){let t=e?.toLowerCase();return t==="is"||t==="not"}function Vf(e,t,r){let i=t[r],n=t[r-1];return!i||!n||i.value.toLowerCase()!=="in"?!1:$f(Kr(e,n,t[r-2],i,void 0))}function Kr(e,t,r,i,n,a){if(n?.toLowerCase()==="equal"&&t.value.toLowerCase()==="to")return"to";if($f(n)&&t.value.toLowerCase()==="in")return"in";if(n?.toLowerCase()==="not"&&oz.has(t.value.toLowerCase()))return t.value.toLowerCase();let u=Wf(e,t,r,i,n,a);if(u!==void 0)return u;if(qf(e,t,r,i))return t.value;let o=Jt(e,t.value);if(o!==t.value)return o;if(t.kind!=="keyword")return t.value;let s=(t.normalized??t.value).toLowerCase();return s!=="event"&&Lr.has(s)||Vi(t,e)&&xt({prev:r,next:i,afterNext:a},e)?t.value:t.normalized??t.value}function Kf(e,t,r,i){let n=e[t],a=e[t+1];if(!n||!a||!Of(n)||!Pt(r,a)||!Vr(n,i))return;if(e[t+2]?.kind==="selector")return t+2;let u=t;for(;e[u]!==void 0&&e[u+1]!==void 0&&Pt(r,e[u+1])&&Vr(e[u],i);)u+=2;return u>t+2&&e[u]?.kind==="selector"?u:void 0}var sz=new Set(["if","unless","while","until","for","when","where","is","not","no","and","or","as"]);function lz(e){let t=(e.normalized??e.value).toLowerCase();return t==="event"||mt(t)?!1:sz.has(t)||Lr.has(t)}function Vi(e,t){return e.kind!=="keyword"?!1:(e.normalized??e.value).toLowerCase()==="end"||Vn(e.value,t)}function Xe(e,t){return{prev:e[t-1],beforePrev:e[t-2],third:e[t-3],next:e[t+1],afterNext:e[t+2]}}var cz=new Set(["and","or","is","times"]),pz=new Set(["if","unless","while","until","is","and","or","in"]),mz=e=>Object.prototype.hasOwnProperty.call(Ae,e);function Ss(e){if(e.kind!=="keyword"&&!(e.normalized&&e.normalized!==e.value))return;let t=(e.normalized??e.value).toLowerCase();return mz(t)?t:void 0}var Hf=new WeakMap;function Uf(e,t,r=!1){let i;try{i=We(e)}catch{return new Set}let n=Hf.get(i);n||(n=new Map,Hf.set(i,n));let a=r?`${t} before a role pair`:t,u=n.get(a);if(!u){u=new Set;for(let o of i){if(o.command!==t)continue;let[s,l,c,p]=o.template.tokens;if(!(s?.type!=="literal"||l?.type!=="literal")&&!(r&&(c?.type!=="role"||p?.type!=="role")))for(let m of[l.value,...l.alternatives??[]])u.add(m.toLowerCase())}n.set(a,u)}return u}var Gf=new WeakMap;function dz(e){let t;try{t=We(e)}catch{return new Set}let r=Gf.get(t);if(!r){let i=new Set(Object.values(T(e)?.roleMarkers??{}).flatMap(a=>a?[a.primary,...a.alternatives??[]]:[]).map(a=>a.toLowerCase())),n=new Set;for(let a of t){if(a.command!=="repeat")continue;let u=a.template.tokens;u.forEach((o,s)=>{if(!(o.type!=="literal"||u[s+1]?.type!=="role"))for(let l of[o.value,...o.alternatives??[]])i.has(l.toLowerCase())||n.add(l.toLowerCase())})}r=n,Gf.set(t,r)}return r}function Yf(e){return e.kind==="particle"?!0:e.kind==="keyword"&&Lr.has((e.normalized??"").toLowerCase())}function Zf(e,t){return e.kind==="keyword"&&e.normalized?e.normalized.toLowerCase():Jt(t,e.value).toLowerCase()}function xt(e,t){let{prev:r,beforePrev:i,next:n,afterNext:a}=e;if(n){if(Lt.has(n.value)||cz.has((n.normalized??n.value).toLowerCase())||n.value==="'"&&a?.value.toLowerCase()==="s")return!0;let y=Bs(t,n)?.betweenOperands;if((y==="and"||y==="or")&&Ds(a))return!0}let u=T(t),o=!!u&&u.markingStrategy!=="preposition";if(o&&n?.kind==="particle"&&a?.kind!=="particle")return!0;if(!r)return!1;if($n.has(r.value))return!0;let s=Zf(r,t);if(s==="not"||s==="no"||Bs(t,r)?.beforeOperand==="not")return!0;let l=u?.wordOrder!=="SOV",c=e.third?Ss(e.third):void 0;if(c&&i&&Uf(t,c,!0).has(i.value.toLowerCase()))return!0;let p=i&&l?Ss(i):void 0;if(p&&!Uf(t,p).has(r.value.toLowerCase())||i&&!o&&Yf(i))return!1;if(pz.has(s))return!0;let m=!!i&&Zf(i,t)!=="repeat"&&!!kn[t]?.includes(r.value);if(dz(t).has(r.value.toLowerCase())&&(l||s!=="repeat")&&!m)return!0;let d=l?Ss(r):void 0;return d&&Ae[d].roles.some(y=>y.required)?!0:!o&&Yf(r)}function Xf(e){if(e.kind==="keyword")return lz(e)?"structure":$r.has((e.normalized??e.value).toLowerCase())?"verb":void 0}function ft(e,t){let r=t?.code??"en",[i]=e;if(e.length===1&&i&&(Xf(i)||Vi(i,r)))return i.value;let n="",a,u,o=(s,l)=>{if(u=s,a===void 0){n=s,a=l;return}let p=a.position?.end!==void 0&&l.position?.start!==void 0&&a.position.end===l.position.start&&(s.startsWith(".")||s.startsWith("!"));n+=(p?"":" ")+s,a=l};for(let s=0;s<e.length;s++){let l=e[s],c=t?Y5(t,l):void 0,p=e[s+1];if(l.value===":"&&a!==void 0&&u!==void 0&&p!==void 0&&a.position?.end===l.position?.start&&l.position?.end===p.position?.start&&$i(`${u}:${p.value}`)){n+=`:${p.value}`,u=`${u}:${p.value}`,a=p,s+=1;continue}if(l.value==="'"&&a!==void 0&&p?.value==="s"&&l.position?.end!==void 0&&p.position?.start===l.position.end){n+="'s",a=p;let h=e[s+2];h&&Ze(r,h.value)!==h.value?(o(Ze(r,h.value),h),s+=2):s+=1;continue}let m=t?.possessive,d=e[s+2];if(m?.markerPosition==="between"&&m.marker&&l.kind==="selector"&&p?.value===m.marker&&d!==void 0&&Vr(d,r)){o(`${l.value}'s`,l),o(Ze(r,d.value),d),s+=2;continue}if(p?.value.toLowerCase()==="of"&&Ze(r,l.value)!==l.value&&Vr(l,r)){o(Ze(r,l.value),l);continue}if(c!==void 0&&p){let h=t?.possessive?.connectors,g=!!h?.length&&h.some(E=>{let x=E.toLowerCase();return x===p.value.toLowerCase()||x===(p.normalized??"").toLowerCase()}),k=g?s+2:s+1,C=e[k];if(C&&Vr(C,r)){o(As(c),l),o(Ze(r,C.value),C),s=k;continue}if(g&&C&&/^\.[a-zA-Z_]\w*$/.test(C.value)&&p.position?.end!==void 0&&C.position?.start!==void 0&&p.position.end===C.position.start){o(As(c),l),o(Ze(r,C.value.slice(1)),C),s=k;continue}if(!g&&/^\.[a-zA-Z_]\w*$/.test(p.value)&&l.position?.end!==void 0&&p.position?.start!==void 0&&l.position.end===p.position.start&&!Z5(t,l)){o(As(c),l),o(Ze(r,p.value.slice(1)),p),s+=1;continue}}let y=e[s+2],f=Kf(e,s,t,r);if(f!==void 0){for(let h=s;h<f;h+=2)o(Ze(r,e[h].value),e[h]),o("of",e[h+1]);o(e[f].value,e[f]),s=f;continue}if(l.kind==="selector"&&p&&y&&Pt(t,p)&&Vr(y,r)&&Ze(r,y.value)!==y.value){o(Ze(r,y.value),y),o("of",p),o(l.value,l),s+=2;continue}let v=qi(e,s,t);if(v){for(let h of v.parts)o(h.text,h.token);s+=v.consumed-1;continue}o(Kr(r,l,e[s-1],p,u,e[s+2]),l)}return n.trim()}function yz(e){if(!e)return!0;if(e.kind!=="keyword")return!1;let t=(e.normalized??e.value).toLowerCase();return t==="then"||t==="end"||t==="else"}function Qf(e){return!!e&&Lt.has(e.value)}var fz=class{constructor(e,t,r,i,n){this.patternToken=t,this.afterLiteral=r,this.nextPatternToken=i,this.wouldMatch=n;let a=e.position();this.token=e.tokens[a],this.prev=e.tokens[a-1],this.next=e.tokens[a+1],this.place=Xe(e.tokens,a)}get lastSlot(){return this.nextPatternToken===void 0}get tokenIsMarker(){return this.tokenIsMarkerMemo??(this.tokenIsMarkerMemo=this.wouldMatch(this.nextPatternToken,this.token)),this.tokenIsMarkerMemo}get beforeRole(){return this.nextPatternToken?.type==="role"}get nextIsMarker(){return this.nextIsMarkerMemo??(this.nextIsMarkerMemo=this.next!==void 0&&this.wouldMatch(this.nextPatternToken,this.next)),this.nextIsMarkerMemo}get clauseEndsAfter(){return yz(this.next)}};function vz(e){let t=e.token.value.toLowerCase();if(t!=="a"&&t!=="an")return!1;let r=e.next;return r!==void 0&&($n.has(r.value)||e.nextIsMarker)}function Fs(e){return e.kind==="keyword"&&$r.has((e.normalized??e.value).toLowerCase())}function hz(e,t){let r=e.token;if(r.kind!=="keyword")return!1;let i=(r.normalized??r.value).toLowerCase();return i==="then"?!0:(i==="end"&&e.next?.kind!=="selector"||Vn(r.value,t))&&!xt(e.place,t)}function gz(e,t){return Vi(e.token,t)&&xt(e.place,t)}function Jf(e){return e.afterLiteral&&(e.clauseEndsAfter||e.nextIsMarker)}function Ez(e,t){let r=e.patternToken.role;return r!=="quantity"&&!(r==="event"&&t==="repeat")?!1:Fs(e.token)&&!Jf(e)&&!e.nextIsMarker}function kz(e){let t=e.patternToken;return!t.optional||t.role==="event"||t.role==="action"||t.valueShape==="keyword"||!Fs(e.token)?!1:(e.lastSlot||e.tokenIsMarker)&&!Jf(e)}function zz(e,t,r,i){let n=e.type==="group"&&e.optional?e.tokens.every(u=>u.type==="role")?e.tokens[0]:void 0:e;if(!n||n.type!=="role"||!n.optional||n.role==="event"||n.role==="action"||n.valueShape==="keyword"||!t||t.kind!=="keyword"||r===void 0)return!1;let a=i(r,t);return Fs(t)?!a:a}function Cz(e){return $r.has((e.normalized??e.value).toLowerCase())}function wz(e,t){return e?.kind==="particle"&&!!t&&["selector","literal","identifier"].includes(t.kind)&&!Qf(t)}function Az(e){if(e.token.kind!=="particle")return!1;let t=e.next;return t!==void 0&&e.nextIsMarker&&(t.kind==="particle"||e.prev?.kind==="particle")||e.afterLiteral&&e.beforeRole||e.clauseEndsAfter}function xz(e,t){let r=e.patternToken;if(r.role==="event"||r.role==="action"||r.valueShape==="keyword")return!1;let i=r.expectedTypes;if(i?.length&&!i.some(a=>a==="expression"||a==="reference"))return!1;let n=Xf(e.token);return n==="structure"?!0:n!=="verb"||(e.token.normalized??e.token.value).toLowerCase()==="empty"?!1:!t?.hasBody&&!t?.roles.some(a=>a.role==="event")}function bz(e){let t=(e.normalized||e.value).toLowerCase();if(t==="empty")return xf("null");if(t==="a"||t==="an")return{type:"expression",raw:e.value}}function Dz(e,t,r){return e.kind==="particle"&&(t||Qf(r))}function ev(e,t){let r=e[t];return r?.kind==="particle"&&e[t-1]?.value.toLowerCase()==="of"&&/^[\p{L}_$][\p{L}\p{M}\p{N}_$]*$/u.test(r.value)}var tv=new Set(["is","am","are","be","was","were","not","no"]),Bz=new Set(["\u0647\u0648","\u0E40\u0E1B\u0E47\u0E19","\u0939\u0948","\u0928\u0939\u0940\u0902","mana"]),rv=new Set(["empty","null","undefined"]);function Sz(e,t,r,i){let n=(e.normalized??e.value).toLowerCase(),a=e.value.toLowerCase(),u=(t.normalized??t.value).toLowerCase();return(tv.has(n)||tv.has(Jt(i,a))||Bz.has(a)&&rv.has(u))&&!r}var Fz=new Set(["'s","a","am","an","and","as","closest","contain","contains","do","does","empty","equal","equals","exist","exists","false","first","greater","has","have","in","include","includes","is","it","its","last","less","match","matches","me","mod","my","next","no","not","null","of","or","previous","really","some","than","the","true","undefined","you","your","result","target","body","detail"]),Tz=new Set(["am","and","as","contain","contains","do","does","empty","equal","equals","exist","exists","greater","has","have","in","include","includes","is","less","match","matches","mod","no","not","of","or","really","some","than"]),iv=/\s+as\s+([A-Za-z]\w*)!?\s*$/;function nv(e){let t=e;for(let n=iv.exec(t);n;n=iv.exec(t)){if(!$i(n[1]??""))return!1;t=t.slice(0,n.index)}let r=t.replace(/"[^"]*"|'[^']*'/g,"");if(/["']/.test(r.replace(/'s\b/g,""))||/[^\x00-\x7F]/.test(r))return!1;let i=On(t);return!i.success||i.consumed===void 0||i.consumed!==pf(t).length-1?!1:Lz(i.node).every($i)}function Lz(e){let t=[],r=i=>{if(Array.isArray(i)){i.forEach(r);return}if(!i||typeof i!="object")return;let n=i;n.type==="asExpression"&&t.push(String(n.targetType?.name??"")),Object.values(i).forEach(r)};return r(e),t}function Ki(e,t){return e?.position?.end!==void 0&&t?.position?.start!==void 0&&e.position.end===t.position.start}var Pz=new Set(["is","not","really","am","or"]);function av(e,t,r){let i=n=>{let a=e[n];return a?Kr(r,a,e[n-1],e[n+1],void 0).toLowerCase():""};return i(t)==="to"&&i(t-1)==="equal"&&Pz.has(i(t-2))}function _z(e){return e.value==="a"}var Rz=new Set(["event","window","document"]);function jz(e,t,r){let i=e[t],n=e[t-1];return!i||!n||!Pt(r,n)?!1:Rz.has((i.normalized??i.value).toLowerCase())}function Oz(e,t){if(e.kind==="conjunction")return!0;if(e.kind==="keyword"){let r=(e.normalized??e.value).toLowerCase();if(r==="then"||r==="end"||r==="else"||Vn(e.value,t.profile?.code??""))return!0}return t.owes(e)}function uv(e,t,r){let i=r.profile?.code??"en";if(Vf(i,e,t)||ev(e,t)||av(e,t,i)||_z(e[t]))return!1;let n=e[t];return Oz(n,r)||r.commandMarkers.has(n.value.toLowerCase())}function Nz(e,t,r){let i=e[t],n=e[t-1],a=r.profile?.code??"en";if(i.kind==="literal"||i.value==="'"&&e[t+1]?.value==="s"||i.value==="s"&&n?.value==="'")return!0;if(i.kind==="selector"){if(!i.value.startsWith(".")||!n||Ki(n,i)||Lt.has(n.value)||/^[([,]$/.test(n.value)||Pt(r.profile,n))return!0;let o=Kr(a,n,e[t-2],i,void 0).toLowerCase();return Tz.has(o)}if(Lt.has(i.value)||/^[()[\],.!<>=+\-*/%]+$/.test(i.value)||Pt(r.profile,i)||qf(a,i,n,e[t+1])||Vf(a,e,t)||ev(e,t)||jz(e,t,r.profile)||av(e,t,a))return!0;let u=Kr(a,i,n,e[t+1],void 0).toLowerCase();return u==="as"&&r.hasResponseType?!1:Fz.has(u)?!0:i.kind==="identifier"&&/^(?:[\p{L}_$][\p{L}\p{M}\p{N}_$]*('s)?|\([\p{L}_$][\p{L}\p{M}\p{N}_$]*\))$/u.test(i.value)}function Iz(e,t,r){if(!e[t]||uv(e,t,r))return[];let i=t;for(;i<e.length&&!uv(e,i,r)&&Nz(e,i,r);)i++;let n=[];for(let a=i;a>t;a--)n.push(a);return n}function Mz(e,t,r){let i=[],n=t;for(;;){let a=e[n];if(!a)break;if(a.value==="'"&&e[n+1]?.value==="s"&&e[n+2])n+=3;else if(/.'s$/.test(e[n-1]?.value??""))n+=1;else if(Pt(r,a)&&e[n+1])n+=2;else break;i.push(n)}return i.reverse()}function Wz(e,t,r,i){for(let n of r){let a=ft(e.slice(t,n),i);if(nv(a))return{end:n,raw:a}}}Te(),Oi();var ov=96,qz=/^[A-Za-z_][\w-]*$/,$z=/^[A-Za-z_][\w-]*:[^\s'"`/:][^\s]*$/;function sv(e,t){let r=e.peek(t);return!!r&&r.kind==="identifier"&&$z.test(r.value)}function lv(e,t){let r=e.peek(t);if(!r||r.kind!=="identifier"&&r.kind!=="keyword"||!qz.test(r.value))return!1;let i=e.peek(t+1),n=e.peek(t+2);return!!i&&i.value===":"&&!!n}function cv(e,t=0){return sv(e,t)||lv(e,t)}function Vz(e){let t=e.peek();if(!t||t.value!=="{"&&t.value!=="(")return null;let r="",i=-1,n=0,a=0;for(;!e.isAtEnd()&&a++<ov;){let u=e.advance();if(!u)break;if(i>=0&&u.position.start>i&&(r+=" ".repeat(u.position.start-i)),r+=u.value,i=u.position.end,u.value==="{"||u.value==="(")n++;else if((u.value==="}"||u.value===")")&&(n--,n===0))return r}return null}function pv(e){let t=e.peek();return t?t.value==="{"||t.value==="("?Vz(e):t.value===","||t.value===":"?null:(e.advance(),t.value):null}function Hi(e,t){let r=e.mark(),i=[];if(t!==void 0){let a=e.peek();if(!a||a.value!==":"||!e.peek(1))return null;e.advance();let u=pv(e);if(u===null)return e.reset(r),null;i.push(`${t}:${u}`)}else if(!cv(e))return null;let n=0;for(;n++<ov;){let a=e.peek();if(!a)break;if(a.value===","){if(i.length===0||!cv(e,1))break;e.advance();continue}if(sv(e,0)){i.push(e.advance().value);continue}if(!lv(e,0))break;let u=e.advance().value;e.advance();let o=pv(e);if(o===null)return e.reset(r),null;i.push(`${u}:${o}`)}return i.length===0?(e.reset(r),null):`{${i.join(", ")}}`}function Kn(e){switch(e.kind){case"selector":return ot(e.value);case"literal":return Kz(e.value);case"keyword":{let r=bz(e);if(r)return r;let i=(e.normalized||e.value).toLowerCase();return mt(i)?nt(i):xf(i)??he(e.normalized||e.value)}case"identifier":if(e.value.startsWith("@"))return ot(e.value);if(e.value.startsWith(":")||e.value.startsWith("$"))return nt(e.value);let t=e.value.toLowerCase();return mt(t)?nt(t):{type:"expression",raw:e.value};case"url":{let r=he(e.value,"string");return e.value.includes("${")?{...r,interpolates:!0}:r}default:return null}}function Kz(e){if(e.startsWith('"')||e.startsWith("'")||e.startsWith("`")||e.startsWith("\u300C")){let i=e.slice(1,-1);return he(i,"string")}if(e==="true")return he(!0,"boolean");if(e==="false")return he(!1,"boolean");let t=e.match(/^(\d+(?:\.\d+)?)(ms|s|m|h)?$/);if(t){let i=parseFloat(t[1]);return t[2]?he(e,"duration"):he(i,"number")}let r=parseFloat(e);return isNaN(r)?he(e,"string"):he(r,"number")}xe();var Hn=.8,Hz=.6,Uz=.15,Gz=.5,mv=.15,dv=.1,yv=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"]),Yz={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"]},Zz=class{calculate(e){return this.calculateWithBreakdown(e).final}calculateWithBreakdown(e){let t=this.scoreRoleCoverage(e),r=this.scoreStemPenalty(e),i=this.scoreLanguageBoost(e),n=this.scoreLanguageAdjustment(e),a=t;return a=Math.max(Gz,a+r),a=Math.min(1,a+i),a=Math.max(0,Math.min(1,a+n)),{roleCoverage:t,stemPenalty:r,languageBoost:i,languageAdjustment:n,final:a}}scoreRoleCoverage(e){let{pattern:t,captured:r}=e,i=0,n=0,a=l=>t.extraction?.[l]?.default!==void 0,u=t.command==="on"?t.extraction?.action?.value:void 0,o=Ae[u??t.command]?.roles,s=l=>o?.find(c=>c.role===l)?.valueShape!==void 0;for(let l of t.template.tokens)if(l.type==="role")r.has(l.role)?(n+=1,i+=1):s(l.role)||(n+=1);else if(l.type==="group")for(let c of l.tokens)c.type==="role"&&(r.has(c.role)?(n+=Hn,i+=Hn):s(c.role)||(n+=Hn,a(c.role)&&(i+=Hn*Hz)));return n>0?i/n:1}scoreStemPenalty(e){let{stemMatchCount:t,totalKeywordMatches:r}=e;return t<=0||r<=0?0:-(t/r)*Uz}scoreLanguageBoost(e){let{pattern:t}=e;if(t.language!=="ar")return 0;let r=t.template.tokens[0];return!r||r.type!=="literal"?0:yv.has(r.value)||r.alternatives?.some(i=>yv.has(i))?mv:0}scoreLanguageAdjustment(e){let{pattern:t,captured:r}=e;if(t.language!=="ar")return 0;let i=0;for(let[n,a]of r.entries()){let u=Yz[n];if(!u||u.length===0)continue;let o="metadata"in a?a.metadata:void 0;o&&typeof o.prepositionValue=="string"&&(u.includes(o.prepositionValue)?i+=.1:i-=.1)}return Math.max(-dv,Math.min(dv,i))}},Xz=new Zz,Qz=new Set(Object.values(Ae).filter(e=>e.bareKeyword===!0).map(e=>e.action));function Jz(e){return e.startsWith("*")||e.startsWith("@")}var Be=class V{constructor(t){this.patternRest=[],this.slotAfterLiteral=!1,this.wouldMatch=(r,i)=>this.patternTokenWouldMatch(r,i),this.matchCache=new Map,this.roleStarts=new Map,this.stemMatchCount=0,this.totalKeywordMatches=0,this.confidenceModel=t??Xz}matchPattern(t,r){let i=t.mark(),n=new Map;if(this.currentProfile=T(r.language),this.currentPatternCommand=r.command,this.currentRoleCommand=r.extraction?.action?.value??r.command,this.stemMatchCount=0,this.totalKeywordMatches=0,this.roleStarts=new Map,this.eventSource=void 0,this.patternRest=[],!this.matchTokenSequence(t,r.template.tokens,n))return t.reset(i),null;let u=this.confidenceModel.calculate({pattern:r,captured:n,stemMatchCount:this.stemMatchCount,totalKeywordMatches:this.totalKeywordMatches});return this.applyExtractionRules(r,n),{pattern:r,captured:n,consumedTokens:t.position()-i.position,confidence:u,roleStarts:this.roleStarts,...this.eventSource?{eventSource:this.eventSource}:{}}}matchBest(t,r){this.matchCache.clear();let i=[],n=t.position();for(let u of r){let o=t.mark(),s=`${n}:${u.id}`,l;this.matchCache.has(s)?l=this.matchCache.get(s):(l=this.matchPattern(t,u),this.matchCache.set(s,l)),l&&i.push(l),t.reset(o)}if(i.length===0)return null;i.sort((u,o)=>{let s=o.pattern.priority-u.pattern.priority;return s!==0?s:o.confidence-u.confidence});let a=i[0];return this.matchPattern(t,a.pattern),a}matchTokenSequence(t,r,i,n){let a=r[0],u=a?.type==="literal"&&(a.value==="and"||a.value==="then"||a.alternatives?.includes("and")||a.alternatives?.includes("then"));if(this.currentProfile?.code==="ar"&&!u)for(;t.peek()?.kind==="conjunction";)t.advance();let o=0;for(let s=0;s<r.length;s++){let l=r[s];if(o>0&&l.type==="literal"&&this.tryConsumeEventSourceClause(t,i,l),zz(l,t.peek(),r[s+1]??n,this.wouldMatch)){let m=t.mark(),d=new Map(i);if(this.matchTokenSequence(t,r.slice(s+1),d,n)&&this.atClauseEnd(t)){i.clear();for(let[y,f]of d)i.set(y,f);return!0}t.reset(m)}let c=this.patternRest;this.patternRest=[...r.slice(s+1),...c],this.slotAfterLiteral=l.type==="role"&&r[s-1]?.type==="literal";let p=this.matchPatternToken(t,l,i,r[s+1]??n);if(this.patternRest=c,o=l.type==="role"&&l.role==="event"?2:Math.max(0,o-1),!p){if(this.isOptional(l))continue;return!1}}return!0}tryConsumeEventSourceClause(t,r,i){if(r.has("source")||this.eventSource)return;let n=t.peek(),a=t.peek(1);if(!n||!a||this.patternTokenWouldMatch(i,n))return;let u=this.currentProfile?.roleMarkers?.source,o=l=>{if(l.kind!=="particle"&&l.kind!=="keyword")return!1;if((l.normalized??"").toLowerCase()==="source")return!0;if(!u)return!1;let c=l.value.toLowerCase();return u.primary?.toLowerCase()===c?!0:!!u.alternatives?.some(p=>p.toLowerCase()===c)},s=u?.position;if(s!=="after"&&o(n)){let l=this.sourceNounValue(a);if(!l)return;t.advance(),t.advance(),this.eventSource=l;return}if(s==="after"&&o(a)){let l=this.sourceNounValue(n);if(!l)return;t.advance(),t.advance(),this.eventSource=l}}sourceNounValue(t){if(t.kind==="selector")return this.tokenToSemanticValue(t)??void 0;if(t.kind!=="keyword"&&t.kind!=="identifier")return;let r=(t.normalized??t.value).toLowerCase();if(r!=="me"){if(mt(r))return{type:"reference",value:r};if(t.kind==="identifier"&&/^[A-Za-z_$][\w$]*$/.test(t.value))return{type:"expression",raw:t.value}}}matchPatternToken(t,r,i,n){switch(r.type){case"literal":return this.matchLiteralToken(t,r);case"role":{let a=t.position(),u=this.matchRoleToken(t,r,i,n);return u&&i.has(r.role)&&this.roleStarts.set(r.role,a),u}case"group":return this.matchGroupToken(t,r,i,n);default:return!1}}matchLiteralToken(t,r){let i=t.peek();if(!i)return!1;let n=this.getMatchType(i,r.value);if(n!=="none")return this.totalKeywordMatches++,n==="stem"&&this.stemMatchCount++,t.advance(),!0;if(r.alternatives)for(let a of r.alternatives){let u=this.getMatchType(i,a);if(u!=="none")return this.totalKeywordMatches++,u==="stem"&&this.stemMatchCount++,t.advance(),!0}for(let a of[r.value,...r.alternatives??[]])for(let u of["-","_"])if(a.includes(u)&&this.tryMatchShatteredCompound(t,a,u))return this.totalKeywordMatches++,!0;return!1}tryFoldHyphenActionKeyword(t){let r=this.currentProfile;if(!r)return null;let i=t.mark(),n=[];for(;;){let u=t.peek();if(!u||u.kind!=="identifier"&&u.kind!=="keyword")break;n.push(u.value),t.advance();let o=t.peek();if(!o||o.value!=="-")break;t.advance(),n.push("-")}if(n.length<3||n[n.length-1]==="-")return t.reset(i),null;let a=n.join("").toLowerCase();for(let[u,o]of Object.entries(r.keywords))if(o.primary.toLowerCase()===a||o.alternatives?.some(s=>s.toLowerCase()===a))return he(u);return t.reset(i),null}tryMatchShatteredCompound(t,r,i){let n=r.split(i);if(n.length<2||n.some(u=>u.length===0))return!1;let a=t.mark();for(let u=0;u<n.length;u++){if(u>0){let s=t.peek();if(!s||s.value!==i)return t.reset(a),!1;t.advance()}let o=t.peek();if(!o||o.kind!=="identifier"&&o.kind!=="keyword"&&o.kind!=="particle"||o.value.toLowerCase()!==n[u].toLowerCase())return t.reset(a),!1;t.advance()}return!0}matchRoleToken(t,r,i,n){let a=t.position(),u=i.get(r.role);return this.matchRoleTokenCore(t,r,i,n)?(this.absorbTrailingConversion(t,r,i,n,a),this.absorbTrailingConditionOperand(t,r,i,n,a),this.absorbExpressionTail(t,r,i,n,a),this.stampCaptureSpan(t,r.role,i,a,u),!0):!1}absorbExpressionTail(t,r,i,n,a){if(r.role==="event"||r.role==="action"||this.isClassNameSlot(r)||!i.has(r.role)||t.position()<=a)return;let u=r.expectedTypes;if(u&&u.length>0&&!u.includes("expression"))return;let o=V.boundedByMarker(n)?Iz(t.tokens,t.position(),this.extentContext()):Mz(t.tokens,t.position(),this.currentProfile),s=Wz(t.tokens,a,o,this.currentProfile);if(s){for(;t.position()<s.end;)t.advance();i.set(r.role,{type:"expression",raw:s.raw,value:s.raw})}}extentContext(){let t=this.restLiterals();return{profile:this.currentProfile,owes:r=>t.some(i=>this.patternTokenWouldMatch(i,r)),commandMarkers:this.commandMarkers(),hasResponseType:!!this.currentSchema()?.roles.some(r=>r.role==="responseType")}}isClassNameSlot(t){return t.role==="patient"&&["add","remove","toggle","take"].includes(this.currentRoleCommand??"")}isObjectValueSlot(t){let r=this.currentRoleCommand;return t.role==="source"?r==="get":t.role==="patient"&&(r==="put"||r==="set")}static boundedByMarker(t){return!t||t.type==="literal"?!0:t.type==="group"?t.tokens[0]?.type==="literal":!1}restLiterals(){let t=[],r=i=>{for(let n of i)n.type==="literal"?t.push(n):n.type==="group"&&r(n.tokens)};return r(this.patternRest),t}currentSchema(){let t=this.currentRoleCommand;if(!(!t||!(t in Ae)))return Ae[t]}commandMarkers(){let t=this.currentSchema(),r=this.currentProfile,i=new Set;if(!t||!r)return i;for(let n of t.roles){let a=n.markerOverride?.[r.code];if(a){i.add(a.toLowerCase());continue}let u=r.roleMarkers[n.role];if(u){i.add(u.primary.toLowerCase());for(let o of u.alternatives??[])i.add(o.toLowerCase())}}return i.delete(""),i}stampCaptureSpan(t,r,i,n,a){let u=i.get(r);if(!u||u===a||u.position||t.position()<=n)return;let o=t.tokens[n],s=t.tokens[t.position()-1];!o||!s||i.set(r,bf(u,{start:o.position.start,end:s.position.end}))}absorbTrailingConditionOperand(t,r,i,n,a){if(r.role!=="condition"||!i.has("condition")||t.position()<=a)return;let u=this.currentPatternCommand==="repeat";if(!u&&(n!==void 0||this.currentPatternCommand!=="on"))return;let o=V.CONDITION_OPERATOR_WORDS,s=m=>{let d=(m.normalized??"").toLowerCase(),y=m.value.toLowerCase();if(o.has(d)||o.has(y))return!0;let f=V.LOOP_CONDITION_OPERATORS;return u&&(f.has(y)||f.has(d))},l=m=>!!m&&(m.kind==="selector"||m.kind==="identifier"||m.kind==="literal")&&!s(m)&&!$r.has((m.normalized??m.value).toLowerCase())&&!this.patternTokenWouldMatch(n,m),c=!1;for(;;){let m=t.peek();if(!m||!s(m)||this.patternTokenWouldMatch(n,m))break;t.advance(),c=!0;let d=t.peek();if(l(d)){t.advance();for(let y=t.peek();!(!y||!/^\.[a-zA-Z_]\w*$/.test(y.value)||y.position.start!==d.position.end);y=t.peek())t.advance(),d=y}if(!u)break}if(!c)return;let p=ft(t.tokens.slice(a,t.position()),this.currentProfile);i.set("condition",{type:"expression",raw:p,value:p})}conversionRunLength(t){let r=t.peek();if(!r||(r.normalized??r.value).toLowerCase()!=="as"&&r.value.toLowerCase()!=="as")return 0;let n=this.conversionTypeLength(t,1);if(n===0)return 0;for(n+=1;;){if(t.peek(n)?.value!=="|")return n;let a=this.conversionTypeLength(t,n+1);if(a===0)return n;n+=1+a}}conversionTypeLength(t,r){let i=t.peek(r)?.value.toLowerCase(),n=i==="a"||i==="an"?r+1:r,a=t.peek(n);if(!a)return 0;let u=t.peek(n+1),o=t.peek(n+2);return u?.value===":"&&o&&Ki(a,u)&&Ki(u,o)&&$i(`${a.value}:${o.value}`)?n-r+3:$i(a.value)?n-r+1:0}absorbTrailingConversion(t,r,i,n,a){if(r.role==="event"||r.role==="action"||!i.has(r.role)||t.position()<=a)return;let u=this.conversionRunLength(t);if(u===0||this.patternTokenWouldMatch(n,t.peek()))return;for(let s=0;s<u;s++)t.advance();let o=ft(t.tokens.slice(a,t.position()),this.currentProfile);i.set(r.role,{type:"expression",raw:o,value:o})}matchRoleTokenCore(t,r,i,n){this.skipNoiseWords(t,r,n);let a=t.peek();if(!a)return r.optional||!1;let u=this.slotAt(t,r,n);if(r.role==="action"&&this.currentProfile&&t.peek(1)?.value==="-"){let E=this.tryFoldHyphenActionKeyword(t);if(E)return i.set(r.role,E),!0}if(r.role==="event"&&this.currentPatternCommand==="on"){if(!V.tokenLooksLikeEvent(a))return r.optional||!1;let E=(a.normalized??a.value).toLowerCase();if(V.POSITIONAL_OR_SCOPE_KEYWORDS.has(E)||V.VISIBILITY_STRATEGIES.has(E)||this.currentProfile&&(yt(this.currentProfile,a.value)??yt(this.currentProfile,E))!==void 0||a.value.includes("?."))return r.optional||!1}if(r.role==="event"){let E=(a.normalized??a.value).toLowerCase();if(V.STRUCTURAL_NEVER_EVENT.has(E))return r.optional||!1}if(hz(u,this.currentProfile?.code??"")||Ez(u,this.currentPatternCommand))return r.optional||!1;if(r.role==="duration"){let E=(a.normalized??a.value).toLowerCase();if(V.POSITIONAL_OR_SCOPE_KEYWORDS.has(E))return r.optional||!1}if(kz(u))return!0;if(this.roleAcceptsPropertyPath(r)){let E=this.tryMatchPositionalPossessiveExpression(t,n);if(E)return i.set(r.role,E),!0}let o=this.tryMatchPositionalExpression(t,n);if(o)return r.expectedTypes&&r.expectedTypes.length>0&&!qn(o.type,r.expectedTypes)?r.optional||!1:(i.set(r.role,o),!0);let s=this.tryMatchCaretScopeExpression(t);if(s)return r.expectedTypes&&r.expectedTypes.length>0&&!qn(s.type,r.expectedTypes)?r.optional||!1:(i.set(r.role,s),!0);let l=this.tryMatchParenReceiverCall(t);if(l)return r.expectedTypes&&r.expectedTypes.length>0&&!r.expectedTypes.includes("expression")?r.optional||!1:(i.set(r.role,l),!0);if(r.role!=="event"&&(!r.expectedTypes||r.expectedTypes.includes("expression"))){let E=this.tryMatchBeepPrefixExpression(t);if(E)return i.set(r.role,E),!0;let x=this.tryMatchHyphenatedWord(t);if(x)return i.set(r.role,x),!0;let w=this.isWrittenTarget(r)?null:this.tryMatchOperatorRunExpression(t);if(w)return i.set(r.role,w),!0}if(this.currentPatternCommand==="pick"&&r.role==="patient"&&(!r.expectedTypes||r.expectedTypes.includes("expression"))){let E=this.tryMatchPickRangeExpression(t);if(E)return i.set(r.role,E),!0}if(this.roleAcceptsPropertyPath(r)){let E=this.tryMatchOfPossessiveExpression(t,n);if(E)return i.set(r.role,E),!0;let x=this.tryMatchPostNominalPossessiveExpression(t);if(x)return i.set(r.role,x),!0}let c=this.tryMatchPossessiveExpression(t);if(c)return r.expectedTypes&&r.expectedTypes.length>0&&!r.expectedTypes.includes(c.type)&&!r.expectedTypes.includes("expression")?r.optional||!1:(i.set(r.role,c),!0);let p=this.tryMatchMethodCallExpression(t);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);let d=r.role==="event"&&this.currentPatternCommand==="on"||V.DECLARATION_COMMANDS.has(this.currentPatternCommand??"")||this.isWrittenTarget(r)?null:this.tryMatchBareCallExpression(t);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);let y=this.tryMatchPossessiveSelectorExpression(t);if(y)return r.expectedTypes&&r.expectedTypes.length>0&&!qn(y.type,r.expectedTypes)?r.optional||!1:(i.set(r.role,y),!0);let f=r.role!=="condition",v=this.tryMatchPropertyAccessExpression(t,f);if(v)return r.expectedTypes&&r.expectedTypes.length>0&&!r.expectedTypes.includes(v.type)&&!r.expectedTypes.includes("expression")?r.optional||!1:(i.set(r.role,v),!0);let h=this.tryMatchSelectorPropertyExpression(t);if(h)return r.expectedTypes&&r.expectedTypes.length>0&&!qn(h.type,r.expectedTypes)?r.optional||!1:(i.set(r.role,h),!0);if(a.value==="("&&r.role!=="event"&&r.role!=="action"&&(!r.expectedTypes?.length||r.expectedTypes.some(E=>E==="expression"||E==="selector"||E==="reference"))){let E=this.tryMatchParenGroupExpression(t);if(E)return i.set(r.role,E),!0}if(a.kind==="identifier"&&a.value==="{"){let E=r.expectedTypes,w=E?.length===1&&E[0]==="expression"||this.isObjectValueSlot(r)?this.tryMatchBraceRunExpression(t):!E?.length||E.includes("literal")?this.tryMatchBraceRunLiteral(t):null;if(w)return i.set(r.role,w),!0}if(r.role==="style"&&r.expectedTypes?.length===1&&r.expectedTypes[0]==="expression"){let E=Hi(t);if(E)return i.set(r.role,{type:"expression",raw:E}),!0}if(Az(u)||xz(u,this.currentSchema())||gz(u,this.currentProfile?.code??""))return i.set(r.role,{type:"expression",raw:a.value}),t.advance(),!0;let g=this.tokenToSemanticValue(a);if(!g)return r.optional||!1;if(r.expectedTypes&&r.expectedTypes.length>0&&!r.expectedTypes.includes(g.type)){let E=g.type==="selector"&&String(g.value).startsWith("@"),x=r.expectedTypes.some(w=>w==="expression"||w==="reference");if(!(E&&x))return r.optional||!1}r.valueShape==="keyword"&&g.type==="expression"?i.set(r.role,he(String(g.raw??""))):i.set(r.role,g),t.advance();let k=this.isClassNameSlot(r);if(g.type==="selector"&&(g.value.startsWith("<")||g.value.startsWith(".")&&!k)&&r.role!=="event"){let E=Rf(t.tokens,t.position(),this.currentProfile,x=>x===void 0?!1:this.patternTokenWouldMatch(n,x));if(E){let[x,w]=E.scope.parts,D=E.scope.kind==="reference"?nt(x.text):E.scope.kind==="closest"?{type:"expression",raw:`closest ${w.text}`}:this.tokenToSemanticValue(x.token);for(let F=0;F<1+E.scope.consumed;F++)t.advance();i.set(r.role,{...g,scope:D})}}if(r.role==="event"){let E=t.peek();E&&E.kind==="selector"&&E.value.startsWith("[")&&E.position.start===a.position.end&&"value"in g&&(i.set(r.role,he(`${String(g.value)}${E.value}`)),t.advance());let x=t.peek();if(x&&(x.kind==="particle"||x.kind==="keyword")&&(x.normalized??"").toLowerCase()==="source"&&!this.patternTokenWouldMatch(n,x)){let w=t.peek(1),D=w?this.sourceNounValue(w):void 0;D&&!this.eventSource&&(t.advance(),t.advance(),this.eventSource=D)}}return!0}atClauseEnd(t){let r=t.peek();if(!r||r.kind==="conjunction")return!0;if(r.kind!=="keyword")return!1;let i=(r.normalized??r.value).toLowerCase();return i==="then"||i==="end"?!0:Vn(r.value,this.currentProfile?.code??"")}patternTokenWouldMatch(t,r){return t?t.type==="literal"?this.getMatchType(r,t.value)!=="none"?!0:!!t.alternatives?.some(i=>this.getMatchType(r,i)!=="none"):t.type==="group"?this.patternTokenWouldMatch(t.tokens?.[0],r):!1:!1}tryMatchPositionalExpression(t,r){let i=qi(t.tokens,t.position(),this.currentProfile,n=>n===void 0?!1:this.patternTokenWouldMatch(r,n));if(!i)return null;for(let n=0;n<i.consumed;n++)t.advance();return{type:"expression",raw:i.parts.map(n=>n.text).join(" ")}}tryMatchCaretScopeExpression(t){let r=t.peek();if(!r||r.kind!=="identifier"||!r.value.startsWith("^"))return null;let i=t.peek(1),n=t.peek(2),a=(i?.normalized??"").toLowerCase(),u=!!i&&(i.value.toLowerCase()==="on"||a==="destination"||a==="on");return!i||!n||n.kind!=="selector"||!u?null:(t.advance(),t.advance(),t.advance(),{type:"expression",raw:`${r.value} on ${n.value}`})}isOfPossessiveMarker(t){return Pt(this.currentProfile,t)}logicalConnectiveOf(t){let r=t.peek();if(!r)return;let i=this.currentProfile?.code??"en",n=s=>s==="and"||s==="or"||s==="not",a=Jt(i,r.value).toLowerCase();if(n(a))return a;if(this.commandMarkers().has(r.value.toLowerCase()))return;let u=t.position(),o=iz(i,r,t.tokens[u-1],t.tokens[u+1]);return o&&n(o)?o:void 0}tryConsumeRunPhrase(t){let r=this.currentProfile?.code??"en",i=t.tokens,n=t.position(),a=[],u;for(let o=0;o<6&&n+o<i.length;o++){let s=i[n+o],l=Kr(r,s,i[n+o-1],i[n+o+1],u).toLowerCase();a.push(l),u=l}for(let[o,s]of V.RUN_PHRASES)if(o.every((l,c)=>a[c]===l)){for(let l=0;l<o.length;l++)t.advance();return s}}slotAt(t,r,i){return new fz(t,r,this.slotAfterLiteral,i,this.wouldMatch)}static isBareWordToken(t){return!!t&&/^[A-Za-z_][A-Za-z0-9_]*$/.test(t.value)}tryMatchBeepPrefixExpression(t){let r=t.peek(),i=t.peek(1);if(!r||!i||i.value!=="!"||(r.normalized??r.value).toLowerCase()!=="beep"||!(r.position?.end!==void 0&&i.position?.start!==void 0&&r.position.end===i.position.start))return null;let a=t.mark(),u=t.position();if(t.advance(),t.advance(),!this.tryConsumeRunOperand(t))return t.reset(a),null;for(;;){let s=t.peek();if(!s||!Lt.has(s.value))break;let l=t.mark();if(t.advance(),!this.tryConsumeRunOperand(t,!0)){t.reset(l);break}}let o=ft(t.tokens.slice(u,t.position()),this.currentProfile);return{type:"expression",raw:o,value:o}}tryMatchHyphenatedWord(t){let r=t.peek();if(!V.isBareWordToken(r))return null;let i=1,n=[r.value];for(;;){let a=t.peek(i),u=t.peek(i+1);if(!a||a.value!=="-"||!V.isBareWordToken(u)||!Ki(t.peek(i-1),a)||!Ki(a,u))break;n.push(u.value),i+=2}if(n.length<2)return null;for(let a=0;a<i;a++)t.advance();return he(n.join("-"),"string")}tryMatchOperatorRunExpression(t){let r=t.mark(),i=t.position(),n=t.peek(),a=!!n&&(this.logicalConnectiveOf(t)==="not"||n.value==="-");if(!this.tryConsumeRunOperand(t))return t.reset(r),null;let u=1;for(;;){let s=t.peek();if(!s)break;let l=this.logicalConnectiveOf(t),c=(l==="and"||l==="or")&&this.currentRoleCommand!=="wait",p=t.mark();if(c||Lt.has(s.value))t.advance();else{let m=this.tryConsumeRunPhrase(t);if(m===void 0)break;if(m==="none"){u++;continue}}if(!this.tryConsumeRunOperand(t,!0,c)){t.reset(p);break}u++}if(u<2&&!a)return t.reset(r),null;let o=ft(t.tokens.slice(i,t.position()),this.currentProfile);return{type:"expression",raw:o,value:o}}static rangeSeparatorFor(t){let[r]=V.PICK_RANGE_SEPARATORS_BY_LANG[t]??[];return r}isPickRangeSeparator(t){let r=(t.normalized??t.value).toLowerCase();if(V.PICK_RANGE_SEPARATORS.has(r))return!0;let i=this.currentProfile?.code;return i?V.PICK_RANGE_SEPARATORS_BY_LANG[i]?.has(t.value.toLowerCase())??!1:!1}tryMatchPickRangeExpression(t){let r=t.mark(),i=t.position();if(!this.tryConsumePickRangeOperand(t))return t.reset(r),null;let n=t.peek();if(!n||!this.isPickRangeSeparator(n)||(t.advance(),!this.tryConsumePickRangeOperand(t)))return t.reset(r),null;let a=t.peek();a&&V.PICK_RANGE_MODES.has((a.normalized??a.value).toLowerCase())&&t.advance();let u=t.tokens.slice(i,t.position()),[o,,s,l]=u,c=m=>m.kind==="keyword"?m.normalized??m.value:m.value,p=`${c(o)} to ${c(s)}`;return l&&(p+=` ${(l.normalized??l.value).toLowerCase()}`),{type:"expression",raw:p,value:p}}tryConsumePickRangeOperand(t){let r=t.peek();if(!r)return!1;let i=(r.normalized??r.value).toLowerCase();if(this.isPickRangeSeparator(r))return!1;let n=i==="start"||i==="end";return r.kind==="literal"||r.kind==="identifier"||r.kind==="keyword"&&n?(t.advance(),!0):!1}tryConsumeRunOperand(t,r=!1,i=!1){let n=t.peek();if(!n)return!1;if(this.logicalConnectiveOf(t)==="not"){let u=t.mark();return t.advance(),wz(t.peek()??void 0,t.peek(1)??void 0)?(t.reset(u),!1):this.tryConsumeRunOperand(t,!0,i)?!0:(t.reset(u),!1)}if(n.value==="-"){let u=t.mark();return t.advance(),this.tryConsumeRunOperand(t,!0,i)?!0:(t.reset(u),!1)}if(i&&Cz(n))return!1;if(Dz(n,r,t.peek(1)??void 0))return t.advance(),!0;if(n.value==="("){let u=t.mark(),o=0;for(;!t.isAtEnd();){let s=t.advance();if(s.value==="(")o++;else if(s.value===")"&&(o--,o===0))return!0}return t.reset(u),!1}if(this.tryMatchPossessiveExpression(t))return!0;if(n.value.toLowerCase()==="the"){let u=t.mark();if(t.advance(),this.tryConsumeRunOperand(t,r,i))return!0;t.reset(u)}if(this.tryMatchOfPossessiveExpression(t)||this.tryMatchPossessiveSelectorExpression(t)||this.tryMatchPropertyAccessExpression(t,!0)||this.tryMatchSelectorPropertyExpression(t))return!0;let a=(n.normalized??"").toLowerCase();return(n.kind==="literal"||n.kind==="identifier"||n.kind==="selector"||n.kind==="keyword")&&!Lt.has(n.value)&&!["then","else"].includes(a)&&(a!=="end"||this.endWordIsValueAt(t))&&n.value!==")"?(t.advance(),!0):!1}endWordIsValueAt(t){return xt(Xe(t.tokens,t.position()),this.currentProfile?.code??"")}isPossessorToken(t){if(!this.currentProfile)return!1;for(let r of[t.value,t.normalized].filter(Boolean))if(yt(this.currentProfile,r)??yt(this.currentProfile,r.toLowerCase()))return!0;return!1}isBareWordPropertyHead(t){return t.kind!=="identifier"||/^[$:@#.*]/.test(t.value)||this.isStructuralKeyword(t.value)||t.normalized&&this.isStructuralKeyword(t.normalized)||t.normalized&&this.isRoleMarkerConcept(t.normalized)?!1:!this.isPossessorToken(t)}toEnglishProperty(t){return this.currentProfile?Ze(this.currentProfile.code,t):t}roleAcceptsPropertyPath(t){if(t.type!=="role")return!1;if(t.expectedTypes)return t.expectedTypes.includes("property-path");let r=this.currentRoleCommand;return r?Ae[r]?.roles.find(a=>a.role===t.role)?.expectedTypes?.includes("property-path")??!1:!1}tryMatchOfPossessiveExpression(t,r){let i=t.peek();if(!i||!(i.kind==="selector"?/^[*@]/.test(i.value):this.isBareWordPropertyHead(i)))return null;let a=t.position(),u=t.mark();t.advance();let o=t.peek();if(!o||!this.isOfPossessiveMarker(o))return t.reset(u),null;t.advance(),t.peek()?.value.toLowerCase()==="the"&&t.advance();let s=qi(t.tokens,t.position(),this.currentProfile,c=>c===void 0?!1:this.patternTokenWouldMatch(r,c));if(s){for(let c=0;c<s.consumed;c++)t.advance();return dt({type:"expression",raw:s.parts.map(c=>c.text).join(" ")},this.toEnglishProperty(i.value),"possessive")}let l=t.peek();if(!l||l.kind!=="selector"||Jz(l.value)){if(t.reset(u),this.patternTokenWouldMatch(r,o))return null;let c=this.currentProfile?.code??"en",p=Kf(t.tokens,a,this.currentProfile,c);if(p===void 0)return null;for(;t.position()<=p;)t.advance();let m=ft(t.tokens.slice(a,p+1),this.currentProfile);return{type:"expression",raw:m,value:m}}return t.advance(),dt(ot(l.value),this.toEnglishProperty(i.value),"possessive")}tryMatchPositionalPossessiveExpression(t,r){let i=this.currentProfile,n=i?.possessive?.marker;if(!i||!n||i.possessive?.markerPosition!=="between"||i.code==="th")return null;let a=qi(t.tokens,t.position(),i,l=>l===void 0?!1:this.patternTokenWouldMatch(r,l));if(!a)return null;let u=t.peek(a.consumed),o=t.peek(a.consumed+1);if(!u||u.value!==n)return null;let s=!!o&&(this.isBareWordPropertyHead(o)||o.kind==="selector"&&o.value.startsWith("*")||o.kind==="keyword"&&jf(i.code,o.value));if(!o||!s)return null;for(let l=0;l<a.consumed+2;l++)t.advance();return dt({type:"expression",raw:a.parts.map(l=>l.text).join(" ")},this.toEnglishProperty(o.value),"possessive")}tryMatchPossessiveExpression(t){let r=t.peek();if(!r||!this.currentProfile)return null;let i=[r.value,r.normalized].filter(Boolean),n;for(let s of i)if(n=yt(this.currentProfile,s)??yt(this.currentProfile,s.toLowerCase()),n)break;if(!n)return null;let a=t.mark();t.advance();let u=this.currentProfile.possessive?.connectors;if(u&&u.length>0){let s=t.peek();if(s){let l=s.value.toLowerCase(),c=(s.normalized??"").toLowerCase();u.some(p=>p.toLowerCase()===l||p.toLowerCase()===c)&&t.advance()}}let o=t.peek();if(!o||VE(this.currentProfile.code,o.value))return t.reset(a),null;if(o.kind==="identifier"||o.kind==="keyword"&&!this.isStructuralKeyword(o.value)&&!(o.normalized&&this.isStructuralKeyword(o.normalized))&&!(o.normalized&&this.isRoleMarkerConcept(o.normalized))&&!(o.normalized&&V.COMMAND_ACTION_KEYWORDS.has(o.normalized.toLowerCase()))||o.kind==="selector"&&o.value.startsWith("*")||o.kind==="selector"&&o.value.startsWith("@")||o.kind==="selector"&&o.value.startsWith(".")&&/^\.[a-zA-Z_]\w*/.test(o.value)){t.advance();let s=o.value;o.kind==="selector"&&s.startsWith(".")&&/^\.[a-zA-Z_]\w*/.test(s)&&(s=s.substring(1)),s=this.toEnglishProperty(s);let l=s;for(;;){let p=t.peek();if(p?.kind==="selector"&&p.value.startsWith(".")&&/^\.[a-zA-Z_]\w*/.test(p.value)){l+=p.value,t.advance();continue}if(p?.value==="?"){let m=t.peek(1);if(m?.kind==="selector"&&m.value.startsWith(".")&&/^\.[a-zA-Z_]\w*/.test(m.value)){l+=`?${m.value}`,t.advance(),t.advance();continue}}break}let c=t.peek();if(c&&c.value.startsWith("(")){let p="",m=0,d=0;for(;!t.isAtEnd()&&d++<V.MAX_METHOD_ARGS+2;){let y=t.peek();if(!y)break;p+=y.value,t.advance();for(let f of y.value)f==="("?m++:f===")"&&m--;if(m<=0)break}l+=p}return dt(nt(n),l,"possessive")}return t.reset(a),null}tryMatchPostNominalPossessiveExpression(t){if(!this.currentProfile||this.currentProfile.possessive?.markerPosition!=="after-object")return null;let r=t.peek();if(!r)return null;let i=r.kind==="selector"&&r.value.startsWith(".")&&/^\.[a-zA-Z_]\w*/.test(r.value);if(!(r.kind==="identifier"&&!this.isStructuralKeyword(r.value)&&!(r.normalized&&this.isStructuralKeyword(r.normalized))&&!(r.normalized&&this.isRoleMarkerConcept(r.normalized))||r.kind==="selector"&&(r.value.startsWith("*")||r.value.startsWith("@"))||i)||this.isPossessorToken(r))return null;let a=t.mark(),u=r.value;i&&(u=u.substring(1)),t.advance(),u=this.toEnglishProperty(u);let o=u;for(;t.peek()?.kind==="selector"&&t.peek().value.startsWith(".")&&/^\.[a-zA-Z_]\w*/.test(t.peek().value);)o+=t.peek().value,t.advance();let s=t.peek();if(!s)return t.reset(a),null;let l;for(let p of[s.value,s.normalized].filter(Boolean))if(l=yt(this.currentProfile,p)??yt(this.currentProfile,p.toLowerCase()),l)break;if(!l)return t.reset(a),null;let c=t.mark();return this.tryMatchPossessiveExpression(t)?(t.reset(a),null):(t.reset(c),t.advance(),dt(nt(l),o,"possessive"))}isStructuralKeyword(t){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(t.toLowerCase())}isRoleMarkerConcept(t){return Lr.has(t.toLowerCase())}static tokenLooksLikeEvent(t){if(t.kind==="selector"||t.kind==="url"||t.kind==="literal")return!1;let r=t.value;if(/[/#@*]/.test(r)||r.startsWith('"')||r.startsWith("'")||r.startsWith("`"))return!1;let i=t.normalized?.toLowerCase();return!(i&&Qz.has(i)||i==="me"||i==="it"||i==="you")}tryMatchBraceRunLiteral(t){let r=t.peek();if(!r||r.kind!=="identifier"||r.value!=="{")return null;let i=t.mark();t.advance();let n=["{"],a=1,u=0;for(;!t.isAtEnd()&&u++<V.MAX_BRACE_RUN_TOKENS;){let o=t.advance();if(!o)break;if(o.value==="{")a++;else if(o.value==="}"&&(a--,a===0))return n.push("}"),he(n.join(" "));n.push(o.value)}return t.reset(i),null}tryMatchBraceRunExpression(t){let r=t.peek();if(!r||r.kind!=="identifier"||r.value!=="{")return null;let i=t.mark(),n="",a=-1,u=0,o=0;for(;!t.isAtEnd()&&o++<V.MAX_BRACE_RUN_TOKENS;){let s=t.advance();if(!s)break;if(a>=0&&s.position.start>a&&(n+=" ".repeat(s.position.start-a)),n+=s.value,a=s.position.end,s.value==="{")u++;else if(s.value==="}"&&(u--,u===0))return{type:"expression",raw:n}}return t.reset(i),null}tryMatchBareCallExpression(t){let r=t.peek();if(!r||r.kind!=="identifier"||!/^[A-Za-z_][\w$]*$/.test(r.value))return null;let i=t.peek(1);if(!i||i.value!=="(")return null;let n=t.mark();t.advance();let a=t.advance(),u="",o=a.position?.end,s=!1,l=0;for(;!t.isAtEnd()&&l++<V.MAX_METHOD_ARGS+2;){let c=t.peek();if(!c)break;if(c.value===")"){t.advance(),s=!0;break}let p=o!==void 0&&c.position?.start===o;u+=(u===""||p?"":" ")+c.value,o=c.position?.end,t.advance()}return s?{type:"expression",raw:`${r.value}(${u})`}:(t.reset(n),null)}tryMatchMethodCallExpression(t){let r=t.peek();if(!r||r.kind!=="selector")return null;let i=t.mark();t.advance();let n=t.peek();if(!n||n.kind!=="operator"||n.value!==".")return t.reset(i),null;t.advance();let a=t.peek();if(!a||a.kind!=="identifier")return t.reset(i),null;t.advance();let u=t.peek();if(!u||u.kind!=="punctuation"||u.value!=="(")return t.reset(i),null;t.advance();let o=[];for(;!t.isAtEnd()&&o.length<V.MAX_METHOD_ARGS;){let l=t.peek();if(!l)break;if(l.kind==="punctuation"&&l.value===")"){t.advance();break}if(l.kind==="punctuation"&&l.value===","){t.advance();continue}o.push(l.value),t.advance()}return{type:"expression",raw:`${r.value}.${a.value}(${o.join(", ")})`}}tryMatchParenReceiverCall(t){if(t.peek()?.value!=="(")return null;let r=t.mark(),i=[];t.advance();let n=1;for(;!t.isAtEnd()&&i.length<=V.MAX_METHOD_ARGS*4;){let c=t.peek();if(t.advance(),c.value==="(")n++;else if(c.value===")"&&--n===0)break;i.push(c)}let a=t.tokens[t.position()-1],u=t.peek();if(n!==0||i.length===0||!u||u.kind!=="selector"||!/^\.[A-Za-z_$][\w$]*$/.test(u.value)||!V.abuts(a,u))return t.reset(r),null;t.advance();let o=t.peek();if(o?.value!=="("||!V.abuts(u,o))return t.reset(r),null;let s=this.consumeCallParens(t);return s===null?(t.reset(r),null):{type:"expression",raw:`(${ft(i,this.currentProfile)})${u.value}${s}`}}tryMatchParenGroupExpression(t){if(t.peek()?.value!=="(")return null;let r=t.mark();t.advance();let i=[],n=1;for(;!t.isAtEnd();){let l=t.peek();if(t.advance(),l.value==="(")n++;else if(l.value===")"&&--n===0)break;i.push(l)}let a=t.tokens[t.position()-1],u=t.peek(),o=!!u&&(u.value==="'"||Lt.has(u.value)||V.abuts(a,u)&&(u.value.startsWith(".")||u.value==="("));if(n!==0||i.length===0||o)return t.reset(r),null;let s=`(${ft(i,this.currentProfile)})`;return{type:"expression",raw:s,value:s}}static abuts(t,r){return!!t&&!!r&&t.position.end===r.position.start}consumeCallParens(t){let r=t.mark(),i=[],n=0;for(;!t.isAtEnd();){let a=t.peek();if(!a)break;if(i.push(a.value),t.advance(),a.value==="(")n++;else if(a.value===")"&&--n===0)return i.join("")}return t.reset(r),null}tryMatchPropertyAccessExpression(t,r=!0){let i=t.peek();if(!i||i.kind!=="identifier"&&i.kind!=="keyword")return null;let n=t.mark();t.advance();let a=i.value.toLowerCase(),u=t.peek();if((i.kind==="identifier"||V.PROPERTY_ACCESS_BASES.has(a))&&u&&u.kind==="selector"&&/^\.[a-zA-Z_]/.test(u.value)&&u.position.start===i.position.end){let d=i.value,y=[],f=0;for(;f<V.MAX_PROPERTY_DEPTH;){let g=t.peek();if(g&&g.kind==="selector"&&/^\.[a-zA-Z_]/.test(g.value))d+=`.${g.value.slice(1)}`,y.push(g.value.slice(1)),t.advance(),f++;else break}let v=t.peek(),h=!!v&&v.value.startsWith("(");return r&&!h&&y.length>0&&mt(a)?dt(nt(a),y.join("."),"dot"):(h&&(d+=this.consumeCallParens(t)??""),{type:"expression",raw:d})}let o=t.peek();if(!o||o.kind!=="operator"||o.value!==".")return t.reset(n),null;t.advance();let s=t.peek();if(!s||s.kind!=="identifier")return t.reset(n),null;t.advance();let l=`${i.value}.${s.value}`,c=1;for(;!t.isAtEnd()&&c<V.MAX_PROPERTY_DEPTH;){let d=t.peek();if(!d||d.kind!=="operator"||d.value!==".")break;t.advance();let y=t.peek();if(!y||y.kind!=="identifier")break;t.advance(),l+=`.${y.value}`,c++}let p=t.peek();if(p&&p.kind==="punctuation"&&p.value==="("){t.advance();let d=[],y=0;for(;!t.isAtEnd()&&d.length<V.MAX_METHOD_ARGS;){let v=t.peek();if(!v)break;if(v.kind==="punctuation"&&v.value===")"){if(y===0){t.advance();break}y--}if(v.kind==="punctuation"&&v.value==="("&&y++,v.kind==="punctuation"&&v.value===","){t.advance();continue}d.push(v.value),t.advance()}return{type:"expression",raw:`${l}(${d.join(", ")})`}}let m=i.value.toLowerCase();if(r&&mt(m)){let d=l.split(".").slice(1).join(".");return dt(nt(m),d,"dot")}return{type:"expression",raw:l}}tryMatchPossessiveSelectorExpression(t){let r=t.peek();if(!r||r.kind!=="selector")return null;let i=t.mark();t.advance();let n=t.peek(),a=this.currentProfile?.possessive?.marker?.replace(/^-/,""),u=!!n&&n.kind==="punctuation"&&n.value==="'s",o=!!n&&n.value==="'"&&(t.peek(1)?.value??"").toLowerCase()==="s",s=(()=>{if(!this.currentPatternCommand||(n?.normalized??"").toLowerCase()!=="source")return!1;let y=Ae[this.currentPatternCommand];return!!y&&y.roles.some(f=>f.role==="source")})(),l=!!n&&!!a&&a!=="'s"&&n.value===a&&(n.kind==="particle"||n.kind==="punctuation"||n.kind==="identifier")&&!s;if(!u&&!l&&!o)return t.reset(i),null;t.advance(),o&&t.advance();let c=t.peek();if(!c)return t.reset(i),null;let p=c.kind==="selector"&&c.value.startsWith("*"),m=c.kind==="keyword"&&!!this.currentProfile&&jf(this.currentProfile.code,c.value);return c.kind==="identifier"||p||m||(u||o)&&(c.kind==="selector"||c.kind==="keyword")?(t.advance(),dt(ot(r.value),this.toEnglishProperty(c.value),"possessive")):(t.reset(i),null)}tryMatchSelectorPropertyExpression(t){let r=t.peek();if(!r||r.kind!=="selector"||!r.value.startsWith("#"))return null;let i=t.mark();t.advance();let n=t.peek();if(!n||n.kind!=="selector"||!n.value.startsWith("."))return t.reset(i),null;t.advance();let a=[n.value.slice(1)],u=n;for(let s=t.peek();s&&s.kind==="selector"&&/^\.[a-zA-Z_]/.test(s.value)&&a.length<V.MAX_PROPERTY_DEPTH;s=t.peek())a.push(s.value.slice(1)),u=s,t.advance();let o=t.peek();if(o?.value==="("&&V.abuts(u,o)){let s=this.consumeCallParens(t);if(s!==null)return{type:"expression",raw:`${r.value}.${a.join(".")}${s}`}}return dt(ot(r.value),a.join("."),"dot")}matchGroupToken(t,r,i,n){let a=t.mark(),u=new Map(i),o=this.matchTokenSequence(t,r.tokens,i,n);if(o){let s=[];for(let l of r.tokens)if(l.type==="group"&&l.renderRequired)for(let c of l.tokens)c.type==="literal"&&s.push(c.value,...c.alternatives??[]);s.length>0&&[...i.keys()].some(c=>!u.has(c))&&(t.tokens.slice(a.position,t.position()).some(m=>s.some(d=>this.getMatchType(m,d)!=="none"))||(o=!1))}if(!o){t.reset(a);for(let s of i.keys())u.has(s)||i.delete(s);for(let[s,l]of u)i.get(s)!==l&&i.set(s,l);return r.optional||!1}return!0}getMatchType(t,r){if(t.value===r)return"exact";if(t.normalized===r)return"normalized";if(t.stem===r&&t.stemConfidence!==void 0&&t.stemConfidence>=.7)return"stem";if(t.kind==="keyword"&&t.value.toLowerCase()===r.toLowerCase())return"case-insensitive";if(t.kind==="keyword"){let i=li(t.value).toLowerCase();if(i&&i===li(r).toLowerCase())return"case-insensitive"}return"none"}isWrittenTarget(t){return V.WRITTEN_ROLE[this.currentRoleCommand??""]===t.role}tokenToSemanticValue(t){return Kn(t)}applyExtractionRules(t,r){for(let[i,n]of Object.entries(t.extraction)){let a=r.get(i);if(a){if(n.transform){let u=a.type==="literal"?String(a.value):String(a.raw??"");r.set(i,n.transform(u))}}else n.value!==void 0?r.set(i,{type:"literal",value:n.value}):n.default&&r.set(i,{...n.default,implicit:!0})}}isOptional(t){return t.type!=="literal"&&t.optional===!0}skipNoiseWords(t,r,i){let n=t.peek();if(!n)return;let a=n.value.toLowerCase();if(V.ENGLISH_NOISE_WORDS.has(a)){if(vz(this.slotAt(t,r,i)))return;let u=t.mark();t.advance();let o=t.peek();if(o&&(o.kind==="selector"||o.kind==="identifier"))return;let s=t.peek(1);if(o&&o.kind==="keyword"&&s&&s.kind==="selector"&&/^\.[a-zA-Z_]/.test(s.value))return;let l=o?(o.normalized??o.value).toLowerCase():"";if(o&&V.POSITIONAL_OR_SCOPE_KEYWORDS.has(l))return;let c=t.peek(1),p=c?(c.normalized??c.value).toLowerCase():"",m=this.currentProfile?.wordOrder!=="SOV"&&V.COMMAND_ACTION_KEYWORDS.has(p),d=!c||c.kind==="particle"||V.CLAUSE_BOUNDARY_KEYWORDS.has(p)||m;if(o&&o.kind==="keyword"&&this.currentProfile?.code!=="en"&&mt(l)&&d||o&&o.kind==="keyword"&&this.currentProfile?.code==="en"&&mt(l))return;t.reset(u)}a==="class"&&t.advance()}extractEventModifiers(t){let r={},i=!1;for(;!t.isAtEnd();){let n=t.peek();if(!n||n.kind!=="event-modifier")break;let a=n.metadata;if(!a)break;switch(i=!0,a.modifierName){case"once":r.once=!0;break;case"debounce":typeof a.value=="number"&&(r.debounce=a.value);break;case"throttle":typeof a.value=="number"&&(r.throttle=a.value);break;case"queue":(a.value==="first"||a.value==="last"||a.value==="all"||a.value==="none")&&(r.queue=a.value);break}t.advance()}return i?r:void 0}};Be.CONDITION_OPERATOR_WORDS=new Set(["matches","match","contains","exists","has","have","equals","includes"]),Be.LOOP_CONDITION_OPERATORS=new Set([...Sf,"and","or"]),Be.POSITIONAL_OR_SCOPE_KEYWORDS=new Set(["first","last","next","previous","random","closest","parent"]),Be.STRUCTURAL_NEVER_EVENT=new Set(["if","unless","else","end","then","while"]),Be.PROPERTY_ACCESS_BASES=new Set(["it","me","you","my","its","your","event","result","target","detail","body","window","document","self","this"]),Be.COMMAND_ACTION_KEYWORDS=$r,Be.CLAUSE_BOUNDARY_KEYWORDS=new Set(["then","and","or","end","else"]),Be.RUN_PHRASES=[...vs.map(e=>[e.split(" "),"none"]),...hs.map(e=>[e.split(" "),"type"]),...fs.filter(e=>!/^(in|am|has|have)$|^am /.test(e)).map(e=>[e.split(" "),"operand"]),[["exists"],"none"]],Be.PICK_RANGE_SEPARATORS=new Set(["to"]),Be.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(["\xE0"]),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\xE0o","\u0111\u1EBFn"]),zh:new Set(["\u5230"])},Be.PICK_RANGE_MODES=new Set(["inclusive","exclusive"]),Be.VISIBILITY_STRATEGIES=new Set(["display","visibility","opacity","twdisplay","twvisibility","twopacity"]),Be.MAX_BRACE_RUN_TOKENS=64,Be.MAX_PROPERTY_DEPTH=10,Be.MAX_METHOD_ARGS=20,Be.DECLARATION_COMMANDS=new Set(["behavior","def","install"]),Be.WRITTEN_ROLE={increment:"patient",decrement:"patient",set:"destination"},Be.ENGLISH_NOISE_WORDS=new Set(["the","a","an"]);var Ts=Be,qe=new Ts;function eC(e,t){return qe.matchPattern(e,t)}function tC(e,t){return qe.matchBest(e,t)}Te(),Wu(),Vu(),Uu(),Zu(),eo(),no(),uo(),Q();function rC(e){return AE(e)}function se(e,t){return xE(e,t)}function Ls(){return sr()}function iC(e){return tr(e)}function nC(e){kE(e)}Te(),xe();var Un={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"])},aC=new Set(Object.values(Un).flatMap(e=>[...e]));function Gn(e,t){let r=(e.normalized??e.value).toLowerCase();if(r==="or")return!0;let i=t===void 0?aC:Un[t];return i?i.has(e.value)||i.has(r):!1}Pr(),lu(),Te(),xe();var fv=["if","unless","repeat","for","while"],Yn=/^[A-Z][A-Za-z0-9_]*$/;function be(e,t){let r=new Set([t]),n=T(e)?.keywords?.[t];if(n){n.primary&&r.add(n.primary.toLowerCase());for(let a of n.alternatives??[])r.add(a.toLowerCase())}return r}function Z(e,t){return t.has(e.value.toLowerCase())?!0:e.normalized?t.has(e.normalized.toLowerCase()):!1}var uC=new Set(fv);function Ui(e){return{byAction:fv.map(t=>[t,be(e,t)]),elseForms:be(e,"else"),inForms:be(e,"in")}}function vv(e,t){if(!e)return;let r=e.normalized?.toLowerCase();return r?uC.has(r)?r:void 0:t.byAction.find(([,i])=>Z(e,i))?.[0]}function Gi(e,t,r){let i=e[t],n=vv(i,r);if(!n||n==="while")return!1;let a=e[t-1];if(n==="for"){if(vv(a,r)==="repeat")return!1;if(i.value.toLowerCase()==="for"){let u=e[t+2];return!!u&&(Z(u,r.inForms)||u.normalized==="in")}}return!(n==="if"&&a&&Z(a,r.elseForms))}var hv=new Set(["me","it","you","the","body","window","document","its","event","result","target","self","this","them","parent","next","previous","closest","first","last"]),oC=new Set(["destination","source","style","patient","on","from","to"]);function Hr(e){if(!e||e.kind==="selector")return!1;let t=(e.normalized??e.value).toLowerCase(),r=e.value.toLowerCase();return!(hv.has(t)||hv.has(r)||oC.has(t))}var sC=e=>Object.prototype.hasOwnProperty.call(Ae,e);function gv(e){return e.flatMap(t=>t.type==="literal"?[t.value,...t.alternatives??[]].map(r=>r.toLowerCase()):t.type==="group"?gv(t.tokens):[])}var lC=new Set(["toggle","trigger"]);function Ev(e){return e.flatMap((t,r)=>{if(t.type==="group")return Ev(t.tokens);if(t.type!=="literal")return[];let i=e[r+1];return[{words:[t.value,...t.alternatives??[]].map(n=>n.toLowerCase()),role:i?.type==="role"?i.role:void 0}]})}function cC(e,t,r,i){return e.some((n,a)=>{if(!n.words.includes(t)||!n.role||!i.has(n.role))return!1;let u=0;for(let o of r){let s=e.findIndex((l,c)=>c>=u&&c<a&&l.words.includes(o));if(s<0)return!1;u=s+1}return!0})}function pC(e,t,r,i,n){let a=e[r].value.toLowerCase();for(let u=r-1;u>t;u--){let o=e[u];if(n(o)||o.value.toLowerCase()===a)return!1;let s=(o.normalized??o.value).toLowerCase();if(!sC(s))continue;let l=We(i).filter(p=>p.command===s);if(lC.has(s))return l.some(p=>gv(p.template.tokens).includes(a));let c=new Set((Ae[s]?.roles??[]).filter(p=>p.required).map(p=>p.role));return l.some(p=>{let m=Ev(p.template.tokens),d=new Set(m.flatMap(f=>f.words)),y=e.slice(u+1,r).map(f=>f.value.toLowerCase()).filter(f=>d.has(f));return cC(m,a,y,c)})}return!1}var kv=new Set(["ja","ko"]);function _t(e){let t=new Set;e?.primary&&t.add(e.primary.toLowerCase());for(let r of e?.alternatives??[])t.add(r.toLowerCase());return t}function zv(e,t){let r=[],i=t.position.end,n=e.slice(t.position.end).match(/^\s*\(([^)]*)\)/);if(n){i=t.position.end+n[0].length;for(let a of n[1].split(/[,\u060c\u3001]/)){let u=a.trim();u&&r.push(u)}}return{parameters:r,headerEnd:i}}function Yi(e,t,r){let i=t+1;if(i>=e.length)return-1;let n=_t(T(r)?.roleMarkers?.patient);return n.size>0&&Z(e[i],n)&&i++,i<e.length?i:-1}var Cv=/^[a-zA-Z_$][\w$]*(?:\.[a-zA-Z_$][\w$]*)*$/;function mC(e){let t=1;if(e[1]?.value==="("){let r=0,i=1;for(;i<e.length;i++)if(e[i].value==="(")r++;else if(e[i].value===")"&&--r===0)break;if(i>=e.length)return-1;t=i+1}return t+1}function dC(e,t,r){let i=T(r);if(i?.wordOrder!=="SOV"||!Cv.test(e[0].value)||t!==mC(e))return!1;let n=_t(i.roleMarkers?.patient);return n.size===0?!1:Z(e[t-1],n)}function yC(e,t,r){if(!T(t))return null;let i=be(t,"behavior"),n=be(t,"def"),a=e.toLowerCase(),u=[...i].some(p=>a.includes(p)),o=/\bdef\b/.test(a)||[...n].some(p=>p!=="def"&&a.includes(p));if(!u&&!o)return null;let s=se(e,t).tokens;if(s.length<2)return null;if(Z(s[0],i))return wv(e,t,s,r,0);let l=s.findIndex((p,m)=>m>0&&Z(p,i));if(l>0&&Yn.test(s[0].value))return wv(e,t,s,r,l);if(Z(s[0],n))return Av(e,t,s,r,0);let c=s.findIndex((p,m)=>m>0&&Z(p,n));return c>0&&dC(s,c,t)?Av(e,t,s,r,c):null}function fC(e,t,r){let i=T(t);if(!i)return null;let n=i.wordOrder!=="SOV",a=kv.has(t)?_t(i.roleMarkers?.event):new Set,u=kv.has(t)?_t(i.keywords?.on):new Set,o=a.size>0&&u.size>0,s=o?_t(i.roleMarkers?.source):new Set,l=be(t,"end"),c=be(t,"on"),p=be(t,"then"),m=e.toLowerCase(),d=[...l].some(D=>m.includes(D)),y=(n||o)&&(()=>{let D=0;for(let F of c)if(F){for(let z=m.indexOf(F);z>=0;z=m.indexOf(F,z+F.length))if(++D>=2)return!0}return!1})();if(!d&&!y)return null;let f=se(e,t).tokens;if(f.length<2)return null;let v=Ui(t),h=D=>Gi(f,D,v),g=D=>Z(D,l),k=[],C=0,E=0;for(let D=0;D<f.length;D++){let F=f[D];if(g(F)){if(C>0){C--;continue}let z=e.slice(f[E].position.start,F.position.start).trim();z&&k.push(z),E=D+1}else if(h(D))C++;else if(n&&C===0&&D>E&&Z(F,c)&&Hr(f[D+1])&&!(f[D+2]&&Z(f[D+2],p))&&!pC(f,E,D,t,z=>g(z)||Z(z,p))){let z=e.slice(f[E].position.start,F.position.start).trim();z&&k.push(z),E=D}else if(o&&C===0&&D-1>E&&Z(F,a)&&f[D+1]!==void 0&&Z(f[D+1],u)){let z=f[D-1],A=f.slice(E,D-1);if(!(A.length===2&&Z(A[1],s))){let R=e.slice(f[E].position.start,z.position.start).trim();R&&k.push(R),E=D-1}}}if(E<f.length){let D=e.slice(f[E].position.start).trim();D&&k.push(D)}if(k.length<2)return null;let x=[],w=[];for(let D of k){let F;try{F=r.statement(D,t)}catch{return null}if(!F||F.kind!=="event-handler")return null;let z=F;if(x.push(z),!z.body||z.body.length===0)return null;w.push(z.metadata?.confidence??.75)}return Qt(x,"then",{sourceLanguage:t,confidence:Ur(w),sourceText:e})}function Ur(e){return e.length>0?e.reduce((t,r)=>t+r,0)/e.length:0}function Zn(e){let t=[];for(let r of e){let i=r.statements;r.kind==="compound"&&Array.isArray(i)?t.push(...i):t.push(r)}return t}function wv(e,t,r,i,n){let a=n>0,u=a?0:Yi(r,n,t);if(u<0)return null;let o=r[u],s=o.value;if(!Yn.test(s))return null;let{parameters:l,headerEnd:c}=zv(e,o),p=a?n+1:r.findIndex(A=>A.position.start>=c);p<=u&&(p=u+1);let m=be(t,"init"),d=be(t,"end"),y=Ui(t),f=A=>Gi(r,A,y),v=A=>Z(A,d),h=T(t)?.wordOrder!=="SOV",g=h?vC(t):new Set,k=A=>{let S=e.slice(r[F].position.end,r[A].position.start).trim();if(S)try{let R=Zn(i.body(S,t));E.push(...R),x.push(Ur(R.map(W=>W.metadata?.confidence??.75)))}catch{x.push(0)}},C=[],E=[],x=[],w=!1,D=0,F=p;for(let A=p;A<r.length;A++){let S=r[A];if(v(S)){if(D>0){D--;continue}if(A===F){w=!0;break}if(Z(r[F],m))k(A);else{let R=e.slice(r[F].position.start,S.position.start).trim();try{let W=i.statement(R,t);if(W&&W.kind==="event-handler"){let _=W;C.push(_);let P=!_.body||_.body.length===0;x.push(P?.2:_.metadata?.confidence??.75)}else x.push(0)}catch{x.push(0)}}F=A+1}else f(A)?D++:h&&D===0&&A>F&&Z(r[F],m)&&g.has(S.value.toLowerCase())&&(r[A+1]?.kind==="identifier"||r[A+1]?.kind==="keyword")&&Hr(r[A+1])&&(k(A),F=A)}if(C.length===0&&E.length===0)return null;let z=(w?1:.8)*Ur(x);return N5(s,l,C,E.length>0?E:void 0,{sourceLanguage:t,confidence:z,sourceText:e})}function vC(e){let t=new Set;for(let r of We(e))if(!(r.command!=="on"||/-event-/i.test(r.id)))for(let i of r.template.tokens){if(i.type==="role"&&i.role==="event")break;if(i.type==="literal")for(let n of[i.value,...i.alternatives??[]])t.add(n.toLowerCase())}return t}function Av(e,t,r,i,n){let a=n>0,u=a?0:Yi(r,n,t);if(u<0)return null;let o=r[u],s=o.value;if(!Cv.test(s))return null;let{parameters:l,headerEnd:c}=zv(e,o),p=a?n+1:r.findIndex(w=>w.position.start>=c);p<=u&&(p=u+1);let m=be(t,"end"),d=Ui(t),y=w=>Gi(r,w,d),f=w=>Z(w,m),v=0,h=-1;for(let w=p;w<r.length;w++)if(f(r[w])){if(v===0){h=w;break}v--}else y(w)&&v++;let g=r[p]?.position.start??c,k=h>=0?r[h].position.start:e.length,C=e.slice(g,k).trim();if(!C)return null;let E;try{E=Zn(i.body(C,t))}catch{return null}if(E.length===0)return null;let x=Ur(E.map(w=>w.metadata?.confidence??.75));return h<0&&(x*=.8),I5(s,l,E,{sourceLanguage:t,confidence:x,sourceText:e})}var Ps=["live","eventsource","socket","worker","intercept"],hC=new Set(["intercept"]),_s=new Set(["eventsource","socket","worker"]),gC=new Set(["eventsource","socket"]),EC=new Set(["worker"]),kC=6,zC=2;function CC(e,t){for(let i of Ps)if(Z(e[0],be(t,i)))return{action:i,keywordIdx:0};if(T(t)?.wordOrder!=="SOV")return null;let r=Math.min(e.length,kC);for(let i=1;i<r;i++)for(let n of Ps)if(n!=="live"&&Z(e[i],be(t,n))&&!(_s.has(n)&&!Yn.test(e[0].value))&&!(n==="intercept"&&i>zC))return{action:n,keywordIdx:i};return null}function wC(e,t,r){let i=_t(T(r)?.roleMarkers?.source);return i.size===0||t+1>=e.length?0:Z(e[t],i)||Z(e[t+1],i)?2:0}function xv(e){let t=be(e,"on");t.add("when");let r=T(e)?.eventHandler;if(r?.keyword){t.add(r.keyword.primary.toLowerCase());for(let i of r.keyword.alternatives??[])t.add(i.toLowerCase())}for(let i of r?.temporalMarkers??[])t.add(i.toLowerCase());return t}function AC(e,t,r){let i=T(r)?.eventHandler,n=[i?.eventMarker?.primary,...i?.eventMarker?.alternatives??[],...i?.temporalMarkers??[]].filter(u=>!!u&&/\s/.test(u)),a=1;for(let u of n){let o=u.toLowerCase().split(/\s+/),s=t-o.length+1;s<0||o.every((l,c)=>e[s+c]?.value.toLowerCase()===l)&&(a=Math.max(a,o.length))}return a}function xC(e,t,r,i,n){if(e==="live")return r+1;if(r>0){let l=r+1;return e==="eventsource"&&(l+=wC(t,l,i)),l}let a=Yi(t,r,i);if(a<0)return-1;if(e==="worker")return a+1;let u=xv(i),o=_t(T(i)?.roleMarkers?.event),s=n>=0?n:t.length;for(let l=a+1;l<s;l++){if(!Z(t[l],u))continue;if(Hr(t[l+1]))return l;if(l>a+2&&o.size>0&&Z(t[l-1],o)&&Hr(t[l-2]))return l-2;let c=AC(t,l,i);if(c>1&&l-c>a&&Hr(t[l-c]))return l-c;if(l>a+1&&Hr(t[l-1]))return l-1}return s}function bC(e,t,r,i){if(!_s.has(e))return;let n=r>0?0:Yi(t,r,i);if(!(n<0))return t[n].value}function DC(e,t,r){if(!T(t))return null;let i=e.toLowerCase(),n=!1;for(let s of[...Ps,"changes"]){for(let l of be(t,s))if(l&&i.includes(l)){n=!0;break}if(n)break}if(!n)return null;let a=se(e,t).tokens;if(a.length<2)return null;let u=LC(a,t);if(u>=0)return _C(e,t,a,r,u);let o=CC(a,t);return o?BC(e,t,a,r,o.action,o.keywordIdx):null}function BC(e,t,r,i,n,a){let u=be(t,"end"),o=Ui(t),s=E=>Gi(r,E,o),l=E=>Z(E,u),c=bC(n,r,a,t);if(_s.has(n)&&(!c||!Yn.test(c)))return null;let p=E=>({sourceLanguage:t,confidence:E,sourceText:e}),m=Rs(r,a+1,l,s);if(hC.has(n))return m>=0&&m!==r.length-1?null:ws(n,[],c,p(m>=0?1:.8));let d=xC(n,r,a,t,m);if(d<0||d>r.length)return null;let y=[],f=[],v=!1,h=EC.has(n);if(h||gC.has(n)){let E=h?"def":"event-handler",x=0,w=d;for(let D=d;D<r.length;D++){let F=r[D];if(l(F)){if(x>0){x--;continue}if(v=!0,D===w)break;let z=h?F.position.end:F.position.start,A=e.slice(r[w].position.start,z).trim();try{let S=i.statement(A,t);if(S&&S.kind===E){let R=S;y.push(R);let W=!R.body||R.body.length===0;f.push(W?.2:R.metadata?.confidence??.75)}else f.push(0)}catch{f.push(0)}w=D+1}else s(D)&&x++}}else{let E=Rs(r,d,l,s);v=E>=0;let x=E>=0?r[E].position.start:e.length,w=e.slice(r[d].position.start,x).trim();if(!w)return null;try{y.push(...Zn(i.body(w,t)))}catch{return null}if(y.length===0)return null;f.push(...y.map(D=>D.metadata?.confidence??.75))}if(y.length===0&&!v)return null;let g=v?1:.8,k=f.length>0?g*Ur(f):g,C=SC(n,e,r,a,d,t);return ws(n,y,c,p(k),C?new Map([["source",C]]):void 0)}function SC(e,t,r,i,n,a){if(e!=="eventsource"&&e!=="socket"||i!==0)return;let u=Yi(r,i,a);if(u<0)return;let o=u+1,s=Math.min(n,r.length)-1;if(e==="eventsource"){let c=_t(T(a)?.roleMarkers?.source),p=m=>!!m&&(Z(m,c)||(m.normalized??"").toLowerCase()==="source");p(r[o])?o++:p(r[s])&&s--}if(o>s)return;let l=t.slice(r[o].position.start,r[s].position.end).trim();return l?{type:"expression",raw:l}:void 0}var FC=new Set([...Object.keys(Ae),"then","else"]);function TC(e){let t=be(e,"when");for(let r of xv(e))t.add(r);return t}function LC(e,t){if(e.length<3||!Z(e[0],TC(t)))return-1;let r=be(t,"changes"),i=be(t,"end");for(let n=2;n<e.length;n++){let a=e[n];if(a.kind==="literal")continue;if(Z(a,r))return n;if(Z(a,i))return-1;let u=(a.normalized??a.value).toLowerCase();if(a.kind==="keyword"&&FC.has(u))return-1}return-1}function PC(e,t,r){if(r==="en"){let n=t[0],a=t[t.length-1];return{type:"expression",raw:e.slice(n.position.start,a.position.end).trim()}}let i=t.map(n=>Gn(n,r)?{...n,kind:"keyword",normalized:"or"}:n);return{type:"expression",raw:ft(i,T(r))}}function _C(e,t,r,i,n){let a=be(t,"end"),u=Ui(t),o=g=>Gi(r,g,u),s=g=>Z(g,a),l=n+1;if(l>=r.length)return null;let c=Rs(r,l,s,o),p=c>=0;if(p&&c!==r.length-1)return null;let m=p?r[c].position.start:e.length,d=e.slice(r[l].position.start,m).trim();if(!d)return null;let y;try{y=Zn(i.body(d,t))}catch{return null}if(y.length===0)return null;let f=PC(e,r.slice(1,n),t),h=(p?1:.8)*Ur(y.map(g=>g.metadata?.confidence??.75));return ws("when",y,void 0,{sourceLanguage:t,confidence:h,sourceText:e},new Map([["condition",f]]))}function Rs(e,t,r,i){let n=0;for(let a=t;a<e.length;a++)if(r(e[a])){if(n===0)return a;n--}else i(a)&&n++;return-1}Ir(),Oi();var RC=new Set(["the","to","on","with","into","from","at"]),bv=/^[A-Za-z_$][\w$]*$/,jC=64;function Dv(e){let t="";for(let r=0;r<e.length;r++){let i=e[r],n=e[r-1];n&&i.position.start>n.position.end&&(t+=" "),t+=i.value}return t}function OC(e,t){let r=0;for(let i=t;i<e.length&&i-t<=jC;i++){let n=e[i].value;if(n==="(")r++;else if(n===")"&&(r--,r===0))return i+1}return-1}function Bv(e,t){return t.position.start===e.position.end}function NC(e,t,r,i){let n=e[t];if(!n||n.kind!=="identifier"&&n.kind!=="keyword"||!bv.test(n.value)||i(n))return null;let a=t+1,u=n.value;for(;e[a]?.kind==="selector"&&/^\.[A-Za-z_$][\w$]*$/.test(e[a].value)&&Bv(e[a-1],e[a]);)u+=e[a].value,a++;let o=a>t+1,s=e[a];if(!s||s.value!=="("||!Bv(e[a-1],s))return null;let l=OC(e,a);if(l<0)return null;let c=u+Dv(e.slice(a,l));if(o)return{text:`call ${c}`,consumed:l-t};let p=l,d=e[p]?.value.toLowerCase(),y=null;if(d==="me")y="me",p++;else if(d!==void 0&&RC.has(d)){p++,e[p]?.value.toLowerCase()==="the"&&p++;let f=e[p];if(!f)return null;let v=qi(e,p,r);if(v)y=`(${Dv(e.slice(p,p+v.consumed))})`,p+=v.consumed;else if(f.kind==="selector"&&f.value.startsWith("#")&&!/[.[:\s]/.test(f.value.slice(1)))y=f.value,p++;else if(f.kind==="selector"&&/^[.<]/.test(f.value))y=`(${f.value})`,p++;else if((f.kind==="keyword"||f.kind==="identifier")&&bv.test(f.value)&&(mt(f.value.toLowerCase())||f.kind==="identifier"))y=f.value,p++;else return null}return{text:y?`call ${y}.${c}`:`call ${c}`,consumed:p-t}}var IC={debounced:"debounce",debounce:"debounce",throttled:"throttle",throttle:"throttle"},MC=[["\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"]],WC=/^(\d+)(ms|s|m)?$/,qC=new Set(["selector","literal","url","event-modifier"]);function $C(e){let t=e.match(WC);if(!t)return null;let r=parseInt(t[1],10),i=t[2]||"ms";return i==="s"?r*=1e3:i==="m"&&(r*=6e4),r}function VC(e){for(let t=1;t<e.length;t++){let r=e[t];if(qC.has(r.kind))continue;let i=r.value.toLowerCase(),n=IC[i];if(n){let a=0;for(let u=t+1;u<e.length;u++){let o=e[u],s=$C(o.value);if(s!==null)return{modifiers:{[n]:s},start:r.position.start,end:o.position.end};if(o.kind==="selector"||o.kind==="literal"||o.kind==="url"||++a>2)break}continue}for(let a of MC){if(a[0]!==i||t+a.length>e.length)continue;let u=!0;for(let o=1;o<a.length;o++)if(e[t+o].value.toLowerCase()!==a[o]){u=!1;break}if(u)return{modifiers:{once:!0},start:r.position.start,end:e[t+a.length-1].position.end}}}return null}Te(),Te(),xe(),Te();function Sv(e,t){try{let r=se(e,t),i=We(t);if(i.length===0)return{confidence:0,parseSuccess:!1,error:`No patterns available for language: ${t}`};let n=[...i].sort((l,c)=>c.priority-l.priority),a=n.filter(l=>l.command==="on"),u=qe.matchBest(r,a);if(u)return{confidence:u.confidence,parseSuccess:!0,patternId:u.pattern.id,action:u.pattern.command,tokensConsumed:u.consumedTokens};r.reset(r.mark());let o=n.filter(l=>l.command!=="on"),s=qe.matchBest(r,o);return s?{confidence:s.confidence,parseSuccess:!0,patternId:s.pattern.id,action:s.pattern.command,tokensConsumed:s.consumedTokens}:{confidence:0,parseSuccess:!1,error:`Could not match any patterns for: ${e}`}}catch(r){return{confidence:0,parseSuccess:!1,error:r instanceof Error?r.message:String(r)}}}function Gr(e,t){try{let i=Xr(e,t);if(i)return{node:i,confidence:i.metadata?.confidence??.8,error:void 0,tokensConsumed:se(e,t).tokens.length}}catch{}let r=Sv(e,t);return r.parseSuccess?{node:null,confidence:r.confidence,error:void 0,tokensConsumed:r.tokensConsumed}:{node:null,confidence:0,error:r.error}}Te(),Ir();var KC=["values","expressions","logical","temporal","attributes"],HC=/"[^"]*"|'[^']*'|`[^`]*`/g,Xn="\uE010",js="\uE011",UC=/\uE010(\d+)\uE011/g,GC=/(^|[^\w$.#@*:-])([A-Za-z][A-Za-z-]+)(?![\w$.:-])/g,YC=/(\bas\s+|\bis\s+(?:not\s+)?an?\s+)([A-Z][A-Za-z0-9_]*(?::[A-Za-z0-9_]+)?)\b/g,Fv=new WeakMap;function ZC(e,t){let r=Fv.get(e);if(r)return r;let i=new Map,n=(u,o)=>{if(!o)return;let s=u.toLowerCase();!i.has(s)&&o!==u&&i.set(s,o)};for(let u of KC){let o=e[u];if(o)for(let[s,l]of Object.entries(o))n(s,l.primary)}for(let[u,o]of Object.entries(t?.references??{}))n(u,o);let a={words:i};return Fv.set(e,a),a}function XC(e,t){let r="",i=0;for(;i<e.length;){let n=e.indexOf("{",i);if(n===-1){r+=e.slice(i);break}let a=0,u=-1;for(let o=n;o<e.length;o++)if(e[o]==="{")a++;else if(e[o]==="}"&&--a===0){u=o;break}if(u===-1){r+=e.slice(i);break}t.push(e.slice(n,u+1)),r+=e.slice(i,n)+`${Xn}${t.length-1}${js}`,i=u+1}return r}function QC(e,t){let r=e;for(let i=0;i<8&&r.includes(Xn);i++)r=r.replace(UC,(n,a)=>t[Number(a)]??"");return r}function JC(e,t,r){if(!e)return e;let i=Af(t);if(!i)return e;let{words:n}=ZC(i,r);if(n.size===0)return e;let a=[],u=e.replace(HC,l=>(a.push(l),`${Xn}${a.length-1}${js}`)),s=XC(u,a).replace(YC,(l,c,p)=>(a.push(p),`${c}${Xn}${a.length-1}${js}`)).replace(GC,(l,c,p)=>{let m=n.get(p.toLowerCase());return m?`${c}${m}`:l});return QC(s,a)}var Os=new Set(["repeat","for","while","tell"]),ew=new Set(["js"]),tw=5;function rw(e,t){for(let[r,i]of e.roles)if(r!==t&&!i.implicit)return!0;return!1}var iw=30;function Tv(e){if(e?.default?.type==="literal")return String(e.default.value).trim().toLowerCase();if(e?.value!==void 0)return String(e.value).trim().toLowerCase()}var nw=new Set(Object.values(xs).flatMap(e=>Object.values(e))),Lv=class{renderWith(e,t,r){let i=this.valueGuard;this.valueGuard=r;try{return this.render(e,t)}finally{this.valueGuard=i}}render(e,t){if(e.kind==="compound")return this.renderCompound(e,t);if(e.kind==="behavior")return this.renderBehavior(e,t);if(e.kind==="def")return this.renderDef(e,t);if(e.kind==="feature")return this.renderFeature(e,t);if(e.kind==="conditional")return this.renderConditional(e,t);if(e.kind==="loop")return this.renderLoop(e,t);if(e.action==="js"&&T(t)?.wordOrder==="SOV"){let a=e.roles.get("patient"),u=a&&a.type==="expression"?a.raw:"",o=this.keyword(t,"js"),s=this.keyword(t,"end");return u?`${o} ${u} ${s}`:`${o} ${s}`}let r=BE(t,e.action);if(r.length===0)return this.renderExplicit(e);let i=this.findBestPattern(e,r);if(!i)return this.renderExplicit(e);let n=this.renderWithPattern(e,i);return ew.has(e.action)?`${n} ${this.keyword(t,"end")}`:n}renderCompound(e,t){if(e.statements.length>1&&e.statements.every(a=>a.kind==="event-handler")){let a=this.keyword(t,"end"),u=[];for(let o of e.statements)u.push(this.render(o,t),a);return u.join(`
61
- `)}let r=e.statements.map(a=>this.render(a,t)),i=this.getChainWord(e.chainType,t),n=r[0]??"";for(let a=1;a<r.length;a++){let u=e.statements[a-1],o=e.statements[a],s=u.kind==="command"&&Os.has(u.action),l=u.kind==="command"&&u.action==="bind"&&o.kind==="command"&&o.action==="bind",c=s||l?" ":` ${i} `;n+=c+r[a]}return this.closeBlockHeaders(n,e.statements,t)}renderConditional(e,t){let r=e.roles.get("condition"),i=r?this.valueToNaturalString(r,t):"",n=[`${this.keyword(t,"if")} ${i}`.trim()],a=this.joinStatements(e.thenBranch,t);return a&&n.push(a),e.elseBranch&&e.elseBranch.length>0&&n.push(this.keyword(t,"else"),this.joinStatements(e.elseBranch,t)),e.elseBranch?.length===1&&e.elseBranch[0].kind==="conditional"||n.push(this.keyword(t,"end")),n.join(" ")}renderLoop(e,t){let r=je(e.action,Object.fromEntries(e.roles),e.metadata),i=[this.render(r,t)];e.indexVariable&&i.push(e.indexWith?"with index":`index ${e.indexVariable}`);let n=this.joinStatements(e.body,t);return n&&i.push(n),i.push(this.keyword(t,"end")),i.join(" ")}joinStatements(e,t){let r=e.map(a=>this.render(a,t)),i=this.keyword(t,"then"),n=r[0]??"";for(let a=1;a<r.length;a++){let u=e[a-1],o=u.kind==="command"&&Os.has(u.action);n+=(o?" ":` ${i} `)+r[a]}return this.closeBlockHeaders(n,e,t)}closeBlockHeaders(e,t,r){let i=t.filter(a=>a.kind==="command"&&Os.has(a.action)).length;if(i===0)return e;let n=this.keyword(r,"end");return`${e}${` ${n}`.repeat(i)}`}keyword(e,t){return T(e)?.keywords?.[t]?.primary??t}renderBlockHeader(e,t,r){return r.length>0?`${e} ${t}(${r.join(", ")})`:`${e} ${t}`}renderBehavior(e,t){let r=this.keyword(t,"end"),i=[this.renderBlockHeader(this.keyword(t,"behavior"),e.name,e.parameters)];if(e.initBlock&&e.initBlock.length>0){i.push(` ${this.keyword(t,"init")}`);for(let n of e.initBlock)i.push(` ${this.render(n,t)}`);i.push(` ${r}`)}for(let n of e.eventHandlers)i.push(` ${this.render(n,t)}`,` ${r}`);return i.push(r),i.join(`
61
+ `)}let r=e.statements.map(a=>this.render(a,t)),i=this.getChainWord(e.chainType,t),n=r[0]??"";for(let a=1;a<r.length;a++){let u=e.statements[a-1],o=e.statements[a],s=u.kind==="command"&&Os.has(u.action),l=u.kind==="command"&&u.action==="bind"&&o.kind==="command"&&o.action==="bind",c=s||l?" ":` ${i} `;n+=c+r[a]}return this.closeBlockHeaders(n,e.statements,t)}renderConditional(e,t){let r=e.roles.get("condition"),i=r?this.valueToNaturalString(r,t):"",n=[`${this.keyword(t,"if")} ${i}`.trim()],a=this.joinStatements(e.thenBranch,t);return a&&n.push(a),e.elseBranch&&e.elseBranch.length>0&&n.push(this.keyword(t,"else"),this.joinStatements(e.elseBranch,t)),e.elseBranch?.length===1&&e.elseBranch[0].kind==="conditional"||n.push(this.keyword(t,"end")),n.join(" ")}renderLoop(e,t){let r=je(e.action,Object.fromEntries(e.roles),e.metadata),i=[this.render(r,t)];e.indexVariable&&i.push(`index ${e.indexVariable}`);let n=this.joinStatements(e.body,t);return n&&i.push(n),i.push(this.keyword(t,"end")),i.join(" ")}joinStatements(e,t){let r=e.map(a=>this.render(a,t)),i=this.keyword(t,"then"),n=r[0]??"";for(let a=1;a<r.length;a++){let u=e[a-1],o=u.kind==="command"&&Os.has(u.action);n+=(o?" ":` ${i} `)+r[a]}return this.closeBlockHeaders(n,e,t)}closeBlockHeaders(e,t,r){let i=t.filter(a=>a.kind==="command"&&Os.has(a.action)).length;if(i===0)return e;let n=this.keyword(r,"end");return`${e}${` ${n}`.repeat(i)}`}keyword(e,t){return T(e)?.keywords?.[t]?.primary??t}renderBlockHeader(e,t,r){return r.length>0?`${e} ${t}(${r.join(", ")})`:`${e} ${t}`}renderBehavior(e,t){let r=this.keyword(t,"end"),i=[this.renderBlockHeader(this.keyword(t,"behavior"),e.name,e.parameters)];if(e.initBlock&&e.initBlock.length>0){i.push(` ${this.keyword(t,"init")}`);for(let n of e.initBlock)i.push(` ${this.render(n,t)}`);i.push(` ${r}`)}for(let n of e.eventHandlers)i.push(` ${this.render(n,t)}`,` ${r}`);return i.push(r),i.join(`
62
62
  `)}renderDef(e,t){let r=[this.renderBlockHeader(this.keyword(t,"def"),e.name,e.parameters)];for(let i of e.body)r.push(` ${this.render(i,t)}`);return r.push(this.keyword(t,"end")),r.join(`
63
63
  `)}renderFeature(e,t){let r=this.keyword(t,"end"),i=[this.featureHeader(e,t)];for(let n of e.body)i.push(` ${this.render(n,t)}`),n.kind==="event-handler"&&i.push(` ${r}`);return i.push(r),i.join(`
64
- `)}featureHeader(e,t){let r=this.keyword(t,e.action);if(e.action==="when"){let u=e.roles.get("condition"),o=u?this.valueToNaturalString(u,t):"";return[r,o,this.keyword(t,"changes")].filter(Boolean).join(" ")}let i=e.name?`${r} ${e.name}`:r,n=e.roles.get("source"),a=n?.type==="expression"?n.raw:void 0;if(a&&e.action==="socket")return`${i} ${a}`;if(a&&e.action==="eventsource"){let u=T(t)?.roleMarkers?.source,o=u?.primary??"from";return u?.position==="after"?`${i} ${a} ${o}`:`${i} ${o} ${a}`}return i}getChainWord(e,t){let r=T(t);return r?.keywords?r.keywords[e]?.primary??e:e}renderExplicit(e){return De(e)}supportedLanguages(){return Ls()}findBestPattern(e,t){let r=t;if(e.kind==="event-handler"){let a=t.filter(u=>!/-event-/i.test(u.id));a.length>0&&(r=a)}let i=new Map;for(let a of r)for(let[u,o]of Object.entries(a.extraction??{})){let s=Tv(o);if(s===void 0)continue;let l=i.get(u)??new Set;l.add(s),i.set(u,l)}let n=r.map(a=>{let u=a.priority,o=p=>{let m=e.roles.get(p);return m!==void 0&&!(m.implicit===!0&&m.type==="reference")},s=(p,m)=>{for(let d of p)d.type==="group"?s(d.tokens,!0):d.type==="role"&&(o(d.role)?u+=m?tw:10:!m&&!d.optional&&(u-=50))};s(a.template.tokens,!1);let l=new Set,c=p=>{for(let m of p)m.type==="group"?c(m.tokens):m.type==="role"&&l.add(m.role)};c(a.template.tokens);for(let p of e.roles.keys())o(p)&&!l.has(p)&&(u-=iw);for(let[p,m]of Object.entries(a.extraction??{})){let d=Tv(m);if(d===void 0)continue;let y=e.roles.get(p),f=y?.type==="literal"?String(y.value).trim().toLowerCase():void 0;f===d?u+=60:(f===void 0||i.get(p)?.has(f))&&(u-=200)}return a.language==="en"&&((a.id.includes("standard")||a.id.includes("en-source"))&&(u+=20),(a.id.includes("-when")||a.id.includes("-if")||a.id.includes("-upon"))&&(u-=15)),{pattern:a,score:u}});return n.sort((a,u)=>u.score-a.score),n.length>0?n[0].pattern:null}spliceWaitAlternatives(e,t,r,i){let n=e.waitAlternatives;if(!n||n.length===0||r<0)return;let a=f=>f&&f.length>0?`(${f.join(", ")})`:"",[u,...o]=n;"event"in u&&(t[r]+=a(u.params));let s=[...Un[i]??[]][0]??"or",l=o.map(f=>"event"in f?`${s} ${this.renderEventName({type:"literal",value:f.event},i)}${a(f.params)}`:`${s} ${f.duration}`);t.splice(r+1,0,...l);let c=e.waitSource;if(!c)return;let p=this.valueToNaturalString(c,i),m=T(i)?.roleMarkers?.source,d=m?.primary??"from",y=m?.position==="after"?`${p} ${d}`:`${d} ${p}`;t.splice(r+1+l.length,0,y)}spliceOrEvents(e,t,r,i){let n=e.additionalEvents??[];if(n.length===0)return;let a=[...Un[i]??[]][0]??"or",u=n.map(o=>`${a} ${this.renderEventName(o,i)}`);t.splice(r>=0?r+1:t.length,0,...u)}spliceEventModifiers(e,t,r,i){let n=e.eventModifiers;if(!n)return;r>=0&&n.queue&&(t[r]+=`.queue(${n.queue})`),n.once&&n.onceAsFirst?i==="en"&&r>=0?t[r]=`first ${t[r]}`:t.unshift("first"):n.once&&(i==="en"&&r>=0?t[r]+=".once":t.unshift("once"));let a=[];if(n.from){let s=this.valueToNaturalString(n.from,i),l=T(i)?.roleMarkers?.source,c=l?.primary??"from";l?.position==="after"?t.unshift(`${s} ${c}`):a.push(`${c} ${s}`)}let u=s=>s%1e3===0?`${s/1e3}s`:`${s}ms`;if(typeof n.debounce=="number"&&a.push(`debounced at ${u(n.debounce)}`),typeof n.throttle=="number"&&a.push(`throttled at ${u(n.throttle)}`),a.length===0)return;let o=r>=0&&T(i)?.roleMarkers?.source?.position!=="after"?r+1:t.length;t.splice(o,0,...a)}renderWithPattern(e,t){let r=[],i=t.language,n=-1;for(let u of t.template.tokens){let o=this.renderPatternToken(u,e,i);o!==null&&(r.push(o),u.type==="role"&&(u.role==="event"||u.role==="duration"&&e.action==="wait")&&(n=r.length-1))}e.action==="wait"&&e.kind==="command"&&this.spliceWaitAlternatives(e,r,n,i),e.action==="fetch"&&e.doNotThrow&&r.push("do not throw"),e.action==="tell"&&e.tellTo&&r.push("to");let a=e.scrollBehavior;if(a&&(e.action==="go"||e.action==="scroll")&&r.push(a),e.kind==="event-handler"){let u=e.parameterNames;u&&u.length>0&&n>=0&&(r[n]+=`(${u.join(", ")})`),this.spliceOrEvents(e,r,n,i),this.spliceEventModifiers(e,r,n,i)}if(e.kind==="event-handler"){let u=e;if(u.body&&u.body.length>0){let o=u.body.map(s=>this.render(s,i));r.push(o.join(" "))}}return r.join(" ")}renderPatternToken(e,t,r){switch(e.type){case"literal":return e.renderSuppress?null:e.value;case"role":{let i=t.roles.get(e.role);if(!i){if(e.role==="duration"&&t.action==="wait"){let a=t.roles.get("event");if(a)return this.renderEventName(a,r)}return e.optional,null}if(e.role==="event")return this.renderEventName(i,r);let n=t.scrollPosition;if(n&&e.role==="destination"&&(t.action==="go"||t.action==="scroll"))return`${n} of ${this.valueToNaturalString(i,r)}`;if(r==="en"&&t.action==="halt"&&e.role==="patient"&&i.type==="reference"&&i.value==="event")return`the ${this.valueToNaturalString(i,r)}`;if(t.action==="render"&&e.role==="style"&&i.type==="expression"){let a=i.raw.trim();if(a.startsWith("{")&&a.endsWith("}"))return a.slice(1,-1).trim()}if(t.action==="js"&&i.type==="expression")return i.raw;if(e.valueShape==="keyword"){if(i.type==="reference")return i.value;if(i.type==="expression")return i.raw;if(i.type==="literal"&&i.dataType!=="string")return String(i.value)}if(t.action==="fetch"&&e.role==="responseType"&&i.type==="expression")return i.raw;if(t.action==="pick"&&e.role==="patient"&&i.type==="expression"){let a=Ts.rangeSeparatorFor(r);if(a)return i.raw.replace(/(?<=\s)to(?=\s)/g,a)}return this.valueToNaturalString(i,r)}case"group":{if(!e.tokens.filter(u=>u.type==="role"&&!u.optional).every(u=>t.roles.has(u.role))&&e.optional)return null;if(e.optional)for(let u of["destination","source","patient"]){if(!e.tokens.find(l=>l.type==="role"&&l.role===u))continue;let s=t.roles.get(u);if(!(s?.type!=="reference"||s.value!=="me")&&s.implicit){if(u==="destination"){let l=t.roles.get("patient");if(l?.type==="literal"&&l.dataType==="string")continue}if(!(u==="patient"&&rw(t,"patient")))return null}}if(e.optional&&e.tokens.find(o=>o.type==="role"&&o.role==="quantity")){let o=t.roles.get("quantity");if(o?.type==="literal"&&(o.value===1||o.value==="1"))return null}let n=[],a=!1;for(let u of e.tokens){let o=this.renderPatternToken(u,t,r);o!==null&&(n.push(o),u.type==="role"&&(a=!0))}return e.optional&&!a&&!e.renderRequired?null:n.length>0?n.join(" "):null}default:return null}}renderEventName(e,t){if(e.type!=="literal"||typeof e.value!="string")return this.valueToNaturalString(e,t);let r=e.value,i=n=>n.includes(":")?n:is(n,t);return r.includes(" or ")?r.split(" or ").map(n=>i(n.trim())).join(" or "):i(r)}valueToNaturalString(e,t="en"){switch(e.type){case"literal":return typeof e.value=="string"&&e.dataType==="string"?e.interpolates?e.value:`"${e.value}"`:this.localizeValue(String(e.value),t);case"selector":return e.scope?`${e.value} in ${this.valueToNaturalString(e.scope,t)}`:e.value;case"reference":return this.renderReference(e,t);case"property-path":return this.renderPropertyPath(e,t);case"expression":return this.localizeValue(this.localizeInteriorPossessives(this.valueGuard?.(e.raw)??e.raw,t),t);case"flag":return this.localizeValue(e.name,t)}}localizeValue(e,t){return t==="en"?e:JC(e,t,T(t))}renderReference(e,t){let r=T(t);return r?.references?r.references[e.value]??e.value:e.value}renderDotBase(e,t,r){if(e.type!=="reference")return this.valueToNaturalString(e,t);let i=r?.possessive?.specialForms?.[e.value];return i&&!/\s/.test(i)?i:e.value}localizeInteriorPossessives(e,t){let r=(n,a)=>/^\s+as\b/.test(n.slice(a));if(t==="en")return e.replace(/\b(?:the\s+)?([A-Za-z][\w-]*)\s+of\s+([#.][\w-]+)/g,(n,a,u,o,s)=>nw.has(a.toLowerCase())&&!r(s,o+n.length)?`${u}'s ${a}`:n);if(!e.includes("'s"))return e;let i=(n,a)=>this.renderPropertyPath({type:"property-path",object:n,property:a,access:"possessive"},t);return e.replace(/([#.][\w-]+)((?:'s\s+[A-Za-z][\w-]*)+)/g,(n,a,u,o,s)=>{let[l,...c]=[...u.matchAll(/'s\s+([A-Za-z][\w-]*)/g)].map(d=>d[1]),p=i(ot(a),l);if(!p)return n;let m=!p.startsWith(a);if(m)for(let d of c)p=i(ot(p),d);else p+=c.map(d=>`'s ${d}`).join("");return r(s,o+n.length)&&m?`(${p})`:p})}renderPropertyPath(e,t){let r=T(t);if(e.access==="dot"){let u=this.renderDotBase(e.object,t,r),o=e.property;return/^[.?]/.test(o)?`${u}${o}`:`${u}.${o}`}let i=this.localizeValue(e.property,t),n=e.object.type==="reference"?e.object.value:null;if(r?.possessive&&n){let u=r.possessive.specialForms?.[n]??aw(r.possessive.keywords,n);if(u)return`${u} ${i}`}let a=this.valueToNaturalString(e.object,t);if(e.object.type==="expression"){if(t==="en"||!r?.possessive)return`the ${i} of ${a}`;let{marker:u,markerPosition:o}=r.possessive;if(u&&o==="between"&&t!=="th")return`${a} ${u} ${i}`;let s=t==="th"?u:Lf(r);return s?`${i} ${s} ${a}`:`the ${i} of ${a}`}if(r?.possessive){let{marker:u,markerPosition:o,usePossessiveAdjectives:s}=r.possessive;if(s&&n)return`${a} ${i}`;if(u&&o==="between"){if(t==="th")return`${i} ${u} ${a}`;let c=r.tokenization!==void 0;return r.usesSpaces&&!c?`${a} ${u} ${i}`:r.usesSpaces?`${a}${u} ${i}`:`${a}${u}${i}`}let l=t!=="en"&&e.object.type==="selector"?Lf(r):void 0;if(l)return`${i} ${l} ${a}`;if(u)switch(o){case"after-object":return`${a}${u} ${i}`;case"before-property":return`${a} ${u} ${i}`}}return t==="en"||!r?.possessive?a==="me"?`my ${i}`:a==="it"?`its ${i}`:`${a}'s ${i}`:`${a} ${i}`}};function aw(e,t){if(e){for(let[r,i]of Object.entries(e))if(i===t)return r}}var Yr=new Lv;function uw(e,t){return Yr.render(e,t)}function Qn(e){return Yr.renderExplicit(e)}Pc();var ow=new Set(["a","an","the"]),Pv=new Set(["me","my","you","your","it","its","result","event"]),_v=new Map;function sw(e){let t=_v.get(e);return t||(t=new Set(Object.values(Ae).flatMap(r=>r.roles.flatMap(i=>[i.markerOverride?.[e],...i.markerVariants?.[e]??[]].filter(n=>typeof n=="string"&&n.length>0)))),_v.set(e,t)),t}function Jn(e,t){let r=se(e,t).tokens,i=r[0];if(r.length!==1||!i)return{collision:"structure",word:"words"};let n=i.normalized!==e?i.normalized:void 0;if(i.kind==="keyword"&&au.has(n??""))return{collision:"pronoun",word:"pronoun",sense:n};if(i.kind==="identifier"&&!n){if(sw(t).has(e))return{collision:"structure",word:"marker"};let a=Jt(t,e);return a!==e?{collision:"structure",word:"connective",sense:a}:ow.has(e.toLowerCase())?{collision:"structure",word:"article"}:null}return i.kind==="particle"?{collision:"structure",word:"marker"}:{collision:"structure",word:"keyword",sense:n}}function Ns(e,t){let r=`${t}\0${e}`,i=Rv.get(r);return i===void 0&&(i=Jn(e,t)?.collision??null,Rv.set(r,i)),i}var Rv=new Map;bE((e,t)=>Ns(e,t)==="structure");function lw(e,t){let r=On(e);if(!r.success||!r.node)return e;let i=[],n=(u,o)=>{if(Array.isArray(u)){for(let l of u)n(l,o);return}if(!u||typeof u!="object")return;let s=u;s.type==="identifier"&&o!=="property"&&o!=="targetType"&&typeof s.name=="string"&&s.start!==void 0&&s.end!==void 0&&e.slice(s.start,s.end)===s.name&&!Nv(s.name)&&Ns(s.name,t)==="structure"&&i.push([s.start,s.end]);for(let[l,c]of Object.entries(u))c&&typeof c=="object"&&n(c,l)};n(r.node,void 0);let a=e;for(let[u,o]of i.sort((s,l)=>l[0]-s[0]))a[u-1]==="("&&a[o]===")"||(a=`${a.slice(0,u)}(${a.slice(u,o)})${a.slice(o)}`);return a}function jv(e){return e.replace(/(^|[^\p{L}\p{N}_$)\]])\(([\p{L}_$][\p{L}\p{M}\p{N}_$]*)\)/gu,"$1$2")}function Ov(e,t,r){let i=Gr(e,t).node;return!!i&&jv(Zi(i))===jv(Zi(r))}function Nv(e){if(e==="a"||e==="an")return!1;let t=se(e,"en").tokens;return t.length===1&&t[0]?.kind!=="identifier"}function Iv(e){let t=new Set,r=new Set,i=(a,u)=>{if(Array.isArray(a)){for(let s of a)i(s,u);return}if(!a||typeof a!="object")return;let o=a;o.type==="identifier"&&u!=="property"&&u!=="targetType"&&typeof o.name=="string"&&!Nv(o.name)&&t.add(o.name);for(let[s,l]of Object.entries(a))l&&typeof l=="object"&&i(l,s)},n=a=>{if(!a||typeof a!="object"||r.has(a))return;r.add(a);let u=a;if(u.type==="expression"&&typeof u.raw=="string"){let o=On(u.raw);o.success&&o.node&&i(o.node,void 0)}for(let o of a instanceof Map?a.values():Object.values(a))n(o)};return n(e),t}function cw(e){let t=[],r=new Set,i=n=>{if(!n||typeof n!="object"||r.has(n))return;r.add(n);let a=n.diagnostics;if(Array.isArray(a))for(let u of a)u.code==="unconsumed-input"&&u.message&&t.push(u.message);for(let u of n instanceof Map?n.values():Object.values(n))i(u)};return i(e),t}function Zi(e){return[uw(e,"en"),...cw(e)].join(`
64
+ `)}featureHeader(e,t){let r=this.keyword(t,e.action);if(e.action==="when"){let u=e.roles.get("condition"),o=u?this.valueToNaturalString(u,t):"";return[r,o,this.keyword(t,"changes")].filter(Boolean).join(" ")}let i=e.name?`${r} ${e.name}`:r,n=e.roles.get("source"),a=n?.type==="expression"?n.raw:void 0;if(a&&e.action==="socket")return`${i} ${a}`;if(a&&e.action==="eventsource"){let u=T(t)?.roleMarkers?.source,o=u?.primary??"from";return u?.position==="after"?`${i} ${a} ${o}`:`${i} ${o} ${a}`}return i}getChainWord(e,t){let r=T(t);return r?.keywords?r.keywords[e]?.primary??e:e}renderExplicit(e){return De(e)}supportedLanguages(){return Ls()}findBestPattern(e,t){let r=t;if(e.kind==="event-handler"){let a=t.filter(u=>!/-event-/i.test(u.id));a.length>0&&(r=a)}let i=new Map;for(let a of r)for(let[u,o]of Object.entries(a.extraction??{})){let s=Tv(o);if(s===void 0)continue;let l=i.get(u)??new Set;l.add(s),i.set(u,l)}let n=r.map(a=>{let u=a.priority,o=p=>{let m=e.roles.get(p);return m!==void 0&&!(m.implicit===!0&&m.type==="reference")},s=(p,m)=>{for(let d of p)d.type==="group"?s(d.tokens,!0):d.type==="role"&&(o(d.role)?u+=m?tw:10:!m&&!d.optional&&(u-=50))};s(a.template.tokens,!1);let l=new Set,c=p=>{for(let m of p)m.type==="group"?c(m.tokens):m.type==="role"&&l.add(m.role)};c(a.template.tokens);for(let p of e.roles.keys())o(p)&&!l.has(p)&&(u-=iw);for(let[p,m]of Object.entries(a.extraction??{})){let d=Tv(m);if(d===void 0)continue;let y=e.roles.get(p),f=y?.type==="literal"?String(y.value).trim().toLowerCase():void 0;f===d?u+=60:(f===void 0||i.get(p)?.has(f))&&(u-=200)}return a.language==="en"&&((a.id.includes("standard")||a.id.includes("en-source"))&&(u+=20),(a.id.includes("-when")||a.id.includes("-if")||a.id.includes("-upon"))&&(u-=15)),{pattern:a,score:u}});return n.sort((a,u)=>u.score-a.score),n.length>0?n[0].pattern:null}spliceWaitAlternatives(e,t,r,i){let n=e.waitAlternatives;if(!n||n.length===0||r<0)return;let a=f=>f&&f.length>0?`(${f.join(", ")})`:"",[u,...o]=n;"event"in u&&(t[r]+=a(u.params));let s=[...Un[i]??[]][0]??"or",l=o.map(f=>"event"in f?`${s} ${this.renderEventName({type:"literal",value:f.event},i)}${a(f.params)}`:`${s} ${f.duration}`);t.splice(r+1,0,...l);let c=e.waitSource;if(!c)return;let p=this.valueToNaturalString(c,i),m=T(i)?.roleMarkers?.source,d=m?.primary??"from",y=m?.position==="after"?`${p} ${d}`:`${d} ${p}`;t.splice(r+1+l.length,0,y)}spliceOrEvents(e,t,r,i){let n=e.additionalEvents??[];if(n.length===0)return;let a=[...Un[i]??[]][0]??"or",u=n.map(o=>`${a} ${this.renderEventName(o,i)}`);t.splice(r>=0?r+1:t.length,0,...u)}spliceEventModifiers(e,t,r,i){let n=e.eventModifiers;if(!n)return;r>=0&&n.queue&&(t[r]+=`.queue(${n.queue})`),n.once&&n.onceAsFirst?i==="en"&&r>=0?t[r]=`first ${t[r]}`:t.unshift("first"):n.once&&(i==="en"&&r>=0?t[r]+=".once":t.unshift("once"));let a=[];if(n.from){let s=this.valueToNaturalString(n.from,i),l=T(i)?.roleMarkers?.source,c=l?.primary??"from";l?.position==="after"?t.unshift(`${s} ${c}`):a.push(`${c} ${s}`)}let u=s=>s%1e3===0?`${s/1e3}s`:`${s}ms`;if(typeof n.debounce=="number"&&a.push(`debounced at ${u(n.debounce)}`),typeof n.throttle=="number"&&a.push(`throttled at ${u(n.throttle)}`),a.length===0)return;let o=r>=0&&T(i)?.roleMarkers?.source?.position!=="after"?r+1:t.length;t.splice(o,0,...a)}renderWithPattern(e,t){let r=[],i=t.language,n=-1;for(let u of t.template.tokens){let o=this.renderPatternToken(u,e,i);o!==null&&(r.push(o),u.type==="role"&&(u.role==="event"||u.role==="duration"&&e.action==="wait")&&(n=r.length-1))}e.action==="wait"&&e.kind==="command"&&this.spliceWaitAlternatives(e,r,n,i),e.action==="fetch"&&e.doNotThrow&&r.push("do not throw");let a=e.scrollBehavior;if(a&&(e.action==="go"||e.action==="scroll")&&r.push(a),e.kind==="event-handler"){let u=e.parameterNames;u&&u.length>0&&n>=0&&(r[n]+=`(${u.join(", ")})`),this.spliceOrEvents(e,r,n,i),this.spliceEventModifiers(e,r,n,i)}if(e.kind==="event-handler"){let u=e;if(u.body&&u.body.length>0){let o=u.body.map(s=>this.render(s,i));r.push(o.join(" "))}}return r.join(" ")}renderPatternToken(e,t,r){switch(e.type){case"literal":return e.renderSuppress?null:e.value;case"role":{let i=t.roles.get(e.role);if(!i){if(e.role==="duration"&&t.action==="wait"){let a=t.roles.get("event");if(a)return this.renderEventName(a,r)}return e.optional,null}if(e.role==="event")return this.renderEventName(i,r);let n=t.scrollPosition;if(n&&e.role==="destination"&&(t.action==="go"||t.action==="scroll"))return`${n} of ${this.valueToNaturalString(i,r)}`;if(r==="en"&&t.action==="halt"&&e.role==="patient"&&i.type==="reference"&&i.value==="event")return`the ${this.valueToNaturalString(i,r)}`;if(t.action==="render"&&e.role==="style"&&i.type==="expression"){let a=i.raw.trim();if(a.startsWith("{")&&a.endsWith("}"))return a.slice(1,-1).trim()}if(t.action==="js"&&i.type==="expression")return i.raw;if(e.valueShape==="keyword"){if(i.type==="reference")return i.value;if(i.type==="expression")return i.raw;if(i.type==="literal"&&i.dataType!=="string")return String(i.value)}if(t.action==="fetch"&&e.role==="responseType"&&i.type==="expression")return i.raw;if(t.action==="pick"&&e.role==="patient"&&i.type==="expression"){let a=Ts.rangeSeparatorFor(r);if(a)return i.raw.replace(/(?<=\s)to(?=\s)/g,a)}return this.valueToNaturalString(i,r)}case"group":{if(!e.tokens.filter(u=>u.type==="role"&&!u.optional).every(u=>t.roles.has(u.role))&&e.optional)return null;if(e.optional)for(let u of["destination","source","patient"]){if(!e.tokens.find(l=>l.type==="role"&&l.role===u))continue;let s=t.roles.get(u);if(!(s?.type!=="reference"||s.value!=="me")&&s.implicit){if(u==="destination"){let l=t.roles.get("patient");if(l?.type==="literal"&&l.dataType==="string")continue}if(!(u==="patient"&&rw(t,"patient")))return null}}if(e.optional&&e.tokens.find(o=>o.type==="role"&&o.role==="quantity")){let o=t.roles.get("quantity");if(o?.type==="literal"&&(o.value===1||o.value==="1"))return null}let n=[],a=!1;for(let u of e.tokens){let o=this.renderPatternToken(u,t,r);o!==null&&(n.push(o),u.type==="role"&&(a=!0))}return e.optional&&!a&&!e.renderRequired?null:n.length>0?n.join(" "):null}default:return null}}renderEventName(e,t){if(e.type!=="literal"||typeof e.value!="string")return this.valueToNaturalString(e,t);let r=e.value,i=n=>n.includes(":")?n:is(n,t);return r.includes(" or ")?r.split(" or ").map(n=>i(n.trim())).join(" or "):i(r)}valueToNaturalString(e,t="en"){switch(e.type){case"literal":return typeof e.value=="string"&&e.dataType==="string"?e.interpolates?e.value:`"${e.value}"`:this.localizeValue(String(e.value),t);case"selector":return e.scope?`${e.value} in ${this.valueToNaturalString(e.scope,t)}`:e.value;case"reference":return this.renderReference(e,t);case"property-path":return this.renderPropertyPath(e,t);case"expression":return this.localizeValue(this.localizeInteriorPossessives(this.valueGuard?.(e.raw)??e.raw,t),t);case"flag":return this.localizeValue(e.name,t)}}localizeValue(e,t){return t==="en"?e:JC(e,t,T(t))}renderReference(e,t){let r=T(t);return r?.references?r.references[e.value]??e.value:e.value}renderDotBase(e,t,r){if(e.type!=="reference")return this.valueToNaturalString(e,t);let i=r?.possessive?.specialForms?.[e.value];return i&&!/\s/.test(i)?i:e.value}localizeInteriorPossessives(e,t){let r=(n,a)=>/^\s+as\b/.test(n.slice(a));if(t==="en")return e.replace(/\b(?:the\s+)?([A-Za-z][\w-]*)\s+of\s+([#.][\w-]+)/g,(n,a,u,o,s)=>nw.has(a.toLowerCase())&&!r(s,o+n.length)?`${u}'s ${a}`:n);if(!e.includes("'s"))return e;let i=(n,a)=>this.renderPropertyPath({type:"property-path",object:n,property:a,access:"possessive"},t);return e.replace(/([#.][\w-]+)((?:'s\s+[A-Za-z][\w-]*)+)/g,(n,a,u,o,s)=>{let[l,...c]=[...u.matchAll(/'s\s+([A-Za-z][\w-]*)/g)].map(d=>d[1]),p=i(ot(a),l);if(!p)return n;let m=!p.startsWith(a);if(m)for(let d of c)p=i(ot(p),d);else p+=c.map(d=>`'s ${d}`).join("");return r(s,o+n.length)&&m?`(${p})`:p})}renderPropertyPath(e,t){let r=T(t);if(e.access==="dot"){let u=this.renderDotBase(e.object,t,r),o=e.property;return/^[.?]/.test(o)?`${u}${o}`:`${u}.${o}`}let i=this.localizeValue(e.property,t),n=e.object.type==="reference"?e.object.value:null;if(r?.possessive&&n){let u=r.possessive.specialForms?.[n]??aw(r.possessive.keywords,n);if(u)return`${u} ${i}`}let a=this.valueToNaturalString(e.object,t);if(e.object.type==="expression"){if(t==="en"||!r?.possessive)return`the ${i} of ${a}`;let{marker:u,markerPosition:o}=r.possessive;if(u&&o==="between"&&t!=="th")return`${a} ${u} ${i}`;let s=t==="th"?u:Lf(r);return s?`${i} ${s} ${a}`:`the ${i} of ${a}`}if(r?.possessive){let{marker:u,markerPosition:o,usePossessiveAdjectives:s}=r.possessive;if(s&&n)return`${a} ${i}`;if(u&&o==="between"){if(t==="th")return`${i} ${u} ${a}`;let c=r.tokenization!==void 0;return r.usesSpaces&&!c?`${a} ${u} ${i}`:r.usesSpaces?`${a}${u} ${i}`:`${a}${u}${i}`}let l=t!=="en"&&e.object.type==="selector"?Lf(r):void 0;if(l)return`${i} ${l} ${a}`;if(u)switch(o){case"after-object":return`${a}${u} ${i}`;case"before-property":return`${a} ${u} ${i}`}}return t==="en"||!r?.possessive?a==="me"?`my ${i}`:a==="it"?`its ${i}`:`${a}'s ${i}`:`${a} ${i}`}};function aw(e,t){if(e){for(let[r,i]of Object.entries(e))if(i===t)return r}}var Yr=new Lv;function uw(e,t){return Yr.render(e,t)}function Qn(e){return Yr.renderExplicit(e)}Pc();var ow=new Set(["a","an","the"]),Pv=new Set(["me","my","you","your","it","its","result","event"]),_v=new Map;function sw(e){let t=_v.get(e);return t||(t=new Set(Object.values(Ae).flatMap(r=>r.roles.flatMap(i=>[i.markerOverride?.[e],...i.markerVariants?.[e]??[]].filter(n=>typeof n=="string"&&n.length>0)))),_v.set(e,t)),t}function Jn(e,t){let r=se(e,t).tokens,i=r[0];if(r.length!==1||!i)return{collision:"structure",word:"words"};let n=i.normalized!==e?i.normalized:void 0;if(i.kind==="keyword"&&au.has(n??""))return{collision:"pronoun",word:"pronoun",sense:n};if(i.kind==="identifier"&&!n){if(sw(t).has(e))return{collision:"structure",word:"marker"};let a=Jt(t,e);return a!==e?{collision:"structure",word:"connective",sense:a}:ow.has(e.toLowerCase())?{collision:"structure",word:"article"}:null}return i.kind==="particle"?{collision:"structure",word:"marker"}:{collision:"structure",word:"keyword",sense:n}}function Ns(e,t){let r=`${t}\0${e}`,i=Rv.get(r);return i===void 0&&(i=Jn(e,t)?.collision??null,Rv.set(r,i)),i}var Rv=new Map;bE((e,t)=>Ns(e,t)==="structure");function lw(e,t){let r=On(e);if(!r.success||!r.node)return e;let i=[],n=(u,o)=>{if(Array.isArray(u)){for(let l of u)n(l,o);return}if(!u||typeof u!="object")return;let s=u;s.type==="identifier"&&o!=="property"&&o!=="targetType"&&typeof s.name=="string"&&s.start!==void 0&&s.end!==void 0&&e.slice(s.start,s.end)===s.name&&!Nv(s.name)&&Ns(s.name,t)==="structure"&&i.push([s.start,s.end]);for(let[l,c]of Object.entries(u))c&&typeof c=="object"&&n(c,l)};n(r.node,void 0);let a=e;for(let[u,o]of i.sort((s,l)=>l[0]-s[0]))a[u-1]==="("&&a[o]===")"||(a=`${a.slice(0,u)}(${a.slice(u,o)})${a.slice(o)}`);return a}function jv(e){return e.replace(/(^|[^\p{L}\p{N}_$)\]])\(([\p{L}_$][\p{L}\p{M}\p{N}_$]*)\)/gu,"$1$2")}function Ov(e,t,r){let i=Gr(e,t).node;return!!i&&jv(Zi(i))===jv(Zi(r))}function Nv(e){if(e==="a"||e==="an")return!1;let t=se(e,"en").tokens;return t.length===1&&t[0]?.kind!=="identifier"}function Iv(e){let t=new Set,r=new Set,i=(a,u)=>{if(Array.isArray(a)){for(let s of a)i(s,u);return}if(!a||typeof a!="object")return;let o=a;o.type==="identifier"&&u!=="property"&&u!=="targetType"&&typeof o.name=="string"&&!Nv(o.name)&&t.add(o.name);for(let[s,l]of Object.entries(a))l&&typeof l=="object"&&i(l,s)},n=a=>{if(!a||typeof a!="object"||r.has(a))return;r.add(a);let u=a;if(u.type==="expression"&&typeof u.raw=="string"){let o=On(u.raw);o.success&&o.node&&i(o.node,void 0)}for(let o of a instanceof Map?a.values():Object.values(a))n(o)};return n(e),t}function cw(e){let t=[],r=new Set,i=n=>{if(!n||typeof n!="object"||r.has(n))return;r.add(n);let a=n.diagnostics;if(Array.isArray(a))for(let u of a)u.code==="unconsumed-input"&&u.message&&t.push(u.message);for(let u of n instanceof Map?n.values():Object.values(n))i(u)};return i(e),t}function Zi(e){return[uw(e,"en"),...cw(e)].join(`
65
65
  `)}function pw(e,t){return Mv(t,"u").test(e)}function Mv(e,t){let r=e.replace(/[$]/g,"\\$&");return new RegExp(`(?<![\\p{L}\\p{N}_$])${r}(?![\\p{L}\\p{N}_$])`,t)}function Is(e,t,r){return r.find(i=>!pw(e,i)&&t.every(n=>Jn(i,n)===null))}function Wv(e){return[`${e}1`,`${e}2`,`${e}Value`,`${e}Var`,`my${e[0].toUpperCase()}${e.slice(1)}`]}function qv(e,t,r,i,n){let a=Is(e,[t],[..."abcdefghijklmnopqrstuvwxyz"].map(s=>`zqv${s}`));if(!a)return;let u=Mv(a,"gu"),o=[];for(let s of r){let l=s.position?.start,c=s.position?.end;if(s.value!==n||l===void 0||c===void 0||s.kind==="literal"||s.kind==="selector")continue;let p=Gr(mw(e,[...o,{start:l,end:c}],a),t).node;p&&Zi(p).replace(u,n)===i&&o.push({start:l,end:c})}return o}function mw(e,t,r){let i=e;for(let{start:n,end:a}of[...t].sort((u,o)=>o.start-u.start))i=i.slice(0,n)+r+i.slice(a);return i}function dw(e,t,r){let i={keyword:t.sense?`the word for \`${t.sense}\` in ${r}`:`a keyword in ${r}`,marker:`a role marker in ${r}`,connective:`the word for \`${t.sense}\` in ${r}`,article:"an English article, which the reader of every language skips",pronoun:Pv.has(t.sense??"")?`the pronoun \`${t.sense}\` in ${r}`:`the word for \`${t.sense}\` in ${r}`,words:`more than one word in ${r}`}[t.word];return t.collision==="pronoun"?`Variable \`${e}\` is also ${i}: no reader can tell them apart.`:`Variable \`${e}\` is also ${i}: a reader tells them apart only by where it stands, or when it is written \`(${e})\`.`}function yw(e,t,r){let i=Pv.has(t.sense??"")?`the pronoun \`${t.sense}\``:`the word for \`${t.sense}\``,n=T(r)?.name??r;return`Variable \`${e}\` is ${i} in ${n}: a translation into ${n} reads it as that word, and no spelling tells them apart. Rename it before translating.`}function fw(e,t){if(t==="en")return[];let{node:r}=Gr(e,t);if(!r)return[];let i=Zi(r),n=[],a;for(let u of Iv(r)){let o=Jn(u,t);if(!o)continue;a??(a=se(e,t).tokens);let s=qv(e,t,a,i,u);if(!s)break;s.length!==0&&n.push({name:u,collision:o.collision,occurrences:s,rename:Is(e,[t],Wv(u)),message:dw(u,o,t)})}return n}function vw(e,t,r){let{node:i}=Gr(e,t);if(!i)return[];let n=Zi(i),a=[],u;for(let o of Iv(i)){let s=Jn(o,r);if(s?.collision!=="pronoun")continue;u??(u=se(e,t).tokens);let l=qv(e,t,u,n,o);l?.length&&a.push({name:o,collision:"pronoun",occurrences:l,rename:Is(e,[t,r],Wv(o)),message:yw(o,s,r)})}return a}function rr(e,t){if(t==="en"||!T(t))return Yr.render(e,t);let r=!1,i=Yr.renderWith(e,t,a=>{let u=lw(a,t);return u!==a&&(r=!0),u});if(!r)return i;let n=Yr.render(e,t);return Ov(n,t,e)?n:Ov(i,t,e)?i:n}xe();var hw={getSchema:ge};function Ms(e){return lt(e,{schemaLookup:hw})}var er=new Set(["if","unless","while","repeat","for"]),$v=new Set(["repeat","for"]),Zr={kind:"loop-close"};function Ws(e){return e===Zr}function qs(e){if(Ws(e)||e.kind!=="command"||!$v.has(e.action))return!1;let t=e.body;return!(Array.isArray(t)&&t.length>0)}function gw(e){switch(e.type){case"expression":return e.raw;case"literal":return String(e.value);case"reference":return e.value;default:return}}function ea(e,t){for(let r=t-1;r>=0;r--)if(e[r].kind!=="particle")return e[r]}function $s(e){return e.kind!=="keyword"&&e.kind!=="identifier"?!1:(e.normalized??e.value).toLowerCase()==="repeat"}function ta(e){let t=0;for(let r of e)qs(r)?t++:Ws(r)&&t>0&&t--;return t}var Vs=new Set(["then","end","else","if","unless","while","for","repeat","and"]),Ew=new Set(["first","last","next","previous","random","closest"]),kw=new Set(["me","my","i","it","its","you","your","result"]),Vv=new Set(["top","middle","bottom","left","center","right","nearest"]),zw=new Set(["smoothly","instantly"]);function Cw(e,t){if(!t)return!1;let r=t.value.toLowerCase();switch(e.type){case"selector":return e.value.toLowerCase()===r;case"reference":return e.value===(t.normalized??t.value).toLowerCase()||e.value===r;case"expression":return e.raw.toLowerCase().split(/\s+/)[0]===r;default:return String("value"in e?e.value:"").toLowerCase()===r}}var Xi=["body","statements","thenBranch","elseBranch","eventHandlers","initBlock"];function ww(e){let t=(e.normalized??e.value).toLowerCase();return t==="document"||t==="window"||t==="me"||t==="body"?nt(t):e.kind==="selector"?ot(e.value):{type:"expression",raw:e.value}}var Kv=new Map;function Hv(e){let t=Kv.get(e);return t||(t=new Set(We(e).map(r=>r.command).filter(r=>r!=="on")),Kv.set(e,t)),t}var vt=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"]),Uv=class extends Error{constructor(e,t,r,i){super(e),this.name="SemanticParseError",this.language=t,this.input=r,this.diagnostics=i}};function ye(e,t,r){return{message:e,severity:t,source:"semantic-parser",...r&&{code:r}}}function J(e,t){return t.length===0?e:{...e,diagnostics:t}}var ra=120;function Aw(e,t,r){let i=t.tokens.length;if(e.consumedTokens>=i)return null;let n=t.tokens[e.consumedTokens],a=t.tokens[i-1];if(!n||!a)return null;let u=r.slice(n.position.start,a.position.end);if(!u.trim())return null;let o=u.length>ra?`${u.slice(0,ra)}\u2026`:u,s=i-e.consumedTokens;return`pattern ${e.pattern.id} left ${s} token(s) unconsumed: "${o}"`}var Gv=/^repeat-.*-(times|for-in|while-head|until-head|until-condition-head)$/,xw=new Set(["forever","times","for","while","until","until-event"]),bw=new Set(["to","from","into","onto","with","as","at","of","in","on","by","and","or","then","end","else","the","a","an","async"]);function ia(e){let t=[],r=new Set((e.diagnostics??[]).map(n=>`${n.code}|${n.message}`)),i=n=>{if(!n||typeof n!="object")return;if(n!==e)for(let u of n.diagnostics??[]){if(u.code!=="unconsumed-input")continue;let o=`${u.code}|${u.message}`;r.has(o)||(r.add(o),t.push(u))}let a=n;for(let u of Ks){let o=a[u];if(Array.isArray(o))for(let s of o)i(s)}};return i(e),t.length===0?e:J(e,[...e.diagnostics??[],...t])}function Dw(e){if(e.length>=2){let t=e[0];if((t==='"'||t==="'")&&e.endsWith(t))return e.slice(1,-1)}return e}var Ks=["body","statements","thenBranch","elseBranch","eventHandlers","initBlock"];function Yv(e,t,r){if(!e||typeof e!="object")return e;if(e.action&&e.roles instanceof Map){let n=ge(e.action),a=n?.primaryRole;if(n&&a&&a!=="patient"&&!n.roles.some(u=>u.role==="patient")&&e.roles.has("patient")&&!e.roles.has(a)){let u=e.roles,o=u.get("patient");o!==void 0&&(u.delete("patient"),u.set(a,o))}if(e.action==="tell"){let u=e.roles,o=u.get("patient"),s=u.get("destination");o&&(o.type==="selector"||o.type==="reference")&&(!s||s.type==="literal")&&(u.delete("patient"),u.set("destination",o))}if(e.action==="transition"){let u=e.roles,o=u.get("goal");o&&o.type==="literal"&&o.dataType==="duration"&&!u.has("duration")&&(u.delete("goal"),u.set("duration",o))}if(e.action==="fetch"){let u=e.roles,o=u.get("patient"),s=u.get("source");o&&s&&(o.type==="literal"||o.type==="expression")&&s.type==="expression"&&!u.has("style")&&(u.delete("patient"),u.set("style",s),u.set("source",o))}if(e.action==="transition"){let u=e.roles,o=u.get("destination");o&&o.type==="literal"&&!u.has("goal")&&(u.delete("destination"),u.set("goal",o));let s=u.get("patient");s&&s.type==="literal"&&typeof s.value=="string"&&/^[A-Za-z_][A-Za-z0-9_-]*$/.test(s.value)&&u.set("patient",{type:"expression",raw:s.value})}if(e.action==="morph"){let u=e.roles,o=u.get("patient");o&&o.type==="literal"&&typeof o.value=="string"&&/<[a-zA-Z][^>]*\/?>/.test(o.value)&&u.set("patient",{type:"expression",raw:o.value})}if(e.action==="wait"){let u=e.roles;if(!u.has("event")){let o=u.get("duration"),s=o?.type==="expression"?o.raw:o?.type==="literal"?o.value:void 0,l=typeof s=="string"&&r?rs(s,r):"";typeof s=="string"&&vt.has(s.toLowerCase())?(u.delete("duration"),u.set("event",{type:"literal",value:s,dataType:"string"})):vt.has(l)&&(u.delete("duration"),u.set("event",{type:"literal",value:l,dataType:"string"}))}}if(e.kind==="command"&&e.action!=="on"){let u=e.roles,o=u.get("event");if(o&&o.type==="expression"){let s=o.raw;typeof s=="string"&&/^[A-Za-z_][A-Za-z0-9_-]*(:[A-Za-z0-9_-]+)?$/.test(s)&&u.set("event",{type:"literal",value:s,dataType:"string"})}}if(t?.size){let u=e.roles;for(let o of["destination","source"]){let s=u.get(o);s&&s.type==="literal"&&typeof s.value=="string"&&t.has(s.value)&&u.set(o,{type:"expression",raw:s.value})}}}let i=e;for(let n of Ks){let a=i[n];if(Array.isArray(a))for(let u of a)Yv(u,t,r)}return e}function Zv(e){if(!e||typeof e!="object")return e;if(e.action&&e.roles instanceof Map){let r=ge(e.action);if(r){let i=e.roles;for(let n of r.roles)n.default!==void 0&&!i.has(n.role)&&i.set(n.role,{...n.default,implicit:!0})}}let t=e;for(let r of Ks){let i=t[r];if(Array.isArray(i))for(let n of i)Zv(n)}return e}var Qe=class L{constructor(){this.parseDepth=0,this.coverageFrames=[],this.boundIdentifiers=new Set}parse(t,r){this.parseDepth===0&&this.boundIdentifiers.clear(),this.parseDepth++,this.coverageFrames.push([]);try{let i=Yv(this.parseInternal(t,r),this.boundIdentifiers,r),n=this.coverageFrames[this.coverageFrames.length-1];if(n.length>0&&(i=J(i,[...i.diagnostics??[],...n])),this.parseDepth===1&&(i=ia(i),i.kind==="event-handler")){let a={node:i,input:t},u=a.node.eventModifiers;if(u&&(u.once||u.debounce!==void 0||u.throttle!==void 0))for(let s=0;s<4;s++){let l=this.reclaimDanglingFromTail(a.node,a.input,r)??this.reclaimEventCompoundTail(a.node,a.input,r)??this.reclaimResponseTypeTail(a.node,a.input,r)??this.reclaimCapturedDestinationTail(a.node,a.input,r);if(!l)break;a=l}let o=this.reclaimEventCompoundTail(a.node,a.input,r);o&&(a=o),i=a.node}return i}finally{this.coverageFrames.pop(),this.parseDepth--}}coverageMark(){let t=this.coverageFrames[this.coverageFrames.length-1];return t?t.length:0}coverageRollback(t){let r=this.coverageFrames[this.coverageFrames.length-1];r&&r.length>t&&(r.length=t)}static getCoverageMarkerSurfaces(t){let r=L.coverageMarkerSurfaces.get(t);if(!r){r=new Set;let i=T(t)?.roleMarkers;if(i){for(let n of Object.values(i))if(n){if(n.primary)for(let a of n.primary.toLowerCase().split(/\s+/))r.add(a);for(let a of n.alternatives??[])for(let u of a.toLowerCase().split(/\s+/))r.add(u)}}for(let n of L.LEAKED_RENDER_MARKERS[t]??[])r.add(n.toLowerCase());L.coverageMarkerSurfaces.set(t,r)}return r}isCoverageResidueToken(t,r){if(t.kind==="particle"||t.kind==="conjunction"||t.metadata?.closesTrackedBlock||this.isThenKeyword(t.value,r)||this.isEndKeyword(t.value,r)||this.isElseKeyword(t.value,r))return!0;let i=(t.normalized??t.value).toLowerCase();return bw.has(i)?!0:L.getCoverageMarkerSurfaces(r).has(t.value.toLowerCase())}recordDroppedTokens(t,r,i){if(t.length===0)return;let n=this.coverageFrames[this.coverageFrames.length-1];if(!n||!t.some(o=>!this.isCoverageResidueToken(o,r)))return;let a=t.map(o=>o.value).join(" ").trim();if(!a)return;let u=a.length>ra?`${a.slice(0,ra)}\u2026`:a;n.push(ye(`${i} left ${t.length} token(s) unconsumed: "${u}"`,"warning","unconsumed-input"))}registerBoundIdentifiers(t){let r=t.action==="repeat"||t.action==="for"?"patient":t.action==="set"?"destination":null;if(!r)return;let i=t.roles.get(r);i?.type==="expression"&&typeof i.raw=="string"&&/^[A-Za-z_]\w*$/.test(i.raw)&&this.boundIdentifiers.add(i.raw)}parseInternal(t,r){let i=yC(t,r,{statement:(z,A)=>this.parse(z,A),body:(z,A)=>this.parseStatements(z,A)});if(i)return i;let n=DC(t,r,{statement:(z,A)=>this.parse(z,A),body:(z,A)=>this.parseStatements(z,A)});if(n)return n;let a=fC(t,r,{statement:(z,A)=>this.parse(z,A),body:(z,A)=>this.parseStatements(z,A)});if(a)return a;let{modifiers:u,remainingInput:o}=this.extractStandaloneModifiers(t,r),s=o||t,c=this.stripAsyncModifier(s,r).remainingInput??s,m=this.stripDoNotThrowModifier(c,r).remainingInput??c,d=[],y=se(m,r);this.positionSource=m;{let z=y.mark(),A=this.consumeJsBlock(y,r);if(A&&y.isAtEnd())return J(A,d);y.reset(z)}let f=We(r);if(f.length===0)throw new Uv(`No patterns available for language: ${r}`,r,m,[ye(`No patterns registered for language '${r}'`,"error","no-patterns")]);let v=[...f].sort((z,A)=>A.priority-z.priority);{let z=y.tokens;if(T(r)?.wordOrder==="VSO"&&z.length>=4&&z[0]?.normalized==="source"){let A=z.findIndex(S=>S.normalized==="on");if(A>=2&&A+1<z.length){let S=m.slice(z[0].position.start,z[A].position.start).trim(),R=z[A+1].position.end,W=m.slice(z[A].position.start,R)+" "+S+m.slice(R);if(W!==m)try{let _=this.parse(W,r);if(_&&_.kind==="event-handler"){let P=u?this.applyModifiers(_,u):_;return J(P,d)}}catch{}}}}{let z=y.tokens,A=z[0]?.normalized==="if";for(let S=0;A&&S+3<z.length;S++){let R=(z[S+3]?.normalized??z[S+3]?.value??"").toLowerCase();if(z[S]?.normalized==="source"&&z[S+2]?.normalized==="on"&&L.KNOWN_EVENTS.has(R)){let W=(m.slice(0,z[S].position.start).trimEnd()+" "+m.slice(z[S+1].position.end).trimStart()).trim();if(W&&W!==m)try{let _=this.parse(W,r);if(_&&_.kind==="event-handler"){let P=u?this.applyModifiers(_,u):_;return J(P,d)}}catch{}break}}}{let z=this.tryDoNotThrow(y.tokens,m,r);if(z){let A=u&&z.kind==="event-handler"?this.applyModifiers(z,u):z;return J(A,d)}}{let z=this.tryTellTo(y.tokens,m,r);if(z){let A=u&&z.kind==="event-handler"?this.applyModifiers(z,u):z;return J(A,d)}}{let z=this.tryScrollModifiers(y.tokens,m,r);if(z){let A=u&&z.kind==="event-handler"?this.applyModifiers(z,u):z;return J(A,d)}}{let z=this.tryLoopIndex(y.tokens,m,r);if(z){let A=u&&z.kind==="event-handler"?this.applyModifiers(z,u):z;return J(A,d)}}{let z=this.tryWaitAlternatives(y.tokens,m,r);if(z){let A=u&&z.kind==="event-handler"?this.applyModifiers(z,u):z;return J(A,d)}}{let z=y.tokens,A=Hv(r);for(let S=0;S+1<z.length;S++){let R=z[S];if(this.isBodyCommandWord(R,A))break;if(z[S+1].value!=="(")continue;let W=(R.normalized??R.value).toLowerCase();if(!(L.KNOWN_EVENTS.has(W)||vt.has(W))&&R.kind!=="identifier")continue;let P=this.matchEventParamPhrase(z,S+1);if(P.len===0)continue;let I=z[S+P.len],ee=(m.slice(0,z[S+1].position.start).trimEnd()+" "+m.slice(I.position.end).trimStart()).trim();try{let M=this.parse(ee,r);if(M?.kind==="event-handler"){let q=this.reclaimEventCompoundTail(ia(M),ee,r);q&&(M=q.node)}let K=M?.roles.get("event"),Ke=(K?.type==="expression"?K.raw:K&&"value"in K?String(K.value):void 0)?.toLowerCase(),te=m.slice(0,z[S+1].position.start).trimEnd().toLowerCase(),N=Ke===R.value.toLowerCase()||Ke===W||Ke!==void 0&&B2(Ke,r).some(q=>te.endsWith(q.toLowerCase()));if(M?.kind==="event-handler"&&N){M.parameterNames=P.names;let q=u?this.applyModifiers(M,u):M;return J(q,d)}}catch{}}}{let z=y.tokens,A=Hv(r);for(let S=1;S<z.length-1;S++){let R=z[S];if(this.isBodyCommandWord(R,A))break;if(!Gn(R,r))continue;let W=z[S+1],_=(W.normalized??W.value).toLowerCase();if(!L.KNOWN_EVENTS.has(_))break;let P=S+1,I=z[S+2];I&&I.kind==="selector"&&I.value.startsWith("[")&&(P=S+2);let ee=z[S].position.start,M=z[P].position.end,K=(m.slice(0,ee).trimEnd()+" "+m.slice(M).trimStart()).trim();if(K&&K!==m)try{let Se=this.parse(K,r);if(Se&&Se.kind==="event-handler"){Se.additionalEvents=[{type:"literal",value:P>S+1?_+I.value:_}];let Ke=u?this.applyModifiers(Se,u):Se;return J(Ke,d)}}catch{}break}}{let z=VC(y.tokens);if(z){let A=(m.slice(0,z.start).trimEnd()+" "+m.slice(z.end).trimStart()).trim();if(A&&A!==m)try{let S=this.parse(A,r);if(S&&S.kind==="event-handler"){let R=this.applyModifiers(S,{...u??{},...z.modifiers});return J(R,d)}}catch{}}}let h=v.filter(z=>z.command==="on"),g=y.mark(),k=qe.matchBest(y,h);if(k){d.push(ye(`event pattern matched: ${k.pattern.id} (confidence: ${k.confidence.toFixed(2)})`,"info","pattern-match"));let z=!1;if(/^event-[a-z]+-bare$/.test(k.pattern.id)){let A=k.captured.get("event"),S=(A?.raw??A?.value??"").toString().toLowerCase(),R=it[r],W=L.KNOWN_EVENTS.has(S)||!!R&&Object.keys(R).some(_=>_.toLowerCase()===S);if(S&&!W){let _=this.trySOVEventExtraction(m,r,v);if(_){d.push(ye(`bare-event mis-anchor on "${S}" rejected; SOV extraction preferred`,"info","stage-bare-event-guard"));let P=u?this.applyModifiers(_,u):_;return J(P,d)}if(A?.type==="reference"||A?.type==="expression"){y.reset(g);let P=v.filter(ee=>ee.command!=="on"),I=qe.matchBest(y,P);y.reset(g),I&&I.pattern.command!=="on"?(z=!0,d.push(ye(`bare-event mis-anchor on reference "${S}" rejected; command ${I.pattern.command} preferred`,"info","stage-bare-event-guard"))):qe.matchBest(y,h)}}}if(!z){let A=this.buildEventHandler(k,y,r),S=u?this.applyModifiers(A,u):A;return J(S,d)}}d.push(ye(`event patterns: ${h.length} tried, no match`,"info","stage-event"));let C=this.tryTrailingEventExtraction(m,r,v);if(C){d.push(ye("trailing event extraction succeeded","info","stage-trailing-event"));let z=u?this.applyModifiers(C,u):C;return J(z,d)}let E=v.filter(z=>z.command!=="on"),x=this.tryParseUnlessGuard(y,E,r);if(x&&x.length>0){let z=x.length===1?x[0]:Qt(x,"then",{sourceLanguage:r,confidence:1});return J(z,d)}let w=qe.matchBest(y,E);if(w){if(er.has(w.pattern.command)){let A=this.trySOVEventExtraction(m,r,v);if(A){d.push(ye(`SOV event extraction preferred over bare ${w.pattern.command} command`,"info","stage-sov-loop"));let R=u?this.applyModifiers(A,u):A;return J(R,d)}let S=this.tryMidStreamEventExtraction(m,r,v);if(S){d.push(ye(`mid-stream event extraction preferred over bare ${w.pattern.command} command`,"info","stage-midstream-loop"));let R=u?this.applyModifiers(S,u):S;return J(R,d)}}else if(L.KNOWN_EVENTS.has(w.pattern.command)&&this.hasSOVEventMarkerHead(m,r)){let A=this.trySOVEventExtraction(m,r,v);if(A){d.push(ye(`SOV event extraction preferred over command-homonym event ${w.pattern.command}`,"info","stage-sov-homonym"));let S=u?this.applyModifiers(A,u):A;return J(S,d)}}else if(T(r)?.wordOrder==="VSO"){let A=this.tryMidStreamEventExtraction(m,r,v);if(A){d.push(ye(`mid-stream event extraction preferred over bare ${w.pattern.command} command`,"info","stage-midstream-cmd"));let S=u?this.applyModifiers(A,u):A;return J(S,d)}}if(w.consumedTokens<y.tokens.length&&T(r)?.wordOrder==="SOV"){let A=this.trySOVEventExtraction(m,r,v);if(A){d.push(ye(`SOV event extraction preferred over partial ${w.pattern.command} command (trailing remainder)`,"info","stage-sov-trailing"));let S=u?this.applyModifiers(A,u):A;return J(S,d)}}if(w.consumedTokens<y.tokens.length&&$v.has(w.pattern.command)){let A=this.tryTopLevelLoop(y,E,r);if(A)return d.push(ye(`top-level loop: ${A.kind}`,"info","stage-top-level-loop")),J(A,d)}if(w.consumedTokens<y.tokens.length&&!er.has(w.pattern.command)){let A=this.tryTopLevelCommandSequence(y,E,r);if(A)return d.push(ye(`top-level command sequence: ${A.statements.length} commands`,"info","stage-top-level-sequence")),J(A,d)}if(w.consumedTokens<y.tokens.length&&(w.pattern.command==="if"||w.pattern.command==="unless")){let A=this.tryCompoundCommandParsing(y,E,r);if(A)return d.push(ye("conditional with a trailing body","info","stage-compound")),J(A,d)}d.push(ye(`command pattern matched: ${w.pattern.id} (confidence: ${w.confidence.toFixed(2)})`,"info","pattern-match"));let z=Aw(w,y,m);return z&&d.push(ye(z,"warning","unconsumed-input")),J(this.buildCommand(w,r),d)}if(d.push(ye(`command patterns: ${E.length} tried, no match`,"info","stage-command")),!m.includes(`
66
- `)&&T(r)?.wordOrder==="VSO"){let z=this.tryMidStreamEventExtraction(m,r,v);if(z){d.push(ye("mid-stream event extraction succeeded with no leading command match","info","stage-midstream-nocmd"));let A=u?this.applyModifiers(z,u):z;return J(A,d)}}let D=this.trySOVEventExtraction(m,r,v);if(D){d.push(ye("SOV event extraction succeeded","info","stage-sov"));let z=u?this.applyModifiers(D,u):D;return J(z,d)}d.push(ye("SOV event extraction: no event keyword found","info","stage-sov"));let F=this.tryCompoundCommandParsing(y,E,r);if(F)return d.push(ye("compound command parsing succeeded","info","stage-compound")),J(F,d);if(d.push(ye("compound parsing: no then-keywords or no command matches","info","stage-compound")),r==="en"){let z=se(m,r),A=this.tryParsePseudoCommand(z,E,r);if(A&&z.isAtEnd())return d.push(ye("pseudo-command parsed as call","info","stage-pseudo")),J(A,d)}throw d.push(ye(`all parse stages exhausted for "${m}"`,"error","parse-failed")),new Uv(`Could not parse input in ${r}: ${m}`,r,m,d)}tryParsePseudoCommand(t,r,i){if(i!=="en")return null;let n=NC(t.tokens,t.position(),T(i),o=>!!ge((o.normalized??o.value).toLowerCase()));if(!n)return null;let a=se(n.text,i),u=qe.matchBest(a,r.filter(o=>o.command==="call"));if(!u||!a.isAtEnd())return null;for(let o=0;o<n.consumed;o++)t.advance();return this.buildCommand(u,i)}parseStatements(t,r){let i=se(t,r),n=We(r).filter(a=>a.command!=="on").sort((a,u)=>u.priority-a.priority);this.coverageFrames.push([]);try{let a=this.parseBodyWithClauses(i,n,r),u=this.coverageFrames[this.coverageFrames.length-1];if(u.length>0&&a.length>0){let o=a[a.length-1];a[a.length-1]=J(o,[...o.diagnostics??[],...u])}return a}finally{this.coverageFrames.pop()}}canParse(t,r){try{return this.parse(t,r),!0}catch{return!1}}supportedLanguages(){return Ls()}buildCommand(t,r){if(!t)throw new Error("No match to build command from");let i={};for(let[a,u]of t.captured)i[a]=u;let n=je(t.pattern.command,i,{sourceLanguage:r,patternId:t.pattern.id,confidence:t.confidence});return this.registerBoundIdentifiers(n),n}buildEventHandler(t,r,i){if(!t)throw new Error("No match to build event handler from");let n=t.captured.get("event");if(!n)throw new Error("Event handler pattern matched but no event captured");{let k=n.type==="expression"?n.raw:n.type==="literal"?n.value:void 0;if(typeof k=="string"&&/^[^\s()[\]{}:]+$/.test(k)){let C=it[i]?.[k];C?n={type:"literal",value:C,dataType:"string"}:n.type==="expression"&&L.KNOWN_EVENTS.has(k.toLowerCase())&&(n={type:"literal",value:k.toLowerCase(),dataType:"string"})}}let a=qe.extractEventModifiers(r),u=k=>!(k.type==="reference"&&k.value==="me")&&k.implicit!==!0,o=t.captured.get("source"),s=t.pattern.command==="on"&&/^(on|event)-/.test(t.pattern.id),l=!1;o&&(t.pattern.id.endsWith("source")||s)&&u(o)&&(a={...a??{},from:o},l=!0);let c;if(t.eventSource&&!l){let k=t.captured.get("action"),C=k?.type==="literal"?ge(String(k.value)):void 0;T(i)?.roleMarkers?.source?.position==="after"&&C?.roles.some(x=>x.role==="source")&&!t.captured.has("source")?c=t.eventSource:u(t.eventSource)&&(a={...a??{},from:t.eventSource})}let p=t.captured.get("event")?.position,m=r.tokens[r.position()-1],y=p!==void 0&&m!==void 0&&m.position.end>p.end?[]:this.extractOrConjunctionEvents(r,i),f=n;y.length>0&&n.type==="literal"&&(f={type:"literal",value:[String(n.value),...y.map(C=>String("value"in C?C.value:""))].join(" or ")});let v,h=t.captured.get("action");if(h&&h.type==="literal"&&h.value==="if"){let k=r.tokens,C=-1;for(let E=r.position()-1;E>=0;E--){let x=k[E],w=(x.normalized??x.value).toLowerCase();if(this.isIfKeyword(w,i)){C=E;break}}for(;C>0;){let E=k[C-1];if(!this.isIfKeyword((E.normalized??E.value).toLowerCase(),i))break;C--}if(C>=0){let E=We(i).filter(A=>A.command!=="on").sort((A,S)=>S.priority-A.priority),x=k.slice(C);if(t.pattern.id.endsWith("vso-verb-first")&&f.type==="literal"){let A=String(f.value??"").split("[")[0].trim().toLowerCase(),S=x.findIndex((R,W)=>{if(W===0||A==="")return!1;let _=(R.normalized??R.value).toLowerCase(),P=x[W-1];return _===A&&P.kind==="keyword"&&(P.normalized??"").toLowerCase()==="on"});if(S>0){let R=x[S+1],W=R&&R.kind==="selector"&&R.value.startsWith("[")?1:0;x=[...x.slice(0,S-1),...x.slice(S+1+W)]}}let w=new Ce(x,i),D=this.coverageMark(),F=this.parseBodyWithClauses(w,E,i);if(F.some(A=>A.kind==="conditional")||F.length===1&&F[0]?.kind==="compound"&&F[0].statements.some(A=>A.kind==="conditional")){for(;!r.isAtEnd();)r.advance();return qr(f,F,a,{sourceLanguage:i,patternId:t.pattern.id,confidence:t.confidence})}this.coverageRollback(D)}}if(h&&h.type==="literal"&&String(h.value)!=="js"&&ge(String(h.value))!==void 0){let k=h.value,C={};for(let[P,I]of t.captured)if(P!=="event"&&P!=="action"&&P!=="continues"){if(P==="source"&&l)continue;C[P]=I}if(c&&(C.source=c),k==="repeat"){let P=r.peek(),I=M=>(M.normalized??M.value).toLowerCase();if(P&&P.kind==="keyword"&&I(P)==="forever")C.loopType={type:"literal",value:"forever"},delete C.patient,r.advance();else if(P&&P.kind==="keyword"&&I(P)==="event"){r.advance();let M=r.peek();if(M)for(C.event={type:"literal",value:I(M)},C.loopType={type:"literal",value:"until-event"},delete C.patient;!r.isAtEnd();){let K=r.peek();if(!K||K.kind==="conjunction"||K.kind==="keyword"&&(this.isThenKeyword(K.value,i)||this.isEndKeyword(K.value,i)))break;r.advance()}}let ee=C.patient;ee&&ee.type==="reference"&&ee.value==="me"&&delete C.patient}let E=je(k,C,{sourceLanguage:i,patternId:t.pattern.id,confidence:t.confidence});this.registerBoundIdentifiers(E);let x=[];if(!er.has(k)||k==="repeat"||k==="while"){let P=t.pattern.id.includes("verb-first"),I=r.tokens,ee=r.position(),M=N=>{let q=I[N];if(q.kind==="conjunction")return!0;if(q.kind!=="keyword")return!1;let ke=Xe(I,N);return this.isThenAt(q,ke,i)||this.isEndKeyword(q.value,i)&&!xt(ke,i)},K=k==="repeat"||k==="while",Se=N=>M(N)||K&&this.isBlockEndToken(I[N],Xe(I,N),i),Ke=new Set;{let N=T(i)?.keywords?.[k];N?.primary&&Ke.add(N.primary.toLowerCase());for(let q of N?.alternatives??[])Ke.add(q.toLowerCase())}let te=-1;for(let N=ee-1;N>=0;N--){let q=I[N];if(M(N))break;if((q.normalized??q.value).toLowerCase()===k||Ke.has(q.value.toLowerCase())){te=N;break}}if(te>=0){let N=ee,q=0;for(;N<I.length;){let Fe=I[N],tt=ea(I,N);if(K&&this.isIfKeyword((Fe.normalized??Fe.value).toLowerCase(),i)&&!(tt&&this.isElseKeyword(tt.value,i)))q++;else if(q>0)this.isBlockEndToken(Fe,Xe(I,N),i)&&q--;else if(Se(N))break;N++}let ke=I.slice(te,N),et=ke;if(P){let Fe=String(n.value??"").toLowerCase(),tt=ke.findIndex(Oe=>(Oe.normalized??Oe.value).toLowerCase()===Fe);if(tt<0)et=null;else{let Oe=ke[tt-1],Ne=Oe&&Oe.kind==="keyword"&&Oe.normalized?.toLowerCase()==="on"?tt-1:tt;et=[...ke.slice(0,Ne),...ke.slice(tt+1)]}}if(et&&et.length>1){let Fe=We(i).filter(X=>X.command!=="on").sort((X,ze)=>ze.priority-X.priority),tt=this.coverageMark(),Oe=this.parseClause(et,Fe,i),Ne=Oe[0],ir=X=>X!==null&&typeof X=="object"&&typeof X.type=="string"?X.type:typeof X,nr=ge(k),pa=nr?.primaryRole,cl=X=>X==="patient"&&pa&&pa!=="patient"&&!nr?.roles.some(ze=>ze.role==="patient")?pa:X,zh=(X,ze)=>{if(!er.has(k)||!nr)return!1;let Dt=nr.roles.find(ii=>ii.role===cl(X));return Dt?Dt.expectedTypes.length>0&&!Dt.expectedTypes.includes(ir(ze)):!0},ma=(X,ze)=>X==="patient"&&!!nr&&!nr.roles.some(Dt=>Dt.role==="patient")&&ir(ze)==="literal"&&Lr.has(String(ze.value??"").toLowerCase()),da=X=>X!==null&&typeof X=="object"&&X.implicit===!0,Ch=!!Ne&&Ne.kind==="command"&&Object.entries(C).every(([X,ze])=>{if(da(ze)||zh(X,ze)||ma(X,ze))return!0;let Dt=Ne.roles.get(cl(X));if(Dt!==void 0&&ir(Dt)===ir(ze))return!0;if(X==="patient"&&k==="pick"&&ir(ze)==="literal"){let ii=Ne.roles.get("method"),ml=ir(ii),dl=ml==="literal"?String(ii.value):ml==="expression"?String(ii.raw):void 0;return dl!==void 0&&dl===String(ze.value)}return!1}),pl=Ne?.metadata?.patternId??"",wh=!er.has(k)||Gv.test(pl),Ah=Gv.test(pl);if((Oe.length===1||Ah&&Oe.length>1)&&Ne&&Ne.kind==="command"&&(Ne.action===k||k==="while"&&Ne.action==="repeat"&&/-while-head$/.test(Ne.metadata?.patternId??""))&&Ch&&wh&&(Ne.roles.size>Object.entries(C).filter(([X,ze])=>!ma(X,ze)).length||[...Ne.roles.values()].filter(X=>!da(X)).length>Object.entries(C).filter(([X,ze])=>!ma(X,ze)&&!da(ze)).length))for(E=Ne,x=Oe.slice(1);r.position()<N;)r.advance();else this.coverageRollback(tt)}}}if(!er.has(k)){let P=E;if(ge(k)?.roles.some(te=>te.role==="quantity"&&!te.required)&&!P.roles.has("quantity")){let te=r.peek();te&&/^-?\d+(\.\d+)?$/.test(te.value)&&(E=je(k,{...Object.fromEntries(P.roles),quantity:{type:"literal",value:parseFloat(te.value),dataType:"number"}},P.metadata),r.advance())}let ee=E;if(ge(k)?.roles.some(te=>te.role==="duration"&&!te.required)&&!ee.roles.has("duration")){let te=/^\d+(\.\d+)?(ms|s)$/i,N=r.peek(),q=!1;if(N&&N.kind==="particle"){let ke=r.peek(1);ke&&te.test(ke.value)&&(q=!0,N=ke)}N&&te.test(N.value)&&(E=je(k,{...Object.fromEntries(ee.roles),duration:{type:"literal",value:N.value,dataType:"string"}},ee.metadata),q&&r.advance(),r.advance(),this.consumeForPostposition(r,i))}let K=E,Se=ge(k);if(Se?.roles.find(te=>te.role==="responseType"&&!te.required)&&!K.roles.has("responseType")){let te=Fe=>typeof Fe=="string"&&L.RESPONSE_TYPE_WORDS.has(Fe.toLowerCase()),N=(Fe,tt)=>{let Oe=Object.fromEntries(K.roles);tt&&delete Oe.destination,Oe.responseType={type:"expression",raw:Fe},E=je(k,Oe,K.metadata)},q=K.roles.get("destination"),ke=Se?.roles.find(Fe=>Fe.role==="destination"),et=q?.raw??q?.value;if(q&&ke&&!ke.expectedTypes.includes(q.type)&&te(et))N(et,!0);else{let Fe=r.peek();Fe&&te(Fe.value)&&(N(Fe.value,!1),r.advance())}}if(k==="wait"){let te=E;if(!te.roles.has("event")){let N=r.peek();if(N&&vt.has(N.value.toLowerCase())){let q=Object.fromEntries(te.roles),ke=q.duration;ke&&ke.type!=="literal"&&ke.type!=="expression"&&delete q.duration;let et=q.patient;et&&et.type==="reference"&&et.value==="me"&&delete q.patient,q.event={type:"literal",value:N.value,dataType:"string"},E=je(k,q,te.metadata),r.advance(),this.consumeForPostposition(r,i)}}}this.tryAttachTrailingRole(r,E,i),this.tryAttachTrailingStyle(r,E,i),this.tryAttachTrailingExpressionRole(r,E,i),this.tryAttachNewWindow(r,E)}let w=t.captured.get("continues"),D=w?.type==="literal"&&w.value==="then",F=r.peek(),z=!!F&&this.isThenKeyword(F.value,i),S=er.has(k)&&!!F&&!this.isEndKeyword(F.value,i),R=!!F&&!this.isEndKeyword(F.value,i),W=[E,...x],_=!!F&&this.isEndKeyword(F.value,i)&&ta(W)>0&&r.peek(1)!==null;if(_&&(r.advance(),W.push(Zr)),D||z||S||R||_){let P=We(i).filter(M=>M.command!=="on").sort((M,K)=>K.priority-M.priority),I=We(i).filter(M=>M.id.startsWith("grammar-")&&M.id.includes("-continuation")).sort((M,K)=>K.priority-M.priority),ee=this.parseBodyWithGrammarPatterns(r,P,I,i,W);v=this.foldLoopBlocks([...W,...ee])}else v=this.foldLoopBlocks(W),r.isAtEnd()||this.recordDroppedTokens(r.tokens.slice(r.position()),i,"handler body tail")}else{let k=We(i).filter(E=>E.command!=="on").sort((E,x)=>x.priority-E.priority),C=h?t.roleStarts?.get("action"):void 0;if(C!==void 0&&C<r.position()){let E=new Ce(r.tokens.slice(C),i);for(v=this.parseBodyWithClauses(E,k,i);!r.isAtEnd();)r.advance()}else v=this.parseBodyWithClauses(r,k,i)}let g=v.length>1?[Qt(v,"then",{sourceLanguage:i})]:v;return qr(f,g,a,{sourceLanguage:i,patternId:t.pattern.id,confidence:t.confidence})}parseBodyWithClauses(t,r,i){let n=[],a=[],u=0,o=[],s=(c=0)=>{let p=ta(n);u=p+c,o.length=0;for(let m=0;m<p;m++)o.push("loop");for(let m=0;m<c;m++)o.push("while")};for(;!t.isAtEnd();){let c=t.peek();if(!c)break;if(a.length===0){let k=this.consumeJsBlock(t,i)??this.consumeVerbFinalJsBlock(t,i);if(k){n.push(k);continue}let C=this.tryParseConditionalBlock(t,r,i);if(C){n.push(C);continue}let E=this.tryParseUnlessGuard(t,r,i);if(E){n.push(...E);continue}}let p=c.kind==="conjunction"||c.kind==="keyword"&&this.isThenAt(c,Xe(t.tokens,t.position()),i),m=a[a.length-1],d=t.peek(1),y=m?.value.toLowerCase()==="at"&&d?.value.toLowerCase()==="of"||cu(i,c.value,m?.value,d?.value),f=c.kind==="keyword"&&this.isEndKeyword(c.value,i)&&!y&&!xt(Xe(t.tokens,t.position()),i);if((f||!y&&this.isBlockEndToken(c,Xe(t.tokens,t.position()),i))&&o.every(k=>k==="loop")&&this.closeLoopAtEnd(t,a,n,r,i)){a.length=0,s();continue}if(f&&u>0){u--,o.pop(),a.push({...c,metadata:{...c.metadata,closesTrackedBlock:!0}}),t.advance();continue}if(p&&o.includes("if")){a.push(c),t.advance();continue}if(p){if(a.length>0){let k=this.parseClause(a,r,i);n.push(...k),a.length=0,s(k.filter(C=>{let E=C;return E.action==="while"&&(!Array.isArray(E.body)||E.body.length===0)}).length)}t.advance();continue}if(f){t.advance();let k=[];for(;!t.isAtEnd();){let C=t.peek();if(!C||C.kind==="conjunction"||C.kind==="keyword"&&(this.isThenKeyword(C.value,i)||this.isEndKeyword(C.value,i)))break;k.push(C),t.advance()}if(k.length>0){let C=this.coverageMark(),E=a.length>0?this.parseClause(a,r,i):[];E.length===0&&a.length>0?(this.coverageRollback(C),n.push(...this.parseClause([...a,...k],r,i))):(n.push(...E),n.push(...this.parseClause(k,r,i)))}else if(a.length>0){let C=this.parseClause(a,r,i);n.push(...C)}a.length=0;break}let h=(c.normalized??c.value).toLowerCase(),g=$s(c);if(c.kind==="keyword"||g){let k=this.isIfKeyword(h,i),C=ea(a,a.length);(h==="for"||h==="while")&&C&&$s(C)||k&&C&&this.isElseKeyword(C.value,i)||(g&&o[o.length-1]==="while"?o[o.length-1]="loop":(k||this.isUnlessKeyword(h,i)||h==="while"||h==="for"||g)&&(u++,o.push(k?"if":g||h==="for"?"loop":h==="while"?"while":"other")))}a.push(c),t.advance()}if(a.length>0){let c=this.parseClause(a,r,i);n.push(...c)}t.isAtEnd()||this.recordDroppedTokens(t.tokens.slice(t.position()),i,"body stream tail"),this.foldFrontedWhileIntoRepeat(n,i);for(let c=n.length-1;c>=0;c--){let p=n[c];p.kind==="command"&&p.action==="for"&&(!(p.roles instanceof Map)||p.roles.size===0)&&(!Array.isArray(p.body)||p.body.length===0)&&n.splice(c,1)}let l=this.foldLoopBlocks(n);return l.length>1?[Qt(l,"then",{sourceLanguage:i})]:l}closeLoopAtEnd(t,r,i,n,a){let u=ta(i);if(r.length===0)return u===0?!1:(i.push(Zr),t.advance(),!0);let o=this.coverageMark(),s=this.parseClause([...r],n,a);return s.length===0||u+s.filter(qs).length===0?(this.coverageRollback(o),!1):(i.push(...s,Zr),t.advance(),!0)}foldLoopBlocks(t){let r=[],i=[],n=u=>{(i.length>0?i[i.length-1].body:r).push(u)},a=u=>{let o=i.pop();o&&n(this.buildLoopNode(o.head,o.body,u))};for(let u of t)Ws(u)?a(!0):qs(u)?i.push({head:u,body:[]}):n(u);for(;i.length>0;)a(!1);return r}buildLoopNode(t,r,i=!1){if(r.length===0&&!i)return t;let n=t.roles.get("loopType");if(n?.type==="literal"&&typeof n.value=="number"){let p=new Map(t.roles);return p.set("quantity",n),p.set("loopType",{type:"literal",value:"times"}),this.buildLoopNode({...t,roles:p},r,i)}let a=n?.type==="literal"?String(n.value):void 0,u=t.action==="for"||a==="for"?"for":a==="times"||a==="while"||a==="forever"?a:a==="until"||a==="until-event"?"until":t.roles.has("quantity")?"times":"forever",o=u==="for"?t.roles.get("patient"):void 0,s=o?gw(o):void 0,l=new Map(t.roles),c=l.get("quantity");return(u==="while"||u==="until")&&c&&!l.has("condition")&&(l.set("condition",c),l.delete("quantity")),Bf(t.action==="for"?"for":"repeat",u,Object.fromEntries(l),r,{...s?{loopVariable:s}:{},...t.metadata?{metadata:t.metadata}:{}})}tryTopLevelLoop(t,r,i){let n=this.coverageMark(),a;try{let o=new Ce(t.tokens,i);a=this.parseBodyWithClauses(o,r,i)}catch{return this.coverageRollback(n),null}let[u]=a;if(a.length===1&&u.kind==="loop")return u;if(a.length===1&&u.kind==="compound"){let o=u;if(o.statements[0]?.kind==="loop"){let s=o.statements.map(l=>l.metadata?.confidence??.75);return Qt(o.statements,o.chainType,{sourceLanguage:i,confidence:s.reduce((l,c)=>l+c,0)/s.length})}}return this.coverageRollback(n),null}tryTopLevelCommandSequence(t,r,i){let n=this.coverageMark(),a;try{let l=new Ce(t.tokens,i);a=this.parseBodyWithClauses(l,r,i)}catch{return this.coverageRollback(n),null}if(a.length!==1||a[0].kind!=="compound")return this.coverageRollback(n),null;let u=a[0];if(u.statements.length<2)return this.coverageRollback(n),null;let o=u.statements.map(l=>l.metadata?.confidence??.75),s=o.reduce((l,c)=>l+c,0)/o.length;return Qt(u.statements,u.chainType,{sourceLanguage:i,confidence:s})}foldFrontedWhileIntoRepeat(t,r){for(let i=0;i+1<t.length;i++){let n=t[i],a=t[i+1];if(n.kind!=="command"||n.action!=="while"||a.kind!=="command"||a.action!=="repeat")continue;let u=n.roles.get("condition");if(!u||a.roles.has("condition")||Array.isArray(n.body)||Array.isArray(a.body))continue;let o=new Map(a.roles);o.set("condition",u),o.set("loopType",{type:"literal",value:"while",dataType:"string"}),t.splice(i,2,{...a,roles:o,metadata:{...a.metadata,sourceLanguage:r,patternId:`repeat-${r}-fronted-while-fold`,confidence:Math.max(a.metadata?.confidence??0,n.metadata?.confidence??0)}})}}takeRepeatCount(t,r,i){if(T(i)?.wordOrder==="SOV"){let u=L.countBeforeVerb(r,i);if(u<0)return;let o=r[u];return r.length=u,o}let n=t.mark();t.peek()?.kind==="particle"&&t.advance();let a=t.peek();if(a&&L.countsBefore(a,t.peek(1),i))return t.advance(),t.advance(),a;if(!L.isCountToken(a)){t.reset(n);return}return t.advance(),t.peek()?.kind==="identifier"&&t.advance(),a}static isCountToken(t){let r=t?.kind==="literal"?Kn(t):null;return r?.type==="literal"&&typeof r.value=="number"}static countsBefore(t,r,i){return!t||!r||!kn[i]?.includes(r.value)?!1:t.kind==="identifier"||L.isCountToken(t)}static countBeforeVerb(t,r){let i=L.isCountToken,n=t.length;return t[n-1]?.kind==="particle"&&n--,L.countsBefore(t[n-2],t[n-1],r)?n-2:(t[n-1]?.kind==="identifier"&&i(t[n-2])&&n--,i(t[n-1])?n-1:-1)}loopHeadReadsBody(t,r,i){if(T(i)?.wordOrder!=="SOV")return!1;if(L.countBeforeVerb(r,i)>=0)return!0;let n=t.captured.get("loopType");return n?.type==="literal"&&typeof n.value!="number"&&!xw.has(String(n.value))}bareRepeatHead(t,r){let i=t?Kn(t):null;return je("repeat",t&&i?{loopType:he("times"),quantity:bf(i,{start:t.position.start,end:t.position.end})}:{},{sourceLanguage:r,confidence:.6})}parseClause(t,r,i){if(t.length===0)return[];let n=null,a=t,u=t[t.length-1];if(u&&t.length>=2){let h=(u.normalized??u.value).toLowerCase();this.isUnlessKeyword(h,i)&&(n="unless",a=t.slice(0,-1))}let o=null;if(n&&a.length>=3){let h=T(i),g=h?L.buildVerbLookup(h):null;if(g)for(let k=1;k<a.length-1;k++){let C=a[k],E=g.get(C.value.toLowerCase())??(C.normalized?g.get(C.normalized.toLowerCase()):void 0);if(E&&!L.CONDITION_OPERATORS.has(E)){o=a.slice(0,k),a=a.slice(k);break}}}let s=new Ce(a,i),l=[],c=this.coverageMark(),p=0,m=[],d=o,y=()=>{if(m.length===0)return;let h=m.slice();if(m.length=0,n&&l.length===0&&d===null){d=h;return}let g=h[0];if(!(g&&(g.kind==="identifier"||g.kind==="selector"||g.kind==="literal"||g.kind==="reference"))){this.recordDroppedTokens(h,i,"body clause");return}let C=!1;for(let E of this.parseSOVClauseByVerbAnchoring(h,i)){let x=E.action,w=E.roles;x&&ge(x)&&w instanceof Map&&w.size>0&&(l.push(E),C=!0)}C||this.recordDroppedTokens(h,i,"body clause")};for(;!s.isAtEnd();){let h=s.peek(),g=!!h&&h.normalized?.toLowerCase()==="repeat",k=s.mark(),C=qe.matchBest(s,r);if(g&&C&&(C.pattern.command!=="repeat"||this.loopHeadReadsBody(C,m,i))){s.reset(k),s.advance();let E=this.takeRepeatCount(s,m,i);y(),l.push(this.bareRepeatHead(E,i)),p++;continue}if(!C&&h&&this.isIfKeyword((h.normalized??h.value).toLowerCase(),i)){let E=this.tryParseConditionalBlock(s,r,i);if(E){y(),l.push(E),p++;continue}}if(C&&C.pattern.command==="if"){let E=s.mark(),x=m.length;for(s.reset(k);!s.isAtEnd();){let D=s.peek();if(!D||this.isIfKeyword((D.normalized??D.value).toLowerCase(),i))break;m.push(D),s.advance()}let w=this.tryParseConditionalBlock(s,r,i);if(w){y(),l.push(w),p++;continue}m.length=x,s.reset(E)}if(C){y();let E=this.buildCommand(C,i);l.push(E),p++,this.tryAttachTrailingRole(s,E,i),this.tryAttachTrailingStyle(s,E,i),this.tryAttachTrailingExpressionRole(s,E,i),this.tryAttachTrailingDuration(s,E)}else{let E=m.length===0?this.tryParsePseudoCommand(s,r,i):null;if(E){y(),l.push(E),p++;continue}let x=s.peek(),w=x?.kind==="identifier"&&x.value.toLowerCase()==="repeat";if(x&&(x.normalized?.toLowerCase()==="repeat"||w)){let D=s.mark();s.advance();let F=this.takeRepeatCount(s,m,i);if(F||!w){y(),l.push(this.bareRepeatHead(F,i)),p++;continue}s.reset(D)}x&&m.push(x),s.advance()}}y();let f=l;if(p===0){let h=this.parseSOVClauseByVerbAnchoring(a,i);h.length>0&&(this.coverageRollback(c),f=h)}let v=d;return n&&f.length>0&&v&&v.length>0?[je(n,{condition:{type:"expression",raw:this.joinTokenText(v,i)}},{sourceLanguage:i,patternId:`${n}-${i}-trailing-guard`,confidence:.85}),...f]:n&&v&&v.length>0&&f.length===0?[je(n,{condition:{type:"expression",raw:this.joinTokenText(v,i)}},{sourceLanguage:i,patternId:`${n}-${i}-trailing-guard`,confidence:.85})]:f}tryAttachTrailingDuration(t,r){let i=r.roles;if(i.has("duration")||!ge(r.action)?.roles.some(u=>u.role==="duration"&&!u.required))return;let a=t.peek();!a||!/^\d+(?:\.\d+)?(?:ms|s|m|h)$/.test(a.value)||(i.set("duration",he(a.value,"duration")),t.advance())}tryAttachNewWindow(t,r){let i=r.roles;if(r.action!=="go"||i.has("manner"))return;let[n,a,u]=[t.peek(),t.peek(1),t.peek(2)];if(!(n?.value.toLowerCase()!=="in"||a?.value.toLowerCase()!=="new")&&!(!u||(u.normalized??u.value).toLowerCase()!=="window")){i.set("manner",nt("window"));for(let o=0;o<3;o++)t.advance()}}tryAttachTrailingRole(t,r,i){let n=ge(r.action);if(!n)return;let a=T(i);if(!a)return;let u=r.roles,o=(l,c)=>{if(!l)return!1;if(l.kind==="selector")return!0;let p=(l.normalized??l.value).toLowerCase();return Vs.has(p)?!1:p==="body"||p==="it"||p==="you"||p==="result"||p==="document"||p==="window"||this.boundIdentifiers.has(l.value)?!0:c?!1:l.kind==="identifier"||l.kind==="reference"},s=[{role:"source",strict:!1},{role:"destination",strict:!0}];for(let{role:l,strict:c}of s){if(!n.roles.some(v=>v.role===l))continue;let p=a.roleMarkers?.[l];if(!p)continue;let m=u.get(l);if(m&&!(m.type==="reference"&&m.value==="me"))continue;let d=v=>{if(!v||v.kind!=="particle"&&v.kind!=="keyword")return!1;let h=v.value.toLowerCase();return p.primary?.toLowerCase()===h?!0:c?!1:(v.normalized??"").toLowerCase()===l?!0:!!p.alternatives?.some(g=>g.toLowerCase()===h)},y=t.peek(),f=t.peek(1);if(!y||!f)return;if(c&&p.position==="after"){let v=t.peek(2),h=(y.normalized??y.value).toLowerCase();if(Ew.has(h)&&f.kind==="selector"&&d(v)){u.set(l,{type:"expression",raw:`${h} ${f.value}`}),t.advance(),t.advance(),t.advance();return}}if(p.position==="after"){if(o(y,c)&&d(f)){let v=this.tokenToSemanticValue(y);t.advance(),t.advance(),v&&u.set(l,v);return}if(c&&o(y,c)){let v=t.peek(2),h=t.peek(3);if((f.normalized??f.value).toLowerCase()==="in"&&v&&!d(v)&&d(h)){let g=this.tokenToSemanticValue(y);t.advance(),t.advance(),t.advance(),t.advance(),g&&u.set(l,g);return}}}else if(d(y)&&o(f,c)){t.advance();let v=this.tokenToSemanticValue(t.advance());v&&u.set(l,v);return}}}tryAttachTrailingStyle(t,r,i){if(r.action!=="fetch"&&r.action!=="render")return;let n=r.roles;if(!ge(r.action)?.roles.some(h=>h.role==="style"))return;let u=n.get("style");if(u){if(u.type==="expression"&&typeof u.raw=="string"&&/^[A-Za-z_][\w-]*$/.test(u.raw)&&t.peek()?.value===":"){let h=Hi(t,u.raw);h&&n.set("style",{type:"expression",raw:h})}this.tryAttachResponseTypeAfterStyle(t,r,i);return}if(r.action==="fetch"){let h=n.get("patient"),g=n.get("source");if(h&&g&&(h.type==="literal"||h.type==="expression")&&g.type==="expression"&&typeof g.raw=="string"&&/^[A-Za-z_][\w-]*$/.test(g.raw)&&t.peek()?.value===":"){let k=Hi(t,g.raw);k&&(n.set("source",{type:"expression",raw:k}),this.tryAttachResponseTypeAfterStyle(t,r,i));return}}let s=T(i)?.roleMarkers?.style;if(!s)return;if(s.position==="before"){let h=new Set([s.primary,...s.alternatives??[]].map(E=>E.toLowerCase())),g=t.peek();if(!g||!h.has(g.value.toLowerCase()))return;let k=t.mark();t.advance();let C=Hi(t);if(!C){t.reset(k);return}n.set("style",{type:"expression",raw:C}),this.tryAttachResponseTypeAfterStyle(t,r,i);return}if(s.position!=="after")return;let l=new Set([s.primary,...s.alternatives??[]].map(h=>h.toLowerCase())),c=h=>h.kind==="conjunction"||h.kind==="keyword"&&(this.isThenKeyword(h.value,i)||this.isEndKeyword(h.value,i)),p=24,m=-1,d=0;for(let h=0;h<p;h++){let g=t.peek(h);if(!g||c(g))break;if(g.value==="("||g.value==="{"?d++:(g.value===")"||g.value==="}")&&(d=Math.max(0,d-1)),d===0&&(g.kind==="particle"||g.kind==="keyword")&&l.has(g.value.toLowerCase())){m=h;break}}if(m<=0)return;let y=[];for(let h=0;h<m;h++){let g=t.peek(h);g&&y.push(g)}if(y.length===1&&L.RESPONSE_TYPE_WORDS.has(y[0].value.toLowerCase()))return;let f=new Ce(y,i),v=Hi(f);n.set("style",{type:"expression",raw:v&&f.isAtEnd()?v:this.joinTokenText(y,i)});for(let h=0;h<=m;h++)t.advance();this.tryAttachResponseTypeAfterStyle(t,r,i)}tryAttachResponseTypeAfterStyle(t,r,i){let n=r.roles;if(n.has("responseType")||!ge(r.action)?.roles.some(c=>c.role==="responseType"&&!c.required))return;let u=c=>!!c&&L.RESPONSE_TYPE_WORDS.has(c.toLowerCase()),o=t.peek();if(!o)return;let s=c=>{n.set("responseType",{type:"expression",raw:c})};if(L.AS_MARKERS_BEFORE[i]?.some(c=>o.value.toLowerCase()===c)){let c=t.peek(1);c&&u(c.value)&&(t.advance(),t.advance(),s(c.value));return}if(u(o.value)){t.advance(),s(o.value);for(let c of L.AS_MARKERS_AFTER[i]??[])if(c.every((p,m)=>t.peek(m)?.value.toLowerCase()===p)){for(let p=0;p<c.length;p++)t.advance();break}}}tryAttachTrailingExpressionRole(t,r,i){let n=r.action,a=n==="js"?{role:"patient",terminator:"boundary"}:n==="go"||n==="scroll"?{role:"destination",terminator:"destination-marker"}:null;if(!a)return;let u=r.roles,o=u.get(a.role);if(n==="go"&&o&&o.type==="expression"&&String(o.raw).toLowerCase()==="url"){let h=t.peek();if(h&&!Vs.has((h.normalized??h.value).toLowerCase())){let k=this.tokenToSemanticValue(h);if(k.type==="literal"||k.type==="selector"){u.set(a.role,k),u.set("method",{type:"literal",value:"url"}),t.advance();return}}let g=u.get("patient");if(g&&(g.type==="literal"||g.type==="selector")){u.set(a.role,g),u.set("method",{type:"literal",value:"url"}),u.delete("patient");return}}if(n==="go"&&o&&o.type==="expression"){let h=/^url\s+(\S+)$/i.exec(String(o.raw??""));if(h){let g=h[1].replace(/^["']|["']$/g,"");u.set(a.role,{type:"literal",value:g,dataType:"string"}),u.set("method",{type:"literal",value:"url"});return}}if(n==="go"&&!o){let h=u.get("patient");if(h&&h.type==="expression"&&String(h.raw).toLowerCase()==="url"){let g=t.peek();if(g&&!Vs.has((g.normalized??g.value).toLowerCase())){let k=this.tokenToSemanticValue(g);if(k.type==="literal"||k.type==="selector"){u.set(a.role,k),u.set("method",{type:"literal",value:"url"}),u.delete("patient"),t.advance();return}}}}if(o&&!(o.type==="reference"&&o.value==="me"))return;let s=T(i);if(!s)return;let l=null;if(a.terminator==="destination-marker"){let h=s.roleMarkers?.destination;if(!h||h.position!=="after")return;l=h.primary.toLowerCase()}let c=h=>h.kind==="conjunction"||h.kind==="keyword"&&(this.isThenKeyword(h.value,i)||this.isEndKeyword(h.value,i)),p=24,m=[],d=0,y=!1;for(let h=0;h<p;h++){let g=t.peek(h);if(!g||c(g))break;if(g.value==="("||g.value==="{"?d++:(g.value===")"||g.value==="}")&&(d=Math.max(0,d-1)),l!==null&&d===0&&(g.kind==="particle"||g.kind==="keyword")&&g.value.toLowerCase()===l){y=!0;break}m.push(g)}if(m.length===0||l!==null&&!y)return;let f=m.length+(y?1:0);if(n==="go"&&m.length===2&&m[0].value.toLowerCase()==="url"){let h=this.tokenToSemanticValue(m[1]);if(h.type==="literal"||h.type==="selector"){u.set(a.role,h),u.set("method",{type:"literal",value:"url"});let g=u.get("patient");g&&g.type==="reference"&&g.value==="me"&&!ge(n)?.roles.some(k=>k.role==="patient")&&u.delete("patient");for(let k=0;k<f;k++)t.advance();return}}let v=m;if(n==="js"){let h=s.keywords?.js,g=C=>[h?.primary,...h?.alternatives??[]].some(E=>!!E&&E.length>C.value.length&&E.includes(C.value)),k=0;for(;k<v.length&&g(v[k]);)k++;if(v=v.slice(k),v.length===0)return}if(u.set(a.role,{type:"expression",raw:this.joinTokenText(v,i)}),a.role!=="patient"){let h=u.get("patient");h&&h.type==="reference"&&h.value==="me"&&!ge(n)?.roles.some(g=>g.role==="patient")&&u.delete("patient")}for(let h=0;h<f;h++)t.advance()}static buildVerbLookup(t){let r=new Map;for(let[i,n]of Object.entries(t.keywords))if(!["on","if","else","when","where","while","end","then","and"].includes(i)&&(r.set(n.primary.toLowerCase(),i),n.alternatives))for(let a of n.alternatives)r.set(a.toLowerCase(),i);return r}static buildMarkerToRoleLookup(t){let r=new Map;for(let[i,n]of Object.entries(t.roleMarkers)){if(!n)continue;if((i!=="event"||!r.has(n.primary))&&r.set(n.primary,i),n.alternatives)for(let u of n.alternatives)r.has(u)||r.set(u,i)}return r}parseSOVClauseByVerbAnchoring(t,r){let i=T(r);if(!i||i.wordOrder!=="SOV")return[];let n=L.buildVerbLookup(i),a=L.buildMarkerToRoleLookup(i),u=[],o=0;for(;o<t.length;){let s=-1,l="";for(let y=o;y<t.length;y++){let f=t[y];if(a.has(f.value))continue;let v=n.get(f.value.toLowerCase()),h=f.normalized?n.get(f.normalized.toLowerCase()):void 0,g=v||h;if(g){s=y,l=g;break}}if(s===-1)break;let c=t.slice(o,s),p=t.length;for(let y=s+1;y<t.length;y++){let f=t[y];if(f.kind==="conjunction"||this.isThenKeyword(f.value,r)){p=y;break}if(y>s+1&&!a.has(f.value)&&(n.get(f.value.toLowerCase())||(f.normalized?n.get(f.normalized.toLowerCase()):void 0))){p=y;break}}let m=t.slice(s+1,p),d=this.extractRolesFromMarkedTokens(c,m,a,l,r);if(u.push(je(l,d,{sourceLanguage:r,confidence:.7})),o=p,o<t.length){let y=t[o];(y.kind==="conjunction"||this.isThenKeyword(y.value,r))&&o++}}return u}extractRolesFromMarkedTokens(t,r,i,n,a){let u={},o=(l,c)=>{let p=this.isEndKeyword(l.value,a),m=l.kind==="keyword"&&(l.normalized??"").toLowerCase()==="end";return!p&&!m?!1:l.metadata?.closesTrackedBlock===!0||p?!0:!(c&&c.kind==="selector")},s=l=>{let c=[];for(let p=0;p<l.length;p++){let m=l[p];if(o(m,l[p+1]))continue;let d=i.get(m.value);if(d&&m.kind==="particle"&&c.length>0){let y=this.tokensToSemanticValue(c,a);if(y){let f=this.mapRoleForCommand(d,n,u);f&&(u[f]=y)}c=[]}else c.push(m)}if(c.length>0)if(c.length===1&&/^\d+(\.\d+)?(ms|s)$/i.test(c[0].value)&&!u.duration&&ge(n)?.roles.some(m=>m.role==="duration"))u.duration={type:"literal",value:c[0].value,dataType:"string"};else{let m=this.tokensToSemanticValue(c,a);m&&(u.patient?u.destination||(u.destination=m):u.patient=m)}};return s(t),s(r),u}mapRoleForCommand(t,r,i){return r==="set"&&(t==="patient"?t="destination":t==="destination"&&(t="patient")),i[t]?t==="patient"&&!i.destination?"destination":t==="destination"&&!i.patient?"patient":t==="source"&&!i.source?"source":null:t}tokensToSemanticValue(t,r){if(t.length===0)return null;let i=t.filter(o=>o.kind!=="whitespace");if(i.length===0)return null;if(i.length>=2&&(i[0].kind==="selector"||/^[#.@*<]/.test(i[0].value))){let o=i.findIndex((s,l)=>l>0&&(s.normalized??s.value).toLowerCase()==="in");o>0&&(i=i.slice(0,o))}if(i.length===1)return this.tokenToSemanticValue(i[0]);let n=this.joinTokenText(i,r);if(nv(n))return{type:"expression",raw:n};let a=i.map(o=>o.value).join(""),u=i[0];return u.kind==="selector"||u.value.startsWith("#")||u.value.startsWith(".")||u.value.startsWith("@")||u.value.startsWith("*")?ot(a):u.kind==="literal"||u.value.startsWith('"')||u.value.startsWith("'")?he(Dw(a),"string"):u.kind==="reference"?nt(a):he(n)}tokenToSemanticValue(t){return Kn(t)??he(t.value)}parseBodyWithGrammarPatterns(t,r,i,n,a=[]){let u=[],o=()=>ta([...a,...u]),s=[],l=!1,c=()=>{if(!l&&s.length>0){let d=this.parseSOVClauseByVerbAnchoring(s,n);u.push(...d),d.length===0&&this.recordDroppedTokens(s,n,"fused body walk")}else s.length>0&&this.recordDroppedTokens(s,n,"fused body walk");s=[],l=!1},p=0,m=()=>u.filter(d=>{let y=d;return y.action==="while"&&(!Array.isArray(y.body)||y.body.length===0)}).length-p;for(;!t.isAtEnd();){let d=t.peek();if(d&&this.isThenKeyword(d.value,n)){c(),t.advance();continue}if(d&&o()>0&&!this.isEndKeyword(d.value,n)&&this.isBlockEndToken(d,Xe(t.tokens,t.position()),n)&&!cu(n,d.value,t.peek(-1)?.value,t.peek(1)?.value)){c(),u.push(Zr),t.advance();continue}if(d&&this.isEndKeyword(d.value,n)){let f=t.peek(-1),v=t.peek(1);if(!cu(n,d.value,f?.value,v?.value)){if(c(),o()>0){u.push(Zr),t.advance();continue}if(m()>0){p++,t.advance();continue}t.advance();break}}if(d&&!l&&this.isIfKeyword((d.normalized??d.value).toLowerCase(),n)){c();let f=this.tryParseConditionalBlock(t,r,n);if(f){u.push(f),l=!0;continue}}let y=!1;if(i.length>0){let f=qe.matchBest(t,i);if(f){let v=f.pattern.command,h={};for(let[C,E]of f.captured)C!=="event"&&C!=="action"&&C!=="continues"&&(h[C]=E);let g=je(v,h,{sourceLanguage:n,patternId:f.pattern.id});u.push(g),y=!0,l=!0;let k=f.captured.get("continues");if(k&&k.type==="literal"&&k.value==="then")continue}}if(!y){let f=t.mark(),v=qe.matchBest(t,r);if(v){if(v.pattern.command==="if"){let g=t.mark();for(t.reset(f);!t.isAtEnd();){let C=t.peek();if(!C||this.isIfKeyword((C.normalized??C.value).toLowerCase(),n))break;t.advance()}let k=this.tryParseConditionalBlock(t,r,n);if(k){c(),u.push(k),l=!0;continue}t.reset(g)}let h=this.buildCommand(v,n);u.push(h),this.tryAttachTrailingRole(t,h,n),y=!0,l=!0}}y||(d&&s.push(d),t.advance())}c(),t.isAtEnd()||this.recordDroppedTokens(t.tokens.slice(t.position()),n,"fused body walk");for(let d=u.length-1;d>=0;d--){let y=u[d];y.kind==="command"&&y.action==="for"&&(!(y.roles instanceof Map)||y.roles.size===0)&&(!Array.isArray(y.body)||y.body.length===0)&&u.splice(d,1)}return u}tryCompoundCommandParsing(t,r,i){let n=t.tokens,a=n.some(c=>c.kind==="conjunction"||c.kind==="keyword"&&this.isThenKeyword(c.value,i)),u=n.some(c=>this.isElseKeyword(c.value,i));if(!a&&!u)return null;let o=new Ce(n,i),s=this.coverageMark(),l=this.parseBodyWithClauses(o,r,i);return l.length===0?(this.coverageRollback(s),null):l[0]}static isEnEventKeyword(t){if(typeof t!="string")return!1;let r=t.toLowerCase(),i=L.enEventKeywordCache.get(r);if(i!==void 0)return i;let n=!1;try{let a=se(r,"en").tokens;n=a.length===1&&a[0]?.kind==="keyword"}catch{n=!1}return L.enEventKeywordCache.set(r,n),n}matchEventMarkerPhrase(t,r,i){let n=L.SOV_EVENT_MARKER_PHRASES[i];if(!n)return 0;for(let a of n)if(a.every((u,o)=>t[r+o]?.value===u))return a.length;return 0}hasSOVEventMarkerHead(t,r){let i=L.SOV_EVENT_MARKERS[r];if(i===void 0)return!1;let{tokens:n}=se(t,r),a=it[r],u=new Set;if(a)for(let o of Object.keys(a))u.add(o.toLowerCase());for(let o=0;o<n.length;o++){let s=n[o],l=s.value.toLowerCase(),c=s.normalized?.toLowerCase();if(!(!!c&&(L.KNOWN_EVENTS.has(c)||vt.has(c))||L.KNOWN_EVENTS.has(l)||vt.has(l)||u.has(l)))continue;let m=this.matchEventParamPhrase(n,o+1).len,d=n[o+1+m];if(d&&(d.kind==="particle"||d.kind==="keyword")&&i.has(d.value)||this.matchEventMarkerPhrase(n,o+1+m,r)>0)return!0}return!1}tryScrollModifiers(t,r,i){let n=d=>d?.value.toLowerCase()??"",a=-1,u=-1;for(let d=0;d<t.length&&a<0;d++){let y=n(t[d])==="the"?d+1:d;Vv.has(n(t[y]))&&(Vv.has(n(t[y+1]))&&y++,!(n(t[y+1])!=="of"||!t[y+2])&&(a=d,u=y+1))}let o=a<0?t.findIndex(d=>zw.has(n(d))):-1;if(a<0&&o<0)return null;let s=a>=0?a:o,l=a>=0?u:o,c=r.slice(0,t[s].position.start).trimEnd(),p=r.slice(t[l].position.end).trimStart(),m=c?c.length+1:0;try{let d=this.parse(c?`${c} ${p}`:p,i),y=[],f=g=>{if(!g)return;g.kind==="command"&&(g.action==="go"||g.action==="scroll")&&y.push(g);let k=g;for(let C of Xi){let E=k[C];Array.isArray(E)&&E.forEach(x=>f(x))}};f(d??void 0);let v=g=>g.roles.get("destination")?.position?.start??-1,h=g=>y.filter(k=>v(k)>=0&&v(k)<=g).reduce((k,C)=>!k||v(C)>v(k)?C:k,void 0);if(!d)return null;if(a>=0){let g=h(m),k=g?.roles.get("destination"),C=t[u+1];if(!g||!k||!Cw(k,C))return null;let E=t.slice(a,u).map(x=>x.value.toLowerCase());g.scrollPosition=E.join(" ")}else{let g=h(t[o].position.start-1);if(!g)return null;g.scrollBehavior=n(t[o])}return d}catch{return null}}tryDoNotThrow(t,r,i){let n=s=>s?.value.toLowerCase(),a=t.findIndex((s,l)=>n(s)==="do"&&n(t[l+1])==="not"&&n(t[l+2])==="throw");if(a<0)return null;let u=t[a].position.start,o=(r.slice(0,t[a].position.start).trimEnd()+" "+r.slice(t[a+2].position.end).trimStart()).trim();try{let s=this.parse(o,i),l=[],c=d=>{if(!d)return;d.kind==="command"&&d.action==="fetch"&&l.push(d);let y=d;for(let f of Xi){let v=y[f];Array.isArray(v)&&v.forEach(h=>c(h))}};c(s??void 0);let p=d=>d.roles.get("source")?.position?.start??-1,m=l.filter(d=>p(d)>=0&&p(d)<u).reduce((d,y)=>!d||p(y)>p(d)?y:d,void 0);return!s||!m?null:(m.doNotThrow=!0,s)}catch{return null}}tryTellTo(t,r,i){let n=s=>(s.normalized??s.value).toLowerCase()==="tell",a=t.findIndex(n);if(a<0)return null;let u=T(i)?.roleMarkers?.destination,o=new Set([u?.primary,...u?.alternatives??[]].filter(s=>!!s));for(let s=a+1;s<t.length;s++){if(t[s].value.toLowerCase()!=="to")continue;let l=t[s].position.start,c=(r.slice(0,l).trimEnd()+" "+r.slice(t[s].position.end).trimStart()).trim();try{let p=this.parse(c,i);if(!p)continue;let m=[],d=g=>{if(!g)return;g.kind==="command"&&m.push(g);let k=g;for(let C of Xi){let E=k[C];Array.isArray(E)&&E.forEach(x=>d(x))}};d(p);let y=g=>g.roles.get("destination")?.position?.start??-1,f=m.filter(g=>g.action==="tell"&&y(g)>=0&&y(g)<l).reduce((g,k)=>!g||y(k)>y(g)?k:g,void 0);if(!f)continue;let v=f.roles.get("destination")?.position?.end??-1;if(v<0||!t.filter(g=>g.position.start>=v&&g.position.start<l).every(g=>n(g)||o.has(g.value)))continue;return f.tellTo=!0,p}catch{continue}}return null}tryLoopIndex(t,r,i){let n=l=>l?.value.toLowerCase(),a=new Set;for(let l of We(i))if(!(l.command!=="repeat"&&l.command!=="for")){for(let c of l.template.tokens)if(c.type==="literal")for(let p of[c.value,...c.alternatives??[]])a.add(p.toLowerCase())}let u=l=>a.has(l.value.toLowerCase()),o=T(i)?.roleMarkers?.style?.primary?.toLowerCase(),s=l=>n(l)==="with"||!!o&&n(l)===o;for(let l=0;l+1<t.length;l++){let c=s(t[l])&&n(t[l+1])==="index",p=n(t[l])==="index";if(!c&&!p)continue;let m=t[l].position.start,d=(r.slice(0,m).trimEnd()+" "+r.slice(t[l+1].position.end).trimStart()).trim();try{let y=this.parse(d,i);if(!y)continue;let f=[],v=w=>{if(!w)return;w.kind==="loop"&&f.push(w);let D=w;for(let F of Xi){let z=D[F];Array.isArray(z)&&z.forEach(A=>v(A))}};v(y);let h=w=>Math.max(-1,...[...w.roles.values()].map(D=>D.position?.end??-1).filter(D=>D<=m)),g=f.filter(w=>h(w)>=0).reduce((w,D)=>!w||h(D)>h(w)?D:w,void 0);if(!g)continue;let k=t.filter(w=>w.position.start>=h(g)&&w.position.start<m),C=g.roles.get("quantity"),E=C?.type==="literal"&&typeof C.value=="number"?C.position?.end:void 0,x=E===void 0?void 0:t.find(w=>w.position.start>=E);if(!k.every(w=>w===x||u(w)))continue;return g.indexVariable=c?"index":t[l+1].value,c&&(g.indexWith=!0),y}catch{continue}}return null}tryWaitAlternatives(t,r,i){let n=v=>!!v&&(v.normalized??v.value).toLowerCase()==="wait";if(!t.some(v=>n(v)))return null;let a=v=>(v.normalized??v.value).toLowerCase(),u=v=>{if(!v)return;let h=k=>L.KNOWN_EVENTS.has(k)||vt.has(k);if(h(a(v)))return a(v);let g=rs(v.value,i);return h(g)?g:void 0},o=v=>u(v)!==void 0,s=v=>!!v&&/^\d+(?:\.\d+)?(?:ms|s)$/.test(v.value),l=T(i)?.roleMarkers?.source,c=new Set([l?.primary,...l?.alternatives??[]].filter(Boolean).map(v=>v.toLowerCase())),p=v=>!!v&&((v.normalized??"")==="source"||c.has(v.value.toLowerCase())),m=l?.position!=="after",d=T(i)?.wordOrder==="SOV",y=(v,h)=>d?n(t[h])||t[h]?.kind==="particle"&&n(t[h+1]):n(t[v-1])||n(t[v-2]),f=v=>{let h=is(u(t[v]),i).split(/\s+/);return h.length<2||t[v].value!==h[0]?1:h.every((g,k)=>k===0||t[v+k]?.value===g)?h.length:1};for(let v=0;v<t.length;v++){if(!o(t[v]))continue;let h=[],g=v+f(v),k=this.matchEventParamPhrase(t,g);h.push(k.names.length>0?{event:u(t[v]),params:k.names}:{event:u(t[v])});let C=g+k.len;for(;Gn(t[C]??{value:""},i);){let _=t[C+1];if(o(_)){let P=C+1+f(C+1),I=this.matchEventParamPhrase(t,P);h.push(I.names.length>0?{event:u(_),params:I.names}:{event:u(_)}),C=P+I.len}else if(s(_))h.push({duration:_.value}),C+=2;else break}let E=C,x,w;if(m&&p(t[C])&&t[C+1]?(x=[C,C+1],w=t[C+1]):!m&&t[C]&&p(t[C+1])&&(x=[C,C+1],w=t[C]),!(h.length>1||k.names.length>0||!!x))continue;let F=x?x[1]+1:E;if(!y(v,F))continue;let z=[];E>g&&z.push([t[g-1].position.end,t[E-1].position.end]),x&&z.push([t[x[0]].position.start,t[x[1]].position.end]),z.sort((_,P)=>_[0]-P[0]);let A="",S=0;for(let[_,P]of z)A+=r.slice(S,_)+" ",S=P;A=(A+r.slice(S)).replace(/\s+/g," ").trim();let R=h[0],W=0;for(let _=0;_<v;_++)u(t[_])===R.event&&y(_,_+1)&&W++;try{let _=this.parse(A,i),P=[],I=M=>{if(!M)return;let K=M.roles?.get("event"),Se=K?.type==="expression"?K.raw:K&&"value"in K?String(K.value):void 0;M.kind==="command"&&M.action==="wait"&&Se?.toLowerCase()===R.event&&P.push(M);let Ke=M;for(let te of Xi){let N=Ke[te];Array.isArray(N)&&N.forEach(q=>I(q))}};I(_??void 0);let ee=P[W];if(!_||!ee)continue;return ee.waitAlternatives=h,w&&(ee.waitSource=ww(w)),_}catch{}}return null}isBodyCommandWord(t,r){let i=(t.normalized??t.value).toLowerCase();return t.kind==="keyword"&&r.has(i)&&!L.KNOWN_EVENTS.has(i)&&!vt.has(i)}matchEventParamPhrase(t,r){if(t[r]?.value!=="(")return{len:0,names:[]};let i=[];for(let n=r+1;n<t.length;n++){let a=t[n].value;if(a===")")return t[r-1]?.position?.end!==t[r]?.position?.start&&t[n+1]?.kind==="particle"?{len:0,names:[]}:{len:n-r+1,names:i};if(a===",")continue;let u=t[n].kind;if(u!=="identifier"&&u!=="keyword"||!/^[A-Za-z_$][\w$]*$/.test(a))break;let o=(t[n].normalized??a).toLowerCase();if(u==="keyword"&&kw.has(o))break;i.push(a)}return{len:0,names:[]}}isStrippableSourceRef(t,r){if(!t)return!1;let i=t.normalized?.toLowerCase();if(t.kind==="keyword"&&(i==="me"||i==="i"||i==="it"))return!0;let n=t.value.toLowerCase();return r.has(n)||!!i&&r.has(i)}tryTrailingEventExtraction(t,r,i){let n=se(t,r).tokens;if(n.length<3)return null;let a=it[r],u=new Set;if(a)for(let C of Object.keys(a))u.add(C.toLowerCase());let o=n.length-2,s=n[o];if(!(s.kind==="keyword"&&s.normalized?.toLowerCase()==="on"))return null;let c=n[n.length-1],p=c.value.toLowerCase(),m=c.normalized?.toLowerCase();if(!(!!m&&L.KNOWN_EVENTS.has(m)||L.KNOWN_EVENTS.has(p)||u.has(p)))return null;let y=m&&L.KNOWN_EVENTS.has(m)?m:a?.[p]??p,f=n.slice(0,o);if(f.length===0)return null;let v=i.filter(C=>C.command!=="on"),h=new Ce(f,r),g=this.coverageMark(),k=this.parseBodyWithClauses(h,v,r);return k.length===0?(this.coverageRollback(g),null):qr({type:"literal",value:y},k,void 0,{sourceLanguage:r,confidence:.75})}tryMidStreamEventExtraction(t,r,i){let n=se(t,r).tokens;if(n.length<3)return null;let a=it[r],u=new Set;if(a)for(let o of Object.keys(a))u.add(o.toLowerCase());for(let o=0;o<n.length-1;o++){let s=n[o];if(!(s.kind==="keyword"&&s.normalized?.toLowerCase()==="on"))continue;let c=n[o+1],p=c.value.toLowerCase(),m=c.normalized?.toLowerCase();if(!(!!m&&L.KNOWN_EVENTS.has(m)||L.KNOWN_EVENTS.has(p)||u.has(p)))continue;let y=m&&L.KNOWN_EVENTS.has(m)?m:a?.[p]??p,f=n.filter((C,E)=>E!==o&&E!==o+1);if(f.length===0)return null;let v=i.filter(C=>C.command!=="on"),h=new Ce(f,r),g=this.coverageMark(),k=this.parseBodyWithClauses(h,v,r);return k.length===0?(this.coverageRollback(g),null):qr({type:"literal",value:y},k,void 0,{sourceLanguage:r,confidence:.75})}return null}trySOVEventExtraction(t,r,i){let n=L.SOV_EVENT_MARKERS[r];if(!n)return null;let u=se(t,r).tokens,o=it[r],s=new Set;if(o)for(let x of Object.keys(o))s.add(x.toLowerCase());let l=L.SOV_SOURCE_MARKERS[r],c=-1,p="",m="",d=1,y=[];for(let x=0;x<u.length;x++){let w=u[x],D=w.value.toLowerCase(),F=D,z="",A=D.indexOf("[");A>0&&(F=D.slice(0,A),z=w.value.slice(A));let S=w.normalized?.toLowerCase(),R=S&&(L.KNOWN_EVENTS.has(S)||vt.has(S)),W=s.has(D)||s.has(F),_=L.KNOWN_EVENTS.has(F)||vt.has(F);if(R||W||_){let P=u[x-1];if(P&&(P.normalized??P.value).toLowerCase()==="event")continue;let I;R?I=S:W?I=o?.[D]??o?.[F]??F:I=F;let ee=this.matchEventParamPhrase(u,x+1);if(n.size>0){let M=1+ee.len,K=u[x+M];K&&K.kind==="selector"&&K.value.startsWith("[")&&(M+=1);let Se=u[x+M];if(Se&&(Se.kind==="particle"||Se.kind==="keyword")&&n.has(Se.value)){c=x,p=I,m=z||(M===ee.len+2?u[x+M-1].value:""),d=M+1,y=ee.names;break}}else{c=x,p=I,m=z,d=1+ee.len+this.matchEventMarkerPhrase(u,x+1+ee.len,r),y=ee.names;break}}}if(c===-1){let x=new Set(i.filter(w=>w.command!=="on").map(w=>w.command));for(let w=0;w<u.length;w++){let D=u[w];if(D.kind==="identifier")if(n.size>0){let F=1,z=u[w+1];z&&z.kind==="selector"&&z.value.startsWith("[")&&(F=2);let A=u[w+F];if(A&&(A.kind==="particle"||A.kind==="keyword")&&n.has(A.value)){c=w,p=D.value,m=F===2?u[w+1].value:"",d=F+1;break}}else{let F=this.matchEventMarkerPhrase(u,w+1,r);if(F>0){c=w,p=D.value,m="",d=1+F;break}let z=u[w+1];if(z&&z.kind==="keyword"&&z.normalized!=null&&x.has(z.normalized)){c=w,p=D.value,m="",d=1;break}}}}if(c===-1)return null;let f=new Set;for(let x=c;x<c+d;x++)f.add(x);if(l){let x=c+d;if(x<u.length){let w=u[x];if((w.kind==="particle"||w.kind==="keyword")&&l.markers.has(w.value))f.add(x);else if(this.isStrippableSourceRef(w,l.windowTokens)){let D=u[x+1];D&&(D.kind==="particle"||D.kind==="keyword")&&l.markers.has(D.value)&&(f.add(x),f.add(x+1))}}if(c>=2){let w=u[c-1];(w.kind==="particle"||w.kind==="keyword")&&l.markers.has(w.value)&&this.isStrippableSourceRef(u[c-2],l.windowTokens)&&(f.add(c-2),f.add(c-1))}for(let w=0;w<c;w++){let D=u[w],F=D.value.toLowerCase(),z=D.normalized?.toLowerCase();if(l.windowTokens.has(F)||z&&l.windowTokens.has(z)){f.add(w);break}}}let v=u.filter((x,w)=>!f.has(w));if(v.length===0)return null;let h=i.filter(x=>x.command!=="on"),g=new Ce(v,r),k=this.coverageMark(),C=this.parseBodyWithClauses(g,h,r);if(C.length===0)return this.coverageRollback(k),null;let E={sourceLanguage:r,confidence:.75};return m&&(E.keyFilter=m),qr(L.isEnEventKeyword(p)?{type:"literal",value:p}:{type:"expression",raw:p},C,void 0,E,y)}profileKeywordMatches(t,r,i){let n=T(t)?.keywords?.[r];return n?n.primary?.toLowerCase()===i?!0:!!n.alternatives?.some(a=>a.toLowerCase()===i):!1}consumeForPostposition(t,r){let i=t.peek();if(!i)return;let n=(i.normalized??"").toLowerCase(),a=T(r)?.keywords?.for;(n==="for"||i.value===a?.primary||(a?.alternatives??[]).includes(i.value))&&t.advance()}isThenAt(t,r,i){return this.isThenKeyword(t.value,i)?!(this.isEndKeyword(t.value,i)&&xt(r,i)):!1}isThenKeyword(t,r){let i=t.toLowerCase(),a={en:new Set(["then"]),ja:new Set(["\u305D\u308C\u304B\u3089","\u6B21\u306B"]),ar:new Set(["\u062B\u0645","\u0628\u0639\u062F\u0647\u0627","\u062B\u0645\u0651"]),es:new Set(["entonces","luego","despu\xE9s"]),ko:new Set(["\uADF8\uB2E4\uC74C","\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\xE3o","depois","logo"]),fr:new Set(["puis","ensuite","alors"]),de:new Set(["dann","danach","anschlie\xDFend"]),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"])}[r];return a?a.has(i):i==="then"||this.profileKeywordMatches(r,"then",i)}isElseKeyword(t,r){let i=t.toLowerCase();return i==="else"?!0:this.profileKeywordMatches(r,"else",i)}isEndKeyword(t,r){let i=t.toLowerCase(),n=W5(r);return n?i==="end"||n.has(i):i==="end"||this.profileKeywordMatches(r,"end",i)}isJsKeyword(t){let r=(t.normalized??t.value).toLowerCase();return r==="js"||this.profileKeywordMatches("en","js",r)}isPatientMarker(t,r){let i=T(r)?.roleMarkers?.patient;if(!i?.primary)return!1;let n=t.value.toLowerCase();return i.primary.toLowerCase()===n?!0:!!i.alternatives?.some(a=>a.toLowerCase()===n)}isJsBlockTerminator(t,r){return this.isEndKeyword(t,r)||this.profileKeywordMatches(r,"end",t.toLowerCase())}consumeVerbFinalJsBlock(t,r){let i=t.mark(),n=0,a=-1;for(;;){let c=t.peek(n);if(!c||this.isThenKeyword(c.value,r)||this.isJsBlockTerminator(c.value,r))break;if(this.isJsKeyword(c)){let p=t.peek(n+1),m=!!p&&c.position?.end!==void 0&&c.position.end===p.position?.start&&this.profileKeywordMatches(r,"js",`${c.value}${p.value}`.toLowerCase()),d=t.peek(n+(m?2:1));if(n>0&&d&&this.isJsBlockTerminator(d.value,r)){a=n;break}}n++}if(a<=0)return null;let u=[];for(let c=0;c<a;c++){let p=t.peek(c);p&&u.push(p)}let o=u[u.length-1];if(o&&this.isPatientMarker(o,r)&&u.pop(),u.length===0)return t.reset(i),null;let s=this.rawJsBody(u);for(let c=0;c<a;c++)t.advance();t.advance();let l=t.peek();return l&&!this.isJsBlockTerminator(l.value,r)&&t.advance(),t.advance(),je("js",{patient:{type:"expression",raw:s||"()"}},{sourceLanguage:r,patternId:`js-opaque-final-${r}`,confidence:1})}consumeJsBlock(t,r){let i=t.peek();if(!i||!this.isJsKeyword(i))return null;let n=t.mark(),a=[];t.advance();let u=t.peek();u&&i.position?.end!==void 0&&i.position.end===u.position?.start&&this.profileKeywordMatches(r,"js",`${i.value}${u.value}`.toLowerCase())&&t.advance();let o=t.peek();o&&this.isPatientMarker(o,r)&&t.advance();let s=!1;for(;!t.isAtEnd();){let c=t.peek();if(!c)break;if(t.advance(),this.isJsBlockTerminator(c.value,r)){s=!0;break}a.push(c)}if(!s)return t.reset(n),null;let l=this.rawJsBody(a);return je("js",{patient:{type:"expression",raw:l||"()"}},{sourceLanguage:r,patternId:`js-opaque-${r}`,confidence:1})}rawJsBody(t){if(t.length===0)return"";let r=t[0].position?.start,i=t[t.length-1].position?.end,n=this.positionSource;if(n!==void 0&&r!==void 0&&i!==void 0){let u=n.slice(r,i),o=s=>s.replace(/\s+/g,"");if(o(u)===o(t.map(s=>s.value).join("")))return u.trim()}let a="";for(let u=0;u<t.length;u++){let o=t[u-1],s=o?.position?.end!==void 0&&t[u].position?.start===o.position.end;u>0&&!s&&(a+=" "),a+=t[u].value}return a.trim()}isIfKeyword(t,r){let i=t.toLowerCase();return i==="if"?!0:this.profileKeywordMatches(r,"if",i)}isUnlessKeyword(t,r){let i=t.toLowerCase();return i==="unless"?!0:this.profileKeywordMatches(r,"unless",i)}tryParseUnlessGuard(t,r,i){let n=t.peek();if(!n||!this.isUnlessKeyword((n.normalized??n.value).toLowerCase(),i))return null;let a=t.mark(),u=this.tryParseConditionalBlock(t,r,i,!0);if(!u||u.kind!=="conditional")return t.reset(a),null;let o=u;if(o.elseBranch&&o.elseBranch.length>0)return t.reset(a),null;let s=o.roles.get("condition");return s?[je("unless",{condition:s},{sourceLanguage:i,patternId:`unless-${i}-guard`,confidence:1}),...o.thenBranch]:(t.reset(a),null)}isBlockEndToken(t,r,i){let n=r.next;return(this.isEndKeyword(t.value,i)||t.kind==="keyword"&&(t.normalized??"").toLowerCase()==="end"&&!(n&&n.kind==="selector"))&&!xt(r,i)}opensNestedBlock(t,r,i){let n=(t.normalized??t.value).toLowerCase();return this.isIfKeyword(n,i)?!(r&&this.isElseKeyword(r.value,i)):this.isUnlessKeyword(n,i)?!0:n==="repeat"?t.kind==="keyword"||t.kind==="identifier":n!=="for"||t.kind!=="keyword"?!1:!(r&&$s(r))}tryParseConditionalBlock(t,r,i,n=!1){let a=t.peek();if(!a)return null;let u=(a.normalized??a.value).toLowerCase();if(!this.isIfKeyword(u,i)&&!(n&&this.isUnlessKeyword(u,i)))return null;let o=t.mark(),s=this.coverageMark();t.advance();let l=t.tokens,c=t.position(),p=[],m=0;for(;!t.isAtEnd();){let z=t.peek();if(!z)break;if(p.length>0&&this.opensNestedBlock(z,ea(p,p.length),i)){m++,p.push(z),t.advance();continue}if(this.isBlockEndToken(z,Xe(t.tokens,t.position()),i)){if(m===0){t.advance();break}m--,p.push(z),t.advance();continue}p.push(z),t.advance()}if(p.length===0)return t.reset(o),this.coverageRollback(s),null;let d=T(i),y=d?.wordOrder==="SOV"?L.buildVerbLookup(d):null,f=0,v=0,h=[],g=!1;for(;f<p.length;f++){let z=p[f],A=(z.normalized??z.value).toLowerCase();if(f>0&&(this.isIfKeyword(A,i)||this.isUnlessKeyword(A,i))?v++:this.isBlockEndToken(z,Xe(l,c+f),i)&&v--,v===0&&this.isThenAt(z,Xe(l,c+f),i)){g=!0,f++;break}if(v===0&&h.length>0){let S=(z.normalized??z.value).toLowerCase(),R=Sz(p[f-1],z,h.length===1,i),W=y!==null&&y.has(z.value.toLowerCase())&&!rv.has(S),_=/^\.[a-zA-Z_]\w*$/.test(z.value)&&p[f-1].position?.end!==void 0&&z.position?.start!==void 0&&p[f-1].position.end===z.position.start;if(!L.CONDITION_OPERATORS.has(S)&&!_&&(!R||W)&&(this.tokensBeginCommand(p.slice(f),r,i)||this.sovCommandStartsAt(p.slice(f),y)))break}h.push(z)}if(h.length===0)return t.reset(o),this.coverageRollback(s),null;let k=[],C=[],E=!1,x=0;for(;f<p.length;f++){let z=p[f];if(this.opensNestedBlock(z,ea(p,f),i)?x++:this.isBlockEndToken(z,Xe(l,c+f),i)&&x--,x===0&&!E&&this.isElseKeyword(z.value,i)){E=!0;continue}(E?C:k).push(z)}let w={type:"expression",raw:this.joinTokenText(h,i)},D=this.parseBranch(k,r,i),F=C.length>0?this.parseBranch(C,r,i):void 0;return D.length===0&&(!F||F.length===0)?(t.reset(o),this.coverageRollback(s),null):Df(w,D,F,{sourceLanguage:i,patternId:`conditional-${i}-folded`,confidence:1})}joinTokenText(t,r){return ft(t,T(r))}tokensBeginCommand(t,r,i){if(t.length===0)return!1;let n=new Ce(t,i);return qe.matchBest(n,r)!==null}sovCommandStartsAt(t,r){if(!r)return!1;let i=o=>r.has(o.value.toLowerCase())||!!o.normalized&&r.has(o.normalized.toLowerCase()),n=o=>o.kind==="identifier"||o.kind==="selector"||o.kind==="literal"||o.kind==="reference",a=0,u=0;for(;a+1<t.length;){let o=t[a],s=t[a+1];if(!n(o)||s.kind!=="particle")break;u+=1,a+=2;let l=t[a];if(u>=1&&l&&i(l))return!0}return!1}parseBranch(t,r,i){if(t.length===0)return[];let n=new Ce(t,i),a=this.parseBodyWithClauses(n,r,i);return a.length===1&&a[0]?.kind==="compound"?a[0].statements:a}extractStandaloneModifiers(t,r){let n=se(t,r).tokens;if(n.length===0)return{modifiers:null,remainingInput:null};let u=n[0].value.toLowerCase(),o=f=>n[f]?.value.toLowerCase(),s=f=>!!n[f]&&n[f].kind!=="selector";if(u==="on"&&o(1)==="first"&&n.length>2)return{modifiers:{once:!0,onceAsFirst:!0},remainingInput:t.slice(0,n[1].position.start)+t.slice(n[2].position.start)};if(u==="first"&&s(1))return{modifiers:{once:!0,onceAsFirst:!0},remainingInput:t.slice(n[1].position.start)};let l=L.STANDALONE_MODIFIERS[u];if(!l)return{modifiers:null,remainingInput:null};let c={},p=1;if(l==="once")c.once=!0;else{let f=1;if(f<n.length){let v=n[f],h=n[f+1],g=v.kind==="identifier"&&h?.kind==="literal"&&/^\d+(ms|s|m)?$/.test(h.value);(v.kind==="keyword"||v.kind==="particle"||g)&&(f++,p++)}if(f<n.length){let v=n[f];if(v.kind==="literal"){let h=v.value.match(/^(\d+)(ms|s|m)?$/);if(h){let g=parseInt(h[1],10),k=h[2]||"ms";k==="s"?g*=1e3:k==="m"&&(g*=6e4),c[l]=g,p=f+1}}}c[l]||(c[l]=l==="debounce"?300:100)}let m=n.slice(p);if(m.length===0)return{modifiers:null,remainingInput:null};let d=m[0].position.start,y=t.slice(d);return{modifiers:c,remainingInput:y}}stripAsyncModifier(t,r){let i=T(r)?.keywords?.async,n=new Set(["async"]);i?.primary&&n.add(i.primary.toLowerCase()),i?.alternatives?.forEach(l=>n.add(l.toLowerCase()));let a=se(t,r).tokens,u=a.findIndex(l=>n.has(l.value.toLowerCase()));if(u===-1)return{remainingInput:null};let o=a[u],s=(t.slice(0,o.position.start)+t.slice(o.position.end)).replace(/\s{2,}/g," ").trim();return s.length===0?{remainingInput:null}:{remainingInput:s}}stripDoNotThrowModifier(t,r){let i=se(t,r).tokens;for(let n=0;n<i.length-1;n++){if(i[n].value.toLowerCase()!=="do")continue;let a=-1;for(let l=n+1;l<=n+5&&l<i.length;l++){let c=i[l];if(c.normalized?.toLowerCase()==="throw"){a=l;break}let p=c.kind;if(p==="selector"||p==="literal"||p==="reference"||p==="conjunction")break}if(a===-1)continue;let u=i[n].position.start,o=i[a].position.end,s=(t.slice(0,u)+t.slice(o)).replace(/\s{2,}/g," ").trim();return s.length===0?{remainingInput:null}:{remainingInput:s}}return{remainingInput:null}}static droppedTokenCount(t){return(t.diagnostics??[]).filter(r=>r.code==="unconsumed-input").reduce((r,i)=>r+(parseInt(/left (\d+) token/.exec(i.message)?.[1]??"0",10)||0),0)}static unconsumedSpans(t){return(t.diagnostics??[]).filter(r=>r.code==="unconsumed-input").map(r=>/unconsumed: "(.*)"$/.exec(r.message)?.[1]).filter(r=>!!r).map(r=>r.replace(/\s+/g," ").trim())}static withoutSpanDiagnostics(t,r){return{...t,diagnostics:(t.diagnostics??[]).filter(i=>{if(i.code!=="unconsumed-input")return!0;let n=/unconsumed: "(.*)"$/.exec(i.message)?.[1];return!n||n.replace(/\s+/g," ").trim()!==r})}}static sourceNounValue(t){if(t.kind==="selector")return ot(t.value);let r=(t.normalized??t.value).toLowerCase();return mt(r)?{type:"reference",value:r}:{type:"literal",value:t.value,dataType:"string"}}reclaimDanglingFromTail(t,r,i){let n=L.droppedTokenCount,a=L.unconsumedSpans(t);if(a.length===0)return null;let u=n(t),o=T(i)?.roleMarkers?.source,s=new Set;o?.primary&&s.add(o.primary),o?.alternatives?.forEach(c=>s.add(c));let l=se(r,i).tokens;for(let c=0;c<l.length;c++){let p=l[c];if(p.normalized!=="source"&&!s.has(p.value))continue;let m=o?.position==="after"?c-1:c+1,d=l[m];if(!d||d.kind!=="identifier"&&d.kind!=="keyword")continue;let y=Math.min(p.position.start,d.position.start),f=Math.max(p.position.end,d.position.end),v=r.slice(y,f).replace(/\s+/g," ").trim();if(!a.some(g=>g===v||g.includes(v)))continue;let h=(r.slice(0,y).trimEnd()+" "+r.slice(f).trimStart()).trim();if(!(!h||h===r))try{let g=this.parse(h,i);if(!g||g.kind!=="event-handler")continue;let k=ia(g);if(n(k)<u)return{node:{...k,eventModifiers:{...k.eventModifiers,from:L.sourceNounValue(d)}},input:h}}catch{}}return null}reclaimEventCompoundTail(t,r,i){let n=L.unconsumedSpans(t);if(n.length===0)return null;let a=it[i];if(!a)return null;let u=t.roles,o=u.get("event"),s=o?.type==="literal"&&typeof o.value=="string"?o.value:null;if(!s)return null;let l=p=>p.replace(/\s+/g," ").trim(),c=se(r,i).tokens;for(let p of n)for(let m=1;m<c.length;m++)for(let d=m;d<c.length;d++){let y=l(r.slice(c[m].position.start,c[d].position.end));if(y.length>p.length)break;if(y!==p)continue;let f=c[m-1];if((a[f.value]??f.normalized)!==s)break;let h=l(r.slice(f.position.start,c[d].position.end)),g=a[h];if(!g)break;return u.set("event",{type:"literal",value:g,dataType:"string"}),{node:L.withoutSpanDiagnostics(t,p),input:r}}return null}reclaimResponseTypeTail(t,r,i){let n=L.unconsumedSpans(t);if(n.length===0)return null;let a=L.AS_MARKERS_BEFORE[i];if(!a)return null;let u=l=>l.replace(/\s+/g," ").trim(),o=L.droppedTokenCount(t),s=se(r,i).tokens;for(let l=0;l+1<s.length;l++){let c=s[l],p=s[l+1];if(!a.some(y=>c.value.toLowerCase()===y)||!L.RESPONSE_TYPE_WORDS.has(p.value.toLowerCase()))continue;let m=u(r.slice(c.position.start,p.position.end));if(!n.includes(m))continue;let d=(r.slice(0,c.position.start).trimEnd()+" "+r.slice(p.position.end).trimStart()).trim();if(!(!d||d===r))try{let y=this.parse(d,i);if(!y||y.kind!=="event-handler")continue;let f=ia(y);if(L.droppedTokenCount(f)>=o)continue;let v=L.findResponseTypeTarget(f);if(!v)continue;return v.roles.set("responseType",{type:"expression",raw:p.value}),{node:f,input:d}}catch{}}return null}static findResponseTypeTarget(t){let r=null,i=n=>{if(!n||typeof n!="object"||r)return;if(n.kind==="command"){let u=n;if(ge(u.action)?.roles.some(s=>s.role==="responseType"&&!s.required)&&!u.roles.has("responseType")){r=u;return}}let a=n;for(let u of["body","statements","thenBranch","elseBranch","commands"]){let o=a[u];Array.isArray(o)&&o.forEach(s=>i(s))}};return i(t),r}reclaimCapturedDestinationTail(t,r,i){let n=L.unconsumedSpans(t);if(n.length===0)return null;let a=T(i)?.roleMarkers?.destination,u=new Set;if(a?.primary&&u.add(a.primary),a?.alternatives?.forEach(l=>u.add(l)),u.size===0)return null;let o=l=>l.replace(/\s+/g," ").trim(),s=se(r,i).tokens;for(let l=0;l+1<s.length;l++){let c=s[l],p=s[l+1],m=u.has(c.value)&&p.normalized==="me",d=c.normalized==="me"&&u.has(p.value);if(!m&&!d)continue;let y=o(r.slice(c.position.start,p.position.end));if(!n.includes(y))continue;let f=!1,v=h=>{if(!h||typeof h!="object"||f)return;if(h.kind==="command"){let k=h.roles.get("destination");if(k?.type==="reference"&&k.value==="me"){f=!0;return}}let g=h;for(let k of["body","statements","thenBranch","elseBranch","commands"]){let C=g[k];Array.isArray(C)&&C.forEach(E=>v(E))}};if(v(t),!!f)return{node:L.withoutSpanDiagnostics(t,y),input:r}}return null}applyModifiers(t,r){return{...t,eventModifiers:{...t.eventModifiers,...r}}}extractOrConjunctionEvents(t,r){let i=[];for(;;){let n=t.mark(),a=t.peek();if(!a)break;if(!Gn(a,r)){t.reset(n);break}t.advance();let u=t.peek();if(!u){t.reset(n);break}let o=u.normalized||u.value;t.advance(),i.push({type:"literal",value:o})}return i}};Qe.coverageMarkerSurfaces=new Map,Qe.LEAKED_RENDER_MARKERS={hi:["\u0915\u0947","\u0930\u0942\u092A","\u092E\u0947\u0902"],tr:["olarak"],qu:["hina"]},Qe.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"]},Qe.AS_MARKERS_AFTER={ko:[["\uB85C"],["\uC73C\uB85C"]],qu:[["hina"]],tr:[["olarak"]],hi:[["\u0915\u0947","\u0930\u0942\u092A","\u092E\u0947\u0902"]]},Qe.enEventKeywordCache=new Map,Qe.KNOWN_EVENTS=new Set(["click","dblclick","input","change","submit","keydown","keyup","keypress","mouseover","mouseout","mousedown","mouseup","focus","blur","load","scroll","resize","contextmenu"]),Qe.RESPONSE_TYPE_WORDS=new Set(["json","text","html","xml","blob","arraybuffer","formdata","response"]),Qe.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"])},Qe.SOV_EVENT_MARKER_PHRASES={ko:[["\uD560","\uB54C"],["\uD560\uB54C"]]},Qe.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"])}},Qe.CONDITION_OPERATORS=new Set(["matches","match","contains","exists","has","have","equals","includes"]),Qe.STANDALONE_MODIFIERS={once:"once",debounced:"debounce",debounce:"debounce",throttled:"throttle",throttle:"throttle"};var na=Qe,aa=new na;function Xr(e,t){return aa.parse(e,t)}function Bw(e,t){return aa.canParse(e,t)}function Sw(e,t){try{return aa.parse(e,t).action}catch{return null}}function Fw(){let e={};for(let[t,r]of Object.entries(na.SOV_EVENT_MARKERS))e[t]=[...r];for(let[t,r]of Object.entries(na.SOV_EVENT_MARKER_PHRASES))e[t]=[...e[t]??[],...r.map(i=>i.join(" "))];return e}Te();function Tw(e,t){if(at(e))return e;let r=Xr(e,t);return Qn(r)}function Xv(e,t){let r=Ms(e);return rr(r,t)}function rl(e,t,r){if(at(e))return Xv(e,r);let i=Xr(e,t);return rr(i,r)}function Qi(e,t){return at(e)?Ms(e):Xr(e,t)}function Lw(e,t,r){let i=Qi(e,t),n=r??t,a=at(e)?Qn(i):rr(i,n);if(r!==void 0)return a;let u=e.trim().toLowerCase(),o=a.trim().toLowerCase();return{original:e,semantic:i,rendered:a,matches:u===o}}function Pw(e,t,r=sr()){return Qv(e,t,r).translations}function Qv(e,t,r=sr()){let i={},n={},a=Qi(e,t);for(let u of r)try{i[u]=rr(a,u)}catch(o){n[u]=o instanceof Error?o.message:String(o)}return i.explicit=Qn(a),{translations:i,failed:n}}function _w(e,t,r,i){try{let n=Qi(e,r),a=Qi(t,i);if(n.action!==a.action)return!1;for(let[u,o]of n.roles){let s=a.roles.get(u);if(!s||!Jv(o,s))return!1}return!0}catch{return!1}}function Jv(e,t){if(e.type!==t.type)return!1;switch(e.type){case"literal":return e.value===t.value;case"selector":return e.value===t.value;case"reference":return e.value===t.value;case"property-path":return Jv(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}}var Hs=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 this.config.ttlMs===0?!1:Date.now()-e.createdAt>this.config.ttlMs}evictLRU(){let e=this.cache.keys().next().value;e!==void 0&&(this.cache.delete(e),this.stats.evictions++)}get(e,t){if(!this.config.enabled){this.stats.misses++;return}let r=this.makeKey(e,t),i=this.cache.get(r);if(!i){this.stats.misses++;return}if(this.isExpired(i)){this.cache.delete(r),this.stats.expirations++,this.stats.misses++;return}return this.cache.delete(r),i.lastAccessed=Date.now(),this.cache.set(r,i),this.stats.hits++,i.result}set(e,t,r){if(!this.config.enabled||r!==null&&typeof r=="object"&&"confidence"in r&&r.confidence===0)return;let i=this.makeKey(e,t),n=Date.now();for(;this.cache.size>=this.config.maxSize;)this.evictLRU();this.cache.set(i,{result:r,createdAt:n,lastAccessed:n})}has(e,t){if(!this.config.enabled)return!1;let r=this.makeKey(e,t),i=this.cache.get(r);return i?this.isExpired(i)?(this.cache.delete(r),this.stats.expirations++,!1):!0:!1}delete(e,t){let 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(){let 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(e.maxSize!==void 0)for(this.config.maxSize=e.maxSize;this.cache.size>this.config.maxSize;)this.evictLRU();e.ttlMs!==void 0&&(this.config.ttlMs=e.ttlMs),e.enabled!==void 0&&(this.config.enabled=e.enabled)}enable(){this.config.enabled=!0}disable(){this.config.enabled=!1}getConfig(){return{...this.config}}},eh=new Hs;function Rw(e){return new Hs(e)}function jw(e,t=eh){return((r,i)=>{let n=t.get(r,i);if(n)return n;let a=e(r,i);return t.set(r,i,a),a})}Zu(),yi(),le("ar",Bn,lr),W4(),fi(),le("bn",Yo,cr),Sd(),vi(),le("de",ho,pr),Wu(),Yt(),cf(),le("en",xn,Tt),ou("en",Jy()),eo(),hi(),le("es",Sn,mr),gd(),gi(),le("fr",yo,dr),D4(),Ei(),le("he",Vo,yr),P4(),ki(),le("hi",Uo,fr),Pd(),zi(),le("id",Eo,vr),n4(),Ci(),le("it",Bo,hr),Vu(),wi(),le("ja",bn,gr),Uu(),Ai(),le("ko",Dn,Er),U4(),xi(),le("ms",Jo,kr),f4(),bi(),le("pl",_o,zr),ud(),Di(),le("pt",co,Cr),Vd(),Bi(),le("qu",Co,wr),E4(),Si(),le("ru",No,Ar),Gd(),Fi(),le("sw",Ao,xr),V4(),Ti(),le("th",Xo,br),ry(),Li(),le("tl",ts,Dr),no(),Pi(),le("tr",Fn,Br),w4(),_i(),le("uk",qo,Sr),p4(),Ri(),le("vi",Fo,Fr),uo(),ji(),le("zh",Tn,Tr);var Ow={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"},times:{primary:"\u0645\u0631\u0627\u062A"}},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:"null"},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"}}};de("ar",Ow);var Nw={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"}}};de("bn",Nw);var Iw={events:{blur:{primary:"defokussieren"},change:{primary:"\xE4ndern"},click:{primary:"klick"},dblclick:{primary:"doppelklick"},focus:{primary:"fokus"},input:{primary:"eingabe"},keydown:{primary:"taste unten"},keypress:{primary:"tastedr\xFCcken"},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\xFCber"},mouseup:{primary:"mouseup"},reset:{primary:"zur\xFCcksetzen"},resize:{primary:"gr\xF6\xDFen\xE4nderung"},scroll:{primary:"scrollen"},submit:{primary:"absenden"},touchcancel:{primary:"ber\xFChrungabbrechen"},touchend:{primary:"ber\xFChrungend"},touchmove:{primary:"ber\xFChrungbewegen"},touchstart:{primary:"ber\xFChrungstart"},unload:{primary:"entladen"}},logical:{and:{primary:"und"},changes:{primary:"\xE4ndert"},contains:{primary:"enth\xE4lt"},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"},times:{primary:"mal"}},values:{body:{primary:"k\xF6rper"},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\xE4chstgelegene"},empty:{primary:"leer"},"ends with":{primary:"endet mit"},exclusive:{primary:"exklusiv"},first:{primary:"erste"},"ignoring case":{primary:"ohne Gro\xDF-/Kleinschreibung"},inclusive:{primary:"inklusiv"},"joined by":{primary:"verbunden mit"},last:{primary:"letzte"},"mapped to":{primary:"zugeordnet zu"},next:{primary:"n\xE4chste"},no:{primary:"kein"},parent:{primary:"elternteil"},prev:{primary:"vorh"},previous:{primary:"vorherige"},random:{primary:"zuf\xE4llig"},some:{primary:"einige"},"sorted by":{primary:"sortiert nach"},"split by":{primary:"geteilt durch"},"starts with":{primary:"beginnt mit"},within:{primary:"innerhalb"}}};de("de",Iw);var Mw={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"}}};de("en",Mw);var Ww={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\xF3n abajo"},mouseenter:{primary:"rat\xF3nentrar"},mouseleave:{primary:"rat\xF3nsalir"},mousemove:{primary:"rat\xF3nmover"},mouseout:{primary:"rat\xF3n fuera"},mouseover:{primary:"rat\xF3n encima"},mouseup:{primary:"rat\xF3n arriba"},reset:{primary:"reiniciar"},resize:{primary:"redimensionar"},scroll:{primary:"desplazar"},submit:{primary:"env\xEDo"},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"},times:{primary:"veces"}},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\xEDo"},"ends with":{primary:"termina con"},exclusive:{primary:"exclusivo"},first:{primary:"primero"},"ignoring case":{primary:"ignorando may\xFAsculas"},inclusive:{primary:"inclusivo"},"joined by":{primary:"unido por"},last:{primary:"\xFAltimo"},"mapped to":{primary:"transformado a"},next:{primary:"siguiente"},no:{primary:"ning\xFAn"},parent:{primary:"padre"},prev:{primary:"ant"},previous:{primary:"anterior"},random:{primary:"aleatorio"},some:{primary:"alg\xFAn"},"sorted by":{primary:"ordenado por"},"split by":{primary:"dividido por"},"starts with":{primary:"empieza con"},within:{primary:"dentro"}}};de("es",Ww);var qw={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\xE9e"},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\xE9initialiser"},resize:{primary:"redimensionner"},scroll:{primary:"d\xE9filer"},submit:{primary:"soumettre"},touchcancel:{primary:"toucherannuler"},touchend:{primary:"toucherfin"},touchmove:{primary:"toucherbouger"},touchstart:{primary:"touchercommencer"},unload:{primary:"d\xE9charger"}},logical:{and:{primary:"et"},changes:{primary:"change"},contains:{primary:"contient"},else:{primary:"sinon"},end:{primary:"fin"},equals:{primary:"\xE9gale"},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\xF9"}},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"},times:{primary:"fois"}},values:{body:{primary:"corps"},detail:{primary:"d\xE9tail"},document:{primary:"document"},element:{primary:"\xE9l\xE9ment"},event:{primary:"\xE9v\xE9nement"},false:{primary:"faux"},it:{primary:"\xE7a"},its:{primary:"son"},me:{primary:"moi"},my:{primary:"mon"},myself:{primary:"moi-m\xEAme"},null:{primary:"nul"},result:{primary:"r\xE9sultat"},target:{primary:"cible"},true:{primary:"vrai"},undefined:{primary:"ind\xE9fini"},value:{primary:"valeur"},window:{primary:"fen\xEAtre"},you:{primary:"tu"},your:{primary:"ton"},yourself:{primary:"toi-m\xEAme"}},attributes:{attribute:{primary:"attribut"},attributes:{primary:"attributs"},class:{primary:"classe"},classes:{primary:"classes"},properties:{primary:"propri\xE9t\xE9s"},property:{primary:"propri\xE9t\xE9"},style:{primary:"style"},styles:{primary:"styles"}},expressions:{at:{primary:"\xE0"},characters:{primary:"caract\xE8res"},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\xE9 en"},next:{primary:"suivant"},no:{primary:"aucun"},parent:{primary:"parent"},prev:{primary:"pr\xE9c"},previous:{primary:"pr\xE9c\xE9dent"},random:{primary:"al\xE9atoire"},some:{primary:"quelques"},"sorted by":{primary:"tri\xE9 par"},"split by":{primary:"divis\xE9 par"},"starts with":{primary:"commence par"},within:{primary:"dans"}}};de("fr",qw);var $w={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"}},temporal:{times:{primary:"\u05E4\u05E2\u05DE\u05D9\u05DD"}},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"}}};de("he",$w);var Vw={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"},times:{primary:"\u092C\u093E\u0930"}},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:"null"},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:"\u0915\u094B\u0908 \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"}}};de("hi",Vw);var Kw={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"},times:{primary:"kali"}},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:"null"},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"}}};de("id",Kw);var Hw={events:{blur:{primary:"sfuocare"},change:{primary:"cambio"},click:{primary:"clic"},dblclick:{primary:"doppioclic"},focus:{primary:"fuoco"},input:{primary:"input"},keydown:{primary:"tastogi\xF9"},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:"\xE8"},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"},times:{primary:"volte"}},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\xE0"},property:{primary:"propriet\xE0"},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"}}};de("it",Hw);var Uw={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"},times:{primary:"\u56DE"}},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"}}};de("ja",Uw);var Gw={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"},times:{primary:"\uBC88"}},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"}}};de("ko",Gw);var Yw={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"}}};de("ms",Yw);var Zw={events:{blur:{primary:"rozmycie"},change:{primary:"zmiana"},click:{primary:"klikni\u0119cie"},dblclick:{primary:"podw\xF3jneklikni\u0119cie"},focus:{primary:"fokus"},input:{primary:"wej\u015Bcie"},keydown:{primary:"klawiszd\xF3\u0142"},keypress:{primary:"klawisznaci\u015Bni\u0119cie"},keyup:{primary:"klawiszg\xF3ra"},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\xF3wna 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"},times:{primary:"razy"}},values:{body:{primary:"body"},detail:{primary:"szczeg\xF3\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\xF3j"},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\xF3j"},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"}}};de("pl",Zw);var Xw={events:{blur:{primary:"desfoque"},change:{primary:"mudan\xE7a"},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\xEDcio"},unload:{primary:"descarregar"}},logical:{and:{primary:"e"},changes:{primary:"muda"},contains:{primary:"cont\xE9m"},else:{primary:"sen\xE3o"},end:{primary:"fim"},equals:{primary:"igual"},exists:{primary:"existe"},has:{primary:"tem"},have:{primary:"tenho"},includes:{primary:"inclui"},is:{primary:"\xE9"},live:{primary:"vivo"},matches:{primary:"corresponde"},not:{primary:"n\xE3o"},or:{primary:"ou"},otherwise:{primary:"caso_contr\xE1rio"},then:{primary:"ent\xE3o"},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"},times:{primary:"vezes"}},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\xEA"},your:{primary:"seu"},yourself:{primary:"voc\xEA 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\xF3ximo"},empty:{primary:"vazio"},"ends with":{primary:"termina com"},exclusive:{primary:"exclusivo"},first:{primary:"primeiro"},"ignoring case":{primary:"ignorando mai\xFAsculas"},inclusive:{primary:"inclusivo"},"joined by":{primary:"unido por"},last:{primary:"\xFAltimo"},"mapped to":{primary:"mapeado para"},next:{primary:"pr\xF3ximo"},no:{primary:"nenhum"},parent:{primary:"pai"},prev:{primary:"ant"},previous:{primary:"anterior"},random:{primary:"aleat\xF3rio"},some:{primary:"algum"},"sorted by":{primary:"ordenado por"},"split by":{primary:"dividido por"},"starts with":{primary:"come\xE7a com"},within:{primary:"dentro"}}};de("pt",Xw);var Qw={events:{blur:{primary:"paqariy"},change:{primary:"kambiay"},click:{primary:"\xF1itiy"},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\xF1itiy"},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:"hinallataq"},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"},times:{primary:"kuti"}},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:"null"},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:"\xF1awpaq"},"ignoring case":{primary:"hatun-huchuy qillqata-saqiy"},"joined by":{primary:"hu\xF1usqa"},last:{primary:"qhipa"},"mapped to":{primary:"kay kaqman"},next:{primary:"qhipantin"},no:{primary:"mana_kanchu"},parent:{primary:"mama_tayta"},prev:{primary:"\xF1awpaq"},previous:{primary:"\xF1awpaqnin"},random:{primary:"imaymanata"},some:{primary:"wakin"},"sorted by":{primary:"niqpi ruwasqa"},"split by":{primary:"rakisqa"},"starts with":{primary:"qallarisqa wan"},within:{primary:"ukupi"}}};de("qu",Qw);var Jw={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"},times:{primary:"\u0440\u0430\u0437"}},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"}}};de("ru",Jw);var e6={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"},times:{primary:"mara"}},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:"null"},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"}}};de("sw",e6);var t6={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:"null"},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"}}};de("th",t6);var r6={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:"naglalaman"},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"}}};de("tl",r6);var i6={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\xFCkle"},mousedown:{primary:"farebas"},mouseenter:{primary:"mouseenter"},mouseleave:{primary:"mouseleave"},mousemove:{primary:"mousemove"},mouseout:{primary:"fared\u0131\u015F\u0131nda"},mouseover:{primary:"farei\xE7inde"},mouseup:{primary:"fareb\u0131rak"},reset:{primary:"s\u0131f\u0131rla"},resize:{primary:"boyutland\u0131rma"},scroll:{primary:"kayd\u0131r"},submit:{primary:"g\xF6nderme"},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\xE7erir"},else:{primary:"yoksa"},end:{primary:"son"},equals:{primary:"e\u015Fittir"},exists:{primary:"var"},has:{primary:"var"},have:{primary:"var"},includes:{primary:"i\xE7erir"},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"},times:{primary:"kez"}},values:{body:{primary:"g\xF6vde"},detail:{primary:"detay"},document:{primary:"belge"},element:{primary:"\xF6\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:"null"},result:{primary:"sonu\xE7"},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:"\xF6zellik"},attributes:{primary:"\xF6zellikler"},class:{primary:"s\u0131n\u0131f"},classes:{primary:"s\u0131n\u0131flar"},properties:{primary:"\xF6zellikler"},property:{primary:"\xF6zellik"},style:{primary:"stil"},styles:{primary:"stiller"}},expressions:{at:{primary:"de"},characters:{primary:"karakterler"},children:{primary:"\xE7ocuklar"},closest:{primary:"enyak\u0131n"},empty:{primary:"bo\u015F"},"ends with":{primary:"ile biter"},exclusive:{primary:"hari\xE7"},first:{primary:"ilk"},"ignoring case":{primary:"b\xFCy\xFCk k\xFC\xE7\xFCk harf duyars\u0131z"},inclusive:{primary:"dahil"},"joined by":{primary:"ile birle\u015Ftirilmi\u015F"},last:{primary:"sonuncu"},"mapped to":{primary:"ye d\xF6n\xFC\u015Ft\xFCr\xFClm\xFC\u015F"},next:{primary:"sonraki"},no:{primary:"yok"},parent:{primary:"ebeveyn"},prev:{primary:"\xF6nc"},previous:{primary:"\xF6nceki"},random:{primary:"rastgele"},some:{primary:"baz\u0131"},"sorted by":{primary:"g\xF6re s\u0131ral\u0131"},"split by":{primary:"ile b\xF6l\xFCnm\xFC\u015F"},"starts with":{primary:"ile ba\u015Flar"},within:{primary:"i\xE7inde"}}};de("tr",i6);var n6={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"},times:{primary:"\u0440\u0430\u0437\u0456\u0432"}},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"}}};de("uk",n6);var a6={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\xEDch th\u01B0\u1EDBc"},scroll:{primary:"cu\u1ED9n"},submit:{primary:"n\u1ED9p"}},logical:{and:{primary:"v\xE0"},changes:{primary:"thay \u0111\u1ED5i"},contains:{primary:"ch\u1EE9a"},else:{primary:"kh\xF4ng th\xEC"},empty:{primary:"tr\u1ED1ng"},end:{primary:"k\u1EBFt th\xFAc"},equals:{primary:"b\u1EB1ng"},exists:{primary:"t\u1ED3n t\u1EA1i"},false:{primary:"sai"},has:{primary:"c\xF3"},have:{primary:"c\xF3"},is:{primary:"l\xE0"},live:{primary:"live"},matches:{primary:"kh\u1EDBp"},not:{primary:"kh\xF4ng"},null:{primary:"r\u1ED7ng"},or:{primary:"ho\u1EB7c"},then:{primary:"r\u1ED3i"},true:{primary:"\u0111\xFAng"},when:{primary:"khi"},where:{primary:"\u1EDF_\u0111\xE2u"}},temporal:{always:{primary:"lu\xF4n lu\xF4n"},forever:{primary:"m\xE3i m\xE3i"},never:{primary:"kh\xF4ng bao gi\u1EDD"},now:{primary:"b\xE2y gi\u1EDD"},once:{primary:"m\u1ED9t l\u1EA7n"},sometimes:{primary:"\u0111\xF4i khi"},times:{primary:"l\u1EA7n"},today:{primary:"h\xF4m nay"},tomorrow:{primary:"ng\xE0y mai"},twice:{primary:"hai l\u1EA7n"},yesterday:{primary:"h\xF4m 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\xF3"},its:{primary:"c\u1EE7a n\xF3"},me:{primary:"t\xF4i"},my:{primary:"c\u1EE7a t\xF4i"},none:{primary:"kh\xF4ng c\xF3"},null:{primary:"r\u1ED7ng"},result:{primary:"k\u1EBFt qu\u1EA3"},some:{primary:"m\u1ED9t s\u1ED1"},target:{primary:"m\u1EE5c ti\xEAu"},true:{primary:"\u0111\xFAng"},undefined:{primary:"kh\xF4ng x\xE1c \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\xF4 hi\u1EC7u"},hidden:{primary:"\u1EA9n"},href:{primary:"li\xEAn 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\xE1 tr\u1ECB"}},expressions:{characters:{primary:"k\xFD t\u1EF1"},children:{primary:"con"},closest:{primary:"g\u1EA7n nh\u1EA5t"},empty:{primary:"l\xE0m-r\u1ED7ng"},"ends with":{primary:"k\u1EBFt th\xFAc b\u1EB1ng"},event:{primary:"s\u1EF1 ki\u1EC7n"},exclusive:{primary:"lo\u1EA1i tr\u1EEB"},first:{primary:"\u0111\u1EA7u ti\xEAn"},"ignoring case":{primary:"kh\xF4ng ph\xE2n bi\u1EC7t hoa th\u01B0\u1EDDng"},inclusive:{primary:"bao g\u1ED3m"},it:{primary:"n\xF3"},its:{primary:"c\u1EE7a n\xF3"},"joined by":{primary:"n\u1ED1i b\u1EDFi"},last:{primary:"cu\u1ED1i c\xF9ng"},"mapped to":{primary:"\xE1nh x\u1EA1 th\xE0nh"},me:{primary:"t\xF4i"},my:{primary:"c\u1EE7a t\xF4i"},next:{primary:"ti\u1EBFp theo"},parent:{primary:"cha"},previous:{primary:"tr\u01B0\u1EDBc \u0111\xF3"},random:{primary:"ng\u1EABu nhi\xEAn"},result:{primary:"k\u1EBFt qu\u1EA3"},"sorted by":{primary:"s\u1EAFp x\u1EBFp theo"},"split by":{primary:"t\xE1ch b\u1EDFi"},"starts with":{primary:"b\u1EAFt \u0111\u1EA7u b\u1EB1ng"},target:{primary:"m\u1EE5c ti\xEAu"}}};de("vi",a6);var u6={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"},times:{primary:"\u6B21"}},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"}}};de("zh",u6),Te();var Us={en:async()=>{let{englishTokenizer:e}=await Promise.resolve().then(()=>(Wu(),sm)),{englishProfile:t}=await Promise.resolve().then(()=>(Yt(),Nc)),{buildEnglishPatterns:r}=await Promise.resolve().then(()=>(cf(),Qy));return{tokenizer:e,profile:t,buildPatterns:r}},es:async()=>{let{spanishTokenizer:e}=await Promise.resolve().then(()=>(eo(),jm)),{spanishProfile:t}=await Promise.resolve().then(()=>(hi(),Ic));return{tokenizer:e,profile:t}},ja:async()=>{let{japaneseTokenizer:e}=await Promise.resolve().then(()=>(Vu(),dm)),{japaneseProfile:t}=await Promise.resolve().then(()=>(wi(),Kc));return{tokenizer:e,profile:t}},ar:async()=>{let{arabicTokenizer:e}=await Promise.resolve().then(()=>(Zu(),xm)),{arabicProfile:t}=await Promise.resolve().then(()=>(yi(),Rc));return{tokenizer:e,profile:t}},ko:async()=>{let{koreanTokenizer:e}=await Promise.resolve().then(()=>(Uu(),gm)),{koreanProfile:t}=await Promise.resolve().then(()=>(Ai(),Hc));return{tokenizer:e,profile:t}},zh:async()=>{let{chineseTokenizer:e}=await Promise.resolve().then(()=>(uo(),Hm)),{chineseProfile:t}=await Promise.resolve().then(()=>(ji(),np));return{tokenizer:e,profile:t}},tr:async()=>{let{turkishTokenizer:e}=await Promise.resolve().then(()=>(no(),qm)),{turkishProfile:t}=await Promise.resolve().then(()=>(Pi(),tp));return{tokenizer:e,profile:t}},pt:async()=>{let{portugueseTokenizer:e}=await Promise.resolve().then(()=>(ud(),id)),{portugueseProfile:t}=await Promise.resolve().then(()=>(Di(),Yc));return{tokenizer:e,profile:t}},fr:async()=>{let{frenchTokenizer:e}=await Promise.resolve().then(()=>(gd(),vd)),{frenchProfile:t}=await Promise.resolve().then(()=>(gi(),Mc));return{tokenizer:e,profile:t}},de:async()=>{let{germanTokenizer:e}=await Promise.resolve().then(()=>(Sd(),Dd)),{germanProfile:t}=await Promise.resolve().then(()=>(vi(),Oc));return{tokenizer:e,profile:t}},id:async()=>{let{indonesianTokenizer:e}=await Promise.resolve().then(()=>(Pd(),Fd)),{indonesianProfile:t}=await Promise.resolve().then(()=>(zi(),$c));return{tokenizer:e,profile:t}},qu:async()=>{let{quechuaTokenizer:e}=await Promise.resolve().then(()=>(Vd(),Md)),{quechuaProfile:t}=await Promise.resolve().then(()=>(Bi(),Zc));return{tokenizer:e,profile:t}},sw:async()=>{let{swahiliTokenizer:e}=await Promise.resolve().then(()=>(Gd(),Kd)),{swahiliProfile:t}=await Promise.resolve().then(()=>(Fi(),Qc));return{tokenizer:e,profile:t}},bn:async()=>{let{bengaliTokenizer:e}=await Promise.resolve().then(()=>(W4(),N4)),{bengaliProfile:t}=await Promise.resolve().then(()=>(fi(),jc));return{tokenizer:e,profile:t}},hi:async()=>{let{hindiTokenizer:e}=await Promise.resolve().then(()=>(P4(),F4)),{hindiProfile:t}=await Promise.resolve().then(()=>(ki(),qc));return{tokenizer:e,profile:t}},it:async()=>{let{italianTokenizer:e}=await Promise.resolve().then(()=>(n4(),t4)),{italianProfile:t}=await Promise.resolve().then(()=>(Ci(),Vc));return{tokenizer:e,profile:t}},ms:async()=>{let{malayTokenizer:e}=await Promise.resolve().then(()=>(U4(),K4)),{malayProfile:t}=await Promise.resolve().then(()=>(xi(),Uc));return{tokenizer:e,profile:t}},pl:async()=>{let{polishTokenizer:e}=await Promise.resolve().then(()=>(f4(),m4)),{polishProfile:t}=await Promise.resolve().then(()=>(bi(),Gc));return{tokenizer:e,profile:t}},ru:async()=>{let{russianTokenizer:e}=await Promise.resolve().then(()=>(E4(),v4)),{russianProfile:t}=await Promise.resolve().then(()=>(Si(),Xc));return{tokenizer:e,profile:t}},th:async()=>{let{thaiTokenizer:e}=await Promise.resolve().then(()=>(V4(),q4)),{thaiProfile:t}=await Promise.resolve().then(()=>(Ti(),Jc));return{tokenizer:e,profile:t}},tl:async()=>{let{tagalogTokenizer:e}=await Promise.resolve().then(()=>(ry(),ey)),{tagalogProfile:t}=await Promise.resolve().then(()=>(Li(),ep));return{tokenizer:e,profile:t}},uk:async()=>{let{ukrainianTokenizer:e}=await Promise.resolve().then(()=>(w4(),k4)),{ukrainianProfile:t}=await Promise.resolve().then(()=>(_i(),rp));return{tokenizer:e,profile:t}},vi:async()=>{let{vietnameseTokenizer:e}=await Promise.resolve().then(()=>(p4(),l4)),{vietnameseProfile:t}=await Promise.resolve().then(()=>(Ri(),ip));return{tokenizer:e,profile:t}},he:async()=>{let{hebrewTokenizer:e}=await Promise.resolve().then(()=>(D4(),A4)),{hebrewProfile:t}=await Promise.resolve().then(()=>(Ei(),Wc));return{tokenizer:e,profile:t}}},Qr=Object.keys(Us);function o6(e,t){le(e,t.tokenizer,t.profile),t.patterns?ou(e,t.patterns):t.buildPatterns&&ou(e,t.buildPatterns())}async function s6(e,t){try{let r=await fetch(t);if(!r.ok)throw new Error(`Failed to fetch ${t}: ${r.status} ${r.statusText}`);let i=await r.text(),n=new Blob([i],{type:"application/javascript"}),a=URL.createObjectURL(n);try{let u=await import(a);if(!u.tokenizer||!u.profile)throw new Error("Invalid language module: missing tokenizer or profile");return u}finally{URL.revokeObjectURL(a)}}catch(r){throw new Error(`Failed to load language '${e}' from ${t}: ${r instanceof Error?r.message:String(r)}`)}}async function th(e,t={}){let{url:r,module:i,skipIfRegistered:n=!0}=t;if(n&&tr(e))return{code:e,loaded:!1};try{let a;if(i)a=i;else if(r)a=await s6(e,r);else{let u=Us[e];if(!u)throw new Error(`Unknown language: ${e}. Supported: ${Qr.join(", ")}`);a=await u()}return o6(e,a),{code:e,loaded:!0}}catch(a){return{code:e,loaded:!1,error:a instanceof Error?a.message:String(a)}}}async function l6(e,t={}){return Promise.all(e.map(r=>th(r,t)))}function c6(e){return e in Us}function p6(){return Qr.filter(tr)}function m6(){return Qr.filter(e=>!tr(e))}ys();function d6(e){return[]}Oi(),Ir();function y6(e){return[]}function f6(){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}}}]}function v6(){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"}}}}]}function h6(){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"}}}}]}function g6(){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"}}}}]}function E6(){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}}}]}function k6(){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"}}}}]}function z6(){return[]}function C6(){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"}}}}]}function w6(){return[{id:"add-vi-full",language:"vi",command:"add",priority:100,template:{format:"th\xEAm {patient} v\xE0o {target}",tokens:[{type:"literal",value:"th\xEAm",alternatives:["b\u1ED5 sung"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"v\xE0o",alternatives:["cho"]},{type:"role",role:"destination"}]}]},extraction:{patient:{position:1},destination:{marker:"v\xE0o",markerAlternatives:["cho"],default:{type:"reference",value:"me"}}}},{id:"add-vi-simple",language:"vi",command:"add",priority:90,template:{format:"th\xEAm {patient}",tokens:[{type:"literal",value:"th\xEAm",alternatives:["b\u1ED5 sung"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},destination:{default:{type:"reference",value:"me"}}}}]}function A6(){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 x6(e){switch(e){case"bn":return f6();case"hi":return v6();case"it":return h6();case"pl":return g6();case"qu":return E6();case"ru":return k6();case"th":return z6();case"uk":return C6();case"vi":return w6();case"zh":return A6();default:return[]}}function b6(){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}}}]}function D6(){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"}}}}]}function B6(){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"}}}}]}function S6(){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"}}}}]}function F6(){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}}}]}function T6(){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"}}}}]}function L6(){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}}}]}function P6(){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"}}}}]}function _6(){return[{id:"remove-vi-full",language:"vi",command:"remove",priority:100,template:{format:"x\xF3a {patient} kh\u1ECFi {target}",tokens:[{type:"literal",value:"x\xF3a",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\xF3a {patient}",tokens:[{type:"literal",value:"x\xF3a",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"}}}}]}function R6(){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}}}]}function j6(e){switch(e){case"bn":return b6();case"hi":return D6();case"it":return B6();case"pl":return S6();case"qu":return F6();case"ru":return T6();case"th":return L6();case"uk":return P6();case"vi":return _6();case"zh":return R6();default:return[]}}xe();var O6=[...yn.roles.find(e=>e.role==="patient")?.expectedTypes??[]];function N6(){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}}}]}function I6(){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:O6},{type:"group",optional:!0,tokens:[{type:"literal",value:"mit"},{type:"role",role:"style",expectedTypes:["expression","selector"]}]}]},extraction:{patient:{position:1},style:{marker:"mit"}}}]}function M6(){return[{id:"show-fr-full",language:"fr",command:"show",priority:100,template:{format:"afficher {patient}",tokens:[{type:"literal",value:"afficher",alternatives:["montrer","pr\xE9senter","show"]},{type:"role",role:"patient",expectedTypes:["selector","reference"]},{type:"group",optional:!0,tokens:[{type:"literal",value:"avec"},{type:"role",role:"style",expectedTypes:["expression","selector"]}]}]},extraction:{patient:{position:1},style:{marker:"avec"}}}]}function W6(){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"}}}}]}function q6(){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}}}]}function $6(){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}}}]}function V6(){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}}}]}function K6(){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"},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u0E14\u0E49\u0E27\u0E22"},{type:"role",role:"style",expectedTypes:["expression","selector"]}]}]},extraction:{patient:{position:1},style:{marker:"\u0E14\u0E49\u0E27\u0E22"}}}]}function H6(){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}}}]}function U6(){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}}}]}function G6(){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}}}]}function Y6(e){switch(e){case"bn":return N6();case"de":return I6();case"fr":return M6();case"hi":return W6();case"it":return q6();case"pl":return $6();case"ru":return V6();case"th":return K6();case"uk":return H6();case"vi":return U6();case"zh":return G6();default:return[]}}xe();var Z6=[...fn.roles.find(e=>e.role==="patient")?.expectedTypes??[]];function X6(){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}}}]}function Q6(){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:Z6},{type:"group",optional:!0,tokens:[{type:"literal",value:"mit"},{type:"role",role:"style",expectedTypes:["expression","selector"]}]}]},extraction:{patient:{position:1},style:{marker:"mit"}}}]}function J6(){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"}}}}]}function e8(){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}}}]}function t8(){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}}}]}function r8(){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}}}]}function i8(){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"},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u0E14\u0E49\u0E27\u0E22"},{type:"role",role:"style",expectedTypes:["expression","selector"]}]}]},extraction:{patient:{position:1},style:{marker:"\u0E14\u0E49\u0E27\u0E22"}}}]}function n8(){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}}}]}function a8(){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}}}]}function u8(){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}}}]}function o8(e){switch(e){case"bn":return X6();case"de":return Q6();case"hi":return J6();case"it":return e8();case"pl":return t8();case"ru":return r8();case"th":return i8();case"uk":return n8();case"vi":return a8();case"zh":return u8();default:return[]}}xe();var $e=[...mi.roles.find(e=>e.role==="patient")?.expectedTypes??[]];function s8(){return[{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}}}]}function l8(){return[{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:$e}]},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:$e}]},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:$e}]},extraction:{destination:{position:0},patient:{position:2}}}]}function c8(){return[{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}}}]}function p8(){return[{id:"set-fr-full",language:"fr",command:"set",priority:100,template:{format:"d\xE9finir {destination} \xE0 {patient}",tokens:[{type:"literal",value:"d\xE9finir",alternatives:["definir","fixer","set"]},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"literal",value:"\xE0",alternatives:["a","sur","comme"]},{type:"role",role:"patient",expectedTypes:$e}]},extraction:{destination:{position:1},patient:{position:3}}},{id:"set-fr-sur-direct",language:"fr",command:"set",priority:98,template:{format:"d\xE9finir sur {destination} {patient}",tokens:[{type:"literal",value:"d\xE9finir",alternatives:["definir","mettre","fixer"]},{type:"literal",value:"sur",alternatives:["\xE0","en"]},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"role",role:"patient",expectedTypes:$e}]},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:$e}]},extraction:{destination:{position:0},patient:{position:2}}}]}function m8(){return[{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}}}]}function d8(){return[{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:$e}]},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:$e}]},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:$e}]},extraction:{destination:{position:0},patient:{position:2}}}]}function y8(){return[{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:$e}]},extraction:{destination:{position:1},patient:{position:3}}}]}function f8(){return[{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}}}]}function v8(){return[{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}}}]}function h8(){return[{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:$e}]},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:$e}]},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:$e}]},extraction:{destination:{position:0},patient:{position:2}}}]}function g8(){return[{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}}}]}function E8(){return[{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:$e}]},extraction:{destination:{position:1},patient:{marker:"kwa",markerAlternatives:["kwenye"]}}}]}function k8(){return[{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"]}}}]}function z8(){return[{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}}}]}function C8(){return[{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:$e}]},extraction:{destination:{marker:"\u05D0\u05EA"},patient:{marker:"\u05E2\u05DC",markerAlternatives:["\u05D1","\u05D0\u05DC","\u05DC","\u05DB"]}}}]}function w8(){return[{id:"set-vi-vao",language:"vi",command:"set",priority:101,template:{format:"g\xE1n {destination} v\xE0o {patient}",tokens:[{type:"literal",value:"g\xE1n",alternatives:["thi\u1EBFt l\u1EADp","\u0111\u1EB7t gi\xE1 tr\u1ECB"]},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"literal",value:"v\xE0o",alternatives:["cho","\u0111\u1EBFn"]},{type:"role",role:"patient",expectedTypes:["literal","expression","reference","selector"]}]},extraction:{destination:{position:1},patient:{marker:"v\xE0o",markerAlternatives:["cho","\u0111\u1EBFn"]}}},{id:"set-vi-full",language:"vi",command:"set",priority:100,template:{format:"g\xE1n {destination} th\xE0nh {patient}",tokens:[{type:"literal",value:"g\xE1n",alternatives:["thi\u1EBFt l\u1EADp","\u0111\u1EB7t gi\xE1 tr\u1ECB"]},{type:"role",role:"patient"},{type:"literal",value:"th\xE0nh",alternatives:["b\u1EB1ng","l\xE0"]},{type:"role",role:"goal"}]},extraction:{patient:{position:1},goal:{marker:"th\xE0nh",markerAlternatives:["b\u1EB1ng","l\xE0"]}}},{id:"set-vi-simple",language:"vi",command:"set",priority:90,template:{format:"\u0111\u1EB7t {destination} l\xE0 {patient}",tokens:[{type:"literal",value:"\u0111\u1EB7t"},{type:"role",role:"patient"},{type:"literal",value:"l\xE0"},{type:"role",role:"goal"}]},extraction:{patient:{position:1},goal:{marker:"l\xE0"}}}]}function A8(){return[{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}}}]}function x8(){return[{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}}}]}function Le(e){return e.map(t=>t.extraction?.scope?t:{...t,template:{...t.template,tokens:[...t.template.tokens,{type:"group",optional:!0,tokens:[{type:"literal",value:"on"},{type:"role",role:"scope",optional:!0,expectedTypes:["selector","reference"]}]}]},extraction:{...t.extraction,scope:{marker:"on"}}})}function b8(e){switch(e){case"bn":return Le(s8());case"de":return Le(l8());case"es":return Le(c8());case"fr":return Le(p8());case"he":return Le(C8());case"hi":return Le(m8());case"id":return Le(d8());case"ms":return Le(y8());case"it":return Le(f8());case"pl":return Le(v8());case"pt":return Le(h8());case"qu":return Le(x8());case"ru":return Le(g8());case"sw":return Le(E8());case"th":return Le(k8());case"uk":return Le(z8());case"vi":return Le(w8());case"zh":return Le(A8());default:return[]}}xe();var rh=[...nu.roles.find(e=>e.role==="source")?.expectedTypes??[]];function D8(){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}}}]}function B8(){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:rh}]},extraction:{source:{position:1}}}]}function S8(){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}}}]}function F8(){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}}}]}function T8(){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}}}]}function L8(){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}}}]}function P8(){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}}}]}function _8(){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}}}]}function R8(){return[{id:"get-vi-full",language:"vi",command:"get",priority:92,template:{format:"l\u1EA5y gi\xE1 tr\u1ECB c\u1EE7a {target}",tokens:[{type:"literal",value:"l\u1EA5y gi\xE1 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\xE1 tr\u1ECB {target}",tokens:[{type:"literal",value:"l\u1EA5y gi\xE1 tr\u1ECB",alternatives:["nh\u1EADn"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}}]}function j8(){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:rh}]},extraction:{source:{marker:"\u628A",markerAlternatives:["\u4ECE","\u7531"]}}}]}function O8(e){switch(e){case"bn":return D8();case"de":return B8();case"zh":return j8();case"hi":return S8();case"it":return F8();case"pl":return T8();case"ru":return L8();case"th":return P8();case"uk":return _8();case"vi":return R8();default:return[]}}var Jr=["selector","reference","expression","property-path"];function N8(){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}}}]}function I8(){let e=["erhoehe","erh\xF6hen","inkrementiere","inkrementieren","increment"];return[{id:"increment-de-with-quantity",language:"de",command:"increment",priority:105,template:{format:"erh\xF6he {patient} um {quantity}",tokens:[{type:"literal",value:"erh\xF6he",alternatives:e},{type:"role",role:"patient",expectedTypes:Jr},{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\xF6he {patient}",tokens:[{type:"literal",value:"erh\xF6he",alternatives:e},{type:"role",role:"patient",expectedTypes:Jr}]},extraction:{patient:{position:1}}}]}function M8(){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}}}]}function W8(){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}}}}]}function q8(){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}}}}]}function $8(){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}}}}]}function V8(){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}}}]}function K8(){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}}}}]}function H8(){return[{id:"increment-vi-full",language:"vi",command:"increment",priority:100,template:{format:"t\u0103ng {target} th\xEAm {amount}",tokens:[{type:"literal",value:"t\u0103ng",alternatives:["t\u0103ng l\xEAn"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"th\xEAm",alternatives:["l\xEAn"]},{type:"role",role:"quantity"}]}]},extraction:{patient:{position:1},quantity:{marker:"th\xEAm",markerAlternatives:["l\xEAn"],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\xEAn"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},quantity:{default:{type:"literal",value:1}}}}]}function U8(){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}}}}]}function G8(){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:Jr}]},extraction:{patient:{position:1}}}]}function Y8(e){switch(e){case"bn":return N8();case"de":return I8();case"hi":return M8();case"it":return W8();case"pl":return q8();case"ru":return $8();case"th":return V8();case"uk":return K8();case"qu":return U8();case"vi":return H8();case"zh":return G8();default:return[]}}function Z8(){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}}}]}function X8(){let e=["verringern","dekrementiere","dekrementieren","reduziere","decrement"];return[{id:"decrement-de-with-quantity",language:"de",command:"decrement",priority:105,template:{format:"verringere {patient} um {quantity}",tokens:[{type:"literal",value:"verringere",alternatives:e},{type:"role",role:"patient",expectedTypes:Jr},{type:"literal",value:"um"},{type:"role",role:"quantity"}]},extraction:{patient:{position:1},quantity:{marker:"um",position:3}}},{id:"decrement-de-full",language:"de",command:"decrement",priority:100,template:{format:"verringere {patient}",tokens:[{type:"literal",value:"verringere",alternatives:e},{type:"role",role:"patient",expectedTypes:Jr}]},extraction:{patient:{position:1}}}]}function Q8(){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}}}]}function J8(){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"}}}}]}function eA(){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}}}}]}function tA(){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}}}}]}function rA(){return[{id:"decrement-th-simple",language:"th",command:"decrement",priority:90,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}}}]}function iA(){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}}}}]}function nA(){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"}}}}]}function aA(){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:Jr}]},extraction:{patient:{position:1}}}]}function uA(e){switch(e){case"bn":return Z8();case"de":return X8();case"hi":return Q8();case"it":return J8();case"pl":return eA();case"ru":return tA();case"th":return rA();case"uk":return iA();case"vi":return nA();case"zh":return aA();default:return[]}}Xy(),Te();function ei(e){let t=T(e)?.roleMarkers?.style;if(!t?.primary)return null;let 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:t.position==="after"?[i,r]:[r,i]},extraction:{marker:t.primary,...t.alternatives?.length?{markerAlternatives:t.alternatives}:{}}}}function oA(){let e=ei("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"]}}}]}function sA(){let e=ei("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"]}}}]}function lA(){let e=ei("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\xE9cup\xE9rer"]},{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}:{}}}]}function cA(){let e=ei("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}:{}}}]}function Je(e,t,r,i,n,a,u,o){let s=ei(t);return{id:e,language:t,command:"fetch",priority:105,template:{format:`${r} ${i} {source} ${n} {responseType}`,tokens:[{type:"literal",value:r,...a?{alternatives:a}:{}},{type:"group",optional:!0,tokens:[{type:"literal",value:i,...u?{alternatives:u}:{}}]},{type:"role",role:"source",expectedTypes:["literal","expression"]},...s?[s.token]:[],{type:"group",optional:!0,tokens:[{type:"literal",value:n,...o?{alternatives:o}:{}},{type:"role",role:"responseType",expectedTypes:["literal","expression"]}]}]},extraction:{source:{marker:i,...u?{markerAlternatives:u}:{}},...s?{style:s.extraction}:{},responseType:{marker:n,...o?{markerAlternatives:o}:{}}}}}function ti(e,t,r,i,n,a,u,o){let s=ei(t),l=[{type:"role",role:"responseType",expectedTypes:["literal","expression"]}];u&&l.push({type:"literal",value:u,...o?{alternatives:o}:{}});let c={type:"group",optional:!0,tokens:l};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,...a?{alternatives:a}:{}}]},...s?[s.token]:[],{type:"literal",value:r,...n?{alternatives:n}:{}},c]},extraction:{source:{marker:i,...a?{markerAlternatives:a}:{}},...s?{style:s.extraction}:{},responseType:u?{marker:u,...o?{markerAlternatives:o}:{}}:{}}}}function pA(e){switch(e){case"zh":return oA();case"ms":return sA();case"fr":return lA();case"pt":return cA();case"es":return[Je("fetch-es","es","buscar","de","como")];case"pl":return[Je("fetch-pl","pl","pobierz","z","jako")];case"id":return[Je("fetch-id","id","muat","dari","sebagai",["ambil"])];case"sw":return[Je("fetch-sw","sw","leta","kutoka","kuwa",void 0,void 0,["kama"])];case"he":return[Je("fetch-he","he","\u05D4\u05D1\u05D0","\u05DE","\u05DB",["\u05D8\u05E2\u05DF"],["\u05D0\u05EA"])];case"de":return[Je("fetch-de","de","abrufen","von","als",["laden"])];case"ru":return[Je("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[Je("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[Je("fetch-it","it","recuperare","da","come")];case"vi":return[Je("fetch-vi","vi","t\u1EA3i","t\u1EEB","nh\u01B0")];case"th":return[Je("fetch-th","th","\u0E14\u0E36\u0E07\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25","\u0E08\u0E32\u0E01","\u0E40\u0E1B\u0E47\u0E19")];case"ar":return[Je("fetch-ar","ar","\u0627\u062D\u0636\u0631","\u0645\u0646","\u0643\u0640",["\u062C\u0644\u0628"])];case"tl":return[Je("fetch-tl","tl","kuhanin_mula","mula_sa","bilang",["kunin_mula"])];case"ja":return[ti("fetch-ja-sov","ja","\u30D5\u30A7\u30C3\u30C1","\u3092")];case"ko":return[ti("fetch-ko-sov","ko","\uD328\uCE58","\uC744",["\uAC00\uC838\uC624\uAE30"],["\uB97C"],"\uB85C",["\uC73C\uB85C"])];case"tr":return[ti("fetch-tr-sov","tr","getir","i",void 0,["\u0131","u","\xFC","yi","y\u0131","yu","y\xFC"],"olarak")];case"hi":return[ti("fetch-hi-sov","hi","\u0932\u093E\u090F\u0902","\u0915\u094B")];case"qu":return[ti("fetch-qu-sov","qu","apamuy","ta",["taripakaramuy"],void 0,"hina")];case"bn":return[ti("fetch-bn-sov","bn","\u0986\u09A8\u09C1\u09A8","\u0995\u09C7")];default:return[]}}Gy();function mA(){return[{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 dA(e){switch(e){case"en":return mA();default:return[]}}function yA(){return[{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 fA(e){switch(e){case"en":return yA();default:return[]}}function vA(){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"}}}}]}function hA(){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"}}}}]}function gA(){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"}}}}]}function EA(){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"}}}}]}function kA(e){switch(e){case"en":return vA();case"zh":return hA();case"he":return gA();case"qu":return EA();default:return[]}}function zA(){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"}}}}]}function CA(){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"}}}}]}function wA(e){switch(e){case"zh":return zA();case"he":return CA();default:return[]}}Te();function ih(e){let t=T(e)?.keywords?.pick,r=t?.primary;if(!r||r.toLowerCase()==="pick")return{type:"literal",value:"pick"};let i=[...t?.alternatives??[],"pick"];return{type:"literal",value:r,alternatives:i}}var AA=new Set(["character","characters","item","items"]),nh=e=>{if(AA.has(e))return{type:"expression",raw:e};let t=Number(e);return he(e!==""&&!Number.isNaN(t)?t:e)};function xA(e,t){let r=[ih(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:nh},patient:{position:2},source:{marker:t.srcMarker,...t.srcAlternatives?.length?{markerAlternatives:t.srcAlternatives}:{}}}}}var bA={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 DA(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}]},ih(e)]},extraction:{source:{position:0},method:{position:2,transform:nh},patient:{position:3}}}}var BA={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"}};function SA(e){let t=bA[e];if(t)return[xA(e,t)];let r=BA[e];return r?[DA(e,r)]:[]}Cy(),Sy();var FA={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"}}}},TA={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"}}}},LA=[FA,TA];Ly();var PA={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"}}},_A={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}}},RA={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}}},jA=[PA,_A,RA],OA={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}}},NA={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}}},IA=[OA,NA],MA=[...cs,...ps,...LA,...Ty,...jA,...IA];function WA(){return MA}Pn(),xe(),Te();var qA=[ds,d6,pu,as,x6,j6,Y6,o8,b8,O8,Y8,uA,Zy,pA,Ry,dA,fA,kA,wA,SA,y6],ah=new Map;function $A(e){let t=ah.get(e);if(t)return t;let r=T(e);if(!r)return[];let i=Ln(r);return ah.set(e,i),i}function Gs(e){let t=qA.flatMap(r=>r(e));return e==="en"&&t.push(...WA()),t.push(...$A(e)),t.map(KA)}var VA=new Set(["on.source"]);function KA(e){let t=ge(e.command);if(!t)return e;let r;for(let i of t.roles){if(i.required||!i.default||VA.has(`${e.command}.${i.role}`))continue;let n=e.extraction?.[i.role];n?.default!==void 0||n?.value!==void 0||(r??(r={...e.extraction}),r[i.role]={...n,default:i.default})}return r?{...e,extraction:r}:e}var HA=["en","ja","ar","es","ko","zh","tr","pt","fr","de","id","qu","sw","it","vi","pl","ru","uk","hi","bn","th","ms","tl","he"];function UA(){return HA}var Ys=new Map,Zs=null;function ua(){if(Zs===null){let e=[];for(let t of UA())e.push(...Gs(t));Zs=e}return Zs}function uh(e){if(Ys.has(e))return Ys.get(e);let t=Gs(e);return Ys.set(e,t),t}function GA(e,t){return uh(e).filter(r=>r.command===t).sort((r,i)=>i.priority-r.priority)}function YA(){let e=new Set(ua().map(t=>t.language));return Array.from(e)}function ZA(){let e=new Set(ua().map(t=>t.command));return Array.from(e)}function XA(e){return ua().find(t=>t.id===e)}function QA(){let e={},t={},r=ua();for(let 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}}ys(),Oi(),Ir(),Ir(),Te();function JA(e){return Gs(e.code)}zE(JA),um(),me(),ce();Te();var il="3.2.0";yi(),fi(),ji(),Yt(),gi(),vi(),Ei(),ki(),zi(),Ci(),wi(),Ai(),xi(),bi(),Di(),Bi(),Si(),hi(),Fi(),Ti(),Li(),Pi(),_i(),Ri();function ex(e,t){let r=t??Object.keys(Mn),i={};for(let n of r){let a=Mn[n]?.keywords[e];a&&(i[n]=a)}return i}function tx(e,t){let r=Mn[e]?.roleMarkers??{};return t?r[t]:r}xe(),Pn(),S0(),xe();var Xs=new Map(Object.entries(Ae));function Qs(e){return Xs.get(e)}function rx(e,t){Xs.set(e,t)}function oh(e){if(e.type==="literal"&&typeof e.value=="string"||e.type==="selector"||e.type==="reference")return e.value}function ix(e){if(!e.startsWith("(")||!e.endsWith(")"))return!1;let t=0;for(let r=0;r<e.length;r++)if(e[r]==="(")t++;else if(e[r]===")"&&--t===0)return r===e.length-1;return!1}function nx(e,t){if(e==null)return!1;if(e.type==="expression"&&ix(e.raw)&&t.some(r=>r==="selector"||r==="reference"))return!0;for(let r of t)switch(r){case"selector":if(e.type==="selector")return!0;let i=oh(e);if(i&&(i.startsWith(".")||i.startsWith("#")||i.startsWith("[")))return!0;break;case"literal":if(e.type==="literal"||e.type==="property-path")return!0;break;case"reference":if(e.type==="reference"||e.type==="property-path")return!0;let n=oh(e);if(n&&["me","you","it","my","its","result","event","target"].includes(n.toLowerCase()))return!0;break;case"expression":if(e.type==="expression"||e.type==="property-path")return!0;break}return!1}function sh(e){let t=[],r=[],i=[],n=0,a=Qs(e.action);if(!a)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};let u=new Map;for(let s of e.arguments)s.role&&u.set(s.role,s);for(let s of a.roles){let l=u.get(s.role);if(s.required&&!l){s.default?r.push({code:"MISSING_REQUIRED_ROLE",message:`Role '${s.role}' not provided, using default.`,role:s.role,severity:"warning"}):(t.push({code:"MISSING_REQUIRED_ROLE",message:`Required role '${s.role}' (${s.description}) is missing.`,role:s.role,expected:s.expectedTypes,severity:"error"}),i.push(`Add ${s.description.toLowerCase()} to the command.`),n-=.2);continue}l&&!nx(l,s.expectedTypes)&&(r.push({code:"INVALID_TYPE",message:`Role '${s.role}' expected ${s.expectedTypes.join(" or ")}, got ${l.type}.`,role:s.role,expected:s.expectedTypes,actual:l,severity:"warning"}),n-=.1)}for(let s of e.arguments)s.role&&(a.roles.some(c=>c.role===s.role)||(r.push({code:"UNKNOWN_ROLE",message:`Role '${s.role}' is not recognized for command '${e.action}'.`,role:s.role,severity:"warning"}),n-=.05));return a.roles.filter(s=>s.required&&!s.default).every(s=>u.has(s.role))&&t.length===0&&(n+=.1),{valid:t.length===0,errors:t,warnings:r,confidenceAdjustment:Math.max(-1,Math.min(1,n)),suggestions:i}}function ax(e){let t=sh(e);return{...e,confidence:Math.max(0,Math.min(1,e.confidence+t.confidenceAdjustment)),validation:t}}function Js(e){switch(e){case"preposition":return"preposition";case"postposition":case"particle":case"case-suffix":return"postposition";default:return"none"}}function lh(e,t,r){let i={form:t.primary,role:e,position:Js(r),required:t.required??!1};return t.alternatives&&(i.alternatives=t.alternatives),i}function ux(e){let t=[];for(let[r,i]of Object.entries(e.roleMarkers))i&&t.push(lh(r,i,e.markingStrategy));return{code:e.code,name:e.nativeName,wordOrder:e.wordOrder,adpositionType:Js(e.markingStrategy),morphology:e.morphology,direction:e.direction,markers:t,canonicalOrder:e.canonicalOrder}}function ox(e){if(!e||typeof e!="object")return!1;let t=e;return typeof t.code=="string"&&typeof t.name=="string"&&typeof t.wordOrder=="string"&&typeof t.markingStrategy=="string"&&typeof t.morphology=="string"&&typeof t.keywords=="object"&&Array.isArray(t.canonicalOrder)}var ch={accessibility:!0,performance:!0,schema:!0,strict:!1},sx=new Set(["scroll","mousemove","touchmove","resize","input","keydown","keyup","keypress"]),ph=new Set(["scroll","mousemove","touchmove","resize"]);function mh(e,t){let r=[];if(e.kind==="event-handler"){let i=e.roles.get("event");if(i&&i.type==="literal"){let n=String(i.value).toLowerCase();(n==="mouseenter"||n==="mouseover"||n==="hover")&&r.push({code:"HOVER_ONLY_INTERACTION",severity:"warning",message:`Hover-only interaction detected (${n}). 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 dh(e,t){let r=[];if(e.kind==="event-handler"){let i=e.roles.get("event");if(i&&i.type==="literal"){let n=String(i.value).toLowerCase();if(sx.has(n)){let a=ph.has(n)?"warning":"info";r.push({code:"HIGH_FREQUENCY_TRIGGER",severity:a,message:`High-frequency event '${n}' may cause performance issues.`,suggestion:ph.has(n)?`Consider using 'on ${n} throttled:100ms' to limit execution frequency.`:"Consider debouncing or throttling this handler.",location:{input:t,role:"event"}})}}}return r}function yh(e,t){let r=[];if(e.kind!=="command")return r;let i=Qs(e.action);if(!i)return r;let n=Array.isArray(i.roles)?i.roles:[],a=new Set;for(let u of n)u&&typeof u=="object"&&"role"in u&&(a.add(u.role),u.required&&!e.roles.has(u.role)&&r.push({code:"MISSING_REQUIRED_ROLE",severity:"error",message:`Command '${e.action}' requires '${u.role}' but it was not provided.`,suggestion:u.description,location:{input:t}}));return e.roles.forEach((u,o)=>{a.has(o)||r.push({code:"INVALID_ROLE_FOR_COMMAND",severity:"warning",message:`Role '${o}' is not typically used with '${e.action}' command.`,location:{input:t,role:o}})}),r}function lx(e){return e.kind==="event-handler"?e.body??[]:[]}function fh(e,t={}){let r=[],i=new Map;for(let n of e)if(n.kind==="event-handler"){let a=n.roles.get("event"),u=n.roles.get("source"),o=`${a?.type==="literal"?a.value:"unknown"}:${u?.type==="selector"?u.value:"self"}`;i.has(o)||i.set(o,[]);let s=lx(n);i.get(o).push({handler:n,commands:s})}return i.forEach((n,a)=>{if(n.length>1){let u=[],o=[];for(let{commands:m}of n)for(let d of m){u.push(d.action);let y=d.roles.get("patient");o.push(y?.type==="selector"?y.value:"unknown")}let s=u.includes("toggle"),l=u.includes("show"),c=u.includes("hide");s&&(l||c)&&o.filter((d,y)=>(u[y]==="toggle"||u[y]==="show"||u[y]==="hide")&&o.some((f,v)=>y!==v&&d===f)).length>0&&r.push({code:"CONFLICTING_ACTIONS",severity:"warning",message:`Conflicting actions on '${a}': ${[...new Set(u)].join(", ")} may interfere with each other.`,suggestion:"Consider using a single toggle or conditional logic."}),u.some(m=>["fetch","wait","send"].includes(m))&&n.length>1&&r.push({code:"POTENTIAL_RACE_CONDITION",severity:"info",message:`Multiple handlers on '${a}' include async operations. Consider sequencing.`,suggestion:'Use "then" to chain operations or add loading states.'})}}),r}function el(e,t="en",r={}){let i={...ch,...r},n=[],a=null;try{a=Xr(e,t)}catch{}if(!a)return{valid:!1,warnings:[{code:"UNREACHABLE_BEHAVIOR",severity:"error",message:"Could not parse input to semantic representation.",location:{input:e}}],node:null};i.accessibility&&n.push(...mh(a,e)),i.performance&&n.push(...dh(a,e)),i.schema&&n.push(...yh(a,e));let u=n.some(l=>l.severity==="error"),o=n.some(l=>l.severity==="warning");return{valid:i.strict?!u&&!o:!u,warnings:n,node:a}}function cx(e,t="en",r={}){let i=[],n=[];for(let l of e){let c=el(l,t,r);i.push(...c.warnings),c.node&&n.push(c.node)}i.push(...fh(n,r));let a=i.some(l=>l.severity==="error"),u={...ch,...r},o=i.some(l=>l.severity==="warning");return{valid:u.strict?!a&&!o:!a,warnings:i,node:n[0]??null}}var oa=!1,tl={};function px(e={}){oa=!0,tl=e}function mx(){oa=!1}function dx(){return oa}function yx(){return{...tl}}function fx(e,t,r){if(!oa)return;if(!r){console.warn(`[hyperfixi] Parse failed: ${e}`);return}let i=el(e,t,tl);for(let n of i.warnings){let a=n.severity==="error"?"\u274C":n.severity==="warning"?"\u26A0\uFE0F":"\u2139\uFE0F",u=n.severity==="error"?"error":n.severity==="warning"?"warn":"info";console[u](`${a} [hyperfixi:${n.code}] ${n.message}`,n.suggestion?`
66
+ `)&&T(r)?.wordOrder==="VSO"){let z=this.tryMidStreamEventExtraction(m,r,v);if(z){d.push(ye("mid-stream event extraction succeeded with no leading command match","info","stage-midstream-nocmd"));let A=u?this.applyModifiers(z,u):z;return J(A,d)}}let D=this.trySOVEventExtraction(m,r,v);if(D){d.push(ye("SOV event extraction succeeded","info","stage-sov"));let z=u?this.applyModifiers(D,u):D;return J(z,d)}d.push(ye("SOV event extraction: no event keyword found","info","stage-sov"));let F=this.tryCompoundCommandParsing(y,E,r);if(F)return d.push(ye("compound command parsing succeeded","info","stage-compound")),J(F,d);if(d.push(ye("compound parsing: no then-keywords or no command matches","info","stage-compound")),r==="en"){let z=se(m,r),A=this.tryParsePseudoCommand(z,E,r);if(A&&z.isAtEnd())return d.push(ye("pseudo-command parsed as call","info","stage-pseudo")),J(A,d)}throw d.push(ye(`all parse stages exhausted for "${m}"`,"error","parse-failed")),new Uv(`Could not parse input in ${r}: ${m}`,r,m,d)}tryParsePseudoCommand(t,r,i){if(i!=="en")return null;let n=NC(t.tokens,t.position(),T(i),o=>!!ge((o.normalized??o.value).toLowerCase()));if(!n)return null;let a=se(n.text,i),u=qe.matchBest(a,r.filter(o=>o.command==="call"));if(!u||!a.isAtEnd())return null;for(let o=0;o<n.consumed;o++)t.advance();return this.buildCommand(u,i)}parseStatements(t,r){let i=se(t,r),n=We(r).filter(a=>a.command!=="on").sort((a,u)=>u.priority-a.priority);this.coverageFrames.push([]);try{let a=this.parseBodyWithClauses(i,n,r),u=this.coverageFrames[this.coverageFrames.length-1];if(u.length>0&&a.length>0){let o=a[a.length-1];a[a.length-1]=J(o,[...o.diagnostics??[],...u])}return a}finally{this.coverageFrames.pop()}}canParse(t,r){try{return this.parse(t,r),!0}catch{return!1}}supportedLanguages(){return Ls()}buildCommand(t,r){if(!t)throw new Error("No match to build command from");let i={};for(let[a,u]of t.captured)i[a]=u;let n=je(t.pattern.command,i,{sourceLanguage:r,patternId:t.pattern.id,confidence:t.confidence});return this.registerBoundIdentifiers(n),n}buildEventHandler(t,r,i){if(!t)throw new Error("No match to build event handler from");let n=t.captured.get("event");if(!n)throw new Error("Event handler pattern matched but no event captured");{let k=n.type==="expression"?n.raw:n.type==="literal"?n.value:void 0;if(typeof k=="string"&&/^[^\s()[\]{}:]+$/.test(k)){let C=it[i]?.[k];C?n={type:"literal",value:C,dataType:"string"}:n.type==="expression"&&L.KNOWN_EVENTS.has(k.toLowerCase())&&(n={type:"literal",value:k.toLowerCase(),dataType:"string"})}}let a=qe.extractEventModifiers(r),u=k=>!(k.type==="reference"&&k.value==="me")&&k.implicit!==!0,o=t.captured.get("source"),s=t.pattern.command==="on"&&/^(on|event)-/.test(t.pattern.id),l=!1;o&&(t.pattern.id.endsWith("source")||s)&&u(o)&&(a={...a??{},from:o},l=!0);let c;if(t.eventSource&&!l){let k=t.captured.get("action"),C=k?.type==="literal"?ge(String(k.value)):void 0;T(i)?.roleMarkers?.source?.position==="after"&&C?.roles.some(x=>x.role==="source")&&!t.captured.has("source")?c=t.eventSource:u(t.eventSource)&&(a={...a??{},from:t.eventSource})}let p=t.captured.get("event")?.position,m=r.tokens[r.position()-1],y=p!==void 0&&m!==void 0&&m.position.end>p.end?[]:this.extractOrConjunctionEvents(r,i),f=n;y.length>0&&n.type==="literal"&&(f={type:"literal",value:[String(n.value),...y.map(C=>String("value"in C?C.value:""))].join(" or ")});let v,h=t.captured.get("action");if(h&&h.type==="literal"&&h.value==="if"){let k=r.tokens,C=-1;for(let E=r.position()-1;E>=0;E--){let x=k[E],w=(x.normalized??x.value).toLowerCase();if(this.isIfKeyword(w,i)){C=E;break}}for(;C>0;){let E=k[C-1];if(!this.isIfKeyword((E.normalized??E.value).toLowerCase(),i))break;C--}if(C>=0){let E=We(i).filter(A=>A.command!=="on").sort((A,S)=>S.priority-A.priority),x=k.slice(C);if(t.pattern.id.endsWith("vso-verb-first")&&f.type==="literal"){let A=String(f.value??"").split("[")[0].trim().toLowerCase(),S=x.findIndex((R,W)=>{if(W===0||A==="")return!1;let _=(R.normalized??R.value).toLowerCase(),P=x[W-1];return _===A&&P.kind==="keyword"&&(P.normalized??"").toLowerCase()==="on"});if(S>0){let R=x[S+1],W=R&&R.kind==="selector"&&R.value.startsWith("[")?1:0;x=[...x.slice(0,S-1),...x.slice(S+1+W)]}}let w=new Ce(x,i),D=this.coverageMark(),F=this.parseBodyWithClauses(w,E,i);if(F.some(A=>A.kind==="conditional")||F.length===1&&F[0]?.kind==="compound"&&F[0].statements.some(A=>A.kind==="conditional")){for(;!r.isAtEnd();)r.advance();return qr(f,F,a,{sourceLanguage:i,patternId:t.pattern.id,confidence:t.confidence})}this.coverageRollback(D)}}if(h&&h.type==="literal"&&String(h.value)!=="js"&&ge(String(h.value))!==void 0){let k=h.value,C={};for(let[P,I]of t.captured)if(P!=="event"&&P!=="action"&&P!=="continues"){if(P==="source"&&l)continue;C[P]=I}if(c&&(C.source=c),k==="repeat"){let P=r.peek(),I=M=>(M.normalized??M.value).toLowerCase();if(P&&P.kind==="keyword"&&I(P)==="forever")C.loopType={type:"literal",value:"forever"},delete C.patient,r.advance();else if(P&&P.kind==="keyword"&&I(P)==="event"){r.advance();let M=r.peek();if(M)for(C.event={type:"literal",value:I(M)},C.loopType={type:"literal",value:"until-event"},delete C.patient;!r.isAtEnd();){let K=r.peek();if(!K||K.kind==="conjunction"||K.kind==="keyword"&&(this.isThenKeyword(K.value,i)||this.isEndKeyword(K.value,i)))break;r.advance()}}let ee=C.patient;ee&&ee.type==="reference"&&ee.value==="me"&&delete C.patient}let E=je(k,C,{sourceLanguage:i,patternId:t.pattern.id,confidence:t.confidence});this.registerBoundIdentifiers(E);let x=[];if(!er.has(k)||k==="repeat"||k==="while"){let P=t.pattern.id.includes("verb-first"),I=r.tokens,ee=r.position(),M=N=>{let q=I[N];if(q.kind==="conjunction")return!0;if(q.kind!=="keyword")return!1;let ke=Xe(I,N);return this.isThenAt(q,ke,i)||this.isEndKeyword(q.value,i)&&!xt(ke,i)},K=k==="repeat"||k==="while",Se=N=>M(N)||K&&this.isBlockEndToken(I[N],Xe(I,N),i),Ke=new Set;{let N=T(i)?.keywords?.[k];N?.primary&&Ke.add(N.primary.toLowerCase());for(let q of N?.alternatives??[])Ke.add(q.toLowerCase())}let te=-1;for(let N=ee-1;N>=0;N--){let q=I[N];if(M(N))break;if((q.normalized??q.value).toLowerCase()===k||Ke.has(q.value.toLowerCase())){te=N;break}}if(te>=0){let N=ee,q=0;for(;N<I.length;){let Fe=I[N],tt=ea(I,N);if(K&&this.isIfKeyword((Fe.normalized??Fe.value).toLowerCase(),i)&&!(tt&&this.isElseKeyword(tt.value,i)))q++;else if(q>0)this.isBlockEndToken(Fe,Xe(I,N),i)&&q--;else if(Se(N))break;N++}let ke=I.slice(te,N),et=ke;if(P){let Fe=String(n.value??"").toLowerCase(),tt=ke.findIndex(Oe=>(Oe.normalized??Oe.value).toLowerCase()===Fe);if(tt<0)et=null;else{let Oe=ke[tt-1],Ne=Oe&&Oe.kind==="keyword"&&Oe.normalized?.toLowerCase()==="on"?tt-1:tt;et=[...ke.slice(0,Ne),...ke.slice(tt+1)]}}if(et&&et.length>1){let Fe=We(i).filter(X=>X.command!=="on").sort((X,ze)=>ze.priority-X.priority),tt=this.coverageMark(),Oe=this.parseClause(et,Fe,i),Ne=Oe[0],ir=X=>X!==null&&typeof X=="object"&&typeof X.type=="string"?X.type:typeof X,nr=ge(k),pa=nr?.primaryRole,cl=X=>X==="patient"&&pa&&pa!=="patient"&&!nr?.roles.some(ze=>ze.role==="patient")?pa:X,zh=(X,ze)=>{if(!er.has(k)||!nr)return!1;let Dt=nr.roles.find(ii=>ii.role===cl(X));return Dt?Dt.expectedTypes.length>0&&!Dt.expectedTypes.includes(ir(ze)):!0},ma=(X,ze)=>X==="patient"&&!!nr&&!nr.roles.some(Dt=>Dt.role==="patient")&&ir(ze)==="literal"&&Lr.has(String(ze.value??"").toLowerCase()),da=X=>X!==null&&typeof X=="object"&&X.implicit===!0,Ch=!!Ne&&Ne.kind==="command"&&Object.entries(C).every(([X,ze])=>{if(da(ze)||zh(X,ze)||ma(X,ze))return!0;let Dt=Ne.roles.get(cl(X));if(Dt!==void 0&&ir(Dt)===ir(ze))return!0;if(X==="patient"&&k==="pick"&&ir(ze)==="literal"){let ii=Ne.roles.get("method"),ml=ir(ii),dl=ml==="literal"?String(ii.value):ml==="expression"?String(ii.raw):void 0;return dl!==void 0&&dl===String(ze.value)}return!1}),pl=Ne?.metadata?.patternId??"",wh=!er.has(k)||Gv.test(pl),Ah=Gv.test(pl);if((Oe.length===1||Ah&&Oe.length>1)&&Ne&&Ne.kind==="command"&&(Ne.action===k||k==="while"&&Ne.action==="repeat"&&/-while-head$/.test(Ne.metadata?.patternId??""))&&Ch&&wh&&(Ne.roles.size>Object.entries(C).filter(([X,ze])=>!ma(X,ze)).length||[...Ne.roles.values()].filter(X=>!da(X)).length>Object.entries(C).filter(([X,ze])=>!ma(X,ze)&&!da(ze)).length))for(E=Ne,x=Oe.slice(1);r.position()<N;)r.advance();else this.coverageRollback(tt)}}}if(!er.has(k)){let P=E;if(ge(k)?.roles.some(te=>te.role==="quantity"&&!te.required)&&!P.roles.has("quantity")){let te=r.peek();te&&/^-?\d+(\.\d+)?$/.test(te.value)&&(E=je(k,{...Object.fromEntries(P.roles),quantity:{type:"literal",value:parseFloat(te.value),dataType:"number"}},P.metadata),r.advance())}let ee=E;if(ge(k)?.roles.some(te=>te.role==="duration"&&!te.required)&&!ee.roles.has("duration")){let te=/^\d+(\.\d+)?(ms|s)$/i,N=r.peek(),q=!1;if(N&&N.kind==="particle"){let ke=r.peek(1);ke&&te.test(ke.value)&&(q=!0,N=ke)}N&&te.test(N.value)&&(E=je(k,{...Object.fromEntries(ee.roles),duration:{type:"literal",value:N.value,dataType:"string"}},ee.metadata),q&&r.advance(),r.advance(),this.consumeForPostposition(r,i))}let K=E,Se=ge(k);if(Se?.roles.find(te=>te.role==="responseType"&&!te.required)&&!K.roles.has("responseType")){let te=Fe=>typeof Fe=="string"&&L.RESPONSE_TYPE_WORDS.has(Fe.toLowerCase()),N=(Fe,tt)=>{let Oe=Object.fromEntries(K.roles);tt&&delete Oe.destination,Oe.responseType={type:"expression",raw:Fe},E=je(k,Oe,K.metadata)},q=K.roles.get("destination"),ke=Se?.roles.find(Fe=>Fe.role==="destination"),et=q?.raw??q?.value;if(q&&ke&&!ke.expectedTypes.includes(q.type)&&te(et))N(et,!0);else{let Fe=r.peek();Fe&&te(Fe.value)&&(N(Fe.value,!1),r.advance())}}if(k==="wait"){let te=E;if(!te.roles.has("event")){let N=r.peek();if(N&&vt.has(N.value.toLowerCase())){let q=Object.fromEntries(te.roles),ke=q.duration;ke&&ke.type!=="literal"&&ke.type!=="expression"&&delete q.duration;let et=q.patient;et&&et.type==="reference"&&et.value==="me"&&delete q.patient,q.event={type:"literal",value:N.value,dataType:"string"},E=je(k,q,te.metadata),r.advance(),this.consumeForPostposition(r,i)}}}this.tryAttachTrailingRole(r,E,i),this.tryAttachTrailingStyle(r,E,i),this.tryAttachTrailingExpressionRole(r,E,i),this.tryAttachNewWindow(r,E)}let w=t.captured.get("continues"),D=w?.type==="literal"&&w.value==="then",F=r.peek(),z=!!F&&this.isThenKeyword(F.value,i),S=er.has(k)&&!!F&&!this.isEndKeyword(F.value,i),R=!!F&&!this.isEndKeyword(F.value,i),W=[E,...x],_=!!F&&this.isEndKeyword(F.value,i)&&ta(W)>0&&r.peek(1)!==null;if(_&&(r.advance(),W.push(Zr)),D||z||S||R||_){let P=We(i).filter(M=>M.command!=="on").sort((M,K)=>K.priority-M.priority),I=We(i).filter(M=>M.id.startsWith("grammar-")&&M.id.includes("-continuation")).sort((M,K)=>K.priority-M.priority),ee=this.parseBodyWithGrammarPatterns(r,P,I,i,W);v=this.foldLoopBlocks([...W,...ee])}else v=this.foldLoopBlocks(W),r.isAtEnd()||this.recordDroppedTokens(r.tokens.slice(r.position()),i,"handler body tail")}else{let k=We(i).filter(E=>E.command!=="on").sort((E,x)=>x.priority-E.priority),C=h?t.roleStarts?.get("action"):void 0;if(C!==void 0&&C<r.position()){let E=new Ce(r.tokens.slice(C),i);for(v=this.parseBodyWithClauses(E,k,i);!r.isAtEnd();)r.advance()}else v=this.parseBodyWithClauses(r,k,i)}let g=v.length>1?[Qt(v,"then",{sourceLanguage:i})]:v;return qr(f,g,a,{sourceLanguage:i,patternId:t.pattern.id,confidence:t.confidence})}parseBodyWithClauses(t,r,i){let n=[],a=[],u=0,o=[],s=(c=0)=>{let p=ta(n);u=p+c,o.length=0;for(let m=0;m<p;m++)o.push("loop");for(let m=0;m<c;m++)o.push("while")};for(;!t.isAtEnd();){let c=t.peek();if(!c)break;if(a.length===0){let k=this.consumeJsBlock(t,i)??this.consumeVerbFinalJsBlock(t,i);if(k){n.push(k);continue}let C=this.tryParseConditionalBlock(t,r,i);if(C){n.push(C);continue}let E=this.tryParseUnlessGuard(t,r,i);if(E){n.push(...E);continue}}let p=c.kind==="conjunction"||c.kind==="keyword"&&this.isThenAt(c,Xe(t.tokens,t.position()),i),m=a[a.length-1],d=t.peek(1),y=m?.value.toLowerCase()==="at"&&d?.value.toLowerCase()==="of"||cu(i,c.value,m?.value,d?.value),f=c.kind==="keyword"&&this.isEndKeyword(c.value,i)&&!y&&!xt(Xe(t.tokens,t.position()),i);if((f||!y&&this.isBlockEndToken(c,Xe(t.tokens,t.position()),i))&&o.every(k=>k==="loop")&&this.closeLoopAtEnd(t,a,n,r,i)){a.length=0,s();continue}if(f&&u>0){u--,o.pop(),a.push({...c,metadata:{...c.metadata,closesTrackedBlock:!0}}),t.advance();continue}if(p&&o.includes("if")){a.push(c),t.advance();continue}if(p){if(a.length>0){let k=this.parseClause(a,r,i);n.push(...k),a.length=0,s(k.filter(C=>{let E=C;return E.action==="while"&&(!Array.isArray(E.body)||E.body.length===0)}).length)}t.advance();continue}if(f){t.advance();let k=[];for(;!t.isAtEnd();){let C=t.peek();if(!C||C.kind==="conjunction"||C.kind==="keyword"&&(this.isThenKeyword(C.value,i)||this.isEndKeyword(C.value,i)))break;k.push(C),t.advance()}if(k.length>0){let C=this.coverageMark(),E=a.length>0?this.parseClause(a,r,i):[];E.length===0&&a.length>0?(this.coverageRollback(C),n.push(...this.parseClause([...a,...k],r,i))):(n.push(...E),n.push(...this.parseClause(k,r,i)))}else if(a.length>0){let C=this.parseClause(a,r,i);n.push(...C)}a.length=0;break}let h=(c.normalized??c.value).toLowerCase(),g=$s(c);if(c.kind==="keyword"||g){let k=this.isIfKeyword(h,i),C=ea(a,a.length);(h==="for"||h==="while")&&C&&$s(C)||k&&C&&this.isElseKeyword(C.value,i)||(g&&o[o.length-1]==="while"?o[o.length-1]="loop":(k||this.isUnlessKeyword(h,i)||h==="while"||h==="for"||g)&&(u++,o.push(k?"if":g||h==="for"?"loop":h==="while"?"while":"other")))}a.push(c),t.advance()}if(a.length>0){let c=this.parseClause(a,r,i);n.push(...c)}t.isAtEnd()||this.recordDroppedTokens(t.tokens.slice(t.position()),i,"body stream tail"),this.foldFrontedWhileIntoRepeat(n,i);for(let c=n.length-1;c>=0;c--){let p=n[c];p.kind==="command"&&p.action==="for"&&(!(p.roles instanceof Map)||p.roles.size===0)&&(!Array.isArray(p.body)||p.body.length===0)&&n.splice(c,1)}let l=this.foldLoopBlocks(n);return l.length>1?[Qt(l,"then",{sourceLanguage:i})]:l}closeLoopAtEnd(t,r,i,n,a){let u=ta(i);if(r.length===0)return u===0?!1:(i.push(Zr),t.advance(),!0);let o=this.coverageMark(),s=this.parseClause([...r],n,a);return s.length===0||u+s.filter(qs).length===0?(this.coverageRollback(o),!1):(i.push(...s,Zr),t.advance(),!0)}foldLoopBlocks(t){let r=[],i=[],n=u=>{(i.length>0?i[i.length-1].body:r).push(u)},a=u=>{let o=i.pop();o&&n(this.buildLoopNode(o.head,o.body,u))};for(let u of t)Ws(u)?a(!0):qs(u)?i.push({head:u,body:[]}):n(u);for(;i.length>0;)a(!1);return r}buildLoopNode(t,r,i=!1){if(r.length===0&&!i)return t;let n=t.roles.get("loopType");if(n?.type==="literal"&&typeof n.value=="number"){let p=new Map(t.roles);return p.set("quantity",n),p.set("loopType",{type:"literal",value:"times"}),this.buildLoopNode({...t,roles:p},r,i)}let a=n?.type==="literal"?String(n.value):void 0,u=t.action==="for"||a==="for"?"for":a==="times"||a==="while"||a==="forever"?a:a==="until"||a==="until-event"?"until":t.roles.has("quantity")?"times":"forever",o=u==="for"?t.roles.get("patient"):void 0,s=o?gw(o):void 0,l=new Map(t.roles),c=l.get("quantity");return(u==="while"||u==="until")&&c&&!l.has("condition")&&(l.set("condition",c),l.delete("quantity")),Bf(t.action==="for"?"for":"repeat",u,Object.fromEntries(l),r,{...s?{loopVariable:s}:{},...t.metadata?{metadata:t.metadata}:{}})}tryTopLevelLoop(t,r,i){let n=this.coverageMark(),a;try{let o=new Ce(t.tokens,i);a=this.parseBodyWithClauses(o,r,i)}catch{return this.coverageRollback(n),null}let[u]=a;if(a.length===1&&u.kind==="loop")return u;if(a.length===1&&u.kind==="compound"){let o=u;if(o.statements[0]?.kind==="loop"){let s=o.statements.map(l=>l.metadata?.confidence??.75);return Qt(o.statements,o.chainType,{sourceLanguage:i,confidence:s.reduce((l,c)=>l+c,0)/s.length})}}return this.coverageRollback(n),null}tryTopLevelCommandSequence(t,r,i){let n=this.coverageMark(),a;try{let l=new Ce(t.tokens,i);a=this.parseBodyWithClauses(l,r,i)}catch{return this.coverageRollback(n),null}if(a.length!==1||a[0].kind!=="compound")return this.coverageRollback(n),null;let u=a[0];if(u.statements.length<2)return this.coverageRollback(n),null;let o=u.statements.map(l=>l.metadata?.confidence??.75),s=o.reduce((l,c)=>l+c,0)/o.length;return Qt(u.statements,u.chainType,{sourceLanguage:i,confidence:s})}foldFrontedWhileIntoRepeat(t,r){for(let i=0;i+1<t.length;i++){let n=t[i],a=t[i+1];if(n.kind!=="command"||n.action!=="while"||a.kind!=="command"||a.action!=="repeat")continue;let u=n.roles.get("condition");if(!u||a.roles.has("condition")||Array.isArray(n.body)||Array.isArray(a.body))continue;let o=new Map(a.roles);o.set("condition",u),o.set("loopType",{type:"literal",value:"while",dataType:"string"}),t.splice(i,2,{...a,roles:o,metadata:{...a.metadata,sourceLanguage:r,patternId:`repeat-${r}-fronted-while-fold`,confidence:Math.max(a.metadata?.confidence??0,n.metadata?.confidence??0)}})}}takeRepeatCount(t,r,i){if(T(i)?.wordOrder==="SOV"){let u=L.countBeforeVerb(r,i);if(u<0)return;let o=r[u];return r.length=u,o}let n=t.mark();t.peek()?.kind==="particle"&&t.advance();let a=t.peek();if(a&&L.countsBefore(a,t.peek(1),i))return t.advance(),t.advance(),a;if(!L.isCountToken(a)){t.reset(n);return}return t.advance(),t.peek()?.kind==="identifier"&&t.advance(),a}static isCountToken(t){let r=t?.kind==="literal"?Kn(t):null;return r?.type==="literal"&&typeof r.value=="number"}static countsBefore(t,r,i){return!t||!r||!kn[i]?.includes(r.value)?!1:t.kind==="identifier"||L.isCountToken(t)}static countBeforeVerb(t,r){let i=L.isCountToken,n=t.length;return t[n-1]?.kind==="particle"&&n--,L.countsBefore(t[n-2],t[n-1],r)?n-2:(t[n-1]?.kind==="identifier"&&i(t[n-2])&&n--,i(t[n-1])?n-1:-1)}loopHeadReadsBody(t,r,i){if(T(i)?.wordOrder!=="SOV")return!1;if(L.countBeforeVerb(r,i)>=0)return!0;let n=t.captured.get("loopType");return n?.type==="literal"&&typeof n.value!="number"&&!xw.has(String(n.value))}bareRepeatHead(t,r){let i=t?Kn(t):null;return je("repeat",t&&i?{loopType:he("times"),quantity:bf(i,{start:t.position.start,end:t.position.end})}:{},{sourceLanguage:r,confidence:.6})}parseClause(t,r,i){if(t.length===0)return[];let n=null,a=t,u=t[t.length-1];if(u&&t.length>=2){let h=(u.normalized??u.value).toLowerCase();this.isUnlessKeyword(h,i)&&(n="unless",a=t.slice(0,-1))}let o=null;if(n&&a.length>=3){let h=T(i),g=h?L.buildVerbLookup(h):null;if(g)for(let k=1;k<a.length-1;k++){let C=a[k],E=g.get(C.value.toLowerCase())??(C.normalized?g.get(C.normalized.toLowerCase()):void 0);if(E&&!L.CONDITION_OPERATORS.has(E)){o=a.slice(0,k),a=a.slice(k);break}}}let s=new Ce(a,i),l=[],c=this.coverageMark(),p=0,m=[],d=o,y=()=>{if(m.length===0)return;let h=m.slice();if(m.length=0,n&&l.length===0&&d===null){d=h;return}let g=h[0];if(!(g&&(g.kind==="identifier"||g.kind==="selector"||g.kind==="literal"||g.kind==="reference"))){this.recordDroppedTokens(h,i,"body clause");return}let C=!1;for(let E of this.parseSOVClauseByVerbAnchoring(h,i)){let x=E.action,w=E.roles;x&&ge(x)&&w instanceof Map&&w.size>0&&(l.push(E),C=!0)}C||this.recordDroppedTokens(h,i,"body clause")};for(;!s.isAtEnd();){let h=s.peek(),g=!!h&&h.normalized?.toLowerCase()==="repeat",k=s.mark(),C=qe.matchBest(s,r);if(g&&C&&(C.pattern.command!=="repeat"||this.loopHeadReadsBody(C,m,i))){s.reset(k),s.advance();let E=this.takeRepeatCount(s,m,i);y(),l.push(this.bareRepeatHead(E,i)),p++;continue}if(!C&&h&&this.isIfKeyword((h.normalized??h.value).toLowerCase(),i)){let E=this.tryParseConditionalBlock(s,r,i);if(E){y(),l.push(E),p++;continue}}if(C&&C.pattern.command==="if"){let E=s.mark(),x=m.length;for(s.reset(k);!s.isAtEnd();){let D=s.peek();if(!D||this.isIfKeyword((D.normalized??D.value).toLowerCase(),i))break;m.push(D),s.advance()}let w=this.tryParseConditionalBlock(s,r,i);if(w){y(),l.push(w),p++;continue}m.length=x,s.reset(E)}if(C){y();let E=this.buildCommand(C,i);l.push(E),p++,this.tryAttachTrailingRole(s,E,i),this.tryAttachTrailingStyle(s,E,i),this.tryAttachTrailingExpressionRole(s,E,i),this.tryAttachTrailingDuration(s,E)}else{let E=m.length===0?this.tryParsePseudoCommand(s,r,i):null;if(E){y(),l.push(E),p++;continue}let x=s.peek(),w=x?.kind==="identifier"&&x.value.toLowerCase()==="repeat";if(x&&(x.normalized?.toLowerCase()==="repeat"||w)){let D=s.mark();s.advance();let F=this.takeRepeatCount(s,m,i);if(F||!w){y(),l.push(this.bareRepeatHead(F,i)),p++;continue}s.reset(D)}x&&m.push(x),s.advance()}}y();let f=l;if(p===0){let h=this.parseSOVClauseByVerbAnchoring(a,i);h.length>0&&(this.coverageRollback(c),f=h)}let v=d;return n&&f.length>0&&v&&v.length>0?[je(n,{condition:{type:"expression",raw:this.joinTokenText(v,i)}},{sourceLanguage:i,patternId:`${n}-${i}-trailing-guard`,confidence:.85}),...f]:n&&v&&v.length>0&&f.length===0?[je(n,{condition:{type:"expression",raw:this.joinTokenText(v,i)}},{sourceLanguage:i,patternId:`${n}-${i}-trailing-guard`,confidence:.85})]:f}tryAttachTrailingDuration(t,r){let i=r.roles;if(i.has("duration")||!ge(r.action)?.roles.some(u=>u.role==="duration"&&!u.required))return;let a=t.peek();!a||!/^\d+(?:\.\d+)?(?:ms|s|m|h)$/.test(a.value)||(i.set("duration",he(a.value,"duration")),t.advance())}tryAttachNewWindow(t,r){let i=r.roles;if(r.action!=="go"||i.has("manner"))return;let[n,a,u]=[t.peek(),t.peek(1),t.peek(2)];if(!(n?.value.toLowerCase()!=="in"||a?.value.toLowerCase()!=="new")&&!(!u||(u.normalized??u.value).toLowerCase()!=="window")){i.set("manner",nt("window"));for(let o=0;o<3;o++)t.advance()}}tryAttachTrailingRole(t,r,i){let n=ge(r.action);if(!n)return;let a=T(i);if(!a)return;let u=r.roles,o=(l,c)=>{if(!l)return!1;if(l.kind==="selector")return!0;let p=(l.normalized??l.value).toLowerCase();return Vs.has(p)?!1:p==="body"||p==="it"||p==="you"||p==="result"||p==="document"||p==="window"||this.boundIdentifiers.has(l.value)?!0:c?!1:l.kind==="identifier"||l.kind==="reference"},s=[{role:"source",strict:!1},{role:"destination",strict:!0}];for(let{role:l,strict:c}of s){if(!n.roles.some(v=>v.role===l))continue;let p=a.roleMarkers?.[l];if(!p)continue;let m=u.get(l);if(m&&!(m.type==="reference"&&m.value==="me"))continue;let d=v=>{if(!v||v.kind!=="particle"&&v.kind!=="keyword")return!1;let h=v.value.toLowerCase();return p.primary?.toLowerCase()===h?!0:c?!1:(v.normalized??"").toLowerCase()===l?!0:!!p.alternatives?.some(g=>g.toLowerCase()===h)},y=t.peek(),f=t.peek(1);if(!y||!f)return;if(c&&p.position==="after"){let v=t.peek(2),h=(y.normalized??y.value).toLowerCase();if(Ew.has(h)&&f.kind==="selector"&&d(v)){u.set(l,{type:"expression",raw:`${h} ${f.value}`}),t.advance(),t.advance(),t.advance();return}}if(p.position==="after"){if(o(y,c)&&d(f)){let v=this.tokenToSemanticValue(y);t.advance(),t.advance(),v&&u.set(l,v);return}if(c&&o(y,c)){let v=t.peek(2),h=t.peek(3);if((f.normalized??f.value).toLowerCase()==="in"&&v&&!d(v)&&d(h)){let g=this.tokenToSemanticValue(y);t.advance(),t.advance(),t.advance(),t.advance(),g&&u.set(l,g);return}}}else if(d(y)&&o(f,c)){t.advance();let v=this.tokenToSemanticValue(t.advance());v&&u.set(l,v);return}}}tryAttachTrailingStyle(t,r,i){if(r.action!=="fetch"&&r.action!=="render")return;let n=r.roles;if(!ge(r.action)?.roles.some(h=>h.role==="style"))return;let u=n.get("style");if(u){if(u.type==="expression"&&typeof u.raw=="string"&&/^[A-Za-z_][\w-]*$/.test(u.raw)&&t.peek()?.value===":"){let h=Hi(t,u.raw);h&&n.set("style",{type:"expression",raw:h})}this.tryAttachResponseTypeAfterStyle(t,r,i);return}if(r.action==="fetch"){let h=n.get("patient"),g=n.get("source");if(h&&g&&(h.type==="literal"||h.type==="expression")&&g.type==="expression"&&typeof g.raw=="string"&&/^[A-Za-z_][\w-]*$/.test(g.raw)&&t.peek()?.value===":"){let k=Hi(t,g.raw);k&&(n.set("source",{type:"expression",raw:k}),this.tryAttachResponseTypeAfterStyle(t,r,i));return}}let s=T(i)?.roleMarkers?.style;if(!s)return;if(s.position==="before"){let h=new Set([s.primary,...s.alternatives??[]].map(E=>E.toLowerCase())),g=t.peek();if(!g||!h.has(g.value.toLowerCase()))return;let k=t.mark();t.advance();let C=Hi(t);if(!C){t.reset(k);return}n.set("style",{type:"expression",raw:C}),this.tryAttachResponseTypeAfterStyle(t,r,i);return}if(s.position!=="after")return;let l=new Set([s.primary,...s.alternatives??[]].map(h=>h.toLowerCase())),c=h=>h.kind==="conjunction"||h.kind==="keyword"&&(this.isThenKeyword(h.value,i)||this.isEndKeyword(h.value,i)),p=24,m=-1,d=0;for(let h=0;h<p;h++){let g=t.peek(h);if(!g||c(g))break;if(g.value==="("||g.value==="{"?d++:(g.value===")"||g.value==="}")&&(d=Math.max(0,d-1)),d===0&&(g.kind==="particle"||g.kind==="keyword")&&l.has(g.value.toLowerCase())){m=h;break}}if(m<=0)return;let y=[];for(let h=0;h<m;h++){let g=t.peek(h);g&&y.push(g)}if(y.length===1&&L.RESPONSE_TYPE_WORDS.has(y[0].value.toLowerCase()))return;let f=new Ce(y,i),v=Hi(f);n.set("style",{type:"expression",raw:v&&f.isAtEnd()?v:this.joinTokenText(y,i)});for(let h=0;h<=m;h++)t.advance();this.tryAttachResponseTypeAfterStyle(t,r,i)}tryAttachResponseTypeAfterStyle(t,r,i){let n=r.roles;if(n.has("responseType")||!ge(r.action)?.roles.some(c=>c.role==="responseType"&&!c.required))return;let u=c=>!!c&&L.RESPONSE_TYPE_WORDS.has(c.toLowerCase()),o=t.peek();if(!o)return;let s=c=>{n.set("responseType",{type:"expression",raw:c})};if(L.AS_MARKERS_BEFORE[i]?.some(c=>o.value.toLowerCase()===c)){let c=t.peek(1);c&&u(c.value)&&(t.advance(),t.advance(),s(c.value));return}if(u(o.value)){t.advance(),s(o.value);for(let c of L.AS_MARKERS_AFTER[i]??[])if(c.every((p,m)=>t.peek(m)?.value.toLowerCase()===p)){for(let p=0;p<c.length;p++)t.advance();break}}}tryAttachTrailingExpressionRole(t,r,i){let n=r.action,a=n==="js"?{role:"patient",terminator:"boundary"}:n==="go"||n==="scroll"?{role:"destination",terminator:"destination-marker"}:null;if(!a)return;let u=r.roles,o=u.get(a.role);if(n==="go"&&o&&o.type==="expression"&&String(o.raw).toLowerCase()==="url"){let h=t.peek();if(h&&!Vs.has((h.normalized??h.value).toLowerCase())){let k=this.tokenToSemanticValue(h);if(k.type==="literal"||k.type==="selector"){u.set(a.role,k),u.set("method",{type:"literal",value:"url"}),t.advance();return}}let g=u.get("patient");if(g&&(g.type==="literal"||g.type==="selector")){u.set(a.role,g),u.set("method",{type:"literal",value:"url"}),u.delete("patient");return}}if(n==="go"&&o&&o.type==="expression"){let h=/^url\s+(\S+)$/i.exec(String(o.raw??""));if(h){let g=h[1].replace(/^["']|["']$/g,"");u.set(a.role,{type:"literal",value:g,dataType:"string"}),u.set("method",{type:"literal",value:"url"});return}}if(n==="go"&&!o){let h=u.get("patient");if(h&&h.type==="expression"&&String(h.raw).toLowerCase()==="url"){let g=t.peek();if(g&&!Vs.has((g.normalized??g.value).toLowerCase())){let k=this.tokenToSemanticValue(g);if(k.type==="literal"||k.type==="selector"){u.set(a.role,k),u.set("method",{type:"literal",value:"url"}),u.delete("patient"),t.advance();return}}}}if(o&&!(o.type==="reference"&&o.value==="me"))return;let s=T(i);if(!s)return;let l=null;if(a.terminator==="destination-marker"){let h=s.roleMarkers?.destination;if(!h||h.position!=="after")return;l=h.primary.toLowerCase()}let c=h=>h.kind==="conjunction"||h.kind==="keyword"&&(this.isThenKeyword(h.value,i)||this.isEndKeyword(h.value,i)),p=24,m=[],d=0,y=!1;for(let h=0;h<p;h++){let g=t.peek(h);if(!g||c(g))break;if(g.value==="("||g.value==="{"?d++:(g.value===")"||g.value==="}")&&(d=Math.max(0,d-1)),l!==null&&d===0&&(g.kind==="particle"||g.kind==="keyword")&&g.value.toLowerCase()===l){y=!0;break}m.push(g)}if(m.length===0||l!==null&&!y)return;let f=m.length+(y?1:0);if(n==="go"&&m.length===2&&m[0].value.toLowerCase()==="url"){let h=this.tokenToSemanticValue(m[1]);if(h.type==="literal"||h.type==="selector"){u.set(a.role,h),u.set("method",{type:"literal",value:"url"});let g=u.get("patient");g&&g.type==="reference"&&g.value==="me"&&!ge(n)?.roles.some(k=>k.role==="patient")&&u.delete("patient");for(let k=0;k<f;k++)t.advance();return}}let v=m;if(n==="js"){let h=s.keywords?.js,g=C=>[h?.primary,...h?.alternatives??[]].some(E=>!!E&&E.length>C.value.length&&E.includes(C.value)),k=0;for(;k<v.length&&g(v[k]);)k++;if(v=v.slice(k),v.length===0)return}if(u.set(a.role,{type:"expression",raw:this.joinTokenText(v,i)}),a.role!=="patient"){let h=u.get("patient");h&&h.type==="reference"&&h.value==="me"&&!ge(n)?.roles.some(g=>g.role==="patient")&&u.delete("patient")}for(let h=0;h<f;h++)t.advance()}static buildVerbLookup(t){let r=new Map;for(let[i,n]of Object.entries(t.keywords))if(!["on","if","else","when","where","while","end","then","and"].includes(i)&&(r.set(n.primary.toLowerCase(),i),n.alternatives))for(let a of n.alternatives)r.set(a.toLowerCase(),i);return r}static buildMarkerToRoleLookup(t){let r=new Map;for(let[i,n]of Object.entries(t.roleMarkers)){if(!n)continue;if((i!=="event"||!r.has(n.primary))&&r.set(n.primary,i),n.alternatives)for(let u of n.alternatives)r.has(u)||r.set(u,i)}return r}parseSOVClauseByVerbAnchoring(t,r){let i=T(r);if(!i||i.wordOrder!=="SOV")return[];let n=L.buildVerbLookup(i),a=L.buildMarkerToRoleLookup(i),u=[],o=0;for(;o<t.length;){let s=-1,l="";for(let y=o;y<t.length;y++){let f=t[y];if(a.has(f.value))continue;let v=n.get(f.value.toLowerCase()),h=f.normalized?n.get(f.normalized.toLowerCase()):void 0,g=v||h;if(g){s=y,l=g;break}}if(s===-1)break;let c=t.slice(o,s),p=t.length;for(let y=s+1;y<t.length;y++){let f=t[y];if(f.kind==="conjunction"||this.isThenKeyword(f.value,r)){p=y;break}if(y>s+1&&!a.has(f.value)&&(n.get(f.value.toLowerCase())||(f.normalized?n.get(f.normalized.toLowerCase()):void 0))){p=y;break}}let m=t.slice(s+1,p),d=this.extractRolesFromMarkedTokens(c,m,a,l,r);if(u.push(je(l,d,{sourceLanguage:r,confidence:.7})),o=p,o<t.length){let y=t[o];(y.kind==="conjunction"||this.isThenKeyword(y.value,r))&&o++}}return u}extractRolesFromMarkedTokens(t,r,i,n,a){let u={},o=(l,c)=>{let p=this.isEndKeyword(l.value,a),m=l.kind==="keyword"&&(l.normalized??"").toLowerCase()==="end";return!p&&!m?!1:l.metadata?.closesTrackedBlock===!0||p?!0:!(c&&c.kind==="selector")},s=l=>{let c=[];for(let p=0;p<l.length;p++){let m=l[p];if(o(m,l[p+1]))continue;let d=i.get(m.value);if(d&&m.kind==="particle"&&c.length>0){let y=this.tokensToSemanticValue(c,a);if(y){let f=this.mapRoleForCommand(d,n,u);f&&(u[f]=y)}c=[]}else c.push(m)}if(c.length>0)if(c.length===1&&/^\d+(\.\d+)?(ms|s)$/i.test(c[0].value)&&!u.duration&&ge(n)?.roles.some(m=>m.role==="duration"))u.duration={type:"literal",value:c[0].value,dataType:"string"};else{let m=this.tokensToSemanticValue(c,a);m&&(u.patient?u.destination||(u.destination=m):u.patient=m)}};return s(t),s(r),u}mapRoleForCommand(t,r,i){return r==="set"&&(t==="patient"?t="destination":t==="destination"&&(t="patient")),i[t]?t==="patient"&&!i.destination?"destination":t==="destination"&&!i.patient?"patient":t==="source"&&!i.source?"source":null:t}tokensToSemanticValue(t,r){if(t.length===0)return null;let i=t.filter(o=>o.kind!=="whitespace");if(i.length===0)return null;if(i.length>=2&&(i[0].kind==="selector"||/^[#.@*<]/.test(i[0].value))){let o=i.findIndex((s,l)=>l>0&&(s.normalized??s.value).toLowerCase()==="in");o>0&&(i=i.slice(0,o))}if(i.length===1)return this.tokenToSemanticValue(i[0]);let n=this.joinTokenText(i,r);if(nv(n))return{type:"expression",raw:n};let a=i.map(o=>o.value).join(""),u=i[0];return u.kind==="selector"||u.value.startsWith("#")||u.value.startsWith(".")||u.value.startsWith("@")||u.value.startsWith("*")?ot(a):u.kind==="literal"||u.value.startsWith('"')||u.value.startsWith("'")?he(Dw(a),"string"):u.kind==="reference"?nt(a):he(n)}tokenToSemanticValue(t){return Kn(t)??he(t.value)}parseBodyWithGrammarPatterns(t,r,i,n,a=[]){let u=[],o=()=>ta([...a,...u]),s=[],l=!1,c=()=>{if(!l&&s.length>0){let d=this.parseSOVClauseByVerbAnchoring(s,n);u.push(...d),d.length===0&&this.recordDroppedTokens(s,n,"fused body walk")}else s.length>0&&this.recordDroppedTokens(s,n,"fused body walk");s=[],l=!1},p=0,m=()=>u.filter(d=>{let y=d;return y.action==="while"&&(!Array.isArray(y.body)||y.body.length===0)}).length-p;for(;!t.isAtEnd();){let d=t.peek();if(d&&this.isThenKeyword(d.value,n)){c(),t.advance();continue}if(d&&o()>0&&!this.isEndKeyword(d.value,n)&&this.isBlockEndToken(d,Xe(t.tokens,t.position()),n)&&!cu(n,d.value,t.peek(-1)?.value,t.peek(1)?.value)){c(),u.push(Zr),t.advance();continue}if(d&&this.isEndKeyword(d.value,n)){let f=t.peek(-1),v=t.peek(1);if(!cu(n,d.value,f?.value,v?.value)){if(c(),o()>0){u.push(Zr),t.advance();continue}if(m()>0){p++,t.advance();continue}t.advance();break}}if(d&&!l&&this.isIfKeyword((d.normalized??d.value).toLowerCase(),n)){c();let f=this.tryParseConditionalBlock(t,r,n);if(f){u.push(f),l=!0;continue}}let y=!1;if(i.length>0){let f=qe.matchBest(t,i);if(f){let v=f.pattern.command,h={};for(let[C,E]of f.captured)C!=="event"&&C!=="action"&&C!=="continues"&&(h[C]=E);let g=je(v,h,{sourceLanguage:n,patternId:f.pattern.id});u.push(g),y=!0,l=!0;let k=f.captured.get("continues");if(k&&k.type==="literal"&&k.value==="then")continue}}if(!y){let f=t.mark(),v=qe.matchBest(t,r);if(v){if(v.pattern.command==="if"){let g=t.mark();for(t.reset(f);!t.isAtEnd();){let C=t.peek();if(!C||this.isIfKeyword((C.normalized??C.value).toLowerCase(),n))break;t.advance()}let k=this.tryParseConditionalBlock(t,r,n);if(k){c(),u.push(k),l=!0;continue}t.reset(g)}let h=this.buildCommand(v,n);u.push(h),this.tryAttachTrailingRole(t,h,n),y=!0,l=!0}}y||(d&&s.push(d),t.advance())}c(),t.isAtEnd()||this.recordDroppedTokens(t.tokens.slice(t.position()),n,"fused body walk");for(let d=u.length-1;d>=0;d--){let y=u[d];y.kind==="command"&&y.action==="for"&&(!(y.roles instanceof Map)||y.roles.size===0)&&(!Array.isArray(y.body)||y.body.length===0)&&u.splice(d,1)}return u}tryCompoundCommandParsing(t,r,i){let n=t.tokens,a=n.some(c=>c.kind==="conjunction"||c.kind==="keyword"&&this.isThenKeyword(c.value,i)),u=n.some(c=>this.isElseKeyword(c.value,i));if(!a&&!u)return null;let o=new Ce(n,i),s=this.coverageMark(),l=this.parseBodyWithClauses(o,r,i);return l.length===0?(this.coverageRollback(s),null):l[0]}static isEnEventKeyword(t){if(typeof t!="string")return!1;let r=t.toLowerCase(),i=L.enEventKeywordCache.get(r);if(i!==void 0)return i;let n=!1;try{let a=se(r,"en").tokens;n=a.length===1&&a[0]?.kind==="keyword"}catch{n=!1}return L.enEventKeywordCache.set(r,n),n}matchEventMarkerPhrase(t,r,i){let n=L.SOV_EVENT_MARKER_PHRASES[i];if(!n)return 0;for(let a of n)if(a.every((u,o)=>t[r+o]?.value===u))return a.length;return 0}hasSOVEventMarkerHead(t,r){let i=L.SOV_EVENT_MARKERS[r];if(i===void 0)return!1;let{tokens:n}=se(t,r),a=it[r],u=new Set;if(a)for(let o of Object.keys(a))u.add(o.toLowerCase());for(let o=0;o<n.length;o++){let s=n[o],l=s.value.toLowerCase(),c=s.normalized?.toLowerCase();if(!(!!c&&(L.KNOWN_EVENTS.has(c)||vt.has(c))||L.KNOWN_EVENTS.has(l)||vt.has(l)||u.has(l)))continue;let m=this.matchEventParamPhrase(n,o+1).len,d=n[o+1+m];if(d&&(d.kind==="particle"||d.kind==="keyword")&&i.has(d.value)||this.matchEventMarkerPhrase(n,o+1+m,r)>0)return!0}return!1}tryScrollModifiers(t,r,i){let n=d=>d?.value.toLowerCase()??"",a=-1,u=-1;for(let d=0;d<t.length&&a<0;d++){let y=n(t[d])==="the"?d+1:d;Vv.has(n(t[y]))&&(Vv.has(n(t[y+1]))&&y++,!(n(t[y+1])!=="of"||!t[y+2])&&(a=d,u=y+1))}let o=a<0?t.findIndex(d=>zw.has(n(d))):-1;if(a<0&&o<0)return null;let s=a>=0?a:o,l=a>=0?u:o,c=r.slice(0,t[s].position.start).trimEnd(),p=r.slice(t[l].position.end).trimStart(),m=c?c.length+1:0;try{let d=this.parse(c?`${c} ${p}`:p,i),y=[],f=g=>{if(!g)return;g.kind==="command"&&(g.action==="go"||g.action==="scroll")&&y.push(g);let k=g;for(let C of Xi){let E=k[C];Array.isArray(E)&&E.forEach(x=>f(x))}};f(d??void 0);let v=g=>g.roles.get("destination")?.position?.start??-1,h=g=>y.filter(k=>v(k)>=0&&v(k)<=g).reduce((k,C)=>!k||v(C)>v(k)?C:k,void 0);if(!d)return null;if(a>=0){let g=h(m),k=g?.roles.get("destination"),C=t[u+1];if(!g||!k||!Cw(k,C))return null;let E=t.slice(a,u).map(x=>x.value.toLowerCase());g.scrollPosition=E.join(" ")}else{let g=h(t[o].position.start-1);if(!g)return null;g.scrollBehavior=n(t[o])}return d}catch{return null}}tryDoNotThrow(t,r,i){let n=s=>s?.value.toLowerCase(),a=t.findIndex((s,l)=>n(s)==="do"&&n(t[l+1])==="not"&&n(t[l+2])==="throw");if(a<0)return null;let u=t[a].position.start,o=(r.slice(0,t[a].position.start).trimEnd()+" "+r.slice(t[a+2].position.end).trimStart()).trim();try{let s=this.parse(o,i),l=[],c=d=>{if(!d)return;d.kind==="command"&&d.action==="fetch"&&l.push(d);let y=d;for(let f of Xi){let v=y[f];Array.isArray(v)&&v.forEach(h=>c(h))}};c(s??void 0);let p=d=>d.roles.get("source")?.position?.start??-1,m=l.filter(d=>p(d)>=0&&p(d)<u).reduce((d,y)=>!d||p(y)>p(d)?y:d,void 0);return!s||!m?null:(m.doNotThrow=!0,s)}catch{return null}}tryTellTo(t,r,i){let n=s=>(s.normalized??s.value).toLowerCase()==="tell",a=t.findIndex(n);if(a<0)return null;let u=T(i)?.roleMarkers?.destination,o=new Set([u?.primary,...u?.alternatives??[]].filter(s=>!!s));for(let s=a+1;s<t.length;s++){if(t[s].value.toLowerCase()!=="to")continue;let l=t[s].position.start,c=(r.slice(0,l).trimEnd()+" "+r.slice(t[s].position.end).trimStart()).trim();try{let p=this.parse(c,i);if(!p)continue;let m=[],d=g=>{if(!g)return;g.kind==="command"&&m.push(g);let k=g;for(let C of Xi){let E=k[C];Array.isArray(E)&&E.forEach(x=>d(x))}};d(p);let y=g=>g.roles.get("destination")?.position?.start??-1,f=m.filter(g=>g.action==="tell"&&y(g)>=0&&y(g)<l).reduce((g,k)=>!g||y(k)>y(g)?k:g,void 0);if(!f)continue;let v=f.roles.get("destination")?.position?.end??-1;if(v<0||!t.filter(g=>g.position.start>=v&&g.position.start<l).every(g=>n(g)||o.has(g.value)))continue;return p}catch{continue}}return null}tryLoopIndex(t,r,i){let n=l=>l?.value.toLowerCase(),a=new Set;for(let l of We(i))if(!(l.command!=="repeat"&&l.command!=="for")){for(let c of l.template.tokens)if(c.type==="literal")for(let p of[c.value,...c.alternatives??[]])a.add(p.toLowerCase())}let u=l=>a.has(l.value.toLowerCase()),o=T(i)?.roleMarkers?.style?.primary?.toLowerCase(),s=l=>n(l)==="with"||!!o&&n(l)===o;for(let l=0;l+1<t.length;l++){let c=s(t[l])&&n(t[l+1])==="index",p=n(t[l])==="index";if(!c&&!p)continue;let m=t[l].position.start,d=(r.slice(0,m).trimEnd()+" "+r.slice(t[l+1].position.end).trimStart()).trim();try{let y=this.parse(d,i);if(!y)continue;let f=[],v=w=>{if(!w)return;w.kind==="loop"&&f.push(w);let D=w;for(let F of Xi){let z=D[F];Array.isArray(z)&&z.forEach(A=>v(A))}};v(y);let h=w=>Math.max(-1,...[...w.roles.values()].map(D=>D.position?.end??-1).filter(D=>D<=m)),g=f.filter(w=>h(w)>=0).reduce((w,D)=>!w||h(D)>h(w)?D:w,void 0);if(!g)continue;let k=t.filter(w=>w.position.start>=h(g)&&w.position.start<m),C=g.roles.get("quantity"),E=C?.type==="literal"&&typeof C.value=="number"?C.position?.end:void 0,x=E===void 0?void 0:t.find(w=>w.position.start>=E);if(!k.every(w=>w===x||u(w)))continue;return g.indexVariable=c?"index":t[l+1].value,y}catch{continue}}return null}tryWaitAlternatives(t,r,i){let n=v=>!!v&&(v.normalized??v.value).toLowerCase()==="wait";if(!t.some(v=>n(v)))return null;let a=v=>(v.normalized??v.value).toLowerCase(),u=v=>{if(!v)return;let h=k=>L.KNOWN_EVENTS.has(k)||vt.has(k);if(h(a(v)))return a(v);let g=rs(v.value,i);return h(g)?g:void 0},o=v=>u(v)!==void 0,s=v=>!!v&&/^\d+(?:\.\d+)?(?:ms|s)$/.test(v.value),l=T(i)?.roleMarkers?.source,c=new Set([l?.primary,...l?.alternatives??[]].filter(Boolean).map(v=>v.toLowerCase())),p=v=>!!v&&((v.normalized??"")==="source"||c.has(v.value.toLowerCase())),m=l?.position!=="after",d=T(i)?.wordOrder==="SOV",y=(v,h)=>d?n(t[h])||t[h]?.kind==="particle"&&n(t[h+1]):n(t[v-1])||n(t[v-2]),f=v=>{let h=is(u(t[v]),i).split(/\s+/);return h.length<2||t[v].value!==h[0]?1:h.every((g,k)=>k===0||t[v+k]?.value===g)?h.length:1};for(let v=0;v<t.length;v++){if(!o(t[v]))continue;let h=[],g=v+f(v),k=this.matchEventParamPhrase(t,g);h.push(k.names.length>0?{event:u(t[v]),params:k.names}:{event:u(t[v])});let C=g+k.len;for(;Gn(t[C]??{value:""},i);){let _=t[C+1];if(o(_)){let P=C+1+f(C+1),I=this.matchEventParamPhrase(t,P);h.push(I.names.length>0?{event:u(_),params:I.names}:{event:u(_)}),C=P+I.len}else if(s(_))h.push({duration:_.value}),C+=2;else break}let E=C,x,w;if(m&&p(t[C])&&t[C+1]?(x=[C,C+1],w=t[C+1]):!m&&t[C]&&p(t[C+1])&&(x=[C,C+1],w=t[C]),!(h.length>1||k.names.length>0||!!x))continue;let F=x?x[1]+1:E;if(!y(v,F))continue;let z=[];E>g&&z.push([t[g-1].position.end,t[E-1].position.end]),x&&z.push([t[x[0]].position.start,t[x[1]].position.end]),z.sort((_,P)=>_[0]-P[0]);let A="",S=0;for(let[_,P]of z)A+=r.slice(S,_)+" ",S=P;A=(A+r.slice(S)).replace(/\s+/g," ").trim();let R=h[0],W=0;for(let _=0;_<v;_++)u(t[_])===R.event&&y(_,_+1)&&W++;try{let _=this.parse(A,i),P=[],I=M=>{if(!M)return;let K=M.roles?.get("event"),Se=K?.type==="expression"?K.raw:K&&"value"in K?String(K.value):void 0;M.kind==="command"&&M.action==="wait"&&Se?.toLowerCase()===R.event&&P.push(M);let Ke=M;for(let te of Xi){let N=Ke[te];Array.isArray(N)&&N.forEach(q=>I(q))}};I(_??void 0);let ee=P[W];if(!_||!ee)continue;return ee.waitAlternatives=h,w&&(ee.waitSource=ww(w)),_}catch{}}return null}isBodyCommandWord(t,r){let i=(t.normalized??t.value).toLowerCase();return t.kind==="keyword"&&r.has(i)&&!L.KNOWN_EVENTS.has(i)&&!vt.has(i)}matchEventParamPhrase(t,r){if(t[r]?.value!=="(")return{len:0,names:[]};let i=[];for(let n=r+1;n<t.length;n++){let a=t[n].value;if(a===")")return t[r-1]?.position?.end!==t[r]?.position?.start&&t[n+1]?.kind==="particle"?{len:0,names:[]}:{len:n-r+1,names:i};if(a===",")continue;let u=t[n].kind;if(u!=="identifier"&&u!=="keyword"||!/^[A-Za-z_$][\w$]*$/.test(a))break;let o=(t[n].normalized??a).toLowerCase();if(u==="keyword"&&kw.has(o))break;i.push(a)}return{len:0,names:[]}}isStrippableSourceRef(t,r){if(!t)return!1;let i=t.normalized?.toLowerCase();if(t.kind==="keyword"&&(i==="me"||i==="i"||i==="it"))return!0;let n=t.value.toLowerCase();return r.has(n)||!!i&&r.has(i)}tryTrailingEventExtraction(t,r,i){let n=se(t,r).tokens;if(n.length<3)return null;let a=it[r],u=new Set;if(a)for(let C of Object.keys(a))u.add(C.toLowerCase());let o=n.length-2,s=n[o];if(!(s.kind==="keyword"&&s.normalized?.toLowerCase()==="on"))return null;let c=n[n.length-1],p=c.value.toLowerCase(),m=c.normalized?.toLowerCase();if(!(!!m&&L.KNOWN_EVENTS.has(m)||L.KNOWN_EVENTS.has(p)||u.has(p)))return null;let y=m&&L.KNOWN_EVENTS.has(m)?m:a?.[p]??p,f=n.slice(0,o);if(f.length===0)return null;let v=i.filter(C=>C.command!=="on"),h=new Ce(f,r),g=this.coverageMark(),k=this.parseBodyWithClauses(h,v,r);return k.length===0?(this.coverageRollback(g),null):qr({type:"literal",value:y},k,void 0,{sourceLanguage:r,confidence:.75})}tryMidStreamEventExtraction(t,r,i){let n=se(t,r).tokens;if(n.length<3)return null;let a=it[r],u=new Set;if(a)for(let o of Object.keys(a))u.add(o.toLowerCase());for(let o=0;o<n.length-1;o++){let s=n[o];if(!(s.kind==="keyword"&&s.normalized?.toLowerCase()==="on"))continue;let c=n[o+1],p=c.value.toLowerCase(),m=c.normalized?.toLowerCase();if(!(!!m&&L.KNOWN_EVENTS.has(m)||L.KNOWN_EVENTS.has(p)||u.has(p)))continue;let y=m&&L.KNOWN_EVENTS.has(m)?m:a?.[p]??p,f=n.filter((C,E)=>E!==o&&E!==o+1);if(f.length===0)return null;let v=i.filter(C=>C.command!=="on"),h=new Ce(f,r),g=this.coverageMark(),k=this.parseBodyWithClauses(h,v,r);return k.length===0?(this.coverageRollback(g),null):qr({type:"literal",value:y},k,void 0,{sourceLanguage:r,confidence:.75})}return null}trySOVEventExtraction(t,r,i){let n=L.SOV_EVENT_MARKERS[r];if(!n)return null;let u=se(t,r).tokens,o=it[r],s=new Set;if(o)for(let x of Object.keys(o))s.add(x.toLowerCase());let l=L.SOV_SOURCE_MARKERS[r],c=-1,p="",m="",d=1,y=[];for(let x=0;x<u.length;x++){let w=u[x],D=w.value.toLowerCase(),F=D,z="",A=D.indexOf("[");A>0&&(F=D.slice(0,A),z=w.value.slice(A));let S=w.normalized?.toLowerCase(),R=S&&(L.KNOWN_EVENTS.has(S)||vt.has(S)),W=s.has(D)||s.has(F),_=L.KNOWN_EVENTS.has(F)||vt.has(F);if(R||W||_){let P=u[x-1];if(P&&(P.normalized??P.value).toLowerCase()==="event")continue;let I;R?I=S:W?I=o?.[D]??o?.[F]??F:I=F;let ee=this.matchEventParamPhrase(u,x+1);if(n.size>0){let M=1+ee.len,K=u[x+M];K&&K.kind==="selector"&&K.value.startsWith("[")&&(M+=1);let Se=u[x+M];if(Se&&(Se.kind==="particle"||Se.kind==="keyword")&&n.has(Se.value)){c=x,p=I,m=z||(M===ee.len+2?u[x+M-1].value:""),d=M+1,y=ee.names;break}}else{c=x,p=I,m=z,d=1+ee.len+this.matchEventMarkerPhrase(u,x+1+ee.len,r),y=ee.names;break}}}if(c===-1){let x=new Set(i.filter(w=>w.command!=="on").map(w=>w.command));for(let w=0;w<u.length;w++){let D=u[w];if(D.kind==="identifier"&&!D.value.startsWith("`"))if(n.size>0){let F=1,z=u[w+1];z&&z.kind==="selector"&&z.value.startsWith("[")&&(F=2);let A=u[w+F];if(A&&(A.kind==="particle"||A.kind==="keyword")&&n.has(A.value)){c=w,p=D.value,m=F===2?u[w+1].value:"",d=F+1;break}}else{let F=this.matchEventMarkerPhrase(u,w+1,r);if(F>0){c=w,p=D.value,m="",d=1+F;break}let z=u[w+1];if(z&&z.kind==="keyword"&&z.normalized!=null&&x.has(z.normalized)){c=w,p=D.value,m="",d=1;break}}}}if(c===-1)return null;let f=new Set;for(let x=c;x<c+d;x++)f.add(x);if(l){let x=c+d;if(x<u.length){let w=u[x];if((w.kind==="particle"||w.kind==="keyword")&&l.markers.has(w.value))f.add(x);else if(this.isStrippableSourceRef(w,l.windowTokens)){let D=u[x+1];D&&(D.kind==="particle"||D.kind==="keyword")&&l.markers.has(D.value)&&(f.add(x),f.add(x+1))}}if(c>=2){let w=u[c-1];(w.kind==="particle"||w.kind==="keyword")&&l.markers.has(w.value)&&this.isStrippableSourceRef(u[c-2],l.windowTokens)&&(f.add(c-2),f.add(c-1))}for(let w=0;w<c;w++){let D=u[w],F=D.value.toLowerCase(),z=D.normalized?.toLowerCase();if(l.windowTokens.has(F)||z&&l.windowTokens.has(z)){f.add(w);break}}}let v=u.filter((x,w)=>!f.has(w));if(v.length===0)return null;let h=i.filter(x=>x.command!=="on"),g=new Ce(v,r),k=this.coverageMark(),C=this.parseBodyWithClauses(g,h,r);if(C.length===0)return this.coverageRollback(k),null;let E={sourceLanguage:r,confidence:.75};return m&&(E.keyFilter=m),qr(L.isEnEventKeyword(p)?{type:"literal",value:p}:{type:"expression",raw:p},C,void 0,E,y)}profileKeywordMatches(t,r,i){let n=T(t)?.keywords?.[r];return n?n.primary?.toLowerCase()===i?!0:!!n.alternatives?.some(a=>a.toLowerCase()===i):!1}consumeForPostposition(t,r){let i=t.peek();if(!i)return;let n=(i.normalized??"").toLowerCase(),a=T(r)?.keywords?.for;(n==="for"||i.value===a?.primary||(a?.alternatives??[]).includes(i.value))&&t.advance()}isThenAt(t,r,i){return this.isThenKeyword(t.value,i)?!(this.isEndKeyword(t.value,i)&&xt(r,i)):!1}isThenKeyword(t,r){let i=t.toLowerCase(),a={en:new Set(["then"]),ja:new Set(["\u305D\u308C\u304B\u3089","\u6B21\u306B"]),ar:new Set(["\u062B\u0645","\u0628\u0639\u062F\u0647\u0627","\u062B\u0645\u0651"]),es:new Set(["entonces","luego","despu\xE9s"]),ko:new Set(["\uADF8\uB2E4\uC74C","\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\xE3o","depois","logo"]),fr:new Set(["puis","ensuite","alors"]),de:new Set(["dann","danach","anschlie\xDFend"]),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"])}[r];return a?a.has(i):i==="then"||this.profileKeywordMatches(r,"then",i)}isElseKeyword(t,r){let i=t.toLowerCase();return i==="else"?!0:this.profileKeywordMatches(r,"else",i)}isEndKeyword(t,r){let i=t.toLowerCase(),n=W5(r);return n?i==="end"||n.has(i):i==="end"||this.profileKeywordMatches(r,"end",i)}isJsKeyword(t){let r=(t.normalized??t.value).toLowerCase();return r==="js"||this.profileKeywordMatches("en","js",r)}isPatientMarker(t,r){let i=T(r)?.roleMarkers?.patient;if(!i?.primary)return!1;let n=t.value.toLowerCase();return i.primary.toLowerCase()===n?!0:!!i.alternatives?.some(a=>a.toLowerCase()===n)}isJsBlockTerminator(t,r){return this.isEndKeyword(t,r)||this.profileKeywordMatches(r,"end",t.toLowerCase())}consumeVerbFinalJsBlock(t,r){let i=t.mark(),n=0,a=-1;for(;;){let c=t.peek(n);if(!c||this.isThenKeyword(c.value,r)||this.isJsBlockTerminator(c.value,r))break;if(this.isJsKeyword(c)){let p=t.peek(n+1),m=!!p&&c.position?.end!==void 0&&c.position.end===p.position?.start&&this.profileKeywordMatches(r,"js",`${c.value}${p.value}`.toLowerCase()),d=t.peek(n+(m?2:1));if(n>0&&d&&this.isJsBlockTerminator(d.value,r)){a=n;break}}n++}if(a<=0)return null;let u=[];for(let c=0;c<a;c++){let p=t.peek(c);p&&u.push(p)}let o=u[u.length-1];if(o&&this.isPatientMarker(o,r)&&u.pop(),u.length===0)return t.reset(i),null;let s=this.rawJsBody(u);for(let c=0;c<a;c++)t.advance();t.advance();let l=t.peek();return l&&!this.isJsBlockTerminator(l.value,r)&&t.advance(),t.advance(),je("js",{patient:{type:"expression",raw:s||"()"}},{sourceLanguage:r,patternId:`js-opaque-final-${r}`,confidence:1})}consumeJsBlock(t,r){let i=t.peek();if(!i||!this.isJsKeyword(i))return null;let n=t.mark(),a=[];t.advance();let u=t.peek();u&&i.position?.end!==void 0&&i.position.end===u.position?.start&&this.profileKeywordMatches(r,"js",`${i.value}${u.value}`.toLowerCase())&&t.advance();let o=t.peek();o&&this.isPatientMarker(o,r)&&t.advance();let s=!1;for(;!t.isAtEnd();){let c=t.peek();if(!c)break;if(t.advance(),this.isJsBlockTerminator(c.value,r)){s=!0;break}a.push(c)}if(!s)return t.reset(n),null;let l=this.rawJsBody(a);return je("js",{patient:{type:"expression",raw:l||"()"}},{sourceLanguage:r,patternId:`js-opaque-${r}`,confidence:1})}rawJsBody(t){if(t.length===0)return"";let r=t[0].position?.start,i=t[t.length-1].position?.end,n=this.positionSource;if(n!==void 0&&r!==void 0&&i!==void 0){let u=n.slice(r,i),o=s=>s.replace(/\s+/g,"");if(o(u)===o(t.map(s=>s.value).join("")))return u.trim()}let a="";for(let u=0;u<t.length;u++){let o=t[u-1],s=o?.position?.end!==void 0&&t[u].position?.start===o.position.end;u>0&&!s&&(a+=" "),a+=t[u].value}return a.trim()}isIfKeyword(t,r){let i=t.toLowerCase();return i==="if"?!0:this.profileKeywordMatches(r,"if",i)}isUnlessKeyword(t,r){let i=t.toLowerCase();return i==="unless"?!0:this.profileKeywordMatches(r,"unless",i)}tryParseUnlessGuard(t,r,i){let n=t.peek();if(!n||!this.isUnlessKeyword((n.normalized??n.value).toLowerCase(),i))return null;let a=t.mark(),u=this.tryParseConditionalBlock(t,r,i,!0);if(!u||u.kind!=="conditional")return t.reset(a),null;let o=u;if(o.elseBranch&&o.elseBranch.length>0)return t.reset(a),null;let s=o.roles.get("condition");return s?[je("unless",{condition:s},{sourceLanguage:i,patternId:`unless-${i}-guard`,confidence:1}),...o.thenBranch]:(t.reset(a),null)}isBlockEndToken(t,r,i){let n=r.next;return(this.isEndKeyword(t.value,i)||t.kind==="keyword"&&(t.normalized??"").toLowerCase()==="end"&&!(n&&n.kind==="selector"))&&!xt(r,i)}opensNestedBlock(t,r,i){let n=(t.normalized??t.value).toLowerCase();return this.isIfKeyword(n,i)?!(r&&this.isElseKeyword(r.value,i)):this.isUnlessKeyword(n,i)?!0:n==="repeat"?t.kind==="keyword"||t.kind==="identifier":n!=="for"||t.kind!=="keyword"?!1:!(r&&$s(r))}tryParseConditionalBlock(t,r,i,n=!1){let a=t.peek();if(!a)return null;let u=(a.normalized??a.value).toLowerCase();if(!this.isIfKeyword(u,i)&&!(n&&this.isUnlessKeyword(u,i)))return null;let o=t.mark(),s=this.coverageMark();t.advance();let l=t.tokens,c=t.position(),p=[],m=0;for(;!t.isAtEnd();){let z=t.peek();if(!z)break;if(p.length>0&&this.opensNestedBlock(z,ea(p,p.length),i)){m++,p.push(z),t.advance();continue}if(this.isBlockEndToken(z,Xe(t.tokens,t.position()),i)){if(m===0){t.advance();break}m--,p.push(z),t.advance();continue}p.push(z),t.advance()}if(p.length===0)return t.reset(o),this.coverageRollback(s),null;let d=T(i),y=d?.wordOrder==="SOV"?L.buildVerbLookup(d):null,f=0,v=0,h=[],g=!1;for(;f<p.length;f++){let z=p[f],A=(z.normalized??z.value).toLowerCase();if(f>0&&(this.isIfKeyword(A,i)||this.isUnlessKeyword(A,i))?v++:this.isBlockEndToken(z,Xe(l,c+f),i)&&v--,v===0&&this.isThenAt(z,Xe(l,c+f),i)){g=!0,f++;break}if(v===0&&h.length>0){let S=(z.normalized??z.value).toLowerCase(),R=Sz(p[f-1],z,h.length===1,i),W=y!==null&&y.has(z.value.toLowerCase())&&!rv.has(S),_=/^\.[a-zA-Z_]\w*$/.test(z.value)&&p[f-1].position?.end!==void 0&&z.position?.start!==void 0&&p[f-1].position.end===z.position.start;if(!L.CONDITION_OPERATORS.has(S)&&!_&&(!R||W)&&(this.tokensBeginCommand(p.slice(f),r,i)||this.sovCommandStartsAt(p.slice(f),y)))break}h.push(z)}if(h.length===0)return t.reset(o),this.coverageRollback(s),null;let k=[],C=[],E=!1,x=0;for(;f<p.length;f++){let z=p[f];if(this.opensNestedBlock(z,ea(p,f),i)?x++:this.isBlockEndToken(z,Xe(l,c+f),i)&&x--,x===0&&!E&&this.isElseKeyword(z.value,i)){E=!0;continue}(E?C:k).push(z)}let w={type:"expression",raw:this.joinTokenText(h,i)},D=this.parseBranch(k,r,i),F=C.length>0?this.parseBranch(C,r,i):void 0;return D.length===0&&(!F||F.length===0)?(t.reset(o),this.coverageRollback(s),null):Df(w,D,F,{sourceLanguage:i,patternId:`conditional-${i}-folded`,confidence:1})}joinTokenText(t,r){return ft(t,T(r))}tokensBeginCommand(t,r,i){if(t.length===0)return!1;let n=new Ce(t,i);return qe.matchBest(n,r)!==null}sovCommandStartsAt(t,r){if(!r)return!1;let i=o=>r.has(o.value.toLowerCase())||!!o.normalized&&r.has(o.normalized.toLowerCase()),n=o=>o.kind==="identifier"||o.kind==="selector"||o.kind==="literal"||o.kind==="reference",a=0,u=0;for(;a+1<t.length;){let o=t[a],s=t[a+1];if(!n(o)||s.kind!=="particle")break;u+=1,a+=2;let l=t[a];if(u>=1&&l&&i(l))return!0}return!1}parseBranch(t,r,i){if(t.length===0)return[];let n=new Ce(t,i),a=this.parseBodyWithClauses(n,r,i);return a.length===1&&a[0]?.kind==="compound"?a[0].statements:a}extractStandaloneModifiers(t,r){let n=se(t,r).tokens;if(n.length===0)return{modifiers:null,remainingInput:null};let u=n[0].value.toLowerCase(),o=f=>n[f]?.value.toLowerCase(),s=f=>!!n[f]&&n[f].kind!=="selector";if(u==="on"&&o(1)==="first"&&n.length>2)return{modifiers:{once:!0,onceAsFirst:!0},remainingInput:t.slice(0,n[1].position.start)+t.slice(n[2].position.start)};if(u==="first"&&s(1))return{modifiers:{once:!0,onceAsFirst:!0},remainingInput:t.slice(n[1].position.start)};let l=L.STANDALONE_MODIFIERS[u];if(!l)return{modifiers:null,remainingInput:null};let c={},p=1;if(l==="once")c.once=!0;else{let f=1;if(f<n.length){let v=n[f],h=n[f+1],g=v.kind==="identifier"&&h?.kind==="literal"&&/^\d+(ms|s|m)?$/.test(h.value);(v.kind==="keyword"||v.kind==="particle"||g)&&(f++,p++)}if(f<n.length){let v=n[f];if(v.kind==="literal"){let h=v.value.match(/^(\d+)(ms|s|m)?$/);if(h){let g=parseInt(h[1],10),k=h[2]||"ms";k==="s"?g*=1e3:k==="m"&&(g*=6e4),c[l]=g,p=f+1}}}c[l]||(c[l]=l==="debounce"?300:100)}let m=n.slice(p);if(m.length===0)return{modifiers:null,remainingInput:null};let d=m[0].position.start,y=t.slice(d);return{modifiers:c,remainingInput:y}}stripAsyncModifier(t,r){let i=T(r)?.keywords?.async,n=new Set(["async"]);i?.primary&&n.add(i.primary.toLowerCase()),i?.alternatives?.forEach(l=>n.add(l.toLowerCase()));let a=se(t,r).tokens,u=a.findIndex(l=>n.has(l.value.toLowerCase()));if(u===-1)return{remainingInput:null};let o=a[u],s=(t.slice(0,o.position.start)+t.slice(o.position.end)).replace(/\s{2,}/g," ").trim();return s.length===0?{remainingInput:null}:{remainingInput:s}}stripDoNotThrowModifier(t,r){let i=se(t,r).tokens;for(let n=0;n<i.length-1;n++){if(i[n].value.toLowerCase()!=="do")continue;let a=-1;for(let l=n+1;l<=n+5&&l<i.length;l++){let c=i[l];if(c.normalized?.toLowerCase()==="throw"){a=l;break}let p=c.kind;if(p==="selector"||p==="literal"||p==="reference"||p==="conjunction")break}if(a===-1)continue;let u=i[n].position.start,o=i[a].position.end,s=(t.slice(0,u)+t.slice(o)).replace(/\s{2,}/g," ").trim();return s.length===0?{remainingInput:null}:{remainingInput:s}}return{remainingInput:null}}static droppedTokenCount(t){return(t.diagnostics??[]).filter(r=>r.code==="unconsumed-input").reduce((r,i)=>r+(parseInt(/left (\d+) token/.exec(i.message)?.[1]??"0",10)||0),0)}static unconsumedSpans(t){return(t.diagnostics??[]).filter(r=>r.code==="unconsumed-input").map(r=>/unconsumed: "(.*)"$/.exec(r.message)?.[1]).filter(r=>!!r).map(r=>r.replace(/\s+/g," ").trim())}static withoutSpanDiagnostics(t,r){return{...t,diagnostics:(t.diagnostics??[]).filter(i=>{if(i.code!=="unconsumed-input")return!0;let n=/unconsumed: "(.*)"$/.exec(i.message)?.[1];return!n||n.replace(/\s+/g," ").trim()!==r})}}static sourceNounValue(t){if(t.kind==="selector")return ot(t.value);let r=(t.normalized??t.value).toLowerCase();return mt(r)?{type:"reference",value:r}:{type:"literal",value:t.value,dataType:"string"}}reclaimDanglingFromTail(t,r,i){let n=L.droppedTokenCount,a=L.unconsumedSpans(t);if(a.length===0)return null;let u=n(t),o=T(i)?.roleMarkers?.source,s=new Set;o?.primary&&s.add(o.primary),o?.alternatives?.forEach(c=>s.add(c));let l=se(r,i).tokens;for(let c=0;c<l.length;c++){let p=l[c];if(p.normalized!=="source"&&!s.has(p.value))continue;let m=o?.position==="after"?c-1:c+1,d=l[m];if(!d||d.kind!=="identifier"&&d.kind!=="keyword")continue;let y=Math.min(p.position.start,d.position.start),f=Math.max(p.position.end,d.position.end),v=r.slice(y,f).replace(/\s+/g," ").trim();if(!a.some(g=>g===v||g.includes(v)))continue;let h=(r.slice(0,y).trimEnd()+" "+r.slice(f).trimStart()).trim();if(!(!h||h===r))try{let g=this.parse(h,i);if(!g||g.kind!=="event-handler")continue;let k=ia(g);if(n(k)<u)return{node:{...k,eventModifiers:{...k.eventModifiers,from:L.sourceNounValue(d)}},input:h}}catch{}}return null}reclaimEventCompoundTail(t,r,i){let n=L.unconsumedSpans(t);if(n.length===0)return null;let a=it[i];if(!a)return null;let u=t.roles,o=u.get("event"),s=o?.type==="literal"&&typeof o.value=="string"?o.value:null;if(!s)return null;let l=p=>p.replace(/\s+/g," ").trim(),c=se(r,i).tokens;for(let p of n)for(let m=1;m<c.length;m++)for(let d=m;d<c.length;d++){let y=l(r.slice(c[m].position.start,c[d].position.end));if(y.length>p.length)break;if(y!==p)continue;let f=c[m-1];if((a[f.value]??f.normalized)!==s)break;let h=l(r.slice(f.position.start,c[d].position.end)),g=a[h];if(!g)break;return u.set("event",{type:"literal",value:g,dataType:"string"}),{node:L.withoutSpanDiagnostics(t,p),input:r}}return null}reclaimResponseTypeTail(t,r,i){let n=L.unconsumedSpans(t);if(n.length===0)return null;let a=L.AS_MARKERS_BEFORE[i];if(!a)return null;let u=l=>l.replace(/\s+/g," ").trim(),o=L.droppedTokenCount(t),s=se(r,i).tokens;for(let l=0;l+1<s.length;l++){let c=s[l],p=s[l+1];if(!a.some(y=>c.value.toLowerCase()===y)||!L.RESPONSE_TYPE_WORDS.has(p.value.toLowerCase()))continue;let m=u(r.slice(c.position.start,p.position.end));if(!n.includes(m))continue;let d=(r.slice(0,c.position.start).trimEnd()+" "+r.slice(p.position.end).trimStart()).trim();if(!(!d||d===r))try{let y=this.parse(d,i);if(!y||y.kind!=="event-handler")continue;let f=ia(y);if(L.droppedTokenCount(f)>=o)continue;let v=L.findResponseTypeTarget(f);if(!v)continue;return v.roles.set("responseType",{type:"expression",raw:p.value}),{node:f,input:d}}catch{}}return null}static findResponseTypeTarget(t){let r=null,i=n=>{if(!n||typeof n!="object"||r)return;if(n.kind==="command"){let u=n;if(ge(u.action)?.roles.some(s=>s.role==="responseType"&&!s.required)&&!u.roles.has("responseType")){r=u;return}}let a=n;for(let u of["body","statements","thenBranch","elseBranch","commands"]){let o=a[u];Array.isArray(o)&&o.forEach(s=>i(s))}};return i(t),r}reclaimCapturedDestinationTail(t,r,i){let n=L.unconsumedSpans(t);if(n.length===0)return null;let a=T(i)?.roleMarkers?.destination,u=new Set;if(a?.primary&&u.add(a.primary),a?.alternatives?.forEach(l=>u.add(l)),u.size===0)return null;let o=l=>l.replace(/\s+/g," ").trim(),s=se(r,i).tokens;for(let l=0;l+1<s.length;l++){let c=s[l],p=s[l+1],m=u.has(c.value)&&p.normalized==="me",d=c.normalized==="me"&&u.has(p.value);if(!m&&!d)continue;let y=o(r.slice(c.position.start,p.position.end));if(!n.includes(y))continue;let f=!1,v=h=>{if(!h||typeof h!="object"||f)return;if(h.kind==="command"){let k=h.roles.get("destination");if(k?.type==="reference"&&k.value==="me"){f=!0;return}}let g=h;for(let k of["body","statements","thenBranch","elseBranch","commands"]){let C=g[k];Array.isArray(C)&&C.forEach(E=>v(E))}};if(v(t),!!f)return{node:L.withoutSpanDiagnostics(t,y),input:r}}return null}applyModifiers(t,r){return{...t,eventModifiers:{...t.eventModifiers,...r}}}extractOrConjunctionEvents(t,r){let i=[];for(;;){let n=t.mark(),a=t.peek();if(!a)break;if(!Gn(a,r)){t.reset(n);break}t.advance();let u=t.peek();if(!u){t.reset(n);break}let o=u.normalized||u.value;t.advance(),i.push({type:"literal",value:o})}return i}};Qe.coverageMarkerSurfaces=new Map,Qe.LEAKED_RENDER_MARKERS={hi:["\u0915\u0947","\u0930\u0942\u092A","\u092E\u0947\u0902"],tr:["olarak"],qu:["hina"]},Qe.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"]},Qe.AS_MARKERS_AFTER={ko:[["\uB85C"],["\uC73C\uB85C"]],qu:[["hina"]],tr:[["olarak"]],hi:[["\u0915\u0947","\u0930\u0942\u092A","\u092E\u0947\u0902"]]},Qe.enEventKeywordCache=new Map,Qe.KNOWN_EVENTS=new Set(["click","dblclick","input","change","submit","keydown","keyup","keypress","mouseover","mouseout","mousedown","mouseup","focus","blur","load","scroll","resize","contextmenu"]),Qe.RESPONSE_TYPE_WORDS=new Set(["json","text","html","xml","blob","arraybuffer","formdata","response"]),Qe.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"])},Qe.SOV_EVENT_MARKER_PHRASES={ko:[["\uD560","\uB54C"],["\uD560\uB54C"]]},Qe.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"])}},Qe.CONDITION_OPERATORS=new Set(["matches","match","contains","exists","has","have","equals","includes"]),Qe.STANDALONE_MODIFIERS={once:"once",debounced:"debounce",debounce:"debounce",throttled:"throttle",throttle:"throttle"};var na=Qe,aa=new na;function Xr(e,t){return aa.parse(e,t)}function Bw(e,t){return aa.canParse(e,t)}function Sw(e,t){try{return aa.parse(e,t).action}catch{return null}}function Fw(){let e={};for(let[t,r]of Object.entries(na.SOV_EVENT_MARKERS))e[t]=[...r];for(let[t,r]of Object.entries(na.SOV_EVENT_MARKER_PHRASES))e[t]=[...e[t]??[],...r.map(i=>i.join(" "))];return e}Te();function Tw(e,t){if(at(e))return e;let r=Xr(e,t);return Qn(r)}function Xv(e,t){let r=Ms(e);return rr(r,t)}function rl(e,t,r){if(at(e))return Xv(e,r);let i=Xr(e,t);return rr(i,r)}function Qi(e,t){return at(e)?Ms(e):Xr(e,t)}function Lw(e,t,r){let i=Qi(e,t),n=r??t,a=at(e)?Qn(i):rr(i,n);if(r!==void 0)return a;let u=e.trim().toLowerCase(),o=a.trim().toLowerCase();return{original:e,semantic:i,rendered:a,matches:u===o}}function Pw(e,t,r=sr()){return Qv(e,t,r).translations}function Qv(e,t,r=sr()){let i={},n={},a=Qi(e,t);for(let u of r)try{i[u]=rr(a,u)}catch(o){n[u]=o instanceof Error?o.message:String(o)}return i.explicit=Qn(a),{translations:i,failed:n}}function _w(e,t,r,i){try{let n=Qi(e,r),a=Qi(t,i);if(n.action!==a.action)return!1;for(let[u,o]of n.roles){let s=a.roles.get(u);if(!s||!Jv(o,s))return!1}return!0}catch{return!1}}function Jv(e,t){if(e.type!==t.type)return!1;switch(e.type){case"literal":return e.value===t.value;case"selector":return e.value===t.value;case"reference":return e.value===t.value;case"property-path":return Jv(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}}var Hs=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 this.config.ttlMs===0?!1:Date.now()-e.createdAt>this.config.ttlMs}evictLRU(){let e=this.cache.keys().next().value;e!==void 0&&(this.cache.delete(e),this.stats.evictions++)}get(e,t){if(!this.config.enabled){this.stats.misses++;return}let r=this.makeKey(e,t),i=this.cache.get(r);if(!i){this.stats.misses++;return}if(this.isExpired(i)){this.cache.delete(r),this.stats.expirations++,this.stats.misses++;return}return this.cache.delete(r),i.lastAccessed=Date.now(),this.cache.set(r,i),this.stats.hits++,i.result}set(e,t,r){if(!this.config.enabled||r!==null&&typeof r=="object"&&"confidence"in r&&r.confidence===0)return;let i=this.makeKey(e,t),n=Date.now();for(;this.cache.size>=this.config.maxSize;)this.evictLRU();this.cache.set(i,{result:r,createdAt:n,lastAccessed:n})}has(e,t){if(!this.config.enabled)return!1;let r=this.makeKey(e,t),i=this.cache.get(r);return i?this.isExpired(i)?(this.cache.delete(r),this.stats.expirations++,!1):!0:!1}delete(e,t){let 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(){let 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(e.maxSize!==void 0)for(this.config.maxSize=e.maxSize;this.cache.size>this.config.maxSize;)this.evictLRU();e.ttlMs!==void 0&&(this.config.ttlMs=e.ttlMs),e.enabled!==void 0&&(this.config.enabled=e.enabled)}enable(){this.config.enabled=!0}disable(){this.config.enabled=!1}getConfig(){return{...this.config}}},eh=new Hs;function Rw(e){return new Hs(e)}function jw(e,t=eh){return((r,i)=>{let n=t.get(r,i);if(n)return n;let a=e(r,i);return t.set(r,i,a),a})}Zu(),yi(),le("ar",Bn,lr),W4(),fi(),le("bn",Yo,cr),Sd(),vi(),le("de",ho,pr),Wu(),Yt(),cf(),le("en",xn,Tt),ou("en",Jy()),eo(),hi(),le("es",Sn,mr),gd(),gi(),le("fr",yo,dr),D4(),Ei(),le("he",Vo,yr),P4(),ki(),le("hi",Uo,fr),Pd(),zi(),le("id",Eo,vr),n4(),Ci(),le("it",Bo,hr),Vu(),wi(),le("ja",bn,gr),Uu(),Ai(),le("ko",Dn,Er),U4(),xi(),le("ms",Jo,kr),f4(),bi(),le("pl",_o,zr),ud(),Di(),le("pt",co,Cr),Vd(),Bi(),le("qu",Co,wr),E4(),Si(),le("ru",No,Ar),Gd(),Fi(),le("sw",Ao,xr),V4(),Ti(),le("th",Xo,br),ry(),Li(),le("tl",ts,Dr),no(),Pi(),le("tr",Fn,Br),w4(),_i(),le("uk",qo,Sr),p4(),Ri(),le("vi",Fo,Fr),uo(),ji(),le("zh",Tn,Tr);var Ow={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"},times:{primary:"\u0645\u0631\u0627\u062A"}},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:"null"},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"}}};de("ar",Ow);var Nw={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"}}};de("bn",Nw);var Iw={events:{blur:{primary:"defokussieren"},change:{primary:"\xE4ndern"},click:{primary:"klick"},dblclick:{primary:"doppelklick"},focus:{primary:"fokus"},input:{primary:"eingabe"},keydown:{primary:"taste unten"},keypress:{primary:"tastedr\xFCcken"},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\xFCber"},mouseup:{primary:"mouseup"},reset:{primary:"zur\xFCcksetzen"},resize:{primary:"gr\xF6\xDFen\xE4nderung"},scroll:{primary:"scrollen"},submit:{primary:"absenden"},touchcancel:{primary:"ber\xFChrungabbrechen"},touchend:{primary:"ber\xFChrungend"},touchmove:{primary:"ber\xFChrungbewegen"},touchstart:{primary:"ber\xFChrungstart"},unload:{primary:"entladen"}},logical:{and:{primary:"und"},changes:{primary:"\xE4ndert"},contains:{primary:"enth\xE4lt"},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"},times:{primary:"mal"}},values:{body:{primary:"k\xF6rper"},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\xE4chstgelegene"},empty:{primary:"leer"},"ends with":{primary:"endet mit"},exclusive:{primary:"exklusiv"},first:{primary:"erste"},"ignoring case":{primary:"ohne Gro\xDF-/Kleinschreibung"},inclusive:{primary:"inklusiv"},"joined by":{primary:"verbunden mit"},last:{primary:"letzte"},"mapped to":{primary:"zugeordnet zu"},next:{primary:"n\xE4chste"},no:{primary:"kein"},parent:{primary:"elternteil"},prev:{primary:"vorh"},previous:{primary:"vorherige"},random:{primary:"zuf\xE4llig"},some:{primary:"einige"},"sorted by":{primary:"sortiert nach"},"split by":{primary:"geteilt durch"},"starts with":{primary:"beginnt mit"},within:{primary:"innerhalb"}}};de("de",Iw);var Mw={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"}}};de("en",Mw);var Ww={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\xF3n abajo"},mouseenter:{primary:"rat\xF3nentrar"},mouseleave:{primary:"rat\xF3nsalir"},mousemove:{primary:"rat\xF3nmover"},mouseout:{primary:"rat\xF3n fuera"},mouseover:{primary:"rat\xF3n encima"},mouseup:{primary:"rat\xF3n arriba"},reset:{primary:"reiniciar"},resize:{primary:"redimensionar"},scroll:{primary:"desplazar"},submit:{primary:"env\xEDo"},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"},times:{primary:"veces"}},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\xEDo"},"ends with":{primary:"termina con"},exclusive:{primary:"exclusivo"},first:{primary:"primero"},"ignoring case":{primary:"ignorando may\xFAsculas"},inclusive:{primary:"inclusivo"},"joined by":{primary:"unido por"},last:{primary:"\xFAltimo"},"mapped to":{primary:"transformado a"},next:{primary:"siguiente"},no:{primary:"ning\xFAn"},parent:{primary:"padre"},prev:{primary:"ant"},previous:{primary:"anterior"},random:{primary:"aleatorio"},some:{primary:"alg\xFAn"},"sorted by":{primary:"ordenado por"},"split by":{primary:"dividido por"},"starts with":{primary:"empieza con"},within:{primary:"dentro"}}};de("es",Ww);var qw={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\xE9e"},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\xE9initialiser"},resize:{primary:"redimensionner"},scroll:{primary:"d\xE9filer"},submit:{primary:"soumettre"},touchcancel:{primary:"toucherannuler"},touchend:{primary:"toucherfin"},touchmove:{primary:"toucherbouger"},touchstart:{primary:"touchercommencer"},unload:{primary:"d\xE9charger"}},logical:{and:{primary:"et"},changes:{primary:"change"},contains:{primary:"contient"},else:{primary:"sinon"},end:{primary:"fin"},equals:{primary:"\xE9gale"},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\xF9"}},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"},times:{primary:"fois"}},values:{body:{primary:"corps"},detail:{primary:"d\xE9tail"},document:{primary:"document"},element:{primary:"\xE9l\xE9ment"},event:{primary:"\xE9v\xE9nement"},false:{primary:"faux"},it:{primary:"\xE7a"},its:{primary:"son"},me:{primary:"moi"},my:{primary:"mon"},myself:{primary:"moi-m\xEAme"},null:{primary:"nul"},result:{primary:"r\xE9sultat"},target:{primary:"cible"},true:{primary:"vrai"},undefined:{primary:"ind\xE9fini"},value:{primary:"valeur"},window:{primary:"fen\xEAtre"},you:{primary:"tu"},your:{primary:"ton"},yourself:{primary:"toi-m\xEAme"}},attributes:{attribute:{primary:"attribut"},attributes:{primary:"attributs"},class:{primary:"classe"},classes:{primary:"classes"},properties:{primary:"propri\xE9t\xE9s"},property:{primary:"propri\xE9t\xE9"},style:{primary:"style"},styles:{primary:"styles"}},expressions:{at:{primary:"\xE0"},characters:{primary:"caract\xE8res"},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\xE9 en"},next:{primary:"suivant"},no:{primary:"aucun"},parent:{primary:"parent"},prev:{primary:"pr\xE9c"},previous:{primary:"pr\xE9c\xE9dent"},random:{primary:"al\xE9atoire"},some:{primary:"quelques"},"sorted by":{primary:"tri\xE9 par"},"split by":{primary:"divis\xE9 par"},"starts with":{primary:"commence par"},within:{primary:"dans"}}};de("fr",qw);var $w={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"}},temporal:{times:{primary:"\u05E4\u05E2\u05DE\u05D9\u05DD"}},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"}}};de("he",$w);var Vw={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"},times:{primary:"\u092C\u093E\u0930"}},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:"null"},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:"\u0915\u094B\u0908 \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"}}};de("hi",Vw);var Kw={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"},times:{primary:"kali"}},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:"null"},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"}}};de("id",Kw);var Hw={events:{blur:{primary:"sfuocare"},change:{primary:"cambio"},click:{primary:"clic"},dblclick:{primary:"doppioclic"},focus:{primary:"fuoco"},input:{primary:"input"},keydown:{primary:"tastogi\xF9"},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:"\xE8"},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"},times:{primary:"volte"}},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\xE0"},property:{primary:"propriet\xE0"},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"}}};de("it",Hw);var Uw={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"},times:{primary:"\u56DE"}},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"}}};de("ja",Uw);var Gw={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"},times:{primary:"\uBC88"}},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"}}};de("ko",Gw);var Yw={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"}}};de("ms",Yw);var Zw={events:{blur:{primary:"rozmycie"},change:{primary:"zmiana"},click:{primary:"klikni\u0119cie"},dblclick:{primary:"podw\xF3jneklikni\u0119cie"},focus:{primary:"fokus"},input:{primary:"wej\u015Bcie"},keydown:{primary:"klawiszd\xF3\u0142"},keypress:{primary:"klawisznaci\u015Bni\u0119cie"},keyup:{primary:"klawiszg\xF3ra"},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\xF3wna 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"},times:{primary:"razy"}},values:{body:{primary:"body"},detail:{primary:"szczeg\xF3\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\xF3j"},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\xF3j"},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"}}};de("pl",Zw);var Xw={events:{blur:{primary:"desfoque"},change:{primary:"mudan\xE7a"},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\xEDcio"},unload:{primary:"descarregar"}},logical:{and:{primary:"e"},changes:{primary:"muda"},contains:{primary:"cont\xE9m"},else:{primary:"sen\xE3o"},end:{primary:"fim"},equals:{primary:"igual"},exists:{primary:"existe"},has:{primary:"tem"},have:{primary:"tenho"},includes:{primary:"inclui"},is:{primary:"\xE9"},live:{primary:"vivo"},matches:{primary:"corresponde"},not:{primary:"n\xE3o"},or:{primary:"ou"},otherwise:{primary:"caso_contr\xE1rio"},then:{primary:"ent\xE3o"},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"},times:{primary:"vezes"}},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\xEA"},your:{primary:"seu"},yourself:{primary:"voc\xEA 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\xF3ximo"},empty:{primary:"vazio"},"ends with":{primary:"termina com"},exclusive:{primary:"exclusivo"},first:{primary:"primeiro"},"ignoring case":{primary:"ignorando mai\xFAsculas"},inclusive:{primary:"inclusivo"},"joined by":{primary:"unido por"},last:{primary:"\xFAltimo"},"mapped to":{primary:"mapeado para"},next:{primary:"pr\xF3ximo"},no:{primary:"nenhum"},parent:{primary:"pai"},prev:{primary:"ant"},previous:{primary:"anterior"},random:{primary:"aleat\xF3rio"},some:{primary:"algum"},"sorted by":{primary:"ordenado por"},"split by":{primary:"dividido por"},"starts with":{primary:"come\xE7a com"},within:{primary:"dentro"}}};de("pt",Xw);var Qw={events:{blur:{primary:"paqariy"},change:{primary:"kambiay"},click:{primary:"\xF1itiy"},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\xF1itiy"},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:"hinallataq"},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"},times:{primary:"kuti"}},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:"null"},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:"\xF1awpaq"},"ignoring case":{primary:"hatun-huchuy qillqata-saqiy"},"joined by":{primary:"hu\xF1usqa"},last:{primary:"qhipa"},"mapped to":{primary:"kay kaqman"},next:{primary:"qhipantin"},no:{primary:"mana_kanchu"},parent:{primary:"mama_tayta"},prev:{primary:"\xF1awpaq"},previous:{primary:"\xF1awpaqnin"},random:{primary:"imaymanata"},some:{primary:"wakin"},"sorted by":{primary:"niqpi ruwasqa"},"split by":{primary:"rakisqa"},"starts with":{primary:"qallarisqa wan"},within:{primary:"ukupi"}}};de("qu",Qw);var Jw={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"},times:{primary:"\u0440\u0430\u0437"}},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"}}};de("ru",Jw);var e6={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"},times:{primary:"mara"}},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:"null"},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"}}};de("sw",e6);var t6={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:"null"},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"}}};de("th",t6);var r6={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:"naglalaman"},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"}}};de("tl",r6);var i6={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\xFCkle"},mousedown:{primary:"farebas"},mouseenter:{primary:"mouseenter"},mouseleave:{primary:"mouseleave"},mousemove:{primary:"mousemove"},mouseout:{primary:"fared\u0131\u015F\u0131nda"},mouseover:{primary:"farei\xE7inde"},mouseup:{primary:"fareb\u0131rak"},reset:{primary:"s\u0131f\u0131rla"},resize:{primary:"boyutland\u0131rma"},scroll:{primary:"kayd\u0131r"},submit:{primary:"g\xF6nderme"},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\xE7erir"},else:{primary:"yoksa"},end:{primary:"son"},equals:{primary:"e\u015Fittir"},exists:{primary:"var"},has:{primary:"var"},have:{primary:"var"},includes:{primary:"i\xE7erir"},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"},times:{primary:"kez"}},values:{body:{primary:"g\xF6vde"},detail:{primary:"detay"},document:{primary:"belge"},element:{primary:"\xF6\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:"null"},result:{primary:"sonu\xE7"},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:"\xF6zellik"},attributes:{primary:"\xF6zellikler"},class:{primary:"s\u0131n\u0131f"},classes:{primary:"s\u0131n\u0131flar"},properties:{primary:"\xF6zellikler"},property:{primary:"\xF6zellik"},style:{primary:"stil"},styles:{primary:"stiller"}},expressions:{at:{primary:"de"},characters:{primary:"karakterler"},children:{primary:"\xE7ocuklar"},closest:{primary:"enyak\u0131n"},empty:{primary:"bo\u015F"},"ends with":{primary:"ile biter"},exclusive:{primary:"hari\xE7"},first:{primary:"ilk"},"ignoring case":{primary:"b\xFCy\xFCk k\xFC\xE7\xFCk harf duyars\u0131z"},inclusive:{primary:"dahil"},"joined by":{primary:"ile birle\u015Ftirilmi\u015F"},last:{primary:"sonuncu"},"mapped to":{primary:"ye d\xF6n\xFC\u015Ft\xFCr\xFClm\xFC\u015F"},next:{primary:"sonraki"},no:{primary:"yok"},parent:{primary:"ebeveyn"},prev:{primary:"\xF6nc"},previous:{primary:"\xF6nceki"},random:{primary:"rastgele"},some:{primary:"baz\u0131"},"sorted by":{primary:"g\xF6re s\u0131ral\u0131"},"split by":{primary:"ile b\xF6l\xFCnm\xFC\u015F"},"starts with":{primary:"ile ba\u015Flar"},within:{primary:"i\xE7inde"}}};de("tr",i6);var n6={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"},times:{primary:"\u0440\u0430\u0437\u0456\u0432"}},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"}}};de("uk",n6);var a6={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\xEDch th\u01B0\u1EDBc"},scroll:{primary:"cu\u1ED9n"},submit:{primary:"n\u1ED9p"}},logical:{and:{primary:"v\xE0"},changes:{primary:"thay \u0111\u1ED5i"},contains:{primary:"ch\u1EE9a"},else:{primary:"kh\xF4ng th\xEC"},empty:{primary:"tr\u1ED1ng"},end:{primary:"k\u1EBFt th\xFAc"},equals:{primary:"b\u1EB1ng"},exists:{primary:"t\u1ED3n t\u1EA1i"},false:{primary:"sai"},has:{primary:"c\xF3"},have:{primary:"c\xF3"},is:{primary:"l\xE0"},live:{primary:"live"},matches:{primary:"kh\u1EDBp"},not:{primary:"kh\xF4ng"},null:{primary:"r\u1ED7ng"},or:{primary:"ho\u1EB7c"},then:{primary:"r\u1ED3i"},true:{primary:"\u0111\xFAng"},when:{primary:"khi"},where:{primary:"\u1EDF_\u0111\xE2u"}},temporal:{always:{primary:"lu\xF4n lu\xF4n"},forever:{primary:"m\xE3i m\xE3i"},never:{primary:"kh\xF4ng bao gi\u1EDD"},now:{primary:"b\xE2y gi\u1EDD"},once:{primary:"m\u1ED9t l\u1EA7n"},sometimes:{primary:"\u0111\xF4i khi"},times:{primary:"l\u1EA7n"},today:{primary:"h\xF4m nay"},tomorrow:{primary:"ng\xE0y mai"},twice:{primary:"hai l\u1EA7n"},yesterday:{primary:"h\xF4m 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\xF3"},its:{primary:"c\u1EE7a n\xF3"},me:{primary:"t\xF4i"},my:{primary:"c\u1EE7a t\xF4i"},none:{primary:"kh\xF4ng c\xF3"},null:{primary:"r\u1ED7ng"},result:{primary:"k\u1EBFt qu\u1EA3"},some:{primary:"m\u1ED9t s\u1ED1"},target:{primary:"m\u1EE5c ti\xEAu"},true:{primary:"\u0111\xFAng"},undefined:{primary:"kh\xF4ng x\xE1c \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\xF4 hi\u1EC7u"},hidden:{primary:"\u1EA9n"},href:{primary:"li\xEAn 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\xE1 tr\u1ECB"}},expressions:{characters:{primary:"k\xFD t\u1EF1"},children:{primary:"con"},closest:{primary:"g\u1EA7n nh\u1EA5t"},empty:{primary:"l\xE0m-r\u1ED7ng"},"ends with":{primary:"k\u1EBFt th\xFAc b\u1EB1ng"},event:{primary:"s\u1EF1 ki\u1EC7n"},exclusive:{primary:"lo\u1EA1i tr\u1EEB"},first:{primary:"\u0111\u1EA7u ti\xEAn"},"ignoring case":{primary:"kh\xF4ng ph\xE2n bi\u1EC7t hoa th\u01B0\u1EDDng"},inclusive:{primary:"bao g\u1ED3m"},it:{primary:"n\xF3"},its:{primary:"c\u1EE7a n\xF3"},"joined by":{primary:"n\u1ED1i b\u1EDFi"},last:{primary:"cu\u1ED1i c\xF9ng"},"mapped to":{primary:"\xE1nh x\u1EA1 th\xE0nh"},me:{primary:"t\xF4i"},my:{primary:"c\u1EE7a t\xF4i"},next:{primary:"ti\u1EBFp theo"},parent:{primary:"cha"},previous:{primary:"tr\u01B0\u1EDBc \u0111\xF3"},random:{primary:"ng\u1EABu nhi\xEAn"},result:{primary:"k\u1EBFt qu\u1EA3"},"sorted by":{primary:"s\u1EAFp x\u1EBFp theo"},"split by":{primary:"t\xE1ch b\u1EDFi"},"starts with":{primary:"b\u1EAFt \u0111\u1EA7u b\u1EB1ng"},target:{primary:"m\u1EE5c ti\xEAu"}}};de("vi",a6);var u6={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"},times:{primary:"\u6B21"}},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"}}};de("zh",u6),Te();var Us={en:async()=>{let{englishTokenizer:e}=await Promise.resolve().then(()=>(Wu(),sm)),{englishProfile:t}=await Promise.resolve().then(()=>(Yt(),Nc)),{buildEnglishPatterns:r}=await Promise.resolve().then(()=>(cf(),Qy));return{tokenizer:e,profile:t,buildPatterns:r}},es:async()=>{let{spanishTokenizer:e}=await Promise.resolve().then(()=>(eo(),jm)),{spanishProfile:t}=await Promise.resolve().then(()=>(hi(),Ic));return{tokenizer:e,profile:t}},ja:async()=>{let{japaneseTokenizer:e}=await Promise.resolve().then(()=>(Vu(),dm)),{japaneseProfile:t}=await Promise.resolve().then(()=>(wi(),Kc));return{tokenizer:e,profile:t}},ar:async()=>{let{arabicTokenizer:e}=await Promise.resolve().then(()=>(Zu(),xm)),{arabicProfile:t}=await Promise.resolve().then(()=>(yi(),Rc));return{tokenizer:e,profile:t}},ko:async()=>{let{koreanTokenizer:e}=await Promise.resolve().then(()=>(Uu(),gm)),{koreanProfile:t}=await Promise.resolve().then(()=>(Ai(),Hc));return{tokenizer:e,profile:t}},zh:async()=>{let{chineseTokenizer:e}=await Promise.resolve().then(()=>(uo(),Hm)),{chineseProfile:t}=await Promise.resolve().then(()=>(ji(),np));return{tokenizer:e,profile:t}},tr:async()=>{let{turkishTokenizer:e}=await Promise.resolve().then(()=>(no(),qm)),{turkishProfile:t}=await Promise.resolve().then(()=>(Pi(),tp));return{tokenizer:e,profile:t}},pt:async()=>{let{portugueseTokenizer:e}=await Promise.resolve().then(()=>(ud(),id)),{portugueseProfile:t}=await Promise.resolve().then(()=>(Di(),Yc));return{tokenizer:e,profile:t}},fr:async()=>{let{frenchTokenizer:e}=await Promise.resolve().then(()=>(gd(),vd)),{frenchProfile:t}=await Promise.resolve().then(()=>(gi(),Mc));return{tokenizer:e,profile:t}},de:async()=>{let{germanTokenizer:e}=await Promise.resolve().then(()=>(Sd(),Dd)),{germanProfile:t}=await Promise.resolve().then(()=>(vi(),Oc));return{tokenizer:e,profile:t}},id:async()=>{let{indonesianTokenizer:e}=await Promise.resolve().then(()=>(Pd(),Fd)),{indonesianProfile:t}=await Promise.resolve().then(()=>(zi(),$c));return{tokenizer:e,profile:t}},qu:async()=>{let{quechuaTokenizer:e}=await Promise.resolve().then(()=>(Vd(),Md)),{quechuaProfile:t}=await Promise.resolve().then(()=>(Bi(),Zc));return{tokenizer:e,profile:t}},sw:async()=>{let{swahiliTokenizer:e}=await Promise.resolve().then(()=>(Gd(),Kd)),{swahiliProfile:t}=await Promise.resolve().then(()=>(Fi(),Qc));return{tokenizer:e,profile:t}},bn:async()=>{let{bengaliTokenizer:e}=await Promise.resolve().then(()=>(W4(),N4)),{bengaliProfile:t}=await Promise.resolve().then(()=>(fi(),jc));return{tokenizer:e,profile:t}},hi:async()=>{let{hindiTokenizer:e}=await Promise.resolve().then(()=>(P4(),F4)),{hindiProfile:t}=await Promise.resolve().then(()=>(ki(),qc));return{tokenizer:e,profile:t}},it:async()=>{let{italianTokenizer:e}=await Promise.resolve().then(()=>(n4(),t4)),{italianProfile:t}=await Promise.resolve().then(()=>(Ci(),Vc));return{tokenizer:e,profile:t}},ms:async()=>{let{malayTokenizer:e}=await Promise.resolve().then(()=>(U4(),K4)),{malayProfile:t}=await Promise.resolve().then(()=>(xi(),Uc));return{tokenizer:e,profile:t}},pl:async()=>{let{polishTokenizer:e}=await Promise.resolve().then(()=>(f4(),m4)),{polishProfile:t}=await Promise.resolve().then(()=>(bi(),Gc));return{tokenizer:e,profile:t}},ru:async()=>{let{russianTokenizer:e}=await Promise.resolve().then(()=>(E4(),v4)),{russianProfile:t}=await Promise.resolve().then(()=>(Si(),Xc));return{tokenizer:e,profile:t}},th:async()=>{let{thaiTokenizer:e}=await Promise.resolve().then(()=>(V4(),q4)),{thaiProfile:t}=await Promise.resolve().then(()=>(Ti(),Jc));return{tokenizer:e,profile:t}},tl:async()=>{let{tagalogTokenizer:e}=await Promise.resolve().then(()=>(ry(),ey)),{tagalogProfile:t}=await Promise.resolve().then(()=>(Li(),ep));return{tokenizer:e,profile:t}},uk:async()=>{let{ukrainianTokenizer:e}=await Promise.resolve().then(()=>(w4(),k4)),{ukrainianProfile:t}=await Promise.resolve().then(()=>(_i(),rp));return{tokenizer:e,profile:t}},vi:async()=>{let{vietnameseTokenizer:e}=await Promise.resolve().then(()=>(p4(),l4)),{vietnameseProfile:t}=await Promise.resolve().then(()=>(Ri(),ip));return{tokenizer:e,profile:t}},he:async()=>{let{hebrewTokenizer:e}=await Promise.resolve().then(()=>(D4(),A4)),{hebrewProfile:t}=await Promise.resolve().then(()=>(Ei(),Wc));return{tokenizer:e,profile:t}}},Qr=Object.keys(Us);function o6(e,t){le(e,t.tokenizer,t.profile),t.patterns?ou(e,t.patterns):t.buildPatterns&&ou(e,t.buildPatterns())}async function s6(e,t){try{let r=await fetch(t);if(!r.ok)throw new Error(`Failed to fetch ${t}: ${r.status} ${r.statusText}`);let i=await r.text(),n=new Blob([i],{type:"application/javascript"}),a=URL.createObjectURL(n);try{let u=await import(a);if(!u.tokenizer||!u.profile)throw new Error("Invalid language module: missing tokenizer or profile");return u}finally{URL.revokeObjectURL(a)}}catch(r){throw new Error(`Failed to load language '${e}' from ${t}: ${r instanceof Error?r.message:String(r)}`)}}async function th(e,t={}){let{url:r,module:i,skipIfRegistered:n=!0}=t;if(n&&tr(e))return{code:e,loaded:!1};try{let a;if(i)a=i;else if(r)a=await s6(e,r);else{let u=Us[e];if(!u)throw new Error(`Unknown language: ${e}. Supported: ${Qr.join(", ")}`);a=await u()}return o6(e,a),{code:e,loaded:!0}}catch(a){return{code:e,loaded:!1,error:a instanceof Error?a.message:String(a)}}}async function l6(e,t={}){return Promise.all(e.map(r=>th(r,t)))}function c6(e){return e in Us}function p6(){return Qr.filter(tr)}function m6(){return Qr.filter(e=>!tr(e))}ys();function d6(e){return[]}Oi(),Ir();function y6(e){return[]}function f6(){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}}}]}function v6(){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"}}}}]}function h6(){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"}}}}]}function g6(){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"}}}}]}function E6(){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}}}]}function k6(){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"}}}}]}function z6(){return[]}function C6(){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"}}}}]}function w6(){return[{id:"add-vi-full",language:"vi",command:"add",priority:100,template:{format:"th\xEAm {patient} v\xE0o {target}",tokens:[{type:"literal",value:"th\xEAm",alternatives:["b\u1ED5 sung"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"v\xE0o",alternatives:["cho"]},{type:"role",role:"destination"}]}]},extraction:{patient:{position:1},destination:{marker:"v\xE0o",markerAlternatives:["cho"],default:{type:"reference",value:"me"}}}},{id:"add-vi-simple",language:"vi",command:"add",priority:90,template:{format:"th\xEAm {patient}",tokens:[{type:"literal",value:"th\xEAm",alternatives:["b\u1ED5 sung"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},destination:{default:{type:"reference",value:"me"}}}}]}function A6(){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 x6(e){switch(e){case"bn":return f6();case"hi":return v6();case"it":return h6();case"pl":return g6();case"qu":return E6();case"ru":return k6();case"th":return z6();case"uk":return C6();case"vi":return w6();case"zh":return A6();default:return[]}}function b6(){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}}}]}function D6(){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"}}}}]}function B6(){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"}}}}]}function S6(){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"}}}}]}function F6(){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}}}]}function T6(){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"}}}}]}function L6(){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}}}]}function P6(){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"}}}}]}function _6(){return[{id:"remove-vi-full",language:"vi",command:"remove",priority:100,template:{format:"x\xF3a {patient} kh\u1ECFi {target}",tokens:[{type:"literal",value:"x\xF3a",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\xF3a {patient}",tokens:[{type:"literal",value:"x\xF3a",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"}}}}]}function R6(){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}}}]}function j6(e){switch(e){case"bn":return b6();case"hi":return D6();case"it":return B6();case"pl":return S6();case"qu":return F6();case"ru":return T6();case"th":return L6();case"uk":return P6();case"vi":return _6();case"zh":return R6();default:return[]}}xe();var O6=[...yn.roles.find(e=>e.role==="patient")?.expectedTypes??[]];function N6(){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}}}]}function I6(){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:O6},{type:"group",optional:!0,tokens:[{type:"literal",value:"mit"},{type:"role",role:"style",expectedTypes:["expression","selector"]}]}]},extraction:{patient:{position:1},style:{marker:"mit"}}}]}function M6(){return[{id:"show-fr-full",language:"fr",command:"show",priority:100,template:{format:"afficher {patient}",tokens:[{type:"literal",value:"afficher",alternatives:["montrer","pr\xE9senter","show"]},{type:"role",role:"patient",expectedTypes:["selector","reference"]},{type:"group",optional:!0,tokens:[{type:"literal",value:"avec"},{type:"role",role:"style",expectedTypes:["expression","selector"]}]}]},extraction:{patient:{position:1},style:{marker:"avec"}}}]}function W6(){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"}}}}]}function q6(){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}}}]}function $6(){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}}}]}function V6(){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}}}]}function K6(){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"},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u0E14\u0E49\u0E27\u0E22"},{type:"role",role:"style",expectedTypes:["expression","selector"]}]}]},extraction:{patient:{position:1},style:{marker:"\u0E14\u0E49\u0E27\u0E22"}}}]}function H6(){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}}}]}function U6(){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}}}]}function G6(){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}}}]}function Y6(e){switch(e){case"bn":return N6();case"de":return I6();case"fr":return M6();case"hi":return W6();case"it":return q6();case"pl":return $6();case"ru":return V6();case"th":return K6();case"uk":return H6();case"vi":return U6();case"zh":return G6();default:return[]}}xe();var Z6=[...fn.roles.find(e=>e.role==="patient")?.expectedTypes??[]];function X6(){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}}}]}function Q6(){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:Z6},{type:"group",optional:!0,tokens:[{type:"literal",value:"mit"},{type:"role",role:"style",expectedTypes:["expression","selector"]}]}]},extraction:{patient:{position:1},style:{marker:"mit"}}}]}function J6(){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"}}}}]}function e8(){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}}}]}function t8(){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}}}]}function r8(){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}}}]}function i8(){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"},{type:"group",optional:!0,tokens:[{type:"literal",value:"\u0E14\u0E49\u0E27\u0E22"},{type:"role",role:"style",expectedTypes:["expression","selector"]}]}]},extraction:{patient:{position:1},style:{marker:"\u0E14\u0E49\u0E27\u0E22"}}}]}function n8(){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}}}]}function a8(){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}}}]}function u8(){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}}}]}function o8(e){switch(e){case"bn":return X6();case"de":return Q6();case"hi":return J6();case"it":return e8();case"pl":return t8();case"ru":return r8();case"th":return i8();case"uk":return n8();case"vi":return a8();case"zh":return u8();default:return[]}}xe();var $e=[...mi.roles.find(e=>e.role==="patient")?.expectedTypes??[]];function s8(){return[{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}}}]}function l8(){return[{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:$e}]},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:$e}]},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:$e}]},extraction:{destination:{position:0},patient:{position:2}}}]}function c8(){return[{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}}}]}function p8(){return[{id:"set-fr-full",language:"fr",command:"set",priority:100,template:{format:"d\xE9finir {destination} \xE0 {patient}",tokens:[{type:"literal",value:"d\xE9finir",alternatives:["definir","fixer","set"]},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"literal",value:"\xE0",alternatives:["a","sur","comme"]},{type:"role",role:"patient",expectedTypes:$e}]},extraction:{destination:{position:1},patient:{position:3}}},{id:"set-fr-sur-direct",language:"fr",command:"set",priority:98,template:{format:"d\xE9finir sur {destination} {patient}",tokens:[{type:"literal",value:"d\xE9finir",alternatives:["definir","mettre","fixer"]},{type:"literal",value:"sur",alternatives:["\xE0","en"]},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"role",role:"patient",expectedTypes:$e}]},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:$e}]},extraction:{destination:{position:0},patient:{position:2}}}]}function m8(){return[{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}}}]}function d8(){return[{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:$e}]},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:$e}]},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:$e}]},extraction:{destination:{position:0},patient:{position:2}}}]}function y8(){return[{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:$e}]},extraction:{destination:{position:1},patient:{position:3}}}]}function f8(){return[{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}}}]}function v8(){return[{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}}}]}function h8(){return[{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:$e}]},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:$e}]},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:$e}]},extraction:{destination:{position:0},patient:{position:2}}}]}function g8(){return[{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}}}]}function E8(){return[{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:$e}]},extraction:{destination:{position:1},patient:{marker:"kwa",markerAlternatives:["kwenye"]}}}]}function k8(){return[{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"]}}}]}function z8(){return[{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}}}]}function C8(){return[{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:$e}]},extraction:{destination:{marker:"\u05D0\u05EA"},patient:{marker:"\u05E2\u05DC",markerAlternatives:["\u05D1","\u05D0\u05DC","\u05DC","\u05DB"]}}}]}function w8(){return[{id:"set-vi-vao",language:"vi",command:"set",priority:101,template:{format:"g\xE1n {destination} v\xE0o {patient}",tokens:[{type:"literal",value:"g\xE1n",alternatives:["thi\u1EBFt l\u1EADp","\u0111\u1EB7t gi\xE1 tr\u1ECB"]},{type:"role",role:"destination",expectedTypes:["property-path","selector","reference","expression"]},{type:"literal",value:"v\xE0o",alternatives:["cho","\u0111\u1EBFn"]},{type:"role",role:"patient",expectedTypes:["literal","expression","reference","selector"]}]},extraction:{destination:{position:1},patient:{marker:"v\xE0o",markerAlternatives:["cho","\u0111\u1EBFn"]}}},{id:"set-vi-full",language:"vi",command:"set",priority:100,template:{format:"g\xE1n {destination} th\xE0nh {patient}",tokens:[{type:"literal",value:"g\xE1n",alternatives:["thi\u1EBFt l\u1EADp","\u0111\u1EB7t gi\xE1 tr\u1ECB"]},{type:"role",role:"patient"},{type:"literal",value:"th\xE0nh",alternatives:["b\u1EB1ng","l\xE0"]},{type:"role",role:"goal"}]},extraction:{patient:{position:1},goal:{marker:"th\xE0nh",markerAlternatives:["b\u1EB1ng","l\xE0"]}}},{id:"set-vi-simple",language:"vi",command:"set",priority:90,template:{format:"\u0111\u1EB7t {destination} l\xE0 {patient}",tokens:[{type:"literal",value:"\u0111\u1EB7t"},{type:"role",role:"patient"},{type:"literal",value:"l\xE0"},{type:"role",role:"goal"}]},extraction:{patient:{position:1},goal:{marker:"l\xE0"}}}]}function A8(){return[{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}}}]}function x8(){return[{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}}}]}function Le(e){return e.map(t=>t.extraction?.scope?t:{...t,template:{...t.template,tokens:[...t.template.tokens,{type:"group",optional:!0,tokens:[{type:"literal",value:"on"},{type:"role",role:"scope",optional:!0,expectedTypes:["selector","reference"]}]}]},extraction:{...t.extraction,scope:{marker:"on"}}})}function b8(e){switch(e){case"bn":return Le(s8());case"de":return Le(l8());case"es":return Le(c8());case"fr":return Le(p8());case"he":return Le(C8());case"hi":return Le(m8());case"id":return Le(d8());case"ms":return Le(y8());case"it":return Le(f8());case"pl":return Le(v8());case"pt":return Le(h8());case"qu":return Le(x8());case"ru":return Le(g8());case"sw":return Le(E8());case"th":return Le(k8());case"uk":return Le(z8());case"vi":return Le(w8());case"zh":return Le(A8());default:return[]}}xe();var rh=[...nu.roles.find(e=>e.role==="source")?.expectedTypes??[]];function D8(){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}}}]}function B8(){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:rh}]},extraction:{source:{position:1}}}]}function S8(){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}}}]}function F8(){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}}}]}function T8(){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}}}]}function L8(){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}}}]}function P8(){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}}}]}function _8(){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}}}]}function R8(){return[{id:"get-vi-full",language:"vi",command:"get",priority:92,template:{format:"l\u1EA5y gi\xE1 tr\u1ECB c\u1EE7a {target}",tokens:[{type:"literal",value:"l\u1EA5y gi\xE1 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\xE1 tr\u1ECB {target}",tokens:[{type:"literal",value:"l\u1EA5y gi\xE1 tr\u1ECB",alternatives:["nh\u1EADn"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1}}}]}function j8(){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:rh}]},extraction:{source:{marker:"\u628A",markerAlternatives:["\u4ECE","\u7531"]}}}]}function O8(e){switch(e){case"bn":return D8();case"de":return B8();case"zh":return j8();case"hi":return S8();case"it":return F8();case"pl":return T8();case"ru":return L8();case"th":return P8();case"uk":return _8();case"vi":return R8();default:return[]}}var Jr=["selector","reference","expression","property-path"];function N8(){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}}}]}function I8(){let e=["erhoehe","erh\xF6hen","inkrementiere","inkrementieren","increment"];return[{id:"increment-de-with-quantity",language:"de",command:"increment",priority:105,template:{format:"erh\xF6he {patient} um {quantity}",tokens:[{type:"literal",value:"erh\xF6he",alternatives:e},{type:"role",role:"patient",expectedTypes:Jr},{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\xF6he {patient}",tokens:[{type:"literal",value:"erh\xF6he",alternatives:e},{type:"role",role:"patient",expectedTypes:Jr}]},extraction:{patient:{position:1}}}]}function M8(){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}}}]}function W8(){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}}}}]}function q8(){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}}}}]}function $8(){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}}}}]}function V8(){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}}}]}function K8(){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}}}}]}function H8(){return[{id:"increment-vi-full",language:"vi",command:"increment",priority:100,template:{format:"t\u0103ng {target} th\xEAm {amount}",tokens:[{type:"literal",value:"t\u0103ng",alternatives:["t\u0103ng l\xEAn"]},{type:"role",role:"patient"},{type:"group",optional:!0,tokens:[{type:"literal",value:"th\xEAm",alternatives:["l\xEAn"]},{type:"role",role:"quantity"}]}]},extraction:{patient:{position:1},quantity:{marker:"th\xEAm",markerAlternatives:["l\xEAn"],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\xEAn"]},{type:"role",role:"patient"}]},extraction:{patient:{position:1},quantity:{default:{type:"literal",value:1}}}}]}function U8(){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}}}}]}function G8(){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:Jr}]},extraction:{patient:{position:1}}}]}function Y8(e){switch(e){case"bn":return N8();case"de":return I8();case"hi":return M8();case"it":return W8();case"pl":return q8();case"ru":return $8();case"th":return V8();case"uk":return K8();case"qu":return U8();case"vi":return H8();case"zh":return G8();default:return[]}}function Z8(){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}}}]}function X8(){let e=["verringern","dekrementiere","dekrementieren","reduziere","decrement"];return[{id:"decrement-de-with-quantity",language:"de",command:"decrement",priority:105,template:{format:"verringere {patient} um {quantity}",tokens:[{type:"literal",value:"verringere",alternatives:e},{type:"role",role:"patient",expectedTypes:Jr},{type:"literal",value:"um"},{type:"role",role:"quantity"}]},extraction:{patient:{position:1},quantity:{marker:"um",position:3}}},{id:"decrement-de-full",language:"de",command:"decrement",priority:100,template:{format:"verringere {patient}",tokens:[{type:"literal",value:"verringere",alternatives:e},{type:"role",role:"patient",expectedTypes:Jr}]},extraction:{patient:{position:1}}}]}function Q8(){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}}}]}function J8(){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"}}}}]}function eA(){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}}}}]}function tA(){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}}}}]}function rA(){return[{id:"decrement-th-simple",language:"th",command:"decrement",priority:90,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}}}]}function iA(){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}}}}]}function nA(){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"}}}}]}function aA(){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:Jr}]},extraction:{patient:{position:1}}}]}function uA(e){switch(e){case"bn":return Z8();case"de":return X8();case"hi":return Q8();case"it":return J8();case"pl":return eA();case"ru":return tA();case"th":return rA();case"uk":return iA();case"vi":return nA();case"zh":return aA();default:return[]}}Xy(),Te();function ei(e){let t=T(e)?.roleMarkers?.style;if(!t?.primary)return null;let 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:t.position==="after"?[i,r]:[r,i]},extraction:{marker:t.primary,...t.alternatives?.length?{markerAlternatives:t.alternatives}:{}}}}function oA(){let e=ei("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"]}}}]}function sA(){let e=ei("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"]}}}]}function lA(){let e=ei("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\xE9cup\xE9rer"]},{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}:{}}}]}function cA(){let e=ei("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}:{}}}]}function Je(e,t,r,i,n,a,u,o){let s=ei(t);return{id:e,language:t,command:"fetch",priority:105,template:{format:`${r} ${i} {source} ${n} {responseType}`,tokens:[{type:"literal",value:r,...a?{alternatives:a}:{}},{type:"group",optional:!0,tokens:[{type:"literal",value:i,...u?{alternatives:u}:{}}]},{type:"role",role:"source",expectedTypes:["literal","expression"]},...s?[s.token]:[],{type:"group",optional:!0,tokens:[{type:"literal",value:n,...o?{alternatives:o}:{}},{type:"role",role:"responseType",expectedTypes:["literal","expression"]}]}]},extraction:{source:{marker:i,...u?{markerAlternatives:u}:{}},...s?{style:s.extraction}:{},responseType:{marker:n,...o?{markerAlternatives:o}:{}}}}}function ti(e,t,r,i,n,a,u,o){let s=ei(t),l=[{type:"role",role:"responseType",expectedTypes:["literal","expression"]}];u&&l.push({type:"literal",value:u,...o?{alternatives:o}:{}});let c={type:"group",optional:!0,tokens:l};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,...a?{alternatives:a}:{}}]},...s?[s.token]:[],{type:"literal",value:r,...n?{alternatives:n}:{}},c]},extraction:{source:{marker:i,...a?{markerAlternatives:a}:{}},...s?{style:s.extraction}:{},responseType:u?{marker:u,...o?{markerAlternatives:o}:{}}:{}}}}function pA(e){switch(e){case"zh":return oA();case"ms":return sA();case"fr":return lA();case"pt":return cA();case"es":return[Je("fetch-es","es","buscar","de","como")];case"pl":return[Je("fetch-pl","pl","pobierz","z","jako")];case"id":return[Je("fetch-id","id","muat","dari","sebagai",["ambil"])];case"sw":return[Je("fetch-sw","sw","leta","kutoka","kuwa",void 0,void 0,["kama"])];case"he":return[Je("fetch-he","he","\u05D4\u05D1\u05D0","\u05DE","\u05DB",["\u05D8\u05E2\u05DF"],["\u05D0\u05EA"])];case"de":return[Je("fetch-de","de","abrufen","von","als",["laden"])];case"ru":return[Je("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[Je("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[Je("fetch-it","it","recuperare","da","come")];case"vi":return[Je("fetch-vi","vi","t\u1EA3i","t\u1EEB","nh\u01B0")];case"th":return[Je("fetch-th","th","\u0E14\u0E36\u0E07\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25","\u0E08\u0E32\u0E01","\u0E40\u0E1B\u0E47\u0E19")];case"ar":return[Je("fetch-ar","ar","\u0627\u062D\u0636\u0631","\u0645\u0646","\u0643\u0640",["\u062C\u0644\u0628"])];case"tl":return[Je("fetch-tl","tl","kuhanin_mula","mula_sa","bilang",["kunin_mula"])];case"ja":return[ti("fetch-ja-sov","ja","\u30D5\u30A7\u30C3\u30C1","\u3092")];case"ko":return[ti("fetch-ko-sov","ko","\uD328\uCE58","\uC744",["\uAC00\uC838\uC624\uAE30"],["\uB97C"],"\uB85C",["\uC73C\uB85C"])];case"tr":return[ti("fetch-tr-sov","tr","getir","i",void 0,["\u0131","u","\xFC","yi","y\u0131","yu","y\xFC"],"olarak")];case"hi":return[ti("fetch-hi-sov","hi","\u0932\u093E\u090F\u0902","\u0915\u094B")];case"qu":return[ti("fetch-qu-sov","qu","apamuy","ta",["taripakaramuy"],void 0,"hina")];case"bn":return[ti("fetch-bn-sov","bn","\u0986\u09A8\u09C1\u09A8","\u0995\u09C7")];default:return[]}}Gy();function mA(){return[{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 dA(e){switch(e){case"en":return mA();default:return[]}}function yA(){return[{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 fA(e){switch(e){case"en":return yA();default:return[]}}function vA(){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"}}}}]}function hA(){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"}}}}]}function gA(){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"}}}}]}function EA(){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"}}}}]}function kA(e){switch(e){case"en":return vA();case"zh":return hA();case"he":return gA();case"qu":return EA();default:return[]}}function zA(){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"}}}}]}function CA(){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"}}}}]}function wA(e){switch(e){case"zh":return zA();case"he":return CA();default:return[]}}Te();function ih(e){let t=T(e)?.keywords?.pick,r=t?.primary;if(!r||r.toLowerCase()==="pick")return{type:"literal",value:"pick"};let i=[...t?.alternatives??[],"pick"];return{type:"literal",value:r,alternatives:i}}var AA=new Set(["character","characters","item","items"]),nh=e=>{if(AA.has(e))return{type:"expression",raw:e};let t=Number(e);return he(e!==""&&!Number.isNaN(t)?t:e)};function xA(e,t){let r=[ih(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:nh},patient:{position:2},source:{marker:t.srcMarker,...t.srcAlternatives?.length?{markerAlternatives:t.srcAlternatives}:{}}}}}var bA={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 DA(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}]},ih(e)]},extraction:{source:{position:0},method:{position:2,transform:nh},patient:{position:3}}}}var BA={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"}};function SA(e){let t=bA[e];if(t)return[xA(e,t)];let r=BA[e];return r?[DA(e,r)]:[]}Cy(),Sy();var FA={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"}}}},TA={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"}}}},LA=[FA,TA];Ly();var PA={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"}}},_A={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}}},RA={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}}},jA=[PA,_A,RA],OA={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}}},NA={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}}},IA=[OA,NA],MA=[...cs,...ps,...LA,...Ty,...jA,...IA];function WA(){return MA}Pn(),xe(),Te();var qA=[ds,d6,pu,as,x6,j6,Y6,o8,b8,O8,Y8,uA,Zy,pA,Ry,dA,fA,kA,wA,SA,y6],ah=new Map;function $A(e){let t=ah.get(e);if(t)return t;let r=T(e);if(!r)return[];let i=Ln(r);return ah.set(e,i),i}function Gs(e){let t=qA.flatMap(r=>r(e));return e==="en"&&t.push(...WA()),t.push(...$A(e)),t.map(KA)}var VA=new Set(["on.source"]);function KA(e){let t=ge(e.command);if(!t)return e;let r;for(let i of t.roles){if(i.required||!i.default||VA.has(`${e.command}.${i.role}`))continue;let n=e.extraction?.[i.role];n?.default!==void 0||n?.value!==void 0||(r??(r={...e.extraction}),r[i.role]={...n,default:i.default})}return r?{...e,extraction:r}:e}var HA=["en","ja","ar","es","ko","zh","tr","pt","fr","de","id","qu","sw","it","vi","pl","ru","uk","hi","bn","th","ms","tl","he"];function UA(){return HA}var Ys=new Map,Zs=null;function ua(){if(Zs===null){let e=[];for(let t of UA())e.push(...Gs(t));Zs=e}return Zs}function uh(e){if(Ys.has(e))return Ys.get(e);let t=Gs(e);return Ys.set(e,t),t}function GA(e,t){return uh(e).filter(r=>r.command===t).sort((r,i)=>i.priority-r.priority)}function YA(){let e=new Set(ua().map(t=>t.language));return Array.from(e)}function ZA(){let e=new Set(ua().map(t=>t.command));return Array.from(e)}function XA(e){return ua().find(t=>t.id===e)}function QA(){let e={},t={},r=ua();for(let 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}}ys(),Oi(),Ir(),Ir(),Te();function JA(e){return Gs(e.code)}zE(JA),um(),me(),ce();Te();var il="3.3.0";yi(),fi(),ji(),Yt(),gi(),vi(),Ei(),ki(),zi(),Ci(),wi(),Ai(),xi(),bi(),Di(),Bi(),Si(),hi(),Fi(),Ti(),Li(),Pi(),_i(),Ri();function ex(e,t){let r=t??Object.keys(Mn),i={};for(let n of r){let a=Mn[n]?.keywords[e];a&&(i[n]=a)}return i}function tx(e,t){let r=Mn[e]?.roleMarkers??{};return t?r[t]:r}xe(),Pn(),S0(),xe();var Xs=new Map(Object.entries(Ae));function Qs(e){return Xs.get(e)}function rx(e,t){Xs.set(e,t)}function oh(e){if(e.type==="literal"&&typeof e.value=="string"||e.type==="selector"||e.type==="reference")return e.value}function ix(e){if(!e.startsWith("(")||!e.endsWith(")"))return!1;let t=0;for(let r=0;r<e.length;r++)if(e[r]==="(")t++;else if(e[r]===")"&&--t===0)return r===e.length-1;return!1}function nx(e,t){if(e==null)return!1;if(e.type==="expression"&&ix(e.raw)&&t.some(r=>r==="selector"||r==="reference"))return!0;for(let r of t)switch(r){case"selector":if(e.type==="selector")return!0;let i=oh(e);if(i&&(i.startsWith(".")||i.startsWith("#")||i.startsWith("[")))return!0;break;case"literal":if(e.type==="literal"||e.type==="property-path")return!0;break;case"reference":if(e.type==="reference"||e.type==="property-path")return!0;let n=oh(e);if(n&&["me","you","it","my","its","result","event","target"].includes(n.toLowerCase()))return!0;break;case"expression":if(e.type==="expression"||e.type==="property-path")return!0;break}return!1}function sh(e){let t=[],r=[],i=[],n=0,a=Qs(e.action);if(!a)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};let u=new Map;for(let s of e.arguments)s.role&&u.set(s.role,s);for(let s of a.roles){let l=u.get(s.role);if(s.required&&!l){s.default?r.push({code:"MISSING_REQUIRED_ROLE",message:`Role '${s.role}' not provided, using default.`,role:s.role,severity:"warning"}):(t.push({code:"MISSING_REQUIRED_ROLE",message:`Required role '${s.role}' (${s.description}) is missing.`,role:s.role,expected:s.expectedTypes,severity:"error"}),i.push(`Add ${s.description.toLowerCase()} to the command.`),n-=.2);continue}l&&!nx(l,s.expectedTypes)&&(r.push({code:"INVALID_TYPE",message:`Role '${s.role}' expected ${s.expectedTypes.join(" or ")}, got ${l.type}.`,role:s.role,expected:s.expectedTypes,actual:l,severity:"warning"}),n-=.1)}for(let s of e.arguments)s.role&&(a.roles.some(c=>c.role===s.role)||(r.push({code:"UNKNOWN_ROLE",message:`Role '${s.role}' is not recognized for command '${e.action}'.`,role:s.role,severity:"warning"}),n-=.05));return a.roles.filter(s=>s.required&&!s.default).every(s=>u.has(s.role))&&t.length===0&&(n+=.1),{valid:t.length===0,errors:t,warnings:r,confidenceAdjustment:Math.max(-1,Math.min(1,n)),suggestions:i}}function ax(e){let t=sh(e);return{...e,confidence:Math.max(0,Math.min(1,e.confidence+t.confidenceAdjustment)),validation:t}}function Js(e){switch(e){case"preposition":return"preposition";case"postposition":case"particle":case"case-suffix":return"postposition";default:return"none"}}function lh(e,t,r){let i={form:t.primary,role:e,position:Js(r),required:t.required??!1};return t.alternatives&&(i.alternatives=t.alternatives),i}function ux(e){let t=[];for(let[r,i]of Object.entries(e.roleMarkers))i&&t.push(lh(r,i,e.markingStrategy));return{code:e.code,name:e.nativeName,wordOrder:e.wordOrder,adpositionType:Js(e.markingStrategy),morphology:e.morphology,direction:e.direction,markers:t,canonicalOrder:e.canonicalOrder}}function ox(e){if(!e||typeof e!="object")return!1;let t=e;return typeof t.code=="string"&&typeof t.name=="string"&&typeof t.wordOrder=="string"&&typeof t.markingStrategy=="string"&&typeof t.morphology=="string"&&typeof t.keywords=="object"&&Array.isArray(t.canonicalOrder)}var ch={accessibility:!0,performance:!0,schema:!0,strict:!1},sx=new Set(["scroll","mousemove","touchmove","resize","input","keydown","keyup","keypress"]),ph=new Set(["scroll","mousemove","touchmove","resize"]);function mh(e,t){let r=[];if(e.kind==="event-handler"){let i=e.roles.get("event");if(i&&i.type==="literal"){let n=String(i.value).toLowerCase();(n==="mouseenter"||n==="mouseover"||n==="hover")&&r.push({code:"HOVER_ONLY_INTERACTION",severity:"warning",message:`Hover-only interaction detected (${n}). 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 dh(e,t){let r=[];if(e.kind==="event-handler"){let i=e.roles.get("event");if(i&&i.type==="literal"){let n=String(i.value).toLowerCase();if(sx.has(n)){let a=ph.has(n)?"warning":"info";r.push({code:"HIGH_FREQUENCY_TRIGGER",severity:a,message:`High-frequency event '${n}' may cause performance issues.`,suggestion:ph.has(n)?`Consider using 'on ${n} throttled:100ms' to limit execution frequency.`:"Consider debouncing or throttling this handler.",location:{input:t,role:"event"}})}}}return r}function yh(e,t){let r=[];if(e.kind!=="command")return r;let i=Qs(e.action);if(!i)return r;let n=Array.isArray(i.roles)?i.roles:[],a=new Set;for(let u of n)u&&typeof u=="object"&&"role"in u&&(a.add(u.role),u.required&&!e.roles.has(u.role)&&r.push({code:"MISSING_REQUIRED_ROLE",severity:"error",message:`Command '${e.action}' requires '${u.role}' but it was not provided.`,suggestion:u.description,location:{input:t}}));return e.roles.forEach((u,o)=>{a.has(o)||r.push({code:"INVALID_ROLE_FOR_COMMAND",severity:"warning",message:`Role '${o}' is not typically used with '${e.action}' command.`,location:{input:t,role:o}})}),r}function lx(e){return e.kind==="event-handler"?e.body??[]:[]}function fh(e,t={}){let r=[],i=new Map;for(let n of e)if(n.kind==="event-handler"){let a=n.roles.get("event"),u=n.roles.get("source"),o=`${a?.type==="literal"?a.value:"unknown"}:${u?.type==="selector"?u.value:"self"}`;i.has(o)||i.set(o,[]);let s=lx(n);i.get(o).push({handler:n,commands:s})}return i.forEach((n,a)=>{if(n.length>1){let u=[],o=[];for(let{commands:m}of n)for(let d of m){u.push(d.action);let y=d.roles.get("patient");o.push(y?.type==="selector"?y.value:"unknown")}let s=u.includes("toggle"),l=u.includes("show"),c=u.includes("hide");s&&(l||c)&&o.filter((d,y)=>(u[y]==="toggle"||u[y]==="show"||u[y]==="hide")&&o.some((f,v)=>y!==v&&d===f)).length>0&&r.push({code:"CONFLICTING_ACTIONS",severity:"warning",message:`Conflicting actions on '${a}': ${[...new Set(u)].join(", ")} may interfere with each other.`,suggestion:"Consider using a single toggle or conditional logic."}),u.some(m=>["fetch","wait","send"].includes(m))&&n.length>1&&r.push({code:"POTENTIAL_RACE_CONDITION",severity:"info",message:`Multiple handlers on '${a}' include async operations. Consider sequencing.`,suggestion:'Use "then" to chain operations or add loading states.'})}}),r}function el(e,t="en",r={}){let i={...ch,...r},n=[],a=null;try{a=Xr(e,t)}catch{}if(!a)return{valid:!1,warnings:[{code:"UNREACHABLE_BEHAVIOR",severity:"error",message:"Could not parse input to semantic representation.",location:{input:e}}],node:null};i.accessibility&&n.push(...mh(a,e)),i.performance&&n.push(...dh(a,e)),i.schema&&n.push(...yh(a,e));let u=n.some(l=>l.severity==="error"),o=n.some(l=>l.severity==="warning");return{valid:i.strict?!u&&!o:!u,warnings:n,node:a}}function cx(e,t="en",r={}){let i=[],n=[];for(let l of e){let c=el(l,t,r);i.push(...c.warnings),c.node&&n.push(c.node)}i.push(...fh(n,r));let a=i.some(l=>l.severity==="error"),u={...ch,...r},o=i.some(l=>l.severity==="warning");return{valid:u.strict?!a&&!o:!a,warnings:i,node:n[0]??null}}var oa=!1,tl={};function px(e={}){oa=!0,tl=e}function mx(){oa=!1}function dx(){return oa}function yx(){return{...tl}}function fx(e,t,r){if(!oa)return;if(!r){console.warn(`[hyperfixi] Parse failed: ${e}`);return}let i=el(e,t,tl);for(let n of i.warnings){let a=n.severity==="error"?"\u274C":n.severity==="warning"?"\u26A0\uFE0F":"\u2139\uFE0F",u=n.severity==="error"?"error":n.severity==="warning"?"warn":"info";console[u](`${a} [hyperfixi:${n.code}] ${n.message}`,n.suggestion?`
67
67
  \u{1F4A1} ${n.suggestion}`:"",n.location?.input?`
68
- \u{1F4CD} ${n.location.input}`:"")}}function H(e){let t={};return typeof e.start=="number"&&(t.start=e.start),typeof e.end=="number"&&(t.end=e.end),typeof e.line=="number"&&(t.line=e.line),typeof e.column=="number"&&(t.column=e.column),t}function G(e){if(!e)return{type:"literal",value:null};switch(e.type){case"eventHandler":return vx(e);case"command":return hx(e);case"CommandSequence":return zx(e);case"block":return Cx(e);case"if":return wx(e);case"literal":return{type:"literal",value:e.value,...H(e)};case"string":return{type:"literal",value:e.value,...H(e)};case"selector":return{type:"selector",value:e.value??e.selector??"",...H(e)};case"contextReference":return{type:"identifier",value:e.name??e.contextType??"",...H(e)};case"identifier":return e.scope==="element"||e.scope==="local"||e.scope==="global"?{type:"variable",name:e.name??"",scope:e.scope,...H(e)}:{type:"identifier",value:e.name??e.value??"",name:e.name??"",...H(e)};case"propertyAccess":return Ax(e);case"possessiveExpression":return xx(e);case"propertyOfExpression":return{type:"possessive",object:G(e.target),property:e.property?.name??"",...H(e)};case"memberExpression":return bx(e);case"binaryExpression":return Dx(e);case"callExpression":return Bx(e);case"unaryExpression":return{type:"unary",operator:e.operator,operand:G(e.operand),...H(e)};case"typeCheckExpression":return{type:"typeCheck",value:G(e.value),typeName:String(e.typeName),nullOk:e.nullOk!==!1,negated:e.negated===!0,...H(e)};case"timeExpression":return{type:"literal",value:e.value,...H(e)};case"templateLiteral":return{type:"literal",value:e.raw??e.value??"",...H(e)};case"variable":return{type:"variable",name:e.name??"",scope:e.scope??"local",...H(e)};case"arrayLiteral":return{type:"array",elements:(e.elements??[]).map(t=>G(t)),...H(e)};case"attributeAccess":return{type:"possessive",object:{type:"identifier",value:"me"},property:`@${e.attributeName}`,...H(e)};case"htmlSelector":return{type:"selector",value:e.value??e.selector??"",...H(e)};case"positional":return{type:"positional",position:e.position,...e.target?{target:G(e.target)}:{},...H(e)};case"positionalExpression":return{type:"positional",position:e.operator,...e.argument?{target:G(e.argument)}:{},...H(e)};default:return{type:"literal",value:e.value??null,...H(e)}}}function vx(e){let t=e.event??"click",i=(e.commands??e.body??[]).map(a=>G(a)),n=Tx(e);return{type:"event",event:t,modifiers:n,body:i,...H(e)}}function hx(e){let t=e.name;if(t==="if"||t==="unless")return gx(e);if(t==="repeat")return Ex(e);let r=(e.args??[]).map(o=>G(o)),i=e.target?G(e.target):void 0,n=e.modifiers?Fx(e.modifiers):void 0,a=e.semanticRoles,u=a?Sx(a):void 0;return{type:"command",name:t,args:r,...i?{target:i}:{},...n&&Object.keys(n).length>0?{modifiers:n}:{},...u&&Object.keys(u).length>0?{roles:u}:{},...H(e)}}function gx(e){let t=e.args??[],r=t[0]?G(t[0]):{type:"literal",value:!0},i=bt(t[1]),n=t[2]?bt(t[2]):void 0;return e.name==="unless"&&(r={type:"unary",operator:"not",operand:r}),{type:"if",condition:r,thenBranch:i,...n?{elseBranch:n}:{},...H(e)}}function Ex(e){let t=e.modifiers??{},r=sa(t.loopType);if(r===void 0)return kx(e);let[i,n]=e.args??[],a=bt(i),u=sa(t.index),o={...u?{indexName:u}:{},...n?{elseBody:bt(n)}:{},...H(e)},s=l=>l?G(l):void 0;switch(r){case"for":return{type:"foreach",itemName:sa(t.for)??"it",collection:s(t.in)??{type:"literal",value:null},body:a,...o};case"times":return{type:"repeat",count:s(t.times),body:a,...o};case"while":case"until":{let l=s(t[r])??{type:"literal",value:r==="until"};return{type:"while",condition:r==="until"?{type:"unary",operator:"not",operand:l}:l,...t.bottomTested?.value===!0?{bottomTested:!0}:{},body:a,...o}}case"until-event":{let l=sa(t.event);if(!l)return{type:"error",message:"'repeat until event' has no event name",...H(e)};let c=s(t.from);return{type:"repeat",untilEvent:l,...c?{untilEventTarget:c}:{},body:a,...o}}default:return{type:"repeat",body:a,...o}}}function sa(e){let t=e?.value??e?.name;return typeof t=="string"?t:void 0}function kx(e){let t=e.args??[];if(t.length===0)return{type:"repeat",body:[],...H(e)};let r=t[0],i=r?.name??r?.value??"forever",n=t[t.length-1];switch(i){case"times":return{type:"repeat",count:t[1]?G(t[1]):void 0,body:bt(n),...H(e)};case"for":{let a=t[1]?.value??"item",u=t[2]?G(t[2]):{type:"identifier",value:"[]"};return{type:"foreach",itemName:a,collection:u,body:bt(n),...H(e)}}case"while":return{type:"while",condition:t[1]?G(t[1]):{type:"literal",value:!0},body:bt(n),...H(e)};case"until":return{type:"while",condition:{type:"unary",operator:"not",operand:t[1]?G(t[1]):{type:"literal",value:!1}},body:bt(n),...H(e)};default:return{type:"repeat",body:bt(n),...H(e)}}}function zx(e){let t=e.commands??[];return t.length===1?G(t[0]):{type:"event",event:"click",body:t.map(r=>G(r)),...H(e)}}function Cx(e){let t=e.commands??[];return t.length===1?G(t[0]):{type:"event",event:"click",body:t.map(r=>G(r)),...H(e)}}function wx(e){let t=e.condition?G(e.condition):{type:"literal",value:!0},r=(e.thenBranch??[]).map(n=>G(n)),i=e.elseBranch?e.elseBranch.map(n=>G(n)):void 0;return{type:"if",condition:t,thenBranch:r,...i?{elseBranch:i}:{},...H(e)}}function Ax(e){return{type:"possessive",object:e.object?G(e.object):{type:"identifier",value:"me"},property:e.property??"",...H(e)}}function xx(e){let t=e.object?G(e.object):{type:"identifier",value:"me"},r=typeof e.property=="string"?e.property:e.property?.name??e.property?.value??"";return{type:"possessive",object:t,property:r,...H(e)}}function bx(e){let t=e.object?G(e.object):{type:"identifier",value:"me"},r=typeof e.property=="string"?e.property:e.property?G(e.property):{type:"literal",value:""};return{type:"member",object:t,property:r,computed:e.computed??!1,...H(e)}}function Dx(e){return{type:"binary",operator:e.operator??"",left:G(e.left),right:G(e.right),...H(e)}}function Bx(e){let t=typeof e.callee=="string"?{type:"identifier",value:e.callee,name:e.callee}:G(e.callee),r=(e.arguments??e.args??[]).map(i=>G(i));return{type:"call",callee:t,args:r,...H(e)}}function Sx(e){let t={};for(let[r,i]of Object.entries(e))t[r]=G(i);return t}function Fx(e){let t={};for(let[r,i]of Object.entries(e))t[r]=G(i);return t}function Tx(e){let 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}:{}}}function bt(e){return e?e.type==="block"?(e.commands??[]).map(t=>G(t)):[G(e)]:[]}function nl(){return[...Qr]}function al(e,t){return Gr(e,t)}function Ji(e){let t=e.getAttribute("data-lang");if(t)return la(t);let r=e.getAttribute("data-hyperscript-lang")??e.closest?.("[data-hyperscript-lang]")?.getAttribute("data-hyperscript-lang");if(r)return la(r);let i=e.closest?.("[lang]")?.getAttribute("lang");if(i)return la(i);let n=typeof document<"u"?document.documentElement?.lang:null;return n&&n!=="en"?la(n):null}function la(e){return e.split("-")[0].toLowerCase()}var AB=.5,Lx={confidenceThreshold:.5,strategy:"semantic"};function Px(e,t){return typeof e=="number"?e:e[t]??e["*"]??.5}var _x=/^(on\s+(?:every\s+)?[\w-]+(?:\[.*?\])?(?:\.[\w-]+(?:\([^)]*\))?)*(?:\s+from\s+\S+)?(?:\s+queue\s+\w+)?\s+)/;function Rx(e){let t=e.match(_x);if(!t)return null;let r=t[1],i=e.slice(r.length);return i?{prefix:r,commands:i}:null}function vh(e){function t(n,a,u){try{return e.isLanguageRegistered(a)?e.translateSingle(n,a,u):null}catch{return null}}function r(n,a,u){try{let o=u(n,a);return o!==n?o:null}catch{return null}}function i(n,a,u){if(u.strategy==="semantic"||u.strategy==="auto"){let o=Px(u.confidenceThreshold,a),s=t(n,a,o);if(s!==null)return s}if((u.strategy==="auto"||u.strategy==="i18n")&&u.i18nToEnglish){let o=r(n,a,u.i18nToEnglish);if(o!==null)return o}return null}return function(a,u,o={}){if(u==="en")return a;let s={...Lx,...o},l=i(a,u,s);if(l!==null)return l;let c=Rx(a);if(c){let p=i(c.commands,u,s);if(p!==null)return c.prefix+p}return a}}var ri=vh({isLanguageRegistered:tr,translateSingle(e,t,r){let i=al(e,t);return i.confidence<r||!i.node?i.confidence>=r?rl(e,t,"en"):null:rr(i.node,"en")}});var ul=new WeakSet;function jx(e){return(e.config?.attributes??"_, script, data-script").split(",").map(r=>r.trim()).filter(Boolean)}function Ox(e,t){for(let r of t)if(e.hasAttribute(r))return r;return null}function hh(e,t){if(typeof e.addBeforeProcessHook!="function"){console.warn("[hyperscript-i18n] _hyperscript.addBeforeProcessHook is unavailable \u2014 this build of _hyperscript.org is not supported. Load a current version from https://unpkg.com/hyperscript.org.");return}let r=jx(e),i=[...r.map(a=>`[${a}]`),'script[type="text/hyperscript"]'].join(", "),n=a=>{if(ul.has(a))return;if(a instanceof HTMLScriptElement&&a.type==="text/hyperscript"){let l=a.textContent??"";if(!l)return;let c=t(l,a);ul.add(a),c!=null&&c!==l&&(a.textContent=c);return}let u=Ox(a,r);if(!u)return;let o=a.getAttribute(u);if(!o)return;let s=t(o,a);ul.add(a),s!=null&&s!==o&&a.setAttribute(u,s)};e.addBeforeProcessHook(a=>{!a||typeof a.querySelectorAll!="function"||(typeof a.matches=="function"&&a.matches(i)&&n(a),a.querySelectorAll(i).forEach(n))})}var Nx=new Set(["me","my","i","it","its","you","your"]);function Ix(e){for(let t of e?.features??[])for(let r of t.events??[])if(typeof r.on=="string"&&Nx.has(r.on.toLowerCase()))return r.on}function gh(e,t){if(typeof e.parse!="function")return!0;try{let r=e.parse(t);return r?.errors&&r.errors.length>0?!1:Ix(r)===void 0}catch{return!1}}var ol=new Set;function Eh(){ol.clear()}function kh(e,t,r){ol.has(e)||(ol.add(e),console.warn(`[hyperscript-i18n] Translation for lang="${e}" rendered hyperscript the host parser rejects (or reads as a handler for an event named like me/it/you) \u2014 falling back to the original text. Source: "${t.length>60?t.slice(0,60)+"\u2026":t}" \u2192 "${r.length>60?r.slice(0,60)+"\u2026":r}". Further elements in this language stay quiet \u2014 enable { debug: true } for per-element detail.`))}var sl=new Set;function RB(){sl.clear(),Eh()}function Mx(e,t){sl.has(e)||(sl.add(e),console.warn(`[hyperscript-i18n] Translation unchanged for lang="${e}": "${t.length>60?t.slice(0,60)+"\u2026":t}". This is fine if the source is already canonical English; otherwise the input may not match any known pattern, or the language may not be registered. Original text is passed to _hyperscript as-is. Further elements in this language stay quiet \u2014 enable { debug: true } for per-element detail.`))}function ca(e={}){return function(r){let i=r;hh(i,(n,a)=>{let u=Wx(a,e);if(!u||u==="en")return n;let o=ri(n,u,e);if(o!==n){if(e.validateWithHost!==!1&&!gh(i,o))return e.debug?console.log(`[hyperscript-i18n] ${u}: host rejected "${o}" \u2014 keeping "${n}"`):kh(u,n,o),n;e.debug&&console.log(`[hyperscript-i18n] ${u}: "${n}" \u2192 "${o}"`)}else e.debug?console.log(`[hyperscript-i18n] ${u}: unchanged "${n}"`):Mx(u,n);return o})}}function Wx(e,t){if(t.languageAttribute){let i=e.getAttribute(t.languageAttribute);if(i)return i.split("-")[0].toLowerCase()}let r=Ji(e);return r||(t.defaultLanguage??null)}function ll(e,t,r={}){return t==="en"?e:ri(e,t,r)}var qx=il,$x=nl();typeof _hyperscript<"u"&&_hyperscript.use&&_hyperscript.use(ca());return Fh(Vx);})();
68
+ \u{1F4CD} ${n.location.input}`:"")}}function H(e){let t={};return typeof e.start=="number"&&(t.start=e.start),typeof e.end=="number"&&(t.end=e.end),typeof e.line=="number"&&(t.line=e.line),typeof e.column=="number"&&(t.column=e.column),t}function G(e){if(!e)return{type:"literal",value:null};switch(e.type){case"eventHandler":return vx(e);case"command":return hx(e);case"CommandSequence":return zx(e);case"block":return Cx(e);case"if":return wx(e);case"literal":return{type:"literal",value:e.value,...H(e)};case"string":return{type:"literal",value:e.value,...H(e)};case"selector":return{type:"selector",value:e.value??e.selector??"",...H(e)};case"contextReference":return{type:"identifier",value:e.name??e.contextType??"",...H(e)};case"identifier":return e.scope==="element"||e.scope==="local"||e.scope==="global"?{type:"variable",name:e.name??"",scope:e.scope,...H(e)}:{type:"identifier",value:e.name??e.value??"",name:e.name??"",...H(e)};case"propertyAccess":return Ax(e);case"possessiveExpression":return xx(e);case"propertyOfExpression":return{type:"possessive",object:G(e.target),property:e.property?.name??"",...H(e)};case"memberExpression":return bx(e);case"binaryExpression":return Dx(e);case"callExpression":return Bx(e);case"unaryExpression":return{type:"unary",operator:e.operator,operand:G(e.operand),...H(e)};case"typeCheckExpression":return{type:"typeCheck",value:G(e.value),typeName:String(e.typeName),nullOk:e.nullOk!==!1,negated:e.negated===!0,...H(e)};case"timeExpression":return{type:"literal",value:e.value,...H(e)};case"templateLiteral":return{type:"literal",value:e.raw??e.value??"",...H(e)};case"variable":return{type:"variable",name:e.name??"",scope:e.scope??"local",...H(e)};case"arrayLiteral":return{type:"array",elements:(e.elements??[]).map(t=>G(t)),...H(e)};case"attributeAccess":return{type:"possessive",object:{type:"identifier",value:"me"},property:`@${e.attributeName}`,...H(e)};case"htmlSelector":return{type:"selector",value:e.value??e.selector??"",...H(e)};case"positional":return{type:"positional",position:e.position,...e.target?{target:G(e.target)}:{},...H(e)};case"positionalExpression":return{type:"positional",position:e.operator,...e.argument?{target:G(e.argument)}:{},...H(e)};default:return{type:"literal",value:e.value??null,...H(e)}}}function vx(e){let t=e.event??"click",i=(e.commands??e.body??[]).map(a=>G(a)),n=Tx(e);return{type:"event",event:t,modifiers:n,body:i,...H(e)}}function hx(e){let t=e.name;if(t==="if"||t==="unless")return gx(e);if(t==="repeat")return Ex(e);let r=(e.args??[]).map(o=>G(o)),i=e.target?G(e.target):void 0,n=e.modifiers?Fx(e.modifiers):void 0,a=e.semanticRoles,u=a?Sx(a):void 0;return{type:"command",name:t,args:r,...i?{target:i}:{},...n&&Object.keys(n).length>0?{modifiers:n}:{},...u&&Object.keys(u).length>0?{roles:u}:{},...H(e)}}function gx(e){let t=e.args??[],r=t[0]?G(t[0]):{type:"literal",value:!0},i=bt(t[1]),n=t[2]?bt(t[2]):void 0;return e.name==="unless"&&(r={type:"unary",operator:"not",operand:r}),{type:"if",condition:r,thenBranch:i,...n?{elseBranch:n}:{},...H(e)}}function Ex(e){let t=e.modifiers??{},r=sa(t.loopType);if(r===void 0)return kx(e);let[i,n]=e.args??[],a=bt(i),u=sa(t.index),o={...u?{indexName:u}:{},...n?{elseBody:bt(n)}:{},...H(e)},s=l=>l?G(l):void 0;switch(r){case"for":return{type:"foreach",itemName:sa(t.for)??"it",collection:s(t.in)??{type:"literal",value:null},body:a,...o};case"times":return{type:"repeat",count:s(t.times),body:a,...o};case"while":case"until":{let l=s(t[r])??{type:"literal",value:r==="until"};return{type:"while",condition:r==="until"?{type:"unary",operator:"not",operand:l}:l,...t.bottomTested?.value===!0?{bottomTested:!0}:{},body:a,...o}}case"until-event":{let l=sa(t.event);if(!l)return{type:"error",message:"'repeat until event' has no event name",...H(e)};let c=s(t.from);return{type:"repeat",untilEvent:l,...c?{untilEventTarget:c}:{},body:a,...o}}default:return{type:"repeat",body:a,...o}}}function sa(e){let t=e?.value??e?.name;return typeof t=="string"?t:void 0}function kx(e){let t=e.args??[];if(t.length===0)return{type:"repeat",body:[],...H(e)};let r=t[0],i=r?.name??r?.value??"forever",n=t[t.length-1];switch(i){case"times":return{type:"repeat",count:t[1]?G(t[1]):void 0,body:bt(n),...H(e)};case"for":{let a=t[1]?.value??"item",u=t[2]?G(t[2]):{type:"identifier",value:"[]"};return{type:"foreach",itemName:a,collection:u,body:bt(n),...H(e)}}case"while":return{type:"while",condition:t[1]?G(t[1]):{type:"literal",value:!0},body:bt(n),...H(e)};case"until":return{type:"while",condition:{type:"unary",operator:"not",operand:t[1]?G(t[1]):{type:"literal",value:!1}},body:bt(n),...H(e)};default:return{type:"repeat",body:bt(n),...H(e)}}}function zx(e){let t=e.commands??[];return t.length===1?G(t[0]):{type:"event",event:"click",body:t.map(r=>G(r)),...H(e)}}function Cx(e){let t=e.commands??[];return t.length===1?G(t[0]):{type:"event",event:"click",body:t.map(r=>G(r)),...H(e)}}function wx(e){let t=e.condition?G(e.condition):{type:"literal",value:!0},r=(e.thenBranch??[]).map(n=>G(n)),i=e.elseBranch?e.elseBranch.map(n=>G(n)):void 0;return{type:"if",condition:t,thenBranch:r,...i?{elseBranch:i}:{},...H(e)}}function Ax(e){return{type:"possessive",object:e.object?G(e.object):{type:"identifier",value:"me"},property:e.property??"",...H(e)}}function xx(e){let t=e.object?G(e.object):{type:"identifier",value:"me"},r=typeof e.property=="string"?e.property:e.property?.name??e.property?.value??"";return{type:"possessive",object:t,property:r,...H(e)}}function bx(e){let t=e.object?G(e.object):{type:"identifier",value:"me"},r=typeof e.property=="string"?e.property:e.property?G(e.property):{type:"literal",value:""};return{type:"member",object:t,property:r,computed:e.computed??!1,...H(e)}}function Dx(e){return{type:"binary",operator:e.operator??"",left:G(e.left),right:G(e.right),...H(e)}}function Bx(e){let t=typeof e.callee=="string"?{type:"identifier",value:e.callee,name:e.callee}:G(e.callee),r=(e.arguments??e.args??[]).map(i=>G(i));return{type:"call",callee:t,args:r,...H(e)}}function Sx(e){let t={};for(let[r,i]of Object.entries(e))t[r]=G(i);return t}function Fx(e){let t={};for(let[r,i]of Object.entries(e))t[r]=G(i);return t}function Tx(e){let 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}:{}}}function bt(e){return e?e.type==="block"?(e.commands??[]).map(t=>G(t)):[G(e)]:[]}function nl(){return[...Qr]}function al(e,t){return Gr(e,t)}function Ji(e){let t=e.getAttribute("data-lang");if(t)return la(t);let r=e.getAttribute("data-hyperscript-lang")??e.closest?.("[data-hyperscript-lang]")?.getAttribute("data-hyperscript-lang");if(r)return la(r);let i=e.closest?.("[lang]")?.getAttribute("lang");if(i)return la(i);let n=typeof document<"u"?document.documentElement?.lang:null;return n&&n!=="en"?la(n):null}function la(e){return e.split("-")[0].toLowerCase()}var AB=.5,Lx={confidenceThreshold:.5,strategy:"semantic"};function Px(e,t){return typeof e=="number"?e:e[t]??e["*"]??.5}var _x=/^(on\s+(?:every\s+)?[\w-]+(?:\[.*?\])?(?:\.[\w-]+(?:\([^)]*\))?)*(?:\s+from\s+\S+)?(?:\s+queue\s+\w+)?\s+)/;function Rx(e){let t=e.match(_x);if(!t)return null;let r=t[1],i=e.slice(r.length);return i?{prefix:r,commands:i}:null}function vh(e){function t(n,a,u){try{return e.isLanguageRegistered(a)?e.translateSingle(n,a,u):null}catch{return null}}function r(n,a,u){try{let o=u(n,a);return o!==n?o:null}catch{return null}}function i(n,a,u){if(u.strategy==="semantic"||u.strategy==="auto"){let o=Px(u.confidenceThreshold,a),s=t(n,a,o);if(s!==null)return s}if((u.strategy==="auto"||u.strategy==="i18n")&&u.i18nToEnglish){let o=r(n,a,u.i18nToEnglish);if(o!==null)return o}return null}return function(a,u,o={}){if(u==="en")return a;let s={...Lx,...o},l=i(a,u,s);if(l!==null)return l;let c=Rx(a);if(c){let p=i(c.commands,u,s);if(p!==null)return c.prefix+p}return a}}var ri=vh({isLanguageRegistered:tr,translateSingle(e,t,r){let i=al(e,t);return i.confidence<r||!i.node?i.confidence>=r?rl(e,t,"en"):null:rr(i.node,"en")}});var ul=new WeakSet;function jx(e){return(e.config?.attributes??"_, script, data-script").split(",").map(r=>r.trim()).filter(Boolean)}function Ox(e,t){for(let r of t)if(e.hasAttribute(r))return r;return null}function hh(e,t){if(typeof e.addSourceTransform=="function"){e.addSourceTransform(t);return}if(typeof e.addBeforeProcessHook!="function"){console.warn("[hyperscript-i18n] _hyperscript.addBeforeProcessHook is unavailable \u2014 this build of _hyperscript.org is not supported. Load a current version from https://unpkg.com/hyperscript.org.");return}let r=jx(e),i=[...r.map(a=>`[${a}]`),'script[type="text/hyperscript"]'].join(", "),n=a=>{if(ul.has(a))return;if(a instanceof HTMLScriptElement&&a.type==="text/hyperscript"){let l=a.textContent??"";if(!l)return;let c=t(l,a);ul.add(a),c!=null&&c!==l&&(a.textContent=c);return}let u=Ox(a,r);if(!u)return;let o=a.getAttribute(u);if(!o)return;let s=t(o,a);ul.add(a),s!=null&&s!==o&&a.setAttribute(u,s)};e.addBeforeProcessHook(a=>{!a||typeof a.querySelectorAll!="function"||(typeof a.matches=="function"&&a.matches(i)&&n(a),a.querySelectorAll(i).forEach(n))})}var Nx=new Set(["me","my","i","it","its","you","your"]);function Ix(e){for(let t of e?.features??[])for(let r of t.events??[])if(typeof r.on=="string"&&Nx.has(r.on.toLowerCase()))return r.on}function gh(e,t){if(typeof e.parse!="function")return!0;try{let r=e.parse(t);return r?.errors&&r.errors.length>0?!1:Ix(r)===void 0}catch{return!1}}var ol=new Set;function Eh(){ol.clear()}function kh(e,t,r){ol.has(e)||(ol.add(e),console.warn(`[hyperscript-i18n] Translation for lang="${e}" rendered hyperscript the host parser rejects (or reads as a handler for an event named like me/it/you) \u2014 falling back to the original text. Source: "${t.length>60?t.slice(0,60)+"\u2026":t}" \u2192 "${r.length>60?r.slice(0,60)+"\u2026":r}". Further elements in this language stay quiet \u2014 enable { debug: true } for per-element detail.`))}var sl=new Set;function RB(){sl.clear(),Eh()}function Mx(e,t){sl.has(e)||(sl.add(e),console.warn(`[hyperscript-i18n] Translation unchanged for lang="${e}": "${t.length>60?t.slice(0,60)+"\u2026":t}". This is fine if the source is already canonical English; otherwise the input may not match any known pattern, or the language may not be registered. Original text is passed to _hyperscript as-is. Further elements in this language stay quiet \u2014 enable { debug: true } for per-element detail.`))}function ca(e={}){return function(r){let i=r;hh(i,(n,a)=>{let u=Wx(a,e);if(!u||u==="en")return n;let o=ri(n,u,e);if(o!==n){if(e.validateWithHost!==!1&&!gh(i,o))return e.debug?console.log(`[hyperscript-i18n] ${u}: host rejected "${o}" \u2014 keeping "${n}"`):kh(u,n,o),n;e.debug&&console.log(`[hyperscript-i18n] ${u}: "${n}" \u2192 "${o}"`)}else e.debug?console.log(`[hyperscript-i18n] ${u}: unchanged "${n}"`):Mx(u,n);return o})}}function Wx(e,t){if(t.languageAttribute){let i=e.getAttribute(t.languageAttribute);if(i)return i.split("-")[0].toLowerCase()}let r=Ji(e);return r||(t.defaultLanguage??null)}function ll(e,t,r={}){return t==="en"?e:ri(e,t,r)}var qx=il,$x=nl();typeof _hyperscript<"u"&&_hyperscript.use&&_hyperscript.use(ca());return Fh(Vx);})();
69
69
  //# sourceMappingURL=hyperscript-i18n.global.js.map