PageSourceSearch

https://exode.me/client/en-US/chunk-ULG34577.js

js exode.me collected 2026-10-04 16:17:53 UTC 18,056 bytes, 5 lines download raw bytes

1import{d as p,n as d}from"./chunk-XSDBI7IR.js";import"./chunk-KJ7W2O2B.js";var D={amp:"&",gt:">",lt:"<",nbsp:"\xA0",quot:'"'},k=/^#[xX]([A-Fa-f0-9]+)$/,A=/^#([0-9]+)$/,C=/^([A-Za-z0-9]+)$/,v=(function(){function i(e){this.named=e}return i.prototype.parse=function(e){if(e){var n=e.match(k);if(n)return String.fromCharCode(parseInt(n[1],16));if(n=e.match(A),n)return String.fromCharCode(parseInt(n[1],10));if(n=e.match(C),n)return this.named[n[1]]||"&"+n[1]+";"}},i})(),N=/[\t\n\f ]/,S=/[A-Za-z]/,I=/\r\n?/g;function r(i){return N.test(i)}function m(i){return S.test(i)}function V(i){return i.replace(I,`
2`)}var E=(function(){function i(e,n,s){s===void 0&&(s="precompile"),this.delegate=e,this.entityParser=n,this.mode=s,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var t=this.peek();if(t==="<"&&!this.isIgnoredEndTag())this.transitionTo("tagOpen"),this.markTagStart(),this.consume();else{if(this.mode==="precompile"&&t===`
3`){var o=this.tagNameBuffer.toLowerCase();(o==="pre"||o==="textarea")&&this.consume()}this.transitionTo("data"),this.delegate.beginData()}},data:function(){var t=this.peek(),o=this.tagNameBuffer;t==="<"&&!this.isIgnoredEndTag()?(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume()):t==="&"&&o!=="script"&&o!=="style"?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(t))},tagOpen:function(){var t=this.consume();t==="!"?this.transitionTo("markupDeclarationOpen"):t==="/"?this.transitionTo("endTagOpen"):(t==="@"||t===":"||m(t))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(t))},markupDeclarationOpen:function(){var t=this.consume();if(t==="-"&&this.peek()==="-")this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment();else{var o=t.toUpperCase()+this.input.substring(this.index,this.index+6).toUpperCase();o==="DOCTYPE"&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.transitionTo("doctype"),this.delegate.beginDoctype&&this.delegate.beginDoctype())}},doctype:function(){var t=this.consume();r(t)&&this.transitionTo("beforeDoctypeName")},beforeDoctypeName:function(){var t=this.consume();r(t)||(this.transitionTo("doctypeName"),this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(t.toLowerCase()))},doctypeName:function(){var t=this.consume();r(t)?this.transitionTo("afterDoctypeName"):t===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(t.toLowerCase())},afterDoctypeName:function(){var t=this.consume();if(!r(t))if(t===">")this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData");else{var o=t.toUpperCase()+this.input.substring(this.index,this.index+5).toUpperCase(),u=o.toUpperCase()==="PUBLIC",a=o.toUpperCase()==="SYSTEM";(u||a)&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume()),u?this.transitionTo("afterDoctypePublicKeyword"):a&&this.transitionTo("afterDoctypeSystemKeyword")}},afterDoctypePublicKeyword:function(){var t=this.peek();r(t)?(this.transitionTo("beforeDoctypePublicIdentifier"),this.consume()):t==='"'?(this.transitionTo("doctypePublicIdentifierDoubleQuoted"),this.consume()):t==="'"?(this.transitionTo("doctypePublicIdentifierSingleQuoted"),this.consume()):t===">"&&(this.consume(),this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},doctypePublicIdentifierDoubleQuoted:function(){var t=this.consume();t==='"'?this.transitionTo("afterDoctypePublicIdentifier"):t===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(t)},doctypePublicIdentifierSingleQuoted:function(){var t=this.consume();t==="'"?this.transitionTo("afterDoctypePublicIdentifier"):t===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(t)},afterDoctypePublicIdentifier:function(){var t=this.consume();r(t)?this.transitionTo("betweenDoctypePublicAndSystemIdentifiers"):t===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):t==='"'?this.transitionTo("doctype
3SystemIdentifierDoubleQuoted"):t==="'"&&this.transitionTo("doctypeSystemIdentifierSingleQuoted")},betweenDoctypePublicAndSystemIdentifiers:function(){var t=this.consume();r(t)||(t===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):t==='"'?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):t==="'"&&this.transitionTo("doctypeSystemIdentifierSingleQuoted"))},doctypeSystemIdentifierDoubleQuoted:function(){var t=this.consume();t==='"'?this.transitionTo("afterDoctypeSystemIdentifier"):t===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(t)},doctypeSystemIdentifierSingleQuoted:function(){var t=this.consume();t==="'"?this.transitionTo("afterDoctypeSystemIdentifier"):t===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(t)},afterDoctypeSystemIdentifier:function(){var t=this.consume();r(t)||t===">"&&(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},commentStart:function(){var t=this.consume();t==="-"&&this.peek()==="-"?this.transitionTo("commentStartDash"):t===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(t),this.transitionTo("comment"))},commentStartDash:function(){var t=this.consume();t==="-"?this.transitionTo("commentEnd"):t===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var t=this.consume();t==="-"?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(t)},commentEndDash:function(){var t=this.consume();t==="-"&&this.peek()==="-"?this.delegate.appendToCommentData(t):t==="-"?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+t),this.transitionTo("comment"))},commentEnd:function(){var t=this.consume();t===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+t),this.transitionTo("comment"))},tagName:function(){var t=this.consume();r(t)?this.transitionTo("beforeAttributeName"):t==="/"?this.transitionTo("selfClosingStartTag"):t===">"?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(t)},endTagName:function(){var t=this.consume();r(t)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):t==="/"?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):t===">"?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(t)},beforeAttributeName:function(){var t=this.peek();if(r(t)){this.consume();return}else t==="/"?(this.transitionTo("selfClosingStartTag"),this.consume()):t===">"?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):t==="="?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(t)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var t=this.peek();r(t)?(this.transitionTo("afterAttributeName"),this.consume()):t==="/"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):t==="="?(this.transitionTo("beforeAttributeValue"),this.consume()):t===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):t==='"'||t==="'"||t==="<"?(this.delegate.reportSyntaxError(t+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(t)):(this.consume(),this.delegate.appendToAttributeName(t))},afterAttributeName:function(){var t=this.peek();if(r(t)){this.consume();return}else t==="/"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):t==="="?(this.consume(),this.transitionTo("beforeAttributeValue")):t===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(t))},beforeAttributeValue:function(){var t=this.peek();r(t)?this.consume():t==='"'?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):t==="'"?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):t===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(t))},attributeValueDoubleQuoted:function(){var t=this.consume();t==='"'?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):t==="&"?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(t)},attributeValueSingleQuoted:function(){var t=this.consume();t==="'"?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):t==="&"?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(t)},attributeValueUnquoted:function(){var t=this.peek();r(t)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):t==="/"?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):t==="&"?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):t===">"?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(t))},afterAttributeValueQuoted:function(){var t=this.peek();r(t)?(this.consume(),this.transitionTo("beforeAttributeName")):t==="/"?(this.consume(),this.transitionTo("selfClosingStartTag")):t===">"?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){var t=this.peek();t===">"?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var t=this.consume();(t==="@"||t===":"||m(t))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(t))}},this.reset()}return i.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.tagNameBuffer="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},i.prototype.transitionTo=function(e){this.state=e},i.prototype.tokenize=function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},i.prototype.tokenizePart=function(e){for(this.input+=V(e);this.index<this.input.length;){var n=this.states[this.state];if(n!==void 0)n.call(this);else throw new Error("unhandled state "+this.state)}},i.prototype.tokenizeEOF=function(){this.flushData()},i.prototype.flushData=function(){this.state==="data"&&(this.delegate.finishData(),this.transitionTo("beforeData"))},i.prototype.peek=function(){return this.input.charAt(this.index)},i.prototype.consume=function(){var e=this.peek();return this.index++,e===`
4`?(this.line++,this.column=0):this.column++,e},i.prototype.consumeCharRef=function(){var e=this.input.indexOf(";",this.index);if(e!==-1){var n=this.input.slice(this.index,e),s=this.entityParser.parse(n);if(s){for(var t=n.length;t;)this.consume(),t--;return this.consume(),s}}},i.prototype.markTagStart=function(){this.delegate.tagOpen()},i.prototype.appendToTagName=function(e){this.tagNameBuffer+=e,this.delegate.appendToTagName(e)},i.prototype.isIgnoredEndTag=function(){var e=this.tagNameBuffer;return e==="title"&&this.input.substring(this.index,this.index+8)!=="</title>"||e==="style"&&this.input.substring(this.index,this.index+8)!=="</style>"||e==="script"&&this.input.substring(this.index,this.index+9)!=="<\/script>"},i})(),z=(function(){function i(e,n){n===void 0&&(n={}),this.options=n,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new E(this,e,n.mode),this._currentAttribute=void 0}return i.prototype.tokenize=function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},i.prototype.tokenizePart=function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},i.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},i.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},i.prototype.current=function(){var e=this.token;if(e===null)throw new Error("token was unexpectedly null");if(arguments.length===0)return e;for(var n=0;n<arguments.length;n++)if(e.type===arguments[n])return e;throw new Error("token type was unexpectedly "+e.type)},i.prototype.push=function(e){this.token=e,this.tokens.push(e)},i.prototype.currentAttribute=function(){return this._currentAttribute},i.prototype.addLocInfo=function(){this.options.loc&&(this.current().loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},i.prototype.beginDoctype=function(){this.push({type:"Doctype",name:""})},i.prototype.appendToDoctypeName=function(e){this.current("Doctype").name+=e},i.prototype.appendToDoctypePublicIdentifier=function(e){var n=this.current("Doctype");n.publicIdentifier===void 0?n.publicIdentifier=e:n.publicIdentifier+=e},i.prototype.appendToDoctypeSystemIdentifier=function(e){var n=this.current("Doctype");n.systemIdentifier===void 0?n.systemIdentifier=e:n.systemIdentifier+=e},i.prototype.endDoctype=function(){this.addLocInfo()},i.prototype.beginData=function(){this.push({type:"Chars",chars:""})},i.prototype.appendToData=function(e){this.current("Chars").chars+=e},i.prototype.finishData=function(){this.addLocInfo()},i.prototype.beginComment=function(){this.push({type:"Comment",chars:""})},i.prototype.appendToCommentData=function(e){this.current("Comment").chars+=e},i.prototype.finishComment=function(){this.addLocInfo()},i.prototype.tagOpen=function(){},i.prototype.beginStartTag=function(){this.push({type:"StartTag",tagName:"",attributes:[],selfClosing:!1})},i.prototype.beginEndTag=function(){this.push({type:"EndTag",tagName:""})},i.prototype.finishTag=function(){this.addLocInfo()},i.prototype.markTagAsSelfClosing=function(){this.current("StartTag").selfClosing=!0},i.prototype.appendToTagName=function(e){this.current("StartTag","EndTag").tagName+=e},i.prototype.beginAttribute=function(){this._currentAttribute=["","",!1]},i.prototype.appendToAttributeName=function(e){this.currentAttribute()[0]+=e},i.prototype.beginAttributeValue=function(e){this.currentAttribute()[2]=e},i.prototype.appendToAttributeValue=function(e){this.currentAttribute()[1]+=e},i.prototype.finishAttributeValue=function(){this.current("StartTag").attributes.push(this._currentAttribute)},i.prototype.reportSyntaxError=function(e){this.current().syntaxError=e},i})();function P(i,e){var n=new z(new v(D),e);return n.tokenize(i)}var g="LinkifyResult",f="StartTag",T="EndTag",c="Chars",x="Comment",w="Doctype";function F(i,e={}){let n=P(i),s=[],t=[],o=new p(e,Q);for(let u=0;u<n.length;u++){let a=n[u];if(a.type===f){s.push(a);let h=a.tagName.toUpperCase();if(!(h==="A"||o.ignoreTags.indexOf(h)>=0))continue;let y=s.length;O(h,n,++u,s),u+=s.length-y-1}else if(a.type!==c)s.push(a);else{let h=L(a.chars,o);s.push.apply(s,h)}}for(let u=0;u<s.length;u++){let a=s[u];switch(a.type){case g:t.push(a.rendered);break;case f:{let h="<"+a.tagName;a.attributes.length>0&&(h+=" "+B(a.attributes).join(" ")),a.selfClosing&&(h+=" /"),h+=">",t.push(h);break}case T:t.push(`</${a.tagName}>`);break;case c:t.push(l(a.chars));break;case x:t.push(`<!--${l(a.chars)}-->`);break;case w:{let h=`<!DOCTYPE ${a.name}`;a.publicIdentifier&&(h+=` PUBLIC "${a.publicIdentifier}"`),a.systemIdentifier&&(h+=` "${a.systemIdentifier}"`),h+=">",t.push(h);break}}}return t.join("")}function L(i,e){let n=d(i),s=[];for(let t=0;t<n.length;t++){let o=n[t];o.t==="nl"&&e.get("nl2br")?s.push({type:f,tagName:"br",attributes:[],selfClosing:!0}):!o.isLink||!e.check(o)?s.push({type:c,chars:o.toString()}):s.push({type:g,rendered:e.render(o)})}return s}function O(i,e,n,s){let t=1;for(;n<e.length&&t>0;){let o=e[n];o.type===f&&o.tagName.toUpperCase()===i?t++:o.type===T&&o.tagName.toUpperCase()===i&&t--,s.push(o),n++}return s}function Q({tagName:i,attributes:e,content:n}){return`<${i} ${$(e)}>${l(n)}</${i}>`}function l(i){return i.replace(/</g,"&lt;").replace(/>/g,"&gt;")}function b(i){return i.replace(/"/g,"&quot;")}function $(i){let e=[];for(let n in i){let s=i[n]+"";e.push(`${n}="${b(s)}"`)}return e.join(" ")}function B(i){let e=[];for(let n=0;n<i.length;n++){let s=i[n][0],t=i[n][1]+"";e.push(`${s}="${b(t)}"`)}return e}export{F as default};
5/**i18n:347eeb695970c32bc275618edc2e751c67145d9fc3012e70543c114a99b9e016*/

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.