PageSourceSearch

https://www.themoonlight.io/_next/static/chunks/4079.9f548e2d5c18314f.js

js themoonlight.io collected 2026-10-02 04:23:23 UTC 2,456 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="757e0b47-8d7c-48e9-acd3-ba406286449e",e._sentryDebugIdIdentifier="sentry-dbid-757e0b47-8d7c-48e9-acd3-ba406286449e")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4079],{84079:function(e,n,t){t.r(n),t.d(n,{smalltalk:function(){return h}});var a=/[+\-\/\\*~<>=@%|&?!.,:;^]/,i=/true|false|nil|self|super|thisContext/,r=function(e,n){this.next=e,this.parent=n},s=function(e,n,t){this.name=e,this.context=n,this.eos=t},o=function(){this.context=new r(u,null),this.expectVariable=!0,this.indentation=0,this.userIndentationDelta=0};o.prototype.userIndent=function(e,n){this.userIndentationDelta=e>0?e/n-this.indentation:0};var u=function(e,n,t){var o=new s(null,n,!1),u=e.next();return'"'===u?o=l(e,new r(l,n)):"'"===u?o=c(e,new r(c,n)):"#"===u?"'"===e.peek()?(e.next(),o=d(e,new r(d,n))):e.eatWhile(/[^\s.{}\[\]()]/)?o.name="string.special":o.name="meta":"$"===u?("<"===e.next()&&(e.eatWhile(/[^\s>]/),e.next()),o.name="string.special"):"|"===u&&t.expectVariable?o.context=new r(f,n):/[\[\]{}()]/.test(u)?(o.name="bracket",o.eos=/[\[{(]/.test(u),"["===u?t.indentation++:"]"===u&&(t.indentation=Math.max(0,t.indentation-1))):a.test(u)?(e.eatWhile(a),o.name="operator",o.eos=";"!==u):/\d/.test(u)?(e.eatWhile(/[\w\d]/),o.name="number"):/[\w_]/.test(u)?(e.eatWhile(/[\w\d_]/),o.name=t.expectVariable?i.test(e.current())?"keyword":"variable":null):o.eos=t.expectVariable,o},l=function(e,n){return e.eatWhile(/[^"]/),new s("comment",e.eat('"')?n.parent:n,!0)},c=function(e,n){return e.eatWhile(/[^']/),new s("string",e.eat("'")?n.parent:n,!1)},d=function(e,n){return e.eatWhile(/[^']/),new s("string.special",e.eat("'")?n.parent:n,!1)},f=function(e,n){var t=new s(null,n,!1);return"|"===e.next()?(t.context=n.parent,t.eos=!0):(e.eatWhile(/[^|]/),t.name="variable"),t};const h={name:"smalltalk",startState:function(){return new o},token:function(e,n){if(n.userIndent(e.indentation(),e.indentUnit),e.eatSpace())return null;var t=n.context.next(e,n.context,n);return n.context=t.context,n.expectVariable=t.eos,t.name},blankLine:function(e,n){e.userIndent(0,n)},indent:function(e,n,t){var a=e.context.next===u&&n&&"]"===n.charAt(0)?-1:e.userIndentationDelta;return(e.indentation+a)*t.unit},languageData:{indentOnInput:/^\s*\]$/}}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.