"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6403,7508],{1608:(e,a,n)=>{var t=n(82890);function s(e){e.register(t),e.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:e.languages.javascript}},e.hooks.add("before-tokenize",function(a){e.languages["markup-templating"].buildPlaceholders(a,"ejs",/<%(?!%)[\s\S]+?%>/g)}),e.hooks.add("after-tokenize",function(a){e.languages["markup-templating"].tokenizePlaceholders(a,"ejs")}),e.languages.eta=e.languages.ejs}e.exports=s,s.displayName="ejs",s.aliases=["eta"]},82890:e=>{function a(e){function a(e,a){return"___"+e.toUpperCase()+a+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,t,s,r){if(n.language===t){var o=n.tokenStack=[];n.code=n.code.replace(s,function(e){if("function"==typeof r&&!r(e))return e;for(var s,i=o.length;-1!==n.code.indexOf(s=a(t,i));)++i;return o[i]=e,s}),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,t){if(n.language===t&&n.tokenStack){n.grammar=e.languages[t];var s=0,r=Object.keys(n.tokenStack);!function o(i){for(var l=0;l<i.length&&!(s>=r.length);l++){var u=i[l];if("string"==typeof u||u.content&&"string"==typeof u.content){var g=r[s],c=n.tokenStack[g],p="string"==typeof u?u:u.content,f=a(t,g),k=p.indexOf(f);if(k>-1){++s;var d=p.substring(0,k),m=new e.Token(t,e.tokenize(c,n.grammar),"language-"+t,c),h=p.substring(k+f.length),v=[];d&&v.push.apply(v,o([d])),v.push(m),h&&v.push.apply(v,o([h])),"string"==typeof u?i.splice.apply(i,[l,1].concat(v)):u.content=v}}else u.content&&o(u.content)}return i}(n.tokens)}}}})}e.exports=a,a.displayName="markupTemplating",a.aliases=[]}}]);