@vercel/next 2.8.67-canary.1 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- module.exports=(()=>{var __webpack_modules__={3380:e=>{"use strict";e.exports=JSON.parse('{"0.1.14":{"node_abi":null,"v8":"1.3"},"0.1.15":{"node_abi":null,"v8":"1.3"},"0.1.16":{"node_abi":null,"v8":"1.3"},"0.1.17":{"node_abi":null,"v8":"1.3"},"0.1.18":{"node_abi":null,"v8":"1.3"},"0.1.19":{"node_abi":null,"v8":"2.0"},"0.1.20":{"node_abi":null,"v8":"2.0"},"0.1.21":{"node_abi":null,"v8":"2.0"},"0.1.22":{"node_abi":null,"v8":"2.0"},"0.1.23":{"node_abi":null,"v8":"2.0"},"0.1.24":{"node_abi":null,"v8":"2.0"},"0.1.25":{"node_abi":null,"v8":"2.0"},"0.1.26":{"node_abi":null,"v8":"2.0"},"0.1.27":{"node_abi":null,"v8":"2.1"},"0.1.28":{"node_abi":null,"v8":"2.1"},"0.1.29":{"node_abi":null,"v8":"2.1"},"0.1.30":{"node_abi":null,"v8":"2.1"},"0.1.31":{"node_abi":null,"v8":"2.1"},"0.1.32":{"node_abi":null,"v8":"2.1"},"0.1.33":{"node_abi":null,"v8":"2.1"},"0.1.90":{"node_abi":null,"v8":"2.2"},"0.1.91":{"node_abi":null,"v8":"2.2"},"0.1.92":{"node_abi":null,"v8":"2.2"},"0.1.93":{"node_abi":null,"v8":"2.2"},"0.1.94":{"node_abi":null,"v8":"2.2"},"0.1.95":{"node_abi":null,"v8":"2.2"},"0.1.96":{"node_abi":null,"v8":"2.2"},"0.1.97":{"node_abi":null,"v8":"2.2"},"0.1.98":{"node_abi":null,"v8":"2.2"},"0.1.99":{"node_abi":null,"v8":"2.2"},"0.1.100":{"node_abi":null,"v8":"2.2"},"0.1.101":{"node_abi":null,"v8":"2.3"},"0.1.102":{"node_abi":null,"v8":"2.3"},"0.1.103":{"node_abi":null,"v8":"2.3"},"0.1.104":{"node_abi":null,"v8":"2.3"},"0.2.0":{"node_abi":1,"v8":"2.3"},"0.2.1":{"node_abi":1,"v8":"2.3"},"0.2.2":{"node_abi":1,"v8":"2.3"},"0.2.3":{"node_abi":1,"v8":"2.3"},"0.2.4":{"node_abi":1,"v8":"2.3"},"0.2.5":{"node_abi":1,"v8":"2.3"},"0.2.6":{"node_abi":1,"v8":"2.3"},"0.3.0":{"node_abi":1,"v8":"2.5"},"0.3.1":{"node_abi":1,"v8":"2.5"},"0.3.2":{"node_abi":1,"v8":"3.0"},"0.3.3":{"node_abi":1,"v8":"3.0"},"0.3.4":{"node_abi":1,"v8":"3.0"},"0.3.5":{"node_abi":1,"v8":"3.0"},"0.3.6":{"node_abi":1,"v8":"3.0"},"0.3.7":{"node_abi":1,"v8":"3.0"},"0.3.8":{"node_abi":1,"v8":"3.1"},"0.4.0":{"node_abi":1,"v8":"3.1"},"0.4.1":{"node_abi":1,"v8":"3.1"},"0.4.2":{"node_abi":1,"v8":"3.1"},"0.4.3":{"node_abi":1,"v8":"3.1"},"0.4.4":{"node_abi":1,"v8":"3.1"},"0.4.5":{"node_abi":1,"v8":"3.1"},"0.4.6":{"node_abi":1,"v8":"3.1"},"0.4.7":{"node_abi":1,"v8":"3.1"},"0.4.8":{"node_abi":1,"v8":"3.1"},"0.4.9":{"node_abi":1,"v8":"3.1"},"0.4.10":{"node_abi":1,"v8":"3.1"},"0.4.11":{"node_abi":1,"v8":"3.1"},"0.4.12":{"node_abi":1,"v8":"3.1"},"0.5.0":{"node_abi":1,"v8":"3.1"},"0.5.1":{"node_abi":1,"v8":"3.4"},"0.5.2":{"node_abi":1,"v8":"3.4"},"0.5.3":{"node_abi":1,"v8":"3.4"},"0.5.4":{"node_abi":1,"v8":"3.5"},"0.5.5":{"node_abi":1,"v8":"3.5"},"0.5.6":{"node_abi":1,"v8":"3.6"},"0.5.7":{"node_abi":1,"v8":"3.6"},"0.5.8":{"node_abi":1,"v8":"3.6"},"0.5.9":{"node_abi":1,"v8":"3.6"},"0.5.10":{"node_abi":1,"v8":"3.7"},"0.6.0":{"node_abi":1,"v8":"3.6"},"0.6.1":{"node_abi":1,"v8":"3.6"},"0.6.2":{"node_abi":1,"v8":"3.6"},"0.6.3":{"node_abi":1,"v8":"3.6"},"0.6.4":{"node_abi":1,"v8":"3.6"},"0.6.5":{"node_abi":1,"v8":"3.6"},"0.6.6":{"node_abi":1,"v8":"3.6"},"0.6.7":{"node_abi":1,"v8":"3.6"},"0.6.8":{"node_abi":1,"v8":"3.6"},"0.6.9":{"node_abi":1,"v8":"3.6"},"0.6.10":{"node_abi":1,"v8":"3.6"},"0.6.11":{"node_abi":1,"v8":"3.6"},"0.6.12":{"node_abi":1,"v8":"3.6"},"0.6.13":{"node_abi":1,"v8":"3.6"},"0.6.14":{"node_abi":1,"v8":"3.6"},"0.6.15":{"node_abi":1,"v8":"3.6"},"0.6.16":{"node_abi":1,"v8":"3.6"},"0.6.17":{"node_abi":1,"v8":"3.6"},"0.6.18":{"node_abi":1,"v8":"3.6"},"0.6.19":{"node_abi":1,"v8":"3.6"},"0.6.20":{"node_abi":1,"v8":"3.6"},"0.6.21":{"node_abi":1,"v8":"3.6"},"0.7.0":{"node_abi":1,"v8":"3.8"},"0.7.1":{"node_abi":1,"v8":"3.8"},"0.7.2":{"node_abi":1,"v8":"3.8"},"0.7.3":{"node_abi":1,"v8":"3.9"},"0.7.4":{"node_abi":1,"v8":"3.9"},"0.7.5":{"node_abi":1,"v8":"3.9"},"0.7.6":{"node_abi":1,"v8":"3.9"},"0.7.7":{"node_abi":1,"v8":"3.9"},"0.7.8":{"node_abi":1,"v8":"3.9"},"0.7.9":{"node_abi":1,"v8":"3.11"},"0.7.10":{"node_abi":1,"v8":"3.9"},"0.7.11":{"node_abi":1,"v8":"3.11"},"0.7.12":{"node_abi":1,"v8":"3.11"},"0.8.0":{"node_abi":1,"v8":"3.11"},"0.8.1":{"node_abi":1,"v8":"3.11"},"0.8.2":{"node_abi":1,"v8":"3.11"},"0.8.3":{"node_abi":1,"v8":"3.11"},"0.8.4":{"node_abi":1,"v8":"3.11"},"0.8.5":{"node_abi":1,"v8":"3.11"},"0.8.6":{"node_abi":1,"v8":"3.11"},"0.8.7":{"node_abi":1,"v8":"3.11"},"0.8.8":{"node_abi":1,"v8":"3.11"},"0.8.9":{"node_abi":1,"v8":"3.11"},"0.8.10":{"node_abi":1,"v8":"3.11"},"0.8.11":{"node_abi":1,"v8":"3.11"},"0.8.12":{"node_abi":1,"v8":"3.11"},"0.8.13":{"node_abi":1,"v8":"3.11"},"0.8.14":{"node_abi":1,"v8":"3.11"},"0.8.15":{"node_abi":1,"v8":"3.11"},"0.8.16":{"node_abi":1,"v8":"3.11"},"0.8.17":{"node_abi":1,"v8":"3.11"},"0.8.18":{"node_abi":1,"v8":"3.11"},"0.8.19":{"node_abi":1,"v8":"3.11"},"0.8.20":{"node_abi":1,"v8":"3.11"},"0.8.21":{"node_abi":1,"v8":"3.11"},"0.8.22":{"node_abi":1,"v8":"3.11"},"0.8.23":{"node_abi":1,"v8":"3.11"},"0.8.24":{"node_abi":1,"v8":"3.11"},"0.8.25":{"node_abi":1,"v8":"3.11"},"0.8.26":{"node_abi":1,"v8":"3.11"},"0.8.27":{"node_abi":1,"v8":"3.11"},"0.8.28":{"node_abi":1,"v8":"3.11"},"0.9.0":{"node_abi":1,"v8":"3.11"},"0.9.1":{"node_abi":10,"v8":"3.11"},"0.9.2":{"node_abi":10,"v8":"3.11"},"0.9.3":{"node_abi":10,"v8":"3.13"},"0.9.4":{"node_abi":10,"v8":"3.13"},"0.9.5":{"node_abi":10,"v8":"3.13"},"0.9.6":{"node_abi":10,"v8":"3.15"},"0.9.7":{"node_abi":10,"v8":"3.15"},"0.9.8":{"node_abi":10,"v8":"3.15"},"0.9.9":{"node_abi":11,"v8":"3.15"},"0.9.10":{"node_abi":11,"v8":"3.15"},"0.9.11":{"node_abi":11,"v8":"3.14"},"0.9.12":{"node_abi":11,"v8":"3.14"},"0.10.0":{"node_abi":11,"v8":"3.14"},"0.10.1":{"node_abi":11,"v8":"3.14"},"0.10.2":{"node_abi":11,"v8":"3.14"},"0.10.3":{"node_abi":11,"v8":"3.14"},"0.10.4":{"node_abi":11,"v8":"3.14"},"0.10.5":{"node_abi":11,"v8":"3.14"},"0.10.6":{"node_abi":11,"v8":"3.14"},"0.10.7":{"node_abi":11,"v8":"3.14"},"0.10.8":{"node_abi":11,"v8":"3.14"},"0.10.9":{"node_abi":11,"v8":"3.14"},"0.10.10":{"node_abi":11,"v8":"3.14"},"0.10.11":{"node_abi":11,"v8":"3.14"},"0.10.12":{"node_abi":11,"v8":"3.14"},"0.10.13":{"node_abi":11,"v8":"3.14"},"0.10.14":{"node_abi":11,"v8":"3.14"},"0.10.15":{"node_abi":11,"v8":"3.14"},"0.10.16":{"node_abi":11,"v8":"3.14"},"0.10.17":{"node_abi":11,"v8":"3.14"},"0.10.18":{"node_abi":11,"v8":"3.14"},"0.10.19":{"node_abi":11,"v8":"3.14"},"0.10.20":{"node_abi":11,"v8":"3.14"},"0.10.21":{"node_abi":11,"v8":"3.14"},"0.10.22":{"node_abi":11,"v8":"3.14"},"0.10.23":{"node_abi":11,"v8":"3.14"},"0.10.24":{"node_abi":11,"v8":"3.14"},"0.10.25":{"node_abi":11,"v8":"3.14"},"0.10.26":{"node_abi":11,"v8":"3.14"},"0.10.27":{"node_abi":11,"v8":"3.14"},"0.10.28":{"node_abi":11,"v8":"3.14"},"0.10.29":{"node_abi":11,"v8":"3.14"},"0.10.30":{"node_abi":11,"v8":"3.14"},"0.10.31":{"node_abi":11,"v8":"3.14"},"0.10.32":{"node_abi":11,"v8":"3.14"},"0.10.33":{"node_abi":11,"v8":"3.14"},"0.10.34":{"node_abi":11,"v8":"3.14"},"0.10.35":{"node_abi":11,"v8":"3.14"},"0.10.36":{"node_abi":11,"v8":"3.14"},"0.10.37":{"node_abi":11,"v8":"3.14"},"0.10.38":{"node_abi":11,"v8":"3.14"},"0.10.39":{"node_abi":11,"v8":"3.14"},"0.10.40":{"node_abi":11,"v8":"3.14"},"0.10.41":{"node_abi":11,"v8":"3.14"},"0.10.42":{"node_abi":11,"v8":"3.14"},"0.10.43":{"node_abi":11,"v8":"3.14"},"0.10.44":{"node_abi":11,"v8":"3.14"},"0.10.45":{"node_abi":11,"v8":"3.14"},"0.10.46":{"node_abi":11,"v8":"3.14"},"0.10.47":{"node_abi":11,"v8":"3.14"},"0.10.48":{"node_abi":11,"v8":"3.14"},"0.11.0":{"node_abi":12,"v8":"3.17"},"0.11.1":{"node_abi":12,"v8":"3.18"},"0.11.2":{"node_abi":12,"v8":"3.19"},"0.11.3":{"node_abi":12,"v8":"3.19"},"0.11.4":{"node_abi":12,"v8":"3.20"},"0.11.5":{"node_abi":12,"v8":"3.20"},"0.11.6":{"node_abi":12,"v8":"3.20"},"0.11.7":{"node_abi":12,"v8":"3.20"},"0.11.8":{"node_abi":13,"v8":"3.21"},"0.11.9":{"node_abi":13,"v8":"3.22"},"0.11.10":{"node_abi":13,"v8":"3.22"},"0.11.11":{"node_abi":14,"v8":"3.22"},"0.11.12":{"node_abi":14,"v8":"3.22"},"0.11.13":{"node_abi":14,"v8":"3.25"},"0.11.14":{"node_abi":14,"v8":"3.26"},"0.11.15":{"node_abi":14,"v8":"3.28"},"0.11.16":{"node_abi":14,"v8":"3.28"},"0.12.0":{"node_abi":14,"v8":"3.28"},"0.12.1":{"node_abi":14,"v8":"3.28"},"0.12.2":{"node_abi":14,"v8":"3.28"},"0.12.3":{"node_abi":14,"v8":"3.28"},"0.12.4":{"node_abi":14,"v8":"3.28"},"0.12.5":{"node_abi":14,"v8":"3.28"},"0.12.6":{"node_abi":14,"v8":"3.28"},"0.12.7":{"node_abi":14,"v8":"3.28"},"0.12.8":{"node_abi":14,"v8":"3.28"},"0.12.9":{"node_abi":14,"v8":"3.28"},"0.12.10":{"node_abi":14,"v8":"3.28"},"0.12.11":{"node_abi":14,"v8":"3.28"},"0.12.12":{"node_abi":14,"v8":"3.28"},"0.12.13":{"node_abi":14,"v8":"3.28"},"0.12.14":{"node_abi":14,"v8":"3.28"},"0.12.15":{"node_abi":14,"v8":"3.28"},"0.12.16":{"node_abi":14,"v8":"3.28"},"0.12.17":{"node_abi":14,"v8":"3.28"},"0.12.18":{"node_abi":14,"v8":"3.28"},"1.0.0":{"node_abi":42,"v8":"3.31"},"1.0.1":{"node_abi":42,"v8":"3.31"},"1.0.2":{"node_abi":42,"v8":"3.31"},"1.0.3":{"node_abi":42,"v8":"4.1"},"1.0.4":{"node_abi":42,"v8":"4.1"},"1.1.0":{"node_abi":43,"v8":"4.1"},"1.2.0":{"node_abi":43,"v8":"4.1"},"1.3.0":{"node_abi":43,"v8":"4.1"},"1.4.1":{"node_abi":43,"v8":"4.1"},"1.4.2":{"node_abi":43,"v8":"4.1"},"1.4.3":{"node_abi":43,"v8":"4.1"},"1.5.0":{"node_abi":43,"v8":"4.1"},"1.5.1":{"node_abi":43,"v8":"4.1"},"1.6.0":{"node_abi":43,"v8":"4.1"},"1.6.1":{"node_abi":43,"v8":"4.1"},"1.6.2":{"node_abi":43,"v8":"4.1"},"1.6.3":{"node_abi":43,"v8":"4.1"},"1.6.4":{"node_abi":43,"v8":"4.1"},"1.7.1":{"node_abi":43,"v8":"4.1"},"1.8.1":{"node_abi":43,"v8":"4.1"},"1.8.2":{"node_abi":43,"v8":"4.1"},"1.8.3":{"node_abi":43,"v8":"4.1"},"1.8.4":{"node_abi":43,"v8":"4.1"},"2.0.0":{"node_abi":44,"v8":"4.2"},"2.0.1":{"node_abi":44,"v8":"4.2"},"2.0.2":{"node_abi":44,"v8":"4.2"},"2.1.0":{"node_abi":44,"v8":"4.2"},"2.2.0":{"node_abi":44,"v8":"4.2"},"2.2.1":{"node_abi":44,"v8":"4.2"},"2.3.0":{"node_abi":44,"v8":"4.2"},"2.3.1":{"node_abi":44,"v8":"4.2"},"2.3.2":{"node_abi":44,"v8":"4.2"},"2.3.3":{"node_abi":44,"v8":"4.2"},"2.3.4":{"node_abi":44,"v8":"4.2"},"2.4.0":{"node_abi":44,"v8":"4.2"},"2.5.0":{"node_abi":44,"v8":"4.2"},"3.0.0":{"node_abi":45,"v8":"4.4"},"3.1.0":{"node_abi":45,"v8":"4.4"},"3.2.0":{"node_abi":45,"v8":"4.4"},"3.3.0":{"node_abi":45,"v8":"4.4"},"3.3.1":{"node_abi":45,"v8":"4.4"},"4.0.0":{"node_abi":46,"v8":"4.5"},"4.1.0":{"node_abi":46,"v8":"4.5"},"4.1.1":{"node_abi":46,"v8":"4.5"},"4.1.2":{"node_abi":46,"v8":"4.5"},"4.2.0":{"node_abi":46,"v8":"4.5"},"4.2.1":{"node_abi":46,"v8":"4.5"},"4.2.2":{"node_abi":46,"v8":"4.5"},"4.2.3":{"node_abi":46,"v8":"4.5"},"4.2.4":{"node_abi":46,"v8":"4.5"},"4.2.5":{"node_abi":46,"v8":"4.5"},"4.2.6":{"node_abi":46,"v8":"4.5"},"4.3.0":{"node_abi":46,"v8":"4.5"},"4.3.1":{"node_abi":46,"v8":"4.5"},"4.3.2":{"node_abi":46,"v8":"4.5"},"4.4.0":{"node_abi":46,"v8":"4.5"},"4.4.1":{"node_abi":46,"v8":"4.5"},"4.4.2":{"node_abi":46,"v8":"4.5"},"4.4.3":{"node_abi":46,"v8":"4.5"},"4.4.4":{"node_abi":46,"v8":"4.5"},"4.4.5":{"node_abi":46,"v8":"4.5"},"4.4.6":{"node_abi":46,"v8":"4.5"},"4.4.7":{"node_abi":46,"v8":"4.5"},"4.5.0":{"node_abi":46,"v8":"4.5"},"4.6.0":{"node_abi":46,"v8":"4.5"},"4.6.1":{"node_abi":46,"v8":"4.5"},"4.6.2":{"node_abi":46,"v8":"4.5"},"4.7.0":{"node_abi":46,"v8":"4.5"},"4.7.1":{"node_abi":46,"v8":"4.5"},"4.7.2":{"node_abi":46,"v8":"4.5"},"4.7.3":{"node_abi":46,"v8":"4.5"},"4.8.0":{"node_abi":46,"v8":"4.5"},"4.8.1":{"node_abi":46,"v8":"4.5"},"4.8.2":{"node_abi":46,"v8":"4.5"},"4.8.3":{"node_abi":46,"v8":"4.5"},"4.8.4":{"node_abi":46,"v8":"4.5"},"4.8.5":{"node_abi":46,"v8":"4.5"},"4.8.6":{"node_abi":46,"v8":"4.5"},"4.8.7":{"node_abi":46,"v8":"4.5"},"4.9.0":{"node_abi":46,"v8":"4.5"},"4.9.1":{"node_abi":46,"v8":"4.5"},"5.0.0":{"node_abi":47,"v8":"4.6"},"5.1.0":{"node_abi":47,"v8":"4.6"},"5.1.1":{"node_abi":47,"v8":"4.6"},"5.2.0":{"node_abi":47,"v8":"4.6"},"5.3.0":{"node_abi":47,"v8":"4.6"},"5.4.0":{"node_abi":47,"v8":"4.6"},"5.4.1":{"node_abi":47,"v8":"4.6"},"5.5.0":{"node_abi":47,"v8":"4.6"},"5.6.0":{"node_abi":47,"v8":"4.6"},"5.7.0":{"node_abi":47,"v8":"4.6"},"5.7.1":{"node_abi":47,"v8":"4.6"},"5.8.0":{"node_abi":47,"v8":"4.6"},"5.9.0":{"node_abi":47,"v8":"4.6"},"5.9.1":{"node_abi":47,"v8":"4.6"},"5.10.0":{"node_abi":47,"v8":"4.6"},"5.10.1":{"node_abi":47,"v8":"4.6"},"5.11.0":{"node_abi":47,"v8":"4.6"},"5.11.1":{"node_abi":47,"v8":"4.6"},"5.12.0":{"node_abi":47,"v8":"4.6"},"6.0.0":{"node_abi":48,"v8":"5.0"},"6.1.0":{"node_abi":48,"v8":"5.0"},"6.2.0":{"node_abi":48,"v8":"5.0"},"6.2.1":{"node_abi":48,"v8":"5.0"},"6.2.2":{"node_abi":48,"v8":"5.0"},"6.3.0":{"node_abi":48,"v8":"5.0"},"6.3.1":{"node_abi":48,"v8":"5.0"},"6.4.0":{"node_abi":48,"v8":"5.0"},"6.5.0":{"node_abi":48,"v8":"5.1"},"6.6.0":{"node_abi":48,"v8":"5.1"},"6.7.0":{"node_abi":48,"v8":"5.1"},"6.8.0":{"node_abi":48,"v8":"5.1"},"6.8.1":{"node_abi":48,"v8":"5.1"},"6.9.0":{"node_abi":48,"v8":"5.1"},"6.9.1":{"node_abi":48,"v8":"5.1"},"6.9.2":{"node_abi":48,"v8":"5.1"},"6.9.3":{"node_abi":48,"v8":"5.1"},"6.9.4":{"node_abi":48,"v8":"5.1"},"6.9.5":{"node_abi":48,"v8":"5.1"},"6.10.0":{"node_abi":48,"v8":"5.1"},"6.10.1":{"node_abi":48,"v8":"5.1"},"6.10.2":{"node_abi":48,"v8":"5.1"},"6.10.3":{"node_abi":48,"v8":"5.1"},"6.11.0":{"node_abi":48,"v8":"5.1"},"6.11.1":{"node_abi":48,"v8":"5.1"},"6.11.2":{"node_abi":48,"v8":"5.1"},"6.11.3":{"node_abi":48,"v8":"5.1"},"6.11.4":{"node_abi":48,"v8":"5.1"},"6.11.5":{"node_abi":48,"v8":"5.1"},"6.12.0":{"node_abi":48,"v8":"5.1"},"6.12.1":{"node_abi":48,"v8":"5.1"},"6.12.2":{"node_abi":48,"v8":"5.1"},"6.12.3":{"node_abi":48,"v8":"5.1"},"6.13.0":{"node_abi":48,"v8":"5.1"},"6.13.1":{"node_abi":48,"v8":"5.1"},"6.14.0":{"node_abi":48,"v8":"5.1"},"6.14.1":{"node_abi":48,"v8":"5.1"},"6.14.2":{"node_abi":48,"v8":"5.1"},"6.14.3":{"node_abi":48,"v8":"5.1"},"6.14.4":{"node_abi":48,"v8":"5.1"},"6.15.0":{"node_abi":48,"v8":"5.1"},"6.15.1":{"node_abi":48,"v8":"5.1"},"6.16.0":{"node_abi":48,"v8":"5.1"},"6.17.0":{"node_abi":48,"v8":"5.1"},"6.17.1":{"node_abi":48,"v8":"5.1"},"7.0.0":{"node_abi":51,"v8":"5.4"},"7.1.0":{"node_abi":51,"v8":"5.4"},"7.2.0":{"node_abi":51,"v8":"5.4"},"7.2.1":{"node_abi":51,"v8":"5.4"},"7.3.0":{"node_abi":51,"v8":"5.4"},"7.4.0":{"node_abi":51,"v8":"5.4"},"7.5.0":{"node_abi":51,"v8":"5.4"},"7.6.0":{"node_abi":51,"v8":"5.5"},"7.7.0":{"node_abi":51,"v8":"5.5"},"7.7.1":{"node_abi":51,"v8":"5.5"},"7.7.2":{"node_abi":51,"v8":"5.5"},"7.7.3":{"node_abi":51,"v8":"5.5"},"7.7.4":{"node_abi":51,"v8":"5.5"},"7.8.0":{"node_abi":51,"v8":"5.5"},"7.9.0":{"node_abi":51,"v8":"5.5"},"7.10.0":{"node_abi":51,"v8":"5.5"},"7.10.1":{"node_abi":51,"v8":"5.5"},"8.0.0":{"node_abi":57,"v8":"5.8"},"8.1.0":{"node_abi":57,"v8":"5.8"},"8.1.1":{"node_abi":57,"v8":"5.8"},"8.1.2":{"node_abi":57,"v8":"5.8"},"8.1.3":{"node_abi":57,"v8":"5.8"},"8.1.4":{"node_abi":57,"v8":"5.8"},"8.2.0":{"node_abi":57,"v8":"5.8"},"8.2.1":{"node_abi":57,"v8":"5.8"},"8.3.0":{"node_abi":57,"v8":"6.0"},"8.4.0":{"node_abi":57,"v8":"6.0"},"8.5.0":{"node_abi":57,"v8":"6.0"},"8.6.0":{"node_abi":57,"v8":"6.0"},"8.7.0":{"node_abi":57,"v8":"6.1"},"8.8.0":{"node_abi":57,"v8":"6.1"},"8.8.1":{"node_abi":57,"v8":"6.1"},"8.9.0":{"node_abi":57,"v8":"6.1"},"8.9.1":{"node_abi":57,"v8":"6.1"},"8.9.2":{"node_abi":57,"v8":"6.1"},"8.9.3":{"node_abi":57,"v8":"6.1"},"8.9.4":{"node_abi":57,"v8":"6.1"},"8.10.0":{"node_abi":57,"v8":"6.2"},"8.11.0":{"node_abi":57,"v8":"6.2"},"8.11.1":{"node_abi":57,"v8":"6.2"},"8.11.2":{"node_abi":57,"v8":"6.2"},"8.11.3":{"node_abi":57,"v8":"6.2"},"8.11.4":{"node_abi":57,"v8":"6.2"},"8.12.0":{"node_abi":57,"v8":"6.2"},"8.13.0":{"node_abi":57,"v8":"6.2"},"8.14.0":{"node_abi":57,"v8":"6.2"},"8.14.1":{"node_abi":57,"v8":"6.2"},"8.15.0":{"node_abi":57,"v8":"6.2"},"8.15.1":{"node_abi":57,"v8":"6.2"},"8.16.0":{"node_abi":57,"v8":"6.2"},"8.16.1":{"node_abi":57,"v8":"6.2"},"8.16.2":{"node_abi":57,"v8":"6.2"},"8.17.0":{"node_abi":57,"v8":"6.2"},"9.0.0":{"node_abi":59,"v8":"6.2"},"9.1.0":{"node_abi":59,"v8":"6.2"},"9.2.0":{"node_abi":59,"v8":"6.2"},"9.2.1":{"node_abi":59,"v8":"6.2"},"9.3.0":{"node_abi":59,"v8":"6.2"},"9.4.0":{"node_abi":59,"v8":"6.2"},"9.5.0":{"node_abi":59,"v8":"6.2"},"9.6.0":{"node_abi":59,"v8":"6.2"},"9.6.1":{"node_abi":59,"v8":"6.2"},"9.7.0":{"node_abi":59,"v8":"6.2"},"9.7.1":{"node_abi":59,"v8":"6.2"},"9.8.0":{"node_abi":59,"v8":"6.2"},"9.9.0":{"node_abi":59,"v8":"6.2"},"9.10.0":{"node_abi":59,"v8":"6.2"},"9.10.1":{"node_abi":59,"v8":"6.2"},"9.11.0":{"node_abi":59,"v8":"6.2"},"9.11.1":{"node_abi":59,"v8":"6.2"},"9.11.2":{"node_abi":59,"v8":"6.2"},"10.0.0":{"node_abi":64,"v8":"6.6"},"10.1.0":{"node_abi":64,"v8":"6.6"},"10.2.0":{"node_abi":64,"v8":"6.6"},"10.2.1":{"node_abi":64,"v8":"6.6"},"10.3.0":{"node_abi":64,"v8":"6.6"},"10.4.0":{"node_abi":64,"v8":"6.7"},"10.4.1":{"node_abi":64,"v8":"6.7"},"10.5.0":{"node_abi":64,"v8":"6.7"},"10.6.0":{"node_abi":64,"v8":"6.7"},"10.7.0":{"node_abi":64,"v8":"6.7"},"10.8.0":{"node_abi":64,"v8":"6.7"},"10.9.0":{"node_abi":64,"v8":"6.8"},"10.10.0":{"node_abi":64,"v8":"6.8"},"10.11.0":{"node_abi":64,"v8":"6.8"},"10.12.0":{"node_abi":64,"v8":"6.8"},"10.13.0":{"node_abi":64,"v8":"6.8"},"10.14.0":{"node_abi":64,"v8":"6.8"},"10.14.1":{"node_abi":64,"v8":"6.8"},"10.14.2":{"node_abi":64,"v8":"6.8"},"10.15.0":{"node_abi":64,"v8":"6.8"},"10.15.1":{"node_abi":64,"v8":"6.8"},"10.15.2":{"node_abi":64,"v8":"6.8"},"10.15.3":{"node_abi":64,"v8":"6.8"},"10.16.0":{"node_abi":64,"v8":"6.8"},"10.16.1":{"node_abi":64,"v8":"6.8"},"10.16.2":{"node_abi":64,"v8":"6.8"},"10.16.3":{"node_abi":64,"v8":"6.8"},"10.17.0":{"node_abi":64,"v8":"6.8"},"10.18.0":{"node_abi":64,"v8":"6.8"},"10.18.1":{"node_abi":64,"v8":"6.8"},"10.19.0":{"node_abi":64,"v8":"6.8"},"10.20.0":{"node_abi":64,"v8":"6.8"},"10.20.1":{"node_abi":64,"v8":"6.8"},"10.21.0":{"node_abi":64,"v8":"6.8"},"10.22.0":{"node_abi":64,"v8":"6.8"},"10.22.1":{"node_abi":64,"v8":"6.8"},"10.23.0":{"node_abi":64,"v8":"6.8"},"10.23.1":{"node_abi":64,"v8":"6.8"},"10.23.2":{"node_abi":64,"v8":"6.8"},"10.23.3":{"node_abi":64,"v8":"6.8"},"10.24.0":{"node_abi":64,"v8":"6.8"},"10.24.1":{"node_abi":64,"v8":"6.8"},"11.0.0":{"node_abi":67,"v8":"7.0"},"11.1.0":{"node_abi":67,"v8":"7.0"},"11.2.0":{"node_abi":67,"v8":"7.0"},"11.3.0":{"node_abi":67,"v8":"7.0"},"11.4.0":{"node_abi":67,"v8":"7.0"},"11.5.0":{"node_abi":67,"v8":"7.0"},"11.6.0":{"node_abi":67,"v8":"7.0"},"11.7.0":{"node_abi":67,"v8":"7.0"},"11.8.0":{"node_abi":67,"v8":"7.0"},"11.9.0":{"node_abi":67,"v8":"7.0"},"11.10.0":{"node_abi":67,"v8":"7.0"},"11.10.1":{"node_abi":67,"v8":"7.0"},"11.11.0":{"node_abi":67,"v8":"7.0"},"11.12.0":{"node_abi":67,"v8":"7.0"},"11.13.0":{"node_abi":67,"v8":"7.0"},"11.14.0":{"node_abi":67,"v8":"7.0"},"11.15.0":{"node_abi":67,"v8":"7.0"},"12.0.0":{"node_abi":72,"v8":"7.4"},"12.1.0":{"node_abi":72,"v8":"7.4"},"12.2.0":{"node_abi":72,"v8":"7.4"},"12.3.0":{"node_abi":72,"v8":"7.4"},"12.3.1":{"node_abi":72,"v8":"7.4"},"12.4.0":{"node_abi":72,"v8":"7.4"},"12.5.0":{"node_abi":72,"v8":"7.5"},"12.6.0":{"node_abi":72,"v8":"7.5"},"12.7.0":{"node_abi":72,"v8":"7.5"},"12.8.0":{"node_abi":72,"v8":"7.5"},"12.8.1":{"node_abi":72,"v8":"7.5"},"12.9.0":{"node_abi":72,"v8":"7.6"},"12.9.1":{"node_abi":72,"v8":"7.6"},"12.10.0":{"node_abi":72,"v8":"7.6"},"12.11.0":{"node_abi":72,"v8":"7.7"},"12.11.1":{"node_abi":72,"v8":"7.7"},"12.12.0":{"node_abi":72,"v8":"7.7"},"12.13.0":{"node_abi":72,"v8":"7.7"},"12.13.1":{"node_abi":72,"v8":"7.7"},"12.14.0":{"node_abi":72,"v8":"7.7"},"12.14.1":{"node_abi":72,"v8":"7.7"},"12.15.0":{"node_abi":72,"v8":"7.7"},"12.16.0":{"node_abi":72,"v8":"7.8"},"12.16.1":{"node_abi":72,"v8":"7.8"},"12.16.2":{"node_abi":72,"v8":"7.8"},"12.16.3":{"node_abi":72,"v8":"7.8"},"12.17.0":{"node_abi":72,"v8":"7.8"},"12.18.0":{"node_abi":72,"v8":"7.8"},"12.18.1":{"node_abi":72,"v8":"7.8"},"12.18.2":{"node_abi":72,"v8":"7.8"},"12.18.3":{"node_abi":72,"v8":"7.8"},"12.18.4":{"node_abi":72,"v8":"7.8"},"12.19.0":{"node_abi":72,"v8":"7.8"},"12.19.1":{"node_abi":72,"v8":"7.8"},"12.20.0":{"node_abi":72,"v8":"7.8"},"12.20.1":{"node_abi":72,"v8":"7.8"},"12.20.2":{"node_abi":72,"v8":"7.8"},"12.21.0":{"node_abi":72,"v8":"7.8"},"12.22.0":{"node_abi":72,"v8":"7.8"},"12.22.1":{"node_abi":72,"v8":"7.8"},"13.0.0":{"node_abi":79,"v8":"7.8"},"13.0.1":{"node_abi":79,"v8":"7.8"},"13.1.0":{"node_abi":79,"v8":"7.8"},"13.2.0":{"node_abi":79,"v8":"7.9"},"13.3.0":{"node_abi":79,"v8":"7.9"},"13.4.0":{"node_abi":79,"v8":"7.9"},"13.5.0":{"node_abi":79,"v8":"7.9"},"13.6.0":{"node_abi":79,"v8":"7.9"},"13.7.0":{"node_abi":79,"v8":"7.9"},"13.8.0":{"node_abi":79,"v8":"7.9"},"13.9.0":{"node_abi":79,"v8":"7.9"},"13.10.0":{"node_abi":79,"v8":"7.9"},"13.10.1":{"node_abi":79,"v8":"7.9"},"13.11.0":{"node_abi":79,"v8":"7.9"},"13.12.0":{"node_abi":79,"v8":"7.9"},"13.13.0":{"node_abi":79,"v8":"7.9"},"13.14.0":{"node_abi":79,"v8":"7.9"},"14.0.0":{"node_abi":83,"v8":"8.1"},"14.1.0":{"node_abi":83,"v8":"8.1"},"14.2.0":{"node_abi":83,"v8":"8.1"},"14.3.0":{"node_abi":83,"v8":"8.1"},"14.4.0":{"node_abi":83,"v8":"8.1"},"14.5.0":{"node_abi":83,"v8":"8.3"},"14.6.0":{"node_abi":83,"v8":"8.4"},"14.7.0":{"node_abi":83,"v8":"8.4"},"14.8.0":{"node_abi":83,"v8":"8.4"},"14.9.0":{"node_abi":83,"v8":"8.4"},"14.10.0":{"node_abi":83,"v8":"8.4"},"14.10.1":{"node_abi":83,"v8":"8.4"},"14.11.0":{"node_abi":83,"v8":"8.4"},"14.12.0":{"node_abi":83,"v8":"8.4"},"14.13.0":{"node_abi":83,"v8":"8.4"},"14.13.1":{"node_abi":83,"v8":"8.4"},"14.14.0":{"node_abi":83,"v8":"8.4"},"14.15.0":{"node_abi":83,"v8":"8.4"},"14.15.1":{"node_abi":83,"v8":"8.4"},"14.15.2":{"node_abi":83,"v8":"8.4"},"14.15.3":{"node_abi":83,"v8":"8.4"},"14.15.4":{"node_abi":83,"v8":"8.4"},"14.15.5":{"node_abi":83,"v8":"8.4"},"14.16.0":{"node_abi":83,"v8":"8.4"},"14.16.1":{"node_abi":83,"v8":"8.4"},"15.0.0":{"node_abi":88,"v8":"8.6"},"15.0.1":{"node_abi":88,"v8":"8.6"},"15.1.0":{"node_abi":88,"v8":"8.6"},"15.2.0":{"node_abi":88,"v8":"8.6"},"15.2.1":{"node_abi":88,"v8":"8.6"},"15.3.0":{"node_abi":88,"v8":"8.6"},"15.4.0":{"node_abi":88,"v8":"8.6"},"15.5.0":{"node_abi":88,"v8":"8.6"},"15.5.1":{"node_abi":88,"v8":"8.6"},"15.6.0":{"node_abi":88,"v8":"8.6"},"15.7.0":{"node_abi":88,"v8":"8.6"},"15.8.0":{"node_abi":88,"v8":"8.6"},"15.9.0":{"node_abi":88,"v8":"8.6"},"15.10.0":{"node_abi":88,"v8":"8.6"},"15.11.0":{"node_abi":88,"v8":"8.6"},"15.12.0":{"node_abi":88,"v8":"8.6"},"15.13.0":{"node_abi":88,"v8":"8.6"},"15.14.0":{"node_abi":88,"v8":"8.6"},"16.0.0":{"node_abi":93,"v8":"9.0"}}')},5381:e=>{"use strict";e.exports=JSON.parse('{"name":"@mapbox/node-pre-gyp","description":"Node.js native addon binary install tool","version":"1.0.5","keywords":["native","addon","module","c","c++","bindings","binary"],"license":"BSD-3-Clause","author":"Dane Springmeyer <dane@mapbox.com>","repository":{"type":"git","url":"git://github.com/mapbox/node-pre-gyp.git"},"bin":"./bin/node-pre-gyp","main":"./lib/node-pre-gyp.js","dependencies":{"detect-libc":"^1.0.3","https-proxy-agent":"^5.0.0","make-dir":"^3.1.0","node-fetch":"^2.6.1","nopt":"^5.0.0","npmlog":"^4.1.2","rimraf":"^3.0.2","semver":"^7.3.4","tar":"^6.1.0"},"devDependencies":{"@mapbox/cloudfriend":"^4.6.0","@mapbox/eslint-config-mapbox":"^3.0.0","action-walk":"^2.2.0","aws-sdk":"^2.840.0","codecov":"^3.8.1","eslint":"^7.18.0","eslint-plugin-node":"^11.1.0","mock-aws-s3":"^4.0.1","nock":"^12.0.3","node-addon-api":"^3.1.0","nyc":"^15.1.0","tape":"^5.2.2","tar-fs":"^2.1.1"},"nyc":{"all":true,"skip-full":false,"exclude":["test/**"]},"scripts":{"coverage":"nyc --all --include index.js --include lib/ npm test","upload-coverage":"nyc report --reporter json && codecov --clear --flags=unit --file=./coverage/coverage-final.json","lint":"eslint bin/node-pre-gyp lib/*js lib/util/*js test/*js scripts/*js","fix":"npm run lint -- --fix","update-crosswalk":"node scripts/abi_crosswalk.js","test":"tape test/*test.js"}}')},111:(e,t,i)=>{"use strict";e.exports=t;t.mockS3Http=i(7048).get_mockS3Http();t.mockS3Http("on");const r=t.mockS3Http("get");const n=i(5747);const s=i(5622);const a=i(1400);const o=i(9658);o.disableProgress();const u=i(5677);const c=i(8614).EventEmitter;const l=i(1669).inherits;const f=["clean","install","reinstall","build","rebuild","package","testpackage","publish","unpublish","info","testbinary","reveal","configure"];const h={};o.heading="node-pre-gyp";if(r){o.warn(`mocking s3 to ${process.env.node_pre_gyp_mock_s3}`)}Object.defineProperty(t,"find",{get:function(){return i(3093).find},enumerable:true});function Run({package_json_path:e="./package.json",argv:t}){this.package_json_path=e;this.commands={};const i=this;f.forEach(e=>{i.commands[e]=function(t,r){o.verbose("command",e,t);return require("./"+e)(i,t,r)}});this.parseArgv(t);this.binaryHostSet=false}l(Run,c);t.Run=Run;const p=Run.prototype;p.package=i(5381);p.configDefs={help:Boolean,arch:String,debug:Boolean,directory:String,proxy:String,loglevel:String};p.shorthands={release:"--no-debug",C:"--directory",debug:"--debug",j:"--jobs",silent:"--loglevel=silent",silly:"--loglevel=silly",verbose:"--loglevel=verbose"};p.aliases=h;p.parseArgv=function parseOpts(e){this.opts=a(this.configDefs,this.shorthands,e);this.argv=this.opts.argv.remain.slice();const t=this.todo=[];e=this.argv.map(e=>{if(e in this.aliases){e=this.aliases[e]}return e});e.slice().forEach(i=>{if(i in this.commands){const r=e.splice(0,e.indexOf(i));e.shift();if(t.length>0){t[t.length-1].args=r}t.push({name:i,args:[]})}});if(t.length>0){t[t.length-1].args=e.splice(0)}let i=this.package_json_path;if(this.opts.directory){i=s.join(this.opts.directory,i)}this.package_json=JSON.parse(n.readFileSync(i));this.todo=u.expand_commands(this.package_json,this.opts,t);const r="npm_config_";Object.keys(process.env).forEach(e=>{if(e.indexOf(r)!==0)return;const t=process.env[e];if(e===r+"loglevel"){o.level=t}else{e=e.substring(r.length);if(e==="argv"){if(this.opts.argv&&this.opts.argv.remain&&this.opts.argv.remain.length){}else{this.opts[e]=t}}else{this.opts[e]=t}}});if(this.opts.loglevel){o.level=this.opts.loglevel}o.resume()};p.setBinaryHostProperty=function(e){if(this.binaryHostSet){return this.package_json.binary.host}const t=this.package_json;if(!t||!t.binary||t.binary.host){return""}if(!t.binary.staging_host||!t.binary.production_host){return""}let i="production_host";if(e==="publish"){i="staging_host"}const r=process.env.node_pre_gyp_s3_host;if(r==="staging"||r==="production"){i=`${r}_host`}else if(this.opts["s3_host"]==="staging"||this.opts["s3_host"]==="production"){i=`${this.opts["s3_host"]}_host`}else if(this.opts["s3_host"]||r){throw new Error(`invalid s3_host ${this.opts["s3_host"]||r}`)}t.binary.host=t.binary[i];this.binaryHostSet=true;return t.binary.host};p.usage=function usage(){const e=[""," Usage: node-pre-gyp <command> [options]",""," where <command> is one of:",f.map(e=>{return" - "+e+" - "+require("./"+e).usage}).join("\n"),"","node-pre-gyp@"+this.version+" "+s.resolve(__dirname,".."),"node@"+process.versions.node].join("\n");return e};Object.defineProperty(p,"version",{get:function(){return this.package.version},enumerable:true})},3093:(e,t,i)=>{"use strict";const r=i(111);const n=i(302);const s=i(5677);const a=i(5747).existsSync||i(5622).existsSync;const o=i(5622);e.exports=t;t.usage="Finds the require path for the node-pre-gyp installed module";t.validate=function(e,t){n.validate_config(e,t)};t.find=function(e,t){if(!a(e)){throw new Error(e+"does not exist")}const i=new r.Run({package_json_path:e,argv:process.argv});i.setBinaryHostProperty();const u=i.package_json;n.validate_config(u,t);let c;if(s.get_napi_build_versions(u,t)){c=s.get_best_napi_build_version(u,t)}t=t||{};if(!t.module_root)t.module_root=o.dirname(e);const l=n.evaluate(u,t,c);return l.module}},5677:(e,t,i)=>{"use strict";const r=i(5747);e.exports=t;const n=process.version.substr(1).replace(/-.*$/,"").split(".").map(e=>{return+e});const s=["build","clean","configure","package","publish","reveal","testbinary","testpackage","unpublish"];const a="napi_build_version=";e.exports.get_napi_version=function(){let e=process.versions.napi;if(!e){if(n[0]===9&&n[1]>=3)e=2;else if(n[0]===8)e=1}return e};e.exports.get_napi_version_as_string=function(t){const i=e.exports.get_napi_version(t);return i?""+i:""};e.exports.validate_package_json=function(t,i){const r=t.binary;const n=pathOK(r.module_path);const s=pathOK(r.remote_path);const a=pathOK(r.package_name);const o=e.exports.get_napi_build_versions(t,i,true);const u=e.exports.get_napi_build_versions_raw(t);if(o){o.forEach(e=>{if(!(parseInt(e,10)===e&&e>0)){throw new Error("All values specified in napi_versions must be positive integers.")}})}if(o&&(!n||!s&&!a)){throw new Error("When napi_versions is specified; module_path and either remote_path or "+"package_name must contain the substitution string '{napi_build_version}`.")}if((n||s||a)&&!u){throw new Error("When the substitution string '{napi_build_version}` is specified in "+"module_path, remote_path, or package_name; napi_versions must also be specified.")}if(o&&!e.exports.get_best_napi_build_version(t,i)&&e.exports.build_napi_only(t)){throw new Error("The Node-API version of this Node instance is "+e.exports.get_napi_version(i?i.target:undefined)+". "+"This module supports Node-API version(s) "+e.exports.get_napi_build_versions_raw(t)+". "+"This Node instance cannot run this module.")}if(u&&!o&&e.exports.build_napi_only(t)){throw new Error("The Node-API version of this Node instance is "+e.exports.get_napi_version(i?i.target:undefined)+". "+"This module supports Node-API version(s) "+e.exports.get_napi_build_versions_raw(t)+". "+"This Node instance cannot run this module.")}};function pathOK(e){return e&&(e.indexOf("{napi_build_version}")!==-1||e.indexOf("{node_napi_label}")!==-1)}e.exports.expand_commands=function(t,i,r){const n=[];const o=e.exports.get_napi_build_versions(t,i);r.forEach(r=>{if(o&&r.name==="install"){const s=e.exports.get_best_napi_build_version(t,i);const o=s?[a+s]:[];n.push({name:r.name,args:o})}else if(o&&s.indexOf(r.name)!==-1){o.forEach(e=>{const t=r.args.slice();t.push(a+e);n.push({name:r.name,args:t})})}else{n.push(r)}});return n};e.exports.get_napi_build_versions=function(t,r,n){const s=i(9658);let a=[];const o=e.exports.get_napi_version(r?r.target:undefined);if(t.binary&&t.binary.napi_versions){t.binary.napi_versions.forEach(e=>{const t=a.indexOf(e)!==-1;if(!t&&o&&e<=o){a.push(e)}else if(n&&!t&&o){s.info("This Node instance does not support builds for Node-API version",e)}})}if(r&&r["build-latest-napi-version-only"]){let e=0;a.forEach(t=>{if(t>e)e=t});a=e?[e]:[]}return a.length?a:undefined};e.exports.get_napi_build_versions_raw=function(e){const t=[];if(e.binary&&e.binary.napi_versions){e.binary.napi_versions.forEach(e=>{if(t.indexOf(e)===-1){t.push(e)}})}return t.length?t:undefined};e.exports.get_command_arg=function(e){return a+e};e.exports.get_napi_build_version_from_command_args=function(e){for(let t=0;t<e.length;t++){const i=e[t];if(i.indexOf(a)===0){return parseInt(i.substr(a.length),10)}}return undefined};e.exports.swap_build_dir_out=function(t){if(t){const n=i(6286);n.sync(e.exports.get_build_dir(t));r.renameSync("build",e.exports.get_build_dir(t))}};e.exports.swap_build_dir_in=function(t){if(t){const n=i(6286);n.sync("build");r.renameSync(e.exports.get_build_dir(t),"build")}};e.exports.get_build_dir=function(e){return"build-tmp-napi-v"+e};e.exports.get_best_napi_build_version=function(t,i){let r=0;const n=e.exports.get_napi_build_versions(t,i);if(n){const t=e.exports.get_napi_version(i?i.target:undefined);n.forEach(e=>{if(e>r&&e<=t){r=e}})}return r===0?undefined:r};e.exports.build_napi_only=function(e){return e.binary&&e.binary.package_name&&e.binary.package_name.indexOf("{node_napi_label}")===-1}},7048:(e,t,i)=>{"use strict";e.exports=t;const r=i(8835);const n=i(5747);const s=i(5622);e.exports.detect=function(e,t){const i=e.hosted_path;const n=r.parse(i);t.prefix=!n.pathname||n.pathname==="/"?"":n.pathname.replace("/","");if(e.bucket&&e.region){t.bucket=e.bucket;t.region=e.region;t.endpoint=e.host;t.s3ForcePathStyle=e.s3ForcePathStyle}else{const e=n.hostname.split(".s3");const i=e[0];if(!i){return}if(!t.bucket){t.bucket=i}if(!t.region){const i=e[1].slice(1).split(".")[0];if(i==="amazonaws"){t.region="us-east-1"}else{t.region=i}}}};e.exports.get_s3=function(e){if(process.env.node_pre_gyp_mock_s3){const e=i(2722);const t=i(2087);e.config.basePath=`${t.tmpdir()}/mock`;const r=e.S3();const n=e=>(t,...i)=>{if(t&&t.code==="ENOENT"){t.code="NotFound"}return e(t,...i)};return{listObjects(e,t){return r.listObjects(e,n(t))},headObject(e,t){return r.headObject(e,n(t))},deleteObject(e,t){return r.deleteObject(e,n(t))},putObject(e,t){return r.putObject(e,n(t))}}}const t=i(918);t.config.update(e);const r=new t.S3;return{listObjects(e,t){return r.listObjects(e,t)},headObject(e,t){return r.headObject(e,t)},deleteObject(e,t){return r.deleteObject(e,t)},putObject(e,t){return r.putObject(e,t)}}};e.exports.get_mockS3Http=function(){let e=false;if(!process.env.node_pre_gyp_mock_s3){return()=>e}const t=i(3902);const r="https://mapbox-node-pre-gyp-public-testing-bucket.s3.us-east-1.amazonaws.com";const a=process.env.node_pre_gyp_mock_s3+"/mapbox-node-pre-gyp-public-testing-bucket";const o=()=>{function get(e,t){const i=s.join(a,e.replace("%2B","+"));try{n.accessSync(i,n.constants.R_OK)}catch(e){return[404,"not found\n"]}return[200,n.createReadStream(i)]}return t(r).persist().get(()=>e).reply(get)};o(t,r,a);const u=t=>{const i=e;if(t==="off"){e=false}else if(t==="on"){e=true}else if(t!=="get"){throw new Error(`illegal action for setMockHttp ${t}`)}return i};return u}},302:(e,t,i)=>{"use strict";e.exports=t;const r=i(5622);const n=i(6698);const s=i(8835);const a=i(2157);const o=i(5677);let u;if(process.env.NODE_PRE_GYP_ABI_CROSSWALK){u=require(process.env.NODE_PRE_GYP_ABI_CROSSWALK)}else{u=i(3380)}const c={};Object.keys(u).forEach(e=>{const t=e.split(".")[0];if(!c[t]){c[t]=e}});function get_electron_abi(e,t){if(!e){throw new Error("get_electron_abi requires valid runtime arg")}if(typeof t==="undefined"){throw new Error("Empty target version is not supported if electron is the target.")}const i=n.parse(t);return e+"-v"+i.major+"."+i.minor}e.exports.get_electron_abi=get_electron_abi;function get_node_webkit_abi(e,t){if(!e){throw new Error("get_node_webkit_abi requires valid runtime arg")}if(typeof t==="undefined"){throw new Error("Empty target version is not supported if node-webkit is the target.")}return e+"-v"+t}e.exports.get_node_webkit_abi=get_node_webkit_abi;function get_node_abi(e,t){if(!e){throw new Error("get_node_abi requires valid runtime arg")}if(!t){throw new Error("get_node_abi requires valid process.versions object")}const i=n.parse(t.node);if(i.major===0&&i.minor%2){return e+"-v"+t.node}else{return t.modules?e+"-v"+ +t.modules:"v8-"+t.v8.split(".").slice(0,2).join(".")}}e.exports.get_node_abi=get_node_abi;function get_runtime_abi(e,t){if(!e){throw new Error("get_runtime_abi requires valid runtime arg")}if(e==="node-webkit"){return get_node_webkit_abi(e,t||process.versions["node-webkit"])}else if(e==="electron"){return get_electron_abi(e,t||process.versions.electron)}else{if(e!=="node"){throw new Error("Unknown Runtime: '"+e+"'")}if(!t){return get_node_abi(e,process.versions)}else{let i;if(u[t]){i=u[t]}else{const e=t.split(".").map(e=>{return+e});if(e.length!==3){throw new Error("Unknown target version: "+t)}const r=e[0];let n=e[1];let s=e[2];if(r===1){while(true){if(n>0)--n;if(s>0)--s;const e=""+r+"."+n+"."+s;if(u[e]){i=u[e];console.log("Warning: node-pre-gyp could not find exact match for "+t);console.log("Warning: but node-pre-gyp successfully choose "+e+" as ABI compatible target");break}if(n===0&&s===0){break}}}else if(r>=2){if(c[r]){i=u[c[r]];console.log("Warning: node-pre-gyp could not find exact match for "+t);console.log("Warning: but node-pre-gyp successfully choose "+c[r]+" as ABI compatible target")}}else if(r===0){if(e[1]%2===0){while(--s>0){const e=""+r+"."+n+"."+s;if(u[e]){i=u[e];console.log("Warning: node-pre-gyp could not find exact match for "+t);console.log("Warning: but node-pre-gyp successfully choose "+e+" as ABI compatible target");break}}}}}if(!i){throw new Error("Unsupported target version: "+t)}const r={node:t,v8:i.v8+".0",modules:i.node_abi>1?i.node_abi:undefined};return get_node_abi(e,r)}}}e.exports.get_runtime_abi=get_runtime_abi;const l=["module_name","module_path","host"];function validate_config(e,t){const i=e.name+" package.json is not node-pre-gyp ready:\n";const r=[];if(!e.main){r.push("main")}if(!e.version){r.push("version")}if(!e.name){r.push("name")}if(!e.binary){r.push("binary")}const n=e.binary;if(n){l.forEach(e=>{if(!n[e]||typeof n[e]!=="string"){r.push("binary."+e)}})}if(r.length>=1){throw new Error(i+"package.json must declare these properties: \n"+r.join("\n"))}if(n){const e=s.parse(n.host).protocol;if(e==="http:"){throw new Error("'host' protocol ("+e+") is invalid - only 'https:' is accepted")}}o.validate_package_json(e,t)}e.exports.validate_config=validate_config;function eval_template(e,t){Object.keys(t).forEach(i=>{const r="{"+i+"}";while(e.indexOf(r)>-1){e=e.replace(r,t[i])}});return e}function fix_slashes(e){if(e.slice(-1)!=="/"){return e+"/"}return e}function drop_double_slashes(e){return e.replace(/\/\//g,"/")}function get_process_runtime(e){let t="node";if(e["node-webkit"]){t="node-webkit"}else if(e.electron){t="electron"}return t}e.exports.get_process_runtime=get_process_runtime;const f="{module_name}-v{version}-{node_abi}-{platform}-{arch}.tar.gz";const h="";e.exports.evaluate=function(e,t,i){t=t||{};validate_config(e,t);const u=e.version;const c=n.parse(u);const l=t.runtime||get_process_runtime(process.versions);const p={name:e.name,configuration:t.debug?"Debug":"Release",debug:t.debug,module_name:e.binary.module_name,version:c.version,prerelease:c.prerelease.length?c.prerelease.join("."):"",build:c.build.length?c.build.join("."):"",major:c.major,minor:c.minor,patch:c.patch,runtime:l,node_abi:get_runtime_abi(l,t.target),node_abi_napi:o.get_napi_version(t.target)?"napi":get_runtime_abi(l,t.target),napi_version:o.get_napi_version(t.target),napi_build_version:i||"",node_napi_label:i?"napi-v"+i:get_runtime_abi(l,t.target),target:t.target||"",platform:t.target_platform||process.platform,target_platform:t.target_platform||process.platform,arch:t.target_arch||process.arch,target_arch:t.target_arch||process.arch,libc:t.target_libc||a.family||"unknown",module_main:e.main,toolset:t.toolset||"",bucket:e.binary.bucket,region:e.binary.region,s3ForcePathStyle:e.binary.s3ForcePathStyle||false};const d=p.module_name.replace("-","_");const v=process.env["npm_config_"+d+"_binary_host_mirror"]||e.binary.host;p.host=fix_slashes(eval_template(v,p));p.module_path=eval_template(e.binary.module_path,p);if(t.module_root){p.module_path=r.join(t.module_root,p.module_path)}else{p.module_path=r.resolve(p.module_path)}p.module=r.join(p.module_path,p.module_name+".node");p.remote_path=e.binary.remote_path?drop_double_slashes(fix_slashes(eval_template(e.binary.remote_path,p))):h;const y=e.binary.package_name?e.binary.package_name:f;p.package_name=eval_template(y,p);p.staged_tarball=r.join("build/stage",p.remote_path,p.package_name);p.hosted_path=s.resolve(p.host,p.remote_path);p.hosted_tarball=s.resolve(p.hosted_path,p.package_name);return p}},3448:(e,t,i)=>{"use strict";const r=i(5864);const n=Symbol("max");const s=Symbol("length");const a=Symbol("lengthCalculator");const o=Symbol("allowStale");const u=Symbol("maxAge");const c=Symbol("dispose");const l=Symbol("noDisposeOnSet");const f=Symbol("lruList");const h=Symbol("cache");const p=Symbol("updateAgeOnGet");const d=()=>1;class LRUCache{constructor(e){if(typeof e==="number")e={max:e};if(!e)e={};if(e.max&&(typeof e.max!=="number"||e.max<0))throw new TypeError("max must be a non-negative number");const t=this[n]=e.max||Infinity;const i=e.length||d;this[a]=typeof i!=="function"?d:i;this[o]=e.stale||false;if(e.maxAge&&typeof e.maxAge!=="number")throw new TypeError("maxAge must be a number");this[u]=e.maxAge||0;this[c]=e.dispose;this[l]=e.noDisposeOnSet||false;this[p]=e.updateAgeOnGet||false;this.reset()}set max(e){if(typeof e!=="number"||e<0)throw new TypeError("max must be a non-negative number");this[n]=e||Infinity;g(this)}get max(){return this[n]}set allowStale(e){this[o]=!!e}get allowStale(){return this[o]}set maxAge(e){if(typeof e!=="number")throw new TypeError("maxAge must be a non-negative number");this[u]=e;g(this)}get maxAge(){return this[u]}set lengthCalculator(e){if(typeof e!=="function")e=d;if(e!==this[a]){this[a]=e;this[s]=0;this[f].forEach(e=>{e.length=this[a](e.value,e.key);this[s]+=e.length})}g(this)}get lengthCalculator(){return this[a]}get length(){return this[s]}get itemCount(){return this[f].length}rforEach(e,t){t=t||this;for(let i=this[f].tail;i!==null;){const r=i.prev;m(this,e,i,t);i=r}}forEach(e,t){t=t||this;for(let i=this[f].head;i!==null;){const r=i.next;m(this,e,i,t);i=r}}keys(){return this[f].toArray().map(e=>e.key)}values(){return this[f].toArray().map(e=>e.value)}reset(){if(this[c]&&this[f]&&this[f].length){this[f].forEach(e=>this[c](e.key,e.value))}this[h]=new Map;this[f]=new r;this[s]=0}dump(){return this[f].map(e=>y(this,e)?false:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[f]}set(e,t,i){i=i||this[u];if(i&&typeof i!=="number")throw new TypeError("maxAge must be a number");const r=i?Date.now():0;const o=this[a](t,e);if(this[h].has(e)){if(o>this[n]){b(this,this[h].get(e));return false}const a=this[h].get(e);const u=a.value;if(this[c]){if(!this[l])this[c](e,u.value)}u.now=r;u.maxAge=i;u.value=t;this[s]+=o-u.length;u.length=o;this.get(e);g(this);return true}const p=new Entry(e,t,o,r,i);if(p.length>this[n]){if(this[c])this[c](e,t);return false}this[s]+=p.length;this[f].unshift(p);this[h].set(e,this[f].head);g(this);return true}has(e){if(!this[h].has(e))return false;const t=this[h].get(e).value;return!y(this,t)}get(e){return v(this,e,true)}peek(e){return v(this,e,false)}pop(){const e=this[f].tail;if(!e)return null;b(this,e);return e.value}del(e){b(this,this[h].get(e))}load(e){this.reset();const t=Date.now();for(let i=e.length-1;i>=0;i--){const r=e[i];const n=r.e||0;if(n===0)this.set(r.k,r.v);else{const e=n-t;if(e>0){this.set(r.k,r.v,e)}}}}prune(){this[h].forEach((e,t)=>v(this,t,false))}}const v=(e,t,i)=>{const r=e[h].get(t);if(r){const t=r.value;if(y(e,t)){b(e,r);if(!e[o])return undefined}else{if(i){if(e[p])r.value.now=Date.now();e[f].unshiftNode(r)}}return t.value}};const y=(e,t)=>{if(!t||!t.maxAge&&!e[u])return false;const i=Date.now()-t.now;return t.maxAge?i>t.maxAge:e[u]&&i>e[u]};const g=e=>{if(e[s]>e[n]){for(let t=e[f].tail;e[s]>e[n]&&t!==null;){const i=t.prev;b(e,t);t=i}}};const b=(e,t)=>{if(t){const i=t.value;if(e[c])e[c](i.key,i.value);e[s]-=i.length;e[h].delete(i.key);e[f].removeNode(t)}};class Entry{constructor(e,t,i,r,n){this.key=e;this.value=t;this.length=i;this.now=r;this.maxAge=n||0}}const m=(e,t,i,r)=>{let n=i.value;if(y(e,n)){b(e,i);if(!e[o])n=undefined}if(n)t.call(r,n.value,n.key,e)};e.exports=LRUCache},1400:(e,t,i)=>{var r=process.env.DEBUG_NOPT||process.env.NOPT_DEBUG?function(){console.error.apply(console,arguments)}:function(){};var n=i(8835),s=i(5622),a=i(2413).Stream,o=i(5920),u=i(2087);e.exports=t=nopt;t.clean=clean;t.typeDefs={String:{type:String,validate:validateString},Boolean:{type:Boolean,validate:validateBoolean},url:{type:n,validate:validateUrl},Number:{type:Number,validate:validateNumber},path:{type:s,validate:validatePath},Stream:{type:a,validate:validateStream},Date:{type:Date,validate:validateDate}};function nopt(e,i,n,s){n=n||process.argv;e=e||{};i=i||{};if(typeof s!=="number")s=2;r(e,i,n,s);n=n.slice(s);var a={},o,u={remain:[],cooked:n,original:n.slice(0)};parse(n,a,u.remain,e,i);clean(a,e,t.typeDefs);a.argv=u;Object.defineProperty(a.argv,"toString",{value:function(){return this.original.map(JSON.stringify).join(" ")},enumerable:false});return a}function clean(e,i,n){n=n||t.typeDefs;var s={},a=[false,true,null,String,Array];Object.keys(e).forEach(function(o){if(o==="argv")return;var u=e[o],c=Array.isArray(u),l=i[o];if(!c)u=[u];if(!l)l=a;if(l===Array)l=a.concat(Array);if(!Array.isArray(l))l=[l];r("val=%j",u);r("types=",l);u=u.map(function(a){if(typeof a==="string"){r("string %j",a);a=a.trim();if(a==="null"&&~l.indexOf(null)||a==="true"&&(~l.indexOf(true)||~l.indexOf(Boolean))||a==="false"&&(~l.indexOf(false)||~l.indexOf(Boolean))){a=JSON.parse(a);r("jsonable %j",a)}else if(~l.indexOf(Number)&&!isNaN(a)){r("convert to number",a);a=+a}else if(~l.indexOf(Date)&&!isNaN(Date.parse(a))){r("convert to date",a);a=new Date(a)}}if(!i.hasOwnProperty(o)){return a}if(a===false&&~l.indexOf(null)&&!(~l.indexOf(false)||~l.indexOf(Boolean))){a=null}var u={};u[o]=a;r("prevalidated val",u,a,i[o]);if(!validate(u,o,a,i[o],n)){if(t.invalidHandler){t.invalidHandler(o,a,i[o],e)}else if(t.invalidHandler!==false){r("invalid: "+o+"="+a,i[o])}return s}r("validated val",u,a,i[o]);return u[o]}).filter(function(e){return e!==s});if(!u.length&&l.indexOf(Array)===-1){r("VAL HAS NO LENGTH, DELETE IT",u,o,l.indexOf(Array));delete e[o]}else if(c){r(c,e[o],u);e[o]=u}else e[o]=u[0];r("k=%s val=%j",o,u,e[o])})}function validateString(e,t,i){e[t]=String(i)}function validatePath(e,t,i){if(i===true)return false;if(i===null)return true;i=String(i);var r=process.platform==="win32",n=r?/^~(\/|\\)/:/^~\//,a=u.homedir();if(a&&i.match(n)){e[t]=s.resolve(a,i.substr(2))}else{e[t]=s.resolve(i)}return true}function validateNumber(e,t,i){r("validate Number %j %j %j",t,i,isNaN(i));if(isNaN(i))return false;e[t]=+i}function validateDate(e,t,i){var n=Date.parse(i);r("validate Date %j %j %j",t,i,n);if(isNaN(n))return false;e[t]=new Date(i)}function validateBoolean(e,t,i){if(i instanceof Boolean)i=i.valueOf();else if(typeof i==="string"){if(!isNaN(i))i=!!+i;else if(i==="null"||i==="false")i=false;else i=true}else i=!!i;e[t]=i}function validateUrl(e,t,i){i=n.parse(String(i));if(!i.host)return false;e[t]=i.href}function validateStream(e,t,i){if(!(i instanceof a))return false;e[t]=i}function validate(e,t,i,n,s){if(Array.isArray(n)){for(var a=0,o=n.length;a<o;a++){if(n[a]===Array)continue;if(validate(e,t,i,n[a],s))return true}delete e[t];return false}if(n===Array)return true;if(n!==n){r("Poison NaN",t,i,n);delete e[t];return false}if(i===n){r("Explicitly allowed %j",i);e[t]=i;return true}var u=false,c=Object.keys(s);for(var a=0,o=c.length;a<o;a++){r("test type %j %j %j",t,i,c[a]);var l=s[c[a]];if(l&&(n&&n.name&&l.type&&l.type.name?n.name===l.type.name:n===l.type)){var f={};u=false!==l.validate(f,t,i);i=f[t];if(u){e[t]=i;break}}}r("OK? %j (%j %j %j)",u,t,i,c[a]);if(!u)delete e[t];return u}function parse(e,t,i,n,s){r("parse",e,t,i);var a=null,u=o(Object.keys(n)),c=o(Object.keys(s));for(var l=0;l<e.length;l++){var f=e[l];r("arg",f);if(f.match(/^-{2,}$/)){i.push.apply(i,e.slice(l+1));e[l]="--";break}var h=false;if(f.charAt(0)==="-"&&f.length>1){var p=f.indexOf("=");if(p>-1){h=true;var d=f.substr(p+1);f=f.substr(0,p);e.splice(l,1,f,d)}var v=resolveShort(f,s,c,u);r("arg=%j shRes=%j",f,v);if(v){r(f,v);e.splice.apply(e,[l,1].concat(v));if(f!==v[0]){l--;continue}}f=f.replace(/^-+/,"");var y=null;while(f.toLowerCase().indexOf("no-")===0){y=!y;f=f.substr(3)}if(u[f])f=u[f];var g=n[f];var b=Array.isArray(g);if(b&&g.length===1){b=false;g=g[0]}var m=g===Array||b&&g.indexOf(Array)!==-1;if(!n.hasOwnProperty(f)&&t.hasOwnProperty(f)){if(!Array.isArray(t[f]))t[f]=[t[f]];m=true}var _,w=e[l+1];var E=typeof y==="boolean"||g===Boolean||b&&g.indexOf(Boolean)!==-1||typeof g==="undefined"&&!h||w==="false"&&(g===null||b&&~g.indexOf(null));if(E){_=!y;if(w==="true"||w==="false"){_=JSON.parse(w);w=null;if(y)_=!_;l++}if(b&&w){if(~g.indexOf(w)){_=w;l++}else if(w==="null"&&~g.indexOf(null)){_=null;l++}else if(!w.match(/^-{2,}[^-]/)&&!isNaN(w)&&~g.indexOf(Number)){_=+w;l++}else if(!w.match(/^-[^-]/)&&~g.indexOf(String)){_=w;l++}}if(m)(t[f]=t[f]||[]).push(_);else t[f]=_;continue}if(g===String){if(w===undefined){w=""}else if(w.match(/^-{1,2}[^-]+/)){w="";l--}}if(w&&w.match(/^-{2,}$/)){w=undefined;l--}_=w===undefined?true:w;if(m)(t[f]=t[f]||[]).push(_);else t[f]=_;l++;continue}i.push(f)}}function resolveShort(e,t,i,n){e=e.replace(/^-+/,"");if(n[e]===e)return null;if(t[e]){if(t[e]&&!Array.isArray(t[e]))t[e]=t[e].split(/\s+/);return t[e]}var s=t.___singles;if(!s){s=Object.keys(t).filter(function(e){return e.length===1}).reduce(function(e,t){e[t]=true;return e},{});t.___singles=s;r("shorthand singles",s)}var a=e.split("").filter(function(e){return s[e]});if(a.join("")===e)return a.map(function(e){return t[e]}).reduce(function(e,t){return e.concat(t)},[]);if(n[e]&&!t[e])return null;if(i[e])e=i[e];if(t[e]&&!Array.isArray(t[e]))t[e]=t[e].split(/\s+/);return t[e]}},6286:(e,t,i)=>{const r=i(2357);const n=i(5622);const s=i(5747);let a=undefined;try{a=i(3700)}catch(e){}const o={nosort:true,silent:true};let u=0;const c=process.platform==="win32";const l=e=>{const t=["unlink","chmod","stat","lstat","rmdir","readdir"];t.forEach(t=>{e[t]=e[t]||s[t];t=t+"Sync";e[t]=e[t]||s[t]});e.maxBusyTries=e.maxBusyTries||3;e.emfileWait=e.emfileWait||1e3;if(e.glob===false){e.disableGlob=true}if(e.disableGlob!==true&&a===undefined){throw Error("glob dependency not found, set `options.disableGlob = true` if intentional")}e.disableGlob=e.disableGlob||false;e.glob=e.glob||o};const f=(e,t,i)=>{if(typeof t==="function"){i=t;t={}}r(e,"rimraf: missing path");r.equal(typeof e,"string","rimraf: path should be a string");r.equal(typeof i,"function","rimraf: callback function required");r(t,"rimraf: invalid options argument provided");r.equal(typeof t,"object","rimraf: options should be object");l(t);let n=0;let s=null;let o=0;const c=e=>{s=s||e;if(--o===0)i(s)};const f=(e,r)=>{if(e)return i(e);o=r.length;if(o===0)return i();r.forEach(e=>{const i=r=>{if(r){if((r.code==="EBUSY"||r.code==="ENOTEMPTY"||r.code==="EPERM")&&n<t.maxBusyTries){n++;return setTimeout(()=>h(e,t,i),n*100)}if(r.code==="EMFILE"&&u<t.emfileWait){return setTimeout(()=>h(e,t,i),u++)}if(r.code==="ENOENT")r=null}u=0;c(r)};h(e,t,i)})};if(t.disableGlob||!a.hasMagic(e))return f(null,[e]);t.lstat(e,(i,r)=>{if(!i)return f(null,[e]);a(e,t.glob,f)})};const h=(e,t,i)=>{r(e);r(t);r(typeof i==="function");t.lstat(e,(r,n)=>{if(r&&r.code==="ENOENT")return i(null);if(r&&r.code==="EPERM"&&c)p(e,t,r,i);if(n&&n.isDirectory())return v(e,t,r,i);t.unlink(e,r=>{if(r){if(r.code==="ENOENT")return i(null);if(r.code==="EPERM")return c?p(e,t,r,i):v(e,t,r,i);if(r.code==="EISDIR")return v(e,t,r,i)}return i(r)})})};const p=(e,t,i,n)=>{r(e);r(t);r(typeof n==="function");t.chmod(e,438,r=>{if(r)n(r.code==="ENOENT"?null:i);else t.stat(e,(r,s)=>{if(r)n(r.code==="ENOENT"?null:i);else if(s.isDirectory())v(e,t,i,n);else t.unlink(e,n)})})};const d=(e,t,i)=>{r(e);r(t);try{t.chmodSync(e,438)}catch(e){if(e.code==="ENOENT")return;else throw i}let n;try{n=t.statSync(e)}catch(e){if(e.code==="ENOENT")return;else throw i}if(n.isDirectory())b(e,t,i);else t.unlinkSync(e)};const v=(e,t,i,n)=>{r(e);r(t);r(typeof n==="function");t.rmdir(e,r=>{if(r&&(r.code==="ENOTEMPTY"||r.code==="EEXIST"||r.code==="EPERM"))y(e,t,n);else if(r&&r.code==="ENOTDIR")n(i);else n(r)})};const y=(e,t,i)=>{r(e);r(t);r(typeof i==="function");t.readdir(e,(r,s)=>{if(r)return i(r);let a=s.length;if(a===0)return t.rmdir(e,i);let o;s.forEach(r=>{f(n.join(e,r),t,r=>{if(o)return;if(r)return i(o=r);if(--a===0)t.rmdir(e,i)})})})};const g=(e,t)=>{t=t||{};l(t);r(e,"rimraf: missing path");r.equal(typeof e,"string","rimraf: path should be a string");r(t,"rimraf: missing options");r.equal(typeof t,"object","rimraf: options should be object");let i;if(t.disableGlob||!a.hasMagic(e)){i=[e]}else{try{t.lstatSync(e);i=[e]}catch(r){i=a.sync(e,t.glob)}}if(!i.length)return;for(let e=0;e<i.length;e++){const r=i[e];let n;try{n=t.lstatSync(r)}catch(e){if(e.code==="ENOENT")return;if(e.code==="EPERM"&&c)d(r,t,e)}try{if(n&&n.isDirectory())b(r,t,null);else t.unlinkSync(r)}catch(e){if(e.code==="ENOENT")return;if(e.code==="EPERM")return c?d(r,t,e):b(r,t,e);if(e.code!=="EISDIR")throw e;b(r,t,e)}}};const b=(e,t,i)=>{r(e);r(t);try{t.rmdirSync(e)}catch(r){if(r.code==="ENOENT")return;if(r.code==="ENOTDIR")throw i;if(r.code==="ENOTEMPTY"||r.code==="EEXIST"||r.code==="EPERM")m(e,t)}};const m=(e,t)=>{r(e);r(t);t.readdirSync(e).forEach(i=>g(n.join(e,i),t));const i=c?100:1;let s=0;do{let r=true;try{const n=t.rmdirSync(e,t);r=false;return n}finally{if(++s<i&&r)continue}}while(true)};e.exports=f;f.sync=g},9402:(e,t,i)=>{const r=Symbol("SemVer ANY");class Comparator{static get ANY(){return r}constructor(e,t){t=n(t);if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}u("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===r){this.value=""}else{this.value=this.operator+this.semver.version}u("comp",this)}parse(e){const t=this.options.loose?s[a.COMPARATORLOOSE]:s[a.COMPARATOR];const i=e.match(t);if(!i){throw new TypeError(`Invalid comparator: ${e}`)}this.operator=i[1]!==undefined?i[1]:"";if(this.operator==="="){this.operator=""}if(!i[2]){this.semver=r}else{this.semver=new c(i[2],this.options.loose)}}toString(){return this.value}test(e){u("Comparator.test",e,this.options.loose);if(this.semver===r||e===r){return true}if(typeof e==="string"){try{e=new c(e,this.options)}catch(e){return false}}return o(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(this.operator===""){if(this.value===""){return true}return new l(e.value,t).test(this.value)}else if(e.operator===""){if(e.value===""){return true}return new l(this.value,t).test(e.semver)}const i=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");const r=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");const n=this.semver.version===e.semver.version;const s=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");const a=o(this.semver,"<",e.semver,t)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<");const u=o(this.semver,">",e.semver,t)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return i||r||n&&s||a||u}}e.exports=Comparator;const n=i(9739);const{re:s,t:a}=i(6294);const o=i(9413);const u=i(5503);const c=i(8906);const l=i(6269)},6269:(e,t,i)=>{class Range{constructor(e,t){t=s(t);if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof a){this.raw=e.value;this.set=[[e]];this.format();return this}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e;this.set=e.split(/\s*\|\|\s*/).map(e=>this.parseRange(e.trim())).filter(e=>e.length);if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${e}`)}if(this.set.length>1){const e=this.set[0];this.set=this.set.filter(e=>!d(e[0]));if(this.set.length===0)this.set=[e];else if(this.set.length>1){for(const e of this.set){if(e.length===1&&v(e[0])){this.set=[e];break}}}}this.format()}format(){this.range=this.set.map(e=>{return e.join(" ").trim()}).join("||").trim();return this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=Object.keys(this.options).join(",");const i=`parseRange:${t}:${e}`;const r=n.get(i);if(r)return r;const s=this.options.loose;const u=s?c[l.HYPHENRANGELOOSE]:c[l.HYPHENRANGE];e=e.replace(u,k(this.options.includePrerelease));o("hyphen replace",e);e=e.replace(c[l.COMPARATORTRIM],f);o("comparator trim",e,c[l.COMPARATORTRIM]);e=e.replace(c[l.TILDETRIM],h);e=e.replace(c[l.CARETTRIM],p);e=e.split(/\s+/).join(" ");const v=s?c[l.COMPARATORLOOSE]:c[l.COMPARATOR];const y=e.split(" ").map(e=>g(e,this.options)).join(" ").split(/\s+/).map(e=>A(e,this.options)).filter(this.options.loose?e=>!!e.match(v):()=>true).map(e=>new a(e,this.options));const b=y.length;const m=new Map;for(const e of y){if(d(e))return[e];m.set(e.value,e)}if(m.size>1&&m.has(""))m.delete("");const _=[...m.values()];n.set(i,_);return _}intersects(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some(i=>{return y(i,t)&&e.set.some(e=>{return y(e,t)&&i.every(i=>{return e.every(e=>{return i.intersects(e,t)})})})})}test(e){if(!e){return false}if(typeof e==="string"){try{e=new u(e,this.options)}catch(e){return false}}for(let t=0;t<this.set.length;t++){if(T(this.set[t],e,this.options)){return true}}return false}}e.exports=Range;const r=i(3448);const n=new r({max:1e3});const s=i(9739);const a=i(9402);const o=i(5503);const u=i(8906);const{re:c,t:l,comparatorTrimReplace:f,tildeTrimReplace:h,caretTrimReplace:p}=i(6294);const d=e=>e.value==="<0.0.0-0";const v=e=>e.value==="";const y=(e,t)=>{let i=true;const r=e.slice();let n=r.pop();while(i&&r.length){i=r.every(e=>{return n.intersects(e,t)});n=r.pop()}return i};const g=(e,t)=>{o("comp",e,t);e=w(e,t);o("caret",e);e=m(e,t);o("tildes",e);e=S(e,t);o("xrange",e);e=R(e,t);o("stars",e);return e};const b=e=>!e||e.toLowerCase()==="x"||e==="*";const m=(e,t)=>e.trim().split(/\s+/).map(e=>{return _(e,t)}).join(" ");const _=(e,t)=>{const i=t.loose?c[l.TILDELOOSE]:c[l.TILDE];return e.replace(i,(t,i,r,n,s)=>{o("tilde",e,t,i,r,n,s);let a;if(b(i)){a=""}else if(b(r)){a=`>=${i}.0.0 <${+i+1}.0.0-0`}else if(b(n)){a=`>=${i}.${r}.0 <${i}.${+r+1}.0-0`}else if(s){o("replaceTilde pr",s);a=`>=${i}.${r}.${n}-${s} <${i}.${+r+1}.0-0`}else{a=`>=${i}.${r}.${n} <${i}.${+r+1}.0-0`}o("tilde return",a);return a})};const w=(e,t)=>e.trim().split(/\s+/).map(e=>{return E(e,t)}).join(" ");const E=(e,t)=>{o("caret",e,t);const i=t.loose?c[l.CARETLOOSE]:c[l.CARET];const r=t.includePrerelease?"-0":"";return e.replace(i,(t,i,n,s,a)=>{o("caret",e,t,i,n,s,a);let u;if(b(i)){u=""}else if(b(n)){u=`>=${i}.0.0${r} <${+i+1}.0.0-0`}else if(b(s)){if(i==="0"){u=`>=${i}.${n}.0${r} <${i}.${+n+1}.0-0`}else{u=`>=${i}.${n}.0${r} <${+i+1}.0.0-0`}}else if(a){o("replaceCaret pr",a);if(i==="0"){if(n==="0"){u=`>=${i}.${n}.${s}-${a} <${i}.${n}.${+s+1}-0`}else{u=`>=${i}.${n}.${s}-${a} <${i}.${+n+1}.0-0`}}else{u=`>=${i}.${n}.${s}-${a} <${+i+1}.0.0-0`}}else{o("no pr");if(i==="0"){if(n==="0"){u=`>=${i}.${n}.${s}${r} <${i}.${n}.${+s+1}-0`}else{u=`>=${i}.${n}.${s}${r} <${i}.${+n+1}.0-0`}}else{u=`>=${i}.${n}.${s} <${+i+1}.0.0-0`}}o("caret return",u);return u})};const S=(e,t)=>{o("replaceXRanges",e,t);return e.split(/\s+/).map(e=>{return x(e,t)}).join(" ")};const x=(e,t)=>{e=e.trim();const i=t.loose?c[l.XRANGELOOSE]:c[l.XRANGE];return e.replace(i,(i,r,n,s,a,u)=>{o("xRange",e,i,r,n,s,a,u);const c=b(n);const l=c||b(s);const f=l||b(a);const h=f;if(r==="="&&h){r=""}u=t.includePrerelease?"-0":"";if(c){if(r===">"||r==="<"){i="<0.0.0-0"}else{i="*"}}else if(r&&h){if(l){s=0}a=0;if(r===">"){r=">=";if(l){n=+n+1;s=0;a=0}else{s=+s+1;a=0}}else if(r==="<="){r="<";if(l){n=+n+1}else{s=+s+1}}if(r==="<")u="-0";i=`${r+n}.${s}.${a}${u}`}else if(l){i=`>=${n}.0.0${u} <${+n+1}.0.0-0`}else if(f){i=`>=${n}.${s}.0${u} <${n}.${+s+1}.0-0`}o("xRange return",i);return i})};const R=(e,t)=>{o("replaceStars",e,t);return e.trim().replace(c[l.STAR],"")};const A=(e,t)=>{o("replaceGTE0",e,t);return e.trim().replace(c[t.includePrerelease?l.GTE0PRE:l.GTE0],"")};const k=e=>(t,i,r,n,s,a,o,u,c,l,f,h,p)=>{if(b(r)){i=""}else if(b(n)){i=`>=${r}.0.0${e?"-0":""}`}else if(b(s)){i=`>=${r}.${n}.0${e?"-0":""}`}else if(a){i=`>=${i}`}else{i=`>=${i}${e?"-0":""}`}if(b(c)){u=""}else if(b(l)){u=`<${+c+1}.0.0-0`}else if(b(f)){u=`<${c}.${+l+1}.0-0`}else if(h){u=`<=${c}.${l}.${f}-${h}`}else if(e){u=`<${c}.${l}.${+f+1}-0`}else{u=`<=${u}`}return`${i} ${u}`.trim()};const T=(e,t,i)=>{for(let i=0;i<e.length;i++){if(!e[i].test(t)){return false}}if(t.prerelease.length&&!i.includePrerelease){for(let i=0;i<e.length;i++){o(e[i].semver);if(e[i].semver===a.ANY){continue}if(e[i].semver.prerelease.length>0){const r=e[i].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch){return true}}}return false}return true}},8906:(e,t,i)=>{const r=i(5503);const{MAX_LENGTH:n,MAX_SAFE_INTEGER:s}=i(7909);const{re:a,t:o}=i(6294);const u=i(9739);const{compareIdentifiers:c}=i(9953);class SemVer{constructor(e,t){t=u(t);if(e instanceof SemVer){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError(`Invalid Version: ${e}`)}if(e.length>n){throw new TypeError(`version is longer than ${n} characters`)}r("SemVer",e,t);this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;const i=e.trim().match(t.loose?a[o.LOOSE]:a[o.FULL]);if(!i){throw new TypeError(`Invalid Version: ${e}`)}this.raw=e;this.major=+i[1];this.minor=+i[2];this.patch=+i[3];if(this.major>s||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>s||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>s||this.patch<0){throw new TypeError("Invalid patch version")}if(!i[4]){this.prerelease=[]}else{this.prerelease=i[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<s){return t}}return e})}this.build=i[5]?i[5].split("."):[];this.format()}format(){this.version=`${this.major}.${this.minor}.${this.patch}`;if(this.prerelease.length){this.version+=`-${this.prerelease.join(".")}`}return this.version}toString(){return this.version}compare(e){r("SemVer.compare",this.version,this.options,e);if(!(e instanceof SemVer)){if(typeof e==="string"&&e===this.version){return 0}e=new SemVer(e,this.options)}if(e.version===this.version){return 0}return this.compareMain(e)||this.comparePre(e)}compareMain(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}return c(this.major,e.major)||c(this.minor,e.minor)||c(this.patch,e.patch)}comparePre(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}if(this.prerelease.length&&!e.prerelease.length){return-1}else if(!this.prerelease.length&&e.prerelease.length){return 1}else if(!this.prerelease.length&&!e.prerelease.length){return 0}let t=0;do{const i=this.prerelease[t];const n=e.prerelease[t];r("prerelease compare",t,i,n);if(i===undefined&&n===undefined){return 0}else if(n===undefined){return 1}else if(i===undefined){return-1}else if(i===n){continue}else{return c(i,n)}}while(++t)}compareBuild(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}let t=0;do{const i=this.build[t];const n=e.build[t];r("prerelease compare",t,i,n);if(i===undefined&&n===undefined){return 0}else if(n===undefined){return 1}else if(i===undefined){return-1}else if(i===n){continue}else{return c(i,n)}}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0;this.patch=0;this.minor=0;this.major++;this.inc("pre",t);break;case"preminor":this.prerelease.length=0;this.patch=0;this.minor++;this.inc("pre",t);break;case"prepatch":this.prerelease.length=0;this.inc("patch",t);this.inc("pre",t);break;case"prerelease":if(this.prerelease.length===0){this.inc("patch",t)}this.inc("pre",t);break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0){this.major++}this.minor=0;this.patch=0;this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0){this.minor++}this.patch=0;this.prerelease=[];break;case"patch":if(this.prerelease.length===0){this.patch++}this.prerelease=[];break;case"pre":if(this.prerelease.length===0){this.prerelease=[0]}else{let e=this.prerelease.length;while(--e>=0){if(typeof this.prerelease[e]==="number"){this.prerelease[e]++;e=-2}}if(e===-1){this.prerelease.push(0)}}if(t){if(this.prerelease[0]===t){if(isNaN(this.prerelease[1])){this.prerelease=[t,0]}}else{this.prerelease=[t,0]}}break;default:throw new Error(`invalid increment argument: ${e}`)}this.format();this.raw=this.version;return this}}e.exports=SemVer},555:(e,t,i)=>{const r=i(2740);const n=(e,t)=>{const i=r(e.trim().replace(/^[=v]+/,""),t);return i?i.version:null};e.exports=n},9413:(e,t,i)=>{const r=i(9846);const n=i(417);const s=i(4645);const a=i(5255);const o=i(9206);const u=i(330);const c=(e,t,i,c)=>{switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof i==="object")i=i.version;return e===i;case"!==":if(typeof e==="object")e=e.version;if(typeof i==="object")i=i.version;return e!==i;case"":case"=":case"==":return r(e,i,c);case"!=":return n(e,i,c);case">":return s(e,i,c);case">=":return a(e,i,c);case"<":return o(e,i,c);case"<=":return u(e,i,c);default:throw new TypeError(`Invalid operator: ${t}`)}};e.exports=c},1009:(e,t,i)=>{const r=i(8906);const n=i(2740);const{re:s,t:a}=i(6294);const o=(e,t)=>{if(e instanceof r){return e}if(typeof e==="number"){e=String(e)}if(typeof e!=="string"){return null}t=t||{};let i=null;if(!t.rtl){i=e.match(s[a.COERCE])}else{let t;while((t=s[a.COERCERTL].exec(e))&&(!i||i.index+i[0].length!==e.length)){if(!i||t.index+t[0].length!==i.index+i[0].length){i=t}s[a.COERCERTL].lastIndex=t.index+t[1].length+t[2].length}s[a.COERCERTL].lastIndex=-1}if(i===null)return null;return n(`${i[2]}.${i[3]||"0"}.${i[4]||"0"}`,t)};e.exports=o},7780:(e,t,i)=>{const r=i(8906);const n=(e,t,i)=>{const n=new r(e,i);const s=new r(t,i);return n.compare(s)||n.compareBuild(s)};e.exports=n},683:(e,t,i)=>{const r=i(5499);const n=(e,t)=>r(e,t,true);e.exports=n},5499:(e,t,i)=>{const r=i(8906);const n=(e,t,i)=>new r(e,i).compare(new r(t,i));e.exports=n},5707:(e,t,i)=>{const r=i(2740);const n=i(9846);const s=(e,t)=>{if(n(e,t)){return null}else{const i=r(e);const n=r(t);const s=i.prerelease.length||n.prerelease.length;const a=s?"pre":"";const o=s?"prerelease":"";for(const e in i){if(e==="major"||e==="minor"||e==="patch"){if(i[e]!==n[e]){return a+e}}}return o}};e.exports=s},9846:(e,t,i)=>{const r=i(5499);const n=(e,t,i)=>r(e,t,i)===0;e.exports=n},4645:(e,t,i)=>{const r=i(5499);const n=(e,t,i)=>r(e,t,i)>0;e.exports=n},5255:(e,t,i)=>{const r=i(5499);const n=(e,t,i)=>r(e,t,i)>=0;e.exports=n},1280:(e,t,i)=>{const r=i(8906);const n=(e,t,i,n)=>{if(typeof i==="string"){n=i;i=undefined}try{return new r(e,i).inc(t,n).version}catch(e){return null}};e.exports=n},9206:(e,t,i)=>{const r=i(5499);const n=(e,t,i)=>r(e,t,i)<0;e.exports=n},330:(e,t,i)=>{const r=i(5499);const n=(e,t,i)=>r(e,t,i)<=0;e.exports=n},8702:(e,t,i)=>{const r=i(8906);const n=(e,t)=>new r(e,t).major;e.exports=n},5340:(e,t,i)=>{const r=i(8906);const n=(e,t)=>new r(e,t).minor;e.exports=n},417:(e,t,i)=>{const r=i(5499);const n=(e,t,i)=>r(e,t,i)!==0;e.exports=n},2740:(e,t,i)=>{const{MAX_LENGTH:r}=i(7909);const{re:n,t:s}=i(6294);const a=i(8906);const o=i(9739);const u=(e,t)=>{t=o(t);if(e instanceof a){return e}if(typeof e!=="string"){return null}if(e.length>r){return null}const i=t.loose?n[s.LOOSE]:n[s.FULL];if(!i.test(e)){return null}try{return new a(e,t)}catch(e){return null}};e.exports=u},2922:(e,t,i)=>{const r=i(8906);const n=(e,t)=>new r(e,t).patch;e.exports=n},7058:(e,t,i)=>{const r=i(2740);const n=(e,t)=>{const i=r(e,t);return i&&i.prerelease.length?i.prerelease:null};e.exports=n},6801:(e,t,i)=>{const r=i(5499);const n=(e,t,i)=>r(t,e,i);e.exports=n},5213:(e,t,i)=>{const r=i(7780);const n=(e,t)=>e.sort((e,i)=>r(i,e,t));e.exports=n},8667:(e,t,i)=>{const r=i(6269);const n=(e,t,i)=>{try{t=new r(t,i)}catch(e){return false}return t.test(e)};e.exports=n},7311:(e,t,i)=>{const r=i(7780);const n=(e,t)=>e.sort((e,i)=>r(e,i,t));e.exports=n},9441:(e,t,i)=>{const r=i(2740);const n=(e,t)=>{const i=r(e,t);return i?i.version:null};e.exports=n},6698:(e,t,i)=>{const r=i(6294);e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:i(7909).SEMVER_SPEC_VERSION,SemVer:i(8906),compareIdentifiers:i(9953).compareIdentifiers,rcompareIdentifiers:i(9953).rcompareIdentifiers,parse:i(2740),valid:i(9441),clean:i(555),inc:i(1280),diff:i(5707),major:i(8702),minor:i(5340),patch:i(2922),prerelease:i(7058),compare:i(5499),rcompare:i(6801),compareLoose:i(683),compareBuild:i(7780),sort:i(7311),rsort:i(5213),gt:i(4645),lt:i(9206),eq:i(9846),neq:i(417),gte:i(5255),lte:i(330),cmp:i(9413),coerce:i(1009),Comparator:i(9402),Range:i(6269),satisfies:i(8667),toComparators:i(9672),maxSatisfying:i(6596),minSatisfying:i(3673),minVersion:i(6827),validRange:i(9689),outside:i(7925),gtr:i(6222),ltr:i(3903),intersects:i(2907),simplifyRange:i(2356),subset:i(1138)}},7909:e=>{const t="2.0.0";const i=256;const r=Number.MAX_SAFE_INTEGER||9007199254740991;const n=16;e.exports={SEMVER_SPEC_VERSION:t,MAX_LENGTH:i,MAX_SAFE_INTEGER:r,MAX_SAFE_COMPONENT_LENGTH:n}},5503:e=>{const t=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},9953:e=>{const t=/^[0-9]+$/;const i=(e,i)=>{const r=t.test(e);const n=t.test(i);if(r&&n){e=+e;i=+i}return e===i?0:r&&!n?-1:n&&!r?1:e<i?-1:1};const r=(e,t)=>i(t,e);e.exports={compareIdentifiers:i,rcompareIdentifiers:r}},9739:e=>{const t=["includePrerelease","loose","rtl"];const i=e=>!e?{}:typeof e!=="object"?{loose:true}:t.filter(t=>e[t]).reduce((e,t)=>{e[t]=true;return e},{});e.exports=i},6294:(e,t,i)=>{const{MAX_SAFE_COMPONENT_LENGTH:r}=i(7909);const n=i(5503);t=e.exports={};const s=t.re=[];const a=t.src=[];const o=t.t={};let u=0;const c=(e,t,i)=>{const r=u++;n(r,t);o[e]=r;a[r]=t;s[r]=new RegExp(t,i?"g":undefined)};c("NUMERICIDENTIFIER","0|[1-9]\\d*");c("NUMERICIDENTIFIERLOOSE","[0-9]+");c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*");c("MAINVERSION",`(${a[o.NUMERICIDENTIFIER]})\\.`+`(${a[o.NUMERICIDENTIFIER]})\\.`+`(${a[o.NUMERICIDENTIFIER]})`);c("MAINVERSIONLOOSE",`(${a[o.NUMERICIDENTIFIERLOOSE]})\\.`+`(${a[o.NUMERICIDENTIFIERLOOSE]})\\.`+`(${a[o.NUMERICIDENTIFIERLOOSE]})`);c("PRERELEASEIDENTIFIER",`(?:${a[o.NUMERICIDENTIFIER]}|${a[o.NONNUMERICIDENTIFIER]})`);c("PRERELEASEIDENTIFIERLOOSE",`(?:${a[o.NUMERICIDENTIFIERLOOSE]}|${a[o.NONNUMERICIDENTIFIER]})`);c("PRERELEASE",`(?:-(${a[o.PRERELEASEIDENTIFIER]}(?:\\.${a[o.PRERELEASEIDENTIFIER]})*))`);c("PRERELEASELOOSE",`(?:-?(${a[o.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${a[o.PRERELEASEIDENTIFIERLOOSE]})*))`);c("BUILDIDENTIFIER","[0-9A-Za-z-]+");c("BUILD",`(?:\\+(${a[o.BUILDIDENTIFIER]}(?:\\.${a[o.BUILDIDENTIFIER]})*))`);c("FULLPLAIN",`v?${a[o.MAINVERSION]}${a[o.PRERELEASE]}?${a[o.BUILD]}?`);c("FULL",`^${a[o.FULLPLAIN]}$`);c("LOOSEPLAIN",`[v=\\s]*${a[o.MAINVERSIONLOOSE]}${a[o.PRERELEASELOOSE]}?${a[o.BUILD]}?`);c("LOOSE",`^${a[o.LOOSEPLAIN]}$`);c("GTLT","((?:<|>)?=?)");c("XRANGEIDENTIFIERLOOSE",`${a[o.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);c("XRANGEIDENTIFIER",`${a[o.NUMERICIDENTIFIER]}|x|X|\\*`);c("XRANGEPLAIN",`[v=\\s]*(${a[o.XRANGEIDENTIFIER]})`+`(?:\\.(${a[o.XRANGEIDENTIFIER]})`+`(?:\\.(${a[o.XRANGEIDENTIFIER]})`+`(?:${a[o.PRERELEASE]})?${a[o.BUILD]}?`+`)?)?`);c("XRANGEPLAINLOOSE",`[v=\\s]*(${a[o.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${a[o.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${a[o.XRANGEIDENTIFIERLOOSE]})`+`(?:${a[o.PRERELEASELOOSE]})?${a[o.BUILD]}?`+`)?)?`);c("XRANGE",`^${a[o.GTLT]}\\s*${a[o.XRANGEPLAIN]}$`);c("XRANGELOOSE",`^${a[o.GTLT]}\\s*${a[o.XRANGEPLAINLOOSE]}$`);c("COERCE",`${"(^|[^\\d])"+"(\\d{1,"}${r}})`+`(?:\\.(\\d{1,${r}}))?`+`(?:\\.(\\d{1,${r}}))?`+`(?:$|[^\\d])`);c("COERCERTL",a[o.COERCE],true);c("LONETILDE","(?:~>?)");c("TILDETRIM",`(\\s*)${a[o.LONETILDE]}\\s+`,true);t.tildeTrimReplace="$1~";c("TILDE",`^${a[o.LONETILDE]}${a[o.XRANGEPLAIN]}$`);c("TILDELOOSE",`^${a[o.LONETILDE]}${a[o.XRANGEPLAINLOOSE]}$`);c("LONECARET","(?:\\^)");c("CARETTRIM",`(\\s*)${a[o.LONECARET]}\\s+`,true);t.caretTrimReplace="$1^";c("CARET",`^${a[o.LONECARET]}${a[o.XRANGEPLAIN]}$`);c("CARETLOOSE",`^${a[o.LONECARET]}${a[o.XRANGEPLAINLOOSE]}$`);c("COMPARATORLOOSE",`^${a[o.GTLT]}\\s*(${a[o.LOOSEPLAIN]})$|^$`);c("COMPARATOR",`^${a[o.GTLT]}\\s*(${a[o.FULLPLAIN]})$|^$`);c("COMPARATORTRIM",`(\\s*)${a[o.GTLT]}\\s*(${a[o.LOOSEPLAIN]}|${a[o.XRANGEPLAIN]})`,true);t.comparatorTrimReplace="$1$2$3";c("HYPHENRANGE",`^\\s*(${a[o.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${a[o.XRANGEPLAIN]})`+`\\s*$`);c("HYPHENRANGELOOSE",`^\\s*(${a[o.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${a[o.XRANGEPLAINLOOSE]})`+`\\s*$`);c("STAR","(<|>)?=?\\s*\\*");c("GTE0","^\\s*>=\\s*0.0.0\\s*$");c("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},6222:(e,t,i)=>{const r=i(7925);const n=(e,t,i)=>r(e,t,">",i);e.exports=n},2907:(e,t,i)=>{const r=i(6269);const n=(e,t,i)=>{e=new r(e,i);t=new r(t,i);return e.intersects(t)};e.exports=n},3903:(e,t,i)=>{const r=i(7925);const n=(e,t,i)=>r(e,t,"<",i);e.exports=n},6596:(e,t,i)=>{const r=i(8906);const n=i(6269);const s=(e,t,i)=>{let s=null;let a=null;let o=null;try{o=new n(t,i)}catch(e){return null}e.forEach(e=>{if(o.test(e)){if(!s||a.compare(e)===-1){s=e;a=new r(s,i)}}});return s};e.exports=s},3673:(e,t,i)=>{const r=i(8906);const n=i(6269);const s=(e,t,i)=>{let s=null;let a=null;let o=null;try{o=new n(t,i)}catch(e){return null}e.forEach(e=>{if(o.test(e)){if(!s||a.compare(e)===1){s=e;a=new r(s,i)}}});return s};e.exports=s},6827:(e,t,i)=>{const r=i(8906);const n=i(6269);const s=i(4645);const a=(e,t)=>{e=new n(e,t);let i=new r("0.0.0");if(e.test(i)){return i}i=new r("0.0.0-0");if(e.test(i)){return i}i=null;for(let t=0;t<e.set.length;++t){const n=e.set[t];let a=null;n.forEach(e=>{const t=new r(e.semver.version);switch(e.operator){case">":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!a||s(t,a)){a=t}break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}});if(a&&(!i||s(i,a)))i=a}if(i&&e.test(i)){return i}return null};e.exports=a},7925:(e,t,i)=>{const r=i(8906);const n=i(9402);const{ANY:s}=n;const a=i(6269);const o=i(8667);const u=i(4645);const c=i(9206);const l=i(330);const f=i(5255);const h=(e,t,i,h)=>{e=new r(e,h);t=new a(t,h);let p,d,v,y,g;switch(i){case">":p=u;d=l;v=c;y=">";g=">=";break;case"<":p=c;d=f;v=u;y="<";g="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(o(e,t,h)){return false}for(let i=0;i<t.set.length;++i){const r=t.set[i];let a=null;let o=null;r.forEach(e=>{if(e.semver===s){e=new n(">=0.0.0")}a=a||e;o=o||e;if(p(e.semver,a.semver,h)){a=e}else if(v(e.semver,o.semver,h)){o=e}});if(a.operator===y||a.operator===g){return false}if((!o.operator||o.operator===y)&&d(e,o.semver)){return false}else if(o.operator===g&&v(e,o.semver)){return false}}return true};e.exports=h},2356:(e,t,i)=>{const r=i(8667);const n=i(5499);e.exports=((e,t,i)=>{const s=[];let a=null;let o=null;const u=e.sort((e,t)=>n(e,t,i));for(const e of u){const n=r(e,t,i);if(n){o=e;if(!a)a=e}else{if(o){s.push([a,o])}o=null;a=null}}if(a)s.push([a,null]);const c=[];for(const[e,t]of s){if(e===t)c.push(e);else if(!t&&e===u[0])c.push("*");else if(!t)c.push(`>=${e}`);else if(e===u[0])c.push(`<=${t}`);else c.push(`${e} - ${t}`)}const l=c.join(" || ");const f=typeof t.raw==="string"?t.raw:String(t);return l.length<f.length?l:t})},1138:(e,t,i)=>{const r=i(6269);const n=i(9402);const{ANY:s}=n;const a=i(8667);const o=i(5499);const u=(e,t,i={})=>{if(e===t)return true;e=new r(e,i);t=new r(t,i);let n=false;e:for(const r of e.set){for(const e of t.set){const t=c(r,e,i);n=n||t!==null;if(t)continue e}if(n)return false}return true};const c=(e,t,i)=>{if(e===t)return true;if(e.length===1&&e[0].semver===s){if(t.length===1&&t[0].semver===s)return true;else if(i.includePrerelease)e=[new n(">=0.0.0-0")];else e=[new n(">=0.0.0")]}if(t.length===1&&t[0].semver===s){if(i.includePrerelease)return true;else t=[new n(">=0.0.0")]}const r=new Set;let u,c;for(const t of e){if(t.operator===">"||t.operator===">=")u=l(u,t,i);else if(t.operator==="<"||t.operator==="<=")c=f(c,t,i);else r.add(t.semver)}if(r.size>1)return null;let h;if(u&&c){h=o(u.semver,c.semver,i);if(h>0)return null;else if(h===0&&(u.operator!==">="||c.operator!=="<="))return null}for(const e of r){if(u&&!a(e,String(u),i))return null;if(c&&!a(e,String(c),i))return null;for(const r of t){if(!a(e,String(r),i))return false}return true}let p,d;let v,y;let g=c&&!i.includePrerelease&&c.semver.prerelease.length?c.semver:false;let b=u&&!i.includePrerelease&&u.semver.prerelease.length?u.semver:false;if(g&&g.prerelease.length===1&&c.operator==="<"&&g.prerelease[0]===0){g=false}for(const e of t){y=y||e.operator===">"||e.operator===">=";v=v||e.operator==="<"||e.operator==="<=";if(u){if(b){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch){b=false}}if(e.operator===">"||e.operator===">="){p=l(u,e,i);if(p===e&&p!==u)return false}else if(u.operator===">="&&!a(u.semver,String(e),i))return false}if(c){if(g){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===g.major&&e.semver.minor===g.minor&&e.semver.patch===g.patch){g=false}}if(e.operator==="<"||e.operator==="<="){d=f(c,e,i);if(d===e&&d!==c)return false}else if(c.operator==="<="&&!a(c.semver,String(e),i))return false}if(!e.operator&&(c||u)&&h!==0)return false}if(u&&v&&!c&&h!==0)return false;if(c&&y&&!u&&h!==0)return false;if(b||g)return false;return true};const l=(e,t,i)=>{if(!e)return t;const r=o(e.semver,t.semver,i);return r>0?e:r<0?t:t.operator===">"&&e.operator===">="?t:e};const f=(e,t,i)=>{if(!e)return t;const r=o(e.semver,t.semver,i);return r<0?e:r>0?t:t.operator==="<"&&e.operator==="<="?t:e};e.exports=u},9672:(e,t,i)=>{const r=i(6269);const n=(e,t)=>new r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "));e.exports=n},9689:(e,t,i)=>{const r=i(6269);const n=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}};e.exports=n},401:e=>{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next){yield e.value}}}},5864:(e,t,i)=>{"use strict";e.exports=Yallist;Yallist.Node=Node;Yallist.create=Yallist;function Yallist(e){var t=this;if(!(t instanceof Yallist)){t=new Yallist}t.tail=null;t.head=null;t.length=0;if(e&&typeof e.forEach==="function"){e.forEach(function(e){t.push(e)})}else if(arguments.length>0){for(var i=0,r=arguments.length;i<r;i++){t.push(arguments[i])}}return t}Yallist.prototype.removeNode=function(e){if(e.list!==this){throw new Error("removing node which does not belong to this list")}var t=e.next;var i=e.prev;if(t){t.prev=i}if(i){i.next=t}if(e===this.head){this.head=t}if(e===this.tail){this.tail=i}e.list.length--;e.next=null;e.prev=null;e.list=null;return t};Yallist.prototype.unshiftNode=function(e){if(e===this.head){return}if(e.list){e.list.removeNode(e)}var t=this.head;e.list=this;e.next=t;if(t){t.prev=e}this.head=e;if(!this.tail){this.tail=e}this.length++};Yallist.prototype.pushNode=function(e){if(e===this.tail){return}if(e.list){e.list.removeNode(e)}var t=this.tail;e.list=this;e.prev=t;if(t){t.next=e}this.tail=e;if(!this.head){this.head=e}this.length++};Yallist.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++){push(this,arguments[e])}return this.length};Yallist.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++){unshift(this,arguments[e])}return this.length};Yallist.prototype.pop=function(){if(!this.tail){return undefined}var e=this.tail.value;this.tail=this.tail.prev;if(this.tail){this.tail.next=null}else{this.head=null}this.length--;return e};Yallist.prototype.shift=function(){if(!this.head){return undefined}var e=this.head.value;this.head=this.head.next;if(this.head){this.head.prev=null}else{this.tail=null}this.length--;return e};Yallist.prototype.forEach=function(e,t){t=t||this;for(var i=this.head,r=0;i!==null;r++){e.call(t,i.value,r,this);i=i.next}};Yallist.prototype.forEachReverse=function(e,t){t=t||this;for(var i=this.tail,r=this.length-1;i!==null;r--){e.call(t,i.value,r,this);i=i.prev}};Yallist.prototype.get=function(e){for(var t=0,i=this.head;i!==null&&t<e;t++){i=i.next}if(t===e&&i!==null){return i.value}};Yallist.prototype.getReverse=function(e){for(var t=0,i=this.tail;i!==null&&t<e;t++){i=i.prev}if(t===e&&i!==null){return i.value}};Yallist.prototype.map=function(e,t){t=t||this;var i=new Yallist;for(var r=this.head;r!==null;){i.push(e.call(t,r.value,this));r=r.next}return i};Yallist.prototype.mapReverse=function(e,t){t=t||this;var i=new Yallist;for(var r=this.tail;r!==null;){i.push(e.call(t,r.value,this));r=r.prev}return i};Yallist.prototype.reduce=function(e,t){var i;var r=this.head;if(arguments.length>1){i=t}else if(this.head){r=this.head.next;i=this.head.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var n=0;r!==null;n++){i=e(i,r.value,n);r=r.next}return i};Yallist.prototype.reduceReverse=function(e,t){var i;var r=this.tail;if(arguments.length>1){i=t}else if(this.tail){r=this.tail.prev;i=this.tail.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var n=this.length-1;r!==null;n--){i=e(i,r.value,n);r=r.prev}return i};Yallist.prototype.toArray=function(){var e=new Array(this.length);for(var t=0,i=this.head;i!==null;t++){e[t]=i.value;i=i.next}return e};Yallist.prototype.toArrayReverse=function(){var e=new Array(this.length);for(var t=0,i=this.tail;i!==null;t++){e[t]=i.value;i=i.prev}return e};Yallist.prototype.slice=function(e,t){t=t||this.length;if(t<0){t+=this.length}e=e||0;if(e<0){e+=this.length}var i=new Yallist;if(t<e||t<0){return i}if(e<0){e=0}if(t>this.length){t=this.length}for(var r=0,n=this.head;n!==null&&r<e;r++){n=n.next}for(;n!==null&&r<t;r++,n=n.next){i.push(n.value)}return i};Yallist.prototype.sliceReverse=function(e,t){t=t||this.length;if(t<0){t+=this.length}e=e||0;if(e<0){e+=this.length}var i=new Yallist;if(t<e||t<0){return i}if(e<0){e=0}if(t>this.length){t=this.length}for(var r=this.length,n=this.tail;n!==null&&r>t;r--){n=n.prev}for(;n!==null&&r>e;r--,n=n.prev){i.push(n.value)}return i};Yallist.prototype.splice=function(e,t,...i){if(e>this.length){e=this.length-1}if(e<0){e=this.length+e}for(var r=0,n=this.head;n!==null&&r<e;r++){n=n.next}var s=[];for(var r=0;n&&r<t;r++){s.push(n.value);n=this.removeNode(n)}if(n===null){n=this.tail}if(n!==this.head&&n!==this.tail){n=n.prev}for(var r=0;r<i.length;r++){n=insert(this,n,i[r])}return s};Yallist.prototype.reverse=function(){var e=this.head;var t=this.tail;for(var i=e;i!==null;i=i.prev){var r=i.prev;i.prev=i.next;i.next=r}this.head=t;this.tail=e;return this};function insert(e,t,i){var r=t===e.head?new Node(i,null,t,e):new Node(i,t,t.next,e);if(r.next===null){e.tail=r}if(r.prev===null){e.head=r}e.length++;return r}function push(e,t){e.tail=new Node(t,e.tail,null,e);if(!e.head){e.head=e.tail}e.length++}function unshift(e,t){e.head=new Node(t,null,e.head,e);if(!e.tail){e.tail=e.head}e.length++}function Node(e,t,i,r){if(!(this instanceof Node)){return new Node(e,t,i,r)}this.list=r;this.value=e;if(t){t.next=this;this.prev=t}else{this.prev=null}if(i){i.prev=this;this.next=i}else{this.next=null}}try{i(401)(Yallist)}catch(e){}},875:function(e,t){(function(e,i){true?i(t):0})(this,function(e){"use strict";var t={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"};var i="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this";var r={5:i,"5module":i+" export import",6:i+" const class extends export import super"};var n=/^in(stanceof)?$/;var s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var a="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";var o=new RegExp("["+s+"]");var u=new RegExp("["+s+a+"]");s=a=null;var c=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938];var l=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){var i=65536;for(var r=0;r<t.length;r+=2){i+=t[r];if(i>e){return false}i+=t[r+1];if(i>=e){return true}}}function isIdentifierStart(e,t){if(e<65){return e===36}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&o.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,c)}function isIdentifierChar(e,t){if(e<48){return e===36}if(e<58){return true}if(e<65){return false}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&u.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,c)||isInAstralSet(e,l)}var f=function TokenType(e,t){if(t===void 0)t={};this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop||null;this.updateContext=null};function binop(e,t){return new f(e,{beforeExpr:true,binop:t})}var h={beforeExpr:true},p={startsExpr:true};var d={};function kw(e,t){if(t===void 0)t={};t.keyword=e;return d[e]=new f(e,t)}var v={num:new f("num",p),regexp:new f("regexp",p),string:new f("string",p),name:new f("name",p),privateId:new f("privateId",p),eof:new f("eof"),bracketL:new f("[",{beforeExpr:true,startsExpr:true}),bracketR:new f("]"),braceL:new f("{",{beforeExpr:true,startsExpr:true}),braceR:new f("}"),parenL:new f("(",{beforeExpr:true,startsExpr:true}),parenR:new f(")"),comma:new f(",",h),semi:new f(";",h),colon:new f(":",h),dot:new f("."),question:new f("?",h),questionDot:new f("?."),arrow:new f("=>",h),template:new f("template"),invalidTemplate:new f("invalidTemplate"),ellipsis:new f("...",h),backQuote:new f("`",p),dollarBraceL:new f("${",{beforeExpr:true,startsExpr:true}),eq:new f("=",{beforeExpr:true,isAssign:true}),assign:new f("_=",{beforeExpr:true,isAssign:true}),incDec:new f("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new f("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("</>/<=/>=",7),bitShift:binop("<</>>/>>>",8),plusMin:new f("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new f("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",h),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",h),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",h),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",p),_if:kw("if"),_return:kw("return",h),_switch:kw("switch"),_throw:kw("throw",h),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",p),_super:kw("super",p),_class:kw("class",p),_extends:kw("extends",h),_export:kw("export"),_import:kw("import",p),_null:kw("null",p),_true:kw("true",p),_false:kw("false",p),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var y=/\r\n?|\n|\u2028|\u2029/;var g=new RegExp(y.source,"g");function isNewLine(e){return e===10||e===13||e===8232||e===8233}function nextLineBreak(e,t,i){if(i===void 0)i=e.length;for(var r=t;r<i;r++){var n=e.charCodeAt(r);if(isNewLine(n)){return r<i-1&&n===13&&e.charCodeAt(r+1)===10?r+2:r+1}}return-1}var b=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var m=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var _=Object.prototype;var w=_.hasOwnProperty;var E=_.toString;var S=Object.hasOwn||function(e,t){return w.call(e,t)};var x=Array.isArray||function(e){return E.call(e)==="[object Array]"};function wordsRegexp(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var R=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/;var A=function Position(e,t){this.line=e;this.column=t};A.prototype.offset=function offset(e){return new A(this.line,this.column+e)};var k=function SourceLocation(e,t,i){this.start=t;this.end=i;if(e.sourceFile!==null){this.source=e.sourceFile}};function getLineInfo(e,t){for(var i=1,r=0;;){var n=nextLineBreak(e,r,t);if(n<0){return new A(i,t-r)}++i;r=n}}var T={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:false,locations:false,onToken:null,onComment:null,ranges:false,program:null,sourceFile:null,directSourceFile:null,preserveParens:false};var C=false;function getOptions(e){var t={};for(var i in T){t[i]=e&&S(e,i)?e[i]:T[i]}if(t.ecmaVersion==="latest"){t.ecmaVersion=1e8}else if(t.ecmaVersion==null){if(!C&&typeof console==="object"&&console.warn){C=true;console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")}t.ecmaVersion=11}else if(t.ecmaVersion>=2015){t.ecmaVersion-=2009}if(t.allowReserved==null){t.allowReserved=t.ecmaVersion<5}if(x(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}if(x(t.onComment)){t.onComment=pushComment(t,t.onComment)}return t}function pushComment(e,t){return function(i,r,n,s,a,o){var u={type:i?"Block":"Line",value:r,start:n,end:s};if(e.locations){u.loc=new k(this,a,o)}if(e.ranges){u.range=[n,s]}t.push(u)}}var O=1,N=2,j=4,I=8,$=16,P=32,F=64,L=128,B=256,D=O|N|B;function functionFlags(e,t){return N|(e?j:0)|(t?I:0)}var H=0,U=1,W=2,q=3,G=4,V=5;var z=function Parser(e,i,n){this.options=e=getOptions(e);this.sourceFile=e.sourceFile;this.keywords=wordsRegexp(r[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var s="";if(e.allowReserved!==true){s=t[e.ecmaVersion>=6?6:e.ecmaVersion===5?5:3];if(e.sourceType==="module"){s+=" await"}}this.reservedWords=wordsRegexp(s);var a=(s?s+" ":"")+t.strict;this.reservedWordsStrict=wordsRegexp(a);this.reservedWordsStrictBind=wordsRegexp(a+" "+t.strictBind);this.input=String(i);this.containsEsc=false;if(n){this.pos=n;this.lineStart=this.input.lastIndexOf("\n",n-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(y).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=v.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=e.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.potentialArrowInForAwait=false;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports=Object.create(null);if(this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(O);this.regexpState=null;this.privateNameStack=[]};var M={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},canAwait:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true},allowNewDotTarget:{configurable:true},inClassStaticBlock:{configurable:true}};z.prototype.parse=function parse(){var e=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(e)};M.inFunction.get=function(){return(this.currentVarScope().flags&N)>0};M.inGenerator.get=function(){return(this.currentVarScope().flags&I)>0&&!this.currentVarScope().inClassFieldInit};M.inAsync.get=function(){return(this.currentVarScope().flags&j)>0&&!this.currentVarScope().inClassFieldInit};M.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&B){return false}if(t.flags&N){return(t.flags&j)>0}}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};M.allowSuper.get=function(){var e=this.currentThisScope();var t=e.flags;var i=e.inClassFieldInit;return(t&F)>0||i||this.options.allowSuperOutsideMethod};M.allowDirectSuper.get=function(){return(this.currentThisScope().flags&L)>0};M.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};M.allowNewDotTarget.get=function(){var e=this.currentThisScope();var t=e.flags;var i=e.inClassFieldInit;return(t&(N|B))>0||i};M.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&B)>0};z.extend=function extend(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var i=this;for(var r=0;r<e.length;r++){i=e[r](i)}return i};z.parse=function parse(e,t){return new this(t,e).parse()};z.parseExpressionAt=function parseExpressionAt(e,t,i){var r=new this(i,e,t);r.nextToken();return r.parseExpression()};z.tokenizer=function tokenizer(e,t){return new this(t,e)};Object.defineProperties(z.prototype,M);var X=z.prototype;var K=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;X.strictDirective=function(e){for(;;){m.lastIndex=e;e+=m.exec(this.input)[0].length;var t=K.exec(this.input.slice(e));if(!t){return false}if((t[1]||t[2])==="use strict"){m.lastIndex=e+t[0].length;var i=m.exec(this.input),r=i.index+i[0].length;var n=this.input.charAt(r);return n===";"||n==="}"||y.test(i[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(n)||n==="!"&&this.input.charAt(r+1)==="=")}e+=t[0].length;m.lastIndex=e;e+=m.exec(this.input)[0].length;if(this.input[e]===";"){e++}}};X.eat=function(e){if(this.type===e){this.next();return true}else{return false}};X.isContextual=function(e){return this.type===v.name&&this.value===e&&!this.containsEsc};X.eatContextual=function(e){if(!this.isContextual(e)){return false}this.next();return true};X.expectContextual=function(e){if(!this.eatContextual(e)){this.unexpected()}};X.canInsertSemicolon=function(){return this.type===v.eof||this.type===v.braceR||y.test(this.input.slice(this.lastTokEnd,this.start))};X.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};X.semicolon=function(){if(!this.eat(v.semi)&&!this.insertSemicolon()){this.unexpected()}};X.afterTrailingComma=function(e,t){if(this.type===e){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!t){this.next()}return true}};X.expect=function(e){this.eat(e)||this.unexpected()};X.unexpected=function(e){this.raise(e!=null?e:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}X.checkPatternErrors=function(e,t){if(!e){return}if(e.trailingComma>-1){this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element")}var i=t?e.parenthesizedAssign:e.parenthesizedBind;if(i>-1){this.raiseRecoverable(i,"Parenthesized pattern")}};X.checkExpressionErrors=function(e,t){if(!e){return false}var i=e.shorthandAssign;var r=e.doubleProto;if(!t){return i>=0||r>=0}if(i>=0){this.raise(i,"Shorthand property assignments are valid only in destructuring patterns")}if(r>=0){this.raiseRecoverable(r,"Redefinition of __proto__ property")}};X.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)){this.raise(this.yieldPos,"Yield expression cannot be a default value")}if(this.awaitPos){this.raise(this.awaitPos,"Await expression cannot be a default value")}};X.isSimpleAssignTarget=function(e){if(e.type==="ParenthesizedExpression"){return this.isSimpleAssignTarget(e.expression)}return e.type==="Identifier"||e.type==="MemberExpression"};var Y=z.prototype;Y.parseTopLevel=function(e){var t=Object.create(null);if(!e.body){e.body=[]}while(this.type!==v.eof){var i=this.parseStatement(null,true,t);e.body.push(i)}if(this.inModule){for(var r=0,n=Object.keys(this.undefinedExports);r<n.length;r+=1){var s=n[r];this.raiseRecoverable(this.undefinedExports[s].start,"Export '"+s+"' is not defined")}}this.adaptDirectivePrologue(e.body);this.next();e.sourceType=this.options.sourceType;return this.finishNode(e,"Program")};var Q={kind:"loop"},J={kind:"switch"};Y.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let")){return false}m.lastIndex=this.pos;var t=m.exec(this.input);var i=this.pos+t[0].length,r=this.input.charCodeAt(i);if(r===91||r===92||r>55295&&r<56320){return true}if(e){return false}if(r===123){return true}if(isIdentifierStart(r,true)){var s=i+1;while(isIdentifierChar(r=this.input.charCodeAt(s),true)){++s}if(r===92||r>55295&&r<56320){return true}var a=this.input.slice(i,s);if(!n.test(a)){return true}}return false};Y.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async")){return false}m.lastIndex=this.pos;var e=m.exec(this.input);var t=this.pos+e[0].length,i;return!y.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(isIdentifierChar(i=this.input.charCodeAt(t+8))||i>55295&&i<56320))};Y.parseStatement=function(e,t,i){var r=this.type,n=this.startNode(),s;if(this.isLet(e)){r=v._var;s="let"}switch(r){case v._break:case v._continue:return this.parseBreakContinueStatement(n,r.keyword);case v._debugger:return this.parseDebuggerStatement(n);case v._do:return this.parseDoStatement(n);case v._for:return this.parseForStatement(n);case v._function:if(e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6){this.unexpected()}return this.parseFunctionStatement(n,false,!e);case v._class:if(e){this.unexpected()}return this.parseClass(n,true);case v._if:return this.parseIfStatement(n);case v._return:return this.parseReturnStatement(n);case v._switch:return this.parseSwitchStatement(n);case v._throw:return this.parseThrowStatement(n);case v._try:return this.parseTryStatement(n);case v._const:case v._var:s=s||this.value;if(e&&s!=="var"){this.unexpected()}return this.parseVarStatement(n,s);case v._while:return this.parseWhileStatement(n);case v._with:return this.parseWithStatement(n);case v.braceL:return this.parseBlock(true,n);case v.semi:return this.parseEmptyStatement(n);case v._export:case v._import:if(this.options.ecmaVersion>10&&r===v._import){m.lastIndex=this.pos;var a=m.exec(this.input);var o=this.pos+a[0].length,u=this.input.charCodeAt(o);if(u===40||u===46){return this.parseExpressionStatement(n,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!t){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return r===v._import?this.parseImport(n):this.parseExport(n,i);default:if(this.isAsyncFunction()){if(e){this.unexpected()}this.next();return this.parseFunctionStatement(n,true,!e)}var c=this.value,l=this.parseExpression();if(r===v.name&&l.type==="Identifier"&&this.eat(v.colon)){return this.parseLabeledStatement(n,c,l,e)}else{return this.parseExpressionStatement(n,l)}}};Y.parseBreakContinueStatement=function(e,t){var i=t==="break";this.next();if(this.eat(v.semi)||this.insertSemicolon()){e.label=null}else if(this.type!==v.name){this.unexpected()}else{e.label=this.parseIdent();this.semicolon()}var r=0;for(;r<this.labels.length;++r){var n=this.labels[r];if(e.label==null||n.name===e.label.name){if(n.kind!=null&&(i||n.kind==="loop")){break}if(e.label&&i){break}}}if(r===this.labels.length){this.raise(e.start,"Unsyntactic "+t)}return this.finishNode(e,i?"BreakStatement":"ContinueStatement")};Y.parseDebuggerStatement=function(e){this.next();this.semicolon();return this.finishNode(e,"DebuggerStatement")};Y.parseDoStatement=function(e){this.next();this.labels.push(Q);e.body=this.parseStatement("do");this.labels.pop();this.expect(v._while);e.test=this.parseParenExpression();if(this.options.ecmaVersion>=6){this.eat(v.semi)}else{this.semicolon()}return this.finishNode(e,"DoWhileStatement")};Y.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(Q);this.enterScope(0);this.expect(v.parenL);if(this.type===v.semi){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}var i=this.isLet();if(this.type===v._var||this.type===v._const||i){var r=this.startNode(),n=i?"let":this.value;this.next();this.parseVar(r,true,n);this.finishNode(r,"VariableDeclaration");if((this.type===v._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&r.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===v._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}return this.parseForIn(e,r)}if(t>-1){this.unexpected(t)}return this.parseFor(e,r)}var s=this.isContextual("let"),a=false;var o=new DestructuringErrors;var u=this.parseExpression(t>-1?"await":true,o);if(this.type===v._in||(a=this.options.ecmaVersion>=6&&this.isContextual("of"))){if(this.options.ecmaVersion>=9){if(this.type===v._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}if(s&&a){this.raise(u.start,"The left-hand side of a for-of loop may not start with 'let'.")}this.toAssignable(u,false,o);this.checkLValPattern(u);return this.parseForIn(e,u)}else{this.checkExpressionErrors(o,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,u)};Y.parseFunctionStatement=function(e,t,i){this.next();return this.parseFunction(e,ee|(i?0:te),false,t)};Y.parseIfStatement=function(e){this.next();e.test=this.parseParenExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(v._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")};Y.parseReturnStatement=function(e){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(v.semi)||this.insertSemicolon()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")};Y.parseSwitchStatement=function(e){this.next();e.discriminant=this.parseParenExpression();e.cases=[];this.expect(v.braceL);this.labels.push(J);this.enterScope(0);var t;for(var i=false;this.type!==v.braceR;){if(this.type===v._case||this.type===v._default){var r=this.type===v._case;if(t){this.finishNode(t,"SwitchCase")}e.cases.push(t=this.startNode());t.consequent=[];this.next();if(r){t.test=this.parseExpression()}else{if(i){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}i=true;t.test=null}this.expect(v.colon)}else{if(!t){this.unexpected()}t.consequent.push(this.parseStatement(null))}}this.exitScope();if(t){this.finishNode(t,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(e,"SwitchStatement")};Y.parseThrowStatement=function(e){this.next();if(y.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")};var Z=[];Y.parseTryStatement=function(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.type===v._catch){var t=this.startNode();this.next();if(this.eat(v.parenL)){t.param=this.parseBindingAtom();var i=t.param.type==="Identifier";this.enterScope(i?P:0);this.checkLValPattern(t.param,i?G:W);this.expect(v.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}t.param=null;this.enterScope(0)}t.body=this.parseBlock(false);this.exitScope();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(v._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,"Missing catch or finally clause")}return this.finishNode(e,"TryStatement")};Y.parseVarStatement=function(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")};Y.parseWhileStatement=function(e){this.next();e.test=this.parseParenExpression();this.labels.push(Q);e.body=this.parseStatement("while");this.labels.pop();return this.finishNode(e,"WhileStatement")};Y.parseWithStatement=function(e){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();e.object=this.parseParenExpression();e.body=this.parseStatement("with");return this.finishNode(e,"WithStatement")};Y.parseEmptyStatement=function(e){this.next();return this.finishNode(e,"EmptyStatement")};Y.parseLabeledStatement=function(e,t,i,r){for(var n=0,s=this.labels;n<s.length;n+=1){var a=s[n];if(a.name===t){this.raise(i.start,"Label '"+t+"' is already declared")}}var o=this.type.isLoop?"loop":this.type===v._switch?"switch":null;for(var u=this.labels.length-1;u>=0;u--){var c=this.labels[u];if(c.statementStart===e.start){c.statementStart=this.start;c.kind=o}else{break}}this.labels.push({name:t,kind:o,statementStart:this.start});e.body=this.parseStatement(r?r.indexOf("label")===-1?r+"label":r:"label");this.labels.pop();e.label=i;return this.finishNode(e,"LabeledStatement")};Y.parseExpressionStatement=function(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")};Y.parseBlock=function(e,t,i){if(e===void 0)e=true;if(t===void 0)t=this.startNode();t.body=[];this.expect(v.braceL);if(e){this.enterScope(0)}while(this.type!==v.braceR){var r=this.parseStatement(null);t.body.push(r)}if(i){this.strict=false}this.next();if(e){this.exitScope()}return this.finishNode(t,"BlockStatement")};Y.parseFor=function(e,t){e.init=t;this.expect(v.semi);e.test=this.type===v.semi?null:this.parseExpression();this.expect(v.semi);e.update=this.type===v.parenR?null:this.parseExpression();this.expect(v.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,"ForStatement")};Y.parseForIn=function(e,t){var i=this.type===v._in;this.next();if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!i||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,(i?"for-in":"for-of")+" loop variable declaration may not have an initializer")}e.left=t;e.right=i?this.parseExpression():this.parseMaybeAssign();this.expect(v.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,i?"ForInStatement":"ForOfStatement")};Y.parseVar=function(e,t,i){e.declarations=[];e.kind=i;for(;;){var r=this.startNode();this.parseVarId(r,i);if(this.eat(v.eq)){r.init=this.parseMaybeAssign(t)}else if(i==="const"&&!(this.type===v._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(r.id.type!=="Identifier"&&!(t&&(this.type===v._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{r.init=null}e.declarations.push(this.finishNode(r,"VariableDeclarator"));if(!this.eat(v.comma)){break}}return e};Y.parseVarId=function(e,t){e.id=this.parseBindingAtom();this.checkLValPattern(e.id,t==="var"?U:W,false)};var ee=1,te=2,ie=4;Y.parseFunction=function(e,t,i,r,n){this.initFunction(e);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r){if(this.type===v.star&&t&te){this.unexpected()}e.generator=this.eat(v.star)}if(this.options.ecmaVersion>=8){e.async=!!r}if(t&ee){e.id=t&ie&&this.type!==v.name?null:this.parseIdent();if(e.id&&!(t&te)){this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?U:W:q)}}var s=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(e.async,e.generator));if(!(t&ee)){e.id=this.type===v.name?this.parseIdent():null}this.parseFunctionParams(e);this.parseFunctionBody(e,i,false,n);this.yieldPos=s;this.awaitPos=a;this.awaitIdentPos=o;return this.finishNode(e,t&ee?"FunctionDeclaration":"FunctionExpression")};Y.parseFunctionParams=function(e){this.expect(v.parenL);e.params=this.parseBindingList(v.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};Y.parseClass=function(e,t){this.next();var i=this.strict;this.strict=true;this.parseClassId(e,t);this.parseClassSuper(e);var r=this.enterClassBody();var n=this.startNode();var s=false;n.body=[];this.expect(v.braceL);while(this.type!==v.braceR){var a=this.parseClassElement(e.superClass!==null);if(a){n.body.push(a);if(a.type==="MethodDefinition"&&a.kind==="constructor"){if(s){this.raise(a.start,"Duplicate constructor in the same class")}s=true}else if(a.key&&a.key.type==="PrivateIdentifier"&&isPrivateNameConflicted(r,a)){this.raiseRecoverable(a.key.start,"Identifier '#"+a.key.name+"' has already been declared")}}}this.strict=i;this.next();e.body=this.finishNode(n,"ClassBody");this.exitClassBody();return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};Y.parseClassElement=function(e){if(this.eat(v.semi)){return null}var t=this.options.ecmaVersion;var i=this.startNode();var r="";var n=false;var s=false;var a="method";var o=false;if(this.eatContextual("static")){if(t>=13&&this.eat(v.braceL)){this.parseClassStaticBlock(i);return i}if(this.isClassElementNameStart()||this.type===v.star){o=true}else{r="static"}}i.static=o;if(!r&&t>=8&&this.eatContextual("async")){if((this.isClassElementNameStart()||this.type===v.star)&&!this.canInsertSemicolon()){s=true}else{r="async"}}if(!r&&(t>=9||!s)&&this.eat(v.star)){n=true}if(!r&&!s&&!n){var u=this.value;if(this.eatContextual("get")||this.eatContextual("set")){if(this.isClassElementNameStart()){a=u}else{r=u}}}if(r){i.computed=false;i.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc);i.key.name=r;this.finishNode(i.key,"Identifier")}else{this.parseClassElementName(i)}if(t<13||this.type===v.parenL||a!=="method"||n||s){var c=!i.static&&checkKeyName(i,"constructor");var l=c&&e;if(c&&a!=="method"){this.raise(i.key.start,"Constructor can't have get/set modifier")}i.kind=c?"constructor":a;this.parseClassMethod(i,n,s,l)}else{this.parseClassField(i)}return i};Y.isClassElementNameStart=function(){return this.type===v.name||this.type===v.privateId||this.type===v.num||this.type===v.string||this.type===v.bracketL||this.type.keyword};Y.parseClassElementName=function(e){if(this.type===v.privateId){if(this.value==="constructor"){this.raise(this.start,"Classes can't have an element named '#constructor'")}e.computed=false;e.key=this.parsePrivateIdent()}else{this.parsePropertyName(e)}};Y.parseClassMethod=function(e,t,i,r){var n=e.key;if(e.kind==="constructor"){if(t){this.raise(n.start,"Constructor can't be a generator")}if(i){this.raise(n.start,"Constructor can't be an async method")}}else if(e.static&&checkKeyName(e,"prototype")){this.raise(n.start,"Classes may not have a static property named prototype")}var s=e.value=this.parseMethod(t,i,r);if(e.kind==="get"&&s.params.length!==0){this.raiseRecoverable(s.start,"getter should have no params")}if(e.kind==="set"&&s.params.length!==1){this.raiseRecoverable(s.start,"setter should have exactly one param")}if(e.kind==="set"&&s.params[0].type==="RestElement"){this.raiseRecoverable(s.params[0].start,"Setter cannot use rest params")}return this.finishNode(e,"MethodDefinition")};Y.parseClassField=function(e){if(checkKeyName(e,"constructor")){this.raise(e.key.start,"Classes can't have a field named 'constructor'")}else if(e.static&&checkKeyName(e,"prototype")){this.raise(e.key.start,"Classes can't have a static field named 'prototype'")}if(this.eat(v.eq)){var t=this.currentThisScope();var i=t.inClassFieldInit;t.inClassFieldInit=true;e.value=this.parseMaybeAssign();t.inClassFieldInit=i}else{e.value=null}this.semicolon();return this.finishNode(e,"PropertyDefinition")};Y.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;this.labels=[];this.enterScope(B|F);while(this.type!==v.braceR){var i=this.parseStatement(null);e.body.push(i)}this.next();this.exitScope();this.labels=t;return this.finishNode(e,"StaticBlock")};Y.parseClassId=function(e,t){if(this.type===v.name){e.id=this.parseIdent();if(t){this.checkLValSimple(e.id,W,false)}}else{if(t===true){this.unexpected()}e.id=null}};Y.parseClassSuper=function(e){e.superClass=this.eat(v._extends)?this.parseExprSubscripts(false):null};Y.enterClassBody=function(){var e={declared:Object.create(null),used:[]};this.privateNameStack.push(e);return e.declared};Y.exitClassBody=function(){var e=this.privateNameStack.pop();var t=e.declared;var i=e.used;var r=this.privateNameStack.length;var n=r===0?null:this.privateNameStack[r-1];for(var s=0;s<i.length;++s){var a=i[s];if(!S(t,a.name)){if(n){n.used.push(a)}else{this.raiseRecoverable(a.start,"Private field '#"+a.name+"' must be declared in an enclosing class")}}}};function isPrivateNameConflicted(e,t){var i=t.key.name;var r=e[i];var n="true";if(t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")){n=(t.static?"s":"i")+t.kind}if(r==="iget"&&n==="iset"||r==="iset"&&n==="iget"||r==="sget"&&n==="sset"||r==="sset"&&n==="sget"){e[i]="true";return false}else if(!r){e[i]=n;return false}else{return true}}function checkKeyName(e,t){var i=e.computed;var r=e.key;return!i&&(r.type==="Identifier"&&r.name===t||r.type==="Literal"&&r.value===t)}Y.parseExport=function(e,t){this.next();if(this.eat(v.star)){if(this.options.ecmaVersion>=11){if(this.eatContextual("as")){e.exported=this.parseModuleExportName();this.checkExport(t,e.exported.name,this.lastTokStart)}else{e.exported=null}}this.expectContextual("from");if(this.type!==v.string){this.unexpected()}e.source=this.parseExprAtom();this.semicolon();return this.finishNode(e,"ExportAllDeclaration")}if(this.eat(v._default)){this.checkExport(t,"default",this.lastTokStart);var i;if(this.type===v._function||(i=this.isAsyncFunction())){var r=this.startNode();this.next();if(i){this.next()}e.declaration=this.parseFunction(r,ee|ie,false,i)}else if(this.type===v._class){var n=this.startNode();e.declaration=this.parseClass(n,"nullableID")}else{e.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){e.declaration=this.parseStatement(null);if(e.declaration.type==="VariableDeclaration"){this.checkVariableExport(t,e.declaration.declarations)}else{this.checkExport(t,e.declaration.id.name,e.declaration.id.start)}e.specifiers=[];e.source=null}else{e.declaration=null;e.specifiers=this.parseExportSpecifiers(t);if(this.eatContextual("from")){if(this.type!==v.string){this.unexpected()}e.source=this.parseExprAtom()}else{for(var s=0,a=e.specifiers;s<a.length;s+=1){var o=a[s];this.checkUnreserved(o.local);this.checkLocalExport(o.local);if(o.local.type==="Literal"){this.raise(o.local.start,"A string literal cannot be used as an exported binding without `from`.")}}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};Y.checkExport=function(e,t,i){if(!e){return}if(S(e,t)){this.raiseRecoverable(i,"Duplicate export '"+t+"'")}e[t]=true};Y.checkPatternExport=function(e,t){var i=t.type;if(i==="Identifier"){this.checkExport(e,t.name,t.start)}else if(i==="ObjectPattern"){for(var r=0,n=t.properties;r<n.length;r+=1){var s=n[r];this.checkPatternExport(e,s)}}else if(i==="ArrayPattern"){for(var a=0,o=t.elements;a<o.length;a+=1){var u=o[a];if(u){this.checkPatternExport(e,u)}}}else if(i==="Property"){this.checkPatternExport(e,t.value)}else if(i==="AssignmentPattern"){this.checkPatternExport(e,t.left)}else if(i==="RestElement"){this.checkPatternExport(e,t.argument)}else if(i==="ParenthesizedExpression"){this.checkPatternExport(e,t.expression)}};Y.checkVariableExport=function(e,t){if(!e){return}for(var i=0,r=t;i<r.length;i+=1){var n=r[i];this.checkPatternExport(e,n.id)}};Y.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};Y.parseExportSpecifiers=function(e){var t=[],i=true;this.expect(v.braceL);while(!this.eat(v.braceR)){if(!i){this.expect(v.comma);if(this.afterTrailingComma(v.braceR)){break}}else{i=false}var r=this.startNode();r.local=this.parseModuleExportName();r.exported=this.eatContextual("as")?this.parseModuleExportName():r.local;this.checkExport(e,r.exported[r.exported.type==="Identifier"?"name":"value"],r.exported.start);t.push(this.finishNode(r,"ExportSpecifier"))}return t};Y.parseImport=function(e){this.next();if(this.type===v.string){e.specifiers=Z;e.source=this.parseExprAtom()}else{e.specifiers=this.parseImportSpecifiers();this.expectContextual("from");e.source=this.type===v.string?this.parseExprAtom():this.unexpected()}this.semicolon();return this.finishNode(e,"ImportDeclaration")};Y.parseImportSpecifiers=function(){var e=[],t=true;if(this.type===v.name){var i=this.startNode();i.local=this.parseIdent();this.checkLValSimple(i.local,W);e.push(this.finishNode(i,"ImportDefaultSpecifier"));if(!this.eat(v.comma)){return e}}if(this.type===v.star){var r=this.startNode();this.next();this.expectContextual("as");r.local=this.parseIdent();this.checkLValSimple(r.local,W);e.push(this.finishNode(r,"ImportNamespaceSpecifier"));return e}this.expect(v.braceL);while(!this.eat(v.braceR)){if(!t){this.expect(v.comma);if(this.afterTrailingComma(v.braceR)){break}}else{t=false}var n=this.startNode();n.imported=this.parseModuleExportName();if(this.eatContextual("as")){n.local=this.parseIdent()}else{this.checkUnreserved(n.imported);n.local=n.imported}this.checkLValSimple(n.local,W);e.push(this.finishNode(n,"ImportSpecifier"))}return e};Y.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===v.string){var e=this.parseLiteral(this.value);if(R.test(e.value)){this.raise(e.start,"An export name cannot include a lone surrogate.")}return e}return this.parseIdent(true)};Y.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t){e[t].directive=e[t].expression.raw.slice(1,-1)}};Y.isDirectiveCandidate=function(e){return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var re=z.prototype;re.toAssignable=function(e,t,i){if(this.options.ecmaVersion>=6&&e){switch(e.type){case"Identifier":if(this.inAsync&&e.name==="await"){this.raise(e.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";if(i){this.checkPatternErrors(i,true)}for(var r=0,n=e.properties;r<n.length;r+=1){var s=n[r];this.toAssignable(s,t);if(s.type==="RestElement"&&(s.argument.type==="ArrayPattern"||s.argument.type==="ObjectPattern")){this.raise(s.argument.start,"Unexpected token")}}break;case"Property":if(e.kind!=="init"){this.raise(e.key.start,"Object pattern can't contain getter or setter")}this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern";if(i){this.checkPatternErrors(i,true)}this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement";this.toAssignable(e.argument,t);if(e.argument.type==="AssignmentPattern"){this.raise(e.argument.start,"Rest elements cannot have a default value")}break;case"AssignmentExpression":if(e.operator!=="="){this.raise(e.left.end,"Only '=' operator can be used for specifying default value.")}e.type="AssignmentPattern";delete e.operator;this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,i);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t){break}default:this.raise(e.start,"Assigning to rvalue")}}else if(i){this.checkPatternErrors(i,true)}return e};re.toAssignableList=function(e,t){var i=e.length;for(var r=0;r<i;r++){var n=e[r];if(n){this.toAssignable(n,t)}}if(i){var s=e[i-1];if(this.options.ecmaVersion===6&&t&&s&&s.type==="RestElement"&&s.argument.type!=="Identifier"){this.unexpected(s.argument.start)}}return e};re.parseSpread=function(e){var t=this.startNode();this.next();t.argument=this.parseMaybeAssign(false,e);return this.finishNode(t,"SpreadElement")};re.parseRestBinding=function(){var e=this.startNode();this.next();if(this.options.ecmaVersion===6&&this.type!==v.name){this.unexpected()}e.argument=this.parseBindingAtom();return this.finishNode(e,"RestElement")};re.parseBindingAtom=function(){if(this.options.ecmaVersion>=6){switch(this.type){case v.bracketL:var e=this.startNode();this.next();e.elements=this.parseBindingList(v.bracketR,true,true);return this.finishNode(e,"ArrayPattern");case v.braceL:return this.parseObj(true)}}return this.parseIdent()};re.parseBindingList=function(e,t,i){var r=[],n=true;while(!this.eat(e)){if(n){n=false}else{this.expect(v.comma)}if(t&&this.type===v.comma){r.push(null)}else if(i&&this.afterTrailingComma(e)){break}else if(this.type===v.ellipsis){var s=this.parseRestBinding();this.parseBindingListItem(s);r.push(s);if(this.type===v.comma){this.raise(this.start,"Comma is not permitted after the rest element")}this.expect(e);break}else{var a=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(a);r.push(a)}}return r};re.parseBindingListItem=function(e){return e};re.parseMaybeDefault=function(e,t,i){i=i||this.parseBindingAtom();if(this.options.ecmaVersion<6||!this.eat(v.eq)){return i}var r=this.startNodeAt(e,t);r.left=i;r.right=this.parseMaybeAssign();return this.finishNode(r,"AssignmentPattern")};re.checkLValSimple=function(e,t,i){if(t===void 0)t=H;var r=t!==H;switch(e.type){case"Identifier":if(this.strict&&this.reservedWordsStrictBind.test(e.name)){this.raiseRecoverable(e.start,(r?"Binding ":"Assigning to ")+e.name+" in strict mode")}if(r){if(t===W&&e.name==="let"){this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name")}if(i){if(S(i,e.name)){this.raiseRecoverable(e.start,"Argument name clash")}i[e.name]=true}if(t!==V){this.declareName(e.name,t,e.start)}}break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(r){this.raiseRecoverable(e.start,"Binding member expression")}break;case"ParenthesizedExpression":if(r){this.raiseRecoverable(e.start,"Binding parenthesized expression")}return this.checkLValSimple(e.expression,t,i);default:this.raise(e.start,(r?"Binding":"Assigning to")+" rvalue")}};re.checkLValPattern=function(e,t,i){if(t===void 0)t=H;switch(e.type){case"ObjectPattern":for(var r=0,n=e.properties;r<n.length;r+=1){var s=n[r];this.checkLValInnerPattern(s,t,i)}break;case"ArrayPattern":for(var a=0,o=e.elements;a<o.length;a+=1){var u=o[a];if(u){this.checkLValInnerPattern(u,t,i)}}break;default:this.checkLValSimple(e,t,i)}};re.checkLValInnerPattern=function(e,t,i){if(t===void 0)t=H;switch(e.type){case"Property":this.checkLValInnerPattern(e.value,t,i);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,i);break;case"RestElement":this.checkLValPattern(e.argument,t,i);break;default:this.checkLValPattern(e,t,i)}};var ne=function TokContext(e,t,i,r,n){this.token=e;this.isExpr=!!t;this.preserveSpace=!!i;this.override=r;this.generator=!!n};var se={b_stat:new ne("{",false),b_expr:new ne("{",true),b_tmpl:new ne("${",false),p_stat:new ne("(",false),p_expr:new ne("(",true),q_tmpl:new ne("`",true,true,function(e){return e.tryReadTemplateToken()}),f_stat:new ne("function",false),f_expr:new ne("function",true),f_expr_gen:new ne("function",true,false,null,true),f_gen:new ne("function",false,false,null,true)};var ae=z.prototype;ae.initialContext=function(){return[se.b_stat]};ae.curContext=function(){return this.context[this.context.length-1]};ae.braceIsBlock=function(e){var t=this.curContext();if(t===se.f_expr||t===se.f_stat){return true}if(e===v.colon&&(t===se.b_stat||t===se.b_expr)){return!t.isExpr}if(e===v._return||e===v.name&&this.exprAllowed){return y.test(this.input.slice(this.lastTokEnd,this.start))}if(e===v._else||e===v.semi||e===v.eof||e===v.parenR||e===v.arrow){return true}if(e===v.braceL){return t===se.b_stat}if(e===v._var||e===v._const||e===v.name){return false}return!this.exprAllowed};ae.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function"){return t.generator}}return false};ae.updateContext=function(e){var t,i=this.type;if(i.keyword&&e===v.dot){this.exprAllowed=false}else if(t=i.updateContext){t.call(this,e)}else{this.exprAllowed=i.beforeExpr}};ae.overrideContext=function(e){if(this.curContext()!==e){this.context[this.context.length-1]=e}};v.parenR.updateContext=v.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var e=this.context.pop();if(e===se.b_stat&&this.curContext().token==="function"){e=this.context.pop()}this.exprAllowed=!e.isExpr};v.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?se.b_stat:se.b_expr);this.exprAllowed=true};v.dollarBraceL.updateContext=function(){this.context.push(se.b_tmpl);this.exprAllowed=true};v.parenL.updateContext=function(e){var t=e===v._if||e===v._for||e===v._with||e===v._while;this.context.push(t?se.p_stat:se.p_expr);this.exprAllowed=true};v.incDec.updateContext=function(){};v._function.updateContext=v._class.updateContext=function(e){if(e.beforeExpr&&e!==v._else&&!(e===v.semi&&this.curContext()!==se.p_stat)&&!(e===v._return&&y.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===v.colon||e===v.braceL)&&this.curContext()===se.b_stat)){this.context.push(se.f_expr)}else{this.context.push(se.f_stat)}this.exprAllowed=false};v.backQuote.updateContext=function(){if(this.curContext()===se.q_tmpl){this.context.pop()}else{this.context.push(se.q_tmpl)}this.exprAllowed=false};v.star.updateContext=function(e){if(e===v._function){var t=this.context.length-1;if(this.context[t]===se.f_expr){this.context[t]=se.f_expr_gen}else{this.context[t]=se.f_gen}}this.exprAllowed=true};v.name.updateContext=function(e){var t=false;if(this.options.ecmaVersion>=6&&e!==v.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){t=true}}this.exprAllowed=t};var oe=z.prototype;oe.checkPropClash=function(e,t,i){if(this.options.ecmaVersion>=9&&e.type==="SpreadElement"){return}if(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand)){return}var r=e.key;var n;switch(r.type){case"Identifier":n=r.name;break;case"Literal":n=String(r.value);break;default:return}var s=e.kind;if(this.options.ecmaVersion>=6){if(n==="__proto__"&&s==="init"){if(t.proto){if(i){if(i.doubleProto<0){i.doubleProto=r.start}}else{this.raiseRecoverable(r.start,"Redefinition of __proto__ property")}}t.proto=true}return}n="$"+n;var a=t[n];if(a){var o;if(s==="init"){o=this.strict&&a.init||a.get||a.set}else{o=a.init||a[s]}if(o){this.raiseRecoverable(r.start,"Redefinition of property")}}else{a=t[n]={init:false,get:false,set:false}}a[s]=true};oe.parseExpression=function(e,t){var i=this.start,r=this.startLoc;var n=this.parseMaybeAssign(e,t);if(this.type===v.comma){var s=this.startNodeAt(i,r);s.expressions=[n];while(this.eat(v.comma)){s.expressions.push(this.parseMaybeAssign(e,t))}return this.finishNode(s,"SequenceExpression")}return n};oe.parseMaybeAssign=function(e,t,i){if(this.isContextual("yield")){if(this.inGenerator){return this.parseYield(e)}else{this.exprAllowed=false}}var r=false,n=-1,s=-1,a=-1;if(t){n=t.parenthesizedAssign;s=t.trailingComma;a=t.doubleProto;t.parenthesizedAssign=t.trailingComma=-1}else{t=new DestructuringErrors;r=true}var o=this.start,u=this.startLoc;if(this.type===v.parenL||this.type===v.name){this.potentialArrowAt=this.start;this.potentialArrowInForAwait=e==="await"}var c=this.parseMaybeConditional(e,t);if(i){c=i.call(this,c,o,u)}if(this.type.isAssign){var l=this.startNodeAt(o,u);l.operator=this.value;if(this.type===v.eq){c=this.toAssignable(c,false,t)}if(!r){t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1}if(t.shorthandAssign>=c.start){t.shorthandAssign=-1}if(this.type===v.eq){this.checkLValPattern(c)}else{this.checkLValSimple(c)}l.left=c;this.next();l.right=this.parseMaybeAssign(e);if(a>-1){t.doubleProto=a}return this.finishNode(l,"AssignmentExpression")}else{if(r){this.checkExpressionErrors(t,true)}}if(n>-1){t.parenthesizedAssign=n}if(s>-1){t.trailingComma=s}return c};oe.parseMaybeConditional=function(e,t){var i=this.start,r=this.startLoc;var n=this.parseExprOps(e,t);if(this.checkExpressionErrors(t)){return n}if(this.eat(v.question)){var s=this.startNodeAt(i,r);s.test=n;s.consequent=this.parseMaybeAssign();this.expect(v.colon);s.alternate=this.parseMaybeAssign(e);return this.finishNode(s,"ConditionalExpression")}return n};oe.parseExprOps=function(e,t){var i=this.start,r=this.startLoc;var n=this.parseMaybeUnary(t,false,false,e);if(this.checkExpressionErrors(t)){return n}return n.start===i&&n.type==="ArrowFunctionExpression"?n:this.parseExprOp(n,i,r,-1,e)};oe.parseExprOp=function(e,t,i,r,n){var s=this.type.binop;if(s!=null&&(!n||this.type!==v._in)){if(s>r){var a=this.type===v.logicalOR||this.type===v.logicalAND;var o=this.type===v.coalesce;if(o){s=v.logicalAND.binop}var u=this.value;this.next();var c=this.start,l=this.startLoc;var f=this.parseExprOp(this.parseMaybeUnary(null,false,false,n),c,l,s,n);var h=this.buildBinary(t,i,e,f,u,a||o);if(a&&this.type===v.coalesce||o&&(this.type===v.logicalOR||this.type===v.logicalAND)){this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses")}return this.parseExprOp(h,t,i,r,n)}}return e};oe.buildBinary=function(e,t,i,r,n,s){if(r.type==="PrivateIdentifier"){this.raise(r.start,"Private identifier can only be left side of binary expression")}var a=this.startNodeAt(e,t);a.left=i;a.operator=n;a.right=r;return this.finishNode(a,s?"LogicalExpression":"BinaryExpression")};oe.parseMaybeUnary=function(e,t,i,r){var n=this.start,s=this.startLoc,a;if(this.isContextual("await")&&this.canAwait){a=this.parseAwait(r);t=true}else if(this.type.prefix){var o=this.startNode(),u=this.type===v.incDec;o.operator=this.value;o.prefix=true;this.next();o.argument=this.parseMaybeUnary(null,true,u,r);this.checkExpressionErrors(e,true);if(u){this.checkLValSimple(o.argument)}else if(this.strict&&o.operator==="delete"&&o.argument.type==="Identifier"){this.raiseRecoverable(o.start,"Deleting local variable in strict mode")}else if(o.operator==="delete"&&isPrivateFieldAccess(o.argument)){this.raiseRecoverable(o.start,"Private fields can not be deleted")}else{t=true}a=this.finishNode(o,u?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===v.privateId){if(r||this.privateNameStack.length===0){this.unexpected()}a=this.parsePrivateIdent();if(this.type!==v._in){this.unexpected()}}else{a=this.parseExprSubscripts(e,r);if(this.checkExpressionErrors(e)){return a}while(this.type.postfix&&!this.canInsertSemicolon()){var c=this.startNodeAt(n,s);c.operator=this.value;c.prefix=false;c.argument=a;this.checkLValSimple(a);this.next();a=this.finishNode(c,"UpdateExpression")}}if(!i&&this.eat(v.starstar)){if(t){this.unexpected(this.lastTokStart)}else{return this.buildBinary(n,s,a,this.parseMaybeUnary(null,false,false,r),"**",false)}}else{return a}};function isPrivateFieldAccess(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&isPrivateFieldAccess(e.expression)}oe.parseExprSubscripts=function(e,t){var i=this.start,r=this.startLoc;var n=this.parseExprAtom(e,t);if(n.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")"){return n}var s=this.parseSubscripts(n,i,r,false,t);if(e&&s.type==="MemberExpression"){if(e.parenthesizedAssign>=s.start){e.parenthesizedAssign=-1}if(e.parenthesizedBind>=s.start){e.parenthesizedBind=-1}if(e.trailingComma>=s.start){e.trailingComma=-1}}return s};oe.parseSubscripts=function(e,t,i,r,n){var s=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start;var a=false;while(true){var o=this.parseSubscript(e,t,i,r,s,a,n);if(o.optional){a=true}if(o===e||o.type==="ArrowFunctionExpression"){if(a){var u=this.startNodeAt(t,i);u.expression=o;o=this.finishNode(u,"ChainExpression")}return o}e=o}};oe.parseSubscript=function(e,t,i,r,n,s,a){var o=this.options.ecmaVersion>=11;var u=o&&this.eat(v.questionDot);if(r&&u){this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions")}var c=this.eat(v.bracketL);if(c||u&&this.type!==v.parenL&&this.type!==v.backQuote||this.eat(v.dot)){var l=this.startNodeAt(t,i);l.object=e;if(c){l.property=this.parseExpression();this.expect(v.bracketR)}else if(this.type===v.privateId&&e.type!=="Super"){l.property=this.parsePrivateIdent()}else{l.property=this.parseIdent(this.options.allowReserved!=="never")}l.computed=!!c;if(o){l.optional=u}e=this.finishNode(l,"MemberExpression")}else if(!r&&this.eat(v.parenL)){var f=new DestructuringErrors,h=this.yieldPos,p=this.awaitPos,d=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;var y=this.parseExprList(v.parenR,this.options.ecmaVersion>=8,false,f);if(n&&!u&&!this.canInsertSemicolon()&&this.eat(v.arrow)){this.checkPatternErrors(f,false);this.checkYieldAwaitInDefaultParams();if(this.awaitIdentPos>0){this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function")}this.yieldPos=h;this.awaitPos=p;this.awaitIdentPos=d;return this.parseArrowExpression(this.startNodeAt(t,i),y,true,a)}this.checkExpressionErrors(f,true);this.yieldPos=h||this.yieldPos;this.awaitPos=p||this.awaitPos;this.awaitIdentPos=d||this.awaitIdentPos;var g=this.startNodeAt(t,i);g.callee=e;g.arguments=y;if(o){g.optional=u}e=this.finishNode(g,"CallExpression")}else if(this.type===v.backQuote){if(u||s){this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions")}var b=this.startNodeAt(t,i);b.tag=e;b.quasi=this.parseTemplate({isTagged:true});e=this.finishNode(b,"TaggedTemplateExpression")}return e};oe.parseExprAtom=function(e,t){if(this.type===v.slash){this.readRegexp()}var i,r=this.potentialArrowAt===this.start;switch(this.type){case v._super:if(!this.allowSuper){this.raise(this.start,"'super' keyword outside a method")}i=this.startNode();this.next();if(this.type===v.parenL&&!this.allowDirectSuper){this.raise(i.start,"super() call outside constructor of a subclass")}if(this.type!==v.dot&&this.type!==v.bracketL&&this.type!==v.parenL){this.unexpected()}return this.finishNode(i,"Super");case v._this:i=this.startNode();this.next();return this.finishNode(i,"ThisExpression");case v.name:var n=this.start,s=this.startLoc,a=this.containsEsc;var o=this.parseIdent(false);if(this.options.ecmaVersion>=8&&!a&&o.name==="async"&&!this.canInsertSemicolon()&&this.eat(v._function)){this.overrideContext(se.f_expr);return this.parseFunction(this.startNodeAt(n,s),0,false,true,t)}if(r&&!this.canInsertSemicolon()){if(this.eat(v.arrow)){return this.parseArrowExpression(this.startNodeAt(n,s),[o],false,t)}if(this.options.ecmaVersion>=8&&o.name==="async"&&this.type===v.name&&!a&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc)){o=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(v.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(n,s),[o],true,t)}}return o;case v.regexp:var u=this.value;i=this.parseLiteral(u.value);i.regex={pattern:u.pattern,flags:u.flags};return i;case v.num:case v.string:return this.parseLiteral(this.value);case v._null:case v._true:case v._false:i=this.startNode();i.value=this.type===v._null?null:this.type===v._true;i.raw=this.type.keyword;this.next();return this.finishNode(i,"Literal");case v.parenL:var c=this.start,l=this.parseParenAndDistinguishExpression(r,t);if(e){if(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(l)){e.parenthesizedAssign=c}if(e.parenthesizedBind<0){e.parenthesizedBind=c}}return l;case v.bracketL:i=this.startNode();this.next();i.elements=this.parseExprList(v.bracketR,true,true,e);return this.finishNode(i,"ArrayExpression");case v.braceL:this.overrideContext(se.b_expr);return this.parseObj(false,e);case v._function:i=this.startNode();this.next();return this.parseFunction(i,0);case v._class:return this.parseClass(this.startNode(),false);case v._new:return this.parseNew();case v.backQuote:return this.parseTemplate();case v._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};oe.parseExprImport=function(){var e=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var t=this.parseIdent(true);switch(this.type){case v.parenL:return this.parseDynamicImport(e);case v.dot:e.meta=t;return this.parseImportMeta(e);default:this.unexpected()}};oe.parseDynamicImport=function(e){this.next();e.source=this.parseMaybeAssign();if(!this.eat(v.parenR)){var t=this.start;if(this.eat(v.comma)&&this.eat(v.parenR)){this.raiseRecoverable(t,"Trailing comma is not allowed in import()")}else{this.unexpected(t)}}return this.finishNode(e,"ImportExpression")};oe.parseImportMeta=function(e){this.next();var t=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="meta"){this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'")}if(t){this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere){this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(e,"MetaProperty")};oe.parseLiteral=function(e){var t=this.startNode();t.value=e;t.raw=this.input.slice(this.start,this.end);if(t.raw.charCodeAt(t.raw.length-1)===110){t.bigint=t.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(t,"Literal")};oe.parseParenExpression=function(){this.expect(v.parenL);var e=this.parseExpression();this.expect(v.parenR);return e};oe.parseParenAndDistinguishExpression=function(e,t){var i=this.start,r=this.startLoc,n,s=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a=this.start,o=this.startLoc;var u=[],c=true,l=false;var f=new DestructuringErrors,h=this.yieldPos,p=this.awaitPos,d;this.yieldPos=0;this.awaitPos=0;while(this.type!==v.parenR){c?c=false:this.expect(v.comma);if(s&&this.afterTrailingComma(v.parenR,true)){l=true;break}else if(this.type===v.ellipsis){d=this.start;u.push(this.parseParenItem(this.parseRestBinding()));if(this.type===v.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{u.push(this.parseMaybeAssign(false,f,this.parseParenItem))}}var y=this.lastTokEnd,g=this.lastTokEndLoc;this.expect(v.parenR);if(e&&!this.canInsertSemicolon()&&this.eat(v.arrow)){this.checkPatternErrors(f,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=h;this.awaitPos=p;return this.parseParenArrowList(i,r,u,t)}if(!u.length||l){this.unexpected(this.lastTokStart)}if(d){this.unexpected(d)}this.checkExpressionErrors(f,true);this.yieldPos=h||this.yieldPos;this.awaitPos=p||this.awaitPos;if(u.length>1){n=this.startNodeAt(a,o);n.expressions=u;this.finishNodeAt(n,"SequenceExpression",y,g)}else{n=u[0]}}else{n=this.parseParenExpression()}if(this.options.preserveParens){var b=this.startNodeAt(i,r);b.expression=n;return this.finishNode(b,"ParenthesizedExpression")}else{return n}};oe.parseParenItem=function(e){return e};oe.parseParenArrowList=function(e,t,i,r){return this.parseArrowExpression(this.startNodeAt(e,t),i,false,r)};var ue=[];oe.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var e=this.startNode();var t=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(v.dot)){e.meta=t;var i=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="target"){this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'")}if(i){this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters")}if(!this.allowNewDotTarget){this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block")}return this.finishNode(e,"MetaProperty")}var r=this.start,n=this.startLoc,s=this.type===v._import;e.callee=this.parseSubscripts(this.parseExprAtom(),r,n,true,false);if(s&&e.callee.type==="ImportExpression"){this.raise(r,"Cannot use new with import()")}if(this.eat(v.parenL)){e.arguments=this.parseExprList(v.parenR,this.options.ecmaVersion>=8,false)}else{e.arguments=ue}return this.finishNode(e,"NewExpression")};oe.parseTemplateElement=function(e){var t=e.isTagged;var i=this.startNode();if(this.type===v.invalidTemplate){if(!t){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}i.value={raw:this.value,cooked:null}}else{i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();i.tail=this.type===v.backQuote;return this.finishNode(i,"TemplateElement")};oe.parseTemplate=function(e){if(e===void 0)e={};var t=e.isTagged;if(t===void 0)t=false;var i=this.startNode();this.next();i.expressions=[];var r=this.parseTemplateElement({isTagged:t});i.quasis=[r];while(!r.tail){if(this.type===v.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(v.dollarBraceL);i.expressions.push(this.parseExpression());this.expect(v.braceR);i.quasis.push(r=this.parseTemplateElement({isTagged:t}))}this.next();return this.finishNode(i,"TemplateLiteral")};oe.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===v.name||this.type===v.num||this.type===v.string||this.type===v.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===v.star)&&!y.test(this.input.slice(this.lastTokEnd,this.start))};oe.parseObj=function(e,t){var i=this.startNode(),r=true,n={};i.properties=[];this.next();while(!this.eat(v.braceR)){if(!r){this.expect(v.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(v.braceR)){break}}else{r=false}var s=this.parseProperty(e,t);if(!e){this.checkPropClash(s,n,t)}i.properties.push(s)}return this.finishNode(i,e?"ObjectPattern":"ObjectExpression")};oe.parseProperty=function(e,t){var i=this.startNode(),r,n,s,a;if(this.options.ecmaVersion>=9&&this.eat(v.ellipsis)){if(e){i.argument=this.parseIdent(false);if(this.type===v.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(i,"RestElement")}if(this.type===v.parenL&&t){if(t.parenthesizedAssign<0){t.parenthesizedAssign=this.start}if(t.parenthesizedBind<0){t.parenthesizedBind=this.start}}i.argument=this.parseMaybeAssign(false,t);if(this.type===v.comma&&t&&t.trailingComma<0){t.trailingComma=this.start}return this.finishNode(i,"SpreadElement")}if(this.options.ecmaVersion>=6){i.method=false;i.shorthand=false;if(e||t){s=this.start;a=this.startLoc}if(!e){r=this.eat(v.star)}}var o=this.containsEsc;this.parsePropertyName(i);if(!e&&!o&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(i)){n=true;r=this.options.ecmaVersion>=9&&this.eat(v.star);this.parsePropertyName(i,t)}else{n=false}this.parsePropertyValue(i,e,r,n,s,a,t,o);return this.finishNode(i,"Property")};oe.parsePropertyValue=function(e,t,i,r,n,s,a,o){if((i||r)&&this.type===v.colon){this.unexpected()}if(this.eat(v.colon)){e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,a);e.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===v.parenL){if(t){this.unexpected()}e.kind="init";e.method=true;e.value=this.parseMethod(i,r)}else if(!t&&!o&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&(this.type!==v.comma&&this.type!==v.braceR&&this.type!==v.eq)){if(i||r){this.unexpected()}e.kind=e.key.name;this.parsePropertyName(e);e.value=this.parseMethod(false);var u=e.kind==="get"?0:1;if(e.value.params.length!==u){var c=e.value.start;if(e.kind==="get"){this.raiseRecoverable(c,"getter should have no params")}else{this.raiseRecoverable(c,"setter should have exactly one param")}}else{if(e.kind==="set"&&e.value.params[0].type==="RestElement"){this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"){if(i||r){this.unexpected()}this.checkUnreserved(e.key);if(e.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=n}e.kind="init";if(t){e.value=this.parseMaybeDefault(n,s,this.copyNode(e.key))}else if(this.type===v.eq&&a){if(a.shorthandAssign<0){a.shorthandAssign=this.start}e.value=this.parseMaybeDefault(n,s,this.copyNode(e.key))}else{e.value=this.copyNode(e.key)}e.shorthand=true}else{this.unexpected()}};oe.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(v.bracketL)){e.computed=true;e.key=this.parseMaybeAssign();this.expect(v.bracketR);return e.key}else{e.computed=false}}return e.key=this.type===v.num||this.type===v.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};oe.initFunction=function(e){e.id=null;if(this.options.ecmaVersion>=6){e.generator=e.expression=false}if(this.options.ecmaVersion>=8){e.async=false}};oe.parseMethod=function(e,t,i){var r=this.startNode(),n=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;this.initFunction(r);if(this.options.ecmaVersion>=6){r.generator=e}if(this.options.ecmaVersion>=8){r.async=!!t}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(t,r.generator)|F|(i?L:0));this.expect(v.parenL);r.params=this.parseBindingList(v.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(r,false,true,false);this.yieldPos=n;this.awaitPos=s;this.awaitIdentPos=a;return this.finishNode(r,"FunctionExpression")};oe.parseArrowExpression=function(e,t,i,r){var n=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;this.enterScope(functionFlags(i,false)|$);this.initFunction(e);if(this.options.ecmaVersion>=8){e.async=!!i}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;e.params=this.toAssignableList(t,true);this.parseFunctionBody(e,true,false,r);this.yieldPos=n;this.awaitPos=s;this.awaitIdentPos=a;return this.finishNode(e,"ArrowFunctionExpression")};oe.parseFunctionBody=function(e,t,i,r){var n=t&&this.type!==v.braceL;var s=this.strict,a=false;if(n){e.body=this.parseMaybeAssign(r);e.expression=true;this.checkParams(e,false)}else{var o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);if(!s||o){a=this.strictDirective(this.end);if(a&&o){this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var u=this.labels;this.labels=[];if(a){this.strict=true}this.checkParams(e,!s&&!a&&!t&&!i&&this.isSimpleParamList(e.params));if(this.strict&&e.id){this.checkLValSimple(e.id,V)}e.body=this.parseBlock(false,undefined,a&&!s);e.expression=false;this.adaptDirectivePrologue(e.body.body);this.labels=u}this.exitScope()};oe.isSimpleParamList=function(e){for(var t=0,i=e;t<i.length;t+=1){var r=i[t];if(r.type!=="Identifier"){return false}}return true};oe.checkParams=function(e,t){var i=Object.create(null);for(var r=0,n=e.params;r<n.length;r+=1){var s=n[r];this.checkLValInnerPattern(s,U,t?null:i)}};oe.parseExprList=function(e,t,i,r){var n=[],s=true;while(!this.eat(e)){if(!s){this.expect(v.comma);if(t&&this.afterTrailingComma(e)){break}}else{s=false}var a=void 0;if(i&&this.type===v.comma){a=null}else if(this.type===v.ellipsis){a=this.parseSpread(r);if(r&&this.type===v.comma&&r.trailingComma<0){r.trailingComma=this.start}}else{a=this.parseMaybeAssign(false,r)}n.push(a)}return n};oe.checkUnreserved=function(e){var t=e.start;var i=e.end;var r=e.name;if(this.inGenerator&&r==="yield"){this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator")}if(this.inAsync&&r==="await"){this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function")}if(this.currentThisScope().inClassFieldInit&&r==="arguments"){this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer")}if(this.inClassStaticBlock&&(r==="arguments"||r==="await")){this.raise(t,"Cannot use "+r+" in class static initialization block")}if(this.keywords.test(r)){this.raise(t,"Unexpected keyword '"+r+"'")}if(this.options.ecmaVersion<6&&this.input.slice(t,i).indexOf("\\")!==-1){return}var n=this.strict?this.reservedWordsStrict:this.reservedWords;if(n.test(r)){if(!this.inAsync&&r==="await"){this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function")}this.raiseRecoverable(t,"The keyword '"+r+"' is reserved")}};oe.parseIdent=function(e,t){var i=this.startNode();if(this.type===v.name){i.name=this.value}else if(this.type.keyword){i.name=this.type.keyword;if((i.name==="class"||i.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)){this.context.pop()}}else{this.unexpected()}this.next(!!e);this.finishNode(i,"Identifier");if(!e){this.checkUnreserved(i);if(i.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=i.start}}return i};oe.parsePrivateIdent=function(){var e=this.startNode();if(this.type===v.privateId){e.name=this.value}else{this.unexpected()}this.next();this.finishNode(e,"PrivateIdentifier");if(this.privateNameStack.length===0){this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class")}else{this.privateNameStack[this.privateNameStack.length-1].used.push(e)}return e};oe.parseYield=function(e){if(!this.yieldPos){this.yieldPos=this.start}var t=this.startNode();this.next();if(this.type===v.semi||this.canInsertSemicolon()||this.type!==v.star&&!this.type.startsExpr){t.delegate=false;t.argument=null}else{t.delegate=this.eat(v.star);t.argument=this.parseMaybeAssign(e)}return this.finishNode(t,"YieldExpression")};oe.parseAwait=function(e){if(!this.awaitPos){this.awaitPos=this.start}var t=this.startNode();this.next();t.argument=this.parseMaybeUnary(null,true,false,e);return this.finishNode(t,"AwaitExpression")};var ce=z.prototype;ce.raise=function(e,t){var i=getLineInfo(this.input,e);t+=" ("+i.line+":"+i.column+")";var r=new SyntaxError(t);r.pos=e;r.loc=i;r.raisedAt=this.pos;throw r};ce.raiseRecoverable=ce.raise;ce.curPosition=function(){if(this.options.locations){return new A(this.curLine,this.pos-this.lineStart)}};var le=z.prototype;var fe=function Scope(e){this.flags=e;this.var=[];this.lexical=[];this.functions=[];this.inClassFieldInit=false};le.enterScope=function(e){this.scopeStack.push(new fe(e))};le.exitScope=function(){this.scopeStack.pop()};le.treatFunctionsAsVarInScope=function(e){return e.flags&N||!this.inModule&&e.flags&O};le.declareName=function(e,t,i){var r=false;if(t===W){var n=this.currentScope();r=n.lexical.indexOf(e)>-1||n.functions.indexOf(e)>-1||n.var.indexOf(e)>-1;n.lexical.push(e);if(this.inModule&&n.flags&O){delete this.undefinedExports[e]}}else if(t===G){var s=this.currentScope();s.lexical.push(e)}else if(t===q){var a=this.currentScope();if(this.treatFunctionsAsVar){r=a.lexical.indexOf(e)>-1}else{r=a.lexical.indexOf(e)>-1||a.var.indexOf(e)>-1}a.functions.push(e)}else{for(var o=this.scopeStack.length-1;o>=0;--o){var u=this.scopeStack[o];if(u.lexical.indexOf(e)>-1&&!(u.flags&P&&u.lexical[0]===e)||!this.treatFunctionsAsVarInScope(u)&&u.functions.indexOf(e)>-1){r=true;break}u.var.push(e);if(this.inModule&&u.flags&O){delete this.undefinedExports[e]}if(u.flags&D){break}}}if(r){this.raiseRecoverable(i,"Identifier '"+e+"' has already been declared")}};le.checkLocalExport=function(e){if(this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1){this.undefinedExports[e.name]=e}};le.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};le.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&D){return t}}};le.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&D&&!(t.flags&$)){return t}}};var he=function Node(e,t,i){this.type="";this.start=t;this.end=0;if(e.options.locations){this.loc=new k(e,i)}if(e.options.directSourceFile){this.sourceFile=e.options.directSourceFile}if(e.options.ranges){this.range=[t,0]}};var pe=z.prototype;pe.startNode=function(){return new he(this,this.start,this.startLoc)};pe.startNodeAt=function(e,t){return new he(this,e,t)};function finishNodeAt(e,t,i,r){e.type=t;e.end=i;if(this.options.locations){e.loc.end=r}if(this.options.ranges){e.range[1]=i}return e}pe.finishNode=function(e,t){return finishNodeAt.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};pe.finishNodeAt=function(e,t,i,r){return finishNodeAt.call(this,e,t,i,r)};pe.copyNode=function(e){var t=new he(this,e.start,this.startLoc);for(var i in e){t[i]=e[i]}return t};var de="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var ve=de+" Extended_Pictographic";var ye=ve;var ge=ye+" EBase EComp EMod EPres ExtPict";var be=ge;var me={9:de,10:ve,11:ye,12:ge,13:be};var _e="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var we="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var Ee=we+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var Se=Ee+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var xe=Se+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";var Re=xe+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith";var Ae={9:we,10:Ee,11:Se,12:xe,13:Re};var ke={};function buildUnicodeData(e){var t=ke[e]={binary:wordsRegexp(me[e]+" "+_e),nonBinary:{General_Category:wordsRegexp(_e),Script:wordsRegexp(Ae[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script;t.nonBinary.gc=t.nonBinary.General_Category;t.nonBinary.sc=t.nonBinary.Script;t.nonBinary.scx=t.nonBinary.Script_Extensions}for(var Te=0,Ce=[9,10,11,12,13];Te<Ce.length;Te+=1){var Oe=Ce[Te];buildUnicodeData(Oe)}var Ne=z.prototype;var je=function RegExpValidationState(e){this.parser=e;this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"")+(e.options.ecmaVersion>=13?"d":"");this.unicodeProperties=ke[e.options.ecmaVersion>=13?13:e.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};je.prototype.reset=function reset(e,t,i){var r=i.indexOf("u")!==-1;this.start=e|0;this.source=t+"";this.flags=i;this.switchU=r&&this.parser.options.ecmaVersion>=6;this.switchN=r&&this.parser.options.ecmaVersion>=9};je.prototype.raise=function raise(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)};je.prototype.at=function at(e,t){if(t===void 0)t=false;var i=this.source;var r=i.length;if(e>=r){return-1}var n=i.charCodeAt(e);if(!(t||this.switchU)||n<=55295||n>=57344||e+1>=r){return n}var s=i.charCodeAt(e+1);return s>=56320&&s<=57343?(n<<10)+s-56613888:n};je.prototype.nextIndex=function nextIndex(e,t){if(t===void 0)t=false;var i=this.source;var r=i.length;if(e>=r){return r}var n=i.charCodeAt(e),s;if(!(t||this.switchU)||n<=55295||n>=57344||e+1>=r||(s=i.charCodeAt(e+1))<56320||s>57343){return e+1}return e+2};je.prototype.current=function current(e){if(e===void 0)e=false;return this.at(this.pos,e)};je.prototype.lookahead=function lookahead(e){if(e===void 0)e=false;return this.at(this.nextIndex(this.pos,e),e)};je.prototype.advance=function advance(e){if(e===void 0)e=false;this.pos=this.nextIndex(this.pos,e)};je.prototype.eat=function eat(e,t){if(t===void 0)t=false;if(this.current(t)===e){this.advance(t);return true}return false};function codePointToString$1(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}Ne.validateRegExpFlags=function(e){var t=e.validFlags;var i=e.flags;for(var r=0;r<i.length;r++){var n=i.charAt(r);if(t.indexOf(n)===-1){this.raise(e.start,"Invalid regular expression flag")}if(i.indexOf(n,r+1)>-1){this.raise(e.start,"Duplicate regular expression flag")}}};Ne.validateRegExpPattern=function(e){this.regexp_pattern(e);if(!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0){e.switchN=true;this.regexp_pattern(e)}};Ne.regexp_pattern=function(e){e.pos=0;e.lastIntValue=0;e.lastStringValue="";e.lastAssertionIsQuantifiable=false;e.numCapturingParens=0;e.maxBackReference=0;e.groupNames.length=0;e.backReferenceNames.length=0;this.regexp_disjunction(e);if(e.pos!==e.source.length){if(e.eat(41)){e.raise("Unmatched ')'")}if(e.eat(93)||e.eat(125)){e.raise("Lone quantifier brackets")}}if(e.maxBackReference>e.numCapturingParens){e.raise("Invalid escape")}for(var t=0,i=e.backReferenceNames;t<i.length;t+=1){var r=i[t];if(e.groupNames.indexOf(r)===-1){e.raise("Invalid named capture referenced")}}};Ne.regexp_disjunction=function(e){this.regexp_alternative(e);while(e.eat(124)){this.regexp_alternative(e)}if(this.regexp_eatQuantifier(e,true)){e.raise("Nothing to repeat")}if(e.eat(123)){e.raise("Lone quantifier brackets")}};Ne.regexp_alternative=function(e){while(e.pos<e.source.length&&this.regexp_eatTerm(e)){}};Ne.regexp_eatTerm=function(e){if(this.regexp_eatAssertion(e)){if(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)){if(e.switchU){e.raise("Invalid quantifier")}}return true}if(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e)){this.regexp_eatQuantifier(e);return true}return false};Ne.regexp_eatAssertion=function(e){var t=e.pos;e.lastAssertionIsQuantifiable=false;if(e.eat(94)||e.eat(36)){return true}if(e.eat(92)){if(e.eat(66)||e.eat(98)){return true}e.pos=t}if(e.eat(40)&&e.eat(63)){var i=false;if(this.options.ecmaVersion>=9){i=e.eat(60)}if(e.eat(61)||e.eat(33)){this.regexp_disjunction(e);if(!e.eat(41)){e.raise("Unterminated group")}e.lastAssertionIsQuantifiable=!i;return true}}e.pos=t;return false};Ne.regexp_eatQuantifier=function(e,t){if(t===void 0)t=false;if(this.regexp_eatQuantifierPrefix(e,t)){e.eat(63);return true}return false};Ne.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};Ne.regexp_eatBracedQuantifier=function(e,t){var i=e.pos;if(e.eat(123)){var r=0,n=-1;if(this.regexp_eatDecimalDigits(e)){r=e.lastIntValue;if(e.eat(44)&&this.regexp_eatDecimalDigits(e)){n=e.lastIntValue}if(e.eat(125)){if(n!==-1&&n<r&&!t){e.raise("numbers out of order in {} quantifier")}return true}}if(e.switchU&&!t){e.raise("Incomplete quantifier")}e.pos=i}return false};Ne.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)};Ne.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e)){return true}e.pos=t}return false};Ne.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){this.regexp_disjunction(e);if(e.eat(41)){return true}e.raise("Unterminated group")}e.pos=t}return false};Ne.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9){this.regexp_groupSpecifier(e)}else if(e.current()===63){e.raise("Invalid group")}this.regexp_disjunction(e);if(e.eat(41)){e.numCapturingParens+=1;return true}e.raise("Unterminated group")}return false};Ne.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};Ne.regexp_eatInvalidBracedQuantifier=function(e){if(this.regexp_eatBracedQuantifier(e,true)){e.raise("Nothing to repeat")}return false};Ne.regexp_eatSyntaxCharacter=function(e){var t=e.current();if(isSyntaxCharacter(t)){e.lastIntValue=t;e.advance();return true}return false};function isSyntaxCharacter(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}Ne.regexp_eatPatternCharacters=function(e){var t=e.pos;var i=0;while((i=e.current())!==-1&&!isSyntaxCharacter(i)){e.advance()}return e.pos!==t};Ne.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();if(t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124){e.advance();return true}return false};Ne.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){if(e.groupNames.indexOf(e.lastStringValue)!==-1){e.raise("Duplicate capture group name")}e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};Ne.regexp_eatGroupName=function(e){e.lastStringValue="";if(e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62)){return true}e.raise("Invalid capture group name")}return false};Ne.regexp_eatRegExpIdentifierName=function(e){e.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(e)){e.lastStringValue+=codePointToString$1(e.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(e)){e.lastStringValue+=codePointToString$1(e.lastIntValue)}return true}return false};Ne.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos;var i=this.options.ecmaVersion>=11;var r=e.current(i);e.advance(i);if(r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)){r=e.lastIntValue}if(isRegExpIdentifierStart(r)){e.lastIntValue=r;return true}e.pos=t;return false};function isRegExpIdentifierStart(e){return isIdentifierStart(e,true)||e===36||e===95}Ne.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos;var i=this.options.ecmaVersion>=11;var r=e.current(i);e.advance(i);if(r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)){r=e.lastIntValue}if(isRegExpIdentifierPart(r)){e.lastIntValue=r;return true}e.pos=t;return false};function isRegExpIdentifierPart(e){return isIdentifierChar(e,true)||e===36||e===95||e===8204||e===8205}Ne.regexp_eatAtomEscape=function(e){if(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)){return true}if(e.switchU){if(e.current()===99){e.raise("Invalid unicode escape")}e.raise("Invalid escape")}return false};Ne.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var i=e.lastIntValue;if(e.switchU){if(i>e.maxBackReference){e.maxBackReference=i}return true}if(i<=e.numCapturingParens){return true}e.pos=t}return false};Ne.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e)){e.backReferenceNames.push(e.lastStringValue);return true}e.raise("Invalid named reference")}return false};Ne.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,false)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};Ne.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e)){return true}e.pos=t}return false};Ne.regexp_eatZero=function(e){if(e.current()===48&&!isDecimalDigit(e.lookahead())){e.lastIntValue=0;e.advance();return true}return false};Ne.regexp_eatControlEscape=function(e){var t=e.current();if(t===116){e.lastIntValue=9;e.advance();return true}if(t===110){e.lastIntValue=10;e.advance();return true}if(t===118){e.lastIntValue=11;e.advance();return true}if(t===102){e.lastIntValue=12;e.advance();return true}if(t===114){e.lastIntValue=13;e.advance();return true}return false};Ne.regexp_eatControlLetter=function(e){var t=e.current();if(isControlLetter(t)){e.lastIntValue=t%32;e.advance();return true}return false};function isControlLetter(e){return e>=65&&e<=90||e>=97&&e<=122}Ne.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){if(t===void 0)t=false;var i=e.pos;var r=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var n=e.lastIntValue;if(r&&n>=55296&&n<=56319){var s=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343){e.lastIntValue=(n-55296)*1024+(a-56320)+65536;return true}}e.pos=s;e.lastIntValue=n}return true}if(r&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&isValidUnicode(e.lastIntValue)){return true}if(r){e.raise("Invalid unicode escape")}e.pos=i}return false};function isValidUnicode(e){return e>=0&&e<=1114111}Ne.regexp_eatIdentityEscape=function(e){if(e.switchU){if(this.regexp_eatSyntaxCharacter(e)){return true}if(e.eat(47)){e.lastIntValue=47;return true}return false}var t=e.current();if(t!==99&&(!e.switchN||t!==107)){e.lastIntValue=t;e.advance();return true}return false};Ne.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48);e.advance()}while((t=e.current())>=48&&t<=57);return true}return false};Ne.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(isCharacterClassEscape(t)){e.lastIntValue=-1;e.advance();return true}if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){e.lastIntValue=-1;e.advance();if(e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125)){return true}e.raise("Invalid property name")}return false};function isCharacterClassEscape(e){return e===100||e===68||e===115||e===83||e===119||e===87}Ne.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var i=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(e,i,r);return true}}e.pos=t;if(this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var n=e.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(e,n);return true}return false};Ne.regexp_validateUnicodePropertyNameAndValue=function(e,t,i){if(!S(e.unicodeProperties.nonBinary,t)){e.raise("Invalid property name")}if(!e.unicodeProperties.nonBinary[t].test(i)){e.raise("Invalid property value")}};Ne.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(!e.unicodeProperties.binary.test(t)){e.raise("Invalid property name")}};Ne.regexp_eatUnicodePropertyName=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyNameCharacter(t=e.current())){e.lastStringValue+=codePointToString$1(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyNameCharacter(e){return isControlLetter(e)||e===95}Ne.regexp_eatUnicodePropertyValue=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyValueCharacter(t=e.current())){e.lastStringValue+=codePointToString$1(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyValueCharacter(e){return isUnicodePropertyNameCharacter(e)||isDecimalDigit(e)}Ne.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};Ne.regexp_eatCharacterClass=function(e){if(e.eat(91)){e.eat(94);this.regexp_classRanges(e);if(e.eat(93)){return true}e.raise("Unterminated character class")}return false};Ne.regexp_classRanges=function(e){while(this.regexp_eatClassAtom(e)){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var i=e.lastIntValue;if(e.switchU&&(t===-1||i===-1)){e.raise("Invalid character class")}if(t!==-1&&i!==-1&&t>i){e.raise("Range out of order in character class")}}}};Ne.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e)){return true}if(e.switchU){var i=e.current();if(i===99||isOctalDigit(i)){e.raise("Invalid class escape")}e.raise("Invalid escape")}e.pos=t}var r=e.current();if(r!==93){e.lastIntValue=r;e.advance();return true}return false};Ne.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98)){e.lastIntValue=8;return true}if(e.switchU&&e.eat(45)){e.lastIntValue=45;return true}if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e)){return true}e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};Ne.regexp_eatClassControlLetter=function(e){var t=e.current();if(isDecimalDigit(t)||t===95){e.lastIntValue=t%32;e.advance();return true}return false};Ne.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2)){return true}if(e.switchU){e.raise("Invalid escape")}e.pos=t}return false};Ne.regexp_eatDecimalDigits=function(e){var t=e.pos;var i=0;e.lastIntValue=0;while(isDecimalDigit(i=e.current())){e.lastIntValue=10*e.lastIntValue+(i-48);e.advance()}return e.pos!==t};function isDecimalDigit(e){return e>=48&&e<=57}Ne.regexp_eatHexDigits=function(e){var t=e.pos;var i=0;e.lastIntValue=0;while(isHexDigit(i=e.current())){e.lastIntValue=16*e.lastIntValue+hexToInt(i);e.advance()}return e.pos!==t};function isHexDigit(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexToInt(e){if(e>=65&&e<=70){return 10+(e-65)}if(e>=97&&e<=102){return 10+(e-97)}return e-48}Ne.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var i=e.lastIntValue;if(t<=3&&this.regexp_eatOctalDigit(e)){e.lastIntValue=t*64+i*8+e.lastIntValue}else{e.lastIntValue=t*8+i}}else{e.lastIntValue=t}return true}return false};Ne.regexp_eatOctalDigit=function(e){var t=e.current();if(isOctalDigit(t)){e.lastIntValue=t-48;e.advance();return true}e.lastIntValue=0;return false};function isOctalDigit(e){return e>=48&&e<=55}Ne.regexp_eatFixedHexDigits=function(e,t){var i=e.pos;e.lastIntValue=0;for(var r=0;r<t;++r){var n=e.current();if(!isHexDigit(n)){e.pos=i;return false}e.lastIntValue=16*e.lastIntValue+hexToInt(n);e.advance()}return true};var Ie=function Token(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;if(e.options.locations){this.loc=new k(e,e.startLoc,e.endLoc)}if(e.options.ranges){this.range=[e.start,e.end]}};var $e=z.prototype;$e.next=function(e){if(!e&&this.type.keyword&&this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword)}if(this.options.onToken){this.options.onToken(new Ie(this))}this.lastTokEnd=this.end;this.lastTokStart=this.start;this.lastTokEndLoc=this.endLoc;this.lastTokStartLoc=this.startLoc;this.nextToken()};$e.getToken=function(){this.next();return new Ie(this)};if(typeof Symbol!=="undefined"){$e[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===v.eof,value:t}}}}}$e.nextToken=function(){var e=this.curContext();if(!e||!e.preserveSpace){this.skipSpace()}this.start=this.pos;if(this.options.locations){this.startLoc=this.curPosition()}if(this.pos>=this.input.length){return this.finishToken(v.eof)}if(e.override){return e.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};$e.readToken=function(e){if(isIdentifierStart(e,this.options.ecmaVersion>=6)||e===92){return this.readWord()}return this.getTokenFromCode(e)};$e.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320){return e}var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888};$e.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition();var t=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(i===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=i+2;if(this.options.locations){for(var r=void 0,n=t;(r=nextLineBreak(this.input,n,this.pos))>-1;){++this.curLine;n=this.lineStart=r}}if(this.options.onComment){this.options.onComment(true,this.input.slice(t+2,i),t,this.pos,e,this.curPosition())}};$e.skipLineComment=function(e){var t=this.pos;var i=this.options.onComment&&this.curPosition();var r=this.input.charCodeAt(this.pos+=e);while(this.pos<this.input.length&&!isNewLine(r)){r=this.input.charCodeAt(++this.pos)}if(this.options.onComment){this.options.onComment(false,this.input.slice(t+e,this.pos),t,this.pos,i,this.curPosition())}};$e.skipSpace=function(){e:while(this.pos<this.input.length){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:if(this.input.charCodeAt(this.pos+1)===10){++this.pos}case 10:case 8232:case 8233:++this.pos;if(this.options.locations){++this.curLine;this.lineStart=this.pos}break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&b.test(String.fromCharCode(e))){++this.pos}else{break e}}}};$e.finishToken=function(e,t){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var i=this.type;this.type=e;this.value=t;this.updateContext(i)};$e.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57){return this.readNumber(true)}var t=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&e===46&&t===46){this.pos+=3;return this.finishToken(v.ellipsis)}else{++this.pos;return this.finishToken(v.dot)}};$e.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(e===61){return this.finishOp(v.assign,2)}return this.finishOp(v.slash,1)};$e.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1);var i=1;var r=e===42?v.star:v.modulo;if(this.options.ecmaVersion>=7&&e===42&&t===42){++i;r=v.starstar;t=this.input.charCodeAt(this.pos+2)}if(t===61){return this.finishOp(v.assign,i+1)}return this.finishOp(r,i)};$e.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61){return this.finishOp(v.assign,3)}}return this.finishOp(e===124?v.logicalOR:v.logicalAND,2)}if(t===61){return this.finishOp(v.assign,2)}return this.finishOp(e===124?v.bitwiseOR:v.bitwiseAND,1)};$e.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);if(e===61){return this.finishOp(v.assign,2)}return this.finishOp(v.bitwiseXOR,1)};$e.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||y.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(v.incDec,2)}if(t===61){return this.finishOp(v.assign,2)}return this.finishOp(v.plusMin,1)};$e.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1);var i=1;if(t===e){i=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+i)===61){return this.finishOp(v.assign,i+1)}return this.finishOp(v.bitShift,i)}if(t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(t===61){i=2}return this.finishOp(v.relational,i)};$e.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===61){return this.finishOp(v.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(e===61&&t===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(v.arrow)}return this.finishOp(e===61?v.eq:v.prefix,1)};$e.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var i=this.input.charCodeAt(this.pos+2);if(i<48||i>57){return this.finishOp(v.questionDot,2)}}if(t===63){if(e>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61){return this.finishOp(v.assign,3)}}return this.finishOp(v.coalesce,2)}}return this.finishOp(v.question,1)};$e.readToken_numberSign=function(){var e=this.options.ecmaVersion;var t=35;if(e>=13){++this.pos;t=this.fullCharCodeAtPos();if(isIdentifierStart(t,true)||t===92){return this.finishToken(v.privateId,this.readWord1())}}this.raise(this.pos,"Unexpected character '"+codePointToString(t)+"'")};$e.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(v.parenL);case 41:++this.pos;return this.finishToken(v.parenR);case 59:++this.pos;return this.finishToken(v.semi);case 44:++this.pos;return this.finishToken(v.comma);case 91:++this.pos;return this.finishToken(v.bracketL);case 93:++this.pos;return this.finishToken(v.bracketR);case 123:++this.pos;return this.finishToken(v.braceL);case 125:++this.pos;return this.finishToken(v.braceR);case 58:++this.pos;return this.finishToken(v.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(v.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(t===111||t===79){return this.readRadixNumber(8)}if(t===98||t===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(v.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+codePointToString(e)+"'")};$e.finishOp=function(e,t){var i=this.input.slice(this.pos,this.pos+t);this.pos+=t;return this.finishToken(e,i)};$e.readRegexp=function(){var e,t,i=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(i,"Unterminated regular expression")}var r=this.input.charAt(this.pos);if(y.test(r)){this.raise(i,"Unterminated regular expression")}if(!e){if(r==="["){t=true}else if(r==="]"&&t){t=false}else if(r==="/"&&!t){break}e=r==="\\"}else{e=false}++this.pos}var n=this.input.slice(i,this.pos);++this.pos;var s=this.pos;var a=this.readWord1();if(this.containsEsc){this.unexpected(s)}var o=this.regexpState||(this.regexpState=new je(this));o.reset(i,n,a);this.validateRegExpFlags(o);this.validateRegExpPattern(o);var u=null;try{u=new RegExp(n,a)}catch(e){}return this.finishToken(v.regexp,{pattern:n,flags:a,value:u})};$e.readInt=function(e,t,i){var r=this.options.ecmaVersion>=12&&t===undefined;var n=i&&this.input.charCodeAt(this.pos)===48;var s=this.pos,a=0,o=0;for(var u=0,c=t==null?Infinity:t;u<c;++u,++this.pos){var l=this.input.charCodeAt(this.pos),f=void 0;if(r&&l===95){if(n){this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals")}if(o===95){this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore")}if(u===0){this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits")}o=l;continue}if(l>=97){f=l-97+10}else if(l>=65){f=l-65+10}else if(l>=48&&l<=57){f=l-48}else{f=Infinity}if(f>=e){break}o=l;a=a*e+f}if(r&&o===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===s||t!=null&&this.pos-s!==t){return null}return a};function stringToNumber(e,t){if(t){return parseInt(e,8)}return parseFloat(e.replace(/_/g,""))}function stringToBigInt(e){if(typeof BigInt!=="function"){return null}return BigInt(e.replace(/_/g,""))}$e.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var i=this.readInt(e);if(i==null){this.raise(this.start+2,"Expected number in radix "+e)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){i=stringToBigInt(this.input.slice(t,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(v.num,i)};$e.readNumber=function(e){var t=this.pos;if(!e&&this.readInt(10,undefined,true)===null){this.raise(t,"Invalid number")}var i=this.pos-t>=2&&this.input.charCodeAt(t)===48;if(i&&this.strict){this.raise(t,"Invalid number")}var r=this.input.charCodeAt(this.pos);if(!i&&!e&&this.options.ecmaVersion>=11&&r===110){var n=stringToBigInt(this.input.slice(t,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(v.num,n)}if(i&&/[89]/.test(this.input.slice(t,this.pos))){i=false}if(r===46&&!i){++this.pos;this.readInt(10);r=this.input.charCodeAt(this.pos)}if((r===69||r===101)&&!i){r=this.input.charCodeAt(++this.pos);if(r===43||r===45){++this.pos}if(this.readInt(10)===null){this.raise(t,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var s=stringToNumber(this.input.slice(t,this.pos),i);return this.finishToken(v.num,s)};$e.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){if(this.options.ecmaVersion<6){this.unexpected()}var i=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(t>1114111){this.invalidStringToken(i,"Code point out of bounds")}}else{t=this.readHexChar(4)}return t};function codePointToString(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}$e.readString=function(e){var t="",i=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var r=this.input.charCodeAt(this.pos);if(r===e){break}if(r===92){t+=this.input.slice(i,this.pos);t+=this.readEscapedChar(false);i=this.pos}else if(r===8232||r===8233){if(this.options.ecmaVersion<10){this.raise(this.start,"Unterminated string constant")}++this.pos;if(this.options.locations){this.curLine++;this.lineStart=this.pos}}else{if(isNewLine(r)){this.raise(this.start,"Unterminated string constant")}++this.pos}}t+=this.input.slice(i,this.pos++);return this.finishToken(v.string,t)};var Pe={};$e.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(e){if(e===Pe){this.readInvalidTemplateToken()}else{throw e}}this.inTemplateElement=false};$e.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Pe}else{this.raise(e,t)}};$e.readTmplToken=function(){var e="",t=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var i=this.input.charCodeAt(this.pos);if(i===96||i===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===v.template||this.type===v.invalidTemplate)){if(i===36){this.pos+=2;return this.finishToken(v.dollarBraceL)}else{++this.pos;return this.finishToken(v.backQuote)}}e+=this.input.slice(t,this.pos);return this.finishToken(v.template,e)}if(i===92){e+=this.input.slice(t,this.pos);e+=this.readEscapedChar(true);t=this.pos}else if(isNewLine(i)){e+=this.input.slice(t,this.pos);++this.pos;switch(i){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(i);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}t=this.pos}else{++this.pos}}};$e.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++){switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{"){break}case"`":return this.finishToken(v.invalidTemplate,this.input.slice(this.start,this.pos))}}this.raise(this.start,"Unterminated template")};$e.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);++this.pos;switch(t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return codePointToString(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:if(this.options.locations){this.lineStart=this.pos;++this.curLine}return"";case 56:case 57:if(this.strict){this.invalidStringToken(this.pos-1,"Invalid escape sequence")}if(e){var i=this.pos-1;this.invalidStringToken(i,"Invalid escape sequence in template string");return null}default:if(t>=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var n=parseInt(r,8);if(n>255){r=r.slice(0,-1);n=parseInt(r,8)}this.pos+=r.length-1;t=this.input.charCodeAt(this.pos);if((r!=="0"||t===56||t===57)&&(this.strict||e)){this.invalidStringToken(this.pos-1-r.length,e?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode(n)}if(isNewLine(t)){return""}return String.fromCharCode(t)}};$e.readHexChar=function(e){var t=this.pos;var i=this.readInt(16,e);if(i===null){this.invalidStringToken(t,"Bad character escape sequence")}return i};$e.readWord1=function(){this.containsEsc=false;var e="",t=true,i=this.pos;var r=this.options.ecmaVersion>=6;while(this.pos<this.input.length){var n=this.fullCharCodeAtPos();if(isIdentifierChar(n,r)){this.pos+=n<=65535?1:2}else if(n===92){this.containsEsc=true;e+=this.input.slice(i,this.pos);var s=this.pos;if(this.input.charCodeAt(++this.pos)!==117){this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX")}++this.pos;var a=this.readCodePoint();if(!(t?isIdentifierStart:isIdentifierChar)(a,r)){this.invalidStringToken(s,"Invalid Unicode escape")}e+=codePointToString(a);i=this.pos}else{break}t=false}return e+this.input.slice(i,this.pos)};$e.readWord=function(){var e=this.readWord1();var t=v.name;if(this.keywords.test(e)){t=d[e]}return this.finishToken(t,e)};var Fe="8.7.0";z.acorn={Parser:z,version:Fe,defaultOptions:T,Position:A,SourceLocation:k,getLineInfo:getLineInfo,Node:he,TokenType:f,tokTypes:v,keywordTypes:d,TokContext:ne,tokContexts:se,isIdentifierChar:isIdentifierChar,isIdentifierStart:isIdentifierStart,Token:Ie,isNewLine:isNewLine,lineBreak:y,lineBreakG:g,nonASCIIwhitespace:b};function parse(e,t){return z.parse(e,t)}function parseExpressionAt(e,t,i){return z.parseExpressionAt(e,t,i)}function tokenizer(e,t){return z.tokenizer(e,t)}e.Node=he;e.Parser=z;e.Position=A;e.SourceLocation=k;e.TokContext=ne;e.Token=Ie;e.TokenType=f;e.defaultOptions=T;e.getLineInfo=getLineInfo;e.isIdentifierChar=isIdentifierChar;e.isIdentifierStart=isIdentifierStart;e.isNewLine=isNewLine;e.keywordTypes=d;e.lineBreak=y;e.lineBreakG=g;e.nonASCIIwhitespace=b;e.parse=parse;e.parseExpressionAt=parseExpressionAt;e.tokContexts=se;e.tokTypes=v;e.tokenizer=tokenizer;e.version=Fe;Object.defineProperty(e,"__esModule",{value:true})})},31:e=>{"use strict";e.exports=clone;var t=Object.getPrototypeOf||function(e){return e.__proto__};function clone(e){if(e===null||typeof e!=="object")return e;if(e instanceof Object)var i={__proto__:t(e)};else var i=Object.create(null);Object.getOwnPropertyNames(e).forEach(function(t){Object.defineProperty(i,t,Object.getOwnPropertyDescriptor(e,t))});return i}},2029:(e,t,i)=>{var r=i(5747);var n=i(2443);var s=i(4917);var a=i(31);var o=i(1669);var u;var c;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){u=Symbol.for("graceful-fs.queue");c=Symbol.for("graceful-fs.previous")}else{u="___graceful-fs.queue";c="___graceful-fs.previous"}function noop(){}function publishQueue(e,t){Object.defineProperty(e,u,{get:function(){return t}})}var l=noop;if(o.debuglog)l=o.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))l=function(){var e=o.format.apply(o,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: ");console.error(e)};if(!r[u]){var f=global[u]||[];publishQueue(r,f);r.close=function(e){function close(t,i){return e.call(r,t,function(e){if(!e){resetQueue()}if(typeof i==="function")i.apply(this,arguments)})}Object.defineProperty(close,c,{value:e});return close}(r.close);r.closeSync=function(e){function closeSync(t){e.apply(r,arguments);resetQueue()}Object.defineProperty(closeSync,c,{value:e});return closeSync}(r.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",function(){l(r[u]);i(2357).equal(r[u].length,0)})}}if(!global[u]){publishQueue(global,r[u])}e.exports=patch(a(r));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!r.__patched){e.exports=patch(r);r.__patched=true}function patch(e){n(e);e.gracefulify=patch;e.createReadStream=createReadStream;e.createWriteStream=createWriteStream;var t=e.readFile;e.readFile=readFile;function readFile(e,i,r){if(typeof i==="function")r=i,i=null;return go$readFile(e,i,r);function go$readFile(e,i,r,n){return t(e,i,function(t){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))enqueue([go$readFile,[e,i,r],t,n||Date.now(),Date.now()]);else{if(typeof r==="function")r.apply(this,arguments)}})}}var i=e.writeFile;e.writeFile=writeFile;function writeFile(e,t,r,n){if(typeof r==="function")n=r,r=null;return go$writeFile(e,t,r,n);function go$writeFile(e,t,r,n,s){return i(e,t,r,function(i){if(i&&(i.code==="EMFILE"||i.code==="ENFILE"))enqueue([go$writeFile,[e,t,r,n],i,s||Date.now(),Date.now()]);else{if(typeof n==="function")n.apply(this,arguments)}})}}var r=e.appendFile;if(r)e.appendFile=appendFile;function appendFile(e,t,i,n){if(typeof i==="function")n=i,i=null;return go$appendFile(e,t,i,n);function go$appendFile(e,t,i,n,s){return r(e,t,i,function(r){if(r&&(r.code==="EMFILE"||r.code==="ENFILE"))enqueue([go$appendFile,[e,t,i,n],r,s||Date.now(),Date.now()]);else{if(typeof n==="function")n.apply(this,arguments)}})}}var a=e.copyFile;if(a)e.copyFile=copyFile;function copyFile(e,t,i,r){if(typeof i==="function"){r=i;i=0}return go$copyFile(e,t,i,r);function go$copyFile(e,t,i,r,n){return a(e,t,i,function(s){if(s&&(s.code==="EMFILE"||s.code==="ENFILE"))enqueue([go$copyFile,[e,t,i,r],s,n||Date.now(),Date.now()]);else{if(typeof r==="function")r.apply(this,arguments)}})}}var o=e.readdir;e.readdir=readdir;function readdir(e,t,i){if(typeof t==="function")i=t,t=null;return go$readdir(e,t,i);function go$readdir(e,t,i,r){return o(e,t,function(n,s){if(n&&(n.code==="EMFILE"||n.code==="ENFILE"))enqueue([go$readdir,[e,t,i],n,r||Date.now(),Date.now()]);else{if(s&&s.sort)s.sort();if(typeof i==="function")i.call(this,n,s)}})}}if(process.version.substr(0,4)==="v0.8"){var u=s(e);ReadStream=u.ReadStream;WriteStream=u.WriteStream}var c=e.ReadStream;if(c){ReadStream.prototype=Object.create(c.prototype);ReadStream.prototype.open=ReadStream$open}var l=e.WriteStream;if(l){WriteStream.prototype=Object.create(l.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(e,"ReadStream",{get:function(){return ReadStream},set:function(e){ReadStream=e},enumerable:true,configurable:true});Object.defineProperty(e,"WriteStream",{get:function(){return WriteStream},set:function(e){WriteStream=e},enumerable:true,configurable:true});var f=ReadStream;Object.defineProperty(e,"FileReadStream",{get:function(){return f},set:function(e){f=e},enumerable:true,configurable:true});var h=WriteStream;Object.defineProperty(e,"FileWriteStream",{get:function(){return h},set:function(e){h=e},enumerable:true,configurable:true});function ReadStream(e,t){if(this instanceof ReadStream)return c.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var e=this;open(e.path,e.flags,e.mode,function(t,i){if(t){if(e.autoClose)e.destroy();e.emit("error",t)}else{e.fd=i;e.emit("open",i);e.read()}})}function WriteStream(e,t){if(this instanceof WriteStream)return l.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var e=this;open(e.path,e.flags,e.mode,function(t,i){if(t){e.destroy();e.emit("error",t)}else{e.fd=i;e.emit("open",i)}})}function createReadStream(t,i){return new e.ReadStream(t,i)}function createWriteStream(t,i){return new e.WriteStream(t,i)}var p=e.open;e.open=open;function open(e,t,i,r){if(typeof i==="function")r=i,i=null;return go$open(e,t,i,r);function go$open(e,t,i,r,n){return p(e,t,i,function(s,a){if(s&&(s.code==="EMFILE"||s.code==="ENFILE"))enqueue([go$open,[e,t,i,r],s,n||Date.now(),Date.now()]);else{if(typeof r==="function")r.apply(this,arguments)}})}}return e}function enqueue(e){l("ENQUEUE",e[0].name,e[1]);r[u].push(e);retry()}var h;function resetQueue(){var e=Date.now();for(var t=0;t<r[u].length;++t){if(r[u][t].length>2){r[u][t][3]=e;r[u][t][4]=e}}retry()}function retry(){clearTimeout(h);h=undefined;if(r[u].length===0)return;var e=r[u].shift();var t=e[0];var i=e[1];var n=e[2];var s=e[3];var a=e[4];if(s===undefined){l("RETRY",t.name,i);t.apply(null,i)}else if(Date.now()-s>=6e4){l("TIMEOUT",t.name,i);var o=i.pop();if(typeof o==="function")o.call(null,n)}else{var c=Date.now()-a;var f=Math.max(a-s,1);var p=Math.min(f*1.2,100);if(c>=p){l("RETRY",t.name,i);t.apply(null,i.concat([s]))}else{r[u].push(e)}}if(h===undefined){h=setTimeout(retry,0)}}},4917:(e,t,i)=>{var r=i(2413).Stream;e.exports=legacy;function legacy(e){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(t,i){if(!(this instanceof ReadStream))return new ReadStream(t,i);r.call(this);var n=this;this.path=t;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;i=i||{};var s=Object.keys(i);for(var a=0,o=s.length;a<o;a++){var u=s[a];this[u]=i[u]}if(this.encoding)this.setEncoding(this.encoding);if(this.start!==undefined){if("number"!==typeof this.start){throw TypeError("start must be a Number")}if(this.end===undefined){this.end=Infinity}else if("number"!==typeof this.end){throw TypeError("end must be a Number")}if(this.start>this.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick(function(){n._read()});return}e.open(this.path,this.flags,this.mode,function(e,t){if(e){n.emit("error",e);n.readable=false;return}n.fd=t;n.emit("open",t);n._read()})}function WriteStream(t,i){if(!(this instanceof WriteStream))return new WriteStream(t,i);r.call(this);this.path=t;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;i=i||{};var n=Object.keys(i);for(var s=0,a=n.length;s<a;s++){var o=n[s];this[o]=i[o]}if(this.start!==undefined){if("number"!==typeof this.start){throw TypeError("start must be a Number")}if(this.start<0){throw new Error("start must be >= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=e.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},2443:(e,t,i)=>{var r=i(7619);var n=process.cwd;var s=null;var a=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!s)s=n.call(process);return s};try{process.cwd()}catch(e){}if(typeof process.chdir==="function"){var o=process.chdir;process.chdir=function(e){s=null;o.call(process,e)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,o)}e.exports=patch;function patch(e){if(r.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(e)}if(!e.lutimes){patchLutimes(e)}e.chown=chownFix(e.chown);e.fchown=chownFix(e.fchown);e.lchown=chownFix(e.lchown);e.chmod=chmodFix(e.chmod);e.fchmod=chmodFix(e.fchmod);e.lchmod=chmodFix(e.lchmod);e.chownSync=chownFixSync(e.chownSync);e.fchownSync=chownFixSync(e.fchownSync);e.lchownSync=chownFixSync(e.lchownSync);e.chmodSync=chmodFixSync(e.chmodSync);e.fchmodSync=chmodFixSync(e.fchmodSync);e.lchmodSync=chmodFixSync(e.lchmodSync);e.stat=statFix(e.stat);e.fstat=statFix(e.fstat);e.lstat=statFix(e.lstat);e.statSync=statFixSync(e.statSync);e.fstatSync=statFixSync(e.fstatSync);e.lstatSync=statFixSync(e.lstatSync);if(!e.lchmod){e.lchmod=function(e,t,i){if(i)process.nextTick(i)};e.lchmodSync=function(){}}if(!e.lchown){e.lchown=function(e,t,i,r){if(r)process.nextTick(r)};e.lchownSync=function(){}}if(a==="win32"){e.rename=function(t){return function(i,r,n){var s=Date.now();var a=0;t(i,r,function CB(o){if(o&&(o.code==="EACCES"||o.code==="EPERM")&&Date.now()-s<6e4){setTimeout(function(){e.stat(r,function(e,s){if(e&&e.code==="ENOENT")t(i,r,CB);else n(o)})},a);if(a<100)a+=10;return}if(n)n(o)})}}(e.rename)}e.read=function(t){function read(i,r,n,s,a,o){var u;if(o&&typeof o==="function"){var c=0;u=function(l,f,h){if(l&&l.code==="EAGAIN"&&c<10){c++;return t.call(e,i,r,n,s,a,u)}o.apply(this,arguments)}}return t.call(e,i,r,n,s,a,u)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,t);return read}(e.read);e.readSync=function(t){return function(i,r,n,s,a){var o=0;while(true){try{return t.call(e,i,r,n,s,a)}catch(e){if(e.code==="EAGAIN"&&o<10){o++;continue}throw e}}}}(e.readSync);function patchLchmod(e){e.lchmod=function(t,i,n){e.open(t,r.O_WRONLY|r.O_SYMLINK,i,function(t,r){if(t){if(n)n(t);return}e.fchmod(r,i,function(t){e.close(r,function(e){if(n)n(t||e)})})})};e.lchmodSync=function(t,i){var n=e.openSync(t,r.O_WRONLY|r.O_SYMLINK,i);var s=true;var a;try{a=e.fchmodSync(n,i);s=false}finally{if(s){try{e.closeSync(n)}catch(e){}}else{e.closeSync(n)}}return a}}function patchLutimes(e){if(r.hasOwnProperty("O_SYMLINK")){e.lutimes=function(t,i,n,s){e.open(t,r.O_SYMLINK,function(t,r){if(t){if(s)s(t);return}e.futimes(r,i,n,function(t){e.close(r,function(e){if(s)s(t||e)})})})};e.lutimesSync=function(t,i,n){var s=e.openSync(t,r.O_SYMLINK);var a;var o=true;try{a=e.futimesSync(s,i,n);o=false}finally{if(o){try{e.closeSync(s)}catch(e){}}else{e.closeSync(s)}}return a}}else{e.lutimes=function(e,t,i,r){if(r)process.nextTick(r)};e.lutimesSync=function(){}}}function chmodFix(t){if(!t)return t;return function(i,r,n){return t.call(e,i,r,function(e){if(chownErOk(e))e=null;if(n)n.apply(this,arguments)})}}function chmodFixSync(t){if(!t)return t;return function(i,r){try{return t.call(e,i,r)}catch(e){if(!chownErOk(e))throw e}}}function chownFix(t){if(!t)return t;return function(i,r,n,s){return t.call(e,i,r,n,function(e){if(chownErOk(e))e=null;if(s)s.apply(this,arguments)})}}function chownFixSync(t){if(!t)return t;return function(i,r,n){try{return t.call(e,i,r,n)}catch(e){if(!chownErOk(e))throw e}}}function statFix(t){if(!t)return t;return function(i,r,n){if(typeof r==="function"){n=r;r=null}function callback(e,t){if(t){if(t.uid<0)t.uid+=4294967296;if(t.gid<0)t.gid+=4294967296}if(n)n.apply(this,arguments)}return r?t.call(e,i,r,callback):t.call(e,i,callback)}}function statFixSync(t){if(!t)return t;return function(i,r){var n=r?t.call(e,i,r):t.call(e,i);if(n){if(n.uid<0)n.uid+=4294967296;if(n.gid<0)n.gid+=4294967296}return n}}function chownErOk(e){if(!e)return true;if(e.code==="ENOSYS")return true;var t=!process.getuid||process.getuid()!==0;if(t){if(e.code==="EINVAL"||e.code==="EPERM")return true}return false}}},1189:(e,t,i)=>{"use strict";const r=i(1669);const n=i(538);const s=i(9138);const a=i(2924);const o=e=>typeof e==="string"&&(e===""||e==="./");const u=(e,t,i)=>{t=[].concat(t);e=[].concat(e);let r=new Set;let n=new Set;let a=new Set;let o=0;let u=e=>{a.add(e.output);if(i&&i.onResult){i.onResult(e)}};for(let a=0;a<t.length;a++){let c=s(String(t[a]),{...i,onResult:u},true);let l=c.state.negated||c.state.negatedExtglob;if(l)o++;for(let t of e){let e=c(t,true);let i=l?!e.isMatch:e.isMatch;if(!i)continue;if(l){r.add(e.output)}else{r.delete(e.output);n.add(e.output)}}}let c=o===t.length?[...a]:[...n];let l=c.filter(e=>!r.has(e));if(i&&l.length===0){if(i.failglob===true){throw new Error(`No matches found for "${t.join(", ")}"`)}if(i.nonull===true||i.nullglob===true){return i.unescape?t.map(e=>e.replace(/\\/g,"")):t}}return l};u.match=u;u.matcher=((e,t)=>s(e,t));u.isMatch=((e,t,i)=>s(t,i)(e));u.any=u.isMatch;u.not=((e,t,i={})=>{t=[].concat(t).map(String);let r=new Set;let n=[];let s=e=>{if(i.onResult)i.onResult(e);n.push(e.output)};let a=u(e,t,{...i,onResult:s});for(let e of n){if(!a.includes(e)){r.add(e)}}return[...r]});u.contains=((e,t,i)=>{if(typeof e!=="string"){throw new TypeError(`Expected a string: "${r.inspect(e)}"`)}if(Array.isArray(t)){return t.some(t=>u.contains(e,t,i))}if(typeof t==="string"){if(o(e)||o(t)){return false}if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t)){return true}}return u.isMatch(e,t,{...i,contains:true})});u.matchKeys=((e,t,i)=>{if(!a.isObject(e)){throw new TypeError("Expected the first argument to be an object")}let r=u(Object.keys(e),t,i);let n={};for(let t of r)n[t]=e[t];return n});u.some=((e,t,i)=>{let r=[].concat(e);for(let e of[].concat(t)){let t=s(String(e),i);if(r.some(e=>t(e))){return true}}return false});u.every=((e,t,i)=>{let r=[].concat(e);for(let e of[].concat(t)){let t=s(String(e),i);if(!r.every(e=>t(e))){return false}}return true});u.all=((e,t,i)=>{if(typeof e!=="string"){throw new TypeError(`Expected a string: "${r.inspect(e)}"`)}return[].concat(t).every(t=>s(t,i)(e))});u.capture=((e,t,i)=>{let r=a.isWindows(i);let n=s.makeRe(String(e),{...i,capture:true});let o=n.exec(r?a.toPosixSlashes(t):t);if(o){return o.slice(1).map(e=>e===void 0?"":e)}});u.makeRe=((...e)=>s.makeRe(...e));u.scan=((...e)=>s.scan(...e));u.parse=((e,t)=>{let i=[];for(let r of[].concat(e||[])){for(let e of n(String(r),t)){i.push(s.parse(e,t))}}return i});u.braces=((e,t)=>{if(typeof e!=="string")throw new TypeError("Expected a string");if(t&&t.nobrace===true||!/\{.*\}/.test(e)){return[e]}return n(e,t)});u.braceExpand=((e,t)=>{if(typeof e!=="string")throw new TypeError("Expected a string");return u.braces(e,{...t,expand:true})});e.exports=u},8827:function(e,t,i){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const n=r(i(5622));const s=i(7586);const a=i(5401);const o=i(875);const u=r(i(5706));const c=i(5078);const l=r(i(3700));const f=i(7468);const h=i(2774);const p=i(216);const d=r(i(5735));const v=r(i(2278));const y=r(i(3277));const g=r(i(111));const b=i(8835);const m=i(7488).asyncWalk;const _=o.Parser.extend();const w=r(i(2087));const E=i(2005);const S=r(i(2753));const x={cwd:()=>{return U},env:{NODE_ENV:a.UNKNOWN,[a.UNKNOWN]:true},[a.UNKNOWN]:true};const R=Symbol();const A=Symbol();const k=Symbol();const T=Symbol();const C=Symbol();const O=Symbol();const N=Symbol();const j=Symbol();const I=Symbol();const $={access:O,accessSync:O,createReadStream:O,exists:O,existsSync:O,fstat:O,fstatSync:O,lstat:O,lstatSync:O,open:O,readdir:N,readdirSync:N,readFile:O,readFileSync:O,stat:O,statSync:O};const P=Object.assign(Object.create(null),{bindings:{default:j},express:{default:function(){return{[a.UNKNOWN]:true,set:R,engine:A}}},fs:Object.assign({default:$},$),process:Object.assign({default:x},x),path:{default:{}},os:Object.assign({default:w.default},w.default),"@mapbox/node-pre-gyp":Object.assign({default:g.default},g.default),"node-pre-gyp":h.pregyp,"node-pre-gyp/lib/pre-binding":h.pregyp,"node-pre-gyp/lib/pre-binding.js":h.pregyp,"node-gyp-build":{default:I},nbind:{init:k,default:{init:k}},"resolve-from":{default:S.default},"strong-globalize":{default:{SetRootDir:T},SetRootDir:T},pkginfo:{default:C}});const F={_interopRequireDefault:p.normalizeDefaultRequire,_interopRequireWildcard:p.normalizeWildcardRequire,__importDefault:p.normalizeDefaultRequire,__importStar:p.normalizeWildcardRequire,MONGOOSE_DRIVER_PATH:undefined,URL:b.URL,Object:{assign:Object.assign}};F.global=F.GLOBAL=F.globalThis=F;const L=Symbol();h.pregyp.find[L]=true;const B=P.path;Object.keys(n.default).forEach(e=>{const t=n.default[e];if(typeof t==="function"){const i=function mockPath(){return t.apply(mockPath,arguments)};i[L]=true;B[e]=B.default[e]=i}else{B[e]=B.default[e]=t}});B.resolve=B.default.resolve=function(...e){return n.default.resolve.apply(this,[U,...e])};B.resolve[L]=true;const D=new Set([".h",".cmake",".c",".cpp"]);const H=new Set(["CHANGELOG.md","README.md","readme.md","changelog.md"]);let U;const W=/^\/[^\/]+|^[a-z]:[\\/][^\\/]+/i;function isAbsolutePathOrUrl(e){if(e instanceof b.URL)return e.protocol==="file:";if(typeof e==="string"){if(e.startsWith("file:")){try{new b.URL(e);return true}catch(e){return false}}return W.test(e)}return false}const q=Symbol();const G=/([\/\\]\*\*[\/\\]\*)+/g;async function analyze(e,t,i){const r=new Set;const o=new Set;const p=new Set;const g=n.default.dirname(e);U=i.cwd;const w=f.getPackageBase(e);const $=e=>{if(!i.analysis.emitGlobs)return;const t=e.indexOf(a.WILDCARD);const s=t===-1?e.length:e.lastIndexOf(n.default.sep,t);const o=e.substring(0,s);const u=e.slice(s);const c=u.replace(a.wildcardRegEx,(e,t)=>{return u[t-1]===n.default.sep?"**/*":"*"}).replace(G,"/**/*")||"/**/*";if(i.ignoreFn(n.default.relative(i.base,o+c)))return;B=B.then(async()=>{if(i.log)console.log("Globbing "+o+c);const e=await new Promise((e,t)=>l.default(o+c,{mark:true,ignore:o+"/**/node_modules/**/*"},(i,r)=>i?t(i):e(r)));e.filter(e=>!D.has(n.default.extname(e))&&!H.has(n.default.basename(e))&&!e.endsWith("/")).forEach(e=>r.add(e))})};let B=Promise.resolve();t=t.replace(/^#![^\n\r]*[\r\n]/,"");let V;let z=false;try{V=_.parse(t,{ecmaVersion:"latest",allowReturnOutsideFunction:true});z=false}catch(t){const r=t&&t.message&&t.message.includes("sourceType: module");if(!r){i.warnings.add(new Error(`Failed to parse ${e} as script:\n${t&&t.message}`))}}if(!V){try{V=_.parse(t,{ecmaVersion:"latest",sourceType:"module",allowAwaitOutsideFunction:true});z=true}catch(t){i.warnings.add(new Error(`Failed to parse ${e} as module:\n${t&&t.message}`));return{assets:r,deps:o,imports:p,isESM:false}}}const M=b.pathToFileURL(e).href;const X=Object.assign(Object.create(null),{__dirname:{shadowDepth:0,value:{value:n.default.resolve(e,"..")}},__filename:{shadowDepth:0,value:{value:e}},process:{shadowDepth:0,value:{value:x}}});if(!z||i.mixedModules){X.require={shadowDepth:0,value:{value:{[a.FUNCTION](e){o.add(e);const t=P[e.startsWith("node:")?e.slice(5):e];return t.default},resolve(t){return v.default(t,e,i)}}}};X.require.value.value.resolve[L]=true}function setKnownBinding(e,t){if(e==="require")return;X[e]={shadowDepth:0,value:t}}function getKnownBinding(e){const t=X[e];if(t){if(t.shadowDepth===0){return t.value}}return undefined}function hasKnownBindingValue(e){const t=X[e];return t&&t.shadowDepth===0}if((z||i.mixedModules)&&isAst(V)){for(const e of V.body){if(e.type==="ImportDeclaration"){const t=String(e.source.value);o.add(t);const i=P[t.startsWith("node:")?t.slice(5):t];if(i){for(const t of e.specifiers){if(t.type==="ImportNamespaceSpecifier")setKnownBinding(t.local.name,{value:i});else if(t.type==="ImportDefaultSpecifier"&&"default"in i)setKnownBinding(t.local.name,{value:i.default});else if(t.type==="ImportSpecifier"&&t.imported.name in i)setKnownBinding(t.local.name,{value:i[t.imported.name]})}}}else if(e.type==="ExportNamedDeclaration"||e.type==="ExportAllDeclaration"){if(e.source)o.add(String(e.source.value))}}}async function computePureStaticValue(e,t=true){const i=Object.create(null);Object.keys(F).forEach(e=>{i[e]={value:F[e]}});Object.keys(X).forEach(e=>{i[e]=getKnownBinding(e)});i["import.meta"]={url:M};const r=await a.evaluate(e,i,t);return r}let K;let Y;let Q=false;function emitWildcardRequire(e){if(!i.analysis.emitGlobs||!e.startsWith("./")&&!e.startsWith("../"))return;e=n.default.resolve(g,e);const t=e.indexOf(a.WILDCARD);const s=t===-1?e.length:e.lastIndexOf(n.default.sep,t);const o=e.substring(0,s);const u=e.slice(s);let c=u.replace(a.wildcardRegEx,(e,t)=>{return u[t-1]===n.default.sep?"**/*":"*"})||"/**/*";if(!c.endsWith("*"))c+="?("+(i.ts?".ts|.tsx|":"")+".js|.json|.node)";if(i.ignoreFn(n.default.relative(i.base,o+c)))return;B=B.then(async()=>{if(i.log)console.log("Globbing "+o+c);const e=await new Promise((e,t)=>l.default(o+c,{mark:true,ignore:o+"/**/node_modules/**/*"},(i,r)=>i?t(i):e(r)));e.filter(e=>!D.has(n.default.extname(e))&&!H.has(n.default.basename(e))&&!e.endsWith("/")).forEach(e=>r.add(e))})}async function processRequireArg(e,t=false){if(e.type==="ConditionalExpression"){await processRequireArg(e.consequent,t);await processRequireArg(e.alternate,t);return}if(e.type==="LogicalExpression"){await processRequireArg(e.left,t);await processRequireArg(e.right,t);return}let i=await computePureStaticValue(e,true);if(!i)return;if("value"in i&&typeof i.value==="string"){if(!i.wildcards)(t?p:o).add(i.value);else if(i.wildcards.length>=1)emitWildcardRequire(i.value)}else{if("then"in i&&typeof i.then==="string")(t?p:o).add(i.then);if("else"in i&&typeof i.else==="string")(t?p:o).add(i.else)}}let J=s.attachScopes(V,"scope");if(isAst(V)){E.handleWrappers(V);await d.default({id:e,ast:V,emitAsset:e=>r.add(e),emitAssetDirectory:$,job:i})}async function backtrack(e,t){if(!K)throw new Error("Internal error: No staticChildNode for backtrack.");const i=await computePureStaticValue(e,true);if(i){if("value"in i&&typeof i.value!=="symbol"||"then"in i&&typeof i.then!=="symbol"&&typeof i.else!=="symbol"){Y=i;K=e;if(t)t.skip();return}}await emitStaticChildAsset()}await m(V,{async enter(t,s){var a;const l=t;const f=s;if(l.scope){J=l.scope;for(const e in l.scope.declarations){if(e in X)X[e].shadowDepth++}}if(K)return;if(!f)return;if(l.type==="Identifier"){if(c.isIdentifierRead(l,f)&&i.analysis.computeFileReferences){let e;if(typeof(e=(a=getKnownBinding(l.name))===null||a===void 0?void 0:a.value)==="string"&&e.match(W)||e&&(typeof e==="function"||typeof e==="object")&&e[L]){Y={value:typeof e==="string"?e:undefined};K=l;await backtrack(f,this)}}}else if(i.analysis.computeFileReferences&&l.type==="MemberExpression"&&l.object.type==="MetaProperty"&&l.object.meta.name==="import"&&l.object.property.name==="meta"&&(l.property.computed?l.property.value:l.property.name)==="url"){Y={value:M};K=l;await backtrack(f,this)}else if(l.type==="ImportExpression"){await processRequireArg(l.source,true);return}else if(l.type==="CallExpression"){if((!z||i.mixedModules)&&l.callee.type==="Identifier"&&l.arguments.length){if(l.callee.name==="require"&&X.require.shadowDepth===0){await processRequireArg(l.arguments[0]);return}}else if((!z||i.mixedModules)&&l.callee.type==="MemberExpression"&&l.callee.object.type==="Identifier"&&l.callee.object.name==="module"&&"module"in X===false&&l.callee.property.type==="Identifier"&&!l.callee.computed&&l.callee.property.name==="require"&&l.arguments.length){await processRequireArg(l.arguments[0]);return}const t=i.analysis.evaluatePureExpressions&&await computePureStaticValue(l.callee,false);if(t&&"value"in t&&typeof t.value==="function"&&t.value[L]&&i.analysis.computeFileReferences){Y=await computePureStaticValue(l,true);if(Y&&f){K=l;await backtrack(f,this)}}else if(t&&"value"in t&&typeof t.value==="symbol"){switch(t.value){case q:if(l.arguments.length===1&&l.arguments[0].type==="Literal"&&l.callee.type==="Identifier"&&X.require.shadowDepth===0){await processRequireArg(l.arguments[0])}break;case j:if(l.arguments.length){const e=await computePureStaticValue(l.arguments[0],false);if(e&&"value"in e&&e.value){let t;if(typeof e.value==="object")t=e.value;else if(typeof e.value==="string")t={bindings:e.value};if(!t.path){t.path=true}t.module_root=w;let i;try{i=u.default(t)}catch(e){}if(i){Y={value:i};K=l;await emitStaticChildAsset()}}}break;case I:if(l.arguments.length===1&&l.arguments[0].type==="Identifier"&&l.arguments[0].name==="__dirname"&&X.__dirname.shadowDepth===0){let e;try{const t=S.default(g,"node-gyp-build");e=require(t).path(g)}catch(t){try{e=y.default.path(g)}catch(e){}}if(e){Y={value:e};K=l;await emitStaticChildAsset()}}break;case k:if(l.arguments.length){const e=await computePureStaticValue(l.arguments[0],false);if(e&&"value"in e&&(typeof e.value==="string"||typeof e.value==="undefined")){const t=h.nbind(e.value);if(t&&t.path){o.add(n.default.relative(g,t.path).replace(/\\/g,"/"));return this.skip()}}}break;case R:if(l.arguments.length===2&&l.arguments[0].type==="Literal"&&l.arguments[0].value==="view engine"&&!Q){await processRequireArg(l.arguments[1]);return this.skip()}break;case A:Q=true;break;case O:case N:if(l.arguments[0]&&i.analysis.computeFileReferences){Y=await computePureStaticValue(l.arguments[0],true);if(Y){K=l.arguments[0];if(t.value===N&&l.arguments[0].type==="Identifier"&&l.arguments[0].name==="__dirname"){$(g)}else{await backtrack(f,this)}return this.skip()}}break;case T:if(l.arguments[0]){const e=await computePureStaticValue(l.arguments[0],false);if(e&&"value"in e&&e.value)$(e.value+"/intl");return this.skip()}break;case C:let s=n.default.resolve(e,"../package.json");const a=n.default.resolve("/package.json");while(s!==a&&await i.stat(s)===null)s=n.default.resolve(s,"../../package.json");if(s!==a)r.add(s);break}}}else if(l.type==="VariableDeclaration"&&f&&!c.isVarLoop(f)&&i.analysis.evaluatePureExpressions){for(const e of l.declarations){if(!e.init)continue;const t=await computePureStaticValue(e.init,true);if(t){if(e.id.type==="Identifier"){setKnownBinding(e.id.name,t)}else if(e.id.type==="ObjectPattern"&&"value"in t){for(const i of e.id.properties){if(i.type!=="Property"||i.key.type!=="Identifier"||i.value.type!=="Identifier"||typeof t.value!=="object"||t.value===null||!(i.key.name in t.value))continue;setKnownBinding(i.value.name,{value:t.value[i.key.name]})}}if(!("value"in t)&&isAbsolutePathOrUrl(t.then)&&isAbsolutePathOrUrl(t.else)){Y=t;K=e.init;await emitStaticChildAsset()}}}}else if(l.type==="AssignmentExpression"&&f&&!c.isLoop(f)&&i.analysis.evaluatePureExpressions){if(!hasKnownBindingValue(l.left.name)){const e=await computePureStaticValue(l.right,false);if(e&&"value"in e){if(l.left.type==="Identifier"){setKnownBinding(l.left.name,e)}else if(l.left.type==="ObjectPattern"){for(const t of l.left.properties){if(t.type!=="Property"||t.key.type!=="Identifier"||t.value.type!=="Identifier"||typeof e.value!=="object"||e.value===null||!(t.key.name in e.value))continue;setKnownBinding(t.value.name,{value:e.value[t.key.name]})}}if(isAbsolutePathOrUrl(e.value)){Y=e;K=l.right;await emitStaticChildAsset()}}}}else if((!z||i.mixedModules)&&(l.type==="FunctionDeclaration"||l.type==="FunctionExpression"||l.type==="ArrowFunctionExpression")&&(l.arguments||l.params)[0]&&(l.arguments||l.params)[0].type==="Identifier"){let e;let t;if((l.type==="ArrowFunctionExpression"||l.type==="FunctionExpression")&&f&&f.type==="VariableDeclarator"&&f.id.type==="Identifier"){e=f.id;t=l.arguments||l.params}else if(l.id){e=l.id;t=l.arguments||l.params}if(e&&l.body.body){let i,r=false;for(let e=0;e<l.body.body.length;e++){if(l.body.body[e].type==="VariableDeclaration"&&!i){i=l.body.body[e].declarations.find(e=>e&&e.id&&e.id.type==="Identifier"&&e.init&&e.init.type==="CallExpression"&&e.init.callee.type==="Identifier"&&e.init.callee.name==="require"&&X.require.shadowDepth===0&&e.init.arguments[0]&&e.init.arguments[0].type==="Identifier"&&e.init.arguments[0].name===t[0].name)}if(i&&l.body.body[e].type==="ReturnStatement"&&l.body.body[e].argument&&l.body.body[e].argument.type==="Identifier"&&l.body.body[e].argument.name===i.id.name){r=true;break}}if(r)setKnownBinding(e.name,{value:q})}}},async leave(e,t){const i=e;const r=t;if(i.scope){if(J.parent){J=J.parent}for(const e in i.scope.declarations){if(e in X){if(X[e].shadowDepth>0)X[e].shadowDepth--;else delete X[e]}}}if(K&&r)await backtrack(r,this)}});await B;return{assets:r,deps:o,imports:p,isESM:z};async function emitAssetPath(e){const t=e.indexOf(a.WILDCARD);const s=t===-1?e.length:e.lastIndexOf(n.default.sep,t);const o=e.substring(0,s);try{var u=await i.stat(o);if(u===null){throw new Error("file not found")}}catch(e){return}if(t!==-1&&u.isFile())return;if(u.isFile()){r.add(e)}else if(u.isDirectory()){if(validWildcard(e))$(e)}}function validWildcard(t){let r="";if(t.endsWith(n.default.sep))r=n.default.sep;else if(t.endsWith(n.default.sep+a.WILDCARD))r=n.default.sep+a.WILDCARD;else if(t.endsWith(a.WILDCARD))r=a.WILDCARD;if(t===g+r)return false;if(t===U+r)return false;if(t.endsWith(n.default.sep+"node_modules"+r))return false;if(g.startsWith(t.slice(0,t.length-r.length)+n.default.sep))return false;if(w){const r=e.substring(0,e.indexOf(n.default.sep+"node_modules"))+n.default.sep+"node_modules"+n.default.sep;if(!t.startsWith(r)){if(i.log)console.log("Skipping asset emission of "+t.replace(a.wildcardRegEx,"*")+" for "+e+" as it is outside the package base "+w);return false}}return true}function resolveAbsolutePathOrUrl(e){return e instanceof b.URL?b.fileURLToPath(e):e.startsWith("file:")?b.fileURLToPath(new b.URL(e)):n.default.resolve(e)}async function emitStaticChildAsset(){if(!Y){return}if("value"in Y&&isAbsolutePathOrUrl(Y.value)){try{const e=resolveAbsolutePathOrUrl(Y.value);await emitAssetPath(e)}catch(e){}}else if("then"in Y&&"else"in Y&&isAbsolutePathOrUrl(Y.then)&&isAbsolutePathOrUrl(Y.else)){let e;try{e=resolveAbsolutePathOrUrl(Y.then)}catch(e){}let t;try{t=resolveAbsolutePathOrUrl(Y.else)}catch(e){}if(e)await emitAssetPath(e);if(t)await emitAssetPath(t)}else if(K&&K.type==="ArrayExpression"&&"value"in Y&&Y.value instanceof Array){for(const e of Y.value){try{const t=resolveAbsolutePathOrUrl(e);await emitAssetPath(t)}catch(e){}}}K=Y=undefined}}t.default=analyze;function isAst(e){return"body"in e}},9582:function(e,t,i){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,i,r){if(r===undefined)r=i;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,r){if(r===undefined)r=i;e[r]=t[i]});var n=this&&this.__exportStar||function(e,t){for(var i in e)if(i!=="default"&&!t.hasOwnProperty(i))r(t,e,i)};Object.defineProperty(t,"__esModule",{value:true});n(i(3864),t);var s=i(3471);Object.defineProperty(t,"nodeFileTrace",{enumerable:true,get:function(){return s.nodeFileTrace}})},3471:function(e,t,i){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.Job=t.nodeFileTrace=void 0;const n=i(5622);const s=r(i(2029));const a=r(i(8827));const o=r(i(2278));const u=i(1189);const c=i(2985);const l=i(5622);const f=s.default.promises.readFile;const h=s.default.promises.readlink;const p=s.default.promises.stat;function inPath(e,t){const i=l.join(t,n.sep);return e.startsWith(i)&&e!==i}async function nodeFileTrace(e,t={}){const i=new Job(t);if(t.readFile)i.readFile=t.readFile;if(t.stat)i.stat=t.stat;if(t.readlink)i.readlink=t.readlink;if(t.resolve)i.resolve=t.resolve;i.ts=true;await Promise.all(e.map(async e=>{const t=n.resolve(e);await i.emitFile(t,"initial");if(t.endsWith(".js")||t.endsWith(".cjs")||t.endsWith(".mjs")||t.endsWith(".node")||i.ts&&(t.endsWith(".ts")||t.endsWith(".tsx"))){return i.emitDependency(t)}return undefined}));const r={fileList:i.fileList,esmFileList:i.esmFileList,reasons:i.reasons,warnings:i.warnings};return r}t.nodeFileTrace=nodeFileTrace;class Job{constructor({base:e=process.cwd(),processCwd:t,exports:i,conditions:r=i||["node"],exportsOnly:s=false,paths:a={},ignore:o,log:c=false,mixedModules:l=false,ts:f=true,analysis:h={},cache:p}){this.reasons=new Map;this.ts=f;e=n.resolve(e);this.ignoreFn=(e=>{if(e.startsWith(".."+n.sep))return true;return false});if(typeof o==="string")o=[o];if(typeof o==="function"){const e=o;this.ignoreFn=(t=>{if(t.startsWith(".."+n.sep))return true;if(e(t))return true;return false})}else if(Array.isArray(o)){const t=o.map(t=>n.relative(e,n.resolve(e||process.cwd(),t)));this.ignoreFn=(e=>{if(e.startsWith(".."+n.sep))return true;if(u.isMatch(e,t))return true;return false})}this.base=e;this.cwd=n.resolve(t||e);this.conditions=r;this.exportsOnly=s;const d={};for(const t of Object.keys(a)){const i=a[t].endsWith("/");const r=n.resolve(e,a[t]);d[t]=r+(i?"/":"")}this.paths=d;this.log=c;this.mixedModules=l;this.analysis={};if(h!==false){Object.assign(this.analysis,{emitGlobs:true,computeFileReferences:true,evaluatePureExpressions:true},h===true?{}:h)}this.fileCache=p&&p.fileCache||new Map;this.statCache=p&&p.statCache||new Map;this.symlinkCache=p&&p.symlinkCache||new Map;this.analysisCache=p&&p.analysisCache||new Map;if(p){p.fileCache=this.fileCache;p.statCache=this.statCache;p.symlinkCache=this.symlinkCache;p.analysisCache=this.analysisCache}this.fileList=new Set;this.esmFileList=new Set;this.processed=new Set;this.warnings=new Set}async readlink(e){const t=this.symlinkCache.get(e);if(t!==undefined)return t;try{const t=await h(e);const i=this.statCache.get(e);if(i)this.statCache.set(n.resolve(e,t),i);this.symlinkCache.set(e,t);return t}catch(t){if(t.code!=="EINVAL"&&t.code!=="ENOENT"&&t.code!=="UNKNOWN")throw t;this.symlinkCache.set(e,null);return null}}async isFile(e){const t=await this.stat(e);if(t)return t.isFile();return false}async isDir(e){const t=await this.stat(e);if(t)return t.isDirectory();return false}async stat(e){const t=this.statCache.get(e);if(t)return t;try{const t=await p(e);this.statCache.set(e,t);return t}catch(t){if(t.code==="ENOENT"){this.statCache.set(e,null);return null}throw t}}async resolve(e,t,i,r){return o.default(e,t,i,r)}async readFile(e){const t=this.fileCache.get(e);if(t!==undefined)return t;try{const t=(await f(e)).toString();this.fileCache.set(e,t);return t}catch(t){if(t.code==="ENOENT"||t.code==="EISDIR"){this.fileCache.set(e,null);return null}throw t}}async realpath(e,t,i=new Set){if(i.has(e))throw new Error("Recursive symlink detected resolving "+e);i.add(e);const r=await this.readlink(e);if(r){const s=n.dirname(e);const a=n.resolve(s,r);const o=await this.realpath(s,t);if(inPath(e,o))await this.emitFile(e,"resolve",t,true);return this.realpath(a,t,i)}if(!inPath(e,this.base))return e;return l.join(await this.realpath(n.dirname(e),t,i),n.basename(e))}async emitFile(e,t,i,r=false){if(!r){e=await this.realpath(e,i)}e=n.relative(this.base,e);if(i){i=n.relative(this.base,i)}let s=this.reasons.get(e);if(!s){s={type:[t],ignored:false,parents:new Set};this.reasons.set(e,s)}else if(!s.type.includes(t)){s.type.push(t)}if(i&&this.ignoreFn(e,i)){if(!this.fileList.has(e)&&s){s.ignored=true}return false}if(i){s.parents.add(i)}this.fileList.add(e);return true}async getPjsonBoundary(e){const t=e.indexOf(n.sep);let i;while((i=e.lastIndexOf(n.sep))>t){e=e.slice(0,i);if(await this.isFile(e+n.sep+"package.json"))return e}return undefined}async emitDependency(e,t){if(this.processed.has(e)){if(t){await this.emitFile(e,"dependency",t)}return}this.processed.add(e);const i=await this.emitFile(e,"dependency",t);if(!i)return;if(e.endsWith(".json"))return;if(e.endsWith(".node"))return await c.sharedLibEmit(e,this);if(e.endsWith(".js")){const t=await this.getPjsonBoundary(e);if(t)await this.emitFile(t+n.sep+"package.json","resolve",e)}let r;const s=this.analysisCache.get(e);if(s){r=s}else{const t=await this.readFile(e);if(t===null)throw new Error("File "+e+" does not exist.");r=await a.default(e,t.toString(),this);this.analysisCache.set(e,r)}const{deps:o,imports:u,assets:l,isESM:f}=r;if(f)this.esmFileList.add(n.relative(this.base,e));await Promise.all([...[...l].map(async t=>{const i=n.extname(t);if(i===".js"||i===".mjs"||i===".node"||i===""||this.ts&&(i===".ts"||i===".tsx")&&t.startsWith(this.base)&&t.slice(this.base.length).indexOf(n.sep+"node_modules"+n.sep)===-1)await this.emitDependency(t,e);else await this.emitFile(t,"asset",e)}),...[...o].map(async t=>{try{var i=await this.resolve(t,e,this,!f)}catch(e){this.warnings.add(new Error(`Failed to resolve dependency ${t}:\n${e&&e.message}`));return}if(Array.isArray(i)){for(const t of i){if(t.startsWith("node:"))return;await this.emitDependency(t,e)}}else{if(i.startsWith("node:"))return;await this.emitDependency(i,e)}}),...[...u].map(async t=>{try{var i=await this.resolve(t,e,this,false)}catch(e){this.warnings.add(new Error(`Failed to resolve dependency ${t}:\n${e&&e.message}`));return}if(Array.isArray(i)){for(const t of i){if(t.startsWith("node:"))return;await this.emitDependency(t,e)}}else{if(i.startsWith("node:"))return;await this.emitDependency(i,e)}})])}}t.Job=Job},2278:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r=i(5622);async function resolveDependency(e,t,i,n=true){let s;if(r.isAbsolute(e)||e==="."||e===".."||e.startsWith("./")||e.startsWith("../")){const n=e.endsWith("/");s=await resolvePath(r.resolve(t,"..",e)+(n?"/":""),t,i)}else if(e[0]==="#"){s=await packageImportsResolve(e,t,i,n)}else{s=await resolvePackage(e,t,i,n)}if(Array.isArray(s)){return Promise.all(s.map(e=>i.realpath(e,t)))}else if(s.startsWith("node:")){return s}else{return i.realpath(s,t)}}t.default=resolveDependency;async function resolvePath(e,t,i){const r=await resolveFile(e,t,i)||await resolveDir(e,t,i);if(!r){throw new NotFoundError(e,t)}return r}async function resolveFile(e,t,i){if(e.endsWith("/"))return undefined;e=await i.realpath(e,t);if(await i.isFile(e))return e;if(i.ts&&e.startsWith(i.base)&&e.slice(i.base.length).indexOf(r.sep+"node_modules"+r.sep)===-1&&await i.isFile(e+".ts"))return e+".ts";if(i.ts&&e.startsWith(i.base)&&e.slice(i.base.length).indexOf(r.sep+"node_modules"+r.sep)===-1&&await i.isFile(e+".tsx"))return e+".tsx";if(await i.isFile(e+".js"))return e+".js";if(await i.isFile(e+".json"))return e+".json";if(await i.isFile(e+".node"))return e+".node";return undefined}async function resolveDir(e,t,i){if(e.endsWith("/"))e=e.slice(0,-1);if(!await i.isDir(e))return;const n=await getPkgCfg(e,i);if(n&&typeof n.main==="string"){const s=await resolveFile(r.resolve(e,n.main),t,i)||await resolveFile(r.resolve(e,n.main,"index"),t,i);if(s){await i.emitFile(e+r.sep+"package.json","resolve",t);return s}}return resolveFile(r.resolve(e,"index"),t,i)}class NotFoundError extends Error{constructor(e,t){super("Cannot find module '"+e+"' loaded from "+t);this.code="MODULE_NOT_FOUND"}}const n=new Set([...i(8027)._builtinLibs,"constants","module","timers","console","_stream_writable","_stream_readable","_stream_duplex","process","sys"]);function getPkgName(e){const t=e.split("/");if(e[0]==="@"&&t.length>1)return t.length>1?t.slice(0,2).join("/"):null;return t.length?t[0]:null}async function getPkgCfg(e,t){const i=await t.readFile(e+r.sep+"package.json");if(i){try{return JSON.parse(i.toString())}catch(e){}}return undefined}function getExportsTarget(e,t,i){if(typeof e==="string"){return e}else if(e===null){return e}else if(Array.isArray(e)){for(const r of e){const e=getExportsTarget(r,t,i);if(e===null||typeof e==="string"&&e.startsWith("./"))return e}}else if(typeof e==="object"){for(const r of Object.keys(e)){if(r==="default"||r==="require"&&i||r==="import"&&!i||t.includes(r)){const n=getExportsTarget(e[r],t,i);if(n!==undefined)return n}}}return undefined}function resolveExportsImports(e,t,i,r,n,s){let a;if(n){if(!(typeof t==="object"&&!Array.isArray(t)&&t!==null))return undefined;a=t}else if(typeof t==="string"||Array.isArray(t)||t===null||typeof t==="object"&&Object.keys(t).length&&Object.keys(t)[0][0]!=="."){a={".":t}}else{a=t}if(i in a){const t=getExportsTarget(a[i],r.conditions,s);if(typeof t==="string"&&t.startsWith("./"))return e+t.slice(1)}for(const t of Object.keys(a).sort((e,t)=>t.length-e.length)){if(t.endsWith("*")&&i.startsWith(t.slice(0,-1))){const n=getExportsTarget(a[t],r.conditions,s);if(typeof n==="string"&&n.startsWith("./"))return e+n.slice(1).replace(/\*/g,i.slice(t.length-1))}if(!t.endsWith("/"))continue;if(i.startsWith(t)){const n=getExportsTarget(a[t],r.conditions,s);if(typeof n==="string"&&n.endsWith("/")&&n.startsWith("./"))return e+n.slice(1)+i.slice(t.length)}}return undefined}async function packageImportsResolve(e,t,i,n){if(e!=="#"&&!e.startsWith("#/")&&i.conditions){const s=await i.getPjsonBoundary(t);if(s){const a=await getPkgCfg(s,i);const{imports:o}=a||{};if(a&&o!==null&&o!==undefined){let a=resolveExportsImports(s,o,e,i,true,n);if(a){if(n)a=await resolveFile(a,t,i)||await resolveDir(a,t,i);else if(!await i.isFile(a))throw new NotFoundError(a,t);if(a){await i.emitFile(s+r.sep+"package.json","resolve",t);return a}}}}}throw new NotFoundError(e,t)}async function resolvePackage(e,t,i,s){let a=t;if(n.has(e))return"node:"+e;if(e.startsWith("node:"))return e;const o=getPkgName(e)||"";let u;if(i.conditions){const n=await i.getPjsonBoundary(t);if(n){const a=await getPkgCfg(n,i);const{exports:c}=a||{};if(a&&a.name&&a.name===o&&c!==null&&c!==undefined){u=resolveExportsImports(n,c,"."+e.slice(o.length),i,false,s);if(u){if(s)u=await resolveFile(u,t,i)||await resolveDir(u,t,i);else if(!await i.isFile(u))throw new NotFoundError(u,t)}if(u)await i.emitFile(n+r.sep+"package.json","resolve",t)}}}let c;const l=a.indexOf(r.sep);while((c=a.lastIndexOf(r.sep))>l){a=a.slice(0,c);const n=a+r.sep+"node_modules";const l=await i.stat(n);if(!l||!l.isDirectory())continue;const f=await getPkgCfg(n+r.sep+o,i);const{exports:h}=f||{};if(i.conditions&&h!==undefined&&h!==null&&!u){let a;if(!i.exportsOnly)a=await resolveFile(n+r.sep+e,t,i)||await resolveDir(n+r.sep+e,t,i);let u=resolveExportsImports(n+r.sep+o,h,"."+e.slice(o.length),i,false,s);if(u){if(s)u=await resolveFile(u,t,i)||await resolveDir(u,t,i);else if(!await i.isFile(u))throw new NotFoundError(u,t)}if(u){await i.emitFile(n+r.sep+o+r.sep+"package.json","resolve",t);if(a&&a!==u)return[u,a];return u}if(a)return a}else{const s=await resolveFile(n+r.sep+e,t,i)||await resolveDir(n+r.sep+e,t,i);if(s){if(u&&u!==s)return[s,u];return s}}}if(u)return u;if(Object.hasOwnProperty.call(i.paths,e)){return i.paths[e]}for(const r of Object.keys(i.paths)){if(r.endsWith("/")&&e.startsWith(r)){const n=i.paths[r]+e.slice(r.length);const s=await resolveFile(n,t,i)||await resolveDir(n,t,i);if(!s){throw new NotFoundError(e,t)}return s}}throw new NotFoundError(e,t)}},3864:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},5078:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isLoop=t.isVarLoop=t.isIdentifierRead=void 0;function isIdentifierRead(e,t){switch(t.type){case"ObjectPattern":case"ArrayPattern":return false;case"AssignmentExpression":return t.right===e;case"MemberExpression":return t.computed||e===t.object;case"Property":return e===t.value;case"MethodDefinition":return false;case"VariableDeclarator":return t.id!==e;case"ExportSpecifier":return false;case"FunctionExpression":case"FunctionDeclaration":case"ArrowFunctionExpression":return false;default:return true}}t.isIdentifierRead=isIdentifierRead;function isVarLoop(e){return e.type==="ForStatement"||e.type==="ForInStatement"||e.type==="ForOfStatement"}t.isVarLoop=isVarLoop;function isLoop(e){return e.type==="ForStatement"||e.type==="ForInStatement"||e.type==="ForOfStatement"||e.type==="WhileStatement"||e.type==="DoWhileStatement"}t.isLoop=isLoop},2774:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:true});exports.nbind=exports.pregyp=void 0;const path_1=__importDefault(__webpack_require__(5622));const graceful_fs_1=__importDefault(__webpack_require__(2029));const versioning=__webpack_require__(5574);const napi=__webpack_require__(9248);const pregypFind=(e,t)=>{const i=JSON.parse(graceful_fs_1.default.readFileSync(e).toString());versioning.validate_config(i,t);var r;if(napi.get_napi_build_versions(i,t)){r=napi.get_best_napi_build_version(i,t)}t=t||{};if(!t.module_root)t.module_root=path_1.default.dirname(e);var n=versioning.evaluate(i,t,r);return n.module};exports.pregyp={default:{find:pregypFind},find:pregypFind};function makeModulePathList(e,t){return[[e,t],[e,"build",t],[e,"build","Debug",t],[e,"build","Release",t],[e,"out","Debug",t],[e,"Debug",t],[e,"out","Release",t],[e,"Release",t],[e,"build","default",t],[e,process.env["NODE_BINDINGS_COMPILED_DIR"]||"compiled",process.versions.node,process.platform,process.arch,t]]}function findCompiledModule(basePath,specList){var resolvedList=[];var ext=path_1.default.extname(basePath);for(var _i=0,specList_1=specList;_i<specList_1.length;_i++){var spec=specList_1[_i];if(ext==spec.ext){try{spec.path=eval("require.resolve(basePath)");return spec}catch(e){resolvedList.push(basePath)}}}for(var _a=0,specList_2=specList;_a<specList_2.length;_a++){var spec=specList_2[_a];for(var _b=0,_c=makeModulePathList(basePath,spec.name);_b<_c.length;_b++){var pathParts=_c[_b];var resolvedPath=path_1.default.resolve.apply(path_1.default,pathParts);try{spec.path=eval("require.resolve(resolvedPath)")}catch(e){resolvedList.push(resolvedPath);continue}return spec}}return null}function nbind(e=process.cwd()){const t=findCompiledModule(e,[{ext:".node",name:"nbind.node",type:"node"},{ext:".js",name:"nbind.js",type:"emcc"}]);return t}exports.nbind=nbind},7468:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getPackageName=t.getPackageBase=void 0;const i=/^(@[^\\\/]+[\\\/])?[^\\\/]+/;function getPackageBase(e){const t=e.lastIndexOf("node_modules");if(t!==-1&&(e[t-1]==="/"||e[t-1]==="\\")&&(e[t+12]==="/"||e[t+12]==="\\")){const r=e.slice(t+13).match(i);if(r)return e.slice(0,t+13+r[0].length)}return undefined}t.getPackageBase=getPackageBase;function getPackageName(e){const t=e.lastIndexOf("node_modules");if(t!==-1&&(e[t-1]==="/"||e[t-1]==="\\")&&(e[t+12]==="/"||e[t+12]==="\\")){const r=e.slice(t+13).match(i);if(r&&r.length>0){return r[0].replace(/\\/g,"/")}}return undefined}t.getPackageName=getPackageName},216:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.normalizeWildcardRequire=t.normalizeDefaultRequire=void 0;function normalizeDefaultRequire(e){if(e&&e.__esModule)return e;return{default:e}}t.normalizeDefaultRequire=normalizeDefaultRequire;const i=Object.prototype.hasOwnProperty;function normalizeWildcardRequire(e){if(e&&e.__esModule)return e;const t={};for(const r in e){if(!i.call(e,r))continue;t[r]=e[r]}t["default"]=e;return t}t.normalizeWildcardRequire=normalizeWildcardRequire},2985:function(e,t,i){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.sharedLibEmit=void 0;const n=r(i(2087));const s=r(i(3700));const a=i(7468);let o="";switch(n.default.platform()){case"darwin":o="/**/*.@(dylib|so?(.*))";break;case"win32":o="/**/*.dll";break;default:o="/**/*.so?(.*)"}async function sharedLibEmit(e,t){const i=a.getPackageBase(e);if(!i)return;const r=await new Promise((e,t)=>s.default(i+o,{ignore:i+"/**/node_modules/**/*"},(i,r)=>i?t(i):e(r)));await Promise.all(r.map(i=>t.emitFile(i,"sharedlib",e)))}t.sharedLibEmit=sharedLibEmit},5735:function(e,t,i){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const n=i(5622);const s=r(i(2278));const a=i(7468);const o=i(2029);const u={"@generated/photon"({id:e,emitAssetDirectory:t}){if(e.endsWith("@generated/photon/index.js")){t(n.resolve(n.dirname(e),"runtime/"))}},argon2({id:e,emitAssetDirectory:t}){if(e.endsWith("argon2/argon2.js")){t(n.resolve(n.dirname(e),"build","Release"));t(n.resolve(n.dirname(e),"prebuilds"));t(n.resolve(n.dirname(e),"lib","binding"))}},bull({id:e,emitAssetDirectory:t}){if(e.endsWith("bull/lib/commands/index.js")){t(n.resolve(n.dirname(e)))}},camaro({id:e,emitAsset:t}){if(e.endsWith("camaro/dist/camaro.js")){t(n.resolve(n.dirname(e),"camaro.wasm"))}},esbuild({id:e,emitAssetDirectory:t}){if(e.endsWith("esbuild/lib/main.js")){const i=n.resolve(e,"..","..","package.json");const r=JSON.parse(o.readFileSync(i,"utf8"));for(const i of Object.keys(r.optionalDependencies||{})){const r=n.resolve(e,"..","..","..",i);t(r)}}},"google-gax"({id:e,ast:t,emitAssetDirectory:i}){if(e.endsWith("google-gax/build/src/grpc.js")){for(const r of t.body){if(r.type==="VariableDeclaration"&&r.declarations[0].id.type==="Identifier"&&r.declarations[0].id.name==="googleProtoFilesDir"){i(n.resolve(n.dirname(e),"../../../google-proto-files"))}}}},oracledb({id:e,ast:t,emitAsset:i}){if(e.endsWith("oracledb/lib/oracledb.js")){for(const r of t.body){if(r.type==="ForStatement"&&"body"in r.body&&r.body.body&&Array.isArray(r.body.body)&&r.body.body[0]&&r.body.body[0].type==="TryStatement"&&r.body.body[0].block.body[0]&&r.body.body[0].block.body[0].type==="ExpressionStatement"&&r.body.body[0].block.body[0].expression.type==="AssignmentExpression"&&r.body.body[0].block.body[0].expression.operator==="="&&r.body.body[0].block.body[0].expression.left.type==="Identifier"&&r.body.body[0].block.body[0].expression.left.name==="oracledbCLib"&&r.body.body[0].block.body[0].expression.right.type==="CallExpression"&&r.body.body[0].block.body[0].expression.right.callee.type==="Identifier"&&r.body.body[0].block.body[0].expression.right.callee.name==="require"&&r.body.body[0].block.body[0].expression.right.arguments.length===1&&r.body.body[0].block.body[0].expression.right.arguments[0].type==="MemberExpression"&&r.body.body[0].block.body[0].expression.right.arguments[0].computed===true&&r.body.body[0].block.body[0].expression.right.arguments[0].object.type==="Identifier"&&r.body.body[0].block.body[0].expression.right.arguments[0].object.name==="binaryLocations"&&r.body.body[0].block.body[0].expression.right.arguments[0].property.type==="Identifier"&&r.body.body[0].block.body[0].expression.right.arguments[0].property.name==="i"){r.body.body[0].block.body[0].expression.right.arguments=[{type:"Literal",value:"_"}];const t=global._unit?"3.0.0":JSON.parse(o.readFileSync(e.slice(0,-15)+"package.json","utf8")).version;const s=Number(t.slice(0,t.indexOf(".")))>=4;const a="oracledb-"+(s?t:"abi"+process.versions.modules)+"-"+process.platform+"-"+process.arch+".node";i(n.resolve(e,"../../build/Release/"+a))}}}},"phantomjs-prebuilt"({id:e,emitAssetDirectory:t}){if(e.endsWith("phantomjs-prebuilt/lib/phantomjs.js")){t(n.resolve(n.dirname(e),"..","bin"))}},"remark-prism"({id:e,emitAssetDirectory:t}){const i="remark-prism/src/highlight.js";if(e.endsWith(i)){try{const r=e.slice(0,-i.length);t(n.resolve(r,"prismjs","components"))}catch(e){}}},semver({id:e,emitAsset:t}){if(e.endsWith("semver/index.js")){t(n.resolve(e.replace("index.js","preload.js")))}},"socket.io":async function({id:e,ast:t,job:i}){if(e.endsWith("socket.io/lib/index.js")){async function replaceResolvePathStatement(t){if(t.type==="ExpressionStatement"&&t.expression.type==="AssignmentExpression"&&t.expression.operator==="="&&t.expression.right.type==="CallExpression"&&t.expression.right.callee.type==="Identifier"&&t.expression.right.callee.name==="read"&&t.expression.right.arguments.length>=1&&t.expression.right.arguments[0].type==="CallExpression"&&t.expression.right.arguments[0].callee.type==="Identifier"&&t.expression.right.arguments[0].callee.name==="resolvePath"&&t.expression.right.arguments[0].arguments.length===1&&t.expression.right.arguments[0].arguments[0].type==="Literal"){const r=t.expression.right.arguments[0].arguments[0].value;let a;try{const t=await s.default(String(r),e,i);if(typeof t==="string"){a=t}else{return undefined}}catch(e){return undefined}const o="/"+n.relative(n.dirname(e),a);t.expression.right.arguments[0]={type:"BinaryExpression",start:t.expression.right.arguments[0].start,end:t.expression.right.arguments[0].end,operator:"+",left:{type:"Identifier",name:"__dirname"},right:{type:"Literal",value:o,raw:JSON.stringify(o)}}}return undefined}for(const e of t.body){if(e.type==="ExpressionStatement"&&e.expression.type==="AssignmentExpression"&&e.expression.operator==="="&&e.expression.left.type==="MemberExpression"&&e.expression.left.object.type==="MemberExpression"&&e.expression.left.object.object.type==="Identifier"&&e.expression.left.object.object.name==="Server"&&e.expression.left.object.property.type==="Identifier"&&e.expression.left.object.property.name==="prototype"&&e.expression.left.property.type==="Identifier"&&e.expression.left.property.name==="serveClient"&&e.expression.right.type==="FunctionExpression"){for(const t of e.expression.right.body.body){if(t.type==="IfStatement"&&t.consequent&&"body"in t.consequent&&t.consequent.body){const e=t.consequent.body;let i=false;if(Array.isArray(e)&&e[0]&&e[0].type==="ExpressionStatement"){i=await replaceResolvePathStatement(e[0])}if(Array.isArray(e)&&e[1]&&e[1].type==="TryStatement"&&e[1].block.body&&e[1].block.body[0]){i=await replaceResolvePathStatement(e[1].block.body[0])||i}return}}}}}},typescript({id:e,emitAssetDirectory:t}){if(e.endsWith("typescript/lib/tsc.js")){t(n.resolve(e,"../"))}},"uglify-es"({id:e,emitAsset:t}){if(e.endsWith("uglify-es/tools/node.js")){t(n.resolve(e,"../../lib/utils.js"));t(n.resolve(e,"../../lib/ast.js"));t(n.resolve(e,"../../lib/parse.js"));t(n.resolve(e,"../../lib/transform.js"));t(n.resolve(e,"../../lib/scope.js"));t(n.resolve(e,"../../lib/output.js"));t(n.resolve(e,"../../lib/compress.js"));t(n.resolve(e,"../../lib/sourcemap.js"));t(n.resolve(e,"../../lib/mozilla-ast.js"));t(n.resolve(e,"../../lib/propmangle.js"));t(n.resolve(e,"../../lib/minify.js"));t(n.resolve(e,"../exports.js"))}},"uglify-js"({id:e,emitAsset:t,emitAssetDirectory:i}){if(e.endsWith("uglify-js/tools/node.js")){i(n.resolve(e,"../../lib"));t(n.resolve(e,"../exports.js"))}},"playwright-core"({id:e,emitAsset:t}){if(e.endsWith("playwright-core/index.js")){t(n.resolve(n.dirname(e),"browsers.json"))}},"geo-tz"({id:e,emitAsset:t}){if(e.endsWith("geo-tz/dist/geo-tz.js")){t(n.resolve(n.dirname(e),"../data/geo.dat"))}},pixelmatch({id:e,emitAsset:t}){if(e.endsWith("pixelmatch/index.js")){t(n.resolve(n.dirname(e),"bin/pixelmatch"))}}};async function handleSpecialCases({id:e,ast:t,emitAsset:i,emitAssetDirectory:r,job:n}){const s=a.getPackageName(e);const o=u[s||""];e=e.replace(/\\/g,"/");if(o)await o({id:e,ast:t,emitAsset:i,emitAssetDirectory:r,job:n})}t.default=handleSpecialCases},5401:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.wildcardRegEx=t.WILDCARD=t.FUNCTION=t.UNKNOWN=t.evaluate=void 0;const r=i(8835);async function evaluate(e,t={},i=true){const r={computeBranches:i,vars:t};return walk(e);function walk(e){const t=n[e.type];if(t){return t.call(r,e,walk)}return undefined}}t.evaluate=evaluate;t.UNKNOWN=Symbol();t.FUNCTION=Symbol();t.WILDCARD="";t.wildcardRegEx=/\x1a/g;function countWildcards(e){t.wildcardRegEx.lastIndex=0;let i=0;while(t.wildcardRegEx.exec(e))i++;return i}const n={ArrayExpression:async function ArrayExpression(e,t){const i=[];for(let r=0,n=e.elements.length;r<n;r++){if(e.elements[r]===null){i.push(null);continue}const n=await t(e.elements[r]);if(!n)return;if("value"in n===false)return;i.push(n.value)}return{value:i}},ArrowFunctionExpression:async function(e,i){if(e.params.length===0&&!e.generator&&!e.async&&e.expression){const r=await i(e.body);if(!r||!("value"in r))return;return{value:{[t.FUNCTION]:()=>r.value}}}return undefined},BinaryExpression:async function BinaryExpression(e,i){const r=e.operator;let n=await i(e.left);if(!n&&r!=="+")return;let s=await i(e.right);if(!n&&!s)return;if(!n){if(this.computeBranches&&s&&"value"in s&&typeof s.value==="string")return{value:t.WILDCARD+s.value,wildcards:[e.left,...s.wildcards||[]]};return}if(!s){if(this.computeBranches&&r==="+"){if(n&&"value"in n&&typeof n.value==="string")return{value:n.value+t.WILDCARD,wildcards:[...n.wildcards||[],e.right]}}if(!("test"in n)&&r==="||"&&n.value)return n;return}if("test"in n&&"value"in s){const e=s.value;if(r==="==")return{test:n.test,then:n.then==e,else:n.else==e};if(r==="===")return{test:n.test,then:n.then===e,else:n.else===e};if(r==="!=")return{test:n.test,then:n.then!=e,else:n.else!=e};if(r==="!==")return{test:n.test,then:n.then!==e,else:n.else!==e};if(r==="+")return{test:n.test,then:n.then+e,else:n.else+e};if(r==="-")return{test:n.test,then:n.then-e,else:n.else-e};if(r==="*")return{test:n.test,then:n.then*e,else:n.else*e};if(r==="/")return{test:n.test,then:n.then/e,else:n.else/e};if(r==="%")return{test:n.test,then:n.then%e,else:n.else%e};if(r==="<")return{test:n.test,then:n.then<e,else:n.else<e};if(r==="<=")return{test:n.test,then:n.then<=e,else:n.else<=e};if(r===">")return{test:n.test,then:n.then>e,else:n.else>e};if(r===">=")return{test:n.test,then:n.then>=e,else:n.else>=e};if(r==="|")return{test:n.test,then:n.then|e,else:n.else|e};if(r==="&")return{test:n.test,then:n.then&e,else:n.else&e};if(r==="^")return{test:n.test,then:n.then^e,else:n.else^e};if(r==="&&")return{test:n.test,then:n.then&&e,else:n.else&&e};if(r==="||")return{test:n.test,then:n.then||e,else:n.else||e}}else if("test"in s&&"value"in n){const e=n.value;if(r==="==")return{test:s.test,then:e==s.then,else:e==s.else};if(r==="===")return{test:s.test,then:e===s.then,else:e===s.else};if(r==="!=")return{test:s.test,then:e!=s.then,else:e!=s.else};if(r==="!==")return{test:s.test,then:e!==s.then,else:e!==s.else};if(r==="+")return{test:s.test,then:e+s.then,else:e+s.else};if(r==="-")return{test:s.test,then:e-s.then,else:e-s.else};if(r==="*")return{test:s.test,then:e*s.then,else:e*s.else};if(r==="/")return{test:s.test,then:e/s.then,else:e/s.else};if(r==="%")return{test:s.test,then:e%s.then,else:e%s.else};if(r==="<")return{test:s.test,then:e<s.then,else:e<s.else};if(r==="<=")return{test:s.test,then:e<=s.then,else:e<=s.else};if(r===">")return{test:s.test,then:e>s.then,else:e>s.else};if(r===">=")return{test:s.test,then:e>=s.then,else:e>=s.else};if(r==="|")return{test:s.test,then:e|s.then,else:e|s.else};if(r==="&")return{test:s.test,then:e&s.then,else:e&s.else};if(r==="^")return{test:s.test,then:e^s.then,else:e^s.else};if(r==="&&")return{test:s.test,then:e&&s.then,else:n&&s.else};if(r==="||")return{test:s.test,then:e||s.then,else:n||s.else}}else if("value"in n&&"value"in s){if(r==="==")return{value:n.value==s.value};if(r==="===")return{value:n.value===s.value};if(r==="!=")return{value:n.value!=s.value};if(r==="!==")return{value:n.value!==s.value};if(r==="+"){const e={value:n.value+s.value};let t=[];if("wildcards"in n&&n.wildcards){t=t.concat(n.wildcards)}if("wildcards"in s&&s.wildcards){t=t.concat(s.wildcards)}if(t.length>0){e.wildcards=t}return e}if(r==="-")return{value:n.value-s.value};if(r==="*")return{value:n.value*s.value};if(r==="/")return{value:n.value/s.value};if(r==="%")return{value:n.value%s.value};if(r==="<")return{value:n.value<s.value};if(r==="<=")return{value:n.value<=s.value};if(r===">")return{value:n.value>s.value};if(r===">=")return{value:n.value>=s.value};if(r==="|")return{value:n.value|s.value};if(r==="&")return{value:n.value&s.value};if(r==="^")return{value:n.value^s.value};if(r==="&&")return{value:n.value&&s.value};if(r==="||")return{value:n.value||s.value}}return},CallExpression:async function CallExpression(e,i){var r;const n=await i(e.callee);if(!n||"test"in n)return;let s=n.value;if(typeof s==="object"&&s!==null)s=s[t.FUNCTION];if(typeof s!=="function")return;let a=null;if(e.callee.object){a=await i(e.callee.object);a=a&&"value"in a&&a.value?a.value:null}let o;let u=[];let c;let l=e.arguments.length>0&&((r=e.callee.property)===null||r===void 0?void 0:r.name)!=="concat";const f=[];for(let r=0,n=e.arguments.length;r<n;r++){let n=await i(e.arguments[r]);if(n){l=false;if("value"in n&&typeof n.value==="string"&&n.wildcards)n.wildcards.forEach(e=>f.push(e))}else{if(!this.computeBranches)return;n={value:t.WILDCARD};f.push(e.arguments[r])}if("test"in n){if(f.length)return;if(o)return;o=n.test;c=u.concat([]);u.push(n.then);c.push(n.else)}else{u.push(n.value);if(c)c.push(n.value)}}if(l)return;try{const e=await s.apply(a,u);if(e===t.UNKNOWN)return;if(!o){if(f.length){if(typeof e!=="string"||countWildcards(e)!==f.length)return;return{value:e,wildcards:f}}return{value:e}}const i=await s.apply(a,c);if(e===t.UNKNOWN)return;return{test:o,then:e,else:i}}catch(e){return}},ConditionalExpression:async function ConditionalExpression(e,t){const i=await t(e.test);if(i&&"value"in i)return i.value?t(e.consequent):t(e.alternate);if(!this.computeBranches)return;const r=await t(e.consequent);if(!r||"wildcards"in r||"test"in r)return;const n=await t(e.alternate);if(!n||"wildcards"in n||"test"in n)return;return{test:e.test,then:r.value,else:n.value}},ExpressionStatement:async function ExpressionStatement(e,t){return t(e.expression)},Identifier:async function Identifier(e,t){if(Object.hasOwnProperty.call(this.vars,e.name))return this.vars[e.name];return undefined},Literal:async function Literal(e,t){return{value:e.value}},MemberExpression:async function MemberExpression(e,i){const r=await i(e.object);if(!r||"test"in r||typeof r.value==="function"){return undefined}if(e.property.type==="Identifier"){if(typeof r.value==="string"&&e.property.name==="concat"){return{value:{[t.FUNCTION]:(...e)=>r.value.concat(e)}}}if(typeof r.value==="object"&&r.value!==null){const n=r.value;if(e.computed){const s=await i(e.property);if(s&&"value"in s&&s.value){const e=n[s.value];if(e===t.UNKNOWN)return undefined;return{value:e}}if(!n[t.UNKNOWN]&&Object.keys(r).length===0){return{value:undefined}}}else if(e.property.name in n){const i=n[e.property.name];if(i===t.UNKNOWN)return undefined;return{value:i}}else if(n[t.UNKNOWN])return undefined}else{return{value:undefined}}}const n=await i(e.property);if(!n||"test"in n)return undefined;if(typeof r.value==="object"&&r.value!==null){if(n.value in r.value){const e=r.value[n.value];if(e===t.UNKNOWN)return undefined;return{value:e}}else if(r.value[t.UNKNOWN]){return undefined}}else{return{value:undefined}}return undefined},MetaProperty:async function MetaProperty(e){if(e.meta.name==="import"&&e.property.name==="meta")return{value:this.vars["import.meta"]};return undefined},NewExpression:async function NewExpression(e,t){const i=await t(e.callee);if(i&&"value"in i&&i.value===r.URL&&e.arguments.length){const i=await t(e.arguments[0]);if(!i)return undefined;let n=null;if(e.arguments[1]){n=await t(e.arguments[1]);if(!n||!("value"in n))return undefined}if("value"in i){if(n){try{return{value:new r.URL(i.value,n.value)}}catch(e){return undefined}}try{return{value:new r.URL(i.value)}}catch(e){return undefined}}else{const e=i.test;if(n){try{return{test:e,then:new r.URL(i.then,n.value),else:new r.URL(i.else,n.value)}}catch(e){return undefined}}try{return{test:e,then:new r.URL(i.then),else:new r.URL(i.else)}}catch(e){return undefined}}}return undefined},ObjectExpression:async function ObjectExpression(e,i){const r={};for(let n=0;n<e.properties.length;n++){const s=e.properties[n];const a=s.computed?i(s.key):s.key&&{value:s.key.name||s.key.value};if(!a||"test"in a)return;const o=await i(s.value);if(!o||"test"in o)return;if(o.value===t.UNKNOWN)return;r[a.value]=o.value}return{value:r}},TemplateLiteral:async function TemplateLiteral(e,i){let r={value:""};for(var n=0;n<e.expressions.length;n++){if("value"in r){r.value+=e.quasis[n].value.cooked}else{r.then+=e.quasis[n].value.cooked;r.else+=e.quasis[n].value.cooked}let s=await i(e.expressions[n]);if(!s){if(!this.computeBranches)return undefined;s={value:t.WILDCARD,wildcards:[e.expressions[n]]}}if("value"in s){if("value"in r){r.value+=s.value;if(s.wildcards)r.wildcards=[...r.wildcards||[],...s.wildcards]}else{if(s.wildcards)return;r.then+=s.value;r.else+=s.value}}else if("value"in r){if("wildcards"in r){return}r={test:s.test,then:r.value+s.then,else:r.value+s.else}}else{return}}if("value"in r){r.value+=e.quasis[n].value.cooked}else{r.then+=e.quasis[n].value.cooked;r.else+=e.quasis[n].value.cooked}return r},ThisExpression:async function ThisExpression(e,t){if(Object.hasOwnProperty.call(this.vars,"this"))return this.vars["this"];return undefined},UnaryExpression:async function UnaryExpression(e,t){const i=await t(e.argument);if(!i)return undefined;if("value"in i&&"wildcards"in i===false){if(e.operator==="+")return{value:+i.value};if(e.operator==="-")return{value:-i.value};if(e.operator==="~")return{value:~i.value};if(e.operator==="!")return{value:!i.value}}else if("test"in i&&"wildcards"in i===false){if(e.operator==="+")return{test:i.test,then:+i.then,else:+i.else};if(e.operator==="-")return{test:i.test,then:-i.then,else:-i.else};if(e.operator==="~")return{test:i.test,then:~i.then,else:~i.else};if(e.operator==="!")return{test:i.test,then:!i.then,else:!i.else}}return undefined}};n.LogicalExpression=n.BinaryExpression},2005:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.handleWrappers=void 0;const r=i(7488);function isUndefinedOrVoid(e){return e.type==="Identifier"&&e.name==="undefined"||e.type==="UnaryExpression"&&e.operator==="void"&&e.argument.type==="Literal"&&e.argument.value===0}function handleWrappers(e){var t;let i;if(e.body.length===1&&e.body[0].type==="ExpressionStatement"&&e.body[0].expression.type==="UnaryExpression"&&e.body[0].expression.operator==="!"&&e.body[0].expression.argument.type==="CallExpression"&&e.body[0].expression.argument.callee.type==="FunctionExpression"&&e.body[0].expression.argument.arguments.length===1)i=e.body[0].expression.argument;else if(e.body.length===1&&e.body[0].type==="ExpressionStatement"&&e.body[0].expression.type==="CallExpression"&&e.body[0].expression.callee.type==="FunctionExpression"&&(e.body[0].expression.arguments.length===1||e.body[0].expression.arguments.length===0))i=e.body[0].expression;else if(e.body.length===1&&e.body[0].type==="ExpressionStatement"&&e.body[0].expression.type==="AssignmentExpression"&&e.body[0].expression.left.type==="MemberExpression"&&e.body[0].expression.left.object.type==="Identifier"&&e.body[0].expression.left.object.name==="module"&&e.body[0].expression.left.property.type==="Identifier"&&e.body[0].expression.left.property.name==="exports"&&e.body[0].expression.right.type==="CallExpression"&&e.body[0].expression.right.callee.type==="FunctionExpression"&&e.body[0].expression.right.arguments.length===1)i=e.body[0].expression.right;if(i){let e;let n;if(i.arguments[0]&&i.arguments[0].type==="ConditionalExpression"&&i.arguments[0].test.type==="LogicalExpression"&&i.arguments[0].test.operator==="&&"&&i.arguments[0].test.left.type==="BinaryExpression"&&i.arguments[0].test.left.operator==="==="&&i.arguments[0].test.left.left.type==="UnaryExpression"&&i.arguments[0].test.left.left.operator==="typeof"&&"name"in i.arguments[0].test.left.left.argument&&i.arguments[0].test.left.left.argument.name==="define"&&i.arguments[0].test.left.right.type==="Literal"&&i.arguments[0].test.left.right.value==="function"&&i.arguments[0].test.right.type==="MemberExpression"&&i.arguments[0].test.right.object.type==="Identifier"&&i.arguments[0].test.right.property.type==="Identifier"&&i.arguments[0].test.right.property.name==="amd"&&i.arguments[0].test.right.computed===false&&i.arguments[0].alternate.type==="FunctionExpression"&&i.arguments[0].alternate.params.length===1&&i.arguments[0].alternate.params[0].type==="Identifier"&&i.arguments[0].alternate.body.body.length===1&&i.arguments[0].alternate.body.body[0].type==="ExpressionStatement"&&i.arguments[0].alternate.body.body[0].expression.type==="AssignmentExpression"&&i.arguments[0].alternate.body.body[0].expression.left.type==="MemberExpression"&&i.arguments[0].alternate.body.body[0].expression.left.object.type==="Identifier"&&i.arguments[0].alternate.body.body[0].expression.left.object.name==="module"&&i.arguments[0].alternate.body.body[0].expression.left.property.type==="Identifier"&&i.arguments[0].alternate.body.body[0].expression.left.property.name==="exports"&&i.arguments[0].alternate.body.body[0].expression.left.computed===false&&i.arguments[0].alternate.body.body[0].expression.right.type==="CallExpression"&&i.arguments[0].alternate.body.body[0].expression.right.callee.type==="Identifier"&&i.arguments[0].alternate.body.body[0].expression.right.callee.name===i.arguments[0].alternate.params[0].name&&"body"in i.callee&&"body"in i.callee.body&&Array.isArray(i.callee.body.body)&&i.arguments[0].alternate.body.body[0].expression.right.arguments.length===1&&i.arguments[0].alternate.body.body[0].expression.right.arguments[0].type==="Identifier"&&i.arguments[0].alternate.body.body[0].expression.right.arguments[0].name==="require"){let e=i.callee.body.body;if(e[0].type==="ExpressionStatement"&&e[0].expression.type==="Literal"&&e[0].expression.value==="use strict"){e=e.slice(1)}if(e.length===1&&e[0].type==="ExpressionStatement"&&e[0].expression.type==="CallExpression"&&e[0].expression.callee.type==="Identifier"&&e[0].expression.callee.name===i.arguments[0].test.right.object.name&&e[0].expression.arguments.length===1&&e[0].expression.arguments[0].type==="FunctionExpression"&&e[0].expression.arguments[0].params.length===1&&e[0].expression.arguments[0].params[0].type==="Identifier"&&e[0].expression.arguments[0].params[0].name==="require"){const t=e[0].expression.arguments[0];t.params=[];try{delete t.scope.declarations.require}catch(e){}}}else if(i.arguments[0]&&i.arguments[0].type==="FunctionExpression"&&i.arguments[0].params.length===0&&(i.arguments[0].body.body.length===1||i.arguments[0].body.body.length===2&&i.arguments[0].body.body[0].type==="VariableDeclaration"&&i.arguments[0].body.body[0].declarations.length===3&&i.arguments[0].body.body[0].declarations.every(e=>e.init===null&&e.id.type==="Identifier"))&&i.arguments[0].body.body[i.arguments[0].body.body.length-1].type==="ReturnStatement"&&(e=i.arguments[0].body.body[i.arguments[0].body.body.length-1])&&((t=e.argument)===null||t===void 0?void 0:t.type)==="CallExpression"&&e.argument.arguments.length&&e.argument.arguments.every(e=>e&&e.type==="Literal"&&typeof e.value==="number")&&e.argument.callee.type==="CallExpression"&&(e.argument.callee.callee.type==="FunctionExpression"||e.argument.callee.callee.type==="CallExpression"&&e.argument.callee.callee.callee.type==="FunctionExpression"&&e.argument.callee.callee.arguments.length===0)&&e.argument.callee.arguments.length===3&&e.argument.callee.arguments[0].type==="ObjectExpression"&&e.argument.callee.arguments[1].type==="ObjectExpression"&&e.argument.callee.arguments[2].type==="ArrayExpression"){const t=e.argument.callee.arguments[0].properties;const i={};if(t.every(e=>{if(e.type!=="Property"||e.computed!==false||e.key.type!=="Literal"||typeof e.key.value!=="number"||e.value.type!=="ArrayExpression"||e.value.elements.length!==2||!e.value.elements[0]||!e.value.elements[1]||e.value.elements[0].type!=="FunctionExpression"||e.value.elements[1].type!=="ObjectExpression"){return false}const t=e.value.elements[1].properties;for(const e of t){if(e.type!=="Property"||e.value.type!=="Identifier"&&e.value.type!=="Literal"&&!isUndefinedOrVoid(e.value)||!(e.key.type==="Literal"&&typeof e.key.value==="string"||e.key.type==="Identifier")||e.computed){return false}if(isUndefinedOrVoid(e.value)){if(e.key.type==="Identifier"){i[e.key.name]={type:"Literal",start:e.key.start,end:e.key.end,value:e.key.name,raw:JSON.stringify(e.key.name)}}else if(e.key.type==="Literal"){i[String(e.key.value)]=e.key}}}return true})){const t=Object.keys(i);const r=e.argument.callee.arguments[1];r.properties=t.map(e=>{return{type:"Property",method:false,shorthand:false,computed:false,kind:"init",key:i[e],value:{type:"ObjectExpression",properties:[{type:"Property",kind:"init",method:false,shorthand:false,computed:false,key:{type:"Identifier",name:"exports"},value:{type:"CallExpression",optional:false,callee:{type:"Identifier",name:"require"},arguments:[i[e]]}}]}}})}}else if(i.arguments[0]&&i.arguments[0].type==="FunctionExpression"&&i.arguments[0].params.length===2&&i.arguments[0].params[0].type==="Identifier"&&i.arguments[0].params[1].type==="Identifier"&&"body"in i.callee&&"body"in i.callee.body&&Array.isArray(i.callee.body.body)&&i.callee.body.body.length===1){const e=i.callee.body.body[0];if(e.type==="IfStatement"&&e.test.type==="LogicalExpression"&&e.test.operator==="&&"&&e.test.left.type==="BinaryExpression"&&e.test.left.left.type==="UnaryExpression"&&e.test.left.left.operator==="typeof"&&e.test.left.left.argument.type==="Identifier"&&e.test.left.left.argument.name==="module"&&e.test.left.right.type==="Literal"&&e.test.left.right.value==="object"&&e.test.right.type==="BinaryExpression"&&e.test.right.left.type==="UnaryExpression"&&e.test.right.left.operator==="typeof"&&e.test.right.left.argument.type==="MemberExpression"&&e.test.right.left.argument.object.type==="Identifier"&&e.test.right.left.argument.object.name==="module"&&e.test.right.left.argument.property.type==="Identifier"&&e.test.right.left.argument.property.name==="exports"&&e.test.right.right.type==="Literal"&&e.test.right.right.value==="object"&&e.consequent.type==="BlockStatement"&&e.consequent.body.length>0){let t;if(e.consequent.body[0].type==="VariableDeclaration"&&e.consequent.body[0].declarations[0].init&&e.consequent.body[0].declarations[0].init.type==="CallExpression")t=e.consequent.body[0].declarations[0].init;else if(e.consequent.body[0].type==="ExpressionStatement"&&e.consequent.body[0].expression.type==="CallExpression")t=e.consequent.body[0].expression;else if(e.consequent.body[0].type==="ExpressionStatement"&&e.consequent.body[0].expression.type==="AssignmentExpression"&&e.consequent.body[0].expression.operator==="="&&e.consequent.body[0].expression.right.type==="CallExpression")t=e.consequent.body[0].expression.right;if(t&&t.callee.type==="Identifier"&&"params"in i.callee&&i.callee.params.length>0&&"name"in i.callee.params[0]&&t.callee.name===i.callee.params[0].name&&t.arguments.length===2&&t.arguments[0].type==="Identifier"&&t.arguments[0].name==="require"&&t.arguments[1].type==="Identifier"&&t.arguments[1].name==="exports"){const e=i.arguments[0];e.params=[];try{const t=e.scope;delete t.declarations.require;delete t.declarations.exports}catch(e){}}}}else if(i.callee.type==="FunctionExpression"&&i.callee.body.body.length>2&&i.callee.body.body[0].type==="VariableDeclaration"&&i.callee.body.body[0].declarations.length===1&&i.callee.body.body[0].declarations[0].type==="VariableDeclarator"&&i.callee.body.body[0].declarations[0].id.type==="Identifier"&&i.callee.body.body[0].declarations[0].init&&(i.callee.body.body[0].declarations[0].init.type==="ObjectExpression"&&i.callee.body.body[0].declarations[0].init.properties.length===0||i.callee.body.body[0].declarations[0].init.type==="CallExpression"&&i.callee.body.body[0].declarations[0].init.arguments.length===1)&&(i.callee.body.body[1]&&i.callee.body.body[1].type==="FunctionDeclaration"&&i.callee.body.body[1].params.length===1&&i.callee.body.body[1].body.body.length>=3||i.callee.body.body[2]&&i.callee.body.body[2].type==="FunctionDeclaration"&&i.callee.body.body[2].params.length===1&&i.callee.body.body[2].body.body.length>=3)&&(i.arguments[0]&&(i.arguments[0].type==="ArrayExpression"&&(n=i.arguments[0])&&i.arguments[0].elements.length>0&&i.arguments[0].elements.every(e=>e&&e.type==="FunctionExpression")||i.arguments[0].type==="ObjectExpression"&&(n=i.arguments[0])&&i.arguments[0].properties&&i.arguments[0].properties.length>0&&i.arguments[0].properties.every(e=>e&&e.type==="Property"&&!e.computed&&e.key&&e.key.type==="Literal"&&(typeof e.key.value==="string"||typeof e.key.value==="number")&&e.value&&e.value.type==="FunctionExpression")))||i.arguments.length===0&&i.callee.type==="FunctionExpression"&&i.callee.params.length===0&&i.callee.body.type==="BlockStatement"&&i.callee.body.body.length>5&&i.callee.body.body[0].type==="VariableDeclaration"&&i.callee.body.body[0].declarations.length===1&&i.callee.body.body[0].declarations[0].id.type==="Identifier"&&i.callee.body.body[1].type==="ExpressionStatement"&&i.callee.body.body[1].expression.type==="AssignmentExpression"&&i.callee.body.body[2].type==="ExpressionStatement"&&i.callee.body.body[2].expression.type==="AssignmentExpression"&&i.callee.body.body[3].type==="ExpressionStatement"&&i.callee.body.body[3].expression.type==="AssignmentExpression"&&i.callee.body.body[3].expression.left.type==="MemberExpression"&&i.callee.body.body[3].expression.left.object.type==="Identifier"&&i.callee.body.body[3].expression.left.object.name===i.callee.body.body[0].declarations[0].id.name&&i.callee.body.body[3].expression.left.property.type==="Identifier"&&i.callee.body.body[3].expression.left.property.name==="modules"&&i.callee.body.body[3].expression.right.type==="ObjectExpression"&&i.callee.body.body[3].expression.right.properties.every(e=>e&&e.type==="Property"&&!e.computed&&e.key&&e.key.type==="Literal"&&(typeof e.key.value==="string"||typeof e.key.value==="number")&&e.value&&e.value.type==="FunctionExpression")&&(n=i.callee.body.body[3].expression.right)&&(i.callee.body.body[4].type==="VariableDeclaration"&&i.callee.body.body[4].declarations.length===1&&i.callee.body.body[4].declarations[0].init&&i.callee.body.body[4].declarations[0].init.type==="CallExpression"&&i.callee.body.body[4].declarations[0].init.callee.type==="Identifier"&&i.callee.body.body[4].declarations[0].init.callee.name==="require"||i.callee.body.body[5].type==="VariableDeclaration"&&i.callee.body.body[5].declarations.length===1&&i.callee.body.body[5].declarations[0].init&&i.callee.body.body[5].declarations[0].init.type==="CallExpression"&&i.callee.body.body[5].declarations[0].init.callee.type==="Identifier"&&i.callee.body.body[5].declarations[0].init.callee.name==="require")){const e=new Map;let t;if(n.type==="ArrayExpression")t=n.elements.filter(e=>(e===null||e===void 0?void 0:e.type)==="FunctionExpression").map((e,t)=>[String(t),e]);else t=n.properties.map(e=>[String(e.key.value),e.value]);for(const[i,r]of t){const t=r.body.body.length===1?r.body.body[0]:(r.body.body.length===2||r.body.body.length===3&&r.body.body[2].type==="EmptyStatement")&&r.body.body[0].type==="ExpressionStatement"&&r.body.body[0].expression.type==="Literal"&&r.body.body[0].expression.value==="use strict"?r.body.body[1]:null;if(t&&t.type==="ExpressionStatement"&&t.expression.type==="AssignmentExpression"&&t.expression.operator==="="&&t.expression.left.type==="MemberExpression"&&t.expression.left.object.type==="Identifier"&&"params"in r&&r.params.length>0&&"name"in r.params[0]&&t.expression.left.object.name===r.params[0].name&&t.expression.left.property.type==="Identifier"&&t.expression.left.property.name==="exports"&&t.expression.right.type==="CallExpression"&&t.expression.right.callee.type==="Identifier"&&t.expression.right.callee.name==="require"&&t.expression.right.arguments.length===1&&t.expression.right.arguments[0].type==="Literal"){e.set(i,t.expression.right.arguments[0].value)}}for(const[,i]of t){if("params"in i&&i.params.length===3&&i.params[2].type==="Identifier"){const t=new Map;r.walk(i.body,{enter(r,n){const s=r;const a=n;if(s.type==="CallExpression"&&s.callee.type==="Identifier"&&"name"in i.params[2]&&s.callee.name===i.params[2].name&&s.arguments.length===1&&s.arguments[0].type==="Literal"){const i=e.get(String(s.arguments[0].value));if(i){const e={type:"CallExpression",optional:false,callee:{type:"Identifier",name:"require"},arguments:[{type:"Literal",value:i}]};const r=a;if("right"in r&&r.right===s){r.right=e}else if("left"in r&&r.left===s){r.left=e}else if("object"in r&&r.object===s){r.object=e}else if("callee"in r&&r.callee===s){r.callee=e}else if("arguments"in r&&r.arguments.some(e=>e===s)){r.arguments=r.arguments.map(t=>t===s?e:t)}else if("init"in r&&r.init===s){if(r.type==="VariableDeclarator"&&r.id.type==="Identifier")t.set(r.id.name,i);r.init=e}}}else if(s.type==="CallExpression"&&s.callee.type==="MemberExpression"&&s.callee.object.type==="Identifier"&&"name"in i.params[2]&&s.callee.object.name===i.params[2].name&&s.callee.property.type==="Identifier"&&s.callee.property.name==="n"&&s.arguments.length===1&&s.arguments[0].type==="Identifier"){if(a&&"init"in a&&a.init===s){const e=s.arguments[0];const t={type:"CallExpression",optional:false,callee:{type:"MemberExpression",computed:false,optional:false,object:{type:"Identifier",name:"Object"},property:{type:"Identifier",name:"assign"}},arguments:[{type:"ArrowFunctionExpression",expression:true,params:[],body:e},{type:"ObjectExpression",properties:[{type:"Property",kind:"init",method:false,computed:false,shorthand:false,key:{type:"Identifier",name:"a"},value:e}]}]};a.init=t}}}})}}}}}t.handleWrappers=handleWrappers},5920:(e,t)=>{e.exports=t=abbrev.abbrev=abbrev;abbrev.monkeyPatch=monkeyPatch;function monkeyPatch(){Object.defineProperty(Array.prototype,"abbrev",{value:function(){return abbrev(this)},enumerable:false,configurable:true,writable:true});Object.defineProperty(Object.prototype,"abbrev",{value:function(){return abbrev(Object.keys(this))},enumerable:false,configurable:true,writable:true})}function abbrev(e){if(arguments.length!==1||!Array.isArray(e)){e=Array.prototype.slice.call(arguments,0)}for(var t=0,i=e.length,r=[];t<i;t++){r[t]=typeof e[t]==="string"?e[t]:String(e[t])}r=r.sort(lexSort);var n={},s="";for(var t=0,i=r.length;t<i;t++){var a=r[t],o=r[t+1]||"",u=true,c=true;if(a===o)continue;for(var l=0,f=a.length;l<f;l++){var h=a.charAt(l);u=u&&h===o.charAt(l);c=c&&h===s.charAt(l);if(!u&&!c){l++;break}}s=a;if(l===f){n[a]=a;continue}for(var p=a.substr(0,l);l<=f;l++){n[p]=a;p+=a.charAt(l)}}return n}function lexSort(e,t){return e===t?0:e>t?1:-1}},5534:e=>{"use strict";function isArguments(e){return e!=null&&typeof e==="object"&&e.hasOwnProperty("callee")}var t={"*":{label:"any",check:function(){return true}},A:{label:"array",check:function(e){return Array.isArray(e)||isArguments(e)}},S:{label:"string",check:function(e){return typeof e==="string"}},N:{label:"number",check:function(e){return typeof e==="number"}},F:{label:"function",check:function(e){return typeof e==="function"}},O:{label:"object",check:function(e){return typeof e==="object"&&e!=null&&!t.A.check(e)&&!t.E.check(e)}},B:{label:"boolean",check:function(e){return typeof e==="boolean"}},E:{label:"error",check:function(e){return e instanceof Error}},Z:{label:"null",check:function(e){return e==null}}};function addSchema(e,t){var i=t[e.length]=t[e.length]||[];if(i.indexOf(e)===-1)i.push(e)}var i=e.exports=function(e,i){if(arguments.length!==2)throw wrongNumberOfArgs(["SA"],arguments.length);if(!e)throw missingRequiredArg(0,"rawSchemas");if(!i)throw missingRequiredArg(1,"args");if(!t.S.check(e))throw invalidType(0,["string"],e);if(!t.A.check(i))throw invalidType(1,["array"],i);var r=e.split("|");var n={};r.forEach(function(e){for(var i=0;i<e.length;++i){var r=e[i];if(!t[r])throw unknownType(i,r)}if(/E.*E/.test(e))throw moreThanOneError(e);addSchema(e,n);if(/E/.test(e)){addSchema(e.replace(/E.*$/,"E"),n);addSchema(e.replace(/E/,"Z"),n);if(e.length===1)addSchema("",n)}});var s=n[i.length];if(!s){throw wrongNumberOfArgs(Object.keys(n),i.length)}for(var a=0;a<i.length;++a){var o=s.filter(function(e){var r=e[a];var n=t[r].check;return n(i[a])});if(!o.length){var u=s.map(function(e){return t[e[a]].label}).filter(function(e){return e!=null});throw invalidType(a,u,i[a])}s=o}};function missingRequiredArg(e){return newException("EMISSINGARG","Missing required argument #"+(e+1))}function unknownType(e,t){return newException("EUNKNOWNTYPE","Unknown type "+t+" in argument #"+(e+1))}function invalidType(e,i,r){var n;Object.keys(t).forEach(function(e){if(t[e].check(r))n=t[e].label});return newException("EINVALIDTYPE","Argument #"+(e+1)+": Expected "+englishList(i)+" but got "+n)}function englishList(e){return e.join(", ").replace(/, ([^,]+)$/," or $1")}function wrongNumberOfArgs(e,t){var i=englishList(e);var r=e.every(function(e){return e.length===1})?"argument":"arguments";return newException("EWRONGARGCOUNT","Expected "+i+" "+r+" but got "+t)}function moreThanOneError(e){return newException("ETOOMANYERRORTYPES",'Only one error type per argument signature is allowed, more than one found in "'+e+'"')}function newException(e,t){var r=new Error(t);r.code=e;if(Error.captureStackTrace)Error.captureStackTrace(r,i);return r}},2717:(e,t,i)=>{"use strict";t.TrackerGroup=i(2952);t.Tracker=i(6189);t.TrackerStream=i(5849)},8313:(e,t,i)=>{"use strict";var r=i(8614).EventEmitter;var n=i(1669);var s=0;var a=e.exports=function(e){r.call(this);this.id=++s;this.name=e};n.inherits(a,r)},2952:(e,t,i)=>{"use strict";var r=i(1669);var n=i(8313);var s=i(6189);var a=i(5849);var o=e.exports=function(e){n.call(this,e);this.parentGroup=null;this.trackers=[];this.completion={};this.weight={};this.totalWeight=0;this.finished=false;this.bubbleChange=bubbleChange(this)};r.inherits(o,n);function bubbleChange(e){return function(t,i,r){e.completion[r.id]=i;if(e.finished)return;e.emit("change",t||e.name,e.completed(),e)}}o.prototype.nameInTree=function(){var e=[];var t=this;while(t){e.unshift(t.name);t=t.parentGroup}return e.join("/")};o.prototype.addUnit=function(e,t){if(e.addUnit){var i=this;while(i){if(e===i){throw new Error("Attempted to add tracker group "+e.name+" to tree that already includes it "+this.nameInTree(this))}i=i.parentGroup}e.parentGroup=this}this.weight[e.id]=t||1;this.totalWeight+=this.weight[e.id];this.trackers.push(e);this.completion[e.id]=e.completed();e.on("change",this.bubbleChange);if(!this.finished)this.emit("change",e.name,this.completion[e.id],e);return e};o.prototype.completed=function(){if(this.trackers.length===0)return 0;var e=1/this.totalWeight;var t=0;for(var i=0;i<this.trackers.length;i++){var r=this.trackers[i].id;t+=e*this.weight[r]*this.completion[r]}return t};o.prototype.newGroup=function(e,t){return this.addUnit(new o(e),t)};o.prototype.newItem=function(e,t,i){return this.addUnit(new s(e,t),i)};o.prototype.newStream=function(e,t,i){return this.addUnit(new a(e,t),i)};o.prototype.finish=function(){this.finished=true;if(!this.trackers.length)this.addUnit(new s,1,true);for(var e=0;e<this.trackers.length;e++){var t=this.trackers[e];t.finish();t.removeListener("change",this.bubbleChange)}this.emit("change",this.name,1,this)};var u=" ";o.prototype.debug=function(e){e=e||0;var t=e?u.substr(0,e):"";var i=t+(this.name||"top")+": "+this.completed()+"\n";this.trackers.forEach(function(r){if(r instanceof o){i+=r.debug(e+1)}else{i+=t+" "+r.name+": "+r.completed()+"\n"}});return i}},5849:(e,t,i)=>{"use strict";var r=i(1669);var n=i(675);var s=i(1722);var a=i(6189);var o=e.exports=function(e,t,i){n.Transform.call(this,i);this.tracker=new a(e,t);this.name=e;this.id=this.tracker.id;this.tracker.on("change",delegateChange(this))};r.inherits(o,n.Transform);function delegateChange(e){return function(t,i,r){e.emit("change",t,i,e)}}o.prototype._transform=function(e,t,i){this.tracker.completeWork(e.length?e.length:1);this.push(e);i()};o.prototype._flush=function(e){this.tracker.finish();e()};s(o.prototype,"tracker").method("completed").method("addWork").method("finish")},6189:(e,t,i)=>{"use strict";var r=i(1669);var n=i(8313);var s=e.exports=function(e,t){n.call(this,e);this.workDone=0;this.workTodo=t||0};r.inherits(s,n);s.prototype.completed=function(){return this.workTodo===0?0:this.workDone/this.workTodo};s.prototype.addWork=function(e){this.workTodo+=e;this.emit("change",this.name,this.completed(),this)};s.prototype.completeWork=function(e){this.workDone+=e;if(this.workDone>this.workTodo)this.workDone=this.workTodo;this.emit("change",this.name,this.completed(),this)};s.prototype.finish=function(){this.workTodo=this.workDone=1;this.emit("change",this.name,1,this)}},3353:e=>{"use strict";e.exports=balanced;function balanced(e,t,i){if(e instanceof RegExp)e=maybeMatch(e,i);if(t instanceof RegExp)t=maybeMatch(t,i);var r=range(e,t,i);return r&&{start:r[0],end:r[1],pre:i.slice(0,r[0]),body:i.slice(r[0]+e.length,r[1]),post:i.slice(r[1]+t.length)}}function maybeMatch(e,t){var i=t.match(e);return i?i[0]:null}balanced.range=range;function range(e,t,i){var r,n,s,a,o;var u=i.indexOf(e);var c=i.indexOf(t,u+1);var l=u;if(u>=0&&c>0){r=[];s=i.length;while(l>=0&&!o){if(l==u){r.push(l);u=i.indexOf(e,l+1)}else if(r.length==1){o=[r.pop(),c]}else{n=r.pop();if(n<s){s=n;a=c}c=i.indexOf(t,l+1)}l=u<c&&u>=0?u:c}if(r.length){o=[s,a]}}return o}},5706:(module,exports,__webpack_require__)=>{var fs=__webpack_require__(5747),path=__webpack_require__(5622),fileURLToPath=__webpack_require__(9001),join=path.join,dirname=path.dirname,exists=fs.accessSync&&function(e){try{fs.accessSync(e)}catch(e){return false}return true}||fs.existsSync||path.existsSync,defaults={arrow:process.env.NODE_BINDINGS_ARROW||" → ",compiled:process.env.NODE_BINDINGS_COMPILED_DIR||"compiled",platform:process.platform,arch:process.arch,nodePreGyp:"node-v"+process.versions.modules+"-"+process.platform+"-"+process.arch,version:process.versions.node,bindings:"bindings.node",try:[["module_root","build","bindings"],["module_root","build","Debug","bindings"],["module_root","build","Release","bindings"],["module_root","out","Debug","bindings"],["module_root","Debug","bindings"],["module_root","out","Release","bindings"],["module_root","Release","bindings"],["module_root","build","default","bindings"],["module_root","compiled","version","platform","arch","bindings"],["module_root","addon-build","release","install-root","bindings"],["module_root","addon-build","debug","install-root","bindings"],["module_root","addon-build","default","install-root","bindings"],["module_root","lib","binding","nodePreGyp","bindings"]]};function bindings(opts){if(typeof opts=="string"){opts={bindings:opts}}else if(!opts){opts={}}Object.keys(defaults).map(function(e){if(!(e in opts))opts[e]=defaults[e]});if(!opts.module_root){opts.module_root=exports.getRoot(exports.getFileName())}if(path.extname(opts.bindings)!=".node"){opts.bindings+=".node"}var requireFunc=true?eval("require"):0;var tries=[],i=0,l=opts.try.length,n,b,err;for(;i<l;i++){n=join.apply(null,opts.try[i].map(function(e){return opts[e]||e}));tries.push(n);try{b=opts.path?requireFunc.resolve(n):requireFunc(n);if(!opts.path){b.path=n}return b}catch(e){if(e.code!=="MODULE_NOT_FOUND"&&e.code!=="QUALIFIED_PATH_RESOLUTION_FAILED"&&!/not find/i.test(e.message)){throw e}}}err=new Error("Could not locate the bindings file. Tried:\n"+tries.map(function(e){return opts.arrow+e}).join("\n"));err.tries=tries;throw err}module.exports=exports=bindings;exports.getFileName=function getFileName(e){var t=Error.prepareStackTrace,i=Error.stackTraceLimit,r={},n;Error.stackTraceLimit=10;Error.prepareStackTrace=function(t,i){for(var r=0,s=i.length;r<s;r++){n=i[r].getFileName();if(n!==__filename){if(e){if(n!==e){return}}else{return}}}};Error.captureStackTrace(r);r.stack;Error.prepareStackTrace=t;Error.stackTraceLimit=i;var s="file://";if(n.indexOf(s)===0){n=fileURLToPath(n)}return n};exports.getRoot=function getRoot(e){var t=dirname(e),i;while(true){if(t==="."){t=process.cwd()}if(exists(join(t,"package.json"))||exists(join(t,"node_modules"))){return t}if(i===t){throw new Error('Could not find module root given file: "'+e+'". Do you have a `package.json` file? ')}i=t;t=join(t,"..")}}},3197:(e,t,i)=>{var r=i(4527);var n=i(3353);e.exports=expandTop;var s="\0SLASH"+Math.random()+"\0";var a="\0OPEN"+Math.random()+"\0";var o="\0CLOSE"+Math.random()+"\0";var u="\0COMMA"+Math.random()+"\0";var c="\0PERIOD"+Math.random()+"\0";function numeric(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function escapeBraces(e){return e.split("\\\\").join(s).split("\\{").join(a).split("\\}").join(o).split("\\,").join(u).split("\\.").join(c)}function unescapeBraces(e){return e.split(s).join("\\").split(a).join("{").split(o).join("}").split(u).join(",").split(c).join(".")}function parseCommaParts(e){if(!e)return[""];var t=[];var i=n("{","}",e);if(!i)return e.split(",");var r=i.pre;var s=i.body;var a=i.post;var o=r.split(",");o[o.length-1]+="{"+s+"}";var u=parseCommaParts(a);if(a.length){o[o.length-1]+=u.shift();o.push.apply(o,u)}t.push.apply(t,o);return t}function expandTop(e){if(!e)return[];if(e.substr(0,2)==="{}"){e="\\{\\}"+e.substr(2)}return expand(escapeBraces(e),true).map(unescapeBraces)}function identity(e){return e}function embrace(e){return"{"+e+"}"}function isPadded(e){return/^-?0\d/.test(e)}function lte(e,t){return e<=t}function gte(e,t){return e>=t}function expand(e,t){var i=[];var s=n("{","}",e);if(!s||/\$$/.test(s.pre))return[e];var a=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(s.body);var u=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(s.body);var c=a||u;var l=s.body.indexOf(",")>=0;if(!c&&!l){if(s.post.match(/,.*\}/)){e=s.pre+"{"+s.body+o+s.post;return expand(e)}return[e]}var f;if(c){f=s.body.split(/\.\./)}else{f=parseCommaParts(s.body);if(f.length===1){f=expand(f[0],false).map(embrace);if(f.length===1){var h=s.post.length?expand(s.post,false):[""];return h.map(function(e){return s.pre+f[0]+e})}}}var p=s.pre;var h=s.post.length?expand(s.post,false):[""];var d;if(c){var v=numeric(f[0]);var y=numeric(f[1]);var g=Math.max(f[0].length,f[1].length);var b=f.length==3?Math.abs(numeric(f[2])):1;var m=lte;var _=y<v;if(_){b*=-1;m=gte}var w=f.some(isPadded);d=[];for(var E=v;m(E,y);E+=b){var S;if(u){S=String.fromCharCode(E);if(S==="\\")S=""}else{S=String(E);if(w){var x=g-S.length;if(x>0){var R=new Array(x+1).join("0");if(E<0)S="-"+R+S.slice(1);else S=R+S}}}d.push(S)}}else{d=r(f,function(e){return expand(e,false)})}for(var A=0;A<d.length;A++){for(var k=0;k<h.length;k++){var T=p+d[A]+h[k];if(!t||c||T)i.push(T)}}return i}},538:(e,t,i)=>{"use strict";const r=i(9200);const n=i(3668);const s=i(5961);const a=i(9594);const o=(e,t={})=>{let i=[];if(Array.isArray(e)){for(let r of e){let e=o.create(r,t);if(Array.isArray(e)){i.push(...e)}else{i.push(e)}}}else{i=[].concat(o.create(e,t))}if(t&&t.expand===true&&t.nodupes===true){i=[...new Set(i)]}return i};o.parse=((e,t={})=>a(e,t));o.stringify=((e,t={})=>{if(typeof e==="string"){return r(o.parse(e,t),t)}return r(e,t)});o.compile=((e,t={})=>{if(typeof e==="string"){e=o.parse(e,t)}return n(e,t)});o.expand=((e,t={})=>{if(typeof e==="string"){e=o.parse(e,t)}let i=s(e,t);if(t.noempty===true){i=i.filter(Boolean)}if(t.nodupes===true){i=[...new Set(i)]}return i});o.create=((e,t={})=>{if(e===""||e.length<3){return[e]}return t.expand!==true?o.compile(e,t):o.expand(e,t)});e.exports=o},3668:(e,t,i)=>{"use strict";const r=i(3488);const n=i(4691);const s=(e,t={})=>{let i=(e,s={})=>{let a=n.isInvalidBrace(s);let o=e.invalid===true&&t.escapeInvalid===true;let u=a===true||o===true;let c=t.escapeInvalid===true?"\\":"";let l="";if(e.isOpen===true){return c+e.value}if(e.isClose===true){return c+e.value}if(e.type==="open"){return u?c+e.value:"("}if(e.type==="close"){return u?c+e.value:")"}if(e.type==="comma"){return e.prev.type==="comma"?"":u?e.value:"|"}if(e.value){return e.value}if(e.nodes&&e.ranges>0){let i=n.reduce(e.nodes);let s=r(...i,{...t,wrap:false,toRegex:true});if(s.length!==0){return i.length>1&&s.length>1?`(${s})`:s}}if(e.nodes){for(let t of e.nodes){l+=i(t,e)}}return l};return i(e)};e.exports=s},5529:e=>{"use strict";e.exports={MAX_LENGTH:1024*64,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"}},5961:(e,t,i)=>{"use strict";const r=i(3488);const n=i(9200);const s=i(4691);const a=(e="",t="",i=false)=>{let r=[];e=[].concat(e);t=[].concat(t);if(!t.length)return e;if(!e.length){return i?s.flatten(t).map(e=>`{${e}}`):t}for(let n of e){if(Array.isArray(n)){for(let e of n){r.push(a(e,t,i))}}else{for(let e of t){if(i===true&&typeof e==="string")e=`{${e}}`;r.push(Array.isArray(e)?a(n,e,i):n+e)}}}return s.flatten(r)};const o=(e,t={})=>{let i=t.rangeLimit===void 0?1e3:t.rangeLimit;let o=(e,u={})=>{e.queue=[];let c=u;let l=u.queue;while(c.type!=="brace"&&c.type!=="root"&&c.parent){c=c.parent;l=c.queue}if(e.invalid||e.dollar){l.push(a(l.pop(),n(e,t)));return}if(e.type==="brace"&&e.invalid!==true&&e.nodes.length===2){l.push(a(l.pop(),["{}"]));return}if(e.nodes&&e.ranges>0){let o=s.reduce(e.nodes);if(s.exceedsLimit(...o,t.step,i)){throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.")}let u=r(...o,t);if(u.length===0){u=n(e,t)}l.push(a(l.pop(),u));e.nodes=[];return}let f=s.encloseBrace(e);let h=e.queue;let p=e;while(p.type!=="brace"&&p.type!=="root"&&p.parent){p=p.parent;h=p.queue}for(let t=0;t<e.nodes.length;t++){let i=e.nodes[t];if(i.type==="comma"&&e.type==="brace"){if(t===1)h.push("");h.push("");continue}if(i.type==="close"){l.push(a(l.pop(),h,f));continue}if(i.value&&i.type!=="open"){h.push(a(h.pop(),i.value));continue}if(i.nodes){o(i,e)}}return h};return s.flatten(o(e))};e.exports=o},9594:(e,t,i)=>{"use strict";const r=i(9200);const{MAX_LENGTH:n,CHAR_BACKSLASH:s,CHAR_BACKTICK:a,CHAR_COMMA:o,CHAR_DOT:u,CHAR_LEFT_PARENTHESES:c,CHAR_RIGHT_PARENTHESES:l,CHAR_LEFT_CURLY_BRACE:f,CHAR_RIGHT_CURLY_BRACE:h,CHAR_LEFT_SQUARE_BRACKET:p,CHAR_RIGHT_SQUARE_BRACKET:d,CHAR_DOUBLE_QUOTE:v,CHAR_SINGLE_QUOTE:y,CHAR_NO_BREAK_SPACE:g,CHAR_ZERO_WIDTH_NOBREAK_SPACE:b}=i(5529);const m=(e,t={})=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}let i=t||{};let m=typeof i.maxLength==="number"?Math.min(n,i.maxLength):n;if(e.length>m){throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${m})`)}let _={type:"root",input:e,nodes:[]};let w=[_];let E=_;let S=_;let x=0;let R=e.length;let A=0;let k=0;let T;let C={};const O=()=>e[A++];const N=e=>{if(e.type==="text"&&S.type==="dot"){S.type="text"}if(S&&S.type==="text"&&e.type==="text"){S.value+=e.value;return}E.nodes.push(e);e.parent=E;e.prev=S;S=e;return e};N({type:"bos"});while(A<R){E=w[w.length-1];T=O();if(T===b||T===g){continue}if(T===s){N({type:"text",value:(t.keepEscaping?T:"")+O()});continue}if(T===d){N({type:"text",value:"\\"+T});continue}if(T===p){x++;let e=true;let t;while(A<R&&(t=O())){T+=t;if(t===p){x++;continue}if(t===s){T+=O();continue}if(t===d){x--;if(x===0){break}}}N({type:"text",value:T});continue}if(T===c){E=N({type:"paren",nodes:[]});w.push(E);N({type:"text",value:T});continue}if(T===l){if(E.type!=="paren"){N({type:"text",value:T});continue}E=w.pop();N({type:"text",value:T});E=w[w.length-1];continue}if(T===v||T===y||T===a){let e=T;let i;if(t.keepQuotes!==true){T=""}while(A<R&&(i=O())){if(i===s){T+=i+O();continue}if(i===e){if(t.keepQuotes===true)T+=i;break}T+=i}N({type:"text",value:T});continue}if(T===f){k++;let e=S.value&&S.value.slice(-1)==="$"||E.dollar===true;let t={type:"brace",open:true,close:false,dollar:e,depth:k,commas:0,ranges:0,nodes:[]};E=N(t);w.push(E);N({type:"open",value:T});continue}if(T===h){if(E.type!=="brace"){N({type:"text",value:T});continue}let e="close";E=w.pop();E.close=true;N({type:e,value:T});k--;E=w[w.length-1];continue}if(T===o&&k>0){if(E.ranges>0){E.ranges=0;let e=E.nodes.shift();E.nodes=[e,{type:"text",value:r(E)}]}N({type:"comma",value:T});E.commas++;continue}if(T===u&&k>0&&E.commas===0){let e=E.nodes;if(k===0||e.length===0){N({type:"text",value:T});continue}if(S.type==="dot"){E.range=[];S.value+=T;S.type="range";if(E.nodes.length!==3&&E.nodes.length!==5){E.invalid=true;E.ranges=0;S.type="text";continue}E.ranges++;E.args=[];continue}if(S.type==="range"){e.pop();let t=e[e.length-1];t.value+=S.value+T;S=t;E.ranges--;continue}N({type:"dot",value:T});continue}N({type:"text",value:T})}do{E=w.pop();if(E.type!=="root"){E.nodes.forEach(e=>{if(!e.nodes){if(e.type==="open")e.isOpen=true;if(e.type==="close")e.isClose=true;if(!e.nodes)e.type="text";e.invalid=true}});let e=w[w.length-1];let t=e.nodes.indexOf(E);e.nodes.splice(t,1,...E.nodes)}}while(w.length>0);N({type:"eos"});return _};e.exports=m},9200:(e,t,i)=>{"use strict";const r=i(4691);e.exports=((e,t={})=>{let i=(e,n={})=>{let s=t.escapeInvalid&&r.isInvalidBrace(n);let a=e.invalid===true&&t.escapeInvalid===true;let o="";if(e.value){if((s||a)&&r.isOpenOrClose(e)){return"\\"+e.value}return e.value}if(e.value){return e.value}if(e.nodes){for(let t of e.nodes){o+=i(t)}}return o};return i(e)})},4691:(e,t)=>{"use strict";t.isInteger=(e=>{if(typeof e==="number"){return Number.isInteger(e)}if(typeof e==="string"&&e.trim()!==""){return Number.isInteger(Number(e))}return false});t.find=((e,t)=>e.nodes.find(e=>e.type===t));t.exceedsLimit=((e,i,r=1,n)=>{if(n===false)return false;if(!t.isInteger(e)||!t.isInteger(i))return false;return(Number(i)-Number(e))/Number(r)>=n});t.escapeNode=((e,t=0,i)=>{let r=e.nodes[t];if(!r)return;if(i&&r.type===i||r.type==="open"||r.type==="close"){if(r.escaped!==true){r.value="\\"+r.value;r.escaped=true}}});t.encloseBrace=(e=>{if(e.type!=="brace")return false;if(e.commas>>0+e.ranges>>0===0){e.invalid=true;return true}return false});t.isInvalidBrace=(e=>{if(e.type!=="brace")return false;if(e.invalid===true||e.dollar)return true;if(e.commas>>0+e.ranges>>0===0){e.invalid=true;return true}if(e.open!==true||e.close!==true){e.invalid=true;return true}return false});t.isOpenOrClose=(e=>{if(e.type==="open"||e.type==="close"){return true}return e.open===true||e.close===true});t.reduce=(e=>e.reduce((e,t)=>{if(t.type==="text")e.push(t.value);if(t.type==="range")t.type="text";return e},[]));t.flatten=((...e)=>{const t=[];const i=e=>{for(let r=0;r<e.length;r++){let n=e[r];Array.isArray(n)?i(n,t):n!==void 0&&t.push(n)}return t};i(e);return t})},360:(e,t,i)=>{var r=i(4293).Buffer;var n=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];if(typeof Int32Array!=="undefined"){n=new Int32Array(n)}function ensureBuffer(e){if(r.isBuffer(e)){return e}var t=typeof r.alloc==="function"&&typeof r.from==="function";if(typeof e==="number"){return t?r.alloc(e):new r(e)}else if(typeof e==="string"){return t?r.from(e):new r(e)}else{throw new Error("input must be buffer, number, or string, received "+typeof e)}}function bufferizeInt(e){var t=ensureBuffer(4);t.writeInt32BE(e,0);return t}function _crc32(e,t){e=ensureBuffer(e);if(r.isBuffer(t)){t=t.readUInt32BE(0)}var i=~~t^-1;for(var s=0;s<e.length;s++){i=n[(i^e[s])&255]^i>>>8}return i^-1}function crc32(){return bufferizeInt(_crc32.apply(null,arguments))}crc32.signed=function(){return _crc32.apply(null,arguments)};crc32.unsigned=function(){return _crc32.apply(null,arguments)>>>0};e.exports=crc32},6708:e=>{"use strict";e.exports=function(e,t){if(e===null||e===undefined){throw TypeError()}e=String(e);var i=e.length;var r=t?Number(t):0;if(Number.isNaN(r)){r=0}if(r<0||r>=i){return undefined}var n=e.charCodeAt(r);if(n>=55296&&n<=56319&&i>r+1){var s=e.charCodeAt(r+1);if(s>=56320&&s<=57343){return(n-55296)*1024+s-56320+65536}}return n}},4527:e=>{e.exports=function(e,i){var r=[];for(var n=0;n<e.length;n++){var s=i(e[n],n);if(t(s))r.push.apply(r,s);else r.push(s)}return r};var t=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"}},6322:(e,t)=>{"use strict";var i="[";t.up=function up(e){return i+(e||"")+"A"};t.down=function down(e){return i+(e||"")+"B"};t.forward=function forward(e){return i+(e||"")+"C"};t.back=function back(e){return i+(e||"")+"D"};t.nextLine=function nextLine(e){return i+(e||"")+"E"};t.previousLine=function previousLine(e){return i+(e||"")+"F"};t.horizontalAbsolute=function horizontalAbsolute(e){if(e==null)throw new Error("horizontalAboslute requires a column to position to");return i+e+"G"};t.eraseData=function eraseData(){return i+"J"};t.eraseLine=function eraseLine(){return i+"K"};t.goto=function(e,t){return i+t+";"+e+"H"};t.gotoSOL=function(){return"\r"};t.beep=function(){return""};t.hideCursor=function hideCursor(){return i+"?25l"};t.showCursor=function showCursor(){return i+"?25h"};var r={reset:0,bold:1,italic:3,underline:4,inverse:7,stopBold:22,stopItalic:23,stopUnderline:24,stopInverse:27,white:37,black:30,blue:34,cyan:36,green:32,magenta:35,red:31,yellow:33,bgWhite:47,bgBlack:40,bgBlue:44,bgCyan:46,bgGreen:42,bgMagenta:45,bgRed:41,bgYellow:43,grey:90,brightBlack:90,brightRed:91,brightGreen:92,brightYellow:93,brightBlue:94,brightMagenta:95,brightCyan:96,brightWhite:97,bgGrey:100,bgBrightBlack:100,bgBrightRed:101,bgBrightGreen:102,bgBrightYellow:103,bgBrightBlue:104,bgBrightMagenta:105,bgBrightCyan:106,bgBrightWhite:107};t.color=function color(e){if(arguments.length!==1||!Array.isArray(e)){e=Array.prototype.slice.call(arguments)}return i+e.map(colorNameToCode).join(";")+"m"};function colorNameToCode(e){if(r[e]!=null)return r[e];throw new Error("Unknown color or style name: "+e)}},3487:(e,t)=>{function isArray(e){if(Array.isArray){return Array.isArray(e)}return objectToString(e)==="[object Array]"}t.isArray=isArray;function isBoolean(e){return typeof e==="boolean"}t.isBoolean=isBoolean;function isNull(e){return e===null}t.isNull=isNull;function isNullOrUndefined(e){return e==null}t.isNullOrUndefined=isNullOrUndefined;function isNumber(e){return typeof e==="number"}t.isNumber=isNumber;function isString(e){return typeof e==="string"}t.isString=isString;function isSymbol(e){return typeof e==="symbol"}t.isSymbol=isSymbol;function isUndefined(e){return e===void 0}t.isUndefined=isUndefined;function isRegExp(e){return objectToString(e)==="[object RegExp]"}t.isRegExp=isRegExp;function isObject(e){return typeof e==="object"&&e!==null}t.isObject=isObject;function isDate(e){return objectToString(e)==="[object Date]"}t.isDate=isDate;function isError(e){return objectToString(e)==="[object Error]"||e instanceof Error}t.isError=isError;function isFunction(e){return typeof e==="function"}t.isFunction=isFunction;function isPrimitive(e){return e===null||typeof e==="boolean"||typeof e==="number"||typeof e==="string"||typeof e==="symbol"||typeof e==="undefined"}t.isPrimitive=isPrimitive;t.isBuffer=Buffer.isBuffer;function objectToString(e){return Object.prototype.toString.call(e)}},1722:e=>{e.exports=Delegator;function Delegator(e,t){if(!(this instanceof Delegator))return new Delegator(e,t);this.proto=e;this.target=t;this.methods=[];this.getters=[];this.setters=[];this.fluents=[]}Delegator.prototype.method=function(e){var t=this.proto;var i=this.target;this.methods.push(e);t[e]=function(){return this[i][e].apply(this[i],arguments)};return this};Delegator.prototype.access=function(e){return this.getter(e).setter(e)};Delegator.prototype.getter=function(e){var t=this.proto;var i=this.target;this.getters.push(e);t.__defineGetter__(e,function(){return this[i][e]});return this};Delegator.prototype.setter=function(e){var t=this.proto;var i=this.target;this.setters.push(e);t.__defineSetter__(e,function(t){return this[i][e]=t});return this};Delegator.prototype.fluent=function(e){var t=this.proto;var i=this.target;this.fluents.push(e);t[e]=function(t){if("undefined"!=typeof t){this[i][e]=t;return this}else{return this[i][e]}};return this}},2157:(e,t,i)=>{"use strict";var r=i(2087).platform();var n=i(3129).spawnSync;var s=i(5747).readdirSync;var a="glibc";var o="musl";var u={encoding:"utf8",env:process.env};if(!n){n=function(){return{status:126,stdout:"",stderr:""}}}function contains(e){return function(t){return t.indexOf(e)!==-1}}function versionFromMuslLdd(e){return e.split(/[\r\n]+/)[1].trim().split(/\s/)[1]}function safeReaddirSync(e){try{return s(e)}catch(e){}return[]}var c="";var l="";var f="";if(r==="linux"){var h=n("getconf",["GNU_LIBC_VERSION"],u);if(h.status===0){c=a;l=h.stdout.trim().split(" ")[1];f="getconf"}else{var p=n("ldd",["--version"],u);if(p.status===0&&p.stdout.indexOf(o)!==-1){c=o;l=versionFromMuslLdd(p.stdout);f="ldd"}else if(p.status===1&&p.stderr.indexOf(o)!==-1){c=o;l=versionFromMuslLdd(p.stderr);f="ldd"}else{var d=safeReaddirSync("/lib");if(d.some(contains("-linux-gnu"))){c=a;f="filesystem"}else if(d.some(contains("libc.musl-"))){c=o;f="filesystem"}else if(d.some(contains("ld-musl-"))){c=o;f="filesystem"}else{var v=safeReaddirSync("/usr/sbin");if(v.some(contains("glibc"))){c=a;f="filesystem"}}}}}var y=c!==""&&c!==a;e.exports={GLIBC:a,MUSL:o,family:c,version:l,method:f,isNonGlibcLinux:y}},7488:function(e,t){(function(e,i){true?i(t):0})(this,function(e){"use strict";class WalkerBase{constructor(){this.should_skip=false;this.should_remove=false;this.replacement=null;this.context={skip:()=>this.should_skip=true,remove:()=>this.should_remove=true,replace:e=>this.replacement=e}}replace(e,t,i,r){if(e){if(i!==null){e[t][i]=r}else{e[t]=r}}}remove(e,t,i){if(e){if(i!==null){e[t].splice(i,1)}else{delete e[t]}}}}class SyncWalker extends WalkerBase{constructor(e,t){super();this.enter=e;this.leave=t}visit(e,t,i,r){if(e){if(this.enter){const n=this.should_skip;const s=this.should_remove;const a=this.replacement;this.should_skip=false;this.should_remove=false;this.replacement=null;this.enter.call(this.context,e,t,i,r);if(this.replacement){e=this.replacement;this.replace(t,i,r,e)}if(this.should_remove){this.remove(t,i,r)}const o=this.should_skip;const u=this.should_remove;this.should_skip=n;this.should_remove=s;this.replacement=a;if(o)return e;if(u)return null}for(const t in e){const i=e[t];if(typeof i!=="object"){continue}else if(Array.isArray(i)){for(let r=0;r<i.length;r+=1){if(i[r]!==null&&typeof i[r].type==="string"){if(!this.visit(i[r],e,t,r)){r--}}}}else if(i!==null&&typeof i.type==="string"){this.visit(i,e,t,null)}}if(this.leave){const n=this.replacement;const s=this.should_remove;this.replacement=null;this.should_remove=false;this.leave.call(this.context,e,t,i,r);if(this.replacement){e=this.replacement;this.replace(t,i,r,e)}if(this.should_remove){this.remove(t,i,r)}const a=this.should_remove;this.replacement=n;this.should_remove=s;if(a)return null}}return e}}class AsyncWalker extends WalkerBase{constructor(e,t){super();this.enter=e;this.leave=t}async visit(e,t,i,r){if(e){if(this.enter){const n=this.should_skip;const s=this.should_remove;const a=this.replacement;this.should_skip=false;this.should_remove=false;this.replacement=null;await this.enter.call(this.context,e,t,i,r);if(this.replacement){e=this.replacement;this.replace(t,i,r,e)}if(this.should_remove){this.remove(t,i,r)}const o=this.should_skip;const u=this.should_remove;this.should_skip=n;this.should_remove=s;this.replacement=a;if(o)return e;if(u)return null}for(const t in e){const i=e[t];if(typeof i!=="object"){continue}else if(Array.isArray(i)){for(let r=0;r<i.length;r+=1){if(i[r]!==null&&typeof i[r].type==="string"){if(!await this.visit(i[r],e,t,r)){r--}}}}else if(i!==null&&typeof i.type==="string"){await this.visit(i,e,t,null)}}if(this.leave){const n=this.replacement;const s=this.should_remove;this.replacement=null;this.should_remove=false;await this.leave.call(this.context,e,t,i,r);if(this.replacement){e=this.replacement;this.replace(t,i,r,e)}if(this.should_remove){this.remove(t,i,r)}const a=this.should_remove;this.replacement=n;this.should_remove=s;if(a)return null}}return e}}function walk(e,{enter:t,leave:i}){const r=new SyncWalker(t,i);return r.visit(e,null)}async function asyncWalk(e,{enter:t,leave:i}){const r=new AsyncWalker(t,i);return await r.visit(e,null)}e.asyncWalk=asyncWalk;e.walk=walk;Object.defineProperty(e,"__esModule",{value:true})})},9001:(e,t,i)=>{var r=i(5622).sep||"/";e.exports=fileUriToPath;function fileUriToPath(e){if("string"!=typeof e||e.length<=7||"file://"!=e.substring(0,7)){throw new TypeError("must pass in a file:// URI to convert to a file path")}var t=decodeURI(e.substring(7));var i=t.indexOf("/");var n=t.substring(0,i);var s=t.substring(i+1);if("localhost"==n)n="";if(n){n=r+r+n}s=s.replace(/^(.+)\|/,"$1:");if(r=="\\"){s=s.replace(/\//g,"\\")}if(/^.+\:/.test(s)){}else{s=r+s}return n+s}},3488:(e,t,i)=>{"use strict";const r=i(1669);const n=i(887);const s=e=>e!==null&&typeof e==="object"&&!Array.isArray(e);const a=e=>{return t=>e===true?Number(t):String(t)};const o=e=>{return typeof e==="number"||typeof e==="string"&&e!==""};const u=e=>Number.isInteger(+e);const c=e=>{let t=`${e}`;let i=-1;if(t[0]==="-")t=t.slice(1);if(t==="0")return false;while(t[++i]==="0");return i>0};const l=(e,t,i)=>{if(typeof e==="string"||typeof t==="string"){return true}return i.stringify===true};const f=(e,t,i)=>{if(t>0){let i=e[0]==="-"?"-":"";if(i)e=e.slice(1);e=i+e.padStart(i?t-1:t,"0")}if(i===false){return String(e)}return e};const h=(e,t)=>{let i=e[0]==="-"?"-":"";if(i){e=e.slice(1);t--}while(e.length<t)e="0"+e;return i?"-"+e:e};const p=(e,t)=>{e.negatives.sort((e,t)=>e<t?-1:e>t?1:0);e.positives.sort((e,t)=>e<t?-1:e>t?1:0);let i=t.capture?"":"?:";let r="";let n="";let s;if(e.positives.length){r=e.positives.join("|")}if(e.negatives.length){n=`-(${i}${e.negatives.join("|")})`}if(r&&n){s=`${r}|${n}`}else{s=r||n}if(t.wrap){return`(${i}${s})`}return s};const d=(e,t,i,r)=>{if(i){return n(e,t,{wrap:false,...r})}let s=String.fromCharCode(e);if(e===t)return s;let a=String.fromCharCode(t);return`[${s}-${a}]`};const v=(e,t,i)=>{if(Array.isArray(e)){let t=i.wrap===true;let r=i.capture?"":"?:";return t?`(${r}${e.join("|")})`:e.join("|")}return n(e,t,i)};const y=(...e)=>{return new RangeError("Invalid range arguments: "+r.inspect(...e))};const g=(e,t,i)=>{if(i.strictRanges===true)throw y([e,t]);return[]};const b=(e,t)=>{if(t.strictRanges===true){throw new TypeError(`Expected step "${e}" to be a number`)}return[]};const m=(e,t,i=1,r={})=>{let n=Number(e);let s=Number(t);if(!Number.isInteger(n)||!Number.isInteger(s)){if(r.strictRanges===true)throw y([e,t]);return[]}if(n===0)n=0;if(s===0)s=0;let o=n>s;let u=String(e);let g=String(t);let b=String(i);i=Math.max(Math.abs(i),1);let m=c(u)||c(g)||c(b);let _=m?Math.max(u.length,g.length,b.length):0;let w=m===false&&l(e,t,r)===false;let E=r.transform||a(w);if(r.toRegex&&i===1){return d(h(e,_),h(t,_),true,r)}let S={negatives:[],positives:[]};let x=e=>S[e<0?"negatives":"positives"].push(Math.abs(e));let R=[];let A=0;while(o?n>=s:n<=s){if(r.toRegex===true&&i>1){x(n)}else{R.push(f(E(n,A),_,w))}n=o?n-i:n+i;A++}if(r.toRegex===true){return i>1?p(S,r):v(R,null,{wrap:false,...r})}return R};const _=(e,t,i=1,r={})=>{if(!u(e)&&e.length>1||!u(t)&&t.length>1){return g(e,t,r)}let n=r.transform||(e=>String.fromCharCode(e));let s=`${e}`.charCodeAt(0);let a=`${t}`.charCodeAt(0);let o=s>a;let c=Math.min(s,a);let l=Math.max(s,a);if(r.toRegex&&i===1){return d(c,l,false,r)}let f=[];let h=0;while(o?s>=a:s<=a){f.push(n(s,h));s=o?s-i:s+i;h++}if(r.toRegex===true){return v(f,null,{wrap:false,options:r})}return f};const w=(e,t,i,r={})=>{if(t==null&&o(e)){return[e]}if(!o(e)||!o(t)){return g(e,t,r)}if(typeof i==="function"){return w(e,t,1,{transform:i})}if(s(i)){return w(e,t,0,i)}let n={...r};if(n.capture===true)n.wrap=true;i=i||n.step||1;if(!u(i)){if(i!=null&&!s(i))return b(i,n);return w(e,t,1,i)}if(u(e)&&u(t)){return m(e,t,i,n)}return _(e,t,Math.max(Math.abs(i),1),n)};e.exports=w},4823:(e,t,i)=>{"use strict";const r=i(5622);const n=i(3995);const s=i(7500);const a=Symbol("findUp.stop");e.exports=(async(e,t={})=>{let i=r.resolve(t.cwd||"");const{root:s}=r.parse(i);const o=[].concat(e);const u=async t=>{if(typeof e!=="function"){return n(o,t)}const i=await e(t.cwd);if(typeof i==="string"){return n([i],t)}return i};while(true){const e=await u({...t,cwd:i});if(e===a){return}if(e){return r.resolve(i,e)}if(i===s){return}i=r.dirname(i)}});e.exports.sync=((e,t={})=>{let i=r.resolve(t.cwd||"");const{root:s}=r.parse(i);const o=[].concat(e);const u=t=>{if(typeof e!=="function"){return n.sync(o,t)}const i=e(t.cwd);if(typeof i==="string"){return n.sync([i],t)}return i};while(true){const e=u({...t,cwd:i});if(e===a){return}if(e){return r.resolve(i,e)}if(i===s){return}i=r.dirname(i)}});e.exports.exists=s;e.exports.sync.exists=s.sync;e.exports.stop=a},7500:(e,t,i)=>{"use strict";const r=i(5747);const{promisify:n}=i(1669);const s=n(r.access);e.exports=(async e=>{try{await s(e);return true}catch(e){return false}});e.exports.sync=(e=>{try{r.accessSync(e);return true}catch(e){return false}})},8945:(e,t,i)=>{e.exports=realpath;realpath.realpath=realpath;realpath.sync=realpathSync;realpath.realpathSync=realpathSync;realpath.monkeypatch=monkeypatch;realpath.unmonkeypatch=unmonkeypatch;var r=i(5747);var n=r.realpath;var s=r.realpathSync;var a=process.version;var o=/^v[0-5]\./.test(a);var u=i(4403);function newError(e){return e&&e.syscall==="realpath"&&(e.code==="ELOOP"||e.code==="ENOMEM"||e.code==="ENAMETOOLONG")}function realpath(e,t,i){if(o){return n(e,t,i)}if(typeof t==="function"){i=t;t=null}n(e,t,function(r,n){if(newError(r)){u.realpath(e,t,i)}else{i(r,n)}})}function realpathSync(e,t){if(o){return s(e,t)}try{return s(e,t)}catch(i){if(newError(i)){return u.realpathSync(e,t)}else{throw i}}}function monkeypatch(){r.realpath=realpath;r.realpathSync=realpathSync}function unmonkeypatch(){r.realpath=n;r.realpathSync=s}},4403:(e,t,i)=>{var r=i(5622);var n=process.platform==="win32";var s=i(5747);var a=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function rethrow(){var e;if(a){var t=new Error;e=debugCallback}else e=missingCallback;return e;function debugCallback(e){if(e){t.message=e.message;e=t;missingCallback(e)}}function missingCallback(e){if(e){if(process.throwDeprecation)throw e;else if(!process.noDeprecation){var t="fs: missing callback "+(e.stack||e.message);if(process.traceDeprecation)console.trace(t);else console.error(t)}}}}function maybeCallback(e){return typeof e==="function"?e:rethrow()}var o=r.normalize;if(n){var u=/(.*?)(?:[\/\\]+|$)/g}else{var u=/(.*?)(?:[\/]+|$)/g}if(n){var c=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/}else{var c=/^[\/]*/}t.realpathSync=function realpathSync(e,t){e=r.resolve(e);if(t&&Object.prototype.hasOwnProperty.call(t,e)){return t[e]}var i=e,a={},o={};var l;var f;var h;var p;start();function start(){var t=c.exec(e);l=t[0].length;f=t[0];h=t[0];p="";if(n&&!o[h]){s.lstatSync(h);o[h]=true}}while(l<e.length){u.lastIndex=l;var d=u.exec(e);p=f;f+=d[0];h=p+d[1];l=u.lastIndex;if(o[h]||t&&t[h]===h){continue}var v;if(t&&Object.prototype.hasOwnProperty.call(t,h)){v=t[h]}else{var y=s.lstatSync(h);if(!y.isSymbolicLink()){o[h]=true;if(t)t[h]=h;continue}var g=null;if(!n){var b=y.dev.toString(32)+":"+y.ino.toString(32);if(a.hasOwnProperty(b)){g=a[b]}}if(g===null){s.statSync(h);g=s.readlinkSync(h)}v=r.resolve(p,g);if(t)t[h]=v;if(!n)a[b]=g}e=r.resolve(v,e.slice(l));start()}if(t)t[i]=e;return e};t.realpath=function realpath(e,t,i){if(typeof i!=="function"){i=maybeCallback(t);t=null}e=r.resolve(e);if(t&&Object.prototype.hasOwnProperty.call(t,e)){return process.nextTick(i.bind(null,null,t[e]))}var a=e,o={},l={};var f;var h;var p;var d;start();function start(){var t=c.exec(e);f=t[0].length;h=t[0];p=t[0];d="";if(n&&!l[p]){s.lstat(p,function(e){if(e)return i(e);l[p]=true;LOOP()})}else{process.nextTick(LOOP)}}function LOOP(){if(f>=e.length){if(t)t[a]=e;return i(null,e)}u.lastIndex=f;var r=u.exec(e);d=h;h+=r[0];p=d+r[1];f=u.lastIndex;if(l[p]||t&&t[p]===p){return process.nextTick(LOOP)}if(t&&Object.prototype.hasOwnProperty.call(t,p)){return gotResolvedLink(t[p])}return s.lstat(p,gotStat)}function gotStat(e,r){if(e)return i(e);if(!r.isSymbolicLink()){l[p]=true;if(t)t[p]=p;return process.nextTick(LOOP)}if(!n){var a=r.dev.toString(32)+":"+r.ino.toString(32);if(o.hasOwnProperty(a)){return gotTarget(null,o[a],p)}}s.stat(p,function(e){if(e)return i(e);s.readlink(p,function(e,t){if(!n)o[a]=t;gotTarget(e,t)})})}function gotTarget(e,n,s){if(e)return i(e);var a=r.resolve(d,n);if(t)t[s]=a;gotResolvedLink(a)}function gotResolvedLink(t){e=r.resolve(t,e.slice(f));start()}}},1271:(e,t,i)=>{"use strict";var r=i(1021);var n=i(5791);e.exports={activityIndicator:function(e,t,i){if(e.spun==null)return;return r(t,e.spun)},progressbar:function(e,t,i){if(e.completed==null)return;return n(t,i,e.completed)}}},2479:(e,t,i)=>{"use strict";var r=i(1669);var n=t.User=function User(e){var t=new Error(e);Error.captureStackTrace(t,User);t.code="EGAUGE";return t};t.MissingTemplateValue=function MissingTemplateValue(e,t){var i=new n(r.format('Missing template value "%s"',e.type));Error.captureStackTrace(i,MissingTemplateValue);i.template=e;i.values=t;return i};t.Internal=function Internal(e){var t=new Error(e);Error.captureStackTrace(t,Internal);t.code="EGAUGEINTERNAL";return t}},3278:e=>{"use strict";e.exports=isWin32()||isColorTerm();function isWin32(){return process.platform==="win32"}function isColorTerm(){var e=/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i;return!!process.env.COLORTERM||e.test(process.env.TERM)}},6054:(e,t,i)=>{"use strict";var r=i(4708);var n=i(7963);var s=i(3278);var a=i(2028);var o=i(7987);var u=i(75);var c=i(9186);var l=i(6401);e.exports=Gauge;function callWith(e,t){return function(){return t.call(e)}}function Gauge(e,t){var i,n;if(e&&e.write){n=e;i=t||{}}else if(t&&t.write){n=t;i=e||{}}else{n=c.stderr;i=e||t||{}}this._status={spun:0,section:"",subsection:""};this._paused=false;this._disabled=true;this._showing=false;this._onScreen=false;this._needsRedraw=false;this._hideCursor=i.hideCursor==null?true:i.hideCursor;this._fixedFramerate=i.fixedFramerate==null?!/^v0\.8\./.test(c.version):i.fixedFramerate;this._lastUpdateAt=null;this._updateInterval=i.updateInterval==null?50:i.updateInterval;this._themes=i.themes||o;this._theme=i.theme;var s=this._computeTheme(i.theme);var a=i.template||[{type:"progressbar",length:20},{type:"activityIndicator",kerning:1,length:1},{type:"section",kerning:1,default:""},{type:"subsection",kerning:1,default:""}];this.setWriteTo(n,i.tty);var u=i.Plumbing||r;this._gauge=new u(s,a,this.getWidth());this._$$doRedraw=callWith(this,this._doRedraw);this._$$handleSizeChange=callWith(this,this._handleSizeChange);this._cleanupOnExit=i.cleanupOnExit==null||i.cleanupOnExit;this._removeOnExit=null;if(i.enabled||i.enabled==null&&this._tty&&this._tty.isTTY){this.enable()}else{this.disable()}}Gauge.prototype={};Gauge.prototype.isEnabled=function(){return!this._disabled};Gauge.prototype.setTemplate=function(e){this._gauge.setTemplate(e);if(this._showing)this._requestRedraw()};Gauge.prototype._computeTheme=function(e){if(!e)e={};if(typeof e==="string"){e=this._themes.getTheme(e)}else if(e&&(Object.keys(e).length===0||e.hasUnicode!=null||e.hasColor!=null)){var t=e.hasUnicode==null?n():e.hasUnicode;var i=e.hasColor==null?s:e.hasColor;e=this._themes.getDefault({hasUnicode:t,hasColor:i,platform:e.platform})}return e};Gauge.prototype.setThemeset=function(e){this._themes=e;this.setTheme(this._theme)};Gauge.prototype.setTheme=function(e){this._gauge.setTheme(this._computeTheme(e));if(this._showing)this._requestRedraw();this._theme=e};Gauge.prototype._requestRedraw=function(){this._needsRedraw=true;if(!this._fixedFramerate)this._doRedraw()};Gauge.prototype.getWidth=function(){return(this._tty&&this._tty.columns||80)-1};Gauge.prototype.setWriteTo=function(e,t){var i=!this._disabled;if(i)this.disable();this._writeTo=e;this._tty=t||e===c.stderr&&c.stdout.isTTY&&c.stdout||e.isTTY&&e||this._tty;if(this._gauge)this._gauge.setWidth(this.getWidth());if(i)this.enable()};Gauge.prototype.enable=function(){if(!this._disabled)return;this._disabled=false;if(this._tty)this._enableEvents();if(this._showing)this.show()};Gauge.prototype.disable=function(){if(this._disabled)return;if(this._showing){this._lastUpdateAt=null;this._showing=false;this._doRedraw();this._showing=true}this._disabled=true;if(this._tty)this._disableEvents()};Gauge.prototype._enableEvents=function(){if(this._cleanupOnExit){this._removeOnExit=a(callWith(this,this.disable))}this._tty.on("resize",this._$$handleSizeChange);if(this._fixedFramerate){this.redrawTracker=u(this._$$doRedraw,this._updateInterval);if(this.redrawTracker.unref)this.redrawTracker.unref()}};Gauge.prototype._disableEvents=function(){this._tty.removeListener("resize",this._$$handleSizeChange);if(this._fixedFramerate)clearInterval(this.redrawTracker);if(this._removeOnExit)this._removeOnExit()};Gauge.prototype.hide=function(e){if(this._disabled)return e&&c.nextTick(e);if(!this._showing)return e&&c.nextTick(e);this._showing=false;this._doRedraw();e&&l(e)};Gauge.prototype.show=function(e,t){this._showing=true;if(typeof e==="string"){this._status.section=e}else if(typeof e==="object"){var i=Object.keys(e);for(var r=0;r<i.length;++r){var n=i[r];this._status[n]=e[n]}}if(t!=null)this._status.completed=t;if(this._disabled)return;this._requestRedraw()};Gauge.prototype.pulse=function(e){this._status.subsection=e||"";this._status.spun++;if(this._disabled)return;if(!this._showing)return;this._requestRedraw()};Gauge.prototype._handleSizeChange=function(){this._gauge.setWidth(this._tty.columns-1);this._requestRedraw()};Gauge.prototype._doRedraw=function(){if(this._disabled||this._paused)return;if(!this._fixedFramerate){var e=Date.now();if(this._lastUpdateAt&&e-this._lastUpdateAt<this._updateInterval)return;this._lastUpdateAt=e}if(!this._showing&&this._onScreen){this._onScreen=false;var t=this._gauge.hide();if(this._hideCursor){t+=this._gauge.showCursor()}return this._writeTo.write(t)}if(!this._showing&&!this._onScreen)return;if(this._showing&&!this._onScreen){this._onScreen=true;this._needsRedraw=true;if(this._hideCursor){this._writeTo.write(this._gauge.hideCursor())}}if(!this._needsRedraw)return;if(!this._writeTo.write(this._gauge.show(this._status))){this._paused=true;this._writeTo.on("drain",callWith(this,function(){this._paused=false;this._doRedraw()}))}}},6062:(e,t,i)=>{"use strict";var r=i(8753);e.exports=function(e){if(r(e)){return false}if(e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&e!==12351||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)){return true}return false}},5511:(e,t,i)=>{"use strict";var r=i(1361);var n=i(6708);var s=i(6062);e.exports=function(e){if(typeof e!=="string"||e.length===0){return 0}var t=0;e=r(e);for(var i=0;i<e.length;i++){var a=n(e,i);if(a<=31||a>=127&&a<=159){continue}if(a>=65536){i++}if(s(a)){t+=2}else{t++}}return t}},4708:(e,t,i)=>{"use strict";var r=i(6322);var n=i(5718);var s=i(5534);var a=e.exports=function(e,t,i){if(!i)i=80;s("OAN",[e,t,i]);this.showing=false;this.theme=e;this.width=i;this.template=t};a.prototype={};a.prototype.setTheme=function(e){s("O",[e]);this.theme=e};a.prototype.setTemplate=function(e){s("A",[e]);this.template=e};a.prototype.setWidth=function(e){s("N",[e]);this.width=e};a.prototype.hide=function(){return r.gotoSOL()+r.eraseLine()};a.prototype.hideCursor=r.hideCursor;a.prototype.showCursor=r.showCursor;a.prototype.show=function(e){var t=Object.create(this.theme);for(var i in e){t[i]=e[i]}return n(this.width,this.template,t).trim()+r.color("reset")+r.eraseLine()+r.gotoSOL()}},9186:e=>{"use strict";e.exports=process},5791:(e,t,i)=>{"use strict";var r=i(5534);var n=i(5718);var s=i(2343);var a=i(5511);e.exports=function(e,t,i){r("ONN",[e,t,i]);if(i<0)i=0;if(i>1)i=1;if(t<=0)return"";var s=Math.round(t*i);var a=t-s;var o=[{type:"complete",value:repeat(e.complete,s),length:s},{type:"remaining",value:repeat(e.remaining,a),length:a}];return n(t,o,e)};function repeat(e,t){var i="";var r=t;do{if(r%2){i+=e}r=Math.floor(r/2);e+=e}while(r&&a(i)<t);return s(i,t)}},5718:(e,t,i)=>{"use strict";var r=i(7568);var n=i(5534);var s=i(1800);var a=i(2343);var o=i(2479);var u=i(5205);function renderValueWithValues(e){return function(t){return renderValue(t,e)}}var c=e.exports=function(e,t,i){var n=prepareItems(e,t,i);var s=n.map(renderValueWithValues(i)).join("");return r.left(a(s,e),e)};function preType(e){var t=e.type[0].toUpperCase()+e.type.slice(1);return"pre"+t}function postType(e){var t=e.type[0].toUpperCase()+e.type.slice(1);return"post"+t}function hasPreOrPost(e,t){if(!e.type)return;return t[preType(e)]||t[postType(e)]}function generatePreAndPost(e,t){var i=s({},e);var r=Object.create(t);var n=[];var a=preType(i);var o=postType(i);if(r[a]){n.push({value:r[a]});r[a]=null}i.minLength=null;i.length=null;i.maxLength=null;n.push(i);r[i.type]=r[i.type];if(r[o]){n.push({value:r[o]});r[o]=null}return function(e,t,i){return c(i,n,r)}}function prepareItems(e,t,i){function cloneAndObjectify(t,r,n){var s=new u(t,e);var a=s.type;if(s.value==null){if(!(a in i)){if(s.default==null){throw new o.MissingTemplateValue(s,i)}else{s.value=s.default}}else{s.value=i[a]}}if(s.value==null||s.value==="")return null;s.index=r;s.first=r===0;s.last=r===n.length-1;if(hasPreOrPost(s,i))s.value=generatePreAndPost(s,i);return s}var r=t.map(cloneAndObjectify).filter(function(e){return e!=null});var n=0;var s=e;var a=r.length;function consumeSpace(e){if(e>s)e=s;n+=e;s-=e}function finishSizing(e,t){if(e.finished)throw new o.Internal("Tried to finish template item that was already finished");if(t===Infinity)throw new o.Internal("Length of template item cannot be infinity");if(t!=null)e.length=t;e.minLength=null;e.maxLength=null;--a;e.finished=true;if(e.length==null)e.length=e.getBaseLength();if(e.length==null)throw new o.Internal("Finished template items must have a length");consumeSpace(e.getLength())}r.forEach(function(e){if(!e.kerning)return;var t=e.first?0:r[e.index-1].padRight;if(!e.first&&t<e.kerning)e.padLeft=e.kerning-t;if(!e.last)e.padRight=e.kerning});r.forEach(function(e){if(e.getBaseLength()==null)return;finishSizing(e)});var c=0;var l;var f;do{l=false;f=Math.round(s/a);r.forEach(function(e){if(e.finished)return;if(!e.maxLength)return;if(e.getMaxLength()<f){finishSizing(e,e.maxLength);l=true}})}while(l&&c++<r.length);if(l)throw new o.Internal("Resize loop iterated too many times while determining maxLength");c=0;do{l=false;f=Math.round(s/a);r.forEach(function(e){if(e.finished)return;if(!e.minLength)return;if(e.getMinLength()>=f){finishSizing(e,e.minLength);l=true}})}while(l&&c++<r.length);if(l)throw new o.Internal("Resize loop iterated too many times while determining minLength");f=Math.round(s/a);r.forEach(function(e){if(e.finished)return;finishSizing(e,f)});return r}function renderFunction(e,t,i){n("OON",arguments);if(e.type){return e.value(t,t[e.type+"Theme"]||{},i)}else{return e.value(t,{},i)}}function renderValue(e,t){var i=e.getBaseLength();var n=typeof e.value==="function"?renderFunction(e,t,i):e.value;if(n==null||n==="")return"";var s=r[e.align]||r.left;var o=e.padLeft?r.left("",e.padLeft):"";var u=e.padRight?r.right("",e.padRight):"";var c=a(String(n),i);var l=s(c,i);return o+l+u}},6401:(e,t,i)=>{"use strict";var r=i(9186);try{e.exports=setImmediate}catch(t){e.exports=r.nextTick}},75:e=>{"use strict";e.exports=setInterval},1021:e=>{"use strict";e.exports=function spin(e,t){return e[t%e.length]}},5205:(e,t,i)=>{"use strict";var r=i(5511);e.exports=TemplateItem;function isPercent(e){if(typeof e!=="string")return false;return e.slice(-1)==="%"}function percent(e){return Number(e.slice(0,-1))/100}function TemplateItem(e,t){this.overallOutputLength=t;this.finished=false;this.type=null;this.value=null;this.length=null;this.maxLength=null;this.minLength=null;this.kerning=null;this.align="left";this.padLeft=0;this.padRight=0;this.index=null;this.first=null;this.last=null;if(typeof e==="string"){this.value=e}else{for(var i in e)this[i]=e[i]}if(isPercent(this.length)){this.length=Math.round(this.overallOutputLength*percent(this.length))}if(isPercent(this.minLength)){this.minLength=Math.round(this.overallOutputLength*percent(this.minLength))}if(isPercent(this.maxLength)){this.maxLength=Math.round(this.overallOutputLength*percent(this.maxLength))}return this}TemplateItem.prototype={};TemplateItem.prototype.getBaseLength=function(){var e=this.length;if(e==null&&typeof this.value==="string"&&this.maxLength==null&&this.minLength==null){e=r(this.value)}return e};TemplateItem.prototype.getLength=function(){var e=this.getBaseLength();if(e==null)return null;return e+this.padLeft+this.padRight};TemplateItem.prototype.getMaxLength=function(){if(this.maxLength==null)return null;return this.maxLength+this.padLeft+this.padRight};TemplateItem.prototype.getMinLength=function(){if(this.minLength==null)return null;return this.minLength+this.padLeft+this.padRight}},3117:(e,t,i)=>{"use strict";var r=i(1800);e.exports=function(){return n.newThemeSet()};var n={};n.baseTheme=i(1271);n.newTheme=function(e,t){if(!t){t=e;e=this.baseTheme}return r({},e,t)};n.getThemeNames=function(){return Object.keys(this.themes)};n.addTheme=function(e,t,i){this.themes[e]=this.newTheme(t,i)};n.addToAllThemes=function(e){var t=this.themes;Object.keys(t).forEach(function(i){r(t[i],e)});r(this.baseTheme,e)};n.getTheme=function(e){if(!this.themes[e])throw this.newMissingThemeError(e);return this.themes[e]};n.setDefault=function(e,t){if(t==null){t=e;e={}}var i=e.platform==null?"fallback":e.platform;var r=!!e.hasUnicode;var n=!!e.hasColor;if(!this.defaults[i])this.defaults[i]={true:{},false:{}};this.defaults[i][r][n]=t};n.getDefault=function(e){if(!e)e={};var t=e.platform||process.platform;var i=this.defaults[t]||this.defaults.fallback;var n=!!e.hasUnicode;var s=!!e.hasColor;if(!i)throw this.newMissingDefaultThemeError(t,n,s);if(!i[n][s]){if(n&&s&&i[!n][s]){n=false}else if(n&&s&&i[n][!s]){s=false}else if(n&&s&&i[!n][!s]){n=false;s=false}else if(n&&!s&&i[!n][s]){n=false}else if(!n&&s&&i[n][!s]){s=false}else if(i===this.defaults.fallback){throw this.newMissingDefaultThemeError(t,n,s)}}if(i[n][s]){return this.getTheme(i[n][s])}else{return this.getDefault(r({},e,{platform:"fallback"}))}};n.newMissingThemeError=function newMissingThemeError(e){var t=new Error('Could not find a gauge theme named "'+e+'"');Error.captureStackTrace.call(t,newMissingThemeError);t.theme=e;t.code="EMISSINGTHEME";return t};n.newMissingDefaultThemeError=function newMissingDefaultThemeError(e,t,i){var r=new Error("Could not find a gauge theme for your platform/unicode/color use combo:\n"+" platform = "+e+"\n"+" hasUnicode = "+t+"\n"+" hasColor = "+i);Error.captureStackTrace.call(r,newMissingDefaultThemeError);r.platform=e;r.hasUnicode=t;r.hasColor=i;r.code="EMISSINGTHEME";return r};n.newThemeSet=function(){var e=function(t){return e.getDefault(t)};return r(e,n,{themes:r({},this.themes),baseTheme:r({},this.baseTheme),defaults:JSON.parse(JSON.stringify(this.defaults||{}))})}},7987:(e,t,i)=>{"use strict";var r=i(6322);var n=i(3117);var s=e.exports=new n;s.addTheme("ASCII",{preProgressbar:"[",postProgressbar:"]",progressbarTheme:{complete:"#",remaining:"."},activityIndicatorTheme:"-\\|/",preSubsection:">"});s.addTheme("colorASCII",s.getTheme("ASCII"),{progressbarTheme:{preComplete:r.color("inverse"),complete:" ",postComplete:r.color("stopInverse"),preRemaining:r.color("brightBlack"),remaining:".",postRemaining:r.color("reset")}});s.addTheme("brailleSpinner",{preProgressbar:"⸨",postProgressbar:"⸩",progressbarTheme:{complete:"░",remaining:"⠂"},activityIndicatorTheme:"⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏",preSubsection:">"});s.addTheme("colorBrailleSpinner",s.getTheme("brailleSpinner"),{progressbarTheme:{preComplete:r.color("inverse"),complete:" ",postComplete:r.color("stopInverse"),preRemaining:r.color("brightBlack"),remaining:"░",postRemaining:r.color("reset")}});s.setDefault({},"ASCII");s.setDefault({hasColor:true},"colorASCII");s.setDefault({platform:"darwin",hasUnicode:true},"brailleSpinner");s.setDefault({platform:"darwin",hasUnicode:true,hasColor:true},"colorBrailleSpinner")},2343:(e,t,i)=>{"use strict";var r=i(5511);var n=i(1361);e.exports=wideTruncate;function wideTruncate(e,t){if(r(e)===0)return e;if(t<=0)return"";if(r(e)<=t)return e;var i=n(e);var s=e.length+i.length;var a=e.slice(0,t+s);while(r(a)>t){a=a.slice(0,-1)}return a}},2821:(e,t,i)=>{t.alphasort=alphasort;t.alphasorti=alphasorti;t.setopts=setopts;t.ownProp=ownProp;t.makeAbs=makeAbs;t.finish=finish;t.mark=mark;t.isIgnored=isIgnored;t.childrenIgnored=childrenIgnored;function ownProp(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var r=i(5622);var n=i(9566);var s=i(1323);var a=n.Minimatch;function alphasorti(e,t){return e.toLowerCase().localeCompare(t.toLowerCase())}function alphasort(e,t){return e.localeCompare(t)}function setupIgnores(e,t){e.ignore=t.ignore||[];if(!Array.isArray(e.ignore))e.ignore=[e.ignore];if(e.ignore.length){e.ignore=e.ignore.map(ignoreMap)}}function ignoreMap(e){var t=null;if(e.slice(-3)==="/**"){var i=e.replace(/(\/\*\*)+$/,"");t=new a(i,{dot:true})}return{matcher:new a(e,{dot:true}),gmatcher:t}}function setopts(e,t,i){if(!i)i={};if(i.matchBase&&-1===t.indexOf("/")){if(i.noglobstar){throw new Error("base matching requires globstar")}t="**/"+t}e.silent=!!i.silent;e.pattern=t;e.strict=i.strict!==false;e.realpath=!!i.realpath;e.realpathCache=i.realpathCache||Object.create(null);e.follow=!!i.follow;e.dot=!!i.dot;e.mark=!!i.mark;e.nodir=!!i.nodir;if(e.nodir)e.mark=true;e.sync=!!i.sync;e.nounique=!!i.nounique;e.nonull=!!i.nonull;e.nosort=!!i.nosort;e.nocase=!!i.nocase;e.stat=!!i.stat;e.noprocess=!!i.noprocess;e.absolute=!!i.absolute;e.maxLength=i.maxLength||Infinity;e.cache=i.cache||Object.create(null);e.statCache=i.statCache||Object.create(null);e.symlinks=i.symlinks||Object.create(null);setupIgnores(e,i);e.changedCwd=false;var n=process.cwd();if(!ownProp(i,"cwd"))e.cwd=n;else{e.cwd=r.resolve(i.cwd);e.changedCwd=e.cwd!==n}e.root=i.root||r.resolve(e.cwd,"/");e.root=r.resolve(e.root);if(process.platform==="win32")e.root=e.root.replace(/\\/g,"/");e.cwdAbs=s(e.cwd)?e.cwd:makeAbs(e,e.cwd);if(process.platform==="win32")e.cwdAbs=e.cwdAbs.replace(/\\/g,"/");e.nomount=!!i.nomount;i.nonegate=true;i.nocomment=true;e.minimatch=new a(t,i);e.options=e.minimatch.options}function finish(e){var t=e.nounique;var i=t?[]:Object.create(null);for(var r=0,n=e.matches.length;r<n;r++){var s=e.matches[r];if(!s||Object.keys(s).length===0){if(e.nonull){var a=e.minimatch.globSet[r];if(t)i.push(a);else i[a]=true}}else{var o=Object.keys(s);if(t)i.push.apply(i,o);else o.forEach(function(e){i[e]=true})}}if(!t)i=Object.keys(i);if(!e.nosort)i=i.sort(e.nocase?alphasorti:alphasort);if(e.mark){for(var r=0;r<i.length;r++){i[r]=e._mark(i[r])}if(e.nodir){i=i.filter(function(t){var i=!/\/$/.test(t);var r=e.cache[t]||e.cache[makeAbs(e,t)];if(i&&r)i=r!=="DIR"&&!Array.isArray(r);return i})}}if(e.ignore.length)i=i.filter(function(t){return!isIgnored(e,t)});e.found=i}function mark(e,t){var i=makeAbs(e,t);var r=e.cache[i];var n=t;if(r){var s=r==="DIR"||Array.isArray(r);var a=t.slice(-1)==="/";if(s&&!a)n+="/";else if(!s&&a)n=n.slice(0,-1);if(n!==t){var o=makeAbs(e,n);e.statCache[o]=e.statCache[i];e.cache[o]=e.cache[i]}}return n}function makeAbs(e,t){var i=t;if(t.charAt(0)==="/"){i=r.join(e.root,t)}else if(s(t)||t===""){i=t}else if(e.changedCwd){i=r.resolve(e.cwd,t)}else{i=r.resolve(t)}if(process.platform==="win32")i=i.replace(/\\/g,"/");return i}function isIgnored(e,t){if(!e.ignore.length)return false;return e.ignore.some(function(e){return e.matcher.match(t)||!!(e.gmatcher&&e.gmatcher.match(t))})}function childrenIgnored(e,t){if(!e.ignore.length)return false;return e.ignore.some(function(e){return!!(e.gmatcher&&e.gmatcher.match(t))})}},3700:(e,t,i)=>{e.exports=glob;var r=i(5747);var n=i(8945);var s=i(9566);var a=s.Minimatch;var o=i(6919);var u=i(8614).EventEmitter;var c=i(5622);var l=i(2357);var f=i(1323);var h=i(7433);var p=i(2821);var d=p.alphasort;var v=p.alphasorti;var y=p.setopts;var g=p.ownProp;var b=i(9442);var m=i(1669);var _=p.childrenIgnored;var w=p.isIgnored;var E=i(7197);function glob(e,t,i){if(typeof t==="function")i=t,t={};if(!t)t={};if(t.sync){if(i)throw new TypeError("callback provided to sync glob");return h(e,t)}return new Glob(e,t,i)}glob.sync=h;var S=glob.GlobSync=h.GlobSync;glob.glob=glob;function extend(e,t){if(t===null||typeof t!=="object"){return e}var i=Object.keys(t);var r=i.length;while(r--){e[i[r]]=t[i[r]]}return e}glob.hasMagic=function(e,t){var i=extend({},t);i.noprocess=true;var r=new Glob(e,i);var n=r.minimatch.set;if(!e)return false;if(n.length>1)return true;for(var s=0;s<n[0].length;s++){if(typeof n[0][s]!=="string")return true}return false};glob.Glob=Glob;o(Glob,u);function Glob(e,t,i){if(typeof t==="function"){i=t;t=null}if(t&&t.sync){if(i)throw new TypeError("callback provided to sync glob");return new S(e,t)}if(!(this instanceof Glob))return new Glob(e,t,i);y(this,e,t);this._didRealPath=false;var r=this.minimatch.set.length;this.matches=new Array(r);if(typeof i==="function"){i=E(i);this.on("error",i);this.on("end",function(e){i(null,e)})}var n=this;this._processing=0;this._emitQueue=[];this._processQueue=[];this.paused=false;if(this.noprocess)return this;if(r===0)return done();var s=true;for(var a=0;a<r;a++){this._process(this.minimatch.set[a],a,false,done)}s=false;function done(){--n._processing;if(n._processing<=0){if(s){process.nextTick(function(){n._finish()})}else{n._finish()}}}}Glob.prototype._finish=function(){l(this instanceof Glob);if(this.aborted)return;if(this.realpath&&!this._didRealpath)return this._realpath();p.finish(this);this.emit("end",this.found)};Glob.prototype._realpath=function(){if(this._didRealpath)return;this._didRealpath=true;var e=this.matches.length;if(e===0)return this._finish();var t=this;for(var i=0;i<this.matches.length;i++)this._realpathSet(i,next);function next(){if(--e===0)t._finish()}};Glob.prototype._realpathSet=function(e,t){var i=this.matches[e];if(!i)return t();var r=Object.keys(i);var s=this;var a=r.length;if(a===0)return t();var o=this.matches[e]=Object.create(null);r.forEach(function(i,r){i=s._makeAbs(i);n.realpath(i,s.realpathCache,function(r,n){if(!r)o[n]=true;else if(r.syscall==="stat")o[i]=true;else s.emit("error",r);if(--a===0){s.matches[e]=o;t()}})})};Glob.prototype._mark=function(e){return p.mark(this,e)};Glob.prototype._makeAbs=function(e){return p.makeAbs(this,e)};Glob.prototype.abort=function(){this.aborted=true;this.emit("abort")};Glob.prototype.pause=function(){if(!this.paused){this.paused=true;this.emit("pause")}};Glob.prototype.resume=function(){if(this.paused){this.emit("resume");this.paused=false;if(this._emitQueue.length){var e=this._emitQueue.slice(0);this._emitQueue.length=0;for(var t=0;t<e.length;t++){var i=e[t];this._emitMatch(i[0],i[1])}}if(this._processQueue.length){var r=this._processQueue.slice(0);this._processQueue.length=0;for(var t=0;t<r.length;t++){var n=r[t];this._processing--;this._process(n[0],n[1],n[2],n[3])}}}};Glob.prototype._process=function(e,t,i,r){l(this instanceof Glob);l(typeof r==="function");if(this.aborted)return;this._processing++;if(this.paused){this._processQueue.push([e,t,i,r]);return}var n=0;while(typeof e[n]==="string"){n++}var a;switch(n){case e.length:this._processSimple(e.join("/"),t,r);return;case 0:a=null;break;default:a=e.slice(0,n).join("/");break}var o=e.slice(n);var u;if(a===null)u=".";else if(f(a)||f(e.join("/"))){if(!a||!f(a))a="/"+a;u=a}else u=a;var c=this._makeAbs(u);if(_(this,u))return r();var h=o[0]===s.GLOBSTAR;if(h)this._processGlobStar(a,u,c,o,t,i,r);else this._processReaddir(a,u,c,o,t,i,r)};Glob.prototype._processReaddir=function(e,t,i,r,n,s,a){var o=this;this._readdir(i,s,function(u,c){return o._processReaddir2(e,t,i,r,n,s,c,a)})};Glob.prototype._processReaddir2=function(e,t,i,r,n,s,a,o){if(!a)return o();var u=r[0];var l=!!this.minimatch.negate;var f=u._glob;var h=this.dot||f.charAt(0)===".";var p=[];for(var d=0;d<a.length;d++){var v=a[d];if(v.charAt(0)!=="."||h){var y;if(l&&!e){y=!v.match(u)}else{y=v.match(u)}if(y)p.push(v)}}var g=p.length;if(g===0)return o();if(r.length===1&&!this.mark&&!this.stat){if(!this.matches[n])this.matches[n]=Object.create(null);for(var d=0;d<g;d++){var v=p[d];if(e){if(e!=="/")v=e+"/"+v;else v=e+v}if(v.charAt(0)==="/"&&!this.nomount){v=c.join(this.root,v)}this._emitMatch(n,v)}return o()}r.shift();for(var d=0;d<g;d++){var v=p[d];var b;if(e){if(e!=="/")v=e+"/"+v;else v=e+v}this._process([v].concat(r),n,s,o)}o()};Glob.prototype._emitMatch=function(e,t){if(this.aborted)return;if(w(this,t))return;if(this.paused){this._emitQueue.push([e,t]);return}var i=f(t)?t:this._makeAbs(t);if(this.mark)t=this._mark(t);if(this.absolute)t=i;if(this.matches[e][t])return;if(this.nodir){var r=this.cache[i];if(r==="DIR"||Array.isArray(r))return}this.matches[e][t]=true;var n=this.statCache[i];if(n)this.emit("stat",t,n);this.emit("match",t)};Glob.prototype._readdirInGlobStar=function(e,t){if(this.aborted)return;if(this.follow)return this._readdir(e,false,t);var i="lstat\0"+e;var n=this;var s=b(i,lstatcb_);if(s)r.lstat(e,s);function lstatcb_(i,r){if(i&&i.code==="ENOENT")return t();var s=r&&r.isSymbolicLink();n.symlinks[e]=s;if(!s&&r&&!r.isDirectory()){n.cache[e]="FILE";t()}else n._readdir(e,false,t)}};Glob.prototype._readdir=function(e,t,i){if(this.aborted)return;i=b("readdir\0"+e+"\0"+t,i);if(!i)return;if(t&&!g(this.symlinks,e))return this._readdirInGlobStar(e,i);if(g(this.cache,e)){var n=this.cache[e];if(!n||n==="FILE")return i();if(Array.isArray(n))return i(null,n)}var s=this;r.readdir(e,readdirCb(this,e,i))};function readdirCb(e,t,i){return function(r,n){if(r)e._readdirError(t,r,i);else e._readdirEntries(t,n,i)}}Glob.prototype._readdirEntries=function(e,t,i){if(this.aborted)return;if(!this.mark&&!this.stat){for(var r=0;r<t.length;r++){var n=t[r];if(e==="/")n=e+n;else n=e+"/"+n;this.cache[n]=true}}this.cache[e]=t;return i(null,t)};Glob.prototype._readdirError=function(e,t,i){if(this.aborted)return;switch(t.code){case"ENOTSUP":case"ENOTDIR":var r=this._makeAbs(e);this.cache[r]="FILE";if(r===this.cwdAbs){var n=new Error(t.code+" invalid cwd "+this.cwd);n.path=this.cwd;n.code=t.code;this.emit("error",n);this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(e)]=false;break;default:this.cache[this._makeAbs(e)]=false;if(this.strict){this.emit("error",t);this.abort()}if(!this.silent)console.error("glob error",t);break}return i()};Glob.prototype._processGlobStar=function(e,t,i,r,n,s,a){var o=this;this._readdir(i,s,function(u,c){o._processGlobStar2(e,t,i,r,n,s,c,a)})};Glob.prototype._processGlobStar2=function(e,t,i,r,n,s,a,o){if(!a)return o();var u=r.slice(1);var c=e?[e]:[];var l=c.concat(u);this._process(l,n,false,o);var f=this.symlinks[i];var h=a.length;if(f&&s)return o();for(var p=0;p<h;p++){var d=a[p];if(d.charAt(0)==="."&&!this.dot)continue;var v=c.concat(a[p],u);this._process(v,n,true,o);var y=c.concat(a[p],r);this._process(y,n,true,o)}o()};Glob.prototype._processSimple=function(e,t,i){var r=this;this._stat(e,function(n,s){r._processSimple2(e,t,n,s,i)})};Glob.prototype._processSimple2=function(e,t,i,r,n){if(!this.matches[t])this.matches[t]=Object.create(null);if(!r)return n();if(e&&f(e)&&!this.nomount){var s=/[\/\\]$/.test(e);if(e.charAt(0)==="/"){e=c.join(this.root,e)}else{e=c.resolve(this.root,e);if(s)e+="/"}}if(process.platform==="win32")e=e.replace(/\\/g,"/");this._emitMatch(t,e);n()};Glob.prototype._stat=function(e,t){var i=this._makeAbs(e);var n=e.slice(-1)==="/";if(e.length>this.maxLength)return t();if(!this.stat&&g(this.cache,i)){var s=this.cache[i];if(Array.isArray(s))s="DIR";if(!n||s==="DIR")return t(null,s);if(n&&s==="FILE")return t()}var a;var o=this.statCache[i];if(o!==undefined){if(o===false)return t(null,o);else{var u=o.isDirectory()?"DIR":"FILE";if(n&&u==="FILE")return t();else return t(null,u,o)}}var c=this;var l=b("stat\0"+i,lstatcb_);if(l)r.lstat(i,l);function lstatcb_(n,s){if(s&&s.isSymbolicLink()){return r.stat(i,function(r,n){if(r)c._stat2(e,i,null,s,t);else c._stat2(e,i,r,n,t)})}else{c._stat2(e,i,n,s,t)}}};Glob.prototype._stat2=function(e,t,i,r,n){if(i&&(i.code==="ENOENT"||i.code==="ENOTDIR")){this.statCache[t]=false;return n()}var s=e.slice(-1)==="/";this.statCache[t]=r;if(t.slice(-1)==="/"&&r&&!r.isDirectory())return n(null,false,r);var a=true;if(r)a=r.isDirectory()?"DIR":"FILE";this.cache[t]=this.cache[t]||a;if(s&&a==="FILE")return n();return n(null,a,r)}},7433:(e,t,i)=>{e.exports=globSync;globSync.GlobSync=GlobSync;var r=i(5747);var n=i(8945);var s=i(9566);var a=s.Minimatch;var o=i(3700).Glob;var u=i(1669);var c=i(5622);var l=i(2357);var f=i(1323);var h=i(2821);var p=h.alphasort;var d=h.alphasorti;var v=h.setopts;var y=h.ownProp;var g=h.childrenIgnored;var b=h.isIgnored;function globSync(e,t){if(typeof t==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");return new GlobSync(e,t).found}function GlobSync(e,t){if(!e)throw new Error("must provide pattern");if(typeof t==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof GlobSync))return new GlobSync(e,t);v(this,e,t);if(this.noprocess)return this;var i=this.minimatch.set.length;this.matches=new Array(i);for(var r=0;r<i;r++){this._process(this.minimatch.set[r],r,false)}this._finish()}GlobSync.prototype._finish=function(){l(this instanceof GlobSync);if(this.realpath){var e=this;this.matches.forEach(function(t,i){var r=e.matches[i]=Object.create(null);for(var s in t){try{s=e._makeAbs(s);var a=n.realpathSync(s,e.realpathCache);r[a]=true}catch(t){if(t.syscall==="stat")r[e._makeAbs(s)]=true;else throw t}}})}h.finish(this)};GlobSync.prototype._process=function(e,t,i){l(this instanceof GlobSync);var r=0;while(typeof e[r]==="string"){r++}var n;switch(r){case e.length:this._processSimple(e.join("/"),t);return;case 0:n=null;break;default:n=e.slice(0,r).join("/");break}var a=e.slice(r);var o;if(n===null)o=".";else if(f(n)||f(e.join("/"))){if(!n||!f(n))n="/"+n;o=n}else o=n;var u=this._makeAbs(o);if(g(this,o))return;var c=a[0]===s.GLOBSTAR;if(c)this._processGlobStar(n,o,u,a,t,i);else this._processReaddir(n,o,u,a,t,i)};GlobSync.prototype._processReaddir=function(e,t,i,r,n,s){var a=this._readdir(i,s);if(!a)return;var o=r[0];var u=!!this.minimatch.negate;var l=o._glob;var f=this.dot||l.charAt(0)===".";var h=[];for(var p=0;p<a.length;p++){var d=a[p];if(d.charAt(0)!=="."||f){var v;if(u&&!e){v=!d.match(o)}else{v=d.match(o)}if(v)h.push(d)}}var y=h.length;if(y===0)return;if(r.length===1&&!this.mark&&!this.stat){if(!this.matches[n])this.matches[n]=Object.create(null);for(var p=0;p<y;p++){var d=h[p];if(e){if(e.slice(-1)!=="/")d=e+"/"+d;else d=e+d}if(d.charAt(0)==="/"&&!this.nomount){d=c.join(this.root,d)}this._emitMatch(n,d)}return}r.shift();for(var p=0;p<y;p++){var d=h[p];var g;if(e)g=[e,d];else g=[d];this._process(g.concat(r),n,s)}};GlobSync.prototype._emitMatch=function(e,t){if(b(this,t))return;var i=this._makeAbs(t);if(this.mark)t=this._mark(t);if(this.absolute){t=i}if(this.matches[e][t])return;if(this.nodir){var r=this.cache[i];if(r==="DIR"||Array.isArray(r))return}this.matches[e][t]=true;if(this.stat)this._stat(t)};GlobSync.prototype._readdirInGlobStar=function(e){if(this.follow)return this._readdir(e,false);var t;var i;var n;try{i=r.lstatSync(e)}catch(e){if(e.code==="ENOENT"){return null}}var s=i&&i.isSymbolicLink();this.symlinks[e]=s;if(!s&&i&&!i.isDirectory())this.cache[e]="FILE";else t=this._readdir(e,false);return t};GlobSync.prototype._readdir=function(e,t){var i;if(t&&!y(this.symlinks,e))return this._readdirInGlobStar(e);if(y(this.cache,e)){var n=this.cache[e];if(!n||n==="FILE")return null;if(Array.isArray(n))return n}try{return this._readdirEntries(e,r.readdirSync(e))}catch(t){this._readdirError(e,t);return null}};GlobSync.prototype._readdirEntries=function(e,t){if(!this.mark&&!this.stat){for(var i=0;i<t.length;i++){var r=t[i];if(e==="/")r=e+r;else r=e+"/"+r;this.cache[r]=true}}this.cache[e]=t;return t};GlobSync.prototype._readdirError=function(e,t){switch(t.code){case"ENOTSUP":case"ENOTDIR":var i=this._makeAbs(e);this.cache[i]="FILE";if(i===this.cwdAbs){var r=new Error(t.code+" invalid cwd "+this.cwd);r.path=this.cwd;r.code=t.code;throw r}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(e)]=false;break;default:this.cache[this._makeAbs(e)]=false;if(this.strict)throw t;if(!this.silent)console.error("glob error",t);break}};GlobSync.prototype._processGlobStar=function(e,t,i,r,n,s){var a=this._readdir(i,s);if(!a)return;var o=r.slice(1);var u=e?[e]:[];var c=u.concat(o);this._process(c,n,false);var l=a.length;var f=this.symlinks[i];if(f&&s)return;for(var h=0;h<l;h++){var p=a[h];if(p.charAt(0)==="."&&!this.dot)continue;var d=u.concat(a[h],o);this._process(d,n,true);var v=u.concat(a[h],r);this._process(v,n,true)}};GlobSync.prototype._processSimple=function(e,t){var i=this._stat(e);if(!this.matches[t])this.matches[t]=Object.create(null);if(!i)return;if(e&&f(e)&&!this.nomount){var r=/[\/\\]$/.test(e);if(e.charAt(0)==="/"){e=c.join(this.root,e)}else{e=c.resolve(this.root,e);if(r)e+="/"}}if(process.platform==="win32")e=e.replace(/\\/g,"/");this._emitMatch(t,e)};GlobSync.prototype._stat=function(e){var t=this._makeAbs(e);var i=e.slice(-1)==="/";if(e.length>this.maxLength)return false;if(!this.stat&&y(this.cache,t)){var n=this.cache[t];if(Array.isArray(n))n="DIR";if(!i||n==="DIR")return n;if(i&&n==="FILE")return false}var s;var a=this.statCache[t];if(!a){var o;try{o=r.lstatSync(t)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR")){this.statCache[t]=false;return false}}if(o&&o.isSymbolicLink()){try{a=r.statSync(t)}catch(e){a=o}}else{a=o}}this.statCache[t]=a;var n=true;if(a)n=a.isDirectory()?"DIR":"FILE";this.cache[t]=this.cache[t]||n;if(i&&n==="FILE")return false;return n};GlobSync.prototype._mark=function(e){return h.mark(this,e)};GlobSync.prototype._makeAbs=function(e){return h.makeAbs(this,e)}},9132:e=>{"use strict";e.exports=clone;function clone(e){if(e===null||typeof e!=="object")return e;if(e instanceof Object)var t={__proto__:e.__proto__};else var t=Object.create(null);Object.getOwnPropertyNames(e).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}},552:(e,t,i)=>{var r=i(5747);var n=i(1290);var s=i(4410);var a=i(9132);var o=i(1669);var u;var c;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){u=Symbol.for("graceful-fs.queue");c=Symbol.for("graceful-fs.previous")}else{u="___graceful-fs.queue";c="___graceful-fs.previous"}function noop(){}function publishQueue(e,t){Object.defineProperty(e,u,{get:function(){return t}})}var l=noop;if(o.debuglog)l=o.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))l=function(){var e=o.format.apply(o,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: ");console.error(e)};if(!r[u]){var f=global[u]||[];publishQueue(r,f);r.close=function(e){function close(t,i){return e.call(r,t,function(e){if(!e){retry()}if(typeof i==="function")i.apply(this,arguments)})}Object.defineProperty(close,c,{value:e});return close}(r.close);r.closeSync=function(e){function closeSync(t){e.apply(r,arguments);retry()}Object.defineProperty(closeSync,c,{value:e});return closeSync}(r.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",function(){l(r[u]);i(2357).equal(r[u].length,0)})}}if(!global[u]){publishQueue(global,r[u])}e.exports=patch(a(r));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!r.__patched){e.exports=patch(r);r.__patched=true}function patch(e){n(e);e.gracefulify=patch;e.createReadStream=createReadStream;e.createWriteStream=createWriteStream;var t=e.readFile;e.readFile=readFile;function readFile(e,i,r){if(typeof i==="function")r=i,i=null;return go$readFile(e,i,r);function go$readFile(e,i,r){return t(e,i,function(t){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))enqueue([go$readFile,[e,i,r]]);else{if(typeof r==="function")r.apply(this,arguments);retry()}})}}var i=e.writeFile;e.writeFile=writeFile;function writeFile(e,t,r,n){if(typeof r==="function")n=r,r=null;return go$writeFile(e,t,r,n);function go$writeFile(e,t,r,n){return i(e,t,r,function(i){if(i&&(i.code==="EMFILE"||i.code==="ENFILE"))enqueue([go$writeFile,[e,t,r,n]]);else{if(typeof n==="function")n.apply(this,arguments);retry()}})}}var r=e.appendFile;if(r)e.appendFile=appendFile;function appendFile(e,t,i,n){if(typeof i==="function")n=i,i=null;return go$appendFile(e,t,i,n);function go$appendFile(e,t,i,n){return r(e,t,i,function(r){if(r&&(r.code==="EMFILE"||r.code==="ENFILE"))enqueue([go$appendFile,[e,t,i,n]]);else{if(typeof n==="function")n.apply(this,arguments);retry()}})}}var a=e.readdir;e.readdir=readdir;function readdir(e,t,i){var r=[e];if(typeof t!=="function"){r.push(t)}else{i=t}r.push(go$readdir$cb);return go$readdir(r);function go$readdir$cb(e,t){if(t&&t.sort)t.sort();if(e&&(e.code==="EMFILE"||e.code==="ENFILE"))enqueue([go$readdir,[r]]);else{if(typeof i==="function")i.apply(this,arguments);retry()}}}function go$readdir(t){return a.apply(e,t)}if(process.version.substr(0,4)==="v0.8"){var o=s(e);ReadStream=o.ReadStream;WriteStream=o.WriteStream}var u=e.ReadStream;if(u){ReadStream.prototype=Object.create(u.prototype);ReadStream.prototype.open=ReadStream$open}var c=e.WriteStream;if(c){WriteStream.prototype=Object.create(c.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(e,"ReadStream",{get:function(){return ReadStream},set:function(e){ReadStream=e},enumerable:true,configurable:true});Object.defineProperty(e,"WriteStream",{get:function(){return WriteStream},set:function(e){WriteStream=e},enumerable:true,configurable:true});var l=ReadStream;Object.defineProperty(e,"FileReadStream",{get:function(){return l},set:function(e){l=e},enumerable:true,configurable:true});var f=WriteStream;Object.defineProperty(e,"FileWriteStream",{get:function(){return f},set:function(e){f=e},enumerable:true,configurable:true});function ReadStream(e,t){if(this instanceof ReadStream)return u.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var e=this;open(e.path,e.flags,e.mode,function(t,i){if(t){if(e.autoClose)e.destroy();e.emit("error",t)}else{e.fd=i;e.emit("open",i);e.read()}})}function WriteStream(e,t){if(this instanceof WriteStream)return c.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var e=this;open(e.path,e.flags,e.mode,function(t,i){if(t){e.destroy();e.emit("error",t)}else{e.fd=i;e.emit("open",i)}})}function createReadStream(t,i){return new e.ReadStream(t,i)}function createWriteStream(t,i){return new e.WriteStream(t,i)}var h=e.open;e.open=open;function open(e,t,i,r){if(typeof i==="function")r=i,i=null;return go$open(e,t,i,r);function go$open(e,t,i,r){return h(e,t,i,function(n,s){if(n&&(n.code==="EMFILE"||n.code==="ENFILE"))enqueue([go$open,[e,t,i,r]]);else{if(typeof r==="function")r.apply(this,arguments);retry()}})}}return e}function enqueue(e){l("ENQUEUE",e[0].name,e[1]);r[u].push(e)}function retry(){var e=r[u].shift();if(e){l("RETRY",e[0].name,e[1]);e[0].apply(null,e[1])}}},4410:(e,t,i)=>{var r=i(2413).Stream;e.exports=legacy;function legacy(e){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(t,i){if(!(this instanceof ReadStream))return new ReadStream(t,i);r.call(this);var n=this;this.path=t;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;i=i||{};var s=Object.keys(i);for(var a=0,o=s.length;a<o;a++){var u=s[a];this[u]=i[u]}if(this.encoding)this.setEncoding(this.encoding);if(this.start!==undefined){if("number"!==typeof this.start){throw TypeError("start must be a Number")}if(this.end===undefined){this.end=Infinity}else if("number"!==typeof this.end){throw TypeError("end must be a Number")}if(this.start>this.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick(function(){n._read()});return}e.open(this.path,this.flags,this.mode,function(e,t){if(e){n.emit("error",e);n.readable=false;return}n.fd=t;n.emit("open",t);n._read()})}function WriteStream(t,i){if(!(this instanceof WriteStream))return new WriteStream(t,i);r.call(this);this.path=t;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;i=i||{};var n=Object.keys(i);for(var s=0,a=n.length;s<a;s++){var o=n[s];this[o]=i[o]}if(this.start!==undefined){if("number"!==typeof this.start){throw TypeError("start must be a Number")}if(this.start<0){throw new Error("start must be >= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=e.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},1290:(e,t,i)=>{var r=i(7619);var n=process.cwd;var s=null;var a=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!s)s=n.call(process);return s};try{process.cwd()}catch(e){}var o=process.chdir;process.chdir=function(e){s=null;o.call(process,e)};e.exports=patch;function patch(e){if(r.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(e)}if(!e.lutimes){patchLutimes(e)}e.chown=chownFix(e.chown);e.fchown=chownFix(e.fchown);e.lchown=chownFix(e.lchown);e.chmod=chmodFix(e.chmod);e.fchmod=chmodFix(e.fchmod);e.lchmod=chmodFix(e.lchmod);e.chownSync=chownFixSync(e.chownSync);e.fchownSync=chownFixSync(e.fchownSync);e.lchownSync=chownFixSync(e.lchownSync);e.chmodSync=chmodFixSync(e.chmodSync);e.fchmodSync=chmodFixSync(e.fchmodSync);e.lchmodSync=chmodFixSync(e.lchmodSync);e.stat=statFix(e.stat);e.fstat=statFix(e.fstat);e.lstat=statFix(e.lstat);e.statSync=statFixSync(e.statSync);e.fstatSync=statFixSync(e.fstatSync);e.lstatSync=statFixSync(e.lstatSync);if(!e.lchmod){e.lchmod=function(e,t,i){if(i)process.nextTick(i)};e.lchmodSync=function(){}}if(!e.lchown){e.lchown=function(e,t,i,r){if(r)process.nextTick(r)};e.lchownSync=function(){}}if(a==="win32"){e.rename=function(t){return function(i,r,n){var s=Date.now();var a=0;t(i,r,function CB(o){if(o&&(o.code==="EACCES"||o.code==="EPERM")&&Date.now()-s<6e4){setTimeout(function(){e.stat(r,function(e,s){if(e&&e.code==="ENOENT")t(i,r,CB);else n(o)})},a);if(a<100)a+=10;return}if(n)n(o)})}}(e.rename)}e.read=function(t){function read(i,r,n,s,a,o){var u;if(o&&typeof o==="function"){var c=0;u=function(l,f,h){if(l&&l.code==="EAGAIN"&&c<10){c++;return t.call(e,i,r,n,s,a,u)}o.apply(this,arguments)}}return t.call(e,i,r,n,s,a,u)}read.__proto__=t;return read}(e.read);e.readSync=function(t){return function(i,r,n,s,a){var o=0;while(true){try{return t.call(e,i,r,n,s,a)}catch(e){if(e.code==="EAGAIN"&&o<10){o++;continue}throw e}}}}(e.readSync);function patchLchmod(e){e.lchmod=function(t,i,n){e.open(t,r.O_WRONLY|r.O_SYMLINK,i,function(t,r){if(t){if(n)n(t);return}e.fchmod(r,i,function(t){e.close(r,function(e){if(n)n(t||e)})})})};e.lchmodSync=function(t,i){var n=e.openSync(t,r.O_WRONLY|r.O_SYMLINK,i);var s=true;var a;try{a=e.fchmodSync(n,i);s=false}finally{if(s){try{e.closeSync(n)}catch(e){}}else{e.closeSync(n)}}return a}}function patchLutimes(e){if(r.hasOwnProperty("O_SYMLINK")){e.lutimes=function(t,i,n,s){e.open(t,r.O_SYMLINK,function(t,r){if(t){if(s)s(t);return}e.futimes(r,i,n,function(t){e.close(r,function(e){if(s)s(t||e)})})})};e.lutimesSync=function(t,i,n){var s=e.openSync(t,r.O_SYMLINK);var a;var o=true;try{a=e.futimesSync(s,i,n);o=false}finally{if(o){try{e.closeSync(s)}catch(e){}}else{e.closeSync(s)}}return a}}else{e.lutimes=function(e,t,i,r){if(r)process.nextTick(r)};e.lutimesSync=function(){}}}function chmodFix(t){if(!t)return t;return function(i,r,n){return t.call(e,i,r,function(e){if(chownErOk(e))e=null;if(n)n.apply(this,arguments)})}}function chmodFixSync(t){if(!t)return t;return function(i,r){try{return t.call(e,i,r)}catch(e){if(!chownErOk(e))throw e}}}function chownFix(t){if(!t)return t;return function(i,r,n,s){return t.call(e,i,r,n,function(e){if(chownErOk(e))e=null;if(s)s.apply(this,arguments)})}}function chownFixSync(t){if(!t)return t;return function(i,r,n){try{return t.call(e,i,r,n)}catch(e){if(!chownErOk(e))throw e}}}function statFix(t){if(!t)return t;return function(i,r,n){if(typeof r==="function"){n=r;r=null}function callback(e,t){if(t){if(t.uid<0)t.uid+=4294967296;if(t.gid<0)t.gid+=4294967296}if(n)n.apply(this,arguments)}return r?t.call(e,i,r,callback):t.call(e,i,callback)}}function statFixSync(t){if(!t)return t;return function(i,r){var n=r?t.call(e,i,r):t.call(e,i);if(n.uid<0)n.uid+=4294967296;if(n.gid<0)n.gid+=4294967296;return n}}function chownErOk(e){if(!e)return true;if(e.code==="ENOSYS")return true;var t=!process.getuid||process.getuid()!==0;if(t){if(e.code==="EINVAL"||e.code==="EPERM")return true}return false}}},7963:(e,t,i)=>{"use strict";var r=i(2087);var n=e.exports=function(){if(r.type()=="Windows_NT"){return false}var e=/UTF-?8$/i;var t=process.env.LC_ALL||process.env.LC_CTYPE||process.env.LANG;return e.test(t)}},9442:(e,t,i)=>{var r=i(4586);var n=Object.create(null);var s=i(7197);e.exports=r(inflight);function inflight(e,t){if(n[e]){n[e].push(t);return null}else{n[e]=[t];return makeres(e)}}function makeres(e){return s(function RES(){var t=n[e];var i=t.length;var r=slice(arguments);try{for(var s=0;s<i;s++){t[s].apply(null,r)}}finally{if(t.length>i){t.splice(0,i);process.nextTick(function(){RES.apply(null,r)})}else{delete n[e]}}})}function slice(e){var t=e.length;var i=[];for(var r=0;r<t;r++)i[r]=e[r];return i}},6919:(e,t,i)=>{try{var r=i(1669);if(typeof r.inherits!=="function")throw"";e.exports=r.inherits}catch(t){e.exports=i(7526)}},7526:e=>{if(typeof Object.create==="function"){e.exports=function inherits(e,t){if(t){e.super_=t;e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}})}}}else{e.exports=function inherits(e,t){if(t){e.super_=t;var i=function(){};i.prototype=t.prototype;e.prototype=new i;e.prototype.constructor=e}}}},9842:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return t.call(e)=="[object Array]"}},1215:(e,t,i)=>{var r;try{r=i(552)}catch(e){r=i(5747)}function readFile(e,t,i){if(i==null){i=t;t={}}if(typeof t==="string"){t={encoding:t}}t=t||{};var n=t.fs||r;var s=true;if("throws"in t){s=t.throws}n.readFile(e,t,function(r,n){if(r)return i(r);n=stripBom(n);var a;try{a=JSON.parse(n,t?t.reviver:null)}catch(t){if(s){t.message=e+": "+t.message;return i(t)}else{return i(null,null)}}i(null,a)})}function readFileSync(e,t){t=t||{};if(typeof t==="string"){t={encoding:t}}var i=t.fs||r;var n=true;if("throws"in t){n=t.throws}try{var s=i.readFileSync(e,t);s=stripBom(s);return JSON.parse(s,t.reviver)}catch(t){if(n){t.message=e+": "+t.message;throw t}else{return null}}}function stringify(e,t){var i;var r="\n";if(typeof t==="object"&&t!==null){if(t.spaces){i=t.spaces}if(t.EOL){r=t.EOL}}var n=JSON.stringify(e,t?t.replacer:null,i);return n.replace(/\n/g,r)+r}function writeFile(e,t,i,n){if(n==null){n=i;i={}}i=i||{};var s=i.fs||r;var a="";try{a=stringify(t,i)}catch(e){if(n)n(e,null);return}s.writeFile(e,a,i,n)}function writeFileSync(e,t,i){i=i||{};var n=i.fs||r;var s=stringify(t,i);return n.writeFileSync(e,s,i)}function stripBom(e){if(Buffer.isBuffer(e))e=e.toString("utf8");e=e.replace(/^\uFEFF/,"");return e}var n={readFile:readFile,readFileSync:readFileSync,writeFile:writeFile,writeFileSync:writeFileSync};e.exports=n},3995:(e,t,i)=>{"use strict";const r=i(5622);const n=i(5747);const{promisify:s}=i(1669);const a=i(5338);const o=s(n.stat);const u=s(n.lstat);const c={directory:"isDirectory",file:"isFile"};function checkType({type:e}){if(e in c){return}throw new Error(`Invalid type specified: ${e}`)}const l=(e,t)=>e===undefined||t[c[e]]();e.exports=(async(e,t)=>{t={cwd:process.cwd(),type:"file",allowSymlinks:true,...t};checkType(t);const i=t.allowSymlinks?o:u;return a(e,async e=>{try{const n=await i(r.resolve(t.cwd,e));return l(t.type,n)}catch(e){return false}},t)});e.exports.sync=((e,t)=>{t={cwd:process.cwd(),allowSymlinks:true,type:"file",...t};checkType(t);const i=t.allowSymlinks?n.statSync:n.lstatSync;for(const n of e){try{const e=i(r.resolve(t.cwd,n));if(l(t.type,e)){return n}}catch(e){}}})},9566:(e,t,i)=>{e.exports=minimatch;minimatch.Minimatch=Minimatch;var r={sep:"/"};try{r=i(5622)}catch(e){}var n=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var s=i(3197);var a={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var o="[^/]";var u=o+"*?";var c="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var l="(?:(?!(?:\\/|^)\\.).)*?";var f=charSet("().*{}+?[]^$\\!");function charSet(e){return e.split("").reduce(function(e,t){e[t]=true;return e},{})}var h=/\/+/;minimatch.filter=filter;function filter(e,t){t=t||{};return function(i,r,n){return minimatch(i,e,t)}}function ext(e,t){e=e||{};t=t||{};var i={};Object.keys(t).forEach(function(e){i[e]=t[e]});Object.keys(e).forEach(function(t){i[t]=e[t]});return i}minimatch.defaults=function(e){if(!e||!Object.keys(e).length)return minimatch;var t=minimatch;var i=function minimatch(i,r,n){return t.minimatch(i,r,ext(e,n))};i.Minimatch=function Minimatch(i,r){return new t.Minimatch(i,ext(e,r))};return i};Minimatch.defaults=function(e){if(!e||!Object.keys(e).length)return Minimatch;return minimatch.defaults(e).Minimatch};function minimatch(e,t,i){if(typeof t!=="string"){throw new TypeError("glob pattern string required")}if(!i)i={};if(!i.nocomment&&t.charAt(0)==="#"){return false}if(t.trim()==="")return e==="";return new Minimatch(t,i).match(e)}function Minimatch(e,t){if(!(this instanceof Minimatch)){return new Minimatch(e,t)}if(typeof e!=="string"){throw new TypeError("glob pattern string required")}if(!t)t={};e=e.trim();if(r.sep!=="/"){e=e.split(r.sep).join("/")}this.options=t;this.set=[];this.pattern=e;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){if(this._made)return;var e=this.pattern;var t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=true;return}if(!e){this.empty=true;return}this.parseNegate();var i=this.globSet=this.braceExpand();if(t.debug)this.debug=console.error;this.debug(this.pattern,i);i=this.globParts=i.map(function(e){return e.split(h)});this.debug(this.pattern,i);i=i.map(function(e,t,i){return e.map(this.parse,this)},this);this.debug(this.pattern,i);i=i.filter(function(e){return e.indexOf(false)===-1});this.debug(this.pattern,i);this.set=i}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var e=this.pattern;var t=false;var i=this.options;var r=0;if(i.nonegate)return;for(var n=0,s=e.length;n<s&&e.charAt(n)==="!";n++){t=!t;r++}if(r)this.pattern=e.substr(r);this.negate=t}minimatch.braceExpand=function(e,t){return braceExpand(e,t)};Minimatch.prototype.braceExpand=braceExpand;function braceExpand(e,t){if(!t){if(this instanceof Minimatch){t=this.options}else{t={}}}e=typeof e==="undefined"?this.pattern:e;if(typeof e==="undefined"){throw new TypeError("undefined pattern")}if(t.nobrace||!e.match(/\{.*\}/)){return[e]}return s(e)}Minimatch.prototype.parse=parse;var p={};function parse(e,t){if(e.length>1024*64){throw new TypeError("pattern is too long")}var i=this.options;if(!i.noglobstar&&e==="**")return n;if(e==="")return"";var r="";var s=!!i.nocase;var c=false;var l=[];var h=[];var d;var v=false;var y=-1;var g=-1;var b=e.charAt(0)==="."?"":i.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";var m=this;function clearStateChar(){if(d){switch(d){case"*":r+=u;s=true;break;case"?":r+=o;s=true;break;default:r+="\\"+d;break}m.debug("clearStateChar %j %j",d,r);d=false}}for(var _=0,w=e.length,E;_<w&&(E=e.charAt(_));_++){this.debug("%s\t%s %s %j",e,_,r,E);if(c&&f[E]){r+="\\"+E;c=false;continue}switch(E){case"/":return false;case"\\":clearStateChar();c=true;continue;case"?":case"*":case"+":case"@":case"!":this.debug("%s\t%s %s %j <-- stateChar",e,_,r,E);if(v){this.debug(" in class");if(E==="!"&&_===g+1)E="^";r+=E;continue}m.debug("call clearStateChar %j",d);clearStateChar();d=E;if(i.noext)clearStateChar();continue;case"(":if(v){r+="(";continue}if(!d){r+="\\(";continue}l.push({type:d,start:_-1,reStart:r.length,open:a[d].open,close:a[d].close});r+=d==="!"?"(?:(?!(?:":"(?:";this.debug("plType %j %j",d,r);d=false;continue;case")":if(v||!l.length){r+="\\)";continue}clearStateChar();s=true;var S=l.pop();r+=S.close;if(S.type==="!"){h.push(S)}S.reEnd=r.length;continue;case"|":if(v||!l.length||c){r+="\\|";c=false;continue}clearStateChar();r+="|";continue;case"[":clearStateChar();if(v){r+="\\"+E;continue}v=true;g=_;y=r.length;r+=E;continue;case"]":if(_===g+1||!v){r+="\\"+E;c=false;continue}if(v){var x=e.substring(g+1,_);try{RegExp("["+x+"]")}catch(e){var R=this.parse(x,p);r=r.substr(0,y)+"\\["+R[0]+"\\]";s=s||R[1];v=false;continue}}s=true;v=false;r+=E;continue;default:clearStateChar();if(c){c=false}else if(f[E]&&!(E==="^"&&v)){r+="\\"}r+=E}}if(v){x=e.substr(g+1);R=this.parse(x,p);r=r.substr(0,y)+"\\["+R[0];s=s||R[1]}for(S=l.pop();S;S=l.pop()){var A=r.slice(S.reStart+S.open.length);this.debug("setting tail",r,S);A=A.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(e,t,i){if(!i){i="\\"}return t+t+i+"|"});this.debug("tail=%j\n %s",A,A,S,r);var k=S.type==="*"?u:S.type==="?"?o:"\\"+S.type;s=true;r=r.slice(0,S.reStart)+k+"\\("+A}clearStateChar();if(c){r+="\\\\"}var T=false;switch(r.charAt(0)){case".":case"[":case"(":T=true}for(var C=h.length-1;C>-1;C--){var O=h[C];var N=r.slice(0,O.reStart);var j=r.slice(O.reStart,O.reEnd-8);var I=r.slice(O.reEnd-8,O.reEnd);var $=r.slice(O.reEnd);I+=$;var P=N.split("(").length-1;var F=$;for(_=0;_<P;_++){F=F.replace(/\)[+*?]?/,"")}$=F;var L="";if($===""&&t!==p){L="$"}var B=N+j+$+L+I;r=B}if(r!==""&&s){r="(?=.)"+r}if(T){r=b+r}if(t===p){return[r,s]}if(!s){return globUnescape(e)}var D=i.nocase?"i":"";try{var H=new RegExp("^"+r+"$",D)}catch(e){return new RegExp("$.")}H._glob=e;H._src=r;return H}minimatch.makeRe=function(e,t){return new Minimatch(e,t||{}).makeRe()};Minimatch.prototype.makeRe=makeRe;function makeRe(){if(this.regexp||this.regexp===false)return this.regexp;var e=this.set;if(!e.length){this.regexp=false;return this.regexp}var t=this.options;var i=t.noglobstar?u:t.dot?c:l;var r=t.nocase?"i":"";var s=e.map(function(e){return e.map(function(e){return e===n?i:typeof e==="string"?regExpEscape(e):e._src}).join("\\/")}).join("|");s="^(?:"+s+")$";if(this.negate)s="^(?!"+s+").*$";try{this.regexp=new RegExp(s,r)}catch(e){this.regexp=false}return this.regexp}minimatch.match=function(e,t,i){i=i||{};var r=new Minimatch(t,i);e=e.filter(function(e){return r.match(e)});if(r.options.nonull&&!e.length){e.push(t)}return e};Minimatch.prototype.match=match;function match(e,t){this.debug("match",e,this.pattern);if(this.comment)return false;if(this.empty)return e==="";if(e==="/"&&t)return true;var i=this.options;if(r.sep!=="/"){e=e.split(r.sep).join("/")}e=e.split(h);this.debug(this.pattern,"split",e);var n=this.set;this.debug(this.pattern,"set",n);var s;var a;for(a=e.length-1;a>=0;a--){s=e[a];if(s)break}for(a=0;a<n.length;a++){var o=n[a];var u=e;if(i.matchBase&&o.length===1){u=[s]}var c=this.matchOne(u,o,t);if(c){if(i.flipNegate)return true;return!this.negate}}if(i.flipNegate)return false;return this.negate}Minimatch.prototype.matchOne=function(e,t,i){var r=this.options;this.debug("matchOne",{this:this,file:e,pattern:t});this.debug("matchOne",e.length,t.length);for(var s=0,a=0,o=e.length,u=t.length;s<o&&a<u;s++,a++){this.debug("matchOne loop");var c=t[a];var l=e[s];this.debug(t,c,l);if(c===false)return false;if(c===n){this.debug("GLOBSTAR",[t,c,l]);var f=s;var h=a+1;if(h===u){this.debug("** at the end");for(;s<o;s++){if(e[s]==="."||e[s]===".."||!r.dot&&e[s].charAt(0)===".")return false}return true}while(f<o){var p=e[f];this.debug("\nglobstar while",e,f,t,h,p);if(this.matchOne(e.slice(f),t.slice(h),i)){this.debug("globstar found match!",f,o,p);return true}else{if(p==="."||p===".."||!r.dot&&p.charAt(0)==="."){this.debug("dot detected!",e,f,t,h);break}this.debug("globstar swallow a segment, and continue");f++}}if(i){this.debug("\n>>> no match, partial?",e,f,t,h);if(f===o)return true}return false}var d;if(typeof c==="string"){if(r.nocase){d=l.toLowerCase()===c.toLowerCase()}else{d=l===c}this.debug("string match",c,l,d)}else{d=l.match(c);this.debug("pattern match",c,l,d)}if(!d)return false}if(s===o&&a===u){return true}else if(s===o){return i}else if(a===u){var v=s===o-1&&e[s]==="";return v}throw new Error("wtf?")};function globUnescape(e){return e.replace(/\\(.)/g,"$1")}function regExpEscape(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},3277:(module,__unused_webpack_exports,__webpack_require__)=>{var fs=__webpack_require__(5747);var path=__webpack_require__(5622);var os=__webpack_require__(2087);var runtimeRequire=true?eval("require"):0;var vars=process.config&&process.config.variables||{};var prebuildsOnly=!!process.env.PREBUILDS_ONLY;var abi=process.versions.modules;var runtime=isElectron()?"electron":"node";var arch=os.arch();var platform=os.platform();var libc=process.env.LIBC||(isAlpine(platform)?"musl":"glibc");var armv=process.env.ARM_VERSION||(arch==="arm64"?"8":vars.arm_version)||"";var uv=(process.versions.uv||"").split(".")[0];module.exports=load;function load(e){return runtimeRequire(load.path(e))}load.path=function(e){e=path.resolve(e||".");try{var t=runtimeRequire(path.join(e,"package.json")).name.toUpperCase().replace(/-/g,"_");if(process.env[t+"_PREBUILD"])e=process.env[t+"_PREBUILD"]}catch(e){}if(!prebuildsOnly){var i=getFirst(path.join(e,"build/Release"),matchBuild);if(i)return i;var r=getFirst(path.join(e,"build/Debug"),matchBuild);if(r)return r}var n=resolve(e);if(n)return n;var s=resolve(path.dirname(process.execPath));if(s)return s;var a=["platform="+platform,"arch="+arch,"runtime="+runtime,"abi="+abi,"uv="+uv,armv?"armv="+armv:"","libc="+libc,"node="+process.versions.node,process.versions&&process.versions.electron?"electron="+process.versions.electron:"",true?"webpack=true":0].filter(Boolean).join(" ");throw new Error("No native build was found for "+a+"\n loaded from: "+e+"\n");function resolve(e){var t=path.join(e,"prebuilds",platform+"-"+arch);var i=readdirSync(t).map(parseTags);var r=i.filter(matchTags(runtime,abi));var n=r.sort(compareTags(runtime))[0];if(n)return path.join(t,n.file)}};function readdirSync(e){try{return fs.readdirSync(e)}catch(e){return[]}}function getFirst(e,t){var i=readdirSync(e).filter(t);return i[0]&&path.join(e,i[0])}function matchBuild(e){return/\.node$/.test(e)}function parseTags(e){var t=e.split(".");var i=t.pop();var r={file:e,specificity:0};if(i!=="node")return;for(var n=0;n<t.length;n++){var s=t[n];if(s==="node"||s==="electron"||s==="node-webkit"){r.runtime=s}else if(s==="napi"){r.napi=true}else if(s.slice(0,3)==="abi"){r.abi=s.slice(3)}else if(s.slice(0,2)==="uv"){r.uv=s.slice(2)}else if(s.slice(0,4)==="armv"){r.armv=s.slice(4)}else if(s==="glibc"||s==="musl"){r.libc=s}else{continue}r.specificity++}return r}function matchTags(e,t){return function(i){if(i==null)return false;if(i.runtime!==e&&!runtimeAgnostic(i))return false;if(i.abi!==t&&!i.napi)return false;if(i.uv&&i.uv!==uv)return false;if(i.armv&&i.armv!==armv)return false;if(i.libc&&i.libc!==libc)return false;return true}}function runtimeAgnostic(e){return e.runtime==="node"&&e.napi}function compareTags(e){return function(t,i){if(t.runtime!==i.runtime){return t.runtime===e?-1:1}else if(t.abi!==i.abi){return t.abi?-1:1}else if(t.specificity!==i.specificity){return t.specificity>i.specificity?-1:1}else{return 0}}}function isElectron(){if(process.versions&&process.versions.electron)return true;if(process.env.ELECTRON_RUN_AS_NODE)return true;return typeof window!=="undefined"&&window.process&&window.process.type==="renderer"}function isAlpine(e){return e==="linux"&&fs.existsSync("/etc/alpine-release")}load.parseTags=parseTags;load.matchTags=matchTags;load.compareTags=compareTags},9248:(e,t,i)=>{"use strict";var r=i(5747);var n=i(2780);var s=i(9658);e.exports=t;var a=process.version.substr(1).replace(/-.*$/,"").split(".").map(function(e){return+e});var o=["build","clean","configure","package","publish","reveal","testbinary","testpackage","unpublish"];var u="napi_build_version=";e.exports.get_napi_version=function(e){var t=process.versions.napi;if(!t){if(a[0]===9&&a[1]>=3)t=2;else if(a[0]===8)t=1}return t};e.exports.get_napi_version_as_string=function(t){var i=e.exports.get_napi_version(t);return i?""+i:""};e.exports.validate_package_json=function(t,i){var r=t.binary;var n=pathOK(r.module_path);var s=pathOK(r.remote_path);var a=pathOK(r.package_name);var o=e.exports.get_napi_build_versions(t,i,true);var u=e.exports.get_napi_build_versions_raw(t);if(o){o.forEach(function(e){if(!(parseInt(e,10)===e&&e>0)){throw new Error("All values specified in napi_versions must be positive integers.")}})}if(o&&(!n||!s&&!a)){throw new Error("When napi_versions is specified; module_path and either remote_path or "+"package_name must contain the substitution string '{napi_build_version}`.")}if((n||s||a)&&!u){throw new Error("When the substitution string '{napi_build_version}` is specified in "+"module_path, remote_path, or package_name; napi_versions must also be specified.")}if(o&&!e.exports.get_best_napi_build_version(t,i)&&e.exports.build_napi_only(t)){throw new Error("The N-API version of this Node instance is "+e.exports.get_napi_version(i?i.target:undefined)+". "+"This module supports N-API version(s) "+e.exports.get_napi_build_versions_raw(t)+". "+"This Node instance cannot run this module.")}if(u&&!o&&e.exports.build_napi_only(t)){throw new Error("The N-API version of this Node instance is "+e.exports.get_napi_version(i?i.target:undefined)+". "+"This module supports N-API version(s) "+e.exports.get_napi_build_versions_raw(t)+". "+"This Node instance cannot run this module.")}};function pathOK(e){return e&&(e.indexOf("{napi_build_version}")!==-1||e.indexOf("{node_napi_label}")!==-1)}e.exports.expand_commands=function(t,i,r){var n=[];var s=e.exports.get_napi_build_versions(t,i);r.forEach(function(r){if(s&&r.name==="install"){var a=e.exports.get_best_napi_build_version(t,i);var c=a?[u+a]:[];n.push({name:r.name,args:c})}else if(s&&o.indexOf(r.name)!==-1){s.forEach(function(e){var t=r.args.slice();t.push(u+e);n.push({name:r.name,args:t})})}else{n.push(r)}});return n};e.exports.get_napi_build_versions=function(t,i,r){var n=[];var a=e.exports.get_napi_version(i?i.target:undefined);if(t.binary&&t.binary.napi_versions){t.binary.napi_versions.forEach(function(e){var t=n.indexOf(e)!==-1;if(!t&&a&&e<=a){n.push(e)}else if(r&&!t&&a){s.info("This Node instance does not support builds for N-API version",e)}})}if(i&&i["build-latest-napi-version-only"]){var o=0;n.forEach(function(e){if(e>o)o=e});n=o?[o]:[]}return n.length?n:undefined};e.exports.get_napi_build_versions_raw=function(e){var t=[];if(e.binary&&e.binary.napi_versions){e.binary.napi_versions.forEach(function(e){if(t.indexOf(e)===-1){t.push(e)}})}return t.length?t:undefined};e.exports.get_command_arg=function(e){return u+e};e.exports.get_napi_build_version_from_command_args=function(e){for(var t=0;t<e.length;t++){var i=e[t];if(i.indexOf(u)===0){return parseInt(i.substr(u.length),10)}}return undefined};e.exports.swap_build_dir_out=function(t){if(t){n.sync(e.exports.get_build_dir(t));r.renameSync("build",e.exports.get_build_dir(t))}};e.exports.swap_build_dir_in=function(t){if(t){n.sync("build");r.renameSync(e.exports.get_build_dir(t),"build")}};e.exports.get_build_dir=function(e){return"build-tmp-napi-v"+e};e.exports.get_best_napi_build_version=function(t,i){var r=0;var n=e.exports.get_napi_build_versions(t,i);if(n){var s=e.exports.get_napi_version(i?i.target:undefined);n.forEach(function(e){if(e>r&&e<=s){r=e}})}return r===0?undefined:r};e.exports.build_napi_only=function(e){return e.binary&&e.binary.package_name&&e.binary.package_name.indexOf("{node_napi_label}")===-1}},5574:(e,t,i)=>{"use strict";e.exports=t;var r=i(5622);var n=i(5720);var s=i(8835);var a=i(2157);var o=i(9248);var u;if(process.env.NODE_PRE_GYP_ABI_CROSSWALK){u=require(process.env.NODE_PRE_GYP_ABI_CROSSWALK)}else{u=i(772)}var c={};Object.keys(u).forEach(function(e){var t=e.split(".")[0];if(!c[t]){c[t]=e}});function get_electron_abi(e,t){if(!e){throw new Error("get_electron_abi requires valid runtime arg")}if(typeof t==="undefined"){throw new Error("Empty target version is not supported if electron is the target.")}var i=n.parse(t);return e+"-v"+i.major+"."+i.minor}e.exports.get_electron_abi=get_electron_abi;function get_node_webkit_abi(e,t){if(!e){throw new Error("get_node_webkit_abi requires valid runtime arg")}if(typeof t==="undefined"){throw new Error("Empty target version is not supported if node-webkit is the target.")}return e+"-v"+t}e.exports.get_node_webkit_abi=get_node_webkit_abi;function get_node_abi(e,t){if(!e){throw new Error("get_node_abi requires valid runtime arg")}if(!t){throw new Error("get_node_abi requires valid process.versions object")}var i=n.parse(t.node);if(i.major===0&&i.minor%2){return e+"-v"+t.node}else{return t.modules?e+"-v"+ +t.modules:"v8-"+t.v8.split(".").slice(0,2).join(".")}}e.exports.get_node_abi=get_node_abi;function get_runtime_abi(e,t){if(!e){throw new Error("get_runtime_abi requires valid runtime arg")}if(e==="node-webkit"){return get_node_webkit_abi(e,t||process.versions["node-webkit"])}else if(e==="electron"){return get_electron_abi(e,t||process.versions.electron)}else{if(e!="node"){throw new Error("Unknown Runtime: '"+e+"'")}if(!t){return get_node_abi(e,process.versions)}else{var i;if(u[t]){i=u[t]}else{var r=t.split(".").map(function(e){return+e});if(r.length!=3){throw new Error("Unknown target version: "+t)}var n=r[0];var s=r[1];var a=r[2];if(n===1){while(true){if(s>0)--s;if(a>0)--a;var o=""+n+"."+s+"."+a;if(u[o]){i=u[o];console.log("Warning: node-pre-gyp could not find exact match for "+t);console.log("Warning: but node-pre-gyp successfully choose "+o+" as ABI compatible target");break}if(s===0&&a===0){break}}}else if(n>=2){if(c[n]){i=u[c[n]];console.log("Warning: node-pre-gyp could not find exact match for "+t);console.log("Warning: but node-pre-gyp successfully choose "+c[n]+" as ABI compatible target")}}else if(n===0){if(r[1]%2===0){while(--a>0){var l=""+n+"."+s+"."+a;if(u[l]){i=u[l];console.log("Warning: node-pre-gyp could not find exact match for "+t);console.log("Warning: but node-pre-gyp successfully choose "+l+" as ABI compatible target");break}}}}}if(!i){throw new Error("Unsupported target version: "+t)}var f={node:t,v8:i.v8+".0",modules:i.node_abi>1?i.node_abi:undefined};return get_node_abi(e,f)}}}e.exports.get_runtime_abi=get_runtime_abi;var l=["module_name","module_path","host"];function validate_config(e,t){var i=e.name+" package.json is not node-pre-gyp ready:\n";var r=[];if(!e.main){r.push("main")}if(!e.version){r.push("version")}if(!e.name){r.push("name")}if(!e.binary){r.push("binary")}var n=e.binary;l.forEach(function(e){if(r.indexOf("binary")>-1){r.pop("binary")}if(!n||n[e]===undefined||n[e]===""){r.push("binary."+e)}});if(r.length>=1){throw new Error(i+"package.json must declare these properties: \n"+r.join("\n"))}if(n){var a=s.parse(n.host).protocol;if(a==="http:"){throw new Error("'host' protocol ("+a+") is invalid - only 'https:' is accepted")}}o.validate_package_json(e,t)}e.exports.validate_config=validate_config;function eval_template(e,t){Object.keys(t).forEach(function(i){var r="{"+i+"}";while(e.indexOf(r)>-1){e=e.replace(r,t[i])}});return e}function fix_slashes(e){if(e.slice(-1)!="/"){return e+"/"}return e}function drop_double_slashes(e){return e.replace(/\/\//g,"/")}function get_process_runtime(e){var t="node";if(e["node-webkit"]){t="node-webkit"}else if(e.electron){t="electron"}return t}e.exports.get_process_runtime=get_process_runtime;var f="{module_name}-v{version}-{node_abi}-{platform}-{arch}.tar.gz";var h="";e.exports.evaluate=function(e,t,i){t=t||{};validate_config(e,t);var u=e.version;var c=n.parse(u);var l=t.runtime||get_process_runtime(process.versions);var p={name:e.name,configuration:Boolean(t.debug)?"Debug":"Release",debug:t.debug,module_name:e.binary.module_name,version:c.version,prerelease:c.prerelease.length?c.prerelease.join("."):"",build:c.build.length?c.build.join("."):"",major:c.major,minor:c.minor,patch:c.patch,runtime:l,node_abi:get_runtime_abi(l,t.target),node_abi_napi:o.get_napi_version(t.target)?"napi":get_runtime_abi(l,t.target),napi_version:o.get_napi_version(t.target),napi_build_version:i||"",node_napi_label:i?"napi-v"+i:get_runtime_abi(l,t.target),target:t.target||"",platform:t.target_platform||process.platform,target_platform:t.target_platform||process.platform,arch:t.target_arch||process.arch,target_arch:t.target_arch||process.arch,libc:t.target_libc||a.family||"unknown",module_main:e.main,toolset:t.toolset||""};var d=process.env["npm_config_"+p.module_name+"_binary_host_mirror"]||e.binary.host;p.host=fix_slashes(eval_template(d,p));p.module_path=eval_template(e.binary.module_path,p);if(t.module_root){p.module_path=r.join(t.module_root,p.module_path)}else{p.module_path=r.resolve(p.module_path)}p.module=r.join(p.module_path,p.module_name+".node");p.remote_path=e.binary.remote_path?drop_double_slashes(fix_slashes(eval_template(e.binary.remote_path,p))):h;var v=e.binary.package_name?e.binary.package_name:f;p.package_name=eval_template(v,p);p.staged_tarball=r.join("build/stage",p.remote_path,p.package_name);p.hosted_path=s.resolve(p.host,p.remote_path);p.hosted_tarball=s.resolve(p.hosted_path,p.package_name);return p}},5720:(e,t)=>{t=e.exports=SemVer;var i;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){i=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER");console.log.apply(console,e)}}else{i=function(){}}t.SEMVER_SPEC_VERSION="2.0.0";var r=256;var n=Number.MAX_SAFE_INTEGER||9007199254740991;var s=16;var a=t.re=[];var o=t.src=[];var u=0;var c=u++;o[c]="0|[1-9]\\d*";var l=u++;o[l]="[0-9]+";var f=u++;o[f]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var h=u++;o[h]="("+o[c]+")\\."+"("+o[c]+")\\."+"("+o[c]+")";var p=u++;o[p]="("+o[l]+")\\."+"("+o[l]+")\\."+"("+o[l]+")";var d=u++;o[d]="(?:"+o[c]+"|"+o[f]+")";var v=u++;o[v]="(?:"+o[l]+"|"+o[f]+")";var y=u++;o[y]="(?:-("+o[d]+"(?:\\."+o[d]+")*))";var g=u++;o[g]="(?:-?("+o[v]+"(?:\\."+o[v]+")*))";var b=u++;o[b]="[0-9A-Za-z-]+";var m=u++;o[m]="(?:\\+("+o[b]+"(?:\\."+o[b]+")*))";var _=u++;var w="v?"+o[h]+o[y]+"?"+o[m]+"?";o[_]="^"+w+"$";var E="[v=\\s]*"+o[p]+o[g]+"?"+o[m]+"?";var S=u++;o[S]="^"+E+"$";var x=u++;o[x]="((?:<|>)?=?)";var R=u++;o[R]=o[l]+"|x|X|\\*";var A=u++;o[A]=o[c]+"|x|X|\\*";var k=u++;o[k]="[v=\\s]*("+o[A]+")"+"(?:\\.("+o[A]+")"+"(?:\\.("+o[A]+")"+"(?:"+o[y]+")?"+o[m]+"?"+")?)?";var T=u++;o[T]="[v=\\s]*("+o[R]+")"+"(?:\\.("+o[R]+")"+"(?:\\.("+o[R]+")"+"(?:"+o[g]+")?"+o[m]+"?"+")?)?";var C=u++;o[C]="^"+o[x]+"\\s*"+o[k]+"$";var O=u++;o[O]="^"+o[x]+"\\s*"+o[T]+"$";var N=u++;o[N]="(?:^|[^\\d])"+"(\\d{1,"+s+"})"+"(?:\\.(\\d{1,"+s+"}))?"+"(?:\\.(\\d{1,"+s+"}))?"+"(?:$|[^\\d])";var j=u++;o[j]="(?:~>?)";var I=u++;o[I]="(\\s*)"+o[j]+"\\s+";a[I]=new RegExp(o[I],"g");var $="$1~";var P=u++;o[P]="^"+o[j]+o[k]+"$";var F=u++;o[F]="^"+o[j]+o[T]+"$";var L=u++;o[L]="(?:\\^)";var B=u++;o[B]="(\\s*)"+o[L]+"\\s+";a[B]=new RegExp(o[B],"g");var D="$1^";var H=u++;o[H]="^"+o[L]+o[k]+"$";var U=u++;o[U]="^"+o[L]+o[T]+"$";var W=u++;o[W]="^"+o[x]+"\\s*("+E+")$|^$";var q=u++;o[q]="^"+o[x]+"\\s*("+w+")$|^$";var G=u++;o[G]="(\\s*)"+o[x]+"\\s*("+E+"|"+o[k]+")";a[G]=new RegExp(o[G],"g");var V="$1$2$3";var z=u++;o[z]="^\\s*("+o[k]+")"+"\\s+-\\s+"+"("+o[k]+")"+"\\s*$";var M=u++;o[M]="^\\s*("+o[T]+")"+"\\s+-\\s+"+"("+o[T]+")"+"\\s*$";var X=u++;o[X]="(<|>)?=?\\s*\\*";for(var K=0;K<u;K++){i(K,o[K]);if(!a[K]){a[K]=new RegExp(o[K])}}t.parse=parse;function parse(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){return e}if(typeof e!=="string"){return null}if(e.length>r){return null}var i=t.loose?a[S]:a[_];if(!i.test(e)){return null}try{return new SemVer(e,t)}catch(e){return null}}t.valid=valid;function valid(e,t){var i=parse(e,t);return i?i.version:null}t.clean=clean;function clean(e,t){var i=parse(e.trim().replace(/^[=v]+/,""),t);return i?i.version:null}t.SemVer=SemVer;function SemVer(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){if(e.loose===t.loose){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError("Invalid Version: "+e)}if(e.length>r){throw new TypeError("version is longer than "+r+" characters")}if(!(this instanceof SemVer)){return new SemVer(e,t)}i("SemVer",e,t);this.options=t;this.loose=!!t.loose;var s=e.trim().match(t.loose?a[S]:a[_]);if(!s){throw new TypeError("Invalid Version: "+e)}this.raw=e;this.major=+s[1];this.minor=+s[2];this.patch=+s[3];if(this.major>n||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>n||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>n||this.patch<0){throw new TypeError("Invalid patch version")}if(!s[4]){this.prerelease=[]}else{this.prerelease=s[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<n){return t}}return e})}this.build=s[5]?s[5].split("."):[];this.format()}SemVer.prototype.format=function(){this.version=this.major+"."+this.minor+"."+this.patch;if(this.prerelease.length){this.version+="-"+this.prerelease.join(".")}return this.version};SemVer.prototype.toString=function(){return this.version};SemVer.prototype.compare=function(e){i("SemVer.compare",this.version,this.options,e);if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}return this.compareMain(e)||this.comparePre(e)};SemVer.prototype.compareMain=function(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}return compareIdentifiers(this.major,e.major)||compareIdentifiers(this.minor,e.minor)||compareIdentifiers(this.patch,e.patch)};SemVer.prototype.comparePre=function(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}if(this.prerelease.length&&!e.prerelease.length){return-1}else if(!this.prerelease.length&&e.prerelease.length){return 1}else if(!this.prerelease.length&&!e.prerelease.length){return 0}var t=0;do{var r=this.prerelease[t];var n=e.prerelease[t];i("prerelease compare",t,r,n);if(r===undefined&&n===undefined){return 0}else if(n===undefined){return 1}else if(r===undefined){return-1}else if(r===n){continue}else{return compareIdentifiers(r,n)}}while(++t)};SemVer.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0;this.patch=0;this.minor=0;this.major++;this.inc("pre",t);break;case"preminor":this.prerelease.length=0;this.patch=0;this.minor++;this.inc("pre",t);break;case"prepatch":this.prerelease.length=0;this.inc("patch",t);this.inc("pre",t);break;case"prerelease":if(this.prerelease.length===0){this.inc("patch",t)}this.inc("pre",t);break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0){this.major++}this.minor=0;this.patch=0;this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0){this.minor++}this.patch=0;this.prerelease=[];break;case"patch":if(this.prerelease.length===0){this.patch++}this.prerelease=[];break;case"pre":if(this.prerelease.length===0){this.prerelease=[0]}else{var i=this.prerelease.length;while(--i>=0){if(typeof this.prerelease[i]==="number"){this.prerelease[i]++;i=-2}}if(i===-1){this.prerelease.push(0)}}if(t){if(this.prerelease[0]===t){if(isNaN(this.prerelease[1])){this.prerelease=[t,0]}}else{this.prerelease=[t,0]}}break;default:throw new Error("invalid increment argument: "+e)}this.format();this.raw=this.version;return this};t.inc=inc;function inc(e,t,i,r){if(typeof i==="string"){r=i;i=undefined}try{return new SemVer(e,i).inc(t,r).version}catch(e){return null}}t.diff=diff;function diff(e,t){if(eq(e,t)){return null}else{var i=parse(e);var r=parse(t);var n="";if(i.prerelease.length||r.prerelease.length){n="pre";var s="prerelease"}for(var a in i){if(a==="major"||a==="minor"||a==="patch"){if(i[a]!==r[a]){return n+a}}}return s}}t.compareIdentifiers=compareIdentifiers;var Y=/^[0-9]+$/;function compareIdentifiers(e,t){var i=Y.test(e);var r=Y.test(t);if(i&&r){e=+e;t=+t}return e===t?0:i&&!r?-1:r&&!i?1:e<t?-1:1}t.rcompareIdentifiers=rcompareIdentifiers;function rcompareIdentifiers(e,t){return compareIdentifiers(t,e)}t.major=major;function major(e,t){return new SemVer(e,t).major}t.minor=minor;function minor(e,t){return new SemVer(e,t).minor}t.patch=patch;function patch(e,t){return new SemVer(e,t).patch}t.compare=compare;function compare(e,t,i){return new SemVer(e,i).compare(new SemVer(t,i))}t.compareLoose=compareLoose;function compareLoose(e,t){return compare(e,t,true)}t.rcompare=rcompare;function rcompare(e,t,i){return compare(t,e,i)}t.sort=sort;function sort(e,i){return e.sort(function(e,r){return t.compare(e,r,i)})}t.rsort=rsort;function rsort(e,i){return e.sort(function(e,r){return t.rcompare(e,r,i)})}t.gt=gt;function gt(e,t,i){return compare(e,t,i)>0}t.lt=lt;function lt(e,t,i){return compare(e,t,i)<0}t.eq=eq;function eq(e,t,i){return compare(e,t,i)===0}t.neq=neq;function neq(e,t,i){return compare(e,t,i)!==0}t.gte=gte;function gte(e,t,i){return compare(e,t,i)>=0}t.lte=lte;function lte(e,t,i){return compare(e,t,i)<=0}t.cmp=cmp;function cmp(e,t,i,r){switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof i==="object")i=i.version;return e===i;case"!==":if(typeof e==="object")e=e.version;if(typeof i==="object")i=i.version;return e!==i;case"":case"=":case"==":return eq(e,i,r);case"!=":return neq(e,i,r);case">":return gt(e,i,r);case">=":return gte(e,i,r);case"<":return lt(e,i,r);case"<=":return lte(e,i,r);default:throw new TypeError("Invalid operator: "+t)}}t.Comparator=Comparator;function Comparator(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}if(!(this instanceof Comparator)){return new Comparator(e,t)}i("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===Q){this.value=""}else{this.value=this.operator+this.semver.version}i("comp",this)}var Q={};Comparator.prototype.parse=function(e){var t=this.options.loose?a[W]:a[q];var i=e.match(t);if(!i){throw new TypeError("Invalid comparator: "+e)}this.operator=i[1];if(this.operator==="="){this.operator=""}if(!i[2]){this.semver=Q}else{this.semver=new SemVer(i[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(e){i("Comparator.test",e,this.options.loose);if(this.semver===Q){return true}if(typeof e==="string"){e=new SemVer(e,this.options)}return cmp(e,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}var i;if(this.operator===""){i=new Range(e.value,t);return satisfies(this.value,i,t)}else if(e.operator===""){i=new Range(this.value,t);return satisfies(e.semver,i,t)}var r=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");var n=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");var s=this.semver.version===e.semver.version;var a=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");var o=cmp(this.semver,"<",e.semver,t)&&((this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"));var u=cmp(this.semver,">",e.semver,t)&&((this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">"));return r||n||s&&a||o||u};t.Range=Range;function Range(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof Comparator){return new Range(e.value,t)}if(!(this instanceof Range)){return new Range(e,t)}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e;this.set=e.split(/\s*\|\|\s*/).map(function(e){return this.parseRange(e.trim())},this).filter(function(e){return e.length});if(!this.set.length){throw new TypeError("Invalid SemVer Range: "+e)}this.format()}Range.prototype.format=function(){this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim();return this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var r=t?a[M]:a[z];e=e.replace(r,hyphenReplace);i("hyphen replace",e);e=e.replace(a[G],V);i("comparator trim",e,a[G]);e=e.replace(a[I],$);e=e.replace(a[B],D);e=e.split(/\s+/).join(" ");var n=t?a[W]:a[q];var s=e.split(" ").map(function(e){return parseComparator(e,this.options)},this).join(" ").split(/\s+/);if(this.options.loose){s=s.filter(function(e){return!!e.match(n)})}s=s.map(function(e){return new Comparator(e,this.options)},this);return s};Range.prototype.intersects=function(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some(function(i){return i.every(function(i){return e.set.some(function(e){return e.every(function(e){return i.intersects(e,t)})})})})};t.toComparators=toComparators;function toComparators(e,t){return new Range(e,t).set.map(function(e){return e.map(function(e){return e.value}).join(" ").trim().split(" ")})}function parseComparator(e,t){i("comp",e,t);e=replaceCarets(e,t);i("caret",e);e=replaceTildes(e,t);i("tildes",e);e=replaceXRanges(e,t);i("xrange",e);e=replaceStars(e,t);i("stars",e);return e}function isX(e){return!e||e.toLowerCase()==="x"||e==="*"}function replaceTildes(e,t){return e.trim().split(/\s+/).map(function(e){return replaceTilde(e,t)}).join(" ")}function replaceTilde(e,t){var r=t.loose?a[F]:a[P];return e.replace(r,function(t,r,n,s,a){i("tilde",e,t,r,n,s,a);var o;if(isX(r)){o=""}else if(isX(n)){o=">="+r+".0.0 <"+(+r+1)+".0.0"}else if(isX(s)){o=">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0"}else if(a){i("replaceTilde pr",a);o=">="+r+"."+n+"."+s+"-"+a+" <"+r+"."+(+n+1)+".0"}else{o=">="+r+"."+n+"."+s+" <"+r+"."+(+n+1)+".0"}i("tilde return",o);return o})}function replaceCarets(e,t){return e.trim().split(/\s+/).map(function(e){return replaceCaret(e,t)}).join(" ")}function replaceCaret(e,t){i("caret",e,t);var r=t.loose?a[U]:a[H];return e.replace(r,function(t,r,n,s,a){i("caret",e,t,r,n,s,a);var o;if(isX(r)){o=""}else if(isX(n)){o=">="+r+".0.0 <"+(+r+1)+".0.0"}else if(isX(s)){if(r==="0"){o=">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0"}else{o=">="+r+"."+n+".0 <"+(+r+1)+".0.0"}}else if(a){i("replaceCaret pr",a);if(r==="0"){if(n==="0"){o=">="+r+"."+n+"."+s+"-"+a+" <"+r+"."+n+"."+(+s+1)}else{o=">="+r+"."+n+"."+s+"-"+a+" <"+r+"."+(+n+1)+".0"}}else{o=">="+r+"."+n+"."+s+"-"+a+" <"+(+r+1)+".0.0"}}else{i("no pr");if(r==="0"){if(n==="0"){o=">="+r+"."+n+"."+s+" <"+r+"."+n+"."+(+s+1)}else{o=">="+r+"."+n+"."+s+" <"+r+"."+(+n+1)+".0"}}else{o=">="+r+"."+n+"."+s+" <"+(+r+1)+".0.0"}}i("caret return",o);return o})}function replaceXRanges(e,t){i("replaceXRanges",e,t);return e.split(/\s+/).map(function(e){return replaceXRange(e,t)}).join(" ")}function replaceXRange(e,t){e=e.trim();var r=t.loose?a[O]:a[C];return e.replace(r,function(t,r,n,s,a,o){i("xRange",e,t,r,n,s,a,o);var u=isX(n);var c=u||isX(s);var l=c||isX(a);var f=l;if(r==="="&&f){r=""}if(u){if(r===">"||r==="<"){t="<0.0.0"}else{t="*"}}else if(r&&f){if(c){s=0}a=0;if(r===">"){r=">=";if(c){n=+n+1;s=0;a=0}else{s=+s+1;a=0}}else if(r==="<="){r="<";if(c){n=+n+1}else{s=+s+1}}t=r+n+"."+s+"."+a}else if(c){t=">="+n+".0.0 <"+(+n+1)+".0.0"}else if(l){t=">="+n+"."+s+".0 <"+n+"."+(+s+1)+".0"}i("xRange return",t);return t})}function replaceStars(e,t){i("replaceStars",e,t);return e.trim().replace(a[X],"")}function hyphenReplace(e,t,i,r,n,s,a,o,u,c,l,f,h){if(isX(i)){t=""}else if(isX(r)){t=">="+i+".0.0"}else if(isX(n)){t=">="+i+"."+r+".0"}else{t=">="+t}if(isX(u)){o=""}else if(isX(c)){o="<"+(+u+1)+".0.0"}else if(isX(l)){o="<"+u+"."+(+c+1)+".0"}else if(f){o="<="+u+"."+c+"."+l+"-"+f}else{o="<="+o}return(t+" "+o).trim()}Range.prototype.test=function(e){if(!e){return false}if(typeof e==="string"){e=new SemVer(e,this.options)}for(var t=0;t<this.set.length;t++){if(testSet(this.set[t],e,this.options)){return true}}return false};function testSet(e,t,r){for(var n=0;n<e.length;n++){if(!e[n].test(t)){return false}}if(t.prerelease.length&&!r.includePrerelease){for(n=0;n<e.length;n++){i(e[n].semver);if(e[n].semver===Q){continue}if(e[n].semver.prerelease.length>0){var s=e[n].semver;if(s.major===t.major&&s.minor===t.minor&&s.patch===t.patch){return true}}}return false}return true}t.satisfies=satisfies;function satisfies(e,t,i){try{t=new Range(t,i)}catch(e){return false}return t.test(e)}t.maxSatisfying=maxSatisfying;function maxSatisfying(e,t,i){var r=null;var n=null;try{var s=new Range(t,i)}catch(e){return null}e.forEach(function(e){if(s.test(e)){if(!r||n.compare(e)===-1){r=e;n=new SemVer(r,i)}}});return r}t.minSatisfying=minSatisfying;function minSatisfying(e,t,i){var r=null;var n=null;try{var s=new Range(t,i)}catch(e){return null}e.forEach(function(e){if(s.test(e)){if(!r||n.compare(e)===1){r=e;n=new SemVer(r,i)}}});return r}t.minVersion=minVersion;function minVersion(e,t){e=new Range(e,t);var i=new SemVer("0.0.0");if(e.test(i)){return i}i=new SemVer("0.0.0-0");if(e.test(i)){return i}i=null;for(var r=0;r<e.set.length;++r){var n=e.set[r];n.forEach(function(e){var t=new SemVer(e.semver.version);switch(e.operator){case">":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!i||gt(i,t)){i=t}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}})}if(i&&e.test(i)){return i}return null}t.validRange=validRange;function validRange(e,t){try{return new Range(e,t).range||"*"}catch(e){return null}}t.ltr=ltr;function ltr(e,t,i){return outside(e,t,"<",i)}t.gtr=gtr;function gtr(e,t,i){return outside(e,t,">",i)}t.outside=outside;function outside(e,t,i,r){e=new SemVer(e,r);t=new Range(t,r);var n,s,a,o,u;switch(i){case">":n=gt;s=lte;a=lt;o=">";u=">=";break;case"<":n=lt;s=gte;a=gt;o="<";u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(e,t,r)){return false}for(var c=0;c<t.set.length;++c){var l=t.set[c];var f=null;var h=null;l.forEach(function(e){if(e.semver===Q){e=new Comparator(">=0.0.0")}f=f||e;h=h||e;if(n(e.semver,f.semver,r)){f=e}else if(a(e.semver,h.semver,r)){h=e}});if(f.operator===o||f.operator===u){return false}if((!h.operator||h.operator===o)&&s(e,h.semver)){return false}else if(h.operator===u&&a(e,h.semver)){return false}}return true}t.prerelease=prerelease;function prerelease(e,t){var i=parse(e,t);return i&&i.prerelease.length?i.prerelease:null}t.intersects=intersects;function intersects(e,t,i){e=new Range(e,i);t=new Range(t,i);return e.intersects(t)}t.coerce=coerce;function coerce(e){if(e instanceof SemVer){return e}if(typeof e!=="string"){return null}var t=e.match(a[N]);if(t==null){return null}return parse(t[1]+"."+(t[2]||"0")+"."+(t[3]||"0"))}},9658:(e,t,i)=>{"use strict";var r=i(2717);var n=i(6054);var s=i(8614).EventEmitter;var a=t=e.exports=new s;var o=i(1669);var u=i(8834);var c=i(6322);u(true);var l=process.stderr;Object.defineProperty(a,"stream",{set:function(e){l=e;if(this.gauge)this.gauge.setWriteTo(l,l)},get:function(){return l}});var f;a.useColor=function(){return f!=null?f:l.isTTY};a.enableColor=function(){f=true;this.gauge.setTheme({hasColor:f,hasUnicode:h})};a.disableColor=function(){f=false;this.gauge.setTheme({hasColor:f,hasUnicode:h})};a.level="info";a.gauge=new n(l,{enabled:false,theme:{hasColor:a.useColor()},template:[{type:"progressbar",length:20},{type:"activityIndicator",kerning:1,length:1},{type:"section",default:""},":",{type:"logline",kerning:1,default:""}]});a.tracker=new r.TrackerGroup;a.progressEnabled=a.gauge.isEnabled();var h;a.enableUnicode=function(){h=true;this.gauge.setTheme({hasColor:this.useColor(),hasUnicode:h})};a.disableUnicode=function(){h=false;this.gauge.setTheme({hasColor:this.useColor(),hasUnicode:h})};a.setGaugeThemeset=function(e){this.gauge.setThemeset(e)};a.setGaugeTemplate=function(e){this.gauge.setTemplate(e)};a.enableProgress=function(){if(this.progressEnabled)return;this.progressEnabled=true;this.tracker.on("change",this.showProgress);if(this._pause)return;this.gauge.enable()};a.disableProgress=function(){if(!this.progressEnabled)return;this.progressEnabled=false;this.tracker.removeListener("change",this.showProgress);this.gauge.disable()};var p=["newGroup","newItem","newStream"];var d=function(e){Object.keys(a).forEach(function(t){if(t[0]==="_")return;if(p.filter(function(e){return e===t}).length)return;if(e[t])return;if(typeof a[t]!=="function")return;var i=a[t];e[t]=function(){return i.apply(a,arguments)}});if(e instanceof r.TrackerGroup){p.forEach(function(t){var i=e[t];e[t]=function(){return d(i.apply(e,arguments))}})}return e};p.forEach(function(e){a[e]=function(){return d(this.tracker[e].apply(this.tracker,arguments))}});a.clearProgress=function(e){if(!this.progressEnabled)return e&&process.nextTick(e);this.gauge.hide(e)};a.showProgress=function(e,t){if(!this.progressEnabled)return;var i={};if(e)i.section=e;var r=a.record[a.record.length-1];if(r){i.subsection=r.prefix;var n=a.disp[r.level]||r.level;var s=this._format(n,a.style[r.level]);if(r.prefix)s+=" "+this._format(r.prefix,this.prefixStyle);s+=" "+r.message.split(/\r?\n/)[0];i.logline=s}i.completed=t||this.tracker.completed();this.gauge.show(i)}.bind(a);a.pause=function(){this._paused=true;if(this.progressEnabled)this.gauge.disable()};a.resume=function(){if(!this._paused)return;this._paused=false;var e=this._buffer;this._buffer=[];e.forEach(function(e){this.emitLog(e)},this);if(this.progressEnabled)this.gauge.enable()};a._buffer=[];var v=0;a.record=[];a.maxRecordSize=1e4;a.log=function(e,t,i){var r=this.levels[e];if(r===undefined){return this.emit("error",new Error(o.format("Undefined log level: %j",e)))}var n=new Array(arguments.length-2);var s=null;for(var a=2;a<arguments.length;a++){var u=n[a-2]=arguments[a];if(typeof u==="object"&&u&&u instanceof Error&&u.stack){Object.defineProperty(u,"stack",{value:s=u.stack+"",enumerable:true,writable:true})}}if(s)n.unshift(s+"\n");i=o.format.apply(o,n);var c={id:v++,level:e,prefix:String(t||""),message:i,messageRaw:n};this.emit("log",c);this.emit("log."+e,c);if(c.prefix)this.emit(c.prefix,c);this.record.push(c);var l=this.maxRecordSize;var f=this.record.length-l;if(f>l/10){var h=Math.floor(l*.9);this.record=this.record.slice(-1*h)}this.emitLog(c)}.bind(a);a.emitLog=function(e){if(this._paused){this._buffer.push(e);return}if(this.progressEnabled)this.gauge.pulse(e.prefix);var t=this.levels[e.level];if(t===undefined)return;if(t<this.levels[this.level])return;if(t>0&&!isFinite(t))return;var i=a.disp[e.level]!=null?a.disp[e.level]:e.level;this.clearProgress();e.message.split(/\r?\n/).forEach(function(t){if(this.heading){this.write(this.heading,this.headingStyle);this.write(" ")}this.write(i,a.style[e.level]);var r=e.prefix||"";if(r)this.write(" ");this.write(r,this.prefixStyle);this.write(" "+t+"\n")},this);this.showProgress()};a._format=function(e,t){if(!l)return;var i="";if(this.useColor()){t=t||{};var r=[];if(t.fg)r.push(t.fg);if(t.bg)r.push("bg"+t.bg[0].toUpperCase()+t.bg.slice(1));if(t.bold)r.push("bold");if(t.underline)r.push("underline");if(t.inverse)r.push("inverse");if(r.length)i+=c.color(r);if(t.beep)i+=c.beep()}i+=e;if(this.useColor()){i+=c.color("reset")}return i};a.write=function(e,t){if(!l)return;l.write(this._format(e,t))};a.addLevel=function(e,t,i,r){if(r==null)r=e;this.levels[e]=t;this.style[e]=i;if(!this[e]){this[e]=function(){var t=new Array(arguments.length+1);t[0]=e;for(var i=0;i<arguments.length;i++){t[i+1]=arguments[i]}return this.log.apply(this,t)}.bind(this)}this.disp[e]=r};a.prefixStyle={fg:"magenta"};a.headingStyle={fg:"white",bg:"black"};a.style={};a.levels={};a.disp={};a.addLevel("silly",-Infinity,{inverse:true},"sill");a.addLevel("verbose",1e3,{fg:"blue",bg:"black"},"verb");a.addLevel("info",2e3,{fg:"green"});a.addLevel("timing",2500,{fg:"green",bg:"black"});a.addLevel("http",3e3,{fg:"green",bg:"black"});a.addLevel("notice",3500,{fg:"blue",bg:"black"});a.addLevel("warn",4e3,{fg:"black",bg:"yellow"},"WARN");a.addLevel("error",5e3,{fg:"red",bg:"black"},"ERR!");a.addLevel("silent",Infinity);a.on("error",function(){})},8753:e=>{"use strict";e.exports=Number.isNaN||function(e){return e!==e}},1800:e=>{"use strict";var t=Object.getOwnPropertySymbols;var i=Object.prototype.hasOwnProperty;var r=Object.prototype.propertyIsEnumerable;function toObject(e){if(e===null||e===undefined){throw new TypeError("Object.assign cannot be called with null or undefined")}return Object(e)}function shouldUseNative(){try{if(!Object.assign){return false}var e=new String("abc");e[5]="de";if(Object.getOwnPropertyNames(e)[0]==="5"){return false}var t={};for(var i=0;i<10;i++){t["_"+String.fromCharCode(i)]=i}var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if(r.join("")!=="0123456789"){return false}var n={};"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e});if(Object.keys(Object.assign({},n)).join("")!=="abcdefghijklmnopqrst"){return false}return true}catch(e){return false}}e.exports=shouldUseNative()?Object.assign:function(e,n){var s;var a=toObject(e);var o;for(var u=1;u<arguments.length;u++){s=Object(arguments[u]);for(var c in s){if(i.call(s,c)){a[c]=s[c]}}if(t){o=t(s);for(var l=0;l<o.length;l++){if(r.call(s,o[l])){a[o[l]]=s[o[l]]}}}}return a}},7197:(e,t,i)=>{var r=i(4586);e.exports=r(once);e.exports.strict=r(onceStrict);once.proto=once(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})});function once(e){var t=function(){if(t.called)return t.value;t.called=true;return t.value=e.apply(this,arguments)};t.called=false;return t}function onceStrict(e){var t=function(){if(t.called)throw new Error(t.onceError);t.called=true;return t.value=e.apply(this,arguments)};var i=e.name||"Function wrapped with `once`";t.onceError=i+" shouldn't be called more than once";t.called=false;return t}},9235:(e,t,i)=>{"use strict";const r=i(7404);const n=e=>{if(!((Number.isInteger(e)||e===Infinity)&&e>0)){return Promise.reject(new TypeError("Expected `concurrency` to be a number from 1 and up"))}const t=[];let i=0;const n=()=>{i--;if(t.length>0){t.shift()()}};const s=(e,t,...s)=>{i++;const a=r(e,...s);t(a);a.then(n,n)};const a=(r,n,...a)=>{if(i<e){s(r,n,...a)}else{t.push(s.bind(null,r,n,...a))}};const o=(e,...t)=>new Promise(i=>a(e,i,...t));Object.defineProperties(o,{activeCount:{get:()=>i},pendingCount:{get:()=>t.length},clearQueue:{value:()=>{t.length=0}}});return o};e.exports=n;e.exports.default=n},5338:(e,t,i)=>{"use strict";const r=i(9235);class EndError extends Error{constructor(e){super();this.value=e}}const n=async(e,t)=>t(await e);const s=async e=>{const t=await Promise.all(e);if(t[1]===true){throw new EndError(t[0])}return false};const a=async(e,t,i)=>{i={concurrency:Infinity,preserveOrder:true,...i};const a=r(i.concurrency);const o=[...e].map(e=>[e,a(n,e,t)]);const u=r(i.preserveOrder?1:Infinity);try{await Promise.all(o.map(e=>u(s,e)))}catch(e){if(e instanceof EndError){return e.value}throw e}};e.exports=a;e.exports.default=a},7404:e=>{"use strict";const t=(e,...t)=>new Promise(i=>{i(e(...t))});e.exports=t;e.exports.default=t},1323:e=>{"use strict";function posix(e){return e.charAt(0)==="/"}function win32(e){var t=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;var i=t.exec(e);var r=i[1]||"";var n=Boolean(r&&r.charAt(1)!==":");return Boolean(i[2]||n)}e.exports=process.platform==="win32"?win32:posix;e.exports.posix=posix;e.exports.win32=win32},6671:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function lexer(e){var t=[];var i=0;while(i<e.length){var r=e[i];if(r==="*"||r==="+"||r==="?"){t.push({type:"MODIFIER",index:i,value:e[i++]});continue}if(r==="\\"){t.push({type:"ESCAPED_CHAR",index:i++,value:e[i++]});continue}if(r==="{"){t.push({type:"OPEN",index:i,value:e[i++]});continue}if(r==="}"){t.push({type:"CLOSE",index:i,value:e[i++]});continue}if(r===":"){var n="";var s=i+1;while(s<e.length){var a=e.charCodeAt(s);if(a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122||a===95){n+=e[s++];continue}break}if(!n)throw new TypeError("Missing parameter name at "+i);t.push({type:"NAME",index:i,value:n});i=s;continue}if(r==="("){var o=1;var u="";var s=i+1;if(e[s]==="?"){throw new TypeError('Pattern cannot start with "?" at '+s)}while(s<e.length){if(e[s]==="\\"){u+=e[s++]+e[s++];continue}if(e[s]===")"){o--;if(o===0){s++;break}}else if(e[s]==="("){o++;if(e[s+1]!=="?"){throw new TypeError("Capturing groups are not allowed at "+s)}}u+=e[s++]}if(o)throw new TypeError("Unbalanced pattern at "+i);if(!u)throw new TypeError("Missing pattern at "+i);t.push({type:"PATTERN",index:i,value:u});i=s;continue}t.push({type:"CHAR",index:i,value:e[i++]})}t.push({type:"END",index:i,value:""});return t}function parse(e,t){if(t===void 0){t={}}var i=lexer(e);var r=t.prefixes,n=r===void 0?"./":r;var s="[^"+escapeString(t.delimiter||"/#?")+"]+?";var a=[];var o=0;var u=0;var c="";var l=function(e){if(u<i.length&&i[u].type===e)return i[u++].value};var f=function(e){var t=l(e);if(t!==undefined)return t;var r=i[u],n=r.type,s=r.index;throw new TypeError("Unexpected "+n+" at "+s+", expected "+e)};var h=function(){var e="";var t;while(t=l("CHAR")||l("ESCAPED_CHAR")){e+=t}return e};while(u<i.length){var p=l("CHAR");var d=l("NAME");var v=l("PATTERN");if(d||v){var y=p||"";if(n.indexOf(y)===-1){c+=y;y=""}if(c){a.push(c);c=""}a.push({name:d||o++,prefix:y,suffix:"",pattern:v||s,modifier:l("MODIFIER")||""});continue}var g=p||l("ESCAPED_CHAR");if(g){c+=g;continue}if(c){a.push(c);c=""}var b=l("OPEN");if(b){var y=h();var m=l("NAME")||"";var _=l("PATTERN")||"";var w=h();f("CLOSE");a.push({name:m||(_?o++:""),pattern:m&&!_?s:_,prefix:y,suffix:w,modifier:l("MODIFIER")||""});continue}f("END")}return a}t.parse=parse;function compile(e,t){return tokensToFunction(parse(e,t),t)}t.compile=compile;function tokensToFunction(e,t){if(t===void 0){t={}}var i=flags(t);var r=t.encode,n=r===void 0?function(e){return e}:r,s=t.validate,a=s===void 0?true:s;var o=e.map(function(e){if(typeof e==="object"){return new RegExp("^(?:"+e.pattern+")$",i)}});return function(t){var i="";for(var r=0;r<e.length;r++){var s=e[r];if(typeof s==="string"){i+=s;continue}var u=t?t[s.name]:undefined;var c=s.modifier==="?"||s.modifier==="*";var l=s.modifier==="*"||s.modifier==="+";if(Array.isArray(u)){if(!l){throw new TypeError('Expected "'+s.name+'" to not repeat, but got an array')}if(u.length===0){if(c)continue;throw new TypeError('Expected "'+s.name+'" to not be empty')}for(var f=0;f<u.length;f++){var h=n(u[f],s);if(a&&!o[r].test(h)){throw new TypeError('Expected all "'+s.name+'" to match "'+s.pattern+'", but got "'+h+'"')}i+=s.prefix+h+s.suffix}continue}if(typeof u==="string"||typeof u==="number"){var h=n(String(u),s);if(a&&!o[r].test(h)){throw new TypeError('Expected "'+s.name+'" to match "'+s.pattern+'", but got "'+h+'"')}i+=s.prefix+h+s.suffix;continue}if(c)continue;var p=l?"an array":"a string";throw new TypeError('Expected "'+s.name+'" to be '+p)}return i}}t.tokensToFunction=tokensToFunction;function match(e,t){var i=[];var r=pathToRegexp(e,i,t);return regexpToFunction(r,i,t)}t.match=match;function regexpToFunction(e,t,i){if(i===void 0){i={}}var r=i.decode,n=r===void 0?function(e){return e}:r;return function(i){var r=e.exec(i);if(!r)return false;var s=r[0],a=r.index;var o=Object.create(null);var u=function(e){if(r[e]===undefined)return"continue";var i=t[e-1];if(i.modifier==="*"||i.modifier==="+"){o[i.name]=r[e].split(i.prefix+i.suffix).map(function(e){return n(e,i)})}else{o[i.name]=n(r[e],i)}};for(var c=1;c<r.length;c++){u(c)}return{path:s,index:a,params:o}}}t.regexpToFunction=regexpToFunction;function escapeString(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function flags(e){return e&&e.sensitive?"":"i"}function regexpToRegexp(e,t){if(!t)return e;var i=e.source.match(/\((?!\?)/g);if(i){for(var r=0;r<i.length;r++){t.push({name:r,prefix:"",suffix:"",modifier:"",pattern:""})}}return e}function arrayToRegexp(e,t,i){var r=e.map(function(e){return pathToRegexp(e,t,i).source});return new RegExp("(?:"+r.join("|")+")",flags(i))}function stringToRegexp(e,t,i){return tokensToRegexp(parse(e,i),t,i)}function tokensToRegexp(e,t,i){if(i===void 0){i={}}var r=i.strict,n=r===void 0?false:r,s=i.start,a=s===void 0?true:s,o=i.end,u=o===void 0?true:o,c=i.encode,l=c===void 0?function(e){return e}:c;var f="["+escapeString(i.endsWith||"")+"]|$";var h="["+escapeString(i.delimiter||"/#?")+"]";var p=a?"^":"";for(var d=0,v=e;d<v.length;d++){var y=v[d];if(typeof y==="string"){p+=escapeString(l(y))}else{var g=escapeString(l(y.prefix));var b=escapeString(l(y.suffix));if(y.pattern){if(t)t.push(y);if(g||b){if(y.modifier==="+"||y.modifier==="*"){var m=y.modifier==="*"?"?":"";p+="(?:"+g+"((?:"+y.pattern+")(?:"+b+g+"(?:"+y.pattern+"))*)"+b+")"+m}else{p+="(?:"+g+"("+y.pattern+")"+b+")"+y.modifier}}else{p+="("+y.pattern+")"+y.modifier}}else{p+="(?:"+g+b+")"+y.modifier}}}if(u){if(!n)p+=h+"?";p+=!i.endsWith?"$":"(?="+f+")"}else{var _=e[e.length-1];var w=typeof _==="string"?h.indexOf(_[_.length-1])>-1:_===undefined;if(!n){p+="(?:"+h+"(?="+f+"))?"}if(!w){p+="(?="+h+"|"+f+")"}}return new RegExp(p,flags(i))}t.tokensToRegexp=tokensToRegexp;function pathToRegexp(e,t,i){if(e instanceof RegExp)return regexpToRegexp(e,t);if(Array.isArray(e))return arrayToRegexp(e,t,i);return stringToRegexp(e,t,i)}t.pathToRegexp=pathToRegexp},9138:(e,t,i)=>{"use strict";e.exports=i(4755)},8223:(e,t,i)=>{"use strict";const r=i(5622);const n="\\\\/";const s=`[^${n}]`;const a="\\.";const o="\\+";const u="\\?";const c="\\/";const l="(?=.)";const f="[^/]";const h=`(?:${c}|$)`;const p=`(?:^|${c})`;const d=`${a}{1,2}${h}`;const v=`(?!${a})`;const y=`(?!${p}${d})`;const g=`(?!${a}{0,1}${h})`;const b=`(?!${d})`;const m=`[^.${c}]`;const _=`${f}*?`;const w={DOT_LITERAL:a,PLUS_LITERAL:o,QMARK_LITERAL:u,SLASH_LITERAL:c,ONE_CHAR:l,QMARK:f,END_ANCHOR:h,DOTS_SLASH:d,NO_DOT:v,NO_DOTS:y,NO_DOT_SLASH:g,NO_DOTS_SLASH:b,QMARK_NO_DOT:m,STAR:_,START_ANCHOR:p};const E={...w,SLASH_LITERAL:`[${n}]`,QMARK:s,STAR:`${s}*?`,DOTS_SLASH:`${a}{1,2}(?:[${n}]|$)`,NO_DOT:`(?!${a})`,NO_DOTS:`(?!(?:^|[${n}])${a}{1,2}(?:[${n}]|$))`,NO_DOT_SLASH:`(?!${a}{0,1}(?:[${n}]|$))`,NO_DOTS_SLASH:`(?!${a}{1,2}(?:[${n}]|$))`,QMARK_NO_DOT:`[^.${n}]`,START_ANCHOR:`(?:^|[${n}])`,END_ANCHOR:`(?:[${n}]|$)`};const S={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};e.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:S,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:r.sep,extglobChars(e){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(e){return e===true?E:w}}},8573:(e,t,i)=>{"use strict";const r=i(8223);const n=i(2924);const{MAX_LENGTH:s,POSIX_REGEX_SOURCE:a,REGEX_NON_SPECIAL_CHARS:o,REGEX_SPECIAL_CHARS_BACKREF:u,REPLACEMENTS:c}=r;const l=(e,t)=>{if(typeof t.expandRange==="function"){return t.expandRange(...e,t)}e.sort();const i=`[${e.join("-")}]`;try{new RegExp(i)}catch(t){return e.map(e=>n.escapeRegex(e)).join("..")}return i};const f=(e,t)=>{return`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`};const h=(e,t)=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}e=c[e]||e;const i={...t};const h=typeof i.maxLength==="number"?Math.min(s,i.maxLength):s;let p=e.length;if(p>h){throw new SyntaxError(`Input length: ${p}, exceeds maximum allowed length: ${h}`)}const d={type:"bos",value:"",output:i.prepend||""};const v=[d];const y=i.capture?"":"?:";const g=n.isWindows(t);const b=r.globChars(g);const m=r.extglobChars(b);const{DOT_LITERAL:_,PLUS_LITERAL:w,SLASH_LITERAL:E,ONE_CHAR:S,DOTS_SLASH:x,NO_DOT:R,NO_DOT_SLASH:A,NO_DOTS_SLASH:k,QMARK:T,QMARK_NO_DOT:C,STAR:O,START_ANCHOR:N}=b;const j=e=>{return`(${y}(?:(?!${N}${e.dot?x:_}).)*?)`};const I=i.dot?"":R;const $=i.dot?T:C;let P=i.bash===true?j(i):O;if(i.capture){P=`(${P})`}if(typeof i.noext==="boolean"){i.noextglob=i.noext}const F={input:e,index:-1,start:0,dot:i.dot===true,consumed:"",output:"",prefix:"",backtrack:false,negated:false,brackets:0,braces:0,parens:0,quotes:0,globstar:false,tokens:v};e=n.removePrefix(e,F);p=e.length;const L=[];const B=[];const D=[];let H=d;let U;const W=()=>F.index===p-1;const q=F.peek=((t=1)=>e[F.index+t]);const G=F.advance=(()=>e[++F.index]);const V=()=>e.slice(F.index+1);const z=(e="",t=0)=>{F.consumed+=e;F.index+=t};const M=e=>{F.output+=e.output!=null?e.output:e.value;z(e.value)};const X=()=>{let e=1;while(q()==="!"&&(q(2)!=="("||q(3)==="?")){G();F.start++;e++}if(e%2===0){return false}F.negated=true;F.start++;return true};const K=e=>{F[e]++;D.push(e)};const Y=e=>{F[e]--;D.pop()};const Q=e=>{if(H.type==="globstar"){const t=F.braces>0&&(e.type==="comma"||e.type==="brace");const i=e.extglob===true||L.length&&(e.type==="pipe"||e.type==="paren");if(e.type!=="slash"&&e.type!=="paren"&&!t&&!i){F.output=F.output.slice(0,-H.output.length);H.type="star";H.value="*";H.output=P;F.output+=H.output}}if(L.length&&e.type!=="paren"&&!m[e.value]){L[L.length-1].inner+=e.value}if(e.value||e.output)M(e);if(H&&H.type==="text"&&e.type==="text"){H.value+=e.value;H.output=(H.output||"")+e.value;return}e.prev=H;v.push(e);H=e};const J=(e,t)=>{const r={...m[t],conditions:1,inner:""};r.prev=H;r.parens=F.parens;r.output=F.output;const n=(i.capture?"(":"")+r.open;K("parens");Q({type:e,value:t,output:F.output?"":S});Q({type:"paren",extglob:true,value:G(),output:n});L.push(r)};const Z=e=>{let t=e.close+(i.capture?")":"");if(e.type==="negate"){let r=P;if(e.inner&&e.inner.length>1&&e.inner.includes("/")){r=j(i)}if(r!==P||W()||/^\)+$/.test(V())){t=e.close=`)$))${r}`}if(e.prev.type==="bos"&&W()){F.negatedExtglob=true}}Q({type:"paren",extglob:true,value:U,output:t});Y("parens")};if(i.fastpaths!==false&&!/(^[*!]|[/()[\]{}"])/.test(e)){let r=false;let s=e.replace(u,(e,t,i,n,s,a)=>{if(n==="\\"){r=true;return e}if(n==="?"){if(t){return t+n+(s?T.repeat(s.length):"")}if(a===0){return $+(s?T.repeat(s.length):"")}return T.repeat(i.length)}if(n==="."){return _.repeat(i.length)}if(n==="*"){if(t){return t+n+(s?P:"")}return P}return t?e:`\\${e}`});if(r===true){if(i.unescape===true){s=s.replace(/\\/g,"")}else{s=s.replace(/\\+/g,e=>{return e.length%2===0?"\\\\":e?"\\":""})}}if(s===e&&i.contains===true){F.output=e;return F}F.output=n.wrapOutput(s,F,t);return F}while(!W()){U=G();if(U==="\0"){continue}if(U==="\\"){const e=q();if(e==="/"&&i.bash!==true){continue}if(e==="."||e===";"){continue}if(!e){U+="\\";Q({type:"text",value:U});continue}const t=/^\\+/.exec(V());let r=0;if(t&&t[0].length>2){r=t[0].length;F.index+=r;if(r%2!==0){U+="\\"}}if(i.unescape===true){U=G()||""}else{U+=G()||""}if(F.brackets===0){Q({type:"text",value:U});continue}}if(F.brackets>0&&(U!=="]"||H.value==="["||H.value==="[^")){if(i.posix!==false&&U===":"){const e=H.value.slice(1);if(e.includes("[")){H.posix=true;if(e.includes(":")){const e=H.value.lastIndexOf("[");const t=H.value.slice(0,e);const i=H.value.slice(e+2);const r=a[i];if(r){H.value=t+r;F.backtrack=true;G();if(!d.output&&v.indexOf(H)===1){d.output=S}continue}}}}if(U==="["&&q()!==":"||U==="-"&&q()==="]"){U=`\\${U}`}if(U==="]"&&(H.value==="["||H.value==="[^")){U=`\\${U}`}if(i.posix===true&&U==="!"&&H.value==="["){U="^"}H.value+=U;M({value:U});continue}if(F.quotes===1&&U!=='"'){U=n.escapeRegex(U);H.value+=U;M({value:U});continue}if(U==='"'){F.quotes=F.quotes===1?0:1;if(i.keepQuotes===true){Q({type:"text",value:U})}continue}if(U==="("){K("parens");Q({type:"paren",value:U});continue}if(U===")"){if(F.parens===0&&i.strictBrackets===true){throw new SyntaxError(f("opening","("))}const e=L[L.length-1];if(e&&F.parens===e.parens+1){Z(L.pop());continue}Q({type:"paren",value:U,output:F.parens?")":"\\)"});Y("parens");continue}if(U==="["){if(i.nobracket===true||!V().includes("]")){if(i.nobracket!==true&&i.strictBrackets===true){throw new SyntaxError(f("closing","]"))}U=`\\${U}`}else{K("brackets")}Q({type:"bracket",value:U});continue}if(U==="]"){if(i.nobracket===true||H&&H.type==="bracket"&&H.value.length===1){Q({type:"text",value:U,output:`\\${U}`});continue}if(F.brackets===0){if(i.strictBrackets===true){throw new SyntaxError(f("opening","["))}Q({type:"text",value:U,output:`\\${U}`});continue}Y("brackets");const e=H.value.slice(1);if(H.posix!==true&&e[0]==="^"&&!e.includes("/")){U=`/${U}`}H.value+=U;M({value:U});if(i.literalBrackets===false||n.hasRegexChars(e)){continue}const t=n.escapeRegex(H.value);F.output=F.output.slice(0,-H.value.length);if(i.literalBrackets===true){F.output+=t;H.value=t;continue}H.value=`(${y}${t}|${H.value})`;F.output+=H.value;continue}if(U==="{"&&i.nobrace!==true){K("braces");const e={type:"brace",value:U,output:"(",outputIndex:F.output.length,tokensIndex:F.tokens.length};B.push(e);Q(e);continue}if(U==="}"){const e=B[B.length-1];if(i.nobrace===true||!e){Q({type:"text",value:U,output:U});continue}let t=")";if(e.dots===true){const e=v.slice();const r=[];for(let t=e.length-1;t>=0;t--){v.pop();if(e[t].type==="brace"){break}if(e[t].type!=="dots"){r.unshift(e[t].value)}}t=l(r,i);F.backtrack=true}if(e.comma!==true&&e.dots!==true){const i=F.output.slice(0,e.outputIndex);const r=F.tokens.slice(e.tokensIndex);e.value=e.output="\\{";U=t="\\}";F.output=i;for(const e of r){F.output+=e.output||e.value}}Q({type:"brace",value:U,output:t});Y("braces");B.pop();continue}if(U==="|"){if(L.length>0){L[L.length-1].conditions++}Q({type:"text",value:U});continue}if(U===","){let e=U;const t=B[B.length-1];if(t&&D[D.length-1]==="braces"){t.comma=true;e="|"}Q({type:"comma",value:U,output:e});continue}if(U==="/"){if(H.type==="dot"&&F.index===F.start+1){F.start=F.index+1;F.consumed="";F.output="";v.pop();H=d;continue}Q({type:"slash",value:U,output:E});continue}if(U==="."){if(F.braces>0&&H.type==="dot"){if(H.value===".")H.output=_;const e=B[B.length-1];H.type="dots";H.output+=U;H.value+=U;e.dots=true;continue}if(F.braces+F.parens===0&&H.type!=="bos"&&H.type!=="slash"){Q({type:"text",value:U,output:_});continue}Q({type:"dot",value:U,output:_});continue}if(U==="?"){const e=H&&H.value==="(";if(!e&&i.noextglob!==true&&q()==="("&&q(2)!=="?"){J("qmark",U);continue}if(H&&H.type==="paren"){const e=q();let t=U;if(e==="<"&&!n.supportsLookbehinds()){throw new Error("Node.js v10 or higher is required for regex lookbehinds")}if(H.value==="("&&!/[!=<:]/.test(e)||e==="<"&&!/<([!=]|\w+>)/.test(V())){t=`\\${U}`}Q({type:"text",value:U,output:t});continue}if(i.dot!==true&&(H.type==="slash"||H.type==="bos")){Q({type:"qmark",value:U,output:C});continue}Q({type:"qmark",value:U,output:T});continue}if(U==="!"){if(i.noextglob!==true&&q()==="("){if(q(2)!=="?"||!/[!=<:]/.test(q(3))){J("negate",U);continue}}if(i.nonegate!==true&&F.index===0){X();continue}}if(U==="+"){if(i.noextglob!==true&&q()==="("&&q(2)!=="?"){J("plus",U);continue}if(H&&H.value==="("||i.regex===false){Q({type:"plus",value:U,output:w});continue}if(H&&(H.type==="bracket"||H.type==="paren"||H.type==="brace")||F.parens>0){Q({type:"plus",value:U});continue}Q({type:"plus",value:w});continue}if(U==="@"){if(i.noextglob!==true&&q()==="("&&q(2)!=="?"){Q({type:"at",extglob:true,value:U,output:""});continue}Q({type:"text",value:U});continue}if(U!=="*"){if(U==="$"||U==="^"){U=`\\${U}`}const e=o.exec(V());if(e){U+=e[0];F.index+=e[0].length}Q({type:"text",value:U});continue}if(H&&(H.type==="globstar"||H.star===true)){H.type="star";H.star=true;H.value+=U;H.output=P;F.backtrack=true;F.globstar=true;z(U);continue}let t=V();if(i.noextglob!==true&&/^\([^?]/.test(t)){J("star",U);continue}if(H.type==="star"){if(i.noglobstar===true){z(U);continue}const r=H.prev;const n=r.prev;const s=r.type==="slash"||r.type==="bos";const a=n&&(n.type==="star"||n.type==="globstar");if(i.bash===true&&(!s||t[0]&&t[0]!=="/")){Q({type:"star",value:U,output:""});continue}const o=F.braces>0&&(r.type==="comma"||r.type==="brace");const u=L.length&&(r.type==="pipe"||r.type==="paren");if(!s&&r.type!=="paren"&&!o&&!u){Q({type:"star",value:U,output:""});continue}while(t.slice(0,3)==="/**"){const i=e[F.index+4];if(i&&i!=="/"){break}t=t.slice(3);z("/**",3)}if(r.type==="bos"&&W()){H.type="globstar";H.value+=U;H.output=j(i);F.output=H.output;F.globstar=true;z(U);continue}if(r.type==="slash"&&r.prev.type!=="bos"&&!a&&W()){F.output=F.output.slice(0,-(r.output+H.output).length);r.output=`(?:${r.output}`;H.type="globstar";H.output=j(i)+(i.strictSlashes?")":"|$)");H.value+=U;F.globstar=true;F.output+=r.output+H.output;z(U);continue}if(r.type==="slash"&&r.prev.type!=="bos"&&t[0]==="/"){const e=t[1]!==void 0?"|$":"";F.output=F.output.slice(0,-(r.output+H.output).length);r.output=`(?:${r.output}`;H.type="globstar";H.output=`${j(i)}${E}|${E}${e})`;H.value+=U;F.output+=r.output+H.output;F.globstar=true;z(U+G());Q({type:"slash",value:"/",output:""});continue}if(r.type==="bos"&&t[0]==="/"){H.type="globstar";H.value+=U;H.output=`(?:^|${E}|${j(i)}${E})`;F.output=H.output;F.globstar=true;z(U+G());Q({type:"slash",value:"/",output:""});continue}F.output=F.output.slice(0,-H.output.length);H.type="globstar";H.output=j(i);H.value+=U;F.output+=H.output;F.globstar=true;z(U);continue}const r={type:"star",value:U,output:P};if(i.bash===true){r.output=".*?";if(H.type==="bos"||H.type==="slash"){r.output=I+r.output}Q(r);continue}if(H&&(H.type==="bracket"||H.type==="paren")&&i.regex===true){r.output=U;Q(r);continue}if(F.index===F.start||H.type==="slash"||H.type==="dot"){if(H.type==="dot"){F.output+=A;H.output+=A}else if(i.dot===true){F.output+=k;H.output+=k}else{F.output+=I;H.output+=I}if(q()!=="*"){F.output+=S;H.output+=S}}Q(r)}while(F.brackets>0){if(i.strictBrackets===true)throw new SyntaxError(f("closing","]"));F.output=n.escapeLast(F.output,"[");Y("brackets")}while(F.parens>0){if(i.strictBrackets===true)throw new SyntaxError(f("closing",")"));F.output=n.escapeLast(F.output,"(");Y("parens")}while(F.braces>0){if(i.strictBrackets===true)throw new SyntaxError(f("closing","}"));F.output=n.escapeLast(F.output,"{");Y("braces")}if(i.strictSlashes!==true&&(H.type==="star"||H.type==="bracket")){Q({type:"maybe_slash",value:"",output:`${E}?`})}if(F.backtrack===true){F.output="";for(const e of F.tokens){F.output+=e.output!=null?e.output:e.value;if(e.suffix){F.output+=e.suffix}}}return F};h.fastpaths=((e,t)=>{const i={...t};const a=typeof i.maxLength==="number"?Math.min(s,i.maxLength):s;const o=e.length;if(o>a){throw new SyntaxError(`Input length: ${o}, exceeds maximum allowed length: ${a}`)}e=c[e]||e;const u=n.isWindows(t);const{DOT_LITERAL:l,SLASH_LITERAL:f,ONE_CHAR:h,DOTS_SLASH:p,NO_DOT:d,NO_DOTS:v,NO_DOTS_SLASH:y,STAR:g,START_ANCHOR:b}=r.globChars(u);const m=i.dot?v:d;const _=i.dot?y:d;const w=i.capture?"":"?:";const E={negated:false,prefix:""};let S=i.bash===true?".*?":g;if(i.capture){S=`(${S})`}const x=e=>{if(e.noglobstar===true)return S;return`(${w}(?:(?!${b}${e.dot?p:l}).)*?)`};const R=e=>{switch(e){case"*":return`${m}${h}${S}`;case".*":return`${l}${h}${S}`;case"*.*":return`${m}${S}${l}${h}${S}`;case"*/*":return`${m}${S}${f}${h}${_}${S}`;case"**":return m+x(i);case"**/*":return`(?:${m}${x(i)}${f})?${_}${h}${S}`;case"**/*.*":return`(?:${m}${x(i)}${f})?${_}${S}${l}${h}${S}`;case"**/.*":return`(?:${m}${x(i)}${f})?${l}${h}${S}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const i=R(t[1]);if(!i)return;return i+l+t[2]}}};const A=n.removePrefix(e,E);let k=R(A);if(k&&i.strictSlashes!==true){k+=`${f}?`}return k});e.exports=h},4755:(e,t,i)=>{"use strict";const r=i(5622);const n=i(2017);const s=i(8573);const a=i(2924);const o=i(8223);const u=e=>e&&typeof e==="object"&&!Array.isArray(e);const c=(e,t,i=false)=>{if(Array.isArray(e)){const r=e.map(e=>c(e,t,i));const n=e=>{for(const t of r){const i=t(e);if(i)return i}return false};return n}const r=u(e)&&e.tokens&&e.input;if(e===""||typeof e!=="string"&&!r){throw new TypeError("Expected pattern to be a non-empty string")}const n=t||{};const s=a.isWindows(t);const o=r?c.compileRe(e,t):c.makeRe(e,t,false,true);const l=o.state;delete o.state;let f=()=>false;if(n.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};f=c(n.ignore,e,i)}const h=(i,r=false)=>{const{isMatch:a,match:u,output:h}=c.test(i,o,t,{glob:e,posix:s});const p={glob:e,state:l,regex:o,posix:s,input:i,output:h,match:u,isMatch:a};if(typeof n.onResult==="function"){n.onResult(p)}if(a===false){p.isMatch=false;return r?p:false}if(f(i)){if(typeof n.onIgnore==="function"){n.onIgnore(p)}p.isMatch=false;return r?p:false}if(typeof n.onMatch==="function"){n.onMatch(p)}return r?p:true};if(i){h.state=l}return h};c.test=((e,t,i,{glob:r,posix:n}={})=>{if(typeof e!=="string"){throw new TypeError("Expected input to be a string")}if(e===""){return{isMatch:false,output:""}}const s=i||{};const o=s.format||(n?a.toPosixSlashes:null);let u=e===r;let l=u&&o?o(e):e;if(u===false){l=o?o(e):e;u=l===r}if(u===false||s.capture===true){if(s.matchBase===true||s.basename===true){u=c.matchBase(e,t,i,n)}else{u=t.exec(l)}}return{isMatch:Boolean(u),match:u,output:l}});c.matchBase=((e,t,i,n=a.isWindows(i))=>{const s=t instanceof RegExp?t:c.makeRe(t,i);return s.test(r.basename(e))});c.isMatch=((e,t,i)=>c(t,i)(e));c.parse=((e,t)=>{if(Array.isArray(e))return e.map(e=>c.parse(e,t));return s(e,{...t,fastpaths:false})});c.scan=((e,t)=>n(e,t));c.compileRe=((e,t,i=false,r=false)=>{if(i===true){return e.output}const n=t||{};const s=n.contains?"":"^";const a=n.contains?"":"$";let o=`${s}(?:${e.output})${a}`;if(e&&e.negated===true){o=`^(?!${o}).*$`}const u=c.toRegex(o,t);if(r===true){u.state=e}return u});c.makeRe=((e,t,i=false,r=false)=>{if(!e||typeof e!=="string"){throw new TypeError("Expected a non-empty string")}const n=t||{};let a={negated:false,fastpaths:true};let o="";let u;if(e.startsWith("./")){e=e.slice(2);o=a.prefix="./"}if(n.fastpaths!==false&&(e[0]==="."||e[0]==="*")){u=s.fastpaths(e,t)}if(u===undefined){a=s(e,t);a.prefix=o+(a.prefix||"")}else{a.output=u}return c.compileRe(a,t,i,r)});c.toRegex=((e,t)=>{try{const i=t||{};return new RegExp(e,i.flags||(i.nocase?"i":""))}catch(e){if(t&&t.debug===true)throw e;return/$^/}});c.constants=o;e.exports=c},2017:(e,t,i)=>{"use strict";const r=i(2924);const{CHAR_ASTERISK:n,CHAR_AT:s,CHAR_BACKWARD_SLASH:a,CHAR_COMMA:o,CHAR_DOT:u,CHAR_EXCLAMATION_MARK:c,CHAR_FORWARD_SLASH:l,CHAR_LEFT_CURLY_BRACE:f,CHAR_LEFT_PARENTHESES:h,CHAR_LEFT_SQUARE_BRACKET:p,CHAR_PLUS:d,CHAR_QUESTION_MARK:v,CHAR_RIGHT_CURLY_BRACE:y,CHAR_RIGHT_PARENTHESES:g,CHAR_RIGHT_SQUARE_BRACKET:b}=i(8223);const m=e=>{return e===l||e===a};const _=e=>{if(e.isPrefix!==true){e.depth=e.isGlobstar?Infinity:1}};const w=(e,t)=>{const i=t||{};const w=e.length-1;const E=i.parts===true||i.scanToEnd===true;const S=[];const x=[];const R=[];let A=e;let k=-1;let T=0;let C=0;let O=false;let N=false;let j=false;let I=false;let $=false;let P=false;let F=false;let L=false;let B=false;let D=0;let H;let U;let W={value:"",depth:0,isGlob:false};const q=()=>k>=w;const G=()=>A.charCodeAt(k+1);const V=()=>{H=U;return A.charCodeAt(++k)};while(k<w){U=V();let e;if(U===a){F=W.backslashes=true;U=V();if(U===f){P=true}continue}if(P===true||U===f){D++;while(q()!==true&&(U=V())){if(U===a){F=W.backslashes=true;V();continue}if(U===f){D++;continue}if(P!==true&&U===u&&(U=V())===u){O=W.isBrace=true;j=W.isGlob=true;B=true;if(E===true){continue}break}if(P!==true&&U===o){O=W.isBrace=true;j=W.isGlob=true;B=true;if(E===true){continue}break}if(U===y){D--;if(D===0){P=false;O=W.isBrace=true;B=true;break}}}if(E===true){continue}break}if(U===l){S.push(k);x.push(W);W={value:"",depth:0,isGlob:false};if(B===true)continue;if(H===u&&k===T+1){T+=2;continue}C=k+1;continue}if(i.noext!==true){const e=U===d||U===s||U===n||U===v||U===c;if(e===true&&G()===h){j=W.isGlob=true;I=W.isExtglob=true;B=true;if(E===true){while(q()!==true&&(U=V())){if(U===a){F=W.backslashes=true;U=V();continue}if(U===g){j=W.isGlob=true;B=true;break}}continue}break}}if(U===n){if(H===n)$=W.isGlobstar=true;j=W.isGlob=true;B=true;if(E===true){continue}break}if(U===v){j=W.isGlob=true;B=true;if(E===true){continue}break}if(U===p){while(q()!==true&&(e=V())){if(e===a){F=W.backslashes=true;V();continue}if(e===b){N=W.isBracket=true;j=W.isGlob=true;B=true;if(E===true){continue}break}}}if(i.nonegate!==true&&U===c&&k===T){L=W.negated=true;T++;continue}if(i.noparen!==true&&U===h){j=W.isGlob=true;if(E===true){while(q()!==true&&(U=V())){if(U===h){F=W.backslashes=true;U=V();continue}if(U===g){B=true;break}}continue}break}if(j===true){B=true;if(E===true){continue}break}}if(i.noext===true){I=false;j=false}let z=A;let M="";let X="";if(T>0){M=A.slice(0,T);A=A.slice(T);C-=T}if(z&&j===true&&C>0){z=A.slice(0,C);X=A.slice(C)}else if(j===true){z="";X=A}else{z=A}if(z&&z!==""&&z!=="/"&&z!==A){if(m(z.charCodeAt(z.length-1))){z=z.slice(0,-1)}}if(i.unescape===true){if(X)X=r.removeBackslashes(X);if(z&&F===true){z=r.removeBackslashes(z)}}const K={prefix:M,input:e,start:T,base:z,glob:X,isBrace:O,isBracket:N,isGlob:j,isExtglob:I,isGlobstar:$,negated:L};if(i.tokens===true){K.maxDepth=0;if(!m(U)){x.push(W)}K.tokens=x}if(i.parts===true||i.tokens===true){let t;for(let r=0;r<S.length;r++){const n=t?t+1:T;const s=S[r];const a=e.slice(n,s);if(i.tokens){if(r===0&&T!==0){x[r].isPrefix=true;x[r].value=M}else{x[r].value=a}_(x[r]);K.maxDepth+=x[r].depth}if(r!==0||a!==""){R.push(a)}t=s}if(t&&t+1<e.length){const r=e.slice(t+1);R.push(r);if(i.tokens){x[x.length-1].value=r;_(x[x.length-1]);K.maxDepth+=x[x.length-1].depth}}K.slashes=S;K.parts=R}return K};e.exports=w},2924:(e,t,i)=>{"use strict";const r=i(5622);const n=process.platform==="win32";const{REGEX_BACKSLASH:s,REGEX_REMOVE_BACKSLASH:a,REGEX_SPECIAL_CHARS:o,REGEX_SPECIAL_CHARS_GLOBAL:u}=i(8223);t.isObject=(e=>e!==null&&typeof e==="object"&&!Array.isArray(e));t.hasRegexChars=(e=>o.test(e));t.isRegexChar=(e=>e.length===1&&t.hasRegexChars(e));t.escapeRegex=(e=>e.replace(u,"\\$1"));t.toPosixSlashes=(e=>e.replace(s,"/"));t.removeBackslashes=(e=>{return e.replace(a,e=>{return e==="\\"?"":e})});t.supportsLookbehinds=(()=>{const e=process.version.slice(1).split(".").map(Number);if(e.length===3&&e[0]>=9||e[0]===8&&e[1]>=10){return true}return false});t.isWindows=(e=>{if(e&&typeof e.windows==="boolean"){return e.windows}return n===true||r.sep==="\\"});t.escapeLast=((e,i,r)=>{const n=e.lastIndexOf(i,r);if(n===-1)return e;if(e[n-1]==="\\")return t.escapeLast(e,i,n-1);return`${e.slice(0,n)}\\${e.slice(n)}`});t.removePrefix=((e,t={})=>{let i=e;if(i.startsWith("./")){i=i.slice(2);t.prefix="./"}return i});t.wrapOutput=((e,t={},i={})=>{const r=i.contains?"":"^";const n=i.contains?"":"$";let s=`${r}(?:${e})${n}`;if(t.negated===true){s=`(?:^(?!${s}).*$)`}return s})},539:e=>{"use strict";const t=["B","kB","MB","GB","TB","PB","EB","ZB","YB"];const i=["B","kiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"];const r=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"];const n=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"];const s=(e,t,i)=>{let r=e;if(typeof t==="string"||Array.isArray(t)){r=e.toLocaleString(t,i)}else if(t===true||i!==undefined){r=e.toLocaleString(undefined,i)}return r};e.exports=((e,a)=>{if(!Number.isFinite(e)){throw new TypeError(`Expected a finite number, got ${typeof e}: ${e}`)}a=Object.assign({bits:false,binary:false},a);const o=a.bits?a.binary?n:r:a.binary?i:t;if(a.signed&&e===0){return` 0 ${o[0]}`}const u=e<0;const c=u?"-":a.signed?"+":"";if(u){e=-e}let l;if(a.minimumFractionDigits!==undefined){l={minimumFractionDigits:a.minimumFractionDigits}}if(a.maximumFractionDigits!==undefined){l=Object.assign({maximumFractionDigits:a.maximumFractionDigits},l)}if(e<1){const t=s(e,a.locale,l);return c+t+" "+o[0]}const f=Math.min(Math.floor(a.binary?Math.log(e)/Math.log(1024):Math.log10(e)/3),o.length-1);e/=Math.pow(a.binary?1024:1e3,f);if(!l){e=e.toPrecision(3)}const h=s(Number(e),a.locale,l);const p=o[f];return c+h+" "+p})},7843:e=>{"use strict";if(typeof process==="undefined"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0){e.exports={nextTick:nextTick}}else{e.exports=process}function nextTick(e,t,i,r){if(typeof e!=="function"){throw new TypeError('"callback" argument must be a function')}var n=arguments.length;var s,a;switch(n){case 0:case 1:return process.nextTick(e);case 2:return process.nextTick(function afterTickOne(){e.call(null,t)});case 3:return process.nextTick(function afterTickTwo(){e.call(null,t,i)});case 4:return process.nextTick(function afterTickThree(){e.call(null,t,i,r)});default:s=new Array(n-1);a=0;while(a<s.length){s[a++]=arguments[a]}return process.nextTick(function afterTick(){e.apply(null,s)})}}},8393:(e,t,i)=>{"use strict";var r=i(7843);var n=Object.keys||function(e){var t=[];for(var i in e){t.push(i)}return t};e.exports=Duplex;var s=Object.create(i(3487));s.inherits=i(6919);var a=i(284);var o=i(6100);s.inherits(Duplex,a);{var u=n(o.prototype);for(var c=0;c<u.length;c++){var l=u[c];if(!Duplex.prototype[l])Duplex.prototype[l]=o.prototype[l]}}function Duplex(e){if(!(this instanceof Duplex))return new Duplex(e);a.call(this,e);o.call(this,e);if(e&&e.readable===false)this.readable=false;if(e&&e.writable===false)this.writable=false;this.allowHalfOpen=true;if(e&&e.allowHalfOpen===false)this.allowHalfOpen=false;this.once("end",onend)}Object.defineProperty(Duplex.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function onend(){if(this.allowHalfOpen||this._writableState.ended)return;r.nextTick(onEndNT,this)}function onEndNT(e){e.end()}Object.defineProperty(Duplex.prototype,"destroyed",{get:function(){if(this._readableState===undefined||this._writableState===undefined){return false}return this._readableState.destroyed&&this._writableState.destroyed},set:function(e){if(this._readableState===undefined||this._writableState===undefined){return}this._readableState.destroyed=e;this._writableState.destroyed=e}});Duplex.prototype._destroy=function(e,t){this.push(null);this.end();r.nextTick(t,e)}},5125:(e,t,i)=>{"use strict";e.exports=PassThrough;var r=i(5469);var n=Object.create(i(3487));n.inherits=i(6919);n.inherits(PassThrough,r);function PassThrough(e){if(!(this instanceof PassThrough))return new PassThrough(e);r.call(this,e)}PassThrough.prototype._transform=function(e,t,i){i(null,e)}},284:(e,t,i)=>{"use strict";var r=i(7843);e.exports=Readable;var n=i(9842);var s;Readable.ReadableState=ReadableState;var a=i(8614).EventEmitter;var o=function(e,t){return e.listeners(t).length};var u=i(5016);var c=i(4810).Buffer;var l=global.Uint8Array||function(){};function _uint8ArrayToBuffer(e){return c.from(e)}function _isUint8Array(e){return c.isBuffer(e)||e instanceof l}var f=Object.create(i(3487));f.inherits=i(6919);var h=i(1669);var p=void 0;if(h&&h.debuglog){p=h.debuglog("stream")}else{p=function(){}}var d=i(8739);var v=i(3090);var y;f.inherits(Readable,u);var g=["error","close","destroy","pause","resume"];function prependListener(e,t,i){if(typeof e.prependListener==="function")return e.prependListener(t,i);if(!e._events||!e._events[t])e.on(t,i);else if(n(e._events[t]))e._events[t].unshift(i);else e._events[t]=[i,e._events[t]]}function ReadableState(e,t){s=s||i(8393);e=e||{};var r=t instanceof s;this.objectMode=!!e.objectMode;if(r)this.objectMode=this.objectMode||!!e.readableObjectMode;var n=e.highWaterMark;var a=e.readableHighWaterMark;var o=this.objectMode?16:16*1024;if(n||n===0)this.highWaterMark=n;else if(r&&(a||a===0))this.highWaterMark=a;else this.highWaterMark=o;this.highWaterMark=Math.floor(this.highWaterMark);this.buffer=new d;this.length=0;this.pipes=null;this.pipesCount=0;this.flowing=null;this.ended=false;this.endEmitted=false;this.reading=false;this.sync=true;this.needReadable=false;this.emittedReadable=false;this.readableListening=false;this.resumeScheduled=false;this.destroyed=false;this.defaultEncoding=e.defaultEncoding||"utf8";this.awaitDrain=0;this.readingMore=false;this.decoder=null;this.encoding=null;if(e.encoding){if(!y)y=i(642).s;this.decoder=new y(e.encoding);this.encoding=e.encoding}}function Readable(e){s=s||i(8393);if(!(this instanceof Readable))return new Readable(e);this._readableState=new ReadableState(e,this);this.readable=true;if(e){if(typeof e.read==="function")this._read=e.read;if(typeof e.destroy==="function")this._destroy=e.destroy}u.call(this)}Object.defineProperty(Readable.prototype,"destroyed",{get:function(){if(this._readableState===undefined){return false}return this._readableState.destroyed},set:function(e){if(!this._readableState){return}this._readableState.destroyed=e}});Readable.prototype.destroy=v.destroy;Readable.prototype._undestroy=v.undestroy;Readable.prototype._destroy=function(e,t){this.push(null);t(e)};Readable.prototype.push=function(e,t){var i=this._readableState;var r;if(!i.objectMode){if(typeof e==="string"){t=t||i.defaultEncoding;if(t!==i.encoding){e=c.from(e,t);t=""}r=true}}else{r=true}return readableAddChunk(this,e,t,false,r)};Readable.prototype.unshift=function(e){return readableAddChunk(this,e,null,true,false)};function readableAddChunk(e,t,i,r,n){var s=e._readableState;if(t===null){s.reading=false;onEofChunk(e,s)}else{var a;if(!n)a=chunkInvalid(s,t);if(a){e.emit("error",a)}else if(s.objectMode||t&&t.length>0){if(typeof t!=="string"&&!s.objectMode&&Object.getPrototypeOf(t)!==c.prototype){t=_uint8ArrayToBuffer(t)}if(r){if(s.endEmitted)e.emit("error",new Error("stream.unshift() after end event"));else addChunk(e,s,t,true)}else if(s.ended){e.emit("error",new Error("stream.push() after EOF"))}else{s.reading=false;if(s.decoder&&!i){t=s.decoder.write(t);if(s.objectMode||t.length!==0)addChunk(e,s,t,false);else maybeReadMore(e,s)}else{addChunk(e,s,t,false)}}}else if(!r){s.reading=false}}return needMoreData(s)}function addChunk(e,t,i,r){if(t.flowing&&t.length===0&&!t.sync){e.emit("data",i);e.read(0)}else{t.length+=t.objectMode?1:i.length;if(r)t.buffer.unshift(i);else t.buffer.push(i);if(t.needReadable)emitReadable(e)}maybeReadMore(e,t)}function chunkInvalid(e,t){var i;if(!_isUint8Array(t)&&typeof t!=="string"&&t!==undefined&&!e.objectMode){i=new TypeError("Invalid non-string/buffer chunk")}return i}function needMoreData(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||e.length===0)}Readable.prototype.isPaused=function(){return this._readableState.flowing===false};Readable.prototype.setEncoding=function(e){if(!y)y=i(642).s;this._readableState.decoder=new y(e);this._readableState.encoding=e;return this};var b=8388608;function computeNewHighWaterMark(e){if(e>=b){e=b}else{e--;e|=e>>>1;e|=e>>>2;e|=e>>>4;e|=e>>>8;e|=e>>>16;e++}return e}function howMuchToRead(e,t){if(e<=0||t.length===0&&t.ended)return 0;if(t.objectMode)return 1;if(e!==e){if(t.flowing&&t.length)return t.buffer.head.data.length;else return t.length}if(e>t.highWaterMark)t.highWaterMark=computeNewHighWaterMark(e);if(e<=t.length)return e;if(!t.ended){t.needReadable=true;return 0}return t.length}Readable.prototype.read=function(e){p("read",e);e=parseInt(e,10);var t=this._readableState;var i=e;if(e!==0)t.emittedReadable=false;if(e===0&&t.needReadable&&(t.length>=t.highWaterMark||t.ended)){p("read: emitReadable",t.length,t.ended);if(t.length===0&&t.ended)endReadable(this);else emitReadable(this);return null}e=howMuchToRead(e,t);if(e===0&&t.ended){if(t.length===0)endReadable(this);return null}var r=t.needReadable;p("need readable",r);if(t.length===0||t.length-e<t.highWaterMark){r=true;p("length less than watermark",r)}if(t.ended||t.reading){r=false;p("reading or ended",r)}else if(r){p("do read");t.reading=true;t.sync=true;if(t.length===0)t.needReadable=true;this._read(t.highWaterMark);t.sync=false;if(!t.reading)e=howMuchToRead(i,t)}var n;if(e>0)n=fromList(e,t);else n=null;if(n===null){t.needReadable=true;e=0}else{t.length-=e}if(t.length===0){if(!t.ended)t.needReadable=true;if(i!==e&&t.ended)endReadable(this)}if(n!==null)this.emit("data",n);return n};function onEofChunk(e,t){if(t.ended)return;if(t.decoder){var i=t.decoder.end();if(i&&i.length){t.buffer.push(i);t.length+=t.objectMode?1:i.length}}t.ended=true;emitReadable(e)}function emitReadable(e){var t=e._readableState;t.needReadable=false;if(!t.emittedReadable){p("emitReadable",t.flowing);t.emittedReadable=true;if(t.sync)r.nextTick(emitReadable_,e);else emitReadable_(e)}}function emitReadable_(e){p("emit readable");e.emit("readable");flow(e)}function maybeReadMore(e,t){if(!t.readingMore){t.readingMore=true;r.nextTick(maybeReadMore_,e,t)}}function maybeReadMore_(e,t){var i=t.length;while(!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark){p("maybeReadMore read 0");e.read(0);if(i===t.length)break;else i=t.length}t.readingMore=false}Readable.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))};Readable.prototype.pipe=function(e,t){var i=this;var n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e);break}n.pipesCount+=1;p("pipe count=%d opts=%j",n.pipesCount,t);var s=(!t||t.end!==false)&&e!==process.stdout&&e!==process.stderr;var a=s?onend:unpipe;if(n.endEmitted)r.nextTick(a);else i.once("end",a);e.on("unpipe",onunpipe);function onunpipe(e,t){p("onunpipe");if(e===i){if(t&&t.hasUnpiped===false){t.hasUnpiped=true;cleanup()}}}function onend(){p("onend");e.end()}var u=pipeOnDrain(i);e.on("drain",u);var c=false;function cleanup(){p("cleanup");e.removeListener("close",onclose);e.removeListener("finish",onfinish);e.removeListener("drain",u);e.removeListener("error",onerror);e.removeListener("unpipe",onunpipe);i.removeListener("end",onend);i.removeListener("end",unpipe);i.removeListener("data",ondata);c=true;if(n.awaitDrain&&(!e._writableState||e._writableState.needDrain))u()}var l=false;i.on("data",ondata);function ondata(t){p("ondata");l=false;var r=e.write(t);if(false===r&&!l){if((n.pipesCount===1&&n.pipes===e||n.pipesCount>1&&indexOf(n.pipes,e)!==-1)&&!c){p("false write response, pause",i._readableState.awaitDrain);i._readableState.awaitDrain++;l=true}i.pause()}}function onerror(t){p("onerror",t);unpipe();e.removeListener("error",onerror);if(o(e,"error")===0)e.emit("error",t)}prependListener(e,"error",onerror);function onclose(){e.removeListener("finish",onfinish);unpipe()}e.once("close",onclose);function onfinish(){p("onfinish");e.removeListener("close",onclose);unpipe()}e.once("finish",onfinish);function unpipe(){p("unpipe");i.unpipe(e)}e.emit("pipe",i);if(!n.flowing){p("pipe resume");i.resume()}return e};function pipeOnDrain(e){return function(){var t=e._readableState;p("pipeOnDrain",t.awaitDrain);if(t.awaitDrain)t.awaitDrain--;if(t.awaitDrain===0&&o(e,"data")){t.flowing=true;flow(e)}}}Readable.prototype.unpipe=function(e){var t=this._readableState;var i={hasUnpiped:false};if(t.pipesCount===0)return this;if(t.pipesCount===1){if(e&&e!==t.pipes)return this;if(!e)e=t.pipes;t.pipes=null;t.pipesCount=0;t.flowing=false;if(e)e.emit("unpipe",this,i);return this}if(!e){var r=t.pipes;var n=t.pipesCount;t.pipes=null;t.pipesCount=0;t.flowing=false;for(var s=0;s<n;s++){r[s].emit("unpipe",this,i)}return this}var a=indexOf(t.pipes,e);if(a===-1)return this;t.pipes.splice(a,1);t.pipesCount-=1;if(t.pipesCount===1)t.pipes=t.pipes[0];e.emit("unpipe",this,i);return this};Readable.prototype.on=function(e,t){var i=u.prototype.on.call(this,e,t);if(e==="data"){if(this._readableState.flowing!==false)this.resume()}else if(e==="readable"){var n=this._readableState;if(!n.endEmitted&&!n.readableListening){n.readableListening=n.needReadable=true;n.emittedReadable=false;if(!n.reading){r.nextTick(nReadingNextTick,this)}else if(n.length){emitReadable(this)}}}return i};Readable.prototype.addListener=Readable.prototype.on;function nReadingNextTick(e){p("readable nexttick read 0");e.read(0)}Readable.prototype.resume=function(){var e=this._readableState;if(!e.flowing){p("resume");e.flowing=true;resume(this,e)}return this};function resume(e,t){if(!t.resumeScheduled){t.resumeScheduled=true;r.nextTick(resume_,e,t)}}function resume_(e,t){if(!t.reading){p("resume read 0");e.read(0)}t.resumeScheduled=false;t.awaitDrain=0;e.emit("resume");flow(e);if(t.flowing&&!t.reading)e.read(0)}Readable.prototype.pause=function(){p("call pause flowing=%j",this._readableState.flowing);if(false!==this._readableState.flowing){p("pause");this._readableState.flowing=false;this.emit("pause")}return this};function flow(e){var t=e._readableState;p("flow",t.flowing);while(t.flowing&&e.read()!==null){}}Readable.prototype.wrap=function(e){var t=this;var i=this._readableState;var r=false;e.on("end",function(){p("wrapped end");if(i.decoder&&!i.ended){var e=i.decoder.end();if(e&&e.length)t.push(e)}t.push(null)});e.on("data",function(n){p("wrapped data");if(i.decoder)n=i.decoder.write(n);if(i.objectMode&&(n===null||n===undefined))return;else if(!i.objectMode&&(!n||!n.length))return;var s=t.push(n);if(!s){r=true;e.pause()}});for(var n in e){if(this[n]===undefined&&typeof e[n]==="function"){this[n]=function(t){return function(){return e[t].apply(e,arguments)}}(n)}}for(var s=0;s<g.length;s++){e.on(g[s],this.emit.bind(this,g[s]))}this._read=function(t){p("wrapped _read",t);if(r){r=false;e.resume()}};return this};Object.defineProperty(Readable.prototype,"readableHighWaterMark",{enumerable:false,get:function(){return this._readableState.highWaterMark}});Readable._fromList=fromList;function fromList(e,t){if(t.length===0)return null;var i;if(t.objectMode)i=t.buffer.shift();else if(!e||e>=t.length){if(t.decoder)i=t.buffer.join("");else if(t.buffer.length===1)i=t.buffer.head.data;else i=t.buffer.concat(t.length);t.buffer.clear()}else{i=fromListPartial(e,t.buffer,t.decoder)}return i}function fromListPartial(e,t,i){var r;if(e<t.head.data.length){r=t.head.data.slice(0,e);t.head.data=t.head.data.slice(e)}else if(e===t.head.data.length){r=t.shift()}else{r=i?copyFromBufferString(e,t):copyFromBuffer(e,t)}return r}function copyFromBufferString(e,t){var i=t.head;var r=1;var n=i.data;e-=n.length;while(i=i.next){var s=i.data;var a=e>s.length?s.length:e;if(a===s.length)n+=s;else n+=s.slice(0,e);e-=a;if(e===0){if(a===s.length){++r;if(i.next)t.head=i.next;else t.head=t.tail=null}else{t.head=i;i.data=s.slice(a)}break}++r}t.length-=r;return n}function copyFromBuffer(e,t){var i=c.allocUnsafe(e);var r=t.head;var n=1;r.data.copy(i);e-=r.data.length;while(r=r.next){var s=r.data;var a=e>s.length?s.length:e;s.copy(i,i.length-e,0,a);e-=a;if(e===0){if(a===s.length){++n;if(r.next)t.head=r.next;else t.head=t.tail=null}else{t.head=r;r.data=s.slice(a)}break}++n}t.length-=n;return i}function endReadable(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');if(!t.endEmitted){t.ended=true;r.nextTick(endReadableNT,t,e)}}function endReadableNT(e,t){if(!e.endEmitted&&e.length===0){e.endEmitted=true;t.readable=false;t.emit("end")}}function indexOf(e,t){for(var i=0,r=e.length;i<r;i++){if(e[i]===t)return i}return-1}},5469:(e,t,i)=>{"use strict";e.exports=Transform;var r=i(8393);var n=Object.create(i(3487));n.inherits=i(6919);n.inherits(Transform,r);function afterTransform(e,t){var i=this._transformState;i.transforming=false;var r=i.writecb;if(!r){return this.emit("error",new Error("write callback called multiple times"))}i.writechunk=null;i.writecb=null;if(t!=null)this.push(t);r(e);var n=this._readableState;n.reading=false;if(n.needReadable||n.length<n.highWaterMark){this._read(n.highWaterMark)}}function Transform(e){if(!(this instanceof Transform))return new Transform(e);r.call(this,e);this._transformState={afterTransform:afterTransform.bind(this),needTransform:false,transforming:false,writecb:null,writechunk:null,writeencoding:null};this._readableState.needReadable=true;this._readableState.sync=false;if(e){if(typeof e.transform==="function")this._transform=e.transform;if(typeof e.flush==="function")this._flush=e.flush}this.on("prefinish",prefinish)}function prefinish(){var e=this;if(typeof this._flush==="function"){this._flush(function(t,i){done(e,t,i)})}else{done(this,null,null)}}Transform.prototype.push=function(e,t){this._transformState.needTransform=false;return r.prototype.push.call(this,e,t)};Transform.prototype._transform=function(e,t,i){throw new Error("_transform() is not implemented")};Transform.prototype._write=function(e,t,i){var r=this._transformState;r.writecb=i;r.writechunk=e;r.writeencoding=t;if(!r.transforming){var n=this._readableState;if(r.needTransform||n.needReadable||n.length<n.highWaterMark)this._read(n.highWaterMark)}};Transform.prototype._read=function(e){var t=this._transformState;if(t.writechunk!==null&&t.writecb&&!t.transforming){t.transforming=true;this._transform(t.writechunk,t.writeencoding,t.afterTransform)}else{t.needTransform=true}};Transform.prototype._destroy=function(e,t){var i=this;r.prototype._destroy.call(this,e,function(e){t(e);i.emit("close")})};function done(e,t,i){if(t)return e.emit("error",t);if(i!=null)e.push(i);if(e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}},6100:(e,t,i)=>{"use strict";var r=i(7843);e.exports=Writable;function WriteReq(e,t,i){this.chunk=e;this.encoding=t;this.callback=i;this.next=null}function CorkedRequest(e){var t=this;this.next=null;this.entry=null;this.finish=function(){onCorkedFinish(t,e)}}var n=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:r.nextTick;var s;Writable.WritableState=WritableState;var a=Object.create(i(3487));a.inherits=i(6919);var o={deprecate:i(9209)};var u=i(5016);var c=i(4810).Buffer;var l=global.Uint8Array||function(){};function _uint8ArrayToBuffer(e){return c.from(e)}function _isUint8Array(e){return c.isBuffer(e)||e instanceof l}var f=i(3090);a.inherits(Writable,u);function nop(){}function WritableState(e,t){s=s||i(8393);e=e||{};var r=t instanceof s;this.objectMode=!!e.objectMode;if(r)this.objectMode=this.objectMode||!!e.writableObjectMode;var n=e.highWaterMark;var a=e.writableHighWaterMark;var o=this.objectMode?16:16*1024;if(n||n===0)this.highWaterMark=n;else if(r&&(a||a===0))this.highWaterMark=a;else this.highWaterMark=o;this.highWaterMark=Math.floor(this.highWaterMark);this.finalCalled=false;this.needDrain=false;this.ending=false;this.ended=false;this.finished=false;this.destroyed=false;var u=e.decodeStrings===false;this.decodeStrings=!u;this.defaultEncoding=e.defaultEncoding||"utf8";this.length=0;this.writing=false;this.corked=0;this.sync=true;this.bufferProcessing=false;this.onwrite=function(e){onwrite(t,e)};this.writecb=null;this.writelen=0;this.bufferedRequest=null;this.lastBufferedRequest=null;this.pendingcb=0;this.prefinished=false;this.errorEmitted=false;this.bufferedRequestCount=0;this.corkedRequestsFree=new CorkedRequest(this)}WritableState.prototype.getBuffer=function getBuffer(){var e=this.bufferedRequest;var t=[];while(e){t.push(e);e=e.next}return t};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:o.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer "+"instead.","DEP0003")})}catch(e){}})();var h;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function"){h=Function.prototype[Symbol.hasInstance];Object.defineProperty(Writable,Symbol.hasInstance,{value:function(e){if(h.call(this,e))return true;if(this!==Writable)return false;return e&&e._writableState instanceof WritableState}})}else{h=function(e){return e instanceof this}}function Writable(e){s=s||i(8393);if(!h.call(Writable,this)&&!(this instanceof s)){return new Writable(e)}this._writableState=new WritableState(e,this);this.writable=true;if(e){if(typeof e.write==="function")this._write=e.write;if(typeof e.writev==="function")this._writev=e.writev;if(typeof e.destroy==="function")this._destroy=e.destroy;if(typeof e.final==="function")this._final=e.final}u.call(this)}Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function writeAfterEnd(e,t){var i=new Error("write after end");e.emit("error",i);r.nextTick(t,i)}function validChunk(e,t,i,n){var s=true;var a=false;if(i===null){a=new TypeError("May not write null values to stream")}else if(typeof i!=="string"&&i!==undefined&&!t.objectMode){a=new TypeError("Invalid non-string/buffer chunk")}if(a){e.emit("error",a);r.nextTick(n,a);s=false}return s}Writable.prototype.write=function(e,t,i){var r=this._writableState;var n=false;var s=!r.objectMode&&_isUint8Array(e);if(s&&!c.isBuffer(e)){e=_uint8ArrayToBuffer(e)}if(typeof t==="function"){i=t;t=null}if(s)t="buffer";else if(!t)t=r.defaultEncoding;if(typeof i!=="function")i=nop;if(r.ended)writeAfterEnd(this,i);else if(s||validChunk(this,r,e,i)){r.pendingcb++;n=writeOrBuffer(this,r,s,e,t,i)}return n};Writable.prototype.cork=function(){var e=this._writableState;e.corked++};Writable.prototype.uncork=function(){var e=this._writableState;if(e.corked){e.corked--;if(!e.writing&&!e.corked&&!e.finished&&!e.bufferProcessing&&e.bufferedRequest)clearBuffer(this,e)}};Writable.prototype.setDefaultEncoding=function setDefaultEncoding(e){if(typeof e==="string")e=e.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);this._writableState.defaultEncoding=e;return this};function decodeChunk(e,t,i){if(!e.objectMode&&e.decodeStrings!==false&&typeof t==="string"){t=c.from(t,i)}return t}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function writeOrBuffer(e,t,i,r,n,s){if(!i){var a=decodeChunk(t,r,n);if(r!==a){i=true;n="buffer";r=a}}var o=t.objectMode?1:r.length;t.length+=o;var u=t.length<t.highWaterMark;if(!u)t.needDrain=true;if(t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:n,isBuf:i,callback:s,next:null};if(c){c.next=t.lastBufferedRequest}else{t.bufferedRequest=t.lastBufferedRequest}t.bufferedRequestCount+=1}else{doWrite(e,t,false,o,r,n,s)}return u}function doWrite(e,t,i,r,n,s,a){t.writelen=r;t.writecb=a;t.writing=true;t.sync=true;if(i)e._writev(n,t.onwrite);else e._write(n,s,t.onwrite);t.sync=false}function onwriteError(e,t,i,n,s){--t.pendingcb;if(i){r.nextTick(s,n);r.nextTick(finishMaybe,e,t);e._writableState.errorEmitted=true;e.emit("error",n)}else{s(n);e._writableState.errorEmitted=true;e.emit("error",n);finishMaybe(e,t)}}function onwriteStateUpdate(e){e.writing=false;e.writecb=null;e.length-=e.writelen;e.writelen=0}function onwrite(e,t){var i=e._writableState;var r=i.sync;var s=i.writecb;onwriteStateUpdate(i);if(t)onwriteError(e,i,r,t,s);else{var a=needFinish(i);if(!a&&!i.corked&&!i.bufferProcessing&&i.bufferedRequest){clearBuffer(e,i)}if(r){n(afterWrite,e,i,a,s)}else{afterWrite(e,i,a,s)}}}function afterWrite(e,t,i,r){if(!i)onwriteDrain(e,t);t.pendingcb--;r();finishMaybe(e,t)}function onwriteDrain(e,t){if(t.length===0&&t.needDrain){t.needDrain=false;e.emit("drain")}}function clearBuffer(e,t){t.bufferProcessing=true;var i=t.bufferedRequest;if(e._writev&&i&&i.next){var r=t.bufferedRequestCount;var n=new Array(r);var s=t.corkedRequestsFree;s.entry=i;var a=0;var o=true;while(i){n[a]=i;if(!i.isBuf)o=false;i=i.next;a+=1}n.allBuffers=o;doWrite(e,t,true,t.length,n,"",s.finish);t.pendingcb++;t.lastBufferedRequest=null;if(s.next){t.corkedRequestsFree=s.next;s.next=null}else{t.corkedRequestsFree=new CorkedRequest(t)}t.bufferedRequestCount=0}else{while(i){var u=i.chunk;var c=i.encoding;var l=i.callback;var f=t.objectMode?1:u.length;doWrite(e,t,false,f,u,c,l);i=i.next;t.bufferedRequestCount--;if(t.writing){break}}if(i===null)t.lastBufferedRequest=null}t.bufferedRequest=i;t.bufferProcessing=false}Writable.prototype._write=function(e,t,i){i(new Error("_write() is not implemented"))};Writable.prototype._writev=null;Writable.prototype.end=function(e,t,i){var r=this._writableState;if(typeof e==="function"){i=e;e=null;t=null}else if(typeof t==="function"){i=t;t=null}if(e!==null&&e!==undefined)this.write(e,t);if(r.corked){r.corked=1;this.uncork()}if(!r.ending&&!r.finished)endWritable(this,r,i)};function needFinish(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function callFinal(e,t){e._final(function(i){t.pendingcb--;if(i){e.emit("error",i)}t.prefinished=true;e.emit("prefinish");finishMaybe(e,t)})}function prefinish(e,t){if(!t.prefinished&&!t.finalCalled){if(typeof e._final==="function"){t.pendingcb++;t.finalCalled=true;r.nextTick(callFinal,e,t)}else{t.prefinished=true;e.emit("prefinish")}}}function finishMaybe(e,t){var i=needFinish(t);if(i){prefinish(e,t);if(t.pendingcb===0){t.finished=true;e.emit("finish")}}return i}function endWritable(e,t,i){t.ending=true;finishMaybe(e,t);if(i){if(t.finished)r.nextTick(i);else e.once("finish",i)}t.ended=true;e.writable=false}function onCorkedFinish(e,t,i){var r=e.entry;e.entry=null;while(r){var n=r.callback;t.pendingcb--;n(i);r=r.next}if(t.corkedRequestsFree){t.corkedRequestsFree.next=e}else{t.corkedRequestsFree=e}}Object.defineProperty(Writable.prototype,"destroyed",{get:function(){if(this._writableState===undefined){return false}return this._writableState.destroyed},set:function(e){if(!this._writableState){return}this._writableState.destroyed=e}});Writable.prototype.destroy=f.destroy;Writable.prototype._undestroy=f.undestroy;Writable.prototype._destroy=function(e,t){this.end();t(e)}},8739:(e,t,i)=>{"use strict";function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}var r=i(4810).Buffer;var n=i(1669);function copyBuffer(e,t,i){e.copy(t,i)}e.exports=function(){function BufferList(){_classCallCheck(this,BufferList);this.head=null;this.tail=null;this.length=0}BufferList.prototype.push=function push(e){var t={data:e,next:null};if(this.length>0)this.tail.next=t;else this.head=t;this.tail=t;++this.length};BufferList.prototype.unshift=function unshift(e){var t={data:e,next:this.head};if(this.length===0)this.tail=t;this.head=t;++this.length};BufferList.prototype.shift=function shift(){if(this.length===0)return;var e=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return e};BufferList.prototype.clear=function clear(){this.head=this.tail=null;this.length=0};BufferList.prototype.join=function join(e){if(this.length===0)return"";var t=this.head;var i=""+t.data;while(t=t.next){i+=e+t.data}return i};BufferList.prototype.concat=function concat(e){if(this.length===0)return r.alloc(0);if(this.length===1)return this.head.data;var t=r.allocUnsafe(e>>>0);var i=this.head;var n=0;while(i){copyBuffer(i.data,t,n);n+=i.data.length;i=i.next}return t};return BufferList}();if(n&&n.inspect&&n.inspect.custom){e.exports.prototype[n.inspect.custom]=function(){var e=n.inspect({length:this.length});return this.constructor.name+" "+e}}},3090:(e,t,i)=>{"use strict";var r=i(7843);function destroy(e,t){var i=this;var n=this._readableState&&this._readableState.destroyed;var s=this._writableState&&this._writableState.destroyed;if(n||s){if(t){t(e)}else if(e&&(!this._writableState||!this._writableState.errorEmitted)){r.nextTick(emitErrorNT,this,e)}return this}if(this._readableState){this._readableState.destroyed=true}if(this._writableState){this._writableState.destroyed=true}this._destroy(e||null,function(e){if(!t&&e){r.nextTick(emitErrorNT,i,e);if(i._writableState){i._writableState.errorEmitted=true}}else if(t){t(e)}});return this}function undestroy(){if(this._readableState){this._readableState.destroyed=false;this._readableState.reading=false;this._readableState.ended=false;this._readableState.endEmitted=false}if(this._writableState){this._writableState.destroyed=false;this._writableState.ended=false;this._writableState.ending=false;this._writableState.finished=false;this._writableState.errorEmitted=false}}function emitErrorNT(e,t){e.emit("error",t)}e.exports={destroy:destroy,undestroy:undestroy}},5016:(e,t,i)=>{e.exports=i(2413)},4810:(e,t,i)=>{var r=i(4293);var n=r.Buffer;function copyProps(e,t){for(var i in e){t[i]=e[i]}}if(n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow){e.exports=r}else{copyProps(r,t);t.Buffer=SafeBuffer}function SafeBuffer(e,t,i){return n(e,t,i)}copyProps(n,SafeBuffer);SafeBuffer.from=function(e,t,i){if(typeof e==="number"){throw new TypeError("Argument must not be a number")}return n(e,t,i)};SafeBuffer.alloc=function(e,t,i){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}var r=n(e);if(t!==undefined){if(typeof i==="string"){r.fill(t,i)}else{r.fill(t)}}else{r.fill(0)}return r};SafeBuffer.allocUnsafe=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return n(e)};SafeBuffer.allocUnsafeSlow=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return r.SlowBuffer(e)}},675:(e,t,i)=>{var r=i(2413);if(process.env.READABLE_STREAM==="disable"&&r){e.exports=r;t=e.exports=r.Readable;t.Readable=r.Readable;t.Writable=r.Writable;t.Duplex=r.Duplex;t.Transform=r.Transform;t.PassThrough=r.PassThrough;t.Stream=r}else{t=e.exports=i(284);t.Stream=r||t;t.Readable=t;t.Writable=i(6100);t.Duplex=i(8393);t.Transform=i(5469);t.PassThrough=i(5125)}},2753:(e,t,i)=>{"use strict";const r=i(5622);const n=i(2282);const s=i(5747);const a=(e,t,i)=>{if(typeof e!=="string"){throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof e}\``)}if(typeof t!=="string"){throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof t}\``)}try{e=s.realpathSync(e)}catch(t){if(t.code==="ENOENT"){e=r.resolve(e)}else if(i){return}else{throw t}}const a=r.join(e,"noop.js");const o=()=>n._resolveFilename(t,{id:a,filename:a,paths:n._nodeModulePaths(e)});if(i){try{return o()}catch(e){return}}return o()};e.exports=((e,t)=>a(e,t));e.exports.silent=((e,t)=>a(e,t,true))},2780:(e,t,i)=>{e.exports=rimraf;rimraf.sync=rimrafSync;var r=i(2357);var n=i(5622);var s=i(5747);var a=undefined;try{a=i(3700)}catch(e){}var o=parseInt("666",8);var u={nosort:true,silent:true};var c=0;var l=process.platform==="win32";function defaults(e){var t=["unlink","chmod","stat","lstat","rmdir","readdir"];t.forEach(function(t){e[t]=e[t]||s[t];t=t+"Sync";e[t]=e[t]||s[t]});e.maxBusyTries=e.maxBusyTries||3;e.emfileWait=e.emfileWait||1e3;if(e.glob===false){e.disableGlob=true}if(e.disableGlob!==true&&a===undefined){throw Error("glob dependency not found, set `options.disableGlob = true` if intentional")}e.disableGlob=e.disableGlob||false;e.glob=e.glob||u}function rimraf(e,t,i){if(typeof t==="function"){i=t;t={}}r(e,"rimraf: missing path");r.equal(typeof e,"string","rimraf: path should be a string");r.equal(typeof i,"function","rimraf: callback function required");r(t,"rimraf: invalid options argument provided");r.equal(typeof t,"object","rimraf: options should be object");defaults(t);var n=0;var s=null;var o=0;if(t.disableGlob||!a.hasMagic(e))return afterGlob(null,[e]);t.lstat(e,function(i,r){if(!i)return afterGlob(null,[e]);a(e,t.glob,afterGlob)});function next(e){s=s||e;if(--o===0)i(s)}function afterGlob(e,r){if(e)return i(e);o=r.length;if(o===0)return i();r.forEach(function(e){rimraf_(e,t,function CB(i){if(i){if((i.code==="EBUSY"||i.code==="ENOTEMPTY"||i.code==="EPERM")&&n<t.maxBusyTries){n++;var r=n*100;return setTimeout(function(){rimraf_(e,t,CB)},r)}if(i.code==="EMFILE"&&c<t.emfileWait){return setTimeout(function(){rimraf_(e,t,CB)},c++)}if(i.code==="ENOENT")i=null}c=0;next(i)})})}}function rimraf_(e,t,i){r(e);r(t);r(typeof i==="function");t.lstat(e,function(r,n){if(r&&r.code==="ENOENT")return i(null);if(r&&r.code==="EPERM"&&l)fixWinEPERM(e,t,r,i);if(n&&n.isDirectory())return rmdir(e,t,r,i);t.unlink(e,function(r){if(r){if(r.code==="ENOENT")return i(null);if(r.code==="EPERM")return l?fixWinEPERM(e,t,r,i):rmdir(e,t,r,i);if(r.code==="EISDIR")return rmdir(e,t,r,i)}return i(r)})})}function fixWinEPERM(e,t,i,n){r(e);r(t);r(typeof n==="function");if(i)r(i instanceof Error);t.chmod(e,o,function(r){if(r)n(r.code==="ENOENT"?null:i);else t.stat(e,function(r,s){if(r)n(r.code==="ENOENT"?null:i);else if(s.isDirectory())rmdir(e,t,i,n);else t.unlink(e,n)})})}function fixWinEPERMSync(e,t,i){r(e);r(t);if(i)r(i instanceof Error);try{t.chmodSync(e,o)}catch(e){if(e.code==="ENOENT")return;else throw i}try{var n=t.statSync(e)}catch(e){if(e.code==="ENOENT")return;else throw i}if(n.isDirectory())rmdirSync(e,t,i);else t.unlinkSync(e)}function rmdir(e,t,i,n){r(e);r(t);if(i)r(i instanceof Error);r(typeof n==="function");t.rmdir(e,function(r){if(r&&(r.code==="ENOTEMPTY"||r.code==="EEXIST"||r.code==="EPERM"))rmkids(e,t,n);else if(r&&r.code==="ENOTDIR")n(i);else n(r)})}function rmkids(e,t,i){r(e);r(t);r(typeof i==="function");t.readdir(e,function(r,s){if(r)return i(r);var a=s.length;if(a===0)return t.rmdir(e,i);var o;s.forEach(function(r){rimraf(n.join(e,r),t,function(r){if(o)return;if(r)return i(o=r);if(--a===0)t.rmdir(e,i)})})})}function rimrafSync(e,t){t=t||{};defaults(t);r(e,"rimraf: missing path");r.equal(typeof e,"string","rimraf: path should be a string");r(t,"rimraf: missing options");r.equal(typeof t,"object","rimraf: options should be object");var i;if(t.disableGlob||!a.hasMagic(e)){i=[e]}else{try{t.lstatSync(e);i=[e]}catch(r){i=a.sync(e,t.glob)}}if(!i.length)return;for(var n=0;n<i.length;n++){var e=i[n];try{var s=t.lstatSync(e)}catch(i){if(i.code==="ENOENT")return;if(i.code==="EPERM"&&l)fixWinEPERMSync(e,t,i)}try{if(s&&s.isDirectory())rmdirSync(e,t,null);else t.unlinkSync(e)}catch(i){if(i.code==="ENOENT")return;if(i.code==="EPERM")return l?fixWinEPERMSync(e,t,i):rmdirSync(e,t,i);if(i.code!=="EISDIR")throw i;rmdirSync(e,t,i)}}}function rmdirSync(e,t,i){r(e);r(t);if(i)r(i instanceof Error);try{t.rmdirSync(e)}catch(r){if(r.code==="ENOENT")return;if(r.code==="ENOTDIR")throw i;if(r.code==="ENOTEMPTY"||r.code==="EEXIST"||r.code==="EPERM")rmkidsSync(e,t)}}function rmkidsSync(e,t){r(e);r(t);t.readdirSync(e).forEach(function(i){rimrafSync(n.join(e,i),t)});var i=l?100:1;var s=0;do{var a=true;try{var o=t.rmdirSync(e,t);a=false;return o}finally{if(++s<i&&a)continue}}while(true)}},7586:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var r=i(5622);var n=_interopDefault(r);var s=i(619);var a=_interopDefault(i(1669));const o=function addExtension(e,t=".js"){if(!r.extname(e))e+=t;return e};const u={ArrayPattern(e,t){for(const i of t.elements){if(i)u[i.type](e,i)}},AssignmentPattern(e,t){u[t.left.type](e,t.left)},Identifier(e,t){e.push(t.name)},MemberExpression(){},ObjectPattern(e,t){for(const i of t.properties){if(i.type==="RestElement"){u.RestElement(e,i)}else{u[i.value.type](e,i.value)}}},RestElement(e,t){u[t.argument.type](e,t.argument)}};const c=function extractAssignedNames(e){const t=[];u[e.type](t,e);return t};const l={const:true,let:true};class Scope{constructor(e={}){this.parent=e.parent;this.isBlockScope=!!e.block;this.declarations=Object.create(null);if(e.params){e.params.forEach(e=>{c(e).forEach(e=>{this.declarations[e]=true})})}}addDeclaration(e,t,i){if(!t&&this.isBlockScope){this.parent.addDeclaration(e,t,i)}else if(e.id){c(e.id).forEach(e=>{this.declarations[e]=true})}}contains(e){return this.declarations[e]||(this.parent?this.parent.contains(e):false)}}const f=function attachScopes(e,t="scope"){let i=new Scope;s.walk(e,{enter(e,r){if(/(Function|Class)Declaration/.test(e.type)){i.addDeclaration(e,false,false)}if(e.type==="VariableDeclaration"){const t=e.kind;const r=l[t];e.declarations.forEach(e=>{i.addDeclaration(e,r,true)})}let n;if(/Function/.test(e.type)){n=new Scope({parent:i,block:false,params:e.params});if(e.type==="FunctionExpression"&&e.id){n.addDeclaration(e,false,false)}}if(e.type==="BlockStatement"&&!/Function/.test(r.type)){n=new Scope({parent:i,block:true})}if(e.type==="CatchClause"){n=new Scope({parent:i,params:e.param?[e.param]:[],block:true})}if(n){Object.defineProperty(e,t,{value:n,configurable:true});i=n}},leave(e){if(e[t])i=i.parent}});return i};function createCommonjsModule(e,t){return t={exports:{}},e(t,t.exports),t.exports}var h=createCommonjsModule(function(e,t){t.isInteger=(e=>{if(typeof e==="number"){return Number.isInteger(e)}if(typeof e==="string"&&e.trim()!==""){return Number.isInteger(Number(e))}return false});t.find=((e,t)=>e.nodes.find(e=>e.type===t));t.exceedsLimit=((e,i,r=1,n)=>{if(n===false)return false;if(!t.isInteger(e)||!t.isInteger(i))return false;return(Number(i)-Number(e))/Number(r)>=n});t.escapeNode=((e,t=0,i)=>{let r=e.nodes[t];if(!r)return;if(i&&r.type===i||r.type==="open"||r.type==="close"){if(r.escaped!==true){r.value="\\"+r.value;r.escaped=true}}});t.encloseBrace=(e=>{if(e.type!=="brace")return false;if(e.commas>>0+e.ranges>>0===0){e.invalid=true;return true}return false});t.isInvalidBrace=(e=>{if(e.type!=="brace")return false;if(e.invalid===true||e.dollar)return true;if(e.commas>>0+e.ranges>>0===0){e.invalid=true;return true}if(e.open!==true||e.close!==true){e.invalid=true;return true}return false});t.isOpenOrClose=(e=>{if(e.type==="open"||e.type==="close"){return true}return e.open===true||e.close===true});t.reduce=(e=>e.reduce((e,t)=>{if(t.type==="text")e.push(t.value);if(t.type==="range")t.type="text";return e},[]));t.flatten=((...e)=>{const t=[];const i=e=>{for(let r=0;r<e.length;r++){let n=e[r];Array.isArray(n)?i(n,t):n!==void 0&&t.push(n)}return t};i(e);return t})});var p=h.isInteger;var d=h.find;var v=h.exceedsLimit;var y=h.escapeNode;var g=h.encloseBrace;var b=h.isInvalidBrace;var m=h.isOpenOrClose;var _=h.reduce;var w=h.flatten;var E=(e,t={})=>{let i=(e,r={})=>{let n=t.escapeInvalid&&h.isInvalidBrace(r);let s=e.invalid===true&&t.escapeInvalid===true;let a="";if(e.value){if((n||s)&&h.isOpenOrClose(e)){return"\\"+e.value}return e.value}if(e.value){return e.value}if(e.nodes){for(let t of e.nodes){a+=i(t)}}return a};return i(e)};var S=function(e){if(typeof e==="number"){return e-e===0}if(typeof e==="string"&&e.trim()!==""){return Number.isFinite?Number.isFinite(+e):isFinite(+e)}return false};const x=(e,t,i)=>{if(S(e)===false){throw new TypeError("toRegexRange: expected the first argument to be a number")}if(t===void 0||e===t){return String(e)}if(S(t)===false){throw new TypeError("toRegexRange: expected the second argument to be a number.")}let r=Object.assign({relaxZeros:true},i);if(typeof r.strictZeros==="boolean"){r.relaxZeros=r.strictZeros===false}let n=String(r.relaxZeros);let s=String(r.shorthand);let a=String(r.capture);let o=String(r.wrap);let u=e+":"+t+"="+n+s+a+o;if(x.cache.hasOwnProperty(u)){return x.cache[u].result}let c=Math.min(e,t);let l=Math.max(e,t);if(Math.abs(c-l)===1){let i=e+"|"+t;if(r.capture){return`(${i})`}if(r.wrap===false){return i}return`(?:${i})`}let f=hasPadding(e)||hasPadding(t);let h={min:e,max:t,a:c,b:l};let p=[];let d=[];if(f){h.isPadded=f;h.maxLen=String(h.max).length}if(c<0){let e=l<0?Math.abs(l):1;d=splitToPatterns(e,Math.abs(c),h,r);c=h.a=0}if(l>=0){p=splitToPatterns(c,l,h,r)}h.negatives=d;h.positives=p;h.result=collatePatterns(d,p,r);if(r.capture===true){h.result=`(${h.result})`}else if(r.wrap!==false&&p.length+d.length>1){h.result=`(?:${h.result})`}x.cache[u]=h;return h.result};function collatePatterns(e,t,i){let r=filterPatterns(e,t,"-",false,i)||[];let n=filterPatterns(t,e,"",false,i)||[];let s=filterPatterns(e,t,"-?",true,i)||[];let a=r.concat(s).concat(n);return a.join("|")}function splitToRanges(e,t){let i=1;let r=1;let n=countNines(e,i);let s=new Set([t]);while(e<=n&&n<=t){s.add(n);i+=1;n=countNines(e,i)}n=countZeros(t+1,r)-1;while(e<n&&n<=t){s.add(n);r+=1;n=countZeros(t+1,r)-1}s=[...s];s.sort(compare);return s}function rangeToPattern(e,t,i){if(e===t){return{pattern:e,count:[],digits:0}}let r=zip(e,t);let n=r.length;let s="";let a=0;for(let e=0;e<n;e++){let[t,n]=r[e];if(t===n){s+=t}else if(t!=="0"||n!=="9"){s+=toCharacterClass(t,n,i)}else{a++}}if(a){s+=i.shorthand===true?"\\d":"[0-9]"}return{pattern:s,count:[a],digits:n}}function splitToPatterns(e,t,i,r){let n=splitToRanges(e,t);let s=[];let a=e;let o;for(let e=0;e<n.length;e++){let t=n[e];let u=rangeToPattern(String(a),String(t),r);let c="";if(!i.isPadded&&o&&o.pattern===u.pattern){if(o.count.length>1){o.count.pop()}o.count.push(u.count[0]);o.string=o.pattern+toQuantifier(o.count);a=t+1;continue}if(i.isPadded){c=padZeros(t,i,r)}u.string=c+u.pattern+toQuantifier(u.count);s.push(u);a=t+1;o=u}return s}function filterPatterns(e,t,i,r,n){let s=[];for(let n of e){let{string:e}=n;if(!r&&!contains(t,"string",e)){s.push(i+e)}if(r&&contains(t,"string",e)){s.push(i+e)}}return s}function zip(e,t){let i=[];for(let r=0;r<e.length;r++)i.push([e[r],t[r]]);return i}function compare(e,t){return e>t?1:t>e?-1:0}function contains(e,t,i){return e.some(e=>e[t]===i)}function countNines(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function countZeros(e,t){return e-e%Math.pow(10,t)}function toQuantifier(e){let[t=0,i=""]=e;if(i||t>1){return`{${t+(i?","+i:"")}}`}return""}function toCharacterClass(e,t,i){return`[${e}${t-e===1?"":"-"}${t}]`}function hasPadding(e){return/^-?(0+)\d/.test(e)}function padZeros(e,t,i){if(!t.isPadded){return e}let r=Math.abs(t.maxLen-String(e).length);let n=i.relaxZeros!==false;switch(r){case 0:return"";case 1:return n?"0?":"0";case 2:return n?"0{0,2}":"00";default:{return n?`0{0,${r}}`:`0{${r}}`}}}x.cache={};x.clearCache=(()=>x.cache={});var R=x;const A=e=>e!==null&&typeof e==="object"&&!Array.isArray(e);const k=e=>{return t=>e===true?Number(t):String(t)};const T=e=>{return typeof e==="number"||typeof e==="string"&&e!==""};const C=e=>Number.isInteger(+e);const O=e=>{let t=`${e}`;let i=-1;if(t[0]==="-")t=t.slice(1);if(t==="0")return false;while(t[++i]==="0");return i>0};const N=(e,t,i)=>{if(typeof e==="string"||typeof t==="string"){return true}return i.stringify===true};const j=(e,t,i)=>{if(t>0){let i=e[0]==="-"?"-":"";if(i)e=e.slice(1);e=i+e.padStart(i?t-1:t,"0")}if(i===false){return String(e)}return e};const I=(e,t)=>{let i=e[0]==="-"?"-":"";if(i){e=e.slice(1);t--}while(e.length<t)e="0"+e;return i?"-"+e:e};const $=(e,t)=>{e.negatives.sort((e,t)=>e<t?-1:e>t?1:0);e.positives.sort((e,t)=>e<t?-1:e>t?1:0);let i=t.capture?"":"?:";let r="";let n="";let s;if(e.positives.length){r=e.positives.join("|")}if(e.negatives.length){n=`-(${i}${e.negatives.join("|")})`}if(r&&n){s=`${r}|${n}`}else{s=r||n}if(t.wrap){return`(${i}${s})`}return s};const P=(e,t,i,r)=>{if(i){return R(e,t,Object.assign({wrap:false},r))}let n=String.fromCharCode(e);if(e===t)return n;let s=String.fromCharCode(t);return`[${n}-${s}]`};const F=(e,t,i)=>{if(Array.isArray(e)){let t=i.wrap===true;let r=i.capture?"":"?:";return t?`(${r}${e.join("|")})`:e.join("|")}return R(e,t,i)};const L=(...e)=>{return new RangeError("Invalid range arguments: "+a.inspect(...e))};const B=(e,t,i)=>{if(i.strictRanges===true)throw L([e,t]);return[]};const D=(e,t)=>{if(t.strictRanges===true){throw new TypeError(`Expected step "${e}" to be a number`)}return[]};const H=(e,t,i=1,r={})=>{let n=Number(e);let s=Number(t);if(!Number.isInteger(n)||!Number.isInteger(s)){if(r.strictRanges===true)throw L([e,t]);return[]}if(n===0)n=0;if(s===0)s=0;let a=n>s;let o=String(e);let u=String(t);let c=String(i);i=Math.max(Math.abs(i),1);let l=O(o)||O(u)||O(c);let f=l?Math.max(o.length,u.length,c.length):0;let h=l===false&&N(e,t,r)===false;let p=r.transform||k(h);if(r.toRegex&&i===1){return P(I(e,f),I(t,f),true,r)}let d={negatives:[],positives:[]};let v=e=>d[e<0?"negatives":"positives"].push(Math.abs(e));let y=[];let g=0;while(a?n>=s:n<=s){if(r.toRegex===true&&i>1){v(n)}else{y.push(j(p(n,g),f,h))}n=a?n-i:n+i;g++}if(r.toRegex===true){return i>1?$(d,r):F(y,null,Object.assign({wrap:false},r))}return y};const U=(e,t,i=1,r={})=>{if(!C(e)&&e.length>1||!C(t)&&t.length>1){return B(e,t,r)}let n=r.transform||(e=>String.fromCharCode(e));let s=`${e}`.charCodeAt(0);let a=`${t}`.charCodeAt(0);let o=s>a;let u=Math.min(s,a);let c=Math.max(s,a);if(r.toRegex&&i===1){return P(u,c,false,r)}let l=[];let f=0;while(o?s>=a:s<=a){l.push(n(s,f));s=o?s-i:s+i;f++}if(r.toRegex===true){return F(l,null,{wrap:false,options:r})}return l};const W=(e,t,i,r={})=>{if(t==null&&T(e)){return[e]}if(!T(e)||!T(t)){return B(e,t,r)}if(typeof i==="function"){return W(e,t,1,{transform:i})}if(A(i)){return W(e,t,0,i)}let n=Object.assign({},r);if(n.capture===true)n.wrap=true;i=i||n.step||1;if(!C(i)){if(i!=null&&!A(i))return D(i,n);return W(e,t,1,i)}if(C(e)&&C(t)){return H(e,t,i,n)}return U(e,t,Math.max(Math.abs(i),1),n)};var q=W;const G=(e,t={})=>{let i=(e,r={})=>{let n=h.isInvalidBrace(r);let s=e.invalid===true&&t.escapeInvalid===true;let a=n===true||s===true;let o=t.escapeInvalid===true?"\\":"";let u="";if(e.isOpen===true){return o+e.value}if(e.isClose===true){return o+e.value}if(e.type==="open"){return a?o+e.value:"("}if(e.type==="close"){return a?o+e.value:")"}if(e.type==="comma"){return e.prev.type==="comma"?"":a?e.value:"|"}if(e.value){return e.value}if(e.nodes&&e.ranges>0){let i=h.reduce(e.nodes);let r=q(...i,Object.assign({},t,{wrap:false,toRegex:true}));if(r.length!==0){return i.length>1&&r.length>1?`(${r})`:r}}if(e.nodes){for(let t of e.nodes){u+=i(t,e)}}return u};return i(e)};var V=G;const z=(e="",t="",i=false)=>{let r=[];e=[].concat(e);t=[].concat(t);if(!t.length)return e;if(!e.length){return i?h.flatten(t).map(e=>`{${e}}`):t}for(let n of e){if(Array.isArray(n)){for(let e of n){r.push(z(e,t,i))}}else{for(let e of t){if(i===true&&typeof e==="string")e=`{${e}}`;r.push(Array.isArray(e)?z(n,e,i):n+e)}}}return h.flatten(r)};const M=(e,t={})=>{let i=t.rangeLimit===void 0?1e3:t.rangeLimit;let r=(e,n={})=>{e.queue=[];let s=n;let a=n.queue;while(s.type!=="brace"&&s.type!=="root"&&s.parent){s=s.parent;a=s.queue}if(e.invalid||e.dollar){a.push(z(a.pop(),E(e,t)));return}if(e.type==="brace"&&e.invalid!==true&&e.nodes.length===2){a.push(z(a.pop(),["{}"]));return}if(e.nodes&&e.ranges>0){let r=h.reduce(e.nodes);if(h.exceedsLimit(...r,t.step,i)){throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.")}let n=q(...r,t);if(n.length===0){n=E(e,t)}a.push(z(a.pop(),n));e.nodes=[];return}let o=h.encloseBrace(e);let u=e.queue;let c=e;while(c.type!=="brace"&&c.type!=="root"&&c.parent){c=c.parent;u=c.queue}for(let t=0;t<e.nodes.length;t++){let i=e.nodes[t];if(i.type==="comma"&&e.type==="brace"){if(t===1)u.push("");u.push("");continue}if(i.type==="close"){a.push(z(a.pop(),u,o));continue}if(i.value&&i.type!=="open"){u.push(z(u.pop(),i.value));continue}if(i.nodes){r(i,e)}}return u};return h.flatten(r(e))};var X=M;var K={MAX_LENGTH:1024*64,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"};const{MAX_LENGTH:Y,CHAR_BACKSLASH:Q,CHAR_BACKTICK:J,CHAR_COMMA:Z,CHAR_DOT:ee,CHAR_LEFT_PARENTHESES:te,CHAR_RIGHT_PARENTHESES:ie,CHAR_LEFT_CURLY_BRACE:re,CHAR_RIGHT_CURLY_BRACE:ne,CHAR_LEFT_SQUARE_BRACKET:se,CHAR_RIGHT_SQUARE_BRACKET:ae,CHAR_DOUBLE_QUOTE:oe,CHAR_SINGLE_QUOTE:ue,CHAR_NO_BREAK_SPACE:ce,CHAR_ZERO_WIDTH_NOBREAK_SPACE:le}=K;const fe=(e,t={})=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}let i=t||{};let r=typeof i.maxLength==="number"?Math.min(Y,i.maxLength):Y;if(e.length>r){throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${r})`)}let n={type:"root",input:e,nodes:[]};let s=[n];let a=n;let o=n;let u=0;let c=e.length;let l=0;let f=0;let h;const p=()=>e[l++];const d=e=>{if(e.type==="text"&&o.type==="dot"){o.type="text"}if(o&&o.type==="text"&&e.type==="text"){o.value+=e.value;return}a.nodes.push(e);e.parent=a;e.prev=o;o=e;return e};d({type:"bos"});while(l<c){a=s[s.length-1];h=p();if(h===le||h===ce){continue}if(h===Q){d({type:"text",value:(t.keepEscaping?h:"")+p()});continue}if(h===ae){d({type:"text",value:"\\"+h});continue}if(h===se){u++;let e;while(l<c&&(e=p())){h+=e;if(e===se){u++;continue}if(e===Q){h+=p();continue}if(e===ae){u--;if(u===0){break}}}d({type:"text",value:h});continue}if(h===te){a=d({type:"paren",nodes:[]});s.push(a);d({type:"text",value:h});continue}if(h===ie){if(a.type!=="paren"){d({type:"text",value:h});continue}a=s.pop();d({type:"text",value:h});a=s[s.length-1];continue}if(h===oe||h===ue||h===J){let e=h;let i;if(t.keepQuotes!==true){h=""}while(l<c&&(i=p())){if(i===Q){h+=i+p();continue}if(i===e){if(t.keepQuotes===true)h+=i;break}h+=i}d({type:"text",value:h});continue}if(h===re){f++;let e=o.value&&o.value.slice(-1)==="$"||a.dollar===true;let t={type:"brace",open:true,close:false,dollar:e,depth:f,commas:0,ranges:0,nodes:[]};a=d(t);s.push(a);d({type:"open",value:h});continue}if(h===ne){if(a.type!=="brace"){d({type:"text",value:h});continue}let e="close";a=s.pop();a.close=true;d({type:e,value:h});f--;a=s[s.length-1];continue}if(h===Z&&f>0){if(a.ranges>0){a.ranges=0;let e=a.nodes.shift();a.nodes=[e,{type:"text",value:E(a)}]}d({type:"comma",value:h});a.commas++;continue}if(h===ee&&f>0&&a.commas===0){let e=a.nodes;if(f===0||e.length===0){d({type:"text",value:h});continue}if(o.type==="dot"){a.range=[];o.value+=h;o.type="range";if(a.nodes.length!==3&&a.nodes.length!==5){a.invalid=true;a.ranges=0;o.type="text";continue}a.ranges++;a.args=[];continue}if(o.type==="range"){e.pop();let t=e[e.length-1];t.value+=o.value+h;o=t;a.ranges--;continue}d({type:"dot",value:h});continue}d({type:"text",value:h})}do{a=s.pop();if(a.type!=="root"){a.nodes.forEach(e=>{if(!e.nodes){if(e.type==="open")e.isOpen=true;if(e.type==="close")e.isClose=true;if(!e.nodes)e.type="text";e.invalid=true}});let e=s[s.length-1];let t=e.nodes.indexOf(a);e.nodes.splice(t,1,...a.nodes)}}while(s.length>0);d({type:"eos"});return n};var he=fe;const pe=(e,t={})=>{let i=[];if(Array.isArray(e)){for(let r of e){let e=pe.create(r,t);if(Array.isArray(e)){i.push(...e)}else{i.push(e)}}}else{i=[].concat(pe.create(e,t))}if(t&&t.expand===true&&t.nodupes===true){i=[...new Set(i)]}return i};pe.parse=((e,t={})=>he(e,t));pe.stringify=((e,t={})=>{if(typeof e==="string"){return E(pe.parse(e,t),t)}return E(e,t)});pe.compile=((e,t={})=>{if(typeof e==="string"){e=pe.parse(e,t)}return V(e,t)});pe.expand=((e,t={})=>{if(typeof e==="string"){e=pe.parse(e,t)}let i=X(e,t);if(t.noempty===true){i=i.filter(Boolean)}if(t.nodupes===true){i=[...new Set(i)]}return i});pe.create=((e,t={})=>{if(e===""||e.length<3){return[e]}return t.expand!==true?pe.compile(e,t):pe.expand(e,t)});var de=pe;const ve="\\\\/";const ye=`[^${ve}]`;const ge="\\.";const be="\\+";const me="\\?";const _e="\\/";const we="(?=.)";const Ee="[^/]";const Se=`(?:${_e}|$)`;const xe=`(?:^|${_e})`;const Re=`${ge}{1,2}${Se}`;const Ae=`(?!${ge})`;const ke=`(?!${xe}${Re})`;const Te=`(?!${ge}{0,1}${Se})`;const Ce=`(?!${Re})`;const Oe=`[^.${_e}]`;const Ne=`${Ee}*?`;const je={DOT_LITERAL:ge,PLUS_LITERAL:be,QMARK_LITERAL:me,SLASH_LITERAL:_e,ONE_CHAR:we,QMARK:Ee,END_ANCHOR:Se,DOTS_SLASH:Re,NO_DOT:Ae,NO_DOTS:ke,NO_DOT_SLASH:Te,NO_DOTS_SLASH:Ce,QMARK_NO_DOT:Oe,STAR:Ne,START_ANCHOR:xe};const Ie=Object.assign({},je,{SLASH_LITERAL:`[${ve}]`,QMARK:ye,STAR:`${ye}*?`,DOTS_SLASH:`${ge}{1,2}(?:[${ve}]|$)`,NO_DOT:`(?!${ge})`,NO_DOTS:`(?!(?:^|[${ve}])${ge}{1,2}(?:[${ve}]|$))`,NO_DOT_SLASH:`(?!${ge}{0,1}(?:[${ve}]|$))`,NO_DOTS_SLASH:`(?!${ge}{1,2}(?:[${ve}]|$))`,QMARK_NO_DOT:`[^.${ve}]`,START_ANCHOR:`(?:^|[${ve}])`,END_ANCHOR:`(?:[${ve}]|$)`});const $e={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};var Pe={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:$e,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHAR:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:n.sep,extglobChars(e){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(e){return e===true?Ie:je}};var Fe=createCommonjsModule(function(e,t){const i=process.platform==="win32";const{REGEX_SPECIAL_CHARS:r,REGEX_SPECIAL_CHARS_GLOBAL:s,REGEX_REMOVE_BACKSLASH:a}=Pe;t.isObject=(e=>e!==null&&typeof e==="object"&&!Array.isArray(e));t.hasRegexChars=(e=>r.test(e));t.isRegexChar=(e=>e.length===1&&t.hasRegexChars(e));t.escapeRegex=(e=>e.replace(s,"\\$1"));t.toPosixSlashes=(e=>e.replace(/\\/g,"/"));t.removeBackslashes=(e=>{return e.replace(a,e=>{return e==="\\"?"":e})});t.supportsLookbehinds=(()=>{let e=process.version.slice(1).split(".");if(e.length===3&&+e[0]>=9||+e[0]===8&&+e[1]>=10){return true}return false});t.isWindows=(e=>{if(e&&typeof e.windows==="boolean"){return e.windows}return i===true||n.sep==="\\"});t.escapeLast=((e,i,r)=>{let n=e.lastIndexOf(i,r);if(n===-1)return e;if(e[n-1]==="\\")return t.escapeLast(e,i,n-1);return e.slice(0,n)+"\\"+e.slice(n)})});var Le=Fe.isObject;var Be=Fe.hasRegexChars;var De=Fe.isRegexChar;var He=Fe.escapeRegex;var Ue=Fe.toPosixSlashes;var We=Fe.removeBackslashes;var qe=Fe.supportsLookbehinds;var Ge=Fe.isWindows;var Ve=Fe.escapeLast;const{CHAR_ASTERISK:ze,CHAR_AT:Me,CHAR_BACKWARD_SLASH:Xe,CHAR_COMMA:Ke,CHAR_DOT:Ye,CHAR_EXCLAMATION_MARK:Qe,CHAR_FORWARD_SLASH:Je,CHAR_LEFT_CURLY_BRACE:Ze,CHAR_LEFT_PARENTHESES:et,CHAR_LEFT_SQUARE_BRACKET:tt,CHAR_PLUS:it,CHAR_QUESTION_MARK:rt,CHAR_RIGHT_CURLY_BRACE:nt,CHAR_RIGHT_PARENTHESES:st,CHAR_RIGHT_SQUARE_BRACKET:at}=Pe;const ot=e=>{return e===Je||e===Xe};var ut=(e,t)=>{let i=t||{};let r=e.length-1;let n=-1;let s=0;let a=0;let o=false;let u=false;let c=false;let l=0;let f;let h;let p=false;let d=()=>n>=r;let v=()=>{f=h;return e.charCodeAt(++n)};while(n<r){h=v();let t;if(h===Xe){u=true;t=v();if(t===Ze){p=true}continue}if(p===true||h===Ze){l++;while(!d()&&(t=v())){if(t===Xe){u=true;t=v();continue}if(t===Ze){l++;continue}if(!p&&t===Ye&&(t=v())===Ye){o=true;break}if(!p&&t===Ke){o=true;break}if(t===nt){l--;if(l===0){p=false;break}}}}if(h===Je){if(f===Ye&&n===s+1){s+=2;continue}a=n+1;continue}if(h===ze){o=true;break}if(h===ze||h===rt){o=true;break}if(h===tt){while(!d()&&(t=v())){if(t===Xe){u=true;t=v();continue}if(t===at){o=true;break}}}let i=h===it||h===Me||h===Qe;if(i&&e.charCodeAt(n+1)===et){o=true;break}if(h===Qe&&n===s){c=true;s++;continue}if(h===et){while(!d()&&(t=v())){if(t===Xe){u=true;t=v();continue}if(t===st){o=true;break}}}if(o){break}}let y="";let g=e;let b=e;let m="";if(s>0){y=e.slice(0,s);e=e.slice(s);a-=s}if(b&&o===true&&a>0){b=e.slice(0,a);m=e.slice(a)}else if(o===true){b="";m=e}else{b=e}if(b&&b!==""&&b!=="/"&&b!==e){if(ot(b.charCodeAt(b.length-1))){b=b.slice(0,-1)}}if(i.unescape===true){if(m)m=Fe.removeBackslashes(m);if(b&&u===true){b=Fe.removeBackslashes(b)}}return{prefix:y,input:g,base:b,glob:m,negated:c,isGlob:o}};const{MAX_LENGTH:ct,POSIX_REGEX_SOURCE:lt,REGEX_NON_SPECIAL_CHAR:ft,REGEX_SPECIAL_CHARS_BACKREF:ht,REPLACEMENTS:pt}=Pe;const dt=(e,t)=>{if(typeof t.expandRange==="function"){return t.expandRange(...e,t)}e.sort();let i=`[${e.join("-")}]`;try{}catch(t){return e.map(e=>Fe.escapeRegex(e)).join("..")}return i};const vt=e=>{let t=1;while(e.peek()==="!"&&(e.peek(2)!=="("||e.peek(3)==="?")){e.advance();e.start++;t++}if(t%2===0){return false}e.negated=true;e.start++;return true};const yt=(e,t)=>{return`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`};const gt=(e,t)=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}e=pt[e]||e;let i=Object.assign({},t);let r=typeof i.maxLength==="number"?Math.min(ct,i.maxLength):ct;let n=e.length;if(n>r){throw new SyntaxError(`Input length: ${n}, exceeds maximum allowed length: ${r}`)}let s={type:"bos",value:"",output:i.prepend||""};let a=[s];let o=i.capture?"":"?:";let u=Fe.isWindows(t);const c=Pe.globChars(u);const l=Pe.extglobChars(c);const{DOT_LITERAL:f,PLUS_LITERAL:h,SLASH_LITERAL:p,ONE_CHAR:d,DOTS_SLASH:v,NO_DOT:y,NO_DOT_SLASH:g,NO_DOTS_SLASH:b,QMARK:m,QMARK_NO_DOT:_,STAR:w,START_ANCHOR:E}=c;const S=e=>{return`(${o}(?:(?!${E}${e.dot?v:f}).)*?)`};let x=i.dot?"":y;let R=i.bash===true?S(i):w;let A=i.dot?m:_;if(i.capture){R=`(${R})`}if(typeof i.noext==="boolean"){i.noextglob=i.noext}let k={index:-1,start:0,consumed:"",output:"",backtrack:false,brackets:0,braces:0,parens:0,quotes:0,tokens:a};let T=[];let C=[];let O=s;let N;const j=()=>k.index===n-1;const I=k.peek=((t=1)=>e[k.index+t]);const $=k.advance=(()=>e[++k.index]);const P=e=>{k.output+=e.output!=null?e.output:e.value;k.consumed+=e.value||""};const F=e=>{k[e]++;C.push(e)};const L=e=>{k[e]--;C.pop()};const B=e=>{if(O.type==="globstar"){let t=k.braces>0&&(e.type==="comma"||e.type==="brace");let i=T.length&&(e.type==="pipe"||e.type==="paren");if(e.type!=="slash"&&e.type!=="paren"&&!t&&!i){k.output=k.output.slice(0,-O.output.length);O.type="star";O.value="*";O.output=R;k.output+=O.output}}if(T.length&&e.type!=="paren"&&!l[e.value]){T[T.length-1].inner+=e.value}if(e.value||e.output)P(e);if(O&&O.type==="text"&&e.type==="text"){O.value+=e.value;return}e.prev=O;a.push(e);O=e};const D=(e,t)=>{let r=Object.assign({},l[t],{conditions:1,inner:""});r.prev=O;r.parens=k.parens;r.output=k.output;let n=(i.capture?"(":"")+r.open;B({type:e,value:t,output:k.output?"":d});B({type:"paren",extglob:true,value:$(),output:n});F("parens");T.push(r)};const H=t=>{let r=t.close+(i.capture?")":"");if(t.type==="negate"){let n=R;if(t.inner&&t.inner.length>1&&t.inner.includes("/")){n=S(i)}if(n!==R||j()||/^\)+$/.test(e.slice(k.index+1))){r=t.close=")$))"+n}if(t.prev.type==="bos"&&j()){k.negatedExtglob=true}}B({type:"paren",extglob:true,value:N,output:r});L("parens")};if(i.fastpaths!==false&&!/(^[*!]|[/{[()\]}"])/.test(e)){let t=false;let r=e.replace(ht,(e,i,r,n,s,a)=>{if(n==="\\"){t=true;return e}if(n==="?"){if(i){return i+n+(s?m.repeat(s.length):"")}if(a===0){return A+(s?m.repeat(s.length):"")}return m.repeat(r.length)}if(n==="."){return f.repeat(r.length)}if(n==="*"){if(i){return i+n+(s?R:"")}return R}return i?e:"\\"+e});if(t===true){if(i.unescape===true){r=r.replace(/\\/g,"")}else{r=r.replace(/\\+/g,e=>{return e.length%2===0?"\\\\":e?"\\":""})}}k.output=r;return k}while(!j()){N=$();if(N==="\0"){continue}if(N==="\\"){let t=I();if(t==="/"&&i.bash!==true){continue}if(t==="."||t===";"){continue}if(!t){N+="\\";B({type:"text",value:N});continue}let r=/^\\+/.exec(e.slice(k.index+1));let n=0;if(r&&r[0].length>2){n=r[0].length;k.index+=n;if(n%2!==0){N+="\\"}}if(i.unescape===true){N=$()||""}else{N+=$()||""}if(k.brackets===0){B({type:"text",value:N});continue}}if(k.brackets>0&&(N!=="]"||O.value==="["||O.value==="[^")){if(i.posix!==false&&N===":"){let e=O.value.slice(1);if(e.includes("[")){O.posix=true;if(e.includes(":")){let e=O.value.lastIndexOf("[");let t=O.value.slice(0,e);let i=O.value.slice(e+2);let r=lt[i];if(r){O.value=t+r;k.backtrack=true;$();if(!s.output&&a.indexOf(O)===1){s.output=d}continue}}}}if(N==="["&&I()!==":"||N==="-"&&I()==="]"){N="\\"+N}if(N==="]"&&(O.value==="["||O.value==="[^")){N="\\"+N}if(i.posix===true&&N==="!"&&O.value==="["){N="^"}O.value+=N;P({value:N});continue}if(k.quotes===1&&N!=='"'){N=Fe.escapeRegex(N);O.value+=N;P({value:N});continue}if(N==='"'){k.quotes=k.quotes===1?0:1;if(i.keepQuotes===true){B({type:"text",value:N})}continue}if(N==="("){B({type:"paren",value:N});F("parens");continue}if(N===")"){if(k.parens===0&&i.strictBrackets===true){throw new SyntaxError(yt("opening","("))}let e=T[T.length-1];if(e&&k.parens===e.parens+1){H(T.pop());continue}B({type:"paren",value:N,output:k.parens?")":"\\)"});L("parens");continue}if(N==="["){if(i.nobracket===true||!e.slice(k.index+1).includes("]")){if(i.nobracket!==true&&i.strictBrackets===true){throw new SyntaxError(yt("closing","]"))}N="\\"+N}else{F("brackets")}B({type:"bracket",value:N});continue}if(N==="]"){if(i.nobracket===true||O&&O.type==="bracket"&&O.value.length===1){B({type:"text",value:N,output:"\\"+N});continue}if(k.brackets===0){if(i.strictBrackets===true){throw new SyntaxError(yt("opening","["))}B({type:"text",value:N,output:"\\"+N});continue}L("brackets");let e=O.value.slice(1);if(O.posix!==true&&e[0]==="^"&&!e.includes("/")){N="/"+N}O.value+=N;P({value:N});if(i.literalBrackets===false||Fe.hasRegexChars(e)){continue}let t=Fe.escapeRegex(O.value);k.output=k.output.slice(0,-O.value.length);if(i.literalBrackets===true){k.output+=t;O.value=t;continue}O.value=`(${o}${t}|${O.value})`;k.output+=O.value;continue}if(N==="{"&&i.nobrace!==true){B({type:"brace",value:N,output:"("});F("braces");continue}if(N==="}"){if(i.nobrace===true||k.braces===0){B({type:"text",value:N,output:"\\"+N});continue}let e=")";if(k.dots===true){let t=a.slice();let r=[];for(let e=t.length-1;e>=0;e--){a.pop();if(t[e].type==="brace"){break}if(t[e].type!=="dots"){r.unshift(t[e].value)}}e=dt(r,i);k.backtrack=true}B({type:"brace",value:N,output:e});L("braces");continue}if(N==="|"){if(T.length>0){T[T.length-1].conditions++}B({type:"text",value:N});continue}if(N===","){let e=N;if(k.braces>0&&C[C.length-1]==="braces"){e="|"}B({type:"comma",value:N,output:e});continue}if(N==="/"){if(O.type==="dot"&&k.index===1){k.start=k.index+1;k.consumed="";k.output="";a.pop();O=s;continue}B({type:"slash",value:N,output:p});continue}if(N==="."){if(k.braces>0&&O.type==="dot"){if(O.value===".")O.output=f;O.type="dots";O.output+=N;O.value+=N;k.dots=true;continue}B({type:"dot",value:N,output:f});continue}if(N==="?"){if(O&&O.type==="paren"){let e=I();let t=N;if(e==="<"&&!Fe.supportsLookbehinds()){throw new Error("Node.js v10 or higher is required for regex lookbehinds")}if(O.value==="("&&!/[!=<:]/.test(e)||e==="<"&&!/[!=]/.test(I(2))){t="\\"+N}B({type:"text",value:N,output:t});continue}if(i.noextglob!==true&&I()==="("&&I(2)!=="?"){D("qmark",N);continue}if(i.dot!==true&&(O.type==="slash"||O.type==="bos")){B({type:"qmark",value:N,output:_});continue}B({type:"qmark",value:N,output:m});continue}if(N==="!"){if(i.noextglob!==true&&I()==="("){if(I(2)!=="?"||!/[!=<:]/.test(I(3))){D("negate",N);continue}}if(i.nonegate!==true&&k.index===0){vt(k);continue}}if(N==="+"){if(i.noextglob!==true&&I()==="("&&I(2)!=="?"){D("plus",N);continue}if(O&&(O.type==="bracket"||O.type==="paren"||O.type==="brace")){let e=O.extglob===true?"\\"+N:N;B({type:"plus",value:N,output:e});continue}if(k.parens>0&&i.regex!==false){B({type:"plus",value:N});continue}B({type:"plus",value:h});continue}if(N==="@"){if(i.noextglob!==true&&I()==="("&&I(2)!=="?"){B({type:"at",value:N,output:""});continue}B({type:"text",value:N});continue}if(N!=="*"){if(N==="$"||N==="^"){N="\\"+N}let t=ft.exec(e.slice(k.index+1));if(t){N+=t[0];k.index+=t[0].length}B({type:"text",value:N});continue}if(O&&(O.type==="globstar"||O.star===true)){O.type="star";O.star=true;O.value+=N;O.output=R;k.backtrack=true;k.consumed+=N;continue}if(i.noextglob!==true&&I()==="("&&I(2)!=="?"){D("star",N);continue}if(O.type==="star"){if(i.noglobstar===true){k.consumed+=N;continue}let t=O.prev;let r=t.prev;let n=t.type==="slash"||t.type==="bos";let s=r&&(r.type==="star"||r.type==="globstar");if(i.bash===true&&(!n||!j()&&I()!=="/")){B({type:"star",value:N,output:""});continue}let a=k.braces>0&&(t.type==="comma"||t.type==="brace");let o=T.length&&(t.type==="pipe"||t.type==="paren");if(!n&&t.type!=="paren"&&!a&&!o){B({type:"star",value:N,output:""});continue}while(e.slice(k.index+1,k.index+4)==="/**"){let t=e[k.index+4];if(t&&t!=="/"){break}k.consumed+="/**";k.index+=3}if(t.type==="bos"&&j()){O.type="globstar";O.value+=N;O.output=S(i);k.output=O.output;k.consumed+=N;continue}if(t.type==="slash"&&t.prev.type!=="bos"&&!s&&j()){k.output=k.output.slice(0,-(t.output+O.output).length);t.output="(?:"+t.output;O.type="globstar";O.output=S(i)+"|$)";O.value+=N;k.output+=t.output+O.output;k.consumed+=N;continue}let u=I();if(t.type==="slash"&&t.prev.type!=="bos"&&u==="/"){let e=I(2)!==void 0?"|$":"";k.output=k.output.slice(0,-(t.output+O.output).length);t.output="(?:"+t.output;O.type="globstar";O.output=`${S(i)}${p}|${p}${e})`;O.value+=N;k.output+=t.output+O.output;k.consumed+=N+$();B({type:"slash",value:N,output:""});continue}if(t.type==="bos"&&u==="/"){O.type="globstar";O.value+=N;O.output=`(?:^|${p}|${S(i)}${p})`;k.output=O.output;k.consumed+=N+$();B({type:"slash",value:N,output:""});continue}k.output=k.output.slice(0,-O.output.length);O.type="globstar";O.output=S(i);O.value+=N;k.output+=O.output;k.consumed+=N;continue}let t={type:"star",value:N,output:R};if(i.bash===true){t.output=".*?";if(O.type==="bos"||O.type==="slash"){t.output=x+t.output}B(t);continue}if(O&&(O.type==="bracket"||O.type==="paren")&&i.regex===true){t.output=N;B(t);continue}if(k.index===k.start||O.type==="slash"||O.type==="dot"){if(O.type==="dot"){k.output+=g;O.output+=g}else if(i.dot===true){k.output+=b;O.output+=b}else{k.output+=x;O.output+=x}if(I()!=="*"){k.output+=d;O.output+=d}}B(t)}while(k.brackets>0){if(i.strictBrackets===true)throw new SyntaxError(yt("closing","]"));k.output=Fe.escapeLast(k.output,"[");L("brackets")}while(k.parens>0){if(i.strictBrackets===true)throw new SyntaxError(yt("closing",")"));k.output=Fe.escapeLast(k.output,"(");L("parens")}while(k.braces>0){if(i.strictBrackets===true)throw new SyntaxError(yt("closing","}"));k.output=Fe.escapeLast(k.output,"{");L("braces")}if(i.strictSlashes!==true&&(O.type==="star"||O.type==="bracket")){B({type:"maybe_slash",value:"",output:`${p}?`})}if(k.backtrack===true){k.output="";for(let e of k.tokens){k.output+=e.output!=null?e.output:e.value;if(e.suffix){k.output+=e.suffix}}}return k};gt.fastpaths=((e,t)=>{let i=Object.assign({},t);let r=typeof i.maxLength==="number"?Math.min(ct,i.maxLength):ct;let n=e.length;if(n>r){throw new SyntaxError(`Input length: ${n}, exceeds maximum allowed length: ${r}`)}e=pt[e]||e;let s=Fe.isWindows(t);const{DOT_LITERAL:a,SLASH_LITERAL:o,ONE_CHAR:u,DOTS_SLASH:c,NO_DOT:l,NO_DOTS:f,NO_DOTS_SLASH:h,STAR:p,START_ANCHOR:d}=Pe.globChars(s);let v=i.capture?"":"?:";let y=i.bash===true?".*?":p;let g=i.dot?f:l;let b=i.dot?h:l;if(i.capture){y=`(${y})`}const m=e=>{return`(${v}(?:(?!${d}${e.dot?c:a}).)*?)`};const _=e=>{switch(e){case"*":return`${g}${u}${y}`;case".*":return`${a}${u}${y}`;case"*.*":return`${g}${y}${a}${u}${y}`;case"*/*":return`${g}${y}${o}${u}${b}${y}`;case"**":return g+m(i);case"**/*":return`(?:${g}${m(i)}${o})?${b}${u}${y}`;case"**/*.*":return`(?:${g}${m(i)}${o})?${b}${y}${a}${u}${y}`;case"**/.*":return`(?:${g}${m(i)}${o})?${a}${u}${y}`;default:{let i=/^(.*?)\.(\w+)$/.exec(e);if(!i)return;let r=_(i[1],t);if(!r)return;return r+a+i[2]}}};let w=_(e);if(w&&i.strictSlashes!==true){w+=`${o}?`}return w});var bt=gt;const mt=(e,t,i=false)=>{if(Array.isArray(e)){let r=e.map(e=>mt(e,t,i));return e=>{for(let t of r){let i=t(e);if(i)return i}return false}}if(typeof e!=="string"||e===""){throw new TypeError("Expected pattern to be a non-empty string")}let r=t||{};let n=Fe.isWindows(t);let s=mt.makeRe(e,t,false,true);let a=s.state;delete s.state;let o=()=>false;if(r.ignore){let e=Object.assign({},t,{ignore:null,onMatch:null,onResult:null});o=mt(r.ignore,e,i)}const u=(i,u=false)=>{let{isMatch:c,match:l,output:f}=mt.test(i,s,t,{glob:e,posix:n});let h={glob:e,state:a,regex:s,posix:n,input:i,output:f,match:l,isMatch:c};if(typeof r.onResult==="function"){r.onResult(h)}if(c===false){h.isMatch=false;return u?h:false}if(o(i)){if(typeof r.onIgnore==="function"){r.onIgnore(h)}h.isMatch=false;return u?h:false}if(typeof r.onMatch==="function"){r.onMatch(h)}return u?h:true};if(i){u.state=a}return u};mt.test=((e,t,i,{glob:r,posix:n}={})=>{if(typeof e!=="string"){throw new TypeError("Expected input to be a string")}if(e===""){return{isMatch:false,output:""}}let s=i||{};let a=s.format||(n?Fe.toPosixSlashes:null);let o=e===r;let u=o&&a?a(e):e;if(o===false){u=a?a(e):e;o=u===r}if(o===false||s.capture===true){if(s.matchBase===true||s.basename===true){o=mt.matchBase(e,t,i,n)}else{o=t.exec(u)}}return{isMatch:!!o,match:o,output:u}});mt.matchBase=((e,t,i,r=Fe.isWindows(i))=>{let s=t instanceof RegExp?t:mt.makeRe(t,i);return s.test(n.basename(e))});mt.isMatch=((e,t,i)=>mt(t,i)(e));mt.parse=((e,t)=>bt(e,t));mt.scan=((e,t)=>ut(e,t));mt.makeRe=((e,t,i=false,r=false)=>{if(!e||typeof e!=="string"){throw new TypeError("Expected a non-empty string")}let n=t||{};let s=n.contains?"":"^";let a=n.contains?"":"$";let o={negated:false,fastpaths:true};let u="";let c;if(e.startsWith("./")){e=e.slice(2);u=o.prefix="./"}if(n.fastpaths!==false&&(e[0]==="."||e[0]==="*")){c=bt.fastpaths(e,t)}if(c===void 0){o=mt.parse(e,t);o.prefix=u+(o.prefix||"");c=o.output}if(i===true){return c}let l=`${s}(?:${c})${a}`;if(o&&o.negated===true){l=`^(?!${l}).*$`}let f=mt.toRegex(l,t);if(r===true){f.state=o}return f});mt.toRegex=((e,t)=>{try{let i=t||{};return new RegExp(e,i.flags||(i.nocase?"i":""))}catch(e){if(t&&t.debug===true)throw e;return/$^/}});mt.constants=Pe;var _t=mt;var wt=_t;const Et=e=>typeof e==="string"&&(e===""||e==="./");const St=(e,t,i)=>{t=[].concat(t);e=[].concat(e);let r=new Set;let n=new Set;let s=new Set;let a=0;let o=e=>{s.add(e.output);if(i&&i.onResult){i.onResult(e)}};for(let s=0;s<t.length;s++){let u=wt(String(t[s]),Object.assign({},i,{onResult:o}),true);let c=u.state.negated||u.state.negatedExtglob;if(c)a++;for(let t of e){let e=u(t,true);let i=c?!e.isMatch:e.isMatch;if(!i)continue;if(c){r.add(e.output)}else{r.delete(e.output);n.add(e.output)}}}let u=a===t.length?[...s]:[...n];let c=u.filter(e=>!r.has(e));if(i&&c.length===0){if(i.failglob===true){throw new Error(`No matches found for "${t.join(", ")}"`)}if(i.nonull===true||i.nullglob===true){return i.unescape?t.map(e=>e.replace(/\\/g,"")):t}}return c};St.match=St;St.matcher=((e,t)=>wt(e,t));St.isMatch=((e,t,i)=>wt(t,i)(e));St.any=St.isMatch;St.not=((e,t,i={})=>{t=[].concat(t).map(String);let r=new Set;let n=[];let s=e=>{if(i.onResult)i.onResult(e);n.push(e.output)};let a=St(e,t,Object.assign({},i,{onResult:s}));for(let e of n){if(!a.includes(e)){r.add(e)}}return[...r]});St.contains=((e,t,i)=>{if(typeof e!=="string"){throw new TypeError(`Expected a string: "${a.inspect(e)}"`)}if(Array.isArray(t)){return t.some(t=>St.contains(e,t,i))}if(typeof t==="string"){if(Et(e)||Et(t)){return false}if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t)){return true}}return St.isMatch(e,t,Object.assign({},i,{contains:true}))});St.matchKeys=((e,t,i)=>{if(!Fe.isObject(e)){throw new TypeError("Expected the first argument to be an object")}let r=St(Object.keys(e),t,i);let n={};for(let t of r)n[t]=e[t];return n});St.some=((e,t,i)=>{let r=[].concat(e);for(let e of[].concat(t)){let t=wt(String(e),i);if(r.some(e=>t(e))){return true}}return false});St.every=((e,t,i)=>{let r=[].concat(e);for(let e of[].concat(t)){let t=wt(String(e),i);if(!r.every(e=>t(e))){return false}}return true});St.all=((e,t,i)=>{if(typeof e!=="string"){throw new TypeError(`Expected a string: "${a.inspect(e)}"`)}return[].concat(t).every(t=>wt(t,i)(e))});St.capture=((e,t,i)=>{let r=Fe.isWindows(i);let n=wt.makeRe(String(e),Object.assign({},i,{capture:true}));let s=n.exec(r?Fe.toPosixSlashes(t):t);if(s){return s.slice(1).map(e=>e===void 0?"":e)}});St.makeRe=((...e)=>wt.makeRe(...e));St.scan=((...e)=>wt.scan(...e));St.parse=((e,t)=>{let i=[];for(let r of[].concat(e||[])){for(let e of de(String(r),t)){i.push(wt.parse(e,t))}}return i});St.braces=((e,t)=>{if(typeof e!=="string")throw new TypeError("Expected a string");if(t&&t.nobrace===true||!/\{.*\}/.test(e)){return[e]}return de(e,t)});St.braceExpand=((e,t)=>{if(typeof e!=="string")throw new TypeError("Expected a string");return St.braces(e,Object.assign({},t,{expand:true}))});var xt=St;function ensureArray(e){if(Array.isArray(e))return e;if(e==undefined)return[];return[e]}function getMatcherString(e,t){if(t===false){return e}return r.resolve(...typeof t==="string"?[t,e]:[e])}const Rt=function createFilter(e,t,i){const n=i&&i.resolve;const s=e=>{return e instanceof RegExp?e:{test:xt.matcher(getMatcherString(e,n).split(r.sep).join("/"),{dot:true})}};const a=ensureArray(e).map(s);const o=ensureArray(t).map(s);return function(e){if(typeof e!=="string")return false;if(/\0/.test(e))return false;e=e.split(r.sep).join("/");for(let t=0;t<o.length;++t){const i=o[t];if(i.test(e))return false}for(let t=0;t<a.length;++t){const i=a[t];if(i.test(e))return true}return!a.length}};const At="break case class catch const continue debugger default delete do else export extends finally for function if import in instanceof let new return super switch this throw try typeof var void while with yield enum await implements package protected static interface private public";const kt="arguments Infinity NaN undefined null true false eval uneval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Symbol Error EvalError InternalError RangeError ReferenceError SyntaxError TypeError URIError Number Math Date String RegExp Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array Map Set WeakMap WeakSet SIMD ArrayBuffer DataView JSON Promise Generator GeneratorFunction Reflect Proxy Intl";const Tt=new Set(`${At} ${kt}`.split(" "));Tt.add("");const Ct=function makeLegalIdentifier(e){e=e.replace(/-(\w)/g,(e,t)=>t.toUpperCase()).replace(/[^$_a-zA-Z0-9]/g,"_");if(/\d/.test(e[0])||Tt.has(e)){e=`_${e}`}return e||"_"};function stringify$2(e){return(JSON.stringify(e)||"undefined").replace(/[\u2028\u2029]/g,e=>`\\u${("000"+e.charCodeAt(0).toString(16)).slice(-4)}`)}function serializeArray(e,t,i){let r="[";const n=t?"\n"+i+t:"";for(let s=0;s<e.length;s++){const a=e[s];r+=`${s>0?",":""}${n}${serialize(a,t,i+t)}`}return r+`${t?"\n"+i:""}]`}function serializeObject(e,t,i){let r="{";const n=t?"\n"+i+t:"";const s=Object.keys(e);for(let a=0;a<s.length;a++){const o=s[a];const u=Ct(o)===o?o:stringify$2(o);r+=`${a>0?",":""}${n}${u}:${t?" ":""}${serialize(e[o],t,i+t)}`}return r+`${t?"\n"+i:""}}`}function serialize(e,t,i){if(e===Infinity)return"Infinity";if(e===-Infinity)return"-Infinity";if(e===0&&1/e===-Infinity)return"-0";if(e instanceof Date)return"new Date("+e.getTime()+")";if(e instanceof RegExp)return e.toString();if(e!==e)return"NaN";if(Array.isArray(e))return serializeArray(e,t,i);if(e===null)return"null";if(typeof e==="object")return serializeObject(e,t,i);return stringify$2(e)}const Ot=function dataToEsm(e,t={}){const i=t.compact?"":"indent"in t?t.indent:"\t";const r=t.compact?"":" ";const n=t.compact?"":"\n";const s=t.preferConst?"const":"var";if(t.namedExports===false||typeof e!=="object"||Array.isArray(e)||e instanceof Date||e instanceof RegExp||e===null){const n=serialize(e,t.compact?null:i,"");const s=r||(/^[{[\-\/]/.test(n)?"":" ");return`export default${s}${n};`}let a="";const o=[];const u=Object.keys(e);for(let c=0;c<u.length;c++){const l=u[c];if(l===Ct(l)){if(t.objectShorthand)o.push(l);else o.push(`${l}:${r}${l}`);a+=`export ${s} ${l}${r}=${r}${serialize(e[l],t.compact?null:i,"")};${n}`}else{o.push(`${stringify$2(l)}:${r}${serialize(e[l],t.compact?null:i,"")}`)}}return a+`export default${r}{${n}${i}${o.join(`,${n}${i}`)}${n}};${n}`};t.addExtension=o;t.attachScopes=f;t.createFilter=Rt;t.dataToEsm=Ot;t.extractAssignedNames=c;t.makeLegalIdentifier=Ct},619:function(e,t){(function(e,i){true?i(t):0})(this,function(e){"use strict";function walk(e,{enter:t,leave:i}){visit(e,null,t,i)}let t=false;const i={skip:()=>t=true};const r={};const n=Object.prototype.toString;function isArray(e){return n.call(e)==="[object Array]"}function visit(e,n,s,a,o,u){if(!e)return;if(s){const r=t;t=false;s.call(i,e,n,o,u);const a=t;t=r;if(a)return}const c=e.type&&r[e.type]||(r[e.type]=Object.keys(e).filter(t=>typeof e[t]==="object"));for(let t=0;t<c.length;t+=1){const i=c[t];const r=e[i];if(isArray(r)){for(let t=0;t<r.length;t+=1){r[t]&&r[t].type&&visit(r[t],e,s,a,i,t)}}else if(r&&r.type){visit(r,e,s,a,i,null)}}if(a){a(e,n,o,u)}}e.walk=walk;e.childKeys=r;Object.defineProperty(e,"__esModule",{value:true})})},8834:e=>{e.exports=function(e){[process.stdout,process.stderr].forEach(function(t){if(t._handle&&t.isTTY&&typeof t._handle.setBlocking==="function"){t._handle.setBlocking(e)}})}},2028:(e,t,i)=>{var r=i(2357);var n=i(19);var s=/^win/i.test(process.platform);var a=i(8614);if(typeof a!=="function"){a=a.EventEmitter}var o;if(process.__signal_exit_emitter__){o=process.__signal_exit_emitter__}else{o=process.__signal_exit_emitter__=new a;o.count=0;o.emitted={}}if(!o.infinite){o.setMaxListeners(Infinity);o.infinite=true}e.exports=function(e,t){r.equal(typeof e,"function","a callback must be provided for exit handler");if(c===false){load()}var i="exit";if(t&&t.alwaysLast){i="afterexit"}var n=function(){o.removeListener(i,e);if(o.listeners("exit").length===0&&o.listeners("afterexit").length===0){unload()}};o.on(i,e);return n};e.exports.unload=unload;function unload(){if(!c){return}c=false;n.forEach(function(e){try{process.removeListener(e,u[e])}catch(e){}});process.emit=f;process.reallyExit=l;o.count-=1}function emit(e,t,i){if(o.emitted[e]){return}o.emitted[e]=true;o.emit(e,t,i)}var u={};n.forEach(function(e){u[e]=function listener(){var t=process.listeners(e);if(t.length===o.count){unload();emit("exit",null,e);emit("afterexit",null,e);if(s&&e==="SIGHUP"){e="SIGINT"}process.kill(process.pid,e)}}});e.exports.signals=function(){return n};e.exports.load=load;var c=false;function load(){if(c){return}c=true;o.count+=1;n=n.filter(function(e){try{process.on(e,u[e]);return true}catch(e){return false}});process.emit=processEmit;process.reallyExit=processReallyExit}var l=process.reallyExit;function processReallyExit(e){process.exitCode=e||0;emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);l.call(process,process.exitCode)}var f=process.emit;function processEmit(e,t){if(e==="exit"){if(t!==undefined){process.exitCode=t}var i=f.apply(this,arguments);emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);return i}else{return f.apply(this,arguments)}}},19:e=>{e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];if(process.platform!=="win32"){e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT")}if(process.platform==="linux"){e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")}},1871:(e,t,i)=>{"use strict";const r=i(7742);const n=i(9014);e.exports=(e=>{if(typeof e!=="string"||e.length===0){return 0}e=r(e);let t=0;for(let i=0;i<e.length;i++){const r=e.codePointAt(i);if(r<=31||r>=127&&r<=159){continue}if(r>=768&&r<=879){continue}if(r>65535){i++}t+=n(r)?2:1}return t})},8149:e=>{"use strict";e.exports=(()=>{const e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))"].join("|");return new RegExp(e,"g")})},9014:e=>{"use strict";e.exports=(e=>{if(Number.isNaN(e)){return false}if(e>=4352&&(e<=4447||e===9001||e===9002||11904<=e&&e<=12871&&e!==12351||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)){return true}return false})},7742:(e,t,i)=>{"use strict";const r=i(8149);e.exports=(e=>typeof e==="string"?e.replace(r(),""):e)},642:(e,t,i)=>{"use strict";var r=i(265).Buffer;var n=r.isEncoding||function(e){e=""+e;switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function _normalizeEncoding(e){if(!e)return"utf8";var t;while(true){switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase();t=true}}}function normalizeEncoding(e){var t=_normalizeEncoding(e);if(typeof t!=="string"&&(r.isEncoding===n||!n(e)))throw new Error("Unknown encoding: "+e);return t||e}t.s=StringDecoder;function StringDecoder(e){this.encoding=normalizeEncoding(e);var t;switch(this.encoding){case"utf16le":this.text=utf16Text;this.end=utf16End;t=4;break;case"utf8":this.fillLast=utf8FillLast;t=4;break;case"base64":this.text=base64Text;this.end=base64End;t=3;break;default:this.write=simpleWrite;this.end=simpleEnd;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=r.allocUnsafe(t)}StringDecoder.prototype.write=function(e){if(e.length===0)return"";var t;var i;if(this.lastNeed){t=this.fillLast(e);if(t===undefined)return"";i=this.lastNeed;this.lastNeed=0}else{i=0}if(i<e.length)return t?t+this.text(e,i):this.text(e,i);return t||""};StringDecoder.prototype.end=utf8End;StringDecoder.prototype.text=utf8Text;StringDecoder.prototype.fillLast=function(e){if(this.lastNeed<=e.length){e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length);this.lastNeed-=e.length};function utf8CheckByte(e){if(e<=127)return 0;else if(e>>5===6)return 2;else if(e>>4===14)return 3;else if(e>>3===30)return 4;return e>>6===2?-1:-2}function utf8CheckIncomplete(e,t,i){var r=t.length-1;if(r<i)return 0;var n=utf8CheckByte(t[r]);if(n>=0){if(n>0)e.lastNeed=n-1;return n}if(--r<i||n===-2)return 0;n=utf8CheckByte(t[r]);if(n>=0){if(n>0)e.lastNeed=n-2;return n}if(--r<i||n===-2)return 0;n=utf8CheckByte(t[r]);if(n>=0){if(n>0){if(n===2)n=0;else e.lastNeed=n-3}return n}return 0}function utf8CheckExtraBytes(e,t,i){if((t[0]&192)!==128){e.lastNeed=0;return"�"}if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128){e.lastNeed=1;return"�"}if(e.lastNeed>2&&t.length>2){if((t[2]&192)!==128){e.lastNeed=2;return"�"}}}}function utf8FillLast(e){var t=this.lastTotal-this.lastNeed;var i=utf8CheckExtraBytes(this,e,t);if(i!==undefined)return i;if(this.lastNeed<=e.length){e.copy(this.lastChar,t,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}e.copy(this.lastChar,t,0,e.length);this.lastNeed-=e.length}function utf8Text(e,t){var i=utf8CheckIncomplete(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=i;var r=e.length-(i-this.lastNeed);e.copy(this.lastChar,0,r);return e.toString("utf8",t,r)}function utf8End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+"�";return t}function utf16Text(e,t){if((e.length-t)%2===0){var i=e.toString("utf16le",t);if(i){var r=i.charCodeAt(i.length-1);if(r>=55296&&r<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=e[e.length-2];this.lastChar[1]=e[e.length-1];return i.slice(0,-1)}}return i}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=e[e.length-1];return e.toString("utf16le",t,e.length-1)}function utf16End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var i=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,i)}return t}function base64Text(e,t){var i=(e.length-t)%3;if(i===0)return e.toString("base64",t);this.lastNeed=3-i;this.lastTotal=3;if(i===1){this.lastChar[0]=e[e.length-1]}else{this.lastChar[0]=e[e.length-2];this.lastChar[1]=e[e.length-1]}return e.toString("base64",t,e.length-i)}function base64End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+this.lastChar.toString("base64",0,3-this.lastNeed);return t}function simpleWrite(e){return e.toString(this.encoding)}function simpleEnd(e){return e&&e.length?this.write(e):""}},265:(e,t,i)=>{var r=i(4293);var n=r.Buffer;function copyProps(e,t){for(var i in e){t[i]=e[i]}}if(n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow){e.exports=r}else{copyProps(r,t);t.Buffer=SafeBuffer}function SafeBuffer(e,t,i){return n(e,t,i)}copyProps(n,SafeBuffer);SafeBuffer.from=function(e,t,i){if(typeof e==="number"){throw new TypeError("Argument must not be a number")}return n(e,t,i)};SafeBuffer.alloc=function(e,t,i){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}var r=n(e);if(t!==undefined){if(typeof i==="string"){r.fill(t,i)}else{r.fill(t)}}else{r.fill(0)}return r};SafeBuffer.allocUnsafe=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return n(e)};SafeBuffer.allocUnsafeSlow=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return r.SlowBuffer(e)}},1361:(e,t,i)=>{"use strict";var r=i(142)();e.exports=function(e){return typeof e==="string"?e.replace(r,""):e}},142:e=>{"use strict";e.exports=function(){return/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]/g}},3221:e=>{e.exports=function(e,t){if(!t)t={};var i=t.hsep===undefined?" ":t.hsep;var r=t.align||[];var n=t.stringLength||function(e){return String(e).length};var s=reduce(e,function(e,t){forEach(t,function(t,i){var r=dotindex(t);if(!e[i]||r>e[i])e[i]=r});return e},[]);var a=map(e,function(e){return map(e,function(e,t){var i=String(e);if(r[t]==="."){var a=dotindex(i);var o=s[t]+(/\./.test(i)?1:2)-(n(i)-a);return i+Array(o).join(" ")}else return i})});var o=reduce(a,function(e,t){forEach(t,function(t,i){var r=n(t);if(!e[i]||r>e[i])e[i]=r});return e},[]);return map(a,function(e){return map(e,function(e,t){var i=o[t]-n(e)||0;var s=Array(Math.max(i+1,1)).join(" ");if(r[t]==="r"||r[t]==="."){return s+e}if(r[t]==="c"){return Array(Math.ceil(i/2+1)).join(" ")+e+Array(Math.floor(i/2+1)).join(" ")}return e+s}).join(i).replace(/\s+$/,"")}).join("\n")};function dotindex(e){var t=/\.[^.]*$/.exec(e);return t?t.index+1:e.length}function reduce(e,t,i){if(e.reduce)return e.reduce(t,i);var r=0;var n=arguments.length>=3?i:e[r++];for(;r<e.length;r++){t(n,e[r],r)}return n}function forEach(e,t){if(e.forEach)return e.forEach(t);for(var i=0;i<e.length;i++){t.call(e,e[i],i)}}function map(e,t){if(e.map)return e.map(t);var i=[];for(var r=0;r<e.length;r++){i.push(t.call(e,e[r],r))}return i}},887:(e,t,i)=>{"use strict";const r=i(2752);const n=(e,t,i)=>{if(r(e)===false){throw new TypeError("toRegexRange: expected the first argument to be a number")}if(t===void 0||e===t){return String(e)}if(r(t)===false){throw new TypeError("toRegexRange: expected the second argument to be a number.")}let s={relaxZeros:true,...i};if(typeof s.strictZeros==="boolean"){s.relaxZeros=s.strictZeros===false}let a=String(s.relaxZeros);let o=String(s.shorthand);let u=String(s.capture);let c=String(s.wrap);let l=e+":"+t+"="+a+o+u+c;if(n.cache.hasOwnProperty(l)){return n.cache[l].result}let f=Math.min(e,t);let h=Math.max(e,t);if(Math.abs(f-h)===1){let i=e+"|"+t;if(s.capture){return`(${i})`}if(s.wrap===false){return i}return`(?:${i})`}let p=hasPadding(e)||hasPadding(t);let d={min:e,max:t,a:f,b:h};let v=[];let y=[];if(p){d.isPadded=p;d.maxLen=String(d.max).length}if(f<0){let e=h<0?Math.abs(h):1;y=splitToPatterns(e,Math.abs(f),d,s);f=d.a=0}if(h>=0){v=splitToPatterns(f,h,d,s)}d.negatives=y;d.positives=v;d.result=collatePatterns(y,v,s);if(s.capture===true){d.result=`(${d.result})`}else if(s.wrap!==false&&v.length+y.length>1){d.result=`(?:${d.result})`}n.cache[l]=d;return d.result};function collatePatterns(e,t,i){let r=filterPatterns(e,t,"-",false,i)||[];let n=filterPatterns(t,e,"",false,i)||[];let s=filterPatterns(e,t,"-?",true,i)||[];let a=r.concat(s).concat(n);return a.join("|")}function splitToRanges(e,t){let i=1;let r=1;let n=countNines(e,i);let s=new Set([t]);while(e<=n&&n<=t){s.add(n);i+=1;n=countNines(e,i)}n=countZeros(t+1,r)-1;while(e<n&&n<=t){s.add(n);r+=1;n=countZeros(t+1,r)-1}s=[...s];s.sort(compare);return s}function rangeToPattern(e,t,i){if(e===t){return{pattern:e,count:[],digits:0}}let r=zip(e,t);let n=r.length;let s="";let a=0;for(let e=0;e<n;e++){let[t,n]=r[e];if(t===n){s+=t}else if(t!=="0"||n!=="9"){s+=toCharacterClass(t,n,i)}else{a++}}if(a){s+=i.shorthand===true?"\\d":"[0-9]"}return{pattern:s,count:[a],digits:n}}function splitToPatterns(e,t,i,r){let n=splitToRanges(e,t);let s=[];let a=e;let o;for(let e=0;e<n.length;e++){let t=n[e];let u=rangeToPattern(String(a),String(t),r);let c="";if(!i.isPadded&&o&&o.pattern===u.pattern){if(o.count.length>1){o.count.pop()}o.count.push(u.count[0]);o.string=o.pattern+toQuantifier(o.count);a=t+1;continue}if(i.isPadded){c=padZeros(t,i,r)}u.string=c+u.pattern+toQuantifier(u.count);s.push(u);a=t+1;o=u}return s}function filterPatterns(e,t,i,r,n){let s=[];for(let n of e){let{string:e}=n;if(!r&&!contains(t,"string",e)){s.push(i+e)}if(r&&contains(t,"string",e)){s.push(i+e)}}return s}function zip(e,t){let i=[];for(let r=0;r<e.length;r++)i.push([e[r],t[r]]);return i}function compare(e,t){return e>t?1:t>e?-1:0}function contains(e,t,i){return e.some(e=>e[t]===i)}function countNines(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function countZeros(e,t){return e-e%Math.pow(10,t)}function toQuantifier(e){let[t=0,i=""]=e;if(i||t>1){return`{${t+(i?","+i:"")}}`}return""}function toCharacterClass(e,t,i){return`[${e}${t-e===1?"":"-"}${t}]`}function hasPadding(e){return/^-?(0+)\d/.test(e)}function padZeros(e,t,i){if(!t.isPadded){return e}let r=Math.abs(t.maxLen-String(e).length);let n=i.relaxZeros!==false;switch(r){case 0:return"";case 1:return n?"0?":"0";case 2:return n?"0{0,2}":"00";default:{return n?`0{0,${r}}`:`0{${r}}`}}}n.cache={};n.clearCache=(()=>n.cache={});e.exports=n},2752:e=>{"use strict";e.exports=function(e){if(typeof e==="number"){return e-e===0}if(typeof e==="string"&&e.trim()!==""){return Number.isFinite?Number.isFinite(+e):isFinite(+e)}return false}},2703:(e,t)=>{"use strict";t.E=function(e){return Object.defineProperty(function(){if(typeof arguments[arguments.length-1]==="function")e.apply(this,arguments);else{return new Promise((t,i)=>{arguments[arguments.length]=((e,r)=>{if(e)return i(e);t(r)});arguments.length++;e.apply(this,arguments)})}},"name",{value:e.name})};t.p=function(e){return Object.defineProperty(function(){const t=arguments[arguments.length-1];if(typeof t!=="function")return e.apply(this,arguments);else e.apply(this,arguments).then(e=>t(null,e),t)},"name",{value:e.name})}},9209:(e,t,i)=>{e.exports=i(1669).deprecate},2337:(e,t,i)=>{"use strict";const r=i(313);const n=i(6280);const s=i(264);const a=i(6248);const o=e=>{if(typeof e!=="object"||!e)return e;const t=Object.assign({},e);if(e.mappings){t.mappings=Buffer.from(e.mappings,"utf-8")}if(e.sourcesContent){t.sourcesContent=e.sourcesContent.map(e=>e&&Buffer.from(e,"utf-8"))}return t};const u=e=>{if(typeof e!=="object"||!e)return e;const t=Object.assign({},e);if(e.mappings){t.mappings=e.mappings.toString("utf-8")}if(e.sourcesContent){t.sourcesContent=e.sourcesContent.map(e=>e&&e.toString("utf-8"))}return t};class CachedSource extends r{constructor(e,t){super();this._source=e;this._cachedSourceType=t?t.source:undefined;this._cachedSource=undefined;this._cachedBuffer=t?t.buffer:undefined;this._cachedSize=t?t.size:undefined;this._cachedMaps=t?t.maps:new Map;this._cachedHashUpdate=t?t.hash:undefined}getCachedData(){const e=new Map;for(const t of this._cachedMaps){let i=t[1];if(i.bufferedMap===undefined){i.bufferedMap=o(this._getMapFromCacheEntry(i))}e.set(t[0],{map:undefined,bufferedMap:i.bufferedMap})}if(this._cachedSource){this.buffer()}return{buffer:this._cachedBuffer,source:this._cachedSourceType!==undefined?this._cachedSourceType:typeof this._cachedSource==="string"?true:Buffer.isBuffer(this._cachedSource)?false:undefined,size:this._cachedSize,maps:e,hash:this._cachedHashUpdate}}originalLazy(){return this._source}original(){if(typeof this._source==="function")this._source=this._source();return this._source}source(){const e=this._getCachedSource();if(e!==undefined)return e;return this._cachedSource=this.original().source()}_getMapFromCacheEntry(e){if(e.map!==undefined){return e.map}else if(e.bufferedMap!==undefined){return e.map=u(e.bufferedMap)}}_getCachedSource(){if(this._cachedSource!==undefined)return this._cachedSource;if(this._cachedBuffer&&this._cachedSourceType!==undefined){return this._cachedSource=this._cachedSourceType?this._cachedBuffer.toString("utf-8"):this._cachedBuffer}}buffer(){if(this._cachedBuffer!==undefined)return this._cachedBuffer;if(this._cachedSource!==undefined){if(Buffer.isBuffer(this._cachedSource)){return this._cachedBuffer=this._cachedSource}return this._cachedBuffer=Buffer.from(this._cachedSource,"utf-8")}if(typeof this.original().buffer==="function"){return this._cachedBuffer=this.original().buffer()}const e=this.source();if(Buffer.isBuffer(e)){return this._cachedBuffer=e}return this._cachedBuffer=Buffer.from(e,"utf-8")}size(){if(this._cachedSize!==undefined)return this._cachedSize;if(this._cachedBuffer!==undefined){return this._cachedSize=this._cachedBuffer.length}const e=this._getCachedSource();if(e!==undefined){return this._cachedSize=Buffer.byteLength(e)}return this._cachedSize=this.original().size()}sourceAndMap(e){const t=e?JSON.stringify(e):"{}";const i=this._cachedMaps.get(t);if(i!==undefined){const e=this._getMapFromCacheEntry(i);return{source:this.source(),map:e}}let r=this._getCachedSource();let n;if(r!==undefined){n=this.original().map(e)}else{const t=this.original().sourceAndMap(e);r=t.source;n=t.map;this._cachedSource=r}this._cachedMaps.set(t,{map:n,bufferedMap:undefined});return{source:r,map:n}}streamChunks(e,t,i,r){const o=e?JSON.stringify(e):"{}";if(this._cachedMaps.has(o)&&(this._cachedBuffer!==undefined||this._cachedSource!==undefined)){const{source:a,map:o}=this.sourceAndMap(e);if(o){return n(a,o,t,i,r,!!(e&&e.finalSource),true)}else{return s(a,t,i,r,!!(e&&e.finalSource))}}const{result:u,source:c,map:l}=a(this.original(),e,t,i,r);this._cachedSource=c;this._cachedMaps.set(o,{map:l,bufferedMap:undefined});return u}map(e){const t=e?JSON.stringify(e):"{}";const i=this._cachedMaps.get(t);if(i!==undefined){return this._getMapFromCacheEntry(i)}const r=this.original().map(e);this._cachedMaps.set(t,{map:r,bufferedMap:undefined});return r}updateHash(e){if(this._cachedHashUpdate!==undefined){for(const t of this._cachedHashUpdate)e.update(t);return}const t=[];let i=undefined;const r={update:e=>{if(typeof e==="string"&&e.length<10240){if(i===undefined){i=e}else{i+=e;if(i.length>102400){t.push(Buffer.from(i));i=undefined}}}else{if(i!==undefined){t.push(Buffer.from(i));i=undefined}t.push(e)}}};this.original().updateHash(r);if(i!==undefined){t.push(Buffer.from(i))}for(const i of t)e.update(i);this._cachedHashUpdate=t}}e.exports=CachedSource},4615:(e,t,i)=>{"use strict";const r=i(313);class CompatSource extends r{static from(e){return e instanceof r?e:new CompatSource(e)}constructor(e){super();this._sourceLike=e}source(){return this._sourceLike.source()}buffer(){if(typeof this._sourceLike.buffer==="function"){return this._sourceLike.buffer()}return super.buffer()}size(){if(typeof this._sourceLike.size==="function"){return this._sourceLike.size()}return super.size()}map(e){if(typeof this._sourceLike.map==="function"){return this._sourceLike.map(e)}return super.map(e)}sourceAndMap(e){if(typeof this._sourceLike.sourceAndMap==="function"){return this._sourceLike.sourceAndMap(e)}return super.sourceAndMap(e)}updateHash(e){if(typeof this._sourceLike.updateHash==="function"){return this._sourceLike.updateHash(e)}if(typeof this._sourceLike.map==="function"){throw new Error("A Source-like object with a 'map' method must also provide an 'updateHash' method")}e.update(this.buffer())}}e.exports=CompatSource},7634:(e,t,i)=>{"use strict";const r=i(313);const n=i(4798);const s=i(5065);const{getMap:a,getSourceAndMap:o}=i(9180);const u=new WeakSet;class ConcatSource extends r{constructor(){super();this._children=[];for(let e=0;e<arguments.length;e++){const t=arguments[e];if(t instanceof ConcatSource){for(const e of t._children){this._children.push(e)}}else{this._children.push(t)}}this._isOptimized=arguments.length===0}getChildren(){if(!this._isOptimized)this._optimize();return this._children}add(e){if(e instanceof ConcatSource){for(const t of e._children){this._children.push(t)}}else{this._children.push(e)}this._isOptimized=false}addAllSkipOptimizing(e){for(const t of e){this._children.push(t)}}buffer(){if(!this._isOptimized)this._optimize();const e=[];for(const t of this._children){if(typeof t.buffer==="function"){e.push(t.buffer())}else{const i=t.source();if(Buffer.isBuffer(i)){e.push(i)}else{e.push(Buffer.from(i,"utf-8"))}}}return Buffer.concat(e)}source(){if(!this._isOptimized)this._optimize();let e="";for(const t of this._children){e+=t.source()}return e}size(){if(!this._isOptimized)this._optimize();let e=0;for(const t of this._children){e+=t.size()}return e}map(e){return a(this,e)}sourceAndMap(e){return o(this,e)}streamChunks(e,t,i,r){if(!this._isOptimized)this._optimize();if(this._children.length===1)return this._children[0].streamChunks(e,t,i,r);let n=0;let a=0;let o=new Map;let u=new Map;const c=!!(e&&e.finalSource);let l="";let f=false;for(const h of this._children){const p=[];const d=[];let v=0;const{generatedLine:y,generatedColumn:g,source:b}=s(h,e,(e,i,r,s,o,u,h)=>{const y=i+n;const g=i===1?r+a:r;if(f){if(i!==1||r!==0){t(undefined,n+1,a,-1,-1,-1,-1)}f=false}const b=s<0||s>=p.length?-1:p[s];const m=h<0||h>=d.length?-1:d[h];v=b<0?0:i;if(c){if(e!==undefined)l+=e;if(b>=0){t(undefined,y,g,b,o,u,m)}}else{if(b<0){t(e,y,g,-1,-1,-1,-1)}else{t(e,y,g,b,o,u,m)}}},(e,t,r)=>{let n=o.get(t);if(n===undefined){o.set(t,n=o.size);i(n,t,r)}p[e]=n},(e,t)=>{let i=u.get(t);if(i===undefined){u.set(t,i=u.size);r(i,t)}d[e]=i});if(b!==undefined)l+=b;if(f){if(y!==1||g!==0){t(undefined,n+1,a,-1,-1,-1,-1);f=false}}if(y>1){a=g}else{a+=g}f=f||c&&v===y;n+=y-1}return{generatedLine:n+1,generatedColumn:a,source:c?l:undefined}}updateHash(e){if(!this._isOptimized)this._optimize();e.update("ConcatSource");for(const t of this._children){t.updateHash(e)}}_optimize(){const e=[];let t=undefined;let i=undefined;const r=e=>{if(i===undefined){i=e}else if(Array.isArray(i)){i.push(e)}else{i=[typeof i==="string"?i:i.source(),e]}};const s=e=>{if(i===undefined){i=e}else if(Array.isArray(i)){i.push(e.source())}else{i=[typeof i==="string"?i:i.source(),e.source()]}};const a=()=>{if(Array.isArray(i)){const t=new n(i.join(""));u.add(t);e.push(t)}else if(typeof i==="string"){const t=new n(i);u.add(t);e.push(t)}else{e.push(i)}};for(const n of this._children){if(typeof n==="string"){if(t===undefined){t=n}else{t+=n}}else{if(t!==undefined){r(t);t=undefined}if(u.has(n)){s(n)}else{if(i!==undefined){a();i=undefined}e.push(n)}}}if(t!==undefined){r(t)}if(i!==undefined){a()}this._children=e;this._isOptimized=true}}e.exports=ConcatSource},1118:(e,t,i)=>{"use strict";const{getMap:r,getSourceAndMap:n}=i(9180);const s=i(3079);const a=i(1849);const o=i(313);const u=i(9884);class OriginalSource extends o{constructor(e,t){super();const i=Buffer.isBuffer(e);this._value=i?undefined:e;this._valueAsBuffer=i?e:undefined;this._name=t}getName(){return this._name}source(){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return this._value}buffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}return this._valueAsBuffer}map(e){return r(this,e)}sourceAndMap(e){return n(this,e)}streamChunks(e,t,i,r){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}i(0,this._name,this._value);const n=!!(e&&e.finalSource);if(!e||e.columns!==false){const e=u(this._value);let i=1;let r=0;if(e!==null){for(const s of e){const e=s.endsWith("\n");if(e&&s.length===1){if(!n)t(s,i,r,-1,-1,-1,-1)}else{const e=n?undefined:s;t(e,i,r,0,i,r,-1)}if(e){i++;r=0}else{r+=s.length}}}return{generatedLine:i,generatedColumn:r,source:n?this._value:undefined}}else if(n){const e=a(this._value);const{generatedLine:i,generatedColumn:r}=e;if(r===0){for(let e=1;e<i;e++)t(undefined,e,0,0,e,0,-1)}else{for(let e=1;e<=i;e++)t(undefined,e,0,0,e,0,-1)}return e}else{let e=1;const i=s(this._value);let r;for(r of i){t(n?undefined:r,e,0,0,e,0,-1);e++}return i.length===0||r.endsWith("\n")?{generatedLine:i.length+1,generatedColumn:0,source:n?this._value:undefined}:{generatedLine:i.length,generatedColumn:r.length,source:n?this._value:undefined}}}updateHash(e){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}e.update("OriginalSource");e.update(this._valueAsBuffer);e.update(this._name||"")}}e.exports=OriginalSource},6234:(e,t,i)=>{"use strict";const r=i(313);const n=i(4798);const s=i(5065);const{getMap:a,getSourceAndMap:o}=i(9180);const u=/\n(?=.|\s)/g;class PrefixSource extends r{constructor(e,t){super();this._source=typeof t==="string"||Buffer.isBuffer(t)?new n(t,true):t;this._prefix=e}getPrefix(){return this._prefix}original(){return this._source}source(){const e=this._source.source();const t=this._prefix;return t+e.replace(u,"\n"+t)}map(e){return a(this,e)}sourceAndMap(e){return o(this,e)}streamChunks(e,t,i,r){const n=this._prefix;const a=n.length;const o=!!(e&&e.columns===false);const{generatedLine:c,generatedColumn:l,source:f}=s(this._source,e,(e,i,r,s,u,c,l)=>{if(r!==0){r+=a}else if(e!==undefined){if(o||s<0){e=n+e}else if(a>0){t(n,i,r,-1,-1,-1,-1);r+=a}}else if(!o){r+=a}t(e,i,r,s,u,c,l)},i,r);return{generatedLine:c,generatedColumn:l===0?0:a+l,source:f!==undefined?n+f.replace(u,"\n"+n):undefined}}updateHash(e){e.update("PrefixSource");this._source.updateHash(e);e.update(this._prefix)}}e.exports=PrefixSource},4798:(e,t,i)=>{"use strict";const r=i(264);const n=i(313);class RawSource extends n{constructor(e,t=false){super();const i=Buffer.isBuffer(e);if(!i&&typeof e!=="string"){throw new TypeError("argument 'value' must be either string of Buffer")}this._valueIsBuffer=!t&&i;this._value=t&&i?undefined:e;this._valueAsBuffer=i?e:undefined;this._valueAsString=i?undefined:e}isBuffer(){return this._valueIsBuffer}source(){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return this._value}buffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}return this._valueAsBuffer}map(e){return null}streamChunks(e,t,i,n){if(this._value===undefined){this._value=Buffer.from(this._valueAsBuffer,"utf-8")}if(this._valueAsString===undefined){this._valueAsString=typeof this._value==="string"?this._value:this._value.toString("utf-8")}return r(this._valueAsString,t,i,n,!!(e&&e.finalSource))}updateHash(e){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}e.update("RawSource");e.update(this._valueAsBuffer)}}e.exports=RawSource},8395:(e,t,i)=>{"use strict";const{getMap:r,getSourceAndMap:n}=i(9180);const s=i(5065);const a=i(313);const o=i(3079);const u=typeof process==="object"&&process.versions&&typeof process.versions.v8==="string"&&!/^[0-6]\./.test(process.versions.v8);const c=536870912;class Replacement{constructor(e,t,i,r){this.start=e;this.end=t;this.content=i;this.name=r;if(!u){this.index=-1}}}class ReplaceSource extends a{constructor(e,t){super();this._source=e;this._name=t;this._replacements=[];this._isSorted=true}getName(){return this._name}getReplacements(){this._sortReplacements();return this._replacements}replace(e,t,i,r){if(typeof i!=="string")throw new Error("insertion must be a string, but is a "+typeof i);this._replacements.push(new Replacement(e,t,i,r));this._isSorted=false}insert(e,t,i){if(typeof t!=="string")throw new Error("insertion must be a string, but is a "+typeof t+": "+t);this._replacements.push(new Replacement(e,e-1,t,i));this._isSorted=false}source(){if(this._replacements.length===0){return this._source.source()}let e=this._source.source();let t=0;const i=[];this._sortReplacements();for(const r of this._replacements){const n=Math.floor(r.start);const s=Math.floor(r.end+1);if(t<n){const r=n-t;i.push(e.slice(0,r));e=e.slice(r);t=n}i.push(r.content);if(t<s){const i=s-t;e=e.slice(i);t=s}}i.push(e);return i.join("")}map(e){if(this._replacements.length===0){return this._source.map(e)}return r(this,e)}sourceAndMap(e){if(this._replacements.length===0){return this._source.sourceAndMap(e)}return n(this,e)}original(){return this._source}_sortReplacements(){if(this._isSorted)return;if(u){this._replacements.sort(function(e,t){const i=e.start-t.start;if(i!==0)return i;const r=e.end-t.end;if(r!==0)return r;return 0})}else{this._replacements.forEach((e,t)=>e.index=t);this._replacements.sort(function(e,t){const i=e.start-t.start;if(i!==0)return i;const r=e.end-t.end;if(r!==0)return r;return e.index-t.index})}this._isSorted=true}streamChunks(e,t,i,r){this._sortReplacements();const n=this._replacements;let a=0;let u=0;let l=-1;let f=u<n.length?Math.floor(n[u].start):c;let h=0;let p=0;let d=0;const v=[];const y=new Map;const g=[];const b=(e,t,i,r)=>{let n=e<v.length?v[e]:undefined;if(n===undefined)return false;if(typeof n==="string"){n=o(n);v[e]=n}const s=t<=n.length?n[t-1]:null;if(s===null)return false;return s.slice(i,i+r.length)===r};let{generatedLine:m,generatedColumn:_}=s(this._source,Object.assign({},e,{finalSource:false}),(e,i,s,v,m,_,w)=>{let E=0;let S=a+e.length;if(l>a){if(l>=S){const t=i+h;if(e.endsWith("\n")){h--;if(d===t){p+=s}}else if(d===t){p-=e.length}else{p=-e.length;d=t}a=S;return}E=l-a;if(b(v,m,_,e.slice(0,E))){_+=E}a+=E;const t=i+h;if(d===t){p-=E}else{p=-E;d=t}s+=E}if(f<S){do{let x=i+h;if(f>a){const i=f-a;const r=e.slice(E,E+i);t(r,x,s+(x===d?p:0),v,m,_,w<0||w>=g.length?-1:g[w]);s+=i;E+=i;a=f;if(b(v,m,_,r)){_+=r.length}}const{content:R,name:A}=n[u];let k=o(R);let T=w;if(v>=0&&A){let e=y.get(A);if(e===undefined){e=y.size;y.set(A,e);r(e,A)}T=e}for(let e=0;e<k.length;e++){const i=k[e];t(i,x,s+(x===d?p:0),v,m,_,T);T=-1;if(e===k.length-1&&!i.endsWith("\n")){if(d===x){p+=i.length}else{p=i.length;d=x}}else{h++;x++;p=-s;d=x}}l=Math.max(l,Math.floor(n[u].end+1));u++;f=u<n.length?Math.floor(n[u].start):c;const C=e.length-S+l-E;if(C>0){if(l>=S){let t=i+h;if(e.endsWith("\n")){h--;if(d===t){p+=s}}else if(d===t){p-=e.length-E}else{p=E-e.length;d=t}a=S;return}const t=i+h;if(b(v,m,_,e.slice(E,E+C))){_+=C}E+=C;a+=C;if(d===t){p-=C}else{p=-C;d=t}s+=C}}while(f<S)}if(E<e.length){const r=E===0?e:e.slice(E);const n=i+h;t(r,n,s+(n===d?p:0),v,m,_,w<0?-1:g[w])}a=S},(e,t,r)=>{while(v.length<e)v.push(undefined);v[e]=r;i(e,t,r)},(e,t)=>{let i=y.get(t);if(i===undefined){i=y.size;y.set(t,i);r(i,t)}g[e]=i});let w="";for(;u<n.length;u++){w+=n[u].content}let E=m+h;let S=o(w);for(let e=0;e<S.length;e++){const i=S[e];t(i,E,_+(E===d?p:0),-1,-1,-1,-1);if(e===S.length-1&&!i.endsWith("\n")){if(d===E){p+=i.length}else{p=i.length;d=E}}else{h++;E++;p=-_;d=E}}return{generatedLine:E,generatedColumn:_+(E===d?p:0)}}updateHash(e){this._sortReplacements();e.update("ReplaceSource");this._source.updateHash(e);e.update(this._name||"");for(const t of this._replacements){e.update(`${t.start}${t.end}${t.content}${t.name}`)}}}e.exports=ReplaceSource},928:(e,t,i)=>{"use strict";const r=i(313);class SizeOnlySource extends r{constructor(e){super();this._size=e}_error(){return new Error("Content and Map of this Source is not available (only size() is supported)")}size(){return this._size}source(){throw this._error()}buffer(){throw this._error()}map(e){throw this._error()}updateHash(){throw this._error()}}e.exports=SizeOnlySource},313:e=>{"use strict";class Source{source(){throw new Error("Abstract")}buffer(){const e=this.source();if(Buffer.isBuffer(e))return e;return Buffer.from(e,"utf-8")}size(){return this.buffer().length}map(e){return null}sourceAndMap(e){return{source:this.source(),map:this.map(e)}}updateHash(e){throw new Error("Abstract")}}e.exports=Source},1221:(e,t,i)=>{"use strict";const r=i(313);const n=i(6280);const s=i(1047);const{getMap:a,getSourceAndMap:o}=i(9180);class SourceMapSource extends r{constructor(e,t,i,r,n,s){super();const a=Buffer.isBuffer(e);this._valueAsString=a?undefined:e;this._valueAsBuffer=a?e:undefined;this._name=t;this._hasSourceMap=!!i;const o=Buffer.isBuffer(i);const u=typeof i==="string";this._sourceMapAsObject=o||u?undefined:i;this._sourceMapAsString=u?i:undefined;this._sourceMapAsBuffer=o?i:undefined;this._hasOriginalSource=!!r;const c=Buffer.isBuffer(r);this._originalSourceAsString=c?undefined:r;this._originalSourceAsBuffer=c?r:undefined;this._hasInnerSourceMap=!!n;const l=Buffer.isBuffer(n);const f=typeof n==="string";this._innerSourceMapAsObject=l||f?undefined:n;this._innerSourceMapAsString=f?n:undefined;this._innerSourceMapAsBuffer=l?n:undefined;this._removeOriginalSource=s}_ensureValueBuffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._valueAsString,"utf-8")}}_ensureValueString(){if(this._valueAsString===undefined){this._valueAsString=this._valueAsBuffer.toString("utf-8")}}_ensureOriginalSourceBuffer(){if(this._originalSourceAsBuffer===undefined&&this._hasOriginalSource){this._originalSourceAsBuffer=Buffer.from(this._originalSourceAsString,"utf-8")}}_ensureOriginalSourceString(){if(this._originalSourceAsString===undefined&&this._hasOriginalSource){this._originalSourceAsString=this._originalSourceAsBuffer.toString("utf-8")}}_ensureInnerSourceMapObject(){if(this._innerSourceMapAsObject===undefined&&this._hasInnerSourceMap){this._ensureInnerSourceMapString();this._innerSourceMapAsObject=JSON.parse(this._innerSourceMapAsString)}}_ensureInnerSourceMapBuffer(){if(this._innerSourceMapAsBuffer===undefined&&this._hasInnerSourceMap){this._ensureInnerSourceMapString();this._innerSourceMapAsBuffer=Buffer.from(this._innerSourceMapAsString,"utf-8")}}_ensureInnerSourceMapString(){if(this._innerSourceMapAsString===undefined&&this._hasInnerSourceMap){if(this._innerSourceMapAsBuffer!==undefined){this._innerSourceMapAsString=this._innerSourceMapAsBuffer.toString("utf-8")}else{this._innerSourceMapAsString=JSON.stringify(this._innerSourceMapAsObject)}}}_ensureSourceMapObject(){if(this._sourceMapAsObject===undefined){this._ensureSourceMapString();this._sourceMapAsObject=JSON.parse(this._sourceMapAsString)}}_ensureSourceMapBuffer(){if(this._sourceMapAsBuffer===undefined){this._ensureSourceMapString();this._sourceMapAsBuffer=Buffer.from(this._sourceMapAsString,"utf-8")}}_ensureSourceMapString(){if(this._sourceMapAsString===undefined){if(this._sourceMapAsBuffer!==undefined){this._sourceMapAsString=this._sourceMapAsBuffer.toString("utf-8")}else{this._sourceMapAsString=JSON.stringify(this._sourceMapAsObject)}}}getArgsAsBuffers(){this._ensureValueBuffer();this._ensureSourceMapBuffer();this._ensureOriginalSourceBuffer();this._ensureInnerSourceMapBuffer();return[this._valueAsBuffer,this._name,this._sourceMapAsBuffer,this._originalSourceAsBuffer,this._innerSourceMapAsBuffer,this._removeOriginalSource]}buffer(){this._ensureValueBuffer();return this._valueAsBuffer}source(){this._ensureValueString();return this._valueAsString}map(e){if(!this._hasInnerSourceMap){this._ensureSourceMapObject();return this._sourceMapAsObject}return a(this,e)}sourceAndMap(e){if(!this._hasInnerSourceMap){this._ensureValueString();this._ensureSourceMapObject();return{source:this._valueAsString,map:this._sourceMapAsObject}}return o(this,e)}streamChunks(e,t,i,r){this._ensureValueString();this._ensureSourceMapObject();this._ensureOriginalSourceString();if(this._hasInnerSourceMap){this._ensureInnerSourceMapObject();return s(this._valueAsString,this._sourceMapAsObject,this._name,this._originalSourceAsString,this._innerSourceMapAsObject,this._removeOriginalSource,t,i,r,!!(e&&e.finalSource),!!(e&&e.columns!==false))}else{return n(this._valueAsString,this._sourceMapAsObject,t,i,r,!!(e&&e.finalSource),!!(e&&e.columns!==false))}}updateHash(e){this._ensureValueBuffer();this._ensureSourceMapBuffer();this._ensureOriginalSourceBuffer();this._ensureInnerSourceMapBuffer();e.update("SourceMapSource");e.update(this._valueAsBuffer);e.update(this._sourceMapAsBuffer);if(this._hasOriginalSource){e.update(this._originalSourceAsBuffer)}if(this._hasInnerSourceMap){e.update(this._innerSourceMapAsBuffer)}e.update(this._removeOriginalSource?"true":"false")}}e.exports=SourceMapSource},2894:e=>{"use strict";const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");const i=32;const r=e=>{const t=e&&e.columns===false;return t?s():n()};const n=()=>{let e=1;let r=0;let n=0;let s=1;let a=0;let o=0;let u=false;let c=false;let l=true;return(f,h,p,d,v,y)=>{if(u&&e===f){if(p===n&&d===s&&v===a&&!c&&y<0){return""}}else{if(p<0){return""}}let g;if(e<f){g=";".repeat(f-e);e=f;r=0;l=false}else if(l){g="";l=false}else{g=","}const b=e=>{const r=e>>>31&1;const n=e>>31;const s=e+n^n;let a=s<<1|r;for(;;){const e=a&31;a>>=5;if(a===0){g+=t[e];break}else{g+=t[e|i]}}};b(h-r);r=h;if(p>=0){u=true;if(p===n){g+="A"}else{b(p-n);n=p}b(d-s);s=d;if(v===a){g+="A"}else{b(v-a);a=v}if(y>=0){b(y-o);o=y;c=true}else{c=false}}else{u=false}return g}};const s=()=>{let e=0;let r=1;let n=0;let s=1;return(a,o,u,c,l,f)=>{if(u<0){return""}if(e===a){return""}let h;const p=e=>{const r=e>>>31&1;const n=e>>31;const s=e+n^n;let a=s<<1|r;for(;;){const e=a&31;a>>=5;if(a===0){h+=t[e];break}else{h+=t[e|i]}}};e=a;if(a===r+1){r=a;if(u===n){n=u;if(c===s+1){s=c;return";AACA"}else{h=";AA";p(c-s);s=c;return h+"A"}}else{h=";A";p(u-n);n=u;p(c-s);s=c;return h+"A"}}else{h=";".repeat(a-r);r=a;if(u===n){n=u;if(c===s+1){s=c;return h+"AACA"}else{h+="AA";p(c-s);s=c;return h+"A"}}else{h+="A";p(u-n);n=u;p(c-s);s=c;return h+"A"}}}};e.exports=r},9180:(e,t,i)=>{"use strict";const r=i(2894);t.getSourceAndMap=((e,t)=>{let i="";let n="";let s=[];let a=[];let o=[];const u=r(t);const{source:c}=e.streamChunks(Object.assign({},t,{finalSource:true}),(e,t,r,s,a,o,c)=>{if(e!==undefined)i+=e;n+=u(t,r,s,a,o,c)},(e,t,i)=>{while(s.length<e){s.push(null)}s[e]=t;if(i!==undefined){while(a.length<e){a.push(null)}a[e]=i}},(e,t)=>{while(o.length<e){o.push(null)}o[e]=t});return{source:c!==undefined?c:i,map:n.length>0?{version:3,file:"x",mappings:n,sources:s,sourcesContent:a.length>0?a:undefined,names:o}:null}});t.getMap=((e,t)=>{let i="";let n=[];let s=[];let a=[];const o=r(t);e.streamChunks(Object.assign({},t,{source:false,finalSource:true}),(e,t,r,n,s,a,u)=>{i+=o(t,r,n,s,a,u)},(e,t,i)=>{while(n.length<e){n.push(null)}n[e]=t;if(i!==undefined){while(s.length<e){s.push(null)}s[e]=i}},(e,t)=>{while(a.length<e){a.push(null)}a[e]=t});return i.length>0?{version:3,file:"x",mappings:i,sources:n,sourcesContent:s.length>0?s:undefined,names:a}:null})},1849:e=>{"use strict";const t="\n".charCodeAt(0);const i=e=>{if(e===undefined){return{}}const i=e.lastIndexOf("\n");if(i===-1){return{generatedLine:1,generatedColumn:e.length,source:e}}let r=2;for(let n=0;n<i;n++){if(e.charCodeAt(n)===t)r++}return{generatedLine:r,generatedColumn:e.length-i-1,source:e}};e.exports=i},177:e=>{"use strict";const t=(e,t)=>{if(t<0)return null;const{sourceRoot:i,sources:r}=e;const n=r[t];if(!i)return n;if(i.endsWith("/"))return i+n;return i+"/"+n};e.exports=t},7213:e=>{"use strict";const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";const i=32;const r=64;const n=r|1;const s=r|2;const a=31;const o=new Uint8Array("z".charCodeAt(0)+1);{o.fill(s);for(let e=0;e<t.length;e++){o[t.charCodeAt(e)]=e}o[",".charCodeAt(0)]=r;o[";".charCodeAt(0)]=n}const u=o.length-1;const c=(e,t)=>{const s=new Uint32Array([0,0,1,0,0]);let c=0;let l=0;let f=0;let h=1;let p=-1;for(let d=0;d<e.length;d++){const v=e.charCodeAt(d);if(v>u)continue;const y=o[v];if((y&r)!==0){if(s[0]>p){if(c===1){t(h,s[0],-1,-1,-1,-1)}else if(c===4){t(h,s[0],s[1],s[2],s[3],-1)}else if(c===5){t(h,s[0],s[1],s[2],s[3],s[4])}p=s[0]}c=0;if(y===n){h++;s[0]=0;p=-1}}else if((y&i)===0){l|=y<<f;const e=l&1?-(l>>1):l>>1;s[c++]+=e;f=0;l=0}else{l|=(y&a)<<f;f+=5}}if(c===1){t(h,s[0],-1,-1,-1,-1)}else if(c===4){t(h,s[0],s[1],s[2],s[3],-1)}else if(c===5){t(h,s[0],s[1],s[2],s[3],s[4])}};e.exports=c},3079:e=>{const t=e=>{const t=[];const i=e.length;let r=0;for(;r<i;){const n=e.charCodeAt(r);if(n===10){t.push("\n");r++}else{let n=r+1;while(n<i&&e.charCodeAt(n)!==10)n++;t.push(e.slice(r,n+1));r=n+1}}return t};e.exports=t},9884:e=>{const t=e=>{const t=e.length;if(t===0)return null;const i=[];let r=0;for(;r<t;){const n=r;e:{let i=e.charCodeAt(r);while(i!==10&&i!==59&&i!==123&&i!==125){if(++r>=t)break e;i=e.charCodeAt(r)}while(i===59||i===32||i===123||i===125||i===13||i===9){if(++r>=t)break e;i=e.charCodeAt(r)}if(i===10){r++}}i.push(e.slice(n,r))}return i};e.exports=t},6248:(e,t,i)=>{"use strict";const r=i(2894);const n=i(5065);const s=(e,t,i,s,a)=>{let o="";let u="";let c=[];let l=[];let f=[];const h=r(Object.assign({},t,{columns:true}));const p=!!(t&&t.finalSource);const{generatedLine:d,generatedColumn:v,source:y}=n(e,t,(e,t,r,n,s,a,c)=>{if(e!==undefined)o+=e;u+=h(t,r,n,s,a,c);return i(p?undefined:e,t,r,n,s,a,c)},(e,t,i)=>{while(c.length<e){c.push(null)}c[e]=t;if(i!==undefined){while(l.length<e){l.push(null)}l[e]=i}return s(e,t,i)},(e,t)=>{while(f.length<e){f.push(null)}f[e]=t;return a(e,t)});const g=y!==undefined?y:o;return{result:{generatedLine:d,generatedColumn:v,source:p?g:undefined},source:g,map:u.length>0?{version:3,file:"x",mappings:u,sources:c,sourcesContent:l.length>0?l:undefined,names:f}:null}};e.exports=s},5065:(e,t,i)=>{"use strict";const r=i(264);const n=i(6280);e.exports=((e,t,i,s,a)=>{if(typeof e.streamChunks==="function"){return e.streamChunks(t,i,s,a)}else{const o=e.sourceAndMap(t);if(o.map){return n(o.source,o.map,i,s,a,!!(t&&t.finalSource),!!(t&&t.columns!==false))}else{return r(o.source,i,s,a,!!(t&&t.finalSource))}}})},1047:(e,t,i)=>{"use strict";const r=i(6280);const n=i(3079);const s=(e,t,i,s,a,o,u,c,l,f,h)=>{let p=new Map;let d=new Map;const v=[];const y=[];const g=[];let b=-2;const m=[];const _=[];const w=[];const E=[];const S=[];const x=[];const R=[];const A=(e,t)=>{if(e>R.length)return-1;const{mappingsData:i}=R[e-1];let r=0;let n=i.length/5;while(r<n){let e=r+n>>1;if(i[e*5]<=t){r=e+1}else{n=e}}if(r===0)return-1;return r-1};return r(e,t,(t,r,a,f,h,k,T)=>{if(f===b){const b=A(h,k);if(b!==-1){const{chunks:e,mappingsData:i}=R[h-1];const s=b*5;const o=i[s+1];const f=i[s+2];let v=i[s+3];let A=i[s+4];if(o>=0){const h=e[b];const R=i[s];const C=k-R;if(C>0){let e=o<E.length?E[o]:null;if(e===undefined){const t=w[o];e=t?n(t):null;E[o]=e}if(e!==null){const t=f<=e.length?e[f-1].slice(v,v+C):"";if(h.slice(0,C)===t){v+=C;A=-1}}}let O=o<m.length?m[o]:-2;if(O===-2){const[e,t]=o<_.length?_[o]:[null,undefined];let i=p.get(e);if(i===undefined){p.set(e,i=p.size);c(i,e,t)}O=i;m[o]=O}let N=-1;if(A>=0){N=A<S.length?S[A]:-2;if(N===-2){const e=A<x.length?x[A]:undefined;if(e){let t=d.get(e);if(t===undefined){d.set(e,t=d.size);l(t,e)}N=t}else{N=-1}S[A]=N}}else if(T>=0){let e=E[o];if(e===undefined){const t=w[o];e=t?n(t):null;E[o]=e}if(e!==null){const t=g[T];const i=f<=e.length?e[f-1].slice(v,v+t.length):"";if(t===i){N=T<y.length?y[T]:-2;if(N===-2){const e=g[T];if(e){let t=d.get(e);if(t===undefined){d.set(e,t=d.size);l(t,e)}N=t}else{N=-1}y[T]=N}}}}u(t,r,a,O,f,v,N);return}}if(o){u(t,r,a,-1,-1,-1,-1);return}else{if(v[f]===-2){let t=p.get(i);if(t===undefined){p.set(e,t=p.size);c(t,i,s)}v[f]=t}}}const C=f<0||f>=v.length?-1:v[f];if(C<0){u(t,r,a,-1,-1,-1,-1)}else{let e=-1;if(T>=0&&T<y.length){e=y[T];if(e===-2){const t=g[T];let i=d.get(t);if(i===undefined){d.set(t,i=d.size);l(i,t)}e=i;y[T]=e}}u(t,r,a,C,h,k,e)}},(e,t,n)=>{if(t===i){b=e;if(s!==undefined)n=s;else s=n;v[e]=-2;r(n,a,(e,t,i,r,n,s,a)=>{while(R.length<t){R.push({mappingsData:[],chunks:[]})}const o=R[t-1];o.mappingsData.push(i,r,n,s,a);o.chunks.push(e)},(e,t,i)=>{w[e]=i;E[e]=undefined;m[e]=-2;_[e]=[t,i]},(e,t)=>{S[e]=-2;x[e]=t},false,h)}else{let i=p.get(t);if(i===undefined){p.set(t,i=p.size);c(i,t,n)}v[e]=i}},(e,t)=>{y[e]=-2;g[e]=t},f,h)};e.exports=s},264:(e,t,i)=>{"use strict";const r=i(1849);const n=i(3079);const s=(e,t,i,r)=>{let s=1;const a=n(e);let o;for(o of a){t(o,s,0,-1,-1,-1,-1);s++}return a.length===0||o.endsWith("\n")?{generatedLine:a.length+1,generatedColumn:0}:{generatedLine:a.length,generatedColumn:o.length}};e.exports=((e,t,i,n,a)=>{return a?r(e):s(e,t,i,n)})},6280:(e,t,i)=>{"use strict";const r=i(1849);const n=i(177);const s=i(7213);const a=i(3079);const o=(e,t,i,r,o)=>{const u=a(e);if(u.length===0){return{generatedLine:1,generatedColumn:0}}const{sources:c,sourcesContent:l,names:f,mappings:h}=t;for(let e=0;e<c.length;e++){r(e,n(t,e),l&&l[e]||undefined)}if(f){for(let e=0;e<f.length;e++){o(e,f[e])}}const p=u[u.length-1];const d=p.endsWith("\n");const v=d?u.length+1:u.length;const y=d?0:p.length;let g=1;let b=0;let m=false;let _=-1;let w=-1;let E=-1;let S=-1;const x=(e,t,r,n,s,a)=>{if(m&&g<=u.length){let r;const n=g;const s=b;const a=u[g-1];if(e!==g){r=a.slice(b);g++;b=0}else{r=a.slice(b,t);b=t}if(r){i(r,n,s,_,w,E,S)}m=false}if(e>g&&b>0){if(g<=u.length){const e=u[g-1].slice(b);i(e,g,b,-1,-1,-1,-1)}g++;b=0}while(e>g){if(g<=u.length){i(u[g-1],g,0,-1,-1,-1,-1)}g++}if(t>b){if(g<=u.length){const e=u[g-1].slice(b,t);i(e,g,b,-1,-1,-1,-1)}b=t}if(r>=0&&(e<v||e===v&&t<y)){m=true;_=r;w=n;E=s;S=a}};s(h,x);x(v,y,-1,-1,-1,-1);return{generatedLine:v,generatedColumn:y}};const u=(e,t,i,r,o)=>{const u=a(e);if(u.length===0){return{generatedLine:1,generatedColumn:0}}const{sources:c,sourcesContent:l,mappings:f}=t;for(let e=0;e<c.length;e++){r(e,n(t,e),l&&l[e]||undefined)}let h=1;const p=(e,t,r,n,s,a)=>{if(r<0||e<h||e>u.length){return}while(e>h){if(h<=u.length){i(u[h-1],h,0,-1,-1,-1,-1)}h++}if(e<=u.length){i(u[e-1],e,0,r,n,s,-1);h++}};s(f,p);for(;h<=u.length;h++){i(u[h-1],h,0,-1,-1,-1,-1)}const d=u[u.length-1];const v=d.endsWith("\n");const y=v?u.length+1:u.length;const g=v?0:d.length;return{generatedLine:y,generatedColumn:g}};const c=(e,t,i,a,o)=>{const u=r(e);const{generatedLine:c,generatedColumn:l}=u;if(c===1&&l===0)return u;const{sources:f,sourcesContent:h,names:p,mappings:d}=t;for(let e=0;e<f.length;e++){a(e,n(t,e),h&&h[e]||undefined)}if(p){for(let e=0;e<p.length;e++){o(e,p[e])}}let v=0;const y=(e,t,r,n,s,a)=>{if(e>=c&&(t>=l||e>c)){return}if(r>=0){i(undefined,e,t,r,n,s,a);v=e}else if(v===e){i(undefined,e,t,-1,-1,-1,-1);v=0}};s(d,y);return u};const l=(e,t,i,a,o)=>{const u=r(e);const{generatedLine:c,generatedColumn:l}=u;if(c===1&&l===0){return{generatedLine:1,generatedColumn:0}}const{sources:f,sourcesContent:h,mappings:p}=t;for(let e=0;e<f.length;e++){a(e,n(t,e),h&&h[e]||undefined)}const d=l===0?c-1:c;let v=1;const y=(e,t,r,n,s,a)=>{if(r>=0&&v<=e&&e<=d){i(undefined,e,0,r,n,s,-1);v=e+1}};s(p,y);return u};e.exports=((e,t,i,r,n,s,a)=>{if(a){return s?c(e,t,i,r,n):o(e,t,i,r,n)}else{return s?l(e,t,i,r,n):u(e,t,i,r,n)}})},932:(e,t,i)=>{const r=(e,i)=>{let r;Object.defineProperty(t,e,{get:()=>{if(i!==undefined){r=i();i=undefined}return r},configurable:true})};r("Source",()=>i(313));r("RawSource",()=>i(4798));r("OriginalSource",()=>i(1118));r("SourceMapSource",()=>i(1221));r("CachedSource",()=>i(2337));r("ConcatSource",()=>i(7634));r("ReplaceSource",()=>i(8395));r("PrefixSource",()=>i(6234));r("SizeOnlySource",()=>i(928));r("CompatSource",()=>i(4615))},7568:(e,t,i)=>{"use strict";var r=i(1871);t.center=alignCenter;t.left=alignLeft;t.right=alignRight;function createPadding(e){var t="";var i=" ";var r=e;do{if(r%2){t+=i}r=Math.floor(r/2);i+=i}while(r);return t}function alignLeft(e,t){var i=e.trimRight();if(i.length===0&&e.length>=t)return e;var n="";var s=r(i);if(s<t){n=createPadding(t-s)}return i+n}function alignRight(e,t){var i=e.trimLeft();if(i.length===0&&e.length>=t)return e;var n="";var s=r(i);if(s<t){n=createPadding(t-s)}return n+i}function alignCenter(e,t){var i=e.trim();if(i.length===0&&e.length>=t)return e;var n="";var s="";var a=r(i);if(a<t){var o=parseInt((t-a)/2,10);n=createPadding(o);s=createPadding(t-(a+o))}return n+i+s}},4586:e=>{e.exports=wrappy;function wrappy(e,t){if(e&&t)return wrappy(e)(t);if(typeof e!=="function")throw new TypeError("need wrapper function");Object.keys(e).forEach(function(t){wrapper[t]=e[t]});return wrapper;function wrapper(){var t=new Array(arguments.length);for(var i=0;i<t.length;i++){t[i]=arguments[i]}var r=e.apply(this,t);var n=t[t.length-1];if(typeof r==="function"&&r!==n){Object.keys(n).forEach(function(e){r[e]=n[e]})}return r}}},8250:e=>{e.exports='var d=Object.defineProperty;var m=e=>d(e,"__esModule",{value:!0});var y=(e,r)=>{m(e);for(var t in r)d(e,t,{get:r[t],enumerable:!0})};y(exports,{default:()=>x});function h(e){let r={};return e&&e.forEach((t,i)=>{r[i]=t,i.toLowerCase()==="set-cookie"&&(r[i]=C(t))}),r}function C(e){let r=[],t=0,i,a,p,n,s;function c(){for(;t<e.length&&/\\s/.test(e.charAt(t));)t+=1;return t<e.length}function o(){return a=e.charAt(t),a!=="="&&a!==";"&&a!==","}for(;t<e.length;){for(i=t,s=!1;c();)if(a=e.charAt(t),a===","){for(p=t,t+=1,c(),n=t;t<e.length&&o();)t+=1;t<e.length&&e.charAt(t)==="="?(s=!0,t=n,r.push(e.substring(i,p)),i=t):t=p+1}else t+=1;(!s||t>=e.length)&&r.push(e.substring(i,e.length))}return r}function x(e){let r=e.staticRoutes.map(i=>({regexp:new RegExp(i.namedRegex),page:i.page})),t=e.dynamicRoutes?.map(i=>({regexp:new RegExp(i.namedRegex),page:i.page}))||[];return async function(a,p){let n=new URL(a.url).pathname,s={};if(e.nextConfig?.basePath&&n.startsWith(e.nextConfig.basePath)&&(n=n.replace(e.nextConfig.basePath,"")||"/"),e.nextConfig?.i18n)for(let o of e.nextConfig.i18n.locales){let g=new RegExp(`^/${o}($|/)`,"i");if(n.match(g)){n=n.replace(g,"/")||"/";break}}for(let o of r)if(o.regexp.exec(n)){s.name=o.page;break}if(!s.name){let o=R(n);for(let g of t||[]){if(o&&!R(g.page))continue;let f=g.regexp.exec(n);if(f){s={name:g.page,params:f.groups};break}}}let c=await _ENTRIES[`middleware_${e.name}`].default.call({},{request:{url:a.url,method:a.method,headers:h(a.headers),ip:u(a.headers,l.Ip),geo:{city:u(a.headers,l.City,!0),country:u(a.headers,l.Country,!0),latitude:u(a.headers,l.Latitude),longitude:u(a.headers,l.Longitude),region:u(a.headers,l.Region,!0)},nextConfig:e.nextConfig,page:s,body:a.body}});return p.waitUntil(c.waitUntil),c.response}}function u(e,r,t=!1){let i=e.get(r)||void 0;return t&&i?decodeURIComponent(i):i}function R(e){return e==="/api"||e.startsWith("/api/")}var l;(function(n){n.City="x-vercel-ip-city",n.Country="x-vercel-ip-country",n.Ip="x-real-ip",n.Latitude="x-vercel-ip-latitude",n.Longitude="x-vercel-ip-longitude",n.Region="x-vercel-ip-country-region"})(l||(l={}));\n'},7916:function(e,t,i){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const n=r(i(8614));function arrayMove(e,t,i,r,n){for(let s=0;s<n;++s){i[s+r]=e[s+t];e[s+t]=void 0}}function pow2AtLeast(e){e=e>>>0;e=e-1;e=e|e>>1;e=e|e>>2;e=e|e>>4;e=e|e>>8;e=e|e>>16;return e+1}function getCapacity(e){return pow2AtLeast(Math.min(Math.max(16,e),1073741824))}class Deque{constructor(e){this._capacity=getCapacity(e);this._length=0;this._front=0;this.arr=[]}push(e){const t=this._length;this.checkCapacity(t+1);const i=this._front+t&this._capacity-1;this.arr[i]=e;this._length=t+1;return t+1}pop(){const e=this._length;if(e===0){return void 0}const t=this._front+e-1&this._capacity-1;const i=this.arr[t];this.arr[t]=void 0;this._length=e-1;return i}shift(){const e=this._length;if(e===0){return void 0}const t=this._front;const i=this.arr[t];this.arr[t]=void 0;this._front=t+1&this._capacity-1;this._length=e-1;return i}get length(){return this._length}checkCapacity(e){if(this._capacity<e){this.resizeTo(getCapacity(this._capacity*1.5+16))}}resizeTo(e){const t=this._capacity;this._capacity=e;const i=this._front;const r=this._length;if(i+r>t){const e=i+r&t-1;arrayMove(this.arr,0,this.arr,t,e)}}}class ReleaseEmitter extends n.default{}function isFn(e){return typeof e==="function"}function defaultInit(){return"1"}class Sema{constructor(e,{initFn:t=defaultInit,pauseFn:i,resumeFn:r,capacity:n=10}={}){if(isFn(i)!==isFn(r)){throw new Error("pauseFn and resumeFn must be both set for pausing")}this.nrTokens=e;this.free=new Deque(e);this.waiting=new Deque(n);this.releaseEmitter=new ReleaseEmitter;this.noTokens=t===defaultInit;this.pauseFn=i;this.resumeFn=r;this.paused=false;this.releaseEmitter.on("release",e=>{const t=this.waiting.shift();if(t){t.resolve(e)}else{if(this.resumeFn&&this.paused){this.paused=false;this.resumeFn()}this.free.push(e)}});for(let i=0;i<e;i++){this.free.push(t())}}async acquire(){let e=this.free.pop();if(e!==void 0){return e}return new Promise((e,t)=>{if(this.pauseFn&&!this.paused){this.paused=true;this.pauseFn()}this.waiting.push({resolve:e,reject:t})})}release(e){this.releaseEmitter.emit("release",this.noTokens?"1":e)}drain(){const e=new Array(this.nrTokens);for(let t=0;t<this.nrTokens;t++){e[t]=this.acquire()}return Promise.all(e)}nrWaiting(){return this.waiting.length}}t.Sema=Sema;function RateLimit(e,{timeUnit:t=1e3,uniformDistribution:i=false}={}){const r=new Sema(i?1:e);const n=i?t/e:t;return async function rl(){await r.acquire();setTimeout(()=>r.release(),n)}}t.RateLimit=RateLimit},8376:(e,t,i)=>{"use strict";var r=i(5747);var n=i(5622);var s=i(7852);Object.defineProperty(t,"commentRegex",{get:function getCommentRegex(){return/^\s*\/(?:\/|\*)[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/gm}});Object.defineProperty(t,"mapFileCommentRegex",{get:function getMapFileCommentRegex(){return/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"`]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^\*]+?)[ \t]*(?:\*\/){1}[ \t]*$)/gm}});function decodeBase64(e){return(s.Buffer.from(e,"base64")||"").toString()}function stripComment(e){return e.split(",").pop()}function readFromFileMap(e,i){var s=t.mapFileCommentRegex.exec(e);var a=s[1]||s[2];var o=n.resolve(i,a);try{return r.readFileSync(o,"utf8")}catch(e){throw new Error("An error occurred while trying to read the map file at "+o+"\n"+e)}}function Converter(e,t){t=t||{};if(t.isFileComment)e=readFromFileMap(e,t.commentFileDir);if(t.hasComment)e=stripComment(e);if(t.isEncoded)e=decodeBase64(e);if(t.isJSON||t.isEncoded)e=JSON.parse(e);this.sourcemap=e}Converter.prototype.toJSON=function(e){return JSON.stringify(this.sourcemap,null,e)};Converter.prototype.toBase64=function(){var e=this.toJSON();return(s.Buffer.from(e,"utf8")||"").toString("base64")};Converter.prototype.toComment=function(e){var t=this.toBase64();var i="sourceMappingURL=data:application/json;charset=utf-8;base64,"+t;return e&&e.multiline?"/*# "+i+" */":"//# "+i};Converter.prototype.toObject=function(){return JSON.parse(this.toJSON())};Converter.prototype.addProperty=function(e,t){if(this.sourcemap.hasOwnProperty(e))throw new Error('property "'+e+'" already exists on the sourcemap, use set property instead');return this.setProperty(e,t)};Converter.prototype.setProperty=function(e,t){this.sourcemap[e]=t;return this};Converter.prototype.getProperty=function(e){return this.sourcemap[e]};t.fromObject=function(e){return new Converter(e)};t.fromJSON=function(e){return new Converter(e,{isJSON:true})};t.fromBase64=function(e){return new Converter(e,{isEncoded:true})};t.fromComment=function(e){e=e.replace(/^\/\*/g,"//").replace(/\*\/$/g,"");return new Converter(e,{isEncoded:true,hasComment:true})};t.fromMapFileComment=function(e,t){return new Converter(e,{commentFileDir:t,isFileComment:true,isJSON:true})};t.fromSource=function(e){var i=e.match(t.commentRegex);return i?t.fromComment(i.pop()):null};t.fromMapFileSource=function(e,i){var r=e.match(t.mapFileCommentRegex);return r?t.fromMapFileComment(r.pop(),i):null};t.removeComments=function(e){return e.replace(t.commentRegex,"")};t.removeMapFileComments=function(e){return e.replace(t.mapFileCommentRegex,"")};t.generateMapFileComment=function(e,t){var i="sourceMappingURL="+e;return t&&t.multiline?"/*# "+i+" */":"//# "+i}},1426:e=>{"use strict";const t=/[|\\{}()[\]^$+*?.-]/g;e.exports=(e=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}return e.replace(t,"\\$&")})},4994:(e,t,i)=>{"use strict";const r=i(552);const n=i(5622);const s=i(9181).mkdirsSync;const a=i(8605).utimesMillisSync;const o=Symbol("notExist");function copySync(e,t,i){if(typeof i==="function"){i={filter:i}}i=i||{};i.clobber="clobber"in i?!!i.clobber:true;i.overwrite="overwrite"in i?!!i.overwrite:i.clobber;if(i.preserveTimestamps&&process.arch==="ia32"){console.warn(`fs-extra: Using the preserveTimestamps option in 32-bit node is not recommended;\n\n see https://github.com/jprichardson/node-fs-extra/issues/269`)}const a=checkPaths(e,t);if(i.filter&&!i.filter(e,t))return;const o=n.dirname(t);if(!r.existsSync(o))s(o);return startCopy(a,e,t,i)}function startCopy(e,t,i,r){if(r.filter&&!r.filter(t,i))return;return getStats(e,t,i,r)}function getStats(e,t,i,n){const s=n.dereference?r.statSync:r.lstatSync;const a=s(t);if(a.isDirectory())return onDir(a,e,t,i,n);else if(a.isFile()||a.isCharacterDevice()||a.isBlockDevice())return onFile(a,e,t,i,n);else if(a.isSymbolicLink())return onLink(e,t,i,n)}function onFile(e,t,i,r,n){if(t===o)return copyFile(e,i,r,n);return mayCopyFile(e,i,r,n)}function mayCopyFile(e,t,i,n){if(n.overwrite){r.unlinkSync(i);return copyFile(e,t,i,n)}else if(n.errorOnExist){throw new Error(`'${i}' already exists`)}}function copyFile(e,t,i,n){if(typeof r.copyFileSync==="function"){r.copyFileSync(t,i);r.chmodSync(i,e.mode);if(n.preserveTimestamps){return a(i,e.atime,e.mtime)}return}return copyFileFallback(e,t,i,n)}function copyFileFallback(e,t,n,s){const a=64*1024;const o=i(6343)(a);const u=r.openSync(t,"r");const c=r.openSync(n,"w",e.mode);let l=0;while(l<e.size){const e=r.readSync(u,o,0,a,l);r.writeSync(c,o,0,e);l+=e}if(s.preserveTimestamps)r.futimesSync(c,e.atime,e.mtime);r.closeSync(u);r.closeSync(c)}function onDir(e,t,i,r,n){if(t===o)return mkDirAndCopy(e,i,r,n);if(t&&!t.isDirectory()){throw new Error(`Cannot overwrite non-directory '${r}' with directory '${i}'.`)}return copyDir(i,r,n)}function mkDirAndCopy(e,t,i,n){r.mkdirSync(i);copyDir(t,i,n);return r.chmodSync(i,e.mode)}function copyDir(e,t,i){r.readdirSync(e).forEach(r=>copyDirItem(r,e,t,i))}function copyDirItem(e,t,i,r){const s=n.join(t,e);const a=n.join(i,e);const o=checkPaths(s,a);return startCopy(o,s,a,r)}function onLink(e,t,i,s){let a=r.readlinkSync(t);if(s.dereference){a=n.resolve(process.cwd(),a)}if(e===o){return r.symlinkSync(a,i)}else{let e;try{e=r.readlinkSync(i)}catch(e){if(e.code==="EINVAL"||e.code==="UNKNOWN")return r.symlinkSync(a,i);throw e}if(s.dereference){e=n.resolve(process.cwd(),e)}if(isSrcSubdir(a,e)){throw new Error(`Cannot copy '${a}' to a subdirectory of itself, '${e}'.`)}if(r.statSync(i).isDirectory()&&isSrcSubdir(e,a)){throw new Error(`Cannot overwrite '${e}' with '${a}'.`)}return copyLink(a,i)}}function copyLink(e,t){r.unlinkSync(t);return r.symlinkSync(e,t)}function isSrcSubdir(e,t){const i=n.resolve(e).split(n.sep);const r=n.resolve(t).split(n.sep);return i.reduce((e,t,i)=>e&&r[i]===t,true)}function checkStats(e,t){const i=r.statSync(e);let n;try{n=r.statSync(t)}catch(e){if(e.code==="ENOENT")return{srcStat:i,destStat:o};throw e}return{srcStat:i,destStat:n}}function checkPaths(e,t){const{srcStat:i,destStat:r}=checkStats(e,t);if(r.ino&&r.ino===i.ino){throw new Error("Source and destination must not be the same.")}if(i.isDirectory()&&isSrcSubdir(e,t)){throw new Error(`Cannot copy '${e}' to a subdirectory of itself, '${t}'.`)}return r}e.exports=copySync},9567:(e,t,i)=>{"use strict";e.exports={copySync:i(4994)}},4487:(e,t,i)=>{"use strict";const r=i(552);const n=i(5622);const s=i(9181).mkdirs;const a=i(5516).pathExists;const o=i(8605).utimesMillis;const u=Symbol("notExist");function copy(e,t,i,r){if(typeof i==="function"&&!r){r=i;i={}}else if(typeof i==="function"){i={filter:i}}r=r||function(){};i=i||{};i.clobber="clobber"in i?!!i.clobber:true;i.overwrite="overwrite"in i?!!i.overwrite:i.clobber;if(i.preserveTimestamps&&process.arch==="ia32"){console.warn(`fs-extra: Using the preserveTimestamps option in 32-bit node is not recommended;\n\n see https://github.com/jprichardson/node-fs-extra/issues/269`)}checkPaths(e,t,(n,s)=>{if(n)return r(n);if(i.filter)return handleFilter(checkParentDir,s,e,t,i,r);return checkParentDir(s,e,t,i,r)})}function checkParentDir(e,t,i,r,o){const u=n.dirname(i);a(u,(n,a)=>{if(n)return o(n);if(a)return startCopy(e,t,i,r,o);s(u,n=>{if(n)return o(n);return startCopy(e,t,i,r,o)})})}function handleFilter(e,t,i,r,n,s){Promise.resolve(n.filter(i,r)).then(a=>{if(a){if(t)return e(t,i,r,n,s);return e(i,r,n,s)}return s()},e=>s(e))}function startCopy(e,t,i,r,n){if(r.filter)return handleFilter(getStats,e,t,i,r,n);return getStats(e,t,i,r,n)}function getStats(e,t,i,n,s){const a=n.dereference?r.stat:r.lstat;a(t,(r,a)=>{if(r)return s(r);if(a.isDirectory())return onDir(a,e,t,i,n,s);else if(a.isFile()||a.isCharacterDevice()||a.isBlockDevice())return onFile(a,e,t,i,n,s);else if(a.isSymbolicLink())return onLink(e,t,i,n,s)})}function onFile(e,t,i,r,n,s){if(t===u)return copyFile(e,i,r,n,s);return mayCopyFile(e,i,r,n,s)}function mayCopyFile(e,t,i,n,s){if(n.overwrite){r.unlink(i,r=>{if(r)return s(r);return copyFile(e,t,i,n,s)})}else if(n.errorOnExist){return s(new Error(`'${i}' already exists`))}else return s()}function copyFile(e,t,i,n,s){if(typeof r.copyFile==="function"){return r.copyFile(t,i,t=>{if(t)return s(t);return setDestModeAndTimestamps(e,i,n,s)})}return copyFileFallback(e,t,i,n,s)}function copyFileFallback(e,t,i,n,s){const a=r.createReadStream(t);a.on("error",e=>s(e)).once("open",()=>{const t=r.createWriteStream(i,{mode:e.mode});t.on("error",e=>s(e)).on("open",()=>a.pipe(t)).once("close",()=>setDestModeAndTimestamps(e,i,n,s))})}function setDestModeAndTimestamps(e,t,i,n){r.chmod(t,e.mode,r=>{if(r)return n(r);if(i.preserveTimestamps){return o(t,e.atime,e.mtime,n)}return n()})}function onDir(e,t,i,r,n,s){if(t===u)return mkDirAndCopy(e,i,r,n,s);if(t&&!t.isDirectory()){return s(new Error(`Cannot overwrite non-directory '${r}' with directory '${i}'.`))}return copyDir(i,r,n,s)}function mkDirAndCopy(e,t,i,n,s){r.mkdir(i,a=>{if(a)return s(a);copyDir(t,i,n,t=>{if(t)return s(t);return r.chmod(i,e.mode,s)})})}function copyDir(e,t,i,n){r.readdir(e,(r,s)=>{if(r)return n(r);return copyDirItems(s,e,t,i,n)})}function copyDirItems(e,t,i,r,n){const s=e.pop();if(!s)return n();return copyDirItem(e,s,t,i,r,n)}function copyDirItem(e,t,i,r,s,a){const o=n.join(i,t);const u=n.join(r,t);checkPaths(o,u,(t,n)=>{if(t)return a(t);startCopy(n,o,u,s,t=>{if(t)return a(t);return copyDirItems(e,i,r,s,a)})})}function onLink(e,t,i,s,a){r.readlink(t,(t,o)=>{if(t)return a(t);if(s.dereference){o=n.resolve(process.cwd(),o)}if(e===u){return r.symlink(o,i,a)}else{r.readlink(i,(t,u)=>{if(t){if(t.code==="EINVAL"||t.code==="UNKNOWN")return r.symlink(o,i,a);return a(t)}if(s.dereference){u=n.resolve(process.cwd(),u)}if(isSrcSubdir(o,u)){return a(new Error(`Cannot copy '${o}' to a subdirectory of itself, '${u}'.`))}if(e.isDirectory()&&isSrcSubdir(u,o)){return a(new Error(`Cannot overwrite '${u}' with '${o}'.`))}return copyLink(o,i,a)})}})}function copyLink(e,t,i){r.unlink(t,n=>{if(n)return i(n);return r.symlink(e,t,i)})}function isSrcSubdir(e,t){const i=n.resolve(e).split(n.sep);const r=n.resolve(t).split(n.sep);return i.reduce((e,t,i)=>e&&r[i]===t,true)}function checkStats(e,t,i){r.stat(e,(e,n)=>{if(e)return i(e);r.stat(t,(e,t)=>{if(e){if(e.code==="ENOENT")return i(null,{srcStat:n,destStat:u});return i(e)}return i(null,{srcStat:n,destStat:t})})})}function checkPaths(e,t,i){checkStats(e,t,(r,n)=>{if(r)return i(r);const{srcStat:s,destStat:a}=n;if(a.ino&&a.ino===s.ino){return i(new Error("Source and destination must not be the same."))}if(s.isDirectory()&&isSrcSubdir(e,t)){return i(new Error(`Cannot copy '${e}' to a subdirectory of itself, '${t}'.`))}return i(null,a)})}e.exports=copy},8852:(e,t,i)=>{"use strict";const r=i(2703).E;e.exports={copy:r(i(4487))}},2677:(e,t,i)=>{"use strict";const r=i(2703).E;const n=i(5747);const s=i(5622);const a=i(9181);const o=i(4879);const u=r(function emptyDir(e,t){t=t||function(){};n.readdir(e,(i,r)=>{if(i)return a.mkdirs(e,t);r=r.map(t=>s.join(e,t));deleteItem();function deleteItem(){const e=r.pop();if(!e)return t();o.remove(e,e=>{if(e)return t(e);deleteItem()})}})});function emptyDirSync(e){let t;try{t=n.readdirSync(e)}catch(t){return a.mkdirsSync(e)}t.forEach(t=>{t=s.join(e,t);o.removeSync(t)})}e.exports={emptyDirSync:emptyDirSync,emptydirSync:emptyDirSync,emptyDir:u,emptydir:u}},2446:(e,t,i)=>{"use strict";const r=i(2703).E;const n=i(5622);const s=i(552);const a=i(9181);const o=i(5516).pathExists;function createFile(e,t){function makeFile(){s.writeFile(e,"",e=>{if(e)return t(e);t()})}s.stat(e,(i,r)=>{if(!i&&r.isFile())return t();const s=n.dirname(e);o(s,(e,i)=>{if(e)return t(e);if(i)return makeFile();a.mkdirs(s,e=>{if(e)return t(e);makeFile()})})})}function createFileSync(e){let t;try{t=s.statSync(e)}catch(e){}if(t&&t.isFile())return;const i=n.dirname(e);if(!s.existsSync(i)){a.mkdirsSync(i)}s.writeFileSync(e,"")}e.exports={createFile:r(createFile),createFileSync:createFileSync}},6004:(e,t,i)=>{"use strict";const r=i(2446);const n=i(9140);const s=i(3674);e.exports={createFile:r.createFile,createFileSync:r.createFileSync,ensureFile:r.createFile,ensureFileSync:r.createFileSync,createLink:n.createLink,createLinkSync:n.createLinkSync,ensureLink:n.createLink,ensureLinkSync:n.createLinkSync,createSymlink:s.createSymlink,createSymlinkSync:s.createSymlinkSync,ensureSymlink:s.createSymlink,ensureSymlinkSync:s.createSymlinkSync}},9140:(e,t,i)=>{"use strict";const r=i(2703).E;const n=i(5622);const s=i(552);const a=i(9181);const o=i(5516).pathExists;function createLink(e,t,i){function makeLink(e,t){s.link(e,t,e=>{if(e)return i(e);i(null)})}o(t,(r,u)=>{if(r)return i(r);if(u)return i(null);s.lstat(e,r=>{if(r){r.message=r.message.replace("lstat","ensureLink");return i(r)}const s=n.dirname(t);o(s,(r,n)=>{if(r)return i(r);if(n)return makeLink(e,t);a.mkdirs(s,r=>{if(r)return i(r);makeLink(e,t)})})})})}function createLinkSync(e,t){const i=s.existsSync(t);if(i)return undefined;try{s.lstatSync(e)}catch(e){e.message=e.message.replace("lstat","ensureLink");throw e}const r=n.dirname(t);const o=s.existsSync(r);if(o)return s.linkSync(e,t);a.mkdirsSync(r);return s.linkSync(e,t)}e.exports={createLink:r(createLink),createLinkSync:createLinkSync}},6522:(e,t,i)=>{"use strict";const r=i(5622);const n=i(552);const s=i(5516).pathExists;function symlinkPaths(e,t,i){if(r.isAbsolute(e)){return n.lstat(e,t=>{if(t){t.message=t.message.replace("lstat","ensureSymlink");return i(t)}return i(null,{toCwd:e,toDst:e})})}else{const a=r.dirname(t);const o=r.join(a,e);return s(o,(t,s)=>{if(t)return i(t);if(s){return i(null,{toCwd:o,toDst:e})}else{return n.lstat(e,t=>{if(t){t.message=t.message.replace("lstat","ensureSymlink");return i(t)}return i(null,{toCwd:e,toDst:r.relative(a,e)})})}})}}function symlinkPathsSync(e,t){let i;if(r.isAbsolute(e)){i=n.existsSync(e);if(!i)throw new Error("absolute srcpath does not exist");return{toCwd:e,toDst:e}}else{const s=r.dirname(t);const a=r.join(s,e);i=n.existsSync(a);if(i){return{toCwd:a,toDst:e}}else{i=n.existsSync(e);if(!i)throw new Error("relative srcpath does not exist");return{toCwd:e,toDst:r.relative(s,e)}}}}e.exports={symlinkPaths:symlinkPaths,symlinkPathsSync:symlinkPathsSync}},9634:(e,t,i)=>{"use strict";const r=i(552);function symlinkType(e,t,i){i=typeof t==="function"?t:i;t=typeof t==="function"?false:t;if(t)return i(null,t);r.lstat(e,(e,r)=>{if(e)return i(null,"file");t=r&&r.isDirectory()?"dir":"file";i(null,t)})}function symlinkTypeSync(e,t){let i;if(t)return t;try{i=r.lstatSync(e)}catch(e){return"file"}return i&&i.isDirectory()?"dir":"file"}e.exports={symlinkType:symlinkType,symlinkTypeSync:symlinkTypeSync}},3674:(e,t,i)=>{"use strict";const r=i(2703).E;const n=i(5622);const s=i(552);const a=i(9181);const o=a.mkdirs;const u=a.mkdirsSync;const c=i(6522);const l=c.symlinkPaths;const f=c.symlinkPathsSync;const h=i(9634);const p=h.symlinkType;const d=h.symlinkTypeSync;const v=i(5516).pathExists;function createSymlink(e,t,i,r){r=typeof i==="function"?i:r;i=typeof i==="function"?false:i;v(t,(a,u)=>{if(a)return r(a);if(u)return r(null);l(e,t,(a,u)=>{if(a)return r(a);e=u.toDst;p(u.toCwd,i,(i,a)=>{if(i)return r(i);const u=n.dirname(t);v(u,(i,n)=>{if(i)return r(i);if(n)return s.symlink(e,t,a,r);o(u,i=>{if(i)return r(i);s.symlink(e,t,a,r)})})})})})}function createSymlinkSync(e,t,i){const r=s.existsSync(t);if(r)return undefined;const a=f(e,t);e=a.toDst;i=d(a.toCwd,i);const o=n.dirname(t);const c=s.existsSync(o);if(c)return s.symlinkSync(e,t,i);u(o);return s.symlinkSync(e,t,i)}e.exports={createSymlink:r(createSymlink),createSymlinkSync:createSymlinkSync}},893:(e,t,i)=>{"use strict";const r=i(2703).E;const n=i(552);const s=["access","appendFile","chmod","chown","close","copyFile","fchmod","fchown","fdatasync","fstat","fsync","ftruncate","futimes","lchown","lchmod","link","lstat","mkdir","mkdtemp","open","readFile","readdir","readlink","realpath","rename","rmdir","stat","symlink","truncate","unlink","utimes","writeFile"].filter(e=>{return typeof n[e]==="function"});Object.keys(n).forEach(e=>{if(e==="promises"){return}t[e]=n[e]});s.forEach(e=>{t[e]=r(n[e])});t.exists=function(e,t){if(typeof t==="function"){return n.exists(e,t)}return new Promise(t=>{return n.exists(e,t)})};t.read=function(e,t,i,r,s,a){if(typeof a==="function"){return n.read(e,t,i,r,s,a)}return new Promise((a,o)=>{n.read(e,t,i,r,s,(e,t,i)=>{if(e)return o(e);a({bytesRead:t,buffer:i})})})};t.write=function(e,t,...i){if(typeof i[i.length-1]==="function"){return n.write(e,t,...i)}return new Promise((r,s)=>{n.write(e,t,...i,(e,t,i)=>{if(e)return s(e);r({bytesWritten:t,buffer:i})})})}},5392:(e,t,i)=>{"use strict";e.exports=Object.assign({},i(893),i(9567),i(8852),i(2677),i(6004),i(3960),i(9181),i(4168),i(7819),i(3849),i(5516),i(4879));const r=i(5747);if(Object.getOwnPropertyDescriptor(r,"promises")){Object.defineProperty(e.exports,"promises",{get(){return r.promises}})}},3960:(e,t,i)=>{"use strict";const r=i(2703).E;const n=i(4003);n.outputJson=r(i(7583));n.outputJsonSync=i(3719);n.outputJSON=n.outputJson;n.outputJSONSync=n.outputJsonSync;n.writeJSON=n.writeJson;n.writeJSONSync=n.writeJsonSync;n.readJSON=n.readJson;n.readJSONSync=n.readJsonSync;e.exports=n},4003:(e,t,i)=>{"use strict";const r=i(2703).E;const n=i(1215);e.exports={readJson:r(n.readFile),readJsonSync:n.readFileSync,writeJson:r(n.writeFile),writeJsonSync:n.writeFileSync}},3719:(e,t,i)=>{"use strict";const r=i(552);const n=i(5622);const s=i(9181);const a=i(4003);function outputJsonSync(e,t,i){const o=n.dirname(e);if(!r.existsSync(o)){s.mkdirsSync(o)}a.writeJsonSync(e,t,i)}e.exports=outputJsonSync},7583:(e,t,i)=>{"use strict";const r=i(5622);const n=i(9181);const s=i(5516).pathExists;const a=i(4003);function outputJson(e,t,i,o){if(typeof i==="function"){o=i;i={}}const u=r.dirname(e);s(u,(r,s)=>{if(r)return o(r);if(s)return a.writeJson(e,t,i,o);n.mkdirs(u,r=>{if(r)return o(r);a.writeJson(e,t,i,o)})})}e.exports=outputJson},9181:(e,t,i)=>{"use strict";const r=i(2703).E;const n=r(i(7718));const s=i(1275);e.exports={mkdirs:n,mkdirsSync:s,mkdirp:n,mkdirpSync:s,ensureDir:n,ensureDirSync:s}},1275:(e,t,i)=>{"use strict";const r=i(552);const n=i(5622);const s=i(3727).invalidWin32Path;const a=parseInt("0777",8);function mkdirsSync(e,t,i){if(!t||typeof t!=="object"){t={mode:t}}let o=t.mode;const u=t.fs||r;if(process.platform==="win32"&&s(e)){const t=new Error(e+" contains invalid WIN32 path characters.");t.code="EINVAL";throw t}if(o===undefined){o=a&~process.umask()}if(!i)i=null;e=n.resolve(e);try{u.mkdirSync(e,o);i=i||e}catch(r){if(r.code==="ENOENT"){if(n.dirname(e)===e)throw r;i=mkdirsSync(n.dirname(e),t,i);mkdirsSync(e,t,i)}else{let t;try{t=u.statSync(e)}catch(e){throw r}if(!t.isDirectory())throw r}}return i}e.exports=mkdirsSync},7718:(e,t,i)=>{"use strict";const r=i(552);const n=i(5622);const s=i(3727).invalidWin32Path;const a=parseInt("0777",8);function mkdirs(e,t,i,o){if(typeof t==="function"){i=t;t={}}else if(!t||typeof t!=="object"){t={mode:t}}if(process.platform==="win32"&&s(e)){const t=new Error(e+" contains invalid WIN32 path characters.");t.code="EINVAL";return i(t)}let u=t.mode;const c=t.fs||r;if(u===undefined){u=a&~process.umask()}if(!o)o=null;i=i||function(){};e=n.resolve(e);c.mkdir(e,u,r=>{if(!r){o=o||e;return i(null,o)}switch(r.code){case"ENOENT":if(n.dirname(e)===e)return i(r);mkdirs(n.dirname(e),t,(r,n)=>{if(r)i(r,n);else mkdirs(e,t,i,n)});break;default:c.stat(e,(e,t)=>{if(e||!t.isDirectory())i(r,o);else i(null,o)});break}})}e.exports=mkdirs},3727:(e,t,i)=>{"use strict";const r=i(5622);function getRootPath(e){e=r.normalize(r.resolve(e)).split(r.sep);if(e.length>0)return e[0];return null}const n=/[<>:"|?*]/;function invalidWin32Path(e){const t=getRootPath(e);e=e.replace(t,"");return n.test(e)}e.exports={getRootPath:getRootPath,invalidWin32Path:invalidWin32Path}},4168:(e,t,i)=>{"use strict";const r=i(552);const n=i(5622);const s=i(9567).copySync;const a=i(4879).removeSync;const o=i(9181).mkdirsSync;const u=i(6343);function moveSync(e,t,i){i=i||{};const s=i.overwrite||i.clobber||false;e=n.resolve(e);t=n.resolve(t);if(e===t)return r.accessSync(e);if(isSrcSubdir(e,t))throw new Error(`Cannot move '${e}' into itself '${t}'.`);o(n.dirname(t));tryRenameSync();function tryRenameSync(){if(s){try{return r.renameSync(e,t)}catch(r){if(r.code==="ENOTEMPTY"||r.code==="EEXIST"||r.code==="EPERM"){a(t);i.overwrite=false;return moveSync(e,t,i)}if(r.code!=="EXDEV")throw r;return moveSyncAcrossDevice(e,t,s)}}else{try{r.linkSync(e,t);return r.unlinkSync(e)}catch(i){if(i.code==="EXDEV"||i.code==="EISDIR"||i.code==="EPERM"||i.code==="ENOTSUP"){return moveSyncAcrossDevice(e,t,s)}throw i}}}}function moveSyncAcrossDevice(e,t,i){const n=r.statSync(e);if(n.isDirectory()){return moveDirSyncAcrossDevice(e,t,i)}else{return moveFileSyncAcrossDevice(e,t,i)}}function moveFileSyncAcrossDevice(e,t,i){const n=64*1024;const s=u(n);const a=i?"w":"wx";const o=r.openSync(e,"r");const c=r.fstatSync(o);const l=r.openSync(t,a,c.mode);let f=0;while(f<c.size){const e=r.readSync(o,s,0,n,f);r.writeSync(l,s,0,e);f+=e}r.closeSync(o);r.closeSync(l);return r.unlinkSync(e)}function moveDirSyncAcrossDevice(e,t,i){const r={overwrite:false};if(i){a(t);tryCopySync()}else{tryCopySync()}function tryCopySync(){s(e,t,r);return a(e)}}function isSrcSubdir(e,t){try{return r.statSync(e).isDirectory()&&e!==t&&t.indexOf(e)>-1&&t.split(n.dirname(e)+n.sep)[1].split(n.sep)[0]===n.basename(e)}catch(e){return false}}e.exports={moveSync:moveSync}},7819:(e,t,i)=>{"use strict";const r=i(2703).E;const n=i(552);const s=i(5622);const a=i(8852).copy;const o=i(4879).remove;const u=i(9181).mkdirp;const c=i(5516).pathExists;function move(e,t,i,r){if(typeof i==="function"){r=i;i={}}const a=i.overwrite||i.clobber||false;e=s.resolve(e);t=s.resolve(t);if(e===t)return n.access(e,r);n.stat(e,(i,n)=>{if(i)return r(i);if(n.isDirectory()&&isSrcSubdir(e,t)){return r(new Error(`Cannot move '${e}' to a subdirectory of itself, '${t}'.`))}u(s.dirname(t),i=>{if(i)return r(i);return doRename(e,t,a,r)})})}function doRename(e,t,i,r){if(i){return o(t,n=>{if(n)return r(n);return rename(e,t,i,r)})}c(t,(n,s)=>{if(n)return r(n);if(s)return r(new Error("dest already exists."));return rename(e,t,i,r)})}function rename(e,t,i,r){n.rename(e,t,n=>{if(!n)return r();if(n.code!=="EXDEV")return r(n);return moveAcrossDevice(e,t,i,r)})}function moveAcrossDevice(e,t,i,r){const n={overwrite:i,errorOnExist:true};a(e,t,n,t=>{if(t)return r(t);return o(e,r)})}function isSrcSubdir(e,t){const i=e.split(s.sep);const r=t.split(s.sep);return i.reduce((e,t,i)=>{return e&&r[i]===t},true)}e.exports={move:r(move)}},3849:(e,t,i)=>{"use strict";const r=i(2703).E;const n=i(552);const s=i(5622);const a=i(9181);const o=i(5516).pathExists;function outputFile(e,t,i,r){if(typeof i==="function"){r=i;i="utf8"}const u=s.dirname(e);o(u,(s,o)=>{if(s)return r(s);if(o)return n.writeFile(e,t,i,r);a.mkdirs(u,s=>{if(s)return r(s);n.writeFile(e,t,i,r)})})}function outputFileSync(e,...t){const i=s.dirname(e);if(n.existsSync(i)){return n.writeFileSync(e,...t)}a.mkdirsSync(i);n.writeFileSync(e,...t)}e.exports={outputFile:r(outputFile),outputFileSync:outputFileSync}},5516:(e,t,i)=>{"use strict";const r=i(2703).p;const n=i(893);function pathExists(e){return n.access(e).then(()=>true).catch(()=>false)}e.exports={pathExists:r(pathExists),pathExistsSync:n.existsSync}},4879:(e,t,i)=>{"use strict";const r=i(2703).E;const n=i(7137);e.exports={remove:r(n),removeSync:n.sync}},7137:(e,t,i)=>{"use strict";const r=i(552);const n=i(5622);const s=i(2357);const a=process.platform==="win32";function defaults(e){const t=["unlink","chmod","stat","lstat","rmdir","readdir"];t.forEach(t=>{e[t]=e[t]||r[t];t=t+"Sync";e[t]=e[t]||r[t]});e.maxBusyTries=e.maxBusyTries||3}function rimraf(e,t,i){let r=0;if(typeof t==="function"){i=t;t={}}s(e,"rimraf: missing path");s.strictEqual(typeof e,"string","rimraf: path should be a string");s.strictEqual(typeof i,"function","rimraf: callback function required");s(t,"rimraf: invalid options argument provided");s.strictEqual(typeof t,"object","rimraf: options should be object");defaults(t);rimraf_(e,t,function CB(n){if(n){if((n.code==="EBUSY"||n.code==="ENOTEMPTY"||n.code==="EPERM")&&r<t.maxBusyTries){r++;const i=r*100;return setTimeout(()=>rimraf_(e,t,CB),i)}if(n.code==="ENOENT")n=null}i(n)})}function rimraf_(e,t,i){s(e);s(t);s(typeof i==="function");t.lstat(e,(r,n)=>{if(r&&r.code==="ENOENT"){return i(null)}if(r&&r.code==="EPERM"&&a){return fixWinEPERM(e,t,r,i)}if(n&&n.isDirectory()){return rmdir(e,t,r,i)}t.unlink(e,r=>{if(r){if(r.code==="ENOENT"){return i(null)}if(r.code==="EPERM"){return a?fixWinEPERM(e,t,r,i):rmdir(e,t,r,i)}if(r.code==="EISDIR"){return rmdir(e,t,r,i)}}return i(r)})})}function fixWinEPERM(e,t,i,r){s(e);s(t);s(typeof r==="function");if(i){s(i instanceof Error)}t.chmod(e,438,n=>{if(n){r(n.code==="ENOENT"?null:i)}else{t.stat(e,(n,s)=>{if(n){r(n.code==="ENOENT"?null:i)}else if(s.isDirectory()){rmdir(e,t,i,r)}else{t.unlink(e,r)}})}})}function fixWinEPERMSync(e,t,i){let r;s(e);s(t);if(i){s(i instanceof Error)}try{t.chmodSync(e,438)}catch(e){if(e.code==="ENOENT"){return}else{throw i}}try{r=t.statSync(e)}catch(e){if(e.code==="ENOENT"){return}else{throw i}}if(r.isDirectory()){rmdirSync(e,t,i)}else{t.unlinkSync(e)}}function rmdir(e,t,i,r){s(e);s(t);if(i){s(i instanceof Error)}s(typeof r==="function");t.rmdir(e,n=>{if(n&&(n.code==="ENOTEMPTY"||n.code==="EEXIST"||n.code==="EPERM")){rmkids(e,t,r)}else if(n&&n.code==="ENOTDIR"){r(i)}else{r(n)}})}function rmkids(e,t,i){s(e);s(t);s(typeof i==="function");t.readdir(e,(r,s)=>{if(r)return i(r);let a=s.length;let o;if(a===0)return t.rmdir(e,i);s.forEach(r=>{rimraf(n.join(e,r),t,r=>{if(o){return}if(r)return i(o=r);if(--a===0){t.rmdir(e,i)}})})})}function rimrafSync(e,t){let i;t=t||{};defaults(t);s(e,"rimraf: missing path");s.strictEqual(typeof e,"string","rimraf: path should be a string");s(t,"rimraf: missing options");s.strictEqual(typeof t,"object","rimraf: options should be object");try{i=t.lstatSync(e)}catch(i){if(i.code==="ENOENT"){return}if(i.code==="EPERM"&&a){fixWinEPERMSync(e,t,i)}}try{if(i&&i.isDirectory()){rmdirSync(e,t,null)}else{t.unlinkSync(e)}}catch(i){if(i.code==="ENOENT"){return}else if(i.code==="EPERM"){return a?fixWinEPERMSync(e,t,i):rmdirSync(e,t,i)}else if(i.code!=="EISDIR"){throw i}rmdirSync(e,t,i)}}function rmdirSync(e,t,i){s(e);s(t);if(i){s(i instanceof Error)}try{t.rmdirSync(e)}catch(r){if(r.code==="ENOTDIR"){throw i}else if(r.code==="ENOTEMPTY"||r.code==="EEXIST"||r.code==="EPERM"){rmkidsSync(e,t)}else if(r.code!=="ENOENT"){throw r}}}function rmkidsSync(e,t){s(e);s(t);t.readdirSync(e).forEach(i=>rimrafSync(n.join(e,i),t));const i=a?100:1;let r=0;do{let n=true;try{const s=t.rmdirSync(e,t);n=false;return s}finally{if(++r<i&&n)continue}}while(true)}e.exports=rimraf;rimraf.sync=rimrafSync},6343:e=>{"use strict";e.exports=function(e){if(typeof Buffer.allocUnsafe==="function"){try{return Buffer.allocUnsafe(e)}catch(t){return new Buffer(e)}}return new Buffer(e)}},8605:(e,t,i)=>{"use strict";const r=i(552);const n=i(2087);const s=i(5622);function hasMillisResSync(){let e=s.join("millis-test-sync"+Date.now().toString()+Math.random().toString().slice(2));e=s.join(n.tmpdir(),e);const t=new Date(1435410243862);r.writeFileSync(e,"https://github.com/jprichardson/node-fs-extra/pull/141");const i=r.openSync(e,"r+");r.futimesSync(i,t,t);r.closeSync(i);return r.statSync(e).mtime>1435410243e3}function hasMillisRes(e){let t=s.join("millis-test"+Date.now().toString()+Math.random().toString().slice(2));t=s.join(n.tmpdir(),t);const i=new Date(1435410243862);r.writeFile(t,"https://github.com/jprichardson/node-fs-extra/pull/141",n=>{if(n)return e(n);r.open(t,"r+",(n,s)=>{if(n)return e(n);r.futimes(s,i,i,i=>{if(i)return e(i);r.close(s,i=>{if(i)return e(i);r.stat(t,(t,i)=>{if(t)return e(t);e(null,i.mtime>1435410243e3)})})})})})}function timeRemoveMillis(e){if(typeof e==="number"){return Math.floor(e/1e3)*1e3}else if(e instanceof Date){return new Date(Math.floor(e.getTime()/1e3)*1e3)}else{throw new Error("fs-extra: timeRemoveMillis() unknown parameter type")}}function utimesMillis(e,t,i,n){r.open(e,"r+",(e,s)=>{if(e)return n(e);r.futimes(s,t,i,e=>{r.close(s,t=>{if(n)n(e||t)})})})}function utimesMillisSync(e,t,i){const n=r.openSync(e,"r+");r.futimesSync(n,t,i);return r.closeSync(n)}e.exports={hasMillisRes:hasMillisRes,hasMillisResSync:hasMillisResSync,timeRemoveMillis:timeRemoveMillis,utimesMillis:utimesMillis,utimesMillisSync:utimesMillisSync}},9293:(e,t,i)=>{"use strict";const r=i(5622);const n=i(2282);const s=i(5747);const a=(e,t,i)=>{if(typeof e!=="string"){throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof e}\``)}if(typeof t!=="string"){throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof t}\``)}try{e=s.realpathSync(e)}catch(t){if(t.code==="ENOENT"){e=r.resolve(e)}else if(i){return}else{throw t}}const a=r.join(e,"noop.js");const o=()=>n._resolveFilename(t,{id:a,filename:a,paths:n._nodeModulePaths(e)});if(i){try{return o()}catch(e){return}}return o()};e.exports=((e,t)=>a(e,t));e.exports.silent=((e,t)=>a(e,t,true))},7852:(e,t,i)=>{var r=i(4293);var n=r.Buffer;function copyProps(e,t){for(var i in e){t[i]=e[i]}}if(n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow){e.exports=r}else{copyProps(r,t);t.Buffer=SafeBuffer}function SafeBuffer(e,t,i){return n(e,t,i)}copyProps(n,SafeBuffer);SafeBuffer.from=function(e,t,i){if(typeof e==="number"){throw new TypeError("Argument must not be a number")}return n(e,t,i)};SafeBuffer.alloc=function(e,t,i){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}var r=n(e);if(t!==undefined){if(typeof i==="string"){r.fill(t,i)}else{r.fill(t)}}else{r.fill(0)}return r};SafeBuffer.allocUnsafe=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return n(e)};SafeBuffer.allocUnsafeSlow=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return r.SlowBuffer(e)}},2879:(e,t)=>{t=e.exports=SemVer;var i;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){i=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER");console.log.apply(console,e)}}else{i=function(){}}t.SEMVER_SPEC_VERSION="2.0.0";var r=256;var n=Number.MAX_SAFE_INTEGER||9007199254740991;var s=16;var a=t.re=[];var o=t.src=[];var u=0;var c=u++;o[c]="0|[1-9]\\d*";var l=u++;o[l]="[0-9]+";var f=u++;o[f]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var h=u++;o[h]="("+o[c]+")\\."+"("+o[c]+")\\."+"("+o[c]+")";var p=u++;o[p]="("+o[l]+")\\."+"("+o[l]+")\\."+"("+o[l]+")";var d=u++;o[d]="(?:"+o[c]+"|"+o[f]+")";var v=u++;o[v]="(?:"+o[l]+"|"+o[f]+")";var y=u++;o[y]="(?:-("+o[d]+"(?:\\."+o[d]+")*))";var g=u++;o[g]="(?:-?("+o[v]+"(?:\\."+o[v]+")*))";var b=u++;o[b]="[0-9A-Za-z-]+";var m=u++;o[m]="(?:\\+("+o[b]+"(?:\\."+o[b]+")*))";var _=u++;var w="v?"+o[h]+o[y]+"?"+o[m]+"?";o[_]="^"+w+"$";var E="[v=\\s]*"+o[p]+o[g]+"?"+o[m]+"?";var S=u++;o[S]="^"+E+"$";var x=u++;o[x]="((?:<|>)?=?)";var R=u++;o[R]=o[l]+"|x|X|\\*";var A=u++;o[A]=o[c]+"|x|X|\\*";var k=u++;o[k]="[v=\\s]*("+o[A]+")"+"(?:\\.("+o[A]+")"+"(?:\\.("+o[A]+")"+"(?:"+o[y]+")?"+o[m]+"?"+")?)?";var T=u++;o[T]="[v=\\s]*("+o[R]+")"+"(?:\\.("+o[R]+")"+"(?:\\.("+o[R]+")"+"(?:"+o[g]+")?"+o[m]+"?"+")?)?";var C=u++;o[C]="^"+o[x]+"\\s*"+o[k]+"$";var O=u++;o[O]="^"+o[x]+"\\s*"+o[T]+"$";var N=u++;o[N]="(?:^|[^\\d])"+"(\\d{1,"+s+"})"+"(?:\\.(\\d{1,"+s+"}))?"+"(?:\\.(\\d{1,"+s+"}))?"+"(?:$|[^\\d])";var j=u++;o[j]="(?:~>?)";var I=u++;o[I]="(\\s*)"+o[j]+"\\s+";a[I]=new RegExp(o[I],"g");var $="$1~";var P=u++;o[P]="^"+o[j]+o[k]+"$";var F=u++;o[F]="^"+o[j]+o[T]+"$";var L=u++;o[L]="(?:\\^)";var B=u++;o[B]="(\\s*)"+o[L]+"\\s+";a[B]=new RegExp(o[B],"g");var D="$1^";var H=u++;o[H]="^"+o[L]+o[k]+"$";var U=u++;o[U]="^"+o[L]+o[T]+"$";var W=u++;o[W]="^"+o[x]+"\\s*("+E+")$|^$";var q=u++;o[q]="^"+o[x]+"\\s*("+w+")$|^$";var G=u++;o[G]="(\\s*)"+o[x]+"\\s*("+E+"|"+o[k]+")";a[G]=new RegExp(o[G],"g");var V="$1$2$3";var z=u++;o[z]="^\\s*("+o[k]+")"+"\\s+-\\s+"+"("+o[k]+")"+"\\s*$";var M=u++;o[M]="^\\s*("+o[T]+")"+"\\s+-\\s+"+"("+o[T]+")"+"\\s*$";var X=u++;o[X]="(<|>)?=?\\s*\\*";for(var K=0;K<u;K++){i(K,o[K]);if(!a[K]){a[K]=new RegExp(o[K])}}t.parse=parse;function parse(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){return e}if(typeof e!=="string"){return null}if(e.length>r){return null}var i=t.loose?a[S]:a[_];if(!i.test(e)){return null}try{return new SemVer(e,t)}catch(e){return null}}t.valid=valid;function valid(e,t){var i=parse(e,t);return i?i.version:null}t.clean=clean;function clean(e,t){var i=parse(e.trim().replace(/^[=v]+/,""),t);return i?i.version:null}t.SemVer=SemVer;function SemVer(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){if(e.loose===t.loose){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError("Invalid Version: "+e)}if(e.length>r){throw new TypeError("version is longer than "+r+" characters")}if(!(this instanceof SemVer)){return new SemVer(e,t)}i("SemVer",e,t);this.options=t;this.loose=!!t.loose;var s=e.trim().match(t.loose?a[S]:a[_]);if(!s){throw new TypeError("Invalid Version: "+e)}this.raw=e;this.major=+s[1];this.minor=+s[2];this.patch=+s[3];if(this.major>n||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>n||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>n||this.patch<0){throw new TypeError("Invalid patch version")}if(!s[4]){this.prerelease=[]}else{this.prerelease=s[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<n){return t}}return e})}this.build=s[5]?s[5].split("."):[];this.format()}SemVer.prototype.format=function(){this.version=this.major+"."+this.minor+"."+this.patch;if(this.prerelease.length){this.version+="-"+this.prerelease.join(".")}return this.version};SemVer.prototype.toString=function(){return this.version};SemVer.prototype.compare=function(e){i("SemVer.compare",this.version,this.options,e);if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}return this.compareMain(e)||this.comparePre(e)};SemVer.prototype.compareMain=function(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}return compareIdentifiers(this.major,e.major)||compareIdentifiers(this.minor,e.minor)||compareIdentifiers(this.patch,e.patch)};SemVer.prototype.comparePre=function(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}if(this.prerelease.length&&!e.prerelease.length){return-1}else if(!this.prerelease.length&&e.prerelease.length){return 1}else if(!this.prerelease.length&&!e.prerelease.length){return 0}var t=0;do{var r=this.prerelease[t];var n=e.prerelease[t];i("prerelease compare",t,r,n);if(r===undefined&&n===undefined){return 0}else if(n===undefined){return 1}else if(r===undefined){return-1}else if(r===n){continue}else{return compareIdentifiers(r,n)}}while(++t)};SemVer.prototype.compareBuild=function(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}var t=0;do{var r=this.build[t];var n=e.build[t];i("prerelease compare",t,r,n);if(r===undefined&&n===undefined){return 0}else if(n===undefined){return 1}else if(r===undefined){return-1}else if(r===n){continue}else{return compareIdentifiers(r,n)}}while(++t)};SemVer.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0;this.patch=0;this.minor=0;this.major++;this.inc("pre",t);break;case"preminor":this.prerelease.length=0;this.patch=0;this.minor++;this.inc("pre",t);break;case"prepatch":this.prerelease.length=0;this.inc("patch",t);this.inc("pre",t);break;case"prerelease":if(this.prerelease.length===0){this.inc("patch",t)}this.inc("pre",t);break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0){this.major++}this.minor=0;this.patch=0;this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0){this.minor++}this.patch=0;this.prerelease=[];break;case"patch":if(this.prerelease.length===0){this.patch++}this.prerelease=[];break;case"pre":if(this.prerelease.length===0){this.prerelease=[0]}else{var i=this.prerelease.length;while(--i>=0){if(typeof this.prerelease[i]==="number"){this.prerelease[i]++;i=-2}}if(i===-1){this.prerelease.push(0)}}if(t){if(this.prerelease[0]===t){if(isNaN(this.prerelease[1])){this.prerelease=[t,0]}}else{this.prerelease=[t,0]}}break;default:throw new Error("invalid increment argument: "+e)}this.format();this.raw=this.version;return this};t.inc=inc;function inc(e,t,i,r){if(typeof i==="string"){r=i;i=undefined}try{return new SemVer(e,i).inc(t,r).version}catch(e){return null}}t.diff=diff;function diff(e,t){if(eq(e,t)){return null}else{var i=parse(e);var r=parse(t);var n="";if(i.prerelease.length||r.prerelease.length){n="pre";var s="prerelease"}for(var a in i){if(a==="major"||a==="minor"||a==="patch"){if(i[a]!==r[a]){return n+a}}}return s}}t.compareIdentifiers=compareIdentifiers;var Y=/^[0-9]+$/;function compareIdentifiers(e,t){var i=Y.test(e);var r=Y.test(t);if(i&&r){e=+e;t=+t}return e===t?0:i&&!r?-1:r&&!i?1:e<t?-1:1}t.rcompareIdentifiers=rcompareIdentifiers;function rcompareIdentifiers(e,t){return compareIdentifiers(t,e)}t.major=major;function major(e,t){return new SemVer(e,t).major}t.minor=minor;function minor(e,t){return new SemVer(e,t).minor}t.patch=patch;function patch(e,t){return new SemVer(e,t).patch}t.compare=compare;function compare(e,t,i){return new SemVer(e,i).compare(new SemVer(t,i))}t.compareLoose=compareLoose;function compareLoose(e,t){return compare(e,t,true)}t.compareBuild=compareBuild;function compareBuild(e,t,i){var r=new SemVer(e,i);var n=new SemVer(t,i);return r.compare(n)||r.compareBuild(n)}t.rcompare=rcompare;function rcompare(e,t,i){return compare(t,e,i)}t.sort=sort;function sort(e,i){return e.sort(function(e,r){return t.compareBuild(e,r,i)})}t.rsort=rsort;function rsort(e,i){return e.sort(function(e,r){return t.compareBuild(r,e,i)})}t.gt=gt;function gt(e,t,i){return compare(e,t,i)>0}t.lt=lt;function lt(e,t,i){return compare(e,t,i)<0}t.eq=eq;function eq(e,t,i){return compare(e,t,i)===0}t.neq=neq;function neq(e,t,i){return compare(e,t,i)!==0}t.gte=gte;function gte(e,t,i){return compare(e,t,i)>=0}t.lte=lte;function lte(e,t,i){return compare(e,t,i)<=0}t.cmp=cmp;function cmp(e,t,i,r){switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof i==="object")i=i.version;return e===i;case"!==":if(typeof e==="object")e=e.version;if(typeof i==="object")i=i.version;return e!==i;case"":case"=":case"==":return eq(e,i,r);case"!=":return neq(e,i,r);case">":return gt(e,i,r);case">=":return gte(e,i,r);case"<":return lt(e,i,r);case"<=":return lte(e,i,r);default:throw new TypeError("Invalid operator: "+t)}}t.Comparator=Comparator;function Comparator(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}if(!(this instanceof Comparator)){return new Comparator(e,t)}i("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===Q){this.value=""}else{this.value=this.operator+this.semver.version}i("comp",this)}var Q={};Comparator.prototype.parse=function(e){var t=this.options.loose?a[W]:a[q];var i=e.match(t);if(!i){throw new TypeError("Invalid comparator: "+e)}this.operator=i[1]!==undefined?i[1]:"";if(this.operator==="="){this.operator=""}if(!i[2]){this.semver=Q}else{this.semver=new SemVer(i[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(e){i("Comparator.test",e,this.options.loose);if(this.semver===Q||e===Q){return true}if(typeof e==="string"){e=new SemVer(e,this.options)}return cmp(e,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}var i;if(this.operator===""){if(this.value===""){return true}i=new Range(e.value,t);return satisfies(this.value,i,t)}else if(e.operator===""){if(e.value===""){return true}i=new Range(this.value,t);return satisfies(e.semver,i,t)}var r=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");var n=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");var s=this.semver.version===e.semver.version;var a=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");var o=cmp(this.semver,"<",e.semver,t)&&((this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"));var u=cmp(this.semver,">",e.semver,t)&&((this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">"));return r||n||s&&a||o||u};t.Range=Range;function Range(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof Comparator){return new Range(e.value,t)}if(!(this instanceof Range)){return new Range(e,t)}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e;this.set=e.split(/\s*\|\|\s*/).map(function(e){return this.parseRange(e.trim())},this).filter(function(e){return e.length});if(!this.set.length){throw new TypeError("Invalid SemVer Range: "+e)}this.format()}Range.prototype.format=function(){this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim();return this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var r=t?a[M]:a[z];e=e.replace(r,hyphenReplace);i("hyphen replace",e);e=e.replace(a[G],V);i("comparator trim",e,a[G]);e=e.replace(a[I],$);e=e.replace(a[B],D);e=e.split(/\s+/).join(" ");var n=t?a[W]:a[q];var s=e.split(" ").map(function(e){return parseComparator(e,this.options)},this).join(" ").split(/\s+/);if(this.options.loose){s=s.filter(function(e){return!!e.match(n)})}s=s.map(function(e){return new Comparator(e,this.options)},this);return s};Range.prototype.intersects=function(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some(function(i){return isSatisfiable(i,t)&&e.set.some(function(e){return isSatisfiable(e,t)&&i.every(function(i){return e.every(function(e){return i.intersects(e,t)})})})})};function isSatisfiable(e,t){var i=true;var r=e.slice();var n=r.pop();while(i&&r.length){i=r.every(function(e){return n.intersects(e,t)});n=r.pop()}return i}t.toComparators=toComparators;function toComparators(e,t){return new Range(e,t).set.map(function(e){return e.map(function(e){return e.value}).join(" ").trim().split(" ")})}function parseComparator(e,t){i("comp",e,t);e=replaceCarets(e,t);i("caret",e);e=replaceTildes(e,t);i("tildes",e);e=replaceXRanges(e,t);i("xrange",e);e=replaceStars(e,t);i("stars",e);return e}function isX(e){return!e||e.toLowerCase()==="x"||e==="*"}function replaceTildes(e,t){return e.trim().split(/\s+/).map(function(e){return replaceTilde(e,t)}).join(" ")}function replaceTilde(e,t){var r=t.loose?a[F]:a[P];return e.replace(r,function(t,r,n,s,a){i("tilde",e,t,r,n,s,a);var o;if(isX(r)){o=""}else if(isX(n)){o=">="+r+".0.0 <"+(+r+1)+".0.0"}else if(isX(s)){o=">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0"}else if(a){i("replaceTilde pr",a);o=">="+r+"."+n+"."+s+"-"+a+" <"+r+"."+(+n+1)+".0"}else{o=">="+r+"."+n+"."+s+" <"+r+"."+(+n+1)+".0"}i("tilde return",o);return o})}function replaceCarets(e,t){return e.trim().split(/\s+/).map(function(e){return replaceCaret(e,t)}).join(" ")}function replaceCaret(e,t){i("caret",e,t);var r=t.loose?a[U]:a[H];return e.replace(r,function(t,r,n,s,a){i("caret",e,t,r,n,s,a);var o;if(isX(r)){o=""}else if(isX(n)){o=">="+r+".0.0 <"+(+r+1)+".0.0"}else if(isX(s)){if(r==="0"){o=">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0"}else{o=">="+r+"."+n+".0 <"+(+r+1)+".0.0"}}else if(a){i("replaceCaret pr",a);if(r==="0"){if(n==="0"){o=">="+r+"."+n+"."+s+"-"+a+" <"+r+"."+n+"."+(+s+1)}else{o=">="+r+"."+n+"."+s+"-"+a+" <"+r+"."+(+n+1)+".0"}}else{o=">="+r+"."+n+"."+s+"-"+a+" <"+(+r+1)+".0.0"}}else{i("no pr");if(r==="0"){if(n==="0"){o=">="+r+"."+n+"."+s+" <"+r+"."+n+"."+(+s+1)}else{o=">="+r+"."+n+"."+s+" <"+r+"."+(+n+1)+".0"}}else{o=">="+r+"."+n+"."+s+" <"+(+r+1)+".0.0"}}i("caret return",o);return o})}function replaceXRanges(e,t){i("replaceXRanges",e,t);return e.split(/\s+/).map(function(e){return replaceXRange(e,t)}).join(" ")}function replaceXRange(e,t){e=e.trim();var r=t.loose?a[O]:a[C];return e.replace(r,function(t,r,n,s,a,o){i("xRange",e,t,r,n,s,a,o);var u=isX(n);var c=u||isX(s);var l=c||isX(a);var f=l;if(r==="="&&f){r=""}if(u){if(r===">"||r==="<"){t="<0.0.0"}else{t="*"}}else if(r&&f){if(c){s=0}a=0;if(r===">"){r=">=";if(c){n=+n+1;s=0;a=0}else{s=+s+1;a=0}}else if(r==="<="){r="<";if(c){n=+n+1}else{s=+s+1}}t=r+n+"."+s+"."+a}else if(c){t=">="+n+".0.0 <"+(+n+1)+".0.0"}else if(l){t=">="+n+"."+s+".0 <"+n+"."+(+s+1)+".0"}i("xRange return",t);return t})}function replaceStars(e,t){i("replaceStars",e,t);return e.trim().replace(a[X],"")}function hyphenReplace(e,t,i,r,n,s,a,o,u,c,l,f,h){if(isX(i)){t=""}else if(isX(r)){t=">="+i+".0.0"}else if(isX(n)){t=">="+i+"."+r+".0"}else{t=">="+t}if(isX(u)){o=""}else if(isX(c)){o="<"+(+u+1)+".0.0"}else if(isX(l)){o="<"+u+"."+(+c+1)+".0"}else if(f){o="<="+u+"."+c+"."+l+"-"+f}else{o="<="+o}return(t+" "+o).trim()}Range.prototype.test=function(e){if(!e){return false}if(typeof e==="string"){e=new SemVer(e,this.options)}for(var t=0;t<this.set.length;t++){if(testSet(this.set[t],e,this.options)){return true}}return false};function testSet(e,t,r){for(var n=0;n<e.length;n++){if(!e[n].test(t)){return false}}if(t.prerelease.length&&!r.includePrerelease){for(n=0;n<e.length;n++){i(e[n].semver);if(e[n].semver===Q){continue}if(e[n].semver.prerelease.length>0){var s=e[n].semver;if(s.major===t.major&&s.minor===t.minor&&s.patch===t.patch){return true}}}return false}return true}t.satisfies=satisfies;function satisfies(e,t,i){try{t=new Range(t,i)}catch(e){return false}return t.test(e)}t.maxSatisfying=maxSatisfying;function maxSatisfying(e,t,i){var r=null;var n=null;try{var s=new Range(t,i)}catch(e){return null}e.forEach(function(e){if(s.test(e)){if(!r||n.compare(e)===-1){r=e;n=new SemVer(r,i)}}});return r}t.minSatisfying=minSatisfying;function minSatisfying(e,t,i){var r=null;var n=null;try{var s=new Range(t,i)}catch(e){return null}e.forEach(function(e){if(s.test(e)){if(!r||n.compare(e)===1){r=e;n=new SemVer(r,i)}}});return r}t.minVersion=minVersion;function minVersion(e,t){e=new Range(e,t);var i=new SemVer("0.0.0");if(e.test(i)){return i}i=new SemVer("0.0.0-0");if(e.test(i)){return i}i=null;for(var r=0;r<e.set.length;++r){var n=e.set[r];n.forEach(function(e){var t=new SemVer(e.semver.version);switch(e.operator){case">":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!i||gt(i,t)){i=t}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}})}if(i&&e.test(i)){return i}return null}t.validRange=validRange;function validRange(e,t){try{return new Range(e,t).range||"*"}catch(e){return null}}t.ltr=ltr;function ltr(e,t,i){return outside(e,t,"<",i)}t.gtr=gtr;function gtr(e,t,i){return outside(e,t,">",i)}t.outside=outside;function outside(e,t,i,r){e=new SemVer(e,r);t=new Range(t,r);var n,s,a,o,u;switch(i){case">":n=gt;s=lte;a=lt;o=">";u=">=";break;case"<":n=lt;s=gte;a=gt;o="<";u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(e,t,r)){return false}for(var c=0;c<t.set.length;++c){var l=t.set[c];var f=null;var h=null;l.forEach(function(e){if(e.semver===Q){e=new Comparator(">=0.0.0")}f=f||e;h=h||e;if(n(e.semver,f.semver,r)){f=e}else if(a(e.semver,h.semver,r)){h=e}});if(f.operator===o||f.operator===u){return false}if((!h.operator||h.operator===o)&&s(e,h.semver)){return false}else if(h.operator===u&&a(e,h.semver)){return false}}return true}t.prerelease=prerelease;function prerelease(e,t){var i=parse(e,t);return i&&i.prerelease.length?i.prerelease:null}t.intersects=intersects;function intersects(e,t,i){e=new Range(e,i);t=new Range(t,i);return e.intersects(t)}t.coerce=coerce;function coerce(e,t){if(e instanceof SemVer){return e}if(typeof e!=="string"){return null}var i=e.match(a[N]);if(i==null){return null}return parse(i[1]+"."+(i[2]||"0")+"."+(i[3]||"0"),t)}},4628:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.collectHasSegments=t.sourceToRegex=t.convertTrailingSlash=t.convertHeaders=t.convertRewrites=t.convertRedirects=t.convertCleanUrls=t.getCleanUrls=void 0;const r=i(8835);const n=i(6671);const s="__UN_NAMED_SEGMENT__";function getCleanUrls(e){const t=e.map(toRoute).filter(e=>e.endsWith(".html")).map(e=>({html:e,clean:e.slice(0,-5)}));return t}t.getCleanUrls=getCleanUrls;function convertCleanUrls(e,t,i=308){const r=[];if(e){const e=t?"/$1/":"/$1";r.push({src:"^/(?:(.+)/)?index(?:\\.html)?/?$",headers:{Location:e},status:i});r.push({src:"^/(.*)\\.html/?$",headers:{Location:e},status:i})}return r}t.convertCleanUrls=convertCleanUrls;function convertRedirects(e,t=308){return e.map(e=>{const{src:i,segments:r}=sourceToRegex(e.source);const n=collectHasSegments(e.has);try{const s=replaceSegments(r,n,e.destination,true);let a;if(typeof e.permanent==="boolean"){a=e.permanent?308:307}else if(e.statusCode){a=e.statusCode}else{a=t}const o={src:i,headers:{Location:s},status:a};if(e.has){o.has=e.has}return o}catch(t){throw new Error(`Failed to parse redirect: ${JSON.stringify(e)}`)}})}t.convertRedirects=convertRedirects;function convertRewrites(e,t){return e.map(e=>{const{src:i,segments:r}=sourceToRegex(e.source);const n=collectHasSegments(e.has);try{const s=replaceSegments(r,n,e.destination,false,t);const a={src:i,dest:s,check:true};if(e.has){a.has=e.has}return a}catch(t){throw new Error(`Failed to parse rewrite: ${JSON.stringify(e)}`)}})}t.convertRewrites=convertRewrites;function convertHeaders(e){return e.map(e=>{const t={};const{src:i,segments:r}=sourceToRegex(e.source);const n=collectHasSegments(e.has);const a=r.filter(e=>e!==s);const o={};r.forEach((e,t)=>{o[e]=toSegmentDest(t)});n.forEach(e=>{o[e]="$"+e});e.headers.forEach(({key:e,value:i})=>{if(a.length>0||n.length>0){if(e.includes(":")){e=safelyCompile(e,o)}if(i.includes(":")){i=safelyCompile(i,o)}}t[e]=i});const u={src:i,headers:t,continue:true};if(e.has){u.has=e.has}return u})}t.convertHeaders=convertHeaders;function convertTrailingSlash(e,t=308){const i=[];if(e){i.push({src:"^/\\.well-known(?:/.*)?$"});i.push({src:"^/((?:[^/]+/)*[^/\\.]+)$",headers:{Location:"/$1/"},status:t});i.push({src:"^/((?:[^/]+/)*[^/]+\\.\\w+)/$",headers:{Location:"/$1"},status:t})}else{i.push({src:"^/(.*)\\/$",headers:{Location:"/$1"},status:t})}return i}t.convertTrailingSlash=convertTrailingSlash;function sourceToRegex(e){const t=[];const i=n.pathToRegexp(e,t,{strict:true,sensitive:true,delimiter:"/"});const r=t.map(e=>e.name).map(e=>{if(typeof e!=="string"){return s}return e});return{src:i.source,segments:r}}t.sourceToRegex=sourceToRegex;const a=/\(\?<([a-zA-Z][a-zA-Z0-9]*)>/g;function collectHasSegments(e){const t=new Set;for(const i of e||[]){if("key"in i&&i.type==="header"){i.key=i.key.toLowerCase()}if(!i.value&&"key"in i){t.add(i.key)}if(i.value){for(const e of i.value.matchAll(a)){if(e[1]){t.add(e[1])}}if(i.type==="host"){t.add("host")}}}return[...t]}t.collectHasSegments=collectHasSegments;const o=(e,t)=>e.replace(new RegExp(`:${t}`,"g"),`__ESC_COLON_${t}`);const u=e=>e.replace(/__ESC_COLON_/gi,":");function replaceSegments(e,t,i,a,c){const l=e.filter(e=>e!==s);const f=i.includes(":")&&l.length>0||t.length>0||!a;if(!f){return i}let h=i;const p={};e.forEach((e,t)=>{p[e]=toSegmentDest(t);h=o(h,e)});t.forEach(e=>{p[e]="$"+e;h=o(h,e)});const d=r.parse(h,true);delete d.href;delete d.path;delete d.search;delete d.host;let{pathname:v,hash:y,query:g,hostname:b,...m}=d;v=u(v||"");y=u(y||"");b=u(b||"");let _=new Set;const w=[];const E=[];const S=[];try{n.pathToRegexp(v,w);n.pathToRegexp(y||"",E);n.pathToRegexp(b||"",S)}catch(e){}_=new Set([...w,...E,...S].map(e=>e.name).filter(e=>typeof e==="string"));v=safelyCompile(v,p,true);y=y?safelyCompile(y,p,true):null;b=b?safelyCompile(b,p,true):null;for(const[e,t]of Object.entries(g)){if(Array.isArray(t)){g[e]=t.map(e=>safelyCompile(u(e),p,true))}else{g[e]=safelyCompile(u(t),p,true)}}const x=Object.keys(p);const R=!a&&!x.some(e=>!(c&&c.includes(e))&&_.has(e));if(R){for(const e of x){if(!(e in g)&&e!==s){g[e]=p[e]}}}i=r.format({...m,hostname:b,pathname:v,query:g,hash:y});return i.replace(/%24/g,"$")}function safelyCompile(e,t,i){if(!e){return e}if(i){try{return n.compile(e,{validate:false})(t)}catch(e){}}for(const i of Object.keys(t)){if(e.includes(`:${i}`)){e=e.replace(new RegExp(`:${i}\\*`,"g"),`:${i}--ESCAPED_PARAM_ASTERISK`).replace(new RegExp(`:${i}\\?`,"g"),`:${i}--ESCAPED_PARAM_QUESTION`).replace(new RegExp(`:${i}\\+`,"g"),`:${i}--ESCAPED_PARAM_PLUS`).replace(new RegExp(`:${i}(?!\\w)`,"g"),`--ESCAPED_PARAM_COLON${i}`)}}e=e.replace(/(:|\*|\?|\+|\(|\)|\{|\})/g,"\\$1").replace(/--ESCAPED_PARAM_PLUS/g,"+").replace(/--ESCAPED_PARAM_COLON/g,":").replace(/--ESCAPED_PARAM_QUESTION/g,"?").replace(/--ESCAPED_PARAM_ASTERISK/g,"*");return n.compile(`/${e}`,{validate:false})(t).slice(1)}function toSegmentDest(e){const t=e+1;return"$"+t.toString()}function toRoute(e){return e.startsWith("/")?e:"/"+e}},9892:function(e,t,i){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const n=r(i(5392));const s=r(i(5622));const a=r(i(2879));const o=i(4411);function getCustomData(e,t){return`\n// @ts-nocheck\nmodule.exports = function(...args) {\n let original = require('./${e}');\n\n const finalConfig = {};\n const target = { target: '${t}' };\n\n if (typeof original === 'function' && original.constructor.name === 'AsyncFunction') {\n // AsyncFunctions will become promises\n original = original(...args);\n }\n\n if (original instanceof Promise) {\n // Special case for promises, as it's currently not supported\n // and will just error later on\n return original\n .then((orignalConfig) => Object.assign(finalConfig, orignalConfig))\n .then((config) => Object.assign(config, target));\n } else if (typeof original === 'function') {\n Object.assign(finalConfig, original(...args));\n } else if (typeof original === 'object') {\n Object.assign(finalConfig, original);\n }\n\n Object.assign(finalConfig, target);\n\n return finalConfig;\n}\n `.trim()}function getDefaultData(e){return`\n// @ts-nocheck\nmodule.exports = { target: '${e}' };\n `.trim()}async function createServerlessConfig(e,t,i){let r="serverless";if(i){try{if(a.default.gte(i,o.ExperimentalTraceVersion)){r="experimental-serverless-trace"}}catch(e){}}const u=s.default.join(t,"next.config.js");const c=s.default.join(e,"next.config.js");const l=`next.config.__vercel_builder_backup__.js`;const f=n.default.existsSync(u);const h=n.default.existsSync(c);let p;let d;if(f){p=u;d=s.default.join(t,l)}else if(h){p=c;d=s.default.join(e,l)}else{p=u;d=s.default.join(t,l)}if(n.default.existsSync(p)){await n.default.rename(p,d);await n.default.writeFile(p,getCustomData(l,r))}else{await n.default.writeFile(p,getDefaultData(r))}return r}t.default=createServerlessConfig},6974:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.EDGE_FUNCTION_USER_SCRIPT_SIZE_LIMIT=void 0;const i=1024;const r=1024*i;const n=r;const s=20*i;t.EDGE_FUNCTION_USER_SCRIPT_SIZE_LIMIT=n-s},8055:function(e,t,i){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.getNextjsEdgeFunctionSource=void 0;const n=i(5392);const s=i(932);const a=i(9239);const o=i(5622);const u=i(6974);const c=r(i(8761));const l=i(1669);const f=r(i(539));const h=r(i(8250));const p=(0,l.promisify)(c.default.gzip);async function getNextjsEdgeFunctionSource(e,t,i,r){const u=new s.ConcatSource((0,a.raw)(`let _ENTRIES = {};`));for(const t of e){const e=(0,o.join)(i,t);const r=await(0,n.readFile)(e,"utf8");u.add((0,a.raw)(`\n/**/;`));u.add(await(0,a.fileToSource)(r,t,e))}const c=u.source();await validateScript(c);const l=`(function () {\n const module = { exports: {}, loaded: false };\n const fn = (function(module,exports) {${h.default}\n});\n fn(module, module.exports);\n return module.exports;\n })`;return(0,a.sourcemapped)`
1
+ module.exports=(()=>{var __webpack_modules__={3380:e=>{"use strict";e.exports=JSON.parse('{"0.1.14":{"node_abi":null,"v8":"1.3"},"0.1.15":{"node_abi":null,"v8":"1.3"},"0.1.16":{"node_abi":null,"v8":"1.3"},"0.1.17":{"node_abi":null,"v8":"1.3"},"0.1.18":{"node_abi":null,"v8":"1.3"},"0.1.19":{"node_abi":null,"v8":"2.0"},"0.1.20":{"node_abi":null,"v8":"2.0"},"0.1.21":{"node_abi":null,"v8":"2.0"},"0.1.22":{"node_abi":null,"v8":"2.0"},"0.1.23":{"node_abi":null,"v8":"2.0"},"0.1.24":{"node_abi":null,"v8":"2.0"},"0.1.25":{"node_abi":null,"v8":"2.0"},"0.1.26":{"node_abi":null,"v8":"2.0"},"0.1.27":{"node_abi":null,"v8":"2.1"},"0.1.28":{"node_abi":null,"v8":"2.1"},"0.1.29":{"node_abi":null,"v8":"2.1"},"0.1.30":{"node_abi":null,"v8":"2.1"},"0.1.31":{"node_abi":null,"v8":"2.1"},"0.1.32":{"node_abi":null,"v8":"2.1"},"0.1.33":{"node_abi":null,"v8":"2.1"},"0.1.90":{"node_abi":null,"v8":"2.2"},"0.1.91":{"node_abi":null,"v8":"2.2"},"0.1.92":{"node_abi":null,"v8":"2.2"},"0.1.93":{"node_abi":null,"v8":"2.2"},"0.1.94":{"node_abi":null,"v8":"2.2"},"0.1.95":{"node_abi":null,"v8":"2.2"},"0.1.96":{"node_abi":null,"v8":"2.2"},"0.1.97":{"node_abi":null,"v8":"2.2"},"0.1.98":{"node_abi":null,"v8":"2.2"},"0.1.99":{"node_abi":null,"v8":"2.2"},"0.1.100":{"node_abi":null,"v8":"2.2"},"0.1.101":{"node_abi":null,"v8":"2.3"},"0.1.102":{"node_abi":null,"v8":"2.3"},"0.1.103":{"node_abi":null,"v8":"2.3"},"0.1.104":{"node_abi":null,"v8":"2.3"},"0.2.0":{"node_abi":1,"v8":"2.3"},"0.2.1":{"node_abi":1,"v8":"2.3"},"0.2.2":{"node_abi":1,"v8":"2.3"},"0.2.3":{"node_abi":1,"v8":"2.3"},"0.2.4":{"node_abi":1,"v8":"2.3"},"0.2.5":{"node_abi":1,"v8":"2.3"},"0.2.6":{"node_abi":1,"v8":"2.3"},"0.3.0":{"node_abi":1,"v8":"2.5"},"0.3.1":{"node_abi":1,"v8":"2.5"},"0.3.2":{"node_abi":1,"v8":"3.0"},"0.3.3":{"node_abi":1,"v8":"3.0"},"0.3.4":{"node_abi":1,"v8":"3.0"},"0.3.5":{"node_abi":1,"v8":"3.0"},"0.3.6":{"node_abi":1,"v8":"3.0"},"0.3.7":{"node_abi":1,"v8":"3.0"},"0.3.8":{"node_abi":1,"v8":"3.1"},"0.4.0":{"node_abi":1,"v8":"3.1"},"0.4.1":{"node_abi":1,"v8":"3.1"},"0.4.2":{"node_abi":1,"v8":"3.1"},"0.4.3":{"node_abi":1,"v8":"3.1"},"0.4.4":{"node_abi":1,"v8":"3.1"},"0.4.5":{"node_abi":1,"v8":"3.1"},"0.4.6":{"node_abi":1,"v8":"3.1"},"0.4.7":{"node_abi":1,"v8":"3.1"},"0.4.8":{"node_abi":1,"v8":"3.1"},"0.4.9":{"node_abi":1,"v8":"3.1"},"0.4.10":{"node_abi":1,"v8":"3.1"},"0.4.11":{"node_abi":1,"v8":"3.1"},"0.4.12":{"node_abi":1,"v8":"3.1"},"0.5.0":{"node_abi":1,"v8":"3.1"},"0.5.1":{"node_abi":1,"v8":"3.4"},"0.5.2":{"node_abi":1,"v8":"3.4"},"0.5.3":{"node_abi":1,"v8":"3.4"},"0.5.4":{"node_abi":1,"v8":"3.5"},"0.5.5":{"node_abi":1,"v8":"3.5"},"0.5.6":{"node_abi":1,"v8":"3.6"},"0.5.7":{"node_abi":1,"v8":"3.6"},"0.5.8":{"node_abi":1,"v8":"3.6"},"0.5.9":{"node_abi":1,"v8":"3.6"},"0.5.10":{"node_abi":1,"v8":"3.7"},"0.6.0":{"node_abi":1,"v8":"3.6"},"0.6.1":{"node_abi":1,"v8":"3.6"},"0.6.2":{"node_abi":1,"v8":"3.6"},"0.6.3":{"node_abi":1,"v8":"3.6"},"0.6.4":{"node_abi":1,"v8":"3.6"},"0.6.5":{"node_abi":1,"v8":"3.6"},"0.6.6":{"node_abi":1,"v8":"3.6"},"0.6.7":{"node_abi":1,"v8":"3.6"},"0.6.8":{"node_abi":1,"v8":"3.6"},"0.6.9":{"node_abi":1,"v8":"3.6"},"0.6.10":{"node_abi":1,"v8":"3.6"},"0.6.11":{"node_abi":1,"v8":"3.6"},"0.6.12":{"node_abi":1,"v8":"3.6"},"0.6.13":{"node_abi":1,"v8":"3.6"},"0.6.14":{"node_abi":1,"v8":"3.6"},"0.6.15":{"node_abi":1,"v8":"3.6"},"0.6.16":{"node_abi":1,"v8":"3.6"},"0.6.17":{"node_abi":1,"v8":"3.6"},"0.6.18":{"node_abi":1,"v8":"3.6"},"0.6.19":{"node_abi":1,"v8":"3.6"},"0.6.20":{"node_abi":1,"v8":"3.6"},"0.6.21":{"node_abi":1,"v8":"3.6"},"0.7.0":{"node_abi":1,"v8":"3.8"},"0.7.1":{"node_abi":1,"v8":"3.8"},"0.7.2":{"node_abi":1,"v8":"3.8"},"0.7.3":{"node_abi":1,"v8":"3.9"},"0.7.4":{"node_abi":1,"v8":"3.9"},"0.7.5":{"node_abi":1,"v8":"3.9"},"0.7.6":{"node_abi":1,"v8":"3.9"},"0.7.7":{"node_abi":1,"v8":"3.9"},"0.7.8":{"node_abi":1,"v8":"3.9"},"0.7.9":{"node_abi":1,"v8":"3.11"},"0.7.10":{"node_abi":1,"v8":"3.9"},"0.7.11":{"node_abi":1,"v8":"3.11"},"0.7.12":{"node_abi":1,"v8":"3.11"},"0.8.0":{"node_abi":1,"v8":"3.11"},"0.8.1":{"node_abi":1,"v8":"3.11"},"0.8.2":{"node_abi":1,"v8":"3.11"},"0.8.3":{"node_abi":1,"v8":"3.11"},"0.8.4":{"node_abi":1,"v8":"3.11"},"0.8.5":{"node_abi":1,"v8":"3.11"},"0.8.6":{"node_abi":1,"v8":"3.11"},"0.8.7":{"node_abi":1,"v8":"3.11"},"0.8.8":{"node_abi":1,"v8":"3.11"},"0.8.9":{"node_abi":1,"v8":"3.11"},"0.8.10":{"node_abi":1,"v8":"3.11"},"0.8.11":{"node_abi":1,"v8":"3.11"},"0.8.12":{"node_abi":1,"v8":"3.11"},"0.8.13":{"node_abi":1,"v8":"3.11"},"0.8.14":{"node_abi":1,"v8":"3.11"},"0.8.15":{"node_abi":1,"v8":"3.11"},"0.8.16":{"node_abi":1,"v8":"3.11"},"0.8.17":{"node_abi":1,"v8":"3.11"},"0.8.18":{"node_abi":1,"v8":"3.11"},"0.8.19":{"node_abi":1,"v8":"3.11"},"0.8.20":{"node_abi":1,"v8":"3.11"},"0.8.21":{"node_abi":1,"v8":"3.11"},"0.8.22":{"node_abi":1,"v8":"3.11"},"0.8.23":{"node_abi":1,"v8":"3.11"},"0.8.24":{"node_abi":1,"v8":"3.11"},"0.8.25":{"node_abi":1,"v8":"3.11"},"0.8.26":{"node_abi":1,"v8":"3.11"},"0.8.27":{"node_abi":1,"v8":"3.11"},"0.8.28":{"node_abi":1,"v8":"3.11"},"0.9.0":{"node_abi":1,"v8":"3.11"},"0.9.1":{"node_abi":10,"v8":"3.11"},"0.9.2":{"node_abi":10,"v8":"3.11"},"0.9.3":{"node_abi":10,"v8":"3.13"},"0.9.4":{"node_abi":10,"v8":"3.13"},"0.9.5":{"node_abi":10,"v8":"3.13"},"0.9.6":{"node_abi":10,"v8":"3.15"},"0.9.7":{"node_abi":10,"v8":"3.15"},"0.9.8":{"node_abi":10,"v8":"3.15"},"0.9.9":{"node_abi":11,"v8":"3.15"},"0.9.10":{"node_abi":11,"v8":"3.15"},"0.9.11":{"node_abi":11,"v8":"3.14"},"0.9.12":{"node_abi":11,"v8":"3.14"},"0.10.0":{"node_abi":11,"v8":"3.14"},"0.10.1":{"node_abi":11,"v8":"3.14"},"0.10.2":{"node_abi":11,"v8":"3.14"},"0.10.3":{"node_abi":11,"v8":"3.14"},"0.10.4":{"node_abi":11,"v8":"3.14"},"0.10.5":{"node_abi":11,"v8":"3.14"},"0.10.6":{"node_abi":11,"v8":"3.14"},"0.10.7":{"node_abi":11,"v8":"3.14"},"0.10.8":{"node_abi":11,"v8":"3.14"},"0.10.9":{"node_abi":11,"v8":"3.14"},"0.10.10":{"node_abi":11,"v8":"3.14"},"0.10.11":{"node_abi":11,"v8":"3.14"},"0.10.12":{"node_abi":11,"v8":"3.14"},"0.10.13":{"node_abi":11,"v8":"3.14"},"0.10.14":{"node_abi":11,"v8":"3.14"},"0.10.15":{"node_abi":11,"v8":"3.14"},"0.10.16":{"node_abi":11,"v8":"3.14"},"0.10.17":{"node_abi":11,"v8":"3.14"},"0.10.18":{"node_abi":11,"v8":"3.14"},"0.10.19":{"node_abi":11,"v8":"3.14"},"0.10.20":{"node_abi":11,"v8":"3.14"},"0.10.21":{"node_abi":11,"v8":"3.14"},"0.10.22":{"node_abi":11,"v8":"3.14"},"0.10.23":{"node_abi":11,"v8":"3.14"},"0.10.24":{"node_abi":11,"v8":"3.14"},"0.10.25":{"node_abi":11,"v8":"3.14"},"0.10.26":{"node_abi":11,"v8":"3.14"},"0.10.27":{"node_abi":11,"v8":"3.14"},"0.10.28":{"node_abi":11,"v8":"3.14"},"0.10.29":{"node_abi":11,"v8":"3.14"},"0.10.30":{"node_abi":11,"v8":"3.14"},"0.10.31":{"node_abi":11,"v8":"3.14"},"0.10.32":{"node_abi":11,"v8":"3.14"},"0.10.33":{"node_abi":11,"v8":"3.14"},"0.10.34":{"node_abi":11,"v8":"3.14"},"0.10.35":{"node_abi":11,"v8":"3.14"},"0.10.36":{"node_abi":11,"v8":"3.14"},"0.10.37":{"node_abi":11,"v8":"3.14"},"0.10.38":{"node_abi":11,"v8":"3.14"},"0.10.39":{"node_abi":11,"v8":"3.14"},"0.10.40":{"node_abi":11,"v8":"3.14"},"0.10.41":{"node_abi":11,"v8":"3.14"},"0.10.42":{"node_abi":11,"v8":"3.14"},"0.10.43":{"node_abi":11,"v8":"3.14"},"0.10.44":{"node_abi":11,"v8":"3.14"},"0.10.45":{"node_abi":11,"v8":"3.14"},"0.10.46":{"node_abi":11,"v8":"3.14"},"0.10.47":{"node_abi":11,"v8":"3.14"},"0.10.48":{"node_abi":11,"v8":"3.14"},"0.11.0":{"node_abi":12,"v8":"3.17"},"0.11.1":{"node_abi":12,"v8":"3.18"},"0.11.2":{"node_abi":12,"v8":"3.19"},"0.11.3":{"node_abi":12,"v8":"3.19"},"0.11.4":{"node_abi":12,"v8":"3.20"},"0.11.5":{"node_abi":12,"v8":"3.20"},"0.11.6":{"node_abi":12,"v8":"3.20"},"0.11.7":{"node_abi":12,"v8":"3.20"},"0.11.8":{"node_abi":13,"v8":"3.21"},"0.11.9":{"node_abi":13,"v8":"3.22"},"0.11.10":{"node_abi":13,"v8":"3.22"},"0.11.11":{"node_abi":14,"v8":"3.22"},"0.11.12":{"node_abi":14,"v8":"3.22"},"0.11.13":{"node_abi":14,"v8":"3.25"},"0.11.14":{"node_abi":14,"v8":"3.26"},"0.11.15":{"node_abi":14,"v8":"3.28"},"0.11.16":{"node_abi":14,"v8":"3.28"},"0.12.0":{"node_abi":14,"v8":"3.28"},"0.12.1":{"node_abi":14,"v8":"3.28"},"0.12.2":{"node_abi":14,"v8":"3.28"},"0.12.3":{"node_abi":14,"v8":"3.28"},"0.12.4":{"node_abi":14,"v8":"3.28"},"0.12.5":{"node_abi":14,"v8":"3.28"},"0.12.6":{"node_abi":14,"v8":"3.28"},"0.12.7":{"node_abi":14,"v8":"3.28"},"0.12.8":{"node_abi":14,"v8":"3.28"},"0.12.9":{"node_abi":14,"v8":"3.28"},"0.12.10":{"node_abi":14,"v8":"3.28"},"0.12.11":{"node_abi":14,"v8":"3.28"},"0.12.12":{"node_abi":14,"v8":"3.28"},"0.12.13":{"node_abi":14,"v8":"3.28"},"0.12.14":{"node_abi":14,"v8":"3.28"},"0.12.15":{"node_abi":14,"v8":"3.28"},"0.12.16":{"node_abi":14,"v8":"3.28"},"0.12.17":{"node_abi":14,"v8":"3.28"},"0.12.18":{"node_abi":14,"v8":"3.28"},"1.0.0":{"node_abi":42,"v8":"3.31"},"1.0.1":{"node_abi":42,"v8":"3.31"},"1.0.2":{"node_abi":42,"v8":"3.31"},"1.0.3":{"node_abi":42,"v8":"4.1"},"1.0.4":{"node_abi":42,"v8":"4.1"},"1.1.0":{"node_abi":43,"v8":"4.1"},"1.2.0":{"node_abi":43,"v8":"4.1"},"1.3.0":{"node_abi":43,"v8":"4.1"},"1.4.1":{"node_abi":43,"v8":"4.1"},"1.4.2":{"node_abi":43,"v8":"4.1"},"1.4.3":{"node_abi":43,"v8":"4.1"},"1.5.0":{"node_abi":43,"v8":"4.1"},"1.5.1":{"node_abi":43,"v8":"4.1"},"1.6.0":{"node_abi":43,"v8":"4.1"},"1.6.1":{"node_abi":43,"v8":"4.1"},"1.6.2":{"node_abi":43,"v8":"4.1"},"1.6.3":{"node_abi":43,"v8":"4.1"},"1.6.4":{"node_abi":43,"v8":"4.1"},"1.7.1":{"node_abi":43,"v8":"4.1"},"1.8.1":{"node_abi":43,"v8":"4.1"},"1.8.2":{"node_abi":43,"v8":"4.1"},"1.8.3":{"node_abi":43,"v8":"4.1"},"1.8.4":{"node_abi":43,"v8":"4.1"},"2.0.0":{"node_abi":44,"v8":"4.2"},"2.0.1":{"node_abi":44,"v8":"4.2"},"2.0.2":{"node_abi":44,"v8":"4.2"},"2.1.0":{"node_abi":44,"v8":"4.2"},"2.2.0":{"node_abi":44,"v8":"4.2"},"2.2.1":{"node_abi":44,"v8":"4.2"},"2.3.0":{"node_abi":44,"v8":"4.2"},"2.3.1":{"node_abi":44,"v8":"4.2"},"2.3.2":{"node_abi":44,"v8":"4.2"},"2.3.3":{"node_abi":44,"v8":"4.2"},"2.3.4":{"node_abi":44,"v8":"4.2"},"2.4.0":{"node_abi":44,"v8":"4.2"},"2.5.0":{"node_abi":44,"v8":"4.2"},"3.0.0":{"node_abi":45,"v8":"4.4"},"3.1.0":{"node_abi":45,"v8":"4.4"},"3.2.0":{"node_abi":45,"v8":"4.4"},"3.3.0":{"node_abi":45,"v8":"4.4"},"3.3.1":{"node_abi":45,"v8":"4.4"},"4.0.0":{"node_abi":46,"v8":"4.5"},"4.1.0":{"node_abi":46,"v8":"4.5"},"4.1.1":{"node_abi":46,"v8":"4.5"},"4.1.2":{"node_abi":46,"v8":"4.5"},"4.2.0":{"node_abi":46,"v8":"4.5"},"4.2.1":{"node_abi":46,"v8":"4.5"},"4.2.2":{"node_abi":46,"v8":"4.5"},"4.2.3":{"node_abi":46,"v8":"4.5"},"4.2.4":{"node_abi":46,"v8":"4.5"},"4.2.5":{"node_abi":46,"v8":"4.5"},"4.2.6":{"node_abi":46,"v8":"4.5"},"4.3.0":{"node_abi":46,"v8":"4.5"},"4.3.1":{"node_abi":46,"v8":"4.5"},"4.3.2":{"node_abi":46,"v8":"4.5"},"4.4.0":{"node_abi":46,"v8":"4.5"},"4.4.1":{"node_abi":46,"v8":"4.5"},"4.4.2":{"node_abi":46,"v8":"4.5"},"4.4.3":{"node_abi":46,"v8":"4.5"},"4.4.4":{"node_abi":46,"v8":"4.5"},"4.4.5":{"node_abi":46,"v8":"4.5"},"4.4.6":{"node_abi":46,"v8":"4.5"},"4.4.7":{"node_abi":46,"v8":"4.5"},"4.5.0":{"node_abi":46,"v8":"4.5"},"4.6.0":{"node_abi":46,"v8":"4.5"},"4.6.1":{"node_abi":46,"v8":"4.5"},"4.6.2":{"node_abi":46,"v8":"4.5"},"4.7.0":{"node_abi":46,"v8":"4.5"},"4.7.1":{"node_abi":46,"v8":"4.5"},"4.7.2":{"node_abi":46,"v8":"4.5"},"4.7.3":{"node_abi":46,"v8":"4.5"},"4.8.0":{"node_abi":46,"v8":"4.5"},"4.8.1":{"node_abi":46,"v8":"4.5"},"4.8.2":{"node_abi":46,"v8":"4.5"},"4.8.3":{"node_abi":46,"v8":"4.5"},"4.8.4":{"node_abi":46,"v8":"4.5"},"4.8.5":{"node_abi":46,"v8":"4.5"},"4.8.6":{"node_abi":46,"v8":"4.5"},"4.8.7":{"node_abi":46,"v8":"4.5"},"4.9.0":{"node_abi":46,"v8":"4.5"},"4.9.1":{"node_abi":46,"v8":"4.5"},"5.0.0":{"node_abi":47,"v8":"4.6"},"5.1.0":{"node_abi":47,"v8":"4.6"},"5.1.1":{"node_abi":47,"v8":"4.6"},"5.2.0":{"node_abi":47,"v8":"4.6"},"5.3.0":{"node_abi":47,"v8":"4.6"},"5.4.0":{"node_abi":47,"v8":"4.6"},"5.4.1":{"node_abi":47,"v8":"4.6"},"5.5.0":{"node_abi":47,"v8":"4.6"},"5.6.0":{"node_abi":47,"v8":"4.6"},"5.7.0":{"node_abi":47,"v8":"4.6"},"5.7.1":{"node_abi":47,"v8":"4.6"},"5.8.0":{"node_abi":47,"v8":"4.6"},"5.9.0":{"node_abi":47,"v8":"4.6"},"5.9.1":{"node_abi":47,"v8":"4.6"},"5.10.0":{"node_abi":47,"v8":"4.6"},"5.10.1":{"node_abi":47,"v8":"4.6"},"5.11.0":{"node_abi":47,"v8":"4.6"},"5.11.1":{"node_abi":47,"v8":"4.6"},"5.12.0":{"node_abi":47,"v8":"4.6"},"6.0.0":{"node_abi":48,"v8":"5.0"},"6.1.0":{"node_abi":48,"v8":"5.0"},"6.2.0":{"node_abi":48,"v8":"5.0"},"6.2.1":{"node_abi":48,"v8":"5.0"},"6.2.2":{"node_abi":48,"v8":"5.0"},"6.3.0":{"node_abi":48,"v8":"5.0"},"6.3.1":{"node_abi":48,"v8":"5.0"},"6.4.0":{"node_abi":48,"v8":"5.0"},"6.5.0":{"node_abi":48,"v8":"5.1"},"6.6.0":{"node_abi":48,"v8":"5.1"},"6.7.0":{"node_abi":48,"v8":"5.1"},"6.8.0":{"node_abi":48,"v8":"5.1"},"6.8.1":{"node_abi":48,"v8":"5.1"},"6.9.0":{"node_abi":48,"v8":"5.1"},"6.9.1":{"node_abi":48,"v8":"5.1"},"6.9.2":{"node_abi":48,"v8":"5.1"},"6.9.3":{"node_abi":48,"v8":"5.1"},"6.9.4":{"node_abi":48,"v8":"5.1"},"6.9.5":{"node_abi":48,"v8":"5.1"},"6.10.0":{"node_abi":48,"v8":"5.1"},"6.10.1":{"node_abi":48,"v8":"5.1"},"6.10.2":{"node_abi":48,"v8":"5.1"},"6.10.3":{"node_abi":48,"v8":"5.1"},"6.11.0":{"node_abi":48,"v8":"5.1"},"6.11.1":{"node_abi":48,"v8":"5.1"},"6.11.2":{"node_abi":48,"v8":"5.1"},"6.11.3":{"node_abi":48,"v8":"5.1"},"6.11.4":{"node_abi":48,"v8":"5.1"},"6.11.5":{"node_abi":48,"v8":"5.1"},"6.12.0":{"node_abi":48,"v8":"5.1"},"6.12.1":{"node_abi":48,"v8":"5.1"},"6.12.2":{"node_abi":48,"v8":"5.1"},"6.12.3":{"node_abi":48,"v8":"5.1"},"6.13.0":{"node_abi":48,"v8":"5.1"},"6.13.1":{"node_abi":48,"v8":"5.1"},"6.14.0":{"node_abi":48,"v8":"5.1"},"6.14.1":{"node_abi":48,"v8":"5.1"},"6.14.2":{"node_abi":48,"v8":"5.1"},"6.14.3":{"node_abi":48,"v8":"5.1"},"6.14.4":{"node_abi":48,"v8":"5.1"},"6.15.0":{"node_abi":48,"v8":"5.1"},"6.15.1":{"node_abi":48,"v8":"5.1"},"6.16.0":{"node_abi":48,"v8":"5.1"},"6.17.0":{"node_abi":48,"v8":"5.1"},"6.17.1":{"node_abi":48,"v8":"5.1"},"7.0.0":{"node_abi":51,"v8":"5.4"},"7.1.0":{"node_abi":51,"v8":"5.4"},"7.2.0":{"node_abi":51,"v8":"5.4"},"7.2.1":{"node_abi":51,"v8":"5.4"},"7.3.0":{"node_abi":51,"v8":"5.4"},"7.4.0":{"node_abi":51,"v8":"5.4"},"7.5.0":{"node_abi":51,"v8":"5.4"},"7.6.0":{"node_abi":51,"v8":"5.5"},"7.7.0":{"node_abi":51,"v8":"5.5"},"7.7.1":{"node_abi":51,"v8":"5.5"},"7.7.2":{"node_abi":51,"v8":"5.5"},"7.7.3":{"node_abi":51,"v8":"5.5"},"7.7.4":{"node_abi":51,"v8":"5.5"},"7.8.0":{"node_abi":51,"v8":"5.5"},"7.9.0":{"node_abi":51,"v8":"5.5"},"7.10.0":{"node_abi":51,"v8":"5.5"},"7.10.1":{"node_abi":51,"v8":"5.5"},"8.0.0":{"node_abi":57,"v8":"5.8"},"8.1.0":{"node_abi":57,"v8":"5.8"},"8.1.1":{"node_abi":57,"v8":"5.8"},"8.1.2":{"node_abi":57,"v8":"5.8"},"8.1.3":{"node_abi":57,"v8":"5.8"},"8.1.4":{"node_abi":57,"v8":"5.8"},"8.2.0":{"node_abi":57,"v8":"5.8"},"8.2.1":{"node_abi":57,"v8":"5.8"},"8.3.0":{"node_abi":57,"v8":"6.0"},"8.4.0":{"node_abi":57,"v8":"6.0"},"8.5.0":{"node_abi":57,"v8":"6.0"},"8.6.0":{"node_abi":57,"v8":"6.0"},"8.7.0":{"node_abi":57,"v8":"6.1"},"8.8.0":{"node_abi":57,"v8":"6.1"},"8.8.1":{"node_abi":57,"v8":"6.1"},"8.9.0":{"node_abi":57,"v8":"6.1"},"8.9.1":{"node_abi":57,"v8":"6.1"},"8.9.2":{"node_abi":57,"v8":"6.1"},"8.9.3":{"node_abi":57,"v8":"6.1"},"8.9.4":{"node_abi":57,"v8":"6.1"},"8.10.0":{"node_abi":57,"v8":"6.2"},"8.11.0":{"node_abi":57,"v8":"6.2"},"8.11.1":{"node_abi":57,"v8":"6.2"},"8.11.2":{"node_abi":57,"v8":"6.2"},"8.11.3":{"node_abi":57,"v8":"6.2"},"8.11.4":{"node_abi":57,"v8":"6.2"},"8.12.0":{"node_abi":57,"v8":"6.2"},"8.13.0":{"node_abi":57,"v8":"6.2"},"8.14.0":{"node_abi":57,"v8":"6.2"},"8.14.1":{"node_abi":57,"v8":"6.2"},"8.15.0":{"node_abi":57,"v8":"6.2"},"8.15.1":{"node_abi":57,"v8":"6.2"},"8.16.0":{"node_abi":57,"v8":"6.2"},"8.16.1":{"node_abi":57,"v8":"6.2"},"8.16.2":{"node_abi":57,"v8":"6.2"},"8.17.0":{"node_abi":57,"v8":"6.2"},"9.0.0":{"node_abi":59,"v8":"6.2"},"9.1.0":{"node_abi":59,"v8":"6.2"},"9.2.0":{"node_abi":59,"v8":"6.2"},"9.2.1":{"node_abi":59,"v8":"6.2"},"9.3.0":{"node_abi":59,"v8":"6.2"},"9.4.0":{"node_abi":59,"v8":"6.2"},"9.5.0":{"node_abi":59,"v8":"6.2"},"9.6.0":{"node_abi":59,"v8":"6.2"},"9.6.1":{"node_abi":59,"v8":"6.2"},"9.7.0":{"node_abi":59,"v8":"6.2"},"9.7.1":{"node_abi":59,"v8":"6.2"},"9.8.0":{"node_abi":59,"v8":"6.2"},"9.9.0":{"node_abi":59,"v8":"6.2"},"9.10.0":{"node_abi":59,"v8":"6.2"},"9.10.1":{"node_abi":59,"v8":"6.2"},"9.11.0":{"node_abi":59,"v8":"6.2"},"9.11.1":{"node_abi":59,"v8":"6.2"},"9.11.2":{"node_abi":59,"v8":"6.2"},"10.0.0":{"node_abi":64,"v8":"6.6"},"10.1.0":{"node_abi":64,"v8":"6.6"},"10.2.0":{"node_abi":64,"v8":"6.6"},"10.2.1":{"node_abi":64,"v8":"6.6"},"10.3.0":{"node_abi":64,"v8":"6.6"},"10.4.0":{"node_abi":64,"v8":"6.7"},"10.4.1":{"node_abi":64,"v8":"6.7"},"10.5.0":{"node_abi":64,"v8":"6.7"},"10.6.0":{"node_abi":64,"v8":"6.7"},"10.7.0":{"node_abi":64,"v8":"6.7"},"10.8.0":{"node_abi":64,"v8":"6.7"},"10.9.0":{"node_abi":64,"v8":"6.8"},"10.10.0":{"node_abi":64,"v8":"6.8"},"10.11.0":{"node_abi":64,"v8":"6.8"},"10.12.0":{"node_abi":64,"v8":"6.8"},"10.13.0":{"node_abi":64,"v8":"6.8"},"10.14.0":{"node_abi":64,"v8":"6.8"},"10.14.1":{"node_abi":64,"v8":"6.8"},"10.14.2":{"node_abi":64,"v8":"6.8"},"10.15.0":{"node_abi":64,"v8":"6.8"},"10.15.1":{"node_abi":64,"v8":"6.8"},"10.15.2":{"node_abi":64,"v8":"6.8"},"10.15.3":{"node_abi":64,"v8":"6.8"},"10.16.0":{"node_abi":64,"v8":"6.8"},"10.16.1":{"node_abi":64,"v8":"6.8"},"10.16.2":{"node_abi":64,"v8":"6.8"},"10.16.3":{"node_abi":64,"v8":"6.8"},"10.17.0":{"node_abi":64,"v8":"6.8"},"10.18.0":{"node_abi":64,"v8":"6.8"},"10.18.1":{"node_abi":64,"v8":"6.8"},"10.19.0":{"node_abi":64,"v8":"6.8"},"10.20.0":{"node_abi":64,"v8":"6.8"},"10.20.1":{"node_abi":64,"v8":"6.8"},"10.21.0":{"node_abi":64,"v8":"6.8"},"10.22.0":{"node_abi":64,"v8":"6.8"},"10.22.1":{"node_abi":64,"v8":"6.8"},"10.23.0":{"node_abi":64,"v8":"6.8"},"10.23.1":{"node_abi":64,"v8":"6.8"},"10.23.2":{"node_abi":64,"v8":"6.8"},"10.23.3":{"node_abi":64,"v8":"6.8"},"10.24.0":{"node_abi":64,"v8":"6.8"},"10.24.1":{"node_abi":64,"v8":"6.8"},"11.0.0":{"node_abi":67,"v8":"7.0"},"11.1.0":{"node_abi":67,"v8":"7.0"},"11.2.0":{"node_abi":67,"v8":"7.0"},"11.3.0":{"node_abi":67,"v8":"7.0"},"11.4.0":{"node_abi":67,"v8":"7.0"},"11.5.0":{"node_abi":67,"v8":"7.0"},"11.6.0":{"node_abi":67,"v8":"7.0"},"11.7.0":{"node_abi":67,"v8":"7.0"},"11.8.0":{"node_abi":67,"v8":"7.0"},"11.9.0":{"node_abi":67,"v8":"7.0"},"11.10.0":{"node_abi":67,"v8":"7.0"},"11.10.1":{"node_abi":67,"v8":"7.0"},"11.11.0":{"node_abi":67,"v8":"7.0"},"11.12.0":{"node_abi":67,"v8":"7.0"},"11.13.0":{"node_abi":67,"v8":"7.0"},"11.14.0":{"node_abi":67,"v8":"7.0"},"11.15.0":{"node_abi":67,"v8":"7.0"},"12.0.0":{"node_abi":72,"v8":"7.4"},"12.1.0":{"node_abi":72,"v8":"7.4"},"12.2.0":{"node_abi":72,"v8":"7.4"},"12.3.0":{"node_abi":72,"v8":"7.4"},"12.3.1":{"node_abi":72,"v8":"7.4"},"12.4.0":{"node_abi":72,"v8":"7.4"},"12.5.0":{"node_abi":72,"v8":"7.5"},"12.6.0":{"node_abi":72,"v8":"7.5"},"12.7.0":{"node_abi":72,"v8":"7.5"},"12.8.0":{"node_abi":72,"v8":"7.5"},"12.8.1":{"node_abi":72,"v8":"7.5"},"12.9.0":{"node_abi":72,"v8":"7.6"},"12.9.1":{"node_abi":72,"v8":"7.6"},"12.10.0":{"node_abi":72,"v8":"7.6"},"12.11.0":{"node_abi":72,"v8":"7.7"},"12.11.1":{"node_abi":72,"v8":"7.7"},"12.12.0":{"node_abi":72,"v8":"7.7"},"12.13.0":{"node_abi":72,"v8":"7.7"},"12.13.1":{"node_abi":72,"v8":"7.7"},"12.14.0":{"node_abi":72,"v8":"7.7"},"12.14.1":{"node_abi":72,"v8":"7.7"},"12.15.0":{"node_abi":72,"v8":"7.7"},"12.16.0":{"node_abi":72,"v8":"7.8"},"12.16.1":{"node_abi":72,"v8":"7.8"},"12.16.2":{"node_abi":72,"v8":"7.8"},"12.16.3":{"node_abi":72,"v8":"7.8"},"12.17.0":{"node_abi":72,"v8":"7.8"},"12.18.0":{"node_abi":72,"v8":"7.8"},"12.18.1":{"node_abi":72,"v8":"7.8"},"12.18.2":{"node_abi":72,"v8":"7.8"},"12.18.3":{"node_abi":72,"v8":"7.8"},"12.18.4":{"node_abi":72,"v8":"7.8"},"12.19.0":{"node_abi":72,"v8":"7.8"},"12.19.1":{"node_abi":72,"v8":"7.8"},"12.20.0":{"node_abi":72,"v8":"7.8"},"12.20.1":{"node_abi":72,"v8":"7.8"},"12.20.2":{"node_abi":72,"v8":"7.8"},"12.21.0":{"node_abi":72,"v8":"7.8"},"12.22.0":{"node_abi":72,"v8":"7.8"},"12.22.1":{"node_abi":72,"v8":"7.8"},"13.0.0":{"node_abi":79,"v8":"7.8"},"13.0.1":{"node_abi":79,"v8":"7.8"},"13.1.0":{"node_abi":79,"v8":"7.8"},"13.2.0":{"node_abi":79,"v8":"7.9"},"13.3.0":{"node_abi":79,"v8":"7.9"},"13.4.0":{"node_abi":79,"v8":"7.9"},"13.5.0":{"node_abi":79,"v8":"7.9"},"13.6.0":{"node_abi":79,"v8":"7.9"},"13.7.0":{"node_abi":79,"v8":"7.9"},"13.8.0":{"node_abi":79,"v8":"7.9"},"13.9.0":{"node_abi":79,"v8":"7.9"},"13.10.0":{"node_abi":79,"v8":"7.9"},"13.10.1":{"node_abi":79,"v8":"7.9"},"13.11.0":{"node_abi":79,"v8":"7.9"},"13.12.0":{"node_abi":79,"v8":"7.9"},"13.13.0":{"node_abi":79,"v8":"7.9"},"13.14.0":{"node_abi":79,"v8":"7.9"},"14.0.0":{"node_abi":83,"v8":"8.1"},"14.1.0":{"node_abi":83,"v8":"8.1"},"14.2.0":{"node_abi":83,"v8":"8.1"},"14.3.0":{"node_abi":83,"v8":"8.1"},"14.4.0":{"node_abi":83,"v8":"8.1"},"14.5.0":{"node_abi":83,"v8":"8.3"},"14.6.0":{"node_abi":83,"v8":"8.4"},"14.7.0":{"node_abi":83,"v8":"8.4"},"14.8.0":{"node_abi":83,"v8":"8.4"},"14.9.0":{"node_abi":83,"v8":"8.4"},"14.10.0":{"node_abi":83,"v8":"8.4"},"14.10.1":{"node_abi":83,"v8":"8.4"},"14.11.0":{"node_abi":83,"v8":"8.4"},"14.12.0":{"node_abi":83,"v8":"8.4"},"14.13.0":{"node_abi":83,"v8":"8.4"},"14.13.1":{"node_abi":83,"v8":"8.4"},"14.14.0":{"node_abi":83,"v8":"8.4"},"14.15.0":{"node_abi":83,"v8":"8.4"},"14.15.1":{"node_abi":83,"v8":"8.4"},"14.15.2":{"node_abi":83,"v8":"8.4"},"14.15.3":{"node_abi":83,"v8":"8.4"},"14.15.4":{"node_abi":83,"v8":"8.4"},"14.15.5":{"node_abi":83,"v8":"8.4"},"14.16.0":{"node_abi":83,"v8":"8.4"},"14.16.1":{"node_abi":83,"v8":"8.4"},"15.0.0":{"node_abi":88,"v8":"8.6"},"15.0.1":{"node_abi":88,"v8":"8.6"},"15.1.0":{"node_abi":88,"v8":"8.6"},"15.2.0":{"node_abi":88,"v8":"8.6"},"15.2.1":{"node_abi":88,"v8":"8.6"},"15.3.0":{"node_abi":88,"v8":"8.6"},"15.4.0":{"node_abi":88,"v8":"8.6"},"15.5.0":{"node_abi":88,"v8":"8.6"},"15.5.1":{"node_abi":88,"v8":"8.6"},"15.6.0":{"node_abi":88,"v8":"8.6"},"15.7.0":{"node_abi":88,"v8":"8.6"},"15.8.0":{"node_abi":88,"v8":"8.6"},"15.9.0":{"node_abi":88,"v8":"8.6"},"15.10.0":{"node_abi":88,"v8":"8.6"},"15.11.0":{"node_abi":88,"v8":"8.6"},"15.12.0":{"node_abi":88,"v8":"8.6"},"15.13.0":{"node_abi":88,"v8":"8.6"},"15.14.0":{"node_abi":88,"v8":"8.6"},"16.0.0":{"node_abi":93,"v8":"9.0"}}')},5381:e=>{"use strict";e.exports=JSON.parse('{"name":"@mapbox/node-pre-gyp","description":"Node.js native addon binary install tool","version":"1.0.5","keywords":["native","addon","module","c","c++","bindings","binary"],"license":"BSD-3-Clause","author":"Dane Springmeyer <dane@mapbox.com>","repository":{"type":"git","url":"git://github.com/mapbox/node-pre-gyp.git"},"bin":"./bin/node-pre-gyp","main":"./lib/node-pre-gyp.js","dependencies":{"detect-libc":"^1.0.3","https-proxy-agent":"^5.0.0","make-dir":"^3.1.0","node-fetch":"^2.6.1","nopt":"^5.0.0","npmlog":"^4.1.2","rimraf":"^3.0.2","semver":"^7.3.4","tar":"^6.1.0"},"devDependencies":{"@mapbox/cloudfriend":"^4.6.0","@mapbox/eslint-config-mapbox":"^3.0.0","action-walk":"^2.2.0","aws-sdk":"^2.840.0","codecov":"^3.8.1","eslint":"^7.18.0","eslint-plugin-node":"^11.1.0","mock-aws-s3":"^4.0.1","nock":"^12.0.3","node-addon-api":"^3.1.0","nyc":"^15.1.0","tape":"^5.2.2","tar-fs":"^2.1.1"},"nyc":{"all":true,"skip-full":false,"exclude":["test/**"]},"scripts":{"coverage":"nyc --all --include index.js --include lib/ npm test","upload-coverage":"nyc report --reporter json && codecov --clear --flags=unit --file=./coverage/coverage-final.json","lint":"eslint bin/node-pre-gyp lib/*js lib/util/*js test/*js scripts/*js","fix":"npm run lint -- --fix","update-crosswalk":"node scripts/abi_crosswalk.js","test":"tape test/*test.js"}}')},111:(e,t,i)=>{"use strict";e.exports=t;t.mockS3Http=i(7048).get_mockS3Http();t.mockS3Http("on");const r=t.mockS3Http("get");const n=i(5747);const s=i(5622);const a=i(1400);const o=i(9658);o.disableProgress();const u=i(5677);const c=i(8614).EventEmitter;const l=i(1669).inherits;const f=["clean","install","reinstall","build","rebuild","package","testpackage","publish","unpublish","info","testbinary","reveal","configure"];const h={};o.heading="node-pre-gyp";if(r){o.warn(`mocking s3 to ${process.env.node_pre_gyp_mock_s3}`)}Object.defineProperty(t,"find",{get:function(){return i(3093).find},enumerable:true});function Run({package_json_path:e="./package.json",argv:t}){this.package_json_path=e;this.commands={};const i=this;f.forEach(e=>{i.commands[e]=function(t,r){o.verbose("command",e,t);return require("./"+e)(i,t,r)}});this.parseArgv(t);this.binaryHostSet=false}l(Run,c);t.Run=Run;const p=Run.prototype;p.package=i(5381);p.configDefs={help:Boolean,arch:String,debug:Boolean,directory:String,proxy:String,loglevel:String};p.shorthands={release:"--no-debug",C:"--directory",debug:"--debug",j:"--jobs",silent:"--loglevel=silent",silly:"--loglevel=silly",verbose:"--loglevel=verbose"};p.aliases=h;p.parseArgv=function parseOpts(e){this.opts=a(this.configDefs,this.shorthands,e);this.argv=this.opts.argv.remain.slice();const t=this.todo=[];e=this.argv.map(e=>{if(e in this.aliases){e=this.aliases[e]}return e});e.slice().forEach(i=>{if(i in this.commands){const r=e.splice(0,e.indexOf(i));e.shift();if(t.length>0){t[t.length-1].args=r}t.push({name:i,args:[]})}});if(t.length>0){t[t.length-1].args=e.splice(0)}let i=this.package_json_path;if(this.opts.directory){i=s.join(this.opts.directory,i)}this.package_json=JSON.parse(n.readFileSync(i));this.todo=u.expand_commands(this.package_json,this.opts,t);const r="npm_config_";Object.keys(process.env).forEach(e=>{if(e.indexOf(r)!==0)return;const t=process.env[e];if(e===r+"loglevel"){o.level=t}else{e=e.substring(r.length);if(e==="argv"){if(this.opts.argv&&this.opts.argv.remain&&this.opts.argv.remain.length){}else{this.opts[e]=t}}else{this.opts[e]=t}}});if(this.opts.loglevel){o.level=this.opts.loglevel}o.resume()};p.setBinaryHostProperty=function(e){if(this.binaryHostSet){return this.package_json.binary.host}const t=this.package_json;if(!t||!t.binary||t.binary.host){return""}if(!t.binary.staging_host||!t.binary.production_host){return""}let i="production_host";if(e==="publish"){i="staging_host"}const r=process.env.node_pre_gyp_s3_host;if(r==="staging"||r==="production"){i=`${r}_host`}else if(this.opts["s3_host"]==="staging"||this.opts["s3_host"]==="production"){i=`${this.opts["s3_host"]}_host`}else if(this.opts["s3_host"]||r){throw new Error(`invalid s3_host ${this.opts["s3_host"]||r}`)}t.binary.host=t.binary[i];this.binaryHostSet=true;return t.binary.host};p.usage=function usage(){const e=[""," Usage: node-pre-gyp <command> [options]",""," where <command> is one of:",f.map(e=>{return" - "+e+" - "+require("./"+e).usage}).join("\n"),"","node-pre-gyp@"+this.version+" "+s.resolve(__dirname,".."),"node@"+process.versions.node].join("\n");return e};Object.defineProperty(p,"version",{get:function(){return this.package.version},enumerable:true})},3093:(e,t,i)=>{"use strict";const r=i(111);const n=i(302);const s=i(5677);const a=i(5747).existsSync||i(5622).existsSync;const o=i(5622);e.exports=t;t.usage="Finds the require path for the node-pre-gyp installed module";t.validate=function(e,t){n.validate_config(e,t)};t.find=function(e,t){if(!a(e)){throw new Error(e+"does not exist")}const i=new r.Run({package_json_path:e,argv:process.argv});i.setBinaryHostProperty();const u=i.package_json;n.validate_config(u,t);let c;if(s.get_napi_build_versions(u,t)){c=s.get_best_napi_build_version(u,t)}t=t||{};if(!t.module_root)t.module_root=o.dirname(e);const l=n.evaluate(u,t,c);return l.module}},5677:(e,t,i)=>{"use strict";const r=i(5747);e.exports=t;const n=process.version.substr(1).replace(/-.*$/,"").split(".").map(e=>{return+e});const s=["build","clean","configure","package","publish","reveal","testbinary","testpackage","unpublish"];const a="napi_build_version=";e.exports.get_napi_version=function(){let e=process.versions.napi;if(!e){if(n[0]===9&&n[1]>=3)e=2;else if(n[0]===8)e=1}return e};e.exports.get_napi_version_as_string=function(t){const i=e.exports.get_napi_version(t);return i?""+i:""};e.exports.validate_package_json=function(t,i){const r=t.binary;const n=pathOK(r.module_path);const s=pathOK(r.remote_path);const a=pathOK(r.package_name);const o=e.exports.get_napi_build_versions(t,i,true);const u=e.exports.get_napi_build_versions_raw(t);if(o){o.forEach(e=>{if(!(parseInt(e,10)===e&&e>0)){throw new Error("All values specified in napi_versions must be positive integers.")}})}if(o&&(!n||!s&&!a)){throw new Error("When napi_versions is specified; module_path and either remote_path or "+"package_name must contain the substitution string '{napi_build_version}`.")}if((n||s||a)&&!u){throw new Error("When the substitution string '{napi_build_version}` is specified in "+"module_path, remote_path, or package_name; napi_versions must also be specified.")}if(o&&!e.exports.get_best_napi_build_version(t,i)&&e.exports.build_napi_only(t)){throw new Error("The Node-API version of this Node instance is "+e.exports.get_napi_version(i?i.target:undefined)+". "+"This module supports Node-API version(s) "+e.exports.get_napi_build_versions_raw(t)+". "+"This Node instance cannot run this module.")}if(u&&!o&&e.exports.build_napi_only(t)){throw new Error("The Node-API version of this Node instance is "+e.exports.get_napi_version(i?i.target:undefined)+". "+"This module supports Node-API version(s) "+e.exports.get_napi_build_versions_raw(t)+". "+"This Node instance cannot run this module.")}};function pathOK(e){return e&&(e.indexOf("{napi_build_version}")!==-1||e.indexOf("{node_napi_label}")!==-1)}e.exports.expand_commands=function(t,i,r){const n=[];const o=e.exports.get_napi_build_versions(t,i);r.forEach(r=>{if(o&&r.name==="install"){const s=e.exports.get_best_napi_build_version(t,i);const o=s?[a+s]:[];n.push({name:r.name,args:o})}else if(o&&s.indexOf(r.name)!==-1){o.forEach(e=>{const t=r.args.slice();t.push(a+e);n.push({name:r.name,args:t})})}else{n.push(r)}});return n};e.exports.get_napi_build_versions=function(t,r,n){const s=i(9658);let a=[];const o=e.exports.get_napi_version(r?r.target:undefined);if(t.binary&&t.binary.napi_versions){t.binary.napi_versions.forEach(e=>{const t=a.indexOf(e)!==-1;if(!t&&o&&e<=o){a.push(e)}else if(n&&!t&&o){s.info("This Node instance does not support builds for Node-API version",e)}})}if(r&&r["build-latest-napi-version-only"]){let e=0;a.forEach(t=>{if(t>e)e=t});a=e?[e]:[]}return a.length?a:undefined};e.exports.get_napi_build_versions_raw=function(e){const t=[];if(e.binary&&e.binary.napi_versions){e.binary.napi_versions.forEach(e=>{if(t.indexOf(e)===-1){t.push(e)}})}return t.length?t:undefined};e.exports.get_command_arg=function(e){return a+e};e.exports.get_napi_build_version_from_command_args=function(e){for(let t=0;t<e.length;t++){const i=e[t];if(i.indexOf(a)===0){return parseInt(i.substr(a.length),10)}}return undefined};e.exports.swap_build_dir_out=function(t){if(t){const n=i(6286);n.sync(e.exports.get_build_dir(t));r.renameSync("build",e.exports.get_build_dir(t))}};e.exports.swap_build_dir_in=function(t){if(t){const n=i(6286);n.sync("build");r.renameSync(e.exports.get_build_dir(t),"build")}};e.exports.get_build_dir=function(e){return"build-tmp-napi-v"+e};e.exports.get_best_napi_build_version=function(t,i){let r=0;const n=e.exports.get_napi_build_versions(t,i);if(n){const t=e.exports.get_napi_version(i?i.target:undefined);n.forEach(e=>{if(e>r&&e<=t){r=e}})}return r===0?undefined:r};e.exports.build_napi_only=function(e){return e.binary&&e.binary.package_name&&e.binary.package_name.indexOf("{node_napi_label}")===-1}},7048:(e,t,i)=>{"use strict";e.exports=t;const r=i(8835);const n=i(5747);const s=i(5622);e.exports.detect=function(e,t){const i=e.hosted_path;const n=r.parse(i);t.prefix=!n.pathname||n.pathname==="/"?"":n.pathname.replace("/","");if(e.bucket&&e.region){t.bucket=e.bucket;t.region=e.region;t.endpoint=e.host;t.s3ForcePathStyle=e.s3ForcePathStyle}else{const e=n.hostname.split(".s3");const i=e[0];if(!i){return}if(!t.bucket){t.bucket=i}if(!t.region){const i=e[1].slice(1).split(".")[0];if(i==="amazonaws"){t.region="us-east-1"}else{t.region=i}}}};e.exports.get_s3=function(e){if(process.env.node_pre_gyp_mock_s3){const e=i(2722);const t=i(2087);e.config.basePath=`${t.tmpdir()}/mock`;const r=e.S3();const n=e=>(t,...i)=>{if(t&&t.code==="ENOENT"){t.code="NotFound"}return e(t,...i)};return{listObjects(e,t){return r.listObjects(e,n(t))},headObject(e,t){return r.headObject(e,n(t))},deleteObject(e,t){return r.deleteObject(e,n(t))},putObject(e,t){return r.putObject(e,n(t))}}}const t=i(918);t.config.update(e);const r=new t.S3;return{listObjects(e,t){return r.listObjects(e,t)},headObject(e,t){return r.headObject(e,t)},deleteObject(e,t){return r.deleteObject(e,t)},putObject(e,t){return r.putObject(e,t)}}};e.exports.get_mockS3Http=function(){let e=false;if(!process.env.node_pre_gyp_mock_s3){return()=>e}const t=i(3902);const r="https://mapbox-node-pre-gyp-public-testing-bucket.s3.us-east-1.amazonaws.com";const a=process.env.node_pre_gyp_mock_s3+"/mapbox-node-pre-gyp-public-testing-bucket";const o=()=>{function get(e,t){const i=s.join(a,e.replace("%2B","+"));try{n.accessSync(i,n.constants.R_OK)}catch(e){return[404,"not found\n"]}return[200,n.createReadStream(i)]}return t(r).persist().get(()=>e).reply(get)};o(t,r,a);const u=t=>{const i=e;if(t==="off"){e=false}else if(t==="on"){e=true}else if(t!=="get"){throw new Error(`illegal action for setMockHttp ${t}`)}return i};return u}},302:(e,t,i)=>{"use strict";e.exports=t;const r=i(5622);const n=i(6698);const s=i(8835);const a=i(2157);const o=i(5677);let u;if(process.env.NODE_PRE_GYP_ABI_CROSSWALK){u=require(process.env.NODE_PRE_GYP_ABI_CROSSWALK)}else{u=i(3380)}const c={};Object.keys(u).forEach(e=>{const t=e.split(".")[0];if(!c[t]){c[t]=e}});function get_electron_abi(e,t){if(!e){throw new Error("get_electron_abi requires valid runtime arg")}if(typeof t==="undefined"){throw new Error("Empty target version is not supported if electron is the target.")}const i=n.parse(t);return e+"-v"+i.major+"."+i.minor}e.exports.get_electron_abi=get_electron_abi;function get_node_webkit_abi(e,t){if(!e){throw new Error("get_node_webkit_abi requires valid runtime arg")}if(typeof t==="undefined"){throw new Error("Empty target version is not supported if node-webkit is the target.")}return e+"-v"+t}e.exports.get_node_webkit_abi=get_node_webkit_abi;function get_node_abi(e,t){if(!e){throw new Error("get_node_abi requires valid runtime arg")}if(!t){throw new Error("get_node_abi requires valid process.versions object")}const i=n.parse(t.node);if(i.major===0&&i.minor%2){return e+"-v"+t.node}else{return t.modules?e+"-v"+ +t.modules:"v8-"+t.v8.split(".").slice(0,2).join(".")}}e.exports.get_node_abi=get_node_abi;function get_runtime_abi(e,t){if(!e){throw new Error("get_runtime_abi requires valid runtime arg")}if(e==="node-webkit"){return get_node_webkit_abi(e,t||process.versions["node-webkit"])}else if(e==="electron"){return get_electron_abi(e,t||process.versions.electron)}else{if(e!=="node"){throw new Error("Unknown Runtime: '"+e+"'")}if(!t){return get_node_abi(e,process.versions)}else{let i;if(u[t]){i=u[t]}else{const e=t.split(".").map(e=>{return+e});if(e.length!==3){throw new Error("Unknown target version: "+t)}const r=e[0];let n=e[1];let s=e[2];if(r===1){while(true){if(n>0)--n;if(s>0)--s;const e=""+r+"."+n+"."+s;if(u[e]){i=u[e];console.log("Warning: node-pre-gyp could not find exact match for "+t);console.log("Warning: but node-pre-gyp successfully choose "+e+" as ABI compatible target");break}if(n===0&&s===0){break}}}else if(r>=2){if(c[r]){i=u[c[r]];console.log("Warning: node-pre-gyp could not find exact match for "+t);console.log("Warning: but node-pre-gyp successfully choose "+c[r]+" as ABI compatible target")}}else if(r===0){if(e[1]%2===0){while(--s>0){const e=""+r+"."+n+"."+s;if(u[e]){i=u[e];console.log("Warning: node-pre-gyp could not find exact match for "+t);console.log("Warning: but node-pre-gyp successfully choose "+e+" as ABI compatible target");break}}}}}if(!i){throw new Error("Unsupported target version: "+t)}const r={node:t,v8:i.v8+".0",modules:i.node_abi>1?i.node_abi:undefined};return get_node_abi(e,r)}}}e.exports.get_runtime_abi=get_runtime_abi;const l=["module_name","module_path","host"];function validate_config(e,t){const i=e.name+" package.json is not node-pre-gyp ready:\n";const r=[];if(!e.main){r.push("main")}if(!e.version){r.push("version")}if(!e.name){r.push("name")}if(!e.binary){r.push("binary")}const n=e.binary;if(n){l.forEach(e=>{if(!n[e]||typeof n[e]!=="string"){r.push("binary."+e)}})}if(r.length>=1){throw new Error(i+"package.json must declare these properties: \n"+r.join("\n"))}if(n){const e=s.parse(n.host).protocol;if(e==="http:"){throw new Error("'host' protocol ("+e+") is invalid - only 'https:' is accepted")}}o.validate_package_json(e,t)}e.exports.validate_config=validate_config;function eval_template(e,t){Object.keys(t).forEach(i=>{const r="{"+i+"}";while(e.indexOf(r)>-1){e=e.replace(r,t[i])}});return e}function fix_slashes(e){if(e.slice(-1)!=="/"){return e+"/"}return e}function drop_double_slashes(e){return e.replace(/\/\//g,"/")}function get_process_runtime(e){let t="node";if(e["node-webkit"]){t="node-webkit"}else if(e.electron){t="electron"}return t}e.exports.get_process_runtime=get_process_runtime;const f="{module_name}-v{version}-{node_abi}-{platform}-{arch}.tar.gz";const h="";e.exports.evaluate=function(e,t,i){t=t||{};validate_config(e,t);const u=e.version;const c=n.parse(u);const l=t.runtime||get_process_runtime(process.versions);const p={name:e.name,configuration:t.debug?"Debug":"Release",debug:t.debug,module_name:e.binary.module_name,version:c.version,prerelease:c.prerelease.length?c.prerelease.join("."):"",build:c.build.length?c.build.join("."):"",major:c.major,minor:c.minor,patch:c.patch,runtime:l,node_abi:get_runtime_abi(l,t.target),node_abi_napi:o.get_napi_version(t.target)?"napi":get_runtime_abi(l,t.target),napi_version:o.get_napi_version(t.target),napi_build_version:i||"",node_napi_label:i?"napi-v"+i:get_runtime_abi(l,t.target),target:t.target||"",platform:t.target_platform||process.platform,target_platform:t.target_platform||process.platform,arch:t.target_arch||process.arch,target_arch:t.target_arch||process.arch,libc:t.target_libc||a.family||"unknown",module_main:e.main,toolset:t.toolset||"",bucket:e.binary.bucket,region:e.binary.region,s3ForcePathStyle:e.binary.s3ForcePathStyle||false};const d=p.module_name.replace("-","_");const v=process.env["npm_config_"+d+"_binary_host_mirror"]||e.binary.host;p.host=fix_slashes(eval_template(v,p));p.module_path=eval_template(e.binary.module_path,p);if(t.module_root){p.module_path=r.join(t.module_root,p.module_path)}else{p.module_path=r.resolve(p.module_path)}p.module=r.join(p.module_path,p.module_name+".node");p.remote_path=e.binary.remote_path?drop_double_slashes(fix_slashes(eval_template(e.binary.remote_path,p))):h;const y=e.binary.package_name?e.binary.package_name:f;p.package_name=eval_template(y,p);p.staged_tarball=r.join("build/stage",p.remote_path,p.package_name);p.hosted_path=s.resolve(p.host,p.remote_path);p.hosted_tarball=s.resolve(p.hosted_path,p.package_name);return p}},3448:(e,t,i)=>{"use strict";const r=i(5864);const n=Symbol("max");const s=Symbol("length");const a=Symbol("lengthCalculator");const o=Symbol("allowStale");const u=Symbol("maxAge");const c=Symbol("dispose");const l=Symbol("noDisposeOnSet");const f=Symbol("lruList");const h=Symbol("cache");const p=Symbol("updateAgeOnGet");const d=()=>1;class LRUCache{constructor(e){if(typeof e==="number")e={max:e};if(!e)e={};if(e.max&&(typeof e.max!=="number"||e.max<0))throw new TypeError("max must be a non-negative number");const t=this[n]=e.max||Infinity;const i=e.length||d;this[a]=typeof i!=="function"?d:i;this[o]=e.stale||false;if(e.maxAge&&typeof e.maxAge!=="number")throw new TypeError("maxAge must be a number");this[u]=e.maxAge||0;this[c]=e.dispose;this[l]=e.noDisposeOnSet||false;this[p]=e.updateAgeOnGet||false;this.reset()}set max(e){if(typeof e!=="number"||e<0)throw new TypeError("max must be a non-negative number");this[n]=e||Infinity;g(this)}get max(){return this[n]}set allowStale(e){this[o]=!!e}get allowStale(){return this[o]}set maxAge(e){if(typeof e!=="number")throw new TypeError("maxAge must be a non-negative number");this[u]=e;g(this)}get maxAge(){return this[u]}set lengthCalculator(e){if(typeof e!=="function")e=d;if(e!==this[a]){this[a]=e;this[s]=0;this[f].forEach(e=>{e.length=this[a](e.value,e.key);this[s]+=e.length})}g(this)}get lengthCalculator(){return this[a]}get length(){return this[s]}get itemCount(){return this[f].length}rforEach(e,t){t=t||this;for(let i=this[f].tail;i!==null;){const r=i.prev;m(this,e,i,t);i=r}}forEach(e,t){t=t||this;for(let i=this[f].head;i!==null;){const r=i.next;m(this,e,i,t);i=r}}keys(){return this[f].toArray().map(e=>e.key)}values(){return this[f].toArray().map(e=>e.value)}reset(){if(this[c]&&this[f]&&this[f].length){this[f].forEach(e=>this[c](e.key,e.value))}this[h]=new Map;this[f]=new r;this[s]=0}dump(){return this[f].map(e=>y(this,e)?false:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[f]}set(e,t,i){i=i||this[u];if(i&&typeof i!=="number")throw new TypeError("maxAge must be a number");const r=i?Date.now():0;const o=this[a](t,e);if(this[h].has(e)){if(o>this[n]){b(this,this[h].get(e));return false}const a=this[h].get(e);const u=a.value;if(this[c]){if(!this[l])this[c](e,u.value)}u.now=r;u.maxAge=i;u.value=t;this[s]+=o-u.length;u.length=o;this.get(e);g(this);return true}const p=new Entry(e,t,o,r,i);if(p.length>this[n]){if(this[c])this[c](e,t);return false}this[s]+=p.length;this[f].unshift(p);this[h].set(e,this[f].head);g(this);return true}has(e){if(!this[h].has(e))return false;const t=this[h].get(e).value;return!y(this,t)}get(e){return v(this,e,true)}peek(e){return v(this,e,false)}pop(){const e=this[f].tail;if(!e)return null;b(this,e);return e.value}del(e){b(this,this[h].get(e))}load(e){this.reset();const t=Date.now();for(let i=e.length-1;i>=0;i--){const r=e[i];const n=r.e||0;if(n===0)this.set(r.k,r.v);else{const e=n-t;if(e>0){this.set(r.k,r.v,e)}}}}prune(){this[h].forEach((e,t)=>v(this,t,false))}}const v=(e,t,i)=>{const r=e[h].get(t);if(r){const t=r.value;if(y(e,t)){b(e,r);if(!e[o])return undefined}else{if(i){if(e[p])r.value.now=Date.now();e[f].unshiftNode(r)}}return t.value}};const y=(e,t)=>{if(!t||!t.maxAge&&!e[u])return false;const i=Date.now()-t.now;return t.maxAge?i>t.maxAge:e[u]&&i>e[u]};const g=e=>{if(e[s]>e[n]){for(let t=e[f].tail;e[s]>e[n]&&t!==null;){const i=t.prev;b(e,t);t=i}}};const b=(e,t)=>{if(t){const i=t.value;if(e[c])e[c](i.key,i.value);e[s]-=i.length;e[h].delete(i.key);e[f].removeNode(t)}};class Entry{constructor(e,t,i,r,n){this.key=e;this.value=t;this.length=i;this.now=r;this.maxAge=n||0}}const m=(e,t,i,r)=>{let n=i.value;if(y(e,n)){b(e,i);if(!e[o])n=undefined}if(n)t.call(r,n.value,n.key,e)};e.exports=LRUCache},1400:(e,t,i)=>{var r=process.env.DEBUG_NOPT||process.env.NOPT_DEBUG?function(){console.error.apply(console,arguments)}:function(){};var n=i(8835),s=i(5622),a=i(2413).Stream,o=i(5920),u=i(2087);e.exports=t=nopt;t.clean=clean;t.typeDefs={String:{type:String,validate:validateString},Boolean:{type:Boolean,validate:validateBoolean},url:{type:n,validate:validateUrl},Number:{type:Number,validate:validateNumber},path:{type:s,validate:validatePath},Stream:{type:a,validate:validateStream},Date:{type:Date,validate:validateDate}};function nopt(e,i,n,s){n=n||process.argv;e=e||{};i=i||{};if(typeof s!=="number")s=2;r(e,i,n,s);n=n.slice(s);var a={},o,u={remain:[],cooked:n,original:n.slice(0)};parse(n,a,u.remain,e,i);clean(a,e,t.typeDefs);a.argv=u;Object.defineProperty(a.argv,"toString",{value:function(){return this.original.map(JSON.stringify).join(" ")},enumerable:false});return a}function clean(e,i,n){n=n||t.typeDefs;var s={},a=[false,true,null,String,Array];Object.keys(e).forEach(function(o){if(o==="argv")return;var u=e[o],c=Array.isArray(u),l=i[o];if(!c)u=[u];if(!l)l=a;if(l===Array)l=a.concat(Array);if(!Array.isArray(l))l=[l];r("val=%j",u);r("types=",l);u=u.map(function(a){if(typeof a==="string"){r("string %j",a);a=a.trim();if(a==="null"&&~l.indexOf(null)||a==="true"&&(~l.indexOf(true)||~l.indexOf(Boolean))||a==="false"&&(~l.indexOf(false)||~l.indexOf(Boolean))){a=JSON.parse(a);r("jsonable %j",a)}else if(~l.indexOf(Number)&&!isNaN(a)){r("convert to number",a);a=+a}else if(~l.indexOf(Date)&&!isNaN(Date.parse(a))){r("convert to date",a);a=new Date(a)}}if(!i.hasOwnProperty(o)){return a}if(a===false&&~l.indexOf(null)&&!(~l.indexOf(false)||~l.indexOf(Boolean))){a=null}var u={};u[o]=a;r("prevalidated val",u,a,i[o]);if(!validate(u,o,a,i[o],n)){if(t.invalidHandler){t.invalidHandler(o,a,i[o],e)}else if(t.invalidHandler!==false){r("invalid: "+o+"="+a,i[o])}return s}r("validated val",u,a,i[o]);return u[o]}).filter(function(e){return e!==s});if(!u.length&&l.indexOf(Array)===-1){r("VAL HAS NO LENGTH, DELETE IT",u,o,l.indexOf(Array));delete e[o]}else if(c){r(c,e[o],u);e[o]=u}else e[o]=u[0];r("k=%s val=%j",o,u,e[o])})}function validateString(e,t,i){e[t]=String(i)}function validatePath(e,t,i){if(i===true)return false;if(i===null)return true;i=String(i);var r=process.platform==="win32",n=r?/^~(\/|\\)/:/^~\//,a=u.homedir();if(a&&i.match(n)){e[t]=s.resolve(a,i.substr(2))}else{e[t]=s.resolve(i)}return true}function validateNumber(e,t,i){r("validate Number %j %j %j",t,i,isNaN(i));if(isNaN(i))return false;e[t]=+i}function validateDate(e,t,i){var n=Date.parse(i);r("validate Date %j %j %j",t,i,n);if(isNaN(n))return false;e[t]=new Date(i)}function validateBoolean(e,t,i){if(i instanceof Boolean)i=i.valueOf();else if(typeof i==="string"){if(!isNaN(i))i=!!+i;else if(i==="null"||i==="false")i=false;else i=true}else i=!!i;e[t]=i}function validateUrl(e,t,i){i=n.parse(String(i));if(!i.host)return false;e[t]=i.href}function validateStream(e,t,i){if(!(i instanceof a))return false;e[t]=i}function validate(e,t,i,n,s){if(Array.isArray(n)){for(var a=0,o=n.length;a<o;a++){if(n[a]===Array)continue;if(validate(e,t,i,n[a],s))return true}delete e[t];return false}if(n===Array)return true;if(n!==n){r("Poison NaN",t,i,n);delete e[t];return false}if(i===n){r("Explicitly allowed %j",i);e[t]=i;return true}var u=false,c=Object.keys(s);for(var a=0,o=c.length;a<o;a++){r("test type %j %j %j",t,i,c[a]);var l=s[c[a]];if(l&&(n&&n.name&&l.type&&l.type.name?n.name===l.type.name:n===l.type)){var f={};u=false!==l.validate(f,t,i);i=f[t];if(u){e[t]=i;break}}}r("OK? %j (%j %j %j)",u,t,i,c[a]);if(!u)delete e[t];return u}function parse(e,t,i,n,s){r("parse",e,t,i);var a=null,u=o(Object.keys(n)),c=o(Object.keys(s));for(var l=0;l<e.length;l++){var f=e[l];r("arg",f);if(f.match(/^-{2,}$/)){i.push.apply(i,e.slice(l+1));e[l]="--";break}var h=false;if(f.charAt(0)==="-"&&f.length>1){var p=f.indexOf("=");if(p>-1){h=true;var d=f.substr(p+1);f=f.substr(0,p);e.splice(l,1,f,d)}var v=resolveShort(f,s,c,u);r("arg=%j shRes=%j",f,v);if(v){r(f,v);e.splice.apply(e,[l,1].concat(v));if(f!==v[0]){l--;continue}}f=f.replace(/^-+/,"");var y=null;while(f.toLowerCase().indexOf("no-")===0){y=!y;f=f.substr(3)}if(u[f])f=u[f];var g=n[f];var b=Array.isArray(g);if(b&&g.length===1){b=false;g=g[0]}var m=g===Array||b&&g.indexOf(Array)!==-1;if(!n.hasOwnProperty(f)&&t.hasOwnProperty(f)){if(!Array.isArray(t[f]))t[f]=[t[f]];m=true}var _,w=e[l+1];var E=typeof y==="boolean"||g===Boolean||b&&g.indexOf(Boolean)!==-1||typeof g==="undefined"&&!h||w==="false"&&(g===null||b&&~g.indexOf(null));if(E){_=!y;if(w==="true"||w==="false"){_=JSON.parse(w);w=null;if(y)_=!_;l++}if(b&&w){if(~g.indexOf(w)){_=w;l++}else if(w==="null"&&~g.indexOf(null)){_=null;l++}else if(!w.match(/^-{2,}[^-]/)&&!isNaN(w)&&~g.indexOf(Number)){_=+w;l++}else if(!w.match(/^-[^-]/)&&~g.indexOf(String)){_=w;l++}}if(m)(t[f]=t[f]||[]).push(_);else t[f]=_;continue}if(g===String){if(w===undefined){w=""}else if(w.match(/^-{1,2}[^-]+/)){w="";l--}}if(w&&w.match(/^-{2,}$/)){w=undefined;l--}_=w===undefined?true:w;if(m)(t[f]=t[f]||[]).push(_);else t[f]=_;l++;continue}i.push(f)}}function resolveShort(e,t,i,n){e=e.replace(/^-+/,"");if(n[e]===e)return null;if(t[e]){if(t[e]&&!Array.isArray(t[e]))t[e]=t[e].split(/\s+/);return t[e]}var s=t.___singles;if(!s){s=Object.keys(t).filter(function(e){return e.length===1}).reduce(function(e,t){e[t]=true;return e},{});t.___singles=s;r("shorthand singles",s)}var a=e.split("").filter(function(e){return s[e]});if(a.join("")===e)return a.map(function(e){return t[e]}).reduce(function(e,t){return e.concat(t)},[]);if(n[e]&&!t[e])return null;if(i[e])e=i[e];if(t[e]&&!Array.isArray(t[e]))t[e]=t[e].split(/\s+/);return t[e]}},6286:(e,t,i)=>{const r=i(2357);const n=i(5622);const s=i(5747);let a=undefined;try{a=i(3700)}catch(e){}const o={nosort:true,silent:true};let u=0;const c=process.platform==="win32";const l=e=>{const t=["unlink","chmod","stat","lstat","rmdir","readdir"];t.forEach(t=>{e[t]=e[t]||s[t];t=t+"Sync";e[t]=e[t]||s[t]});e.maxBusyTries=e.maxBusyTries||3;e.emfileWait=e.emfileWait||1e3;if(e.glob===false){e.disableGlob=true}if(e.disableGlob!==true&&a===undefined){throw Error("glob dependency not found, set `options.disableGlob = true` if intentional")}e.disableGlob=e.disableGlob||false;e.glob=e.glob||o};const f=(e,t,i)=>{if(typeof t==="function"){i=t;t={}}r(e,"rimraf: missing path");r.equal(typeof e,"string","rimraf: path should be a string");r.equal(typeof i,"function","rimraf: callback function required");r(t,"rimraf: invalid options argument provided");r.equal(typeof t,"object","rimraf: options should be object");l(t);let n=0;let s=null;let o=0;const c=e=>{s=s||e;if(--o===0)i(s)};const f=(e,r)=>{if(e)return i(e);o=r.length;if(o===0)return i();r.forEach(e=>{const i=r=>{if(r){if((r.code==="EBUSY"||r.code==="ENOTEMPTY"||r.code==="EPERM")&&n<t.maxBusyTries){n++;return setTimeout(()=>h(e,t,i),n*100)}if(r.code==="EMFILE"&&u<t.emfileWait){return setTimeout(()=>h(e,t,i),u++)}if(r.code==="ENOENT")r=null}u=0;c(r)};h(e,t,i)})};if(t.disableGlob||!a.hasMagic(e))return f(null,[e]);t.lstat(e,(i,r)=>{if(!i)return f(null,[e]);a(e,t.glob,f)})};const h=(e,t,i)=>{r(e);r(t);r(typeof i==="function");t.lstat(e,(r,n)=>{if(r&&r.code==="ENOENT")return i(null);if(r&&r.code==="EPERM"&&c)p(e,t,r,i);if(n&&n.isDirectory())return v(e,t,r,i);t.unlink(e,r=>{if(r){if(r.code==="ENOENT")return i(null);if(r.code==="EPERM")return c?p(e,t,r,i):v(e,t,r,i);if(r.code==="EISDIR")return v(e,t,r,i)}return i(r)})})};const p=(e,t,i,n)=>{r(e);r(t);r(typeof n==="function");t.chmod(e,438,r=>{if(r)n(r.code==="ENOENT"?null:i);else t.stat(e,(r,s)=>{if(r)n(r.code==="ENOENT"?null:i);else if(s.isDirectory())v(e,t,i,n);else t.unlink(e,n)})})};const d=(e,t,i)=>{r(e);r(t);try{t.chmodSync(e,438)}catch(e){if(e.code==="ENOENT")return;else throw i}let n;try{n=t.statSync(e)}catch(e){if(e.code==="ENOENT")return;else throw i}if(n.isDirectory())b(e,t,i);else t.unlinkSync(e)};const v=(e,t,i,n)=>{r(e);r(t);r(typeof n==="function");t.rmdir(e,r=>{if(r&&(r.code==="ENOTEMPTY"||r.code==="EEXIST"||r.code==="EPERM"))y(e,t,n);else if(r&&r.code==="ENOTDIR")n(i);else n(r)})};const y=(e,t,i)=>{r(e);r(t);r(typeof i==="function");t.readdir(e,(r,s)=>{if(r)return i(r);let a=s.length;if(a===0)return t.rmdir(e,i);let o;s.forEach(r=>{f(n.join(e,r),t,r=>{if(o)return;if(r)return i(o=r);if(--a===0)t.rmdir(e,i)})})})};const g=(e,t)=>{t=t||{};l(t);r(e,"rimraf: missing path");r.equal(typeof e,"string","rimraf: path should be a string");r(t,"rimraf: missing options");r.equal(typeof t,"object","rimraf: options should be object");let i;if(t.disableGlob||!a.hasMagic(e)){i=[e]}else{try{t.lstatSync(e);i=[e]}catch(r){i=a.sync(e,t.glob)}}if(!i.length)return;for(let e=0;e<i.length;e++){const r=i[e];let n;try{n=t.lstatSync(r)}catch(e){if(e.code==="ENOENT")return;if(e.code==="EPERM"&&c)d(r,t,e)}try{if(n&&n.isDirectory())b(r,t,null);else t.unlinkSync(r)}catch(e){if(e.code==="ENOENT")return;if(e.code==="EPERM")return c?d(r,t,e):b(r,t,e);if(e.code!=="EISDIR")throw e;b(r,t,e)}}};const b=(e,t,i)=>{r(e);r(t);try{t.rmdirSync(e)}catch(r){if(r.code==="ENOENT")return;if(r.code==="ENOTDIR")throw i;if(r.code==="ENOTEMPTY"||r.code==="EEXIST"||r.code==="EPERM")m(e,t)}};const m=(e,t)=>{r(e);r(t);t.readdirSync(e).forEach(i=>g(n.join(e,i),t));const i=c?100:1;let s=0;do{let r=true;try{const n=t.rmdirSync(e,t);r=false;return n}finally{if(++s<i&&r)continue}}while(true)};e.exports=f;f.sync=g},9402:(e,t,i)=>{const r=Symbol("SemVer ANY");class Comparator{static get ANY(){return r}constructor(e,t){t=n(t);if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}u("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===r){this.value=""}else{this.value=this.operator+this.semver.version}u("comp",this)}parse(e){const t=this.options.loose?s[a.COMPARATORLOOSE]:s[a.COMPARATOR];const i=e.match(t);if(!i){throw new TypeError(`Invalid comparator: ${e}`)}this.operator=i[1]!==undefined?i[1]:"";if(this.operator==="="){this.operator=""}if(!i[2]){this.semver=r}else{this.semver=new c(i[2],this.options.loose)}}toString(){return this.value}test(e){u("Comparator.test",e,this.options.loose);if(this.semver===r||e===r){return true}if(typeof e==="string"){try{e=new c(e,this.options)}catch(e){return false}}return o(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(this.operator===""){if(this.value===""){return true}return new l(e.value,t).test(this.value)}else if(e.operator===""){if(e.value===""){return true}return new l(this.value,t).test(e.semver)}const i=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");const r=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");const n=this.semver.version===e.semver.version;const s=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");const a=o(this.semver,"<",e.semver,t)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<");const u=o(this.semver,">",e.semver,t)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return i||r||n&&s||a||u}}e.exports=Comparator;const n=i(9739);const{re:s,t:a}=i(6294);const o=i(9413);const u=i(5503);const c=i(8906);const l=i(6269)},6269:(e,t,i)=>{class Range{constructor(e,t){t=s(t);if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof a){this.raw=e.value;this.set=[[e]];this.format();return this}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e;this.set=e.split(/\s*\|\|\s*/).map(e=>this.parseRange(e.trim())).filter(e=>e.length);if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${e}`)}if(this.set.length>1){const e=this.set[0];this.set=this.set.filter(e=>!d(e[0]));if(this.set.length===0)this.set=[e];else if(this.set.length>1){for(const e of this.set){if(e.length===1&&v(e[0])){this.set=[e];break}}}}this.format()}format(){this.range=this.set.map(e=>{return e.join(" ").trim()}).join("||").trim();return this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=Object.keys(this.options).join(",");const i=`parseRange:${t}:${e}`;const r=n.get(i);if(r)return r;const s=this.options.loose;const u=s?c[l.HYPHENRANGELOOSE]:c[l.HYPHENRANGE];e=e.replace(u,k(this.options.includePrerelease));o("hyphen replace",e);e=e.replace(c[l.COMPARATORTRIM],f);o("comparator trim",e,c[l.COMPARATORTRIM]);e=e.replace(c[l.TILDETRIM],h);e=e.replace(c[l.CARETTRIM],p);e=e.split(/\s+/).join(" ");const v=s?c[l.COMPARATORLOOSE]:c[l.COMPARATOR];const y=e.split(" ").map(e=>g(e,this.options)).join(" ").split(/\s+/).map(e=>A(e,this.options)).filter(this.options.loose?e=>!!e.match(v):()=>true).map(e=>new a(e,this.options));const b=y.length;const m=new Map;for(const e of y){if(d(e))return[e];m.set(e.value,e)}if(m.size>1&&m.has(""))m.delete("");const _=[...m.values()];n.set(i,_);return _}intersects(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some(i=>{return y(i,t)&&e.set.some(e=>{return y(e,t)&&i.every(i=>{return e.every(e=>{return i.intersects(e,t)})})})})}test(e){if(!e){return false}if(typeof e==="string"){try{e=new u(e,this.options)}catch(e){return false}}for(let t=0;t<this.set.length;t++){if(T(this.set[t],e,this.options)){return true}}return false}}e.exports=Range;const r=i(3448);const n=new r({max:1e3});const s=i(9739);const a=i(9402);const o=i(5503);const u=i(8906);const{re:c,t:l,comparatorTrimReplace:f,tildeTrimReplace:h,caretTrimReplace:p}=i(6294);const d=e=>e.value==="<0.0.0-0";const v=e=>e.value==="";const y=(e,t)=>{let i=true;const r=e.slice();let n=r.pop();while(i&&r.length){i=r.every(e=>{return n.intersects(e,t)});n=r.pop()}return i};const g=(e,t)=>{o("comp",e,t);e=w(e,t);o("caret",e);e=m(e,t);o("tildes",e);e=S(e,t);o("xrange",e);e=R(e,t);o("stars",e);return e};const b=e=>!e||e.toLowerCase()==="x"||e==="*";const m=(e,t)=>e.trim().split(/\s+/).map(e=>{return _(e,t)}).join(" ");const _=(e,t)=>{const i=t.loose?c[l.TILDELOOSE]:c[l.TILDE];return e.replace(i,(t,i,r,n,s)=>{o("tilde",e,t,i,r,n,s);let a;if(b(i)){a=""}else if(b(r)){a=`>=${i}.0.0 <${+i+1}.0.0-0`}else if(b(n)){a=`>=${i}.${r}.0 <${i}.${+r+1}.0-0`}else if(s){o("replaceTilde pr",s);a=`>=${i}.${r}.${n}-${s} <${i}.${+r+1}.0-0`}else{a=`>=${i}.${r}.${n} <${i}.${+r+1}.0-0`}o("tilde return",a);return a})};const w=(e,t)=>e.trim().split(/\s+/).map(e=>{return E(e,t)}).join(" ");const E=(e,t)=>{o("caret",e,t);const i=t.loose?c[l.CARETLOOSE]:c[l.CARET];const r=t.includePrerelease?"-0":"";return e.replace(i,(t,i,n,s,a)=>{o("caret",e,t,i,n,s,a);let u;if(b(i)){u=""}else if(b(n)){u=`>=${i}.0.0${r} <${+i+1}.0.0-0`}else if(b(s)){if(i==="0"){u=`>=${i}.${n}.0${r} <${i}.${+n+1}.0-0`}else{u=`>=${i}.${n}.0${r} <${+i+1}.0.0-0`}}else if(a){o("replaceCaret pr",a);if(i==="0"){if(n==="0"){u=`>=${i}.${n}.${s}-${a} <${i}.${n}.${+s+1}-0`}else{u=`>=${i}.${n}.${s}-${a} <${i}.${+n+1}.0-0`}}else{u=`>=${i}.${n}.${s}-${a} <${+i+1}.0.0-0`}}else{o("no pr");if(i==="0"){if(n==="0"){u=`>=${i}.${n}.${s}${r} <${i}.${n}.${+s+1}-0`}else{u=`>=${i}.${n}.${s}${r} <${i}.${+n+1}.0-0`}}else{u=`>=${i}.${n}.${s} <${+i+1}.0.0-0`}}o("caret return",u);return u})};const S=(e,t)=>{o("replaceXRanges",e,t);return e.split(/\s+/).map(e=>{return x(e,t)}).join(" ")};const x=(e,t)=>{e=e.trim();const i=t.loose?c[l.XRANGELOOSE]:c[l.XRANGE];return e.replace(i,(i,r,n,s,a,u)=>{o("xRange",e,i,r,n,s,a,u);const c=b(n);const l=c||b(s);const f=l||b(a);const h=f;if(r==="="&&h){r=""}u=t.includePrerelease?"-0":"";if(c){if(r===">"||r==="<"){i="<0.0.0-0"}else{i="*"}}else if(r&&h){if(l){s=0}a=0;if(r===">"){r=">=";if(l){n=+n+1;s=0;a=0}else{s=+s+1;a=0}}else if(r==="<="){r="<";if(l){n=+n+1}else{s=+s+1}}if(r==="<")u="-0";i=`${r+n}.${s}.${a}${u}`}else if(l){i=`>=${n}.0.0${u} <${+n+1}.0.0-0`}else if(f){i=`>=${n}.${s}.0${u} <${n}.${+s+1}.0-0`}o("xRange return",i);return i})};const R=(e,t)=>{o("replaceStars",e,t);return e.trim().replace(c[l.STAR],"")};const A=(e,t)=>{o("replaceGTE0",e,t);return e.trim().replace(c[t.includePrerelease?l.GTE0PRE:l.GTE0],"")};const k=e=>(t,i,r,n,s,a,o,u,c,l,f,h,p)=>{if(b(r)){i=""}else if(b(n)){i=`>=${r}.0.0${e?"-0":""}`}else if(b(s)){i=`>=${r}.${n}.0${e?"-0":""}`}else if(a){i=`>=${i}`}else{i=`>=${i}${e?"-0":""}`}if(b(c)){u=""}else if(b(l)){u=`<${+c+1}.0.0-0`}else if(b(f)){u=`<${c}.${+l+1}.0-0`}else if(h){u=`<=${c}.${l}.${f}-${h}`}else if(e){u=`<${c}.${l}.${+f+1}-0`}else{u=`<=${u}`}return`${i} ${u}`.trim()};const T=(e,t,i)=>{for(let i=0;i<e.length;i++){if(!e[i].test(t)){return false}}if(t.prerelease.length&&!i.includePrerelease){for(let i=0;i<e.length;i++){o(e[i].semver);if(e[i].semver===a.ANY){continue}if(e[i].semver.prerelease.length>0){const r=e[i].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch){return true}}}return false}return true}},8906:(e,t,i)=>{const r=i(5503);const{MAX_LENGTH:n,MAX_SAFE_INTEGER:s}=i(7909);const{re:a,t:o}=i(6294);const u=i(9739);const{compareIdentifiers:c}=i(9953);class SemVer{constructor(e,t){t=u(t);if(e instanceof SemVer){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError(`Invalid Version: ${e}`)}if(e.length>n){throw new TypeError(`version is longer than ${n} characters`)}r("SemVer",e,t);this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;const i=e.trim().match(t.loose?a[o.LOOSE]:a[o.FULL]);if(!i){throw new TypeError(`Invalid Version: ${e}`)}this.raw=e;this.major=+i[1];this.minor=+i[2];this.patch=+i[3];if(this.major>s||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>s||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>s||this.patch<0){throw new TypeError("Invalid patch version")}if(!i[4]){this.prerelease=[]}else{this.prerelease=i[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<s){return t}}return e})}this.build=i[5]?i[5].split("."):[];this.format()}format(){this.version=`${this.major}.${this.minor}.${this.patch}`;if(this.prerelease.length){this.version+=`-${this.prerelease.join(".")}`}return this.version}toString(){return this.version}compare(e){r("SemVer.compare",this.version,this.options,e);if(!(e instanceof SemVer)){if(typeof e==="string"&&e===this.version){return 0}e=new SemVer(e,this.options)}if(e.version===this.version){return 0}return this.compareMain(e)||this.comparePre(e)}compareMain(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}return c(this.major,e.major)||c(this.minor,e.minor)||c(this.patch,e.patch)}comparePre(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}if(this.prerelease.length&&!e.prerelease.length){return-1}else if(!this.prerelease.length&&e.prerelease.length){return 1}else if(!this.prerelease.length&&!e.prerelease.length){return 0}let t=0;do{const i=this.prerelease[t];const n=e.prerelease[t];r("prerelease compare",t,i,n);if(i===undefined&&n===undefined){return 0}else if(n===undefined){return 1}else if(i===undefined){return-1}else if(i===n){continue}else{return c(i,n)}}while(++t)}compareBuild(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}let t=0;do{const i=this.build[t];const n=e.build[t];r("prerelease compare",t,i,n);if(i===undefined&&n===undefined){return 0}else if(n===undefined){return 1}else if(i===undefined){return-1}else if(i===n){continue}else{return c(i,n)}}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0;this.patch=0;this.minor=0;this.major++;this.inc("pre",t);break;case"preminor":this.prerelease.length=0;this.patch=0;this.minor++;this.inc("pre",t);break;case"prepatch":this.prerelease.length=0;this.inc("patch",t);this.inc("pre",t);break;case"prerelease":if(this.prerelease.length===0){this.inc("patch",t)}this.inc("pre",t);break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0){this.major++}this.minor=0;this.patch=0;this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0){this.minor++}this.patch=0;this.prerelease=[];break;case"patch":if(this.prerelease.length===0){this.patch++}this.prerelease=[];break;case"pre":if(this.prerelease.length===0){this.prerelease=[0]}else{let e=this.prerelease.length;while(--e>=0){if(typeof this.prerelease[e]==="number"){this.prerelease[e]++;e=-2}}if(e===-1){this.prerelease.push(0)}}if(t){if(this.prerelease[0]===t){if(isNaN(this.prerelease[1])){this.prerelease=[t,0]}}else{this.prerelease=[t,0]}}break;default:throw new Error(`invalid increment argument: ${e}`)}this.format();this.raw=this.version;return this}}e.exports=SemVer},555:(e,t,i)=>{const r=i(2740);const n=(e,t)=>{const i=r(e.trim().replace(/^[=v]+/,""),t);return i?i.version:null};e.exports=n},9413:(e,t,i)=>{const r=i(9846);const n=i(417);const s=i(4645);const a=i(5255);const o=i(9206);const u=i(330);const c=(e,t,i,c)=>{switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof i==="object")i=i.version;return e===i;case"!==":if(typeof e==="object")e=e.version;if(typeof i==="object")i=i.version;return e!==i;case"":case"=":case"==":return r(e,i,c);case"!=":return n(e,i,c);case">":return s(e,i,c);case">=":return a(e,i,c);case"<":return o(e,i,c);case"<=":return u(e,i,c);default:throw new TypeError(`Invalid operator: ${t}`)}};e.exports=c},1009:(e,t,i)=>{const r=i(8906);const n=i(2740);const{re:s,t:a}=i(6294);const o=(e,t)=>{if(e instanceof r){return e}if(typeof e==="number"){e=String(e)}if(typeof e!=="string"){return null}t=t||{};let i=null;if(!t.rtl){i=e.match(s[a.COERCE])}else{let t;while((t=s[a.COERCERTL].exec(e))&&(!i||i.index+i[0].length!==e.length)){if(!i||t.index+t[0].length!==i.index+i[0].length){i=t}s[a.COERCERTL].lastIndex=t.index+t[1].length+t[2].length}s[a.COERCERTL].lastIndex=-1}if(i===null)return null;return n(`${i[2]}.${i[3]||"0"}.${i[4]||"0"}`,t)};e.exports=o},7780:(e,t,i)=>{const r=i(8906);const n=(e,t,i)=>{const n=new r(e,i);const s=new r(t,i);return n.compare(s)||n.compareBuild(s)};e.exports=n},683:(e,t,i)=>{const r=i(5499);const n=(e,t)=>r(e,t,true);e.exports=n},5499:(e,t,i)=>{const r=i(8906);const n=(e,t,i)=>new r(e,i).compare(new r(t,i));e.exports=n},5707:(e,t,i)=>{const r=i(2740);const n=i(9846);const s=(e,t)=>{if(n(e,t)){return null}else{const i=r(e);const n=r(t);const s=i.prerelease.length||n.prerelease.length;const a=s?"pre":"";const o=s?"prerelease":"";for(const e in i){if(e==="major"||e==="minor"||e==="patch"){if(i[e]!==n[e]){return a+e}}}return o}};e.exports=s},9846:(e,t,i)=>{const r=i(5499);const n=(e,t,i)=>r(e,t,i)===0;e.exports=n},4645:(e,t,i)=>{const r=i(5499);const n=(e,t,i)=>r(e,t,i)>0;e.exports=n},5255:(e,t,i)=>{const r=i(5499);const n=(e,t,i)=>r(e,t,i)>=0;e.exports=n},1280:(e,t,i)=>{const r=i(8906);const n=(e,t,i,n)=>{if(typeof i==="string"){n=i;i=undefined}try{return new r(e,i).inc(t,n).version}catch(e){return null}};e.exports=n},9206:(e,t,i)=>{const r=i(5499);const n=(e,t,i)=>r(e,t,i)<0;e.exports=n},330:(e,t,i)=>{const r=i(5499);const n=(e,t,i)=>r(e,t,i)<=0;e.exports=n},8702:(e,t,i)=>{const r=i(8906);const n=(e,t)=>new r(e,t).major;e.exports=n},5340:(e,t,i)=>{const r=i(8906);const n=(e,t)=>new r(e,t).minor;e.exports=n},417:(e,t,i)=>{const r=i(5499);const n=(e,t,i)=>r(e,t,i)!==0;e.exports=n},2740:(e,t,i)=>{const{MAX_LENGTH:r}=i(7909);const{re:n,t:s}=i(6294);const a=i(8906);const o=i(9739);const u=(e,t)=>{t=o(t);if(e instanceof a){return e}if(typeof e!=="string"){return null}if(e.length>r){return null}const i=t.loose?n[s.LOOSE]:n[s.FULL];if(!i.test(e)){return null}try{return new a(e,t)}catch(e){return null}};e.exports=u},2922:(e,t,i)=>{const r=i(8906);const n=(e,t)=>new r(e,t).patch;e.exports=n},7058:(e,t,i)=>{const r=i(2740);const n=(e,t)=>{const i=r(e,t);return i&&i.prerelease.length?i.prerelease:null};e.exports=n},6801:(e,t,i)=>{const r=i(5499);const n=(e,t,i)=>r(t,e,i);e.exports=n},5213:(e,t,i)=>{const r=i(7780);const n=(e,t)=>e.sort((e,i)=>r(i,e,t));e.exports=n},8667:(e,t,i)=>{const r=i(6269);const n=(e,t,i)=>{try{t=new r(t,i)}catch(e){return false}return t.test(e)};e.exports=n},7311:(e,t,i)=>{const r=i(7780);const n=(e,t)=>e.sort((e,i)=>r(e,i,t));e.exports=n},9441:(e,t,i)=>{const r=i(2740);const n=(e,t)=>{const i=r(e,t);return i?i.version:null};e.exports=n},6698:(e,t,i)=>{const r=i(6294);e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:i(7909).SEMVER_SPEC_VERSION,SemVer:i(8906),compareIdentifiers:i(9953).compareIdentifiers,rcompareIdentifiers:i(9953).rcompareIdentifiers,parse:i(2740),valid:i(9441),clean:i(555),inc:i(1280),diff:i(5707),major:i(8702),minor:i(5340),patch:i(2922),prerelease:i(7058),compare:i(5499),rcompare:i(6801),compareLoose:i(683),compareBuild:i(7780),sort:i(7311),rsort:i(5213),gt:i(4645),lt:i(9206),eq:i(9846),neq:i(417),gte:i(5255),lte:i(330),cmp:i(9413),coerce:i(1009),Comparator:i(9402),Range:i(6269),satisfies:i(8667),toComparators:i(9672),maxSatisfying:i(6596),minSatisfying:i(3673),minVersion:i(6827),validRange:i(9689),outside:i(7925),gtr:i(6222),ltr:i(3903),intersects:i(2907),simplifyRange:i(2356),subset:i(1138)}},7909:e=>{const t="2.0.0";const i=256;const r=Number.MAX_SAFE_INTEGER||9007199254740991;const n=16;e.exports={SEMVER_SPEC_VERSION:t,MAX_LENGTH:i,MAX_SAFE_INTEGER:r,MAX_SAFE_COMPONENT_LENGTH:n}},5503:e=>{const t=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},9953:e=>{const t=/^[0-9]+$/;const i=(e,i)=>{const r=t.test(e);const n=t.test(i);if(r&&n){e=+e;i=+i}return e===i?0:r&&!n?-1:n&&!r?1:e<i?-1:1};const r=(e,t)=>i(t,e);e.exports={compareIdentifiers:i,rcompareIdentifiers:r}},9739:e=>{const t=["includePrerelease","loose","rtl"];const i=e=>!e?{}:typeof e!=="object"?{loose:true}:t.filter(t=>e[t]).reduce((e,t)=>{e[t]=true;return e},{});e.exports=i},6294:(e,t,i)=>{const{MAX_SAFE_COMPONENT_LENGTH:r}=i(7909);const n=i(5503);t=e.exports={};const s=t.re=[];const a=t.src=[];const o=t.t={};let u=0;const c=(e,t,i)=>{const r=u++;n(r,t);o[e]=r;a[r]=t;s[r]=new RegExp(t,i?"g":undefined)};c("NUMERICIDENTIFIER","0|[1-9]\\d*");c("NUMERICIDENTIFIERLOOSE","[0-9]+");c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*");c("MAINVERSION",`(${a[o.NUMERICIDENTIFIER]})\\.`+`(${a[o.NUMERICIDENTIFIER]})\\.`+`(${a[o.NUMERICIDENTIFIER]})`);c("MAINVERSIONLOOSE",`(${a[o.NUMERICIDENTIFIERLOOSE]})\\.`+`(${a[o.NUMERICIDENTIFIERLOOSE]})\\.`+`(${a[o.NUMERICIDENTIFIERLOOSE]})`);c("PRERELEASEIDENTIFIER",`(?:${a[o.NUMERICIDENTIFIER]}|${a[o.NONNUMERICIDENTIFIER]})`);c("PRERELEASEIDENTIFIERLOOSE",`(?:${a[o.NUMERICIDENTIFIERLOOSE]}|${a[o.NONNUMERICIDENTIFIER]})`);c("PRERELEASE",`(?:-(${a[o.PRERELEASEIDENTIFIER]}(?:\\.${a[o.PRERELEASEIDENTIFIER]})*))`);c("PRERELEASELOOSE",`(?:-?(${a[o.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${a[o.PRERELEASEIDENTIFIERLOOSE]})*))`);c("BUILDIDENTIFIER","[0-9A-Za-z-]+");c("BUILD",`(?:\\+(${a[o.BUILDIDENTIFIER]}(?:\\.${a[o.BUILDIDENTIFIER]})*))`);c("FULLPLAIN",`v?${a[o.MAINVERSION]}${a[o.PRERELEASE]}?${a[o.BUILD]}?`);c("FULL",`^${a[o.FULLPLAIN]}$`);c("LOOSEPLAIN",`[v=\\s]*${a[o.MAINVERSIONLOOSE]}${a[o.PRERELEASELOOSE]}?${a[o.BUILD]}?`);c("LOOSE",`^${a[o.LOOSEPLAIN]}$`);c("GTLT","((?:<|>)?=?)");c("XRANGEIDENTIFIERLOOSE",`${a[o.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);c("XRANGEIDENTIFIER",`${a[o.NUMERICIDENTIFIER]}|x|X|\\*`);c("XRANGEPLAIN",`[v=\\s]*(${a[o.XRANGEIDENTIFIER]})`+`(?:\\.(${a[o.XRANGEIDENTIFIER]})`+`(?:\\.(${a[o.XRANGEIDENTIFIER]})`+`(?:${a[o.PRERELEASE]})?${a[o.BUILD]}?`+`)?)?`);c("XRANGEPLAINLOOSE",`[v=\\s]*(${a[o.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${a[o.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${a[o.XRANGEIDENTIFIERLOOSE]})`+`(?:${a[o.PRERELEASELOOSE]})?${a[o.BUILD]}?`+`)?)?`);c("XRANGE",`^${a[o.GTLT]}\\s*${a[o.XRANGEPLAIN]}$`);c("XRANGELOOSE",`^${a[o.GTLT]}\\s*${a[o.XRANGEPLAINLOOSE]}$`);c("COERCE",`${"(^|[^\\d])"+"(\\d{1,"}${r}})`+`(?:\\.(\\d{1,${r}}))?`+`(?:\\.(\\d{1,${r}}))?`+`(?:$|[^\\d])`);c("COERCERTL",a[o.COERCE],true);c("LONETILDE","(?:~>?)");c("TILDETRIM",`(\\s*)${a[o.LONETILDE]}\\s+`,true);t.tildeTrimReplace="$1~";c("TILDE",`^${a[o.LONETILDE]}${a[o.XRANGEPLAIN]}$`);c("TILDELOOSE",`^${a[o.LONETILDE]}${a[o.XRANGEPLAINLOOSE]}$`);c("LONECARET","(?:\\^)");c("CARETTRIM",`(\\s*)${a[o.LONECARET]}\\s+`,true);t.caretTrimReplace="$1^";c("CARET",`^${a[o.LONECARET]}${a[o.XRANGEPLAIN]}$`);c("CARETLOOSE",`^${a[o.LONECARET]}${a[o.XRANGEPLAINLOOSE]}$`);c("COMPARATORLOOSE",`^${a[o.GTLT]}\\s*(${a[o.LOOSEPLAIN]})$|^$`);c("COMPARATOR",`^${a[o.GTLT]}\\s*(${a[o.FULLPLAIN]})$|^$`);c("COMPARATORTRIM",`(\\s*)${a[o.GTLT]}\\s*(${a[o.LOOSEPLAIN]}|${a[o.XRANGEPLAIN]})`,true);t.comparatorTrimReplace="$1$2$3";c("HYPHENRANGE",`^\\s*(${a[o.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${a[o.XRANGEPLAIN]})`+`\\s*$`);c("HYPHENRANGELOOSE",`^\\s*(${a[o.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${a[o.XRANGEPLAINLOOSE]})`+`\\s*$`);c("STAR","(<|>)?=?\\s*\\*");c("GTE0","^\\s*>=\\s*0.0.0\\s*$");c("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},6222:(e,t,i)=>{const r=i(7925);const n=(e,t,i)=>r(e,t,">",i);e.exports=n},2907:(e,t,i)=>{const r=i(6269);const n=(e,t,i)=>{e=new r(e,i);t=new r(t,i);return e.intersects(t)};e.exports=n},3903:(e,t,i)=>{const r=i(7925);const n=(e,t,i)=>r(e,t,"<",i);e.exports=n},6596:(e,t,i)=>{const r=i(8906);const n=i(6269);const s=(e,t,i)=>{let s=null;let a=null;let o=null;try{o=new n(t,i)}catch(e){return null}e.forEach(e=>{if(o.test(e)){if(!s||a.compare(e)===-1){s=e;a=new r(s,i)}}});return s};e.exports=s},3673:(e,t,i)=>{const r=i(8906);const n=i(6269);const s=(e,t,i)=>{let s=null;let a=null;let o=null;try{o=new n(t,i)}catch(e){return null}e.forEach(e=>{if(o.test(e)){if(!s||a.compare(e)===1){s=e;a=new r(s,i)}}});return s};e.exports=s},6827:(e,t,i)=>{const r=i(8906);const n=i(6269);const s=i(4645);const a=(e,t)=>{e=new n(e,t);let i=new r("0.0.0");if(e.test(i)){return i}i=new r("0.0.0-0");if(e.test(i)){return i}i=null;for(let t=0;t<e.set.length;++t){const n=e.set[t];let a=null;n.forEach(e=>{const t=new r(e.semver.version);switch(e.operator){case">":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!a||s(t,a)){a=t}break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}});if(a&&(!i||s(i,a)))i=a}if(i&&e.test(i)){return i}return null};e.exports=a},7925:(e,t,i)=>{const r=i(8906);const n=i(9402);const{ANY:s}=n;const a=i(6269);const o=i(8667);const u=i(4645);const c=i(9206);const l=i(330);const f=i(5255);const h=(e,t,i,h)=>{e=new r(e,h);t=new a(t,h);let p,d,v,y,g;switch(i){case">":p=u;d=l;v=c;y=">";g=">=";break;case"<":p=c;d=f;v=u;y="<";g="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(o(e,t,h)){return false}for(let i=0;i<t.set.length;++i){const r=t.set[i];let a=null;let o=null;r.forEach(e=>{if(e.semver===s){e=new n(">=0.0.0")}a=a||e;o=o||e;if(p(e.semver,a.semver,h)){a=e}else if(v(e.semver,o.semver,h)){o=e}});if(a.operator===y||a.operator===g){return false}if((!o.operator||o.operator===y)&&d(e,o.semver)){return false}else if(o.operator===g&&v(e,o.semver)){return false}}return true};e.exports=h},2356:(e,t,i)=>{const r=i(8667);const n=i(5499);e.exports=((e,t,i)=>{const s=[];let a=null;let o=null;const u=e.sort((e,t)=>n(e,t,i));for(const e of u){const n=r(e,t,i);if(n){o=e;if(!a)a=e}else{if(o){s.push([a,o])}o=null;a=null}}if(a)s.push([a,null]);const c=[];for(const[e,t]of s){if(e===t)c.push(e);else if(!t&&e===u[0])c.push("*");else if(!t)c.push(`>=${e}`);else if(e===u[0])c.push(`<=${t}`);else c.push(`${e} - ${t}`)}const l=c.join(" || ");const f=typeof t.raw==="string"?t.raw:String(t);return l.length<f.length?l:t})},1138:(e,t,i)=>{const r=i(6269);const n=i(9402);const{ANY:s}=n;const a=i(8667);const o=i(5499);const u=(e,t,i={})=>{if(e===t)return true;e=new r(e,i);t=new r(t,i);let n=false;e:for(const r of e.set){for(const e of t.set){const t=c(r,e,i);n=n||t!==null;if(t)continue e}if(n)return false}return true};const c=(e,t,i)=>{if(e===t)return true;if(e.length===1&&e[0].semver===s){if(t.length===1&&t[0].semver===s)return true;else if(i.includePrerelease)e=[new n(">=0.0.0-0")];else e=[new n(">=0.0.0")]}if(t.length===1&&t[0].semver===s){if(i.includePrerelease)return true;else t=[new n(">=0.0.0")]}const r=new Set;let u,c;for(const t of e){if(t.operator===">"||t.operator===">=")u=l(u,t,i);else if(t.operator==="<"||t.operator==="<=")c=f(c,t,i);else r.add(t.semver)}if(r.size>1)return null;let h;if(u&&c){h=o(u.semver,c.semver,i);if(h>0)return null;else if(h===0&&(u.operator!==">="||c.operator!=="<="))return null}for(const e of r){if(u&&!a(e,String(u),i))return null;if(c&&!a(e,String(c),i))return null;for(const r of t){if(!a(e,String(r),i))return false}return true}let p,d;let v,y;let g=c&&!i.includePrerelease&&c.semver.prerelease.length?c.semver:false;let b=u&&!i.includePrerelease&&u.semver.prerelease.length?u.semver:false;if(g&&g.prerelease.length===1&&c.operator==="<"&&g.prerelease[0]===0){g=false}for(const e of t){y=y||e.operator===">"||e.operator===">=";v=v||e.operator==="<"||e.operator==="<=";if(u){if(b){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch){b=false}}if(e.operator===">"||e.operator===">="){p=l(u,e,i);if(p===e&&p!==u)return false}else if(u.operator===">="&&!a(u.semver,String(e),i))return false}if(c){if(g){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===g.major&&e.semver.minor===g.minor&&e.semver.patch===g.patch){g=false}}if(e.operator==="<"||e.operator==="<="){d=f(c,e,i);if(d===e&&d!==c)return false}else if(c.operator==="<="&&!a(c.semver,String(e),i))return false}if(!e.operator&&(c||u)&&h!==0)return false}if(u&&v&&!c&&h!==0)return false;if(c&&y&&!u&&h!==0)return false;if(b||g)return false;return true};const l=(e,t,i)=>{if(!e)return t;const r=o(e.semver,t.semver,i);return r>0?e:r<0?t:t.operator===">"&&e.operator===">="?t:e};const f=(e,t,i)=>{if(!e)return t;const r=o(e.semver,t.semver,i);return r<0?e:r>0?t:t.operator==="<"&&e.operator==="<="?t:e};e.exports=u},9672:(e,t,i)=>{const r=i(6269);const n=(e,t)=>new r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "));e.exports=n},9689:(e,t,i)=>{const r=i(6269);const n=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}};e.exports=n},401:e=>{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next){yield e.value}}}},5864:(e,t,i)=>{"use strict";e.exports=Yallist;Yallist.Node=Node;Yallist.create=Yallist;function Yallist(e){var t=this;if(!(t instanceof Yallist)){t=new Yallist}t.tail=null;t.head=null;t.length=0;if(e&&typeof e.forEach==="function"){e.forEach(function(e){t.push(e)})}else if(arguments.length>0){for(var i=0,r=arguments.length;i<r;i++){t.push(arguments[i])}}return t}Yallist.prototype.removeNode=function(e){if(e.list!==this){throw new Error("removing node which does not belong to this list")}var t=e.next;var i=e.prev;if(t){t.prev=i}if(i){i.next=t}if(e===this.head){this.head=t}if(e===this.tail){this.tail=i}e.list.length--;e.next=null;e.prev=null;e.list=null;return t};Yallist.prototype.unshiftNode=function(e){if(e===this.head){return}if(e.list){e.list.removeNode(e)}var t=this.head;e.list=this;e.next=t;if(t){t.prev=e}this.head=e;if(!this.tail){this.tail=e}this.length++};Yallist.prototype.pushNode=function(e){if(e===this.tail){return}if(e.list){e.list.removeNode(e)}var t=this.tail;e.list=this;e.prev=t;if(t){t.next=e}this.tail=e;if(!this.head){this.head=e}this.length++};Yallist.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++){push(this,arguments[e])}return this.length};Yallist.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++){unshift(this,arguments[e])}return this.length};Yallist.prototype.pop=function(){if(!this.tail){return undefined}var e=this.tail.value;this.tail=this.tail.prev;if(this.tail){this.tail.next=null}else{this.head=null}this.length--;return e};Yallist.prototype.shift=function(){if(!this.head){return undefined}var e=this.head.value;this.head=this.head.next;if(this.head){this.head.prev=null}else{this.tail=null}this.length--;return e};Yallist.prototype.forEach=function(e,t){t=t||this;for(var i=this.head,r=0;i!==null;r++){e.call(t,i.value,r,this);i=i.next}};Yallist.prototype.forEachReverse=function(e,t){t=t||this;for(var i=this.tail,r=this.length-1;i!==null;r--){e.call(t,i.value,r,this);i=i.prev}};Yallist.prototype.get=function(e){for(var t=0,i=this.head;i!==null&&t<e;t++){i=i.next}if(t===e&&i!==null){return i.value}};Yallist.prototype.getReverse=function(e){for(var t=0,i=this.tail;i!==null&&t<e;t++){i=i.prev}if(t===e&&i!==null){return i.value}};Yallist.prototype.map=function(e,t){t=t||this;var i=new Yallist;for(var r=this.head;r!==null;){i.push(e.call(t,r.value,this));r=r.next}return i};Yallist.prototype.mapReverse=function(e,t){t=t||this;var i=new Yallist;for(var r=this.tail;r!==null;){i.push(e.call(t,r.value,this));r=r.prev}return i};Yallist.prototype.reduce=function(e,t){var i;var r=this.head;if(arguments.length>1){i=t}else if(this.head){r=this.head.next;i=this.head.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var n=0;r!==null;n++){i=e(i,r.value,n);r=r.next}return i};Yallist.prototype.reduceReverse=function(e,t){var i;var r=this.tail;if(arguments.length>1){i=t}else if(this.tail){r=this.tail.prev;i=this.tail.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var n=this.length-1;r!==null;n--){i=e(i,r.value,n);r=r.prev}return i};Yallist.prototype.toArray=function(){var e=new Array(this.length);for(var t=0,i=this.head;i!==null;t++){e[t]=i.value;i=i.next}return e};Yallist.prototype.toArrayReverse=function(){var e=new Array(this.length);for(var t=0,i=this.tail;i!==null;t++){e[t]=i.value;i=i.prev}return e};Yallist.prototype.slice=function(e,t){t=t||this.length;if(t<0){t+=this.length}e=e||0;if(e<0){e+=this.length}var i=new Yallist;if(t<e||t<0){return i}if(e<0){e=0}if(t>this.length){t=this.length}for(var r=0,n=this.head;n!==null&&r<e;r++){n=n.next}for(;n!==null&&r<t;r++,n=n.next){i.push(n.value)}return i};Yallist.prototype.sliceReverse=function(e,t){t=t||this.length;if(t<0){t+=this.length}e=e||0;if(e<0){e+=this.length}var i=new Yallist;if(t<e||t<0){return i}if(e<0){e=0}if(t>this.length){t=this.length}for(var r=this.length,n=this.tail;n!==null&&r>t;r--){n=n.prev}for(;n!==null&&r>e;r--,n=n.prev){i.push(n.value)}return i};Yallist.prototype.splice=function(e,t,...i){if(e>this.length){e=this.length-1}if(e<0){e=this.length+e}for(var r=0,n=this.head;n!==null&&r<e;r++){n=n.next}var s=[];for(var r=0;n&&r<t;r++){s.push(n.value);n=this.removeNode(n)}if(n===null){n=this.tail}if(n!==this.head&&n!==this.tail){n=n.prev}for(var r=0;r<i.length;r++){n=insert(this,n,i[r])}return s};Yallist.prototype.reverse=function(){var e=this.head;var t=this.tail;for(var i=e;i!==null;i=i.prev){var r=i.prev;i.prev=i.next;i.next=r}this.head=t;this.tail=e;return this};function insert(e,t,i){var r=t===e.head?new Node(i,null,t,e):new Node(i,t,t.next,e);if(r.next===null){e.tail=r}if(r.prev===null){e.head=r}e.length++;return r}function push(e,t){e.tail=new Node(t,e.tail,null,e);if(!e.head){e.head=e.tail}e.length++}function unshift(e,t){e.head=new Node(t,null,e.head,e);if(!e.tail){e.tail=e.head}e.length++}function Node(e,t,i,r){if(!(this instanceof Node)){return new Node(e,t,i,r)}this.list=r;this.value=e;if(t){t.next=this;this.prev=t}else{this.prev=null}if(i){i.prev=this;this.next=i}else{this.next=null}}try{i(401)(Yallist)}catch(e){}},875:function(e,t){(function(e,i){true?i(t):0})(this,function(e){"use strict";var t={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"};var i="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this";var r={5:i,"5module":i+" export import",6:i+" const class extends export import super"};var n=/^in(stanceof)?$/;var s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var a="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";var o=new RegExp("["+s+"]");var u=new RegExp("["+s+a+"]");s=a=null;var c=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938];var l=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){var i=65536;for(var r=0;r<t.length;r+=2){i+=t[r];if(i>e){return false}i+=t[r+1];if(i>=e){return true}}}function isIdentifierStart(e,t){if(e<65){return e===36}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&o.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,c)}function isIdentifierChar(e,t){if(e<48){return e===36}if(e<58){return true}if(e<65){return false}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&u.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,c)||isInAstralSet(e,l)}var f=function TokenType(e,t){if(t===void 0)t={};this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop||null;this.updateContext=null};function binop(e,t){return new f(e,{beforeExpr:true,binop:t})}var h={beforeExpr:true},p={startsExpr:true};var d={};function kw(e,t){if(t===void 0)t={};t.keyword=e;return d[e]=new f(e,t)}var v={num:new f("num",p),regexp:new f("regexp",p),string:new f("string",p),name:new f("name",p),privateId:new f("privateId",p),eof:new f("eof"),bracketL:new f("[",{beforeExpr:true,startsExpr:true}),bracketR:new f("]"),braceL:new f("{",{beforeExpr:true,startsExpr:true}),braceR:new f("}"),parenL:new f("(",{beforeExpr:true,startsExpr:true}),parenR:new f(")"),comma:new f(",",h),semi:new f(";",h),colon:new f(":",h),dot:new f("."),question:new f("?",h),questionDot:new f("?."),arrow:new f("=>",h),template:new f("template"),invalidTemplate:new f("invalidTemplate"),ellipsis:new f("...",h),backQuote:new f("`",p),dollarBraceL:new f("${",{beforeExpr:true,startsExpr:true}),eq:new f("=",{beforeExpr:true,isAssign:true}),assign:new f("_=",{beforeExpr:true,isAssign:true}),incDec:new f("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new f("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("</>/<=/>=",7),bitShift:binop("<</>>/>>>",8),plusMin:new f("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new f("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",h),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",h),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",h),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",p),_if:kw("if"),_return:kw("return",h),_switch:kw("switch"),_throw:kw("throw",h),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",p),_super:kw("super",p),_class:kw("class",p),_extends:kw("extends",h),_export:kw("export"),_import:kw("import",p),_null:kw("null",p),_true:kw("true",p),_false:kw("false",p),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var y=/\r\n?|\n|\u2028|\u2029/;var g=new RegExp(y.source,"g");function isNewLine(e){return e===10||e===13||e===8232||e===8233}function nextLineBreak(e,t,i){if(i===void 0)i=e.length;for(var r=t;r<i;r++){var n=e.charCodeAt(r);if(isNewLine(n)){return r<i-1&&n===13&&e.charCodeAt(r+1)===10?r+2:r+1}}return-1}var b=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var m=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var _=Object.prototype;var w=_.hasOwnProperty;var E=_.toString;var S=Object.hasOwn||function(e,t){return w.call(e,t)};var x=Array.isArray||function(e){return E.call(e)==="[object Array]"};function wordsRegexp(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var R=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/;var A=function Position(e,t){this.line=e;this.column=t};A.prototype.offset=function offset(e){return new A(this.line,this.column+e)};var k=function SourceLocation(e,t,i){this.start=t;this.end=i;if(e.sourceFile!==null){this.source=e.sourceFile}};function getLineInfo(e,t){for(var i=1,r=0;;){var n=nextLineBreak(e,r,t);if(n<0){return new A(i,t-r)}++i;r=n}}var T={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:false,locations:false,onToken:null,onComment:null,ranges:false,program:null,sourceFile:null,directSourceFile:null,preserveParens:false};var C=false;function getOptions(e){var t={};for(var i in T){t[i]=e&&S(e,i)?e[i]:T[i]}if(t.ecmaVersion==="latest"){t.ecmaVersion=1e8}else if(t.ecmaVersion==null){if(!C&&typeof console==="object"&&console.warn){C=true;console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")}t.ecmaVersion=11}else if(t.ecmaVersion>=2015){t.ecmaVersion-=2009}if(t.allowReserved==null){t.allowReserved=t.ecmaVersion<5}if(x(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}if(x(t.onComment)){t.onComment=pushComment(t,t.onComment)}return t}function pushComment(e,t){return function(i,r,n,s,a,o){var u={type:i?"Block":"Line",value:r,start:n,end:s};if(e.locations){u.loc=new k(this,a,o)}if(e.ranges){u.range=[n,s]}t.push(u)}}var O=1,N=2,j=4,I=8,$=16,P=32,F=64,L=128,B=256,D=O|N|B;function functionFlags(e,t){return N|(e?j:0)|(t?I:0)}var H=0,U=1,W=2,q=3,G=4,V=5;var z=function Parser(e,i,n){this.options=e=getOptions(e);this.sourceFile=e.sourceFile;this.keywords=wordsRegexp(r[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var s="";if(e.allowReserved!==true){s=t[e.ecmaVersion>=6?6:e.ecmaVersion===5?5:3];if(e.sourceType==="module"){s+=" await"}}this.reservedWords=wordsRegexp(s);var a=(s?s+" ":"")+t.strict;this.reservedWordsStrict=wordsRegexp(a);this.reservedWordsStrictBind=wordsRegexp(a+" "+t.strictBind);this.input=String(i);this.containsEsc=false;if(n){this.pos=n;this.lineStart=this.input.lastIndexOf("\n",n-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(y).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=v.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=e.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.potentialArrowInForAwait=false;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports=Object.create(null);if(this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(O);this.regexpState=null;this.privateNameStack=[]};var M={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},canAwait:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true},allowNewDotTarget:{configurable:true},inClassStaticBlock:{configurable:true}};z.prototype.parse=function parse(){var e=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(e)};M.inFunction.get=function(){return(this.currentVarScope().flags&N)>0};M.inGenerator.get=function(){return(this.currentVarScope().flags&I)>0&&!this.currentVarScope().inClassFieldInit};M.inAsync.get=function(){return(this.currentVarScope().flags&j)>0&&!this.currentVarScope().inClassFieldInit};M.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&B){return false}if(t.flags&N){return(t.flags&j)>0}}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};M.allowSuper.get=function(){var e=this.currentThisScope();var t=e.flags;var i=e.inClassFieldInit;return(t&F)>0||i||this.options.allowSuperOutsideMethod};M.allowDirectSuper.get=function(){return(this.currentThisScope().flags&L)>0};M.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};M.allowNewDotTarget.get=function(){var e=this.currentThisScope();var t=e.flags;var i=e.inClassFieldInit;return(t&(N|B))>0||i};M.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&B)>0};z.extend=function extend(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var i=this;for(var r=0;r<e.length;r++){i=e[r](i)}return i};z.parse=function parse(e,t){return new this(t,e).parse()};z.parseExpressionAt=function parseExpressionAt(e,t,i){var r=new this(i,e,t);r.nextToken();return r.parseExpression()};z.tokenizer=function tokenizer(e,t){return new this(t,e)};Object.defineProperties(z.prototype,M);var X=z.prototype;var K=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;X.strictDirective=function(e){for(;;){m.lastIndex=e;e+=m.exec(this.input)[0].length;var t=K.exec(this.input.slice(e));if(!t){return false}if((t[1]||t[2])==="use strict"){m.lastIndex=e+t[0].length;var i=m.exec(this.input),r=i.index+i[0].length;var n=this.input.charAt(r);return n===";"||n==="}"||y.test(i[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(n)||n==="!"&&this.input.charAt(r+1)==="=")}e+=t[0].length;m.lastIndex=e;e+=m.exec(this.input)[0].length;if(this.input[e]===";"){e++}}};X.eat=function(e){if(this.type===e){this.next();return true}else{return false}};X.isContextual=function(e){return this.type===v.name&&this.value===e&&!this.containsEsc};X.eatContextual=function(e){if(!this.isContextual(e)){return false}this.next();return true};X.expectContextual=function(e){if(!this.eatContextual(e)){this.unexpected()}};X.canInsertSemicolon=function(){return this.type===v.eof||this.type===v.braceR||y.test(this.input.slice(this.lastTokEnd,this.start))};X.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};X.semicolon=function(){if(!this.eat(v.semi)&&!this.insertSemicolon()){this.unexpected()}};X.afterTrailingComma=function(e,t){if(this.type===e){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!t){this.next()}return true}};X.expect=function(e){this.eat(e)||this.unexpected()};X.unexpected=function(e){this.raise(e!=null?e:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}X.checkPatternErrors=function(e,t){if(!e){return}if(e.trailingComma>-1){this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element")}var i=t?e.parenthesizedAssign:e.parenthesizedBind;if(i>-1){this.raiseRecoverable(i,"Parenthesized pattern")}};X.checkExpressionErrors=function(e,t){if(!e){return false}var i=e.shorthandAssign;var r=e.doubleProto;if(!t){return i>=0||r>=0}if(i>=0){this.raise(i,"Shorthand property assignments are valid only in destructuring patterns")}if(r>=0){this.raiseRecoverable(r,"Redefinition of __proto__ property")}};X.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)){this.raise(this.yieldPos,"Yield expression cannot be a default value")}if(this.awaitPos){this.raise(this.awaitPos,"Await expression cannot be a default value")}};X.isSimpleAssignTarget=function(e){if(e.type==="ParenthesizedExpression"){return this.isSimpleAssignTarget(e.expression)}return e.type==="Identifier"||e.type==="MemberExpression"};var Y=z.prototype;Y.parseTopLevel=function(e){var t=Object.create(null);if(!e.body){e.body=[]}while(this.type!==v.eof){var i=this.parseStatement(null,true,t);e.body.push(i)}if(this.inModule){for(var r=0,n=Object.keys(this.undefinedExports);r<n.length;r+=1){var s=n[r];this.raiseRecoverable(this.undefinedExports[s].start,"Export '"+s+"' is not defined")}}this.adaptDirectivePrologue(e.body);this.next();e.sourceType=this.options.sourceType;return this.finishNode(e,"Program")};var Q={kind:"loop"},J={kind:"switch"};Y.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let")){return false}m.lastIndex=this.pos;var t=m.exec(this.input);var i=this.pos+t[0].length,r=this.input.charCodeAt(i);if(r===91||r===92||r>55295&&r<56320){return true}if(e){return false}if(r===123){return true}if(isIdentifierStart(r,true)){var s=i+1;while(isIdentifierChar(r=this.input.charCodeAt(s),true)){++s}if(r===92||r>55295&&r<56320){return true}var a=this.input.slice(i,s);if(!n.test(a)){return true}}return false};Y.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async")){return false}m.lastIndex=this.pos;var e=m.exec(this.input);var t=this.pos+e[0].length,i;return!y.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(isIdentifierChar(i=this.input.charCodeAt(t+8))||i>55295&&i<56320))};Y.parseStatement=function(e,t,i){var r=this.type,n=this.startNode(),s;if(this.isLet(e)){r=v._var;s="let"}switch(r){case v._break:case v._continue:return this.parseBreakContinueStatement(n,r.keyword);case v._debugger:return this.parseDebuggerStatement(n);case v._do:return this.parseDoStatement(n);case v._for:return this.parseForStatement(n);case v._function:if(e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6){this.unexpected()}return this.parseFunctionStatement(n,false,!e);case v._class:if(e){this.unexpected()}return this.parseClass(n,true);case v._if:return this.parseIfStatement(n);case v._return:return this.parseReturnStatement(n);case v._switch:return this.parseSwitchStatement(n);case v._throw:return this.parseThrowStatement(n);case v._try:return this.parseTryStatement(n);case v._const:case v._var:s=s||this.value;if(e&&s!=="var"){this.unexpected()}return this.parseVarStatement(n,s);case v._while:return this.parseWhileStatement(n);case v._with:return this.parseWithStatement(n);case v.braceL:return this.parseBlock(true,n);case v.semi:return this.parseEmptyStatement(n);case v._export:case v._import:if(this.options.ecmaVersion>10&&r===v._import){m.lastIndex=this.pos;var a=m.exec(this.input);var o=this.pos+a[0].length,u=this.input.charCodeAt(o);if(u===40||u===46){return this.parseExpressionStatement(n,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!t){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return r===v._import?this.parseImport(n):this.parseExport(n,i);default:if(this.isAsyncFunction()){if(e){this.unexpected()}this.next();return this.parseFunctionStatement(n,true,!e)}var c=this.value,l=this.parseExpression();if(r===v.name&&l.type==="Identifier"&&this.eat(v.colon)){return this.parseLabeledStatement(n,c,l,e)}else{return this.parseExpressionStatement(n,l)}}};Y.parseBreakContinueStatement=function(e,t){var i=t==="break";this.next();if(this.eat(v.semi)||this.insertSemicolon()){e.label=null}else if(this.type!==v.name){this.unexpected()}else{e.label=this.parseIdent();this.semicolon()}var r=0;for(;r<this.labels.length;++r){var n=this.labels[r];if(e.label==null||n.name===e.label.name){if(n.kind!=null&&(i||n.kind==="loop")){break}if(e.label&&i){break}}}if(r===this.labels.length){this.raise(e.start,"Unsyntactic "+t)}return this.finishNode(e,i?"BreakStatement":"ContinueStatement")};Y.parseDebuggerStatement=function(e){this.next();this.semicolon();return this.finishNode(e,"DebuggerStatement")};Y.parseDoStatement=function(e){this.next();this.labels.push(Q);e.body=this.parseStatement("do");this.labels.pop();this.expect(v._while);e.test=this.parseParenExpression();if(this.options.ecmaVersion>=6){this.eat(v.semi)}else{this.semicolon()}return this.finishNode(e,"DoWhileStatement")};Y.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(Q);this.enterScope(0);this.expect(v.parenL);if(this.type===v.semi){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}var i=this.isLet();if(this.type===v._var||this.type===v._const||i){var r=this.startNode(),n=i?"let":this.value;this.next();this.parseVar(r,true,n);this.finishNode(r,"VariableDeclaration");if((this.type===v._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&r.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===v._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}return this.parseForIn(e,r)}if(t>-1){this.unexpected(t)}return this.parseFor(e,r)}var s=this.isContextual("let"),a=false;var o=new DestructuringErrors;var u=this.parseExpression(t>-1?"await":true,o);if(this.type===v._in||(a=this.options.ecmaVersion>=6&&this.isContextual("of"))){if(this.options.ecmaVersion>=9){if(this.type===v._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}if(s&&a){this.raise(u.start,"The left-hand side of a for-of loop may not start with 'let'.")}this.toAssignable(u,false,o);this.checkLValPattern(u);return this.parseForIn(e,u)}else{this.checkExpressionErrors(o,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,u)};Y.parseFunctionStatement=function(e,t,i){this.next();return this.parseFunction(e,ee|(i?0:te),false,t)};Y.parseIfStatement=function(e){this.next();e.test=this.parseParenExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(v._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")};Y.parseReturnStatement=function(e){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(v.semi)||this.insertSemicolon()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")};Y.parseSwitchStatement=function(e){this.next();e.discriminant=this.parseParenExpression();e.cases=[];this.expect(v.braceL);this.labels.push(J);this.enterScope(0);var t;for(var i=false;this.type!==v.braceR;){if(this.type===v._case||this.type===v._default){var r=this.type===v._case;if(t){this.finishNode(t,"SwitchCase")}e.cases.push(t=this.startNode());t.consequent=[];this.next();if(r){t.test=this.parseExpression()}else{if(i){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}i=true;t.test=null}this.expect(v.colon)}else{if(!t){this.unexpected()}t.consequent.push(this.parseStatement(null))}}this.exitScope();if(t){this.finishNode(t,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(e,"SwitchStatement")};Y.parseThrowStatement=function(e){this.next();if(y.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")};var Z=[];Y.parseTryStatement=function(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.type===v._catch){var t=this.startNode();this.next();if(this.eat(v.parenL)){t.param=this.parseBindingAtom();var i=t.param.type==="Identifier";this.enterScope(i?P:0);this.checkLValPattern(t.param,i?G:W);this.expect(v.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}t.param=null;this.enterScope(0)}t.body=this.parseBlock(false);this.exitScope();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(v._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,"Missing catch or finally clause")}return this.finishNode(e,"TryStatement")};Y.parseVarStatement=function(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")};Y.parseWhileStatement=function(e){this.next();e.test=this.parseParenExpression();this.labels.push(Q);e.body=this.parseStatement("while");this.labels.pop();return this.finishNode(e,"WhileStatement")};Y.parseWithStatement=function(e){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();e.object=this.parseParenExpression();e.body=this.parseStatement("with");return this.finishNode(e,"WithStatement")};Y.parseEmptyStatement=function(e){this.next();return this.finishNode(e,"EmptyStatement")};Y.parseLabeledStatement=function(e,t,i,r){for(var n=0,s=this.labels;n<s.length;n+=1){var a=s[n];if(a.name===t){this.raise(i.start,"Label '"+t+"' is already declared")}}var o=this.type.isLoop?"loop":this.type===v._switch?"switch":null;for(var u=this.labels.length-1;u>=0;u--){var c=this.labels[u];if(c.statementStart===e.start){c.statementStart=this.start;c.kind=o}else{break}}this.labels.push({name:t,kind:o,statementStart:this.start});e.body=this.parseStatement(r?r.indexOf("label")===-1?r+"label":r:"label");this.labels.pop();e.label=i;return this.finishNode(e,"LabeledStatement")};Y.parseExpressionStatement=function(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")};Y.parseBlock=function(e,t,i){if(e===void 0)e=true;if(t===void 0)t=this.startNode();t.body=[];this.expect(v.braceL);if(e){this.enterScope(0)}while(this.type!==v.braceR){var r=this.parseStatement(null);t.body.push(r)}if(i){this.strict=false}this.next();if(e){this.exitScope()}return this.finishNode(t,"BlockStatement")};Y.parseFor=function(e,t){e.init=t;this.expect(v.semi);e.test=this.type===v.semi?null:this.parseExpression();this.expect(v.semi);e.update=this.type===v.parenR?null:this.parseExpression();this.expect(v.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,"ForStatement")};Y.parseForIn=function(e,t){var i=this.type===v._in;this.next();if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!i||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,(i?"for-in":"for-of")+" loop variable declaration may not have an initializer")}e.left=t;e.right=i?this.parseExpression():this.parseMaybeAssign();this.expect(v.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,i?"ForInStatement":"ForOfStatement")};Y.parseVar=function(e,t,i){e.declarations=[];e.kind=i;for(;;){var r=this.startNode();this.parseVarId(r,i);if(this.eat(v.eq)){r.init=this.parseMaybeAssign(t)}else if(i==="const"&&!(this.type===v._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(r.id.type!=="Identifier"&&!(t&&(this.type===v._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{r.init=null}e.declarations.push(this.finishNode(r,"VariableDeclarator"));if(!this.eat(v.comma)){break}}return e};Y.parseVarId=function(e,t){e.id=this.parseBindingAtom();this.checkLValPattern(e.id,t==="var"?U:W,false)};var ee=1,te=2,ie=4;Y.parseFunction=function(e,t,i,r,n){this.initFunction(e);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r){if(this.type===v.star&&t&te){this.unexpected()}e.generator=this.eat(v.star)}if(this.options.ecmaVersion>=8){e.async=!!r}if(t&ee){e.id=t&ie&&this.type!==v.name?null:this.parseIdent();if(e.id&&!(t&te)){this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?U:W:q)}}var s=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(e.async,e.generator));if(!(t&ee)){e.id=this.type===v.name?this.parseIdent():null}this.parseFunctionParams(e);this.parseFunctionBody(e,i,false,n);this.yieldPos=s;this.awaitPos=a;this.awaitIdentPos=o;return this.finishNode(e,t&ee?"FunctionDeclaration":"FunctionExpression")};Y.parseFunctionParams=function(e){this.expect(v.parenL);e.params=this.parseBindingList(v.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};Y.parseClass=function(e,t){this.next();var i=this.strict;this.strict=true;this.parseClassId(e,t);this.parseClassSuper(e);var r=this.enterClassBody();var n=this.startNode();var s=false;n.body=[];this.expect(v.braceL);while(this.type!==v.braceR){var a=this.parseClassElement(e.superClass!==null);if(a){n.body.push(a);if(a.type==="MethodDefinition"&&a.kind==="constructor"){if(s){this.raise(a.start,"Duplicate constructor in the same class")}s=true}else if(a.key&&a.key.type==="PrivateIdentifier"&&isPrivateNameConflicted(r,a)){this.raiseRecoverable(a.key.start,"Identifier '#"+a.key.name+"' has already been declared")}}}this.strict=i;this.next();e.body=this.finishNode(n,"ClassBody");this.exitClassBody();return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};Y.parseClassElement=function(e){if(this.eat(v.semi)){return null}var t=this.options.ecmaVersion;var i=this.startNode();var r="";var n=false;var s=false;var a="method";var o=false;if(this.eatContextual("static")){if(t>=13&&this.eat(v.braceL)){this.parseClassStaticBlock(i);return i}if(this.isClassElementNameStart()||this.type===v.star){o=true}else{r="static"}}i.static=o;if(!r&&t>=8&&this.eatContextual("async")){if((this.isClassElementNameStart()||this.type===v.star)&&!this.canInsertSemicolon()){s=true}else{r="async"}}if(!r&&(t>=9||!s)&&this.eat(v.star)){n=true}if(!r&&!s&&!n){var u=this.value;if(this.eatContextual("get")||this.eatContextual("set")){if(this.isClassElementNameStart()){a=u}else{r=u}}}if(r){i.computed=false;i.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc);i.key.name=r;this.finishNode(i.key,"Identifier")}else{this.parseClassElementName(i)}if(t<13||this.type===v.parenL||a!=="method"||n||s){var c=!i.static&&checkKeyName(i,"constructor");var l=c&&e;if(c&&a!=="method"){this.raise(i.key.start,"Constructor can't have get/set modifier")}i.kind=c?"constructor":a;this.parseClassMethod(i,n,s,l)}else{this.parseClassField(i)}return i};Y.isClassElementNameStart=function(){return this.type===v.name||this.type===v.privateId||this.type===v.num||this.type===v.string||this.type===v.bracketL||this.type.keyword};Y.parseClassElementName=function(e){if(this.type===v.privateId){if(this.value==="constructor"){this.raise(this.start,"Classes can't have an element named '#constructor'")}e.computed=false;e.key=this.parsePrivateIdent()}else{this.parsePropertyName(e)}};Y.parseClassMethod=function(e,t,i,r){var n=e.key;if(e.kind==="constructor"){if(t){this.raise(n.start,"Constructor can't be a generator")}if(i){this.raise(n.start,"Constructor can't be an async method")}}else if(e.static&&checkKeyName(e,"prototype")){this.raise(n.start,"Classes may not have a static property named prototype")}var s=e.value=this.parseMethod(t,i,r);if(e.kind==="get"&&s.params.length!==0){this.raiseRecoverable(s.start,"getter should have no params")}if(e.kind==="set"&&s.params.length!==1){this.raiseRecoverable(s.start,"setter should have exactly one param")}if(e.kind==="set"&&s.params[0].type==="RestElement"){this.raiseRecoverable(s.params[0].start,"Setter cannot use rest params")}return this.finishNode(e,"MethodDefinition")};Y.parseClassField=function(e){if(checkKeyName(e,"constructor")){this.raise(e.key.start,"Classes can't have a field named 'constructor'")}else if(e.static&&checkKeyName(e,"prototype")){this.raise(e.key.start,"Classes can't have a static field named 'prototype'")}if(this.eat(v.eq)){var t=this.currentThisScope();var i=t.inClassFieldInit;t.inClassFieldInit=true;e.value=this.parseMaybeAssign();t.inClassFieldInit=i}else{e.value=null}this.semicolon();return this.finishNode(e,"PropertyDefinition")};Y.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;this.labels=[];this.enterScope(B|F);while(this.type!==v.braceR){var i=this.parseStatement(null);e.body.push(i)}this.next();this.exitScope();this.labels=t;return this.finishNode(e,"StaticBlock")};Y.parseClassId=function(e,t){if(this.type===v.name){e.id=this.parseIdent();if(t){this.checkLValSimple(e.id,W,false)}}else{if(t===true){this.unexpected()}e.id=null}};Y.parseClassSuper=function(e){e.superClass=this.eat(v._extends)?this.parseExprSubscripts(false):null};Y.enterClassBody=function(){var e={declared:Object.create(null),used:[]};this.privateNameStack.push(e);return e.declared};Y.exitClassBody=function(){var e=this.privateNameStack.pop();var t=e.declared;var i=e.used;var r=this.privateNameStack.length;var n=r===0?null:this.privateNameStack[r-1];for(var s=0;s<i.length;++s){var a=i[s];if(!S(t,a.name)){if(n){n.used.push(a)}else{this.raiseRecoverable(a.start,"Private field '#"+a.name+"' must be declared in an enclosing class")}}}};function isPrivateNameConflicted(e,t){var i=t.key.name;var r=e[i];var n="true";if(t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")){n=(t.static?"s":"i")+t.kind}if(r==="iget"&&n==="iset"||r==="iset"&&n==="iget"||r==="sget"&&n==="sset"||r==="sset"&&n==="sget"){e[i]="true";return false}else if(!r){e[i]=n;return false}else{return true}}function checkKeyName(e,t){var i=e.computed;var r=e.key;return!i&&(r.type==="Identifier"&&r.name===t||r.type==="Literal"&&r.value===t)}Y.parseExport=function(e,t){this.next();if(this.eat(v.star)){if(this.options.ecmaVersion>=11){if(this.eatContextual("as")){e.exported=this.parseModuleExportName();this.checkExport(t,e.exported.name,this.lastTokStart)}else{e.exported=null}}this.expectContextual("from");if(this.type!==v.string){this.unexpected()}e.source=this.parseExprAtom();this.semicolon();return this.finishNode(e,"ExportAllDeclaration")}if(this.eat(v._default)){this.checkExport(t,"default",this.lastTokStart);var i;if(this.type===v._function||(i=this.isAsyncFunction())){var r=this.startNode();this.next();if(i){this.next()}e.declaration=this.parseFunction(r,ee|ie,false,i)}else if(this.type===v._class){var n=this.startNode();e.declaration=this.parseClass(n,"nullableID")}else{e.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){e.declaration=this.parseStatement(null);if(e.declaration.type==="VariableDeclaration"){this.checkVariableExport(t,e.declaration.declarations)}else{this.checkExport(t,e.declaration.id.name,e.declaration.id.start)}e.specifiers=[];e.source=null}else{e.declaration=null;e.specifiers=this.parseExportSpecifiers(t);if(this.eatContextual("from")){if(this.type!==v.string){this.unexpected()}e.source=this.parseExprAtom()}else{for(var s=0,a=e.specifiers;s<a.length;s+=1){var o=a[s];this.checkUnreserved(o.local);this.checkLocalExport(o.local);if(o.local.type==="Literal"){this.raise(o.local.start,"A string literal cannot be used as an exported binding without `from`.")}}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};Y.checkExport=function(e,t,i){if(!e){return}if(S(e,t)){this.raiseRecoverable(i,"Duplicate export '"+t+"'")}e[t]=true};Y.checkPatternExport=function(e,t){var i=t.type;if(i==="Identifier"){this.checkExport(e,t.name,t.start)}else if(i==="ObjectPattern"){for(var r=0,n=t.properties;r<n.length;r+=1){var s=n[r];this.checkPatternExport(e,s)}}else if(i==="ArrayPattern"){for(var a=0,o=t.elements;a<o.length;a+=1){var u=o[a];if(u){this.checkPatternExport(e,u)}}}else if(i==="Property"){this.checkPatternExport(e,t.value)}else if(i==="AssignmentPattern"){this.checkPatternExport(e,t.left)}else if(i==="RestElement"){this.checkPatternExport(e,t.argument)}else if(i==="ParenthesizedExpression"){this.checkPatternExport(e,t.expression)}};Y.checkVariableExport=function(e,t){if(!e){return}for(var i=0,r=t;i<r.length;i+=1){var n=r[i];this.checkPatternExport(e,n.id)}};Y.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};Y.parseExportSpecifiers=function(e){var t=[],i=true;this.expect(v.braceL);while(!this.eat(v.braceR)){if(!i){this.expect(v.comma);if(this.afterTrailingComma(v.braceR)){break}}else{i=false}var r=this.startNode();r.local=this.parseModuleExportName();r.exported=this.eatContextual("as")?this.parseModuleExportName():r.local;this.checkExport(e,r.exported[r.exported.type==="Identifier"?"name":"value"],r.exported.start);t.push(this.finishNode(r,"ExportSpecifier"))}return t};Y.parseImport=function(e){this.next();if(this.type===v.string){e.specifiers=Z;e.source=this.parseExprAtom()}else{e.specifiers=this.parseImportSpecifiers();this.expectContextual("from");e.source=this.type===v.string?this.parseExprAtom():this.unexpected()}this.semicolon();return this.finishNode(e,"ImportDeclaration")};Y.parseImportSpecifiers=function(){var e=[],t=true;if(this.type===v.name){var i=this.startNode();i.local=this.parseIdent();this.checkLValSimple(i.local,W);e.push(this.finishNode(i,"ImportDefaultSpecifier"));if(!this.eat(v.comma)){return e}}if(this.type===v.star){var r=this.startNode();this.next();this.expectContextual("as");r.local=this.parseIdent();this.checkLValSimple(r.local,W);e.push(this.finishNode(r,"ImportNamespaceSpecifier"));return e}this.expect(v.braceL);while(!this.eat(v.braceR)){if(!t){this.expect(v.comma);if(this.afterTrailingComma(v.braceR)){break}}else{t=false}var n=this.startNode();n.imported=this.parseModuleExportName();if(this.eatContextual("as")){n.local=this.parseIdent()}else{this.checkUnreserved(n.imported);n.local=n.imported}this.checkLValSimple(n.local,W);e.push(this.finishNode(n,"ImportSpecifier"))}return e};Y.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===v.string){var e=this.parseLiteral(this.value);if(R.test(e.value)){this.raise(e.start,"An export name cannot include a lone surrogate.")}return e}return this.parseIdent(true)};Y.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t){e[t].directive=e[t].expression.raw.slice(1,-1)}};Y.isDirectiveCandidate=function(e){return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var re=z.prototype;re.toAssignable=function(e,t,i){if(this.options.ecmaVersion>=6&&e){switch(e.type){case"Identifier":if(this.inAsync&&e.name==="await"){this.raise(e.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";if(i){this.checkPatternErrors(i,true)}for(var r=0,n=e.properties;r<n.length;r+=1){var s=n[r];this.toAssignable(s,t);if(s.type==="RestElement"&&(s.argument.type==="ArrayPattern"||s.argument.type==="ObjectPattern")){this.raise(s.argument.start,"Unexpected token")}}break;case"Property":if(e.kind!=="init"){this.raise(e.key.start,"Object pattern can't contain getter or setter")}this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern";if(i){this.checkPatternErrors(i,true)}this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement";this.toAssignable(e.argument,t);if(e.argument.type==="AssignmentPattern"){this.raise(e.argument.start,"Rest elements cannot have a default value")}break;case"AssignmentExpression":if(e.operator!=="="){this.raise(e.left.end,"Only '=' operator can be used for specifying default value.")}e.type="AssignmentPattern";delete e.operator;this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,i);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t){break}default:this.raise(e.start,"Assigning to rvalue")}}else if(i){this.checkPatternErrors(i,true)}return e};re.toAssignableList=function(e,t){var i=e.length;for(var r=0;r<i;r++){var n=e[r];if(n){this.toAssignable(n,t)}}if(i){var s=e[i-1];if(this.options.ecmaVersion===6&&t&&s&&s.type==="RestElement"&&s.argument.type!=="Identifier"){this.unexpected(s.argument.start)}}return e};re.parseSpread=function(e){var t=this.startNode();this.next();t.argument=this.parseMaybeAssign(false,e);return this.finishNode(t,"SpreadElement")};re.parseRestBinding=function(){var e=this.startNode();this.next();if(this.options.ecmaVersion===6&&this.type!==v.name){this.unexpected()}e.argument=this.parseBindingAtom();return this.finishNode(e,"RestElement")};re.parseBindingAtom=function(){if(this.options.ecmaVersion>=6){switch(this.type){case v.bracketL:var e=this.startNode();this.next();e.elements=this.parseBindingList(v.bracketR,true,true);return this.finishNode(e,"ArrayPattern");case v.braceL:return this.parseObj(true)}}return this.parseIdent()};re.parseBindingList=function(e,t,i){var r=[],n=true;while(!this.eat(e)){if(n){n=false}else{this.expect(v.comma)}if(t&&this.type===v.comma){r.push(null)}else if(i&&this.afterTrailingComma(e)){break}else if(this.type===v.ellipsis){var s=this.parseRestBinding();this.parseBindingListItem(s);r.push(s);if(this.type===v.comma){this.raise(this.start,"Comma is not permitted after the rest element")}this.expect(e);break}else{var a=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(a);r.push(a)}}return r};re.parseBindingListItem=function(e){return e};re.parseMaybeDefault=function(e,t,i){i=i||this.parseBindingAtom();if(this.options.ecmaVersion<6||!this.eat(v.eq)){return i}var r=this.startNodeAt(e,t);r.left=i;r.right=this.parseMaybeAssign();return this.finishNode(r,"AssignmentPattern")};re.checkLValSimple=function(e,t,i){if(t===void 0)t=H;var r=t!==H;switch(e.type){case"Identifier":if(this.strict&&this.reservedWordsStrictBind.test(e.name)){this.raiseRecoverable(e.start,(r?"Binding ":"Assigning to ")+e.name+" in strict mode")}if(r){if(t===W&&e.name==="let"){this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name")}if(i){if(S(i,e.name)){this.raiseRecoverable(e.start,"Argument name clash")}i[e.name]=true}if(t!==V){this.declareName(e.name,t,e.start)}}break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(r){this.raiseRecoverable(e.start,"Binding member expression")}break;case"ParenthesizedExpression":if(r){this.raiseRecoverable(e.start,"Binding parenthesized expression")}return this.checkLValSimple(e.expression,t,i);default:this.raise(e.start,(r?"Binding":"Assigning to")+" rvalue")}};re.checkLValPattern=function(e,t,i){if(t===void 0)t=H;switch(e.type){case"ObjectPattern":for(var r=0,n=e.properties;r<n.length;r+=1){var s=n[r];this.checkLValInnerPattern(s,t,i)}break;case"ArrayPattern":for(var a=0,o=e.elements;a<o.length;a+=1){var u=o[a];if(u){this.checkLValInnerPattern(u,t,i)}}break;default:this.checkLValSimple(e,t,i)}};re.checkLValInnerPattern=function(e,t,i){if(t===void 0)t=H;switch(e.type){case"Property":this.checkLValInnerPattern(e.value,t,i);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,i);break;case"RestElement":this.checkLValPattern(e.argument,t,i);break;default:this.checkLValPattern(e,t,i)}};var ne=function TokContext(e,t,i,r,n){this.token=e;this.isExpr=!!t;this.preserveSpace=!!i;this.override=r;this.generator=!!n};var se={b_stat:new ne("{",false),b_expr:new ne("{",true),b_tmpl:new ne("${",false),p_stat:new ne("(",false),p_expr:new ne("(",true),q_tmpl:new ne("`",true,true,function(e){return e.tryReadTemplateToken()}),f_stat:new ne("function",false),f_expr:new ne("function",true),f_expr_gen:new ne("function",true,false,null,true),f_gen:new ne("function",false,false,null,true)};var ae=z.prototype;ae.initialContext=function(){return[se.b_stat]};ae.curContext=function(){return this.context[this.context.length-1]};ae.braceIsBlock=function(e){var t=this.curContext();if(t===se.f_expr||t===se.f_stat){return true}if(e===v.colon&&(t===se.b_stat||t===se.b_expr)){return!t.isExpr}if(e===v._return||e===v.name&&this.exprAllowed){return y.test(this.input.slice(this.lastTokEnd,this.start))}if(e===v._else||e===v.semi||e===v.eof||e===v.parenR||e===v.arrow){return true}if(e===v.braceL){return t===se.b_stat}if(e===v._var||e===v._const||e===v.name){return false}return!this.exprAllowed};ae.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function"){return t.generator}}return false};ae.updateContext=function(e){var t,i=this.type;if(i.keyword&&e===v.dot){this.exprAllowed=false}else if(t=i.updateContext){t.call(this,e)}else{this.exprAllowed=i.beforeExpr}};ae.overrideContext=function(e){if(this.curContext()!==e){this.context[this.context.length-1]=e}};v.parenR.updateContext=v.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var e=this.context.pop();if(e===se.b_stat&&this.curContext().token==="function"){e=this.context.pop()}this.exprAllowed=!e.isExpr};v.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?se.b_stat:se.b_expr);this.exprAllowed=true};v.dollarBraceL.updateContext=function(){this.context.push(se.b_tmpl);this.exprAllowed=true};v.parenL.updateContext=function(e){var t=e===v._if||e===v._for||e===v._with||e===v._while;this.context.push(t?se.p_stat:se.p_expr);this.exprAllowed=true};v.incDec.updateContext=function(){};v._function.updateContext=v._class.updateContext=function(e){if(e.beforeExpr&&e!==v._else&&!(e===v.semi&&this.curContext()!==se.p_stat)&&!(e===v._return&&y.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===v.colon||e===v.braceL)&&this.curContext()===se.b_stat)){this.context.push(se.f_expr)}else{this.context.push(se.f_stat)}this.exprAllowed=false};v.backQuote.updateContext=function(){if(this.curContext()===se.q_tmpl){this.context.pop()}else{this.context.push(se.q_tmpl)}this.exprAllowed=false};v.star.updateContext=function(e){if(e===v._function){var t=this.context.length-1;if(this.context[t]===se.f_expr){this.context[t]=se.f_expr_gen}else{this.context[t]=se.f_gen}}this.exprAllowed=true};v.name.updateContext=function(e){var t=false;if(this.options.ecmaVersion>=6&&e!==v.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){t=true}}this.exprAllowed=t};var oe=z.prototype;oe.checkPropClash=function(e,t,i){if(this.options.ecmaVersion>=9&&e.type==="SpreadElement"){return}if(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand)){return}var r=e.key;var n;switch(r.type){case"Identifier":n=r.name;break;case"Literal":n=String(r.value);break;default:return}var s=e.kind;if(this.options.ecmaVersion>=6){if(n==="__proto__"&&s==="init"){if(t.proto){if(i){if(i.doubleProto<0){i.doubleProto=r.start}}else{this.raiseRecoverable(r.start,"Redefinition of __proto__ property")}}t.proto=true}return}n="$"+n;var a=t[n];if(a){var o;if(s==="init"){o=this.strict&&a.init||a.get||a.set}else{o=a.init||a[s]}if(o){this.raiseRecoverable(r.start,"Redefinition of property")}}else{a=t[n]={init:false,get:false,set:false}}a[s]=true};oe.parseExpression=function(e,t){var i=this.start,r=this.startLoc;var n=this.parseMaybeAssign(e,t);if(this.type===v.comma){var s=this.startNodeAt(i,r);s.expressions=[n];while(this.eat(v.comma)){s.expressions.push(this.parseMaybeAssign(e,t))}return this.finishNode(s,"SequenceExpression")}return n};oe.parseMaybeAssign=function(e,t,i){if(this.isContextual("yield")){if(this.inGenerator){return this.parseYield(e)}else{this.exprAllowed=false}}var r=false,n=-1,s=-1,a=-1;if(t){n=t.parenthesizedAssign;s=t.trailingComma;a=t.doubleProto;t.parenthesizedAssign=t.trailingComma=-1}else{t=new DestructuringErrors;r=true}var o=this.start,u=this.startLoc;if(this.type===v.parenL||this.type===v.name){this.potentialArrowAt=this.start;this.potentialArrowInForAwait=e==="await"}var c=this.parseMaybeConditional(e,t);if(i){c=i.call(this,c,o,u)}if(this.type.isAssign){var l=this.startNodeAt(o,u);l.operator=this.value;if(this.type===v.eq){c=this.toAssignable(c,false,t)}if(!r){t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1}if(t.shorthandAssign>=c.start){t.shorthandAssign=-1}if(this.type===v.eq){this.checkLValPattern(c)}else{this.checkLValSimple(c)}l.left=c;this.next();l.right=this.parseMaybeAssign(e);if(a>-1){t.doubleProto=a}return this.finishNode(l,"AssignmentExpression")}else{if(r){this.checkExpressionErrors(t,true)}}if(n>-1){t.parenthesizedAssign=n}if(s>-1){t.trailingComma=s}return c};oe.parseMaybeConditional=function(e,t){var i=this.start,r=this.startLoc;var n=this.parseExprOps(e,t);if(this.checkExpressionErrors(t)){return n}if(this.eat(v.question)){var s=this.startNodeAt(i,r);s.test=n;s.consequent=this.parseMaybeAssign();this.expect(v.colon);s.alternate=this.parseMaybeAssign(e);return this.finishNode(s,"ConditionalExpression")}return n};oe.parseExprOps=function(e,t){var i=this.start,r=this.startLoc;var n=this.parseMaybeUnary(t,false,false,e);if(this.checkExpressionErrors(t)){return n}return n.start===i&&n.type==="ArrowFunctionExpression"?n:this.parseExprOp(n,i,r,-1,e)};oe.parseExprOp=function(e,t,i,r,n){var s=this.type.binop;if(s!=null&&(!n||this.type!==v._in)){if(s>r){var a=this.type===v.logicalOR||this.type===v.logicalAND;var o=this.type===v.coalesce;if(o){s=v.logicalAND.binop}var u=this.value;this.next();var c=this.start,l=this.startLoc;var f=this.parseExprOp(this.parseMaybeUnary(null,false,false,n),c,l,s,n);var h=this.buildBinary(t,i,e,f,u,a||o);if(a&&this.type===v.coalesce||o&&(this.type===v.logicalOR||this.type===v.logicalAND)){this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses")}return this.parseExprOp(h,t,i,r,n)}}return e};oe.buildBinary=function(e,t,i,r,n,s){if(r.type==="PrivateIdentifier"){this.raise(r.start,"Private identifier can only be left side of binary expression")}var a=this.startNodeAt(e,t);a.left=i;a.operator=n;a.right=r;return this.finishNode(a,s?"LogicalExpression":"BinaryExpression")};oe.parseMaybeUnary=function(e,t,i,r){var n=this.start,s=this.startLoc,a;if(this.isContextual("await")&&this.canAwait){a=this.parseAwait(r);t=true}else if(this.type.prefix){var o=this.startNode(),u=this.type===v.incDec;o.operator=this.value;o.prefix=true;this.next();o.argument=this.parseMaybeUnary(null,true,u,r);this.checkExpressionErrors(e,true);if(u){this.checkLValSimple(o.argument)}else if(this.strict&&o.operator==="delete"&&o.argument.type==="Identifier"){this.raiseRecoverable(o.start,"Deleting local variable in strict mode")}else if(o.operator==="delete"&&isPrivateFieldAccess(o.argument)){this.raiseRecoverable(o.start,"Private fields can not be deleted")}else{t=true}a=this.finishNode(o,u?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===v.privateId){if(r||this.privateNameStack.length===0){this.unexpected()}a=this.parsePrivateIdent();if(this.type!==v._in){this.unexpected()}}else{a=this.parseExprSubscripts(e,r);if(this.checkExpressionErrors(e)){return a}while(this.type.postfix&&!this.canInsertSemicolon()){var c=this.startNodeAt(n,s);c.operator=this.value;c.prefix=false;c.argument=a;this.checkLValSimple(a);this.next();a=this.finishNode(c,"UpdateExpression")}}if(!i&&this.eat(v.starstar)){if(t){this.unexpected(this.lastTokStart)}else{return this.buildBinary(n,s,a,this.parseMaybeUnary(null,false,false,r),"**",false)}}else{return a}};function isPrivateFieldAccess(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&isPrivateFieldAccess(e.expression)}oe.parseExprSubscripts=function(e,t){var i=this.start,r=this.startLoc;var n=this.parseExprAtom(e,t);if(n.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")"){return n}var s=this.parseSubscripts(n,i,r,false,t);if(e&&s.type==="MemberExpression"){if(e.parenthesizedAssign>=s.start){e.parenthesizedAssign=-1}if(e.parenthesizedBind>=s.start){e.parenthesizedBind=-1}if(e.trailingComma>=s.start){e.trailingComma=-1}}return s};oe.parseSubscripts=function(e,t,i,r,n){var s=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start;var a=false;while(true){var o=this.parseSubscript(e,t,i,r,s,a,n);if(o.optional){a=true}if(o===e||o.type==="ArrowFunctionExpression"){if(a){var u=this.startNodeAt(t,i);u.expression=o;o=this.finishNode(u,"ChainExpression")}return o}e=o}};oe.parseSubscript=function(e,t,i,r,n,s,a){var o=this.options.ecmaVersion>=11;var u=o&&this.eat(v.questionDot);if(r&&u){this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions")}var c=this.eat(v.bracketL);if(c||u&&this.type!==v.parenL&&this.type!==v.backQuote||this.eat(v.dot)){var l=this.startNodeAt(t,i);l.object=e;if(c){l.property=this.parseExpression();this.expect(v.bracketR)}else if(this.type===v.privateId&&e.type!=="Super"){l.property=this.parsePrivateIdent()}else{l.property=this.parseIdent(this.options.allowReserved!=="never")}l.computed=!!c;if(o){l.optional=u}e=this.finishNode(l,"MemberExpression")}else if(!r&&this.eat(v.parenL)){var f=new DestructuringErrors,h=this.yieldPos,p=this.awaitPos,d=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;var y=this.parseExprList(v.parenR,this.options.ecmaVersion>=8,false,f);if(n&&!u&&!this.canInsertSemicolon()&&this.eat(v.arrow)){this.checkPatternErrors(f,false);this.checkYieldAwaitInDefaultParams();if(this.awaitIdentPos>0){this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function")}this.yieldPos=h;this.awaitPos=p;this.awaitIdentPos=d;return this.parseArrowExpression(this.startNodeAt(t,i),y,true,a)}this.checkExpressionErrors(f,true);this.yieldPos=h||this.yieldPos;this.awaitPos=p||this.awaitPos;this.awaitIdentPos=d||this.awaitIdentPos;var g=this.startNodeAt(t,i);g.callee=e;g.arguments=y;if(o){g.optional=u}e=this.finishNode(g,"CallExpression")}else if(this.type===v.backQuote){if(u||s){this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions")}var b=this.startNodeAt(t,i);b.tag=e;b.quasi=this.parseTemplate({isTagged:true});e=this.finishNode(b,"TaggedTemplateExpression")}return e};oe.parseExprAtom=function(e,t){if(this.type===v.slash){this.readRegexp()}var i,r=this.potentialArrowAt===this.start;switch(this.type){case v._super:if(!this.allowSuper){this.raise(this.start,"'super' keyword outside a method")}i=this.startNode();this.next();if(this.type===v.parenL&&!this.allowDirectSuper){this.raise(i.start,"super() call outside constructor of a subclass")}if(this.type!==v.dot&&this.type!==v.bracketL&&this.type!==v.parenL){this.unexpected()}return this.finishNode(i,"Super");case v._this:i=this.startNode();this.next();return this.finishNode(i,"ThisExpression");case v.name:var n=this.start,s=this.startLoc,a=this.containsEsc;var o=this.parseIdent(false);if(this.options.ecmaVersion>=8&&!a&&o.name==="async"&&!this.canInsertSemicolon()&&this.eat(v._function)){this.overrideContext(se.f_expr);return this.parseFunction(this.startNodeAt(n,s),0,false,true,t)}if(r&&!this.canInsertSemicolon()){if(this.eat(v.arrow)){return this.parseArrowExpression(this.startNodeAt(n,s),[o],false,t)}if(this.options.ecmaVersion>=8&&o.name==="async"&&this.type===v.name&&!a&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc)){o=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(v.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(n,s),[o],true,t)}}return o;case v.regexp:var u=this.value;i=this.parseLiteral(u.value);i.regex={pattern:u.pattern,flags:u.flags};return i;case v.num:case v.string:return this.parseLiteral(this.value);case v._null:case v._true:case v._false:i=this.startNode();i.value=this.type===v._null?null:this.type===v._true;i.raw=this.type.keyword;this.next();return this.finishNode(i,"Literal");case v.parenL:var c=this.start,l=this.parseParenAndDistinguishExpression(r,t);if(e){if(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(l)){e.parenthesizedAssign=c}if(e.parenthesizedBind<0){e.parenthesizedBind=c}}return l;case v.bracketL:i=this.startNode();this.next();i.elements=this.parseExprList(v.bracketR,true,true,e);return this.finishNode(i,"ArrayExpression");case v.braceL:this.overrideContext(se.b_expr);return this.parseObj(false,e);case v._function:i=this.startNode();this.next();return this.parseFunction(i,0);case v._class:return this.parseClass(this.startNode(),false);case v._new:return this.parseNew();case v.backQuote:return this.parseTemplate();case v._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};oe.parseExprImport=function(){var e=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var t=this.parseIdent(true);switch(this.type){case v.parenL:return this.parseDynamicImport(e);case v.dot:e.meta=t;return this.parseImportMeta(e);default:this.unexpected()}};oe.parseDynamicImport=function(e){this.next();e.source=this.parseMaybeAssign();if(!this.eat(v.parenR)){var t=this.start;if(this.eat(v.comma)&&this.eat(v.parenR)){this.raiseRecoverable(t,"Trailing comma is not allowed in import()")}else{this.unexpected(t)}}return this.finishNode(e,"ImportExpression")};oe.parseImportMeta=function(e){this.next();var t=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="meta"){this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'")}if(t){this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere){this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(e,"MetaProperty")};oe.parseLiteral=function(e){var t=this.startNode();t.value=e;t.raw=this.input.slice(this.start,this.end);if(t.raw.charCodeAt(t.raw.length-1)===110){t.bigint=t.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(t,"Literal")};oe.parseParenExpression=function(){this.expect(v.parenL);var e=this.parseExpression();this.expect(v.parenR);return e};oe.parseParenAndDistinguishExpression=function(e,t){var i=this.start,r=this.startLoc,n,s=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a=this.start,o=this.startLoc;var u=[],c=true,l=false;var f=new DestructuringErrors,h=this.yieldPos,p=this.awaitPos,d;this.yieldPos=0;this.awaitPos=0;while(this.type!==v.parenR){c?c=false:this.expect(v.comma);if(s&&this.afterTrailingComma(v.parenR,true)){l=true;break}else if(this.type===v.ellipsis){d=this.start;u.push(this.parseParenItem(this.parseRestBinding()));if(this.type===v.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{u.push(this.parseMaybeAssign(false,f,this.parseParenItem))}}var y=this.lastTokEnd,g=this.lastTokEndLoc;this.expect(v.parenR);if(e&&!this.canInsertSemicolon()&&this.eat(v.arrow)){this.checkPatternErrors(f,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=h;this.awaitPos=p;return this.parseParenArrowList(i,r,u,t)}if(!u.length||l){this.unexpected(this.lastTokStart)}if(d){this.unexpected(d)}this.checkExpressionErrors(f,true);this.yieldPos=h||this.yieldPos;this.awaitPos=p||this.awaitPos;if(u.length>1){n=this.startNodeAt(a,o);n.expressions=u;this.finishNodeAt(n,"SequenceExpression",y,g)}else{n=u[0]}}else{n=this.parseParenExpression()}if(this.options.preserveParens){var b=this.startNodeAt(i,r);b.expression=n;return this.finishNode(b,"ParenthesizedExpression")}else{return n}};oe.parseParenItem=function(e){return e};oe.parseParenArrowList=function(e,t,i,r){return this.parseArrowExpression(this.startNodeAt(e,t),i,false,r)};var ue=[];oe.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var e=this.startNode();var t=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(v.dot)){e.meta=t;var i=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="target"){this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'")}if(i){this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters")}if(!this.allowNewDotTarget){this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block")}return this.finishNode(e,"MetaProperty")}var r=this.start,n=this.startLoc,s=this.type===v._import;e.callee=this.parseSubscripts(this.parseExprAtom(),r,n,true,false);if(s&&e.callee.type==="ImportExpression"){this.raise(r,"Cannot use new with import()")}if(this.eat(v.parenL)){e.arguments=this.parseExprList(v.parenR,this.options.ecmaVersion>=8,false)}else{e.arguments=ue}return this.finishNode(e,"NewExpression")};oe.parseTemplateElement=function(e){var t=e.isTagged;var i=this.startNode();if(this.type===v.invalidTemplate){if(!t){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}i.value={raw:this.value,cooked:null}}else{i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();i.tail=this.type===v.backQuote;return this.finishNode(i,"TemplateElement")};oe.parseTemplate=function(e){if(e===void 0)e={};var t=e.isTagged;if(t===void 0)t=false;var i=this.startNode();this.next();i.expressions=[];var r=this.parseTemplateElement({isTagged:t});i.quasis=[r];while(!r.tail){if(this.type===v.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(v.dollarBraceL);i.expressions.push(this.parseExpression());this.expect(v.braceR);i.quasis.push(r=this.parseTemplateElement({isTagged:t}))}this.next();return this.finishNode(i,"TemplateLiteral")};oe.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===v.name||this.type===v.num||this.type===v.string||this.type===v.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===v.star)&&!y.test(this.input.slice(this.lastTokEnd,this.start))};oe.parseObj=function(e,t){var i=this.startNode(),r=true,n={};i.properties=[];this.next();while(!this.eat(v.braceR)){if(!r){this.expect(v.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(v.braceR)){break}}else{r=false}var s=this.parseProperty(e,t);if(!e){this.checkPropClash(s,n,t)}i.properties.push(s)}return this.finishNode(i,e?"ObjectPattern":"ObjectExpression")};oe.parseProperty=function(e,t){var i=this.startNode(),r,n,s,a;if(this.options.ecmaVersion>=9&&this.eat(v.ellipsis)){if(e){i.argument=this.parseIdent(false);if(this.type===v.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(i,"RestElement")}if(this.type===v.parenL&&t){if(t.parenthesizedAssign<0){t.parenthesizedAssign=this.start}if(t.parenthesizedBind<0){t.parenthesizedBind=this.start}}i.argument=this.parseMaybeAssign(false,t);if(this.type===v.comma&&t&&t.trailingComma<0){t.trailingComma=this.start}return this.finishNode(i,"SpreadElement")}if(this.options.ecmaVersion>=6){i.method=false;i.shorthand=false;if(e||t){s=this.start;a=this.startLoc}if(!e){r=this.eat(v.star)}}var o=this.containsEsc;this.parsePropertyName(i);if(!e&&!o&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(i)){n=true;r=this.options.ecmaVersion>=9&&this.eat(v.star);this.parsePropertyName(i,t)}else{n=false}this.parsePropertyValue(i,e,r,n,s,a,t,o);return this.finishNode(i,"Property")};oe.parsePropertyValue=function(e,t,i,r,n,s,a,o){if((i||r)&&this.type===v.colon){this.unexpected()}if(this.eat(v.colon)){e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,a);e.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===v.parenL){if(t){this.unexpected()}e.kind="init";e.method=true;e.value=this.parseMethod(i,r)}else if(!t&&!o&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&(this.type!==v.comma&&this.type!==v.braceR&&this.type!==v.eq)){if(i||r){this.unexpected()}e.kind=e.key.name;this.parsePropertyName(e);e.value=this.parseMethod(false);var u=e.kind==="get"?0:1;if(e.value.params.length!==u){var c=e.value.start;if(e.kind==="get"){this.raiseRecoverable(c,"getter should have no params")}else{this.raiseRecoverable(c,"setter should have exactly one param")}}else{if(e.kind==="set"&&e.value.params[0].type==="RestElement"){this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"){if(i||r){this.unexpected()}this.checkUnreserved(e.key);if(e.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=n}e.kind="init";if(t){e.value=this.parseMaybeDefault(n,s,this.copyNode(e.key))}else if(this.type===v.eq&&a){if(a.shorthandAssign<0){a.shorthandAssign=this.start}e.value=this.parseMaybeDefault(n,s,this.copyNode(e.key))}else{e.value=this.copyNode(e.key)}e.shorthand=true}else{this.unexpected()}};oe.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(v.bracketL)){e.computed=true;e.key=this.parseMaybeAssign();this.expect(v.bracketR);return e.key}else{e.computed=false}}return e.key=this.type===v.num||this.type===v.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};oe.initFunction=function(e){e.id=null;if(this.options.ecmaVersion>=6){e.generator=e.expression=false}if(this.options.ecmaVersion>=8){e.async=false}};oe.parseMethod=function(e,t,i){var r=this.startNode(),n=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;this.initFunction(r);if(this.options.ecmaVersion>=6){r.generator=e}if(this.options.ecmaVersion>=8){r.async=!!t}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(t,r.generator)|F|(i?L:0));this.expect(v.parenL);r.params=this.parseBindingList(v.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(r,false,true,false);this.yieldPos=n;this.awaitPos=s;this.awaitIdentPos=a;return this.finishNode(r,"FunctionExpression")};oe.parseArrowExpression=function(e,t,i,r){var n=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;this.enterScope(functionFlags(i,false)|$);this.initFunction(e);if(this.options.ecmaVersion>=8){e.async=!!i}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;e.params=this.toAssignableList(t,true);this.parseFunctionBody(e,true,false,r);this.yieldPos=n;this.awaitPos=s;this.awaitIdentPos=a;return this.finishNode(e,"ArrowFunctionExpression")};oe.parseFunctionBody=function(e,t,i,r){var n=t&&this.type!==v.braceL;var s=this.strict,a=false;if(n){e.body=this.parseMaybeAssign(r);e.expression=true;this.checkParams(e,false)}else{var o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);if(!s||o){a=this.strictDirective(this.end);if(a&&o){this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var u=this.labels;this.labels=[];if(a){this.strict=true}this.checkParams(e,!s&&!a&&!t&&!i&&this.isSimpleParamList(e.params));if(this.strict&&e.id){this.checkLValSimple(e.id,V)}e.body=this.parseBlock(false,undefined,a&&!s);e.expression=false;this.adaptDirectivePrologue(e.body.body);this.labels=u}this.exitScope()};oe.isSimpleParamList=function(e){for(var t=0,i=e;t<i.length;t+=1){var r=i[t];if(r.type!=="Identifier"){return false}}return true};oe.checkParams=function(e,t){var i=Object.create(null);for(var r=0,n=e.params;r<n.length;r+=1){var s=n[r];this.checkLValInnerPattern(s,U,t?null:i)}};oe.parseExprList=function(e,t,i,r){var n=[],s=true;while(!this.eat(e)){if(!s){this.expect(v.comma);if(t&&this.afterTrailingComma(e)){break}}else{s=false}var a=void 0;if(i&&this.type===v.comma){a=null}else if(this.type===v.ellipsis){a=this.parseSpread(r);if(r&&this.type===v.comma&&r.trailingComma<0){r.trailingComma=this.start}}else{a=this.parseMaybeAssign(false,r)}n.push(a)}return n};oe.checkUnreserved=function(e){var t=e.start;var i=e.end;var r=e.name;if(this.inGenerator&&r==="yield"){this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator")}if(this.inAsync&&r==="await"){this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function")}if(this.currentThisScope().inClassFieldInit&&r==="arguments"){this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer")}if(this.inClassStaticBlock&&(r==="arguments"||r==="await")){this.raise(t,"Cannot use "+r+" in class static initialization block")}if(this.keywords.test(r)){this.raise(t,"Unexpected keyword '"+r+"'")}if(this.options.ecmaVersion<6&&this.input.slice(t,i).indexOf("\\")!==-1){return}var n=this.strict?this.reservedWordsStrict:this.reservedWords;if(n.test(r)){if(!this.inAsync&&r==="await"){this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function")}this.raiseRecoverable(t,"The keyword '"+r+"' is reserved")}};oe.parseIdent=function(e,t){var i=this.startNode();if(this.type===v.name){i.name=this.value}else if(this.type.keyword){i.name=this.type.keyword;if((i.name==="class"||i.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)){this.context.pop()}}else{this.unexpected()}this.next(!!e);this.finishNode(i,"Identifier");if(!e){this.checkUnreserved(i);if(i.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=i.start}}return i};oe.parsePrivateIdent=function(){var e=this.startNode();if(this.type===v.privateId){e.name=this.value}else{this.unexpected()}this.next();this.finishNode(e,"PrivateIdentifier");if(this.privateNameStack.length===0){this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class")}else{this.privateNameStack[this.privateNameStack.length-1].used.push(e)}return e};oe.parseYield=function(e){if(!this.yieldPos){this.yieldPos=this.start}var t=this.startNode();this.next();if(this.type===v.semi||this.canInsertSemicolon()||this.type!==v.star&&!this.type.startsExpr){t.delegate=false;t.argument=null}else{t.delegate=this.eat(v.star);t.argument=this.parseMaybeAssign(e)}return this.finishNode(t,"YieldExpression")};oe.parseAwait=function(e){if(!this.awaitPos){this.awaitPos=this.start}var t=this.startNode();this.next();t.argument=this.parseMaybeUnary(null,true,false,e);return this.finishNode(t,"AwaitExpression")};var ce=z.prototype;ce.raise=function(e,t){var i=getLineInfo(this.input,e);t+=" ("+i.line+":"+i.column+")";var r=new SyntaxError(t);r.pos=e;r.loc=i;r.raisedAt=this.pos;throw r};ce.raiseRecoverable=ce.raise;ce.curPosition=function(){if(this.options.locations){return new A(this.curLine,this.pos-this.lineStart)}};var le=z.prototype;var fe=function Scope(e){this.flags=e;this.var=[];this.lexical=[];this.functions=[];this.inClassFieldInit=false};le.enterScope=function(e){this.scopeStack.push(new fe(e))};le.exitScope=function(){this.scopeStack.pop()};le.treatFunctionsAsVarInScope=function(e){return e.flags&N||!this.inModule&&e.flags&O};le.declareName=function(e,t,i){var r=false;if(t===W){var n=this.currentScope();r=n.lexical.indexOf(e)>-1||n.functions.indexOf(e)>-1||n.var.indexOf(e)>-1;n.lexical.push(e);if(this.inModule&&n.flags&O){delete this.undefinedExports[e]}}else if(t===G){var s=this.currentScope();s.lexical.push(e)}else if(t===q){var a=this.currentScope();if(this.treatFunctionsAsVar){r=a.lexical.indexOf(e)>-1}else{r=a.lexical.indexOf(e)>-1||a.var.indexOf(e)>-1}a.functions.push(e)}else{for(var o=this.scopeStack.length-1;o>=0;--o){var u=this.scopeStack[o];if(u.lexical.indexOf(e)>-1&&!(u.flags&P&&u.lexical[0]===e)||!this.treatFunctionsAsVarInScope(u)&&u.functions.indexOf(e)>-1){r=true;break}u.var.push(e);if(this.inModule&&u.flags&O){delete this.undefinedExports[e]}if(u.flags&D){break}}}if(r){this.raiseRecoverable(i,"Identifier '"+e+"' has already been declared")}};le.checkLocalExport=function(e){if(this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1){this.undefinedExports[e.name]=e}};le.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};le.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&D){return t}}};le.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&D&&!(t.flags&$)){return t}}};var he=function Node(e,t,i){this.type="";this.start=t;this.end=0;if(e.options.locations){this.loc=new k(e,i)}if(e.options.directSourceFile){this.sourceFile=e.options.directSourceFile}if(e.options.ranges){this.range=[t,0]}};var pe=z.prototype;pe.startNode=function(){return new he(this,this.start,this.startLoc)};pe.startNodeAt=function(e,t){return new he(this,e,t)};function finishNodeAt(e,t,i,r){e.type=t;e.end=i;if(this.options.locations){e.loc.end=r}if(this.options.ranges){e.range[1]=i}return e}pe.finishNode=function(e,t){return finishNodeAt.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};pe.finishNodeAt=function(e,t,i,r){return finishNodeAt.call(this,e,t,i,r)};pe.copyNode=function(e){var t=new he(this,e.start,this.startLoc);for(var i in e){t[i]=e[i]}return t};var de="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var ve=de+" Extended_Pictographic";var ye=ve;var ge=ye+" EBase EComp EMod EPres ExtPict";var be=ge;var me={9:de,10:ve,11:ye,12:ge,13:be};var _e="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var we="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var Ee=we+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var Se=Ee+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var xe=Se+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";var Re=xe+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith";var Ae={9:we,10:Ee,11:Se,12:xe,13:Re};var ke={};function buildUnicodeData(e){var t=ke[e]={binary:wordsRegexp(me[e]+" "+_e),nonBinary:{General_Category:wordsRegexp(_e),Script:wordsRegexp(Ae[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script;t.nonBinary.gc=t.nonBinary.General_Category;t.nonBinary.sc=t.nonBinary.Script;t.nonBinary.scx=t.nonBinary.Script_Extensions}for(var Te=0,Ce=[9,10,11,12,13];Te<Ce.length;Te+=1){var Oe=Ce[Te];buildUnicodeData(Oe)}var Ne=z.prototype;var je=function RegExpValidationState(e){this.parser=e;this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"")+(e.options.ecmaVersion>=13?"d":"");this.unicodeProperties=ke[e.options.ecmaVersion>=13?13:e.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};je.prototype.reset=function reset(e,t,i){var r=i.indexOf("u")!==-1;this.start=e|0;this.source=t+"";this.flags=i;this.switchU=r&&this.parser.options.ecmaVersion>=6;this.switchN=r&&this.parser.options.ecmaVersion>=9};je.prototype.raise=function raise(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)};je.prototype.at=function at(e,t){if(t===void 0)t=false;var i=this.source;var r=i.length;if(e>=r){return-1}var n=i.charCodeAt(e);if(!(t||this.switchU)||n<=55295||n>=57344||e+1>=r){return n}var s=i.charCodeAt(e+1);return s>=56320&&s<=57343?(n<<10)+s-56613888:n};je.prototype.nextIndex=function nextIndex(e,t){if(t===void 0)t=false;var i=this.source;var r=i.length;if(e>=r){return r}var n=i.charCodeAt(e),s;if(!(t||this.switchU)||n<=55295||n>=57344||e+1>=r||(s=i.charCodeAt(e+1))<56320||s>57343){return e+1}return e+2};je.prototype.current=function current(e){if(e===void 0)e=false;return this.at(this.pos,e)};je.prototype.lookahead=function lookahead(e){if(e===void 0)e=false;return this.at(this.nextIndex(this.pos,e),e)};je.prototype.advance=function advance(e){if(e===void 0)e=false;this.pos=this.nextIndex(this.pos,e)};je.prototype.eat=function eat(e,t){if(t===void 0)t=false;if(this.current(t)===e){this.advance(t);return true}return false};function codePointToString$1(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}Ne.validateRegExpFlags=function(e){var t=e.validFlags;var i=e.flags;for(var r=0;r<i.length;r++){var n=i.charAt(r);if(t.indexOf(n)===-1){this.raise(e.start,"Invalid regular expression flag")}if(i.indexOf(n,r+1)>-1){this.raise(e.start,"Duplicate regular expression flag")}}};Ne.validateRegExpPattern=function(e){this.regexp_pattern(e);if(!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0){e.switchN=true;this.regexp_pattern(e)}};Ne.regexp_pattern=function(e){e.pos=0;e.lastIntValue=0;e.lastStringValue="";e.lastAssertionIsQuantifiable=false;e.numCapturingParens=0;e.maxBackReference=0;e.groupNames.length=0;e.backReferenceNames.length=0;this.regexp_disjunction(e);if(e.pos!==e.source.length){if(e.eat(41)){e.raise("Unmatched ')'")}if(e.eat(93)||e.eat(125)){e.raise("Lone quantifier brackets")}}if(e.maxBackReference>e.numCapturingParens){e.raise("Invalid escape")}for(var t=0,i=e.backReferenceNames;t<i.length;t+=1){var r=i[t];if(e.groupNames.indexOf(r)===-1){e.raise("Invalid named capture referenced")}}};Ne.regexp_disjunction=function(e){this.regexp_alternative(e);while(e.eat(124)){this.regexp_alternative(e)}if(this.regexp_eatQuantifier(e,true)){e.raise("Nothing to repeat")}if(e.eat(123)){e.raise("Lone quantifier brackets")}};Ne.regexp_alternative=function(e){while(e.pos<e.source.length&&this.regexp_eatTerm(e)){}};Ne.regexp_eatTerm=function(e){if(this.regexp_eatAssertion(e)){if(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)){if(e.switchU){e.raise("Invalid quantifier")}}return true}if(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e)){this.regexp_eatQuantifier(e);return true}return false};Ne.regexp_eatAssertion=function(e){var t=e.pos;e.lastAssertionIsQuantifiable=false;if(e.eat(94)||e.eat(36)){return true}if(e.eat(92)){if(e.eat(66)||e.eat(98)){return true}e.pos=t}if(e.eat(40)&&e.eat(63)){var i=false;if(this.options.ecmaVersion>=9){i=e.eat(60)}if(e.eat(61)||e.eat(33)){this.regexp_disjunction(e);if(!e.eat(41)){e.raise("Unterminated group")}e.lastAssertionIsQuantifiable=!i;return true}}e.pos=t;return false};Ne.regexp_eatQuantifier=function(e,t){if(t===void 0)t=false;if(this.regexp_eatQuantifierPrefix(e,t)){e.eat(63);return true}return false};Ne.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};Ne.regexp_eatBracedQuantifier=function(e,t){var i=e.pos;if(e.eat(123)){var r=0,n=-1;if(this.regexp_eatDecimalDigits(e)){r=e.lastIntValue;if(e.eat(44)&&this.regexp_eatDecimalDigits(e)){n=e.lastIntValue}if(e.eat(125)){if(n!==-1&&n<r&&!t){e.raise("numbers out of order in {} quantifier")}return true}}if(e.switchU&&!t){e.raise("Incomplete quantifier")}e.pos=i}return false};Ne.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)};Ne.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e)){return true}e.pos=t}return false};Ne.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){this.regexp_disjunction(e);if(e.eat(41)){return true}e.raise("Unterminated group")}e.pos=t}return false};Ne.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9){this.regexp_groupSpecifier(e)}else if(e.current()===63){e.raise("Invalid group")}this.regexp_disjunction(e);if(e.eat(41)){e.numCapturingParens+=1;return true}e.raise("Unterminated group")}return false};Ne.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};Ne.regexp_eatInvalidBracedQuantifier=function(e){if(this.regexp_eatBracedQuantifier(e,true)){e.raise("Nothing to repeat")}return false};Ne.regexp_eatSyntaxCharacter=function(e){var t=e.current();if(isSyntaxCharacter(t)){e.lastIntValue=t;e.advance();return true}return false};function isSyntaxCharacter(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}Ne.regexp_eatPatternCharacters=function(e){var t=e.pos;var i=0;while((i=e.current())!==-1&&!isSyntaxCharacter(i)){e.advance()}return e.pos!==t};Ne.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();if(t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124){e.advance();return true}return false};Ne.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){if(e.groupNames.indexOf(e.lastStringValue)!==-1){e.raise("Duplicate capture group name")}e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};Ne.regexp_eatGroupName=function(e){e.lastStringValue="";if(e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62)){return true}e.raise("Invalid capture group name")}return false};Ne.regexp_eatRegExpIdentifierName=function(e){e.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(e)){e.lastStringValue+=codePointToString$1(e.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(e)){e.lastStringValue+=codePointToString$1(e.lastIntValue)}return true}return false};Ne.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos;var i=this.options.ecmaVersion>=11;var r=e.current(i);e.advance(i);if(r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)){r=e.lastIntValue}if(isRegExpIdentifierStart(r)){e.lastIntValue=r;return true}e.pos=t;return false};function isRegExpIdentifierStart(e){return isIdentifierStart(e,true)||e===36||e===95}Ne.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos;var i=this.options.ecmaVersion>=11;var r=e.current(i);e.advance(i);if(r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,i)){r=e.lastIntValue}if(isRegExpIdentifierPart(r)){e.lastIntValue=r;return true}e.pos=t;return false};function isRegExpIdentifierPart(e){return isIdentifierChar(e,true)||e===36||e===95||e===8204||e===8205}Ne.regexp_eatAtomEscape=function(e){if(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)){return true}if(e.switchU){if(e.current()===99){e.raise("Invalid unicode escape")}e.raise("Invalid escape")}return false};Ne.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var i=e.lastIntValue;if(e.switchU){if(i>e.maxBackReference){e.maxBackReference=i}return true}if(i<=e.numCapturingParens){return true}e.pos=t}return false};Ne.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e)){e.backReferenceNames.push(e.lastStringValue);return true}e.raise("Invalid named reference")}return false};Ne.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,false)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};Ne.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e)){return true}e.pos=t}return false};Ne.regexp_eatZero=function(e){if(e.current()===48&&!isDecimalDigit(e.lookahead())){e.lastIntValue=0;e.advance();return true}return false};Ne.regexp_eatControlEscape=function(e){var t=e.current();if(t===116){e.lastIntValue=9;e.advance();return true}if(t===110){e.lastIntValue=10;e.advance();return true}if(t===118){e.lastIntValue=11;e.advance();return true}if(t===102){e.lastIntValue=12;e.advance();return true}if(t===114){e.lastIntValue=13;e.advance();return true}return false};Ne.regexp_eatControlLetter=function(e){var t=e.current();if(isControlLetter(t)){e.lastIntValue=t%32;e.advance();return true}return false};function isControlLetter(e){return e>=65&&e<=90||e>=97&&e<=122}Ne.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){if(t===void 0)t=false;var i=e.pos;var r=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var n=e.lastIntValue;if(r&&n>=55296&&n<=56319){var s=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343){e.lastIntValue=(n-55296)*1024+(a-56320)+65536;return true}}e.pos=s;e.lastIntValue=n}return true}if(r&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&isValidUnicode(e.lastIntValue)){return true}if(r){e.raise("Invalid unicode escape")}e.pos=i}return false};function isValidUnicode(e){return e>=0&&e<=1114111}Ne.regexp_eatIdentityEscape=function(e){if(e.switchU){if(this.regexp_eatSyntaxCharacter(e)){return true}if(e.eat(47)){e.lastIntValue=47;return true}return false}var t=e.current();if(t!==99&&(!e.switchN||t!==107)){e.lastIntValue=t;e.advance();return true}return false};Ne.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48);e.advance()}while((t=e.current())>=48&&t<=57);return true}return false};Ne.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(isCharacterClassEscape(t)){e.lastIntValue=-1;e.advance();return true}if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){e.lastIntValue=-1;e.advance();if(e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125)){return true}e.raise("Invalid property name")}return false};function isCharacterClassEscape(e){return e===100||e===68||e===115||e===83||e===119||e===87}Ne.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var i=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(e,i,r);return true}}e.pos=t;if(this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var n=e.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(e,n);return true}return false};Ne.regexp_validateUnicodePropertyNameAndValue=function(e,t,i){if(!S(e.unicodeProperties.nonBinary,t)){e.raise("Invalid property name")}if(!e.unicodeProperties.nonBinary[t].test(i)){e.raise("Invalid property value")}};Ne.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(!e.unicodeProperties.binary.test(t)){e.raise("Invalid property name")}};Ne.regexp_eatUnicodePropertyName=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyNameCharacter(t=e.current())){e.lastStringValue+=codePointToString$1(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyNameCharacter(e){return isControlLetter(e)||e===95}Ne.regexp_eatUnicodePropertyValue=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyValueCharacter(t=e.current())){e.lastStringValue+=codePointToString$1(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyValueCharacter(e){return isUnicodePropertyNameCharacter(e)||isDecimalDigit(e)}Ne.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};Ne.regexp_eatCharacterClass=function(e){if(e.eat(91)){e.eat(94);this.regexp_classRanges(e);if(e.eat(93)){return true}e.raise("Unterminated character class")}return false};Ne.regexp_classRanges=function(e){while(this.regexp_eatClassAtom(e)){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var i=e.lastIntValue;if(e.switchU&&(t===-1||i===-1)){e.raise("Invalid character class")}if(t!==-1&&i!==-1&&t>i){e.raise("Range out of order in character class")}}}};Ne.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e)){return true}if(e.switchU){var i=e.current();if(i===99||isOctalDigit(i)){e.raise("Invalid class escape")}e.raise("Invalid escape")}e.pos=t}var r=e.current();if(r!==93){e.lastIntValue=r;e.advance();return true}return false};Ne.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98)){e.lastIntValue=8;return true}if(e.switchU&&e.eat(45)){e.lastIntValue=45;return true}if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e)){return true}e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};Ne.regexp_eatClassControlLetter=function(e){var t=e.current();if(isDecimalDigit(t)||t===95){e.lastIntValue=t%32;e.advance();return true}return false};Ne.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2)){return true}if(e.switchU){e.raise("Invalid escape")}e.pos=t}return false};Ne.regexp_eatDecimalDigits=function(e){var t=e.pos;var i=0;e.lastIntValue=0;while(isDecimalDigit(i=e.current())){e.lastIntValue=10*e.lastIntValue+(i-48);e.advance()}return e.pos!==t};function isDecimalDigit(e){return e>=48&&e<=57}Ne.regexp_eatHexDigits=function(e){var t=e.pos;var i=0;e.lastIntValue=0;while(isHexDigit(i=e.current())){e.lastIntValue=16*e.lastIntValue+hexToInt(i);e.advance()}return e.pos!==t};function isHexDigit(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexToInt(e){if(e>=65&&e<=70){return 10+(e-65)}if(e>=97&&e<=102){return 10+(e-97)}return e-48}Ne.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var i=e.lastIntValue;if(t<=3&&this.regexp_eatOctalDigit(e)){e.lastIntValue=t*64+i*8+e.lastIntValue}else{e.lastIntValue=t*8+i}}else{e.lastIntValue=t}return true}return false};Ne.regexp_eatOctalDigit=function(e){var t=e.current();if(isOctalDigit(t)){e.lastIntValue=t-48;e.advance();return true}e.lastIntValue=0;return false};function isOctalDigit(e){return e>=48&&e<=55}Ne.regexp_eatFixedHexDigits=function(e,t){var i=e.pos;e.lastIntValue=0;for(var r=0;r<t;++r){var n=e.current();if(!isHexDigit(n)){e.pos=i;return false}e.lastIntValue=16*e.lastIntValue+hexToInt(n);e.advance()}return true};var Ie=function Token(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;if(e.options.locations){this.loc=new k(e,e.startLoc,e.endLoc)}if(e.options.ranges){this.range=[e.start,e.end]}};var $e=z.prototype;$e.next=function(e){if(!e&&this.type.keyword&&this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword)}if(this.options.onToken){this.options.onToken(new Ie(this))}this.lastTokEnd=this.end;this.lastTokStart=this.start;this.lastTokEndLoc=this.endLoc;this.lastTokStartLoc=this.startLoc;this.nextToken()};$e.getToken=function(){this.next();return new Ie(this)};if(typeof Symbol!=="undefined"){$e[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===v.eof,value:t}}}}}$e.nextToken=function(){var e=this.curContext();if(!e||!e.preserveSpace){this.skipSpace()}this.start=this.pos;if(this.options.locations){this.startLoc=this.curPosition()}if(this.pos>=this.input.length){return this.finishToken(v.eof)}if(e.override){return e.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};$e.readToken=function(e){if(isIdentifierStart(e,this.options.ecmaVersion>=6)||e===92){return this.readWord()}return this.getTokenFromCode(e)};$e.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320){return e}var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888};$e.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition();var t=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(i===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=i+2;if(this.options.locations){for(var r=void 0,n=t;(r=nextLineBreak(this.input,n,this.pos))>-1;){++this.curLine;n=this.lineStart=r}}if(this.options.onComment){this.options.onComment(true,this.input.slice(t+2,i),t,this.pos,e,this.curPosition())}};$e.skipLineComment=function(e){var t=this.pos;var i=this.options.onComment&&this.curPosition();var r=this.input.charCodeAt(this.pos+=e);while(this.pos<this.input.length&&!isNewLine(r)){r=this.input.charCodeAt(++this.pos)}if(this.options.onComment){this.options.onComment(false,this.input.slice(t+e,this.pos),t,this.pos,i,this.curPosition())}};$e.skipSpace=function(){e:while(this.pos<this.input.length){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:if(this.input.charCodeAt(this.pos+1)===10){++this.pos}case 10:case 8232:case 8233:++this.pos;if(this.options.locations){++this.curLine;this.lineStart=this.pos}break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&b.test(String.fromCharCode(e))){++this.pos}else{break e}}}};$e.finishToken=function(e,t){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var i=this.type;this.type=e;this.value=t;this.updateContext(i)};$e.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57){return this.readNumber(true)}var t=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&e===46&&t===46){this.pos+=3;return this.finishToken(v.ellipsis)}else{++this.pos;return this.finishToken(v.dot)}};$e.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(e===61){return this.finishOp(v.assign,2)}return this.finishOp(v.slash,1)};$e.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1);var i=1;var r=e===42?v.star:v.modulo;if(this.options.ecmaVersion>=7&&e===42&&t===42){++i;r=v.starstar;t=this.input.charCodeAt(this.pos+2)}if(t===61){return this.finishOp(v.assign,i+1)}return this.finishOp(r,i)};$e.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61){return this.finishOp(v.assign,3)}}return this.finishOp(e===124?v.logicalOR:v.logicalAND,2)}if(t===61){return this.finishOp(v.assign,2)}return this.finishOp(e===124?v.bitwiseOR:v.bitwiseAND,1)};$e.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);if(e===61){return this.finishOp(v.assign,2)}return this.finishOp(v.bitwiseXOR,1)};$e.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||y.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(v.incDec,2)}if(t===61){return this.finishOp(v.assign,2)}return this.finishOp(v.plusMin,1)};$e.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1);var i=1;if(t===e){i=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+i)===61){return this.finishOp(v.assign,i+1)}return this.finishOp(v.bitShift,i)}if(t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(t===61){i=2}return this.finishOp(v.relational,i)};$e.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===61){return this.finishOp(v.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(e===61&&t===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(v.arrow)}return this.finishOp(e===61?v.eq:v.prefix,1)};$e.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var i=this.input.charCodeAt(this.pos+2);if(i<48||i>57){return this.finishOp(v.questionDot,2)}}if(t===63){if(e>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61){return this.finishOp(v.assign,3)}}return this.finishOp(v.coalesce,2)}}return this.finishOp(v.question,1)};$e.readToken_numberSign=function(){var e=this.options.ecmaVersion;var t=35;if(e>=13){++this.pos;t=this.fullCharCodeAtPos();if(isIdentifierStart(t,true)||t===92){return this.finishToken(v.privateId,this.readWord1())}}this.raise(this.pos,"Unexpected character '"+codePointToString(t)+"'")};$e.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(v.parenL);case 41:++this.pos;return this.finishToken(v.parenR);case 59:++this.pos;return this.finishToken(v.semi);case 44:++this.pos;return this.finishToken(v.comma);case 91:++this.pos;return this.finishToken(v.bracketL);case 93:++this.pos;return this.finishToken(v.bracketR);case 123:++this.pos;return this.finishToken(v.braceL);case 125:++this.pos;return this.finishToken(v.braceR);case 58:++this.pos;return this.finishToken(v.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(v.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(t===111||t===79){return this.readRadixNumber(8)}if(t===98||t===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(v.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+codePointToString(e)+"'")};$e.finishOp=function(e,t){var i=this.input.slice(this.pos,this.pos+t);this.pos+=t;return this.finishToken(e,i)};$e.readRegexp=function(){var e,t,i=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(i,"Unterminated regular expression")}var r=this.input.charAt(this.pos);if(y.test(r)){this.raise(i,"Unterminated regular expression")}if(!e){if(r==="["){t=true}else if(r==="]"&&t){t=false}else if(r==="/"&&!t){break}e=r==="\\"}else{e=false}++this.pos}var n=this.input.slice(i,this.pos);++this.pos;var s=this.pos;var a=this.readWord1();if(this.containsEsc){this.unexpected(s)}var o=this.regexpState||(this.regexpState=new je(this));o.reset(i,n,a);this.validateRegExpFlags(o);this.validateRegExpPattern(o);var u=null;try{u=new RegExp(n,a)}catch(e){}return this.finishToken(v.regexp,{pattern:n,flags:a,value:u})};$e.readInt=function(e,t,i){var r=this.options.ecmaVersion>=12&&t===undefined;var n=i&&this.input.charCodeAt(this.pos)===48;var s=this.pos,a=0,o=0;for(var u=0,c=t==null?Infinity:t;u<c;++u,++this.pos){var l=this.input.charCodeAt(this.pos),f=void 0;if(r&&l===95){if(n){this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals")}if(o===95){this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore")}if(u===0){this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits")}o=l;continue}if(l>=97){f=l-97+10}else if(l>=65){f=l-65+10}else if(l>=48&&l<=57){f=l-48}else{f=Infinity}if(f>=e){break}o=l;a=a*e+f}if(r&&o===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===s||t!=null&&this.pos-s!==t){return null}return a};function stringToNumber(e,t){if(t){return parseInt(e,8)}return parseFloat(e.replace(/_/g,""))}function stringToBigInt(e){if(typeof BigInt!=="function"){return null}return BigInt(e.replace(/_/g,""))}$e.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var i=this.readInt(e);if(i==null){this.raise(this.start+2,"Expected number in radix "+e)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){i=stringToBigInt(this.input.slice(t,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(v.num,i)};$e.readNumber=function(e){var t=this.pos;if(!e&&this.readInt(10,undefined,true)===null){this.raise(t,"Invalid number")}var i=this.pos-t>=2&&this.input.charCodeAt(t)===48;if(i&&this.strict){this.raise(t,"Invalid number")}var r=this.input.charCodeAt(this.pos);if(!i&&!e&&this.options.ecmaVersion>=11&&r===110){var n=stringToBigInt(this.input.slice(t,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(v.num,n)}if(i&&/[89]/.test(this.input.slice(t,this.pos))){i=false}if(r===46&&!i){++this.pos;this.readInt(10);r=this.input.charCodeAt(this.pos)}if((r===69||r===101)&&!i){r=this.input.charCodeAt(++this.pos);if(r===43||r===45){++this.pos}if(this.readInt(10)===null){this.raise(t,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var s=stringToNumber(this.input.slice(t,this.pos),i);return this.finishToken(v.num,s)};$e.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){if(this.options.ecmaVersion<6){this.unexpected()}var i=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(t>1114111){this.invalidStringToken(i,"Code point out of bounds")}}else{t=this.readHexChar(4)}return t};function codePointToString(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}$e.readString=function(e){var t="",i=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var r=this.input.charCodeAt(this.pos);if(r===e){break}if(r===92){t+=this.input.slice(i,this.pos);t+=this.readEscapedChar(false);i=this.pos}else if(r===8232||r===8233){if(this.options.ecmaVersion<10){this.raise(this.start,"Unterminated string constant")}++this.pos;if(this.options.locations){this.curLine++;this.lineStart=this.pos}}else{if(isNewLine(r)){this.raise(this.start,"Unterminated string constant")}++this.pos}}t+=this.input.slice(i,this.pos++);return this.finishToken(v.string,t)};var Pe={};$e.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(e){if(e===Pe){this.readInvalidTemplateToken()}else{throw e}}this.inTemplateElement=false};$e.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Pe}else{this.raise(e,t)}};$e.readTmplToken=function(){var e="",t=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var i=this.input.charCodeAt(this.pos);if(i===96||i===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===v.template||this.type===v.invalidTemplate)){if(i===36){this.pos+=2;return this.finishToken(v.dollarBraceL)}else{++this.pos;return this.finishToken(v.backQuote)}}e+=this.input.slice(t,this.pos);return this.finishToken(v.template,e)}if(i===92){e+=this.input.slice(t,this.pos);e+=this.readEscapedChar(true);t=this.pos}else if(isNewLine(i)){e+=this.input.slice(t,this.pos);++this.pos;switch(i){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(i);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}t=this.pos}else{++this.pos}}};$e.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++){switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{"){break}case"`":return this.finishToken(v.invalidTemplate,this.input.slice(this.start,this.pos))}}this.raise(this.start,"Unterminated template")};$e.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);++this.pos;switch(t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return codePointToString(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:if(this.options.locations){this.lineStart=this.pos;++this.curLine}return"";case 56:case 57:if(this.strict){this.invalidStringToken(this.pos-1,"Invalid escape sequence")}if(e){var i=this.pos-1;this.invalidStringToken(i,"Invalid escape sequence in template string");return null}default:if(t>=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var n=parseInt(r,8);if(n>255){r=r.slice(0,-1);n=parseInt(r,8)}this.pos+=r.length-1;t=this.input.charCodeAt(this.pos);if((r!=="0"||t===56||t===57)&&(this.strict||e)){this.invalidStringToken(this.pos-1-r.length,e?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode(n)}if(isNewLine(t)){return""}return String.fromCharCode(t)}};$e.readHexChar=function(e){var t=this.pos;var i=this.readInt(16,e);if(i===null){this.invalidStringToken(t,"Bad character escape sequence")}return i};$e.readWord1=function(){this.containsEsc=false;var e="",t=true,i=this.pos;var r=this.options.ecmaVersion>=6;while(this.pos<this.input.length){var n=this.fullCharCodeAtPos();if(isIdentifierChar(n,r)){this.pos+=n<=65535?1:2}else if(n===92){this.containsEsc=true;e+=this.input.slice(i,this.pos);var s=this.pos;if(this.input.charCodeAt(++this.pos)!==117){this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX")}++this.pos;var a=this.readCodePoint();if(!(t?isIdentifierStart:isIdentifierChar)(a,r)){this.invalidStringToken(s,"Invalid Unicode escape")}e+=codePointToString(a);i=this.pos}else{break}t=false}return e+this.input.slice(i,this.pos)};$e.readWord=function(){var e=this.readWord1();var t=v.name;if(this.keywords.test(e)){t=d[e]}return this.finishToken(t,e)};var Fe="8.7.0";z.acorn={Parser:z,version:Fe,defaultOptions:T,Position:A,SourceLocation:k,getLineInfo:getLineInfo,Node:he,TokenType:f,tokTypes:v,keywordTypes:d,TokContext:ne,tokContexts:se,isIdentifierChar:isIdentifierChar,isIdentifierStart:isIdentifierStart,Token:Ie,isNewLine:isNewLine,lineBreak:y,lineBreakG:g,nonASCIIwhitespace:b};function parse(e,t){return z.parse(e,t)}function parseExpressionAt(e,t,i){return z.parseExpressionAt(e,t,i)}function tokenizer(e,t){return z.tokenizer(e,t)}e.Node=he;e.Parser=z;e.Position=A;e.SourceLocation=k;e.TokContext=ne;e.Token=Ie;e.TokenType=f;e.defaultOptions=T;e.getLineInfo=getLineInfo;e.isIdentifierChar=isIdentifierChar;e.isIdentifierStart=isIdentifierStart;e.isNewLine=isNewLine;e.keywordTypes=d;e.lineBreak=y;e.lineBreakG=g;e.nonASCIIwhitespace=b;e.parse=parse;e.parseExpressionAt=parseExpressionAt;e.tokContexts=se;e.tokTypes=v;e.tokenizer=tokenizer;e.version=Fe;Object.defineProperty(e,"__esModule",{value:true})})},31:e=>{"use strict";e.exports=clone;var t=Object.getPrototypeOf||function(e){return e.__proto__};function clone(e){if(e===null||typeof e!=="object")return e;if(e instanceof Object)var i={__proto__:t(e)};else var i=Object.create(null);Object.getOwnPropertyNames(e).forEach(function(t){Object.defineProperty(i,t,Object.getOwnPropertyDescriptor(e,t))});return i}},2029:(e,t,i)=>{var r=i(5747);var n=i(2443);var s=i(4917);var a=i(31);var o=i(1669);var u;var c;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){u=Symbol.for("graceful-fs.queue");c=Symbol.for("graceful-fs.previous")}else{u="___graceful-fs.queue";c="___graceful-fs.previous"}function noop(){}function publishQueue(e,t){Object.defineProperty(e,u,{get:function(){return t}})}var l=noop;if(o.debuglog)l=o.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))l=function(){var e=o.format.apply(o,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: ");console.error(e)};if(!r[u]){var f=global[u]||[];publishQueue(r,f);r.close=function(e){function close(t,i){return e.call(r,t,function(e){if(!e){resetQueue()}if(typeof i==="function")i.apply(this,arguments)})}Object.defineProperty(close,c,{value:e});return close}(r.close);r.closeSync=function(e){function closeSync(t){e.apply(r,arguments);resetQueue()}Object.defineProperty(closeSync,c,{value:e});return closeSync}(r.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",function(){l(r[u]);i(2357).equal(r[u].length,0)})}}if(!global[u]){publishQueue(global,r[u])}e.exports=patch(a(r));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!r.__patched){e.exports=patch(r);r.__patched=true}function patch(e){n(e);e.gracefulify=patch;e.createReadStream=createReadStream;e.createWriteStream=createWriteStream;var t=e.readFile;e.readFile=readFile;function readFile(e,i,r){if(typeof i==="function")r=i,i=null;return go$readFile(e,i,r);function go$readFile(e,i,r,n){return t(e,i,function(t){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))enqueue([go$readFile,[e,i,r],t,n||Date.now(),Date.now()]);else{if(typeof r==="function")r.apply(this,arguments)}})}}var i=e.writeFile;e.writeFile=writeFile;function writeFile(e,t,r,n){if(typeof r==="function")n=r,r=null;return go$writeFile(e,t,r,n);function go$writeFile(e,t,r,n,s){return i(e,t,r,function(i){if(i&&(i.code==="EMFILE"||i.code==="ENFILE"))enqueue([go$writeFile,[e,t,r,n],i,s||Date.now(),Date.now()]);else{if(typeof n==="function")n.apply(this,arguments)}})}}var r=e.appendFile;if(r)e.appendFile=appendFile;function appendFile(e,t,i,n){if(typeof i==="function")n=i,i=null;return go$appendFile(e,t,i,n);function go$appendFile(e,t,i,n,s){return r(e,t,i,function(r){if(r&&(r.code==="EMFILE"||r.code==="ENFILE"))enqueue([go$appendFile,[e,t,i,n],r,s||Date.now(),Date.now()]);else{if(typeof n==="function")n.apply(this,arguments)}})}}var a=e.copyFile;if(a)e.copyFile=copyFile;function copyFile(e,t,i,r){if(typeof i==="function"){r=i;i=0}return go$copyFile(e,t,i,r);function go$copyFile(e,t,i,r,n){return a(e,t,i,function(s){if(s&&(s.code==="EMFILE"||s.code==="ENFILE"))enqueue([go$copyFile,[e,t,i,r],s,n||Date.now(),Date.now()]);else{if(typeof r==="function")r.apply(this,arguments)}})}}var o=e.readdir;e.readdir=readdir;function readdir(e,t,i){if(typeof t==="function")i=t,t=null;return go$readdir(e,t,i);function go$readdir(e,t,i,r){return o(e,t,function(n,s){if(n&&(n.code==="EMFILE"||n.code==="ENFILE"))enqueue([go$readdir,[e,t,i],n,r||Date.now(),Date.now()]);else{if(s&&s.sort)s.sort();if(typeof i==="function")i.call(this,n,s)}})}}if(process.version.substr(0,4)==="v0.8"){var u=s(e);ReadStream=u.ReadStream;WriteStream=u.WriteStream}var c=e.ReadStream;if(c){ReadStream.prototype=Object.create(c.prototype);ReadStream.prototype.open=ReadStream$open}var l=e.WriteStream;if(l){WriteStream.prototype=Object.create(l.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(e,"ReadStream",{get:function(){return ReadStream},set:function(e){ReadStream=e},enumerable:true,configurable:true});Object.defineProperty(e,"WriteStream",{get:function(){return WriteStream},set:function(e){WriteStream=e},enumerable:true,configurable:true});var f=ReadStream;Object.defineProperty(e,"FileReadStream",{get:function(){return f},set:function(e){f=e},enumerable:true,configurable:true});var h=WriteStream;Object.defineProperty(e,"FileWriteStream",{get:function(){return h},set:function(e){h=e},enumerable:true,configurable:true});function ReadStream(e,t){if(this instanceof ReadStream)return c.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var e=this;open(e.path,e.flags,e.mode,function(t,i){if(t){if(e.autoClose)e.destroy();e.emit("error",t)}else{e.fd=i;e.emit("open",i);e.read()}})}function WriteStream(e,t){if(this instanceof WriteStream)return l.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var e=this;open(e.path,e.flags,e.mode,function(t,i){if(t){e.destroy();e.emit("error",t)}else{e.fd=i;e.emit("open",i)}})}function createReadStream(t,i){return new e.ReadStream(t,i)}function createWriteStream(t,i){return new e.WriteStream(t,i)}var p=e.open;e.open=open;function open(e,t,i,r){if(typeof i==="function")r=i,i=null;return go$open(e,t,i,r);function go$open(e,t,i,r,n){return p(e,t,i,function(s,a){if(s&&(s.code==="EMFILE"||s.code==="ENFILE"))enqueue([go$open,[e,t,i,r],s,n||Date.now(),Date.now()]);else{if(typeof r==="function")r.apply(this,arguments)}})}}return e}function enqueue(e){l("ENQUEUE",e[0].name,e[1]);r[u].push(e);retry()}var h;function resetQueue(){var e=Date.now();for(var t=0;t<r[u].length;++t){if(r[u][t].length>2){r[u][t][3]=e;r[u][t][4]=e}}retry()}function retry(){clearTimeout(h);h=undefined;if(r[u].length===0)return;var e=r[u].shift();var t=e[0];var i=e[1];var n=e[2];var s=e[3];var a=e[4];if(s===undefined){l("RETRY",t.name,i);t.apply(null,i)}else if(Date.now()-s>=6e4){l("TIMEOUT",t.name,i);var o=i.pop();if(typeof o==="function")o.call(null,n)}else{var c=Date.now()-a;var f=Math.max(a-s,1);var p=Math.min(f*1.2,100);if(c>=p){l("RETRY",t.name,i);t.apply(null,i.concat([s]))}else{r[u].push(e)}}if(h===undefined){h=setTimeout(retry,0)}}},4917:(e,t,i)=>{var r=i(2413).Stream;e.exports=legacy;function legacy(e){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(t,i){if(!(this instanceof ReadStream))return new ReadStream(t,i);r.call(this);var n=this;this.path=t;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;i=i||{};var s=Object.keys(i);for(var a=0,o=s.length;a<o;a++){var u=s[a];this[u]=i[u]}if(this.encoding)this.setEncoding(this.encoding);if(this.start!==undefined){if("number"!==typeof this.start){throw TypeError("start must be a Number")}if(this.end===undefined){this.end=Infinity}else if("number"!==typeof this.end){throw TypeError("end must be a Number")}if(this.start>this.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick(function(){n._read()});return}e.open(this.path,this.flags,this.mode,function(e,t){if(e){n.emit("error",e);n.readable=false;return}n.fd=t;n.emit("open",t);n._read()})}function WriteStream(t,i){if(!(this instanceof WriteStream))return new WriteStream(t,i);r.call(this);this.path=t;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;i=i||{};var n=Object.keys(i);for(var s=0,a=n.length;s<a;s++){var o=n[s];this[o]=i[o]}if(this.start!==undefined){if("number"!==typeof this.start){throw TypeError("start must be a Number")}if(this.start<0){throw new Error("start must be >= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=e.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},2443:(e,t,i)=>{var r=i(7619);var n=process.cwd;var s=null;var a=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!s)s=n.call(process);return s};try{process.cwd()}catch(e){}if(typeof process.chdir==="function"){var o=process.chdir;process.chdir=function(e){s=null;o.call(process,e)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,o)}e.exports=patch;function patch(e){if(r.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(e)}if(!e.lutimes){patchLutimes(e)}e.chown=chownFix(e.chown);e.fchown=chownFix(e.fchown);e.lchown=chownFix(e.lchown);e.chmod=chmodFix(e.chmod);e.fchmod=chmodFix(e.fchmod);e.lchmod=chmodFix(e.lchmod);e.chownSync=chownFixSync(e.chownSync);e.fchownSync=chownFixSync(e.fchownSync);e.lchownSync=chownFixSync(e.lchownSync);e.chmodSync=chmodFixSync(e.chmodSync);e.fchmodSync=chmodFixSync(e.fchmodSync);e.lchmodSync=chmodFixSync(e.lchmodSync);e.stat=statFix(e.stat);e.fstat=statFix(e.fstat);e.lstat=statFix(e.lstat);e.statSync=statFixSync(e.statSync);e.fstatSync=statFixSync(e.fstatSync);e.lstatSync=statFixSync(e.lstatSync);if(!e.lchmod){e.lchmod=function(e,t,i){if(i)process.nextTick(i)};e.lchmodSync=function(){}}if(!e.lchown){e.lchown=function(e,t,i,r){if(r)process.nextTick(r)};e.lchownSync=function(){}}if(a==="win32"){e.rename=function(t){return function(i,r,n){var s=Date.now();var a=0;t(i,r,function CB(o){if(o&&(o.code==="EACCES"||o.code==="EPERM")&&Date.now()-s<6e4){setTimeout(function(){e.stat(r,function(e,s){if(e&&e.code==="ENOENT")t(i,r,CB);else n(o)})},a);if(a<100)a+=10;return}if(n)n(o)})}}(e.rename)}e.read=function(t){function read(i,r,n,s,a,o){var u;if(o&&typeof o==="function"){var c=0;u=function(l,f,h){if(l&&l.code==="EAGAIN"&&c<10){c++;return t.call(e,i,r,n,s,a,u)}o.apply(this,arguments)}}return t.call(e,i,r,n,s,a,u)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,t);return read}(e.read);e.readSync=function(t){return function(i,r,n,s,a){var o=0;while(true){try{return t.call(e,i,r,n,s,a)}catch(e){if(e.code==="EAGAIN"&&o<10){o++;continue}throw e}}}}(e.readSync);function patchLchmod(e){e.lchmod=function(t,i,n){e.open(t,r.O_WRONLY|r.O_SYMLINK,i,function(t,r){if(t){if(n)n(t);return}e.fchmod(r,i,function(t){e.close(r,function(e){if(n)n(t||e)})})})};e.lchmodSync=function(t,i){var n=e.openSync(t,r.O_WRONLY|r.O_SYMLINK,i);var s=true;var a;try{a=e.fchmodSync(n,i);s=false}finally{if(s){try{e.closeSync(n)}catch(e){}}else{e.closeSync(n)}}return a}}function patchLutimes(e){if(r.hasOwnProperty("O_SYMLINK")){e.lutimes=function(t,i,n,s){e.open(t,r.O_SYMLINK,function(t,r){if(t){if(s)s(t);return}e.futimes(r,i,n,function(t){e.close(r,function(e){if(s)s(t||e)})})})};e.lutimesSync=function(t,i,n){var s=e.openSync(t,r.O_SYMLINK);var a;var o=true;try{a=e.futimesSync(s,i,n);o=false}finally{if(o){try{e.closeSync(s)}catch(e){}}else{e.closeSync(s)}}return a}}else{e.lutimes=function(e,t,i,r){if(r)process.nextTick(r)};e.lutimesSync=function(){}}}function chmodFix(t){if(!t)return t;return function(i,r,n){return t.call(e,i,r,function(e){if(chownErOk(e))e=null;if(n)n.apply(this,arguments)})}}function chmodFixSync(t){if(!t)return t;return function(i,r){try{return t.call(e,i,r)}catch(e){if(!chownErOk(e))throw e}}}function chownFix(t){if(!t)return t;return function(i,r,n,s){return t.call(e,i,r,n,function(e){if(chownErOk(e))e=null;if(s)s.apply(this,arguments)})}}function chownFixSync(t){if(!t)return t;return function(i,r,n){try{return t.call(e,i,r,n)}catch(e){if(!chownErOk(e))throw e}}}function statFix(t){if(!t)return t;return function(i,r,n){if(typeof r==="function"){n=r;r=null}function callback(e,t){if(t){if(t.uid<0)t.uid+=4294967296;if(t.gid<0)t.gid+=4294967296}if(n)n.apply(this,arguments)}return r?t.call(e,i,r,callback):t.call(e,i,callback)}}function statFixSync(t){if(!t)return t;return function(i,r){var n=r?t.call(e,i,r):t.call(e,i);if(n){if(n.uid<0)n.uid+=4294967296;if(n.gid<0)n.gid+=4294967296}return n}}function chownErOk(e){if(!e)return true;if(e.code==="ENOSYS")return true;var t=!process.getuid||process.getuid()!==0;if(t){if(e.code==="EINVAL"||e.code==="EPERM")return true}return false}}},1189:(e,t,i)=>{"use strict";const r=i(1669);const n=i(538);const s=i(9138);const a=i(2924);const o=e=>typeof e==="string"&&(e===""||e==="./");const u=(e,t,i)=>{t=[].concat(t);e=[].concat(e);let r=new Set;let n=new Set;let a=new Set;let o=0;let u=e=>{a.add(e.output);if(i&&i.onResult){i.onResult(e)}};for(let a=0;a<t.length;a++){let c=s(String(t[a]),{...i,onResult:u},true);let l=c.state.negated||c.state.negatedExtglob;if(l)o++;for(let t of e){let e=c(t,true);let i=l?!e.isMatch:e.isMatch;if(!i)continue;if(l){r.add(e.output)}else{r.delete(e.output);n.add(e.output)}}}let c=o===t.length?[...a]:[...n];let l=c.filter(e=>!r.has(e));if(i&&l.length===0){if(i.failglob===true){throw new Error(`No matches found for "${t.join(", ")}"`)}if(i.nonull===true||i.nullglob===true){return i.unescape?t.map(e=>e.replace(/\\/g,"")):t}}return l};u.match=u;u.matcher=((e,t)=>s(e,t));u.isMatch=((e,t,i)=>s(t,i)(e));u.any=u.isMatch;u.not=((e,t,i={})=>{t=[].concat(t).map(String);let r=new Set;let n=[];let s=e=>{if(i.onResult)i.onResult(e);n.push(e.output)};let a=u(e,t,{...i,onResult:s});for(let e of n){if(!a.includes(e)){r.add(e)}}return[...r]});u.contains=((e,t,i)=>{if(typeof e!=="string"){throw new TypeError(`Expected a string: "${r.inspect(e)}"`)}if(Array.isArray(t)){return t.some(t=>u.contains(e,t,i))}if(typeof t==="string"){if(o(e)||o(t)){return false}if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t)){return true}}return u.isMatch(e,t,{...i,contains:true})});u.matchKeys=((e,t,i)=>{if(!a.isObject(e)){throw new TypeError("Expected the first argument to be an object")}let r=u(Object.keys(e),t,i);let n={};for(let t of r)n[t]=e[t];return n});u.some=((e,t,i)=>{let r=[].concat(e);for(let e of[].concat(t)){let t=s(String(e),i);if(r.some(e=>t(e))){return true}}return false});u.every=((e,t,i)=>{let r=[].concat(e);for(let e of[].concat(t)){let t=s(String(e),i);if(!r.every(e=>t(e))){return false}}return true});u.all=((e,t,i)=>{if(typeof e!=="string"){throw new TypeError(`Expected a string: "${r.inspect(e)}"`)}return[].concat(t).every(t=>s(t,i)(e))});u.capture=((e,t,i)=>{let r=a.isWindows(i);let n=s.makeRe(String(e),{...i,capture:true});let o=n.exec(r?a.toPosixSlashes(t):t);if(o){return o.slice(1).map(e=>e===void 0?"":e)}});u.makeRe=((...e)=>s.makeRe(...e));u.scan=((...e)=>s.scan(...e));u.parse=((e,t)=>{let i=[];for(let r of[].concat(e||[])){for(let e of n(String(r),t)){i.push(s.parse(e,t))}}return i});u.braces=((e,t)=>{if(typeof e!=="string")throw new TypeError("Expected a string");if(t&&t.nobrace===true||!/\{.*\}/.test(e)){return[e]}return n(e,t)});u.braceExpand=((e,t)=>{if(typeof e!=="string")throw new TypeError("Expected a string");return u.braces(e,{...t,expand:true})});e.exports=u},8827:function(e,t,i){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const n=r(i(5622));const s=i(7586);const a=i(5401);const o=i(875);const u=r(i(5706));const c=i(5078);const l=r(i(3700));const f=i(7468);const h=i(2774);const p=i(216);const d=r(i(5735));const v=r(i(2278));const y=r(i(3277));const g=r(i(111));const b=i(8835);const m=i(7488).asyncWalk;const _=o.Parser.extend();const w=r(i(2087));const E=i(2005);const S=r(i(2753));const x={cwd:()=>{return U},env:{NODE_ENV:a.UNKNOWN,[a.UNKNOWN]:true},[a.UNKNOWN]:true};const R=Symbol();const A=Symbol();const k=Symbol();const T=Symbol();const C=Symbol();const O=Symbol();const N=Symbol();const j=Symbol();const I=Symbol();const $={access:O,accessSync:O,createReadStream:O,exists:O,existsSync:O,fstat:O,fstatSync:O,lstat:O,lstatSync:O,open:O,readdir:N,readdirSync:N,readFile:O,readFileSync:O,stat:O,statSync:O};const P=Object.assign(Object.create(null),{bindings:{default:j},express:{default:function(){return{[a.UNKNOWN]:true,set:R,engine:A}}},fs:Object.assign({default:$},$),process:Object.assign({default:x},x),path:{default:{}},os:Object.assign({default:w.default},w.default),"@mapbox/node-pre-gyp":Object.assign({default:g.default},g.default),"node-pre-gyp":h.pregyp,"node-pre-gyp/lib/pre-binding":h.pregyp,"node-pre-gyp/lib/pre-binding.js":h.pregyp,"node-gyp-build":{default:I},nbind:{init:k,default:{init:k}},"resolve-from":{default:S.default},"strong-globalize":{default:{SetRootDir:T},SetRootDir:T},pkginfo:{default:C}});const F={_interopRequireDefault:p.normalizeDefaultRequire,_interopRequireWildcard:p.normalizeWildcardRequire,__importDefault:p.normalizeDefaultRequire,__importStar:p.normalizeWildcardRequire,MONGOOSE_DRIVER_PATH:undefined,URL:b.URL,Object:{assign:Object.assign}};F.global=F.GLOBAL=F.globalThis=F;const L=Symbol();h.pregyp.find[L]=true;const B=P.path;Object.keys(n.default).forEach(e=>{const t=n.default[e];if(typeof t==="function"){const i=function mockPath(){return t.apply(mockPath,arguments)};i[L]=true;B[e]=B.default[e]=i}else{B[e]=B.default[e]=t}});B.resolve=B.default.resolve=function(...e){return n.default.resolve.apply(this,[U,...e])};B.resolve[L]=true;const D=new Set([".h",".cmake",".c",".cpp"]);const H=new Set(["CHANGELOG.md","README.md","readme.md","changelog.md"]);let U;const W=/^\/[^\/]+|^[a-z]:[\\/][^\\/]+/i;function isAbsolutePathOrUrl(e){if(e instanceof b.URL)return e.protocol==="file:";if(typeof e==="string"){if(e.startsWith("file:")){try{new b.URL(e);return true}catch(e){return false}}return W.test(e)}return false}const q=Symbol();const G=/([\/\\]\*\*[\/\\]\*)+/g;async function analyze(e,t,i){const r=new Set;const o=new Set;const p=new Set;const g=n.default.dirname(e);U=i.cwd;const w=f.getPackageBase(e);const $=e=>{if(!i.analysis.emitGlobs)return;const t=e.indexOf(a.WILDCARD);const s=t===-1?e.length:e.lastIndexOf(n.default.sep,t);const o=e.substring(0,s);const u=e.slice(s);const c=u.replace(a.wildcardRegEx,(e,t)=>{return u[t-1]===n.default.sep?"**/*":"*"}).replace(G,"/**/*")||"/**/*";if(i.ignoreFn(n.default.relative(i.base,o+c)))return;B=B.then(async()=>{if(i.log)console.log("Globbing "+o+c);const e=await new Promise((e,t)=>l.default(o+c,{mark:true,ignore:o+"/**/node_modules/**/*"},(i,r)=>i?t(i):e(r)));e.filter(e=>!D.has(n.default.extname(e))&&!H.has(n.default.basename(e))&&!e.endsWith("/")).forEach(e=>r.add(e))})};let B=Promise.resolve();t=t.replace(/^#![^\n\r]*[\r\n]/,"");let V;let z=false;try{V=_.parse(t,{ecmaVersion:"latest",allowReturnOutsideFunction:true});z=false}catch(t){const r=t&&t.message&&t.message.includes("sourceType: module");if(!r){i.warnings.add(new Error(`Failed to parse ${e} as script:\n${t&&t.message}`))}}if(!V){try{V=_.parse(t,{ecmaVersion:"latest",sourceType:"module",allowAwaitOutsideFunction:true});z=true}catch(t){i.warnings.add(new Error(`Failed to parse ${e} as module:\n${t&&t.message}`));return{assets:r,deps:o,imports:p,isESM:false}}}const M=b.pathToFileURL(e).href;const X=Object.assign(Object.create(null),{__dirname:{shadowDepth:0,value:{value:n.default.resolve(e,"..")}},__filename:{shadowDepth:0,value:{value:e}},process:{shadowDepth:0,value:{value:x}}});if(!z||i.mixedModules){X.require={shadowDepth:0,value:{value:{[a.FUNCTION](e){o.add(e);const t=P[e.startsWith("node:")?e.slice(5):e];return t.default},resolve(t){return v.default(t,e,i)}}}};X.require.value.value.resolve[L]=true}function setKnownBinding(e,t){if(e==="require")return;X[e]={shadowDepth:0,value:t}}function getKnownBinding(e){const t=X[e];if(t){if(t.shadowDepth===0){return t.value}}return undefined}function hasKnownBindingValue(e){const t=X[e];return t&&t.shadowDepth===0}if((z||i.mixedModules)&&isAst(V)){for(const e of V.body){if(e.type==="ImportDeclaration"){const t=String(e.source.value);o.add(t);const i=P[t.startsWith("node:")?t.slice(5):t];if(i){for(const t of e.specifiers){if(t.type==="ImportNamespaceSpecifier")setKnownBinding(t.local.name,{value:i});else if(t.type==="ImportDefaultSpecifier"&&"default"in i)setKnownBinding(t.local.name,{value:i.default});else if(t.type==="ImportSpecifier"&&t.imported.name in i)setKnownBinding(t.local.name,{value:i[t.imported.name]})}}}else if(e.type==="ExportNamedDeclaration"||e.type==="ExportAllDeclaration"){if(e.source)o.add(String(e.source.value))}}}async function computePureStaticValue(e,t=true){const i=Object.create(null);Object.keys(F).forEach(e=>{i[e]={value:F[e]}});Object.keys(X).forEach(e=>{i[e]=getKnownBinding(e)});i["import.meta"]={url:M};const r=await a.evaluate(e,i,t);return r}let K;let Y;let Q=false;function emitWildcardRequire(e){if(!i.analysis.emitGlobs||!e.startsWith("./")&&!e.startsWith("../"))return;e=n.default.resolve(g,e);const t=e.indexOf(a.WILDCARD);const s=t===-1?e.length:e.lastIndexOf(n.default.sep,t);const o=e.substring(0,s);const u=e.slice(s);let c=u.replace(a.wildcardRegEx,(e,t)=>{return u[t-1]===n.default.sep?"**/*":"*"})||"/**/*";if(!c.endsWith("*"))c+="?("+(i.ts?".ts|.tsx|":"")+".js|.json|.node)";if(i.ignoreFn(n.default.relative(i.base,o+c)))return;B=B.then(async()=>{if(i.log)console.log("Globbing "+o+c);const e=await new Promise((e,t)=>l.default(o+c,{mark:true,ignore:o+"/**/node_modules/**/*"},(i,r)=>i?t(i):e(r)));e.filter(e=>!D.has(n.default.extname(e))&&!H.has(n.default.basename(e))&&!e.endsWith("/")).forEach(e=>r.add(e))})}async function processRequireArg(e,t=false){if(e.type==="ConditionalExpression"){await processRequireArg(e.consequent,t);await processRequireArg(e.alternate,t);return}if(e.type==="LogicalExpression"){await processRequireArg(e.left,t);await processRequireArg(e.right,t);return}let i=await computePureStaticValue(e,true);if(!i)return;if("value"in i&&typeof i.value==="string"){if(!i.wildcards)(t?p:o).add(i.value);else if(i.wildcards.length>=1)emitWildcardRequire(i.value)}else{if("then"in i&&typeof i.then==="string")(t?p:o).add(i.then);if("else"in i&&typeof i.else==="string")(t?p:o).add(i.else)}}let J=s.attachScopes(V,"scope");if(isAst(V)){E.handleWrappers(V);await d.default({id:e,ast:V,emitAsset:e=>r.add(e),emitAssetDirectory:$,job:i})}async function backtrack(e,t){if(!K)throw new Error("Internal error: No staticChildNode for backtrack.");const i=await computePureStaticValue(e,true);if(i){if("value"in i&&typeof i.value!=="symbol"||"then"in i&&typeof i.then!=="symbol"&&typeof i.else!=="symbol"){Y=i;K=e;if(t)t.skip();return}}await emitStaticChildAsset()}await m(V,{async enter(t,s){var a;const l=t;const f=s;if(l.scope){J=l.scope;for(const e in l.scope.declarations){if(e in X)X[e].shadowDepth++}}if(K)return;if(!f)return;if(l.type==="Identifier"){if(c.isIdentifierRead(l,f)&&i.analysis.computeFileReferences){let e;if(typeof(e=(a=getKnownBinding(l.name))===null||a===void 0?void 0:a.value)==="string"&&e.match(W)||e&&(typeof e==="function"||typeof e==="object")&&e[L]){Y={value:typeof e==="string"?e:undefined};K=l;await backtrack(f,this)}}}else if(i.analysis.computeFileReferences&&l.type==="MemberExpression"&&l.object.type==="MetaProperty"&&l.object.meta.name==="import"&&l.object.property.name==="meta"&&(l.property.computed?l.property.value:l.property.name)==="url"){Y={value:M};K=l;await backtrack(f,this)}else if(l.type==="ImportExpression"){await processRequireArg(l.source,true);return}else if(l.type==="CallExpression"){if((!z||i.mixedModules)&&l.callee.type==="Identifier"&&l.arguments.length){if(l.callee.name==="require"&&X.require.shadowDepth===0){await processRequireArg(l.arguments[0]);return}}else if((!z||i.mixedModules)&&l.callee.type==="MemberExpression"&&l.callee.object.type==="Identifier"&&l.callee.object.name==="module"&&"module"in X===false&&l.callee.property.type==="Identifier"&&!l.callee.computed&&l.callee.property.name==="require"&&l.arguments.length){await processRequireArg(l.arguments[0]);return}const t=i.analysis.evaluatePureExpressions&&await computePureStaticValue(l.callee,false);if(t&&"value"in t&&typeof t.value==="function"&&t.value[L]&&i.analysis.computeFileReferences){Y=await computePureStaticValue(l,true);if(Y&&f){K=l;await backtrack(f,this)}}else if(t&&"value"in t&&typeof t.value==="symbol"){switch(t.value){case q:if(l.arguments.length===1&&l.arguments[0].type==="Literal"&&l.callee.type==="Identifier"&&X.require.shadowDepth===0){await processRequireArg(l.arguments[0])}break;case j:if(l.arguments.length){const e=await computePureStaticValue(l.arguments[0],false);if(e&&"value"in e&&e.value){let t;if(typeof e.value==="object")t=e.value;else if(typeof e.value==="string")t={bindings:e.value};if(!t.path){t.path=true}t.module_root=w;let i;try{i=u.default(t)}catch(e){}if(i){Y={value:i};K=l;await emitStaticChildAsset()}}}break;case I:if(l.arguments.length===1&&l.arguments[0].type==="Identifier"&&l.arguments[0].name==="__dirname"&&X.__dirname.shadowDepth===0){let e;try{const t=S.default(g,"node-gyp-build");e=require(t).path(g)}catch(t){try{e=y.default.path(g)}catch(e){}}if(e){Y={value:e};K=l;await emitStaticChildAsset()}}break;case k:if(l.arguments.length){const e=await computePureStaticValue(l.arguments[0],false);if(e&&"value"in e&&(typeof e.value==="string"||typeof e.value==="undefined")){const t=h.nbind(e.value);if(t&&t.path){o.add(n.default.relative(g,t.path).replace(/\\/g,"/"));return this.skip()}}}break;case R:if(l.arguments.length===2&&l.arguments[0].type==="Literal"&&l.arguments[0].value==="view engine"&&!Q){await processRequireArg(l.arguments[1]);return this.skip()}break;case A:Q=true;break;case O:case N:if(l.arguments[0]&&i.analysis.computeFileReferences){Y=await computePureStaticValue(l.arguments[0],true);if(Y){K=l.arguments[0];if(t.value===N&&l.arguments[0].type==="Identifier"&&l.arguments[0].name==="__dirname"){$(g)}else{await backtrack(f,this)}return this.skip()}}break;case T:if(l.arguments[0]){const e=await computePureStaticValue(l.arguments[0],false);if(e&&"value"in e&&e.value)$(e.value+"/intl");return this.skip()}break;case C:let s=n.default.resolve(e,"../package.json");const a=n.default.resolve("/package.json");while(s!==a&&await i.stat(s)===null)s=n.default.resolve(s,"../../package.json");if(s!==a)r.add(s);break}}}else if(l.type==="VariableDeclaration"&&f&&!c.isVarLoop(f)&&i.analysis.evaluatePureExpressions){for(const e of l.declarations){if(!e.init)continue;const t=await computePureStaticValue(e.init,true);if(t){if(e.id.type==="Identifier"){setKnownBinding(e.id.name,t)}else if(e.id.type==="ObjectPattern"&&"value"in t){for(const i of e.id.properties){if(i.type!=="Property"||i.key.type!=="Identifier"||i.value.type!=="Identifier"||typeof t.value!=="object"||t.value===null||!(i.key.name in t.value))continue;setKnownBinding(i.value.name,{value:t.value[i.key.name]})}}if(!("value"in t)&&isAbsolutePathOrUrl(t.then)&&isAbsolutePathOrUrl(t.else)){Y=t;K=e.init;await emitStaticChildAsset()}}}}else if(l.type==="AssignmentExpression"&&f&&!c.isLoop(f)&&i.analysis.evaluatePureExpressions){if(!hasKnownBindingValue(l.left.name)){const e=await computePureStaticValue(l.right,false);if(e&&"value"in e){if(l.left.type==="Identifier"){setKnownBinding(l.left.name,e)}else if(l.left.type==="ObjectPattern"){for(const t of l.left.properties){if(t.type!=="Property"||t.key.type!=="Identifier"||t.value.type!=="Identifier"||typeof e.value!=="object"||e.value===null||!(t.key.name in e.value))continue;setKnownBinding(t.value.name,{value:e.value[t.key.name]})}}if(isAbsolutePathOrUrl(e.value)){Y=e;K=l.right;await emitStaticChildAsset()}}}}else if((!z||i.mixedModules)&&(l.type==="FunctionDeclaration"||l.type==="FunctionExpression"||l.type==="ArrowFunctionExpression")&&(l.arguments||l.params)[0]&&(l.arguments||l.params)[0].type==="Identifier"){let e;let t;if((l.type==="ArrowFunctionExpression"||l.type==="FunctionExpression")&&f&&f.type==="VariableDeclarator"&&f.id.type==="Identifier"){e=f.id;t=l.arguments||l.params}else if(l.id){e=l.id;t=l.arguments||l.params}if(e&&l.body.body){let i,r=false;for(let e=0;e<l.body.body.length;e++){if(l.body.body[e].type==="VariableDeclaration"&&!i){i=l.body.body[e].declarations.find(e=>e&&e.id&&e.id.type==="Identifier"&&e.init&&e.init.type==="CallExpression"&&e.init.callee.type==="Identifier"&&e.init.callee.name==="require"&&X.require.shadowDepth===0&&e.init.arguments[0]&&e.init.arguments[0].type==="Identifier"&&e.init.arguments[0].name===t[0].name)}if(i&&l.body.body[e].type==="ReturnStatement"&&l.body.body[e].argument&&l.body.body[e].argument.type==="Identifier"&&l.body.body[e].argument.name===i.id.name){r=true;break}}if(r)setKnownBinding(e.name,{value:q})}}},async leave(e,t){const i=e;const r=t;if(i.scope){if(J.parent){J=J.parent}for(const e in i.scope.declarations){if(e in X){if(X[e].shadowDepth>0)X[e].shadowDepth--;else delete X[e]}}}if(K&&r)await backtrack(r,this)}});await B;return{assets:r,deps:o,imports:p,isESM:z};async function emitAssetPath(e){const t=e.indexOf(a.WILDCARD);const s=t===-1?e.length:e.lastIndexOf(n.default.sep,t);const o=e.substring(0,s);try{var u=await i.stat(o);if(u===null){throw new Error("file not found")}}catch(e){return}if(t!==-1&&u.isFile())return;if(u.isFile()){r.add(e)}else if(u.isDirectory()){if(validWildcard(e))$(e)}}function validWildcard(t){let r="";if(t.endsWith(n.default.sep))r=n.default.sep;else if(t.endsWith(n.default.sep+a.WILDCARD))r=n.default.sep+a.WILDCARD;else if(t.endsWith(a.WILDCARD))r=a.WILDCARD;if(t===g+r)return false;if(t===U+r)return false;if(t.endsWith(n.default.sep+"node_modules"+r))return false;if(g.startsWith(t.slice(0,t.length-r.length)+n.default.sep))return false;if(w){const r=e.substring(0,e.indexOf(n.default.sep+"node_modules"))+n.default.sep+"node_modules"+n.default.sep;if(!t.startsWith(r)){if(i.log)console.log("Skipping asset emission of "+t.replace(a.wildcardRegEx,"*")+" for "+e+" as it is outside the package base "+w);return false}}return true}function resolveAbsolutePathOrUrl(e){return e instanceof b.URL?b.fileURLToPath(e):e.startsWith("file:")?b.fileURLToPath(new b.URL(e)):n.default.resolve(e)}async function emitStaticChildAsset(){if(!Y){return}if("value"in Y&&isAbsolutePathOrUrl(Y.value)){try{const e=resolveAbsolutePathOrUrl(Y.value);await emitAssetPath(e)}catch(e){}}else if("then"in Y&&"else"in Y&&isAbsolutePathOrUrl(Y.then)&&isAbsolutePathOrUrl(Y.else)){let e;try{e=resolveAbsolutePathOrUrl(Y.then)}catch(e){}let t;try{t=resolveAbsolutePathOrUrl(Y.else)}catch(e){}if(e)await emitAssetPath(e);if(t)await emitAssetPath(t)}else if(K&&K.type==="ArrayExpression"&&"value"in Y&&Y.value instanceof Array){for(const e of Y.value){try{const t=resolveAbsolutePathOrUrl(e);await emitAssetPath(t)}catch(e){}}}K=Y=undefined}}t.default=analyze;function isAst(e){return"body"in e}},9582:function(e,t,i){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,i,r){if(r===undefined)r=i;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,r){if(r===undefined)r=i;e[r]=t[i]});var n=this&&this.__exportStar||function(e,t){for(var i in e)if(i!=="default"&&!t.hasOwnProperty(i))r(t,e,i)};Object.defineProperty(t,"__esModule",{value:true});n(i(3864),t);var s=i(3471);Object.defineProperty(t,"nodeFileTrace",{enumerable:true,get:function(){return s.nodeFileTrace}})},3471:function(e,t,i){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.Job=t.nodeFileTrace=void 0;const n=i(5622);const s=r(i(2029));const a=r(i(8827));const o=r(i(2278));const u=i(1189);const c=i(2985);const l=i(5622);const f=s.default.promises.readFile;const h=s.default.promises.readlink;const p=s.default.promises.stat;function inPath(e,t){const i=l.join(t,n.sep);return e.startsWith(i)&&e!==i}async function nodeFileTrace(e,t={}){const i=new Job(t);if(t.readFile)i.readFile=t.readFile;if(t.stat)i.stat=t.stat;if(t.readlink)i.readlink=t.readlink;if(t.resolve)i.resolve=t.resolve;i.ts=true;await Promise.all(e.map(async e=>{const t=n.resolve(e);await i.emitFile(t,"initial");if(t.endsWith(".js")||t.endsWith(".cjs")||t.endsWith(".mjs")||t.endsWith(".node")||i.ts&&(t.endsWith(".ts")||t.endsWith(".tsx"))){return i.emitDependency(t)}return undefined}));const r={fileList:i.fileList,esmFileList:i.esmFileList,reasons:i.reasons,warnings:i.warnings};return r}t.nodeFileTrace=nodeFileTrace;class Job{constructor({base:e=process.cwd(),processCwd:t,exports:i,conditions:r=i||["node"],exportsOnly:s=false,paths:a={},ignore:o,log:c=false,mixedModules:l=false,ts:f=true,analysis:h={},cache:p}){this.reasons=new Map;this.ts=f;e=n.resolve(e);this.ignoreFn=(e=>{if(e.startsWith(".."+n.sep))return true;return false});if(typeof o==="string")o=[o];if(typeof o==="function"){const e=o;this.ignoreFn=(t=>{if(t.startsWith(".."+n.sep))return true;if(e(t))return true;return false})}else if(Array.isArray(o)){const t=o.map(t=>n.relative(e,n.resolve(e||process.cwd(),t)));this.ignoreFn=(e=>{if(e.startsWith(".."+n.sep))return true;if(u.isMatch(e,t))return true;return false})}this.base=e;this.cwd=n.resolve(t||e);this.conditions=r;this.exportsOnly=s;const d={};for(const t of Object.keys(a)){const i=a[t].endsWith("/");const r=n.resolve(e,a[t]);d[t]=r+(i?"/":"")}this.paths=d;this.log=c;this.mixedModules=l;this.analysis={};if(h!==false){Object.assign(this.analysis,{emitGlobs:true,computeFileReferences:true,evaluatePureExpressions:true},h===true?{}:h)}this.fileCache=p&&p.fileCache||new Map;this.statCache=p&&p.statCache||new Map;this.symlinkCache=p&&p.symlinkCache||new Map;this.analysisCache=p&&p.analysisCache||new Map;if(p){p.fileCache=this.fileCache;p.statCache=this.statCache;p.symlinkCache=this.symlinkCache;p.analysisCache=this.analysisCache}this.fileList=new Set;this.esmFileList=new Set;this.processed=new Set;this.warnings=new Set}async readlink(e){const t=this.symlinkCache.get(e);if(t!==undefined)return t;try{const t=await h(e);const i=this.statCache.get(e);if(i)this.statCache.set(n.resolve(e,t),i);this.symlinkCache.set(e,t);return t}catch(t){if(t.code!=="EINVAL"&&t.code!=="ENOENT"&&t.code!=="UNKNOWN")throw t;this.symlinkCache.set(e,null);return null}}async isFile(e){const t=await this.stat(e);if(t)return t.isFile();return false}async isDir(e){const t=await this.stat(e);if(t)return t.isDirectory();return false}async stat(e){const t=this.statCache.get(e);if(t)return t;try{const t=await p(e);this.statCache.set(e,t);return t}catch(t){if(t.code==="ENOENT"){this.statCache.set(e,null);return null}throw t}}async resolve(e,t,i,r){return o.default(e,t,i,r)}async readFile(e){const t=this.fileCache.get(e);if(t!==undefined)return t;try{const t=(await f(e)).toString();this.fileCache.set(e,t);return t}catch(t){if(t.code==="ENOENT"||t.code==="EISDIR"){this.fileCache.set(e,null);return null}throw t}}async realpath(e,t,i=new Set){if(i.has(e))throw new Error("Recursive symlink detected resolving "+e);i.add(e);const r=await this.readlink(e);if(r){const s=n.dirname(e);const a=n.resolve(s,r);const o=await this.realpath(s,t);if(inPath(e,o))await this.emitFile(e,"resolve",t,true);return this.realpath(a,t,i)}if(!inPath(e,this.base))return e;return l.join(await this.realpath(n.dirname(e),t,i),n.basename(e))}async emitFile(e,t,i,r=false){if(!r){e=await this.realpath(e,i)}e=n.relative(this.base,e);if(i){i=n.relative(this.base,i)}let s=this.reasons.get(e);if(!s){s={type:[t],ignored:false,parents:new Set};this.reasons.set(e,s)}else if(!s.type.includes(t)){s.type.push(t)}if(i&&this.ignoreFn(e,i)){if(!this.fileList.has(e)&&s){s.ignored=true}return false}if(i){s.parents.add(i)}this.fileList.add(e);return true}async getPjsonBoundary(e){const t=e.indexOf(n.sep);let i;while((i=e.lastIndexOf(n.sep))>t){e=e.slice(0,i);if(await this.isFile(e+n.sep+"package.json"))return e}return undefined}async emitDependency(e,t){if(this.processed.has(e)){if(t){await this.emitFile(e,"dependency",t)}return}this.processed.add(e);const i=await this.emitFile(e,"dependency",t);if(!i)return;if(e.endsWith(".json"))return;if(e.endsWith(".node"))return await c.sharedLibEmit(e,this);if(e.endsWith(".js")){const t=await this.getPjsonBoundary(e);if(t)await this.emitFile(t+n.sep+"package.json","resolve",e)}let r;const s=this.analysisCache.get(e);if(s){r=s}else{const t=await this.readFile(e);if(t===null)throw new Error("File "+e+" does not exist.");r=await a.default(e,t.toString(),this);this.analysisCache.set(e,r)}const{deps:o,imports:u,assets:l,isESM:f}=r;if(f)this.esmFileList.add(n.relative(this.base,e));await Promise.all([...[...l].map(async t=>{const i=n.extname(t);if(i===".js"||i===".mjs"||i===".node"||i===""||this.ts&&(i===".ts"||i===".tsx")&&t.startsWith(this.base)&&t.slice(this.base.length).indexOf(n.sep+"node_modules"+n.sep)===-1)await this.emitDependency(t,e);else await this.emitFile(t,"asset",e)}),...[...o].map(async t=>{try{var i=await this.resolve(t,e,this,!f)}catch(e){this.warnings.add(new Error(`Failed to resolve dependency ${t}:\n${e&&e.message}`));return}if(Array.isArray(i)){for(const t of i){if(t.startsWith("node:"))return;await this.emitDependency(t,e)}}else{if(i.startsWith("node:"))return;await this.emitDependency(i,e)}}),...[...u].map(async t=>{try{var i=await this.resolve(t,e,this,false)}catch(e){this.warnings.add(new Error(`Failed to resolve dependency ${t}:\n${e&&e.message}`));return}if(Array.isArray(i)){for(const t of i){if(t.startsWith("node:"))return;await this.emitDependency(t,e)}}else{if(i.startsWith("node:"))return;await this.emitDependency(i,e)}})])}}t.Job=Job},2278:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r=i(5622);async function resolveDependency(e,t,i,n=true){let s;if(r.isAbsolute(e)||e==="."||e===".."||e.startsWith("./")||e.startsWith("../")){const n=e.endsWith("/");s=await resolvePath(r.resolve(t,"..",e)+(n?"/":""),t,i)}else if(e[0]==="#"){s=await packageImportsResolve(e,t,i,n)}else{s=await resolvePackage(e,t,i,n)}if(Array.isArray(s)){return Promise.all(s.map(e=>i.realpath(e,t)))}else if(s.startsWith("node:")){return s}else{return i.realpath(s,t)}}t.default=resolveDependency;async function resolvePath(e,t,i){const r=await resolveFile(e,t,i)||await resolveDir(e,t,i);if(!r){throw new NotFoundError(e,t)}return r}async function resolveFile(e,t,i){if(e.endsWith("/"))return undefined;e=await i.realpath(e,t);if(await i.isFile(e))return e;if(i.ts&&e.startsWith(i.base)&&e.slice(i.base.length).indexOf(r.sep+"node_modules"+r.sep)===-1&&await i.isFile(e+".ts"))return e+".ts";if(i.ts&&e.startsWith(i.base)&&e.slice(i.base.length).indexOf(r.sep+"node_modules"+r.sep)===-1&&await i.isFile(e+".tsx"))return e+".tsx";if(await i.isFile(e+".js"))return e+".js";if(await i.isFile(e+".json"))return e+".json";if(await i.isFile(e+".node"))return e+".node";return undefined}async function resolveDir(e,t,i){if(e.endsWith("/"))e=e.slice(0,-1);if(!await i.isDir(e))return;const n=await getPkgCfg(e,i);if(n&&typeof n.main==="string"){const s=await resolveFile(r.resolve(e,n.main),t,i)||await resolveFile(r.resolve(e,n.main,"index"),t,i);if(s){await i.emitFile(e+r.sep+"package.json","resolve",t);return s}}return resolveFile(r.resolve(e,"index"),t,i)}class NotFoundError extends Error{constructor(e,t){super("Cannot find module '"+e+"' loaded from "+t);this.code="MODULE_NOT_FOUND"}}const n=new Set([...i(8027)._builtinLibs,"constants","module","timers","console","_stream_writable","_stream_readable","_stream_duplex","process","sys"]);function getPkgName(e){const t=e.split("/");if(e[0]==="@"&&t.length>1)return t.length>1?t.slice(0,2).join("/"):null;return t.length?t[0]:null}async function getPkgCfg(e,t){const i=await t.readFile(e+r.sep+"package.json");if(i){try{return JSON.parse(i.toString())}catch(e){}}return undefined}function getExportsTarget(e,t,i){if(typeof e==="string"){return e}else if(e===null){return e}else if(Array.isArray(e)){for(const r of e){const e=getExportsTarget(r,t,i);if(e===null||typeof e==="string"&&e.startsWith("./"))return e}}else if(typeof e==="object"){for(const r of Object.keys(e)){if(r==="default"||r==="require"&&i||r==="import"&&!i||t.includes(r)){const n=getExportsTarget(e[r],t,i);if(n!==undefined)return n}}}return undefined}function resolveExportsImports(e,t,i,r,n,s){let a;if(n){if(!(typeof t==="object"&&!Array.isArray(t)&&t!==null))return undefined;a=t}else if(typeof t==="string"||Array.isArray(t)||t===null||typeof t==="object"&&Object.keys(t).length&&Object.keys(t)[0][0]!=="."){a={".":t}}else{a=t}if(i in a){const t=getExportsTarget(a[i],r.conditions,s);if(typeof t==="string"&&t.startsWith("./"))return e+t.slice(1)}for(const t of Object.keys(a).sort((e,t)=>t.length-e.length)){if(t.endsWith("*")&&i.startsWith(t.slice(0,-1))){const n=getExportsTarget(a[t],r.conditions,s);if(typeof n==="string"&&n.startsWith("./"))return e+n.slice(1).replace(/\*/g,i.slice(t.length-1))}if(!t.endsWith("/"))continue;if(i.startsWith(t)){const n=getExportsTarget(a[t],r.conditions,s);if(typeof n==="string"&&n.endsWith("/")&&n.startsWith("./"))return e+n.slice(1)+i.slice(t.length)}}return undefined}async function packageImportsResolve(e,t,i,n){if(e!=="#"&&!e.startsWith("#/")&&i.conditions){const s=await i.getPjsonBoundary(t);if(s){const a=await getPkgCfg(s,i);const{imports:o}=a||{};if(a&&o!==null&&o!==undefined){let a=resolveExportsImports(s,o,e,i,true,n);if(a){if(n)a=await resolveFile(a,t,i)||await resolveDir(a,t,i);else if(!await i.isFile(a))throw new NotFoundError(a,t);if(a){await i.emitFile(s+r.sep+"package.json","resolve",t);return a}}}}}throw new NotFoundError(e,t)}async function resolvePackage(e,t,i,s){let a=t;if(n.has(e))return"node:"+e;if(e.startsWith("node:"))return e;const o=getPkgName(e)||"";let u;if(i.conditions){const n=await i.getPjsonBoundary(t);if(n){const a=await getPkgCfg(n,i);const{exports:c}=a||{};if(a&&a.name&&a.name===o&&c!==null&&c!==undefined){u=resolveExportsImports(n,c,"."+e.slice(o.length),i,false,s);if(u){if(s)u=await resolveFile(u,t,i)||await resolveDir(u,t,i);else if(!await i.isFile(u))throw new NotFoundError(u,t)}if(u)await i.emitFile(n+r.sep+"package.json","resolve",t)}}}let c;const l=a.indexOf(r.sep);while((c=a.lastIndexOf(r.sep))>l){a=a.slice(0,c);const n=a+r.sep+"node_modules";const l=await i.stat(n);if(!l||!l.isDirectory())continue;const f=await getPkgCfg(n+r.sep+o,i);const{exports:h}=f||{};if(i.conditions&&h!==undefined&&h!==null&&!u){let a;if(!i.exportsOnly)a=await resolveFile(n+r.sep+e,t,i)||await resolveDir(n+r.sep+e,t,i);let u=resolveExportsImports(n+r.sep+o,h,"."+e.slice(o.length),i,false,s);if(u){if(s)u=await resolveFile(u,t,i)||await resolveDir(u,t,i);else if(!await i.isFile(u))throw new NotFoundError(u,t)}if(u){await i.emitFile(n+r.sep+o+r.sep+"package.json","resolve",t);if(a&&a!==u)return[u,a];return u}if(a)return a}else{const s=await resolveFile(n+r.sep+e,t,i)||await resolveDir(n+r.sep+e,t,i);if(s){if(u&&u!==s)return[s,u];return s}}}if(u)return u;if(Object.hasOwnProperty.call(i.paths,e)){return i.paths[e]}for(const r of Object.keys(i.paths)){if(r.endsWith("/")&&e.startsWith(r)){const n=i.paths[r]+e.slice(r.length);const s=await resolveFile(n,t,i)||await resolveDir(n,t,i);if(!s){throw new NotFoundError(e,t)}return s}}throw new NotFoundError(e,t)}},3864:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},5078:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isLoop=t.isVarLoop=t.isIdentifierRead=void 0;function isIdentifierRead(e,t){switch(t.type){case"ObjectPattern":case"ArrayPattern":return false;case"AssignmentExpression":return t.right===e;case"MemberExpression":return t.computed||e===t.object;case"Property":return e===t.value;case"MethodDefinition":return false;case"VariableDeclarator":return t.id!==e;case"ExportSpecifier":return false;case"FunctionExpression":case"FunctionDeclaration":case"ArrowFunctionExpression":return false;default:return true}}t.isIdentifierRead=isIdentifierRead;function isVarLoop(e){return e.type==="ForStatement"||e.type==="ForInStatement"||e.type==="ForOfStatement"}t.isVarLoop=isVarLoop;function isLoop(e){return e.type==="ForStatement"||e.type==="ForInStatement"||e.type==="ForOfStatement"||e.type==="WhileStatement"||e.type==="DoWhileStatement"}t.isLoop=isLoop},2774:function(__unused_webpack_module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:true});exports.nbind=exports.pregyp=void 0;const path_1=__importDefault(__webpack_require__(5622));const graceful_fs_1=__importDefault(__webpack_require__(2029));const versioning=__webpack_require__(5574);const napi=__webpack_require__(9248);const pregypFind=(e,t)=>{const i=JSON.parse(graceful_fs_1.default.readFileSync(e).toString());versioning.validate_config(i,t);var r;if(napi.get_napi_build_versions(i,t)){r=napi.get_best_napi_build_version(i,t)}t=t||{};if(!t.module_root)t.module_root=path_1.default.dirname(e);var n=versioning.evaluate(i,t,r);return n.module};exports.pregyp={default:{find:pregypFind},find:pregypFind};function makeModulePathList(e,t){return[[e,t],[e,"build",t],[e,"build","Debug",t],[e,"build","Release",t],[e,"out","Debug",t],[e,"Debug",t],[e,"out","Release",t],[e,"Release",t],[e,"build","default",t],[e,process.env["NODE_BINDINGS_COMPILED_DIR"]||"compiled",process.versions.node,process.platform,process.arch,t]]}function findCompiledModule(basePath,specList){var resolvedList=[];var ext=path_1.default.extname(basePath);for(var _i=0,specList_1=specList;_i<specList_1.length;_i++){var spec=specList_1[_i];if(ext==spec.ext){try{spec.path=eval("require.resolve(basePath)");return spec}catch(e){resolvedList.push(basePath)}}}for(var _a=0,specList_2=specList;_a<specList_2.length;_a++){var spec=specList_2[_a];for(var _b=0,_c=makeModulePathList(basePath,spec.name);_b<_c.length;_b++){var pathParts=_c[_b];var resolvedPath=path_1.default.resolve.apply(path_1.default,pathParts);try{spec.path=eval("require.resolve(resolvedPath)")}catch(e){resolvedList.push(resolvedPath);continue}return spec}}return null}function nbind(e=process.cwd()){const t=findCompiledModule(e,[{ext:".node",name:"nbind.node",type:"node"},{ext:".js",name:"nbind.js",type:"emcc"}]);return t}exports.nbind=nbind},7468:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getPackageName=t.getPackageBase=void 0;const i=/^(@[^\\\/]+[\\\/])?[^\\\/]+/;function getPackageBase(e){const t=e.lastIndexOf("node_modules");if(t!==-1&&(e[t-1]==="/"||e[t-1]==="\\")&&(e[t+12]==="/"||e[t+12]==="\\")){const r=e.slice(t+13).match(i);if(r)return e.slice(0,t+13+r[0].length)}return undefined}t.getPackageBase=getPackageBase;function getPackageName(e){const t=e.lastIndexOf("node_modules");if(t!==-1&&(e[t-1]==="/"||e[t-1]==="\\")&&(e[t+12]==="/"||e[t+12]==="\\")){const r=e.slice(t+13).match(i);if(r&&r.length>0){return r[0].replace(/\\/g,"/")}}return undefined}t.getPackageName=getPackageName},216:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.normalizeWildcardRequire=t.normalizeDefaultRequire=void 0;function normalizeDefaultRequire(e){if(e&&e.__esModule)return e;return{default:e}}t.normalizeDefaultRequire=normalizeDefaultRequire;const i=Object.prototype.hasOwnProperty;function normalizeWildcardRequire(e){if(e&&e.__esModule)return e;const t={};for(const r in e){if(!i.call(e,r))continue;t[r]=e[r]}t["default"]=e;return t}t.normalizeWildcardRequire=normalizeWildcardRequire},2985:function(e,t,i){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.sharedLibEmit=void 0;const n=r(i(2087));const s=r(i(3700));const a=i(7468);let o="";switch(n.default.platform()){case"darwin":o="/**/*.@(dylib|so?(.*))";break;case"win32":o="/**/*.dll";break;default:o="/**/*.so?(.*)"}async function sharedLibEmit(e,t){const i=a.getPackageBase(e);if(!i)return;const r=await new Promise((e,t)=>s.default(i+o,{ignore:i+"/**/node_modules/**/*"},(i,r)=>i?t(i):e(r)));await Promise.all(r.map(i=>t.emitFile(i,"sharedlib",e)))}t.sharedLibEmit=sharedLibEmit},5735:function(e,t,i){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const n=i(5622);const s=r(i(2278));const a=i(7468);const o=i(2029);const u={"@generated/photon"({id:e,emitAssetDirectory:t}){if(e.endsWith("@generated/photon/index.js")){t(n.resolve(n.dirname(e),"runtime/"))}},argon2({id:e,emitAssetDirectory:t}){if(e.endsWith("argon2/argon2.js")){t(n.resolve(n.dirname(e),"build","Release"));t(n.resolve(n.dirname(e),"prebuilds"));t(n.resolve(n.dirname(e),"lib","binding"))}},bull({id:e,emitAssetDirectory:t}){if(e.endsWith("bull/lib/commands/index.js")){t(n.resolve(n.dirname(e)))}},camaro({id:e,emitAsset:t}){if(e.endsWith("camaro/dist/camaro.js")){t(n.resolve(n.dirname(e),"camaro.wasm"))}},esbuild({id:e,emitAssetDirectory:t}){if(e.endsWith("esbuild/lib/main.js")){const i=n.resolve(e,"..","..","package.json");const r=JSON.parse(o.readFileSync(i,"utf8"));for(const i of Object.keys(r.optionalDependencies||{})){const r=n.resolve(e,"..","..","..",i);t(r)}}},"google-gax"({id:e,ast:t,emitAssetDirectory:i}){if(e.endsWith("google-gax/build/src/grpc.js")){for(const r of t.body){if(r.type==="VariableDeclaration"&&r.declarations[0].id.type==="Identifier"&&r.declarations[0].id.name==="googleProtoFilesDir"){i(n.resolve(n.dirname(e),"../../../google-proto-files"))}}}},oracledb({id:e,ast:t,emitAsset:i}){if(e.endsWith("oracledb/lib/oracledb.js")){for(const r of t.body){if(r.type==="ForStatement"&&"body"in r.body&&r.body.body&&Array.isArray(r.body.body)&&r.body.body[0]&&r.body.body[0].type==="TryStatement"&&r.body.body[0].block.body[0]&&r.body.body[0].block.body[0].type==="ExpressionStatement"&&r.body.body[0].block.body[0].expression.type==="AssignmentExpression"&&r.body.body[0].block.body[0].expression.operator==="="&&r.body.body[0].block.body[0].expression.left.type==="Identifier"&&r.body.body[0].block.body[0].expression.left.name==="oracledbCLib"&&r.body.body[0].block.body[0].expression.right.type==="CallExpression"&&r.body.body[0].block.body[0].expression.right.callee.type==="Identifier"&&r.body.body[0].block.body[0].expression.right.callee.name==="require"&&r.body.body[0].block.body[0].expression.right.arguments.length===1&&r.body.body[0].block.body[0].expression.right.arguments[0].type==="MemberExpression"&&r.body.body[0].block.body[0].expression.right.arguments[0].computed===true&&r.body.body[0].block.body[0].expression.right.arguments[0].object.type==="Identifier"&&r.body.body[0].block.body[0].expression.right.arguments[0].object.name==="binaryLocations"&&r.body.body[0].block.body[0].expression.right.arguments[0].property.type==="Identifier"&&r.body.body[0].block.body[0].expression.right.arguments[0].property.name==="i"){r.body.body[0].block.body[0].expression.right.arguments=[{type:"Literal",value:"_"}];const t=global._unit?"3.0.0":JSON.parse(o.readFileSync(e.slice(0,-15)+"package.json","utf8")).version;const s=Number(t.slice(0,t.indexOf(".")))>=4;const a="oracledb-"+(s?t:"abi"+process.versions.modules)+"-"+process.platform+"-"+process.arch+".node";i(n.resolve(e,"../../build/Release/"+a))}}}},"phantomjs-prebuilt"({id:e,emitAssetDirectory:t}){if(e.endsWith("phantomjs-prebuilt/lib/phantomjs.js")){t(n.resolve(n.dirname(e),"..","bin"))}},"remark-prism"({id:e,emitAssetDirectory:t}){const i="remark-prism/src/highlight.js";if(e.endsWith(i)){try{const r=e.slice(0,-i.length);t(n.resolve(r,"prismjs","components"))}catch(e){}}},semver({id:e,emitAsset:t}){if(e.endsWith("semver/index.js")){t(n.resolve(e.replace("index.js","preload.js")))}},"socket.io":async function({id:e,ast:t,job:i}){if(e.endsWith("socket.io/lib/index.js")){async function replaceResolvePathStatement(t){if(t.type==="ExpressionStatement"&&t.expression.type==="AssignmentExpression"&&t.expression.operator==="="&&t.expression.right.type==="CallExpression"&&t.expression.right.callee.type==="Identifier"&&t.expression.right.callee.name==="read"&&t.expression.right.arguments.length>=1&&t.expression.right.arguments[0].type==="CallExpression"&&t.expression.right.arguments[0].callee.type==="Identifier"&&t.expression.right.arguments[0].callee.name==="resolvePath"&&t.expression.right.arguments[0].arguments.length===1&&t.expression.right.arguments[0].arguments[0].type==="Literal"){const r=t.expression.right.arguments[0].arguments[0].value;let a;try{const t=await s.default(String(r),e,i);if(typeof t==="string"){a=t}else{return undefined}}catch(e){return undefined}const o="/"+n.relative(n.dirname(e),a);t.expression.right.arguments[0]={type:"BinaryExpression",start:t.expression.right.arguments[0].start,end:t.expression.right.arguments[0].end,operator:"+",left:{type:"Identifier",name:"__dirname"},right:{type:"Literal",value:o,raw:JSON.stringify(o)}}}return undefined}for(const e of t.body){if(e.type==="ExpressionStatement"&&e.expression.type==="AssignmentExpression"&&e.expression.operator==="="&&e.expression.left.type==="MemberExpression"&&e.expression.left.object.type==="MemberExpression"&&e.expression.left.object.object.type==="Identifier"&&e.expression.left.object.object.name==="Server"&&e.expression.left.object.property.type==="Identifier"&&e.expression.left.object.property.name==="prototype"&&e.expression.left.property.type==="Identifier"&&e.expression.left.property.name==="serveClient"&&e.expression.right.type==="FunctionExpression"){for(const t of e.expression.right.body.body){if(t.type==="IfStatement"&&t.consequent&&"body"in t.consequent&&t.consequent.body){const e=t.consequent.body;let i=false;if(Array.isArray(e)&&e[0]&&e[0].type==="ExpressionStatement"){i=await replaceResolvePathStatement(e[0])}if(Array.isArray(e)&&e[1]&&e[1].type==="TryStatement"&&e[1].block.body&&e[1].block.body[0]){i=await replaceResolvePathStatement(e[1].block.body[0])||i}return}}}}}},typescript({id:e,emitAssetDirectory:t}){if(e.endsWith("typescript/lib/tsc.js")){t(n.resolve(e,"../"))}},"uglify-es"({id:e,emitAsset:t}){if(e.endsWith("uglify-es/tools/node.js")){t(n.resolve(e,"../../lib/utils.js"));t(n.resolve(e,"../../lib/ast.js"));t(n.resolve(e,"../../lib/parse.js"));t(n.resolve(e,"../../lib/transform.js"));t(n.resolve(e,"../../lib/scope.js"));t(n.resolve(e,"../../lib/output.js"));t(n.resolve(e,"../../lib/compress.js"));t(n.resolve(e,"../../lib/sourcemap.js"));t(n.resolve(e,"../../lib/mozilla-ast.js"));t(n.resolve(e,"../../lib/propmangle.js"));t(n.resolve(e,"../../lib/minify.js"));t(n.resolve(e,"../exports.js"))}},"uglify-js"({id:e,emitAsset:t,emitAssetDirectory:i}){if(e.endsWith("uglify-js/tools/node.js")){i(n.resolve(e,"../../lib"));t(n.resolve(e,"../exports.js"))}},"playwright-core"({id:e,emitAsset:t}){if(e.endsWith("playwright-core/index.js")){t(n.resolve(n.dirname(e),"browsers.json"))}},"geo-tz"({id:e,emitAsset:t}){if(e.endsWith("geo-tz/dist/geo-tz.js")){t(n.resolve(n.dirname(e),"../data/geo.dat"))}},pixelmatch({id:e,emitAsset:t}){if(e.endsWith("pixelmatch/index.js")){t(n.resolve(n.dirname(e),"bin/pixelmatch"))}}};async function handleSpecialCases({id:e,ast:t,emitAsset:i,emitAssetDirectory:r,job:n}){const s=a.getPackageName(e);const o=u[s||""];e=e.replace(/\\/g,"/");if(o)await o({id:e,ast:t,emitAsset:i,emitAssetDirectory:r,job:n})}t.default=handleSpecialCases},5401:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.wildcardRegEx=t.WILDCARD=t.FUNCTION=t.UNKNOWN=t.evaluate=void 0;const r=i(8835);async function evaluate(e,t={},i=true){const r={computeBranches:i,vars:t};return walk(e);function walk(e){const t=n[e.type];if(t){return t.call(r,e,walk)}return undefined}}t.evaluate=evaluate;t.UNKNOWN=Symbol();t.FUNCTION=Symbol();t.WILDCARD="";t.wildcardRegEx=/\x1a/g;function countWildcards(e){t.wildcardRegEx.lastIndex=0;let i=0;while(t.wildcardRegEx.exec(e))i++;return i}const n={ArrayExpression:async function ArrayExpression(e,t){const i=[];for(let r=0,n=e.elements.length;r<n;r++){if(e.elements[r]===null){i.push(null);continue}const n=await t(e.elements[r]);if(!n)return;if("value"in n===false)return;i.push(n.value)}return{value:i}},ArrowFunctionExpression:async function(e,i){if(e.params.length===0&&!e.generator&&!e.async&&e.expression){const r=await i(e.body);if(!r||!("value"in r))return;return{value:{[t.FUNCTION]:()=>r.value}}}return undefined},BinaryExpression:async function BinaryExpression(e,i){const r=e.operator;let n=await i(e.left);if(!n&&r!=="+")return;let s=await i(e.right);if(!n&&!s)return;if(!n){if(this.computeBranches&&s&&"value"in s&&typeof s.value==="string")return{value:t.WILDCARD+s.value,wildcards:[e.left,...s.wildcards||[]]};return}if(!s){if(this.computeBranches&&r==="+"){if(n&&"value"in n&&typeof n.value==="string")return{value:n.value+t.WILDCARD,wildcards:[...n.wildcards||[],e.right]}}if(!("test"in n)&&r==="||"&&n.value)return n;return}if("test"in n&&"value"in s){const e=s.value;if(r==="==")return{test:n.test,then:n.then==e,else:n.else==e};if(r==="===")return{test:n.test,then:n.then===e,else:n.else===e};if(r==="!=")return{test:n.test,then:n.then!=e,else:n.else!=e};if(r==="!==")return{test:n.test,then:n.then!==e,else:n.else!==e};if(r==="+")return{test:n.test,then:n.then+e,else:n.else+e};if(r==="-")return{test:n.test,then:n.then-e,else:n.else-e};if(r==="*")return{test:n.test,then:n.then*e,else:n.else*e};if(r==="/")return{test:n.test,then:n.then/e,else:n.else/e};if(r==="%")return{test:n.test,then:n.then%e,else:n.else%e};if(r==="<")return{test:n.test,then:n.then<e,else:n.else<e};if(r==="<=")return{test:n.test,then:n.then<=e,else:n.else<=e};if(r===">")return{test:n.test,then:n.then>e,else:n.else>e};if(r===">=")return{test:n.test,then:n.then>=e,else:n.else>=e};if(r==="|")return{test:n.test,then:n.then|e,else:n.else|e};if(r==="&")return{test:n.test,then:n.then&e,else:n.else&e};if(r==="^")return{test:n.test,then:n.then^e,else:n.else^e};if(r==="&&")return{test:n.test,then:n.then&&e,else:n.else&&e};if(r==="||")return{test:n.test,then:n.then||e,else:n.else||e}}else if("test"in s&&"value"in n){const e=n.value;if(r==="==")return{test:s.test,then:e==s.then,else:e==s.else};if(r==="===")return{test:s.test,then:e===s.then,else:e===s.else};if(r==="!=")return{test:s.test,then:e!=s.then,else:e!=s.else};if(r==="!==")return{test:s.test,then:e!==s.then,else:e!==s.else};if(r==="+")return{test:s.test,then:e+s.then,else:e+s.else};if(r==="-")return{test:s.test,then:e-s.then,else:e-s.else};if(r==="*")return{test:s.test,then:e*s.then,else:e*s.else};if(r==="/")return{test:s.test,then:e/s.then,else:e/s.else};if(r==="%")return{test:s.test,then:e%s.then,else:e%s.else};if(r==="<")return{test:s.test,then:e<s.then,else:e<s.else};if(r==="<=")return{test:s.test,then:e<=s.then,else:e<=s.else};if(r===">")return{test:s.test,then:e>s.then,else:e>s.else};if(r===">=")return{test:s.test,then:e>=s.then,else:e>=s.else};if(r==="|")return{test:s.test,then:e|s.then,else:e|s.else};if(r==="&")return{test:s.test,then:e&s.then,else:e&s.else};if(r==="^")return{test:s.test,then:e^s.then,else:e^s.else};if(r==="&&")return{test:s.test,then:e&&s.then,else:n&&s.else};if(r==="||")return{test:s.test,then:e||s.then,else:n||s.else}}else if("value"in n&&"value"in s){if(r==="==")return{value:n.value==s.value};if(r==="===")return{value:n.value===s.value};if(r==="!=")return{value:n.value!=s.value};if(r==="!==")return{value:n.value!==s.value};if(r==="+"){const e={value:n.value+s.value};let t=[];if("wildcards"in n&&n.wildcards){t=t.concat(n.wildcards)}if("wildcards"in s&&s.wildcards){t=t.concat(s.wildcards)}if(t.length>0){e.wildcards=t}return e}if(r==="-")return{value:n.value-s.value};if(r==="*")return{value:n.value*s.value};if(r==="/")return{value:n.value/s.value};if(r==="%")return{value:n.value%s.value};if(r==="<")return{value:n.value<s.value};if(r==="<=")return{value:n.value<=s.value};if(r===">")return{value:n.value>s.value};if(r===">=")return{value:n.value>=s.value};if(r==="|")return{value:n.value|s.value};if(r==="&")return{value:n.value&s.value};if(r==="^")return{value:n.value^s.value};if(r==="&&")return{value:n.value&&s.value};if(r==="||")return{value:n.value||s.value}}return},CallExpression:async function CallExpression(e,i){var r;const n=await i(e.callee);if(!n||"test"in n)return;let s=n.value;if(typeof s==="object"&&s!==null)s=s[t.FUNCTION];if(typeof s!=="function")return;let a=null;if(e.callee.object){a=await i(e.callee.object);a=a&&"value"in a&&a.value?a.value:null}let o;let u=[];let c;let l=e.arguments.length>0&&((r=e.callee.property)===null||r===void 0?void 0:r.name)!=="concat";const f=[];for(let r=0,n=e.arguments.length;r<n;r++){let n=await i(e.arguments[r]);if(n){l=false;if("value"in n&&typeof n.value==="string"&&n.wildcards)n.wildcards.forEach(e=>f.push(e))}else{if(!this.computeBranches)return;n={value:t.WILDCARD};f.push(e.arguments[r])}if("test"in n){if(f.length)return;if(o)return;o=n.test;c=u.concat([]);u.push(n.then);c.push(n.else)}else{u.push(n.value);if(c)c.push(n.value)}}if(l)return;try{const e=await s.apply(a,u);if(e===t.UNKNOWN)return;if(!o){if(f.length){if(typeof e!=="string"||countWildcards(e)!==f.length)return;return{value:e,wildcards:f}}return{value:e}}const i=await s.apply(a,c);if(e===t.UNKNOWN)return;return{test:o,then:e,else:i}}catch(e){return}},ConditionalExpression:async function ConditionalExpression(e,t){const i=await t(e.test);if(i&&"value"in i)return i.value?t(e.consequent):t(e.alternate);if(!this.computeBranches)return;const r=await t(e.consequent);if(!r||"wildcards"in r||"test"in r)return;const n=await t(e.alternate);if(!n||"wildcards"in n||"test"in n)return;return{test:e.test,then:r.value,else:n.value}},ExpressionStatement:async function ExpressionStatement(e,t){return t(e.expression)},Identifier:async function Identifier(e,t){if(Object.hasOwnProperty.call(this.vars,e.name))return this.vars[e.name];return undefined},Literal:async function Literal(e,t){return{value:e.value}},MemberExpression:async function MemberExpression(e,i){const r=await i(e.object);if(!r||"test"in r||typeof r.value==="function"){return undefined}if(e.property.type==="Identifier"){if(typeof r.value==="string"&&e.property.name==="concat"){return{value:{[t.FUNCTION]:(...e)=>r.value.concat(e)}}}if(typeof r.value==="object"&&r.value!==null){const n=r.value;if(e.computed){const s=await i(e.property);if(s&&"value"in s&&s.value){const e=n[s.value];if(e===t.UNKNOWN)return undefined;return{value:e}}if(!n[t.UNKNOWN]&&Object.keys(r).length===0){return{value:undefined}}}else if(e.property.name in n){const i=n[e.property.name];if(i===t.UNKNOWN)return undefined;return{value:i}}else if(n[t.UNKNOWN])return undefined}else{return{value:undefined}}}const n=await i(e.property);if(!n||"test"in n)return undefined;if(typeof r.value==="object"&&r.value!==null){if(n.value in r.value){const e=r.value[n.value];if(e===t.UNKNOWN)return undefined;return{value:e}}else if(r.value[t.UNKNOWN]){return undefined}}else{return{value:undefined}}return undefined},MetaProperty:async function MetaProperty(e){if(e.meta.name==="import"&&e.property.name==="meta")return{value:this.vars["import.meta"]};return undefined},NewExpression:async function NewExpression(e,t){const i=await t(e.callee);if(i&&"value"in i&&i.value===r.URL&&e.arguments.length){const i=await t(e.arguments[0]);if(!i)return undefined;let n=null;if(e.arguments[1]){n=await t(e.arguments[1]);if(!n||!("value"in n))return undefined}if("value"in i){if(n){try{return{value:new r.URL(i.value,n.value)}}catch(e){return undefined}}try{return{value:new r.URL(i.value)}}catch(e){return undefined}}else{const e=i.test;if(n){try{return{test:e,then:new r.URL(i.then,n.value),else:new r.URL(i.else,n.value)}}catch(e){return undefined}}try{return{test:e,then:new r.URL(i.then),else:new r.URL(i.else)}}catch(e){return undefined}}}return undefined},ObjectExpression:async function ObjectExpression(e,i){const r={};for(let n=0;n<e.properties.length;n++){const s=e.properties[n];const a=s.computed?i(s.key):s.key&&{value:s.key.name||s.key.value};if(!a||"test"in a)return;const o=await i(s.value);if(!o||"test"in o)return;if(o.value===t.UNKNOWN)return;r[a.value]=o.value}return{value:r}},SequenceExpression:async function SequenceExpression(e,t){if("expressions"in e&&e.expressions.length===2&&e.expressions[0].type==="Literal"&&e.expressions[0].value===0&&e.expressions[1].type==="MemberExpression"){const i=await t(e.expressions[1]);return i}return undefined},TemplateLiteral:async function TemplateLiteral(e,i){let r={value:""};for(var n=0;n<e.expressions.length;n++){if("value"in r){r.value+=e.quasis[n].value.cooked}else{r.then+=e.quasis[n].value.cooked;r.else+=e.quasis[n].value.cooked}let s=await i(e.expressions[n]);if(!s){if(!this.computeBranches)return undefined;s={value:t.WILDCARD,wildcards:[e.expressions[n]]}}if("value"in s){if("value"in r){r.value+=s.value;if(s.wildcards)r.wildcards=[...r.wildcards||[],...s.wildcards]}else{if(s.wildcards)return;r.then+=s.value;r.else+=s.value}}else if("value"in r){if("wildcards"in r){return}r={test:s.test,then:r.value+s.then,else:r.value+s.else}}else{return}}if("value"in r){r.value+=e.quasis[n].value.cooked}else{r.then+=e.quasis[n].value.cooked;r.else+=e.quasis[n].value.cooked}return r},ThisExpression:async function ThisExpression(e,t){if(Object.hasOwnProperty.call(this.vars,"this"))return this.vars["this"];return undefined},UnaryExpression:async function UnaryExpression(e,t){const i=await t(e.argument);if(!i)return undefined;if("value"in i&&"wildcards"in i===false){if(e.operator==="+")return{value:+i.value};if(e.operator==="-")return{value:-i.value};if(e.operator==="~")return{value:~i.value};if(e.operator==="!")return{value:!i.value}}else if("test"in i&&"wildcards"in i===false){if(e.operator==="+")return{test:i.test,then:+i.then,else:+i.else};if(e.operator==="-")return{test:i.test,then:-i.then,else:-i.else};if(e.operator==="~")return{test:i.test,then:~i.then,else:~i.else};if(e.operator==="!")return{test:i.test,then:!i.then,else:!i.else}}return undefined}};n.LogicalExpression=n.BinaryExpression},2005:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.handleWrappers=void 0;const r=i(7488);function isUndefinedOrVoid(e){return e.type==="Identifier"&&e.name==="undefined"||e.type==="UnaryExpression"&&e.operator==="void"&&e.argument.type==="Literal"&&e.argument.value===0}function handleWrappers(e){var t;let i;if(e.body.length===1&&e.body[0].type==="ExpressionStatement"&&e.body[0].expression.type==="UnaryExpression"&&e.body[0].expression.operator==="!"&&e.body[0].expression.argument.type==="CallExpression"&&e.body[0].expression.argument.callee.type==="FunctionExpression"&&e.body[0].expression.argument.arguments.length===1)i=e.body[0].expression.argument;else if(e.body.length===1&&e.body[0].type==="ExpressionStatement"&&e.body[0].expression.type==="CallExpression"&&e.body[0].expression.callee.type==="FunctionExpression"&&(e.body[0].expression.arguments.length===1||e.body[0].expression.arguments.length===0))i=e.body[0].expression;else if(e.body.length===1&&e.body[0].type==="ExpressionStatement"&&e.body[0].expression.type==="AssignmentExpression"&&e.body[0].expression.left.type==="MemberExpression"&&e.body[0].expression.left.object.type==="Identifier"&&e.body[0].expression.left.object.name==="module"&&e.body[0].expression.left.property.type==="Identifier"&&e.body[0].expression.left.property.name==="exports"&&e.body[0].expression.right.type==="CallExpression"&&e.body[0].expression.right.callee.type==="FunctionExpression"&&e.body[0].expression.right.arguments.length===1)i=e.body[0].expression.right;if(i){let e;let n;if(i.arguments[0]&&i.arguments[0].type==="ConditionalExpression"&&i.arguments[0].test.type==="LogicalExpression"&&i.arguments[0].test.operator==="&&"&&i.arguments[0].test.left.type==="BinaryExpression"&&i.arguments[0].test.left.operator==="==="&&i.arguments[0].test.left.left.type==="UnaryExpression"&&i.arguments[0].test.left.left.operator==="typeof"&&"name"in i.arguments[0].test.left.left.argument&&i.arguments[0].test.left.left.argument.name==="define"&&i.arguments[0].test.left.right.type==="Literal"&&i.arguments[0].test.left.right.value==="function"&&i.arguments[0].test.right.type==="MemberExpression"&&i.arguments[0].test.right.object.type==="Identifier"&&i.arguments[0].test.right.property.type==="Identifier"&&i.arguments[0].test.right.property.name==="amd"&&i.arguments[0].test.right.computed===false&&i.arguments[0].alternate.type==="FunctionExpression"&&i.arguments[0].alternate.params.length===1&&i.arguments[0].alternate.params[0].type==="Identifier"&&i.arguments[0].alternate.body.body.length===1&&i.arguments[0].alternate.body.body[0].type==="ExpressionStatement"&&i.arguments[0].alternate.body.body[0].expression.type==="AssignmentExpression"&&i.arguments[0].alternate.body.body[0].expression.left.type==="MemberExpression"&&i.arguments[0].alternate.body.body[0].expression.left.object.type==="Identifier"&&i.arguments[0].alternate.body.body[0].expression.left.object.name==="module"&&i.arguments[0].alternate.body.body[0].expression.left.property.type==="Identifier"&&i.arguments[0].alternate.body.body[0].expression.left.property.name==="exports"&&i.arguments[0].alternate.body.body[0].expression.left.computed===false&&i.arguments[0].alternate.body.body[0].expression.right.type==="CallExpression"&&i.arguments[0].alternate.body.body[0].expression.right.callee.type==="Identifier"&&i.arguments[0].alternate.body.body[0].expression.right.callee.name===i.arguments[0].alternate.params[0].name&&"body"in i.callee&&"body"in i.callee.body&&Array.isArray(i.callee.body.body)&&i.arguments[0].alternate.body.body[0].expression.right.arguments.length===1&&i.arguments[0].alternate.body.body[0].expression.right.arguments[0].type==="Identifier"&&i.arguments[0].alternate.body.body[0].expression.right.arguments[0].name==="require"){let e=i.callee.body.body;if(e[0].type==="ExpressionStatement"&&e[0].expression.type==="Literal"&&e[0].expression.value==="use strict"){e=e.slice(1)}if(e.length===1&&e[0].type==="ExpressionStatement"&&e[0].expression.type==="CallExpression"&&e[0].expression.callee.type==="Identifier"&&e[0].expression.callee.name===i.arguments[0].test.right.object.name&&e[0].expression.arguments.length===1&&e[0].expression.arguments[0].type==="FunctionExpression"&&e[0].expression.arguments[0].params.length===1&&e[0].expression.arguments[0].params[0].type==="Identifier"&&e[0].expression.arguments[0].params[0].name==="require"){const t=e[0].expression.arguments[0];t.params=[];try{delete t.scope.declarations.require}catch(e){}}}else if(i.arguments[0]&&i.arguments[0].type==="FunctionExpression"&&i.arguments[0].params.length===0&&(i.arguments[0].body.body.length===1||i.arguments[0].body.body.length===2&&i.arguments[0].body.body[0].type==="VariableDeclaration"&&i.arguments[0].body.body[0].declarations.length===3&&i.arguments[0].body.body[0].declarations.every(e=>e.init===null&&e.id.type==="Identifier"))&&i.arguments[0].body.body[i.arguments[0].body.body.length-1].type==="ReturnStatement"&&(e=i.arguments[0].body.body[i.arguments[0].body.body.length-1])&&((t=e.argument)===null||t===void 0?void 0:t.type)==="CallExpression"&&e.argument.arguments.length&&e.argument.arguments.every(e=>e&&e.type==="Literal"&&typeof e.value==="number")&&e.argument.callee.type==="CallExpression"&&(e.argument.callee.callee.type==="FunctionExpression"||e.argument.callee.callee.type==="CallExpression"&&e.argument.callee.callee.callee.type==="FunctionExpression"&&e.argument.callee.callee.arguments.length===0)&&e.argument.callee.arguments.length===3&&e.argument.callee.arguments[0].type==="ObjectExpression"&&e.argument.callee.arguments[1].type==="ObjectExpression"&&e.argument.callee.arguments[2].type==="ArrayExpression"){const t=e.argument.callee.arguments[0].properties;const i={};if(t.every(e=>{if(e.type!=="Property"||e.computed!==false||e.key.type!=="Literal"||typeof e.key.value!=="number"||e.value.type!=="ArrayExpression"||e.value.elements.length!==2||!e.value.elements[0]||!e.value.elements[1]||e.value.elements[0].type!=="FunctionExpression"||e.value.elements[1].type!=="ObjectExpression"){return false}const t=e.value.elements[1].properties;for(const e of t){if(e.type!=="Property"||e.value.type!=="Identifier"&&e.value.type!=="Literal"&&!isUndefinedOrVoid(e.value)||!(e.key.type==="Literal"&&typeof e.key.value==="string"||e.key.type==="Identifier")||e.computed){return false}if(isUndefinedOrVoid(e.value)){if(e.key.type==="Identifier"){i[e.key.name]={type:"Literal",start:e.key.start,end:e.key.end,value:e.key.name,raw:JSON.stringify(e.key.name)}}else if(e.key.type==="Literal"){i[String(e.key.value)]=e.key}}}return true})){const t=Object.keys(i);const r=e.argument.callee.arguments[1];r.properties=t.map(e=>{return{type:"Property",method:false,shorthand:false,computed:false,kind:"init",key:i[e],value:{type:"ObjectExpression",properties:[{type:"Property",kind:"init",method:false,shorthand:false,computed:false,key:{type:"Identifier",name:"exports"},value:{type:"CallExpression",optional:false,callee:{type:"Identifier",name:"require"},arguments:[i[e]]}}]}}})}}else if(i.arguments[0]&&i.arguments[0].type==="FunctionExpression"&&i.arguments[0].params.length===2&&i.arguments[0].params[0].type==="Identifier"&&i.arguments[0].params[1].type==="Identifier"&&"body"in i.callee&&"body"in i.callee.body&&Array.isArray(i.callee.body.body)&&i.callee.body.body.length===1){const e=i.callee.body.body[0];if(e.type==="IfStatement"&&e.test.type==="LogicalExpression"&&e.test.operator==="&&"&&e.test.left.type==="BinaryExpression"&&e.test.left.left.type==="UnaryExpression"&&e.test.left.left.operator==="typeof"&&e.test.left.left.argument.type==="Identifier"&&e.test.left.left.argument.name==="module"&&e.test.left.right.type==="Literal"&&e.test.left.right.value==="object"&&e.test.right.type==="BinaryExpression"&&e.test.right.left.type==="UnaryExpression"&&e.test.right.left.operator==="typeof"&&e.test.right.left.argument.type==="MemberExpression"&&e.test.right.left.argument.object.type==="Identifier"&&e.test.right.left.argument.object.name==="module"&&e.test.right.left.argument.property.type==="Identifier"&&e.test.right.left.argument.property.name==="exports"&&e.test.right.right.type==="Literal"&&e.test.right.right.value==="object"&&e.consequent.type==="BlockStatement"&&e.consequent.body.length>0){let t;if(e.consequent.body[0].type==="VariableDeclaration"&&e.consequent.body[0].declarations[0].init&&e.consequent.body[0].declarations[0].init.type==="CallExpression")t=e.consequent.body[0].declarations[0].init;else if(e.consequent.body[0].type==="ExpressionStatement"&&e.consequent.body[0].expression.type==="CallExpression")t=e.consequent.body[0].expression;else if(e.consequent.body[0].type==="ExpressionStatement"&&e.consequent.body[0].expression.type==="AssignmentExpression"&&e.consequent.body[0].expression.operator==="="&&e.consequent.body[0].expression.right.type==="CallExpression")t=e.consequent.body[0].expression.right;if(t&&t.callee.type==="Identifier"&&"params"in i.callee&&i.callee.params.length>0&&"name"in i.callee.params[0]&&t.callee.name===i.callee.params[0].name&&t.arguments.length===2&&t.arguments[0].type==="Identifier"&&t.arguments[0].name==="require"&&t.arguments[1].type==="Identifier"&&t.arguments[1].name==="exports"){const e=i.arguments[0];e.params=[];try{const t=e.scope;delete t.declarations.require;delete t.declarations.exports}catch(e){}}}}else if(i.callee.type==="FunctionExpression"&&i.callee.body.body.length>2&&i.callee.body.body[0].type==="VariableDeclaration"&&i.callee.body.body[0].declarations.length===1&&i.callee.body.body[0].declarations[0].type==="VariableDeclarator"&&i.callee.body.body[0].declarations[0].id.type==="Identifier"&&i.callee.body.body[0].declarations[0].init&&(i.callee.body.body[0].declarations[0].init.type==="ObjectExpression"&&i.callee.body.body[0].declarations[0].init.properties.length===0||i.callee.body.body[0].declarations[0].init.type==="CallExpression"&&i.callee.body.body[0].declarations[0].init.arguments.length===1)&&(i.callee.body.body[1]&&i.callee.body.body[1].type==="FunctionDeclaration"&&i.callee.body.body[1].params.length===1&&i.callee.body.body[1].body.body.length>=3||i.callee.body.body[2]&&i.callee.body.body[2].type==="FunctionDeclaration"&&i.callee.body.body[2].params.length===1&&i.callee.body.body[2].body.body.length>=3)&&(i.arguments[0]&&(i.arguments[0].type==="ArrayExpression"&&(n=i.arguments[0])&&i.arguments[0].elements.length>0&&i.arguments[0].elements.every(e=>e&&e.type==="FunctionExpression")||i.arguments[0].type==="ObjectExpression"&&(n=i.arguments[0])&&i.arguments[0].properties&&i.arguments[0].properties.length>0&&i.arguments[0].properties.every(e=>e&&e.type==="Property"&&!e.computed&&e.key&&e.key.type==="Literal"&&(typeof e.key.value==="string"||typeof e.key.value==="number")&&e.value&&e.value.type==="FunctionExpression")))||i.arguments.length===0&&i.callee.type==="FunctionExpression"&&i.callee.params.length===0&&i.callee.body.type==="BlockStatement"&&i.callee.body.body.length>5&&i.callee.body.body[0].type==="VariableDeclaration"&&i.callee.body.body[0].declarations.length===1&&i.callee.body.body[0].declarations[0].id.type==="Identifier"&&i.callee.body.body[1].type==="ExpressionStatement"&&i.callee.body.body[1].expression.type==="AssignmentExpression"&&i.callee.body.body[2].type==="ExpressionStatement"&&i.callee.body.body[2].expression.type==="AssignmentExpression"&&i.callee.body.body[3].type==="ExpressionStatement"&&i.callee.body.body[3].expression.type==="AssignmentExpression"&&i.callee.body.body[3].expression.left.type==="MemberExpression"&&i.callee.body.body[3].expression.left.object.type==="Identifier"&&i.callee.body.body[3].expression.left.object.name===i.callee.body.body[0].declarations[0].id.name&&i.callee.body.body[3].expression.left.property.type==="Identifier"&&i.callee.body.body[3].expression.left.property.name==="modules"&&i.callee.body.body[3].expression.right.type==="ObjectExpression"&&i.callee.body.body[3].expression.right.properties.every(e=>e&&e.type==="Property"&&!e.computed&&e.key&&e.key.type==="Literal"&&(typeof e.key.value==="string"||typeof e.key.value==="number")&&e.value&&e.value.type==="FunctionExpression")&&(n=i.callee.body.body[3].expression.right)&&(i.callee.body.body[4].type==="VariableDeclaration"&&i.callee.body.body[4].declarations.length===1&&i.callee.body.body[4].declarations[0].init&&i.callee.body.body[4].declarations[0].init.type==="CallExpression"&&i.callee.body.body[4].declarations[0].init.callee.type==="Identifier"&&i.callee.body.body[4].declarations[0].init.callee.name==="require"||i.callee.body.body[5].type==="VariableDeclaration"&&i.callee.body.body[5].declarations.length===1&&i.callee.body.body[5].declarations[0].init&&i.callee.body.body[5].declarations[0].init.type==="CallExpression"&&i.callee.body.body[5].declarations[0].init.callee.type==="Identifier"&&i.callee.body.body[5].declarations[0].init.callee.name==="require")){const e=new Map;let t;if(n.type==="ArrayExpression")t=n.elements.filter(e=>(e===null||e===void 0?void 0:e.type)==="FunctionExpression").map((e,t)=>[String(t),e]);else t=n.properties.map(e=>[String(e.key.value),e.value]);for(const[i,r]of t){const t=r.body.body.length===1?r.body.body[0]:(r.body.body.length===2||r.body.body.length===3&&r.body.body[2].type==="EmptyStatement")&&r.body.body[0].type==="ExpressionStatement"&&r.body.body[0].expression.type==="Literal"&&r.body.body[0].expression.value==="use strict"?r.body.body[1]:null;if(t&&t.type==="ExpressionStatement"&&t.expression.type==="AssignmentExpression"&&t.expression.operator==="="&&t.expression.left.type==="MemberExpression"&&t.expression.left.object.type==="Identifier"&&"params"in r&&r.params.length>0&&"name"in r.params[0]&&t.expression.left.object.name===r.params[0].name&&t.expression.left.property.type==="Identifier"&&t.expression.left.property.name==="exports"&&t.expression.right.type==="CallExpression"&&t.expression.right.callee.type==="Identifier"&&t.expression.right.callee.name==="require"&&t.expression.right.arguments.length===1&&t.expression.right.arguments[0].type==="Literal"){e.set(i,t.expression.right.arguments[0].value)}}for(const[,i]of t){if("params"in i&&i.params.length===3&&i.params[2].type==="Identifier"){const t=new Map;r.walk(i.body,{enter(r,n){const s=r;const a=n;if(s.type==="CallExpression"&&s.callee.type==="Identifier"&&"name"in i.params[2]&&s.callee.name===i.params[2].name&&s.arguments.length===1&&s.arguments[0].type==="Literal"){const i=e.get(String(s.arguments[0].value));if(i){const e={type:"CallExpression",optional:false,callee:{type:"Identifier",name:"require"},arguments:[{type:"Literal",value:i}]};const r=a;if("right"in r&&r.right===s){r.right=e}else if("left"in r&&r.left===s){r.left=e}else if("object"in r&&r.object===s){r.object=e}else if("callee"in r&&r.callee===s){r.callee=e}else if("arguments"in r&&r.arguments.some(e=>e===s)){r.arguments=r.arguments.map(t=>t===s?e:t)}else if("init"in r&&r.init===s){if(r.type==="VariableDeclarator"&&r.id.type==="Identifier")t.set(r.id.name,i);r.init=e}}}else if(s.type==="CallExpression"&&s.callee.type==="MemberExpression"&&s.callee.object.type==="Identifier"&&"name"in i.params[2]&&s.callee.object.name===i.params[2].name&&s.callee.property.type==="Identifier"&&s.callee.property.name==="n"&&s.arguments.length===1&&s.arguments[0].type==="Identifier"){if(a&&"init"in a&&a.init===s){const e=s.arguments[0];const t={type:"CallExpression",optional:false,callee:{type:"MemberExpression",computed:false,optional:false,object:{type:"Identifier",name:"Object"},property:{type:"Identifier",name:"assign"}},arguments:[{type:"ArrowFunctionExpression",expression:true,params:[],body:e},{type:"ObjectExpression",properties:[{type:"Property",kind:"init",method:false,computed:false,shorthand:false,key:{type:"Identifier",name:"a"},value:e}]}]};a.init=t}}}})}}}}}t.handleWrappers=handleWrappers},5920:(e,t)=>{e.exports=t=abbrev.abbrev=abbrev;abbrev.monkeyPatch=monkeyPatch;function monkeyPatch(){Object.defineProperty(Array.prototype,"abbrev",{value:function(){return abbrev(this)},enumerable:false,configurable:true,writable:true});Object.defineProperty(Object.prototype,"abbrev",{value:function(){return abbrev(Object.keys(this))},enumerable:false,configurable:true,writable:true})}function abbrev(e){if(arguments.length!==1||!Array.isArray(e)){e=Array.prototype.slice.call(arguments,0)}for(var t=0,i=e.length,r=[];t<i;t++){r[t]=typeof e[t]==="string"?e[t]:String(e[t])}r=r.sort(lexSort);var n={},s="";for(var t=0,i=r.length;t<i;t++){var a=r[t],o=r[t+1]||"",u=true,c=true;if(a===o)continue;for(var l=0,f=a.length;l<f;l++){var h=a.charAt(l);u=u&&h===o.charAt(l);c=c&&h===s.charAt(l);if(!u&&!c){l++;break}}s=a;if(l===f){n[a]=a;continue}for(var p=a.substr(0,l);l<=f;l++){n[p]=a;p+=a.charAt(l)}}return n}function lexSort(e,t){return e===t?0:e>t?1:-1}},5534:e=>{"use strict";function isArguments(e){return e!=null&&typeof e==="object"&&e.hasOwnProperty("callee")}var t={"*":{label:"any",check:function(){return true}},A:{label:"array",check:function(e){return Array.isArray(e)||isArguments(e)}},S:{label:"string",check:function(e){return typeof e==="string"}},N:{label:"number",check:function(e){return typeof e==="number"}},F:{label:"function",check:function(e){return typeof e==="function"}},O:{label:"object",check:function(e){return typeof e==="object"&&e!=null&&!t.A.check(e)&&!t.E.check(e)}},B:{label:"boolean",check:function(e){return typeof e==="boolean"}},E:{label:"error",check:function(e){return e instanceof Error}},Z:{label:"null",check:function(e){return e==null}}};function addSchema(e,t){var i=t[e.length]=t[e.length]||[];if(i.indexOf(e)===-1)i.push(e)}var i=e.exports=function(e,i){if(arguments.length!==2)throw wrongNumberOfArgs(["SA"],arguments.length);if(!e)throw missingRequiredArg(0,"rawSchemas");if(!i)throw missingRequiredArg(1,"args");if(!t.S.check(e))throw invalidType(0,["string"],e);if(!t.A.check(i))throw invalidType(1,["array"],i);var r=e.split("|");var n={};r.forEach(function(e){for(var i=0;i<e.length;++i){var r=e[i];if(!t[r])throw unknownType(i,r)}if(/E.*E/.test(e))throw moreThanOneError(e);addSchema(e,n);if(/E/.test(e)){addSchema(e.replace(/E.*$/,"E"),n);addSchema(e.replace(/E/,"Z"),n);if(e.length===1)addSchema("",n)}});var s=n[i.length];if(!s){throw wrongNumberOfArgs(Object.keys(n),i.length)}for(var a=0;a<i.length;++a){var o=s.filter(function(e){var r=e[a];var n=t[r].check;return n(i[a])});if(!o.length){var u=s.map(function(e){return t[e[a]].label}).filter(function(e){return e!=null});throw invalidType(a,u,i[a])}s=o}};function missingRequiredArg(e){return newException("EMISSINGARG","Missing required argument #"+(e+1))}function unknownType(e,t){return newException("EUNKNOWNTYPE","Unknown type "+t+" in argument #"+(e+1))}function invalidType(e,i,r){var n;Object.keys(t).forEach(function(e){if(t[e].check(r))n=t[e].label});return newException("EINVALIDTYPE","Argument #"+(e+1)+": Expected "+englishList(i)+" but got "+n)}function englishList(e){return e.join(", ").replace(/, ([^,]+)$/," or $1")}function wrongNumberOfArgs(e,t){var i=englishList(e);var r=e.every(function(e){return e.length===1})?"argument":"arguments";return newException("EWRONGARGCOUNT","Expected "+i+" "+r+" but got "+t)}function moreThanOneError(e){return newException("ETOOMANYERRORTYPES",'Only one error type per argument signature is allowed, more than one found in "'+e+'"')}function newException(e,t){var r=new Error(t);r.code=e;if(Error.captureStackTrace)Error.captureStackTrace(r,i);return r}},2717:(e,t,i)=>{"use strict";t.TrackerGroup=i(2952);t.Tracker=i(6189);t.TrackerStream=i(5849)},8313:(e,t,i)=>{"use strict";var r=i(8614).EventEmitter;var n=i(1669);var s=0;var a=e.exports=function(e){r.call(this);this.id=++s;this.name=e};n.inherits(a,r)},2952:(e,t,i)=>{"use strict";var r=i(1669);var n=i(8313);var s=i(6189);var a=i(5849);var o=e.exports=function(e){n.call(this,e);this.parentGroup=null;this.trackers=[];this.completion={};this.weight={};this.totalWeight=0;this.finished=false;this.bubbleChange=bubbleChange(this)};r.inherits(o,n);function bubbleChange(e){return function(t,i,r){e.completion[r.id]=i;if(e.finished)return;e.emit("change",t||e.name,e.completed(),e)}}o.prototype.nameInTree=function(){var e=[];var t=this;while(t){e.unshift(t.name);t=t.parentGroup}return e.join("/")};o.prototype.addUnit=function(e,t){if(e.addUnit){var i=this;while(i){if(e===i){throw new Error("Attempted to add tracker group "+e.name+" to tree that already includes it "+this.nameInTree(this))}i=i.parentGroup}e.parentGroup=this}this.weight[e.id]=t||1;this.totalWeight+=this.weight[e.id];this.trackers.push(e);this.completion[e.id]=e.completed();e.on("change",this.bubbleChange);if(!this.finished)this.emit("change",e.name,this.completion[e.id],e);return e};o.prototype.completed=function(){if(this.trackers.length===0)return 0;var e=1/this.totalWeight;var t=0;for(var i=0;i<this.trackers.length;i++){var r=this.trackers[i].id;t+=e*this.weight[r]*this.completion[r]}return t};o.prototype.newGroup=function(e,t){return this.addUnit(new o(e),t)};o.prototype.newItem=function(e,t,i){return this.addUnit(new s(e,t),i)};o.prototype.newStream=function(e,t,i){return this.addUnit(new a(e,t),i)};o.prototype.finish=function(){this.finished=true;if(!this.trackers.length)this.addUnit(new s,1,true);for(var e=0;e<this.trackers.length;e++){var t=this.trackers[e];t.finish();t.removeListener("change",this.bubbleChange)}this.emit("change",this.name,1,this)};var u=" ";o.prototype.debug=function(e){e=e||0;var t=e?u.substr(0,e):"";var i=t+(this.name||"top")+": "+this.completed()+"\n";this.trackers.forEach(function(r){if(r instanceof o){i+=r.debug(e+1)}else{i+=t+" "+r.name+": "+r.completed()+"\n"}});return i}},5849:(e,t,i)=>{"use strict";var r=i(1669);var n=i(675);var s=i(1722);var a=i(6189);var o=e.exports=function(e,t,i){n.Transform.call(this,i);this.tracker=new a(e,t);this.name=e;this.id=this.tracker.id;this.tracker.on("change",delegateChange(this))};r.inherits(o,n.Transform);function delegateChange(e){return function(t,i,r){e.emit("change",t,i,e)}}o.prototype._transform=function(e,t,i){this.tracker.completeWork(e.length?e.length:1);this.push(e);i()};o.prototype._flush=function(e){this.tracker.finish();e()};s(o.prototype,"tracker").method("completed").method("addWork").method("finish")},6189:(e,t,i)=>{"use strict";var r=i(1669);var n=i(8313);var s=e.exports=function(e,t){n.call(this,e);this.workDone=0;this.workTodo=t||0};r.inherits(s,n);s.prototype.completed=function(){return this.workTodo===0?0:this.workDone/this.workTodo};s.prototype.addWork=function(e){this.workTodo+=e;this.emit("change",this.name,this.completed(),this)};s.prototype.completeWork=function(e){this.workDone+=e;if(this.workDone>this.workTodo)this.workDone=this.workTodo;this.emit("change",this.name,this.completed(),this)};s.prototype.finish=function(){this.workTodo=this.workDone=1;this.emit("change",this.name,1,this)}},3353:e=>{"use strict";e.exports=balanced;function balanced(e,t,i){if(e instanceof RegExp)e=maybeMatch(e,i);if(t instanceof RegExp)t=maybeMatch(t,i);var r=range(e,t,i);return r&&{start:r[0],end:r[1],pre:i.slice(0,r[0]),body:i.slice(r[0]+e.length,r[1]),post:i.slice(r[1]+t.length)}}function maybeMatch(e,t){var i=t.match(e);return i?i[0]:null}balanced.range=range;function range(e,t,i){var r,n,s,a,o;var u=i.indexOf(e);var c=i.indexOf(t,u+1);var l=u;if(u>=0&&c>0){r=[];s=i.length;while(l>=0&&!o){if(l==u){r.push(l);u=i.indexOf(e,l+1)}else if(r.length==1){o=[r.pop(),c]}else{n=r.pop();if(n<s){s=n;a=c}c=i.indexOf(t,l+1)}l=u<c&&u>=0?u:c}if(r.length){o=[s,a]}}return o}},5706:(module,exports,__webpack_require__)=>{var fs=__webpack_require__(5747),path=__webpack_require__(5622),fileURLToPath=__webpack_require__(9001),join=path.join,dirname=path.dirname,exists=fs.accessSync&&function(e){try{fs.accessSync(e)}catch(e){return false}return true}||fs.existsSync||path.existsSync,defaults={arrow:process.env.NODE_BINDINGS_ARROW||" → ",compiled:process.env.NODE_BINDINGS_COMPILED_DIR||"compiled",platform:process.platform,arch:process.arch,nodePreGyp:"node-v"+process.versions.modules+"-"+process.platform+"-"+process.arch,version:process.versions.node,bindings:"bindings.node",try:[["module_root","build","bindings"],["module_root","build","Debug","bindings"],["module_root","build","Release","bindings"],["module_root","out","Debug","bindings"],["module_root","Debug","bindings"],["module_root","out","Release","bindings"],["module_root","Release","bindings"],["module_root","build","default","bindings"],["module_root","compiled","version","platform","arch","bindings"],["module_root","addon-build","release","install-root","bindings"],["module_root","addon-build","debug","install-root","bindings"],["module_root","addon-build","default","install-root","bindings"],["module_root","lib","binding","nodePreGyp","bindings"]]};function bindings(opts){if(typeof opts=="string"){opts={bindings:opts}}else if(!opts){opts={}}Object.keys(defaults).map(function(e){if(!(e in opts))opts[e]=defaults[e]});if(!opts.module_root){opts.module_root=exports.getRoot(exports.getFileName())}if(path.extname(opts.bindings)!=".node"){opts.bindings+=".node"}var requireFunc=true?eval("require"):0;var tries=[],i=0,l=opts.try.length,n,b,err;for(;i<l;i++){n=join.apply(null,opts.try[i].map(function(e){return opts[e]||e}));tries.push(n);try{b=opts.path?requireFunc.resolve(n):requireFunc(n);if(!opts.path){b.path=n}return b}catch(e){if(e.code!=="MODULE_NOT_FOUND"&&e.code!=="QUALIFIED_PATH_RESOLUTION_FAILED"&&!/not find/i.test(e.message)){throw e}}}err=new Error("Could not locate the bindings file. Tried:\n"+tries.map(function(e){return opts.arrow+e}).join("\n"));err.tries=tries;throw err}module.exports=exports=bindings;exports.getFileName=function getFileName(e){var t=Error.prepareStackTrace,i=Error.stackTraceLimit,r={},n;Error.stackTraceLimit=10;Error.prepareStackTrace=function(t,i){for(var r=0,s=i.length;r<s;r++){n=i[r].getFileName();if(n!==__filename){if(e){if(n!==e){return}}else{return}}}};Error.captureStackTrace(r);r.stack;Error.prepareStackTrace=t;Error.stackTraceLimit=i;var s="file://";if(n.indexOf(s)===0){n=fileURLToPath(n)}return n};exports.getRoot=function getRoot(e){var t=dirname(e),i;while(true){if(t==="."){t=process.cwd()}if(exists(join(t,"package.json"))||exists(join(t,"node_modules"))){return t}if(i===t){throw new Error('Could not find module root given file: "'+e+'". Do you have a `package.json` file? ')}i=t;t=join(t,"..")}}},3197:(e,t,i)=>{var r=i(4527);var n=i(3353);e.exports=expandTop;var s="\0SLASH"+Math.random()+"\0";var a="\0OPEN"+Math.random()+"\0";var o="\0CLOSE"+Math.random()+"\0";var u="\0COMMA"+Math.random()+"\0";var c="\0PERIOD"+Math.random()+"\0";function numeric(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function escapeBraces(e){return e.split("\\\\").join(s).split("\\{").join(a).split("\\}").join(o).split("\\,").join(u).split("\\.").join(c)}function unescapeBraces(e){return e.split(s).join("\\").split(a).join("{").split(o).join("}").split(u).join(",").split(c).join(".")}function parseCommaParts(e){if(!e)return[""];var t=[];var i=n("{","}",e);if(!i)return e.split(",");var r=i.pre;var s=i.body;var a=i.post;var o=r.split(",");o[o.length-1]+="{"+s+"}";var u=parseCommaParts(a);if(a.length){o[o.length-1]+=u.shift();o.push.apply(o,u)}t.push.apply(t,o);return t}function expandTop(e){if(!e)return[];if(e.substr(0,2)==="{}"){e="\\{\\}"+e.substr(2)}return expand(escapeBraces(e),true).map(unescapeBraces)}function identity(e){return e}function embrace(e){return"{"+e+"}"}function isPadded(e){return/^-?0\d/.test(e)}function lte(e,t){return e<=t}function gte(e,t){return e>=t}function expand(e,t){var i=[];var s=n("{","}",e);if(!s||/\$$/.test(s.pre))return[e];var a=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(s.body);var u=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(s.body);var c=a||u;var l=s.body.indexOf(",")>=0;if(!c&&!l){if(s.post.match(/,.*\}/)){e=s.pre+"{"+s.body+o+s.post;return expand(e)}return[e]}var f;if(c){f=s.body.split(/\.\./)}else{f=parseCommaParts(s.body);if(f.length===1){f=expand(f[0],false).map(embrace);if(f.length===1){var h=s.post.length?expand(s.post,false):[""];return h.map(function(e){return s.pre+f[0]+e})}}}var p=s.pre;var h=s.post.length?expand(s.post,false):[""];var d;if(c){var v=numeric(f[0]);var y=numeric(f[1]);var g=Math.max(f[0].length,f[1].length);var b=f.length==3?Math.abs(numeric(f[2])):1;var m=lte;var _=y<v;if(_){b*=-1;m=gte}var w=f.some(isPadded);d=[];for(var E=v;m(E,y);E+=b){var S;if(u){S=String.fromCharCode(E);if(S==="\\")S=""}else{S=String(E);if(w){var x=g-S.length;if(x>0){var R=new Array(x+1).join("0");if(E<0)S="-"+R+S.slice(1);else S=R+S}}}d.push(S)}}else{d=r(f,function(e){return expand(e,false)})}for(var A=0;A<d.length;A++){for(var k=0;k<h.length;k++){var T=p+d[A]+h[k];if(!t||c||T)i.push(T)}}return i}},538:(e,t,i)=>{"use strict";const r=i(9200);const n=i(3668);const s=i(5961);const a=i(9594);const o=(e,t={})=>{let i=[];if(Array.isArray(e)){for(let r of e){let e=o.create(r,t);if(Array.isArray(e)){i.push(...e)}else{i.push(e)}}}else{i=[].concat(o.create(e,t))}if(t&&t.expand===true&&t.nodupes===true){i=[...new Set(i)]}return i};o.parse=((e,t={})=>a(e,t));o.stringify=((e,t={})=>{if(typeof e==="string"){return r(o.parse(e,t),t)}return r(e,t)});o.compile=((e,t={})=>{if(typeof e==="string"){e=o.parse(e,t)}return n(e,t)});o.expand=((e,t={})=>{if(typeof e==="string"){e=o.parse(e,t)}let i=s(e,t);if(t.noempty===true){i=i.filter(Boolean)}if(t.nodupes===true){i=[...new Set(i)]}return i});o.create=((e,t={})=>{if(e===""||e.length<3){return[e]}return t.expand!==true?o.compile(e,t):o.expand(e,t)});e.exports=o},3668:(e,t,i)=>{"use strict";const r=i(3488);const n=i(4691);const s=(e,t={})=>{let i=(e,s={})=>{let a=n.isInvalidBrace(s);let o=e.invalid===true&&t.escapeInvalid===true;let u=a===true||o===true;let c=t.escapeInvalid===true?"\\":"";let l="";if(e.isOpen===true){return c+e.value}if(e.isClose===true){return c+e.value}if(e.type==="open"){return u?c+e.value:"("}if(e.type==="close"){return u?c+e.value:")"}if(e.type==="comma"){return e.prev.type==="comma"?"":u?e.value:"|"}if(e.value){return e.value}if(e.nodes&&e.ranges>0){let i=n.reduce(e.nodes);let s=r(...i,{...t,wrap:false,toRegex:true});if(s.length!==0){return i.length>1&&s.length>1?`(${s})`:s}}if(e.nodes){for(let t of e.nodes){l+=i(t,e)}}return l};return i(e)};e.exports=s},5529:e=>{"use strict";e.exports={MAX_LENGTH:1024*64,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"}},5961:(e,t,i)=>{"use strict";const r=i(3488);const n=i(9200);const s=i(4691);const a=(e="",t="",i=false)=>{let r=[];e=[].concat(e);t=[].concat(t);if(!t.length)return e;if(!e.length){return i?s.flatten(t).map(e=>`{${e}}`):t}for(let n of e){if(Array.isArray(n)){for(let e of n){r.push(a(e,t,i))}}else{for(let e of t){if(i===true&&typeof e==="string")e=`{${e}}`;r.push(Array.isArray(e)?a(n,e,i):n+e)}}}return s.flatten(r)};const o=(e,t={})=>{let i=t.rangeLimit===void 0?1e3:t.rangeLimit;let o=(e,u={})=>{e.queue=[];let c=u;let l=u.queue;while(c.type!=="brace"&&c.type!=="root"&&c.parent){c=c.parent;l=c.queue}if(e.invalid||e.dollar){l.push(a(l.pop(),n(e,t)));return}if(e.type==="brace"&&e.invalid!==true&&e.nodes.length===2){l.push(a(l.pop(),["{}"]));return}if(e.nodes&&e.ranges>0){let o=s.reduce(e.nodes);if(s.exceedsLimit(...o,t.step,i)){throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.")}let u=r(...o,t);if(u.length===0){u=n(e,t)}l.push(a(l.pop(),u));e.nodes=[];return}let f=s.encloseBrace(e);let h=e.queue;let p=e;while(p.type!=="brace"&&p.type!=="root"&&p.parent){p=p.parent;h=p.queue}for(let t=0;t<e.nodes.length;t++){let i=e.nodes[t];if(i.type==="comma"&&e.type==="brace"){if(t===1)h.push("");h.push("");continue}if(i.type==="close"){l.push(a(l.pop(),h,f));continue}if(i.value&&i.type!=="open"){h.push(a(h.pop(),i.value));continue}if(i.nodes){o(i,e)}}return h};return s.flatten(o(e))};e.exports=o},9594:(e,t,i)=>{"use strict";const r=i(9200);const{MAX_LENGTH:n,CHAR_BACKSLASH:s,CHAR_BACKTICK:a,CHAR_COMMA:o,CHAR_DOT:u,CHAR_LEFT_PARENTHESES:c,CHAR_RIGHT_PARENTHESES:l,CHAR_LEFT_CURLY_BRACE:f,CHAR_RIGHT_CURLY_BRACE:h,CHAR_LEFT_SQUARE_BRACKET:p,CHAR_RIGHT_SQUARE_BRACKET:d,CHAR_DOUBLE_QUOTE:v,CHAR_SINGLE_QUOTE:y,CHAR_NO_BREAK_SPACE:g,CHAR_ZERO_WIDTH_NOBREAK_SPACE:b}=i(5529);const m=(e,t={})=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}let i=t||{};let m=typeof i.maxLength==="number"?Math.min(n,i.maxLength):n;if(e.length>m){throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${m})`)}let _={type:"root",input:e,nodes:[]};let w=[_];let E=_;let S=_;let x=0;let R=e.length;let A=0;let k=0;let T;let C={};const O=()=>e[A++];const N=e=>{if(e.type==="text"&&S.type==="dot"){S.type="text"}if(S&&S.type==="text"&&e.type==="text"){S.value+=e.value;return}E.nodes.push(e);e.parent=E;e.prev=S;S=e;return e};N({type:"bos"});while(A<R){E=w[w.length-1];T=O();if(T===b||T===g){continue}if(T===s){N({type:"text",value:(t.keepEscaping?T:"")+O()});continue}if(T===d){N({type:"text",value:"\\"+T});continue}if(T===p){x++;let e=true;let t;while(A<R&&(t=O())){T+=t;if(t===p){x++;continue}if(t===s){T+=O();continue}if(t===d){x--;if(x===0){break}}}N({type:"text",value:T});continue}if(T===c){E=N({type:"paren",nodes:[]});w.push(E);N({type:"text",value:T});continue}if(T===l){if(E.type!=="paren"){N({type:"text",value:T});continue}E=w.pop();N({type:"text",value:T});E=w[w.length-1];continue}if(T===v||T===y||T===a){let e=T;let i;if(t.keepQuotes!==true){T=""}while(A<R&&(i=O())){if(i===s){T+=i+O();continue}if(i===e){if(t.keepQuotes===true)T+=i;break}T+=i}N({type:"text",value:T});continue}if(T===f){k++;let e=S.value&&S.value.slice(-1)==="$"||E.dollar===true;let t={type:"brace",open:true,close:false,dollar:e,depth:k,commas:0,ranges:0,nodes:[]};E=N(t);w.push(E);N({type:"open",value:T});continue}if(T===h){if(E.type!=="brace"){N({type:"text",value:T});continue}let e="close";E=w.pop();E.close=true;N({type:e,value:T});k--;E=w[w.length-1];continue}if(T===o&&k>0){if(E.ranges>0){E.ranges=0;let e=E.nodes.shift();E.nodes=[e,{type:"text",value:r(E)}]}N({type:"comma",value:T});E.commas++;continue}if(T===u&&k>0&&E.commas===0){let e=E.nodes;if(k===0||e.length===0){N({type:"text",value:T});continue}if(S.type==="dot"){E.range=[];S.value+=T;S.type="range";if(E.nodes.length!==3&&E.nodes.length!==5){E.invalid=true;E.ranges=0;S.type="text";continue}E.ranges++;E.args=[];continue}if(S.type==="range"){e.pop();let t=e[e.length-1];t.value+=S.value+T;S=t;E.ranges--;continue}N({type:"dot",value:T});continue}N({type:"text",value:T})}do{E=w.pop();if(E.type!=="root"){E.nodes.forEach(e=>{if(!e.nodes){if(e.type==="open")e.isOpen=true;if(e.type==="close")e.isClose=true;if(!e.nodes)e.type="text";e.invalid=true}});let e=w[w.length-1];let t=e.nodes.indexOf(E);e.nodes.splice(t,1,...E.nodes)}}while(w.length>0);N({type:"eos"});return _};e.exports=m},9200:(e,t,i)=>{"use strict";const r=i(4691);e.exports=((e,t={})=>{let i=(e,n={})=>{let s=t.escapeInvalid&&r.isInvalidBrace(n);let a=e.invalid===true&&t.escapeInvalid===true;let o="";if(e.value){if((s||a)&&r.isOpenOrClose(e)){return"\\"+e.value}return e.value}if(e.value){return e.value}if(e.nodes){for(let t of e.nodes){o+=i(t)}}return o};return i(e)})},4691:(e,t)=>{"use strict";t.isInteger=(e=>{if(typeof e==="number"){return Number.isInteger(e)}if(typeof e==="string"&&e.trim()!==""){return Number.isInteger(Number(e))}return false});t.find=((e,t)=>e.nodes.find(e=>e.type===t));t.exceedsLimit=((e,i,r=1,n)=>{if(n===false)return false;if(!t.isInteger(e)||!t.isInteger(i))return false;return(Number(i)-Number(e))/Number(r)>=n});t.escapeNode=((e,t=0,i)=>{let r=e.nodes[t];if(!r)return;if(i&&r.type===i||r.type==="open"||r.type==="close"){if(r.escaped!==true){r.value="\\"+r.value;r.escaped=true}}});t.encloseBrace=(e=>{if(e.type!=="brace")return false;if(e.commas>>0+e.ranges>>0===0){e.invalid=true;return true}return false});t.isInvalidBrace=(e=>{if(e.type!=="brace")return false;if(e.invalid===true||e.dollar)return true;if(e.commas>>0+e.ranges>>0===0){e.invalid=true;return true}if(e.open!==true||e.close!==true){e.invalid=true;return true}return false});t.isOpenOrClose=(e=>{if(e.type==="open"||e.type==="close"){return true}return e.open===true||e.close===true});t.reduce=(e=>e.reduce((e,t)=>{if(t.type==="text")e.push(t.value);if(t.type==="range")t.type="text";return e},[]));t.flatten=((...e)=>{const t=[];const i=e=>{for(let r=0;r<e.length;r++){let n=e[r];Array.isArray(n)?i(n,t):n!==void 0&&t.push(n)}return t};i(e);return t})},360:(e,t,i)=>{var r=i(4293).Buffer;var n=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];if(typeof Int32Array!=="undefined"){n=new Int32Array(n)}function ensureBuffer(e){if(r.isBuffer(e)){return e}var t=typeof r.alloc==="function"&&typeof r.from==="function";if(typeof e==="number"){return t?r.alloc(e):new r(e)}else if(typeof e==="string"){return t?r.from(e):new r(e)}else{throw new Error("input must be buffer, number, or string, received "+typeof e)}}function bufferizeInt(e){var t=ensureBuffer(4);t.writeInt32BE(e,0);return t}function _crc32(e,t){e=ensureBuffer(e);if(r.isBuffer(t)){t=t.readUInt32BE(0)}var i=~~t^-1;for(var s=0;s<e.length;s++){i=n[(i^e[s])&255]^i>>>8}return i^-1}function crc32(){return bufferizeInt(_crc32.apply(null,arguments))}crc32.signed=function(){return _crc32.apply(null,arguments)};crc32.unsigned=function(){return _crc32.apply(null,arguments)>>>0};e.exports=crc32},6708:e=>{"use strict";e.exports=function(e,t){if(e===null||e===undefined){throw TypeError()}e=String(e);var i=e.length;var r=t?Number(t):0;if(Number.isNaN(r)){r=0}if(r<0||r>=i){return undefined}var n=e.charCodeAt(r);if(n>=55296&&n<=56319&&i>r+1){var s=e.charCodeAt(r+1);if(s>=56320&&s<=57343){return(n-55296)*1024+s-56320+65536}}return n}},4527:e=>{e.exports=function(e,i){var r=[];for(var n=0;n<e.length;n++){var s=i(e[n],n);if(t(s))r.push.apply(r,s);else r.push(s)}return r};var t=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"}},6322:(e,t)=>{"use strict";var i="[";t.up=function up(e){return i+(e||"")+"A"};t.down=function down(e){return i+(e||"")+"B"};t.forward=function forward(e){return i+(e||"")+"C"};t.back=function back(e){return i+(e||"")+"D"};t.nextLine=function nextLine(e){return i+(e||"")+"E"};t.previousLine=function previousLine(e){return i+(e||"")+"F"};t.horizontalAbsolute=function horizontalAbsolute(e){if(e==null)throw new Error("horizontalAboslute requires a column to position to");return i+e+"G"};t.eraseData=function eraseData(){return i+"J"};t.eraseLine=function eraseLine(){return i+"K"};t.goto=function(e,t){return i+t+";"+e+"H"};t.gotoSOL=function(){return"\r"};t.beep=function(){return""};t.hideCursor=function hideCursor(){return i+"?25l"};t.showCursor=function showCursor(){return i+"?25h"};var r={reset:0,bold:1,italic:3,underline:4,inverse:7,stopBold:22,stopItalic:23,stopUnderline:24,stopInverse:27,white:37,black:30,blue:34,cyan:36,green:32,magenta:35,red:31,yellow:33,bgWhite:47,bgBlack:40,bgBlue:44,bgCyan:46,bgGreen:42,bgMagenta:45,bgRed:41,bgYellow:43,grey:90,brightBlack:90,brightRed:91,brightGreen:92,brightYellow:93,brightBlue:94,brightMagenta:95,brightCyan:96,brightWhite:97,bgGrey:100,bgBrightBlack:100,bgBrightRed:101,bgBrightGreen:102,bgBrightYellow:103,bgBrightBlue:104,bgBrightMagenta:105,bgBrightCyan:106,bgBrightWhite:107};t.color=function color(e){if(arguments.length!==1||!Array.isArray(e)){e=Array.prototype.slice.call(arguments)}return i+e.map(colorNameToCode).join(";")+"m"};function colorNameToCode(e){if(r[e]!=null)return r[e];throw new Error("Unknown color or style name: "+e)}},3487:(e,t)=>{function isArray(e){if(Array.isArray){return Array.isArray(e)}return objectToString(e)==="[object Array]"}t.isArray=isArray;function isBoolean(e){return typeof e==="boolean"}t.isBoolean=isBoolean;function isNull(e){return e===null}t.isNull=isNull;function isNullOrUndefined(e){return e==null}t.isNullOrUndefined=isNullOrUndefined;function isNumber(e){return typeof e==="number"}t.isNumber=isNumber;function isString(e){return typeof e==="string"}t.isString=isString;function isSymbol(e){return typeof e==="symbol"}t.isSymbol=isSymbol;function isUndefined(e){return e===void 0}t.isUndefined=isUndefined;function isRegExp(e){return objectToString(e)==="[object RegExp]"}t.isRegExp=isRegExp;function isObject(e){return typeof e==="object"&&e!==null}t.isObject=isObject;function isDate(e){return objectToString(e)==="[object Date]"}t.isDate=isDate;function isError(e){return objectToString(e)==="[object Error]"||e instanceof Error}t.isError=isError;function isFunction(e){return typeof e==="function"}t.isFunction=isFunction;function isPrimitive(e){return e===null||typeof e==="boolean"||typeof e==="number"||typeof e==="string"||typeof e==="symbol"||typeof e==="undefined"}t.isPrimitive=isPrimitive;t.isBuffer=Buffer.isBuffer;function objectToString(e){return Object.prototype.toString.call(e)}},1722:e=>{e.exports=Delegator;function Delegator(e,t){if(!(this instanceof Delegator))return new Delegator(e,t);this.proto=e;this.target=t;this.methods=[];this.getters=[];this.setters=[];this.fluents=[]}Delegator.prototype.method=function(e){var t=this.proto;var i=this.target;this.methods.push(e);t[e]=function(){return this[i][e].apply(this[i],arguments)};return this};Delegator.prototype.access=function(e){return this.getter(e).setter(e)};Delegator.prototype.getter=function(e){var t=this.proto;var i=this.target;this.getters.push(e);t.__defineGetter__(e,function(){return this[i][e]});return this};Delegator.prototype.setter=function(e){var t=this.proto;var i=this.target;this.setters.push(e);t.__defineSetter__(e,function(t){return this[i][e]=t});return this};Delegator.prototype.fluent=function(e){var t=this.proto;var i=this.target;this.fluents.push(e);t[e]=function(t){if("undefined"!=typeof t){this[i][e]=t;return this}else{return this[i][e]}};return this}},2157:(e,t,i)=>{"use strict";var r=i(2087).platform();var n=i(3129).spawnSync;var s=i(5747).readdirSync;var a="glibc";var o="musl";var u={encoding:"utf8",env:process.env};if(!n){n=function(){return{status:126,stdout:"",stderr:""}}}function contains(e){return function(t){return t.indexOf(e)!==-1}}function versionFromMuslLdd(e){return e.split(/[\r\n]+/)[1].trim().split(/\s/)[1]}function safeReaddirSync(e){try{return s(e)}catch(e){}return[]}var c="";var l="";var f="";if(r==="linux"){var h=n("getconf",["GNU_LIBC_VERSION"],u);if(h.status===0){c=a;l=h.stdout.trim().split(" ")[1];f="getconf"}else{var p=n("ldd",["--version"],u);if(p.status===0&&p.stdout.indexOf(o)!==-1){c=o;l=versionFromMuslLdd(p.stdout);f="ldd"}else if(p.status===1&&p.stderr.indexOf(o)!==-1){c=o;l=versionFromMuslLdd(p.stderr);f="ldd"}else{var d=safeReaddirSync("/lib");if(d.some(contains("-linux-gnu"))){c=a;f="filesystem"}else if(d.some(contains("libc.musl-"))){c=o;f="filesystem"}else if(d.some(contains("ld-musl-"))){c=o;f="filesystem"}else{var v=safeReaddirSync("/usr/sbin");if(v.some(contains("glibc"))){c=a;f="filesystem"}}}}}var y=c!==""&&c!==a;e.exports={GLIBC:a,MUSL:o,family:c,version:l,method:f,isNonGlibcLinux:y}},7488:function(e,t){(function(e,i){true?i(t):0})(this,function(e){"use strict";class WalkerBase{constructor(){this.should_skip=false;this.should_remove=false;this.replacement=null;this.context={skip:()=>this.should_skip=true,remove:()=>this.should_remove=true,replace:e=>this.replacement=e}}replace(e,t,i,r){if(e){if(i!==null){e[t][i]=r}else{e[t]=r}}}remove(e,t,i){if(e){if(i!==null){e[t].splice(i,1)}else{delete e[t]}}}}class SyncWalker extends WalkerBase{constructor(e,t){super();this.enter=e;this.leave=t}visit(e,t,i,r){if(e){if(this.enter){const n=this.should_skip;const s=this.should_remove;const a=this.replacement;this.should_skip=false;this.should_remove=false;this.replacement=null;this.enter.call(this.context,e,t,i,r);if(this.replacement){e=this.replacement;this.replace(t,i,r,e)}if(this.should_remove){this.remove(t,i,r)}const o=this.should_skip;const u=this.should_remove;this.should_skip=n;this.should_remove=s;this.replacement=a;if(o)return e;if(u)return null}for(const t in e){const i=e[t];if(typeof i!=="object"){continue}else if(Array.isArray(i)){for(let r=0;r<i.length;r+=1){if(i[r]!==null&&typeof i[r].type==="string"){if(!this.visit(i[r],e,t,r)){r--}}}}else if(i!==null&&typeof i.type==="string"){this.visit(i,e,t,null)}}if(this.leave){const n=this.replacement;const s=this.should_remove;this.replacement=null;this.should_remove=false;this.leave.call(this.context,e,t,i,r);if(this.replacement){e=this.replacement;this.replace(t,i,r,e)}if(this.should_remove){this.remove(t,i,r)}const a=this.should_remove;this.replacement=n;this.should_remove=s;if(a)return null}}return e}}class AsyncWalker extends WalkerBase{constructor(e,t){super();this.enter=e;this.leave=t}async visit(e,t,i,r){if(e){if(this.enter){const n=this.should_skip;const s=this.should_remove;const a=this.replacement;this.should_skip=false;this.should_remove=false;this.replacement=null;await this.enter.call(this.context,e,t,i,r);if(this.replacement){e=this.replacement;this.replace(t,i,r,e)}if(this.should_remove){this.remove(t,i,r)}const o=this.should_skip;const u=this.should_remove;this.should_skip=n;this.should_remove=s;this.replacement=a;if(o)return e;if(u)return null}for(const t in e){const i=e[t];if(typeof i!=="object"){continue}else if(Array.isArray(i)){for(let r=0;r<i.length;r+=1){if(i[r]!==null&&typeof i[r].type==="string"){if(!await this.visit(i[r],e,t,r)){r--}}}}else if(i!==null&&typeof i.type==="string"){await this.visit(i,e,t,null)}}if(this.leave){const n=this.replacement;const s=this.should_remove;this.replacement=null;this.should_remove=false;await this.leave.call(this.context,e,t,i,r);if(this.replacement){e=this.replacement;this.replace(t,i,r,e)}if(this.should_remove){this.remove(t,i,r)}const a=this.should_remove;this.replacement=n;this.should_remove=s;if(a)return null}}return e}}function walk(e,{enter:t,leave:i}){const r=new SyncWalker(t,i);return r.visit(e,null)}async function asyncWalk(e,{enter:t,leave:i}){const r=new AsyncWalker(t,i);return await r.visit(e,null)}e.asyncWalk=asyncWalk;e.walk=walk;Object.defineProperty(e,"__esModule",{value:true})})},9001:(e,t,i)=>{var r=i(5622).sep||"/";e.exports=fileUriToPath;function fileUriToPath(e){if("string"!=typeof e||e.length<=7||"file://"!=e.substring(0,7)){throw new TypeError("must pass in a file:// URI to convert to a file path")}var t=decodeURI(e.substring(7));var i=t.indexOf("/");var n=t.substring(0,i);var s=t.substring(i+1);if("localhost"==n)n="";if(n){n=r+r+n}s=s.replace(/^(.+)\|/,"$1:");if(r=="\\"){s=s.replace(/\//g,"\\")}if(/^.+\:/.test(s)){}else{s=r+s}return n+s}},3488:(e,t,i)=>{"use strict";const r=i(1669);const n=i(887);const s=e=>e!==null&&typeof e==="object"&&!Array.isArray(e);const a=e=>{return t=>e===true?Number(t):String(t)};const o=e=>{return typeof e==="number"||typeof e==="string"&&e!==""};const u=e=>Number.isInteger(+e);const c=e=>{let t=`${e}`;let i=-1;if(t[0]==="-")t=t.slice(1);if(t==="0")return false;while(t[++i]==="0");return i>0};const l=(e,t,i)=>{if(typeof e==="string"||typeof t==="string"){return true}return i.stringify===true};const f=(e,t,i)=>{if(t>0){let i=e[0]==="-"?"-":"";if(i)e=e.slice(1);e=i+e.padStart(i?t-1:t,"0")}if(i===false){return String(e)}return e};const h=(e,t)=>{let i=e[0]==="-"?"-":"";if(i){e=e.slice(1);t--}while(e.length<t)e="0"+e;return i?"-"+e:e};const p=(e,t)=>{e.negatives.sort((e,t)=>e<t?-1:e>t?1:0);e.positives.sort((e,t)=>e<t?-1:e>t?1:0);let i=t.capture?"":"?:";let r="";let n="";let s;if(e.positives.length){r=e.positives.join("|")}if(e.negatives.length){n=`-(${i}${e.negatives.join("|")})`}if(r&&n){s=`${r}|${n}`}else{s=r||n}if(t.wrap){return`(${i}${s})`}return s};const d=(e,t,i,r)=>{if(i){return n(e,t,{wrap:false,...r})}let s=String.fromCharCode(e);if(e===t)return s;let a=String.fromCharCode(t);return`[${s}-${a}]`};const v=(e,t,i)=>{if(Array.isArray(e)){let t=i.wrap===true;let r=i.capture?"":"?:";return t?`(${r}${e.join("|")})`:e.join("|")}return n(e,t,i)};const y=(...e)=>{return new RangeError("Invalid range arguments: "+r.inspect(...e))};const g=(e,t,i)=>{if(i.strictRanges===true)throw y([e,t]);return[]};const b=(e,t)=>{if(t.strictRanges===true){throw new TypeError(`Expected step "${e}" to be a number`)}return[]};const m=(e,t,i=1,r={})=>{let n=Number(e);let s=Number(t);if(!Number.isInteger(n)||!Number.isInteger(s)){if(r.strictRanges===true)throw y([e,t]);return[]}if(n===0)n=0;if(s===0)s=0;let o=n>s;let u=String(e);let g=String(t);let b=String(i);i=Math.max(Math.abs(i),1);let m=c(u)||c(g)||c(b);let _=m?Math.max(u.length,g.length,b.length):0;let w=m===false&&l(e,t,r)===false;let E=r.transform||a(w);if(r.toRegex&&i===1){return d(h(e,_),h(t,_),true,r)}let S={negatives:[],positives:[]};let x=e=>S[e<0?"negatives":"positives"].push(Math.abs(e));let R=[];let A=0;while(o?n>=s:n<=s){if(r.toRegex===true&&i>1){x(n)}else{R.push(f(E(n,A),_,w))}n=o?n-i:n+i;A++}if(r.toRegex===true){return i>1?p(S,r):v(R,null,{wrap:false,...r})}return R};const _=(e,t,i=1,r={})=>{if(!u(e)&&e.length>1||!u(t)&&t.length>1){return g(e,t,r)}let n=r.transform||(e=>String.fromCharCode(e));let s=`${e}`.charCodeAt(0);let a=`${t}`.charCodeAt(0);let o=s>a;let c=Math.min(s,a);let l=Math.max(s,a);if(r.toRegex&&i===1){return d(c,l,false,r)}let f=[];let h=0;while(o?s>=a:s<=a){f.push(n(s,h));s=o?s-i:s+i;h++}if(r.toRegex===true){return v(f,null,{wrap:false,options:r})}return f};const w=(e,t,i,r={})=>{if(t==null&&o(e)){return[e]}if(!o(e)||!o(t)){return g(e,t,r)}if(typeof i==="function"){return w(e,t,1,{transform:i})}if(s(i)){return w(e,t,0,i)}let n={...r};if(n.capture===true)n.wrap=true;i=i||n.step||1;if(!u(i)){if(i!=null&&!s(i))return b(i,n);return w(e,t,1,i)}if(u(e)&&u(t)){return m(e,t,i,n)}return _(e,t,Math.max(Math.abs(i),1),n)};e.exports=w},4823:(e,t,i)=>{"use strict";const r=i(5622);const n=i(3995);const s=i(7500);const a=Symbol("findUp.stop");e.exports=(async(e,t={})=>{let i=r.resolve(t.cwd||"");const{root:s}=r.parse(i);const o=[].concat(e);const u=async t=>{if(typeof e!=="function"){return n(o,t)}const i=await e(t.cwd);if(typeof i==="string"){return n([i],t)}return i};while(true){const e=await u({...t,cwd:i});if(e===a){return}if(e){return r.resolve(i,e)}if(i===s){return}i=r.dirname(i)}});e.exports.sync=((e,t={})=>{let i=r.resolve(t.cwd||"");const{root:s}=r.parse(i);const o=[].concat(e);const u=t=>{if(typeof e!=="function"){return n.sync(o,t)}const i=e(t.cwd);if(typeof i==="string"){return n.sync([i],t)}return i};while(true){const e=u({...t,cwd:i});if(e===a){return}if(e){return r.resolve(i,e)}if(i===s){return}i=r.dirname(i)}});e.exports.exists=s;e.exports.sync.exists=s.sync;e.exports.stop=a},7500:(e,t,i)=>{"use strict";const r=i(5747);const{promisify:n}=i(1669);const s=n(r.access);e.exports=(async e=>{try{await s(e);return true}catch(e){return false}});e.exports.sync=(e=>{try{r.accessSync(e);return true}catch(e){return false}})},8945:(e,t,i)=>{e.exports=realpath;realpath.realpath=realpath;realpath.sync=realpathSync;realpath.realpathSync=realpathSync;realpath.monkeypatch=monkeypatch;realpath.unmonkeypatch=unmonkeypatch;var r=i(5747);var n=r.realpath;var s=r.realpathSync;var a=process.version;var o=/^v[0-5]\./.test(a);var u=i(4403);function newError(e){return e&&e.syscall==="realpath"&&(e.code==="ELOOP"||e.code==="ENOMEM"||e.code==="ENAMETOOLONG")}function realpath(e,t,i){if(o){return n(e,t,i)}if(typeof t==="function"){i=t;t=null}n(e,t,function(r,n){if(newError(r)){u.realpath(e,t,i)}else{i(r,n)}})}function realpathSync(e,t){if(o){return s(e,t)}try{return s(e,t)}catch(i){if(newError(i)){return u.realpathSync(e,t)}else{throw i}}}function monkeypatch(){r.realpath=realpath;r.realpathSync=realpathSync}function unmonkeypatch(){r.realpath=n;r.realpathSync=s}},4403:(e,t,i)=>{var r=i(5622);var n=process.platform==="win32";var s=i(5747);var a=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function rethrow(){var e;if(a){var t=new Error;e=debugCallback}else e=missingCallback;return e;function debugCallback(e){if(e){t.message=e.message;e=t;missingCallback(e)}}function missingCallback(e){if(e){if(process.throwDeprecation)throw e;else if(!process.noDeprecation){var t="fs: missing callback "+(e.stack||e.message);if(process.traceDeprecation)console.trace(t);else console.error(t)}}}}function maybeCallback(e){return typeof e==="function"?e:rethrow()}var o=r.normalize;if(n){var u=/(.*?)(?:[\/\\]+|$)/g}else{var u=/(.*?)(?:[\/]+|$)/g}if(n){var c=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/}else{var c=/^[\/]*/}t.realpathSync=function realpathSync(e,t){e=r.resolve(e);if(t&&Object.prototype.hasOwnProperty.call(t,e)){return t[e]}var i=e,a={},o={};var l;var f;var h;var p;start();function start(){var t=c.exec(e);l=t[0].length;f=t[0];h=t[0];p="";if(n&&!o[h]){s.lstatSync(h);o[h]=true}}while(l<e.length){u.lastIndex=l;var d=u.exec(e);p=f;f+=d[0];h=p+d[1];l=u.lastIndex;if(o[h]||t&&t[h]===h){continue}var v;if(t&&Object.prototype.hasOwnProperty.call(t,h)){v=t[h]}else{var y=s.lstatSync(h);if(!y.isSymbolicLink()){o[h]=true;if(t)t[h]=h;continue}var g=null;if(!n){var b=y.dev.toString(32)+":"+y.ino.toString(32);if(a.hasOwnProperty(b)){g=a[b]}}if(g===null){s.statSync(h);g=s.readlinkSync(h)}v=r.resolve(p,g);if(t)t[h]=v;if(!n)a[b]=g}e=r.resolve(v,e.slice(l));start()}if(t)t[i]=e;return e};t.realpath=function realpath(e,t,i){if(typeof i!=="function"){i=maybeCallback(t);t=null}e=r.resolve(e);if(t&&Object.prototype.hasOwnProperty.call(t,e)){return process.nextTick(i.bind(null,null,t[e]))}var a=e,o={},l={};var f;var h;var p;var d;start();function start(){var t=c.exec(e);f=t[0].length;h=t[0];p=t[0];d="";if(n&&!l[p]){s.lstat(p,function(e){if(e)return i(e);l[p]=true;LOOP()})}else{process.nextTick(LOOP)}}function LOOP(){if(f>=e.length){if(t)t[a]=e;return i(null,e)}u.lastIndex=f;var r=u.exec(e);d=h;h+=r[0];p=d+r[1];f=u.lastIndex;if(l[p]||t&&t[p]===p){return process.nextTick(LOOP)}if(t&&Object.prototype.hasOwnProperty.call(t,p)){return gotResolvedLink(t[p])}return s.lstat(p,gotStat)}function gotStat(e,r){if(e)return i(e);if(!r.isSymbolicLink()){l[p]=true;if(t)t[p]=p;return process.nextTick(LOOP)}if(!n){var a=r.dev.toString(32)+":"+r.ino.toString(32);if(o.hasOwnProperty(a)){return gotTarget(null,o[a],p)}}s.stat(p,function(e){if(e)return i(e);s.readlink(p,function(e,t){if(!n)o[a]=t;gotTarget(e,t)})})}function gotTarget(e,n,s){if(e)return i(e);var a=r.resolve(d,n);if(t)t[s]=a;gotResolvedLink(a)}function gotResolvedLink(t){e=r.resolve(t,e.slice(f));start()}}},1271:(e,t,i)=>{"use strict";var r=i(1021);var n=i(5791);e.exports={activityIndicator:function(e,t,i){if(e.spun==null)return;return r(t,e.spun)},progressbar:function(e,t,i){if(e.completed==null)return;return n(t,i,e.completed)}}},2479:(e,t,i)=>{"use strict";var r=i(1669);var n=t.User=function User(e){var t=new Error(e);Error.captureStackTrace(t,User);t.code="EGAUGE";return t};t.MissingTemplateValue=function MissingTemplateValue(e,t){var i=new n(r.format('Missing template value "%s"',e.type));Error.captureStackTrace(i,MissingTemplateValue);i.template=e;i.values=t;return i};t.Internal=function Internal(e){var t=new Error(e);Error.captureStackTrace(t,Internal);t.code="EGAUGEINTERNAL";return t}},3278:e=>{"use strict";e.exports=isWin32()||isColorTerm();function isWin32(){return process.platform==="win32"}function isColorTerm(){var e=/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i;return!!process.env.COLORTERM||e.test(process.env.TERM)}},6054:(e,t,i)=>{"use strict";var r=i(4708);var n=i(7963);var s=i(3278);var a=i(2028);var o=i(7987);var u=i(75);var c=i(9186);var l=i(6401);e.exports=Gauge;function callWith(e,t){return function(){return t.call(e)}}function Gauge(e,t){var i,n;if(e&&e.write){n=e;i=t||{}}else if(t&&t.write){n=t;i=e||{}}else{n=c.stderr;i=e||t||{}}this._status={spun:0,section:"",subsection:""};this._paused=false;this._disabled=true;this._showing=false;this._onScreen=false;this._needsRedraw=false;this._hideCursor=i.hideCursor==null?true:i.hideCursor;this._fixedFramerate=i.fixedFramerate==null?!/^v0\.8\./.test(c.version):i.fixedFramerate;this._lastUpdateAt=null;this._updateInterval=i.updateInterval==null?50:i.updateInterval;this._themes=i.themes||o;this._theme=i.theme;var s=this._computeTheme(i.theme);var a=i.template||[{type:"progressbar",length:20},{type:"activityIndicator",kerning:1,length:1},{type:"section",kerning:1,default:""},{type:"subsection",kerning:1,default:""}];this.setWriteTo(n,i.tty);var u=i.Plumbing||r;this._gauge=new u(s,a,this.getWidth());this._$$doRedraw=callWith(this,this._doRedraw);this._$$handleSizeChange=callWith(this,this._handleSizeChange);this._cleanupOnExit=i.cleanupOnExit==null||i.cleanupOnExit;this._removeOnExit=null;if(i.enabled||i.enabled==null&&this._tty&&this._tty.isTTY){this.enable()}else{this.disable()}}Gauge.prototype={};Gauge.prototype.isEnabled=function(){return!this._disabled};Gauge.prototype.setTemplate=function(e){this._gauge.setTemplate(e);if(this._showing)this._requestRedraw()};Gauge.prototype._computeTheme=function(e){if(!e)e={};if(typeof e==="string"){e=this._themes.getTheme(e)}else if(e&&(Object.keys(e).length===0||e.hasUnicode!=null||e.hasColor!=null)){var t=e.hasUnicode==null?n():e.hasUnicode;var i=e.hasColor==null?s:e.hasColor;e=this._themes.getDefault({hasUnicode:t,hasColor:i,platform:e.platform})}return e};Gauge.prototype.setThemeset=function(e){this._themes=e;this.setTheme(this._theme)};Gauge.prototype.setTheme=function(e){this._gauge.setTheme(this._computeTheme(e));if(this._showing)this._requestRedraw();this._theme=e};Gauge.prototype._requestRedraw=function(){this._needsRedraw=true;if(!this._fixedFramerate)this._doRedraw()};Gauge.prototype.getWidth=function(){return(this._tty&&this._tty.columns||80)-1};Gauge.prototype.setWriteTo=function(e,t){var i=!this._disabled;if(i)this.disable();this._writeTo=e;this._tty=t||e===c.stderr&&c.stdout.isTTY&&c.stdout||e.isTTY&&e||this._tty;if(this._gauge)this._gauge.setWidth(this.getWidth());if(i)this.enable()};Gauge.prototype.enable=function(){if(!this._disabled)return;this._disabled=false;if(this._tty)this._enableEvents();if(this._showing)this.show()};Gauge.prototype.disable=function(){if(this._disabled)return;if(this._showing){this._lastUpdateAt=null;this._showing=false;this._doRedraw();this._showing=true}this._disabled=true;if(this._tty)this._disableEvents()};Gauge.prototype._enableEvents=function(){if(this._cleanupOnExit){this._removeOnExit=a(callWith(this,this.disable))}this._tty.on("resize",this._$$handleSizeChange);if(this._fixedFramerate){this.redrawTracker=u(this._$$doRedraw,this._updateInterval);if(this.redrawTracker.unref)this.redrawTracker.unref()}};Gauge.prototype._disableEvents=function(){this._tty.removeListener("resize",this._$$handleSizeChange);if(this._fixedFramerate)clearInterval(this.redrawTracker);if(this._removeOnExit)this._removeOnExit()};Gauge.prototype.hide=function(e){if(this._disabled)return e&&c.nextTick(e);if(!this._showing)return e&&c.nextTick(e);this._showing=false;this._doRedraw();e&&l(e)};Gauge.prototype.show=function(e,t){this._showing=true;if(typeof e==="string"){this._status.section=e}else if(typeof e==="object"){var i=Object.keys(e);for(var r=0;r<i.length;++r){var n=i[r];this._status[n]=e[n]}}if(t!=null)this._status.completed=t;if(this._disabled)return;this._requestRedraw()};Gauge.prototype.pulse=function(e){this._status.subsection=e||"";this._status.spun++;if(this._disabled)return;if(!this._showing)return;this._requestRedraw()};Gauge.prototype._handleSizeChange=function(){this._gauge.setWidth(this._tty.columns-1);this._requestRedraw()};Gauge.prototype._doRedraw=function(){if(this._disabled||this._paused)return;if(!this._fixedFramerate){var e=Date.now();if(this._lastUpdateAt&&e-this._lastUpdateAt<this._updateInterval)return;this._lastUpdateAt=e}if(!this._showing&&this._onScreen){this._onScreen=false;var t=this._gauge.hide();if(this._hideCursor){t+=this._gauge.showCursor()}return this._writeTo.write(t)}if(!this._showing&&!this._onScreen)return;if(this._showing&&!this._onScreen){this._onScreen=true;this._needsRedraw=true;if(this._hideCursor){this._writeTo.write(this._gauge.hideCursor())}}if(!this._needsRedraw)return;if(!this._writeTo.write(this._gauge.show(this._status))){this._paused=true;this._writeTo.on("drain",callWith(this,function(){this._paused=false;this._doRedraw()}))}}},6062:(e,t,i)=>{"use strict";var r=i(8753);e.exports=function(e){if(r(e)){return false}if(e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&e!==12351||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)){return true}return false}},5511:(e,t,i)=>{"use strict";var r=i(1361);var n=i(6708);var s=i(6062);e.exports=function(e){if(typeof e!=="string"||e.length===0){return 0}var t=0;e=r(e);for(var i=0;i<e.length;i++){var a=n(e,i);if(a<=31||a>=127&&a<=159){continue}if(a>=65536){i++}if(s(a)){t+=2}else{t++}}return t}},4708:(e,t,i)=>{"use strict";var r=i(6322);var n=i(5718);var s=i(5534);var a=e.exports=function(e,t,i){if(!i)i=80;s("OAN",[e,t,i]);this.showing=false;this.theme=e;this.width=i;this.template=t};a.prototype={};a.prototype.setTheme=function(e){s("O",[e]);this.theme=e};a.prototype.setTemplate=function(e){s("A",[e]);this.template=e};a.prototype.setWidth=function(e){s("N",[e]);this.width=e};a.prototype.hide=function(){return r.gotoSOL()+r.eraseLine()};a.prototype.hideCursor=r.hideCursor;a.prototype.showCursor=r.showCursor;a.prototype.show=function(e){var t=Object.create(this.theme);for(var i in e){t[i]=e[i]}return n(this.width,this.template,t).trim()+r.color("reset")+r.eraseLine()+r.gotoSOL()}},9186:e=>{"use strict";e.exports=process},5791:(e,t,i)=>{"use strict";var r=i(5534);var n=i(5718);var s=i(2343);var a=i(5511);e.exports=function(e,t,i){r("ONN",[e,t,i]);if(i<0)i=0;if(i>1)i=1;if(t<=0)return"";var s=Math.round(t*i);var a=t-s;var o=[{type:"complete",value:repeat(e.complete,s),length:s},{type:"remaining",value:repeat(e.remaining,a),length:a}];return n(t,o,e)};function repeat(e,t){var i="";var r=t;do{if(r%2){i+=e}r=Math.floor(r/2);e+=e}while(r&&a(i)<t);return s(i,t)}},5718:(e,t,i)=>{"use strict";var r=i(7568);var n=i(5534);var s=i(1800);var a=i(2343);var o=i(2479);var u=i(5205);function renderValueWithValues(e){return function(t){return renderValue(t,e)}}var c=e.exports=function(e,t,i){var n=prepareItems(e,t,i);var s=n.map(renderValueWithValues(i)).join("");return r.left(a(s,e),e)};function preType(e){var t=e.type[0].toUpperCase()+e.type.slice(1);return"pre"+t}function postType(e){var t=e.type[0].toUpperCase()+e.type.slice(1);return"post"+t}function hasPreOrPost(e,t){if(!e.type)return;return t[preType(e)]||t[postType(e)]}function generatePreAndPost(e,t){var i=s({},e);var r=Object.create(t);var n=[];var a=preType(i);var o=postType(i);if(r[a]){n.push({value:r[a]});r[a]=null}i.minLength=null;i.length=null;i.maxLength=null;n.push(i);r[i.type]=r[i.type];if(r[o]){n.push({value:r[o]});r[o]=null}return function(e,t,i){return c(i,n,r)}}function prepareItems(e,t,i){function cloneAndObjectify(t,r,n){var s=new u(t,e);var a=s.type;if(s.value==null){if(!(a in i)){if(s.default==null){throw new o.MissingTemplateValue(s,i)}else{s.value=s.default}}else{s.value=i[a]}}if(s.value==null||s.value==="")return null;s.index=r;s.first=r===0;s.last=r===n.length-1;if(hasPreOrPost(s,i))s.value=generatePreAndPost(s,i);return s}var r=t.map(cloneAndObjectify).filter(function(e){return e!=null});var n=0;var s=e;var a=r.length;function consumeSpace(e){if(e>s)e=s;n+=e;s-=e}function finishSizing(e,t){if(e.finished)throw new o.Internal("Tried to finish template item that was already finished");if(t===Infinity)throw new o.Internal("Length of template item cannot be infinity");if(t!=null)e.length=t;e.minLength=null;e.maxLength=null;--a;e.finished=true;if(e.length==null)e.length=e.getBaseLength();if(e.length==null)throw new o.Internal("Finished template items must have a length");consumeSpace(e.getLength())}r.forEach(function(e){if(!e.kerning)return;var t=e.first?0:r[e.index-1].padRight;if(!e.first&&t<e.kerning)e.padLeft=e.kerning-t;if(!e.last)e.padRight=e.kerning});r.forEach(function(e){if(e.getBaseLength()==null)return;finishSizing(e)});var c=0;var l;var f;do{l=false;f=Math.round(s/a);r.forEach(function(e){if(e.finished)return;if(!e.maxLength)return;if(e.getMaxLength()<f){finishSizing(e,e.maxLength);l=true}})}while(l&&c++<r.length);if(l)throw new o.Internal("Resize loop iterated too many times while determining maxLength");c=0;do{l=false;f=Math.round(s/a);r.forEach(function(e){if(e.finished)return;if(!e.minLength)return;if(e.getMinLength()>=f){finishSizing(e,e.minLength);l=true}})}while(l&&c++<r.length);if(l)throw new o.Internal("Resize loop iterated too many times while determining minLength");f=Math.round(s/a);r.forEach(function(e){if(e.finished)return;finishSizing(e,f)});return r}function renderFunction(e,t,i){n("OON",arguments);if(e.type){return e.value(t,t[e.type+"Theme"]||{},i)}else{return e.value(t,{},i)}}function renderValue(e,t){var i=e.getBaseLength();var n=typeof e.value==="function"?renderFunction(e,t,i):e.value;if(n==null||n==="")return"";var s=r[e.align]||r.left;var o=e.padLeft?r.left("",e.padLeft):"";var u=e.padRight?r.right("",e.padRight):"";var c=a(String(n),i);var l=s(c,i);return o+l+u}},6401:(e,t,i)=>{"use strict";var r=i(9186);try{e.exports=setImmediate}catch(t){e.exports=r.nextTick}},75:e=>{"use strict";e.exports=setInterval},1021:e=>{"use strict";e.exports=function spin(e,t){return e[t%e.length]}},5205:(e,t,i)=>{"use strict";var r=i(5511);e.exports=TemplateItem;function isPercent(e){if(typeof e!=="string")return false;return e.slice(-1)==="%"}function percent(e){return Number(e.slice(0,-1))/100}function TemplateItem(e,t){this.overallOutputLength=t;this.finished=false;this.type=null;this.value=null;this.length=null;this.maxLength=null;this.minLength=null;this.kerning=null;this.align="left";this.padLeft=0;this.padRight=0;this.index=null;this.first=null;this.last=null;if(typeof e==="string"){this.value=e}else{for(var i in e)this[i]=e[i]}if(isPercent(this.length)){this.length=Math.round(this.overallOutputLength*percent(this.length))}if(isPercent(this.minLength)){this.minLength=Math.round(this.overallOutputLength*percent(this.minLength))}if(isPercent(this.maxLength)){this.maxLength=Math.round(this.overallOutputLength*percent(this.maxLength))}return this}TemplateItem.prototype={};TemplateItem.prototype.getBaseLength=function(){var e=this.length;if(e==null&&typeof this.value==="string"&&this.maxLength==null&&this.minLength==null){e=r(this.value)}return e};TemplateItem.prototype.getLength=function(){var e=this.getBaseLength();if(e==null)return null;return e+this.padLeft+this.padRight};TemplateItem.prototype.getMaxLength=function(){if(this.maxLength==null)return null;return this.maxLength+this.padLeft+this.padRight};TemplateItem.prototype.getMinLength=function(){if(this.minLength==null)return null;return this.minLength+this.padLeft+this.padRight}},3117:(e,t,i)=>{"use strict";var r=i(1800);e.exports=function(){return n.newThemeSet()};var n={};n.baseTheme=i(1271);n.newTheme=function(e,t){if(!t){t=e;e=this.baseTheme}return r({},e,t)};n.getThemeNames=function(){return Object.keys(this.themes)};n.addTheme=function(e,t,i){this.themes[e]=this.newTheme(t,i)};n.addToAllThemes=function(e){var t=this.themes;Object.keys(t).forEach(function(i){r(t[i],e)});r(this.baseTheme,e)};n.getTheme=function(e){if(!this.themes[e])throw this.newMissingThemeError(e);return this.themes[e]};n.setDefault=function(e,t){if(t==null){t=e;e={}}var i=e.platform==null?"fallback":e.platform;var r=!!e.hasUnicode;var n=!!e.hasColor;if(!this.defaults[i])this.defaults[i]={true:{},false:{}};this.defaults[i][r][n]=t};n.getDefault=function(e){if(!e)e={};var t=e.platform||process.platform;var i=this.defaults[t]||this.defaults.fallback;var n=!!e.hasUnicode;var s=!!e.hasColor;if(!i)throw this.newMissingDefaultThemeError(t,n,s);if(!i[n][s]){if(n&&s&&i[!n][s]){n=false}else if(n&&s&&i[n][!s]){s=false}else if(n&&s&&i[!n][!s]){n=false;s=false}else if(n&&!s&&i[!n][s]){n=false}else if(!n&&s&&i[n][!s]){s=false}else if(i===this.defaults.fallback){throw this.newMissingDefaultThemeError(t,n,s)}}if(i[n][s]){return this.getTheme(i[n][s])}else{return this.getDefault(r({},e,{platform:"fallback"}))}};n.newMissingThemeError=function newMissingThemeError(e){var t=new Error('Could not find a gauge theme named "'+e+'"');Error.captureStackTrace.call(t,newMissingThemeError);t.theme=e;t.code="EMISSINGTHEME";return t};n.newMissingDefaultThemeError=function newMissingDefaultThemeError(e,t,i){var r=new Error("Could not find a gauge theme for your platform/unicode/color use combo:\n"+" platform = "+e+"\n"+" hasUnicode = "+t+"\n"+" hasColor = "+i);Error.captureStackTrace.call(r,newMissingDefaultThemeError);r.platform=e;r.hasUnicode=t;r.hasColor=i;r.code="EMISSINGTHEME";return r};n.newThemeSet=function(){var e=function(t){return e.getDefault(t)};return r(e,n,{themes:r({},this.themes),baseTheme:r({},this.baseTheme),defaults:JSON.parse(JSON.stringify(this.defaults||{}))})}},7987:(e,t,i)=>{"use strict";var r=i(6322);var n=i(3117);var s=e.exports=new n;s.addTheme("ASCII",{preProgressbar:"[",postProgressbar:"]",progressbarTheme:{complete:"#",remaining:"."},activityIndicatorTheme:"-\\|/",preSubsection:">"});s.addTheme("colorASCII",s.getTheme("ASCII"),{progressbarTheme:{preComplete:r.color("inverse"),complete:" ",postComplete:r.color("stopInverse"),preRemaining:r.color("brightBlack"),remaining:".",postRemaining:r.color("reset")}});s.addTheme("brailleSpinner",{preProgressbar:"⸨",postProgressbar:"⸩",progressbarTheme:{complete:"░",remaining:"⠂"},activityIndicatorTheme:"⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏",preSubsection:">"});s.addTheme("colorBrailleSpinner",s.getTheme("brailleSpinner"),{progressbarTheme:{preComplete:r.color("inverse"),complete:" ",postComplete:r.color("stopInverse"),preRemaining:r.color("brightBlack"),remaining:"░",postRemaining:r.color("reset")}});s.setDefault({},"ASCII");s.setDefault({hasColor:true},"colorASCII");s.setDefault({platform:"darwin",hasUnicode:true},"brailleSpinner");s.setDefault({platform:"darwin",hasUnicode:true,hasColor:true},"colorBrailleSpinner")},2343:(e,t,i)=>{"use strict";var r=i(5511);var n=i(1361);e.exports=wideTruncate;function wideTruncate(e,t){if(r(e)===0)return e;if(t<=0)return"";if(r(e)<=t)return e;var i=n(e);var s=e.length+i.length;var a=e.slice(0,t+s);while(r(a)>t){a=a.slice(0,-1)}return a}},2821:(e,t,i)=>{t.alphasort=alphasort;t.alphasorti=alphasorti;t.setopts=setopts;t.ownProp=ownProp;t.makeAbs=makeAbs;t.finish=finish;t.mark=mark;t.isIgnored=isIgnored;t.childrenIgnored=childrenIgnored;function ownProp(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var r=i(5622);var n=i(9566);var s=i(1323);var a=n.Minimatch;function alphasorti(e,t){return e.toLowerCase().localeCompare(t.toLowerCase())}function alphasort(e,t){return e.localeCompare(t)}function setupIgnores(e,t){e.ignore=t.ignore||[];if(!Array.isArray(e.ignore))e.ignore=[e.ignore];if(e.ignore.length){e.ignore=e.ignore.map(ignoreMap)}}function ignoreMap(e){var t=null;if(e.slice(-3)==="/**"){var i=e.replace(/(\/\*\*)+$/,"");t=new a(i,{dot:true})}return{matcher:new a(e,{dot:true}),gmatcher:t}}function setopts(e,t,i){if(!i)i={};if(i.matchBase&&-1===t.indexOf("/")){if(i.noglobstar){throw new Error("base matching requires globstar")}t="**/"+t}e.silent=!!i.silent;e.pattern=t;e.strict=i.strict!==false;e.realpath=!!i.realpath;e.realpathCache=i.realpathCache||Object.create(null);e.follow=!!i.follow;e.dot=!!i.dot;e.mark=!!i.mark;e.nodir=!!i.nodir;if(e.nodir)e.mark=true;e.sync=!!i.sync;e.nounique=!!i.nounique;e.nonull=!!i.nonull;e.nosort=!!i.nosort;e.nocase=!!i.nocase;e.stat=!!i.stat;e.noprocess=!!i.noprocess;e.absolute=!!i.absolute;e.maxLength=i.maxLength||Infinity;e.cache=i.cache||Object.create(null);e.statCache=i.statCache||Object.create(null);e.symlinks=i.symlinks||Object.create(null);setupIgnores(e,i);e.changedCwd=false;var n=process.cwd();if(!ownProp(i,"cwd"))e.cwd=n;else{e.cwd=r.resolve(i.cwd);e.changedCwd=e.cwd!==n}e.root=i.root||r.resolve(e.cwd,"/");e.root=r.resolve(e.root);if(process.platform==="win32")e.root=e.root.replace(/\\/g,"/");e.cwdAbs=s(e.cwd)?e.cwd:makeAbs(e,e.cwd);if(process.platform==="win32")e.cwdAbs=e.cwdAbs.replace(/\\/g,"/");e.nomount=!!i.nomount;i.nonegate=true;i.nocomment=true;e.minimatch=new a(t,i);e.options=e.minimatch.options}function finish(e){var t=e.nounique;var i=t?[]:Object.create(null);for(var r=0,n=e.matches.length;r<n;r++){var s=e.matches[r];if(!s||Object.keys(s).length===0){if(e.nonull){var a=e.minimatch.globSet[r];if(t)i.push(a);else i[a]=true}}else{var o=Object.keys(s);if(t)i.push.apply(i,o);else o.forEach(function(e){i[e]=true})}}if(!t)i=Object.keys(i);if(!e.nosort)i=i.sort(e.nocase?alphasorti:alphasort);if(e.mark){for(var r=0;r<i.length;r++){i[r]=e._mark(i[r])}if(e.nodir){i=i.filter(function(t){var i=!/\/$/.test(t);var r=e.cache[t]||e.cache[makeAbs(e,t)];if(i&&r)i=r!=="DIR"&&!Array.isArray(r);return i})}}if(e.ignore.length)i=i.filter(function(t){return!isIgnored(e,t)});e.found=i}function mark(e,t){var i=makeAbs(e,t);var r=e.cache[i];var n=t;if(r){var s=r==="DIR"||Array.isArray(r);var a=t.slice(-1)==="/";if(s&&!a)n+="/";else if(!s&&a)n=n.slice(0,-1);if(n!==t){var o=makeAbs(e,n);e.statCache[o]=e.statCache[i];e.cache[o]=e.cache[i]}}return n}function makeAbs(e,t){var i=t;if(t.charAt(0)==="/"){i=r.join(e.root,t)}else if(s(t)||t===""){i=t}else if(e.changedCwd){i=r.resolve(e.cwd,t)}else{i=r.resolve(t)}if(process.platform==="win32")i=i.replace(/\\/g,"/");return i}function isIgnored(e,t){if(!e.ignore.length)return false;return e.ignore.some(function(e){return e.matcher.match(t)||!!(e.gmatcher&&e.gmatcher.match(t))})}function childrenIgnored(e,t){if(!e.ignore.length)return false;return e.ignore.some(function(e){return!!(e.gmatcher&&e.gmatcher.match(t))})}},3700:(e,t,i)=>{e.exports=glob;var r=i(5747);var n=i(8945);var s=i(9566);var a=s.Minimatch;var o=i(6919);var u=i(8614).EventEmitter;var c=i(5622);var l=i(2357);var f=i(1323);var h=i(7433);var p=i(2821);var d=p.alphasort;var v=p.alphasorti;var y=p.setopts;var g=p.ownProp;var b=i(9442);var m=i(1669);var _=p.childrenIgnored;var w=p.isIgnored;var E=i(7197);function glob(e,t,i){if(typeof t==="function")i=t,t={};if(!t)t={};if(t.sync){if(i)throw new TypeError("callback provided to sync glob");return h(e,t)}return new Glob(e,t,i)}glob.sync=h;var S=glob.GlobSync=h.GlobSync;glob.glob=glob;function extend(e,t){if(t===null||typeof t!=="object"){return e}var i=Object.keys(t);var r=i.length;while(r--){e[i[r]]=t[i[r]]}return e}glob.hasMagic=function(e,t){var i=extend({},t);i.noprocess=true;var r=new Glob(e,i);var n=r.minimatch.set;if(!e)return false;if(n.length>1)return true;for(var s=0;s<n[0].length;s++){if(typeof n[0][s]!=="string")return true}return false};glob.Glob=Glob;o(Glob,u);function Glob(e,t,i){if(typeof t==="function"){i=t;t=null}if(t&&t.sync){if(i)throw new TypeError("callback provided to sync glob");return new S(e,t)}if(!(this instanceof Glob))return new Glob(e,t,i);y(this,e,t);this._didRealPath=false;var r=this.minimatch.set.length;this.matches=new Array(r);if(typeof i==="function"){i=E(i);this.on("error",i);this.on("end",function(e){i(null,e)})}var n=this;this._processing=0;this._emitQueue=[];this._processQueue=[];this.paused=false;if(this.noprocess)return this;if(r===0)return done();var s=true;for(var a=0;a<r;a++){this._process(this.minimatch.set[a],a,false,done)}s=false;function done(){--n._processing;if(n._processing<=0){if(s){process.nextTick(function(){n._finish()})}else{n._finish()}}}}Glob.prototype._finish=function(){l(this instanceof Glob);if(this.aborted)return;if(this.realpath&&!this._didRealpath)return this._realpath();p.finish(this);this.emit("end",this.found)};Glob.prototype._realpath=function(){if(this._didRealpath)return;this._didRealpath=true;var e=this.matches.length;if(e===0)return this._finish();var t=this;for(var i=0;i<this.matches.length;i++)this._realpathSet(i,next);function next(){if(--e===0)t._finish()}};Glob.prototype._realpathSet=function(e,t){var i=this.matches[e];if(!i)return t();var r=Object.keys(i);var s=this;var a=r.length;if(a===0)return t();var o=this.matches[e]=Object.create(null);r.forEach(function(i,r){i=s._makeAbs(i);n.realpath(i,s.realpathCache,function(r,n){if(!r)o[n]=true;else if(r.syscall==="stat")o[i]=true;else s.emit("error",r);if(--a===0){s.matches[e]=o;t()}})})};Glob.prototype._mark=function(e){return p.mark(this,e)};Glob.prototype._makeAbs=function(e){return p.makeAbs(this,e)};Glob.prototype.abort=function(){this.aborted=true;this.emit("abort")};Glob.prototype.pause=function(){if(!this.paused){this.paused=true;this.emit("pause")}};Glob.prototype.resume=function(){if(this.paused){this.emit("resume");this.paused=false;if(this._emitQueue.length){var e=this._emitQueue.slice(0);this._emitQueue.length=0;for(var t=0;t<e.length;t++){var i=e[t];this._emitMatch(i[0],i[1])}}if(this._processQueue.length){var r=this._processQueue.slice(0);this._processQueue.length=0;for(var t=0;t<r.length;t++){var n=r[t];this._processing--;this._process(n[0],n[1],n[2],n[3])}}}};Glob.prototype._process=function(e,t,i,r){l(this instanceof Glob);l(typeof r==="function");if(this.aborted)return;this._processing++;if(this.paused){this._processQueue.push([e,t,i,r]);return}var n=0;while(typeof e[n]==="string"){n++}var a;switch(n){case e.length:this._processSimple(e.join("/"),t,r);return;case 0:a=null;break;default:a=e.slice(0,n).join("/");break}var o=e.slice(n);var u;if(a===null)u=".";else if(f(a)||f(e.join("/"))){if(!a||!f(a))a="/"+a;u=a}else u=a;var c=this._makeAbs(u);if(_(this,u))return r();var h=o[0]===s.GLOBSTAR;if(h)this._processGlobStar(a,u,c,o,t,i,r);else this._processReaddir(a,u,c,o,t,i,r)};Glob.prototype._processReaddir=function(e,t,i,r,n,s,a){var o=this;this._readdir(i,s,function(u,c){return o._processReaddir2(e,t,i,r,n,s,c,a)})};Glob.prototype._processReaddir2=function(e,t,i,r,n,s,a,o){if(!a)return o();var u=r[0];var l=!!this.minimatch.negate;var f=u._glob;var h=this.dot||f.charAt(0)===".";var p=[];for(var d=0;d<a.length;d++){var v=a[d];if(v.charAt(0)!=="."||h){var y;if(l&&!e){y=!v.match(u)}else{y=v.match(u)}if(y)p.push(v)}}var g=p.length;if(g===0)return o();if(r.length===1&&!this.mark&&!this.stat){if(!this.matches[n])this.matches[n]=Object.create(null);for(var d=0;d<g;d++){var v=p[d];if(e){if(e!=="/")v=e+"/"+v;else v=e+v}if(v.charAt(0)==="/"&&!this.nomount){v=c.join(this.root,v)}this._emitMatch(n,v)}return o()}r.shift();for(var d=0;d<g;d++){var v=p[d];var b;if(e){if(e!=="/")v=e+"/"+v;else v=e+v}this._process([v].concat(r),n,s,o)}o()};Glob.prototype._emitMatch=function(e,t){if(this.aborted)return;if(w(this,t))return;if(this.paused){this._emitQueue.push([e,t]);return}var i=f(t)?t:this._makeAbs(t);if(this.mark)t=this._mark(t);if(this.absolute)t=i;if(this.matches[e][t])return;if(this.nodir){var r=this.cache[i];if(r==="DIR"||Array.isArray(r))return}this.matches[e][t]=true;var n=this.statCache[i];if(n)this.emit("stat",t,n);this.emit("match",t)};Glob.prototype._readdirInGlobStar=function(e,t){if(this.aborted)return;if(this.follow)return this._readdir(e,false,t);var i="lstat\0"+e;var n=this;var s=b(i,lstatcb_);if(s)r.lstat(e,s);function lstatcb_(i,r){if(i&&i.code==="ENOENT")return t();var s=r&&r.isSymbolicLink();n.symlinks[e]=s;if(!s&&r&&!r.isDirectory()){n.cache[e]="FILE";t()}else n._readdir(e,false,t)}};Glob.prototype._readdir=function(e,t,i){if(this.aborted)return;i=b("readdir\0"+e+"\0"+t,i);if(!i)return;if(t&&!g(this.symlinks,e))return this._readdirInGlobStar(e,i);if(g(this.cache,e)){var n=this.cache[e];if(!n||n==="FILE")return i();if(Array.isArray(n))return i(null,n)}var s=this;r.readdir(e,readdirCb(this,e,i))};function readdirCb(e,t,i){return function(r,n){if(r)e._readdirError(t,r,i);else e._readdirEntries(t,n,i)}}Glob.prototype._readdirEntries=function(e,t,i){if(this.aborted)return;if(!this.mark&&!this.stat){for(var r=0;r<t.length;r++){var n=t[r];if(e==="/")n=e+n;else n=e+"/"+n;this.cache[n]=true}}this.cache[e]=t;return i(null,t)};Glob.prototype._readdirError=function(e,t,i){if(this.aborted)return;switch(t.code){case"ENOTSUP":case"ENOTDIR":var r=this._makeAbs(e);this.cache[r]="FILE";if(r===this.cwdAbs){var n=new Error(t.code+" invalid cwd "+this.cwd);n.path=this.cwd;n.code=t.code;this.emit("error",n);this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(e)]=false;break;default:this.cache[this._makeAbs(e)]=false;if(this.strict){this.emit("error",t);this.abort()}if(!this.silent)console.error("glob error",t);break}return i()};Glob.prototype._processGlobStar=function(e,t,i,r,n,s,a){var o=this;this._readdir(i,s,function(u,c){o._processGlobStar2(e,t,i,r,n,s,c,a)})};Glob.prototype._processGlobStar2=function(e,t,i,r,n,s,a,o){if(!a)return o();var u=r.slice(1);var c=e?[e]:[];var l=c.concat(u);this._process(l,n,false,o);var f=this.symlinks[i];var h=a.length;if(f&&s)return o();for(var p=0;p<h;p++){var d=a[p];if(d.charAt(0)==="."&&!this.dot)continue;var v=c.concat(a[p],u);this._process(v,n,true,o);var y=c.concat(a[p],r);this._process(y,n,true,o)}o()};Glob.prototype._processSimple=function(e,t,i){var r=this;this._stat(e,function(n,s){r._processSimple2(e,t,n,s,i)})};Glob.prototype._processSimple2=function(e,t,i,r,n){if(!this.matches[t])this.matches[t]=Object.create(null);if(!r)return n();if(e&&f(e)&&!this.nomount){var s=/[\/\\]$/.test(e);if(e.charAt(0)==="/"){e=c.join(this.root,e)}else{e=c.resolve(this.root,e);if(s)e+="/"}}if(process.platform==="win32")e=e.replace(/\\/g,"/");this._emitMatch(t,e);n()};Glob.prototype._stat=function(e,t){var i=this._makeAbs(e);var n=e.slice(-1)==="/";if(e.length>this.maxLength)return t();if(!this.stat&&g(this.cache,i)){var s=this.cache[i];if(Array.isArray(s))s="DIR";if(!n||s==="DIR")return t(null,s);if(n&&s==="FILE")return t()}var a;var o=this.statCache[i];if(o!==undefined){if(o===false)return t(null,o);else{var u=o.isDirectory()?"DIR":"FILE";if(n&&u==="FILE")return t();else return t(null,u,o)}}var c=this;var l=b("stat\0"+i,lstatcb_);if(l)r.lstat(i,l);function lstatcb_(n,s){if(s&&s.isSymbolicLink()){return r.stat(i,function(r,n){if(r)c._stat2(e,i,null,s,t);else c._stat2(e,i,r,n,t)})}else{c._stat2(e,i,n,s,t)}}};Glob.prototype._stat2=function(e,t,i,r,n){if(i&&(i.code==="ENOENT"||i.code==="ENOTDIR")){this.statCache[t]=false;return n()}var s=e.slice(-1)==="/";this.statCache[t]=r;if(t.slice(-1)==="/"&&r&&!r.isDirectory())return n(null,false,r);var a=true;if(r)a=r.isDirectory()?"DIR":"FILE";this.cache[t]=this.cache[t]||a;if(s&&a==="FILE")return n();return n(null,a,r)}},7433:(e,t,i)=>{e.exports=globSync;globSync.GlobSync=GlobSync;var r=i(5747);var n=i(8945);var s=i(9566);var a=s.Minimatch;var o=i(3700).Glob;var u=i(1669);var c=i(5622);var l=i(2357);var f=i(1323);var h=i(2821);var p=h.alphasort;var d=h.alphasorti;var v=h.setopts;var y=h.ownProp;var g=h.childrenIgnored;var b=h.isIgnored;function globSync(e,t){if(typeof t==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");return new GlobSync(e,t).found}function GlobSync(e,t){if(!e)throw new Error("must provide pattern");if(typeof t==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof GlobSync))return new GlobSync(e,t);v(this,e,t);if(this.noprocess)return this;var i=this.minimatch.set.length;this.matches=new Array(i);for(var r=0;r<i;r++){this._process(this.minimatch.set[r],r,false)}this._finish()}GlobSync.prototype._finish=function(){l(this instanceof GlobSync);if(this.realpath){var e=this;this.matches.forEach(function(t,i){var r=e.matches[i]=Object.create(null);for(var s in t){try{s=e._makeAbs(s);var a=n.realpathSync(s,e.realpathCache);r[a]=true}catch(t){if(t.syscall==="stat")r[e._makeAbs(s)]=true;else throw t}}})}h.finish(this)};GlobSync.prototype._process=function(e,t,i){l(this instanceof GlobSync);var r=0;while(typeof e[r]==="string"){r++}var n;switch(r){case e.length:this._processSimple(e.join("/"),t);return;case 0:n=null;break;default:n=e.slice(0,r).join("/");break}var a=e.slice(r);var o;if(n===null)o=".";else if(f(n)||f(e.join("/"))){if(!n||!f(n))n="/"+n;o=n}else o=n;var u=this._makeAbs(o);if(g(this,o))return;var c=a[0]===s.GLOBSTAR;if(c)this._processGlobStar(n,o,u,a,t,i);else this._processReaddir(n,o,u,a,t,i)};GlobSync.prototype._processReaddir=function(e,t,i,r,n,s){var a=this._readdir(i,s);if(!a)return;var o=r[0];var u=!!this.minimatch.negate;var l=o._glob;var f=this.dot||l.charAt(0)===".";var h=[];for(var p=0;p<a.length;p++){var d=a[p];if(d.charAt(0)!=="."||f){var v;if(u&&!e){v=!d.match(o)}else{v=d.match(o)}if(v)h.push(d)}}var y=h.length;if(y===0)return;if(r.length===1&&!this.mark&&!this.stat){if(!this.matches[n])this.matches[n]=Object.create(null);for(var p=0;p<y;p++){var d=h[p];if(e){if(e.slice(-1)!=="/")d=e+"/"+d;else d=e+d}if(d.charAt(0)==="/"&&!this.nomount){d=c.join(this.root,d)}this._emitMatch(n,d)}return}r.shift();for(var p=0;p<y;p++){var d=h[p];var g;if(e)g=[e,d];else g=[d];this._process(g.concat(r),n,s)}};GlobSync.prototype._emitMatch=function(e,t){if(b(this,t))return;var i=this._makeAbs(t);if(this.mark)t=this._mark(t);if(this.absolute){t=i}if(this.matches[e][t])return;if(this.nodir){var r=this.cache[i];if(r==="DIR"||Array.isArray(r))return}this.matches[e][t]=true;if(this.stat)this._stat(t)};GlobSync.prototype._readdirInGlobStar=function(e){if(this.follow)return this._readdir(e,false);var t;var i;var n;try{i=r.lstatSync(e)}catch(e){if(e.code==="ENOENT"){return null}}var s=i&&i.isSymbolicLink();this.symlinks[e]=s;if(!s&&i&&!i.isDirectory())this.cache[e]="FILE";else t=this._readdir(e,false);return t};GlobSync.prototype._readdir=function(e,t){var i;if(t&&!y(this.symlinks,e))return this._readdirInGlobStar(e);if(y(this.cache,e)){var n=this.cache[e];if(!n||n==="FILE")return null;if(Array.isArray(n))return n}try{return this._readdirEntries(e,r.readdirSync(e))}catch(t){this._readdirError(e,t);return null}};GlobSync.prototype._readdirEntries=function(e,t){if(!this.mark&&!this.stat){for(var i=0;i<t.length;i++){var r=t[i];if(e==="/")r=e+r;else r=e+"/"+r;this.cache[r]=true}}this.cache[e]=t;return t};GlobSync.prototype._readdirError=function(e,t){switch(t.code){case"ENOTSUP":case"ENOTDIR":var i=this._makeAbs(e);this.cache[i]="FILE";if(i===this.cwdAbs){var r=new Error(t.code+" invalid cwd "+this.cwd);r.path=this.cwd;r.code=t.code;throw r}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(e)]=false;break;default:this.cache[this._makeAbs(e)]=false;if(this.strict)throw t;if(!this.silent)console.error("glob error",t);break}};GlobSync.prototype._processGlobStar=function(e,t,i,r,n,s){var a=this._readdir(i,s);if(!a)return;var o=r.slice(1);var u=e?[e]:[];var c=u.concat(o);this._process(c,n,false);var l=a.length;var f=this.symlinks[i];if(f&&s)return;for(var h=0;h<l;h++){var p=a[h];if(p.charAt(0)==="."&&!this.dot)continue;var d=u.concat(a[h],o);this._process(d,n,true);var v=u.concat(a[h],r);this._process(v,n,true)}};GlobSync.prototype._processSimple=function(e,t){var i=this._stat(e);if(!this.matches[t])this.matches[t]=Object.create(null);if(!i)return;if(e&&f(e)&&!this.nomount){var r=/[\/\\]$/.test(e);if(e.charAt(0)==="/"){e=c.join(this.root,e)}else{e=c.resolve(this.root,e);if(r)e+="/"}}if(process.platform==="win32")e=e.replace(/\\/g,"/");this._emitMatch(t,e)};GlobSync.prototype._stat=function(e){var t=this._makeAbs(e);var i=e.slice(-1)==="/";if(e.length>this.maxLength)return false;if(!this.stat&&y(this.cache,t)){var n=this.cache[t];if(Array.isArray(n))n="DIR";if(!i||n==="DIR")return n;if(i&&n==="FILE")return false}var s;var a=this.statCache[t];if(!a){var o;try{o=r.lstatSync(t)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR")){this.statCache[t]=false;return false}}if(o&&o.isSymbolicLink()){try{a=r.statSync(t)}catch(e){a=o}}else{a=o}}this.statCache[t]=a;var n=true;if(a)n=a.isDirectory()?"DIR":"FILE";this.cache[t]=this.cache[t]||n;if(i&&n==="FILE")return false;return n};GlobSync.prototype._mark=function(e){return h.mark(this,e)};GlobSync.prototype._makeAbs=function(e){return h.makeAbs(this,e)}},9132:e=>{"use strict";e.exports=clone;function clone(e){if(e===null||typeof e!=="object")return e;if(e instanceof Object)var t={__proto__:e.__proto__};else var t=Object.create(null);Object.getOwnPropertyNames(e).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))});return t}},552:(e,t,i)=>{var r=i(5747);var n=i(1290);var s=i(4410);var a=i(9132);var o=i(1669);var u;var c;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){u=Symbol.for("graceful-fs.queue");c=Symbol.for("graceful-fs.previous")}else{u="___graceful-fs.queue";c="___graceful-fs.previous"}function noop(){}function publishQueue(e,t){Object.defineProperty(e,u,{get:function(){return t}})}var l=noop;if(o.debuglog)l=o.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))l=function(){var e=o.format.apply(o,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: ");console.error(e)};if(!r[u]){var f=global[u]||[];publishQueue(r,f);r.close=function(e){function close(t,i){return e.call(r,t,function(e){if(!e){retry()}if(typeof i==="function")i.apply(this,arguments)})}Object.defineProperty(close,c,{value:e});return close}(r.close);r.closeSync=function(e){function closeSync(t){e.apply(r,arguments);retry()}Object.defineProperty(closeSync,c,{value:e});return closeSync}(r.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",function(){l(r[u]);i(2357).equal(r[u].length,0)})}}if(!global[u]){publishQueue(global,r[u])}e.exports=patch(a(r));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!r.__patched){e.exports=patch(r);r.__patched=true}function patch(e){n(e);e.gracefulify=patch;e.createReadStream=createReadStream;e.createWriteStream=createWriteStream;var t=e.readFile;e.readFile=readFile;function readFile(e,i,r){if(typeof i==="function")r=i,i=null;return go$readFile(e,i,r);function go$readFile(e,i,r){return t(e,i,function(t){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))enqueue([go$readFile,[e,i,r]]);else{if(typeof r==="function")r.apply(this,arguments);retry()}})}}var i=e.writeFile;e.writeFile=writeFile;function writeFile(e,t,r,n){if(typeof r==="function")n=r,r=null;return go$writeFile(e,t,r,n);function go$writeFile(e,t,r,n){return i(e,t,r,function(i){if(i&&(i.code==="EMFILE"||i.code==="ENFILE"))enqueue([go$writeFile,[e,t,r,n]]);else{if(typeof n==="function")n.apply(this,arguments);retry()}})}}var r=e.appendFile;if(r)e.appendFile=appendFile;function appendFile(e,t,i,n){if(typeof i==="function")n=i,i=null;return go$appendFile(e,t,i,n);function go$appendFile(e,t,i,n){return r(e,t,i,function(r){if(r&&(r.code==="EMFILE"||r.code==="ENFILE"))enqueue([go$appendFile,[e,t,i,n]]);else{if(typeof n==="function")n.apply(this,arguments);retry()}})}}var a=e.readdir;e.readdir=readdir;function readdir(e,t,i){var r=[e];if(typeof t!=="function"){r.push(t)}else{i=t}r.push(go$readdir$cb);return go$readdir(r);function go$readdir$cb(e,t){if(t&&t.sort)t.sort();if(e&&(e.code==="EMFILE"||e.code==="ENFILE"))enqueue([go$readdir,[r]]);else{if(typeof i==="function")i.apply(this,arguments);retry()}}}function go$readdir(t){return a.apply(e,t)}if(process.version.substr(0,4)==="v0.8"){var o=s(e);ReadStream=o.ReadStream;WriteStream=o.WriteStream}var u=e.ReadStream;if(u){ReadStream.prototype=Object.create(u.prototype);ReadStream.prototype.open=ReadStream$open}var c=e.WriteStream;if(c){WriteStream.prototype=Object.create(c.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(e,"ReadStream",{get:function(){return ReadStream},set:function(e){ReadStream=e},enumerable:true,configurable:true});Object.defineProperty(e,"WriteStream",{get:function(){return WriteStream},set:function(e){WriteStream=e},enumerable:true,configurable:true});var l=ReadStream;Object.defineProperty(e,"FileReadStream",{get:function(){return l},set:function(e){l=e},enumerable:true,configurable:true});var f=WriteStream;Object.defineProperty(e,"FileWriteStream",{get:function(){return f},set:function(e){f=e},enumerable:true,configurable:true});function ReadStream(e,t){if(this instanceof ReadStream)return u.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var e=this;open(e.path,e.flags,e.mode,function(t,i){if(t){if(e.autoClose)e.destroy();e.emit("error",t)}else{e.fd=i;e.emit("open",i);e.read()}})}function WriteStream(e,t){if(this instanceof WriteStream)return c.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var e=this;open(e.path,e.flags,e.mode,function(t,i){if(t){e.destroy();e.emit("error",t)}else{e.fd=i;e.emit("open",i)}})}function createReadStream(t,i){return new e.ReadStream(t,i)}function createWriteStream(t,i){return new e.WriteStream(t,i)}var h=e.open;e.open=open;function open(e,t,i,r){if(typeof i==="function")r=i,i=null;return go$open(e,t,i,r);function go$open(e,t,i,r){return h(e,t,i,function(n,s){if(n&&(n.code==="EMFILE"||n.code==="ENFILE"))enqueue([go$open,[e,t,i,r]]);else{if(typeof r==="function")r.apply(this,arguments);retry()}})}}return e}function enqueue(e){l("ENQUEUE",e[0].name,e[1]);r[u].push(e)}function retry(){var e=r[u].shift();if(e){l("RETRY",e[0].name,e[1]);e[0].apply(null,e[1])}}},4410:(e,t,i)=>{var r=i(2413).Stream;e.exports=legacy;function legacy(e){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(t,i){if(!(this instanceof ReadStream))return new ReadStream(t,i);r.call(this);var n=this;this.path=t;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;i=i||{};var s=Object.keys(i);for(var a=0,o=s.length;a<o;a++){var u=s[a];this[u]=i[u]}if(this.encoding)this.setEncoding(this.encoding);if(this.start!==undefined){if("number"!==typeof this.start){throw TypeError("start must be a Number")}if(this.end===undefined){this.end=Infinity}else if("number"!==typeof this.end){throw TypeError("end must be a Number")}if(this.start>this.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick(function(){n._read()});return}e.open(this.path,this.flags,this.mode,function(e,t){if(e){n.emit("error",e);n.readable=false;return}n.fd=t;n.emit("open",t);n._read()})}function WriteStream(t,i){if(!(this instanceof WriteStream))return new WriteStream(t,i);r.call(this);this.path=t;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;i=i||{};var n=Object.keys(i);for(var s=0,a=n.length;s<a;s++){var o=n[s];this[o]=i[o]}if(this.start!==undefined){if("number"!==typeof this.start){throw TypeError("start must be a Number")}if(this.start<0){throw new Error("start must be >= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=e.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},1290:(e,t,i)=>{var r=i(7619);var n=process.cwd;var s=null;var a=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!s)s=n.call(process);return s};try{process.cwd()}catch(e){}var o=process.chdir;process.chdir=function(e){s=null;o.call(process,e)};e.exports=patch;function patch(e){if(r.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(e)}if(!e.lutimes){patchLutimes(e)}e.chown=chownFix(e.chown);e.fchown=chownFix(e.fchown);e.lchown=chownFix(e.lchown);e.chmod=chmodFix(e.chmod);e.fchmod=chmodFix(e.fchmod);e.lchmod=chmodFix(e.lchmod);e.chownSync=chownFixSync(e.chownSync);e.fchownSync=chownFixSync(e.fchownSync);e.lchownSync=chownFixSync(e.lchownSync);e.chmodSync=chmodFixSync(e.chmodSync);e.fchmodSync=chmodFixSync(e.fchmodSync);e.lchmodSync=chmodFixSync(e.lchmodSync);e.stat=statFix(e.stat);e.fstat=statFix(e.fstat);e.lstat=statFix(e.lstat);e.statSync=statFixSync(e.statSync);e.fstatSync=statFixSync(e.fstatSync);e.lstatSync=statFixSync(e.lstatSync);if(!e.lchmod){e.lchmod=function(e,t,i){if(i)process.nextTick(i)};e.lchmodSync=function(){}}if(!e.lchown){e.lchown=function(e,t,i,r){if(r)process.nextTick(r)};e.lchownSync=function(){}}if(a==="win32"){e.rename=function(t){return function(i,r,n){var s=Date.now();var a=0;t(i,r,function CB(o){if(o&&(o.code==="EACCES"||o.code==="EPERM")&&Date.now()-s<6e4){setTimeout(function(){e.stat(r,function(e,s){if(e&&e.code==="ENOENT")t(i,r,CB);else n(o)})},a);if(a<100)a+=10;return}if(n)n(o)})}}(e.rename)}e.read=function(t){function read(i,r,n,s,a,o){var u;if(o&&typeof o==="function"){var c=0;u=function(l,f,h){if(l&&l.code==="EAGAIN"&&c<10){c++;return t.call(e,i,r,n,s,a,u)}o.apply(this,arguments)}}return t.call(e,i,r,n,s,a,u)}read.__proto__=t;return read}(e.read);e.readSync=function(t){return function(i,r,n,s,a){var o=0;while(true){try{return t.call(e,i,r,n,s,a)}catch(e){if(e.code==="EAGAIN"&&o<10){o++;continue}throw e}}}}(e.readSync);function patchLchmod(e){e.lchmod=function(t,i,n){e.open(t,r.O_WRONLY|r.O_SYMLINK,i,function(t,r){if(t){if(n)n(t);return}e.fchmod(r,i,function(t){e.close(r,function(e){if(n)n(t||e)})})})};e.lchmodSync=function(t,i){var n=e.openSync(t,r.O_WRONLY|r.O_SYMLINK,i);var s=true;var a;try{a=e.fchmodSync(n,i);s=false}finally{if(s){try{e.closeSync(n)}catch(e){}}else{e.closeSync(n)}}return a}}function patchLutimes(e){if(r.hasOwnProperty("O_SYMLINK")){e.lutimes=function(t,i,n,s){e.open(t,r.O_SYMLINK,function(t,r){if(t){if(s)s(t);return}e.futimes(r,i,n,function(t){e.close(r,function(e){if(s)s(t||e)})})})};e.lutimesSync=function(t,i,n){var s=e.openSync(t,r.O_SYMLINK);var a;var o=true;try{a=e.futimesSync(s,i,n);o=false}finally{if(o){try{e.closeSync(s)}catch(e){}}else{e.closeSync(s)}}return a}}else{e.lutimes=function(e,t,i,r){if(r)process.nextTick(r)};e.lutimesSync=function(){}}}function chmodFix(t){if(!t)return t;return function(i,r,n){return t.call(e,i,r,function(e){if(chownErOk(e))e=null;if(n)n.apply(this,arguments)})}}function chmodFixSync(t){if(!t)return t;return function(i,r){try{return t.call(e,i,r)}catch(e){if(!chownErOk(e))throw e}}}function chownFix(t){if(!t)return t;return function(i,r,n,s){return t.call(e,i,r,n,function(e){if(chownErOk(e))e=null;if(s)s.apply(this,arguments)})}}function chownFixSync(t){if(!t)return t;return function(i,r,n){try{return t.call(e,i,r,n)}catch(e){if(!chownErOk(e))throw e}}}function statFix(t){if(!t)return t;return function(i,r,n){if(typeof r==="function"){n=r;r=null}function callback(e,t){if(t){if(t.uid<0)t.uid+=4294967296;if(t.gid<0)t.gid+=4294967296}if(n)n.apply(this,arguments)}return r?t.call(e,i,r,callback):t.call(e,i,callback)}}function statFixSync(t){if(!t)return t;return function(i,r){var n=r?t.call(e,i,r):t.call(e,i);if(n.uid<0)n.uid+=4294967296;if(n.gid<0)n.gid+=4294967296;return n}}function chownErOk(e){if(!e)return true;if(e.code==="ENOSYS")return true;var t=!process.getuid||process.getuid()!==0;if(t){if(e.code==="EINVAL"||e.code==="EPERM")return true}return false}}},7963:(e,t,i)=>{"use strict";var r=i(2087);var n=e.exports=function(){if(r.type()=="Windows_NT"){return false}var e=/UTF-?8$/i;var t=process.env.LC_ALL||process.env.LC_CTYPE||process.env.LANG;return e.test(t)}},9442:(e,t,i)=>{var r=i(4586);var n=Object.create(null);var s=i(7197);e.exports=r(inflight);function inflight(e,t){if(n[e]){n[e].push(t);return null}else{n[e]=[t];return makeres(e)}}function makeres(e){return s(function RES(){var t=n[e];var i=t.length;var r=slice(arguments);try{for(var s=0;s<i;s++){t[s].apply(null,r)}}finally{if(t.length>i){t.splice(0,i);process.nextTick(function(){RES.apply(null,r)})}else{delete n[e]}}})}function slice(e){var t=e.length;var i=[];for(var r=0;r<t;r++)i[r]=e[r];return i}},6919:(e,t,i)=>{try{var r=i(1669);if(typeof r.inherits!=="function")throw"";e.exports=r.inherits}catch(t){e.exports=i(7526)}},7526:e=>{if(typeof Object.create==="function"){e.exports=function inherits(e,t){if(t){e.super_=t;e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}})}}}else{e.exports=function inherits(e,t){if(t){e.super_=t;var i=function(){};i.prototype=t.prototype;e.prototype=new i;e.prototype.constructor=e}}}},9842:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return t.call(e)=="[object Array]"}},1215:(e,t,i)=>{var r;try{r=i(552)}catch(e){r=i(5747)}function readFile(e,t,i){if(i==null){i=t;t={}}if(typeof t==="string"){t={encoding:t}}t=t||{};var n=t.fs||r;var s=true;if("throws"in t){s=t.throws}n.readFile(e,t,function(r,n){if(r)return i(r);n=stripBom(n);var a;try{a=JSON.parse(n,t?t.reviver:null)}catch(t){if(s){t.message=e+": "+t.message;return i(t)}else{return i(null,null)}}i(null,a)})}function readFileSync(e,t){t=t||{};if(typeof t==="string"){t={encoding:t}}var i=t.fs||r;var n=true;if("throws"in t){n=t.throws}try{var s=i.readFileSync(e,t);s=stripBom(s);return JSON.parse(s,t.reviver)}catch(t){if(n){t.message=e+": "+t.message;throw t}else{return null}}}function stringify(e,t){var i;var r="\n";if(typeof t==="object"&&t!==null){if(t.spaces){i=t.spaces}if(t.EOL){r=t.EOL}}var n=JSON.stringify(e,t?t.replacer:null,i);return n.replace(/\n/g,r)+r}function writeFile(e,t,i,n){if(n==null){n=i;i={}}i=i||{};var s=i.fs||r;var a="";try{a=stringify(t,i)}catch(e){if(n)n(e,null);return}s.writeFile(e,a,i,n)}function writeFileSync(e,t,i){i=i||{};var n=i.fs||r;var s=stringify(t,i);return n.writeFileSync(e,s,i)}function stripBom(e){if(Buffer.isBuffer(e))e=e.toString("utf8");e=e.replace(/^\uFEFF/,"");return e}var n={readFile:readFile,readFileSync:readFileSync,writeFile:writeFile,writeFileSync:writeFileSync};e.exports=n},3995:(e,t,i)=>{"use strict";const r=i(5622);const n=i(5747);const{promisify:s}=i(1669);const a=i(5338);const o=s(n.stat);const u=s(n.lstat);const c={directory:"isDirectory",file:"isFile"};function checkType({type:e}){if(e in c){return}throw new Error(`Invalid type specified: ${e}`)}const l=(e,t)=>e===undefined||t[c[e]]();e.exports=(async(e,t)=>{t={cwd:process.cwd(),type:"file",allowSymlinks:true,...t};checkType(t);const i=t.allowSymlinks?o:u;return a(e,async e=>{try{const n=await i(r.resolve(t.cwd,e));return l(t.type,n)}catch(e){return false}},t)});e.exports.sync=((e,t)=>{t={cwd:process.cwd(),allowSymlinks:true,type:"file",...t};checkType(t);const i=t.allowSymlinks?n.statSync:n.lstatSync;for(const n of e){try{const e=i(r.resolve(t.cwd,n));if(l(t.type,e)){return n}}catch(e){}}})},9566:(e,t,i)=>{e.exports=minimatch;minimatch.Minimatch=Minimatch;var r={sep:"/"};try{r=i(5622)}catch(e){}var n=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var s=i(3197);var a={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var o="[^/]";var u=o+"*?";var c="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var l="(?:(?!(?:\\/|^)\\.).)*?";var f=charSet("().*{}+?[]^$\\!");function charSet(e){return e.split("").reduce(function(e,t){e[t]=true;return e},{})}var h=/\/+/;minimatch.filter=filter;function filter(e,t){t=t||{};return function(i,r,n){return minimatch(i,e,t)}}function ext(e,t){e=e||{};t=t||{};var i={};Object.keys(t).forEach(function(e){i[e]=t[e]});Object.keys(e).forEach(function(t){i[t]=e[t]});return i}minimatch.defaults=function(e){if(!e||!Object.keys(e).length)return minimatch;var t=minimatch;var i=function minimatch(i,r,n){return t.minimatch(i,r,ext(e,n))};i.Minimatch=function Minimatch(i,r){return new t.Minimatch(i,ext(e,r))};return i};Minimatch.defaults=function(e){if(!e||!Object.keys(e).length)return Minimatch;return minimatch.defaults(e).Minimatch};function minimatch(e,t,i){if(typeof t!=="string"){throw new TypeError("glob pattern string required")}if(!i)i={};if(!i.nocomment&&t.charAt(0)==="#"){return false}if(t.trim()==="")return e==="";return new Minimatch(t,i).match(e)}function Minimatch(e,t){if(!(this instanceof Minimatch)){return new Minimatch(e,t)}if(typeof e!=="string"){throw new TypeError("glob pattern string required")}if(!t)t={};e=e.trim();if(r.sep!=="/"){e=e.split(r.sep).join("/")}this.options=t;this.set=[];this.pattern=e;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){if(this._made)return;var e=this.pattern;var t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=true;return}if(!e){this.empty=true;return}this.parseNegate();var i=this.globSet=this.braceExpand();if(t.debug)this.debug=console.error;this.debug(this.pattern,i);i=this.globParts=i.map(function(e){return e.split(h)});this.debug(this.pattern,i);i=i.map(function(e,t,i){return e.map(this.parse,this)},this);this.debug(this.pattern,i);i=i.filter(function(e){return e.indexOf(false)===-1});this.debug(this.pattern,i);this.set=i}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var e=this.pattern;var t=false;var i=this.options;var r=0;if(i.nonegate)return;for(var n=0,s=e.length;n<s&&e.charAt(n)==="!";n++){t=!t;r++}if(r)this.pattern=e.substr(r);this.negate=t}minimatch.braceExpand=function(e,t){return braceExpand(e,t)};Minimatch.prototype.braceExpand=braceExpand;function braceExpand(e,t){if(!t){if(this instanceof Minimatch){t=this.options}else{t={}}}e=typeof e==="undefined"?this.pattern:e;if(typeof e==="undefined"){throw new TypeError("undefined pattern")}if(t.nobrace||!e.match(/\{.*\}/)){return[e]}return s(e)}Minimatch.prototype.parse=parse;var p={};function parse(e,t){if(e.length>1024*64){throw new TypeError("pattern is too long")}var i=this.options;if(!i.noglobstar&&e==="**")return n;if(e==="")return"";var r="";var s=!!i.nocase;var c=false;var l=[];var h=[];var d;var v=false;var y=-1;var g=-1;var b=e.charAt(0)==="."?"":i.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";var m=this;function clearStateChar(){if(d){switch(d){case"*":r+=u;s=true;break;case"?":r+=o;s=true;break;default:r+="\\"+d;break}m.debug("clearStateChar %j %j",d,r);d=false}}for(var _=0,w=e.length,E;_<w&&(E=e.charAt(_));_++){this.debug("%s\t%s %s %j",e,_,r,E);if(c&&f[E]){r+="\\"+E;c=false;continue}switch(E){case"/":return false;case"\\":clearStateChar();c=true;continue;case"?":case"*":case"+":case"@":case"!":this.debug("%s\t%s %s %j <-- stateChar",e,_,r,E);if(v){this.debug(" in class");if(E==="!"&&_===g+1)E="^";r+=E;continue}m.debug("call clearStateChar %j",d);clearStateChar();d=E;if(i.noext)clearStateChar();continue;case"(":if(v){r+="(";continue}if(!d){r+="\\(";continue}l.push({type:d,start:_-1,reStart:r.length,open:a[d].open,close:a[d].close});r+=d==="!"?"(?:(?!(?:":"(?:";this.debug("plType %j %j",d,r);d=false;continue;case")":if(v||!l.length){r+="\\)";continue}clearStateChar();s=true;var S=l.pop();r+=S.close;if(S.type==="!"){h.push(S)}S.reEnd=r.length;continue;case"|":if(v||!l.length||c){r+="\\|";c=false;continue}clearStateChar();r+="|";continue;case"[":clearStateChar();if(v){r+="\\"+E;continue}v=true;g=_;y=r.length;r+=E;continue;case"]":if(_===g+1||!v){r+="\\"+E;c=false;continue}if(v){var x=e.substring(g+1,_);try{RegExp("["+x+"]")}catch(e){var R=this.parse(x,p);r=r.substr(0,y)+"\\["+R[0]+"\\]";s=s||R[1];v=false;continue}}s=true;v=false;r+=E;continue;default:clearStateChar();if(c){c=false}else if(f[E]&&!(E==="^"&&v)){r+="\\"}r+=E}}if(v){x=e.substr(g+1);R=this.parse(x,p);r=r.substr(0,y)+"\\["+R[0];s=s||R[1]}for(S=l.pop();S;S=l.pop()){var A=r.slice(S.reStart+S.open.length);this.debug("setting tail",r,S);A=A.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(e,t,i){if(!i){i="\\"}return t+t+i+"|"});this.debug("tail=%j\n %s",A,A,S,r);var k=S.type==="*"?u:S.type==="?"?o:"\\"+S.type;s=true;r=r.slice(0,S.reStart)+k+"\\("+A}clearStateChar();if(c){r+="\\\\"}var T=false;switch(r.charAt(0)){case".":case"[":case"(":T=true}for(var C=h.length-1;C>-1;C--){var O=h[C];var N=r.slice(0,O.reStart);var j=r.slice(O.reStart,O.reEnd-8);var I=r.slice(O.reEnd-8,O.reEnd);var $=r.slice(O.reEnd);I+=$;var P=N.split("(").length-1;var F=$;for(_=0;_<P;_++){F=F.replace(/\)[+*?]?/,"")}$=F;var L="";if($===""&&t!==p){L="$"}var B=N+j+$+L+I;r=B}if(r!==""&&s){r="(?=.)"+r}if(T){r=b+r}if(t===p){return[r,s]}if(!s){return globUnescape(e)}var D=i.nocase?"i":"";try{var H=new RegExp("^"+r+"$",D)}catch(e){return new RegExp("$.")}H._glob=e;H._src=r;return H}minimatch.makeRe=function(e,t){return new Minimatch(e,t||{}).makeRe()};Minimatch.prototype.makeRe=makeRe;function makeRe(){if(this.regexp||this.regexp===false)return this.regexp;var e=this.set;if(!e.length){this.regexp=false;return this.regexp}var t=this.options;var i=t.noglobstar?u:t.dot?c:l;var r=t.nocase?"i":"";var s=e.map(function(e){return e.map(function(e){return e===n?i:typeof e==="string"?regExpEscape(e):e._src}).join("\\/")}).join("|");s="^(?:"+s+")$";if(this.negate)s="^(?!"+s+").*$";try{this.regexp=new RegExp(s,r)}catch(e){this.regexp=false}return this.regexp}minimatch.match=function(e,t,i){i=i||{};var r=new Minimatch(t,i);e=e.filter(function(e){return r.match(e)});if(r.options.nonull&&!e.length){e.push(t)}return e};Minimatch.prototype.match=match;function match(e,t){this.debug("match",e,this.pattern);if(this.comment)return false;if(this.empty)return e==="";if(e==="/"&&t)return true;var i=this.options;if(r.sep!=="/"){e=e.split(r.sep).join("/")}e=e.split(h);this.debug(this.pattern,"split",e);var n=this.set;this.debug(this.pattern,"set",n);var s;var a;for(a=e.length-1;a>=0;a--){s=e[a];if(s)break}for(a=0;a<n.length;a++){var o=n[a];var u=e;if(i.matchBase&&o.length===1){u=[s]}var c=this.matchOne(u,o,t);if(c){if(i.flipNegate)return true;return!this.negate}}if(i.flipNegate)return false;return this.negate}Minimatch.prototype.matchOne=function(e,t,i){var r=this.options;this.debug("matchOne",{this:this,file:e,pattern:t});this.debug("matchOne",e.length,t.length);for(var s=0,a=0,o=e.length,u=t.length;s<o&&a<u;s++,a++){this.debug("matchOne loop");var c=t[a];var l=e[s];this.debug(t,c,l);if(c===false)return false;if(c===n){this.debug("GLOBSTAR",[t,c,l]);var f=s;var h=a+1;if(h===u){this.debug("** at the end");for(;s<o;s++){if(e[s]==="."||e[s]===".."||!r.dot&&e[s].charAt(0)===".")return false}return true}while(f<o){var p=e[f];this.debug("\nglobstar while",e,f,t,h,p);if(this.matchOne(e.slice(f),t.slice(h),i)){this.debug("globstar found match!",f,o,p);return true}else{if(p==="."||p===".."||!r.dot&&p.charAt(0)==="."){this.debug("dot detected!",e,f,t,h);break}this.debug("globstar swallow a segment, and continue");f++}}if(i){this.debug("\n>>> no match, partial?",e,f,t,h);if(f===o)return true}return false}var d;if(typeof c==="string"){if(r.nocase){d=l.toLowerCase()===c.toLowerCase()}else{d=l===c}this.debug("string match",c,l,d)}else{d=l.match(c);this.debug("pattern match",c,l,d)}if(!d)return false}if(s===o&&a===u){return true}else if(s===o){return i}else if(a===u){var v=s===o-1&&e[s]==="";return v}throw new Error("wtf?")};function globUnescape(e){return e.replace(/\\(.)/g,"$1")}function regExpEscape(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},3277:(module,__unused_webpack_exports,__webpack_require__)=>{var fs=__webpack_require__(5747);var path=__webpack_require__(5622);var os=__webpack_require__(2087);var runtimeRequire=true?eval("require"):0;var vars=process.config&&process.config.variables||{};var prebuildsOnly=!!process.env.PREBUILDS_ONLY;var abi=process.versions.modules;var runtime=isElectron()?"electron":"node";var arch=os.arch();var platform=os.platform();var libc=process.env.LIBC||(isAlpine(platform)?"musl":"glibc");var armv=process.env.ARM_VERSION||(arch==="arm64"?"8":vars.arm_version)||"";var uv=(process.versions.uv||"").split(".")[0];module.exports=load;function load(e){return runtimeRequire(load.path(e))}load.path=function(e){e=path.resolve(e||".");try{var t=runtimeRequire(path.join(e,"package.json")).name.toUpperCase().replace(/-/g,"_");if(process.env[t+"_PREBUILD"])e=process.env[t+"_PREBUILD"]}catch(e){}if(!prebuildsOnly){var i=getFirst(path.join(e,"build/Release"),matchBuild);if(i)return i;var r=getFirst(path.join(e,"build/Debug"),matchBuild);if(r)return r}var n=resolve(e);if(n)return n;var s=resolve(path.dirname(process.execPath));if(s)return s;var a=["platform="+platform,"arch="+arch,"runtime="+runtime,"abi="+abi,"uv="+uv,armv?"armv="+armv:"","libc="+libc,"node="+process.versions.node,process.versions&&process.versions.electron?"electron="+process.versions.electron:"",true?"webpack=true":0].filter(Boolean).join(" ");throw new Error("No native build was found for "+a+"\n loaded from: "+e+"\n");function resolve(e){var t=path.join(e,"prebuilds",platform+"-"+arch);var i=readdirSync(t).map(parseTags);var r=i.filter(matchTags(runtime,abi));var n=r.sort(compareTags(runtime))[0];if(n)return path.join(t,n.file)}};function readdirSync(e){try{return fs.readdirSync(e)}catch(e){return[]}}function getFirst(e,t){var i=readdirSync(e).filter(t);return i[0]&&path.join(e,i[0])}function matchBuild(e){return/\.node$/.test(e)}function parseTags(e){var t=e.split(".");var i=t.pop();var r={file:e,specificity:0};if(i!=="node")return;for(var n=0;n<t.length;n++){var s=t[n];if(s==="node"||s==="electron"||s==="node-webkit"){r.runtime=s}else if(s==="napi"){r.napi=true}else if(s.slice(0,3)==="abi"){r.abi=s.slice(3)}else if(s.slice(0,2)==="uv"){r.uv=s.slice(2)}else if(s.slice(0,4)==="armv"){r.armv=s.slice(4)}else if(s==="glibc"||s==="musl"){r.libc=s}else{continue}r.specificity++}return r}function matchTags(e,t){return function(i){if(i==null)return false;if(i.runtime!==e&&!runtimeAgnostic(i))return false;if(i.abi!==t&&!i.napi)return false;if(i.uv&&i.uv!==uv)return false;if(i.armv&&i.armv!==armv)return false;if(i.libc&&i.libc!==libc)return false;return true}}function runtimeAgnostic(e){return e.runtime==="node"&&e.napi}function compareTags(e){return function(t,i){if(t.runtime!==i.runtime){return t.runtime===e?-1:1}else if(t.abi!==i.abi){return t.abi?-1:1}else if(t.specificity!==i.specificity){return t.specificity>i.specificity?-1:1}else{return 0}}}function isElectron(){if(process.versions&&process.versions.electron)return true;if(process.env.ELECTRON_RUN_AS_NODE)return true;return typeof window!=="undefined"&&window.process&&window.process.type==="renderer"}function isAlpine(e){return e==="linux"&&fs.existsSync("/etc/alpine-release")}load.parseTags=parseTags;load.matchTags=matchTags;load.compareTags=compareTags},9248:(e,t,i)=>{"use strict";var r=i(5747);var n=i(2780);var s=i(9658);e.exports=t;var a=process.version.substr(1).replace(/-.*$/,"").split(".").map(function(e){return+e});var o=["build","clean","configure","package","publish","reveal","testbinary","testpackage","unpublish"];var u="napi_build_version=";e.exports.get_napi_version=function(e){var t=process.versions.napi;if(!t){if(a[0]===9&&a[1]>=3)t=2;else if(a[0]===8)t=1}return t};e.exports.get_napi_version_as_string=function(t){var i=e.exports.get_napi_version(t);return i?""+i:""};e.exports.validate_package_json=function(t,i){var r=t.binary;var n=pathOK(r.module_path);var s=pathOK(r.remote_path);var a=pathOK(r.package_name);var o=e.exports.get_napi_build_versions(t,i,true);var u=e.exports.get_napi_build_versions_raw(t);if(o){o.forEach(function(e){if(!(parseInt(e,10)===e&&e>0)){throw new Error("All values specified in napi_versions must be positive integers.")}})}if(o&&(!n||!s&&!a)){throw new Error("When napi_versions is specified; module_path and either remote_path or "+"package_name must contain the substitution string '{napi_build_version}`.")}if((n||s||a)&&!u){throw new Error("When the substitution string '{napi_build_version}` is specified in "+"module_path, remote_path, or package_name; napi_versions must also be specified.")}if(o&&!e.exports.get_best_napi_build_version(t,i)&&e.exports.build_napi_only(t)){throw new Error("The N-API version of this Node instance is "+e.exports.get_napi_version(i?i.target:undefined)+". "+"This module supports N-API version(s) "+e.exports.get_napi_build_versions_raw(t)+". "+"This Node instance cannot run this module.")}if(u&&!o&&e.exports.build_napi_only(t)){throw new Error("The N-API version of this Node instance is "+e.exports.get_napi_version(i?i.target:undefined)+". "+"This module supports N-API version(s) "+e.exports.get_napi_build_versions_raw(t)+". "+"This Node instance cannot run this module.")}};function pathOK(e){return e&&(e.indexOf("{napi_build_version}")!==-1||e.indexOf("{node_napi_label}")!==-1)}e.exports.expand_commands=function(t,i,r){var n=[];var s=e.exports.get_napi_build_versions(t,i);r.forEach(function(r){if(s&&r.name==="install"){var a=e.exports.get_best_napi_build_version(t,i);var c=a?[u+a]:[];n.push({name:r.name,args:c})}else if(s&&o.indexOf(r.name)!==-1){s.forEach(function(e){var t=r.args.slice();t.push(u+e);n.push({name:r.name,args:t})})}else{n.push(r)}});return n};e.exports.get_napi_build_versions=function(t,i,r){var n=[];var a=e.exports.get_napi_version(i?i.target:undefined);if(t.binary&&t.binary.napi_versions){t.binary.napi_versions.forEach(function(e){var t=n.indexOf(e)!==-1;if(!t&&a&&e<=a){n.push(e)}else if(r&&!t&&a){s.info("This Node instance does not support builds for N-API version",e)}})}if(i&&i["build-latest-napi-version-only"]){var o=0;n.forEach(function(e){if(e>o)o=e});n=o?[o]:[]}return n.length?n:undefined};e.exports.get_napi_build_versions_raw=function(e){var t=[];if(e.binary&&e.binary.napi_versions){e.binary.napi_versions.forEach(function(e){if(t.indexOf(e)===-1){t.push(e)}})}return t.length?t:undefined};e.exports.get_command_arg=function(e){return u+e};e.exports.get_napi_build_version_from_command_args=function(e){for(var t=0;t<e.length;t++){var i=e[t];if(i.indexOf(u)===0){return parseInt(i.substr(u.length),10)}}return undefined};e.exports.swap_build_dir_out=function(t){if(t){n.sync(e.exports.get_build_dir(t));r.renameSync("build",e.exports.get_build_dir(t))}};e.exports.swap_build_dir_in=function(t){if(t){n.sync("build");r.renameSync(e.exports.get_build_dir(t),"build")}};e.exports.get_build_dir=function(e){return"build-tmp-napi-v"+e};e.exports.get_best_napi_build_version=function(t,i){var r=0;var n=e.exports.get_napi_build_versions(t,i);if(n){var s=e.exports.get_napi_version(i?i.target:undefined);n.forEach(function(e){if(e>r&&e<=s){r=e}})}return r===0?undefined:r};e.exports.build_napi_only=function(e){return e.binary&&e.binary.package_name&&e.binary.package_name.indexOf("{node_napi_label}")===-1}},5574:(e,t,i)=>{"use strict";e.exports=t;var r=i(5622);var n=i(5720);var s=i(8835);var a=i(2157);var o=i(9248);var u;if(process.env.NODE_PRE_GYP_ABI_CROSSWALK){u=require(process.env.NODE_PRE_GYP_ABI_CROSSWALK)}else{u=i(772)}var c={};Object.keys(u).forEach(function(e){var t=e.split(".")[0];if(!c[t]){c[t]=e}});function get_electron_abi(e,t){if(!e){throw new Error("get_electron_abi requires valid runtime arg")}if(typeof t==="undefined"){throw new Error("Empty target version is not supported if electron is the target.")}var i=n.parse(t);return e+"-v"+i.major+"."+i.minor}e.exports.get_electron_abi=get_electron_abi;function get_node_webkit_abi(e,t){if(!e){throw new Error("get_node_webkit_abi requires valid runtime arg")}if(typeof t==="undefined"){throw new Error("Empty target version is not supported if node-webkit is the target.")}return e+"-v"+t}e.exports.get_node_webkit_abi=get_node_webkit_abi;function get_node_abi(e,t){if(!e){throw new Error("get_node_abi requires valid runtime arg")}if(!t){throw new Error("get_node_abi requires valid process.versions object")}var i=n.parse(t.node);if(i.major===0&&i.minor%2){return e+"-v"+t.node}else{return t.modules?e+"-v"+ +t.modules:"v8-"+t.v8.split(".").slice(0,2).join(".")}}e.exports.get_node_abi=get_node_abi;function get_runtime_abi(e,t){if(!e){throw new Error("get_runtime_abi requires valid runtime arg")}if(e==="node-webkit"){return get_node_webkit_abi(e,t||process.versions["node-webkit"])}else if(e==="electron"){return get_electron_abi(e,t||process.versions.electron)}else{if(e!="node"){throw new Error("Unknown Runtime: '"+e+"'")}if(!t){return get_node_abi(e,process.versions)}else{var i;if(u[t]){i=u[t]}else{var r=t.split(".").map(function(e){return+e});if(r.length!=3){throw new Error("Unknown target version: "+t)}var n=r[0];var s=r[1];var a=r[2];if(n===1){while(true){if(s>0)--s;if(a>0)--a;var o=""+n+"."+s+"."+a;if(u[o]){i=u[o];console.log("Warning: node-pre-gyp could not find exact match for "+t);console.log("Warning: but node-pre-gyp successfully choose "+o+" as ABI compatible target");break}if(s===0&&a===0){break}}}else if(n>=2){if(c[n]){i=u[c[n]];console.log("Warning: node-pre-gyp could not find exact match for "+t);console.log("Warning: but node-pre-gyp successfully choose "+c[n]+" as ABI compatible target")}}else if(n===0){if(r[1]%2===0){while(--a>0){var l=""+n+"."+s+"."+a;if(u[l]){i=u[l];console.log("Warning: node-pre-gyp could not find exact match for "+t);console.log("Warning: but node-pre-gyp successfully choose "+l+" as ABI compatible target");break}}}}}if(!i){throw new Error("Unsupported target version: "+t)}var f={node:t,v8:i.v8+".0",modules:i.node_abi>1?i.node_abi:undefined};return get_node_abi(e,f)}}}e.exports.get_runtime_abi=get_runtime_abi;var l=["module_name","module_path","host"];function validate_config(e,t){var i=e.name+" package.json is not node-pre-gyp ready:\n";var r=[];if(!e.main){r.push("main")}if(!e.version){r.push("version")}if(!e.name){r.push("name")}if(!e.binary){r.push("binary")}var n=e.binary;l.forEach(function(e){if(r.indexOf("binary")>-1){r.pop("binary")}if(!n||n[e]===undefined||n[e]===""){r.push("binary."+e)}});if(r.length>=1){throw new Error(i+"package.json must declare these properties: \n"+r.join("\n"))}if(n){var a=s.parse(n.host).protocol;if(a==="http:"){throw new Error("'host' protocol ("+a+") is invalid - only 'https:' is accepted")}}o.validate_package_json(e,t)}e.exports.validate_config=validate_config;function eval_template(e,t){Object.keys(t).forEach(function(i){var r="{"+i+"}";while(e.indexOf(r)>-1){e=e.replace(r,t[i])}});return e}function fix_slashes(e){if(e.slice(-1)!="/"){return e+"/"}return e}function drop_double_slashes(e){return e.replace(/\/\//g,"/")}function get_process_runtime(e){var t="node";if(e["node-webkit"]){t="node-webkit"}else if(e.electron){t="electron"}return t}e.exports.get_process_runtime=get_process_runtime;var f="{module_name}-v{version}-{node_abi}-{platform}-{arch}.tar.gz";var h="";e.exports.evaluate=function(e,t,i){t=t||{};validate_config(e,t);var u=e.version;var c=n.parse(u);var l=t.runtime||get_process_runtime(process.versions);var p={name:e.name,configuration:Boolean(t.debug)?"Debug":"Release",debug:t.debug,module_name:e.binary.module_name,version:c.version,prerelease:c.prerelease.length?c.prerelease.join("."):"",build:c.build.length?c.build.join("."):"",major:c.major,minor:c.minor,patch:c.patch,runtime:l,node_abi:get_runtime_abi(l,t.target),node_abi_napi:o.get_napi_version(t.target)?"napi":get_runtime_abi(l,t.target),napi_version:o.get_napi_version(t.target),napi_build_version:i||"",node_napi_label:i?"napi-v"+i:get_runtime_abi(l,t.target),target:t.target||"",platform:t.target_platform||process.platform,target_platform:t.target_platform||process.platform,arch:t.target_arch||process.arch,target_arch:t.target_arch||process.arch,libc:t.target_libc||a.family||"unknown",module_main:e.main,toolset:t.toolset||""};var d=process.env["npm_config_"+p.module_name+"_binary_host_mirror"]||e.binary.host;p.host=fix_slashes(eval_template(d,p));p.module_path=eval_template(e.binary.module_path,p);if(t.module_root){p.module_path=r.join(t.module_root,p.module_path)}else{p.module_path=r.resolve(p.module_path)}p.module=r.join(p.module_path,p.module_name+".node");p.remote_path=e.binary.remote_path?drop_double_slashes(fix_slashes(eval_template(e.binary.remote_path,p))):h;var v=e.binary.package_name?e.binary.package_name:f;p.package_name=eval_template(v,p);p.staged_tarball=r.join("build/stage",p.remote_path,p.package_name);p.hosted_path=s.resolve(p.host,p.remote_path);p.hosted_tarball=s.resolve(p.hosted_path,p.package_name);return p}},5720:(e,t)=>{t=e.exports=SemVer;var i;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){i=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER");console.log.apply(console,e)}}else{i=function(){}}t.SEMVER_SPEC_VERSION="2.0.0";var r=256;var n=Number.MAX_SAFE_INTEGER||9007199254740991;var s=16;var a=t.re=[];var o=t.src=[];var u=0;var c=u++;o[c]="0|[1-9]\\d*";var l=u++;o[l]="[0-9]+";var f=u++;o[f]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var h=u++;o[h]="("+o[c]+")\\."+"("+o[c]+")\\."+"("+o[c]+")";var p=u++;o[p]="("+o[l]+")\\."+"("+o[l]+")\\."+"("+o[l]+")";var d=u++;o[d]="(?:"+o[c]+"|"+o[f]+")";var v=u++;o[v]="(?:"+o[l]+"|"+o[f]+")";var y=u++;o[y]="(?:-("+o[d]+"(?:\\."+o[d]+")*))";var g=u++;o[g]="(?:-?("+o[v]+"(?:\\."+o[v]+")*))";var b=u++;o[b]="[0-9A-Za-z-]+";var m=u++;o[m]="(?:\\+("+o[b]+"(?:\\."+o[b]+")*))";var _=u++;var w="v?"+o[h]+o[y]+"?"+o[m]+"?";o[_]="^"+w+"$";var E="[v=\\s]*"+o[p]+o[g]+"?"+o[m]+"?";var S=u++;o[S]="^"+E+"$";var x=u++;o[x]="((?:<|>)?=?)";var R=u++;o[R]=o[l]+"|x|X|\\*";var A=u++;o[A]=o[c]+"|x|X|\\*";var k=u++;o[k]="[v=\\s]*("+o[A]+")"+"(?:\\.("+o[A]+")"+"(?:\\.("+o[A]+")"+"(?:"+o[y]+")?"+o[m]+"?"+")?)?";var T=u++;o[T]="[v=\\s]*("+o[R]+")"+"(?:\\.("+o[R]+")"+"(?:\\.("+o[R]+")"+"(?:"+o[g]+")?"+o[m]+"?"+")?)?";var C=u++;o[C]="^"+o[x]+"\\s*"+o[k]+"$";var O=u++;o[O]="^"+o[x]+"\\s*"+o[T]+"$";var N=u++;o[N]="(?:^|[^\\d])"+"(\\d{1,"+s+"})"+"(?:\\.(\\d{1,"+s+"}))?"+"(?:\\.(\\d{1,"+s+"}))?"+"(?:$|[^\\d])";var j=u++;o[j]="(?:~>?)";var I=u++;o[I]="(\\s*)"+o[j]+"\\s+";a[I]=new RegExp(o[I],"g");var $="$1~";var P=u++;o[P]="^"+o[j]+o[k]+"$";var F=u++;o[F]="^"+o[j]+o[T]+"$";var L=u++;o[L]="(?:\\^)";var B=u++;o[B]="(\\s*)"+o[L]+"\\s+";a[B]=new RegExp(o[B],"g");var D="$1^";var H=u++;o[H]="^"+o[L]+o[k]+"$";var U=u++;o[U]="^"+o[L]+o[T]+"$";var W=u++;o[W]="^"+o[x]+"\\s*("+E+")$|^$";var q=u++;o[q]="^"+o[x]+"\\s*("+w+")$|^$";var G=u++;o[G]="(\\s*)"+o[x]+"\\s*("+E+"|"+o[k]+")";a[G]=new RegExp(o[G],"g");var V="$1$2$3";var z=u++;o[z]="^\\s*("+o[k]+")"+"\\s+-\\s+"+"("+o[k]+")"+"\\s*$";var M=u++;o[M]="^\\s*("+o[T]+")"+"\\s+-\\s+"+"("+o[T]+")"+"\\s*$";var X=u++;o[X]="(<|>)?=?\\s*\\*";for(var K=0;K<u;K++){i(K,o[K]);if(!a[K]){a[K]=new RegExp(o[K])}}t.parse=parse;function parse(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){return e}if(typeof e!=="string"){return null}if(e.length>r){return null}var i=t.loose?a[S]:a[_];if(!i.test(e)){return null}try{return new SemVer(e,t)}catch(e){return null}}t.valid=valid;function valid(e,t){var i=parse(e,t);return i?i.version:null}t.clean=clean;function clean(e,t){var i=parse(e.trim().replace(/^[=v]+/,""),t);return i?i.version:null}t.SemVer=SemVer;function SemVer(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){if(e.loose===t.loose){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError("Invalid Version: "+e)}if(e.length>r){throw new TypeError("version is longer than "+r+" characters")}if(!(this instanceof SemVer)){return new SemVer(e,t)}i("SemVer",e,t);this.options=t;this.loose=!!t.loose;var s=e.trim().match(t.loose?a[S]:a[_]);if(!s){throw new TypeError("Invalid Version: "+e)}this.raw=e;this.major=+s[1];this.minor=+s[2];this.patch=+s[3];if(this.major>n||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>n||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>n||this.patch<0){throw new TypeError("Invalid patch version")}if(!s[4]){this.prerelease=[]}else{this.prerelease=s[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<n){return t}}return e})}this.build=s[5]?s[5].split("."):[];this.format()}SemVer.prototype.format=function(){this.version=this.major+"."+this.minor+"."+this.patch;if(this.prerelease.length){this.version+="-"+this.prerelease.join(".")}return this.version};SemVer.prototype.toString=function(){return this.version};SemVer.prototype.compare=function(e){i("SemVer.compare",this.version,this.options,e);if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}return this.compareMain(e)||this.comparePre(e)};SemVer.prototype.compareMain=function(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}return compareIdentifiers(this.major,e.major)||compareIdentifiers(this.minor,e.minor)||compareIdentifiers(this.patch,e.patch)};SemVer.prototype.comparePre=function(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}if(this.prerelease.length&&!e.prerelease.length){return-1}else if(!this.prerelease.length&&e.prerelease.length){return 1}else if(!this.prerelease.length&&!e.prerelease.length){return 0}var t=0;do{var r=this.prerelease[t];var n=e.prerelease[t];i("prerelease compare",t,r,n);if(r===undefined&&n===undefined){return 0}else if(n===undefined){return 1}else if(r===undefined){return-1}else if(r===n){continue}else{return compareIdentifiers(r,n)}}while(++t)};SemVer.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0;this.patch=0;this.minor=0;this.major++;this.inc("pre",t);break;case"preminor":this.prerelease.length=0;this.patch=0;this.minor++;this.inc("pre",t);break;case"prepatch":this.prerelease.length=0;this.inc("patch",t);this.inc("pre",t);break;case"prerelease":if(this.prerelease.length===0){this.inc("patch",t)}this.inc("pre",t);break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0){this.major++}this.minor=0;this.patch=0;this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0){this.minor++}this.patch=0;this.prerelease=[];break;case"patch":if(this.prerelease.length===0){this.patch++}this.prerelease=[];break;case"pre":if(this.prerelease.length===0){this.prerelease=[0]}else{var i=this.prerelease.length;while(--i>=0){if(typeof this.prerelease[i]==="number"){this.prerelease[i]++;i=-2}}if(i===-1){this.prerelease.push(0)}}if(t){if(this.prerelease[0]===t){if(isNaN(this.prerelease[1])){this.prerelease=[t,0]}}else{this.prerelease=[t,0]}}break;default:throw new Error("invalid increment argument: "+e)}this.format();this.raw=this.version;return this};t.inc=inc;function inc(e,t,i,r){if(typeof i==="string"){r=i;i=undefined}try{return new SemVer(e,i).inc(t,r).version}catch(e){return null}}t.diff=diff;function diff(e,t){if(eq(e,t)){return null}else{var i=parse(e);var r=parse(t);var n="";if(i.prerelease.length||r.prerelease.length){n="pre";var s="prerelease"}for(var a in i){if(a==="major"||a==="minor"||a==="patch"){if(i[a]!==r[a]){return n+a}}}return s}}t.compareIdentifiers=compareIdentifiers;var Y=/^[0-9]+$/;function compareIdentifiers(e,t){var i=Y.test(e);var r=Y.test(t);if(i&&r){e=+e;t=+t}return e===t?0:i&&!r?-1:r&&!i?1:e<t?-1:1}t.rcompareIdentifiers=rcompareIdentifiers;function rcompareIdentifiers(e,t){return compareIdentifiers(t,e)}t.major=major;function major(e,t){return new SemVer(e,t).major}t.minor=minor;function minor(e,t){return new SemVer(e,t).minor}t.patch=patch;function patch(e,t){return new SemVer(e,t).patch}t.compare=compare;function compare(e,t,i){return new SemVer(e,i).compare(new SemVer(t,i))}t.compareLoose=compareLoose;function compareLoose(e,t){return compare(e,t,true)}t.rcompare=rcompare;function rcompare(e,t,i){return compare(t,e,i)}t.sort=sort;function sort(e,i){return e.sort(function(e,r){return t.compare(e,r,i)})}t.rsort=rsort;function rsort(e,i){return e.sort(function(e,r){return t.rcompare(e,r,i)})}t.gt=gt;function gt(e,t,i){return compare(e,t,i)>0}t.lt=lt;function lt(e,t,i){return compare(e,t,i)<0}t.eq=eq;function eq(e,t,i){return compare(e,t,i)===0}t.neq=neq;function neq(e,t,i){return compare(e,t,i)!==0}t.gte=gte;function gte(e,t,i){return compare(e,t,i)>=0}t.lte=lte;function lte(e,t,i){return compare(e,t,i)<=0}t.cmp=cmp;function cmp(e,t,i,r){switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof i==="object")i=i.version;return e===i;case"!==":if(typeof e==="object")e=e.version;if(typeof i==="object")i=i.version;return e!==i;case"":case"=":case"==":return eq(e,i,r);case"!=":return neq(e,i,r);case">":return gt(e,i,r);case">=":return gte(e,i,r);case"<":return lt(e,i,r);case"<=":return lte(e,i,r);default:throw new TypeError("Invalid operator: "+t)}}t.Comparator=Comparator;function Comparator(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}if(!(this instanceof Comparator)){return new Comparator(e,t)}i("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===Q){this.value=""}else{this.value=this.operator+this.semver.version}i("comp",this)}var Q={};Comparator.prototype.parse=function(e){var t=this.options.loose?a[W]:a[q];var i=e.match(t);if(!i){throw new TypeError("Invalid comparator: "+e)}this.operator=i[1];if(this.operator==="="){this.operator=""}if(!i[2]){this.semver=Q}else{this.semver=new SemVer(i[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(e){i("Comparator.test",e,this.options.loose);if(this.semver===Q){return true}if(typeof e==="string"){e=new SemVer(e,this.options)}return cmp(e,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}var i;if(this.operator===""){i=new Range(e.value,t);return satisfies(this.value,i,t)}else if(e.operator===""){i=new Range(this.value,t);return satisfies(e.semver,i,t)}var r=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");var n=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");var s=this.semver.version===e.semver.version;var a=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");var o=cmp(this.semver,"<",e.semver,t)&&((this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"));var u=cmp(this.semver,">",e.semver,t)&&((this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">"));return r||n||s&&a||o||u};t.Range=Range;function Range(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof Comparator){return new Range(e.value,t)}if(!(this instanceof Range)){return new Range(e,t)}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e;this.set=e.split(/\s*\|\|\s*/).map(function(e){return this.parseRange(e.trim())},this).filter(function(e){return e.length});if(!this.set.length){throw new TypeError("Invalid SemVer Range: "+e)}this.format()}Range.prototype.format=function(){this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim();return this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var r=t?a[M]:a[z];e=e.replace(r,hyphenReplace);i("hyphen replace",e);e=e.replace(a[G],V);i("comparator trim",e,a[G]);e=e.replace(a[I],$);e=e.replace(a[B],D);e=e.split(/\s+/).join(" ");var n=t?a[W]:a[q];var s=e.split(" ").map(function(e){return parseComparator(e,this.options)},this).join(" ").split(/\s+/);if(this.options.loose){s=s.filter(function(e){return!!e.match(n)})}s=s.map(function(e){return new Comparator(e,this.options)},this);return s};Range.prototype.intersects=function(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some(function(i){return i.every(function(i){return e.set.some(function(e){return e.every(function(e){return i.intersects(e,t)})})})})};t.toComparators=toComparators;function toComparators(e,t){return new Range(e,t).set.map(function(e){return e.map(function(e){return e.value}).join(" ").trim().split(" ")})}function parseComparator(e,t){i("comp",e,t);e=replaceCarets(e,t);i("caret",e);e=replaceTildes(e,t);i("tildes",e);e=replaceXRanges(e,t);i("xrange",e);e=replaceStars(e,t);i("stars",e);return e}function isX(e){return!e||e.toLowerCase()==="x"||e==="*"}function replaceTildes(e,t){return e.trim().split(/\s+/).map(function(e){return replaceTilde(e,t)}).join(" ")}function replaceTilde(e,t){var r=t.loose?a[F]:a[P];return e.replace(r,function(t,r,n,s,a){i("tilde",e,t,r,n,s,a);var o;if(isX(r)){o=""}else if(isX(n)){o=">="+r+".0.0 <"+(+r+1)+".0.0"}else if(isX(s)){o=">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0"}else if(a){i("replaceTilde pr",a);o=">="+r+"."+n+"."+s+"-"+a+" <"+r+"."+(+n+1)+".0"}else{o=">="+r+"."+n+"."+s+" <"+r+"."+(+n+1)+".0"}i("tilde return",o);return o})}function replaceCarets(e,t){return e.trim().split(/\s+/).map(function(e){return replaceCaret(e,t)}).join(" ")}function replaceCaret(e,t){i("caret",e,t);var r=t.loose?a[U]:a[H];return e.replace(r,function(t,r,n,s,a){i("caret",e,t,r,n,s,a);var o;if(isX(r)){o=""}else if(isX(n)){o=">="+r+".0.0 <"+(+r+1)+".0.0"}else if(isX(s)){if(r==="0"){o=">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0"}else{o=">="+r+"."+n+".0 <"+(+r+1)+".0.0"}}else if(a){i("replaceCaret pr",a);if(r==="0"){if(n==="0"){o=">="+r+"."+n+"."+s+"-"+a+" <"+r+"."+n+"."+(+s+1)}else{o=">="+r+"."+n+"."+s+"-"+a+" <"+r+"."+(+n+1)+".0"}}else{o=">="+r+"."+n+"."+s+"-"+a+" <"+(+r+1)+".0.0"}}else{i("no pr");if(r==="0"){if(n==="0"){o=">="+r+"."+n+"."+s+" <"+r+"."+n+"."+(+s+1)}else{o=">="+r+"."+n+"."+s+" <"+r+"."+(+n+1)+".0"}}else{o=">="+r+"."+n+"."+s+" <"+(+r+1)+".0.0"}}i("caret return",o);return o})}function replaceXRanges(e,t){i("replaceXRanges",e,t);return e.split(/\s+/).map(function(e){return replaceXRange(e,t)}).join(" ")}function replaceXRange(e,t){e=e.trim();var r=t.loose?a[O]:a[C];return e.replace(r,function(t,r,n,s,a,o){i("xRange",e,t,r,n,s,a,o);var u=isX(n);var c=u||isX(s);var l=c||isX(a);var f=l;if(r==="="&&f){r=""}if(u){if(r===">"||r==="<"){t="<0.0.0"}else{t="*"}}else if(r&&f){if(c){s=0}a=0;if(r===">"){r=">=";if(c){n=+n+1;s=0;a=0}else{s=+s+1;a=0}}else if(r==="<="){r="<";if(c){n=+n+1}else{s=+s+1}}t=r+n+"."+s+"."+a}else if(c){t=">="+n+".0.0 <"+(+n+1)+".0.0"}else if(l){t=">="+n+"."+s+".0 <"+n+"."+(+s+1)+".0"}i("xRange return",t);return t})}function replaceStars(e,t){i("replaceStars",e,t);return e.trim().replace(a[X],"")}function hyphenReplace(e,t,i,r,n,s,a,o,u,c,l,f,h){if(isX(i)){t=""}else if(isX(r)){t=">="+i+".0.0"}else if(isX(n)){t=">="+i+"."+r+".0"}else{t=">="+t}if(isX(u)){o=""}else if(isX(c)){o="<"+(+u+1)+".0.0"}else if(isX(l)){o="<"+u+"."+(+c+1)+".0"}else if(f){o="<="+u+"."+c+"."+l+"-"+f}else{o="<="+o}return(t+" "+o).trim()}Range.prototype.test=function(e){if(!e){return false}if(typeof e==="string"){e=new SemVer(e,this.options)}for(var t=0;t<this.set.length;t++){if(testSet(this.set[t],e,this.options)){return true}}return false};function testSet(e,t,r){for(var n=0;n<e.length;n++){if(!e[n].test(t)){return false}}if(t.prerelease.length&&!r.includePrerelease){for(n=0;n<e.length;n++){i(e[n].semver);if(e[n].semver===Q){continue}if(e[n].semver.prerelease.length>0){var s=e[n].semver;if(s.major===t.major&&s.minor===t.minor&&s.patch===t.patch){return true}}}return false}return true}t.satisfies=satisfies;function satisfies(e,t,i){try{t=new Range(t,i)}catch(e){return false}return t.test(e)}t.maxSatisfying=maxSatisfying;function maxSatisfying(e,t,i){var r=null;var n=null;try{var s=new Range(t,i)}catch(e){return null}e.forEach(function(e){if(s.test(e)){if(!r||n.compare(e)===-1){r=e;n=new SemVer(r,i)}}});return r}t.minSatisfying=minSatisfying;function minSatisfying(e,t,i){var r=null;var n=null;try{var s=new Range(t,i)}catch(e){return null}e.forEach(function(e){if(s.test(e)){if(!r||n.compare(e)===1){r=e;n=new SemVer(r,i)}}});return r}t.minVersion=minVersion;function minVersion(e,t){e=new Range(e,t);var i=new SemVer("0.0.0");if(e.test(i)){return i}i=new SemVer("0.0.0-0");if(e.test(i)){return i}i=null;for(var r=0;r<e.set.length;++r){var n=e.set[r];n.forEach(function(e){var t=new SemVer(e.semver.version);switch(e.operator){case">":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!i||gt(i,t)){i=t}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}})}if(i&&e.test(i)){return i}return null}t.validRange=validRange;function validRange(e,t){try{return new Range(e,t).range||"*"}catch(e){return null}}t.ltr=ltr;function ltr(e,t,i){return outside(e,t,"<",i)}t.gtr=gtr;function gtr(e,t,i){return outside(e,t,">",i)}t.outside=outside;function outside(e,t,i,r){e=new SemVer(e,r);t=new Range(t,r);var n,s,a,o,u;switch(i){case">":n=gt;s=lte;a=lt;o=">";u=">=";break;case"<":n=lt;s=gte;a=gt;o="<";u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(e,t,r)){return false}for(var c=0;c<t.set.length;++c){var l=t.set[c];var f=null;var h=null;l.forEach(function(e){if(e.semver===Q){e=new Comparator(">=0.0.0")}f=f||e;h=h||e;if(n(e.semver,f.semver,r)){f=e}else if(a(e.semver,h.semver,r)){h=e}});if(f.operator===o||f.operator===u){return false}if((!h.operator||h.operator===o)&&s(e,h.semver)){return false}else if(h.operator===u&&a(e,h.semver)){return false}}return true}t.prerelease=prerelease;function prerelease(e,t){var i=parse(e,t);return i&&i.prerelease.length?i.prerelease:null}t.intersects=intersects;function intersects(e,t,i){e=new Range(e,i);t=new Range(t,i);return e.intersects(t)}t.coerce=coerce;function coerce(e){if(e instanceof SemVer){return e}if(typeof e!=="string"){return null}var t=e.match(a[N]);if(t==null){return null}return parse(t[1]+"."+(t[2]||"0")+"."+(t[3]||"0"))}},9658:(e,t,i)=>{"use strict";var r=i(2717);var n=i(6054);var s=i(8614).EventEmitter;var a=t=e.exports=new s;var o=i(1669);var u=i(8834);var c=i(6322);u(true);var l=process.stderr;Object.defineProperty(a,"stream",{set:function(e){l=e;if(this.gauge)this.gauge.setWriteTo(l,l)},get:function(){return l}});var f;a.useColor=function(){return f!=null?f:l.isTTY};a.enableColor=function(){f=true;this.gauge.setTheme({hasColor:f,hasUnicode:h})};a.disableColor=function(){f=false;this.gauge.setTheme({hasColor:f,hasUnicode:h})};a.level="info";a.gauge=new n(l,{enabled:false,theme:{hasColor:a.useColor()},template:[{type:"progressbar",length:20},{type:"activityIndicator",kerning:1,length:1},{type:"section",default:""},":",{type:"logline",kerning:1,default:""}]});a.tracker=new r.TrackerGroup;a.progressEnabled=a.gauge.isEnabled();var h;a.enableUnicode=function(){h=true;this.gauge.setTheme({hasColor:this.useColor(),hasUnicode:h})};a.disableUnicode=function(){h=false;this.gauge.setTheme({hasColor:this.useColor(),hasUnicode:h})};a.setGaugeThemeset=function(e){this.gauge.setThemeset(e)};a.setGaugeTemplate=function(e){this.gauge.setTemplate(e)};a.enableProgress=function(){if(this.progressEnabled)return;this.progressEnabled=true;this.tracker.on("change",this.showProgress);if(this._pause)return;this.gauge.enable()};a.disableProgress=function(){if(!this.progressEnabled)return;this.progressEnabled=false;this.tracker.removeListener("change",this.showProgress);this.gauge.disable()};var p=["newGroup","newItem","newStream"];var d=function(e){Object.keys(a).forEach(function(t){if(t[0]==="_")return;if(p.filter(function(e){return e===t}).length)return;if(e[t])return;if(typeof a[t]!=="function")return;var i=a[t];e[t]=function(){return i.apply(a,arguments)}});if(e instanceof r.TrackerGroup){p.forEach(function(t){var i=e[t];e[t]=function(){return d(i.apply(e,arguments))}})}return e};p.forEach(function(e){a[e]=function(){return d(this.tracker[e].apply(this.tracker,arguments))}});a.clearProgress=function(e){if(!this.progressEnabled)return e&&process.nextTick(e);this.gauge.hide(e)};a.showProgress=function(e,t){if(!this.progressEnabled)return;var i={};if(e)i.section=e;var r=a.record[a.record.length-1];if(r){i.subsection=r.prefix;var n=a.disp[r.level]||r.level;var s=this._format(n,a.style[r.level]);if(r.prefix)s+=" "+this._format(r.prefix,this.prefixStyle);s+=" "+r.message.split(/\r?\n/)[0];i.logline=s}i.completed=t||this.tracker.completed();this.gauge.show(i)}.bind(a);a.pause=function(){this._paused=true;if(this.progressEnabled)this.gauge.disable()};a.resume=function(){if(!this._paused)return;this._paused=false;var e=this._buffer;this._buffer=[];e.forEach(function(e){this.emitLog(e)},this);if(this.progressEnabled)this.gauge.enable()};a._buffer=[];var v=0;a.record=[];a.maxRecordSize=1e4;a.log=function(e,t,i){var r=this.levels[e];if(r===undefined){return this.emit("error",new Error(o.format("Undefined log level: %j",e)))}var n=new Array(arguments.length-2);var s=null;for(var a=2;a<arguments.length;a++){var u=n[a-2]=arguments[a];if(typeof u==="object"&&u&&u instanceof Error&&u.stack){Object.defineProperty(u,"stack",{value:s=u.stack+"",enumerable:true,writable:true})}}if(s)n.unshift(s+"\n");i=o.format.apply(o,n);var c={id:v++,level:e,prefix:String(t||""),message:i,messageRaw:n};this.emit("log",c);this.emit("log."+e,c);if(c.prefix)this.emit(c.prefix,c);this.record.push(c);var l=this.maxRecordSize;var f=this.record.length-l;if(f>l/10){var h=Math.floor(l*.9);this.record=this.record.slice(-1*h)}this.emitLog(c)}.bind(a);a.emitLog=function(e){if(this._paused){this._buffer.push(e);return}if(this.progressEnabled)this.gauge.pulse(e.prefix);var t=this.levels[e.level];if(t===undefined)return;if(t<this.levels[this.level])return;if(t>0&&!isFinite(t))return;var i=a.disp[e.level]!=null?a.disp[e.level]:e.level;this.clearProgress();e.message.split(/\r?\n/).forEach(function(t){if(this.heading){this.write(this.heading,this.headingStyle);this.write(" ")}this.write(i,a.style[e.level]);var r=e.prefix||"";if(r)this.write(" ");this.write(r,this.prefixStyle);this.write(" "+t+"\n")},this);this.showProgress()};a._format=function(e,t){if(!l)return;var i="";if(this.useColor()){t=t||{};var r=[];if(t.fg)r.push(t.fg);if(t.bg)r.push("bg"+t.bg[0].toUpperCase()+t.bg.slice(1));if(t.bold)r.push("bold");if(t.underline)r.push("underline");if(t.inverse)r.push("inverse");if(r.length)i+=c.color(r);if(t.beep)i+=c.beep()}i+=e;if(this.useColor()){i+=c.color("reset")}return i};a.write=function(e,t){if(!l)return;l.write(this._format(e,t))};a.addLevel=function(e,t,i,r){if(r==null)r=e;this.levels[e]=t;this.style[e]=i;if(!this[e]){this[e]=function(){var t=new Array(arguments.length+1);t[0]=e;for(var i=0;i<arguments.length;i++){t[i+1]=arguments[i]}return this.log.apply(this,t)}.bind(this)}this.disp[e]=r};a.prefixStyle={fg:"magenta"};a.headingStyle={fg:"white",bg:"black"};a.style={};a.levels={};a.disp={};a.addLevel("silly",-Infinity,{inverse:true},"sill");a.addLevel("verbose",1e3,{fg:"blue",bg:"black"},"verb");a.addLevel("info",2e3,{fg:"green"});a.addLevel("timing",2500,{fg:"green",bg:"black"});a.addLevel("http",3e3,{fg:"green",bg:"black"});a.addLevel("notice",3500,{fg:"blue",bg:"black"});a.addLevel("warn",4e3,{fg:"black",bg:"yellow"},"WARN");a.addLevel("error",5e3,{fg:"red",bg:"black"},"ERR!");a.addLevel("silent",Infinity);a.on("error",function(){})},8753:e=>{"use strict";e.exports=Number.isNaN||function(e){return e!==e}},1800:e=>{"use strict";var t=Object.getOwnPropertySymbols;var i=Object.prototype.hasOwnProperty;var r=Object.prototype.propertyIsEnumerable;function toObject(e){if(e===null||e===undefined){throw new TypeError("Object.assign cannot be called with null or undefined")}return Object(e)}function shouldUseNative(){try{if(!Object.assign){return false}var e=new String("abc");e[5]="de";if(Object.getOwnPropertyNames(e)[0]==="5"){return false}var t={};for(var i=0;i<10;i++){t["_"+String.fromCharCode(i)]=i}var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if(r.join("")!=="0123456789"){return false}var n={};"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e});if(Object.keys(Object.assign({},n)).join("")!=="abcdefghijklmnopqrst"){return false}return true}catch(e){return false}}e.exports=shouldUseNative()?Object.assign:function(e,n){var s;var a=toObject(e);var o;for(var u=1;u<arguments.length;u++){s=Object(arguments[u]);for(var c in s){if(i.call(s,c)){a[c]=s[c]}}if(t){o=t(s);for(var l=0;l<o.length;l++){if(r.call(s,o[l])){a[o[l]]=s[o[l]]}}}}return a}},7197:(e,t,i)=>{var r=i(4586);e.exports=r(once);e.exports.strict=r(onceStrict);once.proto=once(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})});function once(e){var t=function(){if(t.called)return t.value;t.called=true;return t.value=e.apply(this,arguments)};t.called=false;return t}function onceStrict(e){var t=function(){if(t.called)throw new Error(t.onceError);t.called=true;return t.value=e.apply(this,arguments)};var i=e.name||"Function wrapped with `once`";t.onceError=i+" shouldn't be called more than once";t.called=false;return t}},9235:(e,t,i)=>{"use strict";const r=i(7404);const n=e=>{if(!((Number.isInteger(e)||e===Infinity)&&e>0)){return Promise.reject(new TypeError("Expected `concurrency` to be a number from 1 and up"))}const t=[];let i=0;const n=()=>{i--;if(t.length>0){t.shift()()}};const s=(e,t,...s)=>{i++;const a=r(e,...s);t(a);a.then(n,n)};const a=(r,n,...a)=>{if(i<e){s(r,n,...a)}else{t.push(s.bind(null,r,n,...a))}};const o=(e,...t)=>new Promise(i=>a(e,i,...t));Object.defineProperties(o,{activeCount:{get:()=>i},pendingCount:{get:()=>t.length},clearQueue:{value:()=>{t.length=0}}});return o};e.exports=n;e.exports.default=n},5338:(e,t,i)=>{"use strict";const r=i(9235);class EndError extends Error{constructor(e){super();this.value=e}}const n=async(e,t)=>t(await e);const s=async e=>{const t=await Promise.all(e);if(t[1]===true){throw new EndError(t[0])}return false};const a=async(e,t,i)=>{i={concurrency:Infinity,preserveOrder:true,...i};const a=r(i.concurrency);const o=[...e].map(e=>[e,a(n,e,t)]);const u=r(i.preserveOrder?1:Infinity);try{await Promise.all(o.map(e=>u(s,e)))}catch(e){if(e instanceof EndError){return e.value}throw e}};e.exports=a;e.exports.default=a},7404:e=>{"use strict";const t=(e,...t)=>new Promise(i=>{i(e(...t))});e.exports=t;e.exports.default=t},1323:e=>{"use strict";function posix(e){return e.charAt(0)==="/"}function win32(e){var t=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;var i=t.exec(e);var r=i[1]||"";var n=Boolean(r&&r.charAt(1)!==":");return Boolean(i[2]||n)}e.exports=process.platform==="win32"?win32:posix;e.exports.posix=posix;e.exports.win32=win32},6671:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function lexer(e){var t=[];var i=0;while(i<e.length){var r=e[i];if(r==="*"||r==="+"||r==="?"){t.push({type:"MODIFIER",index:i,value:e[i++]});continue}if(r==="\\"){t.push({type:"ESCAPED_CHAR",index:i++,value:e[i++]});continue}if(r==="{"){t.push({type:"OPEN",index:i,value:e[i++]});continue}if(r==="}"){t.push({type:"CLOSE",index:i,value:e[i++]});continue}if(r===":"){var n="";var s=i+1;while(s<e.length){var a=e.charCodeAt(s);if(a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122||a===95){n+=e[s++];continue}break}if(!n)throw new TypeError("Missing parameter name at "+i);t.push({type:"NAME",index:i,value:n});i=s;continue}if(r==="("){var o=1;var u="";var s=i+1;if(e[s]==="?"){throw new TypeError('Pattern cannot start with "?" at '+s)}while(s<e.length){if(e[s]==="\\"){u+=e[s++]+e[s++];continue}if(e[s]===")"){o--;if(o===0){s++;break}}else if(e[s]==="("){o++;if(e[s+1]!=="?"){throw new TypeError("Capturing groups are not allowed at "+s)}}u+=e[s++]}if(o)throw new TypeError("Unbalanced pattern at "+i);if(!u)throw new TypeError("Missing pattern at "+i);t.push({type:"PATTERN",index:i,value:u});i=s;continue}t.push({type:"CHAR",index:i,value:e[i++]})}t.push({type:"END",index:i,value:""});return t}function parse(e,t){if(t===void 0){t={}}var i=lexer(e);var r=t.prefixes,n=r===void 0?"./":r;var s="[^"+escapeString(t.delimiter||"/#?")+"]+?";var a=[];var o=0;var u=0;var c="";var l=function(e){if(u<i.length&&i[u].type===e)return i[u++].value};var f=function(e){var t=l(e);if(t!==undefined)return t;var r=i[u],n=r.type,s=r.index;throw new TypeError("Unexpected "+n+" at "+s+", expected "+e)};var h=function(){var e="";var t;while(t=l("CHAR")||l("ESCAPED_CHAR")){e+=t}return e};while(u<i.length){var p=l("CHAR");var d=l("NAME");var v=l("PATTERN");if(d||v){var y=p||"";if(n.indexOf(y)===-1){c+=y;y=""}if(c){a.push(c);c=""}a.push({name:d||o++,prefix:y,suffix:"",pattern:v||s,modifier:l("MODIFIER")||""});continue}var g=p||l("ESCAPED_CHAR");if(g){c+=g;continue}if(c){a.push(c);c=""}var b=l("OPEN");if(b){var y=h();var m=l("NAME")||"";var _=l("PATTERN")||"";var w=h();f("CLOSE");a.push({name:m||(_?o++:""),pattern:m&&!_?s:_,prefix:y,suffix:w,modifier:l("MODIFIER")||""});continue}f("END")}return a}t.parse=parse;function compile(e,t){return tokensToFunction(parse(e,t),t)}t.compile=compile;function tokensToFunction(e,t){if(t===void 0){t={}}var i=flags(t);var r=t.encode,n=r===void 0?function(e){return e}:r,s=t.validate,a=s===void 0?true:s;var o=e.map(function(e){if(typeof e==="object"){return new RegExp("^(?:"+e.pattern+")$",i)}});return function(t){var i="";for(var r=0;r<e.length;r++){var s=e[r];if(typeof s==="string"){i+=s;continue}var u=t?t[s.name]:undefined;var c=s.modifier==="?"||s.modifier==="*";var l=s.modifier==="*"||s.modifier==="+";if(Array.isArray(u)){if(!l){throw new TypeError('Expected "'+s.name+'" to not repeat, but got an array')}if(u.length===0){if(c)continue;throw new TypeError('Expected "'+s.name+'" to not be empty')}for(var f=0;f<u.length;f++){var h=n(u[f],s);if(a&&!o[r].test(h)){throw new TypeError('Expected all "'+s.name+'" to match "'+s.pattern+'", but got "'+h+'"')}i+=s.prefix+h+s.suffix}continue}if(typeof u==="string"||typeof u==="number"){var h=n(String(u),s);if(a&&!o[r].test(h)){throw new TypeError('Expected "'+s.name+'" to match "'+s.pattern+'", but got "'+h+'"')}i+=s.prefix+h+s.suffix;continue}if(c)continue;var p=l?"an array":"a string";throw new TypeError('Expected "'+s.name+'" to be '+p)}return i}}t.tokensToFunction=tokensToFunction;function match(e,t){var i=[];var r=pathToRegexp(e,i,t);return regexpToFunction(r,i,t)}t.match=match;function regexpToFunction(e,t,i){if(i===void 0){i={}}var r=i.decode,n=r===void 0?function(e){return e}:r;return function(i){var r=e.exec(i);if(!r)return false;var s=r[0],a=r.index;var o=Object.create(null);var u=function(e){if(r[e]===undefined)return"continue";var i=t[e-1];if(i.modifier==="*"||i.modifier==="+"){o[i.name]=r[e].split(i.prefix+i.suffix).map(function(e){return n(e,i)})}else{o[i.name]=n(r[e],i)}};for(var c=1;c<r.length;c++){u(c)}return{path:s,index:a,params:o}}}t.regexpToFunction=regexpToFunction;function escapeString(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function flags(e){return e&&e.sensitive?"":"i"}function regexpToRegexp(e,t){if(!t)return e;var i=e.source.match(/\((?!\?)/g);if(i){for(var r=0;r<i.length;r++){t.push({name:r,prefix:"",suffix:"",modifier:"",pattern:""})}}return e}function arrayToRegexp(e,t,i){var r=e.map(function(e){return pathToRegexp(e,t,i).source});return new RegExp("(?:"+r.join("|")+")",flags(i))}function stringToRegexp(e,t,i){return tokensToRegexp(parse(e,i),t,i)}function tokensToRegexp(e,t,i){if(i===void 0){i={}}var r=i.strict,n=r===void 0?false:r,s=i.start,a=s===void 0?true:s,o=i.end,u=o===void 0?true:o,c=i.encode,l=c===void 0?function(e){return e}:c;var f="["+escapeString(i.endsWith||"")+"]|$";var h="["+escapeString(i.delimiter||"/#?")+"]";var p=a?"^":"";for(var d=0,v=e;d<v.length;d++){var y=v[d];if(typeof y==="string"){p+=escapeString(l(y))}else{var g=escapeString(l(y.prefix));var b=escapeString(l(y.suffix));if(y.pattern){if(t)t.push(y);if(g||b){if(y.modifier==="+"||y.modifier==="*"){var m=y.modifier==="*"?"?":"";p+="(?:"+g+"((?:"+y.pattern+")(?:"+b+g+"(?:"+y.pattern+"))*)"+b+")"+m}else{p+="(?:"+g+"("+y.pattern+")"+b+")"+y.modifier}}else{p+="("+y.pattern+")"+y.modifier}}else{p+="(?:"+g+b+")"+y.modifier}}}if(u){if(!n)p+=h+"?";p+=!i.endsWith?"$":"(?="+f+")"}else{var _=e[e.length-1];var w=typeof _==="string"?h.indexOf(_[_.length-1])>-1:_===undefined;if(!n){p+="(?:"+h+"(?="+f+"))?"}if(!w){p+="(?="+h+"|"+f+")"}}return new RegExp(p,flags(i))}t.tokensToRegexp=tokensToRegexp;function pathToRegexp(e,t,i){if(e instanceof RegExp)return regexpToRegexp(e,t);if(Array.isArray(e))return arrayToRegexp(e,t,i);return stringToRegexp(e,t,i)}t.pathToRegexp=pathToRegexp},9138:(e,t,i)=>{"use strict";e.exports=i(4755)},8223:(e,t,i)=>{"use strict";const r=i(5622);const n="\\\\/";const s=`[^${n}]`;const a="\\.";const o="\\+";const u="\\?";const c="\\/";const l="(?=.)";const f="[^/]";const h=`(?:${c}|$)`;const p=`(?:^|${c})`;const d=`${a}{1,2}${h}`;const v=`(?!${a})`;const y=`(?!${p}${d})`;const g=`(?!${a}{0,1}${h})`;const b=`(?!${d})`;const m=`[^.${c}]`;const _=`${f}*?`;const w={DOT_LITERAL:a,PLUS_LITERAL:o,QMARK_LITERAL:u,SLASH_LITERAL:c,ONE_CHAR:l,QMARK:f,END_ANCHOR:h,DOTS_SLASH:d,NO_DOT:v,NO_DOTS:y,NO_DOT_SLASH:g,NO_DOTS_SLASH:b,QMARK_NO_DOT:m,STAR:_,START_ANCHOR:p};const E={...w,SLASH_LITERAL:`[${n}]`,QMARK:s,STAR:`${s}*?`,DOTS_SLASH:`${a}{1,2}(?:[${n}]|$)`,NO_DOT:`(?!${a})`,NO_DOTS:`(?!(?:^|[${n}])${a}{1,2}(?:[${n}]|$))`,NO_DOT_SLASH:`(?!${a}{0,1}(?:[${n}]|$))`,NO_DOTS_SLASH:`(?!${a}{1,2}(?:[${n}]|$))`,QMARK_NO_DOT:`[^.${n}]`,START_ANCHOR:`(?:^|[${n}])`,END_ANCHOR:`(?:[${n}]|$)`};const S={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};e.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:S,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:r.sep,extglobChars(e){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(e){return e===true?E:w}}},8573:(e,t,i)=>{"use strict";const r=i(8223);const n=i(2924);const{MAX_LENGTH:s,POSIX_REGEX_SOURCE:a,REGEX_NON_SPECIAL_CHARS:o,REGEX_SPECIAL_CHARS_BACKREF:u,REPLACEMENTS:c}=r;const l=(e,t)=>{if(typeof t.expandRange==="function"){return t.expandRange(...e,t)}e.sort();const i=`[${e.join("-")}]`;try{new RegExp(i)}catch(t){return e.map(e=>n.escapeRegex(e)).join("..")}return i};const f=(e,t)=>{return`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`};const h=(e,t)=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}e=c[e]||e;const i={...t};const h=typeof i.maxLength==="number"?Math.min(s,i.maxLength):s;let p=e.length;if(p>h){throw new SyntaxError(`Input length: ${p}, exceeds maximum allowed length: ${h}`)}const d={type:"bos",value:"",output:i.prepend||""};const v=[d];const y=i.capture?"":"?:";const g=n.isWindows(t);const b=r.globChars(g);const m=r.extglobChars(b);const{DOT_LITERAL:_,PLUS_LITERAL:w,SLASH_LITERAL:E,ONE_CHAR:S,DOTS_SLASH:x,NO_DOT:R,NO_DOT_SLASH:A,NO_DOTS_SLASH:k,QMARK:T,QMARK_NO_DOT:C,STAR:O,START_ANCHOR:N}=b;const j=e=>{return`(${y}(?:(?!${N}${e.dot?x:_}).)*?)`};const I=i.dot?"":R;const $=i.dot?T:C;let P=i.bash===true?j(i):O;if(i.capture){P=`(${P})`}if(typeof i.noext==="boolean"){i.noextglob=i.noext}const F={input:e,index:-1,start:0,dot:i.dot===true,consumed:"",output:"",prefix:"",backtrack:false,negated:false,brackets:0,braces:0,parens:0,quotes:0,globstar:false,tokens:v};e=n.removePrefix(e,F);p=e.length;const L=[];const B=[];const D=[];let H=d;let U;const W=()=>F.index===p-1;const q=F.peek=((t=1)=>e[F.index+t]);const G=F.advance=(()=>e[++F.index]);const V=()=>e.slice(F.index+1);const z=(e="",t=0)=>{F.consumed+=e;F.index+=t};const M=e=>{F.output+=e.output!=null?e.output:e.value;z(e.value)};const X=()=>{let e=1;while(q()==="!"&&(q(2)!=="("||q(3)==="?")){G();F.start++;e++}if(e%2===0){return false}F.negated=true;F.start++;return true};const K=e=>{F[e]++;D.push(e)};const Y=e=>{F[e]--;D.pop()};const Q=e=>{if(H.type==="globstar"){const t=F.braces>0&&(e.type==="comma"||e.type==="brace");const i=e.extglob===true||L.length&&(e.type==="pipe"||e.type==="paren");if(e.type!=="slash"&&e.type!=="paren"&&!t&&!i){F.output=F.output.slice(0,-H.output.length);H.type="star";H.value="*";H.output=P;F.output+=H.output}}if(L.length&&e.type!=="paren"&&!m[e.value]){L[L.length-1].inner+=e.value}if(e.value||e.output)M(e);if(H&&H.type==="text"&&e.type==="text"){H.value+=e.value;H.output=(H.output||"")+e.value;return}e.prev=H;v.push(e);H=e};const J=(e,t)=>{const r={...m[t],conditions:1,inner:""};r.prev=H;r.parens=F.parens;r.output=F.output;const n=(i.capture?"(":"")+r.open;K("parens");Q({type:e,value:t,output:F.output?"":S});Q({type:"paren",extglob:true,value:G(),output:n});L.push(r)};const Z=e=>{let t=e.close+(i.capture?")":"");if(e.type==="negate"){let r=P;if(e.inner&&e.inner.length>1&&e.inner.includes("/")){r=j(i)}if(r!==P||W()||/^\)+$/.test(V())){t=e.close=`)$))${r}`}if(e.prev.type==="bos"&&W()){F.negatedExtglob=true}}Q({type:"paren",extglob:true,value:U,output:t});Y("parens")};if(i.fastpaths!==false&&!/(^[*!]|[/()[\]{}"])/.test(e)){let r=false;let s=e.replace(u,(e,t,i,n,s,a)=>{if(n==="\\"){r=true;return e}if(n==="?"){if(t){return t+n+(s?T.repeat(s.length):"")}if(a===0){return $+(s?T.repeat(s.length):"")}return T.repeat(i.length)}if(n==="."){return _.repeat(i.length)}if(n==="*"){if(t){return t+n+(s?P:"")}return P}return t?e:`\\${e}`});if(r===true){if(i.unescape===true){s=s.replace(/\\/g,"")}else{s=s.replace(/\\+/g,e=>{return e.length%2===0?"\\\\":e?"\\":""})}}if(s===e&&i.contains===true){F.output=e;return F}F.output=n.wrapOutput(s,F,t);return F}while(!W()){U=G();if(U==="\0"){continue}if(U==="\\"){const e=q();if(e==="/"&&i.bash!==true){continue}if(e==="."||e===";"){continue}if(!e){U+="\\";Q({type:"text",value:U});continue}const t=/^\\+/.exec(V());let r=0;if(t&&t[0].length>2){r=t[0].length;F.index+=r;if(r%2!==0){U+="\\"}}if(i.unescape===true){U=G()||""}else{U+=G()||""}if(F.brackets===0){Q({type:"text",value:U});continue}}if(F.brackets>0&&(U!=="]"||H.value==="["||H.value==="[^")){if(i.posix!==false&&U===":"){const e=H.value.slice(1);if(e.includes("[")){H.posix=true;if(e.includes(":")){const e=H.value.lastIndexOf("[");const t=H.value.slice(0,e);const i=H.value.slice(e+2);const r=a[i];if(r){H.value=t+r;F.backtrack=true;G();if(!d.output&&v.indexOf(H)===1){d.output=S}continue}}}}if(U==="["&&q()!==":"||U==="-"&&q()==="]"){U=`\\${U}`}if(U==="]"&&(H.value==="["||H.value==="[^")){U=`\\${U}`}if(i.posix===true&&U==="!"&&H.value==="["){U="^"}H.value+=U;M({value:U});continue}if(F.quotes===1&&U!=='"'){U=n.escapeRegex(U);H.value+=U;M({value:U});continue}if(U==='"'){F.quotes=F.quotes===1?0:1;if(i.keepQuotes===true){Q({type:"text",value:U})}continue}if(U==="("){K("parens");Q({type:"paren",value:U});continue}if(U===")"){if(F.parens===0&&i.strictBrackets===true){throw new SyntaxError(f("opening","("))}const e=L[L.length-1];if(e&&F.parens===e.parens+1){Z(L.pop());continue}Q({type:"paren",value:U,output:F.parens?")":"\\)"});Y("parens");continue}if(U==="["){if(i.nobracket===true||!V().includes("]")){if(i.nobracket!==true&&i.strictBrackets===true){throw new SyntaxError(f("closing","]"))}U=`\\${U}`}else{K("brackets")}Q({type:"bracket",value:U});continue}if(U==="]"){if(i.nobracket===true||H&&H.type==="bracket"&&H.value.length===1){Q({type:"text",value:U,output:`\\${U}`});continue}if(F.brackets===0){if(i.strictBrackets===true){throw new SyntaxError(f("opening","["))}Q({type:"text",value:U,output:`\\${U}`});continue}Y("brackets");const e=H.value.slice(1);if(H.posix!==true&&e[0]==="^"&&!e.includes("/")){U=`/${U}`}H.value+=U;M({value:U});if(i.literalBrackets===false||n.hasRegexChars(e)){continue}const t=n.escapeRegex(H.value);F.output=F.output.slice(0,-H.value.length);if(i.literalBrackets===true){F.output+=t;H.value=t;continue}H.value=`(${y}${t}|${H.value})`;F.output+=H.value;continue}if(U==="{"&&i.nobrace!==true){K("braces");const e={type:"brace",value:U,output:"(",outputIndex:F.output.length,tokensIndex:F.tokens.length};B.push(e);Q(e);continue}if(U==="}"){const e=B[B.length-1];if(i.nobrace===true||!e){Q({type:"text",value:U,output:U});continue}let t=")";if(e.dots===true){const e=v.slice();const r=[];for(let t=e.length-1;t>=0;t--){v.pop();if(e[t].type==="brace"){break}if(e[t].type!=="dots"){r.unshift(e[t].value)}}t=l(r,i);F.backtrack=true}if(e.comma!==true&&e.dots!==true){const i=F.output.slice(0,e.outputIndex);const r=F.tokens.slice(e.tokensIndex);e.value=e.output="\\{";U=t="\\}";F.output=i;for(const e of r){F.output+=e.output||e.value}}Q({type:"brace",value:U,output:t});Y("braces");B.pop();continue}if(U==="|"){if(L.length>0){L[L.length-1].conditions++}Q({type:"text",value:U});continue}if(U===","){let e=U;const t=B[B.length-1];if(t&&D[D.length-1]==="braces"){t.comma=true;e="|"}Q({type:"comma",value:U,output:e});continue}if(U==="/"){if(H.type==="dot"&&F.index===F.start+1){F.start=F.index+1;F.consumed="";F.output="";v.pop();H=d;continue}Q({type:"slash",value:U,output:E});continue}if(U==="."){if(F.braces>0&&H.type==="dot"){if(H.value===".")H.output=_;const e=B[B.length-1];H.type="dots";H.output+=U;H.value+=U;e.dots=true;continue}if(F.braces+F.parens===0&&H.type!=="bos"&&H.type!=="slash"){Q({type:"text",value:U,output:_});continue}Q({type:"dot",value:U,output:_});continue}if(U==="?"){const e=H&&H.value==="(";if(!e&&i.noextglob!==true&&q()==="("&&q(2)!=="?"){J("qmark",U);continue}if(H&&H.type==="paren"){const e=q();let t=U;if(e==="<"&&!n.supportsLookbehinds()){throw new Error("Node.js v10 or higher is required for regex lookbehinds")}if(H.value==="("&&!/[!=<:]/.test(e)||e==="<"&&!/<([!=]|\w+>)/.test(V())){t=`\\${U}`}Q({type:"text",value:U,output:t});continue}if(i.dot!==true&&(H.type==="slash"||H.type==="bos")){Q({type:"qmark",value:U,output:C});continue}Q({type:"qmark",value:U,output:T});continue}if(U==="!"){if(i.noextglob!==true&&q()==="("){if(q(2)!=="?"||!/[!=<:]/.test(q(3))){J("negate",U);continue}}if(i.nonegate!==true&&F.index===0){X();continue}}if(U==="+"){if(i.noextglob!==true&&q()==="("&&q(2)!=="?"){J("plus",U);continue}if(H&&H.value==="("||i.regex===false){Q({type:"plus",value:U,output:w});continue}if(H&&(H.type==="bracket"||H.type==="paren"||H.type==="brace")||F.parens>0){Q({type:"plus",value:U});continue}Q({type:"plus",value:w});continue}if(U==="@"){if(i.noextglob!==true&&q()==="("&&q(2)!=="?"){Q({type:"at",extglob:true,value:U,output:""});continue}Q({type:"text",value:U});continue}if(U!=="*"){if(U==="$"||U==="^"){U=`\\${U}`}const e=o.exec(V());if(e){U+=e[0];F.index+=e[0].length}Q({type:"text",value:U});continue}if(H&&(H.type==="globstar"||H.star===true)){H.type="star";H.star=true;H.value+=U;H.output=P;F.backtrack=true;F.globstar=true;z(U);continue}let t=V();if(i.noextglob!==true&&/^\([^?]/.test(t)){J("star",U);continue}if(H.type==="star"){if(i.noglobstar===true){z(U);continue}const r=H.prev;const n=r.prev;const s=r.type==="slash"||r.type==="bos";const a=n&&(n.type==="star"||n.type==="globstar");if(i.bash===true&&(!s||t[0]&&t[0]!=="/")){Q({type:"star",value:U,output:""});continue}const o=F.braces>0&&(r.type==="comma"||r.type==="brace");const u=L.length&&(r.type==="pipe"||r.type==="paren");if(!s&&r.type!=="paren"&&!o&&!u){Q({type:"star",value:U,output:""});continue}while(t.slice(0,3)==="/**"){const i=e[F.index+4];if(i&&i!=="/"){break}t=t.slice(3);z("/**",3)}if(r.type==="bos"&&W()){H.type="globstar";H.value+=U;H.output=j(i);F.output=H.output;F.globstar=true;z(U);continue}if(r.type==="slash"&&r.prev.type!=="bos"&&!a&&W()){F.output=F.output.slice(0,-(r.output+H.output).length);r.output=`(?:${r.output}`;H.type="globstar";H.output=j(i)+(i.strictSlashes?")":"|$)");H.value+=U;F.globstar=true;F.output+=r.output+H.output;z(U);continue}if(r.type==="slash"&&r.prev.type!=="bos"&&t[0]==="/"){const e=t[1]!==void 0?"|$":"";F.output=F.output.slice(0,-(r.output+H.output).length);r.output=`(?:${r.output}`;H.type="globstar";H.output=`${j(i)}${E}|${E}${e})`;H.value+=U;F.output+=r.output+H.output;F.globstar=true;z(U+G());Q({type:"slash",value:"/",output:""});continue}if(r.type==="bos"&&t[0]==="/"){H.type="globstar";H.value+=U;H.output=`(?:^|${E}|${j(i)}${E})`;F.output=H.output;F.globstar=true;z(U+G());Q({type:"slash",value:"/",output:""});continue}F.output=F.output.slice(0,-H.output.length);H.type="globstar";H.output=j(i);H.value+=U;F.output+=H.output;F.globstar=true;z(U);continue}const r={type:"star",value:U,output:P};if(i.bash===true){r.output=".*?";if(H.type==="bos"||H.type==="slash"){r.output=I+r.output}Q(r);continue}if(H&&(H.type==="bracket"||H.type==="paren")&&i.regex===true){r.output=U;Q(r);continue}if(F.index===F.start||H.type==="slash"||H.type==="dot"){if(H.type==="dot"){F.output+=A;H.output+=A}else if(i.dot===true){F.output+=k;H.output+=k}else{F.output+=I;H.output+=I}if(q()!=="*"){F.output+=S;H.output+=S}}Q(r)}while(F.brackets>0){if(i.strictBrackets===true)throw new SyntaxError(f("closing","]"));F.output=n.escapeLast(F.output,"[");Y("brackets")}while(F.parens>0){if(i.strictBrackets===true)throw new SyntaxError(f("closing",")"));F.output=n.escapeLast(F.output,"(");Y("parens")}while(F.braces>0){if(i.strictBrackets===true)throw new SyntaxError(f("closing","}"));F.output=n.escapeLast(F.output,"{");Y("braces")}if(i.strictSlashes!==true&&(H.type==="star"||H.type==="bracket")){Q({type:"maybe_slash",value:"",output:`${E}?`})}if(F.backtrack===true){F.output="";for(const e of F.tokens){F.output+=e.output!=null?e.output:e.value;if(e.suffix){F.output+=e.suffix}}}return F};h.fastpaths=((e,t)=>{const i={...t};const a=typeof i.maxLength==="number"?Math.min(s,i.maxLength):s;const o=e.length;if(o>a){throw new SyntaxError(`Input length: ${o}, exceeds maximum allowed length: ${a}`)}e=c[e]||e;const u=n.isWindows(t);const{DOT_LITERAL:l,SLASH_LITERAL:f,ONE_CHAR:h,DOTS_SLASH:p,NO_DOT:d,NO_DOTS:v,NO_DOTS_SLASH:y,STAR:g,START_ANCHOR:b}=r.globChars(u);const m=i.dot?v:d;const _=i.dot?y:d;const w=i.capture?"":"?:";const E={negated:false,prefix:""};let S=i.bash===true?".*?":g;if(i.capture){S=`(${S})`}const x=e=>{if(e.noglobstar===true)return S;return`(${w}(?:(?!${b}${e.dot?p:l}).)*?)`};const R=e=>{switch(e){case"*":return`${m}${h}${S}`;case".*":return`${l}${h}${S}`;case"*.*":return`${m}${S}${l}${h}${S}`;case"*/*":return`${m}${S}${f}${h}${_}${S}`;case"**":return m+x(i);case"**/*":return`(?:${m}${x(i)}${f})?${_}${h}${S}`;case"**/*.*":return`(?:${m}${x(i)}${f})?${_}${S}${l}${h}${S}`;case"**/.*":return`(?:${m}${x(i)}${f})?${l}${h}${S}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const i=R(t[1]);if(!i)return;return i+l+t[2]}}};const A=n.removePrefix(e,E);let k=R(A);if(k&&i.strictSlashes!==true){k+=`${f}?`}return k});e.exports=h},4755:(e,t,i)=>{"use strict";const r=i(5622);const n=i(2017);const s=i(8573);const a=i(2924);const o=i(8223);const u=e=>e&&typeof e==="object"&&!Array.isArray(e);const c=(e,t,i=false)=>{if(Array.isArray(e)){const r=e.map(e=>c(e,t,i));const n=e=>{for(const t of r){const i=t(e);if(i)return i}return false};return n}const r=u(e)&&e.tokens&&e.input;if(e===""||typeof e!=="string"&&!r){throw new TypeError("Expected pattern to be a non-empty string")}const n=t||{};const s=a.isWindows(t);const o=r?c.compileRe(e,t):c.makeRe(e,t,false,true);const l=o.state;delete o.state;let f=()=>false;if(n.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};f=c(n.ignore,e,i)}const h=(i,r=false)=>{const{isMatch:a,match:u,output:h}=c.test(i,o,t,{glob:e,posix:s});const p={glob:e,state:l,regex:o,posix:s,input:i,output:h,match:u,isMatch:a};if(typeof n.onResult==="function"){n.onResult(p)}if(a===false){p.isMatch=false;return r?p:false}if(f(i)){if(typeof n.onIgnore==="function"){n.onIgnore(p)}p.isMatch=false;return r?p:false}if(typeof n.onMatch==="function"){n.onMatch(p)}return r?p:true};if(i){h.state=l}return h};c.test=((e,t,i,{glob:r,posix:n}={})=>{if(typeof e!=="string"){throw new TypeError("Expected input to be a string")}if(e===""){return{isMatch:false,output:""}}const s=i||{};const o=s.format||(n?a.toPosixSlashes:null);let u=e===r;let l=u&&o?o(e):e;if(u===false){l=o?o(e):e;u=l===r}if(u===false||s.capture===true){if(s.matchBase===true||s.basename===true){u=c.matchBase(e,t,i,n)}else{u=t.exec(l)}}return{isMatch:Boolean(u),match:u,output:l}});c.matchBase=((e,t,i,n=a.isWindows(i))=>{const s=t instanceof RegExp?t:c.makeRe(t,i);return s.test(r.basename(e))});c.isMatch=((e,t,i)=>c(t,i)(e));c.parse=((e,t)=>{if(Array.isArray(e))return e.map(e=>c.parse(e,t));return s(e,{...t,fastpaths:false})});c.scan=((e,t)=>n(e,t));c.compileRe=((e,t,i=false,r=false)=>{if(i===true){return e.output}const n=t||{};const s=n.contains?"":"^";const a=n.contains?"":"$";let o=`${s}(?:${e.output})${a}`;if(e&&e.negated===true){o=`^(?!${o}).*$`}const u=c.toRegex(o,t);if(r===true){u.state=e}return u});c.makeRe=((e,t,i=false,r=false)=>{if(!e||typeof e!=="string"){throw new TypeError("Expected a non-empty string")}const n=t||{};let a={negated:false,fastpaths:true};let o="";let u;if(e.startsWith("./")){e=e.slice(2);o=a.prefix="./"}if(n.fastpaths!==false&&(e[0]==="."||e[0]==="*")){u=s.fastpaths(e,t)}if(u===undefined){a=s(e,t);a.prefix=o+(a.prefix||"")}else{a.output=u}return c.compileRe(a,t,i,r)});c.toRegex=((e,t)=>{try{const i=t||{};return new RegExp(e,i.flags||(i.nocase?"i":""))}catch(e){if(t&&t.debug===true)throw e;return/$^/}});c.constants=o;e.exports=c},2017:(e,t,i)=>{"use strict";const r=i(2924);const{CHAR_ASTERISK:n,CHAR_AT:s,CHAR_BACKWARD_SLASH:a,CHAR_COMMA:o,CHAR_DOT:u,CHAR_EXCLAMATION_MARK:c,CHAR_FORWARD_SLASH:l,CHAR_LEFT_CURLY_BRACE:f,CHAR_LEFT_PARENTHESES:h,CHAR_LEFT_SQUARE_BRACKET:p,CHAR_PLUS:d,CHAR_QUESTION_MARK:v,CHAR_RIGHT_CURLY_BRACE:y,CHAR_RIGHT_PARENTHESES:g,CHAR_RIGHT_SQUARE_BRACKET:b}=i(8223);const m=e=>{return e===l||e===a};const _=e=>{if(e.isPrefix!==true){e.depth=e.isGlobstar?Infinity:1}};const w=(e,t)=>{const i=t||{};const w=e.length-1;const E=i.parts===true||i.scanToEnd===true;const S=[];const x=[];const R=[];let A=e;let k=-1;let T=0;let C=0;let O=false;let N=false;let j=false;let I=false;let $=false;let P=false;let F=false;let L=false;let B=false;let D=0;let H;let U;let W={value:"",depth:0,isGlob:false};const q=()=>k>=w;const G=()=>A.charCodeAt(k+1);const V=()=>{H=U;return A.charCodeAt(++k)};while(k<w){U=V();let e;if(U===a){F=W.backslashes=true;U=V();if(U===f){P=true}continue}if(P===true||U===f){D++;while(q()!==true&&(U=V())){if(U===a){F=W.backslashes=true;V();continue}if(U===f){D++;continue}if(P!==true&&U===u&&(U=V())===u){O=W.isBrace=true;j=W.isGlob=true;B=true;if(E===true){continue}break}if(P!==true&&U===o){O=W.isBrace=true;j=W.isGlob=true;B=true;if(E===true){continue}break}if(U===y){D--;if(D===0){P=false;O=W.isBrace=true;B=true;break}}}if(E===true){continue}break}if(U===l){S.push(k);x.push(W);W={value:"",depth:0,isGlob:false};if(B===true)continue;if(H===u&&k===T+1){T+=2;continue}C=k+1;continue}if(i.noext!==true){const e=U===d||U===s||U===n||U===v||U===c;if(e===true&&G()===h){j=W.isGlob=true;I=W.isExtglob=true;B=true;if(E===true){while(q()!==true&&(U=V())){if(U===a){F=W.backslashes=true;U=V();continue}if(U===g){j=W.isGlob=true;B=true;break}}continue}break}}if(U===n){if(H===n)$=W.isGlobstar=true;j=W.isGlob=true;B=true;if(E===true){continue}break}if(U===v){j=W.isGlob=true;B=true;if(E===true){continue}break}if(U===p){while(q()!==true&&(e=V())){if(e===a){F=W.backslashes=true;V();continue}if(e===b){N=W.isBracket=true;j=W.isGlob=true;B=true;if(E===true){continue}break}}}if(i.nonegate!==true&&U===c&&k===T){L=W.negated=true;T++;continue}if(i.noparen!==true&&U===h){j=W.isGlob=true;if(E===true){while(q()!==true&&(U=V())){if(U===h){F=W.backslashes=true;U=V();continue}if(U===g){B=true;break}}continue}break}if(j===true){B=true;if(E===true){continue}break}}if(i.noext===true){I=false;j=false}let z=A;let M="";let X="";if(T>0){M=A.slice(0,T);A=A.slice(T);C-=T}if(z&&j===true&&C>0){z=A.slice(0,C);X=A.slice(C)}else if(j===true){z="";X=A}else{z=A}if(z&&z!==""&&z!=="/"&&z!==A){if(m(z.charCodeAt(z.length-1))){z=z.slice(0,-1)}}if(i.unescape===true){if(X)X=r.removeBackslashes(X);if(z&&F===true){z=r.removeBackslashes(z)}}const K={prefix:M,input:e,start:T,base:z,glob:X,isBrace:O,isBracket:N,isGlob:j,isExtglob:I,isGlobstar:$,negated:L};if(i.tokens===true){K.maxDepth=0;if(!m(U)){x.push(W)}K.tokens=x}if(i.parts===true||i.tokens===true){let t;for(let r=0;r<S.length;r++){const n=t?t+1:T;const s=S[r];const a=e.slice(n,s);if(i.tokens){if(r===0&&T!==0){x[r].isPrefix=true;x[r].value=M}else{x[r].value=a}_(x[r]);K.maxDepth+=x[r].depth}if(r!==0||a!==""){R.push(a)}t=s}if(t&&t+1<e.length){const r=e.slice(t+1);R.push(r);if(i.tokens){x[x.length-1].value=r;_(x[x.length-1]);K.maxDepth+=x[x.length-1].depth}}K.slashes=S;K.parts=R}return K};e.exports=w},2924:(e,t,i)=>{"use strict";const r=i(5622);const n=process.platform==="win32";const{REGEX_BACKSLASH:s,REGEX_REMOVE_BACKSLASH:a,REGEX_SPECIAL_CHARS:o,REGEX_SPECIAL_CHARS_GLOBAL:u}=i(8223);t.isObject=(e=>e!==null&&typeof e==="object"&&!Array.isArray(e));t.hasRegexChars=(e=>o.test(e));t.isRegexChar=(e=>e.length===1&&t.hasRegexChars(e));t.escapeRegex=(e=>e.replace(u,"\\$1"));t.toPosixSlashes=(e=>e.replace(s,"/"));t.removeBackslashes=(e=>{return e.replace(a,e=>{return e==="\\"?"":e})});t.supportsLookbehinds=(()=>{const e=process.version.slice(1).split(".").map(Number);if(e.length===3&&e[0]>=9||e[0]===8&&e[1]>=10){return true}return false});t.isWindows=(e=>{if(e&&typeof e.windows==="boolean"){return e.windows}return n===true||r.sep==="\\"});t.escapeLast=((e,i,r)=>{const n=e.lastIndexOf(i,r);if(n===-1)return e;if(e[n-1]==="\\")return t.escapeLast(e,i,n-1);return`${e.slice(0,n)}\\${e.slice(n)}`});t.removePrefix=((e,t={})=>{let i=e;if(i.startsWith("./")){i=i.slice(2);t.prefix="./"}return i});t.wrapOutput=((e,t={},i={})=>{const r=i.contains?"":"^";const n=i.contains?"":"$";let s=`${r}(?:${e})${n}`;if(t.negated===true){s=`(?:^(?!${s}).*$)`}return s})},539:e=>{"use strict";const t=["B","kB","MB","GB","TB","PB","EB","ZB","YB"];const i=["B","kiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"];const r=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"];const n=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"];const s=(e,t,i)=>{let r=e;if(typeof t==="string"||Array.isArray(t)){r=e.toLocaleString(t,i)}else if(t===true||i!==undefined){r=e.toLocaleString(undefined,i)}return r};e.exports=((e,a)=>{if(!Number.isFinite(e)){throw new TypeError(`Expected a finite number, got ${typeof e}: ${e}`)}a=Object.assign({bits:false,binary:false},a);const o=a.bits?a.binary?n:r:a.binary?i:t;if(a.signed&&e===0){return` 0 ${o[0]}`}const u=e<0;const c=u?"-":a.signed?"+":"";if(u){e=-e}let l;if(a.minimumFractionDigits!==undefined){l={minimumFractionDigits:a.minimumFractionDigits}}if(a.maximumFractionDigits!==undefined){l=Object.assign({maximumFractionDigits:a.maximumFractionDigits},l)}if(e<1){const t=s(e,a.locale,l);return c+t+" "+o[0]}const f=Math.min(Math.floor(a.binary?Math.log(e)/Math.log(1024):Math.log10(e)/3),o.length-1);e/=Math.pow(a.binary?1024:1e3,f);if(!l){e=e.toPrecision(3)}const h=s(Number(e),a.locale,l);const p=o[f];return c+h+" "+p})},7843:e=>{"use strict";if(typeof process==="undefined"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0){e.exports={nextTick:nextTick}}else{e.exports=process}function nextTick(e,t,i,r){if(typeof e!=="function"){throw new TypeError('"callback" argument must be a function')}var n=arguments.length;var s,a;switch(n){case 0:case 1:return process.nextTick(e);case 2:return process.nextTick(function afterTickOne(){e.call(null,t)});case 3:return process.nextTick(function afterTickTwo(){e.call(null,t,i)});case 4:return process.nextTick(function afterTickThree(){e.call(null,t,i,r)});default:s=new Array(n-1);a=0;while(a<s.length){s[a++]=arguments[a]}return process.nextTick(function afterTick(){e.apply(null,s)})}}},8393:(e,t,i)=>{"use strict";var r=i(7843);var n=Object.keys||function(e){var t=[];for(var i in e){t.push(i)}return t};e.exports=Duplex;var s=Object.create(i(3487));s.inherits=i(6919);var a=i(284);var o=i(6100);s.inherits(Duplex,a);{var u=n(o.prototype);for(var c=0;c<u.length;c++){var l=u[c];if(!Duplex.prototype[l])Duplex.prototype[l]=o.prototype[l]}}function Duplex(e){if(!(this instanceof Duplex))return new Duplex(e);a.call(this,e);o.call(this,e);if(e&&e.readable===false)this.readable=false;if(e&&e.writable===false)this.writable=false;this.allowHalfOpen=true;if(e&&e.allowHalfOpen===false)this.allowHalfOpen=false;this.once("end",onend)}Object.defineProperty(Duplex.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function onend(){if(this.allowHalfOpen||this._writableState.ended)return;r.nextTick(onEndNT,this)}function onEndNT(e){e.end()}Object.defineProperty(Duplex.prototype,"destroyed",{get:function(){if(this._readableState===undefined||this._writableState===undefined){return false}return this._readableState.destroyed&&this._writableState.destroyed},set:function(e){if(this._readableState===undefined||this._writableState===undefined){return}this._readableState.destroyed=e;this._writableState.destroyed=e}});Duplex.prototype._destroy=function(e,t){this.push(null);this.end();r.nextTick(t,e)}},5125:(e,t,i)=>{"use strict";e.exports=PassThrough;var r=i(5469);var n=Object.create(i(3487));n.inherits=i(6919);n.inherits(PassThrough,r);function PassThrough(e){if(!(this instanceof PassThrough))return new PassThrough(e);r.call(this,e)}PassThrough.prototype._transform=function(e,t,i){i(null,e)}},284:(e,t,i)=>{"use strict";var r=i(7843);e.exports=Readable;var n=i(9842);var s;Readable.ReadableState=ReadableState;var a=i(8614).EventEmitter;var o=function(e,t){return e.listeners(t).length};var u=i(5016);var c=i(4810).Buffer;var l=global.Uint8Array||function(){};function _uint8ArrayToBuffer(e){return c.from(e)}function _isUint8Array(e){return c.isBuffer(e)||e instanceof l}var f=Object.create(i(3487));f.inherits=i(6919);var h=i(1669);var p=void 0;if(h&&h.debuglog){p=h.debuglog("stream")}else{p=function(){}}var d=i(8739);var v=i(3090);var y;f.inherits(Readable,u);var g=["error","close","destroy","pause","resume"];function prependListener(e,t,i){if(typeof e.prependListener==="function")return e.prependListener(t,i);if(!e._events||!e._events[t])e.on(t,i);else if(n(e._events[t]))e._events[t].unshift(i);else e._events[t]=[i,e._events[t]]}function ReadableState(e,t){s=s||i(8393);e=e||{};var r=t instanceof s;this.objectMode=!!e.objectMode;if(r)this.objectMode=this.objectMode||!!e.readableObjectMode;var n=e.highWaterMark;var a=e.readableHighWaterMark;var o=this.objectMode?16:16*1024;if(n||n===0)this.highWaterMark=n;else if(r&&(a||a===0))this.highWaterMark=a;else this.highWaterMark=o;this.highWaterMark=Math.floor(this.highWaterMark);this.buffer=new d;this.length=0;this.pipes=null;this.pipesCount=0;this.flowing=null;this.ended=false;this.endEmitted=false;this.reading=false;this.sync=true;this.needReadable=false;this.emittedReadable=false;this.readableListening=false;this.resumeScheduled=false;this.destroyed=false;this.defaultEncoding=e.defaultEncoding||"utf8";this.awaitDrain=0;this.readingMore=false;this.decoder=null;this.encoding=null;if(e.encoding){if(!y)y=i(642).s;this.decoder=new y(e.encoding);this.encoding=e.encoding}}function Readable(e){s=s||i(8393);if(!(this instanceof Readable))return new Readable(e);this._readableState=new ReadableState(e,this);this.readable=true;if(e){if(typeof e.read==="function")this._read=e.read;if(typeof e.destroy==="function")this._destroy=e.destroy}u.call(this)}Object.defineProperty(Readable.prototype,"destroyed",{get:function(){if(this._readableState===undefined){return false}return this._readableState.destroyed},set:function(e){if(!this._readableState){return}this._readableState.destroyed=e}});Readable.prototype.destroy=v.destroy;Readable.prototype._undestroy=v.undestroy;Readable.prototype._destroy=function(e,t){this.push(null);t(e)};Readable.prototype.push=function(e,t){var i=this._readableState;var r;if(!i.objectMode){if(typeof e==="string"){t=t||i.defaultEncoding;if(t!==i.encoding){e=c.from(e,t);t=""}r=true}}else{r=true}return readableAddChunk(this,e,t,false,r)};Readable.prototype.unshift=function(e){return readableAddChunk(this,e,null,true,false)};function readableAddChunk(e,t,i,r,n){var s=e._readableState;if(t===null){s.reading=false;onEofChunk(e,s)}else{var a;if(!n)a=chunkInvalid(s,t);if(a){e.emit("error",a)}else if(s.objectMode||t&&t.length>0){if(typeof t!=="string"&&!s.objectMode&&Object.getPrototypeOf(t)!==c.prototype){t=_uint8ArrayToBuffer(t)}if(r){if(s.endEmitted)e.emit("error",new Error("stream.unshift() after end event"));else addChunk(e,s,t,true)}else if(s.ended){e.emit("error",new Error("stream.push() after EOF"))}else{s.reading=false;if(s.decoder&&!i){t=s.decoder.write(t);if(s.objectMode||t.length!==0)addChunk(e,s,t,false);else maybeReadMore(e,s)}else{addChunk(e,s,t,false)}}}else if(!r){s.reading=false}}return needMoreData(s)}function addChunk(e,t,i,r){if(t.flowing&&t.length===0&&!t.sync){e.emit("data",i);e.read(0)}else{t.length+=t.objectMode?1:i.length;if(r)t.buffer.unshift(i);else t.buffer.push(i);if(t.needReadable)emitReadable(e)}maybeReadMore(e,t)}function chunkInvalid(e,t){var i;if(!_isUint8Array(t)&&typeof t!=="string"&&t!==undefined&&!e.objectMode){i=new TypeError("Invalid non-string/buffer chunk")}return i}function needMoreData(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||e.length===0)}Readable.prototype.isPaused=function(){return this._readableState.flowing===false};Readable.prototype.setEncoding=function(e){if(!y)y=i(642).s;this._readableState.decoder=new y(e);this._readableState.encoding=e;return this};var b=8388608;function computeNewHighWaterMark(e){if(e>=b){e=b}else{e--;e|=e>>>1;e|=e>>>2;e|=e>>>4;e|=e>>>8;e|=e>>>16;e++}return e}function howMuchToRead(e,t){if(e<=0||t.length===0&&t.ended)return 0;if(t.objectMode)return 1;if(e!==e){if(t.flowing&&t.length)return t.buffer.head.data.length;else return t.length}if(e>t.highWaterMark)t.highWaterMark=computeNewHighWaterMark(e);if(e<=t.length)return e;if(!t.ended){t.needReadable=true;return 0}return t.length}Readable.prototype.read=function(e){p("read",e);e=parseInt(e,10);var t=this._readableState;var i=e;if(e!==0)t.emittedReadable=false;if(e===0&&t.needReadable&&(t.length>=t.highWaterMark||t.ended)){p("read: emitReadable",t.length,t.ended);if(t.length===0&&t.ended)endReadable(this);else emitReadable(this);return null}e=howMuchToRead(e,t);if(e===0&&t.ended){if(t.length===0)endReadable(this);return null}var r=t.needReadable;p("need readable",r);if(t.length===0||t.length-e<t.highWaterMark){r=true;p("length less than watermark",r)}if(t.ended||t.reading){r=false;p("reading or ended",r)}else if(r){p("do read");t.reading=true;t.sync=true;if(t.length===0)t.needReadable=true;this._read(t.highWaterMark);t.sync=false;if(!t.reading)e=howMuchToRead(i,t)}var n;if(e>0)n=fromList(e,t);else n=null;if(n===null){t.needReadable=true;e=0}else{t.length-=e}if(t.length===0){if(!t.ended)t.needReadable=true;if(i!==e&&t.ended)endReadable(this)}if(n!==null)this.emit("data",n);return n};function onEofChunk(e,t){if(t.ended)return;if(t.decoder){var i=t.decoder.end();if(i&&i.length){t.buffer.push(i);t.length+=t.objectMode?1:i.length}}t.ended=true;emitReadable(e)}function emitReadable(e){var t=e._readableState;t.needReadable=false;if(!t.emittedReadable){p("emitReadable",t.flowing);t.emittedReadable=true;if(t.sync)r.nextTick(emitReadable_,e);else emitReadable_(e)}}function emitReadable_(e){p("emit readable");e.emit("readable");flow(e)}function maybeReadMore(e,t){if(!t.readingMore){t.readingMore=true;r.nextTick(maybeReadMore_,e,t)}}function maybeReadMore_(e,t){var i=t.length;while(!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark){p("maybeReadMore read 0");e.read(0);if(i===t.length)break;else i=t.length}t.readingMore=false}Readable.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))};Readable.prototype.pipe=function(e,t){var i=this;var n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e);break}n.pipesCount+=1;p("pipe count=%d opts=%j",n.pipesCount,t);var s=(!t||t.end!==false)&&e!==process.stdout&&e!==process.stderr;var a=s?onend:unpipe;if(n.endEmitted)r.nextTick(a);else i.once("end",a);e.on("unpipe",onunpipe);function onunpipe(e,t){p("onunpipe");if(e===i){if(t&&t.hasUnpiped===false){t.hasUnpiped=true;cleanup()}}}function onend(){p("onend");e.end()}var u=pipeOnDrain(i);e.on("drain",u);var c=false;function cleanup(){p("cleanup");e.removeListener("close",onclose);e.removeListener("finish",onfinish);e.removeListener("drain",u);e.removeListener("error",onerror);e.removeListener("unpipe",onunpipe);i.removeListener("end",onend);i.removeListener("end",unpipe);i.removeListener("data",ondata);c=true;if(n.awaitDrain&&(!e._writableState||e._writableState.needDrain))u()}var l=false;i.on("data",ondata);function ondata(t){p("ondata");l=false;var r=e.write(t);if(false===r&&!l){if((n.pipesCount===1&&n.pipes===e||n.pipesCount>1&&indexOf(n.pipes,e)!==-1)&&!c){p("false write response, pause",i._readableState.awaitDrain);i._readableState.awaitDrain++;l=true}i.pause()}}function onerror(t){p("onerror",t);unpipe();e.removeListener("error",onerror);if(o(e,"error")===0)e.emit("error",t)}prependListener(e,"error",onerror);function onclose(){e.removeListener("finish",onfinish);unpipe()}e.once("close",onclose);function onfinish(){p("onfinish");e.removeListener("close",onclose);unpipe()}e.once("finish",onfinish);function unpipe(){p("unpipe");i.unpipe(e)}e.emit("pipe",i);if(!n.flowing){p("pipe resume");i.resume()}return e};function pipeOnDrain(e){return function(){var t=e._readableState;p("pipeOnDrain",t.awaitDrain);if(t.awaitDrain)t.awaitDrain--;if(t.awaitDrain===0&&o(e,"data")){t.flowing=true;flow(e)}}}Readable.prototype.unpipe=function(e){var t=this._readableState;var i={hasUnpiped:false};if(t.pipesCount===0)return this;if(t.pipesCount===1){if(e&&e!==t.pipes)return this;if(!e)e=t.pipes;t.pipes=null;t.pipesCount=0;t.flowing=false;if(e)e.emit("unpipe",this,i);return this}if(!e){var r=t.pipes;var n=t.pipesCount;t.pipes=null;t.pipesCount=0;t.flowing=false;for(var s=0;s<n;s++){r[s].emit("unpipe",this,i)}return this}var a=indexOf(t.pipes,e);if(a===-1)return this;t.pipes.splice(a,1);t.pipesCount-=1;if(t.pipesCount===1)t.pipes=t.pipes[0];e.emit("unpipe",this,i);return this};Readable.prototype.on=function(e,t){var i=u.prototype.on.call(this,e,t);if(e==="data"){if(this._readableState.flowing!==false)this.resume()}else if(e==="readable"){var n=this._readableState;if(!n.endEmitted&&!n.readableListening){n.readableListening=n.needReadable=true;n.emittedReadable=false;if(!n.reading){r.nextTick(nReadingNextTick,this)}else if(n.length){emitReadable(this)}}}return i};Readable.prototype.addListener=Readable.prototype.on;function nReadingNextTick(e){p("readable nexttick read 0");e.read(0)}Readable.prototype.resume=function(){var e=this._readableState;if(!e.flowing){p("resume");e.flowing=true;resume(this,e)}return this};function resume(e,t){if(!t.resumeScheduled){t.resumeScheduled=true;r.nextTick(resume_,e,t)}}function resume_(e,t){if(!t.reading){p("resume read 0");e.read(0)}t.resumeScheduled=false;t.awaitDrain=0;e.emit("resume");flow(e);if(t.flowing&&!t.reading)e.read(0)}Readable.prototype.pause=function(){p("call pause flowing=%j",this._readableState.flowing);if(false!==this._readableState.flowing){p("pause");this._readableState.flowing=false;this.emit("pause")}return this};function flow(e){var t=e._readableState;p("flow",t.flowing);while(t.flowing&&e.read()!==null){}}Readable.prototype.wrap=function(e){var t=this;var i=this._readableState;var r=false;e.on("end",function(){p("wrapped end");if(i.decoder&&!i.ended){var e=i.decoder.end();if(e&&e.length)t.push(e)}t.push(null)});e.on("data",function(n){p("wrapped data");if(i.decoder)n=i.decoder.write(n);if(i.objectMode&&(n===null||n===undefined))return;else if(!i.objectMode&&(!n||!n.length))return;var s=t.push(n);if(!s){r=true;e.pause()}});for(var n in e){if(this[n]===undefined&&typeof e[n]==="function"){this[n]=function(t){return function(){return e[t].apply(e,arguments)}}(n)}}for(var s=0;s<g.length;s++){e.on(g[s],this.emit.bind(this,g[s]))}this._read=function(t){p("wrapped _read",t);if(r){r=false;e.resume()}};return this};Object.defineProperty(Readable.prototype,"readableHighWaterMark",{enumerable:false,get:function(){return this._readableState.highWaterMark}});Readable._fromList=fromList;function fromList(e,t){if(t.length===0)return null;var i;if(t.objectMode)i=t.buffer.shift();else if(!e||e>=t.length){if(t.decoder)i=t.buffer.join("");else if(t.buffer.length===1)i=t.buffer.head.data;else i=t.buffer.concat(t.length);t.buffer.clear()}else{i=fromListPartial(e,t.buffer,t.decoder)}return i}function fromListPartial(e,t,i){var r;if(e<t.head.data.length){r=t.head.data.slice(0,e);t.head.data=t.head.data.slice(e)}else if(e===t.head.data.length){r=t.shift()}else{r=i?copyFromBufferString(e,t):copyFromBuffer(e,t)}return r}function copyFromBufferString(e,t){var i=t.head;var r=1;var n=i.data;e-=n.length;while(i=i.next){var s=i.data;var a=e>s.length?s.length:e;if(a===s.length)n+=s;else n+=s.slice(0,e);e-=a;if(e===0){if(a===s.length){++r;if(i.next)t.head=i.next;else t.head=t.tail=null}else{t.head=i;i.data=s.slice(a)}break}++r}t.length-=r;return n}function copyFromBuffer(e,t){var i=c.allocUnsafe(e);var r=t.head;var n=1;r.data.copy(i);e-=r.data.length;while(r=r.next){var s=r.data;var a=e>s.length?s.length:e;s.copy(i,i.length-e,0,a);e-=a;if(e===0){if(a===s.length){++n;if(r.next)t.head=r.next;else t.head=t.tail=null}else{t.head=r;r.data=s.slice(a)}break}++n}t.length-=n;return i}function endReadable(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');if(!t.endEmitted){t.ended=true;r.nextTick(endReadableNT,t,e)}}function endReadableNT(e,t){if(!e.endEmitted&&e.length===0){e.endEmitted=true;t.readable=false;t.emit("end")}}function indexOf(e,t){for(var i=0,r=e.length;i<r;i++){if(e[i]===t)return i}return-1}},5469:(e,t,i)=>{"use strict";e.exports=Transform;var r=i(8393);var n=Object.create(i(3487));n.inherits=i(6919);n.inherits(Transform,r);function afterTransform(e,t){var i=this._transformState;i.transforming=false;var r=i.writecb;if(!r){return this.emit("error",new Error("write callback called multiple times"))}i.writechunk=null;i.writecb=null;if(t!=null)this.push(t);r(e);var n=this._readableState;n.reading=false;if(n.needReadable||n.length<n.highWaterMark){this._read(n.highWaterMark)}}function Transform(e){if(!(this instanceof Transform))return new Transform(e);r.call(this,e);this._transformState={afterTransform:afterTransform.bind(this),needTransform:false,transforming:false,writecb:null,writechunk:null,writeencoding:null};this._readableState.needReadable=true;this._readableState.sync=false;if(e){if(typeof e.transform==="function")this._transform=e.transform;if(typeof e.flush==="function")this._flush=e.flush}this.on("prefinish",prefinish)}function prefinish(){var e=this;if(typeof this._flush==="function"){this._flush(function(t,i){done(e,t,i)})}else{done(this,null,null)}}Transform.prototype.push=function(e,t){this._transformState.needTransform=false;return r.prototype.push.call(this,e,t)};Transform.prototype._transform=function(e,t,i){throw new Error("_transform() is not implemented")};Transform.prototype._write=function(e,t,i){var r=this._transformState;r.writecb=i;r.writechunk=e;r.writeencoding=t;if(!r.transforming){var n=this._readableState;if(r.needTransform||n.needReadable||n.length<n.highWaterMark)this._read(n.highWaterMark)}};Transform.prototype._read=function(e){var t=this._transformState;if(t.writechunk!==null&&t.writecb&&!t.transforming){t.transforming=true;this._transform(t.writechunk,t.writeencoding,t.afterTransform)}else{t.needTransform=true}};Transform.prototype._destroy=function(e,t){var i=this;r.prototype._destroy.call(this,e,function(e){t(e);i.emit("close")})};function done(e,t,i){if(t)return e.emit("error",t);if(i!=null)e.push(i);if(e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}},6100:(e,t,i)=>{"use strict";var r=i(7843);e.exports=Writable;function WriteReq(e,t,i){this.chunk=e;this.encoding=t;this.callback=i;this.next=null}function CorkedRequest(e){var t=this;this.next=null;this.entry=null;this.finish=function(){onCorkedFinish(t,e)}}var n=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:r.nextTick;var s;Writable.WritableState=WritableState;var a=Object.create(i(3487));a.inherits=i(6919);var o={deprecate:i(9209)};var u=i(5016);var c=i(4810).Buffer;var l=global.Uint8Array||function(){};function _uint8ArrayToBuffer(e){return c.from(e)}function _isUint8Array(e){return c.isBuffer(e)||e instanceof l}var f=i(3090);a.inherits(Writable,u);function nop(){}function WritableState(e,t){s=s||i(8393);e=e||{};var r=t instanceof s;this.objectMode=!!e.objectMode;if(r)this.objectMode=this.objectMode||!!e.writableObjectMode;var n=e.highWaterMark;var a=e.writableHighWaterMark;var o=this.objectMode?16:16*1024;if(n||n===0)this.highWaterMark=n;else if(r&&(a||a===0))this.highWaterMark=a;else this.highWaterMark=o;this.highWaterMark=Math.floor(this.highWaterMark);this.finalCalled=false;this.needDrain=false;this.ending=false;this.ended=false;this.finished=false;this.destroyed=false;var u=e.decodeStrings===false;this.decodeStrings=!u;this.defaultEncoding=e.defaultEncoding||"utf8";this.length=0;this.writing=false;this.corked=0;this.sync=true;this.bufferProcessing=false;this.onwrite=function(e){onwrite(t,e)};this.writecb=null;this.writelen=0;this.bufferedRequest=null;this.lastBufferedRequest=null;this.pendingcb=0;this.prefinished=false;this.errorEmitted=false;this.bufferedRequestCount=0;this.corkedRequestsFree=new CorkedRequest(this)}WritableState.prototype.getBuffer=function getBuffer(){var e=this.bufferedRequest;var t=[];while(e){t.push(e);e=e.next}return t};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:o.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer "+"instead.","DEP0003")})}catch(e){}})();var h;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function"){h=Function.prototype[Symbol.hasInstance];Object.defineProperty(Writable,Symbol.hasInstance,{value:function(e){if(h.call(this,e))return true;if(this!==Writable)return false;return e&&e._writableState instanceof WritableState}})}else{h=function(e){return e instanceof this}}function Writable(e){s=s||i(8393);if(!h.call(Writable,this)&&!(this instanceof s)){return new Writable(e)}this._writableState=new WritableState(e,this);this.writable=true;if(e){if(typeof e.write==="function")this._write=e.write;if(typeof e.writev==="function")this._writev=e.writev;if(typeof e.destroy==="function")this._destroy=e.destroy;if(typeof e.final==="function")this._final=e.final}u.call(this)}Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function writeAfterEnd(e,t){var i=new Error("write after end");e.emit("error",i);r.nextTick(t,i)}function validChunk(e,t,i,n){var s=true;var a=false;if(i===null){a=new TypeError("May not write null values to stream")}else if(typeof i!=="string"&&i!==undefined&&!t.objectMode){a=new TypeError("Invalid non-string/buffer chunk")}if(a){e.emit("error",a);r.nextTick(n,a);s=false}return s}Writable.prototype.write=function(e,t,i){var r=this._writableState;var n=false;var s=!r.objectMode&&_isUint8Array(e);if(s&&!c.isBuffer(e)){e=_uint8ArrayToBuffer(e)}if(typeof t==="function"){i=t;t=null}if(s)t="buffer";else if(!t)t=r.defaultEncoding;if(typeof i!=="function")i=nop;if(r.ended)writeAfterEnd(this,i);else if(s||validChunk(this,r,e,i)){r.pendingcb++;n=writeOrBuffer(this,r,s,e,t,i)}return n};Writable.prototype.cork=function(){var e=this._writableState;e.corked++};Writable.prototype.uncork=function(){var e=this._writableState;if(e.corked){e.corked--;if(!e.writing&&!e.corked&&!e.finished&&!e.bufferProcessing&&e.bufferedRequest)clearBuffer(this,e)}};Writable.prototype.setDefaultEncoding=function setDefaultEncoding(e){if(typeof e==="string")e=e.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);this._writableState.defaultEncoding=e;return this};function decodeChunk(e,t,i){if(!e.objectMode&&e.decodeStrings!==false&&typeof t==="string"){t=c.from(t,i)}return t}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function writeOrBuffer(e,t,i,r,n,s){if(!i){var a=decodeChunk(t,r,n);if(r!==a){i=true;n="buffer";r=a}}var o=t.objectMode?1:r.length;t.length+=o;var u=t.length<t.highWaterMark;if(!u)t.needDrain=true;if(t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:n,isBuf:i,callback:s,next:null};if(c){c.next=t.lastBufferedRequest}else{t.bufferedRequest=t.lastBufferedRequest}t.bufferedRequestCount+=1}else{doWrite(e,t,false,o,r,n,s)}return u}function doWrite(e,t,i,r,n,s,a){t.writelen=r;t.writecb=a;t.writing=true;t.sync=true;if(i)e._writev(n,t.onwrite);else e._write(n,s,t.onwrite);t.sync=false}function onwriteError(e,t,i,n,s){--t.pendingcb;if(i){r.nextTick(s,n);r.nextTick(finishMaybe,e,t);e._writableState.errorEmitted=true;e.emit("error",n)}else{s(n);e._writableState.errorEmitted=true;e.emit("error",n);finishMaybe(e,t)}}function onwriteStateUpdate(e){e.writing=false;e.writecb=null;e.length-=e.writelen;e.writelen=0}function onwrite(e,t){var i=e._writableState;var r=i.sync;var s=i.writecb;onwriteStateUpdate(i);if(t)onwriteError(e,i,r,t,s);else{var a=needFinish(i);if(!a&&!i.corked&&!i.bufferProcessing&&i.bufferedRequest){clearBuffer(e,i)}if(r){n(afterWrite,e,i,a,s)}else{afterWrite(e,i,a,s)}}}function afterWrite(e,t,i,r){if(!i)onwriteDrain(e,t);t.pendingcb--;r();finishMaybe(e,t)}function onwriteDrain(e,t){if(t.length===0&&t.needDrain){t.needDrain=false;e.emit("drain")}}function clearBuffer(e,t){t.bufferProcessing=true;var i=t.bufferedRequest;if(e._writev&&i&&i.next){var r=t.bufferedRequestCount;var n=new Array(r);var s=t.corkedRequestsFree;s.entry=i;var a=0;var o=true;while(i){n[a]=i;if(!i.isBuf)o=false;i=i.next;a+=1}n.allBuffers=o;doWrite(e,t,true,t.length,n,"",s.finish);t.pendingcb++;t.lastBufferedRequest=null;if(s.next){t.corkedRequestsFree=s.next;s.next=null}else{t.corkedRequestsFree=new CorkedRequest(t)}t.bufferedRequestCount=0}else{while(i){var u=i.chunk;var c=i.encoding;var l=i.callback;var f=t.objectMode?1:u.length;doWrite(e,t,false,f,u,c,l);i=i.next;t.bufferedRequestCount--;if(t.writing){break}}if(i===null)t.lastBufferedRequest=null}t.bufferedRequest=i;t.bufferProcessing=false}Writable.prototype._write=function(e,t,i){i(new Error("_write() is not implemented"))};Writable.prototype._writev=null;Writable.prototype.end=function(e,t,i){var r=this._writableState;if(typeof e==="function"){i=e;e=null;t=null}else if(typeof t==="function"){i=t;t=null}if(e!==null&&e!==undefined)this.write(e,t);if(r.corked){r.corked=1;this.uncork()}if(!r.ending&&!r.finished)endWritable(this,r,i)};function needFinish(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function callFinal(e,t){e._final(function(i){t.pendingcb--;if(i){e.emit("error",i)}t.prefinished=true;e.emit("prefinish");finishMaybe(e,t)})}function prefinish(e,t){if(!t.prefinished&&!t.finalCalled){if(typeof e._final==="function"){t.pendingcb++;t.finalCalled=true;r.nextTick(callFinal,e,t)}else{t.prefinished=true;e.emit("prefinish")}}}function finishMaybe(e,t){var i=needFinish(t);if(i){prefinish(e,t);if(t.pendingcb===0){t.finished=true;e.emit("finish")}}return i}function endWritable(e,t,i){t.ending=true;finishMaybe(e,t);if(i){if(t.finished)r.nextTick(i);else e.once("finish",i)}t.ended=true;e.writable=false}function onCorkedFinish(e,t,i){var r=e.entry;e.entry=null;while(r){var n=r.callback;t.pendingcb--;n(i);r=r.next}if(t.corkedRequestsFree){t.corkedRequestsFree.next=e}else{t.corkedRequestsFree=e}}Object.defineProperty(Writable.prototype,"destroyed",{get:function(){if(this._writableState===undefined){return false}return this._writableState.destroyed},set:function(e){if(!this._writableState){return}this._writableState.destroyed=e}});Writable.prototype.destroy=f.destroy;Writable.prototype._undestroy=f.undestroy;Writable.prototype._destroy=function(e,t){this.end();t(e)}},8739:(e,t,i)=>{"use strict";function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}var r=i(4810).Buffer;var n=i(1669);function copyBuffer(e,t,i){e.copy(t,i)}e.exports=function(){function BufferList(){_classCallCheck(this,BufferList);this.head=null;this.tail=null;this.length=0}BufferList.prototype.push=function push(e){var t={data:e,next:null};if(this.length>0)this.tail.next=t;else this.head=t;this.tail=t;++this.length};BufferList.prototype.unshift=function unshift(e){var t={data:e,next:this.head};if(this.length===0)this.tail=t;this.head=t;++this.length};BufferList.prototype.shift=function shift(){if(this.length===0)return;var e=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return e};BufferList.prototype.clear=function clear(){this.head=this.tail=null;this.length=0};BufferList.prototype.join=function join(e){if(this.length===0)return"";var t=this.head;var i=""+t.data;while(t=t.next){i+=e+t.data}return i};BufferList.prototype.concat=function concat(e){if(this.length===0)return r.alloc(0);if(this.length===1)return this.head.data;var t=r.allocUnsafe(e>>>0);var i=this.head;var n=0;while(i){copyBuffer(i.data,t,n);n+=i.data.length;i=i.next}return t};return BufferList}();if(n&&n.inspect&&n.inspect.custom){e.exports.prototype[n.inspect.custom]=function(){var e=n.inspect({length:this.length});return this.constructor.name+" "+e}}},3090:(e,t,i)=>{"use strict";var r=i(7843);function destroy(e,t){var i=this;var n=this._readableState&&this._readableState.destroyed;var s=this._writableState&&this._writableState.destroyed;if(n||s){if(t){t(e)}else if(e&&(!this._writableState||!this._writableState.errorEmitted)){r.nextTick(emitErrorNT,this,e)}return this}if(this._readableState){this._readableState.destroyed=true}if(this._writableState){this._writableState.destroyed=true}this._destroy(e||null,function(e){if(!t&&e){r.nextTick(emitErrorNT,i,e);if(i._writableState){i._writableState.errorEmitted=true}}else if(t){t(e)}});return this}function undestroy(){if(this._readableState){this._readableState.destroyed=false;this._readableState.reading=false;this._readableState.ended=false;this._readableState.endEmitted=false}if(this._writableState){this._writableState.destroyed=false;this._writableState.ended=false;this._writableState.ending=false;this._writableState.finished=false;this._writableState.errorEmitted=false}}function emitErrorNT(e,t){e.emit("error",t)}e.exports={destroy:destroy,undestroy:undestroy}},5016:(e,t,i)=>{e.exports=i(2413)},4810:(e,t,i)=>{var r=i(4293);var n=r.Buffer;function copyProps(e,t){for(var i in e){t[i]=e[i]}}if(n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow){e.exports=r}else{copyProps(r,t);t.Buffer=SafeBuffer}function SafeBuffer(e,t,i){return n(e,t,i)}copyProps(n,SafeBuffer);SafeBuffer.from=function(e,t,i){if(typeof e==="number"){throw new TypeError("Argument must not be a number")}return n(e,t,i)};SafeBuffer.alloc=function(e,t,i){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}var r=n(e);if(t!==undefined){if(typeof i==="string"){r.fill(t,i)}else{r.fill(t)}}else{r.fill(0)}return r};SafeBuffer.allocUnsafe=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return n(e)};SafeBuffer.allocUnsafeSlow=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return r.SlowBuffer(e)}},675:(e,t,i)=>{var r=i(2413);if(process.env.READABLE_STREAM==="disable"&&r){e.exports=r;t=e.exports=r.Readable;t.Readable=r.Readable;t.Writable=r.Writable;t.Duplex=r.Duplex;t.Transform=r.Transform;t.PassThrough=r.PassThrough;t.Stream=r}else{t=e.exports=i(284);t.Stream=r||t;t.Readable=t;t.Writable=i(6100);t.Duplex=i(8393);t.Transform=i(5469);t.PassThrough=i(5125)}},2753:(e,t,i)=>{"use strict";const r=i(5622);const n=i(2282);const s=i(5747);const a=(e,t,i)=>{if(typeof e!=="string"){throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof e}\``)}if(typeof t!=="string"){throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof t}\``)}try{e=s.realpathSync(e)}catch(t){if(t.code==="ENOENT"){e=r.resolve(e)}else if(i){return}else{throw t}}const a=r.join(e,"noop.js");const o=()=>n._resolveFilename(t,{id:a,filename:a,paths:n._nodeModulePaths(e)});if(i){try{return o()}catch(e){return}}return o()};e.exports=((e,t)=>a(e,t));e.exports.silent=((e,t)=>a(e,t,true))},2780:(e,t,i)=>{e.exports=rimraf;rimraf.sync=rimrafSync;var r=i(2357);var n=i(5622);var s=i(5747);var a=undefined;try{a=i(3700)}catch(e){}var o=parseInt("666",8);var u={nosort:true,silent:true};var c=0;var l=process.platform==="win32";function defaults(e){var t=["unlink","chmod","stat","lstat","rmdir","readdir"];t.forEach(function(t){e[t]=e[t]||s[t];t=t+"Sync";e[t]=e[t]||s[t]});e.maxBusyTries=e.maxBusyTries||3;e.emfileWait=e.emfileWait||1e3;if(e.glob===false){e.disableGlob=true}if(e.disableGlob!==true&&a===undefined){throw Error("glob dependency not found, set `options.disableGlob = true` if intentional")}e.disableGlob=e.disableGlob||false;e.glob=e.glob||u}function rimraf(e,t,i){if(typeof t==="function"){i=t;t={}}r(e,"rimraf: missing path");r.equal(typeof e,"string","rimraf: path should be a string");r.equal(typeof i,"function","rimraf: callback function required");r(t,"rimraf: invalid options argument provided");r.equal(typeof t,"object","rimraf: options should be object");defaults(t);var n=0;var s=null;var o=0;if(t.disableGlob||!a.hasMagic(e))return afterGlob(null,[e]);t.lstat(e,function(i,r){if(!i)return afterGlob(null,[e]);a(e,t.glob,afterGlob)});function next(e){s=s||e;if(--o===0)i(s)}function afterGlob(e,r){if(e)return i(e);o=r.length;if(o===0)return i();r.forEach(function(e){rimraf_(e,t,function CB(i){if(i){if((i.code==="EBUSY"||i.code==="ENOTEMPTY"||i.code==="EPERM")&&n<t.maxBusyTries){n++;var r=n*100;return setTimeout(function(){rimraf_(e,t,CB)},r)}if(i.code==="EMFILE"&&c<t.emfileWait){return setTimeout(function(){rimraf_(e,t,CB)},c++)}if(i.code==="ENOENT")i=null}c=0;next(i)})})}}function rimraf_(e,t,i){r(e);r(t);r(typeof i==="function");t.lstat(e,function(r,n){if(r&&r.code==="ENOENT")return i(null);if(r&&r.code==="EPERM"&&l)fixWinEPERM(e,t,r,i);if(n&&n.isDirectory())return rmdir(e,t,r,i);t.unlink(e,function(r){if(r){if(r.code==="ENOENT")return i(null);if(r.code==="EPERM")return l?fixWinEPERM(e,t,r,i):rmdir(e,t,r,i);if(r.code==="EISDIR")return rmdir(e,t,r,i)}return i(r)})})}function fixWinEPERM(e,t,i,n){r(e);r(t);r(typeof n==="function");if(i)r(i instanceof Error);t.chmod(e,o,function(r){if(r)n(r.code==="ENOENT"?null:i);else t.stat(e,function(r,s){if(r)n(r.code==="ENOENT"?null:i);else if(s.isDirectory())rmdir(e,t,i,n);else t.unlink(e,n)})})}function fixWinEPERMSync(e,t,i){r(e);r(t);if(i)r(i instanceof Error);try{t.chmodSync(e,o)}catch(e){if(e.code==="ENOENT")return;else throw i}try{var n=t.statSync(e)}catch(e){if(e.code==="ENOENT")return;else throw i}if(n.isDirectory())rmdirSync(e,t,i);else t.unlinkSync(e)}function rmdir(e,t,i,n){r(e);r(t);if(i)r(i instanceof Error);r(typeof n==="function");t.rmdir(e,function(r){if(r&&(r.code==="ENOTEMPTY"||r.code==="EEXIST"||r.code==="EPERM"))rmkids(e,t,n);else if(r&&r.code==="ENOTDIR")n(i);else n(r)})}function rmkids(e,t,i){r(e);r(t);r(typeof i==="function");t.readdir(e,function(r,s){if(r)return i(r);var a=s.length;if(a===0)return t.rmdir(e,i);var o;s.forEach(function(r){rimraf(n.join(e,r),t,function(r){if(o)return;if(r)return i(o=r);if(--a===0)t.rmdir(e,i)})})})}function rimrafSync(e,t){t=t||{};defaults(t);r(e,"rimraf: missing path");r.equal(typeof e,"string","rimraf: path should be a string");r(t,"rimraf: missing options");r.equal(typeof t,"object","rimraf: options should be object");var i;if(t.disableGlob||!a.hasMagic(e)){i=[e]}else{try{t.lstatSync(e);i=[e]}catch(r){i=a.sync(e,t.glob)}}if(!i.length)return;for(var n=0;n<i.length;n++){var e=i[n];try{var s=t.lstatSync(e)}catch(i){if(i.code==="ENOENT")return;if(i.code==="EPERM"&&l)fixWinEPERMSync(e,t,i)}try{if(s&&s.isDirectory())rmdirSync(e,t,null);else t.unlinkSync(e)}catch(i){if(i.code==="ENOENT")return;if(i.code==="EPERM")return l?fixWinEPERMSync(e,t,i):rmdirSync(e,t,i);if(i.code!=="EISDIR")throw i;rmdirSync(e,t,i)}}}function rmdirSync(e,t,i){r(e);r(t);if(i)r(i instanceof Error);try{t.rmdirSync(e)}catch(r){if(r.code==="ENOENT")return;if(r.code==="ENOTDIR")throw i;if(r.code==="ENOTEMPTY"||r.code==="EEXIST"||r.code==="EPERM")rmkidsSync(e,t)}}function rmkidsSync(e,t){r(e);r(t);t.readdirSync(e).forEach(function(i){rimrafSync(n.join(e,i),t)});var i=l?100:1;var s=0;do{var a=true;try{var o=t.rmdirSync(e,t);a=false;return o}finally{if(++s<i&&a)continue}}while(true)}},7586:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var r=i(5622);var n=_interopDefault(r);var s=i(619);var a=_interopDefault(i(1669));const o=function addExtension(e,t=".js"){if(!r.extname(e))e+=t;return e};const u={ArrayPattern(e,t){for(const i of t.elements){if(i)u[i.type](e,i)}},AssignmentPattern(e,t){u[t.left.type](e,t.left)},Identifier(e,t){e.push(t.name)},MemberExpression(){},ObjectPattern(e,t){for(const i of t.properties){if(i.type==="RestElement"){u.RestElement(e,i)}else{u[i.value.type](e,i.value)}}},RestElement(e,t){u[t.argument.type](e,t.argument)}};const c=function extractAssignedNames(e){const t=[];u[e.type](t,e);return t};const l={const:true,let:true};class Scope{constructor(e={}){this.parent=e.parent;this.isBlockScope=!!e.block;this.declarations=Object.create(null);if(e.params){e.params.forEach(e=>{c(e).forEach(e=>{this.declarations[e]=true})})}}addDeclaration(e,t,i){if(!t&&this.isBlockScope){this.parent.addDeclaration(e,t,i)}else if(e.id){c(e.id).forEach(e=>{this.declarations[e]=true})}}contains(e){return this.declarations[e]||(this.parent?this.parent.contains(e):false)}}const f=function attachScopes(e,t="scope"){let i=new Scope;s.walk(e,{enter(e,r){if(/(Function|Class)Declaration/.test(e.type)){i.addDeclaration(e,false,false)}if(e.type==="VariableDeclaration"){const t=e.kind;const r=l[t];e.declarations.forEach(e=>{i.addDeclaration(e,r,true)})}let n;if(/Function/.test(e.type)){n=new Scope({parent:i,block:false,params:e.params});if(e.type==="FunctionExpression"&&e.id){n.addDeclaration(e,false,false)}}if(e.type==="BlockStatement"&&!/Function/.test(r.type)){n=new Scope({parent:i,block:true})}if(e.type==="CatchClause"){n=new Scope({parent:i,params:e.param?[e.param]:[],block:true})}if(n){Object.defineProperty(e,t,{value:n,configurable:true});i=n}},leave(e){if(e[t])i=i.parent}});return i};function createCommonjsModule(e,t){return t={exports:{}},e(t,t.exports),t.exports}var h=createCommonjsModule(function(e,t){t.isInteger=(e=>{if(typeof e==="number"){return Number.isInteger(e)}if(typeof e==="string"&&e.trim()!==""){return Number.isInteger(Number(e))}return false});t.find=((e,t)=>e.nodes.find(e=>e.type===t));t.exceedsLimit=((e,i,r=1,n)=>{if(n===false)return false;if(!t.isInteger(e)||!t.isInteger(i))return false;return(Number(i)-Number(e))/Number(r)>=n});t.escapeNode=((e,t=0,i)=>{let r=e.nodes[t];if(!r)return;if(i&&r.type===i||r.type==="open"||r.type==="close"){if(r.escaped!==true){r.value="\\"+r.value;r.escaped=true}}});t.encloseBrace=(e=>{if(e.type!=="brace")return false;if(e.commas>>0+e.ranges>>0===0){e.invalid=true;return true}return false});t.isInvalidBrace=(e=>{if(e.type!=="brace")return false;if(e.invalid===true||e.dollar)return true;if(e.commas>>0+e.ranges>>0===0){e.invalid=true;return true}if(e.open!==true||e.close!==true){e.invalid=true;return true}return false});t.isOpenOrClose=(e=>{if(e.type==="open"||e.type==="close"){return true}return e.open===true||e.close===true});t.reduce=(e=>e.reduce((e,t)=>{if(t.type==="text")e.push(t.value);if(t.type==="range")t.type="text";return e},[]));t.flatten=((...e)=>{const t=[];const i=e=>{for(let r=0;r<e.length;r++){let n=e[r];Array.isArray(n)?i(n,t):n!==void 0&&t.push(n)}return t};i(e);return t})});var p=h.isInteger;var d=h.find;var v=h.exceedsLimit;var y=h.escapeNode;var g=h.encloseBrace;var b=h.isInvalidBrace;var m=h.isOpenOrClose;var _=h.reduce;var w=h.flatten;var E=(e,t={})=>{let i=(e,r={})=>{let n=t.escapeInvalid&&h.isInvalidBrace(r);let s=e.invalid===true&&t.escapeInvalid===true;let a="";if(e.value){if((n||s)&&h.isOpenOrClose(e)){return"\\"+e.value}return e.value}if(e.value){return e.value}if(e.nodes){for(let t of e.nodes){a+=i(t)}}return a};return i(e)};var S=function(e){if(typeof e==="number"){return e-e===0}if(typeof e==="string"&&e.trim()!==""){return Number.isFinite?Number.isFinite(+e):isFinite(+e)}return false};const x=(e,t,i)=>{if(S(e)===false){throw new TypeError("toRegexRange: expected the first argument to be a number")}if(t===void 0||e===t){return String(e)}if(S(t)===false){throw new TypeError("toRegexRange: expected the second argument to be a number.")}let r=Object.assign({relaxZeros:true},i);if(typeof r.strictZeros==="boolean"){r.relaxZeros=r.strictZeros===false}let n=String(r.relaxZeros);let s=String(r.shorthand);let a=String(r.capture);let o=String(r.wrap);let u=e+":"+t+"="+n+s+a+o;if(x.cache.hasOwnProperty(u)){return x.cache[u].result}let c=Math.min(e,t);let l=Math.max(e,t);if(Math.abs(c-l)===1){let i=e+"|"+t;if(r.capture){return`(${i})`}if(r.wrap===false){return i}return`(?:${i})`}let f=hasPadding(e)||hasPadding(t);let h={min:e,max:t,a:c,b:l};let p=[];let d=[];if(f){h.isPadded=f;h.maxLen=String(h.max).length}if(c<0){let e=l<0?Math.abs(l):1;d=splitToPatterns(e,Math.abs(c),h,r);c=h.a=0}if(l>=0){p=splitToPatterns(c,l,h,r)}h.negatives=d;h.positives=p;h.result=collatePatterns(d,p,r);if(r.capture===true){h.result=`(${h.result})`}else if(r.wrap!==false&&p.length+d.length>1){h.result=`(?:${h.result})`}x.cache[u]=h;return h.result};function collatePatterns(e,t,i){let r=filterPatterns(e,t,"-",false,i)||[];let n=filterPatterns(t,e,"",false,i)||[];let s=filterPatterns(e,t,"-?",true,i)||[];let a=r.concat(s).concat(n);return a.join("|")}function splitToRanges(e,t){let i=1;let r=1;let n=countNines(e,i);let s=new Set([t]);while(e<=n&&n<=t){s.add(n);i+=1;n=countNines(e,i)}n=countZeros(t+1,r)-1;while(e<n&&n<=t){s.add(n);r+=1;n=countZeros(t+1,r)-1}s=[...s];s.sort(compare);return s}function rangeToPattern(e,t,i){if(e===t){return{pattern:e,count:[],digits:0}}let r=zip(e,t);let n=r.length;let s="";let a=0;for(let e=0;e<n;e++){let[t,n]=r[e];if(t===n){s+=t}else if(t!=="0"||n!=="9"){s+=toCharacterClass(t,n,i)}else{a++}}if(a){s+=i.shorthand===true?"\\d":"[0-9]"}return{pattern:s,count:[a],digits:n}}function splitToPatterns(e,t,i,r){let n=splitToRanges(e,t);let s=[];let a=e;let o;for(let e=0;e<n.length;e++){let t=n[e];let u=rangeToPattern(String(a),String(t),r);let c="";if(!i.isPadded&&o&&o.pattern===u.pattern){if(o.count.length>1){o.count.pop()}o.count.push(u.count[0]);o.string=o.pattern+toQuantifier(o.count);a=t+1;continue}if(i.isPadded){c=padZeros(t,i,r)}u.string=c+u.pattern+toQuantifier(u.count);s.push(u);a=t+1;o=u}return s}function filterPatterns(e,t,i,r,n){let s=[];for(let n of e){let{string:e}=n;if(!r&&!contains(t,"string",e)){s.push(i+e)}if(r&&contains(t,"string",e)){s.push(i+e)}}return s}function zip(e,t){let i=[];for(let r=0;r<e.length;r++)i.push([e[r],t[r]]);return i}function compare(e,t){return e>t?1:t>e?-1:0}function contains(e,t,i){return e.some(e=>e[t]===i)}function countNines(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function countZeros(e,t){return e-e%Math.pow(10,t)}function toQuantifier(e){let[t=0,i=""]=e;if(i||t>1){return`{${t+(i?","+i:"")}}`}return""}function toCharacterClass(e,t,i){return`[${e}${t-e===1?"":"-"}${t}]`}function hasPadding(e){return/^-?(0+)\d/.test(e)}function padZeros(e,t,i){if(!t.isPadded){return e}let r=Math.abs(t.maxLen-String(e).length);let n=i.relaxZeros!==false;switch(r){case 0:return"";case 1:return n?"0?":"0";case 2:return n?"0{0,2}":"00";default:{return n?`0{0,${r}}`:`0{${r}}`}}}x.cache={};x.clearCache=(()=>x.cache={});var R=x;const A=e=>e!==null&&typeof e==="object"&&!Array.isArray(e);const k=e=>{return t=>e===true?Number(t):String(t)};const T=e=>{return typeof e==="number"||typeof e==="string"&&e!==""};const C=e=>Number.isInteger(+e);const O=e=>{let t=`${e}`;let i=-1;if(t[0]==="-")t=t.slice(1);if(t==="0")return false;while(t[++i]==="0");return i>0};const N=(e,t,i)=>{if(typeof e==="string"||typeof t==="string"){return true}return i.stringify===true};const j=(e,t,i)=>{if(t>0){let i=e[0]==="-"?"-":"";if(i)e=e.slice(1);e=i+e.padStart(i?t-1:t,"0")}if(i===false){return String(e)}return e};const I=(e,t)=>{let i=e[0]==="-"?"-":"";if(i){e=e.slice(1);t--}while(e.length<t)e="0"+e;return i?"-"+e:e};const $=(e,t)=>{e.negatives.sort((e,t)=>e<t?-1:e>t?1:0);e.positives.sort((e,t)=>e<t?-1:e>t?1:0);let i=t.capture?"":"?:";let r="";let n="";let s;if(e.positives.length){r=e.positives.join("|")}if(e.negatives.length){n=`-(${i}${e.negatives.join("|")})`}if(r&&n){s=`${r}|${n}`}else{s=r||n}if(t.wrap){return`(${i}${s})`}return s};const P=(e,t,i,r)=>{if(i){return R(e,t,Object.assign({wrap:false},r))}let n=String.fromCharCode(e);if(e===t)return n;let s=String.fromCharCode(t);return`[${n}-${s}]`};const F=(e,t,i)=>{if(Array.isArray(e)){let t=i.wrap===true;let r=i.capture?"":"?:";return t?`(${r}${e.join("|")})`:e.join("|")}return R(e,t,i)};const L=(...e)=>{return new RangeError("Invalid range arguments: "+a.inspect(...e))};const B=(e,t,i)=>{if(i.strictRanges===true)throw L([e,t]);return[]};const D=(e,t)=>{if(t.strictRanges===true){throw new TypeError(`Expected step "${e}" to be a number`)}return[]};const H=(e,t,i=1,r={})=>{let n=Number(e);let s=Number(t);if(!Number.isInteger(n)||!Number.isInteger(s)){if(r.strictRanges===true)throw L([e,t]);return[]}if(n===0)n=0;if(s===0)s=0;let a=n>s;let o=String(e);let u=String(t);let c=String(i);i=Math.max(Math.abs(i),1);let l=O(o)||O(u)||O(c);let f=l?Math.max(o.length,u.length,c.length):0;let h=l===false&&N(e,t,r)===false;let p=r.transform||k(h);if(r.toRegex&&i===1){return P(I(e,f),I(t,f),true,r)}let d={negatives:[],positives:[]};let v=e=>d[e<0?"negatives":"positives"].push(Math.abs(e));let y=[];let g=0;while(a?n>=s:n<=s){if(r.toRegex===true&&i>1){v(n)}else{y.push(j(p(n,g),f,h))}n=a?n-i:n+i;g++}if(r.toRegex===true){return i>1?$(d,r):F(y,null,Object.assign({wrap:false},r))}return y};const U=(e,t,i=1,r={})=>{if(!C(e)&&e.length>1||!C(t)&&t.length>1){return B(e,t,r)}let n=r.transform||(e=>String.fromCharCode(e));let s=`${e}`.charCodeAt(0);let a=`${t}`.charCodeAt(0);let o=s>a;let u=Math.min(s,a);let c=Math.max(s,a);if(r.toRegex&&i===1){return P(u,c,false,r)}let l=[];let f=0;while(o?s>=a:s<=a){l.push(n(s,f));s=o?s-i:s+i;f++}if(r.toRegex===true){return F(l,null,{wrap:false,options:r})}return l};const W=(e,t,i,r={})=>{if(t==null&&T(e)){return[e]}if(!T(e)||!T(t)){return B(e,t,r)}if(typeof i==="function"){return W(e,t,1,{transform:i})}if(A(i)){return W(e,t,0,i)}let n=Object.assign({},r);if(n.capture===true)n.wrap=true;i=i||n.step||1;if(!C(i)){if(i!=null&&!A(i))return D(i,n);return W(e,t,1,i)}if(C(e)&&C(t)){return H(e,t,i,n)}return U(e,t,Math.max(Math.abs(i),1),n)};var q=W;const G=(e,t={})=>{let i=(e,r={})=>{let n=h.isInvalidBrace(r);let s=e.invalid===true&&t.escapeInvalid===true;let a=n===true||s===true;let o=t.escapeInvalid===true?"\\":"";let u="";if(e.isOpen===true){return o+e.value}if(e.isClose===true){return o+e.value}if(e.type==="open"){return a?o+e.value:"("}if(e.type==="close"){return a?o+e.value:")"}if(e.type==="comma"){return e.prev.type==="comma"?"":a?e.value:"|"}if(e.value){return e.value}if(e.nodes&&e.ranges>0){let i=h.reduce(e.nodes);let r=q(...i,Object.assign({},t,{wrap:false,toRegex:true}));if(r.length!==0){return i.length>1&&r.length>1?`(${r})`:r}}if(e.nodes){for(let t of e.nodes){u+=i(t,e)}}return u};return i(e)};var V=G;const z=(e="",t="",i=false)=>{let r=[];e=[].concat(e);t=[].concat(t);if(!t.length)return e;if(!e.length){return i?h.flatten(t).map(e=>`{${e}}`):t}for(let n of e){if(Array.isArray(n)){for(let e of n){r.push(z(e,t,i))}}else{for(let e of t){if(i===true&&typeof e==="string")e=`{${e}}`;r.push(Array.isArray(e)?z(n,e,i):n+e)}}}return h.flatten(r)};const M=(e,t={})=>{let i=t.rangeLimit===void 0?1e3:t.rangeLimit;let r=(e,n={})=>{e.queue=[];let s=n;let a=n.queue;while(s.type!=="brace"&&s.type!=="root"&&s.parent){s=s.parent;a=s.queue}if(e.invalid||e.dollar){a.push(z(a.pop(),E(e,t)));return}if(e.type==="brace"&&e.invalid!==true&&e.nodes.length===2){a.push(z(a.pop(),["{}"]));return}if(e.nodes&&e.ranges>0){let r=h.reduce(e.nodes);if(h.exceedsLimit(...r,t.step,i)){throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.")}let n=q(...r,t);if(n.length===0){n=E(e,t)}a.push(z(a.pop(),n));e.nodes=[];return}let o=h.encloseBrace(e);let u=e.queue;let c=e;while(c.type!=="brace"&&c.type!=="root"&&c.parent){c=c.parent;u=c.queue}for(let t=0;t<e.nodes.length;t++){let i=e.nodes[t];if(i.type==="comma"&&e.type==="brace"){if(t===1)u.push("");u.push("");continue}if(i.type==="close"){a.push(z(a.pop(),u,o));continue}if(i.value&&i.type!=="open"){u.push(z(u.pop(),i.value));continue}if(i.nodes){r(i,e)}}return u};return h.flatten(r(e))};var X=M;var K={MAX_LENGTH:1024*64,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"};const{MAX_LENGTH:Y,CHAR_BACKSLASH:Q,CHAR_BACKTICK:J,CHAR_COMMA:Z,CHAR_DOT:ee,CHAR_LEFT_PARENTHESES:te,CHAR_RIGHT_PARENTHESES:ie,CHAR_LEFT_CURLY_BRACE:re,CHAR_RIGHT_CURLY_BRACE:ne,CHAR_LEFT_SQUARE_BRACKET:se,CHAR_RIGHT_SQUARE_BRACKET:ae,CHAR_DOUBLE_QUOTE:oe,CHAR_SINGLE_QUOTE:ue,CHAR_NO_BREAK_SPACE:ce,CHAR_ZERO_WIDTH_NOBREAK_SPACE:le}=K;const fe=(e,t={})=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}let i=t||{};let r=typeof i.maxLength==="number"?Math.min(Y,i.maxLength):Y;if(e.length>r){throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${r})`)}let n={type:"root",input:e,nodes:[]};let s=[n];let a=n;let o=n;let u=0;let c=e.length;let l=0;let f=0;let h;const p=()=>e[l++];const d=e=>{if(e.type==="text"&&o.type==="dot"){o.type="text"}if(o&&o.type==="text"&&e.type==="text"){o.value+=e.value;return}a.nodes.push(e);e.parent=a;e.prev=o;o=e;return e};d({type:"bos"});while(l<c){a=s[s.length-1];h=p();if(h===le||h===ce){continue}if(h===Q){d({type:"text",value:(t.keepEscaping?h:"")+p()});continue}if(h===ae){d({type:"text",value:"\\"+h});continue}if(h===se){u++;let e;while(l<c&&(e=p())){h+=e;if(e===se){u++;continue}if(e===Q){h+=p();continue}if(e===ae){u--;if(u===0){break}}}d({type:"text",value:h});continue}if(h===te){a=d({type:"paren",nodes:[]});s.push(a);d({type:"text",value:h});continue}if(h===ie){if(a.type!=="paren"){d({type:"text",value:h});continue}a=s.pop();d({type:"text",value:h});a=s[s.length-1];continue}if(h===oe||h===ue||h===J){let e=h;let i;if(t.keepQuotes!==true){h=""}while(l<c&&(i=p())){if(i===Q){h+=i+p();continue}if(i===e){if(t.keepQuotes===true)h+=i;break}h+=i}d({type:"text",value:h});continue}if(h===re){f++;let e=o.value&&o.value.slice(-1)==="$"||a.dollar===true;let t={type:"brace",open:true,close:false,dollar:e,depth:f,commas:0,ranges:0,nodes:[]};a=d(t);s.push(a);d({type:"open",value:h});continue}if(h===ne){if(a.type!=="brace"){d({type:"text",value:h});continue}let e="close";a=s.pop();a.close=true;d({type:e,value:h});f--;a=s[s.length-1];continue}if(h===Z&&f>0){if(a.ranges>0){a.ranges=0;let e=a.nodes.shift();a.nodes=[e,{type:"text",value:E(a)}]}d({type:"comma",value:h});a.commas++;continue}if(h===ee&&f>0&&a.commas===0){let e=a.nodes;if(f===0||e.length===0){d({type:"text",value:h});continue}if(o.type==="dot"){a.range=[];o.value+=h;o.type="range";if(a.nodes.length!==3&&a.nodes.length!==5){a.invalid=true;a.ranges=0;o.type="text";continue}a.ranges++;a.args=[];continue}if(o.type==="range"){e.pop();let t=e[e.length-1];t.value+=o.value+h;o=t;a.ranges--;continue}d({type:"dot",value:h});continue}d({type:"text",value:h})}do{a=s.pop();if(a.type!=="root"){a.nodes.forEach(e=>{if(!e.nodes){if(e.type==="open")e.isOpen=true;if(e.type==="close")e.isClose=true;if(!e.nodes)e.type="text";e.invalid=true}});let e=s[s.length-1];let t=e.nodes.indexOf(a);e.nodes.splice(t,1,...a.nodes)}}while(s.length>0);d({type:"eos"});return n};var he=fe;const pe=(e,t={})=>{let i=[];if(Array.isArray(e)){for(let r of e){let e=pe.create(r,t);if(Array.isArray(e)){i.push(...e)}else{i.push(e)}}}else{i=[].concat(pe.create(e,t))}if(t&&t.expand===true&&t.nodupes===true){i=[...new Set(i)]}return i};pe.parse=((e,t={})=>he(e,t));pe.stringify=((e,t={})=>{if(typeof e==="string"){return E(pe.parse(e,t),t)}return E(e,t)});pe.compile=((e,t={})=>{if(typeof e==="string"){e=pe.parse(e,t)}return V(e,t)});pe.expand=((e,t={})=>{if(typeof e==="string"){e=pe.parse(e,t)}let i=X(e,t);if(t.noempty===true){i=i.filter(Boolean)}if(t.nodupes===true){i=[...new Set(i)]}return i});pe.create=((e,t={})=>{if(e===""||e.length<3){return[e]}return t.expand!==true?pe.compile(e,t):pe.expand(e,t)});var de=pe;const ve="\\\\/";const ye=`[^${ve}]`;const ge="\\.";const be="\\+";const me="\\?";const _e="\\/";const we="(?=.)";const Ee="[^/]";const Se=`(?:${_e}|$)`;const xe=`(?:^|${_e})`;const Re=`${ge}{1,2}${Se}`;const Ae=`(?!${ge})`;const ke=`(?!${xe}${Re})`;const Te=`(?!${ge}{0,1}${Se})`;const Ce=`(?!${Re})`;const Oe=`[^.${_e}]`;const Ne=`${Ee}*?`;const je={DOT_LITERAL:ge,PLUS_LITERAL:be,QMARK_LITERAL:me,SLASH_LITERAL:_e,ONE_CHAR:we,QMARK:Ee,END_ANCHOR:Se,DOTS_SLASH:Re,NO_DOT:Ae,NO_DOTS:ke,NO_DOT_SLASH:Te,NO_DOTS_SLASH:Ce,QMARK_NO_DOT:Oe,STAR:Ne,START_ANCHOR:xe};const Ie=Object.assign({},je,{SLASH_LITERAL:`[${ve}]`,QMARK:ye,STAR:`${ye}*?`,DOTS_SLASH:`${ge}{1,2}(?:[${ve}]|$)`,NO_DOT:`(?!${ge})`,NO_DOTS:`(?!(?:^|[${ve}])${ge}{1,2}(?:[${ve}]|$))`,NO_DOT_SLASH:`(?!${ge}{0,1}(?:[${ve}]|$))`,NO_DOTS_SLASH:`(?!${ge}{1,2}(?:[${ve}]|$))`,QMARK_NO_DOT:`[^.${ve}]`,START_ANCHOR:`(?:^|[${ve}])`,END_ANCHOR:`(?:[${ve}]|$)`});const $e={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};var Pe={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:$e,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHAR:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:n.sep,extglobChars(e){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(e){return e===true?Ie:je}};var Fe=createCommonjsModule(function(e,t){const i=process.platform==="win32";const{REGEX_SPECIAL_CHARS:r,REGEX_SPECIAL_CHARS_GLOBAL:s,REGEX_REMOVE_BACKSLASH:a}=Pe;t.isObject=(e=>e!==null&&typeof e==="object"&&!Array.isArray(e));t.hasRegexChars=(e=>r.test(e));t.isRegexChar=(e=>e.length===1&&t.hasRegexChars(e));t.escapeRegex=(e=>e.replace(s,"\\$1"));t.toPosixSlashes=(e=>e.replace(/\\/g,"/"));t.removeBackslashes=(e=>{return e.replace(a,e=>{return e==="\\"?"":e})});t.supportsLookbehinds=(()=>{let e=process.version.slice(1).split(".");if(e.length===3&&+e[0]>=9||+e[0]===8&&+e[1]>=10){return true}return false});t.isWindows=(e=>{if(e&&typeof e.windows==="boolean"){return e.windows}return i===true||n.sep==="\\"});t.escapeLast=((e,i,r)=>{let n=e.lastIndexOf(i,r);if(n===-1)return e;if(e[n-1]==="\\")return t.escapeLast(e,i,n-1);return e.slice(0,n)+"\\"+e.slice(n)})});var Le=Fe.isObject;var Be=Fe.hasRegexChars;var De=Fe.isRegexChar;var He=Fe.escapeRegex;var Ue=Fe.toPosixSlashes;var We=Fe.removeBackslashes;var qe=Fe.supportsLookbehinds;var Ge=Fe.isWindows;var Ve=Fe.escapeLast;const{CHAR_ASTERISK:ze,CHAR_AT:Me,CHAR_BACKWARD_SLASH:Xe,CHAR_COMMA:Ke,CHAR_DOT:Ye,CHAR_EXCLAMATION_MARK:Qe,CHAR_FORWARD_SLASH:Je,CHAR_LEFT_CURLY_BRACE:Ze,CHAR_LEFT_PARENTHESES:et,CHAR_LEFT_SQUARE_BRACKET:tt,CHAR_PLUS:it,CHAR_QUESTION_MARK:rt,CHAR_RIGHT_CURLY_BRACE:nt,CHAR_RIGHT_PARENTHESES:st,CHAR_RIGHT_SQUARE_BRACKET:at}=Pe;const ot=e=>{return e===Je||e===Xe};var ut=(e,t)=>{let i=t||{};let r=e.length-1;let n=-1;let s=0;let a=0;let o=false;let u=false;let c=false;let l=0;let f;let h;let p=false;let d=()=>n>=r;let v=()=>{f=h;return e.charCodeAt(++n)};while(n<r){h=v();let t;if(h===Xe){u=true;t=v();if(t===Ze){p=true}continue}if(p===true||h===Ze){l++;while(!d()&&(t=v())){if(t===Xe){u=true;t=v();continue}if(t===Ze){l++;continue}if(!p&&t===Ye&&(t=v())===Ye){o=true;break}if(!p&&t===Ke){o=true;break}if(t===nt){l--;if(l===0){p=false;break}}}}if(h===Je){if(f===Ye&&n===s+1){s+=2;continue}a=n+1;continue}if(h===ze){o=true;break}if(h===ze||h===rt){o=true;break}if(h===tt){while(!d()&&(t=v())){if(t===Xe){u=true;t=v();continue}if(t===at){o=true;break}}}let i=h===it||h===Me||h===Qe;if(i&&e.charCodeAt(n+1)===et){o=true;break}if(h===Qe&&n===s){c=true;s++;continue}if(h===et){while(!d()&&(t=v())){if(t===Xe){u=true;t=v();continue}if(t===st){o=true;break}}}if(o){break}}let y="";let g=e;let b=e;let m="";if(s>0){y=e.slice(0,s);e=e.slice(s);a-=s}if(b&&o===true&&a>0){b=e.slice(0,a);m=e.slice(a)}else if(o===true){b="";m=e}else{b=e}if(b&&b!==""&&b!=="/"&&b!==e){if(ot(b.charCodeAt(b.length-1))){b=b.slice(0,-1)}}if(i.unescape===true){if(m)m=Fe.removeBackslashes(m);if(b&&u===true){b=Fe.removeBackslashes(b)}}return{prefix:y,input:g,base:b,glob:m,negated:c,isGlob:o}};const{MAX_LENGTH:ct,POSIX_REGEX_SOURCE:lt,REGEX_NON_SPECIAL_CHAR:ft,REGEX_SPECIAL_CHARS_BACKREF:ht,REPLACEMENTS:pt}=Pe;const dt=(e,t)=>{if(typeof t.expandRange==="function"){return t.expandRange(...e,t)}e.sort();let i=`[${e.join("-")}]`;try{}catch(t){return e.map(e=>Fe.escapeRegex(e)).join("..")}return i};const vt=e=>{let t=1;while(e.peek()==="!"&&(e.peek(2)!=="("||e.peek(3)==="?")){e.advance();e.start++;t++}if(t%2===0){return false}e.negated=true;e.start++;return true};const yt=(e,t)=>{return`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`};const gt=(e,t)=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}e=pt[e]||e;let i=Object.assign({},t);let r=typeof i.maxLength==="number"?Math.min(ct,i.maxLength):ct;let n=e.length;if(n>r){throw new SyntaxError(`Input length: ${n}, exceeds maximum allowed length: ${r}`)}let s={type:"bos",value:"",output:i.prepend||""};let a=[s];let o=i.capture?"":"?:";let u=Fe.isWindows(t);const c=Pe.globChars(u);const l=Pe.extglobChars(c);const{DOT_LITERAL:f,PLUS_LITERAL:h,SLASH_LITERAL:p,ONE_CHAR:d,DOTS_SLASH:v,NO_DOT:y,NO_DOT_SLASH:g,NO_DOTS_SLASH:b,QMARK:m,QMARK_NO_DOT:_,STAR:w,START_ANCHOR:E}=c;const S=e=>{return`(${o}(?:(?!${E}${e.dot?v:f}).)*?)`};let x=i.dot?"":y;let R=i.bash===true?S(i):w;let A=i.dot?m:_;if(i.capture){R=`(${R})`}if(typeof i.noext==="boolean"){i.noextglob=i.noext}let k={index:-1,start:0,consumed:"",output:"",backtrack:false,brackets:0,braces:0,parens:0,quotes:0,tokens:a};let T=[];let C=[];let O=s;let N;const j=()=>k.index===n-1;const I=k.peek=((t=1)=>e[k.index+t]);const $=k.advance=(()=>e[++k.index]);const P=e=>{k.output+=e.output!=null?e.output:e.value;k.consumed+=e.value||""};const F=e=>{k[e]++;C.push(e)};const L=e=>{k[e]--;C.pop()};const B=e=>{if(O.type==="globstar"){let t=k.braces>0&&(e.type==="comma"||e.type==="brace");let i=T.length&&(e.type==="pipe"||e.type==="paren");if(e.type!=="slash"&&e.type!=="paren"&&!t&&!i){k.output=k.output.slice(0,-O.output.length);O.type="star";O.value="*";O.output=R;k.output+=O.output}}if(T.length&&e.type!=="paren"&&!l[e.value]){T[T.length-1].inner+=e.value}if(e.value||e.output)P(e);if(O&&O.type==="text"&&e.type==="text"){O.value+=e.value;return}e.prev=O;a.push(e);O=e};const D=(e,t)=>{let r=Object.assign({},l[t],{conditions:1,inner:""});r.prev=O;r.parens=k.parens;r.output=k.output;let n=(i.capture?"(":"")+r.open;B({type:e,value:t,output:k.output?"":d});B({type:"paren",extglob:true,value:$(),output:n});F("parens");T.push(r)};const H=t=>{let r=t.close+(i.capture?")":"");if(t.type==="negate"){let n=R;if(t.inner&&t.inner.length>1&&t.inner.includes("/")){n=S(i)}if(n!==R||j()||/^\)+$/.test(e.slice(k.index+1))){r=t.close=")$))"+n}if(t.prev.type==="bos"&&j()){k.negatedExtglob=true}}B({type:"paren",extglob:true,value:N,output:r});L("parens")};if(i.fastpaths!==false&&!/(^[*!]|[/{[()\]}"])/.test(e)){let t=false;let r=e.replace(ht,(e,i,r,n,s,a)=>{if(n==="\\"){t=true;return e}if(n==="?"){if(i){return i+n+(s?m.repeat(s.length):"")}if(a===0){return A+(s?m.repeat(s.length):"")}return m.repeat(r.length)}if(n==="."){return f.repeat(r.length)}if(n==="*"){if(i){return i+n+(s?R:"")}return R}return i?e:"\\"+e});if(t===true){if(i.unescape===true){r=r.replace(/\\/g,"")}else{r=r.replace(/\\+/g,e=>{return e.length%2===0?"\\\\":e?"\\":""})}}k.output=r;return k}while(!j()){N=$();if(N==="\0"){continue}if(N==="\\"){let t=I();if(t==="/"&&i.bash!==true){continue}if(t==="."||t===";"){continue}if(!t){N+="\\";B({type:"text",value:N});continue}let r=/^\\+/.exec(e.slice(k.index+1));let n=0;if(r&&r[0].length>2){n=r[0].length;k.index+=n;if(n%2!==0){N+="\\"}}if(i.unescape===true){N=$()||""}else{N+=$()||""}if(k.brackets===0){B({type:"text",value:N});continue}}if(k.brackets>0&&(N!=="]"||O.value==="["||O.value==="[^")){if(i.posix!==false&&N===":"){let e=O.value.slice(1);if(e.includes("[")){O.posix=true;if(e.includes(":")){let e=O.value.lastIndexOf("[");let t=O.value.slice(0,e);let i=O.value.slice(e+2);let r=lt[i];if(r){O.value=t+r;k.backtrack=true;$();if(!s.output&&a.indexOf(O)===1){s.output=d}continue}}}}if(N==="["&&I()!==":"||N==="-"&&I()==="]"){N="\\"+N}if(N==="]"&&(O.value==="["||O.value==="[^")){N="\\"+N}if(i.posix===true&&N==="!"&&O.value==="["){N="^"}O.value+=N;P({value:N});continue}if(k.quotes===1&&N!=='"'){N=Fe.escapeRegex(N);O.value+=N;P({value:N});continue}if(N==='"'){k.quotes=k.quotes===1?0:1;if(i.keepQuotes===true){B({type:"text",value:N})}continue}if(N==="("){B({type:"paren",value:N});F("parens");continue}if(N===")"){if(k.parens===0&&i.strictBrackets===true){throw new SyntaxError(yt("opening","("))}let e=T[T.length-1];if(e&&k.parens===e.parens+1){H(T.pop());continue}B({type:"paren",value:N,output:k.parens?")":"\\)"});L("parens");continue}if(N==="["){if(i.nobracket===true||!e.slice(k.index+1).includes("]")){if(i.nobracket!==true&&i.strictBrackets===true){throw new SyntaxError(yt("closing","]"))}N="\\"+N}else{F("brackets")}B({type:"bracket",value:N});continue}if(N==="]"){if(i.nobracket===true||O&&O.type==="bracket"&&O.value.length===1){B({type:"text",value:N,output:"\\"+N});continue}if(k.brackets===0){if(i.strictBrackets===true){throw new SyntaxError(yt("opening","["))}B({type:"text",value:N,output:"\\"+N});continue}L("brackets");let e=O.value.slice(1);if(O.posix!==true&&e[0]==="^"&&!e.includes("/")){N="/"+N}O.value+=N;P({value:N});if(i.literalBrackets===false||Fe.hasRegexChars(e)){continue}let t=Fe.escapeRegex(O.value);k.output=k.output.slice(0,-O.value.length);if(i.literalBrackets===true){k.output+=t;O.value=t;continue}O.value=`(${o}${t}|${O.value})`;k.output+=O.value;continue}if(N==="{"&&i.nobrace!==true){B({type:"brace",value:N,output:"("});F("braces");continue}if(N==="}"){if(i.nobrace===true||k.braces===0){B({type:"text",value:N,output:"\\"+N});continue}let e=")";if(k.dots===true){let t=a.slice();let r=[];for(let e=t.length-1;e>=0;e--){a.pop();if(t[e].type==="brace"){break}if(t[e].type!=="dots"){r.unshift(t[e].value)}}e=dt(r,i);k.backtrack=true}B({type:"brace",value:N,output:e});L("braces");continue}if(N==="|"){if(T.length>0){T[T.length-1].conditions++}B({type:"text",value:N});continue}if(N===","){let e=N;if(k.braces>0&&C[C.length-1]==="braces"){e="|"}B({type:"comma",value:N,output:e});continue}if(N==="/"){if(O.type==="dot"&&k.index===1){k.start=k.index+1;k.consumed="";k.output="";a.pop();O=s;continue}B({type:"slash",value:N,output:p});continue}if(N==="."){if(k.braces>0&&O.type==="dot"){if(O.value===".")O.output=f;O.type="dots";O.output+=N;O.value+=N;k.dots=true;continue}B({type:"dot",value:N,output:f});continue}if(N==="?"){if(O&&O.type==="paren"){let e=I();let t=N;if(e==="<"&&!Fe.supportsLookbehinds()){throw new Error("Node.js v10 or higher is required for regex lookbehinds")}if(O.value==="("&&!/[!=<:]/.test(e)||e==="<"&&!/[!=]/.test(I(2))){t="\\"+N}B({type:"text",value:N,output:t});continue}if(i.noextglob!==true&&I()==="("&&I(2)!=="?"){D("qmark",N);continue}if(i.dot!==true&&(O.type==="slash"||O.type==="bos")){B({type:"qmark",value:N,output:_});continue}B({type:"qmark",value:N,output:m});continue}if(N==="!"){if(i.noextglob!==true&&I()==="("){if(I(2)!=="?"||!/[!=<:]/.test(I(3))){D("negate",N);continue}}if(i.nonegate!==true&&k.index===0){vt(k);continue}}if(N==="+"){if(i.noextglob!==true&&I()==="("&&I(2)!=="?"){D("plus",N);continue}if(O&&(O.type==="bracket"||O.type==="paren"||O.type==="brace")){let e=O.extglob===true?"\\"+N:N;B({type:"plus",value:N,output:e});continue}if(k.parens>0&&i.regex!==false){B({type:"plus",value:N});continue}B({type:"plus",value:h});continue}if(N==="@"){if(i.noextglob!==true&&I()==="("&&I(2)!=="?"){B({type:"at",value:N,output:""});continue}B({type:"text",value:N});continue}if(N!=="*"){if(N==="$"||N==="^"){N="\\"+N}let t=ft.exec(e.slice(k.index+1));if(t){N+=t[0];k.index+=t[0].length}B({type:"text",value:N});continue}if(O&&(O.type==="globstar"||O.star===true)){O.type="star";O.star=true;O.value+=N;O.output=R;k.backtrack=true;k.consumed+=N;continue}if(i.noextglob!==true&&I()==="("&&I(2)!=="?"){D("star",N);continue}if(O.type==="star"){if(i.noglobstar===true){k.consumed+=N;continue}let t=O.prev;let r=t.prev;let n=t.type==="slash"||t.type==="bos";let s=r&&(r.type==="star"||r.type==="globstar");if(i.bash===true&&(!n||!j()&&I()!=="/")){B({type:"star",value:N,output:""});continue}let a=k.braces>0&&(t.type==="comma"||t.type==="brace");let o=T.length&&(t.type==="pipe"||t.type==="paren");if(!n&&t.type!=="paren"&&!a&&!o){B({type:"star",value:N,output:""});continue}while(e.slice(k.index+1,k.index+4)==="/**"){let t=e[k.index+4];if(t&&t!=="/"){break}k.consumed+="/**";k.index+=3}if(t.type==="bos"&&j()){O.type="globstar";O.value+=N;O.output=S(i);k.output=O.output;k.consumed+=N;continue}if(t.type==="slash"&&t.prev.type!=="bos"&&!s&&j()){k.output=k.output.slice(0,-(t.output+O.output).length);t.output="(?:"+t.output;O.type="globstar";O.output=S(i)+"|$)";O.value+=N;k.output+=t.output+O.output;k.consumed+=N;continue}let u=I();if(t.type==="slash"&&t.prev.type!=="bos"&&u==="/"){let e=I(2)!==void 0?"|$":"";k.output=k.output.slice(0,-(t.output+O.output).length);t.output="(?:"+t.output;O.type="globstar";O.output=`${S(i)}${p}|${p}${e})`;O.value+=N;k.output+=t.output+O.output;k.consumed+=N+$();B({type:"slash",value:N,output:""});continue}if(t.type==="bos"&&u==="/"){O.type="globstar";O.value+=N;O.output=`(?:^|${p}|${S(i)}${p})`;k.output=O.output;k.consumed+=N+$();B({type:"slash",value:N,output:""});continue}k.output=k.output.slice(0,-O.output.length);O.type="globstar";O.output=S(i);O.value+=N;k.output+=O.output;k.consumed+=N;continue}let t={type:"star",value:N,output:R};if(i.bash===true){t.output=".*?";if(O.type==="bos"||O.type==="slash"){t.output=x+t.output}B(t);continue}if(O&&(O.type==="bracket"||O.type==="paren")&&i.regex===true){t.output=N;B(t);continue}if(k.index===k.start||O.type==="slash"||O.type==="dot"){if(O.type==="dot"){k.output+=g;O.output+=g}else if(i.dot===true){k.output+=b;O.output+=b}else{k.output+=x;O.output+=x}if(I()!=="*"){k.output+=d;O.output+=d}}B(t)}while(k.brackets>0){if(i.strictBrackets===true)throw new SyntaxError(yt("closing","]"));k.output=Fe.escapeLast(k.output,"[");L("brackets")}while(k.parens>0){if(i.strictBrackets===true)throw new SyntaxError(yt("closing",")"));k.output=Fe.escapeLast(k.output,"(");L("parens")}while(k.braces>0){if(i.strictBrackets===true)throw new SyntaxError(yt("closing","}"));k.output=Fe.escapeLast(k.output,"{");L("braces")}if(i.strictSlashes!==true&&(O.type==="star"||O.type==="bracket")){B({type:"maybe_slash",value:"",output:`${p}?`})}if(k.backtrack===true){k.output="";for(let e of k.tokens){k.output+=e.output!=null?e.output:e.value;if(e.suffix){k.output+=e.suffix}}}return k};gt.fastpaths=((e,t)=>{let i=Object.assign({},t);let r=typeof i.maxLength==="number"?Math.min(ct,i.maxLength):ct;let n=e.length;if(n>r){throw new SyntaxError(`Input length: ${n}, exceeds maximum allowed length: ${r}`)}e=pt[e]||e;let s=Fe.isWindows(t);const{DOT_LITERAL:a,SLASH_LITERAL:o,ONE_CHAR:u,DOTS_SLASH:c,NO_DOT:l,NO_DOTS:f,NO_DOTS_SLASH:h,STAR:p,START_ANCHOR:d}=Pe.globChars(s);let v=i.capture?"":"?:";let y=i.bash===true?".*?":p;let g=i.dot?f:l;let b=i.dot?h:l;if(i.capture){y=`(${y})`}const m=e=>{return`(${v}(?:(?!${d}${e.dot?c:a}).)*?)`};const _=e=>{switch(e){case"*":return`${g}${u}${y}`;case".*":return`${a}${u}${y}`;case"*.*":return`${g}${y}${a}${u}${y}`;case"*/*":return`${g}${y}${o}${u}${b}${y}`;case"**":return g+m(i);case"**/*":return`(?:${g}${m(i)}${o})?${b}${u}${y}`;case"**/*.*":return`(?:${g}${m(i)}${o})?${b}${y}${a}${u}${y}`;case"**/.*":return`(?:${g}${m(i)}${o})?${a}${u}${y}`;default:{let i=/^(.*?)\.(\w+)$/.exec(e);if(!i)return;let r=_(i[1],t);if(!r)return;return r+a+i[2]}}};let w=_(e);if(w&&i.strictSlashes!==true){w+=`${o}?`}return w});var bt=gt;const mt=(e,t,i=false)=>{if(Array.isArray(e)){let r=e.map(e=>mt(e,t,i));return e=>{for(let t of r){let i=t(e);if(i)return i}return false}}if(typeof e!=="string"||e===""){throw new TypeError("Expected pattern to be a non-empty string")}let r=t||{};let n=Fe.isWindows(t);let s=mt.makeRe(e,t,false,true);let a=s.state;delete s.state;let o=()=>false;if(r.ignore){let e=Object.assign({},t,{ignore:null,onMatch:null,onResult:null});o=mt(r.ignore,e,i)}const u=(i,u=false)=>{let{isMatch:c,match:l,output:f}=mt.test(i,s,t,{glob:e,posix:n});let h={glob:e,state:a,regex:s,posix:n,input:i,output:f,match:l,isMatch:c};if(typeof r.onResult==="function"){r.onResult(h)}if(c===false){h.isMatch=false;return u?h:false}if(o(i)){if(typeof r.onIgnore==="function"){r.onIgnore(h)}h.isMatch=false;return u?h:false}if(typeof r.onMatch==="function"){r.onMatch(h)}return u?h:true};if(i){u.state=a}return u};mt.test=((e,t,i,{glob:r,posix:n}={})=>{if(typeof e!=="string"){throw new TypeError("Expected input to be a string")}if(e===""){return{isMatch:false,output:""}}let s=i||{};let a=s.format||(n?Fe.toPosixSlashes:null);let o=e===r;let u=o&&a?a(e):e;if(o===false){u=a?a(e):e;o=u===r}if(o===false||s.capture===true){if(s.matchBase===true||s.basename===true){o=mt.matchBase(e,t,i,n)}else{o=t.exec(u)}}return{isMatch:!!o,match:o,output:u}});mt.matchBase=((e,t,i,r=Fe.isWindows(i))=>{let s=t instanceof RegExp?t:mt.makeRe(t,i);return s.test(n.basename(e))});mt.isMatch=((e,t,i)=>mt(t,i)(e));mt.parse=((e,t)=>bt(e,t));mt.scan=((e,t)=>ut(e,t));mt.makeRe=((e,t,i=false,r=false)=>{if(!e||typeof e!=="string"){throw new TypeError("Expected a non-empty string")}let n=t||{};let s=n.contains?"":"^";let a=n.contains?"":"$";let o={negated:false,fastpaths:true};let u="";let c;if(e.startsWith("./")){e=e.slice(2);u=o.prefix="./"}if(n.fastpaths!==false&&(e[0]==="."||e[0]==="*")){c=bt.fastpaths(e,t)}if(c===void 0){o=mt.parse(e,t);o.prefix=u+(o.prefix||"");c=o.output}if(i===true){return c}let l=`${s}(?:${c})${a}`;if(o&&o.negated===true){l=`^(?!${l}).*$`}let f=mt.toRegex(l,t);if(r===true){f.state=o}return f});mt.toRegex=((e,t)=>{try{let i=t||{};return new RegExp(e,i.flags||(i.nocase?"i":""))}catch(e){if(t&&t.debug===true)throw e;return/$^/}});mt.constants=Pe;var _t=mt;var wt=_t;const Et=e=>typeof e==="string"&&(e===""||e==="./");const St=(e,t,i)=>{t=[].concat(t);e=[].concat(e);let r=new Set;let n=new Set;let s=new Set;let a=0;let o=e=>{s.add(e.output);if(i&&i.onResult){i.onResult(e)}};for(let s=0;s<t.length;s++){let u=wt(String(t[s]),Object.assign({},i,{onResult:o}),true);let c=u.state.negated||u.state.negatedExtglob;if(c)a++;for(let t of e){let e=u(t,true);let i=c?!e.isMatch:e.isMatch;if(!i)continue;if(c){r.add(e.output)}else{r.delete(e.output);n.add(e.output)}}}let u=a===t.length?[...s]:[...n];let c=u.filter(e=>!r.has(e));if(i&&c.length===0){if(i.failglob===true){throw new Error(`No matches found for "${t.join(", ")}"`)}if(i.nonull===true||i.nullglob===true){return i.unescape?t.map(e=>e.replace(/\\/g,"")):t}}return c};St.match=St;St.matcher=((e,t)=>wt(e,t));St.isMatch=((e,t,i)=>wt(t,i)(e));St.any=St.isMatch;St.not=((e,t,i={})=>{t=[].concat(t).map(String);let r=new Set;let n=[];let s=e=>{if(i.onResult)i.onResult(e);n.push(e.output)};let a=St(e,t,Object.assign({},i,{onResult:s}));for(let e of n){if(!a.includes(e)){r.add(e)}}return[...r]});St.contains=((e,t,i)=>{if(typeof e!=="string"){throw new TypeError(`Expected a string: "${a.inspect(e)}"`)}if(Array.isArray(t)){return t.some(t=>St.contains(e,t,i))}if(typeof t==="string"){if(Et(e)||Et(t)){return false}if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t)){return true}}return St.isMatch(e,t,Object.assign({},i,{contains:true}))});St.matchKeys=((e,t,i)=>{if(!Fe.isObject(e)){throw new TypeError("Expected the first argument to be an object")}let r=St(Object.keys(e),t,i);let n={};for(let t of r)n[t]=e[t];return n});St.some=((e,t,i)=>{let r=[].concat(e);for(let e of[].concat(t)){let t=wt(String(e),i);if(r.some(e=>t(e))){return true}}return false});St.every=((e,t,i)=>{let r=[].concat(e);for(let e of[].concat(t)){let t=wt(String(e),i);if(!r.every(e=>t(e))){return false}}return true});St.all=((e,t,i)=>{if(typeof e!=="string"){throw new TypeError(`Expected a string: "${a.inspect(e)}"`)}return[].concat(t).every(t=>wt(t,i)(e))});St.capture=((e,t,i)=>{let r=Fe.isWindows(i);let n=wt.makeRe(String(e),Object.assign({},i,{capture:true}));let s=n.exec(r?Fe.toPosixSlashes(t):t);if(s){return s.slice(1).map(e=>e===void 0?"":e)}});St.makeRe=((...e)=>wt.makeRe(...e));St.scan=((...e)=>wt.scan(...e));St.parse=((e,t)=>{let i=[];for(let r of[].concat(e||[])){for(let e of de(String(r),t)){i.push(wt.parse(e,t))}}return i});St.braces=((e,t)=>{if(typeof e!=="string")throw new TypeError("Expected a string");if(t&&t.nobrace===true||!/\{.*\}/.test(e)){return[e]}return de(e,t)});St.braceExpand=((e,t)=>{if(typeof e!=="string")throw new TypeError("Expected a string");return St.braces(e,Object.assign({},t,{expand:true}))});var xt=St;function ensureArray(e){if(Array.isArray(e))return e;if(e==undefined)return[];return[e]}function getMatcherString(e,t){if(t===false){return e}return r.resolve(...typeof t==="string"?[t,e]:[e])}const Rt=function createFilter(e,t,i){const n=i&&i.resolve;const s=e=>{return e instanceof RegExp?e:{test:xt.matcher(getMatcherString(e,n).split(r.sep).join("/"),{dot:true})}};const a=ensureArray(e).map(s);const o=ensureArray(t).map(s);return function(e){if(typeof e!=="string")return false;if(/\0/.test(e))return false;e=e.split(r.sep).join("/");for(let t=0;t<o.length;++t){const i=o[t];if(i.test(e))return false}for(let t=0;t<a.length;++t){const i=a[t];if(i.test(e))return true}return!a.length}};const At="break case class catch const continue debugger default delete do else export extends finally for function if import in instanceof let new return super switch this throw try typeof var void while with yield enum await implements package protected static interface private public";const kt="arguments Infinity NaN undefined null true false eval uneval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Symbol Error EvalError InternalError RangeError ReferenceError SyntaxError TypeError URIError Number Math Date String RegExp Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array Map Set WeakMap WeakSet SIMD ArrayBuffer DataView JSON Promise Generator GeneratorFunction Reflect Proxy Intl";const Tt=new Set(`${At} ${kt}`.split(" "));Tt.add("");const Ct=function makeLegalIdentifier(e){e=e.replace(/-(\w)/g,(e,t)=>t.toUpperCase()).replace(/[^$_a-zA-Z0-9]/g,"_");if(/\d/.test(e[0])||Tt.has(e)){e=`_${e}`}return e||"_"};function stringify$2(e){return(JSON.stringify(e)||"undefined").replace(/[\u2028\u2029]/g,e=>`\\u${("000"+e.charCodeAt(0).toString(16)).slice(-4)}`)}function serializeArray(e,t,i){let r="[";const n=t?"\n"+i+t:"";for(let s=0;s<e.length;s++){const a=e[s];r+=`${s>0?",":""}${n}${serialize(a,t,i+t)}`}return r+`${t?"\n"+i:""}]`}function serializeObject(e,t,i){let r="{";const n=t?"\n"+i+t:"";const s=Object.keys(e);for(let a=0;a<s.length;a++){const o=s[a];const u=Ct(o)===o?o:stringify$2(o);r+=`${a>0?",":""}${n}${u}:${t?" ":""}${serialize(e[o],t,i+t)}`}return r+`${t?"\n"+i:""}}`}function serialize(e,t,i){if(e===Infinity)return"Infinity";if(e===-Infinity)return"-Infinity";if(e===0&&1/e===-Infinity)return"-0";if(e instanceof Date)return"new Date("+e.getTime()+")";if(e instanceof RegExp)return e.toString();if(e!==e)return"NaN";if(Array.isArray(e))return serializeArray(e,t,i);if(e===null)return"null";if(typeof e==="object")return serializeObject(e,t,i);return stringify$2(e)}const Ot=function dataToEsm(e,t={}){const i=t.compact?"":"indent"in t?t.indent:"\t";const r=t.compact?"":" ";const n=t.compact?"":"\n";const s=t.preferConst?"const":"var";if(t.namedExports===false||typeof e!=="object"||Array.isArray(e)||e instanceof Date||e instanceof RegExp||e===null){const n=serialize(e,t.compact?null:i,"");const s=r||(/^[{[\-\/]/.test(n)?"":" ");return`export default${s}${n};`}let a="";const o=[];const u=Object.keys(e);for(let c=0;c<u.length;c++){const l=u[c];if(l===Ct(l)){if(t.objectShorthand)o.push(l);else o.push(`${l}:${r}${l}`);a+=`export ${s} ${l}${r}=${r}${serialize(e[l],t.compact?null:i,"")};${n}`}else{o.push(`${stringify$2(l)}:${r}${serialize(e[l],t.compact?null:i,"")}`)}}return a+`export default${r}{${n}${i}${o.join(`,${n}${i}`)}${n}};${n}`};t.addExtension=o;t.attachScopes=f;t.createFilter=Rt;t.dataToEsm=Ot;t.extractAssignedNames=c;t.makeLegalIdentifier=Ct},619:function(e,t){(function(e,i){true?i(t):0})(this,function(e){"use strict";function walk(e,{enter:t,leave:i}){visit(e,null,t,i)}let t=false;const i={skip:()=>t=true};const r={};const n=Object.prototype.toString;function isArray(e){return n.call(e)==="[object Array]"}function visit(e,n,s,a,o,u){if(!e)return;if(s){const r=t;t=false;s.call(i,e,n,o,u);const a=t;t=r;if(a)return}const c=e.type&&r[e.type]||(r[e.type]=Object.keys(e).filter(t=>typeof e[t]==="object"));for(let t=0;t<c.length;t+=1){const i=c[t];const r=e[i];if(isArray(r)){for(let t=0;t<r.length;t+=1){r[t]&&r[t].type&&visit(r[t],e,s,a,i,t)}}else if(r&&r.type){visit(r,e,s,a,i,null)}}if(a){a(e,n,o,u)}}e.walk=walk;e.childKeys=r;Object.defineProperty(e,"__esModule",{value:true})})},8834:e=>{e.exports=function(e){[process.stdout,process.stderr].forEach(function(t){if(t._handle&&t.isTTY&&typeof t._handle.setBlocking==="function"){t._handle.setBlocking(e)}})}},2028:(e,t,i)=>{var r=i(2357);var n=i(19);var s=/^win/i.test(process.platform);var a=i(8614);if(typeof a!=="function"){a=a.EventEmitter}var o;if(process.__signal_exit_emitter__){o=process.__signal_exit_emitter__}else{o=process.__signal_exit_emitter__=new a;o.count=0;o.emitted={}}if(!o.infinite){o.setMaxListeners(Infinity);o.infinite=true}e.exports=function(e,t){r.equal(typeof e,"function","a callback must be provided for exit handler");if(c===false){load()}var i="exit";if(t&&t.alwaysLast){i="afterexit"}var n=function(){o.removeListener(i,e);if(o.listeners("exit").length===0&&o.listeners("afterexit").length===0){unload()}};o.on(i,e);return n};e.exports.unload=unload;function unload(){if(!c){return}c=false;n.forEach(function(e){try{process.removeListener(e,u[e])}catch(e){}});process.emit=f;process.reallyExit=l;o.count-=1}function emit(e,t,i){if(o.emitted[e]){return}o.emitted[e]=true;o.emit(e,t,i)}var u={};n.forEach(function(e){u[e]=function listener(){var t=process.listeners(e);if(t.length===o.count){unload();emit("exit",null,e);emit("afterexit",null,e);if(s&&e==="SIGHUP"){e="SIGINT"}process.kill(process.pid,e)}}});e.exports.signals=function(){return n};e.exports.load=load;var c=false;function load(){if(c){return}c=true;o.count+=1;n=n.filter(function(e){try{process.on(e,u[e]);return true}catch(e){return false}});process.emit=processEmit;process.reallyExit=processReallyExit}var l=process.reallyExit;function processReallyExit(e){process.exitCode=e||0;emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);l.call(process,process.exitCode)}var f=process.emit;function processEmit(e,t){if(e==="exit"){if(t!==undefined){process.exitCode=t}var i=f.apply(this,arguments);emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);return i}else{return f.apply(this,arguments)}}},19:e=>{e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];if(process.platform!=="win32"){e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT")}if(process.platform==="linux"){e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")}},1871:(e,t,i)=>{"use strict";const r=i(7742);const n=i(9014);e.exports=(e=>{if(typeof e!=="string"||e.length===0){return 0}e=r(e);let t=0;for(let i=0;i<e.length;i++){const r=e.codePointAt(i);if(r<=31||r>=127&&r<=159){continue}if(r>=768&&r<=879){continue}if(r>65535){i++}t+=n(r)?2:1}return t})},8149:e=>{"use strict";e.exports=(()=>{const e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))"].join("|");return new RegExp(e,"g")})},9014:e=>{"use strict";e.exports=(e=>{if(Number.isNaN(e)){return false}if(e>=4352&&(e<=4447||e===9001||e===9002||11904<=e&&e<=12871&&e!==12351||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)){return true}return false})},7742:(e,t,i)=>{"use strict";const r=i(8149);e.exports=(e=>typeof e==="string"?e.replace(r(),""):e)},642:(e,t,i)=>{"use strict";var r=i(265).Buffer;var n=r.isEncoding||function(e){e=""+e;switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function _normalizeEncoding(e){if(!e)return"utf8";var t;while(true){switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase();t=true}}}function normalizeEncoding(e){var t=_normalizeEncoding(e);if(typeof t!=="string"&&(r.isEncoding===n||!n(e)))throw new Error("Unknown encoding: "+e);return t||e}t.s=StringDecoder;function StringDecoder(e){this.encoding=normalizeEncoding(e);var t;switch(this.encoding){case"utf16le":this.text=utf16Text;this.end=utf16End;t=4;break;case"utf8":this.fillLast=utf8FillLast;t=4;break;case"base64":this.text=base64Text;this.end=base64End;t=3;break;default:this.write=simpleWrite;this.end=simpleEnd;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=r.allocUnsafe(t)}StringDecoder.prototype.write=function(e){if(e.length===0)return"";var t;var i;if(this.lastNeed){t=this.fillLast(e);if(t===undefined)return"";i=this.lastNeed;this.lastNeed=0}else{i=0}if(i<e.length)return t?t+this.text(e,i):this.text(e,i);return t||""};StringDecoder.prototype.end=utf8End;StringDecoder.prototype.text=utf8Text;StringDecoder.prototype.fillLast=function(e){if(this.lastNeed<=e.length){e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length);this.lastNeed-=e.length};function utf8CheckByte(e){if(e<=127)return 0;else if(e>>5===6)return 2;else if(e>>4===14)return 3;else if(e>>3===30)return 4;return e>>6===2?-1:-2}function utf8CheckIncomplete(e,t,i){var r=t.length-1;if(r<i)return 0;var n=utf8CheckByte(t[r]);if(n>=0){if(n>0)e.lastNeed=n-1;return n}if(--r<i||n===-2)return 0;n=utf8CheckByte(t[r]);if(n>=0){if(n>0)e.lastNeed=n-2;return n}if(--r<i||n===-2)return 0;n=utf8CheckByte(t[r]);if(n>=0){if(n>0){if(n===2)n=0;else e.lastNeed=n-3}return n}return 0}function utf8CheckExtraBytes(e,t,i){if((t[0]&192)!==128){e.lastNeed=0;return"�"}if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128){e.lastNeed=1;return"�"}if(e.lastNeed>2&&t.length>2){if((t[2]&192)!==128){e.lastNeed=2;return"�"}}}}function utf8FillLast(e){var t=this.lastTotal-this.lastNeed;var i=utf8CheckExtraBytes(this,e,t);if(i!==undefined)return i;if(this.lastNeed<=e.length){e.copy(this.lastChar,t,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}e.copy(this.lastChar,t,0,e.length);this.lastNeed-=e.length}function utf8Text(e,t){var i=utf8CheckIncomplete(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=i;var r=e.length-(i-this.lastNeed);e.copy(this.lastChar,0,r);return e.toString("utf8",t,r)}function utf8End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+"�";return t}function utf16Text(e,t){if((e.length-t)%2===0){var i=e.toString("utf16le",t);if(i){var r=i.charCodeAt(i.length-1);if(r>=55296&&r<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=e[e.length-2];this.lastChar[1]=e[e.length-1];return i.slice(0,-1)}}return i}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=e[e.length-1];return e.toString("utf16le",t,e.length-1)}function utf16End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var i=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,i)}return t}function base64Text(e,t){var i=(e.length-t)%3;if(i===0)return e.toString("base64",t);this.lastNeed=3-i;this.lastTotal=3;if(i===1){this.lastChar[0]=e[e.length-1]}else{this.lastChar[0]=e[e.length-2];this.lastChar[1]=e[e.length-1]}return e.toString("base64",t,e.length-i)}function base64End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+this.lastChar.toString("base64",0,3-this.lastNeed);return t}function simpleWrite(e){return e.toString(this.encoding)}function simpleEnd(e){return e&&e.length?this.write(e):""}},265:(e,t,i)=>{var r=i(4293);var n=r.Buffer;function copyProps(e,t){for(var i in e){t[i]=e[i]}}if(n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow){e.exports=r}else{copyProps(r,t);t.Buffer=SafeBuffer}function SafeBuffer(e,t,i){return n(e,t,i)}copyProps(n,SafeBuffer);SafeBuffer.from=function(e,t,i){if(typeof e==="number"){throw new TypeError("Argument must not be a number")}return n(e,t,i)};SafeBuffer.alloc=function(e,t,i){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}var r=n(e);if(t!==undefined){if(typeof i==="string"){r.fill(t,i)}else{r.fill(t)}}else{r.fill(0)}return r};SafeBuffer.allocUnsafe=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return n(e)};SafeBuffer.allocUnsafeSlow=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return r.SlowBuffer(e)}},1361:(e,t,i)=>{"use strict";var r=i(142)();e.exports=function(e){return typeof e==="string"?e.replace(r,""):e}},142:e=>{"use strict";e.exports=function(){return/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]/g}},3221:e=>{e.exports=function(e,t){if(!t)t={};var i=t.hsep===undefined?" ":t.hsep;var r=t.align||[];var n=t.stringLength||function(e){return String(e).length};var s=reduce(e,function(e,t){forEach(t,function(t,i){var r=dotindex(t);if(!e[i]||r>e[i])e[i]=r});return e},[]);var a=map(e,function(e){return map(e,function(e,t){var i=String(e);if(r[t]==="."){var a=dotindex(i);var o=s[t]+(/\./.test(i)?1:2)-(n(i)-a);return i+Array(o).join(" ")}else return i})});var o=reduce(a,function(e,t){forEach(t,function(t,i){var r=n(t);if(!e[i]||r>e[i])e[i]=r});return e},[]);return map(a,function(e){return map(e,function(e,t){var i=o[t]-n(e)||0;var s=Array(Math.max(i+1,1)).join(" ");if(r[t]==="r"||r[t]==="."){return s+e}if(r[t]==="c"){return Array(Math.ceil(i/2+1)).join(" ")+e+Array(Math.floor(i/2+1)).join(" ")}return e+s}).join(i).replace(/\s+$/,"")}).join("\n")};function dotindex(e){var t=/\.[^.]*$/.exec(e);return t?t.index+1:e.length}function reduce(e,t,i){if(e.reduce)return e.reduce(t,i);var r=0;var n=arguments.length>=3?i:e[r++];for(;r<e.length;r++){t(n,e[r],r)}return n}function forEach(e,t){if(e.forEach)return e.forEach(t);for(var i=0;i<e.length;i++){t.call(e,e[i],i)}}function map(e,t){if(e.map)return e.map(t);var i=[];for(var r=0;r<e.length;r++){i.push(t.call(e,e[r],r))}return i}},887:(e,t,i)=>{"use strict";const r=i(2752);const n=(e,t,i)=>{if(r(e)===false){throw new TypeError("toRegexRange: expected the first argument to be a number")}if(t===void 0||e===t){return String(e)}if(r(t)===false){throw new TypeError("toRegexRange: expected the second argument to be a number.")}let s={relaxZeros:true,...i};if(typeof s.strictZeros==="boolean"){s.relaxZeros=s.strictZeros===false}let a=String(s.relaxZeros);let o=String(s.shorthand);let u=String(s.capture);let c=String(s.wrap);let l=e+":"+t+"="+a+o+u+c;if(n.cache.hasOwnProperty(l)){return n.cache[l].result}let f=Math.min(e,t);let h=Math.max(e,t);if(Math.abs(f-h)===1){let i=e+"|"+t;if(s.capture){return`(${i})`}if(s.wrap===false){return i}return`(?:${i})`}let p=hasPadding(e)||hasPadding(t);let d={min:e,max:t,a:f,b:h};let v=[];let y=[];if(p){d.isPadded=p;d.maxLen=String(d.max).length}if(f<0){let e=h<0?Math.abs(h):1;y=splitToPatterns(e,Math.abs(f),d,s);f=d.a=0}if(h>=0){v=splitToPatterns(f,h,d,s)}d.negatives=y;d.positives=v;d.result=collatePatterns(y,v,s);if(s.capture===true){d.result=`(${d.result})`}else if(s.wrap!==false&&v.length+y.length>1){d.result=`(?:${d.result})`}n.cache[l]=d;return d.result};function collatePatterns(e,t,i){let r=filterPatterns(e,t,"-",false,i)||[];let n=filterPatterns(t,e,"",false,i)||[];let s=filterPatterns(e,t,"-?",true,i)||[];let a=r.concat(s).concat(n);return a.join("|")}function splitToRanges(e,t){let i=1;let r=1;let n=countNines(e,i);let s=new Set([t]);while(e<=n&&n<=t){s.add(n);i+=1;n=countNines(e,i)}n=countZeros(t+1,r)-1;while(e<n&&n<=t){s.add(n);r+=1;n=countZeros(t+1,r)-1}s=[...s];s.sort(compare);return s}function rangeToPattern(e,t,i){if(e===t){return{pattern:e,count:[],digits:0}}let r=zip(e,t);let n=r.length;let s="";let a=0;for(let e=0;e<n;e++){let[t,n]=r[e];if(t===n){s+=t}else if(t!=="0"||n!=="9"){s+=toCharacterClass(t,n,i)}else{a++}}if(a){s+=i.shorthand===true?"\\d":"[0-9]"}return{pattern:s,count:[a],digits:n}}function splitToPatterns(e,t,i,r){let n=splitToRanges(e,t);let s=[];let a=e;let o;for(let e=0;e<n.length;e++){let t=n[e];let u=rangeToPattern(String(a),String(t),r);let c="";if(!i.isPadded&&o&&o.pattern===u.pattern){if(o.count.length>1){o.count.pop()}o.count.push(u.count[0]);o.string=o.pattern+toQuantifier(o.count);a=t+1;continue}if(i.isPadded){c=padZeros(t,i,r)}u.string=c+u.pattern+toQuantifier(u.count);s.push(u);a=t+1;o=u}return s}function filterPatterns(e,t,i,r,n){let s=[];for(let n of e){let{string:e}=n;if(!r&&!contains(t,"string",e)){s.push(i+e)}if(r&&contains(t,"string",e)){s.push(i+e)}}return s}function zip(e,t){let i=[];for(let r=0;r<e.length;r++)i.push([e[r],t[r]]);return i}function compare(e,t){return e>t?1:t>e?-1:0}function contains(e,t,i){return e.some(e=>e[t]===i)}function countNines(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function countZeros(e,t){return e-e%Math.pow(10,t)}function toQuantifier(e){let[t=0,i=""]=e;if(i||t>1){return`{${t+(i?","+i:"")}}`}return""}function toCharacterClass(e,t,i){return`[${e}${t-e===1?"":"-"}${t}]`}function hasPadding(e){return/^-?(0+)\d/.test(e)}function padZeros(e,t,i){if(!t.isPadded){return e}let r=Math.abs(t.maxLen-String(e).length);let n=i.relaxZeros!==false;switch(r){case 0:return"";case 1:return n?"0?":"0";case 2:return n?"0{0,2}":"00";default:{return n?`0{0,${r}}`:`0{${r}}`}}}n.cache={};n.clearCache=(()=>n.cache={});e.exports=n},2752:e=>{"use strict";e.exports=function(e){if(typeof e==="number"){return e-e===0}if(typeof e==="string"&&e.trim()!==""){return Number.isFinite?Number.isFinite(+e):isFinite(+e)}return false}},2703:(e,t)=>{"use strict";t.E=function(e){return Object.defineProperty(function(){if(typeof arguments[arguments.length-1]==="function")e.apply(this,arguments);else{return new Promise((t,i)=>{arguments[arguments.length]=((e,r)=>{if(e)return i(e);t(r)});arguments.length++;e.apply(this,arguments)})}},"name",{value:e.name})};t.p=function(e){return Object.defineProperty(function(){const t=arguments[arguments.length-1];if(typeof t!=="function")return e.apply(this,arguments);else e.apply(this,arguments).then(e=>t(null,e),t)},"name",{value:e.name})}},9209:(e,t,i)=>{e.exports=i(1669).deprecate},2337:(e,t,i)=>{"use strict";const r=i(313);const n=i(6280);const s=i(264);const a=i(6248);const o=e=>{if(typeof e!=="object"||!e)return e;const t=Object.assign({},e);if(e.mappings){t.mappings=Buffer.from(e.mappings,"utf-8")}if(e.sourcesContent){t.sourcesContent=e.sourcesContent.map(e=>e&&Buffer.from(e,"utf-8"))}return t};const u=e=>{if(typeof e!=="object"||!e)return e;const t=Object.assign({},e);if(e.mappings){t.mappings=e.mappings.toString("utf-8")}if(e.sourcesContent){t.sourcesContent=e.sourcesContent.map(e=>e&&e.toString("utf-8"))}return t};class CachedSource extends r{constructor(e,t){super();this._source=e;this._cachedSourceType=t?t.source:undefined;this._cachedSource=undefined;this._cachedBuffer=t?t.buffer:undefined;this._cachedSize=t?t.size:undefined;this._cachedMaps=t?t.maps:new Map;this._cachedHashUpdate=t?t.hash:undefined}getCachedData(){const e=new Map;for(const t of this._cachedMaps){let i=t[1];if(i.bufferedMap===undefined){i.bufferedMap=o(this._getMapFromCacheEntry(i))}e.set(t[0],{map:undefined,bufferedMap:i.bufferedMap})}if(this._cachedSource){this.buffer()}return{buffer:this._cachedBuffer,source:this._cachedSourceType!==undefined?this._cachedSourceType:typeof this._cachedSource==="string"?true:Buffer.isBuffer(this._cachedSource)?false:undefined,size:this._cachedSize,maps:e,hash:this._cachedHashUpdate}}originalLazy(){return this._source}original(){if(typeof this._source==="function")this._source=this._source();return this._source}source(){const e=this._getCachedSource();if(e!==undefined)return e;return this._cachedSource=this.original().source()}_getMapFromCacheEntry(e){if(e.map!==undefined){return e.map}else if(e.bufferedMap!==undefined){return e.map=u(e.bufferedMap)}}_getCachedSource(){if(this._cachedSource!==undefined)return this._cachedSource;if(this._cachedBuffer&&this._cachedSourceType!==undefined){return this._cachedSource=this._cachedSourceType?this._cachedBuffer.toString("utf-8"):this._cachedBuffer}}buffer(){if(this._cachedBuffer!==undefined)return this._cachedBuffer;if(this._cachedSource!==undefined){if(Buffer.isBuffer(this._cachedSource)){return this._cachedBuffer=this._cachedSource}return this._cachedBuffer=Buffer.from(this._cachedSource,"utf-8")}if(typeof this.original().buffer==="function"){return this._cachedBuffer=this.original().buffer()}const e=this.source();if(Buffer.isBuffer(e)){return this._cachedBuffer=e}return this._cachedBuffer=Buffer.from(e,"utf-8")}size(){if(this._cachedSize!==undefined)return this._cachedSize;if(this._cachedBuffer!==undefined){return this._cachedSize=this._cachedBuffer.length}const e=this._getCachedSource();if(e!==undefined){return this._cachedSize=Buffer.byteLength(e)}return this._cachedSize=this.original().size()}sourceAndMap(e){const t=e?JSON.stringify(e):"{}";const i=this._cachedMaps.get(t);if(i!==undefined){const e=this._getMapFromCacheEntry(i);return{source:this.source(),map:e}}let r=this._getCachedSource();let n;if(r!==undefined){n=this.original().map(e)}else{const t=this.original().sourceAndMap(e);r=t.source;n=t.map;this._cachedSource=r}this._cachedMaps.set(t,{map:n,bufferedMap:undefined});return{source:r,map:n}}streamChunks(e,t,i,r){const o=e?JSON.stringify(e):"{}";if(this._cachedMaps.has(o)&&(this._cachedBuffer!==undefined||this._cachedSource!==undefined)){const{source:a,map:o}=this.sourceAndMap(e);if(o){return n(a,o,t,i,r,!!(e&&e.finalSource),true)}else{return s(a,t,i,r,!!(e&&e.finalSource))}}const{result:u,source:c,map:l}=a(this.original(),e,t,i,r);this._cachedSource=c;this._cachedMaps.set(o,{map:l,bufferedMap:undefined});return u}map(e){const t=e?JSON.stringify(e):"{}";const i=this._cachedMaps.get(t);if(i!==undefined){return this._getMapFromCacheEntry(i)}const r=this.original().map(e);this._cachedMaps.set(t,{map:r,bufferedMap:undefined});return r}updateHash(e){if(this._cachedHashUpdate!==undefined){for(const t of this._cachedHashUpdate)e.update(t);return}const t=[];let i=undefined;const r={update:e=>{if(typeof e==="string"&&e.length<10240){if(i===undefined){i=e}else{i+=e;if(i.length>102400){t.push(Buffer.from(i));i=undefined}}}else{if(i!==undefined){t.push(Buffer.from(i));i=undefined}t.push(e)}}};this.original().updateHash(r);if(i!==undefined){t.push(Buffer.from(i))}for(const i of t)e.update(i);this._cachedHashUpdate=t}}e.exports=CachedSource},4615:(e,t,i)=>{"use strict";const r=i(313);class CompatSource extends r{static from(e){return e instanceof r?e:new CompatSource(e)}constructor(e){super();this._sourceLike=e}source(){return this._sourceLike.source()}buffer(){if(typeof this._sourceLike.buffer==="function"){return this._sourceLike.buffer()}return super.buffer()}size(){if(typeof this._sourceLike.size==="function"){return this._sourceLike.size()}return super.size()}map(e){if(typeof this._sourceLike.map==="function"){return this._sourceLike.map(e)}return super.map(e)}sourceAndMap(e){if(typeof this._sourceLike.sourceAndMap==="function"){return this._sourceLike.sourceAndMap(e)}return super.sourceAndMap(e)}updateHash(e){if(typeof this._sourceLike.updateHash==="function"){return this._sourceLike.updateHash(e)}if(typeof this._sourceLike.map==="function"){throw new Error("A Source-like object with a 'map' method must also provide an 'updateHash' method")}e.update(this.buffer())}}e.exports=CompatSource},7634:(e,t,i)=>{"use strict";const r=i(313);const n=i(4798);const s=i(5065);const{getMap:a,getSourceAndMap:o}=i(9180);const u=new WeakSet;class ConcatSource extends r{constructor(){super();this._children=[];for(let e=0;e<arguments.length;e++){const t=arguments[e];if(t instanceof ConcatSource){for(const e of t._children){this._children.push(e)}}else{this._children.push(t)}}this._isOptimized=arguments.length===0}getChildren(){if(!this._isOptimized)this._optimize();return this._children}add(e){if(e instanceof ConcatSource){for(const t of e._children){this._children.push(t)}}else{this._children.push(e)}this._isOptimized=false}addAllSkipOptimizing(e){for(const t of e){this._children.push(t)}}buffer(){if(!this._isOptimized)this._optimize();const e=[];for(const t of this._children){if(typeof t.buffer==="function"){e.push(t.buffer())}else{const i=t.source();if(Buffer.isBuffer(i)){e.push(i)}else{e.push(Buffer.from(i,"utf-8"))}}}return Buffer.concat(e)}source(){if(!this._isOptimized)this._optimize();let e="";for(const t of this._children){e+=t.source()}return e}size(){if(!this._isOptimized)this._optimize();let e=0;for(const t of this._children){e+=t.size()}return e}map(e){return a(this,e)}sourceAndMap(e){return o(this,e)}streamChunks(e,t,i,r){if(!this._isOptimized)this._optimize();if(this._children.length===1)return this._children[0].streamChunks(e,t,i,r);let n=0;let a=0;let o=new Map;let u=new Map;const c=!!(e&&e.finalSource);let l="";let f=false;for(const h of this._children){const p=[];const d=[];let v=0;const{generatedLine:y,generatedColumn:g,source:b}=s(h,e,(e,i,r,s,o,u,h)=>{const y=i+n;const g=i===1?r+a:r;if(f){if(i!==1||r!==0){t(undefined,n+1,a,-1,-1,-1,-1)}f=false}const b=s<0||s>=p.length?-1:p[s];const m=h<0||h>=d.length?-1:d[h];v=b<0?0:i;if(c){if(e!==undefined)l+=e;if(b>=0){t(undefined,y,g,b,o,u,m)}}else{if(b<0){t(e,y,g,-1,-1,-1,-1)}else{t(e,y,g,b,o,u,m)}}},(e,t,r)=>{let n=o.get(t);if(n===undefined){o.set(t,n=o.size);i(n,t,r)}p[e]=n},(e,t)=>{let i=u.get(t);if(i===undefined){u.set(t,i=u.size);r(i,t)}d[e]=i});if(b!==undefined)l+=b;if(f){if(y!==1||g!==0){t(undefined,n+1,a,-1,-1,-1,-1);f=false}}if(y>1){a=g}else{a+=g}f=f||c&&v===y;n+=y-1}return{generatedLine:n+1,generatedColumn:a,source:c?l:undefined}}updateHash(e){if(!this._isOptimized)this._optimize();e.update("ConcatSource");for(const t of this._children){t.updateHash(e)}}_optimize(){const e=[];let t=undefined;let i=undefined;const r=e=>{if(i===undefined){i=e}else if(Array.isArray(i)){i.push(e)}else{i=[typeof i==="string"?i:i.source(),e]}};const s=e=>{if(i===undefined){i=e}else if(Array.isArray(i)){i.push(e.source())}else{i=[typeof i==="string"?i:i.source(),e.source()]}};const a=()=>{if(Array.isArray(i)){const t=new n(i.join(""));u.add(t);e.push(t)}else if(typeof i==="string"){const t=new n(i);u.add(t);e.push(t)}else{e.push(i)}};for(const n of this._children){if(typeof n==="string"){if(t===undefined){t=n}else{t+=n}}else{if(t!==undefined){r(t);t=undefined}if(u.has(n)){s(n)}else{if(i!==undefined){a();i=undefined}e.push(n)}}}if(t!==undefined){r(t)}if(i!==undefined){a()}this._children=e;this._isOptimized=true}}e.exports=ConcatSource},1118:(e,t,i)=>{"use strict";const{getMap:r,getSourceAndMap:n}=i(9180);const s=i(3079);const a=i(1849);const o=i(313);const u=i(9884);class OriginalSource extends o{constructor(e,t){super();const i=Buffer.isBuffer(e);this._value=i?undefined:e;this._valueAsBuffer=i?e:undefined;this._name=t}getName(){return this._name}source(){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return this._value}buffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}return this._valueAsBuffer}map(e){return r(this,e)}sourceAndMap(e){return n(this,e)}streamChunks(e,t,i,r){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}i(0,this._name,this._value);const n=!!(e&&e.finalSource);if(!e||e.columns!==false){const e=u(this._value);let i=1;let r=0;if(e!==null){for(const s of e){const e=s.endsWith("\n");if(e&&s.length===1){if(!n)t(s,i,r,-1,-1,-1,-1)}else{const e=n?undefined:s;t(e,i,r,0,i,r,-1)}if(e){i++;r=0}else{r+=s.length}}}return{generatedLine:i,generatedColumn:r,source:n?this._value:undefined}}else if(n){const e=a(this._value);const{generatedLine:i,generatedColumn:r}=e;if(r===0){for(let e=1;e<i;e++)t(undefined,e,0,0,e,0,-1)}else{for(let e=1;e<=i;e++)t(undefined,e,0,0,e,0,-1)}return e}else{let e=1;const i=s(this._value);let r;for(r of i){t(n?undefined:r,e,0,0,e,0,-1);e++}return i.length===0||r.endsWith("\n")?{generatedLine:i.length+1,generatedColumn:0,source:n?this._value:undefined}:{generatedLine:i.length,generatedColumn:r.length,source:n?this._value:undefined}}}updateHash(e){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}e.update("OriginalSource");e.update(this._valueAsBuffer);e.update(this._name||"")}}e.exports=OriginalSource},6234:(e,t,i)=>{"use strict";const r=i(313);const n=i(4798);const s=i(5065);const{getMap:a,getSourceAndMap:o}=i(9180);const u=/\n(?=.|\s)/g;class PrefixSource extends r{constructor(e,t){super();this._source=typeof t==="string"||Buffer.isBuffer(t)?new n(t,true):t;this._prefix=e}getPrefix(){return this._prefix}original(){return this._source}source(){const e=this._source.source();const t=this._prefix;return t+e.replace(u,"\n"+t)}map(e){return a(this,e)}sourceAndMap(e){return o(this,e)}streamChunks(e,t,i,r){const n=this._prefix;const a=n.length;const o=!!(e&&e.columns===false);const{generatedLine:c,generatedColumn:l,source:f}=s(this._source,e,(e,i,r,s,u,c,l)=>{if(r!==0){r+=a}else if(e!==undefined){if(o||s<0){e=n+e}else if(a>0){t(n,i,r,-1,-1,-1,-1);r+=a}}else if(!o){r+=a}t(e,i,r,s,u,c,l)},i,r);return{generatedLine:c,generatedColumn:l===0?0:a+l,source:f!==undefined?n+f.replace(u,"\n"+n):undefined}}updateHash(e){e.update("PrefixSource");this._source.updateHash(e);e.update(this._prefix)}}e.exports=PrefixSource},4798:(e,t,i)=>{"use strict";const r=i(264);const n=i(313);class RawSource extends n{constructor(e,t=false){super();const i=Buffer.isBuffer(e);if(!i&&typeof e!=="string"){throw new TypeError("argument 'value' must be either string of Buffer")}this._valueIsBuffer=!t&&i;this._value=t&&i?undefined:e;this._valueAsBuffer=i?e:undefined;this._valueAsString=i?undefined:e}isBuffer(){return this._valueIsBuffer}source(){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return this._value}buffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}return this._valueAsBuffer}map(e){return null}streamChunks(e,t,i,n){if(this._value===undefined){this._value=Buffer.from(this._valueAsBuffer,"utf-8")}if(this._valueAsString===undefined){this._valueAsString=typeof this._value==="string"?this._value:this._value.toString("utf-8")}return r(this._valueAsString,t,i,n,!!(e&&e.finalSource))}updateHash(e){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}e.update("RawSource");e.update(this._valueAsBuffer)}}e.exports=RawSource},8395:(e,t,i)=>{"use strict";const{getMap:r,getSourceAndMap:n}=i(9180);const s=i(5065);const a=i(313);const o=i(3079);const u=typeof process==="object"&&process.versions&&typeof process.versions.v8==="string"&&!/^[0-6]\./.test(process.versions.v8);const c=536870912;class Replacement{constructor(e,t,i,r){this.start=e;this.end=t;this.content=i;this.name=r;if(!u){this.index=-1}}}class ReplaceSource extends a{constructor(e,t){super();this._source=e;this._name=t;this._replacements=[];this._isSorted=true}getName(){return this._name}getReplacements(){this._sortReplacements();return this._replacements}replace(e,t,i,r){if(typeof i!=="string")throw new Error("insertion must be a string, but is a "+typeof i);this._replacements.push(new Replacement(e,t,i,r));this._isSorted=false}insert(e,t,i){if(typeof t!=="string")throw new Error("insertion must be a string, but is a "+typeof t+": "+t);this._replacements.push(new Replacement(e,e-1,t,i));this._isSorted=false}source(){if(this._replacements.length===0){return this._source.source()}let e=this._source.source();let t=0;const i=[];this._sortReplacements();for(const r of this._replacements){const n=Math.floor(r.start);const s=Math.floor(r.end+1);if(t<n){const r=n-t;i.push(e.slice(0,r));e=e.slice(r);t=n}i.push(r.content);if(t<s){const i=s-t;e=e.slice(i);t=s}}i.push(e);return i.join("")}map(e){if(this._replacements.length===0){return this._source.map(e)}return r(this,e)}sourceAndMap(e){if(this._replacements.length===0){return this._source.sourceAndMap(e)}return n(this,e)}original(){return this._source}_sortReplacements(){if(this._isSorted)return;if(u){this._replacements.sort(function(e,t){const i=e.start-t.start;if(i!==0)return i;const r=e.end-t.end;if(r!==0)return r;return 0})}else{this._replacements.forEach((e,t)=>e.index=t);this._replacements.sort(function(e,t){const i=e.start-t.start;if(i!==0)return i;const r=e.end-t.end;if(r!==0)return r;return e.index-t.index})}this._isSorted=true}streamChunks(e,t,i,r){this._sortReplacements();const n=this._replacements;let a=0;let u=0;let l=-1;let f=u<n.length?Math.floor(n[u].start):c;let h=0;let p=0;let d=0;const v=[];const y=new Map;const g=[];const b=(e,t,i,r)=>{let n=e<v.length?v[e]:undefined;if(n===undefined)return false;if(typeof n==="string"){n=o(n);v[e]=n}const s=t<=n.length?n[t-1]:null;if(s===null)return false;return s.slice(i,i+r.length)===r};let{generatedLine:m,generatedColumn:_}=s(this._source,Object.assign({},e,{finalSource:false}),(e,i,s,v,m,_,w)=>{let E=0;let S=a+e.length;if(l>a){if(l>=S){const t=i+h;if(e.endsWith("\n")){h--;if(d===t){p+=s}}else if(d===t){p-=e.length}else{p=-e.length;d=t}a=S;return}E=l-a;if(b(v,m,_,e.slice(0,E))){_+=E}a+=E;const t=i+h;if(d===t){p-=E}else{p=-E;d=t}s+=E}if(f<S){do{let x=i+h;if(f>a){const i=f-a;const r=e.slice(E,E+i);t(r,x,s+(x===d?p:0),v,m,_,w<0||w>=g.length?-1:g[w]);s+=i;E+=i;a=f;if(b(v,m,_,r)){_+=r.length}}const{content:R,name:A}=n[u];let k=o(R);let T=w;if(v>=0&&A){let e=y.get(A);if(e===undefined){e=y.size;y.set(A,e);r(e,A)}T=e}for(let e=0;e<k.length;e++){const i=k[e];t(i,x,s+(x===d?p:0),v,m,_,T);T=-1;if(e===k.length-1&&!i.endsWith("\n")){if(d===x){p+=i.length}else{p=i.length;d=x}}else{h++;x++;p=-s;d=x}}l=Math.max(l,Math.floor(n[u].end+1));u++;f=u<n.length?Math.floor(n[u].start):c;const C=e.length-S+l-E;if(C>0){if(l>=S){let t=i+h;if(e.endsWith("\n")){h--;if(d===t){p+=s}}else if(d===t){p-=e.length-E}else{p=E-e.length;d=t}a=S;return}const t=i+h;if(b(v,m,_,e.slice(E,E+C))){_+=C}E+=C;a+=C;if(d===t){p-=C}else{p=-C;d=t}s+=C}}while(f<S)}if(E<e.length){const r=E===0?e:e.slice(E);const n=i+h;t(r,n,s+(n===d?p:0),v,m,_,w<0?-1:g[w])}a=S},(e,t,r)=>{while(v.length<e)v.push(undefined);v[e]=r;i(e,t,r)},(e,t)=>{let i=y.get(t);if(i===undefined){i=y.size;y.set(t,i);r(i,t)}g[e]=i});let w="";for(;u<n.length;u++){w+=n[u].content}let E=m+h;let S=o(w);for(let e=0;e<S.length;e++){const i=S[e];t(i,E,_+(E===d?p:0),-1,-1,-1,-1);if(e===S.length-1&&!i.endsWith("\n")){if(d===E){p+=i.length}else{p=i.length;d=E}}else{h++;E++;p=-_;d=E}}return{generatedLine:E,generatedColumn:_+(E===d?p:0)}}updateHash(e){this._sortReplacements();e.update("ReplaceSource");this._source.updateHash(e);e.update(this._name||"");for(const t of this._replacements){e.update(`${t.start}${t.end}${t.content}${t.name}`)}}}e.exports=ReplaceSource},928:(e,t,i)=>{"use strict";const r=i(313);class SizeOnlySource extends r{constructor(e){super();this._size=e}_error(){return new Error("Content and Map of this Source is not available (only size() is supported)")}size(){return this._size}source(){throw this._error()}buffer(){throw this._error()}map(e){throw this._error()}updateHash(){throw this._error()}}e.exports=SizeOnlySource},313:e=>{"use strict";class Source{source(){throw new Error("Abstract")}buffer(){const e=this.source();if(Buffer.isBuffer(e))return e;return Buffer.from(e,"utf-8")}size(){return this.buffer().length}map(e){return null}sourceAndMap(e){return{source:this.source(),map:this.map(e)}}updateHash(e){throw new Error("Abstract")}}e.exports=Source},1221:(e,t,i)=>{"use strict";const r=i(313);const n=i(6280);const s=i(1047);const{getMap:a,getSourceAndMap:o}=i(9180);class SourceMapSource extends r{constructor(e,t,i,r,n,s){super();const a=Buffer.isBuffer(e);this._valueAsString=a?undefined:e;this._valueAsBuffer=a?e:undefined;this._name=t;this._hasSourceMap=!!i;const o=Buffer.isBuffer(i);const u=typeof i==="string";this._sourceMapAsObject=o||u?undefined:i;this._sourceMapAsString=u?i:undefined;this._sourceMapAsBuffer=o?i:undefined;this._hasOriginalSource=!!r;const c=Buffer.isBuffer(r);this._originalSourceAsString=c?undefined:r;this._originalSourceAsBuffer=c?r:undefined;this._hasInnerSourceMap=!!n;const l=Buffer.isBuffer(n);const f=typeof n==="string";this._innerSourceMapAsObject=l||f?undefined:n;this._innerSourceMapAsString=f?n:undefined;this._innerSourceMapAsBuffer=l?n:undefined;this._removeOriginalSource=s}_ensureValueBuffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._valueAsString,"utf-8")}}_ensureValueString(){if(this._valueAsString===undefined){this._valueAsString=this._valueAsBuffer.toString("utf-8")}}_ensureOriginalSourceBuffer(){if(this._originalSourceAsBuffer===undefined&&this._hasOriginalSource){this._originalSourceAsBuffer=Buffer.from(this._originalSourceAsString,"utf-8")}}_ensureOriginalSourceString(){if(this._originalSourceAsString===undefined&&this._hasOriginalSource){this._originalSourceAsString=this._originalSourceAsBuffer.toString("utf-8")}}_ensureInnerSourceMapObject(){if(this._innerSourceMapAsObject===undefined&&this._hasInnerSourceMap){this._ensureInnerSourceMapString();this._innerSourceMapAsObject=JSON.parse(this._innerSourceMapAsString)}}_ensureInnerSourceMapBuffer(){if(this._innerSourceMapAsBuffer===undefined&&this._hasInnerSourceMap){this._ensureInnerSourceMapString();this._innerSourceMapAsBuffer=Buffer.from(this._innerSourceMapAsString,"utf-8")}}_ensureInnerSourceMapString(){if(this._innerSourceMapAsString===undefined&&this._hasInnerSourceMap){if(this._innerSourceMapAsBuffer!==undefined){this._innerSourceMapAsString=this._innerSourceMapAsBuffer.toString("utf-8")}else{this._innerSourceMapAsString=JSON.stringify(this._innerSourceMapAsObject)}}}_ensureSourceMapObject(){if(this._sourceMapAsObject===undefined){this._ensureSourceMapString();this._sourceMapAsObject=JSON.parse(this._sourceMapAsString)}}_ensureSourceMapBuffer(){if(this._sourceMapAsBuffer===undefined){this._ensureSourceMapString();this._sourceMapAsBuffer=Buffer.from(this._sourceMapAsString,"utf-8")}}_ensureSourceMapString(){if(this._sourceMapAsString===undefined){if(this._sourceMapAsBuffer!==undefined){this._sourceMapAsString=this._sourceMapAsBuffer.toString("utf-8")}else{this._sourceMapAsString=JSON.stringify(this._sourceMapAsObject)}}}getArgsAsBuffers(){this._ensureValueBuffer();this._ensureSourceMapBuffer();this._ensureOriginalSourceBuffer();this._ensureInnerSourceMapBuffer();return[this._valueAsBuffer,this._name,this._sourceMapAsBuffer,this._originalSourceAsBuffer,this._innerSourceMapAsBuffer,this._removeOriginalSource]}buffer(){this._ensureValueBuffer();return this._valueAsBuffer}source(){this._ensureValueString();return this._valueAsString}map(e){if(!this._hasInnerSourceMap){this._ensureSourceMapObject();return this._sourceMapAsObject}return a(this,e)}sourceAndMap(e){if(!this._hasInnerSourceMap){this._ensureValueString();this._ensureSourceMapObject();return{source:this._valueAsString,map:this._sourceMapAsObject}}return o(this,e)}streamChunks(e,t,i,r){this._ensureValueString();this._ensureSourceMapObject();this._ensureOriginalSourceString();if(this._hasInnerSourceMap){this._ensureInnerSourceMapObject();return s(this._valueAsString,this._sourceMapAsObject,this._name,this._originalSourceAsString,this._innerSourceMapAsObject,this._removeOriginalSource,t,i,r,!!(e&&e.finalSource),!!(e&&e.columns!==false))}else{return n(this._valueAsString,this._sourceMapAsObject,t,i,r,!!(e&&e.finalSource),!!(e&&e.columns!==false))}}updateHash(e){this._ensureValueBuffer();this._ensureSourceMapBuffer();this._ensureOriginalSourceBuffer();this._ensureInnerSourceMapBuffer();e.update("SourceMapSource");e.update(this._valueAsBuffer);e.update(this._sourceMapAsBuffer);if(this._hasOriginalSource){e.update(this._originalSourceAsBuffer)}if(this._hasInnerSourceMap){e.update(this._innerSourceMapAsBuffer)}e.update(this._removeOriginalSource?"true":"false")}}e.exports=SourceMapSource},2894:e=>{"use strict";const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");const i=32;const r=e=>{const t=e&&e.columns===false;return t?s():n()};const n=()=>{let e=1;let r=0;let n=0;let s=1;let a=0;let o=0;let u=false;let c=false;let l=true;return(f,h,p,d,v,y)=>{if(u&&e===f){if(p===n&&d===s&&v===a&&!c&&y<0){return""}}else{if(p<0){return""}}let g;if(e<f){g=";".repeat(f-e);e=f;r=0;l=false}else if(l){g="";l=false}else{g=","}const b=e=>{const r=e>>>31&1;const n=e>>31;const s=e+n^n;let a=s<<1|r;for(;;){const e=a&31;a>>=5;if(a===0){g+=t[e];break}else{g+=t[e|i]}}};b(h-r);r=h;if(p>=0){u=true;if(p===n){g+="A"}else{b(p-n);n=p}b(d-s);s=d;if(v===a){g+="A"}else{b(v-a);a=v}if(y>=0){b(y-o);o=y;c=true}else{c=false}}else{u=false}return g}};const s=()=>{let e=0;let r=1;let n=0;let s=1;return(a,o,u,c,l,f)=>{if(u<0){return""}if(e===a){return""}let h;const p=e=>{const r=e>>>31&1;const n=e>>31;const s=e+n^n;let a=s<<1|r;for(;;){const e=a&31;a>>=5;if(a===0){h+=t[e];break}else{h+=t[e|i]}}};e=a;if(a===r+1){r=a;if(u===n){n=u;if(c===s+1){s=c;return";AACA"}else{h=";AA";p(c-s);s=c;return h+"A"}}else{h=";A";p(u-n);n=u;p(c-s);s=c;return h+"A"}}else{h=";".repeat(a-r);r=a;if(u===n){n=u;if(c===s+1){s=c;return h+"AACA"}else{h+="AA";p(c-s);s=c;return h+"A"}}else{h+="A";p(u-n);n=u;p(c-s);s=c;return h+"A"}}}};e.exports=r},9180:(e,t,i)=>{"use strict";const r=i(2894);t.getSourceAndMap=((e,t)=>{let i="";let n="";let s=[];let a=[];let o=[];const u=r(t);const{source:c}=e.streamChunks(Object.assign({},t,{finalSource:true}),(e,t,r,s,a,o,c)=>{if(e!==undefined)i+=e;n+=u(t,r,s,a,o,c)},(e,t,i)=>{while(s.length<e){s.push(null)}s[e]=t;if(i!==undefined){while(a.length<e){a.push(null)}a[e]=i}},(e,t)=>{while(o.length<e){o.push(null)}o[e]=t});return{source:c!==undefined?c:i,map:n.length>0?{version:3,file:"x",mappings:n,sources:s,sourcesContent:a.length>0?a:undefined,names:o}:null}});t.getMap=((e,t)=>{let i="";let n=[];let s=[];let a=[];const o=r(t);e.streamChunks(Object.assign({},t,{source:false,finalSource:true}),(e,t,r,n,s,a,u)=>{i+=o(t,r,n,s,a,u)},(e,t,i)=>{while(n.length<e){n.push(null)}n[e]=t;if(i!==undefined){while(s.length<e){s.push(null)}s[e]=i}},(e,t)=>{while(a.length<e){a.push(null)}a[e]=t});return i.length>0?{version:3,file:"x",mappings:i,sources:n,sourcesContent:s.length>0?s:undefined,names:a}:null})},1849:e=>{"use strict";const t="\n".charCodeAt(0);const i=e=>{if(e===undefined){return{}}const i=e.lastIndexOf("\n");if(i===-1){return{generatedLine:1,generatedColumn:e.length,source:e}}let r=2;for(let n=0;n<i;n++){if(e.charCodeAt(n)===t)r++}return{generatedLine:r,generatedColumn:e.length-i-1,source:e}};e.exports=i},177:e=>{"use strict";const t=(e,t)=>{if(t<0)return null;const{sourceRoot:i,sources:r}=e;const n=r[t];if(!i)return n;if(i.endsWith("/"))return i+n;return i+"/"+n};e.exports=t},7213:e=>{"use strict";const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";const i=32;const r=64;const n=r|1;const s=r|2;const a=31;const o=new Uint8Array("z".charCodeAt(0)+1);{o.fill(s);for(let e=0;e<t.length;e++){o[t.charCodeAt(e)]=e}o[",".charCodeAt(0)]=r;o[";".charCodeAt(0)]=n}const u=o.length-1;const c=(e,t)=>{const s=new Uint32Array([0,0,1,0,0]);let c=0;let l=0;let f=0;let h=1;let p=-1;for(let d=0;d<e.length;d++){const v=e.charCodeAt(d);if(v>u)continue;const y=o[v];if((y&r)!==0){if(s[0]>p){if(c===1){t(h,s[0],-1,-1,-1,-1)}else if(c===4){t(h,s[0],s[1],s[2],s[3],-1)}else if(c===5){t(h,s[0],s[1],s[2],s[3],s[4])}p=s[0]}c=0;if(y===n){h++;s[0]=0;p=-1}}else if((y&i)===0){l|=y<<f;const e=l&1?-(l>>1):l>>1;s[c++]+=e;f=0;l=0}else{l|=(y&a)<<f;f+=5}}if(c===1){t(h,s[0],-1,-1,-1,-1)}else if(c===4){t(h,s[0],s[1],s[2],s[3],-1)}else if(c===5){t(h,s[0],s[1],s[2],s[3],s[4])}};e.exports=c},3079:e=>{const t=e=>{const t=[];const i=e.length;let r=0;for(;r<i;){const n=e.charCodeAt(r);if(n===10){t.push("\n");r++}else{let n=r+1;while(n<i&&e.charCodeAt(n)!==10)n++;t.push(e.slice(r,n+1));r=n+1}}return t};e.exports=t},9884:e=>{const t=e=>{const t=e.length;if(t===0)return null;const i=[];let r=0;for(;r<t;){const n=r;e:{let i=e.charCodeAt(r);while(i!==10&&i!==59&&i!==123&&i!==125){if(++r>=t)break e;i=e.charCodeAt(r)}while(i===59||i===32||i===123||i===125||i===13||i===9){if(++r>=t)break e;i=e.charCodeAt(r)}if(i===10){r++}}i.push(e.slice(n,r))}return i};e.exports=t},6248:(e,t,i)=>{"use strict";const r=i(2894);const n=i(5065);const s=(e,t,i,s,a)=>{let o="";let u="";let c=[];let l=[];let f=[];const h=r(Object.assign({},t,{columns:true}));const p=!!(t&&t.finalSource);const{generatedLine:d,generatedColumn:v,source:y}=n(e,t,(e,t,r,n,s,a,c)=>{if(e!==undefined)o+=e;u+=h(t,r,n,s,a,c);return i(p?undefined:e,t,r,n,s,a,c)},(e,t,i)=>{while(c.length<e){c.push(null)}c[e]=t;if(i!==undefined){while(l.length<e){l.push(null)}l[e]=i}return s(e,t,i)},(e,t)=>{while(f.length<e){f.push(null)}f[e]=t;return a(e,t)});const g=y!==undefined?y:o;return{result:{generatedLine:d,generatedColumn:v,source:p?g:undefined},source:g,map:u.length>0?{version:3,file:"x",mappings:u,sources:c,sourcesContent:l.length>0?l:undefined,names:f}:null}};e.exports=s},5065:(e,t,i)=>{"use strict";const r=i(264);const n=i(6280);e.exports=((e,t,i,s,a)=>{if(typeof e.streamChunks==="function"){return e.streamChunks(t,i,s,a)}else{const o=e.sourceAndMap(t);if(o.map){return n(o.source,o.map,i,s,a,!!(t&&t.finalSource),!!(t&&t.columns!==false))}else{return r(o.source,i,s,a,!!(t&&t.finalSource))}}})},1047:(e,t,i)=>{"use strict";const r=i(6280);const n=i(3079);const s=(e,t,i,s,a,o,u,c,l,f,h)=>{let p=new Map;let d=new Map;const v=[];const y=[];const g=[];let b=-2;const m=[];const _=[];const w=[];const E=[];const S=[];const x=[];const R=[];const A=(e,t)=>{if(e>R.length)return-1;const{mappingsData:i}=R[e-1];let r=0;let n=i.length/5;while(r<n){let e=r+n>>1;if(i[e*5]<=t){r=e+1}else{n=e}}if(r===0)return-1;return r-1};return r(e,t,(t,r,a,f,h,k,T)=>{if(f===b){const b=A(h,k);if(b!==-1){const{chunks:e,mappingsData:i}=R[h-1];const s=b*5;const o=i[s+1];const f=i[s+2];let v=i[s+3];let A=i[s+4];if(o>=0){const h=e[b];const R=i[s];const C=k-R;if(C>0){let e=o<E.length?E[o]:null;if(e===undefined){const t=w[o];e=t?n(t):null;E[o]=e}if(e!==null){const t=f<=e.length?e[f-1].slice(v,v+C):"";if(h.slice(0,C)===t){v+=C;A=-1}}}let O=o<m.length?m[o]:-2;if(O===-2){const[e,t]=o<_.length?_[o]:[null,undefined];let i=p.get(e);if(i===undefined){p.set(e,i=p.size);c(i,e,t)}O=i;m[o]=O}let N=-1;if(A>=0){N=A<S.length?S[A]:-2;if(N===-2){const e=A<x.length?x[A]:undefined;if(e){let t=d.get(e);if(t===undefined){d.set(e,t=d.size);l(t,e)}N=t}else{N=-1}S[A]=N}}else if(T>=0){let e=E[o];if(e===undefined){const t=w[o];e=t?n(t):null;E[o]=e}if(e!==null){const t=g[T];const i=f<=e.length?e[f-1].slice(v,v+t.length):"";if(t===i){N=T<y.length?y[T]:-2;if(N===-2){const e=g[T];if(e){let t=d.get(e);if(t===undefined){d.set(e,t=d.size);l(t,e)}N=t}else{N=-1}y[T]=N}}}}u(t,r,a,O,f,v,N);return}}if(o){u(t,r,a,-1,-1,-1,-1);return}else{if(v[f]===-2){let t=p.get(i);if(t===undefined){p.set(e,t=p.size);c(t,i,s)}v[f]=t}}}const C=f<0||f>=v.length?-1:v[f];if(C<0){u(t,r,a,-1,-1,-1,-1)}else{let e=-1;if(T>=0&&T<y.length){e=y[T];if(e===-2){const t=g[T];let i=d.get(t);if(i===undefined){d.set(t,i=d.size);l(i,t)}e=i;y[T]=e}}u(t,r,a,C,h,k,e)}},(e,t,n)=>{if(t===i){b=e;if(s!==undefined)n=s;else s=n;v[e]=-2;r(n,a,(e,t,i,r,n,s,a)=>{while(R.length<t){R.push({mappingsData:[],chunks:[]})}const o=R[t-1];o.mappingsData.push(i,r,n,s,a);o.chunks.push(e)},(e,t,i)=>{w[e]=i;E[e]=undefined;m[e]=-2;_[e]=[t,i]},(e,t)=>{S[e]=-2;x[e]=t},false,h)}else{let i=p.get(t);if(i===undefined){p.set(t,i=p.size);c(i,t,n)}v[e]=i}},(e,t)=>{y[e]=-2;g[e]=t},f,h)};e.exports=s},264:(e,t,i)=>{"use strict";const r=i(1849);const n=i(3079);const s=(e,t,i,r)=>{let s=1;const a=n(e);let o;for(o of a){t(o,s,0,-1,-1,-1,-1);s++}return a.length===0||o.endsWith("\n")?{generatedLine:a.length+1,generatedColumn:0}:{generatedLine:a.length,generatedColumn:o.length}};e.exports=((e,t,i,n,a)=>{return a?r(e):s(e,t,i,n)})},6280:(e,t,i)=>{"use strict";const r=i(1849);const n=i(177);const s=i(7213);const a=i(3079);const o=(e,t,i,r,o)=>{const u=a(e);if(u.length===0){return{generatedLine:1,generatedColumn:0}}const{sources:c,sourcesContent:l,names:f,mappings:h}=t;for(let e=0;e<c.length;e++){r(e,n(t,e),l&&l[e]||undefined)}if(f){for(let e=0;e<f.length;e++){o(e,f[e])}}const p=u[u.length-1];const d=p.endsWith("\n");const v=d?u.length+1:u.length;const y=d?0:p.length;let g=1;let b=0;let m=false;let _=-1;let w=-1;let E=-1;let S=-1;const x=(e,t,r,n,s,a)=>{if(m&&g<=u.length){let r;const n=g;const s=b;const a=u[g-1];if(e!==g){r=a.slice(b);g++;b=0}else{r=a.slice(b,t);b=t}if(r){i(r,n,s,_,w,E,S)}m=false}if(e>g&&b>0){if(g<=u.length){const e=u[g-1].slice(b);i(e,g,b,-1,-1,-1,-1)}g++;b=0}while(e>g){if(g<=u.length){i(u[g-1],g,0,-1,-1,-1,-1)}g++}if(t>b){if(g<=u.length){const e=u[g-1].slice(b,t);i(e,g,b,-1,-1,-1,-1)}b=t}if(r>=0&&(e<v||e===v&&t<y)){m=true;_=r;w=n;E=s;S=a}};s(h,x);x(v,y,-1,-1,-1,-1);return{generatedLine:v,generatedColumn:y}};const u=(e,t,i,r,o)=>{const u=a(e);if(u.length===0){return{generatedLine:1,generatedColumn:0}}const{sources:c,sourcesContent:l,mappings:f}=t;for(let e=0;e<c.length;e++){r(e,n(t,e),l&&l[e]||undefined)}let h=1;const p=(e,t,r,n,s,a)=>{if(r<0||e<h||e>u.length){return}while(e>h){if(h<=u.length){i(u[h-1],h,0,-1,-1,-1,-1)}h++}if(e<=u.length){i(u[e-1],e,0,r,n,s,-1);h++}};s(f,p);for(;h<=u.length;h++){i(u[h-1],h,0,-1,-1,-1,-1)}const d=u[u.length-1];const v=d.endsWith("\n");const y=v?u.length+1:u.length;const g=v?0:d.length;return{generatedLine:y,generatedColumn:g}};const c=(e,t,i,a,o)=>{const u=r(e);const{generatedLine:c,generatedColumn:l}=u;if(c===1&&l===0)return u;const{sources:f,sourcesContent:h,names:p,mappings:d}=t;for(let e=0;e<f.length;e++){a(e,n(t,e),h&&h[e]||undefined)}if(p){for(let e=0;e<p.length;e++){o(e,p[e])}}let v=0;const y=(e,t,r,n,s,a)=>{if(e>=c&&(t>=l||e>c)){return}if(r>=0){i(undefined,e,t,r,n,s,a);v=e}else if(v===e){i(undefined,e,t,-1,-1,-1,-1);v=0}};s(d,y);return u};const l=(e,t,i,a,o)=>{const u=r(e);const{generatedLine:c,generatedColumn:l}=u;if(c===1&&l===0){return{generatedLine:1,generatedColumn:0}}const{sources:f,sourcesContent:h,mappings:p}=t;for(let e=0;e<f.length;e++){a(e,n(t,e),h&&h[e]||undefined)}const d=l===0?c-1:c;let v=1;const y=(e,t,r,n,s,a)=>{if(r>=0&&v<=e&&e<=d){i(undefined,e,0,r,n,s,-1);v=e+1}};s(p,y);return u};e.exports=((e,t,i,r,n,s,a)=>{if(a){return s?c(e,t,i,r,n):o(e,t,i,r,n)}else{return s?l(e,t,i,r,n):u(e,t,i,r,n)}})},932:(e,t,i)=>{const r=(e,i)=>{let r;Object.defineProperty(t,e,{get:()=>{if(i!==undefined){r=i();i=undefined}return r},configurable:true})};r("Source",()=>i(313));r("RawSource",()=>i(4798));r("OriginalSource",()=>i(1118));r("SourceMapSource",()=>i(1221));r("CachedSource",()=>i(2337));r("ConcatSource",()=>i(7634));r("ReplaceSource",()=>i(8395));r("PrefixSource",()=>i(6234));r("SizeOnlySource",()=>i(928));r("CompatSource",()=>i(4615))},7568:(e,t,i)=>{"use strict";var r=i(1871);t.center=alignCenter;t.left=alignLeft;t.right=alignRight;function createPadding(e){var t="";var i=" ";var r=e;do{if(r%2){t+=i}r=Math.floor(r/2);i+=i}while(r);return t}function alignLeft(e,t){var i=e.trimRight();if(i.length===0&&e.length>=t)return e;var n="";var s=r(i);if(s<t){n=createPadding(t-s)}return i+n}function alignRight(e,t){var i=e.trimLeft();if(i.length===0&&e.length>=t)return e;var n="";var s=r(i);if(s<t){n=createPadding(t-s)}return n+i}function alignCenter(e,t){var i=e.trim();if(i.length===0&&e.length>=t)return e;var n="";var s="";var a=r(i);if(a<t){var o=parseInt((t-a)/2,10);n=createPadding(o);s=createPadding(t-(a+o))}return n+i+s}},4586:e=>{e.exports=wrappy;function wrappy(e,t){if(e&&t)return wrappy(e)(t);if(typeof e!=="function")throw new TypeError("need wrapper function");Object.keys(e).forEach(function(t){wrapper[t]=e[t]});return wrapper;function wrapper(){var t=new Array(arguments.length);for(var i=0;i<t.length;i++){t[i]=arguments[i]}var r=e.apply(this,t);var n=t[t.length-1];if(typeof r==="function"&&r!==n){Object.keys(n).forEach(function(e){r[e]=n[e]})}return r}}},8250:e=>{e.exports='var d=Object.defineProperty;var m=e=>d(e,"__esModule",{value:!0});var y=(e,r)=>{m(e);for(var t in r)d(e,t,{get:r[t],enumerable:!0})};y(exports,{default:()=>x});function h(e){let r={};return e&&e.forEach((t,i)=>{r[i]=t,i.toLowerCase()==="set-cookie"&&(r[i]=C(t))}),r}function C(e){let r=[],t=0,i,a,p,n,s;function c(){for(;t<e.length&&/\\s/.test(e.charAt(t));)t+=1;return t<e.length}function o(){return a=e.charAt(t),a!=="="&&a!==";"&&a!==","}for(;t<e.length;){for(i=t,s=!1;c();)if(a=e.charAt(t),a===","){for(p=t,t+=1,c(),n=t;t<e.length&&o();)t+=1;t<e.length&&e.charAt(t)==="="?(s=!0,t=n,r.push(e.substring(i,p)),i=t):t=p+1}else t+=1;(!s||t>=e.length)&&r.push(e.substring(i,e.length))}return r}function x(e){let r=e.staticRoutes.map(i=>({regexp:new RegExp(i.namedRegex),page:i.page})),t=e.dynamicRoutes?.map(i=>({regexp:new RegExp(i.namedRegex),page:i.page}))||[];return async function(a,p){let n=new URL(a.url).pathname,s={};if(e.nextConfig?.basePath&&n.startsWith(e.nextConfig.basePath)&&(n=n.replace(e.nextConfig.basePath,"")||"/"),e.nextConfig?.i18n)for(let o of e.nextConfig.i18n.locales){let g=new RegExp(`^/${o}($|/)`,"i");if(n.match(g)){n=n.replace(g,"/")||"/";break}}for(let o of r)if(o.regexp.exec(n)){s.name=o.page;break}if(!s.name){let o=R(n);for(let g of t||[]){if(o&&!R(g.page))continue;let f=g.regexp.exec(n);if(f){s={name:g.page,params:f.groups};break}}}let c=await _ENTRIES[`middleware_${e.name}`].default.call({},{request:{url:a.url,method:a.method,headers:h(a.headers),ip:u(a.headers,l.Ip),geo:{city:u(a.headers,l.City,!0),country:u(a.headers,l.Country,!0),latitude:u(a.headers,l.Latitude),longitude:u(a.headers,l.Longitude),region:u(a.headers,l.Region,!0)},nextConfig:e.nextConfig,page:s,body:a.body}});return p.waitUntil(c.waitUntil),c.response}}function u(e,r,t=!1){let i=e.get(r)||void 0;return t&&i?decodeURIComponent(i):i}function R(e){return e==="/api"||e.startsWith("/api/")}var l;(function(n){n.City="x-vercel-ip-city",n.Country="x-vercel-ip-country",n.Ip="x-real-ip",n.Latitude="x-vercel-ip-latitude",n.Longitude="x-vercel-ip-longitude",n.Region="x-vercel-ip-country-region"})(l||(l={}));\n'},7916:function(e,t,i){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const n=r(i(8614));function arrayMove(e,t,i,r,n){for(let s=0;s<n;++s){i[s+r]=e[s+t];e[s+t]=void 0}}function pow2AtLeast(e){e=e>>>0;e=e-1;e=e|e>>1;e=e|e>>2;e=e|e>>4;e=e|e>>8;e=e|e>>16;return e+1}function getCapacity(e){return pow2AtLeast(Math.min(Math.max(16,e),1073741824))}class Deque{constructor(e){this._capacity=getCapacity(e);this._length=0;this._front=0;this.arr=[]}push(e){const t=this._length;this.checkCapacity(t+1);const i=this._front+t&this._capacity-1;this.arr[i]=e;this._length=t+1;return t+1}pop(){const e=this._length;if(e===0){return void 0}const t=this._front+e-1&this._capacity-1;const i=this.arr[t];this.arr[t]=void 0;this._length=e-1;return i}shift(){const e=this._length;if(e===0){return void 0}const t=this._front;const i=this.arr[t];this.arr[t]=void 0;this._front=t+1&this._capacity-1;this._length=e-1;return i}get length(){return this._length}checkCapacity(e){if(this._capacity<e){this.resizeTo(getCapacity(this._capacity*1.5+16))}}resizeTo(e){const t=this._capacity;this._capacity=e;const i=this._front;const r=this._length;if(i+r>t){const e=i+r&t-1;arrayMove(this.arr,0,this.arr,t,e)}}}class ReleaseEmitter extends n.default{}function isFn(e){return typeof e==="function"}function defaultInit(){return"1"}class Sema{constructor(e,{initFn:t=defaultInit,pauseFn:i,resumeFn:r,capacity:n=10}={}){if(isFn(i)!==isFn(r)){throw new Error("pauseFn and resumeFn must be both set for pausing")}this.nrTokens=e;this.free=new Deque(e);this.waiting=new Deque(n);this.releaseEmitter=new ReleaseEmitter;this.noTokens=t===defaultInit;this.pauseFn=i;this.resumeFn=r;this.paused=false;this.releaseEmitter.on("release",e=>{const t=this.waiting.shift();if(t){t.resolve(e)}else{if(this.resumeFn&&this.paused){this.paused=false;this.resumeFn()}this.free.push(e)}});for(let i=0;i<e;i++){this.free.push(t())}}async acquire(){let e=this.free.pop();if(e!==void 0){return e}return new Promise((e,t)=>{if(this.pauseFn&&!this.paused){this.paused=true;this.pauseFn()}this.waiting.push({resolve:e,reject:t})})}release(e){this.releaseEmitter.emit("release",this.noTokens?"1":e)}drain(){const e=new Array(this.nrTokens);for(let t=0;t<this.nrTokens;t++){e[t]=this.acquire()}return Promise.all(e)}nrWaiting(){return this.waiting.length}}t.Sema=Sema;function RateLimit(e,{timeUnit:t=1e3,uniformDistribution:i=false}={}){const r=new Sema(i?1:e);const n=i?t/e:t;return async function rl(){await r.acquire();setTimeout(()=>r.release(),n)}}t.RateLimit=RateLimit},8376:(e,t,i)=>{"use strict";var r=i(5747);var n=i(5622);var s=i(7852);Object.defineProperty(t,"commentRegex",{get:function getCommentRegex(){return/^\s*\/(?:\/|\*)[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/gm}});Object.defineProperty(t,"mapFileCommentRegex",{get:function getMapFileCommentRegex(){return/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"`]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^\*]+?)[ \t]*(?:\*\/){1}[ \t]*$)/gm}});function decodeBase64(e){return(s.Buffer.from(e,"base64")||"").toString()}function stripComment(e){return e.split(",").pop()}function readFromFileMap(e,i){var s=t.mapFileCommentRegex.exec(e);var a=s[1]||s[2];var o=n.resolve(i,a);try{return r.readFileSync(o,"utf8")}catch(e){throw new Error("An error occurred while trying to read the map file at "+o+"\n"+e)}}function Converter(e,t){t=t||{};if(t.isFileComment)e=readFromFileMap(e,t.commentFileDir);if(t.hasComment)e=stripComment(e);if(t.isEncoded)e=decodeBase64(e);if(t.isJSON||t.isEncoded)e=JSON.parse(e);this.sourcemap=e}Converter.prototype.toJSON=function(e){return JSON.stringify(this.sourcemap,null,e)};Converter.prototype.toBase64=function(){var e=this.toJSON();return(s.Buffer.from(e,"utf8")||"").toString("base64")};Converter.prototype.toComment=function(e){var t=this.toBase64();var i="sourceMappingURL=data:application/json;charset=utf-8;base64,"+t;return e&&e.multiline?"/*# "+i+" */":"//# "+i};Converter.prototype.toObject=function(){return JSON.parse(this.toJSON())};Converter.prototype.addProperty=function(e,t){if(this.sourcemap.hasOwnProperty(e))throw new Error('property "'+e+'" already exists on the sourcemap, use set property instead');return this.setProperty(e,t)};Converter.prototype.setProperty=function(e,t){this.sourcemap[e]=t;return this};Converter.prototype.getProperty=function(e){return this.sourcemap[e]};t.fromObject=function(e){return new Converter(e)};t.fromJSON=function(e){return new Converter(e,{isJSON:true})};t.fromBase64=function(e){return new Converter(e,{isEncoded:true})};t.fromComment=function(e){e=e.replace(/^\/\*/g,"//").replace(/\*\/$/g,"");return new Converter(e,{isEncoded:true,hasComment:true})};t.fromMapFileComment=function(e,t){return new Converter(e,{commentFileDir:t,isFileComment:true,isJSON:true})};t.fromSource=function(e){var i=e.match(t.commentRegex);return i?t.fromComment(i.pop()):null};t.fromMapFileSource=function(e,i){var r=e.match(t.mapFileCommentRegex);return r?t.fromMapFileComment(r.pop(),i):null};t.removeComments=function(e){return e.replace(t.commentRegex,"")};t.removeMapFileComments=function(e){return e.replace(t.mapFileCommentRegex,"")};t.generateMapFileComment=function(e,t){var i="sourceMappingURL="+e;return t&&t.multiline?"/*# "+i+" */":"//# "+i}},1426:e=>{"use strict";const t=/[|\\{}()[\]^$+*?.-]/g;e.exports=(e=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}return e.replace(t,"\\$&")})},4994:(e,t,i)=>{"use strict";const r=i(552);const n=i(5622);const s=i(9181).mkdirsSync;const a=i(8605).utimesMillisSync;const o=Symbol("notExist");function copySync(e,t,i){if(typeof i==="function"){i={filter:i}}i=i||{};i.clobber="clobber"in i?!!i.clobber:true;i.overwrite="overwrite"in i?!!i.overwrite:i.clobber;if(i.preserveTimestamps&&process.arch==="ia32"){console.warn(`fs-extra: Using the preserveTimestamps option in 32-bit node is not recommended;\n\n see https://github.com/jprichardson/node-fs-extra/issues/269`)}const a=checkPaths(e,t);if(i.filter&&!i.filter(e,t))return;const o=n.dirname(t);if(!r.existsSync(o))s(o);return startCopy(a,e,t,i)}function startCopy(e,t,i,r){if(r.filter&&!r.filter(t,i))return;return getStats(e,t,i,r)}function getStats(e,t,i,n){const s=n.dereference?r.statSync:r.lstatSync;const a=s(t);if(a.isDirectory())return onDir(a,e,t,i,n);else if(a.isFile()||a.isCharacterDevice()||a.isBlockDevice())return onFile(a,e,t,i,n);else if(a.isSymbolicLink())return onLink(e,t,i,n)}function onFile(e,t,i,r,n){if(t===o)return copyFile(e,i,r,n);return mayCopyFile(e,i,r,n)}function mayCopyFile(e,t,i,n){if(n.overwrite){r.unlinkSync(i);return copyFile(e,t,i,n)}else if(n.errorOnExist){throw new Error(`'${i}' already exists`)}}function copyFile(e,t,i,n){if(typeof r.copyFileSync==="function"){r.copyFileSync(t,i);r.chmodSync(i,e.mode);if(n.preserveTimestamps){return a(i,e.atime,e.mtime)}return}return copyFileFallback(e,t,i,n)}function copyFileFallback(e,t,n,s){const a=64*1024;const o=i(6343)(a);const u=r.openSync(t,"r");const c=r.openSync(n,"w",e.mode);let l=0;while(l<e.size){const e=r.readSync(u,o,0,a,l);r.writeSync(c,o,0,e);l+=e}if(s.preserveTimestamps)r.futimesSync(c,e.atime,e.mtime);r.closeSync(u);r.closeSync(c)}function onDir(e,t,i,r,n){if(t===o)return mkDirAndCopy(e,i,r,n);if(t&&!t.isDirectory()){throw new Error(`Cannot overwrite non-directory '${r}' with directory '${i}'.`)}return copyDir(i,r,n)}function mkDirAndCopy(e,t,i,n){r.mkdirSync(i);copyDir(t,i,n);return r.chmodSync(i,e.mode)}function copyDir(e,t,i){r.readdirSync(e).forEach(r=>copyDirItem(r,e,t,i))}function copyDirItem(e,t,i,r){const s=n.join(t,e);const a=n.join(i,e);const o=checkPaths(s,a);return startCopy(o,s,a,r)}function onLink(e,t,i,s){let a=r.readlinkSync(t);if(s.dereference){a=n.resolve(process.cwd(),a)}if(e===o){return r.symlinkSync(a,i)}else{let e;try{e=r.readlinkSync(i)}catch(e){if(e.code==="EINVAL"||e.code==="UNKNOWN")return r.symlinkSync(a,i);throw e}if(s.dereference){e=n.resolve(process.cwd(),e)}if(isSrcSubdir(a,e)){throw new Error(`Cannot copy '${a}' to a subdirectory of itself, '${e}'.`)}if(r.statSync(i).isDirectory()&&isSrcSubdir(e,a)){throw new Error(`Cannot overwrite '${e}' with '${a}'.`)}return copyLink(a,i)}}function copyLink(e,t){r.unlinkSync(t);return r.symlinkSync(e,t)}function isSrcSubdir(e,t){const i=n.resolve(e).split(n.sep);const r=n.resolve(t).split(n.sep);return i.reduce((e,t,i)=>e&&r[i]===t,true)}function checkStats(e,t){const i=r.statSync(e);let n;try{n=r.statSync(t)}catch(e){if(e.code==="ENOENT")return{srcStat:i,destStat:o};throw e}return{srcStat:i,destStat:n}}function checkPaths(e,t){const{srcStat:i,destStat:r}=checkStats(e,t);if(r.ino&&r.ino===i.ino){throw new Error("Source and destination must not be the same.")}if(i.isDirectory()&&isSrcSubdir(e,t)){throw new Error(`Cannot copy '${e}' to a subdirectory of itself, '${t}'.`)}return r}e.exports=copySync},9567:(e,t,i)=>{"use strict";e.exports={copySync:i(4994)}},4487:(e,t,i)=>{"use strict";const r=i(552);const n=i(5622);const s=i(9181).mkdirs;const a=i(5516).pathExists;const o=i(8605).utimesMillis;const u=Symbol("notExist");function copy(e,t,i,r){if(typeof i==="function"&&!r){r=i;i={}}else if(typeof i==="function"){i={filter:i}}r=r||function(){};i=i||{};i.clobber="clobber"in i?!!i.clobber:true;i.overwrite="overwrite"in i?!!i.overwrite:i.clobber;if(i.preserveTimestamps&&process.arch==="ia32"){console.warn(`fs-extra: Using the preserveTimestamps option in 32-bit node is not recommended;\n\n see https://github.com/jprichardson/node-fs-extra/issues/269`)}checkPaths(e,t,(n,s)=>{if(n)return r(n);if(i.filter)return handleFilter(checkParentDir,s,e,t,i,r);return checkParentDir(s,e,t,i,r)})}function checkParentDir(e,t,i,r,o){const u=n.dirname(i);a(u,(n,a)=>{if(n)return o(n);if(a)return startCopy(e,t,i,r,o);s(u,n=>{if(n)return o(n);return startCopy(e,t,i,r,o)})})}function handleFilter(e,t,i,r,n,s){Promise.resolve(n.filter(i,r)).then(a=>{if(a){if(t)return e(t,i,r,n,s);return e(i,r,n,s)}return s()},e=>s(e))}function startCopy(e,t,i,r,n){if(r.filter)return handleFilter(getStats,e,t,i,r,n);return getStats(e,t,i,r,n)}function getStats(e,t,i,n,s){const a=n.dereference?r.stat:r.lstat;a(t,(r,a)=>{if(r)return s(r);if(a.isDirectory())return onDir(a,e,t,i,n,s);else if(a.isFile()||a.isCharacterDevice()||a.isBlockDevice())return onFile(a,e,t,i,n,s);else if(a.isSymbolicLink())return onLink(e,t,i,n,s)})}function onFile(e,t,i,r,n,s){if(t===u)return copyFile(e,i,r,n,s);return mayCopyFile(e,i,r,n,s)}function mayCopyFile(e,t,i,n,s){if(n.overwrite){r.unlink(i,r=>{if(r)return s(r);return copyFile(e,t,i,n,s)})}else if(n.errorOnExist){return s(new Error(`'${i}' already exists`))}else return s()}function copyFile(e,t,i,n,s){if(typeof r.copyFile==="function"){return r.copyFile(t,i,t=>{if(t)return s(t);return setDestModeAndTimestamps(e,i,n,s)})}return copyFileFallback(e,t,i,n,s)}function copyFileFallback(e,t,i,n,s){const a=r.createReadStream(t);a.on("error",e=>s(e)).once("open",()=>{const t=r.createWriteStream(i,{mode:e.mode});t.on("error",e=>s(e)).on("open",()=>a.pipe(t)).once("close",()=>setDestModeAndTimestamps(e,i,n,s))})}function setDestModeAndTimestamps(e,t,i,n){r.chmod(t,e.mode,r=>{if(r)return n(r);if(i.preserveTimestamps){return o(t,e.atime,e.mtime,n)}return n()})}function onDir(e,t,i,r,n,s){if(t===u)return mkDirAndCopy(e,i,r,n,s);if(t&&!t.isDirectory()){return s(new Error(`Cannot overwrite non-directory '${r}' with directory '${i}'.`))}return copyDir(i,r,n,s)}function mkDirAndCopy(e,t,i,n,s){r.mkdir(i,a=>{if(a)return s(a);copyDir(t,i,n,t=>{if(t)return s(t);return r.chmod(i,e.mode,s)})})}function copyDir(e,t,i,n){r.readdir(e,(r,s)=>{if(r)return n(r);return copyDirItems(s,e,t,i,n)})}function copyDirItems(e,t,i,r,n){const s=e.pop();if(!s)return n();return copyDirItem(e,s,t,i,r,n)}function copyDirItem(e,t,i,r,s,a){const o=n.join(i,t);const u=n.join(r,t);checkPaths(o,u,(t,n)=>{if(t)return a(t);startCopy(n,o,u,s,t=>{if(t)return a(t);return copyDirItems(e,i,r,s,a)})})}function onLink(e,t,i,s,a){r.readlink(t,(t,o)=>{if(t)return a(t);if(s.dereference){o=n.resolve(process.cwd(),o)}if(e===u){return r.symlink(o,i,a)}else{r.readlink(i,(t,u)=>{if(t){if(t.code==="EINVAL"||t.code==="UNKNOWN")return r.symlink(o,i,a);return a(t)}if(s.dereference){u=n.resolve(process.cwd(),u)}if(isSrcSubdir(o,u)){return a(new Error(`Cannot copy '${o}' to a subdirectory of itself, '${u}'.`))}if(e.isDirectory()&&isSrcSubdir(u,o)){return a(new Error(`Cannot overwrite '${u}' with '${o}'.`))}return copyLink(o,i,a)})}})}function copyLink(e,t,i){r.unlink(t,n=>{if(n)return i(n);return r.symlink(e,t,i)})}function isSrcSubdir(e,t){const i=n.resolve(e).split(n.sep);const r=n.resolve(t).split(n.sep);return i.reduce((e,t,i)=>e&&r[i]===t,true)}function checkStats(e,t,i){r.stat(e,(e,n)=>{if(e)return i(e);r.stat(t,(e,t)=>{if(e){if(e.code==="ENOENT")return i(null,{srcStat:n,destStat:u});return i(e)}return i(null,{srcStat:n,destStat:t})})})}function checkPaths(e,t,i){checkStats(e,t,(r,n)=>{if(r)return i(r);const{srcStat:s,destStat:a}=n;if(a.ino&&a.ino===s.ino){return i(new Error("Source and destination must not be the same."))}if(s.isDirectory()&&isSrcSubdir(e,t)){return i(new Error(`Cannot copy '${e}' to a subdirectory of itself, '${t}'.`))}return i(null,a)})}e.exports=copy},8852:(e,t,i)=>{"use strict";const r=i(2703).E;e.exports={copy:r(i(4487))}},2677:(e,t,i)=>{"use strict";const r=i(2703).E;const n=i(5747);const s=i(5622);const a=i(9181);const o=i(4879);const u=r(function emptyDir(e,t){t=t||function(){};n.readdir(e,(i,r)=>{if(i)return a.mkdirs(e,t);r=r.map(t=>s.join(e,t));deleteItem();function deleteItem(){const e=r.pop();if(!e)return t();o.remove(e,e=>{if(e)return t(e);deleteItem()})}})});function emptyDirSync(e){let t;try{t=n.readdirSync(e)}catch(t){return a.mkdirsSync(e)}t.forEach(t=>{t=s.join(e,t);o.removeSync(t)})}e.exports={emptyDirSync:emptyDirSync,emptydirSync:emptyDirSync,emptyDir:u,emptydir:u}},2446:(e,t,i)=>{"use strict";const r=i(2703).E;const n=i(5622);const s=i(552);const a=i(9181);const o=i(5516).pathExists;function createFile(e,t){function makeFile(){s.writeFile(e,"",e=>{if(e)return t(e);t()})}s.stat(e,(i,r)=>{if(!i&&r.isFile())return t();const s=n.dirname(e);o(s,(e,i)=>{if(e)return t(e);if(i)return makeFile();a.mkdirs(s,e=>{if(e)return t(e);makeFile()})})})}function createFileSync(e){let t;try{t=s.statSync(e)}catch(e){}if(t&&t.isFile())return;const i=n.dirname(e);if(!s.existsSync(i)){a.mkdirsSync(i)}s.writeFileSync(e,"")}e.exports={createFile:r(createFile),createFileSync:createFileSync}},6004:(e,t,i)=>{"use strict";const r=i(2446);const n=i(9140);const s=i(3674);e.exports={createFile:r.createFile,createFileSync:r.createFileSync,ensureFile:r.createFile,ensureFileSync:r.createFileSync,createLink:n.createLink,createLinkSync:n.createLinkSync,ensureLink:n.createLink,ensureLinkSync:n.createLinkSync,createSymlink:s.createSymlink,createSymlinkSync:s.createSymlinkSync,ensureSymlink:s.createSymlink,ensureSymlinkSync:s.createSymlinkSync}},9140:(e,t,i)=>{"use strict";const r=i(2703).E;const n=i(5622);const s=i(552);const a=i(9181);const o=i(5516).pathExists;function createLink(e,t,i){function makeLink(e,t){s.link(e,t,e=>{if(e)return i(e);i(null)})}o(t,(r,u)=>{if(r)return i(r);if(u)return i(null);s.lstat(e,r=>{if(r){r.message=r.message.replace("lstat","ensureLink");return i(r)}const s=n.dirname(t);o(s,(r,n)=>{if(r)return i(r);if(n)return makeLink(e,t);a.mkdirs(s,r=>{if(r)return i(r);makeLink(e,t)})})})})}function createLinkSync(e,t){const i=s.existsSync(t);if(i)return undefined;try{s.lstatSync(e)}catch(e){e.message=e.message.replace("lstat","ensureLink");throw e}const r=n.dirname(t);const o=s.existsSync(r);if(o)return s.linkSync(e,t);a.mkdirsSync(r);return s.linkSync(e,t)}e.exports={createLink:r(createLink),createLinkSync:createLinkSync}},6522:(e,t,i)=>{"use strict";const r=i(5622);const n=i(552);const s=i(5516).pathExists;function symlinkPaths(e,t,i){if(r.isAbsolute(e)){return n.lstat(e,t=>{if(t){t.message=t.message.replace("lstat","ensureSymlink");return i(t)}return i(null,{toCwd:e,toDst:e})})}else{const a=r.dirname(t);const o=r.join(a,e);return s(o,(t,s)=>{if(t)return i(t);if(s){return i(null,{toCwd:o,toDst:e})}else{return n.lstat(e,t=>{if(t){t.message=t.message.replace("lstat","ensureSymlink");return i(t)}return i(null,{toCwd:e,toDst:r.relative(a,e)})})}})}}function symlinkPathsSync(e,t){let i;if(r.isAbsolute(e)){i=n.existsSync(e);if(!i)throw new Error("absolute srcpath does not exist");return{toCwd:e,toDst:e}}else{const s=r.dirname(t);const a=r.join(s,e);i=n.existsSync(a);if(i){return{toCwd:a,toDst:e}}else{i=n.existsSync(e);if(!i)throw new Error("relative srcpath does not exist");return{toCwd:e,toDst:r.relative(s,e)}}}}e.exports={symlinkPaths:symlinkPaths,symlinkPathsSync:symlinkPathsSync}},9634:(e,t,i)=>{"use strict";const r=i(552);function symlinkType(e,t,i){i=typeof t==="function"?t:i;t=typeof t==="function"?false:t;if(t)return i(null,t);r.lstat(e,(e,r)=>{if(e)return i(null,"file");t=r&&r.isDirectory()?"dir":"file";i(null,t)})}function symlinkTypeSync(e,t){let i;if(t)return t;try{i=r.lstatSync(e)}catch(e){return"file"}return i&&i.isDirectory()?"dir":"file"}e.exports={symlinkType:symlinkType,symlinkTypeSync:symlinkTypeSync}},3674:(e,t,i)=>{"use strict";const r=i(2703).E;const n=i(5622);const s=i(552);const a=i(9181);const o=a.mkdirs;const u=a.mkdirsSync;const c=i(6522);const l=c.symlinkPaths;const f=c.symlinkPathsSync;const h=i(9634);const p=h.symlinkType;const d=h.symlinkTypeSync;const v=i(5516).pathExists;function createSymlink(e,t,i,r){r=typeof i==="function"?i:r;i=typeof i==="function"?false:i;v(t,(a,u)=>{if(a)return r(a);if(u)return r(null);l(e,t,(a,u)=>{if(a)return r(a);e=u.toDst;p(u.toCwd,i,(i,a)=>{if(i)return r(i);const u=n.dirname(t);v(u,(i,n)=>{if(i)return r(i);if(n)return s.symlink(e,t,a,r);o(u,i=>{if(i)return r(i);s.symlink(e,t,a,r)})})})})})}function createSymlinkSync(e,t,i){const r=s.existsSync(t);if(r)return undefined;const a=f(e,t);e=a.toDst;i=d(a.toCwd,i);const o=n.dirname(t);const c=s.existsSync(o);if(c)return s.symlinkSync(e,t,i);u(o);return s.symlinkSync(e,t,i)}e.exports={createSymlink:r(createSymlink),createSymlinkSync:createSymlinkSync}},893:(e,t,i)=>{"use strict";const r=i(2703).E;const n=i(552);const s=["access","appendFile","chmod","chown","close","copyFile","fchmod","fchown","fdatasync","fstat","fsync","ftruncate","futimes","lchown","lchmod","link","lstat","mkdir","mkdtemp","open","readFile","readdir","readlink","realpath","rename","rmdir","stat","symlink","truncate","unlink","utimes","writeFile"].filter(e=>{return typeof n[e]==="function"});Object.keys(n).forEach(e=>{if(e==="promises"){return}t[e]=n[e]});s.forEach(e=>{t[e]=r(n[e])});t.exists=function(e,t){if(typeof t==="function"){return n.exists(e,t)}return new Promise(t=>{return n.exists(e,t)})};t.read=function(e,t,i,r,s,a){if(typeof a==="function"){return n.read(e,t,i,r,s,a)}return new Promise((a,o)=>{n.read(e,t,i,r,s,(e,t,i)=>{if(e)return o(e);a({bytesRead:t,buffer:i})})})};t.write=function(e,t,...i){if(typeof i[i.length-1]==="function"){return n.write(e,t,...i)}return new Promise((r,s)=>{n.write(e,t,...i,(e,t,i)=>{if(e)return s(e);r({bytesWritten:t,buffer:i})})})}},5392:(e,t,i)=>{"use strict";e.exports=Object.assign({},i(893),i(9567),i(8852),i(2677),i(6004),i(3960),i(9181),i(4168),i(7819),i(3849),i(5516),i(4879));const r=i(5747);if(Object.getOwnPropertyDescriptor(r,"promises")){Object.defineProperty(e.exports,"promises",{get(){return r.promises}})}},3960:(e,t,i)=>{"use strict";const r=i(2703).E;const n=i(4003);n.outputJson=r(i(7583));n.outputJsonSync=i(3719);n.outputJSON=n.outputJson;n.outputJSONSync=n.outputJsonSync;n.writeJSON=n.writeJson;n.writeJSONSync=n.writeJsonSync;n.readJSON=n.readJson;n.readJSONSync=n.readJsonSync;e.exports=n},4003:(e,t,i)=>{"use strict";const r=i(2703).E;const n=i(1215);e.exports={readJson:r(n.readFile),readJsonSync:n.readFileSync,writeJson:r(n.writeFile),writeJsonSync:n.writeFileSync}},3719:(e,t,i)=>{"use strict";const r=i(552);const n=i(5622);const s=i(9181);const a=i(4003);function outputJsonSync(e,t,i){const o=n.dirname(e);if(!r.existsSync(o)){s.mkdirsSync(o)}a.writeJsonSync(e,t,i)}e.exports=outputJsonSync},7583:(e,t,i)=>{"use strict";const r=i(5622);const n=i(9181);const s=i(5516).pathExists;const a=i(4003);function outputJson(e,t,i,o){if(typeof i==="function"){o=i;i={}}const u=r.dirname(e);s(u,(r,s)=>{if(r)return o(r);if(s)return a.writeJson(e,t,i,o);n.mkdirs(u,r=>{if(r)return o(r);a.writeJson(e,t,i,o)})})}e.exports=outputJson},9181:(e,t,i)=>{"use strict";const r=i(2703).E;const n=r(i(7718));const s=i(1275);e.exports={mkdirs:n,mkdirsSync:s,mkdirp:n,mkdirpSync:s,ensureDir:n,ensureDirSync:s}},1275:(e,t,i)=>{"use strict";const r=i(552);const n=i(5622);const s=i(3727).invalidWin32Path;const a=parseInt("0777",8);function mkdirsSync(e,t,i){if(!t||typeof t!=="object"){t={mode:t}}let o=t.mode;const u=t.fs||r;if(process.platform==="win32"&&s(e)){const t=new Error(e+" contains invalid WIN32 path characters.");t.code="EINVAL";throw t}if(o===undefined){o=a&~process.umask()}if(!i)i=null;e=n.resolve(e);try{u.mkdirSync(e,o);i=i||e}catch(r){if(r.code==="ENOENT"){if(n.dirname(e)===e)throw r;i=mkdirsSync(n.dirname(e),t,i);mkdirsSync(e,t,i)}else{let t;try{t=u.statSync(e)}catch(e){throw r}if(!t.isDirectory())throw r}}return i}e.exports=mkdirsSync},7718:(e,t,i)=>{"use strict";const r=i(552);const n=i(5622);const s=i(3727).invalidWin32Path;const a=parseInt("0777",8);function mkdirs(e,t,i,o){if(typeof t==="function"){i=t;t={}}else if(!t||typeof t!=="object"){t={mode:t}}if(process.platform==="win32"&&s(e)){const t=new Error(e+" contains invalid WIN32 path characters.");t.code="EINVAL";return i(t)}let u=t.mode;const c=t.fs||r;if(u===undefined){u=a&~process.umask()}if(!o)o=null;i=i||function(){};e=n.resolve(e);c.mkdir(e,u,r=>{if(!r){o=o||e;return i(null,o)}switch(r.code){case"ENOENT":if(n.dirname(e)===e)return i(r);mkdirs(n.dirname(e),t,(r,n)=>{if(r)i(r,n);else mkdirs(e,t,i,n)});break;default:c.stat(e,(e,t)=>{if(e||!t.isDirectory())i(r,o);else i(null,o)});break}})}e.exports=mkdirs},3727:(e,t,i)=>{"use strict";const r=i(5622);function getRootPath(e){e=r.normalize(r.resolve(e)).split(r.sep);if(e.length>0)return e[0];return null}const n=/[<>:"|?*]/;function invalidWin32Path(e){const t=getRootPath(e);e=e.replace(t,"");return n.test(e)}e.exports={getRootPath:getRootPath,invalidWin32Path:invalidWin32Path}},4168:(e,t,i)=>{"use strict";const r=i(552);const n=i(5622);const s=i(9567).copySync;const a=i(4879).removeSync;const o=i(9181).mkdirsSync;const u=i(6343);function moveSync(e,t,i){i=i||{};const s=i.overwrite||i.clobber||false;e=n.resolve(e);t=n.resolve(t);if(e===t)return r.accessSync(e);if(isSrcSubdir(e,t))throw new Error(`Cannot move '${e}' into itself '${t}'.`);o(n.dirname(t));tryRenameSync();function tryRenameSync(){if(s){try{return r.renameSync(e,t)}catch(r){if(r.code==="ENOTEMPTY"||r.code==="EEXIST"||r.code==="EPERM"){a(t);i.overwrite=false;return moveSync(e,t,i)}if(r.code!=="EXDEV")throw r;return moveSyncAcrossDevice(e,t,s)}}else{try{r.linkSync(e,t);return r.unlinkSync(e)}catch(i){if(i.code==="EXDEV"||i.code==="EISDIR"||i.code==="EPERM"||i.code==="ENOTSUP"){return moveSyncAcrossDevice(e,t,s)}throw i}}}}function moveSyncAcrossDevice(e,t,i){const n=r.statSync(e);if(n.isDirectory()){return moveDirSyncAcrossDevice(e,t,i)}else{return moveFileSyncAcrossDevice(e,t,i)}}function moveFileSyncAcrossDevice(e,t,i){const n=64*1024;const s=u(n);const a=i?"w":"wx";const o=r.openSync(e,"r");const c=r.fstatSync(o);const l=r.openSync(t,a,c.mode);let f=0;while(f<c.size){const e=r.readSync(o,s,0,n,f);r.writeSync(l,s,0,e);f+=e}r.closeSync(o);r.closeSync(l);return r.unlinkSync(e)}function moveDirSyncAcrossDevice(e,t,i){const r={overwrite:false};if(i){a(t);tryCopySync()}else{tryCopySync()}function tryCopySync(){s(e,t,r);return a(e)}}function isSrcSubdir(e,t){try{return r.statSync(e).isDirectory()&&e!==t&&t.indexOf(e)>-1&&t.split(n.dirname(e)+n.sep)[1].split(n.sep)[0]===n.basename(e)}catch(e){return false}}e.exports={moveSync:moveSync}},7819:(e,t,i)=>{"use strict";const r=i(2703).E;const n=i(552);const s=i(5622);const a=i(8852).copy;const o=i(4879).remove;const u=i(9181).mkdirp;const c=i(5516).pathExists;function move(e,t,i,r){if(typeof i==="function"){r=i;i={}}const a=i.overwrite||i.clobber||false;e=s.resolve(e);t=s.resolve(t);if(e===t)return n.access(e,r);n.stat(e,(i,n)=>{if(i)return r(i);if(n.isDirectory()&&isSrcSubdir(e,t)){return r(new Error(`Cannot move '${e}' to a subdirectory of itself, '${t}'.`))}u(s.dirname(t),i=>{if(i)return r(i);return doRename(e,t,a,r)})})}function doRename(e,t,i,r){if(i){return o(t,n=>{if(n)return r(n);return rename(e,t,i,r)})}c(t,(n,s)=>{if(n)return r(n);if(s)return r(new Error("dest already exists."));return rename(e,t,i,r)})}function rename(e,t,i,r){n.rename(e,t,n=>{if(!n)return r();if(n.code!=="EXDEV")return r(n);return moveAcrossDevice(e,t,i,r)})}function moveAcrossDevice(e,t,i,r){const n={overwrite:i,errorOnExist:true};a(e,t,n,t=>{if(t)return r(t);return o(e,r)})}function isSrcSubdir(e,t){const i=e.split(s.sep);const r=t.split(s.sep);return i.reduce((e,t,i)=>{return e&&r[i]===t},true)}e.exports={move:r(move)}},3849:(e,t,i)=>{"use strict";const r=i(2703).E;const n=i(552);const s=i(5622);const a=i(9181);const o=i(5516).pathExists;function outputFile(e,t,i,r){if(typeof i==="function"){r=i;i="utf8"}const u=s.dirname(e);o(u,(s,o)=>{if(s)return r(s);if(o)return n.writeFile(e,t,i,r);a.mkdirs(u,s=>{if(s)return r(s);n.writeFile(e,t,i,r)})})}function outputFileSync(e,...t){const i=s.dirname(e);if(n.existsSync(i)){return n.writeFileSync(e,...t)}a.mkdirsSync(i);n.writeFileSync(e,...t)}e.exports={outputFile:r(outputFile),outputFileSync:outputFileSync}},5516:(e,t,i)=>{"use strict";const r=i(2703).p;const n=i(893);function pathExists(e){return n.access(e).then(()=>true).catch(()=>false)}e.exports={pathExists:r(pathExists),pathExistsSync:n.existsSync}},4879:(e,t,i)=>{"use strict";const r=i(2703).E;const n=i(7137);e.exports={remove:r(n),removeSync:n.sync}},7137:(e,t,i)=>{"use strict";const r=i(552);const n=i(5622);const s=i(2357);const a=process.platform==="win32";function defaults(e){const t=["unlink","chmod","stat","lstat","rmdir","readdir"];t.forEach(t=>{e[t]=e[t]||r[t];t=t+"Sync";e[t]=e[t]||r[t]});e.maxBusyTries=e.maxBusyTries||3}function rimraf(e,t,i){let r=0;if(typeof t==="function"){i=t;t={}}s(e,"rimraf: missing path");s.strictEqual(typeof e,"string","rimraf: path should be a string");s.strictEqual(typeof i,"function","rimraf: callback function required");s(t,"rimraf: invalid options argument provided");s.strictEqual(typeof t,"object","rimraf: options should be object");defaults(t);rimraf_(e,t,function CB(n){if(n){if((n.code==="EBUSY"||n.code==="ENOTEMPTY"||n.code==="EPERM")&&r<t.maxBusyTries){r++;const i=r*100;return setTimeout(()=>rimraf_(e,t,CB),i)}if(n.code==="ENOENT")n=null}i(n)})}function rimraf_(e,t,i){s(e);s(t);s(typeof i==="function");t.lstat(e,(r,n)=>{if(r&&r.code==="ENOENT"){return i(null)}if(r&&r.code==="EPERM"&&a){return fixWinEPERM(e,t,r,i)}if(n&&n.isDirectory()){return rmdir(e,t,r,i)}t.unlink(e,r=>{if(r){if(r.code==="ENOENT"){return i(null)}if(r.code==="EPERM"){return a?fixWinEPERM(e,t,r,i):rmdir(e,t,r,i)}if(r.code==="EISDIR"){return rmdir(e,t,r,i)}}return i(r)})})}function fixWinEPERM(e,t,i,r){s(e);s(t);s(typeof r==="function");if(i){s(i instanceof Error)}t.chmod(e,438,n=>{if(n){r(n.code==="ENOENT"?null:i)}else{t.stat(e,(n,s)=>{if(n){r(n.code==="ENOENT"?null:i)}else if(s.isDirectory()){rmdir(e,t,i,r)}else{t.unlink(e,r)}})}})}function fixWinEPERMSync(e,t,i){let r;s(e);s(t);if(i){s(i instanceof Error)}try{t.chmodSync(e,438)}catch(e){if(e.code==="ENOENT"){return}else{throw i}}try{r=t.statSync(e)}catch(e){if(e.code==="ENOENT"){return}else{throw i}}if(r.isDirectory()){rmdirSync(e,t,i)}else{t.unlinkSync(e)}}function rmdir(e,t,i,r){s(e);s(t);if(i){s(i instanceof Error)}s(typeof r==="function");t.rmdir(e,n=>{if(n&&(n.code==="ENOTEMPTY"||n.code==="EEXIST"||n.code==="EPERM")){rmkids(e,t,r)}else if(n&&n.code==="ENOTDIR"){r(i)}else{r(n)}})}function rmkids(e,t,i){s(e);s(t);s(typeof i==="function");t.readdir(e,(r,s)=>{if(r)return i(r);let a=s.length;let o;if(a===0)return t.rmdir(e,i);s.forEach(r=>{rimraf(n.join(e,r),t,r=>{if(o){return}if(r)return i(o=r);if(--a===0){t.rmdir(e,i)}})})})}function rimrafSync(e,t){let i;t=t||{};defaults(t);s(e,"rimraf: missing path");s.strictEqual(typeof e,"string","rimraf: path should be a string");s(t,"rimraf: missing options");s.strictEqual(typeof t,"object","rimraf: options should be object");try{i=t.lstatSync(e)}catch(i){if(i.code==="ENOENT"){return}if(i.code==="EPERM"&&a){fixWinEPERMSync(e,t,i)}}try{if(i&&i.isDirectory()){rmdirSync(e,t,null)}else{t.unlinkSync(e)}}catch(i){if(i.code==="ENOENT"){return}else if(i.code==="EPERM"){return a?fixWinEPERMSync(e,t,i):rmdirSync(e,t,i)}else if(i.code!=="EISDIR"){throw i}rmdirSync(e,t,i)}}function rmdirSync(e,t,i){s(e);s(t);if(i){s(i instanceof Error)}try{t.rmdirSync(e)}catch(r){if(r.code==="ENOTDIR"){throw i}else if(r.code==="ENOTEMPTY"||r.code==="EEXIST"||r.code==="EPERM"){rmkidsSync(e,t)}else if(r.code!=="ENOENT"){throw r}}}function rmkidsSync(e,t){s(e);s(t);t.readdirSync(e).forEach(i=>rimrafSync(n.join(e,i),t));const i=a?100:1;let r=0;do{let n=true;try{const s=t.rmdirSync(e,t);n=false;return s}finally{if(++r<i&&n)continue}}while(true)}e.exports=rimraf;rimraf.sync=rimrafSync},6343:e=>{"use strict";e.exports=function(e){if(typeof Buffer.allocUnsafe==="function"){try{return Buffer.allocUnsafe(e)}catch(t){return new Buffer(e)}}return new Buffer(e)}},8605:(e,t,i)=>{"use strict";const r=i(552);const n=i(2087);const s=i(5622);function hasMillisResSync(){let e=s.join("millis-test-sync"+Date.now().toString()+Math.random().toString().slice(2));e=s.join(n.tmpdir(),e);const t=new Date(1435410243862);r.writeFileSync(e,"https://github.com/jprichardson/node-fs-extra/pull/141");const i=r.openSync(e,"r+");r.futimesSync(i,t,t);r.closeSync(i);return r.statSync(e).mtime>1435410243e3}function hasMillisRes(e){let t=s.join("millis-test"+Date.now().toString()+Math.random().toString().slice(2));t=s.join(n.tmpdir(),t);const i=new Date(1435410243862);r.writeFile(t,"https://github.com/jprichardson/node-fs-extra/pull/141",n=>{if(n)return e(n);r.open(t,"r+",(n,s)=>{if(n)return e(n);r.futimes(s,i,i,i=>{if(i)return e(i);r.close(s,i=>{if(i)return e(i);r.stat(t,(t,i)=>{if(t)return e(t);e(null,i.mtime>1435410243e3)})})})})})}function timeRemoveMillis(e){if(typeof e==="number"){return Math.floor(e/1e3)*1e3}else if(e instanceof Date){return new Date(Math.floor(e.getTime()/1e3)*1e3)}else{throw new Error("fs-extra: timeRemoveMillis() unknown parameter type")}}function utimesMillis(e,t,i,n){r.open(e,"r+",(e,s)=>{if(e)return n(e);r.futimes(s,t,i,e=>{r.close(s,t=>{if(n)n(e||t)})})})}function utimesMillisSync(e,t,i){const n=r.openSync(e,"r+");r.futimesSync(n,t,i);return r.closeSync(n)}e.exports={hasMillisRes:hasMillisRes,hasMillisResSync:hasMillisResSync,timeRemoveMillis:timeRemoveMillis,utimesMillis:utimesMillis,utimesMillisSync:utimesMillisSync}},9293:(e,t,i)=>{"use strict";const r=i(5622);const n=i(2282);const s=i(5747);const a=(e,t,i)=>{if(typeof e!=="string"){throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof e}\``)}if(typeof t!=="string"){throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof t}\``)}try{e=s.realpathSync(e)}catch(t){if(t.code==="ENOENT"){e=r.resolve(e)}else if(i){return}else{throw t}}const a=r.join(e,"noop.js");const o=()=>n._resolveFilename(t,{id:a,filename:a,paths:n._nodeModulePaths(e)});if(i){try{return o()}catch(e){return}}return o()};e.exports=((e,t)=>a(e,t));e.exports.silent=((e,t)=>a(e,t,true))},7852:(e,t,i)=>{var r=i(4293);var n=r.Buffer;function copyProps(e,t){for(var i in e){t[i]=e[i]}}if(n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow){e.exports=r}else{copyProps(r,t);t.Buffer=SafeBuffer}function SafeBuffer(e,t,i){return n(e,t,i)}copyProps(n,SafeBuffer);SafeBuffer.from=function(e,t,i){if(typeof e==="number"){throw new TypeError("Argument must not be a number")}return n(e,t,i)};SafeBuffer.alloc=function(e,t,i){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}var r=n(e);if(t!==undefined){if(typeof i==="string"){r.fill(t,i)}else{r.fill(t)}}else{r.fill(0)}return r};SafeBuffer.allocUnsafe=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return n(e)};SafeBuffer.allocUnsafeSlow=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return r.SlowBuffer(e)}},2879:(e,t)=>{t=e.exports=SemVer;var i;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){i=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER");console.log.apply(console,e)}}else{i=function(){}}t.SEMVER_SPEC_VERSION="2.0.0";var r=256;var n=Number.MAX_SAFE_INTEGER||9007199254740991;var s=16;var a=t.re=[];var o=t.src=[];var u=0;var c=u++;o[c]="0|[1-9]\\d*";var l=u++;o[l]="[0-9]+";var f=u++;o[f]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var h=u++;o[h]="("+o[c]+")\\."+"("+o[c]+")\\."+"("+o[c]+")";var p=u++;o[p]="("+o[l]+")\\."+"("+o[l]+")\\."+"("+o[l]+")";var d=u++;o[d]="(?:"+o[c]+"|"+o[f]+")";var v=u++;o[v]="(?:"+o[l]+"|"+o[f]+")";var y=u++;o[y]="(?:-("+o[d]+"(?:\\."+o[d]+")*))";var g=u++;o[g]="(?:-?("+o[v]+"(?:\\."+o[v]+")*))";var b=u++;o[b]="[0-9A-Za-z-]+";var m=u++;o[m]="(?:\\+("+o[b]+"(?:\\."+o[b]+")*))";var _=u++;var w="v?"+o[h]+o[y]+"?"+o[m]+"?";o[_]="^"+w+"$";var E="[v=\\s]*"+o[p]+o[g]+"?"+o[m]+"?";var S=u++;o[S]="^"+E+"$";var x=u++;o[x]="((?:<|>)?=?)";var R=u++;o[R]=o[l]+"|x|X|\\*";var A=u++;o[A]=o[c]+"|x|X|\\*";var k=u++;o[k]="[v=\\s]*("+o[A]+")"+"(?:\\.("+o[A]+")"+"(?:\\.("+o[A]+")"+"(?:"+o[y]+")?"+o[m]+"?"+")?)?";var T=u++;o[T]="[v=\\s]*("+o[R]+")"+"(?:\\.("+o[R]+")"+"(?:\\.("+o[R]+")"+"(?:"+o[g]+")?"+o[m]+"?"+")?)?";var C=u++;o[C]="^"+o[x]+"\\s*"+o[k]+"$";var O=u++;o[O]="^"+o[x]+"\\s*"+o[T]+"$";var N=u++;o[N]="(?:^|[^\\d])"+"(\\d{1,"+s+"})"+"(?:\\.(\\d{1,"+s+"}))?"+"(?:\\.(\\d{1,"+s+"}))?"+"(?:$|[^\\d])";var j=u++;o[j]="(?:~>?)";var I=u++;o[I]="(\\s*)"+o[j]+"\\s+";a[I]=new RegExp(o[I],"g");var $="$1~";var P=u++;o[P]="^"+o[j]+o[k]+"$";var F=u++;o[F]="^"+o[j]+o[T]+"$";var L=u++;o[L]="(?:\\^)";var B=u++;o[B]="(\\s*)"+o[L]+"\\s+";a[B]=new RegExp(o[B],"g");var D="$1^";var H=u++;o[H]="^"+o[L]+o[k]+"$";var U=u++;o[U]="^"+o[L]+o[T]+"$";var W=u++;o[W]="^"+o[x]+"\\s*("+E+")$|^$";var q=u++;o[q]="^"+o[x]+"\\s*("+w+")$|^$";var G=u++;o[G]="(\\s*)"+o[x]+"\\s*("+E+"|"+o[k]+")";a[G]=new RegExp(o[G],"g");var V="$1$2$3";var z=u++;o[z]="^\\s*("+o[k]+")"+"\\s+-\\s+"+"("+o[k]+")"+"\\s*$";var M=u++;o[M]="^\\s*("+o[T]+")"+"\\s+-\\s+"+"("+o[T]+")"+"\\s*$";var X=u++;o[X]="(<|>)?=?\\s*\\*";for(var K=0;K<u;K++){i(K,o[K]);if(!a[K]){a[K]=new RegExp(o[K])}}t.parse=parse;function parse(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){return e}if(typeof e!=="string"){return null}if(e.length>r){return null}var i=t.loose?a[S]:a[_];if(!i.test(e)){return null}try{return new SemVer(e,t)}catch(e){return null}}t.valid=valid;function valid(e,t){var i=parse(e,t);return i?i.version:null}t.clean=clean;function clean(e,t){var i=parse(e.trim().replace(/^[=v]+/,""),t);return i?i.version:null}t.SemVer=SemVer;function SemVer(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){if(e.loose===t.loose){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError("Invalid Version: "+e)}if(e.length>r){throw new TypeError("version is longer than "+r+" characters")}if(!(this instanceof SemVer)){return new SemVer(e,t)}i("SemVer",e,t);this.options=t;this.loose=!!t.loose;var s=e.trim().match(t.loose?a[S]:a[_]);if(!s){throw new TypeError("Invalid Version: "+e)}this.raw=e;this.major=+s[1];this.minor=+s[2];this.patch=+s[3];if(this.major>n||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>n||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>n||this.patch<0){throw new TypeError("Invalid patch version")}if(!s[4]){this.prerelease=[]}else{this.prerelease=s[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<n){return t}}return e})}this.build=s[5]?s[5].split("."):[];this.format()}SemVer.prototype.format=function(){this.version=this.major+"."+this.minor+"."+this.patch;if(this.prerelease.length){this.version+="-"+this.prerelease.join(".")}return this.version};SemVer.prototype.toString=function(){return this.version};SemVer.prototype.compare=function(e){i("SemVer.compare",this.version,this.options,e);if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}return this.compareMain(e)||this.comparePre(e)};SemVer.prototype.compareMain=function(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}return compareIdentifiers(this.major,e.major)||compareIdentifiers(this.minor,e.minor)||compareIdentifiers(this.patch,e.patch)};SemVer.prototype.comparePre=function(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}if(this.prerelease.length&&!e.prerelease.length){return-1}else if(!this.prerelease.length&&e.prerelease.length){return 1}else if(!this.prerelease.length&&!e.prerelease.length){return 0}var t=0;do{var r=this.prerelease[t];var n=e.prerelease[t];i("prerelease compare",t,r,n);if(r===undefined&&n===undefined){return 0}else if(n===undefined){return 1}else if(r===undefined){return-1}else if(r===n){continue}else{return compareIdentifiers(r,n)}}while(++t)};SemVer.prototype.compareBuild=function(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}var t=0;do{var r=this.build[t];var n=e.build[t];i("prerelease compare",t,r,n);if(r===undefined&&n===undefined){return 0}else if(n===undefined){return 1}else if(r===undefined){return-1}else if(r===n){continue}else{return compareIdentifiers(r,n)}}while(++t)};SemVer.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0;this.patch=0;this.minor=0;this.major++;this.inc("pre",t);break;case"preminor":this.prerelease.length=0;this.patch=0;this.minor++;this.inc("pre",t);break;case"prepatch":this.prerelease.length=0;this.inc("patch",t);this.inc("pre",t);break;case"prerelease":if(this.prerelease.length===0){this.inc("patch",t)}this.inc("pre",t);break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0){this.major++}this.minor=0;this.patch=0;this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0){this.minor++}this.patch=0;this.prerelease=[];break;case"patch":if(this.prerelease.length===0){this.patch++}this.prerelease=[];break;case"pre":if(this.prerelease.length===0){this.prerelease=[0]}else{var i=this.prerelease.length;while(--i>=0){if(typeof this.prerelease[i]==="number"){this.prerelease[i]++;i=-2}}if(i===-1){this.prerelease.push(0)}}if(t){if(this.prerelease[0]===t){if(isNaN(this.prerelease[1])){this.prerelease=[t,0]}}else{this.prerelease=[t,0]}}break;default:throw new Error("invalid increment argument: "+e)}this.format();this.raw=this.version;return this};t.inc=inc;function inc(e,t,i,r){if(typeof i==="string"){r=i;i=undefined}try{return new SemVer(e,i).inc(t,r).version}catch(e){return null}}t.diff=diff;function diff(e,t){if(eq(e,t)){return null}else{var i=parse(e);var r=parse(t);var n="";if(i.prerelease.length||r.prerelease.length){n="pre";var s="prerelease"}for(var a in i){if(a==="major"||a==="minor"||a==="patch"){if(i[a]!==r[a]){return n+a}}}return s}}t.compareIdentifiers=compareIdentifiers;var Y=/^[0-9]+$/;function compareIdentifiers(e,t){var i=Y.test(e);var r=Y.test(t);if(i&&r){e=+e;t=+t}return e===t?0:i&&!r?-1:r&&!i?1:e<t?-1:1}t.rcompareIdentifiers=rcompareIdentifiers;function rcompareIdentifiers(e,t){return compareIdentifiers(t,e)}t.major=major;function major(e,t){return new SemVer(e,t).major}t.minor=minor;function minor(e,t){return new SemVer(e,t).minor}t.patch=patch;function patch(e,t){return new SemVer(e,t).patch}t.compare=compare;function compare(e,t,i){return new SemVer(e,i).compare(new SemVer(t,i))}t.compareLoose=compareLoose;function compareLoose(e,t){return compare(e,t,true)}t.compareBuild=compareBuild;function compareBuild(e,t,i){var r=new SemVer(e,i);var n=new SemVer(t,i);return r.compare(n)||r.compareBuild(n)}t.rcompare=rcompare;function rcompare(e,t,i){return compare(t,e,i)}t.sort=sort;function sort(e,i){return e.sort(function(e,r){return t.compareBuild(e,r,i)})}t.rsort=rsort;function rsort(e,i){return e.sort(function(e,r){return t.compareBuild(r,e,i)})}t.gt=gt;function gt(e,t,i){return compare(e,t,i)>0}t.lt=lt;function lt(e,t,i){return compare(e,t,i)<0}t.eq=eq;function eq(e,t,i){return compare(e,t,i)===0}t.neq=neq;function neq(e,t,i){return compare(e,t,i)!==0}t.gte=gte;function gte(e,t,i){return compare(e,t,i)>=0}t.lte=lte;function lte(e,t,i){return compare(e,t,i)<=0}t.cmp=cmp;function cmp(e,t,i,r){switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof i==="object")i=i.version;return e===i;case"!==":if(typeof e==="object")e=e.version;if(typeof i==="object")i=i.version;return e!==i;case"":case"=":case"==":return eq(e,i,r);case"!=":return neq(e,i,r);case">":return gt(e,i,r);case">=":return gte(e,i,r);case"<":return lt(e,i,r);case"<=":return lte(e,i,r);default:throw new TypeError("Invalid operator: "+t)}}t.Comparator=Comparator;function Comparator(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}if(!(this instanceof Comparator)){return new Comparator(e,t)}i("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===Q){this.value=""}else{this.value=this.operator+this.semver.version}i("comp",this)}var Q={};Comparator.prototype.parse=function(e){var t=this.options.loose?a[W]:a[q];var i=e.match(t);if(!i){throw new TypeError("Invalid comparator: "+e)}this.operator=i[1]!==undefined?i[1]:"";if(this.operator==="="){this.operator=""}if(!i[2]){this.semver=Q}else{this.semver=new SemVer(i[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(e){i("Comparator.test",e,this.options.loose);if(this.semver===Q||e===Q){return true}if(typeof e==="string"){e=new SemVer(e,this.options)}return cmp(e,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}var i;if(this.operator===""){if(this.value===""){return true}i=new Range(e.value,t);return satisfies(this.value,i,t)}else if(e.operator===""){if(e.value===""){return true}i=new Range(this.value,t);return satisfies(e.semver,i,t)}var r=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");var n=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");var s=this.semver.version===e.semver.version;var a=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");var o=cmp(this.semver,"<",e.semver,t)&&((this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"));var u=cmp(this.semver,">",e.semver,t)&&((this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">"));return r||n||s&&a||o||u};t.Range=Range;function Range(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof Comparator){return new Range(e.value,t)}if(!(this instanceof Range)){return new Range(e,t)}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e;this.set=e.split(/\s*\|\|\s*/).map(function(e){return this.parseRange(e.trim())},this).filter(function(e){return e.length});if(!this.set.length){throw new TypeError("Invalid SemVer Range: "+e)}this.format()}Range.prototype.format=function(){this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim();return this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var r=t?a[M]:a[z];e=e.replace(r,hyphenReplace);i("hyphen replace",e);e=e.replace(a[G],V);i("comparator trim",e,a[G]);e=e.replace(a[I],$);e=e.replace(a[B],D);e=e.split(/\s+/).join(" ");var n=t?a[W]:a[q];var s=e.split(" ").map(function(e){return parseComparator(e,this.options)},this).join(" ").split(/\s+/);if(this.options.loose){s=s.filter(function(e){return!!e.match(n)})}s=s.map(function(e){return new Comparator(e,this.options)},this);return s};Range.prototype.intersects=function(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some(function(i){return isSatisfiable(i,t)&&e.set.some(function(e){return isSatisfiable(e,t)&&i.every(function(i){return e.every(function(e){return i.intersects(e,t)})})})})};function isSatisfiable(e,t){var i=true;var r=e.slice();var n=r.pop();while(i&&r.length){i=r.every(function(e){return n.intersects(e,t)});n=r.pop()}return i}t.toComparators=toComparators;function toComparators(e,t){return new Range(e,t).set.map(function(e){return e.map(function(e){return e.value}).join(" ").trim().split(" ")})}function parseComparator(e,t){i("comp",e,t);e=replaceCarets(e,t);i("caret",e);e=replaceTildes(e,t);i("tildes",e);e=replaceXRanges(e,t);i("xrange",e);e=replaceStars(e,t);i("stars",e);return e}function isX(e){return!e||e.toLowerCase()==="x"||e==="*"}function replaceTildes(e,t){return e.trim().split(/\s+/).map(function(e){return replaceTilde(e,t)}).join(" ")}function replaceTilde(e,t){var r=t.loose?a[F]:a[P];return e.replace(r,function(t,r,n,s,a){i("tilde",e,t,r,n,s,a);var o;if(isX(r)){o=""}else if(isX(n)){o=">="+r+".0.0 <"+(+r+1)+".0.0"}else if(isX(s)){o=">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0"}else if(a){i("replaceTilde pr",a);o=">="+r+"."+n+"."+s+"-"+a+" <"+r+"."+(+n+1)+".0"}else{o=">="+r+"."+n+"."+s+" <"+r+"."+(+n+1)+".0"}i("tilde return",o);return o})}function replaceCarets(e,t){return e.trim().split(/\s+/).map(function(e){return replaceCaret(e,t)}).join(" ")}function replaceCaret(e,t){i("caret",e,t);var r=t.loose?a[U]:a[H];return e.replace(r,function(t,r,n,s,a){i("caret",e,t,r,n,s,a);var o;if(isX(r)){o=""}else if(isX(n)){o=">="+r+".0.0 <"+(+r+1)+".0.0"}else if(isX(s)){if(r==="0"){o=">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0"}else{o=">="+r+"."+n+".0 <"+(+r+1)+".0.0"}}else if(a){i("replaceCaret pr",a);if(r==="0"){if(n==="0"){o=">="+r+"."+n+"."+s+"-"+a+" <"+r+"."+n+"."+(+s+1)}else{o=">="+r+"."+n+"."+s+"-"+a+" <"+r+"."+(+n+1)+".0"}}else{o=">="+r+"."+n+"."+s+"-"+a+" <"+(+r+1)+".0.0"}}else{i("no pr");if(r==="0"){if(n==="0"){o=">="+r+"."+n+"."+s+" <"+r+"."+n+"."+(+s+1)}else{o=">="+r+"."+n+"."+s+" <"+r+"."+(+n+1)+".0"}}else{o=">="+r+"."+n+"."+s+" <"+(+r+1)+".0.0"}}i("caret return",o);return o})}function replaceXRanges(e,t){i("replaceXRanges",e,t);return e.split(/\s+/).map(function(e){return replaceXRange(e,t)}).join(" ")}function replaceXRange(e,t){e=e.trim();var r=t.loose?a[O]:a[C];return e.replace(r,function(t,r,n,s,a,o){i("xRange",e,t,r,n,s,a,o);var u=isX(n);var c=u||isX(s);var l=c||isX(a);var f=l;if(r==="="&&f){r=""}if(u){if(r===">"||r==="<"){t="<0.0.0"}else{t="*"}}else if(r&&f){if(c){s=0}a=0;if(r===">"){r=">=";if(c){n=+n+1;s=0;a=0}else{s=+s+1;a=0}}else if(r==="<="){r="<";if(c){n=+n+1}else{s=+s+1}}t=r+n+"."+s+"."+a}else if(c){t=">="+n+".0.0 <"+(+n+1)+".0.0"}else if(l){t=">="+n+"."+s+".0 <"+n+"."+(+s+1)+".0"}i("xRange return",t);return t})}function replaceStars(e,t){i("replaceStars",e,t);return e.trim().replace(a[X],"")}function hyphenReplace(e,t,i,r,n,s,a,o,u,c,l,f,h){if(isX(i)){t=""}else if(isX(r)){t=">="+i+".0.0"}else if(isX(n)){t=">="+i+"."+r+".0"}else{t=">="+t}if(isX(u)){o=""}else if(isX(c)){o="<"+(+u+1)+".0.0"}else if(isX(l)){o="<"+u+"."+(+c+1)+".0"}else if(f){o="<="+u+"."+c+"."+l+"-"+f}else{o="<="+o}return(t+" "+o).trim()}Range.prototype.test=function(e){if(!e){return false}if(typeof e==="string"){e=new SemVer(e,this.options)}for(var t=0;t<this.set.length;t++){if(testSet(this.set[t],e,this.options)){return true}}return false};function testSet(e,t,r){for(var n=0;n<e.length;n++){if(!e[n].test(t)){return false}}if(t.prerelease.length&&!r.includePrerelease){for(n=0;n<e.length;n++){i(e[n].semver);if(e[n].semver===Q){continue}if(e[n].semver.prerelease.length>0){var s=e[n].semver;if(s.major===t.major&&s.minor===t.minor&&s.patch===t.patch){return true}}}return false}return true}t.satisfies=satisfies;function satisfies(e,t,i){try{t=new Range(t,i)}catch(e){return false}return t.test(e)}t.maxSatisfying=maxSatisfying;function maxSatisfying(e,t,i){var r=null;var n=null;try{var s=new Range(t,i)}catch(e){return null}e.forEach(function(e){if(s.test(e)){if(!r||n.compare(e)===-1){r=e;n=new SemVer(r,i)}}});return r}t.minSatisfying=minSatisfying;function minSatisfying(e,t,i){var r=null;var n=null;try{var s=new Range(t,i)}catch(e){return null}e.forEach(function(e){if(s.test(e)){if(!r||n.compare(e)===1){r=e;n=new SemVer(r,i)}}});return r}t.minVersion=minVersion;function minVersion(e,t){e=new Range(e,t);var i=new SemVer("0.0.0");if(e.test(i)){return i}i=new SemVer("0.0.0-0");if(e.test(i)){return i}i=null;for(var r=0;r<e.set.length;++r){var n=e.set[r];n.forEach(function(e){var t=new SemVer(e.semver.version);switch(e.operator){case">":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!i||gt(i,t)){i=t}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}})}if(i&&e.test(i)){return i}return null}t.validRange=validRange;function validRange(e,t){try{return new Range(e,t).range||"*"}catch(e){return null}}t.ltr=ltr;function ltr(e,t,i){return outside(e,t,"<",i)}t.gtr=gtr;function gtr(e,t,i){return outside(e,t,">",i)}t.outside=outside;function outside(e,t,i,r){e=new SemVer(e,r);t=new Range(t,r);var n,s,a,o,u;switch(i){case">":n=gt;s=lte;a=lt;o=">";u=">=";break;case"<":n=lt;s=gte;a=gt;o="<";u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(e,t,r)){return false}for(var c=0;c<t.set.length;++c){var l=t.set[c];var f=null;var h=null;l.forEach(function(e){if(e.semver===Q){e=new Comparator(">=0.0.0")}f=f||e;h=h||e;if(n(e.semver,f.semver,r)){f=e}else if(a(e.semver,h.semver,r)){h=e}});if(f.operator===o||f.operator===u){return false}if((!h.operator||h.operator===o)&&s(e,h.semver)){return false}else if(h.operator===u&&a(e,h.semver)){return false}}return true}t.prerelease=prerelease;function prerelease(e,t){var i=parse(e,t);return i&&i.prerelease.length?i.prerelease:null}t.intersects=intersects;function intersects(e,t,i){e=new Range(e,i);t=new Range(t,i);return e.intersects(t)}t.coerce=coerce;function coerce(e,t){if(e instanceof SemVer){return e}if(typeof e!=="string"){return null}var i=e.match(a[N]);if(i==null){return null}return parse(i[1]+"."+(i[2]||"0")+"."+(i[3]||"0"),t)}},4628:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.collectHasSegments=t.sourceToRegex=t.convertTrailingSlash=t.convertHeaders=t.convertRewrites=t.convertRedirects=t.convertCleanUrls=t.getCleanUrls=void 0;const r=i(8835);const n=i(6671);const s="__UN_NAMED_SEGMENT__";function getCleanUrls(e){const t=e.map(toRoute).filter(e=>e.endsWith(".html")).map(e=>({html:e,clean:e.slice(0,-5)}));return t}t.getCleanUrls=getCleanUrls;function convertCleanUrls(e,t,i=308){const r=[];if(e){const e=t?"/$1/":"/$1";r.push({src:"^/(?:(.+)/)?index(?:\\.html)?/?$",headers:{Location:e},status:i});r.push({src:"^/(.*)\\.html/?$",headers:{Location:e},status:i})}return r}t.convertCleanUrls=convertCleanUrls;function convertRedirects(e,t=308){return e.map(e=>{const{src:i,segments:r}=sourceToRegex(e.source);const n=collectHasSegments(e.has);try{const s=replaceSegments(r,n,e.destination,true);let a;if(typeof e.permanent==="boolean"){a=e.permanent?308:307}else if(e.statusCode){a=e.statusCode}else{a=t}const o={src:i,headers:{Location:s},status:a};if(e.has){o.has=e.has}return o}catch(t){throw new Error(`Failed to parse redirect: ${JSON.stringify(e)}`)}})}t.convertRedirects=convertRedirects;function convertRewrites(e,t){return e.map(e=>{const{src:i,segments:r}=sourceToRegex(e.source);const n=collectHasSegments(e.has);try{const s=replaceSegments(r,n,e.destination,false,t);const a={src:i,dest:s,check:true};if(e.has){a.has=e.has}return a}catch(t){throw new Error(`Failed to parse rewrite: ${JSON.stringify(e)}`)}})}t.convertRewrites=convertRewrites;function convertHeaders(e){return e.map(e=>{const t={};const{src:i,segments:r}=sourceToRegex(e.source);const n=collectHasSegments(e.has);const a=r.filter(e=>e!==s);const o={};r.forEach((e,t)=>{o[e]=toSegmentDest(t)});n.forEach(e=>{o[e]="$"+e});e.headers.forEach(({key:e,value:i})=>{if(a.length>0||n.length>0){if(e.includes(":")){e=safelyCompile(e,o)}if(i.includes(":")){i=safelyCompile(i,o)}}t[e]=i});const u={src:i,headers:t,continue:true};if(e.has){u.has=e.has}return u})}t.convertHeaders=convertHeaders;function convertTrailingSlash(e,t=308){const i=[];if(e){i.push({src:"^/\\.well-known(?:/.*)?$"});i.push({src:"^/((?:[^/]+/)*[^/\\.]+)$",headers:{Location:"/$1/"},status:t});i.push({src:"^/((?:[^/]+/)*[^/]+\\.\\w+)/$",headers:{Location:"/$1"},status:t})}else{i.push({src:"^/(.*)\\/$",headers:{Location:"/$1"},status:t})}return i}t.convertTrailingSlash=convertTrailingSlash;function sourceToRegex(e){const t=[];const i=n.pathToRegexp(e,t,{strict:true,sensitive:true,delimiter:"/"});const r=t.map(e=>e.name).map(e=>{if(typeof e!=="string"){return s}return e});return{src:i.source,segments:r}}t.sourceToRegex=sourceToRegex;const a=/\(\?<([a-zA-Z][a-zA-Z0-9]*)>/g;function collectHasSegments(e){const t=new Set;for(const i of e||[]){if("key"in i&&i.type==="header"){i.key=i.key.toLowerCase()}if(!i.value&&"key"in i){t.add(i.key)}if(i.value){for(const e of i.value.matchAll(a)){if(e[1]){t.add(e[1])}}if(i.type==="host"){t.add("host")}}}return[...t]}t.collectHasSegments=collectHasSegments;const o=(e,t)=>e.replace(new RegExp(`:${t}`,"g"),`__ESC_COLON_${t}`);const u=e=>e.replace(/__ESC_COLON_/gi,":");function replaceSegments(e,t,i,a,c){const l=e.filter(e=>e!==s);const f=i.includes(":")&&l.length>0||t.length>0||!a;if(!f){return i}let h=i;const p={};e.forEach((e,t)=>{p[e]=toSegmentDest(t);h=o(h,e)});t.forEach(e=>{p[e]="$"+e;h=o(h,e)});const d=r.parse(h,true);delete d.href;delete d.path;delete d.search;delete d.host;let{pathname:v,hash:y,query:g,hostname:b,...m}=d;v=u(v||"");y=u(y||"");b=u(b||"");let _=new Set;const w=[];const E=[];const S=[];try{n.pathToRegexp(v,w);n.pathToRegexp(y||"",E);n.pathToRegexp(b||"",S)}catch(e){}_=new Set([...w,...E,...S].map(e=>e.name).filter(e=>typeof e==="string"));v=safelyCompile(v,p,true);y=y?safelyCompile(y,p,true):null;b=b?safelyCompile(b,p,true):null;for(const[e,t]of Object.entries(g)){if(Array.isArray(t)){g[e]=t.map(e=>safelyCompile(u(e),p,true))}else{g[e]=safelyCompile(u(t),p,true)}}const x=Object.keys(p);const R=!a&&!x.some(e=>!(c&&c.includes(e))&&_.has(e));if(R){for(const e of x){if(!(e in g)&&e!==s){g[e]=p[e]}}}i=r.format({...m,hostname:b,pathname:v,query:g,hash:y});return i.replace(/%24/g,"$")}function safelyCompile(e,t,i){if(!e){return e}if(i){try{return n.compile(e,{validate:false})(t)}catch(e){}}for(const i of Object.keys(t)){if(e.includes(`:${i}`)){e=e.replace(new RegExp(`:${i}\\*`,"g"),`:${i}--ESCAPED_PARAM_ASTERISK`).replace(new RegExp(`:${i}\\?`,"g"),`:${i}--ESCAPED_PARAM_QUESTION`).replace(new RegExp(`:${i}\\+`,"g"),`:${i}--ESCAPED_PARAM_PLUS`).replace(new RegExp(`:${i}(?!\\w)`,"g"),`--ESCAPED_PARAM_COLON${i}`)}}e=e.replace(/(:|\*|\?|\+|\(|\)|\{|\})/g,"\\$1").replace(/--ESCAPED_PARAM_PLUS/g,"+").replace(/--ESCAPED_PARAM_COLON/g,":").replace(/--ESCAPED_PARAM_QUESTION/g,"?").replace(/--ESCAPED_PARAM_ASTERISK/g,"*");return n.compile(`/${e}`,{validate:false})(t).slice(1)}function toSegmentDest(e){const t=e+1;return"$"+t.toString()}function toRoute(e){return e.startsWith("/")?e:"/"+e}},9892:function(e,t,i){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});const n=r(i(5392));const s=r(i(5622));const a=r(i(2879));const o=i(4411);function getCustomData(e,t){return`\n// @ts-nocheck\nmodule.exports = function(...args) {\n let original = require('./${e}');\n\n const finalConfig = {};\n const target = { target: '${t}' };\n\n if (typeof original === 'function' && original.constructor.name === 'AsyncFunction') {\n // AsyncFunctions will become promises\n original = original(...args);\n }\n\n if (original instanceof Promise) {\n // Special case for promises, as it's currently not supported\n // and will just error later on\n return original\n .then((orignalConfig) => Object.assign(finalConfig, orignalConfig))\n .then((config) => Object.assign(config, target));\n } else if (typeof original === 'function') {\n Object.assign(finalConfig, original(...args));\n } else if (typeof original === 'object') {\n Object.assign(finalConfig, original);\n }\n\n Object.assign(finalConfig, target);\n\n return finalConfig;\n}\n `.trim()}function getDefaultData(e){return`\n// @ts-nocheck\nmodule.exports = { target: '${e}' };\n `.trim()}async function createServerlessConfig(e,t,i){let r="serverless";if(i){try{if(a.default.gte(i,o.ExperimentalTraceVersion)){r="experimental-serverless-trace"}}catch(e){}}const u=s.default.join(t,"next.config.js");const c=s.default.join(e,"next.config.js");const l=`next.config.__vercel_builder_backup__.js`;const f=n.default.existsSync(u);const h=n.default.existsSync(c);let p;let d;if(f){p=u;d=s.default.join(t,l)}else if(h){p=c;d=s.default.join(e,l)}else{p=u;d=s.default.join(t,l)}if(n.default.existsSync(p)){await n.default.rename(p,d);await n.default.writeFile(p,getCustomData(l,r))}else{await n.default.writeFile(p,getDefaultData(r))}return r}t.default=createServerlessConfig},6974:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.EDGE_FUNCTION_USER_SCRIPT_SIZE_LIMIT=void 0;const i=1024;const r=1024*i;const n=r;const s=20*i;t.EDGE_FUNCTION_USER_SCRIPT_SIZE_LIMIT=n-s},8055:function(e,t,i){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.getNextjsEdgeFunctionSource=void 0;const n=i(5392);const s=i(932);const a=i(9239);const o=i(5622);const u=i(6974);const c=r(i(8761));const l=i(1669);const f=r(i(539));const h=r(i(8250));const p=(0,l.promisify)(c.default.gzip);async function getNextjsEdgeFunctionSource(e,t,i,r){const u=new s.ConcatSource((0,a.raw)(`let _ENTRIES = {};`));for(const t of e){const e=(0,o.join)(i,t);const r=await(0,n.readFile)(e,"utf8");u.add((0,a.raw)(`\n/**/;`));u.add(await(0,a.fileToSource)(r,t,e))}const c=u.source();await validateScript(c);const l=`(function () {\n const module = { exports: {}, loaded: false };\n const fn = (function(module,exports) {${h.default}\n});\n fn(module, module.exports);\n return module.exports;\n })`;return(0,a.sourcemapped)`
2
2
  ${(0,a.raw)(getWasmImportStatements(r))}
3
3
  ${u};
4
4
  export default ${(0,a.raw)(l)}.call({}).default(
5
5
  ${(0,a.raw)(JSON.stringify(t))}
6
- )`}t.getNextjsEdgeFunctionSource=getNextjsEdgeFunctionSource;function getWasmImportStatements(e=[]){return e.filter(({name:e})=>e.startsWith("wasm_")).map(({name:e})=>{const t=`/wasm/${e}.wasm`;return`const ${e} = require(${JSON.stringify(t)});`}).join("\n")}async function validateScript(e){const t=await p(e);if(t.length>u.EDGE_FUNCTION_USER_SCRIPT_SIZE_LIMIT){throw new Error(`Exceeds maximum edge function script size: ${(0,f.default)(t.length)} / ${(0,f.default)(u.EDGE_FUNCTION_USER_SCRIPT_SIZE_LIMIT)}`)}}},2855:function(e,t,i){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.prepareCache=t.build=t.MAX_AGE_ONE_YEAR=t.htmlContentType=t.version=void 0;const n=i(3445);const s=i(4628);const a=i(9582);const o=i(7916);const u=r(i(1426));const c=r(i(4823));const l=i(5392);const f=r(i(2087));const h=r(i(5622));const p=r(i(9293));const d=r(i(2879));const v=r(i(8835));const y=r(i(9892));const g=r(i(1207));const b=i(5840);const m=i(4411);t.version=2;t.htmlContentType="text/html; charset=utf-8";const _="v10.0.9-canary.4";const w="v10.2.3-canary.1";const E="v11.0.2-canary.15";t.MAX_AGE_ONE_YEAR=31536e3;async function readPackageJson(e){const t=h.default.join(e,"package.json");try{return JSON.parse(await(0,l.readFile)(t,"utf8"))}catch(e){(0,n.debug)("package.json not found in entry");return{}}}async function writePackageJson(e,t){await(0,l.writeFile)(h.default.join(e,"package.json"),JSON.stringify(t,null,2))}async function writeNpmRc(e,t){await(0,l.writeFile)(h.default.join(e,".npmrc"),`//registry.npmjs.org/:_authToken=${t}`)}function getRealNextVersion(e){try{const t=require((0,p.default)(e,"next/package.json")).version;console.log(`Detected Next.js version: ${t}`);return t}catch(e){console.log(`Warning: Could not identify Next.js version, ensure it is defined as a project dependency.`);return false}}async function getNextVersionRange(e){let t=false;const i=await readPackageJson(e);if(i.dependencies&&i.dependencies.next){t=i.dependencies.next}else if(i.devDependencies&&i.devDependencies.next){t=i.devDependencies.next}return t}function isLegacyNext(e){if(e==="canary"||e==="latest"){return false}if(g.default.indexOf(e)!==-1){return true}const t=d.default.maxSatisfying(g.default,e);if(t===null){return false}return true}const S=async({files:e,workPath:i,repoRootPath:r,entrypoint:p,config:g={},meta:S={}})=>{var x,R,A,k;(0,m.validateEntrypoint)(p);const T=g.maxLambdaSize||50*1e3*1e3;let C=h.default.dirname(p);let O=h.default.join(i,C);if(g.rootDirectory){r=O;O=h.default.join(O,g.rootDirectory)}const N=g.outputDirectory||".next";const j=h.default.join(O,N,"static");const I=r||i;(0,n.debug)(JSON.stringify({repoRootPath:r,baseDir:I,workPath:i,entryPath:O,entryDirectory:C,outputDirectory:N},null,2));Object.keys(process.env).filter(e=>e.startsWith("VERCEL_")).forEach(e=>{const t=`NEXT_PUBLIC_${e}`;if(!(t in process.env)){process.env[t]=process.env[e]}});await(0,n.download)(e,i,S);if(g.rootDirectory){i=h.default.join(i,g.rootDirectory)}let $=await readPackageJson(O);const P=await getNextVersionRange(O);const F=await(0,n.getNodeVersion)(O,undefined,g,S);const L=(0,n.getSpawnOptions)(S,F);const B=await(0,c.default)(["now.json","vercel.json"],{cwd:O});let D=false;const H=!!g.functions;if(await(0,l.pathExists)(j)){console.warn("WARNING: You should not upload the `.next` directory.")}const U=P&&isLegacyNext(P);(0,n.debug)(`MODE: ${U?"legacy":"server(less)"}`);if(U){console.warn("WARNING: your application is being deployed in @vercel/next's legacy mode. http://err.sh/vercel/vercel/now-next-legacy-mode");await Promise.all([(0,l.remove)(h.default.join(O,"yarn.lock")),(0,l.remove)(h.default.join(O,"package-lock.json"))]);(0,n.debug)("Normalizing package.json");$=(0,m.normalizePackageJson)($);(0,n.debug)("Normalized package.json result: ",$);await writePackageJson(O,$)}let W=(0,n.getScriptName)($,["vercel-build","now-build","build"]);const{installCommand:q,buildCommand:G}=g;if(!W&&!G){console.log("Your application is being built using `next build`. "+"If you need to define a different build step, please create a `vercel-build` script in your `package.json` "+'(e.g. `{ "scripts": { "vercel-build": "npm run prepare && next build" } }`).');await writePackageJson(O,{...$,scripts:{"vercel-build":"next build",...$.scripts}});W="vercel-build"}if(process.env.NPM_AUTH_TOKEN){(0,n.debug)("Found NPM_AUTH_TOKEN in environment, creating .npmrc");await writeNpmRc(O,process.env.NPM_AUTH_TOKEN)}if(typeof q==="string"){if(q.trim()){console.log(`Running "install" command: \`${q}\`...`);const{cliType:e,lockfileVersion:t}=await(0,n.scanParentDirs)(O);const i={YARN_NODE_LINKER:"node-modules",...L.env};if(e==="npm"){if(typeof t==="number"&&t>=2&&((F===null||F===void 0?void 0:F.major)||0)<16){i.PATH=`/node16/bin-npm7:${i.PATH}`;console.log("Detected `package-lock.json` generated by npm 7...")}}await(0,n.execCommand)(q,{...L,env:i,cwd:O})}else{console.log(`Skipping "install" command...`)}}else{await(0,n.runNpmInstall)(O,[],L,S,F)}const V=getRealNextVersion(O);if(!V){throw new n.NowBuildError({code:"NEXT_NO_VERSION",message:'No Next.js version could be detected in your project. Make sure `"next"` is installed in "dependencies" or "devDependencies"'})}let z=!(g.framework==="blitzjs")&&d.default.gte(V,_);const M=d.default.gte(V,w);const X=d.default.gte(V,"v11.0.2-canary.3");if(z){(0,n.debug)(`Application is being built in server mode since ${V} meets minimum version of ${_}`)}else{if(B){const e=JSON.parse(await(0,l.readFile)(B,"utf8"));if(Array.isArray(e.routes)&&e.routes.length>0){D=true;console.warn(`WARNING: your application is being opted out of @vercel/next's optimized lambdas mode due to legacy routes in ${h.default.basename(B)}. http://err.sh/vercel/vercel/next-legacy-routes-optimized-lambdas`)}}if(H){console.warn(`WARNING: Your application is being opted out of "@vercel/next" optimized lambdas mode due to \`functions\` config.\nMore info: http://err.sh/vercel/vercel/next-functions-config-optimized-lambdas`)}}const K=!z&&!D&&!H&&typeof g.sharedLambdas==="undefined"?true:!!g.sharedLambdas;let Y;if(z){Y="server"}else if(!U){Y=await(0,y.default)(i,O,V)}const Q={...L.env};const J=Math.floor(f.default.totalmem()/1024**2)-128;Q.NODE_OPTIONS=`--max_old_space_size=${J}`;if(Y){Q.NEXT_PRIVATE_TARGET=Y}Q.NEXT_PRIVATE_OUTPUT_TRACE_ROOT=I;if(z){Q.NODE_ENV="production"}if(G){const e=await(0,n.getNodeBinPath)({cwd:O});Q.PATH=`${e}${h.default.delimiter}${Q.PATH}`;if(!Q.YARN_NODE_LINKER){Q.YARN_NODE_LINKER="node-modules"}(0,n.debug)(`Added "${e}" to PATH env because a build command was used.`);console.log(`Running "${G}"`);await(0,n.execCommand)(G,{...L,cwd:O,env:Q})}else if(W){await(0,n.runPackageJsonScript)(O,W,{...L,env:Q})}(0,n.debug)("build command exited");let Z=h.default.posix.join("/",C).replace(/\/+$/,"");const ee=z?await(0,m.getRequiredServerFilesManifest)(O,N):false;z=!!ee;const te=await(0,m.getRoutesManifest)(O,N,V);const ie=await(0,m.getImagesManifest)(O,N);const re=await(0,m.getPrerenderManifest)(O,N);const ne=new Set(Object.keys(re.omittedRoutes));const se=typeof((x=re.staticRoutes[(te===null||te===void 0?void 0:te.i18n)?h.default.join("/",te===null||te===void 0?void 0:te.i18n.defaultLocale,"/404"):"/404"])===null||x===void 0?void 0:x.initialRevalidate)==="number";const ae=((R=te===null||te===void 0?void 0:te.i18n)===null||R===void 0?void 0:R.domains)&&te.i18n.domains.length>0?te.i18n.domains.map(e=>{var t;return{domain:e.domain,value:e.defaultLocale===((t=te.i18n)===null||t===void 0?void 0:t.defaultLocale)?"":`/${e.defaultLocale}`}}):undefined;const oe=await(0,m.getPrivateOutputs)(h.default.join(O,N),{"next-stats.json":"_next/__private/stats.json",trace:"_next/__private/trace"});const ue=[];const ce=[];const le=[];const fe=[];let he=[];const pe=[];let de=[];let ve=false;let ye="";let ge="";if(U||K||z){try{ye=await(0,l.readFile)(h.default.join(O,N,"BUILD_ID"),"utf8");ge=(0,u.default)(ye)}catch(e){throw new n.NowBuildError({code:"NOW_NEXT_NO_BUILD_ID",message:'The BUILD_ID file was not found in the Output Directory. Did you forget to run "next build" in your Build Command?'})}}if(te){switch(te.version){case 1:case 2:case 3:case 4:{he.push(...(0,s.convertRedirects)(te.redirects));if(Array.isArray(te.rewrites)){le.push(...(0,s.convertRewrites)(te.rewrites,te.i18n?["nextInternalLocale"]:undefined))}else{ce.push(...(0,s.convertRewrites)(te.rewrites.beforeFiles).map(e=>{if("check"in e){if(M){delete e.check;e.continue=true}e.override=true}return e}));le.push(...(0,s.convertRewrites)(te.rewrites.afterFiles));fe.push(...(0,s.convertRewrites)(te.rewrites.fallback))}if(te.headers){ue.push(...(0,s.convertHeaders)(te.headers))}if(d.default.gte(V,E)){he.forEach((e,t)=>(0,m.updateRouteSrc)(e,t,te.redirects));le.forEach((e,t)=>(0,m.updateRouteSrc)(e,t,Array.isArray(te.rewrites)?te.rewrites:te.rewrites.afterFiles));ce.forEach((e,t)=>(0,m.updateRouteSrc)(e,t,Array.isArray(te.rewrites)?[]:te.rewrites.beforeFiles));fe.forEach((e,t)=>(0,m.updateRouteSrc)(e,t,Array.isArray(te.rewrites)?[]:te.rewrites.fallback));ue.forEach((e,t)=>(0,m.updateRouteSrc)(e,t,te.headers||[]))}if(te.basePath&&te.basePath!=="/"){const e=te.basePath;if(!e.startsWith("/")){throw new n.NowBuildError({code:"NEXT_BASEPATH_STARTING_SLASH",message:"basePath must start with `/`. Please upgrade your `@vercel/next` builder and try again. Contact support if this continues to happen."})}if(e.endsWith("/")){throw new n.NowBuildError({code:"NEXT_BASEPATH_TRAILING_SLASH",message:"basePath must not end with `/`. Please upgrade your `@vercel/next` builder and try again. Contact support if this continues to happen."})}if(C.length>1){throw new n.NowBuildError({code:"NEXT_BASEPATH_LEGACY_BUILDS",message:"basePath can not be used with `builds` in vercel.json, use Project Settings to configure your monorepo instead",link:"https://vercel.com/docs/platform/projects#project-settings"})}C=h.default.join(C,e);Z=h.default.posix.join("/",C).replace(/\/+$/,"")}if(te.pages404){ve=true}break}default:{throw new n.NowBuildError({code:"NEXT_VERSION_OUTDATED",message:"This version of `@vercel/next` does not support the version of Next.js you are trying to deploy.\n"+"Please upgrade your `@vercel/next` builder and try again. Contact support if this continues to happen."})}}}let be=h.default.join("/",C);be=be==="/"?"":be;if(ie){switch(ie.version){case 1:{if(!ie.images){throw new n.NowBuildError({code:"NEXT_IMAGES_MISSING",message:'image-manifest.json "images" is required. Contact support if this continues to happen.'})}const{images:e}=ie;if(!Array.isArray(e.domains)){throw new n.NowBuildError({code:"NEXT_IMAGES_DOMAINS",message:'image-manifest.json "images.domains" must be an array. Contact support if this continues to happen.'})}if(!Array.isArray(e.sizes)){throw new n.NowBuildError({code:"NEXT_IMAGES_SIZES",message:'image-manifest.json "images.sizes" must be an array. Contact support if this continues to happen.'})}if(e.remotePatterns&&!Array.isArray(e.remotePatterns)){throw new n.NowBuildError({code:"NEXT_IMAGES_REMOTEPATTERNS",message:'image-manifest.json "images.remotePatterns" must be an array. Contact support if this continues to happen'})}if(e.minimumCacheTTL&&!Number.isInteger(e.minimumCacheTTL)){throw new n.NowBuildError({code:"NEXT_IMAGES_MINIMUMCACHETTL",message:'image-manifest.json "images.minimumCacheTTL" must be an integer. Contact support if this continues to happen.'})}if(typeof e.dangerouslyAllowSVG!=="undefined"&&typeof e.dangerouslyAllowSVG!=="boolean"){throw new n.NowBuildError({code:"NEXT_IMAGES_DANGEROUSLYALLOWSVG",message:'image-manifest.json "images.dangerouslyAllowSVG" must be an boolean. Contact support if this continues to happen.'})}if(typeof e.contentSecurityPolicy!=="undefined"&&typeof e.contentSecurityPolicy!=="string"){throw new n.NowBuildError({code:"NEXT_IMAGES_CONTENTSECURITYPOLICY",message:'image-manifest.json "images.contentSecurityPolicy" must be an string. Contact support if this continues to happen.'})}break}default:{throw new n.NowBuildError({code:"NEXT_IMAGES_VERSION_UNKNOWN",message:"This version of `@vercel/next` does not support the version of Next.js you are trying to deploy.\n"+"Please upgrade your `@vercel/next` builder and try again. Contact support if this continues to happen."})}}}const me=await(0,m.getExportStatus)(O);if(me){const e=await(0,m.getExportIntent)(O);const{trailingSlash:i=false}=e||{};const r=await(0,m.getExportStatus)(O);if(!r){throw new n.NowBuildError({code:"NEXT_EXPORT_FAILED",message:"Exporting Next.js app failed. Please check your build logs and contact us if this continues."})}if(r.success!==true){throw new n.NowBuildError({code:"NEXT_EXPORT_FAILED",message:"Export of Next.js app failed. Please check your build logs."})}const s=r.outDirectory;(0,n.debug)(`next export should use trailing slash: ${i}`);const a=await(0,n.glob)("**",s);const o={...a,...oe.files};Object.entries(o).filter(([e])=>e.endsWith(".html")).forEach(([e,t])=>{const i=e.slice(0,-5);delete o[e];o[i]=t;if(t.type==="FileBlob"||t.type==="FileFsRef"){t.contentType=t.contentType||"text/html; charset=utf-8"}});return{output:o,images:((A=ie===null||ie===void 0?void 0:ie.images)===null||A===void 0?void 0:A.loader)==="default"?{domains:ie.images.domains,sizes:ie.images.sizes,remotePatterns:ie.images.remotePatterns,minimumCacheTTL:ie.images.minimumCacheTTL,dangerouslyAllowSVG:ie.images.dangerouslyAllowSVG,contentSecurityPolicy:ie.images.contentSecurityPolicy}:undefined,routes:[...oe.routes,...ue,...he,...ce,{src:h.default.join("/",C,"404/?"),status:404,continue:true},{handle:"filesystem"},...(te===null||te===void 0?void 0:te.basePath)?[{src:h.default.join("/",C,"_next/image/?"),dest:"/_next/image",check:true}]:[],{src:h.default.join("/",C,"_next/data/(.*)"),dest:h.default.join("/",C,"_next/data/$1"),check:true},{src:h.default.join("/",C,"_next/data/(.*)"),status:404},...le,{handle:"resource"},...fe,{src:h.default.join("/",C,".*"),status:404},{handle:"miss"},{src:h.default.join("/",C,"_next/static/(?:[^/]+/pages|pages|chunks|runtime|css|image|media)/.+"),status:404,check:true,dest:"$0"},{handle:"hit"},{src:h.default.join("/",C,`_next/static/(?:[^/]+/pages|pages|chunks|runtime|css|image|media|${ge})/.+`),headers:{"cache-control":`public,max-age=${t.MAX_AGE_ONE_YEAR},immutable`},continue:true,important:true},...o[h.default.join("./",C,"404")]||o[h.default.join("./",C,"404/index")]?[{handle:"error"},{status:404,src:h.default.join(C,".*"),dest:h.default.join("/",C,"404")}]:[]]}}if(U){(0,n.debug)("Running npm install --production...");await(0,n.runNpmInstall)(O,["--production"],L,S,F)}if(process.env.NPM_AUTH_TOKEN){await(0,l.remove)(h.default.join(O,".npmrc"))}const _e=[];he=he.filter(e=>{const t=e;const i=t.headers&&(t.headers.location||t.headers.Location);if(t.status===308&&(i==="/$1"||i==="/$1/")){t.continue=true;_e.push(t);return false}return true});const we=[];const Ee=[];const Se={};const xe={};const Re={};const Ae={};let ke={};const Te=[];let Ce;let Oe="";let Ne;if(U){const e=await(0,n.glob)("**",O);(0,n.debug)("Preparing serverless function files...");const t=await(0,n.glob)(`${N}/*`,O);const i=await(0,n.glob)(`${N}/server/*`,O);const r=(0,m.excludeFiles)(await(0,n.glob)("node_modules/**",O),e=>e.startsWith("node_modules/.cache"));const s={...r,...t,...i};if(e["next.config.js"]){s["next.config.js"]=e["next.config.js"]}const a=h.default.join(O,N,"server","static",ye,"pages");const o=await(0,n.glob)("**/!(_middleware).js",a);const u=h.default.join(__dirname,"legacy-launcher.js");const c=await(0,l.readFile)(u,"utf8");await Promise.all(Object.keys(o).map(async t=>{if(["_app.js","_error.js","_document.js"].includes(t)){return}const i=t.replace(/\.js$/,"");const r=c.replace("PATHNAME_PLACEHOLDER",`/${i.replace(/(^|\/)index$/,"")}`);const a={[`${N}/server/static/${ye}/pages/_document.js`]:e[`${N}/server/static/${ye}/pages/_document.js`],[`${N}/server/static/${ye}/pages/_app.js`]:e[`${N}/server/static/${ye}/pages/_app.js`],[`${N}/server/static/${ye}/pages/_error.js`]:e[`${N}/server/static/${ye}/pages/_error.js`],[`${N}/server/static/${ye}/pages/${t}`]:e[`${N}/server/static/${ye}/pages/${t}`]};let o={};if(g&&g.functions){o=await(0,n.getLambdaOptionsFromFunction)({sourceFile:await(0,m.getSourceFilePathFromPage)({workPath:O,page:t}),config:g})}(0,n.debug)(`Creating serverless function for page: "${t}"...`);Re[h.default.join(C,i)]=new n.NodejsLambda({files:{...s,...a,"___next_launcher.cjs":new n.FileBlob({data:r})},handler:"___next_launcher.cjs",runtime:F.runtime,...o,shouldAddHelpers:false,shouldAddSourcemapSupport:false,supportsMultiPayloads:!!process.env.NEXT_PRIVATE_MULTI_PAYLOAD});(0,n.debug)(`Created serverless function for page: "${t}"`)}))}else{(0,n.debug)("Preparing serverless function files...");const e=h.default.join(O,N,z?"server":"serverless","pages");const r=await(0,n.glob)("**/!(_middleware).js",e);const s=e=>e.replace(/\\/g,"/").match(/(serverless|server)\/pages\/api(\/|\.js$)/);const c=Object.keys(r).some(e=>s(r[e].fsPath));ke=await(0,m.filterStaticPages)(await(0,n.glob)("**/*.html",e),Te,C,t.htmlContentType,re,te);Ne=!!ke[h.default.join(C,"500")];Ce=ke[h.default.join(C,"404")]&&ve?h.default.join(C,"404"):ke[h.default.join(C,"_errors/404")]?h.default.join(C,"_errors/404"):undefined;const{i18n:f}=te||{};if(!Ce&&f){Ce=ke[h.default.join(C,f.defaultLocale,"404")]?h.default.join(C,f.defaultLocale,"404"):undefined}if(!Ne&&f){Ne=!!ke[h.default.join(C,f.defaultLocale,"500")]}if(te){switch(te.version){case 1:case 2:case 3:case 4:{if(te.dataRoutes){for(const e of te.dataRoutes){const t=re.omittedRoutes[e.page];const i=t||re.fallbackRoutes[e.page]||re.blockingFallbackRoutes[e.page];if(re.staticRoutes[e.page]||!(Ce&&c)&&t){continue}const r={src:(e.namedDataRouteRegex||e.dataRouteRegex).replace(/^\^/,`^${Z}`),dest:h.default.join("/",C,`${i&&i.dataRoute||e.page}${e.routeKeys?`?${Object.keys(e.routeKeys).map(t=>`${e.routeKeys[t]}=$${t}`).join("&")}`:""}`)};if(!z){r.check=true}if(t&&z){r.has=[{type:"cookie",key:"__prerender_bypass",value:re.bypassToken||undefined},{type:"cookie",key:"__next_preview_data"}]}const{i18n:n}=te;if(n){const t=r.src;r.src=r.src.replace(`/${ge}/`,`/${ge}/(?${i||z?"<nextLocale>":":"}${n.locales.map(e=>(0,u.default)(e)).join("|")})/`);if(r.src===t){r.src=r.src.replace(`/${ge}`,`/${ge}/(?${i||z?"<nextLocale>":":"}${n.locales.map(e=>(0,u.default)(e)).join("|")})[/]?`)}if(e.page==="/"){r.src=r.src.replace(/\/index\.json/,".json")}if(i){r.dest=r.dest.replace(`/${ye}/`,`/${ye}/$nextLocale/`)}else if(z){r.dest=r.dest.replace(e.page,`/$nextLocale${e.page}`)}}pe.push(r)}}break}default:{throw new n.NowBuildError({code:"NEXT_VERSION_OUTDATED",message:"This version of `@vercel/next` does not support the version of Next.js you are trying to deploy.\n"+"Please upgrade your `@vercel/next` builder and try again. Contact support if this continues to happen."})}}}if(ee){if(!te){throw new Error(`A routes-manifest could not be located, please check your outputDirectory and try again.`)}return(0,b.serverBuild)({config:g,nextVersion:V,dynamicPages:Te,canUsePreviewMode:c,staticPages:ke,lambdaPages:r,omittedPrerenderRoutes:ne,isCorrectLocaleAPIRoutes:X,pagesDir:e,headers:ue,beforeFilesRewrites:ce,afterFilesRewrites:le,fallbackRewrites:fe,workPath:i,redirects:he,nodeVersion:F,dynamicPrefix:be,routesManifest:te,imagesManifest:ie,wildcardConfig:ae,prerenderManifest:re,entryDirectory:C,entryPath:O,baseDir:I,dataRoutes:pe,escapedBuildId:ge,outputDirectory:N,trailingSlashRedirects:_e,lambdaCompressedByteLimit:T,requiredServerFilesManifest:ee,privateOutputs:oe,hasIsr404Page:se})}const p=Object.keys(r);let v=!Ce||p.length>1;if(p.length===0){const e=await(0,m.getNextConfig)(i,O);if(e!=null){console.info("Found next.config.js:");console.info(e);console.info()}throw new n.NowBuildError({code:"NEXT_NO_SERVERLESS_PAGES",message:"No serverless pages were built",link:"https://err.sh/vercel/vercel/now-next-no-serverless-pages-built"})}let y=v;try{if(V&&d.default.lt(V,m.ExperimentalTraceVersion)){(0,n.debug)("Next.js version is too old for us to trace the required dependencies.\n"+"Assuming Next.js has handled it!");y=false}}catch(e){console.log("Failed to check Next.js version for tracing compatibility: "+e)}let _;const w=new Set;Object.keys(re.staticRoutes).forEach(e=>{const t=(0,m.onPrerenderRouteInitial)(re,c,C,w,e,ve,te);if(t&&t.static404Page){Ce=t.static404Page}if(t&&t.static500Page){Ne=true}});const E={};const S={};let x;const R=[];const A=[];for(const e of p){const t=r[e].fsPath;const i=`/${e.replace(/\.js$/,"")}`;if(i==="/_error"&&Ce)continue;if(s(t)){R.push(e)}else if(!w.has(i)){A.push(e)}S[e]=(await(0,m.createPseudoLayer)({[e]:r[e]})).pseudoLayer[e]}const k=[...A,...R];if(y){v=!Ce||R.length>0||A.length>0;const e="Traced Next.js serverless functions for external files in";if(v){console.time(e)}const t=Object.create(null);const i=new o.Sema(25);const n={};const s=k.map(e=>r[e].fsPath);const u=await(0,a.nodeFileTrace)(s,{base:I,cache:t,processCwd:O});u.esmFileList.forEach(e=>u.fileList.add(e));const c=(0,m.getFilesMapFromReasons)(u.fileList,u.reasons);for(const e of k){const t={};const s=c.get(h.default.relative(I,r[e].fsPath));if(!s){throw new Error(`Invariant: Failed to trace ${e}, missing fileList`)}const a=u.reasons;await Promise.all(Array.from(s).map((0,m.collectTracedFiles)(I,n,i,a,t)));E[e]=t}if(v){console.timeEnd(e)}const l="Compressed shared serverless function files";if(v){console.time(l)}x=await(0,m.createPseudoLayer)(k.reduce((e,t)=>{Object.assign(e,E[t]);return e},{}));if(v){console.timeEnd(l)}}else{_=await(0,n.glob)("assets/**",h.default.join(O,N,"serverless"));const e=Object.keys(_);if(e.length>0){(0,n.debug)("detected (legacy) assets to be bundled with serverless function:");e.forEach(e=>(0,n.debug)(`\t${e}`));(0,n.debug)("\nPlease upgrade to Next.js 9.1 to leverage modern asset handling.")}}const j=h.default.join(__dirname,"templated-launcher.js");const $=await(0,l.readFile)(j,"utf8");const P=`All serverless functions created in`;if(v){console.time(P)}const L=[];const B=[];if(K){const e=await(0,m.getPageLambdaGroups)(O,g,A,new Set,E,S,(x===null||x===void 0?void 0:x.pseudoLayer)||{},0,0,T,[]);const t=await(0,m.getPageLambdaGroups)(O,g,R,new Set,E,S,(x===null||x===void 0?void 0:x.pseudoLayer)||{},0,0,T,[]);(0,n.debug)(JSON.stringify({apiLambdaGroups:t.map(e=>({pages:e.pages,isPrerender:e.isPrerenders,pseudoLayerBytes:e.pseudoLayerBytes})),pageLambdaGroups:e.map(e=>({pages:e.pages,isPrerender:e.isPrerenders,pseudoLayerBytes:e.pseudoLayerBytes}))},null,2));const a=[...t,...e];await(0,m.detectLambdaLimitExceeding)(a,T,S);let o=0;let c=0;for(const e of a){let t;for(const n of e.pages){if(["_app.js","_document.js"].includes(n)){continue}if(n==="_error.js"&&(Ce&&ke[Ce]||ve&&r["404.js"])){continue}const a=h.default.normalize(h.default.relative(i,r[n].fsPath));const l=n.replace(/\.js$/,"");const f=(0,m.isDynamicRoute)(l);t=s(a);if(f){Te.push((0,m.normalizePage)(l))}if(w.has(`/${l}`)){continue}const p=h.default.join("/",C,l);const d=t?o:c;const v=t?L:B;const y=v[d];let g=y;if(!g){g={pages:{},isApiLambda:!!t,pseudoLayer:e.pseudoLayer,lambdaCombinedBytes:e.pseudoLayerBytes,lambdaIdentifier:h.default.join(C,`__NEXT_${t?"API":"PAGE"}_LAMBDA_${d}`)}}const b=e=>{const t={src:`^${e.replace(/\/index$/,"(/|/index|)")}/?$`,dest:`${h.default.join("/",g.lambdaIdentifier)}`,headers:{"x-nextjs-page":p},check:true};if(f){Ee.push(t);Se[p]=t}else{we.push(t)}};const{i18n:_}=te||{};if(_){b(`[/]?(?:${_.locales.map(e=>(0,u.default)(e)).join("|")})?${(0,u.default)(p)}`)}else{b((0,u.default)(p))}if(n==="_error.js"||ve&&n==="404.js"){Oe=h.default.join("/",C,l)}g.pages[p]={pageFileName:a,pageName:n};g.pseudoLayer[h.default.join(h.default.relative(I,O),a)]=S[n];v[d]=g}if(t){o++}else{c++}}}else{await Promise.all(p.map(async e=>{if(["_app.js","_document.js"].includes(e)){return}if(e==="_error.js"&&(Ce&&ke[Ce]||ve&&r["404.js"])){return}const t=e.replace(/\.js$/,"");if((0,m.isDynamicRoute)(t)){Te.push((0,m.normalizePage)(t))}const i=h.default.normalize(h.default.relative(O,r[e].fsPath));const s=$.replace(/__LAUNCHER_PAGE_PATH__/g,JSON.stringify(y?`./${i}`:"./page"));const a={[h.default.join(h.default.relative(I,O),"___next_launcher.cjs")]:new n.FileBlob({data:s})};let o={};if(g&&g.functions){o=await(0,n.getLambdaOptionsFromFunction)({sourceFile:await(0,m.getSourceFilePathFromPage)({workPath:O,page:e}),config:g})}const u=(0,m.normalizeIndexOutput)(h.default.join(C,t),z);if(y){Re[u]=await(0,m.createLambdaFromPseudoLayers)({files:a,layers:[Object.keys(E[e]||{}).reduce((e,t)=>{e[t]=x===null||x===void 0?void 0:x.pseudoLayer[t];return e},{}),{[h.default.join(h.default.relative(I,O),i)]:S[e]}],handler:h.default.join(h.default.relative(I,O),"___next_launcher.cjs"),runtime:F.runtime,...o})}else{Re[u]=await(0,m.createLambdaFromPseudoLayers)({files:{...a,..._},layers:[{[h.default.join(h.default.relative(I,O),"page.js")]:S[e]}],handler:h.default.join(h.default.relative(I,O),"___next_launcher.cjs"),runtime:F.runtime,...o})}}))}de=await(0,m.getDynamicRoutes)(O,C,Te,false,te,ne,c,re.bypassToken||"",z).then(e=>(0,m.localizeDynamicRoutes)(e,be,C,ke,re,te,z,X));if(K){const e=h.default.join(__dirname,"templated-launcher-shared.js");const t=await(0,l.readFile)(e,"utf8");const i=await(0,m.getDynamicRoutes)(O,C,Te,false,te,undefined,c,re.bypassToken||"",z).then(e=>e.map(e=>{e.src=e.src.replace("^",`^${be}`);return e}));await Promise.all([...L,...B].map(async function buildLambdaGroup(e){const r=Object.keys(e.pages);const s=t.replace(/\/\/ __LAUNCHER_PAGE_HANDLER__/g,`\n const url = require('url');\n\n ${(te===null||te===void 0?void 0:te.i18n)?`\n function stripLocalePath(pathname) {\n // first item will be empty string from splitting at first char\n const pathnameParts = pathname.split('/')\n\n ;(${JSON.stringify(te.i18n.locales)}).some((locale) => {\n if (pathnameParts[1].toLowerCase() === locale.toLowerCase()) {\n pathnameParts.splice(1, 1)\n pathname = pathnameParts.join('/') || '/index'\n return true\n }\n return false\n })\n\n return pathname\n }\n `:`function stripLocalePath(pathname) { return pathname }`}\n\n page = function(req, res) {\n try {\n const pages = {\n ${r.map(t=>`'${t}': () => require('./${h.default.join("./",e.pages[t].pageFileName)}')`).join(",\n")}\n ${""}\n }\n let toRender = req.headers['x-nextjs-page']\n\n if (!toRender) {\n try {\n const { pathname } = url.parse(req.url)\n toRender = stripLocalePath(pathname).replace(/\\/$/, '') || '/index'\n } catch (_) {\n // handle failing to parse url\n res.statusCode = 400\n return res.end('Bad Request')\n }\n }\n\n let currentPage = pages[toRender]\n\n if (\n toRender &&\n !currentPage\n ) {\n if (toRender.includes('/_next/data')) {\n toRender = toRender\n .replace(new RegExp('/_next/data/${ge}/'), '/')\n .replace(/\\.json$/, '')\n\n toRender = stripLocalePath(toRender) || '/index'\n currentPage = pages[toRender]\n }\n\n if (!currentPage) {\n // for prerendered dynamic routes (/blog/post-1) we need to\n // find the match since it won't match the page directly\n const dynamicRoutes = ${JSON.stringify(i.map(e=>({src:e.src,dest:e.dest})))}\n\n for (const route of dynamicRoutes) {\n const matcher = new RegExp(route.src)\n\n if (matcher.test(toRender)) {\n toRender = url.parse(route.dest).pathname\n currentPage = pages[toRender]\n break\n }\n }\n }\n }\n\n if (!currentPage) {\n console.error(\n "Failed to find matching page for", {toRender, header: req.headers['x-nextjs-page'], url: req.url }, "in lambda"\n )\n console.error('pages in lambda', Object.keys(pages))\n res.statusCode = 500\n return res.end('internal server error')\n }\n\n const mod = currentPage()\n const method = mod.render || mod.default || mod\n\n return method(req, res)\n } catch (err) {\n console.error('Unhandled error during request:', err)\n throw err\n }\n }\n `);const a={[h.default.join(h.default.relative(I,O),"___next_launcher.cjs")]:new n.FileBlob({data:s})};for(const t of r){xe[t]=e.lambdaIdentifier}Re[e.lambdaIdentifier]=await(0,m.createLambdaFromPseudoLayers)({files:{...a,..._},layers:[e.pseudoLayer],handler:h.default.join(h.default.relative(I,O),"___next_launcher.cjs"),runtime:F.runtime})}))}if(v){console.timeEnd(P)}const D=(0,m.onPrerenderRoute)({hasPages404:ve,static404Page:Ce,pagesDir:e,pageLambdaMap:xe,lambdas:Re,isServerMode:z,prerenders:Ae,entryDirectory:C,routesManifest:te,prerenderManifest:re,isSharedLambdas:K,canUsePreviewMode:c});Object.keys(re.staticRoutes).forEach(e=>D(e,{isBlocking:false,isFallback:false}));Object.keys(re.fallbackRoutes).forEach(e=>D(e,{isBlocking:false,isFallback:true}));Object.keys(re.blockingFallbackRoutes).forEach(e=>D(e,{isBlocking:true,isFallback:false}));if(Ce&&c){ne.forEach(e=>{D(e,{isOmitted:true})})}if(!(te&&te.dataRoutes)){[...Object.entries(re.fallbackRoutes),...Object.entries(re.blockingFallbackRoutes)].forEach(([,{dataRouteRegex:e,dataRoute:t}])=>{pe.push({src:e.replace(/^\^/,`^${Z}`),dest:h.default.posix.join(C,t),check:true})})}}if(!K){ne.forEach(e=>{const t=h.default.posix.join(C,e==="/"?"/index":e);if(typeof Re[t]===undefined){throw new n.NowBuildError({code:"NEXT__UNKNOWN_ROUTE_KEY",message:`invariant: unknown lambda ${e} (lookup: ${t}) | please report this immediately`})}delete Re[t]})}const je=[];const Ie=[];if(K){for(let e=0;e<de.length;e++){const t=de[e];Ie.push(t);const{pathname:i}=v.default.parse(t.dest);if(i&&xe[i]){Ie.push(Se[i])}}for(let e=0;e<pe.length;e++){const t=pe[e];je.push(t);const{pathname:i}=v.default.parse(t.dest);if(i&&xe[i]&&Se[i]){je.push(Se[i])}}}const{staticFiles:$e,publicDirectoryFiles:Pe,staticDirectoryFiles:Fe}=await(0,m.getStaticFiles)(O,C,N);const{i18n:Le}=te||{};return{output:{...Pe,...Re,...Ae,...ke,...$e,...Fe,...oe.files},wildcard:ae,images:((k=ie===null||ie===void 0?void 0:ie.images)===null||k===void 0?void 0:k.loader)==="default"?{domains:ie.images.domains,sizes:ie.images.sizes,remotePatterns:ie.images.remotePatterns,minimumCacheTTL:ie.images.minimumCacheTTL,dangerouslyAllowSVG:ie.images.dangerouslyAllowSVG,contentSecurityPolicy:ie.images.contentSecurityPolicy}:undefined,routes:[..._e,...oe.routes,...Le?[{src:`^${h.default.join("/",C,"/")}(?!(?:_next/.*|${Le.locales.map(e=>(0,u.default)(e)).join("|")})(?:/.*|$))(.*)$`,dest:`${C!=="."?h.default.join("/",C):""}$wildcard/$1`,continue:true},...Le.domains&&Le.domains.length>0&&Le.localeDetection!==false?[{src:`^${h.default.join("/",C)}/?(?:${Le.locales.map(e=>(0,u.default)(e)).join("|")})?/?$`,locale:{redirect:Le.domains.reduce((e,t)=>{e[t.defaultLocale]=`http${t.http?"":"s"}://${t.domain}/`;if(t.locales){t.locales.map(i=>{e[i]=`http${t.http?"":"s"}://${t.domain}/${i}`})}return e},{}),cookie:"NEXT_LOCALE"},continue:true}]:[],...Le.localeDetection!==false?[{src:"/",locale:{redirect:Le.locales.reduce((e,t)=>{e[t]=t===Le.defaultLocale?`/`:`/${t}`;return e},{}),cookie:"NEXT_LOCALE"},continue:true}]:[],{src:`^${h.default.join("/",C)}$`,dest:`${h.default.join("/",C,Le.defaultLocale)}`,continue:true},{src:`^${h.default.join("/",C,"/")}(?!(?:_next/.*|${Le.locales.map(e=>(0,u.default)(e)).join("|")})(?:/.*|$))(.*)$`,dest:`${h.default.join("/",C,Le.defaultLocale)}/$1`,continue:true}]:[],...ue,...he,...ce,...Le?[{src:`${h.default.join("/",C,"/")}(?:${Le.locales.map(e=>(0,u.default)(e)).join("|")})?[/]?404/?`,status:404,continue:true}]:[{src:h.default.join("/",C,"404/?"),status:404,continue:true}],...!Ne?[]:Le?[{src:`${h.default.join("/",C,"/")}(?:${Le.locales.map(e=>(0,u.default)(e)).join("|")})?[/]?500`,status:500,continue:true}]:[{src:h.default.join("/",C,"500"),status:500,continue:true}],{handle:"filesystem"},...we.filter(e=>{var t;if("headers"in e){let i=(t=e.headers)===null||t===void 0?void 0:t["x-nextjs-page"];i=i==="/index"?"/":i;if(Ae[i]){return false}}return true}),...(te===null||te===void 0?void 0:te.basePath)?[{src:h.default.join("/",C,"_next/image/?"),dest:"/_next/image",check:true}]:[],{src:h.default.join("/",C,"_next/data/(.*)"),dest:h.default.join("/",C,"_next/data/$1"),check:true},...le,{handle:"resource"},...fe,{src:h.default.join("/",C,".*"),status:404},{handle:"miss"},{src:h.default.join("/",C,"_next/static/(?:[^/]+/pages|pages|chunks|runtime|css|image|media)/.+"),status:404,check:true,dest:"$0"},...Le?[{src:`^${h.default.join("/",C)}/?(?:${Le.locales.map(e=>(0,u.default)(e)).join("|")})/(.*)`,dest:`${h.default.join("/",C,"/")}$1`,check:true}]:[],...K||!Le?[]:[{src:`${h.default.join("/",C,"/")}(?:${Le===null||Le===void 0?void 0:Le.locales.map(e=>(0,u.default)(e)).join("|")})/(.*)`,dest:"/$1",check:true}],{handle:"rewrite"},...K?je:pe,{src:h.default.join("/",C,"_next/data/(.*)"),dest:h.default.join("/",C,"404"),status:404,check:true},...we,...K?Ie:de,{handle:"hit"},{src:h.default.join("/",C,`_next/static/(?:[^/]+/pages|pages|chunks|runtime|css|image|media|${ge})/.+`),headers:{"cache-control":`public,max-age=${t.MAX_AGE_ONE_YEAR},immutable`},continue:true,important:true},...U?[]:[{handle:"error"},...Le&&(Ce||se)?[{src:`${h.default.join("/",C,"/")}(?<nextLocale>${Le.locales.map(e=>(0,u.default)(e)).join("|")})(/.*|$)`,dest:"/$nextLocale/404",status:404,caseSensitive:true},{src:h.default.join("/",C,".*"),dest:`/${Le.defaultLocale}/404`,status:404}]:[K?{src:h.default.join("/",C,".*"),dest:h.default.join("/",Ce?Ce:xe[Oe]),status:404,...Ce?{}:{headers:{"x-nextjs-page":Oe}}}:{src:h.default.join("/",C,".*"),dest:Ce?h.default.join("/",Ce):h.default.join("/",C,ve&&Re[h.default.join("./",C,"404")]?"404":"_error"),status:404}],...!Ne?[]:Le?[{src:`${h.default.join("/",C,"/")}(?<nextLocale>${Le.locales.map(e=>(0,u.default)(e)).join("|")})(/.*|$)`,dest:"/$nextLocale/500",status:500},{src:h.default.join("/",C,".*"),dest:`/${Le.defaultLocale}/500`,status:500}]:[{src:h.default.join("/",C,".*"),dest:h.default.join("/",C,"/500"),status:500}]]]}};t.build=S;const x=async({workPath:e,repoRootPath:t,entrypoint:i,config:r={}})=>{(0,n.debug)("Preparing cache...");const s=h.default.dirname(i);const a=h.default.join(e,s);const o=r.outputDirectory||".next";const u=await getNextVersionRange(a);const c=u&&isLegacyNext(u);if(c){return{}}(0,n.debug)("Producing cache file manifest...");const l=t&&t!==e;const f=t||e;const p=h.default.relative(f,a);const d={...await(0,n.glob)(l?"**/node_modules/**":h.default.join(p,"node_modules/**"),f),...await(0,n.glob)(h.default.join(p,o,"cache/**"),f)};(0,n.debug)("Cache file manifest produced");return d};t.prepareCache=x},1207:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=["0.1.0","0.1.1","0.2.0","0.2.1","0.2.2","0.2.3","0.2.4","0.2.5","0.2.6","0.2.7","0.2.8","0.2.9","0.2.10","0.2.11","0.2.12","0.2.13","0.2.14","0.3.0","0.3.1","0.3.2","0.3.3","0.4.0","0.4.1","0.9.9","0.9.10","0.9.11","1.0.0","1.0.1","1.0.2","1.1.0","1.1.1","1.1.2","1.2.0","1.2.1","1.2.2","1.2.3","2.0.0-beta.0","2.0.0-beta.1","2.0.0-beta.2","2.0.0-beta.3","2.0.0-beta.4","2.0.0-beta.5","2.0.0-beta.6","2.0.0-beta.7","2.0.0-beta.8","2.0.0-beta.9","2.0.0-beta.10","2.0.0-beta.11","2.0.0-beta.12","2.0.0-beta.13","2.0.0-beta.14","2.0.0-beta.15","2.0.0-beta.16","2.0.0-beta.17","2.0.0-beta.18","2.0.0-beta.19","2.0.0-beta.20","2.0.0-beta.21","2.0.0-beta.22","2.0.0-beta.23","2.0.0-beta.24","2.0.0-beta.25","2.0.0-beta.26","2.0.0-beta.27","2.0.0-beta.28","2.0.0-beta.29","2.0.0-beta.30","2.0.0-beta.31","2.0.0-beta.32","2.0.0-beta.33","2.0.0-beta.34","2.0.0-beta.35","2.0.0-beta.36","2.0.0-beta.37","2.0.0-beta.38","2.0.0-beta.39","2.0.0-beta.40","2.0.0-beta.41","2.0.0-beta.42","2.0.0","2.0.1","2.1.0","2.1.1","2.2.0","2.3.0-alpha1","2.3.0","2.3.1","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","2.4.7","2.4.8","2.4.9","3.0.0-beta1","3.0.0-beta10","3.0.0-beta11","3.0.0-beta12","3.0.0-beta13","3.0.0-beta14","3.0.0-beta15","3.0.0-beta16","3.0.0-beta2","3.0.0-beta3","3.0.0-beta4","3.0.0-beta5","3.0.0-beta6","3.0.0-beta7","3.0.0-beta8","3.0.0-beta9","3.0.1-beta.1","3.0.1-beta.2","3.0.1-beta.3","3.0.1-beta.4","3.0.1-beta.5","3.0.1-beta.6","3.0.1-beta.7","3.0.1-beta.8","3.0.1-beta.9","3.0.1-beta.10","3.0.1-beta.11","3.0.1-beta.12","3.0.1-beta.13","3.0.1-beta.14","3.0.1-beta.15","3.0.1-beta.16","3.0.1-beta.17","3.0.1-beta.18","3.0.1-beta.19","3.0.1-beta.20","3.0.1-beta.21","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.1.0","3.2.0","3.2.1","3.2.2","3.2.3","4.0.0-beta.1","4.0.0-beta.2","4.0.0-beta.3","4.0.0-beta.4","4.0.0-beta.5","4.0.0-beta.6","4.0.0","4.0.1","4.0.2","4.0.3","4.0.4","4.0.5","4.1.0","4.1.1","4.1.2","4.1.3","4.1.4-canary.1","4.1.4-canary.2","4.1.4","4.2.0-canary.1","4.2.0-zones.2","4.2.0","4.2.1","4.2.2","4.2.3","4.3.0-canary.1","4.3.0-universal-alpha.1","4.3.0-universal-alpha.2","4.3.0-universal-alpha.3","4.3.0-universal-alpha.4","4.3.0-zones.1","4.4.0-canary.2","4.4.0-canary.3","5.0.0-universal-alpha.1","5.0.0-universal-alpha.2","5.0.0-universal-alpha.3","5.0.0-universal-alpha.4","5.0.0-universal-alpha.5","5.0.0-universal-alpha.6","5.0.0-universal-alpha.7","5.0.0-universal-alpha.8","5.0.0-universal-alpha.9","5.0.0-universal-alpha.10","5.0.0-universal-alpha.11","5.0.0-universal-alpha.12","5.0.0-universal-alpha.13","5.0.0-universal-alpha.14","5.0.0-universal-alpha.15","5.0.0-universal-alpha.16","5.0.0-universal-alpha.17","5.0.0-universal-alpha.18","5.0.0-universal-alpha.19","5.0.0-universal-alpha.20","5.0.0-universal-alpha.21","5.0.0-universal-alpha.22","5.0.0-universal-alpha.23","5.0.0-zones.1","5.0.0","5.0.1-canary.1","5.0.1-canary.2","5.0.1-canary.3","5.0.1-canary.4","5.0.1-canary.5","5.0.1-canary.6","5.0.1-canary.7","5.0.1-canary.8","5.0.1-canary.9","5.0.1-canary.10","5.0.1-canary.11","5.0.1-canary.12","5.0.1-canary.13","5.0.1-canary.14","5.0.1-canary.15","5.0.1-canary.16","5.0.1-canary.17","5.1.0","6.0.0-canary.1","6.0.0-canary.2","6.0.0-canary.3","6.0.0-canary.4","6.0.0-canary.5","6.0.0-canary.6","6.0.0-canary.7","6.0.0","6.0.1-canary.0","6.0.1-canary.1","6.0.1-canary.2","6.0.1","6.0.2-canary.0","6.0.2","6.0.3-canary.0","6.0.3-canary.1","6.0.3","6.0.4-canary.0","6.0.4-canary.1","6.0.4-canary.2","6.0.4-canary.3","6.0.4-canary.4","6.0.4-canary.5","6.0.4-canary.6","6.0.4-canary.7","6.0.4-canary.8","6.0.4-canary.9","6.1.0-canary.0","6.1.0","6.1.1-canary.0","6.1.1-canary.1","6.1.1-canary.2","6.1.1-canary.3","6.1.1-canary.4","6.1.1-canary.5","6.1.1","6.1.2","7.0.0-canary.0","7.0.0-canary.1","7.0.0-canary.2","7.0.0-canary.3","7.0.0-canary.4","7.0.0-canary.5","7.0.0-canary.6","7.0.0-canary.7","7.0.0-canary.8","7.0.0-canary.9","7.0.0-canary.10","7.0.0-canary.11","7.0.0-canary.12","7.0.0-canary.13","7.0.0-canary.14","7.0.0-canary.15","7.0.0-canary.16","7.0.0-canary.18","7.0.0-canary.19","7.0.0-canary.20","7.0.0","7.0.1-canary.0","7.0.1-canary.1","7.0.1-canary.2","7.0.1-canary.3","7.0.1-canary.4","7.0.1-canary.5","7.0.1-canary.6","7.0.1","7.0.2-alpha.1","7.0.2-alpha.3","7.0.2-canary.5","7.0.2-canary.6","7.0.2-canary.7","7.0.2-canary.8","7.0.2-canary.9","7.0.2-canary.10","7.0.2-canary.11","7.0.2-canary.12","7.0.2-canary.13","7.0.2-canary.14","7.0.2-canary.15","7.0.2-canary.16","7.0.2-canary.17","7.0.2-canary.18","7.0.2-canary.19","7.0.2-canary.20","7.0.2-canary.21","7.0.2-canary.22","7.0.2-canary.23","7.0.2-canary.24","7.0.2-canary.25","7.0.2-canary.26","7.0.2-canary.27","7.0.2-canary.28","7.0.2-canary.29","7.0.2-canary.31","7.0.2-canary.33","7.0.2-canary.34","7.0.2-canary.35","7.0.2-canary.36","7.0.2-canary.37","7.0.2-canary.38","7.0.2-canary.39","7.0.2-canary.40","7.0.2-canary.41","7.0.2-canary.42","7.0.2-canary.43","7.0.2-canary.44","7.0.2-canary.45","7.0.2-canary.46","7.0.2-canary.47","7.0.2-canary.48","7.0.2-canary.49","7.0.2-canary.50","7.0.2"]},5840:function(e,t,i){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.serverBuild=void 0;const n=r(i(5622));const s=r(i(2879));const a=i(7916);const o=i(3445);const u=i(2855);const c=i(4411);const l=i(9582);const f=r(i(9293));const h=r(i(5392));const p=r(i(1426));const d=r(i(539));const v="v12.0.1";async function serverBuild({dynamicPages:e,pagesDir:t,config:i={},privateOutputs:r,baseDir:y,workPath:g,entryPath:b,nodeVersion:m,escapedBuildId:_,dynamicPrefix:w,entryDirectory:E,outputDirectory:S,redirects:x,beforeFilesRewrites:R,afterFilesRewrites:A,fallbackRewrites:k,headers:T,dataRoutes:C,hasIsr404Page:O,imagesManifest:N,wildcardConfig:j,routesManifest:I,staticPages:$,lambdaPages:P,nextVersion:F,canUsePreviewMode:L,prerenderManifest:B,omittedPrerenderRoutes:D,trailingSlashRedirects:H,isCorrectLocaleAPIRoutes:U,lambdaCompressedByteLimit:W,requiredServerFilesManifest:q}){var G,V,z,M;const X={};const K={};const Y=Object.keys(P);const Q=["_app.js","_error.js","_document.js"];const J=await(0,o.glob)("**/*.js.nft.json",t);const Z=s.default.gte(F,v);let ee=!!$[n.default.join(E,"500")];if(Y.length===0){throw new o.NowBuildError({code:"NEXT_NO_SERVER_PAGES",message:"No server pages were built",link:"https://err.sh/vercel/vercel/now-next-no-serverless-pages-built"})}const te=e=>{return e.startsWith("api/")||e==="api.js"};const{i18n:ie}=I;const re=I.pages404;let ne=$[n.default.join(E,"404")]&&re?n.default.join(E,"404"):$[n.default.join(E,"_errors/404")]?n.default.join(E,"_errors/404"):undefined;if(!ne&&ie){ne=$[n.default.join(E,ie.defaultLocale,"404")]?n.default.join(E,ie.defaultLocale,"404"):undefined}if(!ee&&ie){ee=!!$[n.default.join(E,ie.defaultLocale,"500")]}const se=new a.Sema(25);const ae={};const oe=new Set;Object.keys(B.staticRoutes).forEach(e=>{const t=(0,c.onPrerenderRouteInitial)(B,L,E,oe,e,I.pages404,I);if(t&&t.static404Page){ne=t.static404Page}if(t&&t.static500Page){ee=true}});const ue=!ne||Y.some(e=>!Q.includes(e)&&!oe.has("/"+e.replace(/\.js$/,"")));if(P["404.js"]){Q.push("404.js")}const ce=new Set([...L?D:[],...Object.keys(B.blockingFallbackRoutes),...Object.keys(B.fallbackRoutes),...Object.keys(B.staticRoutes).map(e=>{const t=B.staticRoutes[e];return t.srcRoute||e})]);if(ue){const r="Traced Next.js server files in";console.time(r);const s={};let a;let u;let p;const v=(0,f.default)(q.appDir||b,`${(0,c.getNextServerPath)(F)}/next-server.js`);try{p=JSON.parse(await h.default.readFile(n.default.join(b,S,"next-server.js.nft.json"),"utf8"))}catch(e){}if(p){a=p.files.map(e=>{return n.default.relative(y,n.default.join(b,S,e))});u=new Map;(0,o.debug)("Using next-server.js.nft.json trace from build")}else{(0,o.debug)("tracing initial Next.js server files");const e=await(0,l.nodeFileTrace)([v],{base:y,cache:{},processCwd:b,ignore:[...q.ignore.map(e=>n.default.join(b,e)),"node_modules/next/dist/pages/**/*",`node_modules/${(0,c.getNextServerPath)(F)}/lib/squoosh/**/*.wasm`,"node_modules/next/dist/compiled/webpack/(bundle4|bundle5).js","node_modules/react/**/*.development.js","node_modules/react-dom/**/*.development.js","node_modules/use-subscription/**/*.development.js","node_modules/sharp/**/*"]});a=Array.from(e.fileList);u=e.reasons}(0,o.debug)("collecting initial Next.js server files");await Promise.all(a.map((0,c.collectTracedFiles)(y,ae,se,u,s)));(0,o.debug)("creating initial pseudo layer");const _=await(0,c.createPseudoLayer)(s);console.timeEnd(r);const w="Created all serverless functions in";console.time(w);const x=[];const R=[];Y.forEach(t=>{if(Q.includes(t)&&t!=="404.js"&&!(t==="_error.js"&&!(ne||P["404.js"]))){return}const i=t.replace(/\.js$/,"");if(oe.has(i)){return}if((0,c.isDynamicRoute)(i)){e.push((0,c.normalizePage)(i))}if(te(t)){x.push(t)}else{R.push(t)}});const A={};A[n.default.relative(y,v)]=new o.FileFsRef({mode:(await h.default.lstat(v)).mode,fsPath:v});if(ne){if(ie){for(const e of ie.locales){const i=$[n.default.join(E,e,"/404")]||new o.FileFsRef({fsPath:n.default.join(t,e,"/404.html")});A[n.default.relative(y,i.fsPath)]=i}}else{const e=$[ne]||new o.FileFsRef({fsPath:n.default.join(t,"/404.html")});A[n.default.relative(y,e.fsPath)]=e}}const k=[];for(const e of await h.default.readdir(g)){const t=e===".env"||e.startsWith(".env.");if(t){const t=await h.default.lstat(n.default.join(g,e));if(t.isFile()){k.push(e)}}}for(const e of k){A[n.default.join(n.default.relative(y,b),e)]=new o.FileFsRef({fsPath:n.default.join(g,e)})}await Promise.all(q.files.map(async e=>{await se.acquire();let t=n.default.join(b,n.default.join(S,".."),e);if(q.appDir){t=n.default.join(q.appDir,e)}const i=n.default.join(n.default.relative(y,t));const{mode:r}=await h.default.lstat(t);se.release();A[i]=new o.FileFsRef({mode:r,fsPath:t})}));const T=await(0,c.createPseudoLayer)(A);Object.assign(_.pseudoLayer,T.pseudoLayer);_.pseudoLayerBytes+=T.pseudoLayerBytes;const C=Object.keys(_.pseudoLayer).reduce((e,t)=>{return e+_.pseudoLayer[t].uncompressedSize||0},0);(0,o.debug)(JSON.stringify({uncompressedInitialSize:C,compressedInitialSize:_.pseudoLayerBytes},null,2));if(_.pseudoLayerBytes>W||C>c.MAX_UNCOMPRESSED_LAMBDA_SIZE){console.log(`Warning: Max serverless function size of ${(0,d.default)(W)} compressed or ${(0,d.default)(c.MAX_UNCOMPRESSED_LAMBDA_SIZE)} uncompressed reached`);(0,c.outputFunctionFileSizeInfo)([],_.pseudoLayer,_.pseudoLayerBytes,C,{});throw new o.NowBuildError({message:`Required files read using Node.js fs library and node_modules exceed max lambda size of ${W} bytes`,code:"NEXT_REQUIRED_FILES_LIMIT",link:"https://vercel.com/docs/platform/limits#serverless-function-size"})}const O=await h.default.readFile(n.default.join(__dirname,"server-launcher.js"),"utf8");let N=O.replace("conf: __NEXT_CONFIG__",`conf: ${JSON.stringify({...q.config,distDir:n.default.relative(q.appDir||b,n.default.join(b,S)),compress:false})}`).replace("__NEXT_SERVER_PATH__",`${(0,c.getNextServerPath)(F)}/next-server.js`);if(E!=="."&&n.default.join("/",E)!==I.basePath){N=N.replace("// entryDirectory handler",`req.url = req.url.replace(/^${n.default.join("/",E).replace(/\//g,"\\/")}/, '')`)}const j={[n.default.join(n.default.relative(y,q.appDir||b),"___next_launcher.cjs")]:new o.FileBlob({data:N})};const L={};const B={};const D=[...R,...x,...Q];const H={};const V=D.map(e=>{if(!J[e+".nft.json"]){return P[e].fsPath}}).filter(Boolean);let z;let M;if(V.length>0){z=await(0,l.nodeFileTrace)(V,{base:y,cache:H,processCwd:q.appDir||b});z.esmFileList.forEach(e=>z===null||z===void 0?void 0:z.fileList.add(e));M=(0,c.getFilesMapFromReasons)(z.fileList,z.reasons)}for(const e of D){const i={};const r=J[e+".nft.json"];let s;let a;if(r){const{files:i}=JSON.parse(await h.default.readFile(r.fsPath,"utf8"));s=[];const o=n.default.dirname(n.default.join(t,e));const u=`${y}${y.endsWith("/")?"":"/"}`;i.forEach(e=>{const t=n.default.join(o,e);if(t.startsWith(u)){s.push(n.default.relative(y,t))}});a=new Map}else{s=Array.from((M===null||M===void 0?void 0:M.get(n.default.relative(y,P[e].fsPath)))||[]);if(!s){throw new Error(`Invariant: Failed to trace ${e}, missing fileList`)}a=(z===null||z===void 0?void 0:z.reasons)||new Map}await Promise.all(s.map((0,c.collectTracedFiles)(y,ae,se,a,i)));L[e]=i;B[e]=(await(0,c.createPseudoLayer)({[e]:P[e]})).pseudoLayer[e]}const K=await(0,c.createPseudoLayer)(D.reduce((e,t)=>{Object.assign(e,L[t]);return e},{}));const Z=Object.keys(_.pseudoLayer).reduce((e,t)=>{const i=_.pseudoLayer[t];return e+i.uncompressedSize||0},0);const ee=(G=q.config)===null||G===void 0?void 0:G.pageExtensions;const re=await(0,c.getPageLambdaGroups)(q.appDir||b,i,R,ce,L,B,K.pseudoLayer,_.pseudoLayerBytes,Z,W,Q,ee);const ue=await(0,c.getPageLambdaGroups)(q.appDir||b,i,x,ce,L,B,K.pseudoLayer,_.pseudoLayerBytes,Z,W,Q);(0,o.debug)(JSON.stringify({apiLambdaGroups:ue.map(e=>({pages:e.pages,isPrerender:e.isPrerenders,pseudoLayerBytes:e.pseudoLayerBytes,uncompressedLayerBytes:e.pseudoLayerUncompressedBytes})),pageLambdaGroups:re.map(e=>({pages:e.pages,isPrerender:e.isPrerenders,pseudoLayerBytes:e.pseudoLayerBytes,uncompressedLayerBytes:e.pseudoLayerUncompressedBytes})),nextServerLayerSize:_.pseudoLayerBytes},null,2));const le=[...re,...ue];await(0,c.detectLambdaLimitExceeding)(le,W,B);for(const e of le){const t=await(0,c.createLambdaFromPseudoLayers)({files:j,layers:[_.pseudoLayer,e.pseudoLayer,[...e.pages,...Q].reduce((e,t)=>{const i=n.default.normalize(n.default.relative(y,P[t].fsPath));e[i]=B[t];return e},{})],handler:n.default.join(n.default.relative(y,q.appDir||b),"___next_launcher.cjs"),memory:e.memory,runtime:m.runtime,maxDuration:e.maxDuration});for(const i of e.pages){const e=i.replace(/\.js$/,"");let r=ce.has(n.default.join("/",e==="index"?"":e));if(!r&&(I===null||I===void 0?void 0:I.i18n)){r=I.i18n.locales.some(t=>{return ce.has(n.default.join("/",t,e==="index"?"":e))})}const s=(0,c.normalizeIndexOutput)(n.default.join(E,e),true);if(ie&&!r&&(!U||!(e==="api"||e.startsWith("api/")))){for(const i of ie.locales){X[(0,c.normalizeIndexOutput)(n.default.join(E,i,e==="index"?"":e),true)]=t}}else{X[s]=t}}}console.timeEnd(w)}const le=(0,c.onPrerenderRoute)({pagesDir:t,pageLambdaMap:{},lambdas:X,prerenders:K,entryDirectory:E,routesManifest:I,prerenderManifest:B,isServerMode:true,isSharedLambdas:false,canUsePreviewMode:L,static404Page:ne,hasPages404:I.pages404,isCorrectNotFoundRoutes:Z});Object.keys(B.staticRoutes).forEach(e=>le(e,{}));Object.keys(B.fallbackRoutes).forEach(e=>le(e,{isFallback:true}));Object.keys(B.blockingFallbackRoutes).forEach(e=>le(e,{isBlocking:true}));if(ne&&L){D.forEach(e=>{le(e,{isOmitted:true})})}ce.forEach(e=>{if(I===null||I===void 0?void 0:I.i18n){e=(0,c.normalizeLocalePath)(e,I.i18n.locales).pathname}delete X[n.default.join(".",E,e==="/"?"index":e)]});const fe=await(0,c.getMiddlewareBundle)({entryPath:b,outputDirectory:S,routesManifest:I});const he=await(0,c.getDynamicRoutes)(b,E,e,false,I,D,L,B.bypassToken||"",true,fe.dynamicRouteMap).then(e=>(0,c.localizeDynamicRoutes)(e,w,E,$,B,I,true,U));const{staticFiles:pe,publicDirectoryFiles:de,staticDirectoryFiles:ve}=await(0,c.getStaticFiles)(b,E,S);const ye=[];if(((V=B.notFoundRoutes)===null||V===void 0?void 0:V.length)>0&&L){const e=`^${E!=="."?n.default.join("/",E,"()"):"()"}`;let t=e;const i=e=>{ye.push({src:e,missing:[{type:"cookie",key:"__prerender_bypass",value:B.bypassToken||undefined},{type:"cookie",key:"__next_preview_data"}],status:404})};for(let r=0;r<B.notFoundRoutes.length;r++){const n=B.notFoundRoutes[r];const s=r===B.notFoundRoutes.length-1;if(((z=B.staticRoutes[n])===null||z===void 0?void 0:z.initialRevalidate)===false){if(t.length+n.length+1>=4096){i(t);t=e}t=`${t.substring(0,t.length-1)}${t[t.length-2]==="("?"":"|"}${n})`;if(s){i(t)}}}}return{wildcard:j,images:((M=N===null||N===void 0?void 0:N.images)===null||M===void 0?void 0:M.loader)==="default"?{domains:N.images.domains,sizes:N.images.sizes,remotePatterns:N.images.remotePatterns,minimumCacheTTL:N.images.minimumCacheTTL,formats:N.images.formats,dangerouslyAllowSVG:N.images.dangerouslyAllowSVG,contentSecurityPolicy:N.images.contentSecurityPolicy}:undefined,output:{...de,...X,...K,...$,...pe,...ve,...r.files,...fe.edgeFunctions},routes:[...H,...r.routes,...ie?[{src:`^${n.default.join("/",E,"/")}(?!(?:_next/.*|${ie.locales.map(e=>(0,p.default)(e)).join("|")})(?:/.*|$))(.*)$`,dest:`${E!=="."?n.default.join("/",E):""}$wildcard/$1`,continue:true},...ie.domains&&ie.domains.length>0&&ie.localeDetection!==false?[{src:`^${n.default.join("/",E)}/?(?:${ie.locales.map(e=>(0,p.default)(e)).join("|")})?/?$`,locale:{redirect:ie.domains.reduce((e,t)=>{e[t.defaultLocale]=`http${t.http?"":"s"}://${t.domain}/`;if(t.locales){t.locales.map(i=>{e[i]=`http${t.http?"":"s"}://${t.domain}/${i}`})}return e},{}),cookie:"NEXT_LOCALE"},continue:true}]:[],...ie.localeDetection!==false?[{src:"/",locale:{redirect:ie.locales.reduce((e,t)=>{e[t]=t===ie.defaultLocale?`/`:`/${t}`;return e},{}),cookie:"NEXT_LOCALE"},continue:true}]:[],{src:`^${n.default.join("/",E)}$`,dest:`${n.default.join("/",E,ie.defaultLocale)}`,continue:true},{src:`^${n.default.join("/",E,"/")}(?!(?:_next/.*|${ie.locales.map(e=>(0,p.default)(e)).join("|")})(?:/.*|$))(.*)$`,dest:`${n.default.join("/",E,ie.defaultLocale)}/$1`,continue:true}]:[],...ye,...T,...x,...R,...ie?[{src:`${n.default.join("/",E,"/")}(?:${ie.locales.map(e=>(0,p.default)(e)).join("|")})?[/]?404/?`,status:404,continue:true}]:[{src:n.default.join("/",E,"404/?"),status:404,continue:true}],...!ee?[]:ie?[{src:`${n.default.join("/",E,"/")}(?:${ie.locales.map(e=>(0,p.default)(e)).join("|")})?[/]?500`,status:500,continue:true}]:[{src:n.default.join("/",E,"500"),status:500,continue:true}],...fe.staticRoutes,{handle:"filesystem"},...(I===null||I===void 0?void 0:I.basePath)?[{src:n.default.join("/",E,"_next/image/?"),dest:"/_next/image",check:true}]:[],{src:n.default.join("/",E,"_next/data/(.*)"),dest:n.default.join("/",E,"_next/data/$1"),check:true},...A,{handle:"resource"},...k,{src:n.default.join("/",E,".*"),status:404},{handle:"miss"},{src:n.default.join("/",E,"_next/static/(?:[^/]+/pages|pages|chunks|runtime|css|image|media)/.+"),status:404,check:true,dest:"$0"},...ie?[{src:`^${n.default.join("/",E)}/?(?:${ie.locales.map(e=>(0,p.default)(e)).join("|")})/(.*)`,dest:`${n.default.join("/",E,"/")}$1`,check:true}]:[],...!ie?[]:[{src:`${n.default.join("/",E,"/")}(?:${ie===null||ie===void 0?void 0:ie.locales.map(e=>(0,p.default)(e)).join("|")})/(.*)`,dest:"/$1",check:true}],{handle:"rewrite"},...C,{src:n.default.join("/",E,"_next/data/(.*)"),dest:n.default.join("/",E,"404"),status:404},...he,{handle:"hit"},{src:n.default.join("/",E,`_next/static/(?:[^/]+/pages|pages|chunks|runtime|css|image|media|${_})/.+`),headers:{"cache-control":`public,max-age=${u.MAX_AGE_ONE_YEAR},immutable`},continue:true,important:true},{src:n.default.join("/",E,"/index"),headers:{"x-matched-path":"/"},continue:true,important:true},{src:n.default.join("/",E,`/((?!index$).*)`),headers:{"x-matched-path":"/$1"},continue:true,important:true},{handle:"error"},...ie&&(ne||O||P["404.js"])?[{src:`${n.default.join("/",E,"/")}(?<nextLocale>${ie.locales.map(e=>(0,p.default)(e)).join("|")})(/.*|$)`,dest:n.default.join("/",E,"/$nextLocale/404"),status:404,caseSensitive:true},{src:n.default.join("/",E,".*"),dest:n.default.join("/",E,`/${ie.defaultLocale}/404`),status:404}]:[{src:n.default.join("/",E,".*"),dest:n.default.join("/",E,ne||O||X[n.default.join(E,"404")]?"/404":"/_error"),status:404}],...!ee?[]:ie?[{src:`${n.default.join("/",E,"/")}(?<nextLocale>${ie.locales.map(e=>(0,p.default)(e)).join("|")})(/.*|$)`,dest:n.default.join("/",E,"/$nextLocale/500"),status:500},{src:n.default.join("/",E,".*"),dest:n.default.join("/",E,`/${ie.defaultLocale}/500`),status:500}]:[{src:n.default.join("/",E,".*"),dest:n.default.join("/",E,"/500"),status:500}]]}}t.serverBuild=serverBuild},9239:function(e,t,i){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.stringifySourceMap=t.fileToSource=t.raw=t.sourcemapped=void 0;const n=r(i(8376));const s=r(i(5392));const a=i(932);function sourcemapped(e,...t){const i=new a.ConcatSource;for(let r=0;r<Math.max(e.length,t.length);r++){const n=e[r];const s=t[r];if(n)i.add(raw(n));if(s)i.add(s)}return i}t.sourcemapped=sourcemapped;function raw(e){return new a.OriginalSource(e,"[native code]")}t.raw=raw;async function fileToSource(e,t,i){const r=await getSourceMap(e,i);const s=n.default.removeComments(e);return r?new a.SourceMapSource(s,t,r):new a.OriginalSource(s,t)}t.fileToSource=fileToSource;async function getSourceMap(e,t){try{if(t&&await s.default.pathExists(`${t}.map`)){const e=await s.default.readFile(`${t}.map`,"utf8");return n.default.fromJSON(e).toObject()}return n.default.fromComment(e).toObject()}catch(e){return null}}function stringifySourceMap(e){if(!e)return;const t=typeof e==="object"?{...e}:n.default.fromJSON(e).toObject();delete t.sourcesContent;return JSON.stringify(t)}t.stringifySourceMap=stringifySourceMap},4411:function(e,t,i){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,i,r){if(r===undefined)r=i;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,r){if(r===undefined)r=i;e[r]=t[i]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i))r(t,e,i);n(t,e);return t};var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.getMiddlewareBundle=t.getSourceFilePathFromPage=t.isDynamicRoute=t.normalizePage=t.getNextConfig=t.normalizePackageJson=t.validateEntrypoint=t.excludeFiles=t.getPrivateOutputs=t.updateRouteSrc=t.getNextServerPath=t.normalizeIndexOutput=t.getStaticFiles=t.onPrerenderRoute=t.onPrerenderRouteInitial=t.detectLambdaLimitExceeding=t.outputFunctionFileSizeInfo=t.getPageLambdaGroups=t.MAX_UNCOMPRESSED_LAMBDA_SIZE=t.addLocaleOrDefault=t.normalizeLocalePath=t.getPrerenderManifest=t.getRequiredServerFilesManifest=t.getExportStatus=t.getExportIntent=t.createLambdaFromPseudoLayers=t.createPseudoLayer=t.ExperimentalTraceVersion=t.collectTracedFiles=t.getFilesMapFromReasons=t.filterStaticPages=t.getImagesManifest=t.localizeDynamicRoutes=t.getDynamicRoutes=t.getRoutesManifest=void 0;const o=i(3445);const u=i(7916);const c=a(i(360));const l=s(i(5392));const f=a(i(5622));const h=a(i(9293));const p=a(i(2879));const d=a(i(8761));const v=a(i(8835));const y=a(i(1426));const g=i(2855);const b=a(i(3221));const m=a(i(539));const _=i(8055);const w=i(9239);const E=/\/\[[^\/]+?\](?=\/|$)/;function isDynamicRoute(e){e=e.startsWith("/")?e:`/${e}`;return E.test(e)}t.isDynamicRoute=isDynamicRoute;function validateEntrypoint(e){if(!/package\.json$/.exec(e)&&!/next\.config\.js$/.exec(e)){throw new o.NowBuildError({message:'Specified "src" for "@vercel/next" has to be "package.json" or "next.config.js"',code:"NEXT_INCORRECT_SRC"})}}t.validateEntrypoint=validateEntrypoint;function excludeFiles(e,t){return Object.keys(e).reduce((i,r)=>{if(t(r)){return i}return{...i,[r]:e[r]}},{})}t.excludeFiles=excludeFiles;function normalizePackageJson(e={}){const t={};const i={...e.dependencies,...e.devDependencies};if(i.react){t.react=i.react;delete i.react}if(i["react-dom"]){t["react-dom"]=i["react-dom"];delete i["react-dom"]}delete i["next-server"];return{...e,dependencies:{react:"latest","react-dom":"latest",...t,"next-server":"v7.0.2-canary.49"},devDependencies:{...i,next:"v7.0.2-canary.49"},scripts:{...e.scripts,"now-build":"NODE_OPTIONS=--max_old_space_size=3000 next build --lambdas"}}}t.normalizePackageJson=normalizePackageJson;async function getNextConfig(e,t){const i=f.default.join(t,"./next.config.js");if(await l.default.pathExists(i)){return l.default.readFile(i,"utf8")}const r=f.default.join(e,"./next.config.js");if(await l.default.pathExists(r)){return l.default.readFile(r,"utf8")}return null}t.getNextConfig=getNextConfig;function normalizePage(e){if(!e.startsWith("/")){e=`/${e}`}e=e.replace(/\/index$/,"/");return e}t.normalizePage=normalizePage;async function getRoutesManifest(e,t,i){const r=i&&p.default.gte(i,"9.1.4-canary.0");if(!r)return;const n=f.default.join(e,t,"routes-manifest.json");const s=await l.default.access(n).then(()=>true).catch(()=>false);if(r&&!s){throw new o.NowBuildError({message:`The file "${n}" couldn't be found. This is normally caused by a misconfiguration in your project.\n`+"Please check the following, and reach out to support if you cannot resolve the problem:\n"+' 1. If present, be sure your `build` script in "package.json" calls `next build`.'+' 2. Navigate to your project\'s settings in the Vercel dashboard, and verify that the "Build Command" is not overridden, or that it calls `next build`.'+' 3. Navigate to your project\'s settings in the Vercel dashboard, and verify that the "Output Directory" is not overridden. Note that `next export` does **not** require you change this setting, even if you customize the `next export` output directory.',link:"https://err.sh/vercel/vercel/now-next-routes-manifest",code:"NEXT_NO_ROUTES_MANIFEST"})}const a=require(n);for(const e of a.dataRoutes||[]){if(Array.isArray(e.routeKeys)){delete e.routeKeys;delete e.namedDataRouteRegex}}for(const e of a.dynamicRoutes||[]){if("routeKeys"in e&&Array.isArray(e.routeKeys)){delete e.routeKeys;delete e.namedRegex}}return a}t.getRoutesManifest=getRoutesManifest;async function getDynamicRoutes(e,t,i,r,n,s,a,u,c,l){if(n){switch(n.version){case 1:case 2:{return n.dynamicRoutes.filter(({page:e})=>a||!(s===null||s===void 0?void 0:s.has(e))).map(({page:e,regex:i})=>{return{src:i,dest:!r?f.default.join("/",t,e):e,check:true,status:a&&(s===null||s===void 0?void 0:s.has(e))?404:undefined}})}case 3:case 4:{return n.dynamicRoutes.filter(({page:e})=>a||!(s===null||s===void 0?void 0:s.has(e))).map(e=>{if("isMiddleware"in e){const t=l===null||l===void 0?void 0:l.get(e.page);if(!t){throw new Error(`Could not find dynamic middleware route for ${e.page}`)}return t}const{page:i,namedRegex:n,regex:o,routeKeys:h}=e;const p={src:n||o,dest:`${!r?f.default.join("/",t,i):i}${h?`?${Object.keys(h).map(e=>`${h[e]}=$${e}`).join("&")}`:""}`};if(!c){p.check=true}if(c&&a&&(s===null||s===void 0?void 0:s.has(i))){p.has=[{type:"cookie",key:"__prerender_bypass",value:u||undefined},{type:"cookie",key:"__next_preview_data"}]}return p})}default:{throw new o.NowBuildError({message:"This version of `@vercel/next` does not support the version of Next.js you are trying to deploy.\n"+"Please upgrade your `@vercel/next` builder and try again. Contact support if this continues to happen.",code:"NEXT_VERSION_UPGRADE"})}}}if(!i.length){return[]}let p=undefined;let d;try{({getRouteRegex:p,getSortedRoutes:d}=require((0,h.default)(e,"next-server/dist/lib/router/utils")));if(typeof p!=="function"){p=undefined}}catch(e){}if(!p||!d){try{({getRouteRegex:p,getSortedRoutes:d}=require((0,h.default)(e,"next/dist/next-server/lib/router/utils")));if(typeof p!=="function"){p=undefined}}catch(e){}}if(!p||!d){throw new o.NowBuildError({message:"Found usage of dynamic routes but not on a new enough version of Next.js.",code:"NEXT_DYNAMIC_ROUTES_OUTDATED"})}const v=d(i).map(e=>({pageName:e,matcher:p&&p(e).re}));const y=[];v.forEach(e=>{const i=!r?f.default.join("/",t,e.pageName):e.pageName;if(e&&e.matcher){y.push({src:e.matcher.source,dest:i,check:!r})}});return y}t.getDynamicRoutes=getDynamicRoutes;function localizeDynamicRoutes(e,t,i,r,n,s,a,o){return e.map(e=>{if(e.middleware!==undefined||e.middlewarePath!==undefined)return e;const{i18n:u}=s||{};if(u){const{pathname:c}=v.default.parse(e.dest);const l=c===null||c===void 0?void 0:c.replace(t,"");const h=n.fallbackRoutes[c];const p=n.blockingFallbackRoutes[c];const d=l==="/api"||(l===null||l===void 0?void 0:l.startsWith("/api/"));const g=r[addLocaleOrDefault(c,s).substring(1)];const b=h||p||g||a;e.src=e.src.replace("^",`^${t?`${t}[/]?`:"[/]?"}(?${b?"<nextLocale>":":"}${u.locales.map(e=>(0,y.default)(e)).join("|")})?`);if(b&&!(o&&d)){e.dest=e.dest.replace(`${f.default.join("/",i,"/")}`,`${f.default.join("/",i,"$nextLocale","/")}`)}}else{e.src=e.src.replace("^",`^${t}`)}return e})}t.localizeDynamicRoutes=localizeDynamicRoutes;async function getImagesManifest(e,t){const i=f.default.join(e,t,"images-manifest.json");const r=await l.default.access(i).then(()=>true).catch(()=>false);if(!r){return undefined}const n=require(i);return n}t.getImagesManifest=getImagesManifest;function filterStaticPages(e,t,i,r,n,s){const a={};Object.keys(e).forEach(o=>{var u;const c=o.replace(/\.html$/,"");const l=normalizeLocalePath(normalizePage(c),(u=s===null||s===void 0?void 0:s.i18n)===null||u===void 0?void 0:u.locales).pathname;if(n.staticRoutes[l]||n.fallbackRoutes[l]||n.staticRoutes[normalizePage(c)]||n.fallbackRoutes[normalizePage(c)]){return}const h=f.default.join(i,c);a[h]=e[o];a[h].contentType=r;if(isDynamicRoute(c)){t.push(l);return}});return a}t.filterStaticPages=filterStaticPages;function getFilesMapFromReasons(e,t,i){const r=new Map;function propagateToParents(e,n,s=new Set){for(const a of e||[]){if(!s.has(a)){s.add(a);let e=r.get(a);if(!e){e=new Set;r.set(a,e)}if(!(i===null||i===void 0?void 0:i(n,a))){e.add(n)}const o=t.get(a);if(o===null||o===void 0?void 0:o.parents){propagateToParents(o.parents,n,s)}}}}for(const i of e){const e=t.get(i);const r=(e===null||e===void 0?void 0:e.type.length)===1&&e.type.includes("initial");if(!e||!e.parents||r&&e.parents.size===0){continue}propagateToParents(e.parents,i)}return r}t.getFilesMapFromReasons=getFilesMapFromReasons;const S=(e,t,i,r,n)=>async s=>{const a=r.get(s);if(a&&a.type.includes("initial")){return}const u=f.default.join(e,s);if(!t[u]){t[u]=i.acquire().then(()=>(0,l.lstat)(u)).finally(()=>i.release())}const{mode:c}=await t[u];n[s]=new o.FileFsRef({fsPath:f.default.join(e,s),mode:c})};t.collectTracedFiles=S;t.ExperimentalTraceVersion=`9.0.4-canary.1`;const x=e=>{return new Promise((t,i)=>{d.default.deflateRaw(e,{level:d.default.constants.Z_BEST_COMPRESSION},(e,r)=>{if(e)return i(e);t(r)})})};async function createPseudoLayer(e){const t={};let i=0;for(const r of Object.keys(e)){const n=e[r];if((0,o.isSymbolicLink)(n.mode)){const e=await l.default.readlink(n.fsPath);t[r]={file:n,isSymlink:true,symlinkTarget:e}}else{const e=await(0,o.streamToBuffer)(n.toStream());const s=await x(e);i+=s.byteLength;t[r]={file:n,compBuffer:s,isSymlink:false,crc32:c.default.unsigned(e),uncompressedSize:e.byteLength}}}return{pseudoLayer:t,pseudoLayerBytes:i}}t.createPseudoLayer=createPseudoLayer;const R=new u.Sema(1);async function createLambdaFromPseudoLayers({files:e,layers:t,...i}){await R.acquire();const r={};const n=new Set;for(const e of t){for(const t of Object.keys(e)){if(n.has(t)){continue}const i=e[t];r[t]=i.file;n.add(t)}}for(const t of Object.keys(e)){if(n.has(t)){continue}const i=e[t];r[t]=i;n.add(t)}R.release();return new o.NodejsLambda({...i,files:r,shouldAddHelpers:false,shouldAddSourcemapSupport:false,supportsMultiPayloads:!!process.env.NEXT_PRIVATE_MULTI_PAYLOAD})}t.createLambdaFromPseudoLayers=createLambdaFromPseudoLayers;async function getExportIntent(e){const t=f.default.join(e,".next","export-marker.json");const i=await l.default.access(t,l.default.constants.F_OK).then(()=>true).catch(()=>false);if(!i){return false}const r=JSON.parse(await l.default.readFile(t,"utf8"));switch(r.version){case 1:{if(r.hasExportPathMap!==true){return false}return{trailingSlash:r.exportTrailingSlash}}default:{return false}}}t.getExportIntent=getExportIntent;async function getExportStatus(e){const t=f.default.join(e,".next","export-detail.json");const i=await l.default.access(t,l.default.constants.F_OK).then(()=>true).catch(()=>false);if(!i){return false}const r=JSON.parse(await l.default.readFile(t,"utf8"));switch(r.version){case 1:{return{success:!!r.success,outDirectory:r.outDirectory}}default:{return false}}}t.getExportStatus=getExportStatus;async function getRequiredServerFilesManifest(e,t){const i=f.default.join(e,t,"required-server-files.json");const r=await l.default.access(i,l.default.constants.F_OK).then(()=>true).catch(()=>false);if(!r){return false}const n=JSON.parse(await l.default.readFile(i,"utf8"));const s={files:[],ignore:[],config:{},appDir:n.appDir};switch(n.version){case 1:{s.files=n.files;s.ignore=n.ignore;s.config=n.config;s.appDir=n.appDir;break}default:{throw new Error(`Invalid required-server-files manifest version ${n.version}, please contact support if this error persists`)}}return s}t.getRequiredServerFilesManifest=getRequiredServerFilesManifest;async function getPrerenderManifest(e,t){const i=f.default.join(e,t,"prerender-manifest.json");const r=await l.default.access(i,l.default.constants.F_OK).then(()=>true).catch(()=>false);if(!r){return{staticRoutes:{},blockingFallbackRoutes:{},fallbackRoutes:{},bypassToken:null,omittedRoutes:{},notFoundRoutes:[],isLocalePrefixed:false}}const n=JSON.parse(await l.default.readFile(i,"utf8"));switch(n.version){case 1:{const e=Object.keys(n.routes);const t=Object.keys(n.dynamicRoutes);const i={staticRoutes:{},blockingFallbackRoutes:{},fallbackRoutes:{},bypassToken:n.preview&&n.preview.previewModeId||null,omittedRoutes:{},notFoundRoutes:[],isLocalePrefixed:false};e.forEach(e=>{const{initialRevalidateSeconds:t,dataRoute:r,srcRoute:s}=n.routes[e];i.staticRoutes[e]={initialRevalidate:t===false?false:Math.max(1,t),dataRoute:r,srcRoute:s}});t.forEach(e=>{const{routeRegex:t,fallback:r,dataRoute:s,dataRouteRegex:a}=n.dynamicRoutes[e];if(r){i.fallbackRoutes[e]={routeRegex:t,fallback:r,dataRoute:s,dataRouteRegex:a}}else{i.blockingFallbackRoutes[e]={routeRegex:t,dataRoute:s,dataRouteRegex:a}}});return i}case 2:case 3:{const e=Object.keys(n.routes);const t=Object.keys(n.dynamicRoutes);const i={staticRoutes:{},blockingFallbackRoutes:{},fallbackRoutes:{},bypassToken:n.preview.previewModeId,omittedRoutes:{},notFoundRoutes:[],isLocalePrefixed:n.version>2};if(n.notFoundRoutes){i.notFoundRoutes.push(...n.notFoundRoutes)}e.forEach(e=>{const{initialRevalidateSeconds:t,dataRoute:r,srcRoute:s}=n.routes[e];i.staticRoutes[e]={initialRevalidate:t===false?false:Math.max(1,t),dataRoute:r,srcRoute:s}});t.forEach(e=>{const{routeRegex:t,fallback:r,dataRoute:s,dataRouteRegex:a}=n.dynamicRoutes[e];if(typeof r==="string"){i.fallbackRoutes[e]={routeRegex:t,fallback:r,dataRoute:s,dataRouteRegex:a}}else if(r===null){i.blockingFallbackRoutes[e]={routeRegex:t,dataRoute:s,dataRouteRegex:a}}else{i.omittedRoutes[e]={routeRegex:t,dataRoute:s,dataRouteRegex:a}}});return i}default:{return{staticRoutes:{},blockingFallbackRoutes:{},fallbackRoutes:{},bypassToken:null,omittedRoutes:{},notFoundRoutes:[],isLocalePrefixed:false}}}}t.getPrerenderManifest=getPrerenderManifest;let A;async function usesSrcDirectory(e){if(!A){const t=f.default.join(e,"src","pages");try{if((await l.default.stat(t)).isDirectory()){A=true}}catch(e){A=false}}return Boolean(A)}async function getSourceFilePathFromPage({workPath:e,page:t,pageExtensions:i}){const r=i||["js","jsx","ts","tsx"];let n=f.default.join(e,"pages",t);if(await usesSrcDirectory(e)){n=f.default.join(e,"src","pages",t)}if(l.default.existsSync(n)){return f.default.relative(e,n)}const s=n.slice(0,-3);for(const t of r){n=`${s}.${t}`;if(l.default.existsSync(n)){return f.default.relative(e,n)}}if(isDirectory(s)){for(const t of r){n=f.default.join(s,`index.${t}`);if(l.default.existsSync(n)){return f.default.relative(e,n)}}}console.log(`WARNING: Unable to find source file for page ${t} with extensions: ${r.join(", ")}, this can cause functions config from \`vercel.json\` to not be applied`);return""}t.getSourceFilePathFromPage=getSourceFilePathFromPage;function isDirectory(e){return l.default.existsSync(e)&&l.default.lstatSync(e).isDirectory()}function normalizeLocalePath(e,t){let i;const r=e.split("/");(t||[]).some(t=>{if(r[1].toLowerCase()===t.toLowerCase()){i=t;r.splice(1,1);e=r.join("/")||"/";return true}return false});return{pathname:e,detectedLocale:i}}t.normalizeLocalePath=normalizeLocalePath;function addLocaleOrDefault(e,t,i){if(!(t===null||t===void 0?void 0:t.i18n))return e;if(!i)i=t.i18n.defaultLocale;return i?`/${i}${e==="/index"?"":e}`:e}t.addLocaleOrDefault=addLocaleOrDefault;t.MAX_UNCOMPRESSED_LAMBDA_SIZE=250*1e3*1e3;const k=2.5*1e3*1e3;const T=250*1e3;async function getPageLambdaGroups(e,i,r,n,s,a,u,c,l,f,h,p){const d=[];for(const v of r){const r=[...h,v];const y=normalizePage(v.replace(/\.js$/,""));const g=n.has(y);let b={};if(i&&i.functions){const t=await getSourceFilePathFromPage({workPath:e,page:v,pageExtensions:p});b=await(0,o.getLambdaOptionsFromFunction)({sourceFile:t,config:i})}let m=d.find(e=>{const i=e.maxDuration===b.maxDuration&&e.memory===b.memory&&e.isPrerenders===g;if(i){let i=e.pseudoLayerBytes;let n=e.pseudoLayerUncompressedBytes;for(const t of r){Object.keys(s[t]||{}).map(t=>{var r;if(!e.pseudoLayer[t]){const e=u[t];i+=((r=e.compBuffer)===null||r===void 0?void 0:r.byteLength)||0;n+=e.uncompressedSize||0}});i+=a[t].compBuffer.byteLength;n+=a[t].uncompressedSize}const o=n+l<t.MAX_UNCOMPRESSED_LAMBDA_SIZE-k;const h=i+c<f-T;return o&&h}return false});if(m){m.pages.push(v)}else{const e={pages:[v],...b,isPrerenders:g,pseudoLayerBytes:0,pseudoLayerUncompressedBytes:0,pseudoLayer:{}};d.push(e);m=e}for(const e of r){Object.keys(s[e]||{}).map(e=>{var t;const i=u[e];const r=((t=i===null||i===void 0?void 0:i.compBuffer)===null||t===void 0?void 0:t.byteLength)||0;if(!m.pseudoLayer[e]){m.pseudoLayer[e]=i;m.pseudoLayerBytes+=r;m.pseudoLayerUncompressedBytes+=i.uncompressedSize||0}});m.pseudoLayerBytes+=a[e].compBuffer.byteLength;m.pseudoLayerUncompressedBytes+=a[e].uncompressedSize}}return d}t.getPageLambdaGroups=getPageLambdaGroups;const C=(e,t,i,r,n)=>{const s=[];console.log(`Serverless Function's page${e.length===1?"":"s"}: ${e.join(", ")}`);s.push(["Large Dependencies","Uncompressed size","Compressed size"]);const a={};for(const e of Object.keys(t)){if(!t[e].isSymlink){const i=t[e];const r=e.split("/").slice(0,3).join("/");if(!a[r]){a[r]={compressed:0,uncompressed:0}}a[r].compressed+=i.compBuffer.byteLength;a[r].uncompressed+=i.uncompressedSize}}for(const t of e){a[`pages/${t}`]={compressed:n[t].compBuffer.byteLength,uncompressed:n[t].uncompressedSize}}let o=0;Object.keys(a).sort((e,t)=>{const i=a[e];const r=a[t];if(i.compressed>r.compressed){return-1}if(i.compressed<r.compressed){return 1}return 0}).forEach(e=>{const t=a[e];if(t.compressed<100*1e3&&t.uncompressed<500*1e3){return}s.push([e,(0,m.default)(t.uncompressed),(0,m.default)(t.compressed)]);o+=1});if(o===0){s.push(["No large dependencies found (> 100KB compressed)"])}s.push([]);s.push(["All dependencies",(0,m.default)(r),(0,m.default)(i)]);console.log((0,b.default)(s,{align:["l","r","r"]}))};t.outputFunctionFileSizeInfo=C;const O=async(e,i,r)=>{const n=i-5*1e3*1e3;const s=t.MAX_UNCOMPRESSED_LAMBDA_SIZE-5*1e3*1e3;let a=0;let u=0;let c=false;const l=e.filter(e=>{const r=e.pseudoLayerBytes>i||e.pseudoLayerUncompressedBytes>t.MAX_UNCOMPRESSED_LAMBDA_SIZE;const c=e.pseudoLayerBytes>n||e.pseudoLayerUncompressedBytes>s;if(c||r||(0,o.getPlatformEnv)("BUILDER_DEBUG")||process.env.NEXT_DEBUG_FUNCTION_SIZE){if(r){a+=1}if(c){u+=1}return true}});for(const e of l){if(!c){if(a||u){console.log(`Warning: Max serverless function size of ${(0,m.default)(i)} compressed or ${(0,m.default)(t.MAX_UNCOMPRESSED_LAMBDA_SIZE)} uncompressed${a?"":" almost"} reached`)}else{console.log(`Serverless function size info`)}c=true}(0,t.outputFunctionFileSizeInfo)(e.pages,e.pseudoLayer,e.pseudoLayerBytes,e.pseudoLayerUncompressedBytes,r)}if(a){console.log(`Max serverless function size was exceeded for ${a} function${a===1?"":"s"}`)}};t.detectLambdaLimitExceeding=O;const N=(e,t,i,r,n,s,a)=>{let o;let u;const c=e.staticRoutes[n];const{initialRevalidate:l,srcRoute:h}=c;const p=h||n;const d=(a===null||a===void 0?void 0:a.i18n)?normalizeLocalePath(n,a.i18n.locales).pathname:n;if(d==="/404"){o=f.default.join(i,n)}if(d==="/500"){u=f.default.join(i,n)}if(l===false&&(!t||s&&d==="/404")&&!e.fallbackRoutes[p]&&!e.blockingFallbackRoutes[p]){if((a===null||a===void 0?void 0:a.i18n)&&Object.keys(e.staticRoutes).some(t=>{const i=e.staticRoutes[t];return i.srcRoute===h&&i.initialRevalidate!==false})){return{static404Page:o,static500Page:u}}r.add(p==="/"?"/index":p)}return{static404Page:o,static500Page:u}};t.onPrerenderRouteInitial=N;let j=1;const I=e=>(i,{isBlocking:r,isFallback:n,isOmitted:s,locale:a})=>{var u;const{pagesDir:c,hasPages404:l,static404Page:h,entryDirectory:p,prerenderManifest:d,isSharedLambdas:v,isServerMode:b,canUsePreviewMode:m,lambdas:_,prerenders:w,pageLambdaMap:E,routesManifest:S,isCorrectNotFoundRoutes:x}=e;if(r&&n){throw new o.NowBuildError({code:"NEXT_ISBLOCKING_ISFALLBACK",message:"invariant: isBlocking and isFallback cannot both be true"})}if(n&&s){throw new o.NowBuildError({code:"NEXT_ISOMITTED_ISFALLBACK",message:"invariant: isOmitted and isFallback cannot both be true"})}let R=i==="/"?"/index":i;let A=R;const{isLocalePrefixed:k}=d;if(!a&&k){const e=normalizeLocalePath(i,((u=S===null||S===void 0?void 0:S.i18n)===null||u===void 0?void 0:u.locales)||[]);a=e.detectedLocale;A=e.pathname==="/"?"/index":e.pathname}const T=!n&&!r&&!s&&!d.staticRoutes[i].srcRoute;if(T&&!k||n||s){R=addLocaleOrDefault(R,S,a)}const C=d.notFoundRoutes.includes(i);const O=r||C&&!h?null:new o.FileFsRef({fsPath:f.default.join(c,n?addLocaleOrDefault(d.fallbackRoutes[i].fallback,S,a):`${s||C?addLocaleOrDefault("/404",S,a):R}.html`)});const N=n||r||C&&!h?null:new o.FileFsRef({fsPath:f.default.join(c,`${s||C?addLocaleOrDefault("/404.html",S,a):R+".json"}`)});let I;let $;let P;if(n||r){const e=n?d.fallbackRoutes[i]:d.blockingFallbackRoutes[i];I=1;if(I===false){throw new o.NowBuildError({code:"NEXT_ISLAZY_INITIALREVALIDATE",message:"invariant isLazy: initialRevalidate !== false"})}$=null;P=e.dataRoute}else if(s){I=false;$=i;P=d.omittedRoutes[i].dataRoute}else{const e=d.staticRoutes[i];({initialRevalidate:I,srcRoute:$,dataRoute:P}=e)}const F=normalizeIndexOutput(f.default.posix.join(p,R),b);const L=f.default.posix.join(p,A);let B;let D=f.default.posix.join(p,P);if(T||n||s){D=D.replace(new RegExp(`${(0,y.default)(A)}.json$`),`${R}.json`)}if(v){const e=normalizeIndexOutput(f.default.join("/",$==null?L:f.default.join(p,$==="/"?"/index":$)),b);const t=E[e];B=_[t]}else{const e=normalizeIndexOutput($==null?L:f.default.posix.join(p,$==="/"?"/index":$),b);B=_[e]}if(!C&&I===false){if(O==null||N==null){throw new o.NowBuildError({code:"NEXT_HTMLFSREF_JSONFSREF",message:"invariant: htmlFsRef != null && jsonFsRef != null"})}if(!m||l&&i==="/404"){O.contentType=g.htmlContentType;w[F]=O;w[D]=N}}const H=x&&!I&&m&&b&&C;if(w[F]==null&&(!C||I||H)){if(B==null){throw new o.NowBuildError({code:"NEXT_MISSING_LAMBDA",message:`Unable to find lambda for route: ${R}`})}const e=$||i;const t=isDynamicRoute(e);const n=S===null||S===void 0?void 0:S.dynamicRoutes.find(t=>t.page===e&&!("isMiddleware"in t));const s=n===null||n===void 0?void 0:n.routeKeys;let a;if(s){a=Object.values(s)}else if(!t){a=[]}w[F]=new o.Prerender({expiration:I,lambda:B,allowQuery:a,fallback:O,group:j,bypassToken:d.bypassToken});w[D]=new o.Prerender({expiration:I,lambda:B,allowQuery:a,fallback:N,group:j,bypassToken:d.bypassToken});++j;if((S===null||S===void 0?void 0:S.i18n)&&r){for(const e of S.i18n.locales){const t=addLocaleOrDefault(R,S,e);const i=normalizeIndexOutput(f.default.posix.join(p,t),b);const r=D.replace(new RegExp(`${(0,y.default)(A)}.json$`),`${t}${t!==A&&A==="/index"?"/index":""}.json`);const n=w[F];const s=w[D];w[i]={...n,group:j};w[r]={...s,group:j};++j}}}if((T&&!k||n||s)&&(S===null||S===void 0?void 0:S.i18n)&&!a){for(const a of S.i18n.locales){if(a===S.i18n.defaultLocale)continue;(0,t.onPrerenderRoute)(e)(i,{isBlocking:r,isFallback:n,isOmitted:s,locale:a})}}};t.onPrerenderRoute=I;async function getStaticFiles(e,t,i){const r="Collected static files (public/, static/, .next/static)";console.time(r);const n=await(0,o.glob)("**",f.default.join(e,i,"static"));const s=await(0,o.glob)("**",f.default.join(e,"static"));let a={};let u;if(await l.default.pathExists(f.default.join(e,"public"))){u=f.default.join(e,"public")}else if(await l.default.pathExists(f.default.join(e,i,"../public"))){u=f.default.join(e,i,"../public")}if(u){(0,o.debug)(`Using public folder at ${u}`);a=await(0,o.glob)("**/*",u)}else{(0,o.debug)("No public folder found")}const c={};const h={};const p={};for(const e of Object.keys(n)){c[f.default.join(t,`_next/static/${e}`)]=n[e]}for(const e of Object.keys(s)){h[f.default.join(t,"static",e)]=s[e]}for(const e of Object.keys(a)){p[f.default.join(t,e)]=a[e]}console.timeEnd(r);return{staticFiles:c,staticDirectoryFiles:h,publicDirectoryFiles:p}}t.getStaticFiles=getStaticFiles;function normalizeIndexOutput(e,t){if(e!=="/index"&&t){return e.replace(/\/index$/,"")}return e}t.normalizeIndexOutput=normalizeIndexOutput;function getNextServerPath(e){return p.default.gte(e,"v11.0.2-canary.4")?"next/dist/server":"next/dist/next-server/server"}t.getNextServerPath=getNextServerPath;function updateRouteSrc(e,t,i){if(e.src){e.src=i[t].regex}return e}t.updateRouteSrc=updateRouteSrc;async function getPrivateOutputs(e,t){const i={};const r=[];for(const[n,s]of Object.entries(t)){const t=f.default.join(e,n);try{const{mode:e,size:a}=await(0,l.stat)(t);if(a>30*1024*1024){throw new Error(`Exceeds maximum file size: ${a}`)}i[s]=new o.FileFsRef({mode:e,fsPath:t});r.push({src:`/${s}`,dest:"/404",status:404,continue:true})}catch(e){(0,o.debug)(`Private file ${n} had an error and will not be uploaded: ${e}`)}}return{files:i,routes:r}}t.getPrivateOutputs=getPrivateOutputs;async function getMiddlewareBundle({entryPath:e,outputDirectory:t,routesManifest:i}){const r=await getMiddlewareManifest(e,t);if(r&&(r===null||r===void 0?void 0:r.sortedMiddleware.length)>0){const n=await Promise.all(r.sortedMiddleware.map(async n=>{const s=r.middleware[n];try{const a=await(0,_.getNextjsEdgeFunctionSource)(s.files,{name:s.name,staticRoutes:i.staticRoutes,dynamicRoutes:i.dynamicRoutes.filter(e=>!("isMiddleware"in e)),nextConfig:{basePath:i.basePath,i18n:i.i18n}},f.default.resolve(e,t),s.wasm);return{page:r.middleware[n].page,edgeFunction:(()=>{var i;const{source:r,map:n}=a.sourceAndMap();const u=(0,w.stringifySourceMap)(transformSourceMap(n));const c=((i=s.wasm)!==null&&i!==void 0?i:[]).reduce((i,{filePath:r,name:n})=>{const s=f.default.join(e,t,r);i[`wasm/${n}.wasm`]=new o.FileFsRef({mode:420,contentType:"application/wasm",fsPath:s});return i},{});return new o.EdgeFunction({deploymentTarget:"v8-worker",name:s.name,files:{"index.js":new o.FileBlob({data:r,contentType:"application/javascript",mode:420}),...u&&{"index.js.map":new o.FileBlob({data:u,contentType:"application/json",mode:420})},...c},entrypoint:"index.js",envVarsInUse:s.env})})(),routeSrc:getRouteSrc(r.middleware[n],i)}}catch(e){e.message=`Can't build edge function ${n}: ${e.message}`;throw e}}));const s={staticRoutes:[],dynamicRouteMap:new Map,edgeFunctions:{}};for(const e of n.values()){const t=e.edgeFunction.name;e.edgeFunction.name=t.replace(/^pages\//,"");s.edgeFunctions[t]=e.edgeFunction;const r={continue:true,override:true,middlewarePath:t,src:e.routeSrc};if(i.version>3&&isDynamicRoute(e.page)){s.dynamicRouteMap.set(e.page,r)}else{s.staticRoutes.push(r)}}return s}return{staticRoutes:[],dynamicRouteMap:new Map,edgeFunctions:{}}}t.getMiddlewareBundle=getMiddlewareBundle;async function getMiddlewareManifest(e,t){const i=f.default.join(e,t,"./server/middleware-manifest.json");const r=await l.default.access(i).then(()=>true).catch(()=>false);if(!r){return}return require(i)}function getRouteSrc({regexp:e,page:t},{basePath:i="",i18n:r}){if(t==="/"){return e.replace("_next",`${(i===null||i===void 0?void 0:i.substring(1))?`${i===null||i===void 0?void 0:i.substring(1)}/`:""}_next`)}const n=(r===null||r===void 0?void 0:r.locales.length)?`(?:/(${r.locales.map(e=>(0,y.default)(e)).join("|")}))?`:"";return`(?:^${i}${n}${e.substring(1)})`}function transformSourceMap(e){var t;if(!e)return;const i=(t=e.sources)===null||t===void 0?void 0:t.map(e=>{return e.replace(/^webpack:\/\/?_N_E\/(?:\.\/)?/,"")}).map(e=>{return e.startsWith("?")?"[native code]":e});return{...e,sources:i}}},918:module=>{module.exports=eval("require")("aws-sdk")},2722:module=>{module.exports=eval("require")("mock-aws-s3")},3902:module=>{module.exports=eval("require")("nock")},772:e=>{"use strict";e.exports=JSON.parse('{"0.1.14":{"node_abi":null,"v8":"1.3"},"0.1.15":{"node_abi":null,"v8":"1.3"},"0.1.16":{"node_abi":null,"v8":"1.3"},"0.1.17":{"node_abi":null,"v8":"1.3"},"0.1.18":{"node_abi":null,"v8":"1.3"},"0.1.19":{"node_abi":null,"v8":"2.0"},"0.1.20":{"node_abi":null,"v8":"2.0"},"0.1.21":{"node_abi":null,"v8":"2.0"},"0.1.22":{"node_abi":null,"v8":"2.0"},"0.1.23":{"node_abi":null,"v8":"2.0"},"0.1.24":{"node_abi":null,"v8":"2.0"},"0.1.25":{"node_abi":null,"v8":"2.0"},"0.1.26":{"node_abi":null,"v8":"2.0"},"0.1.27":{"node_abi":null,"v8":"2.1"},"0.1.28":{"node_abi":null,"v8":"2.1"},"0.1.29":{"node_abi":null,"v8":"2.1"},"0.1.30":{"node_abi":null,"v8":"2.1"},"0.1.31":{"node_abi":null,"v8":"2.1"},"0.1.32":{"node_abi":null,"v8":"2.1"},"0.1.33":{"node_abi":null,"v8":"2.1"},"0.1.90":{"node_abi":null,"v8":"2.2"},"0.1.91":{"node_abi":null,"v8":"2.2"},"0.1.92":{"node_abi":null,"v8":"2.2"},"0.1.93":{"node_abi":null,"v8":"2.2"},"0.1.94":{"node_abi":null,"v8":"2.2"},"0.1.95":{"node_abi":null,"v8":"2.2"},"0.1.96":{"node_abi":null,"v8":"2.2"},"0.1.97":{"node_abi":null,"v8":"2.2"},"0.1.98":{"node_abi":null,"v8":"2.2"},"0.1.99":{"node_abi":null,"v8":"2.2"},"0.1.100":{"node_abi":null,"v8":"2.2"},"0.1.101":{"node_abi":null,"v8":"2.3"},"0.1.102":{"node_abi":null,"v8":"2.3"},"0.1.103":{"node_abi":null,"v8":"2.3"},"0.1.104":{"node_abi":null,"v8":"2.3"},"0.2.0":{"node_abi":1,"v8":"2.3"},"0.2.1":{"node_abi":1,"v8":"2.3"},"0.2.2":{"node_abi":1,"v8":"2.3"},"0.2.3":{"node_abi":1,"v8":"2.3"},"0.2.4":{"node_abi":1,"v8":"2.3"},"0.2.5":{"node_abi":1,"v8":"2.3"},"0.2.6":{"node_abi":1,"v8":"2.3"},"0.3.0":{"node_abi":1,"v8":"2.5"},"0.3.1":{"node_abi":1,"v8":"2.5"},"0.3.2":{"node_abi":1,"v8":"3.0"},"0.3.3":{"node_abi":1,"v8":"3.0"},"0.3.4":{"node_abi":1,"v8":"3.0"},"0.3.5":{"node_abi":1,"v8":"3.0"},"0.3.6":{"node_abi":1,"v8":"3.0"},"0.3.7":{"node_abi":1,"v8":"3.0"},"0.3.8":{"node_abi":1,"v8":"3.1"},"0.4.0":{"node_abi":1,"v8":"3.1"},"0.4.1":{"node_abi":1,"v8":"3.1"},"0.4.2":{"node_abi":1,"v8":"3.1"},"0.4.3":{"node_abi":1,"v8":"3.1"},"0.4.4":{"node_abi":1,"v8":"3.1"},"0.4.5":{"node_abi":1,"v8":"3.1"},"0.4.6":{"node_abi":1,"v8":"3.1"},"0.4.7":{"node_abi":1,"v8":"3.1"},"0.4.8":{"node_abi":1,"v8":"3.1"},"0.4.9":{"node_abi":1,"v8":"3.1"},"0.4.10":{"node_abi":1,"v8":"3.1"},"0.4.11":{"node_abi":1,"v8":"3.1"},"0.4.12":{"node_abi":1,"v8":"3.1"},"0.5.0":{"node_abi":1,"v8":"3.1"},"0.5.1":{"node_abi":1,"v8":"3.4"},"0.5.2":{"node_abi":1,"v8":"3.4"},"0.5.3":{"node_abi":1,"v8":"3.4"},"0.5.4":{"node_abi":1,"v8":"3.5"},"0.5.5":{"node_abi":1,"v8":"3.5"},"0.5.6":{"node_abi":1,"v8":"3.6"},"0.5.7":{"node_abi":1,"v8":"3.6"},"0.5.8":{"node_abi":1,"v8":"3.6"},"0.5.9":{"node_abi":1,"v8":"3.6"},"0.5.10":{"node_abi":1,"v8":"3.7"},"0.6.0":{"node_abi":1,"v8":"3.6"},"0.6.1":{"node_abi":1,"v8":"3.6"},"0.6.2":{"node_abi":1,"v8":"3.6"},"0.6.3":{"node_abi":1,"v8":"3.6"},"0.6.4":{"node_abi":1,"v8":"3.6"},"0.6.5":{"node_abi":1,"v8":"3.6"},"0.6.6":{"node_abi":1,"v8":"3.6"},"0.6.7":{"node_abi":1,"v8":"3.6"},"0.6.8":{"node_abi":1,"v8":"3.6"},"0.6.9":{"node_abi":1,"v8":"3.6"},"0.6.10":{"node_abi":1,"v8":"3.6"},"0.6.11":{"node_abi":1,"v8":"3.6"},"0.6.12":{"node_abi":1,"v8":"3.6"},"0.6.13":{"node_abi":1,"v8":"3.6"},"0.6.14":{"node_abi":1,"v8":"3.6"},"0.6.15":{"node_abi":1,"v8":"3.6"},"0.6.16":{"node_abi":1,"v8":"3.6"},"0.6.17":{"node_abi":1,"v8":"3.6"},"0.6.18":{"node_abi":1,"v8":"3.6"},"0.6.19":{"node_abi":1,"v8":"3.6"},"0.6.20":{"node_abi":1,"v8":"3.6"},"0.6.21":{"node_abi":1,"v8":"3.6"},"0.7.0":{"node_abi":1,"v8":"3.8"},"0.7.1":{"node_abi":1,"v8":"3.8"},"0.7.2":{"node_abi":1,"v8":"3.8"},"0.7.3":{"node_abi":1,"v8":"3.9"},"0.7.4":{"node_abi":1,"v8":"3.9"},"0.7.5":{"node_abi":1,"v8":"3.9"},"0.7.6":{"node_abi":1,"v8":"3.9"},"0.7.7":{"node_abi":1,"v8":"3.9"},"0.7.8":{"node_abi":1,"v8":"3.9"},"0.7.9":{"node_abi":1,"v8":"3.11"},"0.7.10":{"node_abi":1,"v8":"3.9"},"0.7.11":{"node_abi":1,"v8":"3.11"},"0.7.12":{"node_abi":1,"v8":"3.11"},"0.8.0":{"node_abi":1,"v8":"3.11"},"0.8.1":{"node_abi":1,"v8":"3.11"},"0.8.2":{"node_abi":1,"v8":"3.11"},"0.8.3":{"node_abi":1,"v8":"3.11"},"0.8.4":{"node_abi":1,"v8":"3.11"},"0.8.5":{"node_abi":1,"v8":"3.11"},"0.8.6":{"node_abi":1,"v8":"3.11"},"0.8.7":{"node_abi":1,"v8":"3.11"},"0.8.8":{"node_abi":1,"v8":"3.11"},"0.8.9":{"node_abi":1,"v8":"3.11"},"0.8.10":{"node_abi":1,"v8":"3.11"},"0.8.11":{"node_abi":1,"v8":"3.11"},"0.8.12":{"node_abi":1,"v8":"3.11"},"0.8.13":{"node_abi":1,"v8":"3.11"},"0.8.14":{"node_abi":1,"v8":"3.11"},"0.8.15":{"node_abi":1,"v8":"3.11"},"0.8.16":{"node_abi":1,"v8":"3.11"},"0.8.17":{"node_abi":1,"v8":"3.11"},"0.8.18":{"node_abi":1,"v8":"3.11"},"0.8.19":{"node_abi":1,"v8":"3.11"},"0.8.20":{"node_abi":1,"v8":"3.11"},"0.8.21":{"node_abi":1,"v8":"3.11"},"0.8.22":{"node_abi":1,"v8":"3.11"},"0.8.23":{"node_abi":1,"v8":"3.11"},"0.8.24":{"node_abi":1,"v8":"3.11"},"0.8.25":{"node_abi":1,"v8":"3.11"},"0.8.26":{"node_abi":1,"v8":"3.11"},"0.8.27":{"node_abi":1,"v8":"3.11"},"0.8.28":{"node_abi":1,"v8":"3.11"},"0.9.0":{"node_abi":1,"v8":"3.11"},"0.9.1":{"node_abi":10,"v8":"3.11"},"0.9.2":{"node_abi":10,"v8":"3.11"},"0.9.3":{"node_abi":10,"v8":"3.13"},"0.9.4":{"node_abi":10,"v8":"3.13"},"0.9.5":{"node_abi":10,"v8":"3.13"},"0.9.6":{"node_abi":10,"v8":"3.15"},"0.9.7":{"node_abi":10,"v8":"3.15"},"0.9.8":{"node_abi":10,"v8":"3.15"},"0.9.9":{"node_abi":11,"v8":"3.15"},"0.9.10":{"node_abi":11,"v8":"3.15"},"0.9.11":{"node_abi":11,"v8":"3.14"},"0.9.12":{"node_abi":11,"v8":"3.14"},"0.10.0":{"node_abi":11,"v8":"3.14"},"0.10.1":{"node_abi":11,"v8":"3.14"},"0.10.2":{"node_abi":11,"v8":"3.14"},"0.10.3":{"node_abi":11,"v8":"3.14"},"0.10.4":{"node_abi":11,"v8":"3.14"},"0.10.5":{"node_abi":11,"v8":"3.14"},"0.10.6":{"node_abi":11,"v8":"3.14"},"0.10.7":{"node_abi":11,"v8":"3.14"},"0.10.8":{"node_abi":11,"v8":"3.14"},"0.10.9":{"node_abi":11,"v8":"3.14"},"0.10.10":{"node_abi":11,"v8":"3.14"},"0.10.11":{"node_abi":11,"v8":"3.14"},"0.10.12":{"node_abi":11,"v8":"3.14"},"0.10.13":{"node_abi":11,"v8":"3.14"},"0.10.14":{"node_abi":11,"v8":"3.14"},"0.10.15":{"node_abi":11,"v8":"3.14"},"0.10.16":{"node_abi":11,"v8":"3.14"},"0.10.17":{"node_abi":11,"v8":"3.14"},"0.10.18":{"node_abi":11,"v8":"3.14"},"0.10.19":{"node_abi":11,"v8":"3.14"},"0.10.20":{"node_abi":11,"v8":"3.14"},"0.10.21":{"node_abi":11,"v8":"3.14"},"0.10.22":{"node_abi":11,"v8":"3.14"},"0.10.23":{"node_abi":11,"v8":"3.14"},"0.10.24":{"node_abi":11,"v8":"3.14"},"0.10.25":{"node_abi":11,"v8":"3.14"},"0.10.26":{"node_abi":11,"v8":"3.14"},"0.10.27":{"node_abi":11,"v8":"3.14"},"0.10.28":{"node_abi":11,"v8":"3.14"},"0.10.29":{"node_abi":11,"v8":"3.14"},"0.10.30":{"node_abi":11,"v8":"3.14"},"0.10.31":{"node_abi":11,"v8":"3.14"},"0.10.32":{"node_abi":11,"v8":"3.14"},"0.10.33":{"node_abi":11,"v8":"3.14"},"0.10.34":{"node_abi":11,"v8":"3.14"},"0.10.35":{"node_abi":11,"v8":"3.14"},"0.10.36":{"node_abi":11,"v8":"3.14"},"0.10.37":{"node_abi":11,"v8":"3.14"},"0.10.38":{"node_abi":11,"v8":"3.14"},"0.10.39":{"node_abi":11,"v8":"3.14"},"0.10.40":{"node_abi":11,"v8":"3.14"},"0.10.41":{"node_abi":11,"v8":"3.14"},"0.10.42":{"node_abi":11,"v8":"3.14"},"0.10.43":{"node_abi":11,"v8":"3.14"},"0.10.44":{"node_abi":11,"v8":"3.14"},"0.10.45":{"node_abi":11,"v8":"3.14"},"0.10.46":{"node_abi":11,"v8":"3.14"},"0.10.47":{"node_abi":11,"v8":"3.14"},"0.10.48":{"node_abi":11,"v8":"3.14"},"0.11.0":{"node_abi":12,"v8":"3.17"},"0.11.1":{"node_abi":12,"v8":"3.18"},"0.11.2":{"node_abi":12,"v8":"3.19"},"0.11.3":{"node_abi":12,"v8":"3.19"},"0.11.4":{"node_abi":12,"v8":"3.20"},"0.11.5":{"node_abi":12,"v8":"3.20"},"0.11.6":{"node_abi":12,"v8":"3.20"},"0.11.7":{"node_abi":12,"v8":"3.20"},"0.11.8":{"node_abi":13,"v8":"3.21"},"0.11.9":{"node_abi":13,"v8":"3.22"},"0.11.10":{"node_abi":13,"v8":"3.22"},"0.11.11":{"node_abi":14,"v8":"3.22"},"0.11.12":{"node_abi":14,"v8":"3.22"},"0.11.13":{"node_abi":14,"v8":"3.25"},"0.11.14":{"node_abi":14,"v8":"3.26"},"0.11.15":{"node_abi":14,"v8":"3.28"},"0.11.16":{"node_abi":14,"v8":"3.28"},"0.12.0":{"node_abi":14,"v8":"3.28"},"0.12.1":{"node_abi":14,"v8":"3.28"},"0.12.2":{"node_abi":14,"v8":"3.28"},"0.12.3":{"node_abi":14,"v8":"3.28"},"0.12.4":{"node_abi":14,"v8":"3.28"},"0.12.5":{"node_abi":14,"v8":"3.28"},"0.12.6":{"node_abi":14,"v8":"3.28"},"0.12.7":{"node_abi":14,"v8":"3.28"},"0.12.8":{"node_abi":14,"v8":"3.28"},"0.12.9":{"node_abi":14,"v8":"3.28"},"0.12.10":{"node_abi":14,"v8":"3.28"},"0.12.11":{"node_abi":14,"v8":"3.28"},"0.12.12":{"node_abi":14,"v8":"3.28"},"0.12.13":{"node_abi":14,"v8":"3.28"},"0.12.14":{"node_abi":14,"v8":"3.28"},"0.12.15":{"node_abi":14,"v8":"3.28"},"0.12.16":{"node_abi":14,"v8":"3.28"},"0.12.17":{"node_abi":14,"v8":"3.28"},"0.12.18":{"node_abi":14,"v8":"3.28"},"1.0.0":{"node_abi":42,"v8":"3.31"},"1.0.1":{"node_abi":42,"v8":"3.31"},"1.0.2":{"node_abi":42,"v8":"3.31"},"1.0.3":{"node_abi":42,"v8":"4.1"},"1.0.4":{"node_abi":42,"v8":"4.1"},"1.1.0":{"node_abi":43,"v8":"4.1"},"1.2.0":{"node_abi":43,"v8":"4.1"},"1.3.0":{"node_abi":43,"v8":"4.1"},"1.4.1":{"node_abi":43,"v8":"4.1"},"1.4.2":{"node_abi":43,"v8":"4.1"},"1.4.3":{"node_abi":43,"v8":"4.1"},"1.5.0":{"node_abi":43,"v8":"4.1"},"1.5.1":{"node_abi":43,"v8":"4.1"},"1.6.0":{"node_abi":43,"v8":"4.1"},"1.6.1":{"node_abi":43,"v8":"4.1"},"1.6.2":{"node_abi":43,"v8":"4.1"},"1.6.3":{"node_abi":43,"v8":"4.1"},"1.6.4":{"node_abi":43,"v8":"4.1"},"1.7.1":{"node_abi":43,"v8":"4.1"},"1.8.1":{"node_abi":43,"v8":"4.1"},"1.8.2":{"node_abi":43,"v8":"4.1"},"1.8.3":{"node_abi":43,"v8":"4.1"},"1.8.4":{"node_abi":43,"v8":"4.1"},"2.0.0":{"node_abi":44,"v8":"4.2"},"2.0.1":{"node_abi":44,"v8":"4.2"},"2.0.2":{"node_abi":44,"v8":"4.2"},"2.1.0":{"node_abi":44,"v8":"4.2"},"2.2.0":{"node_abi":44,"v8":"4.2"},"2.2.1":{"node_abi":44,"v8":"4.2"},"2.3.0":{"node_abi":44,"v8":"4.2"},"2.3.1":{"node_abi":44,"v8":"4.2"},"2.3.2":{"node_abi":44,"v8":"4.2"},"2.3.3":{"node_abi":44,"v8":"4.2"},"2.3.4":{"node_abi":44,"v8":"4.2"},"2.4.0":{"node_abi":44,"v8":"4.2"},"2.5.0":{"node_abi":44,"v8":"4.2"},"3.0.0":{"node_abi":45,"v8":"4.4"},"3.1.0":{"node_abi":45,"v8":"4.4"},"3.2.0":{"node_abi":45,"v8":"4.4"},"3.3.0":{"node_abi":45,"v8":"4.4"},"3.3.1":{"node_abi":45,"v8":"4.4"},"4.0.0":{"node_abi":46,"v8":"4.5"},"4.1.0":{"node_abi":46,"v8":"4.5"},"4.1.1":{"node_abi":46,"v8":"4.5"},"4.1.2":{"node_abi":46,"v8":"4.5"},"4.2.0":{"node_abi":46,"v8":"4.5"},"4.2.1":{"node_abi":46,"v8":"4.5"},"4.2.2":{"node_abi":46,"v8":"4.5"},"4.2.3":{"node_abi":46,"v8":"4.5"},"4.2.4":{"node_abi":46,"v8":"4.5"},"4.2.5":{"node_abi":46,"v8":"4.5"},"4.2.6":{"node_abi":46,"v8":"4.5"},"4.3.0":{"node_abi":46,"v8":"4.5"},"4.3.1":{"node_abi":46,"v8":"4.5"},"4.3.2":{"node_abi":46,"v8":"4.5"},"4.4.0":{"node_abi":46,"v8":"4.5"},"4.4.1":{"node_abi":46,"v8":"4.5"},"4.4.2":{"node_abi":46,"v8":"4.5"},"4.4.3":{"node_abi":46,"v8":"4.5"},"4.4.4":{"node_abi":46,"v8":"4.5"},"4.4.5":{"node_abi":46,"v8":"4.5"},"4.4.6":{"node_abi":46,"v8":"4.5"},"4.4.7":{"node_abi":46,"v8":"4.5"},"4.5.0":{"node_abi":46,"v8":"4.5"},"4.6.0":{"node_abi":46,"v8":"4.5"},"4.6.1":{"node_abi":46,"v8":"4.5"},"4.6.2":{"node_abi":46,"v8":"4.5"},"4.7.0":{"node_abi":46,"v8":"4.5"},"4.7.1":{"node_abi":46,"v8":"4.5"},"4.7.2":{"node_abi":46,"v8":"4.5"},"4.7.3":{"node_abi":46,"v8":"4.5"},"4.8.0":{"node_abi":46,"v8":"4.5"},"4.8.1":{"node_abi":46,"v8":"4.5"},"4.8.2":{"node_abi":46,"v8":"4.5"},"4.8.3":{"node_abi":46,"v8":"4.5"},"4.8.4":{"node_abi":46,"v8":"4.5"},"4.8.5":{"node_abi":46,"v8":"4.5"},"4.8.6":{"node_abi":46,"v8":"4.5"},"4.8.7":{"node_abi":46,"v8":"4.5"},"4.9.0":{"node_abi":46,"v8":"4.5"},"4.9.1":{"node_abi":46,"v8":"4.5"},"5.0.0":{"node_abi":47,"v8":"4.6"},"5.1.0":{"node_abi":47,"v8":"4.6"},"5.1.1":{"node_abi":47,"v8":"4.6"},"5.2.0":{"node_abi":47,"v8":"4.6"},"5.3.0":{"node_abi":47,"v8":"4.6"},"5.4.0":{"node_abi":47,"v8":"4.6"},"5.4.1":{"node_abi":47,"v8":"4.6"},"5.5.0":{"node_abi":47,"v8":"4.6"},"5.6.0":{"node_abi":47,"v8":"4.6"},"5.7.0":{"node_abi":47,"v8":"4.6"},"5.7.1":{"node_abi":47,"v8":"4.6"},"5.8.0":{"node_abi":47,"v8":"4.6"},"5.9.0":{"node_abi":47,"v8":"4.6"},"5.9.1":{"node_abi":47,"v8":"4.6"},"5.10.0":{"node_abi":47,"v8":"4.6"},"5.10.1":{"node_abi":47,"v8":"4.6"},"5.11.0":{"node_abi":47,"v8":"4.6"},"5.11.1":{"node_abi":47,"v8":"4.6"},"5.12.0":{"node_abi":47,"v8":"4.6"},"6.0.0":{"node_abi":48,"v8":"5.0"},"6.1.0":{"node_abi":48,"v8":"5.0"},"6.2.0":{"node_abi":48,"v8":"5.0"},"6.2.1":{"node_abi":48,"v8":"5.0"},"6.2.2":{"node_abi":48,"v8":"5.0"},"6.3.0":{"node_abi":48,"v8":"5.0"},"6.3.1":{"node_abi":48,"v8":"5.0"},"6.4.0":{"node_abi":48,"v8":"5.0"},"6.5.0":{"node_abi":48,"v8":"5.1"},"6.6.0":{"node_abi":48,"v8":"5.1"},"6.7.0":{"node_abi":48,"v8":"5.1"},"6.8.0":{"node_abi":48,"v8":"5.1"},"6.8.1":{"node_abi":48,"v8":"5.1"},"6.9.0":{"node_abi":48,"v8":"5.1"},"6.9.1":{"node_abi":48,"v8":"5.1"},"6.9.2":{"node_abi":48,"v8":"5.1"},"6.9.3":{"node_abi":48,"v8":"5.1"},"6.9.4":{"node_abi":48,"v8":"5.1"},"6.9.5":{"node_abi":48,"v8":"5.1"},"6.10.0":{"node_abi":48,"v8":"5.1"},"6.10.1":{"node_abi":48,"v8":"5.1"},"6.10.2":{"node_abi":48,"v8":"5.1"},"6.10.3":{"node_abi":48,"v8":"5.1"},"6.11.0":{"node_abi":48,"v8":"5.1"},"6.11.1":{"node_abi":48,"v8":"5.1"},"6.11.2":{"node_abi":48,"v8":"5.1"},"6.11.3":{"node_abi":48,"v8":"5.1"},"6.11.4":{"node_abi":48,"v8":"5.1"},"6.11.5":{"node_abi":48,"v8":"5.1"},"6.12.0":{"node_abi":48,"v8":"5.1"},"6.12.1":{"node_abi":48,"v8":"5.1"},"6.12.2":{"node_abi":48,"v8":"5.1"},"6.12.3":{"node_abi":48,"v8":"5.1"},"6.13.0":{"node_abi":48,"v8":"5.1"},"6.13.1":{"node_abi":48,"v8":"5.1"},"6.14.0":{"node_abi":48,"v8":"5.1"},"6.14.1":{"node_abi":48,"v8":"5.1"},"6.14.2":{"node_abi":48,"v8":"5.1"},"6.14.3":{"node_abi":48,"v8":"5.1"},"6.14.4":{"node_abi":48,"v8":"5.1"},"6.15.0":{"node_abi":48,"v8":"5.1"},"6.15.1":{"node_abi":48,"v8":"5.1"},"6.16.0":{"node_abi":48,"v8":"5.1"},"6.17.0":{"node_abi":48,"v8":"5.1"},"6.17.1":{"node_abi":48,"v8":"5.1"},"7.0.0":{"node_abi":51,"v8":"5.4"},"7.1.0":{"node_abi":51,"v8":"5.4"},"7.2.0":{"node_abi":51,"v8":"5.4"},"7.2.1":{"node_abi":51,"v8":"5.4"},"7.3.0":{"node_abi":51,"v8":"5.4"},"7.4.0":{"node_abi":51,"v8":"5.4"},"7.5.0":{"node_abi":51,"v8":"5.4"},"7.6.0":{"node_abi":51,"v8":"5.5"},"7.7.0":{"node_abi":51,"v8":"5.5"},"7.7.1":{"node_abi":51,"v8":"5.5"},"7.7.2":{"node_abi":51,"v8":"5.5"},"7.7.3":{"node_abi":51,"v8":"5.5"},"7.7.4":{"node_abi":51,"v8":"5.5"},"7.8.0":{"node_abi":51,"v8":"5.5"},"7.9.0":{"node_abi":51,"v8":"5.5"},"7.10.0":{"node_abi":51,"v8":"5.5"},"7.10.1":{"node_abi":51,"v8":"5.5"},"8.0.0":{"node_abi":57,"v8":"5.8"},"8.1.0":{"node_abi":57,"v8":"5.8"},"8.1.1":{"node_abi":57,"v8":"5.8"},"8.1.2":{"node_abi":57,"v8":"5.8"},"8.1.3":{"node_abi":57,"v8":"5.8"},"8.1.4":{"node_abi":57,"v8":"5.8"},"8.2.0":{"node_abi":57,"v8":"5.8"},"8.2.1":{"node_abi":57,"v8":"5.8"},"8.3.0":{"node_abi":57,"v8":"6.0"},"8.4.0":{"node_abi":57,"v8":"6.0"},"8.5.0":{"node_abi":57,"v8":"6.0"},"8.6.0":{"node_abi":57,"v8":"6.0"},"8.7.0":{"node_abi":57,"v8":"6.1"},"8.8.0":{"node_abi":57,"v8":"6.1"},"8.8.1":{"node_abi":57,"v8":"6.1"},"8.9.0":{"node_abi":57,"v8":"6.1"},"8.9.1":{"node_abi":57,"v8":"6.1"},"8.9.2":{"node_abi":57,"v8":"6.1"},"8.9.3":{"node_abi":57,"v8":"6.1"},"8.9.4":{"node_abi":57,"v8":"6.1"},"8.10.0":{"node_abi":57,"v8":"6.2"},"8.11.0":{"node_abi":57,"v8":"6.2"},"8.11.1":{"node_abi":57,"v8":"6.2"},"8.11.2":{"node_abi":57,"v8":"6.2"},"8.11.3":{"node_abi":57,"v8":"6.2"},"8.11.4":{"node_abi":57,"v8":"6.2"},"8.12.0":{"node_abi":57,"v8":"6.2"},"8.13.0":{"node_abi":57,"v8":"6.2"},"8.14.0":{"node_abi":57,"v8":"6.2"},"8.14.1":{"node_abi":57,"v8":"6.2"},"8.15.0":{"node_abi":57,"v8":"6.2"},"8.15.1":{"node_abi":57,"v8":"6.2"},"8.16.0":{"node_abi":57,"v8":"6.2"},"9.0.0":{"node_abi":59,"v8":"6.2"},"9.1.0":{"node_abi":59,"v8":"6.2"},"9.2.0":{"node_abi":59,"v8":"6.2"},"9.2.1":{"node_abi":59,"v8":"6.2"},"9.3.0":{"node_abi":59,"v8":"6.2"},"9.4.0":{"node_abi":59,"v8":"6.2"},"9.5.0":{"node_abi":59,"v8":"6.2"},"9.6.0":{"node_abi":59,"v8":"6.2"},"9.6.1":{"node_abi":59,"v8":"6.2"},"9.7.0":{"node_abi":59,"v8":"6.2"},"9.7.1":{"node_abi":59,"v8":"6.2"},"9.8.0":{"node_abi":59,"v8":"6.2"},"9.9.0":{"node_abi":59,"v8":"6.2"},"9.10.0":{"node_abi":59,"v8":"6.2"},"9.10.1":{"node_abi":59,"v8":"6.2"},"9.11.0":{"node_abi":59,"v8":"6.2"},"9.11.1":{"node_abi":59,"v8":"6.2"},"9.11.2":{"node_abi":59,"v8":"6.2"},"10.0.0":{"node_abi":64,"v8":"6.6"},"10.1.0":{"node_abi":64,"v8":"6.6"},"10.2.0":{"node_abi":64,"v8":"6.6"},"10.2.1":{"node_abi":64,"v8":"6.6"},"10.3.0":{"node_abi":64,"v8":"6.6"},"10.4.0":{"node_abi":64,"v8":"6.7"},"10.4.1":{"node_abi":64,"v8":"6.7"},"10.5.0":{"node_abi":64,"v8":"6.7"},"10.6.0":{"node_abi":64,"v8":"6.7"},"10.7.0":{"node_abi":64,"v8":"6.7"},"10.8.0":{"node_abi":64,"v8":"6.7"},"10.9.0":{"node_abi":64,"v8":"6.8"},"10.10.0":{"node_abi":64,"v8":"6.8"},"10.11.0":{"node_abi":64,"v8":"6.8"},"10.12.0":{"node_abi":64,"v8":"6.8"},"10.13.0":{"node_abi":64,"v8":"6.8"},"10.14.0":{"node_abi":64,"v8":"6.8"},"10.14.1":{"node_abi":64,"v8":"6.8"},"10.14.2":{"node_abi":64,"v8":"6.8"},"10.15.0":{"node_abi":64,"v8":"6.8"},"10.15.1":{"node_abi":64,"v8":"6.8"},"10.15.2":{"node_abi":64,"v8":"6.8"},"10.15.3":{"node_abi":64,"v8":"6.8"},"11.0.0":{"node_abi":67,"v8":"7.0"},"11.1.0":{"node_abi":67,"v8":"7.0"},"11.2.0":{"node_abi":67,"v8":"7.0"},"11.3.0":{"node_abi":67,"v8":"7.0"},"11.4.0":{"node_abi":67,"v8":"7.0"},"11.5.0":{"node_abi":67,"v8":"7.0"},"11.6.0":{"node_abi":67,"v8":"7.0"},"11.7.0":{"node_abi":67,"v8":"7.0"},"11.8.0":{"node_abi":67,"v8":"7.0"},"11.9.0":{"node_abi":67,"v8":"7.0"},"11.10.0":{"node_abi":67,"v8":"7.0"},"11.10.1":{"node_abi":67,"v8":"7.0"},"11.11.0":{"node_abi":67,"v8":"7.0"},"11.12.0":{"node_abi":67,"v8":"7.0"},"11.13.0":{"node_abi":67,"v8":"7.0"},"11.14.0":{"node_abi":67,"v8":"7.0"},"12.0.0":{"node_abi":72,"v8":"7.4"}}')},3445:e=>{"use strict";e.exports=require("@vercel/build-utils")},2357:e=>{"use strict";e.exports=require("assert")},4293:e=>{"use strict";e.exports=require("buffer")},3129:e=>{"use strict";e.exports=require("child_process")},7619:e=>{"use strict";e.exports=require("constants")},8614:e=>{"use strict";e.exports=require("events")},5747:e=>{"use strict";e.exports=require("fs")},2282:e=>{"use strict";e.exports=require("module")},2087:e=>{"use strict";e.exports=require("os")},5622:e=>{"use strict";e.exports=require("path")},8027:e=>{"use strict";e.exports=require("repl")},2413:e=>{"use strict";e.exports=require("stream")},8835:e=>{"use strict";e.exports=require("url")},1669:e=>{"use strict";e.exports=require("util")},8761:e=>{"use strict";e.exports=require("zlib")}};var __webpack_module_cache__={};function __webpack_require__(e){if(__webpack_module_cache__[e]){return __webpack_module_cache__[e].exports}var t=__webpack_module_cache__[e]={exports:{}};var i=true;try{__webpack_modules__[e].call(t.exports,t,t.exports,__webpack_require__);i=false}finally{if(i)delete __webpack_module_cache__[e]}return t.exports}__webpack_require__.ab=__dirname+"/";return __webpack_require__(2855)})();
6
+ )`}t.getNextjsEdgeFunctionSource=getNextjsEdgeFunctionSource;function getWasmImportStatements(e=[]){return e.filter(({name:e})=>e.startsWith("wasm_")).map(({name:e})=>{const t=`/wasm/${e}.wasm`;return`const ${e} = require(${JSON.stringify(t)});`}).join("\n")}async function validateScript(e){const t=await p(e);if(t.length>u.EDGE_FUNCTION_USER_SCRIPT_SIZE_LIMIT){throw new Error(`Exceeds maximum edge function script size: ${(0,f.default)(t.length)} / ${(0,f.default)(u.EDGE_FUNCTION_USER_SCRIPT_SIZE_LIMIT)}`)}}},2855:function(e,t,i){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.prepareCache=t.build=t.MAX_AGE_ONE_YEAR=t.htmlContentType=t.version=void 0;const n=i(3445);const s=i(4628);const a=i(9582);const o=i(7916);const u=r(i(1426));const c=r(i(4823));const l=i(5392);const f=r(i(2087));const h=r(i(5622));const p=r(i(9293));const d=r(i(2879));const v=r(i(8835));const y=r(i(9892));const g=r(i(1207));const b=i(5840);const m=i(4411);t.version=2;t.htmlContentType="text/html; charset=utf-8";const _="v10.0.9-canary.4";const w="v10.2.3-canary.1";const E="v11.0.2-canary.15";t.MAX_AGE_ONE_YEAR=31536e3;async function readPackageJson(e){const t=h.default.join(e,"package.json");try{return JSON.parse(await(0,l.readFile)(t,"utf8"))}catch(e){(0,n.debug)("package.json not found in entry");return{}}}async function writePackageJson(e,t){await(0,l.writeFile)(h.default.join(e,"package.json"),JSON.stringify(t,null,2))}async function writeNpmRc(e,t){await(0,l.writeFile)(h.default.join(e,".npmrc"),`//registry.npmjs.org/:_authToken=${t}`)}function getRealNextVersion(e){try{const t=require((0,p.default)(e,"next/package.json")).version;console.log(`Detected Next.js version: ${t}`);return t}catch(e){console.log(`Warning: Could not identify Next.js version, ensure it is defined as a project dependency.`);return false}}async function getNextVersionRange(e){let t=false;const i=await readPackageJson(e);if(i.dependencies&&i.dependencies.next){t=i.dependencies.next}else if(i.devDependencies&&i.devDependencies.next){t=i.devDependencies.next}return t}function isLegacyNext(e){if(e==="canary"||e==="latest"){return false}if(g.default.indexOf(e)!==-1){return true}const t=d.default.maxSatisfying(g.default,e);if(t===null){return false}return true}const S=async({files:e,workPath:i,repoRootPath:r,entrypoint:p,config:g={},meta:S={}})=>{var x,R,A,k;(0,m.validateEntrypoint)(p);const T=g.maxLambdaSize||50*1e3*1e3;let C=h.default.dirname(p);let O=h.default.join(i,C);if(g.rootDirectory){r=O;O=h.default.join(O,g.rootDirectory)}const N=g.outputDirectory||".next";const j=h.default.join(O,N,"static");const I=r||i;(0,n.debug)(JSON.stringify({repoRootPath:r,baseDir:I,workPath:i,entryPath:O,entryDirectory:C,outputDirectory:N},null,2));Object.keys(process.env).filter(e=>e.startsWith("VERCEL_")).forEach(e=>{const t=`NEXT_PUBLIC_${e}`;if(!(t in process.env)){process.env[t]=process.env[e]}});await(0,n.download)(e,i,S);if(g.rootDirectory){i=h.default.join(i,g.rootDirectory)}let $=await readPackageJson(O);const P=await getNextVersionRange(O);const F=await(0,n.getNodeVersion)(O,undefined,g,S);const L=(0,n.getSpawnOptions)(S,F);const B=await(0,c.default)(["now.json","vercel.json"],{cwd:O});let D=false;const H=!!g.functions;if(await(0,l.pathExists)(j)){console.warn("WARNING: You should not upload the `.next` directory.")}const U=P&&isLegacyNext(P);(0,n.debug)(`MODE: ${U?"legacy":"server(less)"}`);if(U){console.warn("WARNING: your application is being deployed in @vercel/next's legacy mode. http://err.sh/vercel/vercel/now-next-legacy-mode");await Promise.all([(0,l.remove)(h.default.join(O,"yarn.lock")),(0,l.remove)(h.default.join(O,"package-lock.json"))]);(0,n.debug)("Normalizing package.json");$=(0,m.normalizePackageJson)($);(0,n.debug)("Normalized package.json result: ",$);await writePackageJson(O,$)}let W=(0,n.getScriptName)($,["vercel-build","now-build","build"]);const{installCommand:q,buildCommand:G}=g;if(!W&&!G){console.log("Your application is being built using `next build`. "+"If you need to define a different build step, please create a `vercel-build` script in your `package.json` "+'(e.g. `{ "scripts": { "vercel-build": "npm run prepare && next build" } }`).');await writePackageJson(O,{...$,scripts:{"vercel-build":"next build",...$.scripts}});W="vercel-build"}if(process.env.NPM_AUTH_TOKEN){(0,n.debug)("Found NPM_AUTH_TOKEN in environment, creating .npmrc");await writeNpmRc(O,process.env.NPM_AUTH_TOKEN)}if(typeof q==="string"){if(q.trim()){console.log(`Running "install" command: \`${q}\`...`);const{cliType:e,lockfileVersion:t}=await(0,n.scanParentDirs)(O);const i={YARN_NODE_LINKER:"node-modules",...L.env};if(e==="npm"){if(typeof t==="number"&&t>=2&&((F===null||F===void 0?void 0:F.major)||0)<16){i.PATH=`/node16/bin-npm7${h.default.delimiter}${i.PATH}`;console.log("Detected `package-lock.json` generated by npm 7...")}}await(0,n.execCommand)(q,{...L,env:i,cwd:O})}else{console.log(`Skipping "install" command...`)}}else{await(0,n.runNpmInstall)(O,[],L,S,F)}const V=getRealNextVersion(O);if(!V){throw new n.NowBuildError({code:"NEXT_NO_VERSION",message:'No Next.js version could be detected in your project. Make sure `"next"` is installed in "dependencies" or "devDependencies"'})}let z=!(g.framework==="blitzjs")&&d.default.gte(V,_);const M=d.default.gte(V,w);const X=d.default.gte(V,"v11.0.2-canary.3");if(z){(0,n.debug)(`Application is being built in server mode since ${V} meets minimum version of ${_}`)}else{if(B){const e=JSON.parse(await(0,l.readFile)(B,"utf8"));if(Array.isArray(e.routes)&&e.routes.length>0){D=true;console.warn(`WARNING: your application is being opted out of @vercel/next's optimized lambdas mode due to legacy routes in ${h.default.basename(B)}. http://err.sh/vercel/vercel/next-legacy-routes-optimized-lambdas`)}}if(H){console.warn(`WARNING: Your application is being opted out of "@vercel/next" optimized lambdas mode due to \`functions\` config.\nMore info: http://err.sh/vercel/vercel/next-functions-config-optimized-lambdas`)}}const K=!z&&!D&&!H&&typeof g.sharedLambdas==="undefined"?true:!!g.sharedLambdas;let Y;if(z){Y="server"}else if(!U){Y=await(0,y.default)(i,O,V)}const Q={...L.env};const J=Math.floor(f.default.totalmem()/1024**2)-128;Q.NODE_OPTIONS=`--max_old_space_size=${J}`;if(Y){Q.NEXT_PRIVATE_TARGET=Y}Q.NEXT_PRIVATE_OUTPUT_TRACE_ROOT=I;if(z){Q.NODE_ENV="production"}if(G){const e=await(0,n.getNodeBinPath)({cwd:O});Q.PATH=`${e}${h.default.delimiter}${Q.PATH}`;if(!Q.YARN_NODE_LINKER){Q.YARN_NODE_LINKER="node-modules"}(0,n.debug)(`Added "${e}" to PATH env because a build command was used.`);console.log(`Running "${G}"`);await(0,n.execCommand)(G,{...L,cwd:O,env:Q})}else if(W){await(0,n.runPackageJsonScript)(O,W,{...L,env:Q})}(0,n.debug)("build command exited");let Z=h.default.posix.join("/",C).replace(/\/+$/,"");const ee=z?await(0,m.getRequiredServerFilesManifest)(O,N):false;z=!!ee;const te=await(0,m.getRoutesManifest)(O,N,V);const ie=await(0,m.getImagesManifest)(O,N);const re=await(0,m.getPrerenderManifest)(O,N);const ne=new Set(Object.keys(re.omittedRoutes));const se=typeof((x=re.staticRoutes[(te===null||te===void 0?void 0:te.i18n)?h.default.join("/",te===null||te===void 0?void 0:te.i18n.defaultLocale,"/404"):"/404"])===null||x===void 0?void 0:x.initialRevalidate)==="number";const ae=((R=te===null||te===void 0?void 0:te.i18n)===null||R===void 0?void 0:R.domains)&&te.i18n.domains.length>0?te.i18n.domains.map(e=>{var t;return{domain:e.domain,value:e.defaultLocale===((t=te.i18n)===null||t===void 0?void 0:t.defaultLocale)?"":`/${e.defaultLocale}`}}):undefined;const oe=await(0,m.getPrivateOutputs)(h.default.join(O,N),{"next-stats.json":"_next/__private/stats.json",trace:"_next/__private/trace"});const ue=[];const ce=[];const le=[];const fe=[];let he=[];const pe=[];let de=[];let ve=false;let ye="";let ge="";if(U||K||z){try{ye=await(0,l.readFile)(h.default.join(O,N,"BUILD_ID"),"utf8");ge=(0,u.default)(ye)}catch(e){throw new n.NowBuildError({code:"NOW_NEXT_NO_BUILD_ID",message:'The BUILD_ID file was not found in the Output Directory. Did you forget to run "next build" in your Build Command?'})}}if(te){switch(te.version){case 1:case 2:case 3:case 4:{he.push(...(0,s.convertRedirects)(te.redirects));if(Array.isArray(te.rewrites)){le.push(...(0,s.convertRewrites)(te.rewrites,te.i18n?["nextInternalLocale"]:undefined))}else{ce.push(...(0,s.convertRewrites)(te.rewrites.beforeFiles).map(e=>{if("check"in e){if(M){delete e.check;e.continue=true}e.override=true}return e}));le.push(...(0,s.convertRewrites)(te.rewrites.afterFiles));fe.push(...(0,s.convertRewrites)(te.rewrites.fallback))}if(te.headers){ue.push(...(0,s.convertHeaders)(te.headers))}if(d.default.gte(V,E)){he.forEach((e,t)=>(0,m.updateRouteSrc)(e,t,te.redirects));le.forEach((e,t)=>(0,m.updateRouteSrc)(e,t,Array.isArray(te.rewrites)?te.rewrites:te.rewrites.afterFiles));ce.forEach((e,t)=>(0,m.updateRouteSrc)(e,t,Array.isArray(te.rewrites)?[]:te.rewrites.beforeFiles));fe.forEach((e,t)=>(0,m.updateRouteSrc)(e,t,Array.isArray(te.rewrites)?[]:te.rewrites.fallback));ue.forEach((e,t)=>(0,m.updateRouteSrc)(e,t,te.headers||[]))}if(te.basePath&&te.basePath!=="/"){const e=te.basePath;if(!e.startsWith("/")){throw new n.NowBuildError({code:"NEXT_BASEPATH_STARTING_SLASH",message:"basePath must start with `/`. Please upgrade your `@vercel/next` builder and try again. Contact support if this continues to happen."})}if(e.endsWith("/")){throw new n.NowBuildError({code:"NEXT_BASEPATH_TRAILING_SLASH",message:"basePath must not end with `/`. Please upgrade your `@vercel/next` builder and try again. Contact support if this continues to happen."})}if(C.length>1){throw new n.NowBuildError({code:"NEXT_BASEPATH_LEGACY_BUILDS",message:"basePath can not be used with `builds` in vercel.json, use Project Settings to configure your monorepo instead",link:"https://vercel.com/docs/platform/projects#project-settings"})}C=h.default.join(C,e);Z=h.default.posix.join("/",C).replace(/\/+$/,"")}if(te.pages404){ve=true}break}default:{throw new n.NowBuildError({code:"NEXT_VERSION_OUTDATED",message:"This version of `@vercel/next` does not support the version of Next.js you are trying to deploy.\n"+"Please upgrade your `@vercel/next` builder and try again. Contact support if this continues to happen."})}}}let be=h.default.join("/",C);be=be==="/"?"":be;if(ie){switch(ie.version){case 1:{if(!ie.images){throw new n.NowBuildError({code:"NEXT_IMAGES_MISSING",message:'image-manifest.json "images" is required. Contact support if this continues to happen.'})}const{images:e}=ie;if(!Array.isArray(e.domains)){throw new n.NowBuildError({code:"NEXT_IMAGES_DOMAINS",message:'image-manifest.json "images.domains" must be an array. Contact support if this continues to happen.'})}if(!Array.isArray(e.sizes)){throw new n.NowBuildError({code:"NEXT_IMAGES_SIZES",message:'image-manifest.json "images.sizes" must be an array. Contact support if this continues to happen.'})}if(e.remotePatterns&&!Array.isArray(e.remotePatterns)){throw new n.NowBuildError({code:"NEXT_IMAGES_REMOTEPATTERNS",message:'image-manifest.json "images.remotePatterns" must be an array. Contact support if this continues to happen'})}if(e.minimumCacheTTL&&!Number.isInteger(e.minimumCacheTTL)){throw new n.NowBuildError({code:"NEXT_IMAGES_MINIMUMCACHETTL",message:'image-manifest.json "images.minimumCacheTTL" must be an integer. Contact support if this continues to happen.'})}if(typeof e.dangerouslyAllowSVG!=="undefined"&&typeof e.dangerouslyAllowSVG!=="boolean"){throw new n.NowBuildError({code:"NEXT_IMAGES_DANGEROUSLYALLOWSVG",message:'image-manifest.json "images.dangerouslyAllowSVG" must be an boolean. Contact support if this continues to happen.'})}if(typeof e.contentSecurityPolicy!=="undefined"&&typeof e.contentSecurityPolicy!=="string"){throw new n.NowBuildError({code:"NEXT_IMAGES_CONTENTSECURITYPOLICY",message:'image-manifest.json "images.contentSecurityPolicy" must be an string. Contact support if this continues to happen.'})}break}default:{throw new n.NowBuildError({code:"NEXT_IMAGES_VERSION_UNKNOWN",message:"This version of `@vercel/next` does not support the version of Next.js you are trying to deploy.\n"+"Please upgrade your `@vercel/next` builder and try again. Contact support if this continues to happen."})}}}const me=await(0,m.getExportStatus)(O);if(me){const e=await(0,m.getExportIntent)(O);const{trailingSlash:i=false}=e||{};const r=await(0,m.getExportStatus)(O);if(!r){throw new n.NowBuildError({code:"NEXT_EXPORT_FAILED",message:"Exporting Next.js app failed. Please check your build logs and contact us if this continues."})}if(r.success!==true){throw new n.NowBuildError({code:"NEXT_EXPORT_FAILED",message:"Export of Next.js app failed. Please check your build logs."})}const s=r.outDirectory;(0,n.debug)(`next export should use trailing slash: ${i}`);const a=await(0,n.glob)("**",s);const o={...a,...oe.files};Object.entries(o).filter(([e])=>e.endsWith(".html")).forEach(([e,t])=>{const i=e.slice(0,-5);delete o[e];o[i]=t;if(t.type==="FileBlob"||t.type==="FileFsRef"){t.contentType=t.contentType||"text/html; charset=utf-8"}});return{output:o,images:((A=ie===null||ie===void 0?void 0:ie.images)===null||A===void 0?void 0:A.loader)==="default"?{domains:ie.images.domains,sizes:ie.images.sizes,remotePatterns:ie.images.remotePatterns,minimumCacheTTL:ie.images.minimumCacheTTL,dangerouslyAllowSVG:ie.images.dangerouslyAllowSVG,contentSecurityPolicy:ie.images.contentSecurityPolicy}:undefined,routes:[...oe.routes,...ue,...he,...ce,{src:h.default.join("/",C,"404/?"),status:404,continue:true},{handle:"filesystem"},...(te===null||te===void 0?void 0:te.basePath)?[{src:h.default.join("/",C,"_next/image/?"),dest:"/_next/image",check:true}]:[],{src:h.default.join("/",C,"_next/data/(.*)"),dest:h.default.join("/",C,"_next/data/$1"),check:true},{src:h.default.join("/",C,"_next/data/(.*)"),status:404},...le,{handle:"resource"},...fe,{src:h.default.join("/",C,".*"),status:404},{handle:"miss"},{src:h.default.join("/",C,"_next/static/(?:[^/]+/pages|pages|chunks|runtime|css|image|media)/.+"),status:404,check:true,dest:"$0"},{handle:"hit"},{src:h.default.join("/",C,`_next/static/(?:[^/]+/pages|pages|chunks|runtime|css|image|media|${ge})/.+`),headers:{"cache-control":`public,max-age=${t.MAX_AGE_ONE_YEAR},immutable`},continue:true,important:true},...o[h.default.join("./",C,"404")]||o[h.default.join("./",C,"404/index")]?[{handle:"error"},{status:404,src:h.default.join(C,".*"),dest:h.default.join("/",C,"404")}]:[]]}}if(U){(0,n.debug)("Running npm install --production...");await(0,n.runNpmInstall)(O,["--production"],L,S,F)}if(process.env.NPM_AUTH_TOKEN){await(0,l.remove)(h.default.join(O,".npmrc"))}const _e=[];he=he.filter(e=>{const t=e;const i=t.headers&&(t.headers.location||t.headers.Location);if(t.status===308&&(i==="/$1"||i==="/$1/")){t.continue=true;_e.push(t);return false}return true});const we=[];const Ee=[];const Se={};const xe={};const Re={};const Ae={};let ke={};const Te=[];let Ce;let Oe="";let Ne;if(U){const e=await(0,n.glob)("**",O);(0,n.debug)("Preparing serverless function files...");const t=await(0,n.glob)(`${N}/*`,O);const i=await(0,n.glob)(`${N}/server/*`,O);const r=(0,m.excludeFiles)(await(0,n.glob)("node_modules/**",O),e=>e.startsWith("node_modules/.cache"));const s={...r,...t,...i};if(e["next.config.js"]){s["next.config.js"]=e["next.config.js"]}const a=h.default.join(O,N,"server","static",ye,"pages");const o=await getServerlessPages({pagesDir:a,entryPath:O,outputDirectory:N});const u=h.default.join(__dirname,"legacy-launcher.js");const c=await(0,l.readFile)(u,"utf8");await Promise.all(Object.keys(o).map(async t=>{if(["_app.js","_error.js","_document.js"].includes(t)){return}const i=t.replace(/\.js$/,"");const r=c.replace("PATHNAME_PLACEHOLDER",`/${i.replace(/(^|\/)index$/,"")}`);const a={[`${N}/server/static/${ye}/pages/_document.js`]:e[`${N}/server/static/${ye}/pages/_document.js`],[`${N}/server/static/${ye}/pages/_app.js`]:e[`${N}/server/static/${ye}/pages/_app.js`],[`${N}/server/static/${ye}/pages/_error.js`]:e[`${N}/server/static/${ye}/pages/_error.js`],[`${N}/server/static/${ye}/pages/${t}`]:e[`${N}/server/static/${ye}/pages/${t}`]};let o={};if(g&&g.functions){o=await(0,n.getLambdaOptionsFromFunction)({sourceFile:await(0,m.getSourceFilePathFromPage)({workPath:O,page:t}),config:g})}(0,n.debug)(`Creating serverless function for page: "${t}"...`);Re[h.default.join(C,i)]=new n.NodejsLambda({files:{...s,...a,"___next_launcher.cjs":new n.FileBlob({data:r})},handler:"___next_launcher.cjs",runtime:F.runtime,...o,shouldAddHelpers:false,shouldAddSourcemapSupport:false,supportsMultiPayloads:!!process.env.NEXT_PRIVATE_MULTI_PAYLOAD});(0,n.debug)(`Created serverless function for page: "${t}"`)}))}else{(0,n.debug)("Preparing serverless function files...");const e=h.default.join(O,N,z?"server":"serverless","pages");const r=await getServerlessPages({pagesDir:e,entryPath:O,outputDirectory:N});const s=e=>e.replace(/\\/g,"/").match(/(serverless|server)\/pages\/api(\/|\.js$)/);const c=Object.keys(r).some(e=>s(r[e].fsPath));ke=await(0,m.filterStaticPages)(await(0,n.glob)("**/*.html",e),Te,C,t.htmlContentType,re,te);Ne=!!ke[h.default.join(C,"500")];Ce=ke[h.default.join(C,"404")]&&ve?h.default.join(C,"404"):ke[h.default.join(C,"_errors/404")]?h.default.join(C,"_errors/404"):undefined;const{i18n:f}=te||{};if(!Ce&&f){Ce=ke[h.default.join(C,f.defaultLocale,"404")]?h.default.join(C,f.defaultLocale,"404"):undefined}if(!Ne&&f){Ne=!!ke[h.default.join(C,f.defaultLocale,"500")]}if(te){switch(te.version){case 1:case 2:case 3:case 4:{if(te.dataRoutes){for(const e of te.dataRoutes){const t=re.omittedRoutes[e.page];const i=t||re.fallbackRoutes[e.page]||re.blockingFallbackRoutes[e.page];if(re.staticRoutes[e.page]||!(Ce&&c)&&t){continue}const r={src:(e.namedDataRouteRegex||e.dataRouteRegex).replace(/^\^/,`^${Z}`),dest:h.default.join("/",C,`${i&&i.dataRoute||e.page}${e.routeKeys?`?${Object.keys(e.routeKeys).map(t=>`${e.routeKeys[t]}=$${t}`).join("&")}`:""}`)};if(!z){r.check=true}if(t&&z){r.has=[{type:"cookie",key:"__prerender_bypass",value:re.bypassToken||undefined},{type:"cookie",key:"__next_preview_data"}]}const{i18n:n}=te;if(n){const t=r.src;r.src=r.src.replace(`/${ge}/`,`/${ge}/(?${i||z?"<nextLocale>":":"}${n.locales.map(e=>(0,u.default)(e)).join("|")})/`);if(r.src===t){r.src=r.src.replace(`/${ge}`,`/${ge}/(?${i||z?"<nextLocale>":":"}${n.locales.map(e=>(0,u.default)(e)).join("|")})[/]?`)}if(e.page==="/"){r.src=r.src.replace(/\/index\.json/,".json")}if(i){r.dest=r.dest.replace(`/${ye}/`,`/${ye}/$nextLocale/`)}else if(z){r.dest=r.dest.replace(e.page,`/$nextLocale${e.page}`)}}pe.push(r)}}break}default:{throw new n.NowBuildError({code:"NEXT_VERSION_OUTDATED",message:"This version of `@vercel/next` does not support the version of Next.js you are trying to deploy.\n"+"Please upgrade your `@vercel/next` builder and try again. Contact support if this continues to happen."})}}}if(ee){if(!te){throw new Error(`A routes-manifest could not be located, please check your outputDirectory and try again.`)}return(0,b.serverBuild)({config:g,nextVersion:V,dynamicPages:Te,canUsePreviewMode:c,staticPages:ke,lambdaPages:r,omittedPrerenderRoutes:ne,isCorrectLocaleAPIRoutes:X,pagesDir:e,headers:ue,beforeFilesRewrites:ce,afterFilesRewrites:le,fallbackRewrites:fe,workPath:i,redirects:he,nodeVersion:F,dynamicPrefix:be,routesManifest:te,imagesManifest:ie,wildcardConfig:ae,prerenderManifest:re,entryDirectory:C,entryPath:O,baseDir:I,dataRoutes:pe,escapedBuildId:ge,outputDirectory:N,trailingSlashRedirects:_e,lambdaCompressedByteLimit:T,requiredServerFilesManifest:ee,privateOutputs:oe,hasIsr404Page:se})}const p=Object.keys(r);let v=!Ce||p.length>1;if(p.length===0){const e=await(0,m.getNextConfig)(i,O);if(e!=null){console.info("Found next.config.js:");console.info(e);console.info()}throw new n.NowBuildError({code:"NEXT_NO_SERVERLESS_PAGES",message:"No serverless pages were built",link:"https://err.sh/vercel/vercel/now-next-no-serverless-pages-built"})}let y=v;try{if(V&&d.default.lt(V,m.ExperimentalTraceVersion)){(0,n.debug)("Next.js version is too old for us to trace the required dependencies.\n"+"Assuming Next.js has handled it!");y=false}}catch(e){console.log("Failed to check Next.js version for tracing compatibility: "+e)}let _;const w=new Set;Object.keys(re.staticRoutes).forEach(e=>{const t=(0,m.onPrerenderRouteInitial)(re,c,C,w,e,ve,te);if(t&&t.static404Page){Ce=t.static404Page}if(t&&t.static500Page){Ne=true}});const E={};const S={};let x;const R=[];const A=[];for(const e of p){const t=r[e].fsPath;const i=`/${e.replace(/\.js$/,"")}`;if(i==="/_error"&&Ce)continue;if(s(t)){R.push(e)}else if(!w.has(i)){A.push(e)}S[e]=(await(0,m.createPseudoLayer)({[e]:r[e]})).pseudoLayer[e]}const k=[...A,...R];if(y){v=!Ce||R.length>0||A.length>0;const e="Traced Next.js serverless functions for external files in";if(v){console.time(e)}const t=Object.create(null);const i=new o.Sema(25);const n={};const s=k.map(e=>r[e].fsPath);const u=await(0,a.nodeFileTrace)(s,{base:I,cache:t,processCwd:O});u.esmFileList.forEach(e=>u.fileList.add(e));const c=(0,m.getFilesMapFromReasons)(u.fileList,u.reasons);for(const e of k){const t={};const s=c.get(h.default.relative(I,r[e].fsPath));if(!s){throw new Error(`Invariant: Failed to trace ${e}, missing fileList`)}const a=u.reasons;await Promise.all(Array.from(s).map((0,m.collectTracedFiles)(I,n,i,a,t)));E[e]=t}if(v){console.timeEnd(e)}const l="Compressed shared serverless function files";if(v){console.time(l)}x=await(0,m.createPseudoLayer)(k.reduce((e,t)=>{Object.assign(e,E[t]);return e},{}));if(v){console.timeEnd(l)}}else{_=await(0,n.glob)("assets/**",h.default.join(O,N,"serverless"));const e=Object.keys(_);if(e.length>0){(0,n.debug)("detected (legacy) assets to be bundled with serverless function:");e.forEach(e=>(0,n.debug)(`\t${e}`));(0,n.debug)("\nPlease upgrade to Next.js 9.1 to leverage modern asset handling.")}}const j=h.default.join(__dirname,"templated-launcher.js");const $=await(0,l.readFile)(j,"utf8");const P=`All serverless functions created in`;if(v){console.time(P)}const L=[];const B=[];if(K){const e=await(0,m.getPageLambdaGroups)(O,g,A,new Set,E,S,(x===null||x===void 0?void 0:x.pseudoLayer)||{},0,0,T,[]);const t=await(0,m.getPageLambdaGroups)(O,g,R,new Set,E,S,(x===null||x===void 0?void 0:x.pseudoLayer)||{},0,0,T,[]);(0,n.debug)(JSON.stringify({apiLambdaGroups:t.map(e=>({pages:e.pages,isPrerender:e.isPrerenders,pseudoLayerBytes:e.pseudoLayerBytes})),pageLambdaGroups:e.map(e=>({pages:e.pages,isPrerender:e.isPrerenders,pseudoLayerBytes:e.pseudoLayerBytes}))},null,2));const a=[...t,...e];await(0,m.detectLambdaLimitExceeding)(a,T,S);let o=0;let c=0;for(const e of a){let t;for(const n of e.pages){if(["_app.js","_document.js"].includes(n)){continue}if(n==="_error.js"&&(Ce&&ke[Ce]||ve&&r["404.js"])){continue}const a=h.default.normalize(h.default.relative(i,r[n].fsPath));const l=n.replace(/\.js$/,"");const f=(0,m.isDynamicRoute)(l);t=s(a);if(f){Te.push((0,m.normalizePage)(l))}if(w.has(`/${l}`)){continue}const p=h.default.join("/",C,l);const d=t?o:c;const v=t?L:B;const y=v[d];let g=y;if(!g){g={pages:{},isApiLambda:!!t,pseudoLayer:e.pseudoLayer,lambdaCombinedBytes:e.pseudoLayerBytes,lambdaIdentifier:h.default.join(C,`__NEXT_${t?"API":"PAGE"}_LAMBDA_${d}`)}}const b=e=>{const t={src:`^${e.replace(/\/index$/,"(/|/index|)")}/?$`,dest:`${h.default.join("/",g.lambdaIdentifier)}`,headers:{"x-nextjs-page":p},check:true};if(f){Ee.push(t);Se[p]=t}else{we.push(t)}};const{i18n:_}=te||{};if(_){b(`[/]?(?:${_.locales.map(e=>(0,u.default)(e)).join("|")})?${(0,u.default)(p)}`)}else{b((0,u.default)(p))}if(n==="_error.js"||ve&&n==="404.js"){Oe=h.default.join("/",C,l)}g.pages[p]={pageFileName:a,pageName:n};g.pseudoLayer[h.default.join(h.default.relative(I,O),a)]=S[n];v[d]=g}if(t){o++}else{c++}}}else{await Promise.all(p.map(async e=>{if(["_app.js","_document.js"].includes(e)){return}if(e==="_error.js"&&(Ce&&ke[Ce]||ve&&r["404.js"])){return}const t=e.replace(/\.js$/,"");if((0,m.isDynamicRoute)(t)){Te.push((0,m.normalizePage)(t))}const i=h.default.normalize(h.default.relative(O,r[e].fsPath));const s=$.replace(/__LAUNCHER_PAGE_PATH__/g,JSON.stringify(y?`./${i}`:"./page"));const a={[h.default.join(h.default.relative(I,O),"___next_launcher.cjs")]:new n.FileBlob({data:s})};let o={};if(g&&g.functions){o=await(0,n.getLambdaOptionsFromFunction)({sourceFile:await(0,m.getSourceFilePathFromPage)({workPath:O,page:e}),config:g})}const u=(0,m.normalizeIndexOutput)(h.default.join(C,t),z);if(y){Re[u]=await(0,m.createLambdaFromPseudoLayers)({files:a,layers:[Object.keys(E[e]||{}).reduce((e,t)=>{e[t]=x===null||x===void 0?void 0:x.pseudoLayer[t];return e},{}),{[h.default.join(h.default.relative(I,O),i)]:S[e]}],handler:h.default.join(h.default.relative(I,O),"___next_launcher.cjs"),runtime:F.runtime,...o})}else{Re[u]=await(0,m.createLambdaFromPseudoLayers)({files:{...a,..._},layers:[{[h.default.join(h.default.relative(I,O),"page.js")]:S[e]}],handler:h.default.join(h.default.relative(I,O),"___next_launcher.cjs"),runtime:F.runtime,...o})}}))}de=await(0,m.getDynamicRoutes)(O,C,Te,false,te,ne,c,re.bypassToken||"",z).then(e=>(0,m.localizeDynamicRoutes)(e,be,C,ke,re,te,z,X));if(K){const e=h.default.join(__dirname,"templated-launcher-shared.js");const t=await(0,l.readFile)(e,"utf8");const i=await(0,m.getDynamicRoutes)(O,C,Te,false,te,undefined,c,re.bypassToken||"",z).then(e=>e.map(e=>{e.src=e.src.replace("^",`^${be}`);return e}));await Promise.all([...L,...B].map(async function buildLambdaGroup(e){const r=Object.keys(e.pages);const s=t.replace(/\/\/ __LAUNCHER_PAGE_HANDLER__/g,`\n const url = require('url');\n\n ${(te===null||te===void 0?void 0:te.i18n)?`\n function stripLocalePath(pathname) {\n // first item will be empty string from splitting at first char\n const pathnameParts = pathname.split('/')\n\n ;(${JSON.stringify(te.i18n.locales)}).some((locale) => {\n if (pathnameParts[1].toLowerCase() === locale.toLowerCase()) {\n pathnameParts.splice(1, 1)\n pathname = pathnameParts.join('/') || '/index'\n return true\n }\n return false\n })\n\n return pathname\n }\n `:`function stripLocalePath(pathname) { return pathname }`}\n\n page = function(req, res) {\n try {\n const pages = {\n ${r.map(t=>`'${t}': () => require('./${h.default.join("./",e.pages[t].pageFileName)}')`).join(",\n")}\n ${""}\n }\n let toRender = req.headers['x-nextjs-page']\n\n if (!toRender) {\n try {\n const { pathname } = url.parse(req.url)\n toRender = stripLocalePath(pathname).replace(/\\/$/, '') || '/index'\n } catch (_) {\n // handle failing to parse url\n res.statusCode = 400\n return res.end('Bad Request')\n }\n }\n\n let currentPage = pages[toRender]\n\n if (\n toRender &&\n !currentPage\n ) {\n if (toRender.includes('/_next/data')) {\n toRender = toRender\n .replace(new RegExp('/_next/data/${ge}/'), '/')\n .replace(/\\.json$/, '')\n\n toRender = stripLocalePath(toRender) || '/index'\n currentPage = pages[toRender]\n }\n\n if (!currentPage) {\n // for prerendered dynamic routes (/blog/post-1) we need to\n // find the match since it won't match the page directly\n const dynamicRoutes = ${JSON.stringify(i.map(e=>({src:e.src,dest:e.dest})))}\n\n for (const route of dynamicRoutes) {\n const matcher = new RegExp(route.src)\n\n if (matcher.test(toRender)) {\n toRender = url.parse(route.dest).pathname\n currentPage = pages[toRender]\n break\n }\n }\n }\n }\n\n if (!currentPage) {\n console.error(\n "Failed to find matching page for", {toRender, header: req.headers['x-nextjs-page'], url: req.url }, "in lambda"\n )\n console.error('pages in lambda', Object.keys(pages))\n res.statusCode = 500\n return res.end('internal server error')\n }\n\n const mod = currentPage()\n const method = mod.render || mod.default || mod\n\n return method(req, res)\n } catch (err) {\n console.error('Unhandled error during request:', err)\n throw err\n }\n }\n `);const a={[h.default.join(h.default.relative(I,O),"___next_launcher.cjs")]:new n.FileBlob({data:s})};for(const t of r){xe[t]=e.lambdaIdentifier}Re[e.lambdaIdentifier]=await(0,m.createLambdaFromPseudoLayers)({files:{...a,..._},layers:[e.pseudoLayer],handler:h.default.join(h.default.relative(I,O),"___next_launcher.cjs"),runtime:F.runtime})}))}if(v){console.timeEnd(P)}const D=(0,m.onPrerenderRoute)({hasPages404:ve,static404Page:Ce,pagesDir:e,pageLambdaMap:xe,lambdas:Re,isServerMode:z,prerenders:Ae,entryDirectory:C,routesManifest:te,prerenderManifest:re,isSharedLambdas:K,canUsePreviewMode:c});Object.keys(re.staticRoutes).forEach(e=>D(e,{isBlocking:false,isFallback:false}));Object.keys(re.fallbackRoutes).forEach(e=>D(e,{isBlocking:false,isFallback:true}));Object.keys(re.blockingFallbackRoutes).forEach(e=>D(e,{isBlocking:true,isFallback:false}));if(Ce&&c){ne.forEach(e=>{D(e,{isOmitted:true})})}if(!(te&&te.dataRoutes)){[...Object.entries(re.fallbackRoutes),...Object.entries(re.blockingFallbackRoutes)].forEach(([,{dataRouteRegex:e,dataRoute:t}])=>{pe.push({src:e.replace(/^\^/,`^${Z}`),dest:h.default.posix.join(C,t),check:true})})}}if(!K){ne.forEach(e=>{const t=h.default.posix.join(C,e==="/"?"/index":e);if(typeof Re[t]===undefined){throw new n.NowBuildError({code:"NEXT__UNKNOWN_ROUTE_KEY",message:`invariant: unknown lambda ${e} (lookup: ${t}) | please report this immediately`})}delete Re[t]})}const je=[];const Ie=[];if(K){for(let e=0;e<de.length;e++){const t=de[e];Ie.push(t);const{pathname:i}=v.default.parse(t.dest);if(i&&xe[i]){Ie.push(Se[i])}}for(let e=0;e<pe.length;e++){const t=pe[e];je.push(t);const{pathname:i}=v.default.parse(t.dest);if(i&&xe[i]&&Se[i]){je.push(Se[i])}}}const{staticFiles:$e,publicDirectoryFiles:Pe,staticDirectoryFiles:Fe}=await(0,m.getStaticFiles)(O,C,N);const{i18n:Le}=te||{};return{output:{...Pe,...Re,...Ae,...ke,...$e,...Fe,...oe.files},wildcard:ae,images:((k=ie===null||ie===void 0?void 0:ie.images)===null||k===void 0?void 0:k.loader)==="default"?{domains:ie.images.domains,sizes:ie.images.sizes,remotePatterns:ie.images.remotePatterns,minimumCacheTTL:ie.images.minimumCacheTTL,dangerouslyAllowSVG:ie.images.dangerouslyAllowSVG,contentSecurityPolicy:ie.images.contentSecurityPolicy}:undefined,routes:[..._e,...oe.routes,...Le?[{src:`^${h.default.join("/",C,"/")}(?!(?:_next/.*|${Le.locales.map(e=>(0,u.default)(e)).join("|")})(?:/.*|$))(.*)$`,dest:`${C!=="."?h.default.join("/",C):""}$wildcard/$1`,continue:true},...Le.domains&&Le.domains.length>0&&Le.localeDetection!==false?[{src:`^${h.default.join("/",C)}/?(?:${Le.locales.map(e=>(0,u.default)(e)).join("|")})?/?$`,locale:{redirect:Le.domains.reduce((e,t)=>{e[t.defaultLocale]=`http${t.http?"":"s"}://${t.domain}/`;if(t.locales){t.locales.map(i=>{e[i]=`http${t.http?"":"s"}://${t.domain}/${i}`})}return e},{}),cookie:"NEXT_LOCALE"},continue:true}]:[],...Le.localeDetection!==false?[{src:"/",locale:{redirect:Le.locales.reduce((e,t)=>{e[t]=t===Le.defaultLocale?`/`:`/${t}`;return e},{}),cookie:"NEXT_LOCALE"},continue:true}]:[],{src:`^${h.default.join("/",C)}$`,dest:`${h.default.join("/",C,Le.defaultLocale)}`,continue:true},{src:`^${h.default.join("/",C,"/")}(?!(?:_next/.*|${Le.locales.map(e=>(0,u.default)(e)).join("|")})(?:/.*|$))(.*)$`,dest:`${h.default.join("/",C,Le.defaultLocale)}/$1`,continue:true}]:[],...ue,...he,...ce,...Le?[{src:`${h.default.join("/",C,"/")}(?:${Le.locales.map(e=>(0,u.default)(e)).join("|")})?[/]?404/?`,status:404,continue:true}]:[{src:h.default.join("/",C,"404/?"),status:404,continue:true}],...!Ne?[]:Le?[{src:`${h.default.join("/",C,"/")}(?:${Le.locales.map(e=>(0,u.default)(e)).join("|")})?[/]?500`,status:500,continue:true}]:[{src:h.default.join("/",C,"500"),status:500,continue:true}],{handle:"filesystem"},...we.filter(e=>{var t;if("headers"in e){let i=(t=e.headers)===null||t===void 0?void 0:t["x-nextjs-page"];i=i==="/index"?"/":i;if(Ae[i]){return false}}return true}),...(te===null||te===void 0?void 0:te.basePath)?[{src:h.default.join("/",C,"_next/image/?"),dest:"/_next/image",check:true}]:[],{src:h.default.join("/",C,"_next/data/(.*)"),dest:h.default.join("/",C,"_next/data/$1"),check:true},...le,{handle:"resource"},...fe,{src:h.default.join("/",C,".*"),status:404},{handle:"miss"},{src:h.default.join("/",C,"_next/static/(?:[^/]+/pages|pages|chunks|runtime|css|image|media)/.+"),status:404,check:true,dest:"$0"},...Le?[{src:`^${h.default.join("/",C)}/?(?:${Le.locales.map(e=>(0,u.default)(e)).join("|")})/(.*)`,dest:`${h.default.join("/",C,"/")}$1`,check:true}]:[],...K||!Le?[]:[{src:`${h.default.join("/",C,"/")}(?:${Le===null||Le===void 0?void 0:Le.locales.map(e=>(0,u.default)(e)).join("|")})/(.*)`,dest:"/$1",check:true}],{handle:"rewrite"},...K?je:pe,{src:h.default.join("/",C,"_next/data/(.*)"),dest:h.default.join("/",C,"404"),status:404,check:true},...we,...K?Ie:de,{handle:"hit"},{src:h.default.join("/",C,`_next/static/(?:[^/]+/pages|pages|chunks|runtime|css|image|media|${ge})/.+`),headers:{"cache-control":`public,max-age=${t.MAX_AGE_ONE_YEAR},immutable`},continue:true,important:true},...U?[]:[{handle:"error"},...Le&&(Ce||se)?[{src:`${h.default.join("/",C,"/")}(?<nextLocale>${Le.locales.map(e=>(0,u.default)(e)).join("|")})(/.*|$)`,dest:"/$nextLocale/404",status:404,caseSensitive:true},{src:h.default.join("/",C,".*"),dest:`/${Le.defaultLocale}/404`,status:404}]:[K?{src:h.default.join("/",C,".*"),dest:h.default.join("/",Ce?Ce:xe[Oe]),status:404,...Ce?{}:{headers:{"x-nextjs-page":Oe}}}:{src:h.default.join("/",C,".*"),dest:Ce?h.default.join("/",Ce):h.default.join("/",C,ve&&Re[h.default.join("./",C,"404")]?"404":"_error"),status:404}],...!Ne?[]:Le?[{src:`${h.default.join("/",C,"/")}(?<nextLocale>${Le.locales.map(e=>(0,u.default)(e)).join("|")})(/.*|$)`,dest:"/$nextLocale/500",status:500},{src:h.default.join("/",C,".*"),dest:`/${Le.defaultLocale}/500`,status:500}]:[{src:h.default.join("/",C,".*"),dest:h.default.join("/",C,"/500"),status:500}]]]}};t.build=S;const x=async({workPath:e,repoRootPath:t,entrypoint:i,config:r={}})=>{(0,n.debug)("Preparing cache...");const s=h.default.dirname(i);const a=h.default.join(e,s);const o=r.outputDirectory||".next";const u=await getNextVersionRange(a);const c=u&&isLegacyNext(u);if(c){return{}}(0,n.debug)("Producing cache file manifest...");const l=t&&t!==e;const f=t||e;const p=h.default.relative(f,a);const d={...await(0,n.glob)(l?"**/node_modules/**":h.default.join(p,"node_modules/**"),f),...await(0,n.glob)(h.default.join(p,o,"cache/**"),f)};(0,n.debug)("Cache file manifest produced");return d};t.prepareCache=x;async function getServerlessPages(e){var t;const[i,r]=await Promise.all([(0,n.glob)("**/!(_middleware).js",e.pagesDir),(0,m.getMiddlewareManifest)(e.entryPath,e.outputDirectory)]);for(const e of Object.keys((t=r===null||r===void 0?void 0:r.middleware)!==null&&t!==void 0?t:{})){delete i[e.slice(1)+".js"]}return i}},1207:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=["0.1.0","0.1.1","0.2.0","0.2.1","0.2.2","0.2.3","0.2.4","0.2.5","0.2.6","0.2.7","0.2.8","0.2.9","0.2.10","0.2.11","0.2.12","0.2.13","0.2.14","0.3.0","0.3.1","0.3.2","0.3.3","0.4.0","0.4.1","0.9.9","0.9.10","0.9.11","1.0.0","1.0.1","1.0.2","1.1.0","1.1.1","1.1.2","1.2.0","1.2.1","1.2.2","1.2.3","2.0.0-beta.0","2.0.0-beta.1","2.0.0-beta.2","2.0.0-beta.3","2.0.0-beta.4","2.0.0-beta.5","2.0.0-beta.6","2.0.0-beta.7","2.0.0-beta.8","2.0.0-beta.9","2.0.0-beta.10","2.0.0-beta.11","2.0.0-beta.12","2.0.0-beta.13","2.0.0-beta.14","2.0.0-beta.15","2.0.0-beta.16","2.0.0-beta.17","2.0.0-beta.18","2.0.0-beta.19","2.0.0-beta.20","2.0.0-beta.21","2.0.0-beta.22","2.0.0-beta.23","2.0.0-beta.24","2.0.0-beta.25","2.0.0-beta.26","2.0.0-beta.27","2.0.0-beta.28","2.0.0-beta.29","2.0.0-beta.30","2.0.0-beta.31","2.0.0-beta.32","2.0.0-beta.33","2.0.0-beta.34","2.0.0-beta.35","2.0.0-beta.36","2.0.0-beta.37","2.0.0-beta.38","2.0.0-beta.39","2.0.0-beta.40","2.0.0-beta.41","2.0.0-beta.42","2.0.0","2.0.1","2.1.0","2.1.1","2.2.0","2.3.0-alpha1","2.3.0","2.3.1","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","2.4.7","2.4.8","2.4.9","3.0.0-beta1","3.0.0-beta10","3.0.0-beta11","3.0.0-beta12","3.0.0-beta13","3.0.0-beta14","3.0.0-beta15","3.0.0-beta16","3.0.0-beta2","3.0.0-beta3","3.0.0-beta4","3.0.0-beta5","3.0.0-beta6","3.0.0-beta7","3.0.0-beta8","3.0.0-beta9","3.0.1-beta.1","3.0.1-beta.2","3.0.1-beta.3","3.0.1-beta.4","3.0.1-beta.5","3.0.1-beta.6","3.0.1-beta.7","3.0.1-beta.8","3.0.1-beta.9","3.0.1-beta.10","3.0.1-beta.11","3.0.1-beta.12","3.0.1-beta.13","3.0.1-beta.14","3.0.1-beta.15","3.0.1-beta.16","3.0.1-beta.17","3.0.1-beta.18","3.0.1-beta.19","3.0.1-beta.20","3.0.1-beta.21","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.1.0","3.2.0","3.2.1","3.2.2","3.2.3","4.0.0-beta.1","4.0.0-beta.2","4.0.0-beta.3","4.0.0-beta.4","4.0.0-beta.5","4.0.0-beta.6","4.0.0","4.0.1","4.0.2","4.0.3","4.0.4","4.0.5","4.1.0","4.1.1","4.1.2","4.1.3","4.1.4-canary.1","4.1.4-canary.2","4.1.4","4.2.0-canary.1","4.2.0-zones.2","4.2.0","4.2.1","4.2.2","4.2.3","4.3.0-canary.1","4.3.0-universal-alpha.1","4.3.0-universal-alpha.2","4.3.0-universal-alpha.3","4.3.0-universal-alpha.4","4.3.0-zones.1","4.4.0-canary.2","4.4.0-canary.3","5.0.0-universal-alpha.1","5.0.0-universal-alpha.2","5.0.0-universal-alpha.3","5.0.0-universal-alpha.4","5.0.0-universal-alpha.5","5.0.0-universal-alpha.6","5.0.0-universal-alpha.7","5.0.0-universal-alpha.8","5.0.0-universal-alpha.9","5.0.0-universal-alpha.10","5.0.0-universal-alpha.11","5.0.0-universal-alpha.12","5.0.0-universal-alpha.13","5.0.0-universal-alpha.14","5.0.0-universal-alpha.15","5.0.0-universal-alpha.16","5.0.0-universal-alpha.17","5.0.0-universal-alpha.18","5.0.0-universal-alpha.19","5.0.0-universal-alpha.20","5.0.0-universal-alpha.21","5.0.0-universal-alpha.22","5.0.0-universal-alpha.23","5.0.0-zones.1","5.0.0","5.0.1-canary.1","5.0.1-canary.2","5.0.1-canary.3","5.0.1-canary.4","5.0.1-canary.5","5.0.1-canary.6","5.0.1-canary.7","5.0.1-canary.8","5.0.1-canary.9","5.0.1-canary.10","5.0.1-canary.11","5.0.1-canary.12","5.0.1-canary.13","5.0.1-canary.14","5.0.1-canary.15","5.0.1-canary.16","5.0.1-canary.17","5.1.0","6.0.0-canary.1","6.0.0-canary.2","6.0.0-canary.3","6.0.0-canary.4","6.0.0-canary.5","6.0.0-canary.6","6.0.0-canary.7","6.0.0","6.0.1-canary.0","6.0.1-canary.1","6.0.1-canary.2","6.0.1","6.0.2-canary.0","6.0.2","6.0.3-canary.0","6.0.3-canary.1","6.0.3","6.0.4-canary.0","6.0.4-canary.1","6.0.4-canary.2","6.0.4-canary.3","6.0.4-canary.4","6.0.4-canary.5","6.0.4-canary.6","6.0.4-canary.7","6.0.4-canary.8","6.0.4-canary.9","6.1.0-canary.0","6.1.0","6.1.1-canary.0","6.1.1-canary.1","6.1.1-canary.2","6.1.1-canary.3","6.1.1-canary.4","6.1.1-canary.5","6.1.1","6.1.2","7.0.0-canary.0","7.0.0-canary.1","7.0.0-canary.2","7.0.0-canary.3","7.0.0-canary.4","7.0.0-canary.5","7.0.0-canary.6","7.0.0-canary.7","7.0.0-canary.8","7.0.0-canary.9","7.0.0-canary.10","7.0.0-canary.11","7.0.0-canary.12","7.0.0-canary.13","7.0.0-canary.14","7.0.0-canary.15","7.0.0-canary.16","7.0.0-canary.18","7.0.0-canary.19","7.0.0-canary.20","7.0.0","7.0.1-canary.0","7.0.1-canary.1","7.0.1-canary.2","7.0.1-canary.3","7.0.1-canary.4","7.0.1-canary.5","7.0.1-canary.6","7.0.1","7.0.2-alpha.1","7.0.2-alpha.3","7.0.2-canary.5","7.0.2-canary.6","7.0.2-canary.7","7.0.2-canary.8","7.0.2-canary.9","7.0.2-canary.10","7.0.2-canary.11","7.0.2-canary.12","7.0.2-canary.13","7.0.2-canary.14","7.0.2-canary.15","7.0.2-canary.16","7.0.2-canary.17","7.0.2-canary.18","7.0.2-canary.19","7.0.2-canary.20","7.0.2-canary.21","7.0.2-canary.22","7.0.2-canary.23","7.0.2-canary.24","7.0.2-canary.25","7.0.2-canary.26","7.0.2-canary.27","7.0.2-canary.28","7.0.2-canary.29","7.0.2-canary.31","7.0.2-canary.33","7.0.2-canary.34","7.0.2-canary.35","7.0.2-canary.36","7.0.2-canary.37","7.0.2-canary.38","7.0.2-canary.39","7.0.2-canary.40","7.0.2-canary.41","7.0.2-canary.42","7.0.2-canary.43","7.0.2-canary.44","7.0.2-canary.45","7.0.2-canary.46","7.0.2-canary.47","7.0.2-canary.48","7.0.2-canary.49","7.0.2-canary.50","7.0.2"]},5840:function(e,t,i){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.serverBuild=void 0;const n=r(i(5622));const s=r(i(2879));const a=i(7916);const o=i(3445);const u=i(2855);const c=i(4411);const l=i(9582);const f=r(i(9293));const h=r(i(5392));const p=r(i(1426));const d=r(i(539));const v="v12.0.1";async function serverBuild({dynamicPages:e,pagesDir:t,config:i={},privateOutputs:r,baseDir:y,workPath:g,entryPath:b,nodeVersion:m,escapedBuildId:_,dynamicPrefix:w,entryDirectory:E,outputDirectory:S,redirects:x,beforeFilesRewrites:R,afterFilesRewrites:A,fallbackRewrites:k,headers:T,dataRoutes:C,hasIsr404Page:O,imagesManifest:N,wildcardConfig:j,routesManifest:I,staticPages:$,lambdaPages:P,nextVersion:F,canUsePreviewMode:L,prerenderManifest:B,omittedPrerenderRoutes:D,trailingSlashRedirects:H,isCorrectLocaleAPIRoutes:U,lambdaCompressedByteLimit:W,requiredServerFilesManifest:q}){var G,V,z,M;const X={};const K={};const Y=Object.keys(P);const Q=["_app.js","_error.js","_document.js"];const J=await(0,o.glob)("**/*.js.nft.json",t);const Z=s.default.gte(F,v);let ee=!!$[n.default.join(E,"500")];if(Y.length===0){throw new o.NowBuildError({code:"NEXT_NO_SERVER_PAGES",message:"No server pages were built",link:"https://err.sh/vercel/vercel/now-next-no-serverless-pages-built"})}const te=e=>{return e.startsWith("api/")||e==="api.js"};const{i18n:ie}=I;const re=I.pages404;let ne=$[n.default.join(E,"404")]&&re?n.default.join(E,"404"):$[n.default.join(E,"_errors/404")]?n.default.join(E,"_errors/404"):undefined;if(!ne&&ie){ne=$[n.default.join(E,ie.defaultLocale,"404")]?n.default.join(E,ie.defaultLocale,"404"):undefined}if(!ee&&ie){ee=!!$[n.default.join(E,ie.defaultLocale,"500")]}const se=new a.Sema(25);const ae={};const oe=new Set;Object.keys(B.staticRoutes).forEach(e=>{const t=(0,c.onPrerenderRouteInitial)(B,L,E,oe,e,I.pages404,I);if(t&&t.static404Page){ne=t.static404Page}if(t&&t.static500Page){ee=true}});const ue=!ne||Y.some(e=>!Q.includes(e)&&!oe.has("/"+e.replace(/\.js$/,"")));if(P["404.js"]){Q.push("404.js")}const ce=new Set([...L?D:[],...Object.keys(B.blockingFallbackRoutes),...Object.keys(B.fallbackRoutes),...Object.keys(B.staticRoutes).map(e=>{const t=B.staticRoutes[e];return t.srcRoute||e})]);if(ue){const r="Traced Next.js server files in";console.time(r);const s={};let a;let u;let p;const v=(0,f.default)(q.appDir||b,`${(0,c.getNextServerPath)(F)}/next-server.js`);try{p=JSON.parse(await h.default.readFile(n.default.join(b,S,"next-server.js.nft.json"),"utf8"))}catch(e){}if(p){a=p.files.map(e=>{return n.default.relative(y,n.default.join(b,S,e))});u=new Map;(0,o.debug)("Using next-server.js.nft.json trace from build")}else{(0,o.debug)("tracing initial Next.js server files");const e=await(0,l.nodeFileTrace)([v],{base:y,cache:{},processCwd:b,ignore:[...q.ignore.map(e=>n.default.join(b,e)),"node_modules/next/dist/pages/**/*",`node_modules/${(0,c.getNextServerPath)(F)}/lib/squoosh/**/*.wasm`,"node_modules/next/dist/compiled/webpack/(bundle4|bundle5).js","node_modules/react/**/*.development.js","node_modules/react-dom/**/*.development.js","node_modules/use-subscription/**/*.development.js","node_modules/sharp/**/*"]});a=Array.from(e.fileList);u=e.reasons}(0,o.debug)("collecting initial Next.js server files");await Promise.all(a.map((0,c.collectTracedFiles)(y,ae,se,u,s)));(0,o.debug)("creating initial pseudo layer");const _=await(0,c.createPseudoLayer)(s);console.timeEnd(r);const w="Created all serverless functions in";console.time(w);const x=[];const R=[];Y.forEach(t=>{if(Q.includes(t)&&t!=="404.js"&&!(t==="_error.js"&&!(ne||P["404.js"]))){return}const i=t.replace(/\.js$/,"");if(oe.has(i)){return}if((0,c.isDynamicRoute)(i)){e.push((0,c.normalizePage)(i))}if(te(t)){x.push(t)}else{R.push(t)}});const A={};A[n.default.relative(y,v)]=new o.FileFsRef({mode:(await h.default.lstat(v)).mode,fsPath:v});if(ne){if(ie){for(const e of ie.locales){const i=$[n.default.join(E,e,"/404")]||new o.FileFsRef({fsPath:n.default.join(t,e,"/404.html")});A[n.default.relative(y,i.fsPath)]=i}}else{const e=$[ne]||new o.FileFsRef({fsPath:n.default.join(t,"/404.html")});A[n.default.relative(y,e.fsPath)]=e}}const k=[];for(const e of await h.default.readdir(g)){const t=e===".env"||e.startsWith(".env.");if(t){const t=await h.default.lstat(n.default.join(g,e));if(t.isFile()){k.push(e)}}}for(const e of k){A[n.default.join(n.default.relative(y,b),e)]=new o.FileFsRef({fsPath:n.default.join(g,e)})}await Promise.all(q.files.map(async e=>{await se.acquire();let t=n.default.join(b,n.default.join(S,".."),e);if(q.appDir){t=n.default.join(q.appDir,e)}const i=n.default.join(n.default.relative(y,t));const{mode:r}=await h.default.lstat(t);se.release();A[i]=new o.FileFsRef({mode:r,fsPath:t})}));const T=await(0,c.createPseudoLayer)(A);Object.assign(_.pseudoLayer,T.pseudoLayer);_.pseudoLayerBytes+=T.pseudoLayerBytes;const C=Object.keys(_.pseudoLayer).reduce((e,t)=>{return e+_.pseudoLayer[t].uncompressedSize||0},0);(0,o.debug)(JSON.stringify({uncompressedInitialSize:C,compressedInitialSize:_.pseudoLayerBytes},null,2));if(_.pseudoLayerBytes>W||C>c.MAX_UNCOMPRESSED_LAMBDA_SIZE){console.log(`Warning: Max serverless function size of ${(0,d.default)(W)} compressed or ${(0,d.default)(c.MAX_UNCOMPRESSED_LAMBDA_SIZE)} uncompressed reached`);(0,c.outputFunctionFileSizeInfo)([],_.pseudoLayer,_.pseudoLayerBytes,C,{});throw new o.NowBuildError({message:`Required files read using Node.js fs library and node_modules exceed max lambda size of ${W} bytes`,code:"NEXT_REQUIRED_FILES_LIMIT",link:"https://vercel.com/docs/platform/limits#serverless-function-size"})}const O=await h.default.readFile(n.default.join(__dirname,"server-launcher.js"),"utf8");let N=O.replace("conf: __NEXT_CONFIG__",`conf: ${JSON.stringify({...q.config,distDir:n.default.relative(q.appDir||b,n.default.join(b,S)),compress:false})}`).replace("__NEXT_SERVER_PATH__",`${(0,c.getNextServerPath)(F)}/next-server.js`);if(E!=="."&&n.default.join("/",E)!==I.basePath){N=N.replace("// entryDirectory handler",`req.url = req.url.replace(/^${n.default.join("/",E).replace(/\//g,"\\/")}/, '')`)}const j={[n.default.join(n.default.relative(y,q.appDir||b),"___next_launcher.cjs")]:new o.FileBlob({data:N})};const L={};const B={};const D=[...R,...x,...Q];const H={};const V=D.map(e=>{if(!J[e+".nft.json"]){return P[e].fsPath}}).filter(Boolean);let z;let M;if(V.length>0){z=await(0,l.nodeFileTrace)(V,{base:y,cache:H,processCwd:q.appDir||b});z.esmFileList.forEach(e=>z===null||z===void 0?void 0:z.fileList.add(e));M=(0,c.getFilesMapFromReasons)(z.fileList,z.reasons)}for(const e of D){const i={};const r=J[e+".nft.json"];let s;let a;if(r){const{files:i}=JSON.parse(await h.default.readFile(r.fsPath,"utf8"));s=[];const o=n.default.dirname(n.default.join(t,e));const u=`${y}${y.endsWith("/")?"":"/"}`;i.forEach(e=>{const t=n.default.join(o,e);if(t.startsWith(u)){s.push(n.default.relative(y,t))}});a=new Map}else{s=Array.from((M===null||M===void 0?void 0:M.get(n.default.relative(y,P[e].fsPath)))||[]);if(!s){throw new Error(`Invariant: Failed to trace ${e}, missing fileList`)}a=(z===null||z===void 0?void 0:z.reasons)||new Map}await Promise.all(s.map((0,c.collectTracedFiles)(y,ae,se,a,i)));L[e]=i;B[e]=(await(0,c.createPseudoLayer)({[e]:P[e]})).pseudoLayer[e]}const K=await(0,c.createPseudoLayer)(D.reduce((e,t)=>{Object.assign(e,L[t]);return e},{}));const Z=Object.keys(_.pseudoLayer).reduce((e,t)=>{const i=_.pseudoLayer[t];return e+i.uncompressedSize||0},0);const ee=(G=q.config)===null||G===void 0?void 0:G.pageExtensions;const re=await(0,c.getPageLambdaGroups)(q.appDir||b,i,R,ce,L,B,K.pseudoLayer,_.pseudoLayerBytes,Z,W,Q,ee);const ue=await(0,c.getPageLambdaGroups)(q.appDir||b,i,x,ce,L,B,K.pseudoLayer,_.pseudoLayerBytes,Z,W,Q);(0,o.debug)(JSON.stringify({apiLambdaGroups:ue.map(e=>({pages:e.pages,isPrerender:e.isPrerenders,pseudoLayerBytes:e.pseudoLayerBytes,uncompressedLayerBytes:e.pseudoLayerUncompressedBytes})),pageLambdaGroups:re.map(e=>({pages:e.pages,isPrerender:e.isPrerenders,pseudoLayerBytes:e.pseudoLayerBytes,uncompressedLayerBytes:e.pseudoLayerUncompressedBytes})),nextServerLayerSize:_.pseudoLayerBytes},null,2));const le=[...re,...ue];await(0,c.detectLambdaLimitExceeding)(le,W,B);for(const e of le){const t=await(0,c.createLambdaFromPseudoLayers)({files:j,layers:[_.pseudoLayer,e.pseudoLayer,[...e.pages,...Q].reduce((e,t)=>{const i=n.default.normalize(n.default.relative(y,P[t].fsPath));e[i]=B[t];return e},{})],handler:n.default.join(n.default.relative(y,q.appDir||b),"___next_launcher.cjs"),memory:e.memory,runtime:m.runtime,maxDuration:e.maxDuration});for(const i of e.pages){const e=i.replace(/\.js$/,"");let r=ce.has(n.default.join("/",e==="index"?"":e));if(!r&&(I===null||I===void 0?void 0:I.i18n)){r=I.i18n.locales.some(t=>{return ce.has(n.default.join("/",t,e==="index"?"":e))})}const s=(0,c.normalizeIndexOutput)(n.default.join(E,e),true);if(ie&&!r&&(!U||!(e==="api"||e.startsWith("api/")))){for(const i of ie.locales){X[(0,c.normalizeIndexOutput)(n.default.join(E,i,e==="index"?"":e),true)]=t}}else{X[s]=t}}}console.timeEnd(w)}const le=(0,c.onPrerenderRoute)({pagesDir:t,pageLambdaMap:{},lambdas:X,prerenders:K,entryDirectory:E,routesManifest:I,prerenderManifest:B,isServerMode:true,isSharedLambdas:false,canUsePreviewMode:L,static404Page:ne,hasPages404:I.pages404,isCorrectNotFoundRoutes:Z});Object.keys(B.staticRoutes).forEach(e=>le(e,{}));Object.keys(B.fallbackRoutes).forEach(e=>le(e,{isFallback:true}));Object.keys(B.blockingFallbackRoutes).forEach(e=>le(e,{isBlocking:true}));if(ne&&L){D.forEach(e=>{le(e,{isOmitted:true})})}ce.forEach(e=>{if(I===null||I===void 0?void 0:I.i18n){e=(0,c.normalizeLocalePath)(e,I.i18n.locales).pathname}delete X[n.default.join(".",E,e==="/"?"index":e)]});const fe=await(0,c.getMiddlewareBundle)({entryPath:b,outputDirectory:S,routesManifest:I});const he=await(0,c.getDynamicRoutes)(b,E,e,false,I,D,L,B.bypassToken||"",true,fe.dynamicRouteMap).then(e=>(0,c.localizeDynamicRoutes)(e,w,E,$,B,I,true,U));const{staticFiles:pe,publicDirectoryFiles:de,staticDirectoryFiles:ve}=await(0,c.getStaticFiles)(b,E,S);const ye=[];if(((V=B.notFoundRoutes)===null||V===void 0?void 0:V.length)>0&&L){const e=`^${E!=="."?n.default.join("/",E,"()"):"()"}`;let t=e;const i=e=>{ye.push({src:e,missing:[{type:"cookie",key:"__prerender_bypass",value:B.bypassToken||undefined},{type:"cookie",key:"__next_preview_data"}],status:404})};for(let r=0;r<B.notFoundRoutes.length;r++){const n=B.notFoundRoutes[r];const s=r===B.notFoundRoutes.length-1;if(((z=B.staticRoutes[n])===null||z===void 0?void 0:z.initialRevalidate)===false){if(t.length+n.length+1>=4096){i(t);t=e}t=`${t.substring(0,t.length-1)}${t[t.length-2]==="("?"":"|"}${n})`;if(s){i(t)}}}}return{wildcard:j,images:((M=N===null||N===void 0?void 0:N.images)===null||M===void 0?void 0:M.loader)==="default"?{domains:N.images.domains,sizes:N.images.sizes,remotePatterns:N.images.remotePatterns,minimumCacheTTL:N.images.minimumCacheTTL,formats:N.images.formats,dangerouslyAllowSVG:N.images.dangerouslyAllowSVG,contentSecurityPolicy:N.images.contentSecurityPolicy}:undefined,output:{...de,...X,...K,...$,...pe,...ve,...r.files,...fe.edgeFunctions},routes:[...H,...r.routes,...ie?[{src:`^${n.default.join("/",E,"/")}(?!(?:_next/.*|${ie.locales.map(e=>(0,p.default)(e)).join("|")})(?:/.*|$))(.*)$`,dest:`${E!=="."?n.default.join("/",E):""}$wildcard/$1`,continue:true},...ie.domains&&ie.domains.length>0&&ie.localeDetection!==false?[{src:`^${n.default.join("/",E)}/?(?:${ie.locales.map(e=>(0,p.default)(e)).join("|")})?/?$`,locale:{redirect:ie.domains.reduce((e,t)=>{e[t.defaultLocale]=`http${t.http?"":"s"}://${t.domain}/`;if(t.locales){t.locales.map(i=>{e[i]=`http${t.http?"":"s"}://${t.domain}/${i}`})}return e},{}),cookie:"NEXT_LOCALE"},continue:true}]:[],...ie.localeDetection!==false?[{src:"/",locale:{redirect:ie.locales.reduce((e,t)=>{e[t]=t===ie.defaultLocale?`/`:`/${t}`;return e},{}),cookie:"NEXT_LOCALE"},continue:true}]:[],{src:`^${n.default.join("/",E)}$`,dest:`${n.default.join("/",E,ie.defaultLocale)}`,continue:true},{src:`^${n.default.join("/",E,"/")}(?!(?:_next/.*|${ie.locales.map(e=>(0,p.default)(e)).join("|")})(?:/.*|$))(.*)$`,dest:`${n.default.join("/",E,ie.defaultLocale)}/$1`,continue:true}]:[],...ye,...T,...x,...R,...ie?[{src:`${n.default.join("/",E,"/")}(?:${ie.locales.map(e=>(0,p.default)(e)).join("|")})?[/]?404/?`,status:404,continue:true}]:[{src:n.default.join("/",E,"404/?"),status:404,continue:true}],...!ee?[]:ie?[{src:`${n.default.join("/",E,"/")}(?:${ie.locales.map(e=>(0,p.default)(e)).join("|")})?[/]?500`,status:500,continue:true}]:[{src:n.default.join("/",E,"500"),status:500,continue:true}],...fe.staticRoutes,{handle:"filesystem"},...(I===null||I===void 0?void 0:I.basePath)?[{src:n.default.join("/",E,"_next/image/?"),dest:"/_next/image",check:true}]:[],{src:n.default.join("/",E,"_next/data/(.*)"),dest:n.default.join("/",E,"_next/data/$1"),check:true},...A,{handle:"resource"},...k,{src:n.default.join("/",E,".*"),status:404},{handle:"miss"},{src:n.default.join("/",E,"_next/static/(?:[^/]+/pages|pages|chunks|runtime|css|image|media)/.+"),status:404,check:true,dest:"$0"},...ie?[{src:`^${n.default.join("/",E)}/?(?:${ie.locales.map(e=>(0,p.default)(e)).join("|")})/(.*)`,dest:`${n.default.join("/",E,"/")}$1`,check:true}]:[],...!ie?[]:[{src:`${n.default.join("/",E,"/")}(?:${ie===null||ie===void 0?void 0:ie.locales.map(e=>(0,p.default)(e)).join("|")})/(.*)`,dest:"/$1",check:true}],{handle:"rewrite"},...C,{src:n.default.join("/",E,"_next/data/(.*)"),dest:n.default.join("/",E,"404"),status:404},...he,{handle:"hit"},{src:n.default.join("/",E,`_next/static/(?:[^/]+/pages|pages|chunks|runtime|css|image|media|${_})/.+`),headers:{"cache-control":`public,max-age=${u.MAX_AGE_ONE_YEAR},immutable`},continue:true,important:true},{src:n.default.join("/",E,"/index"),headers:{"x-matched-path":"/"},continue:true,important:true},{src:n.default.join("/",E,`/((?!index$).*)`),headers:{"x-matched-path":"/$1"},continue:true,important:true},{handle:"error"},...ie&&(ne||O||P["404.js"])?[{src:`${n.default.join("/",E,"/")}(?<nextLocale>${ie.locales.map(e=>(0,p.default)(e)).join("|")})(/.*|$)`,dest:n.default.join("/",E,"/$nextLocale/404"),status:404,caseSensitive:true},{src:n.default.join("/",E,".*"),dest:n.default.join("/",E,`/${ie.defaultLocale}/404`),status:404}]:[{src:n.default.join("/",E,".*"),dest:n.default.join("/",E,ne||O||X[n.default.join(E,"404")]?"/404":"/_error"),status:404}],...!ee?[]:ie?[{src:`${n.default.join("/",E,"/")}(?<nextLocale>${ie.locales.map(e=>(0,p.default)(e)).join("|")})(/.*|$)`,dest:n.default.join("/",E,"/$nextLocale/500"),status:500},{src:n.default.join("/",E,".*"),dest:n.default.join("/",E,`/${ie.defaultLocale}/500`),status:500}]:[{src:n.default.join("/",E,".*"),dest:n.default.join("/",E,"/500"),status:500}]]}}t.serverBuild=serverBuild},9239:function(e,t,i){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.stringifySourceMap=t.fileToSource=t.raw=t.sourcemapped=void 0;const n=r(i(8376));const s=r(i(5392));const a=i(932);function sourcemapped(e,...t){const i=new a.ConcatSource;for(let r=0;r<Math.max(e.length,t.length);r++){const n=e[r];const s=t[r];if(n)i.add(raw(n));if(s)i.add(s)}return i}t.sourcemapped=sourcemapped;function raw(e){return new a.OriginalSource(e,"[native code]")}t.raw=raw;async function fileToSource(e,t,i){const r=await getSourceMap(e,i);const s=n.default.removeComments(e);return r?new a.SourceMapSource(s,t,r):new a.OriginalSource(s,t)}t.fileToSource=fileToSource;async function getSourceMap(e,t){try{if(t&&await s.default.pathExists(`${t}.map`)){const e=await s.default.readFile(`${t}.map`,"utf8");return n.default.fromJSON(e).toObject()}return n.default.fromComment(e).toObject()}catch(e){return null}}function stringifySourceMap(e){if(!e)return;const t=typeof e==="object"?{...e}:n.default.fromJSON(e).toObject();delete t.sourcesContent;return JSON.stringify(t)}t.stringifySourceMap=stringifySourceMap},4411:function(e,t,i){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,i,r){if(r===undefined)r=i;Object.defineProperty(e,r,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,r){if(r===undefined)r=i;e[r]=t[i]});var n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i))r(t,e,i);n(t,e);return t};var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.getMiddlewareManifest=t.getMiddlewareBundle=t.getSourceFilePathFromPage=t.isDynamicRoute=t.normalizePage=t.getNextConfig=t.normalizePackageJson=t.validateEntrypoint=t.excludeFiles=t.getPrivateOutputs=t.updateRouteSrc=t.getNextServerPath=t.normalizeIndexOutput=t.getStaticFiles=t.onPrerenderRoute=t.onPrerenderRouteInitial=t.detectLambdaLimitExceeding=t.outputFunctionFileSizeInfo=t.getPageLambdaGroups=t.MAX_UNCOMPRESSED_LAMBDA_SIZE=t.addLocaleOrDefault=t.normalizeLocalePath=t.getPrerenderManifest=t.getRequiredServerFilesManifest=t.getExportStatus=t.getExportIntent=t.createLambdaFromPseudoLayers=t.createPseudoLayer=t.ExperimentalTraceVersion=t.collectTracedFiles=t.getFilesMapFromReasons=t.filterStaticPages=t.getImagesManifest=t.localizeDynamicRoutes=t.getDynamicRoutes=t.getRoutesManifest=void 0;const o=i(3445);const u=i(7916);const c=a(i(360));const l=s(i(5392));const f=a(i(5622));const h=a(i(9293));const p=a(i(2879));const d=a(i(8761));const v=a(i(8835));const y=a(i(1426));const g=i(2855);const b=a(i(3221));const m=a(i(539));const _=i(8055);const w=i(9239);const E=/\/\[[^\/]+?\](?=\/|$)/;function isDynamicRoute(e){e=e.startsWith("/")?e:`/${e}`;return E.test(e)}t.isDynamicRoute=isDynamicRoute;function validateEntrypoint(e){if(!/package\.json$/.exec(e)&&!/next\.config\.js$/.exec(e)){throw new o.NowBuildError({message:'Specified "src" for "@vercel/next" has to be "package.json" or "next.config.js"',code:"NEXT_INCORRECT_SRC"})}}t.validateEntrypoint=validateEntrypoint;function excludeFiles(e,t){return Object.keys(e).reduce((i,r)=>{if(t(r)){return i}return{...i,[r]:e[r]}},{})}t.excludeFiles=excludeFiles;function normalizePackageJson(e={}){const t={};const i={...e.dependencies,...e.devDependencies};if(i.react){t.react=i.react;delete i.react}if(i["react-dom"]){t["react-dom"]=i["react-dom"];delete i["react-dom"]}delete i["next-server"];return{...e,dependencies:{react:"latest","react-dom":"latest",...t,"next-server":"v7.0.2-canary.49"},devDependencies:{...i,next:"v7.0.2-canary.49"},scripts:{...e.scripts,"now-build":"NODE_OPTIONS=--max_old_space_size=3000 next build --lambdas"}}}t.normalizePackageJson=normalizePackageJson;async function getNextConfig(e,t){const i=f.default.join(t,"./next.config.js");if(await l.default.pathExists(i)){return l.default.readFile(i,"utf8")}const r=f.default.join(e,"./next.config.js");if(await l.default.pathExists(r)){return l.default.readFile(r,"utf8")}return null}t.getNextConfig=getNextConfig;function normalizePage(e){if(!e.startsWith("/")){e=`/${e}`}e=e.replace(/\/index$/,"/");return e}t.normalizePage=normalizePage;async function getRoutesManifest(e,t,i){const r=i&&p.default.gte(i,"9.1.4-canary.0");if(!r)return;const n=f.default.join(e,t,"routes-manifest.json");const s=await l.default.access(n).then(()=>true).catch(()=>false);if(r&&!s){throw new o.NowBuildError({message:`The file "${n}" couldn't be found. This is normally caused by a misconfiguration in your project.\n`+"Please check the following, and reach out to support if you cannot resolve the problem:\n"+' 1. If present, be sure your `build` script in "package.json" calls `next build`.'+' 2. Navigate to your project\'s settings in the Vercel dashboard, and verify that the "Build Command" is not overridden, or that it calls `next build`.'+' 3. Navigate to your project\'s settings in the Vercel dashboard, and verify that the "Output Directory" is not overridden. Note that `next export` does **not** require you change this setting, even if you customize the `next export` output directory.',link:"https://err.sh/vercel/vercel/now-next-routes-manifest",code:"NEXT_NO_ROUTES_MANIFEST"})}const a=require(n);for(const e of a.dataRoutes||[]){if(Array.isArray(e.routeKeys)){delete e.routeKeys;delete e.namedDataRouteRegex}}for(const e of a.dynamicRoutes||[]){if("routeKeys"in e&&Array.isArray(e.routeKeys)){delete e.routeKeys;delete e.namedRegex}}return a}t.getRoutesManifest=getRoutesManifest;async function getDynamicRoutes(e,t,i,r,n,s,a,u,c,l){if(n){switch(n.version){case 1:case 2:{return n.dynamicRoutes.filter(({page:e})=>a||!(s===null||s===void 0?void 0:s.has(e))).map(({page:e,regex:i})=>{return{src:i,dest:!r?f.default.join("/",t,e):e,check:true,status:a&&(s===null||s===void 0?void 0:s.has(e))?404:undefined}})}case 3:case 4:{return n.dynamicRoutes.filter(({page:e})=>a||!(s===null||s===void 0?void 0:s.has(e))).map(e=>{if("isMiddleware"in e){const t=l===null||l===void 0?void 0:l.get(e.page);if(!t){throw new Error(`Could not find dynamic middleware route for ${e.page}`)}return t}const{page:i,namedRegex:n,regex:o,routeKeys:h}=e;const p={src:n||o,dest:`${!r?f.default.join("/",t,i):i}${h?`?${Object.keys(h).map(e=>`${h[e]}=$${e}`).join("&")}`:""}`};if(!c){p.check=true}if(c&&a&&(s===null||s===void 0?void 0:s.has(i))){p.has=[{type:"cookie",key:"__prerender_bypass",value:u||undefined},{type:"cookie",key:"__next_preview_data"}]}return p})}default:{throw new o.NowBuildError({message:"This version of `@vercel/next` does not support the version of Next.js you are trying to deploy.\n"+"Please upgrade your `@vercel/next` builder and try again. Contact support if this continues to happen.",code:"NEXT_VERSION_UPGRADE"})}}}if(!i.length){return[]}let p=undefined;let d;try{({getRouteRegex:p,getSortedRoutes:d}=require((0,h.default)(e,"next-server/dist/lib/router/utils")));if(typeof p!=="function"){p=undefined}}catch(e){}if(!p||!d){try{({getRouteRegex:p,getSortedRoutes:d}=require((0,h.default)(e,"next/dist/next-server/lib/router/utils")));if(typeof p!=="function"){p=undefined}}catch(e){}}if(!p||!d){throw new o.NowBuildError({message:"Found usage of dynamic routes but not on a new enough version of Next.js.",code:"NEXT_DYNAMIC_ROUTES_OUTDATED"})}const v=d(i).map(e=>({pageName:e,matcher:p&&p(e).re}));const y=[];v.forEach(e=>{const i=!r?f.default.join("/",t,e.pageName):e.pageName;if(e&&e.matcher){y.push({src:e.matcher.source,dest:i,check:!r})}});return y}t.getDynamicRoutes=getDynamicRoutes;function localizeDynamicRoutes(e,t,i,r,n,s,a,o){return e.map(e=>{if(e.middleware!==undefined||e.middlewarePath!==undefined)return e;const{i18n:u}=s||{};if(u){const{pathname:c}=v.default.parse(e.dest);const l=c===null||c===void 0?void 0:c.replace(t,"");const h=n.fallbackRoutes[c];const p=n.blockingFallbackRoutes[c];const d=l==="/api"||(l===null||l===void 0?void 0:l.startsWith("/api/"));const g=r[addLocaleOrDefault(c,s).substring(1)];const b=h||p||g||a;e.src=e.src.replace("^",`^${t?`${t}[/]?`:"[/]?"}(?${b?"<nextLocale>":":"}${u.locales.map(e=>(0,y.default)(e)).join("|")})?`);if(b&&!(o&&d)){e.dest=e.dest.replace(`${f.default.join("/",i,"/")}`,`${f.default.join("/",i,"$nextLocale","/")}`)}}else{e.src=e.src.replace("^",`^${t}`)}return e})}t.localizeDynamicRoutes=localizeDynamicRoutes;async function getImagesManifest(e,t){const i=f.default.join(e,t,"images-manifest.json");const r=await l.default.access(i).then(()=>true).catch(()=>false);if(!r){return undefined}const n=require(i);return n}t.getImagesManifest=getImagesManifest;function filterStaticPages(e,t,i,r,n,s){const a={};Object.keys(e).forEach(o=>{var u;const c=o.replace(/\.html$/,"");const l=normalizeLocalePath(normalizePage(c),(u=s===null||s===void 0?void 0:s.i18n)===null||u===void 0?void 0:u.locales).pathname;if(n.staticRoutes[l]||n.fallbackRoutes[l]||n.staticRoutes[normalizePage(c)]||n.fallbackRoutes[normalizePage(c)]){return}const h=f.default.join(i,c);a[h]=e[o];a[h].contentType=r;if(isDynamicRoute(c)){t.push(l);return}});return a}t.filterStaticPages=filterStaticPages;function getFilesMapFromReasons(e,t,i){const r=new Map;function propagateToParents(e,n,s=new Set){for(const a of e||[]){if(!s.has(a)){s.add(a);let e=r.get(a);if(!e){e=new Set;r.set(a,e)}if(!(i===null||i===void 0?void 0:i(n,a))){e.add(n)}const o=t.get(a);if(o===null||o===void 0?void 0:o.parents){propagateToParents(o.parents,n,s)}}}}for(const i of e){const e=t.get(i);const r=(e===null||e===void 0?void 0:e.type.length)===1&&e.type.includes("initial");if(!e||!e.parents||r&&e.parents.size===0){continue}propagateToParents(e.parents,i)}return r}t.getFilesMapFromReasons=getFilesMapFromReasons;const S=(e,t,i,r,n)=>async s=>{const a=r.get(s);if(a&&a.type.includes("initial")){return}const u=f.default.join(e,s);if(!t[u]){t[u]=i.acquire().then(()=>(0,l.lstat)(u)).finally(()=>i.release())}const{mode:c}=await t[u];n[s]=new o.FileFsRef({fsPath:f.default.join(e,s),mode:c})};t.collectTracedFiles=S;t.ExperimentalTraceVersion=`9.0.4-canary.1`;const x=e=>{return new Promise((t,i)=>{d.default.deflateRaw(e,{level:d.default.constants.Z_BEST_COMPRESSION},(e,r)=>{if(e)return i(e);t(r)})})};async function createPseudoLayer(e){const t={};let i=0;for(const r of Object.keys(e)){const n=e[r];if((0,o.isSymbolicLink)(n.mode)){const e=await l.default.readlink(n.fsPath);t[r]={file:n,isSymlink:true,symlinkTarget:e}}else{const e=await(0,o.streamToBuffer)(n.toStream());const s=await x(e);i+=s.byteLength;t[r]={file:n,compBuffer:s,isSymlink:false,crc32:c.default.unsigned(e),uncompressedSize:e.byteLength}}}return{pseudoLayer:t,pseudoLayerBytes:i}}t.createPseudoLayer=createPseudoLayer;const R=new u.Sema(1);async function createLambdaFromPseudoLayers({files:e,layers:t,...i}){await R.acquire();const r={};const n=new Set;for(const e of t){for(const t of Object.keys(e)){if(n.has(t)){continue}const i=e[t];r[t]=i.file;n.add(t)}}for(const t of Object.keys(e)){if(n.has(t)){continue}const i=e[t];r[t]=i;n.add(t)}R.release();return new o.NodejsLambda({...i,files:r,shouldAddHelpers:false,shouldAddSourcemapSupport:false,supportsMultiPayloads:!!process.env.NEXT_PRIVATE_MULTI_PAYLOAD})}t.createLambdaFromPseudoLayers=createLambdaFromPseudoLayers;async function getExportIntent(e){const t=f.default.join(e,".next","export-marker.json");const i=await l.default.access(t,l.default.constants.F_OK).then(()=>true).catch(()=>false);if(!i){return false}const r=JSON.parse(await l.default.readFile(t,"utf8"));switch(r.version){case 1:{if(r.hasExportPathMap!==true){return false}return{trailingSlash:r.exportTrailingSlash}}default:{return false}}}t.getExportIntent=getExportIntent;async function getExportStatus(e){const t=f.default.join(e,".next","export-detail.json");const i=await l.default.access(t,l.default.constants.F_OK).then(()=>true).catch(()=>false);if(!i){return false}const r=JSON.parse(await l.default.readFile(t,"utf8"));switch(r.version){case 1:{return{success:!!r.success,outDirectory:r.outDirectory}}default:{return false}}}t.getExportStatus=getExportStatus;async function getRequiredServerFilesManifest(e,t){const i=f.default.join(e,t,"required-server-files.json");const r=await l.default.access(i,l.default.constants.F_OK).then(()=>true).catch(()=>false);if(!r){return false}const n=JSON.parse(await l.default.readFile(i,"utf8"));const s={files:[],ignore:[],config:{},appDir:n.appDir};switch(n.version){case 1:{s.files=n.files;s.ignore=n.ignore;s.config=n.config;s.appDir=n.appDir;break}default:{throw new Error(`Invalid required-server-files manifest version ${n.version}, please contact support if this error persists`)}}return s}t.getRequiredServerFilesManifest=getRequiredServerFilesManifest;async function getPrerenderManifest(e,t){const i=f.default.join(e,t,"prerender-manifest.json");const r=await l.default.access(i,l.default.constants.F_OK).then(()=>true).catch(()=>false);if(!r){return{staticRoutes:{},blockingFallbackRoutes:{},fallbackRoutes:{},bypassToken:null,omittedRoutes:{},notFoundRoutes:[],isLocalePrefixed:false}}const n=JSON.parse(await l.default.readFile(i,"utf8"));switch(n.version){case 1:{const e=Object.keys(n.routes);const t=Object.keys(n.dynamicRoutes);const i={staticRoutes:{},blockingFallbackRoutes:{},fallbackRoutes:{},bypassToken:n.preview&&n.preview.previewModeId||null,omittedRoutes:{},notFoundRoutes:[],isLocalePrefixed:false};e.forEach(e=>{const{initialRevalidateSeconds:t,dataRoute:r,srcRoute:s}=n.routes[e];i.staticRoutes[e]={initialRevalidate:t===false?false:Math.max(1,t),dataRoute:r,srcRoute:s}});t.forEach(e=>{const{routeRegex:t,fallback:r,dataRoute:s,dataRouteRegex:a}=n.dynamicRoutes[e];if(r){i.fallbackRoutes[e]={routeRegex:t,fallback:r,dataRoute:s,dataRouteRegex:a}}else{i.blockingFallbackRoutes[e]={routeRegex:t,dataRoute:s,dataRouteRegex:a}}});return i}case 2:case 3:{const e=Object.keys(n.routes);const t=Object.keys(n.dynamicRoutes);const i={staticRoutes:{},blockingFallbackRoutes:{},fallbackRoutes:{},bypassToken:n.preview.previewModeId,omittedRoutes:{},notFoundRoutes:[],isLocalePrefixed:n.version>2};if(n.notFoundRoutes){i.notFoundRoutes.push(...n.notFoundRoutes)}e.forEach(e=>{const{initialRevalidateSeconds:t,dataRoute:r,srcRoute:s}=n.routes[e];i.staticRoutes[e]={initialRevalidate:t===false?false:Math.max(1,t),dataRoute:r,srcRoute:s}});t.forEach(e=>{const{routeRegex:t,fallback:r,dataRoute:s,dataRouteRegex:a}=n.dynamicRoutes[e];if(typeof r==="string"){i.fallbackRoutes[e]={routeRegex:t,fallback:r,dataRoute:s,dataRouteRegex:a}}else if(r===null){i.blockingFallbackRoutes[e]={routeRegex:t,dataRoute:s,dataRouteRegex:a}}else{i.omittedRoutes[e]={routeRegex:t,dataRoute:s,dataRouteRegex:a}}});return i}default:{return{staticRoutes:{},blockingFallbackRoutes:{},fallbackRoutes:{},bypassToken:null,omittedRoutes:{},notFoundRoutes:[],isLocalePrefixed:false}}}}t.getPrerenderManifest=getPrerenderManifest;let A;async function usesSrcDirectory(e){if(!A){const t=f.default.join(e,"src","pages");try{if((await l.default.stat(t)).isDirectory()){A=true}}catch(e){A=false}}return Boolean(A)}async function getSourceFilePathFromPage({workPath:e,page:t,pageExtensions:i}){const r=i||["js","jsx","ts","tsx"];let n=f.default.join(e,"pages",t);if(await usesSrcDirectory(e)){n=f.default.join(e,"src","pages",t)}if(l.default.existsSync(n)){return f.default.relative(e,n)}const s=n.slice(0,-3);for(const t of r){n=`${s}.${t}`;if(l.default.existsSync(n)){return f.default.relative(e,n)}}if(isDirectory(s)){for(const t of r){n=f.default.join(s,`index.${t}`);if(l.default.existsSync(n)){return f.default.relative(e,n)}}}console.log(`WARNING: Unable to find source file for page ${t} with extensions: ${r.join(", ")}, this can cause functions config from \`vercel.json\` to not be applied`);return""}t.getSourceFilePathFromPage=getSourceFilePathFromPage;function isDirectory(e){return l.default.existsSync(e)&&l.default.lstatSync(e).isDirectory()}function normalizeLocalePath(e,t){let i;const r=e.split("/");(t||[]).some(t=>{if(r[1].toLowerCase()===t.toLowerCase()){i=t;r.splice(1,1);e=r.join("/")||"/";return true}return false});return{pathname:e,detectedLocale:i}}t.normalizeLocalePath=normalizeLocalePath;function addLocaleOrDefault(e,t,i){if(!(t===null||t===void 0?void 0:t.i18n))return e;if(!i)i=t.i18n.defaultLocale;return i?`/${i}${e==="/index"?"":e}`:e}t.addLocaleOrDefault=addLocaleOrDefault;t.MAX_UNCOMPRESSED_LAMBDA_SIZE=250*1e3*1e3;const k=2.5*1e3*1e3;const T=250*1e3;async function getPageLambdaGroups(e,i,r,n,s,a,u,c,l,f,h,p){const d=[];for(const v of r){const r=[...h,v];const y=normalizePage(v.replace(/\.js$/,""));const g=n.has(y);let b={};if(i&&i.functions){const t=await getSourceFilePathFromPage({workPath:e,page:v,pageExtensions:p});b=await(0,o.getLambdaOptionsFromFunction)({sourceFile:t,config:i})}let m=d.find(e=>{const i=e.maxDuration===b.maxDuration&&e.memory===b.memory&&e.isPrerenders===g;if(i){let i=e.pseudoLayerBytes;let n=e.pseudoLayerUncompressedBytes;for(const t of r){Object.keys(s[t]||{}).map(t=>{var r;if(!e.pseudoLayer[t]){const e=u[t];i+=((r=e.compBuffer)===null||r===void 0?void 0:r.byteLength)||0;n+=e.uncompressedSize||0}});i+=a[t].compBuffer.byteLength;n+=a[t].uncompressedSize}const o=n+l<t.MAX_UNCOMPRESSED_LAMBDA_SIZE-k;const h=i+c<f-T;return o&&h}return false});if(m){m.pages.push(v)}else{const e={pages:[v],...b,isPrerenders:g,pseudoLayerBytes:0,pseudoLayerUncompressedBytes:0,pseudoLayer:{}};d.push(e);m=e}for(const e of r){Object.keys(s[e]||{}).map(e=>{var t;const i=u[e];const r=((t=i===null||i===void 0?void 0:i.compBuffer)===null||t===void 0?void 0:t.byteLength)||0;if(!m.pseudoLayer[e]){m.pseudoLayer[e]=i;m.pseudoLayerBytes+=r;m.pseudoLayerUncompressedBytes+=i.uncompressedSize||0}});m.pseudoLayerBytes+=a[e].compBuffer.byteLength;m.pseudoLayerUncompressedBytes+=a[e].uncompressedSize}}return d}t.getPageLambdaGroups=getPageLambdaGroups;const C=(e,t,i,r,n)=>{const s=[];console.log(`Serverless Function's page${e.length===1?"":"s"}: ${e.join(", ")}`);s.push(["Large Dependencies","Uncompressed size","Compressed size"]);const a={};for(const e of Object.keys(t)){if(!t[e].isSymlink){const i=t[e];const r=e.split("/").slice(0,3).join("/");if(!a[r]){a[r]={compressed:0,uncompressed:0}}a[r].compressed+=i.compBuffer.byteLength;a[r].uncompressed+=i.uncompressedSize}}for(const t of e){a[`pages/${t}`]={compressed:n[t].compBuffer.byteLength,uncompressed:n[t].uncompressedSize}}let o=0;Object.keys(a).sort((e,t)=>{const i=a[e];const r=a[t];if(i.compressed>r.compressed){return-1}if(i.compressed<r.compressed){return 1}return 0}).forEach(e=>{const t=a[e];if(t.compressed<100*1e3&&t.uncompressed<500*1e3){return}s.push([e,(0,m.default)(t.uncompressed),(0,m.default)(t.compressed)]);o+=1});if(o===0){s.push(["No large dependencies found (> 100KB compressed)"])}s.push([]);s.push(["All dependencies",(0,m.default)(r),(0,m.default)(i)]);console.log((0,b.default)(s,{align:["l","r","r"]}))};t.outputFunctionFileSizeInfo=C;const O=async(e,i,r)=>{const n=i-5*1e3*1e3;const s=t.MAX_UNCOMPRESSED_LAMBDA_SIZE-5*1e3*1e3;let a=0;let u=0;let c=false;const l=e.filter(e=>{const r=e.pseudoLayerBytes>i||e.pseudoLayerUncompressedBytes>t.MAX_UNCOMPRESSED_LAMBDA_SIZE;const c=e.pseudoLayerBytes>n||e.pseudoLayerUncompressedBytes>s;if(c||r||(0,o.getPlatformEnv)("BUILDER_DEBUG")||process.env.NEXT_DEBUG_FUNCTION_SIZE){if(r){a+=1}if(c){u+=1}return true}});for(const e of l){if(!c){if(a||u){console.log(`Warning: Max serverless function size of ${(0,m.default)(i)} compressed or ${(0,m.default)(t.MAX_UNCOMPRESSED_LAMBDA_SIZE)} uncompressed${a?"":" almost"} reached`)}else{console.log(`Serverless function size info`)}c=true}(0,t.outputFunctionFileSizeInfo)(e.pages,e.pseudoLayer,e.pseudoLayerBytes,e.pseudoLayerUncompressedBytes,r)}if(a){console.log(`Max serverless function size was exceeded for ${a} function${a===1?"":"s"}`)}};t.detectLambdaLimitExceeding=O;const N=(e,t,i,r,n,s,a)=>{let o;let u;const c=e.staticRoutes[n];const{initialRevalidate:l,srcRoute:h}=c;const p=h||n;const d=(a===null||a===void 0?void 0:a.i18n)?normalizeLocalePath(n,a.i18n.locales).pathname:n;if(d==="/404"){o=f.default.join(i,n)}if(d==="/500"){u=f.default.join(i,n)}if(l===false&&(!t||s&&d==="/404")&&!e.fallbackRoutes[p]&&!e.blockingFallbackRoutes[p]){if((a===null||a===void 0?void 0:a.i18n)&&Object.keys(e.staticRoutes).some(t=>{const i=e.staticRoutes[t];return i.srcRoute===h&&i.initialRevalidate!==false})){return{static404Page:o,static500Page:u}}r.add(p==="/"?"/index":p)}return{static404Page:o,static500Page:u}};t.onPrerenderRouteInitial=N;let j=1;const I=e=>(i,{isBlocking:r,isFallback:n,isOmitted:s,locale:a})=>{var u;const{pagesDir:c,hasPages404:l,static404Page:h,entryDirectory:p,prerenderManifest:d,isSharedLambdas:v,isServerMode:b,canUsePreviewMode:m,lambdas:_,prerenders:w,pageLambdaMap:E,routesManifest:S,isCorrectNotFoundRoutes:x}=e;if(r&&n){throw new o.NowBuildError({code:"NEXT_ISBLOCKING_ISFALLBACK",message:"invariant: isBlocking and isFallback cannot both be true"})}if(n&&s){throw new o.NowBuildError({code:"NEXT_ISOMITTED_ISFALLBACK",message:"invariant: isOmitted and isFallback cannot both be true"})}let R=i==="/"?"/index":i;let A=R;const{isLocalePrefixed:k}=d;if(!a&&k){const e=normalizeLocalePath(i,((u=S===null||S===void 0?void 0:S.i18n)===null||u===void 0?void 0:u.locales)||[]);a=e.detectedLocale;A=e.pathname==="/"?"/index":e.pathname}const T=!n&&!r&&!s&&!d.staticRoutes[i].srcRoute;if(T&&!k||n||s){R=addLocaleOrDefault(R,S,a)}const C=d.notFoundRoutes.includes(i);const O=r||C&&!h?null:new o.FileFsRef({fsPath:f.default.join(c,n?addLocaleOrDefault(d.fallbackRoutes[i].fallback,S,a):`${s||C?addLocaleOrDefault("/404",S,a):R}.html`)});const N=n||r||C&&!h?null:new o.FileFsRef({fsPath:f.default.join(c,`${s||C?addLocaleOrDefault("/404.html",S,a):R+".json"}`)});let I;let $;let P;if(n||r){const e=n?d.fallbackRoutes[i]:d.blockingFallbackRoutes[i];I=1;if(I===false){throw new o.NowBuildError({code:"NEXT_ISLAZY_INITIALREVALIDATE",message:"invariant isLazy: initialRevalidate !== false"})}$=null;P=e.dataRoute}else if(s){I=false;$=i;P=d.omittedRoutes[i].dataRoute}else{const e=d.staticRoutes[i];({initialRevalidate:I,srcRoute:$,dataRoute:P}=e)}const F=normalizeIndexOutput(f.default.posix.join(p,R),b);const L=f.default.posix.join(p,A);let B;let D=f.default.posix.join(p,P);if(T||n||s){D=D.replace(new RegExp(`${(0,y.default)(A)}.json$`),`${R}.json`)}if(v){const e=normalizeIndexOutput(f.default.join("/",$==null?L:f.default.join(p,$==="/"?"/index":$)),b);const t=E[e];B=_[t]}else{const e=normalizeIndexOutput($==null?L:f.default.posix.join(p,$==="/"?"/index":$),b);B=_[e]}if(!C&&I===false){if(O==null||N==null){throw new o.NowBuildError({code:"NEXT_HTMLFSREF_JSONFSREF",message:"invariant: htmlFsRef != null && jsonFsRef != null"})}if(!m||l&&i==="/404"){O.contentType=g.htmlContentType;w[F]=O;w[D]=N}}const H=x&&!I&&m&&b&&C;if(w[F]==null&&(!C||I||H)){if(B==null){throw new o.NowBuildError({code:"NEXT_MISSING_LAMBDA",message:`Unable to find lambda for route: ${R}`})}const e=$||i;const t=isDynamicRoute(e);const n=S===null||S===void 0?void 0:S.dynamicRoutes.find(t=>t.page===e&&!("isMiddleware"in t));const s=n===null||n===void 0?void 0:n.routeKeys;let a;if(s){a=Object.values(s)}else if(!t){a=[]}w[F]=new o.Prerender({expiration:I,lambda:B,allowQuery:a,fallback:O,group:j,bypassToken:d.bypassToken});w[D]=new o.Prerender({expiration:I,lambda:B,allowQuery:a,fallback:N,group:j,bypassToken:d.bypassToken});++j;if((S===null||S===void 0?void 0:S.i18n)&&r){for(const e of S.i18n.locales){const t=addLocaleOrDefault(R,S,e);const i=normalizeIndexOutput(f.default.posix.join(p,t),b);const r=D.replace(new RegExp(`${(0,y.default)(A)}.json$`),`${t}${t!==A&&A==="/index"?"/index":""}.json`);const n=w[F];const s=w[D];w[i]={...n,group:j};w[r]={...s,group:j};++j}}}if((T&&!k||n||s)&&(S===null||S===void 0?void 0:S.i18n)&&!a){for(const a of S.i18n.locales){if(a===S.i18n.defaultLocale)continue;(0,t.onPrerenderRoute)(e)(i,{isBlocking:r,isFallback:n,isOmitted:s,locale:a})}}};t.onPrerenderRoute=I;async function getStaticFiles(e,t,i){const r="Collected static files (public/, static/, .next/static)";console.time(r);const n=await(0,o.glob)("**",f.default.join(e,i,"static"));const s=await(0,o.glob)("**",f.default.join(e,"static"));let a={};let u;if(await l.default.pathExists(f.default.join(e,"public"))){u=f.default.join(e,"public")}else if(await l.default.pathExists(f.default.join(e,i,"../public"))){u=f.default.join(e,i,"../public")}if(u){(0,o.debug)(`Using public folder at ${u}`);a=await(0,o.glob)("**/*",u)}else{(0,o.debug)("No public folder found")}const c={};const h={};const p={};for(const e of Object.keys(n)){c[f.default.join(t,`_next/static/${e}`)]=n[e]}for(const e of Object.keys(s)){h[f.default.join(t,"static",e)]=s[e]}for(const e of Object.keys(a)){p[f.default.join(t,e)]=a[e]}console.timeEnd(r);return{staticFiles:c,staticDirectoryFiles:h,publicDirectoryFiles:p}}t.getStaticFiles=getStaticFiles;function normalizeIndexOutput(e,t){if(e!=="/index"&&t){return e.replace(/\/index$/,"")}return e}t.normalizeIndexOutput=normalizeIndexOutput;function getNextServerPath(e){return p.default.gte(e,"v11.0.2-canary.4")?"next/dist/server":"next/dist/next-server/server"}t.getNextServerPath=getNextServerPath;function updateRouteSrc(e,t,i){if(e.src){e.src=i[t].regex}return e}t.updateRouteSrc=updateRouteSrc;async function getPrivateOutputs(e,t){const i={};const r=[];for(const[n,s]of Object.entries(t)){const t=f.default.join(e,n);try{const{mode:e,size:a}=await(0,l.stat)(t);if(a>30*1024*1024){throw new Error(`Exceeds maximum file size: ${a}`)}i[s]=new o.FileFsRef({mode:e,fsPath:t});r.push({src:`/${s}`,dest:"/404",status:404,continue:true})}catch(e){(0,o.debug)(`Private file ${n} had an error and will not be uploaded: ${e}`)}}return{files:i,routes:r}}t.getPrivateOutputs=getPrivateOutputs;async function getMiddlewareBundle({entryPath:e,outputDirectory:t,routesManifest:i}){var r;const n=await getMiddlewareManifest(e,t);const s=[...!n?[]:n.sortedMiddleware.map(e=>({key:e,edgeFunction:n===null||n===void 0?void 0:n.middleware[e],type:"middleware"})),...Object.entries((r=n===null||n===void 0?void 0:n.functions)!==null&&r!==void 0?r:{}).map(([e,t])=>{return{key:e,edgeFunction:t,type:"function"}})];if(n&&s.length>0){const r=await Promise.all(s.map(async({key:r,edgeFunction:n,type:s})=>{try{const a=await(0,_.getNextjsEdgeFunctionSource)(n.files,{name:n.name,staticRoutes:i.staticRoutes,dynamicRoutes:i.dynamicRoutes.filter(e=>!("isMiddleware"in e)),nextConfig:{basePath:i.basePath,i18n:i.i18n}},f.default.resolve(e,t),n.wasm);return{type:s,page:n.page,edgeFunction:(()=>{var i;const{source:r,map:s}=a.sourceAndMap();const u=(0,w.stringifySourceMap)(transformSourceMap(s));const c=((i=n.wasm)!==null&&i!==void 0?i:[]).reduce((i,{filePath:r,name:n})=>{const s=f.default.join(e,t,r);i[`wasm/${n}.wasm`]=new o.FileFsRef({mode:420,contentType:"application/wasm",fsPath:s});return i},{});return new o.EdgeFunction({deploymentTarget:"v8-worker",name:n.name,files:{"index.js":new o.FileBlob({data:r,contentType:"application/javascript",mode:420}),...u&&{"index.js.map":new o.FileBlob({data:u,contentType:"application/json",mode:420})},...c},entrypoint:"index.js",envVarsInUse:n.env})})(),routeSrc:getRouteSrc(n,i)}}catch(e){e.message=`Can't build edge function ${r}: ${e.message}`;throw e}}));const n={staticRoutes:[],dynamicRouteMap:new Map,edgeFunctions:{}};for(const e of r.values()){const t=e.edgeFunction.name;const r=t.replace(/^pages\//,"");e.edgeFunction.name=r;n.edgeFunctions[r]=e.edgeFunction;const s={continue:true,src:e.routeSrc,...e.type==="middleware"?{middlewarePath:r,override:true}:{dest:r}};if(i.version>3&&isDynamicRoute(e.page)){n.dynamicRouteMap.set(e.page,s)}else{n.staticRoutes.push(s)}}return n}return{staticRoutes:[],dynamicRouteMap:new Map,edgeFunctions:{}}}t.getMiddlewareBundle=getMiddlewareBundle;async function getMiddlewareManifest(e,t){const i=f.default.join(e,t,"./server/middleware-manifest.json");const r=await l.default.access(i).then(()=>true).catch(()=>false);if(!r){return}return require(i)}t.getMiddlewareManifest=getMiddlewareManifest;function getRouteSrc({regexp:e,page:t},{basePath:i="",i18n:r}){if(t==="/"){return e.replace("_next",`${(i===null||i===void 0?void 0:i.substring(1))?`${i===null||i===void 0?void 0:i.substring(1)}/`:""}_next`)}const n=(r===null||r===void 0?void 0:r.locales.length)?`(?:/(${r.locales.map(e=>(0,y.default)(e)).join("|")}))?`:"";return`(?:^${i}${n}${e.substring(1)})`}function transformSourceMap(e){var t;if(!e)return;const i=(t=e.sources)===null||t===void 0?void 0:t.map(e=>{return e.replace(/^webpack:\/\/?_N_E\/(?:\.\/)?/,"")}).map(e=>{return e.startsWith("?")?"[native code]":e});return{...e,sources:i}}},918:module=>{module.exports=eval("require")("aws-sdk")},2722:module=>{module.exports=eval("require")("mock-aws-s3")},3902:module=>{module.exports=eval("require")("nock")},772:e=>{"use strict";e.exports=JSON.parse('{"0.1.14":{"node_abi":null,"v8":"1.3"},"0.1.15":{"node_abi":null,"v8":"1.3"},"0.1.16":{"node_abi":null,"v8":"1.3"},"0.1.17":{"node_abi":null,"v8":"1.3"},"0.1.18":{"node_abi":null,"v8":"1.3"},"0.1.19":{"node_abi":null,"v8":"2.0"},"0.1.20":{"node_abi":null,"v8":"2.0"},"0.1.21":{"node_abi":null,"v8":"2.0"},"0.1.22":{"node_abi":null,"v8":"2.0"},"0.1.23":{"node_abi":null,"v8":"2.0"},"0.1.24":{"node_abi":null,"v8":"2.0"},"0.1.25":{"node_abi":null,"v8":"2.0"},"0.1.26":{"node_abi":null,"v8":"2.0"},"0.1.27":{"node_abi":null,"v8":"2.1"},"0.1.28":{"node_abi":null,"v8":"2.1"},"0.1.29":{"node_abi":null,"v8":"2.1"},"0.1.30":{"node_abi":null,"v8":"2.1"},"0.1.31":{"node_abi":null,"v8":"2.1"},"0.1.32":{"node_abi":null,"v8":"2.1"},"0.1.33":{"node_abi":null,"v8":"2.1"},"0.1.90":{"node_abi":null,"v8":"2.2"},"0.1.91":{"node_abi":null,"v8":"2.2"},"0.1.92":{"node_abi":null,"v8":"2.2"},"0.1.93":{"node_abi":null,"v8":"2.2"},"0.1.94":{"node_abi":null,"v8":"2.2"},"0.1.95":{"node_abi":null,"v8":"2.2"},"0.1.96":{"node_abi":null,"v8":"2.2"},"0.1.97":{"node_abi":null,"v8":"2.2"},"0.1.98":{"node_abi":null,"v8":"2.2"},"0.1.99":{"node_abi":null,"v8":"2.2"},"0.1.100":{"node_abi":null,"v8":"2.2"},"0.1.101":{"node_abi":null,"v8":"2.3"},"0.1.102":{"node_abi":null,"v8":"2.3"},"0.1.103":{"node_abi":null,"v8":"2.3"},"0.1.104":{"node_abi":null,"v8":"2.3"},"0.2.0":{"node_abi":1,"v8":"2.3"},"0.2.1":{"node_abi":1,"v8":"2.3"},"0.2.2":{"node_abi":1,"v8":"2.3"},"0.2.3":{"node_abi":1,"v8":"2.3"},"0.2.4":{"node_abi":1,"v8":"2.3"},"0.2.5":{"node_abi":1,"v8":"2.3"},"0.2.6":{"node_abi":1,"v8":"2.3"},"0.3.0":{"node_abi":1,"v8":"2.5"},"0.3.1":{"node_abi":1,"v8":"2.5"},"0.3.2":{"node_abi":1,"v8":"3.0"},"0.3.3":{"node_abi":1,"v8":"3.0"},"0.3.4":{"node_abi":1,"v8":"3.0"},"0.3.5":{"node_abi":1,"v8":"3.0"},"0.3.6":{"node_abi":1,"v8":"3.0"},"0.3.7":{"node_abi":1,"v8":"3.0"},"0.3.8":{"node_abi":1,"v8":"3.1"},"0.4.0":{"node_abi":1,"v8":"3.1"},"0.4.1":{"node_abi":1,"v8":"3.1"},"0.4.2":{"node_abi":1,"v8":"3.1"},"0.4.3":{"node_abi":1,"v8":"3.1"},"0.4.4":{"node_abi":1,"v8":"3.1"},"0.4.5":{"node_abi":1,"v8":"3.1"},"0.4.6":{"node_abi":1,"v8":"3.1"},"0.4.7":{"node_abi":1,"v8":"3.1"},"0.4.8":{"node_abi":1,"v8":"3.1"},"0.4.9":{"node_abi":1,"v8":"3.1"},"0.4.10":{"node_abi":1,"v8":"3.1"},"0.4.11":{"node_abi":1,"v8":"3.1"},"0.4.12":{"node_abi":1,"v8":"3.1"},"0.5.0":{"node_abi":1,"v8":"3.1"},"0.5.1":{"node_abi":1,"v8":"3.4"},"0.5.2":{"node_abi":1,"v8":"3.4"},"0.5.3":{"node_abi":1,"v8":"3.4"},"0.5.4":{"node_abi":1,"v8":"3.5"},"0.5.5":{"node_abi":1,"v8":"3.5"},"0.5.6":{"node_abi":1,"v8":"3.6"},"0.5.7":{"node_abi":1,"v8":"3.6"},"0.5.8":{"node_abi":1,"v8":"3.6"},"0.5.9":{"node_abi":1,"v8":"3.6"},"0.5.10":{"node_abi":1,"v8":"3.7"},"0.6.0":{"node_abi":1,"v8":"3.6"},"0.6.1":{"node_abi":1,"v8":"3.6"},"0.6.2":{"node_abi":1,"v8":"3.6"},"0.6.3":{"node_abi":1,"v8":"3.6"},"0.6.4":{"node_abi":1,"v8":"3.6"},"0.6.5":{"node_abi":1,"v8":"3.6"},"0.6.6":{"node_abi":1,"v8":"3.6"},"0.6.7":{"node_abi":1,"v8":"3.6"},"0.6.8":{"node_abi":1,"v8":"3.6"},"0.6.9":{"node_abi":1,"v8":"3.6"},"0.6.10":{"node_abi":1,"v8":"3.6"},"0.6.11":{"node_abi":1,"v8":"3.6"},"0.6.12":{"node_abi":1,"v8":"3.6"},"0.6.13":{"node_abi":1,"v8":"3.6"},"0.6.14":{"node_abi":1,"v8":"3.6"},"0.6.15":{"node_abi":1,"v8":"3.6"},"0.6.16":{"node_abi":1,"v8":"3.6"},"0.6.17":{"node_abi":1,"v8":"3.6"},"0.6.18":{"node_abi":1,"v8":"3.6"},"0.6.19":{"node_abi":1,"v8":"3.6"},"0.6.20":{"node_abi":1,"v8":"3.6"},"0.6.21":{"node_abi":1,"v8":"3.6"},"0.7.0":{"node_abi":1,"v8":"3.8"},"0.7.1":{"node_abi":1,"v8":"3.8"},"0.7.2":{"node_abi":1,"v8":"3.8"},"0.7.3":{"node_abi":1,"v8":"3.9"},"0.7.4":{"node_abi":1,"v8":"3.9"},"0.7.5":{"node_abi":1,"v8":"3.9"},"0.7.6":{"node_abi":1,"v8":"3.9"},"0.7.7":{"node_abi":1,"v8":"3.9"},"0.7.8":{"node_abi":1,"v8":"3.9"},"0.7.9":{"node_abi":1,"v8":"3.11"},"0.7.10":{"node_abi":1,"v8":"3.9"},"0.7.11":{"node_abi":1,"v8":"3.11"},"0.7.12":{"node_abi":1,"v8":"3.11"},"0.8.0":{"node_abi":1,"v8":"3.11"},"0.8.1":{"node_abi":1,"v8":"3.11"},"0.8.2":{"node_abi":1,"v8":"3.11"},"0.8.3":{"node_abi":1,"v8":"3.11"},"0.8.4":{"node_abi":1,"v8":"3.11"},"0.8.5":{"node_abi":1,"v8":"3.11"},"0.8.6":{"node_abi":1,"v8":"3.11"},"0.8.7":{"node_abi":1,"v8":"3.11"},"0.8.8":{"node_abi":1,"v8":"3.11"},"0.8.9":{"node_abi":1,"v8":"3.11"},"0.8.10":{"node_abi":1,"v8":"3.11"},"0.8.11":{"node_abi":1,"v8":"3.11"},"0.8.12":{"node_abi":1,"v8":"3.11"},"0.8.13":{"node_abi":1,"v8":"3.11"},"0.8.14":{"node_abi":1,"v8":"3.11"},"0.8.15":{"node_abi":1,"v8":"3.11"},"0.8.16":{"node_abi":1,"v8":"3.11"},"0.8.17":{"node_abi":1,"v8":"3.11"},"0.8.18":{"node_abi":1,"v8":"3.11"},"0.8.19":{"node_abi":1,"v8":"3.11"},"0.8.20":{"node_abi":1,"v8":"3.11"},"0.8.21":{"node_abi":1,"v8":"3.11"},"0.8.22":{"node_abi":1,"v8":"3.11"},"0.8.23":{"node_abi":1,"v8":"3.11"},"0.8.24":{"node_abi":1,"v8":"3.11"},"0.8.25":{"node_abi":1,"v8":"3.11"},"0.8.26":{"node_abi":1,"v8":"3.11"},"0.8.27":{"node_abi":1,"v8":"3.11"},"0.8.28":{"node_abi":1,"v8":"3.11"},"0.9.0":{"node_abi":1,"v8":"3.11"},"0.9.1":{"node_abi":10,"v8":"3.11"},"0.9.2":{"node_abi":10,"v8":"3.11"},"0.9.3":{"node_abi":10,"v8":"3.13"},"0.9.4":{"node_abi":10,"v8":"3.13"},"0.9.5":{"node_abi":10,"v8":"3.13"},"0.9.6":{"node_abi":10,"v8":"3.15"},"0.9.7":{"node_abi":10,"v8":"3.15"},"0.9.8":{"node_abi":10,"v8":"3.15"},"0.9.9":{"node_abi":11,"v8":"3.15"},"0.9.10":{"node_abi":11,"v8":"3.15"},"0.9.11":{"node_abi":11,"v8":"3.14"},"0.9.12":{"node_abi":11,"v8":"3.14"},"0.10.0":{"node_abi":11,"v8":"3.14"},"0.10.1":{"node_abi":11,"v8":"3.14"},"0.10.2":{"node_abi":11,"v8":"3.14"},"0.10.3":{"node_abi":11,"v8":"3.14"},"0.10.4":{"node_abi":11,"v8":"3.14"},"0.10.5":{"node_abi":11,"v8":"3.14"},"0.10.6":{"node_abi":11,"v8":"3.14"},"0.10.7":{"node_abi":11,"v8":"3.14"},"0.10.8":{"node_abi":11,"v8":"3.14"},"0.10.9":{"node_abi":11,"v8":"3.14"},"0.10.10":{"node_abi":11,"v8":"3.14"},"0.10.11":{"node_abi":11,"v8":"3.14"},"0.10.12":{"node_abi":11,"v8":"3.14"},"0.10.13":{"node_abi":11,"v8":"3.14"},"0.10.14":{"node_abi":11,"v8":"3.14"},"0.10.15":{"node_abi":11,"v8":"3.14"},"0.10.16":{"node_abi":11,"v8":"3.14"},"0.10.17":{"node_abi":11,"v8":"3.14"},"0.10.18":{"node_abi":11,"v8":"3.14"},"0.10.19":{"node_abi":11,"v8":"3.14"},"0.10.20":{"node_abi":11,"v8":"3.14"},"0.10.21":{"node_abi":11,"v8":"3.14"},"0.10.22":{"node_abi":11,"v8":"3.14"},"0.10.23":{"node_abi":11,"v8":"3.14"},"0.10.24":{"node_abi":11,"v8":"3.14"},"0.10.25":{"node_abi":11,"v8":"3.14"},"0.10.26":{"node_abi":11,"v8":"3.14"},"0.10.27":{"node_abi":11,"v8":"3.14"},"0.10.28":{"node_abi":11,"v8":"3.14"},"0.10.29":{"node_abi":11,"v8":"3.14"},"0.10.30":{"node_abi":11,"v8":"3.14"},"0.10.31":{"node_abi":11,"v8":"3.14"},"0.10.32":{"node_abi":11,"v8":"3.14"},"0.10.33":{"node_abi":11,"v8":"3.14"},"0.10.34":{"node_abi":11,"v8":"3.14"},"0.10.35":{"node_abi":11,"v8":"3.14"},"0.10.36":{"node_abi":11,"v8":"3.14"},"0.10.37":{"node_abi":11,"v8":"3.14"},"0.10.38":{"node_abi":11,"v8":"3.14"},"0.10.39":{"node_abi":11,"v8":"3.14"},"0.10.40":{"node_abi":11,"v8":"3.14"},"0.10.41":{"node_abi":11,"v8":"3.14"},"0.10.42":{"node_abi":11,"v8":"3.14"},"0.10.43":{"node_abi":11,"v8":"3.14"},"0.10.44":{"node_abi":11,"v8":"3.14"},"0.10.45":{"node_abi":11,"v8":"3.14"},"0.10.46":{"node_abi":11,"v8":"3.14"},"0.10.47":{"node_abi":11,"v8":"3.14"},"0.10.48":{"node_abi":11,"v8":"3.14"},"0.11.0":{"node_abi":12,"v8":"3.17"},"0.11.1":{"node_abi":12,"v8":"3.18"},"0.11.2":{"node_abi":12,"v8":"3.19"},"0.11.3":{"node_abi":12,"v8":"3.19"},"0.11.4":{"node_abi":12,"v8":"3.20"},"0.11.5":{"node_abi":12,"v8":"3.20"},"0.11.6":{"node_abi":12,"v8":"3.20"},"0.11.7":{"node_abi":12,"v8":"3.20"},"0.11.8":{"node_abi":13,"v8":"3.21"},"0.11.9":{"node_abi":13,"v8":"3.22"},"0.11.10":{"node_abi":13,"v8":"3.22"},"0.11.11":{"node_abi":14,"v8":"3.22"},"0.11.12":{"node_abi":14,"v8":"3.22"},"0.11.13":{"node_abi":14,"v8":"3.25"},"0.11.14":{"node_abi":14,"v8":"3.26"},"0.11.15":{"node_abi":14,"v8":"3.28"},"0.11.16":{"node_abi":14,"v8":"3.28"},"0.12.0":{"node_abi":14,"v8":"3.28"},"0.12.1":{"node_abi":14,"v8":"3.28"},"0.12.2":{"node_abi":14,"v8":"3.28"},"0.12.3":{"node_abi":14,"v8":"3.28"},"0.12.4":{"node_abi":14,"v8":"3.28"},"0.12.5":{"node_abi":14,"v8":"3.28"},"0.12.6":{"node_abi":14,"v8":"3.28"},"0.12.7":{"node_abi":14,"v8":"3.28"},"0.12.8":{"node_abi":14,"v8":"3.28"},"0.12.9":{"node_abi":14,"v8":"3.28"},"0.12.10":{"node_abi":14,"v8":"3.28"},"0.12.11":{"node_abi":14,"v8":"3.28"},"0.12.12":{"node_abi":14,"v8":"3.28"},"0.12.13":{"node_abi":14,"v8":"3.28"},"0.12.14":{"node_abi":14,"v8":"3.28"},"0.12.15":{"node_abi":14,"v8":"3.28"},"0.12.16":{"node_abi":14,"v8":"3.28"},"0.12.17":{"node_abi":14,"v8":"3.28"},"0.12.18":{"node_abi":14,"v8":"3.28"},"1.0.0":{"node_abi":42,"v8":"3.31"},"1.0.1":{"node_abi":42,"v8":"3.31"},"1.0.2":{"node_abi":42,"v8":"3.31"},"1.0.3":{"node_abi":42,"v8":"4.1"},"1.0.4":{"node_abi":42,"v8":"4.1"},"1.1.0":{"node_abi":43,"v8":"4.1"},"1.2.0":{"node_abi":43,"v8":"4.1"},"1.3.0":{"node_abi":43,"v8":"4.1"},"1.4.1":{"node_abi":43,"v8":"4.1"},"1.4.2":{"node_abi":43,"v8":"4.1"},"1.4.3":{"node_abi":43,"v8":"4.1"},"1.5.0":{"node_abi":43,"v8":"4.1"},"1.5.1":{"node_abi":43,"v8":"4.1"},"1.6.0":{"node_abi":43,"v8":"4.1"},"1.6.1":{"node_abi":43,"v8":"4.1"},"1.6.2":{"node_abi":43,"v8":"4.1"},"1.6.3":{"node_abi":43,"v8":"4.1"},"1.6.4":{"node_abi":43,"v8":"4.1"},"1.7.1":{"node_abi":43,"v8":"4.1"},"1.8.1":{"node_abi":43,"v8":"4.1"},"1.8.2":{"node_abi":43,"v8":"4.1"},"1.8.3":{"node_abi":43,"v8":"4.1"},"1.8.4":{"node_abi":43,"v8":"4.1"},"2.0.0":{"node_abi":44,"v8":"4.2"},"2.0.1":{"node_abi":44,"v8":"4.2"},"2.0.2":{"node_abi":44,"v8":"4.2"},"2.1.0":{"node_abi":44,"v8":"4.2"},"2.2.0":{"node_abi":44,"v8":"4.2"},"2.2.1":{"node_abi":44,"v8":"4.2"},"2.3.0":{"node_abi":44,"v8":"4.2"},"2.3.1":{"node_abi":44,"v8":"4.2"},"2.3.2":{"node_abi":44,"v8":"4.2"},"2.3.3":{"node_abi":44,"v8":"4.2"},"2.3.4":{"node_abi":44,"v8":"4.2"},"2.4.0":{"node_abi":44,"v8":"4.2"},"2.5.0":{"node_abi":44,"v8":"4.2"},"3.0.0":{"node_abi":45,"v8":"4.4"},"3.1.0":{"node_abi":45,"v8":"4.4"},"3.2.0":{"node_abi":45,"v8":"4.4"},"3.3.0":{"node_abi":45,"v8":"4.4"},"3.3.1":{"node_abi":45,"v8":"4.4"},"4.0.0":{"node_abi":46,"v8":"4.5"},"4.1.0":{"node_abi":46,"v8":"4.5"},"4.1.1":{"node_abi":46,"v8":"4.5"},"4.1.2":{"node_abi":46,"v8":"4.5"},"4.2.0":{"node_abi":46,"v8":"4.5"},"4.2.1":{"node_abi":46,"v8":"4.5"},"4.2.2":{"node_abi":46,"v8":"4.5"},"4.2.3":{"node_abi":46,"v8":"4.5"},"4.2.4":{"node_abi":46,"v8":"4.5"},"4.2.5":{"node_abi":46,"v8":"4.5"},"4.2.6":{"node_abi":46,"v8":"4.5"},"4.3.0":{"node_abi":46,"v8":"4.5"},"4.3.1":{"node_abi":46,"v8":"4.5"},"4.3.2":{"node_abi":46,"v8":"4.5"},"4.4.0":{"node_abi":46,"v8":"4.5"},"4.4.1":{"node_abi":46,"v8":"4.5"},"4.4.2":{"node_abi":46,"v8":"4.5"},"4.4.3":{"node_abi":46,"v8":"4.5"},"4.4.4":{"node_abi":46,"v8":"4.5"},"4.4.5":{"node_abi":46,"v8":"4.5"},"4.4.6":{"node_abi":46,"v8":"4.5"},"4.4.7":{"node_abi":46,"v8":"4.5"},"4.5.0":{"node_abi":46,"v8":"4.5"},"4.6.0":{"node_abi":46,"v8":"4.5"},"4.6.1":{"node_abi":46,"v8":"4.5"},"4.6.2":{"node_abi":46,"v8":"4.5"},"4.7.0":{"node_abi":46,"v8":"4.5"},"4.7.1":{"node_abi":46,"v8":"4.5"},"4.7.2":{"node_abi":46,"v8":"4.5"},"4.7.3":{"node_abi":46,"v8":"4.5"},"4.8.0":{"node_abi":46,"v8":"4.5"},"4.8.1":{"node_abi":46,"v8":"4.5"},"4.8.2":{"node_abi":46,"v8":"4.5"},"4.8.3":{"node_abi":46,"v8":"4.5"},"4.8.4":{"node_abi":46,"v8":"4.5"},"4.8.5":{"node_abi":46,"v8":"4.5"},"4.8.6":{"node_abi":46,"v8":"4.5"},"4.8.7":{"node_abi":46,"v8":"4.5"},"4.9.0":{"node_abi":46,"v8":"4.5"},"4.9.1":{"node_abi":46,"v8":"4.5"},"5.0.0":{"node_abi":47,"v8":"4.6"},"5.1.0":{"node_abi":47,"v8":"4.6"},"5.1.1":{"node_abi":47,"v8":"4.6"},"5.2.0":{"node_abi":47,"v8":"4.6"},"5.3.0":{"node_abi":47,"v8":"4.6"},"5.4.0":{"node_abi":47,"v8":"4.6"},"5.4.1":{"node_abi":47,"v8":"4.6"},"5.5.0":{"node_abi":47,"v8":"4.6"},"5.6.0":{"node_abi":47,"v8":"4.6"},"5.7.0":{"node_abi":47,"v8":"4.6"},"5.7.1":{"node_abi":47,"v8":"4.6"},"5.8.0":{"node_abi":47,"v8":"4.6"},"5.9.0":{"node_abi":47,"v8":"4.6"},"5.9.1":{"node_abi":47,"v8":"4.6"},"5.10.0":{"node_abi":47,"v8":"4.6"},"5.10.1":{"node_abi":47,"v8":"4.6"},"5.11.0":{"node_abi":47,"v8":"4.6"},"5.11.1":{"node_abi":47,"v8":"4.6"},"5.12.0":{"node_abi":47,"v8":"4.6"},"6.0.0":{"node_abi":48,"v8":"5.0"},"6.1.0":{"node_abi":48,"v8":"5.0"},"6.2.0":{"node_abi":48,"v8":"5.0"},"6.2.1":{"node_abi":48,"v8":"5.0"},"6.2.2":{"node_abi":48,"v8":"5.0"},"6.3.0":{"node_abi":48,"v8":"5.0"},"6.3.1":{"node_abi":48,"v8":"5.0"},"6.4.0":{"node_abi":48,"v8":"5.0"},"6.5.0":{"node_abi":48,"v8":"5.1"},"6.6.0":{"node_abi":48,"v8":"5.1"},"6.7.0":{"node_abi":48,"v8":"5.1"},"6.8.0":{"node_abi":48,"v8":"5.1"},"6.8.1":{"node_abi":48,"v8":"5.1"},"6.9.0":{"node_abi":48,"v8":"5.1"},"6.9.1":{"node_abi":48,"v8":"5.1"},"6.9.2":{"node_abi":48,"v8":"5.1"},"6.9.3":{"node_abi":48,"v8":"5.1"},"6.9.4":{"node_abi":48,"v8":"5.1"},"6.9.5":{"node_abi":48,"v8":"5.1"},"6.10.0":{"node_abi":48,"v8":"5.1"},"6.10.1":{"node_abi":48,"v8":"5.1"},"6.10.2":{"node_abi":48,"v8":"5.1"},"6.10.3":{"node_abi":48,"v8":"5.1"},"6.11.0":{"node_abi":48,"v8":"5.1"},"6.11.1":{"node_abi":48,"v8":"5.1"},"6.11.2":{"node_abi":48,"v8":"5.1"},"6.11.3":{"node_abi":48,"v8":"5.1"},"6.11.4":{"node_abi":48,"v8":"5.1"},"6.11.5":{"node_abi":48,"v8":"5.1"},"6.12.0":{"node_abi":48,"v8":"5.1"},"6.12.1":{"node_abi":48,"v8":"5.1"},"6.12.2":{"node_abi":48,"v8":"5.1"},"6.12.3":{"node_abi":48,"v8":"5.1"},"6.13.0":{"node_abi":48,"v8":"5.1"},"6.13.1":{"node_abi":48,"v8":"5.1"},"6.14.0":{"node_abi":48,"v8":"5.1"},"6.14.1":{"node_abi":48,"v8":"5.1"},"6.14.2":{"node_abi":48,"v8":"5.1"},"6.14.3":{"node_abi":48,"v8":"5.1"},"6.14.4":{"node_abi":48,"v8":"5.1"},"6.15.0":{"node_abi":48,"v8":"5.1"},"6.15.1":{"node_abi":48,"v8":"5.1"},"6.16.0":{"node_abi":48,"v8":"5.1"},"6.17.0":{"node_abi":48,"v8":"5.1"},"6.17.1":{"node_abi":48,"v8":"5.1"},"7.0.0":{"node_abi":51,"v8":"5.4"},"7.1.0":{"node_abi":51,"v8":"5.4"},"7.2.0":{"node_abi":51,"v8":"5.4"},"7.2.1":{"node_abi":51,"v8":"5.4"},"7.3.0":{"node_abi":51,"v8":"5.4"},"7.4.0":{"node_abi":51,"v8":"5.4"},"7.5.0":{"node_abi":51,"v8":"5.4"},"7.6.0":{"node_abi":51,"v8":"5.5"},"7.7.0":{"node_abi":51,"v8":"5.5"},"7.7.1":{"node_abi":51,"v8":"5.5"},"7.7.2":{"node_abi":51,"v8":"5.5"},"7.7.3":{"node_abi":51,"v8":"5.5"},"7.7.4":{"node_abi":51,"v8":"5.5"},"7.8.0":{"node_abi":51,"v8":"5.5"},"7.9.0":{"node_abi":51,"v8":"5.5"},"7.10.0":{"node_abi":51,"v8":"5.5"},"7.10.1":{"node_abi":51,"v8":"5.5"},"8.0.0":{"node_abi":57,"v8":"5.8"},"8.1.0":{"node_abi":57,"v8":"5.8"},"8.1.1":{"node_abi":57,"v8":"5.8"},"8.1.2":{"node_abi":57,"v8":"5.8"},"8.1.3":{"node_abi":57,"v8":"5.8"},"8.1.4":{"node_abi":57,"v8":"5.8"},"8.2.0":{"node_abi":57,"v8":"5.8"},"8.2.1":{"node_abi":57,"v8":"5.8"},"8.3.0":{"node_abi":57,"v8":"6.0"},"8.4.0":{"node_abi":57,"v8":"6.0"},"8.5.0":{"node_abi":57,"v8":"6.0"},"8.6.0":{"node_abi":57,"v8":"6.0"},"8.7.0":{"node_abi":57,"v8":"6.1"},"8.8.0":{"node_abi":57,"v8":"6.1"},"8.8.1":{"node_abi":57,"v8":"6.1"},"8.9.0":{"node_abi":57,"v8":"6.1"},"8.9.1":{"node_abi":57,"v8":"6.1"},"8.9.2":{"node_abi":57,"v8":"6.1"},"8.9.3":{"node_abi":57,"v8":"6.1"},"8.9.4":{"node_abi":57,"v8":"6.1"},"8.10.0":{"node_abi":57,"v8":"6.2"},"8.11.0":{"node_abi":57,"v8":"6.2"},"8.11.1":{"node_abi":57,"v8":"6.2"},"8.11.2":{"node_abi":57,"v8":"6.2"},"8.11.3":{"node_abi":57,"v8":"6.2"},"8.11.4":{"node_abi":57,"v8":"6.2"},"8.12.0":{"node_abi":57,"v8":"6.2"},"8.13.0":{"node_abi":57,"v8":"6.2"},"8.14.0":{"node_abi":57,"v8":"6.2"},"8.14.1":{"node_abi":57,"v8":"6.2"},"8.15.0":{"node_abi":57,"v8":"6.2"},"8.15.1":{"node_abi":57,"v8":"6.2"},"8.16.0":{"node_abi":57,"v8":"6.2"},"9.0.0":{"node_abi":59,"v8":"6.2"},"9.1.0":{"node_abi":59,"v8":"6.2"},"9.2.0":{"node_abi":59,"v8":"6.2"},"9.2.1":{"node_abi":59,"v8":"6.2"},"9.3.0":{"node_abi":59,"v8":"6.2"},"9.4.0":{"node_abi":59,"v8":"6.2"},"9.5.0":{"node_abi":59,"v8":"6.2"},"9.6.0":{"node_abi":59,"v8":"6.2"},"9.6.1":{"node_abi":59,"v8":"6.2"},"9.7.0":{"node_abi":59,"v8":"6.2"},"9.7.1":{"node_abi":59,"v8":"6.2"},"9.8.0":{"node_abi":59,"v8":"6.2"},"9.9.0":{"node_abi":59,"v8":"6.2"},"9.10.0":{"node_abi":59,"v8":"6.2"},"9.10.1":{"node_abi":59,"v8":"6.2"},"9.11.0":{"node_abi":59,"v8":"6.2"},"9.11.1":{"node_abi":59,"v8":"6.2"},"9.11.2":{"node_abi":59,"v8":"6.2"},"10.0.0":{"node_abi":64,"v8":"6.6"},"10.1.0":{"node_abi":64,"v8":"6.6"},"10.2.0":{"node_abi":64,"v8":"6.6"},"10.2.1":{"node_abi":64,"v8":"6.6"},"10.3.0":{"node_abi":64,"v8":"6.6"},"10.4.0":{"node_abi":64,"v8":"6.7"},"10.4.1":{"node_abi":64,"v8":"6.7"},"10.5.0":{"node_abi":64,"v8":"6.7"},"10.6.0":{"node_abi":64,"v8":"6.7"},"10.7.0":{"node_abi":64,"v8":"6.7"},"10.8.0":{"node_abi":64,"v8":"6.7"},"10.9.0":{"node_abi":64,"v8":"6.8"},"10.10.0":{"node_abi":64,"v8":"6.8"},"10.11.0":{"node_abi":64,"v8":"6.8"},"10.12.0":{"node_abi":64,"v8":"6.8"},"10.13.0":{"node_abi":64,"v8":"6.8"},"10.14.0":{"node_abi":64,"v8":"6.8"},"10.14.1":{"node_abi":64,"v8":"6.8"},"10.14.2":{"node_abi":64,"v8":"6.8"},"10.15.0":{"node_abi":64,"v8":"6.8"},"10.15.1":{"node_abi":64,"v8":"6.8"},"10.15.2":{"node_abi":64,"v8":"6.8"},"10.15.3":{"node_abi":64,"v8":"6.8"},"11.0.0":{"node_abi":67,"v8":"7.0"},"11.1.0":{"node_abi":67,"v8":"7.0"},"11.2.0":{"node_abi":67,"v8":"7.0"},"11.3.0":{"node_abi":67,"v8":"7.0"},"11.4.0":{"node_abi":67,"v8":"7.0"},"11.5.0":{"node_abi":67,"v8":"7.0"},"11.6.0":{"node_abi":67,"v8":"7.0"},"11.7.0":{"node_abi":67,"v8":"7.0"},"11.8.0":{"node_abi":67,"v8":"7.0"},"11.9.0":{"node_abi":67,"v8":"7.0"},"11.10.0":{"node_abi":67,"v8":"7.0"},"11.10.1":{"node_abi":67,"v8":"7.0"},"11.11.0":{"node_abi":67,"v8":"7.0"},"11.12.0":{"node_abi":67,"v8":"7.0"},"11.13.0":{"node_abi":67,"v8":"7.0"},"11.14.0":{"node_abi":67,"v8":"7.0"},"12.0.0":{"node_abi":72,"v8":"7.4"}}')},3445:e=>{"use strict";e.exports=require("@vercel/build-utils")},2357:e=>{"use strict";e.exports=require("assert")},4293:e=>{"use strict";e.exports=require("buffer")},3129:e=>{"use strict";e.exports=require("child_process")},7619:e=>{"use strict";e.exports=require("constants")},8614:e=>{"use strict";e.exports=require("events")},5747:e=>{"use strict";e.exports=require("fs")},2282:e=>{"use strict";e.exports=require("module")},2087:e=>{"use strict";e.exports=require("os")},5622:e=>{"use strict";e.exports=require("path")},8027:e=>{"use strict";e.exports=require("repl")},2413:e=>{"use strict";e.exports=require("stream")},8835:e=>{"use strict";e.exports=require("url")},1669:e=>{"use strict";e.exports=require("util")},8761:e=>{"use strict";e.exports=require("zlib")}};var __webpack_module_cache__={};function __webpack_require__(e){if(__webpack_module_cache__[e]){return __webpack_module_cache__[e].exports}var t=__webpack_module_cache__[e]={exports:{}};var i=true;try{__webpack_modules__[e].call(t.exports,t,t.exports,__webpack_require__);i=false}finally{if(i)delete __webpack_module_cache__[e]}return t.exports}__webpack_require__.ab=__dirname+"/";return __webpack_require__(2855)})();