mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00:00
1 line
2.1 KiB
JSON
1 line
2.1 KiB
JSON
{"ast":null,"code":"'use strict';\n\nvar $Object = Object;\nvar $TypeError = TypeError;\n\nmodule.exports = function flags() {\n if (this != null && this !== $Object(this)) {\n throw new $TypeError('RegExp.prototype.flags getter called on non-object');\n }\n\n var result = '';\n\n if (this.global) {\n result += 'g';\n }\n\n if (this.ignoreCase) {\n result += 'i';\n }\n\n if (this.multiline) {\n result += 'm';\n }\n\n if (this.dotAll) {\n result += 's';\n }\n\n if (this.unicode) {\n result += 'u';\n }\n\n if (this.sticky) {\n result += 'y';\n }\n\n return result;\n};","map":{"version":3,"sources":["/app/node_modules/regexp.prototype.flags/implementation.js"],"names":["$Object","Object","$TypeError","TypeError","module","exports","flags","result","global","ignoreCase","multiline","dotAll","unicode","sticky"],"mappings":"AAAA;;AAEA,IAAIA,OAAO,GAAGC,MAAd;AACA,IAAIC,UAAU,GAAGC,SAAjB;;AAEAC,MAAM,CAACC,OAAP,GAAiB,SAASC,KAAT,GAAiB;AACjC,MAAI,QAAQ,IAAR,IAAgB,SAASN,OAAO,CAAC,IAAD,CAApC,EAA4C;AAC3C,UAAM,IAAIE,UAAJ,CAAe,oDAAf,CAAN;AACA;;AACD,MAAIK,MAAM,GAAG,EAAb;;AACA,MAAI,KAAKC,MAAT,EAAiB;AAChBD,IAAAA,MAAM,IAAI,GAAV;AACA;;AACD,MAAI,KAAKE,UAAT,EAAqB;AACpBF,IAAAA,MAAM,IAAI,GAAV;AACA;;AACD,MAAI,KAAKG,SAAT,EAAoB;AACnBH,IAAAA,MAAM,IAAI,GAAV;AACA;;AACD,MAAI,KAAKI,MAAT,EAAiB;AAChBJ,IAAAA,MAAM,IAAI,GAAV;AACA;;AACD,MAAI,KAAKK,OAAT,EAAkB;AACjBL,IAAAA,MAAM,IAAI,GAAV;AACA;;AACD,MAAI,KAAKM,MAAT,EAAiB;AAChBN,IAAAA,MAAM,IAAI,GAAV;AACA;;AACD,SAAOA,MAAP;AACA,CAxBD","sourcesContent":["'use strict';\n\nvar $Object = Object;\nvar $TypeError = TypeError;\n\nmodule.exports = function flags() {\n\tif (this != null && this !== $Object(this)) {\n\t\tthrow new $TypeError('RegExp.prototype.flags getter called on non-object');\n\t}\n\tvar result = '';\n\tif (this.global) {\n\t\tresult += 'g';\n\t}\n\tif (this.ignoreCase) {\n\t\tresult += 'i';\n\t}\n\tif (this.multiline) {\n\t\tresult += 'm';\n\t}\n\tif (this.dotAll) {\n\t\tresult += 's';\n\t}\n\tif (this.unicode) {\n\t\tresult += 'u';\n\t}\n\tif (this.sticky) {\n\t\tresult += 'y';\n\t}\n\treturn result;\n};\n"]},"metadata":{},"sourceType":"script"} |