Comparing version 12.1.6-canary.5 to 12.1.6-canary.6
@@ -22,3 +22,4 @@ "use strict"; | ||
const trustQuery = req.headers[_utils.vercelHeader]; | ||
const parsedUrl = handleRewrites(req, (0, _url).parse(req.url, true)); | ||
const parsedUrl = (0, _url).parse(req.url, true); | ||
handleRewrites(req, parsedUrl); | ||
if (parsedUrl.query.nextInternalLocale) { | ||
@@ -25,0 +26,0 @@ delete parsedUrl.query.nextInternalLocale; |
@@ -90,3 +90,3 @@ "use strict"; | ||
const origQuery = Object.assign({}, parsedUrl.query); | ||
parsedUrl = handleRewrites(req, parsedUrl); | ||
handleRewrites(req, parsedUrl); | ||
handleBasePath(req, parsedUrl); | ||
@@ -93,0 +93,0 @@ // remove ?amp=1 from request URL if rendering for export |
@@ -52,6 +52,6 @@ /// <reference types="node" /> | ||
} | undefined; | ||
handleRewrites: (req: BaseNextRequest | IncomingMessage, parsedUrl: UrlWithParsedQuery) => UrlWithParsedQuery; | ||
handleRewrites: (req: BaseNextRequest | IncomingMessage, parsedUrl: UrlWithParsedQuery) => {}; | ||
handleBasePath: (req: BaseNextRequest | IncomingMessage, parsedUrl: UrlWithParsedQuery) => void; | ||
defaultRouteRegex: import("../../../../shared/lib/router/utils/route-regex").RouteRegex | undefined; | ||
normalizeVercelUrl: (req: BaseNextRequest | IncomingMessage, trustQuery: boolean) => void; | ||
normalizeVercelUrl: (req: BaseNextRequest | IncomingMessage, trustQuery: boolean, paramKeys?: string[] | undefined) => void; | ||
dynamicRouteMatcher: ((pathname: string | null | undefined) => false | { | ||
@@ -58,0 +58,0 @@ [paramName: string]: string | string[]; |
@@ -39,2 +39,3 @@ "use strict"; | ||
function handleRewrites(req, parsedUrl) { | ||
const rewriteParams = {}; | ||
for (const rewrite of rewrites){ | ||
@@ -52,3 +53,3 @@ const matcher = getCustomRouteMatcher(rewrite.source); | ||
if (params) { | ||
const { parsedDestination } = (0, _prepareDestination).prepareDestination({ | ||
const { parsedDestination , destQuery } = (0, _prepareDestination).prepareDestination({ | ||
appendParamsToQuery: true, | ||
@@ -59,2 +60,3 @@ destination: rewrite.destination, | ||
}); | ||
Object.assign(rewriteParams, destQuery, params); | ||
Object.assign(parsedUrl.query, parsedDestination.query); | ||
@@ -87,3 +89,3 @@ delete parsedDestination.query; | ||
} | ||
return parsedUrl; | ||
return rewriteParams; | ||
} | ||
@@ -182,3 +184,3 @@ function handleBasePath(req, parsedUrl) { | ||
} | ||
function normalizeVercelUrl(req, trustQuery) { | ||
function normalizeVercelUrl(req, trustQuery, paramKeys) { | ||
// make sure to normalize req.url on Vercel to strip dynamic params | ||
@@ -189,3 +191,3 @@ // from the query which are added during routing | ||
delete _parsedUrl.search; | ||
for (const param of Object.keys(defaultRouteRegex.groups)){ | ||
for (const param of paramKeys || Object.keys(defaultRouteRegex.groups)){ | ||
delete _parsedUrl.query[param]; | ||
@@ -192,0 +194,0 @@ } |
@@ -139,3 +139,3 @@ "use strict"; | ||
} | ||
const version = "12.1.6-canary.5"; | ||
const version = "12.1.6-canary.6"; | ||
exports.version = version; | ||
@@ -142,0 +142,0 @@ let router; |
@@ -14,4 +14,5 @@ import React from 'react'; | ||
export declare type Props = ScriptProps; | ||
export declare function handleClientScriptLoad(props: ScriptProps): void; | ||
export declare function initScriptLoader(scriptLoaderItems: ScriptProps[]): void; | ||
declare function Script(props: ScriptProps): JSX.Element | null; | ||
export default Script; |
@@ -5,2 +5,3 @@ "use strict"; | ||
}); | ||
exports.handleClientScriptLoad = handleClientScriptLoad; | ||
exports.initScriptLoader = initScriptLoader; | ||
@@ -153,5 +154,3 @@ exports.default = void 0; | ||
const { strategy ='afterInteractive' } = props; | ||
if (strategy === 'afterInteractive') { | ||
loadScript(props); | ||
} else if (strategy === 'lazyOnload') { | ||
if (strategy === 'lazyOnload') { | ||
window.addEventListener('load', ()=>{ | ||
@@ -161,2 +160,4 @@ (0, _requestIdleCallback).requestIdleCallback(()=>loadScript(props) | ||
}); | ||
} else { | ||
loadScript(props); | ||
} | ||
@@ -175,4 +176,15 @@ } | ||
} | ||
function addBeforeInteractiveToCache() { | ||
const scripts = [ | ||
...document.querySelectorAll('[data-nscript="beforeInteractive"]'), | ||
...document.querySelectorAll('[data-nscript="beforePageRender"]'), | ||
]; | ||
scripts.forEach((script)=>{ | ||
const cacheKey = script.id || script.getAttribute('src'); | ||
LoadCache.add(cacheKey); | ||
}); | ||
} | ||
function initScriptLoader(scriptLoaderItems) { | ||
scriptLoaderItems.forEach(handleClientScriptLoad); | ||
addBeforeInteractiveToCache(); | ||
} | ||
@@ -179,0 +191,0 @@ function Script(props) { |
@@ -1,1 +0,1 @@ | ||
{"version":"012203281422000","maxAge":{"timestampInMs":1650553770467}} | ||
{"version":"012203281422000","maxAge":{"timestampInMs":1650632372039}} |
{ | ||
"name": "@next/react-refresh-utils", | ||
"version": "12.1.6-canary.5", | ||
"version": "12.1.6-canary.6", | ||
"description": "An experimental package providing utilities for React Refresh.", | ||
@@ -33,3 +33,3 @@ "repository": { | ||
}, | ||
"gitHead": "b8f7c520daf295705fb309d15a89670678eb6945" | ||
"gitHead": "94faeec1ddca5ab4cc22e3093ed9289c45896d8b" | ||
} |
@@ -1,1 +0,1 @@ | ||
(()=>{var __webpack_modules__={446:e=>{function BrowserslistError(e){this.name="BrowserslistError";this.message=e;this.browserslist=true;if(Error.captureStackTrace){Error.captureStackTrace(this,BrowserslistError)}}BrowserslistError.prototype=Error.prototype;e.exports=BrowserslistError},567:(e,s,r)=>{var n=r(945);var t=r(768).agents;var a=r(742);var i=r(17);var o=r(477);var l=r(446);var f=r(711);var u=365.259641*24*60*60*1e3;var d=37;var c=1;var v=2;function isVersionsMatch(e,s){return(e+".").indexOf(s+".")===0}function isEolReleased(e){var s=e.slice(1);return n.some((function(e){return isVersionsMatch(e.version,s)}))}function normalize(e){return e.filter((function(e){return typeof e==="string"}))}function normalizeElectron(e){var s=e;if(e.split(".").length===3){s=e.split(".").slice(0,-1).join(".")}return s}function nameMapper(e){return function mapName(s){return e+" "+s}}function getMajor(e){return parseInt(e.split(".")[0])}function getMajorVersions(e,s){if(e.length===0)return[];var r=uniq(e.map(getMajor));var n=r[r.length-s];if(!n){return e}var t=[];for(var a=e.length-1;a>=0;a--){if(n>getMajor(e[a]))break;t.unshift(e[a])}return t}function uniq(e){var s=[];for(var r=0;r<e.length;r++){if(s.indexOf(e[r])===-1)s.push(e[r])}return s}function fillUsage(e,s,r){for(var n in r){e[s+" "+n]=r[n]}}function generateFilter(e,s){s=parseFloat(s);if(e===">"){return function(e){return parseFloat(e)>s}}else if(e===">="){return function(e){return parseFloat(e)>=s}}else if(e==="<"){return function(e){return parseFloat(e)<s}}else{return function(e){return parseFloat(e)<=s}}}function generateSemverFilter(e,s){s=s.split(".").map(parseSimpleInt);s[1]=s[1]||0;s[2]=s[2]||0;if(e===">"){return function(e){e=e.split(".").map(parseSimpleInt);return compareSemver(e,s)>0}}else if(e===">="){return function(e){e=e.split(".").map(parseSimpleInt);return compareSemver(e,s)>=0}}else if(e==="<"){return function(e){e=e.split(".").map(parseSimpleInt);return compareSemver(s,e)>0}}else{return function(e){e=e.split(".").map(parseSimpleInt);return compareSemver(s,e)>=0}}}function parseSimpleInt(e){return parseInt(e)}function compare(e,s){if(e<s)return-1;if(e>s)return+1;return 0}function compareSemver(e,s){return compare(parseInt(e[0]),parseInt(s[0]))||compare(parseInt(e[1]||"0"),parseInt(s[1]||"0"))||compare(parseInt(e[2]||"0"),parseInt(s[2]||"0"))}function semverFilterLoose(e,s){s=s.split(".").map(parseSimpleInt);if(typeof s[1]==="undefined"){s[1]="x"}switch(e){case"<=":return function(e){e=e.split(".").map(parseSimpleInt);return compareSemverLoose(e,s)<=0};case">=":default:return function(e){e=e.split(".").map(parseSimpleInt);return compareSemverLoose(e,s)>=0}}}function compareSemverLoose(e,s){if(e[0]!==s[0]){return e[0]<s[0]?-1:+1}if(s[1]==="x"){return 0}if(e[1]!==s[1]){return e[1]<s[1]?-1:+1}return 0}function resolveVersion(e,s){if(e.versions.indexOf(s)!==-1){return s}else if(browserslist.versionAliases[e.name][s]){return browserslist.versionAliases[e.name][s]}else{return false}}function normalizeVersion(e,s){var r=resolveVersion(e,s);if(r){return r}else if(e.versions.length===1){return e.versions[0]}else{return false}}function filterByYear(e,s){e=e/1e3;return Object.keys(t).reduce((function(r,n){var t=byName(n,s);if(!t)return r;var a=Object.keys(t.releaseDate).filter((function(s){var r=t.releaseDate[s];return r!==null&&r>=e}));return r.concat(a.map(nameMapper(t.name)))}),[])}function cloneData(e){return{name:e.name,versions:e.versions,released:e.released,releaseDate:e.releaseDate}}function mapVersions(e,s){e.versions=e.versions.map((function(e){return s[e]||e}));e.released=e.versions.map((function(e){return s[e]||e}));var r={};for(var n in e.releaseDate){r[s[n]||n]=e.releaseDate[n]}e.releaseDate=r;return e}function byName(e,s){e=e.toLowerCase();e=browserslist.aliases[e]||e;if(s.mobileToDesktop&&browserslist.desktopNames[e]){var r=browserslist.data[browserslist.desktopNames[e]];if(e==="android"){return normalizeAndroidData(cloneData(browserslist.data[e]),r)}else{var n=cloneData(r);n.name=e;if(e==="op_mob"){n=mapVersions(n,{"10.0-10.1":"10"})}return n}}return browserslist.data[e]}function normalizeAndroidVersions(e,s){var r=d;var n=s[s.length-1];return e.filter((function(e){return/^(?:[2-4]\.|[34]$)/.test(e)})).concat(s.slice(r-n-1))}function normalizeAndroidData(e,s){e.released=normalizeAndroidVersions(e.released,s.released);e.versions=normalizeAndroidVersions(e.versions,s.versions);return e}function checkName(e,s){var r=byName(e,s);if(!r)throw new l("Unknown browser "+e);return r}function unknownQuery(e){return new l("Unknown browser query `"+e+"`. "+"Maybe you are using old Browserslist or made typo in query.")}function filterAndroid(e,s,r){if(r.mobileToDesktop)return e;var n=browserslist.data.android.released;var t=n[n.length-1];var a=t-d-s;if(a>0){return e.slice(-1)}else{return e.slice(a-1)}}function resolve(e,s){if(Array.isArray(e)){e=flatten(e.map(parse))}else{e=parse(e)}return e.reduce((function(e,r,n){var t=r.queryString;var a=t.indexOf("not ")===0;if(a){if(n===0){throw new l("Write any browsers query (for instance, `defaults`) "+"before `"+t+"`")}t=t.slice(4)}for(var i=0;i<p.length;i++){var o=p[i];var f=t.match(o.regexp);if(f){var u=[s].concat(f.slice(1));var d=o.select.apply(browserslist,u).map((function(e){var r=e.split(" ");if(r[1]==="0"){return r[0]+" "+byName(r[0],s).versions[0]}else{return e}}));switch(r.type){case v:if(a){return e.filter((function(e){return d.indexOf(e)===-1}))}else{return e.filter((function(e){return d.indexOf(e)!==-1}))}case c:default:if(a){var m={};d.forEach((function(e){m[e]=true}));return e.filter((function(e){return!m[e]}))}return e.concat(d)}}}throw unknownQuery(t)}),[])}var m={};function browserslist(e,s){if(typeof s==="undefined")s={};if(typeof s.path==="undefined"){s.path=i.resolve?i.resolve("."):"."}if(typeof e==="undefined"||e===null){var r=browserslist.loadConfig(s);if(r){e=r}else{e=browserslist.defaults}}if(!(typeof e==="string"||Array.isArray(e))){throw new l("Browser queries must be an array or string. Got "+typeof e+".")}var n={ignoreUnknownVersions:s.ignoreUnknownVersions,dangerousExtend:s.dangerousExtend,mobileToDesktop:s.mobileToDesktop,path:s.path,env:s.env};f.oldDataWarning(browserslist.data);var t=f.getStat(s,browserslist.data);if(t){n.customUsage={};for(var a in t){fillUsage(n.customUsage,a,t[a])}}var o=JSON.stringify([e,n]);if(m[o])return m[o];var u=uniq(resolve(e,n)).sort((function(e,s){e=e.split(" ");s=s.split(" ");if(e[0]===s[0]){var r=e[1].split("-")[0];var n=s[1].split("-")[0];return compareSemver(n.split("."),r.split("."))}else{return compare(e[0],s[0])}}));if(!process.env.BROWSERSLIST_DISABLE_CACHE){m[o]=u}return u}function parse(e){var s=[];do{e=doMatch(e,s)}while(e);return s}function doMatch(e,s){var r=/^(?:,\s*|\s+or\s+)(.*)/i;var n=/^\s+and\s+(.*)/i;return find(e,(function(e,t,a){if(n.test(e)){s.unshift({type:v,queryString:e.match(n)[1]});return true}else if(r.test(e)){s.unshift({type:c,queryString:e.match(r)[1]});return true}else if(t===a){s.unshift({type:c,queryString:e.trim()});return true}return false}))}function find(e,s){for(var r=1,n=e.length;r<=n;r++){var t=e.substr(-r,r);if(s(t,r,n)){return e.slice(0,-r)}}return""}function flatten(e){if(!Array.isArray(e))return[e];return e.reduce((function(e,s){return e.concat(flatten(s))}),[])}browserslist.cache={};browserslist.data={};browserslist.usage={global:{},custom:null};browserslist.defaults=["> 0.5%","last 2 versions","Firefox ESR","not dead"];browserslist.aliases={fx:"firefox",ff:"firefox",ios:"ios_saf",explorer:"ie",blackberry:"bb",explorermobile:"ie_mob",operamini:"op_mini",operamobile:"op_mob",chromeandroid:"and_chr",firefoxandroid:"and_ff",ucandroid:"and_uc",qqandroid:"and_qq"};browserslist.desktopNames={and_chr:"chrome",and_ff:"firefox",ie_mob:"ie",op_mob:"opera",android:"chrome"};browserslist.versionAliases={};browserslist.clearCaches=f.clearCaches;browserslist.parseConfig=f.parseConfig;browserslist.readConfig=f.readConfig;browserslist.findConfig=f.findConfig;browserslist.loadConfig=f.loadConfig;browserslist.coverage=function(e,s){var r;if(typeof s==="undefined"){r=browserslist.usage.global}else if(s==="my stats"){var n={};n.path=i.resolve?i.resolve("."):".";var t=f.getStat(n);if(!t){throw new l("Custom usage statistics was not provided")}r={};for(var a in t){fillUsage(r,a,t[a])}}else if(typeof s==="string"){if(s.length>2){s=s.toLowerCase()}else{s=s.toUpperCase()}f.loadCountry(browserslist.usage,s,browserslist.data);r=browserslist.usage[s]}else{if("dataByBrowser"in s){s=s.dataByBrowser}r={};for(var o in s){for(var u in s[o]){r[o+" "+u]=s[o][u]}}}return e.reduce((function(e,s){var n=r[s];if(n===undefined){n=r[s.replace(/ \S+$/," 0")]}return e+(n||0)}),0)};function nodeQuery(e,s){var r=n.filter((function(e){return e.name==="nodejs"}));var t=r.filter((function(e){return isVersionsMatch(e.version,s)}));if(t.length===0){if(e.ignoreUnknownVersions){return[]}else{throw new l("Unknown version "+s+" of Node.js")}}return["node "+t[t.length-1].version]}function sinceQuery(e,s,r,n){s=parseInt(s);r=parseInt(r||"01")-1;n=parseInt(n||"01");return filterByYear(Date.UTC(s,r,n,0,0,0),e)}function coverQuery(e,s,r){s=parseFloat(s);var n=browserslist.usage.global;if(r){if(r.match(/^my\s+stats$/i)){if(!e.customUsage){throw new l("Custom usage statistics was not provided")}n=e.customUsage}else{var t;if(r.length===2){t=r.toUpperCase()}else{t=r.toLowerCase()}f.loadCountry(browserslist.usage,t,browserslist.data);n=browserslist.usage[t]}}var a=Object.keys(n).sort((function(e,s){return n[s]-n[e]}));var i=0;var o=[];var u;for(var d=0;d<=a.length;d++){u=a[d];if(n[u]===0)break;i+=n[u];o.push(u);if(i>=s)break}return o}var p=[{regexp:/^last\s+(\d+)\s+major\s+versions?$/i,select:function(e,s){return Object.keys(t).reduce((function(r,n){var t=byName(n,e);if(!t)return r;var a=getMajorVersions(t.released,s);a=a.map(nameMapper(t.name));if(t.name==="android"){a=filterAndroid(a,s,e)}return r.concat(a)}),[])}},{regexp:/^last\s+(\d+)\s+versions?$/i,select:function(e,s){return Object.keys(t).reduce((function(r,n){var t=byName(n,e);if(!t)return r;var a=t.released.slice(-s);a=a.map(nameMapper(t.name));if(t.name==="android"){a=filterAndroid(a,s,e)}return r.concat(a)}),[])}},{regexp:/^last\s+(\d+)\s+electron\s+major\s+versions?$/i,select:function(e,s){var r=getMajorVersions(Object.keys(o),s);return r.map((function(e){return"chrome "+o[e]}))}},{regexp:/^last\s+(\d+)\s+(\w+)\s+major\s+versions?$/i,select:function(e,s,r){var n=checkName(r,e);var t=getMajorVersions(n.released,s);var a=t.map(nameMapper(n.name));if(n.name==="android"){a=filterAndroid(a,s,e)}return a}},{regexp:/^last\s+(\d+)\s+electron\s+versions?$/i,select:function(e,s){return Object.keys(o).slice(-s).map((function(e){return"chrome "+o[e]}))}},{regexp:/^last\s+(\d+)\s+(\w+)\s+versions?$/i,select:function(e,s,r){var n=checkName(r,e);var t=n.released.slice(-s).map(nameMapper(n.name));if(n.name==="android"){t=filterAndroid(t,s,e)}return t}},{regexp:/^unreleased\s+versions$/i,select:function(e){return Object.keys(t).reduce((function(s,r){var n=byName(r,e);if(!n)return s;var t=n.versions.filter((function(e){return n.released.indexOf(e)===-1}));t=t.map(nameMapper(n.name));return s.concat(t)}),[])}},{regexp:/^unreleased\s+electron\s+versions?$/i,select:function(){return[]}},{regexp:/^unreleased\s+(\w+)\s+versions?$/i,select:function(e,s){var r=checkName(s,e);return r.versions.filter((function(e){return r.released.indexOf(e)===-1})).map(nameMapper(r.name))}},{regexp:/^last\s+(\d*.?\d+)\s+years?$/i,select:function(e,s){return filterByYear(Date.now()-u*s,e)}},{regexp:/^since (\d+)$/i,select:sinceQuery},{regexp:/^since (\d+)-(\d+)$/i,select:sinceQuery},{regexp:/^since (\d+)-(\d+)-(\d+)$/i,select:sinceQuery},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%$/,select:function(e,s,r){r=parseFloat(r);var n=browserslist.usage.global;return Object.keys(n).reduce((function(e,t){if(s===">"){if(n[t]>r){e.push(t)}}else if(s==="<"){if(n[t]<r){e.push(t)}}else if(s==="<="){if(n[t]<=r){e.push(t)}}else if(n[t]>=r){e.push(t)}return e}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+my\s+stats$/,select:function(e,s,r){r=parseFloat(r);if(!e.customUsage){throw new l("Custom usage statistics was not provided")}var n=e.customUsage;return Object.keys(n).reduce((function(e,t){if(s===">"){if(n[t]>r){e.push(t)}}else if(s==="<"){if(n[t]<r){e.push(t)}}else if(s==="<="){if(n[t]<=r){e.push(t)}}else if(n[t]>=r){e.push(t)}return e}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/,select:function(e,s,r,n){r=parseFloat(r);var t=f.loadStat(e,n,browserslist.data);if(t){e.customUsage={};for(var a in t){fillUsage(e.customUsage,a,t[a])}}if(!e.customUsage){throw new l("Custom usage statistics was not provided")}var i=e.customUsage;return Object.keys(i).reduce((function(e,n){if(s===">"){if(i[n]>r){e.push(n)}}else if(s==="<"){if(i[n]<r){e.push(n)}}else if(s==="<="){if(i[n]<=r){e.push(n)}}else if(i[n]>=r){e.push(n)}return e}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+((alt-)?\w\w)$/,select:function(e,s,r,n){r=parseFloat(r);if(n.length===2){n=n.toUpperCase()}else{n=n.toLowerCase()}f.loadCountry(browserslist.usage,n,browserslist.data);var t=browserslist.usage[n];return Object.keys(t).reduce((function(e,n){if(s===">"){if(t[n]>r){e.push(n)}}else if(s==="<"){if(t[n]<r){e.push(n)}}else if(s==="<="){if(t[n]<=r){e.push(n)}}else if(t[n]>=r){e.push(n)}return e}),[])}},{regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%$/i,select:coverQuery},{regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(my\s+stats|(alt-)?\w\w)$/i,select:coverQuery},{regexp:/^supports\s+([\w-]+)$/,select:function(e,s){f.loadFeature(browserslist.cache,s);var r=browserslist.cache[s];return Object.keys(r).reduce((function(e,s){var n=r[s];if(n.indexOf("y")>=0||n.indexOf("a")>=0){e.push(s)}return e}),[])}},{regexp:/^electron\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(e,s,r){var n=normalizeElectron(s);var t=normalizeElectron(r);if(!o[n]){throw new l("Unknown version "+s+" of electron")}if(!o[t]){throw new l("Unknown version "+r+" of electron")}s=parseFloat(s);r=parseFloat(r);return Object.keys(o).filter((function(e){var n=parseFloat(e);return n>=s&&n<=r})).map((function(e){return"chrome "+o[e]}))}},{regexp:/^node\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(e,s,r){var t=n.filter((function(e){return e.name==="nodejs"})).map((function(e){return e.version}));return t.filter(semverFilterLoose(">=",s)).filter(semverFilterLoose("<=",r)).map((function(e){return"node "+e}))}},{regexp:/^(\w+)\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(e,s,r,n){var t=checkName(s,e);r=parseFloat(normalizeVersion(t,r)||r);n=parseFloat(normalizeVersion(t,n)||n);function filter(e){var s=parseFloat(e);return s>=r&&s<=n}return t.released.filter(filter).map(nameMapper(t.name))}},{regexp:/^electron\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(e,s,r){var n=normalizeElectron(r);return Object.keys(o).filter(generateFilter(s,n)).map((function(e){return"chrome "+o[e]}))}},{regexp:/^node\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(e,s,r){var t=n.filter((function(e){return e.name==="nodejs"})).map((function(e){return e.version}));return t.filter(generateSemverFilter(s,r)).map((function(e){return"node "+e}))}},{regexp:/^(\w+)\s*(>=?|<=?)\s*([\d.]+)$/,select:function(e,s,r,n){var t=checkName(s,e);var a=browserslist.versionAliases[t.name][n];if(a){n=a}return t.released.filter(generateFilter(r,n)).map((function(e){return t.name+" "+e}))}},{regexp:/^(firefox|ff|fx)\s+esr$/i,select:function(){return["firefox 78","firefox 91"]}},{regexp:/(operamini|op_mini)\s+all/i,select:function(){return["op_mini all"]}},{regexp:/^electron\s+([\d.]+)$/i,select:function(e,s){var r=normalizeElectron(s);var n=o[r];if(!n){throw new l("Unknown version "+s+" of electron")}return["chrome "+n]}},{regexp:/^node\s+(\d+)$/i,select:nodeQuery},{regexp:/^node\s+(\d+\.\d+)$/i,select:nodeQuery},{regexp:/^node\s+(\d+\.\d+\.\d+)$/i,select:nodeQuery},{regexp:/^current\s+node$/i,select:function(e){return[f.currentNode(resolve,e)]}},{regexp:/^maintained\s+node\s+versions$/i,select:function(e){var s=Date.now();var r=Object.keys(a).filter((function(e){return s<Date.parse(a[e].end)&&s>Date.parse(a[e].start)&&isEolReleased(e)})).map((function(e){return"node "+e.slice(1)}));return resolve(r,e)}},{regexp:/^phantomjs\s+1.9$/i,select:function(){return["safari 5"]}},{regexp:/^phantomjs\s+2.1$/i,select:function(){return["safari 6"]}},{regexp:/^(\w+)\s+(tp|[\d.]+)$/i,select:function(e,s,r){if(/^tp$/i.test(r))r="TP";var n=checkName(s,e);var t=normalizeVersion(n,r);if(t){r=t}else{if(r.indexOf(".")===-1){t=r+".0"}else{t=r.replace(/\.0$/,"")}t=normalizeVersion(n,t);if(t){r=t}else if(e.ignoreUnknownVersions){return[]}else{throw new l("Unknown version "+r+" of "+s)}}return[n.name+" "+r]}},{regexp:/^browserslist config$/i,select:function(e){return browserslist(undefined,e)}},{regexp:/^extends (.+)$/i,select:function(e,s){return resolve(f.loadQueries(e,s),e)}},{regexp:/^defaults$/i,select:function(e){return resolve(browserslist.defaults,e)}},{regexp:/^dead$/i,select:function(e){var s=["ie <= 10","ie_mob <= 11","bb <= 10","op_mob <= 12.1","samsung 4"];return resolve(s,e)}},{regexp:/^(\w+)$/i,select:function(e,s){if(byName(s,e)){throw new l("Specify versions in Browserslist query for browser "+s)}else{throw unknownQuery(s)}}}];(function(){for(var e in t){var s=t[e];browserslist.data[e]={name:e,versions:normalize(t[e].versions),released:normalize(t[e].versions.slice(0,-3)),releaseDate:t[e].release_date};fillUsage(browserslist.usage.global,e,s.usage_global);browserslist.versionAliases[e]={};for(var r=0;r<s.versions.length;r++){var n=s.versions[r];if(!n)continue;if(n.indexOf("-")!==-1){var a=n.split("-");for(var i=0;i<a.length;i++){browserslist.versionAliases[e][a[i]]=n}}}}browserslist.versionAliases.op_mob["59"]="58"})();e.exports=browserslist},711:(module,__unused_webpack_exports,__nccwpck_require__)=>{var feature=__nccwpck_require__(379)["default"];var region=__nccwpck_require__(225)["default"];var path=__nccwpck_require__(17);var fs=__nccwpck_require__(147);var BrowserslistError=__nccwpck_require__(446);var IS_SECTION=/^\s*\[(.+)]\s*$/;var CONFIG_PATTERN=/^browserslist-config-/;var SCOPED_CONFIG__PATTERN=/@[^/]+\/browserslist-config(-|$|\/)/;var TIME_TO_UPDATE_CANIUSE=6*30*24*60*60*1e3;var FORMAT="Browserslist config should be a string or an array "+"of strings with browser queries";var dataTimeChecked=false;var filenessCache={};var configCache={};function checkExtend(e){var s=" Use `dangerousExtend` option to disable.";if(!CONFIG_PATTERN.test(e)&&!SCOPED_CONFIG__PATTERN.test(e)){throw new BrowserslistError("Browserslist config needs `browserslist-config-` prefix. "+s)}if(e.replace(/^@[^/]+\//,"").indexOf(".")!==-1){throw new BrowserslistError("`.` not allowed in Browserslist config name. "+s)}if(e.indexOf("node_modules")!==-1){throw new BrowserslistError("`node_modules` not allowed in Browserslist config."+s)}}function isFile(e){if(e in filenessCache){return filenessCache[e]}var s=fs.existsSync(e)&&fs.statSync(e).isFile();if(!process.env.BROWSERSLIST_DISABLE_CACHE){filenessCache[e]=s}return s}function eachParent(e,s){var r=isFile(e)?path.dirname(e):e;var n=path.resolve(r);do{var t=s(n);if(typeof t!=="undefined")return t}while(n!==(n=path.dirname(n)));return undefined}function check(e){if(Array.isArray(e)){for(var s=0;s<e.length;s++){if(typeof e[s]!=="string"){throw new BrowserslistError(FORMAT)}}}else if(typeof e!=="string"){throw new BrowserslistError(FORMAT)}}function pickEnv(e,s){if(typeof e!=="object")return e;var r;if(typeof s.env==="string"){r=s.env}else if(process.env.BROWSERSLIST_ENV){r=process.env.BROWSERSLIST_ENV}else if(process.env.NODE_ENV){r=process.env.NODE_ENV}else{r="production"}return e[r]||e.defaults}function parsePackage(e){var s=JSON.parse(fs.readFileSync(e));if(s.browserlist&&!s.browserslist){throw new BrowserslistError("`browserlist` key instead of `browserslist` in "+e)}var r=s.browserslist;if(Array.isArray(r)||typeof r==="string"){r={defaults:r}}for(var n in r){check(r[n])}return r}function latestReleaseTime(e){var s=0;for(var r in e){var n=e[r].releaseDate||{};for(var t in n){if(s<n[t]){s=n[t]}}}return s*1e3}function normalizeStats(e,s){if(!e){e={}}if(s&&"dataByBrowser"in s){s=s.dataByBrowser}if(typeof s!=="object")return undefined;var r={};for(var n in s){var t=Object.keys(s[n]);if(t.length===1&&e[n]&&e[n].versions.length===1){var a=e[n].versions[0];r[n]={};r[n][a]=s[n][t[0]]}else{r[n]=s[n]}}return r}function normalizeUsageData(e,s){for(var r in e){var n=e[r];if("0"in n){var t=s[r].versions;n[t[t.length-1]]=n[0];delete n[0]}}}module.exports={loadQueries:function loadQueries(ctx,name){if(!ctx.dangerousExtend&&!process.env.BROWSERSLIST_DANGEROUS_EXTEND){checkExtend(name)}var queries=eval("require")(eval("require").resolve(name,{paths:[".",ctx.path]}));if(queries){if(Array.isArray(queries)){return queries}else if(typeof queries==="object"){if(!queries.defaults)queries.defaults=[];return pickEnv(queries,ctx,name)}}throw new BrowserslistError("`"+name+"` config exports not an array of queries"+" or an object of envs")},loadStat:function loadStat(ctx,name,data){if(!ctx.dangerousExtend&&!process.env.BROWSERSLIST_DANGEROUS_EXTEND){checkExtend(name)}var stats=eval("require")(eval("require").resolve(path.join(name,"browserslist-stats.json"),{paths:["."]}));return normalizeStats(data,stats)},getStat:function getStat(e,s){var r;if(e.stats){r=e.stats}else if(process.env.BROWSERSLIST_STATS){r=process.env.BROWSERSLIST_STATS}else if(e.path&&path.resolve&&fs.existsSync){r=eachParent(e.path,(function(e){var s=path.join(e,"browserslist-stats.json");return isFile(s)?s:undefined}))}if(typeof r==="string"){try{r=JSON.parse(fs.readFileSync(r))}catch(e){throw new BrowserslistError("Can't read "+r)}}return normalizeStats(s,r)},loadConfig:function loadConfig(e){if(process.env.BROWSERSLIST){return process.env.BROWSERSLIST}else if(e.config||process.env.BROWSERSLIST_CONFIG){var s=e.config||process.env.BROWSERSLIST_CONFIG;if(path.basename(s)==="package.json"){return pickEnv(parsePackage(s),e)}else{return pickEnv(module.exports.readConfig(s),e)}}else if(e.path){return pickEnv(module.exports.findConfig(e.path),e)}else{return undefined}},loadCountry:function loadCountry(e,s,r){var n=s.replace(/[^\w-]/g,"");if(!e[n]){var t=require("caniuse-lite/data/regions/"+n+".js");var a=region(t);normalizeUsageData(a,r);e[s]={};for(var i in a){for(var o in a[i]){e[s][i+" "+o]=a[i][o]}}}},loadFeature:function loadFeature(e,s){s=s.replace(/[^\w-]/g,"");if(e[s])return;var r=require("caniuse-lite/data/features/"+s+".js");var n=feature(r).stats;e[s]={};for(var t in n){for(var a in n[t]){e[s][t+" "+a]=n[t][a]}}},parseConfig:function parseConfig(e){var s={defaults:[]};var r=["defaults"];e.toString().replace(/#[^\n]*/g,"").split(/\n|,/).map((function(e){return e.trim()})).filter((function(e){return e!==""})).forEach((function(e){if(IS_SECTION.test(e)){r=e.match(IS_SECTION)[1].trim().split(" ");r.forEach((function(e){if(s[e]){throw new BrowserslistError("Duplicate section "+e+" in Browserslist config")}s[e]=[]}))}else{r.forEach((function(r){s[r].push(e)}))}}));return s},readConfig:function readConfig(e){if(!isFile(e)){throw new BrowserslistError("Can't read "+e+" config")}return module.exports.parseConfig(fs.readFileSync(e))},findConfig:function findConfig(e){e=path.resolve(e);var s=[];var r=eachParent(e,(function(e){if(e in configCache){return configCache[e]}s.push(e);var r=path.join(e,"browserslist");var n=path.join(e,"package.json");var t=path.join(e,".browserslistrc");var a;if(isFile(n)){try{a=parsePackage(n)}catch(e){if(e.name==="BrowserslistError")throw e;console.warn("[Browserslist] Could not parse "+n+". Ignoring it.")}}if(isFile(r)&&a){throw new BrowserslistError(e+" contains both browserslist and package.json with browsers")}else if(isFile(t)&&a){throw new BrowserslistError(e+" contains both .browserslistrc and package.json with browsers")}else if(isFile(r)&&isFile(t)){throw new BrowserslistError(e+" contains both .browserslistrc and browserslist")}else if(isFile(r)){return module.exports.readConfig(r)}else if(isFile(t)){return module.exports.readConfig(t)}else{return a}}));if(!process.env.BROWSERSLIST_DISABLE_CACHE){s.forEach((function(e){configCache[e]=r}))}return r},clearCaches:function clearCaches(){dataTimeChecked=false;filenessCache={};configCache={};this.cache={}},oldDataWarning:function oldDataWarning(e){if(dataTimeChecked)return;dataTimeChecked=true;if(process.env.BROWSERSLIST_IGNORE_OLD_DATA)return;var s=latestReleaseTime(e);var r=Date.now()-TIME_TO_UPDATE_CANIUSE;if(s!==0&&s<r){console.warn("Browserslist: caniuse-lite is outdated. Please run:\n"+" npx browserslist@latest --update-db\n"+" Why you should do it regularly: "+"https://github.com/browserslist/browserslist#browsers-data-updating")}},currentNode:function currentNode(){return"node "+process.versions.node}}},477:e=>{e.exports={"0.20":"39",.21:"41",.22:"41",.23:"41",.24:"41",.25:"42",.26:"42",.27:"43",.28:"43",.29:"43","0.30":"44",.31:"45",.32:"45",.33:"45",.34:"45",.35:"45",.36:"47",.37:"49","1.0":"49",1.1:"50",1.2:"51",1.3:"52",1.4:"53",1.5:"54",1.6:"56",1.7:"58",1.8:"59","2.0":"61",2.1:"61","3.0":"66",3.1:"66","4.0":"69",4.1:"69",4.2:"69","5.0":"73","6.0":"76",6.1:"76","7.0":"78",7.1:"78",7.2:"78",7.3:"78","8.0":"80",8.1:"80",8.2:"80",8.3:"80",8.4:"80",8.5:"80","9.0":"83",9.1:"83",9.2:"83",9.3:"83",9.4:"83","10.0":"85",10.1:"85",10.2:"85",10.3:"85",10.4:"85","11.0":"87",11.1:"87",11.2:"87",11.3:"87",11.4:"87",11.5:"87","12.0":"89",12.1:"89",12.2:"89","13.0":"91",13.1:"91",13.2:"91",13.3:"91",13.4:"91",13.5:"91",13.6:"91","14.0":"93",14.1:"93",14.2:"93","15.0":"94",15.1:"94",15.2:"94",15.3:"94","16.0":"96","17.0":"98"}},768:e=>{"use strict";e.exports=require("caniuse-lite/dist/unpacker/agents")},379:e=>{"use strict";e.exports=require("caniuse-lite/dist/unpacker/feature")},225:e=>{"use strict";e.exports=require("caniuse-lite/dist/unpacker/region")},147:e=>{"use strict";e.exports=require("fs")},17:e=>{"use strict";e.exports=require("path")},945:e=>{"use strict";e.exports=JSON.parse('[{"name":"nodejs","version":"0.2.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.3.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.4.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.5.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.6.0","date":"2011-11-04","lts":false,"security":false},{"name":"nodejs","version":"0.7.0","date":"2012-01-17","lts":false,"security":false},{"name":"nodejs","version":"0.8.0","date":"2012-06-22","lts":false,"security":false},{"name":"nodejs","version":"0.9.0","date":"2012-07-20","lts":false,"security":false},{"name":"nodejs","version":"0.10.0","date":"2013-03-11","lts":false,"security":false},{"name":"nodejs","version":"0.11.0","date":"2013-03-28","lts":false,"security":false},{"name":"nodejs","version":"0.12.0","date":"2015-02-06","lts":false,"security":false},{"name":"nodejs","version":"4.0.0","date":"2015-09-08","lts":false,"security":false},{"name":"nodejs","version":"4.1.0","date":"2015-09-17","lts":false,"security":false},{"name":"nodejs","version":"4.2.0","date":"2015-10-12","lts":"Argon","security":false},{"name":"nodejs","version":"4.3.0","date":"2016-02-09","lts":"Argon","security":false},{"name":"nodejs","version":"4.4.0","date":"2016-03-08","lts":"Argon","security":false},{"name":"nodejs","version":"4.5.0","date":"2016-08-16","lts":"Argon","security":false},{"name":"nodejs","version":"4.6.0","date":"2016-09-27","lts":"Argon","security":true},{"name":"nodejs","version":"4.7.0","date":"2016-12-06","lts":"Argon","security":false},{"name":"nodejs","version":"4.8.0","date":"2017-02-21","lts":"Argon","security":false},{"name":"nodejs","version":"4.9.0","date":"2018-03-28","lts":"Argon","security":true},{"name":"nodejs","version":"5.0.0","date":"2015-10-29","lts":false,"security":false},{"name":"nodejs","version":"5.1.0","date":"2015-11-17","lts":false,"security":false},{"name":"nodejs","version":"5.2.0","date":"2015-12-09","lts":false,"security":false},{"name":"nodejs","version":"5.3.0","date":"2015-12-15","lts":false,"security":false},{"name":"nodejs","version":"5.4.0","date":"2016-01-06","lts":false,"security":false},{"name":"nodejs","version":"5.5.0","date":"2016-01-21","lts":false,"security":false},{"name":"nodejs","version":"5.6.0","date":"2016-02-09","lts":false,"security":false},{"name":"nodejs","version":"5.7.0","date":"2016-02-23","lts":false,"security":false},{"name":"nodejs","version":"5.8.0","date":"2016-03-09","lts":false,"security":false},{"name":"nodejs","version":"5.9.0","date":"2016-03-16","lts":false,"security":false},{"name":"nodejs","version":"5.10.0","date":"2016-04-01","lts":false,"security":false},{"name":"nodejs","version":"5.11.0","date":"2016-04-21","lts":false,"security":false},{"name":"nodejs","version":"5.12.0","date":"2016-06-23","lts":false,"security":false},{"name":"nodejs","version":"6.0.0","date":"2016-04-26","lts":false,"security":false},{"name":"nodejs","version":"6.1.0","date":"2016-05-05","lts":false,"security":false},{"name":"nodejs","version":"6.2.0","date":"2016-05-17","lts":false,"security":false},{"name":"nodejs","version":"6.3.0","date":"2016-07-06","lts":false,"security":false},{"name":"nodejs","version":"6.4.0","date":"2016-08-12","lts":false,"security":false},{"name":"nodejs","version":"6.5.0","date":"2016-08-26","lts":false,"security":false},{"name":"nodejs","version":"6.6.0","date":"2016-09-14","lts":false,"security":false},{"name":"nodejs","version":"6.7.0","date":"2016-09-27","lts":false,"security":true},{"name":"nodejs","version":"6.8.0","date":"2016-10-12","lts":false,"security":false},{"name":"nodejs","version":"6.9.0","date":"2016-10-18","lts":"Boron","security":false},{"name":"nodejs","version":"6.10.0","date":"2017-02-21","lts":"Boron","security":false},{"name":"nodejs","version":"6.11.0","date":"2017-06-06","lts":"Boron","security":false},{"name":"nodejs","version":"6.12.0","date":"2017-11-06","lts":"Boron","security":false},{"name":"nodejs","version":"6.13.0","date":"2018-02-10","lts":"Boron","security":false},{"name":"nodejs","version":"6.14.0","date":"2018-03-28","lts":"Boron","security":true},{"name":"nodejs","version":"6.15.0","date":"2018-11-27","lts":"Boron","security":true},{"name":"nodejs","version":"6.16.0","date":"2018-12-26","lts":"Boron","security":false},{"name":"nodejs","version":"6.17.0","date":"2019-02-28","lts":"Boron","security":true},{"name":"nodejs","version":"7.0.0","date":"2016-10-25","lts":false,"security":false},{"name":"nodejs","version":"7.1.0","date":"2016-11-08","lts":false,"security":false},{"name":"nodejs","version":"7.2.0","date":"2016-11-22","lts":false,"security":false},{"name":"nodejs","version":"7.3.0","date":"2016-12-20","lts":false,"security":false},{"name":"nodejs","version":"7.4.0","date":"2017-01-04","lts":false,"security":false},{"name":"nodejs","version":"7.5.0","date":"2017-01-31","lts":false,"security":false},{"name":"nodejs","version":"7.6.0","date":"2017-02-21","lts":false,"security":false},{"name":"nodejs","version":"7.7.0","date":"2017-02-28","lts":false,"security":false},{"name":"nodejs","version":"7.8.0","date":"2017-03-29","lts":false,"security":false},{"name":"nodejs","version":"7.9.0","date":"2017-04-11","lts":false,"security":false},{"name":"nodejs","version":"7.10.0","date":"2017-05-02","lts":false,"security":false},{"name":"nodejs","version":"8.0.0","date":"2017-05-30","lts":false,"security":false},{"name":"nodejs","version":"8.1.0","date":"2017-06-08","lts":false,"security":false},{"name":"nodejs","version":"8.2.0","date":"2017-07-19","lts":false,"security":false},{"name":"nodejs","version":"8.3.0","date":"2017-08-08","lts":false,"security":false},{"name":"nodejs","version":"8.4.0","date":"2017-08-15","lts":false,"security":false},{"name":"nodejs","version":"8.5.0","date":"2017-09-12","lts":false,"security":false},{"name":"nodejs","version":"8.6.0","date":"2017-09-26","lts":false,"security":false},{"name":"nodejs","version":"8.7.0","date":"2017-10-11","lts":false,"security":false},{"name":"nodejs","version":"8.8.0","date":"2017-10-24","lts":false,"security":false},{"name":"nodejs","version":"8.9.0","date":"2017-10-31","lts":"Carbon","security":false},{"name":"nodejs","version":"8.10.0","date":"2018-03-06","lts":"Carbon","security":false},{"name":"nodejs","version":"8.11.0","date":"2018-03-28","lts":"Carbon","security":true},{"name":"nodejs","version":"8.12.0","date":"2018-09-10","lts":"Carbon","security":false},{"name":"nodejs","version":"8.13.0","date":"2018-11-20","lts":"Carbon","security":false},{"name":"nodejs","version":"8.14.0","date":"2018-11-27","lts":"Carbon","security":true},{"name":"nodejs","version":"8.15.0","date":"2018-12-26","lts":"Carbon","security":false},{"name":"nodejs","version":"8.16.0","date":"2019-04-16","lts":"Carbon","security":false},{"name":"nodejs","version":"8.17.0","date":"2019-12-17","lts":"Carbon","security":true},{"name":"nodejs","version":"9.0.0","date":"2017-10-31","lts":false,"security":false},{"name":"nodejs","version":"9.1.0","date":"2017-11-07","lts":false,"security":false},{"name":"nodejs","version":"9.2.0","date":"2017-11-14","lts":false,"security":false},{"name":"nodejs","version":"9.3.0","date":"2017-12-12","lts":false,"security":false},{"name":"nodejs","version":"9.4.0","date":"2018-01-10","lts":false,"security":false},{"name":"nodejs","version":"9.5.0","date":"2018-01-31","lts":false,"security":false},{"name":"nodejs","version":"9.6.0","date":"2018-02-21","lts":false,"security":false},{"name":"nodejs","version":"9.7.0","date":"2018-03-01","lts":false,"security":false},{"name":"nodejs","version":"9.8.0","date":"2018-03-07","lts":false,"security":false},{"name":"nodejs","version":"9.9.0","date":"2018-03-21","lts":false,"security":false},{"name":"nodejs","version":"9.10.0","date":"2018-03-28","lts":false,"security":true},{"name":"nodejs","version":"9.11.0","date":"2018-04-04","lts":false,"security":false},{"name":"nodejs","version":"10.0.0","date":"2018-04-24","lts":false,"security":false},{"name":"nodejs","version":"10.1.0","date":"2018-05-08","lts":false,"security":false},{"name":"nodejs","version":"10.2.0","date":"2018-05-23","lts":false,"security":false},{"name":"nodejs","version":"10.3.0","date":"2018-05-29","lts":false,"security":false},{"name":"nodejs","version":"10.4.0","date":"2018-06-06","lts":false,"security":false},{"name":"nodejs","version":"10.5.0","date":"2018-06-20","lts":false,"security":false},{"name":"nodejs","version":"10.6.0","date":"2018-07-04","lts":false,"security":false},{"name":"nodejs","version":"10.7.0","date":"2018-07-18","lts":false,"security":false},{"name":"nodejs","version":"10.8.0","date":"2018-08-01","lts":false,"security":false},{"name":"nodejs","version":"10.9.0","date":"2018-08-15","lts":false,"security":false},{"name":"nodejs","version":"10.10.0","date":"2018-09-06","lts":false,"security":false},{"name":"nodejs","version":"10.11.0","date":"2018-09-19","lts":false,"security":false},{"name":"nodejs","version":"10.12.0","date":"2018-10-10","lts":false,"security":false},{"name":"nodejs","version":"10.13.0","date":"2018-10-30","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.14.0","date":"2018-11-27","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.15.0","date":"2018-12-26","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.16.0","date":"2019-05-28","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.17.0","date":"2019-10-22","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.18.0","date":"2019-12-17","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.19.0","date":"2020-02-05","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.20.0","date":"2020-03-26","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.21.0","date":"2020-06-02","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.22.0","date":"2020-07-21","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.23.0","date":"2020-10-27","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.24.0","date":"2021-02-23","lts":"Dubnium","security":true},{"name":"nodejs","version":"11.0.0","date":"2018-10-23","lts":false,"security":false},{"name":"nodejs","version":"11.1.0","date":"2018-10-30","lts":false,"security":false},{"name":"nodejs","version":"11.2.0","date":"2018-11-15","lts":false,"security":false},{"name":"nodejs","version":"11.3.0","date":"2018-11-27","lts":false,"security":true},{"name":"nodejs","version":"11.4.0","date":"2018-12-07","lts":false,"security":false},{"name":"nodejs","version":"11.5.0","date":"2018-12-18","lts":false,"security":false},{"name":"nodejs","version":"11.6.0","date":"2018-12-26","lts":false,"security":false},{"name":"nodejs","version":"11.7.0","date":"2019-01-17","lts":false,"security":false},{"name":"nodejs","version":"11.8.0","date":"2019-01-24","lts":false,"security":false},{"name":"nodejs","version":"11.9.0","date":"2019-01-30","lts":false,"security":false},{"name":"nodejs","version":"11.10.0","date":"2019-02-14","lts":false,"security":false},{"name":"nodejs","version":"11.11.0","date":"2019-03-05","lts":false,"security":false},{"name":"nodejs","version":"11.12.0","date":"2019-03-14","lts":false,"security":false},{"name":"nodejs","version":"11.13.0","date":"2019-03-28","lts":false,"security":false},{"name":"nodejs","version":"11.14.0","date":"2019-04-10","lts":false,"security":false},{"name":"nodejs","version":"11.15.0","date":"2019-04-30","lts":false,"security":false},{"name":"nodejs","version":"12.0.0","date":"2019-04-23","lts":false,"security":false},{"name":"nodejs","version":"12.1.0","date":"2019-04-29","lts":false,"security":false},{"name":"nodejs","version":"12.2.0","date":"2019-05-07","lts":false,"security":false},{"name":"nodejs","version":"12.3.0","date":"2019-05-21","lts":false,"security":false},{"name":"nodejs","version":"12.4.0","date":"2019-06-04","lts":false,"security":false},{"name":"nodejs","version":"12.5.0","date":"2019-06-26","lts":false,"security":false},{"name":"nodejs","version":"12.6.0","date":"2019-07-03","lts":false,"security":false},{"name":"nodejs","version":"12.7.0","date":"2019-07-23","lts":false,"security":false},{"name":"nodejs","version":"12.8.0","date":"2019-08-06","lts":false,"security":false},{"name":"nodejs","version":"12.9.0","date":"2019-08-20","lts":false,"security":false},{"name":"nodejs","version":"12.10.0","date":"2019-09-04","lts":false,"security":false},{"name":"nodejs","version":"12.11.0","date":"2019-09-25","lts":false,"security":false},{"name":"nodejs","version":"12.12.0","date":"2019-10-11","lts":false,"security":false},{"name":"nodejs","version":"12.13.0","date":"2019-10-21","lts":"Erbium","security":false},{"name":"nodejs","version":"12.14.0","date":"2019-12-17","lts":"Erbium","security":true},{"name":"nodejs","version":"12.15.0","date":"2020-02-05","lts":"Erbium","security":true},{"name":"nodejs","version":"12.16.0","date":"2020-02-11","lts":"Erbium","security":false},{"name":"nodejs","version":"12.17.0","date":"2020-05-26","lts":"Erbium","security":false},{"name":"nodejs","version":"12.18.0","date":"2020-06-02","lts":"Erbium","security":true},{"name":"nodejs","version":"12.19.0","date":"2020-10-06","lts":"Erbium","security":false},{"name":"nodejs","version":"12.20.0","date":"2020-11-24","lts":"Erbium","security":false},{"name":"nodejs","version":"12.21.0","date":"2021-02-23","lts":"Erbium","security":true},{"name":"nodejs","version":"12.22.0","date":"2021-03-30","lts":"Erbium","security":false},{"name":"nodejs","version":"13.0.0","date":"2019-10-22","lts":false,"security":false},{"name":"nodejs","version":"13.1.0","date":"2019-11-05","lts":false,"security":false},{"name":"nodejs","version":"13.2.0","date":"2019-11-21","lts":false,"security":false},{"name":"nodejs","version":"13.3.0","date":"2019-12-03","lts":false,"security":false},{"name":"nodejs","version":"13.4.0","date":"2019-12-17","lts":false,"security":true},{"name":"nodejs","version":"13.5.0","date":"2019-12-18","lts":false,"security":false},{"name":"nodejs","version":"13.6.0","date":"2020-01-07","lts":false,"security":false},{"name":"nodejs","version":"13.7.0","date":"2020-01-21","lts":false,"security":false},{"name":"nodejs","version":"13.8.0","date":"2020-02-05","lts":false,"security":true},{"name":"nodejs","version":"13.9.0","date":"2020-02-18","lts":false,"security":false},{"name":"nodejs","version":"13.10.0","date":"2020-03-04","lts":false,"security":false},{"name":"nodejs","version":"13.11.0","date":"2020-03-12","lts":false,"security":false},{"name":"nodejs","version":"13.12.0","date":"2020-03-26","lts":false,"security":false},{"name":"nodejs","version":"13.13.0","date":"2020-04-14","lts":false,"security":false},{"name":"nodejs","version":"13.14.0","date":"2020-04-29","lts":false,"security":false},{"name":"nodejs","version":"14.0.0","date":"2020-04-21","lts":false,"security":false},{"name":"nodejs","version":"14.1.0","date":"2020-04-29","lts":false,"security":false},{"name":"nodejs","version":"14.2.0","date":"2020-05-05","lts":false,"security":false},{"name":"nodejs","version":"14.3.0","date":"2020-05-19","lts":false,"security":false},{"name":"nodejs","version":"14.4.0","date":"2020-06-02","lts":false,"security":true},{"name":"nodejs","version":"14.5.0","date":"2020-06-30","lts":false,"security":false},{"name":"nodejs","version":"14.6.0","date":"2020-07-20","lts":false,"security":false},{"name":"nodejs","version":"14.7.0","date":"2020-07-29","lts":false,"security":false},{"name":"nodejs","version":"14.8.0","date":"2020-08-11","lts":false,"security":false},{"name":"nodejs","version":"14.9.0","date":"2020-08-27","lts":false,"security":false},{"name":"nodejs","version":"14.10.0","date":"2020-09-08","lts":false,"security":false},{"name":"nodejs","version":"14.11.0","date":"2020-09-15","lts":false,"security":true},{"name":"nodejs","version":"14.12.0","date":"2020-09-22","lts":false,"security":false},{"name":"nodejs","version":"14.13.0","date":"2020-09-29","lts":false,"security":false},{"name":"nodejs","version":"14.14.0","date":"2020-10-15","lts":false,"security":false},{"name":"nodejs","version":"14.15.0","date":"2020-10-27","lts":"Fermium","security":false},{"name":"nodejs","version":"14.16.0","date":"2021-02-23","lts":"Fermium","security":true},{"name":"nodejs","version":"14.17.0","date":"2021-05-11","lts":"Fermium","security":false},{"name":"nodejs","version":"14.18.0","date":"2021-09-28","lts":"Fermium","security":false},{"name":"nodejs","version":"15.0.0","date":"2020-10-20","lts":false,"security":false},{"name":"nodejs","version":"15.1.0","date":"2020-11-04","lts":false,"security":false},{"name":"nodejs","version":"15.2.0","date":"2020-11-10","lts":false,"security":false},{"name":"nodejs","version":"15.3.0","date":"2020-11-24","lts":false,"security":false},{"name":"nodejs","version":"15.4.0","date":"2020-12-09","lts":false,"security":false},{"name":"nodejs","version":"15.5.0","date":"2020-12-22","lts":false,"security":false},{"name":"nodejs","version":"15.6.0","date":"2021-01-14","lts":false,"security":false},{"name":"nodejs","version":"15.7.0","date":"2021-01-25","lts":false,"security":false},{"name":"nodejs","version":"15.8.0","date":"2021-02-02","lts":false,"security":false},{"name":"nodejs","version":"15.9.0","date":"2021-02-18","lts":false,"security":false},{"name":"nodejs","version":"15.10.0","date":"2021-02-23","lts":false,"security":true},{"name":"nodejs","version":"15.11.0","date":"2021-03-03","lts":false,"security":false},{"name":"nodejs","version":"15.12.0","date":"2021-03-17","lts":false,"security":false},{"name":"nodejs","version":"15.13.0","date":"2021-03-31","lts":false,"security":false},{"name":"nodejs","version":"15.14.0","date":"2021-04-06","lts":false,"security":false},{"name":"nodejs","version":"16.0.0","date":"2021-04-20","lts":false,"security":false},{"name":"nodejs","version":"16.1.0","date":"2021-05-04","lts":false,"security":false},{"name":"nodejs","version":"16.2.0","date":"2021-05-19","lts":false,"security":false},{"name":"nodejs","version":"16.3.0","date":"2021-06-03","lts":false,"security":false},{"name":"nodejs","version":"16.4.0","date":"2021-06-23","lts":false,"security":false},{"name":"nodejs","version":"16.5.0","date":"2021-07-14","lts":false,"security":false},{"name":"nodejs","version":"16.6.0","date":"2021-07-29","lts":false,"security":true},{"name":"nodejs","version":"16.7.0","date":"2021-08-18","lts":false,"security":false},{"name":"nodejs","version":"16.8.0","date":"2021-08-25","lts":false,"security":false},{"name":"nodejs","version":"16.9.0","date":"2021-09-07","lts":false,"security":false},{"name":"nodejs","version":"16.10.0","date":"2021-09-22","lts":false,"security":false},{"name":"nodejs","version":"16.11.0","date":"2021-10-08","lts":false,"security":false},{"name":"nodejs","version":"16.12.0","date":"2021-10-20","lts":false,"security":false},{"name":"nodejs","version":"17.0.0","date":"2021-10-19","lts":false,"security":false}]')},742:e=>{"use strict";e.exports=JSON.parse('{"v0.8":{"start":"2012-06-25","end":"2014-07-31"},"v0.10":{"start":"2013-03-11","end":"2016-10-31"},"v0.12":{"start":"2015-02-06","end":"2016-12-31"},"v4":{"start":"2015-09-08","lts":"2015-10-12","maintenance":"2017-04-01","end":"2018-04-30","codename":"Argon"},"v5":{"start":"2015-10-29","maintenance":"2016-04-30","end":"2016-06-30"},"v6":{"start":"2016-04-26","lts":"2016-10-18","maintenance":"2018-04-30","end":"2019-04-30","codename":"Boron"},"v7":{"start":"2016-10-25","maintenance":"2017-04-30","end":"2017-06-30"},"v8":{"start":"2017-05-30","lts":"2017-10-31","maintenance":"2019-01-01","end":"2019-12-31","codename":"Carbon"},"v9":{"start":"2017-10-01","maintenance":"2018-04-01","end":"2018-06-30"},"v10":{"start":"2018-04-24","lts":"2018-10-30","maintenance":"2020-05-19","end":"2021-04-30","codename":"Dubnium"},"v11":{"start":"2018-10-23","maintenance":"2019-04-22","end":"2019-06-01"},"v12":{"start":"2019-04-23","lts":"2019-10-21","maintenance":"2020-11-30","end":"2022-04-30","codename":"Erbium"},"v13":{"start":"2019-10-22","maintenance":"2020-04-01","end":"2020-06-01"},"v14":{"start":"2020-04-21","lts":"2020-10-27","maintenance":"2021-10-19","end":"2023-04-30","codename":"Fermium"},"v15":{"start":"2020-10-20","maintenance":"2021-04-01","end":"2021-06-01"},"v16":{"start":"2021-04-20","lts":"2021-10-26","maintenance":"2022-10-18","end":"2024-04-30","codename":""},"v17":{"start":"2021-10-19","maintenance":"2022-04-01","end":"2022-06-01"},"v18":{"start":"2022-04-19","lts":"2022-10-25","maintenance":"2023-10-18","end":"2025-04-30","codename":""}}')}};var __webpack_module_cache__={};function __nccwpck_require__(e){var s=__webpack_module_cache__[e];if(s!==undefined){return s.exports}var r=__webpack_module_cache__[e]={exports:{}};var n=true;try{__webpack_modules__[e](r,r.exports,__nccwpck_require__);n=false}finally{if(n)delete __webpack_module_cache__[e]}return r.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var __webpack_exports__=__nccwpck_require__(567);module.exports=__webpack_exports__})(); | ||
(()=>{var __webpack_modules__={446:e=>{function BrowserslistError(e){this.name="BrowserslistError";this.message=e;this.browserslist=true;if(Error.captureStackTrace){Error.captureStackTrace(this,BrowserslistError)}}BrowserslistError.prototype=Error.prototype;e.exports=BrowserslistError},567:(e,s,r)=>{var n=r(945);var t=r(768).agents;var a=r(742);var i=r(17);var o=r(477);var l=r(446);var f=r(711);var u=365.259641*24*60*60*1e3;var d=37;var c=1;var v=2;function isVersionsMatch(e,s){return(e+".").indexOf(s+".")===0}function isEolReleased(e){var s=e.slice(1);return browserslist.nodeVersions.some((function(e){return isVersionsMatch(e,s)}))}function normalize(e){return e.filter((function(e){return typeof e==="string"}))}function normalizeElectron(e){var s=e;if(e.split(".").length===3){s=e.split(".").slice(0,-1).join(".")}return s}function nameMapper(e){return function mapName(s){return e+" "+s}}function getMajor(e){return parseInt(e.split(".")[0])}function getMajorVersions(e,s){if(e.length===0)return[];var r=uniq(e.map(getMajor));var n=r[r.length-s];if(!n){return e}var t=[];for(var a=e.length-1;a>=0;a--){if(n>getMajor(e[a]))break;t.unshift(e[a])}return t}function uniq(e){var s=[];for(var r=0;r<e.length;r++){if(s.indexOf(e[r])===-1)s.push(e[r])}return s}function fillUsage(e,s,r){for(var n in r){e[s+" "+n]=r[n]}}function generateFilter(e,s){s=parseFloat(s);if(e===">"){return function(e){return parseFloat(e)>s}}else if(e===">="){return function(e){return parseFloat(e)>=s}}else if(e==="<"){return function(e){return parseFloat(e)<s}}else{return function(e){return parseFloat(e)<=s}}}function generateSemverFilter(e,s){s=s.split(".").map(parseSimpleInt);s[1]=s[1]||0;s[2]=s[2]||0;if(e===">"){return function(e){e=e.split(".").map(parseSimpleInt);return compareSemver(e,s)>0}}else if(e===">="){return function(e){e=e.split(".").map(parseSimpleInt);return compareSemver(e,s)>=0}}else if(e==="<"){return function(e){e=e.split(".").map(parseSimpleInt);return compareSemver(s,e)>0}}else{return function(e){e=e.split(".").map(parseSimpleInt);return compareSemver(s,e)>=0}}}function parseSimpleInt(e){return parseInt(e)}function compare(e,s){if(e<s)return-1;if(e>s)return+1;return 0}function compareSemver(e,s){return compare(parseInt(e[0]),parseInt(s[0]))||compare(parseInt(e[1]||"0"),parseInt(s[1]||"0"))||compare(parseInt(e[2]||"0"),parseInt(s[2]||"0"))}function semverFilterLoose(e,s){s=s.split(".").map(parseSimpleInt);if(typeof s[1]==="undefined"){s[1]="x"}switch(e){case"<=":return function(e){e=e.split(".").map(parseSimpleInt);return compareSemverLoose(e,s)<=0};case">=":default:return function(e){e=e.split(".").map(parseSimpleInt);return compareSemverLoose(e,s)>=0}}}function compareSemverLoose(e,s){if(e[0]!==s[0]){return e[0]<s[0]?-1:+1}if(s[1]==="x"){return 0}if(e[1]!==s[1]){return e[1]<s[1]?-1:+1}return 0}function resolveVersion(e,s){if(e.versions.indexOf(s)!==-1){return s}else if(browserslist.versionAliases[e.name][s]){return browserslist.versionAliases[e.name][s]}else{return false}}function normalizeVersion(e,s){var r=resolveVersion(e,s);if(r){return r}else if(e.versions.length===1){return e.versions[0]}else{return false}}function filterByYear(e,s){e=e/1e3;return Object.keys(t).reduce((function(r,n){var t=byName(n,s);if(!t)return r;var a=Object.keys(t.releaseDate).filter((function(s){var r=t.releaseDate[s];return r!==null&&r>=e}));return r.concat(a.map(nameMapper(t.name)))}),[])}function cloneData(e){return{name:e.name,versions:e.versions,released:e.released,releaseDate:e.releaseDate}}function mapVersions(e,s){e.versions=e.versions.map((function(e){return s[e]||e}));e.released=e.versions.map((function(e){return s[e]||e}));var r={};for(var n in e.releaseDate){r[s[n]||n]=e.releaseDate[n]}e.releaseDate=r;return e}function byName(e,s){e=e.toLowerCase();e=browserslist.aliases[e]||e;if(s.mobileToDesktop&&browserslist.desktopNames[e]){var r=browserslist.data[browserslist.desktopNames[e]];if(e==="android"){return normalizeAndroidData(cloneData(browserslist.data[e]),r)}else{var n=cloneData(r);n.name=e;if(e==="op_mob"){n=mapVersions(n,{"10.0-10.1":"10"})}return n}}return browserslist.data[e]}function normalizeAndroidVersions(e,s){var r=d;var n=s[s.length-1];return e.filter((function(e){return/^(?:[2-4]\.|[34]$)/.test(e)})).concat(s.slice(r-n-1))}function normalizeAndroidData(e,s){e.released=normalizeAndroidVersions(e.released,s.released);e.versions=normalizeAndroidVersions(e.versions,s.versions);return e}function checkName(e,s){var r=byName(e,s);if(!r)throw new l("Unknown browser "+e);return r}function unknownQuery(e){return new l("Unknown browser query `"+e+"`. "+"Maybe you are using old Browserslist or made typo in query.")}function filterAndroid(e,s,r){if(r.mobileToDesktop)return e;var n=browserslist.data.android.released;var t=n[n.length-1];var a=t-d-s;if(a>0){return e.slice(-1)}else{return e.slice(a-1)}}function resolve(e,s){if(Array.isArray(e)){e=flatten(e.map(parse))}else{e=parse(e)}return e.reduce((function(e,r,n){var t=r.queryString;var a=t.indexOf("not ")===0;if(a){if(n===0){throw new l("Write any browsers query (for instance, `defaults`) "+"before `"+t+"`")}t=t.slice(4)}for(var i=0;i<p.length;i++){var o=p[i];var f=t.match(o.regexp);if(f){var u=[s].concat(f.slice(1));var d=o.select.apply(browserslist,u).map((function(e){var r=e.split(" ");if(r[1]==="0"){return r[0]+" "+byName(r[0],s).versions[0]}else{return e}}));switch(r.type){case v:if(a){return e.filter((function(e){return d.indexOf(e)===-1}))}else{return e.filter((function(e){return d.indexOf(e)!==-1}))}case c:default:if(a){var m={};d.forEach((function(e){m[e]=true}));return e.filter((function(e){return!m[e]}))}return e.concat(d)}}}throw unknownQuery(t)}),[])}var m={};function browserslist(e,s){if(typeof s==="undefined")s={};if(typeof s.path==="undefined"){s.path=i.resolve?i.resolve("."):"."}if(typeof e==="undefined"||e===null){var r=browserslist.loadConfig(s);if(r){e=r}else{e=browserslist.defaults}}if(!(typeof e==="string"||Array.isArray(e))){throw new l("Browser queries must be an array or string. Got "+typeof e+".")}var n={ignoreUnknownVersions:s.ignoreUnknownVersions,dangerousExtend:s.dangerousExtend,mobileToDesktop:s.mobileToDesktop,path:s.path,env:s.env};f.oldDataWarning(browserslist.data);var t=f.getStat(s,browserslist.data);if(t){n.customUsage={};for(var a in t){fillUsage(n.customUsage,a,t[a])}}var o=JSON.stringify([e,n]);if(m[o])return m[o];var u=uniq(resolve(e,n)).sort((function(e,s){e=e.split(" ");s=s.split(" ");if(e[0]===s[0]){var r=e[1].split("-")[0];var n=s[1].split("-")[0];return compareSemver(n.split("."),r.split("."))}else{return compare(e[0],s[0])}}));if(!process.env.BROWSERSLIST_DISABLE_CACHE){m[o]=u}return u}function parse(e){var s=[];do{e=doMatch(e,s)}while(e);return s}function doMatch(e,s){var r=/^(?:,\s*|\s+or\s+)(.*)/i;var n=/^\s+and\s+(.*)/i;return find(e,(function(e,t,a){if(n.test(e)){s.unshift({type:v,queryString:e.match(n)[1]});return true}else if(r.test(e)){s.unshift({type:c,queryString:e.match(r)[1]});return true}else if(t===a){s.unshift({type:c,queryString:e.trim()});return true}return false}))}function find(e,s){for(var r=1,n=e.length;r<=n;r++){var t=e.substr(-r,r);if(s(t,r,n)){return e.slice(0,-r)}}return""}function flatten(e){if(!Array.isArray(e))return[e];return e.reduce((function(e,s){return e.concat(flatten(s))}),[])}browserslist.cache={};browserslist.data={};browserslist.usage={global:{},custom:null};browserslist.defaults=["> 0.5%","last 2 versions","Firefox ESR","not dead"];browserslist.aliases={fx:"firefox",ff:"firefox",ios:"ios_saf",explorer:"ie",blackberry:"bb",explorermobile:"ie_mob",operamini:"op_mini",operamobile:"op_mob",chromeandroid:"and_chr",firefoxandroid:"and_ff",ucandroid:"and_uc",qqandroid:"and_qq"};browserslist.desktopNames={and_chr:"chrome",and_ff:"firefox",ie_mob:"ie",op_mob:"opera",android:"chrome"};browserslist.versionAliases={};browserslist.clearCaches=f.clearCaches;browserslist.parseConfig=f.parseConfig;browserslist.readConfig=f.readConfig;browserslist.findConfig=f.findConfig;browserslist.loadConfig=f.loadConfig;browserslist.coverage=function(e,s){var r;if(typeof s==="undefined"){r=browserslist.usage.global}else if(s==="my stats"){var n={};n.path=i.resolve?i.resolve("."):".";var t=f.getStat(n);if(!t){throw new l("Custom usage statistics was not provided")}r={};for(var a in t){fillUsage(r,a,t[a])}}else if(typeof s==="string"){if(s.length>2){s=s.toLowerCase()}else{s=s.toUpperCase()}f.loadCountry(browserslist.usage,s,browserslist.data);r=browserslist.usage[s]}else{if("dataByBrowser"in s){s=s.dataByBrowser}r={};for(var o in s){for(var u in s[o]){r[o+" "+u]=s[o][u]}}}return e.reduce((function(e,s){var n=r[s];if(n===undefined){n=r[s.replace(/ \S+$/," 0")]}return e+(n||0)}),0)};function nodeQuery(e,s){var r=browserslist.nodeVersions.filter((function(e){return isVersionsMatch(e,s)}));if(r.length===0){if(e.ignoreUnknownVersions){return[]}else{throw new l("Unknown version "+s+" of Node.js")}}return["node "+r[r.length-1]]}function sinceQuery(e,s,r,n){s=parseInt(s);r=parseInt(r||"01")-1;n=parseInt(n||"01");return filterByYear(Date.UTC(s,r,n,0,0,0),e)}function coverQuery(e,s,r){s=parseFloat(s);var n=browserslist.usage.global;if(r){if(r.match(/^my\s+stats$/i)){if(!e.customUsage){throw new l("Custom usage statistics was not provided")}n=e.customUsage}else{var t;if(r.length===2){t=r.toUpperCase()}else{t=r.toLowerCase()}f.loadCountry(browserslist.usage,t,browserslist.data);n=browserslist.usage[t]}}var a=Object.keys(n).sort((function(e,s){return n[s]-n[e]}));var i=0;var o=[];var u;for(var d=0;d<a.length;d++){u=a[d];if(n[u]===0)break;i+=n[u];o.push(u);if(i>=s)break}return o}var p=[{regexp:/^last\s+(\d+)\s+major\s+versions?$/i,select:function(e,s){return Object.keys(t).reduce((function(r,n){var t=byName(n,e);if(!t)return r;var a=getMajorVersions(t.released,s);a=a.map(nameMapper(t.name));if(t.name==="android"){a=filterAndroid(a,s,e)}return r.concat(a)}),[])}},{regexp:/^last\s+(\d+)\s+versions?$/i,select:function(e,s){return Object.keys(t).reduce((function(r,n){var t=byName(n,e);if(!t)return r;var a=t.released.slice(-s);a=a.map(nameMapper(t.name));if(t.name==="android"){a=filterAndroid(a,s,e)}return r.concat(a)}),[])}},{regexp:/^last\s+(\d+)\s+electron\s+major\s+versions?$/i,select:function(e,s){var r=getMajorVersions(Object.keys(o),s);return r.map((function(e){return"chrome "+o[e]}))}},{regexp:/^last\s+(\d+)\s+node\s+major\s+versions?$/i,select:function(e,s){return getMajorVersions(browserslist.nodeVersions,s).map((function(e){return"node "+e}))}},{regexp:/^last\s+(\d+)\s+(\w+)\s+major\s+versions?$/i,select:function(e,s,r){var n=checkName(r,e);var t=getMajorVersions(n.released,s);var a=t.map(nameMapper(n.name));if(n.name==="android"){a=filterAndroid(a,s,e)}return a}},{regexp:/^last\s+(\d+)\s+electron\s+versions?$/i,select:function(e,s){return Object.keys(o).slice(-s).map((function(e){return"chrome "+o[e]}))}},{regexp:/^last\s+(\d+)\s+node\s+versions?$/i,select:function(e,s){return browserslist.nodeVersions.slice(-s).map((function(e){return"node "+e}))}},{regexp:/^last\s+(\d+)\s+(\w+)\s+versions?$/i,select:function(e,s,r){var n=checkName(r,e);var t=n.released.slice(-s).map(nameMapper(n.name));if(n.name==="android"){t=filterAndroid(t,s,e)}return t}},{regexp:/^unreleased\s+versions$/i,select:function(e){return Object.keys(t).reduce((function(s,r){var n=byName(r,e);if(!n)return s;var t=n.versions.filter((function(e){return n.released.indexOf(e)===-1}));t=t.map(nameMapper(n.name));return s.concat(t)}),[])}},{regexp:/^unreleased\s+electron\s+versions?$/i,select:function(){return[]}},{regexp:/^unreleased\s+(\w+)\s+versions?$/i,select:function(e,s){var r=checkName(s,e);return r.versions.filter((function(e){return r.released.indexOf(e)===-1})).map(nameMapper(r.name))}},{regexp:/^last\s+(\d*.?\d+)\s+years?$/i,select:function(e,s){return filterByYear(Date.now()-u*s,e)}},{regexp:/^since (\d+)$/i,select:sinceQuery},{regexp:/^since (\d+)-(\d+)$/i,select:sinceQuery},{regexp:/^since (\d+)-(\d+)-(\d+)$/i,select:sinceQuery},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%$/,select:function(e,s,r){r=parseFloat(r);var n=browserslist.usage.global;return Object.keys(n).reduce((function(e,t){if(s===">"){if(n[t]>r){e.push(t)}}else if(s==="<"){if(n[t]<r){e.push(t)}}else if(s==="<="){if(n[t]<=r){e.push(t)}}else if(n[t]>=r){e.push(t)}return e}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+my\s+stats$/,select:function(e,s,r){r=parseFloat(r);if(!e.customUsage){throw new l("Custom usage statistics was not provided")}var n=e.customUsage;return Object.keys(n).reduce((function(e,t){var a=n[t];if(a==null){return e}if(s===">"){if(a>r){e.push(t)}}else if(s==="<"){if(a<r){e.push(t)}}else if(s==="<="){if(a<=r){e.push(t)}}else if(a>=r){e.push(t)}return e}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/,select:function(e,s,r,n){r=parseFloat(r);var t=f.loadStat(e,n,browserslist.data);if(t){e.customUsage={};for(var a in t){fillUsage(e.customUsage,a,t[a])}}if(!e.customUsage){throw new l("Custom usage statistics was not provided")}var i=e.customUsage;return Object.keys(i).reduce((function(e,n){var t=i[n];if(t==null){return e}if(s===">"){if(t>r){e.push(n)}}else if(s==="<"){if(t<r){e.push(n)}}else if(s==="<="){if(t<=r){e.push(n)}}else if(t>=r){e.push(n)}return e}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+((alt-)?\w\w)$/,select:function(e,s,r,n){r=parseFloat(r);if(n.length===2){n=n.toUpperCase()}else{n=n.toLowerCase()}f.loadCountry(browserslist.usage,n,browserslist.data);var t=browserslist.usage[n];return Object.keys(t).reduce((function(e,n){var a=t[n];if(a==null){return e}if(s===">"){if(a>r){e.push(n)}}else if(s==="<"){if(a<r){e.push(n)}}else if(s==="<="){if(a<=r){e.push(n)}}else if(a>=r){e.push(n)}return e}),[])}},{regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%$/i,select:coverQuery},{regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(my\s+stats|(alt-)?\w\w)$/i,select:coverQuery},{regexp:/^supports\s+([\w-]+)$/,select:function(e,s){f.loadFeature(browserslist.cache,s);var r=browserslist.cache[s];return Object.keys(r).reduce((function(e,s){var n=r[s];if(n.indexOf("y")>=0||n.indexOf("a")>=0){e.push(s)}return e}),[])}},{regexp:/^electron\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(e,s,r){var n=normalizeElectron(s);var t=normalizeElectron(r);if(!o[n]){throw new l("Unknown version "+s+" of electron")}if(!o[t]){throw new l("Unknown version "+r+" of electron")}s=parseFloat(s);r=parseFloat(r);return Object.keys(o).filter((function(e){var n=parseFloat(e);return n>=s&&n<=r})).map((function(e){return"chrome "+o[e]}))}},{regexp:/^node\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(e,s,r){return browserslist.nodeVersions.filter(semverFilterLoose(">=",s)).filter(semverFilterLoose("<=",r)).map((function(e){return"node "+e}))}},{regexp:/^(\w+)\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(e,s,r,n){var t=checkName(s,e);r=parseFloat(normalizeVersion(t,r)||r);n=parseFloat(normalizeVersion(t,n)||n);function filter(e){var s=parseFloat(e);return s>=r&&s<=n}return t.released.filter(filter).map(nameMapper(t.name))}},{regexp:/^electron\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(e,s,r){var n=normalizeElectron(r);return Object.keys(o).filter(generateFilter(s,n)).map((function(e){return"chrome "+o[e]}))}},{regexp:/^node\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(e,s,r){return browserslist.nodeVersions.filter(generateSemverFilter(s,r)).map((function(e){return"node "+e}))}},{regexp:/^(\w+)\s*(>=?|<=?)\s*([\d.]+)$/,select:function(e,s,r,n){var t=checkName(s,e);var a=browserslist.versionAliases[t.name][n];if(a){n=a}return t.released.filter(generateFilter(r,n)).map((function(e){return t.name+" "+e}))}},{regexp:/^(firefox|ff|fx)\s+esr$/i,select:function(){return["firefox 91"]}},{regexp:/(operamini|op_mini)\s+all/i,select:function(){return["op_mini all"]}},{regexp:/^electron\s+([\d.]+)$/i,select:function(e,s){var r=normalizeElectron(s);var n=o[r];if(!n){throw new l("Unknown version "+s+" of electron")}return["chrome "+n]}},{regexp:/^node\s+(\d+)$/i,select:nodeQuery},{regexp:/^node\s+(\d+\.\d+)$/i,select:nodeQuery},{regexp:/^node\s+(\d+\.\d+\.\d+)$/i,select:nodeQuery},{regexp:/^current\s+node$/i,select:function(e){return[f.currentNode(resolve,e)]}},{regexp:/^maintained\s+node\s+versions$/i,select:function(e){var s=Date.now();var r=Object.keys(a).filter((function(e){return s<Date.parse(a[e].end)&&s>Date.parse(a[e].start)&&isEolReleased(e)})).map((function(e){return"node "+e.slice(1)}));return resolve(r,e)}},{regexp:/^phantomjs\s+1.9$/i,select:function(){return["safari 5"]}},{regexp:/^phantomjs\s+2.1$/i,select:function(){return["safari 6"]}},{regexp:/^(\w+)\s+(tp|[\d.]+)$/i,select:function(e,s,r){if(/^tp$/i.test(r))r="TP";var n=checkName(s,e);var t=normalizeVersion(n,r);if(t){r=t}else{if(r.indexOf(".")===-1){t=r+".0"}else{t=r.replace(/\.0$/,"")}t=normalizeVersion(n,t);if(t){r=t}else if(e.ignoreUnknownVersions){return[]}else{throw new l("Unknown version "+r+" of "+s)}}return[n.name+" "+r]}},{regexp:/^browserslist config$/i,select:function(e){return browserslist(undefined,e)}},{regexp:/^extends (.+)$/i,select:function(e,s){return resolve(f.loadQueries(e,s),e)}},{regexp:/^defaults$/i,select:function(e){return resolve(browserslist.defaults,e)}},{regexp:/^dead$/i,select:function(e){var s=["ie <= 10","ie_mob <= 11","bb <= 10","op_mob <= 12.1","samsung 4"];return resolve(s,e)}},{regexp:/^(\w+)$/i,select:function(e,s){if(byName(s,e)){throw new l("Specify versions in Browserslist query for browser "+s)}else{throw unknownQuery(s)}}}];(function(){for(var e in t){var s=t[e];browserslist.data[e]={name:e,versions:normalize(t[e].versions),released:normalize(t[e].versions.slice(0,-3)),releaseDate:t[e].release_date};fillUsage(browserslist.usage.global,e,s.usage_global);browserslist.versionAliases[e]={};for(var r=0;r<s.versions.length;r++){var a=s.versions[r];if(!a)continue;if(a.indexOf("-")!==-1){var i=a.split("-");for(var o=0;o<i.length;o++){browserslist.versionAliases[e][i[o]]=a}}}}browserslist.versionAliases.op_mob["59"]="58";browserslist.nodeVersions=n.map((function(e){return e.version}))})();e.exports=browserslist},711:(module,__unused_webpack_exports,__nccwpck_require__)=>{var feature=__nccwpck_require__(379)["default"];var region=__nccwpck_require__(225)["default"];var path=__nccwpck_require__(17);var fs=__nccwpck_require__(147);var BrowserslistError=__nccwpck_require__(446);var IS_SECTION=/^\s*\[(.+)]\s*$/;var CONFIG_PATTERN=/^browserslist-config-/;var SCOPED_CONFIG__PATTERN=/@[^/]+\/browserslist-config(-|$|\/)/;var TIME_TO_UPDATE_CANIUSE=6*30*24*60*60*1e3;var FORMAT="Browserslist config should be a string or an array "+"of strings with browser queries";var dataTimeChecked=false;var filenessCache={};var configCache={};function checkExtend(e){var s=" Use `dangerousExtend` option to disable.";if(!CONFIG_PATTERN.test(e)&&!SCOPED_CONFIG__PATTERN.test(e)){throw new BrowserslistError("Browserslist config needs `browserslist-config-` prefix. "+s)}if(e.replace(/^@[^/]+\//,"").indexOf(".")!==-1){throw new BrowserslistError("`.` not allowed in Browserslist config name. "+s)}if(e.indexOf("node_modules")!==-1){throw new BrowserslistError("`node_modules` not allowed in Browserslist config."+s)}}function isFile(e){if(e in filenessCache){return filenessCache[e]}var s=fs.existsSync(e)&&fs.statSync(e).isFile();if(!process.env.BROWSERSLIST_DISABLE_CACHE){filenessCache[e]=s}return s}function eachParent(e,s){var r=isFile(e)?path.dirname(e):e;var n=path.resolve(r);do{var t=s(n);if(typeof t!=="undefined")return t}while(n!==(n=path.dirname(n)));return undefined}function check(e){if(Array.isArray(e)){for(var s=0;s<e.length;s++){if(typeof e[s]!=="string"){throw new BrowserslistError(FORMAT)}}}else if(typeof e!=="string"){throw new BrowserslistError(FORMAT)}}function pickEnv(e,s){if(typeof e!=="object")return e;var r;if(typeof s.env==="string"){r=s.env}else if(process.env.BROWSERSLIST_ENV){r=process.env.BROWSERSLIST_ENV}else if(process.env.NODE_ENV){r=process.env.NODE_ENV}else{r="production"}if(s.throwOnMissing){if(r&&r!=="defaults"&&!e[r]){throw new BrowserslistError("Missing config for Browserslist environment `"+r+"`")}}return e[r]||e.defaults}function parsePackage(e){var s=JSON.parse(fs.readFileSync(e));if(s.browserlist&&!s.browserslist){throw new BrowserslistError("`browserlist` key instead of `browserslist` in "+e)}var r=s.browserslist;if(Array.isArray(r)||typeof r==="string"){r={defaults:r}}for(var n in r){check(r[n])}return r}function latestReleaseTime(e){var s=0;for(var r in e){var n=e[r].releaseDate||{};for(var t in n){if(s<n[t]){s=n[t]}}}return s*1e3}function normalizeStats(e,s){if(!e){e={}}if(s&&"dataByBrowser"in s){s=s.dataByBrowser}if(typeof s!=="object")return undefined;var r={};for(var n in s){var t=Object.keys(s[n]);if(t.length===1&&e[n]&&e[n].versions.length===1){var a=e[n].versions[0];r[n]={};r[n][a]=s[n][t[0]]}else{r[n]=s[n]}}return r}function normalizeUsageData(e,s){for(var r in e){var n=e[r];if("0"in n){var t=s[r].versions;n[t[t.length-1]]=n[0];delete n[0]}}}module.exports={loadQueries:function loadQueries(ctx,name){if(!ctx.dangerousExtend&&!process.env.BROWSERSLIST_DANGEROUS_EXTEND){checkExtend(name)}var queries=eval("require")(eval("require").resolve(name,{paths:[".",ctx.path]}));if(queries){if(Array.isArray(queries)){return queries}else if(typeof queries==="object"){if(!queries.defaults)queries.defaults=[];return pickEnv(queries,ctx,name)}}throw new BrowserslistError("`"+name+"` config exports not an array of queries"+" or an object of envs")},loadStat:function loadStat(ctx,name,data){if(!ctx.dangerousExtend&&!process.env.BROWSERSLIST_DANGEROUS_EXTEND){checkExtend(name)}var stats=eval("require")(eval("require").resolve(path.join(name,"browserslist-stats.json"),{paths:["."]}));return normalizeStats(data,stats)},getStat:function getStat(e,s){var r;if(e.stats){r=e.stats}else if(process.env.BROWSERSLIST_STATS){r=process.env.BROWSERSLIST_STATS}else if(e.path&&path.resolve&&fs.existsSync){r=eachParent(e.path,(function(e){var s=path.join(e,"browserslist-stats.json");return isFile(s)?s:undefined}))}if(typeof r==="string"){try{r=JSON.parse(fs.readFileSync(r))}catch(e){throw new BrowserslistError("Can't read "+r)}}return normalizeStats(s,r)},loadConfig:function loadConfig(e){if(process.env.BROWSERSLIST){return process.env.BROWSERSLIST}else if(e.config||process.env.BROWSERSLIST_CONFIG){var s=e.config||process.env.BROWSERSLIST_CONFIG;if(path.basename(s)==="package.json"){return pickEnv(parsePackage(s),e)}else{return pickEnv(module.exports.readConfig(s),e)}}else if(e.path){return pickEnv(module.exports.findConfig(e.path),e)}else{return undefined}},loadCountry:function loadCountry(e,s,r){var n=s.replace(/[^\w-]/g,"");if(!e[n]){var t=require("caniuse-lite/data/regions/"+n+".js");var a=region(t);normalizeUsageData(a,r);e[s]={};for(var i in a){for(var o in a[i]){e[s][i+" "+o]=a[i][o]}}}},loadFeature:function loadFeature(e,s){s=s.replace(/[^\w-]/g,"");if(e[s])return;var r=require("caniuse-lite/data/features/"+s+".js");var n=feature(r).stats;e[s]={};for(var t in n){for(var a in n[t]){e[s][t+" "+a]=n[t][a]}}},parseConfig:function parseConfig(e){var s={defaults:[]};var r=["defaults"];e.toString().replace(/#[^\n]*/g,"").split(/\n|,/).map((function(e){return e.trim()})).filter((function(e){return e!==""})).forEach((function(e){if(IS_SECTION.test(e)){r=e.match(IS_SECTION)[1].trim().split(" ");r.forEach((function(e){if(s[e]){throw new BrowserslistError("Duplicate section "+e+" in Browserslist config")}s[e]=[]}))}else{r.forEach((function(r){s[r].push(e)}))}}));return s},readConfig:function readConfig(e){if(!isFile(e)){throw new BrowserslistError("Can't read "+e+" config")}return module.exports.parseConfig(fs.readFileSync(e))},findConfig:function findConfig(e){e=path.resolve(e);var s=[];var r=eachParent(e,(function(e){if(e in configCache){return configCache[e]}s.push(e);var r=path.join(e,"browserslist");var n=path.join(e,"package.json");var t=path.join(e,".browserslistrc");var a;if(isFile(n)){try{a=parsePackage(n)}catch(e){if(e.name==="BrowserslistError")throw e;console.warn("[Browserslist] Could not parse "+n+". Ignoring it.")}}if(isFile(r)&&a){throw new BrowserslistError(e+" contains both browserslist and package.json with browsers")}else if(isFile(t)&&a){throw new BrowserslistError(e+" contains both .browserslistrc and package.json with browsers")}else if(isFile(r)&&isFile(t)){throw new BrowserslistError(e+" contains both .browserslistrc and browserslist")}else if(isFile(r)){return module.exports.readConfig(r)}else if(isFile(t)){return module.exports.readConfig(t)}else{return a}}));if(!process.env.BROWSERSLIST_DISABLE_CACHE){s.forEach((function(e){configCache[e]=r}))}return r},clearCaches:function clearCaches(){dataTimeChecked=false;filenessCache={};configCache={};this.cache={}},oldDataWarning:function oldDataWarning(e){if(dataTimeChecked)return;dataTimeChecked=true;if(process.env.BROWSERSLIST_IGNORE_OLD_DATA)return;var s=latestReleaseTime(e);var r=Date.now()-TIME_TO_UPDATE_CANIUSE;if(s!==0&&s<r){console.warn("Browserslist: caniuse-lite is outdated. Please run:\n"+" npx browserslist@latest --update-db\n"+" Why you should do it regularly: "+"https://github.com/browserslist/browserslist#browsers-data-updating")}},currentNode:function currentNode(){return"node "+process.versions.node}}},477:e=>{e.exports={"0.20":"39",.21:"41",.22:"41",.23:"41",.24:"41",.25:"42",.26:"42",.27:"43",.28:"43",.29:"43","0.30":"44",.31:"45",.32:"45",.33:"45",.34:"45",.35:"45",.36:"47",.37:"49","1.0":"49",1.1:"50",1.2:"51",1.3:"52",1.4:"53",1.5:"54",1.6:"56",1.7:"58",1.8:"59","2.0":"61",2.1:"61","3.0":"66",3.1:"66","4.0":"69",4.1:"69",4.2:"69","5.0":"73","6.0":"76",6.1:"76","7.0":"78",7.1:"78",7.2:"78",7.3:"78","8.0":"80",8.1:"80",8.2:"80",8.3:"80",8.4:"80",8.5:"80","9.0":"83",9.1:"83",9.2:"83",9.3:"83",9.4:"83","10.0":"85",10.1:"85",10.2:"85",10.3:"85",10.4:"85","11.0":"87",11.1:"87",11.2:"87",11.3:"87",11.4:"87",11.5:"87","12.0":"89",12.1:"89",12.2:"89","13.0":"91",13.1:"91",13.2:"91",13.3:"91",13.4:"91",13.5:"91",13.6:"91","14.0":"93",14.1:"93",14.2:"93","15.0":"94",15.1:"94",15.2:"94",15.3:"94",15.4:"94",15.5:"94","16.0":"96",16.1:"96",16.2:"96","17.0":"98",17.1:"98",17.2:"98",17.3:"98",17.4:"98","18.0":"100",18.1:"100","19.0":"102"}},768:e=>{"use strict";e.exports=require("caniuse-lite/dist/unpacker/agents")},379:e=>{"use strict";e.exports=require("caniuse-lite/dist/unpacker/feature")},225:e=>{"use strict";e.exports=require("caniuse-lite/dist/unpacker/region")},147:e=>{"use strict";e.exports=require("fs")},17:e=>{"use strict";e.exports=require("path")},945:e=>{"use strict";e.exports=JSON.parse('[{"name":"nodejs","version":"0.2.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.3.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.4.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.5.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.6.0","date":"2011-11-04","lts":false,"security":false},{"name":"nodejs","version":"0.7.0","date":"2012-01-17","lts":false,"security":false},{"name":"nodejs","version":"0.8.0","date":"2012-06-22","lts":false,"security":false},{"name":"nodejs","version":"0.9.0","date":"2012-07-20","lts":false,"security":false},{"name":"nodejs","version":"0.10.0","date":"2013-03-11","lts":false,"security":false},{"name":"nodejs","version":"0.11.0","date":"2013-03-28","lts":false,"security":false},{"name":"nodejs","version":"0.12.0","date":"2015-02-06","lts":false,"security":false},{"name":"nodejs","version":"4.0.0","date":"2015-09-08","lts":false,"security":false},{"name":"nodejs","version":"4.1.0","date":"2015-09-17","lts":false,"security":false},{"name":"nodejs","version":"4.2.0","date":"2015-10-12","lts":"Argon","security":false},{"name":"nodejs","version":"4.3.0","date":"2016-02-09","lts":"Argon","security":false},{"name":"nodejs","version":"4.4.0","date":"2016-03-08","lts":"Argon","security":false},{"name":"nodejs","version":"4.5.0","date":"2016-08-16","lts":"Argon","security":false},{"name":"nodejs","version":"4.6.0","date":"2016-09-27","lts":"Argon","security":true},{"name":"nodejs","version":"4.7.0","date":"2016-12-06","lts":"Argon","security":false},{"name":"nodejs","version":"4.8.0","date":"2017-02-21","lts":"Argon","security":false},{"name":"nodejs","version":"4.9.0","date":"2018-03-28","lts":"Argon","security":true},{"name":"nodejs","version":"5.0.0","date":"2015-10-29","lts":false,"security":false},{"name":"nodejs","version":"5.1.0","date":"2015-11-17","lts":false,"security":false},{"name":"nodejs","version":"5.2.0","date":"2015-12-09","lts":false,"security":false},{"name":"nodejs","version":"5.3.0","date":"2015-12-15","lts":false,"security":false},{"name":"nodejs","version":"5.4.0","date":"2016-01-06","lts":false,"security":false},{"name":"nodejs","version":"5.5.0","date":"2016-01-21","lts":false,"security":false},{"name":"nodejs","version":"5.6.0","date":"2016-02-09","lts":false,"security":false},{"name":"nodejs","version":"5.7.0","date":"2016-02-23","lts":false,"security":false},{"name":"nodejs","version":"5.8.0","date":"2016-03-09","lts":false,"security":false},{"name":"nodejs","version":"5.9.0","date":"2016-03-16","lts":false,"security":false},{"name":"nodejs","version":"5.10.0","date":"2016-04-01","lts":false,"security":false},{"name":"nodejs","version":"5.11.0","date":"2016-04-21","lts":false,"security":false},{"name":"nodejs","version":"5.12.0","date":"2016-06-23","lts":false,"security":false},{"name":"nodejs","version":"6.0.0","date":"2016-04-26","lts":false,"security":false},{"name":"nodejs","version":"6.1.0","date":"2016-05-05","lts":false,"security":false},{"name":"nodejs","version":"6.2.0","date":"2016-05-17","lts":false,"security":false},{"name":"nodejs","version":"6.3.0","date":"2016-07-06","lts":false,"security":false},{"name":"nodejs","version":"6.4.0","date":"2016-08-12","lts":false,"security":false},{"name":"nodejs","version":"6.5.0","date":"2016-08-26","lts":false,"security":false},{"name":"nodejs","version":"6.6.0","date":"2016-09-14","lts":false,"security":false},{"name":"nodejs","version":"6.7.0","date":"2016-09-27","lts":false,"security":true},{"name":"nodejs","version":"6.8.0","date":"2016-10-12","lts":false,"security":false},{"name":"nodejs","version":"6.9.0","date":"2016-10-18","lts":"Boron","security":false},{"name":"nodejs","version":"6.10.0","date":"2017-02-21","lts":"Boron","security":false},{"name":"nodejs","version":"6.11.0","date":"2017-06-06","lts":"Boron","security":false},{"name":"nodejs","version":"6.12.0","date":"2017-11-06","lts":"Boron","security":false},{"name":"nodejs","version":"6.13.0","date":"2018-02-10","lts":"Boron","security":false},{"name":"nodejs","version":"6.14.0","date":"2018-03-28","lts":"Boron","security":true},{"name":"nodejs","version":"6.15.0","date":"2018-11-27","lts":"Boron","security":true},{"name":"nodejs","version":"6.16.0","date":"2018-12-26","lts":"Boron","security":false},{"name":"nodejs","version":"6.17.0","date":"2019-02-28","lts":"Boron","security":true},{"name":"nodejs","version":"7.0.0","date":"2016-10-25","lts":false,"security":false},{"name":"nodejs","version":"7.1.0","date":"2016-11-08","lts":false,"security":false},{"name":"nodejs","version":"7.2.0","date":"2016-11-22","lts":false,"security":false},{"name":"nodejs","version":"7.3.0","date":"2016-12-20","lts":false,"security":false},{"name":"nodejs","version":"7.4.0","date":"2017-01-04","lts":false,"security":false},{"name":"nodejs","version":"7.5.0","date":"2017-01-31","lts":false,"security":false},{"name":"nodejs","version":"7.6.0","date":"2017-02-21","lts":false,"security":false},{"name":"nodejs","version":"7.7.0","date":"2017-02-28","lts":false,"security":false},{"name":"nodejs","version":"7.8.0","date":"2017-03-29","lts":false,"security":false},{"name":"nodejs","version":"7.9.0","date":"2017-04-11","lts":false,"security":false},{"name":"nodejs","version":"7.10.0","date":"2017-05-02","lts":false,"security":false},{"name":"nodejs","version":"8.0.0","date":"2017-05-30","lts":false,"security":false},{"name":"nodejs","version":"8.1.0","date":"2017-06-08","lts":false,"security":false},{"name":"nodejs","version":"8.2.0","date":"2017-07-19","lts":false,"security":false},{"name":"nodejs","version":"8.3.0","date":"2017-08-08","lts":false,"security":false},{"name":"nodejs","version":"8.4.0","date":"2017-08-15","lts":false,"security":false},{"name":"nodejs","version":"8.5.0","date":"2017-09-12","lts":false,"security":false},{"name":"nodejs","version":"8.6.0","date":"2017-09-26","lts":false,"security":false},{"name":"nodejs","version":"8.7.0","date":"2017-10-11","lts":false,"security":false},{"name":"nodejs","version":"8.8.0","date":"2017-10-24","lts":false,"security":false},{"name":"nodejs","version":"8.9.0","date":"2017-10-31","lts":"Carbon","security":false},{"name":"nodejs","version":"8.10.0","date":"2018-03-06","lts":"Carbon","security":false},{"name":"nodejs","version":"8.11.0","date":"2018-03-28","lts":"Carbon","security":true},{"name":"nodejs","version":"8.12.0","date":"2018-09-10","lts":"Carbon","security":false},{"name":"nodejs","version":"8.13.0","date":"2018-11-20","lts":"Carbon","security":false},{"name":"nodejs","version":"8.14.0","date":"2018-11-27","lts":"Carbon","security":true},{"name":"nodejs","version":"8.15.0","date":"2018-12-26","lts":"Carbon","security":false},{"name":"nodejs","version":"8.16.0","date":"2019-04-16","lts":"Carbon","security":false},{"name":"nodejs","version":"8.17.0","date":"2019-12-17","lts":"Carbon","security":true},{"name":"nodejs","version":"9.0.0","date":"2017-10-31","lts":false,"security":false},{"name":"nodejs","version":"9.1.0","date":"2017-11-07","lts":false,"security":false},{"name":"nodejs","version":"9.2.0","date":"2017-11-14","lts":false,"security":false},{"name":"nodejs","version":"9.3.0","date":"2017-12-12","lts":false,"security":false},{"name":"nodejs","version":"9.4.0","date":"2018-01-10","lts":false,"security":false},{"name":"nodejs","version":"9.5.0","date":"2018-01-31","lts":false,"security":false},{"name":"nodejs","version":"9.6.0","date":"2018-02-21","lts":false,"security":false},{"name":"nodejs","version":"9.7.0","date":"2018-03-01","lts":false,"security":false},{"name":"nodejs","version":"9.8.0","date":"2018-03-07","lts":false,"security":false},{"name":"nodejs","version":"9.9.0","date":"2018-03-21","lts":false,"security":false},{"name":"nodejs","version":"9.10.0","date":"2018-03-28","lts":false,"security":true},{"name":"nodejs","version":"9.11.0","date":"2018-04-04","lts":false,"security":false},{"name":"nodejs","version":"10.0.0","date":"2018-04-24","lts":false,"security":false},{"name":"nodejs","version":"10.1.0","date":"2018-05-08","lts":false,"security":false},{"name":"nodejs","version":"10.2.0","date":"2018-05-23","lts":false,"security":false},{"name":"nodejs","version":"10.3.0","date":"2018-05-29","lts":false,"security":false},{"name":"nodejs","version":"10.4.0","date":"2018-06-06","lts":false,"security":false},{"name":"nodejs","version":"10.5.0","date":"2018-06-20","lts":false,"security":false},{"name":"nodejs","version":"10.6.0","date":"2018-07-04","lts":false,"security":false},{"name":"nodejs","version":"10.7.0","date":"2018-07-18","lts":false,"security":false},{"name":"nodejs","version":"10.8.0","date":"2018-08-01","lts":false,"security":false},{"name":"nodejs","version":"10.9.0","date":"2018-08-15","lts":false,"security":false},{"name":"nodejs","version":"10.10.0","date":"2018-09-06","lts":false,"security":false},{"name":"nodejs","version":"10.11.0","date":"2018-09-19","lts":false,"security":false},{"name":"nodejs","version":"10.12.0","date":"2018-10-10","lts":false,"security":false},{"name":"nodejs","version":"10.13.0","date":"2018-10-30","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.14.0","date":"2018-11-27","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.15.0","date":"2018-12-26","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.16.0","date":"2019-05-28","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.17.0","date":"2019-10-22","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.18.0","date":"2019-12-17","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.19.0","date":"2020-02-05","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.20.0","date":"2020-03-26","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.21.0","date":"2020-06-02","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.22.0","date":"2020-07-21","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.23.0","date":"2020-10-27","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.24.0","date":"2021-02-23","lts":"Dubnium","security":true},{"name":"nodejs","version":"11.0.0","date":"2018-10-23","lts":false,"security":false},{"name":"nodejs","version":"11.1.0","date":"2018-10-30","lts":false,"security":false},{"name":"nodejs","version":"11.2.0","date":"2018-11-15","lts":false,"security":false},{"name":"nodejs","version":"11.3.0","date":"2018-11-27","lts":false,"security":true},{"name":"nodejs","version":"11.4.0","date":"2018-12-07","lts":false,"security":false},{"name":"nodejs","version":"11.5.0","date":"2018-12-18","lts":false,"security":false},{"name":"nodejs","version":"11.6.0","date":"2018-12-26","lts":false,"security":false},{"name":"nodejs","version":"11.7.0","date":"2019-01-17","lts":false,"security":false},{"name":"nodejs","version":"11.8.0","date":"2019-01-24","lts":false,"security":false},{"name":"nodejs","version":"11.9.0","date":"2019-01-30","lts":false,"security":false},{"name":"nodejs","version":"11.10.0","date":"2019-02-14","lts":false,"security":false},{"name":"nodejs","version":"11.11.0","date":"2019-03-05","lts":false,"security":false},{"name":"nodejs","version":"11.12.0","date":"2019-03-14","lts":false,"security":false},{"name":"nodejs","version":"11.13.0","date":"2019-03-28","lts":false,"security":false},{"name":"nodejs","version":"11.14.0","date":"2019-04-10","lts":false,"security":false},{"name":"nodejs","version":"11.15.0","date":"2019-04-30","lts":false,"security":false},{"name":"nodejs","version":"12.0.0","date":"2019-04-23","lts":false,"security":false},{"name":"nodejs","version":"12.1.0","date":"2019-04-29","lts":false,"security":false},{"name":"nodejs","version":"12.2.0","date":"2019-05-07","lts":false,"security":false},{"name":"nodejs","version":"12.3.0","date":"2019-05-21","lts":false,"security":false},{"name":"nodejs","version":"12.4.0","date":"2019-06-04","lts":false,"security":false},{"name":"nodejs","version":"12.5.0","date":"2019-06-26","lts":false,"security":false},{"name":"nodejs","version":"12.6.0","date":"2019-07-03","lts":false,"security":false},{"name":"nodejs","version":"12.7.0","date":"2019-07-23","lts":false,"security":false},{"name":"nodejs","version":"12.8.0","date":"2019-08-06","lts":false,"security":false},{"name":"nodejs","version":"12.9.0","date":"2019-08-20","lts":false,"security":false},{"name":"nodejs","version":"12.10.0","date":"2019-09-04","lts":false,"security":false},{"name":"nodejs","version":"12.11.0","date":"2019-09-25","lts":false,"security":false},{"name":"nodejs","version":"12.12.0","date":"2019-10-11","lts":false,"security":false},{"name":"nodejs","version":"12.13.0","date":"2019-10-21","lts":"Erbium","security":false},{"name":"nodejs","version":"12.14.0","date":"2019-12-17","lts":"Erbium","security":true},{"name":"nodejs","version":"12.15.0","date":"2020-02-05","lts":"Erbium","security":true},{"name":"nodejs","version":"12.16.0","date":"2020-02-11","lts":"Erbium","security":false},{"name":"nodejs","version":"12.17.0","date":"2020-05-26","lts":"Erbium","security":false},{"name":"nodejs","version":"12.18.0","date":"2020-06-02","lts":"Erbium","security":true},{"name":"nodejs","version":"12.19.0","date":"2020-10-06","lts":"Erbium","security":false},{"name":"nodejs","version":"12.20.0","date":"2020-11-24","lts":"Erbium","security":false},{"name":"nodejs","version":"12.21.0","date":"2021-02-23","lts":"Erbium","security":true},{"name":"nodejs","version":"12.22.0","date":"2021-03-30","lts":"Erbium","security":false},{"name":"nodejs","version":"13.0.0","date":"2019-10-22","lts":false,"security":false},{"name":"nodejs","version":"13.1.0","date":"2019-11-05","lts":false,"security":false},{"name":"nodejs","version":"13.2.0","date":"2019-11-21","lts":false,"security":false},{"name":"nodejs","version":"13.3.0","date":"2019-12-03","lts":false,"security":false},{"name":"nodejs","version":"13.4.0","date":"2019-12-17","lts":false,"security":true},{"name":"nodejs","version":"13.5.0","date":"2019-12-18","lts":false,"security":false},{"name":"nodejs","version":"13.6.0","date":"2020-01-07","lts":false,"security":false},{"name":"nodejs","version":"13.7.0","date":"2020-01-21","lts":false,"security":false},{"name":"nodejs","version":"13.8.0","date":"2020-02-05","lts":false,"security":true},{"name":"nodejs","version":"13.9.0","date":"2020-02-18","lts":false,"security":false},{"name":"nodejs","version":"13.10.0","date":"2020-03-04","lts":false,"security":false},{"name":"nodejs","version":"13.11.0","date":"2020-03-12","lts":false,"security":false},{"name":"nodejs","version":"13.12.0","date":"2020-03-26","lts":false,"security":false},{"name":"nodejs","version":"13.13.0","date":"2020-04-14","lts":false,"security":false},{"name":"nodejs","version":"13.14.0","date":"2020-04-29","lts":false,"security":false},{"name":"nodejs","version":"14.0.0","date":"2020-04-21","lts":false,"security":false},{"name":"nodejs","version":"14.1.0","date":"2020-04-29","lts":false,"security":false},{"name":"nodejs","version":"14.2.0","date":"2020-05-05","lts":false,"security":false},{"name":"nodejs","version":"14.3.0","date":"2020-05-19","lts":false,"security":false},{"name":"nodejs","version":"14.4.0","date":"2020-06-02","lts":false,"security":true},{"name":"nodejs","version":"14.5.0","date":"2020-06-30","lts":false,"security":false},{"name":"nodejs","version":"14.6.0","date":"2020-07-20","lts":false,"security":false},{"name":"nodejs","version":"14.7.0","date":"2020-07-29","lts":false,"security":false},{"name":"nodejs","version":"14.8.0","date":"2020-08-11","lts":false,"security":false},{"name":"nodejs","version":"14.9.0","date":"2020-08-27","lts":false,"security":false},{"name":"nodejs","version":"14.10.0","date":"2020-09-08","lts":false,"security":false},{"name":"nodejs","version":"14.11.0","date":"2020-09-15","lts":false,"security":true},{"name":"nodejs","version":"14.12.0","date":"2020-09-22","lts":false,"security":false},{"name":"nodejs","version":"14.13.0","date":"2020-09-29","lts":false,"security":false},{"name":"nodejs","version":"14.14.0","date":"2020-10-15","lts":false,"security":false},{"name":"nodejs","version":"14.15.0","date":"2020-10-27","lts":"Fermium","security":false},{"name":"nodejs","version":"14.16.0","date":"2021-02-23","lts":"Fermium","security":true},{"name":"nodejs","version":"14.17.0","date":"2021-05-11","lts":"Fermium","security":false},{"name":"nodejs","version":"14.18.0","date":"2021-09-28","lts":"Fermium","security":false},{"name":"nodejs","version":"14.19.0","date":"2022-02-01","lts":"Fermium","security":false},{"name":"nodejs","version":"15.0.0","date":"2020-10-20","lts":false,"security":false},{"name":"nodejs","version":"15.1.0","date":"2020-11-04","lts":false,"security":false},{"name":"nodejs","version":"15.2.0","date":"2020-11-10","lts":false,"security":false},{"name":"nodejs","version":"15.3.0","date":"2020-11-24","lts":false,"security":false},{"name":"nodejs","version":"15.4.0","date":"2020-12-09","lts":false,"security":false},{"name":"nodejs","version":"15.5.0","date":"2020-12-22","lts":false,"security":false},{"name":"nodejs","version":"15.6.0","date":"2021-01-14","lts":false,"security":false},{"name":"nodejs","version":"15.7.0","date":"2021-01-25","lts":false,"security":false},{"name":"nodejs","version":"15.8.0","date":"2021-02-02","lts":false,"security":false},{"name":"nodejs","version":"15.9.0","date":"2021-02-18","lts":false,"security":false},{"name":"nodejs","version":"15.10.0","date":"2021-02-23","lts":false,"security":true},{"name":"nodejs","version":"15.11.0","date":"2021-03-03","lts":false,"security":false},{"name":"nodejs","version":"15.12.0","date":"2021-03-17","lts":false,"security":false},{"name":"nodejs","version":"15.13.0","date":"2021-03-31","lts":false,"security":false},{"name":"nodejs","version":"15.14.0","date":"2021-04-06","lts":false,"security":false},{"name":"nodejs","version":"16.0.0","date":"2021-04-20","lts":false,"security":false},{"name":"nodejs","version":"16.1.0","date":"2021-05-04","lts":false,"security":false},{"name":"nodejs","version":"16.2.0","date":"2021-05-19","lts":false,"security":false},{"name":"nodejs","version":"16.3.0","date":"2021-06-03","lts":false,"security":false},{"name":"nodejs","version":"16.4.0","date":"2021-06-23","lts":false,"security":false},{"name":"nodejs","version":"16.5.0","date":"2021-07-14","lts":false,"security":false},{"name":"nodejs","version":"16.6.0","date":"2021-07-29","lts":false,"security":true},{"name":"nodejs","version":"16.7.0","date":"2021-08-18","lts":false,"security":false},{"name":"nodejs","version":"16.8.0","date":"2021-08-25","lts":false,"security":false},{"name":"nodejs","version":"16.9.0","date":"2021-09-07","lts":false,"security":false},{"name":"nodejs","version":"16.10.0","date":"2021-09-22","lts":false,"security":false},{"name":"nodejs","version":"16.11.0","date":"2021-10-08","lts":false,"security":false},{"name":"nodejs","version":"16.12.0","date":"2021-10-20","lts":false,"security":false},{"name":"nodejs","version":"16.13.0","date":"2021-10-26","lts":"Gallium","security":false},{"name":"nodejs","version":"16.14.0","date":"2022-02-08","lts":"Gallium","security":false},{"name":"nodejs","version":"17.0.0","date":"2021-10-19","lts":false,"security":false},{"name":"nodejs","version":"17.1.0","date":"2021-11-09","lts":false,"security":false},{"name":"nodejs","version":"17.2.0","date":"2021-11-30","lts":false,"security":false},{"name":"nodejs","version":"17.3.0","date":"2021-12-17","lts":false,"security":false},{"name":"nodejs","version":"17.4.0","date":"2022-01-18","lts":false,"security":false},{"name":"nodejs","version":"17.5.0","date":"2022-02-10","lts":false,"security":false},{"name":"nodejs","version":"17.6.0","date":"2022-02-22","lts":false,"security":false},{"name":"nodejs","version":"17.7.0","date":"2022-03-09","lts":false,"security":false},{"name":"nodejs","version":"17.8.0","date":"2022-03-22","lts":false,"security":false},{"name":"nodejs","version":"17.9.0","date":"2022-04-07","lts":false,"security":false}]')},742:e=>{"use strict";e.exports=JSON.parse('{"v0.8":{"start":"2012-06-25","end":"2014-07-31"},"v0.10":{"start":"2013-03-11","end":"2016-10-31"},"v0.12":{"start":"2015-02-06","end":"2016-12-31"},"v4":{"start":"2015-09-08","lts":"2015-10-12","maintenance":"2017-04-01","end":"2018-04-30","codename":"Argon"},"v5":{"start":"2015-10-29","maintenance":"2016-04-30","end":"2016-06-30"},"v6":{"start":"2016-04-26","lts":"2016-10-18","maintenance":"2018-04-30","end":"2019-04-30","codename":"Boron"},"v7":{"start":"2016-10-25","maintenance":"2017-04-30","end":"2017-06-30"},"v8":{"start":"2017-05-30","lts":"2017-10-31","maintenance":"2019-01-01","end":"2019-12-31","codename":"Carbon"},"v9":{"start":"2017-10-01","maintenance":"2018-04-01","end":"2018-06-30"},"v10":{"start":"2018-04-24","lts":"2018-10-30","maintenance":"2020-05-19","end":"2021-04-30","codename":"Dubnium"},"v11":{"start":"2018-10-23","maintenance":"2019-04-22","end":"2019-06-01"},"v12":{"start":"2019-04-23","lts":"2019-10-21","maintenance":"2020-11-30","end":"2022-04-30","codename":"Erbium"},"v13":{"start":"2019-10-22","maintenance":"2020-04-01","end":"2020-06-01"},"v14":{"start":"2020-04-21","lts":"2020-10-27","maintenance":"2021-10-19","end":"2023-04-30","codename":"Fermium"},"v15":{"start":"2020-10-20","maintenance":"2021-04-01","end":"2021-06-01"},"v16":{"start":"2021-04-20","lts":"2021-10-26","maintenance":"2022-10-18","end":"2024-04-30","codename":"Gallium"},"v17":{"start":"2021-10-19","maintenance":"2022-04-01","end":"2022-06-01"},"v18":{"start":"2022-04-19","lts":"2022-10-25","maintenance":"2023-10-18","end":"2025-04-30","codename":""},"v19":{"start":"2022-10-18","maintenance":"2023-04-01","end":"2023-06-01"},"v20":{"start":"2023-04-18","lts":"2023-10-24","maintenance":"2024-10-22","end":"2026-04-30","codename":""}}')}};var __webpack_module_cache__={};function __nccwpck_require__(e){var s=__webpack_module_cache__[e];if(s!==undefined){return s.exports}var r=__webpack_module_cache__[e]={exports:{}};var n=true;try{__webpack_modules__[e](r,r.exports,__nccwpck_require__);n=false}finally{if(n)delete __webpack_module_cache__[e]}return r.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var __webpack_exports__=__nccwpck_require__(567);module.exports=__webpack_exports__})(); |
@@ -1,1 +0,1 @@ | ||
(()=>{var e={669:e=>{const createImports=(e,r,t="rule")=>Object.keys(e).map((s=>{const o=e[s];const a=Object.keys(o).map((e=>r.decl({prop:e,value:o[e],raws:{before:"\n "}})));const n=a.length>0;const c=t==="rule"?r.rule({selector:`:import('${s}')`,raws:{after:n?"\n":""}}):r.atRule({name:"icss-import",params:`'${s}'`,raws:{after:n?"\n":""}});if(n){c.append(a)}return c}));const createExports=(e,r,t="rule")=>{const s=Object.keys(e).map((t=>r.decl({prop:t,value:e[t],raws:{before:"\n "}})));if(s.length===0){return[]}const o=t==="rule"?r.rule({selector:`:export`,raws:{after:"\n"}}):r.atRule({name:"icss-export",raws:{after:"\n"}});o.append(s);return[o]};const createICSSRules=(e,r,t,s)=>[...createImports(e,t,s),...createExports(r,t,s)];e.exports=createICSSRules},102:e=>{const r=/^:import\(("[^"]*"|'[^']*'|[^"']+)\)$/;const t=/^("[^"]*"|'[^']*'|[^"']+)$/;const getDeclsObject=e=>{const r={};e.walkDecls((e=>{const t=e.raws.before?e.raws.before.trim():"";r[t+e.prop]=e.value}));return r};const extractICSS=(e,s=true,o="auto")=>{const a={};const n={};function addImports(e,r){const t=r.replace(/'|"/g,"");a[t]=Object.assign(a[t]||{},getDeclsObject(e));if(s){e.remove()}}function addExports(e){Object.assign(n,getDeclsObject(e));if(s){e.remove()}}e.each((e=>{if(e.type==="rule"&&o!=="at-rule"){if(e.selector.slice(0,7)===":import"){const t=r.exec(e.selector);if(t){addImports(e,t[1])}}if(e.selector===":export"){addExports(e)}}if(e.type==="atrule"&&o!=="rule"){if(e.name==="icss-import"){const r=t.exec(e.params);if(r){addImports(e,r[1])}}if(e.name==="icss-export"){addExports(e)}}}));return{icssImports:a,icssExports:n}};e.exports=extractICSS},627:(e,r,t)=>{const s=t(963);const o=t(687);const a=t(102);const n=t(669);e.exports={replaceValueSymbols:s,replaceSymbols:o,extractICSS:a,createICSSRules:n}},687:(e,r,t)=>{const s=t(963);const replaceSymbols=(e,r)=>{e.walk((e=>{if(e.type==="decl"&&e.value){e.value=s(e.value.toString(),r)}else if(e.type==="rule"&&e.selector){e.selector=s(e.selector.toString(),r)}else if(e.type==="atrule"&&e.params){e.params=s(e.params.toString(),r)}}))};e.exports=replaceSymbols},963:e=>{const r=/[$]?[\w-]+/g;const replaceValueSymbols=(e,t)=>{let s;while(s=r.exec(e)){const o=t[s[0]];if(o){e=e.slice(0,s.index)+o+e.slice(r.lastIndex);r.lastIndex-=s[0].length-o.length}}return e};e.exports=replaceValueSymbols}};var r={};function __nccwpck_require__(t){var s=r[t];if(s!==undefined){return s.exports}var o=r[t]={exports:{}};var a=true;try{e[t](o,o.exports,__nccwpck_require__);a=false}finally{if(a)delete r[t]}return o.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t=__nccwpck_require__(627);module.exports=t})(); | ||
(()=>{var e={102:e=>{const createImports=(e,r,t="rule")=>Object.keys(e).map((s=>{const o=e[s];const a=Object.keys(o).map((e=>r.decl({prop:e,value:o[e],raws:{before:"\n "}})));const n=a.length>0;const c=t==="rule"?r.rule({selector:`:import('${s}')`,raws:{after:n?"\n":""}}):r.atRule({name:"icss-import",params:`'${s}'`,raws:{after:n?"\n":""}});if(n){c.append(a)}return c}));const createExports=(e,r,t="rule")=>{const s=Object.keys(e).map((t=>r.decl({prop:t,value:e[t],raws:{before:"\n "}})));if(s.length===0){return[]}const o=t==="rule"?r.rule({selector:`:export`,raws:{after:"\n"}}):r.atRule({name:"icss-export",raws:{after:"\n"}});o.append(s);return[o]};const createICSSRules=(e,r,t,s)=>[...createImports(e,t,s),...createExports(r,t,s)];e.exports=createICSSRules},558:e=>{const r=/^:import\(("[^"]*"|'[^']*'|[^"']+)\)$/;const t=/^("[^"]*"|'[^']*'|[^"']+)$/;const getDeclsObject=e=>{const r={};e.walkDecls((e=>{const t=e.raws.before?e.raws.before.trim():"";r[t+e.prop]=e.value}));return r};const extractICSS=(e,s=true,o="auto")=>{const a={};const n={};function addImports(e,r){const t=r.replace(/'|"/g,"");a[t]=Object.assign(a[t]||{},getDeclsObject(e));if(s){e.remove()}}function addExports(e){Object.assign(n,getDeclsObject(e));if(s){e.remove()}}e.each((e=>{if(e.type==="rule"&&o!=="at-rule"){if(e.selector.slice(0,7)===":import"){const t=r.exec(e.selector);if(t){addImports(e,t[1])}}if(e.selector===":export"){addExports(e)}}if(e.type==="atrule"&&o!=="rule"){if(e.name==="icss-import"){const r=t.exec(e.params);if(r){addImports(e,r[1])}}if(e.name==="icss-export"){addExports(e)}}}));return{icssImports:a,icssExports:n}};e.exports=extractICSS},421:(e,r,t)=>{const s=t(894);const o=t(47);const a=t(558);const n=t(102);e.exports={replaceValueSymbols:s,replaceSymbols:o,extractICSS:a,createICSSRules:n}},47:(e,r,t)=>{const s=t(894);const replaceSymbols=(e,r)=>{e.walk((e=>{if(e.type==="decl"&&e.value){e.value=s(e.value.toString(),r)}else if(e.type==="rule"&&e.selector){e.selector=s(e.selector.toString(),r)}else if(e.type==="atrule"&&e.params){e.params=s(e.params.toString(),r)}}))};e.exports=replaceSymbols},894:e=>{const r=/[$]?[\w-]+/g;const replaceValueSymbols=(e,t)=>{let s;while(s=r.exec(e)){const o=t[s[0]];if(o){e=e.slice(0,s.index)+o+e.slice(r.lastIndex);r.lastIndex-=s[0].length-o.length}}return e};e.exports=replaceValueSymbols}};var r={};function __nccwpck_require__(t){var s=r[t];if(s!==undefined){return s.exports}var o=r[t]={exports:{}};var a=true;try{e[t](o,o.exports,__nccwpck_require__);a=false}finally{if(a)delete r[t]}return o.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t=__nccwpck_require__(421);module.exports=t})(); |
@@ -1,1 +0,1 @@ | ||
(()=>{var e={255:(e,r,a)=>{var u=a(977);function shouldSetZeroBasis(e){if(!e){return false}return e==="0"||e.replace(/\s/g,"")==="0px"}function properBasis(e){if(shouldSetZeroBasis(e)){return"0%"}return e}e.exports=function(e){if(e.prop==="flex"){var r=u.list.space(e.value);var a="0";var s="1";var t="0%";if(r[0]){a=r[0]}if(r[1]){if(!isNaN(r[1])){s=r[1]}else{t=r[1]}}if(r[2]){t=r[2]}e.value=a+" "+s+" "+properBasis(t)}}},740:(e,r,a)=>{var u=a(977);e.exports=function(e){if(e.prop==="flex"){var r=u.list.space(e.value);var a=r[0];var s=r[1]||"1";var t=r[2]||"0%";if(t==="0%")t=null;e.value=a+" "+s+(t?" "+t:"")}}},493:(e,r,a)=>{var u=a(977);e.exports=function(e){var r=/(\d{1,}) (\d{1,}) (calc\(.*\))/g;var a=r.exec(e.value);if(e.prop==="flex"&&a){var s=u.decl({prop:"flex-grow",value:a[1],source:e.source});var t=u.decl({prop:"flex-shrink",value:a[2],source:e.source});var i=u.decl({prop:"flex-basis",value:a[3],source:e.source});e.parent.insertBefore(e,s);e.parent.insertBefore(e,t);e.parent.insertBefore(e,i);e.remove()}}},176:(e,r,a)=>{var u=a(255);var s=a(740);var t=a(493);var i=["none","auto","content","inherit","initial","unset"];e.exports=function(e){var r=Object.assign({bug4:true,bug6:true,bug81a:true},e);return{postcssPlugin:"postcss-flexbugs-fixes",Once:function(e,a){e.walkDecls((function(e){if(e.value.indexOf("var(")>-1){return}if(e.value==="none"){return}var n=a.list.space(e.value);if(i.indexOf(e.value)>0&&n.length===1){return}if(r.bug4){u(e)}if(r.bug6){s(e)}if(r.bug81a){t(e)}}))}}};e.exports.postcss=true},977:e=>{"use strict";e.exports=require("postcss")}};var r={};function __nccwpck_require__(a){var u=r[a];if(u!==undefined){return u.exports}var s=r[a]={exports:{}};var t=true;try{e[a](s,s.exports,__nccwpck_require__);t=false}finally{if(t)delete r[a]}return s.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var a=__nccwpck_require__(176);module.exports=a})(); | ||
(()=>{var e={125:(e,r,a)=>{var u=a(977);function shouldSetZeroBasis(e){if(!e){return false}return e==="0"||e.replace(/\s/g,"")==="0px"}function properBasis(e){if(shouldSetZeroBasis(e)){return"0%"}return e}e.exports=function(e){if(e.prop==="flex"){var r=u.list.space(e.value);var a="0";var s="1";var t="0%";if(r[0]){a=r[0]}if(r[1]){if(!isNaN(r[1])){s=r[1]}else{t=r[1]}}if(r[2]){t=r[2]}e.value=a+" "+s+" "+properBasis(t)}}},94:(e,r,a)=>{var u=a(977);e.exports=function(e){if(e.prop==="flex"){var r=u.list.space(e.value);var a=r[0];var s=r[1]||"1";var t=r[2]||"0%";if(t==="0%")t=null;e.value=a+" "+s+(t?" "+t:"")}}},495:(e,r,a)=>{var u=a(977);e.exports=function(e){var r=/(\d{1,}) (\d{1,}) (calc\(.*\))/g;var a=r.exec(e.value);if(e.prop==="flex"&&a){var s=u.decl({prop:"flex-grow",value:a[1],source:e.source});var t=u.decl({prop:"flex-shrink",value:a[2],source:e.source});var i=u.decl({prop:"flex-basis",value:a[3],source:e.source});e.parent.insertBefore(e,s);e.parent.insertBefore(e,t);e.parent.insertBefore(e,i);e.remove()}}},937:(e,r,a)=>{var u=a(125);var s=a(94);var t=a(495);var i=["none","auto","content","inherit","initial","unset"];e.exports=function(e){var r=Object.assign({bug4:true,bug6:true,bug81a:true},e);return{postcssPlugin:"postcss-flexbugs-fixes",Once:function(e,a){e.walkDecls((function(e){if(e.value.indexOf("var(")>-1){return}if(e.value==="none"){return}var n=a.list.space(e.value);if(i.indexOf(e.value)>0&&n.length===1){return}if(r.bug4){u(e)}if(r.bug6){s(e)}if(r.bug81a){t(e)}}))}}};e.exports.postcss=true},977:e=>{"use strict";e.exports=require("postcss")}};var r={};function __nccwpck_require__(a){var u=r[a];if(u!==undefined){return u.exports}var s=r[a]={exports:{}};var t=true;try{e[a](s,s.exports,__nccwpck_require__);t=false}finally{if(t)delete r[a]}return s.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var a=__nccwpck_require__(937);module.exports=a})(); |
@@ -1,1 +0,1 @@ | ||
(()=>{var r={977:(r,e,t)=>{const o=t(735);const n=/^(.+?)\s+from\s+(?:"([^"]+)"|'([^']+)'|(global))$/;const s=/^:import\((?:"([^"]+)"|'([^']+)')\)/;const c=1;function addImportToGraph(r,e,t,o){const n=e+"_"+"siblings";const s=e+"_"+r;if(o[s]!==c){if(!Array.isArray(o[n])){o[n]=[]}const e=o[n];if(Array.isArray(t[r])){t[r]=t[r].concat(e)}else{t[r]=e.slice()}o[s]=c;e.push(r)}}r.exports=(r={})=>{let e=0;const t=typeof r.createImportedName!=="function"?r=>`i__imported_${r.replace(/\W/g,"_")}_${e++}`:r.createImportedName;const c=r.failOnWrongOrder;return{postcssPlugin:"postcss-modules-extract-imports",prepare(){const r={};const e={};const a={};const i={};const p={};return{Once(l,f){l.walkRules((t=>{const o=s.exec(t.selector);if(o){const[,n,s]=o;const c=n||s;addImportToGraph(c,"root",r,e);a[c]=t}}));l.walkDecls(/^composes$/,(o=>{const s=o.value.match(n);if(!s){return}let c;let[,a,l,f,u]=s;if(u){c=a.split(/\s+/).map((r=>`global(${r})`))}else{const n=l||f;let s=o.parent;let u="";while(s.type!=="root"){u=s.parent.index(s)+"_"+u;s=s.parent}const{selector:d}=o.parent;const _=`_${u}${d}`;addImportToGraph(n,_,r,e);i[n]=o;p[n]=p[n]||{};c=a.split(/\s+/).map((r=>{if(!p[n][r]){p[n][r]=t(r,n)}return p[n][r]}))}o.value=c.join(" ")}));const u=o(r,c);if(u instanceof Error){const r=u.nodes.find((r=>i.hasOwnProperty(r)));const e=i[r];throw e.error("Failed to resolve order of composed modules "+u.nodes.map((r=>"`"+r+"`")).join(", ")+".",{plugin:"postcss-modules-extract-imports",word:"composes"})}let d;u.forEach((r=>{const e=p[r];let t=a[r];if(!t&&e){t=f.rule({selector:`:import("${r}")`,raws:{after:"\n"}});if(d){l.insertAfter(d,t)}else{l.prepend(t)}}d=t;if(!e){return}Object.keys(e).forEach((r=>{t.append(f.decl({value:r,prop:e[r],raws:{before:"\n "}}))}))}))}}}}};r.exports.postcss=true},735:r=>{const e=2;const t=1;function createError(r,e){const t=new Error("Nondeterministic import's order");const o=e[r];const n=o.find((t=>e[t].indexOf(r)>-1));t.nodes=[r,n];return t}function walkGraph(r,o,n,s,c){if(n[r]===e){return}if(n[r]===t){if(c){return createError(r,o)}return}n[r]=t;const a=o[r];const i=a.length;for(let r=0;r<i;++r){const e=walkGraph(a[r],o,n,s,c);if(e instanceof Error){return e}}n[r]=e;s.push(r)}function topologicalSort(r,e){const t=[];const o={};const n=Object.keys(r);const s=n.length;for(let c=0;c<s;++c){const s=walkGraph(n[c],r,o,t,e);if(s instanceof Error){return s}}return t}r.exports=topologicalSort}};var e={};function __nccwpck_require__(t){var o=e[t];if(o!==undefined){return o.exports}var n=e[t]={exports:{}};var s=true;try{r[t](n,n.exports,__nccwpck_require__);s=false}finally{if(s)delete e[t]}return n.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t=__nccwpck_require__(977);module.exports=t})(); | ||
(()=>{var r={938:(r,e,t)=>{const o=t(369);const n=/^(.+?)\s+from\s+(?:"([^"]+)"|'([^']+)'|(global))$/;const s=/^:import\((?:"([^"]+)"|'([^']+)')\)/;const c=1;function addImportToGraph(r,e,t,o){const n=e+"_"+"siblings";const s=e+"_"+r;if(o[s]!==c){if(!Array.isArray(o[n])){o[n]=[]}const e=o[n];if(Array.isArray(t[r])){t[r]=t[r].concat(e)}else{t[r]=e.slice()}o[s]=c;e.push(r)}}r.exports=(r={})=>{let e=0;const t=typeof r.createImportedName!=="function"?r=>`i__imported_${r.replace(/\W/g,"_")}_${e++}`:r.createImportedName;const c=r.failOnWrongOrder;return{postcssPlugin:"postcss-modules-extract-imports",prepare(){const r={};const e={};const a={};const i={};const p={};return{Once(l,f){l.walkRules((t=>{const o=s.exec(t.selector);if(o){const[,n,s]=o;const c=n||s;addImportToGraph(c,"root",r,e);a[c]=t}}));l.walkDecls(/^composes$/,(o=>{const s=o.value.match(n);if(!s){return}let c;let[,a,l,f,u]=s;if(u){c=a.split(/\s+/).map((r=>`global(${r})`))}else{const n=l||f;let s=o.parent;let u="";while(s.type!=="root"){u=s.parent.index(s)+"_"+u;s=s.parent}const{selector:d}=o.parent;const _=`_${u}${d}`;addImportToGraph(n,_,r,e);i[n]=o;p[n]=p[n]||{};c=a.split(/\s+/).map((r=>{if(!p[n][r]){p[n][r]=t(r,n)}return p[n][r]}))}o.value=c.join(" ")}));const u=o(r,c);if(u instanceof Error){const r=u.nodes.find((r=>i.hasOwnProperty(r)));const e=i[r];throw e.error("Failed to resolve order of composed modules "+u.nodes.map((r=>"`"+r+"`")).join(", ")+".",{plugin:"postcss-modules-extract-imports",word:"composes"})}let d;u.forEach((r=>{const e=p[r];let t=a[r];if(!t&&e){t=f.rule({selector:`:import("${r}")`,raws:{after:"\n"}});if(d){l.insertAfter(d,t)}else{l.prepend(t)}}d=t;if(!e){return}Object.keys(e).forEach((r=>{t.append(f.decl({value:r,prop:e[r],raws:{before:"\n "}}))}))}))}}}}};r.exports.postcss=true},369:r=>{const e=2;const t=1;function createError(r,e){const t=new Error("Nondeterministic import's order");const o=e[r];const n=o.find((t=>e[t].indexOf(r)>-1));t.nodes=[r,n];return t}function walkGraph(r,o,n,s,c){if(n[r]===e){return}if(n[r]===t){if(c){return createError(r,o)}return}n[r]=t;const a=o[r];const i=a.length;for(let r=0;r<i;++r){const e=walkGraph(a[r],o,n,s,c);if(e instanceof Error){return e}}n[r]=e;s.push(r)}function topologicalSort(r,e){const t=[];const o={};const n=Object.keys(r);const s=n.length;for(let c=0;c<s;++c){const s=walkGraph(n[c],r,o,t,e);if(s instanceof Error){return s}}return t}r.exports=topologicalSort}};var e={};function __nccwpck_require__(t){var o=e[t];if(o!==undefined){return o.exports}var n=e[t]={exports:{}};var s=true;try{r[t](n,n.exports,__nccwpck_require__);s=false}finally{if(s)delete e[t]}return n.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t=__nccwpck_require__(938);module.exports=t})(); |
@@ -1,2 +0,2 @@ | ||
(()=>{var e={417:e=>{e.exports=function(e,t){var r=-1,n=[];while((r=e.indexOf(t,r+1))!==-1)n.push(r);return n}},258:e=>{"use strict";function unique_pred(e,t){var r=1,n=e.length,s=e[0],i=e[0];for(var a=1;a<n;++a){i=s;s=e[a];if(t(s,i)){if(a===r){r++;continue}e[r++]=s}}e.length=r;return e}function unique_eq(e){var t=1,r=e.length,n=e[0],s=e[0];for(var i=1;i<r;++i,s=n){s=n;n=e[i];if(n!==s){if(i===t){t++;continue}e[t++]=n}}e.length=t;return e}function unique(e,t,r){if(e.length===0){return e}if(t){if(!r){e.sort(t)}return unique_pred(e,t)}if(!r){e.sort()}return unique_eq(e)}e.exports=unique},209:(e,t,r)=>{e.exports=r(837).deprecate},316:e=>{"use strict"; | ||
/*! https://mths.be/cssesc v3.0.0 by @mathias */var t={};var r=t.hasOwnProperty;var n=function merge(e,t){if(!e){return t}var n={};for(var s in t){n[s]=r.call(e,s)?e[s]:t[s]}return n};var s=/[ -,\.\/:-@\[-\^`\{-~]/;var i=/[ -,\.\/:-@\[\]\^`\{-~]/;var a=/['"\\]/;var o=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g;var u=function cssesc(e,t){t=n(t,cssesc.options);if(t.quotes!="single"&&t.quotes!="double"){t.quotes="single"}var r=t.quotes=="double"?'"':"'";var a=t.isIdentifier;var u=e.charAt(0);var c="";var l=0;var f=e.length;while(l<f){var p=e.charAt(l++);var h=p.charCodeAt();var d=void 0;if(h<32||h>126){if(h>=55296&&h<=56319&&l<f){var v=e.charCodeAt(l++);if((v&64512)==56320){h=((h&1023)<<10)+(v&1023)+65536}else{l--}}d="\\"+h.toString(16).toUpperCase()+" "}else{if(t.escapeEverything){if(s.test(p)){d="\\"+p}else{d="\\"+h.toString(16).toUpperCase()+" "}}else if(/[\t\n\f\r\x0B]/.test(p)){d="\\"+h.toString(16).toUpperCase()+" "}else if(p=="\\"||!a&&(p=='"'&&r==p||p=="'"&&r==p)||a&&i.test(p)){d="\\"+p}else{d=p}}c+=d}if(a){if(/^-[-\d]/.test(c)){c="\\-"+c.slice(1)}else if(/\d/.test(u)){c="\\3"+u+" "+c.slice(1)}}c=c.replace(o,(function(e,t,r){if(t&&t.length%2){return e}return(t||"")+r}));if(!a&&t.wrap){return r+c+r}return c};u.options={escapeEverything:false,isIdentifier:false,quotes:"single",wrap:false};u.version="3.0.0";e.exports=u},175:(e,t,r)=>{"use strict";const n=r(347);const s=Object.prototype.hasOwnProperty;function getSingleLocalNamesForComposes(e){return e.nodes.map((t=>{if(t.type!=="selector"||t.nodes.length!==1){throw new Error(`composition is only allowed when selector is single :local class name not in "${e}"`)}t=t.nodes[0];if(t.type!=="pseudo"||t.value!==":local"||t.nodes.length!==1){throw new Error('composition is only allowed when selector is single :local class name not in "'+e+'", "'+t+'" is weird')}t=t.first;if(t.type!=="selector"||t.length!==1){throw new Error('composition is only allowed when selector is single :local class name not in "'+e+'", "'+t+'" is weird')}t=t.first;if(t.type!=="class"){throw new Error('composition is only allowed when selector is single :local class name not in "'+e+'", "'+t+'" is weird')}return t.value}))}const i="[\\x20\\t\\r\\n\\f]";const a=new RegExp("\\\\([\\da-f]{1,6}"+i+"?|("+i+")|.)","ig");function unescape(e){return e.replace(a,((e,t,r)=>{const n="0x"+t-65536;return n!==n||r?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,n&1023|56320)}))}const plugin=(e={})=>{const t=e&&e.generateScopedName||plugin.generateScopedName;const r=e&&e.generateExportEntry||plugin.generateExportEntry;const i=e&&e.exportGlobals;return{postcssPlugin:"postcss-modules-scope",Once(e,{rule:a}){const o=Object.create(null);function exportScopedName(n,s){const i=t(s?s:n,e.source.input.from,e.source.input.css);const a=r(s?s:n,i,e.source.input.from,e.source.input.css);const{key:u,value:c}=a;o[u]=o[u]||[];if(o[u].indexOf(c)<0){o[u].push(c)}return i}function localizeNode(e){switch(e.type){case"selector":e.nodes=e.map(localizeNode);return e;case"class":return n.className({value:exportScopedName(e.value,e.raws&&e.raws.value?e.raws.value:null)});case"id":{return n.id({value:exportScopedName(e.value,e.raws&&e.raws.value?e.raws.value:null)})}}throw new Error(`${e.type} ("${e}") is not allowed in a :local block`)}function traverseNode(e){switch(e.type){case"pseudo":if(e.value===":local"){if(e.nodes.length!==1){throw new Error('Unexpected comma (",") in :local block')}const t=localizeNode(e.first,e.spaces);t.first.spaces=e.spaces;const r=e.next();if(r&&r.type==="combinator"&&r.value===" "&&/\\[A-F0-9]{1,6}$/.test(t.last.value)){t.last.spaces.after=" "}e.replaceWith(t);return}case"root":case"selector":{e.each(traverseNode);break}case"id":case"class":if(i){o[e.value]=[e.value]}break}return e}const u={};e.walkRules(/^:import\(.+\)$/,(e=>{e.walkDecls((e=>{u[e.prop]=true}))}));e.walkRules((e=>{let t=n().astSync(e);e.selector=traverseNode(t.clone()).toString();e.walkDecls(/composes|compose-with/i,(e=>{const r=getSingleLocalNamesForComposes(t);const n=e.value.split(/\s+/);n.forEach((t=>{const n=/^global\(([^)]+)\)$/.exec(t);if(n){r.forEach((e=>{o[e].push(n[1])}))}else if(s.call(u,t)){r.forEach((e=>{o[e].push(t)}))}else if(s.call(o,t)){r.forEach((e=>{o[t].forEach((t=>{o[e].push(t)}))}))}else{throw e.error(`referenced class name "${t}" in ${e.prop} not found`)}}));e.remove()}));e.walkDecls((e=>{if(!/:local\s*\((.+?)\)/.test(e.value)){return}let t=e.value.split(/(,|'[^']*'|"[^"]*")/);t=t.map(((e,r)=>{if(r===0||t[r-1]===","){let t=e;const r=/:local\s*\((.+?)\)/.exec(e);if(r){const e=r.input;const n=r[0];const s=r[1];const i=exportScopedName(s);t=e.replace(n,i)}else{return e}return t}else{return e}}));e.value=t.join("")}))}));e.walkAtRules(/keyframes$/i,(e=>{const t=/^\s*:local\s*\((.+?)\)\s*$/.exec(e.params);if(!t){return}e.params=exportScopedName(t[1])}));const c=Object.keys(o);if(c.length>0){const t=a({selector:":export"});c.forEach((e=>t.append({prop:e,value:o[e].join(" "),raws:{before:"\n "}})));e.append(t)}}}};plugin.postcss=true;plugin.generateScopedName=function(e,t){const r=t.replace(/\.[^./\\]+$/,"").replace(/[\W_]+/g,"_").replace(/^_|_$/g,"");return`_${r}__${e}`.trim()};plugin.generateExportEntry=function(e,t){return{key:unescape(e),value:unescape(t)}};e.exports=plugin},347:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(780));var s=_interopRequireWildcard(r(627));function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};if(n.get||n.set){Object.defineProperty(t,r,n)}else{t[r]=e[r]}}}}t.default=e;return t}}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=function parser(e){return new n.default(e)};Object.assign(i,s);delete i.__esModule;var a=i;t["default"]=a;e.exports=t.default},629:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(417));var s=_interopRequireDefault(r(258));var i=_interopRequireDefault(r(4));var a=_interopRequireDefault(r(561));var o=_interopRequireDefault(r(717));var u=_interopRequireDefault(r(786));var c=_interopRequireDefault(r(486));var l=_interopRequireDefault(r(574));var f=_interopRequireDefault(r(307));var p=_interopRequireDefault(r(585));var h=_interopRequireWildcard(r(196));var d=_interopRequireDefault(r(382));var v=_interopRequireDefault(r(604));var _=_interopRequireDefault(r(359));var S=_interopRequireDefault(r(5));var g=_interopRequireWildcard(r(633));var T=_interopRequireWildcard(r(522));var w=_interopRequireWildcard(r(469));var m=r(843);var b,k;function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};if(n.get||n.set){Object.defineProperty(t,r,n)}else{t[r]=e[r]}}}}t.default=e;return t}}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}function _createClass(e,t,r){if(t)_defineProperties(e.prototype,t);if(r)_defineProperties(e,r);return e}var E=(b={},b[T.space]=true,b[T.cr]=true,b[T.feed]=true,b[T.newline]=true,b[T.tab]=true,b);var y=Object.assign({},E,(k={},k[T.comment]=true,k));function tokenStart(e){return{line:e[g.FIELDS.START_LINE],column:e[g.FIELDS.START_COL]}}function tokenEnd(e){return{line:e[g.FIELDS.END_LINE],column:e[g.FIELDS.END_COL]}}function getSource(e,t,r,n){return{start:{line:e,column:t},end:{line:r,column:n}}}function getTokenSource(e){return getSource(e[g.FIELDS.START_LINE],e[g.FIELDS.START_COL],e[g.FIELDS.END_LINE],e[g.FIELDS.END_COL])}function getTokenSourceSpan(e,t){if(!e){return undefined}return getSource(e[g.FIELDS.START_LINE],e[g.FIELDS.START_COL],t[g.FIELDS.END_LINE],t[g.FIELDS.END_COL])}function unescapeProp(e,t){var r=e[t];if(typeof r!=="string"){return}if(r.indexOf("\\")!==-1){(0,m.ensureObject)(e,"raws");e[t]=(0,m.unesc)(r);if(e.raws[t]===undefined){e.raws[t]=r}}return e}var P=function(){function Parser(e,t){if(t===void 0){t={}}this.rule=e;this.options=Object.assign({lossy:false,safe:false},t);this.position=0;this.css=typeof this.rule==="string"?this.rule:this.rule.selector;this.tokens=(0,g.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var r=getTokenSourceSpan(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new i.default({source:r});this.root.errorGenerator=this._errorGenerator();var n=new a.default({source:{start:{line:1,column:1}}});this.root.append(n);this.current=n;this.loop()}var e=Parser.prototype;e._errorGenerator=function _errorGenerator(){var e=this;return function(t,r){if(typeof e.rule==="string"){return new Error(t)}return e.rule.error(t,r)}};e.attribute=function attribute(){var e=[];var t=this.currToken;this.position++;while(this.position<this.tokens.length&&this.currToken[g.FIELDS.TYPE]!==T.closeSquare){e.push(this.currToken);this.position++}if(this.currToken[g.FIELDS.TYPE]!==T.closeSquare){return this.expected("closing square bracket",this.currToken[g.FIELDS.START_POS])}var r=e.length;var n={source:getSource(t[1],t[2],this.currToken[3],this.currToken[4]),sourceIndex:t[g.FIELDS.START_POS]};if(r===1&&!~[T.word].indexOf(e[0][g.FIELDS.TYPE])){return this.expected("attribute",e[0][g.FIELDS.START_POS])}var s=0;var i="";var a="";var o=null;var u=false;while(s<r){var c=e[s];var l=this.content(c);var f=e[s+1];switch(c[g.FIELDS.TYPE]){case T.space:u=true;if(this.options.lossy){break}if(o){(0,m.ensureObject)(n,"spaces",o);var p=n.spaces[o].after||"";n.spaces[o].after=p+l;var d=(0,m.getProp)(n,"raws","spaces",o,"after")||null;if(d){n.raws.spaces[o].after=d+l}}else{i=i+l;a=a+l}break;case T.asterisk:if(f[g.FIELDS.TYPE]===T.equals){n.operator=l;o="operator"}else if((!n.namespace||o==="namespace"&&!u)&&f){if(i){(0,m.ensureObject)(n,"spaces","attribute");n.spaces.attribute.before=i;i=""}if(a){(0,m.ensureObject)(n,"raws","spaces","attribute");n.raws.spaces.attribute.before=i;a=""}n.namespace=(n.namespace||"")+l;var v=(0,m.getProp)(n,"raws","namespace")||null;if(v){n.raws.namespace+=l}o="namespace"}u=false;break;case T.dollar:if(o==="value"){var _=(0,m.getProp)(n,"raws","value");n.value+="$";if(_){n.raws.value=_+"$"}break}case T.caret:if(f[g.FIELDS.TYPE]===T.equals){n.operator=l;o="operator"}u=false;break;case T.combinator:if(l==="~"&&f[g.FIELDS.TYPE]===T.equals){n.operator=l;o="operator"}if(l!=="|"){u=false;break}if(f[g.FIELDS.TYPE]===T.equals){n.operator=l;o="operator"}else if(!n.namespace&&!n.attribute){n.namespace=true}u=false;break;case T.word:if(f&&this.content(f)==="|"&&e[s+2]&&e[s+2][g.FIELDS.TYPE]!==T.equals&&!n.operator&&!n.namespace){n.namespace=l;o="namespace"}else if(!n.attribute||o==="attribute"&&!u){if(i){(0,m.ensureObject)(n,"spaces","attribute");n.spaces.attribute.before=i;i=""}if(a){(0,m.ensureObject)(n,"raws","spaces","attribute");n.raws.spaces.attribute.before=a;a=""}n.attribute=(n.attribute||"")+l;var S=(0,m.getProp)(n,"raws","attribute")||null;if(S){n.raws.attribute+=l}o="attribute"}else if(!n.value&&n.value!==""||o==="value"&&!u){var w=(0,m.unesc)(l);var b=(0,m.getProp)(n,"raws","value")||"";var k=n.value||"";n.value=k+w;n.quoteMark=null;if(w!==l||b){(0,m.ensureObject)(n,"raws");n.raws.value=(b||k)+l}o="value"}else{var E=l==="i"||l==="I";if((n.value||n.value==="")&&(n.quoteMark||u)){n.insensitive=E;if(!E||l==="I"){(0,m.ensureObject)(n,"raws");n.raws.insensitiveFlag=l}o="insensitive";if(i){(0,m.ensureObject)(n,"spaces","insensitive");n.spaces.insensitive.before=i;i=""}if(a){(0,m.ensureObject)(n,"raws","spaces","insensitive");n.raws.spaces.insensitive.before=a;a=""}}else if(n.value||n.value===""){o="value";n.value+=l;if(n.raws.value){n.raws.value+=l}}}u=false;break;case T.str:if(!n.attribute||!n.operator){return this.error("Expected an attribute followed by an operator preceding the string.",{index:c[g.FIELDS.START_POS]})}var y=(0,h.unescapeValue)(l),P=y.unescaped,O=y.quoteMark;n.value=P;n.quoteMark=O;o="value";(0,m.ensureObject)(n,"raws");n.raws.value=l;u=false;break;case T.equals:if(!n.attribute){return this.expected("attribute",c[g.FIELDS.START_POS],l)}if(n.value){return this.error('Unexpected "=" found; an operator was already defined.',{index:c[g.FIELDS.START_POS]})}n.operator=n.operator?n.operator+l:l;o="operator";u=false;break;case T.comment:if(o){if(u||f&&f[g.FIELDS.TYPE]===T.space||o==="insensitive"){var D=(0,m.getProp)(n,"spaces",o,"after")||"";var q=(0,m.getProp)(n,"raws","spaces",o,"after")||D;(0,m.ensureObject)(n,"raws","spaces",o);n.raws.spaces[o].after=q+l}else{var L=n[o]||"";var I=(0,m.getProp)(n,"raws",o)||L;(0,m.ensureObject)(n,"raws");n.raws[o]=I+l}}else{a=a+l}break;default:return this.error('Unexpected "'+l+'" found.',{index:c[g.FIELDS.START_POS]})}s++}unescapeProp(n,"attribute");unescapeProp(n,"namespace");this.newNode(new h.default(n));this.position++};e.parseWhitespaceEquivalentTokens=function parseWhitespaceEquivalentTokens(e){if(e<0){e=this.tokens.length}var t=this.position;var r=[];var n="";var s=undefined;do{if(E[this.currToken[g.FIELDS.TYPE]]){if(!this.options.lossy){n+=this.content()}}else if(this.currToken[g.FIELDS.TYPE]===T.comment){var i={};if(n){i.before=n;n=""}s=new u.default({value:this.content(),source:getTokenSource(this.currToken),sourceIndex:this.currToken[g.FIELDS.START_POS],spaces:i});r.push(s)}}while(++this.position<e);if(n){if(s){s.spaces.after=n}else if(!this.options.lossy){var a=this.tokens[t];var o=this.tokens[this.position-1];r.push(new f.default({value:"",source:getSource(a[g.FIELDS.START_LINE],a[g.FIELDS.START_COL],o[g.FIELDS.END_LINE],o[g.FIELDS.END_COL]),sourceIndex:a[g.FIELDS.START_POS],spaces:{before:n,after:""}}))}}return r};e.convertWhitespaceNodesToSpace=function convertWhitespaceNodesToSpace(e,t){var r=this;if(t===void 0){t=false}var n="";var s="";e.forEach((function(e){var i=r.lossySpace(e.spaces.before,t);var a=r.lossySpace(e.rawSpaceBefore,t);n+=i+r.lossySpace(e.spaces.after,t&&i.length===0);s+=i+e.value+r.lossySpace(e.rawSpaceAfter,t&&a.length===0)}));if(s===n){s=undefined}var i={space:n,rawSpace:s};return i};e.isNamedCombinator=function isNamedCombinator(e){if(e===void 0){e=this.position}return this.tokens[e+0]&&this.tokens[e+0][g.FIELDS.TYPE]===T.slash&&this.tokens[e+1]&&this.tokens[e+1][g.FIELDS.TYPE]===T.word&&this.tokens[e+2]&&this.tokens[e+2][g.FIELDS.TYPE]===T.slash};e.namedCombinator=function namedCombinator(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]);var t=(0,m.unesc)(e).toLowerCase();var r={};if(t!==e){r.value="/"+e+"/"}var n=new v.default({value:"/"+t+"/",source:getSource(this.currToken[g.FIELDS.START_LINE],this.currToken[g.FIELDS.START_COL],this.tokens[this.position+2][g.FIELDS.END_LINE],this.tokens[this.position+2][g.FIELDS.END_COL]),sourceIndex:this.currToken[g.FIELDS.START_POS],raws:r});this.position=this.position+3;return n}else{this.unexpected()}};e.combinator=function combinator(){var e=this;if(this.content()==="|"){return this.namespace()}var t=this.locateNextMeaningfulToken(this.position);if(t<0||this.tokens[t][g.FIELDS.TYPE]===T.comma){var r=this.parseWhitespaceEquivalentTokens(t);if(r.length>0){var n=this.current.last;if(n){var s=this.convertWhitespaceNodesToSpace(r),i=s.space,a=s.rawSpace;if(a!==undefined){n.rawSpaceAfter+=a}n.spaces.after+=i}else{r.forEach((function(t){return e.newNode(t)}))}}return}var o=this.currToken;var u=undefined;if(t>this.position){u=this.parseWhitespaceEquivalentTokens(t)}var c;if(this.isNamedCombinator()){c=this.namedCombinator()}else if(this.currToken[g.FIELDS.TYPE]===T.combinator){c=new v.default({value:this.content(),source:getTokenSource(this.currToken),sourceIndex:this.currToken[g.FIELDS.START_POS]});this.position++}else if(E[this.currToken[g.FIELDS.TYPE]]){}else if(!u){this.unexpected()}if(c){if(u){var l=this.convertWhitespaceNodesToSpace(u),f=l.space,p=l.rawSpace;c.spaces.before=f;c.rawSpaceBefore=p}}else{var h=this.convertWhitespaceNodesToSpace(u,true),d=h.space,_=h.rawSpace;if(!_){_=d}var S={};var w={spaces:{}};if(d.endsWith(" ")&&_.endsWith(" ")){S.before=d.slice(0,d.length-1);w.spaces.before=_.slice(0,_.length-1)}else if(d.startsWith(" ")&&_.startsWith(" ")){S.after=d.slice(1);w.spaces.after=_.slice(1)}else{w.value=_}c=new v.default({value:" ",source:getTokenSourceSpan(o,this.tokens[this.position-1]),sourceIndex:o[g.FIELDS.START_POS],spaces:S,raws:w})}if(this.currToken&&this.currToken[g.FIELDS.TYPE]===T.space){c.spaces.after=this.optionalSpace(this.content());this.position++}return this.newNode(c)};e.comma=function comma(){if(this.position===this.tokens.length-1){this.root.trailingComma=true;this.position++;return}this.current._inferEndPosition();var e=new a.default({source:{start:tokenStart(this.tokens[this.position+1])}});this.current.parent.append(e);this.current=e;this.position++};e.comment=function comment(){var e=this.currToken;this.newNode(new u.default({value:this.content(),source:getTokenSource(e),sourceIndex:e[g.FIELDS.START_POS]}));this.position++};e.error=function error(e,t){throw this.root.error(e,t)};e.missingBackslash=function missingBackslash(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[g.FIELDS.START_POS]})};e.missingParenthesis=function missingParenthesis(){return this.expected("opening parenthesis",this.currToken[g.FIELDS.START_POS])};e.missingSquareBracket=function missingSquareBracket(){return this.expected("opening square bracket",this.currToken[g.FIELDS.START_POS])};e.unexpected=function unexpected(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[g.FIELDS.START_POS])};e.namespace=function namespace(){var e=this.prevToken&&this.content(this.prevToken)||true;if(this.nextToken[g.FIELDS.TYPE]===T.word){this.position++;return this.word(e)}else if(this.nextToken[g.FIELDS.TYPE]===T.asterisk){this.position++;return this.universal(e)}};e.nesting=function nesting(){if(this.nextToken){var e=this.content(this.nextToken);if(e==="|"){this.position++;return}}var t=this.currToken;this.newNode(new _.default({value:this.content(),source:getTokenSource(t),sourceIndex:t[g.FIELDS.START_POS]}));this.position++};e.parentheses=function parentheses(){var e=this.current.last;var t=1;this.position++;if(e&&e.type===w.PSEUDO){var r=new a.default({source:{start:tokenStart(this.tokens[this.position-1])}});var n=this.current;e.append(r);this.current=r;while(this.position<this.tokens.length&&t){if(this.currToken[g.FIELDS.TYPE]===T.openParenthesis){t++}if(this.currToken[g.FIELDS.TYPE]===T.closeParenthesis){t--}if(t){this.parse()}else{this.current.source.end=tokenEnd(this.currToken);this.current.parent.source.end=tokenEnd(this.currToken);this.position++}}this.current=n}else{var s=this.currToken;var i="(";var o;while(this.position<this.tokens.length&&t){if(this.currToken[g.FIELDS.TYPE]===T.openParenthesis){t++}if(this.currToken[g.FIELDS.TYPE]===T.closeParenthesis){t--}o=this.currToken;i+=this.parseParenthesisToken(this.currToken);this.position++}if(e){e.appendToPropertyAndEscape("value",i,i)}else{this.newNode(new f.default({value:i,source:getSource(s[g.FIELDS.START_LINE],s[g.FIELDS.START_COL],o[g.FIELDS.END_LINE],o[g.FIELDS.END_COL]),sourceIndex:s[g.FIELDS.START_POS]}))}}if(t){return this.expected("closing parenthesis",this.currToken[g.FIELDS.START_POS])}};e.pseudo=function pseudo(){var e=this;var t="";var r=this.currToken;while(this.currToken&&this.currToken[g.FIELDS.TYPE]===T.colon){t+=this.content();this.position++}if(!this.currToken){return this.expected(["pseudo-class","pseudo-element"],this.position-1)}if(this.currToken[g.FIELDS.TYPE]===T.word){this.splitWord(false,(function(n,s){t+=n;e.newNode(new p.default({value:t,source:getTokenSourceSpan(r,e.currToken),sourceIndex:r[g.FIELDS.START_POS]}));if(s>1&&e.nextToken&&e.nextToken[g.FIELDS.TYPE]===T.openParenthesis){e.error("Misplaced parenthesis.",{index:e.nextToken[g.FIELDS.START_POS]})}}))}else{return this.expected(["pseudo-class","pseudo-element"],this.currToken[g.FIELDS.START_POS])}};e.space=function space(){var e=this.content();if(this.position===0||this.prevToken[g.FIELDS.TYPE]===T.comma||this.prevToken[g.FIELDS.TYPE]===T.openParenthesis||this.current.nodes.every((function(e){return e.type==="comment"}))){this.spaces=this.optionalSpace(e);this.position++}else if(this.position===this.tokens.length-1||this.nextToken[g.FIELDS.TYPE]===T.comma||this.nextToken[g.FIELDS.TYPE]===T.closeParenthesis){this.current.last.spaces.after=this.optionalSpace(e);this.position++}else{this.combinator()}};e.string=function string(){var e=this.currToken;this.newNode(new f.default({value:this.content(),source:getTokenSource(e),sourceIndex:e[g.FIELDS.START_POS]}));this.position++};e.universal=function universal(e){var t=this.nextToken;if(t&&this.content(t)==="|"){this.position++;return this.namespace()}var r=this.currToken;this.newNode(new d.default({value:this.content(),source:getTokenSource(r),sourceIndex:r[g.FIELDS.START_POS]}),e);this.position++};e.splitWord=function splitWord(e,t){var r=this;var i=this.nextToken;var a=this.content();while(i&&~[T.dollar,T.caret,T.equals,T.word].indexOf(i[g.FIELDS.TYPE])){this.position++;var u=this.content();a+=u;if(u.lastIndexOf("\\")===u.length-1){var f=this.nextToken;if(f&&f[g.FIELDS.TYPE]===T.space){a+=this.requiredSpace(this.content(f));this.position++}}i=this.nextToken}var p=(0,n.default)(a,".").filter((function(e){return a[e-1]!=="\\"}));var h=(0,n.default)(a,"#").filter((function(e){return a[e-1]!=="\\"}));var d=(0,n.default)(a,"#{");if(d.length){h=h.filter((function(e){return!~d.indexOf(e)}))}var v=(0,S.default)((0,s.default)([0].concat(p,h)));v.forEach((function(n,s){var i=v[s+1]||a.length;var u=a.slice(n,i);if(s===0&&t){return t.call(r,u,v.length)}var f;var d=r.currToken;var _=d[g.FIELDS.START_POS]+v[s];var S=getSource(d[1],d[2]+n,d[3],d[2]+(i-1));if(~p.indexOf(n)){var T={value:u.slice(1),source:S,sourceIndex:_};f=new o.default(unescapeProp(T,"value"))}else if(~h.indexOf(n)){var w={value:u.slice(1),source:S,sourceIndex:_};f=new c.default(unescapeProp(w,"value"))}else{var m={value:u,source:S,sourceIndex:_};unescapeProp(m,"value");f=new l.default(m)}r.newNode(f,e);e=null}));this.position++};e.word=function word(e){var t=this.nextToken;if(t&&this.content(t)==="|"){this.position++;return this.namespace()}return this.splitWord(e)};e.loop=function loop(){while(this.position<this.tokens.length){this.parse(true)}this.current._inferEndPosition();return this.root};e.parse=function parse(e){switch(this.currToken[g.FIELDS.TYPE]){case T.space:this.space();break;case T.comment:this.comment();break;case T.openParenthesis:this.parentheses();break;case T.closeParenthesis:if(e){this.missingParenthesis()}break;case T.openSquare:this.attribute();break;case T.dollar:case T.caret:case T.equals:case T.word:this.word();break;case T.colon:this.pseudo();break;case T.comma:this.comma();break;case T.asterisk:this.universal();break;case T.ampersand:this.nesting();break;case T.slash:case T.combinator:this.combinator();break;case T.str:this.string();break;case T.closeSquare:this.missingSquareBracket();case T.semicolon:this.missingBackslash();default:this.unexpected()}};e.expected=function expected(e,t,r){if(Array.isArray(e)){var n=e.pop();e=e.join(", ")+" or "+n}var s=/^[aeiou]/.test(e[0])?"an":"a";if(!r){return this.error("Expected "+s+" "+e+".",{index:t})}return this.error("Expected "+s+" "+e+', found "'+r+'" instead.',{index:t})};e.requiredSpace=function requiredSpace(e){return this.options.lossy?" ":e};e.optionalSpace=function optionalSpace(e){return this.options.lossy?"":e};e.lossySpace=function lossySpace(e,t){if(this.options.lossy){return t?" ":""}else{return e}};e.parseParenthesisToken=function parseParenthesisToken(e){var t=this.content(e);if(e[g.FIELDS.TYPE]===T.space){return this.requiredSpace(t)}else{return t}};e.newNode=function newNode(e,t){if(t){if(/^ +$/.test(t)){if(!this.options.lossy){this.spaces=(this.spaces||"")+t}t=true}e.namespace=t;unescapeProp(e,"namespace")}if(this.spaces){e.spaces.before=this.spaces;this.spaces=""}return this.current.append(e)};e.content=function content(e){if(e===void 0){e=this.currToken}return this.css.slice(e[g.FIELDS.START_POS],e[g.FIELDS.END_POS])};e.locateNextMeaningfulToken=function locateNextMeaningfulToken(e){if(e===void 0){e=this.position+1}var t=e;while(t<this.tokens.length){if(y[this.tokens[t][g.FIELDS.TYPE]]){t++;continue}else{return t}}return-1};_createClass(Parser,[{key:"currToken",get:function get(){return this.tokens[this.position]}},{key:"nextToken",get:function get(){return this.tokens[this.position+1]}},{key:"prevToken",get:function get(){return this.tokens[this.position-1]}}]);return Parser}();t["default"]=P;e.exports=t.default},780:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(629));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var s=function(){function Processor(e,t){this.func=e||function noop(){};this.funcRes=null;this.options=t}var e=Processor.prototype;e._shouldUpdateSelector=function _shouldUpdateSelector(e,t){if(t===void 0){t={}}var r=Object.assign({},this.options,t);if(r.updateSelector===false){return false}else{return typeof e!=="string"}};e._isLossy=function _isLossy(e){if(e===void 0){e={}}var t=Object.assign({},this.options,e);if(t.lossless===false){return true}else{return false}};e._root=function _root(e,t){if(t===void 0){t={}}var r=new n.default(e,this._parseOptions(t));return r.root};e._parseOptions=function _parseOptions(e){return{lossy:this._isLossy(e)}};e._run=function _run(e,t){var r=this;if(t===void 0){t={}}return new Promise((function(n,s){try{var i=r._root(e,t);Promise.resolve(r.func(i)).then((function(n){var s=undefined;if(r._shouldUpdateSelector(e,t)){s=i.toString();e.selector=s}return{transform:n,root:i,string:s}})).then(n,s)}catch(e){s(e);return}}))};e._runSync=function _runSync(e,t){if(t===void 0){t={}}var r=this._root(e,t);var n=this.func(r);if(n&&typeof n.then==="function"){throw new Error("Selector processor returned a promise to a synchronous call.")}var s=undefined;if(t.updateSelector&&typeof e!=="string"){s=r.toString();e.selector=s}return{transform:n,root:r,string:s}};e.ast=function ast(e,t){return this._run(e,t).then((function(e){return e.root}))};e.astSync=function astSync(e,t){return this._runSync(e,t).root};e.transform=function transform(e,t){return this._run(e,t).then((function(e){return e.transform}))};e.transformSync=function transformSync(e,t){return this._runSync(e,t).transform};e.process=function process(e,t){return this._run(e,t).then((function(e){return e.string||e.root.toString()}))};e.processSync=function processSync(e,t){var r=this._runSync(e,t);return r.string||r.root.toString()};return Processor}();t["default"]=s;e.exports=t.default},196:(e,t,r)=>{"use strict";t.__esModule=true;t.unescapeValue=unescapeValue;t["default"]=void 0;var n=_interopRequireDefault(r(316));var s=_interopRequireDefault(r(753));var i=_interopRequireDefault(r(285));var a=r(469);var o;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}function _createClass(e,t,r){if(t)_defineProperties(e.prototype,t);if(r)_defineProperties(e,r);return e}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var u=r(209);var c=/^('|")(.*)\1$/;var l=u((function(){}),"Assigning an attribute a value containing characters that might need to be escaped is deprecated. "+"Call attribute.setValue() instead.");var f=u((function(){}),"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead.");var p=u((function(){}),"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function unescapeValue(e){var t=false;var r=null;var n=e;var i=n.match(c);if(i){r=i[1];n=i[2]}n=(0,s.default)(n);if(n!==e){t=true}return{deprecatedUsage:t,unescaped:n,quoteMark:r}}function handleDeprecatedContructorOpts(e){if(e.quoteMark!==undefined){return e}if(e.value===undefined){return e}p();var t=unescapeValue(e.value),r=t.quoteMark,n=t.unescaped;if(!e.raws){e.raws={}}if(e.raws.value===undefined){e.raws.value=e.value}e.value=n;e.quoteMark=r;return e}var h=function(e){_inheritsLoose(Attribute,e);function Attribute(t){var r;if(t===void 0){t={}}r=e.call(this,handleDeprecatedContructorOpts(t))||this;r.type=a.ATTRIBUTE;r.raws=r.raws||{};Object.defineProperty(r.raws,"unquoted",{get:u((function(){return r.value}),"attr.raws.unquoted is deprecated. Call attr.value instead."),set:u((function(){return r.value}),"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")});r._constructed=true;return r}var t=Attribute.prototype;t.getQuotedValue=function getQuotedValue(e){if(e===void 0){e={}}var t=this._determineQuoteMark(e);var r=d[t];var s=(0,n.default)(this._value,r);return s};t._determineQuoteMark=function _determineQuoteMark(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)};t.setValue=function setValue(e,t){if(t===void 0){t={}}this._value=e;this._quoteMark=this._determineQuoteMark(t);this._syncRawValue()};t.smartQuoteMark=function smartQuoteMark(e){var t=this.value;var r=t.replace(/[^']/g,"").length;var s=t.replace(/[^"]/g,"").length;if(r+s===0){var i=(0,n.default)(t,{isIdentifier:true});if(i===t){return Attribute.NO_QUOTE}else{var a=this.preferredQuoteMark(e);if(a===Attribute.NO_QUOTE){var o=this.quoteMark||e.quoteMark||Attribute.DOUBLE_QUOTE;var u=d[o];var c=(0,n.default)(t,u);if(c.length<i.length){return o}}return a}}else if(s===r){return this.preferredQuoteMark(e)}else if(s<r){return Attribute.DOUBLE_QUOTE}else{return Attribute.SINGLE_QUOTE}};t.preferredQuoteMark=function preferredQuoteMark(e){var t=e.preferCurrentQuoteMark?this.quoteMark:e.quoteMark;if(t===undefined){t=e.preferCurrentQuoteMark?e.quoteMark:this.quoteMark}if(t===undefined){t=Attribute.DOUBLE_QUOTE}return t};t._syncRawValue=function _syncRawValue(){var e=(0,n.default)(this._value,d[this.quoteMark]);if(e===this._value){if(this.raws){delete this.raws.value}}else{this.raws.value=e}};t._handleEscapes=function _handleEscapes(e,t){if(this._constructed){var r=(0,n.default)(t,{isIdentifier:true});if(r!==t){this.raws[e]=r}else{delete this.raws[e]}}};t._spacesFor=function _spacesFor(e){var t={before:"",after:""};var r=this.spaces[e]||{};var n=this.raws.spaces&&this.raws.spaces[e]||{};return Object.assign(t,r,n)};t._stringFor=function _stringFor(e,t,r){if(t===void 0){t=e}if(r===void 0){r=defaultAttrConcat}var n=this._spacesFor(t);return r(this.stringifyProperty(e),n)};t.offsetOf=function offsetOf(e){var t=1;var r=this._spacesFor("attribute");t+=r.before.length;if(e==="namespace"||e==="ns"){return this.namespace?t:-1}if(e==="attributeNS"){return t}t+=this.namespaceString.length;if(this.namespace){t+=1}if(e==="attribute"){return t}t+=this.stringifyProperty("attribute").length;t+=r.after.length;var n=this._spacesFor("operator");t+=n.before.length;var s=this.stringifyProperty("operator");if(e==="operator"){return s?t:-1}t+=s.length;t+=n.after.length;var i=this._spacesFor("value");t+=i.before.length;var a=this.stringifyProperty("value");if(e==="value"){return a?t:-1}t+=a.length;t+=i.after.length;var o=this._spacesFor("insensitive");t+=o.before.length;if(e==="insensitive"){return this.insensitive?t:-1}return-1};t.toString=function toString(){var e=this;var t=[this.rawSpaceBefore,"["];t.push(this._stringFor("qualifiedAttribute","attribute"));if(this.operator&&(this.value||this.value==="")){t.push(this._stringFor("operator"));t.push(this._stringFor("value"));t.push(this._stringFor("insensitiveFlag","insensitive",(function(t,r){if(t.length>0&&!e.quoted&&r.before.length===0&&!(e.spaces.value&&e.spaces.value.after)){r.before=" "}return defaultAttrConcat(t,r)})))}t.push("]");t.push(this.rawSpaceAfter);return t.join("")};_createClass(Attribute,[{key:"quoted",get:function get(){var e=this.quoteMark;return e==="'"||e==='"'},set:function set(e){f()}},{key:"quoteMark",get:function get(){return this._quoteMark},set:function set(e){if(!this._constructed){this._quoteMark=e;return}if(this._quoteMark!==e){this._quoteMark=e;this._syncRawValue()}}},{key:"qualifiedAttribute",get:function get(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function get(){return this.insensitive?"i":""}},{key:"value",get:function get(){return this._value},set:function set(e){if(this._constructed){var t=unescapeValue(e),r=t.deprecatedUsage,n=t.unescaped,s=t.quoteMark;if(r){l()}if(n===this._value&&s===this._quoteMark){return}this._value=n;this._quoteMark=s;this._syncRawValue()}else{this._value=e}}},{key:"attribute",get:function get(){return this._attribute},set:function set(e){this._handleEscapes("attribute",e);this._attribute=e}}]);return Attribute}(i.default);t["default"]=h;h.NO_QUOTE=null;h.SINGLE_QUOTE="'";h.DOUBLE_QUOTE='"';var d=(o={"'":{quotes:"single",wrap:true},'"':{quotes:"double",wrap:true}},o[null]={isIdentifier:true},o);function defaultAttrConcat(e,t){return""+t.before+e+t.after}},717:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(316));var s=r(843);var i=_interopRequireDefault(r(814));var a=r(469);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}function _createClass(e,t,r){if(t)_defineProperties(e.prototype,t);if(r)_defineProperties(e,r);return e}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var o=function(e){_inheritsLoose(ClassName,e);function ClassName(t){var r;r=e.call(this,t)||this;r.type=a.CLASS;r._constructed=true;return r}var t=ClassName.prototype;t.valueToString=function valueToString(){return"."+e.prototype.valueToString.call(this)};_createClass(ClassName,[{key:"value",set:function set(e){if(this._constructed){var t=(0,n.default)(e,{isIdentifier:true});if(t!==e){(0,s.ensureObject)(this,"raws");this.raws.value=t}else if(this.raws){delete this.raws.value}}this._value=e},get:function get(){return this._value}}]);return ClassName}(i.default);t["default"]=o;e.exports=t.default},604:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(814));var s=r(469);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var i=function(e){_inheritsLoose(Combinator,e);function Combinator(t){var r;r=e.call(this,t)||this;r.type=s.COMBINATOR;return r}return Combinator}(n.default);t["default"]=i;e.exports=t.default},786:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(814));var s=r(469);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var i=function(e){_inheritsLoose(Comment,e);function Comment(t){var r;r=e.call(this,t)||this;r.type=s.COMMENT;return r}return Comment}(n.default);t["default"]=i;e.exports=t.default},842:(e,t,r)=>{"use strict";t.__esModule=true;t.universal=t.tag=t.string=t.selector=t.root=t.pseudo=t.nesting=t.id=t.comment=t.combinator=t.className=t.attribute=void 0;var n=_interopRequireDefault(r(196));var s=_interopRequireDefault(r(717));var i=_interopRequireDefault(r(604));var a=_interopRequireDefault(r(786));var o=_interopRequireDefault(r(486));var u=_interopRequireDefault(r(359));var c=_interopRequireDefault(r(585));var l=_interopRequireDefault(r(4));var f=_interopRequireDefault(r(561));var p=_interopRequireDefault(r(307));var h=_interopRequireDefault(r(574));var d=_interopRequireDefault(r(382));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var v=function attribute(e){return new n.default(e)};t.attribute=v;var _=function className(e){return new s.default(e)};t.className=_;var S=function combinator(e){return new i.default(e)};t.combinator=S;var g=function comment(e){return new a.default(e)};t.comment=g;var T=function id(e){return new o.default(e)};t.id=T;var w=function nesting(e){return new u.default(e)};t.nesting=w;var m=function pseudo(e){return new c.default(e)};t.pseudo=m;var b=function root(e){return new l.default(e)};t.root=b;var k=function selector(e){return new f.default(e)};t.selector=k;var E=function string(e){return new p.default(e)};t.string=E;var y=function tag(e){return new h.default(e)};t.tag=y;var P=function universal(e){return new d.default(e)};t.universal=P},554:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(814));var s=_interopRequireWildcard(r(469));function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};if(n.get||n.set){Object.defineProperty(t,r,n)}else{t[r]=e[r]}}}}t.default=e;return t}}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}function _createClass(e,t,r){if(t)_defineProperties(e.prototype,t);if(r)_defineProperties(e,r);return e}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var i=function(e){_inheritsLoose(Container,e);function Container(t){var r;r=e.call(this,t)||this;if(!r.nodes){r.nodes=[]}return r}var t=Container.prototype;t.append=function append(e){e.parent=this;this.nodes.push(e);return this};t.prepend=function prepend(e){e.parent=this;this.nodes.unshift(e);return this};t.at=function at(e){return this.nodes[e]};t.index=function index(e){if(typeof e==="number"){return e}return this.nodes.indexOf(e)};t.removeChild=function removeChild(e){e=this.index(e);this.at(e).parent=undefined;this.nodes.splice(e,1);var t;for(var r in this.indexes){t=this.indexes[r];if(t>=e){this.indexes[r]=t-1}}return this};t.removeAll=function removeAll(){for(var e=this.nodes,t=Array.isArray(e),r=0,e=t?e:e[Symbol.iterator]();;){var n;if(t){if(r>=e.length)break;n=e[r++]}else{r=e.next();if(r.done)break;n=r.value}var s=n;s.parent=undefined}this.nodes=[];return this};t.empty=function empty(){return this.removeAll()};t.insertAfter=function insertAfter(e,t){t.parent=this;var r=this.index(e);this.nodes.splice(r+1,0,t);t.parent=this;var n;for(var s in this.indexes){n=this.indexes[s];if(r<=n){this.indexes[s]=n+1}}return this};t.insertBefore=function insertBefore(e,t){t.parent=this;var r=this.index(e);this.nodes.splice(r,0,t);t.parent=this;var n;for(var s in this.indexes){n=this.indexes[s];if(n<=r){this.indexes[s]=n+1}}return this};t._findChildAtPosition=function _findChildAtPosition(e,t){var r=undefined;this.each((function(n){if(n.atPosition){var s=n.atPosition(e,t);if(s){r=s;return false}}else if(n.isAtPosition(e,t)){r=n;return false}}));return r};t.atPosition=function atPosition(e,t){if(this.isAtPosition(e,t)){return this._findChildAtPosition(e,t)||this}else{return undefined}};t._inferEndPosition=function _inferEndPosition(){if(this.last&&this.last.source&&this.last.source.end){this.source=this.source||{};this.source.end=this.source.end||{};Object.assign(this.source.end,this.last.source.end)}};t.each=function each(e){if(!this.lastEach){this.lastEach=0}if(!this.indexes){this.indexes={}}this.lastEach++;var t=this.lastEach;this.indexes[t]=0;if(!this.length){return undefined}var r,n;while(this.indexes[t]<this.length){r=this.indexes[t];n=e(this.at(r),r);if(n===false){break}this.indexes[t]+=1}delete this.indexes[t];if(n===false){return false}};t.walk=function walk(e){return this.each((function(t,r){var n=e(t,r);if(n!==false&&t.length){n=t.walk(e)}if(n===false){return false}}))};t.walkAttributes=function walkAttributes(e){var t=this;return this.walk((function(r){if(r.type===s.ATTRIBUTE){return e.call(t,r)}}))};t.walkClasses=function walkClasses(e){var t=this;return this.walk((function(r){if(r.type===s.CLASS){return e.call(t,r)}}))};t.walkCombinators=function walkCombinators(e){var t=this;return this.walk((function(r){if(r.type===s.COMBINATOR){return e.call(t,r)}}))};t.walkComments=function walkComments(e){var t=this;return this.walk((function(r){if(r.type===s.COMMENT){return e.call(t,r)}}))};t.walkIds=function walkIds(e){var t=this;return this.walk((function(r){if(r.type===s.ID){return e.call(t,r)}}))};t.walkNesting=function walkNesting(e){var t=this;return this.walk((function(r){if(r.type===s.NESTING){return e.call(t,r)}}))};t.walkPseudos=function walkPseudos(e){var t=this;return this.walk((function(r){if(r.type===s.PSEUDO){return e.call(t,r)}}))};t.walkTags=function walkTags(e){var t=this;return this.walk((function(r){if(r.type===s.TAG){return e.call(t,r)}}))};t.walkUniversals=function walkUniversals(e){var t=this;return this.walk((function(r){if(r.type===s.UNIVERSAL){return e.call(t,r)}}))};t.split=function split(e){var t=this;var r=[];return this.reduce((function(n,s,i){var a=e.call(t,s);r.push(s);if(a){n.push(r);r=[]}else if(i===t.length-1){n.push(r)}return n}),[])};t.map=function map(e){return this.nodes.map(e)};t.reduce=function reduce(e,t){return this.nodes.reduce(e,t)};t.every=function every(e){return this.nodes.every(e)};t.some=function some(e){return this.nodes.some(e)};t.filter=function filter(e){return this.nodes.filter(e)};t.sort=function sort(e){return this.nodes.sort(e)};t.toString=function toString(){return this.map(String).join("")};_createClass(Container,[{key:"first",get:function get(){return this.at(0)}},{key:"last",get:function get(){return this.at(this.length-1)}},{key:"length",get:function get(){return this.nodes.length}}]);return Container}(n.default);t["default"]=i;e.exports=t.default},191:(e,t,r)=>{"use strict";t.__esModule=true;t.isNode=isNode;t.isPseudoElement=isPseudoElement;t.isPseudoClass=isPseudoClass;t.isContainer=isContainer;t.isNamespace=isNamespace;t.isUniversal=t.isTag=t.isString=t.isSelector=t.isRoot=t.isPseudo=t.isNesting=t.isIdentifier=t.isComment=t.isCombinator=t.isClassName=t.isAttribute=void 0;var n=r(469);var s;var i=(s={},s[n.ATTRIBUTE]=true,s[n.CLASS]=true,s[n.COMBINATOR]=true,s[n.COMMENT]=true,s[n.ID]=true,s[n.NESTING]=true,s[n.PSEUDO]=true,s[n.ROOT]=true,s[n.SELECTOR]=true,s[n.STRING]=true,s[n.TAG]=true,s[n.UNIVERSAL]=true,s);function isNode(e){return typeof e==="object"&&i[e.type]}function isNodeType(e,t){return isNode(t)&&t.type===e}var a=isNodeType.bind(null,n.ATTRIBUTE);t.isAttribute=a;var o=isNodeType.bind(null,n.CLASS);t.isClassName=o;var u=isNodeType.bind(null,n.COMBINATOR);t.isCombinator=u;var c=isNodeType.bind(null,n.COMMENT);t.isComment=c;var l=isNodeType.bind(null,n.ID);t.isIdentifier=l;var f=isNodeType.bind(null,n.NESTING);t.isNesting=f;var p=isNodeType.bind(null,n.PSEUDO);t.isPseudo=p;var h=isNodeType.bind(null,n.ROOT);t.isRoot=h;var d=isNodeType.bind(null,n.SELECTOR);t.isSelector=d;var v=isNodeType.bind(null,n.STRING);t.isString=v;var _=isNodeType.bind(null,n.TAG);t.isTag=_;var S=isNodeType.bind(null,n.UNIVERSAL);t.isUniversal=S;function isPseudoElement(e){return p(e)&&e.value&&(e.value.startsWith("::")||e.value.toLowerCase()===":before"||e.value.toLowerCase()===":after")}function isPseudoClass(e){return p(e)&&!isPseudoElement(e)}function isContainer(e){return!!(isNode(e)&&e.walk)}function isNamespace(e){return a(e)||_(e)}},486:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(814));var s=r(469);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var i=function(e){_inheritsLoose(ID,e);function ID(t){var r;r=e.call(this,t)||this;r.type=s.ID;return r}var t=ID.prototype;t.valueToString=function valueToString(){return"#"+e.prototype.valueToString.call(this)};return ID}(n.default);t["default"]=i;e.exports=t.default},627:(e,t,r)=>{"use strict";t.__esModule=true;var n=r(469);Object.keys(n).forEach((function(e){if(e==="default"||e==="__esModule")return;t[e]=n[e]}));var s=r(842);Object.keys(s).forEach((function(e){if(e==="default"||e==="__esModule")return;t[e]=s[e]}));var i=r(191);Object.keys(i).forEach((function(e){if(e==="default"||e==="__esModule")return;t[e]=i[e]}))},285:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(316));var s=r(843);var i=_interopRequireDefault(r(814));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}function _createClass(e,t,r){if(t)_defineProperties(e.prototype,t);if(r)_defineProperties(e,r);return e}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var a=function(e){_inheritsLoose(Namespace,e);function Namespace(){return e.apply(this,arguments)||this}var t=Namespace.prototype;t.qualifiedName=function qualifiedName(e){if(this.namespace){return this.namespaceString+"|"+e}else{return e}};t.valueToString=function valueToString(){return this.qualifiedName(e.prototype.valueToString.call(this))};_createClass(Namespace,[{key:"namespace",get:function get(){return this._namespace},set:function set(e){if(e===true||e==="*"||e==="&"){this._namespace=e;if(this.raws){delete this.raws.namespace}return}var t=(0,n.default)(e,{isIdentifier:true});this._namespace=e;if(t!==e){(0,s.ensureObject)(this,"raws");this.raws.namespace=t}else if(this.raws){delete this.raws.namespace}}},{key:"ns",get:function get(){return this._namespace},set:function set(e){this.namespace=e}},{key:"namespaceString",get:function get(){if(this.namespace){var e=this.stringifyProperty("namespace");if(e===true){return""}else{return e}}else{return""}}}]);return Namespace}(i.default);t["default"]=a;e.exports=t.default},359:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(814));var s=r(469);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var i=function(e){_inheritsLoose(Nesting,e);function Nesting(t){var r;r=e.call(this,t)||this;r.type=s.NESTING;r.value="&";return r}return Nesting}(n.default);t["default"]=i;e.exports=t.default},814:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=r(843);function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}function _createClass(e,t,r){if(t)_defineProperties(e.prototype,t);if(r)_defineProperties(e,r);return e}var s=function cloneNode(e,t){if(typeof e!=="object"||e===null){return e}var r=new e.constructor;for(var n in e){if(!e.hasOwnProperty(n)){continue}var s=e[n];var i=typeof s;if(n==="parent"&&i==="object"){if(t){r[n]=t}}else if(s instanceof Array){r[n]=s.map((function(e){return cloneNode(e,r)}))}else{r[n]=cloneNode(s,r)}}return r};var i=function(){function Node(e){if(e===void 0){e={}}Object.assign(this,e);this.spaces=this.spaces||{};this.spaces.before=this.spaces.before||"";this.spaces.after=this.spaces.after||""}var e=Node.prototype;e.remove=function remove(){if(this.parent){this.parent.removeChild(this)}this.parent=undefined;return this};e.replaceWith=function replaceWith(){if(this.parent){for(var e in arguments){this.parent.insertBefore(this,arguments[e])}this.remove()}return this};e.next=function next(){return this.parent.at(this.parent.index(this)+1)};e.prev=function prev(){return this.parent.at(this.parent.index(this)-1)};e.clone=function clone(e){if(e===void 0){e={}}var t=s(this);for(var r in e){t[r]=e[r]}return t};e.appendToPropertyAndEscape=function appendToPropertyAndEscape(e,t,r){if(!this.raws){this.raws={}}var n=this[e];var s=this.raws[e];this[e]=n+t;if(s||r!==t){this.raws[e]=(s||n)+r}else{delete this.raws[e]}};e.setPropertyAndEscape=function setPropertyAndEscape(e,t,r){if(!this.raws){this.raws={}}this[e]=t;this.raws[e]=r};e.setPropertyWithoutEscape=function setPropertyWithoutEscape(e,t){this[e]=t;if(this.raws){delete this.raws[e]}};e.isAtPosition=function isAtPosition(e,t){if(this.source&&this.source.start&&this.source.end){if(this.source.start.line>e){return false}if(this.source.end.line<e){return false}if(this.source.start.line===e&&this.source.start.column>t){return false}if(this.source.end.line===e&&this.source.end.column<t){return false}return true}return undefined};e.stringifyProperty=function stringifyProperty(e){return this.raws&&this.raws[e]||this[e]};e.valueToString=function valueToString(){return String(this.stringifyProperty("value"))};e.toString=function toString(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")};_createClass(Node,[{key:"rawSpaceBefore",get:function get(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.before;if(e===undefined){e=this.spaces&&this.spaces.before}return e||""},set:function set(e){(0,n.ensureObject)(this,"raws","spaces");this.raws.spaces.before=e}},{key:"rawSpaceAfter",get:function get(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.after;if(e===undefined){e=this.spaces.after}return e||""},set:function set(e){(0,n.ensureObject)(this,"raws","spaces");this.raws.spaces.after=e}}]);return Node}();t["default"]=i;e.exports=t.default},585:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(554));var s=r(469);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var i=function(e){_inheritsLoose(Pseudo,e);function Pseudo(t){var r;r=e.call(this,t)||this;r.type=s.PSEUDO;return r}var t=Pseudo.prototype;t.toString=function toString(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")};return Pseudo}(n.default);t["default"]=i;e.exports=t.default},4:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(554));var s=r(469);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}function _createClass(e,t,r){if(t)_defineProperties(e.prototype,t);if(r)_defineProperties(e,r);return e}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var i=function(e){_inheritsLoose(Root,e);function Root(t){var r;r=e.call(this,t)||this;r.type=s.ROOT;return r}var t=Root.prototype;t.toString=function toString(){var e=this.reduce((function(e,t){e.push(String(t));return e}),[]).join(",");return this.trailingComma?e+",":e};t.error=function error(e,t){if(this._error){return this._error(e,t)}else{return new Error(e)}};_createClass(Root,[{key:"errorGenerator",set:function set(e){this._error=e}}]);return Root}(n.default);t["default"]=i;e.exports=t.default},561:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(554));var s=r(469);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var i=function(e){_inheritsLoose(Selector,e);function Selector(t){var r;r=e.call(this,t)||this;r.type=s.SELECTOR;return r}return Selector}(n.default);t["default"]=i;e.exports=t.default},307:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(814));var s=r(469);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var i=function(e){_inheritsLoose(String,e);function String(t){var r;r=e.call(this,t)||this;r.type=s.STRING;return r}return String}(n.default);t["default"]=i;e.exports=t.default},574:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(285));var s=r(469);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var i=function(e){_inheritsLoose(Tag,e);function Tag(t){var r;r=e.call(this,t)||this;r.type=s.TAG;return r}return Tag}(n.default);t["default"]=i;e.exports=t.default},469:(e,t)=>{"use strict";t.__esModule=true;t.UNIVERSAL=t.ATTRIBUTE=t.CLASS=t.COMBINATOR=t.COMMENT=t.ID=t.NESTING=t.PSEUDO=t.ROOT=t.SELECTOR=t.STRING=t.TAG=void 0;var r="tag";t.TAG=r;var n="string";t.STRING=n;var s="selector";t.SELECTOR=s;var i="root";t.ROOT=i;var a="pseudo";t.PSEUDO=a;var o="nesting";t.NESTING=o;var u="id";t.ID=u;var c="comment";t.COMMENT=c;var l="combinator";t.COMBINATOR=l;var f="class";t.CLASS=f;var p="attribute";t.ATTRIBUTE=p;var h="universal";t.UNIVERSAL=h},382:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(285));var s=r(469);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var i=function(e){_inheritsLoose(Universal,e);function Universal(t){var r;r=e.call(this,t)||this;r.type=s.UNIVERSAL;r.value="*";return r}return Universal}(n.default);t["default"]=i;e.exports=t.default},5:(e,t)=>{"use strict";t.__esModule=true;t["default"]=sortAscending;function sortAscending(e){return e.sort((function(e,t){return e-t}))}e.exports=t.default},522:(e,t)=>{"use strict";t.__esModule=true;t.combinator=t.word=t.comment=t.str=t.tab=t.newline=t.feed=t.cr=t.backslash=t.bang=t.slash=t.doubleQuote=t.singleQuote=t.space=t.greaterThan=t.pipe=t.equals=t.plus=t.caret=t.tilde=t.dollar=t.closeSquare=t.openSquare=t.closeParenthesis=t.openParenthesis=t.semicolon=t.colon=t.comma=t.at=t.asterisk=t.ampersand=void 0;var r=38;t.ampersand=r;var n=42;t.asterisk=n;var s=64;t.at=s;var i=44;t.comma=i;var a=58;t.colon=a;var o=59;t.semicolon=o;var u=40;t.openParenthesis=u;var c=41;t.closeParenthesis=c;var l=91;t.openSquare=l;var f=93;t.closeSquare=f;var p=36;t.dollar=p;var h=126;t.tilde=h;var d=94;t.caret=d;var v=43;t.plus=v;var _=61;t.equals=_;var S=124;t.pipe=S;var g=62;t.greaterThan=g;var T=32;t.space=T;var w=39;t.singleQuote=w;var m=34;t.doubleQuote=m;var b=47;t.slash=b;var k=33;t.bang=k;var E=92;t.backslash=E;var y=13;t.cr=y;var P=12;t.feed=P;var O=10;t.newline=O;var D=9;t.tab=D;var q=w;t.str=q;var L=-1;t.comment=L;var I=-2;t.word=I;var R=-3;t.combinator=R},633:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=tokenize;t.FIELDS=void 0;var n=_interopRequireWildcard(r(522));var s,i;function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};if(n.get||n.set){Object.defineProperty(t,r,n)}else{t[r]=e[r]}}}}t.default=e;return t}}var a=(s={},s[n.tab]=true,s[n.newline]=true,s[n.cr]=true,s[n.feed]=true,s);var o=(i={},i[n.space]=true,i[n.tab]=true,i[n.newline]=true,i[n.cr]=true,i[n.feed]=true,i[n.ampersand]=true,i[n.asterisk]=true,i[n.bang]=true,i[n.comma]=true,i[n.colon]=true,i[n.semicolon]=true,i[n.openParenthesis]=true,i[n.closeParenthesis]=true,i[n.openSquare]=true,i[n.closeSquare]=true,i[n.singleQuote]=true,i[n.doubleQuote]=true,i[n.plus]=true,i[n.pipe]=true,i[n.tilde]=true,i[n.greaterThan]=true,i[n.equals]=true,i[n.dollar]=true,i[n.caret]=true,i[n.slash]=true,i);var u={};var c="0123456789abcdefABCDEF";for(var l=0;l<c.length;l++){u[c.charCodeAt(l)]=true}function consumeWord(e,t){var r=t;var s;do{s=e.charCodeAt(r);if(o[s]){return r-1}else if(s===n.backslash){r=consumeEscape(e,r)+1}else{r++}}while(r<e.length);return r-1}function consumeEscape(e,t){var r=t;var s=e.charCodeAt(r+1);if(a[s]){}else if(u[s]){var i=0;do{r++;i++;s=e.charCodeAt(r+1)}while(u[s]&&i<6);if(i<6&&s===n.space){r++}}else{r++}return r}var f={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};t.FIELDS=f;function tokenize(e){var t=[];var r=e.css.valueOf();var s=r,i=s.length;var a=-1;var o=1;var u=0;var c=0;var l,f,p,h,d,v,_,S,g,T,w,m,b;function unclosed(t,n){if(e.safe){r+=n;g=r.length-1}else{throw e.error("Unclosed "+t,o,u-a,u)}}while(u<i){l=r.charCodeAt(u);if(l===n.newline){a=u;o+=1}switch(l){case n.space:case n.tab:case n.newline:case n.cr:case n.feed:g=u;do{g+=1;l=r.charCodeAt(g);if(l===n.newline){a=g;o+=1}}while(l===n.space||l===n.newline||l===n.tab||l===n.cr||l===n.feed);b=n.space;h=o;p=g-a-1;c=g;break;case n.plus:case n.greaterThan:case n.tilde:case n.pipe:g=u;do{g+=1;l=r.charCodeAt(g)}while(l===n.plus||l===n.greaterThan||l===n.tilde||l===n.pipe);b=n.combinator;h=o;p=u-a;c=g;break;case n.asterisk:case n.ampersand:case n.bang:case n.comma:case n.equals:case n.dollar:case n.caret:case n.openSquare:case n.closeSquare:case n.colon:case n.semicolon:case n.openParenthesis:case n.closeParenthesis:g=u;b=l;h=o;p=u-a;c=g+1;break;case n.singleQuote:case n.doubleQuote:m=l===n.singleQuote?"'":'"';g=u;do{d=false;g=r.indexOf(m,g+1);if(g===-1){unclosed("quote",m)}v=g;while(r.charCodeAt(v-1)===n.backslash){v-=1;d=!d}}while(d);b=n.str;h=o;p=u-a;c=g+1;break;default:if(l===n.slash&&r.charCodeAt(u+1)===n.asterisk){g=r.indexOf("*/",u+2)+1;if(g===0){unclosed("comment","*/")}f=r.slice(u,g+1);S=f.split("\n");_=S.length-1;if(_>0){T=o+_;w=g-S[_].length}else{T=o;w=a}b=n.comment;o=T;h=T;p=g-w}else if(l===n.slash){g=u;b=l;h=o;p=u-a;c=g+1}else{g=consumeWord(r,u);b=n.word;h=o;p=g-a}c=g+1;break}t.push([b,o,u-a,h,p,u,c]);if(w){a=w;w=null}u=c}return t}},461:(e,t)=>{"use strict";t.__esModule=true;t["default"]=ensureObject;function ensureObject(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++){r[n-1]=arguments[n]}while(r.length>0){var s=r.shift();if(!e[s]){e[s]={}}e=e[s]}}e.exports=t.default},861:(e,t)=>{"use strict";t.__esModule=true;t["default"]=getProp;function getProp(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++){r[n-1]=arguments[n]}while(r.length>0){var s=r.shift();if(!e[s]){return undefined}e=e[s]}return e}e.exports=t.default},843:(e,t,r)=>{"use strict";t.__esModule=true;t.stripComments=t.ensureObject=t.getProp=t.unesc=void 0;var n=_interopRequireDefault(r(753));t.unesc=n.default;var s=_interopRequireDefault(r(861));t.getProp=s.default;var i=_interopRequireDefault(r(461));t.ensureObject=i.default;var a=_interopRequireDefault(r(489));t.stripComments=a.default;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},489:(e,t)=>{"use strict";t.__esModule=true;t["default"]=stripComments;function stripComments(e){var t="";var r=e.indexOf("/*");var n=0;while(r>=0){t=t+e.slice(n,r);var s=e.indexOf("*/",r+2);if(s<0){return t}n=s+2;r=e.indexOf("/*",n)}t=t+e.slice(n);return t}e.exports=t.default},753:(e,t)=>{"use strict";t.__esModule=true;t["default"]=unesc;var r="[\\x20\\t\\r\\n\\f]";var n=new RegExp("\\\\([\\da-f]{1,6}"+r+"?|("+r+")|.)","ig");function unesc(e){return e.replace(n,(function(e,t,r){var n="0x"+t-65536;return n!==n||r?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,n&1023|56320)}))}e.exports=t.default},837:e=>{"use strict";e.exports=require("util")}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var s=t[r]={exports:{}};var i=true;try{e[r](s,s.exports,__nccwpck_require__);i=false}finally{if(i)delete t[r]}return s.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(175);module.exports=r})(); | ||
(()=>{var e={612:e=>{"use strict"; | ||
/*! https://mths.be/cssesc v3.0.0 by @mathias */var t={};var r=t.hasOwnProperty;var n=function merge(e,t){if(!e){return t}var n={};for(var s in t){n[s]=r.call(e,s)?e[s]:t[s]}return n};var s=/[ -,\.\/:-@\[-\^`\{-~]/;var i=/[ -,\.\/:-@\[\]\^`\{-~]/;var a=/['"\\]/;var o=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g;var u=function cssesc(e,t){t=n(t,cssesc.options);if(t.quotes!="single"&&t.quotes!="double"){t.quotes="single"}var r=t.quotes=="double"?'"':"'";var a=t.isIdentifier;var u=e.charAt(0);var c="";var l=0;var f=e.length;while(l<f){var p=e.charAt(l++);var h=p.charCodeAt();var d=void 0;if(h<32||h>126){if(h>=55296&&h<=56319&&l<f){var v=e.charCodeAt(l++);if((v&64512)==56320){h=((h&1023)<<10)+(v&1023)+65536}else{l--}}d="\\"+h.toString(16).toUpperCase()+" "}else{if(t.escapeEverything){if(s.test(p)){d="\\"+p}else{d="\\"+h.toString(16).toUpperCase()+" "}}else if(/[\t\n\f\r\x0B]/.test(p)){d="\\"+h.toString(16).toUpperCase()+" "}else if(p=="\\"||!a&&(p=='"'&&r==p||p=="'"&&r==p)||a&&i.test(p)){d="\\"+p}else{d=p}}c+=d}if(a){if(/^-[-\d]/.test(c)){c="\\-"+c.slice(1)}else if(/\d/.test(u)){c="\\3"+u+" "+c.slice(1)}}c=c.replace(o,(function(e,t,r){if(t&&t.length%2){return e}return(t||"")+r}));if(!a&&t.wrap){return r+c+r}return c};u.options={escapeEverything:false,isIdentifier:false,quotes:"single",wrap:false};u.version="3.0.0";e.exports=u},417:e=>{e.exports=function(e,t){var r=-1,n=[];while((r=e.indexOf(t,r+1))!==-1)n.push(r);return n}},479:(e,t,r)=>{"use strict";const n=r(266);const s=Object.prototype.hasOwnProperty;function getSingleLocalNamesForComposes(e){return e.nodes.map((t=>{if(t.type!=="selector"||t.nodes.length!==1){throw new Error(`composition is only allowed when selector is single :local class name not in "${e}"`)}t=t.nodes[0];if(t.type!=="pseudo"||t.value!==":local"||t.nodes.length!==1){throw new Error('composition is only allowed when selector is single :local class name not in "'+e+'", "'+t+'" is weird')}t=t.first;if(t.type!=="selector"||t.length!==1){throw new Error('composition is only allowed when selector is single :local class name not in "'+e+'", "'+t+'" is weird')}t=t.first;if(t.type!=="class"){throw new Error('composition is only allowed when selector is single :local class name not in "'+e+'", "'+t+'" is weird')}return t.value}))}const i="[\\x20\\t\\r\\n\\f]";const a=new RegExp("\\\\([\\da-f]{1,6}"+i+"?|("+i+")|.)","ig");function unescape(e){return e.replace(a,((e,t,r)=>{const n="0x"+t-65536;return n!==n||r?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,n&1023|56320)}))}const plugin=(e={})=>{const t=e&&e.generateScopedName||plugin.generateScopedName;const r=e&&e.generateExportEntry||plugin.generateExportEntry;const i=e&&e.exportGlobals;return{postcssPlugin:"postcss-modules-scope",Once(e,{rule:a}){const o=Object.create(null);function exportScopedName(n,s){const i=t(s?s:n,e.source.input.from,e.source.input.css);const a=r(s?s:n,i,e.source.input.from,e.source.input.css);const{key:u,value:c}=a;o[u]=o[u]||[];if(o[u].indexOf(c)<0){o[u].push(c)}return i}function localizeNode(e){switch(e.type){case"selector":e.nodes=e.map(localizeNode);return e;case"class":return n.className({value:exportScopedName(e.value,e.raws&&e.raws.value?e.raws.value:null)});case"id":{return n.id({value:exportScopedName(e.value,e.raws&&e.raws.value?e.raws.value:null)})}}throw new Error(`${e.type} ("${e}") is not allowed in a :local block`)}function traverseNode(e){switch(e.type){case"pseudo":if(e.value===":local"){if(e.nodes.length!==1){throw new Error('Unexpected comma (",") in :local block')}const t=localizeNode(e.first,e.spaces);t.first.spaces=e.spaces;const r=e.next();if(r&&r.type==="combinator"&&r.value===" "&&/\\[A-F0-9]{1,6}$/.test(t.last.value)){t.last.spaces.after=" "}e.replaceWith(t);return}case"root":case"selector":{e.each(traverseNode);break}case"id":case"class":if(i){o[e.value]=[e.value]}break}return e}const u={};e.walkRules(/^:import\(.+\)$/,(e=>{e.walkDecls((e=>{u[e.prop]=true}))}));e.walkRules((e=>{let t=n().astSync(e);e.selector=traverseNode(t.clone()).toString();e.walkDecls(/composes|compose-with/i,(e=>{const r=getSingleLocalNamesForComposes(t);const n=e.value.split(/\s+/);n.forEach((t=>{const n=/^global\(([^)]+)\)$/.exec(t);if(n){r.forEach((e=>{o[e].push(n[1])}))}else if(s.call(u,t)){r.forEach((e=>{o[e].push(t)}))}else if(s.call(o,t)){r.forEach((e=>{o[t].forEach((t=>{o[e].push(t)}))}))}else{throw e.error(`referenced class name "${t}" in ${e.prop} not found`)}}));e.remove()}));e.walkDecls((e=>{if(!/:local\s*\((.+?)\)/.test(e.value)){return}let t=e.value.split(/(,|'[^']*'|"[^"]*")/);t=t.map(((e,r)=>{if(r===0||t[r-1]===","){let t=e;const r=/:local\s*\((.+?)\)/.exec(e);if(r){const e=r.input;const n=r[0];const s=r[1];const i=exportScopedName(s);t=e.replace(n,i)}else{return e}return t}else{return e}}));e.value=t.join("")}))}));e.walkAtRules(/keyframes$/i,(e=>{const t=/^\s*:local\s*\((.+?)\)\s*$/.exec(e.params);if(!t){return}e.params=exportScopedName(t[1])}));const c=Object.keys(o);if(c.length>0){const t=a({selector:":export"});c.forEach((e=>t.append({prop:e,value:o[e].join(" "),raws:{before:"\n "}})));e.append(t)}}}};plugin.postcss=true;plugin.generateScopedName=function(e,t){const r=t.replace(/\.[^./\\]+$/,"").replace(/[\W_]+/g,"_").replace(/^_|_$/g,"");return`_${r}__${e}`.trim()};plugin.generateExportEntry=function(e,t){return{key:unescape(e),value:unescape(t)}};e.exports=plugin},266:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(218));var s=_interopRequireWildcard(r(127));function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};if(n.get||n.set){Object.defineProperty(t,r,n)}else{t[r]=e[r]}}}}t.default=e;return t}}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=function parser(e){return new n.default(e)};Object.assign(i,s);delete i.__esModule;var a=i;t["default"]=a;e.exports=t.default},562:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(417));var s=_interopRequireDefault(r(258));var i=_interopRequireDefault(r(335));var a=_interopRequireDefault(r(631));var o=_interopRequireDefault(r(748));var u=_interopRequireDefault(r(499));var c=_interopRequireDefault(r(851));var l=_interopRequireDefault(r(538));var f=_interopRequireDefault(r(115));var p=_interopRequireDefault(r(295));var h=_interopRequireWildcard(r(65));var d=_interopRequireDefault(r(180));var v=_interopRequireDefault(r(383));var _=_interopRequireDefault(r(581));var S=_interopRequireDefault(r(166));var g=_interopRequireWildcard(r(644));var T=_interopRequireWildcard(r(270));var w=_interopRequireWildcard(r(268));var m=r(190);var b,k;function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};if(n.get||n.set){Object.defineProperty(t,r,n)}else{t[r]=e[r]}}}}t.default=e;return t}}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}function _createClass(e,t,r){if(t)_defineProperties(e.prototype,t);if(r)_defineProperties(e,r);return e}var E=(b={},b[T.space]=true,b[T.cr]=true,b[T.feed]=true,b[T.newline]=true,b[T.tab]=true,b);var y=Object.assign({},E,(k={},k[T.comment]=true,k));function tokenStart(e){return{line:e[g.FIELDS.START_LINE],column:e[g.FIELDS.START_COL]}}function tokenEnd(e){return{line:e[g.FIELDS.END_LINE],column:e[g.FIELDS.END_COL]}}function getSource(e,t,r,n){return{start:{line:e,column:t},end:{line:r,column:n}}}function getTokenSource(e){return getSource(e[g.FIELDS.START_LINE],e[g.FIELDS.START_COL],e[g.FIELDS.END_LINE],e[g.FIELDS.END_COL])}function getTokenSourceSpan(e,t){if(!e){return undefined}return getSource(e[g.FIELDS.START_LINE],e[g.FIELDS.START_COL],t[g.FIELDS.END_LINE],t[g.FIELDS.END_COL])}function unescapeProp(e,t){var r=e[t];if(typeof r!=="string"){return}if(r.indexOf("\\")!==-1){(0,m.ensureObject)(e,"raws");e[t]=(0,m.unesc)(r);if(e.raws[t]===undefined){e.raws[t]=r}}return e}var P=function(){function Parser(e,t){if(t===void 0){t={}}this.rule=e;this.options=Object.assign({lossy:false,safe:false},t);this.position=0;this.css=typeof this.rule==="string"?this.rule:this.rule.selector;this.tokens=(0,g.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var r=getTokenSourceSpan(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new i.default({source:r});this.root.errorGenerator=this._errorGenerator();var n=new a.default({source:{start:{line:1,column:1}}});this.root.append(n);this.current=n;this.loop()}var e=Parser.prototype;e._errorGenerator=function _errorGenerator(){var e=this;return function(t,r){if(typeof e.rule==="string"){return new Error(t)}return e.rule.error(t,r)}};e.attribute=function attribute(){var e=[];var t=this.currToken;this.position++;while(this.position<this.tokens.length&&this.currToken[g.FIELDS.TYPE]!==T.closeSquare){e.push(this.currToken);this.position++}if(this.currToken[g.FIELDS.TYPE]!==T.closeSquare){return this.expected("closing square bracket",this.currToken[g.FIELDS.START_POS])}var r=e.length;var n={source:getSource(t[1],t[2],this.currToken[3],this.currToken[4]),sourceIndex:t[g.FIELDS.START_POS]};if(r===1&&!~[T.word].indexOf(e[0][g.FIELDS.TYPE])){return this.expected("attribute",e[0][g.FIELDS.START_POS])}var s=0;var i="";var a="";var o=null;var u=false;while(s<r){var c=e[s];var l=this.content(c);var f=e[s+1];switch(c[g.FIELDS.TYPE]){case T.space:u=true;if(this.options.lossy){break}if(o){(0,m.ensureObject)(n,"spaces",o);var p=n.spaces[o].after||"";n.spaces[o].after=p+l;var d=(0,m.getProp)(n,"raws","spaces",o,"after")||null;if(d){n.raws.spaces[o].after=d+l}}else{i=i+l;a=a+l}break;case T.asterisk:if(f[g.FIELDS.TYPE]===T.equals){n.operator=l;o="operator"}else if((!n.namespace||o==="namespace"&&!u)&&f){if(i){(0,m.ensureObject)(n,"spaces","attribute");n.spaces.attribute.before=i;i=""}if(a){(0,m.ensureObject)(n,"raws","spaces","attribute");n.raws.spaces.attribute.before=i;a=""}n.namespace=(n.namespace||"")+l;var v=(0,m.getProp)(n,"raws","namespace")||null;if(v){n.raws.namespace+=l}o="namespace"}u=false;break;case T.dollar:if(o==="value"){var _=(0,m.getProp)(n,"raws","value");n.value+="$";if(_){n.raws.value=_+"$"}break}case T.caret:if(f[g.FIELDS.TYPE]===T.equals){n.operator=l;o="operator"}u=false;break;case T.combinator:if(l==="~"&&f[g.FIELDS.TYPE]===T.equals){n.operator=l;o="operator"}if(l!=="|"){u=false;break}if(f[g.FIELDS.TYPE]===T.equals){n.operator=l;o="operator"}else if(!n.namespace&&!n.attribute){n.namespace=true}u=false;break;case T.word:if(f&&this.content(f)==="|"&&e[s+2]&&e[s+2][g.FIELDS.TYPE]!==T.equals&&!n.operator&&!n.namespace){n.namespace=l;o="namespace"}else if(!n.attribute||o==="attribute"&&!u){if(i){(0,m.ensureObject)(n,"spaces","attribute");n.spaces.attribute.before=i;i=""}if(a){(0,m.ensureObject)(n,"raws","spaces","attribute");n.raws.spaces.attribute.before=a;a=""}n.attribute=(n.attribute||"")+l;var S=(0,m.getProp)(n,"raws","attribute")||null;if(S){n.raws.attribute+=l}o="attribute"}else if(!n.value&&n.value!==""||o==="value"&&!u){var w=(0,m.unesc)(l);var b=(0,m.getProp)(n,"raws","value")||"";var k=n.value||"";n.value=k+w;n.quoteMark=null;if(w!==l||b){(0,m.ensureObject)(n,"raws");n.raws.value=(b||k)+l}o="value"}else{var E=l==="i"||l==="I";if((n.value||n.value==="")&&(n.quoteMark||u)){n.insensitive=E;if(!E||l==="I"){(0,m.ensureObject)(n,"raws");n.raws.insensitiveFlag=l}o="insensitive";if(i){(0,m.ensureObject)(n,"spaces","insensitive");n.spaces.insensitive.before=i;i=""}if(a){(0,m.ensureObject)(n,"raws","spaces","insensitive");n.raws.spaces.insensitive.before=a;a=""}}else if(n.value||n.value===""){o="value";n.value+=l;if(n.raws.value){n.raws.value+=l}}}u=false;break;case T.str:if(!n.attribute||!n.operator){return this.error("Expected an attribute followed by an operator preceding the string.",{index:c[g.FIELDS.START_POS]})}var y=(0,h.unescapeValue)(l),P=y.unescaped,O=y.quoteMark;n.value=P;n.quoteMark=O;o="value";(0,m.ensureObject)(n,"raws");n.raws.value=l;u=false;break;case T.equals:if(!n.attribute){return this.expected("attribute",c[g.FIELDS.START_POS],l)}if(n.value){return this.error('Unexpected "=" found; an operator was already defined.',{index:c[g.FIELDS.START_POS]})}n.operator=n.operator?n.operator+l:l;o="operator";u=false;break;case T.comment:if(o){if(u||f&&f[g.FIELDS.TYPE]===T.space||o==="insensitive"){var D=(0,m.getProp)(n,"spaces",o,"after")||"";var q=(0,m.getProp)(n,"raws","spaces",o,"after")||D;(0,m.ensureObject)(n,"raws","spaces",o);n.raws.spaces[o].after=q+l}else{var L=n[o]||"";var I=(0,m.getProp)(n,"raws",o)||L;(0,m.ensureObject)(n,"raws");n.raws[o]=I+l}}else{a=a+l}break;default:return this.error('Unexpected "'+l+'" found.',{index:c[g.FIELDS.START_POS]})}s++}unescapeProp(n,"attribute");unescapeProp(n,"namespace");this.newNode(new h.default(n));this.position++};e.parseWhitespaceEquivalentTokens=function parseWhitespaceEquivalentTokens(e){if(e<0){e=this.tokens.length}var t=this.position;var r=[];var n="";var s=undefined;do{if(E[this.currToken[g.FIELDS.TYPE]]){if(!this.options.lossy){n+=this.content()}}else if(this.currToken[g.FIELDS.TYPE]===T.comment){var i={};if(n){i.before=n;n=""}s=new u.default({value:this.content(),source:getTokenSource(this.currToken),sourceIndex:this.currToken[g.FIELDS.START_POS],spaces:i});r.push(s)}}while(++this.position<e);if(n){if(s){s.spaces.after=n}else if(!this.options.lossy){var a=this.tokens[t];var o=this.tokens[this.position-1];r.push(new f.default({value:"",source:getSource(a[g.FIELDS.START_LINE],a[g.FIELDS.START_COL],o[g.FIELDS.END_LINE],o[g.FIELDS.END_COL]),sourceIndex:a[g.FIELDS.START_POS],spaces:{before:n,after:""}}))}}return r};e.convertWhitespaceNodesToSpace=function convertWhitespaceNodesToSpace(e,t){var r=this;if(t===void 0){t=false}var n="";var s="";e.forEach((function(e){var i=r.lossySpace(e.spaces.before,t);var a=r.lossySpace(e.rawSpaceBefore,t);n+=i+r.lossySpace(e.spaces.after,t&&i.length===0);s+=i+e.value+r.lossySpace(e.rawSpaceAfter,t&&a.length===0)}));if(s===n){s=undefined}var i={space:n,rawSpace:s};return i};e.isNamedCombinator=function isNamedCombinator(e){if(e===void 0){e=this.position}return this.tokens[e+0]&&this.tokens[e+0][g.FIELDS.TYPE]===T.slash&&this.tokens[e+1]&&this.tokens[e+1][g.FIELDS.TYPE]===T.word&&this.tokens[e+2]&&this.tokens[e+2][g.FIELDS.TYPE]===T.slash};e.namedCombinator=function namedCombinator(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]);var t=(0,m.unesc)(e).toLowerCase();var r={};if(t!==e){r.value="/"+e+"/"}var n=new v.default({value:"/"+t+"/",source:getSource(this.currToken[g.FIELDS.START_LINE],this.currToken[g.FIELDS.START_COL],this.tokens[this.position+2][g.FIELDS.END_LINE],this.tokens[this.position+2][g.FIELDS.END_COL]),sourceIndex:this.currToken[g.FIELDS.START_POS],raws:r});this.position=this.position+3;return n}else{this.unexpected()}};e.combinator=function combinator(){var e=this;if(this.content()==="|"){return this.namespace()}var t=this.locateNextMeaningfulToken(this.position);if(t<0||this.tokens[t][g.FIELDS.TYPE]===T.comma){var r=this.parseWhitespaceEquivalentTokens(t);if(r.length>0){var n=this.current.last;if(n){var s=this.convertWhitespaceNodesToSpace(r),i=s.space,a=s.rawSpace;if(a!==undefined){n.rawSpaceAfter+=a}n.spaces.after+=i}else{r.forEach((function(t){return e.newNode(t)}))}}return}var o=this.currToken;var u=undefined;if(t>this.position){u=this.parseWhitespaceEquivalentTokens(t)}var c;if(this.isNamedCombinator()){c=this.namedCombinator()}else if(this.currToken[g.FIELDS.TYPE]===T.combinator){c=new v.default({value:this.content(),source:getTokenSource(this.currToken),sourceIndex:this.currToken[g.FIELDS.START_POS]});this.position++}else if(E[this.currToken[g.FIELDS.TYPE]]){}else if(!u){this.unexpected()}if(c){if(u){var l=this.convertWhitespaceNodesToSpace(u),f=l.space,p=l.rawSpace;c.spaces.before=f;c.rawSpaceBefore=p}}else{var h=this.convertWhitespaceNodesToSpace(u,true),d=h.space,_=h.rawSpace;if(!_){_=d}var S={};var w={spaces:{}};if(d.endsWith(" ")&&_.endsWith(" ")){S.before=d.slice(0,d.length-1);w.spaces.before=_.slice(0,_.length-1)}else if(d.startsWith(" ")&&_.startsWith(" ")){S.after=d.slice(1);w.spaces.after=_.slice(1)}else{w.value=_}c=new v.default({value:" ",source:getTokenSourceSpan(o,this.tokens[this.position-1]),sourceIndex:o[g.FIELDS.START_POS],spaces:S,raws:w})}if(this.currToken&&this.currToken[g.FIELDS.TYPE]===T.space){c.spaces.after=this.optionalSpace(this.content());this.position++}return this.newNode(c)};e.comma=function comma(){if(this.position===this.tokens.length-1){this.root.trailingComma=true;this.position++;return}this.current._inferEndPosition();var e=new a.default({source:{start:tokenStart(this.tokens[this.position+1])}});this.current.parent.append(e);this.current=e;this.position++};e.comment=function comment(){var e=this.currToken;this.newNode(new u.default({value:this.content(),source:getTokenSource(e),sourceIndex:e[g.FIELDS.START_POS]}));this.position++};e.error=function error(e,t){throw this.root.error(e,t)};e.missingBackslash=function missingBackslash(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[g.FIELDS.START_POS]})};e.missingParenthesis=function missingParenthesis(){return this.expected("opening parenthesis",this.currToken[g.FIELDS.START_POS])};e.missingSquareBracket=function missingSquareBracket(){return this.expected("opening square bracket",this.currToken[g.FIELDS.START_POS])};e.unexpected=function unexpected(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[g.FIELDS.START_POS])};e.namespace=function namespace(){var e=this.prevToken&&this.content(this.prevToken)||true;if(this.nextToken[g.FIELDS.TYPE]===T.word){this.position++;return this.word(e)}else if(this.nextToken[g.FIELDS.TYPE]===T.asterisk){this.position++;return this.universal(e)}};e.nesting=function nesting(){if(this.nextToken){var e=this.content(this.nextToken);if(e==="|"){this.position++;return}}var t=this.currToken;this.newNode(new _.default({value:this.content(),source:getTokenSource(t),sourceIndex:t[g.FIELDS.START_POS]}));this.position++};e.parentheses=function parentheses(){var e=this.current.last;var t=1;this.position++;if(e&&e.type===w.PSEUDO){var r=new a.default({source:{start:tokenStart(this.tokens[this.position-1])}});var n=this.current;e.append(r);this.current=r;while(this.position<this.tokens.length&&t){if(this.currToken[g.FIELDS.TYPE]===T.openParenthesis){t++}if(this.currToken[g.FIELDS.TYPE]===T.closeParenthesis){t--}if(t){this.parse()}else{this.current.source.end=tokenEnd(this.currToken);this.current.parent.source.end=tokenEnd(this.currToken);this.position++}}this.current=n}else{var s=this.currToken;var i="(";var o;while(this.position<this.tokens.length&&t){if(this.currToken[g.FIELDS.TYPE]===T.openParenthesis){t++}if(this.currToken[g.FIELDS.TYPE]===T.closeParenthesis){t--}o=this.currToken;i+=this.parseParenthesisToken(this.currToken);this.position++}if(e){e.appendToPropertyAndEscape("value",i,i)}else{this.newNode(new f.default({value:i,source:getSource(s[g.FIELDS.START_LINE],s[g.FIELDS.START_COL],o[g.FIELDS.END_LINE],o[g.FIELDS.END_COL]),sourceIndex:s[g.FIELDS.START_POS]}))}}if(t){return this.expected("closing parenthesis",this.currToken[g.FIELDS.START_POS])}};e.pseudo=function pseudo(){var e=this;var t="";var r=this.currToken;while(this.currToken&&this.currToken[g.FIELDS.TYPE]===T.colon){t+=this.content();this.position++}if(!this.currToken){return this.expected(["pseudo-class","pseudo-element"],this.position-1)}if(this.currToken[g.FIELDS.TYPE]===T.word){this.splitWord(false,(function(n,s){t+=n;e.newNode(new p.default({value:t,source:getTokenSourceSpan(r,e.currToken),sourceIndex:r[g.FIELDS.START_POS]}));if(s>1&&e.nextToken&&e.nextToken[g.FIELDS.TYPE]===T.openParenthesis){e.error("Misplaced parenthesis.",{index:e.nextToken[g.FIELDS.START_POS]})}}))}else{return this.expected(["pseudo-class","pseudo-element"],this.currToken[g.FIELDS.START_POS])}};e.space=function space(){var e=this.content();if(this.position===0||this.prevToken[g.FIELDS.TYPE]===T.comma||this.prevToken[g.FIELDS.TYPE]===T.openParenthesis||this.current.nodes.every((function(e){return e.type==="comment"}))){this.spaces=this.optionalSpace(e);this.position++}else if(this.position===this.tokens.length-1||this.nextToken[g.FIELDS.TYPE]===T.comma||this.nextToken[g.FIELDS.TYPE]===T.closeParenthesis){this.current.last.spaces.after=this.optionalSpace(e);this.position++}else{this.combinator()}};e.string=function string(){var e=this.currToken;this.newNode(new f.default({value:this.content(),source:getTokenSource(e),sourceIndex:e[g.FIELDS.START_POS]}));this.position++};e.universal=function universal(e){var t=this.nextToken;if(t&&this.content(t)==="|"){this.position++;return this.namespace()}var r=this.currToken;this.newNode(new d.default({value:this.content(),source:getTokenSource(r),sourceIndex:r[g.FIELDS.START_POS]}),e);this.position++};e.splitWord=function splitWord(e,t){var r=this;var i=this.nextToken;var a=this.content();while(i&&~[T.dollar,T.caret,T.equals,T.word].indexOf(i[g.FIELDS.TYPE])){this.position++;var u=this.content();a+=u;if(u.lastIndexOf("\\")===u.length-1){var f=this.nextToken;if(f&&f[g.FIELDS.TYPE]===T.space){a+=this.requiredSpace(this.content(f));this.position++}}i=this.nextToken}var p=(0,n.default)(a,".").filter((function(e){return a[e-1]!=="\\"}));var h=(0,n.default)(a,"#").filter((function(e){return a[e-1]!=="\\"}));var d=(0,n.default)(a,"#{");if(d.length){h=h.filter((function(e){return!~d.indexOf(e)}))}var v=(0,S.default)((0,s.default)([0].concat(p,h)));v.forEach((function(n,s){var i=v[s+1]||a.length;var u=a.slice(n,i);if(s===0&&t){return t.call(r,u,v.length)}var f;var d=r.currToken;var _=d[g.FIELDS.START_POS]+v[s];var S=getSource(d[1],d[2]+n,d[3],d[2]+(i-1));if(~p.indexOf(n)){var T={value:u.slice(1),source:S,sourceIndex:_};f=new o.default(unescapeProp(T,"value"))}else if(~h.indexOf(n)){var w={value:u.slice(1),source:S,sourceIndex:_};f=new c.default(unescapeProp(w,"value"))}else{var m={value:u,source:S,sourceIndex:_};unescapeProp(m,"value");f=new l.default(m)}r.newNode(f,e);e=null}));this.position++};e.word=function word(e){var t=this.nextToken;if(t&&this.content(t)==="|"){this.position++;return this.namespace()}return this.splitWord(e)};e.loop=function loop(){while(this.position<this.tokens.length){this.parse(true)}this.current._inferEndPosition();return this.root};e.parse=function parse(e){switch(this.currToken[g.FIELDS.TYPE]){case T.space:this.space();break;case T.comment:this.comment();break;case T.openParenthesis:this.parentheses();break;case T.closeParenthesis:if(e){this.missingParenthesis()}break;case T.openSquare:this.attribute();break;case T.dollar:case T.caret:case T.equals:case T.word:this.word();break;case T.colon:this.pseudo();break;case T.comma:this.comma();break;case T.asterisk:this.universal();break;case T.ampersand:this.nesting();break;case T.slash:case T.combinator:this.combinator();break;case T.str:this.string();break;case T.closeSquare:this.missingSquareBracket();case T.semicolon:this.missingBackslash();default:this.unexpected()}};e.expected=function expected(e,t,r){if(Array.isArray(e)){var n=e.pop();e=e.join(", ")+" or "+n}var s=/^[aeiou]/.test(e[0])?"an":"a";if(!r){return this.error("Expected "+s+" "+e+".",{index:t})}return this.error("Expected "+s+" "+e+', found "'+r+'" instead.',{index:t})};e.requiredSpace=function requiredSpace(e){return this.options.lossy?" ":e};e.optionalSpace=function optionalSpace(e){return this.options.lossy?"":e};e.lossySpace=function lossySpace(e,t){if(this.options.lossy){return t?" ":""}else{return e}};e.parseParenthesisToken=function parseParenthesisToken(e){var t=this.content(e);if(e[g.FIELDS.TYPE]===T.space){return this.requiredSpace(t)}else{return t}};e.newNode=function newNode(e,t){if(t){if(/^ +$/.test(t)){if(!this.options.lossy){this.spaces=(this.spaces||"")+t}t=true}e.namespace=t;unescapeProp(e,"namespace")}if(this.spaces){e.spaces.before=this.spaces;this.spaces=""}return this.current.append(e)};e.content=function content(e){if(e===void 0){e=this.currToken}return this.css.slice(e[g.FIELDS.START_POS],e[g.FIELDS.END_POS])};e.locateNextMeaningfulToken=function locateNextMeaningfulToken(e){if(e===void 0){e=this.position+1}var t=e;while(t<this.tokens.length){if(y[this.tokens[t][g.FIELDS.TYPE]]){t++;continue}else{return t}}return-1};_createClass(Parser,[{key:"currToken",get:function get(){return this.tokens[this.position]}},{key:"nextToken",get:function get(){return this.tokens[this.position+1]}},{key:"prevToken",get:function get(){return this.tokens[this.position-1]}}]);return Parser}();t["default"]=P;e.exports=t.default},218:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(562));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var s=function(){function Processor(e,t){this.func=e||function noop(){};this.funcRes=null;this.options=t}var e=Processor.prototype;e._shouldUpdateSelector=function _shouldUpdateSelector(e,t){if(t===void 0){t={}}var r=Object.assign({},this.options,t);if(r.updateSelector===false){return false}else{return typeof e!=="string"}};e._isLossy=function _isLossy(e){if(e===void 0){e={}}var t=Object.assign({},this.options,e);if(t.lossless===false){return true}else{return false}};e._root=function _root(e,t){if(t===void 0){t={}}var r=new n.default(e,this._parseOptions(t));return r.root};e._parseOptions=function _parseOptions(e){return{lossy:this._isLossy(e)}};e._run=function _run(e,t){var r=this;if(t===void 0){t={}}return new Promise((function(n,s){try{var i=r._root(e,t);Promise.resolve(r.func(i)).then((function(n){var s=undefined;if(r._shouldUpdateSelector(e,t)){s=i.toString();e.selector=s}return{transform:n,root:i,string:s}})).then(n,s)}catch(e){s(e);return}}))};e._runSync=function _runSync(e,t){if(t===void 0){t={}}var r=this._root(e,t);var n=this.func(r);if(n&&typeof n.then==="function"){throw new Error("Selector processor returned a promise to a synchronous call.")}var s=undefined;if(t.updateSelector&&typeof e!=="string"){s=r.toString();e.selector=s}return{transform:n,root:r,string:s}};e.ast=function ast(e,t){return this._run(e,t).then((function(e){return e.root}))};e.astSync=function astSync(e,t){return this._runSync(e,t).root};e.transform=function transform(e,t){return this._run(e,t).then((function(e){return e.transform}))};e.transformSync=function transformSync(e,t){return this._runSync(e,t).transform};e.process=function process(e,t){return this._run(e,t).then((function(e){return e.string||e.root.toString()}))};e.processSync=function processSync(e,t){var r=this._runSync(e,t);return r.string||r.root.toString()};return Processor}();t["default"]=s;e.exports=t.default},65:(e,t,r)=>{"use strict";t.__esModule=true;t.unescapeValue=unescapeValue;t["default"]=void 0;var n=_interopRequireDefault(r(612));var s=_interopRequireDefault(r(91));var i=_interopRequireDefault(r(678));var a=r(268);var o;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}function _createClass(e,t,r){if(t)_defineProperties(e.prototype,t);if(r)_defineProperties(e,r);return e}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var u=r(209);var c=/^('|")(.*)\1$/;var l=u((function(){}),"Assigning an attribute a value containing characters that might need to be escaped is deprecated. "+"Call attribute.setValue() instead.");var f=u((function(){}),"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead.");var p=u((function(){}),"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function unescapeValue(e){var t=false;var r=null;var n=e;var i=n.match(c);if(i){r=i[1];n=i[2]}n=(0,s.default)(n);if(n!==e){t=true}return{deprecatedUsage:t,unescaped:n,quoteMark:r}}function handleDeprecatedContructorOpts(e){if(e.quoteMark!==undefined){return e}if(e.value===undefined){return e}p();var t=unescapeValue(e.value),r=t.quoteMark,n=t.unescaped;if(!e.raws){e.raws={}}if(e.raws.value===undefined){e.raws.value=e.value}e.value=n;e.quoteMark=r;return e}var h=function(e){_inheritsLoose(Attribute,e);function Attribute(t){var r;if(t===void 0){t={}}r=e.call(this,handleDeprecatedContructorOpts(t))||this;r.type=a.ATTRIBUTE;r.raws=r.raws||{};Object.defineProperty(r.raws,"unquoted",{get:u((function(){return r.value}),"attr.raws.unquoted is deprecated. Call attr.value instead."),set:u((function(){return r.value}),"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")});r._constructed=true;return r}var t=Attribute.prototype;t.getQuotedValue=function getQuotedValue(e){if(e===void 0){e={}}var t=this._determineQuoteMark(e);var r=d[t];var s=(0,n.default)(this._value,r);return s};t._determineQuoteMark=function _determineQuoteMark(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)};t.setValue=function setValue(e,t){if(t===void 0){t={}}this._value=e;this._quoteMark=this._determineQuoteMark(t);this._syncRawValue()};t.smartQuoteMark=function smartQuoteMark(e){var t=this.value;var r=t.replace(/[^']/g,"").length;var s=t.replace(/[^"]/g,"").length;if(r+s===0){var i=(0,n.default)(t,{isIdentifier:true});if(i===t){return Attribute.NO_QUOTE}else{var a=this.preferredQuoteMark(e);if(a===Attribute.NO_QUOTE){var o=this.quoteMark||e.quoteMark||Attribute.DOUBLE_QUOTE;var u=d[o];var c=(0,n.default)(t,u);if(c.length<i.length){return o}}return a}}else if(s===r){return this.preferredQuoteMark(e)}else if(s<r){return Attribute.DOUBLE_QUOTE}else{return Attribute.SINGLE_QUOTE}};t.preferredQuoteMark=function preferredQuoteMark(e){var t=e.preferCurrentQuoteMark?this.quoteMark:e.quoteMark;if(t===undefined){t=e.preferCurrentQuoteMark?e.quoteMark:this.quoteMark}if(t===undefined){t=Attribute.DOUBLE_QUOTE}return t};t._syncRawValue=function _syncRawValue(){var e=(0,n.default)(this._value,d[this.quoteMark]);if(e===this._value){if(this.raws){delete this.raws.value}}else{this.raws.value=e}};t._handleEscapes=function _handleEscapes(e,t){if(this._constructed){var r=(0,n.default)(t,{isIdentifier:true});if(r!==t){this.raws[e]=r}else{delete this.raws[e]}}};t._spacesFor=function _spacesFor(e){var t={before:"",after:""};var r=this.spaces[e]||{};var n=this.raws.spaces&&this.raws.spaces[e]||{};return Object.assign(t,r,n)};t._stringFor=function _stringFor(e,t,r){if(t===void 0){t=e}if(r===void 0){r=defaultAttrConcat}var n=this._spacesFor(t);return r(this.stringifyProperty(e),n)};t.offsetOf=function offsetOf(e){var t=1;var r=this._spacesFor("attribute");t+=r.before.length;if(e==="namespace"||e==="ns"){return this.namespace?t:-1}if(e==="attributeNS"){return t}t+=this.namespaceString.length;if(this.namespace){t+=1}if(e==="attribute"){return t}t+=this.stringifyProperty("attribute").length;t+=r.after.length;var n=this._spacesFor("operator");t+=n.before.length;var s=this.stringifyProperty("operator");if(e==="operator"){return s?t:-1}t+=s.length;t+=n.after.length;var i=this._spacesFor("value");t+=i.before.length;var a=this.stringifyProperty("value");if(e==="value"){return a?t:-1}t+=a.length;t+=i.after.length;var o=this._spacesFor("insensitive");t+=o.before.length;if(e==="insensitive"){return this.insensitive?t:-1}return-1};t.toString=function toString(){var e=this;var t=[this.rawSpaceBefore,"["];t.push(this._stringFor("qualifiedAttribute","attribute"));if(this.operator&&(this.value||this.value==="")){t.push(this._stringFor("operator"));t.push(this._stringFor("value"));t.push(this._stringFor("insensitiveFlag","insensitive",(function(t,r){if(t.length>0&&!e.quoted&&r.before.length===0&&!(e.spaces.value&&e.spaces.value.after)){r.before=" "}return defaultAttrConcat(t,r)})))}t.push("]");t.push(this.rawSpaceAfter);return t.join("")};_createClass(Attribute,[{key:"quoted",get:function get(){var e=this.quoteMark;return e==="'"||e==='"'},set:function set(e){f()}},{key:"quoteMark",get:function get(){return this._quoteMark},set:function set(e){if(!this._constructed){this._quoteMark=e;return}if(this._quoteMark!==e){this._quoteMark=e;this._syncRawValue()}}},{key:"qualifiedAttribute",get:function get(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function get(){return this.insensitive?"i":""}},{key:"value",get:function get(){return this._value},set:function set(e){if(this._constructed){var t=unescapeValue(e),r=t.deprecatedUsage,n=t.unescaped,s=t.quoteMark;if(r){l()}if(n===this._value&&s===this._quoteMark){return}this._value=n;this._quoteMark=s;this._syncRawValue()}else{this._value=e}}},{key:"attribute",get:function get(){return this._attribute},set:function set(e){this._handleEscapes("attribute",e);this._attribute=e}}]);return Attribute}(i.default);t["default"]=h;h.NO_QUOTE=null;h.SINGLE_QUOTE="'";h.DOUBLE_QUOTE='"';var d=(o={"'":{quotes:"single",wrap:true},'"':{quotes:"double",wrap:true}},o[null]={isIdentifier:true},o);function defaultAttrConcat(e,t){return""+t.before+e+t.after}},748:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(612));var s=r(190);var i=_interopRequireDefault(r(945));var a=r(268);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}function _createClass(e,t,r){if(t)_defineProperties(e.prototype,t);if(r)_defineProperties(e,r);return e}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var o=function(e){_inheritsLoose(ClassName,e);function ClassName(t){var r;r=e.call(this,t)||this;r.type=a.CLASS;r._constructed=true;return r}var t=ClassName.prototype;t.valueToString=function valueToString(){return"."+e.prototype.valueToString.call(this)};_createClass(ClassName,[{key:"value",set:function set(e){if(this._constructed){var t=(0,n.default)(e,{isIdentifier:true});if(t!==e){(0,s.ensureObject)(this,"raws");this.raws.value=t}else if(this.raws){delete this.raws.value}}this._value=e},get:function get(){return this._value}}]);return ClassName}(i.default);t["default"]=o;e.exports=t.default},383:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(945));var s=r(268);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var i=function(e){_inheritsLoose(Combinator,e);function Combinator(t){var r;r=e.call(this,t)||this;r.type=s.COMBINATOR;return r}return Combinator}(n.default);t["default"]=i;e.exports=t.default},499:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(945));var s=r(268);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var i=function(e){_inheritsLoose(Comment,e);function Comment(t){var r;r=e.call(this,t)||this;r.type=s.COMMENT;return r}return Comment}(n.default);t["default"]=i;e.exports=t.default},740:(e,t,r)=>{"use strict";t.__esModule=true;t.universal=t.tag=t.string=t.selector=t.root=t.pseudo=t.nesting=t.id=t.comment=t.combinator=t.className=t.attribute=void 0;var n=_interopRequireDefault(r(65));var s=_interopRequireDefault(r(748));var i=_interopRequireDefault(r(383));var a=_interopRequireDefault(r(499));var o=_interopRequireDefault(r(851));var u=_interopRequireDefault(r(581));var c=_interopRequireDefault(r(295));var l=_interopRequireDefault(r(335));var f=_interopRequireDefault(r(631));var p=_interopRequireDefault(r(115));var h=_interopRequireDefault(r(538));var d=_interopRequireDefault(r(180));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var v=function attribute(e){return new n.default(e)};t.attribute=v;var _=function className(e){return new s.default(e)};t.className=_;var S=function combinator(e){return new i.default(e)};t.combinator=S;var g=function comment(e){return new a.default(e)};t.comment=g;var T=function id(e){return new o.default(e)};t.id=T;var w=function nesting(e){return new u.default(e)};t.nesting=w;var m=function pseudo(e){return new c.default(e)};t.pseudo=m;var b=function root(e){return new l.default(e)};t.root=b;var k=function selector(e){return new f.default(e)};t.selector=k;var E=function string(e){return new p.default(e)};t.string=E;var y=function tag(e){return new h.default(e)};t.tag=y;var P=function universal(e){return new d.default(e)};t.universal=P},227:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(945));var s=_interopRequireWildcard(r(268));function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};if(n.get||n.set){Object.defineProperty(t,r,n)}else{t[r]=e[r]}}}}t.default=e;return t}}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}function _createClass(e,t,r){if(t)_defineProperties(e.prototype,t);if(r)_defineProperties(e,r);return e}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var i=function(e){_inheritsLoose(Container,e);function Container(t){var r;r=e.call(this,t)||this;if(!r.nodes){r.nodes=[]}return r}var t=Container.prototype;t.append=function append(e){e.parent=this;this.nodes.push(e);return this};t.prepend=function prepend(e){e.parent=this;this.nodes.unshift(e);return this};t.at=function at(e){return this.nodes[e]};t.index=function index(e){if(typeof e==="number"){return e}return this.nodes.indexOf(e)};t.removeChild=function removeChild(e){e=this.index(e);this.at(e).parent=undefined;this.nodes.splice(e,1);var t;for(var r in this.indexes){t=this.indexes[r];if(t>=e){this.indexes[r]=t-1}}return this};t.removeAll=function removeAll(){for(var e=this.nodes,t=Array.isArray(e),r=0,e=t?e:e[Symbol.iterator]();;){var n;if(t){if(r>=e.length)break;n=e[r++]}else{r=e.next();if(r.done)break;n=r.value}var s=n;s.parent=undefined}this.nodes=[];return this};t.empty=function empty(){return this.removeAll()};t.insertAfter=function insertAfter(e,t){t.parent=this;var r=this.index(e);this.nodes.splice(r+1,0,t);t.parent=this;var n;for(var s in this.indexes){n=this.indexes[s];if(r<=n){this.indexes[s]=n+1}}return this};t.insertBefore=function insertBefore(e,t){t.parent=this;var r=this.index(e);this.nodes.splice(r,0,t);t.parent=this;var n;for(var s in this.indexes){n=this.indexes[s];if(n<=r){this.indexes[s]=n+1}}return this};t._findChildAtPosition=function _findChildAtPosition(e,t){var r=undefined;this.each((function(n){if(n.atPosition){var s=n.atPosition(e,t);if(s){r=s;return false}}else if(n.isAtPosition(e,t)){r=n;return false}}));return r};t.atPosition=function atPosition(e,t){if(this.isAtPosition(e,t)){return this._findChildAtPosition(e,t)||this}else{return undefined}};t._inferEndPosition=function _inferEndPosition(){if(this.last&&this.last.source&&this.last.source.end){this.source=this.source||{};this.source.end=this.source.end||{};Object.assign(this.source.end,this.last.source.end)}};t.each=function each(e){if(!this.lastEach){this.lastEach=0}if(!this.indexes){this.indexes={}}this.lastEach++;var t=this.lastEach;this.indexes[t]=0;if(!this.length){return undefined}var r,n;while(this.indexes[t]<this.length){r=this.indexes[t];n=e(this.at(r),r);if(n===false){break}this.indexes[t]+=1}delete this.indexes[t];if(n===false){return false}};t.walk=function walk(e){return this.each((function(t,r){var n=e(t,r);if(n!==false&&t.length){n=t.walk(e)}if(n===false){return false}}))};t.walkAttributes=function walkAttributes(e){var t=this;return this.walk((function(r){if(r.type===s.ATTRIBUTE){return e.call(t,r)}}))};t.walkClasses=function walkClasses(e){var t=this;return this.walk((function(r){if(r.type===s.CLASS){return e.call(t,r)}}))};t.walkCombinators=function walkCombinators(e){var t=this;return this.walk((function(r){if(r.type===s.COMBINATOR){return e.call(t,r)}}))};t.walkComments=function walkComments(e){var t=this;return this.walk((function(r){if(r.type===s.COMMENT){return e.call(t,r)}}))};t.walkIds=function walkIds(e){var t=this;return this.walk((function(r){if(r.type===s.ID){return e.call(t,r)}}))};t.walkNesting=function walkNesting(e){var t=this;return this.walk((function(r){if(r.type===s.NESTING){return e.call(t,r)}}))};t.walkPseudos=function walkPseudos(e){var t=this;return this.walk((function(r){if(r.type===s.PSEUDO){return e.call(t,r)}}))};t.walkTags=function walkTags(e){var t=this;return this.walk((function(r){if(r.type===s.TAG){return e.call(t,r)}}))};t.walkUniversals=function walkUniversals(e){var t=this;return this.walk((function(r){if(r.type===s.UNIVERSAL){return e.call(t,r)}}))};t.split=function split(e){var t=this;var r=[];return this.reduce((function(n,s,i){var a=e.call(t,s);r.push(s);if(a){n.push(r);r=[]}else if(i===t.length-1){n.push(r)}return n}),[])};t.map=function map(e){return this.nodes.map(e)};t.reduce=function reduce(e,t){return this.nodes.reduce(e,t)};t.every=function every(e){return this.nodes.every(e)};t.some=function some(e){return this.nodes.some(e)};t.filter=function filter(e){return this.nodes.filter(e)};t.sort=function sort(e){return this.nodes.sort(e)};t.toString=function toString(){return this.map(String).join("")};_createClass(Container,[{key:"first",get:function get(){return this.at(0)}},{key:"last",get:function get(){return this.at(this.length-1)}},{key:"length",get:function get(){return this.nodes.length}}]);return Container}(n.default);t["default"]=i;e.exports=t.default},921:(e,t,r)=>{"use strict";t.__esModule=true;t.isNode=isNode;t.isPseudoElement=isPseudoElement;t.isPseudoClass=isPseudoClass;t.isContainer=isContainer;t.isNamespace=isNamespace;t.isUniversal=t.isTag=t.isString=t.isSelector=t.isRoot=t.isPseudo=t.isNesting=t.isIdentifier=t.isComment=t.isCombinator=t.isClassName=t.isAttribute=void 0;var n=r(268);var s;var i=(s={},s[n.ATTRIBUTE]=true,s[n.CLASS]=true,s[n.COMBINATOR]=true,s[n.COMMENT]=true,s[n.ID]=true,s[n.NESTING]=true,s[n.PSEUDO]=true,s[n.ROOT]=true,s[n.SELECTOR]=true,s[n.STRING]=true,s[n.TAG]=true,s[n.UNIVERSAL]=true,s);function isNode(e){return typeof e==="object"&&i[e.type]}function isNodeType(e,t){return isNode(t)&&t.type===e}var a=isNodeType.bind(null,n.ATTRIBUTE);t.isAttribute=a;var o=isNodeType.bind(null,n.CLASS);t.isClassName=o;var u=isNodeType.bind(null,n.COMBINATOR);t.isCombinator=u;var c=isNodeType.bind(null,n.COMMENT);t.isComment=c;var l=isNodeType.bind(null,n.ID);t.isIdentifier=l;var f=isNodeType.bind(null,n.NESTING);t.isNesting=f;var p=isNodeType.bind(null,n.PSEUDO);t.isPseudo=p;var h=isNodeType.bind(null,n.ROOT);t.isRoot=h;var d=isNodeType.bind(null,n.SELECTOR);t.isSelector=d;var v=isNodeType.bind(null,n.STRING);t.isString=v;var _=isNodeType.bind(null,n.TAG);t.isTag=_;var S=isNodeType.bind(null,n.UNIVERSAL);t.isUniversal=S;function isPseudoElement(e){return p(e)&&e.value&&(e.value.startsWith("::")||e.value.toLowerCase()===":before"||e.value.toLowerCase()===":after")}function isPseudoClass(e){return p(e)&&!isPseudoElement(e)}function isContainer(e){return!!(isNode(e)&&e.walk)}function isNamespace(e){return a(e)||_(e)}},851:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(945));var s=r(268);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var i=function(e){_inheritsLoose(ID,e);function ID(t){var r;r=e.call(this,t)||this;r.type=s.ID;return r}var t=ID.prototype;t.valueToString=function valueToString(){return"#"+e.prototype.valueToString.call(this)};return ID}(n.default);t["default"]=i;e.exports=t.default},127:(e,t,r)=>{"use strict";t.__esModule=true;var n=r(268);Object.keys(n).forEach((function(e){if(e==="default"||e==="__esModule")return;t[e]=n[e]}));var s=r(740);Object.keys(s).forEach((function(e){if(e==="default"||e==="__esModule")return;t[e]=s[e]}));var i=r(921);Object.keys(i).forEach((function(e){if(e==="default"||e==="__esModule")return;t[e]=i[e]}))},678:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(612));var s=r(190);var i=_interopRequireDefault(r(945));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}function _createClass(e,t,r){if(t)_defineProperties(e.prototype,t);if(r)_defineProperties(e,r);return e}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var a=function(e){_inheritsLoose(Namespace,e);function Namespace(){return e.apply(this,arguments)||this}var t=Namespace.prototype;t.qualifiedName=function qualifiedName(e){if(this.namespace){return this.namespaceString+"|"+e}else{return e}};t.valueToString=function valueToString(){return this.qualifiedName(e.prototype.valueToString.call(this))};_createClass(Namespace,[{key:"namespace",get:function get(){return this._namespace},set:function set(e){if(e===true||e==="*"||e==="&"){this._namespace=e;if(this.raws){delete this.raws.namespace}return}var t=(0,n.default)(e,{isIdentifier:true});this._namespace=e;if(t!==e){(0,s.ensureObject)(this,"raws");this.raws.namespace=t}else if(this.raws){delete this.raws.namespace}}},{key:"ns",get:function get(){return this._namespace},set:function set(e){this.namespace=e}},{key:"namespaceString",get:function get(){if(this.namespace){var e=this.stringifyProperty("namespace");if(e===true){return""}else{return e}}else{return""}}}]);return Namespace}(i.default);t["default"]=a;e.exports=t.default},581:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(945));var s=r(268);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var i=function(e){_inheritsLoose(Nesting,e);function Nesting(t){var r;r=e.call(this,t)||this;r.type=s.NESTING;r.value="&";return r}return Nesting}(n.default);t["default"]=i;e.exports=t.default},945:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=r(190);function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}function _createClass(e,t,r){if(t)_defineProperties(e.prototype,t);if(r)_defineProperties(e,r);return e}var s=function cloneNode(e,t){if(typeof e!=="object"||e===null){return e}var r=new e.constructor;for(var n in e){if(!e.hasOwnProperty(n)){continue}var s=e[n];var i=typeof s;if(n==="parent"&&i==="object"){if(t){r[n]=t}}else if(s instanceof Array){r[n]=s.map((function(e){return cloneNode(e,r)}))}else{r[n]=cloneNode(s,r)}}return r};var i=function(){function Node(e){if(e===void 0){e={}}Object.assign(this,e);this.spaces=this.spaces||{};this.spaces.before=this.spaces.before||"";this.spaces.after=this.spaces.after||""}var e=Node.prototype;e.remove=function remove(){if(this.parent){this.parent.removeChild(this)}this.parent=undefined;return this};e.replaceWith=function replaceWith(){if(this.parent){for(var e in arguments){this.parent.insertBefore(this,arguments[e])}this.remove()}return this};e.next=function next(){return this.parent.at(this.parent.index(this)+1)};e.prev=function prev(){return this.parent.at(this.parent.index(this)-1)};e.clone=function clone(e){if(e===void 0){e={}}var t=s(this);for(var r in e){t[r]=e[r]}return t};e.appendToPropertyAndEscape=function appendToPropertyAndEscape(e,t,r){if(!this.raws){this.raws={}}var n=this[e];var s=this.raws[e];this[e]=n+t;if(s||r!==t){this.raws[e]=(s||n)+r}else{delete this.raws[e]}};e.setPropertyAndEscape=function setPropertyAndEscape(e,t,r){if(!this.raws){this.raws={}}this[e]=t;this.raws[e]=r};e.setPropertyWithoutEscape=function setPropertyWithoutEscape(e,t){this[e]=t;if(this.raws){delete this.raws[e]}};e.isAtPosition=function isAtPosition(e,t){if(this.source&&this.source.start&&this.source.end){if(this.source.start.line>e){return false}if(this.source.end.line<e){return false}if(this.source.start.line===e&&this.source.start.column>t){return false}if(this.source.end.line===e&&this.source.end.column<t){return false}return true}return undefined};e.stringifyProperty=function stringifyProperty(e){return this.raws&&this.raws[e]||this[e]};e.valueToString=function valueToString(){return String(this.stringifyProperty("value"))};e.toString=function toString(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")};_createClass(Node,[{key:"rawSpaceBefore",get:function get(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.before;if(e===undefined){e=this.spaces&&this.spaces.before}return e||""},set:function set(e){(0,n.ensureObject)(this,"raws","spaces");this.raws.spaces.before=e}},{key:"rawSpaceAfter",get:function get(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.after;if(e===undefined){e=this.spaces.after}return e||""},set:function set(e){(0,n.ensureObject)(this,"raws","spaces");this.raws.spaces.after=e}}]);return Node}();t["default"]=i;e.exports=t.default},295:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(227));var s=r(268);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var i=function(e){_inheritsLoose(Pseudo,e);function Pseudo(t){var r;r=e.call(this,t)||this;r.type=s.PSEUDO;return r}var t=Pseudo.prototype;t.toString=function toString(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")};return Pseudo}(n.default);t["default"]=i;e.exports=t.default},335:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(227));var s=r(268);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(e,n.key,n)}}function _createClass(e,t,r){if(t)_defineProperties(e.prototype,t);if(r)_defineProperties(e,r);return e}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var i=function(e){_inheritsLoose(Root,e);function Root(t){var r;r=e.call(this,t)||this;r.type=s.ROOT;return r}var t=Root.prototype;t.toString=function toString(){var e=this.reduce((function(e,t){e.push(String(t));return e}),[]).join(",");return this.trailingComma?e+",":e};t.error=function error(e,t){if(this._error){return this._error(e,t)}else{return new Error(e)}};_createClass(Root,[{key:"errorGenerator",set:function set(e){this._error=e}}]);return Root}(n.default);t["default"]=i;e.exports=t.default},631:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(227));var s=r(268);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var i=function(e){_inheritsLoose(Selector,e);function Selector(t){var r;r=e.call(this,t)||this;r.type=s.SELECTOR;return r}return Selector}(n.default);t["default"]=i;e.exports=t.default},115:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(945));var s=r(268);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var i=function(e){_inheritsLoose(String,e);function String(t){var r;r=e.call(this,t)||this;r.type=s.STRING;return r}return String}(n.default);t["default"]=i;e.exports=t.default},538:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(678));var s=r(268);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var i=function(e){_inheritsLoose(Tag,e);function Tag(t){var r;r=e.call(this,t)||this;r.type=s.TAG;return r}return Tag}(n.default);t["default"]=i;e.exports=t.default},268:(e,t)=>{"use strict";t.__esModule=true;t.UNIVERSAL=t.ATTRIBUTE=t.CLASS=t.COMBINATOR=t.COMMENT=t.ID=t.NESTING=t.PSEUDO=t.ROOT=t.SELECTOR=t.STRING=t.TAG=void 0;var r="tag";t.TAG=r;var n="string";t.STRING=n;var s="selector";t.SELECTOR=s;var i="root";t.ROOT=i;var a="pseudo";t.PSEUDO=a;var o="nesting";t.NESTING=o;var u="id";t.ID=u;var c="comment";t.COMMENT=c;var l="combinator";t.COMBINATOR=l;var f="class";t.CLASS=f;var p="attribute";t.ATTRIBUTE=p;var h="universal";t.UNIVERSAL=h},180:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=void 0;var n=_interopRequireDefault(r(678));var s=r(268);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _inheritsLoose(e,t){e.prototype=Object.create(t.prototype);e.prototype.constructor=e;e.__proto__=t}var i=function(e){_inheritsLoose(Universal,e);function Universal(t){var r;r=e.call(this,t)||this;r.type=s.UNIVERSAL;r.value="*";return r}return Universal}(n.default);t["default"]=i;e.exports=t.default},166:(e,t)=>{"use strict";t.__esModule=true;t["default"]=sortAscending;function sortAscending(e){return e.sort((function(e,t){return e-t}))}e.exports=t.default},270:(e,t)=>{"use strict";t.__esModule=true;t.combinator=t.word=t.comment=t.str=t.tab=t.newline=t.feed=t.cr=t.backslash=t.bang=t.slash=t.doubleQuote=t.singleQuote=t.space=t.greaterThan=t.pipe=t.equals=t.plus=t.caret=t.tilde=t.dollar=t.closeSquare=t.openSquare=t.closeParenthesis=t.openParenthesis=t.semicolon=t.colon=t.comma=t.at=t.asterisk=t.ampersand=void 0;var r=38;t.ampersand=r;var n=42;t.asterisk=n;var s=64;t.at=s;var i=44;t.comma=i;var a=58;t.colon=a;var o=59;t.semicolon=o;var u=40;t.openParenthesis=u;var c=41;t.closeParenthesis=c;var l=91;t.openSquare=l;var f=93;t.closeSquare=f;var p=36;t.dollar=p;var h=126;t.tilde=h;var d=94;t.caret=d;var v=43;t.plus=v;var _=61;t.equals=_;var S=124;t.pipe=S;var g=62;t.greaterThan=g;var T=32;t.space=T;var w=39;t.singleQuote=w;var m=34;t.doubleQuote=m;var b=47;t.slash=b;var k=33;t.bang=k;var E=92;t.backslash=E;var y=13;t.cr=y;var P=12;t.feed=P;var O=10;t.newline=O;var D=9;t.tab=D;var q=w;t.str=q;var L=-1;t.comment=L;var I=-2;t.word=I;var R=-3;t.combinator=R},644:(e,t,r)=>{"use strict";t.__esModule=true;t["default"]=tokenize;t.FIELDS=void 0;var n=_interopRequireWildcard(r(270));var s,i;function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};if(n.get||n.set){Object.defineProperty(t,r,n)}else{t[r]=e[r]}}}}t.default=e;return t}}var a=(s={},s[n.tab]=true,s[n.newline]=true,s[n.cr]=true,s[n.feed]=true,s);var o=(i={},i[n.space]=true,i[n.tab]=true,i[n.newline]=true,i[n.cr]=true,i[n.feed]=true,i[n.ampersand]=true,i[n.asterisk]=true,i[n.bang]=true,i[n.comma]=true,i[n.colon]=true,i[n.semicolon]=true,i[n.openParenthesis]=true,i[n.closeParenthesis]=true,i[n.openSquare]=true,i[n.closeSquare]=true,i[n.singleQuote]=true,i[n.doubleQuote]=true,i[n.plus]=true,i[n.pipe]=true,i[n.tilde]=true,i[n.greaterThan]=true,i[n.equals]=true,i[n.dollar]=true,i[n.caret]=true,i[n.slash]=true,i);var u={};var c="0123456789abcdefABCDEF";for(var l=0;l<c.length;l++){u[c.charCodeAt(l)]=true}function consumeWord(e,t){var r=t;var s;do{s=e.charCodeAt(r);if(o[s]){return r-1}else if(s===n.backslash){r=consumeEscape(e,r)+1}else{r++}}while(r<e.length);return r-1}function consumeEscape(e,t){var r=t;var s=e.charCodeAt(r+1);if(a[s]){}else if(u[s]){var i=0;do{r++;i++;s=e.charCodeAt(r+1)}while(u[s]&&i<6);if(i<6&&s===n.space){r++}}else{r++}return r}var f={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};t.FIELDS=f;function tokenize(e){var t=[];var r=e.css.valueOf();var s=r,i=s.length;var a=-1;var o=1;var u=0;var c=0;var l,f,p,h,d,v,_,S,g,T,w,m,b;function unclosed(t,n){if(e.safe){r+=n;g=r.length-1}else{throw e.error("Unclosed "+t,o,u-a,u)}}while(u<i){l=r.charCodeAt(u);if(l===n.newline){a=u;o+=1}switch(l){case n.space:case n.tab:case n.newline:case n.cr:case n.feed:g=u;do{g+=1;l=r.charCodeAt(g);if(l===n.newline){a=g;o+=1}}while(l===n.space||l===n.newline||l===n.tab||l===n.cr||l===n.feed);b=n.space;h=o;p=g-a-1;c=g;break;case n.plus:case n.greaterThan:case n.tilde:case n.pipe:g=u;do{g+=1;l=r.charCodeAt(g)}while(l===n.plus||l===n.greaterThan||l===n.tilde||l===n.pipe);b=n.combinator;h=o;p=u-a;c=g;break;case n.asterisk:case n.ampersand:case n.bang:case n.comma:case n.equals:case n.dollar:case n.caret:case n.openSquare:case n.closeSquare:case n.colon:case n.semicolon:case n.openParenthesis:case n.closeParenthesis:g=u;b=l;h=o;p=u-a;c=g+1;break;case n.singleQuote:case n.doubleQuote:m=l===n.singleQuote?"'":'"';g=u;do{d=false;g=r.indexOf(m,g+1);if(g===-1){unclosed("quote",m)}v=g;while(r.charCodeAt(v-1)===n.backslash){v-=1;d=!d}}while(d);b=n.str;h=o;p=u-a;c=g+1;break;default:if(l===n.slash&&r.charCodeAt(u+1)===n.asterisk){g=r.indexOf("*/",u+2)+1;if(g===0){unclosed("comment","*/")}f=r.slice(u,g+1);S=f.split("\n");_=S.length-1;if(_>0){T=o+_;w=g-S[_].length}else{T=o;w=a}b=n.comment;o=T;h=T;p=g-w}else if(l===n.slash){g=u;b=l;h=o;p=u-a;c=g+1}else{g=consumeWord(r,u);b=n.word;h=o;p=g-a}c=g+1;break}t.push([b,o,u-a,h,p,u,c]);if(w){a=w;w=null}u=c}return t}},232:(e,t)=>{"use strict";t.__esModule=true;t["default"]=ensureObject;function ensureObject(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++){r[n-1]=arguments[n]}while(r.length>0){var s=r.shift();if(!e[s]){e[s]={}}e=e[s]}}e.exports=t.default},215:(e,t)=>{"use strict";t.__esModule=true;t["default"]=getProp;function getProp(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++){r[n-1]=arguments[n]}while(r.length>0){var s=r.shift();if(!e[s]){return undefined}e=e[s]}return e}e.exports=t.default},190:(e,t,r)=>{"use strict";t.__esModule=true;t.stripComments=t.ensureObject=t.getProp=t.unesc=void 0;var n=_interopRequireDefault(r(91));t.unesc=n.default;var s=_interopRequireDefault(r(215));t.getProp=s.default;var i=_interopRequireDefault(r(232));t.ensureObject=i.default;var a=_interopRequireDefault(r(178));t.stripComments=a.default;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}},178:(e,t)=>{"use strict";t.__esModule=true;t["default"]=stripComments;function stripComments(e){var t="";var r=e.indexOf("/*");var n=0;while(r>=0){t=t+e.slice(n,r);var s=e.indexOf("*/",r+2);if(s<0){return t}n=s+2;r=e.indexOf("/*",n)}t=t+e.slice(n);return t}e.exports=t.default},91:(e,t)=>{"use strict";t.__esModule=true;t["default"]=unesc;var r="[\\x20\\t\\r\\n\\f]";var n=new RegExp("\\\\([\\da-f]{1,6}"+r+"?|("+r+")|.)","ig");function unesc(e){return e.replace(n,(function(e,t,r){var n="0x"+t-65536;return n!==n||r?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,n&1023|56320)}))}e.exports=t.default},258:e=>{"use strict";function unique_pred(e,t){var r=1,n=e.length,s=e[0],i=e[0];for(var a=1;a<n;++a){i=s;s=e[a];if(t(s,i)){if(a===r){r++;continue}e[r++]=s}}e.length=r;return e}function unique_eq(e){var t=1,r=e.length,n=e[0],s=e[0];for(var i=1;i<r;++i,s=n){s=n;n=e[i];if(n!==s){if(i===t){t++;continue}e[t++]=n}}e.length=t;return e}function unique(e,t,r){if(e.length===0){return e}if(t){if(!r){e.sort(t)}return unique_pred(e,t)}if(!r){e.sort()}return unique_eq(e)}e.exports=unique},209:(e,t,r)=>{e.exports=r(837).deprecate},837:e=>{"use strict";e.exports=require("util")}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var s=t[r]={exports:{}};var i=true;try{e[r](s,s.exports,__nccwpck_require__);i=false}finally{if(i)delete t[r]}return s.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(479);module.exports=r})(); |
@@ -1,1 +0,1 @@ | ||
(()=>{"use strict";var e={83:(e,r,t)=>{const s=t(903);const a=/^(.+?|\([\s\S]+?\))\s+from\s+("[^"]*"|'[^']*'|[\w-]+)$/;const n=/(?:\s+|^)([\w-]+):?(.*?)$/;const o=/^([\w-]+)(?:\s+as\s+([\w-]+))?/;e.exports=e=>{let r=0;const t=e&&e.createImportedName||(e=>`i__const_${e.replace(/\W/g,"_")}_${r++}`);return{postcssPlugin:"postcss-modules-values",prepare(e){const r=[];const p={};return{Once(i,c){i.walkAtRules(/value/i,(i=>{const c=i.params.match(a);if(c){let[,e,s]=c;if(p[s]){s=p[s]}const a=e.replace(/^\(\s*([\s\S]+)\s*\)$/,"$1").split(/\s*,\s*/).map((e=>{const r=o.exec(e);if(r){const[,e,s=e]=r;const a=t(s);p[s]=a;return{theirName:e,importedName:a}}else{throw new Error(`@import statement "${e}" is invalid!`)}}));r.push({path:s,imports:a});i.remove();return}if(i.params.indexOf("@value")!==-1){e.warn("Invalid value definition: "+i.params)}let[,l,u]=`${i.params}${i.raws.between}`.match(n);const m=u.replace(/\/\*((?!\*\/).*?)\*\//g,"");if(m.length===0){e.warn("Invalid value definition: "+i.params);i.remove();return}let _=/^\s+$/.test(m);if(!_){u=u.trim()}p[l]=s.replaceValueSymbols(u,p);i.remove()}));if(!Object.keys(p).length){return}s.replaceSymbols(i,p);const l=Object.keys(p).map((e=>c.decl({value:p[e],prop:e,raws:{before:"\n "}})));if(l.length>0){const e=c.rule({selector:":export",raws:{after:"\n"}});e.append(l);i.prepend(e)}r.reverse().forEach((({path:e,imports:r})=>{const t=c.rule({selector:`:import(${e})`,raws:{after:"\n"}});r.forEach((({theirName:e,importedName:r})=>{t.append({value:e,prop:r,raws:{before:"\n "}})}));i.prepend(t)}))}}}}};e.exports.postcss=true},903:e=>{e.exports=require("next/dist/compiled/icss-utils")}};var r={};function __nccwpck_require__(t){var s=r[t];if(s!==undefined){return s.exports}var a=r[t]={exports:{}};var n=true;try{e[t](a,a.exports,__nccwpck_require__);n=false}finally{if(n)delete r[t]}return a.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t=__nccwpck_require__(83);module.exports=t})(); | ||
(()=>{"use strict";var e={103:(e,r,t)=>{const s=t(903);const a=/^(.+?|\([\s\S]+?\))\s+from\s+("[^"]*"|'[^']*'|[\w-]+)$/;const n=/(?:\s+|^)([\w-]+):?(.*?)$/;const o=/^([\w-]+)(?:\s+as\s+([\w-]+))?/;e.exports=e=>{let r=0;const t=e&&e.createImportedName||(e=>`i__const_${e.replace(/\W/g,"_")}_${r++}`);return{postcssPlugin:"postcss-modules-values",prepare(e){const r=[];const p={};return{Once(i,c){i.walkAtRules(/value/i,(i=>{const c=i.params.match(a);if(c){let[,e,s]=c;if(p[s]){s=p[s]}const a=e.replace(/^\(\s*([\s\S]+)\s*\)$/,"$1").split(/\s*,\s*/).map((e=>{const r=o.exec(e);if(r){const[,e,s=e]=r;const a=t(s);p[s]=a;return{theirName:e,importedName:a}}else{throw new Error(`@import statement "${e}" is invalid!`)}}));r.push({path:s,imports:a});i.remove();return}if(i.params.indexOf("@value")!==-1){e.warn("Invalid value definition: "+i.params)}let[,l,u]=`${i.params}${i.raws.between}`.match(n);const m=u.replace(/\/\*((?!\*\/).*?)\*\//g,"");if(m.length===0){e.warn("Invalid value definition: "+i.params);i.remove();return}let _=/^\s+$/.test(m);if(!_){u=u.trim()}p[l]=s.replaceValueSymbols(u,p);i.remove()}));if(!Object.keys(p).length){return}s.replaceSymbols(i,p);const l=Object.keys(p).map((e=>c.decl({value:p[e],prop:e,raws:{before:"\n "}})));if(l.length>0){const e=c.rule({selector:":export",raws:{after:"\n"}});e.append(l);i.prepend(e)}r.reverse().forEach((({path:e,imports:r})=>{const t=c.rule({selector:`:import(${e})`,raws:{after:"\n"}});r.forEach((({theirName:e,importedName:r})=>{t.append({value:e,prop:r,raws:{before:"\n "}})}));i.prepend(t)}))}}}}};e.exports.postcss=true},903:e=>{e.exports=require("next/dist/compiled/icss-utils")}};var r={};function __nccwpck_require__(t){var s=r[t];if(s!==undefined){return s.exports}var a=r[t]={exports:{}};var n=true;try{e[t](a,a.exports,__nccwpck_require__);n=false}finally{if(n)delete r[t]}return a.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t=__nccwpck_require__(103);module.exports=t})(); |
@@ -1,1 +0,1 @@ | ||
{"name":"postcss-preset-env","main":"index.js","author":"Jonathan Neal <jonathantneal@hotmail.com>","license":"CC0-1.0"} | ||
{"name":"postcss-preset-env","main":"index.cjs","author":"Jonathan Neal <jonathantneal@hotmail.com>","license":"CC0-1.0"} |
@@ -1,1 +0,1 @@ | ||
(()=>{var e={397:(e,t,r)=>{let s=r(224);let i=!("NO_COLOR"in process.env||process.argv.includes("--no-color"))&&("FORCE_COLOR"in process.env||process.argv.includes("--color")||process.platform==="win32"||s.isatty(1)&&process.env.TERM!=="dumb"||"CI"in process.env);let formatter=(e,t,r=e)=>s=>{let i=""+s;let n=i.indexOf(t,e.length);return~n?e+replaceClose(i,t,r,n)+t:e+i+t};let replaceClose=(e,t,r,s)=>{let i=e.substring(0,s)+r;let n=e.substring(s+t.length);let o=n.indexOf(t);return~o?i+replaceClose(n,t,r,o):i+n};let createColors=(e=i)=>({isColorSupported:e,reset:e?e=>`[0m${e}[0m`:String,bold:e?formatter("[1m","[22m","[22m[1m"):String,dim:e?formatter("[2m","[22m","[22m[2m"):String,italic:e?formatter("[3m","[23m"):String,underline:e?formatter("[4m","[24m"):String,inverse:e?formatter("[7m","[27m"):String,hidden:e?formatter("[8m","[28m"):String,strikethrough:e?formatter("[9m","[29m"):String,black:e?formatter("[30m","[39m"):String,red:e?formatter("[31m","[39m"):String,green:e?formatter("[32m","[39m"):String,yellow:e?formatter("[33m","[39m"):String,blue:e?formatter("[34m","[39m"):String,magenta:e?formatter("[35m","[39m"):String,cyan:e?formatter("[36m","[39m"):String,white:e?formatter("[37m","[39m"):String,gray:e?formatter("[90m","[39m"):String,bgBlack:e?formatter("[40m","[49m"):String,bgRed:e?formatter("[41m","[49m"):String,bgGreen:e?formatter("[42m","[49m"):String,bgYellow:e?formatter("[43m","[49m"):String,bgBlue:e?formatter("[44m","[49m"):String,bgMagenta:e?formatter("[45m","[49m"):String,bgCyan:e?formatter("[46m","[49m"):String,bgWhite:e?formatter("[47m","[49m"):String});e.exports=createColors();e.exports.createColors=createColors},376:(e,t,r)=>{let{Input:s}=r(977);let i=r(311);e.exports=function safeParse(e,t){let r=new s(e,t);let n=new i(r);n.parse();return n.root}},311:(e,t,r)=>{let s=r(956);let i=r(472);let n=r(589);class SafeParser extends n{createTokenizer(){this.tokenizer=s(this.input,{ignoreErrors:true})}comment(e){let t=new i;this.init(t,e[2]);let r=this.input.fromOffset(e[3])||this.input.fromOffset(this.input.css.length-1);t.source.end={offset:e[3],line:r.line,column:r.col};let s=e[1].slice(2);if(s.slice(-2)==="*/")s=s.slice(0,-2);if(/^\s*$/.test(s)){t.text="";t.raws.left=s;t.raws.right=""}else{let e=s.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2];t.raws.left=e[1];t.raws.right=e[3]}}decl(e){if(e.length>1&&e.some((e=>e[0]==="word"))){super.decl(e)}}unclosedBracket(){}unknownWord(e){this.spaces+=e.map((e=>e[1])).join("")}unexpectedClose(){this.current.raws.after+="}"}doubleColon(){}unnamedAtrule(e){e.name=""}precheckMissedSemicolon(e){let t=this.colon(e);if(t===false)return;let r,s;for(r=t-1;r>=0;r--){if(e[r][0]==="word")break}if(r===0)return;for(s=r-1;s>=0;s--){if(e[s][0]!=="space"){s+=1;break}}let i=e.slice(r);let n=e.slice(s,r);e.splice(s,e.length-s);this.spaces=n.map((e=>e[1])).join("");this.decl(i)}checkMissedSemicolon(){}endFile(){if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.current.raws.after=(this.current.raws.after||"")+this.spaces;while(this.current.parent){this.current=this.current.parent;this.current.raws.after=""}}}e.exports=SafeParser},942:(e,t,r)=>{"use strict";let s=r(190);class AtRule extends s{constructor(e){super(e);this.type="atrule"}append(...e){if(!this.proxyOf.nodes)this.nodes=[];return super.append(...e)}prepend(...e){if(!this.proxyOf.nodes)this.nodes=[];return super.prepend(...e)}}e.exports=AtRule;AtRule.default=AtRule;s.registerAtRule(AtRule)},472:(e,t,r)=>{"use strict";let s=r(759);class Comment extends s{constructor(e){super(e);this.type="comment"}}e.exports=Comment;Comment.default=Comment},190:(e,t,r)=>{"use strict";let{isClean:s,my:i}=r(932);let n=r(892);let o=r(472);let l=r(759);let a,f,h;function cleanSource(e){return e.map((e=>{if(e.nodes)e.nodes=cleanSource(e.nodes);delete e.source;return e}))}function markDirtyUp(e){e[s]=false;if(e.proxyOf.nodes){for(let t of e.proxyOf.nodes){markDirtyUp(t)}}}class Container extends l{push(e){e.parent=this;this.proxyOf.nodes.push(e);return this}each(e){if(!this.proxyOf.nodes)return undefined;let t=this.getIterator();let r,s;while(this.indexes[t]<this.proxyOf.nodes.length){r=this.indexes[t];s=e(this.proxyOf.nodes[r],r);if(s===false)break;this.indexes[t]+=1}delete this.indexes[t];return s}walk(e){return this.each(((t,r)=>{let s;try{s=e(t,r)}catch(e){throw t.addToError(e)}if(s!==false&&t.walk){s=t.walk(e)}return s}))}walkDecls(e,t){if(!t){t=e;return this.walk(((e,r)=>{if(e.type==="decl"){return t(e,r)}}))}if(e instanceof RegExp){return this.walk(((r,s)=>{if(r.type==="decl"&&e.test(r.prop)){return t(r,s)}}))}return this.walk(((r,s)=>{if(r.type==="decl"&&r.prop===e){return t(r,s)}}))}walkRules(e,t){if(!t){t=e;return this.walk(((e,r)=>{if(e.type==="rule"){return t(e,r)}}))}if(e instanceof RegExp){return this.walk(((r,s)=>{if(r.type==="rule"&&e.test(r.selector)){return t(r,s)}}))}return this.walk(((r,s)=>{if(r.type==="rule"&&r.selector===e){return t(r,s)}}))}walkAtRules(e,t){if(!t){t=e;return this.walk(((e,r)=>{if(e.type==="atrule"){return t(e,r)}}))}if(e instanceof RegExp){return this.walk(((r,s)=>{if(r.type==="atrule"&&e.test(r.name)){return t(r,s)}}))}return this.walk(((r,s)=>{if(r.type==="atrule"&&r.name===e){return t(r,s)}}))}walkComments(e){return this.walk(((t,r)=>{if(t.type==="comment"){return e(t,r)}}))}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}this.markDirty();return this}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes){this.indexes[t]=this.indexes[t]+e.length}}this.markDirty();return this}cleanRaws(e){super.cleanRaws(e);if(this.nodes){for(let t of this.nodes)t.cleanRaws(e)}}insertBefore(e,t){e=this.index(e);let r=e===0?"prepend":false;let s=this.normalize(t,this.proxyOf.nodes[e],r).reverse();for(let t of s)this.proxyOf.nodes.splice(e,0,t);let i;for(let t in this.indexes){i=this.indexes[t];if(e<=i){this.indexes[t]=i+s.length}}this.markDirty();return this}insertAfter(e,t){e=this.index(e);let r=this.normalize(t,this.proxyOf.nodes[e]).reverse();for(let t of r)this.proxyOf.nodes.splice(e+1,0,t);let s;for(let t in this.indexes){s=this.indexes[t];if(e<s){this.indexes[t]=s+r.length}}this.markDirty();return this}removeChild(e){e=this.index(e);this.proxyOf.nodes[e].parent=undefined;this.proxyOf.nodes.splice(e,1);let t;for(let r in this.indexes){t=this.indexes[r];if(t>=e){this.indexes[r]=t-1}}this.markDirty();return this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=undefined;this.proxyOf.nodes=[];this.markDirty();return this}replaceValues(e,t,r){if(!r){r=t;t={}}this.walkDecls((s=>{if(t.props&&!t.props.includes(s.prop))return;if(t.fast&&!s.value.includes(t.fast))return;s.value=s.value.replace(e,r)}));this.markDirty();return this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){if(typeof e==="number")return e;if(e.proxyOf)e=e.proxyOf;return this.proxyOf.nodes.indexOf(e)}get first(){if(!this.proxyOf.nodes)return undefined;return this.proxyOf.nodes[0]}get last(){if(!this.proxyOf.nodes)return undefined;return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(e,t){if(typeof e==="string"){e=cleanSource(a(e).nodes)}else if(Array.isArray(e)){e=e.slice(0);for(let t of e){if(t.parent)t.parent.removeChild(t,"ignore")}}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let t of e){if(t.parent)t.parent.removeChild(t,"ignore")}}else if(e.type){e=[e]}else if(e.prop){if(typeof e.value==="undefined"){throw new Error("Value field is missed in node creation")}else if(typeof e.value!=="string"){e.value=String(e.value)}e=[new n(e)]}else if(e.selector){e=[new f(e)]}else if(e.name){e=[new h(e)]}else if(e.text){e=[new o(e)]}else{throw new Error("Unknown node type in node creation")}let r=e.map((e=>{if(!e[i])Container.rebuild(e);e=e.proxyOf;if(e.parent)e.parent.removeChild(e);if(e[s])markDirtyUp(e);if(typeof e.raws.before==="undefined"){if(t&&typeof t.raws.before!=="undefined"){e.raws.before=t.raws.before.replace(/\S/g,"")}}e.parent=this;return e}));return r}getProxyProcessor(){return{set(e,t,r){if(e[t]===r)return true;e[t]=r;if(t==="name"||t==="params"||t==="selector"){e.markDirty()}return true},get(e,t){if(t==="proxyOf"){return e}else if(!e[t]){return e[t]}else if(t==="each"||typeof t==="string"&&t.startsWith("walk")){return(...r)=>e[t](...r.map((e=>{if(typeof e==="function"){return(t,r)=>e(t.toProxy(),r)}else{return e}})))}else if(t==="every"||t==="some"){return r=>e[t](((e,...t)=>r(e.toProxy(),...t)))}else if(t==="root"){return()=>e.root().toProxy()}else if(t==="nodes"){return e.nodes.map((e=>e.toProxy()))}else if(t==="first"||t==="last"){return e[t].toProxy()}else{return e[t]}}}}getIterator(){if(!this.lastEach)this.lastEach=0;if(!this.indexes)this.indexes={};this.lastEach+=1;let e=this.lastEach;this.indexes[e]=0;return e}}Container.registerParse=e=>{a=e};Container.registerRule=e=>{f=e};Container.registerAtRule=e=>{h=e};e.exports=Container;Container.default=Container;Container.rebuild=e=>{if(e.type==="atrule"){Object.setPrototypeOf(e,h.prototype)}else if(e.type==="rule"){Object.setPrototypeOf(e,f.prototype)}else if(e.type==="decl"){Object.setPrototypeOf(e,n.prototype)}else if(e.type==="comment"){Object.setPrototypeOf(e,o.prototype)}e[i]=true;if(e.nodes){e.nodes.forEach((e=>{Container.rebuild(e)}))}}},540:(e,t,r)=>{"use strict";let s=r(397);let i=r(536);class CssSyntaxError extends Error{constructor(e,t,r,s,i,n){super(e);this.name="CssSyntaxError";this.reason=e;if(i){this.file=i}if(s){this.source=s}if(n){this.plugin=n}if(typeof t!=="undefined"&&typeof r!=="undefined"){if(typeof t==="number"){this.line=t;this.column=r}else{this.line=t.line;this.column=t.column;this.endLine=r.line;this.endColumn=r.column}}this.setMessage();if(Error.captureStackTrace){Error.captureStackTrace(this,CssSyntaxError)}}setMessage(){this.message=this.plugin?this.plugin+": ":"";this.message+=this.file?this.file:"<css input>";if(typeof this.line!=="undefined"){this.message+=":"+this.line+":"+this.column}this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;if(e==null)e=s.isColorSupported;if(i){if(e)t=i(t)}let r=t.split(/\r?\n/);let n=Math.max(this.line-3,0);let o=Math.min(this.line+2,r.length);let l=String(o).length;let a,f;if(e){let{bold:e,red:t,gray:r}=s.createColors(true);a=r=>e(t(r));f=e=>r(e)}else{a=f=e=>e}return r.slice(n,o).map(((e,t)=>{let r=n+1+t;let s=" "+(" "+r).slice(-l)+" | ";if(r===this.line){let t=f(s.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+f(s)+e+"\n "+t+a("^")}return" "+f(s)+e})).join("\n")}toString(){let e=this.showSourceCode();if(e){e="\n\n"+e+"\n"}return this.name+": "+this.message+e}}e.exports=CssSyntaxError;CssSyntaxError.default=CssSyntaxError},892:(e,t,r)=>{"use strict";let s=r(759);class Declaration extends s{constructor(e){if(e&&typeof e.value!=="undefined"&&typeof e.value!=="string"){e={...e,value:String(e.value)}}super(e);this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}e.exports=Declaration;Declaration.default=Declaration},457:e=>{"use strict";let t={split(e,t,r){let s=[];let i="";let n=false;let o=0;let l=false;let a=false;for(let r of e){if(a){a=false}else if(r==="\\"){a=true}else if(l){if(r===l){l=false}}else if(r==='"'||r==="'"){l=r}else if(r==="("){o+=1}else if(r===")"){if(o>0)o-=1}else if(o===0){if(t.includes(r))n=true}if(n){if(i!=="")s.push(i.trim());i="";n=false}else{i+=r}}if(r||i!=="")s.push(i.trim());return s},space(e){let r=[" ","\n","\t"];return t.split(e,r)},comma(e){return t.split(e,[","],true)}};e.exports=t;t.default=t},759:(e,t,r)=>{"use strict";let{isClean:s,my:i}=r(932);let n=r(540);let o=r(552);let l=r(411);function cloneNode(e,t){let r=new e.constructor;for(let s in e){if(!Object.prototype.hasOwnProperty.call(e,s)){continue}if(s==="proxyCache")continue;let i=e[s];let n=typeof i;if(s==="parent"&&n==="object"){if(t)r[s]=t}else if(s==="source"){r[s]=i}else if(Array.isArray(i)){r[s]=i.map((e=>cloneNode(e,r)))}else{if(n==="object"&&i!==null)i=cloneNode(i);r[s]=i}}return r}class Node{constructor(e={}){this.raws={};this[s]=false;this[i]=true;for(let t in e){if(t==="nodes"){this.nodes=[];for(let r of e[t]){if(typeof r.clone==="function"){this.append(r.clone())}else{this.append(r)}}}else{this[t]=e[t]}}}error(e,t={}){if(this.source){let{start:r,end:s}=this.rangeBy(t);return this.source.input.error(e,{line:r.line,column:r.column},{line:s.line,column:s.column},t)}return new n(e)}warn(e,t,r){let s={node:this};for(let e in r)s[e]=r[e];return e.warn(t,s)}remove(){if(this.parent){this.parent.removeChild(this)}this.parent=undefined;return this}toString(e=l){if(e.stringify)e=e.stringify;let t="";e(this,(e=>{t+=e}));return t}assign(e={}){for(let t in e){this[t]=e[t]}return this}clone(e={}){let t=cloneNode(this);for(let r in e){t[r]=e[r]}return t}cloneBefore(e={}){let t=this.clone(e);this.parent.insertBefore(this,t);return t}cloneAfter(e={}){let t=this.clone(e);this.parent.insertAfter(this,t);return t}replaceWith(...e){if(this.parent){let t=this;let r=false;for(let s of e){if(s===this){r=true}else if(r){this.parent.insertAfter(t,s);t=s}else{this.parent.insertBefore(t,s)}}if(!r){this.remove()}}return this}next(){if(!this.parent)return undefined;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return undefined;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){this.parent.insertBefore(this,e);return this}after(e){this.parent.insertAfter(this,e);return this}root(){let e=this;while(e.parent&&e.parent.type!=="document"){e=e.parent}return e}raw(e,t){let r=new o;return r.raw(this,e,t)}cleanRaws(e){delete this.raws.before;delete this.raws.after;if(!e)delete this.raws.between}toJSON(e,t){let r={};let s=t==null;t=t||new Map;let i=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e)){continue}if(e==="parent"||e==="proxyCache")continue;let s=this[e];if(Array.isArray(s)){r[e]=s.map((e=>{if(typeof e==="object"&&e.toJSON){return e.toJSON(null,t)}else{return e}}))}else if(typeof s==="object"&&s.toJSON){r[e]=s.toJSON(null,t)}else if(e==="source"){let n=t.get(s.input);if(n==null){n=i;t.set(s.input,i);i++}r[e]={inputId:n,start:s.start,end:s.end}}else{r[e]=s}}if(s){r.inputs=[...t.keys()].map((e=>e.toJSON()))}return r}positionInside(e){let t=this.toString();let r=this.source.start.column;let s=this.source.start.line;for(let i=0;i<e;i++){if(t[i]==="\n"){r=1;s+=1}else{r+=1}}return{line:s,column:r}}positionBy(e){let t=this.source.start;if(e.index){t=this.positionInside(e.index)}else if(e.word){let r=this.toString().indexOf(e.word);if(r!==-1)t=this.positionInside(r)}return t}rangeBy(e){let t={line:this.source.start.line,column:this.source.start.column};let r=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:t.line,column:t.column+1};if(e.word){let s=this.toString().indexOf(e.word);if(s!==-1){t=this.positionInside(s);r=this.positionInside(s+e.word.length)}}else{if(e.start){t={line:e.start.line,column:e.start.column}}else if(e.index){t=this.positionInside(e.index)}if(e.end){r={line:e.end.line,column:e.end.column}}else if(e.endIndex){r=this.positionInside(e.endIndex)}else if(e.index){r=this.positionInside(e.index+1)}}if(r.line<t.line||r.line===t.line&&r.column<=t.column){r={line:t.line,column:t.column+1}}return{start:t,end:r}}getProxyProcessor(){return{set(e,t,r){if(e[t]===r)return true;e[t]=r;if(t==="prop"||t==="value"||t==="name"||t==="params"||t==="important"||t==="text"){e.markDirty()}return true},get(e,t){if(t==="proxyOf"){return e}else if(t==="root"){return()=>e.root().toProxy()}else{return e[t]}}}}toProxy(){if(!this.proxyCache){this.proxyCache=new Proxy(this,this.getProxyProcessor())}return this.proxyCache}addToError(e){e.postcssNode=this;if(e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}markDirty(){if(this[s]){this[s]=false;let e=this;while(e=e.parent){e[s]=false}}}get proxyOf(){return this}}e.exports=Node;Node.default=Node},589:(e,t,r)=>{"use strict";let s=r(892);let i=r(956);let n=r(472);let o=r(942);let l=r(15);let a=r(545);class Parser{constructor(e){this.input=e;this.root=new l;this.current=this.root;this.spaces="";this.semicolon=false;this.customProperty=false;this.createTokenizer();this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=i(this.input)}parse(){let e;while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();switch(e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}}this.endFile()}comment(e){let t=new n;this.init(t,e[2]);t.source.end=this.getPosition(e[3]||e[2]);let r=e[1].slice(2,-2);if(/^\s*$/.test(r)){t.text="";t.raws.left=r;t.raws.right=""}else{let e=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2];t.raws.left=e[1];t.raws.right=e[3]}}emptyRule(e){let t=new a;this.init(t,e[2]);t.selector="";t.raws.between="";this.current=t}other(e){let t=false;let r=null;let s=false;let i=null;let n=[];let o=e[1].startsWith("--");let l=[];let a=e;while(a){r=a[0];l.push(a);if(r==="("||r==="["){if(!i)i=a;n.push(r==="("?")":"]")}else if(o&&s&&r==="{"){if(!i)i=a;n.push("}")}else if(n.length===0){if(r===";"){if(s){this.decl(l,o);return}else{break}}else if(r==="{"){this.rule(l);return}else if(r==="}"){this.tokenizer.back(l.pop());t=true;break}else if(r===":"){s=true}}else if(r===n[n.length-1]){n.pop();if(n.length===0)i=null}a=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile())t=true;if(n.length>0)this.unclosedBracket(i);if(t&&s){while(l.length){a=l[l.length-1][0];if(a!=="space"&&a!=="comment")break;this.tokenizer.back(l.pop())}this.decl(l,o)}else{this.unknownWord(l)}}rule(e){e.pop();let t=new a;this.init(t,e[0][2]);t.raws.between=this.spacesAndCommentsFromEnd(e);this.raw(t,"selector",e);this.current=t}decl(e,t){let r=new s;this.init(r,e[0][2]);let i=e[e.length-1];if(i[0]===";"){this.semicolon=true;e.pop()}r.source.end=this.getPosition(i[3]||i[2]);while(e[0][0]!=="word"){if(e.length===1)this.unknownWord(e);r.raws.before+=e.shift()[1]}r.source.start=this.getPosition(e[0][2]);r.prop="";while(e.length){let t=e[0][0];if(t===":"||t==="space"||t==="comment"){break}r.prop+=e.shift()[1]}r.raws.between="";let n;while(e.length){n=e.shift();if(n[0]===":"){r.raws.between+=n[1];break}else{if(n[0]==="word"&&/\w/.test(n[1])){this.unknownWord([n])}r.raws.between+=n[1]}}if(r.prop[0]==="_"||r.prop[0]==="*"){r.raws.before+=r.prop[0];r.prop=r.prop.slice(1)}let o=this.spacesAndCommentsFromStart(e);this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){n=e[t];if(n[1].toLowerCase()==="!important"){r.important=true;let s=this.stringFrom(e,t);s=this.spacesFromEnd(e)+s;if(s!==" !important")r.raws.important=s;break}else if(n[1].toLowerCase()==="important"){let s=e.slice(0);let i="";for(let e=t;e>0;e--){let t=s[e][0];if(i.trim().indexOf("!")===0&&t!=="space"){break}i=s.pop()[1]+i}if(i.trim().indexOf("!")===0){r.important=true;r.raws.important=i;e=s}}if(n[0]!=="space"&&n[0]!=="comment"){break}}let l=e.some((e=>e[0]!=="space"&&e[0]!=="comment"));this.raw(r,"value",e);if(l){r.raws.between+=o}else{r.value=o+r.value}if(r.value.includes(":")&&!t){this.checkMissedSemicolon(e)}}atrule(e){let t=new o;t.name=e[1].slice(1);if(t.name===""){this.unnamedAtrule(t,e)}this.init(t,e[2]);let r;let s;let i;let n=false;let l=false;let a=[];let f=[];while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();r=e[0];if(r==="("||r==="["){f.push(r==="("?")":"]")}else if(r==="{"&&f.length>0){f.push("}")}else if(r===f[f.length-1]){f.pop()}if(f.length===0){if(r===";"){t.source.end=this.getPosition(e[2]);this.semicolon=true;break}else if(r==="{"){l=true;break}else if(r==="}"){if(a.length>0){i=a.length-1;s=a[i];while(s&&s[0]==="space"){s=a[--i]}if(s){t.source.end=this.getPosition(s[3]||s[2])}}this.end(e);break}else{a.push(e)}}else{a.push(e)}if(this.tokenizer.endOfFile()){n=true;break}}t.raws.between=this.spacesAndCommentsFromEnd(a);if(a.length){t.raws.afterName=this.spacesAndCommentsFromStart(a);this.raw(t,"params",a);if(n){e=a[a.length-1];t.source.end=this.getPosition(e[3]||e[2]);this.spaces=t.raws.between;t.raws.between=""}}else{t.raws.afterName="";t.params=""}if(l){t.nodes=[];this.current=t}}end(e){if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.semicolon=false;this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.spaces="";if(this.current.parent){this.current.source.end=this.getPosition(e[2]);this.current=this.current.parent}else{this.unexpectedClose(e)}}endFile(){if(this.current.parent)this.unclosedBlock();if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(e){this.spaces+=e[1];if(this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];if(e&&e.type==="rule"&&!e.raws.ownSemicolon){e.raws.ownSemicolon=this.spaces;this.spaces=""}}}getPosition(e){let t=this.input.fromOffset(e);return{offset:e,line:t.line,column:t.col}}init(e,t){this.current.push(e);e.source={start:this.getPosition(t),input:this.input};e.raws.before=this.spaces;this.spaces="";if(e.type!=="comment")this.semicolon=false}raw(e,t,r){let s,i;let n=r.length;let o="";let l=true;let a,f;let h=/^([#.|])?(\w)+/i;for(let t=0;t<n;t+=1){s=r[t];i=s[0];if(i==="comment"&&e.type==="rule"){f=r[t-1];a=r[t+1];if(f[0]!=="space"&&a[0]!=="space"&&h.test(f[1])&&h.test(a[1])){o+=s[1]}else{l=false}continue}if(i==="comment"||i==="space"&&t===n-1){l=false}else{o+=s[1]}}if(!l){let s=r.reduce(((e,t)=>e+t[1]),"");e.raws[t]={value:o,raw:s}}e[t]=o}spacesAndCommentsFromEnd(e){let t;let r="";while(e.length){t=e[e.length-1][0];if(t!=="space"&&t!=="comment")break;r=e.pop()[1]+r}return r}spacesAndCommentsFromStart(e){let t;let r="";while(e.length){t=e[0][0];if(t!=="space"&&t!=="comment")break;r+=e.shift()[1]}return r}spacesFromEnd(e){let t;let r="";while(e.length){t=e[e.length-1][0];if(t!=="space")break;r=e.pop()[1]+r}return r}stringFrom(e,t){let r="";for(let s=t;s<e.length;s++){r+=e[s][1]}e.splice(t,e.length-t);return r}colon(e){let t=0;let r,s,i;for(let[n,o]of e.entries()){r=o;s=r[0];if(s==="("){t+=1}if(s===")"){t-=1}if(t===0&&s===":"){if(!i){this.doubleColon(r)}else if(i[0]==="word"&&i[1]==="progid"){continue}else{return n}}i=r}return false}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(e){let t=this.colon(e);if(t===false)return;let r=0;let s;for(let i=t-1;i>=0;i--){s=e[i];if(s[0]!=="space"){r+=1;if(r===2)break}}throw this.input.error("Missed semicolon",s[0]==="word"?s[3]+1:s[2])}}e.exports=Parser},15:(e,t,r)=>{"use strict";let s=r(190);let i,n;class Root extends s{constructor(e){super(e);this.type="root";if(!this.nodes)this.nodes=[]}removeChild(e,t){let r=this.index(e);if(!t&&r===0&&this.nodes.length>1){this.nodes[1].raws.before=this.nodes[r].raws.before}return super.removeChild(e)}normalize(e,t,r){let s=super.normalize(e);if(t){if(r==="prepend"){if(this.nodes.length>1){t.raws.before=this.nodes[1].raws.before}else{delete t.raws.before}}else if(this.first!==t){for(let e of s){e.raws.before=t.raws.before}}}return s}toResult(e={}){let t=new i(new n,this,e);return t.stringify()}}Root.registerLazyResult=e=>{i=e};Root.registerProcessor=e=>{n=e};e.exports=Root;Root.default=Root},545:(e,t,r)=>{"use strict";let s=r(190);let i=r(457);class Rule extends s{constructor(e){super(e);this.type="rule";if(!this.nodes)this.nodes=[]}get selectors(){return i.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null;let r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}e.exports=Rule;Rule.default=Rule;s.registerRule(Rule)},552:e=>{"use strict";const t={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:false};function capitalize(e){return e[0].toUpperCase()+e.slice(1)}class Stringifier{constructor(e){this.builder=e}stringify(e,t){if(!this[e.type]){throw new Error("Unknown AST node type "+e.type+". "+"Maybe you need to change PostCSS stringifier.")}this[e.type](e,t)}document(e){this.body(e)}root(e){this.body(e);if(e.raws.after)this.builder(e.raws.after)}comment(e){let t=this.raw(e,"left","commentLeft");let r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon");let s=e.prop+r+this.rawValue(e,"value");if(e.important){s+=e.raws.important||" !important"}if(t)s+=";";this.builder(s,e)}rule(e){this.block(e,this.rawValue(e,"selector"));if(e.raws.ownSemicolon){this.builder(e.raws.ownSemicolon,e,"end")}}atrule(e,t){let r="@"+e.name;let s=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName!=="undefined"){r+=e.raws.afterName}else if(s){r+=" "}if(e.nodes){this.block(e,r+s)}else{let i=(e.raws.between||"")+(t?";":"");this.builder(r+s+i,e)}}body(e){let t=e.nodes.length-1;while(t>0){if(e.nodes[t].type!=="comment")break;t-=1}let r=this.raw(e,"semicolon");for(let s=0;s<e.nodes.length;s++){let i=e.nodes[s];let n=this.raw(i,"before");if(n)this.builder(n);this.stringify(i,t!==s||r)}}block(e,t){let r=this.raw(e,"between","beforeOpen");this.builder(t+r+"{",e,"start");let s;if(e.nodes&&e.nodes.length){this.body(e);s=this.raw(e,"after")}else{s=this.raw(e,"after","emptyBody")}if(s)this.builder(s);this.builder("}",e,"end")}raw(e,r,s){let i;if(!s)s=r;if(r){i=e.raws[r];if(typeof i!=="undefined")return i}let n=e.parent;if(s==="before"){if(!n||n.type==="root"&&n.first===e){return""}if(n&&n.type==="document"){return""}}if(!n)return t[s];let o=e.root();if(!o.rawCache)o.rawCache={};if(typeof o.rawCache[s]!=="undefined"){return o.rawCache[s]}if(s==="before"||s==="after"){return this.beforeAfter(e,s)}else{let t="raw"+capitalize(s);if(this[t]){i=this[t](o,e)}else{o.walk((e=>{i=e.raws[r];if(typeof i!=="undefined")return false}))}}if(typeof i==="undefined")i=t[s];o.rawCache[s]=i;return i}rawSemicolon(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length&&e.last.type==="decl"){t=e.raws.semicolon;if(typeof t!=="undefined")return false}}));return t}rawEmptyBody(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length===0){t=e.raws.after;if(typeof t!=="undefined")return false}}));return t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;e.walk((r=>{let s=r.parent;if(s&&s!==e&&s.parent&&s.parent===e){if(typeof r.raws.before!=="undefined"){let e=r.raws.before.split("\n");t=e[e.length-1];t=t.replace(/\S/g,"");return false}}}));return t}rawBeforeComment(e,t){let r;e.walkComments((e=>{if(typeof e.raws.before!=="undefined"){r=e.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}}));if(typeof r==="undefined"){r=this.raw(t,null,"beforeDecl")}else if(r){r=r.replace(/\S/g,"")}return r}rawBeforeDecl(e,t){let r;e.walkDecls((e=>{if(typeof e.raws.before!=="undefined"){r=e.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}}));if(typeof r==="undefined"){r=this.raw(t,null,"beforeRule")}else if(r){r=r.replace(/\S/g,"")}return r}rawBeforeRule(e){let t;e.walk((r=>{if(r.nodes&&(r.parent!==e||e.first!==r)){if(typeof r.raws.before!=="undefined"){t=r.raws.before;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}}));if(t)t=t.replace(/\S/g,"");return t}rawBeforeClose(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length>0){if(typeof e.raws.after!=="undefined"){t=e.raws.after;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}}));if(t)t=t.replace(/\S/g,"");return t}rawBeforeOpen(e){let t;e.walk((e=>{if(e.type!=="decl"){t=e.raws.between;if(typeof t!=="undefined")return false}}));return t}rawColon(e){let t;e.walkDecls((e=>{if(typeof e.raws.between!=="undefined"){t=e.raws.between.replace(/[^\s:]/g,"");return false}}));return t}beforeAfter(e,t){let r;if(e.type==="decl"){r=this.raw(e,null,"beforeDecl")}else if(e.type==="comment"){r=this.raw(e,null,"beforeComment")}else if(t==="before"){r=this.raw(e,null,"beforeRule")}else{r=this.raw(e,null,"beforeClose")}let s=e.parent;let i=0;while(s&&s.type!=="root"){i+=1;s=s.parent}if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length){for(let e=0;e<i;e++)r+=t}}return r}rawValue(e,t){let r=e[t];let s=e.raws[t];if(s&&s.value===r){return s.raw}return r}}e.exports=Stringifier;Stringifier.default=Stringifier},411:(e,t,r)=>{"use strict";let s=r(552);function stringify(e,t){let r=new s(t);r.stringify(e)}e.exports=stringify;stringify.default=stringify},932:e=>{"use strict";e.exports.isClean=Symbol("isClean");e.exports.my=Symbol("my")},536:(e,t,r)=>{"use strict";let s=r(397);let i=r(956);let n;function registerInput(e){n=e}const o={brackets:s.cyan,"at-word":s.cyan,comment:s.gray,string:s.green,class:s.yellow,hash:s.magenta,call:s.cyan,"(":s.cyan,")":s.cyan,"{":s.yellow,"}":s.yellow,"[":s.yellow,"]":s.yellow,":":s.yellow,";":s.yellow};function getTokenType([e,t],r){if(e==="word"){if(t[0]==="."){return"class"}if(t[0]==="#"){return"hash"}}if(!r.endOfFile()){let e=r.nextToken();r.back(e);if(e[0]==="brackets"||e[0]==="(")return"call"}return e}function terminalHighlight(e){let t=i(new n(e),{ignoreErrors:true});let r="";while(!t.endOfFile()){let e=t.nextToken();let s=o[getTokenType(e,t)];if(s){r+=e[1].split(/\r?\n/).map((e=>s(e))).join("\n")}else{r+=e[1]}}return r}terminalHighlight.registerInput=registerInput;e.exports=terminalHighlight},956:e=>{"use strict";const t="'".charCodeAt(0);const r='"'.charCodeAt(0);const s="\\".charCodeAt(0);const i="/".charCodeAt(0);const n="\n".charCodeAt(0);const o=" ".charCodeAt(0);const l="\f".charCodeAt(0);const a="\t".charCodeAt(0);const f="\r".charCodeAt(0);const h="[".charCodeAt(0);const c="]".charCodeAt(0);const u="(".charCodeAt(0);const p=")".charCodeAt(0);const d="{".charCodeAt(0);const m="}".charCodeAt(0);const w=";".charCodeAt(0);const g="*".charCodeAt(0);const y=":".charCodeAt(0);const b="@".charCodeAt(0);const x=/[\t\n\f\r "#'()/;[\\\]{}]/g;const k=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g;const C=/.[\n"'(/\\]/;const S=/[\da-f]/i;e.exports=function tokenizer(e,O={}){let A=e.css.valueOf();let v=O.ignoreErrors;let R,P,E,_,D;let z,I,B,F,T;let N=A.length;let j=0;let M=[];let $=[];function position(){return j}function unclosed(t){throw e.error("Unclosed "+t,j)}function endOfFile(){return $.length===0&&j>=N}function nextToken(e){if($.length)return $.pop();if(j>=N)return;let O=e?e.ignoreUnclosed:false;R=A.charCodeAt(j);switch(R){case n:case o:case a:case f:case l:{P=j;do{P+=1;R=A.charCodeAt(P)}while(R===o||R===n||R===a||R===f||R===l);T=["space",A.slice(j,P)];j=P-1;break}case h:case c:case d:case m:case y:case w:case p:{let e=String.fromCharCode(R);T=[e,e,j];break}case u:{B=M.length?M.pop()[1]:"";F=A.charCodeAt(j+1);if(B==="url"&&F!==t&&F!==r&&F!==o&&F!==n&&F!==a&&F!==l&&F!==f){P=j;do{z=false;P=A.indexOf(")",P+1);if(P===-1){if(v||O){P=j;break}else{unclosed("bracket")}}I=P;while(A.charCodeAt(I-1)===s){I-=1;z=!z}}while(z);T=["brackets",A.slice(j,P+1),j,P];j=P}else{P=A.indexOf(")",j+1);_=A.slice(j,P+1);if(P===-1||C.test(_)){T=["(","(",j]}else{T=["brackets",_,j,P];j=P}}break}case t:case r:{E=R===t?"'":'"';P=j;do{z=false;P=A.indexOf(E,P+1);if(P===-1){if(v||O){P=j+1;break}else{unclosed("string")}}I=P;while(A.charCodeAt(I-1)===s){I-=1;z=!z}}while(z);T=["string",A.slice(j,P+1),j,P];j=P;break}case b:{x.lastIndex=j+1;x.test(A);if(x.lastIndex===0){P=A.length-1}else{P=x.lastIndex-2}T=["at-word",A.slice(j,P+1),j,P];j=P;break}case s:{P=j;D=true;while(A.charCodeAt(P+1)===s){P+=1;D=!D}R=A.charCodeAt(P+1);if(D&&R!==i&&R!==o&&R!==n&&R!==a&&R!==f&&R!==l){P+=1;if(S.test(A.charAt(P))){while(S.test(A.charAt(P+1))){P+=1}if(A.charCodeAt(P+1)===o){P+=1}}}T=["word",A.slice(j,P+1),j,P];j=P;break}default:{if(R===i&&A.charCodeAt(j+1)===g){P=A.indexOf("*/",j+2)+1;if(P===0){if(v||O){P=A.length}else{unclosed("comment")}}T=["comment",A.slice(j,P+1),j,P];j=P}else{k.lastIndex=j+1;k.test(A);if(k.lastIndex===0){P=A.length-1}else{P=k.lastIndex-2}T=["word",A.slice(j,P+1),j,P];M.push(T);j=P}break}}j++;return T}function back(e){$.push(e)}return{back:back,nextToken:nextToken,endOfFile:endOfFile,position:position}}},977:e=>{"use strict";e.exports=require("postcss")},224:e=>{"use strict";e.exports=require("tty")}};var t={};function __nccwpck_require__(r){var s=t[r];if(s!==undefined){return s.exports}var i=t[r]={exports:{}};var n=true;try{e[r](i,i.exports,__nccwpck_require__);n=false}finally{if(n)delete t[r]}return i.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(376);module.exports=r})(); | ||
(()=>{var e={397:(e,t,r)=>{let s=r(224);let i=!("NO_COLOR"in process.env||process.argv.includes("--no-color"))&&("FORCE_COLOR"in process.env||process.argv.includes("--color")||process.platform==="win32"||s.isatty(1)&&process.env.TERM!=="dumb"||"CI"in process.env);let formatter=(e,t,r=e)=>s=>{let i=""+s;let n=i.indexOf(t,e.length);return~n?e+replaceClose(i,t,r,n)+t:e+i+t};let replaceClose=(e,t,r,s)=>{let i=e.substring(0,s)+r;let n=e.substring(s+t.length);let o=n.indexOf(t);return~o?i+replaceClose(n,t,r,o):i+n};let createColors=(e=i)=>({isColorSupported:e,reset:e?e=>`[0m${e}[0m`:String,bold:e?formatter("[1m","[22m","[22m[1m"):String,dim:e?formatter("[2m","[22m","[22m[2m"):String,italic:e?formatter("[3m","[23m"):String,underline:e?formatter("[4m","[24m"):String,inverse:e?formatter("[7m","[27m"):String,hidden:e?formatter("[8m","[28m"):String,strikethrough:e?formatter("[9m","[29m"):String,black:e?formatter("[30m","[39m"):String,red:e?formatter("[31m","[39m"):String,green:e?formatter("[32m","[39m"):String,yellow:e?formatter("[33m","[39m"):String,blue:e?formatter("[34m","[39m"):String,magenta:e?formatter("[35m","[39m"):String,cyan:e?formatter("[36m","[39m"):String,white:e?formatter("[37m","[39m"):String,gray:e?formatter("[90m","[39m"):String,bgBlack:e?formatter("[40m","[49m"):String,bgRed:e?formatter("[41m","[49m"):String,bgGreen:e?formatter("[42m","[49m"):String,bgYellow:e?formatter("[43m","[49m"):String,bgBlue:e?formatter("[44m","[49m"):String,bgMagenta:e?formatter("[45m","[49m"):String,bgCyan:e?formatter("[46m","[49m"):String,bgWhite:e?formatter("[47m","[49m"):String});e.exports=createColors();e.exports.createColors=createColors},195:(e,t,r)=>{let{Input:s}=r(977);let i=r(350);e.exports=function safeParse(e,t){let r=new s(e,t);let n=new i(r);n.parse();return n.root}},350:(e,t,r)=>{let s=r(918);let i=r(711);let n=r(760);class SafeParser extends n{createTokenizer(){this.tokenizer=s(this.input,{ignoreErrors:true})}comment(e){let t=new i;this.init(t,e[2]);let r=this.input.fromOffset(e[3])||this.input.fromOffset(this.input.css.length-1);t.source.end={offset:e[3],line:r.line,column:r.col};let s=e[1].slice(2);if(s.slice(-2)==="*/")s=s.slice(0,-2);if(/^\s*$/.test(s)){t.text="";t.raws.left=s;t.raws.right=""}else{let e=s.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2];t.raws.left=e[1];t.raws.right=e[3]}}decl(e){if(e.length>1&&e.some((e=>e[0]==="word"))){super.decl(e)}}unclosedBracket(){}unknownWord(e){this.spaces+=e.map((e=>e[1])).join("")}unexpectedClose(){this.current.raws.after+="}"}doubleColon(){}unnamedAtrule(e){e.name=""}precheckMissedSemicolon(e){let t=this.colon(e);if(t===false)return;let r,s;for(r=t-1;r>=0;r--){if(e[r][0]==="word")break}if(r===0)return;for(s=r-1;s>=0;s--){if(e[s][0]!=="space"){s+=1;break}}let i=e.slice(r);let n=e.slice(s,r);e.splice(s,e.length-s);this.spaces=n.map((e=>e[1])).join("");this.decl(i)}checkMissedSemicolon(){}endFile(){if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.current.raws.after=(this.current.raws.after||"")+this.spaces;while(this.current.parent){this.current=this.current.parent;this.current.raws.after=""}}}e.exports=SafeParser},917:(e,t,r)=>{"use strict";let s=r(5);class AtRule extends s{constructor(e){super(e);this.type="atrule"}append(...e){if(!this.proxyOf.nodes)this.nodes=[];return super.append(...e)}prepend(...e){if(!this.proxyOf.nodes)this.nodes=[];return super.prepend(...e)}}e.exports=AtRule;AtRule.default=AtRule;s.registerAtRule(AtRule)},711:(e,t,r)=>{"use strict";let s=r(944);class Comment extends s{constructor(e){super(e);this.type="comment"}}e.exports=Comment;Comment.default=Comment},5:(e,t,r)=>{"use strict";let{isClean:s,my:i}=r(298);let n=r(95);let o=r(711);let l=r(944);let a,f,h;function cleanSource(e){return e.map((e=>{if(e.nodes)e.nodes=cleanSource(e.nodes);delete e.source;return e}))}function markDirtyUp(e){e[s]=false;if(e.proxyOf.nodes){for(let t of e.proxyOf.nodes){markDirtyUp(t)}}}class Container extends l{push(e){e.parent=this;this.proxyOf.nodes.push(e);return this}each(e){if(!this.proxyOf.nodes)return undefined;let t=this.getIterator();let r,s;while(this.indexes[t]<this.proxyOf.nodes.length){r=this.indexes[t];s=e(this.proxyOf.nodes[r],r);if(s===false)break;this.indexes[t]+=1}delete this.indexes[t];return s}walk(e){return this.each(((t,r)=>{let s;try{s=e(t,r)}catch(e){throw t.addToError(e)}if(s!==false&&t.walk){s=t.walk(e)}return s}))}walkDecls(e,t){if(!t){t=e;return this.walk(((e,r)=>{if(e.type==="decl"){return t(e,r)}}))}if(e instanceof RegExp){return this.walk(((r,s)=>{if(r.type==="decl"&&e.test(r.prop)){return t(r,s)}}))}return this.walk(((r,s)=>{if(r.type==="decl"&&r.prop===e){return t(r,s)}}))}walkRules(e,t){if(!t){t=e;return this.walk(((e,r)=>{if(e.type==="rule"){return t(e,r)}}))}if(e instanceof RegExp){return this.walk(((r,s)=>{if(r.type==="rule"&&e.test(r.selector)){return t(r,s)}}))}return this.walk(((r,s)=>{if(r.type==="rule"&&r.selector===e){return t(r,s)}}))}walkAtRules(e,t){if(!t){t=e;return this.walk(((e,r)=>{if(e.type==="atrule"){return t(e,r)}}))}if(e instanceof RegExp){return this.walk(((r,s)=>{if(r.type==="atrule"&&e.test(r.name)){return t(r,s)}}))}return this.walk(((r,s)=>{if(r.type==="atrule"&&r.name===e){return t(r,s)}}))}walkComments(e){return this.walk(((t,r)=>{if(t.type==="comment"){return e(t,r)}}))}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}this.markDirty();return this}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes){this.indexes[t]=this.indexes[t]+e.length}}this.markDirty();return this}cleanRaws(e){super.cleanRaws(e);if(this.nodes){for(let t of this.nodes)t.cleanRaws(e)}}insertBefore(e,t){e=this.index(e);let r=e===0?"prepend":false;let s=this.normalize(t,this.proxyOf.nodes[e],r).reverse();for(let t of s)this.proxyOf.nodes.splice(e,0,t);let i;for(let t in this.indexes){i=this.indexes[t];if(e<=i){this.indexes[t]=i+s.length}}this.markDirty();return this}insertAfter(e,t){e=this.index(e);let r=this.normalize(t,this.proxyOf.nodes[e]).reverse();for(let t of r)this.proxyOf.nodes.splice(e+1,0,t);let s;for(let t in this.indexes){s=this.indexes[t];if(e<s){this.indexes[t]=s+r.length}}this.markDirty();return this}removeChild(e){e=this.index(e);this.proxyOf.nodes[e].parent=undefined;this.proxyOf.nodes.splice(e,1);let t;for(let r in this.indexes){t=this.indexes[r];if(t>=e){this.indexes[r]=t-1}}this.markDirty();return this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=undefined;this.proxyOf.nodes=[];this.markDirty();return this}replaceValues(e,t,r){if(!r){r=t;t={}}this.walkDecls((s=>{if(t.props&&!t.props.includes(s.prop))return;if(t.fast&&!s.value.includes(t.fast))return;s.value=s.value.replace(e,r)}));this.markDirty();return this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){if(typeof e==="number")return e;if(e.proxyOf)e=e.proxyOf;return this.proxyOf.nodes.indexOf(e)}get first(){if(!this.proxyOf.nodes)return undefined;return this.proxyOf.nodes[0]}get last(){if(!this.proxyOf.nodes)return undefined;return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(e,t){if(typeof e==="string"){e=cleanSource(a(e).nodes)}else if(Array.isArray(e)){e=e.slice(0);for(let t of e){if(t.parent)t.parent.removeChild(t,"ignore")}}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let t of e){if(t.parent)t.parent.removeChild(t,"ignore")}}else if(e.type){e=[e]}else if(e.prop){if(typeof e.value==="undefined"){throw new Error("Value field is missed in node creation")}else if(typeof e.value!=="string"){e.value=String(e.value)}e=[new n(e)]}else if(e.selector){e=[new f(e)]}else if(e.name){e=[new h(e)]}else if(e.text){e=[new o(e)]}else{throw new Error("Unknown node type in node creation")}let r=e.map((e=>{if(!e[i])Container.rebuild(e);e=e.proxyOf;if(e.parent)e.parent.removeChild(e);if(e[s])markDirtyUp(e);if(typeof e.raws.before==="undefined"){if(t&&typeof t.raws.before!=="undefined"){e.raws.before=t.raws.before.replace(/\S/g,"")}}e.parent=this;return e}));return r}getProxyProcessor(){return{set(e,t,r){if(e[t]===r)return true;e[t]=r;if(t==="name"||t==="params"||t==="selector"){e.markDirty()}return true},get(e,t){if(t==="proxyOf"){return e}else if(!e[t]){return e[t]}else if(t==="each"||typeof t==="string"&&t.startsWith("walk")){return(...r)=>e[t](...r.map((e=>{if(typeof e==="function"){return(t,r)=>e(t.toProxy(),r)}else{return e}})))}else if(t==="every"||t==="some"){return r=>e[t](((e,...t)=>r(e.toProxy(),...t)))}else if(t==="root"){return()=>e.root().toProxy()}else if(t==="nodes"){return e.nodes.map((e=>e.toProxy()))}else if(t==="first"||t==="last"){return e[t].toProxy()}else{return e[t]}}}}getIterator(){if(!this.lastEach)this.lastEach=0;if(!this.indexes)this.indexes={};this.lastEach+=1;let e=this.lastEach;this.indexes[e]=0;return e}}Container.registerParse=e=>{a=e};Container.registerRule=e=>{f=e};Container.registerAtRule=e=>{h=e};e.exports=Container;Container.default=Container;Container.rebuild=e=>{if(e.type==="atrule"){Object.setPrototypeOf(e,h.prototype)}else if(e.type==="rule"){Object.setPrototypeOf(e,f.prototype)}else if(e.type==="decl"){Object.setPrototypeOf(e,n.prototype)}else if(e.type==="comment"){Object.setPrototypeOf(e,o.prototype)}e[i]=true;if(e.nodes){e.nodes.forEach((e=>{Container.rebuild(e)}))}}},610:(e,t,r)=>{"use strict";let s=r(397);let i=r(526);class CssSyntaxError extends Error{constructor(e,t,r,s,i,n){super(e);this.name="CssSyntaxError";this.reason=e;if(i){this.file=i}if(s){this.source=s}if(n){this.plugin=n}if(typeof t!=="undefined"&&typeof r!=="undefined"){if(typeof t==="number"){this.line=t;this.column=r}else{this.line=t.line;this.column=t.column;this.endLine=r.line;this.endColumn=r.column}}this.setMessage();if(Error.captureStackTrace){Error.captureStackTrace(this,CssSyntaxError)}}setMessage(){this.message=this.plugin?this.plugin+": ":"";this.message+=this.file?this.file:"<css input>";if(typeof this.line!=="undefined"){this.message+=":"+this.line+":"+this.column}this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;if(e==null)e=s.isColorSupported;if(i){if(e)t=i(t)}let r=t.split(/\r?\n/);let n=Math.max(this.line-3,0);let o=Math.min(this.line+2,r.length);let l=String(o).length;let a,f;if(e){let{bold:e,red:t,gray:r}=s.createColors(true);a=r=>e(t(r));f=e=>r(e)}else{a=f=e=>e}return r.slice(n,o).map(((e,t)=>{let r=n+1+t;let s=" "+(" "+r).slice(-l)+" | ";if(r===this.line){let t=f(s.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+f(s)+e+"\n "+t+a("^")}return" "+f(s)+e})).join("\n")}toString(){let e=this.showSourceCode();if(e){e="\n\n"+e+"\n"}return this.name+": "+this.message+e}}e.exports=CssSyntaxError;CssSyntaxError.default=CssSyntaxError},95:(e,t,r)=>{"use strict";let s=r(944);class Declaration extends s{constructor(e){if(e&&typeof e.value!=="undefined"&&typeof e.value!=="string"){e={...e,value:String(e.value)}}super(e);this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}e.exports=Declaration;Declaration.default=Declaration},315:e=>{"use strict";let t={split(e,t,r){let s=[];let i="";let n=false;let o=0;let l=false;let a=false;for(let r of e){if(a){a=false}else if(r==="\\"){a=true}else if(l){if(r===l){l=false}}else if(r==='"'||r==="'"){l=r}else if(r==="("){o+=1}else if(r===")"){if(o>0)o-=1}else if(o===0){if(t.includes(r))n=true}if(n){if(i!=="")s.push(i.trim());i="";n=false}else{i+=r}}if(r||i!=="")s.push(i.trim());return s},space(e){let r=[" ","\n","\t"];return t.split(e,r)},comma(e){return t.split(e,[","],true)}};e.exports=t;t.default=t},944:(e,t,r)=>{"use strict";let{isClean:s,my:i}=r(298);let n=r(610);let o=r(499);let l=r(880);function cloneNode(e,t){let r=new e.constructor;for(let s in e){if(!Object.prototype.hasOwnProperty.call(e,s)){continue}if(s==="proxyCache")continue;let i=e[s];let n=typeof i;if(s==="parent"&&n==="object"){if(t)r[s]=t}else if(s==="source"){r[s]=i}else if(Array.isArray(i)){r[s]=i.map((e=>cloneNode(e,r)))}else{if(n==="object"&&i!==null)i=cloneNode(i);r[s]=i}}return r}class Node{constructor(e={}){this.raws={};this[s]=false;this[i]=true;for(let t in e){if(t==="nodes"){this.nodes=[];for(let r of e[t]){if(typeof r.clone==="function"){this.append(r.clone())}else{this.append(r)}}}else{this[t]=e[t]}}}error(e,t={}){if(this.source){let{start:r,end:s}=this.rangeBy(t);return this.source.input.error(e,{line:r.line,column:r.column},{line:s.line,column:s.column},t)}return new n(e)}warn(e,t,r){let s={node:this};for(let e in r)s[e]=r[e];return e.warn(t,s)}remove(){if(this.parent){this.parent.removeChild(this)}this.parent=undefined;return this}toString(e=l){if(e.stringify)e=e.stringify;let t="";e(this,(e=>{t+=e}));return t}assign(e={}){for(let t in e){this[t]=e[t]}return this}clone(e={}){let t=cloneNode(this);for(let r in e){t[r]=e[r]}return t}cloneBefore(e={}){let t=this.clone(e);this.parent.insertBefore(this,t);return t}cloneAfter(e={}){let t=this.clone(e);this.parent.insertAfter(this,t);return t}replaceWith(...e){if(this.parent){let t=this;let r=false;for(let s of e){if(s===this){r=true}else if(r){this.parent.insertAfter(t,s);t=s}else{this.parent.insertBefore(t,s)}}if(!r){this.remove()}}return this}next(){if(!this.parent)return undefined;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return undefined;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){this.parent.insertBefore(this,e);return this}after(e){this.parent.insertAfter(this,e);return this}root(){let e=this;while(e.parent&&e.parent.type!=="document"){e=e.parent}return e}raw(e,t){let r=new o;return r.raw(this,e,t)}cleanRaws(e){delete this.raws.before;delete this.raws.after;if(!e)delete this.raws.between}toJSON(e,t){let r={};let s=t==null;t=t||new Map;let i=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e)){continue}if(e==="parent"||e==="proxyCache")continue;let s=this[e];if(Array.isArray(s)){r[e]=s.map((e=>{if(typeof e==="object"&&e.toJSON){return e.toJSON(null,t)}else{return e}}))}else if(typeof s==="object"&&s.toJSON){r[e]=s.toJSON(null,t)}else if(e==="source"){let n=t.get(s.input);if(n==null){n=i;t.set(s.input,i);i++}r[e]={inputId:n,start:s.start,end:s.end}}else{r[e]=s}}if(s){r.inputs=[...t.keys()].map((e=>e.toJSON()))}return r}positionInside(e){let t=this.toString();let r=this.source.start.column;let s=this.source.start.line;for(let i=0;i<e;i++){if(t[i]==="\n"){r=1;s+=1}else{r+=1}}return{line:s,column:r}}positionBy(e){let t=this.source.start;if(e.index){t=this.positionInside(e.index)}else if(e.word){let r=this.toString().indexOf(e.word);if(r!==-1)t=this.positionInside(r)}return t}rangeBy(e){let t={line:this.source.start.line,column:this.source.start.column};let r=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:t.line,column:t.column+1};if(e.word){let s=this.toString().indexOf(e.word);if(s!==-1){t=this.positionInside(s);r=this.positionInside(s+e.word.length)}}else{if(e.start){t={line:e.start.line,column:e.start.column}}else if(e.index){t=this.positionInside(e.index)}if(e.end){r={line:e.end.line,column:e.end.column}}else if(e.endIndex){r=this.positionInside(e.endIndex)}else if(e.index){r=this.positionInside(e.index+1)}}if(r.line<t.line||r.line===t.line&&r.column<=t.column){r={line:t.line,column:t.column+1}}return{start:t,end:r}}getProxyProcessor(){return{set(e,t,r){if(e[t]===r)return true;e[t]=r;if(t==="prop"||t==="value"||t==="name"||t==="params"||t==="important"||t==="text"){e.markDirty()}return true},get(e,t){if(t==="proxyOf"){return e}else if(t==="root"){return()=>e.root().toProxy()}else{return e[t]}}}}toProxy(){if(!this.proxyCache){this.proxyCache=new Proxy(this,this.getProxyProcessor())}return this.proxyCache}addToError(e){e.postcssNode=this;if(e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}markDirty(){if(this[s]){this[s]=false;let e=this;while(e=e.parent){e[s]=false}}}get proxyOf(){return this}}e.exports=Node;Node.default=Node},760:(e,t,r)=>{"use strict";let s=r(95);let i=r(918);let n=r(711);let o=r(917);let l=r(659);let a=r(4);class Parser{constructor(e){this.input=e;this.root=new l;this.current=this.root;this.spaces="";this.semicolon=false;this.customProperty=false;this.createTokenizer();this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=i(this.input)}parse(){let e;while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();switch(e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}}this.endFile()}comment(e){let t=new n;this.init(t,e[2]);t.source.end=this.getPosition(e[3]||e[2]);let r=e[1].slice(2,-2);if(/^\s*$/.test(r)){t.text="";t.raws.left=r;t.raws.right=""}else{let e=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2];t.raws.left=e[1];t.raws.right=e[3]}}emptyRule(e){let t=new a;this.init(t,e[2]);t.selector="";t.raws.between="";this.current=t}other(e){let t=false;let r=null;let s=false;let i=null;let n=[];let o=e[1].startsWith("--");let l=[];let a=e;while(a){r=a[0];l.push(a);if(r==="("||r==="["){if(!i)i=a;n.push(r==="("?")":"]")}else if(o&&s&&r==="{"){if(!i)i=a;n.push("}")}else if(n.length===0){if(r===";"){if(s){this.decl(l,o);return}else{break}}else if(r==="{"){this.rule(l);return}else if(r==="}"){this.tokenizer.back(l.pop());t=true;break}else if(r===":"){s=true}}else if(r===n[n.length-1]){n.pop();if(n.length===0)i=null}a=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile())t=true;if(n.length>0)this.unclosedBracket(i);if(t&&s){while(l.length){a=l[l.length-1][0];if(a!=="space"&&a!=="comment")break;this.tokenizer.back(l.pop())}this.decl(l,o)}else{this.unknownWord(l)}}rule(e){e.pop();let t=new a;this.init(t,e[0][2]);t.raws.between=this.spacesAndCommentsFromEnd(e);this.raw(t,"selector",e);this.current=t}decl(e,t){let r=new s;this.init(r,e[0][2]);let i=e[e.length-1];if(i[0]===";"){this.semicolon=true;e.pop()}r.source.end=this.getPosition(i[3]||i[2]);while(e[0][0]!=="word"){if(e.length===1)this.unknownWord(e);r.raws.before+=e.shift()[1]}r.source.start=this.getPosition(e[0][2]);r.prop="";while(e.length){let t=e[0][0];if(t===":"||t==="space"||t==="comment"){break}r.prop+=e.shift()[1]}r.raws.between="";let n;while(e.length){n=e.shift();if(n[0]===":"){r.raws.between+=n[1];break}else{if(n[0]==="word"&&/\w/.test(n[1])){this.unknownWord([n])}r.raws.between+=n[1]}}if(r.prop[0]==="_"||r.prop[0]==="*"){r.raws.before+=r.prop[0];r.prop=r.prop.slice(1)}let o=this.spacesAndCommentsFromStart(e);this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){n=e[t];if(n[1].toLowerCase()==="!important"){r.important=true;let s=this.stringFrom(e,t);s=this.spacesFromEnd(e)+s;if(s!==" !important")r.raws.important=s;break}else if(n[1].toLowerCase()==="important"){let s=e.slice(0);let i="";for(let e=t;e>0;e--){let t=s[e][0];if(i.trim().indexOf("!")===0&&t!=="space"){break}i=s.pop()[1]+i}if(i.trim().indexOf("!")===0){r.important=true;r.raws.important=i;e=s}}if(n[0]!=="space"&&n[0]!=="comment"){break}}let l=e.some((e=>e[0]!=="space"&&e[0]!=="comment"));this.raw(r,"value",e);if(l){r.raws.between+=o}else{r.value=o+r.value}if(r.value.includes(":")&&!t){this.checkMissedSemicolon(e)}}atrule(e){let t=new o;t.name=e[1].slice(1);if(t.name===""){this.unnamedAtrule(t,e)}this.init(t,e[2]);let r;let s;let i;let n=false;let l=false;let a=[];let f=[];while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();r=e[0];if(r==="("||r==="["){f.push(r==="("?")":"]")}else if(r==="{"&&f.length>0){f.push("}")}else if(r===f[f.length-1]){f.pop()}if(f.length===0){if(r===";"){t.source.end=this.getPosition(e[2]);this.semicolon=true;break}else if(r==="{"){l=true;break}else if(r==="}"){if(a.length>0){i=a.length-1;s=a[i];while(s&&s[0]==="space"){s=a[--i]}if(s){t.source.end=this.getPosition(s[3]||s[2])}}this.end(e);break}else{a.push(e)}}else{a.push(e)}if(this.tokenizer.endOfFile()){n=true;break}}t.raws.between=this.spacesAndCommentsFromEnd(a);if(a.length){t.raws.afterName=this.spacesAndCommentsFromStart(a);this.raw(t,"params",a);if(n){e=a[a.length-1];t.source.end=this.getPosition(e[3]||e[2]);this.spaces=t.raws.between;t.raws.between=""}}else{t.raws.afterName="";t.params=""}if(l){t.nodes=[];this.current=t}}end(e){if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.semicolon=false;this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.spaces="";if(this.current.parent){this.current.source.end=this.getPosition(e[2]);this.current=this.current.parent}else{this.unexpectedClose(e)}}endFile(){if(this.current.parent)this.unclosedBlock();if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(e){this.spaces+=e[1];if(this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];if(e&&e.type==="rule"&&!e.raws.ownSemicolon){e.raws.ownSemicolon=this.spaces;this.spaces=""}}}getPosition(e){let t=this.input.fromOffset(e);return{offset:e,line:t.line,column:t.col}}init(e,t){this.current.push(e);e.source={start:this.getPosition(t),input:this.input};e.raws.before=this.spaces;this.spaces="";if(e.type!=="comment")this.semicolon=false}raw(e,t,r){let s,i;let n=r.length;let o="";let l=true;let a,f;let h=/^([#.|])?(\w)+/i;for(let t=0;t<n;t+=1){s=r[t];i=s[0];if(i==="comment"&&e.type==="rule"){f=r[t-1];a=r[t+1];if(f[0]!=="space"&&a[0]!=="space"&&h.test(f[1])&&h.test(a[1])){o+=s[1]}else{l=false}continue}if(i==="comment"||i==="space"&&t===n-1){l=false}else{o+=s[1]}}if(!l){let s=r.reduce(((e,t)=>e+t[1]),"");e.raws[t]={value:o,raw:s}}e[t]=o}spacesAndCommentsFromEnd(e){let t;let r="";while(e.length){t=e[e.length-1][0];if(t!=="space"&&t!=="comment")break;r=e.pop()[1]+r}return r}spacesAndCommentsFromStart(e){let t;let r="";while(e.length){t=e[0][0];if(t!=="space"&&t!=="comment")break;r+=e.shift()[1]}return r}spacesFromEnd(e){let t;let r="";while(e.length){t=e[e.length-1][0];if(t!=="space")break;r=e.pop()[1]+r}return r}stringFrom(e,t){let r="";for(let s=t;s<e.length;s++){r+=e[s][1]}e.splice(t,e.length-t);return r}colon(e){let t=0;let r,s,i;for(let[n,o]of e.entries()){r=o;s=r[0];if(s==="("){t+=1}if(s===")"){t-=1}if(t===0&&s===":"){if(!i){this.doubleColon(r)}else if(i[0]==="word"&&i[1]==="progid"){continue}else{return n}}i=r}return false}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(e){let t=this.colon(e);if(t===false)return;let r=0;let s;for(let i=t-1;i>=0;i--){s=e[i];if(s[0]!=="space"){r+=1;if(r===2)break}}throw this.input.error("Missed semicolon",s[0]==="word"?s[3]+1:s[2])}}e.exports=Parser},659:(e,t,r)=>{"use strict";let s=r(5);let i,n;class Root extends s{constructor(e){super(e);this.type="root";if(!this.nodes)this.nodes=[]}removeChild(e,t){let r=this.index(e);if(!t&&r===0&&this.nodes.length>1){this.nodes[1].raws.before=this.nodes[r].raws.before}return super.removeChild(e)}normalize(e,t,r){let s=super.normalize(e);if(t){if(r==="prepend"){if(this.nodes.length>1){t.raws.before=this.nodes[1].raws.before}else{delete t.raws.before}}else if(this.first!==t){for(let e of s){e.raws.before=t.raws.before}}}return s}toResult(e={}){let t=new i(new n,this,e);return t.stringify()}}Root.registerLazyResult=e=>{i=e};Root.registerProcessor=e=>{n=e};e.exports=Root;Root.default=Root},4:(e,t,r)=>{"use strict";let s=r(5);let i=r(315);class Rule extends s{constructor(e){super(e);this.type="rule";if(!this.nodes)this.nodes=[]}get selectors(){return i.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null;let r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}e.exports=Rule;Rule.default=Rule;s.registerRule(Rule)},499:e=>{"use strict";const t={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:false};function capitalize(e){return e[0].toUpperCase()+e.slice(1)}class Stringifier{constructor(e){this.builder=e}stringify(e,t){if(!this[e.type]){throw new Error("Unknown AST node type "+e.type+". "+"Maybe you need to change PostCSS stringifier.")}this[e.type](e,t)}document(e){this.body(e)}root(e){this.body(e);if(e.raws.after)this.builder(e.raws.after)}comment(e){let t=this.raw(e,"left","commentLeft");let r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon");let s=e.prop+r+this.rawValue(e,"value");if(e.important){s+=e.raws.important||" !important"}if(t)s+=";";this.builder(s,e)}rule(e){this.block(e,this.rawValue(e,"selector"));if(e.raws.ownSemicolon){this.builder(e.raws.ownSemicolon,e,"end")}}atrule(e,t){let r="@"+e.name;let s=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName!=="undefined"){r+=e.raws.afterName}else if(s){r+=" "}if(e.nodes){this.block(e,r+s)}else{let i=(e.raws.between||"")+(t?";":"");this.builder(r+s+i,e)}}body(e){let t=e.nodes.length-1;while(t>0){if(e.nodes[t].type!=="comment")break;t-=1}let r=this.raw(e,"semicolon");for(let s=0;s<e.nodes.length;s++){let i=e.nodes[s];let n=this.raw(i,"before");if(n)this.builder(n);this.stringify(i,t!==s||r)}}block(e,t){let r=this.raw(e,"between","beforeOpen");this.builder(t+r+"{",e,"start");let s;if(e.nodes&&e.nodes.length){this.body(e);s=this.raw(e,"after")}else{s=this.raw(e,"after","emptyBody")}if(s)this.builder(s);this.builder("}",e,"end")}raw(e,r,s){let i;if(!s)s=r;if(r){i=e.raws[r];if(typeof i!=="undefined")return i}let n=e.parent;if(s==="before"){if(!n||n.type==="root"&&n.first===e){return""}if(n&&n.type==="document"){return""}}if(!n)return t[s];let o=e.root();if(!o.rawCache)o.rawCache={};if(typeof o.rawCache[s]!=="undefined"){return o.rawCache[s]}if(s==="before"||s==="after"){return this.beforeAfter(e,s)}else{let t="raw"+capitalize(s);if(this[t]){i=this[t](o,e)}else{o.walk((e=>{i=e.raws[r];if(typeof i!=="undefined")return false}))}}if(typeof i==="undefined")i=t[s];o.rawCache[s]=i;return i}rawSemicolon(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length&&e.last.type==="decl"){t=e.raws.semicolon;if(typeof t!=="undefined")return false}}));return t}rawEmptyBody(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length===0){t=e.raws.after;if(typeof t!=="undefined")return false}}));return t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;e.walk((r=>{let s=r.parent;if(s&&s!==e&&s.parent&&s.parent===e){if(typeof r.raws.before!=="undefined"){let e=r.raws.before.split("\n");t=e[e.length-1];t=t.replace(/\S/g,"");return false}}}));return t}rawBeforeComment(e,t){let r;e.walkComments((e=>{if(typeof e.raws.before!=="undefined"){r=e.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}}));if(typeof r==="undefined"){r=this.raw(t,null,"beforeDecl")}else if(r){r=r.replace(/\S/g,"")}return r}rawBeforeDecl(e,t){let r;e.walkDecls((e=>{if(typeof e.raws.before!=="undefined"){r=e.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}}));if(typeof r==="undefined"){r=this.raw(t,null,"beforeRule")}else if(r){r=r.replace(/\S/g,"")}return r}rawBeforeRule(e){let t;e.walk((r=>{if(r.nodes&&(r.parent!==e||e.first!==r)){if(typeof r.raws.before!=="undefined"){t=r.raws.before;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}}));if(t)t=t.replace(/\S/g,"");return t}rawBeforeClose(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length>0){if(typeof e.raws.after!=="undefined"){t=e.raws.after;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}}));if(t)t=t.replace(/\S/g,"");return t}rawBeforeOpen(e){let t;e.walk((e=>{if(e.type!=="decl"){t=e.raws.between;if(typeof t!=="undefined")return false}}));return t}rawColon(e){let t;e.walkDecls((e=>{if(typeof e.raws.between!=="undefined"){t=e.raws.between.replace(/[^\s:]/g,"");return false}}));return t}beforeAfter(e,t){let r;if(e.type==="decl"){r=this.raw(e,null,"beforeDecl")}else if(e.type==="comment"){r=this.raw(e,null,"beforeComment")}else if(t==="before"){r=this.raw(e,null,"beforeRule")}else{r=this.raw(e,null,"beforeClose")}let s=e.parent;let i=0;while(s&&s.type!=="root"){i+=1;s=s.parent}if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length){for(let e=0;e<i;e++)r+=t}}return r}rawValue(e,t){let r=e[t];let s=e.raws[t];if(s&&s.value===r){return s.raw}return r}}e.exports=Stringifier;Stringifier.default=Stringifier},880:(e,t,r)=>{"use strict";let s=r(499);function stringify(e,t){let r=new s(t);r.stringify(e)}e.exports=stringify;stringify.default=stringify},298:e=>{"use strict";e.exports.isClean=Symbol("isClean");e.exports.my=Symbol("my")},526:(e,t,r)=>{"use strict";let s=r(397);let i=r(918);let n;function registerInput(e){n=e}const o={brackets:s.cyan,"at-word":s.cyan,comment:s.gray,string:s.green,class:s.yellow,hash:s.magenta,call:s.cyan,"(":s.cyan,")":s.cyan,"{":s.yellow,"}":s.yellow,"[":s.yellow,"]":s.yellow,":":s.yellow,";":s.yellow};function getTokenType([e,t],r){if(e==="word"){if(t[0]==="."){return"class"}if(t[0]==="#"){return"hash"}}if(!r.endOfFile()){let e=r.nextToken();r.back(e);if(e[0]==="brackets"||e[0]==="(")return"call"}return e}function terminalHighlight(e){let t=i(new n(e),{ignoreErrors:true});let r="";while(!t.endOfFile()){let e=t.nextToken();let s=o[getTokenType(e,t)];if(s){r+=e[1].split(/\r?\n/).map((e=>s(e))).join("\n")}else{r+=e[1]}}return r}terminalHighlight.registerInput=registerInput;e.exports=terminalHighlight},918:e=>{"use strict";const t="'".charCodeAt(0);const r='"'.charCodeAt(0);const s="\\".charCodeAt(0);const i="/".charCodeAt(0);const n="\n".charCodeAt(0);const o=" ".charCodeAt(0);const l="\f".charCodeAt(0);const a="\t".charCodeAt(0);const f="\r".charCodeAt(0);const h="[".charCodeAt(0);const c="]".charCodeAt(0);const u="(".charCodeAt(0);const p=")".charCodeAt(0);const d="{".charCodeAt(0);const m="}".charCodeAt(0);const w=";".charCodeAt(0);const g="*".charCodeAt(0);const y=":".charCodeAt(0);const b="@".charCodeAt(0);const x=/[\t\n\f\r "#'()/;[\\\]{}]/g;const k=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g;const C=/.[\n"'(/\\]/;const S=/[\da-f]/i;e.exports=function tokenizer(e,O={}){let A=e.css.valueOf();let v=O.ignoreErrors;let R,P,E,_,D;let z,I,B,F,T;let N=A.length;let j=0;let M=[];let $=[];function position(){return j}function unclosed(t){throw e.error("Unclosed "+t,j)}function endOfFile(){return $.length===0&&j>=N}function nextToken(e){if($.length)return $.pop();if(j>=N)return;let O=e?e.ignoreUnclosed:false;R=A.charCodeAt(j);switch(R){case n:case o:case a:case f:case l:{P=j;do{P+=1;R=A.charCodeAt(P)}while(R===o||R===n||R===a||R===f||R===l);T=["space",A.slice(j,P)];j=P-1;break}case h:case c:case d:case m:case y:case w:case p:{let e=String.fromCharCode(R);T=[e,e,j];break}case u:{B=M.length?M.pop()[1]:"";F=A.charCodeAt(j+1);if(B==="url"&&F!==t&&F!==r&&F!==o&&F!==n&&F!==a&&F!==l&&F!==f){P=j;do{z=false;P=A.indexOf(")",P+1);if(P===-1){if(v||O){P=j;break}else{unclosed("bracket")}}I=P;while(A.charCodeAt(I-1)===s){I-=1;z=!z}}while(z);T=["brackets",A.slice(j,P+1),j,P];j=P}else{P=A.indexOf(")",j+1);_=A.slice(j,P+1);if(P===-1||C.test(_)){T=["(","(",j]}else{T=["brackets",_,j,P];j=P}}break}case t:case r:{E=R===t?"'":'"';P=j;do{z=false;P=A.indexOf(E,P+1);if(P===-1){if(v||O){P=j+1;break}else{unclosed("string")}}I=P;while(A.charCodeAt(I-1)===s){I-=1;z=!z}}while(z);T=["string",A.slice(j,P+1),j,P];j=P;break}case b:{x.lastIndex=j+1;x.test(A);if(x.lastIndex===0){P=A.length-1}else{P=x.lastIndex-2}T=["at-word",A.slice(j,P+1),j,P];j=P;break}case s:{P=j;D=true;while(A.charCodeAt(P+1)===s){P+=1;D=!D}R=A.charCodeAt(P+1);if(D&&R!==i&&R!==o&&R!==n&&R!==a&&R!==f&&R!==l){P+=1;if(S.test(A.charAt(P))){while(S.test(A.charAt(P+1))){P+=1}if(A.charCodeAt(P+1)===o){P+=1}}}T=["word",A.slice(j,P+1),j,P];j=P;break}default:{if(R===i&&A.charCodeAt(j+1)===g){P=A.indexOf("*/",j+2)+1;if(P===0){if(v||O){P=A.length}else{unclosed("comment")}}T=["comment",A.slice(j,P+1),j,P];j=P}else{k.lastIndex=j+1;k.test(A);if(k.lastIndex===0){P=A.length-1}else{P=k.lastIndex-2}T=["word",A.slice(j,P+1),j,P];M.push(T);j=P}break}}j++;return T}function back(e){$.push(e)}return{back:back,nextToken:nextToken,endOfFile:endOfFile,position:position}}},977:e=>{"use strict";e.exports=require("postcss")},224:e=>{"use strict";e.exports=require("tty")}};var t={};function __nccwpck_require__(r){var s=t[r];if(s!==undefined){return s.exports}var i=t[r]={exports:{}};var n=true;try{e[r](i,i.exports,__nccwpck_require__);n=false}finally{if(n)delete t[r]}return i.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(195);module.exports=r})(); |
@@ -1,1 +0,1 @@ | ||
(()=>{var e={852:(e,t,r)=>{const{Container:s}=r(977);class NestedDeclaration extends s{constructor(e){super(e);this.type="decl";this.isNested=true;if(!this.nodes)this.nodes=[]}}e.exports=NestedDeclaration},290:(e,t,r)=>{let{Input:s}=r(977);let i=r(560);e.exports=function scssParse(e,t){let r=new s(e,t);let n=new i(r);n.parse();return n.root}},560:(e,t,r)=>{let{Comment:s}=r(977);let i=r(46);let n=r(852);let l=r(584);class ScssParser extends i{createTokenizer(){this.tokenizer=l(this.input)}rule(e){let t=false;let r=0;let s="";for(let i of e){if(t){if(i[0]!=="comment"&&i[0]!=="{"){s+=i[1]}}else if(i[0]==="space"&&i[1].includes("\n")){break}else if(i[0]==="("){r+=1}else if(i[0]===")"){r-=1}else if(r===0&&i[0]===":"){t=true}}if(!t||s.trim()===""||/^[#:A-Za-z-]/.test(s)){super.rule(e)}else{e.pop();let t=new n;this.init(t,e[0][2]);let r;for(let t=e.length-1;t>=0;t--){if(e[t][0]!=="space"){r=e[t];break}}if(r[3]){let e=this.input.fromOffset(r[3]);t.source.end={offset:r[3],line:e.line,column:e.col}}else{let e=this.input.fromOffset(r[2]);t.source.end={offset:r[2],line:e.line,column:e.col}}while(e[0][0]!=="word"){t.raws.before+=e.shift()[1]}t.source.start={line:e[0][2],column:e[0][3]};t.prop="";while(e.length){let r=e[0][0];if(r===":"||r==="space"||r==="comment"){break}t.prop+=e.shift()[1]}t.raws.between="";let s;while(e.length){s=e.shift();if(s[0]===":"){t.raws.between+=s[1];break}else{t.raws.between+=s[1]}}if(t.prop[0]==="_"||t.prop[0]==="*"){t.raws.before+=t.prop[0];t.prop=t.prop.slice(1)}t.raws.between+=this.spacesAndCommentsFromStart(e);this.precheckMissedSemicolon(e);for(let r=e.length-1;r>0;r--){s=e[r];if(s[1]==="!important"){t.important=true;let s=this.stringFrom(e,r);s=this.spacesFromEnd(e)+s;if(s!==" !important"){t.raws.important=s}break}else if(s[1]==="important"){let s=e.slice(0);let i="";for(let e=r;e>0;e--){let t=s[e][0];if(i.trim().indexOf("!")===0&&t!=="space"){break}i=s.pop()[1]+i}if(i.trim().indexOf("!")===0){t.important=true;t.raws.important=i;e=s}}if(s[0]!=="space"&&s[0]!=="comment"){break}}this.raw(t,"value",e);if(t.value.includes(":")){this.checkMissedSemicolon(e)}this.current=t}}comment(e){if(e[4]==="inline"){let t=new s;this.init(t,e[2]);t.raws.inline=true;let r=this.input.fromOffset(e[3]);t.source.end={offset:e[3],line:r.line,column:r.col};let i=e[1].slice(2);if(/^\s*$/.test(i)){t.text="";t.raws.left=i;t.raws.right=""}else{let e=i.match(/^(\s*)([^]*\S)(\s*)$/);let r=e[2].replace(/(\*\/|\/\*)/g,"*//*");t.text=r;t.raws.left=e[1];t.raws.right=e[3];t.raws.text=e[2]}}else{super.comment(e)}}raw(e,t,r){super.raw(e,t,r);if(e.raws[t]){let s=e.raws[t].raw;e.raws[t].raw=r.reduce(((e,t)=>{if(t[0]==="comment"&&t[4]==="inline"){let r=t[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return e+"/*"+r+"*/"}else{return e+t[1]}}),"");if(s!==e.raws[t].raw){e.raws[t].scss=s}}}}e.exports=ScssParser},787:(e,t,r)=>{let s=r(217);class ScssStringifier extends s{comment(e){let t=this.raw(e,"left","commentLeft");let r=this.raw(e,"right","commentRight");if(e.raws.inline){let s=e.raws.text||e.text;this.builder("//"+t+s+r,e)}else{this.builder("/*"+t+e.text+r+"*/",e)}}decl(e,t){if(!e.isNested){super.decl(e,t)}else{let t=this.raw(e,"between","colon");let r=e.prop+t+this.rawValue(e,"value");if(e.important){r+=e.raws.important||" !important"}this.builder(r+"{",e,"start");let s;if(e.nodes&&e.nodes.length){this.body(e);s=this.raw(e,"after")}else{s=this.raw(e,"after","emptyBody")}if(s)this.builder(s);this.builder("}",e,"end")}}rawValue(e,t){let r=e[t];let s=e.raws[t];if(s&&s.value===r){return s.scss?s.scss:s.raw}else{return r}}}e.exports=ScssStringifier},457:(e,t,r)=>{let s=r(787);e.exports=function scssStringify(e,t){let r=new s(t);r.stringify(e)}},632:(e,t,r)=>{let s=r(457);let i=r(290);e.exports={parse:i,stringify:s}},584:e=>{"use strict";const t="'".charCodeAt(0);const r='"'.charCodeAt(0);const s="\\".charCodeAt(0);const i="/".charCodeAt(0);const n="\n".charCodeAt(0);const l=" ".charCodeAt(0);const a="\f".charCodeAt(0);const o="\t".charCodeAt(0);const f="\r".charCodeAt(0);const c="[".charCodeAt(0);const d="]".charCodeAt(0);const u="(".charCodeAt(0);const h=")".charCodeAt(0);const w="{".charCodeAt(0);const p="}".charCodeAt(0);const m=";".charCodeAt(0);const b="*".charCodeAt(0);const g=":".charCodeAt(0);const C="@".charCodeAt(0);const y=",".charCodeAt(0);const k="#".charCodeAt(0);const x=/[\t\n\f\r "#'()/;[\\\]{}]/g;const A=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g;const _=/.[\n"'(/\\]/;const S=/[\da-f]/i;const O=/[\n\f\r]/g;e.exports=function scssTokenize(e,v={}){let I=e.css.valueOf();let B=v.ignoreErrors;let D,q,R,z,F;let N,T,V,$;let E=I.length;let P=0;let U=[];let L=[];let M;function position(){return P}function unclosed(t){throw e.error("Unclosed "+t,P)}function endOfFile(){return L.length===0&&P>=E}function interpolation(){let e=1;let i=false;let n=false;while(e>0){q+=1;if(I.length<=q)unclosed("interpolation");D=I.charCodeAt(q);V=I.charCodeAt(q+1);if(i){if(!n&&D===i){i=false;n=false}else if(D===s){n=!n}else if(n){n=false}}else if(D===t||D===r){i=D}else if(D===p){e-=1}else if(D===k&&V===w){e+=1}}}function nextToken(e){if(L.length)return L.pop();if(P>=E)return;let v=e?e.ignoreUnclosed:false;D=I.charCodeAt(P);switch(D){case n:case l:case o:case f:case a:{q=P;do{q+=1;D=I.charCodeAt(q)}while(D===l||D===n||D===o||D===f||D===a);$=["space",I.slice(P,q)];P=q-1;break}case c:case d:case w:case p:case g:case m:case h:{let e=String.fromCharCode(D);$=[e,e,P];break}case y:{$=["word",",",P,P+1];break}case u:{T=U.length?U.pop()[1]:"";V=I.charCodeAt(P+1);if(T==="url"&&V!==t&&V!==r){M=1;N=false;q=P+1;while(q<=I.length-1){V=I.charCodeAt(q);if(V===s){N=!N}else if(V===u){M+=1}else if(V===h){M-=1;if(M===0)break}q+=1}z=I.slice(P,q+1);$=["brackets",z,P,q];P=q}else{q=I.indexOf(")",P+1);z=I.slice(P,q+1);if(q===-1||_.test(z)){$=["(","(",P]}else{$=["brackets",z,P,q];P=q}}break}case t:case r:{R=D;q=P;N=false;while(q<E){q++;if(q===E)unclosed("string");D=I.charCodeAt(q);V=I.charCodeAt(q+1);if(!N&&D===R){break}else if(D===s){N=!N}else if(N){N=false}else if(D===k&&V===w){interpolation()}}$=["string",I.slice(P,q+1),P,q];P=q;break}case C:{x.lastIndex=P+1;x.test(I);if(x.lastIndex===0){q=I.length-1}else{q=x.lastIndex-2}$=["at-word",I.slice(P,q+1),P,q];P=q;break}case s:{q=P;F=true;while(I.charCodeAt(q+1)===s){q+=1;F=!F}D=I.charCodeAt(q+1);if(F&&D!==i&&D!==l&&D!==n&&D!==o&&D!==f&&D!==a){q+=1;if(S.test(I.charAt(q))){while(S.test(I.charAt(q+1))){q+=1}if(I.charCodeAt(q+1)===l){q+=1}}}$=["word",I.slice(P,q+1),P,q];P=q;break}default:V=I.charCodeAt(P+1);if(D===k&&V===w){q=P;interpolation();z=I.slice(P,q+1);$=["word",z,P,q];P=q}else if(D===i&&V===b){q=I.indexOf("*/",P+2)+1;if(q===0){if(B||v){q=I.length}else{unclosed("comment")}}$=["comment",I.slice(P,q+1),P,q];P=q}else if(D===i&&V===i){O.lastIndex=P+1;O.test(I);if(O.lastIndex===0){q=I.length-1}else{q=O.lastIndex-2}z=I.slice(P,q+1);$=["comment",z,P,q,"inline"];P=q}else{A.lastIndex=P+1;A.test(I);if(A.lastIndex===0){q=I.length-1}else{q=A.lastIndex-2}$=["word",I.slice(P,q+1),P,q];U.push($);P=q}break}P++;return $}function back(e){L.push(e)}return{back:back,nextToken:nextToken,endOfFile:endOfFile,position:position}}},217:e=>{"use strict";const t={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:false};function capitalize(e){return e[0].toUpperCase()+e.slice(1)}class Stringifier{constructor(e){this.builder=e}stringify(e,t){if(!this[e.type]){throw new Error("Unknown AST node type "+e.type+". "+"Maybe you need to change PostCSS stringifier.")}this[e.type](e,t)}document(e){this.body(e)}root(e){this.body(e);if(e.raws.after)this.builder(e.raws.after)}comment(e){let t=this.raw(e,"left","commentLeft");let r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon");let s=e.prop+r+this.rawValue(e,"value");if(e.important){s+=e.raws.important||" !important"}if(t)s+=";";this.builder(s,e)}rule(e){this.block(e,this.rawValue(e,"selector"));if(e.raws.ownSemicolon){this.builder(e.raws.ownSemicolon,e,"end")}}atrule(e,t){let r="@"+e.name;let s=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName!=="undefined"){r+=e.raws.afterName}else if(s){r+=" "}if(e.nodes){this.block(e,r+s)}else{let i=(e.raws.between||"")+(t?";":"");this.builder(r+s+i,e)}}body(e){let t=e.nodes.length-1;while(t>0){if(e.nodes[t].type!=="comment")break;t-=1}let r=this.raw(e,"semicolon");for(let s=0;s<e.nodes.length;s++){let i=e.nodes[s];let n=this.raw(i,"before");if(n)this.builder(n);this.stringify(i,t!==s||r)}}block(e,t){let r=this.raw(e,"between","beforeOpen");this.builder(t+r+"{",e,"start");let s;if(e.nodes&&e.nodes.length){this.body(e);s=this.raw(e,"after")}else{s=this.raw(e,"after","emptyBody")}if(s)this.builder(s);this.builder("}",e,"end")}raw(e,r,s){let i;if(!s)s=r;if(r){i=e.raws[r];if(typeof i!=="undefined")return i}let n=e.parent;if(s==="before"){if(!n||n.type==="root"&&n.first===e){return""}if(n&&n.type==="document"){return""}}if(!n)return t[s];let l=e.root();if(!l.rawCache)l.rawCache={};if(typeof l.rawCache[s]!=="undefined"){return l.rawCache[s]}if(s==="before"||s==="after"){return this.beforeAfter(e,s)}else{let t="raw"+capitalize(s);if(this[t]){i=this[t](l,e)}else{l.walk((e=>{i=e.raws[r];if(typeof i!=="undefined")return false}))}}if(typeof i==="undefined")i=t[s];l.rawCache[s]=i;return i}rawSemicolon(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length&&e.last.type==="decl"){t=e.raws.semicolon;if(typeof t!=="undefined")return false}}));return t}rawEmptyBody(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length===0){t=e.raws.after;if(typeof t!=="undefined")return false}}));return t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;e.walk((r=>{let s=r.parent;if(s&&s!==e&&s.parent&&s.parent===e){if(typeof r.raws.before!=="undefined"){let e=r.raws.before.split("\n");t=e[e.length-1];t=t.replace(/\S/g,"");return false}}}));return t}rawBeforeComment(e,t){let r;e.walkComments((e=>{if(typeof e.raws.before!=="undefined"){r=e.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}}));if(typeof r==="undefined"){r=this.raw(t,null,"beforeDecl")}else if(r){r=r.replace(/\S/g,"")}return r}rawBeforeDecl(e,t){let r;e.walkDecls((e=>{if(typeof e.raws.before!=="undefined"){r=e.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}}));if(typeof r==="undefined"){r=this.raw(t,null,"beforeRule")}else if(r){r=r.replace(/\S/g,"")}return r}rawBeforeRule(e){let t;e.walk((r=>{if(r.nodes&&(r.parent!==e||e.first!==r)){if(typeof r.raws.before!=="undefined"){t=r.raws.before;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}}));if(t)t=t.replace(/\S/g,"");return t}rawBeforeClose(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length>0){if(typeof e.raws.after!=="undefined"){t=e.raws.after;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}}));if(t)t=t.replace(/\S/g,"");return t}rawBeforeOpen(e){let t;e.walk((e=>{if(e.type!=="decl"){t=e.raws.between;if(typeof t!=="undefined")return false}}));return t}rawColon(e){let t;e.walkDecls((e=>{if(typeof e.raws.between!=="undefined"){t=e.raws.between.replace(/[^\s:]/g,"");return false}}));return t}beforeAfter(e,t){let r;if(e.type==="decl"){r=this.raw(e,null,"beforeDecl")}else if(e.type==="comment"){r=this.raw(e,null,"beforeComment")}else if(t==="before"){r=this.raw(e,null,"beforeRule")}else{r=this.raw(e,null,"beforeClose")}let s=e.parent;let i=0;while(s&&s.type!=="root"){i+=1;s=s.parent}if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length){for(let e=0;e<i;e++)r+=t}}return r}rawValue(e,t){let r=e[t];let s=e.raws[t];if(s&&s.value===r){return s.raw}return r}}e.exports=Stringifier;Stringifier.default=Stringifier},977:e=>{"use strict";e.exports=require("postcss")},46:e=>{"use strict";e.exports=require("postcss/lib/parser")}};var t={};function __nccwpck_require__(r){var s=t[r];if(s!==undefined){return s.exports}var i=t[r]={exports:{}};var n=true;try{e[r](i,i.exports,__nccwpck_require__);n=false}finally{if(n)delete t[r]}return i.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(632);module.exports=r})(); | ||
(()=>{var e={852:(e,t,r)=>{const{Container:s}=r(977);class NestedDeclaration extends s{constructor(e){super(e);this.type="decl";this.isNested=true;if(!this.nodes)this.nodes=[]}}e.exports=NestedDeclaration},290:(e,t,r)=>{let{Input:s}=r(977);let i=r(560);e.exports=function scssParse(e,t){let r=new s(e,t);let n=new i(r);n.parse();return n.root}},560:(e,t,r)=>{let{Comment:s}=r(977);let i=r(46);let n=r(852);let l=r(584);class ScssParser extends i{createTokenizer(){this.tokenizer=l(this.input)}rule(e){let t=false;let r=0;let s="";for(let i of e){if(t){if(i[0]!=="comment"&&i[0]!=="{"){s+=i[1]}}else if(i[0]==="space"&&i[1].includes("\n")){break}else if(i[0]==="("){r+=1}else if(i[0]===")"){r-=1}else if(r===0&&i[0]===":"){t=true}}if(!t||s.trim()===""||/^[#:A-Za-z-]/.test(s)){super.rule(e)}else{e.pop();let t=new n;this.init(t,e[0][2]);let r;for(let t=e.length-1;t>=0;t--){if(e[t][0]!=="space"){r=e[t];break}}if(r[3]){let e=this.input.fromOffset(r[3]);t.source.end={offset:r[3],line:e.line,column:e.col}}else{let e=this.input.fromOffset(r[2]);t.source.end={offset:r[2],line:e.line,column:e.col}}while(e[0][0]!=="word"){t.raws.before+=e.shift()[1]}if(e[0][2]){let r=this.input.fromOffset(e[0][2]);t.source.start={offset:e[0][2],line:r.line,column:r.col}}t.prop="";while(e.length){let r=e[0][0];if(r===":"||r==="space"||r==="comment"){break}t.prop+=e.shift()[1]}t.raws.between="";let s;while(e.length){s=e.shift();if(s[0]===":"){t.raws.between+=s[1];break}else{t.raws.between+=s[1]}}if(t.prop[0]==="_"||t.prop[0]==="*"){t.raws.before+=t.prop[0];t.prop=t.prop.slice(1)}t.raws.between+=this.spacesAndCommentsFromStart(e);this.precheckMissedSemicolon(e);for(let r=e.length-1;r>0;r--){s=e[r];if(s[1]==="!important"){t.important=true;let s=this.stringFrom(e,r);s=this.spacesFromEnd(e)+s;if(s!==" !important"){t.raws.important=s}break}else if(s[1]==="important"){let s=e.slice(0);let i="";for(let e=r;e>0;e--){let t=s[e][0];if(i.trim().indexOf("!")===0&&t!=="space"){break}i=s.pop()[1]+i}if(i.trim().indexOf("!")===0){t.important=true;t.raws.important=i;e=s}}if(s[0]!=="space"&&s[0]!=="comment"){break}}this.raw(t,"value",e);if(t.value.includes(":")){this.checkMissedSemicolon(e)}this.current=t}}comment(e){if(e[4]==="inline"){let t=new s;this.init(t,e[2]);t.raws.inline=true;let r=this.input.fromOffset(e[3]);t.source.end={offset:e[3],line:r.line,column:r.col};let i=e[1].slice(2);if(/^\s*$/.test(i)){t.text="";t.raws.left=i;t.raws.right=""}else{let e=i.match(/^(\s*)([^]*\S)(\s*)$/);let r=e[2].replace(/(\*\/|\/\*)/g,"*//*");t.text=r;t.raws.left=e[1];t.raws.right=e[3];t.raws.text=e[2]}}else{super.comment(e)}}atrule(e){let t=e[1];let r=e;while(!this.tokenizer.endOfFile()){let e=this.tokenizer.nextToken();if(e[0]==="word"&&e[2]===r[3]+1){t+=e[1];r=e}else{this.tokenizer.back(e);break}}super.atrule(["at-word",t,e[2],r[3]])}raw(e,t,r){super.raw(e,t,r);if(e.raws[t]){let s=e.raws[t].raw;e.raws[t].raw=r.reduce(((e,t)=>{if(t[0]==="comment"&&t[4]==="inline"){let r=t[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return e+"/*"+r+"*/"}else{return e+t[1]}}),"");if(s!==e.raws[t].raw){e.raws[t].scss=s}}}}e.exports=ScssParser},787:(e,t,r)=>{let s=r(224);class ScssStringifier extends s{comment(e){let t=this.raw(e,"left","commentLeft");let r=this.raw(e,"right","commentRight");if(e.raws.inline){let s=e.raws.text||e.text;this.builder("//"+t+s+r,e)}else{this.builder("/*"+t+e.text+r+"*/",e)}}decl(e,t){if(!e.isNested){super.decl(e,t)}else{let t=this.raw(e,"between","colon");let r=e.prop+t+this.rawValue(e,"value");if(e.important){r+=e.raws.important||" !important"}this.builder(r+"{",e,"start");let s;if(e.nodes&&e.nodes.length){this.body(e);s=this.raw(e,"after")}else{s=this.raw(e,"after","emptyBody")}if(s)this.builder(s);this.builder("}",e,"end")}}rawValue(e,t){let r=e[t];let s=e.raws[t];if(s&&s.value===r){return s.scss?s.scss:s.raw}else{return r}}}e.exports=ScssStringifier},457:(e,t,r)=>{let s=r(787);e.exports=function scssStringify(e,t){let r=new s(t);r.stringify(e)}},632:(e,t,r)=>{let s=r(457);let i=r(290);e.exports={parse:i,stringify:s}},584:e=>{"use strict";const t="'".charCodeAt(0);const r='"'.charCodeAt(0);const s="\\".charCodeAt(0);const i="/".charCodeAt(0);const n="\n".charCodeAt(0);const l=" ".charCodeAt(0);const a="\f".charCodeAt(0);const o="\t".charCodeAt(0);const f="\r".charCodeAt(0);const c="[".charCodeAt(0);const d="]".charCodeAt(0);const u="(".charCodeAt(0);const h=")".charCodeAt(0);const w="{".charCodeAt(0);const p="}".charCodeAt(0);const m=";".charCodeAt(0);const b="*".charCodeAt(0);const g=":".charCodeAt(0);const k="@".charCodeAt(0);const C=",".charCodeAt(0);const y="#".charCodeAt(0);const x=/[\t\n\f\r "#'()/;[\\\]{}]/g;const A=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g;const _=/.[\n"'(/\\]/;const S=/[\da-f]/i;const O=/[\n\f\r]/g;e.exports=function scssTokenize(e,v={}){let I=e.css.valueOf();let z=v.ignoreErrors;let B,D,q,F,R;let T,N,V,$;let E=I.length;let P=0;let U=[];let L=[];let M;function position(){return P}function unclosed(t){throw e.error("Unclosed "+t,P)}function endOfFile(){return L.length===0&&P>=E}function interpolation(){let e=1;let i=false;let n=false;while(e>0){D+=1;if(I.length<=D)unclosed("interpolation");B=I.charCodeAt(D);V=I.charCodeAt(D+1);if(i){if(!n&&B===i){i=false;n=false}else if(B===s){n=!n}else if(n){n=false}}else if(B===t||B===r){i=B}else if(B===p){e-=1}else if(B===y&&V===w){e+=1}}}function nextToken(e){if(L.length)return L.pop();if(P>=E)return;let v=e?e.ignoreUnclosed:false;B=I.charCodeAt(P);switch(B){case n:case l:case o:case f:case a:{D=P;do{D+=1;B=I.charCodeAt(D)}while(B===l||B===n||B===o||B===f||B===a);$=["space",I.slice(P,D)];P=D-1;break}case c:case d:case w:case p:case g:case m:case h:{let e=String.fromCharCode(B);$=[e,e,P];break}case C:{$=["word",",",P,P+1];break}case u:{N=U.length?U.pop()[1]:"";V=I.charCodeAt(P+1);if(N==="url"&&V!==t&&V!==r){M=1;T=false;D=P+1;while(D<=I.length-1){V=I.charCodeAt(D);if(V===s){T=!T}else if(V===u){M+=1}else if(V===h){M-=1;if(M===0)break}D+=1}F=I.slice(P,D+1);$=["brackets",F,P,D];P=D}else{D=I.indexOf(")",P+1);F=I.slice(P,D+1);if(D===-1||_.test(F)){$=["(","(",P]}else{$=["brackets",F,P,D];P=D}}break}case t:case r:{q=B;D=P;T=false;while(D<E){D++;if(D===E)unclosed("string");B=I.charCodeAt(D);V=I.charCodeAt(D+1);if(!T&&B===q){break}else if(B===s){T=!T}else if(T){T=false}else if(B===y&&V===w){interpolation()}}$=["string",I.slice(P,D+1),P,D];P=D;break}case k:{x.lastIndex=P+1;x.test(I);if(x.lastIndex===0){D=I.length-1}else{D=x.lastIndex-2}$=["at-word",I.slice(P,D+1),P,D];P=D;break}case s:{D=P;R=true;while(I.charCodeAt(D+1)===s){D+=1;R=!R}B=I.charCodeAt(D+1);if(R&&B!==i&&B!==l&&B!==n&&B!==o&&B!==f&&B!==a){D+=1;if(S.test(I.charAt(D))){while(S.test(I.charAt(D+1))){D+=1}if(I.charCodeAt(D+1)===l){D+=1}}}$=["word",I.slice(P,D+1),P,D];P=D;break}default:V=I.charCodeAt(P+1);if(B===y&&V===w){D=P;interpolation();F=I.slice(P,D+1);$=["word",F,P,D];P=D}else if(B===i&&V===b){D=I.indexOf("*/",P+2)+1;if(D===0){if(z||v){D=I.length}else{unclosed("comment")}}$=["comment",I.slice(P,D+1),P,D];P=D}else if(B===i&&V===i){O.lastIndex=P+1;O.test(I);if(O.lastIndex===0){D=I.length-1}else{D=O.lastIndex-2}F=I.slice(P,D+1);$=["comment",F,P,D,"inline"];P=D}else{A.lastIndex=P+1;A.test(I);if(A.lastIndex===0){D=I.length-1}else{D=A.lastIndex-2}$=["word",I.slice(P,D+1),P,D];U.push($);P=D}break}P++;return $}function back(e){L.push(e)}return{back:back,nextToken:nextToken,endOfFile:endOfFile,position:position}}},224:e=>{"use strict";const t={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:false};function capitalize(e){return e[0].toUpperCase()+e.slice(1)}class Stringifier{constructor(e){this.builder=e}stringify(e,t){if(!this[e.type]){throw new Error("Unknown AST node type "+e.type+". "+"Maybe you need to change PostCSS stringifier.")}this[e.type](e,t)}document(e){this.body(e)}root(e){this.body(e);if(e.raws.after)this.builder(e.raws.after)}comment(e){let t=this.raw(e,"left","commentLeft");let r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon");let s=e.prop+r+this.rawValue(e,"value");if(e.important){s+=e.raws.important||" !important"}if(t)s+=";";this.builder(s,e)}rule(e){this.block(e,this.rawValue(e,"selector"));if(e.raws.ownSemicolon){this.builder(e.raws.ownSemicolon,e,"end")}}atrule(e,t){let r="@"+e.name;let s=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName!=="undefined"){r+=e.raws.afterName}else if(s){r+=" "}if(e.nodes){this.block(e,r+s)}else{let i=(e.raws.between||"")+(t?";":"");this.builder(r+s+i,e)}}body(e){let t=e.nodes.length-1;while(t>0){if(e.nodes[t].type!=="comment")break;t-=1}let r=this.raw(e,"semicolon");for(let s=0;s<e.nodes.length;s++){let i=e.nodes[s];let n=this.raw(i,"before");if(n)this.builder(n);this.stringify(i,t!==s||r)}}block(e,t){let r=this.raw(e,"between","beforeOpen");this.builder(t+r+"{",e,"start");let s;if(e.nodes&&e.nodes.length){this.body(e);s=this.raw(e,"after")}else{s=this.raw(e,"after","emptyBody")}if(s)this.builder(s);this.builder("}",e,"end")}raw(e,r,s){let i;if(!s)s=r;if(r){i=e.raws[r];if(typeof i!=="undefined")return i}let n=e.parent;if(s==="before"){if(!n||n.type==="root"&&n.first===e){return""}if(n&&n.type==="document"){return""}}if(!n)return t[s];let l=e.root();if(!l.rawCache)l.rawCache={};if(typeof l.rawCache[s]!=="undefined"){return l.rawCache[s]}if(s==="before"||s==="after"){return this.beforeAfter(e,s)}else{let t="raw"+capitalize(s);if(this[t]){i=this[t](l,e)}else{l.walk((e=>{i=e.raws[r];if(typeof i!=="undefined")return false}))}}if(typeof i==="undefined")i=t[s];l.rawCache[s]=i;return i}rawSemicolon(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length&&e.last.type==="decl"){t=e.raws.semicolon;if(typeof t!=="undefined")return false}}));return t}rawEmptyBody(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length===0){t=e.raws.after;if(typeof t!=="undefined")return false}}));return t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;e.walk((r=>{let s=r.parent;if(s&&s!==e&&s.parent&&s.parent===e){if(typeof r.raws.before!=="undefined"){let e=r.raws.before.split("\n");t=e[e.length-1];t=t.replace(/\S/g,"");return false}}}));return t}rawBeforeComment(e,t){let r;e.walkComments((e=>{if(typeof e.raws.before!=="undefined"){r=e.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}}));if(typeof r==="undefined"){r=this.raw(t,null,"beforeDecl")}else if(r){r=r.replace(/\S/g,"")}return r}rawBeforeDecl(e,t){let r;e.walkDecls((e=>{if(typeof e.raws.before!=="undefined"){r=e.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}}));if(typeof r==="undefined"){r=this.raw(t,null,"beforeRule")}else if(r){r=r.replace(/\S/g,"")}return r}rawBeforeRule(e){let t;e.walk((r=>{if(r.nodes&&(r.parent!==e||e.first!==r)){if(typeof r.raws.before!=="undefined"){t=r.raws.before;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}}));if(t)t=t.replace(/\S/g,"");return t}rawBeforeClose(e){let t;e.walk((e=>{if(e.nodes&&e.nodes.length>0){if(typeof e.raws.after!=="undefined"){t=e.raws.after;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}}));if(t)t=t.replace(/\S/g,"");return t}rawBeforeOpen(e){let t;e.walk((e=>{if(e.type!=="decl"){t=e.raws.between;if(typeof t!=="undefined")return false}}));return t}rawColon(e){let t;e.walkDecls((e=>{if(typeof e.raws.between!=="undefined"){t=e.raws.between.replace(/[^\s:]/g,"");return false}}));return t}beforeAfter(e,t){let r;if(e.type==="decl"){r=this.raw(e,null,"beforeDecl")}else if(e.type==="comment"){r=this.raw(e,null,"beforeComment")}else if(t==="before"){r=this.raw(e,null,"beforeRule")}else{r=this.raw(e,null,"beforeClose")}let s=e.parent;let i=0;while(s&&s.type!=="root"){i+=1;s=s.parent}if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length){for(let e=0;e<i;e++)r+=t}}return r}rawValue(e,t){let r=e[t];let s=e.raws[t];if(s&&s.value===r){return s.raw}return r}}e.exports=Stringifier;Stringifier.default=Stringifier},977:e=>{"use strict";e.exports=require("postcss")},46:e=>{"use strict";e.exports=require("postcss/lib/parser")}};var t={};function __nccwpck_require__(r){var s=t[r];if(s!==undefined){return s.exports}var i=t[r]={exports:{}};var n=true;try{e[r](i,i.exports,__nccwpck_require__);n=false}finally{if(n)delete t[r]}return i.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(632);module.exports=r})(); |
@@ -1,1 +0,1 @@ | ||
(()=>{var e={346:(e,r,a)=>{var t=a(790);var o=a(274);var i=a(524);function ValueParser(e){if(this instanceof ValueParser){this.nodes=t(e);return this}return new ValueParser(e)}ValueParser.prototype.toString=function(){return Array.isArray(this.nodes)?i(this.nodes):""};ValueParser.prototype.walk=function(e,r){o(this.nodes,e,r);return this};ValueParser.unit=a(647);ValueParser.walk=o;ValueParser.stringify=i;e.exports=ValueParser},790:e=>{var r="(".charCodeAt(0);var a=")".charCodeAt(0);var t="'".charCodeAt(0);var o='"'.charCodeAt(0);var i="\\".charCodeAt(0);var n="/".charCodeAt(0);var s=",".charCodeAt(0);var u=":".charCodeAt(0);var c="*".charCodeAt(0);var l="u".charCodeAt(0);var d="U".charCodeAt(0);var f="+".charCodeAt(0);var h=/^[a-f0-9?-]+$/i;e.exports=function(e){var v=[];var A=e;var p,C,y,_,w,g,x,b;var k=0;var I=A.charCodeAt(k);var m=A.length;var P=[{nodes:v}];var V=0;var q;var N="";var O="";var E="";while(k<m){if(I<=32){p=k;do{p+=1;I=A.charCodeAt(p)}while(I<=32);_=A.slice(k,p);y=v[v.length-1];if(I===a&&V){E=_}else if(y&&y.type==="div"){y.after=_}else if(I===s||I===u||I===n&&A.charCodeAt(p+1)!==c&&(!q||q&&q.type==="function"&&q.value!=="calc")){O=_}else{v.push({type:"space",sourceIndex:k,value:_})}k=p}else if(I===t||I===o){p=k;C=I===t?"'":'"';_={type:"string",sourceIndex:k,quote:C};do{w=false;p=A.indexOf(C,p+1);if(~p){g=p;while(A.charCodeAt(g-1)===i){g-=1;w=!w}}else{A+=C;p=A.length-1;_.unclosed=true}}while(w);_.value=A.slice(k+1,p);v.push(_);k=p+1;I=A.charCodeAt(k)}else if(I===n&&A.charCodeAt(k+1)===c){_={type:"comment",sourceIndex:k};p=A.indexOf("*/",k);if(p===-1){_.unclosed=true;p=A.length}_.value=A.slice(k+2,p);v.push(_);k=p+2;I=A.charCodeAt(k)}else if((I===n||I===c)&&q&&q.type==="function"&&q.value==="calc"){_=A[k];v.push({type:"word",sourceIndex:k-O.length,value:_});k+=1;I=A.charCodeAt(k)}else if(I===n||I===s||I===u){_=A[k];v.push({type:"div",sourceIndex:k-O.length,value:_,before:O,after:""});O="";k+=1;I=A.charCodeAt(k)}else if(r===I){p=k;do{p+=1;I=A.charCodeAt(p)}while(I<=32);b=k;_={type:"function",sourceIndex:k-N.length,value:N,before:A.slice(b+1,p)};k=p;if(N==="url"&&I!==t&&I!==o){p-=1;do{w=false;p=A.indexOf(")",p+1);if(~p){g=p;while(A.charCodeAt(g-1)===i){g-=1;w=!w}}else{A+=")";p=A.length-1;_.unclosed=true}}while(w);x=p;do{x-=1;I=A.charCodeAt(x)}while(I<=32);if(b<x){if(k!==x+1){_.nodes=[{type:"word",sourceIndex:k,value:A.slice(k,x+1)}]}else{_.nodes=[]}if(_.unclosed&&x+1!==p){_.after="";_.nodes.push({type:"space",sourceIndex:x+1,value:A.slice(x+1,p)})}else{_.after=A.slice(x+1,p)}}else{_.after="";_.nodes=[]}k=p+1;I=A.charCodeAt(k);v.push(_)}else{V+=1;_.after="";v.push(_);P.push(_);v=_.nodes=[];q=_}N=""}else if(a===I&&V){k+=1;I=A.charCodeAt(k);q.after=E;E="";V-=1;P.pop();q=P[V];v=q.nodes}else{p=k;do{if(I===i){p+=1}p+=1;I=A.charCodeAt(p)}while(p<m&&!(I<=32||I===t||I===o||I===s||I===u||I===n||I===r||I===c&&q&&q.type==="function"&&q.value==="calc"||I===n&&q.type==="function"&&q.value==="calc"||I===a&&V));_=A.slice(k,p);if(r===I){N=_}else if((l===_.charCodeAt(0)||d===_.charCodeAt(0))&&f===_.charCodeAt(1)&&h.test(_.slice(2))){v.push({type:"unicode-range",sourceIndex:k,value:_})}else{v.push({type:"word",sourceIndex:k,value:_})}k=p}}for(k=P.length-1;k;k-=1){P[k].unclosed=true}return P[0].nodes}},524:e=>{function stringifyNode(e,r){var a=e.type;var t=e.value;var o;var i;if(r&&(i=r(e))!==undefined){return i}else if(a==="word"||a==="space"){return t}else if(a==="string"){o=e.quote||"";return o+t+(e.unclosed?"":o)}else if(a==="comment"){return"/*"+t+(e.unclosed?"":"*/")}else if(a==="div"){return(e.before||"")+t+(e.after||"")}else if(Array.isArray(e.nodes)){o=stringify(e.nodes,r);if(a!=="function"){return o}return t+"("+(e.before||"")+o+(e.after||"")+(e.unclosed?"":")")}return t}function stringify(e,r){var a,t;if(Array.isArray(e)){a="";for(t=e.length-1;~t;t-=1){a=stringifyNode(e[t],r)+a}return a}return stringifyNode(e,r)}e.exports=stringify},647:e=>{var r="-".charCodeAt(0);var a="+".charCodeAt(0);var t=".".charCodeAt(0);var o="e".charCodeAt(0);var i="E".charCodeAt(0);function likeNumber(e){var o=e.charCodeAt(0);var i;if(o===a||o===r){i=e.charCodeAt(1);if(i>=48&&i<=57){return true}var n=e.charCodeAt(2);if(i===t&&n>=48&&n<=57){return true}return false}if(o===t){i=e.charCodeAt(1);if(i>=48&&i<=57){return true}return false}if(o>=48&&o<=57){return true}return false}e.exports=function(e){var n=0;var s=e.length;var u;var c;var l;if(s===0||!likeNumber(e)){return false}u=e.charCodeAt(n);if(u===a||u===r){n++}while(n<s){u=e.charCodeAt(n);if(u<48||u>57){break}n+=1}u=e.charCodeAt(n);c=e.charCodeAt(n+1);if(u===t&&c>=48&&c<=57){n+=2;while(n<s){u=e.charCodeAt(n);if(u<48||u>57){break}n+=1}}u=e.charCodeAt(n);c=e.charCodeAt(n+1);l=e.charCodeAt(n+2);if((u===o||u===i)&&(c>=48&&c<=57||(c===a||c===r)&&l>=48&&l<=57)){n+=c===a||c===r?3:2;while(n<s){u=e.charCodeAt(n);if(u<48||u>57){break}n+=1}}return{number:e.slice(0,n),unit:e.slice(n)}}},274:e=>{e.exports=function walk(e,r,a){var t,o,i,n;for(t=0,o=e.length;t<o;t+=1){i=e[t];if(!a){n=r(i,t,e)}if(n!==false&&i.type==="function"&&Array.isArray(i.nodes)){walk(i.nodes,r,a)}if(a){r(i,t,e)}}}}};var r={};function __nccwpck_require__(a){var t=r[a];if(t!==undefined){return t.exports}var o=r[a]={exports:{}};var i=true;try{e[a](o,o.exports,__nccwpck_require__);i=false}finally{if(i)delete r[a]}return o.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var a=__nccwpck_require__(346);module.exports=a})(); | ||
(()=>{var e={876:(e,r,t)=>{var a=t(583);var n=t(800);var o=t(243);function ValueParser(e){if(this instanceof ValueParser){this.nodes=a(e);return this}return new ValueParser(e)}ValueParser.prototype.toString=function(){return Array.isArray(this.nodes)?o(this.nodes):""};ValueParser.prototype.walk=function(e,r){n(this.nodes,e,r);return this};ValueParser.unit=t(915);ValueParser.walk=n;ValueParser.stringify=o;e.exports=ValueParser},583:e=>{var r="(".charCodeAt(0);var t=")".charCodeAt(0);var a="'".charCodeAt(0);var n='"'.charCodeAt(0);var o="\\".charCodeAt(0);var s="/".charCodeAt(0);var d=",".charCodeAt(0);var u=":".charCodeAt(0);var i="*".charCodeAt(0);var c="u".charCodeAt(0);var l="U".charCodeAt(0);var f="+".charCodeAt(0);var h=/^[a-f0-9?-]+$/i;e.exports=function(e){var v=[];var A=e;var p,C,x,y,g,I,_,w;var E=0;var b=A.charCodeAt(E);var k=A.length;var m=[{nodes:v}];var P=0;var V;var q="";var N="";var O="";while(E<k){if(b<=32){p=E;do{p+=1;b=A.charCodeAt(p)}while(b<=32);y=A.slice(E,p);x=v[v.length-1];if(b===t&&P){O=y}else if(x&&x.type==="div"){x.after=y;x.sourceEndIndex+=y.length}else if(b===d||b===u||b===s&&A.charCodeAt(p+1)!==i&&(!V||V&&V.type==="function"&&V.value!=="calc")){N=y}else{v.push({type:"space",sourceIndex:E,sourceEndIndex:p,value:y})}E=p}else if(b===a||b===n){p=E;C=b===a?"'":'"';y={type:"string",sourceIndex:E,quote:C};do{g=false;p=A.indexOf(C,p+1);if(~p){I=p;while(A.charCodeAt(I-1)===o){I-=1;g=!g}}else{A+=C;p=A.length-1;y.unclosed=true}}while(g);y.value=A.slice(E+1,p);y.sourceEndIndex=y.unclosed?p:p+1;v.push(y);E=p+1;b=A.charCodeAt(E)}else if(b===s&&A.charCodeAt(E+1)===i){p=A.indexOf("*/",E);y={type:"comment",sourceIndex:E,sourceEndIndex:p+2};if(p===-1){y.unclosed=true;p=A.length;y.sourceEndIndex=p}y.value=A.slice(E+2,p);v.push(y);E=p+2;b=A.charCodeAt(E)}else if((b===s||b===i)&&V&&V.type==="function"&&V.value==="calc"){y=A[E];v.push({type:"word",sourceIndex:E-N.length,sourceEndIndex:E+y.length,value:y});E+=1;b=A.charCodeAt(E)}else if(b===s||b===d||b===u){y=A[E];v.push({type:"div",sourceIndex:E-N.length,sourceEndIndex:E+y.length,value:y,before:N,after:""});N="";E+=1;b=A.charCodeAt(E)}else if(r===b){p=E;do{p+=1;b=A.charCodeAt(p)}while(b<=32);w=E;y={type:"function",sourceIndex:E-q.length,value:q,before:A.slice(w+1,p)};E=p;if(q==="url"&&b!==a&&b!==n){p-=1;do{g=false;p=A.indexOf(")",p+1);if(~p){I=p;while(A.charCodeAt(I-1)===o){I-=1;g=!g}}else{A+=")";p=A.length-1;y.unclosed=true}}while(g);_=p;do{_-=1;b=A.charCodeAt(_)}while(b<=32);if(w<_){if(E!==_+1){y.nodes=[{type:"word",sourceIndex:E,sourceEndIndex:_+1,value:A.slice(E,_+1)}]}else{y.nodes=[]}if(y.unclosed&&_+1!==p){y.after="";y.nodes.push({type:"space",sourceIndex:_+1,sourceEndIndex:p,value:A.slice(_+1,p)})}else{y.after=A.slice(_+1,p);y.sourceEndIndex=p}}else{y.after="";y.nodes=[]}E=p+1;y.sourceEndIndex=y.unclosed?p:E;b=A.charCodeAt(E);v.push(y)}else{P+=1;y.after="";y.sourceEndIndex=E+1;v.push(y);m.push(y);v=y.nodes=[];V=y}q=""}else if(t===b&&P){E+=1;b=A.charCodeAt(E);V.after=O;V.sourceEndIndex+=O.length;O="";P-=1;m[m.length-1].sourceEndIndex=E;m.pop();V=m[P];v=V.nodes}else{p=E;do{if(b===o){p+=1}p+=1;b=A.charCodeAt(p)}while(p<k&&!(b<=32||b===a||b===n||b===d||b===u||b===s||b===r||b===i&&V&&V.type==="function"&&V.value==="calc"||b===s&&V.type==="function"&&V.value==="calc"||b===t&&P));y=A.slice(E,p);if(r===b){q=y}else if((c===y.charCodeAt(0)||l===y.charCodeAt(0))&&f===y.charCodeAt(1)&&h.test(y.slice(2))){v.push({type:"unicode-range",sourceIndex:E,sourceEndIndex:p,value:y})}else{v.push({type:"word",sourceIndex:E,sourceEndIndex:p,value:y})}E=p}}for(E=m.length-1;E;E-=1){m[E].unclosed=true;m[E].sourceEndIndex=A.length}return m[0].nodes}},243:e=>{function stringifyNode(e,r){var t=e.type;var a=e.value;var n;var o;if(r&&(o=r(e))!==undefined){return o}else if(t==="word"||t==="space"){return a}else if(t==="string"){n=e.quote||"";return n+a+(e.unclosed?"":n)}else if(t==="comment"){return"/*"+a+(e.unclosed?"":"*/")}else if(t==="div"){return(e.before||"")+a+(e.after||"")}else if(Array.isArray(e.nodes)){n=stringify(e.nodes,r);if(t!=="function"){return n}return a+"("+(e.before||"")+n+(e.after||"")+(e.unclosed?"":")")}return a}function stringify(e,r){var t,a;if(Array.isArray(e)){t="";for(a=e.length-1;~a;a-=1){t=stringifyNode(e[a],r)+t}return t}return stringifyNode(e,r)}e.exports=stringify},915:e=>{var r="-".charCodeAt(0);var t="+".charCodeAt(0);var a=".".charCodeAt(0);var n="e".charCodeAt(0);var o="E".charCodeAt(0);function likeNumber(e){var n=e.charCodeAt(0);var o;if(n===t||n===r){o=e.charCodeAt(1);if(o>=48&&o<=57){return true}var s=e.charCodeAt(2);if(o===a&&s>=48&&s<=57){return true}return false}if(n===a){o=e.charCodeAt(1);if(o>=48&&o<=57){return true}return false}if(n>=48&&n<=57){return true}return false}e.exports=function(e){var s=0;var d=e.length;var u;var i;var c;if(d===0||!likeNumber(e)){return false}u=e.charCodeAt(s);if(u===t||u===r){s++}while(s<d){u=e.charCodeAt(s);if(u<48||u>57){break}s+=1}u=e.charCodeAt(s);i=e.charCodeAt(s+1);if(u===a&&i>=48&&i<=57){s+=2;while(s<d){u=e.charCodeAt(s);if(u<48||u>57){break}s+=1}}u=e.charCodeAt(s);i=e.charCodeAt(s+1);c=e.charCodeAt(s+2);if((u===n||u===o)&&(i>=48&&i<=57||(i===t||i===r)&&c>=48&&c<=57)){s+=i===t||i===r?3:2;while(s<d){u=e.charCodeAt(s);if(u<48||u>57){break}s+=1}}return{number:e.slice(0,s),unit:e.slice(s)}}},800:e=>{e.exports=function walk(e,r,t){var a,n,o,s;for(a=0,n=e.length;a<n;a+=1){o=e[a];if(!t){s=r(o,a,e)}if(s!==false&&o.type==="function"&&Array.isArray(o.nodes)){walk(o.nodes,r,t)}if(t){r(o,a,e)}}}}};var r={};function __nccwpck_require__(t){var a=r[t];if(a!==undefined){return a.exports}var n=r[t]={exports:{}};var o=true;try{e[t](n,n.exports,__nccwpck_require__);o=false}finally{if(o)delete r[t]}return n.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t=__nccwpck_require__(876);module.exports=t})(); |
@@ -196,5 +196,6 @@ "use strict"; | ||
if (this.minimalMode && req.headers['x-matched-path'] && typeof req.headers['x-matched-path'] === 'string') { | ||
var ref8, ref9; | ||
var ref8, ref9, ref10; | ||
const reqUrlIsDataUrl = (ref8 = req.url) === null || ref8 === void 0 ? void 0 : ref8.includes('/_next/data'); | ||
const matchedPathIsDataUrl = (ref9 = req.headers['x-matched-path']) === null || ref9 === void 0 ? void 0 : ref9.includes('/_next/data'); | ||
const parsedMatchedPath = (0, _url).parse(req.headers['x-matched-path'] || ''); | ||
const matchedPathIsDataUrl = (ref9 = parsedMatchedPath.pathname) === null || ref9 === void 0 ? void 0 : ref9.includes('/_next/data'); | ||
const isDataUrl = reqUrlIsDataUrl || matchedPathIsDataUrl; | ||
@@ -204,2 +205,3 @@ let parsedPath = (0, _url).parse(isDataUrl ? req.url : req.headers['x-matched-path'], true); | ||
let matchedPathnameNoExt = isDataUrl ? matchedPathname.replace(/\.json$/, '') : matchedPathname; | ||
let srcPathname = isDataUrl ? ((ref10 = parsedMatchedPath.pathname) === null || ref10 === void 0 ? void 0 : ref10.replace(/\.json$/, '')) || matchedPathnameNoExt : matchedPathnameNoExt; | ||
if (this.nextConfig.i18n) { | ||
@@ -214,4 +216,5 @@ const localePathResult = (0, _normalizeLocalePath).normalizeLocalePath(matchedPathname || '/', this.nextConfig.i18n.locales); | ||
matchedPathnameNoExt = (0, _denormalizePagePath).denormalizePagePath(matchedPathnameNoExt); | ||
srcPathname = (0, _denormalizePagePath).denormalizePagePath(srcPathname); | ||
} | ||
const pageIsDynamic = (0, _utils).isDynamicRoute(matchedPathnameNoExt); | ||
const pageIsDynamic = (0, _utils).isDynamicRoute(srcPathname); | ||
const combinedRewrites = []; | ||
@@ -223,3 +226,3 @@ combinedRewrites.push(...this.customRoutes.rewrites.beforeFiles); | ||
pageIsDynamic, | ||
page: matchedPathnameNoExt, | ||
page: srcPathname, | ||
i18n: this.nextConfig.i18n, | ||
@@ -230,10 +233,17 @@ basePath: this.nextConfig.basePath, | ||
try { | ||
var ref10; | ||
var ref11; | ||
// ensure parsedUrl.pathname includes URL before processing | ||
// rewrites or they won't match correctly | ||
if (this.nextConfig.i18n && !((ref10 = url.locale) === null || ref10 === void 0 ? void 0 : ref10.path.detectedLocale)) { | ||
var ref11; | ||
parsedUrl.pathname = `/${(ref11 = url.locale) === null || ref11 === void 0 ? void 0 : ref11.locale}${parsedUrl.pathname}`; | ||
if (this.nextConfig.i18n && !((ref11 = url.locale) === null || ref11 === void 0 ? void 0 : ref11.path.detectedLocale)) { | ||
var ref12; | ||
parsedUrl.pathname = `/${(ref12 = url.locale) === null || ref12 === void 0 ? void 0 : ref12.locale}${parsedUrl.pathname}`; | ||
} | ||
utils.handleRewrites(req, parsedUrl); | ||
const pathnameBeforeRewrite = parsedUrl.pathname; | ||
const rewriteParams = utils.handleRewrites(req, parsedUrl); | ||
const rewriteParamKeys = Object.keys(rewriteParams); | ||
const didRewrite = pathnameBeforeRewrite !== parsedUrl.pathname; | ||
if (didRewrite) { | ||
(0, _requestMeta).addRequestMeta(req, '_nextRewroteUrl', parsedUrl.pathname); | ||
(0, _requestMeta).addRequestMeta(req, '_nextDidRewrite', true); | ||
} | ||
// interpolate dynamic params and normalize URL if needed | ||
@@ -269,4 +279,10 @@ if (pageIsDynamic) { | ||
Object.assign(parsedUrl.query, params); | ||
utils.normalizeVercelUrl(req, true); | ||
} | ||
if (pageIsDynamic || didRewrite) { | ||
var ref13; | ||
utils.normalizeVercelUrl(req, true, [ | ||
...rewriteParamKeys, | ||
...Object.keys(((ref13 = utils.defaultRouteRegex) === null || ref13 === void 0 ? void 0 : ref13.groups) || {}), | ||
]); | ||
} | ||
} catch (err) { | ||
@@ -291,4 +307,4 @@ if (err instanceof _utils1.DecodeError) { | ||
if (!this.minimalMode || !parsedUrl.query.__nextLocale) { | ||
var ref12; | ||
if (url === null || url === void 0 ? void 0 : (ref12 = url.locale) === null || ref12 === void 0 ? void 0 : ref12.locale) { | ||
var ref14; | ||
if (url === null || url === void 0 ? void 0 : (ref14 = url.locale) === null || ref14 === void 0 ? void 0 : ref14.locale) { | ||
parsedUrl.query.__nextLocale = url.locale.locale; | ||
@@ -353,3 +369,3 @@ } | ||
generateRoutes() { | ||
var ref13; | ||
var ref15; | ||
const publicRoutes = this.generatePublicRoutes(); | ||
@@ -521,3 +537,3 @@ const imageRoutes = this.generateImageRoutes(); | ||
pageChecker: this.hasPage.bind(this), | ||
locales: ((ref13 = this.nextConfig.i18n) === null || ref13 === void 0 ? void 0 : ref13.locales) || [] | ||
locales: ((ref15 = this.nextConfig.i18n) === null || ref15 === void 0 ? void 0 : ref15.locales) || [] | ||
}; | ||
@@ -692,3 +708,3 @@ } | ||
async renderToResponseWithComponents({ req , res , pathname , renderOpts: opts }, { components , query }) { | ||
var ref, ref14, ref15, ref16, ref17; | ||
var ref, ref16, ref17, ref18, ref19; | ||
const is404Page = pathname === '/404'; | ||
@@ -700,3 +716,3 @@ const is500Page = pathname === '/500'; | ||
const hasGetInitialProps = !!((ref = components.Component) === null || ref === void 0 ? void 0 : ref.getInitialProps); | ||
const isServerComponent = !!((ref14 = components.ComponentMod) === null || ref14 === void 0 ? void 0 : ref14.__next_rsc__); | ||
const isServerComponent = !!((ref16 = components.ComponentMod) === null || ref16 === void 0 ? void 0 : ref16.__next_rsc__); | ||
const isSSG = !!components.getStaticProps || // For static server component pages, we currently always consider them | ||
@@ -743,7 +759,7 @@ // as SSG since we also need to handle the next data (flight JSON). | ||
if (opts.supportsDynamicHTML === true) { | ||
var ref18, ref19; | ||
var ref20, ref21; | ||
const isBotRequest = (0, _utils2).isBot(req.headers['user-agent'] || ''); | ||
const isSupportedDocument = typeof ((ref18 = components.Document) === null || ref18 === void 0 ? void 0 : ref18.getInitialProps) !== 'function' || // When concurrent features is enabled, the built-in `Document` | ||
const isSupportedDocument = typeof ((ref20 = components.Document) === null || ref20 === void 0 ? void 0 : ref20.getInitialProps) !== 'function' || // When concurrent features is enabled, the built-in `Document` | ||
// component also supports dynamic HTML. | ||
(this.renderOpts.reactRoot && !!((ref19 = components.Document) === null || ref19 === void 0 ? void 0 : ref19.__next_internal_document)); | ||
(this.renderOpts.reactRoot && !!((ref21 = components.Document) === null || ref21 === void 0 ? void 0 : ref21.__next_internal_document)); | ||
// Disable dynamic HTML in cases that we know it won't be generated, | ||
@@ -753,5 +769,5 @@ // so that we can continue generating a cache key when possible. | ||
} | ||
const defaultLocale = isSSG ? (ref15 = this.nextConfig.i18n) === null || ref15 === void 0 ? void 0 : ref15.defaultLocale : query.__nextDefaultLocale; | ||
const defaultLocale = isSSG ? (ref17 = this.nextConfig.i18n) === null || ref17 === void 0 ? void 0 : ref17.defaultLocale : query.__nextDefaultLocale; | ||
const locale = query.__nextLocale; | ||
const locales = (ref16 = this.nextConfig.i18n) === null || ref16 === void 0 ? void 0 : ref16.locales; | ||
const locales = (ref18 = this.nextConfig.i18n) === null || ref18 === void 0 ? void 0 : ref18.locales; | ||
let previewData; | ||
@@ -778,3 +794,3 @@ let isPreviewMode = false; | ||
urlPathname = (0, _normalizeTrailingSlash).removePathTrailingSlash(urlPathname); | ||
resolvedUrlPathname = (0, _normalizeLocalePath).normalizeLocalePath((0, _normalizeTrailingSlash).removePathTrailingSlash(resolvedUrlPathname), (ref17 = this.nextConfig.i18n) === null || ref17 === void 0 ? void 0 : ref17.locales).pathname; | ||
resolvedUrlPathname = (0, _normalizeLocalePath).normalizeLocalePath((0, _normalizeTrailingSlash).removePathTrailingSlash(resolvedUrlPathname), (ref19 = this.nextConfig.i18n) === null || ref19 === void 0 ? void 0 : ref19.locales).pathname; | ||
const stripNextDataPath = (path)=>{ | ||
@@ -861,2 +877,9 @@ if (path.includes(this.buildId)) { | ||
const origQuery = (0, _url).parse(req.url || '', true).query; | ||
// clear any dynamic route params so they aren't in | ||
// the resolvedUrl | ||
if (opts.params) { | ||
Object.keys(opts.params).forEach((key)=>{ | ||
delete origQuery[key]; | ||
}); | ||
} | ||
const hadTrailingSlash = urlPathname !== '/' && this.nextConfig.trailingSlash; | ||
@@ -863,0 +886,0 @@ const resolvedUrl = (0, _url).format({ |
@@ -157,3 +157,3 @@ "use strict"; | ||
this.hotReloaderSpan = (0, _trace).trace('hot-reloader', undefined, { | ||
version: "12.1.6-canary.5" | ||
version: "12.1.6-canary.6" | ||
}); | ||
@@ -160,0 +160,0 @@ // Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing |
@@ -198,3 +198,3 @@ "use strict"; | ||
// Create the wrapper component for a Flight stream. | ||
function createServerComponentRenderer(AppMod, ComponentMod, { cachePrefix , inlinedTransformStream , staticTransformStream , serverComponentManifest }) { | ||
function createServerComponentRenderer(ComponentMod, { cachePrefix , inlinedTransformStream , staticTransformStream , serverComponentManifest }) { | ||
// We need to expose the `__webpack_require__` API globally for | ||
@@ -205,5 +205,5 @@ // react-server-dom-webpack. This is a hack until we find a better way. | ||
const Component = (0, _interopDefault).interopDefault(ComponentMod); | ||
function ServerComponentWrapper(props) { | ||
function ServerComponentWrapper({ App , router , ...props }) { | ||
const id = _react.default.useId(); | ||
const reqStream = (0, _writerBrowserServer).renderToReadableStream(renderFlight(AppMod, ComponentMod, props), serverComponentManifest); | ||
const reqStream = (0, _writerBrowserServer).renderToReadableStream(/*#__PURE__*/ _react.default.createElement(App, null, /*#__PURE__*/ _react.default.createElement(Component, Object.assign({}, props))), serverComponentManifest); | ||
const response = useFlightResponse({ | ||
@@ -229,3 +229,3 @@ id: cachePrefix + ',' + id, | ||
async function renderToHTML(req, res, pathname, query, renderOpts) { | ||
var ref, ref1; | ||
var ref, ref1, ref2; | ||
// In dev we invalidate the cache by appending a timestamp to the resource URL. | ||
@@ -250,3 +250,3 @@ // This is a workaround to fix https://github.com/vercel/next.js/issues/5860 | ||
const search = (0, _querystring).urlQueryToSearchParams(query).toString(); | ||
Component = createServerComponentRenderer(AppMod, ComponentMod, { | ||
Component = createServerComponentRenderer(ComponentMod, { | ||
cachePrefix: pathname + (search ? `?${search}` : ''), | ||
@@ -299,2 +299,3 @@ inlinedTransformStream: serverComponentsInlinedTransformStream, | ||
const hasPageGetInitialProps = !!((ref1 = Component) === null || ref1 === void 0 ? void 0 : ref1.getInitialProps); | ||
const hasPageScripts = (ref2 = Component) === null || ref2 === void 0 ? void 0 : ref2.unstable_scriptLoader; | ||
const pageIsDynamic = (0, _isDynamic).isDynamicRoute(pathname); | ||
@@ -307,4 +308,4 @@ const isAutoExport = !hasPageGetInitialProps && defaultAppGetInitialProps && !isSSG && !getServerSideProps && !isServerComponent; | ||
]){ | ||
var ref2; | ||
if ((ref2 = Component) === null || ref2 === void 0 ? void 0 : ref2[methodName]) { | ||
var ref3; | ||
if ((ref3 = Component) === null || ref3 === void 0 ? void 0 : ref3[methodName]) { | ||
throw new Error(`page ${pathname} ${methodName} ${_constants.GSSP_COMPONENT_MEMBER_ERROR}`); | ||
@@ -422,2 +423,8 @@ } | ||
let head1 = (0, _head).defaultHead(inAmpMode); | ||
let initialScripts = {}; | ||
if (hasPageScripts) { | ||
initialScripts.beforeInteractive = [].concat(hasPageScripts()).filter((script)=>script.props.strategy === 'beforeInteractive' | ||
).map((script)=>script.props | ||
); | ||
} | ||
let scriptLoader = {}; | ||
@@ -458,3 +465,3 @@ const nextExport = !isSSG && (renderOpts.nextExport || dev && (isAutoExport || isFallback)); | ||
}, | ||
scripts: {}, | ||
scripts: initialScripts, | ||
mountedInstances: new Set() | ||
@@ -780,5 +787,9 @@ } | ||
} | ||
async function documentInitialProps() { | ||
async function documentInitialProps(renderShell) { | ||
const renderPage = (options = {})=>{ | ||
if (ctx.err && ErrorDebug) { | ||
// Always start rendering the shell even if there's an error. | ||
if (renderShell) { | ||
renderShell({}); | ||
} | ||
const html = ReactDOMServer.renderToString(/*#__PURE__*/ _react.default.createElement(Body, null, /*#__PURE__*/ _react.default.createElement(ErrorDebug, { | ||
@@ -796,2 +807,15 @@ error: ctx.err | ||
const { App: EnhancedApp , Component: EnhancedComponent } = enhanceComponents(options, App, Component); | ||
if (renderShell) { | ||
return renderShell({ | ||
EnhancedApp, | ||
EnhancedComponent | ||
}).then(()=>{ | ||
// When using concurrent features, we don't have or need the full | ||
// html so it's fine to return nothing here. | ||
return { | ||
html: '', | ||
head: head1 | ||
}; | ||
}); | ||
} | ||
const html = ReactDOMServer.renderToString(/*#__PURE__*/ _react.default.createElement(Body, null, /*#__PURE__*/ _react.default.createElement(AppContainerWithIsomorphicFiberStructure, null, /*#__PURE__*/ _react.default.createElement(EnhancedApp, Object.assign({ | ||
@@ -822,10 +846,13 @@ Component: EnhancedComponent, | ||
} | ||
const renderContent = ()=>{ | ||
const renderContent = ({ EnhancedApp , EnhancedComponent } = {})=>{ | ||
return ctx.err && ErrorDebug ? /*#__PURE__*/ _react.default.createElement(Body, null, /*#__PURE__*/ _react.default.createElement(ErrorDebug, { | ||
error: ctx.err | ||
})) : /*#__PURE__*/ _react.default.createElement(Body, null, /*#__PURE__*/ _react.default.createElement(AppContainerWithIsomorphicFiberStructure, null, isServerComponent && !!AppMod.__next_rsc__ ? // _app.server.js is used. | ||
/*#__PURE__*/ _react.default.createElement(Component, Object.assign({}, props1.pageProps)) : /*#__PURE__*/ _react.default.createElement(App, Object.assign({}, props1, { | ||
Component: Component, | ||
router: router | ||
})))); | ||
})) : /*#__PURE__*/ _react.default.createElement(Body, null, /*#__PURE__*/ _react.default.createElement(AppContainerWithIsomorphicFiberStructure, null, isServerComponent ? /*#__PURE__*/ _react.default.createElement(EnhancedComponent || Component, { | ||
App: EnhancedApp || App, | ||
...props1.pageProps | ||
}) : /*#__PURE__*/ _react.default.createElement(EnhancedApp || App, { | ||
...props1, | ||
Component: EnhancedComponent || Component, | ||
router | ||
}))); | ||
}; | ||
@@ -872,9 +899,13 @@ if (!hasConcurrentFeatures) { | ||
} else { | ||
// We start rendering the shell earlier, before returning the head tags | ||
// to `documentResult`. | ||
const content = renderContent(); | ||
const renderStream = await (0, _nodeWebStreamsHelper).renderToInitialStream({ | ||
ReactDOMServer, | ||
element: content | ||
}); | ||
let renderStream; | ||
const renderShell = async ({ EnhancedApp , EnhancedComponent } = {})=>{ | ||
const content = renderContent({ | ||
EnhancedApp, | ||
EnhancedComponent | ||
}); | ||
renderStream = await (0, _nodeWebStreamsHelper).renderToInitialStream({ | ||
ReactDOMServer, | ||
element: content | ||
}); | ||
}; | ||
const bodyResult = async (suffix)=>{ | ||
@@ -931,4 +962,12 @@ // this must be called inside bodyResult so appWrappers is | ||
const hasDocumentGetInitialProps = !(isServerComponent || process.browser || !Document.getInitialProps); | ||
const documentInitialPropsRes = hasDocumentGetInitialProps ? await documentInitialProps() : {}; | ||
if (documentInitialPropsRes === null) return null; | ||
// If it has getInitialProps, we will render the shell in `renderPage`. | ||
// Otherwise we do it right now. | ||
let documentInitialPropsRes; | ||
if (hasDocumentGetInitialProps) { | ||
documentInitialPropsRes = await documentInitialProps(renderShell); | ||
if (documentInitialPropsRes === null) return null; | ||
} else { | ||
await renderShell(); | ||
documentInitialPropsRes = {}; | ||
} | ||
const { docProps } = documentInitialPropsRes || {}; | ||
@@ -935,0 +974,0 @@ const documentElement = ()=>{ |
@@ -17,2 +17,3 @@ "use strict"; | ||
var _routeLoader = require("../../../client/route-loader"); | ||
var _script = require("../../../client/script"); | ||
var _isError = _interopRequireWildcard(require("../../../lib/is-error")); | ||
@@ -770,2 +771,9 @@ var _denormalizePagePath = require("../../../server/denormalize-page-path"); | ||
let { error , props , __N_SSG , __N_SSP } = routeInfo; | ||
const component = routeInfo.Component; | ||
if (component && component.unstable_scriptLoader) { | ||
const scripts = [].concat(component.unstable_scriptLoader()); | ||
scripts.forEach((script)=>{ | ||
(0, _script).handleClientScriptLoad(script.props); | ||
}); | ||
} | ||
// handle redirect on client-transition | ||
@@ -772,0 +780,0 @@ if ((__N_SSG || __N_SSP) && props) { |
@@ -16,3 +16,4 @@ /// <reference types="node" /> | ||
newUrl: string; | ||
destQuery: import("querystring").ParsedUrlQuery; | ||
parsedDestination: import("./parse-url").ParsedUrl; | ||
}; |
@@ -171,2 +171,3 @@ "use strict"; | ||
newUrl, | ||
destQuery, | ||
parsedDestination | ||
@@ -173,0 +174,0 @@ }; |
@@ -59,3 +59,3 @@ "use strict"; | ||
ciName: ciEnvironment.isCI && ciEnvironment.name || null, | ||
nextVersion: "12.1.6-canary.5" | ||
nextVersion: "12.1.6-canary.6" | ||
}; | ||
@@ -62,0 +62,0 @@ return traits; |
@@ -33,3 +33,3 @@ "use strict"; | ||
// This should be an invariant, if it fails our build tooling is broken. | ||
if (typeof "12.1.6-canary.5" !== 'string') { | ||
if (typeof "12.1.6-canary.6" !== 'string') { | ||
return []; | ||
@@ -39,3 +39,3 @@ } | ||
const payload = { | ||
nextVersion: "12.1.6-canary.5", | ||
nextVersion: "12.1.6-canary.6", | ||
nodeVersion: process.version, | ||
@@ -42,0 +42,0 @@ cliCommand: event.cliCommand, |
{ | ||
"name": "next", | ||
"version": "12.1.6-canary.5", | ||
"version": "12.1.6-canary.6", | ||
"description": "The React Framework", | ||
@@ -72,4 +72,4 @@ "main": "./dist/server/next.js", | ||
"dependencies": { | ||
"@next/env": "12.1.6-canary.5", | ||
"caniuse-lite": "^1.0.30001283", | ||
"@next/env": "12.1.6-canary.6", | ||
"caniuse-lite": "^1.0.30001332", | ||
"postcss": "8.4.5", | ||
@@ -121,7 +121,7 @@ "styled-jsx": "5.0.1" | ||
"@napi-rs/triples": "1.1.0", | ||
"@next/polyfill-module": "12.1.6-canary.5", | ||
"@next/polyfill-nomodule": "12.1.6-canary.5", | ||
"@next/react-dev-overlay": "12.1.6-canary.5", | ||
"@next/react-refresh-utils": "12.1.6-canary.5", | ||
"@next/swc": "12.1.6-canary.5", | ||
"@next/polyfill-module": "12.1.6-canary.6", | ||
"@next/polyfill-nomodule": "12.1.6-canary.6", | ||
"@next/react-dev-overlay": "12.1.6-canary.6", | ||
"@next/react-refresh-utils": "12.1.6-canary.6", | ||
"@next/swc": "12.1.6-canary.6", | ||
"@peculiar/webcrypto": "1.3.1", | ||
@@ -175,3 +175,3 @@ "@taskr/clear": "1.1.0", | ||
"browserify-zlib": "0.2.0", | ||
"browserslist": "4.18.1", | ||
"browserslist": "4.20.2", | ||
"buffer": "5.6.0", | ||
@@ -235,6 +235,6 @@ "bytes": "3.1.1", | ||
"postcss-modules-values": "4.0.0", | ||
"postcss-preset-env": "6.7.0", | ||
"postcss-preset-env": "7.4.3", | ||
"postcss-safe-parser": "6.0.0", | ||
"postcss-scss": "3.0.5", | ||
"postcss-value-parser": "4.1.0", | ||
"postcss-scss": "4.0.3", | ||
"postcss-value-parser": "4.2.0", | ||
"process": "0.11.10", | ||
@@ -281,4 +281,4 @@ "punycode": "2.1.1", | ||
"resolutions": { | ||
"browserslist": "4.18.1", | ||
"caniuse-lite": "1.0.30001283" | ||
"browserslist": "4.20.2", | ||
"caniuse-lite": "1.0.30001332" | ||
}, | ||
@@ -289,16 +289,16 @@ "engines": { | ||
"optionalDependencies": { | ||
"@next/swc-android-arm-eabi": "12.1.6-canary.5", | ||
"@next/swc-android-arm64": "12.1.6-canary.5", | ||
"@next/swc-darwin-arm64": "12.1.6-canary.5", | ||
"@next/swc-darwin-x64": "12.1.6-canary.5", | ||
"@next/swc-linux-arm-gnueabihf": "12.1.6-canary.5", | ||
"@next/swc-linux-arm64-gnu": "12.1.6-canary.5", | ||
"@next/swc-linux-arm64-musl": "12.1.6-canary.5", | ||
"@next/swc-linux-x64-gnu": "12.1.6-canary.5", | ||
"@next/swc-linux-x64-musl": "12.1.6-canary.5", | ||
"@next/swc-win32-arm64-msvc": "12.1.6-canary.5", | ||
"@next/swc-win32-ia32-msvc": "12.1.6-canary.5", | ||
"@next/swc-win32-x64-msvc": "12.1.6-canary.5" | ||
"@next/swc-android-arm-eabi": "12.1.6-canary.6", | ||
"@next/swc-android-arm64": "12.1.6-canary.6", | ||
"@next/swc-darwin-arm64": "12.1.6-canary.6", | ||
"@next/swc-darwin-x64": "12.1.6-canary.6", | ||
"@next/swc-linux-arm-gnueabihf": "12.1.6-canary.6", | ||
"@next/swc-linux-arm64-gnu": "12.1.6-canary.6", | ||
"@next/swc-linux-arm64-musl": "12.1.6-canary.6", | ||
"@next/swc-linux-x64-gnu": "12.1.6-canary.6", | ||
"@next/swc-linux-x64-musl": "12.1.6-canary.6", | ||
"@next/swc-win32-arm64-msvc": "12.1.6-canary.6", | ||
"@next/swc-win32-ia32-msvc": "12.1.6-canary.6", | ||
"@next/swc-win32-x64-msvc": "12.1.6-canary.6" | ||
}, | ||
"gitHead": "b8f7c520daf295705fb309d15a89670678eb6945" | ||
"gitHead": "94faeec1ddca5ab4cc22e3093ed9289c45896d8b" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
32079705
95143
136
566
+ Added@next/env@12.1.6-canary.6(transitive)
+ Added@next/swc-android-arm-eabi@12.1.6-canary.6(transitive)
+ Added@next/swc-android-arm64@12.1.6-canary.6(transitive)
+ Added@next/swc-darwin-arm64@12.1.6-canary.6(transitive)
+ Added@next/swc-darwin-x64@12.1.6-canary.6(transitive)
+ Added@next/swc-linux-arm-gnueabihf@12.1.6-canary.6(transitive)
+ Added@next/swc-linux-arm64-gnu@12.1.6-canary.6(transitive)
+ Added@next/swc-linux-arm64-musl@12.1.6-canary.6(transitive)
+ Added@next/swc-linux-x64-gnu@12.1.6-canary.6(transitive)
+ Added@next/swc-linux-x64-musl@12.1.6-canary.6(transitive)
+ Added@next/swc-win32-arm64-msvc@12.1.6-canary.6(transitive)
+ Added@next/swc-win32-ia32-msvc@12.1.6-canary.6(transitive)
+ Added@next/swc-win32-x64-msvc@12.1.6-canary.6(transitive)
- Removed@next/env@12.1.6-canary.5(transitive)
- Removed@next/swc-android-arm-eabi@12.1.6-canary.5(transitive)
- Removed@next/swc-android-arm64@12.1.6-canary.5(transitive)
- Removed@next/swc-darwin-arm64@12.1.6-canary.5(transitive)
- Removed@next/swc-darwin-x64@12.1.6-canary.5(transitive)
- Removed@next/swc-linux-arm-gnueabihf@12.1.6-canary.5(transitive)
- Removed@next/swc-linux-arm64-gnu@12.1.6-canary.5(transitive)
- Removed@next/swc-linux-arm64-musl@12.1.6-canary.5(transitive)
- Removed@next/swc-linux-x64-gnu@12.1.6-canary.5(transitive)
- Removed@next/swc-linux-x64-musl@12.1.6-canary.5(transitive)
- Removed@next/swc-win32-arm64-msvc@12.1.6-canary.5(transitive)
- Removed@next/swc-win32-ia32-msvc@12.1.6-canary.5(transitive)
- Removed@next/swc-win32-x64-msvc@12.1.6-canary.5(transitive)
Updated@next/env@12.1.6-canary.6
Updatedcaniuse-lite@^1.0.30001332