!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).singlefile={})}(this,(function(e){"use strict";const t="single-file-load-deferred-images-start",n="single-file-load-deferred-images-end",r="single-file-load-deferred-images-keep-zoom-level-start",a="single-file-load-deferred-images-keep-zoom-level-end",o="single-file-load-deferred-images-keep-zoom-level-reset",i="single-file-load-deferred-images-reset",s="single-file-block-cookies-start",l="single-file-block-cookies-end",c="single-file-dispatch-scroll-event-start",u="single-file-dispatch-scroll-event-end",h="single-file-block-storage-start",d="single-file-block-storage-end",p="single-file-load-image",m="single-file-image-loaded",g=(e,t,n)=>globalThis.addEventListener(e,t,n),f=e=>{try{globalThis.dispatchEvent(e)}catch(e){}},b=globalThis.CustomEvent,y=globalThis.document,w=globalThis.Document,k=globalThis.JSON;let v;function x(){return Array.from(v.values())}function A(e){e.loadDeferredImagesBlockCookies&&f(new b(s)),e.loadDeferredImagesBlockStorage&&f(new b(h)),e.loadDeferredImagesDispatchScrollEvent&&f(new b(c)),e.loadDeferredImagesKeepZoomLevel?f(new b(r)):f(new b(t))}function E(e){e.loadDeferredImagesBlockCookies&&f(new b(l)),e.loadDeferredImagesBlockStorage&&f(new b(d)),e.loadDeferredImagesDispatchScrollEvent&&f(new b(u)),e.loadDeferredImagesKeepZoomLevel?f(new b(a)):f(new b(n))}function S(e){e.loadDeferredImagesKeepZoomLevel?f(new b(o)):f(new b(i))}v=window._singleFile_fontFaces?window._singleFile_fontFaces:window._singleFile_fontFaces=new Map,y instanceof w&&(g("single-file-new-font-face",(e=>{const t=e.detail,n=Object.assign({},t);delete n.src,v.set(k.stringify(n),t)})),g("single-file-delete-font",(e=>{const t=e.detail,n=Object.assign({},t);delete n.src,v.delete(k.stringify(n))})),g("single-file-clear-fonts",(()=>v=new Map)));var T=Object.freeze({__proto__:null,getFontsData:x,loadDeferredImagesStart:A,loadDeferredImagesEnd:E,loadDeferredImagesResetZoomLevel:S,LOAD_IMAGE_EVENT:p,IMAGE_LOADED_EVENT:m});const C="[\\x20\\t\\r\\n\\f]",R=new RegExp("\\\\([\\da-f]{1,6}"+C+"?|("+C+")|.)","ig");function I(e){return e.replace(R,((e,t,n)=>{const r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)}))}var _=Object.freeze({__proto__:null,process:I});const L="single-file-infobar",z="\n.infobar,\n.infobar .infobar-icon,\n.infobar .infobar-link-icon {\n min-inline-size: 28px;\n min-block-size: 28px;\n box-sizing: border-box;\n}\n\n.infobar,\n.infobar .infobar-close-icon,\n.infobar .infobar-link-icon {\n opacity: 0.7;\n transition: opacity 250ms;\n}\n\n.infobar:hover,\n.infobar .infobar-close-icon:hover,\n.infobar .infobar-link-icon:hover {\n opacity: 1;\n}\n\n.infobar,\n.infobar-content {\n display: flex;\n}\n\n.infobar {\n position: fixed;\n top: 16px;\n right: 16px;\n margin-inline-start: 16px;\n margin-block-end: 16px;\n color: #2d2d2d;\n background-color: #737373;\n border: 2px solid;\n border-color: #eee;\n border-radius: 16px;\n z-index: 2147483647;\n}\n\n.infobar:valid, .infobar:not(:focus-within) .infobar-content {\n display: none;\n}\n\n.infobar:focus-within {\n background-color: #f9f9f9;\n border-color: #878787;\n border-radius: 8px;\n opacity: 1;\n transition-property: opacity, background-color, border-color, border-radius,\n color;\n}\n\n.infobar-content {\n align-items: center;\n}\n\n.infobar-content span {\n font-family: Arial, Helvetica, sans-serif;\n font-size: 14px;\n line-height: 18px;\n word-break: break-word;\n white-space: pre-wrap;\n margin-inline: 4px;\n margin-block: 4px;\n}\n\n.infobar .infobar-icon,\n.infobar .infobar-close-icon,\n.infobar .infobar-link-icon {\n cursor: pointer;\n background-position: center;\n background-repeat: no-repeat;\n}\n\n.infobar .infobar-close-icon,\n.infobar .infobar-link-icon {\n align-self: flex-start;\n}\n\n.infobar .infobar-icon {\n position: absolute;\n min-inline-size: 24px;\n min-block-size: 24px;\n}\n\n.infobar:focus-within .infobar-icon {\n z-index: -1;\n background-image: none;\n}\n\n.infobar .infobar-close-icon {\n min-inline-size: 22px;\n min-block-size: 22px;\n}\n\n.infobar .infobar-icon {\n background-color: transparent;\n background-size: 70%;\n background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABABAMAAABYR2ztAAABhmlDQ1BJQ0MgcHJvZmlsZQAAKJF9kj1Iw0AYht+mSkUrDnYQcchQnSyIijqWKhbBQmkrtOpgcukfNGlIUlwcBdeCgz+LVQcXZ10dXAVB8AfEydFJ0UVK/C4ptIjx4LiH9+59+e67A4RGhalm1wSgapaRisfEbG5VDLyiDwEAvZiVmKkn0osZeI6ve/j4ehfhWd7n/hz9St5kgE8kjjLdsIg3iGc2LZ3zPnGIlSSF+Jx43KACiR+5Lrv8xrnosMAzQ0YmNU8cIhaLHSx3MCsZKvE0cVhRNcoXsi4rnLc4q5Uaa9XJbxjMaytprtMcQRxLSCAJETJqKKMCCxFaNVJMpGg/5uEfdvxJcsnkKoORYwFVqJAcP/gb/O6tWZiadJOCMaD7xbY/RoHALtCs2/b3sW03TwD/M3Cltf3VBjD3SXq9rYWPgIFt4OK6rcl7wOUOMPSkS4bkSH6aQqEAvJ/RM+WAwVv6EGtu31r7OH0AMtSr5Rvg4BAYK1L2use9ezr79u+ZVv9+AFlNcp0UUpiqAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH5AsHADIRLMaOHwAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAAPUExURQAAAIqKioyNjY2OjvDw8L2y1DEAAAABdFJOUwBA5thmAAAAAWJLR0QB/wIt3gAAAGNJREFUSMdjYCAJsLi4OBCQx6/CBQwIGIDPCBcXAkYQUsACU+AwlBVQHg6Eg5pgZBGOboIJZugDFwRwoJECJCUOhJI1wZwzqmBUwagCuipgIqTABG9h7YIKaKGAURAFEF/6AQAO4HqSoDP8bgAAAABJRU5ErkJggg==);\n}\n\n.infobar .infobar-link-icon {\n background-size: 60%;\n background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABAAgMAAADXB5lNAAABhmlDQ1BJQ0MgcHJvZmlsZQAAKJF9kj1Iw0AYht+mSkUrDnYQcchQnSyIijqWKhbBQmkrtOpgcukfNGlIUlwcBdeCgz+LVQcXZ10dXAVB8AfEydFJ0UVK/C4ptIjx4LiH9+59+e67A4RGhalm1wSgapaRisfEbG5VDLyiDwEAvZiVmKkn0osZeI6ve/j4ehfhWd7n/hz9St5kgE8kjjLdsIg3iGc2LZ3zPnGIlSSF+Jx43KACiR+5Lrv8xrnosMAzQ0YmNU8cIhaLHSx3MCsZKvE0cVhRNcoXsi4rnLc4q5Uaa9XJbxjMaytprtMcQRxLSCAJETJqKKMCCxFaNVJMpGg/5uEfdvxJcsnkKoORYwFVqJAcP/gb/O6tWZiadJOCMaD7xbY/RoHALtCs2/b3sW03TwD/M3Cltf3VBjD3SXq9rYWPgIFt4OK6rcl7wOUOMPSkS4bkSH6aQqEAvJ/RM+WAwVv6EGtu31r7OH0AMtSr5Rvg4BAYK1L2use9ezr79u+ZVv9+AFlNcp0UUpiqAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH5AsHAB8H+DhhoQAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAAJUExURQAAAICHi4qKioTuJAkAAAABdFJOUwBA5thmAAAAAWJLR0QCZgt8ZAAAAJJJREFUOI3t070NRCEMA2CnYAOyDyPwpHj/Va7hJ3FzV7zy3ET5JIwoAF6Jk4wzAJAkzxAYG9YRTgB+24wBgKmfrGAKTcEfAY4KRlRoIeBTgKOCERVaCPgU4Khge2GqKOBTgKOCERVaAEC/4PNcnyoSWHpjqkhwKxbcig0Q6AorXYF/+A6eIYD1lVbwG/jdA6/kA2THRAURVubcAAAAAElFTkSuQmCC);\n}\n\n.infobar .infobar-close-icon {\n appearance: none;\n background-size: 80%;\n background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABAAgMAAADXB5lNAAABhmlDQ1BJQ0MgcHJvZmlsZQAAKJF9kj1Iw0AYht+mSkUrDnYQcchQnSyIijqWKhbBQmkrtOpgcukfNGlIUlwcBdeCgz+LVQcXZ10dXAVB8AfEydFJ0UVK/C4ptIjx4LiH9+59+e67A4RGhalm1wSgapaRisfEbG5VDLyiDwEAvZiVmKkn0osZeI6ve/j4ehfhWd7n/hz9St5kgE8kjjLdsIg3iGc2LZ3zPnGIlSSF+Jx43KACiR+5Lrv8xrnosMAzQ0YmNU8cIhaLHSx3MCsZKvE0cVhRNcoXsi4rnLc4q5Uaa9XJbxjMaytprtMcQRxLSCAJETJqKKMCCxFaNVJMpGg/5uEfdvxJcsnkKoORYwFVqJAcP/gb/O6tWZiadJOCMaD7xbY/RoHALtCs2/b3sW03TwD/M3Cltf3VBjD3SXq9rYWPgIFt4OK6rcl7wOUOMPSkS4bkSH6aQqEAvJ/RM+WAwVv6EGtu31r7OH0AMtSr5Rvg4BAYK1L2use9ezr79u+ZVv9+AFlNcp0UUpiqAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH5AsHAB8VC4EQ6QAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAAAJUExURQAAAICHi4qKioTuJAkAAAABdFJOUwBA5thmAAAAAWJLR0QCZgt8ZAAAAJtJREFUOI3NkrsBgCAMRLFwBPdxBArcfxXFkO8rbKWAAJfHJ9faf9vuYX/749T5NmShm3bEwbe2SxeuM4+2oxDL1cDoKtVUjRy+tH78Cv2CS+wIiQNC1AEhk4AQeUTMWUJMfUJMSEJMSEY8kIx4IONroaYAimNxsXp1PA7PxwfVL8QnowwoVC0lig07wDDVUjAdbAnjwtow/z/bDW7eI4M2KruJAAAAAElFTkSuQmCC);\n}\n";function P(e,t,n){if(!e.querySelector(L)){let r=t.infobarContent?t.infobarContent:t.saveDate;r=r||"No info";const a=function(e,t,n){const r=e.createElement(t);return n.appendChild(r),Array.from(getComputedStyle(r)).forEach((e=>r.style.setProperty(e,"initial","important"))),r}(e,L,e.body);let o;if(n)o=a.attachShadow({mode:"open"});else{const t=e.createElement("template");t.setAttribute("shadowroot","open"),a.appendChild(t),o=t}const i=e.createElement("div"),s=e.createElement("style");s.textContent=z.replace(/ {2}/g,"").replace(/\n/g,"").replace(/: /g,":").replace(/, /g,","),i.appendChild(s);const l=e.createElement("form");l.classList.add("infobar"),i.appendChild(l);const c=e.createElement("span");c.tabIndex=-1,c.classList.add("infobar-icon"),l.appendChild(c);const u=e.createElement("span");u.tabIndex=-1,u.classList.add("infobar-content");const h=e.createElement("input");h.type="checkbox",h.required=!0,h.classList.add("infobar-close-icon"),u.appendChild(h);const d=e.createElement("span");d.textContent=r,u.appendChild(d);const p=e.createElement("a");if(p.classList.add("infobar-link-icon"),p.target="_blank",p.rel="noopener noreferrer",p.title="Open source URL: "+t.saveUrl,p.href=t.saveUrl,u.appendChild(p),l.appendChild(u),n)o.appendChild(i);else{const t=e.createElement("script");let n=M.toString();n+=N.toString(),n+="("+U.toString()+")(document)",t.textContent=n,i.appendChild(t),o.innerHTML=i.outerHTML}e.body.appendChild(a)}}function N(e){const t=e.evaluate("//comment()",e,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null);let n=t&&t.singleNodeValue;if(n&&n.nodeType==Node.COMMENT_NODE&&n.textContent.includes("SingleFile")){const e=n.textContent.split("\n"),[,,t,...r]=e,a=t.match(/^ url: (.*) ?$/),o=a&&a[1];if(o){let e,t;if(r.length&&(t=r[0].split("saved date: ")[1],t&&r.shift(),r.length>1)){let t=r[0].split("info: ")[1].trim();for(let e=1;eglobalThis.addEventListener(e,t,n),fe=globalThis.JSON;function be(e){e.querySelectorAll("meta[http-equiv=refresh]").forEach((e=>{e.removeAttribute("http-equiv"),e.setAttribute("disabled-http-equiv","refresh")}))}function ye(e,t,n){e.querySelectorAll("noscript:not(["+ne+"])").forEach((e=>{e.setAttribute(ne,e.textContent),e.textContent=""})),be(e),e.head&&e.head.querySelectorAll(ie).forEach((e=>e.hidden=!0)),e.querySelectorAll("svg foreignObject").forEach((e=>{const t=e.querySelectorAll("html > head > "+ie+", html > body > "+ie);t.length&&(Array.from(e.childNodes).forEach((e=>e.remove())),t.forEach((t=>e.appendChild(t))))}));const r=new Map;let a;return t&&e.documentElement?(e.querySelectorAll("button button, a a").forEach((t=>{const n=e.createElement("template");n.setAttribute(ae,""),n.content.appendChild(t.cloneNode(!0)),r.set(t,n),t.replaceWith(n)})),a=we(t,e,e.documentElement,n),n.moveStylesInHead&&e.querySelectorAll("body style, body ~ style").forEach((e=>{const n=ze(t,e);n&&Ee(e,n)&&(e.setAttribute(Z,""),a.markedElements.push(e))}))):a={canvases:[],images:[],posters:[],videos:[],usedFonts:[],shadowRoots:[],markedElements:[]},{canvases:a.canvases,fonts:x(),stylesheets:Te(e),images:a.images,posters:a.posters,videos:a.videos,usedFonts:Array.from(a.usedFonts.values()),shadowRoots:a.shadowRoots,referrer:e.referrer,markedElements:a.markedElements,invalidElements:r,scrollPosition:{x:t.scrollX,y:t.scrollY}}}function we(e,t,n,r,a={usedFonts:new Map,canvases:[],images:[],posters:[],videos:[],shadowRoots:[],markedElements:[]},o){if(n.childNodes){Array.from(n.childNodes).filter((t=>t instanceof e.HTMLElement||t instanceof e.SVGElement)).forEach((n=>{let i,s,l;if(!r.autoSaveExternalSave&&(r.removeHiddenElements||r.removeUnusedFonts||r.compressHTML)&&(l=ze(e,n),n instanceof e.HTMLElement&&r.removeHiddenElements&&(s=(o||n.closest("html > head"))&&se.includes(n.tagName.toUpperCase())||n.closest("details"),s||(i=o||Ee(n,l),i&&(n.setAttribute(B,""),a.markedElements.push(n)))),!i)){if(r.compressHTML&&l){const e=l.getPropertyValue("white-space");e&&e.startsWith("pre")&&(n.setAttribute(W,""),a.markedElements.push(n))}r.removeUnusedFonts&&(ke(l,r,a.usedFonts),ke(ze(e,n,":first-letter"),r,a.usedFonts),ke(ze(e,n,":before"),r,a.usedFonts),ke(ze(e,n,":after"),r,a.usedFonts))}!function(e,t,n,r,a,o,i){const s=n.tagName&&n.tagName.toUpperCase();if("CANVAS"==s)try{a.canvases.push({dataURI:n.toDataURL("image/png",""),backgroundColor:i.getPropertyValue("background-color")}),n.setAttribute(Q,a.canvases.length-1),a.markedElements.push(n)}catch(e){}if("IMG"==s){const t={currentSrc:o?me:r.loadDeferredImages&&n.getAttribute(ee)||n.currentSrc};if(a.images.push(t),n.setAttribute(G,a.images.length-1),a.markedElements.push(n),n.removeAttribute(ee),i=i||ze(e,n)){t.size=function(e,t,n){let r=t.naturalWidth,a=t.naturalHeight;if(!r&&!a){const o=null==t.getAttribute("style");if(n=n||ze(e,t)){let e,i,s,l,c,u,h,d,p=!1;if("content-box"==n.getPropertyValue("box-sizing")){const e=t.style.getPropertyValue("box-sizing"),n=t.style.getPropertyPriority("box-sizing"),r=t.clientWidth;t.style.setProperty("box-sizing","border-box","important"),p=t.clientWidth!=r,e?t.style.setProperty("box-sizing",e,n):t.style.removeProperty("box-sizing")}e=Ce("padding-left",n),i=Ce("padding-right",n),s=Ce("padding-top",n),l=Ce("padding-bottom",n),p?(c=Ce("border-left-width",n),u=Ce("border-right-width",n),h=Ce("border-top-width",n),d=Ce("border-bottom-width",n)):c=u=h=d=0,r=Math.max(0,t.clientWidth-e-i-c-u),a=Math.max(0,t.clientHeight-s-l-h-d),o&&t.removeAttribute("style")}}return{pxWidth:r,pxHeight:a}}(e,n,i);const r=i.getPropertyValue("box-shadow"),a=i.getPropertyValue("background-image");r&&"none"!=r||a&&"none"!=a||!(t.size.pxWidth>1||t.size.pxHeight>1)||(t.replaceable=!0,t.backgroundColor=i.getPropertyValue("background-color"),t.objectFit=i.getPropertyValue("object-fit"),t.boxSizing=i.getPropertyValue("box-sizing"),t.objectPosition=i.getPropertyValue("object-position"))}}if("VIDEO"==s){const r=n.currentSrc;if(r&&!r.startsWith("blob:")&&!r.startsWith("data:")){const t=ze(e,n.parentNode);a.videos.push({positionParent:t&&t.getPropertyValue("position"),src:r,size:{pxWidth:n.clientWidth,pxHeight:n.clientHeight},currentTime:n.currentTime}),n.setAttribute(K,a.videos.length-1)}if(!n.getAttribute("poster")){const e=t.createElement("canvas"),r=e.getContext("2d");e.width=n.clientWidth,e.height=n.clientHeight;try{r.drawImage(n,0,0,e.width,e.height),a.posters.push(e.toDataURL("image/png","")),n.setAttribute(Y,a.posters.length-1),a.markedElements.push(n)}catch(e){}}}"IFRAME"==s&&o&&r.removeHiddenElements&&(n.setAttribute(V,""),a.markedElements.push(n));"INPUT"==s&&("password"!=n.type&&(n.setAttribute(X,n.value),a.markedElements.push(n)),"radio"!=n.type&&"checkbox"!=n.type||(n.setAttribute(X,n.checked),a.markedElements.push(n)));"TEXTAREA"==s&&(n.setAttribute(X,n.value),a.markedElements.push(n));"SELECT"==s&&n.querySelectorAll("option").forEach((e=>{e.selected&&(e.setAttribute(X,""),a.markedElements.push(e))}));"SCRIPT"==s&&(n.async&&""!=n.getAttribute("async")&&"async"!=n.getAttribute("async")&&(n.setAttribute(oe,""),a.markedElements.push(n)),n.textContent=n.textContent.replace(/<\/script>/gi,"<\\/script>"))}(e,t,n,r,a,i,l);const c=!(n instanceof e.SVGElement)&&ve(n);if(c&&!n.classList.contains(pe)){const o={};n.setAttribute($,a.shadowRoots.length),a.markedElements.push(n),a.shadowRoots.push(o),we(e,t,c,r,a,i),o.content=c.innerHTML,o.mode=c.mode;try{if(c.adoptedStyleSheets)if(c.adoptedStyleSheets.length)o.adoptedStyleSheets=Array.from(c.adoptedStyleSheets).map((e=>Array.from(e.cssRules).map((e=>e.cssText)).join("\n")));else if(void 0===c.adoptedStyleSheets.length){const e=e=>o.adoptedStyleSheets=e.detail.adoptedStyleSheets;n.addEventListener(F,e),n.dispatchEvent(new CustomEvent(q,{options:{bubbles:!0,composed:!0}})),n.removeEventListener(F,e)}}catch(e){}}we(e,t,n,r,a,i),!r.autoSaveExternalSave&&r.removeHiddenElements&&o&&(s||""==n.getAttribute(H)?n.parentElement&&(n.parentElement.setAttribute(H,""),a.markedElements.push(n.parentElement)):i&&(n.setAttribute(j,""),a.markedElements.push(n)))}))}return a}function ke(e,t,n){if(e){const r=e.getPropertyValue("font-style")||"normal";e.getPropertyValue("font-family").split(",").forEach((a=>{if(a=Ae(a),!t.loadedFonts||t.loadedFonts.find((e=>Ae(e.family)==a&&e.style==r))){const t=_e(e.getPropertyValue("font-weight")),o=e.getPropertyValue("font-variant")||"normal",i=[a,t,r,o];n.set(fe.stringify(i),[a,t,r,o])}}))}}function ve(e){const t=globalThis.chrome;if(e.openOrClosedShadowRoot)return e.openOrClosedShadowRoot;if(!(t&&t.dom&&t.dom.openOrClosedShadowRoot))return e.shadowRoot;try{return t.dom.openOrClosedShadowRoot(e)}catch(t){return e.shadowRoot}}function xe(e,t,n){return P(e,t,n)}function Ae(e=""){return Ie(I(e.trim())).toLowerCase()}function Ee(e,t){let n=!1;if(t){const r=t.getPropertyValue("display"),a=t.getPropertyValue("opacity"),o=t.getPropertyValue("visibility");if(n="none"==r,!n&&("0"==a||"hidden"==o)&&e.getBoundingClientRect){const t=e.getBoundingClientRect();n=!t.width&&!t.height}}return Boolean(n)}function Se(e,t,n){if(e.querySelectorAll("["+ne+"]").forEach((e=>{e.textContent=e.getAttribute(ne),e.removeAttribute(ne)})),e.querySelectorAll("meta[disabled-http-equiv]").forEach((e=>{e.setAttribute("http-equiv",e.getAttribute("disabled-http-equiv")),e.removeAttribute("disabled-http-equiv")})),e.head&&e.head.querySelectorAll("*:not(base):not(link):not(meta):not(noscript):not(script):not(style):not(template):not(title)").forEach((e=>e.removeAttribute("hidden"))),!t){const n=[j,V,B,W,G,Y,K,Q,X,$,te,oe];t=e.querySelectorAll(n.map((e=>"["+e+"]")).join(","))}t.forEach((e=>{e.removeAttribute(j),e.removeAttribute(B),e.removeAttribute(H),e.removeAttribute(V),e.removeAttribute(W),e.removeAttribute(G),e.removeAttribute(Y),e.removeAttribute(K),e.removeAttribute(Q),e.removeAttribute(X),e.removeAttribute($),e.removeAttribute(te),e.removeAttribute(oe),e.removeAttribute(Z)})),n&&n.forEach(((e,t)=>e.replaceWith(t)))}function Te(e){if(e){const t=[];return e.querySelectorAll("style").forEach(((n,r)=>{try{const a=e.createElement("style");a.textContent=n.textContent,e.body.appendChild(a);const o=a.sheet;a.remove(),o&&o.cssRules.length==n.sheet.cssRules.length||(n.setAttribute(te,r),t[r]=Array.from(n.sheet.cssRules).map((e=>e.cssText)).join("\n"))}catch(e){}})),t}}function Ce(e,t){if(t.getPropertyValue(e).endsWith("px"))return parseFloat(t.getPropertyValue(e))}function Re(e){const t=e.doctype;let n="";return t&&(n=" "),n+e.documentElement.outerHTML}function Ie(e){return(e=e.match(le)?e.replace(le,"$1"):e.replace(ce,"$1")).trim()}function _e(e){return ue[e.toLowerCase().trim()]||e}function Le(e){return e.flat?e.flat():e.reduce(((e,t)=>e.concat(Array.isArray(t)?Le(t):t)),[])}function ze(e,t,n){try{return e.getComputedStyle(t,n)}catch(e){}}var Pe=Object.freeze({__proto__:null,initUserScriptHandler:function(){ge("single-file-user-script-init",(()=>globalThis._singleFile_waitForUserScript=async e=>{const t=new CustomEvent(e+"-request",{cancelable:!0}),n=new Promise((t=>ge(e+"-response",t)));(e=>{try{globalThis.dispatchEvent(e)}catch(e){}})(t),t.defaultPrevented&&await n}))},initDoc:be,preProcessDoc:ye,postProcessDoc:Se,serialize:Re,removeQuotes:Ie,flatten:Le,getFontWeight:_e,normalizeFontFamily:Ae,getShadowRoot:ve,appendInfobar:xe,ON_BEFORE_CAPTURE_EVENT_NAME:O,ON_AFTER_CAPTURE_EVENT_NAME:D,WIN_ID_ATTRIBUTE_NAME:J,PRESERVED_SPACE_ELEMENT_ATTRIBUTE_NAME:W,REMOVED_CONTENT_ATTRIBUTE_NAME:j,HIDDEN_CONTENT_ATTRIBUTE_NAME:B,HIDDEN_FRAME_ATTRIBUTE_NAME:V,IMAGE_ATTRIBUTE_NAME:G,POSTER_ATTRIBUTE_NAME:Y,VIDEO_ATTRIBUTE_NAME:K,CANVAS_ATTRIBUTE_NAME:Q,INPUT_VALUE_ATTRIBUTE_NAME:X,SHADOW_ROOT_ATTRIBUTE_NAME:$,STYLE_ATTRIBUTE_NAME:Z,LAZY_SRC_ATTRIBUTE_NAME:ee,STYLESHEET_ATTRIBUTE_NAME:te,SELECTED_CONTENT_ATTRIBUTE_NAME:re,INVALID_ELEMENT_ATTRIBUTE_NAME:ae,ASYNC_SCRIPT_ATTRIBUTE_NAME:oe,COMMENT_HEADER:he,COMMENT_HEADER_LEGACY:de,SINGLE_FILE_UI_ELEMENT_CLASS:pe,EMPTY_RESOURCE:me});const Ne={LAZY_SRC_ATTRIBUTE_NAME:ee,SINGLE_FILE_UI_ELEMENT_CLASS:pe},Me=10,Ue="attributes",Oe=globalThis.browser,De=globalThis.document,qe=globalThis.MutationObserver,Fe=(e,t,n)=>globalThis.addEventListener(e,t,n),je=(e,t,n)=>globalThis.removeEventListener(e,t,n),Be=new Map;let He;async function Ve(e){if(De.documentElement){Be.clear();const t=De.body&&De.body.scrollHeight||De.documentElement.scrollHeight,n=De.body&&De.body.scrollWidth||De.documentElement.scrollWidth;if(t>globalThis.innerHeight||n>globalThis.innerWidth){const r=Math.max(t-1.5*globalThis.innerHeight,0),a=Math.max(n-1.5*globalThis.innerWidth,0);if(globalThis.scrollY{let n;const r=new Set,a=new qe((async t=>{if((t=t.filter((e=>e.type==Ue))).length){t.filter((e=>{if("src"==e.attributeName&&(e.target.setAttribute(Ne.LAZY_SRC_ATTRIBUTE_NAME,e.target.src),e.target.addEventListener("load",i)),"src"==e.attributeName||"srcset"==e.attributeName||e.target.tagName&&"SOURCE"==e.target.tagName.toUpperCase())return!e.target.classList||!e.target.classList.contains(Ne.SINGLE_FILE_UI_ELEMENT_CLASS)})).length&&(n=!0,await Je(a,e,c),r.size||await $e(a,e,c))}}));async function o(t){await Ye("idleTimeout",(async()=>{n?HeGe(e,t,n)),t.loadDeferredImagesMaxIdleTime,t.loadDeferredImagesNativeTimeout)}async function Je(e,t,n){await Ye("maxTimeout",(async()=>{await Qe("loadTimeout"),await Ge(e,t,n)}),10*t.loadDeferredImagesMaxIdleTime,t.loadDeferredImagesNativeTimeout)}async function Ge(e,t,n){await Qe("idleTimeout"),E(t),await Ye("endTimeout",(async()=>{await Qe("maxTimeout"),n()}),t.loadDeferredImagesMaxIdleTime/2,t.loadDeferredImagesNativeTimeout),e.disconnect()}async function Ye(e,t,n,r){if(Oe&&Oe.runtime&&Oe.runtime.sendMessage&&!r){if(!Be.get(e)||!Be.get(e).pending){const r={callback:t,pending:!0};Be.set(e,r);try{await Oe.runtime.sendMessage({method:"singlefile.lazyTimeout.setTimeout",type:e,delay:n})}catch(r){Ke(e,t,n)}r.pending=!1}}else Ke(e,t,n)}function Ke(e,t,n){const r=Be.get(e);r&&globalThis.clearTimeout(r),Be.set(e,t),globalThis.setTimeout(t,n)}async function Qe(e){if(Oe&&Oe.runtime&&Oe.runtime.sendMessage)try{await Oe.runtime.sendMessage({method:"singlefile.lazyTimeout.clearTimeout",type:e})}catch(t){Ze(e)}else Ze(e)}function Ze(e){const t=Be.get(e);Be.delete(e),t&&globalThis.clearTimeout(t)}Oe&&Oe.runtime&&Oe.runtime.onMessage&&Oe.runtime.onMessage.addListener&&Oe.runtime.onMessage.addListener((e=>{if("singlefile.lazyTimeout.onTimeout"==e.method){const t=Be.get(e.type);if(t){Be.delete(e.type);try{t.callback()}catch(t){Ze(e.type)}}}}));var Xe=Object.freeze({__proto__:null,process:Ve,resetZoomLevel:We});const et={ON_BEFORE_CAPTURE_EVENT_NAME:O,ON_AFTER_CAPTURE_EVENT_NAME:D,WIN_ID_ATTRIBUTE_NAME:J,preProcessDoc:ye,serialize:Re,postProcessDoc:Se,getShadowRoot:ve},tt="__frameTree__::",nt='iframe, frame, object[type="text/html"][data]',rt="*",at="singlefile.frameTree.initRequest",ot="singlefile.frameTree.ackInitRequest",it="singlefile.frameTree.cleanupRequest",st="singlefile.frameTree.initResponse",lt="*",ct=5e3,ut=".",ht=globalThis.window==globalThis.top,dt=globalThis.browser,pt=globalThis.top,mt=globalThis.MessageChannel,gt=globalThis.document,ft=globalThis.JSON;let bt,yt=globalThis.sessions;var wt,kt,vt;function xt(){return globalThis.crypto.getRandomValues(new Uint32Array(32)).join("")}async function At(e){const t=e.sessionId,n=globalThis._singleFile_waitForUserScript;delete globalThis._singleFile_cleaningUp,ht||(bt=globalThis.frameId=e.windowId),Tt(gt,e.options,bt,t),ht||(e.options.userScriptEnabled&&n&&await n(et.ON_BEFORE_CAPTURE_EVENT_NAME),_t({frames:[zt(gt,globalThis,bt,e.options,e.scrolling)],sessionId:t,requestedFrameId:gt.documentElement.dataset.requestedFrameId&&bt}),e.options.userScriptEnabled&&n&&await n(et.ON_AFTER_CAPTURE_EVENT_NAME),delete gt.documentElement.dataset.requestedFrameId)}function Et(e){if(!globalThis._singleFile_cleaningUp){globalThis._singleFile_cleaningUp=!0;const t=e.sessionId;It(Pt(gt),e.windowId,t)}}function St(e){e.frames.forEach((t=>Ct("responseTimeouts",e.sessionId,t.windowId)));const t=yt.get(e.sessionId);if(t){e.requestedFrameId&&(t.requestedFrameId=e.requestedFrameId),e.frames.forEach((e=>{let n=t.frames.find((t=>e.windowId==t.windowId));n||(n={windowId:e.windowId},t.frames.push(n)),n.processed||(n.content=e.content,n.baseURI=e.baseURI,n.title=e.title,n.url=e.url,n.canvases=e.canvases,n.fonts=e.fonts,n.stylesheets=e.stylesheets,n.images=e.images,n.posters=e.posters,n.videos=e.videos,n.usedFonts=e.usedFonts,n.shadowRoots=e.shadowRoots,n.processed=e.processed,n.scrollPosition=e.scrollPosition,n.scrolling=e.scrolling)}));t.frames.filter((e=>!e.processed)).length||(t.frames=t.frames.sort(((e,t)=>t.windowId.split(ut).length-e.windowId.split(ut).length)),t.resolve&&(t.requestedFrameId&&t.frames.forEach((e=>{e.windowId==t.requestedFrameId&&(e.requestedFrame=!0)})),t.resolve(t.frames)))}}function Tt(e,t,n,r){const a=Pt(e);!function(e,t,n,r,a){const o=[];let i;yt.get(a)?i=yt.get(a).requestTimeouts:(i={},yt.set(a,{requestTimeouts:i}));t.forEach(((e,t)=>{const n=r+ut+t;e.setAttribute(et.WIN_ID_ATTRIBUTE_NAME,n),o.push({windowId:n})})),_t({frames:o,sessionId:a,requestedFrameId:e.documentElement.dataset.requestedFrameId&&r}),t.forEach(((e,t)=>{const o=r+ut+t;try{Lt(e.contentWindow,{method:at,windowId:o,sessionId:a,options:n,scrolling:e.scrolling})}catch(e){}i[o]=globalThis.setTimeout((()=>_t({frames:[{windowId:o,processed:!0}],sessionId:a})),ct)})),delete e.documentElement.dataset.requestedFrameId}(e,a,t,n,r),a.length&&function(e,t,n,r,a){const o=[];t.forEach(((e,t)=>{const i=r+ut+t;let s;try{s=e.contentDocument}catch(e){}if(s)try{const t=e.contentWindow;t.stop(),Ct("requestTimeouts",a,i),Tt(s,n,i,a),o.push(zt(s,t,i,n,e.scrolling))}catch(e){o.push({windowId:i,processed:!0})}})),_t({frames:o,sessionId:a,requestedFrameId:e.documentElement.dataset.requestedFrameId&&r}),delete e.documentElement.dataset.requestedFrameId}(e,a,t,n,r)}function Ct(e,t,n){const r=yt.get(t);if(r&&r[e]){const t=r[e][n];t&&(globalThis.clearTimeout(t),delete r[e][n])}}function Rt(e,t){const n=yt.get(e);n&&n.responseTimeouts&&(n.responseTimeouts[t]=globalThis.setTimeout((()=>_t({frames:[{windowId:t,processed:!0}],sessionId:e})),1e4))}function It(e,t,n){e.forEach(((e,r)=>{const a=t+ut+r;e.removeAttribute(et.WIN_ID_ATTRIBUTE_NAME);try{Lt(e.contentWindow,{method:it,windowId:a,sessionId:n})}catch(e){}})),e.forEach(((e,r)=>{const a=t+ut+r;let o;try{o=e.contentDocument}catch(e){}if(o)try{It(Pt(o),a,n)}catch(e){}}))}function _t(e){e.method=st;try{pt.singlefile.processors.frameTree.initResponse(e)}catch(t){Lt(pt,e,!0)}}function Lt(e,t,n){if(e==pt&&dt&&dt.runtime&&dt.runtime.sendMessage)dt.runtime.sendMessage(t);else if(n){const n=new mt;e.postMessage(tt+ft.stringify({method:t.method,sessionId:t.sessionId}),lt,[n.port2]),n.port1.postMessage(t)}else e.postMessage(tt+ft.stringify(t),lt)}function zt(e,t,n,r,a){const o=et.preProcessDoc(e,t,r),i=et.serialize(e);et.postProcessDoc(e,o.markedElements,o.invalidElements);return{windowId:n,content:i,baseURI:e.baseURI.split("#")[0],url:e.location.href,title:e.title,canvases:o.canvases,fonts:o.fonts,stylesheets:o.stylesheets,images:o.images,posters:o.posters,videos:o.videos,usedFonts:o.usedFonts,shadowRoots:o.shadowRoots,scrollPosition:o.scrollPosition,scrolling:a,processed:!0}}function Pt(e){let t=Array.from(e.querySelectorAll(nt));return e.querySelectorAll(rt).forEach((e=>{const n=et.getShadowRoot(e);n&&(t=t.concat(...n.querySelectorAll(nt)))})),t}yt||(yt=globalThis.sessions=new Map),ht&&(bt="0",dt&&dt.runtime&&dt.runtime.onMessage&&dt.runtime.onMessage.addListener&&dt.runtime.onMessage.addListener((e=>e.method==st?(St(e),Promise.resolve({})):e.method==ot?(Ct("requestTimeouts",e.sessionId,e.windowId),Rt(e.sessionId,e.windowId),Promise.resolve({})):void 0))),wt="message",kt=async e=>{if("string"==typeof e.data&&e.data.startsWith(tt)){e.preventDefault(),e.stopPropagation();const t=ft.parse(e.data.substring(tt.length));t.method==at?(e.source&&Lt(e.source,{method:ot,windowId:t.windowId,sessionId:t.sessionId}),ht||(globalThis.stop(),t.options.loadDeferredImages&&Ve(t.options),await At(t))):t.method==ot?(Ct("requestTimeouts",t.sessionId,t.windowId),Rt(t.sessionId,t.windowId)):t.method==it?Et(t):t.method==st&&yt.get(t.sessionId)&&(e.ports[0].onmessage=e=>St(e.data))}},vt=!0,globalThis.addEventListener(wt,kt,vt);var Nt=Object.freeze({__proto__:null,getAsync:function(e){const t=xt();return e=ft.parse(ft.stringify(e)),new Promise((n=>{yt.set(t,{frames:[],requestTimeouts:{},responseTimeouts:{},resolve:e=>{e.sessionId=t,n(e)}}),At({windowId:bt,sessionId:t,options:e})}))},getSync:function(e){const t=xt();e=ft.parse(ft.stringify(e)),yt.set(t,{frames:[],requestTimeouts:{},responseTimeouts:{}}),function(e){const t=e.sessionId,n=globalThis._singleFile_waitForUserScript;delete globalThis._singleFile_cleaningUp,ht||(bt=globalThis.frameId=e.windowId);Tt(gt,e.options,bt,t),ht||(e.options.userScriptEnabled&&n&&n(et.ON_BEFORE_CAPTURE_EVENT_NAME),_t({frames:[zt(gt,globalThis,bt,e.options,e.scrolling)],sessionId:t,requestedFrameId:gt.documentElement.dataset.requestedFrameId&&bt}),e.options.userScriptEnabled&&n&&n(et.ON_AFTER_CAPTURE_EVENT_NAME),delete gt.documentElement.dataset.requestedFrameId)}({windowId:bt,sessionId:t,options:e});const n=yt.get(t).frames;return n.sessionId=t,n},cleanup:function(e){yt.delete(e),Et({windowId:bt,sessionId:e,options:{sessionId:e}})},initResponse:St,TIMEOUT_INIT_REQUEST_MESSAGE:ct}),Mt=Object.freeze({__proto__:null,frameTree:Nt,hooksFrames:T,lazy:Xe}),Ut=Object.create,Ot=Object.defineProperty,Dt=Object.getOwnPropertyDescriptor,qt=Object.getOwnPropertyNames,Ft=Object.getPrototypeOf,jt=Object.prototype.hasOwnProperty,Bt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ht=(e,t)=>{for(var n in t)Ot(e,n,{get:t[n],enumerable:!0})},Vt=Bt((e=>{var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");e.encode=function(e){if(0<=e&&e{var t=Vt();e.encode=function(e){var n,r,a="",o=(r=e)<0?1+(-r<<1):0+(r<<1);do{n=31&o,(o>>>=5)>0&&(n|=32),a+=t.encode(n)}while(o>0);return a},e.decode=function(e,n,r){var a,o,i=e.length,s=0,l=0;do{if(n>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(o=t.decode(e.charCodeAt(n++))))throw new Error("Invalid base64 digit: "+e.charAt(n-1));a=!!(32&o),s+=(o&=31)<>1;return 1==(1&e)?-t:t}(s),r.rest=n}})),$t=Bt((e=>{e.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,n=/^data:.+\,.+$/;function r(e){var n=e.match(t);return n?{scheme:n[1],auth:n[2],host:n[3],port:n[4],path:n[5]}:null}function a(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}e.urlParse=r,e.urlGenerate=a;var o,i,s=(o=function(t){var n=t,o=r(t);if(o){if(!o.path)return t;n=o.path}for(var i=e.isAbsolute(n),s=[],l=0,c=0;;){if(l=c,-1===(c=n.indexOf("/",l))){s.push(n.slice(l));break}for(s.push(n.slice(l,c));c=0;c--)"."===(u=s[c])?s.splice(c,1):".."===u?h++:h>0&&(""===u?(s.splice(c+1,h),h=0):(s.splice(c,2),h--));return""===(n=s.join("/"))&&(n=i?"/":"."),o?(o.path=n,a(o)):n},i=[],function(e){for(var t=0;t32&&i.pop(),r});function l(e,t){""===e&&(e="."),""===t&&(t=".");var o=r(t),i=r(e);if(i&&(e=i.path||"/"),o&&!o.scheme)return i&&(o.scheme=i.scheme),a(o);if(o||t.match(n))return t;if(i&&!i.host&&!i.path)return i.host=t,a(i);var l="/"===t.charAt(0)?t:s(e.replace(/\/+$/,"")+"/"+t);return i?(i.path=l,a(i)):l}e.normalize=s,e.join=l,e.isAbsolute=function(e){return"/"===e.charAt(0)||t.test(e)},e.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0||(e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var c=!("__proto__"in Object.create(null));function u(e){return e}function h(e){if(!e)return!1;var t=e.length;if(t<9||95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function d(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}e.toSetString=c?u:function(e){return h(e)?"$"+e:e},e.fromSetString=c?u:function(e){return h(e)?e.slice(1):e},e.compareByOriginalPositions=function(e,t,n){var r=d(e.source,t.source);return 0!==r||0!==(r=e.originalLine-t.originalLine)||(0!==(r=e.originalColumn-t.originalColumn)||n)||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:d(e.name,t.name)},e.compareByOriginalPositionsNoSource=function(e,t,n){var r;return 0!==(r=e.originalLine-t.originalLine)||(0!==(r=e.originalColumn-t.originalColumn)||n)||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:d(e.name,t.name)},e.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r||(0!==(r=e.generatedColumn-t.generatedColumn)||n)||0!==(r=d(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:d(e.name,t.name)},e.compareByGeneratedPositionsDeflatedNoLine=function(e,t,n){var r=e.generatedColumn-t.generatedColumn;return 0!==r||n||0!==(r=d(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:d(e.name,t.name)},e.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!==(n=e.generatedColumn-t.generatedColumn)||0!==(n=d(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:d(e.name,t.name)},e.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},e.computeSourceURL=function(e,t,n){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),n){var o=r(n);if(!o)throw new Error("sourceMapURL could not be parsed");if(o.path){var i=o.path.lastIndexOf("/");i>=0&&(o.path=o.path.substring(0,i+1))}t=l(a(o),t)}return s(t)}})),Jt=Bt((e=>{var t=$t(),n=Object.prototype.hasOwnProperty,r=typeof Map<"u";function a(){this._array=[],this._set=r?new Map:Object.create(null)}a.fromArray=function(e,t){for(var n=new a,r=0,o=e.length;r=0)return a}else{var o=t.toSetString(e);if(n.call(this._set,o))return this._set[o]}throw new Error('"'+e+'" is not in the set.')},a.prototype.at=function(e){if(e>=0&&e{var t=$t();function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}n.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},n.prototype.add=function(e){!function(e,n){var r=e.generatedLine,a=n.generatedLine,o=e.generatedColumn,i=n.generatedColumn;return a>r||a==r&&i>=o||t.compareByGeneratedPositionsInflated(e,n)<=0}(this._last,e)?(this._sorted=!1,this._array.push(e)):(this._last=e,this._array.push(e))},n.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},e.MappingList=n})),Yt=Bt((e=>{var t=Wt(),n=$t(),r=Jt().ArraySet,a=Gt().MappingList;function o(e){e||(e={}),this._file=n.getArg(e,"file",null),this._sourceRoot=n.getArg(e,"sourceRoot",null),this._skipValidation=n.getArg(e,"skipValidation",!1),this._sources=new r,this._names=new r,this._mappings=new a,this._sourcesContents=null}o.prototype._version=3,o.fromSourceMap=function(e){var t=e.sourceRoot,r=new o({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var a={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(a.source=e.source,null!=t&&(a.source=n.relative(t,a.source)),a.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(a.name=e.name)),r.addMapping(a)})),e.sources.forEach((function(a){var o=a;null!==t&&(o=n.relative(t,a)),r._sources.has(o)||r._sources.add(o);var i=e.sourceContentFor(a);null!=i&&r.setSourceContent(a,i)})),r},o.prototype.addMapping=function(e){var t=n.getArg(e,"generated"),r=n.getArg(e,"original",null),a=n.getArg(e,"source",null),o=n.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,r,a,o),null!=a&&(a=String(a),this._sources.has(a)||this._sources.add(a)),null!=o&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:a,name:o})},o.prototype.setSourceContent=function(e,t){var r=e;null!=this._sourceRoot&&(r=n.relative(this._sourceRoot,r)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[n.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[n.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(e,t,a){var o=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');o=e.file}var i=this._sourceRoot;null!=i&&(o=n.relative(i,o));var s=new r,l=new r;this._mappings.unsortedForEach((function(t){if(t.source===o&&null!=t.originalLine){var r=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=r.source&&(t.source=r.source,null!=a&&(t.source=n.join(a,t.source)),null!=i&&(t.source=n.relative(i,t.source)),t.originalLine=r.line,t.originalColumn=r.column,null!=r.name&&(t.name=r.name))}var c=t.source;null!=c&&!s.has(c)&&s.add(c);var u=t.name;null!=u&&!l.has(u)&&l.add(u)}),this),this._sources=s,this._names=l,e.sources.forEach((function(t){var r=e.sourceContentFor(t);null!=r&&(null!=a&&(t=n.join(a,t)),null!=i&&(t=n.relative(i,t)),this.setSourceContent(t,r))}),this)},o.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)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||n||r){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&&n)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))}},o.prototype._serializeMappings=function(){for(var e,r,a,o,i=0,s=1,l=0,c=0,u=0,h=0,d="",p=this._mappings.toArray(),m=0,g=p.length;m0){if(!n.compareByGeneratedPositionsInflated(r,p[m-1]))continue;e+=","}e+=t.encode(r.generatedColumn-i),i=r.generatedColumn,null!=r.source&&(o=this._sources.indexOf(r.source),e+=t.encode(o-h),h=o,e+=t.encode(r.originalLine-1-c),c=r.originalLine-1,e+=t.encode(r.originalColumn-l),l=r.originalColumn,null!=r.name&&(a=this._names.indexOf(r.name),e+=t.encode(a-u),u=a)),d+=e}return d},o.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=n.relative(t,e));var r=n.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null}),this)},o.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=o})),Kt={};Ht(Kt,{AtKeyword:()=>en,BadString:()=>rn,BadUrl:()=>on,CDC:()=>pn,CDO:()=>dn,Colon:()=>mn,Comma:()=>fn,Comment:()=>An,Delim:()=>sn,Dimension:()=>un,EOF:()=>Qt,Function:()=>Xt,Hash:()=>tn,Ident:()=>Zt,LeftCurlyBracket:()=>vn,LeftParenthesis:()=>wn,LeftSquareBracket:()=>bn,Number:()=>ln,Percentage:()=>cn,RightCurlyBracket:()=>xn,RightParenthesis:()=>kn,RightSquareBracket:()=>yn,Semicolon:()=>gn,String:()=>nn,Url:()=>an,WhiteSpace:()=>hn});var Qt=0,Zt=1,Xt=2,en=3,tn=4,nn=5,rn=6,an=7,on=8,sn=9,ln=10,cn=11,un=12,hn=13,dn=14,pn=15,mn=16,gn=17,fn=18,bn=19,yn=20,wn=21,kn=22,vn=23,xn=24,An=25;function En(e){return e>=48&&e<=57}function Sn(e){return En(e)||e>=65&&e<=70||e>=97&&e<=102}function Tn(e){return e>=65&&e<=90}function Cn(e){return function(e){return Tn(e)||function(e){return e>=97&&e<=122}(e)}(e)||function(e){return e>=128}(e)||95===e}function Rn(e){return Cn(e)||En(e)||45===e}function In(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e}function _n(e){return 10===e||13===e||12===e}function Ln(e){return _n(e)||32===e||9===e}function zn(e,t){return!(92!==e||_n(t)||0===t)}function Pn(e,t,n){return 45===e?Cn(t)||45===t||zn(t,n):!!Cn(e)||92===e&&zn(e,t)}function Nn(e,t,n){return 43===e||45===e?En(t)?2:46===t&&En(n)?3:0:46===e?En(t)?2:0:En(e)?1:0}function Mn(e){return 65279===e||65534===e?1:0}var Un=new Array(128),On=130,Dn=131,qn=132,Fn=133;for(let e=0;ee.length)return!1;for(let a=t;a=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}var Xn=["EOF-token","ident-token","function-token","at-keyword-token","hash-token","string-token","bad-string-token","url-token","bad-url-token","delim-token","number-token","percentage-token","dimension-token","whitespace-token","CDO-token","CDC-token","colon-token","semicolon-token","comma-token","[-token","]-token","(-token",")-token","{-token","}-token","comment-token"];function er(e=null,t){return null===e||e.length0?Mn(t.charCodeAt(0)):0,a=er(e.lines,n),o=er(e.columns,n),i=e.startLine,s=e.startColumn;for(let e=r;e{})){let n=(e=String(e||"")).length,r=er(this.offsetAndType,e.length+1),a=er(this.balance,e.length+1),o=0,i=0,s=0,l=-1;for(this.offsetAndType=null,this.balance=null,t(e,((e,t,c)=>{switch(e){default:a[o]=n;break;case i:{let e=s&rr;for(s=a[e],i=s>>ar,a[o]=e,a[e++]=o;e>ar:0}lookupOffset(e){return(e+=this.tokenIndex)0?e>ar,this.tokenEnd=t&rr):(this.tokenIndex=this.tokenCount,this.next())}next(){let e=this.tokenIndex+1;e>ar,this.tokenEnd=e&rr):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;13===this.tokenType||25===this.tokenType;)this.next()}skipUntilBalanced(e,t){let n,r,a=e;e:for(;a0?this.offsetAndType[a-1]&rr:this.firstCharOffset,t(this.source.charCodeAt(r))){case 1:break e;case 2:a++;break e;default:this.balance[n]===a&&(a=n)}this.skip(a-this.tokenIndex)}forEachToken(e){for(let t=0,n=this.firstCharOffset;t>ar,r,o,t)}}dump(){let e=new Array(this.tokenCount);return this.forEachToken(((t,n,r,a)=>{e[a]={idx:a,type:Xn[t],chunk:this.source.substring(n,r),balance:this.balance[a]}})),e}};function sr(e,t){function n(t){return t=e.length?void(cString(e+n+1).padStart(l)+" |"+t)).join("\n")}let o=e.split(/\r\n?|\n|\f/),i=Math.max(1,t-r)-1,s=Math.min(t+r,o.length+1),l=Math.max(4,String(s).length)+1,c=0;(n+=(pr.length-1)*(o[t-1].substr(0,n-1).match(/\t/g)||[]).length)>hr&&(c=n-dr+3,n=dr-2);for(let e=i;e<=s;e++)e>=0&&e0&&o[e].length>c?"…":"")+o[e].substr(c,hr-2)+(o[e].length>c+hr-1?"…":""));return[a(i,t),new Array(n+l+2).join("-")+"^",a(t,s)].filter(Boolean).join("\n")}function gr(e,t,n,r,a){return Object.assign(ur("SyntaxError",e),{source:t,offset:n,line:r,column:a,sourceFragment:e=>mr({source:t,line:r,column:a},isNaN(e)?0:e),get formattedMessage(){return`Parse error: ${e}\n`+mr({source:t,line:r,column:a},2)}})}function fr(e){let t=this.createList(),n=!1,r={recognizer:e};for(;!this.eof;){switch(this.tokenType){case 25:this.next();continue;case 13:n=!0,this.next();continue}let a=e.getNode.call(this,r);if(void 0===a)break;n&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,a,t,r),n=!1),t.push(a)}return n&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,r),t}var br=()=>{},yr=33,wr=35,kr=59,vr=123,xr=0;function Ar(e){return function(){return this[e]()}}function Er(e){let t=Object.create(null);for(let n in e){let r=e[n],a=r.parse||r;a&&(t[n]=a)}return t}function Sr(e){let t="",n="",r=!1,a=br,o=!1,i=new nr,s=Object.assign(new ir,function(e){let t={context:Object.create(null),scope:Object.assign(Object.create(null),e.scope),atrule:Er(e.atrule),pseudo:Er(e.pseudo),node:Er(e.node)};for(let n in e.parseContext)switch(typeof e.parseContext[n]){case"function":t.context[n]=e.parseContext[n];break;case"string":t.context[n]=Ar(e.parseContext[n])}return{config:t,...t,...t.node}}(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:fr,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket:e=>e===vr?1:0,consumeUntilLeftCurlyBracketOrSemicolon:e=>e===vr||e===kr?1:0,consumeUntilExclamationMarkOrSemicolon:e=>e===yr||e===kr?1:0,consumeUntilSemicolonIncluded:e=>e===kr?2:0,createList:()=>new cr,createSingleNodeList:e=>(new cr).appendData(e),getFirstListNode:e=>e&&e.first,getLastListNode:e=>e&&e.last,parseWithFallback(e,t){let n=this.tokenIndex;try{return e.call(this)}catch(e){if(o)throw e;let r=t.call(this,n);return o=!0,a(e,r),o=!1,r}},lookupNonWSType(e){let t;do{if(t=this.lookupType(e++),13!==t)return t}while(t!==xr);return xr},charCodeAt:e=>e>=0&&et.substring(e,n),substrToCursor(e){return this.source.substring(e,this.tokenStart)},cmpChar:(e,n)=>Vn(t,e,n),cmpStr:(e,n,r)=>Wn(t,e,n,r),consume(e){let t=this.tokenStart;return this.eat(e),this.substrToCursor(t)},consumeFunctionName(){let e=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(2),e},consumeNumber(e){let n=t.substring(this.tokenStart,Kn(t,this.tokenStart));return this.eat(e),n},eat(e){if(this.tokenType!==e){let t=Xn[e].slice(0,-6).replace(/-/g," ").replace(/^./,(e=>e.toUpperCase())),n=`${/[[\](){}]/.test(t)?`"${t}"`:t} is expected`,r=this.tokenStart;switch(e){case 1:2===this.tokenType||7===this.tokenType?(r=this.tokenEnd-1,n="Identifier is expected but function found"):n="Identifier is expected";break;case 4:this.isDelim(wr)&&(this.next(),r++,n="Name is expected");break;case 11:10===this.tokenType&&(r=this.tokenEnd,n="Percent sign is expected")}this.error(n,r)}this.next()},eatIdent(e){(1!==this.tokenType||!1===this.lookupValue(0,e))&&this.error(`Identifier "${e}" is expected`),this.next()},eatDelim(e){this.isDelim(e)||this.error(`Delim "${String.fromCharCode(e)}" is expected`),this.next()},getLocation:(e,t)=>r?i.getLocationRange(e,t,n):null,getLocationFromList(e){if(r){let t=this.getFirstListNode(e),r=this.getLastListNode(e);return i.getLocationRange(null!==t?t.loc.start.offset-i.startOffset:this.tokenStart,null!==r?r.loc.end.offset-i.startOffset:this.tokenStart,n)}return null},error(e,n){let r=typeof n<"u"&&n=0&&Ln(e.charCodeAt(t));t--);return t+1}(t,t.length-1)):i.getLocation(this.tokenStart);throw new gr(e||"Unexpected input",t,r.offset,r.line,r.column)}});return Object.assign((function(e,l){t=e,l=l||{},s.setSource(t,sr),i.setSource(t,l.offset,l.line,l.column),n=l.filename||"",r=Boolean(l.positions),a="function"==typeof l.onParseError?l.onParseError:br,o=!1,s.parseAtrulePrelude=!("parseAtrulePrelude"in l)||Boolean(l.parseAtrulePrelude),s.parseRulePrelude=!("parseRulePrelude"in l)||Boolean(l.parseRulePrelude),s.parseValue=!("parseValue"in l)||Boolean(l.parseValue),s.parseCustomProperty="parseCustomProperty"in l&&Boolean(l.parseCustomProperty);let{context:c="default",onComment:u}=l;if(!(c in s.context))throw new Error("Unknown context `"+c+"`");"function"==typeof u&&s.forEachToken(((e,n,r)=>{if(25===e){let e=s.getLocation(n,r),a=Wn(t,r-2,r,"*/")?t.slice(n+2,r-2):t.slice(n+2,r);u(a,e)}}));let h=s.context[c].call(s,l);return s.eof||s.error(),h}),{SyntaxError:gr,config:s.config})}var Tr,Cr,Rr,Ir=(Tr=Yt(),Cr=1,Rr=null!=Tr?Ut(Ft(Tr)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of qt(t))!jt.call(e,a)&&a!==n&&Ot(e,a,{get:()=>t[a],enumerable:!(r=Dt(t,a))||r.enumerable});return e})(!Cr&&Tr&&Tr.__esModule?Rr:Ot(Rr,"default",{value:Tr,enumerable:!0}),Tr)),_r=new Set(["Atrule","Selector","Declaration"]);var Lr={};Ht(Lr,{safe:()=>Or,spec:()=>Ur});var zr=(e,t)=>{if(9===e&&(e=t),"string"==typeof e){let t=e.charCodeAt(0);return t>127?32768:t<<8}return e},Pr=[[1,1],[1,2],[1,7],[1,8],[1,"-"],[1,10],[1,11],[1,12],[1,15],[1,21],[3,1],[3,2],[3,7],[3,8],[3,"-"],[3,10],[3,11],[3,12],[3,15],[4,1],[4,2],[4,7],[4,8],[4,"-"],[4,10],[4,11],[4,12],[4,15],[12,1],[12,2],[12,7],[12,8],[12,"-"],[12,10],[12,11],[12,12],[12,15],["#",1],["#",2],["#",7],["#",8],["#","-"],["#",10],["#",11],["#",12],["#",15],["-",1],["-",2],["-",7],["-",8],["-","-"],["-",10],["-",11],["-",12],["-",15],[10,1],[10,2],[10,7],[10,8],[10,10],[10,11],[10,12],[10,"%"],[10,15],["@",1],["@",2],["@",7],["@",8],["@","-"],["@",15],[".",10],[".",11],[".",12],["+",10],["+",11],["+",12],["/","*"]],Nr=Pr.concat([[1,4],[12,4],[4,4],[3,21],[3,5],[3,16],[11,11],[11,12],[11,2],[11,"-"],[22,1],[22,2],[22,11],[22,12],[22,4],[22,"-"]]);function Mr(e){let t=new Set(e.map((([e,t])=>zr(e)<<16|zr(t))));return function(e,n,r){let a=zr(n,r),o=r.charCodeAt(0);return(45===o&&1!==n&&2!==n&&15!==n||43===o?t.has(e<<16|o<<8):t.has(e<<16|a))&&this.emit(" ",13,!0),a}}var Ur=Mr(Pr),Or=Mr(Nr),Dr=92;function qr(e,t){if("function"!=typeof t)e.children.forEach(this.node,this);else{let n=null;e.children.forEach((e=>{null!==n&&t.call(this,n),this.node(e),n=e}))}}function Fr(e){sr(e,((t,n,r)=>{this.token(t,e.slice(n,r))}))}function jr(e){let t=new Map;for(let n in e.node){let r=e.node[n];"function"==typeof(r.generate||r)&&t.set(n,r.generate||r)}return function(e,n){let r="",a=0,o={node(e){if(!t.has(e.type))throw new Error("Unknown node type: "+e.type);t.get(e.type).call(i,e)},tokenBefore:Or,token(e,t){a=this.tokenBefore(a,e,t),this.emit(t,e,!1),9===e&&t.charCodeAt(0)===Dr&&this.emit("\n",13,!0)},emit(e){r+=e},result:()=>r};n&&("function"==typeof n.decorator&&(o=n.decorator(o)),n.sourceMap&&(o=function(e){let t=new Ir.SourceMapGenerator,n={line:1,column:0},r={line:0,column:0},a={line:1,column:0},o={generated:a},i=1,s=0,l=!1,c=e.node;e.node=function(e){if(e.loc&&e.loc.start&&_r.has(e.type)){let c=e.loc.start.line,u=e.loc.start.column-1;(r.line!==c||r.column!==u)&&(r.line=c,r.column=u,n.line=i,n.column=s,l&&(l=!1,(n.line!==a.line||n.column!==a.column)&&t.addMapping(o)),l=!0,t.addMapping({source:e.loc.source,original:r,generated:n}))}c.call(this,e),l&&_r.has(e.type)&&(a.line=i,a.column=s)};let u=e.emit;e.emit=function(e,t,n){for(let t=0;to.node(e),children:qr,token:(e,t)=>o.token(e,t),tokenize:Fr};return o.node(e),o.result()}}var{hasOwnProperty:Br}=Object.prototype,Hr=function(){};function Vr(e){return"function"==typeof e?e:Hr}function Wr(e,t){return function(n,r,a){n.type===t&&e.call(this,n,r,a)}}function $r(e,t){let n=t.structure,r=[];for(let e in n){if(!1===Br.call(n,e))continue;let t=n[e],a={name:e,type:!1,nullable:!1};Array.isArray(t)||(t=[t]);for(let e of t)null===e?a.nullable=!0:"string"==typeof e?a.type="node":Array.isArray(e)&&(a.type="list");a.type&&r.push(a)}return r.length?{context:t.walkContext,fields:r}:null}function Jr(e,t){let n=e.fields.slice(),r=e.context,a="string"==typeof r;return t&&n.reverse(),function(e,o,i,s){let l;a&&(l=o[r],o[r]=e);for(let r of n){let n=e[r.name];if(!r.nullable||n)if("list"===r.type){if(t?n.reduceRight(s,!1):n.reduce(s,!1))return!0}else if(i(n))return!0}a&&(o[r]=l)}}function Gr({StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:a}){return{Atrule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Rule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Declaration:{StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:a}}}function Yr(e){let t=function(e){let t={};for(let n in e.node)if(Br.call(e.node,n)){let r=e.node[n];if(!r.structure)throw new Error("Missed `structure` field in `"+n+"` node type definition");t[n]=$r(0,r)}return t}(e),n={},r={},a=Symbol("break-walk"),o=Symbol("skip-node");for(let e in t)Br.call(t,e)&&null!==t[e]&&(n[e]=Jr(t[e],!1),r[e]=Jr(t[e],!0));let i=Gr(n),s=Gr(r),l=function(e,l){function c(e,t,n){let r=u.call(m,e,t,n);return r===a||r!==o&&!!(d.hasOwnProperty(e.type)&&d[e.type](e,m,c,p)||h.call(m,e,t,n)===a)}let u=Hr,h=Hr,d=n,p=(e,t,n,r)=>e||c(t,n,r),m={break:a,skip:o,root:e,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if("function"==typeof l)u=l;else if(l&&(u=Vr(l.enter),h=Vr(l.leave),l.reverse&&(d=r),l.visit)){if(i.hasOwnProperty(l.visit))d=l.reverse?s[l.visit]:i[l.visit];else if(!t.hasOwnProperty(l.visit))throw new Error("Bad value `"+l.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");u=Wr(u,l.visit),h=Wr(h,l.visit)}if(u===Hr&&h===Hr)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");c(e)};return l.break=a,l.skip=o,l.find=function(e,t){let n=null;return l(e,(function(e,r,o){if(t.call(this,e,r,o))return n=e,a})),n},l.findLast=function(e,t){let n=null;return l(e,{reverse:!0,enter(e,r,o){if(t.call(this,e,r,o))return n=e,a}}),n},l.findAll=function(e,t){let n=[];return l(e,(function(e,r,a){t.call(this,e,r,a)&&n.push(e)})),n},l}function Kr(e){return e}function Qr(e,t,n,r){let a;switch(e.type){case"Group":a=function(e,t,n,r){let a=" "===e.combinator||r?e.combinator:" "+e.combinator+" ",o=e.terms.map((e=>Qr(e,t,n,r))).join(a);return e.explicit||n?(r||","===o[0]?"[":"[ ")+o+(r?"]":" ]"):o}(e,t,n,r)+(e.disallowEmpty?"!":"");break;case"Multiplier":return Qr(e.term,t,n,r)+t(function(e){let{min:t,max:n,comma:r}=e;return 0===t&&0===n?r?"#?":"*":0===t&&1===n?"?":1===t&&0===n?r?"#":"+":1===t&&1===n?"":(r?"#":"")+(t===n?"{"+t+"}":"{"+t+","+(0!==n?n:"")+"}")}(e),e);case"Type":a="<"+e.name+(e.opts?t(function(e){if("Range"===e.type)return" ["+(null===e.min?"-∞":e.min)+","+(null===e.max?"∞":e.max)+"]";throw new Error("Unknown node type `"+e.type+"`")}(e.opts),e.opts):"")+">";break;case"Property":a="<'"+e.name+"'>";break;case"Keyword":a=e.name;break;case"AtKeyword":a="@"+e.name;break;case"Function":a=e.name+"(";break;case"String":case"Token":a=e.value;break;case"Comma":a=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(a,e)}function Zr(e,t){let n=Kr,r=!1,a=!1;return"function"==typeof t?n=t:t&&(r=Boolean(t.forceBraces),a=Boolean(t.compact),"function"==typeof t.decorate&&(n=t.decorate)),Qr(e,n,r,a)}var Xr={offset:0,line:1,column:1};function ea(e,t){let n=e&&e.loc&&e.loc[t];return n?"line"in n?ta(n):n:null}function ta({offset:e,line:t,column:n},r){let a={offset:e,line:t,column:n};if(r){let e=r.split(/\n|\r\n?|\f/);a.offset+=r.length,a.line+=e.length-1,a.column=1===e.length?a.column+r.length:e.pop().length+1}return a}var na=function(e,t){let n=ur("SyntaxReferenceError",e+(t?" `"+t+"`":""));return n.reference=t,n},ra=function(e,t,n,r){let a=ur("SyntaxMatchError",e),{css:o,mismatchOffset:i,mismatchLength:s,start:l,end:c}=function(e,t){let n,r,a=e.tokens,o=e.longestMatch,i=o1?(n=ea(s||t,"end")||ta(Xr,h),r=ta(n)):(n=ea(s,"start")||ta(ea(t,"start")||Xr,h.slice(0,l)),r=ea(s,"end")||ta(n,h.substr(l,c))),{css:h,mismatchOffset:l,mismatchLength:c,start:n,end:r}}(r,n);return a.rawMessage=e,a.syntax=t?Zr(t):"",a.css=o,a.mismatchOffset=i,a.mismatchLength=s,a.message=e+"\n syntax: "+a.syntax+"\n value: "+(o||"")+"\n --------"+new Array(a.mismatchOffset+1).join("-")+"^",Object.assign(a,l),a.loc={source:n&&n.loc&&n.loc.source||"",start:l,end:c},a},aa=new Map,oa=new Map,ia=45,sa=function(e){if(aa.has(e))return aa.get(e);let t=e.toLowerCase(),n=aa.get(t);if(void 0===n){let e=ua(t,0),r=e?"":ha(t,0);n=Object.freeze({basename:t.substr(r.length),name:t,prefix:r,vendor:r,custom:e})}return aa.set(e,n),n},la=function(e){if(oa.has(e))return oa.get(e);let t=e,n=e[0];"/"===n?n="/"===e[1]?"//":"/":"_"!==n&&"*"!==n&&"$"!==n&&"#"!==n&&"+"!==n&&"&"!==n&&(n="");let r=ua(t,n.length);if(!r&&(t=t.toLowerCase(),oa.has(t))){let n=oa.get(t);return oa.set(e,n),n}let a=r?"":ha(t,n.length),o=t.substr(0,n.length+a.length),i=Object.freeze({basename:t.substr(o.length),name:t.substr(n.length),hack:n,vendor:a,prefix:o,custom:r});return oa.set(e,i),i},ca=ha;function ua(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===ia&&e.charCodeAt(t+1)===ia}function ha(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===ia&&e.charCodeAt(t+1)!==ia){let n=e.indexOf("-",t+2);if(-1!==n)return e.substring(t,n+1)}return""}var da=["initial","inherit","unset","revert","revert-layer"],pa=43,ma=45,ga=!0;function fa(e,t){return null!==e&&9===e.type&&e.value.charCodeAt(0)===t}function ba(e,t,n){for(;null!==e&&(13===e.type||25===e.type);)e=n(++t);return t}function ya(e,t,n,r){if(!e)return 0;let a=e.value.charCodeAt(t);if(a===pa||a===ma){if(n)return 0;t++}for(;t6)return 0}return r}function Ea(e,t,n){if(!e)return 0;for(;xa(n(t),va);){if(++e>6)return 0;t++}return t}var Sa=["calc(","-moz-calc(","-webkit-calc("],Ta=new Map([[2,22],[21,22],[19,20],[23,24]]);function Ca(e,t){return te.max&&"string"!=typeof e.max)return!0}return!1}function za(e){return function(t,n,r){return null===t?0:2===t.type&&Ia(t.value,Sa)?function(e,t){let n=0,r=[],a=0;e:do{switch(e.type){case 24:case 22:case 20:if(e.type!==n)break e;if(n=r.pop(),0===r.length){a++;break e}break;case 2:case 21:case 19:case 23:r.push(n),n=Ta.get(e.type)}a++}while(e=t(a));return a}(t,n):e(t,n,r)}}function Pa(e){return function(t){return null===t||t.type!==e?0:1}}function Na(e){return e&&(e=new Set(e)),function(t,n,r){if(null===t||12!==t.type)return 0;let a=Kn(t.value,0);if(null!==e){let n=t.value.indexOf("\\",a),r=-1!==n&&_a(t.value,n)?t.value.substring(a,n):t.value.substr(a);if(!1===e.has(r.toLowerCase()))return 0}return La(r,t.value,a)?0:1}}function Ma(e){return"function"!=typeof e&&(e=function(){return 0}),function(t,n,r){return null!==t&&10===t.type&&0===Number(t.value)?1:e(t,n,r)}}var Ua={"ident-token":Pa(1),"function-token":Pa(2),"at-keyword-token":Pa(3),"hash-token":Pa(4),"string-token":Pa(5),"bad-string-token":Pa(6),"url-token":Pa(7),"bad-url-token":Pa(8),"delim-token":Pa(9),"number-token":Pa(10),"percentage-token":Pa(11),"dimension-token":Pa(12),"whitespace-token":Pa(13),"CDO-token":Pa(14),"CDC-token":Pa(15),"colon-token":Pa(16),"semicolon-token":Pa(17),"comma-token":Pa(18),"[-token":Pa(19),"]-token":Pa(20),"(-token":Pa(21),")-token":Pa(22),"{-token":Pa(23),"}-token":Pa(24)},Oa={string:Pa(5),ident:Pa(1),percentage:za((function(e,t,n){return null===e||11!==e.type||La(n,e.value,e.value.length-1)?0:1})),zero:Ma(),number:za((function(e,t,n){if(null===e)return 0;let r=Kn(e.value,0);return r!==e.value.length&&!_a(e.value,r)||La(n,e.value,r)?0:1})),integer:za((function(e,t,n){if(null===e||10!==e.type)return 0;let r=43===Ca(e.value,0)||45===Ca(e.value,0)?1:0;for(;rja,decibel:()=>$a,flex:()=>Wa,frequency:()=>Ha,length:()=>Fa,resolution:()=>Va,semitones:()=>Ja,time:()=>Ba});var Fa=["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],ja=["deg","grad","rad","turn"],Ba=["s","ms"],Ha=["hz","khz"],Va=["dpi","dpcm","dppx","x"],Wa=["fr"],$a=["db"],Ja=["st"],Ga={};function Ya(e,t,n){return Object.assign(ur("SyntaxError",e),{input:t,offset:n,rawMessage:e,message:e+"\n "+t+"\n--"+new Array((n||t.length)+1).join("-")+"^"})}Ht(Ga,{SyntaxError:()=>Ya,generate:()=>Zr,parse:()=>Uo,walk:()=>qo});var Ka=class{constructor(e){this.str=e,this.pos=0}charCodeAt(e){return e/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0)),Eo={" ":1,"&&":2,"||":3,"|":4};function So(e){return e.substringToPos(e.findWsEnd(e.pos))}function To(e){let t=e.pos;for(;t=128||0===Ao[n])break}return e.pos===t&&e.error("Expect a keyword"),e.substringToPos(t)}function Co(e){let t=e.pos;for(;t57)break}return e.pos===t&&e.error("Expect a number"),e.substringToPos(t)}function Ro(e){let t=e.str.indexOf("'",e.pos+1);return-1===t&&(e.pos=e.str.length,e.error("Expect an apostrophe")),e.substringToPos(t+1)}function Io(e){let t=null,n=null;return e.eat(wo),t=Co(e),e.charCode()===uo?(e.pos++,e.charCode()!==vo&&(n=Co(e))):n=t,e.eat(vo),{min:Number(t),max:n?Number(n):0}}function _o(e,t){let n=function(e){let t=null,n=!1;switch(e.charCode()){case lo:e.pos++,t={min:0,max:0};break;case co:e.pos++,t={min:1,max:0};break;case go:e.pos++,t={min:0,max:1};break;case ro:e.pos++,n=!0,e.charCode()===wo?t=Io(e):e.charCode()===go?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case wo:t=Io(e);break;default:return null}return{type:"Multiplier",comma:n,min:t.min,max:t.max,term:null}}(e);return null!==n?(n.term=t,e.charCode()===ro&&e.charCodeAt(e.pos-1)===co?_o(e,n):n):t}function Lo(e){let t=e.peek();return""===t?null:{type:"Token",value:t}}function zo(e){let t,n=null;return e.eat(po),t=To(e),e.charCode()===io&&e.nextCharCode()===so&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===bo&&(So(e),n=function(e){let t=null,n=null,r=1;return e.eat(bo),e.charCode()===ho&&(e.peek(),r=-1),-1==r&&e.charCode()===xo?e.peek():(t=r*Number(Co(e)),0!==Ao[e.charCode()]&&(t+=To(e))),So(e),e.eat(uo),So(e),e.charCode()===xo?e.peek():(r=1,e.charCode()===ho&&(e.peek(),r=-1),n=r*Number(Co(e)),0!==Ao[e.charCode()]&&(n+=To(e))),e.eat(yo),{type:"Range",min:t,max:n}}(e)),e.eat(mo),_o(e,{type:"Type",name:t,opts:n})}function Po(e,t){function n(e,t){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:!1}}let r;for(t=Object.keys(t).sort(((e,t)=>Eo[e]-Eo[t]));t.length>0;){r=t.shift();let a=0,o=0;for(;a1&&(e.splice(o,a-o,n(e.slice(o,a),r)),a=o+1),o=-1))}-1!==o&&t.length&&e.splice(o,a-o,n(e.slice(o,a),r))}return r}function No(e){let t,n=[],r={},a=null,o=e.pos;for(;t=Mo(e);)"Spaces"!==t.type&&("Combinator"===t.type?((null===a||"Combinator"===a.type)&&(e.pos=o,e.error("Unexpected combinator")),r[t.value]=!0):null!==a&&"Combinator"!==a.type&&(r[" "]=!0,n.push({type:"Combinator",value:" "})),n.push(t),a=t,o=e.pos);return null!==a&&"Combinator"===a.type&&(e.pos-=o,e.error("Unexpected combinator")),{type:"Group",terms:n,combinator:Po(n,r)||" ",disallowEmpty:!1,explicit:!1}}function Mo(e){let t=e.charCode();if(t<128&&1===Ao[t])return function(e){let t=To(e);return e.charCode()===io?(e.pos++,{type:"Function",name:t}):_o(e,{type:"Keyword",name:t})}(e);switch(t){case yo:break;case bo:return _o(e,function(e){let t;return e.eat(bo),t=No(e),e.eat(yo),t.explicit=!0,e.charCode()===no&&(e.pos++,t.disallowEmpty=!0),t}(e));case po:return e.nextCharCode()===oo?function(e){let t;return e.eat(po),e.eat(oo),t=To(e),e.eat(oo),e.eat(mo),_o(e,{type:"Property",name:t})}(e):zo(e);case ko:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===ko?2:1))};case ao:return e.pos++,e.eat(ao),{type:"Combinator",value:"&&"};case uo:return e.pos++,{type:"Comma"};case oo:return _o(e,{type:"String",value:Ro(e)});case to:case Qa:case Za:case eo:case Xa:return{type:"Spaces",value:So(e)};case fo:return t=e.nextCharCode(),t<128&&1===Ao[t]?(e.pos++,{type:"AtKeyword",name:To(e)}):Lo(e);case lo:case co:case go:case ro:case no:break;case wo:if(t=e.nextCharCode(),t<48||t>57)return Lo(e);break;default:return Lo(e)}}function Uo(e){let t=new Ka(e),n=No(t);return t.pos!==e.length&&t.error("Unexpected input"),1===n.terms.length&&"Group"===n.terms[0].type?n.terms[0]:n}var Oo=function(){};function Do(e){return"function"==typeof e?e:Oo}function qo(e,t,n){let r=Oo,a=Oo;if("function"==typeof t?r=t:t&&(r=Do(t.enter),a=Do(t.leave)),r===Oo&&a===Oo)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");!function e(t){switch(r.call(n,t),t.type){case"Group":t.terms.forEach(e);break;case"Multiplier":e(t.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: "+t.type)}a.call(n,t)}(e)}var Fo={decorator(e){let t=[],n=null;return{...e,node(t){let r=n;n=t,e.node.call(this,t),n=r},emit(e,r,a){t.push({type:r,value:e,node:a?null:n})},result:()=>t}}};function jo(e,t){return"string"==typeof e?function(e){let t=[];return sr(e,((n,r,a)=>t.push({type:n,value:e.slice(r,a),node:null}))),t}(e):t.generate(e,Fo)}var Bo={type:"Match"},Ho={type:"Mismatch"},Vo={type:"DisallowEmpty"},Wo=40,$o=41;function Jo(e,t,n){return t===Bo&&n===Ho||e===Bo&&t===Bo&&n===Bo?e:("If"===e.type&&e.else===Ho&&t===Bo&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:n})}function Go(e){return e.length>2&&e.charCodeAt(e.length-2)===Wo&&e.charCodeAt(e.length-1)===$o}function Yo(e){return"Keyword"===e.type||"AtKeyword"===e.type||"Function"===e.type||"Type"===e.type&&Go(e.name)}function Ko(e,t,n){switch(e){case" ":{let e=Bo;for(let n=t.length-1;n>=0;n--){e=Jo(t[n],e,Ho)}return e}case"|":{let e=Ho,n=null;for(let r=t.length-1;r>=0;r--){let a=t[r];if(Yo(a)&&(null===n&&r>0&&Yo(t[r-1])&&(n=Object.create(null),e=Jo({type:"Enum",map:n},Bo,e)),null!==n)){let e=(Go(a.name)?a.name.slice(0,-1):a.name).toLowerCase();if(!(e in n)){n[e]=a;continue}}n=null,e=Jo(a,Bo,e)}return e}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let n=Ho;for(let r=t.length-1;r>=0;r--){let a,o=t[r];a=t.length>1?Ko(e,t.filter((function(e){return e!==o})),!1):Bo,n=Jo(o,a,n)}return n}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let r=n?Bo:Ho;for(let n=t.length-1;n>=0;n--){let a,o=t[n];a=t.length>1?Ko(e,t.filter((function(e){return e!==o})),!0):Bo,r=Jo(o,a,r)}return r}}}function Qo(e){if("function"==typeof e)return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=Ko(e.combinator,e.terms.map(Qo),!1);return e.disallowEmpty&&(t=Jo(t,Vo,Ho)),t}case"Multiplier":return function(e){let t=Bo,n=Qo(e.term);if(0===e.max)n=Jo(n,Vo,Ho),t=Jo(n,null,Ho),t.then=Jo(Bo,Bo,t),e.comma&&(t.then.else=Jo({type:"Comma",syntax:e},t,Ho));else for(let r=e.min||1;r<=e.max;r++)e.comma&&t!==Bo&&(t=Jo({type:"Comma",syntax:e},t,Ho)),t=Jo(n,Jo(Bo,Bo,t),Ho);if(0===e.min)t=Jo(Bo,Bo,t);else for(let r=0;r=65&&a<=90&&(a|=32),a!==r)return!1}return!0}function ci(e){return null===e||(18===e.type||2===e.type||21===e.type||19===e.type||23===e.type||function(e){return 9===e.type&&"?"!==e.value}(e))}function ui(e){return null===e||(22===e.type||20===e.type||24===e.type||9===e.type&&"/"===e.value)}function hi(e,t,n){let r=function(e,t,n){function r(){do{b++,f=by&&(y=b)}function c(){w=w.type===ni?w.prev:{type:ri,syntax:u.syntax,token:w.token,prev:w},u=u.prev}let u=null,h=null,d=null,p=null,m=0,g=null,f=null,b=-1,y=0,w={type:ei,syntax:null,token:null,prev:null};for(r();null===g&&++md.tokenIndex)&&(d=p,p=!1);else if(null===d){g=oi;break}t=d.nextState,h=d.thenStack,u=d.syntaxStack,w=d.matchStack,b=d.tokenIndex,f=bb){for(;b":"<'"+t.name+"'>"));if(!1!==p&&null!==f&&"Type"===t.type&&("custom-ident"===t.name&&1===f.type||"length"===t.name&&"0"===f.value)){null===p&&(p=o(t,d)),t=Ho;break}u={syntax:t.syntax,opts:t.syntax.opts||null!==u&&u.opts||null,prev:u},w={type:ni,syntax:t.syntax,token:w.token,prev:w},t=r.match;break}case"Keyword":{let e=t.name;if(null!==f){let n=f.value;if(-1!==n.indexOf("\\")&&(n=n.replace(/\\[09].*$/,"")),li(n,e)){l(),t=Bo;break}}t=Ho;break}case"AtKeyword":case"Function":if(null!==f&&li(f.value,t.name)){l(),t=Bo;break}t=Ho;break;case"Token":if(null!==f&&f.value===t.value){l(),t=Bo;break}t=Ho;break;case"Comma":null!==f&&18===f.type?ci(w.token)?t=Ho:(l(),t=ui(f)?Ho:Bo):t=ci(w.token)||ui(f)?Bo:Ho;break;case"String":let r="",m=b;for(;m"Type"===e.type&&e.name===t))}function gi(e,t){return bi(this,e,(e=>"Property"===e.type&&e.name===t))}function fi(e){return bi(this,e,(e=>"Keyword"===e.type))}function bi(e,t,n){let r=pi.call(e,t);return null!==r&&r.some(n)}function yi(e){return"node"in e?e.node:yi(e.match[0])}function wi(e){return"node"in e?e.node:wi(e.match[e.match.length-1])}function ki(e,t,n,r,a){let o=[];return null!==n.matched&&function n(i){if(null!==i.syntax&&i.syntax.type===r&&i.syntax.name===a){let n=yi(i),r=wi(i);e.syntax.walk(t,(function(e,t,a){if(e===n){let e=new cr;do{if(e.appendData(t.data),t.data===r)break;t=t.next}while(null!==t);o.push({parent:a,nodes:e})}}))}Array.isArray(i.match)&&i.match.forEach(n)}(n.matched),o}Ht(di,{getTrace:()=>pi,isKeyword:()=>fi,isProperty:()=>gi,isType:()=>mi});var{hasOwnProperty:vi}=Object.prototype;function xi(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&e>=0}function Ai(e){return Boolean(e)&&xi(e.offset)&&xi(e.line)&&xi(e.column)}function Ei(e,t){return function(n,r){if(!n||n.constructor!==Object)return r(n,"Type of node should be an Object");for(let a in n){let o=!0;if(!1!==vi.call(n,a)){if("type"===a)n.type!==e&&r(n,"Wrong node type `"+n.type+"`, expected `"+e+"`");else if("loc"===a){if(null===n.loc)continue;if(n.loc&&n.loc.constructor===Object)if("string"!=typeof n.loc.source)a+=".source";else if(Ai(n.loc.start)){if(Ai(n.loc.end))continue;a+=".end"}else a+=".start";o=!1}else if(t.hasOwnProperty(a)){o=!1;for(let e=0;!o&&e");else{if(!Array.isArray(r))throw new Error("Wrong value `"+r+"` in `"+e+"."+t+"` structure definition");o.push("List")}}a[t]=o.join(" | ")}return{docs:a,check:Ei(e,r)}}var Ti=Zo(da.join(" | "));function Ci(e,t,n){let r={};for(let a in e)e[a].syntax&&(r[a]=n?e[a].syntax:Zr(e[a].syntax,{compact:t}));return r}function Ri(e,t,n){let r={};for(let[a,o]of Object.entries(e))r[a]={prelude:o.prelude&&(n?o.prelude.syntax:Zr(o.prelude.syntax,{compact:t})),descriptors:o.descriptors&&Ci(o.descriptors,t,n)};return r}function Ii(e,t,n){return{matched:e,iterations:n,error:t,...di}}function _i(e,t,n,r){let a,o=jo(n,e.syntax);return function(e){for(let t=0;t(Object.defineProperty(o,"syntax",{value:Uo(e)}),o.syntax)}):o.syntax=e,Object.defineProperty(o,"match",{get:()=>(Object.defineProperty(o,"match",{value:Zo(o.syntax,a)}),o.match)})),o}addAtrule_(e,t){!t||(this.atrules[e]={type:"Atrule",name:e,prelude:t.prelude?this.createDescriptor(t.prelude,"AtrulePrelude",e):null,descriptors:t.descriptors?Object.keys(t.descriptors).reduce(((n,r)=>(n[r]=this.createDescriptor(t.descriptors[r],"AtruleDescriptor",r,e),n)),Object.create(null)):null})}addProperty_(e,t){!t||(this.properties[e]=this.createDescriptor(t,"Property",e))}addType_(e,t){!t||(this.types[e]=this.createDescriptor(t,"Type",e))}checkAtruleName(e){if(!this.getAtrule(e))return new na("Unknown at-rule","@"+e)}checkAtrulePrelude(e,t){let n=this.checkAtruleName(e);if(n)return n;let r=this.getAtrule(e);return!r.prelude&&t?new SyntaxError("At-rule `@"+e+"` should not contain a prelude"):!r.prelude||t||_i(this,r.prelude,"",!1).matched?void 0:new SyntaxError("At-rule `@"+e+"` should contain a prelude")}checkAtruleDescriptorName(e,t){let n=this.checkAtruleName(e);if(n)return n;let r=this.getAtrule(e),a=sa(t);return r.descriptors?r.descriptors[a.name]||r.descriptors[a.basename]?void 0:new na("Unknown at-rule descriptor",t):new SyntaxError("At-rule `@"+e+"` has no known descriptors")}checkPropertyName(e){if(!this.getProperty(e))return new na("Unknown property",e)}matchAtrulePrelude(e,t){let n=this.checkAtrulePrelude(e,t);if(n)return Ii(null,n);let r=this.getAtrule(e);return r.prelude?_i(this,r.prelude,t||"",!1):Ii(null,null)}matchAtruleDescriptor(e,t,n){let r=this.checkAtruleDescriptorName(e,t);if(r)return Ii(null,r);let a=this.getAtrule(e),o=sa(t);return _i(this,a.descriptors[o.name]||a.descriptors[o.basename],n,!1)}matchDeclaration(e){return"Declaration"!==e.type?Ii(null,new Error("Not a Declaration node")):this.matchProperty(e.property,e.value)}matchProperty(e,t){if(la(e).custom)return Ii(null,new Error("Lexer matching doesn't applicable for custom properties"));let n=this.checkPropertyName(e);return n?Ii(null,n):_i(this,this.getProperty(e),t,!0)}matchType(e,t){let n=this.getType(e);return n?_i(this,n,t,!1):Ii(null,new na("Unknown type",e))}match(e,t){return"string"==typeof e||e&&e.type?(("string"==typeof e||!e.match)&&(e=this.createDescriptor(e,"Type","anonymous")),_i(this,e,t,!1)):Ii(null,new na("Bad syntax"))}findValueFragments(e,t,n,r){return ki(this,t,this.matchProperty(e,t),n,r)}findDeclarationValueFragments(e,t,n){return ki(this,e.value,this.matchDeclaration(e),t,n)}findAllFragments(e,t,n){let r=[];return this.syntax.walk(e,{visit:"Declaration",enter:e=>{r.push.apply(r,this.findDeclarationValueFragments(e,t,n))}}),r}getAtrule(e,t=!0){let n=sa(e);return(n.vendor&&t?this.atrules[n.name]||this.atrules[n.basename]:this.atrules[n.name])||null}getAtrulePrelude(e,t=!0){let n=this.getAtrule(e,t);return n&&n.prelude||null}getAtruleDescriptor(e,t){return this.atrules.hasOwnProperty(e)&&this.atrules.declarators&&this.atrules[e].declarators[t]||null}getProperty(e,t=!0){let n=la(e);return(n.vendor&&t?this.properties[n.name]||this.properties[n.basename]:this.properties[n.name])||null}getType(e){return hasOwnProperty.call(this.types,e)?this.types[e]:null}validate(){function e(r,a,o,i){if(o.has(a))return o.get(a);o.set(a,!1),null!==i.syntax&&qo(i.syntax,(function(i){if("Type"!==i.type&&"Property"!==i.type)return;let s="Type"===i.type?r.types:r.properties,l="Type"===i.type?t:n;(!hasOwnProperty.call(s,i.name)||e(r,i.name,l,s[i.name]))&&o.set(a,!0)}),this)}let t=new Map,n=new Map;for(let n in this.types)e(this,n,t,this.types[n]);for(let t in this.properties)e(this,t,n,this.properties[t]);return t=[...t.keys()].filter((e=>t.get(e))),n=[...n.keys()].filter((e=>n.get(e))),t.length||n.length?{types:t,properties:n}:null}dump(e,t){return{generic:this.generic,units:this.units,types:Ci(this.types,!t,e),properties:Ci(this.properties,!t,e),atrules:Ri(this.atrules,!t,e)}}toString(){return JSON.stringify(this.dump())}};function zi(e,t){return"string"==typeof t&&/^\s*\|/.test(t)?"string"==typeof e?e+t:t.replace(/^\s*\|\s*/,""):t||null}function Pi(e,t){let n=Object.create(null);for(let[r,a]of Object.entries(e))if(a){n[r]={};for(let e of Object.keys(a))t.includes(e)&&(n[r][e]=a[e])}return n}function Ni(e,t){let n={...e};for(let[r,a]of Object.entries(t))switch(r){case"generic":n[r]=Boolean(a);break;case"units":n[r]={...e[r]};for(let[e,t]of Object.entries(a))n[r][e]=Array.isArray(t)?t:[];break;case"atrules":n[r]={...e[r]};for(let[e,t]of Object.entries(a)){let a=n[r][e]||{},o=n[r][e]={prelude:a.prelude||null,descriptors:{...a.descriptors}};if(t){o.prelude=t.prelude?zi(o.prelude,t.prelude):o.prelude||null;for(let[e,n]of Object.entries(t.descriptors||{}))o.descriptors[e]=n?zi(o.descriptors[e],n):null;Object.keys(o.descriptors).length||(o.descriptors=null)}}break;case"types":case"properties":n[r]={...e[r]};for(let[e,t]of Object.entries(a))n[r][e]=zi(n[r][e],t);break;case"scope":n[r]={...e[r]};for(let[e,t]of Object.entries(a))n[r][e]={...n[r][e],...t};break;case"parseContext":n[r]={...e[r],...a};break;case"atrule":case"pseudo":n[r]={...e[r],...Pi(a,["parse"])};break;case"node":n[r]={...e[r],...Pi(a,["name","structure","parse","generate","walkContext"])}}return n}function Mi(e){let t=Sr(e),n=Yr(e),r=jr(e),{fromPlainObject:a,toPlainObject:o}=function(e){return{fromPlainObject:t=>(e(t,{enter(e){e.children&&!(e.children instanceof cr)&&(e.children=(new cr).fromArray(e.children))}}),t),toPlainObject:t=>(e(t,{leave(e){e.children&&e.children instanceof cr&&(e.children=e.children.toArray())}}),t)}}(n),i={lexer:null,createLexer:e=>new Li(e,i,i.lexer.structure),tokenize:sr,parse:t,generate:r,walk:n,find:n.find,findLast:n.findLast,findAll:n.findAll,fromPlainObject:a,toPlainObject:o,fork(t){let n=Ni({},e);return Mi("function"==typeof t?t(n,Object.assign):Ni(n,t))}};return i.lexer=new Li({generic:!0,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},i),i}var Ui=e=>Mi(Ni({},e)),Oi={};Ht(Oi,{AnPlusB:()=>Di,Atrule:()=>Zi,AtrulePrelude:()=>is,AttributeSelector:()=>ds,Block:()=>Ss,Brackets:()=>Us,CDC:()=>js,CDO:()=>$s,ClassSelector:()=>Qs,Combinator:()=>rl,Comment:()=>dl,Declaration:()=>wl,DeclarationList:()=>Ol,Dimension:()=>Vl,Function:()=>Yl,Hash:()=>tc,IdSelector:()=>dc,Identifier:()=>sc,MediaFeature:()=>bc,MediaQuery:()=>xc,MediaQueryList:()=>Cc,NestingSelector:()=>zc,Nth:()=>Dc,Number:()=>Hc,Operator:()=>Gc,Parentheses:()=>Xc,Percentage:()=>au,PseudoClassSelector:()=>cu,PseudoElementSelector:()=>gu,Ratio:()=>vu,Raw:()=>Iu,Rule:()=>Mu,Selector:()=>Hu,SelectorList:()=>Gu,String:()=>eh,StyleSheet:()=>hh,TypeSelector:()=>wh,UnicodeRange:()=>Ch,Url:()=>qh,Value:()=>Xh,WhiteSpace:()=>ad});var Di={};Ht(Di,{generate:()=>Qi,name:()=>Gi,parse:()=>Ki,structure:()=>Yi});var qi=43,Fi=45,ji=110,Bi=!0,Hi=!1;function Vi(e,t){let n=this.tokenStart+e,r=this.charCodeAt(n);for((r===qi||r===Fi)&&(t&&this.error("Number sign is not allowed"),n++);n0&&this.skip(e),0===t&&(n=this.charCodeAt(this.tokenStart),n!==qi&&n!==Fi&&this.error("Number sign is expected")),Wi.call(this,0!==t),t===Fi?"-"+this.consume(10):this.consume(10)}var Gi="AnPlusB",Yi={a:[String,null],b:[String,null]};function Ki(){let e=this.tokenStart,t=null,n=null;if(10===this.tokenType)Wi.call(this,Hi),n=this.consume(10);else if(1===this.tokenType&&this.cmpChar(this.tokenStart,Fi))switch(t="-1",$i.call(this,1,ji),this.tokenEnd-this.tokenStart){case 2:this.next(),n=Ji.call(this);break;case 3:$i.call(this,2,Fi),this.next(),this.skipSC(),Wi.call(this,Bi),n="-"+this.consume(10);break;default:$i.call(this,2,Fi),Vi.call(this,3,Bi),this.next(),n=this.substrToCursor(e+2)}else if(1===this.tokenType||this.isDelim(qi)&&1===this.lookupType(1)){let r=0;switch(t="1",this.isDelim(qi)&&(r=1,this.next()),$i.call(this,0,ji),this.tokenEnd-this.tokenStart){case 1:this.next(),n=Ji.call(this);break;case 2:$i.call(this,1,Fi),this.next(),this.skipSC(),Wi.call(this,Bi),n="-"+this.consume(10);break;default:$i.call(this,1,Fi),Vi.call(this,2,Bi),this.next(),n=this.substrToCursor(e+r+1)}}else if(12===this.tokenType){let r=this.charCodeAt(this.tokenStart),a=r===qi||r===Fi,o=this.tokenStart+a;for(;oos,name:()=>ts,parse:()=>as,structure:()=>rs,walkContext:()=>ns});var ts="Atrule",ns="atrule",rs={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};function as(e=!1){let t,n,r=this.tokenStart,a=null,o=null;switch(this.eat(3),t=this.substrToCursor(r+1),n=t.toLowerCase(),this.skipSC(),!1===this.eof&&23!==this.tokenType&&17!==this.tokenType&&(a=this.parseAtrulePrelude?this.parseWithFallback(this.AtrulePrelude.bind(this,t,e),Xi):Xi.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case 17:this.next();break;case 23:o=hasOwnProperty.call(this.atrule,n)&&"function"==typeof this.atrule[n].block?this.atrule[n].block.call(this,e):this.Block(es.call(this))}return{type:"Atrule",loc:this.getLocation(r,this.tokenStart),name:t,prelude:a,block:o}}function os(e){this.token(3,"@"+e.name),null!==e.prelude&&this.node(e.prelude),e.block?this.node(e.block):this.token(17,";")}var is={};Ht(is,{generate:()=>hs,name:()=>ss,parse:()=>us,structure:()=>cs,walkContext:()=>ls});var ss="AtrulePrelude",ls="atrulePrelude",cs={children:[[]]};function us(e){let t=null;return null!==e&&(e=e.toLowerCase()),this.skipSC(),t=hasOwnProperty.call(this.atrule,e)&&"function"==typeof this.atrule[e].prelude?this.atrule[e].prelude.call(this):this.readSequence(this.scope.AtrulePrelude),this.skipSC(),!0!==this.eof&&23!==this.tokenType&&17!==this.tokenType&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}function hs(e){this.children(e)}var ds={};Ht(ds,{generate:()=>Es,name:()=>vs,parse:()=>As,structure:()=>xs});var ps=36,ms=42,gs=61,fs=94,bs=124,ys=126;function ws(){this.eof&&this.error("Unexpected end of input");let e=this.tokenStart,t=!1;return this.isDelim(ms)?(t=!0,this.next()):this.isDelim(bs)||this.eat(1),this.isDelim(bs)?this.charCodeAt(this.tokenStart+1)!==gs?(this.next(),this.eat(1)):t&&this.error("Identifier is expected",this.tokenEnd):t&&this.error("Vertical line is expected"),{type:"Identifier",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function ks(){let e=this.tokenStart,t=this.charCodeAt(e);return t!==gs&&t!==ys&&t!==fs&&t!==ps&&t!==ms&&t!==bs&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==gs&&(this.isDelim(gs)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}var vs="AttributeSelector",xs={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};function As(){let e,t=this.tokenStart,n=null,r=null,a=null;return this.eat(19),this.skipSC(),e=ws.call(this),this.skipSC(),20!==this.tokenType&&(1!==this.tokenType&&(n=ks.call(this),this.skipSC(),r=5===this.tokenType?this.String():this.Identifier(),this.skipSC()),1===this.tokenType&&(a=this.consume(1),this.skipSC())),this.eat(20),{type:"AttributeSelector",loc:this.getLocation(t,this.tokenStart),name:e,matcher:n,value:r,flags:a}}function Es(e){this.token(9,"["),this.node(e.name),null!==e.matcher&&(this.tokenize(e.matcher),this.node(e.value)),null!==e.flags&&this.token(1,e.flags),this.token(9,"]")}var Ss={};Ht(Ss,{generate:()=>Ms,name:()=>Ls,parse:()=>Ns,structure:()=>Ps,walkContext:()=>zs});var Ts=38;function Cs(e){return this.Raw(e,null,!0)}function Rs(){return this.parseWithFallback(this.Rule,Cs)}function Is(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}function _s(){if(17===this.tokenType)return Is.call(this,this.tokenIndex);let e=this.parseWithFallback(this.Declaration,Is);return 17===this.tokenType&&this.next(),e}var Ls="Block",zs="block",Ps={children:[["Atrule","Rule","Declaration"]]};function Ns(e){let t=e?_s:Rs,n=this.tokenStart,r=this.createList();this.eat(23);e:for(;!this.eof;)switch(this.tokenType){case 24:break e;case 13:case 25:this.next();break;case 3:r.push(this.parseWithFallback(this.Atrule.bind(this,e),Cs));break;default:e&&this.isDelim(Ts)?r.push(Rs.call(this)):r.push(t.call(this))}return this.eof||this.eat(24),{type:"Block",loc:this.getLocation(n,this.tokenStart),children:r}}function Ms(e){this.token(23,"{"),this.children(e,(e=>{"Declaration"===e.type&&this.token(17,";")})),this.token(24,"}")}var Us={};Ht(Us,{generate:()=>Fs,name:()=>Os,parse:()=>qs,structure:()=>Ds});var Os="Brackets",Ds={children:[[]]};function qs(e,t){let n=this.tokenStart,r=null;return this.eat(19),r=e.call(this,t),this.eof||this.eat(20),{type:"Brackets",loc:this.getLocation(n,this.tokenStart),children:r}}function Fs(e){this.token(9,"["),this.children(e),this.token(9,"]")}var js={};Ht(js,{generate:()=>Ws,name:()=>Bs,parse:()=>Vs,structure:()=>Hs});var Bs="CDC",Hs=[];function Vs(){let e=this.tokenStart;return this.eat(15),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function Ws(){this.token(15,"--\x3e")}var $s={};Ht($s,{generate:()=>Ks,name:()=>Js,parse:()=>Ys,structure:()=>Gs});var Js="CDO",Gs=[];function Ys(){let e=this.tokenStart;return this.eat(14),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function Ks(){this.token(14,"\x3c!--")}var Qs={};Ht(Qs,{generate:()=>nl,name:()=>Xs,parse:()=>tl,structure:()=>el});var Zs=46,Xs="ClassSelector",el={name:String};function tl(){return this.eatDelim(Zs),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(1)}}function nl(e){this.token(9,"."),this.token(1,e.name)}var rl={};Ht(rl,{generate:()=>hl,name:()=>ll,parse:()=>ul,structure:()=>cl});var al=43,ol=47,il=62,sl=126,ll="Combinator",cl={name:String};function ul(){let e,t=this.tokenStart;switch(this.tokenType){case 13:e=" ";break;case 9:switch(this.charCodeAt(this.tokenStart)){case il:case al:case sl:this.next();break;case ol:this.next(),this.eatIdent("deep"),this.eatDelim(ol);break;default:this.error("Combinator is expected")}e=this.substrToCursor(t)}return{type:"Combinator",loc:this.getLocation(t,this.tokenStart),name:e}}function hl(e){this.tokenize(e.name)}var dl={};Ht(dl,{generate:()=>yl,name:()=>gl,parse:()=>bl,structure:()=>fl});var pl=42,ml=47,gl="Comment",fl={value:String};function bl(){let e=this.tokenStart,t=this.tokenEnd;return this.eat(25),t-e+2>=2&&this.charCodeAt(t-2)===pl&&this.charCodeAt(t-1)===ml&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function yl(e){this.token(25,"/*"+e.value+"*/")}var wl={};Ht(wl,{generate:()=>Nl,name:()=>_l,parse:()=>Pl,structure:()=>zl,walkContext:()=>Ll});var kl=33,vl=35,xl=36,Al=38,El=42,Sl=43,Tl=47;function Cl(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!0)}function Rl(e){return this.Raw(e,this.consumeUntilExclamationMarkOrSemicolon,!1)}function Il(){let e=this.tokenIndex,t=this.Value();return"Raw"!==t.type&&!1===this.eof&&17!==this.tokenType&&!1===this.isDelim(kl)&&!1===this.isBalanceEdge(e)&&this.error(),t}var _l="Declaration",Ll="declaration",zl={important:[Boolean,String],property:String,value:["Value","Raw"]};function Pl(){let e,t=this.tokenStart,n=this.tokenIndex,r=Ml.call(this),a=ua(r),o=a?this.parseCustomProperty:this.parseValue,i=a?Rl:Cl,s=!1;this.skipSC(),this.eat(16);let l=this.tokenIndex;if(a||this.skipSC(),e=o?this.parseWithFallback(Il,i):i.call(this,this.tokenIndex),a&&"Value"===e.type&&e.children.isEmpty)for(let t=l-this.tokenIndex;t<=0;t++)if(13===this.lookupType(t)){e.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}return this.isDelim(kl)&&(s=Ul.call(this),this.skipSC()),!1===this.eof&&17!==this.tokenType&&!1===this.isBalanceEdge(n)&&this.error(),{type:"Declaration",loc:this.getLocation(t,this.tokenStart),important:s,property:r,value:e}}function Nl(e){this.token(1,e.property),this.token(16,":"),this.node(e.value),e.important&&(this.token(9,"!"),this.token(1,!0===e.important?"important":e.important))}function Ml(){let e=this.tokenStart;if(9===this.tokenType)switch(this.charCodeAt(this.tokenStart)){case El:case xl:case Sl:case vl:case Al:this.next();break;case Tl:this.next(),this.isDelim(Tl)&&this.next()}return 4===this.tokenType?this.eat(4):this.eat(1),this.substrToCursor(e)}function Ul(){this.eat(9),this.skipSC();let e=this.consume(1);return"important"===e||e}var Ol={};Ht(Ol,{generate:()=>Hl,name:()=>Fl,parse:()=>Bl,structure:()=>jl});var Dl=38;function ql(e){return this.Raw(e,this.consumeUntilSemicolonIncluded,!0)}var Fl="DeclarationList",jl={children:[["Declaration","Atrule","Rule"]]};function Bl(){let e=this.createList();for(;!this.eof;)switch(this.tokenType){case 13:case 25:case 17:this.next();break;case 3:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),ql));break;default:this.isDelim(Dl)?e.push(this.parseWithFallback(this.Rule,ql)):e.push(this.parseWithFallback(this.Declaration,ql))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function Hl(e){this.children(e,(e=>{"Declaration"===e.type&&this.token(17,";")}))}var Vl={};Ht(Vl,{generate:()=>Gl,name:()=>Wl,parse:()=>Jl,structure:()=>$l});var Wl="Dimension",$l={value:String,unit:String};function Jl(){let e=this.tokenStart,t=this.consumeNumber(12);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function Gl(e){this.token(12,e.value+e.unit)}var Yl={};Ht(Yl,{generate:()=>ec,name:()=>Kl,parse:()=>Xl,structure:()=>Zl,walkContext:()=>Ql});var Kl="Function",Ql="function",Zl={name:String,children:[[]]};function Xl(e,t){let n,r=this.tokenStart,a=this.consumeFunctionName(),o=a.toLowerCase();return n=t.hasOwnProperty(o)?t[o].call(this,t):e.call(this,t),this.eof||this.eat(22),{type:"Function",loc:this.getLocation(r,this.tokenStart),name:a,children:n}}function ec(e){this.token(2,e.name+"("),this.children(e),this.token(22,")")}var tc={};Ht(tc,{generate:()=>ic,name:()=>rc,parse:()=>oc,structure:()=>ac,xxx:()=>nc});var nc="XXX",rc="Hash",ac={value:String};function oc(){let e=this.tokenStart;return this.eat(4),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function ic(e){this.token(4,"#"+e.value)}var sc={};Ht(sc,{generate:()=>hc,name:()=>lc,parse:()=>uc,structure:()=>cc});var lc="Identifier",cc={name:String};function uc(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(1)}}function hc(e){this.token(1,e.name)}var dc={};Ht(dc,{generate:()=>fc,name:()=>pc,parse:()=>gc,structure:()=>mc});var pc="IdSelector",mc={name:String};function gc(){let e=this.tokenStart;return this.eat(4),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function fc(e){this.token(9,"#"+e.name)}var bc={};Ht(bc,{generate:()=>vc,name:()=>yc,parse:()=>kc,structure:()=>wc});var yc="MediaFeature",wc={name:String,value:["Identifier","Number","Dimension","Ratio",null]};function kc(){let e,t=this.tokenStart,n=null;if(this.eat(21),this.skipSC(),e=this.consume(1),this.skipSC(),22!==this.tokenType){switch(this.eat(16),this.skipSC(),this.tokenType){case 10:n=9===this.lookupNonWSType(1)?this.Ratio():this.Number();break;case 12:n=this.Dimension();break;case 1:n=this.Identifier();break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eat(22),{type:"MediaFeature",loc:this.getLocation(t,this.tokenStart),name:e,value:n}}function vc(e){this.token(21,"("),this.token(1,e.name),null!==e.value&&(this.token(16,":"),this.node(e.value)),this.token(22,")")}var xc={};Ht(xc,{generate:()=>Tc,name:()=>Ac,parse:()=>Sc,structure:()=>Ec});var Ac="MediaQuery",Ec={children:[["Identifier","MediaFeature","WhiteSpace"]]};function Sc(){let e=this.createList(),t=null;this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case 25:case 13:this.next();continue;case 1:t=this.Identifier();break;case 21:t=this.MediaFeature();break;default:break e}e.push(t)}return null===t&&this.error("Identifier or parenthesis is expected"),{type:"MediaQuery",loc:this.getLocationFromList(e),children:e}}function Tc(e){this.children(e)}var Cc={};Ht(Cc,{generate:()=>Lc,name:()=>Rc,parse:()=>_c,structure:()=>Ic});var Rc="MediaQueryList",Ic={children:[["MediaQuery"]]};function _c(){let e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),18===this.tokenType);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}function Lc(e){this.children(e,(()=>this.token(18,",")))}var zc={};Ht(zc,{generate:()=>Oc,name:()=>Nc,parse:()=>Uc,structure:()=>Mc});var Pc=38,Nc="NestingSelector",Mc={};function Uc(){let e=this.tokenStart;return this.eatDelim(Pc),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function Oc(){this.token(9,"&")}var Dc={};Ht(Dc,{generate:()=>Bc,name:()=>qc,parse:()=>jc,structure:()=>Fc});var qc="Nth",Fc={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]};function jc(){this.skipSC();let e,t=this.tokenStart,n=t,r=null;return e=this.lookupValue(0,"odd")||this.lookupValue(0,"even")?this.Identifier():this.AnPlusB(),n=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),r=this.SelectorList(),n=this.tokenStart),{type:"Nth",loc:this.getLocation(t,n),nth:e,selector:r}}function Bc(e){this.node(e.nth),null!==e.selector&&(this.token(1,"of"),this.node(e.selector))}var Hc={};Ht(Hc,{generate:()=>Jc,name:()=>Vc,parse:()=>$c,structure:()=>Wc});var Vc="Number",Wc={value:String};function $c(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(10)}}function Jc(e){this.token(10,e.value)}var Gc={};Ht(Gc,{generate:()=>Zc,name:()=>Yc,parse:()=>Qc,structure:()=>Kc});var Yc="Operator",Kc={value:String};function Qc(){let e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function Zc(e){this.tokenize(e.value)}var Xc={};Ht(Xc,{generate:()=>ru,name:()=>eu,parse:()=>nu,structure:()=>tu});var eu="Parentheses",tu={children:[[]]};function nu(e,t){let n=this.tokenStart,r=null;return this.eat(21),r=e.call(this,t),this.eof||this.eat(22),{type:"Parentheses",loc:this.getLocation(n,this.tokenStart),children:r}}function ru(e){this.token(21,"("),this.children(e),this.token(22,")")}var au={};Ht(au,{generate:()=>lu,name:()=>ou,parse:()=>su,structure:()=>iu});var ou="Percentage",iu={value:String};function su(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(11)}}function lu(e){this.token(11,e.value+"%")}var cu={};Ht(cu,{generate:()=>mu,name:()=>uu,parse:()=>pu,structure:()=>du,walkContext:()=>hu});var uu="PseudoClassSelector",hu="function",du={name:String,children:[["Raw"],null]};function pu(){let e,t,n=this.tokenStart,r=null;return this.eat(16),2===this.tokenType?(e=this.consumeFunctionName(),t=e.toLowerCase(),22==this.lookupNonWSType(0)?r=this.createList():hasOwnProperty.call(this.pseudo,t)?(this.skipSC(),r=this.pseudo[t].call(this),this.skipSC()):(r=this.createList(),r.push(this.Raw(this.tokenIndex,null,!1))),this.eat(22)):e=this.consume(1),{type:"PseudoClassSelector",loc:this.getLocation(n,this.tokenStart),name:e,children:r}}function mu(e){this.token(16,":"),null===e.children?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}var gu={};Ht(gu,{generate:()=>ku,name:()=>fu,parse:()=>wu,structure:()=>yu,walkContext:()=>bu});var fu="PseudoElementSelector",bu="function",yu={name:String,children:[["Raw"],null]};function wu(){let e,t,n=this.tokenStart,r=null;return this.eat(16),this.eat(16),2===this.tokenType?(e=this.consumeFunctionName(),t=e.toLowerCase(),22==this.lookupNonWSType(0)?r=this.createList():hasOwnProperty.call(this.pseudo,t)?(this.skipSC(),r=this.pseudo[t].call(this),this.skipSC()):(r=this.createList(),r.push(this.Raw(this.tokenIndex,null,!1))),this.eat(22)):e=this.consume(1),{type:"PseudoElementSelector",loc:this.getLocation(n,this.tokenStart),name:e,children:r}}function ku(e){this.token(16,":"),this.token(16,":"),null===e.children?this.token(1,e.name):(this.token(2,e.name+"("),this.children(e),this.token(22,")"))}var vu={};Ht(vu,{generate:()=>Ru,name:()=>Su,parse:()=>Cu,structure:()=>Tu});var xu=47,Au=46;function Eu(){this.skipSC();let e=this.consume(10);for(let t=0;t0&&13===this.lookupType(-1)?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}Ht(Iu,{generate:()=>Nu,name:()=>Lu,parse:()=>Pu,structure:()=>zu});var Lu="Raw",zu={value:String};function Pu(e,t,n){let r,a=this.getTokenStart(e);return this.skipUntilBalanced(e,t||this.consumeUntilBalanceEnd),r=n&&this.tokenStart>a?_u.call(this):this.tokenStart,{type:"Raw",loc:this.getLocation(a,r),value:this.substring(a,r)}}function Nu(e){this.tokenize(e.value)}var Mu={};function Uu(e){return this.Raw(e,this.consumeUntilLeftCurlyBracket,!0)}function Ou(){let e=this.SelectorList();return"Raw"!==e.type&&!1===this.eof&&23!==this.tokenType&&this.error(),e}Ht(Mu,{generate:()=>Bu,name:()=>Du,parse:()=>ju,structure:()=>Fu,walkContext:()=>qu});var Du="Rule",qu="rule",Fu={prelude:["SelectorList","Raw"],block:["Block"]};function ju(){let e,t,n=this.tokenIndex,r=this.tokenStart;return e=this.parseRulePrelude?this.parseWithFallback(Ou,Uu):Uu.call(this,n),t=this.Block(!0),{type:"Rule",loc:this.getLocation(r,this.tokenStart),prelude:e,block:t}}function Bu(e){this.node(e.prelude),this.node(e.block)}var Hu={};Ht(Hu,{generate:()=>Ju,name:()=>Vu,parse:()=>$u,structure:()=>Wu});var Vu="Selector",Wu={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator","WhiteSpace"]]};function $u(){let e=this.readSequence(this.scope.Selector);return null===this.getFirstListNode(e)&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}}function Ju(e){this.children(e)}var Gu={};Ht(Gu,{generate:()=>Xu,name:()=>Yu,parse:()=>Zu,structure:()=>Qu,walkContext:()=>Ku});var Yu="SelectorList",Ku="selector",Qu={children:[["Selector","Raw"]]};function Zu(){let e=this.createList();for(;!this.eof&&(e.push(this.Selector()),18===this.tokenType);)this.next();return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}function Xu(e){this.children(e,(()=>this.token(18,",")))}var eh={};Ht(eh,{generate:()=>uh,name:()=>sh,parse:()=>ch,structure:()=>lh});var th={};Ht(th,{decode:()=>oh,encode:()=>ih});var nh=92,rh=34,ah=39;function oh(e){let t=e.length,n=e.charCodeAt(0),r=n===rh||n===ah?1:0,a=1===r&&t>1&&e.charCodeAt(t-1)===n?t-2:t-1,o="";for(let n=r;n<=a;n++){let r=e.charCodeAt(n);if(r===nh){if(n===a){n!==t-1&&(o=e.substr(n+1));break}if(r=e.charCodeAt(++n),zn(nh,r)){let t=n-1,r=Gn(e,t);n=r-1,o+=Zn(e.substring(t+1,r))}else 13===r&&10===e.charCodeAt(n+1)&&n++}else o+=e[n]}return o}function ih(e,t){let n=t?"'":'"',r=t?ah:rh,a="",o=!1;for(let t=0;tyh,name:()=>mh,parse:()=>bh,structure:()=>fh,walkContext:()=>gh});var dh=33;function ph(e){return this.Raw(e,null,!1)}var mh="StyleSheet",gh="stylesheet",fh={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]};function bh(){let e,t=this.tokenStart,n=this.createList();for(;!this.eof;){switch(this.tokenType){case 13:this.next();continue;case 25:if(this.charCodeAt(this.tokenStart+2)!==dh){this.next();continue}e=this.Comment();break;case 14:e=this.CDO();break;case 15:e=this.CDC();break;case 3:e=this.parseWithFallback(this.Atrule,ph);break;default:e=this.parseWithFallback(this.Rule,ph)}n.push(e)}return{type:"StyleSheet",loc:this.getLocation(t,this.tokenStart),children:n}}function yh(e){this.children(e)}var wh={};Ht(wh,{generate:()=>Th,name:()=>Ah,parse:()=>Sh,structure:()=>Eh});var kh=42,vh=124;function xh(){1!==this.tokenType&&!1===this.isDelim(kh)&&this.error("Identifier or asterisk is expected"),this.next()}var Ah="TypeSelector",Eh={name:String};function Sh(){let e=this.tokenStart;return this.isDelim(vh)?(this.next(),xh.call(this)):(xh.call(this),this.isDelim(vh)&&(this.next(),xh.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function Th(e){this.tokenize(e.name)}var Ch={};Ht(Ch,{generate:()=>Dh,name:()=>Mh,parse:()=>Oh,structure:()=>Uh});var Rh=43,Ih=45,_h=63;function Lh(e,t){let n=0;for(let r=this.tokenStart+e;r6&&this.error("Too many hex digits",r)}return this.next(),n}function zh(e){let t=0;for(;this.isDelim(_h);)++t>e&&this.error("Too many question marks"),this.next()}function Ph(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===Rh?"Plus sign":"Hyphen minus")+" is expected")}function Nh(){let e=0;switch(this.tokenType){case 10:if(e=Lh.call(this,1,!0),this.isDelim(_h)){zh.call(this,6-e);break}if(12===this.tokenType||10===this.tokenType){Ph.call(this,Ih),Lh.call(this,1,!1);break}break;case 12:e=Lh.call(this,1,!0),e>0&&zh.call(this,6-e);break;default:if(this.eatDelim(Rh),1===this.tokenType){e=Lh.call(this,0,!0),e>0&&zh.call(this,6-e);break}if(this.isDelim(_h)){this.next(),zh.call(this,5);break}this.error("Hex digit or question mark is expected")}}var Mh="UnicodeRange",Uh={value:String};function Oh(){let e=this.tokenStart;return this.eatIdent("u"),Nh.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function Dh(e){this.tokenize(e.value)}var qh={};Ht(qh,{generate:()=>Zh,name:()=>Yh,parse:()=>Qh,structure:()=>Kh});var Fh={};Ht(Fh,{decode:()=>Jh,encode:()=>Gh});var jh=32,Bh=92,Hh=34,Vh=39,Wh=40,$h=41;function Jh(e){let t=e.length,n=4,r=e.charCodeAt(t-1)===$h?t-2:t-1,a="";for(;nrd,name:()=>ed,parse:()=>nd,structure:()=>td});var ed="Value",td={children:[[]]};function nd(){let e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function rd(e){this.children(e)}var ad={};Ht(ad,{generate:()=>cd,name:()=>id,parse:()=>ld,structure:()=>sd});var od=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),id="WhiteSpace",sd={value:String};function ld(){return this.eat(13),od}function cd(e){this.token(13,e.value)}var ud={generic:!0,generic:!0,units:{angle:["deg","grad","rad","turn"],decibel:["db"],flex:["fr"],frequency:["hz","khz"],length:["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],resolution:["dpi","dpcm","dppx","x"],semitones:["st"],time:["s","ms"]},types:{"abs()":"abs( )","absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","acos()":"acos( )","alpha-value":"|","angle-percentage":"|","angular-color-hint":"","angular-color-stop":"&&?","angular-color-stop-list":"[ [, ]?]# , ","animateable-feature":"scroll-position|contents|","asin()":"asin( )","atan()":"atan( )","atan2()":"atan2( , )",attachment:"scroll|fixed|local","attr()":"attr( ? [, ]? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attribute-selector":"'[' ']'|'[' [|] ? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [? ]+ ? )","auto-track-list":"[? [|]]* ? [? [|]]* ?",axis:"block|inline|vertical|horizontal","baseline-position":"[first|last]? baseline","basic-shape":"||||","bg-image":"none|","bg-layer":"|| [/ ]?||||||||","bg-position":"[[left|center|right|top|bottom|]|[left|center|right|] [top|center|bottom|]|[center|[left|right] ?]&&[center|[top|bottom] ?]]","bg-size":"[|auto]{1,2}|cover|contain","blur()":"blur( )","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity",box:"border-box|padding-box|content-box","brightness()":"brightness( )","calc()":"calc( )","calc-sum":" [['+'|'-'] ]*","calc-product":" ['*' |'/' ]*","calc-value":"||||( )","calc-constant":"e|pi|infinity|-infinity|NaN","cf-final-image":"|","cf-mixing-image":"?&&","circle()":"circle( []? [at ]? )","clamp()":"clamp( #{3} )","class-selector":"'.' ","clip-source":"",color:"|||||||||currentcolor|","color-stop":"|","color-stop-angle":"{1,2}","color-stop-length":"{1,2}","color-stop-list":"[ [, ]?]# , ",combinator:"'>'|'+'|'~'|['||']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|push-button|slider-horizontal|checkbox|radio|square-button|menulist|listbox|meter|progress-bar|button","composite-style":"clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor","compositing-operator":"add|subtract|intersect|exclude","compound-selector":"[? * [ *]*]!","compound-selector-list":"#","complex-selector":" [? ]*","complex-selector-list":"#","conic-gradient()":"conic-gradient( [from ]? [at ]? , )","contextual-alt-values":"[contextual|no-contextual]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[|contents||||||]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"","contrast()":"contrast( [] )","cos()":"cos( )",counter:"|","counter()":"counter( , ? )","counter-name":"","counter-style":"|symbols( )","counter-style-name":"","counters()":"counters( , , ? )","cross-fade()":"cross-fade( , ? )","cubic-bezier-timing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( , , , )","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonFace|ButtonHighlight|ButtonShadow|ButtonText|CaptionText|GrayText|Highlight|HighlightText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( {2,3} ? )","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( , [first|start|last|first-except]? )|element( )","ellipse()":"ellipse( [{2}]? [at ]? )","ending-shape":"circle|ellipse","env()":"env( , ? )","exp()":"exp( )","explicit-track-list":"[? ]+ ?","family-name":"|+","feature-tag-value":" [|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":" '{' '}'","feature-value-block-list":"+","feature-value-declaration":" : + ;","feature-value-declaration-list":"","feature-value-name":"","fill-rule":"nonzero|evenodd","filter-function":"|||||||||","filter-function-list":"[|]+","final-bg-layer":"<'background-color'>|||| [/ ]?||||||||","fixed-breadth":"","fixed-repeat":"repeat( [] , [? ]+ ? )","fixed-size":"|minmax( , )|minmax( , )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|","font-variant-css21":"[normal|small-caps]","font-weight-absolute":"normal|bold|","frequency-percentage":"|","general-enclosed":"[ )]|( )","generic-family":"serif|sans-serif|cursive|fantasy|monospace|-apple-system","generic-name":"serif|sans-serif|cursive|fantasy|monospace","geometry-box":"|fill-box|stroke-box|view-box",gradient:"||||||<-legacy-gradient>","grayscale()":"grayscale( )","grid-line":"auto||[&&?]|[span&&[||]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( [/ ]? )|hsl( , , , ? )","hsla()":"hsla( [/ ]? )|hsla( , , , ? )",hue:"|","hue-rotate()":"hue-rotate( )","hwb()":"hwb( [|none] [|none] [|none] [/ [|none]]? )","hypot()":"hypot( # )",image:"||||||","image()":"image( ? [? , ?]! )","image-set()":"image-set( # )","image-set-option":"[|] [||type( )]","image-src":"|","image-tags":"ltr|rtl","inflexible-breadth":"|min-content|max-content|auto","inset()":"inset( {1,4} [round <'border-radius'>]? )","invert()":"invert( )","keyframes-name":"|","keyframe-block":"# { }","keyframe-block-list":"+","keyframe-selector":"from|to|","lab()":"lab( [||none] [||none] [||none] [/ [|none]]? )","layer()":"layer( )","layer-name":" ['.' ]*","lch()":"lch( [||none] [||none] [|none] [/ [|none]]? )","leader()":"leader( )","leader-type":"dotted|solid|space|","length-percentage":"|","line-names":"'[' * ']'","line-name-list":"[|]+","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"|thin|medium|thick","linear-color-hint":"","linear-color-stop":" ?","linear-gradient()":"linear-gradient( [|to ]? , )","log()":"log( , ? )","mask-layer":"|| [/ ]?||||||[|no-clip]||||","mask-position":"[|left|center|right] [|top|center|bottom]?","mask-reference":"none||","mask-source":"","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( #{6} )","matrix3d()":"matrix3d( #{16} )","max()":"max( # )","media-and":" [and ]+","media-condition":"|||","media-condition-without-or":"||","media-feature":"( [||] )","media-in-parens":"( )||","media-not":"not ","media-or":" [or ]+","media-query":"|[not|only]? [and ]?","media-query-list":"#","media-type":"","mf-boolean":"","mf-name":"","mf-plain":" : ","mf-range":" ['<'|'>']? '='? | ['<'|'>']? '='? | '<' '='? '<' '='? | '>' '='? '>' '='? ","mf-value":"|||","min()":"min( # )","minmax()":"minmax( [|min-content|max-content|auto] , [||min-content|max-content|auto] )","mod()":"mod( , )","name-repeat":"repeat( [|auto-fill] , + )","named-color":"transparent|aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|<-non-standard-color>","namespace-prefix":"","ns-prefix":"[|'*']? '|'","number-percentage":"|","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]",nth:"|even|odd","opacity()":"opacity( [] )","overflow-position":"unsafe|safe","outline-radius":"|","page-body":"? [; ]?| ","page-margin-box":" '{' '}'","page-margin-box-type":"@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom","page-selector-list":"[#]?","page-selector":"+| *","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger","path()":"path( [ ,]? )","paint()":"paint( , ? )","perspective()":"perspective( [|none] )","polygon()":"polygon( ? , [ ]# )",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|] [top|center|bottom|]?|[[left|right] ]&&[[top|bottom] ]]","pow()":"pow( , )","pseudo-class-selector":"':' |':' ')'","pseudo-element-selector":"':' ","pseudo-page":": [left|right|first|blank]",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-gradient()":"radial-gradient( [||]? [at ]? , )",ratio:" [/ ]?","relative-selector":"? ","relative-selector-list":"#","relative-size":"larger|smaller","rem()":"rem( , )","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-conic-gradient()":"repeating-conic-gradient( [from ]? [at ]? , )","repeating-linear-gradient()":"repeating-linear-gradient( [|to ]? , )","repeating-radial-gradient()":"repeating-radial-gradient( [||]? [at ]? , )","reversed-counter-name":"reversed( )","rgb()":"rgb( {3} [/ ]? )|rgb( {3} [/ ]? )|rgb( #{3} , ? )|rgb( #{3} , ? )","rgba()":"rgba( {3} [/ ]? )|rgba( {3} [/ ]? )|rgba( #{3} , ? )|rgba( #{3} , ? )","rotate()":"rotate( [|] )","rotate3d()":"rotate3d( , , , [|] )","rotateX()":"rotateX( [|] )","rotateY()":"rotateY( [|] )","rotateZ()":"rotateZ( [|] )","round()":"round( ? , , )","rounding-strategy":"nearest|up|down|to-zero","saturate()":"saturate( )","scale()":"scale( [|]#{1,2} )","scale3d()":"scale3d( [|]#{3} )","scaleX()":"scaleX( [|] )","scaleY()":"scaleY( [|] )","scaleZ()":"scaleZ( [|] )",scroller:"root|nearest","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","shape-radius":"|closest-side|farthest-side","sign()":"sign( )","skew()":"skew( [|] , [|]? )","skewX()":"skewX( [|] )","skewY()":"skewY( [|] )","sepia()":"sepia( )",shadow:"inset?&&{2,4}&&?","shadow-t":"[{2,3}&&?]",shape:"rect( , , , )|rect( )","shape-box":"|margin-box","side-or-corner":"[left|right]||[top|bottom]","sin()":"sin( )","single-animation":"