{"id":"dwX/","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/package.json","includedInParent":true,"mtime":1545395749058},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/brace-expansion/package.json","includedInParent":true,"mtime":1545395357055},{"name":"concat-map","loc":{"line":1,"column":24},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/brace-expansion/index.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/concat-map/index.js"},{"name":"balanced-match","loc":{"line":2,"column":23},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/brace-expansion/index.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/balanced-match/index.js"}],"generated":{"js":"var t=require(\"concat-map\"),r=require(\"balanced-match\");module.exports=f;var n=\"\\0SLASH\"+Math.random()+\"\\0\",e=\"\\0OPEN\"+Math.random()+\"\\0\",i=\"\\0CLOSE\"+Math.random()+\"\\0\",o=\"\\0COMMA\"+Math.random()+\"\\0\",a=\"\\0PERIOD\"+Math.random()+\"\\0\";function s(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function p(t){return t.split(\"\\\\\\\\\").join(n).split(\"\\\\{\").join(e).split(\"\\\\}\").join(i).split(\"\\\\,\").join(o).split(\"\\\\.\").join(a)}function u(t){return t.split(n).join(\"\\\\\").split(e).join(\"{\").split(i).join(\"}\").split(o).join(\",\").split(a).join(\".\")}function l(t){if(!t)return[\"\"];var n=[],e=r(\"{\",\"}\",t);if(!e)return t.split(\",\");var i=e.pre,o=e.body,a=e.post,s=i.split(\",\");s[s.length-1]+=\"{\"+o+\"}\";var p=l(a);return a.length&&(s[s.length-1]+=p.shift(),s.push.apply(s,p)),n.push.apply(n,s),n}function f(t){return t?(\"{}\"===t.substr(0,2)&&(t=\"\\\\{\\\\}\"+t.substr(2)),m(p(t),!0).map(u)):[]}function h(t){return t}function d(t){return\"{\"+t+\"}\"}function c(t){return/^-?0\\d/.test(t)}function v(t,r){return t<=r}function g(t,r){return t>=r}function m(n,e){var o=[],a=r(\"{\",\"}\",n);if(!a||/\\$$/.test(a.pre))return[n];var p,u=/^-?\\d+\\.\\.-?\\d+(?:\\.\\.-?\\d+)?$/.test(a.body),f=/^[a-zA-Z]\\.\\.[a-zA-Z](?:\\.\\.-?\\d+)?$/.test(a.body),h=u||f,b=a.body.indexOf(\",\")>=0;if(!h&&!b)return a.post.match(/,.*\\}/)?m(n=a.pre+\"{\"+a.body+i+a.post):[n];if(h)p=a.body.split(/\\.\\./);else if(1===(p=l(a.body)).length&&1===(p=m(p[0],!1).map(d)).length)return(M=a.post.length?m(a.post,!1):[\"\"]).map(function(t){return a.pre+p[0]+t});var j,y=a.pre,M=a.post.length?m(a.post,!1):[\"\"];if(h){var A=s(p[0]),C=s(p[1]),O=Math.max(p[0].length,p[1].length),S=3==p.length?Math.abs(s(p[2])):1,$=v;C0){var z=new Array(q+1).join(\"0\");I=E<0?\"-\"+z+I.slice(1):z+I}}j.push(I)}}else j=t(p,function(t){return m(t,!1)});for(var L=0;L= y;\n}\n\nfunction expand(str, isTop) {\n var expansions = [];\n\n var m = balanced('{', '}', str);\n if (!m || /\\$$/.test(m.pre)) return [str];\n\n var isNumericSequence = /^-?\\d+\\.\\.-?\\d+(?:\\.\\.-?\\d+)?$/.test(m.body);\n var isAlphaSequence = /^[a-zA-Z]\\.\\.[a-zA-Z](?:\\.\\.-?\\d+)?$/.test(m.body);\n var isSequence = isNumericSequence || isAlphaSequence;\n var isOptions = m.body.indexOf(',') >= 0;\n if (!isSequence && !isOptions) {\n // {a},b}\n if (m.post.match(/,.*\\}/)) {\n str = m.pre + '{' + m.body + escClose + m.post;\n return expand(str);\n }\n return [str];\n }\n\n var n;\n if (isSequence) {\n n = m.body.split(/\\.\\./);\n } else {\n n = parseCommaParts(m.body);\n if (n.length === 1) {\n // x{{a,b}}y ==> x{a}y x{b}y\n n = expand(n[0], false).map(embrace);\n if (n.length === 1) {\n var post = m.post.length\n ? expand(m.post, false)\n : [''];\n return post.map(function(p) {\n return m.pre + n[0] + p;\n });\n }\n }\n }\n\n // at this point, n is the parts, and we know it's not a comma set\n // with a single entry.\n\n // no need to expand pre, since it is guaranteed to be free of brace-sets\n var pre = m.pre;\n var post = m.post.length\n ? expand(m.post, false)\n : [''];\n\n var N;\n\n if (isSequence) {\n var x = numeric(n[0]);\n var y = numeric(n[1]);\n var width = Math.max(n[0].length, n[1].length)\n var incr = n.length == 3\n ? Math.abs(numeric(n[2]))\n : 1;\n var test = lte;\n var reverse = y < x;\n if (reverse) {\n incr *= -1;\n test = gte;\n }\n var pad = n.some(isPadded);\n\n N = [];\n\n for (var i = x; test(i, y); i += incr) {\n var c;\n if (isAlphaSequence) {\n c = String.fromCharCode(i);\n if (c === '\\\\')\n c = '';\n } else {\n c = String(i);\n if (pad) {\n var need = width - c.length;\n if (need > 0) {\n var z = new Array(need + 1).join('0');\n if (i < 0)\n c = '-' + z + c.slice(1);\n else\n c = z + c;\n }\n }\n }\n N.push(c);\n }\n } else {\n N = concatMap(n, function(el) { return expand(el, false) });\n }\n\n for (var j = 0; j < N.length; j++) {\n for (var k = 0; k < post.length; k++) {\n var expansion = pre + N[j] + post[k];\n if (!isTop || isSequence || expansion)\n expansions.push(expansion);\n }\n }\n\n return expansions;\n}\n\n"},"lineCount":null}},"hash":"516309e89951311fda1584c5bfec4d48","cacheData":{"env":{}}}