text: "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3444,3047],{7305:function(b){function a(a){!function(a){function b(a,b){return"___"+a.toUpperCase()+b+"___"}Object.defineProperties(a.languages["markup-templating"]={},{buildPlaceholders:{value:function(c,d,e,f){if(c.language===d){var g=c.tokenStack=[];c.code=c.code.replace(e,function(a){if("function"==typeof f&&!f(a))return a;for(var h,e=g.length;-1!==c.code.indexOf(h=b(d,e));)++e;return g[e]=a,h}),c.grammar=a.languages.markup}}},tokenizePlaceholders:{value:function(c,d){if(c.language===d&&c.tokenStack){c.grammar=a.languages[d];var e=0,f=Object.keys(c.tokenStack);g(c.tokens)}function g(j){for(var k=0;k<j.length;k++){if(e>=f.length)break;var h=j[k];if("string"==typeof h||h.content&&"string"==typeof h.content){var n=f[e],o=c.tokenStack[n],l="string"==typeof h?h:h.content,p=b(d,n),m=l.indexOf(p);if(m> -1){++e;var q=l.substring(0,m),s=new a.Token(d,a.tokenize(o,c.grammar),"language-"+d,o),r=l.substring(m+p.length),i=[];q&&i.push.apply(i,g([q])),i.push(s),r&&i.push.apply(i,g([r])),"string"==typeof h?j.splice.apply(j,[k,1].concat(i)):h.content=i}}else h.content&&g(h.content)}return j}}}})}(a)}b.exports=a,a.displayName="markupTemplating",a.aliases=[]},345:function(b,d,c){var e=c(7305);function a(b){var a;b.register(e),(a=b).languages.tt2=a.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),a.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),a.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),a.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete a.languages.tt2.string,a.hooks.add("before-tokenize",function(b){a.languages["markup-templating"].buildPlaceholders(b,"tt2",/\[%[\s\S]+?%\]/g)}),a.hooks.add("after-tokenize",function(b){a.languages["markup-templating"].tokenizePlaceholders(b,"tt2")})}b.exports=a,a.displayName="tt2",a.aliases=[]}}])