diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 00000000..b512c09d --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +node_modules \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..c68b988a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,25 @@ +# Based on https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md#running-puppeteer-in-docker + +# Base image +FROM node:15-slim + +# Install latest chrome dev package and fonts to support major charsets +RUN apt-get update \ + && apt-get install -y wget gnupg ca-certificates libgconf-2-4 \ + && wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \ + && sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \ + && apt-get update \ + && apt-get install -y google-chrome-stable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf libxss1 \ + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* + +# Uncomment to skip the chromium download when installing puppeteer +ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true +ENV PUPPETEER_BROWSER_PATH "google-chrome-stable" + +# Copy action +COPY action/dist/index.js /index.js +RUN chmod +x /index.js + +# Execute action +ENTRYPOINT node /index.js \ No newline at end of file diff --git a/action.yml b/action.yml index e72be15a..ecc860bd 100644 --- a/action.yml +++ b/action.yml @@ -6,8 +6,8 @@ branding: icon: user-check color: gray-dark runs: - using: node12 - main: action/dist/index.js + using: docker + image: Dockerfile # Inputs inputs: @@ -125,7 +125,8 @@ inputs: default: no # Music provider - # This is required when you enable the music plugin + # This is required in "recent" mode + # This is optional in "playlist" mode, in this case it will be deduced from "plugin_music_playlist" url # Supported values are : # - "apple" for Apple Music # - "spotify" for Spotify @@ -147,11 +148,11 @@ inputs: # - "recent" : display recently played tracks plugin_music_mode: description: Use "recent" to display recently played music and "playlist" to display tracks randomly from a given playlist (*required if music plugin is enabled) - default: "" + default: "recent" # Music playlist - # Required when using "plugin_music_mode" as "playlist" # The embed playlist url (the one used for music player iframe) + # Will default mode to "playlist" when set plugin_music_playlist: description: Embed playlist url default: "" diff --git a/action/dist/index.js b/action/dist/index.js index b0a8292a..91a266ee 100644 --- a/action/dist/index.js +++ b/action/dist/index.js @@ -1 +1,94472 @@ -module.exports=(()=>{var __webpack_modules__={18978:(e,t,r)=>{"use strict";r.r(t);var n={};r.r(n);r.d(n,{default:()=>E_Users_lecoq_Documents_GitHub_gitstats_src_setup});var i={};r.r(i);r.d(i,{default:()=>metrics});var o=r(35747);var s=r.n(o);var a=r(85622);var l=r.n(a);async function E_Users_lecoq_Documents_GitHub_gitstats_src_setup({log:e=true}={}){const t=e?console.debug:()=>null;t(`metrics/setup > setup`);const n="src/templates";const i={templates:{},settings:{},statics:r.ab+"html",node_modules:l().resolve("node_modules")};t(`metrics/setup > load settings.json`);if(s().existsSync(r.ab+"settings.json")){i.settings=JSON.parse(`${await s().promises.readFile(l().resolve("settings.json"))}`);t(`metrics/setup > load settings.json > success`)}else t(`metrics/setup > load settings.json > (missing)`);if(!i.settings.templates)i.settings.templates={default:"classic",enabled:[]};if(!i.settings.plugins)i.settings.plugins={};i.settings.plugins.base={parts:["header","activity","community","repositories","metadata"]};if(i.settings.debug)t(i.settings);t(`metrics/setup > load package.json`);if(s().existsSync(r.ab+"package.json")){i.package=JSON.parse(`${await s().promises.readFile(l().resolve("package.json"))}`);t(`metrics/setup > load package.json > success`)}else{t(`metrics/setup > load package.json > (missing)`);i.package={version:"2.2.0",author:"lowlighter"}}if(s().existsSync(r.ab+"templates")){for(const e of await s().promises.readdir(n)){if(/.*[.]mjs$/.test(e))continue;t(`metrics/setup > load template [${e}]`);const r=[`${n}/${e}/query.graphql`,`${n}/${e}/image.svg`,`${n}/${e}/style.css`,`${n}/${e}/fonts.css`];const[o,a,c,u]=await Promise.all(r.map(async e=>`${await s().promises.readFile(l().resolve(e))}`));i.templates[e]={query:o,image:a,style:c,fonts:u};t(`metrics/setup > load template [${e}] > success`);if(i.settings.debug){Object.defineProperty(i.templates,e,{get(){t(`metrics/setup > reload template [${e}]`);const[n,i,o,a]=r.map(e=>`${s().readFileSync(l().resolve(e))}`);t(`metrics/setup > reload template [${e}] > success`);return{query:n,image:i,style:o,fonts:a}}})}}}else{t(`metrics/setup > load templates from build`);i.templates=JSON.parse(Buffer.from(`eyJjbGFzc2ljIjp7InF1ZXJ5IjoicXVlcnkgTWV0cmljcyB7XHJcbiAgdXNlcihsb2dpbjogJGxvZ2luKSB7XHJcbiAgICBkYXRhYmFzZUlkXHJcbiAgICBuYW1lXHJcbiAgICBsb2dpblxyXG4gICAgY3JlYXRlZEF0XHJcbiAgICBhdmF0YXJVcmxcclxuICAgIHdlYnNpdGVVcmxcclxuICAgIGdpc3RzIHtcclxuICAgICAgdG90YWxDb3VudFxyXG4gICAgfVxyXG4gICAgcmVwb3NpdG9yaWVzKGxhc3Q6ICRyZXBvc2l0b3JpZXMsIGlzRm9yazogZmFsc2UsIG93bmVyQWZmaWxpYXRpb25zOiBPV05FUikge1xyXG4gICAgICB0b3RhbENvdW50XHJcbiAgICAgIG5vZGVzIHtcclxuICAgICAgICBuYW1lXHJcbiAgICAgICAgd2F0Y2hlcnMge1xyXG4gICAgICAgICAgdG90YWxDb3VudFxyXG4gICAgICAgIH1cclxuICAgICAgICBzdGFyZ2F6ZXJzIHtcclxuICAgICAgICAgIHRvdGFsQ291bnRcclxuICAgICAgICB9XHJcbiAgICAgICAgbGFuZ3VhZ2VzKGZpcnN0OiA0KSB7XHJcbiAgICAgICAgICBlZGdlcyB7XHJcbiAgICAgICAgICAgIHNpemVcclxuICAgICAgICAgICAgbm9kZSB7XHJcbiAgICAgICAgICAgICAgY29sb3JcclxuICAgICAgICAgICAgICBuYW1lXHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICAgICAgaXNzdWVzX29wZW46IGlzc3VlcyhzdGF0ZXM6IE9QRU4pIHtcclxuICAgICAgICAgIHRvdGFsQ291bnRcclxuICAgICAgICB9XHJcbiAgICAgICAgaXNzdWVzX2Nsb3NlZDogaXNzdWVzKHN0YXRlczogQ0xPU0VEKSB7XHJcbiAgICAgICAgICB0b3RhbENvdW50XHJcbiAgICAgICAgfVxyXG4gICAgICAgIHByX29wZW46IHB1bGxSZXF1ZXN0cyhzdGF0ZXM6IE9QRU4pIHtcclxuICAgICAgICAgIHRvdGFsQ291bnRcclxuICAgICAgICB9XHJcbiAgICAgICAgcHJfbWVyZ2VkOiBwdWxsUmVxdWVzdHMoc3RhdGVzOiBNRVJHRUQpIHtcclxuICAgICAgICAgIHRvdGFsQ291bnRcclxuICAgICAgICB9XHJcbiAgICAgICAgZm9ya0NvdW50XHJcbiAgICAgICAgbGljZW5zZUluZm8ge1xyXG4gICAgICAgICAgc3BkeElkXHJcbiAgICAgICAgfVxyXG4gICAgICB9XHJcbiAgICB9XHJcbiAgICBwYWNrYWdlcyB7XHJcbiAgICAgIHRvdGFsQ291bnRcclxuICAgIH1cclxuICAgIHN0YXJyZWRSZXBvc2l0b3JpZXMge1xyXG4gICAgICB0b3RhbENvdW50XHJcbiAgICB9XHJcbiAgICB3YXRjaGluZyB7XHJcbiAgICAgIHRvdGFsQ291bnRcclxuICAgIH1cclxuICAgIHNwb25zb3JzaGlwc0FzU3BvbnNvciB7XHJcbiAgICAgIHRvdGFsQ291bnRcclxuICAgIH1cclxuICAgIHNwb25zb3JzaGlwc0FzTWFpbnRhaW5lciB7XHJcbiAgICAgIHRvdGFsQ291bnRcclxuICAgIH1cclxuICAgIGNvbnRyaWJ1dGlvbnNDb2xsZWN0aW9uIHtcclxuICAgICAgdG90YWxSZXBvc2l0b3JpZXNXaXRoQ29udHJpYnV0ZWRDb21taXRzXHJcbiAgICAgIHRvdGFsQ29tbWl0Q29udHJpYnV0aW9uc1xyXG4gICAgICByZXN0cmljdGVkQ29udHJpYnV0aW9uc0NvdW50XHJcbiAgICAgIHRvdGFsSXNzdWVDb250cmlidXRpb25zXHJcbiAgICAgIHRvdGFsUHVsbFJlcXVlc3RDb250cmlidXRpb25zXHJcbiAgICAgIHRvdGFsUHVsbFJlcXVlc3RSZXZpZXdDb250cmlidXRpb25zXHJcbiAgICB9XHJcbiAgICBjYWxlbmRhcjpjb250cmlidXRpb25zQ29sbGVjdGlvbihmcm9tOiAkY2FsZW5kYXIuZnJvbSwgdG86ICRjYWxlbmRhci50bykge1xyXG4gICAgICBjb250cmlidXRpb25DYWxlbmRhciB7XHJcbiAgICAgICAgd2Vla3Mge1xyXG4gICAgICAgICAgY29udHJpYnV0aW9uRGF5cyB7XHJcbiAgICAgICAgICAgIGNvbG9yXHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgICB9XHJcbiAgICB9XHJcbiAgICByZXBvc2l0b3JpZXNDb250cmlidXRlZFRvIHtcclxuICAgICAgdG90YWxDb3VudFxyXG4gICAgfVxyXG4gICAgZm9sbG93ZXJzIHtcclxuICAgICAgdG90YWxDb3VudFxyXG4gICAgfVxyXG4gICAgZm9sbG93aW5nIHtcclxuICAgICAgdG90YWxDb3VudFxyXG4gICAgfVxyXG4gICAgaXNzdWVDb21tZW50cyB7XHJcbiAgICAgIHRvdGFsQ291bnRcclxuICAgIH1cclxuICAgIG9yZ2FuaXphdGlvbnMge1xyXG4gICAgICB0b3RhbENvdW50XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcbiIsImltYWdlIjoiPHN2ZyB4bWxucz1cImh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnXCIgd2lkdGg9XCI0ODBcIiBoZWlnaHQ9XCI8JT0gMTJcclxuICArICghIWJhc2UuaGVhZGVyKSo4MFxyXG4gICsgKCEhYmFzZS5tZXRhZGF0YSkqMzhcclxuICArICgoISFiYXNlLmFjdGl2aXR5KXx8KCEhYmFzZS5jb21tdW5pdHkpKSoxMjhcclxuICArICghIWJhc2UucmVwb3NpdG9yaWVzKSo5MlxyXG4gICsgKCghIWJhc2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iAgICAgICAgICAgICAgY29sb3JcclxuICAgICAgICAgICAgICBuYW1lXHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICAgICAgaXNzdWVzX29wZW46IGlzc3VlcyhzdGF0ZXM6IE9QRU4pIHtcclxuICAgICAgICAgIHRvdGFsQ291bnRcclxuICAgICAgICB9XHJcbiAgICAgICAgaXNzdWVzX2Nsb3NlZDogaXNzdWVzKHN0YXRlczogQ0xPU0VEKSB7XHJcbiAgICAgICAgICB0b3RhbENvdW50XHJcbiAgICAgICAgfVxyXG4gICAgICAgIHByX29wZW46IHB1bGxSZXF1ZXN0cyhzdGF0ZXM6IE9QRU4pIHtcclxuICAgICAgICAgIHRvdGFsQ291bnRcclxuICAgICAgICB9XHJcbiAgICAgICAgcHJfbWVyZ2VkOiBwdWxsUmVxdWVzdHMoc3RhdGVzOiBNRVJHRUQpIHtcclxuICAgICAgICAgIHRvdGFsQ291bnRcclxuICAgICAgICB9XHJcbiAgICAgICAgZm9ya0NvdW50XHJcbiAgICAgICAgbGljZW5zZUluZm8ge1xyXG4gICAgICAgICAgc3BkeElkXHJcbiAgICAgICAgfVxyXG4gICAgICB9XHJcbiAgICB9XHJcbiAgICBwYWNrYWdlcyB7XHJcbiAgICAgIHRvdGFsQ291bnRcclxuICAgIH1cclxuICAgIHN0YXJyZWRSZXBvc2l0b3JpZXMge1xyXG4gICAgICB0b3RhbENvdW50XHJcbiAgICB9XHJcbiAgICB3YXRjaGluZyB7XHJcbiAgICAgIHRvdGFsQ291bnRcclxuICAgIH1cclxuICAgIHNwb25zb3JzaGlwc0FzU3BvbnNvciB7XHJcbiAgICAgIHRvdGFsQ291bnRcclxuICAgIH1cclxuICAgIHNwb25zb3JzaGlwc0FzTWFpbnRhaW5lciB7XHJcbiAgICAgIHRvdGFsQ291bnRcclxuICAgIH1cclxuICAgIGNvbnRyaWJ1dGlvbnNDb2xsZWN0aW9uIHtcclxuICAgICAgdG90YWxSZXBvc2l0b3JpZXNXaXRoQ29udHJpYnV0ZWRDb21taXRzXHJcbiAgICAgIHRvdGFsQ29tbWl0Q29udHJpYnV0aW9uc1xyXG4gICAgICByZXN0cmljdGVkQ29udHJpYnV0aW9uc0NvdW50XHJcbiAgICAgIHRvdGFsSXNzdWVDb250cmlidXRpb25zXHJcbiAgICAgIHRvdGFsUHVsbFJlcXVlc3RDb250cmlidXRpb25zXHJcbiAgICAgIHRvdGFsUHVsbFJlcXVlc3RSZXZpZXdDb250cmlidXRpb25zXHJcbiAgICB9XHJcbiAgICBjYWxlbmRhcjpjb250cmlidXRpb25zQ29sbGVjdGlvbihmcm9tOiAkY2FsZW5kYXIuZnJvbSwgdG86ICRjYWxlbmRhci50bykge1xyXG4gICAgICBjb250cmlidXRpb25DYWxlbmRhciB7XHJcbiAgICAgICAgd2Vla3Mge1xyXG4gICAgICAgICAgY29udHJpYnV0aW9uRGF5cyB7XHJcbiAgICAgICAgICAgIGNvbG9yXHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgICB9XHJcbiAgICB9XHJcbiAgICByZXBvc2l0b3JpZXNDb250cmlidXRlZFRvIHtcclxuICAgICAgdG90YWxDb3VudFxyXG4gICAgfVxyXG4gICAgZm9sbG93ZXJzIHtcclxuICAgICAgdG90YWxDb3VudFxyXG4gICAgfVxyXG4gICAgZm9sbG93aW5nIHtcclxuICAgICAgdG90YWxDb3VudFxyXG4gICAgfVxyXG4gICAgaXNzdWVDb21tZW50cyB7XHJcbiAgICAgIHRvdGFsQ291bnRcclxuICAgIH1cclxuICAgIG9yZ2FuaXphdGlvbnMge1xyXG4gICAgICB0b3RhbENvdW50XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcbiIsImltYWdlIjoiPHN2ZyB4bWxucz1cImh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnXCIgd2lkdGg9XCI0ODBcIiBoZWlnaHQ9XCI8JT0gNDhcclxuICArICghIWJhc2UuaGVhZGVyKSo2Mlx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2d0VhS1NKWmxwb3BZMGdJY0pFYUtlREtKMTAwVTBQdmZUUnp3QXhCaGxpbUJGR0dXT2NDZUpNTXNVMENXWlFVRWt5eXh6ekxMRElFaHJMckxES0d1dHNzTWtXMit5UVlwYzkwbVRZNTRCRGpqam1oRlBPeUpMam5Bc3V1ZUthRy9JVXVPV09lM1NLR0x3TFNiaUVXM2lFVjhnaHExclNheFdqWnVwbDY5bE9sRzNqSWZqYjZpK1dreUoxMHk3OU84cVBsZGNuVTlOOGpsVkYrUm5xRnpMSE5XNEFBUUFCLy84QUQzamFZMkJrWUdEZ0FXSWxJR1ppWUFiQ1JBWkdoaVNHRkNBdmxTRWR5R1lCeXpBQUFDZlVBalY0Mm1OZ1pHQmc0R0lJWVVoaVlIWng4d2xoRUVrdlNzMW1VTWhKTE1sajBHRmdBY295L1AvUEFGS0Z6QlpqWUhaMkRGRmdFUFAxOXdHU1FmNitRQkl1eTVoV2xKak13QUZpZ1RFTFdDOGpVSVFSYUNZVDBENEZJTW5Hd01lUXpNRE1JTVFnQ3JJZFNJdUQxYWJBMlV3TUlneGlBTFcyRXhsNDJtTmdaR0JnNEdLd1liQmpZSFp4OHdsaEVFa3ZTczFta010SkxNbGowR0JnQWNveS9QOFBKTEN4Z0FBQVd4b0xhd0FBQUFBQUFRQUFBQURWcENjSUFBQUFBTm1jZytFQUFBQUEyZnRKTkE9PScpIGZvcm1hdCgnd29mZicpO1xyXG4gIGZvbnQtd2VpZ2h0OiBib2xkO1xyXG4gIGZvbnQtc3R5bGU6IG5vcm1hbDtcclxuICBmb250LWRpc3BsYXk6IHN3YXA7XHJcbn1cclxuIn19`,"base64").toString("utf8"))}t(`metrics/setup > setup > success`);return i}var c=r(58509);var u=r.n(c);var d=r(20485);var p=r.n(d);var f=r(67192);var h=r.n(f);var m=r(2390);var g=r.n(m);function E_Users_lecoq_Documents_GitHub_gitstats_src_plugins_followup_index({login:e,imports:t,data:r,computed:n,pending:i,q:o},{enabled:s=false}={}){if(!s)return n.plugins.followup=null;if(!o.followup)return n.plugins.followup=null;console.debug(`metrics/compute/${e}/plugins > followup`);i.push(new Promise(async t=>{try{const r={issues:{get count(){return this.open+this.closed},get open(){return n.repositories.issues_open},get closed(){return n.repositories.issues_closed}},pr:{get count(){return this.open+this.merged},get open(){return n.repositories.pr_open},get merged(){return n.repositories.pr_merged}}};n.plugins.followup=r;console.debug(`metrics/compute/${e}/plugins > followup > success`);console.debug(JSON.stringify(n.plugins.followup));t()}catch(r){n.plugins.followup={error:`An error occured`};console.debug(`metrics/compute/${e}/plugins > followup > error`);console.debug(r);t()}}))}function E_Users_lecoq_Documents_GitHub_gitstats_src_plugins_habits_index({login:e,imports:t,rest:r,computed:n,pending:i,q:o},{enabled:s=false,from:a=100}={}){if(!s)return n.plugins.habits=null;if(!o.habits)return n.plugins.habits=null;console.debug(`metrics/compute/${e}/plugins > habits`);const l=Math.max(1,Math.min(100,"habits.from"in o?Number(o["habits.from"])||0:a));console.debug(`metrics/compute/${e}/plugins > habits > events = ${l}`);i.push(new Promise(async t=>{try{const i={commits:{hour:NaN,hours:{}},indents:{style:"",spaces:0,tabs:0}};const o=await r.activity.listEventsForAuthenticatedUser({username:e,per_page:l});const s=o.data.filter(({type:e})=>e==="PushEvent").filter(({actor:t})=>t.login===e);{const e=s.map(({created_at:e})=>new Date(e).getHours());for(const t of e)i.commits.hours[t]=(i.commits.hours[t]||0)+1;i.commits.hour=e.length?Object.entries(i.commits.hours).sort(([e,t],[r,n])=>n-t).map(([e,t])=>e)[0]:NaN}{const e=await Promise.allSettled(s.flatMap(({payload:e})=>e.commits).map(e=>e.url).map(async e=>(await r.request(e)).data.files));e.filter(({status:e})=>e==="fulfilled").map(({value:e})=>e).flatMap(e=>e.flatMap(e=>(e.patch||"").match(/(?<=^[+])((?:\t)|(?: )) /gm)||[])).forEach(e=>i.indents[/^\t/.test(e)?"tabs":"spaces"]++);i.indents.style=i.indents.spaces>i.indents.tabs?"spaces":i.indents.tabs>i.indents.spaces?"tabs":""}n.plugins.habits=i;console.debug(`metrics/compute/${e}/plugins > habits > success`);console.debug(JSON.stringify(n.plugins.habits));t()}catch(r){n.plugins.habits={error:`An error occured`};console.debug(`metrics/compute/${e}/plugins > habits > error`);console.debug(r);t()}}))}function E_Users_lecoq_Documents_GitHub_gitstats_src_plugins_languages_index({login:e,imports:t,data:r,computed:n,pending:i,q:o},{enabled:s=false}={}){if(!s)return n.plugins.languages=null;if(!o.languages)return n.plugins.languages=null;console.debug(`metrics/compute/${e}/plugins > languages`);i.push(new Promise(async t=>{try{const i={colors:{},total:0,stats:{}};for(const e of r.user.repositories.nodes){for(const{size:t,node:{color:r,name:n}}of Object.values(e.languages.edges)){i.stats[n]=(i.stats[n]||0)+t;i.colors[n]=r||"#ededed";i.total+=t}}Object.keys(i.stats).map(e=>i.stats[e]/=i.total);i.favorites=Object.entries(i.stats).sort(([e,t],[r,n])=>n-t).slice(0,8).map(([e,t])=>({name:e,value:t,color:i.colors[e],x:0}));for(let e=1;e languages > success`);console.debug(JSON.stringify(n.plugins.languages));t()}catch(r){n.plugins.languages={error:`An error occured`};console.debug(`metrics/compute/${e}/plugins > languages > error`);console.debug(r);t()}}))}function E_Users_lecoq_Documents_GitHub_gitstats_src_plugins_lines_index({login:e,imports:t,repositories:r=[],rest:n,computed:i,pending:o,q:s},{enabled:a=false}={}){if(!a)return i.plugins.lines=null;if(!s.lines)return i.plugins.lines=null;console.debug(`metrics/compute/${e}/plugins > lines`);o.push(new Promise(async o=>{try{const s={added:0,deleted:0};const a=await Promise.all(r.map(async t=>await n.repos.getContributorsStats({owner:e,repo:t})));a.map(({data:t})=>{if(!Array.isArray(t))return;const[r]=t.filter(({author:t})=>t.login===e);if(r)r.weeks.forEach(({a:e,d:t})=>(s.added+=e,s.deleted+=t))});s.added=t.format(s.added);s.deleted=t.format(s.deleted);i.plugins.lines={...s};console.debug(`metrics/compute/${e}/plugins > lines > success`);console.debug(JSON.stringify(i.plugins.lines));o()}catch(t){i.plugins.lines={error:`An error occured`};console.debug(`metrics/compute/${e}/plugins > lines > error`);console.debug(t);o()}}))}const y={apple:"Apple Music",spotify:"Spotify"};const v={playlist:"Suggested tracks",recent:"Recently played"};function E_Users_lecoq_Documents_GitHub_gitstats_src_plugins_music_index({login:e,imports:t,rest:r,computed:n,pending:i,q:o},{enabled:s=false,token:a=""}={}){if(!s)return n.plugins.music=null;if(!o.music)return n.plugins.music=null;console.debug(`metrics/compute/${e}/plugins > music`);const l=o["music.provider"]||"";if(!(l in y))return n.plugins.music={error:l?`Unsupported provider "${l}"`:`Missing provider`,mode:"Unconfigured music plugin"};console.debug(`metrics/compute/${e}/plugins > music > provider "${l}"`);const c=o["music.mode"]||"";if(!(c in v))return n.plugins.music={error:c?`Unsupported mode "${c}"`:`Missing mode`,provider:y[l],mode:"Unconfigured music plugin"};console.debug(`metrics/compute/${e}/plugins > music > mode "${c}"`);const u=o["music.playlist"]||"";if(c==="playlist"){if(!u)return n.plugins.music={error:`Missing playlist url`,provider:y[l],mode:v[c]};if(l==="spotify"&&!/^https:..open.spotify.com.embed.playlist/.test(u))return n.plugins.music={error:`Unsupported playlist url format`,provider:y[l],mode:v[c]};if(l==="apple"&&!/^https:..embed.music.apple.com.\w+.playlist/.test(u))return n.plugins.music={error:`Unsupported playlist url format`,provider:y[l],mode:v[c]};console.debug(`metrics/compute/${e}/plugins > music > playlist = ${u}`)}const d=Math.max(1,Math.min(100,"music.limit"in o?Number(o["music.limit"])||0:4));console.debug(`metrics/compute/${e}/plugins > music > limit = ${d}`);i.push(new Promise(async r=>{try{let i=null;switch(c){case"playlist":{console.debug(`metrics/compute/${e}/plugins > music > starting browser`);const r=await t.puppeteer.launch();const n=await r.newPage();console.debug(`metrics/compute/${e}/plugins > music > loading page`);await n.goto(u);const o=n.mainFrame();switch(l){case"apple":{await o.waitForSelector(".tracklist.playlist");i=[...await o.evaluate(()=>[...document.querySelectorAll(".tracklist li")].map(e=>({name:e.querySelector(".tracklist__track__name").innerText,artist:e.querySelector(".tracklist__track__sub").innerText,artwork:e.querySelector(".tracklist__track__artwork img").src})))];break}case"spotify":{await o.waitForSelector("table");i=[...await o.evaluate(()=>[...document.querySelectorAll("table tr")].map(e=>({name:e.querySelector("td:nth-child(2) div:nth-child(1)").innerText,artist:e.querySelector("td:nth-child(2) div:nth-child(2)").innerText,artwork:window.getComputedStyle(document.querySelector("button[title=Play]").parentNode,null).backgroundImage.match(/^url\("(https:...+)"\)$/)[1]})))];break}default:{throw{status:`Unsupported mode "${c}" for provider "${l}"`}}}console.debug(`metrics/compute/${e}/plugins > music > closing browser`);await r.close();if(Array.isArray(i)){console.debug(`metrics/compute/${e}/plugins > music > found ${i.length} tracks`);console.debug(JSON.stringify(i));i=t.shuffle(i)}break}case"recent":{const r=Date.now()-24*60*60*1e3;switch(l){case"spotify":{const[n,o,s]=a.split(",").map(e=>e.trim());if(!n||!o||!s)throw{status:`Spotify token must contain client id/secret and refresh token`};try{console.debug(`metrics/compute/${e}/plugins > music > requesting access token with refresh token for spotify`);const{data:{access_token:a}}=await t.axios.post("https://accounts.spotify.com/api/token",`${new t.url.URLSearchParams({grant_type:"refresh_token",refresh_token:s,client_id:n,client_secret:o})}`,{headers:{"Content-Type":"application/x-www-form-urlencoded"}});console.log(a);console.debug(`metrics/compute/${e}/plugins > music > got new access token`);i=(await t.axios(`https://api.spotify.com/v1/me/player/recently-played?limit=${d}&after=${r}`,{headers:{Accept:"application/json","Content-Type":"application/json",Authorization:`Bearer ${a}`}})).data.items.map(({track:e})=>({name:e.name,artist:e.artists[0].name,artwork:e.album.images[0].url}))}catch(e){console.debug(e);if(e.response&&e.response.status)throw{status:`API call returned ${e.response.status}`};throw e}break}default:{throw{status:`Unsupported mode "${c}" for provider "${l}"`}}}break}default:{throw{status:`Unsupported mode "${c}"`}}}if(Array.isArray(i)){if(d>0){console.debug(`metrics/compute/${e}/plugins > music > keeping only ${d} tracks`);i=i.slice(0,d)}console.debug(`metrics/compute/${e}/plugins > music > loading artworks`);for(const r of i){console.debug(`metrics/compute/${e}/plugins > music > processing ${r.name}`);r.artwork=await t.imgb64(r.artwork)}console.debug(`metrics/compute/${e}/plugins > music > success`);n.plugins.music={provider:y[l],mode:v[c],tracks:i};r();return}throw{status:`An error occured (unhandled)`}}catch(t){if(t.status){n.plugins.music={provider:y[l],mode:v[c],error:t.status};console.debug(`metrics/compute/${e}/plugins > music > error > ${t.status}`);return r()}n.plugins.music={provider:y[l],mode:v[c],error:`An error occured`};console.debug(`metrics/compute/${e}/plugins > music > error`);console.debug(t);r()}}))}function E_Users_lecoq_Documents_GitHub_gitstats_src_plugins_pagespeed_index({login:e,imports:t,url:r,computed:n,pending:i,q:o},{enabled:s=false,token:a=null}={}){if(!s)return n.plugins.pagespeed=null;if(!r)return n.plugins.pagespeed=null;if(!o.pagespeed)return n.plugins.pagespeed=null;console.debug(`metrics/compute/${e}/plugins > pagespeed`);i.push(new Promise(async i=>{try{if(!/^https?:[/][/]/.test(r))r=`https://${r}`;const o=new Map;await Promise.all(["performance","accessibility","best-practices","seo"].map(async e=>{const{score:n,title:i}=(await t.axios.get(`https://www.googleapis.com/pagespeedonline/v5/runPagespeed?category=${e}&url=${r}&key=${a}`)).data.lighthouseResult.categories[e];o.set(e,{score:n,title:i})}));n.plugins.pagespeed={url:r,scores:[o.get("performance"),o.get("accessibility"),o.get("best-practices"),o.get("seo")]};console.debug(`metrics/compute/${e}/plugins > pagespeed > success`);console.debug(JSON.stringify(n.plugins.pagespeed));i()}catch(t){if(t.response&&t.response.status){n.plugins.pagespeed={url:r,error:`PageSpeed token error (code ${t.response.status})`};console.debug(`metrics/plugins/pagespeed/${e} > ${t.response.status}`);return i()}n.plugins.pagespeed={error:`An error occured`};console.debug(`metrics/compute/${e}/plugins > pagespeed > error`);console.debug(t);i()}}))}function E_Users_lecoq_Documents_GitHub_gitstats_src_plugins_selfskip_index({login:e,imports:t,rest:r,computed:n,pending:i,q:o},{enabled:s=false}={}){if(!s)return n.plugins.selfskip=null;if(!o.selfskip)return n.plugins.selfskip=null;console.debug(`metrics/compute/${e}/plugins > selfskip`);i.push(new Promise(async t=>{try{let i=0;for(let t=0;;t++){const{data:n}=await r.repos.listCommits({owner:e,repo:e,author:e,per_page:100,page:t});i+=n.filter(({commit:e})=>/\[Skip GitHub Action\]/.test(e.message)).length;if(!n.length)break}n.plugins.selfskip={commits:i};n.commits-=i;console.debug(`metrics/compute/${e}/plugins > selfskip > success`);console.debug(JSON.stringify(n.plugins.selfskip));t()}catch(r){n.plugins.selfskip={error:`An error occured`};console.debug(`metrics/compute/${e}/plugins > selfskip > error`);console.debug(r);t()}}))}function E_Users_lecoq_Documents_GitHub_gitstats_src_plugins_traffic_index({login:e,imports:t,repositories:r=[],rest:n,computed:i,pending:o,q:s},{enabled:a=false}={}){if(!a)return i.plugins.traffic=null;if(!s.traffic)return i.plugins.traffic=null;console.debug(`metrics/compute/${e}/plugins > traffic`);o.push(new Promise(async o=>{try{const s={count:0,uniques:0};const a=await Promise.all(r.map(async t=>await n.repos.getViews({owner:e,repo:t})));a.filter(({data:e})=>e).map(({data:{count:e,uniques:t}})=>(s.count+=e,s.uniques+=t));s.count=t.format(s.count);s.uniques=t.format(s.uniques);i.plugins.traffic={views:s};console.debug(`metrics/compute/${e}/plugins > traffic > success`);console.debug(JSON.stringify(i.plugins.traffic));o()}catch(t){if(t.status===403){i.plugins.traffic={error:`Insufficient token rights`};console.debug(`metrics/compute/${e}/plugins > error > 403 (insufficient token rights)`);return o()}i.plugins.traffic={error:`An error occured`};console.debug(`metrics/compute/${e}/plugins > error`);console.debug(t);o()}}))}const b={followup:E_Users_lecoq_Documents_GitHub_gitstats_src_plugins_followup_index,habits:E_Users_lecoq_Documents_GitHub_gitstats_src_plugins_habits_index,languages:E_Users_lecoq_Documents_GitHub_gitstats_src_plugins_languages_index,lines:E_Users_lecoq_Documents_GitHub_gitstats_src_plugins_lines_index,music:E_Users_lecoq_Documents_GitHub_gitstats_src_plugins_music_index,pagespeed:E_Users_lecoq_Documents_GitHub_gitstats_src_plugins_pagespeed_index,selfskip:E_Users_lecoq_Documents_GitHub_gitstats_src_plugins_selfskip_index,traffic:E_Users_lecoq_Documents_GitHub_gitstats_src_plugins_traffic_index};async function E_Users_lecoq_Documents_GitHub_gitstats_src_templates_common({login:e,q:t},{conf:r,data:n,rest:i,graphql:o,plugins:s},{s:a,pending:l,imports:c}){const u=n.computed={commits:0,sponsorships:0,licenses:{favorite:"",used:{}},token:{},repositories:{watchers:0,stargazers:0,issues_open:0,issues_closed:0,pr_open:0,pr_merged:0,forks:0},plugins:{}};const d=c.imgb64(n.user.avatarUrl);if(n.user.websiteUrl)c.plugins.pagespeed({login:e,imports:c,url:n.user.websiteUrl,computed:u,pending:l,q:t},s.pagespeed);c.plugins.music({login:e,imports:c,data:n,computed:u,pending:l,q:t},s.music);c.plugins.lines({login:e,imports:c,repositories:n.user.repositories.nodes.map(({name:e})=>e),rest:i,computed:u,pending:l,q:t},s.lines);c.plugins.traffic({login:e,imports:c,repositories:n.user.repositories.nodes.map(({name:e})=>e),rest:i,computed:u,pending:l,q:t},s.traffic);c.plugins.habits({login:e,imports:c,rest:i,computed:u,pending:l,q:t},s.habits);c.plugins.selfskip({login:e,imports:c,rest:i,computed:u,pending:l,q:t},s.selfskip);c.plugins.languages({login:e,imports:c,data:n,computed:u,pending:l,q:t},s.languages);c.plugins.followup({login:e,imports:c,data:n,computed:u,pending:l,q:t},s.followup);for(const e of n.user.repositories.nodes){for(const t of["watchers","stargazers","issues_open","issues_closed","pr_open","pr_merged"])u.repositories[t]+=e[t].totalCount;u.repositories.forks+=e.forkCount;if(e.licenseInfo)u.licenses.used[e.licenseInfo.spdxId]=(u.licenses.used[e.licenseInfo.spdxId]||0)+1}u.licenses.favorite=Object.entries(u.licenses.used).sort(([e,t],[r,n])=>n-t).slice(0,1).map(([e,t])=>e)||"";u.commits+=n.user.contributionsCollection.totalCommitContributions+n.user.contributionsCollection.restrictedContributionsCount;u.sponsorships=n.user.sponsorshipsAsSponsor.totalCount+n.user.sponsorshipsAsMaintainer.totalCount;const p=(Date.now()-new Date(n.user.createdAt).getTime())/(365*24*60*60*1e3);const f=Math.floor(p);const h=Math.ceil((p-f)*12);u.registration=f?`${f} year${a(f)} ago`:`${h} month${a(h)} ago`;u.calendar=n.user.calendar.contributionCalendar.weeks.flatMap(({contributionDays:e})=>e).slice(0,14).reverse();u.avatar=await d||"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==";u.token.scopes=(await i.request("HEAD /")).headers["x-oauth-scopes"].split(", ");n.meta={version:r.package.version,author:r.package.author}}async function E_Users_lecoq_Documents_GitHub_gitstats_src_templates_classic_template({login:e,q:t},{conf:r,data:n,rest:i,graphql:o,plugins:s},{s:a,pending:l,imports:c}){await E_Users_lecoq_Documents_GitHub_gitstats_src_templates_common(...arguments)}async function E_Users_lecoq_Documents_GitHub_gitstats_src_templates_terminal_template({login:e,q:t},{conf:r,data:n,rest:i,graphql:o,plugins:s},{s:a,pending:l,imports:c}){await E_Users_lecoq_Documents_GitHub_gitstats_src_templates_common(...arguments);t.raw=true}const S={classic:E_Users_lecoq_Documents_GitHub_gitstats_src_templates_classic_template,terminal:E_Users_lecoq_Documents_GitHub_gitstats_src_templates_terminal_template};var w=r(34651);var x=r.n(w);var C=r(78835);var k=r.n(C);async function metrics({login:e,q:t},{graphql:r,rest:n,plugins:i,conf:o}){try{console.debug(`metrics/compute/${e} > start`);console.debug(JSON.stringify(t));const s=t.template||o.settings.templates.default;const a=Math.max(0,Number(t.repositories))||o.settings.repositories||100;const l=[];const c=(e,t="")=>e>1?{y:"ies","":"s"}[t]:t;if(!(s in S)||!(s in o.templates)||o.settings.templates.enabled.length&&!o.settings.templates.enabled.includes(s))throw new Error("unsupported template");const{query:d,image:f,style:m,fonts:y}=o.templates[s];console.debug(`metrics/compute/${e} > query`);const v=await r(d.replace(/[$]login/,`"${e}"`).replace(/[$]repositories/,`${a}`).replace(/[$]calendar.to/,`"${(new Date).toISOString()}"`).replace(/[$]calendar.from/,`"${new Date(Date.now()-14*24*60*60*1e3).toISOString()}"`));console.debug(`metrics/compute/${e} > query > success`);v.base={};if("base"in t&&!t.base)o.settings.plugins.base.parts.map(e=>t[`base.${e}`]=false);for(const e of o.settings.plugins.base.parts)v.base[e]=`base.${e}`in t?!!t[`base.${e}`]:true;console.debug(`metrics/compute/${e} > compute`);const w=S[s].default||S[s];await w({login:e,q:t},{conf:o,data:v,rest:n,graphql:r,plugins:i},{s:c,pending:l,imports:{plugins:b,url:k(),imgb64:h(),axios:g(),puppeteer:x(),format:format,shuffle:shuffle}});await Promise.all(l);console.debug(`metrics/compute/${e} > compute > success`);console.debug(`metrics/compute/${e} > render`);let C=await u().render(f,{...v,s:c,style:m,fonts:y},{async:true});console.debug(`metrics/compute/${e} > render > success`);if(o.optimize&&!t.raw){console.debug(`metrics/compute/${e} > optimize`);const t=new(p())({full:true,plugins:[{cleanupAttrs:true},{inlineStyles:false}]});const{data:r}=await t.optimize(C);console.debug(`metrics/compute/${e} > optimize > success`);C=r}return C}catch(e){if(Array.isArray(e.errors)&&e.errors[0].type==="NOT_FOUND")throw new Error("user not found");throw e}}function format(e){for(const{u:t,v:r}of[{u:"b",v:10**9},{u:"m",v:10**6},{u:"k",v:10**3}])if(e/r>=1)return`${(e/r).toFixed(2).substr(0,4).replace(/[.]0*$/,"")}${t}`;return e}function shuffle(e){for(let t=e.length-1;t>0;t--){const r=Math.floor(Math.random()*(t+1));[e[t],e[r]]=[e[r],e[t]]}return e}var T=r(3584);var E=r(32882);var _=r(29483);(async function(){const[e,t,r,o,s]=[E,_,T,n,i].map(e=>e&&e.default?e.default:e);const a=(e,t=false)=>typeof e==="string"?/^(?:[Tt]rue|[Oo]n|[Yy]es)$/.test(e):t;try{console.log(`GitHub metrics as SVG image`);console.log(`========================================================`);console.log(`Version | 2.2.0`);process.on("unhandledRejection",e=>{throw e});if(t.context.eventName==="push"&&t.context.payload&&t.context.payload.head_commit){if(/\[Skip GitHub Action\]/.test(t.context.payload.head_commit.message)){console.log(`Skipped because [Skip GitHub Action] is in commit message`);process.exit(0)}}const n=await o({log:false});console.log(`Configuration | loaded`);const i=e.getInput("template")||"classic";console.log(`Template to use | ${i}`);const l=e.getInput("token");console.log(`Github token | ${l?"provided":"missing"}`);if(!l)throw new Error("You must provide a valid GitHub token to gather your metrics");const c=r.graphql.defaults({headers:{authorization:`token ${l}`}});console.log(`Github GraphQL API | ok`);const u=t.getOctokit(l);console.log(`Github REST API | ok`);const d=e.getInput("filename")||"github-metrics.svg";console.log(`SVG output file | ${d}`);const p=a(e.getInput("optimize"),true);n.optimize=p;console.log(`SVG optimization | ${p}`);const f=e.getInput("user")||(await u.users.getAuthenticated()).data.login;console.log(`GitHub user | ${f}`);const h=a(e.getInput("debug"));if(!h)console.debug=(()=>null);console.log(`Debug mode | ${h}`);const m={};let g=(e.getInput("base")||"").split(",").map(e=>e.trim());for(const e of n.settings.plugins.base.parts)m[`base.${e}`]=g.includes(e);console.log(`Base parts | ${g.join(", ")}`);const y={lines:{enabled:a(e.getInput("plugin_lines"))},traffic:{enabled:a(e.getInput("plugin_traffic"))},pagespeed:{enabled:a(e.getInput("plugin_pagespeed"))},habits:{enabled:a(e.getInput("plugin_habits")),from:Number(e.getInput("plugin_habits_from"))||100},selfskip:{enabled:a(e.getInput("plugin_selfskip"))},languages:{enabled:a(e.getInput("plugin_languages"))},followup:{enabled:a(e.getInput("plugin_followup"))},music:{enabled:a(e.getInput("plugin_music"))}};const v=Object.fromEntries(Object.entries(y).filter(([e,t])=>t.enabled).map(([e])=>[e,true]));console.log(`Plugins enabled | ${Object.entries(y).filter(([e,t])=>t.enabled).map(([e])=>e).join(", ")}`);if(y.pagespeed.enabled){y.pagespeed.token=e.getInput("pagespeed_token");console.log(`Pagespeed token | ${y.pagespeed.token?"provided":"missing"}`)}if(y.music.enabled){for(const t of["provider","token","mode","playlist","limit"])v[`music.${t}`]=e.getInput(`plugin_music_${t}`)||"";console.log(`Music provider | ${v["music.provider"]}`);console.log(`Music token | ${v["music.token"]?"provided":"missing"}`);console.log(`Music plugin mode | ${v["music.mode"]}`);console.log(`Music playlist | ${v["music.playlist"]}`);console.log(`Music tracks limit | ${v["music.limit"]}`)}const b=Number(e.getInput("repositories"))||100;console.log(`Repositories to use | ${b}`);const S=await s({login:f,q:{...v,...m,repositories:b,template:i}},{graphql:c,rest:u,plugins:y,conf:n});console.log(`Render | complete`);{const r=e.getInput("committer_token")||e.getInput("token");console.log(`Committer token | ${r?"provided":"missing"}`);if(!r)throw new Error("You must provide a valid GitHub token to commit your metrics");const n=t.getOctokit(r);console.log(`Committer REST API | ok`);console.log(`Committer | ${(await n.users.getAuthenticated()).data.login}`);let i=null;try{const{data:e}=await n.repos.getContent({owner:f,repo:f,path:d});i=e.sha}catch(e){console.debug(e)}console.log(`Previous render sha | ${i||"none"}`);await n.repos.createOrUpdateFileContents({owner:f,repo:f,path:d,message:`Update ${d} - [Skip GitHub Action]`,content:Buffer.from(S).toString("base64"),...i?{sha:i}:{}});console.log(`Commit to repo | ok`)}console.log(`Success !`);process.exit(0)}catch(t){console.error(t);e.setFailed(t.message);process.exit(1)}})().catch(e=>process.exit(1))},12541:function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(Object.hasOwnProperty.call(e,r))t[r]=e[r];t["default"]=e;return t};Object.defineProperty(t,"__esModule",{value:true});const i=n(r(12087));const o=r(74332);function issueCommand(e,t,r){const n=new Command(e,t,r);process.stdout.write(n.toString()+i.EOL)}t.issueCommand=issueCommand;function issue(e,t=""){issueCommand(e,{},t)}t.issue=issue;const s="::";class Command{constructor(e,t,r){if(!e){e="missing.command"}this.command=e;this.properties=t;this.message=r}toString(){let e=s+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let t=true;for(const r in this.properties){if(this.properties.hasOwnProperty(r)){const n=this.properties[r];if(n){if(t){t=false}else{e+=","}e+=`${r}=${escapeProperty(n)}`}}}}e+=`${s}${escapeData(this.message)}`;return e}}function escapeData(e){return o.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return o.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},32882:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r(function(t){t(e)})}return new(r||(r=Promise))(function(r,i){function fulfilled(e){try{step(n.next(e))}catch(e){i(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){i(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())})};var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(Object.hasOwnProperty.call(e,r))t[r]=e[r];t["default"]=e;return t};Object.defineProperty(t,"__esModule",{value:true});const o=r(12541);const s=r(29582);const a=r(74332);const l=i(r(12087));const c=i(r(85622));var u;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(u=t.ExitCode||(t.ExitCode={}));function exportVariable(e,t){const r=a.toCommandValue(t);process.env[e]=r;const n=process.env["GITHUB_ENV"]||"";if(n){const t="_GitHubActionsFileCommandDelimeter_";const n=`${e}<<${t}${l.EOL}${r}${l.EOL}${t}`;s.issueCommand("ENV",n)}else{o.issueCommand("set-env",{name:e},r)}}t.exportVariable=exportVariable;function setSecret(e){o.issueCommand("add-mask",{},e)}t.setSecret=setSecret;function addPath(e){const t=process.env["GITHUB_PATH"]||"";if(t){s.issueCommand("PATH",e)}else{o.issueCommand("add-path",{},e)}process.env["PATH"]=`${e}${c.delimiter}${process.env["PATH"]}`}t.addPath=addPath;function getInput(e,t){const r=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!r){throw new Error(`Input required and not supplied: ${e}`)}return r.trim()}t.getInput=getInput;function setOutput(e,t){o.issueCommand("set-output",{name:e},t)}t.setOutput=setOutput;function setCommandEcho(e){o.issue("echo",e?"on":"off")}t.setCommandEcho=setCommandEcho;function setFailed(e){process.exitCode=u.Failure;error(e)}t.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}t.isDebug=isDebug;function debug(e){o.issueCommand("debug",{},e)}t.debug=debug;function error(e){o.issue("error",e instanceof Error?e.toString():e)}t.error=error;function warning(e){o.issue("warning",e instanceof Error?e.toString():e)}t.warning=warning;function info(e){process.stdout.write(e+l.EOL)}t.info=info;function startGroup(e){o.issue("group",e)}t.startGroup=startGroup;function endGroup(){o.issue("endgroup")}t.endGroup=endGroup;function group(e,t){return n(this,void 0,void 0,function*(){startGroup(e);let r;try{r=yield t()}finally{endGroup()}return r})}t.group=group;function saveState(e,t){o.issueCommand("save-state",{name:e},t)}t.saveState=saveState;function getState(e){return process.env[`STATE_${e}`]||""}t.getState=getState},29582:function(e,t,r){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(Object.hasOwnProperty.call(e,r))t[r]=e[r];t["default"]=e;return t};Object.defineProperty(t,"__esModule",{value:true});const i=n(r(35747));const o=n(r(12087));const s=r(74332);function issueCommand(e,t){const r=process.env[`GITHUB_${e}`];if(!r){throw new Error(`Unable to find environment variable for file command ${e}`)}if(!i.existsSync(r)){throw new Error(`Missing file at path: ${r}`)}i.appendFileSync(r,`${s.toCommandValue(t)}${o.EOL}`,{encoding:"utf8"})}t.issueCommand=issueCommand},74332:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function toCommandValue(e){if(e===null||e===undefined){return""}else if(typeof e==="string"||e instanceof String){return e}return JSON.stringify(e)}t.toCommandValue=toCommandValue},84873:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Context=void 0;const n=r(35747);const i=r(12087);class Context{constructor(){this.payload={};if(process.env.GITHUB_EVENT_PATH){if(n.existsSync(process.env.GITHUB_EVENT_PATH)){this.payload=JSON.parse(n.readFileSync(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}))}else{const e=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${e} does not exist${i.EOL}`)}}this.eventName=process.env.GITHUB_EVENT_NAME;this.sha=process.env.GITHUB_SHA;this.ref=process.env.GITHUB_REF;this.workflow=process.env.GITHUB_WORKFLOW;this.action=process.env.GITHUB_ACTION;this.actor=process.env.GITHUB_ACTOR;this.job=process.env.GITHUB_JOB;this.runNumber=parseInt(process.env.GITHUB_RUN_NUMBER,10);this.runId=parseInt(process.env.GITHUB_RUN_ID,10)}get issue(){const e=this.payload;return Object.assign(Object.assign({},this.repo),{number:(e.issue||e.pull_request||e).number})}get repo(){if(process.env.GITHUB_REPOSITORY){const[e,t]=process.env.GITHUB_REPOSITORY.split("/");return{owner:e,repo:t}}if(this.payload.repository){return{owner:this.payload.repository.owner.login,repo:this.payload.repository.name}}throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'")}}t.Context=Context},29483:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(Object.hasOwnProperty.call(e,r))n(t,e,r);i(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getOctokit=t.context=void 0;const s=o(r(84873));const a=r(24864);t.context=new s.Context;function getOctokit(e,t){return new a.GitHub(a.getOctokitOptions(e,t))}t.getOctokit=getOctokit},18145:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(Object.hasOwnProperty.call(e,r))n(t,e,r);i(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getApiBaseUrl=t.getProxyAgent=t.getAuthString=void 0;const s=o(r(66305));function getAuthString(e,t){if(!e&&!t.auth){throw new Error("Parameter token or opts.auth is required")}else if(e&&t.auth){throw new Error("Parameters token and opts.auth may not both be specified")}return typeof t.auth==="string"?t.auth:`token ${e}`}t.getAuthString=getAuthString;function getProxyAgent(e){const t=new s.HttpClient;return t.getAgent(e)}t.getProxyAgent=getProxyAgent;function getApiBaseUrl(){return process.env["GITHUB_API_URL"]||"https://api.github.com"}t.getApiBaseUrl=getApiBaseUrl},24864:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(Object.hasOwnProperty.call(e,r))n(t,e,r);i(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getOctokitOptions=t.GitHub=t.context=void 0;const s=o(r(84873));const a=o(r(18145));const l=r(40812);const c=r(5462);const u=r(19227);t.context=new s.Context;const d=a.getApiBaseUrl();const p={baseUrl:d,request:{agent:a.getProxyAgent(d)}};t.GitHub=l.Octokit.plugin(c.restEndpointMethods,u.paginateRest).defaults(p);function getOctokitOptions(e,t){const r=Object.assign({},t||{});const n=a.getAuthString(e,r);if(n){r.auth=n}return r}t.getOctokitOptions=getOctokitOptions},66305:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(78835);const i=r(98605);const o=r(57211);const s=r(92901);let a;var l;(function(e){e[e["OK"]=200]="OK";e[e["MultipleChoices"]=300]="MultipleChoices";e[e["MovedPermanently"]=301]="MovedPermanently";e[e["ResourceMoved"]=302]="ResourceMoved";e[e["SeeOther"]=303]="SeeOther";e[e["NotModified"]=304]="NotModified";e[e["UseProxy"]=305]="UseProxy";e[e["SwitchProxy"]=306]="SwitchProxy";e[e["TemporaryRedirect"]=307]="TemporaryRedirect";e[e["PermanentRedirect"]=308]="PermanentRedirect";e[e["BadRequest"]=400]="BadRequest";e[e["Unauthorized"]=401]="Unauthorized";e[e["PaymentRequired"]=402]="PaymentRequired";e[e["Forbidden"]=403]="Forbidden";e[e["NotFound"]=404]="NotFound";e[e["MethodNotAllowed"]=405]="MethodNotAllowed";e[e["NotAcceptable"]=406]="NotAcceptable";e[e["ProxyAuthenticationRequired"]=407]="ProxyAuthenticationRequired";e[e["RequestTimeout"]=408]="RequestTimeout";e[e["Conflict"]=409]="Conflict";e[e["Gone"]=410]="Gone";e[e["TooManyRequests"]=429]="TooManyRequests";e[e["InternalServerError"]=500]="InternalServerError";e[e["NotImplemented"]=501]="NotImplemented";e[e["BadGateway"]=502]="BadGateway";e[e["ServiceUnavailable"]=503]="ServiceUnavailable";e[e["GatewayTimeout"]=504]="GatewayTimeout"})(l=t.HttpCodes||(t.HttpCodes={}));var c;(function(e){e["Accept"]="accept";e["ContentType"]="content-type"})(c=t.Headers||(t.Headers={}));var u;(function(e){e["ApplicationJson"]="application/json"})(u=t.MediaTypes||(t.MediaTypes={}));function getProxyUrl(e){let t=s.getProxyUrl(n.parse(e));return t?t.href:""}t.getProxyUrl=getProxyUrl;const d=[l.MovedPermanently,l.ResourceMoved,l.SeeOther,l.TemporaryRedirect,l.PermanentRedirect];const p=[l.BadGateway,l.ServiceUnavailable,l.GatewayTimeout];const f=["OPTIONS","GET","DELETE","HEAD"];const h=10;const m=5;class HttpClientResponse{constructor(e){this.message=e}readBody(){return new Promise(async(e,t)=>{let r=Buffer.alloc(0);this.message.on("data",e=>{r=Buffer.concat([r,e])});this.message.on("end",()=>{e(r.toString())})})}}t.HttpClientResponse=HttpClientResponse;function isHttps(e){let t=n.parse(e);return t.protocol==="https:"}t.isHttps=isHttps;class HttpClient{constructor(e,t,r){this._ignoreSslError=false;this._allowRedirects=true;this._allowRedirectDowngrade=false;this._maxRedirects=50;this._allowRetries=false;this._maxRetries=1;this._keepAlive=false;this._disposed=false;this.userAgent=e;this.handlers=t||[];this.requestOptions=r;if(r){if(r.ignoreSslError!=null){this._ignoreSslError=r.ignoreSslError}this._socketTimeout=r.socketTimeout;if(r.allowRedirects!=null){this._allowRedirects=r.allowRedirects}if(r.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=r.allowRedirectDowngrade}if(r.maxRedirects!=null){this._maxRedirects=Math.max(r.maxRedirects,0)}if(r.keepAlive!=null){this._keepAlive=r.keepAlive}if(r.allowRetries!=null){this._allowRetries=r.allowRetries}if(r.maxRetries!=null){this._maxRetries=r.maxRetries}}}options(e,t){return this.request("OPTIONS",e,null,t||{})}get(e,t){return this.request("GET",e,null,t||{})}del(e,t){return this.request("DELETE",e,null,t||{})}post(e,t,r){return this.request("POST",e,t,r||{})}patch(e,t,r){return this.request("PATCH",e,t,r||{})}put(e,t,r){return this.request("PUT",e,t,r||{})}head(e,t){return this.request("HEAD",e,null,t||{})}sendStream(e,t,r,n){return this.request(e,t,r,n)}async getJson(e,t={}){t[c.Accept]=this._getExistingOrDefaultHeader(t,c.Accept,u.ApplicationJson);let r=await this.get(e,t);return this._processResponse(r,this.requestOptions)}async postJson(e,t,r={}){let n=JSON.stringify(t,null,2);r[c.Accept]=this._getExistingOrDefaultHeader(r,c.Accept,u.ApplicationJson);r[c.ContentType]=this._getExistingOrDefaultHeader(r,c.ContentType,u.ApplicationJson);let i=await this.post(e,n,r);return this._processResponse(i,this.requestOptions)}async putJson(e,t,r={}){let n=JSON.stringify(t,null,2);r[c.Accept]=this._getExistingOrDefaultHeader(r,c.Accept,u.ApplicationJson);r[c.ContentType]=this._getExistingOrDefaultHeader(r,c.ContentType,u.ApplicationJson);let i=await this.put(e,n,r);return this._processResponse(i,this.requestOptions)}async patchJson(e,t,r={}){let n=JSON.stringify(t,null,2);r[c.Accept]=this._getExistingOrDefaultHeader(r,c.Accept,u.ApplicationJson);r[c.ContentType]=this._getExistingOrDefaultHeader(r,c.ContentType,u.ApplicationJson);let i=await this.patch(e,n,r);return this._processResponse(i,this.requestOptions)}async request(e,t,r,i){if(this._disposed){throw new Error("Client has already been disposed.")}let o=n.parse(t);let s=this._prepareRequest(e,o,i);let a=this._allowRetries&&f.indexOf(e)!=-1?this._maxRetries+1:1;let c=0;let u;while(c0){const a=u.message.headers["location"];if(!a){break}let l=n.parse(a);if(o.protocol=="https:"&&o.protocol!=l.protocol&&!this._allowRedirectDowngrade){throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.")}await u.readBody();if(l.hostname!==o.hostname){for(let e in i){if(e.toLowerCase()==="authorization"){delete i[e]}}}s=this._prepareRequest(e,l,i);u=await this.requestRaw(s,r);t--}if(p.indexOf(u.message.statusCode)==-1){return u}c+=1;if(c{let i=function(e,t){if(e){n(e)}r(t)};this.requestRawWithCallback(e,t,i)})}requestRawWithCallback(e,t,r){let n;if(typeof t==="string"){e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8")}let i=false;let o=(e,t)=>{if(!i){i=true;r(e,t)}};let s=e.httpModule.request(e.options,e=>{let t=new HttpClientResponse(e);o(null,t)});s.on("socket",e=>{n=e});s.setTimeout(this._socketTimeout||3*6e4,()=>{if(n){n.end()}o(new Error("Request timeout: "+e.options.path),null)});s.on("error",function(e){o(e,null)});if(t&&typeof t==="string"){s.write(t,"utf8")}if(t&&typeof t!=="string"){t.on("close",function(){s.end()});t.pipe(s)}else{s.end()}}getAgent(e){let t=n.parse(e);return this._getAgent(t)}_prepareRequest(e,t,r){const n={};n.parsedUrl=t;const s=n.parsedUrl.protocol==="https:";n.httpModule=s?o:i;const a=s?443:80;n.options={};n.options.host=n.parsedUrl.hostname;n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):a;n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||"");n.options.method=e;n.options.headers=this._mergeHeaders(r);if(this.userAgent!=null){n.options.headers["user-agent"]=this.userAgent}n.options.agent=this._getAgent(n.parsedUrl);if(this.handlers){this.handlers.forEach(e=>{e.prepareRequest(n.options)})}return n}_mergeHeaders(e){const t=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{});if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},t(this.requestOptions.headers),t(e))}return t(e||{})}_getExistingOrDefaultHeader(e,t,r){const n=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{});let i;if(this.requestOptions&&this.requestOptions.headers){i=n(this.requestOptions.headers)[t]}return e[t]||i||r}_getAgent(e){let t;let n=s.getProxyUrl(e);let l=n&&n.hostname;if(this._keepAlive&&l){t=this._proxyAgent}if(this._keepAlive&&!l){t=this._agent}if(!!t){return t}const c=e.protocol==="https:";let u=100;if(!!this.requestOptions){u=this.requestOptions.maxSockets||i.globalAgent.maxSockets}if(l){if(!a){a=r(34603)}const e={maxSockets:u,keepAlive:this._keepAlive,proxy:{proxyAuth:n.auth,host:n.hostname,port:n.port}};let i;const o=n.protocol==="https:";if(c){i=o?a.httpsOverHttps:a.httpsOverHttp}else{i=o?a.httpOverHttps:a.httpOverHttp}t=i(e);this._proxyAgent=t}if(this._keepAlive&&!t){const e={keepAlive:this._keepAlive,maxSockets:u};t=c?new o.Agent(e):new i.Agent(e);this._agent=t}if(!t){t=c?o.globalAgent:i.globalAgent}if(c&&this._ignoreSslError){t.options=Object.assign(t.options||{},{rejectUnauthorized:false})}return t}_performExponentialBackoff(e){e=Math.min(h,e);const t=m*Math.pow(2,e);return new Promise(e=>setTimeout(()=>e(),t))}static dateTimeDeserializer(e,t){if(typeof t==="string"){let e=new Date(t);if(!isNaN(e.valueOf())){return e}}return t}async _processResponse(e,t){return new Promise(async(r,n)=>{const i=e.message.statusCode;const o={statusCode:i,result:null,headers:{}};if(i==l.NotFound){r(o)}let s;let a;try{a=await e.readBody();if(a&&a.length>0){if(t&&t.deserializeDates){s=JSON.parse(a,HttpClient.dateTimeDeserializer)}else{s=JSON.parse(a)}o.result=s}o.headers=e.message.headers}catch(e){}if(i>299){let e;if(s&&s.message){e=s.message}else if(a&&a.length>0){e=a}else{e="Failed request: ("+i+")"}let t=new Error(e);t["statusCode"]=i;if(o.result){t["result"]=o.result}n(t)}else{r(o)}})}}t.HttpClient=HttpClient},92901:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(78835);function getProxyUrl(e){let t=e.protocol==="https:";let r;if(checkBypass(e)){return r}let i;if(t){i=process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{i=process.env["http_proxy"]||process.env["HTTP_PROXY"]}if(i){r=n.parse(i)}return r}t.getProxyUrl=getProxyUrl;function checkBypass(e){if(!e.hostname){return false}let t=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!t){return false}let r;if(e.port){r=Number(e.port)}else if(e.protocol==="http:"){r=80}else if(e.protocol==="https:"){r=443}let n=[e.hostname.toUpperCase()];if(typeof r==="number"){n.push(`${n[0]}:${r}`)}for(let e of t.split(",").map(e=>e.trim().toUpperCase()).filter(e=>e)){if(n.some(t=>t===e)){return true}}return false}t.checkBypass=checkBypass},22899:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});async function auth(e){const t=e.split(/\./).length===3?"app":/^v\d+\./.test(e)?"installation":"oauth";return{type:"token",token:e,tokenType:t}}function withAuthorizationPrefix(e){if(e.split(/\./).length===3){return`bearer ${e}`}return`token ${e}`}async function hook(e,t,r,n){const i=t.endpoint.merge(r,n);i.headers.authorization=withAuthorizationPrefix(e);return t(i)}const r=function createTokenAuth(e){if(!e){throw new Error("[@octokit/auth-token] No token passed to createTokenAuth")}if(typeof e!=="string"){throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string")}e=e.replace(/^(token|bearer) +/i,"");return Object.assign(auth.bind(null,e),{hook:hook.bind(null,e)})};t.createTokenAuth=r},40812:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(1857);var i=r(46401);var o=r(48826);var s=r(3584);var a=r(22899);function _defineProperty(e,t,r){if(t in e){Object.defineProperty(e,t,{value:r,enumerable:true,configurable:true,writable:true})}else{e[t]=r}return e}function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);if(t)n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable});r.push.apply(r,n)}return r}function _objectSpread2(e){for(var t=1;t{},info:()=>{},warn:console.warn.bind(console),error:console.error.bind(console)},e.log);this.hook=t;if(!e.authStrategy){if(!e.auth){this.auth=(async()=>({type:"unauthenticated"}))}else{const r=a.createTokenAuth(e.auth);t.wrap("request",r.hook);this.auth=r}}else{const r=e.authStrategy(Object.assign({request:this.request},e.auth));t.wrap("request",r.hook);this.auth=r}const c=this.constructor;c.plugins.forEach(t=>{Object.assign(this,t(this,e))})}static defaults(e){const t=class extends(this){constructor(...t){const r=t[0]||{};if(typeof e==="function"){super(e(r));return}super(Object.assign({},e,r,r.userAgent&&e.userAgent?{userAgent:`${r.userAgent} ${e.userAgent}`}:null))}};return t}static plugin(...e){var t;const r=this.plugins;const n=(t=class extends(this){},t.plugins=r.concat(e.filter(e=>!r.includes(e))),t);return n}}Octokit.VERSION=l;Octokit.plugins=[];t.Octokit=Octokit},70412:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(80641);var i=r(1857);function lowercaseKeys(e){if(!e){return{}}return Object.keys(e).reduce((t,r)=>{t[r.toLowerCase()]=e[r];return t},{})}function mergeDeep(e,t){const r=Object.assign({},e);Object.keys(t).forEach(i=>{if(n.isPlainObject(t[i])){if(!(i in e))Object.assign(r,{[i]:t[i]});else r[i]=mergeDeep(e[i],t[i])}else{Object.assign(r,{[i]:t[i]})}});return r}function removeUndefinedProperties(e){for(const t in e){if(e[t]===undefined){delete e[t]}}return e}function merge(e,t,r){if(typeof t==="string"){let[e,n]=t.split(" ");r=Object.assign(n?{method:e,url:n}:{url:e},r)}else{r=Object.assign({},t)}r.headers=lowercaseKeys(r.headers);removeUndefinedProperties(r);removeUndefinedProperties(r.headers);const n=mergeDeep(e||{},r);if(e&&e.mediaType.previews.length){n.mediaType.previews=e.mediaType.previews.filter(e=>!n.mediaType.previews.includes(e)).concat(n.mediaType.previews)}n.mediaType.previews=n.mediaType.previews.map(e=>e.replace(/-preview/,""));return n}function addQueryParameters(e,t){const r=/\?/.test(e)?"&":"?";const n=Object.keys(t);if(n.length===0){return e}return e+r+n.map(e=>{if(e==="q"){return"q="+t.q.split("+").map(encodeURIComponent).join("+")}return`${e}=${encodeURIComponent(t[e])}`}).join("&")}const o=/\{[^}]+\}/g;function removeNonChars(e){return e.replace(/^\W+|\W+$/g,"").split(/,/)}function extractUrlVariableNames(e){const t=e.match(o);if(!t){return[]}return t.map(removeNonChars).reduce((e,t)=>e.concat(t),[])}function omit(e,t){return Object.keys(e).filter(e=>!t.includes(e)).reduce((t,r)=>{t[r]=e[r];return t},{})}function encodeReserved(e){return e.split(/(%[0-9A-Fa-f]{2})/g).map(function(e){if(!/%[0-9A-Fa-f]/.test(e)){e=encodeURI(e).replace(/%5B/g,"[").replace(/%5D/g,"]")}return e}).join("")}function encodeUnreserved(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function encodeValue(e,t,r){t=e==="+"||e==="#"?encodeReserved(t):encodeUnreserved(t);if(r){return encodeUnreserved(r)+"="+t}else{return t}}function isDefined(e){return e!==undefined&&e!==null}function isKeyOperator(e){return e===";"||e==="&"||e==="?"}function getValues(e,t,r,n){var i=e[r],o=[];if(isDefined(i)&&i!==""){if(typeof i==="string"||typeof i==="number"||typeof i==="boolean"){i=i.toString();if(n&&n!=="*"){i=i.substring(0,parseInt(n,10))}o.push(encodeValue(t,i,isKeyOperator(t)?r:""))}else{if(n==="*"){if(Array.isArray(i)){i.filter(isDefined).forEach(function(e){o.push(encodeValue(t,e,isKeyOperator(t)?r:""))})}else{Object.keys(i).forEach(function(e){if(isDefined(i[e])){o.push(encodeValue(t,i[e],e))}})}}else{const e=[];if(Array.isArray(i)){i.filter(isDefined).forEach(function(r){e.push(encodeValue(t,r))})}else{Object.keys(i).forEach(function(r){if(isDefined(i[r])){e.push(encodeUnreserved(r));e.push(encodeValue(t,i[r].toString()))}})}if(isKeyOperator(t)){o.push(encodeUnreserved(r)+"="+e.join(","))}else if(e.length!==0){o.push(e.join(","))}}}}else{if(t===";"){if(isDefined(i)){o.push(encodeUnreserved(r))}}else if(i===""&&(t==="&"||t==="?")){o.push(encodeUnreserved(r)+"=")}else if(i===""){o.push("")}}return o}function parseUrl(e){return{expand:expand.bind(null,e)}}function expand(e,t){var r=["+","#",".","/",";","?","&"];return e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(e,n,i){if(n){let e="";const i=[];if(r.indexOf(n.charAt(0))!==-1){e=n.charAt(0);n=n.substr(1)}n.split(/,/g).forEach(function(r){var n=/([^:\*]*)(?::(\d+)|(\*))?/.exec(r);i.push(getValues(t,e,n[1],n[2]||n[3]))});if(e&&e!=="+"){var o=",";if(e==="?"){o="&"}else if(e!=="#"){o=e}return(i.length!==0?e:"")+i.join(o)}else{return i.join(",")}}else{return encodeReserved(i)}})}function parse(e){let t=e.method.toUpperCase();let r=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}");let n=Object.assign({},e.headers);let i;let o=omit(e,["method","baseUrl","url","headers","request","mediaType"]);const s=extractUrlVariableNames(r);r=parseUrl(r).expand(o);if(!/^http/.test(r)){r=e.baseUrl+r}const a=Object.keys(e).filter(e=>s.includes(e)).concat("baseUrl");const l=omit(o,a);const c=/application\/octet-stream/i.test(n.accept);if(!c){if(e.mediaType.format){n.accept=n.accept.split(/,/).map(t=>t.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`)).join(",")}if(e.mediaType.previews.length){const t=n.accept.match(/[\w-]+(?=-preview)/g)||[];n.accept=t.concat(e.mediaType.previews).map(t=>{const r=e.mediaType.format?`.${e.mediaType.format}`:"+json";return`application/vnd.github.${t}-preview${r}`}).join(",")}}if(["GET","HEAD"].includes(t)){r=addQueryParameters(r,l)}else{if("data"in l){i=l.data}else{if(Object.keys(l).length){i=l}else{n["content-length"]=0}}}if(!n["content-type"]&&typeof i!=="undefined"){n["content-type"]="application/json; charset=utf-8"}if(["PATCH","PUT"].includes(t)&&typeof i==="undefined"){i=""}return Object.assign({method:t,url:r,headers:n},typeof i!=="undefined"?{body:i}:null,e.request?{request:e.request}:null)}function endpointWithDefaults(e,t,r){return parse(merge(e,t,r))}function withDefaults(e,t){const r=merge(e,t);const n=endpointWithDefaults.bind(null,r);return Object.assign(n,{DEFAULTS:r,defaults:withDefaults.bind(null,r),merge:merge.bind(null,r),parse:parse})}const s="6.0.8";const a=`octokit-endpoint.js/${s} ${i.getUserAgent()}`;const l={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":a},mediaType:{format:"",previews:[]}};const c=withDefaults(null,l);t.endpoint=c},3584:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(48826);var i=r(1857);const o="4.5.6";class GraphqlError extends Error{constructor(e,t){const r=t.data.errors[0].message;super(r);Object.assign(this,t.data);Object.assign(this,{headers:t.headers});this.name="GraphqlError";this.request=e;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}}const s=["method","baseUrl","url","headers","request","query","mediaType"];const a=/\/api\/v3\/?$/;function graphql(e,t,r){if(typeof t==="string"&&r&&"query"in r){return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`))}const n=typeof t==="string"?Object.assign({query:t},r):t;const i=Object.keys(n).reduce((e,t)=>{if(s.includes(t)){e[t]=n[t];return e}if(!e.variables){e.variables={}}e.variables[t]=n[t];return e},{});const o=n.baseUrl||e.endpoint.DEFAULTS.baseUrl;if(a.test(o)){i.url=o.replace(a,"/api/graphql")}return e(i).then(e=>{if(e.data.errors){const t={};for(const r of Object.keys(e.headers)){t[r]=e.headers[r]}throw new GraphqlError(i,{headers:t,data:e.data})}return e.data.data})}function withDefaults(e,t){const r=e.defaults(t);const i=(e,t)=>{return graphql(r,e,t)};return Object.assign(i,{defaults:withDefaults.bind(null,r),endpoint:n.request.endpoint})}const l=withDefaults(n.request,{headers:{"user-agent":`octokit-graphql.js/${o} ${i.getUserAgent()}`},method:"POST",url:"/graphql"});function withCustomRequest(e){return withDefaults(e,{method:"POST",url:"/graphql"})}t.graphql=l;t.withCustomRequest=withCustomRequest},19227:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r="2.4.0";function normalizePaginatedListResponse(e){const t="total_count"in e.data&&!("url"in e.data);if(!t)return e;const r=e.data.incomplete_results;const n=e.data.repository_selection;const i=e.data.total_count;delete e.data.incomplete_results;delete e.data.repository_selection;delete e.data.total_count;const o=Object.keys(e.data)[0];const s=e.data[o];e.data=s;if(typeof r!=="undefined"){e.data.incomplete_results=r}if(typeof n!=="undefined"){e.data.repository_selection=n}e.data.total_count=i;return e}function iterator(e,t,r){const n=typeof t==="function"?t.endpoint(r):e.request.endpoint(t,r);const i=typeof t==="function"?t:e.request;const o=n.method;const s=n.headers;let a=n.url;return{[Symbol.asyncIterator]:()=>({next(){if(!a){return Promise.resolve({done:true})}return i({method:o,url:a,headers:s}).then(normalizePaginatedListResponse).then(e=>{a=((e.headers.link||"").match(/<([^>]+)>;\s*rel="next"/)||[])[1];return{value:e}})}})}}function paginate(e,t,r,n){if(typeof r==="function"){n=r;r=undefined}return gather(e,[],iterator(e,t,r)[Symbol.asyncIterator](),n)}function gather(e,t,r,n){return r.next().then(i=>{if(i.done){return t}let o=false;function done(){o=true}t=t.concat(n?n(i.value,done):i.value.data);if(o){return t}return gather(e,t,r,n)})}function paginateRest(e){return{paginate:Object.assign(paginate.bind(null,e),{iterator:iterator.bind(null,e)})}}paginateRest.VERSION=r;t.paginateRest=paginateRest},5462:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const r={actions:{addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createOrUpdateOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"],createRegistrationTokenForOrg:["POST /orgs/{org}/actions/runners/registration-token"],createRegistrationTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/registration-token"],createRemoveTokenForOrg:["POST /orgs/{org}/actions/runners/remove-token"],createRemoveTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/remove-token"],createWorkflowDispatch:["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"],deleteArtifact:["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],deleteOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"],deleteSelfHostedRunnerFromOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}"],deleteSelfHostedRunnerFromRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"],deleteWorkflowRun:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"],deleteWorkflowRunLogs:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],downloadArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],downloadJobLogsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"],downloadWorkflowRunLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],getArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],getJobForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],getOrgPublicKey:["GET /orgs/{org}/actions/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}"],getRepoPublicKey:["GET /repos/{owner}/{repo}/actions/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"],getSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}"],getSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}"],getWorkflow:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"],getWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],getWorkflowRunUsage:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"],getWorkflowUsage:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"],listArtifactsForRepo:["GET /repos/{owner}/{repo}/actions/artifacts"],listJobsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"],listOrgSecrets:["GET /orgs/{org}/actions/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/actions/secrets"],listRepoWorkflows:["GET /repos/{owner}/{repo}/actions/workflows"],listRunnerApplicationsForOrg:["GET /orgs/{org}/actions/runners/downloads"],listRunnerApplicationsForRepo:["GET /repos/{owner}/{repo}/actions/runners/downloads"],listSelectedReposForOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"],listSelfHostedRunnersForOrg:["GET /orgs/{org}/actions/runners"],listSelfHostedRunnersForRepo:["GET /repos/{owner}/{repo}/actions/runners"],listWorkflowRunArtifacts:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"],listWorkflowRuns:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"],listWorkflowRunsForRepo:["GET /repos/{owner}/{repo}/actions/runs"],reRunWorkflow:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"]},activity:{checkRepoIsStarredByAuthenticatedUser:["GET /user/starred/{owner}/{repo}"],deleteRepoSubscription:["DELETE /repos/{owner}/{repo}/subscription"],deleteThreadSubscription:["DELETE /notifications/threads/{thread_id}/subscription"],getFeeds:["GET /feeds"],getRepoSubscription:["GET /repos/{owner}/{repo}/subscription"],getThread:["GET /notifications/threads/{thread_id}"],getThreadSubscriptionForAuthenticatedUser:["GET /notifications/threads/{thread_id}/subscription"],listEventsForAuthenticatedUser:["GET /users/{username}/events"],listNotificationsForAuthenticatedUser:["GET /notifications"],listOrgEventsForAuthenticatedUser:["GET /users/{username}/events/orgs/{org}"],listPublicEvents:["GET /events"],listPublicEventsForRepoNetwork:["GET /networks/{owner}/{repo}/events"],listPublicEventsForUser:["GET /users/{username}/events/public"],listPublicOrgEvents:["GET /orgs/{org}/events"],listReceivedEventsForUser:["GET /users/{username}/received_events"],listReceivedPublicEventsForUser:["GET /users/{username}/received_events/public"],listRepoEvents:["GET /repos/{owner}/{repo}/events"],listRepoNotificationsForAuthenticatedUser:["GET /repos/{owner}/{repo}/notifications"],listReposStarredByAuthenticatedUser:["GET /user/starred"],listReposStarredByUser:["GET /users/{username}/starred"],listReposWatchedByUser:["GET /users/{username}/subscriptions"],listStargazersForRepo:["GET /repos/{owner}/{repo}/stargazers"],listWatchedReposForAuthenticatedUser:["GET /user/subscriptions"],listWatchersForRepo:["GET /repos/{owner}/{repo}/subscribers"],markNotificationsAsRead:["PUT /notifications"],markRepoNotificationsAsRead:["PUT /repos/{owner}/{repo}/notifications"],markThreadAsRead:["PATCH /notifications/threads/{thread_id}"],setRepoSubscription:["PUT /repos/{owner}/{repo}/subscription"],setThreadSubscription:["PUT /notifications/threads/{thread_id}/subscription"],starRepoForAuthenticatedUser:["PUT /user/starred/{owner}/{repo}"],unstarRepoForAuthenticatedUser:["DELETE /user/starred/{owner}/{repo}"]},apps:{addRepoToInstallation:["PUT /user/installations/{installation_id}/repositories/{repository_id}"],checkToken:["POST /applications/{client_id}/token"],createContentAttachment:["POST /content_references/{content_reference_id}/attachments",{mediaType:{previews:["corsair"]}}],createFromManifest:["POST /app-manifests/{code}/conversions"],createInstallationAccessToken:["POST /app/installations/{installation_id}/access_tokens"],deleteAuthorization:["DELETE /applications/{client_id}/grant"],deleteInstallation:["DELETE /app/installations/{installation_id}"],deleteToken:["DELETE /applications/{client_id}/token"],getAuthenticated:["GET /app"],getBySlug:["GET /apps/{app_slug}"],getInstallation:["GET /app/installations/{installation_id}"],getOrgInstallation:["GET /orgs/{org}/installation"],getRepoInstallation:["GET /repos/{owner}/{repo}/installation"],getSubscriptionPlanForAccount:["GET /marketplace_listing/accounts/{account_id}"],getSubscriptionPlanForAccountStubbed:["GET /marketplace_listing/stubbed/accounts/{account_id}"],getUserInstallation:["GET /users/{username}/installation"],listAccountsForPlan:["GET /marketplace_listing/plans/{plan_id}/accounts"],listAccountsForPlanStubbed:["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"],listInstallationReposForAuthenticatedUser:["GET /user/installations/{installation_id}/repositories"],listInstallations:["GET /app/installations"],listInstallationsForAuthenticatedUser:["GET /user/installations"],listPlans:["GET /marketplace_listing/plans"],listPlansStubbed:["GET /marketplace_listing/stubbed/plans"],listReposAccessibleToInstallation:["GET /installation/repositories"],listSubscriptionsForAuthenticatedUser:["GET /user/marketplace_purchases"],listSubscriptionsForAuthenticatedUserStubbed:["GET /user/marketplace_purchases/stubbed"],removeRepoFromInstallation:["DELETE /user/installations/{installation_id}/repositories/{repository_id}"],resetToken:["PATCH /applications/{client_id}/token"],revokeInstallationAccessToken:["DELETE /installation/token"],suspendInstallation:["PUT /app/installations/{installation_id}/suspended"],unsuspendInstallation:["DELETE /app/installations/{installation_id}/suspended"]},billing:{getGithubActionsBillingOrg:["GET /orgs/{org}/settings/billing/actions"],getGithubActionsBillingUser:["GET /users/{username}/settings/billing/actions"],getGithubPackagesBillingOrg:["GET /orgs/{org}/settings/billing/packages"],getGithubPackagesBillingUser:["GET /users/{username}/settings/billing/packages"],getSharedStorageBillingOrg:["GET /orgs/{org}/settings/billing/shared-storage"],getSharedStorageBillingUser:["GET /users/{username}/settings/billing/shared-storage"]},checks:{create:["POST /repos/{owner}/{repo}/check-runs",{mediaType:{previews:["antiope"]}}],createSuite:["POST /repos/{owner}/{repo}/check-suites",{mediaType:{previews:["antiope"]}}],get:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}",{mediaType:{previews:["antiope"]}}],getSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}",{mediaType:{previews:["antiope"]}}],listAnnotations:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations",{mediaType:{previews:["antiope"]}}],listForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-runs",{mediaType:{previews:["antiope"]}}],listForSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs",{mediaType:{previews:["antiope"]}}],listSuitesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-suites",{mediaType:{previews:["antiope"]}}],rerequestSuite:["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest",{mediaType:{previews:["antiope"]}}],setSuitesPreferences:["PATCH /repos/{owner}/{repo}/check-suites/preferences",{mediaType:{previews:["antiope"]}}],update:["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}",{mediaType:{previews:["antiope"]}}]},codeScanning:{getAlert:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",{},{renamedParameters:{alert_id:"alert_number"}}],listAlertsForRepo:["GET /repos/{owner}/{repo}/code-scanning/alerts"],listRecentAnalyses:["GET /repos/{owner}/{repo}/code-scanning/analyses"],updateAlert:["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"],uploadSarif:["POST /repos/{owner}/{repo}/code-scanning/sarifs"]},codesOfConduct:{getAllCodesOfConduct:["GET /codes_of_conduct",{mediaType:{previews:["scarlet-witch"]}}],getConductCode:["GET /codes_of_conduct/{key}",{mediaType:{previews:["scarlet-witch"]}}],getForRepo:["GET /repos/{owner}/{repo}/community/code_of_conduct",{mediaType:{previews:["scarlet-witch"]}}]},emojis:{get:["GET /emojis"]},gists:{checkIsStarred:["GET /gists/{gist_id}/star"],create:["POST /gists"],createComment:["POST /gists/{gist_id}/comments"],delete:["DELETE /gists/{gist_id}"],deleteComment:["DELETE /gists/{gist_id}/comments/{comment_id}"],fork:["POST /gists/{gist_id}/forks"],get:["GET /gists/{gist_id}"],getComment:["GET /gists/{gist_id}/comments/{comment_id}"],getRevision:["GET /gists/{gist_id}/{sha}"],list:["GET /gists"],listComments:["GET /gists/{gist_id}/comments"],listCommits:["GET /gists/{gist_id}/commits"],listForUser:["GET /users/{username}/gists"],listForks:["GET /gists/{gist_id}/forks"],listPublic:["GET /gists/public"],listStarred:["GET /gists/starred"],star:["PUT /gists/{gist_id}/star"],unstar:["DELETE /gists/{gist_id}/star"],update:["PATCH /gists/{gist_id}"],updateComment:["PATCH /gists/{gist_id}/comments/{comment_id}"]},git:{createBlob:["POST /repos/{owner}/{repo}/git/blobs"],createCommit:["POST /repos/{owner}/{repo}/git/commits"],createRef:["POST /repos/{owner}/{repo}/git/refs"],createTag:["POST /repos/{owner}/{repo}/git/tags"],createTree:["POST /repos/{owner}/{repo}/git/trees"],deleteRef:["DELETE /repos/{owner}/{repo}/git/refs/{ref}"],getBlob:["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"],getCommit:["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"],getRef:["GET /repos/{owner}/{repo}/git/ref/{ref}"],getTag:["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"],getTree:["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"],listMatchingRefs:["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"],updateRef:["PATCH /repos/{owner}/{repo}/git/refs/{ref}"]},gitignore:{getAllTemplates:["GET /gitignore/templates"],getTemplate:["GET /gitignore/templates/{name}"]},interactions:{getRestrictionsForOrg:["GET /orgs/{org}/interaction-limits",{mediaType:{previews:["sombra"]}}],getRestrictionsForRepo:["GET /repos/{owner}/{repo}/interaction-limits",{mediaType:{previews:["sombra"]}}],removeRestrictionsForOrg:["DELETE /orgs/{org}/interaction-limits",{mediaType:{previews:["sombra"]}}],removeRestrictionsForRepo:["DELETE /repos/{owner}/{repo}/interaction-limits",{mediaType:{previews:["sombra"]}}],setRestrictionsForOrg:["PUT /orgs/{org}/interaction-limits",{mediaType:{previews:["sombra"]}}],setRestrictionsForRepo:["PUT /repos/{owner}/{repo}/interaction-limits",{mediaType:{previews:["sombra"]}}]},issues:{addAssignees:["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"],addLabels:["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],checkUserCanBeAssigned:["GET /repos/{owner}/{repo}/assignees/{assignee}"],create:["POST /repos/{owner}/{repo}/issues"],createComment:["POST /repos/{owner}/{repo}/issues/{issue_number}/comments"],createLabel:["POST /repos/{owner}/{repo}/labels"],createMilestone:["POST /repos/{owner}/{repo}/milestones"],deleteComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"],deleteLabel:["DELETE /repos/{owner}/{repo}/labels/{name}"],deleteMilestone:["DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"],get:["GET /repos/{owner}/{repo}/issues/{issue_number}"],getComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"],getEvent:["GET /repos/{owner}/{repo}/issues/events/{event_id}"],getLabel:["GET /repos/{owner}/{repo}/labels/{name}"],getMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}"],list:["GET /issues"],listAssignees:["GET /repos/{owner}/{repo}/assignees"],listComments:["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"],listCommentsForRepo:["GET /repos/{owner}/{repo}/issues/comments"],listEvents:["GET /repos/{owner}/{repo}/issues/{issue_number}/events"],listEventsForRepo:["GET /repos/{owner}/{repo}/issues/events"],listEventsForTimeline:["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline",{mediaType:{previews:["mockingbird"]}}],listForAuthenticatedUser:["GET /user/issues"],listForOrg:["GET /orgs/{org}/issues"],listForRepo:["GET /repos/{owner}/{repo}/issues"],listLabelsForMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"],listLabelsForRepo:["GET /repos/{owner}/{repo}/labels"],listLabelsOnIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"],listMilestones:["GET /repos/{owner}/{repo}/milestones"],lock:["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"],removeAllLabels:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"],removeAssignees:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees"],removeLabel:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"],setLabels:["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"],unlock:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"],update:["PATCH /repos/{owner}/{repo}/issues/{issue_number}"],updateComment:["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"],updateLabel:["PATCH /repos/{owner}/{repo}/labels/{name}"],updateMilestone:["PATCH /repos/{owner}/{repo}/milestones/{milestone_number}"]},licenses:{get:["GET /licenses/{license}"],getAllCommonlyUsed:["GET /licenses"],getForRepo:["GET /repos/{owner}/{repo}/license"]},markdown:{render:["POST /markdown"],renderRaw:["POST /markdown/raw",{headers:{"content-type":"text/plain; charset=utf-8"}}]},meta:{get:["GET /meta"]},migrations:{cancelImport:["DELETE /repos/{owner}/{repo}/import"],deleteArchiveForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/archive",{mediaType:{previews:["wyandotte"]}}],deleteArchiveForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/archive",{mediaType:{previews:["wyandotte"]}}],downloadArchiveForOrg:["GET /orgs/{org}/migrations/{migration_id}/archive",{mediaType:{previews:["wyandotte"]}}],getArchiveForAuthenticatedUser:["GET /user/migrations/{migration_id}/archive",{mediaType:{previews:["wyandotte"]}}],getCommitAuthors:["GET /repos/{owner}/{repo}/import/authors"],getImportStatus:["GET /repos/{owner}/{repo}/import"],getLargeFiles:["GET /repos/{owner}/{repo}/import/large_files"],getStatusForAuthenticatedUser:["GET /user/migrations/{migration_id}",{mediaType:{previews:["wyandotte"]}}],getStatusForOrg:["GET /orgs/{org}/migrations/{migration_id}",{mediaType:{previews:["wyandotte"]}}],listForAuthenticatedUser:["GET /user/migrations",{mediaType:{previews:["wyandotte"]}}],listForOrg:["GET /orgs/{org}/migrations",{mediaType:{previews:["wyandotte"]}}],listReposForOrg:["GET /orgs/{org}/migrations/{migration_id}/repositories",{mediaType:{previews:["wyandotte"]}}],listReposForUser:["GET /user/migrations/{migration_id}/repositories",{mediaType:{previews:["wyandotte"]}}],mapCommitAuthor:["PATCH /repos/{owner}/{repo}/import/authors/{author_id}"],setLfsPreference:["PATCH /repos/{owner}/{repo}/import/lfs"],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],startImport:["PUT /repos/{owner}/{repo}/import"],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock",{mediaType:{previews:["wyandotte"]}}],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock",{mediaType:{previews:["wyandotte"]}}],updateImport:["PATCH /repos/{owner}/{repo}/import"]},orgs:{blockUser:["PUT /orgs/{org}/blocks/{username}"],checkBlockedUser:["GET /orgs/{org}/blocks/{username}"],checkMembershipForUser:["GET /orgs/{org}/members/{username}"],checkPublicMembershipForUser:["GET /orgs/{org}/public_members/{username}"],convertMemberToOutsideCollaborator:["PUT /orgs/{org}/outside_collaborators/{username}"],createInvitation:["POST /orgs/{org}/invitations"],createWebhook:["POST /orgs/{org}/hooks"],deleteWebhook:["DELETE /orgs/{org}/hooks/{hook_id}"],get:["GET /orgs/{org}"],getMembershipForAuthenticatedUser:["GET /user/memberships/orgs/{org}"],getMembershipForUser:["GET /orgs/{org}/memberships/{username}"],getWebhook:["GET /orgs/{org}/hooks/{hook_id}"],list:["GET /organizations"],listAppInstallations:["GET /orgs/{org}/installations"],listBlockedUsers:["GET /orgs/{org}/blocks"],listForAuthenticatedUser:["GET /user/orgs"],listForUser:["GET /users/{username}/orgs"],listInvitationTeams:["GET /orgs/{org}/invitations/{invitation_id}/teams"],listMembers:["GET /orgs/{org}/members"],listMembershipsForAuthenticatedUser:["GET /user/memberships/orgs"],listOutsideCollaborators:["GET /orgs/{org}/outside_collaborators"],listPendingInvitations:["GET /orgs/{org}/invitations"],listPublicMembers:["GET /orgs/{org}/public_members"],listWebhooks:["GET /orgs/{org}/hooks"],pingWebhook:["POST /orgs/{org}/hooks/{hook_id}/pings"],removeMember:["DELETE /orgs/{org}/members/{username}"],removeMembershipForUser:["DELETE /orgs/{org}/memberships/{username}"],removeOutsideCollaborator:["DELETE /orgs/{org}/outside_collaborators/{username}"],removePublicMembershipForAuthenticatedUser:["DELETE /orgs/{org}/public_members/{username}"],setMembershipForUser:["PUT /orgs/{org}/memberships/{username}"],setPublicMembershipForAuthenticatedUser:["PUT /orgs/{org}/public_members/{username}"],unblockUser:["DELETE /orgs/{org}/blocks/{username}"],update:["PATCH /orgs/{org}"],updateMembershipForAuthenticatedUser:["PATCH /user/memberships/orgs/{org}"],updateWebhook:["PATCH /orgs/{org}/hooks/{hook_id}"]},projects:{addCollaborator:["PUT /projects/{project_id}/collaborators/{username}",{mediaType:{previews:["inertia"]}}],createCard:["POST /projects/columns/{column_id}/cards",{mediaType:{previews:["inertia"]}}],createColumn:["POST /projects/{project_id}/columns",{mediaType:{previews:["inertia"]}}],createForAuthenticatedUser:["POST /user/projects",{mediaType:{previews:["inertia"]}}],createForOrg:["POST /orgs/{org}/projects",{mediaType:{previews:["inertia"]}}],createForRepo:["POST /repos/{owner}/{repo}/projects",{mediaType:{previews:["inertia"]}}],delete:["DELETE /projects/{project_id}",{mediaType:{previews:["inertia"]}}],deleteCard:["DELETE /projects/columns/cards/{card_id}",{mediaType:{previews:["inertia"]}}],deleteColumn:["DELETE /projects/columns/{column_id}",{mediaType:{previews:["inertia"]}}],get:["GET /projects/{project_id}",{mediaType:{previews:["inertia"]}}],getCard:["GET /projects/columns/cards/{card_id}",{mediaType:{previews:["inertia"]}}],getColumn:["GET /projects/columns/{column_id}",{mediaType:{previews:["inertia"]}}],getPermissionForUser:["GET /projects/{project_id}/collaborators/{username}/permission",{mediaType:{previews:["inertia"]}}],listCards:["GET /projects/columns/{column_id}/cards",{mediaType:{previews:["inertia"]}}],listCollaborators:["GET /projects/{project_id}/collaborators",{mediaType:{previews:["inertia"]}}],listColumns:["GET /projects/{project_id}/columns",{mediaType:{previews:["inertia"]}}],listForOrg:["GET /orgs/{org}/projects",{mediaType:{previews:["inertia"]}}],listForRepo:["GET /repos/{owner}/{repo}/projects",{mediaType:{previews:["inertia"]}}],listForUser:["GET /users/{username}/projects",{mediaType:{previews:["inertia"]}}],moveCard:["POST /projects/columns/cards/{card_id}/moves",{mediaType:{previews:["inertia"]}}],moveColumn:["POST /projects/columns/{column_id}/moves",{mediaType:{previews:["inertia"]}}],removeCollaborator:["DELETE /projects/{project_id}/collaborators/{username}",{mediaType:{previews:["inertia"]}}],update:["PATCH /projects/{project_id}",{mediaType:{previews:["inertia"]}}],updateCard:["PATCH /projects/columns/cards/{card_id}",{mediaType:{previews:["inertia"]}}],updateColumn:["PATCH /projects/columns/{column_id}",{mediaType:{previews:["inertia"]}}]},pulls:{checkIfMerged:["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],create:["POST /repos/{owner}/{repo}/pulls"],createReplyForReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"],createReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],createReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"],deletePendingReview:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],deleteReviewComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"],dismissReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"],get:["GET /repos/{owner}/{repo}/pulls/{pull_number}"],getReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],getReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"],list:["GET /repos/{owner}/{repo}/pulls"],listCommentsForReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"],listCommits:["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"],listFiles:["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"],listRequestedReviewers:["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],listReviewComments:["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"],listReviewCommentsForRepo:["GET /repos/{owner}/{repo}/pulls/comments"],listReviews:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],merge:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"],removeRequestedReviewers:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],requestReviewers:["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],submitReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"],update:["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"],updateBranch:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch",{mediaType:{previews:["lydian"]}}],updateReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],updateReviewComment:["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"]},rateLimit:{get:["GET /rate_limit"]},reactions:{createForCommitComment:["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions",{mediaType:{previews:["squirrel-girl"]}}],createForIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions",{mediaType:{previews:["squirrel-girl"]}}],createForIssueComment:["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions",{mediaType:{previews:["squirrel-girl"]}}],createForPullRequestReviewComment:["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions",{mediaType:{previews:["squirrel-girl"]}}],createForTeamDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions",{mediaType:{previews:["squirrel-girl"]}}],createForTeamDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions",{mediaType:{previews:["squirrel-girl"]}}],deleteForCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}",{mediaType:{previews:["squirrel-girl"]}}],deleteForIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}",{mediaType:{previews:["squirrel-girl"]}}],deleteForIssueComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}",{mediaType:{previews:["squirrel-girl"]}}],deleteForPullRequestComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}",{mediaType:{previews:["squirrel-girl"]}}],deleteForTeamDiscussion:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}",{mediaType:{previews:["squirrel-girl"]}}],deleteForTeamDiscussionComment:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}",{mediaType:{previews:["squirrel-girl"]}}],deleteLegacy:["DELETE /reactions/{reaction_id}",{mediaType:{previews:["squirrel-girl"]}},{deprecated:"octokit.reactions.deleteLegacy() is deprecated, see https://developer.github.com/v3/reactions/#delete-a-reaction-legacy"}],listForCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions",{mediaType:{previews:["squirrel-girl"]}}],listForIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions",{mediaType:{previews:["squirrel-girl"]}}],listForIssueComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions",{mediaType:{previews:["squirrel-girl"]}}],listForPullRequestReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions",{mediaType:{previews:["squirrel-girl"]}}],listForTeamDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions",{mediaType:{previews:["squirrel-girl"]}}],listForTeamDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions",{mediaType:{previews:["squirrel-girl"]}}]},repos:{acceptInvitation:["PATCH /user/repository_invitations/{invitation_id}"],addAppAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],addCollaborator:["PUT /repos/{owner}/{repo}/collaborators/{username}"],addStatusCheckContexts:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],addTeamAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],addUserAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],checkVulnerabilityAlerts:["GET /repos/{owner}/{repo}/vulnerability-alerts",{mediaType:{previews:["dorian"]}}],compareCommits:["GET /repos/{owner}/{repo}/compare/{base}...{head}"],createCommitComment:["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"],createCommitSignatureProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures",{mediaType:{previews:["zzzax"]}}],createCommitStatus:["POST /repos/{owner}/{repo}/statuses/{sha}"],createDeployKey:["POST /repos/{owner}/{repo}/keys"],createDeployment:["POST /repos/{owner}/{repo}/deployments"],createDeploymentStatus:["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],createDispatchEvent:["POST /repos/{owner}/{repo}/dispatches"],createForAuthenticatedUser:["POST /user/repos"],createFork:["POST /repos/{owner}/{repo}/forks"],createInOrg:["POST /orgs/{org}/repos"],createOrUpdateFileContents:["PUT /repos/{owner}/{repo}/contents/{path}"],createPagesSite:["POST /repos/{owner}/{repo}/pages",{mediaType:{previews:["switcheroo"]}}],createRelease:["POST /repos/{owner}/{repo}/releases"],createUsingTemplate:["POST /repos/{template_owner}/{template_repo}/generate",{mediaType:{previews:["baptiste"]}}],createWebhook:["POST /repos/{owner}/{repo}/hooks"],declineInvitation:["DELETE /user/repository_invitations/{invitation_id}"],delete:["DELETE /repos/{owner}/{repo}"],deleteAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],deleteAdminBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],deleteBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"],deleteCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],deleteCommitSignatureProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures",{mediaType:{previews:["zzzax"]}}],deleteDeployKey:["DELETE /repos/{owner}/{repo}/keys/{key_id}"],deleteDeployment:["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],deleteFile:["DELETE /repos/{owner}/{repo}/contents/{path}"],deleteInvitation:["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],deletePagesSite:["DELETE /repos/{owner}/{repo}/pages",{mediaType:{previews:["switcheroo"]}}],deletePullRequestReviewProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],deleteRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}"],deleteReleaseAsset:["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"],deleteWebhook:["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],disableAutomatedSecurityFixes:["DELETE /repos/{owner}/{repo}/automated-security-fixes",{mediaType:{previews:["london"]}}],disableVulnerabilityAlerts:["DELETE /repos/{owner}/{repo}/vulnerability-alerts",{mediaType:{previews:["dorian"]}}],downloadArchive:["GET /repos/{owner}/{repo}/{archive_format}/{ref}"],enableAutomatedSecurityFixes:["PUT /repos/{owner}/{repo}/automated-security-fixes",{mediaType:{previews:["london"]}}],enableVulnerabilityAlerts:["PUT /repos/{owner}/{repo}/vulnerability-alerts",{mediaType:{previews:["dorian"]}}],get:["GET /repos/{owner}/{repo}"],getAccessRestrictions:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],getAdminBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],getAllStatusCheckContexts:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"],getAllTopics:["GET /repos/{owner}/{repo}/topics",{mediaType:{previews:["mercy"]}}],getAppsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"],getBranch:["GET /repos/{owner}/{repo}/branches/{branch}"],getBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection"],getClones:["GET /repos/{owner}/{repo}/traffic/clones"],getCodeFrequencyStats:["GET /repos/{owner}/{repo}/stats/code_frequency"],getCollaboratorPermissionLevel:["GET /repos/{owner}/{repo}/collaborators/{username}/permission"],getCombinedStatusForRef:["GET /repos/{owner}/{repo}/commits/{ref}/status"],getCommit:["GET /repos/{owner}/{repo}/commits/{ref}"],getCommitActivityStats:["GET /repos/{owner}/{repo}/stats/commit_activity"],getCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}"],getCommitSignatureProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures",{mediaType:{previews:["zzzax"]}}],getCommunityProfileMetrics:["GET /repos/{owner}/{repo}/community/profile",{mediaType:{previews:["black-panther"]}}],getContent:["GET /repos/{owner}/{repo}/contents/{path}"],getContributorsStats:["GET /repos/{owner}/{repo}/stats/contributors"],getDeployKey:["GET /repos/{owner}/{repo}/keys/{key_id}"],getDeployment:["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],getDeploymentStatus:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"],getLatestPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/latest"],getLatestRelease:["GET /repos/{owner}/{repo}/releases/latest"],getPages:["GET /repos/{owner}/{repo}/pages"],getPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],getParticipationStats:["GET /repos/{owner}/{repo}/stats/participation"],getPullRequestReviewProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],getPunchCardStats:["GET /repos/{owner}/{repo}/stats/punch_card"],getReadme:["GET /repos/{owner}/{repo}/readme"],getRelease:["GET /repos/{owner}/{repo}/releases/{release_id}"],getReleaseAsset:["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"],getReleaseByTag:["GET /repos/{owner}/{repo}/releases/tags/{tag}"],getStatusChecksProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],getTeamsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"],getTopPaths:["GET /repos/{owner}/{repo}/traffic/popular/paths"],getTopReferrers:["GET /repos/{owner}/{repo}/traffic/popular/referrers"],getUsersWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"],getViews:["GET /repos/{owner}/{repo}/traffic/views"],getWebhook:["GET /repos/{owner}/{repo}/hooks/{hook_id}"],listBranches:["GET /repos/{owner}/{repo}/branches"],listBranchesForHeadCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head",{mediaType:{previews:["groot"]}}],listCollaborators:["GET /repos/{owner}/{repo}/collaborators"],listCommentsForCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"],listCommitCommentsForRepo:["GET /repos/{owner}/{repo}/comments"],listCommitStatusesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/statuses"],listCommits:["GET /repos/{owner}/{repo}/commits"],listContributors:["GET /repos/{owner}/{repo}/contributors"],listDeployKeys:["GET /repos/{owner}/{repo}/keys"],listDeploymentStatuses:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],listDeployments:["GET /repos/{owner}/{repo}/deployments"],listForAuthenticatedUser:["GET /user/repos"],listForOrg:["GET /orgs/{org}/repos"],listForUser:["GET /users/{username}/repos"],listForks:["GET /repos/{owner}/{repo}/forks"],listInvitations:["GET /repos/{owner}/{repo}/invitations"],listInvitationsForAuthenticatedUser:["GET /user/repository_invitations"],listLanguages:["GET /repos/{owner}/{repo}/languages"],listPagesBuilds:["GET /repos/{owner}/{repo}/pages/builds"],listPublic:["GET /repositories"],listPullRequestsAssociatedWithCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls",{mediaType:{previews:["groot"]}}],listReleaseAssets:["GET /repos/{owner}/{repo}/releases/{release_id}/assets"],listReleases:["GET /repos/{owner}/{repo}/releases"],listTags:["GET /repos/{owner}/{repo}/tags"],listTeams:["GET /repos/{owner}/{repo}/teams"],listWebhooks:["GET /repos/{owner}/{repo}/hooks"],merge:["POST /repos/{owner}/{repo}/merges"],pingWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],removeAppAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],removeCollaborator:["DELETE /repos/{owner}/{repo}/collaborators/{username}"],removeStatusCheckContexts:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],removeStatusCheckProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],removeTeamAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],removeUserAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],replaceAllTopics:["PUT /repos/{owner}/{repo}/topics",{mediaType:{previews:["mercy"]}}],requestPagesBuild:["POST /repos/{owner}/{repo}/pages/builds"],setAdminBranchProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],setAppAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],setStatusCheckContexts:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],setTeamAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],setUserAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],testPushWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"],transfer:["POST /repos/{owner}/{repo}/transfer"],update:["PATCH /repos/{owner}/{repo}"],updateBranchProtection:["PUT /repos/{owner}/{repo}/branches/{branch}/protection"],updateCommitComment:["PATCH /repos/{owner}/{repo}/comments/{comment_id}"],updateInformationAboutPagesSite:["PUT /repos/{owner}/{repo}/pages"],updateInvitation:["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"],updatePullRequestReviewProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],updateRelease:["PATCH /repos/{owner}/{repo}/releases/{release_id}"],updateReleaseAsset:["PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}"],updateStatusCheckPotection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],updateWebhook:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],uploadReleaseAsset:["POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}",{baseUrl:"https://uploads.github.com"}]},search:{code:["GET /search/code"],commits:["GET /search/commits",{mediaType:{previews:["cloak"]}}],issuesAndPullRequests:["GET /search/issues"],labels:["GET /search/labels"],repos:["GET /search/repositories"],topics:["GET /search/topics",{mediaType:{previews:["mercy"]}}],users:["GET /search/users"]},teams:{addOrUpdateMembershipForUserInOrg:["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],addOrUpdateProjectPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}",{mediaType:{previews:["inertia"]}}],addOrUpdateRepoPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],checkPermissionsForProjectInOrg:["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}",{mediaType:{previews:["inertia"]}}],checkPermissionsForRepoInOrg:["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],create:["POST /orgs/{org}/teams"],createDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],createDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions"],deleteDiscussionCommentInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],deleteDiscussionInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],deleteInOrg:["DELETE /orgs/{org}/teams/{team_slug}"],getByName:["GET /orgs/{org}/teams/{team_slug}"],getDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],getDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],getMembershipForUserInOrg:["GET /orgs/{org}/teams/{team_slug}/memberships/{username}"],list:["GET /orgs/{org}/teams"],listChildInOrg:["GET /orgs/{org}/teams/{team_slug}/teams"],listDiscussionCommentsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],listDiscussionsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions"],listForAuthenticatedUser:["GET /user/teams"],listMembersInOrg:["GET /orgs/{org}/teams/{team_slug}/members"],listPendingInvitationsInOrg:["GET /orgs/{org}/teams/{team_slug}/invitations"],listProjectsInOrg:["GET /orgs/{org}/teams/{team_slug}/projects",{mediaType:{previews:["inertia"]}}],listReposInOrg:["GET /orgs/{org}/teams/{team_slug}/repos"],removeMembershipForUserInOrg:["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],removeProjectInOrg:["DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"],removeRepoInOrg:["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],updateDiscussionCommentInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],updateDiscussionInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],updateInOrg:["PATCH /orgs/{org}/teams/{team_slug}"]},users:{addEmailForAuthenticated:["POST /user/emails"],block:["PUT /user/blocks/{username}"],checkBlocked:["GET /user/blocks/{username}"],checkFollowingForUser:["GET /users/{username}/following/{target_user}"],checkPersonIsFollowedByAuthenticated:["GET /user/following/{username}"],createGpgKeyForAuthenticated:["POST /user/gpg_keys"],createPublicSshKeyForAuthenticated:["POST /user/keys"],deleteEmailForAuthenticated:["DELETE /user/emails"],deleteGpgKeyForAuthenticated:["DELETE /user/gpg_keys/{gpg_key_id}"],deletePublicSshKeyForAuthenticated:["DELETE /user/keys/{key_id}"],follow:["PUT /user/following/{username}"],getAuthenticated:["GET /user"],getByUsername:["GET /users/{username}"],getContextForUser:["GET /users/{username}/hovercard"],getGpgKeyForAuthenticated:["GET /user/gpg_keys/{gpg_key_id}"],getPublicSshKeyForAuthenticated:["GET /user/keys/{key_id}"],list:["GET /users"],listBlockedByAuthenticated:["GET /user/blocks"],listEmailsForAuthenticated:["GET /user/emails"],listFollowedByAuthenticated:["GET /user/following"],listFollowersForAuthenticatedUser:["GET /user/followers"],listFollowersForUser:["GET /users/{username}/followers"],listFollowingForUser:["GET /users/{username}/following"],listGpgKeysForAuthenticated:["GET /user/gpg_keys"],listGpgKeysForUser:["GET /users/{username}/gpg_keys"],listPublicEmailsForAuthenticated:["GET /user/public_emails"],listPublicKeysForUser:["GET /users/{username}/keys"],listPublicSshKeysForAuthenticated:["GET /user/keys"],setPrimaryEmailVisibilityForAuthenticated:["PATCH /user/email/visibility"],unblock:["DELETE /user/blocks/{username}"],unfollow:["DELETE /user/following/{username}"],updateAuthenticated:["PATCH /user"]}};const n="4.2.0";function endpointsToMethods(e,t){const r={};for(const[n,i]of Object.entries(t)){for(const[t,o]of Object.entries(i)){const[i,s,a]=o;const[l,c]=i.split(/ /);const u=Object.assign({method:l,url:c},s);if(!r[n]){r[n]={}}const d=r[n];if(a){d[t]=decorate(e,n,t,u,a);continue}d[t]=e.request.defaults(u)}}return r}function decorate(e,t,r,n,i){const o=e.request.defaults(n);function withDecorations(...n){let s=o.endpoint.merge(...n);if(i.mapToData){s=Object.assign({},s,{data:s[i.mapToData],[i.mapToData]:undefined});return o(s)}if(i.renamed){const[n,o]=i.renamed;e.log.warn(`octokit.${t}.${r}() has been renamed to octokit.${n}.${o}()`)}if(i.deprecated){e.log.warn(i.deprecated)}if(i.renamedParameters){const s=o.endpoint.merge(...n);for(const[n,o]of Object.entries(i.renamedParameters)){if(n in s){e.log.warn(`"${n}" parameter is deprecated for "octokit.${t}.${r}()". Use "${o}" instead`);if(!(o in s)){s[o]=s[n]}delete s[n]}}return o(s)}return o(...n)}return Object.assign(withDecorations,o)}function restEndpointMethods(e){return endpointsToMethods(e,r)}restEndpointMethods.VERSION=n;t.restEndpointMethods=restEndpointMethods},48364:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=r(86649);var i=_interopDefault(r(86343));const o=i(e=>console.warn(e));class RequestError extends Error{constructor(e,t,r){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="HttpError";this.status=t;Object.defineProperty(this,"code",{get(){o(new n.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));return t}});this.headers=r.headers||{};const i=Object.assign({},r.request);if(r.request.headers.authorization){i.headers=Object.assign({},r.request.headers,{authorization:r.request.headers.authorization.replace(/ .*$/," [REDACTED]")})}i.url=i.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=i}}t.RequestError=RequestError},48826:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=r(70412);var i=r(1857);var o=r(80641);var s=_interopDefault(r(22434));var a=r(48364);const l="5.4.9";function getBufferResponse(e){return e.arrayBuffer()}function fetchWrapper(e){if(o.isPlainObject(e.body)||Array.isArray(e.body)){e.body=JSON.stringify(e.body)}let t={};let r;let n;const i=e.request&&e.request.fetch||s;return i(e.url,Object.assign({method:e.method,body:e.body,headers:e.headers,redirect:e.redirect},e.request)).then(i=>{n=i.url;r=i.status;for(const e of i.headers){t[e[0]]=e[1]}if(r===204||r===205){return}if(e.method==="HEAD"){if(r<400){return}throw new a.RequestError(i.statusText,r,{headers:t,request:e})}if(r===304){throw new a.RequestError("Not modified",r,{headers:t,request:e})}if(r>=400){return i.text().then(n=>{const i=new a.RequestError(n,r,{headers:t,request:e});try{let e=JSON.parse(i.message);Object.assign(i,e);let t=e.errors;i.message=i.message+": "+t.map(JSON.stringify).join(", ")}catch(e){}throw i})}const o=i.headers.get("content-type");if(/application\/json/.test(o)){return i.json()}if(!o||/^text\/|charset=utf-8$/.test(o)){return i.text()}return getBufferResponse(i)}).then(e=>{return{status:r,url:n,headers:t,data:e}}).catch(r=>{if(r instanceof a.RequestError){throw r}throw new a.RequestError(r.message,500,{headers:t,request:e})})}function withDefaults(e,t){const r=e.defaults(t);const n=function(e,t){const n=r.merge(e,t);if(!n.request||!n.request.hook){return fetchWrapper(r.parse(n))}const i=(e,t)=>{return fetchWrapper(r.parse(r.merge(e,t)))};Object.assign(i,{endpoint:r,defaults:withDefaults.bind(null,r)});return n.request.hook(i,n)};return Object.assign(n,{endpoint:r,defaults:withDefaults.bind(null,r)})}const c=withDefaults(n.endpoint,{headers:{"user-agent":`octokit-request.js/${l} ${i.getUserAgent()}`}});t.request=c},67208:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};const i=r(28614);const o=n(r(2929));function isAgentBase(e){return Boolean(e)&&typeof e.addRequest==="function"}function isHttpAgent(e){return Boolean(e)&&typeof e.addRequest==="function"}function isSecureEndpoint(){const{stack:e}=new Error;if(typeof e!=="string")return false;return e.split("\n").some(e=>e.indexOf("(https.js:")!==-1)}function createAgent(e,t){return new createAgent.Agent(e,t)}(function(e){class Agent extends i.EventEmitter{constructor(e,t){super();this.promisifiedCallback=undefined;let r=t;if(typeof e==="function"){this.callback=e}else if(e){r=e}this.timeout=null;if(r&&typeof r.timeout==="number"){this.timeout=r.timeout}this.options=r||{};this.maxFreeSockets=1;this.maxSockets=1;this.sockets=[];this.requests=[]}get defaultPort(){if(typeof this.explicitDefaultPort==="number"){return this.explicitDefaultPort}else{return isSecureEndpoint()?443:80}}set defaultPort(e){this.explicitDefaultPort=e}get protocol(){if(typeof this.explicitProtocol==="string"){return this.explicitProtocol}else{return isSecureEndpoint()?"https:":"http:"}}set protocol(e){this.explicitProtocol=e}callback(e,t,r){throw new Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(e,t){const r=Object.assign({},t);if(typeof r.secureEndpoint!=="boolean"){r.secureEndpoint=isSecureEndpoint()}if(r.host==null){r.host="localhost"}if(r.port==null){r.port=r.secureEndpoint?443:80}const n=Object.assign(Object.assign({},this.options),r);if(n.host&&n.path){delete n.path}delete n.agent;delete n.hostname;delete n._defaultAgent;delete n.defaultPort;delete n.createConnection;e._last=true;e.shouldKeepAlive=false;let i=false;let s=null;const a=this.timeout;const l=this.freeSocket;function onerror(t){if(e._hadError)return;e.emit("error",t);e._hadError=true}function ontimeout(){s=null;i=true;const e=new Error(`A "socket" was not created for HTTP request before ${a}ms`);e.code="ETIMEOUT";onerror(e)}function callbackError(e){if(i)return;if(s!==null){clearTimeout(s);s=null}onerror(e)}function onsocket(t){let r;function onfree(){l(r,n)}if(i)return;if(s!=null){clearTimeout(s);s=null}if(isAgentBase(t)||isHttpAgent(t)){t.addRequest(e,n);return}if(t){r=t;r.on("free",onfree);e.onSocket(r);return}const o=new Error(`no Duplex stream was returned to agent-base for \`${e.method} ${e.path}\``);onerror(o)}if(typeof this.callback!=="function"){onerror(new Error("`callback` is not defined"));return}if(!this.promisifiedCallback){if(this.callback.length>=3){this.promisifiedCallback=o.default(this.callback)}else{this.promisifiedCallback=this.callback}}if(typeof a==="number"&&a>0){s=setTimeout(ontimeout,a)}if("port"in n&&typeof n.port!=="number"){n.port=Number(n.port)}try{Promise.resolve(this.promisifiedCallback(e,n)).then(onsocket,callbackError)}catch(e){Promise.reject(e).catch(callbackError)}}freeSocket(e,t){e.destroy()}destroy(){}}e.Agent=Agent})(createAgent||(createAgent={}));createAgent.prototype=createAgent.Agent.prototype;e.exports=createAgent},2929:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function promisify(e){return function(t,r){return new Promise((n,i)=>{e.call(this,t,r,(e,t)=>{if(e){i(e)}else{n(t)}})})}}t.default=promisify},2390:(e,t,r)=>{e.exports=r(64579)},38007:(e,t,r)=>{"use strict";var n=r(19520);var i=r(29801);var o=r(92074);var s=r(87481);var a=r(98605);var l=r(57211);var c=r(75955).http;var u=r(75955).https;var d=r(78835);var p=r(78761);var f=r(35131);var h=r(3034);var m=r(95261);var g=/https:?/;e.exports=function httpAdapter(e){return new Promise(function dispatchHttpRequest(t,r){var y=function resolve(e){t(e)};var v=function reject(e){r(e)};var b=e.data;var S=e.headers;if(!S["User-Agent"]&&!S["user-agent"]){S["User-Agent"]="axios/"+f.version}if(b&&!n.isStream(b)){if(Buffer.isBuffer(b)){}else if(n.isArrayBuffer(b)){b=Buffer.from(new Uint8Array(b))}else if(n.isString(b)){b=Buffer.from(b,"utf-8")}else{return v(h("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",e))}S["Content-Length"]=b.length}var w=undefined;if(e.auth){var x=e.auth.username||"";var C=e.auth.password||"";w=x+":"+C}var k=o(e.baseURL,e.url);var T=d.parse(k);var E=T.protocol||"http:";if(!w&&T.auth){var _=T.auth.split(":");var O=_[0]||"";var A=_[1]||"";w=O+":"+A}if(w){delete S.Authorization}var P=g.test(E);var z=P?e.httpsAgent:e.httpAgent;var R={path:s(T.path,e.params,e.paramsSerializer).replace(/^\?/,""),method:e.method.toUpperCase(),headers:S,agent:z,agents:{http:e.httpAgent,https:e.httpsAgent},auth:w};if(e.socketPath){R.socketPath=e.socketPath}else{R.hostname=T.hostname;R.port=T.port}var L=e.proxy;if(!L&&L!==false){var M=E.slice(0,-1)+"_proxy";var W=process.env[M]||process.env[M.toUpperCase()];if(W){var B=d.parse(W);var F=process.env.no_proxy||process.env.NO_PROXY;var q=true;if(F){var D=F.split(",").map(function trim(e){return e.trim()});q=!D.some(function proxyMatch(e){if(!e){return false}if(e==="*"){return true}if(e[0]==="."&&T.hostname.substr(T.hostname.length-e.length)===e){return true}return T.hostname===e})}if(q){L={host:B.hostname,port:B.port};if(B.auth){var I=B.auth.split(":");L.auth={username:I[0],password:I[1]}}}}}if(L){R.hostname=L.host;R.host=L.host;R.headers.host=T.hostname+(T.port?":"+T.port:"");R.port=L.port;R.path=E+"//"+T.hostname+(T.port?":"+T.port:"")+R.path;if(L.auth){var G=Buffer.from(L.auth.username+":"+L.auth.password,"utf8").toString("base64");R.headers["Proxy-Authorization"]="Basic "+G}}var j;var N=P&&(L?g.test(L.protocol):true);if(e.transport){j=e.transport}else if(e.maxRedirects===0){j=N?l:a}else{if(e.maxRedirects){R.maxRedirects=e.maxRedirects}j=N?u:c}if(e.maxBodyLength>-1){R.maxBodyLength=e.maxBodyLength}var U=j.request(R,function handleResponse(t){if(U.aborted)return;var r=t;var o=t.req||U;if(t.statusCode!==204&&o.method!=="HEAD"&&e.decompress!==false){switch(t.headers["content-encoding"]){case"gzip":case"compress":case"deflate":r=r.pipe(p.createUnzip());delete t.headers["content-encoding"];break}}var s={status:t.statusCode,statusText:t.statusMessage,headers:t.headers,config:e,request:o};if(e.responseType==="stream"){s.data=r;i(y,v,s)}else{var a=[];r.on("data",function handleStreamData(t){a.push(t);if(e.maxContentLength>-1&&Buffer.concat(a).length>e.maxContentLength){r.destroy();v(h("maxContentLength size of "+e.maxContentLength+" exceeded",e,null,o))}});r.on("error",function handleStreamError(t){if(U.aborted)return;v(m(t,e,null,o))});r.on("end",function handleStreamEnd(){var t=Buffer.concat(a);if(e.responseType!=="arraybuffer"){t=t.toString(e.responseEncoding);if(!e.responseEncoding||e.responseEncoding==="utf8"){t=n.stripBOM(t)}}s.data=t;i(y,v,s)})}});U.on("error",function handleRequestError(t){if(U.aborted&&t.code!=="ERR_FR_TOO_MANY_REDIRECTS")return;v(m(t,e,null,U))});if(e.timeout){U.setTimeout(e.timeout,function handleRequestTimeout(){U.abort();v(h("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",U))})}if(e.cancelToken){e.cancelToken.promise.then(function onCanceled(e){if(U.aborted)return;U.abort();v(e)})}if(n.isStream(b)){b.on("error",function handleStreamError(t){v(m(t,e,null,U))}).pipe(U)}else{U.end(b)}})}},63500:(e,t,r)=>{"use strict";var n=r(19520);var i=r(29801);var o=r(47536);var s=r(87481);var a=r(92074);var l=r(77912);var c=r(11682);var u=r(3034);e.exports=function xhrAdapter(e){return new Promise(function dispatchXhrRequest(t,r){var d=e.data;var p=e.headers;if(n.isFormData(d)){delete p["Content-Type"]}if((n.isBlob(d)||n.isFile(d))&&d.type){delete p["Content-Type"]}var f=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"";var m=unescape(encodeURIComponent(e.auth.password))||"";p.Authorization="Basic "+btoa(h+":"+m)}var g=a(e.baseURL,e.url);f.open(e.method.toUpperCase(),s(g,e.params,e.paramsSerializer),true);f.timeout=e.timeout;f.onreadystatechange=function handleLoad(){if(!f||f.readyState!==4){return}if(f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)){return}var n="getAllResponseHeaders"in f?l(f.getAllResponseHeaders()):null;var o=!e.responseType||e.responseType==="text"?f.responseText:f.response;var s={data:o,status:f.status,statusText:f.statusText,headers:n,config:e,request:f};i(t,r,s);f=null};f.onabort=function handleAbort(){if(!f){return}r(u("Request aborted",e,"ECONNABORTED",f));f=null};f.onerror=function handleError(){r(u("Network Error",e,null,f));f=null};f.ontimeout=function handleTimeout(){var t="timeout of "+e.timeout+"ms exceeded";if(e.timeoutErrorMessage){t=e.timeoutErrorMessage}r(u(t,e,"ECONNABORTED",f));f=null};if(n.isStandardBrowserEnv()){var y=(e.withCredentials||c(g))&&e.xsrfCookieName?o.read(e.xsrfCookieName):undefined;if(y){p[e.xsrfHeaderName]=y}}if("setRequestHeader"in f){n.forEach(p,function setRequestHeader(e,t){if(typeof d==="undefined"&&t.toLowerCase()==="content-type"){delete p[t]}else{f.setRequestHeader(t,e)}})}if(!n.isUndefined(e.withCredentials)){f.withCredentials=!!e.withCredentials}if(e.responseType){try{f.responseType=e.responseType}catch(t){if(e.responseType!=="json"){throw t}}}if(typeof e.onDownloadProgress==="function"){f.addEventListener("progress",e.onDownloadProgress)}if(typeof e.onUploadProgress==="function"&&f.upload){f.upload.addEventListener("progress",e.onUploadProgress)}if(e.cancelToken){e.cancelToken.promise.then(function onCanceled(e){if(!f){return}f.abort();r(e);f=null})}if(!d){d=null}f.send(d)})}},64579:(e,t,r)=>{"use strict";var n=r(19520);var i=r(69339);var o=r(10353);var s=r(59807);var a=r(6769);function createInstance(e){var t=new o(e);var r=i(o.prototype.request,t);n.extend(r,o.prototype,t);n.extend(r,t);return r}var l=createInstance(a);l.Axios=o;l.create=function create(e){return createInstance(s(l.defaults,e))};l.Cancel=r(56305);l.CancelToken=r(99576);l.isCancel=r(57822);l.all=function all(e){return Promise.all(e)};l.spread=r(83202);e.exports=l;e.exports.default=l},56305:e=>{"use strict";function Cancel(e){this.message=e}Cancel.prototype.toString=function toString(){return"Cancel"+(this.message?": "+this.message:"")};Cancel.prototype.__CANCEL__=true;e.exports=Cancel},99576:(e,t,r)=>{"use strict";var n=r(56305);function CancelToken(e){if(typeof e!=="function"){throw new TypeError("executor must be a function.")}var t;this.promise=new Promise(function promiseExecutor(e){t=e});var r=this;e(function cancel(e){if(r.reason){return}r.reason=new n(e);t(r.reason)})}CancelToken.prototype.throwIfRequested=function throwIfRequested(){if(this.reason){throw this.reason}};CancelToken.source=function source(){var e;var t=new CancelToken(function executor(t){e=t});return{token:t,cancel:e}};e.exports=CancelToken},57822:e=>{"use strict";e.exports=function isCancel(e){return!!(e&&e.__CANCEL__)}},10353:(e,t,r)=>{"use strict";var n=r(19520);var i=r(87481);var o=r(88030);var s=r(18944);var a=r(59807);function Axios(e){this.defaults=e;this.interceptors={request:new o,response:new o}}Axios.prototype.request=function request(e){if(typeof e==="string"){e=arguments[1]||{};e.url=arguments[0]}else{e=e||{}}e=a(this.defaults,e);if(e.method){e.method=e.method.toLowerCase()}else if(this.defaults.method){e.method=this.defaults.method.toLowerCase()}else{e.method="get"}var t=[s,undefined];var r=Promise.resolve(e);this.interceptors.request.forEach(function unshiftRequestInterceptors(e){t.unshift(e.fulfilled,e.rejected)});this.interceptors.response.forEach(function pushResponseInterceptors(e){t.push(e.fulfilled,e.rejected)});while(t.length){r=r.then(t.shift(),t.shift())}return r};Axios.prototype.getUri=function getUri(e){e=a(this.defaults,e);return i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")};n.forEach(["delete","get","head","options"],function forEachMethodNoData(e){Axios.prototype[e]=function(t,r){return this.request(a(r||{},{method:e,url:t}))}});n.forEach(["post","put","patch"],function forEachMethodWithData(e){Axios.prototype[e]=function(t,r,n){return this.request(a(n||{},{method:e,url:t,data:r}))}});e.exports=Axios},88030:(e,t,r)=>{"use strict";var n=r(19520);function InterceptorManager(){this.handlers=[]}InterceptorManager.prototype.use=function use(e,t){this.handlers.push({fulfilled:e,rejected:t});return this.handlers.length-1};InterceptorManager.prototype.eject=function eject(e){if(this.handlers[e]){this.handlers[e]=null}};InterceptorManager.prototype.forEach=function forEach(e){n.forEach(this.handlers,function forEachHandler(t){if(t!==null){e(t)}})};e.exports=InterceptorManager},92074:(e,t,r)=>{"use strict";var n=r(55470);var i=r(65824);e.exports=function buildFullPath(e,t){if(e&&!n(t)){return i(e,t)}return t}},3034:(e,t,r)=>{"use strict";var n=r(95261);e.exports=function createError(e,t,r,i,o){var s=new Error(e);return n(s,t,r,i,o)}},18944:(e,t,r)=>{"use strict";var n=r(19520);var i=r(62479);var o=r(57822);var s=r(6769);function throwIfCancellationRequested(e){if(e.cancelToken){e.cancelToken.throwIfRequested()}}e.exports=function dispatchRequest(e){throwIfCancellationRequested(e);e.headers=e.headers||{};e.data=i(e.data,e.headers,e.transformRequest);e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers);n.forEach(["delete","get","head","post","put","patch","common"],function cleanHeaderConfig(t){delete e.headers[t]});var t=e.adapter||s.adapter;return t(e).then(function onAdapterResolution(t){throwIfCancellationRequested(e);t.data=i(t.data,t.headers,e.transformResponse);return t},function onAdapterRejection(t){if(!o(t)){throwIfCancellationRequested(e);if(t&&t.response){t.response.data=i(t.response.data,t.response.headers,e.transformResponse)}}return Promise.reject(t)})}},95261:e=>{"use strict";e.exports=function enhanceError(e,t,r,n,i){e.config=t;if(r){e.code=r}e.request=n;e.response=i;e.isAxiosError=true;e.toJSON=function toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}};return e}},59807:(e,t,r)=>{"use strict";var n=r(19520);e.exports=function mergeConfig(e,t){t=t||{};var r={};var i=["url","method","data"];var o=["headers","auth","proxy","params"];var s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"];var a=["validateStatus"];function getMergedValue(e,t){if(n.isPlainObject(e)&&n.isPlainObject(t)){return n.merge(e,t)}else if(n.isPlainObject(t)){return n.merge({},t)}else if(n.isArray(t)){return t.slice()}return t}function mergeDeepProperties(i){if(!n.isUndefined(t[i])){r[i]=getMergedValue(e[i],t[i])}else if(!n.isUndefined(e[i])){r[i]=getMergedValue(undefined,e[i])}}n.forEach(i,function valueFromConfig2(e){if(!n.isUndefined(t[e])){r[e]=getMergedValue(undefined,t[e])}});n.forEach(o,mergeDeepProperties);n.forEach(s,function defaultToConfig2(i){if(!n.isUndefined(t[i])){r[i]=getMergedValue(undefined,t[i])}else if(!n.isUndefined(e[i])){r[i]=getMergedValue(undefined,e[i])}});n.forEach(a,function merge(n){if(n in t){r[n]=getMergedValue(e[n],t[n])}else if(n in e){r[n]=getMergedValue(undefined,e[n])}});var l=i.concat(o).concat(s).concat(a);var c=Object.keys(e).concat(Object.keys(t)).filter(function filterAxiosKeys(e){return l.indexOf(e)===-1});n.forEach(c,mergeDeepProperties);return r}},29801:(e,t,r)=>{"use strict";var n=r(3034);e.exports=function settle(e,t,r){var i=r.config.validateStatus;if(!r.status||!i||i(r.status)){e(r)}else{t(n("Request failed with status code "+r.status,r.config,null,r.request,r))}}},62479:(e,t,r)=>{"use strict";var n=r(19520);e.exports=function transformData(e,t,r){n.forEach(r,function transform(r){e=r(e,t)});return e}},6769:(e,t,r)=>{"use strict";var n=r(19520);var i=r(53293);var o={"Content-Type":"application/x-www-form-urlencoded"};function setContentTypeIfUnset(e,t){if(!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])){e["Content-Type"]=t}}function getDefaultAdapter(){var e;if(typeof XMLHttpRequest!=="undefined"){e=r(63500)}else if(typeof process!=="undefined"&&Object.prototype.toString.call(process)==="[object process]"){e=r(38007)}return e}var s={adapter:getDefaultAdapter(),transformRequest:[function transformRequest(e,t){i(t,"Accept");i(t,"Content-Type");if(n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)){return e}if(n.isArrayBufferView(e)){return e.buffer}if(n.isURLSearchParams(e)){setContentTypeIfUnset(t,"application/x-www-form-urlencoded;charset=utf-8");return e.toString()}if(n.isObject(e)){setContentTypeIfUnset(t,"application/json;charset=utf-8");return JSON.stringify(e)}return e}],transformResponse:[function transformResponse(e){if(typeof e==="string"){try{e=JSON.parse(e)}catch(e){}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function validateStatus(e){return e>=200&&e<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}};n.forEach(["delete","get","head"],function forEachMethodNoData(e){s.headers[e]={}});n.forEach(["post","put","patch"],function forEachMethodWithData(e){s.headers[e]=n.merge(o)});e.exports=s},69339:e=>{"use strict";e.exports=function bind(e,t){return function wrap(){var r=new Array(arguments.length);for(var n=0;n{"use strict";var n=r(19520);function encode(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function buildURL(e,t,r){if(!t){return e}var i;if(r){i=r(t)}else if(n.isURLSearchParams(t)){i=t.toString()}else{var o=[];n.forEach(t,function serialize(e,t){if(e===null||typeof e==="undefined"){return}if(n.isArray(e)){t=t+"[]"}else{e=[e]}n.forEach(e,function parseValue(e){if(n.isDate(e)){e=e.toISOString()}else if(n.isObject(e)){e=JSON.stringify(e)}o.push(encode(t)+"="+encode(e))})});i=o.join("&")}if(i){var s=e.indexOf("#");if(s!==-1){e=e.slice(0,s)}e+=(e.indexOf("?")===-1?"?":"&")+i}return e}},65824:e=>{"use strict";e.exports=function combineURLs(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},47536:(e,t,r)=>{"use strict";var n=r(19520);e.exports=n.isStandardBrowserEnv()?function standardBrowserEnv(){return{write:function write(e,t,r,i,o,s){var a=[];a.push(e+"="+encodeURIComponent(t));if(n.isNumber(r)){a.push("expires="+new Date(r).toGMTString())}if(n.isString(i)){a.push("path="+i)}if(n.isString(o)){a.push("domain="+o)}if(s===true){a.push("secure")}document.cookie=a.join("; ")},read:function read(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function remove(e){this.write(e,"",Date.now()-864e5)}}}():function nonStandardBrowserEnv(){return{write:function write(){},read:function read(){return null},remove:function remove(){}}}()},55470:e=>{"use strict";e.exports=function isAbsoluteURL(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},11682:(e,t,r)=>{"use strict";var n=r(19520);e.exports=n.isStandardBrowserEnv()?function standardBrowserEnv(){var e=/(msie|trident)/i.test(navigator.userAgent);var t=document.createElement("a");var r;function resolveURL(r){var n=r;if(e){t.setAttribute("href",n);n=t.href}t.setAttribute("href",n);return{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}r=resolveURL(window.location.href);return function isURLSameOrigin(e){var t=n.isString(e)?resolveURL(e):e;return t.protocol===r.protocol&&t.host===r.host}}():function nonStandardBrowserEnv(){return function isURLSameOrigin(){return true}}()},53293:(e,t,r)=>{"use strict";var n=r(19520);e.exports=function normalizeHeaderName(e,t){n.forEach(e,function processHeader(r,n){if(n!==t&&n.toUpperCase()===t.toUpperCase()){e[t]=r;delete e[n]}})}},77912:(e,t,r)=>{"use strict";var n=r(19520);var i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function parseHeaders(e){var t={};var r;var o;var s;if(!e){return t}n.forEach(e.split("\n"),function parser(e){s=e.indexOf(":");r=n.trim(e.substr(0,s)).toLowerCase();o=n.trim(e.substr(s+1));if(r){if(t[r]&&i.indexOf(r)>=0){return}if(r==="set-cookie"){t[r]=(t[r]?t[r]:[]).concat([o])}else{t[r]=t[r]?t[r]+", "+o:o}}});return t}},83202:e=>{"use strict";e.exports=function spread(e){return function wrap(t){return e.apply(null,t)}}},19520:(e,t,r)=>{"use strict";var n=r(69339);var i=Object.prototype.toString;function isArray(e){return i.call(e)==="[object Array]"}function isUndefined(e){return typeof e==="undefined"}function isBuffer(e){return e!==null&&!isUndefined(e)&&e.constructor!==null&&!isUndefined(e.constructor)&&typeof e.constructor.isBuffer==="function"&&e.constructor.isBuffer(e)}function isArrayBuffer(e){return i.call(e)==="[object ArrayBuffer]"}function isFormData(e){return typeof FormData!=="undefined"&&e instanceof FormData}function isArrayBufferView(e){var t;if(typeof ArrayBuffer!=="undefined"&&ArrayBuffer.isView){t=ArrayBuffer.isView(e)}else{t=e&&e.buffer&&e.buffer instanceof ArrayBuffer}return t}function isString(e){return typeof e==="string"}function isNumber(e){return typeof e==="number"}function isObject(e){return e!==null&&typeof e==="object"}function isPlainObject(e){if(i.call(e)!=="[object Object]"){return false}var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function isDate(e){return i.call(e)==="[object Date]"}function isFile(e){return i.call(e)==="[object File]"}function isBlob(e){return i.call(e)==="[object Blob]"}function isFunction(e){return i.call(e)==="[object Function]"}function isStream(e){return isObject(e)&&isFunction(e.pipe)}function isURLSearchParams(e){return typeof URLSearchParams!=="undefined"&&e instanceof URLSearchParams}function trim(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function isStandardBrowserEnv(){if(typeof navigator!=="undefined"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")){return false}return typeof window!=="undefined"&&typeof document!=="undefined"}function forEach(e,t){if(e===null||typeof e==="undefined"){return}if(typeof e!=="object"){e=[e]}if(isArray(e)){for(var r=0,n=e.length;r{"use strict";e.exports=balanced;function balanced(e,t,r){if(e instanceof RegExp)e=maybeMatch(e,r);if(t instanceof RegExp)t=maybeMatch(t,r);var n=range(e,t,r);return n&&{start:n[0],end:n[1],pre:r.slice(0,n[0]),body:r.slice(n[0]+e.length,n[1]),post:r.slice(n[1]+t.length)}}function maybeMatch(e,t){var r=t.match(e);return r?r[0]:null}balanced.range=range;function range(e,t,r){var n,i,o,s,a;var l=r.indexOf(e);var c=r.indexOf(t,l+1);var u=l;if(l>=0&&c>0){n=[];o=r.length;while(u>=0&&!a){if(u==l){n.push(u);l=r.indexOf(e,u+1)}else if(n.length==1){a=[n.pop(),c]}else{i=n.pop();if(i=0?l:c}if(n.length){a=[o,s]}}return a}},46401:(e,t,r)=>{var n=r(27798);var i=r(82446);var o=r(16436);var s=Function.bind;var a=s.bind(s);function bindApi(e,t,r){var n=a(o,null).apply(null,r?[t,r]:[t]);e.api={remove:n};e.remove=n;["before","error","after","wrap"].forEach(function(n){var o=r?[t,n,r]:[t,n];e[n]=e.api[n]=a(i,null).apply(null,o)})}function HookSingular(){var e="h";var t={registry:{}};var r=n.bind(null,t,e);bindApi(r,t,e);return r}function HookCollection(){var e={registry:{}};var t=n.bind(null,e);bindApi(t,e);return t}var l=false;function Hook(){if(!l){console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4');l=true}return HookCollection()}Hook.Singular=HookSingular.bind();Hook.Collection=HookCollection.bind();e.exports=Hook;e.exports.Hook=Hook;e.exports.Singular=Hook.Singular;e.exports.Collection=Hook.Collection},82446:e=>{e.exports=addHook;function addHook(e,t,r,n){var i=n;if(!e.registry[r]){e.registry[r]=[]}if(t==="before"){n=function(e,t){return Promise.resolve().then(i.bind(null,t)).then(e.bind(null,t))}}if(t==="after"){n=function(e,t){var r;return Promise.resolve().then(e.bind(null,t)).then(function(e){r=e;return i(r,t)}).then(function(){return r})}}if(t==="error"){n=function(e,t){return Promise.resolve().then(e.bind(null,t)).catch(function(e){return i(e,t)})}}e.registry[r].push({hook:n,orig:i})}},27798:e=>{e.exports=register;function register(e,t,r,n){if(typeof r!=="function"){throw new Error("method for before hook must be a function")}if(!n){n={}}if(Array.isArray(t)){return t.reverse().reduce(function(t,r){return register.bind(null,e,r,t,n)},r)()}return Promise.resolve().then(function(){if(!e.registry[t]){return r(n)}return e.registry[t].reduce(function(e,t){return t.hook.bind(null,e,n)},r)()})}},16436:e=>{e.exports=removeHook;function removeHook(e,t,r){if(!e.registry[t]){return}var n=e.registry[t].map(function(e){return e.orig}).indexOf(r);if(n===-1){return}e.registry[t].splice(n,1)}},66616:(e,t,r)=>{"use strict";const{Buffer:n}=r(64293);const i=Symbol.for("BufferList");function BufferList(e){if(!(this instanceof BufferList)){return new BufferList(e)}BufferList._init.call(this,e)}BufferList._init=function _init(e){Object.defineProperty(this,i,{value:true});this._bufs=[];this.length=0;if(e){this.append(e)}};BufferList.prototype._new=function _new(e){return new BufferList(e)};BufferList.prototype._offset=function _offset(e){if(e===0){return[0,0]}let t=0;for(let r=0;rthis.length||e<0){return undefined}const t=this._offset(e);return this._bufs[t[0]][t[1]]};BufferList.prototype.slice=function slice(e,t){if(typeof e==="number"&&e<0){e+=this.length}if(typeof t==="number"&&t<0){t+=this.length}return this.copy(null,0,e,t)};BufferList.prototype.copy=function copy(e,t,r,i){if(typeof r!=="number"||r<0){r=0}if(typeof i!=="number"||i>this.length){i=this.length}if(r>=this.length){return e||n.alloc(0)}if(i<=0){return e||n.alloc(0)}const copy=!!e;const o=this._offset(r);const s=i-r;let a=s;let l=copy&&t||0;let c=o[1];if(r===0&&i===this.length){if(!copy){return this._bufs.length===1?this._bufs[0]:n.concat(this._bufs,this.length)}for(let t=0;tr){this._bufs[t].copy(e,l,c);l+=r}else{this._bufs[t].copy(e,l,c,c+a);l+=r;break}a-=r;if(c){c=0}}if(e.length>l)return e.slice(0,l);return e};BufferList.prototype.shallowSlice=function shallowSlice(e,t){e=e||0;t=typeof t!=="number"?this.length:t;if(e<0){e+=this.length}if(t<0){t+=this.length}if(e===t){return this._new()}const r=this._offset(e);const n=this._offset(t);const i=this._bufs.slice(r[0],n[0]+1);if(n[1]===0){i.pop()}else{i[i.length-1]=i[i.length-1].slice(0,n[1])}if(r[1]!==0){i[0]=i[0].slice(r[1])}return this._new(i)};BufferList.prototype.toString=function toString(e,t,r){return this.slice(t,r).toString(e)};BufferList.prototype.consume=function consume(e){e=Math.trunc(e);if(Number.isNaN(e)||e<=0)return this;while(this._bufs.length){if(e>=this._bufs[0].length){e-=this._bufs[0].length;this.length-=this._bufs[0].length;this._bufs.shift()}else{this._bufs[0]=this._bufs[0].slice(e);this.length-=e;break}}return this};BufferList.prototype.duplicate=function duplicate(){const e=this._new();for(let t=0;tthis.length?this.length:t}const i=this._offset(t);let o=i[0];let s=i[1];for(;o=e.length){const r=t.indexOf(e,s);if(r!==-1){return this._reverseOffset([o,r])}s=t.length-e.length+1}else{const t=this._reverseOffset([o,s]);if(this._match(t,e)){return t}s++}}s=0}return-1};BufferList.prototype._match=function(e,t){if(this.length-e{"use strict";const n=r(30009).Duplex;const i=r(94835);const o=r(66616);function BufferListStream(e){if(!(this instanceof BufferListStream)){return new BufferListStream(e)}if(typeof e==="function"){this._callback=e;const t=function piper(e){if(this._callback){this._callback(e);this._callback=null}}.bind(this);this.on("pipe",function onPipe(e){e.on("error",t)});this.on("unpipe",function onUnpipe(e){e.removeListener("error",t)});e=null}o._init.call(this,e);n.call(this)}i(BufferListStream,n);Object.assign(BufferListStream.prototype,o.prototype);BufferListStream.prototype._new=function _new(e){return new BufferListStream(e)};BufferListStream.prototype._write=function _write(e,t,r){this._appendBuffer(e);if(typeof r==="function"){r()}};BufferListStream.prototype._read=function _read(e){if(!this.length){return this.push(null)}e=Math.min(e,this.length);this.push(this.slice(0,e));this.consume(e)};BufferListStream.prototype.end=function end(e){n.prototype.end.call(this,e);if(this._callback){this._callback(null,this.slice());this._callback=null}};BufferListStream.prototype._destroy=function _destroy(e,t){this._bufs.length=0;this.length=0;t(e)};BufferListStream.prototype._isBufferList=function _isBufferList(e){return e instanceof BufferListStream||e instanceof o||BufferListStream.isBufferList(e)};BufferListStream.isBufferList=o.isBufferList;e.exports=BufferListStream;e.exports.BufferListStream=BufferListStream;e.exports.BufferList=o},94835:(e,t,r)=>{try{var n=r(31669);if(typeof n.inherits!=="function")throw"";e.exports=n.inherits}catch(t){e.exports=r(72739)}},72739:e=>{if(typeof Object.create==="function"){e.exports=function inherits(e,t){if(t){e.super_=t;e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}})}}}else{e.exports=function inherits(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype;e.prototype=new r;e.prototype.constructor=e}}}},71947:e=>{"use strict";const t={};function createErrorType(e,r,n){if(!n){n=Error}function getMessage(e,t,n){if(typeof r==="string"){return r}else{return r(e,t,n)}}class NodeError extends n{constructor(e,t,r){super(getMessage(e,t,r))}}NodeError.prototype.name=n.name;NodeError.prototype.code=e;t[e]=NodeError}function oneOf(e,t){if(Array.isArray(e)){const r=e.length;e=e.map(e=>String(e));if(r>2){return`one of ${t} ${e.slice(0,r-1).join(", ")}, or `+e[r-1]}else if(r===2){return`one of ${t} ${e[0]} or ${e[1]}`}else{return`of ${t} ${e[0]}`}}else{return`of ${t} ${String(e)}`}}function startsWith(e,t,r){return e.substr(!r||r<0?0:+r,t.length)===t}function endsWith(e,t,r){if(r===undefined||r>e.length){r=e.length}return e.substring(r-t.length,r)===t}function includes(e,t,r){if(typeof r!=="number"){r=0}if(r+t.length>e.length){return false}else{return e.indexOf(t,r)!==-1}}createErrorType("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError);createErrorType("ERR_INVALID_ARG_TYPE",function(e,t,r){let n;if(typeof t==="string"&&startsWith(t,"not ")){n="must not be";t=t.replace(/^not /,"")}else{n="must be"}let i;if(endsWith(e," argument")){i=`The ${e} ${n} ${oneOf(t,"type")}`}else{const r=includes(e,".")?"property":"argument";i=`The "${e}" ${r} ${n} ${oneOf(t,"type")}`}i+=`. Received type ${typeof r}`;return i},TypeError);createErrorType("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");createErrorType("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"});createErrorType("ERR_STREAM_PREMATURE_CLOSE","Premature close");createErrorType("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"});createErrorType("ERR_MULTIPLE_CALLBACK","Callback called multiple times");createErrorType("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end");createErrorType("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);createErrorType("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError);createErrorType("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");e.exports.q=t},18084:(e,t,r)=>{"use strict";var n=Object.keys||function(e){var t=[];for(var r in e){t.push(r)}return t};e.exports=Duplex;var i=r(11864);var o=r(92042);r(94835)(Duplex,i);{var s=n(o.prototype);for(var a=0;a{"use strict";e.exports=PassThrough;var n=r(57173);r(94835)(PassThrough,n);function PassThrough(e){if(!(this instanceof PassThrough))return new PassThrough(e);n.call(this,e)}PassThrough.prototype._transform=function(e,t,r){r(null,e)}},11864:(e,t,r)=>{"use strict";e.exports=Readable;var n;Readable.ReadableState=ReadableState;var i=r(28614).EventEmitter;var o=function EElistenerCount(e,t){return e.listeners(t).length};var s=r(47640);var a=r(64293).Buffer;var l=global.Uint8Array||function(){};function _uint8ArrayToBuffer(e){return a.from(e)}function _isUint8Array(e){return a.isBuffer(e)||e instanceof l}var c=r(31669);var u;if(c&&c.debuglog){u=c.debuglog("stream")}else{u=function debug(){}}var d=r(38568);var p=r(22126);var f=r(14286),h=f.getHighWaterMark;var m=r(71947).q,g=m.ERR_INVALID_ARG_TYPE,y=m.ERR_STREAM_PUSH_AFTER_EOF,v=m.ERR_METHOD_NOT_IMPLEMENTED,b=m.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;var S;var w;var x;r(94835)(Readable,s);var C=p.errorOrDestroy;var k=["error","close","destroy","pause","resume"];function prependListener(e,t,r){if(typeof e.prependListener==="function")return e.prependListener(t,r);if(!e._events||!e._events[t])e.on(t,r);else if(Array.isArray(e._events[t]))e._events[t].unshift(r);else e._events[t]=[r,e._events[t]]}function ReadableState(e,t,i){n=n||r(18084);e=e||{};if(typeof i!=="boolean")i=t instanceof n;this.objectMode=!!e.objectMode;if(i)this.objectMode=this.objectMode||!!e.readableObjectMode;this.highWaterMark=h(this,e,"readableHighWaterMark",i);this.buffer=new d;this.length=0;this.pipes=null;this.pipesCount=0;this.flowing=null;this.ended=false;this.endEmitted=false;this.reading=false;this.sync=true;this.needReadable=false;this.emittedReadable=false;this.readableListening=false;this.resumeScheduled=false;this.paused=true;this.emitClose=e.emitClose!==false;this.autoDestroy=!!e.autoDestroy;this.destroyed=false;this.defaultEncoding=e.defaultEncoding||"utf8";this.awaitDrain=0;this.readingMore=false;this.decoder=null;this.encoding=null;if(e.encoding){if(!S)S=r(84882).s;this.decoder=new S(e.encoding);this.encoding=e.encoding}}function Readable(e){n=n||r(18084);if(!(this instanceof Readable))return new Readable(e);var t=this instanceof n;this._readableState=new ReadableState(e,this,t);this.readable=true;if(e){if(typeof e.read==="function")this._read=e.read;if(typeof e.destroy==="function")this._destroy=e.destroy}s.call(this)}Object.defineProperty(Readable.prototype,"destroyed",{enumerable:false,get:function get(){if(this._readableState===undefined){return false}return this._readableState.destroyed},set:function set(e){if(!this._readableState){return}this._readableState.destroyed=e}});Readable.prototype.destroy=p.destroy;Readable.prototype._undestroy=p.undestroy;Readable.prototype._destroy=function(e,t){t(e)};Readable.prototype.push=function(e,t){var r=this._readableState;var n;if(!r.objectMode){if(typeof e==="string"){t=t||r.defaultEncoding;if(t!==r.encoding){e=a.from(e,t);t=""}n=true}}else{n=true}return readableAddChunk(this,e,t,false,n)};Readable.prototype.unshift=function(e){return readableAddChunk(this,e,null,true,false)};function readableAddChunk(e,t,r,n,i){u("readableAddChunk",t);var o=e._readableState;if(t===null){o.reading=false;onEofChunk(e,o)}else{var s;if(!i)s=chunkInvalid(o,t);if(s){C(e,s)}else if(o.objectMode||t&&t.length>0){if(typeof t!=="string"&&!o.objectMode&&Object.getPrototypeOf(t)!==a.prototype){t=_uint8ArrayToBuffer(t)}if(n){if(o.endEmitted)C(e,new b);else addChunk(e,o,t,true)}else if(o.ended){C(e,new y)}else if(o.destroyed){return false}else{o.reading=false;if(o.decoder&&!r){t=o.decoder.write(t);if(o.objectMode||t.length!==0)addChunk(e,o,t,false);else maybeReadMore(e,o)}else{addChunk(e,o,t,false)}}}else if(!n){o.reading=false;maybeReadMore(e,o)}}return!o.ended&&(o.length=T){e=T}else{e--;e|=e>>>1;e|=e>>>2;e|=e>>>4;e|=e>>>8;e|=e>>>16;e++}return e}function howMuchToRead(e,t){if(e<=0||t.length===0&&t.ended)return 0;if(t.objectMode)return 1;if(e!==e){if(t.flowing&&t.length)return t.buffer.head.data.length;else return t.length}if(e>t.highWaterMark)t.highWaterMark=computeNewHighWaterMark(e);if(e<=t.length)return e;if(!t.ended){t.needReadable=true;return 0}return t.length}Readable.prototype.read=function(e){u("read",e);e=parseInt(e,10);var t=this._readableState;var r=e;if(e!==0)t.emittedReadable=false;if(e===0&&t.needReadable&&((t.highWaterMark!==0?t.length>=t.highWaterMark:t.length>0)||t.ended)){u("read: emitReadable",t.length,t.ended);if(t.length===0&&t.ended)endReadable(this);else emitReadable(this);return null}e=howMuchToRead(e,t);if(e===0&&t.ended){if(t.length===0)endReadable(this);return null}var n=t.needReadable;u("need readable",n);if(t.length===0||t.length-e0)i=fromList(e,t);else i=null;if(i===null){t.needReadable=t.length<=t.highWaterMark;e=0}else{t.length-=e;t.awaitDrain=0}if(t.length===0){if(!t.ended)t.needReadable=true;if(r!==e&&t.ended)endReadable(this)}if(i!==null)this.emit("data",i);return i};function onEofChunk(e,t){u("onEofChunk");if(t.ended)return;if(t.decoder){var r=t.decoder.end();if(r&&r.length){t.buffer.push(r);t.length+=t.objectMode?1:r.length}}t.ended=true;if(t.sync){emitReadable(e)}else{t.needReadable=false;if(!t.emittedReadable){t.emittedReadable=true;emitReadable_(e)}}}function emitReadable(e){var t=e._readableState;u("emitReadable",t.needReadable,t.emittedReadable);t.needReadable=false;if(!t.emittedReadable){u("emitReadable",t.flowing);t.emittedReadable=true;process.nextTick(emitReadable_,e)}}function emitReadable_(e){var t=e._readableState;u("emitReadable_",t.destroyed,t.length,t.ended);if(!t.destroyed&&(t.length||t.ended)){e.emit("readable");t.emittedReadable=false}t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark;flow(e)}function maybeReadMore(e,t){if(!t.readingMore){t.readingMore=true;process.nextTick(maybeReadMore_,e,t)}}function maybeReadMore_(e,t){while(!t.reading&&!t.ended&&(t.length1&&indexOf(n.pipes,e)!==-1)&&!l){u("false write response, pause",n.awaitDrain);n.awaitDrain++}r.pause()}}function onerror(t){u("onerror",t);unpipe();e.removeListener("error",onerror);if(o(e,"error")===0)C(e,t)}prependListener(e,"error",onerror);function onclose(){e.removeListener("finish",onfinish);unpipe()}e.once("close",onclose);function onfinish(){u("onfinish");e.removeListener("close",onclose);unpipe()}e.once("finish",onfinish);function unpipe(){u("unpipe");r.unpipe(e)}e.emit("pipe",r);if(!n.flowing){u("pipe resume");r.resume()}return e};function pipeOnDrain(e){return function pipeOnDrainFunctionResult(){var t=e._readableState;u("pipeOnDrain",t.awaitDrain);if(t.awaitDrain)t.awaitDrain--;if(t.awaitDrain===0&&o(e,"data")){t.flowing=true;flow(e)}}}Readable.prototype.unpipe=function(e){var t=this._readableState;var r={hasUnpiped:false};if(t.pipesCount===0)return this;if(t.pipesCount===1){if(e&&e!==t.pipes)return this;if(!e)e=t.pipes;t.pipes=null;t.pipesCount=0;t.flowing=false;if(e)e.emit("unpipe",this,r);return this}if(!e){var n=t.pipes;var i=t.pipesCount;t.pipes=null;t.pipesCount=0;t.flowing=false;for(var o=0;o0;if(n.flowing!==false)this.resume()}else if(e==="readable"){if(!n.endEmitted&&!n.readableListening){n.readableListening=n.needReadable=true;n.flowing=false;n.emittedReadable=false;u("on readable",n.length,n.reading);if(n.length){emitReadable(this)}else if(!n.reading){process.nextTick(nReadingNextTick,this)}}}return r};Readable.prototype.addListener=Readable.prototype.on;Readable.prototype.removeListener=function(e,t){var r=s.prototype.removeListener.call(this,e,t);if(e==="readable"){process.nextTick(updateReadableListening,this)}return r};Readable.prototype.removeAllListeners=function(e){var t=s.prototype.removeAllListeners.apply(this,arguments);if(e==="readable"||e===undefined){process.nextTick(updateReadableListening,this)}return t};function updateReadableListening(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0;if(t.resumeScheduled&&!t.paused){t.flowing=true}else if(e.listenerCount("data")>0){e.resume()}}function nReadingNextTick(e){u("readable nexttick read 0");e.read(0)}Readable.prototype.resume=function(){var e=this._readableState;if(!e.flowing){u("resume");e.flowing=!e.readableListening;resume(this,e)}e.paused=false;return this};function resume(e,t){if(!t.resumeScheduled){t.resumeScheduled=true;process.nextTick(resume_,e,t)}}function resume_(e,t){u("resume",t.reading);if(!t.reading){e.read(0)}t.resumeScheduled=false;e.emit("resume");flow(e);if(t.flowing&&!t.reading)e.read(0)}Readable.prototype.pause=function(){u("call pause flowing=%j",this._readableState.flowing);if(this._readableState.flowing!==false){u("pause");this._readableState.flowing=false;this.emit("pause")}this._readableState.paused=true;return this};function flow(e){var t=e._readableState;u("flow",t.flowing);while(t.flowing&&e.read()!==null){}}Readable.prototype.wrap=function(e){var t=this;var r=this._readableState;var n=false;e.on("end",function(){u("wrapped end");if(r.decoder&&!r.ended){var e=r.decoder.end();if(e&&e.length)t.push(e)}t.push(null)});e.on("data",function(i){u("wrapped data");if(r.decoder)i=r.decoder.write(i);if(r.objectMode&&(i===null||i===undefined))return;else if(!r.objectMode&&(!i||!i.length))return;var o=t.push(i);if(!o){n=true;e.pause()}});for(var i in e){if(this[i]===undefined&&typeof e[i]==="function"){this[i]=function methodWrap(t){return function methodWrapReturnFunction(){return e[t].apply(e,arguments)}}(i)}}for(var o=0;o=t.length){if(t.decoder)r=t.buffer.join("");else if(t.buffer.length===1)r=t.buffer.first();else r=t.buffer.concat(t.length);t.buffer.clear()}else{r=t.buffer.consume(e,t.decoder)}return r}function endReadable(e){var t=e._readableState;u("endReadable",t.endEmitted);if(!t.endEmitted){t.ended=true;process.nextTick(endReadableNT,t,e)}}function endReadableNT(e,t){u("endReadableNT",e.endEmitted,e.length);if(!e.endEmitted&&e.length===0){e.endEmitted=true;t.readable=false;t.emit("end");if(e.autoDestroy){var r=t._writableState;if(!r||r.autoDestroy&&r.finished){t.destroy()}}}}if(typeof Symbol==="function"){Readable.from=function(e,t){if(x===undefined){x=r(97754)}return x(Readable,e,t)}}function indexOf(e,t){for(var r=0,n=e.length;r{"use strict";e.exports=Transform;var n=r(71947).q,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,s=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=n.ERR_TRANSFORM_WITH_LENGTH_0;var l=r(18084);r(94835)(Transform,l);function afterTransform(e,t){var r=this._transformState;r.transforming=false;var n=r.writecb;if(n===null){return this.emit("error",new o)}r.writechunk=null;r.writecb=null;if(t!=null)this.push(t);n(e);var i=this._readableState;i.reading=false;if(i.needReadable||i.length{"use strict";e.exports=Writable;function WriteReq(e,t,r){this.chunk=e;this.encoding=t;this.callback=r;this.next=null}function CorkedRequest(e){var t=this;this.next=null;this.entry=null;this.finish=function(){onCorkedFinish(t,e)}}var n;Writable.WritableState=WritableState;var i={deprecate:r(65941)};var o=r(47640);var s=r(64293).Buffer;var a=global.Uint8Array||function(){};function _uint8ArrayToBuffer(e){return s.from(e)}function _isUint8Array(e){return s.isBuffer(e)||e instanceof a}var l=r(22126);var c=r(14286),u=c.getHighWaterMark;var d=r(71947).q,p=d.ERR_INVALID_ARG_TYPE,f=d.ERR_METHOD_NOT_IMPLEMENTED,h=d.ERR_MULTIPLE_CALLBACK,m=d.ERR_STREAM_CANNOT_PIPE,g=d.ERR_STREAM_DESTROYED,y=d.ERR_STREAM_NULL_VALUES,v=d.ERR_STREAM_WRITE_AFTER_END,b=d.ERR_UNKNOWN_ENCODING;var S=l.errorOrDestroy;r(94835)(Writable,o);function nop(){}function WritableState(e,t,i){n=n||r(18084);e=e||{};if(typeof i!=="boolean")i=t instanceof n;this.objectMode=!!e.objectMode;if(i)this.objectMode=this.objectMode||!!e.writableObjectMode;this.highWaterMark=u(this,e,"writableHighWaterMark",i);this.finalCalled=false;this.needDrain=false;this.ending=false;this.ended=false;this.finished=false;this.destroyed=false;var o=e.decodeStrings===false;this.decodeStrings=!o;this.defaultEncoding=e.defaultEncoding||"utf8";this.length=0;this.writing=false;this.corked=0;this.sync=true;this.bufferProcessing=false;this.onwrite=function(e){onwrite(t,e)};this.writecb=null;this.writelen=0;this.bufferedRequest=null;this.lastBufferedRequest=null;this.pendingcb=0;this.prefinished=false;this.errorEmitted=false;this.emitClose=e.emitClose!==false;this.autoDestroy=!!e.autoDestroy;this.bufferedRequestCount=0;this.corkedRequestsFree=new CorkedRequest(this)}WritableState.prototype.getBuffer=function getBuffer(){var e=this.bufferedRequest;var t=[];while(e){t.push(e);e=e.next}return t};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:i.deprecate(function writableStateBufferGetter(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer "+"instead.","DEP0003")})}catch(e){}})();var w;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function"){w=Function.prototype[Symbol.hasInstance];Object.defineProperty(Writable,Symbol.hasInstance,{value:function value(e){if(w.call(this,e))return true;if(this!==Writable)return false;return e&&e._writableState instanceof WritableState}})}else{w=function realHasInstance(e){return e instanceof this}}function Writable(e){n=n||r(18084);var t=this instanceof n;if(!t&&!w.call(Writable,this))return new Writable(e);this._writableState=new WritableState(e,this,t);this.writable=true;if(e){if(typeof e.write==="function")this._write=e.write;if(typeof e.writev==="function")this._writev=e.writev;if(typeof e.destroy==="function")this._destroy=e.destroy;if(typeof e.final==="function")this._final=e.final}o.call(this)}Writable.prototype.pipe=function(){S(this,new m)};function writeAfterEnd(e,t){var r=new v;S(e,r);process.nextTick(t,r)}function validChunk(e,t,r,n){var i;if(r===null){i=new y}else if(typeof r!=="string"&&!t.objectMode){i=new p("chunk",["string","Buffer"],r)}if(i){S(e,i);process.nextTick(n,i);return false}return true}Writable.prototype.write=function(e,t,r){var n=this._writableState;var i=false;var o=!n.objectMode&&_isUint8Array(e);if(o&&!s.isBuffer(e)){e=_uint8ArrayToBuffer(e)}if(typeof t==="function"){r=t;t=null}if(o)t="buffer";else if(!t)t=n.defaultEncoding;if(typeof r!=="function")r=nop;if(n.ending)writeAfterEnd(this,r);else if(o||validChunk(this,n,e,r)){n.pendingcb++;i=writeOrBuffer(this,n,o,e,t,r)}return i};Writable.prototype.cork=function(){this._writableState.corked++};Writable.prototype.uncork=function(){var e=this._writableState;if(e.corked){e.corked--;if(!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest)clearBuffer(this,e)}};Writable.prototype.setDefaultEncoding=function setDefaultEncoding(e){if(typeof e==="string")e=e.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new b(e);this._writableState.defaultEncoding=e;return this};Object.defineProperty(Writable.prototype,"writableBuffer",{enumerable:false,get:function get(){return this._writableState&&this._writableState.getBuffer()}});function decodeChunk(e,t,r){if(!e.objectMode&&e.decodeStrings!==false&&typeof t==="string"){t=s.from(t,r)}return t}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:false,get:function get(){return this._writableState.highWaterMark}});function writeOrBuffer(e,t,r,n,i,o){if(!r){var s=decodeChunk(t,n,i);if(n!==s){r=true;i="buffer";n=s}}var a=t.objectMode?1:n.length;t.length+=a;var l=t.length{"use strict";var n;function _defineProperty(e,t,r){if(t in e){Object.defineProperty(e,t,{value:r,enumerable:true,configurable:true,writable:true})}else{e[t]=r}return e}var i=r(26052);var o=Symbol("lastResolve");var s=Symbol("lastReject");var a=Symbol("error");var l=Symbol("ended");var c=Symbol("lastPromise");var u=Symbol("handlePromise");var d=Symbol("stream");function createIterResult(e,t){return{value:e,done:t}}function readAndResolve(e){var t=e[o];if(t!==null){var r=e[d].read();if(r!==null){e[c]=null;e[o]=null;e[s]=null;t(createIterResult(r,false))}}}function onReadable(e){process.nextTick(readAndResolve,e)}function wrapForNext(e,t){return function(r,n){e.then(function(){if(t[l]){r(createIterResult(undefined,true));return}t[u](r,n)},n)}}var p=Object.getPrototypeOf(function(){});var f=Object.setPrototypeOf((n={get stream(){return this[d]},next:function next(){var e=this;var t=this[a];if(t!==null){return Promise.reject(t)}if(this[l]){return Promise.resolve(createIterResult(undefined,true))}if(this[d].destroyed){return new Promise(function(t,r){process.nextTick(function(){if(e[a]){r(e[a])}else{t(createIterResult(undefined,true))}})})}var r=this[c];var n;if(r){n=new Promise(wrapForNext(r,this))}else{var i=this[d].read();if(i!==null){return Promise.resolve(createIterResult(i,false))}n=new Promise(this[u])}this[c]=n;return n}},_defineProperty(n,Symbol.asyncIterator,function(){return this}),_defineProperty(n,"return",function _return(){var e=this;return new Promise(function(t,r){e[d].destroy(null,function(e){if(e){r(e);return}t(createIterResult(undefined,true))})})}),n),p);var h=function createReadableStreamAsyncIterator(e){var t;var r=Object.create(f,(t={},_defineProperty(t,d,{value:e,writable:true}),_defineProperty(t,o,{value:null,writable:true}),_defineProperty(t,s,{value:null,writable:true}),_defineProperty(t,a,{value:null,writable:true}),_defineProperty(t,l,{value:e._readableState.endEmitted,writable:true}),_defineProperty(t,u,{value:function value(e,t){var n=r[d].read();if(n){r[c]=null;r[o]=null;r[s]=null;e(createIterResult(n,false))}else{r[o]=e;r[s]=t}},writable:true}),t));r[c]=null;i(e,function(e){if(e&&e.code!=="ERR_STREAM_PREMATURE_CLOSE"){var t=r[s];if(t!==null){r[c]=null;r[o]=null;r[s]=null;t(e)}r[a]=e;return}var n=r[o];if(n!==null){r[c]=null;r[o]=null;r[s]=null;n(createIterResult(undefined,true))}r[l]=true});e.on("readable",onReadable.bind(null,r));return r};e.exports=h},38568:(e,t,r)=>{"use strict";function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);if(t)n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable});r.push.apply(r,n)}return r}function _objectSpread(e){for(var t=1;t0)this.tail.next=t;else this.head=t;this.tail=t;++this.length}},{key:"unshift",value:function unshift(e){var t={data:e,next:this.head};if(this.length===0)this.tail=t;this.head=t;++this.length}},{key:"shift",value:function shift(){if(this.length===0)return;var e=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return e}},{key:"clear",value:function clear(){this.head=this.tail=null;this.length=0}},{key:"join",value:function join(e){if(this.length===0)return"";var t=this.head;var r=""+t.data;while(t=t.next){r+=e+t.data}return r}},{key:"concat",value:function concat(e){if(this.length===0)return i.alloc(0);var t=i.allocUnsafe(e>>>0);var r=this.head;var n=0;while(r){copyBuffer(r.data,t,n);n+=r.data.length;r=r.next}return t}},{key:"consume",value:function consume(e,t){var r;if(ei.length?i.length:e;if(o===i.length)n+=i;else n+=i.slice(0,e);e-=o;if(e===0){if(o===i.length){++r;if(t.next)this.head=t.next;else this.head=this.tail=null}else{this.head=t;t.data=i.slice(o)}break}++r}this.length-=r;return n}},{key:"_getBuffer",value:function _getBuffer(e){var t=i.allocUnsafe(e);var r=this.head;var n=1;r.data.copy(t);e-=r.data.length;while(r=r.next){var o=r.data;var s=e>o.length?o.length:e;o.copy(t,t.length-e,0,s);e-=s;if(e===0){if(s===o.length){++n;if(r.next)this.head=r.next;else this.head=this.tail=null}else{this.head=r;r.data=o.slice(s)}break}++n}this.length-=n;return t}},{key:a,value:function value(e,t){return s(this,_objectSpread({},t,{depth:0,customInspect:false}))}}]);return BufferList}()},22126:e=>{"use strict";function destroy(e,t){var r=this;var n=this._readableState&&this._readableState.destroyed;var i=this._writableState&&this._writableState.destroyed;if(n||i){if(t){t(e)}else if(e){if(!this._writableState){process.nextTick(emitErrorNT,this,e)}else if(!this._writableState.errorEmitted){this._writableState.errorEmitted=true;process.nextTick(emitErrorNT,this,e)}}return this}if(this._readableState){this._readableState.destroyed=true}if(this._writableState){this._writableState.destroyed=true}this._destroy(e||null,function(e){if(!t&&e){if(!r._writableState){process.nextTick(emitErrorAndCloseNT,r,e)}else if(!r._writableState.errorEmitted){r._writableState.errorEmitted=true;process.nextTick(emitErrorAndCloseNT,r,e)}else{process.nextTick(emitCloseNT,r)}}else if(t){process.nextTick(emitCloseNT,r);t(e)}else{process.nextTick(emitCloseNT,r)}});return this}function emitErrorAndCloseNT(e,t){emitErrorNT(e,t);emitCloseNT(e)}function emitCloseNT(e){if(e._writableState&&!e._writableState.emitClose)return;if(e._readableState&&!e._readableState.emitClose)return;e.emit("close")}function undestroy(){if(this._readableState){this._readableState.destroyed=false;this._readableState.reading=false;this._readableState.ended=false;this._readableState.endEmitted=false}if(this._writableState){this._writableState.destroyed=false;this._writableState.ended=false;this._writableState.ending=false;this._writableState.finalCalled=false;this._writableState.prefinished=false;this._writableState.finished=false;this._writableState.errorEmitted=false}}function emitErrorNT(e,t){e.emit("error",t)}function errorOrDestroy(e,t){var r=e._readableState;var n=e._writableState;if(r&&r.autoDestroy||n&&n.autoDestroy)e.destroy(t);else e.emit("error",t)}e.exports={destroy:destroy,undestroy:undestroy,errorOrDestroy:errorOrDestroy}},26052:(e,t,r)=>{"use strict";var n=r(71947).q.ERR_STREAM_PREMATURE_CLOSE;function once(e){var t=false;return function(){if(t)return;t=true;for(var r=arguments.length,n=new Array(r),i=0;i{"use strict";function asyncGeneratorStep(e,t,r,n,i,o,s){try{var a=e[o](s);var l=a.value}catch(e){r(e);return}if(a.done){t(l)}else{Promise.resolve(l).then(n,i)}}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function _next(e){asyncGeneratorStep(o,n,i,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(o,n,i,_next,_throw,"throw",e)}_next(undefined)})}}function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);if(t)n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable});r.push.apply(r,n)}return r}function _objectSpread(e){for(var t=1;t{"use strict";var n;function once(e){var t=false;return function(){if(t)return;t=true;e.apply(void 0,arguments)}}var i=r(71947).q,o=i.ERR_MISSING_ARGS,s=i.ERR_STREAM_DESTROYED;function noop(e){if(e)throw e}function isRequest(e){return e.setHeader&&typeof e.abort==="function"}function destroyer(e,t,i,o){o=once(o);var a=false;e.on("close",function(){a=true});if(n===undefined)n=r(26052);n(e,{readable:t,writable:i},function(e){if(e)return o(e);a=true;o()});var l=false;return function(t){if(a)return;if(l)return;l=true;if(isRequest(e))return e.abort();if(typeof e.destroy==="function")return e.destroy();o(t||new s("pipe"))}}function call(e){e()}function pipe(e,t){return e.pipe(t)}function popCallback(e){if(!e.length)return noop;if(typeof e[e.length-1]!=="function")return noop;return e.pop()}function pipeline(){for(var e=arguments.length,t=new Array(e),r=0;r0;return destroyer(e,o,a,function(e){if(!i)i=e;if(e)s.forEach(call);if(o)return;s.forEach(call);n(i)})});return t.reduce(pipe)}e.exports=pipeline},14286:(e,t,r)=>{"use strict";var n=r(71947).q.ERR_INVALID_OPT_VALUE;function highWaterMarkFrom(e,t,r){return e.highWaterMark!=null?e.highWaterMark:t?e[r]:null}function getHighWaterMark(e,t,r,i){var o=highWaterMarkFrom(t,i,r);if(o!=null){if(!(isFinite(o)&&Math.floor(o)===o)||o<0){var s=i?r:"highWaterMark";throw new n(s,o)}return Math.floor(o)}return e.objectMode?16:16*1024}e.exports={getHighWaterMark:getHighWaterMark}},47640:(e,t,r)=>{e.exports=r(92413)},30009:(e,t,r)=>{var n=r(92413);if(process.env.READABLE_STREAM==="disable"&&n){e.exports=n.Readable;Object.assign(e.exports,n);e.exports.Stream=n}else{t=e.exports=r(11864);t.Stream=n||t;t.Readable=t;t.Writable=r(92042);t.Duplex=r(18084);t.Transform=r(57173);t.PassThrough=r(11798);t.finished=r(26052);t.pipeline=r(14705)}},27510:e=>{e.exports={trueFunc:function trueFunc(){return true},falseFunc:function falseFunc(){return false}}},63726:(e,t,r)=>{var n=r(16755);var i=r(15893);e.exports=expandTop;var o="\0SLASH"+Math.random()+"\0";var s="\0OPEN"+Math.random()+"\0";var a="\0CLOSE"+Math.random()+"\0";var l="\0COMMA"+Math.random()+"\0";var c="\0PERIOD"+Math.random()+"\0";function numeric(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function escapeBraces(e){return e.split("\\\\").join(o).split("\\{").join(s).split("\\}").join(a).split("\\,").join(l).split("\\.").join(c)}function unescapeBraces(e){return e.split(o).join("\\").split(s).join("{").split(a).join("}").split(l).join(",").split(c).join(".")}function parseCommaParts(e){if(!e)return[""];var t=[];var r=i("{","}",e);if(!r)return e.split(",");var n=r.pre;var o=r.body;var s=r.post;var a=n.split(",");a[a.length-1]+="{"+o+"}";var l=parseCommaParts(s);if(s.length){a[a.length-1]+=l.shift();a.push.apply(a,l)}t.push.apply(t,a);return t}function expandTop(e){if(!e)return[];if(e.substr(0,2)==="{}"){e="\\{\\}"+e.substr(2)}return expand(escapeBraces(e),true).map(unescapeBraces)}function identity(e){return e}function embrace(e){return"{"+e+"}"}function isPadded(e){return/^-?0\d/.test(e)}function lte(e,t){return e<=t}function gte(e,t){return e>=t}function expand(e,t){var r=[];var o=i("{","}",e);if(!o||/\$$/.test(o.pre))return[e];var s=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(o.body);var l=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(o.body);var c=s||l;var u=o.body.indexOf(",")>=0;if(!c&&!u){if(o.post.match(/,.*\}/)){e=o.pre+"{"+o.body+a+o.post;return expand(e)}return[e]}var d;if(c){d=o.body.split(/\.\./)}else{d=parseCommaParts(o.body);if(d.length===1){d=expand(d[0],false).map(embrace);if(d.length===1){var p=o.post.length?expand(o.post,false):[""];return p.map(function(e){return o.pre+d[0]+e})}}}var f=o.pre;var p=o.post.length?expand(o.post,false):[""];var h;if(c){var m=numeric(d[0]);var g=numeric(d[1]);var y=Math.max(d[0].length,d[1].length);var v=d.length==3?Math.abs(numeric(d[2])):1;var b=lte;var S=g0){var T=new Array(k+1).join("0");if(x<0)C="-"+T+C.slice(1);else C=T+C}}}h.push(C)}}else{h=n(d,function(e){return expand(e,false)})}for(var E=0;E{var n=r(64293).Buffer;var i=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];if(typeof Int32Array!=="undefined"){i=new Int32Array(i)}function ensureBuffer(e){if(n.isBuffer(e)){return e}var t=typeof n.alloc==="function"&&typeof n.from==="function";if(typeof e==="number"){return t?n.alloc(e):new n(e)}else if(typeof e==="string"){return t?n.from(e):new n(e)}else{throw new Error("input must be buffer, number, or string, received "+typeof e)}}function bufferizeInt(e){var t=ensureBuffer(4);t.writeInt32BE(e,0);return t}function _crc32(e,t){e=ensureBuffer(e);if(n.isBuffer(t)){t=t.readUInt32BE(0)}var r=~~t^-1;for(var o=0;o>>8}return r^-1}function crc32(){return bufferizeInt(_crc32.apply(null,arguments))}crc32.signed=function(){return _crc32.apply(null,arguments)};crc32.unsigned=function(){return _crc32.apply(null,arguments)>>>0};e.exports=crc32},28729:(e,t,r)=>{"use strict";const n=r(35747);const i=r(85622);const o=n.lchown?"lchown":"chown";const s=n.lchownSync?"lchownSync":"chownSync";const a=n.lchown&&!process.version.match(/v1[1-9]+\./)&&!process.version.match(/v10\.[6-9]/);const l=(e,t,r)=>{try{return n[s](e,t,r)}catch(e){if(e.code!=="ENOENT")throw e}};const c=(e,t,r)=>{try{return n.chownSync(e,t,r)}catch(e){if(e.code!=="ENOENT")throw e}};const u=a?(e,t,r,i)=>o=>{if(!o||o.code!=="EISDIR")i(o);else n.chown(e,t,r,i)}:(e,t,r,n)=>n;const d=a?(e,t,r)=>{try{return l(e,t,r)}catch(n){if(n.code!=="EISDIR")throw n;c(e,t,r)}}:(e,t,r)=>l(e,t,r);const p=process.version;let f=(e,t,r)=>n.readdir(e,t,r);let h=(e,t)=>n.readdirSync(e,t);if(/^v4\./.test(p))f=((e,t,r)=>n.readdir(e,r));const m=(e,t,r,i)=>{n[o](e,t,r,u(e,t,r,e=>{i(e&&e.code!=="ENOENT"?e:null)}))};const g=(e,t,r,o,s)=>{if(typeof t==="string")return n.lstat(i.resolve(e,t),(n,i)=>{if(n)return s(n.code!=="ENOENT"?n:null);i.name=t;g(e,i,r,o,s)});if(t.isDirectory()){y(i.resolve(e,t.name),r,o,n=>{if(n)return s(n);const a=i.resolve(e,t.name);m(a,r,o,s)})}else{const n=i.resolve(e,t.name);m(n,r,o,s)}};const y=(e,t,r,n)=>{f(e,{withFileTypes:true},(i,o)=>{if(i){if(i.code==="ENOENT")return n();else if(i.code!=="ENOTDIR"&&i.code!=="ENOTSUP")return n(i)}if(i||!o.length)return m(e,t,r,n);let s=o.length;let a=null;const l=i=>{if(a)return;if(i)return n(a=i);if(--s===0)return m(e,t,r,n)};o.forEach(n=>g(e,n,t,r,l))})};const v=(e,t,r,o)=>{if(typeof t==="string"){try{const r=n.lstatSync(i.resolve(e,t));r.name=t;t=r}catch(e){if(e.code==="ENOENT")return;else throw e}}if(t.isDirectory())b(i.resolve(e,t.name),r,o);d(i.resolve(e,t.name),r,o)};const b=(e,t,r)=>{let n;try{n=h(e,{withFileTypes:true})}catch(n){if(n.code==="ENOENT")return;else if(n.code==="ENOTDIR"||n.code==="ENOTSUP")return d(e,t,r);else throw n}if(n&&n.length)n.forEach(n=>v(e,n,t,r));return d(e,t,r)};e.exports=y;y.sync=b},16755:e=>{e.exports=function(e,r){var n=[];for(var i=0;i{"use strict";e.exports=adapterFactory;function adapterFactory(e){ensureImplementation(e);var t={};var r={removeSubsets:function(e){return removeSubsets(t,e)},existsOne:function(e,r){return existsOne(t,e,r)},getSiblings:function(e){return getSiblings(t,e)},hasAttrib:function(e,r){return hasAttrib(t,e,r)},findOne:function(e,r){return findOne(t,e,r)},findAll:function(e,r){return findAll(t,e,r)}};Object.assign(t,r,e);return t}var t=["isTag","getAttributeValue","getChildren","getName","getParent","getText"];function ensureImplementation(e){if(!e)throw new TypeError("Expected implementation");var r=t.filter(function(t){return typeof e[t]!=="function"});if(r.length){var n="("+r.join(", ")+")";var i="Expected functions "+n+" to be implemented";throw new Error(i)}}function removeSubsets(e,t){var r=t.length,n,i,o;while(--r>-1){n=i=t[r];t[r]=null;o=true;while(i){if(t.indexOf(i)>-1){o=false;t.splice(r,1);break}i=e.getParent(i)}if(o){t[r]=n}}return t}function existsOne(e,t,r){return r.some(function(r){return e.isTag(r)?t(r)||e.existsOne(t,e.getChildren(r)):false})}function getSiblings(e,t){var r=e.getParent(t);return r&&e.getChildren(r)}function hasAttrib(e,t,r){return e.getAttributeValue(t,r)!==undefined}function findOne(e,t,r){var n=null;for(var i=0,o=r.length;i0){n=e.findOne(t,s)}}}return n}function findAll(e,t,r){var n=[];for(var i=0,o=r.length;i{"use strict";e.exports=CSSselect;var n=r(43370);var i=r(27510).falseFunc;var o=r(22365);function wrapCompile(e){return function addAdapter(t,r,i){r=r||{};r.adapter=r.adapter||n;return e(t,r,i)}}var s=wrapCompile(o);var a=wrapCompile(o.compileUnsafe);function getSelectorFunc(e){return function select(t,r,i){i=i||{};i.adapter=i.adapter||n;if(typeof t!=="function"){t=a(t,i,r)}if(t.shouldTestNextSiblings){r=appendNextSiblings(i&&i.context||r,i.adapter)}if(!Array.isArray(r))r=i.adapter.getChildren(r);else r=i.adapter.removeSubsets(r);return e(t,r,i)}}function getNextSiblings(e,t){var r=t.getSiblings(e);if(!Array.isArray(r))return[];r=r.slice(0);while(r.shift()!==e);return r}function appendNextSiblings(e,t){if(!Array.isArray(e))e=[e];var r=e.slice(0);for(var n=0,i=e.length;n{var n=r(27510).falseFunc;var i=/[-[\]{}()*+?.,\\^$|#\s]/g;var o={__proto__:null,equals:function(e,t,r){var n=t.name;var i=t.value;var o=r.adapter;if(t.ignoreCase){i=i.toLowerCase();return function equalsIC(t){var r=o.getAttributeValue(t,n);return r!=null&&r.toLowerCase()===i&&e(t)}}return function equals(t){return o.getAttributeValue(t,n)===i&&e(t)}},hyphen:function(e,t,r){var n=t.name;var i=t.value;var o=i.length;var s=r.adapter;if(t.ignoreCase){i=i.toLowerCase();return function hyphenIC(t){var r=s.getAttributeValue(t,n);return r!=null&&(r.length===o||r.charAt(o)==="-")&&r.substr(0,o).toLowerCase()===i&&e(t)}}return function hyphen(t){var r=s.getAttributeValue(t,n);return r!=null&&r.substr(0,o)===i&&(r.length===o||r.charAt(o)==="-")&&e(t)}},element:function(e,t,r){var o=t.name;var s=t.value;var a=r.adapter;if(/\s/.test(s)){return n}s=s.replace(i,"\\$&");var l="(?:^|\\s)"+s+"(?:$|\\s)",c=t.ignoreCase?"i":"",u=new RegExp(l,c);return function element(t){var r=a.getAttributeValue(t,o);return r!=null&&u.test(r)&&e(t)}},exists:function(e,t,r){var n=t.name;var i=r.adapter;return function exists(t){return i.hasAttrib(t,n)&&e(t)}},start:function(e,t,r){var i=t.name;var o=t.value;var s=o.length;var a=r.adapter;if(s===0){return n}if(t.ignoreCase){o=o.toLowerCase();return function startIC(t){var r=a.getAttributeValue(t,i);return r!=null&&r.substr(0,s).toLowerCase()===o&&e(t)}}return function start(t){var r=a.getAttributeValue(t,i);return r!=null&&r.substr(0,s)===o&&e(t)}},end:function(e,t,r){var i=t.name;var o=t.value;var s=-o.length;var a=r.adapter;if(s===0){return n}if(t.ignoreCase){o=o.toLowerCase();return function endIC(t){var r=a.getAttributeValue(t,i);return r!=null&&r.substr(s).toLowerCase()===o&&e(t)}}return function end(t){var r=a.getAttributeValue(t,i);return r!=null&&r.substr(s)===o&&e(t)}},any:function(e,t,r){var o=t.name;var s=t.value;var a=r.adapter;if(s===""){return n}if(t.ignoreCase){var l=new RegExp(s.replace(i,"\\$&"),"i");return function anyIC(t){var r=a.getAttributeValue(t,o);return r!=null&&l.test(r)&&e(t)}}return function any(t){var r=a.getAttributeValue(t,o);return r!=null&&r.indexOf(s)>=0&&e(t)}},not:function(e,t,r){var n=t.name;var i=t.value;var o=r.adapter;if(i===""){return function notEmpty(t){return!!o.getAttributeValue(t,n)&&e(t)}}else if(t.ignoreCase){i=i.toLowerCase();return function notIC(t){var r=o.getAttributeValue(t,n);return r!=null&&r.toLowerCase()!==i&&e(t)}}return function not(t){return o.getAttributeValue(t,n)!==i&&e(t)}}};e.exports={compile:function(e,t,r){if(r&&r.strict&&(t.ignoreCase||t.action==="not")){throw new Error("Unsupported attribute selector")}return o[t.action](e,t,r)},rules:o}},22365:(e,t,r)=>{e.exports=compile;var n=r(17525).parse;var i=r(27510);var o=r(65426);var s=r(86721);var a=r(35890);var l=r(65582);var c=i.trueFunc;var u=i.falseFunc;var d=l.filters;function compile(e,t,r){var n=compileUnsafe(e,t,r);return wrap(n,t)}function wrap(e,t){var r=t.adapter;return function base(t){return r.isTag(t)&&e(t)}}function compileUnsafe(e,t,r){var i=n(e,t);return compileToken(i,t,r)}function includesScopePseudo(e){return e.type==="pseudo"&&(e.name==="scope"||Array.isArray(e.data)&&e.data.some(function(e){return e.some(includesScopePseudo)}))}var p={type:"descendant"};var f={type:"_flexibleDescendant"};var h={type:"pseudo",name:"scope"};var m={};function absolutize(e,t,r){var n=t.adapter;var i=!!r&&!!r.length&&r.every(function(e){return e===m||!!n.getParent(e)});e.forEach(function(e){if(e.length>0&&isTraversal(e[0])&&e[0].type!=="descendant"){}else if(i&&!(Array.isArray(e)?e.some(includesScopePseudo):includesScopePseudo(e))){e.unshift(p)}else{return}e.unshift(h)})}function compileToken(e,t,r){e=e.filter(function(e){return e.length>0});e.forEach(o);var n=Array.isArray(r);r=t&&t.context||r;if(r&&!n)r=[r];absolutize(e,t,r);var i=false;var s=e.map(function(e){if(e[0]&&e[1]&&e[0].name==="scope"){var o=e[1].type;if(n&&o==="descendant"){e[1]=f}else if(o==="adjacent"||o==="sibling"){i=true}}return compileRules(e,t,r)}).reduce(reduceRules,u);s.shouldTestNextSiblings=i;return s}function isTraversal(e){return s[e.type]<0}function compileRules(e,t,r){return e.reduce(function(e,n){if(e===u)return e;if(!(n.type in a)){throw new Error("Rule type "+n.type+" is not supported by css-select")}return a[n.type](e,n,t,r)},t&&t.rootFunc||c)}function reduceRules(e,t){if(t===u||e===c){return e}if(e===u||t===c){return t}return function combine(r){return e(r)||t(r)}}function containsTraversal(e){return e.some(isTraversal)}d.not=function(e,t,r,n){var i={xmlMode:!!(r&&r.xmlMode),strict:!!(r&&r.strict),adapter:r.adapter};if(i.strict){if(t.length>1||t.some(containsTraversal)){throw new Error("complex selectors in :not aren't allowed in strict mode")}}var o=compileToken(t,i,n);if(o===u)return e;if(o===c)return u;return function not(t){return!o(t)&&e(t)}};d.has=function(e,t,r){var n=r.adapter;var i={xmlMode:!!(r&&r.xmlMode),strict:!!(r&&r.strict),adapter:n};var o=t.some(containsTraversal)?[m]:null;var s=compileToken(t,i,o);if(s===u)return u;if(s===c){return function hasChild(t){return n.getChildren(t).some(n.isTag)&&e(t)}}s=wrap(s,r);if(o){return function has(t){return e(t)&&(o[0]=t,n.existsOne(s,n.getChildren(t)))}}return function has(t){return e(t)&&n.existsOne(s,n.getChildren(t))}};d.matches=function(e,t,r,n){var i={xmlMode:!!(r&&r.xmlMode),strict:!!(r&&r.strict),rootFunc:e,adapter:r.adapter};return compileToken(t,i,n)};compile.compileToken=compileToken;compile.compileUnsafe=compileUnsafe;compile.Pseudos=l},35890:(e,t,r)=>{var n=r(91221);var i=r(65582);e.exports={__proto__:null,attribute:n.compile,pseudo:i.compile,tag:function(e,t,r){var n=t.name;var i=r.adapter;return function tag(t){return i.getName(t)===n&&e(t)}},descendant:function(e,t,r){var n=typeof WeakSet!=="undefined"?new WeakSet:null;var i=r.adapter;return function descendant(t){var r=false;while(!r&&(t=i.getParent(t))){if(!n||!n.has(t)){r=e(t);if(!r&&n){n.add(t)}}}return r}},_flexibleDescendant:function(e,t,r){var n=r.adapter;return function descendant(t){var r=e(t);while(!r&&(t=n.getParent(t))){r=e(t)}return r}},parent:function(e,t,r){if(r&&r.strict){throw new Error("Parent selector isn't part of CSS3")}var n=r.adapter;return function parent(e){return n.getChildren(e).some(test)};function test(t){return n.isTag(t)&&e(t)}},child:function(e,t,r){var n=r.adapter;return function child(t){var r=n.getParent(t);return!!r&&e(r)}},sibling:function(e,t,r){var n=r.adapter;return function sibling(t){var r=n.getSiblings(t);for(var i=0;i{var n=r(88970);var i=r(27510);var o=r(91221);var s=i.trueFunc;var a=i.falseFunc;var l=o.rules.equals;function getAttribFunc(e,t){var r={name:e,value:t};return function attribFunc(e,t,n){return l(e,r,n)}}function getChildFunc(e,t){return function(r){return!!t.getParent(r)&&e(r)}}var c={contains:function(e,t,r){var n=r.adapter;return function contains(r){return e(r)&&n.getText(r).indexOf(t)>=0}},icontains:function(e,t,r){var n=t.toLowerCase();var i=r.adapter;return function icontains(t){return e(t)&&i.getText(t).toLowerCase().indexOf(n)>=0}},"nth-child":function(e,t,r){var i=n(t);var o=r.adapter;if(i===a)return i;if(i===s)return getChildFunc(e,o);return function nthChild(t){var r=o.getSiblings(t);for(var n=0,s=0;n=0;s--){if(o.isTag(r[s])){if(r[s]===t)break;else n++}}return i(n)&&e(t)}},"nth-of-type":function(e,t,r){var i=n(t);var o=r.adapter;if(i===a)return i;if(i===s)return getChildFunc(e,o);return function nthOfType(t){var r=o.getSiblings(t);for(var n=0,s=0;s=0;s--){if(o.isTag(r[s])){if(r[s]===t)break;if(o.getName(r[s])===o.getName(t))n++}}return i(n)&&e(t)}},root:function(e,t,r){var n=r.adapter;return function(t){return!n.getParent(t)&&e(t)}},scope:function(e,t,r,n){var i=r.adapter;if(!n||n.length===0){return c.root(e,t,r)}function equals(e,t){if(typeof i.equals==="function")return i.equals(e,t);return e===t}if(n.length===1){return function(t){return equals(n[0],t)&&e(t)}}return function(t){return n.indexOf(t)>=0&&e(t)}},checkbox:getAttribFunc("type","checkbox"),file:getAttribFunc("type","file"),password:getAttribFunc("type","password"),radio:getAttribFunc("type","radio"),reset:getAttribFunc("type","reset"),image:getAttribFunc("type","image"),submit:getAttribFunc("type","submit"),hover:function(e,t,r){var n=r.adapter;if(typeof n.isHovered==="function"){return function hover(t){return e(t)&&n.isHovered(t)}}return a},visited:function(e,t,r){var n=r.adapter;if(typeof n.isVisited==="function"){return function visited(t){return e(t)&&n.isVisited(t)}}return a},active:function(e,t,r){var n=r.adapter;if(typeof n.isActive==="function"){return function active(t){return e(t)&&n.isActive(t)}}return a}};function getFirstElement(e,t){for(var r=0;e&&r=0;n--){if(r[n]===e)return true;if(t.isTag(r[n]))break}return false},"first-of-type":function(e,t){var r=t.getSiblings(e);for(var n=0;n=0;n--){if(t.isTag(r[n])){if(r[n]===e)return true;if(t.getName(r[n])===t.getName(e))break}}return false},"only-of-type":function(e,t){var r=t.getSiblings(e);for(var n=0,i=r.length;n=0}}function verifyArgs(e,t,r){if(r===null){if(e.length>2&&t!=="scope"){throw new Error("pseudo-selector :"+t+" requires an argument")}}else{if(e.length===2){throw new Error("pseudo-selector :"+t+" doesn't have any arguments")}}}var d=/^(?:(?:nth|last|first|only)-(?:child|of-type)|root|empty|(?:en|dis)abled|checked|not)$/;e.exports={compile:function(e,t,r,n){var i=t.name;var o=t.data;var l=r.adapter;if(r&&r.strict&&!d.test(i)){throw new Error(":"+i+" isn't part of CSS3")}if(typeof c[i]==="function"){return c[i](e,o,r,n)}else if(typeof u[i]==="function"){var p=u[i];verifyArgs(p,i,o);if(p===a){return p}if(e===s){return function pseudoRoot(e){return p(e,l,o)}}return function pseudoArgs(t){return p(t,l,o)&&e(t)}}else{throw new Error("unmatched pseudo-class :"+i)}},filters:c,pseudos:u}},65426:(e,t,r)=>{e.exports=sortByProcedure;var n=r(86721);var i={__proto__:null,exists:10,equals:8,not:7,start:6,end:6,any:5,hyphen:4,element:4};function sortByProcedure(e){var t=e.map(getProcedure);for(var r=1;r=0&&n>=1}}else if(t===n.pseudo){if(!e.data){t=3}else if(e.name==="has"||e.name==="contains"){t=0}else if(e.name==="matches"||e.name==="not"){t=0;for(var r=0;rt)t=o}if(e.data.length>1&&t>0)t-=1}else{t=1}}return t}},26577:(e,t,r)=>{var n=r(81515);var i=r(58933);var o=r(74291);function buildDictionary(e,t){var r={};for(var n in e){r[n]=e[n].syntax}for(var n in t){if(n in e){if(t[n].syntax){r[n]=t[n].syntax}else{delete r[n]}}else{if(t[n].syntax){r[n]=t[n].syntax}}}return r}e.exports={properties:buildDictionary(n,o.properties),types:buildDictionary(i,o.syntaxes)}},5355:e=>{function createItem(e){return{prev:null,next:null,data:e}}function allocateCursor(e,r,n){var i;if(t!==null){i=t;t=t.cursor;i.prev=r;i.next=n;i.cursor=e.cursor}else{i={prev:r,next:n,cursor:e.cursor}}e.cursor=i;return i}function releaseCursor(e){var r=e.cursor;e.cursor=r.cursor;r.prev=null;r.next=null;r.cursor=t;t=r}var t=null;var r=function(){this.cursor=null;this.head=null;this.tail=null};r.createItem=createItem;r.prototype.createItem=createItem;r.prototype.updateCursors=function(e,t,r,n){var i=this.cursor;while(i!==null){if(i.prev===e){i.prev=t}if(i.next===r){i.next=n}i=i.cursor}};r.prototype.getSize=function(){var e=0;var t=this.head;while(t){e++;t=t.next}return e};r.prototype.fromArray=function(e){var t=null;this.head=null;for(var r=0;r{var n=r(58248);var i=r(61063).isBOM;var o=10;var s=12;var a=13;function computeLinesAndColumns(e,t){var r=t.length;var l=n(e.lines,r);var c=e.startLine;var u=n(e.columns,r);var d=e.startColumn;var p=t.length>0?i(t.charCodeAt(0)):0;for(var f=p;f{var n=r(41187);var i=100;var o=60;var s=" ";function sourceFragment(e,t){function processLines(e,t){return r.slice(e,t).map(function(t,r){var n=String(e+r+1);while(n.lengthi){d=a-o+3;a=o-2}for(var p=l;p<=c;p++){if(p>=0&&p0&&r[p].length>d?"…":"")+r[p].substr(d,i-2)+(r[p].length>d+i-1?"…":"")}}return[processLines(l,n),new Array(a+u+2).join("-")+"^",processLines(n,c)].filter(Boolean).join("\n")}var a=function(e,t,r,i,o){var s=n("SyntaxError",e);s.source=t;s.offset=r;s.line=i;s.column=o;s.sourceFragment=function(e){return sourceFragment(s,isNaN(e)?0:e)};Object.defineProperty(s,"formattedMessage",{get:function(){return"Parse error: "+s.message+"\n"+sourceFragment(s,2)}});s.parseError={offset:r,line:i,column:o};return s};e.exports=a},83058:(e,t,r)=>{var n=r(21713);var i=n.TYPE;var o=n.NAME;var s=r(86716);var a=s.cmpStr;var l=i.EOF;var c=i.WhiteSpace;var u=i.Comment;var d=16777215;var p=24;var f=function(){this.offsetAndType=null;this.balance=null;this.reset()};f.prototype={reset:function(){this.eof=false;this.tokenIndex=-1;this.tokenType=0;this.tokenStart=this.firstCharOffset;this.tokenEnd=this.firstCharOffset},lookupType:function(e){e+=this.tokenIndex;if(e>p}return l},lookupOffset:function(e){e+=this.tokenIndex;if(e0){return e>p;switch(t(o,this.source,i)){case 1:break e;case 2:r++;break e;default:i=this.offsetAndType[r]&d;if(this.balance[n]===r){r=n}}}return r-this.tokenIndex},isBalanceEdge:function(e){return this.balance[this.tokenIndex]>p!==c){break}}if(t>0){this.skip(t)}},skipSC:function(){while(this.tokenType===c||this.tokenType===u){this.next()}},skip:function(e){var t=this.tokenIndex+e;if(t>p;this.tokenEnd=t&d}else{this.tokenIndex=this.tokenCount;this.next()}},next:function(){var e=this.tokenIndex+1;if(e>p;this.tokenEnd=e&d}else{this.tokenIndex=this.tokenCount;this.eof=true;this.tokenType=l;this.tokenStart=this.tokenEnd=this.source.length}},dump:function(){var e=this.firstCharOffset;return Array.prototype.slice.call(this.offsetAndType,0,this.tokenCount).map(function(t,r){var n=e;var i=t&d;e=i;return{idx:r,type:o[t>>p],chunk:this.source.substring(n,i),balance:this.balance[r]}},this)}};e.exports=f},58248:e=>{var t=16*1024;var r=typeof Uint32Array!=="undefined"?Uint32Array:Array;e.exports=function adoptBuffer(e,n){if(e===null||e.length{var n=r(5355);e.exports=function createConvertors(e){return{fromPlainObject:function(t){e(t,{enter:function(e){if(e.children&&e.children instanceof n===false){e.children=(new n).fromArray(e.children)}}});return t},toPlainObject:function(t){e(t,{leave:function(e){if(e.children&&e.children instanceof n){e.children=e.children.toArray()}}});return t}}}},59437:(e,t,r)=>{var n=r(41187);e.exports=function SyntaxError(e,t,r){var i=n("SyntaxError",e);i.input=t;i.offset=r;i.rawMessage=e;i.message=i.rawMessage+"\n"+" "+i.input+"\n"+"--"+new Array((i.offset||i.input.length)+1).join("-")+"^";return i}},95561:e=>{function noop(e){return e}function generateMultiplier(e){if(e.min===0&&e.max===0){return"*"}if(e.min===0&&e.max===1){return"?"}if(e.min===1&&e.max===0){return e.comma?"#":"+"}if(e.min===1&&e.max===1){return""}return(e.comma?"#":"")+(e.min===e.max?"{"+e.min+"}":"{"+e.min+","+(e.max!==0?e.max:"")+"}")}function generateTypeOpts(e){switch(e.type){case"Range":return" ["+(e.min===null?"-∞":e.min)+","+(e.max===null?"∞":e.max)+"]";default:throw new Error("Unknown node type `"+e.type+"`")}}function generateSequence(e,t,r,n){var i=e.combinator===" "||n?e.combinator:" "+e.combinator+" ";var o=e.terms.map(function(e){return generate(e,t,r,n)}).join(i);if(e.explicit||r){o=(n||o[0]===","?"[":"[ ")+o+(n?"]":" ]")}return o}function generate(e,t,r,n){var i;switch(e.type){case"Group":i=generateSequence(e,t,r,n)+(e.disallowEmpty?"!":"");break;case"Multiplier":return generate(e.term,t,r,n)+t(generateMultiplier(e),e);case"Type":i="<"+e.name+(e.opts?t(generateTypeOpts(e.opts),e.opts):"")+">";break;case"Property":i="<'"+e.name+"'>";break;case"Keyword":i=e.name;break;case"AtKeyword":i="@"+e.name;break;case"Function":i=e.name+"(";break;case"String":case"Token":i=e.value;break;case"Comma":i=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(i,e)}e.exports=function(e,t){var r=noop;var n=false;var i=false;if(typeof t==="function"){r=t}else if(t){n=Boolean(t.forceBraces);i=Boolean(t.compact);if(typeof t.decorate==="function"){r=t.decorate}}return generate(e,r,n,i)}},98333:(e,t,r)=>{e.exports={SyntaxError:r(59437),parse:r(81550),generate:r(95561),walk:r(55872)}},81550:(e,t,r)=>{var n=r(22059);var i=9;var o=10;var s=12;var a=13;var l=32;var c=33;var u=35;var d=38;var p=39;var f=40;var h=41;var m=42;var g=43;var y=44;var v=45;var b=60;var S=62;var w=63;var x=64;var C=91;var k=93;var T=123;var E=124;var _=125;var O=8734;var A=createCharMap(function(e){return/[a-zA-Z0-9\-]/.test(e)});var P={" ":1,"&&":2,"||":3,"|":4};function createCharMap(e){var t=typeof Uint32Array==="function"?new Uint32Array(128):new Array(128);for(var r=0;r<128;r++){t[r]=e(String.fromCharCode(r))?1:0}return t}function scanSpaces(e){return e.substringToPos(e.findWsEnd(e.pos))}function scanWord(e){var t=e.pos;for(;t=128||A[r]===0){break}}if(e.pos===t){e.error("Expect a keyword")}return e.substringToPos(t)}function scanNumber(e){var t=e.pos;for(;t57){break}}if(e.pos===t){e.error("Expect a number")}return e.substringToPos(t)}function scanString(e){var t=e.str.indexOf("'",e.pos+1);if(t===-1){e.pos=e.str.length;e.error("Expect an apostrophe")}return e.substringToPos(t+1)}function readMultiplierRange(e){var t=null;var r=null;e.eat(T);t=scanNumber(e);if(e.charCode()===y){e.pos++;if(e.charCode()!==_){r=scanNumber(e)}}else{r=t}e.eat(_);return{min:Number(t),max:r?Number(r):0}}function readMultiplier(e){var t=null;var r=false;switch(e.charCode()){case m:e.pos++;t={min:0,max:0};break;case g:e.pos++;t={min:1,max:0};break;case w:e.pos++;t={min:0,max:1};break;case u:e.pos++;r=true;if(e.charCode()===T){t=readMultiplierRange(e)}else{t={min:1,max:0}}break;case T:t=readMultiplierRange(e);break;default:return null}return{type:"Multiplier",comma:r,min:t.min,max:t.max,term:null}}function maybeMultiplied(e,t){var r=readMultiplier(e);if(r!==null){r.term=t;return r}return t}function maybeToken(e){var t=e.peek();if(t===""){return null}return{type:"Token",value:t}}function readProperty(e){var t;e.eat(b);e.eat(p);t=scanWord(e);e.eat(p);e.eat(S);return maybeMultiplied(e,{type:"Property",name:t})}function readTypeRange(e){var t=null;var r=null;var n=1;e.eat(C);if(e.charCode()===v){e.peek();n=-1}if(n==-1&&e.charCode()===O){e.peek()}else{t=n*Number(scanNumber(e))}scanSpaces(e);e.eat(y);scanSpaces(e);if(e.charCode()===O){e.peek()}else{n=1;if(e.charCode()===v){e.peek();n=-1}r=n*Number(scanNumber(e))}e.eat(k);if(t===null&&r===null){return null}return{type:"Range",min:t,max:r}}function readType(e){var t;var r=null;e.eat(b);t=scanWord(e);if(e.charCode()===f&&e.nextCharCode()===h){e.pos+=2;t+="()"}if(e.charCodeAt(e.findWsEnd(e.pos))===C){scanSpaces(e);r=readTypeRange(e)}e.eat(S);return maybeMultiplied(e,{type:"Type",name:t,opts:r})}function readKeywordOrFunction(e){var t;t=scanWord(e);if(e.charCode()===f){e.pos++;return{type:"Function",name:t}}return maybeMultiplied(e,{type:"Keyword",name:t})}function regroupTerms(e,t){function createGroup(e,t){return{type:"Group",terms:e,combinator:t,disallowEmpty:false,explicit:false}}t=Object.keys(t).sort(function(e,t){return P[e]-P[t]});while(t.length>0){var r=t.shift();for(var n=0,i=0;n1){e.splice(i,n-i,createGroup(e.slice(i,n),r));n=i+1}i=-1}}}if(i!==-1&&t.length){e.splice(i,n-i,createGroup(e.slice(i,n),r))}}return r}function readImplicitGroup(e){var t=[];var r={};var n;var i=null;var o=e.pos;while(n=peek(e)){if(n.type!=="Spaces"){if(n.type==="Combinator"){if(i===null||i.type==="Combinator"){e.pos=o;e.error("Unexpected combinator")}r[n.value]=true}else if(i!==null&&i.type!=="Combinator"){r[" "]=true;t.push({type:"Combinator",value:" "})}t.push(n);i=n;o=e.pos}}if(i!==null&&i.type==="Combinator"){e.pos-=o;e.error("Unexpected combinator")}return{type:"Group",terms:t,combinator:regroupTerms(t,r)||" ",disallowEmpty:false,explicit:false}}function readGroup(e){var t;e.eat(C);t=readImplicitGroup(e);e.eat(k);t.explicit=true;if(e.charCode()===c){e.pos++;t.disallowEmpty=true}return t}function peek(e){var t=e.charCode();if(t<128&&A[t]===1){return readKeywordOrFunction(e)}switch(t){case k:break;case C:return maybeMultiplied(e,readGroup(e));case b:return e.nextCharCode()===p?readProperty(e):readType(e);case E:return{type:"Combinator",value:e.substringToPos(e.nextCharCode()===E?e.pos+2:e.pos+1)};case d:e.pos++;e.eat(d);return{type:"Combinator",value:"&&"};case y:e.pos++;return{type:"Comma"};case p:return maybeMultiplied(e,{type:"String",value:scanString(e)});case l:case i:case o:case a:case s:return{type:"Spaces",value:scanSpaces(e)};case x:t=e.nextCharCode();if(t<128&&A[t]===1){e.pos++;return{type:"AtKeyword",name:scanWord(e)}}return maybeToken(e);case m:case g:case w:case u:case c:break;case T:t=e.nextCharCode();if(t<48||t>57){return maybeToken(e)}break;default:return maybeToken(e)}}function parse(e){var t=new n(e);var r=readImplicitGroup(t);if(t.pos!==e.length){t.error("Unexpected input")}if(r.terms.length===1&&r.terms[0].type==="Group"){r=r.terms[0]}return r}parse("[a&&#|<'c'>*||e() f{2} /,(% g#{1,2} h{2,})]!");e.exports=parse},22059:(e,t,r)=>{var n=r(59437);var i=9;var o=10;var s=12;var a=13;var l=32;var c=function(e){this.str=e;this.pos=0};c.prototype={charCodeAt:function(e){return e{var t=function(){};function ensureFunction(e){return typeof e==="function"?e:t}e.exports=function(e,r,n){function walk(e){i.call(n,e);switch(e.type){case"Group":e.terms.forEach(walk);break;case"Multiplier":walk(e.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+e.type)}o.call(n,e)}var i=t;var o=t;if(typeof r==="function"){i=r}else if(r){i=ensureFunction(r.enter);o=ensureFunction(r.leave)}if(i===t&&o===t){throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function")}walk(e,n)}},31010:(e,t,r)=>{var n=r(95137);var i=Object.prototype.hasOwnProperty;function processChildren(e,t){var r=e.children;var n=null;if(typeof t!=="function"){r.forEach(this.node,this)}else{r.forEach(function(e){if(n!==null){t.call(this,n)}this.node(e);n=e},this)}}e.exports=function createGenerator(e){function processNode(e){if(i.call(t,e.type)){t[e.type].call(this,e)}else{throw new Error("Unknown node type: "+e.type)}}var t={};if(e.node){for(var r in e.node){t[r]=e.node[r].generate}}return function(e,t){var r="";var i={children:processChildren,node:processNode,chunk:function(e){r+=e},result:function(){return r}};if(t){if(typeof t.decorator==="function"){i=t.decorator(i)}if(t.sourceMap){i=n(i)}}i.node(e);return i.result()}}},95137:(e,t,r)=>{var n=r(28265).h;var i={Atrule:true,Selector:true,Declaration:true};e.exports=function generateSourceMap(e){var t=new n;var r=1;var o=0;var s={line:1,column:0};var a={line:0,column:0};var l=false;var c={line:1,column:0};var u={generated:c};var d=e.node;e.node=function(e){if(e.loc&&e.loc.start&&i.hasOwnProperty(e.type)){var n=e.loc.start.line;var p=e.loc.start.column-1;if(a.line!==n||a.column!==p){a.line=n;a.column=p;s.line=r;s.column=o;if(l){l=false;if(s.line!==c.line||s.column!==c.column){t.addMapping(u)}}l=true;t.addMapping({source:e.loc.source,original:a,generated:s})}}d.call(this,e);if(l&&i.hasOwnProperty(e.type)){c.line=r;c.column=o}};var p=e.chunk;e.chunk=function(e){for(var t=0;t{e.exports=r(30826)},42164:(e,t,r)=>{var n=r(16044).SyntaxReferenceError;var i=r(16044).MatchError;var o=r(87453);var s=r(35548);var a=r(81550);var l=r(95561);var c=r(55872);var u=r(18087);var d=r(86106).buildMatchGraph;var p=r(67684).matchAsTree;var f=r(29833);var h=r(48982);var m=r(25791).getStructureFromConfig;var g=d("inherit | initial | unset");var y=d("inherit | initial | unset | <-ms-legacy-expression>");function dumpMapSyntax(e,t,r){var n={};for(var i in e){if(e[i].syntax){n[i]=r?e[i].syntax:l(e[i].syntax,{compact:t})}}return n}function valueHasVar(e){for(var t=0;t{var n=r(41187);var i=r(95561);function fromMatchResult(e){var t=e.tokens;var r=e.longestMatch;var n=r1}}function getLocation(e,t){var r=e&&e.loc&&e.loc[t];if(r){return{offset:r.offset,line:r.line,column:r.column}}return null}var o=function(e,t){var r=n("SyntaxReferenceError",e+(t?" `"+t+"`":""));r.reference=t;return r};var s=function(e,t,r,o){var s=n("SyntaxMatchError",e);var a=fromMatchResult(o);var l=a.mismatchOffset||0;var c=a.node||r;var u=getLocation(c,"end");var d=a.last?u:getLocation(c,"start");var p=a.css;s.rawMessage=e;s.syntax=t?i(t):"";s.css=p;s.mismatchOffset=l;s.loc={source:c&&c.loc&&c.loc.source||"",start:d,end:u};s.line=d?d.line:undefined;s.column=d?d.column:undefined;s.offset=d?d.offset:undefined;s.message=e+"\n"+" syntax: "+s.syntax+"\n"+" value: "+(s.css||"")+"\n"+" --------"+new Array(s.mismatchOffset+1).join("-")+"^";return s};e.exports={SyntaxReferenceError:o,MatchError:s}},23479:(e,t,r)=>{var n=r(61063).isDigit;var i=r(61063).cmpChar;var o=r(61063).TYPE;var s=o.Delim;var a=o.WhiteSpace;var l=o.Comment;var c=o.Ident;var u=o.Number;var d=o.Dimension;var p=43;var f=45;var h=110;var m=true;var g=false;function isDelim(e,t){return e!==null&&e.type===s&&e.value.charCodeAt(0)===t}function skipSC(e,t,r){while(e!==null&&(e.type===a||e.type===l)){e=r(++t)}return t}function checkInteger(e,t,r,i){if(!e){return 0}var o=e.value.charCodeAt(t);if(o===p||o===f){if(r){return 0}t++}for(;t{var n=r(61063).isHexDigit;var i=r(61063).cmpChar;var o=r(61063).TYPE;var s=o.Ident;var a=o.Delim;var l=o.Number;var c=o.Dimension;var u=43;var d=45;var p=63;var f=117;function isDelim(e,t){return e!==null&&e.type===a&&e.value.charCodeAt(0)===t}function startsWith(e,t){return e.value.charCodeAt(0)===t}function hexSequence(e,t,r){for(var i=t,o=0;i0){return 6}return 0}if(!n(s)){return 0}if(++o>6){return 0}}return o}function withQuestionMarkSequence(e,t,r){if(!e){return 0}while(isDelim(r(t),p)){if(++e>6){return 0}t++}return t}e.exports=function urange(e,t){var r=0;if(e===null||e.type!==s||!i(e.value,0,f)){return 0}e=t(++r);if(e===null){return 0}if(isDelim(e,u)){e=t(++r);if(e===null){return 0}if(e.type===s){return withQuestionMarkSequence(hexSequence(e,0,true),++r,t)}if(isDelim(e,p)){return withQuestionMarkSequence(1,++r,t)}return 0}if(e.type===l){if(!startsWith(e,u)){return 0}var n=hexSequence(e,1,true);if(n===0){return 0}e=t(++r);if(e===null){return r}if(e.type===c||e.type===l){if(!startsWith(e,d)||!hexSequence(e,1,false)){return 0}return r+1}return withQuestionMarkSequence(n,r,t)}if(e.type===c){if(!startsWith(e,u)){return 0}return withQuestionMarkSequence(hexSequence(e,1,true),++r,t)}return 0}},35548:(e,t,r)=>{var n=r(61063);var i=n.isIdentifierStart;var o=n.isHexDigit;var s=n.isDigit;var a=n.cmpStr;var l=n.consumeNumber;var c=n.TYPE;var u=r(23479);var d=r(77088);var p=["unset","initial","inherit"];var f=["calc(","-moz-calc(","-webkit-calc("];var h={px:true,mm:true,cm:true,in:true,pt:true,pc:true,q:true,em:true,ex:true,ch:true,rem:true,vh:true,vw:true,vmin:true,vmax:true,vm:true};var m={deg:true,grad:true,rad:true,turn:true};var g={s:true,ms:true};var y={hz:true,khz:true};var v={dpi:true,dpcm:true,dppx:true,x:true};var b={fr:true};var S={db:true};var w={st:true};function charCode(e,t){return te.max){return true}}return false}function consumeFunction(e,t){var r=e.index;var n=0;do{n++;if(e.balance<=r){break}}while(e=t(n));return n}function calc(e){return function(t,r,n){if(t===null){return 0}if(t.type===c.Function&&eqStrAny(t.value,f)){return consumeFunction(t,r)}return e(t,r,n)}}function tokenType(e){return function(t){if(t===null||t.type!==e){return 0}return 1}}function func(e){e=e+"(";return function(t,r){if(t!==null&&eqStr(t.value,e)){return consumeFunction(t,r)}return 0}}function customIdent(e){if(e===null||e.type!==c.Ident){return 0}var t=e.value.toLowerCase();if(eqStrAny(t,p)){return 0}if(eqStr(t,"default")){return 0}return 1}function customPropertyName(e){if(e===null||e.type!==c.Ident){return 0}if(charCode(e.value,0)!==45||charCode(e.value,1)!==45){return 0}return 1}function hexColor(e){if(e===null||e.type!==c.Hash){return 0}var t=e.value.length;if(t!==4&&t!==5&&t!==7&&t!==9){return 0}for(var r=1;re.index||e.balancee.index||e.balance{var n=r(81550);var i={type:"Match"};var o={type:"Mismatch"};var s={type:"DisallowEmpty"};var a=40;var l=41;function createCondition(e,t,r){if(t===i&&r===o){return e}if(e===i&&t===i&&r===i){return e}if(e.type==="If"&&e.else===o&&t===i){t=e.then;e=e.match}return{type:"If",match:e,then:t,else:r}}function isFunctionType(e){return e.length>2&&e.charCodeAt(e.length-2)===a&&e.charCodeAt(e.length-1)===l}function isEnumCapatible(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&isFunctionType(e.name)}function buildGroupMatchGraph(e,t,r){switch(e){case" ":var n=i;for(var s=t.length-1;s>=0;s--){var a=t[s];n=createCondition(a,n,o)};return n;case"|":var n=o;var l=null;for(var s=t.length-1;s>=0;s--){var a=t[s];if(isEnumCapatible(a)){if(l===null&&s>0&&isEnumCapatible(t[s-1])){l=Object.create(null);n=createCondition({type:"Enum",map:l},i,n)}if(l!==null){var c=(isFunctionType(a.name)?a.name.slice(0,-1):a.name).toLowerCase();if(c in l===false){l[c]=a;continue}}}l=null;n=createCondition(a,i,n)};return n;case"&&":if(t.length>5){return{type:"MatchOnce",terms:t,all:true}}var n=o;for(var s=t.length-1;s>=0;s--){var a=t[s];var u;if(t.length>1){u=buildGroupMatchGraph(e,t.filter(function(e){return e!==a}),false)}else{u=i}n=createCondition(a,u,n)};return n;case"||":if(t.length>5){return{type:"MatchOnce",terms:t,all:false}}var n=r?i:o;for(var s=t.length-1;s>=0;s--){var a=t[s];var u;if(t.length>1){u=buildGroupMatchGraph(e,t.filter(function(e){return e!==a}),true)}else{u=i}n=createCondition(a,u,n)};return n}}function buildMultiplierMatchGraph(e){var t=i;var r=buildMatchGraph(e.term);if(e.max===0){r=createCondition(r,s,o);t=createCondition(r,null,o);t.then=createCondition(i,i,t);if(e.comma){t.then.else=createCondition({type:"Comma",syntax:e},t,o)}}else{for(var n=e.min||1;n<=e.max;n++){if(e.comma&&t!==i){t=createCondition({type:"Comma",syntax:e},t,o)}t=createCondition(r,createCondition(i,i,t),o)}}if(e.min===0){t=createCondition(i,i,t)}else{for(var n=0;n{var n=Object.prototype.hasOwnProperty;var i=r(86106);var o=i.MATCH;var s=i.MISMATCH;var a=i.DISALLOW_EMPTY;var l=r(21713).TYPE;var c=0;var u=1;var d=2;var p=3;var f="Match";var h="Mismatch";var m="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)";var g=15e3;var y=0;function reverseList(e){var t=null;var r=null;var n=e;while(n!==null){r=n.prev;n.prev=t;t=n;n=r}return t}function areStringsEqualCaseInsensitive(e,t){if(e.length!==t.length){return false}for(var r=0;r=65&&n<=90){n=n|32}if(n!==i){return false}}return true}function isCommaContextStart(e){if(e===null){return true}return e.type===l.Comma||e.type===l.Function||e.type===l.LeftParenthesis||e.type===l.LeftSquareBracket||e.type===l.LeftCurlyBracket||e.type===l.Delim}function isCommaContextEnd(e){if(e===null){return true}return e.type===l.RightParenthesis||e.type===l.RightSquareBracket||e.type===l.RightCurlyBracket||e.type===l.Delim}function internalMatch(e,t,r){function moveToNextToken(){do{k++;C=kT){T=k}}function openSyntax(){i={syntax:t.syntax,opts:t.syntax.opts||i!==null&&i.opts||null,prev:i};E={type:d,syntax:t.syntax,token:E.token,prev:E}}function closeSyntax(){if(E.type===d){E=E.prev}else{E={type:p,syntax:i.syntax,token:E.token,prev:E}}i=i.prev}var i=null;var v=null;var b=null;var S=null;var w=0;var x=null;var C=null;var k=-1;var T=0;var E={type:c,syntax:null,token:null,prev:null};moveToNextToken();while(x===null&&++wb.tokenIndex){b=S;S=false}}else if(b===null){x=h;break}t=b.nextState;v=b.thenStack;i=b.syntaxStack;E=b.matchStack;k=b.tokenIndex;C=kk){while(k":"<'"+t.name+"'>"))}if(S!==false&&C!==null&&t.type==="Type"){var M=t.name==="custom-ident"&&C.type===l.Ident||t.name==="length"&&C.value==="0";if(M){if(S===null){S=stateSnapshotFromSyntax(t,b)}t=s;break}}openSyntax();t=L.match;break;case"Keyword":var A=t.name;if(C!==null){var W=C.value;if(W.indexOf("\\")!==-1){W=W.replace(/\\[09].*$/,"")}if(areStringsEqualCaseInsensitive(W,A)){addTokenToMatch();t=o;break}}t=s;break;case"AtKeyword":case"Function":if(C!==null&&areStringsEqualCaseInsensitive(C.value,t.name)){addTokenToMatch();t=o;break}t=s;break;case"Token":if(C!==null&&C.value===t.value){addTokenToMatch();t=o;break}t=s;break;case"Comma":if(C!==null&&C.type===l.Comma){if(isCommaContextStart(E.token)){t=s}else{addTokenToMatch();t=isCommaContextEnd(C)?s:o}}else{t=isCommaContextStart(E.token)||isCommaContextEnd(C)?o:s}break;case"String":var B="";for(var z=k;z{var n=r(61063);var i=r(83058);var o=new i;var s={decorator:function(e){var t=null;var r={len:0,node:null};var n=[r];var i="";return{children:e.children,node:function(r){var n=t;t=r;e.node.call(this,r);t=n},chunk:function(e){i+=e;if(r.node!==t){n.push({len:e.length,node:t})}else{r.len+=e.length}},result:function(){return prepareTokens(i,n)}}}};function prepareTokens(e,t){var r=[];var i=0;var s=0;var a=t?t[s].node:null;n(e,o);while(!o.eof){if(t){while(s{var n=r(5355);function getFirstMatchNode(e){if("node"in e){return e.node}return getFirstMatchNode(e.match[0])}function getLastMatchNode(e){if("node"in e){return e.node}return getLastMatchNode(e.match[e.match.length-1])}function matchFragments(e,t,r,i,o){function findFragments(r){if(r.syntax!==null&&r.syntax.type===i&&r.syntax.name===o){var a=getFirstMatchNode(r);var l=getLastMatchNode(r);e.syntax.walk(t,function(e,t,r){if(e===a){var i=new n;do{i.appendData(t.data);if(t.data===l){break}t=t.next}while(t!==null);s.push({parent:r,nodes:i})}})}if(Array.isArray(r.match)){r.match.forEach(findFragments)}}var s=[];if(r.matched!==null){findFragments(r.matched)}return s}e.exports={matchFragments:matchFragments}},25791:(e,t,r)=>{var n=r(5355);var i=Object.prototype.hasOwnProperty;function isValidNumber(e){return typeof e==="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function isValidLocation(e){return Boolean(e)&&isValidNumber(e.offset)&&isValidNumber(e.line)&&isValidNumber(e.column)}function createNodeStructureChecker(e,t){return function checkNode(r,o){if(!r||r.constructor!==Object){return o(r,"Type of node should be an Object")}for(var s in r){var a=true;if(i.call(r,s)===false){continue}if(s==="type"){if(r.type!==e){o(r,"Wrong node type `"+r.type+"`, expected `"+e+"`")}}else if(s==="loc"){if(r.loc===null){continue}else if(r.loc&&r.loc.constructor===Object){if(typeof r.loc.source!=="string"){s+=".source"}else if(!isValidLocation(r.loc.start)){s+=".start"}else if(!isValidLocation(r.loc.end)){s+=".end"}else{continue}}a=false}else if(t.hasOwnProperty(s)){for(var l=0,a=false;!a&&l")}else if(Array.isArray(u)){a.push("List")}else{throw new Error("Wrong value `"+u+"` in `"+e+"."+s+"` structure definition")}}o[s]=a.join(" | ")}return{docs:o,check:createNodeStructureChecker(e,n)}}e.exports={getStructureFromConfig:function(e){var t={};if(e.node){for(var r in e.node){if(i.call(e.node,r)){var n=e.node[r];if(n.structure){t[r]=processStructure(r,n)}else{throw new Error("Missed `structure` field in `"+r+"` node type definition")}}}}return t}}},29833:e=>{function getTrace(e){function shouldPutToTrace(e){if(e===null){return false}return e.type==="Type"||e.type==="Property"||e.type==="Keyword"}function hasMatch(r){if(Array.isArray(r.match)){for(var n=0;n{var n=r(70404);var i=r(51708);var o=r(83058);var s=r(5355);var a=r(61063);var l=r(21713);var c=r(86716).findWhiteSpaceStart;var u=r(27190);var d=function(){};var p=l.TYPE;var f=l.NAME;var h=p.WhiteSpace;var m=p.Ident;var g=p.Function;var y=p.Url;var v=p.Hash;var b=p.Percentage;var S=p.Number;var w=35;var x=0;function createParseContext(e){return function(){return this[e]()}}function processConfig(e){var t={context:{},scope:{},atrule:{},pseudo:{}};if(e.parseContext){for(var r in e.parseContext){switch(typeof e.parseContext[r]){case"function":t.context[r]=e.parseContext[r];break;case"string":t.context[r]=createParseContext(e.parseContext[r]);break}}}if(e.scope){for(var r in e.scope){t.scope[r]=e.scope[r]}}if(e.atrule){for(var r in e.atrule){var n=e.atrule[r];if(n.parse){t.atrule[r]=n.parse}}}if(e.pseudo){for(var r in e.pseudo){var i=e.pseudo[r];if(i.parse){t.pseudo[r]=i.parse}}}if(e.node){for(var r in e.node){t[r]=e.node[r].parse}}return t}e.exports=function createParser(e){var t={scanner:new o,locationMap:new n,filename:"",needPositions:false,onParseError:d,onParseErrorThrow:false,parseAtrulePrelude:true,parseRulePrelude:true,parseValue:true,parseCustomProperty:false,readSequence:u,createList:function(){return new s},createSingleNodeList:function(e){return(new s).appendData(e)},getFirstListNode:function(e){return e&&e.first()},getLastListNode:function(e){return e.last()},parseWithFallback:function(e,t){var r=this.scanner.tokenIndex;try{return e.call(this)}catch(e){if(this.onParseErrorThrow){throw e}var n=t.call(this,r);this.onParseErrorThrow=true;this.onParseError(e,n);this.onParseErrorThrow=false;return n}},lookupNonWSType:function(e){do{var t=this.scanner.lookupType(e++);if(t!==h){return t}}while(t!==x);return x},eat:function(e){if(this.scanner.tokenType!==e){var t=this.scanner.tokenStart;var r=f[e]+" is expected";switch(e){case m:if(this.scanner.tokenType===g||this.scanner.tokenType===y){t=this.scanner.tokenEnd-1;r="Identifier is expected but function found"}else{r="Identifier is expected"}break;case v:if(this.scanner.isDelim(w)){this.scanner.next();t++;r="Name is expected"}break;case b:if(this.scanner.tokenType===S){t=this.scanner.tokenEnd;r="Percent sign is expected"}break;default:if(this.scanner.source.charCodeAt(this.scanner.tokenStart)===e){t=t+1}}this.error(r,t)}this.scanner.next()},consume:function(e){var t=this.scanner.getTokenValue();this.eat(e);return t},consumeFunctionName:function(){var e=this.scanner.source.substring(this.scanner.tokenStart,this.scanner.tokenEnd-1);this.eat(g);return e},getLocation:function(e,t){if(this.needPositions){return this.locationMap.getLocationRange(e,t,this.filename)}return null},getLocationFromList:function(e){if(this.needPositions){var t=this.getFirstListNode(e);var r=this.getLastListNode(e);return this.locationMap.getLocationRange(t!==null?t.loc.start.offset-this.locationMap.startOffset:this.scanner.tokenStart,r!==null?r.loc.end.offset-this.locationMap.startOffset:this.scanner.tokenStart,this.filename)}return null},error:function(e,t){var r=typeof t!=="undefined"&&t";t.needPositions=Boolean(r.positions);t.onParseError=typeof r.onParseError==="function"?r.onParseError:d;t.onParseErrorThrow=false;t.parseAtrulePrelude="parseAtrulePrelude"in r?Boolean(r.parseAtrulePrelude):true;t.parseRulePrelude="parseRulePrelude"in r?Boolean(r.parseRulePrelude):true;t.parseValue="parseValue"in r?Boolean(r.parseValue):true;t.parseCustomProperty="parseCustomProperty"in r?Boolean(r.parseCustomProperty):false;if(!t.context.hasOwnProperty(n)){throw new Error("Unknown context `"+n+"`")}i=t.context[n].call(t,r);if(!t.scanner.eof){t.error()}return i}}},27190:(e,t,r)=>{var n=r(61063).TYPE;var i=n.WhiteSpace;var o=n.Comment;e.exports=function readSequence(e){var t=this.createList();var r=null;var n={recognizer:e,space:null,ignoreWS:false,ignoreWSAfter:false};this.scanner.skipSC();while(!this.scanner.eof){switch(this.scanner.tokenType){case o:this.scanner.next();continue;case i:if(n.ignoreWS){this.scanner.next()}else{n.space=this.WhiteSpace()}continue}r=e.getNode.call(this,n);if(r===undefined){break}if(n.space!==null){t.push(n.space);n.space=null}t.push(r);if(n.ignoreWSAfter){n.ignoreWSAfter=false;n.ignoreWS=true}else{n.ignoreWS=false}}return t}},91849:e=>{e.exports={parse:{prelude:null,block:function(){return this.Block(true)}}}},29864:(e,t,r)=>{var n=r(61063).TYPE;var i=n.String;var o=n.Ident;var s=n.Url;var a=n.Function;var l=n.LeftParenthesis;e.exports={parse:{prelude:function(){var e=this.createList();this.scanner.skipSC();switch(this.scanner.tokenType){case i:e.push(this.String());break;case s:case a:e.push(this.Url());break;default:this.error("String or url() is expected")}if(this.lookupNonWSType(0)===o||this.lookupNonWSType(0)===l){e.push(this.WhiteSpace());e.push(this.MediaQueryList())}return e},block:null}}},20264:(e,t,r)=>{e.exports={"font-face":r(91849),import:r(29864),media:r(16258),page:r(46661),supports:r(19901)}},16258:e=>{e.exports={parse:{prelude:function(){return this.createSingleNodeList(this.MediaQueryList())},block:function(){return this.Block(false)}}}},46661:e=>{e.exports={parse:{prelude:function(){return this.createSingleNodeList(this.SelectorList())},block:function(){return this.Block(true)}}}},19901:(e,t,r)=>{var n=r(61063).TYPE;var i=n.WhiteSpace;var o=n.Comment;var s=n.Ident;var a=n.Function;var l=n.Colon;var c=n.LeftParenthesis;function consumeRaw(){return this.createSingleNodeList(this.Raw(this.scanner.tokenIndex,null,false))}function parentheses(){this.scanner.skipSC();if(this.scanner.tokenType===s&&this.lookupNonWSType(1)===l){return this.createSingleNodeList(this.Declaration())}return readSequence.call(this)}function readSequence(){var e=this.createList();var t=null;var r;this.scanner.skipSC();e:while(!this.scanner.eof){switch(this.scanner.tokenType){case i:t=this.WhiteSpace();continue;case o:this.scanner.next();continue;case a:r=this.Function(consumeRaw,this.scope.AtrulePrelude);break;case s:r=this.Identifier();break;case c:r=this.Parentheses(parentheses,this.scope.AtrulePrelude);break;default:break e}if(t!==null){e.push(t);t=null}e.push(r)}return e}e.exports={parse:{prelude:function(){var e=readSequence.call(this);if(this.getFirstListNode(e)===null){this.error("Condition is expected")}return e},block:function(){return this.Block(false)}}}},87526:(e,t,r)=>{var n=r(26577);e.exports={generic:true,types:n.types,properties:n.properties,node:r(85369)}},88845:e=>{var t=Object.prototype.hasOwnProperty;var r={generic:true,types:{},properties:{},parseContext:{},scope:{},atrule:["parse"],pseudo:["parse"],node:["name","structure","parse","generate","walkContext"]};function isObject(e){return e&&e.constructor===Object}function copy(e){if(isObject(e)){var r={};for(var n in e){if(t.call(e,n)){r[n]=e[n]}}return r}else{return e}}function extend(e,r){for(var n in r){if(t.call(r,n)){if(isObject(e[n])){extend(e[n],copy(r[n]))}else{e[n]=copy(r[n])}}}}function mix(e,r,n){for(var i in n){if(t.call(n,i)===false){continue}if(n[i]===true){if(i in r){if(t.call(r,i)){e[i]=copy(r[i])}}}else if(n[i]){if(isObject(n[i])){var o={};extend(o,e[i]);extend(o,r[i]);e[i]=o}else if(Array.isArray(n[i])){var o={};var s=n[i].reduce(function(e,t){e[t]=true;return e},{});for(var a in e[i]){if(t.call(e[i],a)){o[a]={};if(e[i]&&e[i][a]){mix(o[a],e[i][a],s)}}}for(var a in r[i]){if(t.call(r[i],a)){if(!o[a]){o[a]={}}if(r[i]&&r[i][a]){mix(o[a],r[i][a],s)}}}e[i]=o}}}return e}e.exports=function(e,t){return mix(e,t,r)}},46808:(e,t,r)=>{e.exports={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude:function(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",rule:"Rule",selectorList:"SelectorList",selector:"Selector",block:function(){return this.Block(true)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},scope:r(38141),atrule:r(20264),pseudo:r(69302),node:r(85369)}},50997:(e,t,r)=>{e.exports={node:r(85369)}},66330:(e,t,r)=>{var n=r(5355);var i=r(51708);var o=r(83058);var s=r(42164);var a=r(98333);var l=r(61063);var c=r(40283);var u=r(31010);var d=r(57208);var p=r(87760);var f=r(55933);var h=r(87453);var m=r(88845);function assign(e,t){for(var r in t){e[r]=t[r]}return e}function createSyntax(e){var t=c(e);var r=p(e);var g=u(e);var y=d(r);var v={List:n,SyntaxError:i,TokenStream:o,Lexer:s,vendorPrefix:h.vendorPrefix,keyword:h.keyword,property:h.property,isCustomProperty:h.isCustomProperty,definitionSyntax:a,lexer:null,createLexer:function(e){return new s(e,v,v.lexer.structure)},tokenize:l,parse:t,walk:r,generate:g,find:r.find,findLast:r.findLast,findAll:r.findAll,clone:f,fromPlainObject:y.fromPlainObject,toPlainObject:y.toPlainObject,createSyntax:function(e){return createSyntax(m({},e))},fork:function(t){var r=m({},e);return createSyntax(typeof t==="function"?t(r,assign):m(r,t))}};v.lexer=new s({generic:true,types:e.types,properties:e.properties,node:e.node},v);return v}t.create=function(e){return createSyntax(m({},e))}},59537:e=>{e.exports=function(){this.scanner.skipSC();var e=this.createSingleNodeList(this.IdSelector());this.scanner.skipSC();return e}},21264:e=>{e.exports=function(){return this.createSingleNodeList(this.Raw(this.scanner.tokenIndex,null,false))}},88036:(e,t,r)=>{var n=r(61063).TYPE;var i=r(18204).mode;var o=n.Comma;e.exports=function(){var e=this.createList();this.scanner.skipSC();e.push(this.Identifier());this.scanner.skipSC();if(this.scanner.tokenType===o){e.push(this.Operator());e.push(this.parseCustomProperty?this.Value(null):this.Raw(this.scanner.tokenIndex,i.exclamationMarkOrSemicolon,false))}return e}},30826:(e,t,r)=>{function merge(){var e={};for(var t=0;t{var n=r(61063).cmpChar;var i=r(61063).isDigit;var o=r(61063).TYPE;var s=o.WhiteSpace;var a=o.Comment;var l=o.Ident;var c=o.Number;var u=o.Dimension;var d=43;var p=45;var f=110;var h=true;var m=false;function checkInteger(e,t){var r=this.scanner.tokenStart+e;var n=this.scanner.source.charCodeAt(r);if(n===d||n===p){if(t){this.error("Number sign is not allowed")}r++}for(;r0){this.scanner.skip(e)}if(t===0){r=this.scanner.source.charCodeAt(this.scanner.tokenStart);if(r!==d&&r!==p){this.error("Number sign is expected")}}checkTokenIsInteger.call(this,t!==0);return t===p?"-"+this.consume(c):this.consume(c)}e.exports={name:"AnPlusB",structure:{a:[String,null],b:[String,null]},parse:function(){var e=this.scanner.tokenStart;var t=null;var r=null;if(this.scanner.tokenType===c){checkTokenIsInteger.call(this,m);r=this.consume(c)}else if(this.scanner.tokenType===l&&n(this.scanner.source,this.scanner.tokenStart,p)){t="-1";expectCharCode.call(this,1,f);switch(this.scanner.getTokenLength()){case 2:this.scanner.next();r=consumeB.call(this);break;case 3:expectCharCode.call(this,2,p);this.scanner.next();this.scanner.skipSC();checkTokenIsInteger.call(this,h);r="-"+this.consume(c);break;default:expectCharCode.call(this,2,p);checkInteger.call(this,3,h);this.scanner.next();r=this.scanner.substrToCursor(e+2)}}else if(this.scanner.tokenType===l||this.scanner.isDelim(d)&&this.scanner.lookupType(1)===l){var o=0;t="1";if(this.scanner.isDelim(d)){o=1;this.scanner.next()}expectCharCode.call(this,0,f);switch(this.scanner.getTokenLength()){case 1:this.scanner.next();r=consumeB.call(this);break;case 2:expectCharCode.call(this,1,p);this.scanner.next();this.scanner.skipSC();checkTokenIsInteger.call(this,h);r="-"+this.consume(c);break;default:expectCharCode.call(this,1,p);checkInteger.call(this,2,h);this.scanner.next();r=this.scanner.substrToCursor(e+o+1)}}else if(this.scanner.tokenType===u){var s=this.scanner.source.charCodeAt(this.scanner.tokenStart);var o=s===d||s===p;for(var a=this.scanner.tokenStart+o;a{var n=r(61063).TYPE;var i=r(18204).mode;var o=n.AtKeyword;var s=n.Semicolon;var a=n.LeftCurlyBracket;var l=n.RightCurlyBracket;function consumeRaw(e){return this.Raw(e,i.leftCurlyBracketOrSemicolon,true)}function isDeclarationBlockAtrule(){for(var e=1,t;t=this.scanner.lookupType(e);e++){if(t===l){return true}if(t===a||t===o){return false}}return false}e.exports={name:"Atrule",structure:{name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]},parse:function(){var e=this.scanner.tokenStart;var t;var r;var n=null;var i=null;this.eat(o);t=this.scanner.substrToCursor(e+1);r=t.toLowerCase();this.scanner.skipSC();if(this.scanner.eof===false&&this.scanner.tokenType!==a&&this.scanner.tokenType!==s){if(this.parseAtrulePrelude){n=this.parseWithFallback(this.AtrulePrelude.bind(this,t),consumeRaw);if(n.type==="AtrulePrelude"&&n.children.head===null){n=null}}else{n=consumeRaw.call(this,this.scanner.tokenIndex)}this.scanner.skipSC()}switch(this.scanner.tokenType){case s:this.scanner.next();break;case a:if(this.atrule.hasOwnProperty(r)&&typeof this.atrule[r].block==="function"){i=this.atrule[r].block.call(this)}else{i=this.Block(isDeclarationBlockAtrule.call(this))}break}return{type:"Atrule",loc:this.getLocation(e,this.scanner.tokenStart),name:t,prelude:n,block:i}},generate:function(e){this.chunk("@");this.chunk(e.name);if(e.prelude!==null){this.chunk(" ");this.node(e.prelude)}if(e.block){this.node(e.block)}else{this.chunk(";")}},walkContext:"atrule"}},24272:(e,t,r)=>{var n=r(61063).TYPE;var i=n.Semicolon;var o=n.LeftCurlyBracket;e.exports={name:"AtrulePrelude",structure:{children:[[]]},parse:function(e){var t=null;if(e!==null){e=e.toLowerCase()}this.scanner.skipSC();if(this.atrule.hasOwnProperty(e)&&typeof this.atrule[e].prelude==="function"){t=this.atrule[e].prelude.call(this)}else{t=this.readSequence(this.scope.AtrulePrelude)}this.scanner.skipSC();if(this.scanner.eof!==true&&this.scanner.tokenType!==o&&this.scanner.tokenType!==i){this.error("Semicolon or block is expected")}if(t===null){t=this.createList()}return{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}},generate:function(e){this.children(e)},walkContext:"atrulePrelude"}},33434:(e,t,r)=>{var n=r(61063).TYPE;var i=n.Ident;var o=n.String;var s=n.Colon;var a=n.LeftSquareBracket;var l=n.RightSquareBracket;var c=36;var u=42;var d=61;var p=94;var f=124;var h=126;function getAttributeName(){if(this.scanner.eof){this.error("Unexpected end of input")}var e=this.scanner.tokenStart;var t=false;var r=true;if(this.scanner.isDelim(u)){t=true;r=false;this.scanner.next()}else if(!this.scanner.isDelim(f)){this.eat(i)}if(this.scanner.isDelim(f)){if(this.scanner.source.charCodeAt(this.scanner.tokenStart+1)!==d){this.scanner.next();this.eat(i)}else if(t){this.error("Identifier is expected",this.scanner.tokenEnd)}}else if(t){this.error("Vertical line is expected")}if(r&&this.scanner.tokenType===s){this.scanner.next();this.eat(i)}return{type:"Identifier",loc:this.getLocation(e,this.scanner.tokenStart),name:this.scanner.substrToCursor(e)}}function getOperator(){var e=this.scanner.tokenStart;var t=this.scanner.source.charCodeAt(e);if(t!==d&&t!==h&&t!==p&&t!==c&&t!==u&&t!==f){this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected")}this.scanner.next();if(t!==d){if(!this.scanner.isDelim(d)){this.error("Equal sign is expected")}this.scanner.next()}return this.scanner.substrToCursor(e)}e.exports={name:"AttributeSelector",structure:{name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]},parse:function(){var e=this.scanner.tokenStart;var t;var r=null;var n=null;var s=null;this.eat(a);this.scanner.skipSC();t=getAttributeName.call(this);this.scanner.skipSC();if(this.scanner.tokenType!==l){if(this.scanner.tokenType!==i){r=getOperator.call(this);this.scanner.skipSC();n=this.scanner.tokenType===o?this.String():this.Identifier();this.scanner.skipSC()}if(this.scanner.tokenType===i){s=this.scanner.getTokenValue();this.scanner.next();this.scanner.skipSC()}}this.eat(l);return{type:"AttributeSelector",loc:this.getLocation(e,this.scanner.tokenStart),name:t,matcher:r,value:n,flags:s}},generate:function(e){var t=" ";this.chunk("[");this.node(e.name);if(e.matcher!==null){this.chunk(e.matcher);if(e.value!==null){this.node(e.value);if(e.value.type==="String"){t=""}}}if(e.flags!==null){this.chunk(t);this.chunk(e.flags)}this.chunk("]")}}},5163:(e,t,r)=>{var n=r(61063).TYPE;var i=r(18204).mode;var o=n.WhiteSpace;var s=n.Comment;var a=n.Semicolon;var l=n.AtKeyword;var c=n.LeftCurlyBracket;var u=n.RightCurlyBracket;function consumeRaw(e){return this.Raw(e,null,true)}function consumeRule(){return this.parseWithFallback(this.Rule,consumeRaw)}function consumeRawDeclaration(e){return this.Raw(e,i.semicolonIncluded,true)}function consumeDeclaration(){if(this.scanner.tokenType===a){return consumeRawDeclaration.call(this,this.scanner.tokenIndex)}var e=this.parseWithFallback(this.Declaration,consumeRawDeclaration);if(this.scanner.tokenType===a){this.scanner.next()}return e}e.exports={name:"Block",structure:{children:[["Atrule","Rule","Declaration"]]},parse:function(e){var t=e?consumeDeclaration:consumeRule;var r=this.scanner.tokenStart;var n=this.createList();this.eat(c);e:while(!this.scanner.eof){switch(this.scanner.tokenType){case u:break e;case o:case s:this.scanner.next();break;case l:n.push(this.parseWithFallback(this.Atrule,consumeRaw));break;default:n.push(t.call(this))}}if(!this.scanner.eof){this.eat(u)}return{type:"Block",loc:this.getLocation(r,this.scanner.tokenStart),children:n}},generate:function(e){this.chunk("{");this.children(e,function(e){if(e.type==="Declaration"){this.chunk(";")}});this.chunk("}")},walkContext:"block"}},96809:(e,t,r)=>{var n=r(61063).TYPE;var i=n.LeftSquareBracket;var o=n.RightSquareBracket;e.exports={name:"Brackets",structure:{children:[[]]},parse:function(e,t){var r=this.scanner.tokenStart;var n=null;this.eat(i);n=e.call(this,t);if(!this.scanner.eof){this.eat(o)}return{type:"Brackets",loc:this.getLocation(r,this.scanner.tokenStart),children:n}},generate:function(e){this.chunk("[");this.children(e);this.chunk("]")}}},4351:(e,t,r)=>{var n=r(61063).TYPE.CDC;e.exports={name:"CDC",structure:[],parse:function(){var e=this.scanner.tokenStart;this.eat(n);return{type:"CDC",loc:this.getLocation(e,this.scanner.tokenStart)}},generate:function(){this.chunk("--\x3e")}}},37691:(e,t,r)=>{var n=r(61063).TYPE.CDO;e.exports={name:"CDO",structure:[],parse:function(){var e=this.scanner.tokenStart;this.eat(n);return{type:"CDO",loc:this.getLocation(e,this.scanner.tokenStart)}},generate:function(){this.chunk("\x3c!--")}}},79058:(e,t,r)=>{var n=r(61063).TYPE;var i=n.Ident;var o=46;e.exports={name:"ClassSelector",structure:{name:String},parse:function(){if(!this.scanner.isDelim(o)){this.error("Full stop is expected")}this.scanner.next();return{type:"ClassSelector",loc:this.getLocation(this.scanner.tokenStart-1,this.scanner.tokenEnd),name:this.consume(i)}},generate:function(e){this.chunk(".");this.chunk(e.name)}}},70654:(e,t,r)=>{var n=r(61063).TYPE;var i=n.Ident;var o=43;var s=47;var a=62;var l=126;e.exports={name:"Combinator",structure:{name:String},parse:function(){var e=this.scanner.tokenStart;var t=this.scanner.source.charCodeAt(this.scanner.tokenStart);switch(t){case a:case o:case l:this.scanner.next();break;case s:this.scanner.next();if(this.scanner.tokenType!==i||this.scanner.lookupValue(0,"deep")===false){this.error("Identifier `deep` is expected")}this.scanner.next();if(!this.scanner.isDelim(s)){this.error("Solidus is expected")}this.scanner.next();break;default:this.error("Combinator is expected")}return{type:"Combinator",loc:this.getLocation(e,this.scanner.tokenStart),name:this.scanner.substrToCursor(e)}},generate:function(e){this.chunk(e.name)}}},24602:(e,t,r)=>{var n=r(61063).TYPE;var i=n.Comment;var o=42;var s=47;e.exports={name:"Comment",structure:{value:String},parse:function(){var e=this.scanner.tokenStart;var t=this.scanner.tokenEnd;this.eat(i);if(t-e+2>=2&&this.scanner.source.charCodeAt(t-2)===o&&this.scanner.source.charCodeAt(t-1)===s){t-=2}return{type:"Comment",loc:this.getLocation(e,this.scanner.tokenStart),value:this.scanner.source.substring(e+2,t)}},generate:function(e){this.chunk("/*");this.chunk(e.value);this.chunk("*/")}}},25826:(e,t,r)=>{var n=r(87453).isCustomProperty;var i=r(61063).TYPE;var o=r(18204).mode;var s=i.Ident;var a=i.Hash;var l=i.Colon;var c=i.Semicolon;var u=i.Delim;var d=33;var p=35;var f=36;var h=38;var m=42;var g=43;var y=47;function consumeValueRaw(e){return this.Raw(e,o.exclamationMarkOrSemicolon,true)}function consumeCustomPropertyRaw(e){return this.Raw(e,o.exclamationMarkOrSemicolon,false)}function consumeValue(){var e=this.scanner.tokenIndex;var t=this.Value();if(t.type!=="Raw"&&this.scanner.eof===false&&this.scanner.tokenType!==c&&this.scanner.isDelim(d)===false&&this.scanner.isBalanceEdge(e)===false){this.error()}return t}e.exports={name:"Declaration",structure:{important:[Boolean,String],property:String,value:["Value","Raw"]},parse:function(){var e=this.scanner.tokenStart;var t=this.scanner.tokenIndex;var r=readProperty.call(this);var i=n(r);var o=i?this.parseCustomProperty:this.parseValue;var s=i?consumeCustomPropertyRaw:consumeValueRaw;var a=false;var u;this.scanner.skipSC();this.eat(l);if(!i){this.scanner.skipSC()}if(o){u=this.parseWithFallback(consumeValue,s)}else{u=s.call(this,this.scanner.tokenIndex)}if(this.scanner.isDelim(d)){a=getImportant.call(this);this.scanner.skipSC()}if(this.scanner.eof===false&&this.scanner.tokenType!==c&&this.scanner.isBalanceEdge(t)===false){this.error()}return{type:"Declaration",loc:this.getLocation(e,this.scanner.tokenStart),important:a,property:r,value:u}},generate:function(e){this.chunk(e.property);this.chunk(":");this.node(e.value);if(e.important){this.chunk(e.important===true?"!important":"!"+e.important)}},walkContext:"declaration"};function readProperty(){var e=this.scanner.tokenStart;var t=0;if(this.scanner.tokenType===u){switch(this.scanner.source.charCodeAt(this.scanner.tokenStart)){case m:case f:case g:case p:case h:this.scanner.next();break;case y:this.scanner.next();if(this.scanner.isDelim(y)){this.scanner.next()}break}}if(t){this.scanner.skip(t)}if(this.scanner.tokenType===a){this.eat(a)}else{this.eat(s)}return this.scanner.substrToCursor(e)}function getImportant(){this.eat(u);this.scanner.skipSC();var e=this.consume(s);return e==="important"?true:e}},61695:(e,t,r)=>{var n=r(61063).TYPE;var i=r(18204).mode;var o=n.WhiteSpace;var s=n.Comment;var a=n.Semicolon;function consumeRaw(e){return this.Raw(e,i.semicolonIncluded,true)}e.exports={name:"DeclarationList",structure:{children:[["Declaration"]]},parse:function(){var e=this.createList();e:while(!this.scanner.eof){switch(this.scanner.tokenType){case o:case s:case a:this.scanner.next();break;default:e.push(this.parseWithFallback(this.Declaration,consumeRaw))}}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}},generate:function(e){this.children(e,function(e){if(e.type==="Declaration"){this.chunk(";")}})}}},92058:(e,t,r)=>{var n=r(86716).consumeNumber;var i=r(61063).TYPE;var o=i.Dimension;e.exports={name:"Dimension",structure:{value:String,unit:String},parse:function(){var e=this.scanner.tokenStart;var t=n(this.scanner.source,e);this.eat(o);return{type:"Dimension",loc:this.getLocation(e,this.scanner.tokenStart),value:this.scanner.source.substring(e,t),unit:this.scanner.source.substring(t,this.scanner.tokenStart)}},generate:function(e){this.chunk(e.value);this.chunk(e.unit)}}},59346:(e,t,r)=>{var n=r(61063).TYPE;var i=n.RightParenthesis;e.exports={name:"Function",structure:{name:String,children:[[]]},parse:function(e,t){var r=this.scanner.tokenStart;var n=this.consumeFunctionName();var o=n.toLowerCase();var s;s=t.hasOwnProperty(o)?t[o].call(this,t):e.call(this,t);if(!this.scanner.eof){this.eat(i)}return{type:"Function",loc:this.getLocation(r,this.scanner.tokenStart),name:n,children:s}},generate:function(e){this.chunk(e.name);this.chunk("(");this.children(e);this.chunk(")")},walkContext:"function"}},44938:(e,t,r)=>{var n=r(61063).TYPE;var i=n.Hash;e.exports={name:"HexColor",structure:{value:String},parse:function(){var e=this.scanner.tokenStart;this.eat(i);return{type:"HexColor",loc:this.getLocation(e,this.scanner.tokenStart),value:this.scanner.substrToCursor(e+1)}},generate:function(e){this.chunk("#");this.chunk(e.value)}}},43374:(e,t,r)=>{var n=r(61063).TYPE;var i=n.Hash;e.exports={name:"IdSelector",structure:{name:String},parse:function(){var e=this.scanner.tokenStart;this.eat(i);return{type:"IdSelector",loc:this.getLocation(e,this.scanner.tokenStart),name:this.scanner.substrToCursor(e+1)}},generate:function(e){this.chunk("#");this.chunk(e.name)}}},70162:(e,t,r)=>{var n=r(61063).TYPE;var i=n.Ident;e.exports={name:"Identifier",structure:{name:String},parse:function(){return{type:"Identifier",loc:this.getLocation(this.scanner.tokenStart,this.scanner.tokenEnd),name:this.consume(i)}},generate:function(e){this.chunk(e.name)}}},15983:(e,t,r)=>{var n=r(61063).TYPE;var i=n.Ident;var o=n.Number;var s=n.Dimension;var a=n.LeftParenthesis;var l=n.RightParenthesis;var c=n.Colon;var u=n.Delim;e.exports={name:"MediaFeature",structure:{name:String,value:["Identifier","Number","Dimension","Ratio",null]},parse:function(){var e=this.scanner.tokenStart;var t;var r=null;this.eat(a);this.scanner.skipSC();t=this.consume(i);this.scanner.skipSC();if(this.scanner.tokenType!==l){this.eat(c);this.scanner.skipSC();switch(this.scanner.tokenType){case o:if(this.lookupNonWSType(1)===u){r=this.Ratio()}else{r=this.Number()}break;case s:r=this.Dimension();break;case i:r=this.Identifier();break;default:this.error("Number, dimension, ratio or identifier is expected")}this.scanner.skipSC()}this.eat(l);return{type:"MediaFeature",loc:this.getLocation(e,this.scanner.tokenStart),name:t,value:r}},generate:function(e){this.chunk("(");this.chunk(e.name);if(e.value!==null){this.chunk(":");this.node(e.value)}this.chunk(")")}}},41981:(e,t,r)=>{var n=r(61063).TYPE;var i=n.WhiteSpace;var o=n.Comment;var s=n.Ident;var a=n.LeftParenthesis;e.exports={name:"MediaQuery",structure:{children:[["Identifier","MediaFeature","WhiteSpace"]]},parse:function(){this.scanner.skipSC();var e=this.createList();var t=null;var r=null;e:while(!this.scanner.eof){switch(this.scanner.tokenType){case o:this.scanner.next();continue;case i:r=this.WhiteSpace();continue;case s:t=this.Identifier();break;case a:t=this.MediaFeature();break;default:break e}if(r!==null){e.push(r);r=null}e.push(t)}if(t===null){this.error("Identifier or parenthesis is expected")}return{type:"MediaQuery",loc:this.getLocationFromList(e),children:e}},generate:function(e){this.children(e)}}},94791:(e,t,r)=>{var n=r(61063).TYPE.Comma;e.exports={name:"MediaQueryList",structure:{children:[["MediaQuery"]]},parse:function(e){var t=this.createList();this.scanner.skipSC();while(!this.scanner.eof){t.push(this.MediaQuery(e));if(this.scanner.tokenType!==n){break}this.scanner.next()}return{type:"MediaQueryList",loc:this.getLocationFromList(t),children:t}},generate:function(e){this.children(e,function(){this.chunk(",")})}}},51615:e=>{e.exports={name:"Nth",structure:{nth:["AnPlusB","Identifier"],selector:["SelectorList",null]},parse:function(e){this.scanner.skipSC();var t=this.scanner.tokenStart;var r=t;var n=null;var i;if(this.scanner.lookupValue(0,"odd")||this.scanner.lookupValue(0,"even")){i=this.Identifier()}else{i=this.AnPlusB()}this.scanner.skipSC();if(e&&this.scanner.lookupValue(0,"of")){this.scanner.next();n=this.SelectorList();if(this.needPositions){r=this.getLastListNode(n.children).loc.end.offset}}else{if(this.needPositions){r=i.loc.end.offset}}return{type:"Nth",loc:this.getLocation(t,r),nth:i,selector:n}},generate:function(e){this.node(e.nth);if(e.selector!==null){this.chunk(" of ");this.node(e.selector)}}}},78993:(e,t,r)=>{var n=r(61063).TYPE.Number;e.exports={name:"Number",structure:{value:String},parse:function(){return{type:"Number",loc:this.getLocation(this.scanner.tokenStart,this.scanner.tokenEnd),value:this.consume(n)}},generate:function(e){this.chunk(e.value)}}},97374:e=>{e.exports={name:"Operator",structure:{value:String},parse:function(){var e=this.scanner.tokenStart;this.scanner.next();return{type:"Operator",loc:this.getLocation(e,this.scanner.tokenStart),value:this.scanner.substrToCursor(e)}},generate:function(e){this.chunk(e.value)}}},27019:(e,t,r)=>{var n=r(61063).TYPE;var i=n.LeftParenthesis;var o=n.RightParenthesis;e.exports={name:"Parentheses",structure:{children:[[]]},parse:function(e,t){var r=this.scanner.tokenStart;var n=null;this.eat(i);n=e.call(this,t);if(!this.scanner.eof){this.eat(o)}return{type:"Parentheses",loc:this.getLocation(r,this.scanner.tokenStart),children:n}},generate:function(e){this.chunk("(");this.children(e);this.chunk(")")}}},61107:(e,t,r)=>{var n=r(86716).consumeNumber;var i=r(61063).TYPE;var o=i.Percentage;e.exports={name:"Percentage",structure:{value:String},parse:function(){var e=this.scanner.tokenStart;var t=n(this.scanner.source,e);this.eat(o);return{type:"Percentage",loc:this.getLocation(e,this.scanner.tokenStart),value:this.scanner.source.substring(e,t)}},generate:function(e){this.chunk(e.value);this.chunk("%")}}},24419:(e,t,r)=>{var n=r(61063).TYPE;var i=n.Ident;var o=n.Function;var s=n.Colon;var a=n.RightParenthesis;e.exports={name:"PseudoClassSelector",structure:{name:String,children:[["Raw"],null]},parse:function(){var e=this.scanner.tokenStart;var t=null;var r;var n;this.eat(s);if(this.scanner.tokenType===o){r=this.consumeFunctionName();n=r.toLowerCase();if(this.pseudo.hasOwnProperty(n)){this.scanner.skipSC();t=this.pseudo[n].call(this);this.scanner.skipSC()}else{t=this.createList();t.push(this.Raw(this.scanner.tokenIndex,null,false))}this.eat(a)}else{r=this.consume(i)}return{type:"PseudoClassSelector",loc:this.getLocation(e,this.scanner.tokenStart),name:r,children:t}},generate:function(e){this.chunk(":");this.chunk(e.name);if(e.children!==null){this.chunk("(");this.children(e);this.chunk(")")}},walkContext:"function"}},59201:(e,t,r)=>{var n=r(61063).TYPE;var i=n.Ident;var o=n.Function;var s=n.Colon;var a=n.RightParenthesis;e.exports={name:"PseudoElementSelector",structure:{name:String,children:[["Raw"],null]},parse:function(){var e=this.scanner.tokenStart;var t=null;var r;var n;this.eat(s);this.eat(s);if(this.scanner.tokenType===o){r=this.consumeFunctionName();n=r.toLowerCase();if(this.pseudo.hasOwnProperty(n)){this.scanner.skipSC();t=this.pseudo[n].call(this);this.scanner.skipSC()}else{t=this.createList();t.push(this.Raw(this.scanner.tokenIndex,null,false))}this.eat(a)}else{r=this.consume(i)}return{type:"PseudoElementSelector",loc:this.getLocation(e,this.scanner.tokenStart),name:r,children:t}},generate:function(e){this.chunk("::");this.chunk(e.name);if(e.children!==null){this.chunk("(");this.children(e);this.chunk(")")}},walkContext:"function"}},62765:(e,t,r)=>{var n=r(61063).isDigit;var i=r(61063).TYPE;var o=i.Number;var s=i.Delim;var a=47;var l=46;function consumeNumber(){this.scanner.skipWS();var e=this.consume(o);for(var t=0;t{var n=r(61063);var i=n.TYPE;var o=i.WhiteSpace;var s=i.Semicolon;var a=i.LeftCurlyBracket;var l=i.Delim;var c=33;function getOffsetExcludeWS(){if(this.scanner.tokenIndex>0){if(this.scanner.lookupType(-1)===o){return this.scanner.tokenIndex>1?this.scanner.getTokenStart(this.scanner.tokenIndex-1):this.scanner.firstCharOffset}}return this.scanner.tokenStart}function balanceEnd(){return 0}function leftCurlyBracket(e){return e===a?1:0}function leftCurlyBracketOrSemicolon(e){return e===a||e===s?1:0}function exclamationMarkOrSemicolon(e,t,r){if(e===l&&t.charCodeAt(r)===c){return 1}return e===s?1:0}function semicolonIncluded(e){return e===s?2:0}e.exports={name:"Raw",structure:{value:String},parse:function(e,t,r){var n=this.scanner.getTokenStart(e);var i;this.scanner.skip(this.scanner.getRawLength(e,t||balanceEnd));if(r&&this.scanner.tokenStart>n){i=getOffsetExcludeWS.call(this)}else{i=this.scanner.tokenStart}return{type:"Raw",loc:this.getLocation(n,i),value:this.scanner.source.substring(n,i)}},generate:function(e){this.chunk(e.value)},mode:{default:balanceEnd,leftCurlyBracket:leftCurlyBracket,leftCurlyBracketOrSemicolon:leftCurlyBracketOrSemicolon,exclamationMarkOrSemicolon:exclamationMarkOrSemicolon,semicolonIncluded:semicolonIncluded}}},41835:(e,t,r)=>{var n=r(61063).TYPE;var i=r(18204).mode;var o=n.LeftCurlyBracket;function consumeRaw(e){return this.Raw(e,i.leftCurlyBracket,true)}function consumePrelude(){var e=this.SelectorList();if(e.type!=="Raw"&&this.scanner.eof===false&&this.scanner.tokenType!==o){this.error()}return e}e.exports={name:"Rule",structure:{prelude:["SelectorList","Raw"],block:["Block"]},parse:function(){var e=this.scanner.tokenIndex;var t=this.scanner.tokenStart;var r;var n;if(this.parseRulePrelude){r=this.parseWithFallback(consumePrelude,consumeRaw)}else{r=consumeRaw.call(this,e)}n=this.Block(true);return{type:"Rule",loc:this.getLocation(t,this.scanner.tokenStart),prelude:r,block:n}},generate:function(e){this.node(e.prelude);this.node(e.block)},walkContext:"rule"}},33877:e=>{e.exports={name:"Selector",structure:{children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator","WhiteSpace"]]},parse:function(){var e=this.readSequence(this.scope.Selector);if(this.getFirstListNode(e)===null){this.error("Selector is expected")}return{type:"Selector",loc:this.getLocationFromList(e),children:e}},generate:function(e){this.children(e)}}},64829:(e,t,r)=>{var n=r(61063).TYPE;var i=n.Comma;e.exports={name:"SelectorList",structure:{children:[["Selector","Raw"]]},parse:function(){var e=this.createList();while(!this.scanner.eof){e.push(this.Selector());if(this.scanner.tokenType===i){this.scanner.next();continue}break}return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}},generate:function(e){this.children(e,function(){this.chunk(",")})},walkContext:"selector"}},30682:(e,t,r)=>{var n=r(61063).TYPE.String;e.exports={name:"String",structure:{value:String},parse:function(){return{type:"String",loc:this.getLocation(this.scanner.tokenStart,this.scanner.tokenEnd),value:this.consume(n)}},generate:function(e){this.chunk(e.value)}}},52157:(e,t,r)=>{var n=r(61063).TYPE;var i=n.WhiteSpace;var o=n.Comment;var s=n.AtKeyword;var a=n.CDO;var l=n.CDC;var c=33;function consumeRaw(e){return this.Raw(e,null,false)}e.exports={name:"StyleSheet",structure:{children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]},parse:function(){var e=this.scanner.tokenStart;var t=this.createList();var r;e:while(!this.scanner.eof){switch(this.scanner.tokenType){case i:this.scanner.next();continue;case o:if(this.scanner.source.charCodeAt(this.scanner.tokenStart+2)!==c){this.scanner.next();continue}r=this.Comment();break;case a:r=this.CDO();break;case l:r=this.CDC();break;case s:r=this.parseWithFallback(this.Atrule,consumeRaw);break;default:r=this.parseWithFallback(this.Rule,consumeRaw)}t.push(r)}return{type:"StyleSheet",loc:this.getLocation(e,this.scanner.tokenStart),children:t}},generate:function(e){this.children(e)},walkContext:"stylesheet"}},56316:(e,t,r)=>{var n=r(61063).TYPE;var i=n.Ident;var o=42;var s=124;function eatIdentifierOrAsterisk(){if(this.scanner.tokenType!==i&&this.scanner.isDelim(o)===false){this.error("Identifier or asterisk is expected")}this.scanner.next()}e.exports={name:"TypeSelector",structure:{name:String},parse:function(){var e=this.scanner.tokenStart;if(this.scanner.isDelim(s)){this.scanner.next();eatIdentifierOrAsterisk.call(this)}else{eatIdentifierOrAsterisk.call(this);if(this.scanner.isDelim(s)){this.scanner.next();eatIdentifierOrAsterisk.call(this)}}return{type:"TypeSelector",loc:this.getLocation(e,this.scanner.tokenStart),name:this.scanner.substrToCursor(e)}},generate:function(e){this.chunk(e.name)}}},31201:(e,t,r)=>{var n=r(61063).isHexDigit;var i=r(61063).cmpChar;var o=r(61063).TYPE;var s=r(61063).NAME;var a=o.Ident;var l=o.Number;var c=o.Dimension;var u=43;var d=45;var p=63;var f=117;function eatHexSequence(e,t){for(var r=this.scanner.tokenStart+e,i=0;r6){this.error("Too many hex digits",r)}}this.scanner.next();return i}function eatQuestionMarkSequence(e){var t=0;while(this.scanner.isDelim(p)){if(++t>e){this.error("Too many question marks")}this.scanner.next()}}function startsWith(e){if(this.scanner.source.charCodeAt(this.scanner.tokenStart)!==e){this.error(s[e]+" is expected")}}function scanUnicodeRange(){var e=0;if(this.scanner.isDelim(u)){this.scanner.next();if(this.scanner.tokenType===a){e=eatHexSequence.call(this,0,true);if(e>0){eatQuestionMarkSequence.call(this,6-e)}return}if(this.scanner.isDelim(p)){this.scanner.next();eatQuestionMarkSequence.call(this,5);return}this.error("Hex digit or question mark is expected");return}if(this.scanner.tokenType===l){startsWith.call(this,u);e=eatHexSequence.call(this,1,true);if(this.scanner.isDelim(p)){eatQuestionMarkSequence.call(this,6-e);return}if(this.scanner.tokenType===c||this.scanner.tokenType===l){startsWith.call(this,d);eatHexSequence.call(this,1,false);return}return}if(this.scanner.tokenType===c){startsWith.call(this,u);e=eatHexSequence.call(this,1,true);if(e>0){eatQuestionMarkSequence.call(this,6-e)}return}this.error()}e.exports={name:"UnicodeRange",structure:{value:String},parse:function(){var e=this.scanner.tokenStart;if(!i(this.scanner.source,e,f)){this.error("U is expected")}if(!i(this.scanner.source,e+1,u)){this.error("Plus sign is expected")}this.scanner.next();scanUnicodeRange.call(this);return{type:"UnicodeRange",loc:this.getLocation(e,this.scanner.tokenStart),value:this.scanner.substrToCursor(e)}},generate:function(e){this.chunk(e.value)}}},17724:(e,t,r)=>{var n=r(61063).isWhiteSpace;var i=r(61063).cmpStr;var o=r(61063).TYPE;var s=o.Function;var a=o.Url;var l=o.RightParenthesis;e.exports={name:"Url",structure:{value:["String","Raw"]},parse:function(){var e=this.scanner.tokenStart;var t;switch(this.scanner.tokenType){case a:var r=e+4;var o=this.scanner.tokenEnd-1;while(r{e.exports={name:"Value",structure:{children:[[]]},parse:function(){var e=this.scanner.tokenStart;var t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.scanner.tokenStart),children:t}},generate:function(e){this.children(e)}}},44788:(e,t,r)=>{var n=r(61063).TYPE.WhiteSpace;var i=Object.freeze({type:"WhiteSpace",loc:null,value:" "});e.exports={name:"WhiteSpace",structure:{value:String},parse:function(){this.eat(n);return i},generate:function(e){this.chunk(e.value)}}},85369:(e,t,r)=>{e.exports={AnPlusB:r(99546),Atrule:r(1673),AtrulePrelude:r(24272),AttributeSelector:r(33434),Block:r(5163),Brackets:r(96809),CDC:r(4351),CDO:r(37691),ClassSelector:r(79058),Combinator:r(70654),Comment:r(24602),Declaration:r(25826),DeclarationList:r(61695),Dimension:r(92058),Function:r(59346),HexColor:r(44938),Identifier:r(70162),IdSelector:r(43374),MediaFeature:r(15983),MediaQuery:r(41981),MediaQueryList:r(94791),Nth:r(51615),Number:r(78993),Operator:r(97374),Parentheses:r(27019),Percentage:r(61107),PseudoClassSelector:r(24419),PseudoElementSelector:r(59201),Ratio:r(62765),Raw:r(18204),Rule:r(41835),Selector:r(33877),SelectorList:r(64829),String:r(30682),StyleSheet:r(52157),TypeSelector:r(56316),UnicodeRange:r(31201),Url:r(17724),Value:r(2254),WhiteSpace:r(44788)}},23302:e=>{var t=false;e.exports={parse:function nth(){return this.createSingleNodeList(this.Nth(t))}}},28958:e=>{var t=true;e.exports={parse:function nthWithOfClause(){return this.createSingleNodeList(this.Nth(t))}}},85958:e=>{e.exports={parse:function selectorList(){return this.createSingleNodeList(this.SelectorList())}}},92628:e=>{e.exports={parse:function(){return this.createSingleNodeList(this.Identifier())}}},54938:e=>{e.exports={parse:function(){return this.createSingleNodeList(this.SelectorList())}}},69302:(e,t,r)=>{e.exports={dir:r(92628),has:r(54938),lang:r(97189),matches:r(55373),not:r(170),"nth-child":r(99946),"nth-last-child":r(36714),"nth-last-of-type":r(59586),"nth-of-type":r(40254),slotted:r(49409)}},97189:e=>{e.exports={parse:function(){return this.createSingleNodeList(this.Identifier())}}},55373:(e,t,r)=>{e.exports=r(85958)},170:(e,t,r)=>{e.exports=r(85958)},99946:(e,t,r)=>{e.exports=r(28958)},36714:(e,t,r)=>{e.exports=r(28958)},59586:(e,t,r)=>{e.exports=r(23302)},40254:(e,t,r)=>{e.exports=r(23302)},49409:e=>{e.exports={parse:function compoundSelector(){return this.createSingleNodeList(this.Selector())}}},4318:(e,t,r)=>{e.exports={getNode:r(74356)}},74356:(e,t,r)=>{var n=r(61063).cmpChar;var i=r(61063).cmpStr;var o=r(61063).TYPE;var s=o.Ident;var a=o.String;var l=o.Number;var c=o.Function;var u=o.Url;var d=o.Hash;var p=o.Dimension;var f=o.Percentage;var h=o.LeftParenthesis;var m=o.LeftSquareBracket;var g=o.Comma;var y=o.Delim;var v=35;var b=42;var S=43;var w=45;var x=47;var C=117;e.exports=function defaultRecognizer(e){switch(this.scanner.tokenType){case d:return this.HexColor();case g:e.space=null;e.ignoreWSAfter=true;return this.Operator();case h:return this.Parentheses(this.readSequence,e.recognizer);case m:return this.Brackets(this.readSequence,e.recognizer);case a:return this.String();case p:return this.Dimension();case f:return this.Percentage();case l:return this.Number();case c:return i(this.scanner.source,this.scanner.tokenStart,this.scanner.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case u:return this.Url();case s:if(n(this.scanner.source,this.scanner.tokenStart,C)&&n(this.scanner.source,this.scanner.tokenStart+1,S)){return this.UnicodeRange()}else{return this.Identifier()}case y:var t=this.scanner.source.charCodeAt(this.scanner.tokenStart);if(t===x||t===b||t===S||t===w){return this.Operator()}if(t===v){this.error("Hex or identifier is expected",this.scanner.tokenStart+1)}break}}},38141:(e,t,r)=>{e.exports={AtrulePrelude:r(4318),Selector:r(4508),Value:r(81953)}},4508:(e,t,r)=>{var n=r(61063).TYPE;var i=n.Delim;var o=n.Ident;var s=n.Dimension;var a=n.Percentage;var l=n.Number;var c=n.Hash;var u=n.Colon;var d=n.LeftSquareBracket;var p=35;var f=42;var h=43;var m=47;var g=46;var y=62;var v=124;var b=126;function getNode(e){switch(this.scanner.tokenType){case d:return this.AttributeSelector();case c:return this.IdSelector();case u:if(this.scanner.lookupType(1)===u){return this.PseudoElementSelector()}else{return this.PseudoClassSelector()}case o:return this.TypeSelector();case l:case a:return this.Percentage();case s:if(this.scanner.source.charCodeAt(this.scanner.tokenStart)===g){this.error("Identifier is expected",this.scanner.tokenStart+1)}break;case i:var t=this.scanner.source.charCodeAt(this.scanner.tokenStart);switch(t){case h:case y:case b:e.space=null;e.ignoreWSAfter=true;return this.Combinator();case m:return this.Combinator();case g:return this.ClassSelector();case f:case v:return this.TypeSelector();case p:return this.IdSelector()}break}}e.exports={getNode:getNode}},81953:(e,t,r)=>{e.exports={getNode:r(74356),"-moz-element":r(59537),element:r(59537),expression:r(21264),var:r(88036)}},39367:e=>{var t=0;function isDigit(e){return e>=48&&e<=57}function isHexDigit(e){return isDigit(e)||e>=65&&e<=70||e>=97&&e<=102}function isUppercaseLetter(e){return e>=65&&e<=90}function isLowercaseLetter(e){return e>=97&&e<=122}function isLetter(e){return isUppercaseLetter(e)||isLowercaseLetter(e)}function isNonAscii(e){return e>=128}function isNameStart(e){return isLetter(e)||isNonAscii(e)||e===95}function isName(e){return isNameStart(e)||isDigit(e)||e===45}function isNonPrintable(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function isNewline(e){return e===10||e===13||e===12}function isWhiteSpace(e){return isNewline(e)||e===32||e===9}function isValidEscape(e,r){if(e!==92){return false}if(isNewline(r)||r===t){return false}return true}function isIdentifierStart(e,t,r){if(e===45){return isNameStart(t)||t===45||isValidEscape(t,r)}if(isNameStart(e)){return true}if(e===92){return isValidEscape(e,t)}return false}function isNumberStart(e,t,r){if(e===43||e===45){if(isDigit(t)){return 2}return t===46&&isDigit(r)?3:0}if(e===46){return isDigit(t)?2:0}if(isDigit(e)){return 1}return 0}function isBOM(e){if(e===65279){return 1}if(e===65534){return 1}return 0}var r=new Array(128);charCodeCategory.Eof=128;charCodeCategory.WhiteSpace=130;charCodeCategory.Digit=131;charCodeCategory.NameStart=132;charCodeCategory.NonPrintable=133;for(var n=0;n{var t={EOF:0,Ident:1,Function:2,AtKeyword:3,Hash:4,String:5,BadString:6,Url:7,BadUrl:8,Delim:9,Number:10,Percentage:11,Dimension:12,WhiteSpace:13,CDO:14,CDC:15,Colon:16,Semicolon:17,Comma:18,LeftSquareBracket:19,RightSquareBracket:20,LeftParenthesis:21,RightParenthesis:22,LeftCurlyBracket:23,RightCurlyBracket:24,Comment:25};var r=Object.keys(t).reduce(function(e,r){e[t[r]]=r;return e},{});e.exports={TYPE:t,NAME:r}},61063:(e,t,r)=>{var n=r(83058);var i=r(58248);var o=r(21713);var s=o.TYPE;var a=r(39367);var l=a.isNewline;var c=a.isName;var u=a.isValidEscape;var d=a.isNumberStart;var p=a.isIdentifierStart;var f=a.charCodeCategory;var h=a.isBOM;var m=r(86716);var g=m.cmpStr;var y=m.getNewlineLength;var v=m.findWhiteSpaceEnd;var b=m.consumeEscaped;var S=m.consumeName;var w=m.consumeNumber;var x=m.consumeBadUrlRemnants;var C=16777215;var k=24;function tokenize(e,t){function getCharCode(t){return t=e.length){if(E>k;a[m]=A;a[A++]=m;for(;A{var n=r(39367);var i=n.isDigit;var o=n.isHexDigit;var s=n.isUppercaseLetter;var a=n.isName;var l=n.isWhiteSpace;var c=n.isValidEscape;function getCharCode(e,t){return te.length){return false}for(var i=t;i=0;t--){if(!l(e.charCodeAt(t))){break}}return t+1}function findWhiteSpaceEnd(e,t){for(;t{var n=r(5355);e.exports=function clone(e){var t={};for(var r in e){var i=e[r];if(i){if(Array.isArray(i)||i instanceof n){i=i.map(clone)}else if(i.constructor===Object){i=clone(i)}}t[r]=i}return t}},41187:e=>{e.exports=function createCustomError(e,t){var r=Object.create(SyntaxError.prototype);var n=new Error;r.name=e;r.message=t;Object.defineProperty(r,"stack",{get:function(){return(n.stack||"").replace(/^(.+\n){1,3}/,e+": "+t+"\n")}});return r}},87453:e=>{var t=Object.prototype.hasOwnProperty;var r=Object.create(null);var n=Object.create(null);var i=45;function isCustomProperty(e,t){t=t||0;return e.length-t>=2&&e.charCodeAt(t)===i&&e.charCodeAt(t+1)===i}function getVendorPrefix(e,t){t=t||0;if(e.length-t>=3){if(e.charCodeAt(t)===i&&e.charCodeAt(t+1)!==i){var r=e.indexOf("-",t+2);if(r!==-1){return e.substring(t,r+1)}}}return""}function getKeywordDescriptor(e){if(t.call(r,e)){return r[e]}var n=e.toLowerCase();if(t.call(r,n)){return r[e]=r[n]}var i=isCustomProperty(n,0);var o=!i?getVendorPrefix(n,0):"";return r[e]=Object.freeze({basename:n.substr(o.length),name:n,vendor:o,prefix:o,custom:i})}function getPropertyDescriptor(e){if(t.call(n,e)){return n[e]}var r=e;var i=e[0];if(i==="/"){i=e[1]==="/"?"//":"/"}else if(i!=="_"&&i!=="*"&&i!=="$"&&i!=="#"&&i!=="+"&&i!=="&"){i=""}var o=isCustomProperty(r,i.length);if(!o){r=r.toLowerCase();if(t.call(n,r)){return n[e]=n[r]}}var s=!o?getVendorPrefix(r,i.length):"";var a=r.substr(0,i.length+s.length);return n[e]=Object.freeze({basename:r.substr(a.length),name:r.substr(i.length),hack:i,vendor:s,prefix:a,custom:o})}e.exports={keyword:getKeywordDescriptor,property:getPropertyDescriptor,isCustomProperty:isCustomProperty,vendorPrefix:getVendorPrefix}},87760:e=>{var t=Object.prototype.hasOwnProperty;var r=function(){};function ensureFunction(e){return typeof e==="function"?e:r}function invokeForType(e,t){return function(r,n,i){if(r.type===t){e.call(this,r,n,i)}}}function getWalkersFromStructure(e,r){var n=r.structure;var i=[];for(var o in n){if(t.call(n,o)===false){continue}var s=n[o];var a={name:o,type:false,nullable:false};if(!Array.isArray(n[o])){s=[n[o]]}for(var l=0;l{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=parse;var r=/^[^\\]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/;var n=/\\([\da-f]{1,6}\s?|(\s)|.)/gi;var i=/^\s*((?:\\.|[\w\u00b0-\uFFFF-])+)\s*(?:(\S?)=\s*(?:(['"])((?:[^\\]|\\[^])*?)\3|(#?(?:\\.|[\w\u00b0-\uFFFF-])*)|)|)\s*(i)?\]/;var o={undefined:"exists","":"equals","~":"element","^":"start",$:"end","*":"any","!":"not","|":"hyphen"};var s={">":"child","<":"parent","~":"sibling","+":"adjacent"};var a={"#":["id","equals"],".":["class","element"]};var l=new Set(["has","not","matches","is","host","host-context"]);var c=new Set(["contains","icontains"]);var u=new Set(['"',"'"]);function funescape(e,t,r){var n=parseInt(t,16)-65536;return n!==n||r?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,n&1023|56320)}function unescapeCSS(e){return e.replace(n,funescape)}function isWhitespace(e){return e===" "||e==="\n"||e==="\t"||e==="\f"||e==="\r"}function parse(e,t){var r=[];e=parseSelector(r,""+e,t);if(e!==""){throw new Error("Unmatched selector: "+e)}return r}function parseSelector(e,t,n){var d,p;if(n===void 0){n={}}var f=[];var h=false;function getName(){var e=t.match(r);if(!e){throw new Error("Expected name, found "+t)}var n=e[0];t=t.substr(n.length);return unescapeCSS(n)}function stripWhitespace(e){while(isWhitespace(t.charAt(e)))e++;t=t.substr(e)}function isEscaped(e){var r=0;while(t.charAt(--e)==="\\")r++;return(r&1)===1}stripWhitespace(0);while(t!==""){var m=t.charAt(0);if(isWhitespace(m)){h=true;stripWhitespace(1)}else if(m in s){f.push({type:s[m]});h=false;stripWhitespace(1)}else if(m===","){if(f.length===0){throw new Error("Empty sub-selector")}e.push(f);f=[];h=false;stripWhitespace(1)}else{if(h){if(f.length>0){f.push({type:"descendant"})}h=false}if(m==="*"){t=t.substr(1);f.push({type:"universal"})}else if(m in a){var g=a[m],y=g[0],v=g[1];t=t.substr(1);f.push({type:"attribute",name:y,action:v,value:getName(),ignoreCase:false})}else if(m==="["){t=t.substr(1);var b=t.match(i);if(!b){throw new Error("Malformed attribute selector: "+t)}var S=b[0],w=b[1],x=b[2],C=b[4],k=C===void 0?"":C,T=b[5],E=T===void 0?k:T,_=b[6];t=t.substr(S.length);var O=unescapeCSS(w);if((d=n.lowerCaseAttributeNames)!==null&&d!==void 0?d:!n.xmlMode){O=O.toLowerCase()}f.push({type:"attribute",name:O,action:o[x],value:unescapeCSS(E),ignoreCase:!!_})}else if(m===":"){if(t.charAt(1)===":"){t=t.substr(2);f.push({type:"pseudo-element",name:getName().toLowerCase()});continue}t=t.substr(1);var A=getName().toLowerCase();var P=null;if(t.startsWith("(")){if(l.has(A)){var z=t.charAt(1);var R=u.has(z);t=t.substr(R?2:1);P=[];t=parseSelector(P,t,n);if(R){if(!t.startsWith(z)){throw new Error("Unmatched quotes in :"+A)}else{t=t.substr(1)}}if(!t.startsWith(")")){throw new Error("Missing closing parenthesis in :"+A+" ("+t+")")}t=t.substr(1)}else{var L=1;var M=1;for(;M>0&&L0&&t.length===0){throw new Error("Empty sub-selector")}e.push(t)}},94853:function(e,t){"use strict";var r=this&&this.__spreadArrays||function(){for(var e=0,t=0,r=arguments.length;t ";case"parent":return" < ";case"sibling":return" ~ ";case"adjacent":return" + ";case"descendant":return" ";case"universal":return"*";case"tag":return escapeName(e.name);case"pseudo-element":return"::"+escapeName(e.name);case"pseudo":if(e.data===null)return":"+escapeName(e.name);if(typeof e.data==="string"){return":"+escapeName(e.name)+"("+e.data+")"}return":"+escapeName(e.name)+"("+stringify(e.data)+")";case"attribute":if(e.action==="exists"){return"["+escapeName(e.name)+"]"}if(e.name==="id"&&e.action==="equals"&&!e.ignoreCase){return"#"+escapeName(e.value)}if(e.name==="class"&&e.action==="element"&&!e.ignoreCase){return"."+escapeName(e.value)}return"["+escapeName(e.name)+n[e.action]+"='"+escapeName(e.value)+"'"+(e.ignoreCase?"i":"")+"]"}}function escapeName(e){return e.split("").map(function(e){return i.has(e)?"\\"+e:e}).join("")}},59836:(e,t,r)=>{var n=r(39202).keyword;var{hasNoChildren:i}=r(57354);e.exports=function cleanAtrule(e,t,r){if(e.block){if(this.stylesheet!==null){this.stylesheet.firstAtrulesAllowed=false}if(i(e.block)){r.remove(t);return}}switch(e.name){case"charset":if(i(e.prelude)){r.remove(t);return}if(t.prev){r.remove(t);return}break;case"import":if(this.stylesheet===null||!this.stylesheet.firstAtrulesAllowed){r.remove(t);return}r.prevUntil(t.prev,function(e){if(e.type==="Atrule"){if(e.name==="import"||e.name==="charset"){return}}this.root.firstAtrulesAllowed=false;r.remove(t);return true},this);break;default:var o=n(e.name).basename;if(o==="keyframes"||o==="media"||o==="supports"){if(i(e.prelude)||i(e.block)){r.remove(t)}}}}},25562:e=>{e.exports=function cleanComment(e,t,r){r.remove(t)}},76228:e=>{e.exports=function cleanDeclartion(e,t,r){if(e.value.children&&e.value.children.isEmpty()){r.remove(t)}}},4417:(e,t,r)=>{var{isNodeChildrenList:n}=r(57354);e.exports=function cleanRaw(e,t,r){if(n(this.stylesheet,r)||n(this.block,r)){r.remove(t)}}},1986:(e,t,r)=>{var n=Object.prototype.hasOwnProperty;var i=r(39202).walk;var{hasNoChildren:o}=r(57354);function cleanUnused(e,t){e.children.each(function(r,o,s){var a=false;i(r,function(r){if(this.selector===null||this.selector===e){switch(r.type){case"SelectorList":if(this.function===null||this.function.name.toLowerCase()!=="not"){if(cleanUnused(r,t)){a=true}}break;case"ClassSelector":if(t.whitelist!==null&&t.whitelist.classes!==null&&!n.call(t.whitelist.classes,r.name)){a=true}if(t.blacklist!==null&&t.blacklist.classes!==null&&n.call(t.blacklist.classes,r.name)){a=true}break;case"IdSelector":if(t.whitelist!==null&&t.whitelist.ids!==null&&!n.call(t.whitelist.ids,r.name)){a=true}if(t.blacklist!==null&&t.blacklist.ids!==null&&n.call(t.blacklist.ids,r.name)){a=true}break;case"TypeSelector":if(r.name.charAt(r.name.length-1)!=="*"){if(t.whitelist!==null&&t.whitelist.tags!==null&&!n.call(t.whitelist.tags,r.name.toLowerCase())){a=true}if(t.blacklist!==null&&t.blacklist.tags!==null&&n.call(t.blacklist.tags,r.name.toLowerCase())){a=true}}break}}});if(a){s.remove(o)}});return e.children.isEmpty()}e.exports=function cleanRule(e,t,r,n){if(o(e.prelude)||o(e.block)){r.remove(t);return}var i=n.usage;if(i&&(i.whitelist!==null||i.blacklist!==null)){cleanUnused(e.prelude,i);if(o(e.prelude)){r.remove(t);return}}}},8969:e=>{e.exports=function cleanTypeSelector(e,t,r){var n=t.data.name;if(n!=="*"){return}var i=t.next&&t.next.data.type;if(i==="IdSelector"||i==="ClassSelector"||i==="AttributeSelector"||i==="PseudoClassSelector"||i==="PseudoElementSelector"){r.remove(t)}}},22459:(e,t,r)=>{var{isNodeChildrenList:n}=r(57354);function isSafeOperator(e){return e.type==="Operator"&&e.value!=="+"&&e.value!=="-"}e.exports=function cleanWhitespace(e,t,r){if(t.next===null||t.prev===null){r.remove(t);return}if(n(this.stylesheet,r)||n(this.block,r)){r.remove(t);return}if(t.next.data.type==="WhiteSpace"){r.remove(t);return}if(isSafeOperator(t.prev.data)||isSafeOperator(t.next.data)){r.remove(t);return}}},92746:(e,t,r)=>{var n=r(39202).walk;var i={Atrule:r(59836),Comment:r(25562),Declaration:r(76228),Raw:r(4417),Rule:r(1986),TypeSelector:r(8969),WhiteSpace:r(22459)};e.exports=function(e,t){n(e,{leave:function(e,r,n){if(i.hasOwnProperty(e.type)){i[e.type].call(this,e,r,n,t)}}})}},57354:e=>{e.exports={hasNoChildren:function(e){return!e||!e.children||e.children.isEmpty()},isNodeChildrenList:function(e,t){return e!==null&&e.children===t}}},92887:(e,t,r)=>{var n=r(39202).List;var i=r(39202).clone;var o=r(66411);var s=r(92746);var a=r(36493);var l=r(86320);var c=r(39202).walk;function readChunk(e,t){var r=new n;var i=false;var o;e.nextUntil(e.head,function(e,n,s){if(e.type==="Comment"){if(!t||e.value.charAt(0)!=="!"){s.remove(n);return}if(i||o){return true}s.remove(n);o=e;return}if(e.type!=="WhiteSpace"){i=true}r.insert(s.remove(n))});return{comment:o,stylesheet:{type:"StyleSheet",loc:null,children:r}}}function compressChunk(e,t,r,n){n.logger("Compress block #"+r,null,true);var i=1;if(e.type==="StyleSheet"){e.firstAtrulesAllowed=t;e.id=i++}c(e,{visit:"Atrule",enter:function markScopes(e){if(e.block!==null){e.block.id=i++}}});n.logger("init",e);s(e,n);n.logger("clean",e);a(e,n);n.logger("replace",e);if(n.restructuring){l(e,n)}return e}function getCommentsOption(e){var t="comments"in e?e.comments:"exclamation";if(typeof t==="boolean"){t=t?"exclamation":false}else if(t!=="exclamation"&&t!=="first-exclamation"){t=false}return t}function getRestructureOption(e){if("restructure"in e){return e.restructure}return"restructuring"in e?e.restructuring:true}function wrapBlock(e){return(new n).appendData({type:"Rule",loc:null,prelude:{type:"SelectorList",loc:null,children:(new n).appendData({type:"Selector",loc:null,children:(new n).appendData({type:"TypeSelector",loc:null,name:"x"})})},block:e})}e.exports=function compress(e,t){e=e||{type:"StyleSheet",loc:null,children:new n};t=t||{};var r={logger:typeof t.logger==="function"?t.logger:function(){},restructuring:getRestructureOption(t),forceMediaMerge:Boolean(t.forceMediaMerge),usage:t.usage?o.buildIndex(t.usage):false};var s=getCommentsOption(t);var a=true;var l;var c=new n;var u;var d=1;var p;if(t.clone){e=i(e)}if(e.type==="StyleSheet"){l=e.children;e.children=c}else{l=wrapBlock(e)}do{u=readChunk(l,Boolean(s));compressChunk(u.stylesheet,a,d++,r);p=u.stylesheet.children;if(u.comment){if(!c.isEmpty()){c.insert(n.createItem({type:"Raw",value:"\n"}))}c.insert(n.createItem(u.comment));if(!p.isEmpty()){c.insert(n.createItem({type:"Raw",value:"\n"}))}}if(a&&!p.isEmpty()){var f=p.last();if(f.type!=="Atrule"||f.name!=="import"&&f.name!=="charset"){a=false}}if(s!=="exclamation"){s=false}c.appendList(p)}while(!l.isEmpty());return{ast:e}}},465:(e,t,r)=>{var n=r(39202);var i=n.parse;var o=r(92887);var s=n.generate;function debugOutput(e,t,r,n){if(t.debug){console.error("## "+e+" done in %d ms\n",Date.now()-r)}return n}function createDefaultLogger(e){var t;return function logger(r,n){var i=r;if(n){i="["+((Date.now()-t)/1e3).toFixed(3)+"s] "+i}if(e>1&&n){var o=s(n);if(e===2&&o.length>256){o=o.substr(0,256)+"..."}i+="\n "+o+"\n"}console.error(i);t=Date.now()}}function copy(e){var t={};for(var r in e){t[r]=e[r]}return t}function buildCompressOptions(e){e=copy(e);if(typeof e.logger!=="function"&&e.debug){e.logger=createDefaultLogger(e.debug)}return e}function runHandler(e,t,r){if(!Array.isArray(r)){r=[r]}r.forEach(function(r){r(e,t)})}function minify(e,t,r){r=r||{};var n=r.filename||"";var a;var l=debugOutput("parsing",r,Date.now(),i(t,{context:e,filename:n,positions:Boolean(r.sourceMap)}));if(r.beforeCompress){debugOutput("beforeCompress",r,Date.now(),runHandler(l,r,r.beforeCompress))}var c=debugOutput("compress",r,Date.now(),o(l,buildCompressOptions(r)));if(r.afterCompress){debugOutput("afterCompress",r,Date.now(),runHandler(c,r,r.afterCompress))}if(r.sourceMap){a=debugOutput("generate(sourceMap: true)",r,Date.now(),function(){var e=s(c.ast,{sourceMap:true});e.map._file=n;e.map.setSourceContent(n,t);return e}())}else{a=debugOutput("generate",r,Date.now(),{css:s(c.ast),map:null})}return a}function minifyStylesheet(e,t){return minify("stylesheet",e,t)}function minifyBlock(e,t){return minify("declarationList",e,t)}e.exports={version:r(75723).i8,minify:minifyStylesheet,minifyBlock:minifyBlock,syntax:Object.assign({compress:o},n)}},80354:(e,t,r)=>{var n=r(39202).keyword;var i=r(68777);e.exports=function(e){if(n(e.name).basename==="keyframes"){i(e)}}},79506:e=>{var t=/\\([0-9A-Fa-f]{1,6})(\r\n|[ \t\n\f\r])?|\\./g;var r=/^(-?\d|--)|[\u0000-\u002c\u002e\u002f\u003A-\u0040\u005B-\u005E\u0060\u007B-\u009f]/;function canUnquote(e){if(e===""||e==="-"){return}e=e.replace(t,"a");return!r.test(e)}e.exports=function(e){var t=e.value;if(!t||t.type!=="String"){return}var r=t.value.replace(/^(.)(.*)\1$/,"$2");if(canUnquote(r)){e.value={type:"Identifier",loc:t.loc,name:r}}}},41447:(e,t,r)=>{var n=r(33977).pack;var i={px:true,mm:true,cm:true,in:true,pt:true,pc:true,em:true,ex:true,ch:true,rem:true,vh:true,vw:true,vmin:true,vmax:true,vm:true};e.exports=function compressDimension(e,t){var r=n(e.value,t);e.value=r;if(r==="0"&&this.declaration!==null&&this.atrulePrelude===null){var o=e.unit.toLowerCase();if(!i.hasOwnProperty(o)){return}if(this.declaration.property==="-ms-flex"||this.declaration.property==="flex"){return}if(this.function&&this.function.name==="calc"){return}t.data={type:"Number",loc:e.loc,value:r}}}},33977:e=>{var t=/^(?:\+|(-))?0*(\d*)(?:\.0*|(\.\d*?)0*)?$/;var r=/^([\+\-])?0*(\d*)(?:\.0*|(\.\d*?)0*)?$/;var n={Dimension:true,HexColor:true,Identifier:true,Number:true,Raw:true,UnicodeRange:true};function packNumber(e,i){var o=i&&i.prev!==null&&n.hasOwnProperty(i.prev.data.type)?r:t;e=String(e).replace(o,"$1$2$3");if(e===""||e==="-"){e="0"}return e}e.exports=function(e,t){e.value=packNumber(e.value,t)};e.exports.pack=packNumber},93894:(e,t,r)=>{var n=r(39202).lexer;var i=r(33977).pack;var o=new Set(["width","min-width","max-width","height","min-height","max-height","flex","-ms-flex"]);e.exports=function compressPercentage(e,t){e.value=i(e.value,t);if(e.value==="0"&&this.declaration&&!o.has(this.declaration.property)){t.data={type:"Number",loc:e.loc,value:e.value};if(!n.matchDeclaration(this.declaration).isType(t.data,"length")){t.data=e}}}},71878:e=>{e.exports=function(e){var t=e.value;t=t.replace(/\\(\r\n|\r|\n|\f)/g,"");e.value=t}},39250:e=>{var t="\\\\[0-9a-f]{1,6}(\\r\\n|[ \\n\\r\\t\\f])?";var r="("+t+"|\\\\[^\\n\\r\\f0-9a-fA-F])";var n="\0\b\v-";var i=new RegExp("^("+r+"|[^\"'\\(\\)\\\\\\s"+n+"])*$","i");e.exports=function(e){var t=e.value;if(t.type!=="String"){return}var r=t.value[0];var n=t.value.substr(1,t.value.length-2);n=n.replace(/\\\\/g,"/");if(i.test(n)){e.value={type:"Raw",loc:e.value.loc,value:n}}else{e.value.value=n.indexOf('"')===-1?'"'+n+'"':r+n+r}}},54527:(e,t,r)=>{var n=r(39202).property;var i={font:r(29270),"font-weight":r(92980),background:r(9945),border:r(55141),outline:r(55141)};e.exports=function compressValue(e){if(!this.declaration){return}var t=n(this.declaration.property);if(i.hasOwnProperty(t.basename)){i[t.basename](e)}}},68777:e=>{e.exports=function(e){e.block.children.each(function(e){e.prelude.children.each(function(e){e.children.each(function(e,t){if(e.type==="Percentage"&&e.value==="100"){t.data={type:"TypeSelector",loc:e.loc,name:"to"}}else if(e.type==="TypeSelector"&&e.name==="from"){t.data={type:"Percentage",loc:e.loc,value:"0"}}})})})}},47734:(e,t,r)=>{var n=r(39202).lexer;var i=r(33977).pack;var o={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgrey:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",grey:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var s={800000:"maroon",800080:"purple",808000:"olive",808080:"gray","00ffff":"cyan",f0ffff:"azure",f5f5dc:"beige",ffe4c4:"bisque","000000":"black","0000ff":"blue",a52a2a:"brown",ff7f50:"coral",ffd700:"gold","008000":"green","4b0082":"indigo",fffff0:"ivory",f0e68c:"khaki","00ff00":"lime",faf0e6:"linen","000080":"navy",ffa500:"orange",da70d6:"orchid",cd853f:"peru",ffc0cb:"pink",dda0dd:"plum",f00:"red",ff0000:"red",fa8072:"salmon",a0522d:"sienna",c0c0c0:"silver",fffafa:"snow",d2b48c:"tan","008080":"teal",ff6347:"tomato",ee82ee:"violet",f5deb3:"wheat",ffffff:"white",ffff00:"yellow"};function hueToRgb(e,t,r){if(r<0){r+=1}if(r>1){r-=1}if(r<1/6){return e+(t-e)*6*r}if(r<1/2){return t}if(r<2/3){return e+(t-e)*(2/3-r)*6}return e}function hslToRgb(e,t,r,n){var i;var o;var s;if(t===0){i=o=s=r}else{var a=r<.5?r*(1+t):r+t-r*t;var l=2*r-a;i=hueToRgb(l,a,e+1/3);o=hueToRgb(l,a,e);s=hueToRgb(l,a,e-1/3)}return[Math.round(i*255),Math.round(o*255),Math.round(s*255),n]}function toHex(e){e=e.toString(16);return e.length===1?"0"+e:e}function parseFunctionArgs(e,t,r){var n=e.head;var i=[];var o=false;while(n!==null){var s=n.data;var a=s.type;switch(a){case"Number":case"Percentage":if(o){return}o=true;i.push({type:a,value:Number(s.value)});break;case"Operator":if(s.value===","){if(!o){return}o=false}else if(o||s.value!=="+"){return}break;default:return}n=n.next}if(i.length!==t){return}if(i.length===4){if(i[3].type!=="Number"){return}i[3].type="Alpha"}if(r){if(i[0].type!==i[1].type||i[0].type!==i[2].type){return}}else{if(i[0].type!=="Number"||i[1].type!=="Percentage"||i[2].type!=="Percentage"){return}i[0].type="Angle"}return i.map(function(e){var t=Math.max(0,e.value);switch(e.type){case"Number":t=Math.min(t,255);break;case"Percentage":t=Math.min(t,100)/100;if(!r){return t}t=255*t;break;case"Angle":return(t%360+360)%360/360;case"Alpha":return Math.min(t,1)}return Math.round(t)})}function compressFunction(e,t,r){var n=e.name;var o;if(n==="rgba"||n==="hsla"){o=parseFunctionArgs(e.children,4,n==="rgba");if(!o){return}if(n==="hsla"){o=hslToRgb.apply(null,o);e.name="rgba"}if(o[3]===0){var s=this.function&&this.function.name;if(o[0]===0&&o[1]===0&&o[2]===0||!/^(?:to|from|color-stop)$|gradient$/i.test(s)){t.data={type:"Identifier",loc:e.loc,name:"transparent"};return}}if(o[3]!==1){e.children.each(function(e,t,r){if(e.type==="Operator"){if(e.value!==","){r.remove(t)}return}t.data={type:"Number",loc:e.loc,value:i(o.shift(),null)}});return}n="rgb"}if(n==="hsl"){o=o||parseFunctionArgs(e.children,3,false);if(!o){return}o=hslToRgb.apply(null,o);n="rgb"}if(n==="rgb"){o=o||parseFunctionArgs(e.children,3,true);if(!o){return}var a=t.next;if(a&&a.data.type!=="WhiteSpace"){r.insert(r.createItem({type:"WhiteSpace",value:" "}),a)}t.data={type:"HexColor",loc:e.loc,value:toHex(o[0])+toHex(o[1])+toHex(o[2])};compressHex(t.data,t)}}function compressIdent(e,t){if(this.declaration===null){return}var r=e.name.toLowerCase();if(o.hasOwnProperty(r)&&n.matchDeclaration(this.declaration).isType(e,"color")){var i=o[r];if(i.length+1<=r.length){t.data={type:"HexColor",loc:e.loc,value:i}}else{if(r==="grey"){r="gray"}e.name=r}}}function compressHex(e,t){var r=e.value.toLowerCase();if(r.length===6&&r[0]===r[1]&&r[2]===r[3]&&r[4]===r[5]){r=r[0]+r[2]+r[4]}if(s[r]){t.data={type:"Identifier",loc:e.loc,name:s[r]}}else{e.value=r}}e.exports={compressFunction:compressFunction,compressIdent:compressIdent,compressHex:compressHex}},36493:(e,t,r)=>{var n=r(39202).walk;var i={Atrule:r(80354),AttributeSelector:r(79506),Value:r(54527),Dimension:r(41447),Percentage:r(93894),Number:r(33977),String:r(71878),Url:r(39250),HexColor:r(47734).compressHex,Identifier:r(47734).compressIdent,Function:r(47734).compressFunction};e.exports=function(e){n(e,{leave:function(e,t,r){if(i.hasOwnProperty(e.type)){i[e.type].call(this,e,t,r)}}})}},9945:(e,t,r)=>{var n=r(39202).List;e.exports=function compressBackground(e){function lastType(){if(r.length){return r[r.length-1].type}}function flush(){if(lastType()==="WhiteSpace"){r.pop()}if(!r.length){r.unshift({type:"Number",loc:null,value:"0"},{type:"WhiteSpace",value:" "},{type:"Number",loc:null,value:"0"})}t.push.apply(t,r);r=[]}var t=[];var r=[];e.children.each(function(e){if(e.type==="Operator"&&e.value===","){flush();t.push(e);return}if(e.type==="Identifier"){if(e.name==="transparent"||e.name==="none"||e.name==="repeat"||e.name==="scroll"){return}}if(e.type==="WhiteSpace"&&(!r.length||lastType()==="WhiteSpace")){return}r.push(e)});flush();e.children=(new n).fromArray(t)}},55141:e=>{function removeItemAndRedundantWhiteSpace(e,t){var r=t.prev;var n=t.next;if(n!==null){if(n.data.type==="WhiteSpace"&&(r===null||r.data.type==="WhiteSpace")){e.remove(n)}}else if(r!==null&&r.data.type==="WhiteSpace"){e.remove(r)}e.remove(t)}e.exports=function compressBorder(e){e.children.each(function(e,t,r){if(e.type==="Identifier"&&e.name.toLowerCase()==="none"){if(r.head===r.tail){t.data={type:"Number",loc:e.loc,value:"0"}}else{removeItemAndRedundantWhiteSpace(r,t)}}})}},92980:e=>{e.exports=function compressFontWeight(e){var t=e.children.head.data;if(t.type==="Identifier"){switch(t.name){case"normal":e.children.head.data={type:"Number",loc:t.loc,value:"400"};break;case"bold":e.children.head.data={type:"Number",loc:t.loc,value:"700"};break}}}},29270:e=>{e.exports=function compressFont(e){var t=e.children;t.eachRight(function(e,t){if(e.type==="Identifier"){if(e.name==="bold"){t.data={type:"Number",loc:e.loc,value:"700"}}else if(e.name==="normal"){var r=t.prev;if(r&&r.data.type==="Operator"&&r.data.value==="/"){this.remove(r)}this.remove(t)}else if(e.name==="medium"){var n=t.next;if(!n||n.data.type!=="Operator"){this.remove(t)}}}});t.each(function(e,t){if(e.type==="WhiteSpace"){if(!t.prev||!t.next||t.next.data.type==="WhiteSpace"){this.remove(t)}}});if(t.isEmpty()){t.insert(t.createItem({type:"Identifier",name:"normal"}))}}},60245:(e,t,r)=>{var n=r(39202).List;var i=r(39202).keyword;var o=Object.prototype.hasOwnProperty;var s=r(39202).walk;function addRuleToMap(e,t,r,s){var a=t.data;var l=i(a.name).basename;var c=a.name.toLowerCase()+"/"+(a.prelude?a.prelude.id:null);if(!o.call(e,l)){e[l]=Object.create(null)}if(s){delete e[l][c]}if(!o.call(e[l],c)){e[l][c]=new n}e[l][c].append(r.remove(t))}function relocateAtrules(e,t){var r=Object.create(null);var n=null;e.children.each(function(e,o,s){if(e.type==="Atrule"){var a=i(e.name).basename;switch(a){case"keyframes":addRuleToMap(r,o,s,true);return;case"media":if(t.forceMediaMerge){addRuleToMap(r,o,s,false);return}break}if(n===null&&a!=="charset"&&a!=="import"){n=o}}else{if(n===null){n=o}}});for(var o in r){for(var s in r[o]){e.children.insertList(r[o][s],o==="media"?null:n)}}}function isMediaRule(e){return e.type==="Atrule"&&e.name==="media"}function processAtrule(e,t,r){if(!isMediaRule(e)){return}var n=t.prev&&t.prev.data;if(!n||!isMediaRule(n)){return}if(e.prelude&&n.prelude&&e.prelude.id===n.prelude.id){n.block.children.appendList(e.block.children);r.remove(t)}}e.exports=function rejoinAtrule(e,t){relocateAtrules(e,t);s(e,{visit:"Atrule",reverse:true,enter:processAtrule})}},10341:(e,t,r)=>{var n=r(39202).walk;var i=r(50326);function processRule(e,t,r){var n=e.prelude.children;var o=e.block.children;r.prevUntil(t.prev,function(s){if(s.type!=="Rule"){return i.unsafeToSkipNode.call(n,s)}var a=s.prelude.children;var l=s.block.children;if(e.pseudoSignature===s.pseudoSignature){if(i.isEqualSelectors(a,n)){l.appendList(o);r.remove(t);return true}if(i.isEqualDeclarations(o,l)){i.addSelectors(a,n);r.remove(t);return true}}return i.hasSimilarSelectors(n,a)})}e.exports=function initialMergeRule(e){n(e,{visit:"Rule",enter:processRule})}},66028:(e,t,r)=>{var n=r(39202).List;var i=r(39202).walk;function processRule(e,t,r){var i=e.prelude.children;while(i.head!==i.tail){var o=new n;o.insert(i.remove(i.head));r.insert(r.createItem({type:"Rule",loc:e.loc,prelude:{type:"SelectorList",loc:e.prelude.loc,children:o},block:{type:"Block",loc:e.block.loc,children:e.block.children.copy()},pseudoSignature:e.pseudoSignature}),t)}}e.exports=function disjoinRule(e){i(e,{visit:"Rule",reverse:true,enter:processRule})}},72704:(e,t,r)=>{var n=r(39202).List;var i=r(39202).generate;var o=r(39202).walk;var s=1;var a=2;var l=0;var c=1;var u=2;var d=3;var p=["top","right","bottom","left"];var f={"margin-top":"top","margin-right":"right","margin-bottom":"bottom","margin-left":"left","padding-top":"top","padding-right":"right","padding-bottom":"bottom","padding-left":"left","border-top-color":"top","border-right-color":"right","border-bottom-color":"bottom","border-left-color":"left","border-top-width":"top","border-right-width":"right","border-bottom-width":"bottom","border-left-width":"left","border-top-style":"top","border-right-style":"right","border-bottom-style":"bottom","border-left-style":"left"};var h={margin:"margin","margin-top":"margin","margin-right":"margin","margin-bottom":"margin","margin-left":"margin",padding:"padding","padding-top":"padding","padding-right":"padding","padding-bottom":"padding","padding-left":"padding","border-color":"border-color","border-top-color":"border-color","border-right-color":"border-color","border-bottom-color":"border-color","border-left-color":"border-color","border-width":"border-width","border-top-width":"border-width","border-right-width":"border-width","border-bottom-width":"border-width","border-left-width":"border-width","border-style":"border-style","border-top-style":"border-style","border-right-style":"border-style","border-bottom-style":"border-style","border-left-style":"border-style"};function TRBL(e){this.name=e;this.loc=null;this.iehack=undefined;this.sides={top:null,right:null,bottom:null,left:null}}TRBL.prototype.getValueSequence=function(e,t){var r=[];var n="";var i=e.value.children.some(function(t){var i=false;switch(t.type){case"Identifier":switch(t.name){case"\\0":case"\\9":n=t.name;return;case"inherit":case"initial":case"unset":case"revert":i=t.name;break}break;case"Dimension":switch(t.unit){case"rem":case"vw":case"vh":case"vmin":case"vmax":case"vm":i=t.unit;break}break;case"HexColor":case"Number":case"Percentage":break;case"Function":i=t.name;break;case"WhiteSpace":return false;default:return true}r.push({node:t,special:i,important:e.important})});if(i||r.length>t){return false}if(typeof this.iehack==="string"&&this.iehack!==n){return false}this.iehack=n;return r};TRBL.prototype.canOverride=function(e,t){var r=this.sides[e];return!r||t.important&&!r.important};TRBL.prototype.add=function(e,t){function attemptToAdd(){var r=this.sides;var n=f[e];if(n){if(n in r===false){return false}var i=this.getValueSequence(t,1);if(!i||!i.length){return false}for(var o in r){if(r[o]!==null&&r[o].special!==i[0].special){return false}}if(!this.canOverride(n,i[0])){return true}r[n]=i[0];return true}else if(e===this.name){var i=this.getValueSequence(t,4);if(!i||!i.length){return false}switch(i.length){case 1:i[c]=i[l];i[u]=i[l];i[d]=i[l];break;case 2:i[u]=i[l];i[d]=i[c];break;case 3:i[d]=i[c];break}for(var s=0;s<4;s++){for(var o in r){if(r[o]!==null&&r[o].special!==i[s].special){return false}}}for(var s=0;s<4;s++){if(this.canOverride(p[s],i[s])){r[p[s]]=i[s]}}return true}}if(!attemptToAdd.call(this)){return false}if(!this.loc){this.loc=t.loc}return true};TRBL.prototype.isOkToMinimize=function(){var e=this.sides.top;var t=this.sides.right;var r=this.sides.bottom;var n=this.sides.left;if(e&&t&&r&&n){var i=e.important+t.important+r.important+n.important;return i===0||i===4}return false};TRBL.prototype.getValue=function(){var e=new n;var t=this.sides;var r=[t.top,t.right,t.bottom,t.left];var o=[i(t.top.node),i(t.right.node),i(t.bottom.node),i(t.left.node)];if(o[d]===o[c]){r.pop();if(o[u]===o[l]){r.pop();if(o[c]===o[l]){r.pop()}}}for(var s=0;s{var n=r(39202).property;var i=r(39202).keyword;var o=r(39202).walk;var s=r(39202).generate;var a=1;var l={src:1};var c={display:/table|ruby|flex|-(flex)?box$|grid|contents|run-in/i,"text-align":/^(start|end|match-parent|justify-all)$/i};var u=["auto","crosshair","default","move","text","wait","help","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","pointer","progress","not-allowed","no-drop","vertical-text","all-scroll","col-resize","row-resize"];var d=["static","relative","absolute","fixed"];var p={"border-width":["border"],"border-style":["border"],"border-color":["border"],"border-top":["border"],"border-right":["border"],"border-bottom":["border"],"border-left":["border"],"border-top-width":["border-top","border-width","border"],"border-right-width":["border-right","border-width","border"],"border-bottom-width":["border-bottom","border-width","border"],"border-left-width":["border-left","border-width","border"],"border-top-style":["border-top","border-style","border"],"border-right-style":["border-right","border-style","border"],"border-bottom-style":["border-bottom","border-style","border"],"border-left-style":["border-left","border-style","border"],"border-top-color":["border-top","border-color","border"],"border-right-color":["border-right","border-color","border"],"border-bottom-color":["border-bottom","border-color","border"],"border-left-color":["border-left","border-color","border"],"margin-top":["margin"],"margin-right":["margin"],"margin-bottom":["margin"],"margin-left":["margin"],"padding-top":["padding"],"padding-right":["padding"],"padding-bottom":["padding"],"padding-left":["padding"],"font-style":["font"],"font-variant":["font"],"font-weight":["font"],"font-size":["font"],"font-family":["font"],"list-style-type":["list-style"],"list-style-position":["list-style"],"list-style-image":["list-style"]};function getPropertyFingerprint(e,t,r){var o=n(e).basename;if(o==="background"){return e+":"+s(t.value)}var l=t.id;var p=r[l];if(!p){switch(t.value.type){case"Value":var f="";var h="";var m={};var g=false;t.value.children.each(function walk(e){switch(e.type){case"Value":case"Brackets":case"Parentheses":e.children.each(walk);break;case"Raw":g=true;break;case"Identifier":var t=e.name;if(!f){f=i(t).vendor}if(/\\[09]/.test(t)){h=RegExp.lastMatch}if(o==="cursor"){if(u.indexOf(t)===-1){m[t]=true}}else if(o==="position"){if(d.indexOf(t)===-1){m[t]=true}}else if(c.hasOwnProperty(o)){if(c[o].test(t)){m[t]=true}}break;case"Function":var t=e.name;if(!f){f=i(t).vendor}if(t==="rect"){var r=e.children.some(function(e){return e.type==="Operator"&&e.value===","});if(!r){t="rect-backward"}}m[t+"()"]=true;e.children.each(walk);break;case"Dimension":var n=e.unit;if(/\\[09]/.test(n)){h=RegExp.lastMatch}switch(n){case"rem":case"vw":case"vh":case"vmin":case"vmax":case"vm":m[n]=true;break}break}});p=g?"!"+a++:"!"+Object.keys(m).sort()+"|"+h+f;break;case"Raw":p="!"+t.value.value;break;default:p=s(t.value)}r[l]=p}return e+p}function needless(e,t,r){var i=n(t.property);if(p.hasOwnProperty(i.basename)){var o=p[i.basename];for(var s=0;s{var n=r(39202).walk;var i=r(50326);function processRule(e,t,r){var n=e.prelude.children;var o=e.block.children;var s=n.first().compareMarker;var a={};r.nextUntil(t.next,function(t,l){if(t.type!=="Rule"){return i.unsafeToSkipNode.call(n,t)}if(e.pseudoSignature!==t.pseudoSignature){return true}var c=t.prelude.children.head;var u=t.block.children;var d=c.data.compareMarker;if(d in a){return true}if(n.head===n.tail){if(n.first().id===c.data.id){o.appendList(u);r.remove(l);return}}if(i.isEqualDeclarations(o,u)){var p=c.data.id;n.some(function(e,t){var r=e.id;if(p{var n=r(39202).List;var i=r(39202).walk;var o=r(50326);function calcSelectorLength(e){var t=0;e.each(function(e){t+=e.id.length+1});return t-1}function calcDeclarationsLength(e){var t=0;for(var r=0;r=x){var C=r.createItem({type:"Rule",loc:null,prelude:w,block:{type:"Block",loc:null,children:(new n).fromArray(v.eq)},pseudoSignature:e.pseudoSignature});l.children=(new n).fromArray(v.ne1);h.children=(new n).fromArray(v.ne2overrided);if(u){r.insert(C,f)}else{r.insert(C,t)}return true}}}}if(u){u=!y.some(function(e){return a.some(function(t){return t.compareMarker===e.compareMarker})})}y.each(function(e){c[e.compareMarker]=true})})}e.exports=function restructRule(e){i(e,{visit:"Rule",reverse:true,enter:processRule})}},86320:(e,t,r)=>{var n=r(97511);var i=r(60245);var o=r(10341);var s=r(66028);var a=r(72704);var l=r(40140);var c=r(72329);var u=r(17616);e.exports=function(e,t){var r=n(e,t);t.logger("prepare",e);i(e,t);t.logger("mergeAtrule",e);o(e);t.logger("initialMergeRuleset",e);s(e);t.logger("disjoinRuleset",e);a(e,r);t.logger("restructShorthand",e);l(e);t.logger("restructBlock",e);c(e);t.logger("mergeRuleset",e);u(e);t.logger("restructRuleset",e)}},21631:(e,t,r)=>{var n=r(39202).generate;function Index(){this.seed=0;this.map=Object.create(null)}Index.prototype.resolve=function(e){var t=this.map[e];if(!t){t=++this.seed;this.map[e]=t}return t};e.exports=function createDeclarationIndexer(){var e=new Index;return function markDeclaration(t){var r=n(t);t.id=e.resolve(r);t.length=r.length;t.fingerprint=null;return t}}},97511:(e,t,r)=>{var n=r(39202).keyword;var i=r(39202).walk;var o=r(39202).generate;var s=r(21631);var a=r(249);e.exports=function prepare(e,t){var r=s();i(e,{visit:"Rule",enter:function processRule(e){e.block.children.each(r);a(e,t.usage)}});i(e,{visit:"Atrule",enter:function(e){if(e.prelude){e.prelude.id=null;e.prelude.id=o(e.prelude)}if(n(e.name).basename==="keyframes"){e.block.avoidRulesMerge=true;e.block.children.each(function(e){e.prelude.children.each(function(e){e.compareMarker=e.id})})}}});return{declaration:r}}},249:(e,t,r)=>{var n=r(39202).generate;var i=r(77755);var o={"first-letter":true,"first-line":true,after:true,before:true};var s={link:true,visited:true,hover:true,active:true,"first-letter":true,"first-line":true,after:true,before:true};e.exports=function freeze(e,t){var r=Object.create(null);var a=false;e.prelude.children.each(function(e){var l="*";var c=0;e.children.each(function(i){switch(i.type){case"ClassSelector":if(t&&t.scopes){var u=t.scopes[i.name]||0;if(c!==0&&u!==c){throw new Error("Selector can't has classes from different scopes: "+n(e))}c=u}break;case"PseudoClassSelector":var d=i.name.toLowerCase();if(!s.hasOwnProperty(d)){r[d]=true;a=true}break;case"PseudoElementSelector":var d=i.name.toLowerCase();if(!o.hasOwnProperty(d)){r[d]=true;a=true}break;case"TypeSelector":l=i.name.toLowerCase();break;case"AttributeSelector":if(i.flags){r["["+i.flags.toLowerCase()+"]"]=true;a=true}break;case"WhiteSpace":case"Combinator":l="*";break}});e.compareMarker=i(e).toString();e.id=null;e.id=n(e);if(c){e.compareMarker+=":"+c}if(l!=="*"){e.compareMarker+=","+l}});e.pseudoSignature=a&&Object.keys(r).sort().join(",")}},77755:e=>{e.exports=function specificity(e){var t=0;var r=0;var n=0;e.children.each(function walk(e){switch(e.type){case"SelectorList":case"Selector":e.children.each(walk);break;case"IdSelector":t++;break;case"ClassSelector":case"AttributeSelector":r++;break;case"PseudoClassSelector":switch(e.name.toLowerCase()){case"not":e.children.each(walk);break;case"before":case"after":case"first-line":case"first-letter":n++;break;default:r++}break;case"PseudoElementSelector":n++;break;case"TypeSelector":if(e.name.charAt(e.name.length-1)!=="*"){n++}break}});return[t,r,n]}},50326:e=>{var t=Object.prototype.hasOwnProperty;function isEqualSelectors(e,t){var r=e.head;var n=t.head;while(r!==null&&n!==null&&r.data.id===n.data.id){r=r.next;n=n.next}return r===null&&n===null}function isEqualDeclarations(e,t){var r=e.head;var n=t.head;while(r!==null&&n!==null&&r.data.id===n.data.id){r=r.next;n=n.next}return r===null&&n===null}function compareDeclarations(e,r){var n={eq:[],ne1:[],ne2:[],ne2overrided:[]};var i=Object.create(null);var o=Object.create(null);for(var s=r.head;s;s=s.next){o[s.data.id]=true}for(var s=e.head;s;s=s.next){var a=s.data;if(a.fingerprint){i[a.fingerprint]=a.important}if(o[a.id]){o[a.id]=false;n.eq.push(a)}else{n.ne1.push(a)}}for(var s=r.head;s;s=s.next){var a=s.data;if(o[a.id]){if(!t.call(i,a.fingerprint)||!i[a.fingerprint]&&a.important){n.ne2.push(a)}n.ne2overrided.push(a)}}return n}function addSelectors(e,t){t.each(function(t){var r=t.id;var n=e.head;while(n){var i=n.data.id;if(i===r){return}if(i>r){break}n=n.next}e.insert(e.createItem(t),n)});return e}function hasSimilarSelectors(e,t){var r=e.head;while(r!==null){var n=t.head;while(n!==null){if(r.data.compareMarker===n.data.compareMarker){return true}n=n.next}r=r.next}return false}function unsafeToSkipNode(e){switch(e.type){case"Rule":return hasSimilarSelectors(e.prelude.children,this);case"Atrule":if(e.block){return e.block.children.some(unsafeToSkipNode,this)}break;case"Declaration":return false}return true}e.exports={isEqualSelectors:isEqualSelectors,isEqualDeclarations:isEqualDeclarations,compareDeclarations:compareDeclarations,addSelectors:addSelectors,hasSimilarSelectors:hasSimilarSelectors,unsafeToSkipNode:unsafeToSkipNode}},66411:e=>{var t=Object.prototype.hasOwnProperty;function buildMap(e,t){var r=Object.create(null);if(!Array.isArray(e)){return null}for(var n=0;n{var n=r(38365);var i=r(53501);var o=r(37363);var s=r(71826);function preprocessAtrules(e){var t=Object.create(null);for(var r in e){var n=e[r];var i=null;if(n.descriptors){i=Object.create(null);for(var o in n.descriptors){i[o]=n.descriptors[o].syntax}}t[r.substr(1)]={prelude:n.syntax.trim().match(/^@\S+\s+([^;\{]*)/)[1].trim()||null,descriptors:i}}return t}function buildDictionary(e,t){var r={};for(var n in e){r[n]=e[n].syntax}for(var n in t){if(n in e){if(t[n].syntax){r[n]=t[n].syntax}else{delete r[n]}}else{if(t[n].syntax){r[n]=t[n].syntax}}}return r}e.exports={types:buildDictionary(o,s.syntaxes),atrules:preprocessAtrules(n),properties:buildDictionary(i,s.properties)}},35855:e=>{function createItem(e){return{prev:null,next:null,data:e}}function allocateCursor(e,r,n){var i;if(t!==null){i=t;t=t.cursor;i.prev=r;i.next=n;i.cursor=e.cursor}else{i={prev:r,next:n,cursor:e.cursor}}e.cursor=i;return i}function releaseCursor(e){var r=e.cursor;e.cursor=r.cursor;r.prev=null;r.next=null;r.cursor=t;t=r}var t=null;var r=function(){this.cursor=null;this.head=null;this.tail=null};r.createItem=createItem;r.prototype.createItem=createItem;r.prototype.updateCursors=function(e,t,r,n){var i=this.cursor;while(i!==null){if(i.prev===e){i.prev=t}if(i.next===r){i.next=n}i=i.cursor}};r.prototype.getSize=function(){var e=0;var t=this.head;while(t){e++;t=t.next}return e};r.prototype.fromArray=function(e){var t=null;this.head=null;for(var r=0;r{var n=r(1136);var i=r(22802).isBOM;var o=10;var s=12;var a=13;function computeLinesAndColumns(e,t){var r=t.length;var l=n(e.lines,r);var c=e.startLine;var u=n(e.columns,r);var d=e.startColumn;var p=t.length>0?i(t.charCodeAt(0)):0;for(var f=p;f{var n=r(89308);var i=100;var o=60;var s=" ";function sourceFragment(e,t){function processLines(e,t){return r.slice(e,t).map(function(t,r){var n=String(e+r+1);while(n.lengthi){d=a-o+3;a=o-2}for(var p=l;p<=c;p++){if(p>=0&&p0&&r[p].length>d?"…":"")+r[p].substr(d,i-2)+(r[p].length>d+i-1?"…":"")}}return[processLines(l,n),new Array(a+u+2).join("-")+"^",processLines(n,c)].filter(Boolean).join("\n")}var a=function(e,t,r,i,o){var s=n("SyntaxError",e);s.source=t;s.offset=r;s.line=i;s.column=o;s.sourceFragment=function(e){return sourceFragment(s,isNaN(e)?0:e)};Object.defineProperty(s,"formattedMessage",{get:function(){return"Parse error: "+s.message+"\n"+sourceFragment(s,2)}});s.parseError={offset:r,line:i,column:o};return s};e.exports=a},34884:(e,t,r)=>{var n=r(48600);var i=n.TYPE;var o=n.NAME;var s=r(74501);var a=s.cmpStr;var l=i.EOF;var c=i.WhiteSpace;var u=i.Comment;var d=16777215;var p=24;var f=function(){this.offsetAndType=null;this.balance=null;this.reset()};f.prototype={reset:function(){this.eof=false;this.tokenIndex=-1;this.tokenType=0;this.tokenStart=this.firstCharOffset;this.tokenEnd=this.firstCharOffset},lookupType:function(e){e+=this.tokenIndex;if(e>p}return l},lookupOffset:function(e){e+=this.tokenIndex;if(e0){return e>p;switch(t(o,this.source,i)){case 1:break e;case 2:r++;break e;default:i=this.offsetAndType[r]&d;if(this.balance[n]===r){r=n}}}return r-this.tokenIndex},isBalanceEdge:function(e){return this.balance[this.tokenIndex]>p!==c){break}}if(t>0){this.skip(t)}},skipSC:function(){while(this.tokenType===c||this.tokenType===u){this.next()}},skip:function(e){var t=this.tokenIndex+e;if(t>p;this.tokenEnd=t&d}else{this.tokenIndex=this.tokenCount;this.next()}},next:function(){var e=this.tokenIndex+1;if(e>p;this.tokenEnd=e&d}else{this.tokenIndex=this.tokenCount;this.eof=true;this.tokenType=l;this.tokenStart=this.tokenEnd=this.source.length}},dump:function(){var e=this.firstCharOffset;return Array.prototype.slice.call(this.offsetAndType,0,this.tokenCount).map(function(t,r){var n=e;var i=t&d;e=i;return{idx:r,type:o[t>>p],chunk:this.source.substring(n,i),balance:this.balance[r]}},this)}};e.exports=f},1136:e=>{var t=16*1024;var r=typeof Uint32Array!=="undefined"?Uint32Array:Array;e.exports=function adoptBuffer(e,n){if(e===null||e.length{var n=r(35855);e.exports=function createConvertors(e){return{fromPlainObject:function(t){e(t,{enter:function(e){if(e.children&&e.children instanceof n===false){e.children=(new n).fromArray(e.children)}}});return t},toPlainObject:function(t){e(t,{leave:function(e){if(e.children&&e.children instanceof n){e.children=e.children.toArray()}}});return t}}}},5935:(e,t,r)=>{var n=r(89308);e.exports=function SyntaxError(e,t,r){var i=n("SyntaxError",e);i.input=t;i.offset=r;i.rawMessage=e;i.message=i.rawMessage+"\n"+" "+i.input+"\n"+"--"+new Array((i.offset||i.input.length)+1).join("-")+"^";return i}},13423:e=>{function noop(e){return e}function generateMultiplier(e){if(e.min===0&&e.max===0){return"*"}if(e.min===0&&e.max===1){return"?"}if(e.min===1&&e.max===0){return e.comma?"#":"+"}if(e.min===1&&e.max===1){return""}return(e.comma?"#":"")+(e.min===e.max?"{"+e.min+"}":"{"+e.min+","+(e.max!==0?e.max:"")+"}")}function generateTypeOpts(e){switch(e.type){case"Range":return" ["+(e.min===null?"-∞":e.min)+","+(e.max===null?"∞":e.max)+"]";default:throw new Error("Unknown node type `"+e.type+"`")}}function generateSequence(e,t,r,n){var i=e.combinator===" "||n?e.combinator:" "+e.combinator+" ";var o=e.terms.map(function(e){return generate(e,t,r,n)}).join(i);if(e.explicit||r){o=(n||o[0]===","?"[":"[ ")+o+(n?"]":" ]")}return o}function generate(e,t,r,n){var i;switch(e.type){case"Group":i=generateSequence(e,t,r,n)+(e.disallowEmpty?"!":"");break;case"Multiplier":return generate(e.term,t,r,n)+t(generateMultiplier(e),e);case"Type":i="<"+e.name+(e.opts?t(generateTypeOpts(e.opts),e.opts):"")+">";break;case"Property":i="<'"+e.name+"'>";break;case"Keyword":i=e.name;break;case"AtKeyword":i="@"+e.name;break;case"Function":i=e.name+"(";break;case"String":case"Token":i=e.value;break;case"Comma":i=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(i,e)}e.exports=function(e,t){var r=noop;var n=false;var i=false;if(typeof t==="function"){r=t}else if(t){n=Boolean(t.forceBraces);i=Boolean(t.compact);if(typeof t.decorate==="function"){r=t.decorate}}return generate(e,r,n,i)}},57596:(e,t,r)=>{e.exports={SyntaxError:r(5935),parse:r(31617),generate:r(13423),walk:r(96718)}},31617:(e,t,r)=>{var n=r(18493);var i=9;var o=10;var s=12;var a=13;var l=32;var c=33;var u=35;var d=38;var p=39;var f=40;var h=41;var m=42;var g=43;var y=44;var v=45;var b=60;var S=62;var w=63;var x=64;var C=91;var k=93;var T=123;var E=124;var _=125;var O=8734;var A=createCharMap(function(e){return/[a-zA-Z0-9\-]/.test(e)});var P={" ":1,"&&":2,"||":3,"|":4};function createCharMap(e){var t=typeof Uint32Array==="function"?new Uint32Array(128):new Array(128);for(var r=0;r<128;r++){t[r]=e(String.fromCharCode(r))?1:0}return t}function scanSpaces(e){return e.substringToPos(e.findWsEnd(e.pos))}function scanWord(e){var t=e.pos;for(;t=128||A[r]===0){break}}if(e.pos===t){e.error("Expect a keyword")}return e.substringToPos(t)}function scanNumber(e){var t=e.pos;for(;t57){break}}if(e.pos===t){e.error("Expect a number")}return e.substringToPos(t)}function scanString(e){var t=e.str.indexOf("'",e.pos+1);if(t===-1){e.pos=e.str.length;e.error("Expect an apostrophe")}return e.substringToPos(t+1)}function readMultiplierRange(e){var t=null;var r=null;e.eat(T);t=scanNumber(e);if(e.charCode()===y){e.pos++;if(e.charCode()!==_){r=scanNumber(e)}}else{r=t}e.eat(_);return{min:Number(t),max:r?Number(r):0}}function readMultiplier(e){var t=null;var r=false;switch(e.charCode()){case m:e.pos++;t={min:0,max:0};break;case g:e.pos++;t={min:1,max:0};break;case w:e.pos++;t={min:0,max:1};break;case u:e.pos++;r=true;if(e.charCode()===T){t=readMultiplierRange(e)}else{t={min:1,max:0}}break;case T:t=readMultiplierRange(e);break;default:return null}return{type:"Multiplier",comma:r,min:t.min,max:t.max,term:null}}function maybeMultiplied(e,t){var r=readMultiplier(e);if(r!==null){r.term=t;return r}return t}function maybeToken(e){var t=e.peek();if(t===""){return null}return{type:"Token",value:t}}function readProperty(e){var t;e.eat(b);e.eat(p);t=scanWord(e);e.eat(p);e.eat(S);return maybeMultiplied(e,{type:"Property",name:t})}function readTypeRange(e){var t=null;var r=null;var n=1;e.eat(C);if(e.charCode()===v){e.peek();n=-1}if(n==-1&&e.charCode()===O){e.peek()}else{t=n*Number(scanNumber(e))}scanSpaces(e);e.eat(y);scanSpaces(e);if(e.charCode()===O){e.peek()}else{n=1;if(e.charCode()===v){e.peek();n=-1}r=n*Number(scanNumber(e))}e.eat(k);if(t===null&&r===null){return null}return{type:"Range",min:t,max:r}}function readType(e){var t;var r=null;e.eat(b);t=scanWord(e);if(e.charCode()===f&&e.nextCharCode()===h){e.pos+=2;t+="()"}if(e.charCodeAt(e.findWsEnd(e.pos))===C){scanSpaces(e);r=readTypeRange(e)}e.eat(S);return maybeMultiplied(e,{type:"Type",name:t,opts:r})}function readKeywordOrFunction(e){var t;t=scanWord(e);if(e.charCode()===f){e.pos++;return{type:"Function",name:t}}return maybeMultiplied(e,{type:"Keyword",name:t})}function regroupTerms(e,t){function createGroup(e,t){return{type:"Group",terms:e,combinator:t,disallowEmpty:false,explicit:false}}t=Object.keys(t).sort(function(e,t){return P[e]-P[t]});while(t.length>0){var r=t.shift();for(var n=0,i=0;n1){e.splice(i,n-i,createGroup(e.slice(i,n),r));n=i+1}i=-1}}}if(i!==-1&&t.length){e.splice(i,n-i,createGroup(e.slice(i,n),r))}}return r}function readImplicitGroup(e){var t=[];var r={};var n;var i=null;var o=e.pos;while(n=peek(e)){if(n.type!=="Spaces"){if(n.type==="Combinator"){if(i===null||i.type==="Combinator"){e.pos=o;e.error("Unexpected combinator")}r[n.value]=true}else if(i!==null&&i.type!=="Combinator"){r[" "]=true;t.push({type:"Combinator",value:" "})}t.push(n);i=n;o=e.pos}}if(i!==null&&i.type==="Combinator"){e.pos-=o;e.error("Unexpected combinator")}return{type:"Group",terms:t,combinator:regroupTerms(t,r)||" ",disallowEmpty:false,explicit:false}}function readGroup(e){var t;e.eat(C);t=readImplicitGroup(e);e.eat(k);t.explicit=true;if(e.charCode()===c){e.pos++;t.disallowEmpty=true}return t}function peek(e){var t=e.charCode();if(t<128&&A[t]===1){return readKeywordOrFunction(e)}switch(t){case k:break;case C:return maybeMultiplied(e,readGroup(e));case b:return e.nextCharCode()===p?readProperty(e):readType(e);case E:return{type:"Combinator",value:e.substringToPos(e.nextCharCode()===E?e.pos+2:e.pos+1)};case d:e.pos++;e.eat(d);return{type:"Combinator",value:"&&"};case y:e.pos++;return{type:"Comma"};case p:return maybeMultiplied(e,{type:"String",value:scanString(e)});case l:case i:case o:case a:case s:return{type:"Spaces",value:scanSpaces(e)};case x:t=e.nextCharCode();if(t<128&&A[t]===1){e.pos++;return{type:"AtKeyword",name:scanWord(e)}}return maybeToken(e);case m:case g:case w:case u:case c:break;case T:t=e.nextCharCode();if(t<48||t>57){return maybeToken(e)}break;default:return maybeToken(e)}}function parse(e){var t=new n(e);var r=readImplicitGroup(t);if(t.pos!==e.length){t.error("Unexpected input")}if(r.terms.length===1&&r.terms[0].type==="Group"){r=r.terms[0]}return r}parse("[a&&#|<'c'>*||e() f{2} /,(% g#{1,2} h{2,})]!");e.exports=parse},18493:(e,t,r)=>{var n=r(5935);var i=9;var o=10;var s=12;var a=13;var l=32;var c=function(e){this.str=e;this.pos=0};c.prototype={charCodeAt:function(e){return e{var t=function(){};function ensureFunction(e){return typeof e==="function"?e:t}e.exports=function(e,r,n){function walk(e){i.call(n,e);switch(e.type){case"Group":e.terms.forEach(walk);break;case"Multiplier":walk(e.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+e.type)}o.call(n,e)}var i=t;var o=t;if(typeof r==="function"){i=r}else if(r){i=ensureFunction(r.enter);o=ensureFunction(r.leave)}if(i===t&&o===t){throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function")}walk(e,n)}},34570:(e,t,r)=>{var n=r(34650);var i=Object.prototype.hasOwnProperty;function processChildren(e,t){var r=e.children;var n=null;if(typeof t!=="function"){r.forEach(this.node,this)}else{r.forEach(function(e){if(n!==null){t.call(this,n)}this.node(e);n=e},this)}}e.exports=function createGenerator(e){function processNode(e){if(i.call(t,e.type)){t[e.type].call(this,e)}else{throw new Error("Unknown node type: "+e.type)}}var t={};if(e.node){for(var r in e.node){t[r]=e.node[r].generate}}return function(e,t){var r="";var i={children:processChildren,node:processNode,chunk:function(e){r+=e},result:function(){return r}};if(t){if(typeof t.decorator==="function"){i=t.decorator(i)}if(t.sourceMap){i=n(i)}}i.node(e);return i.result()}}},34650:(e,t,r)=>{var n=r(28265).h;var i={Atrule:true,Selector:true,Declaration:true};e.exports=function generateSourceMap(e){var t=new n;var r=1;var o=0;var s={line:1,column:0};var a={line:0,column:0};var l=false;var c={line:1,column:0};var u={generated:c};var d=e.node;e.node=function(e){if(e.loc&&e.loc.start&&i.hasOwnProperty(e.type)){var n=e.loc.start.line;var p=e.loc.start.column-1;if(a.line!==n||a.column!==p){a.line=n;a.column=p;s.line=r;s.column=o;if(l){l=false;if(s.line!==c.line||s.column!==c.column){t.addMapping(u)}}l=true;t.addMapping({source:e.loc.source,original:a,generated:s})}}d.call(this,e);if(l&&i.hasOwnProperty(e.type)){c.line=r;c.column=o}};var p=e.chunk;e.chunk=function(e){for(var t=0;t{e.exports=r(10572)},46218:(e,t,r)=>{var n=r(86279).SyntaxReferenceError;var i=r(86279).MatchError;var o=r(50411);var s=r(19040);var a=r(31617);var l=r(13423);var c=r(96718);var u=r(32211);var d=r(10879).buildMatchGraph;var p=r(73019).matchAsTree;var f=r(13810);var h=r(81975);var m=r(73169).getStructureFromConfig;var g=d("inherit | initial | unset");var y=d("inherit | initial | unset | <-ms-legacy-expression>");function dumpMapSyntax(e,t,r){var n={};for(var i in e){if(e[i].syntax){n[i]=r?e[i].syntax:l(e[i].syntax,{compact:t})}}return n}function valueHasVar(e){for(var t=0;t{e[r]=this.createDescriptor(t.descriptors[r],"AtruleDescriptor",r);return e},{}):null}},addProperty_:function(e,t){this.properties[e]=this.createDescriptor(t,"Property",e)},addType_:function(e,t){this.types[e]=this.createDescriptor(t,"Type",e);if(t===s["-ms-legacy-expression"]){this.valueCommonSyntax=y}},matchAtrulePrelude:function(e,t){var r=o.keyword(e);var i=r.vendor?this.getAtrulePrelude(r.name)||this.getAtrulePrelude(r.basename):this.getAtrulePrelude(r.name);if(!i){if(r.basename in this.atrules){return buildMatchResult(null,new Error("At-rule `"+e+"` should not contain a prelude"))}return buildMatchResult(null,new n("Unknown at-rule",e))}return matchSyntax(this,i,t,true)},matchAtruleDescriptor:function(e,t,r){var i=o.keyword(e);var s=o.keyword(t);var a=i.vendor?this.atrules[i.name]||this.atrules[i.basename]:this.atrules[i.name];if(!a){return buildMatchResult(null,new n("Unknown at-rule",e))}if(!a.descriptors){return buildMatchResult(null,new Error("At-rule `"+e+"` has no known descriptors"))}var l=s.vendor?a.descriptors[s.name]||a.descriptors[s.basename]:a.descriptors[s.name];if(!l){return buildMatchResult(null,new n("Unknown at-rule descriptor",t))}return matchSyntax(this,l,r,true)},matchDeclaration:function(e){if(e.type!=="Declaration"){return buildMatchResult(null,new Error("Not a Declaration node"))}return this.matchProperty(e.property,e.value)},matchProperty:function(e,t){var r=o.property(e);if(r.custom){return buildMatchResult(null,new Error("Lexer matching doesn't applicable for custom properties"))}var i=r.vendor?this.getProperty(r.name)||this.getProperty(r.basename):this.getProperty(r.name);if(!i){return buildMatchResult(null,new n("Unknown property",e))}return matchSyntax(this,i,t,true)},matchType:function(e,t){var r=this.getType(e);if(!r){return buildMatchResult(null,new n("Unknown type",e))}return matchSyntax(this,r,t,false)},match:function(e,t){if(typeof e!=="string"&&(!e||!e.type)){return buildMatchResult(null,new n("Bad syntax"))}if(typeof e==="string"||!e.match){e=this.createDescriptor(e,"Type","anonymous")}return matchSyntax(this,e,t,false)},findValueFragments:function(e,t,r,n){return h.matchFragments(this,t,this.matchProperty(e,t),r,n)},findDeclarationValueFragments:function(e,t,r){return h.matchFragments(this,e.value,this.matchDeclaration(e),t,r)},findAllFragments:function(e,t,r){var n=[];this.syntax.walk(e,{visit:"Declaration",enter:function(e){n.push.apply(n,this.findDeclarationValueFragments(e,t,r))}.bind(this)});return n},getAtrulePrelude:function(e){return this.atrules.hasOwnProperty(e)?this.atrules[e].prelude:null},getAtruleDescriptor:function(e,t){return this.atrules.hasOwnProperty(e)&&this.atrules.declarators?this.atrules[e].declarators[t]||null:null},getProperty:function(e){return this.properties.hasOwnProperty(e)?this.properties[e]:null},getType:function(e){return this.types.hasOwnProperty(e)?this.types[e]:null},validate:function(){function validate(r,n,i,o){if(i.hasOwnProperty(n)){return i[n]}i[n]=false;if(o.syntax!==null){c(o.syntax,function(o){if(o.type!=="Type"&&o.type!=="Property"){return}var s=o.type==="Type"?r.types:r.properties;var a=o.type==="Type"?e:t;if(!s.hasOwnProperty(o.name)||validate(r,o.name,a,s[o.name])){i[n]=true}},this)}}var e={};var t={};for(var r in this.types){validate(this,r,e,this.types[r])}for(var r in this.properties){validate(this,r,t,this.properties[r])}e=Object.keys(e).filter(function(t){return e[t]});t=Object.keys(t).filter(function(e){return t[e]});if(e.length||t.length){return{types:e,properties:t}}return null},dump:function(e,t){return{generic:this.generic,types:dumpMapSyntax(this.types,!t,e),properties:dumpMapSyntax(this.properties,!t,e)}},toString:function(){return JSON.stringify(this.dump())}};e.exports=v},86279:(e,t,r)=>{var n=r(89308);var i=r(13423);function fromMatchResult(e){var t=e.tokens;var r=e.longestMatch;var n=r1}}function getLocation(e,t){var r=e&&e.loc&&e.loc[t];if(r){return{offset:r.offset,line:r.line,column:r.column}}return null}var o=function(e,t){var r=n("SyntaxReferenceError",e+(t?" `"+t+"`":""));r.reference=t;return r};var s=function(e,t,r,o){var s=n("SyntaxMatchError",e);var a=fromMatchResult(o);var l=a.mismatchOffset||0;var c=a.node||r;var u=getLocation(c,"end");var d=a.last?u:getLocation(c,"start");var p=a.css;s.rawMessage=e;s.syntax=t?i(t):"";s.css=p;s.mismatchOffset=l;s.loc={source:c&&c.loc&&c.loc.source||"",start:d,end:u};s.line=d?d.line:undefined;s.column=d?d.column:undefined;s.offset=d?d.offset:undefined;s.message=e+"\n"+" syntax: "+s.syntax+"\n"+" value: "+(s.css||"")+"\n"+" --------"+new Array(s.mismatchOffset+1).join("-")+"^";return s};e.exports={SyntaxReferenceError:o,MatchError:s}},56215:(e,t,r)=>{var n=r(22802).isDigit;var i=r(22802).cmpChar;var o=r(22802).TYPE;var s=o.Delim;var a=o.WhiteSpace;var l=o.Comment;var c=o.Ident;var u=o.Number;var d=o.Dimension;var p=43;var f=45;var h=110;var m=true;var g=false;function isDelim(e,t){return e!==null&&e.type===s&&e.value.charCodeAt(0)===t}function skipSC(e,t,r){while(e!==null&&(e.type===a||e.type===l)){e=r(++t)}return t}function checkInteger(e,t,r,i){if(!e){return 0}var o=e.value.charCodeAt(t);if(o===p||o===f){if(r){return 0}t++}for(;t{var n=r(22802).isHexDigit;var i=r(22802).cmpChar;var o=r(22802).TYPE;var s=o.Ident;var a=o.Delim;var l=o.Number;var c=o.Dimension;var u=43;var d=45;var p=63;var f=117;function isDelim(e,t){return e!==null&&e.type===a&&e.value.charCodeAt(0)===t}function startsWith(e,t){return e.value.charCodeAt(0)===t}function hexSequence(e,t,r){for(var i=t,o=0;i0){return 6}return 0}if(!n(s)){return 0}if(++o>6){return 0}}return o}function withQuestionMarkSequence(e,t,r){if(!e){return 0}while(isDelim(r(t),p)){if(++e>6){return 0}t++}return t}e.exports=function urange(e,t){var r=0;if(e===null||e.type!==s||!i(e.value,0,f)){return 0}e=t(++r);if(e===null){return 0}if(isDelim(e,u)){e=t(++r);if(e===null){return 0}if(e.type===s){return withQuestionMarkSequence(hexSequence(e,0,true),++r,t)}if(isDelim(e,p)){return withQuestionMarkSequence(1,++r,t)}return 0}if(e.type===l){if(!startsWith(e,u)){return 0}var n=hexSequence(e,1,true);if(n===0){return 0}e=t(++r);if(e===null){return r}if(e.type===c||e.type===l){if(!startsWith(e,d)||!hexSequence(e,1,false)){return 0}return r+1}return withQuestionMarkSequence(n,r,t)}if(e.type===c){if(!startsWith(e,u)){return 0}return withQuestionMarkSequence(hexSequence(e,1,true),++r,t)}return 0}},19040:(e,t,r)=>{var n=r(22802);var i=n.isIdentifierStart;var o=n.isHexDigit;var s=n.isDigit;var a=n.cmpStr;var l=n.consumeNumber;var c=n.TYPE;var u=r(56215);var d=r(21750);var p=["unset","initial","inherit"];var f=["calc(","-moz-calc(","-webkit-calc("];var h={px:true,mm:true,cm:true,in:true,pt:true,pc:true,q:true,em:true,ex:true,ch:true,rem:true,vh:true,vw:true,vmin:true,vmax:true,vm:true};var m={deg:true,grad:true,rad:true,turn:true};var g={s:true,ms:true};var y={hz:true,khz:true};var v={dpi:true,dpcm:true,dppx:true,x:true};var b={fr:true};var S={db:true};var w={st:true};function charCode(e,t){return te.max){return true}}return false}function consumeFunction(e,t){var r=e.index;var n=0;do{n++;if(e.balance<=r){break}}while(e=t(n));return n}function calc(e){return function(t,r,n){if(t===null){return 0}if(t.type===c.Function&&eqStrAny(t.value,f)){return consumeFunction(t,r)}return e(t,r,n)}}function tokenType(e){return function(t){if(t===null||t.type!==e){return 0}return 1}}function func(e){e=e+"(";return function(t,r){if(t!==null&&eqStr(t.value,e)){return consumeFunction(t,r)}return 0}}function customIdent(e){if(e===null||e.type!==c.Ident){return 0}var t=e.value.toLowerCase();if(eqStrAny(t,p)){return 0}if(eqStr(t,"default")){return 0}return 1}function customPropertyName(e){if(e===null||e.type!==c.Ident){return 0}if(charCode(e.value,0)!==45||charCode(e.value,1)!==45){return 0}return 1}function hexColor(e){if(e===null||e.type!==c.Hash){return 0}var t=e.value.length;if(t!==4&&t!==5&&t!==7&&t!==9){return 0}for(var r=1;re.index||e.balancee.index||e.balance{var n=r(31617);var i={type:"Match"};var o={type:"Mismatch"};var s={type:"DisallowEmpty"};var a=40;var l=41;function createCondition(e,t,r){if(t===i&&r===o){return e}if(e===i&&t===i&&r===i){return e}if(e.type==="If"&&e.else===o&&t===i){t=e.then;e=e.match}return{type:"If",match:e,then:t,else:r}}function isFunctionType(e){return e.length>2&&e.charCodeAt(e.length-2)===a&&e.charCodeAt(e.length-1)===l}function isEnumCapatible(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&isFunctionType(e.name)}function buildGroupMatchGraph(e,t,r){switch(e){case" ":var n=i;for(var s=t.length-1;s>=0;s--){var a=t[s];n=createCondition(a,n,o)};return n;case"|":var n=o;var l=null;for(var s=t.length-1;s>=0;s--){var a=t[s];if(isEnumCapatible(a)){if(l===null&&s>0&&isEnumCapatible(t[s-1])){l=Object.create(null);n=createCondition({type:"Enum",map:l},i,n)}if(l!==null){var c=(isFunctionType(a.name)?a.name.slice(0,-1):a.name).toLowerCase();if(c in l===false){l[c]=a;continue}}}l=null;n=createCondition(a,i,n)};return n;case"&&":if(t.length>5){return{type:"MatchOnce",terms:t,all:true}}var n=o;for(var s=t.length-1;s>=0;s--){var a=t[s];var u;if(t.length>1){u=buildGroupMatchGraph(e,t.filter(function(e){return e!==a}),false)}else{u=i}n=createCondition(a,u,n)};return n;case"||":if(t.length>5){return{type:"MatchOnce",terms:t,all:false}}var n=r?i:o;for(var s=t.length-1;s>=0;s--){var a=t[s];var u;if(t.length>1){u=buildGroupMatchGraph(e,t.filter(function(e){return e!==a}),true)}else{u=i}n=createCondition(a,u,n)};return n}}function buildMultiplierMatchGraph(e){var t=i;var r=buildMatchGraph(e.term);if(e.max===0){r=createCondition(r,s,o);t=createCondition(r,null,o);t.then=createCondition(i,i,t);if(e.comma){t.then.else=createCondition({type:"Comma",syntax:e},t,o)}}else{for(var n=e.min||1;n<=e.max;n++){if(e.comma&&t!==i){t=createCondition({type:"Comma",syntax:e},t,o)}t=createCondition(r,createCondition(i,i,t),o)}}if(e.min===0){t=createCondition(i,i,t)}else{for(var n=0;n{var n=Object.prototype.hasOwnProperty;var i=r(10879);var o=i.MATCH;var s=i.MISMATCH;var a=i.DISALLOW_EMPTY;var l=r(48600).TYPE;var c=0;var u=1;var d=2;var p=3;var f="Match";var h="Mismatch";var m="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)";var g=15e3;var y=0;function reverseList(e){var t=null;var r=null;var n=e;while(n!==null){r=n.prev;n.prev=t;t=n;n=r}return t}function areStringsEqualCaseInsensitive(e,t){if(e.length!==t.length){return false}for(var r=0;r=65&&n<=90){n=n|32}if(n!==i){return false}}return true}function isCommaContextStart(e){if(e===null){return true}return e.type===l.Comma||e.type===l.Function||e.type===l.LeftParenthesis||e.type===l.LeftSquareBracket||e.type===l.LeftCurlyBracket||e.type===l.Delim}function isCommaContextEnd(e){if(e===null){return true}return e.type===l.RightParenthesis||e.type===l.RightSquareBracket||e.type===l.RightCurlyBracket||e.type===l.Delim}function internalMatch(e,t,r){function moveToNextToken(){do{k++;C=kT){T=k}}function openSyntax(){i={syntax:t.syntax,opts:t.syntax.opts||i!==null&&i.opts||null,prev:i};E={type:d,syntax:t.syntax,token:E.token,prev:E}}function closeSyntax(){if(E.type===d){E=E.prev}else{E={type:p,syntax:i.syntax,token:E.token,prev:E}}i=i.prev}var i=null;var v=null;var b=null;var S=null;var w=0;var x=null;var C=null;var k=-1;var T=0;var E={type:c,syntax:null,token:null,prev:null};moveToNextToken();while(x===null&&++wb.tokenIndex){b=S;S=false}}else if(b===null){x=h;break}t=b.nextState;v=b.thenStack;i=b.syntaxStack;E=b.matchStack;k=b.tokenIndex;C=kk){while(k":"<'"+t.name+"'>"))}if(S!==false&&C!==null&&t.type==="Type"){var M=t.name==="custom-ident"&&C.type===l.Ident||t.name==="length"&&C.value==="0";if(M){if(S===null){S=stateSnapshotFromSyntax(t,b)}t=s;break}}openSyntax();t=L.match;break;case"Keyword":var A=t.name;if(C!==null){var W=C.value;if(W.indexOf("\\")!==-1){W=W.replace(/\\[09].*$/,"")}if(areStringsEqualCaseInsensitive(W,A)){addTokenToMatch();t=o;break}}t=s;break;case"AtKeyword":case"Function":if(C!==null&&areStringsEqualCaseInsensitive(C.value,t.name)){addTokenToMatch();t=o;break}t=s;break;case"Token":if(C!==null&&C.value===t.value){addTokenToMatch();t=o;break}t=s;break;case"Comma":if(C!==null&&C.type===l.Comma){if(isCommaContextStart(E.token)){t=s}else{addTokenToMatch();t=isCommaContextEnd(C)?s:o}}else{t=isCommaContextStart(E.token)||isCommaContextEnd(C)?o:s}break;case"String":var B="";for(var z=k;z{var n=r(22802);var i=r(34884);var o=new i;var s={decorator:function(e){var t=null;var r={len:0,node:null};var n=[r];var i="";return{children:e.children,node:function(r){var n=t;t=r;e.node.call(this,r);t=n},chunk:function(e){i+=e;if(r.node!==t){n.push({len:e.length,node:t})}else{r.len+=e.length}},result:function(){return prepareTokens(i,n)}}}};function prepareTokens(e,t){var r=[];var i=0;var s=0;var a=t?t[s].node:null;n(e,o);while(!o.eof){if(t){while(s{var n=r(35855);function getFirstMatchNode(e){if("node"in e){return e.node}return getFirstMatchNode(e.match[0])}function getLastMatchNode(e){if("node"in e){return e.node}return getLastMatchNode(e.match[e.match.length-1])}function matchFragments(e,t,r,i,o){function findFragments(r){if(r.syntax!==null&&r.syntax.type===i&&r.syntax.name===o){var a=getFirstMatchNode(r);var l=getLastMatchNode(r);e.syntax.walk(t,function(e,t,r){if(e===a){var i=new n;do{i.appendData(t.data);if(t.data===l){break}t=t.next}while(t!==null);s.push({parent:r,nodes:i})}})}if(Array.isArray(r.match)){r.match.forEach(findFragments)}}var s=[];if(r.matched!==null){findFragments(r.matched)}return s}e.exports={matchFragments:matchFragments}},73169:(e,t,r)=>{var n=r(35855);var i=Object.prototype.hasOwnProperty;function isValidNumber(e){return typeof e==="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function isValidLocation(e){return Boolean(e)&&isValidNumber(e.offset)&&isValidNumber(e.line)&&isValidNumber(e.column)}function createNodeStructureChecker(e,t){return function checkNode(r,o){if(!r||r.constructor!==Object){return o(r,"Type of node should be an Object")}for(var s in r){var a=true;if(i.call(r,s)===false){continue}if(s==="type"){if(r.type!==e){o(r,"Wrong node type `"+r.type+"`, expected `"+e+"`")}}else if(s==="loc"){if(r.loc===null){continue}else if(r.loc&&r.loc.constructor===Object){if(typeof r.loc.source!=="string"){s+=".source"}else if(!isValidLocation(r.loc.start)){s+=".start"}else if(!isValidLocation(r.loc.end)){s+=".end"}else{continue}}a=false}else if(t.hasOwnProperty(s)){for(var l=0,a=false;!a&&l")}else if(Array.isArray(u)){a.push("List")}else{throw new Error("Wrong value `"+u+"` in `"+e+"."+s+"` structure definition")}}o[s]=a.join(" | ")}return{docs:o,check:createNodeStructureChecker(e,n)}}e.exports={getStructureFromConfig:function(e){var t={};if(e.node){for(var r in e.node){if(i.call(e.node,r)){var n=e.node[r];if(n.structure){t[r]=processStructure(r,n)}else{throw new Error("Missed `structure` field in `"+r+"` node type definition")}}}}return t}}},13810:e=>{function getTrace(e){function shouldPutToTrace(e){if(e===null){return false}return e.type==="Type"||e.type==="Property"||e.type==="Keyword"}function hasMatch(r){if(Array.isArray(r.match)){for(var n=0;n{var n=r(25892);var i=r(29032);var o=r(34884);var s=r(35855);var a=r(22802);var l=r(48600);var c=r(74501).findWhiteSpaceStart;var u=r(69294);var d=function(){};var p=l.TYPE;var f=l.NAME;var h=p.WhiteSpace;var m=p.Ident;var g=p.Function;var y=p.Url;var v=p.Hash;var b=p.Percentage;var S=p.Number;var w=35;var x=0;function createParseContext(e){return function(){return this[e]()}}function processConfig(e){var t={context:{},scope:{},atrule:{},pseudo:{}};if(e.parseContext){for(var r in e.parseContext){switch(typeof e.parseContext[r]){case"function":t.context[r]=e.parseContext[r];break;case"string":t.context[r]=createParseContext(e.parseContext[r]);break}}}if(e.scope){for(var r in e.scope){t.scope[r]=e.scope[r]}}if(e.atrule){for(var r in e.atrule){var n=e.atrule[r];if(n.parse){t.atrule[r]=n.parse}}}if(e.pseudo){for(var r in e.pseudo){var i=e.pseudo[r];if(i.parse){t.pseudo[r]=i.parse}}}if(e.node){for(var r in e.node){t[r]=e.node[r].parse}}return t}e.exports=function createParser(e){var t={scanner:new o,locationMap:new n,filename:"",needPositions:false,onParseError:d,onParseErrorThrow:false,parseAtrulePrelude:true,parseRulePrelude:true,parseValue:true,parseCustomProperty:false,readSequence:u,createList:function(){return new s},createSingleNodeList:function(e){return(new s).appendData(e)},getFirstListNode:function(e){return e&&e.first()},getLastListNode:function(e){return e.last()},parseWithFallback:function(e,t){var r=this.scanner.tokenIndex;try{return e.call(this)}catch(e){if(this.onParseErrorThrow){throw e}var n=t.call(this,r);this.onParseErrorThrow=true;this.onParseError(e,n);this.onParseErrorThrow=false;return n}},lookupNonWSType:function(e){do{var t=this.scanner.lookupType(e++);if(t!==h){return t}}while(t!==x);return x},eat:function(e){if(this.scanner.tokenType!==e){var t=this.scanner.tokenStart;var r=f[e]+" is expected";switch(e){case m:if(this.scanner.tokenType===g||this.scanner.tokenType===y){t=this.scanner.tokenEnd-1;r="Identifier is expected but function found"}else{r="Identifier is expected"}break;case v:if(this.scanner.isDelim(w)){this.scanner.next();t++;r="Name is expected"}break;case b:if(this.scanner.tokenType===S){t=this.scanner.tokenEnd;r="Percent sign is expected"}break;default:if(this.scanner.source.charCodeAt(this.scanner.tokenStart)===e){t=t+1}}this.error(r,t)}this.scanner.next()},consume:function(e){var t=this.scanner.getTokenValue();this.eat(e);return t},consumeFunctionName:function(){var e=this.scanner.source.substring(this.scanner.tokenStart,this.scanner.tokenEnd-1);this.eat(g);return e},getLocation:function(e,t){if(this.needPositions){return this.locationMap.getLocationRange(e,t,this.filename)}return null},getLocationFromList:function(e){if(this.needPositions){var t=this.getFirstListNode(e);var r=this.getLastListNode(e);return this.locationMap.getLocationRange(t!==null?t.loc.start.offset-this.locationMap.startOffset:this.scanner.tokenStart,r!==null?r.loc.end.offset-this.locationMap.startOffset:this.scanner.tokenStart,this.filename)}return null},error:function(e,t){var r=typeof t!=="undefined"&&t";t.needPositions=Boolean(r.positions);t.onParseError=typeof r.onParseError==="function"?r.onParseError:d;t.onParseErrorThrow=false;t.parseAtrulePrelude="parseAtrulePrelude"in r?Boolean(r.parseAtrulePrelude):true;t.parseRulePrelude="parseRulePrelude"in r?Boolean(r.parseRulePrelude):true;t.parseValue="parseValue"in r?Boolean(r.parseValue):true;t.parseCustomProperty="parseCustomProperty"in r?Boolean(r.parseCustomProperty):false;if(!t.context.hasOwnProperty(n)){throw new Error("Unknown context `"+n+"`")}i=t.context[n].call(t,r);if(!t.scanner.eof){t.error()}return i}}},69294:(e,t,r)=>{var n=r(22802).TYPE;var i=n.WhiteSpace;var o=n.Comment;e.exports=function readSequence(e){var t=this.createList();var r=null;var n={recognizer:e,space:null,ignoreWS:false,ignoreWSAfter:false};this.scanner.skipSC();while(!this.scanner.eof){switch(this.scanner.tokenType){case o:this.scanner.next();continue;case i:if(n.ignoreWS){this.scanner.next()}else{n.space=this.WhiteSpace()}continue}r=e.getNode.call(this,n);if(r===undefined){break}if(n.space!==null){t.push(n.space);n.space=null}t.push(r);if(n.ignoreWSAfter){n.ignoreWSAfter=false;n.ignoreWS=true}else{n.ignoreWS=false}}return t}},33132:e=>{e.exports={parse:{prelude:null,block:function(){return this.Block(true)}}}},12610:(e,t,r)=>{var n=r(22802).TYPE;var i=n.String;var o=n.Ident;var s=n.Url;var a=n.Function;var l=n.LeftParenthesis;e.exports={parse:{prelude:function(){var e=this.createList();this.scanner.skipSC();switch(this.scanner.tokenType){case i:e.push(this.String());break;case s:case a:e.push(this.Url());break;default:this.error("String or url() is expected")}if(this.lookupNonWSType(0)===o||this.lookupNonWSType(0)===l){e.push(this.WhiteSpace());e.push(this.MediaQueryList())}return e},block:null}}},24445:(e,t,r)=>{e.exports={"font-face":r(33132),import:r(12610),media:r(40042),page:r(11118),supports:r(90352)}},40042:e=>{e.exports={parse:{prelude:function(){return this.createSingleNodeList(this.MediaQueryList())},block:function(){return this.Block(false)}}}},11118:e=>{e.exports={parse:{prelude:function(){return this.createSingleNodeList(this.SelectorList())},block:function(){return this.Block(true)}}}},90352:(e,t,r)=>{var n=r(22802).TYPE;var i=n.WhiteSpace;var o=n.Comment;var s=n.Ident;var a=n.Function;var l=n.Colon;var c=n.LeftParenthesis;function consumeRaw(){return this.createSingleNodeList(this.Raw(this.scanner.tokenIndex,null,false))}function parentheses(){this.scanner.skipSC();if(this.scanner.tokenType===s&&this.lookupNonWSType(1)===l){return this.createSingleNodeList(this.Declaration())}return readSequence.call(this)}function readSequence(){var e=this.createList();var t=null;var r;this.scanner.skipSC();e:while(!this.scanner.eof){switch(this.scanner.tokenType){case i:t=this.WhiteSpace();continue;case o:this.scanner.next();continue;case a:r=this.Function(consumeRaw,this.scope.AtrulePrelude);break;case s:r=this.Identifier();break;case c:r=this.Parentheses(parentheses,this.scope.AtrulePrelude);break;default:break e}if(t!==null){e.push(t);t=null}e.push(r)}return e}e.exports={parse:{prelude:function(){var e=readSequence.call(this);if(this.getFirstListNode(e)===null){this.error("Condition is expected")}return e},block:function(){return this.Block(false)}}}},65776:(e,t,r)=>{var n=r(63965);e.exports={generic:true,types:n.types,atrules:n.atrules,properties:n.properties,node:r(48362)}},33872:e=>{var t=Object.prototype.hasOwnProperty;var r={generic:true,types:{},atrules:{},properties:{},parseContext:{},scope:{},atrule:["parse"],pseudo:["parse"],node:["name","structure","parse","generate","walkContext"]};function isObject(e){return e&&e.constructor===Object}function copy(e){if(isObject(e)){return Object.assign({},e)}else{return e}}function extend(e,r){for(var n in r){if(t.call(r,n)){if(isObject(e[n])){extend(e[n],copy(r[n]))}else{e[n]=copy(r[n])}}}}function mix(e,r,n){for(var i in n){if(t.call(n,i)===false){continue}if(n[i]===true){if(i in r){if(t.call(r,i)){e[i]=copy(r[i])}}}else if(n[i]){if(isObject(n[i])){var o={};extend(o,e[i]);extend(o,r[i]);e[i]=o}else if(Array.isArray(n[i])){var o={};var s=n[i].reduce(function(e,t){e[t]=true;return e},{});for(var a in e[i]){if(t.call(e[i],a)){o[a]={};if(e[i]&&e[i][a]){mix(o[a],e[i][a],s)}}}for(var a in r[i]){if(t.call(r[i],a)){if(!o[a]){o[a]={}}if(r[i]&&r[i][a]){mix(o[a],r[i][a],s)}}}e[i]=o}}}return e}e.exports=function(e,t){return mix(e,t,r)}},34025:(e,t,r)=>{e.exports={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude:function(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",rule:"Rule",selectorList:"SelectorList",selector:"Selector",block:function(){return this.Block(true)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},scope:r(64610),atrule:r(24445),pseudo:r(19732),node:r(48362)}},50263:(e,t,r)=>{e.exports={node:r(48362)}},14712:(e,t,r)=>{var n=r(35855);var i=r(29032);var o=r(34884);var s=r(46218);var a=r(57596);var l=r(22802);var c=r(14122);var u=r(34570);var d=r(83949);var p=r(57514);var f=r(39702);var h=r(50411);var m=r(33872);function createSyntax(e){var t=c(e);var r=p(e);var g=u(e);var y=d(r);var v={List:n,SyntaxError:i,TokenStream:o,Lexer:s,vendorPrefix:h.vendorPrefix,keyword:h.keyword,property:h.property,isCustomProperty:h.isCustomProperty,definitionSyntax:a,lexer:null,createLexer:function(e){return new s(e,v,v.lexer.structure)},tokenize:l,parse:t,walk:r,generate:g,find:r.find,findLast:r.findLast,findAll:r.findAll,clone:f,fromPlainObject:y.fromPlainObject,toPlainObject:y.toPlainObject,createSyntax:function(e){return createSyntax(m({},e))},fork:function(t){var r=m({},e);return createSyntax(typeof t==="function"?t(r,Object.assign):m(r,t))}};v.lexer=new s({generic:true,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},v);return v}t.create=function(e){return createSyntax(m({},e))}},21960:e=>{e.exports=function(){this.scanner.skipSC();var e=this.createSingleNodeList(this.IdSelector());this.scanner.skipSC();return e}},97372:e=>{e.exports=function(){return this.createSingleNodeList(this.Raw(this.scanner.tokenIndex,null,false))}},67348:(e,t,r)=>{var n=r(22802).TYPE;var i=r(1797).mode;var o=n.Comma;e.exports=function(){var e=this.createList();this.scanner.skipSC();e.push(this.Identifier());this.scanner.skipSC();if(this.scanner.tokenType===o){e.push(this.Operator());e.push(this.parseCustomProperty?this.Value(null):this.Raw(this.scanner.tokenIndex,i.exclamationMarkOrSemicolon,false))}return e}},10572:(e,t,r)=>{function merge(){var e={};for(var t=0;t{var n=r(22802).cmpChar;var i=r(22802).isDigit;var o=r(22802).TYPE;var s=o.WhiteSpace;var a=o.Comment;var l=o.Ident;var c=o.Number;var u=o.Dimension;var d=43;var p=45;var f=110;var h=true;var m=false;function checkInteger(e,t){var r=this.scanner.tokenStart+e;var n=this.scanner.source.charCodeAt(r);if(n===d||n===p){if(t){this.error("Number sign is not allowed")}r++}for(;r0){this.scanner.skip(e)}if(t===0){r=this.scanner.source.charCodeAt(this.scanner.tokenStart);if(r!==d&&r!==p){this.error("Number sign is expected")}}checkTokenIsInteger.call(this,t!==0);return t===p?"-"+this.consume(c):this.consume(c)}e.exports={name:"AnPlusB",structure:{a:[String,null],b:[String,null]},parse:function(){var e=this.scanner.tokenStart;var t=null;var r=null;if(this.scanner.tokenType===c){checkTokenIsInteger.call(this,m);r=this.consume(c)}else if(this.scanner.tokenType===l&&n(this.scanner.source,this.scanner.tokenStart,p)){t="-1";expectCharCode.call(this,1,f);switch(this.scanner.getTokenLength()){case 2:this.scanner.next();r=consumeB.call(this);break;case 3:expectCharCode.call(this,2,p);this.scanner.next();this.scanner.skipSC();checkTokenIsInteger.call(this,h);r="-"+this.consume(c);break;default:expectCharCode.call(this,2,p);checkInteger.call(this,3,h);this.scanner.next();r=this.scanner.substrToCursor(e+2)}}else if(this.scanner.tokenType===l||this.scanner.isDelim(d)&&this.scanner.lookupType(1)===l){var o=0;t="1";if(this.scanner.isDelim(d)){o=1;this.scanner.next()}expectCharCode.call(this,0,f);switch(this.scanner.getTokenLength()){case 1:this.scanner.next();r=consumeB.call(this);break;case 2:expectCharCode.call(this,1,p);this.scanner.next();this.scanner.skipSC();checkTokenIsInteger.call(this,h);r="-"+this.consume(c);break;default:expectCharCode.call(this,1,p);checkInteger.call(this,2,h);this.scanner.next();r=this.scanner.substrToCursor(e+o+1)}}else if(this.scanner.tokenType===u){var s=this.scanner.source.charCodeAt(this.scanner.tokenStart);var o=s===d||s===p;for(var a=this.scanner.tokenStart+o;a{var n=r(22802).TYPE;var i=r(1797).mode;var o=n.AtKeyword;var s=n.Semicolon;var a=n.LeftCurlyBracket;var l=n.RightCurlyBracket;function consumeRaw(e){return this.Raw(e,i.leftCurlyBracketOrSemicolon,true)}function isDeclarationBlockAtrule(){for(var e=1,t;t=this.scanner.lookupType(e);e++){if(t===l){return true}if(t===a||t===o){return false}}return false}e.exports={name:"Atrule",structure:{name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]},parse:function(){var e=this.scanner.tokenStart;var t;var r;var n=null;var i=null;this.eat(o);t=this.scanner.substrToCursor(e+1);r=t.toLowerCase();this.scanner.skipSC();if(this.scanner.eof===false&&this.scanner.tokenType!==a&&this.scanner.tokenType!==s){if(this.parseAtrulePrelude){n=this.parseWithFallback(this.AtrulePrelude.bind(this,t),consumeRaw);if(n.type==="AtrulePrelude"&&n.children.head===null){n=null}}else{n=consumeRaw.call(this,this.scanner.tokenIndex)}this.scanner.skipSC()}switch(this.scanner.tokenType){case s:this.scanner.next();break;case a:if(this.atrule.hasOwnProperty(r)&&typeof this.atrule[r].block==="function"){i=this.atrule[r].block.call(this)}else{i=this.Block(isDeclarationBlockAtrule.call(this))}break}return{type:"Atrule",loc:this.getLocation(e,this.scanner.tokenStart),name:t,prelude:n,block:i}},generate:function(e){this.chunk("@");this.chunk(e.name);if(e.prelude!==null){this.chunk(" ");this.node(e.prelude)}if(e.block){this.node(e.block)}else{this.chunk(";")}},walkContext:"atrule"}},41959:(e,t,r)=>{var n=r(22802).TYPE;var i=n.Semicolon;var o=n.LeftCurlyBracket;e.exports={name:"AtrulePrelude",structure:{children:[[]]},parse:function(e){var t=null;if(e!==null){e=e.toLowerCase()}this.scanner.skipSC();if(this.atrule.hasOwnProperty(e)&&typeof this.atrule[e].prelude==="function"){t=this.atrule[e].prelude.call(this)}else{t=this.readSequence(this.scope.AtrulePrelude)}this.scanner.skipSC();if(this.scanner.eof!==true&&this.scanner.tokenType!==o&&this.scanner.tokenType!==i){this.error("Semicolon or block is expected")}if(t===null){t=this.createList()}return{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}},generate:function(e){this.children(e)},walkContext:"atrulePrelude"}},28543:(e,t,r)=>{var n=r(22802).TYPE;var i=n.Ident;var o=n.String;var s=n.Colon;var a=n.LeftSquareBracket;var l=n.RightSquareBracket;var c=36;var u=42;var d=61;var p=94;var f=124;var h=126;function getAttributeName(){if(this.scanner.eof){this.error("Unexpected end of input")}var e=this.scanner.tokenStart;var t=false;var r=true;if(this.scanner.isDelim(u)){t=true;r=false;this.scanner.next()}else if(!this.scanner.isDelim(f)){this.eat(i)}if(this.scanner.isDelim(f)){if(this.scanner.source.charCodeAt(this.scanner.tokenStart+1)!==d){this.scanner.next();this.eat(i)}else if(t){this.error("Identifier is expected",this.scanner.tokenEnd)}}else if(t){this.error("Vertical line is expected")}if(r&&this.scanner.tokenType===s){this.scanner.next();this.eat(i)}return{type:"Identifier",loc:this.getLocation(e,this.scanner.tokenStart),name:this.scanner.substrToCursor(e)}}function getOperator(){var e=this.scanner.tokenStart;var t=this.scanner.source.charCodeAt(e);if(t!==d&&t!==h&&t!==p&&t!==c&&t!==u&&t!==f){this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected")}this.scanner.next();if(t!==d){if(!this.scanner.isDelim(d)){this.error("Equal sign is expected")}this.scanner.next()}return this.scanner.substrToCursor(e)}e.exports={name:"AttributeSelector",structure:{name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]},parse:function(){var e=this.scanner.tokenStart;var t;var r=null;var n=null;var s=null;this.eat(a);this.scanner.skipSC();t=getAttributeName.call(this);this.scanner.skipSC();if(this.scanner.tokenType!==l){if(this.scanner.tokenType!==i){r=getOperator.call(this);this.scanner.skipSC();n=this.scanner.tokenType===o?this.String():this.Identifier();this.scanner.skipSC()}if(this.scanner.tokenType===i){s=this.scanner.getTokenValue();this.scanner.next();this.scanner.skipSC()}}this.eat(l);return{type:"AttributeSelector",loc:this.getLocation(e,this.scanner.tokenStart),name:t,matcher:r,value:n,flags:s}},generate:function(e){var t=" ";this.chunk("[");this.node(e.name);if(e.matcher!==null){this.chunk(e.matcher);if(e.value!==null){this.node(e.value);if(e.value.type==="String"){t=""}}}if(e.flags!==null){this.chunk(t);this.chunk(e.flags)}this.chunk("]")}}},28874:(e,t,r)=>{var n=r(22802).TYPE;var i=r(1797).mode;var o=n.WhiteSpace;var s=n.Comment;var a=n.Semicolon;var l=n.AtKeyword;var c=n.LeftCurlyBracket;var u=n.RightCurlyBracket;function consumeRaw(e){return this.Raw(e,null,true)}function consumeRule(){return this.parseWithFallback(this.Rule,consumeRaw)}function consumeRawDeclaration(e){return this.Raw(e,i.semicolonIncluded,true)}function consumeDeclaration(){if(this.scanner.tokenType===a){return consumeRawDeclaration.call(this,this.scanner.tokenIndex)}var e=this.parseWithFallback(this.Declaration,consumeRawDeclaration);if(this.scanner.tokenType===a){this.scanner.next()}return e}e.exports={name:"Block",structure:{children:[["Atrule","Rule","Declaration"]]},parse:function(e){var t=e?consumeDeclaration:consumeRule;var r=this.scanner.tokenStart;var n=this.createList();this.eat(c);e:while(!this.scanner.eof){switch(this.scanner.tokenType){case u:break e;case o:case s:this.scanner.next();break;case l:n.push(this.parseWithFallback(this.Atrule,consumeRaw));break;default:n.push(t.call(this))}}if(!this.scanner.eof){this.eat(u)}return{type:"Block",loc:this.getLocation(r,this.scanner.tokenStart),children:n}},generate:function(e){this.chunk("{");this.children(e,function(e){if(e.type==="Declaration"){this.chunk(";")}});this.chunk("}")},walkContext:"block"}},97033:(e,t,r)=>{var n=r(22802).TYPE;var i=n.LeftSquareBracket;var o=n.RightSquareBracket;e.exports={name:"Brackets",structure:{children:[[]]},parse:function(e,t){var r=this.scanner.tokenStart;var n=null;this.eat(i);n=e.call(this,t);if(!this.scanner.eof){this.eat(o)}return{type:"Brackets",loc:this.getLocation(r,this.scanner.tokenStart),children:n}},generate:function(e){this.chunk("[");this.children(e);this.chunk("]")}}},6962:(e,t,r)=>{var n=r(22802).TYPE.CDC;e.exports={name:"CDC",structure:[],parse:function(){var e=this.scanner.tokenStart;this.eat(n);return{type:"CDC",loc:this.getLocation(e,this.scanner.tokenStart)}},generate:function(){this.chunk("--\x3e")}}},58368:(e,t,r)=>{var n=r(22802).TYPE.CDO;e.exports={name:"CDO",structure:[],parse:function(){var e=this.scanner.tokenStart;this.eat(n);return{type:"CDO",loc:this.getLocation(e,this.scanner.tokenStart)}},generate:function(){this.chunk("\x3c!--")}}},84043:(e,t,r)=>{var n=r(22802).TYPE;var i=n.Ident;var o=46;e.exports={name:"ClassSelector",structure:{name:String},parse:function(){if(!this.scanner.isDelim(o)){this.error("Full stop is expected")}this.scanner.next();return{type:"ClassSelector",loc:this.getLocation(this.scanner.tokenStart-1,this.scanner.tokenEnd),name:this.consume(i)}},generate:function(e){this.chunk(".");this.chunk(e.name)}}},40306:(e,t,r)=>{var n=r(22802).TYPE;var i=n.Ident;var o=43;var s=47;var a=62;var l=126;e.exports={name:"Combinator",structure:{name:String},parse:function(){var e=this.scanner.tokenStart;var t=this.scanner.source.charCodeAt(this.scanner.tokenStart);switch(t){case a:case o:case l:this.scanner.next();break;case s:this.scanner.next();if(this.scanner.tokenType!==i||this.scanner.lookupValue(0,"deep")===false){this.error("Identifier `deep` is expected")}this.scanner.next();if(!this.scanner.isDelim(s)){this.error("Solidus is expected")}this.scanner.next();break;default:this.error("Combinator is expected")}return{type:"Combinator",loc:this.getLocation(e,this.scanner.tokenStart),name:this.scanner.substrToCursor(e)}},generate:function(e){this.chunk(e.name)}}},12030:(e,t,r)=>{var n=r(22802).TYPE;var i=n.Comment;var o=42;var s=47;e.exports={name:"Comment",structure:{value:String},parse:function(){var e=this.scanner.tokenStart;var t=this.scanner.tokenEnd;this.eat(i);if(t-e+2>=2&&this.scanner.source.charCodeAt(t-2)===o&&this.scanner.source.charCodeAt(t-1)===s){t-=2}return{type:"Comment",loc:this.getLocation(e,this.scanner.tokenStart),value:this.scanner.source.substring(e+2,t)}},generate:function(e){this.chunk("/*");this.chunk(e.value);this.chunk("*/")}}},85319:(e,t,r)=>{var n=r(50411).isCustomProperty;var i=r(22802).TYPE;var o=r(1797).mode;var s=i.Ident;var a=i.Hash;var l=i.Colon;var c=i.Semicolon;var u=i.Delim;var d=33;var p=35;var f=36;var h=38;var m=42;var g=43;var y=47;function consumeValueRaw(e){return this.Raw(e,o.exclamationMarkOrSemicolon,true)}function consumeCustomPropertyRaw(e){return this.Raw(e,o.exclamationMarkOrSemicolon,false)}function consumeValue(){var e=this.scanner.tokenIndex;var t=this.Value();if(t.type!=="Raw"&&this.scanner.eof===false&&this.scanner.tokenType!==c&&this.scanner.isDelim(d)===false&&this.scanner.isBalanceEdge(e)===false){this.error()}return t}e.exports={name:"Declaration",structure:{important:[Boolean,String],property:String,value:["Value","Raw"]},parse:function(){var e=this.scanner.tokenStart;var t=this.scanner.tokenIndex;var r=readProperty.call(this);var i=n(r);var o=i?this.parseCustomProperty:this.parseValue;var s=i?consumeCustomPropertyRaw:consumeValueRaw;var a=false;var u;this.scanner.skipSC();this.eat(l);if(!i){this.scanner.skipSC()}if(o){u=this.parseWithFallback(consumeValue,s)}else{u=s.call(this,this.scanner.tokenIndex)}if(this.scanner.isDelim(d)){a=getImportant.call(this);this.scanner.skipSC()}if(this.scanner.eof===false&&this.scanner.tokenType!==c&&this.scanner.isBalanceEdge(t)===false){this.error()}return{type:"Declaration",loc:this.getLocation(e,this.scanner.tokenStart),important:a,property:r,value:u}},generate:function(e){this.chunk(e.property);this.chunk(":");this.node(e.value);if(e.important){this.chunk(e.important===true?"!important":"!"+e.important)}},walkContext:"declaration"};function readProperty(){var e=this.scanner.tokenStart;var t=0;if(this.scanner.tokenType===u){switch(this.scanner.source.charCodeAt(this.scanner.tokenStart)){case m:case f:case g:case p:case h:this.scanner.next();break;case y:this.scanner.next();if(this.scanner.isDelim(y)){this.scanner.next()}break}}if(t){this.scanner.skip(t)}if(this.scanner.tokenType===a){this.eat(a)}else{this.eat(s)}return this.scanner.substrToCursor(e)}function getImportant(){this.eat(u);this.scanner.skipSC();var e=this.consume(s);return e==="important"?true:e}},55745:(e,t,r)=>{var n=r(22802).TYPE;var i=r(1797).mode;var o=n.WhiteSpace;var s=n.Comment;var a=n.Semicolon;function consumeRaw(e){return this.Raw(e,i.semicolonIncluded,true)}e.exports={name:"DeclarationList",structure:{children:[["Declaration"]]},parse:function(){var e=this.createList();e:while(!this.scanner.eof){switch(this.scanner.tokenType){case o:case s:case a:this.scanner.next();break;default:e.push(this.parseWithFallback(this.Declaration,consumeRaw))}}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}},generate:function(e){this.children(e,function(e){if(e.type==="Declaration"){this.chunk(";")}})}}},35824:(e,t,r)=>{var n=r(74501).consumeNumber;var i=r(22802).TYPE;var o=i.Dimension;e.exports={name:"Dimension",structure:{value:String,unit:String},parse:function(){var e=this.scanner.tokenStart;var t=n(this.scanner.source,e);this.eat(o);return{type:"Dimension",loc:this.getLocation(e,this.scanner.tokenStart),value:this.scanner.source.substring(e,t),unit:this.scanner.source.substring(t,this.scanner.tokenStart)}},generate:function(e){this.chunk(e.value);this.chunk(e.unit)}}},79802:(e,t,r)=>{var n=r(22802).TYPE;var i=n.RightParenthesis;e.exports={name:"Function",structure:{name:String,children:[[]]},parse:function(e,t){var r=this.scanner.tokenStart;var n=this.consumeFunctionName();var o=n.toLowerCase();var s;s=t.hasOwnProperty(o)?t[o].call(this,t):e.call(this,t);if(!this.scanner.eof){this.eat(i)}return{type:"Function",loc:this.getLocation(r,this.scanner.tokenStart),name:n,children:s}},generate:function(e){this.chunk(e.name);this.chunk("(");this.children(e);this.chunk(")")},walkContext:"function"}},74721:(e,t,r)=>{var n=r(22802).TYPE;var i=n.Hash;e.exports={name:"HexColor",structure:{value:String},parse:function(){var e=this.scanner.tokenStart;this.eat(i);return{type:"HexColor",loc:this.getLocation(e,this.scanner.tokenStart),value:this.scanner.substrToCursor(e+1)}},generate:function(e){this.chunk("#");this.chunk(e.value)}}},91882:(e,t,r)=>{var n=r(22802).TYPE;var i=n.Hash;e.exports={name:"IdSelector",structure:{name:String},parse:function(){var e=this.scanner.tokenStart;this.eat(i);return{type:"IdSelector",loc:this.getLocation(e,this.scanner.tokenStart),name:this.scanner.substrToCursor(e+1)}},generate:function(e){this.chunk("#");this.chunk(e.name)}}},61113:(e,t,r)=>{var n=r(22802).TYPE;var i=n.Ident;e.exports={name:"Identifier",structure:{name:String},parse:function(){return{type:"Identifier",loc:this.getLocation(this.scanner.tokenStart,this.scanner.tokenEnd),name:this.consume(i)}},generate:function(e){this.chunk(e.name)}}},62080:(e,t,r)=>{var n=r(22802).TYPE;var i=n.Ident;var o=n.Number;var s=n.Dimension;var a=n.LeftParenthesis;var l=n.RightParenthesis;var c=n.Colon;var u=n.Delim;e.exports={name:"MediaFeature",structure:{name:String,value:["Identifier","Number","Dimension","Ratio",null]},parse:function(){var e=this.scanner.tokenStart;var t;var r=null;this.eat(a);this.scanner.skipSC();t=this.consume(i);this.scanner.skipSC();if(this.scanner.tokenType!==l){this.eat(c);this.scanner.skipSC();switch(this.scanner.tokenType){case o:if(this.lookupNonWSType(1)===u){r=this.Ratio()}else{r=this.Number()}break;case s:r=this.Dimension();break;case i:r=this.Identifier();break;default:this.error("Number, dimension, ratio or identifier is expected")}this.scanner.skipSC()}this.eat(l);return{type:"MediaFeature",loc:this.getLocation(e,this.scanner.tokenStart),name:t,value:r}},generate:function(e){this.chunk("(");this.chunk(e.name);if(e.value!==null){this.chunk(":");this.node(e.value)}this.chunk(")")}}},7454:(e,t,r)=>{var n=r(22802).TYPE;var i=n.WhiteSpace;var o=n.Comment;var s=n.Ident;var a=n.LeftParenthesis;e.exports={name:"MediaQuery",structure:{children:[["Identifier","MediaFeature","WhiteSpace"]]},parse:function(){this.scanner.skipSC();var e=this.createList();var t=null;var r=null;e:while(!this.scanner.eof){switch(this.scanner.tokenType){case o:this.scanner.next();continue;case i:r=this.WhiteSpace();continue;case s:t=this.Identifier();break;case a:t=this.MediaFeature();break;default:break e}if(r!==null){e.push(r);r=null}e.push(t)}if(t===null){this.error("Identifier or parenthesis is expected")}return{type:"MediaQuery",loc:this.getLocationFromList(e),children:e}},generate:function(e){this.children(e)}}},51614:(e,t,r)=>{var n=r(22802).TYPE.Comma;e.exports={name:"MediaQueryList",structure:{children:[["MediaQuery"]]},parse:function(e){var t=this.createList();this.scanner.skipSC();while(!this.scanner.eof){t.push(this.MediaQuery(e));if(this.scanner.tokenType!==n){break}this.scanner.next()}return{type:"MediaQueryList",loc:this.getLocationFromList(t),children:t}},generate:function(e){this.children(e,function(){this.chunk(",")})}}},60491:e=>{e.exports={name:"Nth",structure:{nth:["AnPlusB","Identifier"],selector:["SelectorList",null]},parse:function(e){this.scanner.skipSC();var t=this.scanner.tokenStart;var r=t;var n=null;var i;if(this.scanner.lookupValue(0,"odd")||this.scanner.lookupValue(0,"even")){i=this.Identifier()}else{i=this.AnPlusB()}this.scanner.skipSC();if(e&&this.scanner.lookupValue(0,"of")){this.scanner.next();n=this.SelectorList();if(this.needPositions){r=this.getLastListNode(n.children).loc.end.offset}}else{if(this.needPositions){r=i.loc.end.offset}}return{type:"Nth",loc:this.getLocation(t,r),nth:i,selector:n}},generate:function(e){this.node(e.nth);if(e.selector!==null){this.chunk(" of ");this.node(e.selector)}}}},38433:(e,t,r)=>{var n=r(22802).TYPE.Number;e.exports={name:"Number",structure:{value:String},parse:function(){return{type:"Number",loc:this.getLocation(this.scanner.tokenStart,this.scanner.tokenEnd),value:this.consume(n)}},generate:function(e){this.chunk(e.value)}}},28915:e=>{e.exports={name:"Operator",structure:{value:String},parse:function(){var e=this.scanner.tokenStart;this.scanner.next();return{type:"Operator",loc:this.getLocation(e,this.scanner.tokenStart),value:this.scanner.substrToCursor(e)}},generate:function(e){this.chunk(e.value)}}},11585:(e,t,r)=>{var n=r(22802).TYPE;var i=n.LeftParenthesis;var o=n.RightParenthesis;e.exports={name:"Parentheses",structure:{children:[[]]},parse:function(e,t){var r=this.scanner.tokenStart;var n=null;this.eat(i);n=e.call(this,t);if(!this.scanner.eof){this.eat(o)}return{type:"Parentheses",loc:this.getLocation(r,this.scanner.tokenStart),children:n}},generate:function(e){this.chunk("(");this.children(e);this.chunk(")")}}},62198:(e,t,r)=>{var n=r(74501).consumeNumber;var i=r(22802).TYPE;var o=i.Percentage;e.exports={name:"Percentage",structure:{value:String},parse:function(){var e=this.scanner.tokenStart;var t=n(this.scanner.source,e);this.eat(o);return{type:"Percentage",loc:this.getLocation(e,this.scanner.tokenStart),value:this.scanner.source.substring(e,t)}},generate:function(e){this.chunk(e.value);this.chunk("%")}}},83385:(e,t,r)=>{var n=r(22802).TYPE;var i=n.Ident;var o=n.Function;var s=n.Colon;var a=n.RightParenthesis;e.exports={name:"PseudoClassSelector",structure:{name:String,children:[["Raw"],null]},parse:function(){var e=this.scanner.tokenStart;var t=null;var r;var n;this.eat(s);if(this.scanner.tokenType===o){r=this.consumeFunctionName();n=r.toLowerCase();if(this.pseudo.hasOwnProperty(n)){this.scanner.skipSC();t=this.pseudo[n].call(this);this.scanner.skipSC()}else{t=this.createList();t.push(this.Raw(this.scanner.tokenIndex,null,false))}this.eat(a)}else{r=this.consume(i)}return{type:"PseudoClassSelector",loc:this.getLocation(e,this.scanner.tokenStart),name:r,children:t}},generate:function(e){this.chunk(":");this.chunk(e.name);if(e.children!==null){this.chunk("(");this.children(e);this.chunk(")")}},walkContext:"function"}},50900:(e,t,r)=>{var n=r(22802).TYPE;var i=n.Ident;var o=n.Function;var s=n.Colon;var a=n.RightParenthesis;e.exports={name:"PseudoElementSelector",structure:{name:String,children:[["Raw"],null]},parse:function(){var e=this.scanner.tokenStart;var t=null;var r;var n;this.eat(s);this.eat(s);if(this.scanner.tokenType===o){r=this.consumeFunctionName();n=r.toLowerCase();if(this.pseudo.hasOwnProperty(n)){this.scanner.skipSC();t=this.pseudo[n].call(this);this.scanner.skipSC()}else{t=this.createList();t.push(this.Raw(this.scanner.tokenIndex,null,false))}this.eat(a)}else{r=this.consume(i)}return{type:"PseudoElementSelector",loc:this.getLocation(e,this.scanner.tokenStart),name:r,children:t}},generate:function(e){this.chunk("::");this.chunk(e.name);if(e.children!==null){this.chunk("(");this.children(e);this.chunk(")")}},walkContext:"function"}},34728:(e,t,r)=>{var n=r(22802).isDigit;var i=r(22802).TYPE;var o=i.Number;var s=i.Delim;var a=47;var l=46;function consumeNumber(){this.scanner.skipWS();var e=this.consume(o);for(var t=0;t{var n=r(22802);var i=n.TYPE;var o=i.WhiteSpace;var s=i.Semicolon;var a=i.LeftCurlyBracket;var l=i.Delim;var c=33;function getOffsetExcludeWS(){if(this.scanner.tokenIndex>0){if(this.scanner.lookupType(-1)===o){return this.scanner.tokenIndex>1?this.scanner.getTokenStart(this.scanner.tokenIndex-1):this.scanner.firstCharOffset}}return this.scanner.tokenStart}function balanceEnd(){return 0}function leftCurlyBracket(e){return e===a?1:0}function leftCurlyBracketOrSemicolon(e){return e===a||e===s?1:0}function exclamationMarkOrSemicolon(e,t,r){if(e===l&&t.charCodeAt(r)===c){return 1}return e===s?1:0}function semicolonIncluded(e){return e===s?2:0}e.exports={name:"Raw",structure:{value:String},parse:function(e,t,r){var n=this.scanner.getTokenStart(e);var i;this.scanner.skip(this.scanner.getRawLength(e,t||balanceEnd));if(r&&this.scanner.tokenStart>n){i=getOffsetExcludeWS.call(this)}else{i=this.scanner.tokenStart}return{type:"Raw",loc:this.getLocation(n,i),value:this.scanner.source.substring(n,i)}},generate:function(e){this.chunk(e.value)},mode:{default:balanceEnd,leftCurlyBracket:leftCurlyBracket,leftCurlyBracketOrSemicolon:leftCurlyBracketOrSemicolon,exclamationMarkOrSemicolon:exclamationMarkOrSemicolon,semicolonIncluded:semicolonIncluded}}},25850:(e,t,r)=>{var n=r(22802).TYPE;var i=r(1797).mode;var o=n.LeftCurlyBracket;function consumeRaw(e){return this.Raw(e,i.leftCurlyBracket,true)}function consumePrelude(){var e=this.SelectorList();if(e.type!=="Raw"&&this.scanner.eof===false&&this.scanner.tokenType!==o){this.error()}return e}e.exports={name:"Rule",structure:{prelude:["SelectorList","Raw"],block:["Block"]},parse:function(){var e=this.scanner.tokenIndex;var t=this.scanner.tokenStart;var r;var n;if(this.parseRulePrelude){r=this.parseWithFallback(consumePrelude,consumeRaw)}else{r=consumeRaw.call(this,e)}n=this.Block(true);return{type:"Rule",loc:this.getLocation(t,this.scanner.tokenStart),prelude:r,block:n}},generate:function(e){this.node(e.prelude);this.node(e.block)},walkContext:"rule"}},45423:e=>{e.exports={name:"Selector",structure:{children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator","WhiteSpace"]]},parse:function(){var e=this.readSequence(this.scope.Selector);if(this.getFirstListNode(e)===null){this.error("Selector is expected")}return{type:"Selector",loc:this.getLocationFromList(e),children:e}},generate:function(e){this.children(e)}}},25967:(e,t,r)=>{var n=r(22802).TYPE;var i=n.Comma;e.exports={name:"SelectorList",structure:{children:[["Selector","Raw"]]},parse:function(){var e=this.createList();while(!this.scanner.eof){e.push(this.Selector());if(this.scanner.tokenType===i){this.scanner.next();continue}break}return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}},generate:function(e){this.children(e,function(){this.chunk(",")})},walkContext:"selector"}},63433:(e,t,r)=>{var n=r(22802).TYPE.String;e.exports={name:"String",structure:{value:String},parse:function(){return{type:"String",loc:this.getLocation(this.scanner.tokenStart,this.scanner.tokenEnd),value:this.consume(n)}},generate:function(e){this.chunk(e.value)}}},13352:(e,t,r)=>{var n=r(22802).TYPE;var i=n.WhiteSpace;var o=n.Comment;var s=n.AtKeyword;var a=n.CDO;var l=n.CDC;var c=33;function consumeRaw(e){return this.Raw(e,null,false)}e.exports={name:"StyleSheet",structure:{children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]},parse:function(){var e=this.scanner.tokenStart;var t=this.createList();var r;e:while(!this.scanner.eof){switch(this.scanner.tokenType){case i:this.scanner.next();continue;case o:if(this.scanner.source.charCodeAt(this.scanner.tokenStart+2)!==c){this.scanner.next();continue}r=this.Comment();break;case a:r=this.CDO();break;case l:r=this.CDC();break;case s:r=this.parseWithFallback(this.Atrule,consumeRaw);break;default:r=this.parseWithFallback(this.Rule,consumeRaw)}t.push(r)}return{type:"StyleSheet",loc:this.getLocation(e,this.scanner.tokenStart),children:t}},generate:function(e){this.children(e)},walkContext:"stylesheet"}},83490:(e,t,r)=>{var n=r(22802).TYPE;var i=n.Ident;var o=42;var s=124;function eatIdentifierOrAsterisk(){if(this.scanner.tokenType!==i&&this.scanner.isDelim(o)===false){this.error("Identifier or asterisk is expected")}this.scanner.next()}e.exports={name:"TypeSelector",structure:{name:String},parse:function(){var e=this.scanner.tokenStart;if(this.scanner.isDelim(s)){this.scanner.next();eatIdentifierOrAsterisk.call(this)}else{eatIdentifierOrAsterisk.call(this);if(this.scanner.isDelim(s)){this.scanner.next();eatIdentifierOrAsterisk.call(this)}}return{type:"TypeSelector",loc:this.getLocation(e,this.scanner.tokenStart),name:this.scanner.substrToCursor(e)}},generate:function(e){this.chunk(e.name)}}},39658:(e,t,r)=>{var n=r(22802).isHexDigit;var i=r(22802).cmpChar;var o=r(22802).TYPE;var s=r(22802).NAME;var a=o.Ident;var l=o.Number;var c=o.Dimension;var u=43;var d=45;var p=63;var f=117;function eatHexSequence(e,t){for(var r=this.scanner.tokenStart+e,i=0;r6){this.error("Too many hex digits",r)}}this.scanner.next();return i}function eatQuestionMarkSequence(e){var t=0;while(this.scanner.isDelim(p)){if(++t>e){this.error("Too many question marks")}this.scanner.next()}}function startsWith(e){if(this.scanner.source.charCodeAt(this.scanner.tokenStart)!==e){this.error(s[e]+" is expected")}}function scanUnicodeRange(){var e=0;if(this.scanner.isDelim(u)){this.scanner.next();if(this.scanner.tokenType===a){e=eatHexSequence.call(this,0,true);if(e>0){eatQuestionMarkSequence.call(this,6-e)}return}if(this.scanner.isDelim(p)){this.scanner.next();eatQuestionMarkSequence.call(this,5);return}this.error("Hex digit or question mark is expected");return}if(this.scanner.tokenType===l){startsWith.call(this,u);e=eatHexSequence.call(this,1,true);if(this.scanner.isDelim(p)){eatQuestionMarkSequence.call(this,6-e);return}if(this.scanner.tokenType===c||this.scanner.tokenType===l){startsWith.call(this,d);eatHexSequence.call(this,1,false);return}return}if(this.scanner.tokenType===c){startsWith.call(this,u);e=eatHexSequence.call(this,1,true);if(e>0){eatQuestionMarkSequence.call(this,6-e)}return}this.error()}e.exports={name:"UnicodeRange",structure:{value:String},parse:function(){var e=this.scanner.tokenStart;if(!i(this.scanner.source,e,f)){this.error("U is expected")}if(!i(this.scanner.source,e+1,u)){this.error("Plus sign is expected")}this.scanner.next();scanUnicodeRange.call(this);return{type:"UnicodeRange",loc:this.getLocation(e,this.scanner.tokenStart),value:this.scanner.substrToCursor(e)}},generate:function(e){this.chunk(e.value)}}},14315:(e,t,r)=>{var n=r(22802).isWhiteSpace;var i=r(22802).cmpStr;var o=r(22802).TYPE;var s=o.Function;var a=o.Url;var l=o.RightParenthesis;e.exports={name:"Url",structure:{value:["String","Raw"]},parse:function(){var e=this.scanner.tokenStart;var t;switch(this.scanner.tokenType){case a:var r=e+4;var o=this.scanner.tokenEnd-1;while(r{e.exports={name:"Value",structure:{children:[[]]},parse:function(){var e=this.scanner.tokenStart;var t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.scanner.tokenStart),children:t}},generate:function(e){this.children(e)}}},7070:(e,t,r)=>{var n=r(22802).TYPE.WhiteSpace;var i=Object.freeze({type:"WhiteSpace",loc:null,value:" "});e.exports={name:"WhiteSpace",structure:{value:String},parse:function(){this.eat(n);return i},generate:function(e){this.chunk(e.value)}}},48362:(e,t,r)=>{e.exports={AnPlusB:r(70979),Atrule:r(83044),AtrulePrelude:r(41959),AttributeSelector:r(28543),Block:r(28874),Brackets:r(97033),CDC:r(6962),CDO:r(58368),ClassSelector:r(84043),Combinator:r(40306),Comment:r(12030),Declaration:r(85319),DeclarationList:r(55745),Dimension:r(35824),Function:r(79802),HexColor:r(74721),Identifier:r(61113),IdSelector:r(91882),MediaFeature:r(62080),MediaQuery:r(7454),MediaQueryList:r(51614),Nth:r(60491),Number:r(38433),Operator:r(28915),Parentheses:r(11585),Percentage:r(62198),PseudoClassSelector:r(83385),PseudoElementSelector:r(50900),Ratio:r(34728),Raw:r(1797),Rule:r(25850),Selector:r(45423),SelectorList:r(25967),String:r(63433),StyleSheet:r(13352),TypeSelector:r(83490),UnicodeRange:r(39658),Url:r(14315),Value:r(85923),WhiteSpace:r(7070)}},9572:e=>{var t=false;e.exports={parse:function nth(){return this.createSingleNodeList(this.Nth(t))}}},30182:e=>{var t=true;e.exports={parse:function nthWithOfClause(){return this.createSingleNodeList(this.Nth(t))}}},61905:e=>{e.exports={parse:function selectorList(){return this.createSingleNodeList(this.SelectorList())}}},18553:e=>{e.exports={parse:function(){return this.createSingleNodeList(this.Identifier())}}},63300:e=>{e.exports={parse:function(){return this.createSingleNodeList(this.SelectorList())}}},19732:(e,t,r)=>{e.exports={dir:r(18553),has:r(63300),lang:r(60527),matches:r(99068),not:r(59750),"nth-child":r(68995),"nth-last-child":r(89472),"nth-last-of-type":r(34483),"nth-of-type":r(89242),slotted:r(98417)}},60527:e=>{e.exports={parse:function(){return this.createSingleNodeList(this.Identifier())}}},99068:(e,t,r)=>{e.exports=r(61905)},59750:(e,t,r)=>{e.exports=r(61905)},68995:(e,t,r)=>{e.exports=r(30182)},89472:(e,t,r)=>{e.exports=r(30182)},34483:(e,t,r)=>{e.exports=r(9572)},89242:(e,t,r)=>{e.exports=r(9572)},98417:e=>{e.exports={parse:function compoundSelector(){return this.createSingleNodeList(this.Selector())}}},46138:(e,t,r)=>{e.exports={getNode:r(71987)}},71987:(e,t,r)=>{var n=r(22802).cmpChar;var i=r(22802).cmpStr;var o=r(22802).TYPE;var s=o.Ident;var a=o.String;var l=o.Number;var c=o.Function;var u=o.Url;var d=o.Hash;var p=o.Dimension;var f=o.Percentage;var h=o.LeftParenthesis;var m=o.LeftSquareBracket;var g=o.Comma;var y=o.Delim;var v=35;var b=42;var S=43;var w=45;var x=47;var C=117;e.exports=function defaultRecognizer(e){switch(this.scanner.tokenType){case d:return this.HexColor();case g:e.space=null;e.ignoreWSAfter=true;return this.Operator();case h:return this.Parentheses(this.readSequence,e.recognizer);case m:return this.Brackets(this.readSequence,e.recognizer);case a:return this.String();case p:return this.Dimension();case f:return this.Percentage();case l:return this.Number();case c:return i(this.scanner.source,this.scanner.tokenStart,this.scanner.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case u:return this.Url();case s:if(n(this.scanner.source,this.scanner.tokenStart,C)&&n(this.scanner.source,this.scanner.tokenStart+1,S)){return this.UnicodeRange()}else{return this.Identifier()}case y:var t=this.scanner.source.charCodeAt(this.scanner.tokenStart);if(t===x||t===b||t===S||t===w){return this.Operator()}if(t===v){this.error("Hex or identifier is expected",this.scanner.tokenStart+1)}break}}},64610:(e,t,r)=>{e.exports={AtrulePrelude:r(46138),Selector:r(34390),Value:r(39993)}},34390:(e,t,r)=>{var n=r(22802).TYPE;var i=n.Delim;var o=n.Ident;var s=n.Dimension;var a=n.Percentage;var l=n.Number;var c=n.Hash;var u=n.Colon;var d=n.LeftSquareBracket;var p=35;var f=42;var h=43;var m=47;var g=46;var y=62;var v=124;var b=126;function getNode(e){switch(this.scanner.tokenType){case d:return this.AttributeSelector();case c:return this.IdSelector();case u:if(this.scanner.lookupType(1)===u){return this.PseudoElementSelector()}else{return this.PseudoClassSelector()}case o:return this.TypeSelector();case l:case a:return this.Percentage();case s:if(this.scanner.source.charCodeAt(this.scanner.tokenStart)===g){this.error("Identifier is expected",this.scanner.tokenStart+1)}break;case i:var t=this.scanner.source.charCodeAt(this.scanner.tokenStart);switch(t){case h:case y:case b:e.space=null;e.ignoreWSAfter=true;return this.Combinator();case m:return this.Combinator();case g:return this.ClassSelector();case f:case v:return this.TypeSelector();case p:return this.IdSelector()}break}}e.exports={getNode:getNode}},39993:(e,t,r)=>{e.exports={getNode:r(71987),"-moz-element":r(21960),element:r(21960),expression:r(97372),var:r(67348)}},98946:e=>{var t=0;function isDigit(e){return e>=48&&e<=57}function isHexDigit(e){return isDigit(e)||e>=65&&e<=70||e>=97&&e<=102}function isUppercaseLetter(e){return e>=65&&e<=90}function isLowercaseLetter(e){return e>=97&&e<=122}function isLetter(e){return isUppercaseLetter(e)||isLowercaseLetter(e)}function isNonAscii(e){return e>=128}function isNameStart(e){return isLetter(e)||isNonAscii(e)||e===95}function isName(e){return isNameStart(e)||isDigit(e)||e===45}function isNonPrintable(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function isNewline(e){return e===10||e===13||e===12}function isWhiteSpace(e){return isNewline(e)||e===32||e===9}function isValidEscape(e,r){if(e!==92){return false}if(isNewline(r)||r===t){return false}return true}function isIdentifierStart(e,t,r){if(e===45){return isNameStart(t)||t===45||isValidEscape(t,r)}if(isNameStart(e)){return true}if(e===92){return isValidEscape(e,t)}return false}function isNumberStart(e,t,r){if(e===43||e===45){if(isDigit(t)){return 2}return t===46&&isDigit(r)?3:0}if(e===46){return isDigit(t)?2:0}if(isDigit(e)){return 1}return 0}function isBOM(e){if(e===65279){return 1}if(e===65534){return 1}return 0}var r=new Array(128);charCodeCategory.Eof=128;charCodeCategory.WhiteSpace=130;charCodeCategory.Digit=131;charCodeCategory.NameStart=132;charCodeCategory.NonPrintable=133;for(var n=0;n{var t={EOF:0,Ident:1,Function:2,AtKeyword:3,Hash:4,String:5,BadString:6,Url:7,BadUrl:8,Delim:9,Number:10,Percentage:11,Dimension:12,WhiteSpace:13,CDO:14,CDC:15,Colon:16,Semicolon:17,Comma:18,LeftSquareBracket:19,RightSquareBracket:20,LeftParenthesis:21,RightParenthesis:22,LeftCurlyBracket:23,RightCurlyBracket:24,Comment:25};var r=Object.keys(t).reduce(function(e,r){e[t[r]]=r;return e},{});e.exports={TYPE:t,NAME:r}},22802:(e,t,r)=>{var n=r(34884);var i=r(1136);var o=r(48600);var s=o.TYPE;var a=r(98946);var l=a.isNewline;var c=a.isName;var u=a.isValidEscape;var d=a.isNumberStart;var p=a.isIdentifierStart;var f=a.charCodeCategory;var h=a.isBOM;var m=r(74501);var g=m.cmpStr;var y=m.getNewlineLength;var v=m.findWhiteSpaceEnd;var b=m.consumeEscaped;var S=m.consumeName;var w=m.consumeNumber;var x=m.consumeBadUrlRemnants;var C=16777215;var k=24;function tokenize(e,t){function getCharCode(t){return t=e.length){if(E>k;a[m]=A;a[A++]=m;for(;A{var n=r(98946);var i=n.isDigit;var o=n.isHexDigit;var s=n.isUppercaseLetter;var a=n.isName;var l=n.isWhiteSpace;var c=n.isValidEscape;function getCharCode(e,t){return te.length){return false}for(var i=t;i=0;t--){if(!l(e.charCodeAt(t))){break}}return t+1}function findWhiteSpaceEnd(e,t){for(;t{var n=r(35855);e.exports=function clone(e){var t={};for(var r in e){var i=e[r];if(i){if(Array.isArray(i)||i instanceof n){i=i.map(clone)}else if(i.constructor===Object){i=clone(i)}}t[r]=i}return t}},89308:e=>{e.exports=function createCustomError(e,t){var r=Object.create(SyntaxError.prototype);var n=new Error;r.name=e;r.message=t;Object.defineProperty(r,"stack",{get:function(){return(n.stack||"").replace(/^(.+\n){1,3}/,e+": "+t+"\n")}});return r}},50411:e=>{var t=Object.prototype.hasOwnProperty;var r=Object.create(null);var n=Object.create(null);var i=45;function isCustomProperty(e,t){t=t||0;return e.length-t>=2&&e.charCodeAt(t)===i&&e.charCodeAt(t+1)===i}function getVendorPrefix(e,t){t=t||0;if(e.length-t>=3){if(e.charCodeAt(t)===i&&e.charCodeAt(t+1)!==i){var r=e.indexOf("-",t+2);if(r!==-1){return e.substring(t,r+1)}}}return""}function getKeywordDescriptor(e){if(t.call(r,e)){return r[e]}var n=e.toLowerCase();if(t.call(r,n)){return r[e]=r[n]}var i=isCustomProperty(n,0);var o=!i?getVendorPrefix(n,0):"";return r[e]=Object.freeze({basename:n.substr(o.length),name:n,vendor:o,prefix:o,custom:i})}function getPropertyDescriptor(e){if(t.call(n,e)){return n[e]}var r=e;var i=e[0];if(i==="/"){i=e[1]==="/"?"//":"/"}else if(i!=="_"&&i!=="*"&&i!=="$"&&i!=="#"&&i!=="+"&&i!=="&"){i=""}var o=isCustomProperty(r,i.length);if(!o){r=r.toLowerCase();if(t.call(n,r)){return n[e]=n[r]}}var s=!o?getVendorPrefix(r,i.length):"";var a=r.substr(0,i.length+s.length);return n[e]=Object.freeze({basename:r.substr(a.length),name:r.substr(i.length),hack:i,vendor:s,prefix:a,custom:o})}e.exports={keyword:getKeywordDescriptor,property:getPropertyDescriptor,isCustomProperty:isCustomProperty,vendorPrefix:getVendorPrefix}},57514:e=>{var t=Object.prototype.hasOwnProperty;var r=function(){};function ensureFunction(e){return typeof e==="function"?e:r}function invokeForType(e,t){return function(r,n,i){if(r.type===t){e.call(this,r,n,i)}}}function getWalkersFromStructure(e,r){var n=r.structure;var i=[];for(var o in n){if(t.call(n,o)===false){continue}var s=n[o];var a={name:o,type:false,nullable:false};if(!Array.isArray(n[o])){s=[n[o]]}for(var l=0;l{t=e.exports=r(21920);t.log=log;t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:localstorage();t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"];function useColors(){if(typeof window!=="undefined"&&window.process&&window.process.type==="renderer"){return true}return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}};function formatArgs(e){var r=this.useColors;e[0]=(r?"%c":"")+this.namespace+(r?" %c":" ")+e[0]+(r?"%c ":" ")+"+"+t.humanize(this.diff);if(!r)return;var n="color: "+this.color;e.splice(1,0,n,"color: inherit");var i=0;var o=0;e[0].replace(/%[a-zA-Z%]/g,function(e){if("%%"===e)return;i++;if("%c"===e){o=i}});e.splice(o,0,n)}function log(){return"object"===typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function save(e){try{if(null==e){t.storage.removeItem("debug")}else{t.storage.debug=e}}catch(e){}}function load(){var e;try{e=t.storage.debug}catch(e){}if(!e&&typeof process!=="undefined"&&"env"in process){e=process.env.DEBUG}return e}t.enable(load());function localstorage(){try{return window.localStorage}catch(e){}}},21920:(e,t,r)=>{t=e.exports=createDebug.debug=createDebug["default"]=createDebug;t.coerce=coerce;t.disable=disable;t.enable=enable;t.enabled=enabled;t.humanize=r(64994);t.names=[];t.skips=[];t.formatters={};var n;function selectColor(e){var r=0,n;for(n in e){r=(r<<5)-r+e.charCodeAt(n);r|=0}return t.colors[Math.abs(r)%t.colors.length]}function createDebug(e){function debug(){if(!debug.enabled)return;var e=debug;var r=+new Date;var i=r-(n||r);e.diff=i;e.prev=n;e.curr=r;n=r;var o=new Array(arguments.length);for(var s=0;s{if(typeof process!=="undefined"&&process.type==="renderer"){e.exports=r(84360)}else{e.exports=r(96488)}},96488:(e,t,r)=>{var n=r(33867);var i=r(31669);t=e.exports=r(21920);t.init=init;t.log=log;t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.colors=[6,2,3,4,5,1];t.inspectOpts=Object.keys(process.env).filter(function(e){return/^debug_/i.test(e)}).reduce(function(e,t){var r=t.substring(6).toLowerCase().replace(/_([a-z])/g,function(e,t){return t.toUpperCase()});var n=process.env[t];if(/^(yes|on|true|enabled)$/i.test(n))n=true;else if(/^(no|off|false|disabled)$/i.test(n))n=false;else if(n==="null")n=null;else n=Number(n);e[r]=n;return e},{});var o=parseInt(process.env.DEBUG_FD,10)||2;if(1!==o&&2!==o){i.deprecate(function(){},"except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)")()}var s=1===o?process.stdout:2===o?process.stderr:createWritableStdioStream(o);function useColors(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):n.isatty(o)}t.formatters.o=function(e){this.inspectOpts.colors=this.useColors;return i.inspect(e,this.inspectOpts).split("\n").map(function(e){return e.trim()}).join(" ")};t.formatters.O=function(e){this.inspectOpts.colors=this.useColors;return i.inspect(e,this.inspectOpts)};function formatArgs(e){var r=this.namespace;var n=this.useColors;if(n){var i=this.color;var o=" [3"+i+";1m"+r+" "+"";e[0]=o+e[0].split("\n").join("\n"+o);e.push("[3"+i+"m+"+t.humanize(this.diff)+"")}else{e[0]=(new Date).toUTCString()+" "+r+" "+e[0]}}function log(){return s.write(i.format.apply(i,arguments)+"\n")}function save(e){if(null==e){delete process.env.DEBUG}else{process.env.DEBUG=e}}function load(){return process.env.DEBUG}function createWritableStdioStream(e){var t;var i=process.binding("tty_wrap");switch(i.guessHandleType(e)){case"TTY":t=new n.WriteStream(e);t._type="tty";if(t._handle&&t._handle.unref){t._handle.unref()}break;case"FILE":var o=r(35747);t=new o.SyncWriteStream(e,{autoClose:false});t._type="fs";break;case"PIPE":case"TCP":var s=r(11631);t=new s.Socket({fd:e,readable:false,writable:true});t.readable=false;t.read=null;t._type="pipe";if(t._handle&&t._handle.unref){t._handle.unref()}break;default:throw new Error("Implement me. Unknown stream file type!")}t.fd=e;t._isStdio=true;return t}function init(e){e.inspectOpts={};var r=Object.keys(t.inspectOpts);for(var n=0;n{"use strict";var n=r(76045);var i=typeof Symbol==="function"&&typeof Symbol("foo")==="symbol";var o=Object.prototype.toString;var s=Array.prototype.concat;var a=Object.defineProperty;var l=function(e){return typeof e==="function"&&o.call(e)==="[object Function]"};var c=function(){var e={};try{a(e,"x",{enumerable:false,value:e});for(var t in e){return false}return e.x===e}catch(e){return false}};var u=a&&c();var d=function(e,t,r,n){if(t in e&&(!l(n)||!n())){return}if(u){a(e,t,{configurable:true,enumerable:false,value:r,writable:true})}else{e[t]=r}};var p=function(e,t){var r=arguments.length>2?arguments[2]:{};var o=n(t);if(i){o=s.call(o,Object.getOwnPropertySymbols(t))}for(var a=0;a{"use strict";Object.defineProperty(t,"__esModule",{value:true});class Deprecation extends Error{constructor(e){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="Deprecation"}}t.Deprecation=Deprecation},1702:(e,t,r)=>{var n=r(43402);var i=r(83982);var o=r(53958);o.elementNames.__proto__=null;o.attributeNames.__proto__=null;var s={__proto__:null,style:true,script:true,xmp:true,iframe:true,noembed:true,noframes:true,plaintext:true,noscript:true};function formatAttrs(e,t){if(!e)return;var r="";var n;for(var s in e){n=e[s];if(r){r+=" "}if(t.xmlMode==="foreign"){s=o.attributeNames[s]||s}r+=s;if(n!==null&&n!==""||t.xmlMode){r+='="'+(t.decodeEntities?i.encodeXML(n):n.replace(/\"/g,"""))+'"'}}return r}var a={__proto__:null,area:true,base:true,basefont:true,br:true,col:true,command:true,embed:true,frame:true,hr:true,img:true,input:true,isindex:true,keygen:true,link:true,meta:true,param:true,source:true,track:true,wbr:true};var l=e.exports=function(e,t){if(!Array.isArray(e)&&!e.cheerio)e=[e];t=t||{};var r="";for(var i=0;i=0)t=Object.assign({},t,{xmlMode:false})}if(!t.xmlMode&&["svg","math"].indexOf(e.name)>=0){t=Object.assign({},t,{xmlMode:"foreign"})}var r="<"+e.name;var n=formatAttrs(e.attribs,t);if(n){r+=" "+n}if(t.xmlMode&&(!e.children||e.children.length===0)){r+="/>"}else{r+=">";if(e.children){r+=l(e.children,t)}if(!a[e.name]||t.xmlMode){r+=""}}return r}function renderDirective(e){return"<"+e.data+">"}function renderText(e,t){var r=e.data||"";if(t.decodeEntities&&!(e.parent&&e.parent.name in s)){r=i.encodeXML(r)}return r}function renderCdata(e){return""}function renderComment(e){return"\x3c!--"+e.data+"--\x3e"}},43402:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.isTag=void 0;function isTag(e){return e.type==="tag"||e.type==="script"||e.type==="style"}t.isTag=isTag;t.Text="text";t.Directive="directive";t.Comment="comment";t.Script="script";t.Style="style";t.Tag="tag";t.CDATA="cdata";t.Doctype="doctype"},42515:e=>{e.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(e){return e.type==="tag"||e.type==="script"||e.type==="style"}}},43370:(e,t,r)=>{var n=e.exports;[r(64144),r(86755),r(69009),r(87431),r(75718),r(4614)].forEach(function(e){Object.keys(e).forEach(function(t){n[t]=e[t].bind(n)})})},4614:(e,t)=>{t.removeSubsets=function(e){var t=e.length,r,n,i;while(--t>-1){r=n=e[t];e[t]=null;i=true;while(n){if(e.indexOf(n)>-1){i=false;e.splice(t,1);break}n=n.parent}if(i){e[t]=r}}return e};var r={DISCONNECTED:1,PRECEDING:2,FOLLOWING:4,CONTAINS:8,CONTAINED_BY:16};var n=t.compareDocumentPosition=function(e,t){var n=[];var i=[];var o,s,a,l,c,u;if(e===t){return 0}o=e;while(o){n.unshift(o);o=o.parent}o=t;while(o){i.unshift(o);o=o.parent}u=0;while(n[u]===i[u]){u++}if(u===0){return r.DISCONNECTED}s=n[u-1];a=s.children;l=n[u];c=i[u];if(a.indexOf(l)>a.indexOf(c)){if(s===t){return r.FOLLOWING|r.CONTAINED_BY}return r.FOLLOWING}else{if(s===e){return r.PRECEDING|r.CONTAINS}return r.PRECEDING}};t.uniqueSort=function(e){var t=e.length,i,o;e=e.slice();while(--t>-1){i=e[t];o=e.indexOf(i);if(o>-1&&o{var n=r(42515);var i=t.isTag=n.isTag;t.testElement=function(e,t){for(var r in e){if(!e.hasOwnProperty(r)) ;else if(r==="tag_name"){if(!i(t)||!e.tag_name(t.name)){return false}}else if(r==="tag_type"){if(!e.tag_type(t.type))return false}else if(r==="tag_contains"){if(i(t)||!e.tag_contains(t.data)){return false}}else if(!t.attribs||!e[r](t.attribs[r])){return false}}return true};var o={tag_name:function(e){if(typeof e==="function"){return function(t){return i(t)&&e(t.name)}}else if(e==="*"){return i}else{return function(t){return i(t)&&t.name===e}}},tag_type:function(e){if(typeof e==="function"){return function(t){return e(t.type)}}else{return function(t){return t.type===e}}},tag_contains:function(e){if(typeof e==="function"){return function(t){return!i(t)&&e(t.data)}}else{return function(t){return!i(t)&&t.data===e}}}};function getAttribCheck(e,t){if(typeof t==="function"){return function(r){return r.attribs&&t(r.attribs[e])}}else{return function(r){return r.attribs&&r.attribs[e]===t}}}function combineFuncs(e,t){return function(r){return e(r)||t(r)}}t.getElements=function(e,t,r,n){var i=Object.keys(e).map(function(t){var r=e[t];return t in o?o[t](r):getAttribCheck(t,r)});return i.length===0?[]:this.filter(i.reduce(combineFuncs),t,r,n)};t.getElementById=function(e,t,r){if(!Array.isArray(t))t=[t];return this.findOne(getAttribCheck("id",e),t,r!==false)};t.getElementsByTagName=function(e,t,r,n){return this.filter(o.tag_name(e),t,r,n)};t.getElementsByTagType=function(e,t,r,n){return this.filter(o.tag_type(e),t,r,n)}},69009:(e,t)=>{t.removeElement=function(e){if(e.prev)e.prev.next=e.next;if(e.next)e.next.prev=e.prev;if(e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}};t.replaceElement=function(e,t){var r=t.prev=e.prev;if(r){r.next=t}var n=t.next=e.next;if(n){n.prev=t}var i=t.parent=e.parent;if(i){var o=i.children;o[o.lastIndexOf(e)]=t}};t.appendChild=function(e,t){t.parent=e;if(e.children.push(t)!==1){var r=e.children[e.children.length-2];r.next=t;t.prev=r;t.next=null}};t.append=function(e,t){var r=e.parent,n=e.next;t.next=n;t.prev=e;e.next=t;t.parent=r;if(n){n.prev=t;if(r){var i=r.children;i.splice(i.lastIndexOf(n),0,t)}}else if(r){r.children.push(t)}};t.prepend=function(e,t){var r=e.parent;if(r){var n=r.children;n.splice(n.lastIndexOf(e),0,t)}if(e.prev){e.prev.next=t}t.parent=r;t.prev=e.prev;t.next=e;e.prev=t}},87431:(e,t,r)=>{var n=r(42515).isTag;e.exports={filter:filter,find:find,findOneChild:findOneChild,findOne:findOne,existsOne:existsOne,findAll:findAll};function filter(e,t,r,n){if(!Array.isArray(t))t=[t];if(typeof n!=="number"||!isFinite(n)){n=Infinity}return find(e,t,r!==false,n)}function find(e,t,r,n){var i=[],o;for(var s=0,a=t.length;s0){o=find(e,o,r,n);i=i.concat(o);n-=o.length;if(n<=0)break}}return i}function findOneChild(e,t){for(var r=0,n=t.length;r0){r=findOne(e,t[i].children)}}return r}function existsOne(e,t){for(var r=0,i=t.length;r0&&existsOne(e,t[r].children))){return true}}return false}function findAll(e,t){var r=[];var i=t.slice();while(i.length){var o=i.shift();if(!n(o))continue;if(o.children&&o.children.length>0){i.unshift.apply(i,o.children)}if(e(o))r.push(o)}return r}},64144:(e,t,r)=>{var n=r(42515),i=r(1702),o=n.isTag;e.exports={getInnerHTML:getInnerHTML,getOuterHTML:i,getText:getText};function getInnerHTML(e,t){return e.children?e.children.map(function(e){return i(e,t)}).join(""):""}function getText(e){if(Array.isArray(e))return e.map(getText).join("");if(o(e))return e.name==="br"?"\n":getText(e.children);if(e.type===n.CDATA)return getText(e.children);if(e.type===n.Text)return e.data;return""}},86755:(e,t)=>{var r=t.getChildren=function(e){return e.children};var n=t.getParent=function(e){return e.parent};t.getSiblings=function(e){var t=n(e);return t?r(t):[e]};t.getAttributeValue=function(e,t){return e.attribs&&e.attribs[t]};t.hasAttrib=function(e,t){return!!e.attribs&&hasOwnProperty.call(e.attribs,t)};t.getName=function(e){return e.name}},58509:(e,t,r)=>{"use strict";var n=r(35747);var i=r(85622);var o=r(74998);var s=false;var a=r(52021).i8;var l="<";var c=">";var u="%";var d="locals";var p="ejs";var f="(<%%|%%>|<%=|<%-|<%_|<%#|<%|%>|-%>|_%>)";var h=["delimiter","scope","context","debug","compileDebug","client","_with","rmWhitespace","strict","filename","async"];var m=h.concat("cache");var g=/^\uFEFF/;t.cache=o.cache;t.fileLoader=n.readFileSync;t.localsName=d;t.promiseImpl=new Function("return this;")().Promise;t.resolveInclude=function(e,t,r){var n=i.dirname;var o=i.extname;var s=i.resolve;var a=s(r?t:n(t),e);var l=o(e);if(!l){a+=".ejs"}return a};function resolvePaths(e,r){var i;if(r.some(function(r){i=t.resolveInclude(e,r,true);return n.existsSync(i)})){return i}}function getIncludePath(e,r){var i;var o;var s=r.views;var a=/^[A-Za-z]+:\\|^\//.exec(e);if(a&&a.length){e=e.replace(/^\/*/,"");if(Array.isArray(r.root)){i=resolvePaths(e,r.root)}else{i=t.resolveInclude(e,r.root||"/",true)}}else{if(r.filename){o=t.resolveInclude(e,r.filename);if(n.existsSync(o)){i=o}}if(!i&&Array.isArray(s)){i=resolvePaths(e,s)}if(!i&&typeof r.includer!=="function"){throw new Error('Could not find the include file "'+r.escapeFunction(e)+'"')}}return i}function handleCache(e,r){var n;var i=e.filename;var o=arguments.length>1;if(e.cache){if(!i){throw new Error("cache option requires a filename")}n=t.cache.get(i);if(n){return n}if(!o){r=fileLoader(i).toString().replace(g,"")}}else if(!o){if(!i){throw new Error("Internal EJS error: no file name or template "+"provided")}r=fileLoader(i).toString().replace(g,"")}n=t.compile(r,e);if(e.cache){t.cache.set(i,n)}return n}function tryHandleCache(e,r,n){var i;if(!n){if(typeof t.promiseImpl=="function"){return new t.promiseImpl(function(t,n){try{i=handleCache(e)(r);t(i)}catch(e){n(e)}})}else{throw new Error("Please provide a callback function")}}else{try{i=handleCache(e)(r)}catch(e){return n(e)}n(null,i)}}function fileLoader(e){return t.fileLoader(e)}function includeFile(e,t){var r=o.shallowCopy({},t);r.filename=getIncludePath(e,r);if(typeof t.includer==="function"){var n=t.includer(e,r.filename);if(n){if(n.filename){r.filename=n.filename}if(n.template){return handleCache(r,n.template)}}}return handleCache(r)}function rethrow(e,t,r,n,i){var o=t.split("\n");var s=Math.max(n-3,0);var a=Math.min(o.length,n+3);var l=i(r);var c=o.slice(s,a).map(function(e,t){var r=t+s+1;return(r==n?" >> ":" ")+r+"| "+e}).join("\n");e.path=l;e.message=(l||"ejs")+":"+n+"\n"+c+"\n\n"+e.message;throw e}function stripSemi(e){return e.replace(/;(\s*$)/,"$1")}t.compile=function compile(e,t){var r;if(t&&t.scope){if(!s){console.warn("`scope` option is deprecated and will be removed in EJS 3");s=true}if(!t.context){t.context=t.scope}delete t.scope}r=new Template(e,t);return r.compile()};t.render=function(e,t,r){var n=t||{};var i=r||{};if(arguments.length==2){o.shallowCopyFromList(i,n,h)}return handleCache(i,e)(n)};t.renderFile=function(){var e=Array.prototype.slice.call(arguments);var t=e.shift();var r;var n={filename:t};var i;var s;if(typeof arguments[arguments.length-1]=="function"){r=e.pop()}if(e.length){i=e.shift();if(e.length){o.shallowCopy(n,e.pop())}else{if(i.settings){if(i.settings.views){n.views=i.settings.views}if(i.settings["view cache"]){n.cache=true}s=i.settings["view options"];if(s){o.shallowCopy(n,s)}}o.shallowCopyFromList(n,i,m)}n.filename=t}else{i={}}return tryHandleCache(n,i,r)};t.Template=Template;t.clearCache=function(){t.cache.reset()};function Template(e,r){r=r||{};var n={};this.templateText=e;this.mode=null;this.truncate=false;this.currentLine=1;this.source="";n.client=r.client||false;n.escapeFunction=r.escape||r.escapeFunction||o.escapeXML;n.compileDebug=r.compileDebug!==false;n.debug=!!r.debug;n.filename=r.filename;n.openDelimiter=r.openDelimiter||t.openDelimiter||l;n.closeDelimiter=r.closeDelimiter||t.closeDelimiter||c;n.delimiter=r.delimiter||t.delimiter||u;n.strict=r.strict||false;n.context=r.context;n.cache=r.cache||false;n.rmWhitespace=r.rmWhitespace;n.root=r.root;n.includer=r.includer;n.outputFunctionName=r.outputFunctionName;n.localsName=r.localsName||t.localsName||d;n.views=r.views;n.async=r.async;n.destructuredLocals=r.destructuredLocals;n.legacyInclude=typeof r.legacyInclude!="undefined"?!!r.legacyInclude:true;if(n.strict){n._with=false}else{n._with=typeof r._with!="undefined"?r._with:true}this.opts=n;this.regex=this.createRegex()}Template.modes={EVAL:"eval",ESCAPED:"escaped",RAW:"raw",COMMENT:"comment",LITERAL:"literal"};Template.prototype={createRegex:function(){var e=f;var t=o.escapeRegExpChars(this.opts.delimiter);var r=o.escapeRegExpChars(this.opts.openDelimiter);var n=o.escapeRegExpChars(this.opts.closeDelimiter);e=e.replace(/%/g,t).replace(//g,n);return new RegExp(e)},compile:function(){var e;var t;var r=this.opts;var n="";var s="";var a=r.escapeFunction;var l;if(!this.source){this.generateSource();n+=' var __output = "";\n'+" function __append(s) { if (s !== undefined && s !== null) __output += s }\n";if(r.outputFunctionName){n+=" var "+r.outputFunctionName+" = __append;"+"\n"}if(r.destructuredLocals&&r.destructuredLocals.length){var c=" var __locals = ("+r.localsName+" || {}),\n";for(var u=0;u0){c+=",\n "}c+=d+" = __locals."+d}n+=c+";\n"}if(r._with!==false){n+=" with ("+r.localsName+" || {}) {"+"\n";s+=" }"+"\n"}s+=" return __output;"+"\n";this.source=n+this.source+s}if(r.compileDebug){e="var __line = 1"+"\n"+" , __lines = "+JSON.stringify(this.templateText)+"\n"+" , __filename = "+(r.filename?JSON.stringify(r.filename):"undefined")+";"+"\n"+"try {"+"\n"+this.source+"} catch (e) {"+"\n"+" rethrow(e, __lines, __filename, __line, escapeFn);"+"\n"+"}"+"\n"}else{e=this.source}if(r.client){e="escapeFn = escapeFn || "+a.toString()+";"+"\n"+e;if(r.compileDebug){e="rethrow = rethrow || "+rethrow.toString()+";"+"\n"+e}}if(r.strict){e='"use strict";\n'+e}if(r.debug){console.log(e)}if(r.compileDebug&&r.filename){e=e+"\n"+"//# sourceURL="+r.filename+"\n"}try{if(r.async){try{l=new Function("return (async function(){}).constructor;")()}catch(e){if(e instanceof SyntaxError){throw new Error("This environment does not support async/await")}else{throw e}}}else{l=Function}t=new l(r.localsName+", escapeFn, include, rethrow",e)}catch(e){if(e instanceof SyntaxError){if(r.filename){e.message+=" in "+r.filename}e.message+=" while compiling ejs\n\n";e.message+="If the above error is not helpful, you may want to try EJS-Lint:\n";e.message+="https://github.com/RyanZim/EJS-Lint";if(!r.async){e.message+="\n";e.message+="Or, if you meant to create an async function, pass `async: true` as an option."}}throw e}var p=r.client?t:function anonymous(e){var n=function(t,n){var i=o.shallowCopy({},e);if(n){i=o.shallowCopy(i,n)}return includeFile(t,r)(i)};return t.apply(r.context,[e||{},a,n,rethrow])};if(r.filename&&typeof Object.defineProperty==="function"){var f=r.filename;var h=i.basename(f,i.extname(f));try{Object.defineProperty(p,"name",{value:h,writable:false,enumerable:false,configurable:true})}catch(e){}}return p},generateSource:function(){var e=this.opts;if(e.rmWhitespace){this.templateText=this.templateText.replace(/[\r\n]+/g,"\n").replace(/^\s+|\s+$/gm,"")}this.templateText=this.templateText.replace(/[ \t]*<%_/gm,"<%_").replace(/_%>[ \t]*/gm,"_%>");var t=this;var r=this.parseTemplateText();var n=this.opts.delimiter;var i=this.opts.openDelimiter;var o=this.opts.closeDelimiter;if(r&&r.length){r.forEach(function(e,s){var a;if(e.indexOf(i+n)===0&&e.indexOf(i+n+n)!==0){a=r[s+2];if(!(a==n+o||a=="-"+n+o||a=="_"+n+o)){throw new Error('Could not find matching close tag for "'+e+'".')}}t.scanLine(e)})}},parseTemplateText:function(){var e=this.templateText;var t=this.regex;var r=t.exec(e);var n=[];var i;while(r){i=r.index;if(i!==0){n.push(e.substring(0,i));e=e.slice(i)}n.push(r[0]);e=e.slice(r[0].length);r=t.exec(e)}if(e){n.push(e)}return n},_addOutput:function(e){if(this.truncate){e=e.replace(/^(?:\r\n|\r|\n)/,"");this.truncate=false}if(!e){return e}e=e.replace(/\\/g,"\\\\");e=e.replace(/\n/g,"\\n");e=e.replace(/\r/g,"\\r");e=e.replace(/"/g,'\\"');this.source+=' ; __append("'+e+'")'+"\n"},scanLine:function(e){var t=this;var r=this.opts.delimiter;var n=this.opts.openDelimiter;var i=this.opts.closeDelimiter;var o=0;o=e.split("\n").length-1;switch(e){case n+r:case n+r+"_":this.mode=Template.modes.EVAL;break;case n+r+"=":this.mode=Template.modes.ESCAPED;break;case n+r+"-":this.mode=Template.modes.RAW;break;case n+r+"#":this.mode=Template.modes.COMMENT;break;case n+r+r:this.mode=Template.modes.LITERAL;this.source+=' ; __append("'+e.replace(n+r+r,n+r)+'")'+"\n";break;case r+r+i:this.mode=Template.modes.LITERAL;this.source+=' ; __append("'+e.replace(r+r+i,r+i)+'")'+"\n";break;case r+i:case"-"+r+i:case"_"+r+i:if(this.mode==Template.modes.LITERAL){this._addOutput(e)}this.mode=null;this.truncate=e.indexOf("-")===0||e.indexOf("_")===0;break;default:if(this.mode){switch(this.mode){case Template.modes.EVAL:case Template.modes.ESCAPED:case Template.modes.RAW:if(e.lastIndexOf("//")>e.lastIndexOf("\n")){e+="\n"}}switch(this.mode){case Template.modes.EVAL:this.source+=" ; "+e+"\n";break;case Template.modes.ESCAPED:this.source+=" ; __append(escapeFn("+stripSemi(e)+"))"+"\n";break;case Template.modes.RAW:this.source+=" ; __append("+stripSemi(e)+")"+"\n";break;case Template.modes.COMMENT:break;case Template.modes.LITERAL:this._addOutput(e);break}}else{this._addOutput(e)}}if(t.opts.compileDebug&&o){this.currentLine+=o;this.source+=" ; __line = "+this.currentLine+"\n"}}};t.escapeXML=o.escapeXML;t.__express=t.renderFile;t.VERSION=a;t.name=p;if(typeof window!="undefined"){window.ejs=t}},74998:(e,t)=>{"use strict";var r=/[|\\{}()[\]^$+*?.]/g;t.escapeRegExpChars=function(e){if(!e){return""}return String(e).replace(r,"\\$&")};var n={"&":"&","<":"<",">":">",'"':""","'":"'"};var i=/[&<>'"]/g;function encode_char(e){return n[e]||e}var o="var _ENCODE_HTML_RULES = {\n"+' "&": "&"\n'+' , "<": "<"\n'+' , ">": ">"\n'+' , \'"\': """\n'+' , "\'": "'"\n'+" }\n"+" , _MATCH_HTML = /[&<>'\"]/g;\n"+"function encode_char(c) {\n"+" return _ENCODE_HTML_RULES[c] || c;\n"+"};\n";t.escapeXML=function(e){return e==undefined?"":String(e).replace(i,encode_char)};t.escapeXML.toString=function(){return Function.prototype.toString.call(this)+";\n"+o};t.shallowCopy=function(e,t){t=t||{};for(var r in t){e[r]=t[r]}return e};t.shallowCopyFromList=function(e,t,r){for(var n=0;n{var n=r(86343);var i=function(){};var o=function(e){return e.setHeader&&typeof e.abort==="function"};var s=function(e){return e.stdio&&Array.isArray(e.stdio)&&e.stdio.length===3};var a=function(e,t,r){if(typeof t==="function")return a(e,null,t);if(!t)t={};r=n(r||i);var l=e._writableState;var c=e._readableState;var u=t.readable||t.readable!==false&&e.readable;var d=t.writable||t.writable!==false&&e.writable;var p=false;var f=function(){if(!e.writable)h()};var h=function(){d=false;if(!u)r.call(e)};var m=function(){u=false;if(!d)r.call(e)};var g=function(t){r.call(e,t?new Error("exited with error code: "+t):null)};var y=function(t){r.call(e,t)};var v=function(){process.nextTick(b)};var b=function(){if(p)return;if(u&&!(c&&(c.ended&&!c.destroyed)))return r.call(e,new Error("premature close"));if(d&&!(l&&(l.ended&&!l.destroyed)))return r.call(e,new Error("premature close"))};var S=function(){e.req.on("finish",h)};if(o(e)){e.on("complete",h);e.on("abort",v);if(e.req)S();else e.on("request",S)}else if(d&&!l){e.on("end",f);e.on("close",f)}if(s(e))e.on("exit",g);e.on("end",m);e.on("finish",h);if(t.error!==false)e.on("error",y);e.on("close",v);return function(){p=true;e.removeListener("complete",h);e.removeListener("abort",v);e.removeListener("request",S);if(e.req)e.req.removeListener("finish",h);e.removeListener("end",f);e.removeListener("close",f);e.removeListener("finish",h);e.removeListener("exit",g);e.removeListener("end",m);e.removeListener("error",y);e.removeListener("close",v)}};e.exports=a},27235:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var i=n(r(20933));var o=n(r(19151));var s=n(r(44816));var a=n(r(62190));t.decodeXML=getStrictDecoder(s.default);t.decodeHTMLStrict=getStrictDecoder(i.default);function getStrictDecoder(e){var t=Object.keys(e).join("|");var r=getReplacer(e);t+="|#[xX][\\da-fA-F]+|#\\d+";var n=new RegExp("&(?:"+t+");","g");return function(e){return String(e).replace(n,r)}}var l=function(e,t){return e=55296&&e<=57343||e>1114111){return"�"}if(e in i.default){e=i.default[e]}var t="";if(e>65535){e-=65536;t+=String.fromCharCode(e>>>10&1023|55296);e=56320|e&1023}t+=String.fromCharCode(e);return t}t.default=decodeCodePoint},4414:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.escape=t.encodeHTML=t.encodeXML=void 0;var i=n(r(44816));var o=getInverseObj(i.default);var s=getInverseReplacer(o);t.encodeXML=getInverse(o,s);var a=n(r(20933));var l=getInverseObj(a.default);var c=getInverseReplacer(l);t.encodeHTML=getInverse(l,c);function getInverseObj(e){return Object.keys(e).sort().reduce(function(t,r){t[e[r]]="&"+r+";";return t},{})}function getInverseReplacer(e){var t=[];var r=[];for(var n=0,i=Object.keys(e);n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.encode=t.decodeStrict=t.decode=void 0;var n=r(27235);var i=r(4414);function decode(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTML)(e)}t.decode=decode;function decodeStrict(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTMLStrict)(e)}t.decodeStrict=decodeStrict;function encode(e,t){return(!t||t<=0?i.encodeXML:i.encodeHTML)(e)}t.encode=encode;var o=r(4414);Object.defineProperty(t,"encodeXML",{enumerable:true,get:function(){return o.encodeXML}});Object.defineProperty(t,"encodeHTML",{enumerable:true,get:function(){return o.encodeHTML}});Object.defineProperty(t,"escape",{enumerable:true,get:function(){return o.escape}});Object.defineProperty(t,"encodeHTML4",{enumerable:true,get:function(){return o.encodeHTML}});Object.defineProperty(t,"encodeHTML5",{enumerable:true,get:function(){return o.encodeHTML}});var s=r(27235);Object.defineProperty(t,"decodeXML",{enumerable:true,get:function(){return s.decodeXML}});Object.defineProperty(t,"decodeHTML",{enumerable:true,get:function(){return s.decodeHTML}});Object.defineProperty(t,"decodeHTMLStrict",{enumerable:true,get:function(){return s.decodeHTMLStrict}});Object.defineProperty(t,"decodeHTML4",{enumerable:true,get:function(){return s.decodeHTML}});Object.defineProperty(t,"decodeHTML5",{enumerable:true,get:function(){return s.decodeHTML}});Object.defineProperty(t,"decodeHTML4Strict",{enumerable:true,get:function(){return s.decodeHTMLStrict}});Object.defineProperty(t,"decodeHTML5Strict",{enumerable:true,get:function(){return s.decodeHTMLStrict}});Object.defineProperty(t,"decodeXMLStrict",{enumerable:true,get:function(){return s.decodeXML}})},61421:(e,t,r)=>{"use strict";e.exports=r(93008)},93008:(e,t,r)=>{"use strict";var n=r(32260);var i=n("%TypeError%");e.exports=function CheckObjectCoercible(e,t){if(e==null){throw new i(t||"Cannot call method on "+e)}return e}},32260:(e,t,r)=>{"use strict";var n;var i=TypeError;var o=Object.getOwnPropertyDescriptor;if(o){try{o({},"")}catch(e){o=null}}var s=function(){throw new i};var a=o?function(){try{arguments.callee;return s}catch(e){try{return o(arguments,"callee").get}catch(e){return s}}}():s;var l=r(41869)();var c=Object.getPrototypeOf||function(e){return e.__proto__};var u;var d=u?c(u):n;var p;var f=p?p.constructor:n;var h;var m=h?c(h):n;var g=h?h():n;var y=typeof Uint8Array==="undefined"?n:c(Uint8Array);var v={"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer==="undefined"?n:ArrayBuffer,"%ArrayBufferPrototype%":typeof ArrayBuffer==="undefined"?n:ArrayBuffer.prototype,"%ArrayIteratorPrototype%":l?c([][Symbol.iterator]()):n,"%ArrayPrototype%":Array.prototype,"%ArrayProto_entries%":Array.prototype.entries,"%ArrayProto_forEach%":Array.prototype.forEach,"%ArrayProto_keys%":Array.prototype.keys,"%ArrayProto_values%":Array.prototype.values,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":f,"%AsyncFunctionPrototype%":f?f.prototype:n,"%AsyncGenerator%":h?c(g):n,"%AsyncGeneratorFunction%":m,"%AsyncGeneratorPrototype%":m?m.prototype:n,"%AsyncIteratorPrototype%":g&&l&&Symbol.asyncIterator?g[Symbol.asyncIterator]():n,"%Atomics%":typeof Atomics==="undefined"?n:Atomics,"%Boolean%":Boolean,"%BooleanPrototype%":Boolean.prototype,"%DataView%":typeof DataView==="undefined"?n:DataView,"%DataViewPrototype%":typeof DataView==="undefined"?n:DataView.prototype,"%Date%":Date,"%DatePrototype%":Date.prototype,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%ErrorPrototype%":Error.prototype,"%eval%":eval,"%EvalError%":EvalError,"%EvalErrorPrototype%":EvalError.prototype,"%Float32Array%":typeof Float32Array==="undefined"?n:Float32Array,"%Float32ArrayPrototype%":typeof Float32Array==="undefined"?n:Float32Array.prototype,"%Float64Array%":typeof Float64Array==="undefined"?n:Float64Array,"%Float64ArrayPrototype%":typeof Float64Array==="undefined"?n:Float64Array.prototype,"%Function%":Function,"%FunctionPrototype%":Function.prototype,"%Generator%":u?c(u()):n,"%GeneratorFunction%":d,"%GeneratorPrototype%":d?d.prototype:n,"%Int8Array%":typeof Int8Array==="undefined"?n:Int8Array,"%Int8ArrayPrototype%":typeof Int8Array==="undefined"?n:Int8Array.prototype,"%Int16Array%":typeof Int16Array==="undefined"?n:Int16Array,"%Int16ArrayPrototype%":typeof Int16Array==="undefined"?n:Int8Array.prototype,"%Int32Array%":typeof Int32Array==="undefined"?n:Int32Array,"%Int32ArrayPrototype%":typeof Int32Array==="undefined"?n:Int32Array.prototype,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":l?c(c([][Symbol.iterator]())):n,"%JSON%":typeof JSON==="object"?JSON:n,"%JSONParse%":typeof JSON==="object"?JSON.parse:n,"%Map%":typeof Map==="undefined"?n:Map,"%MapIteratorPrototype%":typeof Map==="undefined"||!l?n:c((new Map)[Symbol.iterator]()),"%MapPrototype%":typeof Map==="undefined"?n:Map.prototype,"%Math%":Math,"%Number%":Number,"%NumberPrototype%":Number.prototype,"%Object%":Object,"%ObjectPrototype%":Object.prototype,"%ObjProto_toString%":Object.prototype.toString,"%ObjProto_valueOf%":Object.prototype.valueOf,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise==="undefined"?n:Promise,"%PromisePrototype%":typeof Promise==="undefined"?n:Promise.prototype,"%PromiseProto_then%":typeof Promise==="undefined"?n:Promise.prototype.then,"%Promise_all%":typeof Promise==="undefined"?n:Promise.all,"%Promise_reject%":typeof Promise==="undefined"?n:Promise.reject,"%Promise_resolve%":typeof Promise==="undefined"?n:Promise.resolve,"%Proxy%":typeof Proxy==="undefined"?n:Proxy,"%RangeError%":RangeError,"%RangeErrorPrototype%":RangeError.prototype,"%ReferenceError%":ReferenceError,"%ReferenceErrorPrototype%":ReferenceError.prototype,"%Reflect%":typeof Reflect==="undefined"?n:Reflect,"%RegExp%":RegExp,"%RegExpPrototype%":RegExp.prototype,"%Set%":typeof Set==="undefined"?n:Set,"%SetIteratorPrototype%":typeof Set==="undefined"||!l?n:c((new Set)[Symbol.iterator]()),"%SetPrototype%":typeof Set==="undefined"?n:Set.prototype,"%SharedArrayBuffer%":typeof SharedArrayBuffer==="undefined"?n:SharedArrayBuffer,"%SharedArrayBufferPrototype%":typeof SharedArrayBuffer==="undefined"?n:SharedArrayBuffer.prototype,"%String%":String,"%StringIteratorPrototype%":l?c(""[Symbol.iterator]()):n,"%StringPrototype%":String.prototype,"%Symbol%":l?Symbol:n,"%SymbolPrototype%":l?Symbol.prototype:n,"%SyntaxError%":SyntaxError,"%SyntaxErrorPrototype%":SyntaxError.prototype,"%ThrowTypeError%":a,"%TypedArray%":y,"%TypedArrayPrototype%":y?y.prototype:n,"%TypeError%":i,"%TypeErrorPrototype%":i.prototype,"%Uint8Array%":typeof Uint8Array==="undefined"?n:Uint8Array,"%Uint8ArrayPrototype%":typeof Uint8Array==="undefined"?n:Uint8Array.prototype,"%Uint8ClampedArray%":typeof Uint8ClampedArray==="undefined"?n:Uint8ClampedArray,"%Uint8ClampedArrayPrototype%":typeof Uint8ClampedArray==="undefined"?n:Uint8ClampedArray.prototype,"%Uint16Array%":typeof Uint16Array==="undefined"?n:Uint16Array,"%Uint16ArrayPrototype%":typeof Uint16Array==="undefined"?n:Uint16Array.prototype,"%Uint32Array%":typeof Uint32Array==="undefined"?n:Uint32Array,"%Uint32ArrayPrototype%":typeof Uint32Array==="undefined"?n:Uint32Array.prototype,"%URIError%":URIError,"%URIErrorPrototype%":URIError.prototype,"%WeakMap%":typeof WeakMap==="undefined"?n:WeakMap,"%WeakMapPrototype%":typeof WeakMap==="undefined"?n:WeakMap.prototype,"%WeakSet%":typeof WeakSet==="undefined"?n:WeakSet,"%WeakSetPrototype%":typeof WeakSet==="undefined"?n:WeakSet.prototype};var b=r(10373);var S=b.call(Function.call,String.prototype.replace);var w=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;var x=/\\(\\)?/g;var C=function stringToPath(e){var t=[];S(e,w,function(e,r,n,i){t[t.length]=n?S(i,x,"$1"):r||e});return t};var k=function getBaseIntrinsic(e,t){if(!(e in v)){throw new SyntaxError("intrinsic "+e+" does not exist!")}if(typeof v[e]==="undefined"&&!t){throw new i("intrinsic "+e+" exists, but is not available. Please file an issue!")}return v[e]};e.exports=function GetIntrinsic(e,t){if(typeof e!=="string"||e.length===0){throw new TypeError("intrinsic name must be a non-empty string")}if(arguments.length>1&&typeof t!=="boolean"){throw new TypeError('"allowMissing" argument must be a boolean')}var r=C(e);var n=k("%"+(r.length>0?r[0]:"")+"%",t);for(var s=1;s=r.length){var a=o(n,r[s]);if(!t&&!(r[s]in n)){throw new i("base intrinsic for "+e+" exists, but the property is not available.")}n=a&&"get"in a&&!("originalValue"in a.get)?a.get:n[r[s]]}else{n=n[r[s]]}}}return n}},69334:(e,t,r)=>{"use strict";var n=r(10373);var i=r(32260);var o=i("%Function.prototype.apply%");var s=i("%Function.prototype.call%");var a=i("%Reflect.apply%",true)||n.call(s,o);var l=i("%Object.defineProperty%",true);if(l){try{l({},"a",{value:1})}catch(e){l=null}}e.exports=function callBind(){return a(n,s,arguments)};var c=function applyBind(){return a(n,o,arguments)};if(l){l(e.exports,"apply",{value:c})}else{e.exports.apply=c}},38790:(e,t,r)=>{"use strict";var n=r(32260);var i=r(69334);var o=i(n("String.prototype.indexOf"));e.exports=function callBoundIntrinsic(e,t){var r=n(e,!!t);if(typeof r==="function"&&o(e,".prototype.")){return i(r)}return r}},46909:(e,t,r)=>{const n=r(74216)("extract-zip");const{createWriteStream:i,promises:o}=r(35747);const s=r(74205);const a=r(85622);const{promisify:l}=r(31669);const c=r(92413);const u=r(11790);const d=l(u.open);const p=l(c.pipeline);class Extractor{constructor(e,t){this.zipPath=e;this.opts=t}async extract(){n("opening",this.zipPath,"with opts",this.opts);this.zipfile=await d(this.zipPath,{lazyEntries:true});this.canceled=false;return new Promise((e,t)=>{this.zipfile.on("error",e=>{this.canceled=true;t(e)});this.zipfile.readEntry();this.zipfile.on("close",()=>{if(!this.canceled){n("zip extraction complete");e()}});this.zipfile.on("entry",async e=>{if(this.canceled){n("skipping entry",e.fileName,{cancelled:this.canceled});return}n("zipfile entry",e.fileName);if(e.fileName.startsWith("__MACOSX/")){this.zipfile.readEntry();return}const r=a.dirname(a.join(this.opts.dir,e.fileName));try{await o.mkdir(r,{recursive:true});const i=await o.realpath(r);const s=a.relative(this.opts.dir,i);if(s.split(a.sep).includes("..")){throw new Error(`Out of bound path "${i}" found while processing file ${e.fileName}`)}await this.extractEntry(e);n("finished processing",e.fileName);this.zipfile.readEntry()}catch(e){this.canceled=true;this.zipfile.close();t(e)}})})}async extractEntry(e){if(this.canceled){n("skipping entry extraction",e.fileName,{cancelled:this.canceled});return}if(this.opts.onEntry){this.opts.onEntry(e,this.zipfile)}const t=a.join(this.opts.dir,e.fileName);const r=e.externalFileAttributes>>16&65535;const c=61440;const u=16384;const d=40960;const f=(r&c)===d;let h=(r&c)===u;if(!h&&e.fileName.endsWith("/")){h=true}const m=e.versionMadeBy>>8;if(!h)h=m===0&&e.externalFileAttributes===16;n("extracting entry",{filename:e.fileName,isDir:h,isSymlink:f});const g=this.getExtractedMode(r,h)&511;const y=h?t:a.dirname(t);const v={recursive:true};if(h){v.mode=g}n("mkdir",{dir:y,...v});await o.mkdir(y,v);if(h)return;n("opening read stream",t);const b=await l(this.zipfile.openReadStream.bind(this.zipfile))(e);if(f){const e=await s(b);n("creating symlink",e,t);await o.symlink(e,t)}else{await p(b,i(t,{mode:g}))}}getExtractedMode(e,t){let r=e;if(r===0){if(t){if(this.opts.defaultDirMode){r=parseInt(this.opts.defaultDirMode,10)}if(!r){r=493}}else{if(this.opts.defaultFileMode){r=parseInt(this.opts.defaultFileMode,10)}if(!r){r=420}}}return r}}e.exports=async function(e,t){n("creating target directory",t.dir);if(!a.isAbsolute(t.dir)){throw new Error("Target directory is expected to be absolute")}await o.mkdir(t.dir,{recursive:true});t.dir=await o.realpath(t.dir);return new Extractor(e,t).extract()}},88825:(e,t,r)=>{t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.storage=localstorage();t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function useColors(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){return true}if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){return false}return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(t){t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff);if(!this.useColors){return}const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0;let i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{if(e==="%%"){return}n++;if(e==="%c"){i=n}});t.splice(i,0,r)}t.log=console.debug||console.log||(()=>{});function save(e){try{if(e){t.storage.setItem("debug",e)}else{t.storage.removeItem("debug")}}catch(e){}}function load(){let e;try{e=t.storage.getItem("debug")}catch(e){}if(!e&&typeof process!=="undefined"&&"env"in process){e=process.env.DEBUG}return e}function localstorage(){try{return localStorage}catch(e){}}e.exports=r(97526)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},97526:(e,t,r)=>{function setup(e){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=r(47916);Object.keys(e).forEach(t=>{createDebug[t]=e[t]});createDebug.instances=[];createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(e){let t=0;for(let r=0;r{if(t==="%%"){return t}o++;const i=createDebug.formatters[n];if(typeof i==="function"){const n=e[o];t=i.call(r,n);e.splice(o,1);o--}return t});createDebug.formatArgs.call(r,e);const s=r.log||createDebug.log;s.apply(r,e)}debug.namespace=e;debug.enabled=createDebug.enabled(e);debug.useColors=createDebug.useColors();debug.color=createDebug.selectColor(e);debug.destroy=destroy;debug.extend=extend;if(typeof createDebug.init==="function"){createDebug.init(debug)}createDebug.instances.push(debug);return debug}function destroy(){const e=createDebug.instances.indexOf(this);if(e!==-1){createDebug.instances.splice(e,1);return true}return false}function extend(e,t){const r=createDebug(this.namespace+(typeof t==="undefined"?":":t)+e);r.log=this.log;return r}function enable(e){createDebug.save(e);createDebug.names=[];createDebug.skips=[];let t;const r=(typeof e==="string"?e:"").split(/[\s,]+/);const n=r.length;for(t=0;t"-"+e)].join(",");createDebug.enable("");return e}function enabled(e){if(e[e.length-1]==="*"){return true}let t;let r;for(t=0,r=createDebug.skips.length;t{if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){e.exports=r(88825)}else{e.exports=r(39391)}},39391:(e,t,r)=>{const n=r(33867);const i=r(31669);t.init=init;t.log=log;t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.colors=[6,2,3,4,5,1];try{const e=r(50556);if(e&&(e.stderr||e).level>=2){t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}}catch(e){}t.inspectOpts=Object.keys(process.env).filter(e=>{return/^debug_/i.test(e)}).reduce((e,t)=>{const r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>{return t.toUpperCase()});let n=process.env[t];if(/^(yes|on|true|enabled)$/i.test(n)){n=true}else if(/^(no|off|false|disabled)$/i.test(n)){n=false}else if(n==="null"){n=null}else{n=Number(n)}e[r]=n;return e},{});function useColors(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):n.isatty(process.stderr.fd)}function formatArgs(t){const{namespace:r,useColors:n}=this;if(n){const n=this.color;const i="[3"+(n<8?n:"8;5;"+n);const o=` ${i};1m${r} `;t[0]=o+t[0].split("\n").join("\n"+o);t.push(i+"m+"+e.exports.humanize(this.diff)+"")}else{t[0]=getDate()+r+" "+t[0]}}function getDate(){if(t.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...e){return process.stderr.write(i.format(...e)+"\n")}function save(e){if(e){process.env.DEBUG=e}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(e){e.inspectOpts={};const r=Object.keys(t.inspectOpts);for(let n=0;n{var t=1e3;var r=t*60;var n=r*60;var i=n*24;var o=i*7;var s=i*365.25;e.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0){return parse(e)}else if(r==="number"&&isFinite(e)){return t.long?fmtLong(e):fmtShort(e)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function parse(e){e=String(e);if(e.length>100){return}var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!a){return}var l=parseFloat(a[1]);var c=(a[2]||"ms").toLowerCase();switch(c){case"years":case"year":case"yrs":case"yr":case"y":return l*s;case"weeks":case"week":case"w":return l*o;case"days":case"day":case"d":return l*i;case"hours":case"hour":case"hrs":case"hr":case"h":return l*n;case"minutes":case"minute":case"mins":case"min":case"m":return l*r;case"seconds":case"second":case"secs":case"sec":case"s":return l*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return undefined}}function fmtShort(e){var o=Math.abs(e);if(o>=i){return Math.round(e/i)+"d"}if(o>=n){return Math.round(e/n)+"h"}if(o>=r){return Math.round(e/r)+"m"}if(o>=t){return Math.round(e/t)+"s"}return e+"ms"}function fmtLong(e){var o=Math.abs(e);if(o>=i){return plural(e,o,i,"day")}if(o>=n){return plural(e,o,n,"hour")}if(o>=r){return plural(e,o,r,"minute")}if(o>=t){return plural(e,o,t,"second")}return e+" ms"}function plural(e,t,r,n){var i=t>=r*1.5;return Math.round(e/r)+" "+n+(i?"s":"")}},84203:(e,t,r)=>{var n=r(35747);var i=r(31669);var o=r(92413);var s=o.Readable;var a=o.Writable;var l=o.PassThrough;var c=r(1520);var u=r(28614).EventEmitter;t.createFromBuffer=createFromBuffer;t.createFromFd=createFromFd;t.BufferSlicer=BufferSlicer;t.FdSlicer=FdSlicer;i.inherits(FdSlicer,u);function FdSlicer(e,t){t=t||{};u.call(this);this.fd=e;this.pend=new c;this.pend.max=1;this.refCount=0;this.autoClose=!!t.autoClose}FdSlicer.prototype.read=function(e,t,r,i,o){var s=this;s.pend.go(function(a){n.read(s.fd,e,t,r,i,function(e,t,r){a();o(e,t,r)})})};FdSlicer.prototype.write=function(e,t,r,i,o){var s=this;s.pend.go(function(a){n.write(s.fd,e,t,r,i,function(e,t,r){a();o(e,t,r)})})};FdSlicer.prototype.createReadStream=function(e){return new ReadStream(this,e)};FdSlicer.prototype.createWriteStream=function(e){return new WriteStream(this,e)};FdSlicer.prototype.ref=function(){this.refCount+=1};FdSlicer.prototype.unref=function(){var e=this;e.refCount-=1;if(e.refCount>0)return;if(e.refCount<0)throw new Error("invalid unref");if(e.autoClose){n.close(e.fd,onCloseDone)}function onCloseDone(t){if(t){e.emit("error",t)}else{e.emit("close")}}};i.inherits(ReadStream,s);function ReadStream(e,t){t=t||{};s.call(this,t);this.context=e;this.context.ref();this.start=t.start||0;this.endOffset=t.end;this.pos=this.start;this.destroyed=false}ReadStream.prototype._read=function(e){var t=this;if(t.destroyed)return;var r=Math.min(t._readableState.highWaterMark,e);if(t.endOffset!=null){r=Math.min(r,t.endOffset-t.pos)}if(r<=0){t.destroyed=true;t.push(null);t.context.unref();return}t.context.pend.go(function(e){if(t.destroyed)return e();var i=new Buffer(r);n.read(t.context.fd,i,0,r,t.pos,function(r,n){if(r){t.destroy(r)}else if(n===0){t.destroyed=true;t.push(null);t.context.unref()}else{t.pos+=n;t.push(i.slice(0,n))}e()})})};ReadStream.prototype.destroy=function(e){if(this.destroyed)return;e=e||new Error("stream destroyed");this.destroyed=true;this.emit("error",e);this.context.unref()};i.inherits(WriteStream,a);function WriteStream(e,t){t=t||{};a.call(this,t);this.context=e;this.context.ref();this.start=t.start||0;this.endOffset=t.end==null?Infinity:+t.end;this.bytesWritten=0;this.pos=this.start;this.destroyed=false;this.on("finish",this.destroy.bind(this))}WriteStream.prototype._write=function(e,t,r){var i=this;if(i.destroyed)return;if(i.pos+e.length>i.endOffset){var o=new Error("maximum file length exceeded");o.code="ETOOBIG";i.destroy();r(o);return}i.context.pend.go(function(t){if(i.destroyed)return t();n.write(i.context.fd,e,0,e.length,i.pos,function(e,n){if(e){i.destroy();t();r(e)}else{i.bytesWritten+=n;i.pos+=n;i.emit("progress");t();r()}})})};WriteStream.prototype.destroy=function(){if(this.destroyed)return;this.destroyed=true;this.context.unref()};i.inherits(BufferSlicer,u);function BufferSlicer(e,t){u.call(this);t=t||{};this.refCount=0;this.buffer=e;this.maxChunkSize=t.maxChunkSize||Number.MAX_SAFE_INTEGER}BufferSlicer.prototype.read=function(e,t,r,n,i){var o=n+r;var s=o-this.buffer.length;var a=s>0?s:r;this.buffer.copy(e,t,n,o);setImmediate(function(){i(null,a)})};BufferSlicer.prototype.write=function(e,t,r,n,i){e.copy(this.buffer,n,t,t+r);setImmediate(function(){i(null,r,e)})};BufferSlicer.prototype.createReadStream=function(e){e=e||{};var t=new l(e);t.destroyed=false;t.start=e.start||0;t.endOffset=e.end;t.pos=t.endOffset||this.buffer.length;var r=this.buffer.slice(t.start,t.pos);var n=0;while(true){var i=n+this.maxChunkSize;if(i>=r.length){if(nr.endOffset){var s=new Error("maximum file length exceeded");s.code="ETOOBIG";r.destroyed=true;i(s);return}e.copy(t.buffer,r.pos,0,e.length);r.bytesWritten+=e.length;r.pos=o;r.emit("progress");i()};r.destroy=function(){r.destroyed=true};return r};BufferSlicer.prototype.ref=function(){this.refCount+=1};BufferSlicer.prototype.unref=function(){this.refCount-=1;if(this.refCount<0){throw new Error("invalid unref")}};function createFromBuffer(e,t){return new BufferSlicer(e,t)}function createFromFd(e,t){return new FdSlicer(e,t)}},20138:(e,t,r)=>{"use strict";const n=r(85622);const i=r(90031);const o=r(68719);const s=Symbol("findUp.stop");e.exports=(async(e,t={})=>{let r=n.resolve(t.cwd||"");const{root:o}=n.parse(r);const a=[].concat(e);const l=async t=>{if(typeof e!=="function"){return i(a,t)}const r=await e(t.cwd);if(typeof r==="string"){return i([r],t)}return r};while(true){const e=await l({...t,cwd:r});if(e===s){return}if(e){return n.resolve(r,e)}if(r===o){return}r=n.dirname(r)}});e.exports.sync=((e,t={})=>{let r=n.resolve(t.cwd||"");const{root:o}=n.parse(r);const a=[].concat(e);const l=t=>{if(typeof e!=="function"){return i.sync(a,t)}const r=e(t.cwd);if(typeof r==="string"){return i.sync([r],t)}return r};while(true){const e=l({...t,cwd:r});if(e===s){return}if(e){return n.resolve(r,e)}if(r===o){return}r=n.dirname(r)}});e.exports.exists=o;e.exports.sync.exists=o.sync;e.exports.stop=s},39597:(e,t,r)=>{var n;try{n=r(35304)("follow-redirects")}catch(e){n=function(){}}e.exports=n},75955:(e,t,r)=>{var n=r(78835);var i=n.URL;var o=r(98605);var s=r(57211);var a=r(92413).Writable;var l=r(42357);var c=r(39597);var u=Object.create(null);["abort","aborted","connect","error","socket","timeout"].forEach(function(e){u[e]=function(t,r,n){this._redirectable.emit(e,t,r,n)}});var d=createErrorType("ERR_FR_REDIRECTION_FAILURE","");var p=createErrorType("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded");var f=createErrorType("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit");var h=createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end");function RedirectableRequest(e,t){a.call(this);this._sanitizeOptions(e);this._options=e;this._ended=false;this._ending=false;this._redirectCount=0;this._redirects=[];this._requestBodyLength=0;this._requestBodyBuffers=[];if(t){this.on("response",t)}var r=this;this._onNativeResponse=function(e){r._processResponse(e)};this._performRequest()}RedirectableRequest.prototype=Object.create(a.prototype);RedirectableRequest.prototype.write=function(e,t,r){if(this._ending){throw new h}if(!(typeof e==="string"||typeof e==="object"&&"length"in e)){throw new TypeError("data should be a string, Buffer or Uint8Array")}if(typeof t==="function"){r=t;t=null}if(e.length===0){if(r){r()}return}if(this._requestBodyLength+e.length<=this._options.maxBodyLength){this._requestBodyLength+=e.length;this._requestBodyBuffers.push({data:e,encoding:t});this._currentRequest.write(e,t,r)}else{this.emit("error",new f);this.abort()}};RedirectableRequest.prototype.end=function(e,t,r){if(typeof e==="function"){r=e;e=t=null}else if(typeof t==="function"){r=t;t=null}if(!e){this._ended=this._ending=true;this._currentRequest.end(null,null,r)}else{var n=this;var i=this._currentRequest;this.write(e,t,function(){n._ended=true;i.end(null,null,r)});this._ending=true}};RedirectableRequest.prototype.setHeader=function(e,t){this._options.headers[e]=t;this._currentRequest.setHeader(e,t)};RedirectableRequest.prototype.removeHeader=function(e){delete this._options.headers[e];this._currentRequest.removeHeader(e)};RedirectableRequest.prototype.setTimeout=function(e,t){if(t){this.once("timeout",t)}if(this.socket){startTimer(this,e)}else{var r=this;this._currentRequest.once("socket",function(){startTimer(r,e)})}this.once("response",clearTimer);this.once("error",clearTimer);return this};function startTimer(e,t){clearTimeout(e._timeout);e._timeout=setTimeout(function(){e.emit("timeout")},t)}function clearTimer(){clearTimeout(this._timeout)}["abort","flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(e){RedirectableRequest.prototype[e]=function(t,r){return this._currentRequest[e](t,r)}});["aborted","connection","socket"].forEach(function(e){Object.defineProperty(RedirectableRequest.prototype,e,{get:function(){return this._currentRequest[e]}})});RedirectableRequest.prototype._sanitizeOptions=function(e){if(!e.headers){e.headers={}}if(e.host){if(!e.hostname){e.hostname=e.host}delete e.host}if(!e.pathname&&e.path){var t=e.path.indexOf("?");if(t<0){e.pathname=e.path}else{e.pathname=e.path.substring(0,t);e.search=e.path.substring(t)}}};RedirectableRequest.prototype._performRequest=function(){var e=this._options.protocol;var t=this._options.nativeProtocols[e];if(!t){this.emit("error",new TypeError("Unsupported protocol "+e));return}if(this._options.agents){var r=e.substr(0,e.length-1);this._options.agent=this._options.agents[r]}var i=this._currentRequest=t.request(this._options,this._onNativeResponse);this._currentUrl=n.format(this._options);i._redirectable=this;for(var o in u){if(o){i.on(o,u[o])}}if(this._isRedirect){var s=0;var a=this;var l=this._requestBodyBuffers;(function writeNext(e){if(i===a._currentRequest){if(e){a.emit("error",e)}else if(s=300&&t<400){this._currentRequest.removeAllListeners();this._currentRequest.on("error",noop);this._currentRequest.abort();e.destroy();if(++this._redirectCount>this._options.maxRedirects){this.emit("error",new p);return}if((t===301||t===302)&&this._options.method==="POST"||t===303&&!/^(?:GET|HEAD)$/.test(this._options.method)){this._options.method="GET";this._requestBodyBuffers=[];removeMatchingHeaders(/^content-/i,this._options.headers)}var i=removeMatchingHeaders(/^host$/i,this._options.headers)||n.parse(this._currentUrl).hostname;var o=n.resolve(this._currentUrl,r);c("redirecting to",o);this._isRedirect=true;var s=n.parse(o);Object.assign(this._options,s);if(s.hostname!==i){removeMatchingHeaders(/^authorization$/i,this._options.headers)}if(typeof this._options.beforeRedirect==="function"){var a={headers:e.headers};try{this._options.beforeRedirect.call(null,this._options,a)}catch(e){this.emit("error",e);return}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(e){var l=new d("Redirected request failed: "+e.message);l.cause=e;this.emit("error",l)}}else{e.responseUrl=this._currentUrl;e.redirects=this._redirects;this.emit("response",e);this._requestBodyBuffers=[]}};function wrap(e){var t={maxRedirects:21,maxBodyLength:10*1024*1024};var r={};Object.keys(e).forEach(function(o){var s=o+":";var a=r[s]=e[o];var u=t[o]=Object.create(a);u.request=function(e,o,a){if(typeof e==="string"){var u=e;try{e=urlToOptions(new i(u))}catch(t){e=n.parse(u)}}else if(i&&e instanceof i){e=urlToOptions(e)}else{a=o;o=e;e={protocol:s}}if(typeof o==="function"){a=o;o=null}o=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,o);o.nativeProtocols=r;l.equal(o.protocol,s,"protocol mismatch");c("options",o);return new RedirectableRequest(o,a)};u.get=function(e,t,r){var n=u.request(e,t,r);n.end();return n}});return t}function noop(){}function urlToOptions(e){var t={protocol:e.protocol,hostname:e.hostname.startsWith("[")?e.hostname.slice(1,-1):e.hostname,hash:e.hash,search:e.search,pathname:e.pathname,path:e.pathname+e.search,href:e.href};if(e.port!==""){t.port=Number(e.port)}return t}function removeMatchingHeaders(e,t){var r;for(var n in t){if(e.test(n)){r=t[n];delete t[n]}}return r}function createErrorType(e,t){function CustomError(e){Error.captureStackTrace(this,this.constructor);this.message=e||t}CustomError.prototype=new Error;CustomError.prototype.constructor=CustomError;CustomError.prototype.name="Error ["+e+"]";CustomError.prototype.code=e;return CustomError}e.exports=wrap({http:o,https:s});e.exports.wrap=wrap},21760:(e,t,r)=>{e.exports=r(35747).constants||r(27619)},52755:(e,t,r)=>{e.exports=realpath;realpath.realpath=realpath;realpath.sync=realpathSync;realpath.realpathSync=realpathSync;realpath.monkeypatch=monkeypatch;realpath.unmonkeypatch=unmonkeypatch;var n=r(35747);var i=n.realpath;var o=n.realpathSync;var s=process.version;var a=/^v[0-5]\./.test(s);var l=r(21846);function newError(e){return e&&e.syscall==="realpath"&&(e.code==="ELOOP"||e.code==="ENOMEM"||e.code==="ENAMETOOLONG")}function realpath(e,t,r){if(a){return i(e,t,r)}if(typeof t==="function"){r=t;t=null}i(e,t,function(n,i){if(newError(n)){l.realpath(e,t,r)}else{r(n,i)}})}function realpathSync(e,t){if(a){return o(e,t)}try{return o(e,t)}catch(r){if(newError(r)){return l.realpathSync(e,t)}else{throw r}}}function monkeypatch(){n.realpath=realpath;n.realpathSync=realpathSync}function unmonkeypatch(){n.realpath=i;n.realpathSync=o}},21846:(e,t,r)=>{var n=r(85622);var i=process.platform==="win32";var o=r(35747);var s=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function rethrow(){var e;if(s){var t=new Error;e=debugCallback}else e=missingCallback;return e;function debugCallback(e){if(e){t.message=e.message;e=t;missingCallback(e)}}function missingCallback(e){if(e){if(process.throwDeprecation)throw e;else if(!process.noDeprecation){var t="fs: missing callback "+(e.stack||e.message);if(process.traceDeprecation)console.trace(t);else console.error(t)}}}}function maybeCallback(e){return typeof e==="function"?e:rethrow()}var a=n.normalize;if(i){var l=/(.*?)(?:[\/\\]+|$)/g}else{var l=/(.*?)(?:[\/]+|$)/g}if(i){var c=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/}else{var c=/^[\/]*/}t.realpathSync=function realpathSync(e,t){e=n.resolve(e);if(t&&Object.prototype.hasOwnProperty.call(t,e)){return t[e]}var r=e,s={},a={};var u;var d;var p;var f;start();function start(){var t=c.exec(e);u=t[0].length;d=t[0];p=t[0];f="";if(i&&!a[p]){o.lstatSync(p);a[p]=true}}while(u=e.length){if(t)t[s]=e;return r(null,e)}l.lastIndex=d;var n=l.exec(e);h=p;p+=n[0];f=h+n[1];d=l.lastIndex;if(u[f]||t&&t[f]===f){return process.nextTick(LOOP)}if(t&&Object.prototype.hasOwnProperty.call(t,f)){return gotResolvedLink(t[f])}return o.lstat(f,gotStat)}function gotStat(e,n){if(e)return r(e);if(!n.isSymbolicLink()){u[f]=true;if(t)t[f]=f;return process.nextTick(LOOP)}if(!i){var s=n.dev.toString(32)+":"+n.ino.toString(32);if(a.hasOwnProperty(s)){return gotTarget(null,a[s],f)}}o.stat(f,function(e){if(e)return r(e);o.readlink(f,function(e,t){if(!i)a[s]=t;gotTarget(e,t)})})}function gotTarget(e,i,o){if(e)return r(e);var s=n.resolve(h,i);if(t)t[o]=s;gotResolvedLink(s)}function gotResolvedLink(t){e=n.resolve(t,e.slice(d));start()}}},66431:e=>{"use strict";var t="Function.prototype.bind called on incompatible ";var r=Array.prototype.slice;var n=Object.prototype.toString;var i="[object Function]";e.exports=function bind(e){var o=this;if(typeof o!=="function"||n.call(o)!==i){throw new TypeError(t+o)}var s=r.call(arguments,1);var a;var l=function(){if(this instanceof a){var t=o.apply(this,s.concat(r.call(arguments)));if(Object(t)===t){return t}return this}else{return o.apply(e,s.concat(r.call(arguments)))}};var c=Math.max(0,o.length-s.length);var u=[];for(var d=0;d{"use strict";var n=r(66431);e.exports=Function.prototype.bind||n},15459:(e,t,r)=>{"use strict";const{PassThrough:n}=r(92413);e.exports=(e=>{e={...e};const{array:t}=e;let{encoding:r}=e;const i=r==="buffer";let o=false;if(t){o=!(r||i)}else{r=r||"utf8"}if(i){r=null}const s=new n({objectMode:o});if(r){s.setEncoding(r)}let a=0;const l=[];s.on("data",e=>{l.push(e);if(o){a=l.length}else{a+=e.length}});s.getBufferedValue=(()=>{if(t){return l}return i?Buffer.concat(l,a):l.join("")});s.getBufferedLength=(()=>a);return s})},74205:(e,t,r)=>{"use strict";const{constants:n}=r(64293);const i=r(537);const o=r(15459);class MaxBufferError extends Error{constructor(){super("maxBuffer exceeded");this.name="MaxBufferError"}}async function getStream(e,t){if(!e){return Promise.reject(new Error("Expected a stream"))}t={maxBuffer:Infinity,...t};const{maxBuffer:r}=t;let s;await new Promise((a,l)=>{const c=e=>{if(e&&s.getBufferedLength()<=n.MAX_LENGTH){e.bufferedData=s.getBufferedValue()}l(e)};s=i(e,o(t),e=>{if(e){c(e);return}a()});s.on("data",()=>{if(s.getBufferedLength()>r){c(new MaxBufferError)}})});return s.getBufferedValue()}e.exports=getStream;e.exports.default=getStream;e.exports.buffer=((e,t)=>getStream(e,{...t,encoding:"buffer"}));e.exports.array=((e,t)=>getStream(e,{...t,array:true}));e.exports.MaxBufferError=MaxBufferError},3589:(e,t,r)=>{t.alphasort=alphasort;t.alphasorti=alphasorti;t.setopts=setopts;t.ownProp=ownProp;t.makeAbs=makeAbs;t.finish=finish;t.mark=mark;t.isIgnored=isIgnored;t.childrenIgnored=childrenIgnored;function ownProp(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var n=r(85622);var i=r(51993);var o=r(61056);var s=i.Minimatch;function alphasorti(e,t){return e.toLowerCase().localeCompare(t.toLowerCase())}function alphasort(e,t){return e.localeCompare(t)}function setupIgnores(e,t){e.ignore=t.ignore||[];if(!Array.isArray(e.ignore))e.ignore=[e.ignore];if(e.ignore.length){e.ignore=e.ignore.map(ignoreMap)}}function ignoreMap(e){var t=null;if(e.slice(-3)==="/**"){var r=e.replace(/(\/\*\*)+$/,"");t=new s(r,{dot:true})}return{matcher:new s(e,{dot:true}),gmatcher:t}}function setopts(e,t,r){if(!r)r={};if(r.matchBase&&-1===t.indexOf("/")){if(r.noglobstar){throw new Error("base matching requires globstar")}t="**/"+t}e.silent=!!r.silent;e.pattern=t;e.strict=r.strict!==false;e.realpath=!!r.realpath;e.realpathCache=r.realpathCache||Object.create(null);e.follow=!!r.follow;e.dot=!!r.dot;e.mark=!!r.mark;e.nodir=!!r.nodir;if(e.nodir)e.mark=true;e.sync=!!r.sync;e.nounique=!!r.nounique;e.nonull=!!r.nonull;e.nosort=!!r.nosort;e.nocase=!!r.nocase;e.stat=!!r.stat;e.noprocess=!!r.noprocess;e.absolute=!!r.absolute;e.maxLength=r.maxLength||Infinity;e.cache=r.cache||Object.create(null);e.statCache=r.statCache||Object.create(null);e.symlinks=r.symlinks||Object.create(null);setupIgnores(e,r);e.changedCwd=false;var i=process.cwd();if(!ownProp(r,"cwd"))e.cwd=i;else{e.cwd=n.resolve(r.cwd);e.changedCwd=e.cwd!==i}e.root=r.root||n.resolve(e.cwd,"/");e.root=n.resolve(e.root);if(process.platform==="win32")e.root=e.root.replace(/\\/g,"/");e.cwdAbs=o(e.cwd)?e.cwd:makeAbs(e,e.cwd);if(process.platform==="win32")e.cwdAbs=e.cwdAbs.replace(/\\/g,"/");e.nomount=!!r.nomount;r.nonegate=true;r.nocomment=true;e.minimatch=new s(t,r);e.options=e.minimatch.options}function finish(e){var t=e.nounique;var r=t?[]:Object.create(null);for(var n=0,i=e.matches.length;n{e.exports=glob;var n=r(35747);var i=r(52755);var o=r(51993);var s=o.Minimatch;var a=r(16095);var l=r(28614).EventEmitter;var c=r(85622);var u=r(42357);var d=r(61056);var p=r(6587);var f=r(3589);var h=f.alphasort;var m=f.alphasorti;var g=f.setopts;var y=f.ownProp;var v=r(13121);var b=r(31669);var S=f.childrenIgnored;var w=f.isIgnored;var x=r(86343);function glob(e,t,r){if(typeof t==="function")r=t,t={};if(!t)t={};if(t.sync){if(r)throw new TypeError("callback provided to sync glob");return p(e,t)}return new Glob(e,t,r)}glob.sync=p;var C=glob.GlobSync=p.GlobSync;glob.glob=glob;function extend(e,t){if(t===null||typeof t!=="object"){return e}var r=Object.keys(t);var n=r.length;while(n--){e[r[n]]=t[r[n]]}return e}glob.hasMagic=function(e,t){var r=extend({},t);r.noprocess=true;var n=new Glob(e,r);var i=n.minimatch.set;if(!e)return false;if(i.length>1)return true;for(var o=0;othis.maxLength)return t();if(!this.stat&&y(this.cache,r)){var o=this.cache[r];if(Array.isArray(o))o="DIR";if(!i||o==="DIR")return t(null,o);if(i&&o==="FILE")return t()}var s;var a=this.statCache[r];if(a!==undefined){if(a===false)return t(null,a);else{var l=a.isDirectory()?"DIR":"FILE";if(i&&l==="FILE")return t();else return t(null,l,a)}}var c=this;var u=v("stat\0"+r,lstatcb_);if(u)n.lstat(r,u);function lstatcb_(i,o){if(o&&o.isSymbolicLink()){return n.stat(r,function(n,i){if(n)c._stat2(e,r,null,o,t);else c._stat2(e,r,n,i,t)})}else{c._stat2(e,r,i,o,t)}}};Glob.prototype._stat2=function(e,t,r,n,i){if(r&&(r.code==="ENOENT"||r.code==="ENOTDIR")){this.statCache[t]=false;return i()}var o=e.slice(-1)==="/";this.statCache[t]=n;if(t.slice(-1)==="/"&&n&&!n.isDirectory())return i(null,false,n);var s=true;if(n)s=n.isDirectory()?"DIR":"FILE";this.cache[t]=this.cache[t]||s;if(o&&s==="FILE")return i();return i(null,s,n)}},6587:(e,t,r)=>{e.exports=globSync;globSync.GlobSync=GlobSync;var n=r(35747);var i=r(52755);var o=r(51993);var s=o.Minimatch;var a=r(9691).Glob;var l=r(31669);var c=r(85622);var u=r(42357);var d=r(61056);var p=r(3589);var f=p.alphasort;var h=p.alphasorti;var m=p.setopts;var g=p.ownProp;var y=p.childrenIgnored;var v=p.isIgnored;function globSync(e,t){if(typeof t==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");return new GlobSync(e,t).found}function GlobSync(e,t){if(!e)throw new Error("must provide pattern");if(typeof t==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof GlobSync))return new GlobSync(e,t);m(this,e,t);if(this.noprocess)return this;var r=this.minimatch.set.length;this.matches=new Array(r);for(var n=0;nthis.maxLength)return false;if(!this.stat&&g(this.cache,t)){var i=this.cache[t];if(Array.isArray(i))i="DIR";if(!r||i==="DIR")return i;if(r&&i==="FILE")return false}var o;var s=this.statCache[t];if(!s){var a;try{a=n.lstatSync(t)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR")){this.statCache[t]=false;return false}}if(a&&a.isSymbolicLink()){try{s=n.statSync(t)}catch(e){s=a}}else{s=a}}this.statCache[t]=s;var i=true;if(s)i=s.isDirectory()?"DIR":"FILE";this.cache[t]=this.cache[t]||i;if(r&&i==="FILE")return false;return i};GlobSync.prototype._mark=function(e){return p.mark(this,e)};GlobSync.prototype._makeAbs=function(e){return p.makeAbs(this,e)}},15542:e=>{"use strict";e.exports=((e,t)=>{t=t||process.argv;const r=e.startsWith("-")?"":e.length===1?"-":"--";const n=t.indexOf(r+e);const i=t.indexOf("--");return n!==-1&&(i===-1?true:n{"use strict";var n=global.Symbol;var i=r(3448);e.exports=function hasNativeSymbols(){if(typeof n!=="function"){return false}if(typeof Symbol!=="function"){return false}if(typeof n("foo")!=="symbol"){return false}if(typeof Symbol("bar")!=="symbol"){return false}return i()}},3448:e=>{"use strict";e.exports=function hasSymbols(){if(typeof Symbol!=="function"||typeof Object.getOwnPropertySymbols!=="function"){return false}if(typeof Symbol.iterator==="symbol"){return true}var e={};var t=Symbol("test");var r=Object(t);if(typeof t==="string"){return false}if(Object.prototype.toString.call(t)!=="[object Symbol]"){return false}if(Object.prototype.toString.call(r)!=="[object Symbol]"){return false}var n=42;e[t]=n;for(t in e){return false}if(typeof Object.keys==="function"&&Object.keys(e).length!==0){return false}if(typeof Object.getOwnPropertyNames==="function"&&Object.getOwnPropertyNames(e).length!==0){return false}var i=Object.getOwnPropertySymbols(e);if(i.length!==1||i[0]!==t){return false}if(!Object.prototype.propertyIsEnumerable.call(e,t)){return false}if(typeof Object.getOwnPropertyDescriptor==="function"){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==n||o.enumerable!==true){return false}}return true}},98496:(e,t,r)=>{"use strict";var n=r(10373);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},75782:(e,t,r)=>{var n=r(11631);var i=r(4016);var o=r(78835);var s=r(42357);var a=r(67208);var l=r(31669).inherits;var c=r(18943)("https-proxy-agent");e.exports=HttpsProxyAgent;function HttpsProxyAgent(e){if(!(this instanceof HttpsProxyAgent))return new HttpsProxyAgent(e);if("string"==typeof e)e=o.parse(e);if(!e)throw new Error("an HTTP(S) proxy server `host` and `port` must be specified!");c("creating new HttpsProxyAgent instance: %o",e);a.call(this,e);var t=Object.assign({},e);this.secureProxy=t.protocol?/^https:?$/i.test(t.protocol):false;t.host=t.hostname||t.host;t.port=+t.port||(this.secureProxy?443:80);if(this.secureProxy&&!("ALPNProtocols"in t)){t.ALPNProtocols=["http 1.1"]}if(t.host&&t.path){delete t.path;delete t.pathname}this.proxy=t}l(HttpsProxyAgent,a);HttpsProxyAgent.prototype.callback=function connect(e,t,r){var o=this.proxy;var a;if(this.secureProxy){a=i.connect(o)}else{a=n.connect(o)}var l=[];var u=0;function read(){var e=a.read();if(e)ondata(e);else a.once("readable",read)}function cleanup(){a.removeListener("end",onend);a.removeListener("error",onerror);a.removeListener("close",onclose);a.removeListener("readable",read)}function onclose(e){c("onclose had error %o",e)}function onend(){c("onend")}function onerror(e){cleanup();r(e)}function ondata(o){l.push(o);u+=o.length;var s=Buffer.concat(l,u);var d=s.toString("ascii");if(!~d.indexOf("\r\n\r\n")){c("have not received end of HTTP headers yet...");read();return}var p=d.substring(0,d.indexOf("\r\n"));var f=+p.split(" ")[1];c("got proxy server response: %o",p);if(200==f){var h=a;l=s=null;if(t.secureEndpoint){c("upgrading proxy-connected socket to TLS connection: %o",t.host);t.socket=a;t.servername=t.servername||t.host;t.host=null;t.hostname=null;t.port=null;h=i.connect(t)}cleanup();e.once("socket",resume);r(null,h)}else{cleanup();a.destroy();a=new n.Socket;a.readable=true;l=s;e.once("socket",onsocket);r(null,a)}}function onsocket(e){c("replaying proxy buffer for failed request");s(e.listenerCount("data")>0);e.push(l);l=null}a.on("error",onerror);a.on("close",onclose);a.on("end",onend);read();var d=t.host+":"+t.port;var p="CONNECT "+d+" HTTP/1.1\r\n";var f=Object.assign({},o.headers);if(o.auth){f["Proxy-Authorization"]="Basic "+Buffer.from(o.auth).toString("base64")}var h=t.host;if(!isDefaultPort(t.port,t.secureEndpoint)){h+=":"+t.port}f["Host"]=h;f["Connection"]="close";Object.keys(f).forEach(function(e){p+=e+": "+f[e]+"\r\n"});a.write(p+"\r\n")};function resume(e){e.resume()}function isDefaultPort(e,t){return Boolean(!t&&e===80||t&&e===443)}},75039:(e,t,r)=>{t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.storage=localstorage();t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function useColors(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){return true}if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){return false}return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(t){t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff);if(!this.useColors){return}const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0;let i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{if(e==="%%"){return}n++;if(e==="%c"){i=n}});t.splice(i,0,r)}t.log=console.debug||console.log||(()=>{});function save(e){try{if(e){t.storage.setItem("debug",e)}else{t.storage.removeItem("debug")}}catch(e){}}function load(){let e;try{e=t.storage.getItem("debug")}catch(e){}if(!e&&typeof process!=="undefined"&&"env"in process){e=process.env.DEBUG}return e}function localstorage(){try{return localStorage}catch(e){}}e.exports=r(14654)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},14654:(e,t,r)=>{function setup(e){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=r(11572);Object.keys(e).forEach(t=>{createDebug[t]=e[t]});createDebug.instances=[];createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(e){let t=0;for(let r=0;r{if(t==="%%"){return t}o++;const i=createDebug.formatters[n];if(typeof i==="function"){const n=e[o];t=i.call(r,n);e.splice(o,1);o--}return t});createDebug.formatArgs.call(r,e);const s=r.log||createDebug.log;s.apply(r,e)}debug.namespace=e;debug.enabled=createDebug.enabled(e);debug.useColors=createDebug.useColors();debug.color=createDebug.selectColor(e);debug.destroy=destroy;debug.extend=extend;if(typeof createDebug.init==="function"){createDebug.init(debug)}createDebug.instances.push(debug);return debug}function destroy(){const e=createDebug.instances.indexOf(this);if(e!==-1){createDebug.instances.splice(e,1);return true}return false}function extend(e,t){const r=createDebug(this.namespace+(typeof t==="undefined"?":":t)+e);r.log=this.log;return r}function enable(e){createDebug.save(e);createDebug.names=[];createDebug.skips=[];let t;const r=(typeof e==="string"?e:"").split(/[\s,]+/);const n=r.length;for(t=0;t"-"+e)].join(",");createDebug.enable("");return e}function enabled(e){if(e[e.length-1]==="*"){return true}let t;let r;for(t=0,r=createDebug.skips.length;t{if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){e.exports=r(75039)}else{e.exports=r(45478)}},45478:(e,t,r)=>{const n=r(33867);const i=r(31669);t.init=init;t.log=log;t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.colors=[6,2,3,4,5,1];try{const e=r(50556);if(e&&(e.stderr||e).level>=2){t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}}catch(e){}t.inspectOpts=Object.keys(process.env).filter(e=>{return/^debug_/i.test(e)}).reduce((e,t)=>{const r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>{return t.toUpperCase()});let n=process.env[t];if(/^(yes|on|true|enabled)$/i.test(n)){n=true}else if(/^(no|off|false|disabled)$/i.test(n)){n=false}else if(n==="null"){n=null}else{n=Number(n)}e[r]=n;return e},{});function useColors(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):n.isatty(process.stderr.fd)}function formatArgs(t){const{namespace:r,useColors:n}=this;if(n){const n=this.color;const i="[3"+(n<8?n:"8;5;"+n);const o=` ${i};1m${r} `;t[0]=o+t[0].split("\n").join("\n"+o);t.push(i+"m+"+e.exports.humanize(this.diff)+"")}else{t[0]=getDate()+r+" "+t[0]}}function getDate(){if(t.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...e){return process.stderr.write(i.format(...e)+"\n")}function save(e){if(e){process.env.DEBUG=e}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(e){e.inspectOpts={};const r=Object.keys(t.inspectOpts);for(let n=0;n{var t=1e3;var r=t*60;var n=r*60;var i=n*24;var o=i*7;var s=i*365.25;e.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0){return parse(e)}else if(r==="number"&&isFinite(e)){return t.long?fmtLong(e):fmtShort(e)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function parse(e){e=String(e);if(e.length>100){return}var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!a){return}var l=parseFloat(a[1]);var c=(a[2]||"ms").toLowerCase();switch(c){case"years":case"year":case"yrs":case"yr":case"y":return l*s;case"weeks":case"week":case"w":return l*o;case"days":case"day":case"d":return l*i;case"hours":case"hour":case"hrs":case"hr":case"h":return l*n;case"minutes":case"minute":case"mins":case"min":case"m":return l*r;case"seconds":case"second":case"secs":case"sec":case"s":return l*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return undefined}}function fmtShort(e){var o=Math.abs(e);if(o>=i){return Math.round(e/i)+"d"}if(o>=n){return Math.round(e/n)+"h"}if(o>=r){return Math.round(e/r)+"m"}if(o>=t){return Math.round(e/t)+"s"}return e+"ms"}function fmtLong(e){var o=Math.abs(e);if(o>=i){return plural(e,o,i,"day")}if(o>=n){return plural(e,o,n,"hour")}if(o>=r){return plural(e,o,r,"minute")}if(o>=t){return plural(e,o,t,"second")}return e+" ms"}function plural(e,t,r,n){var i=t>=r*1.5;return Math.round(e/r)+" "+n+(i?"s":"")}},67192:(e,t,r)=>{"use strict";function validUrl(e){return/http(s)?:\/\/(\w+:?\w*@)?(\S+)(:\d+)?((?<=\.)\w+)+(\/([\w#!:.?+=&%@!\-/])*)?/gi.test(e)}function validTypeImage(e){return/(?<=\S+)\.(jpg|png|jpeg)/gi.test(e)}function base64ToNode(e){return e.toString("base64")}function readFileAndConvert(e){var t=r(35747),n=r(85622);return t.statSync(e).isFile()?base64ToNode(t.readFileSync(n.resolve(e)).toString("base64")):null}function isImage(e){return validTypeImage(e)?Promise.resolve(readFileAndConvert(e)):Promise.reject("[*] Occurent some error... [validTypeImage] == false")}function imageToBase64(e){return validUrl(e)?r(22434)(e).then(function(e){return e.buffer()}).then(base64ToNode):isImage(e)}e.exports=imageToBase64},13121:(e,t,r)=>{var n=r(42884);var i=Object.create(null);var o=r(86343);e.exports=n(inflight);function inflight(e,t){if(i[e]){i[e].push(t);return null}else{i[e]=[t];return makeres(e)}}function makeres(e){return o(function RES(){var t=i[e];var r=t.length;var n=slice(arguments);try{for(var o=0;or){t.splice(0,r);process.nextTick(function(){RES.apply(null,n)})}else{delete i[e]}}})}function slice(e){var t=e.length;var r=[];for(var n=0;n{try{var n=r(31669);if(typeof n.inherits!=="function")throw"";e.exports=n.inherits}catch(t){e.exports=r(99494)}},99494:e=>{if(typeof Object.create==="function"){e.exports=function inherits(e,t){e.super_=t;e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}})}}else{e.exports=function inherits(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype;e.prototype=new r;e.prototype.constructor=e}}},80641:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function isObject(e){return Object.prototype.toString.call(e)==="[object Object]"}function isPlainObject(e){var t,r;if(isObject(e)===false)return false;t=e.constructor;if(t===undefined)return true;r=t.prototype;if(isObject(r)===false)return false;if(r.hasOwnProperty("isPrototypeOf")===false){return false}return true}t.isPlainObject=isPlainObject},31894:(e,t,r)=>{"use strict";var n=r(7158);e.exports=n},7158:(e,t,r)=>{"use strict";var n=r(3434);var i=r(86156);function deprecated(e){return function(){throw new Error("Function "+e+" is deprecated and cannot be used.")}}e.exports.Type=r(78099);e.exports.Schema=r(58126);e.exports.FAILSAFE_SCHEMA=r(21712);e.exports.JSON_SCHEMA=r(75698);e.exports.CORE_SCHEMA=r(11277);e.exports.DEFAULT_SAFE_SCHEMA=r(23713);e.exports.DEFAULT_FULL_SCHEMA=r(17028);e.exports.load=n.load;e.exports.loadAll=n.loadAll;e.exports.safeLoad=n.safeLoad;e.exports.safeLoadAll=n.safeLoadAll;e.exports.dump=i.dump;e.exports.safeDump=i.safeDump;e.exports.YAMLException=r(41030);e.exports.MINIMAL_SCHEMA=r(21712);e.exports.SAFE_SCHEMA=r(23713);e.exports.DEFAULT_SCHEMA=r(17028);e.exports.scan=deprecated("scan");e.exports.parse=deprecated("parse");e.exports.compose=deprecated("compose");e.exports.addConstructor=deprecated("addConstructor")},39990:e=>{"use strict";function isNothing(e){return typeof e==="undefined"||e===null}function isObject(e){return typeof e==="object"&&e!==null}function toArray(e){if(Array.isArray(e))return e;else if(isNothing(e))return[];return[e]}function extend(e,t){var r,n,i,o;if(t){o=Object.keys(t);for(r=0,n=o.length;r{"use strict";var n=r(39990);var i=r(41030);var o=r(17028);var s=r(23713);var a=Object.prototype.toString;var l=Object.prototype.hasOwnProperty;var c=9;var u=10;var d=13;var p=32;var f=33;var h=34;var m=35;var g=37;var y=38;var v=39;var b=42;var S=44;var w=45;var x=58;var C=61;var k=62;var T=63;var E=64;var _=91;var O=93;var A=96;var P=123;var z=124;var R=125;var L={};L[0]="\\0";L[7]="\\a";L[8]="\\b";L[9]="\\t";L[10]="\\n";L[11]="\\v";L[12]="\\f";L[13]="\\r";L[27]="\\e";L[34]='\\"';L[92]="\\\\";L[133]="\\N";L[160]="\\_";L[8232]="\\L";L[8233]="\\P";var M=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function compileStyleMap(e,t){var r,n,i,o,s,a,c;if(t===null)return{};r={};n=Object.keys(t);for(i=0,o=n.length;i0?e.charCodeAt(o-1):null;f=f&&isPlainSafe(s,a)}}else{for(o=0;on&&e[p+1]!==" ";p=o}}else if(!isPrintable(s)){return D}a=o>0?e.charCodeAt(o-1):null;f=f&&isPlainSafe(s,a)}c=c||d&&(o-p-1>n&&e[p+1]!==" ")}if(!l&&!c){return f&&!i(e)?W:B}if(r>9&&needIndentIndicator(e)){return D}return c?q:F}function writeScalar(e,t,r,n){e.dump=function(){if(t.length===0){return"''"}if(!e.noCompatMode&&M.indexOf(t)!==-1){return"'"+t+"'"}var o=e.indent*Math.max(1,r);var s=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-o);var a=n||e.flowLevel>-1&&r>=e.flowLevel;function testAmbiguity(t){return testImplicitResolving(e,t)}switch(chooseScalarStyle(t,a,e.indent,s,testAmbiguity)){case W:return t;case B:return"'"+t.replace(/'/g,"''")+"'";case F:return"|"+blockHeader(t,e.indent)+dropEndingNewline(indentString(t,o));case q:return">"+blockHeader(t,e.indent)+dropEndingNewline(indentString(foldString(t,s),o));case D:return'"'+escapeString(t,s)+'"';default:throw new i("impossible error: invalid scalar style")}}()}function blockHeader(e,t){var r=needIndentIndicator(e)?String(t):"";var n=e[e.length-1]==="\n";var i=n&&(e[e.length-2]==="\n"||e==="\n");var o=i?"+":n?"":"-";return r+o+"\n"}function dropEndingNewline(e){return e[e.length-1]==="\n"?e.slice(0,-1):e}function foldString(e,t){var r=/(\n+)([^\n]*)/g;var n=function(){var n=e.indexOf("\n");n=n!==-1?n:e.length;r.lastIndex=n;return foldLine(e.slice(0,n),t)}();var i=e[0]==="\n"||e[0]===" ";var o;var s;while(s=r.exec(e)){var a=s[1],l=s[2];o=l[0]===" ";n+=a+(!i&&!o&&l!==""?"\n":"")+foldLine(l,t);i=o}return n}function foldLine(e,t){if(e===""||e[0]===" ")return e;var r=/ [^ ]/g;var n;var i=0,o,s=0,a=0;var l="";while(n=r.exec(e)){a=n.index;if(a-i>t){o=s>i?s:a;l+="\n"+e.slice(i,o);i=o+1}s=a}l+="\n";if(e.length-i>t&&s>i){l+=e.slice(i,s)+"\n"+e.slice(s+1)}else{l+=e.slice(i)}return l.slice(1)}function escapeString(e){var t="";var r,n;var i;for(var o=0;o=55296&&r<=56319){n=e.charCodeAt(o+1);if(n>=56320&&n<=57343){t+=encodeHex((r-55296)*1024+n-56320+65536);o++;continue}}i=L[r];t+=!i&&isPrintable(r)?e[o]:i||encodeHex(r)}return t}function writeFlowSequence(e,t,r){var n="",i=e.tag,o,s;for(o=0,s=r.length;o1024)u+="? ";u+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" ");if(!writeNode(e,t,c,false,false)){continue}u+=e.dump;n+=u}e.tag=i;e.dump="{"+n+"}"}function writeBlockMapping(e,t,r,n){var o="",s=e.tag,a=Object.keys(r),l,c,d,p,f,h;if(e.sortKeys===true){a.sort()}else if(typeof e.sortKeys==="function"){a.sort(e.sortKeys)}else if(e.sortKeys){throw new i("sortKeys must be a boolean or a function")}for(l=0,c=a.length;l1024;if(f){if(e.dump&&u===e.dump.charCodeAt(0)){h+="?"}else{h+="? "}}h+=e.dump;if(f){h+=generateNextLine(e,t)}if(!writeNode(e,t+1,p,true,f)){continue}if(e.dump&&u===e.dump.charCodeAt(0)){h+=":"}else{h+=": "}h+=e.dump;o+=h}e.tag=s;e.dump=o||"{}"}function detectType(e,t,r){var n,o,s,c,u,d;o=r?e.explicitTypes:e.implicitTypes;for(s=0,c=o.length;s tag resolver accepts not "'+d+'" style')}e.dump=n}return true}}return false}function writeNode(e,t,r,n,o,s){e.tag=null;e.dump=r;if(!detectType(e,r,false)){detectType(e,r,true)}var l=a.call(e.dump);if(n){n=e.flowLevel<0||e.flowLevel>t}var c=l==="[object Object]"||l==="[object Array]",u,d;if(c){u=e.duplicates.indexOf(r);d=u!==-1}if(e.tag!==null&&e.tag!=="?"||d||e.indent!==2&&t>0){o=false}if(d&&e.usedDuplicates[u]){e.dump="*ref_"+u}else{if(c&&d&&!e.usedDuplicates[u]){e.usedDuplicates[u]=true}if(l==="[object Object]"){if(n&&Object.keys(e.dump).length!==0){writeBlockMapping(e,t,e.dump,o);if(d){e.dump="&ref_"+u+e.dump}}else{writeFlowMapping(e,t,e.dump);if(d){e.dump="&ref_"+u+" "+e.dump}}}else if(l==="[object Array]"){var p=e.noArrayIndent&&t>0?t-1:t;if(n&&e.dump.length!==0){writeBlockSequence(e,p,e.dump,o);if(d){e.dump="&ref_"+u+e.dump}}else{writeFlowSequence(e,p,e.dump);if(d){e.dump="&ref_"+u+" "+e.dump}}}else if(l==="[object String]"){if(e.tag!=="?"){writeScalar(e,e.dump,t,s)}}else{if(e.skipInvalid)return false;throw new i("unacceptable kind of an object to dump "+l)}if(e.tag!==null&&e.tag!=="?"){e.dump="!<"+e.tag+"> "+e.dump}}return true}function getDuplicateReferences(e,t){var r=[],n=[],i,o;inspectNode(e,r,n);for(i=0,o=n.length;i{"use strict";function YAMLException(e,t){Error.call(this);this.name="YAMLException";this.reason=e;this.mark=t;this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():"");if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{this.stack=(new Error).stack||""}}YAMLException.prototype=Object.create(Error.prototype);YAMLException.prototype.constructor=YAMLException;YAMLException.prototype.toString=function toString(e){var t=this.name+": ";t+=this.reason||"(unknown reason)";if(!e&&this.mark){t+=" "+this.mark.toString()}return t};e.exports=YAMLException},3434:(e,t,r)=>{"use strict";var n=r(39990);var i=r(41030);var o=r(79989);var s=r(23713);var a=r(17028);var l=Object.prototype.hasOwnProperty;var c=1;var u=2;var d=3;var p=4;var f=1;var h=2;var m=3;var g=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var y=/[\x85\u2028\u2029]/;var v=/[,\[\]\{\}]/;var b=/^(?:!|!!|![a-z\-]+!)$/i;var S=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function _class(e){return Object.prototype.toString.call(e)}function is_EOL(e){return e===10||e===13}function is_WHITE_SPACE(e){return e===9||e===32}function is_WS_OR_EOL(e){return e===9||e===32||e===10||e===13}function is_FLOW_INDICATOR(e){return e===44||e===91||e===93||e===123||e===125}function fromHexCode(e){var t;if(48<=e&&e<=57){return e-48}t=e|32;if(97<=t&&t<=102){return t-97+10}return-1}function escapedHexLen(e){if(e===120){return 2}if(e===117){return 4}if(e===85){return 8}return 0}function fromDecimalCode(e){if(48<=e&&e<=57){return e-48}return-1}function simpleEscapeSequence(e){return e===48?"\0":e===97?"":e===98?"\b":e===116?"\t":e===9?"\t":e===110?"\n":e===118?"\v":e===102?"\f":e===114?"\r":e===101?"":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"…":e===95?" ":e===76?"\u2028":e===80?"\u2029":""}function charFromCodepoint(e){if(e<=65535){return String.fromCharCode(e)}return String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}var w=new Array(256);var x=new Array(256);for(var C=0;C<256;C++){w[C]=simpleEscapeSequence(C)?1:0;x[C]=simpleEscapeSequence(C)}function State(e,t){this.input=e;this.filename=t["filename"]||null;this.schema=t["schema"]||a;this.onWarning=t["onWarning"]||null;this.legacy=t["legacy"]||false;this.json=t["json"]||false;this.listener=t["listener"]||null;this.implicitTypes=this.schema.compiledImplicit;this.typeMap=this.schema.compiledTypeMap;this.length=e.length;this.position=0;this.line=0;this.lineStart=0;this.lineIndent=0;this.documents=[]}function generateError(e,t){return new i(t,new o(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function throwError(e,t){throw generateError(e,t)}function throwWarning(e,t){if(e.onWarning){e.onWarning.call(null,generateError(e,t))}}var k={YAML:function handleYamlDirective(e,t,r){var n,i,o;if(e.version!==null){throwError(e,"duplication of %YAML directive")}if(r.length!==1){throwError(e,"YAML directive accepts exactly one argument")}n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]);if(n===null){throwError(e,"ill-formed argument of the YAML directive")}i=parseInt(n[1],10);o=parseInt(n[2],10);if(i!==1){throwError(e,"unacceptable YAML version of the document")}e.version=r[0];e.checkLineBreaks=o<2;if(o!==1&&o!==2){throwWarning(e,"unsupported YAML version of the document")}},TAG:function handleTagDirective(e,t,r){var n,i;if(r.length!==2){throwError(e,"TAG directive accepts exactly two arguments")}n=r[0];i=r[1];if(!b.test(n)){throwError(e,"ill-formed tag handle (first argument) of the TAG directive")}if(l.call(e.tagMap,n)){throwError(e,'there is a previously declared suffix for "'+n+'" tag handle')}if(!S.test(i)){throwError(e,"ill-formed tag prefix (second argument) of the TAG directive")}e.tagMap[n]=i}};function captureSegment(e,t,r,n){var i,o,s,a;if(t1){e.result+=n.repeat("\n",t-1)}}function readPlainScalar(e,t,r){var n,i,o,s,a,l,c,u,d=e.kind,p=e.result,f;f=e.input.charCodeAt(e.position);if(is_WS_OR_EOL(f)||is_FLOW_INDICATOR(f)||f===35||f===38||f===42||f===33||f===124||f===62||f===39||f===34||f===37||f===64||f===96){return false}if(f===63||f===45){i=e.input.charCodeAt(e.position+1);if(is_WS_OR_EOL(i)||r&&is_FLOW_INDICATOR(i)){return false}}e.kind="scalar";e.result="";o=s=e.position;a=false;while(f!==0){if(f===58){i=e.input.charCodeAt(e.position+1);if(is_WS_OR_EOL(i)||r&&is_FLOW_INDICATOR(i)){break}}else if(f===35){n=e.input.charCodeAt(e.position-1);if(is_WS_OR_EOL(n)){break}}else if(e.position===e.lineStart&&testDocumentSeparator(e)||r&&is_FLOW_INDICATOR(f)){break}else if(is_EOL(f)){l=e.line;c=e.lineStart;u=e.lineIndent;skipSeparationSpace(e,false,-1);if(e.lineIndent>=t){a=true;f=e.input.charCodeAt(e.position);continue}else{e.position=s;e.line=l;e.lineStart=c;e.lineIndent=u;break}}if(a){captureSegment(e,o,s,false);writeFoldedLines(e,e.line-l);o=s=e.position;a=false}if(!is_WHITE_SPACE(f)){s=e.position+1}f=e.input.charCodeAt(++e.position)}captureSegment(e,o,s,false);if(e.result){return true}e.kind=d;e.result=p;return false}function readSingleQuotedScalar(e,t){var r,n,i;r=e.input.charCodeAt(e.position);if(r!==39){return false}e.kind="scalar";e.result="";e.position++;n=i=e.position;while((r=e.input.charCodeAt(e.position))!==0){if(r===39){captureSegment(e,n,e.position,true);r=e.input.charCodeAt(++e.position);if(r===39){n=e.position;e.position++;i=e.position}else{return true}}else if(is_EOL(r)){captureSegment(e,n,i,true);writeFoldedLines(e,skipSeparationSpace(e,false,t));n=i=e.position}else if(e.position===e.lineStart&&testDocumentSeparator(e)){throwError(e,"unexpected end of the document within a single quoted scalar")}else{e.position++;i=e.position}}throwError(e,"unexpected end of the stream within a single quoted scalar")}function readDoubleQuotedScalar(e,t){var r,n,i,o,s,a;a=e.input.charCodeAt(e.position);if(a!==34){return false}e.kind="scalar";e.result="";e.position++;r=n=e.position;while((a=e.input.charCodeAt(e.position))!==0){if(a===34){captureSegment(e,r,e.position,true);e.position++;return true}else if(a===92){captureSegment(e,r,e.position,true);a=e.input.charCodeAt(++e.position);if(is_EOL(a)){skipSeparationSpace(e,false,t)}else if(a<256&&w[a]){e.result+=x[a];e.position++}else if((s=escapedHexLen(a))>0){i=s;o=0;for(;i>0;i--){a=e.input.charCodeAt(++e.position);if((s=fromHexCode(a))>=0){o=(o<<4)+s}else{throwError(e,"expected hexadecimal character")}}e.result+=charFromCodepoint(o);e.position++}else{throwError(e,"unknown escape sequence")}r=n=e.position}else if(is_EOL(a)){captureSegment(e,r,n,true);writeFoldedLines(e,skipSeparationSpace(e,false,t));r=n=e.position}else if(e.position===e.lineStart&&testDocumentSeparator(e)){throwError(e,"unexpected end of the document within a double quoted scalar")}else{e.position++;n=e.position}}throwError(e,"unexpected end of the stream within a double quoted scalar")}function readFlowCollection(e,t){var r=true,n,i=e.tag,o,s=e.anchor,a,l,u,d,p,f={},h,m,g,y;y=e.input.charCodeAt(e.position);if(y===91){l=93;p=false;o=[]}else if(y===123){l=125;p=true;o={}}else{return false}if(e.anchor!==null){e.anchorMap[e.anchor]=o}y=e.input.charCodeAt(++e.position);while(y!==0){skipSeparationSpace(e,true,t);y=e.input.charCodeAt(e.position);if(y===l){e.position++;e.tag=i;e.anchor=s;e.kind=p?"mapping":"sequence";e.result=o;return true}else if(!r){throwError(e,"missed comma between flow collection entries")}m=h=g=null;u=d=false;if(y===63){a=e.input.charCodeAt(e.position+1);if(is_WS_OR_EOL(a)){u=d=true;e.position++;skipSeparationSpace(e,true,t)}}n=e.line;composeNode(e,t,c,false,true);m=e.tag;h=e.result;skipSeparationSpace(e,true,t);y=e.input.charCodeAt(e.position);if((d||e.line===n)&&y===58){u=true;y=e.input.charCodeAt(++e.position);skipSeparationSpace(e,true,t);composeNode(e,t,c,false,true);g=e.result}if(p){storeMappingPair(e,o,f,m,h,g)}else if(u){o.push(storeMappingPair(e,null,f,m,h,g))}else{o.push(h)}skipSeparationSpace(e,true,t);y=e.input.charCodeAt(e.position);if(y===44){r=true;y=e.input.charCodeAt(++e.position)}else{r=false}}throwError(e,"unexpected end of the stream within a flow collection")}function readBlockScalar(e,t){var r,i,o=f,s=false,a=false,l=t,c=0,u=false,d,p;p=e.input.charCodeAt(e.position);if(p===124){i=false}else if(p===62){i=true}else{return false}e.kind="scalar";e.result="";while(p!==0){p=e.input.charCodeAt(++e.position);if(p===43||p===45){if(f===o){o=p===43?m:h}else{throwError(e,"repeat of a chomping mode identifier")}}else if((d=fromDecimalCode(p))>=0){if(d===0){throwError(e,"bad explicit indentation width of a block scalar; it cannot be less than one")}else if(!a){l=t+d-1;a=true}else{throwError(e,"repeat of an indentation width identifier")}}else{break}}if(is_WHITE_SPACE(p)){do{p=e.input.charCodeAt(++e.position)}while(is_WHITE_SPACE(p));if(p===35){do{p=e.input.charCodeAt(++e.position)}while(!is_EOL(p)&&p!==0)}}while(p!==0){readLineBreak(e);e.lineIndent=0;p=e.input.charCodeAt(e.position);while((!a||e.lineIndentl){l=e.lineIndent}if(is_EOL(p)){c++;continue}if(e.lineIndentt)&&l!==0){throwError(e,"bad indentation of a sequence entry")}else if(e.lineIndentt){if(composeNode(e,t,p,true,i)){if(g){h=e.result}else{m=e.result}}if(!g){storeMappingPair(e,c,d,f,h,m,o,s);f=h=m=null}skipSeparationSpace(e,true,-1);v=e.input.charCodeAt(e.position)}if(e.lineIndent>t&&v!==0){throwError(e,"bad indentation of a mapping entry")}else if(e.lineIndentt){f=1}else if(e.lineIndent===t){f=0}else if(e.lineIndentt){f=1}else if(e.lineIndent===t){f=0}else if(e.lineIndent tag; it should be "scalar", not "'+e.kind+'"')}for(g=0,y=e.implicitTypes.length;g tag; it should be "'+v.kind+'", not "'+e.kind+'"')}if(!v.resolve(e.result)){throwError(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}else{e.result=v.construct(e.result);if(e.anchor!==null){e.anchorMap[e.anchor]=e.result}}}else{throwError(e,"unknown tag !<"+e.tag+">")}}if(e.listener!==null){e.listener("close",e)}return e.tag!==null||e.anchor!==null||m}function readDocument(e){var t=e.position,r,n,i,o=false,s;e.version=null;e.checkLineBreaks=e.legacy;e.tagMap={};e.anchorMap={};while((s=e.input.charCodeAt(e.position))!==0){skipSeparationSpace(e,true,-1);s=e.input.charCodeAt(e.position);if(e.lineIndent>0||s!==37){break}o=true;s=e.input.charCodeAt(++e.position);r=e.position;while(s!==0&&!is_WS_OR_EOL(s)){s=e.input.charCodeAt(++e.position)}n=e.input.slice(r,e.position);i=[];if(n.length<1){throwError(e,"directive name must not be less than one character in length")}while(s!==0){while(is_WHITE_SPACE(s)){s=e.input.charCodeAt(++e.position)}if(s===35){do{s=e.input.charCodeAt(++e.position)}while(s!==0&&!is_EOL(s));break}if(is_EOL(s))break;r=e.position;while(s!==0&&!is_WS_OR_EOL(s)){s=e.input.charCodeAt(++e.position)}i.push(e.input.slice(r,e.position))}if(s!==0)readLineBreak(e);if(l.call(k,n)){k[n](e,n,i)}else{throwWarning(e,'unknown document directive "'+n+'"')}}skipSeparationSpace(e,true,-1);if(e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45){e.position+=3;skipSeparationSpace(e,true,-1)}else if(o){throwError(e,"directives end mark is expected")}composeNode(e,e.lineIndent-1,p,false,true);skipSeparationSpace(e,true,-1);if(e.checkLineBreaks&&y.test(e.input.slice(t,e.position))){throwWarning(e,"non-ASCII line breaks are interpreted as content")}e.documents.push(e.result);if(e.position===e.lineStart&&testDocumentSeparator(e)){if(e.input.charCodeAt(e.position)===46){e.position+=3;skipSeparationSpace(e,true,-1)}return}if(e.position{"use strict";var n=r(39990);function Mark(e,t,r,n,i){this.name=e;this.buffer=t;this.position=r;this.line=n;this.column=i}Mark.prototype.getSnippet=function getSnippet(e,t){var r,i,o,s,a;if(!this.buffer)return null;e=e||4;t=t||75;r="";i=this.position;while(i>0&&"\0\r\n…\u2028\u2029".indexOf(this.buffer.charAt(i-1))===-1){i-=1;if(this.position-i>t/2-1){r=" ... ";i+=5;break}}o="";s=this.position;while(st/2-1){o=" ... ";s-=5;break}}a=this.buffer.slice(i,s);return n.repeat(" ",e)+r+a+o+"\n"+n.repeat(" ",e+this.position-i+r.length)+"^"};Mark.prototype.toString=function toString(e){var t,r="";if(this.name){r+='in "'+this.name+'" '}r+="at line "+(this.line+1)+", column "+(this.column+1);if(!e){t=this.getSnippet();if(t){r+=":\n"+t}}return r};e.exports=Mark},58126:(e,t,r)=>{"use strict";var n=r(39990);var i=r(41030);var o=r(78099);function compileList(e,t,r){var n=[];e.include.forEach(function(e){r=compileList(e,t,r)});e[t].forEach(function(e){r.forEach(function(t,r){if(t.tag===e.tag&&t.kind===e.kind){n.push(r)}});r.push(e)});return r.filter(function(e,t){return n.indexOf(t)===-1})}function compileMap(){var e={scalar:{},sequence:{},mapping:{},fallback:{}},t,r;function collectType(t){e[t.kind][t.tag]=e["fallback"][t.tag]=t}for(t=0,r=arguments.length;t{"use strict";var n=r(58126);e.exports=new n({include:[r(75698)]})},17028:(e,t,r)=>{"use strict";var n=r(58126);e.exports=n.DEFAULT=new n({include:[r(23713)],explicit:[r(7988),r(19817),r(42939)]})},23713:(e,t,r)=>{"use strict";var n=r(58126);e.exports=new n({include:[r(11277)],implicit:[r(21136),r(37255)],explicit:[r(58212),r(82769),r(8234),r(31745)]})},21712:(e,t,r)=>{"use strict";var n=r(58126);e.exports=new n({explicit:[r(51497),r(506),r(58865)]})},75698:(e,t,r)=>{"use strict";var n=r(58126);e.exports=new n({include:[r(21712)],implicit:[r(30421),r(79193),r(76048),r(44514)]})},78099:(e,t,r)=>{"use strict";var n=r(41030);var i=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"];var o=["scalar","sequence","mapping"];function compileStyleAliases(e){var t={};if(e!==null){Object.keys(e).forEach(function(r){e[r].forEach(function(e){t[String(e)]=r})})}return t}function Type(e,t){t=t||{};Object.keys(t).forEach(function(t){if(i.indexOf(t)===-1){throw new n('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}});this.tag=e;this.kind=t["kind"]||null;this.resolve=t["resolve"]||function(){return true};this.construct=t["construct"]||function(e){return e};this.instanceOf=t["instanceOf"]||null;this.predicate=t["predicate"]||null;this.represent=t["represent"]||null;this.defaultStyle=t["defaultStyle"]||null;this.styleAliases=compileStyleAliases(t["styleAliases"]||null);if(o.indexOf(this.kind)===-1){throw new n('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}}e.exports=Type},58212:(e,t,r)=>{"use strict";var n;try{var i=require;n=i("buffer").Buffer}catch(e){}var o=r(78099);var s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function resolveYamlBinary(e){if(e===null)return false;var t,r,n=0,i=e.length,o=s;for(r=0;r64)continue;if(t<0)return false;n+=6}return n%8===0}function constructYamlBinary(e){var t,r,i=e.replace(/[\r\n=]/g,""),o=i.length,a=s,l=0,c=[];for(t=0;t>16&255);c.push(l>>8&255);c.push(l&255)}l=l<<6|a.indexOf(i.charAt(t))}r=o%4*6;if(r===0){c.push(l>>16&255);c.push(l>>8&255);c.push(l&255)}else if(r===18){c.push(l>>10&255);c.push(l>>2&255)}else if(r===12){c.push(l>>4&255)}if(n){return n.from?n.from(c):new n(c)}return c}function representYamlBinary(e){var t="",r=0,n,i,o=e.length,a=s;for(n=0;n>18&63];t+=a[r>>12&63];t+=a[r>>6&63];t+=a[r&63]}r=(r<<8)+e[n]}i=o%3;if(i===0){t+=a[r>>18&63];t+=a[r>>12&63];t+=a[r>>6&63];t+=a[r&63]}else if(i===2){t+=a[r>>10&63];t+=a[r>>4&63];t+=a[r<<2&63];t+=a[64]}else if(i===1){t+=a[r>>2&63];t+=a[r<<4&63];t+=a[64];t+=a[64]}return t}function isBinary(e){return n&&n.isBuffer(e)}e.exports=new o("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary,construct:constructYamlBinary,predicate:isBinary,represent:representYamlBinary})},79193:(e,t,r)=>{"use strict";var n=r(78099);function resolveYamlBoolean(e){if(e===null)return false;var t=e.length;return t===4&&(e==="true"||e==="True"||e==="TRUE")||t===5&&(e==="false"||e==="False"||e==="FALSE")}function constructYamlBoolean(e){return e==="true"||e==="True"||e==="TRUE"}function isBoolean(e){return Object.prototype.toString.call(e)==="[object Boolean]"}e.exports=new n("tag:yaml.org,2002:bool",{kind:"scalar",resolve:resolveYamlBoolean,construct:constructYamlBoolean,predicate:isBoolean,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"})},44514:(e,t,r)=>{"use strict";var n=r(39990);var i=r(78099);var o=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?"+"|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?"+"|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*"+"|[-+]?\\.(?:inf|Inf|INF)"+"|\\.(?:nan|NaN|NAN))$");function resolveYamlFloat(e){if(e===null)return false;if(!o.test(e)||e[e.length-1]==="_"){return false}return true}function constructYamlFloat(e){var t,r,n,i;t=e.replace(/_/g,"").toLowerCase();r=t[0]==="-"?-1:1;i=[];if("+-".indexOf(t[0])>=0){t=t.slice(1)}if(t===".inf"){return r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY}else if(t===".nan"){return NaN}else if(t.indexOf(":")>=0){t.split(":").forEach(function(e){i.unshift(parseFloat(e,10))});t=0;n=1;i.forEach(function(e){t+=e*n;n*=60});return r*t}return r*parseFloat(t,10)}var s=/^[-+]?[0-9]+e/;function representYamlFloat(e,t){var r;if(isNaN(e)){switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}}else if(Number.POSITIVE_INFINITY===e){switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}}else if(Number.NEGATIVE_INFINITY===e){switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}}else if(n.isNegativeZero(e)){return"-0.0"}r=e.toString(10);return s.test(r)?r.replace("e",".e"):r}function isFloat(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||n.isNegativeZero(e))}e.exports=new i("tag:yaml.org,2002:float",{kind:"scalar",resolve:resolveYamlFloat,construct:constructYamlFloat,predicate:isFloat,represent:representYamlFloat,defaultStyle:"lowercase"})},76048:(e,t,r)=>{"use strict";var n=r(39990);var i=r(78099);function isHexCode(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function isOctCode(e){return 48<=e&&e<=55}function isDecCode(e){return 48<=e&&e<=57}function resolveYamlInteger(e){if(e===null)return false;var t=e.length,r=0,n=false,i;if(!t)return false;i=e[r];if(i==="-"||i==="+"){i=e[++r]}if(i==="0"){if(r+1===t)return true;i=e[++r];if(i==="b"){r++;for(;r=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0"+e.toString(8):"-0"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},42939:(e,t,r)=>{"use strict";var n;try{var i=require;n=i("esprima")}catch(e){if(typeof window!=="undefined")n=window.esprima}var o=r(78099);function resolveJavascriptFunction(e){if(e===null)return false;try{var t="("+e+")",r=n.parse(t,{range:true});if(r.type!=="Program"||r.body.length!==1||r.body[0].type!=="ExpressionStatement"||r.body[0].expression.type!=="ArrowFunctionExpression"&&r.body[0].expression.type!=="FunctionExpression"){return false}return true}catch(e){return false}}function constructJavascriptFunction(e){var t="("+e+")",r=n.parse(t,{range:true}),i=[],o;if(r.type!=="Program"||r.body.length!==1||r.body[0].type!=="ExpressionStatement"||r.body[0].expression.type!=="ArrowFunctionExpression"&&r.body[0].expression.type!=="FunctionExpression"){throw new Error("Failed to resolve function")}r.body[0].expression.params.forEach(function(e){i.push(e.name)});o=r.body[0].expression.body.range;if(r.body[0].expression.body.type==="BlockStatement"){return new Function(i,t.slice(o[0]+1,o[1]-1))}return new Function(i,"return "+t.slice(o[0],o[1]))}function representJavascriptFunction(e){return e.toString()}function isFunction(e){return Object.prototype.toString.call(e)==="[object Function]"}e.exports=new o("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:resolveJavascriptFunction,construct:constructJavascriptFunction,predicate:isFunction,represent:representJavascriptFunction})},19817:(e,t,r)=>{"use strict";var n=r(78099);function resolveJavascriptRegExp(e){if(e===null)return false;if(e.length===0)return false;var t=e,r=/\/([gim]*)$/.exec(e),n="";if(t[0]==="/"){if(r)n=r[1];if(n.length>3)return false;if(t[t.length-n.length-1]!=="/")return false}return true}function constructJavascriptRegExp(e){var t=e,r=/\/([gim]*)$/.exec(e),n="";if(t[0]==="/"){if(r)n=r[1];t=t.slice(1,t.length-n.length-1)}return new RegExp(t,n)}function representJavascriptRegExp(e){var t="/"+e.source+"/";if(e.global)t+="g";if(e.multiline)t+="m";if(e.ignoreCase)t+="i";return t}function isRegExp(e){return Object.prototype.toString.call(e)==="[object RegExp]"}e.exports=new n("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:resolveJavascriptRegExp,construct:constructJavascriptRegExp,predicate:isRegExp,represent:representJavascriptRegExp})},7988:(e,t,r)=>{"use strict";var n=r(78099);function resolveJavascriptUndefined(){return true}function constructJavascriptUndefined(){return undefined}function representJavascriptUndefined(){return""}function isUndefined(e){return typeof e==="undefined"}e.exports=new n("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:resolveJavascriptUndefined,construct:constructJavascriptUndefined,predicate:isUndefined,represent:representJavascriptUndefined})},58865:(e,t,r)=>{"use strict";var n=r(78099);e.exports=new n("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}})},37255:(e,t,r)=>{"use strict";var n=r(78099);function resolveYamlMerge(e){return e==="<<"||e===null}e.exports=new n("tag:yaml.org,2002:merge",{kind:"scalar",resolve:resolveYamlMerge})},30421:(e,t,r)=>{"use strict";var n=r(78099);function resolveYamlNull(e){if(e===null)return true;var t=e.length;return t===1&&e==="~"||t===4&&(e==="null"||e==="Null"||e==="NULL")}function constructYamlNull(){return null}function isNull(e){return e===null}e.exports=new n("tag:yaml.org,2002:null",{kind:"scalar",resolve:resolveYamlNull,construct:constructYamlNull,predicate:isNull,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},82769:(e,t,r)=>{"use strict";var n=r(78099);var i=Object.prototype.hasOwnProperty;var o=Object.prototype.toString;function resolveYamlOmap(e){if(e===null)return true;var t=[],r,n,s,a,l,c=e;for(r=0,n=c.length;r{"use strict";var n=r(78099);var i=Object.prototype.toString;function resolveYamlPairs(e){if(e===null)return true;var t,r,n,o,s,a=e;s=new Array(a.length);for(t=0,r=a.length;t{"use strict";var n=r(78099);e.exports=new n("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}})},31745:(e,t,r)=>{"use strict";var n=r(78099);var i=Object.prototype.hasOwnProperty;function resolveYamlSet(e){if(e===null)return true;var t,r=e;for(t in r){if(i.call(r,t)){if(r[t]!==null)return false}}return true}function constructYamlSet(e){return e!==null?e:{}}e.exports=new n("tag:yaml.org,2002:set",{kind:"mapping",resolve:resolveYamlSet,construct:constructYamlSet})},51497:(e,t,r)=>{"use strict";var n=r(78099);e.exports=new n("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}})},21136:(e,t,r)=>{"use strict";var n=r(78099);var i=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9])"+"-([0-9][0-9])$");var o=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9]?)"+"-([0-9][0-9]?)"+"(?:[Tt]|[ \\t]+)"+"([0-9][0-9]?)"+":([0-9][0-9])"+":([0-9][0-9])"+"(?:\\.([0-9]*))?"+"(?:[ \\t]*(Z|([-+])([0-9][0-9]?)"+"(?::([0-9][0-9]))?))?$");function resolveYamlTimestamp(e){if(e===null)return false;if(i.exec(e)!==null)return true;if(o.exec(e)!==null)return true;return false}function constructYamlTimestamp(e){var t,r,n,s,a,l,c,u=0,d=null,p,f,h;t=i.exec(e);if(t===null)t=o.exec(e);if(t===null)throw new Error("Date resolve error");r=+t[1];n=+t[2]-1;s=+t[3];if(!t[4]){return new Date(Date.UTC(r,n,s))}a=+t[4];l=+t[5];c=+t[6];if(t[7]){u=t[7].slice(0,3);while(u.length<3){u+="0"}u=+u}if(t[9]){p=+t[10];f=+(t[11]||0);d=(p*60+f)*6e4;if(t[9]==="-")d=-d}h=new Date(Date.UTC(r,n,s,a,l,c,u));if(d)h.setTime(h.getTime()-d);return h}function representYamlTimestamp(e){return e.toISOString()}e.exports=new n("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:resolveYamlTimestamp,construct:constructYamlTimestamp,instanceOf:Date,represent:representYamlTimestamp})},90031:(e,t,r)=>{"use strict";const n=r(85622);const i=r(35747);const{promisify:o}=r(31669);const s=r(96902);const a=o(i.stat);const l=o(i.lstat);const c={directory:"isDirectory",file:"isFile"};function checkType({type:e}){if(e in c){return}throw new Error(`Invalid type specified: ${e}`)}const u=(e,t)=>e===undefined||t[c[e]]();e.exports=(async(e,t)=>{t={cwd:process.cwd(),type:"file",allowSymlinks:true,...t};checkType(t);const r=t.allowSymlinks?a:l;return s(e,async e=>{try{const i=await r(n.resolve(t.cwd,e));return u(t.type,i)}catch(e){return false}},t)});e.exports.sync=((e,t)=>{t={cwd:process.cwd(),allowSymlinks:true,type:"file",...t};checkType(t);const r=t.allowSymlinks?i.statSync:i.lstatSync;for(const i of e){try{const e=r(n.resolve(t.cwd,i));if(u(t.type,e)){return i}}catch(e){}}})},51993:(e,t,r)=>{e.exports=minimatch;minimatch.Minimatch=Minimatch;var n={sep:"/"};try{n=r(85622)}catch(e){}var i=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var o=r(63726);var s={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var a="[^/]";var l=a+"*?";var c="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var u="(?:(?!(?:\\/|^)\\.).)*?";var d=charSet("().*{}+?[]^$\\!");function charSet(e){return e.split("").reduce(function(e,t){e[t]=true;return e},{})}var p=/\/+/;minimatch.filter=filter;function filter(e,t){t=t||{};return function(r,n,i){return minimatch(r,e,t)}}function ext(e,t){e=e||{};t=t||{};var r={};Object.keys(t).forEach(function(e){r[e]=t[e]});Object.keys(e).forEach(function(t){r[t]=e[t]});return r}minimatch.defaults=function(e){if(!e||!Object.keys(e).length)return minimatch;var t=minimatch;var r=function minimatch(r,n,i){return t.minimatch(r,n,ext(e,i))};r.Minimatch=function Minimatch(r,n){return new t.Minimatch(r,ext(e,n))};return r};Minimatch.defaults=function(e){if(!e||!Object.keys(e).length)return Minimatch;return minimatch.defaults(e).Minimatch};function minimatch(e,t,r){if(typeof t!=="string"){throw new TypeError("glob pattern string required")}if(!r)r={};if(!r.nocomment&&t.charAt(0)==="#"){return false}if(t.trim()==="")return e==="";return new Minimatch(t,r).match(e)}function Minimatch(e,t){if(!(this instanceof Minimatch)){return new Minimatch(e,t)}if(typeof e!=="string"){throw new TypeError("glob pattern string required")}if(!t)t={};e=e.trim();if(n.sep!=="/"){e=e.split(n.sep).join("/")}this.options=t;this.set=[];this.pattern=e;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){if(this._made)return;var e=this.pattern;var t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=true;return}if(!e){this.empty=true;return}this.parseNegate();var r=this.globSet=this.braceExpand();if(t.debug)this.debug=console.error;this.debug(this.pattern,r);r=this.globParts=r.map(function(e){return e.split(p)});this.debug(this.pattern,r);r=r.map(function(e,t,r){return e.map(this.parse,this)},this);this.debug(this.pattern,r);r=r.filter(function(e){return e.indexOf(false)===-1});this.debug(this.pattern,r);this.set=r}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var e=this.pattern;var t=false;var r=this.options;var n=0;if(r.nonegate)return;for(var i=0,o=e.length;i1024*64){throw new TypeError("pattern is too long")}var r=this.options;if(!r.noglobstar&&e==="**")return i;if(e==="")return"";var n="";var o=!!r.nocase;var c=false;var u=[];var p=[];var h;var m=false;var g=-1;var y=-1;var v=e.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";var b=this;function clearStateChar(){if(h){switch(h){case"*":n+=l;o=true;break;case"?":n+=a;o=true;break;default:n+="\\"+h;break}b.debug("clearStateChar %j %j",h,n);h=false}}for(var S=0,w=e.length,x;S-1;A--){var P=p[A];var z=n.slice(0,P.reStart);var R=n.slice(P.reStart,P.reEnd-8);var L=n.slice(P.reEnd-8,P.reEnd);var M=n.slice(P.reEnd);L+=M;var W=z.split("(").length-1;var B=M;for(S=0;S=0;s--){o=e[s];if(o)break}for(s=0;s>> no match, partial?",e,d,t,p);if(d===a)return true}return false}var h;if(typeof c==="string"){if(n.nocase){h=u.toLowerCase()===c.toLowerCase()}else{h=u===c}this.debug("string match",c,u,h)}else{h=u.match(c);this.debug("pattern match",c,u,h)}if(!h)return false}if(o===a&&s===l){return true}else if(o===a){return r}else if(s===l){var m=o===a-1&&e[o]==="";return m}throw new Error("wtf?")};function globUnescape(e){return e.replace(/\\(.)/g,"$1")}function regExpEscape(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},23607:(e,t,r)=>{var n=r(85622);var i=r(35747);var o=parseInt("0777",8);e.exports=mkdirP.mkdirp=mkdirP.mkdirP=mkdirP;function mkdirP(e,t,r,s){if(typeof t==="function"){r=t;t={}}else if(!t||typeof t!=="object"){t={mode:t}}var a=t.mode;var l=t.fs||i;if(a===undefined){a=o&~process.umask()}if(!s)s=null;var c=r||function(){};e=n.resolve(e);l.mkdir(e,a,function(r){if(!r){s=s||e;return c(null,s)}switch(r.code){case"ENOENT":mkdirP(n.dirname(e),t,function(r,n){if(r)c(r,n);else mkdirP(e,t,c,n)});break;default:l.stat(e,function(e,t){if(e||!t.isDirectory())c(r,s);else c(null,s)});break}})}mkdirP.sync=function sync(e,t,r){if(!t||typeof t!=="object"){t={mode:t}}var s=t.mode;var a=t.fs||i;if(s===undefined){s=o&~process.umask()}if(!r)r=null;e=n.resolve(e);try{a.mkdirSync(e,s);r=r||e}catch(i){switch(i.code){case"ENOENT":r=sync(n.dirname(e),t,r);sync(e,t,r);break;default:var l;try{l=a.statSync(e)}catch(e){throw i}if(!l.isDirectory())throw i;break}}return r}},64994:e=>{var t=1e3;var r=t*60;var n=r*60;var i=n*24;var o=i*365.25;e.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0){return parse(e)}else if(r==="number"&&isNaN(e)===false){return t.long?fmtLong(e):fmtShort(e)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function parse(e){e=String(e);if(e.length>100){return}var s=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!s){return}var a=parseFloat(s[1]);var l=(s[2]||"ms").toLowerCase();switch(l){case"years":case"year":case"yrs":case"yr":case"y":return a*o;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*n;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return undefined}}function fmtShort(e){if(e>=i){return Math.round(e/i)+"d"}if(e>=n){return Math.round(e/n)+"h"}if(e>=r){return Math.round(e/r)+"m"}if(e>=t){return Math.round(e/t)+"s"}return e+"ms"}function fmtLong(e){return plural(e,i,"day")||plural(e,n,"hour")||plural(e,r,"minute")||plural(e,t,"second")||e+" ms"}function plural(e,t,r){if(e{"use strict";Object.defineProperty(t,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(r(92413));var i=_interopDefault(r(98605));var o=_interopDefault(r(78835));var s=_interopDefault(r(57211));var a=_interopDefault(r(78761));const l=n.Readable;const c=Symbol("buffer");const u=Symbol("type");class Blob{constructor(){this[u]="";const e=arguments[0];const t=arguments[1];const r=[];let n=0;if(e){const t=e;const i=Number(t.length);for(let e=0;e1&&arguments[1]!==undefined?arguments[1]:{},i=r.size;let o=i===undefined?0:i;var s=r.timeout;let a=s===undefined?0:s;if(e==null){e=null}else if(isURLSearchParams(e)){e=Buffer.from(e.toString())}else if(isBlob(e)) ;else if(Buffer.isBuffer(e)) ;else if(Object.prototype.toString.call(e)==="[object ArrayBuffer]"){e=Buffer.from(e)}else if(ArrayBuffer.isView(e)){e=Buffer.from(e.buffer,e.byteOffset,e.byteLength)}else if(e instanceof n) ;else{e=Buffer.from(String(e))}this[p]={body:e,disturbed:false,error:null};this.size=o;this.timeout=a;if(e instanceof n){e.on("error",function(e){const r=e.name==="AbortError"?e:new FetchError(`Invalid response body while trying to fetch ${t.url}: ${e.message}`,"system",e);t[p].error=r})}}Body.prototype={get body(){return this[p].body},get bodyUsed(){return this[p].disturbed},arrayBuffer(){return consumeBody.call(this).then(function(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)})},blob(){let e=this.headers&&this.headers.get("content-type")||"";return consumeBody.call(this).then(function(t){return Object.assign(new Blob([],{type:e.toLowerCase()}),{[c]:t})})},json(){var e=this;return consumeBody.call(this).then(function(t){try{return JSON.parse(t.toString())}catch(t){return Body.Promise.reject(new FetchError(`invalid json response body at ${e.url} reason: ${t.message}`,"invalid-json"))}})},text(){return consumeBody.call(this).then(function(e){return e.toString()})},buffer(){return consumeBody.call(this)},textConverted(){var e=this;return consumeBody.call(this).then(function(t){return convertBody(t,e.headers)})}};Object.defineProperties(Body.prototype,{body:{enumerable:true},bodyUsed:{enumerable:true},arrayBuffer:{enumerable:true},blob:{enumerable:true},json:{enumerable:true},text:{enumerable:true}});Body.mixIn=function(e){for(const t of Object.getOwnPropertyNames(Body.prototype)){if(!(t in e)){const r=Object.getOwnPropertyDescriptor(Body.prototype,t);Object.defineProperty(e,t,r)}}};function consumeBody(){var e=this;if(this[p].disturbed){return Body.Promise.reject(new TypeError(`body used already for: ${this.url}`))}this[p].disturbed=true;if(this[p].error){return Body.Promise.reject(this[p].error)}let t=this.body;if(t===null){return Body.Promise.resolve(Buffer.alloc(0))}if(isBlob(t)){t=t.stream()}if(Buffer.isBuffer(t)){return Body.Promise.resolve(t)}if(!(t instanceof n)){return Body.Promise.resolve(Buffer.alloc(0))}let r=[];let i=0;let o=false;return new Body.Promise(function(n,s){let a;if(e.timeout){a=setTimeout(function(){o=true;s(new FetchError(`Response timeout while trying to fetch ${e.url} (over ${e.timeout}ms)`,"body-timeout"))},e.timeout)}t.on("error",function(t){if(t.name==="AbortError"){o=true;s(t)}else{s(new FetchError(`Invalid response body while trying to fetch ${e.url}: ${t.message}`,"system",t))}});t.on("data",function(t){if(o||t===null){return}if(e.size&&i+t.length>e.size){o=true;s(new FetchError(`content size at ${e.url} over limit: ${e.size}`,"max-size"));return}i+=t.length;r.push(t)});t.on("end",function(){if(o){return}clearTimeout(a);try{n(Buffer.concat(r,i))}catch(t){s(new FetchError(`Could not create Buffer from response body for ${e.url}: ${t.message}`,"system",t))}})})}function convertBody(e,t){if(typeof d!=="function"){throw new Error("The package `encoding` must be installed to use the textConverted() function")}const r=t.get("content-type");let n="utf-8";let i,o;if(r){i=/charset=([^;]*)/i.exec(r)}o=e.slice(0,1024).toString();if(!i&&o){i=/0&&arguments[0]!==undefined?arguments[0]:undefined;this[g]=Object.create(null);if(e instanceof Headers){const t=e.raw();const r=Object.keys(t);for(const e of r){for(const r of t[e]){this.append(e,r)}}return}if(e==null) ;else if(typeof e==="object"){const t=e[Symbol.iterator];if(t!=null){if(typeof t!=="function"){throw new TypeError("Header pairs must be iterable")}const r=[];for(const t of e){if(typeof t!=="object"||typeof t[Symbol.iterator]!=="function"){throw new TypeError("Each header pair must be iterable")}r.push(Array.from(t))}for(const e of r){if(e.length!==2){throw new TypeError("Each header pair must be a name/value tuple")}this.append(e[0],e[1])}}else{for(const t of Object.keys(e)){const r=e[t];this.append(t,r)}}}else{throw new TypeError("Provided initializer must be an object")}}get(e){e=`${e}`;validateName(e);const t=find(this[g],e);if(t===undefined){return null}return this[g][t].join(", ")}forEach(e){let t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:undefined;let r=getHeaders(this);let n=0;while(n1&&arguments[1]!==undefined?arguments[1]:"key+value";const r=Object.keys(e[g]).sort();return r.map(t==="key"?function(e){return e.toLowerCase()}:t==="value"?function(t){return e[g][t].join(", ")}:function(t){return[t.toLowerCase(),e[g][t].join(", ")]})}const y=Symbol("internal");function createHeadersIterator(e,t){const r=Object.create(v);r[y]={target:e,kind:t,index:0};return r}const v=Object.setPrototypeOf({next(){if(!this||Object.getPrototypeOf(this)!==v){throw new TypeError("Value of `this` is not a HeadersIterator")}var e=this[y];const t=e.target,r=e.kind,n=e.index;const i=getHeaders(t,r);const o=i.length;if(n>=o){return{value:undefined,done:true}}this[y].index=n+1;return{value:i[n],done:false}}},Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));Object.defineProperty(v,Symbol.toStringTag,{value:"HeadersIterator",writable:false,enumerable:false,configurable:true});function exportNodeCompatibleHeaders(e){const t=Object.assign({__proto__:null},e[g]);const r=find(e[g],"Host");if(r!==undefined){t[r]=t[r][0]}return t}function createHeadersLenient(e){const t=new Headers;for(const r of Object.keys(e)){if(h.test(r)){continue}if(Array.isArray(e[r])){for(const n of e[r]){if(m.test(n)){continue}if(t[g][r]===undefined){t[g][r]=[n]}else{t[g][r].push(n)}}}else if(!m.test(e[r])){t[g][r]=[e[r]]}}return t}const b=Symbol("Response internals");const S=i.STATUS_CODES;class Response{constructor(){let e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:null;let t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};Body.call(this,e,t);const r=t.status||200;const n=new Headers(t.headers);if(e!=null&&!n.has("Content-Type")){const t=extractContentType(e);if(t){n.append("Content-Type",t)}}this[b]={url:t.url,status:r,statusText:t.statusText||S[r],headers:n,counter:t.counter}}get url(){return this[b].url||""}get status(){return this[b].status}get ok(){return this[b].status>=200&&this[b].status<300}get redirected(){return this[b].counter>0}get statusText(){return this[b].statusText}get headers(){return this[b].headers}clone(){return new Response(clone(this),{url:this.url,status:this.status,statusText:this.statusText,headers:this.headers,ok:this.ok,redirected:this.redirected})}}Body.mixIn(Response.prototype);Object.defineProperties(Response.prototype,{url:{enumerable:true},status:{enumerable:true},ok:{enumerable:true},redirected:{enumerable:true},statusText:{enumerable:true},headers:{enumerable:true},clone:{enumerable:true}});Object.defineProperty(Response.prototype,Symbol.toStringTag,{value:"Response",writable:false,enumerable:false,configurable:true});const w=Symbol("Request internals");const x=o.parse;const C=o.format;const k="destroy"in n.Readable.prototype;function isRequest(e){return typeof e==="object"&&typeof e[w]==="object"}function isAbortSignal(e){const t=e&&typeof e==="object"&&Object.getPrototypeOf(e);return!!(t&&t.constructor.name==="AbortSignal")}class Request{constructor(e){let t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};let r;if(!isRequest(e)){if(e&&e.href){r=x(e.href)}else{r=x(`${e}`)}e={}}else{r=x(e.url)}let n=t.method||e.method||"GET";n=n.toUpperCase();if((t.body!=null||isRequest(e)&&e.body!==null)&&(n==="GET"||n==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body")}let i=t.body!=null?t.body:isRequest(e)&&e.body!==null?clone(e):null;Body.call(this,i,{timeout:t.timeout||e.timeout||0,size:t.size||e.size||0});const o=new Headers(t.headers||e.headers||{});if(i!=null&&!o.has("Content-Type")){const e=extractContentType(i);if(e){o.append("Content-Type",e)}}let s=isRequest(e)?e.signal:null;if("signal"in t)s=t.signal;if(s!=null&&!isAbortSignal(s)){throw new TypeError("Expected signal to be an instanceof AbortSignal")}this[w]={method:n,redirect:t.redirect||e.redirect||"follow",headers:o,parsedURL:r,signal:s};this.follow=t.follow!==undefined?t.follow:e.follow!==undefined?e.follow:20;this.compress=t.compress!==undefined?t.compress:e.compress!==undefined?e.compress:true;this.counter=t.counter||e.counter||0;this.agent=t.agent||e.agent}get method(){return this[w].method}get url(){return C(this[w].parsedURL)}get headers(){return this[w].headers}get redirect(){return this[w].redirect}get signal(){return this[w].signal}clone(){return new Request(this)}}Body.mixIn(Request.prototype);Object.defineProperty(Request.prototype,Symbol.toStringTag,{value:"Request",writable:false,enumerable:false,configurable:true});Object.defineProperties(Request.prototype,{method:{enumerable:true},url:{enumerable:true},headers:{enumerable:true},redirect:{enumerable:true},clone:{enumerable:true},signal:{enumerable:true}});function getNodeRequestOptions(e){const t=e[w].parsedURL;const r=new Headers(e[w].headers);if(!r.has("Accept")){r.set("Accept","*/*")}if(!t.protocol||!t.hostname){throw new TypeError("Only absolute URLs are supported")}if(!/^https?:$/.test(t.protocol)){throw new TypeError("Only HTTP(S) protocols are supported")}if(e.signal&&e.body instanceof n.Readable&&!k){throw new Error("Cancellation of streamed requests with AbortSignal is not supported in node < 8")}let i=null;if(e.body==null&&/^(POST|PUT)$/i.test(e.method)){i="0"}if(e.body!=null){const t=getTotalBytes(e);if(typeof t==="number"){i=String(t)}}if(i){r.set("Content-Length",i)}if(!r.has("User-Agent")){r.set("User-Agent","node-fetch/1.0 (+https://github.com/bitinn/node-fetch)")}if(e.compress&&!r.has("Accept-Encoding")){r.set("Accept-Encoding","gzip,deflate")}let o=e.agent;if(typeof o==="function"){o=o(t)}if(!r.has("Connection")&&!o){r.set("Connection","close")}return Object.assign({},t,{method:e.method,headers:exportNodeCompatibleHeaders(r),agent:o})}function AbortError(e){Error.call(this,e);this.type="aborted";this.message=e;Error.captureStackTrace(this,this.constructor)}AbortError.prototype=Object.create(Error.prototype);AbortError.prototype.constructor=AbortError;AbortError.prototype.name="AbortError";const T=n.PassThrough;const E=o.resolve;function fetch(e,t){if(!fetch.Promise){throw new Error("native promise missing, set fetch.Promise to your favorite alternative")}Body.Promise=fetch.Promise;return new fetch.Promise(function(r,o){const l=new Request(e,t);const c=getNodeRequestOptions(l);const u=(c.protocol==="https:"?s:i).request;const d=l.signal;let p=null;const f=function abort(){let e=new AbortError("The user aborted a request.");o(e);if(l.body&&l.body instanceof n.Readable){l.body.destroy(e)}if(!p||!p.body)return;p.body.emit("error",e)};if(d&&d.aborted){f();return}const h=function abortAndFinalize(){f();finalize()};const m=u(c);let g;if(d){d.addEventListener("abort",h)}function finalize(){m.abort();if(d)d.removeEventListener("abort",h);clearTimeout(g)}if(l.timeout){m.once("socket",function(e){g=setTimeout(function(){o(new FetchError(`network timeout at: ${l.url}`,"request-timeout"));finalize()},l.timeout)})}m.on("error",function(e){o(new FetchError(`request to ${l.url} failed, reason: ${e.message}`,"system",e));finalize()});m.on("response",function(e){clearTimeout(g);const t=createHeadersLenient(e.headers);if(fetch.isRedirect(e.statusCode)){const n=t.get("Location");const i=n===null?null:E(l.url,n);switch(l.redirect){case"error":o(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${l.url}`,"no-redirect"));finalize();return;case"manual":if(i!==null){try{t.set("Location",i)}catch(e){o(e)}}break;case"follow":if(i===null){break}if(l.counter>=l.follow){o(new FetchError(`maximum redirect reached at: ${l.url}`,"max-redirect"));finalize();return}const n={headers:new Headers(l.headers),follow:l.follow,counter:l.counter+1,agent:l.agent,compress:l.compress,method:l.method,body:l.body,signal:l.signal,timeout:l.timeout,size:l.size};if(e.statusCode!==303&&l.body&&getTotalBytes(l)===null){o(new FetchError("Cannot follow redirect with body being a readable stream","unsupported-redirect"));finalize();return}if(e.statusCode===303||(e.statusCode===301||e.statusCode===302)&&l.method==="POST"){n.method="GET";n.body=undefined;n.headers.delete("content-length")}r(fetch(new Request(i,n)));finalize();return}}e.once("end",function(){if(d)d.removeEventListener("abort",h)});let n=e.pipe(new T);const i={url:l.url,status:e.statusCode,statusText:e.statusMessage,headers:t,size:l.size,timeout:l.timeout,counter:l.counter};const s=t.get("Content-Encoding");if(!l.compress||l.method==="HEAD"||s===null||e.statusCode===204||e.statusCode===304){p=new Response(n,i);r(p);return}const c={flush:a.Z_SYNC_FLUSH,finishFlush:a.Z_SYNC_FLUSH};if(s=="gzip"||s=="x-gzip"){n=n.pipe(a.createGunzip(c));p=new Response(n,i);r(p);return}if(s=="deflate"||s=="x-deflate"){const t=e.pipe(new T);t.once("data",function(e){if((e[0]&15)===8){n=n.pipe(a.createInflate())}else{n=n.pipe(a.createInflateRaw())}p=new Response(n,i);r(p)});return}if(s=="br"&&typeof a.createBrotliDecompress==="function"){n=n.pipe(a.createBrotliDecompress());p=new Response(n,i);r(p);return}p=new Response(n,i);r(p)});writeToStream(m,l)})}fetch.isRedirect=function(e){return e===301||e===302||e===303||e===307||e===308};fetch.Promise=global.Promise;e.exports=t=fetch;Object.defineProperty(t,"__esModule",{value:true});t.default=t;t.Headers=Headers;t.Request=Request;t.Response=Response;t.FetchError=FetchError},50880:(e,t,r)=>{e.exports=compile;var n=r(27510),i=n.trueFunc,o=n.falseFunc;function compile(e){var t=e[0],r=e[1]-1;if(r<0&&t<=0)return o;if(t===-1)return function(e){return e<=r};if(t===0)return function(e){return e===r};if(t===1)return r<0?i:function(e){return e>=r};var n=r%t;if(n<0)n+=t;if(t>1){return function(e){return e>=r&&e%t===n}}t*=-1;return function(e){return e<=r&&e%t===n}}},88970:(e,t,r)=>{var n=r(30151),i=r(50880);e.exports=function nthCheck(e){return i(n(e))};e.exports.parse=n;e.exports.compile=i},30151:e=>{e.exports=parse;var t=/^([+\-]?\d*n)?\s*(?:([+\-]?)\s*(\d+))?$/;function parse(e){e=e.trim().toLowerCase();if(e==="even"){return[2,0]}else if(e==="odd"){return[2,1]}else{var r=e.match(t);if(!r){throw new SyntaxError("n-th rule couldn't be parsed ('"+e+"')")}var n;if(r[1]){n=parseInt(r[1],10);if(isNaN(n)){if(r[1].charAt(0)==="-")n=-1;else n=1}}else n=0;return[n,r[3]?parseInt((r[2]||"")+r[3],10):0]}}},47905:(e,t,r)=>{"use strict";var n;if(!Object.keys){var i=Object.prototype.hasOwnProperty;var o=Object.prototype.toString;var s=r(7595);var a=Object.prototype.propertyIsEnumerable;var l=!a.call({toString:null},"toString");var c=a.call(function(){},"prototype");var u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];var d=function(e){var t=e.constructor;return t&&t.prototype===e};var p={$applicationCache:true,$console:true,$external:true,$frame:true,$frameElement:true,$frames:true,$innerHeight:true,$innerWidth:true,$onmozfullscreenchange:true,$onmozfullscreenerror:true,$outerHeight:true,$outerWidth:true,$pageXOffset:true,$pageYOffset:true,$parent:true,$scrollLeft:true,$scrollTop:true,$scrollX:true,$scrollY:true,$self:true,$webkitIndexedDB:true,$webkitStorageInfo:true,$window:true};var f=function(){if(typeof window==="undefined"){return false}for(var e in window){try{if(!p["$"+e]&&i.call(window,e)&&window[e]!==null&&typeof window[e]==="object"){try{d(window[e])}catch(e){return true}}}catch(e){return true}}return false}();var h=function(e){if(typeof window==="undefined"||!f){return d(e)}try{return d(e)}catch(e){return false}};n=function keys(e){var t=e!==null&&typeof e==="object";var r=o.call(e)==="[object Function]";var n=s(e);var a=t&&o.call(e)==="[object String]";var d=[];if(!t&&!r&&!n){throw new TypeError("Object.keys called on a non-object")}var p=c&&r;if(a&&e.length>0&&!i.call(e,0)){for(var f=0;f0){for(var m=0;m{"use strict";var n=Array.prototype.slice;var i=r(7595);var o=Object.keys;var s=o?function keys(e){return o(e)}:r(47905);var a=Object.keys;s.shim=function shimObjectKeys(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);if(!e){Object.keys=function keys(e){if(i(e)){return a(n.call(e))}return a(e)}}}else{Object.keys=s}return Object.keys||s};e.exports=s},7595:e=>{"use strict";var t=Object.prototype.toString;e.exports=function isArguments(e){var r=t.call(e);var n=r==="[object Arguments]";if(!n){n=r!=="[object Array]"&&e!==null&&typeof e==="object"&&typeof e.length==="number"&&e.length>=0&&t.call(e.callee)==="[object Function]"}return n}},81699:(e,t,r)=>{"use strict";var n=r(98496);var i=r(61421);var o=r(38790);var s=o("Object.prototype.propertyIsEnumerable");e.exports=function values(e){var t=i(e);var r=[];for(var o in t){if(n(t,o)&&s(t,o)){r.push(t[o])}}return r}},67670:(e,t,r)=>{"use strict";var n=r(3087);var i=r(81699);var o=r(64450);var s=r(51454);var a=o();n(a,{getPolyfill:o,implementation:i,shim:s});e.exports=a},64450:(e,t,r)=>{"use strict";var n=r(81699);e.exports=function getPolyfill(){return typeof Object.values==="function"?Object.values:n}},51454:(e,t,r)=>{"use strict";var n=r(64450);var i=r(3087);e.exports=function shimValues(){var e=n();i(Object,{values:e},{values:function testValues(){return Object.values!==e}});return e}},86343:(e,t,r)=>{var n=r(42884);e.exports=n(once);e.exports.strict=n(onceStrict);once.proto=once(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})});function once(e){var t=function(){if(t.called)return t.value;t.called=true;return t.value=e.apply(this,arguments)};t.called=false;return t}function onceStrict(e){var t=function(){if(t.called)throw new Error(t.onceError);t.called=true;return t.value=e.apply(this,arguments)};var r=e.name||"Function wrapped with `once`";t.onceError=r+" shouldn't be called more than once";t.called=false;return t}},19821:(e,t,r)=>{"use strict";const n=r(19840);const i=e=>{if(!((Number.isInteger(e)||e===Infinity)&&e>0)){return Promise.reject(new TypeError("Expected `concurrency` to be a number from 1 and up"))}const t=[];let r=0;const i=()=>{r--;if(t.length>0){t.shift()()}};const o=(e,t,...o)=>{r++;const s=n(e,...o);t(s);s.then(i,i)};const s=(n,i,...s)=>{if(rnew Promise(r=>s(e,r,...t));Object.defineProperties(a,{activeCount:{get:()=>r},pendingCount:{get:()=>t.length},clearQueue:{value:()=>{t.length=0}}});return a};e.exports=i;e.exports.default=i},96902:(e,t,r)=>{"use strict";const n=r(19821);class EndError extends Error{constructor(e){super();this.value=e}}const i=async(e,t)=>t(await e);const o=async e=>{const t=await Promise.all(e);if(t[1]===true){throw new EndError(t[0])}return false};const s=async(e,t,r)=>{r={concurrency:Infinity,preserveOrder:true,...r};const s=n(r.concurrency);const a=[...e].map(e=>[e,s(i,e,t)]);const l=n(r.preserveOrder?1:Infinity);try{await Promise.all(a.map(e=>l(o,e)))}catch(e){if(e instanceof EndError){return e.value}throw e}};e.exports=s;e.exports.default=s},19840:e=>{"use strict";const t=(e,...t)=>new Promise(r=>{r(e(...t))});e.exports=t;e.exports.default=t},68719:(e,t,r)=>{"use strict";const n=r(35747);const{promisify:i}=r(31669);const o=i(n.access);e.exports=(async e=>{try{await o(e);return true}catch(e){return false}});e.exports.sync=(e=>{try{n.accessSync(e);return true}catch(e){return false}})},61056:e=>{"use strict";function posix(e){return e.charAt(0)==="/"}function win32(e){var t=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;var r=t.exec(e);var n=r[1]||"";var i=Boolean(n&&n.charAt(1)!==":");return Boolean(r[2]||i)}e.exports=process.platform==="win32"?win32:posix;e.exports.posix=posix;e.exports.win32=win32},1520:e=>{e.exports=Pend;function Pend(){this.pending=0;this.max=Infinity;this.listeners=[];this.waiting=[];this.error=null}Pend.prototype.go=function(e){if(this.pending0&&e.pending{"use strict";const n=r(85622);const i=r(20138);const o=async e=>{const t=await i("package.json",{cwd:e});return t&&n.dirname(t)};e.exports=o;e.exports.default=o;e.exports.sync=(e=>{const t=i.sync("package.json",{cwd:e});return t&&n.dirname(t)})},10208:(e,t,r)=>{"use strict";var n=r(78835).parse;var i={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};var o=String.prototype.endsWith||function(e){return e.length<=this.length&&this.indexOf(e,this.length-e.length)!==-1};function getProxyForUrl(e){var t=typeof e==="string"?n(e):e||{};var r=t.protocol;var o=t.host;var s=t.port;if(typeof o!=="string"||!o||typeof r!=="string"){return""}r=r.split(":",1)[0];o=o.replace(/:\d*$/,"");s=parseInt(s)||i[r]||0;if(!shouldProxy(o,s)){return""}var a=getEnv("npm_config_"+r+"_proxy")||getEnv(r+"_proxy")||getEnv("npm_config_proxy")||getEnv("all_proxy");if(a&&a.indexOf("://")===-1){a=r+"://"+a}return a}function shouldProxy(e,t){var r=(getEnv("npm_config_no_proxy")||getEnv("no_proxy")).toLowerCase();if(!r){return true}if(r==="*"){return false}return r.split(/[,\s]/).every(function(r){if(!r){return true}var n=r.match(/^(.+):(\d+)$/);var i=n?n[1]:r;var s=n?parseInt(n[2]):0;if(s&&s!==t){return true}if(!/^[.*]/.test(i)){return e!==i}if(i.charAt(0)==="*"){i=i.slice(1)}return!o.call(e,i)})}function getEnv(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}t.getProxyForUrl=getProxyForUrl},537:(e,t,r)=>{var n=r(86343);var i=r(10852);var o=r(35747);var s=function(){};var a=/^v?\.0/.test(process.version);var l=function(e){return typeof e==="function"};var c=function(e){if(!a)return false;if(!o)return false;return(e instanceof(o.ReadStream||s)||e instanceof(o.WriteStream||s))&&l(e.close)};var u=function(e){return e.setHeader&&l(e.abort)};var d=function(e,t,r,o){o=n(o);var a=false;e.on("close",function(){a=true});i(e,{readable:t,writable:r},function(e){if(e)return o(e);a=true;o()});var d=false;return function(t){if(a)return;if(d)return;d=true;if(c(e))return e.close(s);if(u(e))return e.abort();if(l(e.destroy))return e.destroy();o(t||new Error("stream was destroyed"))}};var p=function(e){e()};var f=function(e,t){return e.pipe(t)};var h=function(){var e=Array.prototype.slice.call(arguments);var t=l(e[e.length-1]||s)&&e.pop()||s;if(Array.isArray(e[0]))e=e[0];if(e.length<2)throw new Error("pump requires two streams per minimum");var r;var n=e.map(function(i,o){var s=o0;return d(i,s,a,function(e){if(!r)r=e;if(e)n.forEach(p);if(s)return;n.forEach(p);t(r)})});return e.reduce(f)};e.exports=h},34651:(e,t,r)=>{const n=r(90176);e.exports=n.default},77601:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Accessibility=void 0;class Accessibility{constructor(e){this._client=e}async snapshot(e={}){const{interestingOnly:t=true,root:r=null}=e;const{nodes:n}=await this._client.send("Accessibility.getFullAXTree");let i=null;if(r){const{node:e}=await this._client.send("DOM.describeNode",{objectId:r._remoteObject.objectId});i=e.backendNodeId}const o=AXNode.createTree(n);let s=o;if(i){s=o.find(e=>e.payload.backendDOMNodeId===i);if(!s)return null}if(!t)return this.serializeTree(s)[0];const a=new Set;this.collectInterestingNodes(a,o,false);if(!a.has(s))return null;return this.serializeTree(s,a)[0]}serializeTree(e,t){const r=[];for(const n of e.children)r.push(...this.serializeTree(n,t));if(t&&!t.has(e))return r;const n=e.serialize();if(r.length)n.children=r;return[n]}collectInterestingNodes(e,t,r){if(t.isInteresting(r))e.add(t);if(t.isLeafNode())return;r=r||t.isControl();for(const n of t.children)this.collectInterestingNodes(e,n,r)}}t.Accessibility=Accessibility;class AXNode{constructor(e){this.children=[];this._richlyEditable=false;this._editable=false;this._focusable=false;this._hidden=false;this.payload=e;this._name=this.payload.name?this.payload.name.value:"";this._role=this.payload.role?this.payload.role.value:"Unknown";this._ignored=this.payload.ignored;for(const e of this.payload.properties||[]){if(e.name==="editable"){this._richlyEditable=e.value.value==="richtext";this._editable=true}if(e.name==="focusable")this._focusable=e.value.value;if(e.name==="hidden")this._hidden=e.value.value}}_isPlainTextField(){if(this._richlyEditable)return false;if(this._editable)return true;return this._role==="textbox"||this._role==="searchbox"}_isTextOnlyObject(){const e=this._role;return e==="LineBreak"||e==="text"||e==="InlineTextBox"}_hasFocusableChild(){if(this._cachedHasFocusableChild===undefined){this._cachedHasFocusableChild=false;for(const e of this.children){if(e._focusable||e._hasFocusableChild()){this._cachedHasFocusableChild=true;break}}}return this._cachedHasFocusableChild}find(e){if(e(this))return this;for(const t of this.children){const r=t.find(e);if(r)return r}return null}isLeafNode(){if(!this.children.length)return true;if(this._isPlainTextField()||this._isTextOnlyObject())return true;switch(this._role){case"doc-cover":case"graphics-symbol":case"img":case"Meter":case"scrollbar":case"slider":case"separator":case"progressbar":return true;default:break}if(this._hasFocusableChild())return false;if(this._focusable&&this._name)return true;if(this._role==="heading"&&this._name)return true;return false}isControl(){switch(this._role){case"button":case"checkbox":case"ColorWell":case"combobox":case"DisclosureTriangle":case"listbox":case"menu":case"menubar":case"menuitem":case"menuitemcheckbox":case"menuitemradio":case"radio":case"scrollbar":case"searchbox":case"slider":case"spinbutton":case"switch":case"tab":case"textbox":case"tree":case"treeitem":return true;default:return false}}isInteresting(e){const t=this._role;if(t==="Ignored"||this._hidden||this._ignored)return false;if(this._focusable||this._richlyEditable)return true;if(this.isControl())return true;if(e)return false;return this.isLeafNode()&&!!this._name}serialize(){const e=new Map;for(const t of this.payload.properties||[])e.set(t.name.toLowerCase(),t.value.value);if(this.payload.name)e.set("name",this.payload.name.value);if(this.payload.value)e.set("value",this.payload.value.value);if(this.payload.description)e.set("description",this.payload.description.value);const t={role:this._role};const r=["name","value","description","keyshortcuts","roledescription","valuetext"];const n=t=>e.get(t);for(const i of r){if(!e.has(i))continue;t[i]=n(i)}const i=["disabled","expanded","focused","modal","multiline","multiselectable","readonly","required","selected"];const o=t=>e.get(t);for(const e of i){if(e==="focused"&&this._role==="WebArea")continue;const r=o(e);if(!r)continue;t[e]=o(e)}const s=["checked","pressed"];for(const r of s){if(!e.has(r))continue;const n=e.get(r);t[r]=n==="mixed"?"mixed":n==="true"?true:false}const a=["level","valuemax","valuemin"];const l=t=>e.get(t);for(const r of a){if(!e.has(r))continue;t[r]=l(r)}const c=["autocomplete","haspopup","invalid","orientation"];const u=t=>e.get(t);for(const e of c){const r=u(e);if(!r||r==="false")continue;t[e]=u(e)}return t}static createTree(e){const t=new Map;for(const r of e)t.set(r.nodeId,new AXNode(r));for(const e of t.values()){for(const r of e.payload.childIds||[])e.children.push(t.get(r))}return t.values().next().value}}},79867:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ariaHandler=void 0;async function queryAXTree(e,t,r,n){const{nodes:i}=await e.send("Accessibility.queryAXTree",{objectId:t._remoteObject.objectId,accessibleName:r,role:n});const o=i.filter(e=>e.role.value!=="text");return o}function parseAriaSelector(e){const t=e=>e.replace(/ +/g," ").trim();const r=new Set(["name","role"]);const n={};const i=/\[\s*(?\w+)\s*=\s*"(?\\.|[^"\\]*)"\s*\]/;const o=e.replace(i,(e,i,o)=>{i=i.trim();if(!r.has(i))throw new Error('Unkown aria attribute "${groups.attribute}" in selector');n[i]=t(o);return""});if(o&&!n.name)n.name=t(o);return n}const r=async(e,t)=>{const r=e.executionContext();const{name:n,role:i}=parseAriaSelector(t);const o=await queryAXTree(r._client,e,n,i);if(o.length<1){return null}return r._adoptBackendNodeId(o[0].backendDOMNodeId)};const n=async(e,t,r)=>{await addHandlerToWorld(e);return e.waitForSelectorInPage((e,t)=>globalThis.ariaQuerySelector(t),t,r)};const i=async(e,t)=>{const r=e.executionContext();const{name:n,role:i}=parseAriaSelector(t);const o=await queryAXTree(r._client,e,n,i);return Promise.all(o.map(e=>r._adoptBackendNodeId(e.backendDOMNodeId)))};const o=async(e,t)=>{const r=await i(e,t);const n=e.executionContext();const o=n.evaluateHandle((...e)=>e,...r);return o};async function addHandlerToWorld(e){await e.addBinding("ariaQuerySelector",async t=>{const n=await e._document();const i=await r(n,t);return i})}t.ariaHandler={queryOne:r,waitFor:n,queryAll:i,queryAllArray:o}},10487:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BrowserContext=t.Browser=void 0;const n=r(85668);const i=r(47674);const o=r(69668);const s=r(2680);const a=r(58602);class Browser extends s.EventEmitter{constructor(e,t,r,n,i,o){super();this._ignoreHTTPSErrors=r;this._defaultViewport=n;this._process=i;this._connection=e;this._closeCallback=o||function(){};this._defaultContext=new BrowserContext(this._connection,this,null);this._contexts=new Map;for(const e of t)this._contexts.set(e,new BrowserContext(this._connection,this,e));this._targets=new Map;this._connection.on(a.ConnectionEmittedEvents.Disconnected,()=>this.emit("disconnected"));this._connection.on("Target.targetCreated",this._targetCreated.bind(this));this._connection.on("Target.targetDestroyed",this._targetDestroyed.bind(this));this._connection.on("Target.targetInfoChanged",this._targetInfoChanged.bind(this))}static async create(e,t,r,n,i,o){const s=new Browser(e,t,r,n,i,o);await e.send("Target.setDiscoverTargets",{discover:true});return s}process(){return this._process}async createIncognitoBrowserContext(){const{browserContextId:e}=await this._connection.send("Target.createBrowserContext");const t=new BrowserContext(this._connection,this,e);this._contexts.set(e,t);return t}browserContexts(){return[this._defaultContext,...Array.from(this._contexts.values())]}defaultBrowserContext(){return this._defaultContext}async _disposeContext(e){await this._connection.send("Target.disposeBrowserContext",{browserContextId:e||undefined});this._contexts.delete(e)}async _targetCreated(e){const t=e.targetInfo;const{browserContextId:r}=t;const i=r&&this._contexts.has(r)?this._contexts.get(r):this._defaultContext;const s=new o.Target(t,i,()=>this._connection.createSession(t),this._ignoreHTTPSErrors,this._defaultViewport);n.assert(!this._targets.has(e.targetInfo.targetId),"Target should not exist before targetCreated");this._targets.set(e.targetInfo.targetId,s);if(await s._initializedPromise){this.emit("targetcreated",s);i.emit("targetcreated",s)}}async _targetDestroyed(e){const t=this._targets.get(e.targetId);t._initializedCallback(false);this._targets.delete(e.targetId);t._closedCallback();if(await t._initializedPromise){this.emit("targetdestroyed",t);t.browserContext().emit("targetdestroyed",t)}}_targetInfoChanged(e){const t=this._targets.get(e.targetInfo.targetId);n.assert(t,"target should exist before targetInfoChanged");const r=t.url();const i=t._isInitialized;t._targetInfoChanged(e.targetInfo);if(i&&r!==t.url()){this.emit("targetchanged",t);t.browserContext().emit("targetchanged",t)}}wsEndpoint(){return this._connection.url()}async newPage(){return this._defaultContext.newPage()}async _createPageInContext(e){const{targetId:t}=await this._connection.send("Target.createTarget",{url:"about:blank",browserContextId:e||undefined});const r=await this._targets.get(t);n.assert(await r._initializedPromise,"Failed to create target for page");const i=await r.page();return i}targets(){return Array.from(this._targets.values()).filter(e=>e._isInitialized)}target(){return this.targets().find(e=>e.type()==="browser")}async waitForTarget(e,t={}){const{timeout:r=3e4}=t;const n=this.targets().find(e);if(n)return n;let o;const s=new Promise(e=>o=e);this.on("targetcreated",check);this.on("targetchanged",check);try{if(!r)return await s;return await i.helper.waitWithTimeout(s,"target",r)}finally{this.removeListener("targetcreated",check);this.removeListener("targetchanged",check)}function check(t){if(e(t))o(t)}}async pages(){const e=await Promise.all(this.browserContexts().map(e=>e.pages()));return e.reduce((e,t)=>e.concat(t),[])}async version(){const e=await this._getVersion();return e.product}async userAgent(){const e=await this._getVersion();return e.userAgent}async close(){await this._closeCallback.call(null);this.disconnect()}disconnect(){this._connection.dispose()}isConnected(){return!this._connection._closed}_getVersion(){return this._connection.send("Browser.getVersion")}}t.Browser=Browser;class BrowserContext extends s.EventEmitter{constructor(e,t,r){super();this._connection=e;this._browser=t;this._id=r}targets(){return this._browser.targets().filter(e=>e.browserContext()===this)}waitForTarget(e,t={}){return this._browser.waitForTarget(t=>t.browserContext()===this&&e(t),t)}async pages(){const e=await Promise.all(this.targets().filter(e=>e.type()==="page").map(e=>e.page()));return e.filter(e=>!!e)}isIncognito(){return!!this._id}async overridePermissions(e,t){const r=new Map([["geolocation","geolocation"],["midi","midi"],["notifications","notifications"],["camera","videoCapture"],["microphone","audioCapture"],["background-sync","backgroundSync"],["ambient-light-sensor","sensors"],["accelerometer","sensors"],["gyroscope","sensors"],["magnetometer","sensors"],["accessibility-events","accessibilityEvents"],["clipboard-read","clipboardReadWrite"],["clipboard-write","clipboardReadWrite"],["payment-handler","paymentHandler"],["idle-detection","idleDetection"],["midi-sysex","midiSysex"]]);const n=t.map(e=>{const t=r.get(e);if(!t)throw new Error("Unknown permission: "+e);return t});await this._connection.send("Browser.grantPermissions",{origin:e,browserContextId:this._id||undefined,permissions:n})}async clearPermissionOverrides(){await this._connection.send("Browser.resetPermissions",{browserContextId:this._id||undefined})}newPage(){return this._browser._createPageInContext(this._id)}browser(){return this._browser}async close(){n.assert(this._id,"Non-incognito profiles cannot be closed!");await this._browser._disposeContext(this._id)}}t.BrowserContext=BrowserContext},10714:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);i(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.connectToBrowser=void 0;const s=r(10487);const a=r(85668);const l=r(47674);const c=r(58602);const u=r(84763);const d=r(23222);const p=async()=>{return d.isNode?(await Promise.resolve().then(()=>o(r(17662)))).NodeWebSocketTransport:(await Promise.resolve().then(()=>o(r(96937)))).BrowserWebSocketTransport};t.connectToBrowser=(async e=>{const{browserWSEndpoint:t,browserURL:r,ignoreHTTPSErrors:n=false,defaultViewport:i={width:800,height:600},transport:o,slowMo:u=0}=e;a.assert(Number(!!t)+Number(!!r)+Number(!!o)===1,"Exactly one of browserWSEndpoint, browserURL or transport must be passed to puppeteer.connect");let d=null;if(o){d=new c.Connection("",o,u)}else if(t){const e=await p();const r=await e.create(t);d=new c.Connection(t,r,u)}else if(r){const e=await getWSEndpoint(r);const t=await p();const n=await t.create(e);d=new c.Connection(e,n,u)}const{browserContextIds:f}=await d.send("Target.getBrowserContexts");return s.Browser.create(d,f,n,i,null,()=>d.send("Browser.close").catch(l.debugError))});async function getWSEndpoint(e){const t=new URL("/json/version",e);const r=await u.getFetch();try{const e=await r(t.toString(),{method:"GET"});if(!e.ok){throw new Error(`HTTP ${e.statusText}`)}const n=await e.json();return n.webSocketDebuggerUrl}catch(e){e.message=`Failed to fetch browser webSocket URL from ${t}: `+e.message;throw e}}},96937:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BrowserWebSocketTransport=void 0;class BrowserWebSocketTransport{constructor(e){this._ws=e;this._ws.addEventListener("message",e=>{if(this.onmessage)this.onmessage.call(null,e.data)});this._ws.addEventListener("close",()=>{if(this.onclose)this.onclose.call(null)});this._ws.addEventListener("error",()=>{});this.onmessage=null;this.onclose=null}static create(e){return new Promise((t,r)=>{const n=new WebSocket(e);n.addEventListener("open",()=>t(new BrowserWebSocketTransport(n)));n.addEventListener("error",r)})}send(e){this._ws.send(e)}close(){this._ws.close()}}t.BrowserWebSocketTransport=BrowserWebSocketTransport},58602:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CDPSession=t.CDPSessionEmittedEvents=t.Connection=t.ConnectionEmittedEvents=void 0;const n=r(85668);const i=r(49259);const o=i.debug("puppeteer:protocol:SEND ►");const s=i.debug("puppeteer:protocol:RECV ◀");const a=r(2680);t.ConnectionEmittedEvents={Disconnected:Symbol("Connection.Disconnected")};class Connection extends a.EventEmitter{constructor(e,t,r=0){super();this._lastId=0;this._sessions=new Map;this._closed=false;this._callbacks=new Map;this._url=e;this._delay=r;this._transport=t;this._transport.onmessage=this._onMessage.bind(this);this._transport.onclose=this._onClose.bind(this)}static fromSession(e){return e._connection}session(e){return this._sessions.get(e)||null}url(){return this._url}send(e,...t){const r=t.length?t[0]:undefined;const n=this._rawSend({method:e,params:r});return new Promise((t,r)=>{this._callbacks.set(n,{resolve:t,reject:r,error:new Error,method:e})})}_rawSend(e){const t=++this._lastId;const r=JSON.stringify(Object.assign({},e,{id:t}));o(r);this._transport.send(r);return t}async _onMessage(e){if(this._delay)await new Promise(e=>setTimeout(e,this._delay));s(e);const t=JSON.parse(e);if(t.method==="Target.attachedToTarget"){const e=t.params.sessionId;const r=new CDPSession(this,t.params.targetInfo.type,e);this._sessions.set(e,r)}else if(t.method==="Target.detachedFromTarget"){const e=this._sessions.get(t.params.sessionId);if(e){e._onClosed();this._sessions.delete(t.params.sessionId)}}if(t.sessionId){const e=this._sessions.get(t.sessionId);if(e)e._onMessage(t)}else if(t.id){const e=this._callbacks.get(t.id);if(e){this._callbacks.delete(t.id);if(t.error)e.reject(createProtocolError(e.error,e.method,t));else e.resolve(t.result)}}else{this.emit(t.method,t.params)}}_onClose(){if(this._closed)return;this._closed=true;this._transport.onmessage=null;this._transport.onclose=null;for(const e of this._callbacks.values())e.reject(rewriteError(e.error,`Protocol error (${e.method}): Target closed.`));this._callbacks.clear();for(const e of this._sessions.values())e._onClosed();this._sessions.clear();this.emit(t.ConnectionEmittedEvents.Disconnected)}dispose(){this._onClose();this._transport.close()}async createSession(e){const{sessionId:t}=await this.send("Target.attachToTarget",{targetId:e.targetId,flatten:true});return this._sessions.get(t)}}t.Connection=Connection;t.CDPSessionEmittedEvents={Disconnected:Symbol("CDPSession.Disconnected")};class CDPSession extends a.EventEmitter{constructor(e,t,r){super();this._callbacks=new Map;this._connection=e;this._targetType=t;this._sessionId=r}send(e,...t){if(!this._connection)return Promise.reject(new Error(`Protocol error (${e}): Session closed. Most likely the ${this._targetType} has been closed.`));const r=t.length?t[0]:undefined;const n=this._connection._rawSend({sessionId:this._sessionId,method:e,params:r||{}});return new Promise((t,r)=>{this._callbacks.set(n,{resolve:t,reject:r,error:new Error,method:e})})}_onMessage(e){if(e.id&&this._callbacks.has(e.id)){const t=this._callbacks.get(e.id);this._callbacks.delete(e.id);if(e.error)t.reject(createProtocolError(t.error,t.method,e));else t.resolve(e.result)}else{n.assert(!e.id);this.emit(e.method,e.params)}}async detach(){if(!this._connection)throw new Error(`Session already detached. Most likely the ${this._targetType} has been closed.`);await this._connection.send("Target.detachFromTarget",{sessionId:this._sessionId})}_onClosed(){for(const e of this._callbacks.values())e.reject(rewriteError(e.error,`Protocol error (${e.method}): Target closed.`));this._callbacks.clear();this._connection=null;this.emit(t.CDPSessionEmittedEvents.Disconnected)}}t.CDPSession=CDPSession;function createProtocolError(e,t,r){let n=`Protocol error (${t}): ${r.error.message}`;if("data"in r.error)n+=` ${r.error.data}`;return rewriteError(e,n)}function rewriteError(e,t){e.message=t;return e}},16051:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConsoleMessage=void 0;class ConsoleMessage{constructor(e,t,r,n){this._type=e;this._text=t;this._args=r;this._stackTraceLocations=n}type(){return this._type}text(){return this._text}args(){return this._args}location(){return this._stackTraceLocations.length?this._stackTraceLocations[0]:{}}stackTrace(){return this._stackTraceLocations}}t.ConsoleMessage=ConsoleMessage},35204:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Coverage=void 0;const n=r(85668);const i=r(47674);const o=r(59574);class Coverage{constructor(e){this._jsCoverage=new JSCoverage(e);this._cssCoverage=new CSSCoverage(e)}async startJSCoverage(e={}){return await this._jsCoverage.start(e)}async stopJSCoverage(){return await this._jsCoverage.stop()}async startCSSCoverage(e={}){return await this._cssCoverage.start(e)}async stopCSSCoverage(){return await this._cssCoverage.stop()}}t.Coverage=Coverage;class JSCoverage{constructor(e){this._enabled=false;this._scriptURLs=new Map;this._scriptSources=new Map;this._eventListeners=[];this._resetOnNavigation=false;this._reportAnonymousScripts=false;this._client=e}async start(e={}){n.assert(!this._enabled,"JSCoverage is already enabled");const{resetOnNavigation:t=true,reportAnonymousScripts:r=false}=e;this._resetOnNavigation=t;this._reportAnonymousScripts=r;this._enabled=true;this._scriptURLs.clear();this._scriptSources.clear();this._eventListeners=[i.helper.addEventListener(this._client,"Debugger.scriptParsed",this._onScriptParsed.bind(this)),i.helper.addEventListener(this._client,"Runtime.executionContextsCleared",this._onExecutionContextsCleared.bind(this))];await Promise.all([this._client.send("Profiler.enable"),this._client.send("Profiler.startPreciseCoverage",{callCount:false,detailed:true}),this._client.send("Debugger.enable"),this._client.send("Debugger.setSkipAllPauses",{skip:true})])}_onExecutionContextsCleared(){if(!this._resetOnNavigation)return;this._scriptURLs.clear();this._scriptSources.clear()}async _onScriptParsed(e){if(e.url===o.EVALUATION_SCRIPT_URL)return;if(!e.url&&!this._reportAnonymousScripts)return;try{const t=await this._client.send("Debugger.getScriptSource",{scriptId:e.scriptId});this._scriptURLs.set(e.scriptId,e.url);this._scriptSources.set(e.scriptId,t.scriptSource)}catch(e){i.debugError(e)}}async stop(){n.assert(this._enabled,"JSCoverage is not enabled");this._enabled=false;const e=await Promise.all([this._client.send("Profiler.takePreciseCoverage"),this._client.send("Profiler.stopPreciseCoverage"),this._client.send("Profiler.disable"),this._client.send("Debugger.disable")]);i.helper.removeEventListeners(this._eventListeners);const t=[];const r=e[0];for(const e of r.result){let r=this._scriptURLs.get(e.scriptId);if(!r&&this._reportAnonymousScripts)r="debugger://VM"+e.scriptId;const n=this._scriptSources.get(e.scriptId);if(n===undefined||r===undefined)continue;const i=[];for(const t of e.functions)i.push(...t.ranges);const o=convertToDisjointRanges(i);t.push({url:r,ranges:o,text:n})}return t}}class CSSCoverage{constructor(e){this._enabled=false;this._stylesheetURLs=new Map;this._stylesheetSources=new Map;this._eventListeners=[];this._resetOnNavigation=false;this._reportAnonymousScripts=false;this._client=e}async start(e={}){n.assert(!this._enabled,"CSSCoverage is already enabled");const{resetOnNavigation:t=true}=e;this._resetOnNavigation=t;this._enabled=true;this._stylesheetURLs.clear();this._stylesheetSources.clear();this._eventListeners=[i.helper.addEventListener(this._client,"CSS.styleSheetAdded",this._onStyleSheet.bind(this)),i.helper.addEventListener(this._client,"Runtime.executionContextsCleared",this._onExecutionContextsCleared.bind(this))];await Promise.all([this._client.send("DOM.enable"),this._client.send("CSS.enable"),this._client.send("CSS.startRuleUsageTracking")])}_onExecutionContextsCleared(){if(!this._resetOnNavigation)return;this._stylesheetURLs.clear();this._stylesheetSources.clear()}async _onStyleSheet(e){const t=e.header;if(!t.sourceURL)return;try{const e=await this._client.send("CSS.getStyleSheetText",{styleSheetId:t.styleSheetId});this._stylesheetURLs.set(t.styleSheetId,t.sourceURL);this._stylesheetSources.set(t.styleSheetId,e.text)}catch(e){i.debugError(e)}}async stop(){n.assert(this._enabled,"CSSCoverage is not enabled");this._enabled=false;const e=await this._client.send("CSS.stopRuleUsageTracking");await Promise.all([this._client.send("CSS.disable"),this._client.send("DOM.disable")]);i.helper.removeEventListeners(this._eventListeners);const t=new Map;for(const r of e.ruleUsage){let e=t.get(r.styleSheetId);if(!e){e=[];t.set(r.styleSheetId,e)}e.push({startOffset:r.startOffset,endOffset:r.endOffset,count:r.used?1:0})}const r=[];for(const e of this._stylesheetURLs.keys()){const n=this._stylesheetURLs.get(e);const i=this._stylesheetSources.get(e);const o=convertToDisjointRanges(t.get(e)||[]);r.push({url:n,ranges:o,text:i})}return r}}function convertToDisjointRanges(e){const t=[];for(const r of e){t.push({offset:r.startOffset,type:0,range:r});t.push({offset:r.endOffset,type:1,range:r})}t.sort((e,t)=>{if(e.offset!==t.offset)return e.offset-t.offset;if(e.type!==t.type)return t.type-e.type;const r=e.range.endOffset-e.range.startOffset;const n=t.range.endOffset-t.range.startOffset;if(e.type===0)return n-r;return r-n});const r=[];const n=[];let i=0;for(const e of t){if(r.length&&i0){const t=n.length?n[n.length-1]:null;if(t&&t.end===i)t.end=e.offset;else n.push({start:i,end:e.offset})}i=e.offset;if(e.type===0)r.push(e.range.count);else r.pop()}return n.filter(e=>e.end-e.start>1)}},5295:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);i(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.WaitTask=t.DOMWorld=void 0;const s=r(85668);const a=r(47674);const l=r(54954);const c=r(29554);const u=r(90419);const d=r(23222);class DOMWorld{constructor(e,t,r){this._documentPromise=null;this._contextPromise=null;this._contextResolveCallback=null;this._detached=false;this._waitTasks=new Set;this._boundFunctions=new Map;this._ctxBindings=new Set;this._settingUpBinding=null;this._frameManager=e;this._frame=t;this._timeoutSettings=r;this._setContext(null);e._client.on("Runtime.bindingCalled",e=>this._onBindingCalled(e))}frame(){return this._frame}async _setContext(e){if(e){this._contextResolveCallback.call(null,e);this._contextResolveCallback=null;this._ctxBindings.clear();for(const e of this._boundFunctions.keys()){await this.addBindingToContext(e)}for(const e of this._waitTasks)e.rerun()}else{this._documentPromise=null;this._contextPromise=new Promise(e=>{this._contextResolveCallback=e})}}_hasContext(){return!this._contextResolveCallback}_detach(){this._detached=true;for(const e of this._waitTasks)e.terminate(new Error("waitForFunction failed: frame got detached."))}executionContext(){if(this._detached)throw new Error(`Execution context is not available in detached frame "${this._frame.url()}" (are you trying to evaluate?)`);return this._contextPromise}async evaluateHandle(e,...t){const r=await this.executionContext();return r.evaluateHandle(e,...t)}async evaluate(e,...t){const r=await this.executionContext();return r.evaluate(e,...t)}async $(e){const t=await this._document();const r=await t.$(e);return r}async _document(){if(this._documentPromise)return this._documentPromise;this._documentPromise=this.executionContext().then(async e=>{const t=await e.evaluateHandle("document");return t.asElement()});return this._documentPromise}async $x(e){const t=await this._document();const r=await t.$x(e);return r}async $eval(e,t,...r){const n=await this._document();return n.$eval(e,t,...r)}async $$eval(e,t,...r){const n=await this._document();const i=await n.$$eval(e,t,...r);return i}async $$(e){const t=await this._document();const r=await t.$$(e);return r}async content(){return await this.evaluate(()=>{let e="";if(document.doctype)e=(new XMLSerializer).serializeToString(document.doctype);if(document.documentElement)e+=document.documentElement.outerHTML;return e})}async setContent(e,t={}){const{waitUntil:r=["load"],timeout:n=this._timeoutSettings.navigationTimeout()}=t;await this.evaluate(e=>{document.open();document.write(e);document.close()},e);const i=new l.LifecycleWatcher(this._frameManager,this._frame,r,n);const o=await Promise.race([i.timeoutOrTerminationPromise(),i.lifecyclePromise()]);i.dispose();if(o)throw o}async addScriptTag(e){const{url:t=null,path:n=null,content:i=null,type:s=""}=e;if(t!==null){try{const e=await this.executionContext();return(await e.evaluateHandle(addScriptUrl,t,s)).asElement()}catch(e){throw new Error(`Loading script from ${t} failed`)}}if(n!==null){if(!d.isNode){throw new Error("Cannot pass a filepath to addScriptTag in the browser environment.")}const e=await Promise.resolve().then(()=>o(r(35747)));let t=await e.promises.readFile(n,"utf8");t+="//# sourceURL="+n.replace(/\n/g,"");const i=await this.executionContext();return(await i.evaluateHandle(addScriptContent,t,s)).asElement()}if(i!==null){const e=await this.executionContext();return(await e.evaluateHandle(addScriptContent,i,s)).asElement()}throw new Error("Provide an object with a `url`, `path` or `content` property");async function addScriptUrl(e,t){const r=document.createElement("script");r.src=e;if(t)r.type=t;const n=new Promise((e,t)=>{r.onload=e;r.onerror=t});document.head.appendChild(r);await n;return r}function addScriptContent(e,t="text/javascript"){const r=document.createElement("script");r.type=t;r.text=e;let n=null;r.onerror=(e=>n=e);document.head.appendChild(r);if(n)throw n;return r}}async addStyleTag(e){const{url:t=null,path:n=null,content:i=null}=e;if(t!==null){try{const e=await this.executionContext();return(await e.evaluateHandle(addStyleUrl,t)).asElement()}catch(e){throw new Error(`Loading style from ${t} failed`)}}if(n!==null){if(!d.isNode){throw new Error("Cannot pass a filepath to addStyleTag in the browser environment.")}const e=await Promise.resolve().then(()=>o(r(35747)));let t=await e.promises.readFile(n,"utf8");t+="/*# sourceURL="+n.replace(/\n/g,"")+"*/";const i=await this.executionContext();return(await i.evaluateHandle(addStyleContent,t)).asElement()}if(i!==null){const e=await this.executionContext();return(await e.evaluateHandle(addStyleContent,i)).asElement()}throw new Error("Provide an object with a `url`, `path` or `content` property");async function addStyleUrl(e){const t=document.createElement("link");t.rel="stylesheet";t.href=e;const r=new Promise((e,r)=>{t.onload=e;t.onerror=r});document.head.appendChild(t);await r;return t}async function addStyleContent(e){const t=document.createElement("style");t.type="text/css";t.appendChild(document.createTextNode(e));const r=new Promise((e,r)=>{t.onload=e;t.onerror=r});document.head.appendChild(t);await r;return t}}async click(e,t){const r=await this.$(e);s.assert(r,"No node found for selector: "+e);await r.click(t);await r.dispose()}async focus(e){const t=await this.$(e);s.assert(t,"No node found for selector: "+e);await t.focus();await t.dispose()}async hover(e){const t=await this.$(e);s.assert(t,"No node found for selector: "+e);await t.hover();await t.dispose()}async select(e,...t){const r=await this.$(e);s.assert(r,"No node found for selector: "+e);const n=await r.select(...t);await r.dispose();return n}async tap(e){const t=await this.$(e);await t.tap();await t.dispose()}async type(e,t,r){const n=await this.$(e);s.assert(n,"No node found for selector: "+e);await n.type(t,r);await n.dispose()}async waitForSelector(e,t){const{updatedSelector:r,queryHandler:n}=u.getQueryHandlerAndSelector(e);return n.waitFor(this,r,t)}async addBindingToContext(e){if(this._ctxBindings.has(e))return;if(this._settingUpBinding){await this._settingUpBinding;return this.addBindingToContext(e)}const t=async e=>{const r=a.helper.pageBindingInitString("internal",e);try{const n=await this.executionContext();await n._client.send("Runtime.addBinding",{name:e,executionContextId:n._contextId});await n.evaluate(r)}catch(r){const n=r.message.includes("Execution context was destroyed");const i=r.message.includes("Cannot find context with specified id");if(n||i){await t(e)}else{a.debugError(r);return}}this._ctxBindings.add(e)};this._settingUpBinding=t(e);await this._settingUpBinding;this._settingUpBinding=null}async addBinding(e,t){this._boundFunctions.set(e,t);await this.addBindingToContext(e)}async _onBindingCalled(e){let t;try{t=JSON.parse(e.payload)}catch{return}const{type:r,name:n,seq:i,args:o}=t;if(r!=="internal"||!this._ctxBindings.has(n))return;if(!this._hasContext())return;const s=await this.executionContext();if(s._contextId!==e.executionContextId)return;try{const e=await this._boundFunctions.get(n)(...o);await s.evaluate(deliverResult,n,i,e)}catch(e){if(e.message.includes("Protocol error"))return;a.debugError(e)}function deliverResult(e,t,r){globalThis[e].callbacks.get(t).resolve(r);globalThis[e].callbacks.delete(t)}}async waitForSelectorInPage(e,t,r){const{visible:n=false,hidden:i=false,timeout:o=this._timeoutSettings.timeout()}=r;const s=n||i?"raf":"mutation";const l=`selector \`${t}\`${i?" to be hidden":""}`;async function predicate(e,t,r){const n=predicateQueryHandler?await predicateQueryHandler(document,e):document.querySelector(e);return checkWaitForOptions(n,t,r)}const c=new WaitTask(this,a.helper.makePredicateString(predicate,e),l,s,o,t,n,i);const u=await c.promise;const d=u.asElement();if(!d){await u.dispose();return null}return d}async waitForXPath(e,t){const{visible:r=false,hidden:n=false,timeout:i=this._timeoutSettings.timeout()}=t;const o=r||n?"raf":"mutation";const s=`XPath \`${e}\`${n?" to be hidden":""}`;function predicate(e,t,r){const n=document.evaluate(e,document,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue;return checkWaitForOptions(n,t,r)}const l=new WaitTask(this,a.helper.makePredicateString(predicate),s,o,i,e,r,n);const c=await l.promise;const u=c.asElement();if(!u){await c.dispose();return null}return u}waitForFunction(e,t={},...r){const{polling:n="raf",timeout:i=this._timeoutSettings.timeout()}=t;return new WaitTask(this,e,"function",n,i,...r).promise}async title(){return this.evaluate(()=>document.title)}}t.DOMWorld=DOMWorld;class WaitTask{constructor(e,t,r,n,i,...o){this._runCount=0;this._terminated=false;if(a.helper.isString(n))s.assert(n==="raf"||n==="mutation","Unknown polling option: "+n);else if(a.helper.isNumber(n))s.assert(n>0,"Cannot poll with non-positive interval: "+n);else throw new Error("Unknown polling options: "+n);function getPredicateBody(e){if(a.helper.isString(e))return`return (${e});`;return`return (${e})(...args);`}this._domWorld=e;this._polling=n;this._timeout=i;this._predicateBody=getPredicateBody(t);this._args=o;this._runCount=0;e._waitTasks.add(this);this.promise=new Promise((e,t)=>{this._resolve=e;this._reject=t});if(i){const e=new c.TimeoutError(`waiting for ${r} failed: timeout ${i}ms exceeded`);this._timeoutTimer=setTimeout(()=>this.terminate(e),i)}this.rerun()}terminate(e){this._terminated=true;this._reject(e);this._cleanup()}async rerun(){const e=++this._runCount;let t=null;let r=null;try{t=await(await this._domWorld.executionContext()).evaluateHandle(waitForPredicatePageFunction,this._predicateBody,this._polling,this._timeout,...this._args)}catch(e){r=e}if(this._terminated||e!==this._runCount){if(t)await t.dispose();return}if(!r&&await this._domWorld.evaluate(e=>!e,t).catch(()=>true)){await t.dispose();return}if(r){if(r.message.includes("Execution context is not available in detached frame")){this.terminate(new Error("waitForFunction failed: frame got detached."));return}if(r.message.includes("Execution context was destroyed"))return;if(r.message.includes("Cannot find context with specified id"))return;this._reject(r)}else{this._resolve(t)}this._cleanup()}_cleanup(){clearTimeout(this._timeoutTimer);this._domWorld._waitTasks.delete(this)}}t.WaitTask=WaitTask;async function waitForPredicatePageFunction(e,t,r,...n){const i=new Function("...args",e);let o=false;if(r)setTimeout(()=>o=true,r);if(t==="raf")return await pollRaf();if(t==="mutation")return await pollMutation();if(typeof t==="number")return await pollInterval(t);async function pollMutation(){const e=await i(...n);if(e)return Promise.resolve(e);let t;const r=new Promise(e=>t=e);const s=new MutationObserver(async()=>{if(o){s.disconnect();t()}const e=await i(...n);if(e){s.disconnect();t(e)}});s.observe(document,{childList:true,subtree:true,attributes:true});return r}async function pollRaf(){let e;const t=new Promise(t=>e=t);await onRaf();return t;async function onRaf(){if(o){e();return}const t=await i(...n);if(t)e(t);else requestAnimationFrame(onRaf)}}async function pollInterval(e){let t;const r=new Promise(e=>t=e);await onTimeout();return r;async function onTimeout(){if(o){t();return}const r=await i(...n);if(r)t(r);else setTimeout(onTimeout,e)}}}},49259:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.debug=void 0;const n=r(23222);t.debug=(e=>{if(n.isNode){return r(71213)(e)}return(...t)=>{const r=globalThis.__PUPPETEER_DEBUG;if(!r)return;const n=r==="*";const i=n||(r.endsWith("*")?e.startsWith(r):e===r);if(!i)return;console.log(`${e}:`,...t)}})},34906:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.devicesMap=void 0;const r=[{name:"Blackberry PlayBook",userAgent:"Mozilla/5.0 (PlayBook; U; RIM Tablet OS 2.1.0; en-US) AppleWebKit/536.2+ (KHTML like Gecko) Version/7.2.1.0 Safari/536.2+",viewport:{width:600,height:1024,deviceScaleFactor:1,isMobile:true,hasTouch:true,isLandscape:false}},{name:"Blackberry PlayBook landscape",userAgent:"Mozilla/5.0 (PlayBook; U; RIM Tablet OS 2.1.0; en-US) AppleWebKit/536.2+ (KHTML like Gecko) Version/7.2.1.0 Safari/536.2+",viewport:{width:1024,height:600,deviceScaleFactor:1,isMobile:true,hasTouch:true,isLandscape:true}},{name:"BlackBerry Z30",userAgent:"Mozilla/5.0 (BB10; Touch) AppleWebKit/537.10+ (KHTML, like Gecko) Version/10.0.9.2372 Mobile Safari/537.10+",viewport:{width:360,height:640,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:false}},{name:"BlackBerry Z30 landscape",userAgent:"Mozilla/5.0 (BB10; Touch) AppleWebKit/537.10+ (KHTML, like Gecko) Version/10.0.9.2372 Mobile Safari/537.10+",viewport:{width:640,height:360,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:true}},{name:"Galaxy Note 3",userAgent:"Mozilla/5.0 (Linux; U; Android 4.3; en-us; SM-N900T Build/JSS15J) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30",viewport:{width:360,height:640,deviceScaleFactor:3,isMobile:true,hasTouch:true,isLandscape:false}},{name:"Galaxy Note 3 landscape",userAgent:"Mozilla/5.0 (Linux; U; Android 4.3; en-us; SM-N900T Build/JSS15J) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30",viewport:{width:640,height:360,deviceScaleFactor:3,isMobile:true,hasTouch:true,isLandscape:true}},{name:"Galaxy Note II",userAgent:"Mozilla/5.0 (Linux; U; Android 4.1; en-us; GT-N7100 Build/JRO03C) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30",viewport:{width:360,height:640,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:false}},{name:"Galaxy Note II landscape",userAgent:"Mozilla/5.0 (Linux; U; Android 4.1; en-us; GT-N7100 Build/JRO03C) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30",viewport:{width:640,height:360,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:true}},{name:"Galaxy S III",userAgent:"Mozilla/5.0 (Linux; U; Android 4.0; en-us; GT-I9300 Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30",viewport:{width:360,height:640,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:false}},{name:"Galaxy S III landscape",userAgent:"Mozilla/5.0 (Linux; U; Android 4.0; en-us; GT-I9300 Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30",viewport:{width:640,height:360,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:true}},{name:"Galaxy S5",userAgent:"Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",viewport:{width:360,height:640,deviceScaleFactor:3,isMobile:true,hasTouch:true,isLandscape:false}},{name:"Galaxy S5 landscape",userAgent:"Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",viewport:{width:640,height:360,deviceScaleFactor:3,isMobile:true,hasTouch:true,isLandscape:true}},{name:"iPad",userAgent:"Mozilla/5.0 (iPad; CPU OS 11_0 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) Version/11.0 Mobile/15A5341f Safari/604.1",viewport:{width:768,height:1024,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:false}},{name:"iPad landscape",userAgent:"Mozilla/5.0 (iPad; CPU OS 11_0 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) Version/11.0 Mobile/15A5341f Safari/604.1",viewport:{width:1024,height:768,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:true}},{name:"iPad Mini",userAgent:"Mozilla/5.0 (iPad; CPU OS 11_0 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) Version/11.0 Mobile/15A5341f Safari/604.1",viewport:{width:768,height:1024,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:false}},{name:"iPad Mini landscape",userAgent:"Mozilla/5.0 (iPad; CPU OS 11_0 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) Version/11.0 Mobile/15A5341f Safari/604.1",viewport:{width:1024,height:768,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:true}},{name:"iPad Pro",userAgent:"Mozilla/5.0 (iPad; CPU OS 11_0 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) Version/11.0 Mobile/15A5341f Safari/604.1",viewport:{width:1024,height:1366,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:false}},{name:"iPad Pro landscape",userAgent:"Mozilla/5.0 (iPad; CPU OS 11_0 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) Version/11.0 Mobile/15A5341f Safari/604.1",viewport:{width:1366,height:1024,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:true}},{name:"iPhone 4",userAgent:"Mozilla/5.0 (iPhone; CPU iPhone OS 7_1_2 like Mac OS X) AppleWebKit/537.51.2 (KHTML, like Gecko) Version/7.0 Mobile/11D257 Safari/9537.53",viewport:{width:320,height:480,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:false}},{name:"iPhone 4 landscape",userAgent:"Mozilla/5.0 (iPhone; CPU iPhone OS 7_1_2 like Mac OS X) AppleWebKit/537.51.2 (KHTML, like Gecko) Version/7.0 Mobile/11D257 Safari/9537.53",viewport:{width:480,height:320,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:true}},{name:"iPhone 5",userAgent:"Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.0 Mobile/14E304 Safari/602.1",viewport:{width:320,height:568,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:false}},{name:"iPhone 5 landscape",userAgent:"Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.0 Mobile/14E304 Safari/602.1",viewport:{width:568,height:320,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:true}},{name:"iPhone 6",userAgent:"Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",viewport:{width:375,height:667,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:false}},{name:"iPhone 6 landscape",userAgent:"Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",viewport:{width:667,height:375,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:true}},{name:"iPhone 6 Plus",userAgent:"Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",viewport:{width:414,height:736,deviceScaleFactor:3,isMobile:true,hasTouch:true,isLandscape:false}},{name:"iPhone 6 Plus landscape",userAgent:"Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",viewport:{width:736,height:414,deviceScaleFactor:3,isMobile:true,hasTouch:true,isLandscape:true}},{name:"iPhone 7",userAgent:"Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",viewport:{width:375,height:667,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:false}},{name:"iPhone 7 landscape",userAgent:"Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",viewport:{width:667,height:375,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:true}},{name:"iPhone 7 Plus",userAgent:"Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",viewport:{width:414,height:736,deviceScaleFactor:3,isMobile:true,hasTouch:true,isLandscape:false}},{name:"iPhone 7 Plus landscape",userAgent:"Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",viewport:{width:736,height:414,deviceScaleFactor:3,isMobile:true,hasTouch:true,isLandscape:true}},{name:"iPhone 8",userAgent:"Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",viewport:{width:375,height:667,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:false}},{name:"iPhone 8 landscape",userAgent:"Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",viewport:{width:667,height:375,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:true}},{name:"iPhone 8 Plus",userAgent:"Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",viewport:{width:414,height:736,deviceScaleFactor:3,isMobile:true,hasTouch:true,isLandscape:false}},{name:"iPhone 8 Plus landscape",userAgent:"Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",viewport:{width:736,height:414,deviceScaleFactor:3,isMobile:true,hasTouch:true,isLandscape:true}},{name:"iPhone SE",userAgent:"Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.0 Mobile/14E304 Safari/602.1",viewport:{width:320,height:568,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:false}},{name:"iPhone SE landscape",userAgent:"Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.0 Mobile/14E304 Safari/602.1",viewport:{width:568,height:320,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:true}},{name:"iPhone X",userAgent:"Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",viewport:{width:375,height:812,deviceScaleFactor:3,isMobile:true,hasTouch:true,isLandscape:false}},{name:"iPhone X landscape",userAgent:"Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",viewport:{width:812,height:375,deviceScaleFactor:3,isMobile:true,hasTouch:true,isLandscape:true}},{name:"iPhone XR",userAgent:"Mozilla/5.0 (iPhone; CPU iPhone OS 12_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Mobile/15E148 Safari/604.1",viewport:{width:414,height:896,deviceScaleFactor:3,isMobile:true,hasTouch:true,isLandscape:false}},{name:"iPhone XR landscape",userAgent:"Mozilla/5.0 (iPhone; CPU iPhone OS 12_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Mobile/15E148 Safari/604.1",viewport:{width:896,height:414,deviceScaleFactor:3,isMobile:true,hasTouch:true,isLandscape:true}},{name:"JioPhone 2",userAgent:"Mozilla/5.0 (Mobile; LYF/F300B/LYF-F300B-001-01-15-130718-i;Android; rv:48.0) Gecko/48.0 Firefox/48.0 KAIOS/2.5",viewport:{width:240,height:320,deviceScaleFactor:1,isMobile:true,hasTouch:true,isLandscape:false}},{name:"JioPhone 2 landscape",userAgent:"Mozilla/5.0 (Mobile; LYF/F300B/LYF-F300B-001-01-15-130718-i;Android; rv:48.0) Gecko/48.0 Firefox/48.0 KAIOS/2.5",viewport:{width:320,height:240,deviceScaleFactor:1,isMobile:true,hasTouch:true,isLandscape:true}},{name:"Kindle Fire HDX",userAgent:"Mozilla/5.0 (Linux; U; en-us; KFAPWI Build/JDQ39) AppleWebKit/535.19 (KHTML, like Gecko) Silk/3.13 Safari/535.19 Silk-Accelerated=true",viewport:{width:800,height:1280,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:false}},{name:"Kindle Fire HDX landscape",userAgent:"Mozilla/5.0 (Linux; U; en-us; KFAPWI Build/JDQ39) AppleWebKit/535.19 (KHTML, like Gecko) Silk/3.13 Safari/535.19 Silk-Accelerated=true",viewport:{width:1280,height:800,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:true}},{name:"LG Optimus L70",userAgent:"Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; LGMS323 Build/KOT49I.MS32310c) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/75.0.3765.0 Mobile Safari/537.36",viewport:{width:384,height:640,deviceScaleFactor:1.25,isMobile:true,hasTouch:true,isLandscape:false}},{name:"LG Optimus L70 landscape",userAgent:"Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; LGMS323 Build/KOT49I.MS32310c) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/75.0.3765.0 Mobile Safari/537.36",viewport:{width:640,height:384,deviceScaleFactor:1.25,isMobile:true,hasTouch:true,isLandscape:true}},{name:"Microsoft Lumia 550",userAgent:"Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 550) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Mobile Safari/537.36 Edge/14.14263",viewport:{width:640,height:360,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:false}},{name:"Microsoft Lumia 950",userAgent:"Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 950) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Mobile Safari/537.36 Edge/14.14263",viewport:{width:360,height:640,deviceScaleFactor:4,isMobile:true,hasTouch:true,isLandscape:false}},{name:"Microsoft Lumia 950 landscape",userAgent:"Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 950) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Mobile Safari/537.36 Edge/14.14263",viewport:{width:640,height:360,deviceScaleFactor:4,isMobile:true,hasTouch:true,isLandscape:true}},{name:"Nexus 10",userAgent:"Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Safari/537.36",viewport:{width:800,height:1280,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:false}},{name:"Nexus 10 landscape",userAgent:"Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Safari/537.36",viewport:{width:1280,height:800,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:true}},{name:"Nexus 4",userAgent:"Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",viewport:{width:384,height:640,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:false}},{name:"Nexus 4 landscape",userAgent:"Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",viewport:{width:640,height:384,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:true}},{name:"Nexus 5",userAgent:"Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",viewport:{width:360,height:640,deviceScaleFactor:3,isMobile:true,hasTouch:true,isLandscape:false}},{name:"Nexus 5 landscape",userAgent:"Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",viewport:{width:640,height:360,deviceScaleFactor:3,isMobile:true,hasTouch:true,isLandscape:true}},{name:"Nexus 5X",userAgent:"Mozilla/5.0 (Linux; Android 8.0.0; Nexus 5X Build/OPR4.170623.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",viewport:{width:412,height:732,deviceScaleFactor:2.625,isMobile:true,hasTouch:true,isLandscape:false}},{name:"Nexus 5X landscape",userAgent:"Mozilla/5.0 (Linux; Android 8.0.0; Nexus 5X Build/OPR4.170623.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",viewport:{width:732,height:412,deviceScaleFactor:2.625,isMobile:true,hasTouch:true,isLandscape:true}},{name:"Nexus 6",userAgent:"Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",viewport:{width:412,height:732,deviceScaleFactor:3.5,isMobile:true,hasTouch:true,isLandscape:false}},{name:"Nexus 6 landscape",userAgent:"Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",viewport:{width:732,height:412,deviceScaleFactor:3.5,isMobile:true,hasTouch:true,isLandscape:true}},{name:"Nexus 6P",userAgent:"Mozilla/5.0 (Linux; Android 8.0.0; Nexus 6P Build/OPP3.170518.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",viewport:{width:412,height:732,deviceScaleFactor:3.5,isMobile:true,hasTouch:true,isLandscape:false}},{name:"Nexus 6P landscape",userAgent:"Mozilla/5.0 (Linux; Android 8.0.0; Nexus 6P Build/OPP3.170518.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",viewport:{width:732,height:412,deviceScaleFactor:3.5,isMobile:true,hasTouch:true,isLandscape:true}},{name:"Nexus 7",userAgent:"Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Safari/537.36",viewport:{width:600,height:960,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:false}},{name:"Nexus 7 landscape",userAgent:"Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Safari/537.36",viewport:{width:960,height:600,deviceScaleFactor:2,isMobile:true,hasTouch:true,isLandscape:true}},{name:"Nokia Lumia 520",userAgent:"Mozilla/5.0 (compatible; MSIE 10.0; Windows Phone 8.0; Trident/6.0; IEMobile/10.0; ARM; Touch; NOKIA; Lumia 520)",viewport:{width:320,height:533,deviceScaleFactor:1.5,isMobile:true,hasTouch:true,isLandscape:false}},{name:"Nokia Lumia 520 landscape",userAgent:"Mozilla/5.0 (compatible; MSIE 10.0; Windows Phone 8.0; Trident/6.0; IEMobile/10.0; ARM; Touch; NOKIA; Lumia 520)",viewport:{width:533,height:320,deviceScaleFactor:1.5,isMobile:true,hasTouch:true,isLandscape:true}},{name:"Nokia N9",userAgent:"Mozilla/5.0 (MeeGo; NokiaN9) AppleWebKit/534.13 (KHTML, like Gecko) NokiaBrowser/8.5.0 Mobile Safari/534.13",viewport:{width:480,height:854,deviceScaleFactor:1,isMobile:true,hasTouch:true,isLandscape:false}},{name:"Nokia N9 landscape",userAgent:"Mozilla/5.0 (MeeGo; NokiaN9) AppleWebKit/534.13 (KHTML, like Gecko) NokiaBrowser/8.5.0 Mobile Safari/534.13",viewport:{width:854,height:480,deviceScaleFactor:1,isMobile:true,hasTouch:true,isLandscape:true}},{name:"Pixel 2",userAgent:"Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",viewport:{width:411,height:731,deviceScaleFactor:2.625,isMobile:true,hasTouch:true,isLandscape:false}},{name:"Pixel 2 landscape",userAgent:"Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",viewport:{width:731,height:411,deviceScaleFactor:2.625,isMobile:true,hasTouch:true,isLandscape:true}},{name:"Pixel 2 XL",userAgent:"Mozilla/5.0 (Linux; Android 8.0.0; Pixel 2 XL Build/OPD1.170816.004) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",viewport:{width:411,height:823,deviceScaleFactor:3.5,isMobile:true,hasTouch:true,isLandscape:false}},{name:"Pixel 2 XL landscape",userAgent:"Mozilla/5.0 (Linux; Android 8.0.0; Pixel 2 XL Build/OPD1.170816.004) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3765.0 Mobile Safari/537.36",viewport:{width:823,height:411,deviceScaleFactor:3.5,isMobile:true,hasTouch:true,isLandscape:true}}];const n={};t.devicesMap=n;for(const e of r)n[e.name]=e},2915:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Dialog=void 0;const n=r(85668);class Dialog{constructor(e,t,r,n=""){this._handled=false;this._client=e;this._type=t;this._message=r;this._defaultValue=n}type(){return this._type}message(){return this._message}defaultValue(){return this._defaultValue}async accept(e){n.assert(!this._handled,"Cannot accept dialog which is already handled!");this._handled=true;await this._client.send("Page.handleJavaScriptDialog",{accept:true,promptText:e})}async dismiss(){n.assert(!this._handled,"Cannot dismiss dialog which is already handled!");this._handled=true;await this._client.send("Page.handleJavaScriptDialog",{accept:false})}}t.Dialog=Dialog},3449:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.EmulationManager=void 0;class EmulationManager{constructor(e){this._emulatingMobile=false;this._hasTouch=false;this._client=e}async emulateViewport(e){const t=e.isMobile||false;const r=e.width;const n=e.height;const i=e.deviceScaleFactor||1;const o=e.isLandscape?{angle:90,type:"landscapePrimary"}:{angle:0,type:"portraitPrimary"};const s=e.hasTouch||false;await Promise.all([this._client.send("Emulation.setDeviceMetricsOverride",{mobile:t,width:r,height:n,deviceScaleFactor:i,screenOrientation:o}),this._client.send("Emulation.setTouchEmulationEnabled",{enabled:s})]);const a=this._emulatingMobile!==t||this._hasTouch!==s;this._emulatingMobile=t;this._hasTouch=s;return a}}t.EmulationManager=EmulationManager},29554:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.puppeteerErrors=t.TimeoutError=void 0;class CustomError extends Error{constructor(e){super(e);this.name=this.constructor.name;Error.captureStackTrace(this,this.constructor)}}class TimeoutError extends CustomError{}t.TimeoutError=TimeoutError;t.puppeteerErrors={TimeoutError:TimeoutError}},2680:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.EventEmitter=void 0;const i=n(r(78229));class EventEmitter{constructor(){this.eventsMap=new Map;this.emitter=i.default(this.eventsMap)}on(e,t){this.emitter.on(e,t);return this}off(e,t){this.emitter.off(e,t);return this}removeListener(e,t){this.off(e,t);return this}addListener(e,t){this.on(e,t);return this}emit(e,t){this.emitter.emit(e,t);return this.eventListenersCount(e)>0}once(e,t){const r=n=>{t(n);this.off(e,r)};return this.on(e,r)}listenerCount(e){return this.eventListenersCount(e)}removeAllListeners(e){if(e){this.eventsMap.delete(e)}else{this.eventsMap.clear()}return this}eventListenersCount(e){return this.eventsMap.has(e)?this.eventsMap.get(e).length:0}}t.EventEmitter=EventEmitter},59574:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExecutionContext=t.EVALUATION_SCRIPT_URL=void 0;const n=r(85668);const i=r(47674);const o=r(79272);t.EVALUATION_SCRIPT_URL="__puppeteer_evaluation_script__";const s=/^[\040\t]*\/\/[@#] sourceURL=\s*(\S*?)\s*$/m;class ExecutionContext{constructor(e,t,r){this._client=e;this._world=r;this._contextId=t.id}frame(){return this._world?this._world.frame():null}async evaluate(e,...t){return await this._evaluateInternal(true,e,...t)}async evaluateHandle(e,...t){return this._evaluateInternal(false,e,...t)}async _evaluateInternal(e,r,...n){const a=`//# sourceURL=${t.EVALUATION_SCRIPT_URL}`;if(i.helper.isString(r)){const t=this._contextId;const n=r;const l=s.test(n)?n:n+"\n"+a;const{exceptionDetails:c,result:u}=await this._client.send("Runtime.evaluate",{expression:l,contextId:t,returnByValue:e,awaitPromise:true,userGesture:true}).catch(rewriteError);if(c)throw new Error("Evaluation failed: "+i.helper.getExceptionMessage(c));return e?i.helper.valueFromRemoteObject(u):o.createJSHandle(this,u)}if(typeof r!=="function")throw new Error(`Expected to get |string| or |function| as the first argument, but got "${r}" instead.`);let l=r.toString();try{new Function("("+l+")")}catch(e){if(l.startsWith("async "))l="async function "+l.substring("async ".length);else l="function "+l;try{new Function("("+l+")")}catch(e){throw new Error("Passed function is not well-serializable!")}}let c;try{c=this._client.send("Runtime.callFunctionOn",{functionDeclaration:l+"\n"+a+"\n",executionContextId:this._contextId,arguments:n.map(convertArgument.bind(this)),returnByValue:e,awaitPromise:true,userGesture:true})}catch(e){if(e instanceof TypeError&&e.message.startsWith("Converting circular structure to JSON"))e.message+=" Are you passing a nested JSHandle?";throw e}const{exceptionDetails:u,result:d}=await c.catch(rewriteError);if(u)throw new Error("Evaluation failed: "+i.helper.getExceptionMessage(u));return e?i.helper.valueFromRemoteObject(d):o.createJSHandle(this,d);function convertArgument(e){if(typeof e==="bigint")return{unserializableValue:`${e.toString()}n`};if(Object.is(e,-0))return{unserializableValue:"-0"};if(Object.is(e,Infinity))return{unserializableValue:"Infinity"};if(Object.is(e,-Infinity))return{unserializableValue:"-Infinity"};if(Object.is(e,NaN))return{unserializableValue:"NaN"};const t=e&&e instanceof o.JSHandle?e:null;if(t){if(t._context!==this)throw new Error("JSHandles can be evaluated only in the context they were created!");if(t._disposed)throw new Error("JSHandle is disposed!");if(t._remoteObject.unserializableValue)return{unserializableValue:t._remoteObject.unserializableValue};if(!t._remoteObject.objectId)return{value:t._remoteObject.value};return{objectId:t._remoteObject.objectId}}return{value:e}}function rewriteError(e){if(e.message.includes("Object reference chain is too long"))return{result:{type:"undefined"}};if(e.message.includes("Object couldn't be returned by value"))return{result:{type:"undefined"}};if(e.message.endsWith("Cannot find context with specified id")||e.message.endsWith("Inspected target navigated or closed"))throw new Error("Execution context was destroyed, most likely because of a navigation.");throw e}}async queryObjects(e){n.assert(!e._disposed,"Prototype JSHandle is disposed!");n.assert(e._remoteObject.objectId,"Prototype JSHandle must not be referencing primitive value");const t=await this._client.send("Runtime.queryObjects",{prototypeObjectId:e._remoteObject.objectId});return o.createJSHandle(this,t.objects)}async _adoptBackendNodeId(e){const{object:t}=await this._client.send("DOM.resolveNode",{backendNodeId:e,executionContextId:this._contextId});return o.createJSHandle(this,t)}async _adoptElementHandle(e){n.assert(e.executionContext()!==this,"Cannot adopt handle that already belongs to this execution context");n.assert(this._world,"Cannot adopt handle without DOMWorld");const t=await this._client.send("DOM.describeNode",{objectId:e._remoteObject.objectId});return this._adoptBackendNodeId(t.node.backendNodeId)}}t.ExecutionContext=ExecutionContext},23254:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.FileChooser=void 0;const n=r(85668);class FileChooser{constructor(e,t){this._handled=false;this._element=e;this._multiple=t.mode!=="selectSingle"}isMultiple(){return this._multiple}async accept(e){n.assert(!this._handled,"Cannot accept FileChooser which is already handled!");this._handled=true;await this._element.uploadFile(...e)}async cancel(){n.assert(!this._handled,"Cannot cancel FileChooser which is already handled!");this._handled=true}}t.FileChooser=FileChooser},71886:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Frame=t.FrameManager=t.FrameManagerEmittedEvents=void 0;const n=r(49259);const i=r(2680);const o=r(85668);const s=r(47674);const a=r(59574);const l=r(54954);const c=r(5295);const u=r(97966);const d="__puppeteer_utility_world__";t.FrameManagerEmittedEvents={FrameAttached:Symbol("FrameManager.FrameAttached"),FrameNavigated:Symbol("FrameManager.FrameNavigated"),FrameDetached:Symbol("FrameManager.FrameDetached"),LifecycleEvent:Symbol("FrameManager.LifecycleEvent"),FrameNavigatedWithinDocument:Symbol("FrameManager.FrameNavigatedWithinDocument"),ExecutionContextCreated:Symbol("FrameManager.ExecutionContextCreated"),ExecutionContextDestroyed:Symbol("FrameManager.ExecutionContextDestroyed")};class FrameManager extends i.EventEmitter{constructor(e,t,r,n){super();this._frames=new Map;this._contextIdToContext=new Map;this._isolatedWorlds=new Set;this._client=e;this._page=t;this._networkManager=new u.NetworkManager(e,r,this);this._timeoutSettings=n;this._client.on("Page.frameAttached",e=>this._onFrameAttached(e.frameId,e.parentFrameId));this._client.on("Page.frameNavigated",e=>this._onFrameNavigated(e.frame));this._client.on("Page.navigatedWithinDocument",e=>this._onFrameNavigatedWithinDocument(e.frameId,e.url));this._client.on("Page.frameDetached",e=>this._onFrameDetached(e.frameId));this._client.on("Page.frameStoppedLoading",e=>this._onFrameStoppedLoading(e.frameId));this._client.on("Runtime.executionContextCreated",e=>this._onExecutionContextCreated(e.context));this._client.on("Runtime.executionContextDestroyed",e=>this._onExecutionContextDestroyed(e.executionContextId));this._client.on("Runtime.executionContextsCleared",()=>this._onExecutionContextsCleared());this._client.on("Page.lifecycleEvent",e=>this._onLifecycleEvent(e));this._client.on("Target.attachedToTarget",async e=>this._onFrameMoved(e))}async initialize(){const e=await Promise.all([this._client.send("Page.enable"),this._client.send("Page.getFrameTree")]);const{frameTree:t}=e[1];this._handleFrameTree(t);await Promise.all([this._client.send("Page.setLifecycleEventsEnabled",{enabled:true}),this._client.send("Runtime.enable").then(()=>this._ensureIsolatedWorld(d)),this._networkManager.initialize()])}networkManager(){return this._networkManager}async navigateFrame(e,t,r={}){assertNoLegacyNavigationOptions(r);const{referer:n=this._networkManager.extraHTTPHeaders()["referer"],waitUntil:i=["load"],timeout:o=this._timeoutSettings.navigationTimeout()}=r;const s=new l.LifecycleWatcher(this,e,i,o);let a=false;let c=await Promise.race([navigate(this._client,t,n,e._id),s.timeoutOrTerminationPromise()]);if(!c){c=await Promise.race([s.timeoutOrTerminationPromise(),a?s.newDocumentNavigationPromise():s.sameDocumentNavigationPromise()])}s.dispose();if(c)throw c;return s.navigationResponse();async function navigate(e,t,r,n){try{const i=await e.send("Page.navigate",{url:t,referrer:r,frameId:n});a=!!i.loaderId;return i.errorText?new Error(`${i.errorText} at ${t}`):null}catch(e){return e}}}async waitForFrameNavigation(e,t={}){assertNoLegacyNavigationOptions(t);const{waitUntil:r=["load"],timeout:n=this._timeoutSettings.navigationTimeout()}=t;const i=new l.LifecycleWatcher(this,e,r,n);const o=await Promise.race([i.timeoutOrTerminationPromise(),i.sameDocumentNavigationPromise(),i.newDocumentNavigationPromise()]);i.dispose();if(o)throw o;return i.navigationResponse()}async _onFrameMoved(e){if(e.targetInfo.type!=="iframe"){return}n.debug("puppeteer:frame")(`The frame '${e.targetInfo.targetId}' moved to another session. `+`Out-of-process iframes (OOPIF) are not supported by Puppeteer yet. `+`https://github.com/puppeteer/puppeteer/issues/2548`)}_onLifecycleEvent(e){const r=this._frames.get(e.frameId);if(!r)return;r._onLifecycleEvent(e.loaderId,e.name);this.emit(t.FrameManagerEmittedEvents.LifecycleEvent,r)}_onFrameStoppedLoading(e){const r=this._frames.get(e);if(!r)return;r._onLoadingStopped();this.emit(t.FrameManagerEmittedEvents.LifecycleEvent,r)}_handleFrameTree(e){if(e.frame.parentId)this._onFrameAttached(e.frame.id,e.frame.parentId);this._onFrameNavigated(e.frame);if(!e.childFrames)return;for(const t of e.childFrames)this._handleFrameTree(t)}page(){return this._page}mainFrame(){return this._mainFrame}frames(){return Array.from(this._frames.values())}frame(e){return this._frames.get(e)||null}_onFrameAttached(e,r){if(this._frames.has(e))return;o.assert(r);const n=this._frames.get(r);const i=new Frame(this,n,e);this._frames.set(i._id,i);this.emit(t.FrameManagerEmittedEvents.FrameAttached,i)}_onFrameNavigated(e){const r=!e.parentId;let n=r?this._mainFrame:this._frames.get(e.id);o.assert(r||n,"We either navigate top level or have old version of the navigated frame");if(n){for(const e of n.childFrames())this._removeFramesRecursively(e)}if(r){if(n){this._frames.delete(n._id);n._id=e.id}else{n=new Frame(this,null,e.id)}this._frames.set(e.id,n);this._mainFrame=n}n._navigated(e);this.emit(t.FrameManagerEmittedEvents.FrameNavigated,n)}async _ensureIsolatedWorld(e){if(this._isolatedWorlds.has(e))return;this._isolatedWorlds.add(e);await this._client.send("Page.addScriptToEvaluateOnNewDocument",{source:`//# sourceURL=${a.EVALUATION_SCRIPT_URL}`,worldName:e}),await Promise.all(this.frames().map(t=>this._client.send("Page.createIsolatedWorld",{frameId:t._id,grantUniveralAccess:true,worldName:e}).catch(s.debugError)))}_onFrameNavigatedWithinDocument(e,r){const n=this._frames.get(e);if(!n)return;n._navigatedWithinDocument(r);this.emit(t.FrameManagerEmittedEvents.FrameNavigatedWithinDocument,n);this.emit(t.FrameManagerEmittedEvents.FrameNavigated,n)}_onFrameDetached(e){const t=this._frames.get(e);if(t)this._removeFramesRecursively(t)}_onExecutionContextCreated(e){const t=e.auxData;const r=t?t.frameId:null;const n=this._frames.get(r)||null;let i=null;if(n){if(e.auxData&&!!e.auxData["isDefault"]){i=n._mainWorld}else if(e.name===d&&!n._secondaryWorld._hasContext()){i=n._secondaryWorld}}if(e.auxData&&e.auxData["type"]==="isolated")this._isolatedWorlds.add(e.name);const o=new a.ExecutionContext(this._client,e,i);if(i)i._setContext(o);this._contextIdToContext.set(e.id,o)}_onExecutionContextDestroyed(e){const t=this._contextIdToContext.get(e);if(!t)return;this._contextIdToContext.delete(e);if(t._world)t._world._setContext(null)}_onExecutionContextsCleared(){for(const e of this._contextIdToContext.values()){if(e._world)e._world._setContext(null)}this._contextIdToContext.clear()}executionContextById(e){const t=this._contextIdToContext.get(e);o.assert(t,"INTERNAL ERROR: missing context with id = "+e);return t}_removeFramesRecursively(e){for(const t of e.childFrames())this._removeFramesRecursively(t);e._detach();this._frames.delete(e._id);this.emit(t.FrameManagerEmittedEvents.FrameDetached,e)}}t.FrameManager=FrameManager;class Frame{constructor(e,t,r){this._url="";this._detached=false;this._loaderId="";this._lifecycleEvents=new Set;this._frameManager=e;this._parentFrame=t;this._url="";this._id=r;this._detached=false;this._loaderId="";this._mainWorld=new c.DOMWorld(e,this,e._timeoutSettings);this._secondaryWorld=new c.DOMWorld(e,this,e._timeoutSettings);this._childFrames=new Set;if(this._parentFrame)this._parentFrame._childFrames.add(this)}async goto(e,t={}){return await this._frameManager.navigateFrame(this,e,t)}async waitForNavigation(e={}){return await this._frameManager.waitForFrameNavigation(this,e)}executionContext(){return this._mainWorld.executionContext()}async evaluateHandle(e,...t){return this._mainWorld.evaluateHandle(e,...t)}async evaluate(e,...t){return this._mainWorld.evaluate(e,...t)}async $(e){return this._mainWorld.$(e)}async $x(e){return this._mainWorld.$x(e)}async $eval(e,t,...r){return this._mainWorld.$eval(e,t,...r)}async $$eval(e,t,...r){return this._mainWorld.$$eval(e,t,...r)}async $$(e){return this._mainWorld.$$(e)}async content(){return this._secondaryWorld.content()}async setContent(e,t={}){return this._secondaryWorld.setContent(e,t)}name(){return this._name||""}url(){return this._url}parentFrame(){return this._parentFrame}childFrames(){return Array.from(this._childFrames)}isDetached(){return this._detached}async addScriptTag(e){return this._mainWorld.addScriptTag(e)}async addStyleTag(e){return this._mainWorld.addStyleTag(e)}async click(e,t={}){return this._secondaryWorld.click(e,t)}async focus(e){return this._secondaryWorld.focus(e)}async hover(e){return this._secondaryWorld.hover(e)}select(e,...t){return this._secondaryWorld.select(e,...t)}async tap(e){return this._secondaryWorld.tap(e)}async type(e,t,r){return this._mainWorld.type(e,t,r)}waitFor(e,t={},...r){const n="//";console.warn("waitFor is deprecated and will be removed in a future release. See https://github.com/puppeteer/puppeteer/issues/6214 for details and how to migrate your code.");if(s.helper.isString(e)){const r=e;if(r.startsWith(n))return this.waitForXPath(r,t);return this.waitForSelector(r,t)}if(s.helper.isNumber(e))return new Promise(t=>setTimeout(t,e));if(typeof e==="function")return this.waitForFunction(e,t,...r);return Promise.reject(new Error("Unsupported target type: "+typeof e))}waitForTimeout(e){return new Promise(t=>{setTimeout(t,e)})}async waitForSelector(e,t={}){const r=await this._secondaryWorld.waitForSelector(e,t);if(!r)return null;const n=await this._mainWorld.executionContext();const i=await n._adoptElementHandle(r);await r.dispose();return i}async waitForXPath(e,t={}){const r=await this._secondaryWorld.waitForXPath(e,t);if(!r)return null;const n=await this._mainWorld.executionContext();const i=await n._adoptElementHandle(r);await r.dispose();return i}waitForFunction(e,t={},...r){return this._mainWorld.waitForFunction(e,t,...r)}async title(){return this._secondaryWorld.title()}_navigated(e){this._name=e.name;this._url=`${e.url}${e.urlFragment||""}`}_navigatedWithinDocument(e){this._url=e}_onLifecycleEvent(e,t){if(t==="init"){this._loaderId=e;this._lifecycleEvents.clear()}this._lifecycleEvents.add(t)}_onLoadingStopped(){this._lifecycleEvents.add("DOMContentLoaded");this._lifecycleEvents.add("load")}_detach(){this._detached=true;this._mainWorld._detach();this._secondaryWorld._detach();if(this._parentFrame)this._parentFrame._childFrames.delete(this);this._parentFrame=null}}t.Frame=Frame;function assertNoLegacyNavigationOptions(e){o.assert(e["networkIdleTimeout"]===undefined,"ERROR: networkIdleTimeout option is no longer supported.");o.assert(e["networkIdleInflight"]===undefined,"ERROR: networkIdleInflight option is no longer supported.");o.assert(e.waitUntil!=="networkidle",'ERROR: "networkidle" option is no longer supported. Use "networkidle2" instead')}},68610:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.HTTPRequest=void 0;const n=r(85668);const i=r(47674);class HTTPRequest{constructor(e,t,r,n,i,o){this._failureText=null;this._response=null;this._fromMemoryCache=false;this._interceptionHandled=false;this._headers={};this._client=e;this._requestId=i.requestId;this._isNavigationRequest=i.requestId===i.loaderId&&i.type==="Document";this._interceptionId=r;this._allowInterception=n;this._url=i.request.url;this._resourceType=i.type.toLowerCase();this._method=i.request.method;this._postData=i.request.postData;this._frame=t;this._redirectChain=o;for(const e of Object.keys(i.request.headers))this._headers[e.toLowerCase()]=i.request.headers[e]}url(){return this._url}resourceType(){return this._resourceType}method(){return this._method}postData(){return this._postData}headers(){return this._headers}response(){return this._response}frame(){return this._frame}isNavigationRequest(){return this._isNavigationRequest}redirectChain(){return this._redirectChain.slice()}failure(){if(!this._failureText)return null;return{errorText:this._failureText}}async continue(e={}){if(this._url.startsWith("data:"))return;n.assert(this._allowInterception,"Request Interception is not enabled!");n.assert(!this._interceptionHandled,"Request is already handled!");const{url:t,method:r,postData:o,headers:s}=e;this._interceptionHandled=true;const a=o?Buffer.from(o).toString("base64"):undefined;await this._client.send("Fetch.continueRequest",{requestId:this._interceptionId,url:t,method:r,postData:a,headers:s?headersArray(s):undefined}).catch(e=>{i.debugError(e)})}async respond(e){if(this._url.startsWith("data:"))return;n.assert(this._allowInterception,"Request Interception is not enabled!");n.assert(!this._interceptionHandled,"Request is already handled!");this._interceptionHandled=true;const t=e.body&&i.helper.isString(e.body)?Buffer.from(e.body):e.body||null;const r={};if(e.headers){for(const t of Object.keys(e.headers))r[t.toLowerCase()]=e.headers[t]}if(e.contentType)r["content-type"]=e.contentType;if(t&&!("content-length"in r))r["content-length"]=String(Buffer.byteLength(t));await this._client.send("Fetch.fulfillRequest",{requestId:this._interceptionId,responseCode:e.status||200,responsePhrase:s[e.status||200],responseHeaders:headersArray(r),body:t?t.toString("base64"):undefined}).catch(e=>{i.debugError(e)})}async abort(e="failed"){if(this._url.startsWith("data:"))return;const t=o[e];n.assert(t,"Unknown error code: "+e);n.assert(this._allowInterception,"Request Interception is not enabled!");n.assert(!this._interceptionHandled,"Request is already handled!");this._interceptionHandled=true;await this._client.send("Fetch.failRequest",{requestId:this._interceptionId,errorReason:t}).catch(e=>{i.debugError(e)})}}t.HTTPRequest=HTTPRequest;const o={aborted:"Aborted",accessdenied:"AccessDenied",addressunreachable:"AddressUnreachable",blockedbyclient:"BlockedByClient",blockedbyresponse:"BlockedByResponse",connectionaborted:"ConnectionAborted",connectionclosed:"ConnectionClosed",connectionfailed:"ConnectionFailed",connectionrefused:"ConnectionRefused",connectionreset:"ConnectionReset",internetdisconnected:"InternetDisconnected",namenotresolved:"NameNotResolved",timedout:"TimedOut",failed:"Failed"};function headersArray(e){const t=[];for(const r in e){if(!Object.is(e[r],undefined))t.push({name:r,value:e[r]+""})}return t}const s={100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early Hints",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",306:"Switch Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",510:"Not Extended",511:"Network Authentication Required"}},59206:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.HTTPResponse=void 0;const n=r(55468);class HTTPResponse{constructor(e,t,r){this._contentPromise=null;this._headers={};this._client=e;this._request=t;this._bodyLoadedPromise=new Promise(e=>{this._bodyLoadedPromiseFulfill=e});this._remoteAddress={ip:r.remoteIPAddress,port:r.remotePort};this._status=r.status;this._statusText=r.statusText;this._url=t.url();this._fromDiskCache=!!r.fromDiskCache;this._fromServiceWorker=!!r.fromServiceWorker;for(const e of Object.keys(r.headers))this._headers[e.toLowerCase()]=r.headers[e];this._securityDetails=r.securityDetails?new n.SecurityDetails(r.securityDetails):null}_resolveBody(e){return this._bodyLoadedPromiseFulfill(e)}remoteAddress(){return this._remoteAddress}url(){return this._url}ok(){return this._status===0||this._status>=200&&this._status<=299}status(){return this._status}statusText(){return this._statusText}headers(){return this._headers}securityDetails(){return this._securityDetails}buffer(){if(!this._contentPromise){this._contentPromise=this._bodyLoadedPromise.then(async e=>{if(e)throw e;const t=await this._client.send("Network.getResponseBody",{requestId:this._request._requestId});return Buffer.from(t.body,t.base64Encoded?"base64":"utf8")})}return this._contentPromise}async text(){const e=await this.buffer();return e.toString("utf8")}async json(){const e=await this.text();return JSON.parse(e)}request(){return this._request}fromCache(){return this._fromDiskCache||this._request._fromMemoryCache}fromServiceWorker(){return this._fromServiceWorker}frame(){return this._request.frame()}}t.HTTPResponse=HTTPResponse},80771:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Touchscreen=t.Mouse=t.Keyboard=void 0;const n=r(85668);const i=r(85654);class Keyboard{constructor(e){this._modifiers=0;this._pressedKeys=new Set;this._client=e}async down(e,t={text:undefined}){const r=this._keyDescriptionForString(e);const n=this._pressedKeys.has(r.code);this._pressedKeys.add(r.code);this._modifiers|=this._modifierBit(r.key);const i=t.text===undefined?r.text:t.text;await this._client.send("Input.dispatchKeyEvent",{type:i?"keyDown":"rawKeyDown",modifiers:this._modifiers,windowsVirtualKeyCode:r.keyCode,code:r.code,key:r.key,text:i,unmodifiedText:i,autoRepeat:n,location:r.location,isKeypad:r.location===3})}_modifierBit(e){if(e==="Alt")return 1;if(e==="Control")return 2;if(e==="Meta")return 4;if(e==="Shift")return 8;return 0}_keyDescriptionForString(e){const t=this._modifiers&8;const r={key:"",keyCode:0,code:"",text:"",location:0};const o=i.keyDefinitions[e];n.assert(o,`Unknown key: "${e}"`);if(o.key)r.key=o.key;if(t&&o.shiftKey)r.key=o.shiftKey;if(o.keyCode)r.keyCode=o.keyCode;if(t&&o.shiftKeyCode)r.keyCode=o.shiftKeyCode;if(o.code)r.code=o.code;if(o.location)r.location=o.location;if(r.key.length===1)r.text=r.key;if(o.text)r.text=o.text;if(t&&o.shiftText)r.text=o.shiftText;if(this._modifiers&~8)r.text="";return r}async up(e){const t=this._keyDescriptionForString(e);this._modifiers&=~this._modifierBit(t.key);this._pressedKeys.delete(t.code);await this._client.send("Input.dispatchKeyEvent",{type:"keyUp",modifiers:this._modifiers,key:t.key,windowsVirtualKeyCode:t.keyCode,code:t.code,location:t.location})}async sendCharacter(e){await this._client.send("Input.insertText",{text:e})}charIsKey(e){return!!i.keyDefinitions[e]}async type(e,t={}){const r=t.delay||null;for(const t of e){if(this.charIsKey(t)){await this.press(t,{delay:r})}else{if(r)await new Promise(e=>setTimeout(e,r));await this.sendCharacter(t)}}}async press(e,t={}){const{delay:r=null}=t;await this.down(e,t);if(r)await new Promise(e=>setTimeout(e,t.delay));await this.up(e)}}t.Keyboard=Keyboard;class Mouse{constructor(e,t){this._x=0;this._y=0;this._button="none";this._client=e;this._keyboard=t}async move(e,t,r={}){const{steps:n=1}=r;const i=this._x,o=this._y;this._x=e;this._y=t;for(let e=1;e<=n;e++){await this._client.send("Input.dispatchMouseEvent",{type:"mouseMoved",button:this._button,x:i+(this._x-i)*(e/n),y:o+(this._y-o)*(e/n),modifiers:this._keyboard._modifiers})}}async click(e,t,r={}){const{delay:n=null}=r;if(n!==null){await Promise.all([this.move(e,t),this.down(r)]);await new Promise(e=>setTimeout(e,n));await this.up(r)}else{await Promise.all([this.move(e,t),this.down(r),this.up(r)])}}async down(e={}){const{button:t="left",clickCount:r=1}=e;this._button=t;await this._client.send("Input.dispatchMouseEvent",{type:"mousePressed",button:t,x:this._x,y:this._y,modifiers:this._keyboard._modifiers,clickCount:r})}async up(e={}){const{button:t="left",clickCount:r=1}=e;this._button="none";await this._client.send("Input.dispatchMouseEvent",{type:"mouseReleased",button:t,x:this._x,y:this._y,modifiers:this._keyboard._modifiers,clickCount:r})}async wheel(e={}){const{deltaX:t=0,deltaY:r=0}=e;await this._client.send("Input.dispatchMouseEvent",{type:"mouseWheel",x:this._x,y:this._y,deltaX:t,deltaY:r,modifiers:this._keyboard._modifiers,pointerType:"mouse"})}}t.Mouse=Mouse;class Touchscreen{constructor(e,t){this._client=e;this._keyboard=t}async tap(e,t){await this._client.send("Runtime.evaluate",{expression:"new Promise(x => requestAnimationFrame(() => requestAnimationFrame(x)))",awaitPromise:true});const r=[{x:Math.round(e),y:Math.round(t)}];await this._client.send("Input.dispatchTouchEvent",{type:"touchStart",touchPoints:r,modifiers:this._keyboard._modifiers});await this._client.send("Input.dispatchTouchEvent",{type:"touchEnd",touchPoints:[],modifiers:this._keyboard._modifiers})}}t.Touchscreen=Touchscreen},79272:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);i(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.ElementHandle=t.JSHandle=t.createJSHandle=void 0;const s=r(85668);const a=r(47674);const l=r(90419);const c=r(23222);function createJSHandle(e,t){const r=e.frame();if(t.subtype==="node"&&r){const n=r._frameManager;return new ElementHandle(e,e._client,t,n.page(),n)}return new JSHandle(e,e._client,t)}t.createJSHandle=createJSHandle;class JSHandle{constructor(e,t,r){this._disposed=false;this._context=e;this._client=t;this._remoteObject=r}executionContext(){return this._context}async evaluate(e,...t){return await this.executionContext().evaluate(e,this,...t)}async evaluateHandle(e,...t){return await this.executionContext().evaluateHandle(e,this,...t)}async getProperty(e){const t=await this.evaluateHandle((e,t)=>{const r={__proto__:null};r[t]=e[t];return r},e);const r=await t.getProperties();const n=r.get(e)||null;await t.dispose();return n}async getProperties(){const e=await this._client.send("Runtime.getProperties",{objectId:this._remoteObject.objectId,ownProperties:true});const t=new Map;for(const r of e.result){if(!r.enumerable)continue;t.set(r.name,createJSHandle(this._context,r.value))}return t}async jsonValue(){if(this._remoteObject.objectId){const e=await this._client.send("Runtime.callFunctionOn",{functionDeclaration:"function() { return this; }",objectId:this._remoteObject.objectId,returnByValue:true,awaitPromise:true});return a.helper.valueFromRemoteObject(e.result)}return a.helper.valueFromRemoteObject(this._remoteObject)}asElement(){return null}async dispose(){if(this._disposed)return;this._disposed=true;await a.helper.releaseObject(this._client,this._remoteObject)}toString(){if(this._remoteObject.objectId){const e=this._remoteObject.subtype||this._remoteObject.type;return"JSHandle@"+e}return"JSHandle:"+a.helper.valueFromRemoteObject(this._remoteObject)}}t.JSHandle=JSHandle;class ElementHandle extends JSHandle{constructor(e,t,r,n,i){super(e,t,r);this._client=t;this._remoteObject=r;this._page=n;this._frameManager=i}asElement(){return this}async contentFrame(){const e=await this._client.send("DOM.describeNode",{objectId:this._remoteObject.objectId});if(typeof e.node.frameId!=="string")return null;return this._frameManager.frame(e.node.frameId)}async _scrollIntoViewIfNeeded(){const e=await this.evaluate(async(e,t)=>{if(!e.isConnected)return"Node is detached from document";if(e.nodeType!==Node.ELEMENT_NODE)return"Node is not of type HTMLElement";if(!t){e.scrollIntoView({block:"center",inline:"center",behavior:"instant"});return false}const r=await new Promise(t=>{const r=new IntersectionObserver(e=>{t(e[0].intersectionRatio);r.disconnect()});r.observe(e)});if(r!==1){e.scrollIntoView({block:"center",inline:"center",behavior:"instant"})}return false},this._page.isJavaScriptEnabled());if(e)throw new Error(e)}async _clickablePoint(){const[e,t]=await Promise.all([this._client.send("DOM.getContentQuads",{objectId:this._remoteObject.objectId}).catch(a.debugError),this._client.send("Page.getLayoutMetrics")]);if(!e||!e.quads.length)throw new Error("Node is either not visible or not an HTMLElement");const{clientWidth:r,clientHeight:n}=t.layoutViewport;const i=e.quads.map(e=>this._fromProtocolQuad(e)).map(e=>this._intersectQuadWithViewport(e,r,n)).filter(e=>computeQuadArea(e)>1);if(!i.length)throw new Error("Node is either not visible or not an HTMLElement");const o=i[0];let s=0;let l=0;for(const e of o){s+=e.x;l+=e.y}return{x:s/4,y:l/4}}_getBoxModel(){const e={objectId:this._remoteObject.objectId};return this._client.send("DOM.getBoxModel",e).catch(e=>a.debugError(e))}_fromProtocolQuad(e){return[{x:e[0],y:e[1]},{x:e[2],y:e[3]},{x:e[4],y:e[5]},{x:e[6],y:e[7]}]}_intersectQuadWithViewport(e,t,r){return e.map(e=>({x:Math.min(Math.max(e.x,0),t),y:Math.min(Math.max(e.y,0),r)}))}async hover(){await this._scrollIntoViewIfNeeded();const{x:e,y:t}=await this._clickablePoint();await this._page.mouse.move(e,t)}async click(e={}){await this._scrollIntoViewIfNeeded();const{x:t,y:r}=await this._clickablePoint();await this._page.mouse.click(t,r,e)}async select(...e){for(const t of e)s.assert(a.helper.isString(t),'Values must be strings. Found value "'+t+'" of type "'+typeof t+'"');return this.evaluate((e,t)=>{if(e.nodeName.toLowerCase()!=="select")throw new Error("Element is not a ");if(!c.isNode){throw new Error(`JSHandle#uploadFile can only be used in Node environments.`)}const n=await Promise.resolve().then(()=>o(r(85622)));const i=await Promise.resolve().then(()=>o(r(35747)));const a=await Promise.all(e.map(async e=>{const t=n.resolve(e);try{await i.promises.access(t,i.constants.R_OK)}catch(t){if(t.code==="ENOENT")throw new Error(`${e} does not exist or is not readable`)}return t}));const{objectId:l}=this._remoteObject;const{node:u}=await this._client.send("DOM.describeNode",{objectId:l});const{backendNodeId:d}=u;if(a.length===0){await this.evaluate(e=>{e.files=(new DataTransfer).files;e.dispatchEvent(new Event("input",{bubbles:true}));e.dispatchEvent(new Event("change",{bubbles:true}))})}else{await this._client.send("DOM.setFileInputFiles",{objectId:l,files:a,backendNodeId:d})}}async tap(){await this._scrollIntoViewIfNeeded();const{x:e,y:t}=await this._clickablePoint();await this._page.touchscreen.tap(e,t)}async focus(){await this.evaluate(e=>e.focus())}async type(e,t){await this.focus();await this._page.keyboard.type(e,t)}async press(e,t){await this.focus();await this._page.keyboard.press(e,t)}async boundingBox(){const e=await this._getBoxModel();if(!e)return null;const t=e.model.border;const r=Math.min(t[0],t[2],t[4],t[6]);const n=Math.min(t[1],t[3],t[5],t[7]);const i=Math.max(t[0],t[2],t[4],t[6])-r;const o=Math.max(t[1],t[3],t[5],t[7])-n;return{x:r,y:n,width:i,height:o}}async boxModel(){const e=await this._getBoxModel();if(!e)return null;const{content:t,padding:r,border:n,margin:i,width:o,height:s}=e.model;return{content:this._fromProtocolQuad(t),padding:this._fromProtocolQuad(r),border:this._fromProtocolQuad(n),margin:this._fromProtocolQuad(i),width:o,height:s}}async screenshot(e={}){let t=false;let r=await this.boundingBox();s.assert(r,"Node is either not visible or not an HTMLElement");const n=this._page.viewport();if(n&&(r.width>n.width||r.height>n.height)){const e={width:Math.max(n.width,Math.ceil(r.width)),height:Math.max(n.height,Math.ceil(r.height))};await this._page.setViewport(Object.assign({},n,e));t=true}await this._scrollIntoViewIfNeeded();r=await this.boundingBox();s.assert(r,"Node is either not visible or not an HTMLElement");s.assert(r.width!==0,"Node has 0 width.");s.assert(r.height!==0,"Node has 0 height.");const{layoutViewport:{pageX:i,pageY:o}}=await this._client.send("Page.getLayoutMetrics");const a=Object.assign({},r);a.x+=i;a.y+=o;const l=await this._page.screenshot(Object.assign({},{clip:a},e));if(t)await this._page.setViewport(n);return l}async $(e){const{updatedSelector:t,queryHandler:r}=l.getQueryHandlerAndSelector(e);return r.queryOne(this,t)}async $$(e){const{updatedSelector:t,queryHandler:r}=l.getQueryHandlerAndSelector(e);return r.queryAll(this,t)}async $eval(e,t,...r){const n=await this.$(e);if(!n)throw new Error(`Error: failed to find element matching selector "${e}"`);const i=await n.evaluate(t,...r);await n.dispose();return i}async $$eval(e,t,...r){const{updatedSelector:n,queryHandler:i}=l.getQueryHandlerAndSelector(e);const o=await i.queryAllArray(this,n);const s=await o.evaluate(t,...r);await o.dispose();return s}async $x(e){const t=await this.evaluateHandle((e,t)=>{const r=e.ownerDocument||e;const n=r.evaluate(t,e,null,XPathResult.ORDERED_NODE_ITERATOR_TYPE);const i=[];let o;while(o=n.iterateNext())i.push(o);return i},e);const r=await t.getProperties();await t.dispose();const n=[];for(const e of r.values()){const t=e.asElement();if(t)n.push(t)}return n}async isIntersectingViewport(){return await this.evaluate(async e=>{const t=await new Promise(t=>{const r=new IntersectionObserver(e=>{t(e[0].intersectionRatio);r.disconnect()});r.observe(e)});return t>0})}}t.ElementHandle=ElementHandle;function computeQuadArea(e){let t=0;for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.LifecycleWatcher=void 0;const n=r(85668);const i=r(47674);const o=r(29554);const s=r(71886);const a=r(97966);const l=r(58602);const c=new Map([["load","load"],["domcontentloaded","DOMContentLoaded"],["networkidle0","networkIdle"],["networkidle2","networkAlmostIdle"]]);class LifecycleWatcher{constructor(e,t,r,o){if(Array.isArray(r))r=r.slice();else if(typeof r==="string")r=[r];this._expectedLifecycle=r.map(e=>{const t=c.get(e);n.assert(t,"Unknown value for options.waitUntil: "+e);return t});this._frameManager=e;this._frame=t;this._initialLoaderId=t._loaderId;this._timeout=o;this._navigationRequest=null;this._eventListeners=[i.helper.addEventListener(e._client,l.CDPSessionEmittedEvents.Disconnected,()=>this._terminate(new Error("Navigation failed because browser has disconnected!"))),i.helper.addEventListener(this._frameManager,s.FrameManagerEmittedEvents.LifecycleEvent,this._checkLifecycleComplete.bind(this)),i.helper.addEventListener(this._frameManager,s.FrameManagerEmittedEvents.FrameNavigatedWithinDocument,this._navigatedWithinDocument.bind(this)),i.helper.addEventListener(this._frameManager,s.FrameManagerEmittedEvents.FrameDetached,this._onFrameDetached.bind(this)),i.helper.addEventListener(this._frameManager.networkManager(),a.NetworkManagerEmittedEvents.Request,this._onRequest.bind(this))];this._sameDocumentNavigationPromise=new Promise(e=>{this._sameDocumentNavigationCompleteCallback=e});this._lifecyclePromise=new Promise(e=>{this._lifecycleCallback=e});this._newDocumentNavigationPromise=new Promise(e=>{this._newDocumentNavigationCompleteCallback=e});this._timeoutPromise=this._createTimeoutPromise();this._terminationPromise=new Promise(e=>{this._terminationCallback=e});this._checkLifecycleComplete()}_onRequest(e){if(e.frame()!==this._frame||!e.isNavigationRequest())return;this._navigationRequest=e}_onFrameDetached(e){if(this._frame===e){this._terminationCallback.call(null,new Error("Navigating frame was detached"));return}this._checkLifecycleComplete()}navigationResponse(){return this._navigationRequest?this._navigationRequest.response():null}_terminate(e){this._terminationCallback.call(null,e)}sameDocumentNavigationPromise(){return this._sameDocumentNavigationPromise}newDocumentNavigationPromise(){return this._newDocumentNavigationPromise}lifecyclePromise(){return this._lifecyclePromise}timeoutOrTerminationPromise(){return Promise.race([this._timeoutPromise,this._terminationPromise])}_createTimeoutPromise(){if(!this._timeout)return new Promise(()=>{});const e="Navigation timeout of "+this._timeout+" ms exceeded";return new Promise(e=>this._maximumTimer=setTimeout(e,this._timeout)).then(()=>new o.TimeoutError(e))}_navigatedWithinDocument(e){if(e!==this._frame)return;this._hasSameDocumentNavigation=true;this._checkLifecycleComplete()}_checkLifecycleComplete(){if(!checkLifecycle(this._frame,this._expectedLifecycle))return;this._lifecycleCallback();if(this._frame._loaderId===this._initialLoaderId&&!this._hasSameDocumentNavigation)return;if(this._hasSameDocumentNavigation)this._sameDocumentNavigationCompleteCallback();if(this._frame._loaderId!==this._initialLoaderId)this._newDocumentNavigationCompleteCallback();function checkLifecycle(e,t){for(const r of t){if(!e._lifecycleEvents.has(r))return false}for(const r of e.childFrames()){if(!checkLifecycle(r,t))return false}return true}}dispose(){i.helper.removeEventListeners(this._eventListeners);clearTimeout(this._maximumTimer)}}t.LifecycleWatcher=LifecycleWatcher},97966:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NetworkManager=t.NetworkManagerEmittedEvents=void 0;const n=r(2680);const i=r(85668);const o=r(47674);const s=r(68610);const a=r(59206);t.NetworkManagerEmittedEvents={Request:Symbol("NetworkManager.Request"),Response:Symbol("NetworkManager.Response"),RequestFailed:Symbol("NetworkManager.RequestFailed"),RequestFinished:Symbol("NetworkManager.RequestFinished")};class NetworkManager extends n.EventEmitter{constructor(e,t,r){super();this._requestIdToRequest=new Map;this._requestIdToRequestWillBeSentEvent=new Map;this._extraHTTPHeaders={};this._offline=false;this._credentials=null;this._attemptedAuthentications=new Set;this._userRequestInterceptionEnabled=false;this._protocolRequestInterceptionEnabled=false;this._userCacheDisabled=false;this._requestIdToInterceptionId=new Map;this._client=e;this._ignoreHTTPSErrors=t;this._frameManager=r;this._client.on("Fetch.requestPaused",this._onRequestPaused.bind(this));this._client.on("Fetch.authRequired",this._onAuthRequired.bind(this));this._client.on("Network.requestWillBeSent",this._onRequestWillBeSent.bind(this));this._client.on("Network.requestServedFromCache",this._onRequestServedFromCache.bind(this));this._client.on("Network.responseReceived",this._onResponseReceived.bind(this));this._client.on("Network.loadingFinished",this._onLoadingFinished.bind(this));this._client.on("Network.loadingFailed",this._onLoadingFailed.bind(this))}async initialize(){await this._client.send("Network.enable");if(this._ignoreHTTPSErrors)await this._client.send("Security.setIgnoreCertificateErrors",{ignore:true})}async authenticate(e){this._credentials=e;await this._updateProtocolRequestInterception()}async setExtraHTTPHeaders(e){this._extraHTTPHeaders={};for(const t of Object.keys(e)){const r=e[t];i.assert(o.helper.isString(r),`Expected value of header "${t}" to be String, but "${typeof r}" is found.`);this._extraHTTPHeaders[t.toLowerCase()]=r}await this._client.send("Network.setExtraHTTPHeaders",{headers:this._extraHTTPHeaders})}extraHTTPHeaders(){return Object.assign({},this._extraHTTPHeaders)}async setOfflineMode(e){if(this._offline===e)return;this._offline=e;await this._client.send("Network.emulateNetworkConditions",{offline:this._offline,latency:0,downloadThroughput:-1,uploadThroughput:-1})}async setUserAgent(e){await this._client.send("Network.setUserAgentOverride",{userAgent:e})}async setCacheEnabled(e){this._userCacheDisabled=!e;await this._updateProtocolCacheDisabled()}async setRequestInterception(e){this._userRequestInterceptionEnabled=e;await this._updateProtocolRequestInterception()}async _updateProtocolRequestInterception(){const e=this._userRequestInterceptionEnabled||!!this._credentials;if(e===this._protocolRequestInterceptionEnabled)return;this._protocolRequestInterceptionEnabled=e;if(e){await Promise.all([this._updateProtocolCacheDisabled(),this._client.send("Fetch.enable",{handleAuthRequests:true,patterns:[{urlPattern:"*"}]})])}else{await Promise.all([this._updateProtocolCacheDisabled(),this._client.send("Fetch.disable")])}}async _updateProtocolCacheDisabled(){await this._client.send("Network.setCacheDisabled",{cacheDisabled:this._userCacheDisabled||this._protocolRequestInterceptionEnabled})}_onRequestWillBeSent(e){if(this._protocolRequestInterceptionEnabled&&!e.request.url.startsWith("data:")){const t=e.requestId;const r=this._requestIdToInterceptionId.get(t);if(r){this._onRequest(e,r);this._requestIdToInterceptionId.delete(t)}else{this._requestIdToRequestWillBeSentEvent.set(e.requestId,e)}return}this._onRequest(e,null)}_onAuthRequired(e){let t="Default";if(this._attemptedAuthentications.has(e.requestId)){t="CancelAuth"}else if(this._credentials){t="ProvideCredentials";this._attemptedAuthentications.add(e.requestId)}const{username:r,password:n}=this._credentials||{username:undefined,password:undefined};this._client.send("Fetch.continueWithAuth",{requestId:e.requestId,authChallengeResponse:{response:t,username:r,password:n}}).catch(o.debugError)}_onRequestPaused(e){if(!this._userRequestInterceptionEnabled&&this._protocolRequestInterceptionEnabled){this._client.send("Fetch.continueRequest",{requestId:e.requestId}).catch(o.debugError)}const t=e.networkId;const r=e.requestId;if(t&&this._requestIdToRequestWillBeSentEvent.has(t)){const e=this._requestIdToRequestWillBeSentEvent.get(t);this._onRequest(e,r);this._requestIdToRequestWillBeSentEvent.delete(t)}else{this._requestIdToInterceptionId.set(t,r)}}_onRequest(e,r){let n=[];if(e.redirectResponse){const t=this._requestIdToRequest.get(e.requestId);if(t){this._handleRequestRedirect(t,e.redirectResponse);n=t._redirectChain}}const i=e.frameId?this._frameManager.frame(e.frameId):null;const o=new s.HTTPRequest(this._client,i,r,this._userRequestInterceptionEnabled,e,n);this._requestIdToRequest.set(e.requestId,o);this.emit(t.NetworkManagerEmittedEvents.Request,o)}_onRequestServedFromCache(e){const t=this._requestIdToRequest.get(e.requestId);if(t)t._fromMemoryCache=true}_handleRequestRedirect(e,r){const n=new a.HTTPResponse(this._client,e,r);e._response=n;e._redirectChain.push(e);n._resolveBody(new Error("Response body is unavailable for redirect responses"));this._requestIdToRequest.delete(e._requestId);this._attemptedAuthentications.delete(e._interceptionId);this.emit(t.NetworkManagerEmittedEvents.Response,n);this.emit(t.NetworkManagerEmittedEvents.RequestFinished,e)}_onResponseReceived(e){const r=this._requestIdToRequest.get(e.requestId);if(!r)return;const n=new a.HTTPResponse(this._client,r,e.response);r._response=n;this.emit(t.NetworkManagerEmittedEvents.Response,n)}_onLoadingFinished(e){const r=this._requestIdToRequest.get(e.requestId);if(!r)return;if(r.response())r.response()._resolveBody(null);this._requestIdToRequest.delete(r._requestId);this._attemptedAuthentications.delete(r._interceptionId);this.emit(t.NetworkManagerEmittedEvents.RequestFinished,r)}_onLoadingFailed(e){const r=this._requestIdToRequest.get(e.requestId);if(!r)return;r._failureText=e.errorText;const n=r.response();if(n)n._resolveBody(null);this._requestIdToRequest.delete(r._requestId);this._attemptedAuthentications.delete(r._interceptionId);this.emit(t.NetworkManagerEmittedEvents.RequestFailed,r)}}t.NetworkManager=NetworkManager},95320:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.paperFormats=void 0;t.paperFormats={letter:{width:8.5,height:11},legal:{width:8.5,height:14},tabloid:{width:11,height:17},ledger:{width:17,height:11},a0:{width:33.1,height:46.8},a1:{width:23.4,height:33.1},a2:{width:16.54,height:23.4},a3:{width:11.7,height:16.54},a4:{width:8.27,height:11.7},a5:{width:5.83,height:8.27},a6:{width:4.13,height:5.83}}},4258:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);i(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.Page=void 0;const s=r(2680);const a=r(58602);const l=r(2915);const c=r(3449);const u=r(71886);const d=r(80771);const p=r(64189);const f=r(85668);const h=r(47674);const m=r(35204);const g=r(41418);const y=r(79272);const v=r(97966);const b=r(77601);const S=r(44261);const w=r(23254);const x=r(16051);const C=r(95320);const k=r(23222);class ScreenshotTaskQueue{constructor(){this._chain=Promise.resolve(undefined)}postTask(e){const t=this._chain.then(e);this._chain=t.catch(()=>{});return t}}class Page extends s.EventEmitter{constructor(e,t,r){super();this._closed=false;this._timeoutSettings=new S.TimeoutSettings;this._pageBindings=new Map;this._javascriptEnabled=true;this._workers=new Map;this._fileChooserInterceptors=new Set;this._client=e;this._target=t;this._keyboard=new d.Keyboard(e);this._mouse=new d.Mouse(e,this._keyboard);this._touchscreen=new d.Touchscreen(e,this._keyboard);this._accessibility=new b.Accessibility(e);this._frameManager=new u.FrameManager(e,this,r,this._timeoutSettings);this._emulationManager=new c.EmulationManager(e);this._tracing=new p.Tracing(e);this._coverage=new m.Coverage(e);this._screenshotTaskQueue=new ScreenshotTaskQueue;this._viewport=null;e.on("Target.attachedToTarget",t=>{if(t.targetInfo.type!=="worker"){e.send("Target.detachFromTarget",{sessionId:t.sessionId}).catch(h.debugError);return}const r=a.Connection.fromSession(e).session(t.sessionId);const n=new g.WebWorker(r,t.targetInfo.url,this._addConsoleMessage.bind(this),this._handleException.bind(this));this._workers.set(t.sessionId,n);this.emit("workercreated",n)});e.on("Target.detachedFromTarget",e=>{const t=this._workers.get(e.sessionId);if(!t)return;this.emit("workerdestroyed",t);this._workers.delete(e.sessionId)});this._frameManager.on(u.FrameManagerEmittedEvents.FrameAttached,e=>this.emit("frameattached",e));this._frameManager.on(u.FrameManagerEmittedEvents.FrameDetached,e=>this.emit("framedetached",e));this._frameManager.on(u.FrameManagerEmittedEvents.FrameNavigated,e=>this.emit("framenavigated",e));const n=this._frameManager.networkManager();n.on(v.NetworkManagerEmittedEvents.Request,e=>this.emit("request",e));n.on(v.NetworkManagerEmittedEvents.Response,e=>this.emit("response",e));n.on(v.NetworkManagerEmittedEvents.RequestFailed,e=>this.emit("requestfailed",e));n.on(v.NetworkManagerEmittedEvents.RequestFinished,e=>this.emit("requestfinished",e));this._fileChooserInterceptors=new Set;e.on("Page.domContentEventFired",()=>this.emit("domcontentloaded"));e.on("Page.loadEventFired",()=>this.emit("load"));e.on("Runtime.consoleAPICalled",e=>this._onConsoleAPI(e));e.on("Runtime.bindingCalled",e=>this._onBindingCalled(e));e.on("Page.javascriptDialogOpening",e=>this._onDialog(e));e.on("Runtime.exceptionThrown",e=>this._handleException(e.exceptionDetails));e.on("Inspector.targetCrashed",()=>this._onTargetCrashed());e.on("Performance.metrics",e=>this._emitMetrics(e));e.on("Log.entryAdded",e=>this._onLogEntryAdded(e));e.on("Page.fileChooserOpened",e=>this._onFileChooser(e));this._target._isClosedPromise.then(()=>{this.emit("close");this._closed=true})}static async create(e,t,r,n){const i=new Page(e,t,r);await i._initialize();if(n)await i.setViewport(n);return i}async _initialize(){await Promise.all([this._frameManager.initialize(),this._client.send("Target.setAutoAttach",{autoAttach:true,waitForDebuggerOnStart:false,flatten:true}),this._client.send("Performance.enable"),this._client.send("Log.enable")])}async _onFileChooser(e){if(!this._fileChooserInterceptors.size)return;const t=this._frameManager.frame(e.frameId);const r=await t.executionContext();const n=await r._adoptBackendNodeId(e.backendNodeId);const i=Array.from(this._fileChooserInterceptors);this._fileChooserInterceptors.clear();const o=new w.FileChooser(n,e);for(const e of i)e.call(null,o)}isJavaScriptEnabled(){return this._javascriptEnabled}async waitForFileChooser(e={}){if(!this._fileChooserInterceptors.size)await this._client.send("Page.setInterceptFileChooserDialog",{enabled:true});const{timeout:t=this._timeoutSettings.timeout()}=e;let r;const n=new Promise(e=>r=e);this._fileChooserInterceptors.add(r);return h.helper.waitWithTimeout(n,"waiting for file chooser",t).catch(e=>{this._fileChooserInterceptors.delete(r);throw e})}async setGeolocation(e){const{longitude:t,latitude:r,accuracy:n=0}=e;if(t<-180||t>180)throw new Error(`Invalid longitude "${t}": precondition -180 <= LONGITUDE <= 180 failed.`);if(r<-90||r>90)throw new Error(`Invalid latitude "${r}": precondition -90 <= LATITUDE <= 90 failed.`);if(n<0)throw new Error(`Invalid accuracy "${n}": precondition 0 <= ACCURACY failed.`);await this._client.send("Emulation.setGeolocationOverride",{longitude:t,latitude:r,accuracy:n})}target(){return this._target}browser(){return this._target.browser()}browserContext(){return this._target.browserContext()}_onTargetCrashed(){this.emit("error",new Error("Page crashed!"))}_onLogEntryAdded(e){const{level:t,text:r,args:n,source:i,url:o,lineNumber:s}=e.entry;if(n)n.map(e=>h.helper.releaseObject(this._client,e));if(i!=="worker")this.emit("console",new x.ConsoleMessage(t,r,[],[{url:o,lineNumber:s}]))}mainFrame(){return this._frameManager.mainFrame()}get keyboard(){return this._keyboard}get touchscreen(){return this._touchscreen}get coverage(){return this._coverage}get tracing(){return this._tracing}get accessibility(){return this._accessibility}frames(){return this._frameManager.frames()}workers(){return Array.from(this._workers.values())}async setRequestInterception(e){return this._frameManager.networkManager().setRequestInterception(e)}setOfflineMode(e){return this._frameManager.networkManager().setOfflineMode(e)}setDefaultNavigationTimeout(e){this._timeoutSettings.setDefaultNavigationTimeout(e)}setDefaultTimeout(e){this._timeoutSettings.setDefaultTimeout(e)}async $(e){return this.mainFrame().$(e)}async evaluateHandle(e,...t){const r=await this.mainFrame().executionContext();return r.evaluateHandle(e,...t)}async queryObjects(e){const t=await this.mainFrame().executionContext();return t.queryObjects(e)}async $eval(e,t,...r){return this.mainFrame().$eval(e,t,...r)}async $$eval(e,t,...r){return this.mainFrame().$$eval(e,t,...r)}async $$(e){return this.mainFrame().$$(e)}async $x(e){return this.mainFrame().$x(e)}async cookies(...e){const t=(await this._client.send("Network.getCookies",{urls:e.length?e:[this.url()]})).cookies;const r=["priority"];const n=e=>{for(const t of r)delete e[t];return e};return t.map(n)}async deleteCookie(...e){const t=this.url();for(const r of e){const e=Object.assign({},r);if(!r.url&&t.startsWith("http"))e.url=t;await this._client.send("Network.deleteCookies",e)}}async setCookie(...e){const t=this.url();const r=t.startsWith("http");const n=e.map(e=>{const n=Object.assign({},e);if(!n.url&&r)n.url=t;f.assert(n.url!=="about:blank",`Blank page can not have cookie "${n.name}"`);f.assert(!String.prototype.startsWith.call(n.url||"","data:"),`Data URL page can not have cookie "${n.name}"`);return n});await this.deleteCookie(...n);if(n.length)await this._client.send("Network.setCookies",{cookies:n})}async addScriptTag(e){return this.mainFrame().addScriptTag(e)}async addStyleTag(e){return this.mainFrame().addStyleTag(e)}async exposeFunction(e,t){if(this._pageBindings.has(e))throw new Error(`Failed to add page binding with name ${e}: window['${e}'] already exists!`);this._pageBindings.set(e,t);const r=h.helper.pageBindingInitString("exposedFun",e);await this._client.send("Runtime.addBinding",{name:e});await this._client.send("Page.addScriptToEvaluateOnNewDocument",{source:r});await Promise.all(this.frames().map(e=>e.evaluate(r).catch(h.debugError)))}async authenticate(e){return this._frameManager.networkManager().authenticate(e)}async setExtraHTTPHeaders(e){return this._frameManager.networkManager().setExtraHTTPHeaders(e)}async setUserAgent(e){return this._frameManager.networkManager().setUserAgent(e)}async metrics(){const e=await this._client.send("Performance.getMetrics");return this._buildMetricsObject(e.metrics)}_emitMetrics(e){this.emit("metrics",{title:e.title,metrics:this._buildMetricsObject(e.metrics)})}_buildMetricsObject(e){const t={};for(const r of e||[]){if(T.has(r.name))t[r.name]=r.value}return t}_handleException(e){const t=h.helper.getExceptionMessage(e);const r=new Error(t);r.stack="";this.emit("pageerror",r)}async _onConsoleAPI(e){if(e.executionContextId===0){return}const t=this._frameManager.executionContextById(e.executionContextId);const r=e.args.map(e=>y.createJSHandle(t,e));this._addConsoleMessage(e.type,r,e.stackTrace)}async _onBindingCalled(e){let t;try{t=JSON.parse(e.payload)}catch{return}const{type:r,name:n,seq:i,args:o}=t;if(r!=="exposedFun"||!this._pageBindings.has(n))return;let s=null;try{const e=await this._pageBindings.get(n)(...o);s=h.helper.pageBindingDeliverResultString(n,i,e)}catch(e){if(e instanceof Error)s=h.helper.pageBindingDeliverErrorString(n,i,e.message,e.stack);else s=h.helper.pageBindingDeliverErrorValueString(n,i,e)}this._client.send("Runtime.evaluate",{expression:s,contextId:e.executionContextId}).catch(h.debugError)}_addConsoleMessage(e,t,r){if(!this.listenerCount("console")){t.forEach(e=>e.dispose());return}const n=[];for(const e of t){const t=e._remoteObject;if(t.objectId)n.push(e.toString());else n.push(h.helper.valueFromRemoteObject(t))}const i=[];if(r){for(const e of r.callFrames){i.push({url:e.url,lineNumber:e.lineNumber,columnNumber:e.columnNumber})}}const o=new x.ConsoleMessage(e,n.join(" "),t,i);this.emit("console",o)}_onDialog(e){let t=null;const r=new Set(["alert","confirm","prompt","beforeunload"]);if(r.has(e.type)){t=e.type}f.assert(t,"Unknown javascript dialog type: "+e.type);const n=new l.Dialog(this._client,t,e.message,e.defaultPrompt);this.emit("dialog",n)}url(){return this.mainFrame().url()}async content(){return await this._frameManager.mainFrame().content()}async setContent(e,t={}){await this._frameManager.mainFrame().setContent(e,t)}async goto(e,t={}){return await this._frameManager.mainFrame().goto(e,t)}async reload(e){const t=await Promise.all([this.waitForNavigation(e),this._client.send("Page.reload")]);return t[0]}async waitForNavigation(e={}){return await this._frameManager.mainFrame().waitForNavigation(e)}_sessionClosePromise(){if(!this._disconnectPromise)this._disconnectPromise=new Promise(e=>this._client.once(a.CDPSessionEmittedEvents.Disconnected,()=>e(new Error("Target closed"))));return this._disconnectPromise}async waitForRequest(e,t={}){const{timeout:r=this._timeoutSettings.timeout()}=t;return h.helper.waitForEvent(this._frameManager.networkManager(),v.NetworkManagerEmittedEvents.Request,t=>{if(h.helper.isString(e))return e===t.url();if(typeof e==="function")return!!e(t);return false},r,this._sessionClosePromise())}async waitForResponse(e,t={}){const{timeout:r=this._timeoutSettings.timeout()}=t;return h.helper.waitForEvent(this._frameManager.networkManager(),v.NetworkManagerEmittedEvents.Response,t=>{if(h.helper.isString(e))return e===t.url();if(typeof e==="function")return!!e(t);return false},r,this._sessionClosePromise())}async goBack(e={}){return this._go(-1,e)}async goForward(e={}){return this._go(+1,e)}async _go(e,t){const r=await this._client.send("Page.getNavigationHistory");const n=r.entries[r.currentIndex+e];if(!n)return null;const i=await Promise.all([this.waitForNavigation(t),this._client.send("Page.navigateToHistoryEntry",{entryId:n.id})]);return i[0]}async bringToFront(){await this._client.send("Page.bringToFront")}async emulate(e){await Promise.all([this.setViewport(e.viewport),this.setUserAgent(e.userAgent)])}async setJavaScriptEnabled(e){if(this._javascriptEnabled===e)return;this._javascriptEnabled=e;await this._client.send("Emulation.setScriptExecutionDisabled",{value:!e})}async setBypassCSP(e){await this._client.send("Page.setBypassCSP",{enabled:e})}async emulateMediaType(e){f.assert(e==="screen"||e==="print"||e===null,"Unsupported media type: "+e);await this._client.send("Emulation.setEmulatedMedia",{media:e||""})}async emulateMediaFeatures(e){if(e===null)await this._client.send("Emulation.setEmulatedMedia",{features:null});if(Array.isArray(e)){e.every(e=>{const t=e.name;f.assert(/^prefers-(?:color-scheme|reduced-motion)$/.test(t),"Unsupported media feature: "+t);return true});await this._client.send("Emulation.setEmulatedMedia",{features:e})}}async emulateTimezone(e){try{await this._client.send("Emulation.setTimezoneOverride",{timezoneId:e||""})}catch(t){if(t.message.includes("Invalid timezone"))throw new Error(`Invalid timezone ID: ${e}`);throw t}}async emulateIdleState(e){if(e){await this._client.send("Emulation.setIdleOverride",{isUserActive:e.isUserActive,isScreenUnlocked:e.isScreenUnlocked})}else{await this._client.send("Emulation.clearIdleOverride")}}async emulateVisionDeficiency(e){const t=new Set(["none","achromatopsia","blurredVision","deuteranopia","protanopia","tritanopia"]);try{f.assert(!e||t.has(e),`Unsupported vision deficiency: ${e}`);await this._client.send("Emulation.setEmulatedVisionDeficiency",{type:e||"none"})}catch(e){throw e}}async setViewport(e){const t=await this._emulationManager.emulateViewport(e);this._viewport=e;if(t)await this.reload()}viewport(){return this._viewport}async evaluate(e,...t){return this._frameManager.mainFrame().evaluate(e,...t)}async evaluateOnNewDocument(e,...t){const r=h.helper.evaluationString(e,...t);await this._client.send("Page.addScriptToEvaluateOnNewDocument",{source:r})}async setCacheEnabled(e=true){await this._frameManager.networkManager().setCacheEnabled(e)}async screenshot(e={}){let t=null;if(e.type){f.assert(e.type==="png"||e.type==="jpeg","Unknown options.type value: "+e.type);t=e.type}else if(e.path){const r=e.path;const n=r.slice(r.lastIndexOf(".")+1).toLowerCase();if(n==="png")t="png";else if(n==="jpg"||n==="jpeg")t="jpeg";f.assert(t,`Unsupported screenshot type for extension \`.${n}\``)}if(!t)t="png";if(e.quality){f.assert(t==="jpeg","options.quality is unsupported for the "+t+" screenshots");f.assert(typeof e.quality==="number","Expected options.quality to be a number but found "+typeof e.quality);f.assert(Number.isInteger(e.quality),"Expected options.quality to be an integer");f.assert(e.quality>=0&&e.quality<=100,"Expected options.quality to be between 0 and 100 (inclusive), got "+e.quality)}f.assert(!e.clip||!e.fullPage,"options.clip and options.fullPage are exclusive");if(e.clip){f.assert(typeof e.clip.x==="number","Expected options.clip.x to be a number but found "+typeof e.clip.x);f.assert(typeof e.clip.y==="number","Expected options.clip.y to be a number but found "+typeof e.clip.y);f.assert(typeof e.clip.width==="number","Expected options.clip.width to be a number but found "+typeof e.clip.width);f.assert(typeof e.clip.height==="number","Expected options.clip.height to be a number but found "+typeof e.clip.height);f.assert(e.clip.width!==0,"Expected options.clip.width not to be 0.");f.assert(e.clip.height!==0,"Expected options.clip.height not to be 0.")}return this._screenshotTaskQueue.postTask(()=>this._screenshotTask(t,e))}async _screenshotTask(e,t){await this._client.send("Target.activateTarget",{targetId:this._target._targetId});let n=t.clip?processClip(t.clip):undefined;if(t.fullPage){const e=await this._client.send("Page.getLayoutMetrics");const t=Math.ceil(e.contentSize.width);const r=Math.ceil(e.contentSize.height);n={x:0,y:0,width:t,height:r,scale:1};const{isMobile:i=false,deviceScaleFactor:o=1,isLandscape:s=false}=this._viewport||{};const a=s?{angle:90,type:"landscapePrimary"}:{angle:0,type:"portraitPrimary"};await this._client.send("Emulation.setDeviceMetricsOverride",{mobile:i,width:t,height:r,deviceScaleFactor:o,screenOrientation:a})}const i=t.omitBackground&&e==="png";if(i)await this._client.send("Emulation.setDefaultBackgroundColorOverride",{color:{r:0,g:0,b:0,a:0}});const s=await this._client.send("Page.captureScreenshot",{format:e,quality:t.quality,clip:n});if(i)await this._client.send("Emulation.setDefaultBackgroundColorOverride");if(t.fullPage&&this._viewport)await this.setViewport(this._viewport);const a=t.encoding==="base64"?s.data:Buffer.from(s.data,"base64");if(!k.isNode&&t.path){throw new Error("Screenshots can only be written to a file path in a Node environment.")}const l=await Promise.resolve().then(()=>o(r(35747)));if(t.path)await l.promises.writeFile(t.path,a);return a;function processClip(e){const t=Math.round(e.x);const r=Math.round(e.y);const n=Math.round(e.width+e.x-t);const i=Math.round(e.height+e.y-r);return{x:t,y:r,width:n,height:i,scale:1}}}async pdf(e={}){const{scale:t=1,displayHeaderFooter:r=false,headerTemplate:n="",footerTemplate:i="",printBackground:o=false,landscape:s=false,pageRanges:a="",preferCSSPageSize:l=false,margin:c={},path:u=null}=e;let d=8.5;let p=11;if(e.format){const t=C.paperFormats[e.format.toLowerCase()];f.assert(t,"Unknown paper format: "+e.format);d=t.width;p=t.height}else{d=convertPrintParameterToInches(e.width)||d;p=convertPrintParameterToInches(e.height)||p}const m=convertPrintParameterToInches(c.top)||0;const g=convertPrintParameterToInches(c.left)||0;const y=convertPrintParameterToInches(c.bottom)||0;const v=convertPrintParameterToInches(c.right)||0;const b=await this._client.send("Page.printToPDF",{transferMode:"ReturnAsStream",landscape:s,displayHeaderFooter:r,headerTemplate:n,footerTemplate:i,printBackground:o,scale:t,paperWidth:d,paperHeight:p,marginTop:m,marginBottom:y,marginLeft:g,marginRight:v,pageRanges:a,preferCSSPageSize:l});return await h.helper.readProtocolStream(this._client,b.stream,u)}async title(){return this.mainFrame().title()}async close(e={runBeforeUnload:undefined}){f.assert(!!this._client._connection,"Protocol error: Connection closed. Most likely the page has been closed.");const t=!!e.runBeforeUnload;if(t){await this._client.send("Page.close")}else{await this._client._connection.send("Target.closeTarget",{targetId:this._target._targetId});await this._target._isClosedPromise}}isClosed(){return this._closed}get mouse(){return this._mouse}click(e,t={}){return this.mainFrame().click(e,t)}focus(e){return this.mainFrame().focus(e)}hover(e){return this.mainFrame().hover(e)}select(e,...t){return this.mainFrame().select(e,...t)}tap(e){return this.mainFrame().tap(e)}type(e,t,r){return this.mainFrame().type(e,t,r)}waitFor(e,t={},...r){return this.mainFrame().waitFor(e,t,...r)}waitForTimeout(e){return this.mainFrame().waitForTimeout(e)}waitForSelector(e,t={}){return this.mainFrame().waitForSelector(e,t)}waitForXPath(e,t={}){return this.mainFrame().waitForXPath(e,t)}waitForFunction(e,t={},...r){return this.mainFrame().waitForFunction(e,t,...r)}}t.Page=Page;const T=new Set(["Timestamp","Documents","Frames","JSEventListeners","Nodes","LayoutCount","RecalcStyleCount","LayoutDuration","RecalcStyleDuration","ScriptDuration","TaskDuration","JSHeapUsedSize","JSHeapTotalSize"]);const E={px:1,in:96,cm:37.8,mm:3.78};function convertPrintParameterToInches(e){if(typeof e==="undefined")return undefined;let t;if(h.helper.isNumber(e)){t=e}else if(h.helper.isString(e)){const r=e;let n=r.substring(r.length-2).toLowerCase();let i="";if(E.hasOwnProperty(n)){i=r.substring(0,r.length-2)}else{n="px";i=r}const o=Number(i);f.assert(!isNaN(o),"Failed to parse parameter value: "+r);t=o*E[n]}else{throw new Error("page.pdf() Cannot handle parameter type: "+typeof e)}return t/96}},39006:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Puppeteer=void 0;const n=r(29554);const i=r(34906);const o=r(90419);const s=r(10714);class Puppeteer{constructor(e){this._changedProduct=false;this._isPuppeteerCore=e.isPuppeteerCore}connect(e){return s.connectToBrowser(e)}get devices(){return i.devicesMap}get errors(){return n.puppeteerErrors}registerCustomQueryHandler(e,t){o.registerCustomQueryHandler(e,t)}unregisterCustomQueryHandler(e){o.unregisterCustomQueryHandler(e)}customQueryHandlerNames(){return o.customQueryHandlerNames()}clearCustomQueryHandlers(){o.clearCustomQueryHandlers()}}t.Puppeteer=Puppeteer},90419:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getQueryHandlerAndSelector=t.clearCustomQueryHandlers=t.customQueryHandlerNames=t.unregisterCustomQueryHandler=t.registerCustomQueryHandler=void 0;const n=r(79867);function makeQueryHandler(e){const t={};if(e.queryOne){t.queryOne=(async(t,r)=>{const n=await t.evaluateHandle(e.queryOne,r);const i=n.asElement();if(i)return i;await n.dispose();return null});t.waitFor=((t,r,n)=>t.waitForSelectorInPage(e.queryOne,r,n))}if(e.queryAll){t.queryAll=(async(t,r)=>{const n=await t.evaluateHandle(e.queryAll,r);const i=await n.getProperties();await n.dispose();const o=[];for(const e of i.values()){const t=e.asElement();if(t)o.push(t)}return o});t.queryAllArray=(async(t,r)=>{const n=await t.evaluateHandle(e.queryAll,r);const i=await n.evaluateHandle(e=>Array.from(e));return i})}return t}const i=makeQueryHandler({queryOne:(e,t)=>e.querySelector(t),queryAll:(e,t)=>e.querySelectorAll(t)});const o=makeQueryHandler({queryOne:(e,t)=>{let r=null;const n=e=>{const i=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT);do{const e=i.currentNode;if(e.shadowRoot){n(e.shadowRoot)}if(e instanceof ShadowRoot){continue}if(!r&&e.matches(t)){r=e}}while(!r&&i.nextNode())};if(e instanceof Document){e=e.documentElement}n(e);return r},queryAll:(e,t)=>{const r=[];const n=e=>{const i=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT);do{const e=i.currentNode;if(e.shadowRoot){n(e.shadowRoot)}if(e instanceof ShadowRoot){continue}if(e.matches(t)){r.push(e)}}while(i.nextNode())};if(e instanceof Document){e=e.documentElement}n(e);return r}});const s=new Map([["aria",n.ariaHandler],["pierce",o]]);const a=new Map(s);function registerCustomQueryHandler(e,t){if(a.get(e))throw new Error(`A custom query handler named "${e}" already exists`);const r=/^[a-zA-Z]+$/.test(e);if(!r)throw new Error(`Custom query handler names may only contain [a-zA-Z]`);const n=makeQueryHandler(t);a.set(e,n)}t.registerCustomQueryHandler=registerCustomQueryHandler;function unregisterCustomQueryHandler(e){if(a.has(e)&&!s.has(e)){a.delete(e)}}t.unregisterCustomQueryHandler=unregisterCustomQueryHandler;function customQueryHandlerNames(){return[...a.keys()].filter(e=>!s.has(e))}t.customQueryHandlerNames=customQueryHandlerNames;function clearCustomQueryHandlers(){customQueryHandlerNames().forEach(unregisterCustomQueryHandler)}t.clearCustomQueryHandlers=clearCustomQueryHandlers;function getQueryHandlerAndSelector(e){const t=/^[a-zA-Z]+\//.test(e);if(!t)return{updatedSelector:e,queryHandler:i};const r=e.indexOf("/");const n=e.slice(0,r);const o=e.slice(r+1);const s=a.get(n);if(!s)throw new Error(`Query set to use "${n}", but no query handler of that name was found`);return{updatedSelector:o,queryHandler:s}}t.getQueryHandlerAndSelector=getQueryHandlerAndSelector},55468:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SecurityDetails=void 0;class SecurityDetails{constructor(e){this._subjectName=e.subjectName;this._issuer=e.issuer;this._validFrom=e.validFrom;this._validTo=e.validTo;this._protocol=e.protocol;this._sanList=e.sanList}issuer(){return this._issuer}validFrom(){return this._validFrom}validTo(){return this._validTo}protocol(){return this._protocol}subjectName(){return this._subjectName}subjectAlternativeNames(){return this._sanList}}t.SecurityDetails=SecurityDetails},69668:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Target=void 0;const n=r(4258);const i=r(41418);class Target{constructor(e,t,r,n,i){this._targetInfo=e;this._browserContext=t;this._targetId=e.targetId;this._sessionFactory=r;this._ignoreHTTPSErrors=n;this._defaultViewport=i;this._pagePromise=null;this._workerPromise=null;this._initializedPromise=new Promise(e=>this._initializedCallback=e).then(async e=>{if(!e)return false;const t=this.opener();if(!t||!t._pagePromise||this.type()!=="page")return true;const r=await t._pagePromise;if(!r.listenerCount("popup"))return true;const n=await this.page();r.emit("popup",n);return true});this._isClosedPromise=new Promise(e=>this._closedCallback=e);this._isInitialized=this._targetInfo.type!=="page"||this._targetInfo.url!=="";if(this._isInitialized)this._initializedCallback(true)}createCDPSession(){return this._sessionFactory()}async page(){if((this._targetInfo.type==="page"||this._targetInfo.type==="background_page"||this._targetInfo.type==="webview")&&!this._pagePromise){this._pagePromise=this._sessionFactory().then(e=>n.Page.create(e,this,this._ignoreHTTPSErrors,this._defaultViewport))}return this._pagePromise}async worker(){if(this._targetInfo.type!=="service_worker"&&this._targetInfo.type!=="shared_worker")return null;if(!this._workerPromise){this._workerPromise=this._sessionFactory().then(e=>new i.WebWorker(e,this._targetInfo.url,()=>{},()=>{}))}return this._workerPromise}url(){return this._targetInfo.url}type(){const e=this._targetInfo.type;if(e==="page"||e==="background_page"||e==="service_worker"||e==="shared_worker"||e==="browser"||e==="webview")return e;return"other"}browser(){return this._browserContext.browser()}browserContext(){return this._browserContext}opener(){const{openerId:e}=this._targetInfo;if(!e)return null;return this.browser()._targets.get(e)}_targetInfoChanged(e){this._targetInfo=e;if(!this._isInitialized&&(this._targetInfo.type!=="page"||this._targetInfo.url!=="")){this._isInitialized=true;this._initializedCallback(true);return}}}t.Target=Target},44261:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TimeoutSettings=void 0;const r=3e4;class TimeoutSettings{constructor(){this._defaultTimeout=null;this._defaultNavigationTimeout=null}setDefaultTimeout(e){this._defaultTimeout=e}setDefaultNavigationTimeout(e){this._defaultNavigationTimeout=e}navigationTimeout(){if(this._defaultNavigationTimeout!==null)return this._defaultNavigationTimeout;if(this._defaultTimeout!==null)return this._defaultTimeout;return r}timeout(){if(this._defaultTimeout!==null)return this._defaultTimeout;return r}}t.TimeoutSettings=TimeoutSettings},64189:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Tracing=void 0;const n=r(85668);const i=r(47674);class Tracing{constructor(e){this._recording=false;this._path="";this._client=e}async start(e={}){n.assert(!this._recording,"Cannot start recording trace while already recording trace.");const t=["-*","devtools.timeline","v8.execute","disabled-by-default-devtools.timeline","disabled-by-default-devtools.timeline.frame","toplevel","blink.console","blink.user_timing","latencyInfo","disabled-by-default-devtools.timeline.stack","disabled-by-default-v8.cpu_profiler","disabled-by-default-v8.cpu_profiler.hires"];const{path:r=null,screenshots:i=false,categories:o=t}=e;if(i)o.push("disabled-by-default-devtools.screenshot");this._path=r;this._recording=true;await this._client.send("Tracing.start",{transferMode:"ReturnAsStream",categories:o.join(",")})}async stop(){let e;let t;const r=new Promise((r,n)=>{e=r;t=n});this._client.once("Tracing.tracingComplete",r=>{i.helper.readProtocolStream(this._client,r.stream,this._path).then(e,t)});await this._client.send("Tracing.end");this._recording=false;return r}}t.Tracing=Tracing},85654:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.keyDefinitions=void 0;t.keyDefinitions={0:{keyCode:48,key:"0",code:"Digit0"},1:{keyCode:49,key:"1",code:"Digit1"},2:{keyCode:50,key:"2",code:"Digit2"},3:{keyCode:51,key:"3",code:"Digit3"},4:{keyCode:52,key:"4",code:"Digit4"},5:{keyCode:53,key:"5",code:"Digit5"},6:{keyCode:54,key:"6",code:"Digit6"},7:{keyCode:55,key:"7",code:"Digit7"},8:{keyCode:56,key:"8",code:"Digit8"},9:{keyCode:57,key:"9",code:"Digit9"},Power:{key:"Power",code:"Power"},Eject:{key:"Eject",code:"Eject"},Abort:{keyCode:3,code:"Abort",key:"Cancel"},Help:{keyCode:6,code:"Help",key:"Help"},Backspace:{keyCode:8,code:"Backspace",key:"Backspace"},Tab:{keyCode:9,code:"Tab",key:"Tab"},Numpad5:{keyCode:12,shiftKeyCode:101,key:"Clear",code:"Numpad5",shiftKey:"5",location:3},NumpadEnter:{keyCode:13,code:"NumpadEnter",key:"Enter",text:"\r",location:3},Enter:{keyCode:13,code:"Enter",key:"Enter",text:"\r"},"\r":{keyCode:13,code:"Enter",key:"Enter",text:"\r"},"\n":{keyCode:13,code:"Enter",key:"Enter",text:"\r"},ShiftLeft:{keyCode:16,code:"ShiftLeft",key:"Shift",location:1},ShiftRight:{keyCode:16,code:"ShiftRight",key:"Shift",location:2},ControlLeft:{keyCode:17,code:"ControlLeft",key:"Control",location:1},ControlRight:{keyCode:17,code:"ControlRight",key:"Control",location:2},AltLeft:{keyCode:18,code:"AltLeft",key:"Alt",location:1},AltRight:{keyCode:18,code:"AltRight",key:"Alt",location:2},Pause:{keyCode:19,code:"Pause",key:"Pause"},CapsLock:{keyCode:20,code:"CapsLock",key:"CapsLock"},Escape:{keyCode:27,code:"Escape",key:"Escape"},Convert:{keyCode:28,code:"Convert",key:"Convert"},NonConvert:{keyCode:29,code:"NonConvert",key:"NonConvert"},Space:{keyCode:32,code:"Space",key:" "},Numpad9:{keyCode:33,shiftKeyCode:105,key:"PageUp",code:"Numpad9",shiftKey:"9",location:3},PageUp:{keyCode:33,code:"PageUp",key:"PageUp"},Numpad3:{keyCode:34,shiftKeyCode:99,key:"PageDown",code:"Numpad3",shiftKey:"3",location:3},PageDown:{keyCode:34,code:"PageDown",key:"PageDown"},End:{keyCode:35,code:"End",key:"End"},Numpad1:{keyCode:35,shiftKeyCode:97,key:"End",code:"Numpad1",shiftKey:"1",location:3},Home:{keyCode:36,code:"Home",key:"Home"},Numpad7:{keyCode:36,shiftKeyCode:103,key:"Home",code:"Numpad7",shiftKey:"7",location:3},ArrowLeft:{keyCode:37,code:"ArrowLeft",key:"ArrowLeft"},Numpad4:{keyCode:37,shiftKeyCode:100,key:"ArrowLeft",code:"Numpad4",shiftKey:"4",location:3},Numpad8:{keyCode:38,shiftKeyCode:104,key:"ArrowUp",code:"Numpad8",shiftKey:"8",location:3},ArrowUp:{keyCode:38,code:"ArrowUp",key:"ArrowUp"},ArrowRight:{keyCode:39,code:"ArrowRight",key:"ArrowRight"},Numpad6:{keyCode:39,shiftKeyCode:102,key:"ArrowRight",code:"Numpad6",shiftKey:"6",location:3},Numpad2:{keyCode:40,shiftKeyCode:98,key:"ArrowDown",code:"Numpad2",shiftKey:"2",location:3},ArrowDown:{keyCode:40,code:"ArrowDown",key:"ArrowDown"},Select:{keyCode:41,code:"Select",key:"Select"},Open:{keyCode:43,code:"Open",key:"Execute"},PrintScreen:{keyCode:44,code:"PrintScreen",key:"PrintScreen"},Insert:{keyCode:45,code:"Insert",key:"Insert"},Numpad0:{keyCode:45,shiftKeyCode:96,key:"Insert",code:"Numpad0",shiftKey:"0",location:3},Delete:{keyCode:46,code:"Delete",key:"Delete"},NumpadDecimal:{keyCode:46,shiftKeyCode:110,code:"NumpadDecimal",key:"\0",shiftKey:".",location:3},Digit0:{keyCode:48,code:"Digit0",shiftKey:")",key:"0"},Digit1:{keyCode:49,code:"Digit1",shiftKey:"!",key:"1"},Digit2:{keyCode:50,code:"Digit2",shiftKey:"@",key:"2"},Digit3:{keyCode:51,code:"Digit3",shiftKey:"#",key:"3"},Digit4:{keyCode:52,code:"Digit4",shiftKey:"$",key:"4"},Digit5:{keyCode:53,code:"Digit5",shiftKey:"%",key:"5"},Digit6:{keyCode:54,code:"Digit6",shiftKey:"^",key:"6"},Digit7:{keyCode:55,code:"Digit7",shiftKey:"&",key:"7"},Digit8:{keyCode:56,code:"Digit8",shiftKey:"*",key:"8"},Digit9:{keyCode:57,code:"Digit9",shiftKey:"(",key:"9"},KeyA:{keyCode:65,code:"KeyA",shiftKey:"A",key:"a"},KeyB:{keyCode:66,code:"KeyB",shiftKey:"B",key:"b"},KeyC:{keyCode:67,code:"KeyC",shiftKey:"C",key:"c"},KeyD:{keyCode:68,code:"KeyD",shiftKey:"D",key:"d"},KeyE:{keyCode:69,code:"KeyE",shiftKey:"E",key:"e"},KeyF:{keyCode:70,code:"KeyF",shiftKey:"F",key:"f"},KeyG:{keyCode:71,code:"KeyG",shiftKey:"G",key:"g"},KeyH:{keyCode:72,code:"KeyH",shiftKey:"H",key:"h"},KeyI:{keyCode:73,code:"KeyI",shiftKey:"I",key:"i"},KeyJ:{keyCode:74,code:"KeyJ",shiftKey:"J",key:"j"},KeyK:{keyCode:75,code:"KeyK",shiftKey:"K",key:"k"},KeyL:{keyCode:76,code:"KeyL",shiftKey:"L",key:"l"},KeyM:{keyCode:77,code:"KeyM",shiftKey:"M",key:"m"},KeyN:{keyCode:78,code:"KeyN",shiftKey:"N",key:"n"},KeyO:{keyCode:79,code:"KeyO",shiftKey:"O",key:"o"},KeyP:{keyCode:80,code:"KeyP",shiftKey:"P",key:"p"},KeyQ:{keyCode:81,code:"KeyQ",shiftKey:"Q",key:"q"},KeyR:{keyCode:82,code:"KeyR",shiftKey:"R",key:"r"},KeyS:{keyCode:83,code:"KeyS",shiftKey:"S",key:"s"},KeyT:{keyCode:84,code:"KeyT",shiftKey:"T",key:"t"},KeyU:{keyCode:85,code:"KeyU",shiftKey:"U",key:"u"},KeyV:{keyCode:86,code:"KeyV",shiftKey:"V",key:"v"},KeyW:{keyCode:87,code:"KeyW",shiftKey:"W",key:"w"},KeyX:{keyCode:88,code:"KeyX",shiftKey:"X",key:"x"},KeyY:{keyCode:89,code:"KeyY",shiftKey:"Y",key:"y"},KeyZ:{keyCode:90,code:"KeyZ",shiftKey:"Z",key:"z"},MetaLeft:{keyCode:91,code:"MetaLeft",key:"Meta",location:1},MetaRight:{keyCode:92,code:"MetaRight",key:"Meta",location:2},ContextMenu:{keyCode:93,code:"ContextMenu",key:"ContextMenu"},NumpadMultiply:{keyCode:106,code:"NumpadMultiply",key:"*",location:3},NumpadAdd:{keyCode:107,code:"NumpadAdd",key:"+",location:3},NumpadSubtract:{keyCode:109,code:"NumpadSubtract",key:"-",location:3},NumpadDivide:{keyCode:111,code:"NumpadDivide",key:"/",location:3},F1:{keyCode:112,code:"F1",key:"F1"},F2:{keyCode:113,code:"F2",key:"F2"},F3:{keyCode:114,code:"F3",key:"F3"},F4:{keyCode:115,code:"F4",key:"F4"},F5:{keyCode:116,code:"F5",key:"F5"},F6:{keyCode:117,code:"F6",key:"F6"},F7:{keyCode:118,code:"F7",key:"F7"},F8:{keyCode:119,code:"F8",key:"F8"},F9:{keyCode:120,code:"F9",key:"F9"},F10:{keyCode:121,code:"F10",key:"F10"},F11:{keyCode:122,code:"F11",key:"F11"},F12:{keyCode:123,code:"F12",key:"F12"},F13:{keyCode:124,code:"F13",key:"F13"},F14:{keyCode:125,code:"F14",key:"F14"},F15:{keyCode:126,code:"F15",key:"F15"},F16:{keyCode:127,code:"F16",key:"F16"},F17:{keyCode:128,code:"F17",key:"F17"},F18:{keyCode:129,code:"F18",key:"F18"},F19:{keyCode:130,code:"F19",key:"F19"},F20:{keyCode:131,code:"F20",key:"F20"},F21:{keyCode:132,code:"F21",key:"F21"},F22:{keyCode:133,code:"F22",key:"F22"},F23:{keyCode:134,code:"F23",key:"F23"},F24:{keyCode:135,code:"F24",key:"F24"},NumLock:{keyCode:144,code:"NumLock",key:"NumLock"},ScrollLock:{keyCode:145,code:"ScrollLock",key:"ScrollLock"},AudioVolumeMute:{keyCode:173,code:"AudioVolumeMute",key:"AudioVolumeMute"},AudioVolumeDown:{keyCode:174,code:"AudioVolumeDown",key:"AudioVolumeDown"},AudioVolumeUp:{keyCode:175,code:"AudioVolumeUp",key:"AudioVolumeUp"},MediaTrackNext:{keyCode:176,code:"MediaTrackNext",key:"MediaTrackNext"},MediaTrackPrevious:{keyCode:177,code:"MediaTrackPrevious",key:"MediaTrackPrevious"},MediaStop:{keyCode:178,code:"MediaStop",key:"MediaStop"},MediaPlayPause:{keyCode:179,code:"MediaPlayPause",key:"MediaPlayPause"},Semicolon:{keyCode:186,code:"Semicolon",shiftKey:":",key:";"},Equal:{keyCode:187,code:"Equal",shiftKey:"+",key:"="},NumpadEqual:{keyCode:187,code:"NumpadEqual",key:"=",location:3},Comma:{keyCode:188,code:"Comma",shiftKey:"<",key:","},Minus:{keyCode:189,code:"Minus",shiftKey:"_",key:"-"},Period:{keyCode:190,code:"Period",shiftKey:">",key:"."},Slash:{keyCode:191,code:"Slash",shiftKey:"?",key:"/"},Backquote:{keyCode:192,code:"Backquote",shiftKey:"~",key:"`"},BracketLeft:{keyCode:219,code:"BracketLeft",shiftKey:"{",key:"["},Backslash:{keyCode:220,code:"Backslash",shiftKey:"|",key:"\\"},BracketRight:{keyCode:221,code:"BracketRight",shiftKey:"}",key:"]"},Quote:{keyCode:222,code:"Quote",shiftKey:'"',key:"'"},AltGraph:{keyCode:225,code:"AltGraph",key:"AltGraph"},Props:{keyCode:247,code:"Props",key:"CrSel"},Cancel:{keyCode:3,key:"Cancel",code:"Abort"},Clear:{keyCode:12,key:"Clear",code:"Numpad5",location:3},Shift:{keyCode:16,key:"Shift",code:"ShiftLeft",location:1},Control:{keyCode:17,key:"Control",code:"ControlLeft",location:1},Alt:{keyCode:18,key:"Alt",code:"AltLeft",location:1},Accept:{keyCode:30,key:"Accept"},ModeChange:{keyCode:31,key:"ModeChange"}," ":{keyCode:32,key:" ",code:"Space"},Print:{keyCode:42,key:"Print"},Execute:{keyCode:43,key:"Execute",code:"Open"},"\0":{keyCode:46,key:"\0",code:"NumpadDecimal",location:3},a:{keyCode:65,key:"a",code:"KeyA"},b:{keyCode:66,key:"b",code:"KeyB"},c:{keyCode:67,key:"c",code:"KeyC"},d:{keyCode:68,key:"d",code:"KeyD"},e:{keyCode:69,key:"e",code:"KeyE"},f:{keyCode:70,key:"f",code:"KeyF"},g:{keyCode:71,key:"g",code:"KeyG"},h:{keyCode:72,key:"h",code:"KeyH"},i:{keyCode:73,key:"i",code:"KeyI"},j:{keyCode:74,key:"j",code:"KeyJ"},k:{keyCode:75,key:"k",code:"KeyK"},l:{keyCode:76,key:"l",code:"KeyL"},m:{keyCode:77,key:"m",code:"KeyM"},n:{keyCode:78,key:"n",code:"KeyN"},o:{keyCode:79,key:"o",code:"KeyO"},p:{keyCode:80,key:"p",code:"KeyP"},q:{keyCode:81,key:"q",code:"KeyQ"},r:{keyCode:82,key:"r",code:"KeyR"},s:{keyCode:83,key:"s",code:"KeyS"},t:{keyCode:84,key:"t",code:"KeyT"},u:{keyCode:85,key:"u",code:"KeyU"},v:{keyCode:86,key:"v",code:"KeyV"},w:{keyCode:87,key:"w",code:"KeyW"},x:{keyCode:88,key:"x",code:"KeyX"},y:{keyCode:89,key:"y",code:"KeyY"},z:{keyCode:90,key:"z",code:"KeyZ"},Meta:{keyCode:91,key:"Meta",code:"MetaLeft",location:1},"*":{keyCode:106,key:"*",code:"NumpadMultiply",location:3},"+":{keyCode:107,key:"+",code:"NumpadAdd",location:3},"-":{keyCode:109,key:"-",code:"NumpadSubtract",location:3},"/":{keyCode:111,key:"/",code:"NumpadDivide",location:3},";":{keyCode:186,key:";",code:"Semicolon"},"=":{keyCode:187,key:"=",code:"Equal"},",":{keyCode:188,key:",",code:"Comma"},".":{keyCode:190,key:".",code:"Period"},"`":{keyCode:192,key:"`",code:"Backquote"},"[":{keyCode:219,key:"[",code:"BracketLeft"},"\\":{keyCode:220,key:"\\",code:"Backslash"},"]":{keyCode:221,key:"]",code:"BracketRight"},"'":{keyCode:222,key:"'",code:"Quote"},Attn:{keyCode:246,key:"Attn"},CrSel:{keyCode:247,key:"CrSel",code:"Props"},ExSel:{keyCode:248,key:"ExSel"},EraseEof:{keyCode:249,key:"EraseEof"},Play:{keyCode:250,key:"Play"},ZoomOut:{keyCode:251,key:"ZoomOut"},")":{keyCode:48,key:")",code:"Digit0"},"!":{keyCode:49,key:"!",code:"Digit1"},"@":{keyCode:50,key:"@",code:"Digit2"},"#":{keyCode:51,key:"#",code:"Digit3"},$:{keyCode:52,key:"$",code:"Digit4"},"%":{keyCode:53,key:"%",code:"Digit5"},"^":{keyCode:54,key:"^",code:"Digit6"},"&":{keyCode:55,key:"&",code:"Digit7"},"(":{keyCode:57,key:"(",code:"Digit9"},A:{keyCode:65,key:"A",code:"KeyA"},B:{keyCode:66,key:"B",code:"KeyB"},C:{keyCode:67,key:"C",code:"KeyC"},D:{keyCode:68,key:"D",code:"KeyD"},E:{keyCode:69,key:"E",code:"KeyE"},F:{keyCode:70,key:"F",code:"KeyF"},G:{keyCode:71,key:"G",code:"KeyG"},H:{keyCode:72,key:"H",code:"KeyH"},I:{keyCode:73,key:"I",code:"KeyI"},J:{keyCode:74,key:"J",code:"KeyJ"},K:{keyCode:75,key:"K",code:"KeyK"},L:{keyCode:76,key:"L",code:"KeyL"},M:{keyCode:77,key:"M",code:"KeyM"},N:{keyCode:78,key:"N",code:"KeyN"},O:{keyCode:79,key:"O",code:"KeyO"},P:{keyCode:80,key:"P",code:"KeyP"},Q:{keyCode:81,key:"Q",code:"KeyQ"},R:{keyCode:82,key:"R",code:"KeyR"},S:{keyCode:83,key:"S",code:"KeyS"},T:{keyCode:84,key:"T",code:"KeyT"},U:{keyCode:85,key:"U",code:"KeyU"},V:{keyCode:86,key:"V",code:"KeyV"},W:{keyCode:87,key:"W",code:"KeyW"},X:{keyCode:88,key:"X",code:"KeyX"},Y:{keyCode:89,key:"Y",code:"KeyY"},Z:{keyCode:90,key:"Z",code:"KeyZ"},":":{keyCode:186,key:":",code:"Semicolon"},"<":{keyCode:188,key:"<",code:"Comma"},_:{keyCode:189,key:"_",code:"Minus"},">":{keyCode:190,key:">",code:"Period"},"?":{keyCode:191,key:"?",code:"Slash"},"~":{keyCode:192,key:"~",code:"Backquote"},"{":{keyCode:219,key:"{",code:"BracketLeft"},"|":{keyCode:220,key:"|",code:"Backslash"},"}":{keyCode:221,key:"}",code:"BracketRight"},'"':{keyCode:222,key:'"',code:"Quote"},SoftLeft:{key:"SoftLeft",code:"SoftLeft",location:4},SoftRight:{key:"SoftRight",code:"SoftRight",location:4},Camera:{keyCode:44,key:"Camera",code:"Camera",location:4},Call:{key:"Call",code:"Call",location:4},EndCall:{keyCode:95,key:"EndCall",code:"EndCall",location:4},VolumeDown:{keyCode:182,key:"VolumeDown",code:"VolumeDown",location:4},VolumeUp:{keyCode:183,key:"VolumeUp",code:"VolumeUp",location:4}}},41418:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.WebWorker=void 0;const n=r(2680);const i=r(47674);const o=r(59574);const s=r(79272);class WebWorker extends n.EventEmitter{constructor(e,t,r,n){super();this._client=e;this._url=t;this._executionContextPromise=new Promise(e=>this._executionContextCallback=e);let a;this._client.once("Runtime.executionContextCreated",async t=>{a=(t=>new s.JSHandle(r,e,t));const r=new o.ExecutionContext(e,t.context,null);this._executionContextCallback(r)});this._client.send("Runtime.enable").catch(i.debugError);this._client.on("Runtime.consoleAPICalled",e=>r(e.type,e.args.map(a),e.stackTrace));this._client.on("Runtime.exceptionThrown",e=>n(e.exceptionDetails))}url(){return this._url}async executionContext(){return this._executionContextPromise}async evaluate(e,...t){return(await this._executionContextPromise).evaluate(e,...t)}async evaluateHandle(e,...t){return(await this._executionContextPromise).evaluateHandle(e,...t)}}t.WebWorker=WebWorker},85668:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assert=void 0;t.assert=((e,t)=>{if(!e)throw new Error(t)})},84763:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);i(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getFetch=void 0;const s=r(23222);t.getFetch=(async()=>{return s.isNode?await Promise.resolve().then(()=>o(r(22434))):globalThis.fetch})},47674:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);i(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.helper=t.debugError=void 0;const s=r(29554);const a=r(49259);const l=r(85668);const c=r(23222);t.debugError=a.debug("puppeteer:error");function getExceptionMessage(e){if(e.exception)return e.exception.description||e.exception.value;let t=e.text;if(e.stackTrace){for(const r of e.stackTrace.callFrames){const e=r.url+":"+r.lineNumber+":"+r.columnNumber;const n=r.functionName||"";t+=`\n at ${n} (${e})`}}return t}function valueFromRemoteObject(e){l.assert(!e.objectId,"Cannot extract value when objectId is given");if(e.unserializableValue){if(e.type==="bigint"&&typeof BigInt!=="undefined")return BigInt(e.unserializableValue.replace("n",""));switch(e.unserializableValue){case"-0":return-0;case"NaN":return NaN;case"Infinity":return Infinity;case"-Infinity":return-Infinity;default:throw new Error("Unsupported unserializable value: "+e.unserializableValue)}}return e.value}async function releaseObject(e,r){if(!r.objectId)return;await e.send("Runtime.releaseObject",{objectId:r.objectId}).catch(e=>{t.debugError(e)})}function addEventListener(e,t,r){e.on(t,r);return{emitter:e,eventName:t,handler:r}}function removeEventListeners(e){for(const t of e)t.emitter.removeListener(t.eventName,t.handler);e.length=0}function isString(e){return typeof e==="string"||e instanceof String}function isNumber(e){return typeof e==="number"||e instanceof Number}async function waitForEvent(e,t,r,n,i){let o,a,l;const c=new Promise((e,t)=>{a=e;l=t});const u=addEventListener(e,t,e=>{if(!r(e))return;a(e)});if(n){o=setTimeout(()=>{l(new s.TimeoutError("Timeout exceeded while waiting for event"))},n)}function cleanup(){removeEventListeners([u]);clearTimeout(o)}const d=await Promise.race([c,i]).then(e=>{cleanup();return e},e=>{cleanup();throw e});if(d instanceof Error)throw d;return d}function evaluationString(e,...t){if(isString(e)){l.assert(t.length===0,"Cannot evaluate a string with arguments");return e}function serializeArgument(e){if(Object.is(e,undefined))return"undefined";return JSON.stringify(e)}return`(${e})(${t.map(serializeArgument).join(",")})`}function pageBindingInitString(e,t){function addPageBinding(e,t){const r=window;const n=r[t];r[t]=((...r)=>{const i=window[t];let o=i.callbacks;if(!o){o=new Map;i.callbacks=o}const s=(i.lastSeq||0)+1;i.lastSeq=s;const a=new Promise((e,t)=>o.set(s,{resolve:e,reject:t}));n(JSON.stringify({type:e,name:t,seq:s,args:r}));return a})}return evaluationString(addPageBinding,e,t)}function pageBindingDeliverResultString(e,t,r){function deliverResult(e,t,r){window[e].callbacks.get(t).resolve(r);window[e].callbacks.delete(t)}return evaluationString(deliverResult,e,t,r)}function pageBindingDeliverErrorString(e,t,r,n){function deliverError(e,t,r,n){const i=new Error(r);i.stack=n;window[e].callbacks.get(t).reject(i);window[e].callbacks.delete(t)}return evaluationString(deliverError,e,t,r,n)}function pageBindingDeliverErrorValueString(e,t,r){function deliverErrorValue(e,t,r){window[e].callbacks.get(t).reject(r);window[e].callbacks.delete(t)}return evaluationString(deliverErrorValue,e,t,r)}function makePredicateString(e,t){function checkWaitForOptions(e,t,r){if(!e)return r;if(!t&&!r)return e;const n=e.nodeType===Node.TEXT_NODE?e.parentElement:e;const i=window.getComputedStyle(n);const o=i&&i.visibility!=="hidden"&&hasVisibleBoundingBox();const s=t===o||r===!o;return s?e:null;function hasVisibleBoundingBox(){const e=n.getBoundingClientRect();return!!(e.top||e.bottom||e.width||e.height)}}const r=t?`const predicateQueryHandler = ${t};`:"";return`\n (() => {\n ${r}\n const checkWaitForOptions = ${checkWaitForOptions};\n return (${e})(...args)\n })() `}async function waitWithTimeout(e,t,r){let n;const i=new s.TimeoutError(`waiting for ${t} failed: timeout ${r}ms exceeded`);const o=new Promise((e,t)=>n=t);let a=null;if(r)a=setTimeout(()=>n(i),r);try{return await Promise.race([e,o])}finally{if(a)clearTimeout(a)}}async function readProtocolStream(e,t,n){if(!c.isNode&&n){throw new Error("Cannot write to a path outside of Node.js environment.")}const i=c.isNode?await Promise.resolve().then(()=>o(r(35747))):null;let s=false;let a;if(n&&i){a=await i.promises.open(n,"w")}const l=[];while(!s){const r=await e.send("IO.read",{handle:t});s=r.eof;const o=Buffer.from(r.data,r.base64Encoded?"base64":undefined);l.push(o);if(n&&i){await i.promises.writeFile(a,o)}}if(n)await a.close();await e.send("IO.close",{handle:t});let u=null;try{u=Buffer.concat(l)}finally{return u}}t.helper={evaluationString:evaluationString,pageBindingInitString:pageBindingInitString,pageBindingDeliverResultString:pageBindingDeliverResultString,pageBindingDeliverErrorString:pageBindingDeliverErrorString,pageBindingDeliverErrorValueString:pageBindingDeliverErrorValueString,makePredicateString:makePredicateString,readProtocolStream:readProtocolStream,waitWithTimeout:waitWithTimeout,waitForEvent:waitForEvent,isString:isString,isNumber:isNumber,addEventListener:addEventListener,removeEventListeners:removeEventListeners,valueFromRemoteObject:valueFromRemoteObject,getExceptionMessage:getExceptionMessage,releaseObject:releaseObject}},23222:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isNode=void 0;t.isNode=!!(typeof process!=="undefined"&&process.versions&&process.versions.node)},80527:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.initializePuppeteerNode=void 0;const i=r(9323);const o=r(14148);const s=n(r(10837));t.initializePuppeteerNode=(e=>{const t=s.default.sync(__dirname);let r=o.PUPPETEER_REVISIONS.chromium;const n=e==="puppeteer-core";const a=n?undefined:process.env.PUPPETEER_PRODUCT||process.env.npm_config_puppeteer_product||process.env.npm_package_config_puppeteer_product;if(!n&&a==="firefox")r=o.PUPPETEER_REVISIONS.firefox;return new i.PuppeteerNode({projectRoot:t,preferredRevision:r,isPuppeteerCore:n,productName:a})})},90176:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(80527);const i=r(23222);if(!i.isNode){throw new Error("Trying to run Puppeteer-Node in a web environment.")}t.default=n.initializePuppeteerNode("puppeteer")},77463:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);i(t,e);return t};var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.BrowserFetcher=void 0;const a=o(r(12087));const l=o(r(35747));const c=o(r(85622));const u=o(r(31669));const d=o(r(63129));const p=o(r(57211));const f=o(r(98605));const h=s(r(46909));const m=r(49259);const g=r(31669);const y=s(r(41238));const v=o(r(78835));const b=s(r(75782));const S=r(10208);const w=r(85668);const x=m.debug(`puppeteer:fetcher`);const C={chrome:{linux:"%s/chromium-browser-snapshots/Linux_x64/%d/%s.zip",mac:"%s/chromium-browser-snapshots/Mac/%d/%s.zip",win32:"%s/chromium-browser-snapshots/Win/%d/%s.zip",win64:"%s/chromium-browser-snapshots/Win_x64/%d/%s.zip"},firefox:{linux:"%s/firefox-%s.en-US.%s-x86_64.tar.bz2",mac:"%s/firefox-%s.en-US.%s.dmg",win32:"%s/firefox-%s.en-US.%s.zip",win64:"%s/firefox-%s.en-US.%s.zip"}};const k={chrome:{host:"https://storage.googleapis.com",destination:".local-chromium"},firefox:{host:"https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central",destination:".local-firefox"}};function archiveName(e,t,r){if(e==="chrome"){if(t==="linux")return"chrome-linux";if(t==="mac")return"chrome-mac";if(t==="win32"||t==="win64"){return parseInt(r,10)>591479?"chrome-win":"chrome-win32"}}else if(e==="firefox"){return t}}function downloadURL(e,t,r,n){const i=u.format(C[e][t],r,n,archiveName(e,t,n));return i}function handleArm64(){l.stat("/usr/bin/chromium-browser",function(e,t){if(t===undefined){console.error(`The chromium binary is not available for arm64: `);console.error(`If you are on Ubuntu, you can install with: `);console.error(`\n apt-get install chromium-browser\n`);throw new Error}})}const T=g.promisify(l.readdir.bind(l));const E=g.promisify(l.mkdir.bind(l));const _=g.promisify(l.unlink.bind(l));const O=g.promisify(l.chmod.bind(l));function existsAsync(e){return new Promise(t=>{l.access(e,e=>t(!e))})}class BrowserFetcher{constructor(e,t={}){this._product=(t.product||"chrome").toLowerCase();w.assert(this._product==="chrome"||this._product==="firefox",`Unknown product: "${t.product}"`);this._downloadsFolder=t.path||c.join(e,k[this._product].destination);this._downloadHost=t.host||k[this._product].host;this.setPlatform(t.platform);w.assert(C[this._product][this._platform],"Unsupported platform: "+this._platform)}setPlatform(e){if(e){this._platform=e;return}const t=a.platform();if(t==="darwin")this._platform="mac";else if(t==="linux")this._platform="linux";else if(t==="win32")this._platform=a.arch()==="x64"?"win64":"win32";else w.assert(this._platform,"Unsupported platform: "+a.platform())}platform(){return this._platform}product(){return this._product}host(){return this._downloadHost}canDownload(e){const t=downloadURL(this._product,this._platform,this._downloadHost,e);return new Promise(e=>{const r=httpRequest(t,"HEAD",t=>{e(t.statusCode===200)});r.on("error",t=>{console.error(t);e(false)})})}async download(e,t=(()=>{})){const r=downloadURL(this._product,this._platform,this._downloadHost,e);const n=r.split("/").pop();const i=c.join(this._downloadsFolder,n);const o=this._getFolderPath(e);if(await existsAsync(o))return this.revisionInfo(e);if(!await existsAsync(this._downloadsFolder))await E(this._downloadsFolder);if(a.arch()==="arm64"){handleArm64();return}try{await downloadFile(r,i,t);await install(i,o)}finally{if(await existsAsync(i))await _(i)}const s=this.revisionInfo(e);if(s)await O(s.executablePath,493);return s}async localRevisions(){if(!await existsAsync(this._downloadsFolder))return[];const e=await T(this._downloadsFolder);return e.map(e=>parseFolderPath(this._product,e)).filter(e=>e&&e.platform===this._platform).map(e=>e.revision)}async remove(e){const t=this._getFolderPath(e);w.assert(await existsAsync(t),`Failed to remove: revision ${e} is not downloaded`);await new Promise(e=>y.default(t,e))}revisionInfo(e){const t=this._getFolderPath(e);let r="";if(this._product==="chrome"){if(this._platform==="mac")r=c.join(t,archiveName(this._product,this._platform,e),"Chromium.app","Contents","MacOS","Chromium");else if(this._platform==="linux")r=c.join(t,archiveName(this._product,this._platform,e),"chrome");else if(this._platform==="win32"||this._platform==="win64")r=c.join(t,archiveName(this._product,this._platform,e),"chrome.exe");else throw new Error("Unsupported platform: "+this._platform)}else if(this._product==="firefox"){if(this._platform==="mac")r=c.join(t,"Firefox Nightly.app","Contents","MacOS","firefox");else if(this._platform==="linux")r=c.join(t,"firefox","firefox");else if(this._platform==="win32"||this._platform==="win64")r=c.join(t,"firefox","firefox.exe");else throw new Error("Unsupported platform: "+this._platform)}else{throw new Error("Unsupported product: "+this._product)}const n=downloadURL(this._product,this._platform,this._downloadHost,e);const i=l.existsSync(t);x({revision:e,executablePath:r,folderPath:t,local:i,url:n,product:this._product});return{revision:e,executablePath:r,folderPath:t,local:i,url:n,product:this._product}}_getFolderPath(e){return c.join(this._downloadsFolder,this._platform+"-"+e)}}t.BrowserFetcher=BrowserFetcher;function parseFolderPath(e,t){const r=c.basename(t);const n=r.split("-");if(n.length!==2)return null;const[i,o]=n;if(!C[e][i])return null;return{product:e,platform:i,revision:o}}function downloadFile(e,t,r){x(`Downloading binary from ${e}`);let n,i;let o=0;let s=0;const a=new Promise((e,t)=>{n=e;i=t});const c=httpRequest(e,"GET",o=>{if(o.statusCode!==200){const t=new Error(`Download failed: server returned code ${o.statusCode}. URL: ${e}`);o.resume();i(t);return}const a=l.createWriteStream(t);a.on("finish",()=>n());a.on("error",e=>i(e));o.pipe(a);s=parseInt(o.headers["content-length"],10);if(r)o.on("data",onData)});c.on("error",e=>i(e));return a;function onData(e){o+=e.length;r(o,s)}}function install(e,t){x(`Installing ${e} to ${t}`);if(e.endsWith(".zip"))return h.default(e,{dir:t});else if(e.endsWith(".tar.bz2"))return extractTar(e,t);else if(e.endsWith(".dmg"))return E(t).then(()=>installDMG(e,t));else throw new Error(`Unsupported archive format: ${e}`)}function extractTar(e,t){const n=r(16974);const i=r(1650);return new Promise((r,o)=>{const s=n.extract(t);s.on("error",o);s.on("finish",r);const a=l.createReadStream(e);a.pipe(i()).pipe(s)})}function installDMG(e,t){let r;function mountAndCopy(n,i){const o=`hdiutil attach -nobrowse -noautoopen "${e}"`;d.exec(o,(e,o)=>{if(e)return i(e);const s=o.match(/\/Volumes\/(.*)/m);if(!s)return i(new Error(`Could not find volume path in ${o}`));r=s[0];T(r).then(e=>{const o=e.filter(e=>typeof e==="string"&&e.endsWith(".app"))[0];if(!o)return i(new Error(`Cannot find app in ${r}`));const s=c.join(r,o);x(`Copying ${s} to ${t}`);d.exec(`cp -R "${s}" "${t}"`,e=>{if(e)i(e);else n()})}).catch(i)})}function unmount(){if(!r)return;const e=`hdiutil detach "${r}" -quiet`;x(`Unmounting ${r}`);d.exec(e,e=>{if(e)console.error(`Error unmounting dmg: ${e}`)})}return new Promise(mountAndCopy).catch(e=>{console.error(e)}).finally(unmount)}function httpRequest(e,t,r){const n=v.parse(e);let i={...n,method:t};const o=S.getProxyForUrl(e);if(o){if(e.startsWith("http:")){const e=v.parse(o);i={path:i.href,host:e.hostname,port:e.port}}else{const e=v.parse(o);const t={...e,secureProxy:e.protocol==="https:"};i.agent=new b.default(t);i.rejectUnauthorized=false}}const s=e=>{if(e.statusCode>=300&&e.statusCode<400&&e.headers.location)httpRequest(e.headers.location,t,r);else r(e)};const a=i.protocol==="https:"?p.request(i,s):f.request(i,s);a.end();return a}},15228:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);i(t,e);return t};var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.BrowserRunner=void 0;const a=r(49259);const l=s(r(41238));const c=o(r(63129));const u=r(85668);const d=r(47674);const p=r(58602);const f=r(17662);const h=r(81385);const m=o(r(51058));const g=r(29554);const y=r(31669);const v=y.promisify(l.default);const b=a.debug("puppeteer:launcher");const S=`Puppeteer was unable to kill the process which ran the browser binary.\nThis means that, on future Puppeteer launches, Puppeteer might not be able to launch the browser.\nPlease check your open processes and ensure that the browser processes that Puppeteer launched have been killed.\nIf you think this is a bug, please report it on the Puppeteer issue tracker.`;class BrowserRunner{constructor(e,t,r){this.proc=null;this.connection=null;this._closed=true;this._listeners=[];this._executablePath=e;this._processArguments=t;this._tempDirectory=r}start(e){const{handleSIGINT:t,handleSIGTERM:r,handleSIGHUP:n,dumpio:i,env:o,pipe:s}=e;let a=["pipe","pipe","pipe"];if(s){if(i)a=["ignore","pipe","pipe","pipe","pipe"];else a=["ignore","ignore","ignore","pipe","pipe"]}u.assert(!this.proc,"This process has previously been started.");b(`Calling ${this._executablePath} ${this._processArguments.join(" ")}`);this.proc=c.spawn(this._executablePath,this._processArguments,{detached:process.platform!=="win32",env:o,stdio:a});if(i){this.proc.stderr.pipe(process.stderr);this.proc.stdout.pipe(process.stdout)}this._closed=false;this._processClosing=new Promise(e=>{this.proc.once("exit",()=>{this._closed=true;if(this._tempDirectory){v(this._tempDirectory).then(()=>e()).catch(e=>console.error(e))}else{e()}})});this._listeners=[d.helper.addEventListener(process,"exit",this.kill.bind(this))];if(t)this._listeners.push(d.helper.addEventListener(process,"SIGINT",()=>{this.kill();process.exit(130)}));if(r)this._listeners.push(d.helper.addEventListener(process,"SIGTERM",this.close.bind(this)));if(n)this._listeners.push(d.helper.addEventListener(process,"SIGHUP",this.close.bind(this)))}close(){if(this._closed)return Promise.resolve();if(this._tempDirectory){this.kill()}else if(this.connection){this.connection.send("Browser.close").catch(e=>{d.debugError(e);this.kill()})}d.helper.removeEventListeners(this._listeners);return this._processClosing}kill(){try{l.default.sync(this._tempDirectory)}catch(e){}if(this.proc&&this.proc.pid&&!this.proc.killed){try{this.proc.kill("SIGKILL")}catch(e){throw new Error(`${S}\nError cause: ${e.stack}`)}}d.helper.removeEventListeners(this._listeners)}async setupConnection(e){const{usePipe:t,timeout:r,slowMo:n,preferredRevision:i}=e;if(!t){const e=await waitForWSEndpoint(this.proc,r,i);const t=await f.NodeWebSocketTransport.create(e);this.connection=new p.Connection(e,t,n)}else{const{3:e,4:t}=this.proc.stdio;const r=new h.PipeTransport(e,t);this.connection=new p.Connection("",r,n)}return this.connection}}t.BrowserRunner=BrowserRunner;function waitForWSEndpoint(e,t,r){return new Promise((n,i)=>{const o=m.createInterface({input:e.stderr});let s="";const a=[d.helper.addEventListener(o,"line",onLine),d.helper.addEventListener(o,"close",()=>onClose()),d.helper.addEventListener(e,"exit",()=>onClose()),d.helper.addEventListener(e,"error",e=>onClose(e))];const l=t?setTimeout(onTimeout,t):0;function onClose(e){cleanup();i(new Error(["Failed to launch the browser process!"+(e?" "+e.message:""),s,"","TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md",""].join("\n")))}function onTimeout(){cleanup();i(new g.TimeoutError(`Timed out after ${t} ms while trying to connect to the browser! Only Chrome at revision r${r} is guaranteed to work.`))}function onLine(e){s+=e+"\n";const t=e.match(/^DevTools listening on (ws:\/\/.*)$/);if(!t)return;cleanup();n(t[1])}function cleanup(){if(l)clearTimeout(l);d.helper.removeEventListeners(a)}})}},93935:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);i(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});const s=o(r(12087));const a=o(r(85622));const l=o(r(35747));const c=r(77463);const u=r(10487);const d=r(15228);const p=r(31669);const f=p.promisify(l.mkdtemp);const h=p.promisify(l.writeFile);class ChromeLauncher{constructor(e,t,r){this._projectRoot=e;this._preferredRevision=t;this._isPuppeteerCore=r}async launch(e={}){const{ignoreDefaultArgs:t=false,args:r=[],dumpio:n=false,executablePath:i=null,pipe:o=false,env:l=process.env,handleSIGINT:c=true,handleSIGTERM:p=true,handleSIGHUP:h=true,ignoreHTTPSErrors:m=false,defaultViewport:g={width:800,height:600},slowMo:y=0,timeout:v=3e4}=e;const b=a.join(s.tmpdir(),"puppeteer_dev_chrome_profile-");const S=[];if(!t)S.push(...this.defaultArgs(e));else if(Array.isArray(t))S.push(...this.defaultArgs(e).filter(e=>!t.includes(e)));else S.push(...r);let w=null;if(!S.some(e=>e.startsWith("--remote-debugging-")))S.push(o?"--remote-debugging-pipe":"--remote-debugging-port=0");if(!S.some(e=>e.startsWith("--user-data-dir"))){w=await f(b);S.push(`--user-data-dir=${w}`)}let x=i;if(s.arch()==="arm64"){x="/usr/bin/chromium-browser"}else if(!i){const{missingText:e,executablePath:t}=resolveExecutablePath(this);if(e)throw new Error(e);x=t}const C=S.includes("--remote-debugging-pipe");const k=new d.BrowserRunner(x,S,w);k.start({handleSIGHUP:h,handleSIGTERM:p,handleSIGINT:c,dumpio:n,env:l,pipe:C});try{const e=await k.setupConnection({usePipe:C,timeout:v,slowMo:y,preferredRevision:this._preferredRevision});const t=await u.Browser.create(e,[],m,g,k.proc,k.close.bind(k));await t.waitForTarget(e=>e.type()==="page");return t}catch(e){k.kill();throw e}}defaultArgs(e={}){const t=["--disable-background-networking","--enable-features=NetworkService,NetworkServiceInProcess","--disable-background-timer-throttling","--disable-backgrounding-occluded-windows","--disable-breakpad","--disable-client-side-phishing-detection","--disable-component-extensions-with-background-pages","--disable-default-apps","--disable-dev-shm-usage","--disable-extensions","--disable-features=TranslateUI","--disable-hang-monitor","--disable-ipc-flooding-protection","--disable-popup-blocking","--disable-prompt-on-repost","--disable-renderer-backgrounding","--disable-sync","--force-color-profile=srgb","--metrics-recording-only","--no-first-run","--enable-automation","--password-store=basic","--use-mock-keychain","--enable-blink-features=IdleDetection"];const{devtools:r=false,headless:n=!r,args:i=[],userDataDir:o=null}=e;if(o)t.push(`--user-data-dir=${a.resolve(o)}`);if(r)t.push("--auto-open-devtools-for-tabs");if(n){t.push("--headless","--hide-scrollbars","--mute-audio")}if(i.every(e=>e.startsWith("-")))t.push("about:blank");t.push(...i);return t}executablePath(){return resolveExecutablePath(this).executablePath}get product(){return"chrome"}}class FirefoxLauncher{constructor(e,t,r){this._projectRoot=e;this._preferredRevision=t;this._isPuppeteerCore=r}async launch(e={}){const{ignoreDefaultArgs:t=false,args:r=[],dumpio:n=false,executablePath:i=null,pipe:o=false,env:s=process.env,handleSIGINT:a=true,handleSIGTERM:l=true,handleSIGHUP:c=true,ignoreHTTPSErrors:p=false,defaultViewport:f={width:800,height:600},slowMo:h=0,timeout:m=3e4,extraPrefsFirefox:g={}}=e;const y=[];if(!t)y.push(...this.defaultArgs(e));else if(Array.isArray(t))y.push(...this.defaultArgs(e).filter(e=>!t.includes(e)));else y.push(...r);if(!y.some(e=>e.startsWith("--remote-debugging-")))y.push("--remote-debugging-port=0");let v=null;if(!y.includes("-profile")&&!y.includes("--profile")){v=await this._createProfile(g);y.push("--profile");y.push(v)}await this._updateRevision();let b=i;if(!i){const{missingText:e,executablePath:t}=resolveExecutablePath(this);if(e)throw new Error(e);b=t}const S=new d.BrowserRunner(b,y,v);S.start({handleSIGHUP:c,handleSIGTERM:l,handleSIGINT:a,dumpio:n,env:s,pipe:o});try{const e=await S.setupConnection({usePipe:o,timeout:m,slowMo:h,preferredRevision:this._preferredRevision});const t=await u.Browser.create(e,[],p,f,S.proc,S.close.bind(S));await t.waitForTarget(e=>e.type()==="page");return t}catch(e){S.kill();throw e}}executablePath(){return resolveExecutablePath(this).executablePath}async _updateRevision(){if(this._preferredRevision==="latest"){const e=new c.BrowserFetcher(this._projectRoot,{product:this.product});const t=await e.localRevisions();if(t[0])this._preferredRevision=t[0]}}get product(){return"firefox"}defaultArgs(e={}){const t=["--no-remote","--foreground"];if(s.platform().startsWith("win")){t.push("--wait-for-browser")}const{devtools:r=false,headless:n=!r,args:i=[],userDataDir:o=null}=e;if(o){t.push("--profile");t.push(o)}if(n)t.push("--headless");if(r)t.push("--devtools");if(i.every(e=>e.startsWith("-")))t.push("about:blank");t.push(...i);return t}async _createProfile(e){const t=await f(a.join(s.tmpdir(),"puppeteer_dev_firefox_profile-"));const r=[];const n=[];const i="dummy.test";const o={"app.normandy.api_url":"","app.update.checkInstallTime":false,"app.update.disabledForTesting":true,"apz.content_response_timeout":6e4,"browser.contentblocking.features.standard":"-tp,tpPrivate,cookieBehavior0,-cm,-fp","browser.dom.window.dump.enabled":true,"browser.newtabpage.activity-stream.feeds.system.topstories":false,"browser.newtabpage.enabled":false,"browser.pagethumbnails.capturing_disabled":true,"browser.safebrowsing.blockedURIs.enabled":false,"browser.safebrowsing.downloads.enabled":false,"browser.safebrowsing.malware.enabled":false,"browser.safebrowsing.passwords.enabled":false,"browser.safebrowsing.phishing.enabled":false,"browser.search.update":false,"browser.sessionstore.resume_from_crash":false,"browser.shell.checkDefaultBrowser":false,"browser.startup.homepage":"about:blank","browser.startup.homepage_override.mstone":"ignore","browser.startup.page":0,"browser.tabs.disableBackgroundZombification":false,"browser.tabs.warnOnCloseOtherTabs":false,"browser.tabs.warnOnOpen":false,"browser.uitour.enabled":false,"browser.urlbar.suggest.searches":false,"browser.usedOnWindows10.introURL":"","browser.warnOnQuit":false,"datareporting.healthreport.documentServerURI":`http://${i}/dummy/healthreport/`,"datareporting.healthreport.logging.consoleEnabled":false,"datareporting.healthreport.service.enabled":false,"datareporting.healthreport.service.firstRun":false,"datareporting.healthreport.uploadEnabled":false,"datareporting.policy.dataSubmissionEnabled":false,"datareporting.policy.dataSubmissionPolicyBypassNotification":true,"devtools.jsonview.enabled":false,"dom.disable_open_during_load":false,"dom.file.createInChild":true,"dom.ipc.reportProcessHangs":false,"dom.max_chrome_script_run_time":0,"dom.max_script_run_time":0,"extensions.autoDisableScopes":0,"extensions.enabledScopes":5,"extensions.getAddons.cache.enabled":false,"extensions.installDistroAddons":false,"extensions.screenshots.disabled":true,"extensions.update.enabled":false,"extensions.update.notifyUser":false,"extensions.webservice.discoverURL":`http://${i}/dummy/discoveryURL`,"focusmanager.testmode":true,"general.useragent.updates.enabled":false,"geo.provider.testing":true,"geo.wifi.scan":false,"hangmonitor.timeout":0,"javascript.options.showInConsole":true,"media.gmp-manager.updateEnabled":false,"network.cookie.cookieBehavior":0,"network.http.prompt-temp-redirect":false,"network.http.speculative-parallel-limit":0,"network.manage-offline-status":false,"network.sntp.pools":i,"plugin.state.flash":0,"privacy.trackingprotection.enabled":false,"remote.enabled":true,"security.certerrors.mitm.priming.enabled":false,"security.fileuri.strict_origin_policy":false,"security.notification_enable_delay":0,"services.settings.server":`http://${i}/dummy/blocklist/`,"signon.autofillForms":false,"signon.rememberSignons":false,"startup.homepage_welcome_url":"about:blank","startup.homepage_welcome_url.additional":"","toolkit.cosmeticAnimations.enabled":false,"toolkit.startup.max_resumed_crashes":-1};Object.assign(o,e);for(const[e,t]of Object.entries(o))n.push(`user_pref(${JSON.stringify(e)}, ${JSON.stringify(t)});`);await h(a.join(t,"user.js"),n.join("\n"));await h(a.join(t,"prefs.js"),r.join("\n"));return t}}function resolveExecutablePath(e){let t;if(!e._isPuppeteerCore){const e=process.env.PUPPETEER_EXECUTABLE_PATH||process.env.npm_config_puppeteer_executable_path||process.env.npm_package_config_puppeteer_executable_path;if(e){const t=!l.existsSync(e)?"Tried to use PUPPETEER_EXECUTABLE_PATH env variable to launch browser but did not find any executable at: "+e:null;return{executablePath:e,missingText:t}}t=process.env.PUPPETEER_DOWNLOAD_PATH||process.env.npm_config_puppeteer_download_path||process.env.npm_package_config_puppeteer_download_path}const r=new c.BrowserFetcher(e._projectRoot,{product:e.product,path:t});if(!e._isPuppeteerCore&&e.product==="chrome"){const e=process.env["PUPPETEER_CHROMIUM_REVISION"];if(e){const t=r.revisionInfo(e);const n=!t.local?"Tried to use PUPPETEER_CHROMIUM_REVISION env variable to launch browser but did not find executable at: "+t.executablePath:null;return{executablePath:t.executablePath,missingText:n}}}const n=r.revisionInfo(e._preferredRevision);const i=!n.local?`Could not find browser revision ${e._preferredRevision}. Run "PUPPETEER_PRODUCT=firefox npm install" or "PUPPETEER_PRODUCT=firefox yarn install" to download a supported Firefox browser binary.`:null;return{executablePath:n.executablePath,missingText:i}}function Launcher(e,t,r,n){if(!n&&!r)n=process.env.PUPPETEER_PRODUCT||process.env.npm_config_puppeteer_product||process.env.npm_package_config_puppeteer_product;switch(n){case"firefox":return new FirefoxLauncher(e,t,r);case"chrome":default:if(typeof n!=="undefined"&&n!=="chrome"){console.warn(`Warning: unknown product name ${n}. Falling back to chrome.`)}return new ChromeLauncher(e,t,r)}}t.default=Launcher},17662:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.NodeWebSocketTransport=void 0;const i=n(r(89013));class NodeWebSocketTransport{constructor(e){this._ws=e;this._ws.addEventListener("message",e=>{if(this.onmessage)this.onmessage.call(null,e.data)});this._ws.addEventListener("close",()=>{if(this.onclose)this.onclose.call(null)});this._ws.addEventListener("error",()=>{});this.onmessage=null;this.onclose=null}static create(e){return new Promise((t,r)=>{const n=new i.default(e,[],{perMessageDeflate:false,maxPayload:256*1024*1024});n.addEventListener("open",()=>t(new NodeWebSocketTransport(n)));n.addEventListener("error",r)})}send(e){this._ws.send(e)}close(){this._ws.close()}}t.NodeWebSocketTransport=NodeWebSocketTransport},81385:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PipeTransport=void 0;const n=r(47674);class PipeTransport{constructor(e,t){this._pipeWrite=e;this._pendingMessage="";this._eventListeners=[n.helper.addEventListener(t,"data",e=>this._dispatch(e)),n.helper.addEventListener(t,"close",()=>{if(this.onclose)this.onclose.call(null)}),n.helper.addEventListener(t,"error",n.debugError),n.helper.addEventListener(e,"error",n.debugError)];this.onmessage=null;this.onclose=null}send(e){this._pipeWrite.write(e);this._pipeWrite.write("\0")}_dispatch(e){let t=e.indexOf("\0");if(t===-1){this._pendingMessage+=e.toString();return}const r=this._pendingMessage+e.toString(undefined,0,t);if(this.onmessage)this.onmessage.call(null,r);let n=t+1;t=e.indexOf("\0",n);while(t!==-1){if(this.onmessage)this.onmessage.call(null,e.toString(undefined,n,t));n=t+1;t=e.indexOf("\0",n)}this._pendingMessage=e.toString(undefined,n)}close(){this._pipeWrite=null;n.helper.removeEventListeners(this._eventListeners)}}t.PipeTransport=PipeTransport},9323:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.PuppeteerNode=void 0;const i=r(39006);const o=r(77463);const s=n(r(93935));const a=r(14148);class PuppeteerNode extends i.Puppeteer{constructor(e){const{projectRoot:t,preferredRevision:r,productName:n,...i}=e;super(i);this._projectRoot=t;this.__productName=n;this._preferredRevision=r}connect(e){if(e.product)this._productName=e.product;return super.connect(e)}get _productName(){return this.__productName}set _productName(e){if(this.__productName!==e)this._changedProduct=true;this.__productName=e}launch(e={}){if(e.product)this._productName=e.product;return this._launcher.launch(e)}executablePath(){return this._launcher.executablePath()}get _launcher(){if(!this._lazyLauncher||this._lazyLauncher.product!==this._productName||this._changedProduct){switch(this._productName){case"firefox":this._preferredRevision=a.PUPPETEER_REVISIONS.firefox;break;case"chrome":default:this._preferredRevision=a.PUPPETEER_REVISIONS.chromium}this._changedProduct=false;this._lazyLauncher=s.default(this._projectRoot,this._preferredRevision,this._isPuppeteerCore,this._productName)}return this._lazyLauncher}get product(){return this._launcher.product}defaultArgs(e={}){return this._launcher.defaultArgs(e)}createBrowserFetcher(e){return new o.BrowserFetcher(this._projectRoot,e)}}t.PuppeteerNode=PuppeteerNode},14148:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PUPPETEER_REVISIONS=void 0;t.PUPPETEER_REVISIONS={chromium:"809590",firefox:"latest"}},78229:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function mitt(e){e=e||new Map;return{all:e,on(t,r){const n=e.get(t);const i=n&&n.push(r);if(!i){e.set(t,[r])}},off(t,r){const n=e.get(t);if(n){n.splice(n.indexOf(r)>>>0,1)}},emit(t,r){(e.get(t)||[]).slice().map(e=>{e(r)});(e.get("*")||[]).slice().map(e=>{e(t,r)})}}}t.default=mitt},42094:(e,t,r)=>{t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.storage=localstorage();t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function useColors(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){return true}if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){return false}return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(t){t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff);if(!this.useColors){return}const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0;let i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{if(e==="%%"){return}n++;if(e==="%c"){i=n}});t.splice(i,0,r)}t.log=console.debug||console.log||(()=>{});function save(e){try{if(e){t.storage.setItem("debug",e)}else{t.storage.removeItem("debug")}}catch(e){}}function load(){let e;try{e=t.storage.getItem("debug")}catch(e){}if(!e&&typeof process!=="undefined"&&"env"in process){e=process.env.DEBUG}return e}function localstorage(){try{return localStorage}catch(e){}}e.exports=r(44825)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},44825:(e,t,r)=>{function setup(e){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=r(95747);Object.keys(e).forEach(t=>{createDebug[t]=e[t]});createDebug.instances=[];createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(e){let t=0;for(let r=0;r{if(t==="%%"){return t}o++;const i=createDebug.formatters[n];if(typeof i==="function"){const n=e[o];t=i.call(r,n);e.splice(o,1);o--}return t});createDebug.formatArgs.call(r,e);const s=r.log||createDebug.log;s.apply(r,e)}debug.namespace=e;debug.enabled=createDebug.enabled(e);debug.useColors=createDebug.useColors();debug.color=createDebug.selectColor(e);debug.destroy=destroy;debug.extend=extend;if(typeof createDebug.init==="function"){createDebug.init(debug)}createDebug.instances.push(debug);return debug}function destroy(){const e=createDebug.instances.indexOf(this);if(e!==-1){createDebug.instances.splice(e,1);return true}return false}function extend(e,t){const r=createDebug(this.namespace+(typeof t==="undefined"?":":t)+e);r.log=this.log;return r}function enable(e){createDebug.save(e);createDebug.names=[];createDebug.skips=[];let t;const r=(typeof e==="string"?e:"").split(/[\s,]+/);const n=r.length;for(t=0;t"-"+e)].join(",");createDebug.enable("");return e}function enabled(e){if(e[e.length-1]==="*"){return true}let t;let r;for(t=0,r=createDebug.skips.length;t{if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){e.exports=r(42094)}else{e.exports=r(20930)}},20930:(e,t,r)=>{const n=r(33867);const i=r(31669);t.init=init;t.log=log;t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.colors=[6,2,3,4,5,1];try{const e=r(50556);if(e&&(e.stderr||e).level>=2){t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}}catch(e){}t.inspectOpts=Object.keys(process.env).filter(e=>{return/^debug_/i.test(e)}).reduce((e,t)=>{const r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>{return t.toUpperCase()});let n=process.env[t];if(/^(yes|on|true|enabled)$/i.test(n)){n=true}else if(/^(no|off|false|disabled)$/i.test(n)){n=false}else if(n==="null"){n=null}else{n=Number(n)}e[r]=n;return e},{});function useColors(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):n.isatty(process.stderr.fd)}function formatArgs(t){const{namespace:r,useColors:n}=this;if(n){const n=this.color;const i="[3"+(n<8?n:"8;5;"+n);const o=` ${i};1m${r} `;t[0]=o+t[0].split("\n").join("\n"+o);t.push(i+"m+"+e.exports.humanize(this.diff)+"")}else{t[0]=getDate()+r+" "+t[0]}}function getDate(){if(t.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...e){return process.stderr.write(i.format(...e)+"\n")}function save(e){if(e){process.env.DEBUG=e}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(e){e.inspectOpts={};const r=Object.keys(t.inspectOpts);for(let n=0;n{var t=1e3;var r=t*60;var n=r*60;var i=n*24;var o=i*7;var s=i*365.25;e.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0){return parse(e)}else if(r==="number"&&isFinite(e)){return t.long?fmtLong(e):fmtShort(e)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function parse(e){e=String(e);if(e.length>100){return}var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!a){return}var l=parseFloat(a[1]);var c=(a[2]||"ms").toLowerCase();switch(c){case"years":case"year":case"yrs":case"yr":case"y":return l*s;case"weeks":case"week":case"w":return l*o;case"days":case"day":case"d":return l*i;case"hours":case"hour":case"hrs":case"hr":case"h":return l*n;case"minutes":case"minute":case"mins":case"min":case"m":return l*r;case"seconds":case"second":case"secs":case"sec":case"s":return l*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return undefined}}function fmtShort(e){var o=Math.abs(e);if(o>=i){return Math.round(e/i)+"d"}if(o>=n){return Math.round(e/n)+"h"}if(o>=r){return Math.round(e/r)+"m"}if(o>=t){return Math.round(e/t)+"s"}return e+"ms"}function fmtLong(e){var o=Math.abs(e);if(o>=i){return plural(e,o,i,"day")}if(o>=n){return plural(e,o,n,"hour")}if(o>=r){return plural(e,o,r,"minute")}if(o>=t){return plural(e,o,t,"second")}return e+" ms"}function plural(e,t,r,n){var i=t>=r*1.5;return Math.round(e/r)+" "+n+(i?"s":"")}},41238:(e,t,r)=>{const n=r(42357);const i=r(85622);const o=r(35747);let s=undefined;try{s=r(9691)}catch(e){}const a={nosort:true,silent:true};let l=0;const c=process.platform==="win32";const u=e=>{const t=["unlink","chmod","stat","lstat","rmdir","readdir"];t.forEach(t=>{e[t]=e[t]||o[t];t=t+"Sync";e[t]=e[t]||o[t]});e.maxBusyTries=e.maxBusyTries||3;e.emfileWait=e.emfileWait||1e3;if(e.glob===false){e.disableGlob=true}if(e.disableGlob!==true&&s===undefined){throw Error("glob dependency not found, set `options.disableGlob = true` if intentional")}e.disableGlob=e.disableGlob||false;e.glob=e.glob||a};const d=(e,t,r)=>{if(typeof t==="function"){r=t;t={}}n(e,"rimraf: missing path");n.equal(typeof e,"string","rimraf: path should be a string");n.equal(typeof r,"function","rimraf: callback function required");n(t,"rimraf: invalid options argument provided");n.equal(typeof t,"object","rimraf: options should be object");u(t);let i=0;let o=null;let a=0;const c=e=>{o=o||e;if(--a===0)r(o)};const d=(e,n)=>{if(e)return r(e);a=n.length;if(a===0)return r();n.forEach(e=>{const r=n=>{if(n){if((n.code==="EBUSY"||n.code==="ENOTEMPTY"||n.code==="EPERM")&&ip(e,t,r),i*100)}if(n.code==="EMFILE"&&lp(e,t,r),l++)}if(n.code==="ENOENT")n=null}l=0;c(n)};p(e,t,r)})};if(t.disableGlob||!s.hasMagic(e))return d(null,[e]);t.lstat(e,(r,n)=>{if(!r)return d(null,[e]);s(e,t.glob,d)})};const p=(e,t,r)=>{n(e);n(t);n(typeof r==="function");t.lstat(e,(n,i)=>{if(n&&n.code==="ENOENT")return r(null);if(n&&n.code==="EPERM"&&c)f(e,t,n,r);if(i&&i.isDirectory())return m(e,t,n,r);t.unlink(e,n=>{if(n){if(n.code==="ENOENT")return r(null);if(n.code==="EPERM")return c?f(e,t,n,r):m(e,t,n,r);if(n.code==="EISDIR")return m(e,t,n,r)}return r(n)})})};const f=(e,t,r,i)=>{n(e);n(t);n(typeof i==="function");t.chmod(e,438,n=>{if(n)i(n.code==="ENOENT"?null:r);else t.stat(e,(n,o)=>{if(n)i(n.code==="ENOENT"?null:r);else if(o.isDirectory())m(e,t,r,i);else t.unlink(e,i)})})};const h=(e,t,r)=>{n(e);n(t);try{t.chmodSync(e,438)}catch(e){if(e.code==="ENOENT")return;else throw r}let i;try{i=t.statSync(e)}catch(e){if(e.code==="ENOENT")return;else throw r}if(i.isDirectory())v(e,t,r);else t.unlinkSync(e)};const m=(e,t,r,i)=>{n(e);n(t);n(typeof i==="function");t.rmdir(e,n=>{if(n&&(n.code==="ENOTEMPTY"||n.code==="EEXIST"||n.code==="EPERM"))g(e,t,i);else if(n&&n.code==="ENOTDIR")i(r);else i(n)})};const g=(e,t,r)=>{n(e);n(t);n(typeof r==="function");t.readdir(e,(n,o)=>{if(n)return r(n);let s=o.length;if(s===0)return t.rmdir(e,r);let a;o.forEach(n=>{d(i.join(e,n),t,n=>{if(a)return;if(n)return r(a=n);if(--s===0)t.rmdir(e,r)})})})};const y=(e,t)=>{t=t||{};u(t);n(e,"rimraf: missing path");n.equal(typeof e,"string","rimraf: path should be a string");n(t,"rimraf: missing options");n.equal(typeof t,"object","rimraf: options should be object");let r;if(t.disableGlob||!s.hasMagic(e)){r=[e]}else{try{t.lstatSync(e);r=[e]}catch(n){r=s.sync(e,t.glob)}}if(!r.length)return;for(let e=0;e{n(e);n(t);try{t.rmdirSync(e)}catch(n){if(n.code==="ENOENT")return;if(n.code==="ENOTDIR")throw r;if(n.code==="ENOTEMPTY"||n.code==="EEXIST"||n.code==="EPERM")b(e,t)}};const b=(e,t)=>{n(e);n(t);t.readdirSync(e).forEach(r=>y(i.join(e,r),t));const r=c?100:1;let o=0;do{let n=true;try{const i=t.rmdirSync(e,t);n=false;return i}finally{if(++o{var n=r(64293);var i=n.Buffer;function copyProps(e,t){for(var r in e){t[r]=e[r]}}if(i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow){e.exports=n}else{copyProps(n,t);t.Buffer=SafeBuffer}function SafeBuffer(e,t,r){return i(e,t,r)}copyProps(i,SafeBuffer);SafeBuffer.from=function(e,t,r){if(typeof e==="number"){throw new TypeError("Argument must not be a number")}return i(e,t,r)};SafeBuffer.alloc=function(e,t,r){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}var n=i(e);if(t!==undefined){if(typeof r==="string"){n.fill(t,r)}else{n.fill(t)}}else{n.fill(0)}return n};SafeBuffer.allocUnsafe=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return i(e)};SafeBuffer.allocUnsafeSlow=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return n.SlowBuffer(e)}},25510:(e,t,r)=>{(function(e){e.parser=function(e,t){return new SAXParser(e,t)};e.SAXParser=SAXParser;e.SAXStream=SAXStream;e.createStream=createStream;e.MAX_BUFFER_LENGTH=64*1024;var t=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];e.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function SAXParser(t,r){if(!(this instanceof SAXParser)){return new SAXParser(t,r)}var n=this;clearBuffers(n);n.q=n.c="";n.bufferCheckPosition=e.MAX_BUFFER_LENGTH;n.opt=r||{};n.opt.lowercase=n.opt.lowercase||n.opt.lowercasetags;n.looseCase=n.opt.lowercase?"toLowerCase":"toUpperCase";n.tags=[];n.closed=n.closedRoot=n.sawRoot=false;n.tag=n.error=null;n.strict=!!t;n.noscript=!!(t||n.opt.noscript);n.state=h.BEGIN;n.strictEntities=n.opt.strictEntities;n.ENTITIES=n.strictEntities?Object.create(e.XML_ENTITIES):Object.create(e.ENTITIES);n.attribList=[];if(n.opt.xmlns){n.ns=Object.create(c)}n.trackPosition=n.opt.position!==false;if(n.trackPosition){n.position=n.line=n.column=0}emit(n,"onready")}if(!Object.create){Object.create=function(e){function F(){}F.prototype=e;var t=new F;return t}}if(!Object.keys){Object.keys=function(e){var t=[];for(var r in e)if(e.hasOwnProperty(r))t.push(r);return t}}function checkBufferLength(r){var n=Math.max(e.MAX_BUFFER_LENGTH,10);var i=0;for(var o=0,s=t.length;on){switch(t[o]){case"textNode":closeText(r);break;case"cdata":emitNode(r,"oncdata",r.cdata);r.cdata="";break;case"script":emitNode(r,"onscript",r.script);r.script="";break;default:error(r,"Max buffer length exceeded: "+t[o])}}i=Math.max(i,a)}var l=e.MAX_BUFFER_LENGTH-i;r.bufferCheckPosition=l+r.position}function clearBuffers(e){for(var r=0,n=t.length;r"||isWhitespace(e)}function isMatch(e,t){return e.test(t)}function notMatch(e,t){return!isMatch(e,t)}var h=0;e.STATE={BEGIN:h++,BEGIN_WHITESPACE:h++,TEXT:h++,TEXT_ENTITY:h++,OPEN_WAKA:h++,SGML_DECL:h++,SGML_DECL_QUOTED:h++,DOCTYPE:h++,DOCTYPE_QUOTED:h++,DOCTYPE_DTD:h++,DOCTYPE_DTD_QUOTED:h++,COMMENT_STARTING:h++,COMMENT:h++,COMMENT_ENDING:h++,COMMENT_ENDED:h++,CDATA:h++,CDATA_ENDING:h++,CDATA_ENDING_2:h++,PROC_INST:h++,PROC_INST_BODY:h++,PROC_INST_ENDING:h++,OPEN_TAG:h++,OPEN_TAG_SLASH:h++,ATTRIB:h++,ATTRIB_NAME:h++,ATTRIB_NAME_SAW_WHITE:h++,ATTRIB_VALUE:h++,ATTRIB_VALUE_QUOTED:h++,ATTRIB_VALUE_CLOSED:h++,ATTRIB_VALUE_UNQUOTED:h++,ATTRIB_VALUE_ENTITY_Q:h++,ATTRIB_VALUE_ENTITY_U:h++,CLOSE_TAG:h++,CLOSE_TAG_SAW_WHITE:h++,SCRIPT:h++,SCRIPT_ENDING:h++};e.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"};e.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830};Object.keys(e.ENTITIES).forEach(function(t){var r=e.ENTITIES[t];var n=typeof r==="number"?String.fromCharCode(r):r;e.ENTITIES[t]=n});for(var m in e.STATE){e.STATE[e.STATE[m]]=m}h=e.STATE;function emit(e,t,r){e[t]&&e[t](r)}function emitNode(e,t,r){if(e.textNode)closeText(e);emit(e,t,r)}function closeText(e){e.textNode=textopts(e.opt,e.textNode);if(e.textNode)emit(e,"ontext",e.textNode);e.textNode=""}function textopts(e,t){if(e.trim)t=t.trim();if(e.normalize)t=t.replace(/\s+/g," ");return t}function error(e,t){closeText(e);if(e.trackPosition){t+="\nLine: "+e.line+"\nColumn: "+e.column+"\nChar: "+e.c}t=new Error(t);e.error=t;emit(e,"onerror",t);return e}function end(e){if(e.sawRoot&&!e.closedRoot)strictFail(e,"Unclosed root tag");if(e.state!==h.BEGIN&&e.state!==h.BEGIN_WHITESPACE&&e.state!==h.TEXT){error(e,"Unexpected end")}closeText(e);e.c="";e.closed=true;emit(e,"onend");SAXParser.call(e,e.strict,e.opt);return e}function strictFail(e,t){if(typeof e!=="object"||!(e instanceof SAXParser)){throw new Error("bad call to strictFail")}if(e.strict){error(e,t)}}function newTag(e){if(!e.strict)e.tagName=e.tagName[e.looseCase]();var t=e.tags[e.tags.length-1]||e;var r=e.tag={name:e.tagName,attributes:{}};if(e.opt.xmlns){r.ns=t.ns}e.attribList.length=0;emitNode(e,"onopentagstart",r)}function qname(e,t){var r=e.indexOf(":");var n=r<0?["",e]:e.split(":");var i=n[0];var o=n[1];if(t&&e==="xmlns"){i="xmlns";o=""}return{prefix:i,local:o}}function attrib(e){if(!e.strict){e.attribName=e.attribName[e.looseCase]()}if(e.attribList.indexOf(e.attribName)!==-1||e.tag.attributes.hasOwnProperty(e.attribName)){e.attribName=e.attribValue="";return}if(e.opt.xmlns){var t=qname(e.attribName,true);var r=t.prefix;var n=t.local;if(r==="xmlns"){if(n==="xml"&&e.attribValue!==a){strictFail(e,"xml: prefix must be bound to "+a+"\n"+"Actual: "+e.attribValue)}else if(n==="xmlns"&&e.attribValue!==l){strictFail(e,"xmlns: prefix must be bound to "+l+"\n"+"Actual: "+e.attribValue)}else{var i=e.tag;var o=e.tags[e.tags.length-1]||e;if(i.ns===o.ns){i.ns=Object.create(o.ns)}i.ns[n]=e.attribValue}}e.attribList.push([e.attribName,e.attribValue])}else{e.tag.attributes[e.attribName]=e.attribValue;emitNode(e,"onattribute",{name:e.attribName,value:e.attribValue})}e.attribName=e.attribValue=""}function openTag(e,t){if(e.opt.xmlns){var r=e.tag;var n=qname(e.tagName);r.prefix=n.prefix;r.local=n.local;r.uri=r.ns[n.prefix]||"";if(r.prefix&&!r.uri){strictFail(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName));r.uri=n.prefix}var i=e.tags[e.tags.length-1]||e;if(r.ns&&i.ns!==r.ns){Object.keys(r.ns).forEach(function(t){emitNode(e,"onopennamespace",{prefix:t,uri:r.ns[t]})})}for(var o=0,s=e.attribList.length;o";e.tagName="";e.state=h.SCRIPT;return}emitNode(e,"onscript",e.script);e.script=""}var t=e.tags.length;var r=e.tagName;if(!e.strict){r=r[e.looseCase]()}var n=r;while(t--){var i=e.tags[t];if(i.name!==n){strictFail(e,"Unexpected close tag")}else{break}}if(t<0){strictFail(e,"Unmatched closing tag: "+e.tagName);e.textNode+="";e.state=h.TEXT;return}e.tagName=r;var o=e.tags.length;while(o-- >t){var s=e.tag=e.tags.pop();e.tagName=e.tag.name;emitNode(e,"onclosetag",e.tagName);var a={};for(var l in s.ns){a[l]=s.ns[l]}var c=e.tags[e.tags.length-1]||e;if(e.opt.xmlns&&s.ns!==c.ns){Object.keys(s.ns).forEach(function(t){var r=s.ns[t];emitNode(e,"onclosenamespace",{prefix:t,uri:r})})}}if(t===0)e.closedRoot=true;e.tagName=e.attribValue=e.attribName="";e.attribList.length=0;e.state=h.TEXT}function parseEntity(e){var t=e.entity;var r=t.toLowerCase();var n;var i="";if(e.ENTITIES[t]){return e.ENTITIES[t]}if(e.ENTITIES[r]){return e.ENTITIES[r]}t=r;if(t.charAt(0)==="#"){if(t.charAt(1)==="x"){t=t.slice(2);n=parseInt(t,16);i=n.toString(16)}else{t=t.slice(1);n=parseInt(t,10);i=n.toString(10)}}t=t.replace(/^0+/,"");if(isNaN(n)||i.toLowerCase()!==t){strictFail(e,"Invalid character entity");return"&"+e.entity+";"}return String.fromCodePoint(n)}function beginWhiteSpace(e,t){if(t==="<"){e.state=h.OPEN_WAKA;e.startTagPosition=e.position}else if(!isWhitespace(t)){strictFail(e,"Non-whitespace before first tag.");e.textNode=t;e.state=h.TEXT}}function charAt(e,t){var r="";if(t"){emitNode(t,"onsgmldeclaration",t.sgmlDecl);t.sgmlDecl="";t.state=h.TEXT}else if(isQuote(n)){t.state=h.SGML_DECL_QUOTED;t.sgmlDecl+=n}else{t.sgmlDecl+=n}continue;case h.SGML_DECL_QUOTED:if(n===t.q){t.state=h.SGML_DECL;t.q=""}t.sgmlDecl+=n;continue;case h.DOCTYPE:if(n===">"){t.state=h.TEXT;emitNode(t,"ondoctype",t.doctype);t.doctype=true}else{t.doctype+=n;if(n==="["){t.state=h.DOCTYPE_DTD}else if(isQuote(n)){t.state=h.DOCTYPE_QUOTED;t.q=n}}continue;case h.DOCTYPE_QUOTED:t.doctype+=n;if(n===t.q){t.q="";t.state=h.DOCTYPE}continue;case h.DOCTYPE_DTD:t.doctype+=n;if(n==="]"){t.state=h.DOCTYPE}else if(isQuote(n)){t.state=h.DOCTYPE_DTD_QUOTED;t.q=n}continue;case h.DOCTYPE_DTD_QUOTED:t.doctype+=n;if(n===t.q){t.state=h.DOCTYPE_DTD;t.q=""}continue;case h.COMMENT:if(n==="-"){t.state=h.COMMENT_ENDING}else{t.comment+=n}continue;case h.COMMENT_ENDING:if(n==="-"){t.state=h.COMMENT_ENDED;t.comment=textopts(t.opt,t.comment);if(t.comment){emitNode(t,"oncomment",t.comment)}t.comment=""}else{t.comment+="-"+n;t.state=h.COMMENT}continue;case h.COMMENT_ENDED:if(n!==">"){strictFail(t,"Malformed comment");t.comment+="--"+n;t.state=h.COMMENT}else{t.state=h.TEXT}continue;case h.CDATA:if(n==="]"){t.state=h.CDATA_ENDING}else{t.cdata+=n}continue;case h.CDATA_ENDING:if(n==="]"){t.state=h.CDATA_ENDING_2}else{t.cdata+="]"+n;t.state=h.CDATA}continue;case h.CDATA_ENDING_2:if(n===">"){if(t.cdata){emitNode(t,"oncdata",t.cdata)}emitNode(t,"onclosecdata");t.cdata="";t.state=h.TEXT}else if(n==="]"){t.cdata+="]"}else{t.cdata+="]]"+n;t.state=h.CDATA}continue;case h.PROC_INST:if(n==="?"){t.state=h.PROC_INST_ENDING}else if(isWhitespace(n)){t.state=h.PROC_INST_BODY}else{t.procInstName+=n}continue;case h.PROC_INST_BODY:if(!t.procInstBody&&isWhitespace(n)){continue}else if(n==="?"){t.state=h.PROC_INST_ENDING}else{t.procInstBody+=n}continue;case h.PROC_INST_ENDING:if(n===">"){emitNode(t,"onprocessinginstruction",{name:t.procInstName,body:t.procInstBody});t.procInstName=t.procInstBody="";t.state=h.TEXT}else{t.procInstBody+="?"+n;t.state=h.PROC_INST_BODY}continue;case h.OPEN_TAG:if(isMatch(d,n)){t.tagName+=n}else{newTag(t);if(n===">"){openTag(t)}else if(n==="/"){t.state=h.OPEN_TAG_SLASH}else{if(!isWhitespace(n)){strictFail(t,"Invalid character in tag name")}t.state=h.ATTRIB}}continue;case h.OPEN_TAG_SLASH:if(n===">"){openTag(t,true);closeTag(t)}else{strictFail(t,"Forward-slash in opening tag not followed by >");t.state=h.ATTRIB}continue;case h.ATTRIB:if(isWhitespace(n)){continue}else if(n===">"){openTag(t)}else if(n==="/"){t.state=h.OPEN_TAG_SLASH}else if(isMatch(u,n)){t.attribName=n;t.attribValue="";t.state=h.ATTRIB_NAME}else{strictFail(t,"Invalid attribute name")}continue;case h.ATTRIB_NAME:if(n==="="){t.state=h.ATTRIB_VALUE}else if(n===">"){strictFail(t,"Attribute without value");t.attribValue=t.attribName;attrib(t);openTag(t)}else if(isWhitespace(n)){t.state=h.ATTRIB_NAME_SAW_WHITE}else if(isMatch(d,n)){t.attribName+=n}else{strictFail(t,"Invalid attribute name")}continue;case h.ATTRIB_NAME_SAW_WHITE:if(n==="="){t.state=h.ATTRIB_VALUE}else if(isWhitespace(n)){continue}else{strictFail(t,"Attribute without value");t.tag.attributes[t.attribName]="";t.attribValue="";emitNode(t,"onattribute",{name:t.attribName,value:""});t.attribName="";if(n===">"){openTag(t)}else if(isMatch(u,n)){t.attribName=n;t.state=h.ATTRIB_NAME}else{strictFail(t,"Invalid attribute name");t.state=h.ATTRIB}}continue;case h.ATTRIB_VALUE:if(isWhitespace(n)){continue}else if(isQuote(n)){t.q=n;t.state=h.ATTRIB_VALUE_QUOTED}else{strictFail(t,"Unquoted attribute value");t.state=h.ATTRIB_VALUE_UNQUOTED;t.attribValue=n}continue;case h.ATTRIB_VALUE_QUOTED:if(n!==t.q){if(n==="&"){t.state=h.ATTRIB_VALUE_ENTITY_Q}else{t.attribValue+=n}continue}attrib(t);t.q="";t.state=h.ATTRIB_VALUE_CLOSED;continue;case h.ATTRIB_VALUE_CLOSED:if(isWhitespace(n)){t.state=h.ATTRIB}else if(n===">"){openTag(t)}else if(n==="/"){t.state=h.OPEN_TAG_SLASH}else if(isMatch(u,n)){strictFail(t,"No whitespace between attributes");t.attribName=n;t.attribValue="";t.state=h.ATTRIB_NAME}else{strictFail(t,"Invalid attribute name")}continue;case h.ATTRIB_VALUE_UNQUOTED:if(!isAttribEnd(n)){if(n==="&"){t.state=h.ATTRIB_VALUE_ENTITY_U}else{t.attribValue+=n}continue}attrib(t);if(n===">"){openTag(t)}else{t.state=h.ATTRIB}continue;case h.CLOSE_TAG:if(!t.tagName){if(isWhitespace(n)){continue}else if(notMatch(u,n)){if(t.script){t.script+=""){closeTag(t)}else if(isMatch(d,n)){t.tagName+=n}else if(t.script){t.script+=""){closeTag(t)}else{strictFail(t,"Invalid characters in closing tag")}continue;case h.TEXT_ENTITY:case h.ATTRIB_VALUE_ENTITY_Q:case h.ATTRIB_VALUE_ENTITY_U:var l;var c;switch(t.state){case h.TEXT_ENTITY:l=h.TEXT;c="textNode";break;case h.ATTRIB_VALUE_ENTITY_Q:l=h.ATTRIB_VALUE_QUOTED;c="attribValue";break;case h.ATTRIB_VALUE_ENTITY_U:l=h.ATTRIB_VALUE_UNQUOTED;c="attribValue";break}if(n===";"){t[c]+=parseEntity(t);t.entity="";t.state=l}else if(isMatch(t.entity.length?f:p,n)){t.entity+=n}else{strictFail(t,"Invalid character in entity name");t[c]+="&"+t.entity+n;t.entity="";t.state=l}continue;default:throw new Error(t,"Unknown state: "+t.state)}}if(t.position>=t.bufferCheckPosition){checkBufferLength(t)}return t}if(!String.fromCodePoint){(function(){var e=String.fromCharCode;var t=Math.floor;var r=function(){var r=16384;var n=[];var i;var o;var s=-1;var a=arguments.length;if(!a){return""}var l="";while(++s1114111||t(c)!==c){throw RangeError("Invalid code point: "+c)}if(c<=65535){n.push(c)}else{c-=65536;i=(c>>10)+55296;o=c%1024+56320;n.push(i,o)}if(s+1===a||n.length>r){l+=e.apply(null,n);n.length=0}}return l};if(Object.defineProperty){Object.defineProperty(String,"fromCodePoint",{value:r,configurable:true,writable:true})}else{String.fromCodePoint=r}})()}})(false?0:t)},56727:(e,t,r)=>{var n=r(13758);var i=Object.prototype.hasOwnProperty;var o=typeof Map!=="undefined";function ArraySet(){this._array=[];this._set=o?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(e,t){var r=new ArraySet;for(var n=0,i=e.length;n=0){return t}}else{var r=n.toSetString(e);if(i.call(this._set,r)){return this._set[r]}}throw new Error('"'+e+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(e){if(e>=0&&e{var n=r(72531);var i=5;var o=1<>1;return t?-r:r}t.encode=function base64VLQ_encode(e){var t="";var r;var o=toVLQSigned(e);do{r=o&s;o>>>=i;if(o>0){r|=a}t+=n.encode(r)}while(o>0);return t};t.decode=function base64VLQ_decode(e,t,r){var o=e.length;var l=0;var c=0;var u,d;do{if(t>=o){throw new Error("Expected more digits in base 64 VLQ value.")}d=n.decode(e.charCodeAt(t++));if(d===-1){throw new Error("Invalid base64 digit: "+e.charAt(t-1))}u=!!(d&a);d&=s;l=l+(d<{var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e{var n=r(13758);function generatedPositionAfter(e,t){var r=e.generatedLine;var i=t.generatedLine;var o=e.generatedColumn;var s=t.generatedColumn;return i>r||i==r&&s>=o||n.compareByGeneratedPositionsInflated(e,t)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(e,t){this._array.forEach(e,t)};MappingList.prototype.add=function MappingList_add(e){if(generatedPositionAfter(this._last,e)){this._last=e;this._array.push(e)}else{this._sorted=false;this._array.push(e)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort(n.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};t.H=MappingList},28265:(e,t,r)=>{var n=r(82539);var i=r(13758);var o=r(56727).I;var s=r(90407).H;function SourceMapGenerator(e){if(!e){e={}}this._file=i.getArg(e,"file",null);this._sourceRoot=i.getArg(e,"sourceRoot",null);this._skipValidation=i.getArg(e,"skipValidation",false);this._sources=new o;this._names=new o;this._mappings=new s;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(e){var t=e.sourceRoot;var r=new SourceMapGenerator({file:e.file,sourceRoot:t});e.eachMapping(function(e){var n={generated:{line:e.generatedLine,column:e.generatedColumn}};if(e.source!=null){n.source=e.source;if(t!=null){n.source=i.relative(t,n.source)}n.original={line:e.originalLine,column:e.originalColumn};if(e.name!=null){n.name=e.name}}r.addMapping(n)});e.sources.forEach(function(n){var o=n;if(t!==null){o=i.relative(t,n)}if(!r._sources.has(o)){r._sources.add(o)}var s=e.sourceContentFor(n);if(s!=null){r.setSourceContent(n,s)}});return r};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(e){var t=i.getArg(e,"generated");var r=i.getArg(e,"original",null);var n=i.getArg(e,"source",null);var o=i.getArg(e,"name",null);if(!this._skipValidation){this._validateMapping(t,r,n,o)}if(n!=null){n=String(n);if(!this._sources.has(n)){this._sources.add(n)}}if(o!=null){o=String(o);if(!this._names.has(o)){this._names.add(o)}}this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:r!=null&&r.line,originalColumn:r!=null&&r.column,source:n,name:o})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(e,t){var r=e;if(this._sourceRoot!=null){r=i.relative(this._sourceRoot,r)}if(t!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[i.toSetString(r)]=t}else if(this._sourcesContents){delete this._sourcesContents[i.toSetString(r)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(e,t,r){var n=t;if(t==null){if(e.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}n=e.file}var s=this._sourceRoot;if(s!=null){n=i.relative(s,n)}var a=new o;var l=new o;this._mappings.unsortedForEach(function(t){if(t.source===n&&t.originalLine!=null){var o=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});if(o.source!=null){t.source=o.source;if(r!=null){t.source=i.join(r,t.source)}if(s!=null){t.source=i.relative(s,t.source)}t.originalLine=o.line;t.originalColumn=o.column;if(o.name!=null){t.name=o.name}}}var c=t.source;if(c!=null&&!a.has(c)){a.add(c)}var u=t.name;if(u!=null&&!l.has(u)){l.add(u)}},this);this._sources=a;this._names=l;e.sources.forEach(function(t){var n=e.sourceContentFor(t);if(n!=null){if(r!=null){t=i.join(r,t)}if(s!=null){t=i.relative(s,t)}this.setSourceContent(t,n)}},this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(e,t,r,n){if(t&&typeof t.line!=="number"&&typeof t.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!t&&!r&&!n){return}else if(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&r){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:n}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var e=0;var t=1;var r=0;var o=0;var s=0;var a=0;var l="";var c;var u;var d;var p;var f=this._mappings.toArray();for(var h=0,m=f.length;h0){if(!i.compareByGeneratedPositionsInflated(u,f[h-1])){continue}c+=","}}c+=n.encode(u.generatedColumn-e);e=u.generatedColumn;if(u.source!=null){p=this._sources.indexOf(u.source);c+=n.encode(p-a);a=p;c+=n.encode(u.originalLine-1-o);o=u.originalLine-1;c+=n.encode(u.originalColumn-r);r=u.originalColumn;if(u.name!=null){d=this._names.indexOf(u.name);c+=n.encode(d-s);s=d}}l+=c}return l};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(e,t){return e.map(function(e){if(!this._sourcesContents){return null}if(t!=null){e=i.relative(t,e)}var r=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){e.file=this._file}if(this._sourceRoot!=null){e.sourceRoot=this._sourceRoot}if(this._sourcesContents){e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)}return e};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};t.h=SourceMapGenerator},13758:(e,t)=>{function getArg(e,t,r){if(t in e){return e[t]}else if(arguments.length===3){return r}else{throw new Error('"'+t+'" is a required argument.')}}t.getArg=getArg;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;var n=/^data:.+\,.+$/;function urlParse(e){var t=e.match(r);if(!t){return null}return{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}}t.urlParse=urlParse;function urlGenerate(e){var t="";if(e.scheme){t+=e.scheme+":"}t+="//";if(e.auth){t+=e.auth+"@"}if(e.host){t+=e.host}if(e.port){t+=":"+e.port}if(e.path){t+=e.path}return t}t.urlGenerate=urlGenerate;function normalize(e){var r=e;var n=urlParse(e);if(n){if(!n.path){return e}r=n.path}var i=t.isAbsolute(r);var o=r.split(/\/+/);for(var s,a=0,l=o.length-1;l>=0;l--){s=o[l];if(s==="."){o.splice(l,1)}else if(s===".."){a++}else if(a>0){if(s===""){o.splice(l+1,a);a=0}else{o.splice(l,2);a--}}}r=o.join("/");if(r===""){r=i?"/":"."}if(n){n.path=r;return urlGenerate(n)}return r}t.normalize=normalize;function join(e,t){if(e===""){e="."}if(t===""){t="."}var r=urlParse(t);var i=urlParse(e);if(i){e=i.path||"/"}if(r&&!r.scheme){if(i){r.scheme=i.scheme}return urlGenerate(r)}if(r||t.match(n)){return t}if(i&&!i.host&&!i.path){i.host=t;return urlGenerate(i)}var o=t.charAt(0)==="/"?t:normalize(e.replace(/\/+$/,"")+"/"+t);if(i){i.path=o;return urlGenerate(i)}return o}t.join=join;t.isAbsolute=function(e){return e.charAt(0)==="/"||r.test(e)};function relative(e,t){if(e===""){e="."}e=e.replace(/\/$/,"");var r=0;while(t.indexOf(e+"/")!==0){var n=e.lastIndexOf("/");if(n<0){return t}e=e.slice(0,n);if(e.match(/^([^\/]+:\/)?\/*$/)){return t}++r}return Array(r+1).join("../")+t.substr(e.length+1)}t.relative=relative;var i=function(){var e=Object.create(null);return!("__proto__"in e)}();function identity(e){return e}function toSetString(e){if(isProtoString(e)){return"$"+e}return e}t.toSetString=i?identity:toSetString;function fromSetString(e){if(isProtoString(e)){return e.slice(1)}return e}t.fromSetString=i?identity:fromSetString;function isProtoString(e){if(!e){return false}var t=e.length;if(t<9){return false}if(e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95){return false}for(var r=t-10;r>=0;r--){if(e.charCodeAt(r)!==36){return false}}return true}function compareByOriginalPositions(e,t,r){var n=strcmp(e.source,t.source);if(n!==0){return n}n=e.originalLine-t.originalLine;if(n!==0){return n}n=e.originalColumn-t.originalColumn;if(n!==0||r){return n}n=e.generatedColumn-t.generatedColumn;if(n!==0){return n}n=e.generatedLine-t.generatedLine;if(n!==0){return n}return strcmp(e.name,t.name)}t.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(e,t,r){var n=e.generatedLine-t.generatedLine;if(n!==0){return n}n=e.generatedColumn-t.generatedColumn;if(n!==0||r){return n}n=strcmp(e.source,t.source);if(n!==0){return n}n=e.originalLine-t.originalLine;if(n!==0){return n}n=e.originalColumn-t.originalColumn;if(n!==0){return n}return strcmp(e.name,t.name)}t.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(e,t){if(e===t){return 0}if(e===null){return 1}if(t===null){return-1}if(e>t){return 1}return-1}function compareByGeneratedPositionsInflated(e,t){var r=e.generatedLine-t.generatedLine;if(r!==0){return r}r=e.generatedColumn-t.generatedColumn;if(r!==0){return r}r=strcmp(e.source,t.source);if(r!==0){return r}r=e.originalLine-t.originalLine;if(r!==0){return r}r=e.originalColumn-t.originalColumn;if(r!==0){return r}return strcmp(e.name,t.name)}t.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(e,t,r){t=t||"";if(e){if(e[e.length-1]!=="/"&&t[0]!=="/"){e+="/"}t=e+t}if(r){var n=urlParse(r);if(!n){throw new Error("sourceMapURL could not be parsed")}if(n.path){var i=n.path.lastIndexOf("/");if(i>=0){n.path=n.path.substring(0,i+1)}}t=join(urlGenerate(n),t)}return normalize(t)}t.computeSourceURL=computeSourceURL},49652:function(e){(function(t,r){true?e.exports=r():0})(this,function(){"use strict";var e=function(e,t){return exec(e.slice(),t)};e.inplace=function(e,r){var n=exec(e,r);if(n!==e){t(n,null,e.length,e)}return e};function exec(e,r){if(typeof r!=="function"){r=function(e,t){return String(e).localeCompare(t)}}var n=e.length;if(n<=1){return e}var i=new Array(n);for(var o=1;oi)l=i;if(c>i)c=i;u=a;d=l;while(true){if(u{"use strict";var n=r(38151).Buffer;var i=n.isEncoding||function(e){e=""+e;switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function _normalizeEncoding(e){if(!e)return"utf8";var t;while(true){switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase();t=true}}}function normalizeEncoding(e){var t=_normalizeEncoding(e);if(typeof t!=="string"&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}t.s=StringDecoder;function StringDecoder(e){this.encoding=normalizeEncoding(e);var t;switch(this.encoding){case"utf16le":this.text=utf16Text;this.end=utf16End;t=4;break;case"utf8":this.fillLast=utf8FillLast;t=4;break;case"base64":this.text=base64Text;this.end=base64End;t=3;break;default:this.write=simpleWrite;this.end=simpleEnd;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=n.allocUnsafe(t)}StringDecoder.prototype.write=function(e){if(e.length===0)return"";var t;var r;if(this.lastNeed){t=this.fillLast(e);if(t===undefined)return"";r=this.lastNeed;this.lastNeed=0}else{r=0}if(r>5===6)return 2;else if(e>>4===14)return 3;else if(e>>3===30)return 4;return e>>6===2?-1:-2}function utf8CheckIncomplete(e,t,r){var n=t.length-1;if(n=0){if(i>0)e.lastNeed=i-1;return i}if(--n=0){if(i>0)e.lastNeed=i-2;return i}if(--n=0){if(i>0){if(i===2)i=0;else e.lastNeed=i-3}return i}return 0}function utf8CheckExtraBytes(e,t,r){if((t[0]&192)!==128){e.lastNeed=0;return"�"}if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128){e.lastNeed=1;return"�"}if(e.lastNeed>2&&t.length>2){if((t[2]&192)!==128){e.lastNeed=2;return"�"}}}}function utf8FillLast(e){var t=this.lastTotal-this.lastNeed;var r=utf8CheckExtraBytes(this,e,t);if(r!==undefined)return r;if(this.lastNeed<=e.length){e.copy(this.lastChar,t,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}e.copy(this.lastChar,t,0,e.length);this.lastNeed-=e.length}function utf8Text(e,t){var r=utf8CheckIncomplete(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);e.copy(this.lastChar,0,n);return e.toString("utf8",t,n)}function utf8End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+"�";return t}function utf16Text(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=e[e.length-2];this.lastChar[1]=e[e.length-1];return r.slice(0,-1)}}return r}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=e[e.length-1];return e.toString("utf16le",t,e.length-1)}function utf16End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function base64Text(e,t){var r=(e.length-t)%3;if(r===0)return e.toString("base64",t);this.lastNeed=3-r;this.lastTotal=3;if(r===1){this.lastChar[0]=e[e.length-1]}else{this.lastChar[0]=e[e.length-2];this.lastChar[1]=e[e.length-1]}return e.toString("base64",t,e.length-r)}function base64End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+this.lastChar.toString("base64",0,3-this.lastNeed);return t}function simpleWrite(e){return e.toString(this.encoding)}function simpleEnd(e){return e&&e.length?this.write(e):""}},50556:(e,t,r)=>{"use strict";const n=r(12087);const i=r(15542);const o=process.env;let s;if(i("no-color")||i("no-colors")||i("color=false")){s=false}else if(i("color")||i("colors")||i("color=true")||i("color=always")){s=true}if("FORCE_COLOR"in o){s=o.FORCE_COLOR.length===0||parseInt(o.FORCE_COLOR,10)!==0}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function supportsColor(e){if(s===false){return 0}if(i("color=16m")||i("color=full")||i("color=truecolor")){return 3}if(i("color=256")){return 2}if(e&&!e.isTTY&&s!==true){return 0}const t=s?1:0;if(process.platform==="win32"){const e=n.release().split(".");if(Number(process.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in o){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in o)||o.CI_NAME==="codeship"){return 1}return t}if("TEAMCITY_VERSION"in o){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION)?1:0}if(o.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in o){const e=parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(o.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)){return 1}if("COLORTERM"in o){return 1}if(o.TERM==="dumb"){return t}return t}function getSupportLevel(e){const t=supportsColor(e);return translateLevel(t)}e.exports={supportsColor:getSupportLevel,stdout:getSupportLevel(process.stdout),stderr:getSupportLevel(process.stderr)}},27604:(e,t,r)=>{"use strict";var n=r(29701),i=n.List,o=r(49652),s=r(77755);function flattenToSelectors(e){var t=[];n.walk(e,{visit:"Rule",enter:function(e){if(e.type!=="Rule"){return}var r=this.atrule;var n=e;e.prelude.children.each(function(e,i){var o={item:i,atrule:r,rule:n,pseudos:[]};e.children.each(function(e,t,r){if(e.type==="PseudoClassSelector"||e.type==="PseudoElementSelector"){o.pseudos.push({item:t,list:r})}});t.push(o)})}});return t}function filterByMqs(e,t){return e.filter(function(e){if(e.atrule===null){return~t.indexOf("")}var r=e.atrule.name;var i=r;if(e.atrule.expression&&e.atrule.expression.children.first().type==="MediaQueryList"){var o=n.generate(e.atrule.expression);i=[r,o].join(" ")}return~t.indexOf(i)})}function filterByPseudos(e,t){return e.filter(function(e){var r=n.generate({type:"Selector",children:(new i).fromArray(e.pseudos.map(function(e){return e.item.data}))});return~t.indexOf(r)})}function cleanPseudos(e){e.forEach(function(e){e.pseudos.forEach(function(e){e.list.remove(e.item)})})}function compareSpecificity(e,t){for(var r=0;r<4;r+=1){if(e[r]t[r]){return 1}}return 0}function compareSimpleSelectorNode(e,t){var r=s(e),n=s(t);return compareSpecificity(r,n)}function _bySelectorSpecificity(e,t){return compareSimpleSelectorNode(e.item.data,t.item.data)}function sortSelectors(e){return o(e,_bySelectorSpecificity)}function csstreeToStyleDeclaration(e){var t=e.property,r=n.generate(e.value),i=e.important?"important":"";return{name:t,value:r,priority:i}}function getCssStr(e){return e.content[0].text||e.content[0].cdata||[]}function setCssStr(e,t){if(e.content[0].cdata){e.content[0].cdata=t;return e.content[0].cdata}e.content[0].text=t;return e.content[0].text}e.exports.flattenToSelectors=flattenToSelectors;e.exports.filterByMqs=filterByMqs;e.exports.filterByPseudos=filterByPseudos;e.exports.cleanPseudos=cleanPseudos;e.exports.compareSpecificity=compareSpecificity;e.exports.compareSimpleSelectorNode=compareSimpleSelectorNode;e.exports.sortSelectors=sortSelectors;e.exports.csstreeToStyleDeclaration=csstreeToStyleDeclaration;e.exports.getCssStr=getCssStr;e.exports.setCssStr=setCssStr},20485:(e,t,r)=>{"use strict";var n=r(42342),i=r(3717),o=r(65994),s=r(71921),a=r(79736).By,l=r(58529);var c=function(e){this.config=n(e)};c.prototype.optimize=function(e,t){t=t||{};return new Promise((r,n)=>{if(this.config.error){n(this.config.error);return}var i=this.config,o=i.multipass?10:1,s=0,l=Number.POSITIVE_INFINITY,c=e=>{if(e.error){n(e.error);return}t.multipassCount=s;if(++s{function __ncc_wildcard$0(e){if(e==="_collections.js"||e==="_collections")return r(76344);else if(e==="_path.js"||e==="_path")return r(54870);else if(e==="_transforms.js"||e==="_transforms")return r(22527);else if(e==="addAttributesToSVGElement.js"||e==="addAttributesToSVGElement")return r(5519);else if(e==="addClassesToSVGElement.js"||e==="addClassesToSVGElement")return r(75118);else if(e==="cleanupAttrs.js"||e==="cleanupAttrs")return r(4106);else if(e==="cleanupEnableBackground.js"||e==="cleanupEnableBackground")return r(26483);else if(e==="cleanupIDs.js"||e==="cleanupIDs")return r(37762);else if(e==="cleanupListOfValues.js"||e==="cleanupListOfValues")return r(92331);else if(e==="cleanupNumericValues.js"||e==="cleanupNumericValues")return r(36296);else if(e==="collapseGroups.js"||e==="collapseGroups")return r(59616);else if(e==="convertColors.js"||e==="convertColors")return r(83254);else if(e==="convertEllipseToCircle.js"||e==="convertEllipseToCircle")return r(56061);else if(e==="convertPathData.js"||e==="convertPathData")return r(76307);else if(e==="convertShapeToPath.js"||e==="convertShapeToPath")return r(24199);else if(e==="convertStyleToAttrs.js"||e==="convertStyleToAttrs")return r(72446);else if(e==="convertTransform.js"||e==="convertTransform")return r(72234);else if(e==="inlineStyles.js"||e==="inlineStyles")return r(81862);else if(e==="mergePaths.js"||e==="mergePaths")return r(46123);else if(e==="minifyStyles.js"||e==="minifyStyles")return r(77686);else if(e==="moveElemsAttrsToGroup.js"||e==="moveElemsAttrsToGroup")return r(42778);else if(e==="moveGroupAttrsToElems.js"||e==="moveGroupAttrsToElems")return r(69078);else if(e==="prefixIds.js"||e==="prefixIds")return r(33099);else if(e==="removeAttributesBySelector.js"||e==="removeAttributesBySelector")return r(65731);else if(e==="removeAttrs.js"||e==="removeAttrs")return r(91585);else if(e==="removeComments.js"||e==="removeComments")return r(13383);else if(e==="removeDesc.js"||e==="removeDesc")return r(81668);else if(e==="removeDimensions.js"||e==="removeDimensions")return r(41690);else if(e==="removeDoctype.js"||e==="removeDoctype")return r(42114);else if(e==="removeEditorsNSData.js"||e==="removeEditorsNSData")return r(70325);else if(e==="removeElementsByAttr.js"||e==="removeElementsByAttr")return r(70535);else if(e==="removeEmptyAttrs.js"||e==="removeEmptyAttrs")return r(63151);else if(e==="removeEmptyContainers.js"||e==="removeEmptyContainers")return r(41059);else if(e==="removeEmptyText.js"||e==="removeEmptyText")return r(14156);else if(e==="removeHiddenElems.js"||e==="removeHiddenElems")return r(1378);else if(e==="removeMetadata.js"||e==="removeMetadata")return r(28873);else if(e==="removeNonInheritableGroupAttrs.js"||e==="removeNonInheritableGroupAttrs")return r(67662);else if(e==="removeOffCanvasPaths.js"||e==="removeOffCanvasPaths")return r(58267);else if(e==="removeRasterImages.js"||e==="removeRasterImages")return r(99062);else if(e==="removeScriptElement.js"||e==="removeScriptElement")return r(64186);else if(e==="removeStyleElement.js"||e==="removeStyleElement")return r(99681);else if(e==="removeTitle.js"||e==="removeTitle")return r(76087);else if(e==="removeUnknownsAndDefaults.js"||e==="removeUnknownsAndDefaults")return r(8316);else if(e==="removeUnusedNS.js"||e==="removeUnusedNS")return r(77926);else if(e==="removeUselessDefs.js"||e==="removeUselessDefs")return r(1820);else if(e==="removeUselessStrokeAndFill.js"||e==="removeUselessStrokeAndFill")return r(7519);else if(e==="removeViewBox.js"||e==="removeViewBox")return r(81306);else if(e==="removeXMLNS.js"||e==="removeXMLNS")return r(44987);else if(e==="removeXMLProcInst.js"||e==="removeXMLProcInst")return r(97427);else if(e==="reusePaths.js"||e==="reusePaths")return r(86607);else if(e==="sortAttrs.js"||e==="sortAttrs")return r(17549);else if(e==="sortDefsChildren.js"||e==="sortDefsChildren")return r(5681)}"use strict";var n=r(35747);var i=r(85622);var o=r(31894);e.exports=function(e){var t;e=typeof e=="object"&&e||{};if(e.plugins&&!Array.isArray(e.plugins)){return{error:"Error: Invalid plugins list. Provided 'plugins' in config should be an array."}}if(e.full){t=e;if(Array.isArray(t.plugins)){t.plugins=preparePluginsArray(e,t.plugins)}}else{t=Object.assign({},o.safeLoad(n.readFileSync(r.ab+".svgo.yml","utf8")));t.plugins=preparePluginsArray(e,t.plugins||[]);t=extendConfig(t,e)}if("floatPrecision"in e&&Array.isArray(t.plugins)){t.plugins.forEach(function(t){if(t.params&&"floatPrecision"in t.params){t.params=Object.assign({},t.params,{floatPrecision:e.floatPrecision})}})}if("datauri"in e){t.datauri=e.datauri}if(Array.isArray(t.plugins)){t.plugins=optimizePluginsArray(t.plugins)}return t};function preparePluginsArray(e,t){var r,n;return t.map(function(t){if(typeof t==="object"){n=Object.keys(t)[0];if(typeof t[n]==="object"&&t[n].fn&&typeof t[n].fn==="function"){r=setupCustomPlugin(n,t[n])}else{r=setPluginActiveState(loadPlugin(e,n,t[n].path),t,n);r.name=n}}else{r=loadPlugin(e,t);r.name=t;if(typeof r.params==="object"){r.params=Object.assign({},r.params)}}return r})}function extendConfig(e,t){var r;if(t.plugins){t.plugins.forEach(function(n){if(typeof n==="object"){r=Object.keys(n)[0];if(n[r]==null){console.error(`Error: '${r}' plugin is misconfigured! Have you padded its content in YML properly?\n`)}if(typeof n[r]==="object"&&n[r].fn&&typeof n[r].fn==="function"){e.plugins.push(setupCustomPlugin(r,n[r]))}else if(typeof n[r]==="object"&&n[r].path){e.plugins.push(setPluginActiveState(loadPlugin(t,undefined,n[r].path),n,r))}else{e.plugins.forEach(function(e){if(e.name===r){e=setPluginActiveState(e,n,r)}})}}})}e.multipass=t.multipass;if(t.svg2js){e.svg2js=t.svg2js}if(t.js2svg){e.js2svg=t.js2svg}return e}function setupCustomPlugin(e,t){t.active=true;t.params=Object.assign({},t.params||{});t.name=e;return t}function optimizePluginsArray(e){var t;return e.reduce(function(e,r){if(t&&r.type==t[0].type){t.push(r)}else{e.push(t=[r])}return e},[])}function setPluginActiveState(e,t,r){if(typeof t[r]==="object"){e.params=Object.assign({},e.params||{},t[r]);e.active=true}else if(t[r]===false){e.active=false}else if(t[r]===true){e.active=true}return e}function loadPlugin(e,t,r){var n;if(!r){n=__ncc_wildcard$0(t)}else{n=require(i.resolve(e.__DIR,r))}return Object.assign({},n)}},57403:(e,t,r)=>{"use strict";var n=r(67670);if(!Object.values){n.shim()}var i=function(e){this.parentNode=e;this.classNames=new Set;this.classAttr=null};i.prototype.clone=function(e){var t=this;var r={};Object.keys(t).forEach(function(e){if(e!=="parentNode"){r[e]=t[e]}});r=JSON.parse(JSON.stringify(r));var n=new i(e);Object.assign(n,r);return n};i.prototype.hasClass=function(){this.classAttr={name:"class",value:null};this.addClassHandler()};i.prototype.addClassHandler=function(){Object.defineProperty(this.parentNode.attrs,"class",{get:this.getClassAttr.bind(this),set:this.setClassAttr.bind(this),enumerable:true,configurable:true});this.addClassValueHandler()};i.prototype.addClassValueHandler=function(){Object.defineProperty(this.classAttr,"value",{get:this.getClassValue.bind(this),set:this.setClassValue.bind(this),enumerable:true,configurable:true})};i.prototype.getClassAttr=function(){return this.classAttr};i.prototype.setClassAttr=function(e){this.setClassValue(e.value);this.classAttr=e;this.addClassValueHandler()};i.prototype.getClassValue=function(){var e=Array.from(this.classNames);return e.join(" ")};i.prototype.setClassValue=function(e){if(typeof e==="undefined"){this.classNames.clear();return}var t=e.split(" ");this.classNames=new Set(t)};i.prototype.add=function(){this.hasClass();Object.values(arguments).forEach(this._addSingle.bind(this))};i.prototype._addSingle=function(e){this.classNames.add(e)};i.prototype.remove=function(){this.hasClass();Object.values(arguments).forEach(this._removeSingle.bind(this))};i.prototype._removeSingle=function(e){this.classNames.delete(e)};i.prototype.item=function(e){var t=Array.from(this.classNames);return t[e]};i.prototype.toggle=function(e,t){if(this.contains(e)||t===false){this.classNames.delete(e)}this.classNames.add(e)};i.prototype.contains=function(e){return this.classNames.has(e)};e.exports=i},20889:(e,t,r)=>{"use strict";var n=r(89072);var i={isTag:function(e){return e.isElem()},getParent:function(e){return e.parentNode||null},getChildren:function(e){return e.content||[]},getName:function(e){return e.elem},getText:function(e){return e.content[0].text||e.content[0].cdata||""},getAttributeValue:function(e,t){return e.hasAttr(t)?e.attr(t).value:null}};var o=n(i);e.exports=o},36395:(e,t,r)=>{"use strict";var n=r(29701),i=r(27604);var o=function(e){this.parentNode=e;this.properties=new Map;this.hasSynced=false;this.styleAttr=null;this.styleValue=null;this.parseError=false};o.prototype.clone=function(e){var t=this;var r={};Object.keys(t).forEach(function(e){if(e!=="parentNode"){r[e]=t[e]}});r=JSON.parse(JSON.stringify(r));var n=new o(e);Object.assign(n,r);return n};o.prototype.hasStyle=function(){this.addStyleHandler()};o.prototype.addStyleHandler=function(){this.styleAttr={name:"style",value:null};Object.defineProperty(this.parentNode.attrs,"style",{get:this.getStyleAttr.bind(this),set:this.setStyleAttr.bind(this),enumerable:true,configurable:true});this.addStyleValueHandler()};o.prototype.addStyleValueHandler=function(){Object.defineProperty(this.styleAttr,"value",{get:this.getStyleValue.bind(this),set:this.setStyleValue.bind(this),enumerable:true,configurable:true})};o.prototype.getStyleAttr=function(){return this.styleAttr};o.prototype.setStyleAttr=function(e){this.setStyleValue(e.value);this.styleAttr=e;this.addStyleValueHandler();this.hasSynced=false};o.prototype.getStyleValue=function(){return this.getCssText()};o.prototype.setStyleValue=function(e){this.properties.clear();this.styleValue=e;this.hasSynced=false};o.prototype._loadCssText=function(){if(this.hasSynced){return}this.hasSynced=true;if(!this.styleValue||this.styleValue.length===0){return}var e=this.styleValue;var t={};try{t=n.parse(e,{context:"declarationList",parseValue:false})}catch(e){this.parseError=e;return}this.parseError=false;var r=this;t.children.each(function(e){try{var t=i.csstreeToStyleDeclaration(e);r.setProperty(t.name,t.value,t.priority)}catch(e){if(e.message!=="Unknown node type: undefined"){r.parseError=e}}})};o.prototype.getCssText=function(){var e=this.getProperties();if(this.parseError){return this.styleValue}var t=[];e.forEach(function(e,r){var n=e.priority==="important"?"!important":"";t.push(r.trim()+":"+e.value.trim()+n)});return t.join(";")};o.prototype._handleParseError=function(){if(this.parseError){console.warn("Warning: Parse error when parsing inline styles, style properties of this element cannot be used. The raw styles can still be get/set using .attr('style').value. Error details: "+this.parseError)}};o.prototype._getProperty=function(e){if(typeof e==="undefined"){throw Error("1 argument required, but only 0 present.")}var t=this.getProperties();this._handleParseError();var r=t.get(e.trim());return r};o.prototype.getPropertyPriority=function(e){var t=this._getProperty(e);return t?t.priority:""};o.prototype.getPropertyValue=function(e){var t=this._getProperty(e);return t?t.value:null};o.prototype.item=function(e){if(typeof e==="undefined"){throw Error("1 argument required, but only 0 present.")}var t=this.getProperties();this._handleParseError();return Array.from(t.keys())[e]};o.prototype.getProperties=function(){this._loadCssText();return this.properties};o.prototype.removeProperty=function(e){if(typeof e==="undefined"){throw Error("1 argument required, but only 0 present.")}this.hasStyle();var t=this.getProperties();this._handleParseError();var r=this.getPropertyValue(e);t.delete(e.trim());return r};o.prototype.setProperty=function(e,t,r){if(typeof e==="undefined"){throw Error("propertyName argument required, but only not present.")}this.hasStyle();var n=this.getProperties();this._handleParseError();var i={value:t.trim(),priority:r.trim()};n.set(e.trim(),i);return i};e.exports=o},58529:(e,t,r)=>{"use strict";var n=r(12087).EOL,i=r(76344).elemsGroups.textContent.concat("title");var o={doctypeStart:"",procInstStart:"",tagOpenStart:"<",tagOpenEnd:">",tagCloseStart:"",tagShortStart:"<",tagShortEnd:"/>",attrStart:'="',attrEnd:'"',commentStart:"\x3c!--",commentEnd:"--\x3e",cdataStart:"",textStart:"",textEnd:"",indent:4,regEntities:/[&'"<>]/g,regValEntities:/[&"<>]/g,encodeEntity:encodeEntity,pretty:false,useShortTags:true};var s={"&":"&","'":"'",'"':""",">":">","<":"<"};e.exports=function(e,t){return new JS2SVG(t).convert(e)};function JS2SVG(e){if(e){this.config=Object.assign({},o,e)}else{this.config=Object.assign({},o)}var t=this.config.indent;if(typeof t=="number"&&!isNaN(t)){this.config.indent=t<0?"\t":" ".repeat(t)}else if(typeof t!="string"){this.config.indent=" "}if(this.config.pretty){this.config.doctypeEnd+=n;this.config.procInstEnd+=n;this.config.commentEnd+=n;this.config.cdataEnd+=n;this.config.tagShortEnd+=n;this.config.tagOpenEnd+=n;this.config.tagCloseEnd+=n;this.config.textEnd+=n}this.indentLevel=0;this.textContext=null}function encodeEntity(e){return s[e]}JS2SVG.prototype.convert=function(e){var t="";if(e.content){this.indentLevel++;e.content.forEach(function(e){if(e.elem){t+=this.createElem(e)}else if(e.text){t+=this.createText(e.text)}else if(e.doctype){t+=this.createDoctype(e.doctype)}else if(e.processinginstruction){t+=this.createProcInst(e.processinginstruction)}else if(e.comment){t+=this.createComment(e.comment)}else if(e.cdata){t+=this.createCDATA(e.cdata)}},this)}this.indentLevel--;return{data:t,info:{width:this.width,height:this.height}}};JS2SVG.prototype.createIndent=function(){var e="";if(this.config.pretty&&!this.textContext){e=this.config.indent.repeat(this.indentLevel-1)}return e};JS2SVG.prototype.createDoctype=function(e){return this.config.doctypeStart+e+this.config.doctypeEnd};JS2SVG.prototype.createProcInst=function(e){return this.config.procInstStart+e.name+" "+e.body+this.config.procInstEnd};JS2SVG.prototype.createComment=function(e){return this.config.commentStart+e+this.config.commentEnd};JS2SVG.prototype.createCDATA=function(e){return this.createIndent()+this.config.cdataStart+e+this.config.cdataEnd};JS2SVG.prototype.createElem=function(e){if(e.isElem("svg")&&e.hasAttr("width")&&e.hasAttr("height")){this.width=e.attr("width").value;this.height=e.attr("height").value}if(e.isEmpty()){if(this.config.useShortTags){return this.createIndent()+this.config.tagShortStart+e.elem+this.createAttrs(e)+this.config.tagShortEnd}else{return this.createIndent()+this.config.tagShortStart+e.elem+this.createAttrs(e)+this.config.tagOpenEnd+this.config.tagCloseStart+e.elem+this.config.tagCloseEnd}}else{var t=this.config.tagOpenStart,r=this.config.tagOpenEnd,s=this.config.tagCloseStart,a=this.config.tagCloseEnd,l=this.createIndent(),c="",u="",d="";if(this.textContext){t=o.tagOpenStart;r=o.tagOpenEnd;s=o.tagCloseStart;a=o.tagCloseEnd;l=""}else if(e.isElem(i)){if(this.config.pretty){c+=l+this.config.indent}this.textContext=e}u+=this.convert(e).data;if(this.textContext==e){this.textContext=null;if(this.config.pretty)d=n}return l+t+e.elem+this.createAttrs(e)+r+c+u+d+this.createIndent()+s+e.elem+a}};JS2SVG.prototype.createAttrs=function(e){var t="";e.eachAttr(function(e){if(e.value!==undefined){t+=" "+e.name+this.config.attrStart+String(e.value).replace(this.config.regValEntities,this.config.encodeEntity)+this.config.attrEnd}else{t+=" "+e.name}},this);return t};JS2SVG.prototype.createText=function(e){return this.createIndent()+this.config.textStart+e.replace(this.config.regEntities,this.config.encodeEntity)+(this.textContext?"":this.config.textEnd)}},71921:(e,t,r)=>{"use strict";var n=r(32825);var i=r(20889);var o={xmlMode:true,adapter:i};var s=e.exports=function(e,t){Object.assign(this,e);if(t){Object.defineProperty(this,"parentNode",{writable:true,value:t})}};s.prototype.clone=function(){var e=this;var t={};Object.keys(e).forEach(function(r){if(r!=="class"&&r!=="style"&&r!=="content"){t[r]=e[r]}});t=JSON.parse(JSON.stringify(t));var r=new s(t,!!e.parentNode);if(e.class){r.class=e.class.clone(r)}if(e.style){r.style=e.style.clone(r)}if(e.content){r.content=e.content.map(function(e){var t=e.clone();t.parentNode=r;return t})}return r};s.prototype.isElem=function(e){if(!e)return!!this.elem;if(Array.isArray(e))return!!this.elem&&e.indexOf(this.elem)>-1;return!!this.elem&&this.elem===e};s.prototype.renameElem=function(e){if(e&&typeof e==="string")this.elem=this.local=e;return this};s.prototype.isEmpty=function(){return!this.content||!this.content.length};s.prototype.closestElem=function(e){var t=this;while((t=t.parentNode)&&!t.isElem(e));return t};s.prototype.spliceContent=function(e,t,r){if(arguments.length<2)return[];if(!Array.isArray(r))r=Array.apply(null,arguments).slice(2);r.forEach(function(e){e.parentNode=this},this);return this.content.splice.apply(this.content,[e,t].concat(r))};s.prototype.hasAttr=function(e,t){if(!this.attrs||!Object.keys(this.attrs).length)return false;if(!arguments.length)return!!this.attrs;if(t!==undefined)return!!this.attrs[e]&&this.attrs[e].value===t.toString();return!!this.attrs[e]};s.prototype.hasAttrLocal=function(e,t){if(!this.attrs||!Object.keys(this.attrs).length)return false;if(!arguments.length)return!!this.attrs;var r;switch(t!=null&&t.constructor&&t.constructor.name){case"Number":case"String":r=stringValueTest;break;case"RegExp":r=regexpValueTest;break;case"Function":r=funcValueTest;break;default:r=nameTest}return this.someAttr(r);function nameTest(t){return t.local===e}function stringValueTest(r){return r.local===e&&t==r.value}function regexpValueTest(r){return r.local===e&&t.test(r.value)}function funcValueTest(r){return r.local===e&&t(r.value)}};s.prototype.attr=function(e,t){if(!this.hasAttr()||!arguments.length)return undefined;if(t!==undefined)return this.hasAttr(e,t)?this.attrs[e]:undefined;return this.attrs[e]};s.prototype.computedAttr=function(e,t){if(!arguments.length)return;for(var r=this;r&&(!r.hasAttr(e)||!r.attr(e).value);r=r.parentNode);if(t!=null){return r?r.hasAttr(e,t):false}else if(r&&r.hasAttr(e)){return r.attrs[e].value}};s.prototype.removeAttr=function(e,t,r){if(!arguments.length)return false;if(Array.isArray(e)){e.forEach(this.removeAttr,this);return false}if(!this.hasAttr(e))return false;if(!r&&t&&this.attrs[e].value!==t)return false;delete this.attrs[e];if(!Object.keys(this.attrs).length)delete this.attrs;return true};s.prototype.addAttr=function(e){e=e||{};if(e.name===undefined||e.prefix===undefined||e.local===undefined)return false;this.attrs=this.attrs||{};this.attrs[e.name]=e;if(e.name==="class"){this.class.hasClass()}if(e.name==="style"){this.style.hasStyle()}return this.attrs[e.name]};s.prototype.eachAttr=function(e,t){if(!this.hasAttr())return false;for(var r in this.attrs){e.call(t,this.attrs[r])}return true};s.prototype.someAttr=function(e,t){if(!this.hasAttr())return false;for(var r in this.attrs){if(e.call(t,this.attrs[r]))return true}return false};s.prototype.querySelectorAll=function(e){var t=n(e,this,o);return t.length>0?t:null};s.prototype.querySelector=function(e){return n.selectOne(e,this,o)};s.prototype.matches=function(e){return n.is(this,e,o)}},65994:e=>{"use strict";e.exports=function(e,t,r){r.forEach(function(r){switch(r[0].type){case"perItem":e=perItem(e,t,r);break;case"perItemReverse":e=perItem(e,t,r,true);break;case"full":e=full(e,t,r);break}});return e};function perItem(e,t,r,n){function monkeys(e){e.content=e.content.filter(function(e){if(n&&e.content){monkeys(e)}var i=true;for(var o=0;i&&o{"use strict";var n=r(25510),i=r(71921),o=r(57403),s=r(36395),a=//g;var l={strict:true,trim:false,normalize:true,lowercase:true,xmlns:true,position:true};e.exports=function(e,t){var r=n.parser(l.strict,l),c=new i({elem:"#document",content:[]}),u=c,d=[c],p=null,f=false;function pushToContent(e){e=new i(e,u);(u.content=u.content||[]).push(e);return e}r.ondoctype=function(t){pushToContent({doctype:t});var n=t.indexOf("["),i;if(n>=0){a.lastIndex=n;while((i=a.exec(e))!=null){r.ENTITIES[i[1]]=i[2]||i[3]}}};r.onprocessinginstruction=function(e){pushToContent({processinginstruction:e})};r.oncomment=function(e){pushToContent({comment:e.trim()})};r.oncdata=function(e){pushToContent({cdata:e})};r.onopentag=function(e){var t={elem:e.name,prefix:e.prefix,local:e.local,attrs:{}};t.class=new o(t);t.style=new s(t);if(Object.keys(e.attributes).length){for(var r in e.attributes){if(r==="class"){t.class.hasClass()}if(r==="style"){t.style.hasStyle()}t.attrs[r]={name:r,value:e.attributes[r].value,prefix:e.attributes[r].prefix,local:e.attributes[r].local}}}t=pushToContent(t);u=t;if(e.name=="text"&&!e.prefix){p=u}d.push(t)};r.ontext=function(e){if(/\S/.test(e)||p){if(!p)e=e.trim();pushToContent({text:e})}};r.onclosetag=function(){var e=d.pop();if(e==p){trim(p);p=null}u=d[d.length-1]};r.onerror=function(e){e.message="Error in parsing SVG: "+e.message;if(e.message.indexOf("Unexpected end")<0){throw e}};r.onend=function(){if(!this.error){t(c)}else{t({error:this.error.message})}};try{r.write(e)}catch(e){t({error:e.message});f=true}if(!f)r.close();function trim(e){if(!e.content)return e;var t=e.content[0],r=e.content[e.content.length-1];while(t&&t.content&&!t.text)t=t.content[0];if(t&&t.text)t.text=t.text.replace(/^\s+/,"");while(r&&r.content&&!r.text)r=r.content[r.content.length-1];if(r&&r.text)r.text=r.text.replace(/\s+$/,"");return e}}},79736:(e,t,r)=>{"use strict";var n;var i=r(35747);t.By=function(e,t){var r="data:image/svg+xml";if(!t||t==="base64"){r+=";base64,";if(Buffer.from){e=r+Buffer.from(e).toString("base64")}else{e=r+new Buffer(e).toString("base64")}}else if(t==="enc"){e=r+","+encodeURIComponent(e)}else if(t==="unenc"){e=r+","+e}return e};n=function(e){var t=/data:image\/svg\+xml(;charset=[^;,]*)?(;base64)?,(.*)/;var r=t.exec(e);if(!r)return e;var n=r[3];if(r[2]){e=new Buffer(n,"base64").toString("utf8")}else if(n.charAt(0)==="%"){e=decodeURIComponent(n)}else if(n.charAt(0)==="<"){e=n}return e};n=function(e,t){return e.filter(function(e){return t.indexOf(e)>-1})};t.Kr=function(e,t,r){var n="",i,s;e.forEach(function(e,a){i=" ";if(a==0)i="";if(t.noSpaceAfterFlags&&(r=="A"||r=="a")){var l=a%7;if(l==4||l==5)i=""}if(t.leadingZero){e=o(e)}if(t.negativeExtraSpace&&i!=""&&(e<0||String(e).charCodeAt(0)==46&&s%1!==0)){i=""}s=e;n+=i+e});return n};var o=t.RM=function(e){var t=e.toString();if(0{"use strict";t.elemsGroups={animation:["animate","animateColor","animateMotion","animateTransform","set"],descriptive:["desc","metadata","title"],shape:["circle","ellipse","line","path","polygon","polyline","rect"],structural:["defs","g","svg","symbol","use"],paintServer:["solidColor","linearGradient","radialGradient","meshGradient","pattern","hatch"],nonRendering:["linearGradient","radialGradient","pattern","clipPath","mask","marker","symbol","filter","solidColor"],container:["a","defs","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","foreignObject"],textContent:["altGlyph","altGlyphDef","altGlyphItem","glyph","glyphRef","textPath","text","tref","tspan"],textContentChild:["altGlyph","textPath","tref","tspan"],lightSource:["feDiffuseLighting","feSpecularLighting","feDistantLight","fePointLight","feSpotLight"],filterPrimitive:["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence"]};t.pathElems=["path","glyph","missing-glyph"];t.attrsGroups={animationAddition:["additive","accumulate"],animationAttributeTarget:["attributeType","attributeName"],animationEvent:["onbegin","onend","onrepeat","onload"],animationTiming:["begin","dur","end","min","max","restart","repeatCount","repeatDur","fill"],animationValue:["calcMode","values","keyTimes","keySplines","from","to","by"],conditionalProcessing:["requiredFeatures","requiredExtensions","systemLanguage"],core:["id","tabindex","xml:base","xml:lang","xml:space"],graphicalEvent:["onfocusin","onfocusout","onactivate","onclick","onmousedown","onmouseup","onmouseover","onmousemove","onmouseout","onload"],presentation:["alignment-baseline","baseline-shift","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cursor","direction","display","dominant-baseline","enable-background","fill","fill-opacity","fill-rule","filter","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-orientation-horizontal","glyph-orientation-vertical","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","mask","opacity","overflow","paint-order","pointer-events","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-overflow","text-rendering","transform","unicode-bidi","vector-effect","visibility","word-spacing","writing-mode"],xlink:["xlink:href","xlink:show","xlink:actuate","xlink:type","xlink:role","xlink:arcrole","xlink:title"],documentEvent:["onunload","onabort","onerror","onresize","onscroll","onzoom"],filterPrimitive:["x","y","width","height","result"],transferFunction:["type","tableValues","slope","intercept","amplitude","exponent","offset"]};t.attrsGroupsDefaults={core:{"xml:space":"preserve"},filterPrimitive:{x:"0",y:"0",width:"100%",height:"100%"},presentation:{clip:"auto","clip-path":"none","clip-rule":"nonzero",mask:"none",opacity:"1","stop-color":"#000","stop-opacity":"1","fill-opacity":"1","fill-rule":"nonzero",fill:"#000",stroke:"none","stroke-width":"1","stroke-linecap":"butt","stroke-linejoin":"miter","stroke-miterlimit":"4","stroke-dasharray":"none","stroke-dashoffset":"0","stroke-opacity":"1","paint-order":"normal","vector-effect":"none",display:"inline",visibility:"visible","marker-start":"none","marker-mid":"none","marker-end":"none","color-interpolation":"sRGB","color-interpolation-filters":"linearRGB","color-rendering":"auto","shape-rendering":"auto","text-rendering":"auto","image-rendering":"auto","font-style":"normal","font-variant":"normal","font-weight":"normal","font-stretch":"normal","font-size":"medium","font-size-adjust":"none",kerning:"auto","letter-spacing":"normal","word-spacing":"normal","text-decoration":"none","text-anchor":"start","text-overflow":"clip","writing-mode":"lr-tb","glyph-orientation-vertical":"auto","glyph-orientation-horizontal":"0deg",direction:"ltr","unicode-bidi":"normal","dominant-baseline":"auto","alignment-baseline":"baseline","baseline-shift":"baseline"},transferFunction:{slope:"1",intercept:"0",amplitude:"1",exponent:"1",offset:"0"}};t.elems={a:{attrsGroups:["conditionalProcessing","core","graphicalEvent","presentation","xlink"],attrs:["class","style","externalResourcesRequired","transform","target"],defaults:{target:"_self"},contentGroups:["animation","descriptive","shape","structural","paintServer"],content:["a","altGlyphDef","clipPath","color-profile","cursor","filter","font","font-face","foreignObject","image","marker","mask","pattern","script","style","switch","text","view"]},altGlyph:{attrsGroups:["conditionalProcessing","core","graphicalEvent","presentation","xlink"],attrs:["class","style","externalResourcesRequired","x","y","dx","dy","glyphRef","format","rotate"]},altGlyphDef:{attrsGroups:["core"],content:["glyphRef"]},altGlyphItem:{attrsGroups:["core"],content:["glyphRef","altGlyphItem"]},animate:{attrsGroups:["conditionalProcessing","core","animationAddition","animationAttributeTarget","animationEvent","animationTiming","animationValue","presentation","xlink"],attrs:["externalResourcesRequired"],contentGroups:["descriptive"]},animateColor:{attrsGroups:["conditionalProcessing","core","animationEvent","xlink","animationAttributeTarget","animationTiming","animationValue","animationAddition","presentation"],attrs:["externalResourcesRequired"],contentGroups:["descriptive"]},animateMotion:{attrsGroups:["conditionalProcessing","core","animationEvent","xlink","animationTiming","animationValue","animationAddition"],attrs:["externalResourcesRequired","path","keyPoints","rotate","origin"],defaults:{rotate:"0"},contentGroups:["descriptive"],content:["mpath"]},animateTransform:{attrsGroups:["conditionalProcessing","core","animationEvent","xlink","animationAttributeTarget","animationTiming","animationValue","animationAddition"],attrs:["externalResourcesRequired","type"],contentGroups:["descriptive"]},circle:{attrsGroups:["conditionalProcessing","core","graphicalEvent","presentation"],attrs:["class","style","externalResourcesRequired","transform","cx","cy","r"],defaults:{cx:"0",cy:"0"},contentGroups:["animation","descriptive"]},clipPath:{attrsGroups:["conditionalProcessing","core","presentation"],attrs:["class","style","externalResourcesRequired","transform","clipPathUnits"],defaults:{clipPathUnits:"userSpaceOnUse"},contentGroups:["animation","descriptive","shape"],content:["text","use"]},"color-profile":{attrsGroups:["core","xlink"],attrs:["local","name","rendering-intent"],defaults:{name:"sRGB","rendering-intent":"auto"},contentGroups:["descriptive"]},cursor:{attrsGroups:["core","conditionalProcessing","xlink"],attrs:["externalResourcesRequired","x","y"],defaults:{x:"0",y:"0"},contentGroups:["descriptive"]},defs:{attrsGroups:["conditionalProcessing","core","graphicalEvent","presentation"],attrs:["class","style","externalResourcesRequired","transform"],contentGroups:["animation","descriptive","shape","structural","paintServer"],content:["a","altGlyphDef","clipPath","color-profile","cursor","filter","font","font-face","foreignObject","image","marker","mask","pattern","script","style","switch","text","view"]},desc:{attrsGroups:["core"],attrs:["class","style"]},ellipse:{attrsGroups:["conditionalProcessing","core","graphicalEvent","presentation"],attrs:["class","style","externalResourcesRequired","transform","cx","cy","rx","ry"],defaults:{cx:"0",cy:"0"},contentGroups:["animation","descriptive"]},feBlend:{attrsGroups:["core","presentation","filterPrimitive"],attrs:["class","style","in","in2","mode"],defaults:{mode:"normal"},content:["animate","set"]},feColorMatrix:{attrsGroups:["core","presentation","filterPrimitive"],attrs:["class","style","in","type","values"],defaults:{type:"matrix"},content:["animate","set"]},feComponentTransfer:{attrsGroups:["core","presentation","filterPrimitive"],attrs:["class","style","in"],content:["feFuncA","feFuncB","feFuncG","feFuncR"]},feComposite:{attrsGroups:["core","presentation","filterPrimitive"],attrs:["class","style","in","in2","operator","k1","k2","k3","k4"],defaults:{operator:"over",k1:"0",k2:"0",k3:"0",k4:"0"},content:["animate","set"]},feConvolveMatrix:{attrsGroups:["core","presentation","filterPrimitive"],attrs:["class","style","in","order","kernelMatrix","divisor","bias","targetX","targetY","edgeMode","kernelUnitLength","preserveAlpha"],defaults:{order:"3",bias:"0",edgeMode:"duplicate",preserveAlpha:"false"},content:["animate","set"]},feDiffuseLighting:{attrsGroups:["core","presentation","filterPrimitive"],attrs:["class","style","in","surfaceScale","diffuseConstant","kernelUnitLength"],defaults:{surfaceScale:"1",diffuseConstant:"1"},contentGroups:["descriptive"],content:["feDistantLight","fePointLight","feSpotLight"]},feDisplacementMap:{attrsGroups:["core","presentation","filterPrimitive"],attrs:["class","style","in","in2","scale","xChannelSelector","yChannelSelector"],defaults:{scale:"0",xChannelSelector:"A",yChannelSelector:"A"},content:["animate","set"]},feDistantLight:{attrsGroups:["core"],attrs:["azimuth","elevation"],defaults:{azimuth:"0",elevation:"0"},content:["animate","set"]},feFlood:{attrsGroups:["core","presentation","filterPrimitive"],attrs:["class","style"],content:["animate","animateColor","set"]},feFuncA:{attrsGroups:["core","transferFunction"],content:["set","animate"]},feFuncB:{attrsGroups:["core","transferFunction"],content:["set","animate"]},feFuncG:{attrsGroups:["core","transferFunction"],content:["set","animate"]},feFuncR:{attrsGroups:["core","transferFunction"],content:["set","animate"]},feGaussianBlur:{attrsGroups:["core","presentation","filterPrimitive"],attrs:["class","style","in","stdDeviation"],defaults:{stdDeviation:"0"},content:["set","animate"]},feImage:{attrsGroups:["core","presentation","filterPrimitive","xlink"],attrs:["class","style","externalResourcesRequired","preserveAspectRatio","href","xlink:href"],defaults:{preserveAspectRatio:"xMidYMid meet"},content:["animate","animateTransform","set"]},feMerge:{attrsGroups:["core","presentation","filterPrimitive"],attrs:["class","style"],content:["feMergeNode"]},feMergeNode:{attrsGroups:["core"],attrs:["in"],content:["animate","set"]},feMorphology:{attrsGroups:["core","presentation","filterPrimitive"],attrs:["class","style","in","operator","radius"],defaults:{operator:"erode",radius:"0"},content:["animate","set"]},feOffset:{attrsGroups:["core","presentation","filterPrimitive"],attrs:["class","style","in","dx","dy"],defaults:{dx:"0",dy:"0"},content:["animate","set"]},fePointLight:{attrsGroups:["core"],attrs:["x","y","z"],defaults:{x:"0",y:"0",z:"0"},content:["animate","set"]},feSpecularLighting:{attrsGroups:["core","presentation","filterPrimitive"],attrs:["class","style","in","surfaceScale","specularConstant","specularExponent","kernelUnitLength"],defaults:{surfaceScale:"1",specularConstant:"1",specularExponent:"1"},contentGroups:["descriptive","lightSource"]},feSpotLight:{attrsGroups:["core"],attrs:["x","y","z","pointsAtX","pointsAtY","pointsAtZ","specularExponent","limitingConeAngle"],defaults:{x:"0",y:"0",z:"0",pointsAtX:"0",pointsAtY:"0",pointsAtZ:"0",specularExponent:"1"},content:["animate","set"]},feTile:{attrsGroups:["core","presentation","filterPrimitive"],attrs:["class","style","in"],content:["animate","set"]},feTurbulence:{attrsGroups:["core","presentation","filterPrimitive"],attrs:["class","style","baseFrequency","numOctaves","seed","stitchTiles","type"],defaults:{baseFrequency:"0",numOctaves:"1",seed:"0",stitchTiles:"noStitch",type:"turbulence"},content:["animate","set"]},filter:{attrsGroups:["core","presentation","xlink"],attrs:["class","style","externalResourcesRequired","x","y","width","height","filterRes","filterUnits","primitiveUnits","href","xlink:href"],defaults:{primitiveUnits:"userSpaceOnUse",x:"-10%",y:"-10%",width:"120%",height:"120%"},contentGroups:["descriptive","filterPrimitive"],content:["animate","set"]},font:{attrsGroups:["core","presentation"],attrs:["class","style","externalResourcesRequired","horiz-origin-x","horiz-origin-y","horiz-adv-x","vert-origin-x","vert-origin-y","vert-adv-y"],defaults:{"horiz-origin-x":"0","horiz-origin-y":"0"},contentGroups:["descriptive"],content:["font-face","glyph","hkern","missing-glyph","vkern"]},"font-face":{attrsGroups:["core"],attrs:["font-family","font-style","font-variant","font-weight","font-stretch","font-size","unicode-range","units-per-em","panose-1","stemv","stemh","slope","cap-height","x-height","accent-height","ascent","descent","widths","bbox","ideographic","alphabetic","mathematical","hanging","v-ideographic","v-alphabetic","v-mathematical","v-hanging","underline-position","underline-thickness","strikethrough-position","strikethrough-thickness","overline-position","overline-thickness"],defaults:{"font-style":"all","font-variant":"normal","font-weight":"all","font-stretch":"normal","unicode-range":"U+0-10FFFF","units-per-em":"1000","panose-1":"0 0 0 0 0 0 0 0 0 0",slope:"0"},contentGroups:["descriptive"],content:["font-face-src"]},"font-face-format":{attrsGroups:["core"],attrs:["string"]},"font-face-name":{attrsGroups:["core"],attrs:["name"]},"font-face-src":{attrsGroups:["core"],content:["font-face-name","font-face-uri"]},"font-face-uri":{attrsGroups:["core","xlink"],attrs:["href","xlink:href"],content:["font-face-format"]},foreignObject:{attrsGroups:["core","conditionalProcessing","graphicalEvent","presentation"],attrs:["class","style","externalResourcesRequired","transform","x","y","width","height"],defaults:{x:0,y:0}},g:{attrsGroups:["conditionalProcessing","core","graphicalEvent","presentation"],attrs:["class","style","externalResourcesRequired","transform"],contentGroups:["animation","descriptive","shape","structural","paintServer"],content:["a","altGlyphDef","clipPath","color-profile","cursor","filter","font","font-face","foreignObject","image","marker","mask","pattern","script","style","switch","text","view"]},glyph:{attrsGroups:["core","presentation"],attrs:["class","style","d","horiz-adv-x","vert-origin-x","vert-origin-y","vert-adv-y","unicode","glyph-name","orientation","arabic-form","lang"],defaults:{"arabic-form":"initial"},contentGroups:["animation","descriptive","shape","structural","paintServer"],content:["a","altGlyphDef","clipPath","color-profile","cursor","filter","font","font-face","foreignObject","image","marker","mask","pattern","script","style","switch","text","view"]},glyphRef:{attrsGroups:["core","presentation"],attrs:["class","style","d","horiz-adv-x","vert-origin-x","vert-origin-y","vert-adv-y"],contentGroups:["animation","descriptive","shape","structural","paintServer"],content:["a","altGlyphDef","clipPath","color-profile","cursor","filter","font","font-face","foreignObject","image","marker","mask","pattern","script","style","switch","text","view"]},hatch:{attrsGroups:["core","presentation","xlink"],attrs:["class","style","x","y","pitch","rotate","hatchUnits","hatchContentUnits","transform"],defaults:{hatchUnits:"objectBoundingBox",hatchContentUnits:"userSpaceOnUse",x:"0",y:"0",pitch:"0",rotate:"0"},contentGroups:["animation","descriptive"],content:["hatchPath"]},hatchPath:{attrsGroups:["core","presentation","xlink"],attrs:["class","style","d","offset"],defaults:{offset:"0"},contentGroups:["animation","descriptive"]},hkern:{attrsGroups:["core"],attrs:["u1","g1","u2","g2","k"]},image:{attrsGroups:["core","conditionalProcessing","graphicalEvent","xlink","presentation"],attrs:["class","style","externalResourcesRequired","preserveAspectRatio","transform","x","y","width","height","href","xlink:href"],defaults:{x:"0",y:"0",preserveAspectRatio:"xMidYMid meet"},contentGroups:["animation","descriptive"]},line:{attrsGroups:["conditionalProcessing","core","graphicalEvent","presentation"],attrs:["class","style","externalResourcesRequired","transform","x1","y1","x2","y2"],defaults:{x1:"0",y1:"0",x2:"0",y2:"0"},contentGroups:["animation","descriptive"]},linearGradient:{attrsGroups:["core","presentation","xlink"],attrs:["class","style","externalResourcesRequired","x1","y1","x2","y2","gradientUnits","gradientTransform","spreadMethod","href","xlink:href"],defaults:{x1:"0",y1:"0",x2:"100%",y2:"0",spreadMethod:"pad"},contentGroups:["descriptive"],content:["animate","animateTransform","set","stop"]},marker:{attrsGroups:["core","presentation"],attrs:["class","style","externalResourcesRequired","viewBox","preserveAspectRatio","refX","refY","markerUnits","markerWidth","markerHeight","orient"],defaults:{markerUnits:"strokeWidth",refX:"0",refY:"0",markerWidth:"3",markerHeight:"3"},contentGroups:["animation","descriptive","shape","structural","paintServer"],content:["a","altGlyphDef","clipPath","color-profile","cursor","filter","font","font-face","foreignObject","image","marker","mask","pattern","script","style","switch","text","view"]},mask:{attrsGroups:["conditionalProcessing","core","presentation"],attrs:["class","style","externalResourcesRequired","x","y","width","height","maskUnits","maskContentUnits"],defaults:{maskUnits:"objectBoundingBox",maskContentUnits:"userSpaceOnUse",x:"-10%",y:"-10%",width:"120%",height:"120%"},contentGroups:["animation","descriptive","shape","structural","paintServer"],content:["a","altGlyphDef","clipPath","color-profile","cursor","filter","font","font-face","foreignObject","image","marker","mask","pattern","script","style","switch","text","view"]},metadata:{attrsGroups:["core"]},"missing-glyph":{attrsGroups:["core","presentation"],attrs:["class","style","d","horiz-adv-x","vert-origin-x","vert-origin-y","vert-adv-y"],contentGroups:["animation","descriptive","shape","structural","paintServer"],content:["a","altGlyphDef","clipPath","color-profile","cursor","filter","font","font-face","foreignObject","image","marker","mask","pattern","script","style","switch","text","view"]},mpath:{attrsGroups:["core","xlink"],attrs:["externalResourcesRequired","href","xlink:href"],contentGroups:["descriptive"]},path:{attrsGroups:["conditionalProcessing","core","graphicalEvent","presentation"],attrs:["class","style","externalResourcesRequired","transform","d","pathLength"],contentGroups:["animation","descriptive"]},pattern:{attrsGroups:["conditionalProcessing","core","presentation","xlink"],attrs:["class","style","externalResourcesRequired","viewBox","preserveAspectRatio","x","y","width","height","patternUnits","patternContentUnits","patternTransform","href","xlink:href"],defaults:{patternUnits:"objectBoundingBox",patternContentUnits:"userSpaceOnUse",x:"0",y:"0",width:"0",height:"0",preserveAspectRatio:"xMidYMid meet"},contentGroups:["animation","descriptive","paintServer","shape","structural"],content:["a","altGlyphDef","clipPath","color-profile","cursor","filter","font","font-face","foreignObject","image","marker","mask","pattern","script","style","switch","text","view"]},polygon:{attrsGroups:["conditionalProcessing","core","graphicalEvent","presentation"],attrs:["class","style","externalResourcesRequired","transform","points"],contentGroups:["animation","descriptive"]},polyline:{attrsGroups:["conditionalProcessing","core","graphicalEvent","presentation"],attrs:["class","style","externalResourcesRequired","transform","points"],contentGroups:["animation","descriptive"]},radialGradient:{attrsGroups:["core","presentation","xlink"],attrs:["class","style","externalResourcesRequired","cx","cy","r","fx","fy","fr","gradientUnits","gradientTransform","spreadMethod","href","xlink:href"],defaults:{gradientUnits:"objectBoundingBox",cx:"50%",cy:"50%",r:"50%"},contentGroups:["descriptive"],content:["animate","animateTransform","set","stop"]},meshGradient:{attrsGroups:["core","presentation","xlink"],attrs:["class","style","x","y","gradientUnits","transform"],contentGroups:["descriptive","paintServer","animation"],content:["meshRow"]},meshRow:{attrsGroups:["core","presentation"],attrs:["class","style"],contentGroups:["descriptive"],content:["meshPatch"]},meshPatch:{attrsGroups:["core","presentation"],attrs:["class","style"],contentGroups:["descriptive"],content:["stop"]},rect:{attrsGroups:["conditionalProcessing","core","graphicalEvent","presentation"],attrs:["class","style","externalResourcesRequired","transform","x","y","width","height","rx","ry"],defaults:{x:"0",y:"0"},contentGroups:["animation","descriptive"]},script:{attrsGroups:["core","xlink"],attrs:["externalResourcesRequired","type","href","xlink:href"]},set:{attrsGroups:["conditionalProcessing","core","animation","xlink","animationAttributeTarget","animationTiming"],attrs:["externalResourcesRequired","to"],contentGroups:["descriptive"]},solidColor:{attrsGroups:["core","presentation"],attrs:["class","style"],contentGroups:["paintServer"]},stop:{attrsGroups:["core","presentation"],attrs:["class","style","offset","path"],content:["animate","animateColor","set"]},style:{attrsGroups:["core"],attrs:["type","media","title"],defaults:{type:"text/css"}},svg:{attrsGroups:["conditionalProcessing","core","documentEvent","graphicalEvent","presentation"],attrs:["class","style","x","y","width","height","viewBox","preserveAspectRatio","zoomAndPan","version","baseProfile","contentScriptType","contentStyleType"],defaults:{x:"0",y:"0",width:"100%",height:"100%",preserveAspectRatio:"xMidYMid meet",zoomAndPan:"magnify",version:"1.1",baseProfile:"none",contentScriptType:"application/ecmascript",contentStyleType:"text/css"},contentGroups:["animation","descriptive","shape","structural","paintServer"],content:["a","altGlyphDef","clipPath","color-profile","cursor","filter","font","font-face","foreignObject","image","marker","mask","pattern","script","style","switch","text","view"]},switch:{attrsGroups:["conditionalProcessing","core","graphicalEvent","presentation"],attrs:["class","style","externalResourcesRequired","transform"],contentGroups:["animation","descriptive","shape"],content:["a","foreignObject","g","image","svg","switch","text","use"]},symbol:{attrsGroups:["core","graphicalEvent","presentation"],attrs:["class","style","externalResourcesRequired","preserveAspectRatio","viewBox","refX","refY"],defaults:{refX:0,refY:0},contentGroups:["animation","descriptive","shape","structural","paintServer"],content:["a","altGlyphDef","clipPath","color-profile","cursor","filter","font","font-face","foreignObject","image","marker","mask","pattern","script","style","switch","text","view"]},text:{attrsGroups:["conditionalProcessing","core","graphicalEvent","presentation"],attrs:["class","style","externalResourcesRequired","transform","lengthAdjust","x","y","dx","dy","rotate","textLength"],defaults:{x:"0",y:"0",lengthAdjust:"spacing"},contentGroups:["animation","descriptive","textContentChild"],content:["a"]},textPath:{attrsGroups:["conditionalProcessing","core","graphicalEvent","presentation","xlink"],attrs:["class","style","externalResourcesRequired","href","xlink:href","startOffset","method","spacing","d"],defaults:{startOffset:"0",method:"align",spacing:"exact"},contentGroups:["descriptive"],content:["a","altGlyph","animate","animateColor","set","tref","tspan"]},title:{attrsGroups:["core"],attrs:["class","style"]},tref:{attrsGroups:["conditionalProcessing","core","graphicalEvent","presentation","xlink"],attrs:["class","style","externalResourcesRequired","href","xlink:href"],contentGroups:["descriptive"],content:["animate","animateColor","set"]},tspan:{attrsGroups:["conditionalProcessing","core","graphicalEvent","presentation"],attrs:["class","style","externalResourcesRequired","x","y","dx","dy","rotate","textLength","lengthAdjust"],contentGroups:["descriptive"],content:["a","altGlyph","animate","animateColor","set","tref","tspan"]},use:{attrsGroups:["core","conditionalProcessing","graphicalEvent","presentation","xlink"],attrs:["class","style","externalResourcesRequired","transform","x","y","width","height","href","xlink:href"],defaults:{x:"0",y:"0"},contentGroups:["animation","descriptive"]},view:{attrsGroups:["core"],attrs:["externalResourcesRequired","viewBox","preserveAspectRatio","zoomAndPan","viewTarget"],contentGroups:["descriptive"]},vkern:{attrsGroups:["core"],attrs:["u1","g1","u2","g2","k"]}};t.editorNamespaces=["http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd","http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd","http://www.inkscape.org/namespaces/inkscape","http://www.bohemiancoding.com/sketch/ns","http://ns.adobe.com/AdobeIllustrator/10.0/","http://ns.adobe.com/Graphs/1.0/","http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/","http://ns.adobe.com/Variables/1.0/","http://ns.adobe.com/SaveForWeb/1.0/","http://ns.adobe.com/Extensibility/1.0/","http://ns.adobe.com/Flows/1.0/","http://ns.adobe.com/ImageReplacement/1.0/","http://ns.adobe.com/GenericCustomNamespace/1.0/","http://ns.adobe.com/XPath/1.0/","http://schemas.microsoft.com/visio/2003/SVGExtensions/","http://taptrix.com/vectorillustrator/svg_extensions","http://www.figma.com/figma/ns","http://purl.org/dc/elements/1.1/","http://creativecommons.org/ns#","http://www.w3.org/1999/02/22-rdf-syntax-ns#","http://www.serif.com/","http://www.vector.evaxdesign.sk"];t.referencesProps=["clip-path","color-profile","fill","filter","marker-start","marker-mid","marker-end","mask","stroke","style"];t.inheritableAttrs=["clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cursor","direction","dominant-baseline","fill","fill-opacity","fill-rule","font","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-orientation-horizontal","glyph-orientation-vertical","image-rendering","letter-spacing","marker","marker-end","marker-mid","marker-start","paint-order","pointer-events","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-rendering","transform","visibility","word-spacing","writing-mode"];t.presentationNonInheritableGroupAttrs=["display","clip-path","filter","mask","opacity","text-decoration","transform","unicode-bidi","visibility"];t.colorsNames={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#0ff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000",blanchedalmond:"#ffebcd",blue:"#00f",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#0ff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#f0f",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#789",lightslategrey:"#789",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#0f0",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#f0f",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#639",red:"#f00",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#fff",whitesmoke:"#f5f5f5",yellow:"#ff0",yellowgreen:"#9acd32"};t.colorsShortNames={"#f0ffff":"azure","#f5f5dc":"beige","#ffe4c4":"bisque","#a52a2a":"brown","#ff7f50":"coral","#ffd700":"gold","#808080":"gray","#008000":"green","#4b0082":"indigo","#fffff0":"ivory","#f0e68c":"khaki","#faf0e6":"linen","#800000":"maroon","#000080":"navy","#808000":"olive","#ffa500":"orange","#da70d6":"orchid","#cd853f":"peru","#ffc0cb":"pink","#dda0dd":"plum","#800080":"purple","#f00":"red","#ff0000":"red","#fa8072":"salmon","#a0522d":"sienna","#c0c0c0":"silver","#fffafa":"snow","#d2b48c":"tan","#008080":"teal","#ff6347":"tomato","#ee82ee":"violet","#f5deb3":"wheat"};t.colorsProps=["color","fill","stroke","stop-color","flood-color","lighting-color"]},54870:(e,t,r)=>{"use strict";var n=String.raw`[-+]?(?:\d*\.\d+|\d+\.?)(?:[eE][-+]?\d+)?\s*`,i=String.raw`(?:\s,?\s*|,\s*)`,o=`(${n})`+i,s=`([01])${i}?`,a=String.raw`(${n})${i}?(${n})`,l=(o+"?").repeat(2)+o+s.repeat(2)+a;var c=/([MmLlHhVvCcSsQqTtAaZz])\s*/,u=new RegExp(n,"g"),d=new RegExp(l,"g"),p=/[-+]?(\d*\.\d+|\d+\.?)(?:[eE][-+]?\d+)?/,f=r(22527).transform2js,h=r(22527).transformsMultiply,m=r(22527).transformArc,g=r(76344),y=g.referencesProps,v=g.attrsGroupsDefaults.presentation["stroke-width"],b=r(79736).Kr,S=r(79736).RM,w;t.path2js=function(e){if(e.pathJS)return e.pathJS;var t={H:1,V:1,M:2,L:2,T:2,Q:4,S:4,C:6,A:7,h:1,v:1,m:2,l:2,t:2,q:4,s:4,c:6,a:7},r=[],n,i=false;e.attr("d").value.split(c).forEach(function(e){if(!e)return;if(!i){if(e=="M"||e=="m"){i=true}else return}if(c.test(e)){n=e;if(n=="Z"||n=="z"){r.push({instruction:"z"})}}else{if(n=="A"||n=="a"){var o=[];for(var s;s=d.exec(e);){for(var a=1;a-1){for(n=0;n-1){set(t,o)}else if(i=="H"){t[0]=o[0]}else if(i=="V"){t[1]=o[0]}else if(i=="z"){set(t,r)}return i=="z"?{instruction:"z"}:{instruction:i.toUpperCase(),data:o}})};t.applyTransforms=function(e,t,r){if(!e.hasAttr("transform")||!e.attr("transform").value||e.someAttr(function(e){return~y.indexOf(e.name)&&~e.value.indexOf("url(")}))return t;var n=h(f(e.attr("transform").value)),i=e.computedAttr("stroke"),o=e.computedAttr("id"),s=r.transformPrecision,a,l;if(i&&i!="none"){if(!r.applyTransformsStroked||(n.data[0]!=n.data[3]||n.data[1]!=-n.data[2])&&(n.data[0]!=-n.data[3]||n.data[1]!=n.data[2]))return t;if(o){var c=e,u=false;do{if(c.hasAttr("stroke-width"))u=true}while(!c.hasAttr("id",o)&&!u&&(c=c.parentNode));if(!u)return t}l=+Math.sqrt(n.data[0]*n.data[0]+n.data[1]*n.data[1]).toFixed(s);if(l!==1){var d=e.computedAttr("stroke-width")||v;if(!e.hasAttr("vector-effect")||e.attr("vector-effect").value!=="non-scaling-stroke"){if(e.hasAttr("stroke-width")){e.attrs["stroke-width"].value=e.attrs["stroke-width"].value.trim().replace(p,function(e){return S(e*l)})}else{e.addAttr({name:"stroke-width",prefix:"",local:"stroke-width",value:d.replace(p,function(e){return S(e*l)})})}}}}else if(o){return t}t.forEach(function(e){if(e.data){if(e.instruction==="h"){e.instruction="l";e.data[1]=0}else if(e.instruction==="v"){e.instruction="l";e.data[1]=e.data[0];e.data[0]=0}if(e.instruction==="M"&&(n.data[4]!==0||n.data[5]!==0)){a=transformPoint(n.data,e.data[0],e.data[1]);set(e.data,a);set(e.coords,a);n.data[4]=0;n.data[5]=0}else{if(e.instruction=="a"){m(e.data,n.data);if(Math.abs(e.data[2])>80){var t=e.data[0],r=e.data[2];e.data[0]=e.data[1];e.data[1]=t;e.data[2]=r+(r>0?-90:90)}a=transformPoint(n.data,e.data[5],e.data[6]);e.data[5]=a[0];e.data[6]=a[1]}else{for(var i=0;iu){u=e}if(su){u=s}p=computeCubicFirstDerivativeRoots(e,r,i,s);for(g=0;g=0&&f<=1){h=computeCubicBaseValue(f,e,r,i,s);if(hu){u=h}}}if(td){d=t}if(ad){d=a}p=computeCubicFirstDerivativeRoots(t,n,o,a);for(g=0;g=0&&f<=1){m=computeCubicBaseValue(f,t,n,o,a);if(md){d=m}}}return{minx:l,miny:c,maxx:u,maxy:d}};function computeCubicBaseValue(e,t,r,n,i){var o=1-e;return o*o*o*t+3*o*o*e*r+3*o*e*e*n+e*e*e*i}function computeCubicFirstDerivativeRoots(e,t,r,n){var i=[-1,-1],o=-e+2*t-r,s=-Math.sqrt(-e*(r-n)+t*t-t*(r+n)+r*r),a=-e+3*t-3*r+n;if(a!==0){i[0]=(o+s)/a;i[1]=(o-s)/a}return i}t.computeQuadraticBoundingBox=function(e,t,r,n,i,o){var s=Number.POSITIVE_INFINITY,a=Number.POSITIVE_INFINITY,l=Number.NEGATIVE_INFINITY,c=Number.NEGATIVE_INFINITY,u,d,p;if(el){l=e}if(il){l=i}u=computeQuadraticFirstDerivativeRoot(e,r,i);if(u>=0&&u<=1){d=computeQuadraticBaseValue(u,e,r,i);if(dl){l=d}}if(tc){c=t}if(oc){c=o}u=computeQuadraticFirstDerivativeRoot(t,n,o);if(u>=0&&u<=1){p=computeQuadraticBaseValue(u,t,n,o);if(pc){c=p}}return{minx:s,miny:a,maxx:l,maxy:c}};function computeQuadraticBaseValue(e,t,r,n){var i=1-e;return i*i*t+2*i*e*r+e*e*n}function computeQuadraticFirstDerivativeRoot(e,t,r){var n=-1,i=e-2*t+r;if(i!==0){n=(e-t)/i}return n}t.js2path=function(e,t,r){e.pathJS=t;if(r.collapseRepeated){t=collapseRepeated(t)}e.attr("d").value=t.reduce(function(e,t){var n="";if(t.data){n=b(t.data,r,t.instruction)}return e+=t.instruction+n},"")};function collapseRepeated(e){var t,r;e=e.reduce(function(e,n){if(t&&n.data&&n.instruction==t.instruction){if(n.instruction!="M"){t=e[r]={instruction:t.instruction,data:t.data.concat(n.data),coords:n.coords,base:t.base}}else{t.data=n.data;t.coords=n.coords}}else{e.push(n);t=n;r=e.length-1}return e},[]);return e}function set(e,t){e[0]=t[t.length-2];e[1]=t[t.length-1];return e}t.intersects=function(e,t){if(e.length<3||t.length<3)return false;var r=x(e).reduce(gatherPoints,[]),n=x(t).reduce(gatherPoints,[]);if(r.maxX<=n.minX||n.maxX<=r.minX||r.maxY<=n.minY||n.maxY<=r.minY||r.every(function(e){return n.every(function(t){return e[e.maxX][0]<=t[t.minX][0]||t[t.maxX][0]<=e[e.minX][0]||e[e.maxY][1]<=t[t.minY][1]||t[t.maxY][1]<=e[e.minY][1]})}))return false;var i=r.map(convexHull),o=n.map(convexHull);return i.some(function(e){if(e.length<3)return false;return o.some(function(t){if(t.length<3)return false;var r=[getSupport(e,t,[1,0])],n=minus(r[0]);var i=1e4;while(true){if(i--==0){console.error("Error: infinite loop while processing mergePaths plugin.");return true}r.push(getSupport(e,t,n));if(dot(n,r[r.length-1])<=0)return false;if(processSimplex(r,n))return true}})});function getSupport(e,t,r){return sub(supportPoint(e,r),supportPoint(t,minus(r)))}function supportPoint(e,t){var r=t[1]>=0?t[0]<0?e.maxY:e.maxX:t[0]<0?e.minX:e.minY,n=-Infinity,i;while((i=dot(e[r],t))>n){n=i;r=++r%e.length}return e[(r||e.length)-1]}};function processSimplex(e,t){if(e.length==2){var r=e[1],n=e[0],i=minus(e[1]),o=sub(n,r);if(dot(i,o)>0){set(t,orth(o,r))}else{set(t,i);e.shift()}}else{var r=e[2],n=e[1],s=e[0],o=sub(n,r),a=sub(s,r),i=minus(r),l=orth(o,a),c=orth(a,o);if(dot(l,i)>0){if(dot(o,i)>0){set(t,l);e.shift()}else{set(t,i);e.splice(0,2)}}else if(dot(c,i)>0){if(dot(a,i)>0){set(t,c);e.splice(1,1)}else{set(t,i);e.splice(0,2)}}else return true}return false}function minus(e){return[-e[0],-e[1]]}function sub(e,t){return[e[0]-t[0],e[1]-t[1]]}function dot(e,t){return e[0]*t[0]+e[1]*t[1]}function orth(e,t){var r=[-e[1],e[0]];return dot(r,minus(t))<0?minus(r):r}function gatherPoints(e,t,r,n){var i=e.length&&e[e.length-1],o=r&&n[r-1],s=i.length&&i[i.length-1],a=t.data,l=s;switch(t.instruction){case"M":e.push(i=[]);break;case"H":addPoint(i,[a[0],s[1]]);break;case"V":addPoint(i,[s[0],a[0]]);break;case"Q":addPoint(i,a.slice(0,2));w=[a[2]-a[0],a[3]-a[1]];break;case"T":if(o.instruction=="Q"||o.instruction=="T"){l=[s[0]+w[0],s[1]+w[1]];addPoint(i,l);w=[a[0]-l[0],a[1]-l[1]]}break;case"C":addPoint(i,[.5*(s[0]+a[0]),.5*(s[1]+a[1])]);addPoint(i,[.5*(a[0]+a[2]),.5*(a[1]+a[3])]);addPoint(i,[.5*(a[2]+a[4]),.5*(a[3]+a[5])]);w=[a[4]-a[2],a[5]-a[3]];break;case"S":if(o.instruction=="C"||o.instruction=="S"){addPoint(i,[s[0]+.5*w[0],s[1]+.5*w[1]]);l=[s[0]+w[0],s[1]+w[1]]}addPoint(i,[.5*(l[0]+a[0]),.5*(l[1]+a[1])]);addPoint(i,[.5*(a[0]+a[2]),.5*(a[1]+a[3])]);w=[a[2]-a[0],a[3]-a[1]];break;case"A":var c=a2c.apply(0,s.concat(a));for(var u;(u=c.splice(0,6).map(toAbsolute)).length;){addPoint(i,[.5*(s[0]+u[0]),.5*(s[1]+u[1])]);addPoint(i,[.5*(u[0]+u[2]),.5*(u[1]+u[3])]);addPoint(i,[.5*(u[2]+u[4]),.5*(u[3]+u[5])]);if(c.length)addPoint(i,s=u.slice(-2))}break}if(a&&a.length>=2)addPoint(i,a.slice(-2));return e;function toAbsolute(e,t){return e+s[t%2]}function addPoint(t,r){if(!t.length||r[1]>t[t.maxY][1]){t.maxY=t.length;e.maxY=e.length?Math.max(r[1],e.maxY):r[1]}if(!t.length||r[0]>t[t.maxX][0]){t.maxX=t.length;e.maxX=e.length?Math.max(r[0],e.maxX):r[0]}if(!t.length||r[1]=2&&cross(t[t.length-2],t[t.length-1],e[i])<=0){t.pop()}if(e[i][1]=2&&cross(o[o.length-2],o[o.length-1],e[i])<=0){o.pop()}if(e[i][1]>e[s][1]){s=i;a=o.length}o.push(e[i])}o.pop();t.pop();var l=t.concat(o);l.minX=0;l.maxX=t.length;l.minY=n;l.maxY=(t.length+a)%l.length;return l}function cross(e,t,r){return(t[0]-e[0])*(r[1]-e[1])-(t[1]-e[1])*(r[0]-e[0])}function a2c(e,t,r,n,i,o,s,a,l,c){var u=Math.PI*120/180,d=Math.PI/180*(+i||0),p=[],f=function(e,t,r){return e*Math.cos(r)-t*Math.sin(r)},h=function(e,t,r){return e*Math.sin(r)+t*Math.cos(r)};if(!c){e=f(e,t,-d);t=h(e,t,-d);a=f(a,l,-d);l=h(a,l,-d);var m=(e-a)/2,g=(t-l)/2;var y=m*m/(r*r)+g*g/(n*n);if(y>1){y=Math.sqrt(y);r=y*r;n=y*n}var v=r*r,b=n*n,S=(o==s?-1:1)*Math.sqrt(Math.abs((v*b-v*g*g-b*m*m)/(v*g*g+b*m*m))),w=S*r*g/n+(e+a)/2,x=S*-n*m/r+(t+l)/2,C=Math.asin(((t-x)/n).toFixed(9)),k=Math.asin(((l-x)/n).toFixed(9));C=ek){C=C-Math.PI*2}if(!s&&k>C){k=k-Math.PI*2}}else{C=c[0];k=c[1];w=c[2];x=c[3]}var T=k-C;if(Math.abs(T)>u){var E=k,_=a,O=l;k=C+u*(s&&k>C?1:-1);a=w+r*Math.cos(k);l=x+n*Math.sin(k);p=a2c(a,l,r,n,i,0,s,_,O,[k,E,w,x])}T=k-C;var A=Math.cos(C),P=Math.sin(C),z=Math.cos(k),R=Math.sin(k),L=Math.tan(T/4),M=4/3*r*L,W=4/3*n*L,B=[-M*P,W*A,a+M*R-e,l-W*z-t,a-e,l-t];if(c){return B.concat(p)}else{p=B.concat(p);var F=[];for(var q=0,D=p.length;q{"use strict";var r=/matrix|translate|scale|rotate|skewX|skewY/,n=/\s*(matrix|translate|scale|rotate|skewX|skewY)\s*\(\s*(.+?)\s*\)[\s,]*/,i=/[-+]?(?:\d*\.\d+|\d+\.?)(?:[eE][-+]?\d+)?/g;t.transform2js=function(e){var t=[],o;e.split(n).forEach(function(e){var n;if(e){if(r.test(e)){t.push(o={name:e})}else{while(n=i.exec(e)){n=Number(n);if(o.data)o.data.push(n);else o.data=[n]}}}});return o&&o.data?t:[]};t.transformsMultiply=function(e){e=e.map(function(e){if(e.name==="matrix"){return e.data}return transformToMatrix(e)});e={name:"matrix",data:e.length>0?e.reduce(multiplyTransformMatrices):[]};return e};var o=t.mth={rad:function(e){return e*Math.PI/180},deg:function(e){return e*180/Math.PI},cos:function(e){return Math.cos(this.rad(e))},acos:function(e,t){return+this.deg(Math.acos(e)).toFixed(t)},sin:function(e){return Math.sin(this.rad(e))},asin:function(e,t){return+this.deg(Math.asin(e)).toFixed(t)},tan:function(e){return Math.tan(this.rad(e))},atan:function(e,t){return+this.deg(Math.atan(e)).toFixed(t)}};t.matrixToTransform=function(e,t){var r=t.floatPrecision,n=e.data,i=[],s=+Math.hypot(n[0],n[1]).toFixed(t.transformPrecision),a=+((n[0]*n[3]-n[1]*n[2])/s).toFixed(t.transformPrecision),l=n[0]*n[2]+n[1]*n[3],c=n[0]*n[1]+n[2]*n[3],u=c!=0||s==a;if(n[4]||n[5]){i.push({name:"translate",data:n.slice(4,n[5]?6:5)})}if(!n[1]&&n[2]){i.push({name:"skewX",data:[o.atan(n[2]/a,r)]})}else if(n[1]&&!n[2]){i.push({name:"skewY",data:[o.atan(n[1]/n[0],r)]});s=n[0];a=n[3]}else if(!l||s==1&&a==1||!u){if(!u){s=(n[0]<0?-1:1)*Math.hypot(n[0],n[2]);a=(n[3]<0?-1:1)*Math.hypot(n[1],n[3]);i.push({name:"scale",data:[s,a]})}var d=Math.min(Math.max(-1,n[0]/s),1),p=[o.acos(d,r)*((u?1:a)*n[1]<0?-1:1)];if(p[0])i.push({name:"rotate",data:p});if(c&&l)i.push({name:"skewX",data:[o.atan(l/(s*s),r)]});if(p[0]&&(n[4]||n[5])){i.shift();var f=n[0]/s,h=n[1]/(u?s:a),m=n[4]*(u||a),g=n[5]*(u||s),y=(Math.pow(1-f,2)+Math.pow(h,2))*(u||s*a);p.push(((1-f)*m-h*g)/y);p.push(((1-f)*g+h*m)/y)}}else if(n[1]||n[2]){return e}if(u&&(s!=1||a!=1)||!i.length)i.push({name:"scale",data:s==a?[s]:[s,a]});return i};function transformToMatrix(e){if(e.name==="matrix")return e.data;var t;switch(e.name){case"translate":t=[1,0,0,1,e.data[0],e.data[1]||0];break;case"scale":t=[e.data[0],0,0,e.data[1]||e.data[0],0,0];break;case"rotate":var r=o.cos(e.data[0]),n=o.sin(e.data[0]),i=e.data[1]||0,s=e.data[2]||0;t=[r,n,-n,r,(1-r)*i+n*s,(1-r)*s-n*i];break;case"skewX":t=[1,0,o.tan(e.data[0]),1,0,0];break;case"skewY":t=[1,o.tan(e.data[0]),0,1,0,0];break}return t}t.transformArc=function(e,t){var r=e[0],n=e[1],i=e[2]*Math.PI/180,o=Math.cos(i),s=Math.sin(i),a=Math.pow(e[5]*o+e[6]*s,2)/(4*r*r)+Math.pow(e[6]*o-e[5]*s,2)/(4*n*n);if(a>1){a=Math.sqrt(a);r*=a;n*=a}var l=[r*o,r*s,-n*s,n*o,0,0],c=multiplyTransformMatrices(t,l),u=c[2]*c[2]+c[3]*c[3],d=c[0]*c[0]+c[1]*c[1]+u,p=Math.hypot(c[0]-c[3],c[1]+c[2])*Math.hypot(c[0]+c[3],c[1]-c[2]);if(!p){e[0]=e[1]=Math.sqrt(d/2);e[2]=0}else{var f=(d+p)/2,h=(d-p)/2,m=Math.abs(f-u)>1e-6,g=(m?f:h)-u,y=c[0]*c[2]+c[1]*c[3],v=c[0]*g+c[2]*y,b=c[1]*g+c[3]*y;e[0]=Math.sqrt(f);e[1]=Math.sqrt(h);e[2]=((m?b<0:v>0)?-1:1)*Math.acos((m?v:b)/Math.hypot(v,b))*180/Math.PI}if(t[0]<0!==t[3]<0){e[4]=1-e[4]}return e};function multiplyTransformMatrices(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}},5519:(e,t)=>{"use strict";t.type="full";t.active=false;t.description="adds attributes to an outer element";var r=`Error in plugin "addAttributesToSVGElement": absent parameters.\nIt should have a list of "attributes" or one "attribute".\nConfig example:\n\nplugins:\n- addAttributesToSVGElement:\n attribute: "mySvg"\n\nplugins:\n- addAttributesToSVGElement:\n attributes: ["mySvg", "size-big"]\n\nplugins:\n- addAttributesToSVGElement:\n attributes:\n - focusable: false\n - data-image: icon`;t.fn=function(e,t){if(!t||!(Array.isArray(t.attributes)||t.attribute)){console.error(r);return e}var n=t.attributes||[t.attribute],i=e.content[0];if(i.isElem("svg")){n.forEach(function(e){if(typeof e==="string"){if(!i.hasAttr(e)){i.addAttr({name:e,prefix:"",local:e})}}else if(typeof e==="object"){Object.keys(e).forEach(function(t){if(!i.hasAttr(t)){i.addAttr({name:t,value:e[t],prefix:"",local:t})}})}})}return e}},75118:(e,t)=>{"use strict";t.type="full";t.active=false;t.description="adds classnames to an outer element";var r=`Error in plugin "addClassesToSVGElement": absent parameters.\nIt should have a list of classes in "classNames" or one "className".\nConfig example:\n\nplugins:\n- addClassesToSVGElement:\n className: "mySvg"\n\nplugins:\n- addClassesToSVGElement:\n classNames: ["mySvg", "size-big"]\n`;t.fn=function(e,t){if(!t||!(Array.isArray(t.classNames)&&t.classNames.some(String)||t.className)){console.error(r);return e}var n=t.classNames||[t.className],i=e.content[0];if(i.isElem("svg")){i.class.add.apply(i.class,n)}return e}},4106:(e,t)=>{"use strict";t.type="perItem";t.active=true;t.description="cleanups attributes from newlines, trailing and repeating spaces";t.params={newlines:true,trim:true,spaces:true};var r=/(\S)\r?\n(\S)/g,n=/\r?\n/g,i=/\s{2,}/g;t.fn=function(e,t){if(e.isElem()){e.eachAttr(function(e){if(t.newlines){e.value=e.value.replace(r,function(e,t,r){return t+" "+r});e.value=e.value.replace(n,"")}if(t.trim){e.value=e.value.trim()}if(t.spaces){e.value=e.value.replace(i," ")}})}}},26483:(e,t)=>{"use strict";t.type="full";t.active=true;t.description="remove or cleanup enable-background attribute when possible";t.fn=function(e){var t=/^new\s0\s0\s([\-+]?\d*\.?\d+([eE][\-+]?\d+)?)\s([\-+]?\d*\.?\d+([eE][\-+]?\d+)?)$/,r=false,n=["svg","mask","pattern"];function checkEnableBackground(e){if(e.isElem(n)&&e.hasAttr("enable-background")&&e.hasAttr("width")&&e.hasAttr("height")){var r=e.attr("enable-background").value.match(t);if(r){if(e.attr("width").value===r[1]&&e.attr("height").value===r[3]){if(e.isElem("svg")){e.removeAttr("enable-background")}else{e.attr("enable-background").value="new"}}}}}function checkForFilter(e){if(e.isElem("filter")){r=true}}function monkeys(e,t){e.content.forEach(function(e){t(e);if(e.content){monkeys(e,t)}});return e}var i=monkeys(e,function(e){checkEnableBackground(e);if(!r){checkForFilter(e)}});return r?i:monkeys(i,function(e){e.removeAttr("enable-background")})}},37762:(e,t,r)=>{"use strict";t.type="full";t.active=true;t.description="removes unused IDs and minifies used";t.params={remove:true,minify:true,prefix:"",preserve:[],preservePrefixes:[],force:false};var n=new Set(r(76344).referencesProps),i=/\burl\(("|')?#(.+?)\1\)/,o=/^#(.+?)$/,s=/(\w+)\./,a=["style","script"],l=["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],c=l.length-1;t.fn=function(e,t){var r,l,c=new Map,u=new Map,d=false,p=new Set(Array.isArray(t.preserve)?t.preserve:t.preserve?[t.preserve]:[]),f=new Set(Array.isArray(t.preservePrefixes)?t.preservePrefixes:t.preservePrefixes?[t.preservePrefixes]:[]),h="#",m=".";function monkeys(e){for(var r=0;rp.has(e)||idMatchesPrefix(f,e);for(var y of u){var v=y[0];if(c.has(v)){if(t.minify&&!g(v)){do{l=getIDstring(r=generateID(r),t)}while(g(l));c.get(v).attr("id").value=l;for(var b of y[1]){b.value=b.value.includes(h)?b.value.replace(h+v,h+l):b.value.replace(v+m,l+m)}}c.delete(v)}}if(t.remove){for(var S of c){if(!g(S[0])){S[1].removeAttr("id")}}}return e};function idMatchesPrefix(e,t){if(!t)return false;for(var r of e)if(t.startsWith(r))return true;return false}function generateID(e){if(!e)return[0];e[e.length-1]++;for(var t=e.length-1;t>0;t--){if(e[t]>c){e[t]=0;if(e[t-1]!==undefined){e[t-1]++}}}if(e[0]>c){e[0]=0;e.unshift(0)}return e}function getIDstring(e,t){var r=t.prefix;return r+e.map(e=>l[e]).join("")}},92331:(e,t,r)=>{"use strict";t.type="perItem";t.active=false;t.description="rounds list of values to the fixed precision";t.params={floatPrecision:3,leadingZero:true,defaultPx:true,convertToPx:true};var n=/^([\-+]?\d*\.?\d+([eE][\-+]?\d+)?)(px|pt|pc|mm|cm|m|in|ft|em|ex|%)?$/,i=/\s+,?\s*|,\s*/,o=r(79736).RM,s={cm:96/2.54,mm:96/25.4,in:96,pt:4/3,pc:16};t.fn=function(e,t){if(e.hasAttr("points")){roundValues(e.attrs.points)}if(e.hasAttr("enable-background")){roundValues(e.attrs["enable-background"])}if(e.hasAttr("viewBox")){roundValues(e.attrs.viewBox)}if(e.hasAttr("stroke-dasharray")){roundValues(e.attrs["stroke-dasharray"])}if(e.hasAttr("dx")){roundValues(e.attrs.dx)}if(e.hasAttr("dy")){roundValues(e.attrs.dy)}if(e.hasAttr("x")){roundValues(e.attrs.x)}if(e.hasAttr("y")){roundValues(e.attrs.y)}function roundValues(e){var r,a,l,c,u=e.value,d=u.split(i),p=[],f;d.forEach(function(e){l=e.match(n);c=e.match(/new/);if(l){r=+(+l[1]).toFixed(t.floatPrecision),a=l[3]||"";if(t.convertToPx&&a&&a in s){var i=+(s[a]*l[1]).toFixed(t.floatPrecision);if(String(i).length{"use strict";t.type="perItem";t.active=true;t.description="rounds numeric values to the fixed precision, removes default ‘px’ units";t.params={floatPrecision:3,leadingZero:true,defaultPx:true,convertToPx:true};var n=/^([\-+]?\d*\.?\d+([eE][\-+]?\d+)?)(px|pt|pc|mm|cm|m|in|ft|em|ex|%)?$/,i=r(79736).RM,o={cm:96/2.54,mm:96/25.4,in:96,pt:4/3,pc:16};t.fn=function(e,t){if(e.isElem()){var r=t.floatPrecision;if(e.hasAttr("viewBox")){var s=e.attr("viewBox").value.split(/\s,?\s*|,\s*/g);e.attr("viewBox").value=s.map(function(e){var t=+e;return isNaN(t)?e:+t.toFixed(r)}).join(" ")}e.eachAttr(function(e){if(e.name==="version"){return}var s=e.value.match(n);if(s){var a=+(+s[1]).toFixed(r),l=s[3]||"";if(t.convertToPx&&l&&l in o){var c=+(o[l]*s[1]).toFixed(r);if(String(c).length{"use strict";t.type="perItemReverse";t.active=true;t.description="collapses useless groups";var n=r(76344),i=n.inheritableAttrs,o=n.elemsGroups.animation;function hasAnimatedAttr(e){return e.isElem(o)&&e.hasAttr("attributeName",this)||!e.isEmpty()&&e.content.some(hasAnimatedAttr,this)}t.fn=function(e){if(e.isElem()&&!e.isElem("switch")&&!e.isEmpty()){e.content.forEach(function(t,r){if(t.isElem("g")&&!t.isEmpty()){if(t.hasAttr()&&t.content.length===1){var n=t.content[0];if(n.isElem()&&!n.hasAttr("id")&&!t.hasAttr("filter")&&!(t.hasAttr("class")&&n.hasAttr("class"))&&(!t.hasAttr("clip-path")&&!t.hasAttr("mask")||n.isElem("g")&&!t.hasAttr("transform")&&!n.hasAttr("transform"))){t.eachAttr(function(e){if(t.content.some(hasAnimatedAttr,e.name))return;if(!n.hasAttr(e.name)){n.addAttr(e)}else if(e.name=="transform"){n.attr(e.name).value=e.value+" "+n.attr(e.name).value}else if(n.hasAttr(e.name,"inherit")){n.attr(e.name).value=e.value}else if(i.indexOf(e.name)<0&&!n.hasAttr(e.name,e.value)){return}t.removeAttr(e.name)})}}if(!t.hasAttr()&&!t.content.some(function(e){return e.isElem(o)})){e.spliceContent(r,1,t.content)}}})}}},83254:(e,t,r)=>{"use strict";t.type="perItem";t.active=true;t.description="converts colors: rgb() to #rrggbb and #rrggbb to #rgb";t.params={currentColor:false,names2hex:true,rgb2hex:true,shorthex:true,shortname:true};var n=r(76344),i="([+-]?(?:\\d*\\.\\d+|\\d+\\.?)%?)",o="\\s*,\\s*",s=new RegExp("^rgb\\(\\s*"+i+o+i+o+i+"\\s*\\)$"),a=/^\#(([a-fA-F0-9])\2){3}$/,l=/\bnone\b/i;t.fn=function(e,t){if(e.elem){e.eachAttr(function(e){if(n.colorsProps.indexOf(e.name)>-1){var r=e.value,i;if(t.currentColor){if(typeof t.currentColor==="string"){i=r===t.currentColor}else if(t.currentColor.exec){i=t.currentColor.exec(r)}else{i=!r.match(l)}if(i){r="currentColor"}}if(t.names2hex&&r.toLowerCase()in n.colorsNames){r=n.colorsNames[r.toLowerCase()]}if(t.rgb2hex&&(i=r.match(s))){i=i.slice(1,4).map(function(e){if(e.indexOf("%")>-1)e=Math.round(parseFloat(e)*2.55);return Math.max(0,Math.min(e,255))});r=rgb2hex(i)}if(t.shorthex&&(i=r.match(a))){r="#"+i[0][1]+i[0][3]+i[0][5]}if(t.shortname){var o=r.toLowerCase();if(o in n.colorsShortNames){r=n.colorsShortNames[o]}}e.value=r}})}};function rgb2hex(e){return"#"+("00000"+(e[0]<<16|e[1]<<8|e[2]).toString(16)).slice(-6).toUpperCase()}},56061:(e,t)=>{"use strict";t.type="perItem";t.active=true;t.description="converts non-eccentric s to s";t.fn=function(e){if(e.isElem("ellipse")){var t=e.attr("rx").value||0;var r=e.attr("ry").value||0;if(t===r||t==="auto"||r==="auto"){var n=t!=="auto"?t:r;e.renameElem("circle");e.removeAttr(["rx","ry"]);e.addAttr({name:"r",value:n,prefix:"",local:"r"})}}return}},76307:(e,t,r)=>{"use strict";t.type="perItem";t.active=true;t.description="optimizes path data: writes in shorter form, applies transformations";t.params={applyTransforms:true,applyTransformsStroked:true,makeArcs:{threshold:2.5,tolerance:.5},straightCurves:true,lineShorthands:true,curveSmoothShorthands:true,floatPrecision:3,transformPrecision:5,removeUseless:true,collapseRepeated:true,utilizeAbsolute:true,leadingZero:true,negativeExtraSpace:true,noSpaceAfterFlags:true,forceAbsolutePath:false};var n=r(76344).pathElems,i=r(54870).path2js,o=r(54870).js2path,s=r(54870).applyTransforms,a=r(79736).Kr,l,c,u,d,p,f,h;t.fn=function(e,t){if(e.isElem(n)&&e.hasAttr("d")){c=t.floatPrecision;u=c!==false?+Math.pow(.1,c).toFixed(c):.01;l=c>0&&c<20?strongRound:round;if(t.makeArcs){d=t.makeArcs.threshold;p=t.makeArcs.tolerance}f=e.hasAttr("marker-mid");var r=e.computedAttr("stroke"),a=e.computedAttr("stroke");h=r&&r!="none"&&a&&a!="butt";var m=i(e);if(m.length){convertToRelative(m);if(t.applyTransforms){m=s(e,m,t)}m=filters(m,t);if(t.utilizeAbsolute){m=convertToMixed(m,t)}o(e,m,t)}}};function convertToRelative(e){var t=[0,0],r=[0,0],n;e.forEach(function(i,o){var s=i.instruction,a=i.data;if(a){if("mcslqta".indexOf(s)>-1){t[0]+=a[a.length-2];t[1]+=a[a.length-1];if(s==="m"){r[0]=t[0];r[1]=t[1];n=i}}else if(s==="h"){t[0]+=a[0]}else if(s==="v"){t[1]+=a[0]}if(s==="M"){if(o>0)s="m";a[0]-=t[0];a[1]-=t[1];r[0]=t[0]+=a[0];r[1]=t[1]+=a[1];n=i}else if("LT".indexOf(s)>-1){s=s.toLowerCase();a[0]-=t[0];a[1]-=t[1];t[0]+=a[0];t[1]+=a[1]}else if(s==="C"){s="c";a[0]-=t[0];a[1]-=t[1];a[2]-=t[0];a[3]-=t[1];a[4]-=t[0];a[5]-=t[1];t[0]+=a[4];t[1]+=a[5]}else if("SQ".indexOf(s)>-1){s=s.toLowerCase();a[0]-=t[0];a[1]-=t[1];a[2]-=t[0];a[3]-=t[1];t[0]+=a[2];t[1]+=a[3]}else if(s==="A"){s="a";a[5]-=t[0];a[6]-=t[1];t[0]+=a[5];t[1]+=a[6]}else if(s==="H"){s="h";a[0]-=t[0];t[0]+=a[0]}else if(s==="V"){s="v";a[0]-=t[1];t[1]+=a[0]}i.instruction=s;i.data=a;i.coords=t.slice(-2)}else if(s=="z"){if(n){i.coords=n.coords}t[0]=r[0];t[1]=r[1]}i.base=o>0?e[o-1].coords:[0,0]});return e}function filters(e,t){var r=data2Path.bind(null,t),n=[0,0],i=[0,0],o={};e=e.filter(function(e,s,a){var u=e.instruction,d=e.data,p=a[s+1];if(d){var m=d,g;if(u==="s"){m=[0,0].concat(d);if("cs".indexOf(o.instruction)>-1){var y=o.data,v=y.length;m[0]=y[v-2]-y[v-4];m[1]=y[v-1]-y[v-3]}}if(t.makeArcs&&(u=="c"||u=="s")&&isConvex(m)&&(g=findCircle(m))){var b=l([g.radius])[0],S=findArcAngle(m,g),w=m[5]*m[0]-m[4]*m[1]>0?1:0,x={instruction:"a",data:[b,b,0,0,w,m[4],m[5]],coords:e.coords.slice(),base:e.base},C=[x],k=[g.center[0]-m[4],g.center[1]-m[5]],T={center:k,radius:g.radius},E=[e],_=0,O="",A;if(o.instruction=="c"&&isConvex(o.data)&&isArcPrev(o.data,g)||o.instruction=="a"&&o.sdata&&isArcPrev(o.sdata,g)){E.unshift(o);x.base=o.base;x.data[5]=x.coords[0]-x.base[0];x.data[6]=x.coords[1]-x.base[1];var P=o.instruction=="a"?o.sdata:o.data;var z=findArcAngle(P,{center:[P[4]+g.center[0],P[5]+g.center[1]],radius:g.radius});S+=z;if(S>Math.PI)x.data[3]=1;_=1}for(var R=s;(p=a[++R])&&~"cs".indexOf(p.instruction);){var L=p.data;if(p.instruction=="s"){A=makeLonghand({instruction:"s",data:p.data.slice()},a[R-1].data);L=A.data;A.data=L.slice(0,2);O=r([A])}if(isConvex(L)&&isArc(L,T)){S+=findArcAngle(L,T);if(S-2*Math.PI>.001)break;if(S>Math.PI)x.data[3]=1;E.push(p);if(2*Math.PI-S>.001){x.coords=p.coords;x.data[5]=x.coords[0]-x.base[0];x.data[6]=x.coords[1]-x.base[1]}else{x.data[5]=2*(T.center[0]-L[4]);x.data[6]=2*(T.center[1]-L[5]);x.coords=[x.base[0]+x.data[5],x.base[1]+x.data[6]];x={instruction:"a",data:[b,b,0,0,w,p.coords[0]-x.coords[0],p.coords[1]-x.coords[1]],coords:p.coords,base:x.coords};C.push(x);R++;break}k[0]-=L[4];k[1]-=L[5]}else break}if((r(C)+O).length0){a.splice.apply(a,[s+1,E.length-1-_].concat(C))}if(!x)return false;u="a";d=x.data;e.coords=x.coords}}if(c!==false){if("mltqsc".indexOf(u)>-1){for(var W=d.length;W--;){d[W]+=e.base[W%2]-n[W%2]}}else if(u=="h"){d[0]+=e.base[0]-n[0]}else if(u=="v"){d[0]+=e.base[1]-n[1]}else if(u=="a"){d[5]+=e.base[0]-n[0];d[6]+=e.base[1]-n[1]}l(d);if(u=="h")n[0]+=d[0];else if(u=="v")n[1]+=d[0];else{n[0]+=d[d.length-2];n[1]+=d[d.length-1]}l(n);if(u.toLowerCase()=="m"){i[0]=n[0];i[1]=n[1]}}if(t.straightCurves){if(u==="c"&&isCurveStraightLine(d)||u==="s"&&isCurveStraightLine(m)){if(p&&p.instruction=="s")makeLonghand(p,d);u="l";d=d.slice(-2)}else if(u==="q"&&isCurveStraightLine(d)){if(p&&p.instruction=="t")makeLonghand(p,d);u="l";d=d.slice(-2)}else if(u==="t"&&o.instruction!=="q"&&o.instruction!=="t"){u="l";d=d.slice(-2)}else if(u==="a"&&(d[0]===0||d[1]===0)){u="l";d=d.slice(-2)}}if(t.lineShorthands&&u==="l"){if(d[1]===0){u="h";d.pop()}else if(d[0]===0){u="v";d.shift()}}if(t.collapseRepeated&&!f&&"mhv".indexOf(u)>-1&&o.instruction&&u==o.instruction.toLowerCase()&&(u!="h"&&u!="v"||o.data[0]>=0==e.data[0]>=0)){o.data[0]+=d[0];if(u!="h"&&u!="v"){o.data[1]+=d[1]}o.coords=e.coords;a[s]=o;return false}if(t.curveSmoothShorthands&&o.instruction){if(u==="c"){if(o.instruction==="c"&&d[0]===-(o.data[2]-o.data[4])&&d[1]===-(o.data[3]-o.data[5])){u="s";d=d.slice(2)}else if(o.instruction==="s"&&d[0]===-(o.data[0]-o.data[2])&&d[1]===-(o.data[1]-o.data[3])){u="s";d=d.slice(2)}else if("cs".indexOf(o.instruction)===-1&&d[0]===0&&d[1]===0){u="s";d=d.slice(2)}}else if(u==="q"){if(o.instruction==="q"&&d[0]===o.data[2]-o.data[0]&&d[1]===o.data[3]-o.data[1]){u="t";d=d.slice(2)}else if(o.instruction==="t"&&d[2]===o.data[0]&&d[3]===o.data[1]){u="t";d=d.slice(2)}}}if(t.removeUseless&&!h){if("lhvqtcs".indexOf(u)>-1&&d.every(function(e){return e===0})){a[s]=o;return false}if(u==="a"&&d[5]===0&&d[6]===0){a[s]=o;return false}}e.instruction=u;e.data=d;o=e}else{n[0]=i[0];n[1]=i[1];if(o.instruction=="z")return false;o=e}return true});return e}function convertToMixed(e,t){var r=e[0];e=e.filter(function(e,n){if(n==0)return true;if(!e.data){r=e;return true}var i=e.instruction,o=e.data,s=o&&o.slice(0);if("mltqsc".indexOf(i)>-1){for(var c=s.length;c--;){s[c]+=e.base[c%2]}}else if(i=="h"){s[0]+=e.base[0]}else if(i=="v"){s[0]+=e.base[1]}else if(i=="a"){s[5]+=e.base[0];s[6]+=e.base[1]}l(s);var u=a(s,t),d=a(o,t);if(t.forceAbsolutePath||u.length96&&u.length==d.length-1&&(o[0]<0||/^0\./.test(o[0])&&r.data[r.data.length-1]%1))){e.instruction=i.toUpperCase();e.data=s}r=e;return true});return e}function isConvex(e){var t=getIntersection([0,0,e[2],e[3],e[0],e[1],e[4],e[5]]);return t&&e[2]0;){if(e[t].toFixed(c)!=e[t]){var r=+e[t].toFixed(c-1);e[t]=+Math.abs(r-e[t]).toFixed(c+1)>=u?+e[t].toFixed(c):r}}return e}function round(e){for(var t=e.length;t-- >0;){e[t]=Math.round(e[t])}return e}function isCurveStraightLine(e){var t=e.length-2,r=-e[t+1],n=e[t],i=1/(r*r+n*n);if(t<=1||!isFinite(i))return false;while((t-=2)>=0){if(Math.sqrt(Math.pow(r*e[t]+n*e[t+1],2)*i)>u)return false}return true}function makeLonghand(e,t){switch(e.instruction){case"s":e.instruction="c";break;case"t":e.instruction="q";break}e.data.unshift(t[t.length-2]-t[t.length-4],t[t.length-1]-t[t.length-3]);return e}function getDistance(e,t){return Math.hypot(e[0]-t[0],e[1]-t[1])}function getCubicBezierPoint(e,t){var r=t*t,n=r*t,i=1-t,o=i*i;return[3*o*t*e[0]+3*i*r*e[2]+n*e[4],3*o*t*e[1]+3*i*r*e[3]+n*e[5]]}function findCircle(e){var t=getCubicBezierPoint(e,1/2),r=[t[0]/2,t[1]/2],n=[(t[0]+e[4])/2,(t[1]+e[5])/2],i=getIntersection([r[0],r[1],r[0]+r[1],r[1]-r[0],n[0],n[1],n[0]+(n[1]-t[1]),n[1]-(n[0]-t[0])]),o=i&&getDistance([0,0],i),s=Math.min(d*u,p*o/100);if(i&&o<1e15&&[1/4,3/4].every(function(t){return Math.abs(getDistance(getCubicBezierPoint(e,t),i)-o)<=s}))return{center:i,radius:o}}function isArc(e,t){var r=Math.min(d*u,p*t.radius/100);return[0,1/4,1/2,3/4,1].every(function(n){return Math.abs(getDistance(getCubicBezierPoint(e,n),t.center)-t.radius)<=r})}function isArcPrev(e,t){return isArc(e,{center:[t.center[0]+e[4],t.center[1]+e[5]],radius:t.radius})}function findArcAngle(e,t){var r=-t.center[0],n=-t.center[1],i=e[4]-t.center[0],o=e[5]-t.center[1];return Math.acos((r*i+n*o)/Math.sqrt((r*r+n*n)*(i*i+o*o)))}function data2Path(e,t){return t.reduce(function(t,r){var n="";if(r.data){n=a(l(r.data.slice()),e)}return t+r.instruction+n},"")}},24199:(e,t)=>{"use strict";t.type="perItem";t.active=true;t.description="converts basic shapes to more compact path form";t.params={convertArcs:false};var r={value:0},n=/[-+]?(?:\d*\.\d+|\d+\.?)(?:[eE][-+]?\d+)?/g;t.fn=function(e,t){var i=t&&t.convertArcs;if(e.isElem("rect")&&e.hasAttr("width")&&e.hasAttr("height")&&!e.hasAttr("rx")&&!e.hasAttr("ry")){var o=+(e.attr("x")||r).value,s=+(e.attr("y")||r).value,a=+e.attr("width").value,l=+e.attr("height").value;if(isNaN(o-s+a-l))return;var c="M"+o+" "+s+"H"+(o+a)+"V"+(s+l)+"H"+o+"z";e.addAttr({name:"d",value:c,prefix:"",local:"d"});e.renameElem("path").removeAttr(["x","y","width","height"])}else if(e.isElem("line")){var u=+(e.attr("x1")||r).value,d=+(e.attr("y1")||r).value,p=+(e.attr("x2")||r).value,f=+(e.attr("y2")||r).value;if(isNaN(u-d+p-f))return;e.addAttr({name:"d",value:"M"+u+" "+d+"L"+p+" "+f,prefix:"",local:"d"});e.renameElem("path").removeAttr(["x1","y1","x2","y2"])}else if((e.isElem("polyline")||e.isElem("polygon"))&&e.hasAttr("points")){var h=(e.attr("points").value.match(n)||[]).map(Number);if(h.length<4)return false;e.addAttr({name:"d",value:"M"+h.slice(0,2).join(" ")+"L"+h.slice(2).join(" ")+(e.isElem("polygon")?"z":""),prefix:"",local:"d"});e.renameElem("path").removeAttr("points")}else if(e.isElem("circle")&&i){var m=+(e.attr("cx")||r).value;var g=+(e.attr("cy")||r).value;var y=+(e.attr("r")||r).value;if(isNaN(m-g+y)){return}var v="M"+m+" "+(g-y)+"A"+y+" "+y+" 0 1 0 "+m+" "+(g+y)+"A"+y+" "+y+" 0 1 0 "+m+" "+(g-y)+"Z";e.addAttr({name:"d",value:v,prefix:"",local:"d"});e.renameElem("path").removeAttr(["cx","cy","r"])}else if(e.isElem("ellipse")&&i){var b=+(e.attr("cx")||r).value;var S=+(e.attr("cy")||r).value;var w=+(e.attr("rx")||r).value;var x=+(e.attr("ry")||r).value;if(isNaN(b-S+w-x)){return}var C="M"+b+" "+(S-x)+"A"+w+" "+x+" 0 1 0 "+b+" "+(S+x)+"A"+w+" "+x+" 0 1 0 "+b+" "+(S-x)+"Z";e.addAttr({name:"d",value:C,prefix:"",local:"d"});e.renameElem("path").removeAttr(["cx","cy","rx","ry"])}}},72446:(e,t,r)=>{"use strict";t.type="perItem";t.active=true;t.description="converts style to attributes";t.params={keepImportant:false};var n=r(76344).attrsGroups.presentation,i="\\\\(?:[0-9a-f]{1,6}\\s?|\\r\\n|.)",o="\\s*("+g("[^:;\\\\]",i)+"*?)\\s*",s="'(?:[^'\\n\\r\\\\]|"+i+")*?(?:'|$)",a='"(?:[^"\\n\\r\\\\]|'+i+')*?(?:"|$)',l=new RegExp("^"+g(s,a)+"$"),c="\\("+g("[^'\"()\\\\]+",i,s,a)+"*?"+"\\)",u="\\s*("+g("[^!'\"();\\\\]+?",i,s,a,c,"[^;]*?")+"*?"+")",d="\\s*(?:;\\s*|$)",p="(\\s*!important(?![-(w]))?",f=new RegExp(o+":"+u+p+d,"ig"),h=new RegExp(g(i,s,a,"/\\*[^]*?\\*/"),"ig");t.fn=function(e,t){if(e.elem&&e.hasAttr("style")){var r=e.attr("style").value,i=[],o={};r=r.replace(h,function(e){return e[0]=="/"?"":e[0]=="\\"&&/[-g-z]/i.test(e[1])?e[1]:e});f.lastIndex=0;for(var s;s=f.exec(r);){if(!t.keepImportant||!s[3]){i.push([s[1],s[2]])}}if(i.length){i=i.filter(function(e){if(e[0]){var t=e[0].toLowerCase(),r=e[1];if(l.test(r)){r=r.slice(1,-1)}if(n.indexOf(t)>-1){o[t]={name:t,value:r,local:t,prefix:""};return false}}return true});Object.assign(e.attrs,o);if(i.length){e.attr("style").value=i.map(function(e){return e.join(":")}).join(";")}else{e.removeAttr("style")}}}};function g(){return"(?:"+Array.prototype.join.call(arguments,"|")+")"}},72234:(e,t,r)=>{"use strict";t.type="perItem";t.active=true;t.description="collapses multiple transformations and optimizes it";t.params={convertToShorts:true,floatPrecision:3,transformPrecision:5,matrixToTransform:true,shortTranslate:true,shortScale:true,shortRotate:true,removeUseless:true,collapseIntoOne:true,leadingZero:true,negativeExtraSpace:false};var n=r(79736).Kr,i=r(22527).transform2js,o=r(22527).transformsMultiply,s=r(22527).matrixToTransform,a,l,c;t.fn=function(e,t){if(e.elem){if(e.hasAttr("transform")){convertTransform(e,"transform",t)}if(e.hasAttr("gradientTransform")){convertTransform(e,"gradientTransform",t)}if(e.hasAttr("patternTransform")){convertTransform(e,"patternTransform",t)}}};function convertTransform(e,t,r){var n=i(e.attr(t).value);r=definePrecision(n,r);if(r.collapseIntoOne&&n.length>1){n=[o(n)]}if(r.convertToShorts){n=convertToShorts(n,r)}else{n.forEach(roundTransform)}if(r.removeUseless){n=removeUseless(n)}if(n.length){e.attr(t).value=js2transform(n,r)}else{e.removeAttr(t)}}function definePrecision(e,t){var r=e.reduce(getMatrixData,[]),n=t.transformPrecision;t=Object.assign({},t);if(r.length){t.transformPrecision=Math.min(t.transformPrecision,Math.max.apply(Math,r.map(floatDigits))||t.transformPrecision);n=Math.max.apply(Math,r.map(function(e){return String(e).replace(/\D+/g,"").length}))}if(!("degPrecision"in t)){t.degPrecision=Math.max(0,Math.min(t.floatPrecision,n-2))}l=t.floatPrecision>=1&&t.floatPrecision<20?smartRound.bind(this,t.floatPrecision):round;a=t.degPrecision>=1&&t.floatPrecision<20?smartRound.bind(this,t.degPrecision):round;c=t.transformPrecision>=1&&t.floatPrecision<20?smartRound.bind(this,t.transformPrecision):round;return t}function getMatrixData(e,t){return t.name=="matrix"?e.concat(t.data.slice(0,4)):e}function floatDigits(e){return(e=String(e)).slice(e.indexOf(".")).length-1}function convertToShorts(e,t){for(var r=0;r-1&&(e.data.length==1||e.name=="rotate")&&!e.data[0]||e.name=="translate"&&!e.data[0]&&!e.data[1]||e.name=="scale"&&e.data[0]==1&&(e.data.length<2||e.data[1]==1)||e.name=="matrix"&&e.data[0]==1&&e.data[3]==1&&!(e.data[1]||e.data[2]||e.data[4]||e.data[5])){return false}return true})}function js2transform(e,t){var r="";e.forEach(function(e){roundTransform(e);r+=(r&&" ")+e.name+"("+n(e.data,t)+")"});return r}function roundTransform(e){switch(e.name){case"translate":e.data=l(e.data);break;case"rotate":e.data=a(e.data.slice(0,1)).concat(l(e.data.slice(1)));break;case"skewX":case"skewY":e.data=a(e.data);break;case"scale":e.data=c(e.data);break;case"matrix":e.data=c(e.data.slice(0,4)).concat(l(e.data.slice(4)));break}return e}function round(e){return e.map(Math.round)}function smartRound(e,t){for(var r=t.length,n=+Math.pow(.1,e).toFixed(e);r--;){if(t[r].toFixed(e)!=t[r]){var i=+t[r].toFixed(e-1);t[r]=+Math.abs(i-t[r]).toFixed(e+1)>=n?+t[r].toFixed(e):i}}return t}},81862:(e,t,r)=>{"use strict";t.type="full";t.active=true;t.params={onlyMatchedOnce:true,removeMatchedSelectors:true,useMqs:["","screen"],usePseudos:[""]};t.description="inline styles (additional options)";var n=r(29701),i=r(27604);t.fn=function(e,t){var r=e.querySelectorAll("style");if(r===null){return e}var o=[],s=[];for(var a of r){if(a.isEmpty()||a.closestElem("foreignObject")){continue}var l=i.getCssStr(a);var c={};try{c=n.parse(l,{parseValue:false,parseCustomProperty:false})}catch(e){continue}o.push({styleEl:a,cssAst:c});s=s.concat(i.flattenToSelectors(c))}var u=i.filterByMqs(s,t.useMqs);var d=i.filterByPseudos(u,t.usePseudos);i.cleanPseudos(d);var p=i.sortSelectors(d).reverse();var f,h;for(f of p){var m=n.generate(f.item.data),g=null;try{g=e.querySelectorAll(m)}catch(e){if(e.constructor===SyntaxError){continue}throw e}if(g===null){continue}f.selectedEls=g}for(f of p){if(!f.selectedEls){continue}if(t.onlyMatchedOnce&&f.selectedEls!==null&&f.selectedEls.length>1){continue}for(h of f.selectedEls){if(f.rule===null){continue}n.walk(f.rule,{visit:"Declaration",enter:function(e){var t=i.csstreeToStyleDeclaration(e);if(h.style.getPropertyValue(t.name)!==null&&h.style.getPropertyPriority(t.name)>=t.priority){return}h.style.setProperty(t.name,t.value,t.priority)}})}if(t.removeMatchedSelectors&&f.selectedEls!==null&&f.selectedEls.length>0){f.rule.prelude.children.remove(f.item)}}if(!t.removeMatchedSelectors){return e}for(f of p){if(!f.selectedEls){continue}if(t.onlyMatchedOnce&&f.selectedEls!==null&&f.selectedEls.length>1){continue}for(h of f.selectedEls){var y=f.item.data.children.first();if(y.type==="ClassSelector"){h.class.remove(y.name)}if(typeof h.class.item(0)==="undefined"){h.removeAttr("class")}if(y.type==="IdSelector"){h.removeAttr("id",y.name)}}}for(var v of o){n.walk(v.cssAst,{visit:"Rule",enter:function(e,t,r){if(e.type==="Atrule"&&e.block!==null&&e.block.children.isEmpty()){r.remove(t);return}if(e.type==="Rule"&&e.prelude.children.isEmpty()){r.remove(t)}}});if(v.cssAst.children.isEmpty()){var b=v.styleEl.parentNode;b.spliceContent(b.content.indexOf(v.styleEl),1);if(b.elem==="defs"&&b.content.length===0){var S=b.parentNode;S.spliceContent(S.content.indexOf(b),1)}continue}i.setCssStr(v.styleEl,n.generate(v.cssAst))}return e}},46123:(e,t,r)=>{"use strict";t.type="perItem";t.active=true;t.description="merges multiple paths in one if possible";t.params={collapseRepeated:true,force:false,leadingZero:true,negativeExtraSpace:true,noSpaceAfterFlags:true};var n=r(54870).path2js,i=r(54870).js2path,o=r(54870).intersects;t.fn=function(e,t){if(!e.isElem()||e.isEmpty())return;var r=null,s=null;e.content=e.content.filter(function(e){if(r&&r.isElem("path")&&r.isEmpty()&&r.hasAttr("d")&&e.isElem("path")&&e.isEmpty()&&e.hasAttr("d")){if(!s){s=Object.keys(r.attrs)}var a=Object.keys(e.attrs),l=s.length==a.length&&a.every(function(t){return t=="d"||r.hasAttr(t)&&r.attr(t).value==e.attr(t).value}),c=n(r),u=n(e);if(l&&(t.force||!o(c,u))){i(r,c.concat(u),t);return false}}r=e;s=null;return true})}},77686:(e,t,r)=>{"use strict";t.type="full";t.active=true;t.description="minifies styles and removes unused styles based on usage data";t.params={usage:{force:false,ids:true,classes:true,tags:true}};var n=r(465);t.fn=function(e,t){t=t||{};var r=cloneObject(t);var i=cloneObject(t);var o=findStyleElems(e);r.usage=collectUsageData(e,t);i.usage=null;o.forEach(function(e){if(e.isElem("style")){var t=e.content[0].text||e.content[0].cdata||[];var o=t.indexOf(">")>=0||t.indexOf("<")>=0?"cdata":"text";e.content[0][o]=n.minify(t,r).css}else{var s=e.attr("style").value;e.attr("style").value=n.minifyBlock(s,i).css}});return e};function cloneObject(e){var t={};for(var r in e){t[r]=e[r]}return t}function findStyleElems(e){function walk(e,t){for(var r=0;r{"use strict";t.type="perItemReverse";t.active=true;t.description="moves elements attributes to the existing group wrapper";var n=r(76344).inheritableAttrs,i=r(76344).pathElems;t.fn=function(e){if(e.isElem("g")&&!e.isEmpty()&&e.content.length>1){var t={},r=false,n=e.hasAttr("clip-path")||e.hasAttr("mask"),o=e.content.every(function(e){if(e.isElem()&&e.hasAttr()){if(e.hasAttr("class"))return false;if(!Object.keys(t).length){t=e.attrs}else{t=intersectInheritableAttrs(t,e.attrs);if(!t)return false}return true}}),s=e.content.every(function(e){return e.isElem(i)});if(o){e.content.forEach(function(i){for(var o in t){if(!s&&!n||o!=="transform"){i.removeAttr(o);if(o==="transform"){if(!r){if(e.hasAttr("transform")){e.attr("transform").value+=" "+t[o].value}else{e.addAttr(t[o])}r=true}}else{e.addAttr(t[o])}}}})}}};function intersectInheritableAttrs(e,t){var r={};for(var i in e){if(t.hasOwnProperty(i)&&n.indexOf(i)>-1&&e[i].name===t[i].name&&e[i].value===t[i].value&&e[i].prefix===t[i].prefix&&e[i].local===t[i].local){r[i]=e[i]}}if(!Object.keys(r).length)return false;return r}},69078:(e,t,r)=>{"use strict";t.type="perItem";t.active=true;t.description="moves some group attributes to the content elements";var n=r(76344),i=n.pathElems.concat(["g","text"]),o=n.referencesProps;t.fn=function(e){if(e.isElem("g")&&e.hasAttr("transform")&&!e.isEmpty()&&!e.someAttr(function(e){return~o.indexOf(e.name)&&~e.value.indexOf("url(")})&&e.content.every(function(e){return e.isElem(i)&&!e.hasAttr("id")})){e.content.forEach(function(t){var r=e.attr("transform");if(t.hasAttr("transform")){t.attr("transform").value=r.value+" "+t.attr("transform").value}else{t.addAttr({name:r.name,local:r.local,prefix:r.prefix,value:r.value})}});e.removeAttr("transform")}}},33099:(e,t,r)=>{"use strict";t.type="perItem";t.active=false;t.params={delim:"__",prefixIds:true,prefixClassNames:true};t.description="prefix IDs";var n=r(85622),i=r(29701),o=r(47937),s=r(76344),a=s.referencesProps,l=/^#(.*)$/,c=null;var u=function(e){return e.replace(/[\. ]/g,"_")};var d=function(e){var t=e.match(l);if(t===null){return false}return t[1]};var p=function(e){var t=/url\((.*?)\)/gi.exec(e);if(t===null){return false}return t[1]};var f=function(e){return e&&e.value&&e.value.length>0};var h=function(e){var t=d(e);if(!t){return false}return"#"+c(t)};var m=function(e){if(!f(e)){return}e.value=e.value.split(/\s+/).map(c).join(" ")};var g=function(e){if(!f(e)){return}e.value=c(e.value)};var y=function(e){if(!f(e)){return}var t=h(e.value);if(!t){return}e.value=t};var v=function(e){if(!f(e)){return}var t=p(e.value);if(!t){return}var r=h(t);if(!r){return}e.value="url("+r+")"};t.fn=function(e,t,r){if(r.multipassCount&&r.multipassCount>0){return e}var s="prefix";if(t.prefix){if(typeof t.prefix==="function"){s=t.prefix(e,r)}else{s=t.prefix}}else if(t.prefix===false){s=false}else if(r&&r.path&&r.path.length>0){var l=n.basename(r.path);s=l}c=function(e){if(s===false){return u(e)}return u(s+t.delim+e)};if(e.elem==="style"){if(e.isEmpty()){return e}var d=e.content[0].text||e.content[0].cdata||[];var p={};try{p=i.parse(d,{parseValue:true,parseCustomProperty:false})}catch(t){console.warn("Warning: Parse error of styles of element, skipped. Error details: "+t);return e}var f="";i.walk(p,function(e){if((t.prefixIds&&e.type==="IdSelector"||t.prefixClassNames&&e.type==="ClassSelector")&&e.name){e.name=c(e.name);return}if(e.type==="Url"&&e.value.value&&e.value.value.length>0){f=h(o(e.value.value));if(!f){return}e.value.value=f}});e.content[0].text=i.generate(p);return e}if(!e.attrs){return e}if(t.prefixIds){g(e.attrs.id)}if(t.prefixClassNames){m(e.attrs.class)}y(e.attrs.href);y(e.attrs["xlink:href"]);for(var b of a){v(e.attrs[b])}return e}},65731:(e,t)=>{"use strict";t.type="perItem";t.active=false;t.description="removes attributes of elements that match a css selector";t.fn=function(e,t){var r=Array.isArray(t.selectors)?t.selectors:[t];r.map(function(t){if(e.matches(t.selector)){e.removeAttr(t.attributes)}})}},91585:(e,t)=>{"use strict";var r=":";t.type="perItem";t.active=false;t.description="removes specified attributes";t.params={elemSeparator:r,preserveCurrentColor:false,attrs:[]};t.fn=function(e,t){if(!Array.isArray(t.attrs)){t.attrs=[t.attrs]}if(e.isElem()){var n=typeof t.elemSeparator=="string"?t.elemSeparator:r;var i=typeof t.preserveCurrentColor=="boolean"?t.preserveCurrentColor:false;var o=t.attrs.map(function(e){if(e.indexOf(n)===-1){e=[".*",n,e,n,".*"].join("")}else if(e.split(n).length<3){e=[e,n,".*"].join("")}return e.split(n).map(function(e){if(e==="*"){e=".*"}return new RegExp(["^",e,"$"].join(""),"i")})});o.forEach(function(t){if(t[0].test(e.elem)){e.eachAttr(function(r){var n=r.name;var o=r.value;var s=i&&n=="fill"&&o=="currentColor";var a=i&&n=="stroke"&&o=="currentColor";if(!(s||a)){if(t[1].test(n)){if(t[2].test(r.value)){e.removeAttr(n)}}}})}})}}},13383:(e,t)=>{"use strict";t.type="perItem";t.active=true;t.description="removes comments";t.fn=function(e){if(e.comment&&e.comment.charAt(0)!=="!"){return false}}},81668:(e,t)=>{"use strict";t.type="perItem";t.active=true;t.params={removeAny:true};t.description="removes ";var r=/^(Created with|Created using)/;t.fn=function(e,t){return!e.isElem("desc")||!(t.removeAny||e.isEmpty()||r.test(e.content[0].text))}},41690:(e,t)=>{"use strict";t.type="perItem";t.active=false;t.description="removes width and height in presence of viewBox (opposite to removeViewBox, disable it first)";t.fn=function(e){if(e.isElem("svg")){if(e.hasAttr("viewBox")){e.removeAttr("width");e.removeAttr("height")}else if(e.hasAttr("width")&&e.hasAttr("height")&&!isNaN(Number(e.attr("width").value))&&!isNaN(Number(e.attr("height").value))){e.addAttr({name:"viewBox",value:"0 0 "+Number(e.attr("width").value)+" "+Number(e.attr("height").value),prefix:"",local:"viewBox"});e.removeAttr("width");e.removeAttr("height")}}}},42114:(e,t)=>{"use strict";t.type="perItem";t.active=true;t.description="removes doctype declaration";t.fn=function(e){if(e.doctype){return false}}},70325:(e,t,r)=>{"use strict";t.type="perItem";t.active=true;t.description="removes editors namespaces, elements and attributes";var n=r(76344).editorNamespaces,i=[];t.params={additionalNamespaces:[]};t.fn=function(e,t){if(Array.isArray(t.additionalNamespaces)){n=n.concat(t.additionalNamespaces)}if(e.elem){if(e.isElem("svg")){e.eachAttr(function(t){if(t.prefix==="xmlns"&&n.indexOf(t.value)>-1){i.push(t.local);e.removeAttr(t.name)}})}e.eachAttr(function(t){if(i.indexOf(t.prefix)>-1){e.removeAttr(t.name)}});if(i.indexOf(e.prefix)>-1){return false}}}},70535:(e,t)=>{"use strict";t.type="perItem";t.active=false;t.description="removes arbitrary elements by ID or className (disabled by default)";t.params={id:[],class:[]};t.fn=function(e,t){var r,n;["id","class"].forEach(function(e){if(!Array.isArray(t[e])){t[e]=[t[e]]}});if(!e.isElem()){return}r=e.attr("id");if(r){return t.id.indexOf(r.value)===-1}n=e.attr("class");if(n){var i=new RegExp(t.class.join("|"));return!i.test(n.value)}}},63151:(e,t)=>{"use strict";t.type="perItem";t.active=true;t.description="removes empty attributes";t.fn=function(e){if(e.elem){e.eachAttr(function(t){if(t.value===""){e.removeAttr(t.name)}})}}},41059:(e,t,r)=>{"use strict";t.type="perItemReverse";t.active=true;t.description="removes empty container elements";var n=r(76344).elemsGroups.container;t.fn=function(e){return!(e.isElem(n)&&!e.isElem("svg")&&e.isEmpty()&&(!e.isElem("pattern")||!e.hasAttrLocal("href")))}},14156:(e,t)=>{"use strict";t.type="perItem";t.active=true;t.description="removes empty elements";t.params={text:true,tspan:true,tref:true};t.fn=function(e,t){if(t.text&&e.isElem("text")&&e.isEmpty())return false;if(t.tspan&&e.isElem("tspan")&&e.isEmpty())return false;if(t.tref&&e.isElem("tref")&&!e.hasAttrLocal("href"))return false}},1378:(e,t)=>{"use strict";t.type="perItem";t.active=true;t.description="removes hidden elements (zero sized, with absent attributes)";t.params={isHidden:true,displayNone:true,opacity0:true,circleR0:true,ellipseRX0:true,ellipseRY0:true,rectWidth0:true,rectHeight0:true,patternWidth0:true,patternHeight0:true,imageWidth0:true,imageHeight0:true,pathEmptyD:true,polylineEmptyPoints:true,polygonEmptyPoints:true};var r=/M\s*(?:[-+]?(?:\d*\.\d+|\d+(?:\.|(?!\.)))([eE][-+]?\d+)?(?!\d)\s*,?\s*){2}\D*\d/i;t.fn=function(e,t){if(e.elem){if(t.isHidden&&e.hasAttr("visibility","hidden"))return false;if(t.displayNone&&e.hasAttr("display","none"))return false;if(t.opacity0&&e.hasAttr("opacity","0"))return false;if(t.circleR0&&e.isElem("circle")&&e.isEmpty()&&e.hasAttr("r","0"))return false;if(t.ellipseRX0&&e.isElem("ellipse")&&e.isEmpty()&&e.hasAttr("rx","0"))return false;if(t.ellipseRY0&&e.isElem("ellipse")&&e.isEmpty()&&e.hasAttr("ry","0"))return false;if(t.rectWidth0&&e.isElem("rect")&&e.isEmpty()&&e.hasAttr("width","0"))return false;if(t.rectHeight0&&t.rectWidth0&&e.isElem("rect")&&e.isEmpty()&&e.hasAttr("height","0"))return false;if(t.patternWidth0&&e.isElem("pattern")&&e.hasAttr("width","0"))return false;if(t.patternHeight0&&e.isElem("pattern")&&e.hasAttr("height","0"))return false;if(t.imageWidth0&&e.isElem("image")&&e.hasAttr("width","0"))return false;if(t.imageHeight0&&e.isElem("image")&&e.hasAttr("height","0"))return false;if(t.pathEmptyD&&e.isElem("path")&&(!e.hasAttr("d")||!r.test(e.attr("d").value)))return false;if(t.polylineEmptyPoints&&e.isElem("polyline")&&!e.hasAttr("points"))return false;if(t.polygonEmptyPoints&&e.isElem("polygon")&&!e.hasAttr("points"))return false}}},28873:(e,t)=>{"use strict";t.type="perItem";t.active=true;t.description="removes ";t.fn=function(e){return!e.isElem("metadata")}},67662:(e,t,r)=>{"use strict";t.type="perItem";t.active=true;t.description="removes non-inheritable group’s presentational attributes";var n=r(76344).inheritableAttrs,i=r(76344).attrsGroups,o=r(76344).presentationNonInheritableGroupAttrs;t.fn=function(e){if(e.isElem("g")){e.eachAttr(function(t){if(~i.presentation.indexOf(t.name)&&!~n.indexOf(t.name)&&!~o.indexOf(t.name)){e.removeAttr(t.name)}})}}},58267:(e,t,r)=>{"use strict";t.type="perItem";t.active=false;t.description="removes elements that are drawn outside of the viewbox (disabled by default)";var n=r(20485),i=r(54870),o=i.intersects,s=i.path2js,a,l;t.fn=function(e){if(e.isElem("path")&&e.hasAttr("d")&&typeof a!=="undefined"){if(hasTransform(e)||pathMovesWithinViewBox(e.attr("d").value)){return true}var t=s(e);if(t.length===2){t=JSON.parse(JSON.stringify(t));t.push({instruction:"z"})}return o(l,t)}if(e.isElem("svg")){parseViewBox(e)}return true};function hasTransform(e){return e.hasAttr("transform")||e.parentNode&&hasTransform(e.parentNode)}function parseViewBox(e){var t="";if(e.hasAttr("viewBox")){t=e.attr("viewBox").value}else if(e.hasAttr("height")&&e.hasAttr("width")){t="0 0 "+e.attr("width").value+" "+e.attr("height").value}t=t.replace(/[,+]|px/g," ").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"");var r=/^(-?\d*\.?\d+) (-?\d*\.?\d+) (\d*\.?\d+) (\d*\.?\d+)$/.exec(t);if(!r){return}a={left:parseFloat(r[1]),top:parseFloat(r[2]),right:parseFloat(r[1])+parseFloat(r[3]),bottom:parseFloat(r[2])+parseFloat(r[4])};var i=(new n).createContentItem({elem:"path",prefix:"",local:"path"});i.addAttr({name:"d",prefix:"",local:"d",value:"M"+r[1]+" "+r[2]+"h"+r[3]+"v"+r[4]+"H"+r[1]+"z"});l=s(i)}function pathMovesWithinViewBox(e){var t=/M\s*(-?\d*\.?\d+)(?!\d)\s*(-?\d*\.?\d+)/g,r;while(null!==(r=t.exec(e))){if(r[1]>=a.left&&r[1]<=a.right&&r[2]>=a.top&&r[2]<=a.bottom){return true}}return false}},99062:(e,t)=>{"use strict";t.type="perItem";t.active=false;t.description="removes raster images (disabled by default)";t.fn=function(e){if(e.isElem("image")&&e.hasAttrLocal("href",/(\.|image\/)(jpg|png|gif)/)){return false}}},64186:(e,t)=>{"use strict";t.type="perItem";t.active=false;t.description="removes