diff --git a/packages/next/build/webpack/require-hook.ts b/packages/next/build/webpack/require-hook.ts index 91618d4bfb..ca57a0ca0a 100644 --- a/packages/next/build/webpack/require-hook.ts +++ b/packages/next/build/webpack/require-hook.ts @@ -43,6 +43,7 @@ const hookPropertyMap = new Map( ], ['webpack/lib/GraphHelpers', 'next/dist/compiled/webpack/GraphHelpers'], ['webpack/lib/GraphHelpers.js', 'next/dist/compiled/webpack/GraphHelpers'], + ['webpack/lib/NormalModule', 'next/dist/compiled/webpack/NormalModule'], ['webpack-sources', 'next/dist/compiled/webpack/sources'], ['webpack-sources/lib', 'next/dist/compiled/webpack/sources'], ['webpack-sources/lib/index', 'next/dist/compiled/webpack/sources'], diff --git a/packages/next/compiled/mini-css-extract-plugin/index.js b/packages/next/compiled/mini-css-extract-plugin/index.js index 25107f6cc7..1699ff0dd3 100644 --- a/packages/next/compiled/mini-css-extract-plugin/index.js +++ b/packages/next/compiled/mini-css-extract-plugin/index.js @@ -1 +1 @@ -module.exports=(()=>{var e={798:e=>{"use strict";e.exports=JSON.parse('{"type":"object","additionalProperties":false,"properties":{"filename":{"anyOf":[{"type":"string"},{"instanceof":"Function"}]},"chunkFilename":{"anyOf":[{"type":"string"},{"instanceof":"Function"}]},"experimentalUseImportModule":{"description":"Enable the experimental importModule approach instead of using child compilers. This uses less memory and is faster.","type":"boolean"},"ignoreOrder":{"type":"boolean"},"insert":{"description":"Inserts `` at the given position (https://github.com/webpack-contrib/mini-css-extract-plugin#insert).","anyOf":[{"type":"string"},{"instanceof":"Function"}]},"attributes":{"description":"Adds custom attributes to tag (https://github.com/webpack-contrib/mini-css-extract-plugin#attributes).","type":"object"},"linkType":{"anyOf":[{"enum":["text/css"]},{"type":"boolean"}]}}}')},736:e=>{"use strict";class LoadingLoaderError extends Error{constructor(e){super(e);this.name="LoaderRunnerError";Error.captureStackTrace(this,this.constructor)}}e.exports=LoadingLoaderError},278:(e,t,n)=>{var r=n(747);var s=r.readFile.bind(r);var i=n(384);function utf8BufferToString(e){var t=e.toString("utf-8");if(t.charCodeAt(0)===65279){return t.substr(1)}else{return t}}function splitQuery(e){var t=e.indexOf("?");if(t<0)return[e,""];return[e.substr(0,t),e.substr(t)]}function dirname(e){if(e==="/")return"/";var t=e.lastIndexOf("/");var n=e.lastIndexOf("\\");var r=e.indexOf("/");var s=e.indexOf("\\");var i=t>n?t:n;var o=t>n?r:s;if(i<0)return e;if(i===o)return e.substr(0,i+1);return e.substr(0,i)}function createLoaderObject(e){var t={path:null,query:null,options:null,ident:null,normal:null,pitch:null,raw:null,data:null,pitchExecuted:false,normalExecuted:false};Object.defineProperty(t,"request",{enumerable:true,get:function(){return t.path+t.query},set:function(e){if(typeof e==="string"){var n=splitQuery(e);t.path=n[0];t.query=n[1];t.options=undefined;t.ident=undefined}else{if(!e.loader)throw new Error("request should be a string or object with loader and object ("+JSON.stringify(e)+")");t.path=e.loader;t.options=e.options;t.ident=e.ident;if(t.options===null)t.query="";else if(t.options===undefined)t.query="";else if(typeof t.options==="string")t.query="?"+t.options;else if(t.ident)t.query="??"+t.ident;else if(typeof t.options==="object"&&t.options.ident)t.query="??"+t.options.ident;else t.query="?"+JSON.stringify(t.options)}}});t.request=e;if(Object.preventExtensions){Object.preventExtensions(t)}return t}function runSyncOrAsync(e,t,n,r){var s=true;var i=false;var o=false;var u=false;t.async=function async(){if(i){if(u)return;throw new Error("async(): The callback was already called.")}s=false;return a};var a=t.callback=function(){if(i){if(u)return;throw new Error("callback(): The callback was already called.")}i=true;s=false;try{r.apply(null,arguments)}catch(e){o=true;throw e}};try{var d=function LOADER_EXECUTION(){return e.apply(t,n)}();if(s){i=true;if(d===undefined)return r();if(d&&typeof d==="object"&&typeof d.then==="function"){return d.then(function(e){r(null,e)},r)}return r(null,d)}}catch(e){if(o)throw e;if(i){if(typeof e==="object"&&e.stack)console.error(e.stack);else console.error(e);return}i=true;u=true;r(e)}}function convertArgs(e,t){if(!t&&Buffer.isBuffer(e[0]))e[0]=utf8BufferToString(e[0]);else if(t&&typeof e[0]==="string")e[0]=new Buffer(e[0],"utf-8")}function iteratePitchingLoaders(e,t,n){if(t.loaderIndex>=t.loaders.length)return processResource(e,t,n);var r=t.loaders[t.loaderIndex];if(r.pitchExecuted){t.loaderIndex++;return iteratePitchingLoaders(e,t,n)}i(r,function(s){if(s){t.cacheable(false);return n(s)}var i=r.pitch;r.pitchExecuted=true;if(!i)return iteratePitchingLoaders(e,t,n);runSyncOrAsync(i,t,[t.remainingRequest,t.previousRequest,r.data={}],function(r){if(r)return n(r);var s=Array.prototype.slice.call(arguments,1);if(s.length>0){t.loaderIndex--;iterateNormalLoaders(e,t,s,n)}else{iteratePitchingLoaders(e,t,n)}})})}function processResource(e,t,n){t.loaderIndex=t.loaders.length-1;var r=t.resourcePath;if(r){t.addDependency(r);e.readResource(r,function(r,s){if(r)return n(r);e.resourceBuffer=s;iterateNormalLoaders(e,t,[s],n)})}else{iterateNormalLoaders(e,t,[null],n)}}function iterateNormalLoaders(e,t,n,r){if(t.loaderIndex<0)return r(null,n);var s=t.loaders[t.loaderIndex];if(s.normalExecuted){t.loaderIndex--;return iterateNormalLoaders(e,t,n,r)}var i=s.normal;s.normalExecuted=true;if(!i){return iterateNormalLoaders(e,t,n,r)}convertArgs(n,s.raw);runSyncOrAsync(i,t,n,function(n){if(n)return r(n);var s=Array.prototype.slice.call(arguments,1);iterateNormalLoaders(e,t,s,r)})}t.getContext=function getContext(e){var t=splitQuery(e);return dirname(t[0])};t.runLoaders=function runLoaders(e,t){var n=e.resource||"";var r=e.loaders||[];var i=e.context||{};var o=e.readResource||s;var u=n&&splitQuery(n);var a=u?u[0]:undefined;var d=u?u[1]:undefined;var c=a?dirname(a):null;var l=true;var f=[];var h=[];r=r.map(createLoaderObject);i.context=c;i.loaderIndex=0;i.loaders=r;i.resourcePath=a;i.resourceQuery=d;i.async=null;i.callback=null;i.cacheable=function cacheable(e){if(e===false){l=false}};i.dependency=i.addDependency=function addDependency(e){f.push(e)};i.addContextDependency=function addContextDependency(e){h.push(e)};i.getDependencies=function getDependencies(){return f.slice()};i.getContextDependencies=function getContextDependencies(){return h.slice()};i.clearDependencies=function clearDependencies(){f.length=0;h.length=0;l=true};Object.defineProperty(i,"resource",{enumerable:true,get:function(){if(i.resourcePath===undefined)return undefined;return i.resourcePath+i.resourceQuery},set:function(e){var t=e&&splitQuery(e);i.resourcePath=t?t[0]:undefined;i.resourceQuery=t?t[1]:undefined}});Object.defineProperty(i,"request",{enumerable:true,get:function(){return i.loaders.map(function(e){return e.request}).concat(i.resource||"").join("!")}});Object.defineProperty(i,"remainingRequest",{enumerable:true,get:function(){if(i.loaderIndex>=i.loaders.length-1&&!i.resource)return"";return i.loaders.slice(i.loaderIndex+1).map(function(e){return e.request}).concat(i.resource||"").join("!")}});Object.defineProperty(i,"currentRequest",{enumerable:true,get:function(){return i.loaders.slice(i.loaderIndex).map(function(e){return e.request}).concat(i.resource||"").join("!")}});Object.defineProperty(i,"previousRequest",{enumerable:true,get:function(){return i.loaders.slice(0,i.loaderIndex).map(function(e){return e.request}).join("!")}});Object.defineProperty(i,"query",{enumerable:true,get:function(){var e=i.loaders[i.loaderIndex];return e.options&&typeof e.options==="object"?e.options:e.query}});Object.defineProperty(i,"data",{enumerable:true,get:function(){return i.loaders[i.loaderIndex].data}});if(Object.preventExtensions){Object.preventExtensions(i)}var p={resourceBuffer:null,readResource:o};iteratePitchingLoaders(p,i,function(e,n){if(e){return t(e,{cacheable:l,fileDependencies:f,contextDependencies:h})}t(null,{result:n,resourceBuffer:p.resourceBuffer,cacheable:l,fileDependencies:f,contextDependencies:h})})}},384:(e,t,n)=>{var r=n(736);e.exports=function loadLoader(e,t){if(typeof System==="object"&&typeof System.import==="function"){System.import(e.path).catch(t).then(function(n){e.normal=typeof n==="function"?n:n.default;e.pitch=n.pitch;e.raw=n.raw;if(typeof e.normal!=="function"&&typeof e.pitch!=="function"){return t(new r("Module '"+e.path+"' is not a loader (must have normal or pitch function)"))}t()})}else{try{var n=require(e.path)}catch(n){if(n instanceof Error&&n.code==="EMFILE"){var s=loadLoader.bind(null,e,t);if(typeof setImmediate==="function"){return setImmediate(s)}else{return process.nextTick(s)}}return t(n)}if(typeof n!=="function"&&typeof n!=="object"){return t(new r("Module '"+e.path+"' is not a loader (export function or es6 module)"))}e.normal=typeof n==="function"?n:n.default;e.pitch=n.pitch;e.raw=n.raw;if(typeof e.normal!=="function"&&typeof e.pitch!=="function"){return t(new r("Module '"+e.path+"' is not a loader (must have normal or pitch function)"))}t()}}},105:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=t.pluginSymbol=t.pluginName=void 0;var r=n(286);var s=_interopRequireDefault(n(798));var i=n(958);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const o="mini-css-extract-plugin";t.pluginName=o;const u=Symbol(o);t.pluginSymbol=u;const a=/\[chunkhash(?::(\d+))?\]/i;const d=/\[contenthash(?::(\d+))?\]/i;const c=/\[name\]/i;const l="[name].css";const f=new Set([i.MODULE_TYPE]);const h={sources:new Map,runtimeRequirements:new Set};const p=new WeakMap;const g=new WeakMap;class MiniCssExtractPlugin{static getCssModule(e){if(p.has(e)){return p.get(e)}class CssModule extends e.Module{constructor({context:e,identifier:t,identifierIndex:n,content:r,media:s,sourceMap:o,assets:u,assetsInfo:a}){super(i.MODULE_TYPE,e);this.id="";this._context=e;this._identifier=t;this._identifierIndex=n;this.content=r;this.media=s;this.sourceMap=o;this.buildInfo={assets:u,assetsInfo:a};this.buildMeta={}}size(){return this.content.length}identifier(){return`css|${this._identifier}|${this._identifierIndex}`}readableIdentifier(e){return`css ${e.shorten(this._identifier)}${this._identifierIndex?` (${this._identifierIndex})`:""}`}getSourceTypes(){return f}codeGeneration(){return h}nameForCondition(){const e=this._identifier.split("!").pop();const t=e.indexOf("?");if(t>=0){return e.substring(0,t)}return e}updateCacheModule(e){this.content=e.content;this.media=e.media;this.sourceMap=e.sourceMap}needRebuild(){return true}needBuild(e,t){t(null,false)}build(e,t,n,r,s){this.buildInfo={};this.buildMeta={};s()}updateHash(e,t){super.updateHash(e,t);e.update(this.content);e.update(this.media||"");e.update(this.sourceMap?JSON.stringify(this.sourceMap):"")}serialize(e){const{write:t}=e;t(this._context);t(this._identifier);t(this._identifierIndex);t(this.content);t(this.media);t(this.sourceMap);t(this.buildInfo);super.serialize(e)}deserialize(e){super.deserialize(e)}}p.set(e,CssModule);if(e.util&&e.util.serialization&&e.util.serialization.register){e.util.serialization.register(CssModule,"mini-css-extract-plugin/dist/CssModule",null,{serialize(e,t){e.serialize(t)},deserialize(e){const{read:t}=e;const n=t();const r=t();const s=t();const i=t();const o=t();const u=t();const{assets:a,assetsInfo:d}=t();const c=new CssModule({context:n,identifier:r,identifierIndex:s,content:i,media:o,sourceMap:u,assets:a,assetsInfo:d});c.deserialize(e);return c}})}return CssModule}static getCssDependency(e){if(g.has(e)){return g.get(e)}class CssDependency extends e.Dependency{constructor({identifier:e,content:t,media:n,sourceMap:r},s,i){super();this.identifier=e;this.identifierIndex=i;this.content=t;this.media=n;this.sourceMap=r;this.context=s;this.assets=undefined;this.assetsInfo=undefined}getResourceIdentifier(){return`css-module-${this.identifier}-${this.identifierIndex}`}getModuleEvaluationSideEffectsState(){return e.ModuleGraphConnection.TRANSITIVE_ONLY}serialize(e){const{write:t}=e;t(this.identifier);t(this.content);t(this.media);t(this.sourceMap);t(this.context);t(this.identifierIndex);t(this.assets);t(this.assetsInfo);super.serialize(e)}deserialize(e){super.deserialize(e)}}g.set(e,CssDependency);if(e.util&&e.util.serialization&&e.util.serialization.register){e.util.serialization.register(CssDependency,"mini-css-extract-plugin/dist/CssDependency",null,{serialize(e,t){e.serialize(t)},deserialize(e){const{read:t}=e;const n=new CssDependency({identifier:t(),content:t(),media:t(),sourceMap:t()},t(),t());const r=t();const s=t();n.assets=r;n.assetsInfo=s;n.deserialize(e);return n}})}return CssDependency}constructor(e={}){(0,r.validate)(s.default,e,{name:"Mini CSS Extract Plugin",baseDataPath:"options"});this._sortedModulesCache=new WeakMap;this.options=Object.assign({filename:l,ignoreOrder:false,experimentalUseImportModule:false},e);this.runtimeOptions={insert:e.insert,linkType:e.linkType===true||typeof e.linkType==="undefined"?"text/css":e.linkType,attributes:e.attributes};if(!this.options.chunkFilename){const{filename:e}=this.options;if(typeof e!=="function"){const t=e.includes("[name]");const n=e.includes("[id]");const r=e.includes("[chunkhash]");const s=e.includes("[contenthash]");if(r||s||t||n){this.options.chunkFilename=e}else{this.options.chunkFilename=e.replace(/(^|\/)([^/]*(?:\?|$))/,"$1[id].$2")}}else{this.options.chunkFilename="[id].css"}}}apply(e){const t=e.webpack?e.webpack:n(515);if(this.options.experimentalUseImportModule){if(!e.options.experiments){throw new Error("experimentalUseImportModule is only support for webpack >= 5.32.0")}if(typeof e.options.experiments.executeModule==="undefined"){e.options.experiments.executeModule=true}}if(t.util&&t.util.serialization&&t.util.serialization.registerLoader){t.util.serialization.registerLoader(/^mini-css-extract-plugin\//,()=>true)}const r=e.webpack?false:typeof e.resolvers!=="undefined";if(!r){const{splitChunks:t}=e.options.optimization;if(t){if(t.defaultSizeTypes.includes("...")){t.defaultSizeTypes.push(i.MODULE_TYPE)}}}const s=MiniCssExtractPlugin.getCssModule(t);const l=MiniCssExtractPlugin.getCssDependency(t);const f=e.webpack&&e.webpack.NormalModule?e.webpack.NormalModule:n(963);e.hooks.compilation.tap(o,e=>{const t=typeof f.getCompilationHooks!=="undefined"?f.getCompilationHooks(e).loader:e.hooks.normalModuleLoader;t.tap(o,e=>{e[u]={experimentalUseImportModule:this.options.experimentalUseImportModule}})});e.hooks.thisCompilation.tap(o,n=>{class CssModuleFactory{create({dependencies:[e]},t){t(null,new s(e))}}n.dependencyFactories.set(l,new CssModuleFactory);class CssDependencyTemplate{apply(){}}n.dependencyTemplates.set(l,new CssDependencyTemplate);if(r){n.mainTemplate.hooks.renderManifest.tap(o,(t,{chunk:r})=>{const{chunkGraph:s}=n;const u=Array.from(this.getChunkModules(r,s)).filter(e=>e.type===i.MODULE_TYPE);const a=r.filenameTemplate||this.options.filename;if(u.length>0){t.push({render:()=>this.renderContentAsset(e,n,r,u,n.runtimeTemplate.requestShortener),filenameTemplate:a,pathOptions:{chunk:r,contentHashType:i.MODULE_TYPE},identifier:`${o}.${r.id}`,hash:r.contentHash[i.MODULE_TYPE]})}});n.chunkTemplate.hooks.renderManifest.tap(o,(t,{chunk:r})=>{const{chunkGraph:s}=n;const u=Array.from(this.getChunkModules(r,s)).filter(e=>e.type===i.MODULE_TYPE);const a=r.filenameTemplate||this.options.chunkFilename;if(u.length>0){t.push({render:()=>this.renderContentAsset(e,n,r,u,n.runtimeTemplate.requestShortener),filenameTemplate:a,pathOptions:{chunk:r,contentHashType:i.MODULE_TYPE},identifier:`${o}.${r.id}`,hash:r.contentHash[i.MODULE_TYPE]})}})}else{n.hooks.renderManifest.tap(o,(r,{chunk:s})=>{const{chunkGraph:u}=n;const{HotUpdateChunk:a}=t;if(s instanceof a){return}const d=Array.from(this.getChunkModules(s,u)).filter(e=>e.type===i.MODULE_TYPE);const c=s.canBeInitial()?this.options.filename:this.options.chunkFilename;if(d.length>0){r.push({render:()=>this.renderContentAsset(e,n,s,d,n.runtimeTemplate.requestShortener),filenameTemplate:c,pathOptions:{chunk:s,contentHashType:i.MODULE_TYPE},identifier:`${o}.${s.id}`,hash:s.contentHash[i.MODULE_TYPE]})}})}if(r){n.mainTemplate.hooks.hashForChunk.tap(o,(e,t)=>{const{chunkFilename:n}=this.options;if(a.test(n)){e.update(JSON.stringify(t.getChunkMaps(true).hash))}if(d.test(n)){e.update(JSON.stringify(t.getChunkMaps(true).contentHash[i.MODULE_TYPE]||{}))}if(c.test(n)){e.update(JSON.stringify(t.getChunkMaps(true).name))}})}n.hooks.contentHash.tap(o,s=>{const{outputOptions:o,chunkGraph:u}=n;const a=r?Array.from(this.getChunkModules(s,u)).filter(e=>e.type===i.MODULE_TYPE):this.sortModules(n,s,u.getChunkModulesIterableBySourceType(s,i.MODULE_TYPE),n.runtimeTemplate.requestShortener);if(a){const{hashFunction:n,hashDigest:r,hashDigestLength:d}=o;const c=e.webpack?e.webpack.util.createHash:t.util.createHash;const l=c(n);for(const e of a){e.updateHash(l,{chunkGraph:u})}s.contentHash[i.MODULE_TYPE]=l.digest(r).substring(0,d)}});const{Template:u}=t;const{mainTemplate:f}=n;if(r){f.hooks.localVars.tap(o,(e,t)=>{const r=this.getCssChunkObject(t,n);if(Object.keys(r).length>0){return u.asString([e,"","// object to store loaded CSS chunks","var installedCssChunks = {",u.indent(t.ids.map(e=>`${JSON.stringify(e)}: 0`).join(",\n")),"};"])}return e});f.hooks.requireEnsure.tap(o,(e,t,r)=>{const s=this.getCssChunkObject(t,n);if(Object.keys(s).length>0){const n=t.getChunkMaps();const{crossOriginLoading:a}=f.outputOptions;const d=f.getAssetPath(JSON.stringify(this.options.chunkFilename),{hash:`" + ${f.renderCurrentHashCode(r)} + "`,hashWithLength:e=>`" + ${f.renderCurrentHashCode(r,e)} + "`,chunk:{id:'" + chunkId + "',hash:`" + ${JSON.stringify(n.hash)}[chunkId] + "`,hashWithLength(e){const t=Object.create(null);for(const r of Object.keys(n.hash)){if(typeof n.hash[r]==="string"){t[r]=n.hash[r].substring(0,e)}}return`" + ${JSON.stringify(t)}[chunkId] + "`},contentHash:{[i.MODULE_TYPE]:`" + ${JSON.stringify(n.contentHash[i.MODULE_TYPE])}[chunkId] + "`},contentHashWithLength:{[i.MODULE_TYPE]:e=>{const t={};const r=n.contentHash[i.MODULE_TYPE];for(const n of Object.keys(r)){if(typeof r[n]==="string"){t[n]=r[n].substring(0,e)}}return`" + ${JSON.stringify(t)}[chunkId] + "`}},name:`" + (${JSON.stringify(n.name)}[chunkId]||chunkId) + "`},contentHashType:i.MODULE_TYPE});return u.asString([e,"",`// ${o} CSS loading`,`var cssChunks = ${JSON.stringify(s)};`,"if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);","else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {",u.indent(["promises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {",u.indent([`var href = ${d};`,`var fullhref = ${f.requireFn}.p + href;`,'var existingLinkTags = document.getElementsByTagName("link");',"for(var i = 0; i < existingLinkTags.length; i++) {",u.indent(["var tag = existingLinkTags[i];",'var dataHref = tag.getAttribute("data-href") || tag.getAttribute("href");','if(tag.rel === "stylesheet" && (dataHref === href || dataHref === fullhref)) return resolve();']),"}",'var existingStyleTags = document.getElementsByTagName("style");',"for(var i = 0; i < existingStyleTags.length; i++) {",u.indent(["var tag = existingStyleTags[i];",'var dataHref = tag.getAttribute("data-href");',"if(dataHref === href || dataHref === fullhref) return resolve();"]),"}",'var linkTag = document.createElement("link");',this.runtimeOptions.attributes?u.asString(Object.entries(this.runtimeOptions.attributes).map(e=>{const[t,n]=e;return`linkTag.setAttribute(${JSON.stringify(t)}, ${JSON.stringify(n)});`})):"",'linkTag.rel = "stylesheet";',this.runtimeOptions.linkType?`linkTag.type = ${JSON.stringify(this.runtimeOptions.linkType)};`:"","var onLinkComplete = function (event) {",u.indent(["// avoid mem leaks.","linkTag.onerror = linkTag.onload = null;","if (event.type === 'load') {",u.indent(["resolve();"]),"} else {",u.indent(["var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realHref = event && event.target && event.target.href || fullhref;",'var err = new Error("Loading CSS chunk " + chunkId + " failed.\\n(" + realHref + ")");','err.code = "CSS_CHUNK_LOAD_FAILED";',"err.type = errorType;","err.request = realHref;","delete installedCssChunks[chunkId]","linkTag.parentNode.removeChild(linkTag)","reject(err);"]),"}"]),"};","linkTag.onerror = linkTag.onload = onLinkComplete;","linkTag.href = fullhref;",a?u.asString([`if (linkTag.href.indexOf(window.location.origin + '/') !== 0) {`,u.indent(`linkTag.crossOrigin = ${JSON.stringify(a)};`),"}"]):"",typeof this.runtimeOptions.insert!=="undefined"?typeof this.runtimeOptions.insert==="function"?`(${this.runtimeOptions.insert.toString()})(linkTag)`:u.asString([`var target = document.querySelector("${this.runtimeOptions.insert}");`,`target.parentNode.insertBefore(linkTag, target.nextSibling);`]):u.asString(["document.head.appendChild(linkTag);"])]),"}).then(function() {",u.indent(["installedCssChunks[chunkId] = 0;"]),"}));"]),"}"])}return e})}else{const{RuntimeGlobals:e,runtime:r}=t;const s=(e,t)=>{const n={};const{chunkGraph:r}=t;for(const t of e.getAllAsyncChunks()){const e=r.getOrderedChunkModulesIterable(t,i.compareModulesByIdentifier);for(const r of e){if(r.type===i.MODULE_TYPE){n[t.id]=1;break}}}return n};const{RuntimeModule:a}=t;class CssLoadingRuntimeModule extends a{constructor(e,t){super("css loading",10);this.runtimeRequirements=e;this.runtimeOptions=t}generate(){const{chunk:t,runtimeRequirements:n}=this;const{runtimeTemplate:r,outputOptions:{crossOriginLoading:i}}=this.compilation;const o=s(t,this.compilation);const a=n.has(e.ensureChunkHandlers)&&Object.keys(o).length>0;const d=n.has(e.hmrDownloadUpdateHandlers);if(!a&&!d){return null}return u.asString([`var createStylesheet = ${r.basicFunction("chunkId, fullhref, resolve, reject",['var linkTag = document.createElement("link");',this.runtimeOptions.attributes?u.asString(Object.entries(this.runtimeOptions.attributes).map(e=>{const[t,n]=e;return`linkTag.setAttribute(${JSON.stringify(t)}, ${JSON.stringify(n)});`})):"",'linkTag.rel = "stylesheet";',this.runtimeOptions.linkType?`linkTag.type = ${JSON.stringify(this.runtimeOptions.linkType)};`:"",`var onLinkComplete = ${r.basicFunction("event",["// avoid mem leaks.","linkTag.onerror = linkTag.onload = null;","if (event.type === 'load') {",u.indent(["resolve();"]),"} else {",u.indent(["var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realHref = event && event.target && event.target.href || fullhref;",'var err = new Error("Loading CSS chunk " + chunkId + " failed.\\n(" + realHref + ")");','err.code = "CSS_CHUNK_LOAD_FAILED";',"err.type = errorType;","err.request = realHref;","linkTag.parentNode.removeChild(linkTag)","reject(err);"]),"}"])}`,"linkTag.onerror = linkTag.onload = onLinkComplete;","linkTag.href = fullhref;",i?u.asString([`if (linkTag.href.indexOf(window.location.origin + '/') !== 0) {`,u.indent(`linkTag.crossOrigin = ${JSON.stringify(i)};`),"}"]):"",typeof this.runtimeOptions.insert!=="undefined"?typeof this.runtimeOptions.insert==="function"?`(${this.runtimeOptions.insert.toString()})(linkTag)`:u.asString([`var target = document.querySelector("${this.runtimeOptions.insert}");`,`target.parentNode.insertBefore(linkTag, target.nextSibling);`]):u.asString(["document.head.appendChild(linkTag);"]),"return linkTag;"])};`,`var findStylesheet = ${r.basicFunction("href, fullhref",['var existingLinkTags = document.getElementsByTagName("link");',"for(var i = 0; i < existingLinkTags.length; i++) {",u.indent(["var tag = existingLinkTags[i];",'var dataHref = tag.getAttribute("data-href") || tag.getAttribute("href");','if(tag.rel === "stylesheet" && (dataHref === href || dataHref === fullhref)) return tag;']),"}",'var existingStyleTags = document.getElementsByTagName("style");',"for(var i = 0; i < existingStyleTags.length; i++) {",u.indent(["var tag = existingStyleTags[i];",'var dataHref = tag.getAttribute("data-href");',"if(dataHref === href || dataHref === fullhref) return tag;"]),"}"])};`,`var loadStylesheet = ${r.basicFunction("chunkId",`return new Promise(${r.basicFunction("resolve, reject",[`var href = ${e.require}.miniCssF(chunkId);`,`var fullhref = ${e.publicPath} + href;`,"if(findStylesheet(href, fullhref)) return resolve();","createStylesheet(chunkId, fullhref, resolve, reject);"])});`)}`,a?u.asString(["// object to store loaded CSS chunks","var installedCssChunks = {",u.indent(t.ids.map(e=>`${JSON.stringify(e)}: 0`).join(",\n")),"};","",`${e.ensureChunkHandlers}.miniCss = ${r.basicFunction("chunkId, promises",[`var cssChunks = ${JSON.stringify(o)};`,"if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);","else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {",u.indent([`promises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(${r.basicFunction("","installedCssChunks[chunkId] = 0;")}, ${r.basicFunction("e",["delete installedCssChunks[chunkId];","throw e;"])}));`]),"}"])};`]):"// no chunk loading","",d?u.asString(["var oldTags = [];","var newTags = [];",`var applyHandler = ${r.basicFunction("options",[`return { dispose: ${r.basicFunction("",["for(var i = 0; i < oldTags.length; i++) {",u.indent(["var oldTag = oldTags[i];","if(oldTag.parentNode) oldTag.parentNode.removeChild(oldTag);"]),"}","oldTags.length = 0;"])}, apply: ${r.basicFunction("",['for(var i = 0; i < newTags.length; i++) newTags[i].rel = "stylesheet";',"newTags.length = 0;"])} };`])}`,`${e.hmrDownloadUpdateHandlers}.miniCss = ${r.basicFunction("chunkIds, removedChunks, removedModules, promises, applyHandlers, updatedModulesList",["applyHandlers.push(applyHandler);",`chunkIds.forEach(${r.basicFunction("chunkId",[`var href = ${e.require}.miniCssF(chunkId);`,`var fullhref = ${e.publicPath} + href;`,"var oldTag = findStylesheet(href, fullhref);","if(!oldTag) return;",`promises.push(new Promise(${r.basicFunction("resolve, reject",[`var tag = createStylesheet(chunkId, fullhref, ${r.basicFunction("",['tag.as = "style";','tag.rel = "preload";',"resolve();"])}, reject);`,"oldTags.push(oldTag);","newTags.push(tag);"])}));`])});`])}`]):"// no hmr"])}}const d=new WeakSet;const c=(t,s)=>{if(d.has(t)){return}d.add(t);if(typeof this.options.chunkFilename==="string"&&/\[(full)?hash(:\d+)?\]/.test(this.options.chunkFilename)){s.add(e.getFullHash)}s.add(e.publicPath);n.addRuntimeModule(t,new r.GetChunkFilenameRuntimeModule(i.MODULE_TYPE,"mini-css",`${e.require}.miniCssF`,e=>{if(!e.contentHash[i.MODULE_TYPE]){return false}return e.canBeInitial()?this.options.filename:this.options.chunkFilename},true));n.addRuntimeModule(t,new CssLoadingRuntimeModule(s,this.runtimeOptions))};n.hooks.runtimeRequirementInTree.for(e.ensureChunkHandlers).tap(o,c);n.hooks.runtimeRequirementInTree.for(e.hmrDownloadUpdateHandlers).tap(o,c)}})}getChunkModules(e,t){return typeof t!=="undefined"?t.getOrderedChunkModulesIterable(e,i.compareModulesByIdentifier):e.modulesIterable}getCssChunkObject(e,t){const n={};const{chunkGraph:r}=t;for(const t of e.getAllAsyncChunks()){for(const e of this.getChunkModules(t,r)){if(e.type===i.MODULE_TYPE){n[t.id]=1;break}}}return n}sortModules(e,t,n,r){let s=this._sortedModulesCache.get(t);if(s||!n){return s}const i=[...n];const[u]=t.groupsIterable;const a=typeof e.chunkGraph!=="undefined"?"getModulePostOrderIndex":"getModuleIndex2";if(typeof u[a]==="function"){const n=new Map(i.map(e=>[e,new Set]));const u=new Map(i.map(e=>[e,new Map]));const d=Array.from(t.groupsIterable,e=>{const t=i.map(t=>{return{module:t,index:e[a](t)}}).filter(e=>e.index!==undefined).sort((e,t)=>t.index-e.index).map(e=>e.module);for(let r=0;r!s.has(e);while(s.size0&&s.has(e[e.length-1])){e.pop()}if(e.length!==0){const t=e[e.length-1];const r=n.get(t);const o=Array.from(r).filter(c);if(!l||l.length>o.length){a=e;l=o}if(o.length===0){s.add(e.pop());i=true;break}}}if(!i){const n=a.pop();if(!this.options.ignoreOrder){const s=u.get(n);e.warnings.push(new Error([`chunk ${t.name||t.id} [${o}]`,"Conflicting order. Following module has been added:",` * ${n.readableIdentifier(r)}`,"despite it was not able to fulfill desired ordering with these modules:",...l.map(e=>{const t=u.get(e);const i=t&&t.get(n);const o=Array.from(s.get(e),e=>e.name).join(", ");const a=i&&Array.from(i,e=>e.name).join(", ");return[` * ${e.readableIdentifier(r)}`,` - couldn't fulfill desired order of chunk group(s) ${o}`,a&&` - while fulfilling desired order of chunk group(s) ${a}`].filter(Boolean).join("\n")})].join("\n")))}s.add(n)}}}else{i.sort((e,t)=>e.index2-t.index2);s=i}this._sortedModulesCache.set(t,s);return s}renderContentAsset(e,t,r,s,i){const o=this.sortModules(t,r,s,i);const{ConcatSource:u,SourceMapSource:a,RawSource:d}=e.webpack?e.webpack.sources:n(665);const c=new u;const l=new u;for(const e of o){let t=e.content.toString();if(/^@import url/.test(t)){if(e.media){t=t.replace(/;|\s*$/,e.media)}l.add(t);l.add("\n")}else{if(e.media){c.add(`@media ${e.media} {\n`)}if(e.sourceMap){c.add(new a(t,e.readableIdentifier(i),e.sourceMap.toString()))}else{c.add(new d(t,e.readableIdentifier(i)))}c.add("\n");if(e.media){c.add("}\n")}}}return new u(l,c)}}MiniCssExtractPlugin.loader=n.ab+"loader.js";var y=MiniCssExtractPlugin;t.default=y},958:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findModuleById=findModuleById;t.evalModuleCode=evalModuleCode;t.compareModulesByIdentifier=compareModulesByIdentifier;t.MODULE_TYPE=void 0;var r=_interopRequireDefault(n(282));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const s="css/mini-extract";t.MODULE_TYPE=s;function findModuleById(e,t){const{modules:n,chunkGraph:r}=e;for(const e of n){const n=typeof r!=="undefined"?r.getModuleId(e):e.id;if(n===t){return e}}return null}function evalModuleCode(e,t,n){const s=new r.default(n,e);s.paths=r.default._nodeModulePaths(e.context);s.filename=n;s._compile(t,n);return s.exports}function compareIds(e,t){if(typeof e!==typeof t){return typeof et){return 1}return 0}function compareModulesByIdentifier(e,t){return compareIds(e.identifier(),t.identifier())}},104:(e,t,n)=>{"use strict";const r=n(391);const s=/at ([a-zA-Z0-9_.]*)/;function createMessage(e){return`Abstract method${e?" "+e:""}. Must be overridden.`}function Message(){this.stack=undefined;Error.captureStackTrace(this);const e=this.stack.split("\n")[3].match(s);this.message=e&&e[1]?createMessage(e[1]):createMessage()}class AbstractMethodError extends r{constructor(){super((new Message).message);this.name="AbstractMethodError"}}e.exports=AbstractMethodError},919:(e,t,n)=>{"use strict";const r=n(669);const s=n(834);const i=n(262).w;const o=n(973);const u=n(931);let a=1e3;const d="Chunk.entry was removed. Use hasRuntime()";const c="Chunk.initial was removed. Use canBeInitial/isOnlyInitial()";const l=(e,t)=>{if(e.id{if(e.id{if(e.identifier()>t.identifier())return 1;if(e.identifier(){e.sort();let t="";for(const n of e){t+=n.identifier()+"#"}return t};const g=e=>Array.from(e);const y=e=>{let t=0;for(const n of e){t+=n.size()}return t};class Chunk{constructor(e){this.id=null;this.ids=null;this.debugId=a++;this.name=e;this.preventIntegration=false;this.entryModule=undefined;this._modules=new s(undefined,h);this.filenameTemplate=undefined;this._groups=new s(undefined,f);this.files=[];this.rendered=false;this.hash=undefined;this.contentHash=Object.create(null);this.renderedHash=undefined;this.chunkReason=undefined;this.extraAsync=false;this.removedModules=undefined}get entry(){throw new Error(d)}set entry(e){throw new Error(d)}get initial(){throw new Error(c)}set initial(e){throw new Error(c)}hasRuntime(){for(const e of this._groups){if(e.isInitial()&&e instanceof u&&e.getRuntimeChunk()===this){return true}}return false}canBeInitial(){for(const e of this._groups){if(e.isInitial())return true}return false}isOnlyInitial(){if(this._groups.size<=0)return false;for(const e of this._groups){if(!e.isInitial())return false}return true}hasEntryModule(){return!!this.entryModule}addModule(e){if(!this._modules.has(e)){this._modules.add(e);return true}return false}removeModule(e){if(this._modules.delete(e)){e.removeChunk(this);return true}return false}setModules(e){this._modules=new s(e,h)}getNumberOfModules(){return this._modules.size}get modulesIterable(){return this._modules}addGroup(e){if(this._groups.has(e))return false;this._groups.add(e);return true}removeGroup(e){if(!this._groups.has(e))return false;this._groups.delete(e);return true}isInGroup(e){return this._groups.has(e)}getNumberOfGroups(){return this._groups.size}get groupsIterable(){return this._groups}compareTo(e){if(this.name&&!e.name)return-1;if(!this.name&&e.name)return 1;if(this.namee.name)return 1;if(this._modules.size>e._modules.size)return-1;if(this._modules.sizei)return 1}}containsModule(e){return this._modules.has(e)}getModules(){return this._modules.getFromCache(g)}getModulesIdent(){return this._modules.getFromUnorderedCache(p)}remove(e){for(const e of Array.from(this._modules)){e.removeChunk(this)}for(const e of this._groups){e.removeChunk(this)}}moveModule(e,t){o.disconnectChunkAndModule(this,e);o.connectChunkAndModule(t,e);e.rewriteChunkInReasons(this,[t])}integrate(e,t){if(!this.canBeIntegrated(e)){return false}if(this.name&&e.name){if(this.hasEntryModule()===e.hasEntryModule()){if(this.name.length!==e.name.length){this.name=this.name.length{const n=new Set(t.groupsIterable);for(const t of n){if(e.isInGroup(t))continue;if(t.isInitial())return false;for(const e of t.parentsIterable){n.add(e)}}return true};const n=this.hasRuntime();const r=e.hasRuntime();if(n!==r){if(n){return t(this,e)}else if(r){return t(e,this)}else{return false}}if(this.hasEntryModule()||e.hasEntryModule()){return false}return true}addMultiplierAndOverhead(e,t){const n=typeof t.chunkOverhead==="number"?t.chunkOverhead:1e4;const r=this.canBeInitial()?t.entryChunkMultiplicator||10:1;return e*r+n}modulesSize(){return this._modules.getFromUnorderedCache(y)}size(e={}){return this.addMultiplierAndOverhead(this.modulesSize(),e)}integratedSize(e,t){if(!this.canBeIntegrated(e)){return false}let n=this.modulesSize();for(const t of e._modules){if(!this._modules.has(t)){n+=t.size()}}return this.addMultiplierAndOverhead(n,t)}sortModules(e){this._modules.sortWith(e||l)}sortItems(){this.sortModules()}getAllAsyncChunks(){const e=new Set;const t=new Set;const n=i(Array.from(this.groupsIterable,e=>new Set(e.chunks)));for(const t of this.groupsIterable){for(const n of t.childrenIterable){e.add(n)}}for(const r of e){for(const e of r.chunks){if(!n.has(e)){t.add(e)}}for(const t of r.childrenIterable){e.add(t)}}return t}getChunkMaps(e){const t=Object.create(null);const n=Object.create(null);const r=Object.create(null);for(const s of this.getAllAsyncChunks()){t[s.id]=e?s.hash:s.renderedHash;for(const e of Object.keys(s.contentHash)){if(!n[e]){n[e]=Object.create(null)}n[e][s.id]=s.contentHash[e]}if(s.name){r[s.id]=s.name}}return{hash:t,contentHash:n,name:r}}getChildIdsByOrders(){const e=new Map;for(const t of this.groupsIterable){if(t.chunks[t.chunks.length-1]===this){for(const n of t.childrenIterable){if(typeof n.options==="object"){for(const t of Object.keys(n.options)){if(t.endsWith("Order")){const r=t.substr(0,t.length-"Order".length);let s=e.get(r);if(s===undefined)e.set(r,s=[]);s.push({order:n.options[t],group:n})}}}}}}const t=Object.create(null);for(const[n,r]of e){r.sort((e,t)=>{const n=t.order-e.order;if(n!==0)return n;if(e.group.compareTo){return e.group.compareTo(t.group)}return 0});t[n]=Array.from(r.reduce((e,t)=>{for(const n of t.group.chunks){e.add(n.id)}return e},new Set))}return t}getChildIdsByOrdersMap(e){const t=Object.create(null);const n=e=>{const n=e.getChildIdsByOrders();for(const r of Object.keys(n)){let s=t[r];if(s===undefined){t[r]=s=Object.create(null)}s[e.id]=n[r]}};if(e){const e=new Set;for(const t of this.groupsIterable){for(const n of t.chunks){e.add(n)}}for(const t of e){n(t)}}for(const e of this.getAllAsyncChunks()){n(e)}return t}getChunkModuleMaps(e){const t=Object.create(null);const n=Object.create(null);for(const r of this.getAllAsyncChunks()){let s;for(const i of r.modulesIterable){if(e(i)){if(s===undefined){s=[];t[r.id]=s}s.push(i.id);n[i.id]=i.renderedHash}}if(s!==undefined){s.sort()}}return{id:t,hash:n}}hasModuleInGraph(e,t){const n=new Set(this.groupsIterable);const r=new Set;for(const s of n){for(const n of s.chunks){if(!r.has(n)){r.add(n);if(!t||t(n)){for(const t of n.modulesIterable){if(e(t)){return true}}}}}for(const e of s.childrenIterable){n.add(e)}}return false}toString(){return`Chunk[${Array.from(this._modules).join()}]`}}Object.defineProperty(Chunk.prototype,"forEachModule",{configurable:false,value:r.deprecate(function(e){this._modules.forEach(e)},"Chunk.forEachModule: Use for(const module of chunk.modulesIterable) instead")});Object.defineProperty(Chunk.prototype,"mapModules",{configurable:false,value:r.deprecate(function(e){return Array.from(this._modules,e)},"Chunk.mapModules: Use Array.from(chunk.modulesIterable, fn) instead")});Object.defineProperty(Chunk.prototype,"chunks",{configurable:false,get(){throw new Error("Chunk.chunks: Use ChunkGroup.getChildren() instead")},set(){throw new Error("Chunk.chunks: Use ChunkGroup.add/removeChild() instead")}});Object.defineProperty(Chunk.prototype,"parents",{configurable:false,get(){throw new Error("Chunk.parents: Use ChunkGroup.getParents() instead")},set(){throw new Error("Chunk.parents: Use ChunkGroup.add/removeParent() instead")}});Object.defineProperty(Chunk.prototype,"blocks",{configurable:false,get(){throw new Error("Chunk.blocks: Use ChunkGroup.getBlocks() instead")},set(){throw new Error("Chunk.blocks: Use ChunkGroup.add/removeBlock() instead")}});Object.defineProperty(Chunk.prototype,"entrypoints",{configurable:false,get(){throw new Error("Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoint instead")},set(){throw new Error("Chunk.entrypoints: Use Chunks.addGroup instead")}});e.exports=Chunk},911:(e,t,n)=>{"use strict";const r=n(834);const s=n(562);let i=5e3;const o=e=>Array.from(e);const u=(e,t)=>{if(e.id{const n=e.module?e.module.identifier():"";const r=t.module?t.module.identifier():"";if(nr)return 1;return s(e.loc,t.loc)};class ChunkGroup{constructor(e){if(typeof e==="string"){e={name:e}}else if(!e){e={name:undefined}}this.groupDebugId=i++;this.options=e;this._children=new r(undefined,u);this._parents=new r(undefined,u);this._blocks=new r;this.chunks=[];this.origins=[];this._moduleIndices=new Map;this._moduleIndices2=new Map}addOptions(e){for(const t of Object.keys(e)){if(this.options[t]===undefined){this.options[t]=e[t]}else if(this.options[t]!==e[t]){if(t.endsWith("Order")){this.options[t]=Math.max(this.options[t],e[t])}else{throw new Error(`ChunkGroup.addOptions: No option merge strategy for ${t}`)}}}}get name(){return this.options.name}set name(e){this.options.name=e}get debugId(){return Array.from(this.chunks,e=>e.debugId).join("+")}get id(){return Array.from(this.chunks,e=>e.id).join("+")}unshiftChunk(e){const t=this.chunks.indexOf(e);if(t>0){this.chunks.splice(t,1);this.chunks.unshift(e)}else if(t<0){this.chunks.unshift(e);return true}return false}insertChunk(e,t){const n=this.chunks.indexOf(e);const r=this.chunks.indexOf(t);if(r<0){throw new Error("before chunk not found")}if(n>=0&&n>r){this.chunks.splice(n,1);this.chunks.splice(r,0,e)}else if(n<0){this.chunks.splice(r,0,e);return true}return false}pushChunk(e){const t=this.chunks.indexOf(e);if(t>=0){return false}this.chunks.push(e);return true}replaceChunk(e,t){const n=this.chunks.indexOf(e);if(n<0)return false;const r=this.chunks.indexOf(t);if(r<0){this.chunks[n]=t;return true}if(r=0){this.chunks.splice(t,1);return true}return false}isInitial(){return false}addChild(e){if(this._children.has(e)){return false}this._children.add(e);return true}getChildren(){return this._children.getFromCache(o)}getNumberOfChildren(){return this._children.size}get childrenIterable(){return this._children}removeChild(e){if(!this._children.has(e)){return false}this._children.delete(e);e.removeParent(this);return true}addParent(e){if(!this._parents.has(e)){this._parents.add(e);return true}return false}getParents(){return this._parents.getFromCache(o)}setParents(e){this._parents.clear();for(const t of e){this._parents.add(t)}}getNumberOfParents(){return this._parents.size}hasParent(e){return this._parents.has(e)}get parentsIterable(){return this._parents}removeParent(e){if(this._parents.delete(e)){e.removeChunk(this);return true}return false}getBlocks(){return this._blocks.getFromCache(o)}getNumberOfBlocks(){return this._blocks.size}hasBlock(e){return this._blocks.has(e)}get blocksIterable(){return this._blocks}addBlock(e){if(!this._blocks.has(e)){this._blocks.add(e);return true}return false}addOrigin(e,t,n){this.origins.push({module:e,loc:t,request:n})}containsModule(e){for(const t of this.chunks){if(t.containsModule(e))return true}return false}getFiles(){const e=new Set;for(const t of this.chunks){for(const n of t.files){e.add(n)}}return Array.from(e)}remove(e){for(const e of this._parents){e._children.delete(this);for(const t of this._children){t.addParent(e);e.addChild(t)}}for(const e of this._children){e._parents.delete(this)}for(const e of this._blocks){e.chunkGroup=null}for(const e of this.chunks){e.removeGroup(this)}}sortItems(){this.origins.sort(a);this._parents.sort();this._children.sort()}compareTo(e){if(this.chunks.length>e.chunks.length)return-1;if(this.chunks.length{const n=t.order-e.order;if(n!==0)return n;if(e.group.compareTo){return e.group.compareTo(t.group)}return 0});t[n]=r.map(e=>e.group)}return t}setModuleIndex(e,t){this._moduleIndices.set(e,t)}getModuleIndex(e){return this._moduleIndices.get(e)}setModuleIndex2(e,t){this._moduleIndices2.set(e,t)}getModuleIndex2(e){return this._moduleIndices2.get(e)}checkConstraints(){const e=this;for(const t of e._children){if(!t._parents.has(e)){throw new Error(`checkConstraints: child missing parent ${e.debugId} -> ${t.debugId}`)}}for(const t of e._parents){if(!t._children.has(e)){throw new Error(`checkConstraints: parent missing child ${t.debugId} <- ${e.debugId}`)}}}}e.exports=ChunkGroup},71:(e,t,n)=>{"use strict";const r=n(904);class DependenciesBlock{constructor(){this.dependencies=[];this.blocks=[];this.variables=[]}addBlock(e){this.blocks.push(e);e.parent=this}addVariable(e,t,n){for(let n of this.variables){if(n.name===e&&n.expression===t){return}}this.variables.push(new r(e,t,n))}addDependency(e){this.dependencies.push(e)}removeDependency(e){const t=this.dependencies.indexOf(e);if(t>=0){this.dependencies.splice(t,1)}}updateHash(e){for(const t of this.dependencies)t.updateHash(e);for(const t of this.blocks)t.updateHash(e);for(const t of this.variables)t.updateHash(e)}disconnect(){for(const e of this.dependencies)e.disconnect();for(const e of this.blocks)e.disconnect();for(const e of this.variables)e.disconnect()}unseal(){for(const e of this.blocks)e.unseal()}hasDependencies(e){if(e){for(const t of this.dependencies){if(e(t))return true}}else{if(this.dependencies.length>0){return true}}for(const t of this.blocks){if(t.hasDependencies(e))return true}for(const t of this.variables){if(t.hasDependencies(e))return true}return false}sortItems(){for(const e of this.blocks)e.sortItems()}}e.exports=DependenciesBlock},904:(e,t,n)=>{"use strict";const{RawSource:r,ReplaceSource:s}=n(665);class DependenciesBlockVariable{constructor(e,t,n){this.name=e;this.expression=t;this.dependencies=n||[]}updateHash(e){e.update(this.name);e.update(this.expression);for(const t of this.dependencies){t.updateHash(e)}}expressionSource(e,t){const n=new s(new r(this.expression));for(const r of this.dependencies){const s=e.get(r.constructor);if(!s){throw new Error(`No template for dependency: ${r.constructor.name}`)}s.apply(r,n,t,e)}return n}disconnect(){for(const e of this.dependencies){e.disconnect()}}hasDependencies(e){if(e){return this.dependencies.some(e)}return this.dependencies.length>0}}e.exports=DependenciesBlockVariable},931:(e,t,n)=>{"use strict";const r=n(911);class Entrypoint extends r{constructor(e){super(e);this.runtimeChunk=undefined}isInitial(){return true}setRuntimeChunk(e){this.runtimeChunk=e}getRuntimeChunk(){return this.runtimeChunk||this.chunks[0]}replaceChunk(e,t){if(this.runtimeChunk===e)this.runtimeChunk=t;return super.replaceChunk(e,t)}}e.exports=Entrypoint},140:(e,t)=>{"use strict";const n="LOADER_EXECUTION";const r="WEBPACK_OPTIONS";t.cutOffByFlag=((e,t)=>{e=e.split("\n");for(let n=0;nt.cutOffByFlag(e,n));t.cutOffWebpackOptions=(e=>t.cutOffByFlag(e,r));t.cutOffMultilineMessage=((e,t)=>{e=e.split("\n");t=t.split("\n");return e.reduce((e,n,r)=>n.includes(t[r])?e:e.concat(n),[]).join("\n")});t.cutOffMessage=((e,t)=>{const n=e.indexOf("\n");if(n===-1){return e===t?"":e}else{const r=e.substr(0,n);return r===t?e.substr(n+1):e}});t.cleanUp=((e,n)=>{e=t.cutOffLoaderExecution(e);e=t.cutOffMessage(e,n);return e});t.cleanUpWebpackOptions=((e,n)=>{e=t.cutOffWebpackOptions(e);e=t.cutOffMultilineMessage(e,n);return e})},973:(e,t)=>{const n=(e,t)=>{if(e.pushChunk(t)){t.addGroup(e)}};const r=(e,t)=>{if(e.addChild(t)){t.addParent(e)}};const s=(e,t)=>{if(t.addChunk(e)){e.addModule(t)}};const i=(e,t)=>{e.removeModule(t);t.removeChunk(e)};const o=(e,t)=>{if(t.addBlock(e)){e.chunkGroup=t}};t.connectChunkGroupAndChunk=n;t.connectChunkGroupParentAndChild=r;t.connectChunkAndModule=s;t.disconnectChunkAndModule=i;t.connectDependenciesBlockAndChunkGroup=o},782:(e,t,n)=>{"use strict";const r=n(919);class HotUpdateChunk extends r{constructor(){super();this.removedModules=undefined}}e.exports=HotUpdateChunk},993:(e,t,n)=>{"use strict";const r=n(669);const s=n(71);const i=n(576);const o=n(834);const u=n(66);const a={};let d=1e3;const c=(e,t)=>{return e.id-t.id};const l=(e,t)=>{return e.debugId-t.debugId};class Module extends s{constructor(e,t=null){super();this.type=e;this.context=t;this.debugId=d++;this.hash=undefined;this.renderedHash=undefined;this.resolveOptions=a;this.factoryMeta={};this.warnings=[];this.errors=[];this.buildMeta=undefined;this.buildInfo=undefined;this.reasons=[];this._chunks=new o(undefined,c);this.id=null;this.index=null;this.index2=null;this.depth=null;this.issuer=null;this.profile=undefined;this.prefetched=false;this.built=false;this.used=null;this.usedExports=null;this.optimizationBailout=[];this._rewriteChunkInReasons=undefined;this.useSourceMap=false;this._source=null}get exportsArgument(){return this.buildInfo&&this.buildInfo.exportsArgument||"exports"}get moduleArgument(){return this.buildInfo&&this.buildInfo.moduleArgument||"module"}disconnect(){this.hash=undefined;this.renderedHash=undefined;this.reasons.length=0;this._rewriteChunkInReasons=undefined;this._chunks.clear();this.id=null;this.index=null;this.index2=null;this.depth=null;this.issuer=null;this.profile=undefined;this.prefetched=false;this.built=false;this.used=null;this.usedExports=null;this.optimizationBailout.length=0;super.disconnect()}unseal(){this.id=null;this.index=null;this.index2=null;this.depth=null;this._chunks.clear();super.unseal()}setChunks(e){this._chunks=new o(e,c)}addChunk(e){if(this._chunks.has(e))return false;this._chunks.add(e);return true}removeChunk(e){if(this._chunks.delete(e)){e.removeModule(this);return true}return false}isInChunk(e){return this._chunks.has(e)}isEntryModule(){for(const e of this._chunks){if(e.entryModule===this)return true}return false}get optional(){return this.reasons.length>0&&this.reasons.every(e=>e.dependency&&e.dependency.optional)}getChunks(){return Array.from(this._chunks)}getNumberOfChunks(){return this._chunks.size}get chunksIterable(){return this._chunks}hasEqualsChunks(e){if(this._chunks.size!==e._chunks.size)return false;this._chunks.sortWith(l);e._chunks.sortWith(l);const t=this._chunks[Symbol.iterator]();const n=e._chunks[Symbol.iterator]();while(true){const e=t.next();const r=n.next();if(e.done)return true;if(e.value!==r.value)return false}}addReason(e,t,n){this.reasons.push(new i(e,t,n))}removeReason(e,t){for(let n=0;n0}rewriteChunkInReasons(e,t){if(this._rewriteChunkInReasons===undefined){this._rewriteChunkInReasons=[]}this._rewriteChunkInReasons.push({oldChunk:e,newChunks:t})}_doRewriteChunkInReasons(e,t){for(let n=0;n{if(e.module===t.module)return 0;if(!e.module)return-1;if(!t.module)return 1;return c(e.module,t.module)});if(Array.isArray(this.usedExports)){this.usedExports.sort()}}unbuild(){this.dependencies.length=0;this.blocks.length=0;this.variables.length=0;this.buildMeta=undefined;this.buildInfo=undefined;this.disconnect()}get arguments(){throw new Error("Module.arguments was removed, there is no replacement.")}set arguments(e){throw new Error("Module.arguments was removed, there is no replacement.")}}Object.defineProperty(Module.prototype,"forEachChunk",{configurable:false,value:r.deprecate(function(e){this._chunks.forEach(e)},"Module.forEachChunk: Use for(const chunk of module.chunksIterable) instead")});Object.defineProperty(Module.prototype,"mapChunks",{configurable:false,value:r.deprecate(function(e){return Array.from(this._chunks,e)},"Module.mapChunks: Use Array.from(module.chunksIterable, fn) instead")});Object.defineProperty(Module.prototype,"entry",{configurable:false,get(){throw new Error("Module.entry was removed. Use Chunk.entryModule")},set(){throw new Error("Module.entry was removed. Use Chunk.entryModule")}});Object.defineProperty(Module.prototype,"meta",{configurable:false,get:r.deprecate(function(){return this.buildMeta},"Module.meta was renamed to Module.buildMeta"),set:r.deprecate(function(e){this.buildMeta=e},"Module.meta was renamed to Module.buildMeta")});Module.prototype.identifier=null;Module.prototype.readableIdentifier=null;Module.prototype.build=null;Module.prototype.source=null;Module.prototype.size=null;Module.prototype.nameForCondition=null;Module.prototype.chunkCondition=null;Module.prototype.updateCacheModule=null;e.exports=Module},72:(e,t,n)=>{"use strict";const r=n(391);const{cutOffLoaderExecution:s}=n(140);class ModuleBuildError extends r{constructor(e,t,{from:n=null}={}){let r="Module build failed";let i=undefined;if(n){r+=` (from ${n}):\n`}else{r+=": "}if(t!==null&&typeof t==="object"){if(typeof t.stack==="string"&&t.stack){const e=s(t.stack);if(!t.hideStack){r+=e}else{i=e;if(typeof t.message==="string"&&t.message){r+=t.message}else{r+=t}}}else if(typeof t.message==="string"&&t.message){r+=t.message}else{r+=t}}else{r=t}super(r);this.name="ModuleBuildError";this.details=i;this.module=e;this.error=t;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleBuildError},528:(e,t,n)=>{"use strict";const r=n(391);const{cleanUp:s}=n(140);class ModuleError extends r{constructor(e,t,{from:n=null}={}){let r="Module Error";if(n){r+=` (from ${n}):\n`}else{r+=": "}if(t&&typeof t==="object"&&t.message){r+=t.message}else if(t){r+=t}super(r);this.name="ModuleError";this.module=e;this.error=t;this.details=t&&typeof t==="object"&&t.stack?s(t.stack,this.message):undefined;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleError},500:(e,t,n)=>{"use strict";const r=n(391);class ModuleParseError extends r{constructor(e,t,n,r){let s="Module parse failed: "+n.message;let i=undefined;if(r.length>=1){s+=`\nFile was processed with these loaders:${r.map(e=>`\n * ${e}`).join("")}`;s+="\nYou may need an additional loader to handle the result of these loaders."}else{s+="\nYou may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders"}if(n.loc&&typeof n.loc==="object"&&typeof n.loc.line==="number"){var o=n.loc.line;if(/[\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007]/.test(t)){s+="\n(Source code omitted for this binary file)"}else{const e=t.split(/\r?\n/);const n=Math.max(0,o-3);const r=e.slice(n,o-1);const i=e[o-1];const u=e.slice(o,o+2);s+=r.map(e=>`\n| ${e}`).join("")+`\n> ${i}`+u.map(e=>`\n| ${e}`).join("")}i=n.loc}else{s+="\n"+n.stack}super(s);this.name="ModuleParseError";this.module=e;this.loc=i;this.error=n;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleParseError},576:e=>{"use strict";class ModuleReason{constructor(e,t,n){this.module=e;this.dependency=t;this.explanation=n;this._chunks=null}hasChunk(e){if(this._chunks){if(this._chunks.has(e))return true}else if(this.module&&this.module._chunks.has(e))return true;return false}rewriteChunks(e,t){if(!this._chunks){if(this.module){if(!this.module._chunks.has(e))return;this._chunks=new Set(this.module._chunks)}else{this._chunks=new Set}}if(this._chunks.has(e)){this._chunks.delete(e);for(let e=0;e{"use strict";const r=n(391);const{cleanUp:s}=n(140);class ModuleWarning extends r{constructor(e,t,{from:n=null}={}){let r="Module Warning";if(n){r+=` (from ${n}):\n`}else{r+=": "}if(t&&typeof t==="object"&&t.message){r+=t.message}else if(t){r+=t}super(r);this.name="ModuleWarning";this.module=e;this.warning=t;this.details=t&&typeof t==="object"&&t.stack?s(t.stack,this.message):undefined;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleWarning},963:(e,t,n)=>{"use strict";const r=n(282);const{CachedSource:s,LineToLineMappedSource:i,OriginalSource:o,RawSource:u,SourceMapSource:a}=n(665);const{getContext:d,runLoaders:c}=n(278);const l=n(391);const f=n(993);const h=n(500);const p=n(72);const g=n(528);const y=n(372);const m=n(660);const _=n(658).tR;const w=e=>{if(Buffer.isBuffer(e)){return e.toString("utf-8")}return e};const b=e=>{if(!Buffer.isBuffer(e)){return Buffer.from(e,"utf-8")}return e};class NonErrorEmittedError extends l{constructor(e){super();this.name="NonErrorEmittedError";this.message="(Emitted value instead of an instance of Error) "+e;Error.captureStackTrace(this,this.constructor)}}class NormalModule extends f{constructor({type:e,request:t,userRequest:n,rawRequest:r,loaders:s,resource:i,matchResource:o,parser:u,generator:a,resolveOptions:c}){super(e,d(i));this.request=t;this.userRequest=n;this.rawRequest=r;this.binary=e.startsWith("webassembly");this.parser=u;this.generator=a;this.resource=i;this.matchResource=o;this.loaders=s;if(c!==undefined)this.resolveOptions=c;this.error=null;this._source=null;this._sourceSize=null;this._buildHash="";this.buildTimestamp=undefined;this._cachedSources=new Map;this.useSourceMap=false;this.lineToLine=false;this._lastSuccessfulBuildMeta={}}identifier(){return this.request}readableIdentifier(e){return e.shorten(this.userRequest)}libIdent(e){return _(e.context,this.userRequest)}nameForCondition(){const e=this.matchResource||this.resource;const t=e.indexOf("?");if(t>=0)return e.substr(0,t);return e}updateCacheModule(e){this.type=e.type;this.request=e.request;this.userRequest=e.userRequest;this.rawRequest=e.rawRequest;this.parser=e.parser;this.generator=e.generator;this.resource=e.resource;this.matchResource=e.matchResource;this.loaders=e.loaders;this.resolveOptions=e.resolveOptions}createSourceForAsset(e,t,n){if(!n){return new u(t)}if(typeof n==="string"){return new o(t,n)}return new a(t,e,n)}createLoaderContext(e,t,n,s){const i=n.runtimeTemplate.requestShortener;const o=()=>{const e=this.getCurrentLoader(u);if(!e)return"(not in loader scope)";return i.shorten(e.loader)};const u={version:2,emitWarning:e=>{if(!(e instanceof Error)){e=new NonErrorEmittedError(e)}this.warnings.push(new y(this,e,{from:o()}))},emitError:e=>{if(!(e instanceof Error)){e=new NonErrorEmittedError(e)}this.errors.push(new g(this,e,{from:o()}))},getLogger:e=>{const t=this.getCurrentLoader(u);return n.getLogger(()=>[t&&t.loader,e,this.identifier()].filter(Boolean).join("|"))},exec:(e,t)=>{const n=new r(t,this);n.paths=r._nodeModulePaths(this.context);n.filename=t;n._compile(e,t);return n.exports},resolve(t,n,r){e.resolve({},t,n,{},r)},getResolve(t){const n=t?e.withOptions(t):e;return(e,t,r)=>{if(r){n.resolve({},e,t,{},r)}else{return new Promise((r,s)=>{n.resolve({},e,t,{},(e,t)=>{if(e)s(e);else r(t)})})}}},emitFile:(e,t,n,r)=>{if(!this.buildInfo.assets){this.buildInfo.assets=Object.create(null);this.buildInfo.assetsInfo=new Map}this.buildInfo.assets[e]=this.createSourceForAsset(e,t,n);this.buildInfo.assetsInfo.set(e,r)},rootContext:t.context,webpack:true,sourceMap:!!this.useSourceMap,mode:t.mode||"production",_module:this,_compilation:n,_compiler:n.compiler,fs:s};n.hooks.normalModuleLoader.call(u,this);if(t.loader){Object.assign(u,t.loader)}return u}getCurrentLoader(e,t=e.loaderIndex){if(this.loaders&&this.loaders.length&&t=0&&this.loaders[t]){return this.loaders[t]}return null}createSource(e,t,n){if(!this.identifier){return new u(e)}const r=this.identifier();if(this.lineToLine&&t){return new i(e,r,w(t))}if(this.useSourceMap&&n){return new a(e,r,n)}if(Buffer.isBuffer(e)){return new u(e)}return new o(e,r)}doBuild(e,t,n,r,s){const i=this.createLoaderContext(n,e,t,r);c({resource:this.resource,loaders:this.loaders,context:i,readResource:r.readFile.bind(r)},(e,n)=>{if(n){this.buildInfo.cacheable=n.cacheable;this.buildInfo.fileDependencies=new Set(n.fileDependencies);this.buildInfo.contextDependencies=new Set(n.contextDependencies)}if(e){if(!(e instanceof Error)){e=new NonErrorEmittedError(e)}const n=this.getCurrentLoader(i);const r=new p(this,e,{from:n&&t.runtimeTemplate.requestShortener.shorten(n.loader)});return s(r)}const r=n.resourceBuffer;const o=n.result[0];const u=n.result.length>=1?n.result[1]:null;const a=n.result.length>=2?n.result[2]:null;if(!Buffer.isBuffer(o)&&typeof o!=="string"){const e=this.getCurrentLoader(i,0);const n=new Error(`Final loader (${e?t.runtimeTemplate.requestShortener.shorten(e.loader):"unknown"}) didn't return a Buffer or String`);const r=new p(this,n);return s(r)}this._source=this.createSource(this.binary?b(o):w(o),r,u);this._sourceSize=null;this._ast=typeof a==="object"&&a!==null&&a.webpackAST!==undefined?a.webpackAST:null;return s()})}markModuleAsErrored(e){this.buildMeta=Object.assign({},this._lastSuccessfulBuildMeta);this.error=e;this.errors.push(this.error);this._source=new u("throw new Error("+JSON.stringify(this.error.message)+");");this._sourceSize=null;this._ast=null}applyNoParseRule(e,t){if(typeof e==="string"){return t.indexOf(e)===0}if(typeof e==="function"){return e(t)}return e.test(t)}shouldPreventParsing(e,t){if(!e){return false}if(!Array.isArray(e)){return this.applyNoParseRule(e,t)}for(let n=0;n{this._cachedSources.clear();if(n){this.markModuleAsErrored(n);this._initBuildHash(t);return s()}const r=e.module&&e.module.noParse;if(this.shouldPreventParsing(r,this.request)){this._initBuildHash(t);return s()}const i=n=>{const r=this._source.source();const i=this.loaders.map(t=>_(e.context,t.loader));const o=new h(this,r,n,i);this.markModuleAsErrored(o);this._initBuildHash(t);return s()};const o=e=>{this._lastSuccessfulBuildMeta=this.buildMeta;this._initBuildHash(t);return s()};try{const n=this.parser.parse(this._ast||this._source.source(),{current:this,module:this,compilation:t,options:e},(e,t)=>{if(e){i(e)}else{o(t)}});if(n!==undefined){o(n)}}catch(e){i(e)}})}getHashDigest(e){let t=e.get("hash");return`${this.hash}-${t}`}source(e,t,n="javascript"){const r=this.getHashDigest(e);const i=this._cachedSources.get(n);if(i!==undefined&&i.hash===r){return i.source}const o=this.generator.generate(this,e,t,n);const u=new s(o);this._cachedSources.set(n,{source:u,hash:r});return u}originalSource(){return this._source}needRebuild(e,t){if(this.error)return true;if(!this.buildInfo.cacheable)return true;for(const t of this.buildInfo.fileDependencies){const n=e.get(t);if(!n)return true;if(n>=this.buildTimestamp)return true}for(const e of this.buildInfo.contextDependencies){const n=t.get(e);if(!n)return true;if(n>=this.buildTimestamp)return true}return false}size(){if(this._sourceSize===null){this._sourceSize=this._source?this._source.size():-1}return this._sourceSize}updateHash(e){e.update(this._buildHash);super.updateHash(e)}}e.exports=NormalModule},66:(e,t,n)=>{const{ConcatSource:r}=n(665);const s=n(782);const i="a".charCodeAt(0);const o="A".charCodeAt(0);const u="z".charCodeAt(0)-i+1;const a=/^function\s?\(\)\s?\{\r?\n?|\r?\n?\}$/g;const d=/^\t/gm;const c=/\r?\n/g;const l=/^([^a-zA-Z$_])/;const f=/[^a-zA-Z0-9$]+/g;const h=/\*\//g;const p=/[^a-zA-Z0-9_!§$()=\-^°]+/g;const g=/^-|-$/g;const y=(e,t)=>{const n=e.id+"";const r=t.id+"";if(nr)return 1;return 0};class Template{static getFunctionContent(e){return e.toString().replace(a,"").replace(d,"").replace(c,"\n")}static toIdentifier(e){if(typeof e!=="string")return"";return e.replace(l,"_$1").replace(f,"_")}static toComment(e){if(!e)return"";return`/*! ${e.replace(h,"* /")} */`}static toNormalComment(e){if(!e)return"";return`/* ${e.replace(h,"* /")} */`}static toPath(e){if(typeof e!=="string")return"";return e.replace(p,"-").replace(g,"")}static numberToIdentifer(e){if(er.id)n=r.id}if(n<16+(""+n).length){n=0}const r=e.map(e=>(e.id+"").length+2).reduce((e,t)=>e+t,-1);const s=n===0?t:16+(""+n).length+t;return s{return{id:t.id,source:n.render(t,i,{chunk:e})}});if(d&&d.length>0){for(const e of d){c.push({id:e,source:"false"})}}const l=Template.getModulesArrayBounds(c);if(l){const e=l[0];const t=l[1];if(e!==0){u.add(`Array(${e}).concat(`)}u.add("[\n");const n=new Map;for(const e of c){n.set(e.id,e)}for(let r=e;r<=t;r++){const t=n.get(r);if(r!==e){u.add(",\n")}u.add(`/* ${r} */`);if(t){u.add("\n");u.add(t.source)}}u.add("\n"+o+"]");if(e!==0){u.add(")")}}else{u.add("{\n");c.sort(y).forEach((e,t)=>{if(t!==0){u.add(",\n")}u.add(`\n/***/ ${JSON.stringify(e.id)}:\n`);u.add(e.source)});u.add(`\n\n${o}}`)}return u}}e.exports=Template},391:(e,t,n)=>{"use strict";const r=n(669).inspect.custom;class WebpackError extends Error{constructor(e){super(e);this.details=undefined;this.missing=undefined;this.origin=undefined;this.dependencies=undefined;this.module=undefined;Error.captureStackTrace(this,this.constructor)}[r](){return this.stack+(this.details?`\n${this.details}`:"")}}e.exports=WebpackError},562:e=>{"use strict";e.exports=((e,t)=>{if(typeof e==="string"){if(typeof t==="string"){if(et)return 1;return 0}else if(typeof t==="object"){return 1}else{return 0}}else if(typeof e==="object"){if(typeof t==="string"){return-1}else if(typeof t==="object"){if("start"in e&&"start"in t){const n=e.start;const r=t.start;if(n.liner.line)return 1;if(n.columnr.column)return 1}if("name"in e&&"name"in t){if(e.namet.name)return 1}if("index"in e&&"index"in t){if(e.indext.index)return 1}return 0}else{return 0}}})},262:(e,t)=>{"use strict";var n;const r=e=>{if(e.length===0)return new Set;if(e.length===1)return new Set(e[0]);let t=Infinity;let n=-1;for(let r=0;r{if(e.size{"use strict";class SortableSet extends Set{constructor(e,t){super(e);this._sortFn=t;this._lastActiveSortFn=null;this._cache=undefined;this._cacheOrderIndependent=undefined}add(e){this._lastActiveSortFn=null;this._invalidateCache();this._invalidateOrderedCache();super.add(e);return this}delete(e){this._invalidateCache();this._invalidateOrderedCache();return super.delete(e)}clear(){this._invalidateCache();this._invalidateOrderedCache();return super.clear()}sortWith(e){if(this.size<=1||e===this._lastActiveSortFn){return}const t=Array.from(this).sort(e);super.clear();for(let e=0;e{"use strict";const r=n(104);const s=1e3;class Hash{update(e,t){throw new r}digest(e){throw new r}}t.Hash=Hash;class BulkUpdateDecorator extends Hash{constructor(e){super();this.hash=e;this.buffer=""}update(e,t){if(t!==undefined||typeof e!=="string"||e.length>s){if(this.buffer.length>0){this.hash.update(this.buffer);this.buffer=""}this.hash.update(e,t)}else{this.buffer+=e;if(this.buffer.length>s){this.hash.update(this.buffer);this.buffer=""}}return this}digest(e){if(this.buffer.length>0){this.hash.update(this.buffer)}var t=this.hash.digest(e);return typeof t==="string"?t:t.toString()}}class DebugHash extends Hash{constructor(){super();this.string=""}update(e,t){if(typeof e!=="string")e=e.toString("utf-8");this.string+=e;return this}digest(e){return this.string.replace(/[^a-z0-9]+/gi,e=>Buffer.from(e).toString("hex"))}}e.exports=(e=>{if(typeof e==="function"){return new BulkUpdateDecorator(new e)}switch(e){case"debug":return new DebugHash;default:return new BulkUpdateDecorator(n(417).createHash(e))}})},658:(e,t,n)=>{"use strict";var r;const s=n(622);const i=(e,t)=>{if(t.startsWith("./")||t.startsWith("../"))return s.join(e,t);return t};const o=e=>{if(/^\/.*\/$/.test(e)){return false}return/^(?:[a-z]:\\|\/)/i.test(e)};const u=e=>e.replace(/\\/g,"/");const a=(e,t)=>{return t.split(/([|! ])/).map(t=>o(t)?u(s.relative(e,t)):t).join("")};r=((e,t,n)=>{if(!n)return a(e,t);const r=n.relativePaths||(n.relativePaths=new Map);let s;let i=r.get(e);if(i===undefined){r.set(e,i=new Map)}else{s=i.get(t)}if(s!==undefined){return s}else{const n=a(e,t);i.set(t,n);return n}});t.tR=((e,t)=>{return t.split("!").map(t=>{const n=t.split("?",2);if(/^[a-zA-Z]:\\/.test(n[0])){n[0]=s.win32.relative(e,n[0]);if(!/^[a-zA-Z]:\\/.test(n[0])){n[0]=n[0].replace(/\\/g,"/")}}if(/^\//.test(n[0])){n[0]=s.posix.relative(e,n[0])}if(!/^(\.\.\/|\/|[a-zA-Z]:\\)/.test(n[0])){n[0]="./"+n[0]}return n.join("?")}).join("!")});const d=(e,t)=>{return t.split("!").map(t=>i(e,t)).join("!")};r=d},417:e=>{"use strict";e.exports=require("crypto")},747:e=>{"use strict";e.exports=require("fs")},282:e=>{"use strict";e.exports=require("module")},286:e=>{"use strict";e.exports=require("next/dist/compiled/schema-utils3")},665:e=>{"use strict";e.exports=require("next/dist/compiled/webpack-sources")},515:e=>{"use strict";e.exports=require("next/dist/compiled/webpack/webpack")},622:e=>{"use strict";e.exports=require("path")},669:e=>{"use strict";e.exports=require("util")}};var t={};function __nccwpck_require__(n){if(t[n]){return t[n].exports}var r=t[n]={exports:{}};var s=true;try{e[n](r,r.exports,__nccwpck_require__);s=false}finally{if(s)delete t[n]}return r.exports}__nccwpck_require__.ab=__dirname+"/";return __nccwpck_require__(105)})(); \ No newline at end of file +module.exports=(()=>{var e={798:e=>{"use strict";e.exports=JSON.parse('{"type":"object","additionalProperties":false,"properties":{"filename":{"anyOf":[{"type":"string"},{"instanceof":"Function"}]},"chunkFilename":{"anyOf":[{"type":"string"},{"instanceof":"Function"}]},"experimentalUseImportModule":{"description":"Enable the experimental importModule approach instead of using child compilers. This uses less memory and is faster.","type":"boolean"},"ignoreOrder":{"type":"boolean"},"insert":{"description":"Inserts `` at the given position (https://github.com/webpack-contrib/mini-css-extract-plugin#insert).","anyOf":[{"type":"string"},{"instanceof":"Function"}]},"attributes":{"description":"Adds custom attributes to tag (https://github.com/webpack-contrib/mini-css-extract-plugin#attributes).","type":"object"},"linkType":{"anyOf":[{"enum":["text/css"]},{"type":"boolean"}]}}}')},736:e=>{"use strict";class LoadingLoaderError extends Error{constructor(e){super(e);this.name="LoaderRunnerError";Error.captureStackTrace(this,this.constructor)}}e.exports=LoadingLoaderError},278:(e,t,n)=>{var r=n(747);var s=r.readFile.bind(r);var i=n(384);function utf8BufferToString(e){var t=e.toString("utf-8");if(t.charCodeAt(0)===65279){return t.substr(1)}else{return t}}function splitQuery(e){var t=e.indexOf("?");if(t<0)return[e,""];return[e.substr(0,t),e.substr(t)]}function dirname(e){if(e==="/")return"/";var t=e.lastIndexOf("/");var n=e.lastIndexOf("\\");var r=e.indexOf("/");var s=e.indexOf("\\");var i=t>n?t:n;var o=t>n?r:s;if(i<0)return e;if(i===o)return e.substr(0,i+1);return e.substr(0,i)}function createLoaderObject(e){var t={path:null,query:null,options:null,ident:null,normal:null,pitch:null,raw:null,data:null,pitchExecuted:false,normalExecuted:false};Object.defineProperty(t,"request",{enumerable:true,get:function(){return t.path+t.query},set:function(e){if(typeof e==="string"){var n=splitQuery(e);t.path=n[0];t.query=n[1];t.options=undefined;t.ident=undefined}else{if(!e.loader)throw new Error("request should be a string or object with loader and object ("+JSON.stringify(e)+")");t.path=e.loader;t.options=e.options;t.ident=e.ident;if(t.options===null)t.query="";else if(t.options===undefined)t.query="";else if(typeof t.options==="string")t.query="?"+t.options;else if(t.ident)t.query="??"+t.ident;else if(typeof t.options==="object"&&t.options.ident)t.query="??"+t.options.ident;else t.query="?"+JSON.stringify(t.options)}}});t.request=e;if(Object.preventExtensions){Object.preventExtensions(t)}return t}function runSyncOrAsync(e,t,n,r){var s=true;var i=false;var o=false;var u=false;t.async=function async(){if(i){if(u)return;throw new Error("async(): The callback was already called.")}s=false;return a};var a=t.callback=function(){if(i){if(u)return;throw new Error("callback(): The callback was already called.")}i=true;s=false;try{r.apply(null,arguments)}catch(e){o=true;throw e}};try{var d=function LOADER_EXECUTION(){return e.apply(t,n)}();if(s){i=true;if(d===undefined)return r();if(d&&typeof d==="object"&&typeof d.then==="function"){return d.then(function(e){r(null,e)},r)}return r(null,d)}}catch(e){if(o)throw e;if(i){if(typeof e==="object"&&e.stack)console.error(e.stack);else console.error(e);return}i=true;u=true;r(e)}}function convertArgs(e,t){if(!t&&Buffer.isBuffer(e[0]))e[0]=utf8BufferToString(e[0]);else if(t&&typeof e[0]==="string")e[0]=new Buffer(e[0],"utf-8")}function iteratePitchingLoaders(e,t,n){if(t.loaderIndex>=t.loaders.length)return processResource(e,t,n);var r=t.loaders[t.loaderIndex];if(r.pitchExecuted){t.loaderIndex++;return iteratePitchingLoaders(e,t,n)}i(r,function(s){if(s){t.cacheable(false);return n(s)}var i=r.pitch;r.pitchExecuted=true;if(!i)return iteratePitchingLoaders(e,t,n);runSyncOrAsync(i,t,[t.remainingRequest,t.previousRequest,r.data={}],function(r){if(r)return n(r);var s=Array.prototype.slice.call(arguments,1);if(s.length>0){t.loaderIndex--;iterateNormalLoaders(e,t,s,n)}else{iteratePitchingLoaders(e,t,n)}})})}function processResource(e,t,n){t.loaderIndex=t.loaders.length-1;var r=t.resourcePath;if(r){t.addDependency(r);e.readResource(r,function(r,s){if(r)return n(r);e.resourceBuffer=s;iterateNormalLoaders(e,t,[s],n)})}else{iterateNormalLoaders(e,t,[null],n)}}function iterateNormalLoaders(e,t,n,r){if(t.loaderIndex<0)return r(null,n);var s=t.loaders[t.loaderIndex];if(s.normalExecuted){t.loaderIndex--;return iterateNormalLoaders(e,t,n,r)}var i=s.normal;s.normalExecuted=true;if(!i){return iterateNormalLoaders(e,t,n,r)}convertArgs(n,s.raw);runSyncOrAsync(i,t,n,function(n){if(n)return r(n);var s=Array.prototype.slice.call(arguments,1);iterateNormalLoaders(e,t,s,r)})}t.getContext=function getContext(e){var t=splitQuery(e);return dirname(t[0])};t.runLoaders=function runLoaders(e,t){var n=e.resource||"";var r=e.loaders||[];var i=e.context||{};var o=e.readResource||s;var u=n&&splitQuery(n);var a=u?u[0]:undefined;var d=u?u[1]:undefined;var c=a?dirname(a):null;var l=true;var f=[];var h=[];r=r.map(createLoaderObject);i.context=c;i.loaderIndex=0;i.loaders=r;i.resourcePath=a;i.resourceQuery=d;i.async=null;i.callback=null;i.cacheable=function cacheable(e){if(e===false){l=false}};i.dependency=i.addDependency=function addDependency(e){f.push(e)};i.addContextDependency=function addContextDependency(e){h.push(e)};i.getDependencies=function getDependencies(){return f.slice()};i.getContextDependencies=function getContextDependencies(){return h.slice()};i.clearDependencies=function clearDependencies(){f.length=0;h.length=0;l=true};Object.defineProperty(i,"resource",{enumerable:true,get:function(){if(i.resourcePath===undefined)return undefined;return i.resourcePath+i.resourceQuery},set:function(e){var t=e&&splitQuery(e);i.resourcePath=t?t[0]:undefined;i.resourceQuery=t?t[1]:undefined}});Object.defineProperty(i,"request",{enumerable:true,get:function(){return i.loaders.map(function(e){return e.request}).concat(i.resource||"").join("!")}});Object.defineProperty(i,"remainingRequest",{enumerable:true,get:function(){if(i.loaderIndex>=i.loaders.length-1&&!i.resource)return"";return i.loaders.slice(i.loaderIndex+1).map(function(e){return e.request}).concat(i.resource||"").join("!")}});Object.defineProperty(i,"currentRequest",{enumerable:true,get:function(){return i.loaders.slice(i.loaderIndex).map(function(e){return e.request}).concat(i.resource||"").join("!")}});Object.defineProperty(i,"previousRequest",{enumerable:true,get:function(){return i.loaders.slice(0,i.loaderIndex).map(function(e){return e.request}).join("!")}});Object.defineProperty(i,"query",{enumerable:true,get:function(){var e=i.loaders[i.loaderIndex];return e.options&&typeof e.options==="object"?e.options:e.query}});Object.defineProperty(i,"data",{enumerable:true,get:function(){return i.loaders[i.loaderIndex].data}});if(Object.preventExtensions){Object.preventExtensions(i)}var p={resourceBuffer:null,readResource:o};iteratePitchingLoaders(p,i,function(e,n){if(e){return t(e,{cacheable:l,fileDependencies:f,contextDependencies:h})}t(null,{result:n,resourceBuffer:p.resourceBuffer,cacheable:l,fileDependencies:f,contextDependencies:h})})}},384:(e,t,n)=>{var r=n(736);e.exports=function loadLoader(e,t){if(typeof System==="object"&&typeof System.import==="function"){System.import(e.path).catch(t).then(function(n){e.normal=typeof n==="function"?n:n.default;e.pitch=n.pitch;e.raw=n.raw;if(typeof e.normal!=="function"&&typeof e.pitch!=="function"){return t(new r("Module '"+e.path+"' is not a loader (must have normal or pitch function)"))}t()})}else{try{var n=require(e.path)}catch(n){if(n instanceof Error&&n.code==="EMFILE"){var s=loadLoader.bind(null,e,t);if(typeof setImmediate==="function"){return setImmediate(s)}else{return process.nextTick(s)}}return t(n)}if(typeof n!=="function"&&typeof n!=="object"){return t(new r("Module '"+e.path+"' is not a loader (export function or es6 module)"))}e.normal=typeof n==="function"?n:n.default;e.pitch=n.pitch;e.raw=n.raw;if(typeof e.normal!=="function"&&typeof e.pitch!=="function"){return t(new r("Module '"+e.path+"' is not a loader (must have normal or pitch function)"))}t()}}},105:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=t.pluginSymbol=t.pluginName=void 0;var r=n(286);var s=_interopRequireDefault(n(798));var i=n(958);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const o="mini-css-extract-plugin";t.pluginName=o;const u=Symbol(o);t.pluginSymbol=u;const a=/\[chunkhash(?::(\d+))?\]/i;const d=/\[contenthash(?::(\d+))?\]/i;const c=/\[name\]/i;const l="[name].css";const f=new Set([i.MODULE_TYPE]);const h={sources:new Map,runtimeRequirements:new Set};const p=new WeakMap;const g=new WeakMap;class MiniCssExtractPlugin{static getCssModule(e){if(p.has(e)){return p.get(e)}class CssModule extends e.Module{constructor({context:e,identifier:t,identifierIndex:n,content:r,media:s,sourceMap:o,assets:u,assetsInfo:a}){super(i.MODULE_TYPE,e);this.id="";this._context=e;this._identifier=t;this._identifierIndex=n;this.content=r;this.media=s;this.sourceMap=o;this.buildInfo={assets:u,assetsInfo:a};this.buildMeta={}}size(){return this.content.length}identifier(){return`css|${this._identifier}|${this._identifierIndex}`}readableIdentifier(e){return`css ${e.shorten(this._identifier)}${this._identifierIndex?` (${this._identifierIndex})`:""}`}getSourceTypes(){return f}codeGeneration(){return h}nameForCondition(){const e=this._identifier.split("!").pop();const t=e.indexOf("?");if(t>=0){return e.substring(0,t)}return e}updateCacheModule(e){this.content=e.content;this.media=e.media;this.sourceMap=e.sourceMap}needRebuild(){return true}needBuild(e,t){t(null,false)}build(e,t,n,r,s){this.buildInfo={};this.buildMeta={};s()}updateHash(e,t){super.updateHash(e,t);e.update(this.content);e.update(this.media||"");e.update(this.sourceMap?JSON.stringify(this.sourceMap):"")}serialize(e){const{write:t}=e;t(this._context);t(this._identifier);t(this._identifierIndex);t(this.content);t(this.media);t(this.sourceMap);t(this.buildInfo);super.serialize(e)}deserialize(e){super.deserialize(e)}}p.set(e,CssModule);if(e.util&&e.util.serialization&&e.util.serialization.register){e.util.serialization.register(CssModule,"mini-css-extract-plugin/dist/CssModule",null,{serialize(e,t){e.serialize(t)},deserialize(e){const{read:t}=e;const n=t();const r=t();const s=t();const i=t();const o=t();const u=t();const{assets:a,assetsInfo:d}=t();const c=new CssModule({context:n,identifier:r,identifierIndex:s,content:i,media:o,sourceMap:u,assets:a,assetsInfo:d});c.deserialize(e);return c}})}return CssModule}static getCssDependency(e){if(g.has(e)){return g.get(e)}class CssDependency extends e.Dependency{constructor({identifier:e,content:t,media:n,sourceMap:r},s,i){super();this.identifier=e;this.identifierIndex=i;this.content=t;this.media=n;this.sourceMap=r;this.context=s;this.assets=undefined;this.assetsInfo=undefined}getResourceIdentifier(){return`css-module-${this.identifier}-${this.identifierIndex}`}getModuleEvaluationSideEffectsState(){return e.ModuleGraphConnection.TRANSITIVE_ONLY}serialize(e){const{write:t}=e;t(this.identifier);t(this.content);t(this.media);t(this.sourceMap);t(this.context);t(this.identifierIndex);t(this.assets);t(this.assetsInfo);super.serialize(e)}deserialize(e){super.deserialize(e)}}g.set(e,CssDependency);if(e.util&&e.util.serialization&&e.util.serialization.register){e.util.serialization.register(CssDependency,"mini-css-extract-plugin/dist/CssDependency",null,{serialize(e,t){e.serialize(t)},deserialize(e){const{read:t}=e;const n=new CssDependency({identifier:t(),content:t(),media:t(),sourceMap:t()},t(),t());const r=t();const s=t();n.assets=r;n.assetsInfo=s;n.deserialize(e);return n}})}return CssDependency}constructor(e={}){(0,r.validate)(s.default,e,{name:"Mini CSS Extract Plugin",baseDataPath:"options"});this._sortedModulesCache=new WeakMap;this.options=Object.assign({filename:l,ignoreOrder:false,experimentalUseImportModule:false},e);this.runtimeOptions={insert:e.insert,linkType:e.linkType===true||typeof e.linkType==="undefined"?"text/css":e.linkType,attributes:e.attributes};if(!this.options.chunkFilename){const{filename:e}=this.options;if(typeof e!=="function"){const t=e.includes("[name]");const n=e.includes("[id]");const r=e.includes("[chunkhash]");const s=e.includes("[contenthash]");if(r||s||t||n){this.options.chunkFilename=e}else{this.options.chunkFilename=e.replace(/(^|\/)([^/]*(?:\?|$))/,"$1[id].$2")}}else{this.options.chunkFilename="[id].css"}}}apply(e){const t=e.webpack?e.webpack:n(619);if(this.options.experimentalUseImportModule){if(!e.options.experiments){throw new Error("experimentalUseImportModule is only support for webpack >= 5.32.0")}if(typeof e.options.experiments.executeModule==="undefined"){e.options.experiments.executeModule=true}}if(t.util&&t.util.serialization&&t.util.serialization.registerLoader){t.util.serialization.registerLoader(/^mini-css-extract-plugin\//,()=>true)}const r=e.webpack?false:typeof e.resolvers!=="undefined";if(!r){const{splitChunks:t}=e.options.optimization;if(t){if(t.defaultSizeTypes.includes("...")){t.defaultSizeTypes.push(i.MODULE_TYPE)}}}const s=MiniCssExtractPlugin.getCssModule(t);const l=MiniCssExtractPlugin.getCssDependency(t);const f=e.webpack&&e.webpack.NormalModule?e.webpack.NormalModule:n(963);e.hooks.compilation.tap(o,e=>{const t=typeof f.getCompilationHooks!=="undefined"?f.getCompilationHooks(e).loader:e.hooks.normalModuleLoader;t.tap(o,e=>{e[u]={experimentalUseImportModule:this.options.experimentalUseImportModule}})});e.hooks.thisCompilation.tap(o,n=>{class CssModuleFactory{create({dependencies:[e]},t){t(null,new s(e))}}n.dependencyFactories.set(l,new CssModuleFactory);class CssDependencyTemplate{apply(){}}n.dependencyTemplates.set(l,new CssDependencyTemplate);if(r){n.mainTemplate.hooks.renderManifest.tap(o,(t,{chunk:r})=>{const{chunkGraph:s}=n;const u=Array.from(this.getChunkModules(r,s)).filter(e=>e.type===i.MODULE_TYPE);const a=r.filenameTemplate||this.options.filename;if(u.length>0){t.push({render:()=>this.renderContentAsset(e,n,r,u,n.runtimeTemplate.requestShortener),filenameTemplate:a,pathOptions:{chunk:r,contentHashType:i.MODULE_TYPE},identifier:`${o}.${r.id}`,hash:r.contentHash[i.MODULE_TYPE]})}});n.chunkTemplate.hooks.renderManifest.tap(o,(t,{chunk:r})=>{const{chunkGraph:s}=n;const u=Array.from(this.getChunkModules(r,s)).filter(e=>e.type===i.MODULE_TYPE);const a=r.filenameTemplate||this.options.chunkFilename;if(u.length>0){t.push({render:()=>this.renderContentAsset(e,n,r,u,n.runtimeTemplate.requestShortener),filenameTemplate:a,pathOptions:{chunk:r,contentHashType:i.MODULE_TYPE},identifier:`${o}.${r.id}`,hash:r.contentHash[i.MODULE_TYPE]})}})}else{n.hooks.renderManifest.tap(o,(r,{chunk:s})=>{const{chunkGraph:u}=n;const{HotUpdateChunk:a}=t;if(s instanceof a){return}const d=Array.from(this.getChunkModules(s,u)).filter(e=>e.type===i.MODULE_TYPE);const c=s.canBeInitial()?this.options.filename:this.options.chunkFilename;if(d.length>0){r.push({render:()=>this.renderContentAsset(e,n,s,d,n.runtimeTemplate.requestShortener),filenameTemplate:c,pathOptions:{chunk:s,contentHashType:i.MODULE_TYPE},identifier:`${o}.${s.id}`,hash:s.contentHash[i.MODULE_TYPE]})}})}if(r){n.mainTemplate.hooks.hashForChunk.tap(o,(e,t)=>{const{chunkFilename:n}=this.options;if(a.test(n)){e.update(JSON.stringify(t.getChunkMaps(true).hash))}if(d.test(n)){e.update(JSON.stringify(t.getChunkMaps(true).contentHash[i.MODULE_TYPE]||{}))}if(c.test(n)){e.update(JSON.stringify(t.getChunkMaps(true).name))}})}n.hooks.contentHash.tap(o,s=>{const{outputOptions:o,chunkGraph:u}=n;const a=r?Array.from(this.getChunkModules(s,u)).filter(e=>e.type===i.MODULE_TYPE):this.sortModules(n,s,u.getChunkModulesIterableBySourceType(s,i.MODULE_TYPE),n.runtimeTemplate.requestShortener);if(a){const{hashFunction:n,hashDigest:r,hashDigestLength:d}=o;const c=e.webpack?e.webpack.util.createHash:t.util.createHash;const l=c(n);for(const e of a){e.updateHash(l,{chunkGraph:u})}s.contentHash[i.MODULE_TYPE]=l.digest(r).substring(0,d)}});const{Template:u}=t;const{mainTemplate:f}=n;if(r){f.hooks.localVars.tap(o,(e,t)=>{const r=this.getCssChunkObject(t,n);if(Object.keys(r).length>0){return u.asString([e,"","// object to store loaded CSS chunks","var installedCssChunks = {",u.indent(t.ids.map(e=>`${JSON.stringify(e)}: 0`).join(",\n")),"};"])}return e});f.hooks.requireEnsure.tap(o,(e,t,r)=>{const s=this.getCssChunkObject(t,n);if(Object.keys(s).length>0){const n=t.getChunkMaps();const{crossOriginLoading:a}=f.outputOptions;const d=f.getAssetPath(JSON.stringify(this.options.chunkFilename),{hash:`" + ${f.renderCurrentHashCode(r)} + "`,hashWithLength:e=>`" + ${f.renderCurrentHashCode(r,e)} + "`,chunk:{id:'" + chunkId + "',hash:`" + ${JSON.stringify(n.hash)}[chunkId] + "`,hashWithLength(e){const t=Object.create(null);for(const r of Object.keys(n.hash)){if(typeof n.hash[r]==="string"){t[r]=n.hash[r].substring(0,e)}}return`" + ${JSON.stringify(t)}[chunkId] + "`},contentHash:{[i.MODULE_TYPE]:`" + ${JSON.stringify(n.contentHash[i.MODULE_TYPE])}[chunkId] + "`},contentHashWithLength:{[i.MODULE_TYPE]:e=>{const t={};const r=n.contentHash[i.MODULE_TYPE];for(const n of Object.keys(r)){if(typeof r[n]==="string"){t[n]=r[n].substring(0,e)}}return`" + ${JSON.stringify(t)}[chunkId] + "`}},name:`" + (${JSON.stringify(n.name)}[chunkId]||chunkId) + "`},contentHashType:i.MODULE_TYPE});return u.asString([e,"",`// ${o} CSS loading`,`var cssChunks = ${JSON.stringify(s)};`,"if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);","else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {",u.indent(["promises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {",u.indent([`var href = ${d};`,`var fullhref = ${f.requireFn}.p + href;`,'var existingLinkTags = document.getElementsByTagName("link");',"for(var i = 0; i < existingLinkTags.length; i++) {",u.indent(["var tag = existingLinkTags[i];",'var dataHref = tag.getAttribute("data-href") || tag.getAttribute("href");','if(tag.rel === "stylesheet" && (dataHref === href || dataHref === fullhref)) return resolve();']),"}",'var existingStyleTags = document.getElementsByTagName("style");',"for(var i = 0; i < existingStyleTags.length; i++) {",u.indent(["var tag = existingStyleTags[i];",'var dataHref = tag.getAttribute("data-href");',"if(dataHref === href || dataHref === fullhref) return resolve();"]),"}",'var linkTag = document.createElement("link");',this.runtimeOptions.attributes?u.asString(Object.entries(this.runtimeOptions.attributes).map(e=>{const[t,n]=e;return`linkTag.setAttribute(${JSON.stringify(t)}, ${JSON.stringify(n)});`})):"",'linkTag.rel = "stylesheet";',this.runtimeOptions.linkType?`linkTag.type = ${JSON.stringify(this.runtimeOptions.linkType)};`:"","var onLinkComplete = function (event) {",u.indent(["// avoid mem leaks.","linkTag.onerror = linkTag.onload = null;","if (event.type === 'load') {",u.indent(["resolve();"]),"} else {",u.indent(["var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realHref = event && event.target && event.target.href || fullhref;",'var err = new Error("Loading CSS chunk " + chunkId + " failed.\\n(" + realHref + ")");','err.code = "CSS_CHUNK_LOAD_FAILED";',"err.type = errorType;","err.request = realHref;","delete installedCssChunks[chunkId]","linkTag.parentNode.removeChild(linkTag)","reject(err);"]),"}"]),"};","linkTag.onerror = linkTag.onload = onLinkComplete;","linkTag.href = fullhref;",a?u.asString([`if (linkTag.href.indexOf(window.location.origin + '/') !== 0) {`,u.indent(`linkTag.crossOrigin = ${JSON.stringify(a)};`),"}"]):"",typeof this.runtimeOptions.insert!=="undefined"?typeof this.runtimeOptions.insert==="function"?`(${this.runtimeOptions.insert.toString()})(linkTag)`:u.asString([`var target = document.querySelector("${this.runtimeOptions.insert}");`,`target.parentNode.insertBefore(linkTag, target.nextSibling);`]):u.asString(["document.head.appendChild(linkTag);"])]),"}).then(function() {",u.indent(["installedCssChunks[chunkId] = 0;"]),"}));"]),"}"])}return e})}else{const{RuntimeGlobals:e,runtime:r}=t;const s=(e,t)=>{const n={};const{chunkGraph:r}=t;for(const t of e.getAllAsyncChunks()){const e=r.getOrderedChunkModulesIterable(t,i.compareModulesByIdentifier);for(const r of e){if(r.type===i.MODULE_TYPE){n[t.id]=1;break}}}return n};const{RuntimeModule:a}=t;class CssLoadingRuntimeModule extends a{constructor(e,t){super("css loading",10);this.runtimeRequirements=e;this.runtimeOptions=t}generate(){const{chunk:t,runtimeRequirements:n}=this;const{runtimeTemplate:r,outputOptions:{crossOriginLoading:i}}=this.compilation;const o=s(t,this.compilation);const a=n.has(e.ensureChunkHandlers)&&Object.keys(o).length>0;const d=n.has(e.hmrDownloadUpdateHandlers);if(!a&&!d){return null}return u.asString([`var createStylesheet = ${r.basicFunction("chunkId, fullhref, resolve, reject",['var linkTag = document.createElement("link");',this.runtimeOptions.attributes?u.asString(Object.entries(this.runtimeOptions.attributes).map(e=>{const[t,n]=e;return`linkTag.setAttribute(${JSON.stringify(t)}, ${JSON.stringify(n)});`})):"",'linkTag.rel = "stylesheet";',this.runtimeOptions.linkType?`linkTag.type = ${JSON.stringify(this.runtimeOptions.linkType)};`:"",`var onLinkComplete = ${r.basicFunction("event",["// avoid mem leaks.","linkTag.onerror = linkTag.onload = null;","if (event.type === 'load') {",u.indent(["resolve();"]),"} else {",u.indent(["var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realHref = event && event.target && event.target.href || fullhref;",'var err = new Error("Loading CSS chunk " + chunkId + " failed.\\n(" + realHref + ")");','err.code = "CSS_CHUNK_LOAD_FAILED";',"err.type = errorType;","err.request = realHref;","linkTag.parentNode.removeChild(linkTag)","reject(err);"]),"}"])}`,"linkTag.onerror = linkTag.onload = onLinkComplete;","linkTag.href = fullhref;",i?u.asString([`if (linkTag.href.indexOf(window.location.origin + '/') !== 0) {`,u.indent(`linkTag.crossOrigin = ${JSON.stringify(i)};`),"}"]):"",typeof this.runtimeOptions.insert!=="undefined"?typeof this.runtimeOptions.insert==="function"?`(${this.runtimeOptions.insert.toString()})(linkTag)`:u.asString([`var target = document.querySelector("${this.runtimeOptions.insert}");`,`target.parentNode.insertBefore(linkTag, target.nextSibling);`]):u.asString(["document.head.appendChild(linkTag);"]),"return linkTag;"])};`,`var findStylesheet = ${r.basicFunction("href, fullhref",['var existingLinkTags = document.getElementsByTagName("link");',"for(var i = 0; i < existingLinkTags.length; i++) {",u.indent(["var tag = existingLinkTags[i];",'var dataHref = tag.getAttribute("data-href") || tag.getAttribute("href");','if(tag.rel === "stylesheet" && (dataHref === href || dataHref === fullhref)) return tag;']),"}",'var existingStyleTags = document.getElementsByTagName("style");',"for(var i = 0; i < existingStyleTags.length; i++) {",u.indent(["var tag = existingStyleTags[i];",'var dataHref = tag.getAttribute("data-href");',"if(dataHref === href || dataHref === fullhref) return tag;"]),"}"])};`,`var loadStylesheet = ${r.basicFunction("chunkId",`return new Promise(${r.basicFunction("resolve, reject",[`var href = ${e.require}.miniCssF(chunkId);`,`var fullhref = ${e.publicPath} + href;`,"if(findStylesheet(href, fullhref)) return resolve();","createStylesheet(chunkId, fullhref, resolve, reject);"])});`)}`,a?u.asString(["// object to store loaded CSS chunks","var installedCssChunks = {",u.indent(t.ids.map(e=>`${JSON.stringify(e)}: 0`).join(",\n")),"};","",`${e.ensureChunkHandlers}.miniCss = ${r.basicFunction("chunkId, promises",[`var cssChunks = ${JSON.stringify(o)};`,"if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);","else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {",u.indent([`promises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(${r.basicFunction("","installedCssChunks[chunkId] = 0;")}, ${r.basicFunction("e",["delete installedCssChunks[chunkId];","throw e;"])}));`]),"}"])};`]):"// no chunk loading","",d?u.asString(["var oldTags = [];","var newTags = [];",`var applyHandler = ${r.basicFunction("options",[`return { dispose: ${r.basicFunction("",["for(var i = 0; i < oldTags.length; i++) {",u.indent(["var oldTag = oldTags[i];","if(oldTag.parentNode) oldTag.parentNode.removeChild(oldTag);"]),"}","oldTags.length = 0;"])}, apply: ${r.basicFunction("",['for(var i = 0; i < newTags.length; i++) newTags[i].rel = "stylesheet";',"newTags.length = 0;"])} };`])}`,`${e.hmrDownloadUpdateHandlers}.miniCss = ${r.basicFunction("chunkIds, removedChunks, removedModules, promises, applyHandlers, updatedModulesList",["applyHandlers.push(applyHandler);",`chunkIds.forEach(${r.basicFunction("chunkId",[`var href = ${e.require}.miniCssF(chunkId);`,`var fullhref = ${e.publicPath} + href;`,"var oldTag = findStylesheet(href, fullhref);","if(!oldTag) return;",`promises.push(new Promise(${r.basicFunction("resolve, reject",[`var tag = createStylesheet(chunkId, fullhref, ${r.basicFunction("",['tag.as = "style";','tag.rel = "preload";',"resolve();"])}, reject);`,"oldTags.push(oldTag);","newTags.push(tag);"])}));`])});`])}`]):"// no hmr"])}}const d=new WeakSet;const c=(t,s)=>{if(d.has(t)){return}d.add(t);if(typeof this.options.chunkFilename==="string"&&/\[(full)?hash(:\d+)?\]/.test(this.options.chunkFilename)){s.add(e.getFullHash)}s.add(e.publicPath);n.addRuntimeModule(t,new r.GetChunkFilenameRuntimeModule(i.MODULE_TYPE,"mini-css",`${e.require}.miniCssF`,e=>{if(!e.contentHash[i.MODULE_TYPE]){return false}return e.canBeInitial()?this.options.filename:this.options.chunkFilename},true));n.addRuntimeModule(t,new CssLoadingRuntimeModule(s,this.runtimeOptions))};n.hooks.runtimeRequirementInTree.for(e.ensureChunkHandlers).tap(o,c);n.hooks.runtimeRequirementInTree.for(e.hmrDownloadUpdateHandlers).tap(o,c)}})}getChunkModules(e,t){return typeof t!=="undefined"?t.getOrderedChunkModulesIterable(e,i.compareModulesByIdentifier):e.modulesIterable}getCssChunkObject(e,t){const n={};const{chunkGraph:r}=t;for(const t of e.getAllAsyncChunks()){for(const e of this.getChunkModules(t,r)){if(e.type===i.MODULE_TYPE){n[t.id]=1;break}}}return n}sortModules(e,t,n,r){let s=this._sortedModulesCache.get(t);if(s||!n){return s}const i=[...n];const[u]=t.groupsIterable;const a=typeof e.chunkGraph!=="undefined"?"getModulePostOrderIndex":"getModuleIndex2";if(typeof u[a]==="function"){const n=new Map(i.map(e=>[e,new Set]));const u=new Map(i.map(e=>[e,new Map]));const d=Array.from(t.groupsIterable,e=>{const t=i.map(t=>{return{module:t,index:e[a](t)}}).filter(e=>e.index!==undefined).sort((e,t)=>t.index-e.index).map(e=>e.module);for(let r=0;r!s.has(e);while(s.size0&&s.has(e[e.length-1])){e.pop()}if(e.length!==0){const t=e[e.length-1];const r=n.get(t);const o=Array.from(r).filter(c);if(!l||l.length>o.length){a=e;l=o}if(o.length===0){s.add(e.pop());i=true;break}}}if(!i){const n=a.pop();if(!this.options.ignoreOrder){const s=u.get(n);e.warnings.push(new Error([`chunk ${t.name||t.id} [${o}]`,"Conflicting order. Following module has been added:",` * ${n.readableIdentifier(r)}`,"despite it was not able to fulfill desired ordering with these modules:",...l.map(e=>{const t=u.get(e);const i=t&&t.get(n);const o=Array.from(s.get(e),e=>e.name).join(", ");const a=i&&Array.from(i,e=>e.name).join(", ");return[` * ${e.readableIdentifier(r)}`,` - couldn't fulfill desired order of chunk group(s) ${o}`,a&&` - while fulfilling desired order of chunk group(s) ${a}`].filter(Boolean).join("\n")})].join("\n")))}s.add(n)}}}else{i.sort((e,t)=>e.index2-t.index2);s=i}this._sortedModulesCache.set(t,s);return s}renderContentAsset(e,t,r,s,i){const o=this.sortModules(t,r,s,i);const{ConcatSource:u,SourceMapSource:a,RawSource:d}=e.webpack?e.webpack.sources:n(665);const c=new u;const l=new u;for(const e of o){let t=e.content.toString();if(/^@import url/.test(t)){if(e.media){t=t.replace(/;|\s*$/,e.media)}l.add(t);l.add("\n")}else{if(e.media){c.add(`@media ${e.media} {\n`)}if(e.sourceMap){c.add(new a(t,e.readableIdentifier(i),e.sourceMap.toString()))}else{c.add(new d(t,e.readableIdentifier(i)))}c.add("\n");if(e.media){c.add("}\n")}}}return new u(l,c)}}MiniCssExtractPlugin.loader=n.ab+"loader.js";var y=MiniCssExtractPlugin;t.default=y},958:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findModuleById=findModuleById;t.evalModuleCode=evalModuleCode;t.compareModulesByIdentifier=compareModulesByIdentifier;t.MODULE_TYPE=void 0;var r=_interopRequireDefault(n(282));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const s="css/mini-extract";t.MODULE_TYPE=s;function findModuleById(e,t){const{modules:n,chunkGraph:r}=e;for(const e of n){const n=typeof r!=="undefined"?r.getModuleId(e):e.id;if(n===t){return e}}return null}function evalModuleCode(e,t,n){const s=new r.default(n,e);s.paths=r.default._nodeModulePaths(e.context);s.filename=n;s._compile(t,n);return s.exports}function compareIds(e,t){if(typeof e!==typeof t){return typeof et){return 1}return 0}function compareModulesByIdentifier(e,t){return compareIds(e.identifier(),t.identifier())}},104:(e,t,n)=>{"use strict";const r=n(391);const s=/at ([a-zA-Z0-9_.]*)/;function createMessage(e){return`Abstract method${e?" "+e:""}. Must be overridden.`}function Message(){this.stack=undefined;Error.captureStackTrace(this);const e=this.stack.split("\n")[3].match(s);this.message=e&&e[1]?createMessage(e[1]):createMessage()}class AbstractMethodError extends r{constructor(){super((new Message).message);this.name="AbstractMethodError"}}e.exports=AbstractMethodError},919:(e,t,n)=>{"use strict";const r=n(669);const s=n(834);const i=n(262).w;const o=n(973);const u=n(931);let a=1e3;const d="Chunk.entry was removed. Use hasRuntime()";const c="Chunk.initial was removed. Use canBeInitial/isOnlyInitial()";const l=(e,t)=>{if(e.id{if(e.id{if(e.identifier()>t.identifier())return 1;if(e.identifier(){e.sort();let t="";for(const n of e){t+=n.identifier()+"#"}return t};const g=e=>Array.from(e);const y=e=>{let t=0;for(const n of e){t+=n.size()}return t};class Chunk{constructor(e){this.id=null;this.ids=null;this.debugId=a++;this.name=e;this.preventIntegration=false;this.entryModule=undefined;this._modules=new s(undefined,h);this.filenameTemplate=undefined;this._groups=new s(undefined,f);this.files=[];this.rendered=false;this.hash=undefined;this.contentHash=Object.create(null);this.renderedHash=undefined;this.chunkReason=undefined;this.extraAsync=false;this.removedModules=undefined}get entry(){throw new Error(d)}set entry(e){throw new Error(d)}get initial(){throw new Error(c)}set initial(e){throw new Error(c)}hasRuntime(){for(const e of this._groups){if(e.isInitial()&&e instanceof u&&e.getRuntimeChunk()===this){return true}}return false}canBeInitial(){for(const e of this._groups){if(e.isInitial())return true}return false}isOnlyInitial(){if(this._groups.size<=0)return false;for(const e of this._groups){if(!e.isInitial())return false}return true}hasEntryModule(){return!!this.entryModule}addModule(e){if(!this._modules.has(e)){this._modules.add(e);return true}return false}removeModule(e){if(this._modules.delete(e)){e.removeChunk(this);return true}return false}setModules(e){this._modules=new s(e,h)}getNumberOfModules(){return this._modules.size}get modulesIterable(){return this._modules}addGroup(e){if(this._groups.has(e))return false;this._groups.add(e);return true}removeGroup(e){if(!this._groups.has(e))return false;this._groups.delete(e);return true}isInGroup(e){return this._groups.has(e)}getNumberOfGroups(){return this._groups.size}get groupsIterable(){return this._groups}compareTo(e){if(this.name&&!e.name)return-1;if(!this.name&&e.name)return 1;if(this.namee.name)return 1;if(this._modules.size>e._modules.size)return-1;if(this._modules.sizei)return 1}}containsModule(e){return this._modules.has(e)}getModules(){return this._modules.getFromCache(g)}getModulesIdent(){return this._modules.getFromUnorderedCache(p)}remove(e){for(const e of Array.from(this._modules)){e.removeChunk(this)}for(const e of this._groups){e.removeChunk(this)}}moveModule(e,t){o.disconnectChunkAndModule(this,e);o.connectChunkAndModule(t,e);e.rewriteChunkInReasons(this,[t])}integrate(e,t){if(!this.canBeIntegrated(e)){return false}if(this.name&&e.name){if(this.hasEntryModule()===e.hasEntryModule()){if(this.name.length!==e.name.length){this.name=this.name.length{const n=new Set(t.groupsIterable);for(const t of n){if(e.isInGroup(t))continue;if(t.isInitial())return false;for(const e of t.parentsIterable){n.add(e)}}return true};const n=this.hasRuntime();const r=e.hasRuntime();if(n!==r){if(n){return t(this,e)}else if(r){return t(e,this)}else{return false}}if(this.hasEntryModule()||e.hasEntryModule()){return false}return true}addMultiplierAndOverhead(e,t){const n=typeof t.chunkOverhead==="number"?t.chunkOverhead:1e4;const r=this.canBeInitial()?t.entryChunkMultiplicator||10:1;return e*r+n}modulesSize(){return this._modules.getFromUnorderedCache(y)}size(e={}){return this.addMultiplierAndOverhead(this.modulesSize(),e)}integratedSize(e,t){if(!this.canBeIntegrated(e)){return false}let n=this.modulesSize();for(const t of e._modules){if(!this._modules.has(t)){n+=t.size()}}return this.addMultiplierAndOverhead(n,t)}sortModules(e){this._modules.sortWith(e||l)}sortItems(){this.sortModules()}getAllAsyncChunks(){const e=new Set;const t=new Set;const n=i(Array.from(this.groupsIterable,e=>new Set(e.chunks)));for(const t of this.groupsIterable){for(const n of t.childrenIterable){e.add(n)}}for(const r of e){for(const e of r.chunks){if(!n.has(e)){t.add(e)}}for(const t of r.childrenIterable){e.add(t)}}return t}getChunkMaps(e){const t=Object.create(null);const n=Object.create(null);const r=Object.create(null);for(const s of this.getAllAsyncChunks()){t[s.id]=e?s.hash:s.renderedHash;for(const e of Object.keys(s.contentHash)){if(!n[e]){n[e]=Object.create(null)}n[e][s.id]=s.contentHash[e]}if(s.name){r[s.id]=s.name}}return{hash:t,contentHash:n,name:r}}getChildIdsByOrders(){const e=new Map;for(const t of this.groupsIterable){if(t.chunks[t.chunks.length-1]===this){for(const n of t.childrenIterable){if(typeof n.options==="object"){for(const t of Object.keys(n.options)){if(t.endsWith("Order")){const r=t.substr(0,t.length-"Order".length);let s=e.get(r);if(s===undefined)e.set(r,s=[]);s.push({order:n.options[t],group:n})}}}}}}const t=Object.create(null);for(const[n,r]of e){r.sort((e,t)=>{const n=t.order-e.order;if(n!==0)return n;if(e.group.compareTo){return e.group.compareTo(t.group)}return 0});t[n]=Array.from(r.reduce((e,t)=>{for(const n of t.group.chunks){e.add(n.id)}return e},new Set))}return t}getChildIdsByOrdersMap(e){const t=Object.create(null);const n=e=>{const n=e.getChildIdsByOrders();for(const r of Object.keys(n)){let s=t[r];if(s===undefined){t[r]=s=Object.create(null)}s[e.id]=n[r]}};if(e){const e=new Set;for(const t of this.groupsIterable){for(const n of t.chunks){e.add(n)}}for(const t of e){n(t)}}for(const e of this.getAllAsyncChunks()){n(e)}return t}getChunkModuleMaps(e){const t=Object.create(null);const n=Object.create(null);for(const r of this.getAllAsyncChunks()){let s;for(const i of r.modulesIterable){if(e(i)){if(s===undefined){s=[];t[r.id]=s}s.push(i.id);n[i.id]=i.renderedHash}}if(s!==undefined){s.sort()}}return{id:t,hash:n}}hasModuleInGraph(e,t){const n=new Set(this.groupsIterable);const r=new Set;for(const s of n){for(const n of s.chunks){if(!r.has(n)){r.add(n);if(!t||t(n)){for(const t of n.modulesIterable){if(e(t)){return true}}}}}for(const e of s.childrenIterable){n.add(e)}}return false}toString(){return`Chunk[${Array.from(this._modules).join()}]`}}Object.defineProperty(Chunk.prototype,"forEachModule",{configurable:false,value:r.deprecate(function(e){this._modules.forEach(e)},"Chunk.forEachModule: Use for(const module of chunk.modulesIterable) instead")});Object.defineProperty(Chunk.prototype,"mapModules",{configurable:false,value:r.deprecate(function(e){return Array.from(this._modules,e)},"Chunk.mapModules: Use Array.from(chunk.modulesIterable, fn) instead")});Object.defineProperty(Chunk.prototype,"chunks",{configurable:false,get(){throw new Error("Chunk.chunks: Use ChunkGroup.getChildren() instead")},set(){throw new Error("Chunk.chunks: Use ChunkGroup.add/removeChild() instead")}});Object.defineProperty(Chunk.prototype,"parents",{configurable:false,get(){throw new Error("Chunk.parents: Use ChunkGroup.getParents() instead")},set(){throw new Error("Chunk.parents: Use ChunkGroup.add/removeParent() instead")}});Object.defineProperty(Chunk.prototype,"blocks",{configurable:false,get(){throw new Error("Chunk.blocks: Use ChunkGroup.getBlocks() instead")},set(){throw new Error("Chunk.blocks: Use ChunkGroup.add/removeBlock() instead")}});Object.defineProperty(Chunk.prototype,"entrypoints",{configurable:false,get(){throw new Error("Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoint instead")},set(){throw new Error("Chunk.entrypoints: Use Chunks.addGroup instead")}});e.exports=Chunk},911:(e,t,n)=>{"use strict";const r=n(834);const s=n(562);let i=5e3;const o=e=>Array.from(e);const u=(e,t)=>{if(e.id{const n=e.module?e.module.identifier():"";const r=t.module?t.module.identifier():"";if(nr)return 1;return s(e.loc,t.loc)};class ChunkGroup{constructor(e){if(typeof e==="string"){e={name:e}}else if(!e){e={name:undefined}}this.groupDebugId=i++;this.options=e;this._children=new r(undefined,u);this._parents=new r(undefined,u);this._blocks=new r;this.chunks=[];this.origins=[];this._moduleIndices=new Map;this._moduleIndices2=new Map}addOptions(e){for(const t of Object.keys(e)){if(this.options[t]===undefined){this.options[t]=e[t]}else if(this.options[t]!==e[t]){if(t.endsWith("Order")){this.options[t]=Math.max(this.options[t],e[t])}else{throw new Error(`ChunkGroup.addOptions: No option merge strategy for ${t}`)}}}}get name(){return this.options.name}set name(e){this.options.name=e}get debugId(){return Array.from(this.chunks,e=>e.debugId).join("+")}get id(){return Array.from(this.chunks,e=>e.id).join("+")}unshiftChunk(e){const t=this.chunks.indexOf(e);if(t>0){this.chunks.splice(t,1);this.chunks.unshift(e)}else if(t<0){this.chunks.unshift(e);return true}return false}insertChunk(e,t){const n=this.chunks.indexOf(e);const r=this.chunks.indexOf(t);if(r<0){throw new Error("before chunk not found")}if(n>=0&&n>r){this.chunks.splice(n,1);this.chunks.splice(r,0,e)}else if(n<0){this.chunks.splice(r,0,e);return true}return false}pushChunk(e){const t=this.chunks.indexOf(e);if(t>=0){return false}this.chunks.push(e);return true}replaceChunk(e,t){const n=this.chunks.indexOf(e);if(n<0)return false;const r=this.chunks.indexOf(t);if(r<0){this.chunks[n]=t;return true}if(r=0){this.chunks.splice(t,1);return true}return false}isInitial(){return false}addChild(e){if(this._children.has(e)){return false}this._children.add(e);return true}getChildren(){return this._children.getFromCache(o)}getNumberOfChildren(){return this._children.size}get childrenIterable(){return this._children}removeChild(e){if(!this._children.has(e)){return false}this._children.delete(e);e.removeParent(this);return true}addParent(e){if(!this._parents.has(e)){this._parents.add(e);return true}return false}getParents(){return this._parents.getFromCache(o)}setParents(e){this._parents.clear();for(const t of e){this._parents.add(t)}}getNumberOfParents(){return this._parents.size}hasParent(e){return this._parents.has(e)}get parentsIterable(){return this._parents}removeParent(e){if(this._parents.delete(e)){e.removeChunk(this);return true}return false}getBlocks(){return this._blocks.getFromCache(o)}getNumberOfBlocks(){return this._blocks.size}hasBlock(e){return this._blocks.has(e)}get blocksIterable(){return this._blocks}addBlock(e){if(!this._blocks.has(e)){this._blocks.add(e);return true}return false}addOrigin(e,t,n){this.origins.push({module:e,loc:t,request:n})}containsModule(e){for(const t of this.chunks){if(t.containsModule(e))return true}return false}getFiles(){const e=new Set;for(const t of this.chunks){for(const n of t.files){e.add(n)}}return Array.from(e)}remove(e){for(const e of this._parents){e._children.delete(this);for(const t of this._children){t.addParent(e);e.addChild(t)}}for(const e of this._children){e._parents.delete(this)}for(const e of this._blocks){e.chunkGroup=null}for(const e of this.chunks){e.removeGroup(this)}}sortItems(){this.origins.sort(a);this._parents.sort();this._children.sort()}compareTo(e){if(this.chunks.length>e.chunks.length)return-1;if(this.chunks.length{const n=t.order-e.order;if(n!==0)return n;if(e.group.compareTo){return e.group.compareTo(t.group)}return 0});t[n]=r.map(e=>e.group)}return t}setModuleIndex(e,t){this._moduleIndices.set(e,t)}getModuleIndex(e){return this._moduleIndices.get(e)}setModuleIndex2(e,t){this._moduleIndices2.set(e,t)}getModuleIndex2(e){return this._moduleIndices2.get(e)}checkConstraints(){const e=this;for(const t of e._children){if(!t._parents.has(e)){throw new Error(`checkConstraints: child missing parent ${e.debugId} -> ${t.debugId}`)}}for(const t of e._parents){if(!t._children.has(e)){throw new Error(`checkConstraints: parent missing child ${t.debugId} <- ${e.debugId}`)}}}}e.exports=ChunkGroup},71:(e,t,n)=>{"use strict";const r=n(904);class DependenciesBlock{constructor(){this.dependencies=[];this.blocks=[];this.variables=[]}addBlock(e){this.blocks.push(e);e.parent=this}addVariable(e,t,n){for(let n of this.variables){if(n.name===e&&n.expression===t){return}}this.variables.push(new r(e,t,n))}addDependency(e){this.dependencies.push(e)}removeDependency(e){const t=this.dependencies.indexOf(e);if(t>=0){this.dependencies.splice(t,1)}}updateHash(e){for(const t of this.dependencies)t.updateHash(e);for(const t of this.blocks)t.updateHash(e);for(const t of this.variables)t.updateHash(e)}disconnect(){for(const e of this.dependencies)e.disconnect();for(const e of this.blocks)e.disconnect();for(const e of this.variables)e.disconnect()}unseal(){for(const e of this.blocks)e.unseal()}hasDependencies(e){if(e){for(const t of this.dependencies){if(e(t))return true}}else{if(this.dependencies.length>0){return true}}for(const t of this.blocks){if(t.hasDependencies(e))return true}for(const t of this.variables){if(t.hasDependencies(e))return true}return false}sortItems(){for(const e of this.blocks)e.sortItems()}}e.exports=DependenciesBlock},904:(e,t,n)=>{"use strict";const{RawSource:r,ReplaceSource:s}=n(665);class DependenciesBlockVariable{constructor(e,t,n){this.name=e;this.expression=t;this.dependencies=n||[]}updateHash(e){e.update(this.name);e.update(this.expression);for(const t of this.dependencies){t.updateHash(e)}}expressionSource(e,t){const n=new s(new r(this.expression));for(const r of this.dependencies){const s=e.get(r.constructor);if(!s){throw new Error(`No template for dependency: ${r.constructor.name}`)}s.apply(r,n,t,e)}return n}disconnect(){for(const e of this.dependencies){e.disconnect()}}hasDependencies(e){if(e){return this.dependencies.some(e)}return this.dependencies.length>0}}e.exports=DependenciesBlockVariable},931:(e,t,n)=>{"use strict";const r=n(911);class Entrypoint extends r{constructor(e){super(e);this.runtimeChunk=undefined}isInitial(){return true}setRuntimeChunk(e){this.runtimeChunk=e}getRuntimeChunk(){return this.runtimeChunk||this.chunks[0]}replaceChunk(e,t){if(this.runtimeChunk===e)this.runtimeChunk=t;return super.replaceChunk(e,t)}}e.exports=Entrypoint},140:(e,t)=>{"use strict";const n="LOADER_EXECUTION";const r="WEBPACK_OPTIONS";t.cutOffByFlag=((e,t)=>{e=e.split("\n");for(let n=0;nt.cutOffByFlag(e,n));t.cutOffWebpackOptions=(e=>t.cutOffByFlag(e,r));t.cutOffMultilineMessage=((e,t)=>{e=e.split("\n");t=t.split("\n");return e.reduce((e,n,r)=>n.includes(t[r])?e:e.concat(n),[]).join("\n")});t.cutOffMessage=((e,t)=>{const n=e.indexOf("\n");if(n===-1){return e===t?"":e}else{const r=e.substr(0,n);return r===t?e.substr(n+1):e}});t.cleanUp=((e,n)=>{e=t.cutOffLoaderExecution(e);e=t.cutOffMessage(e,n);return e});t.cleanUpWebpackOptions=((e,n)=>{e=t.cutOffWebpackOptions(e);e=t.cutOffMultilineMessage(e,n);return e})},973:(e,t)=>{const n=(e,t)=>{if(e.pushChunk(t)){t.addGroup(e)}};const r=(e,t)=>{if(e.addChild(t)){t.addParent(e)}};const s=(e,t)=>{if(t.addChunk(e)){e.addModule(t)}};const i=(e,t)=>{e.removeModule(t);t.removeChunk(e)};const o=(e,t)=>{if(t.addBlock(e)){e.chunkGroup=t}};t.connectChunkGroupAndChunk=n;t.connectChunkGroupParentAndChild=r;t.connectChunkAndModule=s;t.disconnectChunkAndModule=i;t.connectDependenciesBlockAndChunkGroup=o},782:(e,t,n)=>{"use strict";const r=n(919);class HotUpdateChunk extends r{constructor(){super();this.removedModules=undefined}}e.exports=HotUpdateChunk},993:(e,t,n)=>{"use strict";const r=n(669);const s=n(71);const i=n(576);const o=n(834);const u=n(66);const a={};let d=1e3;const c=(e,t)=>{return e.id-t.id};const l=(e,t)=>{return e.debugId-t.debugId};class Module extends s{constructor(e,t=null){super();this.type=e;this.context=t;this.debugId=d++;this.hash=undefined;this.renderedHash=undefined;this.resolveOptions=a;this.factoryMeta={};this.warnings=[];this.errors=[];this.buildMeta=undefined;this.buildInfo=undefined;this.reasons=[];this._chunks=new o(undefined,c);this.id=null;this.index=null;this.index2=null;this.depth=null;this.issuer=null;this.profile=undefined;this.prefetched=false;this.built=false;this.used=null;this.usedExports=null;this.optimizationBailout=[];this._rewriteChunkInReasons=undefined;this.useSourceMap=false;this._source=null}get exportsArgument(){return this.buildInfo&&this.buildInfo.exportsArgument||"exports"}get moduleArgument(){return this.buildInfo&&this.buildInfo.moduleArgument||"module"}disconnect(){this.hash=undefined;this.renderedHash=undefined;this.reasons.length=0;this._rewriteChunkInReasons=undefined;this._chunks.clear();this.id=null;this.index=null;this.index2=null;this.depth=null;this.issuer=null;this.profile=undefined;this.prefetched=false;this.built=false;this.used=null;this.usedExports=null;this.optimizationBailout.length=0;super.disconnect()}unseal(){this.id=null;this.index=null;this.index2=null;this.depth=null;this._chunks.clear();super.unseal()}setChunks(e){this._chunks=new o(e,c)}addChunk(e){if(this._chunks.has(e))return false;this._chunks.add(e);return true}removeChunk(e){if(this._chunks.delete(e)){e.removeModule(this);return true}return false}isInChunk(e){return this._chunks.has(e)}isEntryModule(){for(const e of this._chunks){if(e.entryModule===this)return true}return false}get optional(){return this.reasons.length>0&&this.reasons.every(e=>e.dependency&&e.dependency.optional)}getChunks(){return Array.from(this._chunks)}getNumberOfChunks(){return this._chunks.size}get chunksIterable(){return this._chunks}hasEqualsChunks(e){if(this._chunks.size!==e._chunks.size)return false;this._chunks.sortWith(l);e._chunks.sortWith(l);const t=this._chunks[Symbol.iterator]();const n=e._chunks[Symbol.iterator]();while(true){const e=t.next();const r=n.next();if(e.done)return true;if(e.value!==r.value)return false}}addReason(e,t,n){this.reasons.push(new i(e,t,n))}removeReason(e,t){for(let n=0;n0}rewriteChunkInReasons(e,t){if(this._rewriteChunkInReasons===undefined){this._rewriteChunkInReasons=[]}this._rewriteChunkInReasons.push({oldChunk:e,newChunks:t})}_doRewriteChunkInReasons(e,t){for(let n=0;n{if(e.module===t.module)return 0;if(!e.module)return-1;if(!t.module)return 1;return c(e.module,t.module)});if(Array.isArray(this.usedExports)){this.usedExports.sort()}}unbuild(){this.dependencies.length=0;this.blocks.length=0;this.variables.length=0;this.buildMeta=undefined;this.buildInfo=undefined;this.disconnect()}get arguments(){throw new Error("Module.arguments was removed, there is no replacement.")}set arguments(e){throw new Error("Module.arguments was removed, there is no replacement.")}}Object.defineProperty(Module.prototype,"forEachChunk",{configurable:false,value:r.deprecate(function(e){this._chunks.forEach(e)},"Module.forEachChunk: Use for(const chunk of module.chunksIterable) instead")});Object.defineProperty(Module.prototype,"mapChunks",{configurable:false,value:r.deprecate(function(e){return Array.from(this._chunks,e)},"Module.mapChunks: Use Array.from(module.chunksIterable, fn) instead")});Object.defineProperty(Module.prototype,"entry",{configurable:false,get(){throw new Error("Module.entry was removed. Use Chunk.entryModule")},set(){throw new Error("Module.entry was removed. Use Chunk.entryModule")}});Object.defineProperty(Module.prototype,"meta",{configurable:false,get:r.deprecate(function(){return this.buildMeta},"Module.meta was renamed to Module.buildMeta"),set:r.deprecate(function(e){this.buildMeta=e},"Module.meta was renamed to Module.buildMeta")});Module.prototype.identifier=null;Module.prototype.readableIdentifier=null;Module.prototype.build=null;Module.prototype.source=null;Module.prototype.size=null;Module.prototype.nameForCondition=null;Module.prototype.chunkCondition=null;Module.prototype.updateCacheModule=null;e.exports=Module},72:(e,t,n)=>{"use strict";const r=n(391);const{cutOffLoaderExecution:s}=n(140);class ModuleBuildError extends r{constructor(e,t,{from:n=null}={}){let r="Module build failed";let i=undefined;if(n){r+=` (from ${n}):\n`}else{r+=": "}if(t!==null&&typeof t==="object"){if(typeof t.stack==="string"&&t.stack){const e=s(t.stack);if(!t.hideStack){r+=e}else{i=e;if(typeof t.message==="string"&&t.message){r+=t.message}else{r+=t}}}else if(typeof t.message==="string"&&t.message){r+=t.message}else{r+=t}}else{r=t}super(r);this.name="ModuleBuildError";this.details=i;this.module=e;this.error=t;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleBuildError},528:(e,t,n)=>{"use strict";const r=n(391);const{cleanUp:s}=n(140);class ModuleError extends r{constructor(e,t,{from:n=null}={}){let r="Module Error";if(n){r+=` (from ${n}):\n`}else{r+=": "}if(t&&typeof t==="object"&&t.message){r+=t.message}else if(t){r+=t}super(r);this.name="ModuleError";this.module=e;this.error=t;this.details=t&&typeof t==="object"&&t.stack?s(t.stack,this.message):undefined;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleError},500:(e,t,n)=>{"use strict";const r=n(391);class ModuleParseError extends r{constructor(e,t,n,r){let s="Module parse failed: "+n.message;let i=undefined;if(r.length>=1){s+=`\nFile was processed with these loaders:${r.map(e=>`\n * ${e}`).join("")}`;s+="\nYou may need an additional loader to handle the result of these loaders."}else{s+="\nYou may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders"}if(n.loc&&typeof n.loc==="object"&&typeof n.loc.line==="number"){var o=n.loc.line;if(/[\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007]/.test(t)){s+="\n(Source code omitted for this binary file)"}else{const e=t.split(/\r?\n/);const n=Math.max(0,o-3);const r=e.slice(n,o-1);const i=e[o-1];const u=e.slice(o,o+2);s+=r.map(e=>`\n| ${e}`).join("")+`\n> ${i}`+u.map(e=>`\n| ${e}`).join("")}i=n.loc}else{s+="\n"+n.stack}super(s);this.name="ModuleParseError";this.module=e;this.loc=i;this.error=n;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleParseError},576:e=>{"use strict";class ModuleReason{constructor(e,t,n){this.module=e;this.dependency=t;this.explanation=n;this._chunks=null}hasChunk(e){if(this._chunks){if(this._chunks.has(e))return true}else if(this.module&&this.module._chunks.has(e))return true;return false}rewriteChunks(e,t){if(!this._chunks){if(this.module){if(!this.module._chunks.has(e))return;this._chunks=new Set(this.module._chunks)}else{this._chunks=new Set}}if(this._chunks.has(e)){this._chunks.delete(e);for(let e=0;e{"use strict";const r=n(391);const{cleanUp:s}=n(140);class ModuleWarning extends r{constructor(e,t,{from:n=null}={}){let r="Module Warning";if(n){r+=` (from ${n}):\n`}else{r+=": "}if(t&&typeof t==="object"&&t.message){r+=t.message}else if(t){r+=t}super(r);this.name="ModuleWarning";this.module=e;this.warning=t;this.details=t&&typeof t==="object"&&t.stack?s(t.stack,this.message):undefined;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleWarning},963:(e,t,n)=>{"use strict";const r=n(282);const{CachedSource:s,LineToLineMappedSource:i,OriginalSource:o,RawSource:u,SourceMapSource:a}=n(665);const{getContext:d,runLoaders:c}=n(278);const l=n(391);const f=n(993);const h=n(500);const p=n(72);const g=n(528);const y=n(372);const m=n(660);const _=n(658).tR;const w=e=>{if(Buffer.isBuffer(e)){return e.toString("utf-8")}return e};const b=e=>{if(!Buffer.isBuffer(e)){return Buffer.from(e,"utf-8")}return e};class NonErrorEmittedError extends l{constructor(e){super();this.name="NonErrorEmittedError";this.message="(Emitted value instead of an instance of Error) "+e;Error.captureStackTrace(this,this.constructor)}}class NormalModule extends f{constructor({type:e,request:t,userRequest:n,rawRequest:r,loaders:s,resource:i,matchResource:o,parser:u,generator:a,resolveOptions:c}){super(e,d(i));this.request=t;this.userRequest=n;this.rawRequest=r;this.binary=e.startsWith("webassembly");this.parser=u;this.generator=a;this.resource=i;this.matchResource=o;this.loaders=s;if(c!==undefined)this.resolveOptions=c;this.error=null;this._source=null;this._sourceSize=null;this._buildHash="";this.buildTimestamp=undefined;this._cachedSources=new Map;this.useSourceMap=false;this.lineToLine=false;this._lastSuccessfulBuildMeta={}}identifier(){return this.request}readableIdentifier(e){return e.shorten(this.userRequest)}libIdent(e){return _(e.context,this.userRequest)}nameForCondition(){const e=this.matchResource||this.resource;const t=e.indexOf("?");if(t>=0)return e.substr(0,t);return e}updateCacheModule(e){this.type=e.type;this.request=e.request;this.userRequest=e.userRequest;this.rawRequest=e.rawRequest;this.parser=e.parser;this.generator=e.generator;this.resource=e.resource;this.matchResource=e.matchResource;this.loaders=e.loaders;this.resolveOptions=e.resolveOptions}createSourceForAsset(e,t,n){if(!n){return new u(t)}if(typeof n==="string"){return new o(t,n)}return new a(t,e,n)}createLoaderContext(e,t,n,s){const i=n.runtimeTemplate.requestShortener;const o=()=>{const e=this.getCurrentLoader(u);if(!e)return"(not in loader scope)";return i.shorten(e.loader)};const u={version:2,emitWarning:e=>{if(!(e instanceof Error)){e=new NonErrorEmittedError(e)}this.warnings.push(new y(this,e,{from:o()}))},emitError:e=>{if(!(e instanceof Error)){e=new NonErrorEmittedError(e)}this.errors.push(new g(this,e,{from:o()}))},getLogger:e=>{const t=this.getCurrentLoader(u);return n.getLogger(()=>[t&&t.loader,e,this.identifier()].filter(Boolean).join("|"))},exec:(e,t)=>{const n=new r(t,this);n.paths=r._nodeModulePaths(this.context);n.filename=t;n._compile(e,t);return n.exports},resolve(t,n,r){e.resolve({},t,n,{},r)},getResolve(t){const n=t?e.withOptions(t):e;return(e,t,r)=>{if(r){n.resolve({},e,t,{},r)}else{return new Promise((r,s)=>{n.resolve({},e,t,{},(e,t)=>{if(e)s(e);else r(t)})})}}},emitFile:(e,t,n,r)=>{if(!this.buildInfo.assets){this.buildInfo.assets=Object.create(null);this.buildInfo.assetsInfo=new Map}this.buildInfo.assets[e]=this.createSourceForAsset(e,t,n);this.buildInfo.assetsInfo.set(e,r)},rootContext:t.context,webpack:true,sourceMap:!!this.useSourceMap,mode:t.mode||"production",_module:this,_compilation:n,_compiler:n.compiler,fs:s};n.hooks.normalModuleLoader.call(u,this);if(t.loader){Object.assign(u,t.loader)}return u}getCurrentLoader(e,t=e.loaderIndex){if(this.loaders&&this.loaders.length&&t=0&&this.loaders[t]){return this.loaders[t]}return null}createSource(e,t,n){if(!this.identifier){return new u(e)}const r=this.identifier();if(this.lineToLine&&t){return new i(e,r,w(t))}if(this.useSourceMap&&n){return new a(e,r,n)}if(Buffer.isBuffer(e)){return new u(e)}return new o(e,r)}doBuild(e,t,n,r,s){const i=this.createLoaderContext(n,e,t,r);c({resource:this.resource,loaders:this.loaders,context:i,readResource:r.readFile.bind(r)},(e,n)=>{if(n){this.buildInfo.cacheable=n.cacheable;this.buildInfo.fileDependencies=new Set(n.fileDependencies);this.buildInfo.contextDependencies=new Set(n.contextDependencies)}if(e){if(!(e instanceof Error)){e=new NonErrorEmittedError(e)}const n=this.getCurrentLoader(i);const r=new p(this,e,{from:n&&t.runtimeTemplate.requestShortener.shorten(n.loader)});return s(r)}const r=n.resourceBuffer;const o=n.result[0];const u=n.result.length>=1?n.result[1]:null;const a=n.result.length>=2?n.result[2]:null;if(!Buffer.isBuffer(o)&&typeof o!=="string"){const e=this.getCurrentLoader(i,0);const n=new Error(`Final loader (${e?t.runtimeTemplate.requestShortener.shorten(e.loader):"unknown"}) didn't return a Buffer or String`);const r=new p(this,n);return s(r)}this._source=this.createSource(this.binary?b(o):w(o),r,u);this._sourceSize=null;this._ast=typeof a==="object"&&a!==null&&a.webpackAST!==undefined?a.webpackAST:null;return s()})}markModuleAsErrored(e){this.buildMeta=Object.assign({},this._lastSuccessfulBuildMeta);this.error=e;this.errors.push(this.error);this._source=new u("throw new Error("+JSON.stringify(this.error.message)+");");this._sourceSize=null;this._ast=null}applyNoParseRule(e,t){if(typeof e==="string"){return t.indexOf(e)===0}if(typeof e==="function"){return e(t)}return e.test(t)}shouldPreventParsing(e,t){if(!e){return false}if(!Array.isArray(e)){return this.applyNoParseRule(e,t)}for(let n=0;n{this._cachedSources.clear();if(n){this.markModuleAsErrored(n);this._initBuildHash(t);return s()}const r=e.module&&e.module.noParse;if(this.shouldPreventParsing(r,this.request)){this._initBuildHash(t);return s()}const i=n=>{const r=this._source.source();const i=this.loaders.map(t=>_(e.context,t.loader));const o=new h(this,r,n,i);this.markModuleAsErrored(o);this._initBuildHash(t);return s()};const o=e=>{this._lastSuccessfulBuildMeta=this.buildMeta;this._initBuildHash(t);return s()};try{const n=this.parser.parse(this._ast||this._source.source(),{current:this,module:this,compilation:t,options:e},(e,t)=>{if(e){i(e)}else{o(t)}});if(n!==undefined){o(n)}}catch(e){i(e)}})}getHashDigest(e){let t=e.get("hash");return`${this.hash}-${t}`}source(e,t,n="javascript"){const r=this.getHashDigest(e);const i=this._cachedSources.get(n);if(i!==undefined&&i.hash===r){return i.source}const o=this.generator.generate(this,e,t,n);const u=new s(o);this._cachedSources.set(n,{source:u,hash:r});return u}originalSource(){return this._source}needRebuild(e,t){if(this.error)return true;if(!this.buildInfo.cacheable)return true;for(const t of this.buildInfo.fileDependencies){const n=e.get(t);if(!n)return true;if(n>=this.buildTimestamp)return true}for(const e of this.buildInfo.contextDependencies){const n=t.get(e);if(!n)return true;if(n>=this.buildTimestamp)return true}return false}size(){if(this._sourceSize===null){this._sourceSize=this._source?this._source.size():-1}return this._sourceSize}updateHash(e){e.update(this._buildHash);super.updateHash(e)}}e.exports=NormalModule},66:(e,t,n)=>{const{ConcatSource:r}=n(665);const s=n(782);const i="a".charCodeAt(0);const o="A".charCodeAt(0);const u="z".charCodeAt(0)-i+1;const a=/^function\s?\(\)\s?\{\r?\n?|\r?\n?\}$/g;const d=/^\t/gm;const c=/\r?\n/g;const l=/^([^a-zA-Z$_])/;const f=/[^a-zA-Z0-9$]+/g;const h=/\*\//g;const p=/[^a-zA-Z0-9_!§$()=\-^°]+/g;const g=/^-|-$/g;const y=(e,t)=>{const n=e.id+"";const r=t.id+"";if(nr)return 1;return 0};class Template{static getFunctionContent(e){return e.toString().replace(a,"").replace(d,"").replace(c,"\n")}static toIdentifier(e){if(typeof e!=="string")return"";return e.replace(l,"_$1").replace(f,"_")}static toComment(e){if(!e)return"";return`/*! ${e.replace(h,"* /")} */`}static toNormalComment(e){if(!e)return"";return`/* ${e.replace(h,"* /")} */`}static toPath(e){if(typeof e!=="string")return"";return e.replace(p,"-").replace(g,"")}static numberToIdentifer(e){if(er.id)n=r.id}if(n<16+(""+n).length){n=0}const r=e.map(e=>(e.id+"").length+2).reduce((e,t)=>e+t,-1);const s=n===0?t:16+(""+n).length+t;return s{return{id:t.id,source:n.render(t,i,{chunk:e})}});if(d&&d.length>0){for(const e of d){c.push({id:e,source:"false"})}}const l=Template.getModulesArrayBounds(c);if(l){const e=l[0];const t=l[1];if(e!==0){u.add(`Array(${e}).concat(`)}u.add("[\n");const n=new Map;for(const e of c){n.set(e.id,e)}for(let r=e;r<=t;r++){const t=n.get(r);if(r!==e){u.add(",\n")}u.add(`/* ${r} */`);if(t){u.add("\n");u.add(t.source)}}u.add("\n"+o+"]");if(e!==0){u.add(")")}}else{u.add("{\n");c.sort(y).forEach((e,t)=>{if(t!==0){u.add(",\n")}u.add(`\n/***/ ${JSON.stringify(e.id)}:\n`);u.add(e.source)});u.add(`\n\n${o}}`)}return u}}e.exports=Template},391:(e,t,n)=>{"use strict";const r=n(669).inspect.custom;class WebpackError extends Error{constructor(e){super(e);this.details=undefined;this.missing=undefined;this.origin=undefined;this.dependencies=undefined;this.module=undefined;Error.captureStackTrace(this,this.constructor)}[r](){return this.stack+(this.details?`\n${this.details}`:"")}}e.exports=WebpackError},562:e=>{"use strict";e.exports=((e,t)=>{if(typeof e==="string"){if(typeof t==="string"){if(et)return 1;return 0}else if(typeof t==="object"){return 1}else{return 0}}else if(typeof e==="object"){if(typeof t==="string"){return-1}else if(typeof t==="object"){if("start"in e&&"start"in t){const n=e.start;const r=t.start;if(n.liner.line)return 1;if(n.columnr.column)return 1}if("name"in e&&"name"in t){if(e.namet.name)return 1}if("index"in e&&"index"in t){if(e.indext.index)return 1}return 0}else{return 0}}})},262:(e,t)=>{"use strict";var n;const r=e=>{if(e.length===0)return new Set;if(e.length===1)return new Set(e[0]);let t=Infinity;let n=-1;for(let r=0;r{if(e.size{"use strict";class SortableSet extends Set{constructor(e,t){super(e);this._sortFn=t;this._lastActiveSortFn=null;this._cache=undefined;this._cacheOrderIndependent=undefined}add(e){this._lastActiveSortFn=null;this._invalidateCache();this._invalidateOrderedCache();super.add(e);return this}delete(e){this._invalidateCache();this._invalidateOrderedCache();return super.delete(e)}clear(){this._invalidateCache();this._invalidateOrderedCache();return super.clear()}sortWith(e){if(this.size<=1||e===this._lastActiveSortFn){return}const t=Array.from(this).sort(e);super.clear();for(let e=0;e{"use strict";const r=n(104);const s=1e3;class Hash{update(e,t){throw new r}digest(e){throw new r}}t.Hash=Hash;class BulkUpdateDecorator extends Hash{constructor(e){super();this.hash=e;this.buffer=""}update(e,t){if(t!==undefined||typeof e!=="string"||e.length>s){if(this.buffer.length>0){this.hash.update(this.buffer);this.buffer=""}this.hash.update(e,t)}else{this.buffer+=e;if(this.buffer.length>s){this.hash.update(this.buffer);this.buffer=""}}return this}digest(e){if(this.buffer.length>0){this.hash.update(this.buffer)}var t=this.hash.digest(e);return typeof t==="string"?t:t.toString()}}class DebugHash extends Hash{constructor(){super();this.string=""}update(e,t){if(typeof e!=="string")e=e.toString("utf-8");this.string+=e;return this}digest(e){return this.string.replace(/[^a-z0-9]+/gi,e=>Buffer.from(e).toString("hex"))}}e.exports=(e=>{if(typeof e==="function"){return new BulkUpdateDecorator(new e)}switch(e){case"debug":return new DebugHash;default:return new BulkUpdateDecorator(n(417).createHash(e))}})},658:(e,t,n)=>{"use strict";var r;const s=n(622);const i=(e,t)=>{if(t.startsWith("./")||t.startsWith("../"))return s.join(e,t);return t};const o=e=>{if(/^\/.*\/$/.test(e)){return false}return/^(?:[a-z]:\\|\/)/i.test(e)};const u=e=>e.replace(/\\/g,"/");const a=(e,t)=>{return t.split(/([|! ])/).map(t=>o(t)?u(s.relative(e,t)):t).join("")};r=((e,t,n)=>{if(!n)return a(e,t);const r=n.relativePaths||(n.relativePaths=new Map);let s;let i=r.get(e);if(i===undefined){r.set(e,i=new Map)}else{s=i.get(t)}if(s!==undefined){return s}else{const n=a(e,t);i.set(t,n);return n}});t.tR=((e,t)=>{return t.split("!").map(t=>{const n=t.split("?",2);if(/^[a-zA-Z]:\\/.test(n[0])){n[0]=s.win32.relative(e,n[0]);if(!/^[a-zA-Z]:\\/.test(n[0])){n[0]=n[0].replace(/\\/g,"/")}}if(/^\//.test(n[0])){n[0]=s.posix.relative(e,n[0])}if(!/^(\.\.\/|\/|[a-zA-Z]:\\)/.test(n[0])){n[0]="./"+n[0]}return n.join("?")}).join("!")});const d=(e,t)=>{return t.split("!").map(t=>i(e,t)).join("!")};r=d},417:e=>{"use strict";e.exports=require("crypto")},747:e=>{"use strict";e.exports=require("fs")},282:e=>{"use strict";e.exports=require("module")},286:e=>{"use strict";e.exports=require("next/dist/compiled/schema-utils3")},665:e=>{"use strict";e.exports=require("next/dist/compiled/webpack-sources")},619:e=>{"use strict";e.exports=require("next/dist/compiled/webpack/webpack-lib")},622:e=>{"use strict";e.exports=require("path")},669:e=>{"use strict";e.exports=require("util")}};var t={};function __nccwpck_require__(n){if(t[n]){return t[n].exports}var r=t[n]={exports:{}};var s=true;try{e[n](r,r.exports,__nccwpck_require__);s=false}finally{if(s)delete t[n]}return r.exports}__nccwpck_require__.ab=__dirname+"/";return __nccwpck_require__(105)})(); \ No newline at end of file diff --git a/packages/next/compiled/mini-css-extract-plugin/loader.js b/packages/next/compiled/mini-css-extract-plugin/loader.js index 7b17c9c2d0..adfe97a925 100644 --- a/packages/next/compiled/mini-css-extract-plugin/loader.js +++ b/packages/next/compiled/mini-css-extract-plugin/loader.js @@ -1 +1 @@ -module.exports=(()=>{var e={480:e=>{"use strict";e.exports=JSON.parse('{"type":"object","additionalProperties":false,"properties":{"publicPath":{"anyOf":[{"type":"string"},{"instanceof":"Function"}]},"emit":{"type":"boolean"},"esModule":{"type":"boolean"},"layer":{"type":"string"},"modules":{"type":"object","additionalProperties":false,"properties":{"namedExport":{"description":"Enables/disables ES modules named export for locals (https://webpack.js.org/plugins/mini-css-extract-plugin/#namedexport).","type":"boolean"}}}}}')},736:e=>{"use strict";class LoadingLoaderError extends Error{constructor(e){super(e);this.name="LoaderRunnerError";Error.captureStackTrace(this,this.constructor)}}e.exports=LoadingLoaderError},278:(e,t,r)=>{var n=r(747);var s=n.readFile.bind(n);var i=r(384);function utf8BufferToString(e){var t=e.toString("utf-8");if(t.charCodeAt(0)===65279){return t.substr(1)}else{return t}}function splitQuery(e){var t=e.indexOf("?");if(t<0)return[e,""];return[e.substr(0,t),e.substr(t)]}function dirname(e){if(e==="/")return"/";var t=e.lastIndexOf("/");var r=e.lastIndexOf("\\");var n=e.indexOf("/");var s=e.indexOf("\\");var i=t>r?t:r;var o=t>r?n:s;if(i<0)return e;if(i===o)return e.substr(0,i+1);return e.substr(0,i)}function createLoaderObject(e){var t={path:null,query:null,options:null,ident:null,normal:null,pitch:null,raw:null,data:null,pitchExecuted:false,normalExecuted:false};Object.defineProperty(t,"request",{enumerable:true,get:function(){return t.path+t.query},set:function(e){if(typeof e==="string"){var r=splitQuery(e);t.path=r[0];t.query=r[1];t.options=undefined;t.ident=undefined}else{if(!e.loader)throw new Error("request should be a string or object with loader and object ("+JSON.stringify(e)+")");t.path=e.loader;t.options=e.options;t.ident=e.ident;if(t.options===null)t.query="";else if(t.options===undefined)t.query="";else if(typeof t.options==="string")t.query="?"+t.options;else if(t.ident)t.query="??"+t.ident;else if(typeof t.options==="object"&&t.options.ident)t.query="??"+t.options.ident;else t.query="?"+JSON.stringify(t.options)}}});t.request=e;if(Object.preventExtensions){Object.preventExtensions(t)}return t}function runSyncOrAsync(e,t,r,n){var s=true;var i=false;var o=false;var u=false;t.async=function async(){if(i){if(u)return;throw new Error("async(): The callback was already called.")}s=false;return c};var c=t.callback=function(){if(i){if(u)return;throw new Error("callback(): The callback was already called.")}i=true;s=false;try{n.apply(null,arguments)}catch(e){o=true;throw e}};try{var a=function LOADER_EXECUTION(){return e.apply(t,r)}();if(s){i=true;if(a===undefined)return n();if(a&&typeof a==="object"&&typeof a.then==="function"){return a.then(function(e){n(null,e)},n)}return n(null,a)}}catch(e){if(o)throw e;if(i){if(typeof e==="object"&&e.stack)console.error(e.stack);else console.error(e);return}i=true;u=true;n(e)}}function convertArgs(e,t){if(!t&&Buffer.isBuffer(e[0]))e[0]=utf8BufferToString(e[0]);else if(t&&typeof e[0]==="string")e[0]=new Buffer(e[0],"utf-8")}function iteratePitchingLoaders(e,t,r){if(t.loaderIndex>=t.loaders.length)return processResource(e,t,r);var n=t.loaders[t.loaderIndex];if(n.pitchExecuted){t.loaderIndex++;return iteratePitchingLoaders(e,t,r)}i(n,function(s){if(s){t.cacheable(false);return r(s)}var i=n.pitch;n.pitchExecuted=true;if(!i)return iteratePitchingLoaders(e,t,r);runSyncOrAsync(i,t,[t.remainingRequest,t.previousRequest,n.data={}],function(n){if(n)return r(n);var s=Array.prototype.slice.call(arguments,1);if(s.length>0){t.loaderIndex--;iterateNormalLoaders(e,t,s,r)}else{iteratePitchingLoaders(e,t,r)}})})}function processResource(e,t,r){t.loaderIndex=t.loaders.length-1;var n=t.resourcePath;if(n){t.addDependency(n);e.readResource(n,function(n,s){if(n)return r(n);e.resourceBuffer=s;iterateNormalLoaders(e,t,[s],r)})}else{iterateNormalLoaders(e,t,[null],r)}}function iterateNormalLoaders(e,t,r,n){if(t.loaderIndex<0)return n(null,r);var s=t.loaders[t.loaderIndex];if(s.normalExecuted){t.loaderIndex--;return iterateNormalLoaders(e,t,r,n)}var i=s.normal;s.normalExecuted=true;if(!i){return iterateNormalLoaders(e,t,r,n)}convertArgs(r,s.raw);runSyncOrAsync(i,t,r,function(r){if(r)return n(r);var s=Array.prototype.slice.call(arguments,1);iterateNormalLoaders(e,t,s,n)})}t.getContext=function getContext(e){var t=splitQuery(e);return dirname(t[0])};t.runLoaders=function runLoaders(e,t){var r=e.resource||"";var n=e.loaders||[];var i=e.context||{};var o=e.readResource||s;var u=r&&splitQuery(r);var c=u?u[0]:undefined;var a=u?u[1]:undefined;var d=c?dirname(c):null;var l=true;var f=[];var h=[];n=n.map(createLoaderObject);i.context=d;i.loaderIndex=0;i.loaders=n;i.resourcePath=c;i.resourceQuery=a;i.async=null;i.callback=null;i.cacheable=function cacheable(e){if(e===false){l=false}};i.dependency=i.addDependency=function addDependency(e){f.push(e)};i.addContextDependency=function addContextDependency(e){h.push(e)};i.getDependencies=function getDependencies(){return f.slice()};i.getContextDependencies=function getContextDependencies(){return h.slice()};i.clearDependencies=function clearDependencies(){f.length=0;h.length=0;l=true};Object.defineProperty(i,"resource",{enumerable:true,get:function(){if(i.resourcePath===undefined)return undefined;return i.resourcePath+i.resourceQuery},set:function(e){var t=e&&splitQuery(e);i.resourcePath=t?t[0]:undefined;i.resourceQuery=t?t[1]:undefined}});Object.defineProperty(i,"request",{enumerable:true,get:function(){return i.loaders.map(function(e){return e.request}).concat(i.resource||"").join("!")}});Object.defineProperty(i,"remainingRequest",{enumerable:true,get:function(){if(i.loaderIndex>=i.loaders.length-1&&!i.resource)return"";return i.loaders.slice(i.loaderIndex+1).map(function(e){return e.request}).concat(i.resource||"").join("!")}});Object.defineProperty(i,"currentRequest",{enumerable:true,get:function(){return i.loaders.slice(i.loaderIndex).map(function(e){return e.request}).concat(i.resource||"").join("!")}});Object.defineProperty(i,"previousRequest",{enumerable:true,get:function(){return i.loaders.slice(0,i.loaderIndex).map(function(e){return e.request}).join("!")}});Object.defineProperty(i,"query",{enumerable:true,get:function(){var e=i.loaders[i.loaderIndex];return e.options&&typeof e.options==="object"?e.options:e.query}});Object.defineProperty(i,"data",{enumerable:true,get:function(){return i.loaders[i.loaderIndex].data}});if(Object.preventExtensions){Object.preventExtensions(i)}var p={resourceBuffer:null,readResource:o};iteratePitchingLoaders(p,i,function(e,r){if(e){return t(e,{cacheable:l,fileDependencies:f,contextDependencies:h})}t(null,{result:r,resourceBuffer:p.resourceBuffer,cacheable:l,fileDependencies:f,contextDependencies:h})})}},384:(e,t,r)=>{var n=r(736);e.exports=function loadLoader(e,t){if(typeof System==="object"&&typeof System.import==="function"){System.import(e.path).catch(t).then(function(r){e.normal=typeof r==="function"?r:r.default;e.pitch=r.pitch;e.raw=r.raw;if(typeof e.normal!=="function"&&typeof e.pitch!=="function"){return t(new n("Module '"+e.path+"' is not a loader (must have normal or pitch function)"))}t()})}else{try{var r=require(e.path)}catch(r){if(r instanceof Error&&r.code==="EMFILE"){var s=loadLoader.bind(null,e,t);if(typeof setImmediate==="function"){return setImmediate(s)}else{return process.nextTick(s)}}return t(r)}if(typeof r!=="function"&&typeof r!=="object"){return t(new n("Module '"+e.path+"' is not a loader (export function or es6 module)"))}e.normal=typeof r==="function"?r:r.default;e.pitch=r.pitch;e.raw=r.raw;if(typeof e.normal!=="function"&&typeof e.pitch!=="function"){return t(new n("Module '"+e.path+"' is not a loader (must have normal or pitch function)"))}t()}}},506:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.pitch=pitch;t.default=_default;var n=_interopRequireDefault(r(622));var s=_interopRequireDefault(r(443));var i=r(286);var o=r(958);var u=_interopRequireDefault(r(480));var c=_interopRequireWildcard(r(612));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function hotLoader(e,t){const r=t.locals?"":"module.hot.accept(undefined, cssReload);";return`${e}\n if(module.hot) {\n // ${Date.now()}\n var cssReload = require(${s.default.stringifyRequest(t.context,n.default.join(__dirname,"hmr/hotModuleReplacement.js"))})(module.id, ${JSON.stringify({...t.options,locals:!!t.locals})});\n module.hot.dispose(cssReload);\n ${r}\n }\n `}function pitch(e){const n=s.default.getOptions(this)||{};(0,i.validate)(u.default,n,{name:"Mini CSS Extract Plugin Loader",baseDataPath:"options"});const a=this.async();const d=this[c.pluginSymbol];if(!d){a(new Error("You forgot to add 'mini-css-extract-plugin' plugin (i.e. `{ plugins: [new MiniCssExtractPlugin()] }`), please read https://github.com/webpack-contrib/mini-css-extract-plugin#getting-started"));return}const l=this._compiler.webpack||r(515);const f=(e,r,s,i)=>{let u;const d=typeof n.esModule!=="undefined"?n.esModule:true;const f=d&&n.modules&&n.modules.namedExport;const h=e=>{if(!Array.isArray(e)&&e!=null){throw new Error(`Exported value was not extracted as an array: ${JSON.stringify(e)}`)}const t=new Map;const r=typeof n.emit!=="undefined"?n.emit:true;let o;for(const n of e){if(!n.identifier||!r){continue}const e=t.get(n.identifier)||0;const s=c.default.getCssDependency(l);this._module.addDependency(o=new s(n,n.context,e));t.set(n.identifier,e+1)}if(o&&s){o.assets=s;o.assetsInfo=i}};try{t=e.__esModule?e.default:e;if(f){Object.keys(e).forEach(t=>{if(t!=="default"){if(!u){u={}}u[t]=e[t]}})}else{u=t&&t.locals}let n;if(!Array.isArray(t)){n=[[null,t]]}else{n=t.map(([e,t,n,s])=>{let i=e;let u;if(r){const t=(0,o.findModuleById)(r,e);i=t.identifier();({context:u}=t)}else{u=this.rootContext}return{identifier:i,context:u,content:Buffer.from(t),media:n,sourceMap:s?Buffer.from(JSON.stringify(s)):undefined}})}h(n)}catch(e){return a(e)}const p=u?f?Object.keys(u).map(e=>`\nexport const ${e} = ${JSON.stringify(u[e])};`).join(""):`\n${d?"export default":"module.exports ="} ${JSON.stringify(u)};`:d?`\nexport {};`:"";let m=`// extracted by ${c.pluginName}`;m+=this.hot?hotLoader(p,{context:this.context,options:n,locals:u}):p;return a(null,m)};const h=typeof n.publicPath==="string"?n.publicPath==="auto"?"":n.publicPath===""||n.publicPath.endsWith("/")?n.publicPath:`${n.publicPath}/`:typeof n.publicPath==="function"?n.publicPath(this.resourcePath,this.rootContext):this._compilation.outputOptions.publicPath==="auto"?"":this._compilation.outputOptions.publicPath;if(d.experimentalUseImportModule){if(!this.importModule){a(new Error("You are using experimentalUseImportModule but 'this.importModule' is not available in loader context. You need to have at least webpack 5.33.2."));return}this.importModule(`${this.resourcePath}.webpack[javascript/auto]!=!${e}`,{layer:n.layer,publicPath:h},(e,t)=>{if(e){a(e);return}f(t)});return}const p=this.loaders.slice(this.loaderIndex+1);this.addDependency(this.resourcePath);const m="*";const g={filename:m,publicPath:h};const y=this._compilation.createChildCompiler(`${c.pluginName} ${e}`,g);const{NodeTemplatePlugin:_}=l.node;const w=l.node.NodeTargetPlugin?l.node.NodeTargetPlugin:r(743);new _(g).apply(y);(new w).apply(y);const{EntryOptionPlugin:M}=l;if(M){const{library:{EnableLibraryPlugin:t}}=l;new t("commonjs2").apply(y);M.applyEntryOption(y,this.context,{child:{library:{type:"commonjs2"},import:[`!!${e}`]}})}else{const{LibraryTemplatePlugin:t,SingleEntryPlugin:r}=l;new t(null,"commonjs2").apply(y);new r(this.context,`!!${e}`,c.pluginName).apply(y)}const{LimitChunkCountPlugin:b}=l.optimize;new b({maxChunks:1}).apply(y);const O=l.NormalModule?l.NormalModule:r(963);y.hooks.thisCompilation.tap(`${c.pluginName} loader`,t=>{const r=typeof O.getCompilationHooks!=="undefined"?O.getCompilationHooks(t).loader:t.hooks.normalModuleLoader;r.tap(`${c.pluginName} loader`,(t,r)=>{if(r.request===e){r.loaders=p.map(e=>{return{loader:e.path,options:e.options,ident:e.ident}})}})});let v;const x=y.webpack?false:typeof y.resolvers!=="undefined";if(x){y.hooks.afterCompile.tap(c.pluginName,e=>{v=e.assets[m]&&e.assets[m].source();e.chunks.forEach(t=>{t.files.forEach(t=>{delete e.assets[t]})})})}else{y.hooks.compilation.tap(c.pluginName,e=>{e.hooks.processAssets.tap(c.pluginName,()=>{v=e.assets[m]&&e.assets[m].source();e.chunks.forEach(t=>{t.files.forEach(t=>{e.deleteAsset(t)})})})})}y.runAsChild((t,r,n)=>{const s=Object.create(null);const i=new Map;for(const e of n.getAssets()){s[e.name]=e.source;i.set(e.name,e.info)}if(t){return a(t)}if(n.errors.length>0){return a(n.errors[0])}n.fileDependencies.forEach(e=>{this.addDependency(e)},this);n.contextDependencies.forEach(e=>{this.addContextDependency(e)},this);if(!v){return a(new Error("Didn't get a result from child compiler"))}let u;try{u=(0,o.evalModuleCode)(this,v,e)}catch(e){return a(e)}return f(u,n,s,i)})}function _default(){}},958:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findModuleById=findModuleById;t.evalModuleCode=evalModuleCode;t.compareModulesByIdentifier=compareModulesByIdentifier;t.MODULE_TYPE=void 0;var n=_interopRequireDefault(r(282));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const s="css/mini-extract";t.MODULE_TYPE=s;function findModuleById(e,t){const{modules:r,chunkGraph:n}=e;for(const e of r){const r=typeof n!=="undefined"?n.getModuleId(e):e.id;if(r===t){return e}}return null}function evalModuleCode(e,t,r){const s=new n.default(r,e);s.paths=n.default._nodeModulePaths(e.context);s.filename=r;s._compile(t,r);return s.exports}function compareIds(e,t){if(typeof e!==typeof t){return typeof et){return 1}return 0}function compareModulesByIdentifier(e,t){return compareIds(e.identifier(),t.identifier())}},104:(e,t,r)=>{"use strict";const n=r(391);const s=/at ([a-zA-Z0-9_.]*)/;function createMessage(e){return`Abstract method${e?" "+e:""}. Must be overridden.`}function Message(){this.stack=undefined;Error.captureStackTrace(this);const e=this.stack.split("\n")[3].match(s);this.message=e&&e[1]?createMessage(e[1]):createMessage()}class AbstractMethodError extends n{constructor(){super((new Message).message);this.name="AbstractMethodError"}}e.exports=AbstractMethodError},919:(e,t,r)=>{"use strict";const n=r(669);const s=r(834);const i=r(262).w;const o=r(973);const u=r(931);let c=1e3;const a="Chunk.entry was removed. Use hasRuntime()";const d="Chunk.initial was removed. Use canBeInitial/isOnlyInitial()";const l=(e,t)=>{if(e.id{if(e.id{if(e.identifier()>t.identifier())return 1;if(e.identifier(){e.sort();let t="";for(const r of e){t+=r.identifier()+"#"}return t};const m=e=>Array.from(e);const g=e=>{let t=0;for(const r of e){t+=r.size()}return t};class Chunk{constructor(e){this.id=null;this.ids=null;this.debugId=c++;this.name=e;this.preventIntegration=false;this.entryModule=undefined;this._modules=new s(undefined,h);this.filenameTemplate=undefined;this._groups=new s(undefined,f);this.files=[];this.rendered=false;this.hash=undefined;this.contentHash=Object.create(null);this.renderedHash=undefined;this.chunkReason=undefined;this.extraAsync=false;this.removedModules=undefined}get entry(){throw new Error(a)}set entry(e){throw new Error(a)}get initial(){throw new Error(d)}set initial(e){throw new Error(d)}hasRuntime(){for(const e of this._groups){if(e.isInitial()&&e instanceof u&&e.getRuntimeChunk()===this){return true}}return false}canBeInitial(){for(const e of this._groups){if(e.isInitial())return true}return false}isOnlyInitial(){if(this._groups.size<=0)return false;for(const e of this._groups){if(!e.isInitial())return false}return true}hasEntryModule(){return!!this.entryModule}addModule(e){if(!this._modules.has(e)){this._modules.add(e);return true}return false}removeModule(e){if(this._modules.delete(e)){e.removeChunk(this);return true}return false}setModules(e){this._modules=new s(e,h)}getNumberOfModules(){return this._modules.size}get modulesIterable(){return this._modules}addGroup(e){if(this._groups.has(e))return false;this._groups.add(e);return true}removeGroup(e){if(!this._groups.has(e))return false;this._groups.delete(e);return true}isInGroup(e){return this._groups.has(e)}getNumberOfGroups(){return this._groups.size}get groupsIterable(){return this._groups}compareTo(e){if(this.name&&!e.name)return-1;if(!this.name&&e.name)return 1;if(this.namee.name)return 1;if(this._modules.size>e._modules.size)return-1;if(this._modules.sizei)return 1}}containsModule(e){return this._modules.has(e)}getModules(){return this._modules.getFromCache(m)}getModulesIdent(){return this._modules.getFromUnorderedCache(p)}remove(e){for(const e of Array.from(this._modules)){e.removeChunk(this)}for(const e of this._groups){e.removeChunk(this)}}moveModule(e,t){o.disconnectChunkAndModule(this,e);o.connectChunkAndModule(t,e);e.rewriteChunkInReasons(this,[t])}integrate(e,t){if(!this.canBeIntegrated(e)){return false}if(this.name&&e.name){if(this.hasEntryModule()===e.hasEntryModule()){if(this.name.length!==e.name.length){this.name=this.name.length{const r=new Set(t.groupsIterable);for(const t of r){if(e.isInGroup(t))continue;if(t.isInitial())return false;for(const e of t.parentsIterable){r.add(e)}}return true};const r=this.hasRuntime();const n=e.hasRuntime();if(r!==n){if(r){return t(this,e)}else if(n){return t(e,this)}else{return false}}if(this.hasEntryModule()||e.hasEntryModule()){return false}return true}addMultiplierAndOverhead(e,t){const r=typeof t.chunkOverhead==="number"?t.chunkOverhead:1e4;const n=this.canBeInitial()?t.entryChunkMultiplicator||10:1;return e*n+r}modulesSize(){return this._modules.getFromUnorderedCache(g)}size(e={}){return this.addMultiplierAndOverhead(this.modulesSize(),e)}integratedSize(e,t){if(!this.canBeIntegrated(e)){return false}let r=this.modulesSize();for(const t of e._modules){if(!this._modules.has(t)){r+=t.size()}}return this.addMultiplierAndOverhead(r,t)}sortModules(e){this._modules.sortWith(e||l)}sortItems(){this.sortModules()}getAllAsyncChunks(){const e=new Set;const t=new Set;const r=i(Array.from(this.groupsIterable,e=>new Set(e.chunks)));for(const t of this.groupsIterable){for(const r of t.childrenIterable){e.add(r)}}for(const n of e){for(const e of n.chunks){if(!r.has(e)){t.add(e)}}for(const t of n.childrenIterable){e.add(t)}}return t}getChunkMaps(e){const t=Object.create(null);const r=Object.create(null);const n=Object.create(null);for(const s of this.getAllAsyncChunks()){t[s.id]=e?s.hash:s.renderedHash;for(const e of Object.keys(s.contentHash)){if(!r[e]){r[e]=Object.create(null)}r[e][s.id]=s.contentHash[e]}if(s.name){n[s.id]=s.name}}return{hash:t,contentHash:r,name:n}}getChildIdsByOrders(){const e=new Map;for(const t of this.groupsIterable){if(t.chunks[t.chunks.length-1]===this){for(const r of t.childrenIterable){if(typeof r.options==="object"){for(const t of Object.keys(r.options)){if(t.endsWith("Order")){const n=t.substr(0,t.length-"Order".length);let s=e.get(n);if(s===undefined)e.set(n,s=[]);s.push({order:r.options[t],group:r})}}}}}}const t=Object.create(null);for(const[r,n]of e){n.sort((e,t)=>{const r=t.order-e.order;if(r!==0)return r;if(e.group.compareTo){return e.group.compareTo(t.group)}return 0});t[r]=Array.from(n.reduce((e,t)=>{for(const r of t.group.chunks){e.add(r.id)}return e},new Set))}return t}getChildIdsByOrdersMap(e){const t=Object.create(null);const r=e=>{const r=e.getChildIdsByOrders();for(const n of Object.keys(r)){let s=t[n];if(s===undefined){t[n]=s=Object.create(null)}s[e.id]=r[n]}};if(e){const e=new Set;for(const t of this.groupsIterable){for(const r of t.chunks){e.add(r)}}for(const t of e){r(t)}}for(const e of this.getAllAsyncChunks()){r(e)}return t}getChunkModuleMaps(e){const t=Object.create(null);const r=Object.create(null);for(const n of this.getAllAsyncChunks()){let s;for(const i of n.modulesIterable){if(e(i)){if(s===undefined){s=[];t[n.id]=s}s.push(i.id);r[i.id]=i.renderedHash}}if(s!==undefined){s.sort()}}return{id:t,hash:r}}hasModuleInGraph(e,t){const r=new Set(this.groupsIterable);const n=new Set;for(const s of r){for(const r of s.chunks){if(!n.has(r)){n.add(r);if(!t||t(r)){for(const t of r.modulesIterable){if(e(t)){return true}}}}}for(const e of s.childrenIterable){r.add(e)}}return false}toString(){return`Chunk[${Array.from(this._modules).join()}]`}}Object.defineProperty(Chunk.prototype,"forEachModule",{configurable:false,value:n.deprecate(function(e){this._modules.forEach(e)},"Chunk.forEachModule: Use for(const module of chunk.modulesIterable) instead")});Object.defineProperty(Chunk.prototype,"mapModules",{configurable:false,value:n.deprecate(function(e){return Array.from(this._modules,e)},"Chunk.mapModules: Use Array.from(chunk.modulesIterable, fn) instead")});Object.defineProperty(Chunk.prototype,"chunks",{configurable:false,get(){throw new Error("Chunk.chunks: Use ChunkGroup.getChildren() instead")},set(){throw new Error("Chunk.chunks: Use ChunkGroup.add/removeChild() instead")}});Object.defineProperty(Chunk.prototype,"parents",{configurable:false,get(){throw new Error("Chunk.parents: Use ChunkGroup.getParents() instead")},set(){throw new Error("Chunk.parents: Use ChunkGroup.add/removeParent() instead")}});Object.defineProperty(Chunk.prototype,"blocks",{configurable:false,get(){throw new Error("Chunk.blocks: Use ChunkGroup.getBlocks() instead")},set(){throw new Error("Chunk.blocks: Use ChunkGroup.add/removeBlock() instead")}});Object.defineProperty(Chunk.prototype,"entrypoints",{configurable:false,get(){throw new Error("Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoint instead")},set(){throw new Error("Chunk.entrypoints: Use Chunks.addGroup instead")}});e.exports=Chunk},911:(e,t,r)=>{"use strict";const n=r(834);const s=r(562);let i=5e3;const o=e=>Array.from(e);const u=(e,t)=>{if(e.id{const r=e.module?e.module.identifier():"";const n=t.module?t.module.identifier():"";if(rn)return 1;return s(e.loc,t.loc)};class ChunkGroup{constructor(e){if(typeof e==="string"){e={name:e}}else if(!e){e={name:undefined}}this.groupDebugId=i++;this.options=e;this._children=new n(undefined,u);this._parents=new n(undefined,u);this._blocks=new n;this.chunks=[];this.origins=[];this._moduleIndices=new Map;this._moduleIndices2=new Map}addOptions(e){for(const t of Object.keys(e)){if(this.options[t]===undefined){this.options[t]=e[t]}else if(this.options[t]!==e[t]){if(t.endsWith("Order")){this.options[t]=Math.max(this.options[t],e[t])}else{throw new Error(`ChunkGroup.addOptions: No option merge strategy for ${t}`)}}}}get name(){return this.options.name}set name(e){this.options.name=e}get debugId(){return Array.from(this.chunks,e=>e.debugId).join("+")}get id(){return Array.from(this.chunks,e=>e.id).join("+")}unshiftChunk(e){const t=this.chunks.indexOf(e);if(t>0){this.chunks.splice(t,1);this.chunks.unshift(e)}else if(t<0){this.chunks.unshift(e);return true}return false}insertChunk(e,t){const r=this.chunks.indexOf(e);const n=this.chunks.indexOf(t);if(n<0){throw new Error("before chunk not found")}if(r>=0&&r>n){this.chunks.splice(r,1);this.chunks.splice(n,0,e)}else if(r<0){this.chunks.splice(n,0,e);return true}return false}pushChunk(e){const t=this.chunks.indexOf(e);if(t>=0){return false}this.chunks.push(e);return true}replaceChunk(e,t){const r=this.chunks.indexOf(e);if(r<0)return false;const n=this.chunks.indexOf(t);if(n<0){this.chunks[r]=t;return true}if(n=0){this.chunks.splice(t,1);return true}return false}isInitial(){return false}addChild(e){if(this._children.has(e)){return false}this._children.add(e);return true}getChildren(){return this._children.getFromCache(o)}getNumberOfChildren(){return this._children.size}get childrenIterable(){return this._children}removeChild(e){if(!this._children.has(e)){return false}this._children.delete(e);e.removeParent(this);return true}addParent(e){if(!this._parents.has(e)){this._parents.add(e);return true}return false}getParents(){return this._parents.getFromCache(o)}setParents(e){this._parents.clear();for(const t of e){this._parents.add(t)}}getNumberOfParents(){return this._parents.size}hasParent(e){return this._parents.has(e)}get parentsIterable(){return this._parents}removeParent(e){if(this._parents.delete(e)){e.removeChunk(this);return true}return false}getBlocks(){return this._blocks.getFromCache(o)}getNumberOfBlocks(){return this._blocks.size}hasBlock(e){return this._blocks.has(e)}get blocksIterable(){return this._blocks}addBlock(e){if(!this._blocks.has(e)){this._blocks.add(e);return true}return false}addOrigin(e,t,r){this.origins.push({module:e,loc:t,request:r})}containsModule(e){for(const t of this.chunks){if(t.containsModule(e))return true}return false}getFiles(){const e=new Set;for(const t of this.chunks){for(const r of t.files){e.add(r)}}return Array.from(e)}remove(e){for(const e of this._parents){e._children.delete(this);for(const t of this._children){t.addParent(e);e.addChild(t)}}for(const e of this._children){e._parents.delete(this)}for(const e of this._blocks){e.chunkGroup=null}for(const e of this.chunks){e.removeGroup(this)}}sortItems(){this.origins.sort(c);this._parents.sort();this._children.sort()}compareTo(e){if(this.chunks.length>e.chunks.length)return-1;if(this.chunks.length{const r=t.order-e.order;if(r!==0)return r;if(e.group.compareTo){return e.group.compareTo(t.group)}return 0});t[r]=n.map(e=>e.group)}return t}setModuleIndex(e,t){this._moduleIndices.set(e,t)}getModuleIndex(e){return this._moduleIndices.get(e)}setModuleIndex2(e,t){this._moduleIndices2.set(e,t)}getModuleIndex2(e){return this._moduleIndices2.get(e)}checkConstraints(){const e=this;for(const t of e._children){if(!t._parents.has(e)){throw new Error(`checkConstraints: child missing parent ${e.debugId} -> ${t.debugId}`)}}for(const t of e._parents){if(!t._children.has(e)){throw new Error(`checkConstraints: parent missing child ${t.debugId} <- ${e.debugId}`)}}}}e.exports=ChunkGroup},71:(e,t,r)=>{"use strict";const n=r(904);class DependenciesBlock{constructor(){this.dependencies=[];this.blocks=[];this.variables=[]}addBlock(e){this.blocks.push(e);e.parent=this}addVariable(e,t,r){for(let r of this.variables){if(r.name===e&&r.expression===t){return}}this.variables.push(new n(e,t,r))}addDependency(e){this.dependencies.push(e)}removeDependency(e){const t=this.dependencies.indexOf(e);if(t>=0){this.dependencies.splice(t,1)}}updateHash(e){for(const t of this.dependencies)t.updateHash(e);for(const t of this.blocks)t.updateHash(e);for(const t of this.variables)t.updateHash(e)}disconnect(){for(const e of this.dependencies)e.disconnect();for(const e of this.blocks)e.disconnect();for(const e of this.variables)e.disconnect()}unseal(){for(const e of this.blocks)e.unseal()}hasDependencies(e){if(e){for(const t of this.dependencies){if(e(t))return true}}else{if(this.dependencies.length>0){return true}}for(const t of this.blocks){if(t.hasDependencies(e))return true}for(const t of this.variables){if(t.hasDependencies(e))return true}return false}sortItems(){for(const e of this.blocks)e.sortItems()}}e.exports=DependenciesBlock},904:(e,t,r)=>{"use strict";const{RawSource:n,ReplaceSource:s}=r(665);class DependenciesBlockVariable{constructor(e,t,r){this.name=e;this.expression=t;this.dependencies=r||[]}updateHash(e){e.update(this.name);e.update(this.expression);for(const t of this.dependencies){t.updateHash(e)}}expressionSource(e,t){const r=new s(new n(this.expression));for(const n of this.dependencies){const s=e.get(n.constructor);if(!s){throw new Error(`No template for dependency: ${n.constructor.name}`)}s.apply(n,r,t,e)}return r}disconnect(){for(const e of this.dependencies){e.disconnect()}}hasDependencies(e){if(e){return this.dependencies.some(e)}return this.dependencies.length>0}}e.exports=DependenciesBlockVariable},931:(e,t,r)=>{"use strict";const n=r(911);class Entrypoint extends n{constructor(e){super(e);this.runtimeChunk=undefined}isInitial(){return true}setRuntimeChunk(e){this.runtimeChunk=e}getRuntimeChunk(){return this.runtimeChunk||this.chunks[0]}replaceChunk(e,t){if(this.runtimeChunk===e)this.runtimeChunk=t;return super.replaceChunk(e,t)}}e.exports=Entrypoint},140:(e,t)=>{"use strict";const r="LOADER_EXECUTION";const n="WEBPACK_OPTIONS";t.cutOffByFlag=((e,t)=>{e=e.split("\n");for(let r=0;rt.cutOffByFlag(e,r));t.cutOffWebpackOptions=(e=>t.cutOffByFlag(e,n));t.cutOffMultilineMessage=((e,t)=>{e=e.split("\n");t=t.split("\n");return e.reduce((e,r,n)=>r.includes(t[n])?e:e.concat(r),[]).join("\n")});t.cutOffMessage=((e,t)=>{const r=e.indexOf("\n");if(r===-1){return e===t?"":e}else{const n=e.substr(0,r);return n===t?e.substr(r+1):e}});t.cleanUp=((e,r)=>{e=t.cutOffLoaderExecution(e);e=t.cutOffMessage(e,r);return e});t.cleanUpWebpackOptions=((e,r)=>{e=t.cutOffWebpackOptions(e);e=t.cutOffMultilineMessage(e,r);return e})},204:(e,t,r)=>{"use strict";const{OriginalSource:n,RawSource:s}=r(665);const i=r(993);const o=r(386);const u=r(66);class ExternalModule extends i{constructor(e,t,r){super("javascript/dynamic",null);this.request=e;this.externalType=t;this.userRequest=r;this.external=true}libIdent(){return this.userRequest}chunkCondition(e){return e.hasEntryModule()}identifier(){return"external "+JSON.stringify(this.request)}readableIdentifier(){return"external "+JSON.stringify(this.request)}needRebuild(){return false}build(e,t,r,n,s){this.built=true;this.buildMeta={};this.buildInfo={};s()}getSourceForGlobalVariableExternal(e,t){if(!Array.isArray(e)){e=[e]}const r=e.map(e=>`[${JSON.stringify(e)}]`).join("");return`(function() { module.exports = ${t}${r}; }());`}getSourceForCommonJsExternal(e){if(!Array.isArray(e)){return`module.exports = require(${JSON.stringify(e)});`}const t=e[0];const r=e.slice(1).map(e=>`[${JSON.stringify(e)}]`).join("");return`module.exports = require(${JSON.stringify(t)})${r};`}checkExternalVariable(e,t){return`if(typeof ${e} === 'undefined') {${o.moduleCode(t)}}\n`}getSourceForAmdOrUmdExternal(e,t,r){const n=`__WEBPACK_EXTERNAL_MODULE_${u.toIdentifier(`${e}`)}__`;const s=t?this.checkExternalVariable(n,r):"";return`${s}module.exports = ${n};`}getSourceForDefaultCase(e,t){if(!Array.isArray(t)){t=[t]}const r=t[0];const n=e?this.checkExternalVariable(r,t.join(".")):"";const s=t.slice(1).map(e=>`[${JSON.stringify(e)}]`).join("");return`${n}module.exports = ${r}${s};`}getSourceString(e){const t=typeof this.request==="object"&&!Array.isArray(this.request)?this.request[this.externalType]:this.request;switch(this.externalType){case"this":case"window":case"self":return this.getSourceForGlobalVariableExternal(t,this.externalType);case"global":return this.getSourceForGlobalVariableExternal(t,e.outputOptions.globalObject);case"commonjs":case"commonjs2":return this.getSourceForCommonJsExternal(t);case"amd":case"amd-require":case"umd":case"umd2":case"system":return this.getSourceForAmdOrUmdExternal(this.id,this.optional,t);default:return this.getSourceForDefaultCase(this.optional,t)}}getSource(e){if(this.useSourceMap){return new n(e,this.identifier())}return new s(e)}source(e,t){return this.getSource(this.getSourceString(t))}size(){return 42}updateHash(e){e.update(this.externalType);e.update(JSON.stringify(this.request));e.update(JSON.stringify(Boolean(this.optional)));super.updateHash(e)}}e.exports=ExternalModule},876:(e,t,r)=>{"use strict";const n=r(204);class ExternalModuleFactoryPlugin{constructor(e,t){this.type=e;this.externals=t}apply(e){const t=this.type;e.hooks.factory.tap("ExternalModuleFactoryPlugin",e=>(r,s)=>{const i=r.context;const o=r.dependencies[0];const u=(s,i,u)=>{if(typeof i==="function"){u=i;i=undefined}if(s===false)return e(r,u);if(s===true)s=o.request;if(i===undefined&&/^[a-z0-9]+ /.test(s)){const e=s.indexOf(" ");i=s.substr(0,e);s=s.substr(e+1)}u(null,new n(s,i||t,o.request));return true};const c=(e,t)=>{if(typeof e==="string"){if(e===o.request){return u(o.request,t)}}else if(Array.isArray(e)){let r=0;const n=()=>{let s;const i=(e,r)=>{if(e)return t(e);if(!r){if(s){s=false;return}return n()}t(null,r)};do{s=true;if(r>=e.length)return t();c(e[r++],i)}while(!s);s=false};n();return}else if(e instanceof RegExp){if(e.test(o.request)){return u(o.request,t)}}else if(typeof e==="function"){e.call(null,i,o.request,(e,r,n)=>{if(e)return t(e);if(r!==undefined){u(r,n,t)}else{t()}});return}else if(typeof e==="object"&&Object.prototype.hasOwnProperty.call(e,o.request)){return u(e[o.request],t)}t()};c(this.externals,(e,t)=>{if(e)return s(e);if(!t)return u(false,s);return s(null,t)})})}}e.exports=ExternalModuleFactoryPlugin},705:(e,t,r)=>{"use strict";const n=r(876);class ExternalsPlugin{constructor(e,t){this.type=e;this.externals=t}apply(e){e.hooks.compile.tap("ExternalsPlugin",({normalModuleFactory:e})=>{new n(this.type,this.externals).apply(e)})}}e.exports=ExternalsPlugin},973:(e,t)=>{const r=(e,t)=>{if(e.pushChunk(t)){t.addGroup(e)}};const n=(e,t)=>{if(e.addChild(t)){t.addParent(e)}};const s=(e,t)=>{if(t.addChunk(e)){e.addModule(t)}};const i=(e,t)=>{e.removeModule(t);t.removeChunk(e)};const o=(e,t)=>{if(t.addBlock(e)){e.chunkGroup=t}};t.connectChunkGroupAndChunk=r;t.connectChunkGroupParentAndChild=n;t.connectChunkAndModule=s;t.disconnectChunkAndModule=i;t.connectDependenciesBlockAndChunkGroup=o},782:(e,t,r)=>{"use strict";const n=r(919);class HotUpdateChunk extends n{constructor(){super();this.removedModules=undefined}}e.exports=HotUpdateChunk},993:(e,t,r)=>{"use strict";const n=r(669);const s=r(71);const i=r(576);const o=r(834);const u=r(66);const c={};let a=1e3;const d=(e,t)=>{return e.id-t.id};const l=(e,t)=>{return e.debugId-t.debugId};class Module extends s{constructor(e,t=null){super();this.type=e;this.context=t;this.debugId=a++;this.hash=undefined;this.renderedHash=undefined;this.resolveOptions=c;this.factoryMeta={};this.warnings=[];this.errors=[];this.buildMeta=undefined;this.buildInfo=undefined;this.reasons=[];this._chunks=new o(undefined,d);this.id=null;this.index=null;this.index2=null;this.depth=null;this.issuer=null;this.profile=undefined;this.prefetched=false;this.built=false;this.used=null;this.usedExports=null;this.optimizationBailout=[];this._rewriteChunkInReasons=undefined;this.useSourceMap=false;this._source=null}get exportsArgument(){return this.buildInfo&&this.buildInfo.exportsArgument||"exports"}get moduleArgument(){return this.buildInfo&&this.buildInfo.moduleArgument||"module"}disconnect(){this.hash=undefined;this.renderedHash=undefined;this.reasons.length=0;this._rewriteChunkInReasons=undefined;this._chunks.clear();this.id=null;this.index=null;this.index2=null;this.depth=null;this.issuer=null;this.profile=undefined;this.prefetched=false;this.built=false;this.used=null;this.usedExports=null;this.optimizationBailout.length=0;super.disconnect()}unseal(){this.id=null;this.index=null;this.index2=null;this.depth=null;this._chunks.clear();super.unseal()}setChunks(e){this._chunks=new o(e,d)}addChunk(e){if(this._chunks.has(e))return false;this._chunks.add(e);return true}removeChunk(e){if(this._chunks.delete(e)){e.removeModule(this);return true}return false}isInChunk(e){return this._chunks.has(e)}isEntryModule(){for(const e of this._chunks){if(e.entryModule===this)return true}return false}get optional(){return this.reasons.length>0&&this.reasons.every(e=>e.dependency&&e.dependency.optional)}getChunks(){return Array.from(this._chunks)}getNumberOfChunks(){return this._chunks.size}get chunksIterable(){return this._chunks}hasEqualsChunks(e){if(this._chunks.size!==e._chunks.size)return false;this._chunks.sortWith(l);e._chunks.sortWith(l);const t=this._chunks[Symbol.iterator]();const r=e._chunks[Symbol.iterator]();while(true){const e=t.next();const n=r.next();if(e.done)return true;if(e.value!==n.value)return false}}addReason(e,t,r){this.reasons.push(new i(e,t,r))}removeReason(e,t){for(let r=0;r0}rewriteChunkInReasons(e,t){if(this._rewriteChunkInReasons===undefined){this._rewriteChunkInReasons=[]}this._rewriteChunkInReasons.push({oldChunk:e,newChunks:t})}_doRewriteChunkInReasons(e,t){for(let r=0;r{if(e.module===t.module)return 0;if(!e.module)return-1;if(!t.module)return 1;return d(e.module,t.module)});if(Array.isArray(this.usedExports)){this.usedExports.sort()}}unbuild(){this.dependencies.length=0;this.blocks.length=0;this.variables.length=0;this.buildMeta=undefined;this.buildInfo=undefined;this.disconnect()}get arguments(){throw new Error("Module.arguments was removed, there is no replacement.")}set arguments(e){throw new Error("Module.arguments was removed, there is no replacement.")}}Object.defineProperty(Module.prototype,"forEachChunk",{configurable:false,value:n.deprecate(function(e){this._chunks.forEach(e)},"Module.forEachChunk: Use for(const chunk of module.chunksIterable) instead")});Object.defineProperty(Module.prototype,"mapChunks",{configurable:false,value:n.deprecate(function(e){return Array.from(this._chunks,e)},"Module.mapChunks: Use Array.from(module.chunksIterable, fn) instead")});Object.defineProperty(Module.prototype,"entry",{configurable:false,get(){throw new Error("Module.entry was removed. Use Chunk.entryModule")},set(){throw new Error("Module.entry was removed. Use Chunk.entryModule")}});Object.defineProperty(Module.prototype,"meta",{configurable:false,get:n.deprecate(function(){return this.buildMeta},"Module.meta was renamed to Module.buildMeta"),set:n.deprecate(function(e){this.buildMeta=e},"Module.meta was renamed to Module.buildMeta")});Module.prototype.identifier=null;Module.prototype.readableIdentifier=null;Module.prototype.build=null;Module.prototype.source=null;Module.prototype.size=null;Module.prototype.nameForCondition=null;Module.prototype.chunkCondition=null;Module.prototype.updateCacheModule=null;e.exports=Module},72:(e,t,r)=>{"use strict";const n=r(391);const{cutOffLoaderExecution:s}=r(140);class ModuleBuildError extends n{constructor(e,t,{from:r=null}={}){let n="Module build failed";let i=undefined;if(r){n+=` (from ${r}):\n`}else{n+=": "}if(t!==null&&typeof t==="object"){if(typeof t.stack==="string"&&t.stack){const e=s(t.stack);if(!t.hideStack){n+=e}else{i=e;if(typeof t.message==="string"&&t.message){n+=t.message}else{n+=t}}}else if(typeof t.message==="string"&&t.message){n+=t.message}else{n+=t}}else{n=t}super(n);this.name="ModuleBuildError";this.details=i;this.module=e;this.error=t;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleBuildError},528:(e,t,r)=>{"use strict";const n=r(391);const{cleanUp:s}=r(140);class ModuleError extends n{constructor(e,t,{from:r=null}={}){let n="Module Error";if(r){n+=` (from ${r}):\n`}else{n+=": "}if(t&&typeof t==="object"&&t.message){n+=t.message}else if(t){n+=t}super(n);this.name="ModuleError";this.module=e;this.error=t;this.details=t&&typeof t==="object"&&t.stack?s(t.stack,this.message):undefined;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleError},500:(e,t,r)=>{"use strict";const n=r(391);class ModuleParseError extends n{constructor(e,t,r,n){let s="Module parse failed: "+r.message;let i=undefined;if(n.length>=1){s+=`\nFile was processed with these loaders:${n.map(e=>`\n * ${e}`).join("")}`;s+="\nYou may need an additional loader to handle the result of these loaders."}else{s+="\nYou may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders"}if(r.loc&&typeof r.loc==="object"&&typeof r.loc.line==="number"){var o=r.loc.line;if(/[\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007]/.test(t)){s+="\n(Source code omitted for this binary file)"}else{const e=t.split(/\r?\n/);const r=Math.max(0,o-3);const n=e.slice(r,o-1);const i=e[o-1];const u=e.slice(o,o+2);s+=n.map(e=>`\n| ${e}`).join("")+`\n> ${i}`+u.map(e=>`\n| ${e}`).join("")}i=r.loc}else{s+="\n"+r.stack}super(s);this.name="ModuleParseError";this.module=e;this.loc=i;this.error=r;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleParseError},576:e=>{"use strict";class ModuleReason{constructor(e,t,r){this.module=e;this.dependency=t;this.explanation=r;this._chunks=null}hasChunk(e){if(this._chunks){if(this._chunks.has(e))return true}else if(this.module&&this.module._chunks.has(e))return true;return false}rewriteChunks(e,t){if(!this._chunks){if(this.module){if(!this.module._chunks.has(e))return;this._chunks=new Set(this.module._chunks)}else{this._chunks=new Set}}if(this._chunks.has(e)){this._chunks.delete(e);for(let e=0;e{"use strict";const n=r(391);const{cleanUp:s}=r(140);class ModuleWarning extends n{constructor(e,t,{from:r=null}={}){let n="Module Warning";if(r){n+=` (from ${r}):\n`}else{n+=": "}if(t&&typeof t==="object"&&t.message){n+=t.message}else if(t){n+=t}super(n);this.name="ModuleWarning";this.module=e;this.warning=t;this.details=t&&typeof t==="object"&&t.stack?s(t.stack,this.message):undefined;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleWarning},963:(e,t,r)=>{"use strict";const n=r(282);const{CachedSource:s,LineToLineMappedSource:i,OriginalSource:o,RawSource:u,SourceMapSource:c}=r(665);const{getContext:a,runLoaders:d}=r(278);const l=r(391);const f=r(993);const h=r(500);const p=r(72);const m=r(528);const g=r(372);const y=r(660);const _=r(658).tR;const w=e=>{if(Buffer.isBuffer(e)){return e.toString("utf-8")}return e};const M=e=>{if(!Buffer.isBuffer(e)){return Buffer.from(e,"utf-8")}return e};class NonErrorEmittedError extends l{constructor(e){super();this.name="NonErrorEmittedError";this.message="(Emitted value instead of an instance of Error) "+e;Error.captureStackTrace(this,this.constructor)}}class NormalModule extends f{constructor({type:e,request:t,userRequest:r,rawRequest:n,loaders:s,resource:i,matchResource:o,parser:u,generator:c,resolveOptions:d}){super(e,a(i));this.request=t;this.userRequest=r;this.rawRequest=n;this.binary=e.startsWith("webassembly");this.parser=u;this.generator=c;this.resource=i;this.matchResource=o;this.loaders=s;if(d!==undefined)this.resolveOptions=d;this.error=null;this._source=null;this._sourceSize=null;this._buildHash="";this.buildTimestamp=undefined;this._cachedSources=new Map;this.useSourceMap=false;this.lineToLine=false;this._lastSuccessfulBuildMeta={}}identifier(){return this.request}readableIdentifier(e){return e.shorten(this.userRequest)}libIdent(e){return _(e.context,this.userRequest)}nameForCondition(){const e=this.matchResource||this.resource;const t=e.indexOf("?");if(t>=0)return e.substr(0,t);return e}updateCacheModule(e){this.type=e.type;this.request=e.request;this.userRequest=e.userRequest;this.rawRequest=e.rawRequest;this.parser=e.parser;this.generator=e.generator;this.resource=e.resource;this.matchResource=e.matchResource;this.loaders=e.loaders;this.resolveOptions=e.resolveOptions}createSourceForAsset(e,t,r){if(!r){return new u(t)}if(typeof r==="string"){return new o(t,r)}return new c(t,e,r)}createLoaderContext(e,t,r,s){const i=r.runtimeTemplate.requestShortener;const o=()=>{const e=this.getCurrentLoader(u);if(!e)return"(not in loader scope)";return i.shorten(e.loader)};const u={version:2,emitWarning:e=>{if(!(e instanceof Error)){e=new NonErrorEmittedError(e)}this.warnings.push(new g(this,e,{from:o()}))},emitError:e=>{if(!(e instanceof Error)){e=new NonErrorEmittedError(e)}this.errors.push(new m(this,e,{from:o()}))},getLogger:e=>{const t=this.getCurrentLoader(u);return r.getLogger(()=>[t&&t.loader,e,this.identifier()].filter(Boolean).join("|"))},exec:(e,t)=>{const r=new n(t,this);r.paths=n._nodeModulePaths(this.context);r.filename=t;r._compile(e,t);return r.exports},resolve(t,r,n){e.resolve({},t,r,{},n)},getResolve(t){const r=t?e.withOptions(t):e;return(e,t,n)=>{if(n){r.resolve({},e,t,{},n)}else{return new Promise((n,s)=>{r.resolve({},e,t,{},(e,t)=>{if(e)s(e);else n(t)})})}}},emitFile:(e,t,r,n)=>{if(!this.buildInfo.assets){this.buildInfo.assets=Object.create(null);this.buildInfo.assetsInfo=new Map}this.buildInfo.assets[e]=this.createSourceForAsset(e,t,r);this.buildInfo.assetsInfo.set(e,n)},rootContext:t.context,webpack:true,sourceMap:!!this.useSourceMap,mode:t.mode||"production",_module:this,_compilation:r,_compiler:r.compiler,fs:s};r.hooks.normalModuleLoader.call(u,this);if(t.loader){Object.assign(u,t.loader)}return u}getCurrentLoader(e,t=e.loaderIndex){if(this.loaders&&this.loaders.length&&t=0&&this.loaders[t]){return this.loaders[t]}return null}createSource(e,t,r){if(!this.identifier){return new u(e)}const n=this.identifier();if(this.lineToLine&&t){return new i(e,n,w(t))}if(this.useSourceMap&&r){return new c(e,n,r)}if(Buffer.isBuffer(e)){return new u(e)}return new o(e,n)}doBuild(e,t,r,n,s){const i=this.createLoaderContext(r,e,t,n);d({resource:this.resource,loaders:this.loaders,context:i,readResource:n.readFile.bind(n)},(e,r)=>{if(r){this.buildInfo.cacheable=r.cacheable;this.buildInfo.fileDependencies=new Set(r.fileDependencies);this.buildInfo.contextDependencies=new Set(r.contextDependencies)}if(e){if(!(e instanceof Error)){e=new NonErrorEmittedError(e)}const r=this.getCurrentLoader(i);const n=new p(this,e,{from:r&&t.runtimeTemplate.requestShortener.shorten(r.loader)});return s(n)}const n=r.resourceBuffer;const o=r.result[0];const u=r.result.length>=1?r.result[1]:null;const c=r.result.length>=2?r.result[2]:null;if(!Buffer.isBuffer(o)&&typeof o!=="string"){const e=this.getCurrentLoader(i,0);const r=new Error(`Final loader (${e?t.runtimeTemplate.requestShortener.shorten(e.loader):"unknown"}) didn't return a Buffer or String`);const n=new p(this,r);return s(n)}this._source=this.createSource(this.binary?M(o):w(o),n,u);this._sourceSize=null;this._ast=typeof c==="object"&&c!==null&&c.webpackAST!==undefined?c.webpackAST:null;return s()})}markModuleAsErrored(e){this.buildMeta=Object.assign({},this._lastSuccessfulBuildMeta);this.error=e;this.errors.push(this.error);this._source=new u("throw new Error("+JSON.stringify(this.error.message)+");");this._sourceSize=null;this._ast=null}applyNoParseRule(e,t){if(typeof e==="string"){return t.indexOf(e)===0}if(typeof e==="function"){return e(t)}return e.test(t)}shouldPreventParsing(e,t){if(!e){return false}if(!Array.isArray(e)){return this.applyNoParseRule(e,t)}for(let r=0;r{this._cachedSources.clear();if(r){this.markModuleAsErrored(r);this._initBuildHash(t);return s()}const n=e.module&&e.module.noParse;if(this.shouldPreventParsing(n,this.request)){this._initBuildHash(t);return s()}const i=r=>{const n=this._source.source();const i=this.loaders.map(t=>_(e.context,t.loader));const o=new h(this,n,r,i);this.markModuleAsErrored(o);this._initBuildHash(t);return s()};const o=e=>{this._lastSuccessfulBuildMeta=this.buildMeta;this._initBuildHash(t);return s()};try{const r=this.parser.parse(this._ast||this._source.source(),{current:this,module:this,compilation:t,options:e},(e,t)=>{if(e){i(e)}else{o(t)}});if(r!==undefined){o(r)}}catch(e){i(e)}})}getHashDigest(e){let t=e.get("hash");return`${this.hash}-${t}`}source(e,t,r="javascript"){const n=this.getHashDigest(e);const i=this._cachedSources.get(r);if(i!==undefined&&i.hash===n){return i.source}const o=this.generator.generate(this,e,t,r);const u=new s(o);this._cachedSources.set(r,{source:u,hash:n});return u}originalSource(){return this._source}needRebuild(e,t){if(this.error)return true;if(!this.buildInfo.cacheable)return true;for(const t of this.buildInfo.fileDependencies){const r=e.get(t);if(!r)return true;if(r>=this.buildTimestamp)return true}for(const e of this.buildInfo.contextDependencies){const r=t.get(e);if(!r)return true;if(r>=this.buildTimestamp)return true}return false}size(){if(this._sourceSize===null){this._sourceSize=this._source?this._source.size():-1}return this._sourceSize}updateHash(e){e.update(this._buildHash);super.updateHash(e)}}e.exports=NormalModule},66:(e,t,r)=>{const{ConcatSource:n}=r(665);const s=r(782);const i="a".charCodeAt(0);const o="A".charCodeAt(0);const u="z".charCodeAt(0)-i+1;const c=/^function\s?\(\)\s?\{\r?\n?|\r?\n?\}$/g;const a=/^\t/gm;const d=/\r?\n/g;const l=/^([^a-zA-Z$_])/;const f=/[^a-zA-Z0-9$]+/g;const h=/\*\//g;const p=/[^a-zA-Z0-9_!§$()=\-^°]+/g;const m=/^-|-$/g;const g=(e,t)=>{const r=e.id+"";const n=t.id+"";if(rn)return 1;return 0};class Template{static getFunctionContent(e){return e.toString().replace(c,"").replace(a,"").replace(d,"\n")}static toIdentifier(e){if(typeof e!=="string")return"";return e.replace(l,"_$1").replace(f,"_")}static toComment(e){if(!e)return"";return`/*! ${e.replace(h,"* /")} */`}static toNormalComment(e){if(!e)return"";return`/* ${e.replace(h,"* /")} */`}static toPath(e){if(typeof e!=="string")return"";return e.replace(p,"-").replace(m,"")}static numberToIdentifer(e){if(en.id)r=n.id}if(r<16+(""+r).length){r=0}const n=e.map(e=>(e.id+"").length+2).reduce((e,t)=>e+t,-1);const s=r===0?t:16+(""+r).length+t;return s{return{id:t.id,source:r.render(t,i,{chunk:e})}});if(a&&a.length>0){for(const e of a){d.push({id:e,source:"false"})}}const l=Template.getModulesArrayBounds(d);if(l){const e=l[0];const t=l[1];if(e!==0){u.add(`Array(${e}).concat(`)}u.add("[\n");const r=new Map;for(const e of d){r.set(e.id,e)}for(let n=e;n<=t;n++){const t=r.get(n);if(n!==e){u.add(",\n")}u.add(`/* ${n} */`);if(t){u.add("\n");u.add(t.source)}}u.add("\n"+o+"]");if(e!==0){u.add(")")}}else{u.add("{\n");d.sort(g).forEach((e,t)=>{if(t!==0){u.add(",\n")}u.add(`\n/***/ ${JSON.stringify(e.id)}:\n`);u.add(e.source)});u.add(`\n\n${o}}`)}return u}}e.exports=Template},391:(e,t,r)=>{"use strict";const n=r(669).inspect.custom;class WebpackError extends Error{constructor(e){super(e);this.details=undefined;this.missing=undefined;this.origin=undefined;this.dependencies=undefined;this.module=undefined;Error.captureStackTrace(this,this.constructor)}[n](){return this.stack+(this.details?`\n${this.details}`:"")}}e.exports=WebpackError},562:e=>{"use strict";e.exports=((e,t)=>{if(typeof e==="string"){if(typeof t==="string"){if(et)return 1;return 0}else if(typeof t==="object"){return 1}else{return 0}}else if(typeof e==="object"){if(typeof t==="string"){return-1}else if(typeof t==="object"){if("start"in e&&"start"in t){const r=e.start;const n=t.start;if(r.linen.line)return 1;if(r.columnn.column)return 1}if("name"in e&&"name"in t){if(e.namet.name)return 1}if("index"in e&&"index"in t){if(e.indext.index)return 1}return 0}else{return 0}}})},386:(e,t)=>{"use strict";const r=e=>`var e = new Error(${JSON.stringify(e)}); e.code = 'MODULE_NOT_FOUND';`;t.module=(e=>`!(function webpackMissingModule() { ${t.moduleCode(e)} }())`);t.promise=(e=>{const t=r(`Cannot find module '${e}'`);return`Promise.reject(function webpackMissingModule() { ${t} return e; }())`});t.moduleCode=(e=>{const t=r(`Cannot find module '${e}'`);return`${t} throw e;`})},743:(e,t,r)=>{"use strict";const n=r(705);const s=r(282).builtinModules||Object.keys(process.binding("natives"));class NodeTargetPlugin{apply(e){new n("commonjs",s).apply(e)}}e.exports=NodeTargetPlugin},262:(e,t)=>{"use strict";var r;const n=e=>{if(e.length===0)return new Set;if(e.length===1)return new Set(e[0]);let t=Infinity;let r=-1;for(let n=0;n{if(e.size{"use strict";class SortableSet extends Set{constructor(e,t){super(e);this._sortFn=t;this._lastActiveSortFn=null;this._cache=undefined;this._cacheOrderIndependent=undefined}add(e){this._lastActiveSortFn=null;this._invalidateCache();this._invalidateOrderedCache();super.add(e);return this}delete(e){this._invalidateCache();this._invalidateOrderedCache();return super.delete(e)}clear(){this._invalidateCache();this._invalidateOrderedCache();return super.clear()}sortWith(e){if(this.size<=1||e===this._lastActiveSortFn){return}const t=Array.from(this).sort(e);super.clear();for(let e=0;e{"use strict";const n=r(104);const s=1e3;class Hash{update(e,t){throw new n}digest(e){throw new n}}t.Hash=Hash;class BulkUpdateDecorator extends Hash{constructor(e){super();this.hash=e;this.buffer=""}update(e,t){if(t!==undefined||typeof e!=="string"||e.length>s){if(this.buffer.length>0){this.hash.update(this.buffer);this.buffer=""}this.hash.update(e,t)}else{this.buffer+=e;if(this.buffer.length>s){this.hash.update(this.buffer);this.buffer=""}}return this}digest(e){if(this.buffer.length>0){this.hash.update(this.buffer)}var t=this.hash.digest(e);return typeof t==="string"?t:t.toString()}}class DebugHash extends Hash{constructor(){super();this.string=""}update(e,t){if(typeof e!=="string")e=e.toString("utf-8");this.string+=e;return this}digest(e){return this.string.replace(/[^a-z0-9]+/gi,e=>Buffer.from(e).toString("hex"))}}e.exports=(e=>{if(typeof e==="function"){return new BulkUpdateDecorator(new e)}switch(e){case"debug":return new DebugHash;default:return new BulkUpdateDecorator(r(417).createHash(e))}})},658:(e,t,r)=>{"use strict";var n;const s=r(622);const i=(e,t)=>{if(t.startsWith("./")||t.startsWith("../"))return s.join(e,t);return t};const o=e=>{if(/^\/.*\/$/.test(e)){return false}return/^(?:[a-z]:\\|\/)/i.test(e)};const u=e=>e.replace(/\\/g,"/");const c=(e,t)=>{return t.split(/([|! ])/).map(t=>o(t)?u(s.relative(e,t)):t).join("")};n=((e,t,r)=>{if(!r)return c(e,t);const n=r.relativePaths||(r.relativePaths=new Map);let s;let i=n.get(e);if(i===undefined){n.set(e,i=new Map)}else{s=i.get(t)}if(s!==undefined){return s}else{const r=c(e,t);i.set(t,r);return r}});t.tR=((e,t)=>{return t.split("!").map(t=>{const r=t.split("?",2);if(/^[a-zA-Z]:\\/.test(r[0])){r[0]=s.win32.relative(e,r[0]);if(!/^[a-zA-Z]:\\/.test(r[0])){r[0]=r[0].replace(/\\/g,"/")}}if(/^\//.test(r[0])){r[0]=s.posix.relative(e,r[0])}if(!/^(\.\.\/|\/|[a-zA-Z]:\\)/.test(r[0])){r[0]="./"+r[0]}return r.join("?")}).join("!")});const a=(e,t)=>{return t.split("!").map(t=>i(e,t)).join("!")};n=a},612:e=>{"use strict";e.exports=require("./index.js")},417:e=>{"use strict";e.exports=require("crypto")},747:e=>{"use strict";e.exports=require("fs")},282:e=>{"use strict";e.exports=require("module")},443:e=>{"use strict";e.exports=require("next/dist/compiled/loader-utils")},286:e=>{"use strict";e.exports=require("next/dist/compiled/schema-utils3")},665:e=>{"use strict";e.exports=require("next/dist/compiled/webpack-sources")},515:e=>{"use strict";e.exports=require("next/dist/compiled/webpack/webpack")},622:e=>{"use strict";e.exports=require("path")},669:e=>{"use strict";e.exports=require("util")}};var t={};function __nccwpck_require__(r){if(t[r]){return t[r].exports}var n=t[r]={exports:{}};var s=true;try{e[r](n,n.exports,__nccwpck_require__);s=false}finally{if(s)delete t[r]}return n.exports}__nccwpck_require__.ab=__dirname+"/";return __nccwpck_require__(506)})(); \ No newline at end of file +module.exports=(()=>{var e={480:e=>{"use strict";e.exports=JSON.parse('{"type":"object","additionalProperties":false,"properties":{"publicPath":{"anyOf":[{"type":"string"},{"instanceof":"Function"}]},"emit":{"type":"boolean"},"esModule":{"type":"boolean"},"layer":{"type":"string"},"modules":{"type":"object","additionalProperties":false,"properties":{"namedExport":{"description":"Enables/disables ES modules named export for locals (https://webpack.js.org/plugins/mini-css-extract-plugin/#namedexport).","type":"boolean"}}}}}')},736:e=>{"use strict";class LoadingLoaderError extends Error{constructor(e){super(e);this.name="LoaderRunnerError";Error.captureStackTrace(this,this.constructor)}}e.exports=LoadingLoaderError},278:(e,t,r)=>{var n=r(747);var s=n.readFile.bind(n);var i=r(384);function utf8BufferToString(e){var t=e.toString("utf-8");if(t.charCodeAt(0)===65279){return t.substr(1)}else{return t}}function splitQuery(e){var t=e.indexOf("?");if(t<0)return[e,""];return[e.substr(0,t),e.substr(t)]}function dirname(e){if(e==="/")return"/";var t=e.lastIndexOf("/");var r=e.lastIndexOf("\\");var n=e.indexOf("/");var s=e.indexOf("\\");var i=t>r?t:r;var o=t>r?n:s;if(i<0)return e;if(i===o)return e.substr(0,i+1);return e.substr(0,i)}function createLoaderObject(e){var t={path:null,query:null,options:null,ident:null,normal:null,pitch:null,raw:null,data:null,pitchExecuted:false,normalExecuted:false};Object.defineProperty(t,"request",{enumerable:true,get:function(){return t.path+t.query},set:function(e){if(typeof e==="string"){var r=splitQuery(e);t.path=r[0];t.query=r[1];t.options=undefined;t.ident=undefined}else{if(!e.loader)throw new Error("request should be a string or object with loader and object ("+JSON.stringify(e)+")");t.path=e.loader;t.options=e.options;t.ident=e.ident;if(t.options===null)t.query="";else if(t.options===undefined)t.query="";else if(typeof t.options==="string")t.query="?"+t.options;else if(t.ident)t.query="??"+t.ident;else if(typeof t.options==="object"&&t.options.ident)t.query="??"+t.options.ident;else t.query="?"+JSON.stringify(t.options)}}});t.request=e;if(Object.preventExtensions){Object.preventExtensions(t)}return t}function runSyncOrAsync(e,t,r,n){var s=true;var i=false;var o=false;var u=false;t.async=function async(){if(i){if(u)return;throw new Error("async(): The callback was already called.")}s=false;return c};var c=t.callback=function(){if(i){if(u)return;throw new Error("callback(): The callback was already called.")}i=true;s=false;try{n.apply(null,arguments)}catch(e){o=true;throw e}};try{var a=function LOADER_EXECUTION(){return e.apply(t,r)}();if(s){i=true;if(a===undefined)return n();if(a&&typeof a==="object"&&typeof a.then==="function"){return a.then(function(e){n(null,e)},n)}return n(null,a)}}catch(e){if(o)throw e;if(i){if(typeof e==="object"&&e.stack)console.error(e.stack);else console.error(e);return}i=true;u=true;n(e)}}function convertArgs(e,t){if(!t&&Buffer.isBuffer(e[0]))e[0]=utf8BufferToString(e[0]);else if(t&&typeof e[0]==="string")e[0]=new Buffer(e[0],"utf-8")}function iteratePitchingLoaders(e,t,r){if(t.loaderIndex>=t.loaders.length)return processResource(e,t,r);var n=t.loaders[t.loaderIndex];if(n.pitchExecuted){t.loaderIndex++;return iteratePitchingLoaders(e,t,r)}i(n,function(s){if(s){t.cacheable(false);return r(s)}var i=n.pitch;n.pitchExecuted=true;if(!i)return iteratePitchingLoaders(e,t,r);runSyncOrAsync(i,t,[t.remainingRequest,t.previousRequest,n.data={}],function(n){if(n)return r(n);var s=Array.prototype.slice.call(arguments,1);if(s.length>0){t.loaderIndex--;iterateNormalLoaders(e,t,s,r)}else{iteratePitchingLoaders(e,t,r)}})})}function processResource(e,t,r){t.loaderIndex=t.loaders.length-1;var n=t.resourcePath;if(n){t.addDependency(n);e.readResource(n,function(n,s){if(n)return r(n);e.resourceBuffer=s;iterateNormalLoaders(e,t,[s],r)})}else{iterateNormalLoaders(e,t,[null],r)}}function iterateNormalLoaders(e,t,r,n){if(t.loaderIndex<0)return n(null,r);var s=t.loaders[t.loaderIndex];if(s.normalExecuted){t.loaderIndex--;return iterateNormalLoaders(e,t,r,n)}var i=s.normal;s.normalExecuted=true;if(!i){return iterateNormalLoaders(e,t,r,n)}convertArgs(r,s.raw);runSyncOrAsync(i,t,r,function(r){if(r)return n(r);var s=Array.prototype.slice.call(arguments,1);iterateNormalLoaders(e,t,s,n)})}t.getContext=function getContext(e){var t=splitQuery(e);return dirname(t[0])};t.runLoaders=function runLoaders(e,t){var r=e.resource||"";var n=e.loaders||[];var i=e.context||{};var o=e.readResource||s;var u=r&&splitQuery(r);var c=u?u[0]:undefined;var a=u?u[1]:undefined;var d=c?dirname(c):null;var l=true;var f=[];var h=[];n=n.map(createLoaderObject);i.context=d;i.loaderIndex=0;i.loaders=n;i.resourcePath=c;i.resourceQuery=a;i.async=null;i.callback=null;i.cacheable=function cacheable(e){if(e===false){l=false}};i.dependency=i.addDependency=function addDependency(e){f.push(e)};i.addContextDependency=function addContextDependency(e){h.push(e)};i.getDependencies=function getDependencies(){return f.slice()};i.getContextDependencies=function getContextDependencies(){return h.slice()};i.clearDependencies=function clearDependencies(){f.length=0;h.length=0;l=true};Object.defineProperty(i,"resource",{enumerable:true,get:function(){if(i.resourcePath===undefined)return undefined;return i.resourcePath+i.resourceQuery},set:function(e){var t=e&&splitQuery(e);i.resourcePath=t?t[0]:undefined;i.resourceQuery=t?t[1]:undefined}});Object.defineProperty(i,"request",{enumerable:true,get:function(){return i.loaders.map(function(e){return e.request}).concat(i.resource||"").join("!")}});Object.defineProperty(i,"remainingRequest",{enumerable:true,get:function(){if(i.loaderIndex>=i.loaders.length-1&&!i.resource)return"";return i.loaders.slice(i.loaderIndex+1).map(function(e){return e.request}).concat(i.resource||"").join("!")}});Object.defineProperty(i,"currentRequest",{enumerable:true,get:function(){return i.loaders.slice(i.loaderIndex).map(function(e){return e.request}).concat(i.resource||"").join("!")}});Object.defineProperty(i,"previousRequest",{enumerable:true,get:function(){return i.loaders.slice(0,i.loaderIndex).map(function(e){return e.request}).join("!")}});Object.defineProperty(i,"query",{enumerable:true,get:function(){var e=i.loaders[i.loaderIndex];return e.options&&typeof e.options==="object"?e.options:e.query}});Object.defineProperty(i,"data",{enumerable:true,get:function(){return i.loaders[i.loaderIndex].data}});if(Object.preventExtensions){Object.preventExtensions(i)}var p={resourceBuffer:null,readResource:o};iteratePitchingLoaders(p,i,function(e,r){if(e){return t(e,{cacheable:l,fileDependencies:f,contextDependencies:h})}t(null,{result:r,resourceBuffer:p.resourceBuffer,cacheable:l,fileDependencies:f,contextDependencies:h})})}},384:(e,t,r)=>{var n=r(736);e.exports=function loadLoader(e,t){if(typeof System==="object"&&typeof System.import==="function"){System.import(e.path).catch(t).then(function(r){e.normal=typeof r==="function"?r:r.default;e.pitch=r.pitch;e.raw=r.raw;if(typeof e.normal!=="function"&&typeof e.pitch!=="function"){return t(new n("Module '"+e.path+"' is not a loader (must have normal or pitch function)"))}t()})}else{try{var r=require(e.path)}catch(r){if(r instanceof Error&&r.code==="EMFILE"){var s=loadLoader.bind(null,e,t);if(typeof setImmediate==="function"){return setImmediate(s)}else{return process.nextTick(s)}}return t(r)}if(typeof r!=="function"&&typeof r!=="object"){return t(new n("Module '"+e.path+"' is not a loader (export function or es6 module)"))}e.normal=typeof r==="function"?r:r.default;e.pitch=r.pitch;e.raw=r.raw;if(typeof e.normal!=="function"&&typeof e.pitch!=="function"){return t(new n("Module '"+e.path+"' is not a loader (must have normal or pitch function)"))}t()}}},506:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.pitch=pitch;t.default=_default;var n=_interopRequireDefault(r(622));var s=_interopRequireDefault(r(443));var i=r(286);var o=r(958);var u=_interopRequireDefault(r(480));var c=_interopRequireWildcard(r(612));function _getRequireWildcardCache(){if(typeof WeakMap!=="function")return null;var e=new WeakMap;_getRequireWildcardCache=function(){return e};return e}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}if(e===null||typeof e!=="object"&&typeof e!=="function"){return{default:e}}var t=_getRequireWildcardCache();if(t&&t.has(e)){return t.get(e)}var r={};var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e){if(Object.prototype.hasOwnProperty.call(e,s)){var i=n?Object.getOwnPropertyDescriptor(e,s):null;if(i&&(i.get||i.set)){Object.defineProperty(r,s,i)}else{r[s]=e[s]}}}r.default=e;if(t){t.set(e,r)}return r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function hotLoader(e,t){const r=t.locals?"":"module.hot.accept(undefined, cssReload);";return`${e}\n if(module.hot) {\n // ${Date.now()}\n var cssReload = require(${s.default.stringifyRequest(t.context,n.default.join(__dirname,"hmr/hotModuleReplacement.js"))})(module.id, ${JSON.stringify({...t.options,locals:!!t.locals})});\n module.hot.dispose(cssReload);\n ${r}\n }\n `}function pitch(e){const n=s.default.getOptions(this)||{};(0,i.validate)(u.default,n,{name:"Mini CSS Extract Plugin Loader",baseDataPath:"options"});const a=this.async();const d=this[c.pluginSymbol];if(!d){a(new Error("You forgot to add 'mini-css-extract-plugin' plugin (i.e. `{ plugins: [new MiniCssExtractPlugin()] }`), please read https://github.com/webpack-contrib/mini-css-extract-plugin#getting-started"));return}const l=this._compiler.webpack||r(619);const f=(e,r,s,i)=>{let u;const d=typeof n.esModule!=="undefined"?n.esModule:true;const f=d&&n.modules&&n.modules.namedExport;const h=e=>{if(!Array.isArray(e)&&e!=null){throw new Error(`Exported value was not extracted as an array: ${JSON.stringify(e)}`)}const t=new Map;const r=typeof n.emit!=="undefined"?n.emit:true;let o;for(const n of e){if(!n.identifier||!r){continue}const e=t.get(n.identifier)||0;const s=c.default.getCssDependency(l);this._module.addDependency(o=new s(n,n.context,e));t.set(n.identifier,e+1)}if(o&&s){o.assets=s;o.assetsInfo=i}};try{t=e.__esModule?e.default:e;if(f){Object.keys(e).forEach(t=>{if(t!=="default"){if(!u){u={}}u[t]=e[t]}})}else{u=t&&t.locals}let n;if(!Array.isArray(t)){n=[[null,t]]}else{n=t.map(([e,t,n,s])=>{let i=e;let u;if(r){const t=(0,o.findModuleById)(r,e);i=t.identifier();({context:u}=t)}else{u=this.rootContext}return{identifier:i,context:u,content:Buffer.from(t),media:n,sourceMap:s?Buffer.from(JSON.stringify(s)):undefined}})}h(n)}catch(e){return a(e)}const p=u?f?Object.keys(u).map(e=>`\nexport const ${e} = ${JSON.stringify(u[e])};`).join(""):`\n${d?"export default":"module.exports ="} ${JSON.stringify(u)};`:d?`\nexport {};`:"";let m=`// extracted by ${c.pluginName}`;m+=this.hot?hotLoader(p,{context:this.context,options:n,locals:u}):p;return a(null,m)};const h=typeof n.publicPath==="string"?n.publicPath==="auto"?"":n.publicPath===""||n.publicPath.endsWith("/")?n.publicPath:`${n.publicPath}/`:typeof n.publicPath==="function"?n.publicPath(this.resourcePath,this.rootContext):this._compilation.outputOptions.publicPath==="auto"?"":this._compilation.outputOptions.publicPath;if(d.experimentalUseImportModule){if(!this.importModule){a(new Error("You are using experimentalUseImportModule but 'this.importModule' is not available in loader context. You need to have at least webpack 5.33.2."));return}this.importModule(`${this.resourcePath}.webpack[javascript/auto]!=!${e}`,{layer:n.layer,publicPath:h},(e,t)=>{if(e){a(e);return}f(t)});return}const p=this.loaders.slice(this.loaderIndex+1);this.addDependency(this.resourcePath);const m="*";const g={filename:m,publicPath:h};const y=this._compilation.createChildCompiler(`${c.pluginName} ${e}`,g);const{NodeTemplatePlugin:_}=l.node;const w=l.node.NodeTargetPlugin?l.node.NodeTargetPlugin:r(743);new _(g).apply(y);(new w).apply(y);const{EntryOptionPlugin:M}=l;if(M){const{library:{EnableLibraryPlugin:t}}=l;new t("commonjs2").apply(y);M.applyEntryOption(y,this.context,{child:{library:{type:"commonjs2"},import:[`!!${e}`]}})}else{const{LibraryTemplatePlugin:t,SingleEntryPlugin:r}=l;new t(null,"commonjs2").apply(y);new r(this.context,`!!${e}`,c.pluginName).apply(y)}const{LimitChunkCountPlugin:b}=l.optimize;new b({maxChunks:1}).apply(y);const O=l.NormalModule?l.NormalModule:r(963);y.hooks.thisCompilation.tap(`${c.pluginName} loader`,t=>{const r=typeof O.getCompilationHooks!=="undefined"?O.getCompilationHooks(t).loader:t.hooks.normalModuleLoader;r.tap(`${c.pluginName} loader`,(t,r)=>{if(r.request===e){r.loaders=p.map(e=>{return{loader:e.path,options:e.options,ident:e.ident}})}})});let v;const x=y.webpack?false:typeof y.resolvers!=="undefined";if(x){y.hooks.afterCompile.tap(c.pluginName,e=>{v=e.assets[m]&&e.assets[m].source();e.chunks.forEach(t=>{t.files.forEach(t=>{delete e.assets[t]})})})}else{y.hooks.compilation.tap(c.pluginName,e=>{e.hooks.processAssets.tap(c.pluginName,()=>{v=e.assets[m]&&e.assets[m].source();e.chunks.forEach(t=>{t.files.forEach(t=>{e.deleteAsset(t)})})})})}y.runAsChild((t,r,n)=>{const s=Object.create(null);const i=new Map;for(const e of n.getAssets()){s[e.name]=e.source;i.set(e.name,e.info)}if(t){return a(t)}if(n.errors.length>0){return a(n.errors[0])}n.fileDependencies.forEach(e=>{this.addDependency(e)},this);n.contextDependencies.forEach(e=>{this.addContextDependency(e)},this);if(!v){return a(new Error("Didn't get a result from child compiler"))}let u;try{u=(0,o.evalModuleCode)(this,v,e)}catch(e){return a(e)}return f(u,n,s,i)})}function _default(){}},958:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findModuleById=findModuleById;t.evalModuleCode=evalModuleCode;t.compareModulesByIdentifier=compareModulesByIdentifier;t.MODULE_TYPE=void 0;var n=_interopRequireDefault(r(282));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const s="css/mini-extract";t.MODULE_TYPE=s;function findModuleById(e,t){const{modules:r,chunkGraph:n}=e;for(const e of r){const r=typeof n!=="undefined"?n.getModuleId(e):e.id;if(r===t){return e}}return null}function evalModuleCode(e,t,r){const s=new n.default(r,e);s.paths=n.default._nodeModulePaths(e.context);s.filename=r;s._compile(t,r);return s.exports}function compareIds(e,t){if(typeof e!==typeof t){return typeof et){return 1}return 0}function compareModulesByIdentifier(e,t){return compareIds(e.identifier(),t.identifier())}},104:(e,t,r)=>{"use strict";const n=r(391);const s=/at ([a-zA-Z0-9_.]*)/;function createMessage(e){return`Abstract method${e?" "+e:""}. Must be overridden.`}function Message(){this.stack=undefined;Error.captureStackTrace(this);const e=this.stack.split("\n")[3].match(s);this.message=e&&e[1]?createMessage(e[1]):createMessage()}class AbstractMethodError extends n{constructor(){super((new Message).message);this.name="AbstractMethodError"}}e.exports=AbstractMethodError},919:(e,t,r)=>{"use strict";const n=r(669);const s=r(834);const i=r(262).w;const o=r(973);const u=r(931);let c=1e3;const a="Chunk.entry was removed. Use hasRuntime()";const d="Chunk.initial was removed. Use canBeInitial/isOnlyInitial()";const l=(e,t)=>{if(e.id{if(e.id{if(e.identifier()>t.identifier())return 1;if(e.identifier(){e.sort();let t="";for(const r of e){t+=r.identifier()+"#"}return t};const m=e=>Array.from(e);const g=e=>{let t=0;for(const r of e){t+=r.size()}return t};class Chunk{constructor(e){this.id=null;this.ids=null;this.debugId=c++;this.name=e;this.preventIntegration=false;this.entryModule=undefined;this._modules=new s(undefined,h);this.filenameTemplate=undefined;this._groups=new s(undefined,f);this.files=[];this.rendered=false;this.hash=undefined;this.contentHash=Object.create(null);this.renderedHash=undefined;this.chunkReason=undefined;this.extraAsync=false;this.removedModules=undefined}get entry(){throw new Error(a)}set entry(e){throw new Error(a)}get initial(){throw new Error(d)}set initial(e){throw new Error(d)}hasRuntime(){for(const e of this._groups){if(e.isInitial()&&e instanceof u&&e.getRuntimeChunk()===this){return true}}return false}canBeInitial(){for(const e of this._groups){if(e.isInitial())return true}return false}isOnlyInitial(){if(this._groups.size<=0)return false;for(const e of this._groups){if(!e.isInitial())return false}return true}hasEntryModule(){return!!this.entryModule}addModule(e){if(!this._modules.has(e)){this._modules.add(e);return true}return false}removeModule(e){if(this._modules.delete(e)){e.removeChunk(this);return true}return false}setModules(e){this._modules=new s(e,h)}getNumberOfModules(){return this._modules.size}get modulesIterable(){return this._modules}addGroup(e){if(this._groups.has(e))return false;this._groups.add(e);return true}removeGroup(e){if(!this._groups.has(e))return false;this._groups.delete(e);return true}isInGroup(e){return this._groups.has(e)}getNumberOfGroups(){return this._groups.size}get groupsIterable(){return this._groups}compareTo(e){if(this.name&&!e.name)return-1;if(!this.name&&e.name)return 1;if(this.namee.name)return 1;if(this._modules.size>e._modules.size)return-1;if(this._modules.sizei)return 1}}containsModule(e){return this._modules.has(e)}getModules(){return this._modules.getFromCache(m)}getModulesIdent(){return this._modules.getFromUnorderedCache(p)}remove(e){for(const e of Array.from(this._modules)){e.removeChunk(this)}for(const e of this._groups){e.removeChunk(this)}}moveModule(e,t){o.disconnectChunkAndModule(this,e);o.connectChunkAndModule(t,e);e.rewriteChunkInReasons(this,[t])}integrate(e,t){if(!this.canBeIntegrated(e)){return false}if(this.name&&e.name){if(this.hasEntryModule()===e.hasEntryModule()){if(this.name.length!==e.name.length){this.name=this.name.length{const r=new Set(t.groupsIterable);for(const t of r){if(e.isInGroup(t))continue;if(t.isInitial())return false;for(const e of t.parentsIterable){r.add(e)}}return true};const r=this.hasRuntime();const n=e.hasRuntime();if(r!==n){if(r){return t(this,e)}else if(n){return t(e,this)}else{return false}}if(this.hasEntryModule()||e.hasEntryModule()){return false}return true}addMultiplierAndOverhead(e,t){const r=typeof t.chunkOverhead==="number"?t.chunkOverhead:1e4;const n=this.canBeInitial()?t.entryChunkMultiplicator||10:1;return e*n+r}modulesSize(){return this._modules.getFromUnorderedCache(g)}size(e={}){return this.addMultiplierAndOverhead(this.modulesSize(),e)}integratedSize(e,t){if(!this.canBeIntegrated(e)){return false}let r=this.modulesSize();for(const t of e._modules){if(!this._modules.has(t)){r+=t.size()}}return this.addMultiplierAndOverhead(r,t)}sortModules(e){this._modules.sortWith(e||l)}sortItems(){this.sortModules()}getAllAsyncChunks(){const e=new Set;const t=new Set;const r=i(Array.from(this.groupsIterable,e=>new Set(e.chunks)));for(const t of this.groupsIterable){for(const r of t.childrenIterable){e.add(r)}}for(const n of e){for(const e of n.chunks){if(!r.has(e)){t.add(e)}}for(const t of n.childrenIterable){e.add(t)}}return t}getChunkMaps(e){const t=Object.create(null);const r=Object.create(null);const n=Object.create(null);for(const s of this.getAllAsyncChunks()){t[s.id]=e?s.hash:s.renderedHash;for(const e of Object.keys(s.contentHash)){if(!r[e]){r[e]=Object.create(null)}r[e][s.id]=s.contentHash[e]}if(s.name){n[s.id]=s.name}}return{hash:t,contentHash:r,name:n}}getChildIdsByOrders(){const e=new Map;for(const t of this.groupsIterable){if(t.chunks[t.chunks.length-1]===this){for(const r of t.childrenIterable){if(typeof r.options==="object"){for(const t of Object.keys(r.options)){if(t.endsWith("Order")){const n=t.substr(0,t.length-"Order".length);let s=e.get(n);if(s===undefined)e.set(n,s=[]);s.push({order:r.options[t],group:r})}}}}}}const t=Object.create(null);for(const[r,n]of e){n.sort((e,t)=>{const r=t.order-e.order;if(r!==0)return r;if(e.group.compareTo){return e.group.compareTo(t.group)}return 0});t[r]=Array.from(n.reduce((e,t)=>{for(const r of t.group.chunks){e.add(r.id)}return e},new Set))}return t}getChildIdsByOrdersMap(e){const t=Object.create(null);const r=e=>{const r=e.getChildIdsByOrders();for(const n of Object.keys(r)){let s=t[n];if(s===undefined){t[n]=s=Object.create(null)}s[e.id]=r[n]}};if(e){const e=new Set;for(const t of this.groupsIterable){for(const r of t.chunks){e.add(r)}}for(const t of e){r(t)}}for(const e of this.getAllAsyncChunks()){r(e)}return t}getChunkModuleMaps(e){const t=Object.create(null);const r=Object.create(null);for(const n of this.getAllAsyncChunks()){let s;for(const i of n.modulesIterable){if(e(i)){if(s===undefined){s=[];t[n.id]=s}s.push(i.id);r[i.id]=i.renderedHash}}if(s!==undefined){s.sort()}}return{id:t,hash:r}}hasModuleInGraph(e,t){const r=new Set(this.groupsIterable);const n=new Set;for(const s of r){for(const r of s.chunks){if(!n.has(r)){n.add(r);if(!t||t(r)){for(const t of r.modulesIterable){if(e(t)){return true}}}}}for(const e of s.childrenIterable){r.add(e)}}return false}toString(){return`Chunk[${Array.from(this._modules).join()}]`}}Object.defineProperty(Chunk.prototype,"forEachModule",{configurable:false,value:n.deprecate(function(e){this._modules.forEach(e)},"Chunk.forEachModule: Use for(const module of chunk.modulesIterable) instead")});Object.defineProperty(Chunk.prototype,"mapModules",{configurable:false,value:n.deprecate(function(e){return Array.from(this._modules,e)},"Chunk.mapModules: Use Array.from(chunk.modulesIterable, fn) instead")});Object.defineProperty(Chunk.prototype,"chunks",{configurable:false,get(){throw new Error("Chunk.chunks: Use ChunkGroup.getChildren() instead")},set(){throw new Error("Chunk.chunks: Use ChunkGroup.add/removeChild() instead")}});Object.defineProperty(Chunk.prototype,"parents",{configurable:false,get(){throw new Error("Chunk.parents: Use ChunkGroup.getParents() instead")},set(){throw new Error("Chunk.parents: Use ChunkGroup.add/removeParent() instead")}});Object.defineProperty(Chunk.prototype,"blocks",{configurable:false,get(){throw new Error("Chunk.blocks: Use ChunkGroup.getBlocks() instead")},set(){throw new Error("Chunk.blocks: Use ChunkGroup.add/removeBlock() instead")}});Object.defineProperty(Chunk.prototype,"entrypoints",{configurable:false,get(){throw new Error("Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoint instead")},set(){throw new Error("Chunk.entrypoints: Use Chunks.addGroup instead")}});e.exports=Chunk},911:(e,t,r)=>{"use strict";const n=r(834);const s=r(562);let i=5e3;const o=e=>Array.from(e);const u=(e,t)=>{if(e.id{const r=e.module?e.module.identifier():"";const n=t.module?t.module.identifier():"";if(rn)return 1;return s(e.loc,t.loc)};class ChunkGroup{constructor(e){if(typeof e==="string"){e={name:e}}else if(!e){e={name:undefined}}this.groupDebugId=i++;this.options=e;this._children=new n(undefined,u);this._parents=new n(undefined,u);this._blocks=new n;this.chunks=[];this.origins=[];this._moduleIndices=new Map;this._moduleIndices2=new Map}addOptions(e){for(const t of Object.keys(e)){if(this.options[t]===undefined){this.options[t]=e[t]}else if(this.options[t]!==e[t]){if(t.endsWith("Order")){this.options[t]=Math.max(this.options[t],e[t])}else{throw new Error(`ChunkGroup.addOptions: No option merge strategy for ${t}`)}}}}get name(){return this.options.name}set name(e){this.options.name=e}get debugId(){return Array.from(this.chunks,e=>e.debugId).join("+")}get id(){return Array.from(this.chunks,e=>e.id).join("+")}unshiftChunk(e){const t=this.chunks.indexOf(e);if(t>0){this.chunks.splice(t,1);this.chunks.unshift(e)}else if(t<0){this.chunks.unshift(e);return true}return false}insertChunk(e,t){const r=this.chunks.indexOf(e);const n=this.chunks.indexOf(t);if(n<0){throw new Error("before chunk not found")}if(r>=0&&r>n){this.chunks.splice(r,1);this.chunks.splice(n,0,e)}else if(r<0){this.chunks.splice(n,0,e);return true}return false}pushChunk(e){const t=this.chunks.indexOf(e);if(t>=0){return false}this.chunks.push(e);return true}replaceChunk(e,t){const r=this.chunks.indexOf(e);if(r<0)return false;const n=this.chunks.indexOf(t);if(n<0){this.chunks[r]=t;return true}if(n=0){this.chunks.splice(t,1);return true}return false}isInitial(){return false}addChild(e){if(this._children.has(e)){return false}this._children.add(e);return true}getChildren(){return this._children.getFromCache(o)}getNumberOfChildren(){return this._children.size}get childrenIterable(){return this._children}removeChild(e){if(!this._children.has(e)){return false}this._children.delete(e);e.removeParent(this);return true}addParent(e){if(!this._parents.has(e)){this._parents.add(e);return true}return false}getParents(){return this._parents.getFromCache(o)}setParents(e){this._parents.clear();for(const t of e){this._parents.add(t)}}getNumberOfParents(){return this._parents.size}hasParent(e){return this._parents.has(e)}get parentsIterable(){return this._parents}removeParent(e){if(this._parents.delete(e)){e.removeChunk(this);return true}return false}getBlocks(){return this._blocks.getFromCache(o)}getNumberOfBlocks(){return this._blocks.size}hasBlock(e){return this._blocks.has(e)}get blocksIterable(){return this._blocks}addBlock(e){if(!this._blocks.has(e)){this._blocks.add(e);return true}return false}addOrigin(e,t,r){this.origins.push({module:e,loc:t,request:r})}containsModule(e){for(const t of this.chunks){if(t.containsModule(e))return true}return false}getFiles(){const e=new Set;for(const t of this.chunks){for(const r of t.files){e.add(r)}}return Array.from(e)}remove(e){for(const e of this._parents){e._children.delete(this);for(const t of this._children){t.addParent(e);e.addChild(t)}}for(const e of this._children){e._parents.delete(this)}for(const e of this._blocks){e.chunkGroup=null}for(const e of this.chunks){e.removeGroup(this)}}sortItems(){this.origins.sort(c);this._parents.sort();this._children.sort()}compareTo(e){if(this.chunks.length>e.chunks.length)return-1;if(this.chunks.length{const r=t.order-e.order;if(r!==0)return r;if(e.group.compareTo){return e.group.compareTo(t.group)}return 0});t[r]=n.map(e=>e.group)}return t}setModuleIndex(e,t){this._moduleIndices.set(e,t)}getModuleIndex(e){return this._moduleIndices.get(e)}setModuleIndex2(e,t){this._moduleIndices2.set(e,t)}getModuleIndex2(e){return this._moduleIndices2.get(e)}checkConstraints(){const e=this;for(const t of e._children){if(!t._parents.has(e)){throw new Error(`checkConstraints: child missing parent ${e.debugId} -> ${t.debugId}`)}}for(const t of e._parents){if(!t._children.has(e)){throw new Error(`checkConstraints: parent missing child ${t.debugId} <- ${e.debugId}`)}}}}e.exports=ChunkGroup},71:(e,t,r)=>{"use strict";const n=r(904);class DependenciesBlock{constructor(){this.dependencies=[];this.blocks=[];this.variables=[]}addBlock(e){this.blocks.push(e);e.parent=this}addVariable(e,t,r){for(let r of this.variables){if(r.name===e&&r.expression===t){return}}this.variables.push(new n(e,t,r))}addDependency(e){this.dependencies.push(e)}removeDependency(e){const t=this.dependencies.indexOf(e);if(t>=0){this.dependencies.splice(t,1)}}updateHash(e){for(const t of this.dependencies)t.updateHash(e);for(const t of this.blocks)t.updateHash(e);for(const t of this.variables)t.updateHash(e)}disconnect(){for(const e of this.dependencies)e.disconnect();for(const e of this.blocks)e.disconnect();for(const e of this.variables)e.disconnect()}unseal(){for(const e of this.blocks)e.unseal()}hasDependencies(e){if(e){for(const t of this.dependencies){if(e(t))return true}}else{if(this.dependencies.length>0){return true}}for(const t of this.blocks){if(t.hasDependencies(e))return true}for(const t of this.variables){if(t.hasDependencies(e))return true}return false}sortItems(){for(const e of this.blocks)e.sortItems()}}e.exports=DependenciesBlock},904:(e,t,r)=>{"use strict";const{RawSource:n,ReplaceSource:s}=r(665);class DependenciesBlockVariable{constructor(e,t,r){this.name=e;this.expression=t;this.dependencies=r||[]}updateHash(e){e.update(this.name);e.update(this.expression);for(const t of this.dependencies){t.updateHash(e)}}expressionSource(e,t){const r=new s(new n(this.expression));for(const n of this.dependencies){const s=e.get(n.constructor);if(!s){throw new Error(`No template for dependency: ${n.constructor.name}`)}s.apply(n,r,t,e)}return r}disconnect(){for(const e of this.dependencies){e.disconnect()}}hasDependencies(e){if(e){return this.dependencies.some(e)}return this.dependencies.length>0}}e.exports=DependenciesBlockVariable},931:(e,t,r)=>{"use strict";const n=r(911);class Entrypoint extends n{constructor(e){super(e);this.runtimeChunk=undefined}isInitial(){return true}setRuntimeChunk(e){this.runtimeChunk=e}getRuntimeChunk(){return this.runtimeChunk||this.chunks[0]}replaceChunk(e,t){if(this.runtimeChunk===e)this.runtimeChunk=t;return super.replaceChunk(e,t)}}e.exports=Entrypoint},140:(e,t)=>{"use strict";const r="LOADER_EXECUTION";const n="WEBPACK_OPTIONS";t.cutOffByFlag=((e,t)=>{e=e.split("\n");for(let r=0;rt.cutOffByFlag(e,r));t.cutOffWebpackOptions=(e=>t.cutOffByFlag(e,n));t.cutOffMultilineMessage=((e,t)=>{e=e.split("\n");t=t.split("\n");return e.reduce((e,r,n)=>r.includes(t[n])?e:e.concat(r),[]).join("\n")});t.cutOffMessage=((e,t)=>{const r=e.indexOf("\n");if(r===-1){return e===t?"":e}else{const n=e.substr(0,r);return n===t?e.substr(r+1):e}});t.cleanUp=((e,r)=>{e=t.cutOffLoaderExecution(e);e=t.cutOffMessage(e,r);return e});t.cleanUpWebpackOptions=((e,r)=>{e=t.cutOffWebpackOptions(e);e=t.cutOffMultilineMessage(e,r);return e})},204:(e,t,r)=>{"use strict";const{OriginalSource:n,RawSource:s}=r(665);const i=r(993);const o=r(386);const u=r(66);class ExternalModule extends i{constructor(e,t,r){super("javascript/dynamic",null);this.request=e;this.externalType=t;this.userRequest=r;this.external=true}libIdent(){return this.userRequest}chunkCondition(e){return e.hasEntryModule()}identifier(){return"external "+JSON.stringify(this.request)}readableIdentifier(){return"external "+JSON.stringify(this.request)}needRebuild(){return false}build(e,t,r,n,s){this.built=true;this.buildMeta={};this.buildInfo={};s()}getSourceForGlobalVariableExternal(e,t){if(!Array.isArray(e)){e=[e]}const r=e.map(e=>`[${JSON.stringify(e)}]`).join("");return`(function() { module.exports = ${t}${r}; }());`}getSourceForCommonJsExternal(e){if(!Array.isArray(e)){return`module.exports = require(${JSON.stringify(e)});`}const t=e[0];const r=e.slice(1).map(e=>`[${JSON.stringify(e)}]`).join("");return`module.exports = require(${JSON.stringify(t)})${r};`}checkExternalVariable(e,t){return`if(typeof ${e} === 'undefined') {${o.moduleCode(t)}}\n`}getSourceForAmdOrUmdExternal(e,t,r){const n=`__WEBPACK_EXTERNAL_MODULE_${u.toIdentifier(`${e}`)}__`;const s=t?this.checkExternalVariable(n,r):"";return`${s}module.exports = ${n};`}getSourceForDefaultCase(e,t){if(!Array.isArray(t)){t=[t]}const r=t[0];const n=e?this.checkExternalVariable(r,t.join(".")):"";const s=t.slice(1).map(e=>`[${JSON.stringify(e)}]`).join("");return`${n}module.exports = ${r}${s};`}getSourceString(e){const t=typeof this.request==="object"&&!Array.isArray(this.request)?this.request[this.externalType]:this.request;switch(this.externalType){case"this":case"window":case"self":return this.getSourceForGlobalVariableExternal(t,this.externalType);case"global":return this.getSourceForGlobalVariableExternal(t,e.outputOptions.globalObject);case"commonjs":case"commonjs2":return this.getSourceForCommonJsExternal(t);case"amd":case"amd-require":case"umd":case"umd2":case"system":return this.getSourceForAmdOrUmdExternal(this.id,this.optional,t);default:return this.getSourceForDefaultCase(this.optional,t)}}getSource(e){if(this.useSourceMap){return new n(e,this.identifier())}return new s(e)}source(e,t){return this.getSource(this.getSourceString(t))}size(){return 42}updateHash(e){e.update(this.externalType);e.update(JSON.stringify(this.request));e.update(JSON.stringify(Boolean(this.optional)));super.updateHash(e)}}e.exports=ExternalModule},876:(e,t,r)=>{"use strict";const n=r(204);class ExternalModuleFactoryPlugin{constructor(e,t){this.type=e;this.externals=t}apply(e){const t=this.type;e.hooks.factory.tap("ExternalModuleFactoryPlugin",e=>(r,s)=>{const i=r.context;const o=r.dependencies[0];const u=(s,i,u)=>{if(typeof i==="function"){u=i;i=undefined}if(s===false)return e(r,u);if(s===true)s=o.request;if(i===undefined&&/^[a-z0-9]+ /.test(s)){const e=s.indexOf(" ");i=s.substr(0,e);s=s.substr(e+1)}u(null,new n(s,i||t,o.request));return true};const c=(e,t)=>{if(typeof e==="string"){if(e===o.request){return u(o.request,t)}}else if(Array.isArray(e)){let r=0;const n=()=>{let s;const i=(e,r)=>{if(e)return t(e);if(!r){if(s){s=false;return}return n()}t(null,r)};do{s=true;if(r>=e.length)return t();c(e[r++],i)}while(!s);s=false};n();return}else if(e instanceof RegExp){if(e.test(o.request)){return u(o.request,t)}}else if(typeof e==="function"){e.call(null,i,o.request,(e,r,n)=>{if(e)return t(e);if(r!==undefined){u(r,n,t)}else{t()}});return}else if(typeof e==="object"&&Object.prototype.hasOwnProperty.call(e,o.request)){return u(e[o.request],t)}t()};c(this.externals,(e,t)=>{if(e)return s(e);if(!t)return u(false,s);return s(null,t)})})}}e.exports=ExternalModuleFactoryPlugin},705:(e,t,r)=>{"use strict";const n=r(876);class ExternalsPlugin{constructor(e,t){this.type=e;this.externals=t}apply(e){e.hooks.compile.tap("ExternalsPlugin",({normalModuleFactory:e})=>{new n(this.type,this.externals).apply(e)})}}e.exports=ExternalsPlugin},973:(e,t)=>{const r=(e,t)=>{if(e.pushChunk(t)){t.addGroup(e)}};const n=(e,t)=>{if(e.addChild(t)){t.addParent(e)}};const s=(e,t)=>{if(t.addChunk(e)){e.addModule(t)}};const i=(e,t)=>{e.removeModule(t);t.removeChunk(e)};const o=(e,t)=>{if(t.addBlock(e)){e.chunkGroup=t}};t.connectChunkGroupAndChunk=r;t.connectChunkGroupParentAndChild=n;t.connectChunkAndModule=s;t.disconnectChunkAndModule=i;t.connectDependenciesBlockAndChunkGroup=o},782:(e,t,r)=>{"use strict";const n=r(919);class HotUpdateChunk extends n{constructor(){super();this.removedModules=undefined}}e.exports=HotUpdateChunk},993:(e,t,r)=>{"use strict";const n=r(669);const s=r(71);const i=r(576);const o=r(834);const u=r(66);const c={};let a=1e3;const d=(e,t)=>{return e.id-t.id};const l=(e,t)=>{return e.debugId-t.debugId};class Module extends s{constructor(e,t=null){super();this.type=e;this.context=t;this.debugId=a++;this.hash=undefined;this.renderedHash=undefined;this.resolveOptions=c;this.factoryMeta={};this.warnings=[];this.errors=[];this.buildMeta=undefined;this.buildInfo=undefined;this.reasons=[];this._chunks=new o(undefined,d);this.id=null;this.index=null;this.index2=null;this.depth=null;this.issuer=null;this.profile=undefined;this.prefetched=false;this.built=false;this.used=null;this.usedExports=null;this.optimizationBailout=[];this._rewriteChunkInReasons=undefined;this.useSourceMap=false;this._source=null}get exportsArgument(){return this.buildInfo&&this.buildInfo.exportsArgument||"exports"}get moduleArgument(){return this.buildInfo&&this.buildInfo.moduleArgument||"module"}disconnect(){this.hash=undefined;this.renderedHash=undefined;this.reasons.length=0;this._rewriteChunkInReasons=undefined;this._chunks.clear();this.id=null;this.index=null;this.index2=null;this.depth=null;this.issuer=null;this.profile=undefined;this.prefetched=false;this.built=false;this.used=null;this.usedExports=null;this.optimizationBailout.length=0;super.disconnect()}unseal(){this.id=null;this.index=null;this.index2=null;this.depth=null;this._chunks.clear();super.unseal()}setChunks(e){this._chunks=new o(e,d)}addChunk(e){if(this._chunks.has(e))return false;this._chunks.add(e);return true}removeChunk(e){if(this._chunks.delete(e)){e.removeModule(this);return true}return false}isInChunk(e){return this._chunks.has(e)}isEntryModule(){for(const e of this._chunks){if(e.entryModule===this)return true}return false}get optional(){return this.reasons.length>0&&this.reasons.every(e=>e.dependency&&e.dependency.optional)}getChunks(){return Array.from(this._chunks)}getNumberOfChunks(){return this._chunks.size}get chunksIterable(){return this._chunks}hasEqualsChunks(e){if(this._chunks.size!==e._chunks.size)return false;this._chunks.sortWith(l);e._chunks.sortWith(l);const t=this._chunks[Symbol.iterator]();const r=e._chunks[Symbol.iterator]();while(true){const e=t.next();const n=r.next();if(e.done)return true;if(e.value!==n.value)return false}}addReason(e,t,r){this.reasons.push(new i(e,t,r))}removeReason(e,t){for(let r=0;r0}rewriteChunkInReasons(e,t){if(this._rewriteChunkInReasons===undefined){this._rewriteChunkInReasons=[]}this._rewriteChunkInReasons.push({oldChunk:e,newChunks:t})}_doRewriteChunkInReasons(e,t){for(let r=0;r{if(e.module===t.module)return 0;if(!e.module)return-1;if(!t.module)return 1;return d(e.module,t.module)});if(Array.isArray(this.usedExports)){this.usedExports.sort()}}unbuild(){this.dependencies.length=0;this.blocks.length=0;this.variables.length=0;this.buildMeta=undefined;this.buildInfo=undefined;this.disconnect()}get arguments(){throw new Error("Module.arguments was removed, there is no replacement.")}set arguments(e){throw new Error("Module.arguments was removed, there is no replacement.")}}Object.defineProperty(Module.prototype,"forEachChunk",{configurable:false,value:n.deprecate(function(e){this._chunks.forEach(e)},"Module.forEachChunk: Use for(const chunk of module.chunksIterable) instead")});Object.defineProperty(Module.prototype,"mapChunks",{configurable:false,value:n.deprecate(function(e){return Array.from(this._chunks,e)},"Module.mapChunks: Use Array.from(module.chunksIterable, fn) instead")});Object.defineProperty(Module.prototype,"entry",{configurable:false,get(){throw new Error("Module.entry was removed. Use Chunk.entryModule")},set(){throw new Error("Module.entry was removed. Use Chunk.entryModule")}});Object.defineProperty(Module.prototype,"meta",{configurable:false,get:n.deprecate(function(){return this.buildMeta},"Module.meta was renamed to Module.buildMeta"),set:n.deprecate(function(e){this.buildMeta=e},"Module.meta was renamed to Module.buildMeta")});Module.prototype.identifier=null;Module.prototype.readableIdentifier=null;Module.prototype.build=null;Module.prototype.source=null;Module.prototype.size=null;Module.prototype.nameForCondition=null;Module.prototype.chunkCondition=null;Module.prototype.updateCacheModule=null;e.exports=Module},72:(e,t,r)=>{"use strict";const n=r(391);const{cutOffLoaderExecution:s}=r(140);class ModuleBuildError extends n{constructor(e,t,{from:r=null}={}){let n="Module build failed";let i=undefined;if(r){n+=` (from ${r}):\n`}else{n+=": "}if(t!==null&&typeof t==="object"){if(typeof t.stack==="string"&&t.stack){const e=s(t.stack);if(!t.hideStack){n+=e}else{i=e;if(typeof t.message==="string"&&t.message){n+=t.message}else{n+=t}}}else if(typeof t.message==="string"&&t.message){n+=t.message}else{n+=t}}else{n=t}super(n);this.name="ModuleBuildError";this.details=i;this.module=e;this.error=t;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleBuildError},528:(e,t,r)=>{"use strict";const n=r(391);const{cleanUp:s}=r(140);class ModuleError extends n{constructor(e,t,{from:r=null}={}){let n="Module Error";if(r){n+=` (from ${r}):\n`}else{n+=": "}if(t&&typeof t==="object"&&t.message){n+=t.message}else if(t){n+=t}super(n);this.name="ModuleError";this.module=e;this.error=t;this.details=t&&typeof t==="object"&&t.stack?s(t.stack,this.message):undefined;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleError},500:(e,t,r)=>{"use strict";const n=r(391);class ModuleParseError extends n{constructor(e,t,r,n){let s="Module parse failed: "+r.message;let i=undefined;if(n.length>=1){s+=`\nFile was processed with these loaders:${n.map(e=>`\n * ${e}`).join("")}`;s+="\nYou may need an additional loader to handle the result of these loaders."}else{s+="\nYou may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders"}if(r.loc&&typeof r.loc==="object"&&typeof r.loc.line==="number"){var o=r.loc.line;if(/[\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007]/.test(t)){s+="\n(Source code omitted for this binary file)"}else{const e=t.split(/\r?\n/);const r=Math.max(0,o-3);const n=e.slice(r,o-1);const i=e[o-1];const u=e.slice(o,o+2);s+=n.map(e=>`\n| ${e}`).join("")+`\n> ${i}`+u.map(e=>`\n| ${e}`).join("")}i=r.loc}else{s+="\n"+r.stack}super(s);this.name="ModuleParseError";this.module=e;this.loc=i;this.error=r;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleParseError},576:e=>{"use strict";class ModuleReason{constructor(e,t,r){this.module=e;this.dependency=t;this.explanation=r;this._chunks=null}hasChunk(e){if(this._chunks){if(this._chunks.has(e))return true}else if(this.module&&this.module._chunks.has(e))return true;return false}rewriteChunks(e,t){if(!this._chunks){if(this.module){if(!this.module._chunks.has(e))return;this._chunks=new Set(this.module._chunks)}else{this._chunks=new Set}}if(this._chunks.has(e)){this._chunks.delete(e);for(let e=0;e{"use strict";const n=r(391);const{cleanUp:s}=r(140);class ModuleWarning extends n{constructor(e,t,{from:r=null}={}){let n="Module Warning";if(r){n+=` (from ${r}):\n`}else{n+=": "}if(t&&typeof t==="object"&&t.message){n+=t.message}else if(t){n+=t}super(n);this.name="ModuleWarning";this.module=e;this.warning=t;this.details=t&&typeof t==="object"&&t.stack?s(t.stack,this.message):undefined;Error.captureStackTrace(this,this.constructor)}}e.exports=ModuleWarning},963:(e,t,r)=>{"use strict";const n=r(282);const{CachedSource:s,LineToLineMappedSource:i,OriginalSource:o,RawSource:u,SourceMapSource:c}=r(665);const{getContext:a,runLoaders:d}=r(278);const l=r(391);const f=r(993);const h=r(500);const p=r(72);const m=r(528);const g=r(372);const y=r(660);const _=r(658).tR;const w=e=>{if(Buffer.isBuffer(e)){return e.toString("utf-8")}return e};const M=e=>{if(!Buffer.isBuffer(e)){return Buffer.from(e,"utf-8")}return e};class NonErrorEmittedError extends l{constructor(e){super();this.name="NonErrorEmittedError";this.message="(Emitted value instead of an instance of Error) "+e;Error.captureStackTrace(this,this.constructor)}}class NormalModule extends f{constructor({type:e,request:t,userRequest:r,rawRequest:n,loaders:s,resource:i,matchResource:o,parser:u,generator:c,resolveOptions:d}){super(e,a(i));this.request=t;this.userRequest=r;this.rawRequest=n;this.binary=e.startsWith("webassembly");this.parser=u;this.generator=c;this.resource=i;this.matchResource=o;this.loaders=s;if(d!==undefined)this.resolveOptions=d;this.error=null;this._source=null;this._sourceSize=null;this._buildHash="";this.buildTimestamp=undefined;this._cachedSources=new Map;this.useSourceMap=false;this.lineToLine=false;this._lastSuccessfulBuildMeta={}}identifier(){return this.request}readableIdentifier(e){return e.shorten(this.userRequest)}libIdent(e){return _(e.context,this.userRequest)}nameForCondition(){const e=this.matchResource||this.resource;const t=e.indexOf("?");if(t>=0)return e.substr(0,t);return e}updateCacheModule(e){this.type=e.type;this.request=e.request;this.userRequest=e.userRequest;this.rawRequest=e.rawRequest;this.parser=e.parser;this.generator=e.generator;this.resource=e.resource;this.matchResource=e.matchResource;this.loaders=e.loaders;this.resolveOptions=e.resolveOptions}createSourceForAsset(e,t,r){if(!r){return new u(t)}if(typeof r==="string"){return new o(t,r)}return new c(t,e,r)}createLoaderContext(e,t,r,s){const i=r.runtimeTemplate.requestShortener;const o=()=>{const e=this.getCurrentLoader(u);if(!e)return"(not in loader scope)";return i.shorten(e.loader)};const u={version:2,emitWarning:e=>{if(!(e instanceof Error)){e=new NonErrorEmittedError(e)}this.warnings.push(new g(this,e,{from:o()}))},emitError:e=>{if(!(e instanceof Error)){e=new NonErrorEmittedError(e)}this.errors.push(new m(this,e,{from:o()}))},getLogger:e=>{const t=this.getCurrentLoader(u);return r.getLogger(()=>[t&&t.loader,e,this.identifier()].filter(Boolean).join("|"))},exec:(e,t)=>{const r=new n(t,this);r.paths=n._nodeModulePaths(this.context);r.filename=t;r._compile(e,t);return r.exports},resolve(t,r,n){e.resolve({},t,r,{},n)},getResolve(t){const r=t?e.withOptions(t):e;return(e,t,n)=>{if(n){r.resolve({},e,t,{},n)}else{return new Promise((n,s)=>{r.resolve({},e,t,{},(e,t)=>{if(e)s(e);else n(t)})})}}},emitFile:(e,t,r,n)=>{if(!this.buildInfo.assets){this.buildInfo.assets=Object.create(null);this.buildInfo.assetsInfo=new Map}this.buildInfo.assets[e]=this.createSourceForAsset(e,t,r);this.buildInfo.assetsInfo.set(e,n)},rootContext:t.context,webpack:true,sourceMap:!!this.useSourceMap,mode:t.mode||"production",_module:this,_compilation:r,_compiler:r.compiler,fs:s};r.hooks.normalModuleLoader.call(u,this);if(t.loader){Object.assign(u,t.loader)}return u}getCurrentLoader(e,t=e.loaderIndex){if(this.loaders&&this.loaders.length&&t=0&&this.loaders[t]){return this.loaders[t]}return null}createSource(e,t,r){if(!this.identifier){return new u(e)}const n=this.identifier();if(this.lineToLine&&t){return new i(e,n,w(t))}if(this.useSourceMap&&r){return new c(e,n,r)}if(Buffer.isBuffer(e)){return new u(e)}return new o(e,n)}doBuild(e,t,r,n,s){const i=this.createLoaderContext(r,e,t,n);d({resource:this.resource,loaders:this.loaders,context:i,readResource:n.readFile.bind(n)},(e,r)=>{if(r){this.buildInfo.cacheable=r.cacheable;this.buildInfo.fileDependencies=new Set(r.fileDependencies);this.buildInfo.contextDependencies=new Set(r.contextDependencies)}if(e){if(!(e instanceof Error)){e=new NonErrorEmittedError(e)}const r=this.getCurrentLoader(i);const n=new p(this,e,{from:r&&t.runtimeTemplate.requestShortener.shorten(r.loader)});return s(n)}const n=r.resourceBuffer;const o=r.result[0];const u=r.result.length>=1?r.result[1]:null;const c=r.result.length>=2?r.result[2]:null;if(!Buffer.isBuffer(o)&&typeof o!=="string"){const e=this.getCurrentLoader(i,0);const r=new Error(`Final loader (${e?t.runtimeTemplate.requestShortener.shorten(e.loader):"unknown"}) didn't return a Buffer or String`);const n=new p(this,r);return s(n)}this._source=this.createSource(this.binary?M(o):w(o),n,u);this._sourceSize=null;this._ast=typeof c==="object"&&c!==null&&c.webpackAST!==undefined?c.webpackAST:null;return s()})}markModuleAsErrored(e){this.buildMeta=Object.assign({},this._lastSuccessfulBuildMeta);this.error=e;this.errors.push(this.error);this._source=new u("throw new Error("+JSON.stringify(this.error.message)+");");this._sourceSize=null;this._ast=null}applyNoParseRule(e,t){if(typeof e==="string"){return t.indexOf(e)===0}if(typeof e==="function"){return e(t)}return e.test(t)}shouldPreventParsing(e,t){if(!e){return false}if(!Array.isArray(e)){return this.applyNoParseRule(e,t)}for(let r=0;r{this._cachedSources.clear();if(r){this.markModuleAsErrored(r);this._initBuildHash(t);return s()}const n=e.module&&e.module.noParse;if(this.shouldPreventParsing(n,this.request)){this._initBuildHash(t);return s()}const i=r=>{const n=this._source.source();const i=this.loaders.map(t=>_(e.context,t.loader));const o=new h(this,n,r,i);this.markModuleAsErrored(o);this._initBuildHash(t);return s()};const o=e=>{this._lastSuccessfulBuildMeta=this.buildMeta;this._initBuildHash(t);return s()};try{const r=this.parser.parse(this._ast||this._source.source(),{current:this,module:this,compilation:t,options:e},(e,t)=>{if(e){i(e)}else{o(t)}});if(r!==undefined){o(r)}}catch(e){i(e)}})}getHashDigest(e){let t=e.get("hash");return`${this.hash}-${t}`}source(e,t,r="javascript"){const n=this.getHashDigest(e);const i=this._cachedSources.get(r);if(i!==undefined&&i.hash===n){return i.source}const o=this.generator.generate(this,e,t,r);const u=new s(o);this._cachedSources.set(r,{source:u,hash:n});return u}originalSource(){return this._source}needRebuild(e,t){if(this.error)return true;if(!this.buildInfo.cacheable)return true;for(const t of this.buildInfo.fileDependencies){const r=e.get(t);if(!r)return true;if(r>=this.buildTimestamp)return true}for(const e of this.buildInfo.contextDependencies){const r=t.get(e);if(!r)return true;if(r>=this.buildTimestamp)return true}return false}size(){if(this._sourceSize===null){this._sourceSize=this._source?this._source.size():-1}return this._sourceSize}updateHash(e){e.update(this._buildHash);super.updateHash(e)}}e.exports=NormalModule},66:(e,t,r)=>{const{ConcatSource:n}=r(665);const s=r(782);const i="a".charCodeAt(0);const o="A".charCodeAt(0);const u="z".charCodeAt(0)-i+1;const c=/^function\s?\(\)\s?\{\r?\n?|\r?\n?\}$/g;const a=/^\t/gm;const d=/\r?\n/g;const l=/^([^a-zA-Z$_])/;const f=/[^a-zA-Z0-9$]+/g;const h=/\*\//g;const p=/[^a-zA-Z0-9_!§$()=\-^°]+/g;const m=/^-|-$/g;const g=(e,t)=>{const r=e.id+"";const n=t.id+"";if(rn)return 1;return 0};class Template{static getFunctionContent(e){return e.toString().replace(c,"").replace(a,"").replace(d,"\n")}static toIdentifier(e){if(typeof e!=="string")return"";return e.replace(l,"_$1").replace(f,"_")}static toComment(e){if(!e)return"";return`/*! ${e.replace(h,"* /")} */`}static toNormalComment(e){if(!e)return"";return`/* ${e.replace(h,"* /")} */`}static toPath(e){if(typeof e!=="string")return"";return e.replace(p,"-").replace(m,"")}static numberToIdentifer(e){if(en.id)r=n.id}if(r<16+(""+r).length){r=0}const n=e.map(e=>(e.id+"").length+2).reduce((e,t)=>e+t,-1);const s=r===0?t:16+(""+r).length+t;return s{return{id:t.id,source:r.render(t,i,{chunk:e})}});if(a&&a.length>0){for(const e of a){d.push({id:e,source:"false"})}}const l=Template.getModulesArrayBounds(d);if(l){const e=l[0];const t=l[1];if(e!==0){u.add(`Array(${e}).concat(`)}u.add("[\n");const r=new Map;for(const e of d){r.set(e.id,e)}for(let n=e;n<=t;n++){const t=r.get(n);if(n!==e){u.add(",\n")}u.add(`/* ${n} */`);if(t){u.add("\n");u.add(t.source)}}u.add("\n"+o+"]");if(e!==0){u.add(")")}}else{u.add("{\n");d.sort(g).forEach((e,t)=>{if(t!==0){u.add(",\n")}u.add(`\n/***/ ${JSON.stringify(e.id)}:\n`);u.add(e.source)});u.add(`\n\n${o}}`)}return u}}e.exports=Template},391:(e,t,r)=>{"use strict";const n=r(669).inspect.custom;class WebpackError extends Error{constructor(e){super(e);this.details=undefined;this.missing=undefined;this.origin=undefined;this.dependencies=undefined;this.module=undefined;Error.captureStackTrace(this,this.constructor)}[n](){return this.stack+(this.details?`\n${this.details}`:"")}}e.exports=WebpackError},562:e=>{"use strict";e.exports=((e,t)=>{if(typeof e==="string"){if(typeof t==="string"){if(et)return 1;return 0}else if(typeof t==="object"){return 1}else{return 0}}else if(typeof e==="object"){if(typeof t==="string"){return-1}else if(typeof t==="object"){if("start"in e&&"start"in t){const r=e.start;const n=t.start;if(r.linen.line)return 1;if(r.columnn.column)return 1}if("name"in e&&"name"in t){if(e.namet.name)return 1}if("index"in e&&"index"in t){if(e.indext.index)return 1}return 0}else{return 0}}})},386:(e,t)=>{"use strict";const r=e=>`var e = new Error(${JSON.stringify(e)}); e.code = 'MODULE_NOT_FOUND';`;t.module=(e=>`!(function webpackMissingModule() { ${t.moduleCode(e)} }())`);t.promise=(e=>{const t=r(`Cannot find module '${e}'`);return`Promise.reject(function webpackMissingModule() { ${t} return e; }())`});t.moduleCode=(e=>{const t=r(`Cannot find module '${e}'`);return`${t} throw e;`})},743:(e,t,r)=>{"use strict";const n=r(705);const s=r(282).builtinModules||Object.keys(process.binding("natives"));class NodeTargetPlugin{apply(e){new n("commonjs",s).apply(e)}}e.exports=NodeTargetPlugin},262:(e,t)=>{"use strict";var r;const n=e=>{if(e.length===0)return new Set;if(e.length===1)return new Set(e[0]);let t=Infinity;let r=-1;for(let n=0;n{if(e.size{"use strict";class SortableSet extends Set{constructor(e,t){super(e);this._sortFn=t;this._lastActiveSortFn=null;this._cache=undefined;this._cacheOrderIndependent=undefined}add(e){this._lastActiveSortFn=null;this._invalidateCache();this._invalidateOrderedCache();super.add(e);return this}delete(e){this._invalidateCache();this._invalidateOrderedCache();return super.delete(e)}clear(){this._invalidateCache();this._invalidateOrderedCache();return super.clear()}sortWith(e){if(this.size<=1||e===this._lastActiveSortFn){return}const t=Array.from(this).sort(e);super.clear();for(let e=0;e{"use strict";const n=r(104);const s=1e3;class Hash{update(e,t){throw new n}digest(e){throw new n}}t.Hash=Hash;class BulkUpdateDecorator extends Hash{constructor(e){super();this.hash=e;this.buffer=""}update(e,t){if(t!==undefined||typeof e!=="string"||e.length>s){if(this.buffer.length>0){this.hash.update(this.buffer);this.buffer=""}this.hash.update(e,t)}else{this.buffer+=e;if(this.buffer.length>s){this.hash.update(this.buffer);this.buffer=""}}return this}digest(e){if(this.buffer.length>0){this.hash.update(this.buffer)}var t=this.hash.digest(e);return typeof t==="string"?t:t.toString()}}class DebugHash extends Hash{constructor(){super();this.string=""}update(e,t){if(typeof e!=="string")e=e.toString("utf-8");this.string+=e;return this}digest(e){return this.string.replace(/[^a-z0-9]+/gi,e=>Buffer.from(e).toString("hex"))}}e.exports=(e=>{if(typeof e==="function"){return new BulkUpdateDecorator(new e)}switch(e){case"debug":return new DebugHash;default:return new BulkUpdateDecorator(r(417).createHash(e))}})},658:(e,t,r)=>{"use strict";var n;const s=r(622);const i=(e,t)=>{if(t.startsWith("./")||t.startsWith("../"))return s.join(e,t);return t};const o=e=>{if(/^\/.*\/$/.test(e)){return false}return/^(?:[a-z]:\\|\/)/i.test(e)};const u=e=>e.replace(/\\/g,"/");const c=(e,t)=>{return t.split(/([|! ])/).map(t=>o(t)?u(s.relative(e,t)):t).join("")};n=((e,t,r)=>{if(!r)return c(e,t);const n=r.relativePaths||(r.relativePaths=new Map);let s;let i=n.get(e);if(i===undefined){n.set(e,i=new Map)}else{s=i.get(t)}if(s!==undefined){return s}else{const r=c(e,t);i.set(t,r);return r}});t.tR=((e,t)=>{return t.split("!").map(t=>{const r=t.split("?",2);if(/^[a-zA-Z]:\\/.test(r[0])){r[0]=s.win32.relative(e,r[0]);if(!/^[a-zA-Z]:\\/.test(r[0])){r[0]=r[0].replace(/\\/g,"/")}}if(/^\//.test(r[0])){r[0]=s.posix.relative(e,r[0])}if(!/^(\.\.\/|\/|[a-zA-Z]:\\)/.test(r[0])){r[0]="./"+r[0]}return r.join("?")}).join("!")});const a=(e,t)=>{return t.split("!").map(t=>i(e,t)).join("!")};n=a},612:e=>{"use strict";e.exports=require("./index.js")},417:e=>{"use strict";e.exports=require("crypto")},747:e=>{"use strict";e.exports=require("fs")},282:e=>{"use strict";e.exports=require("module")},443:e=>{"use strict";e.exports=require("next/dist/compiled/loader-utils")},286:e=>{"use strict";e.exports=require("next/dist/compiled/schema-utils3")},665:e=>{"use strict";e.exports=require("next/dist/compiled/webpack-sources")},619:e=>{"use strict";e.exports=require("next/dist/compiled/webpack/webpack-lib")},622:e=>{"use strict";e.exports=require("path")},669:e=>{"use strict";e.exports=require("util")}};var t={};function __nccwpck_require__(r){if(t[r]){return t[r].exports}var n=t[r]={exports:{}};var s=true;try{e[r](n,n.exports,__nccwpck_require__);s=false}finally{if(s)delete t[r]}return n.exports}__nccwpck_require__.ab=__dirname+"/";return __nccwpck_require__(506)})(); \ No newline at end of file diff --git a/packages/next/taskfile.js b/packages/next/taskfile.js index 68ac37d675..97189e4676 100644 --- a/packages/next/taskfile.js +++ b/packages/next/taskfile.js @@ -694,7 +694,7 @@ export async function ncc_webpack_bundle5(task, opts) { } const webpackBundlePackages = { - webpack: 'next/dist/compiled/webpack/webpack', + webpack: 'next/dist/compiled/webpack/webpack-lib', } Object.assign(externals, webpackBundlePackages) diff --git a/test/integration/next-dynamic-css/next.config.js b/test/integration/next-dynamic-css/next.config.js new file mode 100644 index 0000000000..15ef4d1917 --- /dev/null +++ b/test/integration/next-dynamic-css/next.config.js @@ -0,0 +1,5 @@ +module.exports = { + future: { + webpack5: false, + }, +} diff --git a/test/integration/next-dynamic-css/src/Component2.jsx b/test/integration/next-dynamic-css/src/Component2.jsx new file mode 100644 index 0000000000..fa1681a821 --- /dev/null +++ b/test/integration/next-dynamic-css/src/Component2.jsx @@ -0,0 +1,27 @@ +import styles from './Component2.module.scss' + +export default function Content2() { + return ( +
+

Where does it come from?

+
+ Contrary to popular belief, Lorem Ipsum is not simply random text. It + has roots in a piece of classical Latin literature from 45 BC, making it + over 2000 years old. Richard McClintock, a Latin professor at + Hampden-Sydney College in Virginia, looked up one of the more obscure + Latin words, consectetur, from a Lorem Ipsum passage, and going through + the cites of the word in classical literature, discovered the + undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 + of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by + Cicero, written in 45 BC. This book is a treatise on the theory of + ethics, very popular during the Renaissance. The first line of Lorem + Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section + 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is + reproduced below for those interested. Sections 1.10.32 and 1.10.33 from + "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their + exact original form, accompanied by English versions from the 1914 + translation by H. Rackham. +
+
+ ) +} diff --git a/test/integration/next-dynamic-css/src/Component2.module.scss b/test/integration/next-dynamic-css/src/Component2.module.scss new file mode 100644 index 0000000000..c899a8eb64 --- /dev/null +++ b/test/integration/next-dynamic-css/src/Component2.module.scss @@ -0,0 +1,13 @@ +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} diff --git a/test/integration/next-dynamic-css/src/Content.jsx b/test/integration/next-dynamic-css/src/Content.jsx new file mode 100644 index 0000000000..7b46fb3ede --- /dev/null +++ b/test/integration/next-dynamic-css/src/Content.jsx @@ -0,0 +1,29 @@ +import styles from './Content.module.css' +import Content2 from './Component2' + +export default function Content() { + return ( +
+

Where does it come from?

+
+ Contrary to popular belief, Lorem Ipsum is not simply random text. It + has roots in a piece of classical Latin literature from 45 BC, making it + over 2000 years old. Richard McClintock, a Latin professor at + Hampden-Sydney College in Virginia, looked up one of the more obscure + Latin words, consectetur, from a Lorem Ipsum passage, and going through + the cites of the word in classical literature, discovered the + undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 + of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by + Cicero, written in 45 BC. This book is a treatise on the theory of + ethics, very popular during the Renaissance. The first line of Lorem + Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section + 1.10.32. The standard chunk of Lorem Ipsum used since the 1500s is + reproduced below for those interested. Sections 1.10.32 and 1.10.33 from + "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their + exact original form, accompanied by English versions from the 1914 + translation by H. Rackham. +
+ +
+ ) +} diff --git a/test/integration/next-dynamic-css/src/Content.module.css b/test/integration/next-dynamic-css/src/Content.module.css new file mode 100644 index 0000000000..c899a8eb64 --- /dev/null +++ b/test/integration/next-dynamic-css/src/Content.module.css @@ -0,0 +1,13 @@ +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} diff --git a/test/integration/next-dynamic-css/src/Content4.module.css b/test/integration/next-dynamic-css/src/Content4.module.css new file mode 100644 index 0000000000..c0fda1fa58 --- /dev/null +++ b/test/integration/next-dynamic-css/src/Content4.module.css @@ -0,0 +1,1067 @@ +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} + +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} +.header { + font-style: italic; +} + +.container { + background-color: #dddddd; + padding: 1rem; +} + +.textContent { + color: #666; + letter-spacing: -1px; +} diff --git a/test/integration/next-dynamic-css/src/inner/k.jsx b/test/integration/next-dynamic-css/src/inner/k.jsx new file mode 100644 index 0000000000..56b2a28adc --- /dev/null +++ b/test/integration/next-dynamic-css/src/inner/k.jsx @@ -0,0 +1,3 @@ +import dynamic from 'next/dynamic' + +export const Comp = dynamic(() => import('../Content'), { ssr: false }) diff --git a/test/integration/next-dynamic-css/src/pages/index.jsx b/test/integration/next-dynamic-css/src/pages/index.jsx new file mode 100644 index 0000000000..8e13520c28 --- /dev/null +++ b/test/integration/next-dynamic-css/src/pages/index.jsx @@ -0,0 +1,24 @@ +import React, { useState } from 'react' +import style from '../Content4.module.css' +import { Comp } from '../inner/k' + +export default function Index() { + const [s] = useState(true) + + if (s) { + return ( + <> +
+ + + ) + } + + return null +} + +export const getServerSideProps = () => { + return { + props: {}, + } +} diff --git a/test/integration/next-dynamic-css/test/index.test.js b/test/integration/next-dynamic-css/test/index.test.js new file mode 100644 index 0000000000..bc934e2cf5 --- /dev/null +++ b/test/integration/next-dynamic-css/test/index.test.js @@ -0,0 +1,56 @@ +/* eslint-env jest */ + +import webdriver from 'next-webdriver' +import { join } from 'path' +import { + findPort, + launchApp, + killApp, + nextBuild, + nextStart, +} from 'next-test-utils' + +jest.setTimeout(1000 * 60 * 2) + +let app +let appPort +const appDir = join(__dirname, '../') + +function runTests() { + it('should load page correctly', async () => { + const browser = await webdriver(appPort, '/') + + expect( + await browser + .elementByCss('#__next div:nth-child(2)') + .getComputedCss('background-color') + ).toContain('221, 221, 221') + + expect(await browser.eval('document.documentElement.innerHTML')).toContain( + 'Where does it come from?' + ) + }) +} + +describe('next/dynamic', () => { + describe('dev mode', () => { + beforeAll(async () => { + appPort = await findPort() + app = await launchApp(appDir, appPort) + }) + afterAll(() => killApp(app)) + + runTests(true) + }) + + describe('production mode', () => { + beforeAll(async () => { + await nextBuild(appDir) + appPort = await findPort() + app = await nextStart(appDir, appPort) + }) + afterAll(() => killApp(app)) + + runTests() + }) +})