import{A as N}from"./index.f4d41e67.entry.js";function T(d,m){return m.forEach(function(l){l&&typeof l!="string"&&!Array.isArray(l)&&Object.keys(l).forEach(function(p){if(p!=="default"&&!(p in d)){var y=Object.getOwnPropertyDescriptor(l,p);Object.defineProperty(d,p,y.get?y:{enumerable:!0,get:function(){return l[p]}})}})}),Object.freeze(Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}))}var O={exports:{}};(function(d,m){(function(l){l(N.exports)})(function(l){var p=l.Pos;function y(e,n){for(var t=0,r=e.length;t<r;++t)n(e[t])}function x(e,n){if(!Array.prototype.indexOf){for(var t=e.length;t--;)if(e[t]===n)return!0;return!1}return e.indexOf(n)!=-1}function w(e,n,t,r){var s=e.getCursor(),i=t(e,s);if(!/\b(?:string|comment)\b/.test(i.type)){var c=l.innerMode(e.getMode(),i.state);if(c.mode.helperType!=="json"){i.state=c.state,/^[\w$_]*$/.test(i.string)?i.end>s.ch&&(i.end=s.ch,i.string=i.string.slice(0,s.ch-i.start)):i={start:s.ch,end:s.ch,string:"",state:i.state,type:i.string=="."?"property":null};for(var a=i;a.type=="property";){if(a=t(e,p(s.line,a.start)),a.string!=".")return;if(a=t(e,p(s.line,a.start)),!h)var h=[];h.push(a)}return{list:Q(i,h,n,r),from:p(s.line,i.start),to:p(s.line,i.end)}}}}function P(e,n){return w(e,$,function(t,r){return t.getTokenAt(r)},n)}l.registerHelper("hint","javascript",P);function A(e,n){var t=e.getTokenAt(n);return n.ch==t.start+1&&t.string.charAt(0)=="."?(t.end=t.start,t.string=".",t.type="property"):/^\.[\w$_]*$/.test(t.string)&&(t.type="property",t.start++,t.string=t.string.replace(/\./,"")),t}function _(e,n){return w(e,S,A,n)}l.registerHelper("hint","coffeescript",_);var j="charAt charCodeAt indexOf lastIndexOf substring substr slice trim trimLeft trimRight toUpperCase toLowerCase split concat match replace search".split(" "),C="length concat join splice push pop shift unshift slice reverse sort indexOf lastIndexOf every some filter forEach map reduce reduceRight ".split(" "),H="prototype apply call bind".split(" "),$="break case catch class const continue debugger default delete do else export extends false finally for function if in import instanceof new null return super switch this throw true try typeof var void while with yield".split(" "),S="and break catch class continue delete do else extends false finally for if in instanceof isnt new no not null of off on or return switch then throw true try typeof until void while with yes".split(" ");function E(e,n){if(!Object.getOwnPropertyNames||!Object.getPrototypeOf)for(var t in e)n(t);else for(var r=e;r;r=Object.getPrototypeOf(r))Object.getOwnPropertyNames(r).forEach(n)}function Q(e,n,t,r){var s=[],i=e.string,c=r&&r.globalScope||window;function a(g){g.lastIndexOf(i,0)==0&&!x(s,g)&&s.push(g)}function h(g){typeof g=="string"?y(j,a):g instanceof Array?y(C,a):g instanceof Function&&y(H,a),E(g,a)}if(n&&n.length){var u=n.pop(),o;for(u.type&&u.type.indexOf("variable")===0?(r&&r.additionalContext&&(o=r.additionalContext[u.string]),(!r||r.useGlobalScope!==!1)&&(o=o||c[u.string])):u.type=="string"?o="":u.type=="atom"?o=1:u.type=="function"&&(c.jQuery!=null&&(u.string=="$"||u.string=="jQuery")&&typeof c.jQuery=="function"?o=c.jQuery():c._!=null&&u.string=="_"&&typeof c._=="function"&&(o=c._()));o!=null&&n.length;)o=o[n.pop().string];o!=null&&h(o)}else{for(var f=e.state.localVars;f;f=f.next)a(f.name);for(var v=e.state.context;v;v=v.prev)for(var f=v.vars;f;f=f.next)a(f.name);for(var f=e.state.globalVars;f;f=f.next)a(f.name);if(r&&r.additionalContext!=null)for(var I in r.additionalContext)a(I);(!r||r.useGlobalScope!==!1)&&h(c),y(t,a)}return s}})})();var G=O.exports,L=T({__proto__:null,default:G},[O.exports]);export{L as j};
