rsnext/packages/next/compiled/mini-css-extract-plugin/index.js
JJ Kasper a348407bcf
Ensure externals are correct for mini-css-extract-plugin (#25340)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-05-23 13:15:58 +02:00

1 line
No EOL
70 KiB
JavaScript

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 `<link>` 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<t.length;r++){const s=n.get(t[r]);const i=u.get(t[r]);for(let n=r+1;n<t.length;n++){const r=t[n];s.add(r);const o=i.get(r)||new Set;o.add(e);i.set(r,o)}}return t});s=new Set;const c=e=>!s.has(e);while(s.size<i.length){let i=false;let a;let l;for(const e of d){while(e.length>0&&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 e<typeof t?-1:1}if(e<t){return-1}if(e>t){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<t.id)return-1;if(t.id<e.id)return 1;return 0};const f=(e,t)=>{if(e.id<t.id)return-1;if(t.id<e.id)return 1;return 0};const h=(e,t)=>{if(e.identifier()>t.identifier())return 1;if(e.identifier()<t.identifier())return-1;return 0};const p=e=>{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.name<e.name)return-1;if(this.name>e.name)return 1;if(this._modules.size>e._modules.size)return-1;if(this._modules.size<e._modules.size)return 1;this._modules.sort();e._modules.sort();const t=this._modules[Symbol.iterator]();const n=e._modules[Symbol.iterator]();while(true){const e=t.next();if(e.done)return 0;const r=n.next();const s=e.value.identifier();const i=r.value.identifier();if(s<i)return-1;if(s>i)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<e.name.length?this.name:e.name}else{this.name=this.name<e.name?this.name:e.name}}else if(e.hasEntryModule()){this.name=e.name}}else if(e.name){this.name=e.name}for(const t of Array.from(e._modules)){e.moveModule(t,this)}e._modules.clear();if(e.entryModule){this.entryModule=e.entryModule}for(const t of e._groups){t.replaceChunk(e,this);this.addGroup(t)}e._groups.clear();return true}split(e){for(const t of this._groups){t.insertChunk(e,this);e.addGroup(t)}}isEmpty(){return this._modules.size===0}updateHash(e){e.update(`${this.id} `);e.update(this.ids?this.ids.join(","):"");e.update(`${this.name||""} `);for(const t of this._modules){e.update(t.hash)}}canBeIntegrated(e){if(this.preventIntegration||e.preventIntegration){return false}const t=(e,t)=>{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<t.id)return-1;if(t.id<e.id)return 1;return 0};const a=(e,t)=>{const n=e.module?e.module.identifier():"";const r=t.module?t.module.identifier():"";if(n<r)return-1;if(n>r)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<n){this.chunks.splice(n,1);return true}else if(r!==n){this.chunks[n]=t;this.chunks.splice(r,1);return true}}removeChunk(e){const t=this.chunks.indexOf(e);if(t>=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<e.chunks.length)return 1;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 0;const s=e.value.compareTo(r.value);if(s!==0)return s}}getChildrenByOrders(){const e=new Map;for(const t of this._children){if(typeof t.options==="object"){for(const n of Object.keys(t.options)){if(n.endsWith("Order")){const r=n.substr(0,n.length-"Order".length);let s=e.get(r);if(s===undefined){e.set(r,s=[])}s.push({order:t.options[n],group:t})}}}}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]=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;n<e.length;n++){if(e[n].includes(t)){e.length=n}}return e.join("\n")});t.cutOffLoaderExecution=(e=>t.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;n<this.reasons.length;n++){let r=this.reasons[n];if(r.module===e&&r.dependency===t){this.reasons.splice(n,1);return true}}return false}hasReasonForChunk(e){if(this._rewriteChunkInReasons){for(const e of this._rewriteChunkInReasons){this._doRewriteChunkInReasons(e.oldChunk,e.newChunks)}this._rewriteChunkInReasons=undefined}for(let t=0;t<this.reasons.length;t++){if(this.reasons[t].hasChunk(e))return true}return false}hasReasons(){return this.reasons.length>0}rewriteChunkInReasons(e,t){if(this._rewriteChunkInReasons===undefined){this._rewriteChunkInReasons=[]}this._rewriteChunkInReasons.push({oldChunk:e,newChunks:t})}_doRewriteChunkInReasons(e,t){for(let n=0;n<this.reasons.length;n++){this.reasons[n].rewriteChunks(e,t)}}isUsed(e){if(!e)return this.used!==false;if(this.used===null||this.usedExports===null)return e;if(!this.used)return false;if(!this.usedExports)return false;if(this.usedExports===true)return e;let t=this.usedExports.indexOf(e);if(t<0)return false;if(this.isProvided(e)){if(this.buildMeta.exportsType==="namespace"){return u.numberToIdentifer(t)}if(this.buildMeta.exportsType==="named"&&!this.usedExports.includes("default")){return u.numberToIdentifer(t)}}return e}isProvided(e){if(!Array.isArray(this.buildMeta.providedExports))return null;return this.buildMeta.providedExports.includes(e)}toString(){return`Module[${this.id||this.debugId}]`}needRebuild(e,t){return true}updateHash(e){e.update(`${this.id}`);e.update(JSON.stringify(this.usedExports));super.updateHash(e)}sortItems(e){super.sortItems();if(e)this._chunks.sort();this.reasons.sort((e,t)=>{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<t.length;e++){this._chunks.add(t[e])}}}}e.exports=ModuleReason},372:(e,t,n)=>{"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<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<e.length;n++){const r=e[n];if(this.applyNoParseRule(r,t)){return true}}return false}_initBuildHash(e){const t=m(e.outputOptions.hashFunction);if(this._source){t.update("source");this._source.updateHash(t)}t.update("meta");t.update(JSON.stringify(this.buildMeta));this._buildHash=t.digest("hex")}build(e,t,n,r,s){this.buildTimestamp=Date.now();this.built=true;this._source=null;this._sourceSize=null;this._ast=null;this._buildHash="";this.error=null;this.errors.length=0;this.warnings.length=0;this.buildMeta={};this.buildInfo={cacheable:false,fileDependencies:new Set,contextDependencies:new Set,assets:undefined,assetsInfo:undefined};return this.doBuild(e,t,n,r,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(n<r)return-1;if(n>r)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(e<u){return String.fromCharCode(i+e)}if(e<u*2){return String.fromCharCode(o+e-u)}return Template.numberToIdentifer(e%(2*u))+Template.numberToIdentifer(Math.floor(e/(2*u)))}static indent(e){if(Array.isArray(e)){return e.map(Template.indent).join("\n")}else{const t=e.trimRight();if(!t)return"";const n=t[0]==="\n"?"":"\t";return n+t.replace(/\n([^\n])/g,"\n\t$1")}}static prefix(e,t){const n=Template.asString(e).trim();if(!n)return"";const r=n[0]==="\n"?"":t;return r+n.replace(/\n([^\n])/g,"\n"+t+"$1")}static asString(e){if(Array.isArray(e)){return e.join("\n")}return e}static getModulesArrayBounds(e){let t=-Infinity;let n=Infinity;for(const r of e){if(typeof r.id!=="number")return false;if(t<r.id)t=r.id;if(n>r.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<r?[n,t]:false}static renderChunkModules(e,t,n,i,o=""){const u=new r;const a=e.getModules().filter(t);let d;if(e instanceof s){d=e.removedModules}if(a.length===0&&(!d||d.length===0)){u.add("[]");return u}const c=a.map(t=>{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(e<t)return-1;if(e>t)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.line<r.line)return-1;if(n.line>r.line)return 1;if(n.column<r.column)return-1;if(n.column>r.column)return 1}if("name"in e&&"name"in t){if(e.name<t.name)return-1;if(e.name>t.name)return 1}if("index"in e&&"index"in t){if(e.index<t.index)return-1;if(e.index>t.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<e.length;r++){const s=e[r].size;if(s<t){n=r;t=s}}const r=new Set(e[n]);for(let t=0;t<e.length;t++){if(t===n)continue;const s=e[t];for(const e of r){if(!s.has(e)){r.delete(e)}}}return r};const s=(e,t)=>{if(e.size<t.size)return false;for(const n of t){if(!e.has(n))return false}return true};t.w=r;n=s},834:e=>{"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<t.length;e+=1){super.add(t[e])}this._lastActiveSortFn=e;this._invalidateCache()}sort(){this.sortWith(this._sortFn)}getFromCache(e){if(this._cache===undefined){this._cache=new Map}else{const t=this._cache.get(e);if(t!==undefined){return t}}const t=e(this);this._cache.set(e,t);return t}getFromUnorderedCache(e){if(this._cacheOrderIndependent===undefined){this._cacheOrderIndependent=new Map}else{const t=this._cacheOrderIndependent.get(e);if(t!==undefined){return t}}const t=e(this);this._cacheOrderIndependent.set(e,t);return t}_invalidateCache(){if(this._cache!==undefined){this._cache.clear()}}_invalidateOrderedCache(){if(this._cacheOrderIndependent!==undefined){this._cacheOrderIndependent.clear()}}}e.exports=SortableSet},660:(e,t,n)=>{"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)})();