import{C as I}from"./index.991aca48.entry.js";import{a as $}from"./clike-724f8b71.js";function j(u,k){for(var r=0;r<k.length;r++){const i=k[r];if(typeof i!="string"&&!Array.isArray(i)){for(const l in i)if(l!=="default"&&!(l in u)){const a=Object.getOwnPropertyDescriptor(i,l);a&&Object.defineProperty(u,l,a.get?a:{enumerable:!0,get:()=>i[l]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var w={};(function(u,k){(function(r){r(I,$)})(function(r){var i="this super static final const abstract class extends external factory implements mixin get native set typedef with enum throw rethrow assert break case continue default in return new deferred async await covariant try catch finally do else for if switch while import library export part of show hide is as extension on yield late required".split(" "),l="try catch finally do else for if switch while".split(" "),a="true false null".split(" "),v="void bool num int double dynamic var String Null Never".split(" ");function c(e){for(var n={},t=0;t<e.length;++t)n[e[t]]=!0;return n}function S(e){(e.interpolationStack||(e.interpolationStack=[])).push(e.tokenize)}function b(e){return(e.interpolationStack||(e.interpolationStack=[])).pop()}function m(e){return e.interpolationStack?e.interpolationStack.length:0}r.defineMIME("application/dart",{name:"clike",keywords:c(i),blockKeywords:c(l),builtin:c(v),atoms:c(a),hooks:{"@":function(e){return e.eatWhile(/[\w\$_\.]/),"meta"},"'":function(e,n){return s("'",e,n,!1)},'"':function(e,n){return s('"',e,n,!1)},r:function(e,n){var t=e.peek();return t=="'"||t=='"'?s(e.next(),e,n,!0):!1},"}":function(e,n){return m(n)>0?(n.tokenize=b(n),null):!1},"/":function(e,n){return e.eat("*")?(n.tokenize=d(1),n.tokenize(e,n)):!1},token:function(e,n,t){if(t=="variable"){var o=RegExp("^[_$]*[A-Z][a-zA-Z0-9_$]*$","g");if(o.test(e.current()))return"variable-2"}}}});function s(e,n,t,o){var g=!1;if(n.eat(e))if(n.eat(e))g=!0;else return"string";function y(f,h){for(var p=!1;!f.eol();){if(!o&&!p&&f.peek()=="$")return S(h),h.tokenize=x,"string";var z=f.next();if(z==e&&!p&&(!g||f.match(e+e))){h.tokenize=null;break}p=!o&&!p&&z=="\\"}return"string"}return t.tokenize=y,y(n,t)}function x(e,n){return e.eat("$"),e.eat("{")?n.tokenize=null:n.tokenize=_,null}function _(e,n){return e.eatWhile(/[\w_]/),n.tokenize=b(n),"variable"}function d(e){return function(n,t){for(var o;o=n.next();)if(o=="*"&&n.eat("/"))if(e==1){t.tokenize=null;break}else return t.tokenize=d(e-1),t.tokenize(n,t);else if(o=="/"&&n.eat("*"))return t.tokenize=d(e+1),t.tokenize(n,t);return"comment"}}r.registerHelper("hintWords","application/dart",i.concat(a).concat(v)),r.defineMode("dart",function(e){return r.getMode(e,"application/dart")},"clike")})})();const A=j({__proto__:null,default:w},[w]);export{A as d};
