From e3693c60f0be885e1e80b82027dc2883d06b946a Mon Sep 17 00:00:00 2001 From: John Reilly Date: Thu, 23 Jan 2020 20:21:02 +0000 Subject: [PATCH 1/2] fix: license files now have .txt suffix by default --- README.md | 14 +- src/index.js | 3 +- ...tractComments-option.test.js.snap.webpack4 | 448 +++++++++--------- ...tractComments-option.test.js.snap.webpack5 | 448 +++++++++--------- ...terserOptions-option.test.js.snap.webpack4 | 4 +- ...terserOptions-option.test.js.snap.webpack5 | 4 +- test/extractComments-option.test.js | 6 +- 7 files changed, 464 insertions(+), 463 deletions(-) diff --git a/README.md b/README.md index db8feb97..25625672 100644 --- a/README.md +++ b/README.md @@ -395,7 +395,7 @@ Default: `true` Whether comments shall be extracted to a separate file, (see [details](https://github.com/webpack/webpack/commit/71933e979e51c533b432658d5e37917f9e71595a)). By default extract only comments using `/^\**!|@preserve|@license|@cc_on/i` regexp condition and remove remaining comments. -If the original file is named `foo.js`, then the comments will be stored to `foo.js.LICENSE`. +If the original file is named `foo.js`, then the comments will be stored to `foo.js.LICENSE.txt`. The `terserOptions.output.comments` option specifies whether the comment will be preserved, i.e. it is possible to preserve some comments (e.g. annotations) while extracting others or even preserving comments that have been extracted. #### `Boolean` @@ -500,7 +500,7 @@ module.exports = { // A file can contain a query string (for example when you have `output.filename: '[name].js?[chunkhash]'`) // You must consider this // The "fileData" argument contains object with "filename", "basename", "query" - return file.replace(/\.(\w+)($|\?)/, '.$1.LICENSE$2'); + return file.replace(/\.(\w+)($|\?)/, '.$1.LICENSE.txt$2'); }, banner: (licenseFile) => { return `License information can be found in ${licenseFile}`; @@ -533,7 +533,7 @@ module.exports = { // A file can contain a query string (for example when you have `output.filename: '[name].js?[chunkhash]'`) // You must consider this - return file.replace(/\.(\w+)($|\?)/, '.$1.LICENSE$2'); + return file.replace(/\.(\w+)($|\?)/, '.$1.LICENSE.txt$2'); }, banner: (licenseFile) => { return `License information can be found in ${licenseFile}`; @@ -548,12 +548,12 @@ module.exports = { ##### `filename` Type: `String|Function<(string) -> String>` -Default: `[file].LICENSE[query]` +Default: `[file].LICENSE.txt[query]` Available placeholders: `[file]`, `[query]` and `[filebase]` (`[base]` for webpack 5). The file where the extracted comments will be stored. -Default is to append the suffix `.LICENSE` to the original filename. +Default is to append the suffix `.LICENSE.txt` to the original filename. **webpack.config.js** @@ -600,7 +600,7 @@ module.exports = { // A file can contain a query string (for example when you have `output.filename: '[name].js?[chunkhash]'`) // You must consider this - return file.replace(/\.(\w+)($|\?)/, '.$1.LICENSE$2'); + return file.replace(/\.(\w+)($|\?)/, '.$1.LICENSE.txt$2'); }, banner: (commentsFile) => { return `My custom banner about license information ${commentsFile}`; @@ -752,7 +752,7 @@ Please take a moment to read our contributing guidelines if you haven't yet done ## License -[MIT](./LICENSE) +[MIT](./LICENSE.txt) [npm]: https://img.shields.io/npm/v/terser-webpack-plugin.svg [npm-url]: https://npmjs.com/package/terser-webpack-plugin diff --git a/src/index.js b/src/index.js index 1c2309af..83ff5bc9 100644 --- a/src/index.js +++ b/src/index.js @@ -291,7 +291,8 @@ class TerserPlugin { if (this.options.extractComments) { commentsFilename = - this.options.extractComments.filename || '[file].LICENSE[query]'; + this.options.extractComments.filename || + '[file].LICENSE.txt[query]'; if (TerserPlugin.isWebpack4()) { // Todo remove this in next major release diff --git a/test/__snapshots__/extractComments-option.test.js.snap.webpack4 b/test/__snapshots__/extractComments-option.test.js.snap.webpack4 index 2a1efd9d..6ca66759 100644 --- a/test/__snapshots__/extractComments-option.test.js.snap.webpack4 +++ b/test/__snapshots__/extractComments-option.test.js.snap.webpack4 @@ -2,17 +2,17 @@ exports[`extractComments option should match snapshot and do not preserve and extract "all" comments: assets 1`] = ` Object { - "chunks/4.4.js": "/*! For license information please see 4.4.js.LICENSE */ + "chunks/4.4.js": "/*! For license information please see 4.4.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[4],{4:function(n,o){n.exports=Math.random()}}]);", - "chunks/4.4.js.LICENSE": "/***/ + "chunks/4.4.js.LICENSE.txt": "/***/ /*! Legal Comment */ /** @license Copyright 2112 Moon. **/ ", - "filename/four.js": "/*! For license information please see four.js.LICENSE */ + "filename/four.js": "/*! For license information please see four.js.LICENSE.txt */ !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&\\"object\\"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,\\"default\\",{enumerable:!0,value:e}),2&t&&\\"string\\"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,\\"a\\",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p=\\"\\",r(r.s=3)}({3:function(e,t){e.exports=Math.random()}});", - "filename/four.js.LICENSE": "/******/ + "filename/four.js.LICENSE.txt": "/******/ // webpackBootstrap @@ -65,9 +65,9 @@ Object { * @license MIT */ ", - "filename/one.js": "/*! For license information please see one.js.LICENSE */ + "filename/one.js": "/*! For license information please see one.js.LICENSE.txt */ !function(e){function t(t){for(var r,o,u=t[0],i=t[1],a=0,l=[];a{o.exports=Math.random()}}]);", - "chunks/627.627.js.LICENSE": "/***/ + "chunks/627.627.js.LICENSE.txt": "/***/ /*! Legal Comment */ /** @license Copyright 2112 Moon. **/ ", - "filename/four.js": "/*! For license information please see four.js.LICENSE */ + "filename/four.js": "/*! For license information please see four.js.LICENSE.txt */ (()=>{var r={712:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(712)})();", - "filename/four.js.LICENSE": "/******/ + "filename/four.js.LICENSE.txt": "/******/ // webpackBootstrap @@ -47,9 +47,9 @@ Object { // Return the exports of the module ", - "filename/one.js": "/*! For license information please see one.js.LICENSE */ + "filename/one.js": "/*! For license information please see one.js.LICENSE.txt */ (()=>{var e={900:(e,r,t)=>{t.e(627).then(t.t.bind(t,627,7)),e.exports=Math.random()}},r={};function t(o){if(r[o])return r[o].exports;var n=r[o]={exports:{}};return e[o](n,n.exports,t),n.exports}t.m=e,t.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if(4&r&&\\"object\\"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);t.r(o);var n={};if(2&r&&\\"object\\"==typeof e&&e)for(const r in e)n[r]=()=>e[r];return n.default=()=>e,t.d(o,n),o},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>\\"chunks/\\"+e+\\".\\"+e+\\".js\\",t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},t.p=\\"\\",(()=>{var e={255:0};t.f.j=(r,o)=>{var n=t.o(e,r)?e[r]:void 0;if(0!==n)if(n)o.push(n[2]);else{var a=new Promise((t,o)=>{n=e[r]=[t,o]});o.push(n[2]=a);var i,u=t.p+t.u(r),s=document.createElement(\\"script\\");s.charset=\\"utf-8\\",s.timeout=120,t.nc&&s.setAttribute(\\"nonce\\",t.nc),s.src=u;var p=new Error;i=o=>{i=()=>{},s.onerror=s.onload=null,clearTimeout(f);var a=(()=>{if(t.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n))return n[1]})();if(a){var u=o&&(\\"load\\"===o.type?\\"missing\\":o.type),c=o&&o.target&&o.target.src;p.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+u+\\": \\"+c+\\")\\",p.name=\\"ChunkLoadError\\",p.type=u,p.request=c,a(p)}};var f=setTimeout(()=>{i({type:\\"timeout\\",target:s})},12e4);s.onerror=s.onload=i,document.head.appendChild(s)}};var r=window.webpackJsonp=window.webpackJsonp||[],o=r.push.bind(r);r.push=function(r){for(var o,a,i=r[0],u=r[1],s=r[3],p=0,f=[];p{var r={787:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(787)})();", - "filename/three.js.LICENSE": "/******/ + "filename/three.js.LICENSE.txt": "/******/ // webpackBootstrap @@ -207,9 +207,9 @@ Object { // Return the exports of the module ", - "filename/two.js": "/*! For license information please see two.js.LICENSE */ + "filename/two.js": "/*! For license information please see two.js.LICENSE.txt */ (()=>{var r={353:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(353)})();", - "filename/two.js.LICENSE": "/******/ + "filename/two.js.LICENSE.txt": "/******/ // webpackBootstrap @@ -249,17 +249,17 @@ Object { exports[`extractComments option should match snapshot and do not preserve and extract "all" comments: assets 2`] = ` Object { - "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE */ + "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[627],{627:o=>{o.exports=Math.random()}}]);", - "chunks/627.627.js.LICENSE": "/***/ + "chunks/627.627.js.LICENSE.txt": "/***/ /*! Legal Comment */ /** @license Copyright 2112 Moon. **/ ", - "filename/four.js": "/*! For license information please see four.js.LICENSE */ + "filename/four.js": "/*! For license information please see four.js.LICENSE.txt */ (()=>{var r={712:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(712)})();", - "filename/four.js.LICENSE": "/******/ + "filename/four.js.LICENSE.txt": "/******/ // webpackBootstrap @@ -294,9 +294,9 @@ Object { // Return the exports of the module ", - "filename/one.js": "/*! For license information please see one.js.LICENSE */ + "filename/one.js": "/*! For license information please see one.js.LICENSE.txt */ (()=>{var e={900:(e,r,t)=>{t.e(627).then(t.t.bind(t,627,7)),e.exports=Math.random()}},r={};function t(o){if(r[o])return r[o].exports;var n=r[o]={exports:{}};return e[o](n,n.exports,t),n.exports}t.m=e,t.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if(4&r&&\\"object\\"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);t.r(o);var n={};if(2&r&&\\"object\\"==typeof e&&e)for(const r in e)n[r]=()=>e[r];return n.default=()=>e,t.d(o,n),o},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>\\"chunks/\\"+e+\\".\\"+e+\\".js\\",t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},t.p=\\"\\",(()=>{var e={255:0};t.f.j=(r,o)=>{var n=t.o(e,r)?e[r]:void 0;if(0!==n)if(n)o.push(n[2]);else{var a=new Promise((t,o)=>{n=e[r]=[t,o]});o.push(n[2]=a);var i,u=t.p+t.u(r),s=document.createElement(\\"script\\");s.charset=\\"utf-8\\",s.timeout=120,t.nc&&s.setAttribute(\\"nonce\\",t.nc),s.src=u;var p=new Error;i=o=>{i=()=>{},s.onerror=s.onload=null,clearTimeout(f);var a=(()=>{if(t.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n))return n[1]})();if(a){var u=o&&(\\"load\\"===o.type?\\"missing\\":o.type),c=o&&o.target&&o.target.src;p.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+u+\\": \\"+c+\\")\\",p.name=\\"ChunkLoadError\\",p.type=u,p.request=c,a(p)}};var f=setTimeout(()=>{i({type:\\"timeout\\",target:s})},12e4);s.onerror=s.onload=i,document.head.appendChild(s)}};var r=window.webpackJsonp=window.webpackJsonp||[],o=r.push.bind(r);r.push=function(r){for(var o,a,i=r[0],u=r[1],s=r[3],p=0,f=[];p{var r={787:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(787)})();", - "filename/three.js.LICENSE": "/******/ + "filename/three.js.LICENSE.txt": "/******/ // webpackBootstrap @@ -454,9 +454,9 @@ Object { // Return the exports of the module ", - "filename/two.js": "/*! For license information please see two.js.LICENSE */ + "filename/two.js": "/*! For license information please see two.js.LICENSE.txt */ (()=>{var r={353:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(353)})();", - "filename/two.js.LICENSE": "/******/ + "filename/two.js.LICENSE.txt": "/******/ // webpackBootstrap @@ -504,22 +504,22 @@ exports[`extractComments option should match snapshot and do not preserve and ex exports[`extractComments option should match snapshot and do not preserve and extract "some" comments: assets 1`] = ` Object { - "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE */ + "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[627],{627:o=>{o.exports=Math.random()}}]);", - "chunks/627.627.js.LICENSE": "/*! Legal Comment */ + "chunks/627.627.js.LICENSE.txt": "/*! Legal Comment */ /** @license Copyright 2112 Moon. **/ ", - "filename/four.js": "/*! For license information please see four.js.LICENSE */ + "filename/four.js": "/*! For license information please see four.js.LICENSE.txt */ (()=>{var r={712:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(712)})();", - "filename/four.js.LICENSE": "/** + "filename/four.js.LICENSE.txt": "/** * Duplicate comment in difference files. * @license MIT */ ", - "filename/one.js": "/*! For license information please see one.js.LICENSE */ + "filename/one.js": "/*! For license information please see one.js.LICENSE.txt */ (()=>{var e={900:(e,r,t)=>{t.e(627).then(t.t.bind(t,627,7)),e.exports=Math.random()}},r={};function t(o){if(r[o])return r[o].exports;var n=r[o]={exports:{}};return e[o](n,n.exports,t),n.exports}t.m=e,t.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if(4&r&&\\"object\\"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);t.r(o);var n={};if(2&r&&\\"object\\"==typeof e&&e)for(const r in e)n[r]=()=>e[r];return n.default=()=>e,t.d(o,n),o},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>\\"chunks/\\"+e+\\".\\"+e+\\".js\\",t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},t.p=\\"\\",(()=>{var e={255:0};t.f.j=(r,o)=>{var n=t.o(e,r)?e[r]:void 0;if(0!==n)if(n)o.push(n[2]);else{var a=new Promise((t,o)=>{n=e[r]=[t,o]});o.push(n[2]=a);var i,u=t.p+t.u(r),s=document.createElement(\\"script\\");s.charset=\\"utf-8\\",s.timeout=120,t.nc&&s.setAttribute(\\"nonce\\",t.nc),s.src=u;var p=new Error;i=o=>{i=()=>{},s.onerror=s.onload=null,clearTimeout(f);var a=(()=>{if(t.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n))return n[1]})();if(a){var u=o&&(\\"load\\"===o.type?\\"missing\\":o.type),c=o&&o.target&&o.target.src;p.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+u+\\": \\"+c+\\")\\",p.name=\\"ChunkLoadError\\",p.type=u,p.request=c,a(p)}};var f=setTimeout(()=>{i({type:\\"timeout\\",target:s})},12e4);s.onerror=s.onload=i,document.head.appendChild(s)}};var r=window.webpackJsonp=window.webpackJsonp||[],o=r.push.bind(r);r.push=function(r){for(var o,a,i=r[0],u=r[1],s=r[3],p=0,f=[];p{var r={787:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(787)})();", - "filename/three.js.LICENSE": "/** + "filename/three.js.LICENSE.txt": "/** * Duplicate comment in same file. * @license MIT */ @@ -547,9 +547,9 @@ Object { * @license MIT */ ", - "filename/two.js": "/*! For license information please see two.js.LICENSE */ + "filename/two.js": "/*! For license information please see two.js.LICENSE.txt */ (()=>{var r={353:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(353)})();", - "filename/two.js.LICENSE": "/** + "filename/two.js.LICENSE.txt": "/** * Information. * @license MIT */ @@ -577,22 +577,22 @@ exports[`extractComments option should match snapshot and do not preserve or ext exports[`extractComments option should match snapshot and extract "some" comments: assets 1`] = ` Object { - "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE */ + "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[627],{627:o=>{o.exports=Math.random()}}]);", - "chunks/627.627.js.LICENSE": "/*! Legal Comment */ + "chunks/627.627.js.LICENSE.txt": "/*! Legal Comment */ /** @license Copyright 2112 Moon. **/ ", - "filename/four.js": "/*! For license information please see four.js.LICENSE */ + "filename/four.js": "/*! For license information please see four.js.LICENSE.txt */ (()=>{var r={712:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(712)})();", - "filename/four.js.LICENSE": "/** + "filename/four.js.LICENSE.txt": "/** * Duplicate comment in difference files. * @license MIT */ ", - "filename/one.js": "/*! For license information please see one.js.LICENSE */ + "filename/one.js": "/*! For license information please see one.js.LICENSE.txt */ (()=>{var e={900:(e,r,t)=>{t.e(627).then(t.t.bind(t,627,7)),e.exports=Math.random()}},r={};function t(o){if(r[o])return r[o].exports;var n=r[o]={exports:{}};return e[o](n,n.exports,t),n.exports}t.m=e,t.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if(4&r&&\\"object\\"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);t.r(o);var n={};if(2&r&&\\"object\\"==typeof e&&e)for(const r in e)n[r]=()=>e[r];return n.default=()=>e,t.d(o,n),o},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>\\"chunks/\\"+e+\\".\\"+e+\\".js\\",t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},t.p=\\"\\",(()=>{var e={255:0};t.f.j=(r,o)=>{var n=t.o(e,r)?e[r]:void 0;if(0!==n)if(n)o.push(n[2]);else{var a=new Promise((t,o)=>{n=e[r]=[t,o]});o.push(n[2]=a);var i,u=t.p+t.u(r),s=document.createElement(\\"script\\");s.charset=\\"utf-8\\",s.timeout=120,t.nc&&s.setAttribute(\\"nonce\\",t.nc),s.src=u;var p=new Error;i=o=>{i=()=>{},s.onerror=s.onload=null,clearTimeout(f);var a=(()=>{if(t.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n))return n[1]})();if(a){var u=o&&(\\"load\\"===o.type?\\"missing\\":o.type),c=o&&o.target&&o.target.src;p.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+u+\\": \\"+c+\\")\\",p.name=\\"ChunkLoadError\\",p.type=u,p.request=c,a(p)}};var f=setTimeout(()=>{i({type:\\"timeout\\",target:s})},12e4);s.onerror=s.onload=i,document.head.appendChild(s)}};var r=window.webpackJsonp=window.webpackJsonp||[],o=r.push.bind(r);r.push=function(r){for(var o,a,i=r[0],u=r[1],s=r[3],p=0,f=[];p{var r={787:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(787)})();", - "filename/three.js.LICENSE": "/** + "filename/three.js.LICENSE.txt": "/** * Duplicate comment in same file. * @license MIT */ @@ -620,9 +620,9 @@ Object { * @license MIT */ ", - "filename/two.js": "/*! For license information please see two.js.LICENSE */ + "filename/two.js": "/*! For license information please see two.js.LICENSE.txt */ (()=>{var r={353:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(353)})();", - "filename/two.js.LICENSE": "/** + "filename/two.js.LICENSE.txt": "/** * Information. * @license MIT */ @@ -991,7 +991,7 @@ exports[`extractComments option should match snapshot and preserve "all" and do exports[`extractComments option should match snapshot and preserve "all" and extract "all" comments: assets 1`] = ` Object { - "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE */ + "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[627],{ /***/627: /***/o=>{ @@ -999,13 +999,13 @@ Object { /** @license Copyright 2112 Moon. **/ o.exports=Math.random(); /***/}}]);", - "chunks/627.627.js.LICENSE": "/***/ + "chunks/627.627.js.LICENSE.txt": "/***/ /*! Legal Comment */ /** @license Copyright 2112 Moon. **/ ", - "filename/four.js": "/*! For license information please see four.js.LICENSE */ + "filename/four.js": "/*! For license information please see four.js.LICENSE.txt */ /******/(()=>{// webpackBootstrap /******/var r={ /***/712: @@ -1047,7 +1047,7 @@ r.exports=Math.random(); /******/return r[o](n,n.exports,e),n.exports; /******/}(712)}) /******/();", - "filename/four.js.LICENSE": "/******/ + "filename/four.js.LICENSE.txt": "/******/ // webpackBootstrap @@ -1082,7 +1082,7 @@ r.exports=Math.random(); // Return the exports of the module ", - "filename/one.js": "/*! For license information please see one.js.LICENSE */ + "filename/one.js": "/*! For license information please see one.js.LICENSE.txt */ /******/(()=>{// webpackBootstrap /******/var e={ /***/900: @@ -1291,7 +1291,7 @@ e.exports=Math.random()} /******/ // This entry module is referenced by other modules so it can't be inlined /******/t(900)}) /******/();", - "filename/one.js.LICENSE": "/******/ + "filename/one.js.LICENSE.txt": "/******/ // webpackBootstrap @@ -1407,7 +1407,7 @@ e.exports=Math.random()} // This entry module is referenced by other modules so it can't be inlined ", - "filename/three.js": "/*! For license information please see three.js.LICENSE */ + "filename/three.js": "/*! For license information please see three.js.LICENSE.txt */ /******/(()=>{// webpackBootstrap /******/var r={ /***/787: @@ -1457,7 +1457,7 @@ r.exports=Math.random(); /******/return r[o](n,n.exports,e),n.exports; /******/}(787)}) /******/();", - "filename/three.js.LICENSE": "/******/ + "filename/three.js.LICENSE.txt": "/******/ // webpackBootstrap @@ -1497,7 +1497,7 @@ r.exports=Math.random(); // Return the exports of the module ", - "filename/two.js": "/*! For license information please see two.js.LICENSE */ + "filename/two.js": "/*! For license information please see two.js.LICENSE.txt */ /******/(()=>{// webpackBootstrap /******/var r={ /***/353: @@ -1539,7 +1539,7 @@ r.exports=Math.random(); /******/return r[o](n,n.exports,e),n.exports; /******/}(353)}) /******/();", - "filename/two.js.LICENSE": "/******/ + "filename/two.js.LICENSE.txt": "/******/ // webpackBootstrap @@ -1579,7 +1579,7 @@ r.exports=Math.random(); exports[`extractComments option should match snapshot and preserve "all" and extract "all" comments: assets 2`] = ` Object { - "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE */ + "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[627],{ /***/627: /***/o=>{ @@ -1587,13 +1587,13 @@ Object { /** @license Copyright 2112 Moon. **/ o.exports=Math.random(); /***/}}]);", - "chunks/627.627.js.LICENSE": "/***/ + "chunks/627.627.js.LICENSE.txt": "/***/ /*! Legal Comment */ /** @license Copyright 2112 Moon. **/ ", - "filename/four.js": "/*! For license information please see four.js.LICENSE */ + "filename/four.js": "/*! For license information please see four.js.LICENSE.txt */ /******/(()=>{// webpackBootstrap /******/var r={ /***/712: @@ -1635,7 +1635,7 @@ r.exports=Math.random(); /******/return r[o](n,n.exports,e),n.exports; /******/}(712)}) /******/();", - "filename/four.js.LICENSE": "/******/ + "filename/four.js.LICENSE.txt": "/******/ // webpackBootstrap @@ -1670,7 +1670,7 @@ r.exports=Math.random(); // Return the exports of the module ", - "filename/one.js": "/*! For license information please see one.js.LICENSE */ + "filename/one.js": "/*! For license information please see one.js.LICENSE.txt */ /******/(()=>{// webpackBootstrap /******/var e={ /***/900: @@ -1879,7 +1879,7 @@ e.exports=Math.random()} /******/ // This entry module is referenced by other modules so it can't be inlined /******/t(900)}) /******/();", - "filename/one.js.LICENSE": "/******/ + "filename/one.js.LICENSE.txt": "/******/ // webpackBootstrap @@ -1995,7 +1995,7 @@ e.exports=Math.random()} // This entry module is referenced by other modules so it can't be inlined ", - "filename/three.js": "/*! For license information please see three.js.LICENSE */ + "filename/three.js": "/*! For license information please see three.js.LICENSE.txt */ /******/(()=>{// webpackBootstrap /******/var r={ /***/787: @@ -2045,7 +2045,7 @@ r.exports=Math.random(); /******/return r[o](n,n.exports,e),n.exports; /******/}(787)}) /******/();", - "filename/three.js.LICENSE": "/******/ + "filename/three.js.LICENSE.txt": "/******/ // webpackBootstrap @@ -2085,7 +2085,7 @@ r.exports=Math.random(); // Return the exports of the module ", - "filename/two.js": "/*! For license information please see two.js.LICENSE */ + "filename/two.js": "/*! For license information please see two.js.LICENSE.txt */ /******/(()=>{// webpackBootstrap /******/var r={ /***/353: @@ -2127,7 +2127,7 @@ r.exports=Math.random(); /******/return r[o](n,n.exports,e),n.exports; /******/}(353)}) /******/();", - "filename/two.js.LICENSE": "/******/ + "filename/two.js.LICENSE.txt": "/******/ // webpackBootstrap @@ -2175,7 +2175,7 @@ exports[`extractComments option should match snapshot and preserve "all" and ext exports[`extractComments option should match snapshot and preserve "all" and extract "some" comments: assets 1`] = ` Object { - "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE */ + "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[627],{ /***/627: /***/o=>{ @@ -2183,11 +2183,11 @@ Object { /** @license Copyright 2112 Moon. **/ o.exports=Math.random(); /***/}}]);", - "chunks/627.627.js.LICENSE": "/*! Legal Comment */ + "chunks/627.627.js.LICENSE.txt": "/*! Legal Comment */ /** @license Copyright 2112 Moon. **/ ", - "filename/four.js": "/*! For license information please see four.js.LICENSE */ + "filename/four.js": "/*! For license information please see four.js.LICENSE.txt */ /******/(()=>{// webpackBootstrap /******/var r={ /***/712: @@ -2229,12 +2229,12 @@ r.exports=Math.random(); /******/return r[o](n,n.exports,e),n.exports; /******/}(712)}) /******/();", - "filename/four.js.LICENSE": "/** + "filename/four.js.LICENSE.txt": "/** * Duplicate comment in difference files. * @license MIT */ ", - "filename/one.js": "/*! For license information please see one.js.LICENSE */ + "filename/one.js": "/*! For license information please see one.js.LICENSE.txt */ /******/(()=>{// webpackBootstrap /******/var e={ /***/900: @@ -2443,7 +2443,7 @@ e.exports=Math.random()} /******/ // This entry module is referenced by other modules so it can't be inlined /******/t(900)}) /******/();", - "filename/one.js.LICENSE": "/*! Legal Comment */ + "filename/one.js.LICENSE.txt": "/*! Legal Comment */ /** * @preserve Copyright 2009 SomeThirdParty. @@ -2459,7 +2459,7 @@ e.exports=Math.random()} /*! Legal Foo */ ", - "filename/three.js": "/*! For license information please see three.js.LICENSE */ + "filename/three.js": "/*! For license information please see three.js.LICENSE.txt */ /******/(()=>{// webpackBootstrap /******/var r={ /***/787: @@ -2509,7 +2509,7 @@ r.exports=Math.random(); /******/return r[o](n,n.exports,e),n.exports; /******/}(787)}) /******/();", - "filename/three.js.LICENSE": "/** + "filename/three.js.LICENSE.txt": "/** * Duplicate comment in same file. * @license MIT */ @@ -2519,7 +2519,7 @@ r.exports=Math.random(); * @license MIT */ ", - "filename/two.js": "/*! For license information please see two.js.LICENSE */ + "filename/two.js": "/*! For license information please see two.js.LICENSE.txt */ /******/(()=>{// webpackBootstrap /******/var r={ /***/353: @@ -2561,7 +2561,7 @@ r.exports=Math.random(); /******/return r[o](n,n.exports,e),n.exports; /******/}(353)}) /******/();", - "filename/two.js.LICENSE": "/** + "filename/two.js.LICENSE.txt": "/** * Information. * @license MIT */ @@ -2571,7 +2571,7 @@ r.exports=Math.random(); exports[`extractComments option should match snapshot and preserve "all" and extract "some" comments: assets 2`] = ` Object { - "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE */ + "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[627],{ /***/627: /***/o=>{ @@ -2579,11 +2579,11 @@ Object { /** @license Copyright 2112 Moon. **/ o.exports=Math.random(); /***/}}]);", - "chunks/627.627.js.LICENSE": "/*! Legal Comment */ + "chunks/627.627.js.LICENSE.txt": "/*! Legal Comment */ /** @license Copyright 2112 Moon. **/ ", - "filename/four.js": "/*! For license information please see four.js.LICENSE */ + "filename/four.js": "/*! For license information please see four.js.LICENSE.txt */ /******/(()=>{// webpackBootstrap /******/var r={ /***/712: @@ -2625,12 +2625,12 @@ r.exports=Math.random(); /******/return r[o](n,n.exports,e),n.exports; /******/}(712)}) /******/();", - "filename/four.js.LICENSE": "/** + "filename/four.js.LICENSE.txt": "/** * Duplicate comment in difference files. * @license MIT */ ", - "filename/one.js": "/*! For license information please see one.js.LICENSE */ + "filename/one.js": "/*! For license information please see one.js.LICENSE.txt */ /******/(()=>{// webpackBootstrap /******/var e={ /***/900: @@ -2839,7 +2839,7 @@ e.exports=Math.random()} /******/ // This entry module is referenced by other modules so it can't be inlined /******/t(900)}) /******/();", - "filename/one.js.LICENSE": "/*! Legal Comment */ + "filename/one.js.LICENSE.txt": "/*! Legal Comment */ /** * @preserve Copyright 2009 SomeThirdParty. @@ -2855,7 +2855,7 @@ e.exports=Math.random()} /*! Legal Foo */ ", - "filename/three.js": "/*! For license information please see three.js.LICENSE */ + "filename/three.js": "/*! For license information please see three.js.LICENSE.txt */ /******/(()=>{// webpackBootstrap /******/var r={ /***/787: @@ -2905,7 +2905,7 @@ r.exports=Math.random(); /******/return r[o](n,n.exports,e),n.exports; /******/}(787)}) /******/();", - "filename/three.js.LICENSE": "/** + "filename/three.js.LICENSE.txt": "/** * Duplicate comment in same file. * @license MIT */ @@ -2915,7 +2915,7 @@ r.exports=Math.random(); * @license MIT */ ", - "filename/two.js": "/*! For license information please see two.js.LICENSE */ + "filename/two.js": "/*! For license information please see two.js.LICENSE.txt */ /******/(()=>{// webpackBootstrap /******/var r={ /***/353: @@ -2957,7 +2957,7 @@ r.exports=Math.random(); /******/return r[o](n,n.exports,e),n.exports; /******/}(353)}) /******/();", - "filename/two.js.LICENSE": "/** + "filename/two.js.LICENSE.txt": "/** * Information. * @license MIT */ @@ -2967,7 +2967,7 @@ r.exports=Math.random(); exports[`extractComments option should match snapshot and preserve "all" and extract "some" comments: assets 3`] = ` Object { - "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE */ + "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[627],{ /***/627: /***/o=>{ @@ -2975,11 +2975,11 @@ Object { /** @license Copyright 2112 Moon. **/ o.exports=Math.random(); /***/}}]);", - "chunks/627.627.js.LICENSE": "/*! Legal Comment */ + "chunks/627.627.js.LICENSE.txt": "/*! Legal Comment */ /** @license Copyright 2112 Moon. **/ ", - "filename/four.js": "/*! For license information please see four.js.LICENSE */ + "filename/four.js": "/*! For license information please see four.js.LICENSE.txt */ /******/(()=>{// webpackBootstrap /******/var r={ /***/712: @@ -3021,12 +3021,12 @@ r.exports=Math.random(); /******/return r[o](n,n.exports,e),n.exports; /******/}(712)}) /******/();", - "filename/four.js.LICENSE": "/** + "filename/four.js.LICENSE.txt": "/** * Duplicate comment in difference files. * @license MIT */ ", - "filename/one.js": "/*! For license information please see one.js.LICENSE */ + "filename/one.js": "/*! For license information please see one.js.LICENSE.txt */ /******/(()=>{// webpackBootstrap /******/var e={ /***/900: @@ -3235,7 +3235,7 @@ e.exports=Math.random()} /******/ // This entry module is referenced by other modules so it can't be inlined /******/t(900)}) /******/();", - "filename/one.js.LICENSE": "/*! Legal Comment */ + "filename/one.js.LICENSE.txt": "/*! Legal Comment */ /** * @preserve Copyright 2009 SomeThirdParty. @@ -3251,7 +3251,7 @@ e.exports=Math.random()} /*! Legal Foo */ ", - "filename/three.js": "/*! For license information please see three.js.LICENSE */ + "filename/three.js": "/*! For license information please see three.js.LICENSE.txt */ /******/(()=>{// webpackBootstrap /******/var r={ /***/787: @@ -3301,7 +3301,7 @@ r.exports=Math.random(); /******/return r[o](n,n.exports,e),n.exports; /******/}(787)}) /******/();", - "filename/three.js.LICENSE": "/** + "filename/three.js.LICENSE.txt": "/** * Duplicate comment in same file. * @license MIT */ @@ -3311,7 +3311,7 @@ r.exports=Math.random(); * @license MIT */ ", - "filename/two.js": "/*! For license information please see two.js.LICENSE */ + "filename/two.js": "/*! For license information please see two.js.LICENSE.txt */ /******/(()=>{// webpackBootstrap /******/var r={ /***/353: @@ -3353,7 +3353,7 @@ r.exports=Math.random(); /******/return r[o](n,n.exports,e),n.exports; /******/}(353)}) /******/();", - "filename/two.js.LICENSE": "/** + "filename/two.js.LICENSE.txt": "/** * Information. * @license MIT */ @@ -3801,17 +3801,17 @@ Array [ exports[`extractComments option should match snapshot for a "function" value: assets 1`] = ` Object { - "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE */ + "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[627],{627:o=>{o.exports=Math.random()}}]);", - "chunks/627.627.js.LICENSE": "/***/ + "chunks/627.627.js.LICENSE.txt": "/***/ /*! Legal Comment */ /** @license Copyright 2112 Moon. **/ ", - "filename/four.js": "/*! For license information please see four.js.LICENSE */ + "filename/four.js": "/*! For license information please see four.js.LICENSE.txt */ (()=>{var r={712:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(712)})();", - "filename/four.js.LICENSE": "/******/ + "filename/four.js.LICENSE.txt": "/******/ // webpackBootstrap @@ -3846,9 +3846,9 @@ Object { // Return the exports of the module ", - "filename/one.js": "/*! For license information please see one.js.LICENSE */ + "filename/one.js": "/*! For license information please see one.js.LICENSE.txt */ (()=>{var e={900:(e,r,t)=>{t.e(627).then(t.t.bind(t,627,7)),e.exports=Math.random()}},r={};function t(o){if(r[o])return r[o].exports;var n=r[o]={exports:{}};return e[o](n,n.exports,t),n.exports}t.m=e,t.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if(4&r&&\\"object\\"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);t.r(o);var n={};if(2&r&&\\"object\\"==typeof e&&e)for(const r in e)n[r]=()=>e[r];return n.default=()=>e,t.d(o,n),o},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>\\"chunks/\\"+e+\\".\\"+e+\\".js\\",t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},t.p=\\"\\",(()=>{var e={255:0};t.f.j=(r,o)=>{var n=t.o(e,r)?e[r]:void 0;if(0!==n)if(n)o.push(n[2]);else{var a=new Promise((t,o)=>{n=e[r]=[t,o]});o.push(n[2]=a);var i,u=t.p+t.u(r),s=document.createElement(\\"script\\");s.charset=\\"utf-8\\",s.timeout=120,t.nc&&s.setAttribute(\\"nonce\\",t.nc),s.src=u;var p=new Error;i=o=>{i=()=>{},s.onerror=s.onload=null,clearTimeout(f);var a=(()=>{if(t.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n))return n[1]})();if(a){var u=o&&(\\"load\\"===o.type?\\"missing\\":o.type),c=o&&o.target&&o.target.src;p.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+u+\\": \\"+c+\\")\\",p.name=\\"ChunkLoadError\\",p.type=u,p.request=c,a(p)}};var f=setTimeout(()=>{i({type:\\"timeout\\",target:s})},12e4);s.onerror=s.onload=i,document.head.appendChild(s)}};var r=window.webpackJsonp=window.webpackJsonp||[],o=r.push.bind(r);r.push=function(r){for(var o,a,i=r[0],u=r[1],s=r[3],p=0,f=[];p{var r={787:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(787)})();", - "filename/three.js.LICENSE": "/******/ + "filename/three.js.LICENSE.txt": "/******/ // webpackBootstrap @@ -4006,9 +4006,9 @@ Object { // Return the exports of the module ", - "filename/two.js": "/*! For license information please see two.js.LICENSE */ + "filename/two.js": "/*! For license information please see two.js.LICENSE.txt */ (()=>{var r={353:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(353)})();", - "filename/two.js.LICENSE": "/******/ + "filename/two.js.LICENSE.txt": "/******/ // webpackBootstrap @@ -4116,9 +4116,9 @@ exports[`extractComments option should match snapshot for the "/Foo/" value: ass Object { "chunks/627.627.js": "(window.webpackJsonp=window.webpackJsonp||[]).push([[627],{627:o=>{o.exports=Math.random()}}]);", "filename/four.js": "(()=>{var r={712:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(712)})();", - "filename/one.js": "/*! For license information please see one.js.LICENSE */ + "filename/one.js": "/*! For license information please see one.js.LICENSE.txt */ (()=>{var e={900:(e,r,t)=>{t.e(627).then(t.t.bind(t,627,7)),e.exports=Math.random()}},r={};function t(o){if(r[o])return r[o].exports;var n=r[o]={exports:{}};return e[o](n,n.exports,t),n.exports}t.m=e,t.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if(4&r&&\\"object\\"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);t.r(o);var n={};if(2&r&&\\"object\\"==typeof e&&e)for(const r in e)n[r]=()=>e[r];return n.default=()=>e,t.d(o,n),o},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>\\"chunks/\\"+e+\\".\\"+e+\\".js\\",t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},t.p=\\"\\",(()=>{var e={255:0};t.f.j=(r,o)=>{var n=t.o(e,r)?e[r]:void 0;if(0!==n)if(n)o.push(n[2]);else{var a=new Promise((t,o)=>{n=e[r]=[t,o]});o.push(n[2]=a);var i,u=t.p+t.u(r),s=document.createElement(\\"script\\");s.charset=\\"utf-8\\",s.timeout=120,t.nc&&s.setAttribute(\\"nonce\\",t.nc),s.src=u;var p=new Error;i=o=>{i=()=>{},s.onerror=s.onload=null,clearTimeout(f);var a=(()=>{if(t.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n))return n[1]})();if(a){var u=o&&(\\"load\\"===o.type?\\"missing\\":o.type),c=o&&o.target&&o.target.src;p.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+u+\\": \\"+c+\\")\\",p.name=\\"ChunkLoadError\\",p.type=u,p.request=c,a(p)}};var f=setTimeout(()=>{i({type:\\"timeout\\",target:s})},12e4);s.onerror=s.onload=i,document.head.appendChild(s)}};var r=window.webpackJsonp=window.webpackJsonp||[],o=r.push.bind(r);r.push=function(r){for(var o,a,i=r[0],u=r[1],s=r[3],p=0,f=[];p{o.exports=Math.random()}}]);", "filename/four.js": "(()=>{var r={712:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(712)})();", - "filename/one.js": "/*! For license information please see one.js.LICENSE */ + "filename/one.js": "/*! For license information please see one.js.LICENSE.txt */ (()=>{var e={900:(e,r,t)=>{t.e(627).then(t.t.bind(t,627,7)),e.exports=Math.random()}},r={};function t(o){if(r[o])return r[o].exports;var n=r[o]={exports:{}};return e[o](n,n.exports,t),n.exports}t.m=e,t.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if(4&r&&\\"object\\"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);t.r(o);var n={};if(2&r&&\\"object\\"==typeof e&&e)for(const r in e)n[r]=()=>e[r];return n.default=()=>e,t.d(o,n),o},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>\\"chunks/\\"+e+\\".\\"+e+\\".js\\",t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},t.p=\\"\\",(()=>{var e={255:0};t.f.j=(r,o)=>{var n=t.o(e,r)?e[r]:void 0;if(0!==n)if(n)o.push(n[2]);else{var a=new Promise((t,o)=>{n=e[r]=[t,o]});o.push(n[2]=a);var i,u=t.p+t.u(r),s=document.createElement(\\"script\\");s.charset=\\"utf-8\\",s.timeout=120,t.nc&&s.setAttribute(\\"nonce\\",t.nc),s.src=u;var p=new Error;i=o=>{i=()=>{},s.onerror=s.onload=null,clearTimeout(f);var a=(()=>{if(t.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n))return n[1]})();if(a){var u=o&&(\\"load\\"===o.type?\\"missing\\":o.type),c=o&&o.target&&o.target.src;p.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+u+\\": \\"+c+\\")\\",p.name=\\"ChunkLoadError\\",p.type=u,p.request=c,a(p)}};var f=setTimeout(()=>{i({type:\\"timeout\\",target:s})},12e4);s.onerror=s.onload=i,document.head.appendChild(s)}};var r=window.webpackJsonp=window.webpackJsonp||[],o=r.push.bind(r);r.push=function(r){for(var o,a,i=r[0],u=r[1],s=r[3],p=0,f=[];p{o.exports=Math.random()}}]);", - "chunks/627.627.js.LICENSE": "/***/ + "chunks/627.627.js.LICENSE.txt": "/***/ /*! Legal Comment */ /** @license Copyright 2112 Moon. **/ ", - "filename/four.js": "/*! For license information please see four.js.LICENSE */ + "filename/four.js": "/*! For license information please see four.js.LICENSE.txt */ (()=>{var r={712:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(712)})();", - "filename/four.js.LICENSE": "/******/ + "filename/four.js.LICENSE.txt": "/******/ // webpackBootstrap @@ -4213,9 +4213,9 @@ Object { // Return the exports of the module ", - "filename/one.js": "/*! For license information please see one.js.LICENSE */ + "filename/one.js": "/*! For license information please see one.js.LICENSE.txt */ (()=>{var e={900:(e,r,t)=>{t.e(627).then(t.t.bind(t,627,7)),e.exports=Math.random()}},r={};function t(o){if(r[o])return r[o].exports;var n=r[o]={exports:{}};return e[o](n,n.exports,t),n.exports}t.m=e,t.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if(4&r&&\\"object\\"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);t.r(o);var n={};if(2&r&&\\"object\\"==typeof e&&e)for(const r in e)n[r]=()=>e[r];return n.default=()=>e,t.d(o,n),o},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>\\"chunks/\\"+e+\\".\\"+e+\\".js\\",t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},t.p=\\"\\",(()=>{var e={255:0};t.f.j=(r,o)=>{var n=t.o(e,r)?e[r]:void 0;if(0!==n)if(n)o.push(n[2]);else{var a=new Promise((t,o)=>{n=e[r]=[t,o]});o.push(n[2]=a);var i,u=t.p+t.u(r),s=document.createElement(\\"script\\");s.charset=\\"utf-8\\",s.timeout=120,t.nc&&s.setAttribute(\\"nonce\\",t.nc),s.src=u;var p=new Error;i=o=>{i=()=>{},s.onerror=s.onload=null,clearTimeout(f);var a=(()=>{if(t.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n))return n[1]})();if(a){var u=o&&(\\"load\\"===o.type?\\"missing\\":o.type),c=o&&o.target&&o.target.src;p.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+u+\\": \\"+c+\\")\\",p.name=\\"ChunkLoadError\\",p.type=u,p.request=c,a(p)}};var f=setTimeout(()=>{i({type:\\"timeout\\",target:s})},12e4);s.onerror=s.onload=i,document.head.appendChild(s)}};var r=window.webpackJsonp=window.webpackJsonp||[],o=r.push.bind(r);r.push=function(r){for(var o,a,i=r[0],u=r[1],s=r[3],p=0,f=[];p{var r={787:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(787)})();", - "filename/three.js.LICENSE": "/******/ + "filename/three.js.LICENSE.txt": "/******/ // webpackBootstrap @@ -4373,9 +4373,9 @@ Object { // Return the exports of the module ", - "filename/two.js": "/*! For license information please see two.js.LICENSE */ + "filename/two.js": "/*! For license information please see two.js.LICENSE.txt */ (()=>{var r={353:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(353)})();", - "filename/two.js.LICENSE": "/******/ + "filename/two.js.LICENSE.txt": "/******/ // webpackBootstrap @@ -4419,22 +4419,22 @@ exports[`extractComments option should match snapshot for the "all" value: warni exports[`extractComments option should match snapshot for the "extractComments.condition" with the "true" value: assets 1`] = ` Object { - "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE */ + "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[627],{627:o=>{o.exports=Math.random()}}]);", - "chunks/627.627.js.LICENSE": "/*! Legal Comment */ + "chunks/627.627.js.LICENSE.txt": "/*! Legal Comment */ /** @license Copyright 2112 Moon. **/ ", - "filename/four.js": "/*! For license information please see four.js.LICENSE */ + "filename/four.js": "/*! For license information please see four.js.LICENSE.txt */ (()=>{var r={712:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(712)})();", - "filename/four.js.LICENSE": "/** + "filename/four.js.LICENSE.txt": "/** * Duplicate comment in difference files. * @license MIT */ ", - "filename/one.js": "/*! For license information please see one.js.LICENSE */ + "filename/one.js": "/*! For license information please see one.js.LICENSE.txt */ (()=>{var e={900:(e,r,t)=>{t.e(627).then(t.t.bind(t,627,7)),e.exports=Math.random()}},r={};function t(o){if(r[o])return r[o].exports;var n=r[o]={exports:{}};return e[o](n,n.exports,t),n.exports}t.m=e,t.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if(4&r&&\\"object\\"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);t.r(o);var n={};if(2&r&&\\"object\\"==typeof e&&e)for(const r in e)n[r]=()=>e[r];return n.default=()=>e,t.d(o,n),o},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>\\"chunks/\\"+e+\\".\\"+e+\\".js\\",t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},t.p=\\"\\",(()=>{var e={255:0};t.f.j=(r,o)=>{var n=t.o(e,r)?e[r]:void 0;if(0!==n)if(n)o.push(n[2]);else{var a=new Promise((t,o)=>{n=e[r]=[t,o]});o.push(n[2]=a);var i,u=t.p+t.u(r),s=document.createElement(\\"script\\");s.charset=\\"utf-8\\",s.timeout=120,t.nc&&s.setAttribute(\\"nonce\\",t.nc),s.src=u;var p=new Error;i=o=>{i=()=>{},s.onerror=s.onload=null,clearTimeout(f);var a=(()=>{if(t.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n))return n[1]})();if(a){var u=o&&(\\"load\\"===o.type?\\"missing\\":o.type),c=o&&o.target&&o.target.src;p.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+u+\\": \\"+c+\\")\\",p.name=\\"ChunkLoadError\\",p.type=u,p.request=c,a(p)}};var f=setTimeout(()=>{i({type:\\"timeout\\",target:s})},12e4);s.onerror=s.onload=i,document.head.appendChild(s)}};var r=window.webpackJsonp=window.webpackJsonp||[],o=r.push.bind(r);r.push=function(r){for(var o,a,i=r[0],u=r[1],s=r[3],p=0,f=[];p{var r={787:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(787)})();", - "filename/three.js.LICENSE": "/** + "filename/three.js.LICENSE.txt": "/** * Duplicate comment in same file. * @license MIT */ @@ -4462,9 +4462,9 @@ Object { * @license MIT */ ", - "filename/two.js": "/*! For license information please see two.js.LICENSE */ + "filename/two.js": "/*! For license information please see two.js.LICENSE.txt */ (()=>{var r={353:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(353)})();", - "filename/two.js.LICENSE": "/** + "filename/two.js.LICENSE.txt": "/** * Information. * @license MIT */ @@ -4531,22 +4531,22 @@ exports[`extractComments option should match snapshot for the "false" value: war exports[`extractComments option should match snapshot for the "some" value: assets 1`] = ` Object { - "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE */ + "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[627],{627:o=>{o.exports=Math.random()}}]);", - "chunks/627.627.js.LICENSE": "/*! Legal Comment */ + "chunks/627.627.js.LICENSE.txt": "/*! Legal Comment */ /** @license Copyright 2112 Moon. **/ ", - "filename/four.js": "/*! For license information please see four.js.LICENSE */ + "filename/four.js": "/*! For license information please see four.js.LICENSE.txt */ (()=>{var r={712:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(712)})();", - "filename/four.js.LICENSE": "/** + "filename/four.js.LICENSE.txt": "/** * Duplicate comment in difference files. * @license MIT */ ", - "filename/one.js": "/*! For license information please see one.js.LICENSE */ + "filename/one.js": "/*! For license information please see one.js.LICENSE.txt */ (()=>{var e={900:(e,r,t)=>{t.e(627).then(t.t.bind(t,627,7)),e.exports=Math.random()}},r={};function t(o){if(r[o])return r[o].exports;var n=r[o]={exports:{}};return e[o](n,n.exports,t),n.exports}t.m=e,t.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if(4&r&&\\"object\\"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);t.r(o);var n={};if(2&r&&\\"object\\"==typeof e&&e)for(const r in e)n[r]=()=>e[r];return n.default=()=>e,t.d(o,n),o},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>\\"chunks/\\"+e+\\".\\"+e+\\".js\\",t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},t.p=\\"\\",(()=>{var e={255:0};t.f.j=(r,o)=>{var n=t.o(e,r)?e[r]:void 0;if(0!==n)if(n)o.push(n[2]);else{var a=new Promise((t,o)=>{n=e[r]=[t,o]});o.push(n[2]=a);var i,u=t.p+t.u(r),s=document.createElement(\\"script\\");s.charset=\\"utf-8\\",s.timeout=120,t.nc&&s.setAttribute(\\"nonce\\",t.nc),s.src=u;var p=new Error;i=o=>{i=()=>{},s.onerror=s.onload=null,clearTimeout(f);var a=(()=>{if(t.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n))return n[1]})();if(a){var u=o&&(\\"load\\"===o.type?\\"missing\\":o.type),c=o&&o.target&&o.target.src;p.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+u+\\": \\"+c+\\")\\",p.name=\\"ChunkLoadError\\",p.type=u,p.request=c,a(p)}};var f=setTimeout(()=>{i({type:\\"timeout\\",target:s})},12e4);s.onerror=s.onload=i,document.head.appendChild(s)}};var r=window.webpackJsonp=window.webpackJsonp||[],o=r.push.bind(r);r.push=function(r){for(var o,a,i=r[0],u=r[1],s=r[3],p=0,f=[];p{var r={787:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(787)})();", - "filename/three.js.LICENSE": "/** + "filename/three.js.LICENSE.txt": "/** * Duplicate comment in same file. * @license MIT */ @@ -4574,9 +4574,9 @@ Object { * @license MIT */ ", - "filename/two.js": "/*! For license information please see two.js.LICENSE */ + "filename/two.js": "/*! For license information please see two.js.LICENSE.txt */ (()=>{var r={353:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(353)})();", - "filename/two.js.LICENSE": "/** + "filename/two.js.LICENSE.txt": "/** * Information. * @license MIT */ @@ -4590,22 +4590,22 @@ exports[`extractComments option should match snapshot for the "some" value: warn exports[`extractComments option should match snapshot for the "true" value: assets 1`] = ` Object { - "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE */ + "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[627],{627:o=>{o.exports=Math.random()}}]);", - "chunks/627.627.js.LICENSE": "/*! Legal Comment */ + "chunks/627.627.js.LICENSE.txt": "/*! Legal Comment */ /** @license Copyright 2112 Moon. **/ ", - "filename/four.js": "/*! For license information please see four.js.LICENSE */ + "filename/four.js": "/*! For license information please see four.js.LICENSE.txt */ (()=>{var r={712:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(712)})();", - "filename/four.js.LICENSE": "/** + "filename/four.js.LICENSE.txt": "/** * Duplicate comment in difference files. * @license MIT */ ", - "filename/one.js": "/*! For license information please see one.js.LICENSE */ + "filename/one.js": "/*! For license information please see one.js.LICENSE.txt */ (()=>{var e={900:(e,r,t)=>{t.e(627).then(t.t.bind(t,627,7)),e.exports=Math.random()}},r={};function t(o){if(r[o])return r[o].exports;var n=r[o]={exports:{}};return e[o](n,n.exports,t),n.exports}t.m=e,t.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if(4&r&&\\"object\\"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);t.r(o);var n={};if(2&r&&\\"object\\"==typeof e&&e)for(const r in e)n[r]=()=>e[r];return n.default=()=>e,t.d(o,n),o},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>\\"chunks/\\"+e+\\".\\"+e+\\".js\\",t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},t.p=\\"\\",(()=>{var e={255:0};t.f.j=(r,o)=>{var n=t.o(e,r)?e[r]:void 0;if(0!==n)if(n)o.push(n[2]);else{var a=new Promise((t,o)=>{n=e[r]=[t,o]});o.push(n[2]=a);var i,u=t.p+t.u(r),s=document.createElement(\\"script\\");s.charset=\\"utf-8\\",s.timeout=120,t.nc&&s.setAttribute(\\"nonce\\",t.nc),s.src=u;var p=new Error;i=o=>{i=()=>{},s.onerror=s.onload=null,clearTimeout(f);var a=(()=>{if(t.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n))return n[1]})();if(a){var u=o&&(\\"load\\"===o.type?\\"missing\\":o.type),c=o&&o.target&&o.target.src;p.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+u+\\": \\"+c+\\")\\",p.name=\\"ChunkLoadError\\",p.type=u,p.request=c,a(p)}};var f=setTimeout(()=>{i({type:\\"timeout\\",target:s})},12e4);s.onerror=s.onload=i,document.head.appendChild(s)}};var r=window.webpackJsonp=window.webpackJsonp||[],o=r.push.bind(r);r.push=function(r){for(var o,a,i=r[0],u=r[1],s=r[3],p=0,f=[];p{var r={787:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(787)})();", - "filename/three.js.LICENSE": "/** + "filename/three.js.LICENSE.txt": "/** * Duplicate comment in same file. * @license MIT */ @@ -4633,9 +4633,9 @@ Object { * @license MIT */ ", - "filename/two.js": "/*! For license information please see two.js.LICENSE */ + "filename/two.js": "/*! For license information please see two.js.LICENSE.txt */ (()=>{var r={353:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(353)})();", - "filename/two.js.LICENSE": "/** + "filename/two.js.LICENSE.txt": "/** * Information. * @license MIT */ @@ -4649,22 +4649,22 @@ exports[`extractComments option should match snapshot for the "true" value: warn exports[`extractComments option should match snapshot for the \`true\` value and dedupe duplicate comments: assets 1`] = ` Object { - "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE */ + "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[627],{627:o=>{o.exports=Math.random()}}]);", - "chunks/627.627.js.LICENSE": "/*! Legal Comment */ + "chunks/627.627.js.LICENSE.txt": "/*! Legal Comment */ /** @license Copyright 2112 Moon. **/ ", - "filename/four.js": "/*! For license information please see four.js.LICENSE */ + "filename/four.js": "/*! For license information please see four.js.LICENSE.txt */ (()=>{var r={712:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(712)})();", - "filename/four.js.LICENSE": "/** + "filename/four.js.LICENSE.txt": "/** * Duplicate comment in difference files. * @license MIT */ ", - "filename/one.js": "/*! For license information please see one.js.LICENSE */ + "filename/one.js": "/*! For license information please see one.js.LICENSE.txt */ (()=>{var e={900:(e,r,t)=>{t.e(627).then(t.t.bind(t,627,7)),e.exports=Math.random()}},r={};function t(o){if(r[o])return r[o].exports;var n=r[o]={exports:{}};return e[o](n,n.exports,t),n.exports}t.m=e,t.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if(4&r&&\\"object\\"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);t.r(o);var n={};if(2&r&&\\"object\\"==typeof e&&e)for(const r in e)n[r]=()=>e[r];return n.default=()=>e,t.d(o,n),o},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>\\"chunks/\\"+e+\\".\\"+e+\\".js\\",t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},t.p=\\"\\",(()=>{var e={255:0};t.f.j=(r,o)=>{var n=t.o(e,r)?e[r]:void 0;if(0!==n)if(n)o.push(n[2]);else{var a=new Promise((t,o)=>{n=e[r]=[t,o]});o.push(n[2]=a);var i,u=t.p+t.u(r),s=document.createElement(\\"script\\");s.charset=\\"utf-8\\",s.timeout=120,t.nc&&s.setAttribute(\\"nonce\\",t.nc),s.src=u;var p=new Error;i=o=>{i=()=>{},s.onerror=s.onload=null,clearTimeout(f);var a=(()=>{if(t.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n))return n[1]})();if(a){var u=o&&(\\"load\\"===o.type?\\"missing\\":o.type),c=o&&o.target&&o.target.src;p.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+u+\\": \\"+c+\\")\\",p.name=\\"ChunkLoadError\\",p.type=u,p.request=c,a(p)}};var f=setTimeout(()=>{i({type:\\"timeout\\",target:s})},12e4);s.onerror=s.onload=i,document.head.appendChild(s)}};var r=window.webpackJsonp=window.webpackJsonp||[],o=r.push.bind(r);r.push=function(r){for(var o,a,i=r[0],u=r[1],s=r[3],p=0,f=[];p{var r={787:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(787)})();", - "filename/three.js.LICENSE": "/** + "filename/three.js.LICENSE.txt": "/** * Duplicate comment in same file. * @license MIT */ @@ -4692,9 +4692,9 @@ Object { * @license MIT */ ", - "filename/two.js": "/*! For license information please see two.js.LICENSE */ + "filename/two.js": "/*! For license information please see two.js.LICENSE.txt */ (()=>{var r={353:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(353)})();", - "filename/two.js.LICENSE": "/** + "filename/two.js.LICENSE.txt": "/** * Information. * @license MIT */ @@ -4708,34 +4708,34 @@ exports[`extractComments option should match snapshot for the \`true\` value and exports[`extractComments option should match snapshot for the \`true\` value and preserve "@license" comments: assets 1`] = ` Object { - "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE */ + "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[627],{627:o=>{ /** @license Copyright 2112 Moon. **/ o.exports=Math.random()}}]);", - "chunks/627.627.js.LICENSE": "/*! Legal Comment */ + "chunks/627.627.js.LICENSE.txt": "/*! Legal Comment */ /** @license Copyright 2112 Moon. **/ ", - "filename/four.js": "/*! For license information please see four.js.LICENSE */ + "filename/four.js": "/*! For license information please see four.js.LICENSE.txt */ (()=>{var r={712:r=>{ /** * Duplicate comment in difference files. * @license MIT */ r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(712)})();", - "filename/four.js.LICENSE": "/** + "filename/four.js.LICENSE.txt": "/** * Duplicate comment in difference files. * @license MIT */ ", - "filename/one.js": "/*! For license information please see one.js.LICENSE */ + "filename/one.js": "/*! For license information please see one.js.LICENSE.txt */ (()=>{var e={900:(e,r,t)=>{t.e(627).then(t.t.bind(t,627,7)), /** * Utility functions for the foo package. * @license Apache-2.0 */ e.exports=Math.random()}},r={};function t(o){if(r[o])return r[o].exports;var n=r[o]={exports:{}};return e[o](n,n.exports,t),n.exports}t.m=e,t.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if(4&r&&\\"object\\"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);t.r(o);var n={};if(2&r&&\\"object\\"==typeof e&&e)for(const r in e)n[r]=()=>e[r];return n.default=()=>e,t.d(o,n),o},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>\\"chunks/\\"+e+\\".\\"+e+\\".js\\",t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},t.p=\\"\\",(()=>{var e={255:0};t.f.j=(r,o)=>{var n=t.o(e,r)?e[r]:void 0;if(0!==n)if(n)o.push(n[2]);else{var a=new Promise((t,o)=>{n=e[r]=[t,o]});o.push(n[2]=a);var i,u=t.p+t.u(r),s=document.createElement(\\"script\\");s.charset=\\"utf-8\\",s.timeout=120,t.nc&&s.setAttribute(\\"nonce\\",t.nc),s.src=u;var p=new Error;i=o=>{i=()=>{},s.onerror=s.onload=null,clearTimeout(f);var a=(()=>{if(t.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n))return n[1]})();if(a){var u=o&&(\\"load\\"===o.type?\\"missing\\":o.type),c=o&&o.target&&o.target.src;p.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+u+\\": \\"+c+\\")\\",p.name=\\"ChunkLoadError\\",p.type=u,p.request=c,a(p)}};var f=setTimeout(()=>{i({type:\\"timeout\\",target:s})},12e4);s.onerror=s.onload=i,document.head.appendChild(s)}};var r=window.webpackJsonp=window.webpackJsonp||[],o=r.push.bind(r);r.push=function(r){for(var o,a,i=r[0],u=r[1],s=r[3],p=0,f=[];p{var r={787:r=>{ /** * Duplicate comment in same file. @@ -4766,7 +4766,7 @@ e.exports=Math.random()}},r={};function t(o){if(r[o])return r[o].exports;var n=r * @license MIT */ r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(787)})();", - "filename/three.js.LICENSE": "/** + "filename/three.js.LICENSE.txt": "/** * Duplicate comment in same file. * @license MIT */ @@ -4776,14 +4776,14 @@ r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n= * @license MIT */ ", - "filename/two.js": "/*! For license information please see two.js.LICENSE */ + "filename/two.js": "/*! For license information please see two.js.LICENSE.txt */ (()=>{var r={353:r=>{ /** * Information. * @license MIT */ r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(353)})();", - "filename/two.js.LICENSE": "/** + "filename/two.js.LICENSE.txt": "/** * Information. * @license MIT */ @@ -4797,22 +4797,22 @@ exports[`extractComments option should match snapshot for the \`true\` value and exports[`extractComments option should match snapshot when a value is not specify: assets 1`] = ` Object { - "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE */ + "chunks/627.627.js": "/*! For license information please see 627.627.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[627],{627:o=>{o.exports=Math.random()}}]);", - "chunks/627.627.js.LICENSE": "/*! Legal Comment */ + "chunks/627.627.js.LICENSE.txt": "/*! Legal Comment */ /** @license Copyright 2112 Moon. **/ ", - "filename/four.js": "/*! For license information please see four.js.LICENSE */ + "filename/four.js": "/*! For license information please see four.js.LICENSE.txt */ (()=>{var r={712:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(712)})();", - "filename/four.js.LICENSE": "/** + "filename/four.js.LICENSE.txt": "/** * Duplicate comment in difference files. * @license MIT */ ", - "filename/one.js": "/*! For license information please see one.js.LICENSE */ + "filename/one.js": "/*! For license information please see one.js.LICENSE.txt */ (()=>{var e={900:(e,r,t)=>{t.e(627).then(t.t.bind(t,627,7)),e.exports=Math.random()}},r={};function t(o){if(r[o])return r[o].exports;var n=r[o]={exports:{}};return e[o](n,n.exports,t),n.exports}t.m=e,t.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if(4&r&&\\"object\\"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);t.r(o);var n={};if(2&r&&\\"object\\"==typeof e&&e)for(const r in e)n[r]=()=>e[r];return n.default=()=>e,t.d(o,n),o},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>\\"chunks/\\"+e+\\".\\"+e+\\".js\\",t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},t.p=\\"\\",(()=>{var e={255:0};t.f.j=(r,o)=>{var n=t.o(e,r)?e[r]:void 0;if(0!==n)if(n)o.push(n[2]);else{var a=new Promise((t,o)=>{n=e[r]=[t,o]});o.push(n[2]=a);var i,u=t.p+t.u(r),s=document.createElement(\\"script\\");s.charset=\\"utf-8\\",s.timeout=120,t.nc&&s.setAttribute(\\"nonce\\",t.nc),s.src=u;var p=new Error;i=o=>{i=()=>{},s.onerror=s.onload=null,clearTimeout(f);var a=(()=>{if(t.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n))return n[1]})();if(a){var u=o&&(\\"load\\"===o.type?\\"missing\\":o.type),c=o&&o.target&&o.target.src;p.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+u+\\": \\"+c+\\")\\",p.name=\\"ChunkLoadError\\",p.type=u,p.request=c,a(p)}};var f=setTimeout(()=>{i({type:\\"timeout\\",target:s})},12e4);s.onerror=s.onload=i,document.head.appendChild(s)}};var r=window.webpackJsonp=window.webpackJsonp||[],o=r.push.bind(r);r.push=function(r){for(var o,a,i=r[0],u=r[1],s=r[3],p=0,f=[];p{var r={787:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(787)})();", - "filename/three.js.LICENSE": "/** + "filename/three.js.LICENSE.txt": "/** * Duplicate comment in same file. * @license MIT */ @@ -4840,9 +4840,9 @@ Object { * @license MIT */ ", - "filename/two.js": "/*! For license information please see two.js.LICENSE */ + "filename/two.js": "/*! For license information please see two.js.LICENSE.txt */ (()=>{var r={353:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(353)})();", - "filename/two.js.LICENSE": "/** + "filename/two.js.LICENSE.txt": "/** * Information. * @license MIT */ @@ -4958,20 +4958,20 @@ exports[`extractComments option should match snapshot when extracts comments to exports[`extractComments option should match snapshot when extracts comments to files with query string and when filename is a function: assets 1`] = ` Object { - "chunks/627.627.js.LICENSE?40e841e929e40c595bc1": "/*! Legal Comment */ + "chunks/627.627.js.LICENSE.txt?40e841e929e40c595bc1": "/*! Legal Comment */ /** @license Copyright 2112 Moon. **/ ", - "chunks/627.627.js?40e841e929e40c595bc1": "/*! For license information please see 627.627.js.LICENSE?40e841e929e40c595bc1 */ + "chunks/627.627.js?40e841e929e40c595bc1": "/*! For license information please see 627.627.js.LICENSE.txt?40e841e929e40c595bc1 */ (window.webpackJsonp=window.webpackJsonp||[]).push([[627],{627:o=>{o.exports=Math.random()}}]);", - "filename/four.js.LICENSE?016682a3260bc4bb186e": "/** + "filename/four.js.LICENSE.txt?016682a3260bc4bb186e": "/** * Duplicate comment in difference files. * @license MIT */ ", - "filename/four.js?016682a3260bc4bb186e": "/*! For license information please see four.js.LICENSE?016682a3260bc4bb186e */ + "filename/four.js?016682a3260bc4bb186e": "/*! For license information please see four.js.LICENSE.txt?016682a3260bc4bb186e */ (()=>{var r={712:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(712)})();", - "filename/one.js.LICENSE?7ff3da0cbbdc09addc30": "/*! Legal Comment */ + "filename/one.js.LICENSE.txt?7ff3da0cbbdc09addc30": "/*! Legal Comment */ /** * @preserve Copyright 2009 SomeThirdParty. @@ -4987,9 +4987,9 @@ Object { /*! Legal Foo */ ", - "filename/one.js?7ff3da0cbbdc09addc30": "/*! For license information please see one.js.LICENSE?7ff3da0cbbdc09addc30 */ + "filename/one.js?7ff3da0cbbdc09addc30": "/*! For license information please see one.js.LICENSE.txt?7ff3da0cbbdc09addc30 */ (()=>{var e={900:(e,r,t)=>{t.e(627).then(t.t.bind(t,627,7)),e.exports=Math.random()}},r={};function t(o){if(r[o])return r[o].exports;var n=r[o]={exports:{}};return e[o](n,n.exports,t),n.exports}t.m=e,t.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if(4&r&&\\"object\\"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);t.r(o);var n={};if(2&r&&\\"object\\"==typeof e&&e)for(const r in e)n[r]=()=>e[r];return n.default=()=>e,t.d(o,n),o},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>\\"chunks/\\"+e+\\".\\"+e+\\".js?40e841e929e40c595bc1\\",t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},t.p=\\"\\",(()=>{var e={255:0};t.f.j=(r,o)=>{var n=t.o(e,r)?e[r]:void 0;if(0!==n)if(n)o.push(n[2]);else{var a=new Promise((t,o)=>{n=e[r]=[t,o]});o.push(n[2]=a);var i,u=t.p+t.u(r),s=document.createElement(\\"script\\");s.charset=\\"utf-8\\",s.timeout=120,t.nc&&s.setAttribute(\\"nonce\\",t.nc),s.src=u;var c=new Error;i=o=>{i=()=>{},s.onerror=s.onload=null,clearTimeout(p);var a=(()=>{if(t.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n))return n[1]})();if(a){var u=o&&(\\"load\\"===o.type?\\"missing\\":o.type),f=o&&o.target&&o.target.src;c.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+u+\\": \\"+f+\\")\\",c.name=\\"ChunkLoadError\\",c.type=u,c.request=f,a(c)}};var p=setTimeout(()=>{i({type:\\"timeout\\",target:s})},12e4);s.onerror=s.onload=i,document.head.appendChild(s)}};var r=window.webpackJsonp=window.webpackJsonp||[],o=r.push.bind(r);r.push=function(r){for(var o,a,i=r[0],u=r[1],s=r[3],c=0,p=[];c{var r={787:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(787)})();", - "filename/two.js.LICENSE?be4774dcae0b3cd0fcf4": "/** + "filename/two.js.LICENSE.txt?be4774dcae0b3cd0fcf4": "/** * Information. * @license MIT */ ", - "filename/two.js?be4774dcae0b3cd0fcf4": "/*! For license information please see two.js.LICENSE?be4774dcae0b3cd0fcf4 */ + "filename/two.js?be4774dcae0b3cd0fcf4": "/*! For license information please see two.js.LICENSE.txt?be4774dcae0b3cd0fcf4 */ (()=>{var r={353:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(353)})();", } `; @@ -5017,20 +5017,20 @@ exports[`extractComments option should match snapshot when extracts comments to exports[`extractComments option should match snapshot when extracts comments to files with query string and with placeholders: assets 1`] = ` Object { - "chunks/627.627.js.LICENSE?query=&filebase=627.627.js": "/*! Legal Comment */ + "chunks/627.627.js.LICENSE.txt?query=&filebase=627.627.js": "/*! Legal Comment */ /** @license Copyright 2112 Moon. **/ ", - "chunks/627.627.js?40e841e929e40c595bc1": "/*! License information can be found in chunks/627.627.js.LICENSE?query=&filebase=627.627.js */ + "chunks/627.627.js?40e841e929e40c595bc1": "/*! License information can be found in chunks/627.627.js.LICENSE.txt?query=&filebase=627.627.js */ (window.webpackJsonp=window.webpackJsonp||[]).push([[627],{627:o=>{o.exports=Math.random()}}]);", - "filename/four.js.LICENSE?query=&filebase=four.js": "/** + "filename/four.js.LICENSE.txt?query=&filebase=four.js": "/** * Duplicate comment in difference files. * @license MIT */ ", - "filename/four.js?016682a3260bc4bb186e": "/*! License information can be found in filename/four.js.LICENSE?query=&filebase=four.js */ + "filename/four.js?016682a3260bc4bb186e": "/*! License information can be found in filename/four.js.LICENSE.txt?query=&filebase=four.js */ (()=>{var r={712:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(712)})();", - "filename/one.js.LICENSE?query=&filebase=one.js": "/*! Legal Comment */ + "filename/one.js.LICENSE.txt?query=&filebase=one.js": "/*! Legal Comment */ /** * @preserve Copyright 2009 SomeThirdParty. @@ -5046,9 +5046,9 @@ Object { /*! Legal Foo */ ", - "filename/one.js?7ff3da0cbbdc09addc30": "/*! License information can be found in filename/one.js.LICENSE?query=&filebase=one.js */ + "filename/one.js?7ff3da0cbbdc09addc30": "/*! License information can be found in filename/one.js.LICENSE.txt?query=&filebase=one.js */ (()=>{var e={900:(e,r,t)=>{t.e(627).then(t.t.bind(t,627,7)),e.exports=Math.random()}},r={};function t(o){if(r[o])return r[o].exports;var n=r[o]={exports:{}};return e[o](n,n.exports,t),n.exports}t.m=e,t.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if(4&r&&\\"object\\"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);t.r(o);var n={};if(2&r&&\\"object\\"==typeof e&&e)for(const r in e)n[r]=()=>e[r];return n.default=()=>e,t.d(o,n),o},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>\\"chunks/\\"+e+\\".\\"+e+\\".js?40e841e929e40c595bc1\\",t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},t.p=\\"\\",(()=>{var e={255:0};t.f.j=(r,o)=>{var n=t.o(e,r)?e[r]:void 0;if(0!==n)if(n)o.push(n[2]);else{var a=new Promise((t,o)=>{n=e[r]=[t,o]});o.push(n[2]=a);var i,u=t.p+t.u(r),s=document.createElement(\\"script\\");s.charset=\\"utf-8\\",s.timeout=120,t.nc&&s.setAttribute(\\"nonce\\",t.nc),s.src=u;var c=new Error;i=o=>{i=()=>{},s.onerror=s.onload=null,clearTimeout(p);var a=(()=>{if(t.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n))return n[1]})();if(a){var u=o&&(\\"load\\"===o.type?\\"missing\\":o.type),f=o&&o.target&&o.target.src;c.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+u+\\": \\"+f+\\")\\",c.name=\\"ChunkLoadError\\",c.type=u,c.request=f,a(c)}};var p=setTimeout(()=>{i({type:\\"timeout\\",target:s})},12e4);s.onerror=s.onload=i,document.head.appendChild(s)}};var r=window.webpackJsonp=window.webpackJsonp||[],o=r.push.bind(r);r.push=function(r){for(var o,a,i=r[0],u=r[1],s=r[3],c=0,p=[];c{var r={787:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(787)})();", - "filename/two.js.LICENSE?query=&filebase=two.js": "/** + "filename/two.js.LICENSE.txt?query=&filebase=two.js": "/** * Information. * @license MIT */ ", - "filename/two.js?be4774dcae0b3cd0fcf4": "/*! License information can be found in filename/two.js.LICENSE?query=&filebase=two.js */ + "filename/two.js?be4774dcae0b3cd0fcf4": "/*! License information can be found in filename/two.js.LICENSE.txt?query=&filebase=two.js */ (()=>{var r={353:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(353)})();", } `; @@ -5076,20 +5076,20 @@ exports[`extractComments option should match snapshot when extracts comments to exports[`extractComments option should match snapshot when extracts comments to files with query string: assets 1`] = ` Object { - "chunks/627.627.js.LICENSE": "/*! Legal Comment */ + "chunks/627.627.js.LICENSE.txt": "/*! Legal Comment */ /** @license Copyright 2112 Moon. **/ ", - "chunks/627.627.js?40e841e929e40c595bc1": "/*! For license information please see 627.627.js.LICENSE */ + "chunks/627.627.js?40e841e929e40c595bc1": "/*! For license information please see 627.627.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[627],{627:o=>{o.exports=Math.random()}}]);", - "filename/four.js.LICENSE": "/** + "filename/four.js.LICENSE.txt": "/** * Duplicate comment in difference files. * @license MIT */ ", - "filename/four.js?016682a3260bc4bb186e": "/*! For license information please see four.js.LICENSE */ + "filename/four.js?016682a3260bc4bb186e": "/*! For license information please see four.js.LICENSE.txt */ (()=>{var r={712:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(712)})();", - "filename/one.js.LICENSE": "/*! Legal Comment */ + "filename/one.js.LICENSE.txt": "/*! Legal Comment */ /** * @preserve Copyright 2009 SomeThirdParty. @@ -5105,9 +5105,9 @@ Object { /*! Legal Foo */ ", - "filename/one.js?7ff3da0cbbdc09addc30": "/*! For license information please see one.js.LICENSE */ + "filename/one.js?7ff3da0cbbdc09addc30": "/*! For license information please see one.js.LICENSE.txt */ (()=>{var e={900:(e,r,t)=>{t.e(627).then(t.t.bind(t,627,7)),e.exports=Math.random()}},r={};function t(o){if(r[o])return r[o].exports;var n=r[o]={exports:{}};return e[o](n,n.exports,t),n.exports}t.m=e,t.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if(4&r&&\\"object\\"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);t.r(o);var n={};if(2&r&&\\"object\\"==typeof e&&e)for(const r in e)n[r]=()=>e[r];return n.default=()=>e,t.d(o,n),o},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>\\"chunks/\\"+e+\\".\\"+e+\\".js?40e841e929e40c595bc1\\",t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},t.p=\\"\\",(()=>{var e={255:0};t.f.j=(r,o)=>{var n=t.o(e,r)?e[r]:void 0;if(0!==n)if(n)o.push(n[2]);else{var a=new Promise((t,o)=>{n=e[r]=[t,o]});o.push(n[2]=a);var i,u=t.p+t.u(r),s=document.createElement(\\"script\\");s.charset=\\"utf-8\\",s.timeout=120,t.nc&&s.setAttribute(\\"nonce\\",t.nc),s.src=u;var c=new Error;i=o=>{i=()=>{},s.onerror=s.onload=null,clearTimeout(p);var a=(()=>{if(t.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n))return n[1]})();if(a){var u=o&&(\\"load\\"===o.type?\\"missing\\":o.type),f=o&&o.target&&o.target.src;c.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+u+\\": \\"+f+\\")\\",c.name=\\"ChunkLoadError\\",c.type=u,c.request=f,a(c)}};var p=setTimeout(()=>{i({type:\\"timeout\\",target:s})},12e4);s.onerror=s.onload=i,document.head.appendChild(s)}};var r=window.webpackJsonp=window.webpackJsonp||[],o=r.push.bind(r);r.push=function(r){for(var o,a,i=r[0],u=r[1],s=r[3],c=0,p=[];c{var r={787:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(787)})();", - "filename/two.js.LICENSE": "/** + "filename/two.js.LICENSE.txt": "/** * Information. * @license MIT */ ", - "filename/two.js?be4774dcae0b3cd0fcf4": "/*! For license information please see two.js.LICENSE */ + "filename/two.js?be4774dcae0b3cd0fcf4": "/*! For license information please see two.js.LICENSE.txt */ (()=>{var r={353:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(353)})();", } `; @@ -5135,22 +5135,22 @@ exports[`extractComments option should match snapshot when extracts comments to exports[`extractComments option should match snapshot when extracts comments to multiple files: assets 1`] = ` Object { - "chunks/627.627.js": "/*! License information can be found in chunks/627.627.js.LICENSE */ + "chunks/627.627.js": "/*! License information can be found in chunks/627.627.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[627],{627:o=>{o.exports=Math.random()}}]);", - "chunks/627.627.js.LICENSE": "/*! Legal Comment */ + "chunks/627.627.js.LICENSE.txt": "/*! Legal Comment */ /** @license Copyright 2112 Moon. **/ ", - "filename/four.js": "/*! License information can be found in filename/four.js.LICENSE */ + "filename/four.js": "/*! License information can be found in filename/four.js.LICENSE.txt */ (()=>{var r={712:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(712)})();", - "filename/four.js.LICENSE": "/** + "filename/four.js.LICENSE.txt": "/** * Duplicate comment in difference files. * @license MIT */ ", - "filename/one.js": "/*! License information can be found in filename/one.js.LICENSE */ + "filename/one.js": "/*! License information can be found in filename/one.js.LICENSE.txt */ (()=>{var e={900:(e,r,t)=>{t.e(627).then(t.t.bind(t,627,7)),e.exports=Math.random()}},r={};function t(o){if(r[o])return r[o].exports;var n=r[o]={exports:{}};return e[o](n,n.exports,t),n.exports}t.m=e,t.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if(4&r&&\\"object\\"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);t.r(o);var n={};if(2&r&&\\"object\\"==typeof e&&e)for(const r in e)n[r]=()=>e[r];return n.default=()=>e,t.d(o,n),o},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>\\"chunks/\\"+e+\\".\\"+e+\\".js\\",t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},t.p=\\"\\",(()=>{var e={255:0};t.f.j=(r,o)=>{var n=t.o(e,r)?e[r]:void 0;if(0!==n)if(n)o.push(n[2]);else{var a=new Promise((t,o)=>{n=e[r]=[t,o]});o.push(n[2]=a);var i,u=t.p+t.u(r),s=document.createElement(\\"script\\");s.charset=\\"utf-8\\",s.timeout=120,t.nc&&s.setAttribute(\\"nonce\\",t.nc),s.src=u;var p=new Error;i=o=>{i=()=>{},s.onerror=s.onload=null,clearTimeout(f);var a=(()=>{if(t.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n))return n[1]})();if(a){var u=o&&(\\"load\\"===o.type?\\"missing\\":o.type),c=o&&o.target&&o.target.src;p.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+u+\\": \\"+c+\\")\\",p.name=\\"ChunkLoadError\\",p.type=u,p.request=c,a(p)}};var f=setTimeout(()=>{i({type:\\"timeout\\",target:s})},12e4);s.onerror=s.onload=i,document.head.appendChild(s)}};var r=window.webpackJsonp=window.webpackJsonp||[],o=r.push.bind(r);r.push=function(r){for(var o,a,i=r[0],u=r[1],s=r[3],p=0,f=[];p{var r={787:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(787)})();", - "filename/three.js.LICENSE": "/** + "filename/three.js.LICENSE.txt": "/** * Duplicate comment in same file. * @license MIT */ @@ -5178,9 +5178,9 @@ Object { * @license MIT */ ", - "filename/two.js": "/*! License information can be found in filename/two.js.LICENSE */ + "filename/two.js": "/*! License information can be found in filename/two.js.LICENSE.txt */ (()=>{var r={353:r=>{r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(353)})();", - "filename/two.js.LICENSE": "/** + "filename/two.js.LICENSE.txt": "/** * Information. * @license MIT */ @@ -5245,34 +5245,34 @@ exports[`extractComments option should match snapshot when extracts without cond exports[`extractComments option should match snapshot when no condition, preserve only \`/@license/i\` comments and extract "some" comments: assets 1`] = ` Object { - "chunks/627.627.js": "/*! License information can be found in chunks/627.627.js.LICENSE */ + "chunks/627.627.js": "/*! License information can be found in chunks/627.627.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[627],{627:o=>{ /** @license Copyright 2112 Moon. **/ o.exports=Math.random()}}]);", - "chunks/627.627.js.LICENSE": "/*! Legal Comment */ + "chunks/627.627.js.LICENSE.txt": "/*! Legal Comment */ /** @license Copyright 2112 Moon. **/ ", - "filename/four.js": "/*! License information can be found in filename/four.js.LICENSE */ + "filename/four.js": "/*! License information can be found in filename/four.js.LICENSE.txt */ (()=>{var r={712:r=>{ /** * Duplicate comment in difference files. * @license MIT */ r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(712)})();", - "filename/four.js.LICENSE": "/** + "filename/four.js.LICENSE.txt": "/** * Duplicate comment in difference files. * @license MIT */ ", - "filename/one.js": "/*! License information can be found in filename/one.js.LICENSE */ + "filename/one.js": "/*! License information can be found in filename/one.js.LICENSE.txt */ (()=>{var e={900:(e,r,t)=>{t.e(627).then(t.t.bind(t,627,7)), /** * Utility functions for the foo package. * @license Apache-2.0 */ e.exports=Math.random()}},r={};function t(o){if(r[o])return r[o].exports;var n=r[o]={exports:{}};return e[o](n,n.exports,t),n.exports}t.m=e,t.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if(4&r&&\\"object\\"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);t.r(o);var n={};if(2&r&&\\"object\\"==typeof e&&e)for(const r in e)n[r]=()=>e[r];return n.default=()=>e,t.d(o,n),o},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>\\"chunks/\\"+e+\\".\\"+e+\\".js\\",t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},t.p=\\"\\",(()=>{var e={255:0};t.f.j=(r,o)=>{var n=t.o(e,r)?e[r]:void 0;if(0!==n)if(n)o.push(n[2]);else{var a=new Promise((t,o)=>{n=e[r]=[t,o]});o.push(n[2]=a);var i,u=t.p+t.u(r),s=document.createElement(\\"script\\");s.charset=\\"utf-8\\",s.timeout=120,t.nc&&s.setAttribute(\\"nonce\\",t.nc),s.src=u;var p=new Error;i=o=>{i=()=>{},s.onerror=s.onload=null,clearTimeout(f);var a=(()=>{if(t.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n))return n[1]})();if(a){var u=o&&(\\"load\\"===o.type?\\"missing\\":o.type),c=o&&o.target&&o.target.src;p.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+u+\\": \\"+c+\\")\\",p.name=\\"ChunkLoadError\\",p.type=u,p.request=c,a(p)}};var f=setTimeout(()=>{i({type:\\"timeout\\",target:s})},12e4);s.onerror=s.onload=i,document.head.appendChild(s)}};var r=window.webpackJsonp=window.webpackJsonp||[],o=r.push.bind(r);r.push=function(r){for(var o,a,i=r[0],u=r[1],s=r[3],p=0,f=[];p{var r={787:r=>{ /** * Duplicate comment in same file. @@ -5303,7 +5303,7 @@ e.exports=Math.random()}},r={};function t(o){if(r[o])return r[o].exports;var n=r * @license MIT */ r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(787)})();", - "filename/three.js.LICENSE": "/** + "filename/three.js.LICENSE.txt": "/** * Duplicate comment in same file. * @license MIT */ @@ -5313,14 +5313,14 @@ r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n= * @license MIT */ ", - "filename/two.js": "/*! License information can be found in filename/two.js.LICENSE */ + "filename/two.js": "/*! License information can be found in filename/two.js.LICENSE.txt */ (()=>{var r={353:r=>{ /** * Information. * @license MIT */ r.exports=Math.random()}},t={};!function e(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return r[o](n,n.exports,e),n.exports}(353)})();", - "filename/two.js.LICENSE": "/** + "filename/two.js.LICENSE.txt": "/** * Information. * @license MIT */ diff --git a/test/__snapshots__/terserOptions-option.test.js.snap.webpack4 b/test/__snapshots__/terserOptions-option.test.js.snap.webpack4 index 84b0edb9..1db27f2c 100644 --- a/test/__snapshots__/terserOptions-option.test.js.snap.webpack4 +++ b/test/__snapshots__/terserOptions-option.test.js.snap.webpack4 @@ -12,9 +12,9 @@ exports[`terserOptions option should match snapshot for the "compress" option wi exports[`terserOptions option should match snapshot for the "compress" option with the "false" value: assets 1`] = ` Object { - "main.js": "/*! For license information please see main.js.LICENSE */ + "main.js": "/*! For license information please see main.js.LICENSE.txt */ (function(e){var t={};function r(n){if(t[n]){return t[n].exports}var o=t[n]={i:n,l:false,exports:{}};e[n].call(o.exports,o,o.exports,r);o.l=true;return o.exports}r.m=e;r.c=t;r.d=function(e,t,n){if(!r.o(e,t)){Object.defineProperty(e,t,{enumerable:true,get:n})}};r.r=function(e){if(typeof Symbol!==\\"undefined\\"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"})}Object.defineProperty(e,\\"__esModule\\",{value:true})};r.t=function(e,t){if(t&1)e=r(e);if(t&8)return e;if(t&4&&typeof e===\\"object\\"&&e&&e.__esModule)return e;var n=Object.create(null);r.r(n);Object.defineProperty(n,\\"default\\",{enumerable:true,value:e});if(t&2&&typeof e!=\\"string\\")for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n};r.n=function(e){var t=e&&e.__esModule?function t(){return e[\\"default\\"]}:function t(){return e};r.d(t,\\"a\\",t);return t};r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};r.p=\\"\\";return r(r.s=0)})([function(e,t){const r=2+2;e.exports=function e(){const t=2+2;console.log(t+1+2)}}]);", - "main.js.LICENSE": "/* @preserve*/ + "main.js.LICENSE.txt": "/* @preserve*/ ", } `; diff --git a/test/__snapshots__/terserOptions-option.test.js.snap.webpack5 b/test/__snapshots__/terserOptions-option.test.js.snap.webpack5 index 9b81ccf7..b12e542c 100644 --- a/test/__snapshots__/terserOptions-option.test.js.snap.webpack5 +++ b/test/__snapshots__/terserOptions-option.test.js.snap.webpack5 @@ -12,9 +12,9 @@ exports[`terserOptions option should match snapshot for the "compress" option wi exports[`terserOptions option should match snapshot for the "compress" option with the "false" value: assets 1`] = ` Object { - "main.js": "/*! For license information please see main.js.LICENSE */ + "main.js": "/*! For license information please see main.js.LICENSE.txt */ (()=>{var o={791:o=>{const r=2+2;o.exports=function o(){const r=2+2;console.log(r+1+2)}}};var r={};function t(n){if(r[n]){return r[n].exports}var e=r[n]={exports:{}};o[n](e,e.exports,t);return e.exports}t(791)})();", - "main.js.LICENSE": "/* @preserve*/ + "main.js.LICENSE.txt": "/* @preserve*/ ", } `; diff --git a/test/extractComments-option.test.js b/test/extractComments-option.test.js index 0a8c6695..ce28a346 100644 --- a/test/extractComments-option.test.js +++ b/test/extractComments-option.test.js @@ -17,14 +17,14 @@ function createFilenameFn() { // A file can contain a query string (for example when you have `output.filename: '[name].js?[chunkhash]'`) // You must consider this - return file.replace(/\.(\w+)($|\?)/, '.$1.LICENSE$2'); + return file.replace(/\.(\w+)($|\?)/, '.$1.LICENSE.txt$2'); } : (fileData) => { expect(fileData).toBeDefined(); // A file can contain a query string (for example when you have `output.filename: '[name].js?[chunkhash]'`) // You must consider this - return `${fileData.filename}.LICENSE${fileData.query}`; + return `${fileData.filename}.LICENSE.txt${fileData.query}`; }; } @@ -309,7 +309,7 @@ describe('extractComments option', () => { new TerserPlugin({ extractComments: { condition: true, - filename: `[file].LICENSE?query=[query]&filebase=[${ + filename: `[file].LICENSE.txt?query=[query]&filebase=[${ getCompiler.isWebpack4() ? 'filebase' : 'base' }]`, banner(licenseFile) { From c180b416111473cf858bbc4a6702efb2467a0ea5 Mon Sep 17 00:00:00 2001 From: John Reilly Date: Fri, 24 Jan 2020 06:03:34 +0000 Subject: [PATCH 2/2] Update README.md Co-Authored-By: Tobias Koppers --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 25625672..191f0f18 100644 --- a/README.md +++ b/README.md @@ -752,7 +752,7 @@ Please take a moment to read our contributing guidelines if you haven't yet done ## License -[MIT](./LICENSE.txt) +[MIT](./LICENSE) [npm]: https://img.shields.io/npm/v/terser-webpack-plugin.svg [npm-url]: https://npmjs.com/package/terser-webpack-plugin