mirror of
https://github.com/DaanVandenBosch/phantasmal-world.git
synced 2025-04-04 14:38:32 +08:00
1 line
25 KiB
Plaintext
1 line
25 KiB
Plaintext
{"version":3,"file":"205.js","mappings":"+IAIO,IAAIA,EAAO,CACdC,YAAa,uFACbC,SAAU,CACNC,YAAa,KACbC,aAAc,CAAC,KAAM,OAEzBC,SAAU,CACN,CAAC,IAAK,KACN,CAAC,IAAK,KACN,CAAC,IAAK,MAEVC,iBAAkB,CACd,CAAEC,KAAM,IAAKC,MAAO,IAAKC,MAAO,CAAC,WACjC,CAAEF,KAAM,IAAKC,MAAO,IAAKC,MAAO,CAAC,WACjC,CAAEF,KAAM,IAAKC,MAAO,IAAKC,MAAO,CAAC,WACjC,CAAEF,KAAM,IAAKC,MAAO,IAAKC,MAAO,CAAC,WACjC,CAAEF,KAAM,IAAKC,MAAO,IAAKC,MAAO,CAAC,SAAU,aAE/CC,QAAS,CACLC,QAAS,CACLC,MAAO,IAAIC,OAAO,wBAClBC,IAAK,IAAID,OAAO,8BAIjBE,EAAW,CAClBC,aAAc,GACdC,aAAc,GAGdC,UAAW,CACPC,KAAM,CACF,CAAC,gBAAiB,CAAEC,MAAO,WAAYC,SAAU,2BACjD,CAAC,YAAa,eAAgB,YAC9B,CAAC,OAAQ,eAAgB,YACzB,CAAC,gBAAiB,CAAC,iBAAkB,WAAY,mBACjD,CAAC,cAAe,CAAC,iBAAkB,CAAED,MAAO,WAAYE,KAAM,aAC9D,CAAC,aAAc,CAAC,iBAAkB,CAAEF,MAAO,WAAYE,KAAM,YAC7D,CAAC,cAAe,CAAC,iBAAkB,CAAEF,MAAO,WAAYE,KAAM,eAC9D,CAAC,aAAc,CAAC,iBAAkB,CAAEF,MAAO,WAAYE,KAAM,eAC7D,CAAC,IAAK,kBACN,CAAC,UAELC,QAAS,CACL,CAAC,gBAAiB,CAAEH,MAAO,WAAYC,SAAU,8BACjD,CAAC,QAAS,wBACV,CAAC,IAAK,eAAgB,SAE1BG,QAAS,CACL,CAAC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,MACA,QACA,KACA,QACA,WACA,OACA,QACA,YACA,QACA,QACA,QACA,WACA,UACA,UACA,KACA,OACA,SACA,aACA,SACA,aACA,QACA,YACA,WACA,UACA,QACA,QACA,MACA,UACA,WACA,SACA,OACA,KACA,aACA,YACA,aACA,YACA,YACA,MACA,OACA,SACA,eACA,KACA,UACA,YACA,SACA,WACA,SACA,SACA,QACA,QACA,MACA,OACA,MACA,MACA,QACA,MACA,MACA,OACA,QACA,OACA,OACA,UACA,eACA,QACA,OACA,UACA,eACA,SACA,QACA,QACA,QACA,eAEJC,wBAAyB,CACrB,YACA,UACA,WACA,WACA,gBACA,aACA,eACA,aAEJC,uBAAwB,CACpB,WACA,WACA,QACA,SACA,UACA,YACA,YACA,QACA,WACA,gBACA,sBACA,wBACA,QACA,SAEJC,QAAS,wE","sources":["webpack://web/../../node_modules/monaco-editor/esm/vs/basic-languages/php/php.js"],"sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\nexport var conf = {\r\n wordPattern: /(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\#\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)/g,\r\n comments: {\r\n lineComment: '//',\r\n blockComment: ['/*', '*/']\r\n },\r\n brackets: [\r\n ['{', '}'],\r\n ['[', ']'],\r\n ['(', ')']\r\n ],\r\n autoClosingPairs: [\r\n { open: '{', close: '}', notIn: ['string'] },\r\n { open: '[', close: ']', notIn: ['string'] },\r\n { open: '(', close: ')', notIn: ['string'] },\r\n { open: '\"', close: '\"', notIn: ['string'] },\r\n { open: \"'\", close: \"'\", notIn: ['string', 'comment'] }\r\n ],\r\n folding: {\r\n markers: {\r\n start: new RegExp('^\\\\s*(#|//)region\\\\b'),\r\n end: new RegExp('^\\\\s*(#|//)endregion\\\\b')\r\n }\r\n }\r\n};\r\nexport var language = {\r\n defaultToken: '',\r\n tokenPostfix: '',\r\n // ignoreCase: true,\r\n // The main tokenizer for our languages\r\n tokenizer: {\r\n root: [\r\n [/<\\?((php)|=)?/, { token: '@rematch', switchTo: '@phpInSimpleState.root' }],\r\n [/<!DOCTYPE/, 'metatag.html', '@doctype'],\r\n [/<!--/, 'comment.html', '@comment'],\r\n [/(<)(\\w+)(\\/>)/, ['delimiter.html', 'tag.html', 'delimiter.html']],\r\n [/(<)(script)/, ['delimiter.html', { token: 'tag.html', next: '@script' }]],\r\n [/(<)(style)/, ['delimiter.html', { token: 'tag.html', next: '@style' }]],\r\n [/(<)([:\\w]+)/, ['delimiter.html', { token: 'tag.html', next: '@otherTag' }]],\r\n [/(<\\/)(\\w+)/, ['delimiter.html', { token: 'tag.html', next: '@otherTag' }]],\r\n [/</, 'delimiter.html'],\r\n [/[^<]+/] // text\r\n ],\r\n doctype: [\r\n [/<\\?((php)|=)?/, { token: '@rematch', switchTo: '@phpInSimpleState.comment' }],\r\n [/[^>]+/, 'metatag.content.html'],\r\n [/>/, 'metatag.html', '@pop']\r\n ],\r\n comment: [\r\n [/<\\?((php)|=)?/, { token: '@rematch', switchTo: '@phpInSimpleState.comment' }],\r\n [/-->/, 'comment.html', '@pop'],\r\n [/[^-]+/, 'comment.content.html'],\r\n [/./, 'comment.content.html']\r\n ],\r\n otherTag: [\r\n [/<\\?((php)|=)?/, { token: '@rematch', switchTo: '@phpInSimpleState.otherTag' }],\r\n [/\\/?>/, 'delimiter.html', '@pop'],\r\n [/\"([^\"]*)\"/, 'attribute.value'],\r\n [/'([^']*)'/, 'attribute.value'],\r\n [/[\\w\\-]+/, 'attribute.name'],\r\n [/=/, 'delimiter'],\r\n [/[ \\t\\r\\n]+/] // whitespace\r\n ],\r\n // -- BEGIN <script> tags handling\r\n // After <script\r\n script: [\r\n [/<\\?((php)|=)?/, { token: '@rematch', switchTo: '@phpInSimpleState.script' }],\r\n [/type/, 'attribute.name', '@scriptAfterType'],\r\n [/\"([^\"]*)\"/, 'attribute.value'],\r\n [/'([^']*)'/, 'attribute.value'],\r\n [/[\\w\\-]+/, 'attribute.name'],\r\n [/=/, 'delimiter'],\r\n [\r\n />/,\r\n {\r\n token: 'delimiter.html',\r\n next: '@scriptEmbedded.text/javascript',\r\n nextEmbedded: 'text/javascript'\r\n }\r\n ],\r\n [/[ \\t\\r\\n]+/],\r\n [\r\n /(<\\/)(script\\s*)(>)/,\r\n ['delimiter.html', 'tag.html', { token: 'delimiter.html', next: '@pop' }]\r\n ]\r\n ],\r\n // After <script ... type\r\n scriptAfterType: [\r\n [\r\n /<\\?((php)|=)?/,\r\n {\r\n token: '@rematch',\r\n switchTo: '@phpInSimpleState.scriptAfterType'\r\n }\r\n ],\r\n [/=/, 'delimiter', '@scriptAfterTypeEquals'],\r\n [\r\n />/,\r\n {\r\n token: 'delimiter.html',\r\n next: '@scriptEmbedded.text/javascript',\r\n nextEmbedded: 'text/javascript'\r\n }\r\n ],\r\n [/[ \\t\\r\\n]+/],\r\n [/<\\/script\\s*>/, { token: '@rematch', next: '@pop' }]\r\n ],\r\n // After <script ... type =\r\n scriptAfterTypeEquals: [\r\n [\r\n /<\\?((php)|=)?/,\r\n {\r\n token: '@rematch',\r\n switchTo: '@phpInSimpleState.scriptAfterTypeEquals'\r\n }\r\n ],\r\n [\r\n /\"([^\"]*)\"/,\r\n {\r\n token: 'attribute.value',\r\n switchTo: '@scriptWithCustomType.$1'\r\n }\r\n ],\r\n [\r\n /'([^']*)'/,\r\n {\r\n token: 'attribute.value',\r\n switchTo: '@scriptWithCustomType.$1'\r\n }\r\n ],\r\n [\r\n />/,\r\n {\r\n token: 'delimiter.html',\r\n next: '@scriptEmbedded.text/javascript',\r\n nextEmbedded: 'text/javascript'\r\n }\r\n ],\r\n [/[ \\t\\r\\n]+/],\r\n [/<\\/script\\s*>/, { token: '@rematch', next: '@pop' }]\r\n ],\r\n // After <script ... type = $S2\r\n scriptWithCustomType: [\r\n [\r\n /<\\?((php)|=)?/,\r\n {\r\n token: '@rematch',\r\n switchTo: '@phpInSimpleState.scriptWithCustomType.$S2'\r\n }\r\n ],\r\n [\r\n />/,\r\n {\r\n token: 'delimiter.html',\r\n next: '@scriptEmbedded.$S2',\r\n nextEmbedded: '$S2'\r\n }\r\n ],\r\n [/\"([^\"]*)\"/, 'attribute.value'],\r\n [/'([^']*)'/, 'attribute.value'],\r\n [/[\\w\\-]+/, 'attribute.name'],\r\n [/=/, 'delimiter'],\r\n [/[ \\t\\r\\n]+/],\r\n [/<\\/script\\s*>/, { token: '@rematch', next: '@pop' }]\r\n ],\r\n scriptEmbedded: [\r\n [\r\n /<\\?((php)|=)?/,\r\n {\r\n token: '@rematch',\r\n switchTo: '@phpInEmbeddedState.scriptEmbedded.$S2',\r\n nextEmbedded: '@pop'\r\n }\r\n ],\r\n [/<\\/script/, { token: '@rematch', next: '@pop', nextEmbedded: '@pop' }]\r\n ],\r\n // -- END <script> tags handling\r\n // -- BEGIN <style> tags handling\r\n // After <style\r\n style: [\r\n [/<\\?((php)|=)?/, { token: '@rematch', switchTo: '@phpInSimpleState.style' }],\r\n [/type/, 'attribute.name', '@styleAfterType'],\r\n [/\"([^\"]*)\"/, 'attribute.value'],\r\n [/'([^']*)'/, 'attribute.value'],\r\n [/[\\w\\-]+/, 'attribute.name'],\r\n [/=/, 'delimiter'],\r\n [\r\n />/,\r\n {\r\n token: 'delimiter.html',\r\n next: '@styleEmbedded.text/css',\r\n nextEmbedded: 'text/css'\r\n }\r\n ],\r\n [/[ \\t\\r\\n]+/],\r\n [\r\n /(<\\/)(style\\s*)(>)/,\r\n ['delimiter.html', 'tag.html', { token: 'delimiter.html', next: '@pop' }]\r\n ]\r\n ],\r\n // After <style ... type\r\n styleAfterType: [\r\n [\r\n /<\\?((php)|=)?/,\r\n {\r\n token: '@rematch',\r\n switchTo: '@phpInSimpleState.styleAfterType'\r\n }\r\n ],\r\n [/=/, 'delimiter', '@styleAfterTypeEquals'],\r\n [\r\n />/,\r\n {\r\n token: 'delimiter.html',\r\n next: '@styleEmbedded.text/css',\r\n nextEmbedded: 'text/css'\r\n }\r\n ],\r\n [/[ \\t\\r\\n]+/],\r\n [/<\\/style\\s*>/, { token: '@rematch', next: '@pop' }]\r\n ],\r\n // After <style ... type =\r\n styleAfterTypeEquals: [\r\n [\r\n /<\\?((php)|=)?/,\r\n {\r\n token: '@rematch',\r\n switchTo: '@phpInSimpleState.styleAfterTypeEquals'\r\n }\r\n ],\r\n [\r\n /\"([^\"]*)\"/,\r\n {\r\n token: 'attribute.value',\r\n switchTo: '@styleWithCustomType.$1'\r\n }\r\n ],\r\n [\r\n /'([^']*)'/,\r\n {\r\n token: 'attribute.value',\r\n switchTo: '@styleWithCustomType.$1'\r\n }\r\n ],\r\n [\r\n />/,\r\n {\r\n token: 'delimiter.html',\r\n next: '@styleEmbedded.text/css',\r\n nextEmbedded: 'text/css'\r\n }\r\n ],\r\n [/[ \\t\\r\\n]+/],\r\n [/<\\/style\\s*>/, { token: '@rematch', next: '@pop' }]\r\n ],\r\n // After <style ... type = $S2\r\n styleWithCustomType: [\r\n [\r\n /<\\?((php)|=)?/,\r\n {\r\n token: '@rematch',\r\n switchTo: '@phpInSimpleState.styleWithCustomType.$S2'\r\n }\r\n ],\r\n [\r\n />/,\r\n {\r\n token: 'delimiter.html',\r\n next: '@styleEmbedded.$S2',\r\n nextEmbedded: '$S2'\r\n }\r\n ],\r\n [/\"([^\"]*)\"/, 'attribute.value'],\r\n [/'([^']*)'/, 'attribute.value'],\r\n [/[\\w\\-]+/, 'attribute.name'],\r\n [/=/, 'delimiter'],\r\n [/[ \\t\\r\\n]+/],\r\n [/<\\/style\\s*>/, { token: '@rematch', next: '@pop' }]\r\n ],\r\n styleEmbedded: [\r\n [\r\n /<\\?((php)|=)?/,\r\n {\r\n token: '@rematch',\r\n switchTo: '@phpInEmbeddedState.styleEmbedded.$S2',\r\n nextEmbedded: '@pop'\r\n }\r\n ],\r\n [/<\\/style/, { token: '@rematch', next: '@pop', nextEmbedded: '@pop' }]\r\n ],\r\n // -- END <style> tags handling\r\n phpInSimpleState: [\r\n [/<\\?((php)|=)?/, 'metatag.php'],\r\n [/\\?>/, { token: 'metatag.php', switchTo: '@$S2.$S3' }],\r\n { include: 'phpRoot' }\r\n ],\r\n phpInEmbeddedState: [\r\n [/<\\?((php)|=)?/, 'metatag.php'],\r\n [\r\n /\\?>/,\r\n {\r\n token: 'metatag.php',\r\n switchTo: '@$S2.$S3',\r\n nextEmbedded: '$S3'\r\n }\r\n ],\r\n { include: 'phpRoot' }\r\n ],\r\n phpRoot: [\r\n [\r\n /[a-zA-Z_]\\w*/,\r\n {\r\n cases: {\r\n '@phpKeywords': { token: 'keyword.php' },\r\n '@phpCompileTimeConstants': { token: 'constant.php' },\r\n '@default': 'identifier.php'\r\n }\r\n }\r\n ],\r\n [\r\n /[$a-zA-Z_]\\w*/,\r\n {\r\n cases: {\r\n '@phpPreDefinedVariables': {\r\n token: 'variable.predefined.php'\r\n },\r\n '@default': 'variable.php'\r\n }\r\n }\r\n ],\r\n // brackets\r\n [/[{}]/, 'delimiter.bracket.php'],\r\n [/[\\[\\]]/, 'delimiter.array.php'],\r\n [/[()]/, 'delimiter.parenthesis.php'],\r\n // whitespace\r\n [/[ \\t\\r\\n]+/],\r\n // comments\r\n [/(#|\\/\\/)$/, 'comment.php'],\r\n [/(#|\\/\\/)/, 'comment.php', '@phpLineComment'],\r\n // block comments\r\n [/\\/\\*/, 'comment.php', '@phpComment'],\r\n // strings\r\n [/\"/, 'string.php', '@phpDoubleQuoteString'],\r\n [/'/, 'string.php', '@phpSingleQuoteString'],\r\n // delimiters\r\n [/[\\+\\-\\*\\%\\&\\|\\^\\~\\!\\=\\<\\>\\/\\?\\;\\:\\.\\,\\@]/, 'delimiter.php'],\r\n // numbers\r\n [/\\d*\\d+[eE]([\\-+]?\\d+)?/, 'number.float.php'],\r\n [/\\d*\\.\\d+([eE][\\-+]?\\d+)?/, 'number.float.php'],\r\n [/0[xX][0-9a-fA-F']*[0-9a-fA-F]/, 'number.hex.php'],\r\n [/0[0-7']*[0-7]/, 'number.octal.php'],\r\n [/0[bB][0-1']*[0-1]/, 'number.binary.php'],\r\n [/\\d[\\d']*/, 'number.php'],\r\n [/\\d/, 'number.php']\r\n ],\r\n phpComment: [\r\n [/\\*\\//, 'comment.php', '@pop'],\r\n [/[^*]+/, 'comment.php'],\r\n [/./, 'comment.php']\r\n ],\r\n phpLineComment: [\r\n [/\\?>/, { token: '@rematch', next: '@pop' }],\r\n [/.$/, 'comment.php', '@pop'],\r\n [/[^?]+$/, 'comment.php', '@pop'],\r\n [/[^?]+/, 'comment.php'],\r\n [/./, 'comment.php']\r\n ],\r\n phpDoubleQuoteString: [\r\n [/[^\\\\\"]+/, 'string.php'],\r\n [/@escapes/, 'string.escape.php'],\r\n [/\\\\./, 'string.escape.invalid.php'],\r\n [/\"/, 'string.php', '@pop']\r\n ],\r\n phpSingleQuoteString: [\r\n [/[^\\\\']+/, 'string.php'],\r\n [/@escapes/, 'string.escape.php'],\r\n [/\\\\./, 'string.escape.invalid.php'],\r\n [/'/, 'string.php', '@pop']\r\n ]\r\n },\r\n phpKeywords: [\r\n 'abstract',\r\n 'and',\r\n 'array',\r\n 'as',\r\n 'break',\r\n 'callable',\r\n 'case',\r\n 'catch',\r\n 'cfunction',\r\n 'class',\r\n 'clone',\r\n 'const',\r\n 'continue',\r\n 'declare',\r\n 'default',\r\n 'do',\r\n 'else',\r\n 'elseif',\r\n 'enddeclare',\r\n 'endfor',\r\n 'endforeach',\r\n 'endif',\r\n 'endswitch',\r\n 'endwhile',\r\n 'extends',\r\n 'false',\r\n 'final',\r\n 'for',\r\n 'foreach',\r\n 'function',\r\n 'global',\r\n 'goto',\r\n 'if',\r\n 'implements',\r\n 'interface',\r\n 'instanceof',\r\n 'insteadof',\r\n 'namespace',\r\n 'new',\r\n 'null',\r\n 'object',\r\n 'old_function',\r\n 'or',\r\n 'private',\r\n 'protected',\r\n 'public',\r\n 'resource',\r\n 'static',\r\n 'switch',\r\n 'throw',\r\n 'trait',\r\n 'try',\r\n 'true',\r\n 'use',\r\n 'var',\r\n 'while',\r\n 'xor',\r\n 'die',\r\n 'echo',\r\n 'empty',\r\n 'exit',\r\n 'eval',\r\n 'include',\r\n 'include_once',\r\n 'isset',\r\n 'list',\r\n 'require',\r\n 'require_once',\r\n 'return',\r\n 'print',\r\n 'unset',\r\n 'yield',\r\n '__construct'\r\n ],\r\n phpCompileTimeConstants: [\r\n '__CLASS__',\r\n '__DIR__',\r\n '__FILE__',\r\n '__LINE__',\r\n '__NAMESPACE__',\r\n '__METHOD__',\r\n '__FUNCTION__',\r\n '__TRAIT__'\r\n ],\r\n phpPreDefinedVariables: [\r\n '$GLOBALS',\r\n '$_SERVER',\r\n '$_GET',\r\n '$_POST',\r\n '$_FILES',\r\n '$_REQUEST',\r\n '$_SESSION',\r\n '$_ENV',\r\n '$_COOKIE',\r\n '$php_errormsg',\r\n '$HTTP_RAW_POST_DATA',\r\n '$http_response_header',\r\n '$argc',\r\n '$argv'\r\n ],\r\n escapes: /\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/\r\n};\r\n// TESTED WITH\r\n// <style type=\"text/css\" >\r\n// .boo { background: blue;\r\n// <?=''?>\r\n// }\r\n// .boo { background: blue; <?=''?> }\r\n// </style>\r\n// <!--\r\n// <?= '' ?>\r\n// -->\r\n// <?php\r\n// // The next line contains a syntax error:\r\n// __construct\r\n// if () {\r\n// \treturn \"The parser recovers from this type of syntax error\";\r\n// }\r\n// ?>\r\n// <html>\r\n// <head>\r\n// \t<title <?=''?>>Example page</title>\r\n// <style <?=''?>>\r\n// .boo { background: blue; <?=''?> }\r\n// </style>\r\n// </head>\r\n// <body>\r\n// <script <?=''?> type<?=''?>=<?=''?>\"text/javascript\"<?=''?>>\r\n// \t// Some PHP embedded inside JS\r\n// \t// Generated <?=date('l, F jS, Y')?>\r\n// \tvar server_token = <?=rand(5, 10000)?>\r\n// \tif (typeof server_token === 'number') {\r\n// \t\talert('token: ' + server_token);\r\n// \t}\r\n// </script>\r\n// <div>\r\n// Hello\r\n// <? if (isset($user)) { ?>\r\n// \t<b><?=$user?></b>\r\n// <? } else { ?>\r\n// \t<i>guest</i>\r\n// <? } ?>\r\n// !\r\n// </div>\r\n// <?php\r\n// \t/* Example PHP file\r\n// \tmultiline comment\r\n// \t*/\r\n// # Another single line comment\r\n// \t$cards = array(\"ah\", \"ac\", \"ad\", \"as\",\r\n// \t\t\"2h\", \"2c\", \"2d\", \"2s\",\r\n// \t\t\"3h\", \"3c\", \"3d\", \"3s\",\r\n// \t\t\"4h\", \"4c\", \"4d\", \"4s\",\r\n// \t\t\"5h\", \"5c\", \"5d\", \"5s\",\r\n// \t\t\"6h\", \"6c\", \"6d\", \"6s\",\r\n// \t\t\"7h\", \"7c\", \"7d\", \"7s\",\r\n// \t\t\"8h\", \"8c\", \"8d\", \"8s\",\r\n// \t\t\"9h\", \"9c\", \"9d\", \"9s\",\r\n// \t\t\"th\", \"tc\", \"td\", \"ts\",\r\n// \t\t\"jh\", \"jc\", \"jd\", \"js\",\r\n// \t\t\"qh\", \"qc\", \"qd\", \"qs\",\r\n// \t\t\"kh\", \"kc\", \"kd\", \"ks\");\r\n// \tsrand(time());\r\n// \tfor($i = 0; $i < 52; $i++) {\r\n// \t\t$count = count($cards);\r\n// \t\t$random = (rand()%$count);\r\n// \t\tif($cards[$random] == \"\") {\r\n// \t\t\t$i--;\r\n// \t\t} else {\r\n// \t\t\t$deck[] = $cards[$random];\r\n// \t\t\t$cards[$random] = \"\";\r\n// \t\t}\r\n// \t}\r\n// $_GET\r\n// __CLASS__\r\n// \tsrand(time());\r\n// \t$starting_point = (rand()%51);\r\n// \tprint(\"Starting point for cut cards is: $starting_point<p>\");\r\n// \t// display shuffled cards (EXAMPLE ONLY)\r\n// \tfor ($index = 0; $index < 52; $index++) {\r\n// \t\tif ($starting_point == 52) { $starting_point = 0; }\r\n// \t\tprint(\"Uncut Point: <strong>$deck[$index]</strong> \");\r\n// \t\tprint(\"Starting Point: <strong>$deck[$starting_point]</strong><br>\");\r\n// \t\t$starting_point++;\r\n// \t}\r\n// ?>\r\n// </body>\r\n// </html>\r\n"],"names":["conf","wordPattern","comments","lineComment","blockComment","brackets","autoClosingPairs","open","close","notIn","folding","markers","start","RegExp","end","language","defaultToken","tokenPostfix","tokenizer","root","token","switchTo","next","doctype","comment","otherTag","script","nextEmbedded","scriptAfterType","scriptAfterTypeEquals","scriptWithCustomType","scriptEmbedded","style","styleAfterType","styleAfterTypeEquals","styleWithCustomType","styleEmbedded","phpInSimpleState","include","phpInEmbeddedState","phpRoot","cases","phpComment","phpLineComment","phpDoubleQuoteString","phpSingleQuoteString","phpKeywords","phpCompileTimeConstants","phpPreDefinedVariables","escapes"],"sourceRoot":""} |