@posthog/rrweb-snapshot 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,35 +11,35 @@
11
11
  }(this, () => {
12
12
  var exports = {};
13
13
  var module = { exports };
14
- "use strict";var si=Object.defineProperty,ni=Object.defineProperties;var oi=Object.getOwnPropertyDescriptors;var fe=Object.getOwnPropertySymbols;var Nt=Object.prototype.hasOwnProperty,Mt=Object.prototype.propertyIsEnumerable;var Ot=(i,e,t)=>e in i?si(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t,L=(i,e)=>{for(var t in e||(e={}))Nt.call(e,t)&&Ot(i,t,e[t]);if(fe)for(var t of fe(e))Mt.call(e,t)&&Ot(i,t,e[t]);return i},Q=(i,e)=>ni(i,oi(e));var ze=(i,e)=>{var t={};for(var r in i)Nt.call(i,r)&&e.indexOf(r)<0&&(t[r]=i[r]);if(i!=null&&fe)for(var r of fe(i))e.indexOf(r)<0&&Mt.call(i,r)&&(t[r]=i[r]);return t};var li=Object.defineProperty,ai=(i,e,t)=>e in i?li(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t,At=(i,e,t)=>ai(i,typeof e!="symbol"?e+"":e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var g=(i=>(i[i.Document=0]="Document",i[i.DocumentType=1]="DocumentType",i[i.Element=2]="Element",i[i.Text=3]="Text",i[i.CDATA=4]="CDATA",i[i.Comment=5]="Comment",i))(g||{});const _t={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},$t={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},he={};function ui(i){var e,t;const r=(t=(e=globalThis==null?void 0:globalThis.Zone)==null?void 0:e.__symbol__)==null?void 0:t.call(e,i);if(r&&globalThis[r])return globalThis[r]}function ht(i){if(he[i])return he[i];const e=ui(i)||globalThis[i],t=e.prototype,r=i in _t?_t[i]:void 0,s=!!(r&&r.every(a=>{var o,u;return!!((u=(o=Object.getOwnPropertyDescriptor(t,a))==null?void 0:o.get)!=null&&u.toString().includes("[native code]"))})),n=i in $t?$t[i]:void 0,l=!!(n&&n.every(a=>{var o;return typeof t[a]=="function"&&((o=t[a])==null?void 0:o.toString().includes("[native code]"))}));if(s&&l)return he[i]=e.prototype,e.prototype;try{const a=document.createElement("iframe");document.body.appendChild(a);const o=a.contentWindow;if(!o)return e.prototype;const u=o[i].prototype;return document.body.removeChild(a),u?he[i]=u:t}catch(a){return t}}const We={};function B(i,e,t){var r;const s=`${i}.${String(t)}`;if(We[s])return We[s].call(e);const n=ht(i),l=(r=Object.getOwnPropertyDescriptor(n,t))==null?void 0:r.get;return l?(We[s]=l,l.call(e)):e[t]}const je={};function er(i,e,t){const r=`${i}.${String(t)}`;if(je[r])return je[r].bind(e);const n=ht(i)[t];return typeof n!="function"?e[t]:(je[r]=n,n.bind(e))}function ci(i){return B("Node",i,"childNodes")}function fi(i){return B("Node",i,"parentNode")}function hi(i){return B("Node",i,"parentElement")}function pi(i){return B("Node",i,"textContent")}function di(i,e){return er("Node",i,"contains")(e)}function mi(i){return er("Node",i,"getRootNode")()}function gi(i){return!i||!("host"in i)?null:B("ShadowRoot",i,"host")}function yi(i){return i.styleSheets}function wi(i){return!i||!("shadowRoot"in i)?null:B("Element",i,"shadowRoot")}function bi(i,e){return B("Element",i,"querySelector")(e)}function Si(i,e){return B("Element",i,"querySelectorAll")(e)}function Ci(){return ht("MutationObserver").constructor}function xi(i,e,t){try{if(!(e in i))return()=>{};const r=i[e],s=t(r);return typeof s=="function"&&(s.prototype=s.prototype||{},Object.defineProperties(s,{__rrweb_original__:{enumerable:!1,value:r}})),i[e]=s,()=>{i[e]=r}}catch(r){return()=>{}}}const M={childNodes:ci,parentNode:fi,parentElement:hi,textContent:pi,contains:di,getRootNode:mi,host:gi,styleSheets:yi,shadowRoot:wi,querySelector:bi,querySelectorAll:Si,mutationObserver:Ci,patch:xi};function $e(i){return i.nodeType===i.ELEMENT_NODE}function tr(i){const e=i&&"host"in i&&"mode"in i&&M.host(i)||null;return!!(e&&"shadowRoot"in e&&M.shadowRoot(e)===i)}function Ce(i){return Object.prototype.toString.call(i)==="[object ShadowRoot]"}function vi(i){return i.includes(" background-clip: text;")&&!i.includes(" -webkit-background-clip: text;")&&(i=i.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),i}function rr(i){const{cssText:e}=i;if(e.split('"').length<3)return e;const t=["@import",`url(${JSON.stringify(i.href)})`];return i.layerName===""?t.push("layer"):i.layerName&&t.push(`layer(${i.layerName})`),i.supportsText&&t.push(`supports(${i.supportsText})`),i.media.length&&t.push(i.media.mediaText),t.join(" ")+";"}function Re(i){try{const e=i.rules||i.cssRules;if(!e)return null;let t=i.href;!t&&i.ownerNode&&i.ownerNode.ownerDocument&&(t=i.ownerNode.ownerDocument.location.href);const r=Array.from(e,s=>ir(s,t)).join("");return vi(r)}catch(e){return null}}function ir(i,e){if(nr(i)){let t;try{t=Re(i.styleSheet)||rr(i)}catch(r){t=i.cssText}return i.styleSheet.href?re(t,i.styleSheet.href):t}else{let t=i.cssText;return or(i)&&i.selectorText.includes(":")&&(t=sr(t)),e?re(t,e):t}}function sr(i){const e=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return i.replace(e,"$1\\$2")}function nr(i){return"styleSheet"in i}function or(i){return"selectorText"in i}class Pe{constructor(){At(this,"idNodeMap",new Map),At(this,"nodeMetaMap",new WeakMap)}getId(e){var t;if(!e)return-1;const r=(t=this.getMeta(e))==null?void 0:t.id;return r!=null?r:-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){const t=this.getId(e);this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach(r=>this.removeNodeFromMap(r))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){const r=t.id;this.idNodeMap.set(r,e),this.nodeMetaMap.set(e,t)}replace(e,t){const r=this.getNode(e);if(r){const s=this.nodeMetaMap.get(r);s&&this.nodeMetaMap.set(t,s)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function Ei(){return new Pe}function lr({element:i,maskInputOptions:e,tagName:t,type:r,value:s,maskInputFn:n}){let l=s||"";const a=r&&le(r);return(e[t.toLowerCase()]||a&&e[a])&&(n?l=n(l,i):l="*".repeat(l.length)),l}function le(i){return i.toLowerCase()}const Pt="__rrweb_original__";function ar(i){const e=i.getContext("2d");if(!e)return!0;const t=50;for(let r=0;r<i.width;r+=t)for(let s=0;s<i.height;s+=t){const n=e.getImageData,l=Pt in n?n[Pt]:n;if(new Uint32Array(l.call(e,r,s,Math.min(t,i.width-r),Math.min(t,i.height-s)).data.buffer).some(o=>o!==0))return!1}return!0}function ur(i,e){return!i||!e||i.type!==e.type?!1:i.type===g.Document?i.compatMode===e.compatMode:i.type===g.DocumentType?i.name===e.name&&i.publicId===e.publicId&&i.systemId===e.systemId:i.type===g.Comment||i.type===g.Text||i.type===g.CDATA?i.textContent===e.textContent:i.type===g.Element?i.tagName===e.tagName&&JSON.stringify(i.attributes)===JSON.stringify(e.attributes)&&i.isSVG===e.isSVG&&i.needBlock===e.needBlock:!1}function cr(i){const e=i.type;return i.hasAttribute("data-rr-is-password")?"password":e?le(e):null}function pt(i,e){var n;let t;try{t=new URL(i,e!=null?e:window.location.href)}catch(l){return null}const r=/\.([0-9a-z]+)(?:$)/i,s=t.pathname.match(r);return(n=s==null?void 0:s[1])!=null?n:null}function Ri(i){let e="";return i.indexOf("//")>-1?e=i.split("/").slice(0,3).join("/"):e=i.split("/")[0],e=e.split("?")[0],e}const Oi=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,Ni=/^(?:[a-z+]+:)?\/\//i,Mi=/^www\..*/i,Ai=/^(data:)([^,]*),(.*)/i;function re(i,e){return(i||"").replace(Oi,(t,r,s,n,l,a)=>{const o=s||l||a,u=r||n||"";if(!o)return t;if(Ni.test(o)||Mi.test(o))return`url(${u}${o}${u})`;if(Ai.test(o))return`url(${u}${o}${u})`;if(o[0]==="/")return`url(${u}${Ri(e)+o}${u})`;const c=e.split("/"),h=o.split("/");c.pop();for(const d of h)d!=="."&&(d===".."?c.pop():c.push(d));return`url(${u}${c.join("/")}${u})`})}const Ve=new Map,Ge=new Map;function xe(i){if(!Ve.has(i)){const e=i.replace(/(\/\*[^*]*\*\/)|[\s;]/g,"");Ve.set(i,e)}return Ve.get(i)}function fr(i,e){const t=i;if(Ge.has(i))return Ge.get(i);const r=Array.from(e.childNodes),s=[];let n=0;if(r.length>1&&i&&typeof i=="string"){let l=xe(i);const a=l.length/i.length;for(let o=1;o<r.length;o++)if(r[o].textContent&&typeof r[o].textContent=="string"){const u=xe(r[o].textContent);let c=3;for(;c<u.length&&(u[c].match(/[a-zA-Z0-9]/)||u.indexOf(u.substring(0,c),1)!==-1);c++);for(;c<u.length;c++){const h=u.substring(0,c),d=l.split(h);let m=-1;if(d.length===2?m=l.indexOf(h):d.length>2&&d[0]===""&&r[o-1].textContent!==""&&(m=l.indexOf(h,1)),m!==-1){let x=Math.floor(m/a);for(;x>0&&x<i.length;){if(n+=1,n>50*r.length)return s.push(i),s;const w=xe(i.substring(0,x));if(w.length===m){s.push(i.substring(0,x)),i=i.substring(x),l=l.substring(m);break}else w.length<m?x+=Math.max(1,Math.floor((m-w.length)/a)):x-=Math.max(1,Math.floor((w.length-m)*a))}break}}}}return s.push(i),t&&Ge.set(t,s),s}function hr(i,e){return fr(i,e).join("/* rr_split */")}let pr=1;const _i=new RegExp("[^a-z0-9-_:]"),Ke=-2;function dr(){return pr++}function $i(i){if(i instanceof HTMLFormElement)return"form";const e=le(i.tagName);return _i.test(e)?"div":e}let j,kt;const Pi=/^[^ \t\n\r\u000c]+/,ki=/^[, \t\n\r\u000c]+/;function Ii(i,e){if(e.trim()==="")return e;let t=0;function r(n){let l;const a=n.exec(e.substring(t));return a?(l=a[0],t+=l.length,l):""}const s=[];for(;r(ki),!(t>=e.length);){let n=r(Pi);if(n.slice(-1)===",")n=V(i,n.substring(0,n.length-1)),s.push(n);else{let l="";n=V(i,n);let a=!1;for(;;){const o=e.charAt(t);if(o===""){s.push((n+l).trim());break}else if(a)o===")"&&(a=!1);else if(o===","){t+=1,s.push((n+l).trim());break}else o==="("&&(a=!0);l+=o,t+=1}}}return s.join(", ")}const It=new WeakMap;function V(i,e){return!e||e.trim()===""?e:dt(i,e)}function Li(i){return!!(i.tagName==="svg"||i.ownerSVGElement)}function dt(i,e){let t=It.get(i);if(t||(t=i.createElement("a"),It.set(i,t)),!e)e="";else if(e.startsWith("blob:")||e.startsWith("data:"))return e;return t.setAttribute("href",e),t.href}function mr(i,e,t,r){return r&&(t==="src"||t==="href"&&!(e==="use"&&r[0]==="#")||t==="xlink:href"&&r[0]!=="#"||t==="background"&&(e==="table"||e==="td"||e==="th")?V(i,r):t==="srcset"?Ii(i,r):t==="style"?re(r,dt(i)):e==="object"&&t==="data"?V(i,r):r)}function gr(i,e,t){return(i==="video"||i==="audio")&&e==="autoplay"}function Di(i,e,t){try{if(typeof e=="string"){if(i.classList.contains(e))return!0}else for(let r=i.classList.length;r--;){const s=i.classList[r];if(e.test(s))return!0}if(t)return i.matches(t)}catch(r){}return!1}function Oe(i,e,t){if(!i)return!1;if(i.nodeType!==i.ELEMENT_NODE)return t?Oe(M.parentNode(i),e,t):!1;for(let r=i.classList.length;r--;){const s=i.classList[r];if(e.test(s))return!0}return t?Oe(M.parentNode(i),e,t):!1}function yr(i,e,t,r){let s;if($e(i)){if(s=i,!M.childNodes(s).length)return!1}else{if(M.parentElement(i)===null)return!1;s=M.parentElement(i)}try{if(typeof e=="string"){if(r){if(s.closest(`.${e}`))return!0}else if(s.classList.contains(e))return!0}else if(Oe(s,e,r))return!0;if(t){if(r){if(s.closest(t))return!0}else if(s.matches(t))return!0}}catch(n){}return!1}function Ti(i,e,t){const r=i.contentWindow;if(!r)return;let s=!1,n;try{n=r.document.readyState}catch(a){return}if(n!=="complete"){const a=setTimeout(()=>{s||(e(),s=!0)},t);i.addEventListener("load",()=>{clearTimeout(a),s=!0,e()});return}const l="about:blank";if(r.location.href!==l||i.src===l||i.src==="")return setTimeout(e,0),i.addEventListener("load",e);i.addEventListener("load",e)}function Ui(i,e,t){let r=!1,s;try{s=i.sheet}catch(l){return}if(s)return;const n=setTimeout(()=>{r||(e(),r=!0)},t);i.addEventListener("load",()=>{clearTimeout(n),r=!0,e()})}function Bi(i,e){const{doc:t,mirror:r,blockClass:s,blockSelector:n,needsMask:l,inlineStylesheet:a,maskInputOptions:o={},maskTextFn:u,maskInputFn:c,dataURLOptions:h={},inlineImages:d,recordCanvas:m,keepIframeSrcFn:x,newlyAddedElement:w=!1,cssCaptured:f=!1}=e,R=Fi(t,r);switch(i.nodeType){case i.DOCUMENT_NODE:return i.compatMode!=="CSS1Compat"?{type:g.Document,childNodes:[],compatMode:i.compatMode}:{type:g.Document,childNodes:[]};case i.DOCUMENT_TYPE_NODE:return{type:g.DocumentType,name:i.name,publicId:i.publicId,systemId:i.systemId,rootId:R};case i.ELEMENT_NODE:return ji(i,{doc:t,blockClass:s,blockSelector:n,inlineStylesheet:a,maskInputOptions:o,maskInputFn:c,dataURLOptions:h,inlineImages:d,recordCanvas:m,keepIframeSrcFn:x,newlyAddedElement:w,rootId:R});case i.TEXT_NODE:return zi(i,{doc:t,needsMask:l,maskTextFn:u,rootId:R,cssCaptured:f});case i.CDATA_SECTION_NODE:return{type:g.CDATA,textContent:"",rootId:R};case i.COMMENT_NODE:return{type:g.Comment,textContent:M.textContent(i)||"",rootId:R};default:return!1}}function Fi(i,e){if(!e.hasNode(i))return;const t=e.getId(i);return t===1?void 0:t}function zi(i,e){const{needsMask:t,maskTextFn:r,rootId:s,cssCaptured:n}=e,l=M.parentNode(i),a=l&&l.tagName;let o="";const u=a==="STYLE"?!0:void 0,c=a==="SCRIPT"?!0:void 0;return c?o="SCRIPT_PLACEHOLDER":n||(o=M.textContent(i),u&&o&&(o=re(o,dt(e.doc)))),!u&&!c&&o&&t&&(o=r?r(o,M.parentElement(i)):o.replace(/[\S]/g,"*")),{type:g.Text,textContent:o||"",rootId:s}}function Lt(i,e){return Array.from(i.styleSheets).find(t=>t.href===e)}function Wi(i){return i.href}function ji(i,e){const{doc:t,blockClass:r,blockSelector:s,inlineStylesheet:n,maskInputOptions:l={},maskInputFn:a,dataURLOptions:o={},inlineImages:u,recordCanvas:c,keepIframeSrcFn:h,newlyAddedElement:d=!1,rootId:m}=e,x=Di(i,r,s),w=$i(i);let f={};const R=i.attributes.length;for(let p=0;p<R;p++){const b=i.attributes[p];gr(w,b.name,b.value)||(f[b.name]=mr(t,w,le(b.name),b.value))}if(w==="link"&&n){const p=Wi(i);if(p){let b=Lt(t,p);if(!b&&p.includes(".css")){const A=window.location.origin,T=p.replace(window.location.href,""),k=A+"/"+T;b=Lt(t,k)}let N=null;b&&(N=Re(b)),N&&(delete f.rel,delete f.href,f._cssText=N)}}if(w==="style"&&i.sheet){let p=Re(i.sheet);p&&(i.childNodes.length>1&&(p=hr(p,i)),f._cssText=p)}if(w==="input"||w==="textarea"||w==="select"){const p=i.value,b=i.checked;f.type!=="radio"&&f.type!=="checkbox"&&f.type!=="submit"&&f.type!=="button"&&p?f.value=lr({element:i,type:cr(i),tagName:w,value:p,maskInputOptions:l,maskInputFn:a}):b&&(f.checked=b)}if(w==="option"&&(i.selected&&!l.select?f.selected=!0:delete f.selected),w==="dialog"&&i.open)try{f.rr_open_mode=i.matches("dialog:modal")?"modal":"non-modal"}catch(p){f.rr_open_mode="modal",f.ph_rr_could_not_detect_modal=!0}if(w==="canvas"&&c){if(i.__context==="2d")ar(i)||(f.rr_dataURL=i.toDataURL(o.type,o.quality));else if(!("__context"in i)){const p=i.toDataURL(o.type,o.quality),b=t.createElement("canvas");b.width=i.width,b.height=i.height;const N=b.toDataURL(o.type,o.quality);p!==N&&(f.rr_dataURL=p)}}if(w==="img"&&u){j||(j=t.createElement("canvas"),kt=j.getContext("2d"));const p=i,b=p.currentSrc||p.getAttribute("src")||"<unknown-src>",N=p.crossOrigin,A=()=>{p.removeEventListener("load",A);try{j.width=p.naturalWidth,j.height=p.naturalHeight,kt.drawImage(p,0,0),f.rr_dataURL=j.toDataURL(o.type,o.quality)}catch(T){if(p.crossOrigin!=="anonymous"){p.crossOrigin="anonymous",p.complete&&p.naturalWidth!==0?A():p.addEventListener("load",A);return}else console.warn(`Cannot inline img src=${b}! Error: ${T}`)}p.crossOrigin==="anonymous"&&(N?f.crossOrigin=N:p.removeAttribute("crossorigin"))};p.complete&&p.naturalWidth!==0?A():p.addEventListener("load",A)}if(w==="audio"||w==="video"){const p=f;p.rr_mediaState=i.paused?"paused":"played",p.rr_mediaCurrentTime=i.currentTime,p.rr_mediaPlaybackRate=i.playbackRate,p.rr_mediaMuted=i.muted,p.rr_mediaLoop=i.loop,p.rr_mediaVolume=i.volume}if(d||(i.scrollLeft&&(f.rr_scrollLeft=i.scrollLeft),i.scrollTop&&(f.rr_scrollTop=i.scrollTop)),x){const{width:p,height:b}=i.getBoundingClientRect();f={class:f.class,rr_width:`${p}px`,rr_height:`${b}px`}}w==="iframe"&&!h(f.src)&&(i.contentDocument||(f.rr_src=f.src),delete f.src);let O;try{customElements.get(w)&&(O=!0)}catch(p){}return{type:g.Element,tagName:w,attributes:f,childNodes:[],isSVG:Li(i)||void 0,needBlock:x,rootId:m,isCustom:O}}function v(i){return i==null?"":i.toLowerCase()}function Vi(i,e){if(e.comment&&i.type===g.Comment)return!0;if(i.type===g.Element){if(e.script&&(i.tagName==="script"||i.tagName==="link"&&(i.attributes.rel==="preload"||i.attributes.rel==="modulepreload")&&i.attributes.as==="script"||i.tagName==="link"&&i.attributes.rel==="prefetch"&&typeof i.attributes.href=="string"&&pt(i.attributes.href)==="js"))return!0;if(e.headFavicon&&(i.tagName==="link"&&i.attributes.rel==="shortcut icon"||i.tagName==="meta"&&(v(i.attributes.name).match(/^msapplication-tile(image|color)$/)||v(i.attributes.name)==="application-name"||v(i.attributes.rel)==="icon"||v(i.attributes.rel)==="apple-touch-icon"||v(i.attributes.rel)==="shortcut icon")))return!0;if(i.tagName==="meta"){if(e.headMetaDescKeywords&&v(i.attributes.name).match(/^description|keywords$/))return!0;if(e.headMetaSocial&&(v(i.attributes.property).match(/^(og|twitter|fb):/)||v(i.attributes.name).match(/^(og|twitter):/)||v(i.attributes.name)==="pinterest"))return!0;if(e.headMetaRobots&&(v(i.attributes.name)==="robots"||v(i.attributes.name)==="googlebot"||v(i.attributes.name)==="bingbot"))return!0;if(e.headMetaHttpEquiv&&i.attributes["http-equiv"]!==void 0)return!0;if(e.headMetaAuthorship&&(v(i.attributes.name)==="author"||v(i.attributes.name)==="generator"||v(i.attributes.name)==="framework"||v(i.attributes.name)==="publisher"||v(i.attributes.name)==="progid"||v(i.attributes.property).match(/^article:/)||v(i.attributes.property).match(/^product:/)))return!0;if(e.headMetaVerification&&(v(i.attributes.name)==="google-site-verification"||v(i.attributes.name)==="yandex-verification"||v(i.attributes.name)==="csrf-token"||v(i.attributes.name)==="p:domain_verify"||v(i.attributes.name)==="verify-v1"||v(i.attributes.name)==="verification"||v(i.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function G(i,e){const{doc:t,mirror:r,blockClass:s,blockSelector:n,maskTextClass:l,maskTextSelector:a,skipChild:o=!1,inlineStylesheet:u=!0,maskInputOptions:c={},maskTextFn:h,maskInputFn:d,slimDOMOptions:m,dataURLOptions:x={},inlineImages:w=!1,recordCanvas:f=!1,onSerialize:R,onIframeLoad:O,iframeLoadTimeout:p=5e3,onStylesheetLoad:b,stylesheetLoadTimeout:N=5e3,keepIframeSrcFn:A=()=>!1,newlyAddedElement:T=!1,cssCaptured:k=!1}=e;let{needsMask:$}=e,{preserveWhiteSpace:U=!0}=e;$||($=yr(i,l,a,$===void 0));const Y=Bi(i,{doc:t,mirror:r,blockClass:s,blockSelector:n,needsMask:$,inlineStylesheet:u,maskInputOptions:c,maskTextFn:h,maskInputFn:d,dataURLOptions:x,inlineImages:w,recordCanvas:f,keepIframeSrcFn:A,newlyAddedElement:T,cssCaptured:k});if(!Y)return console.warn(i,"not serialized"),null;let K;r.hasNode(i)?K=r.getId(i):Vi(Y,m)||!U&&Y.type===g.Text&&!Y.textContent.replace(/^\s+|\s+$/gm,"").length?K=Ke:K=dr();const C=Object.assign(Y,{id:K});if(r.add(i,C),K===Ke)return null;R&&R(i);let Ue=!o;if(C.type===g.Element){Ue=Ue&&!C.needBlock,delete C.needBlock;const _=M.shadowRoot(i);_&&Ce(_)&&(C.isShadowHost=!0)}if((C.type===g.Document||C.type===g.Element)&&Ue){m.headWhitespace&&C.type===g.Element&&C.tagName==="head"&&(U=!1);const _={doc:t,mirror:r,blockClass:s,blockSelector:n,needsMask:$,maskTextClass:l,maskTextSelector:a,skipChild:o,inlineStylesheet:u,maskInputOptions:c,maskTextFn:h,maskInputFn:d,slimDOMOptions:m,dataURLOptions:x,inlineImages:w,recordCanvas:f,preserveWhiteSpace:U,onSerialize:R,onIframeLoad:O,iframeLoadTimeout:p,onStylesheetLoad:b,stylesheetLoadTimeout:N,keepIframeSrcFn:A,cssCaptured:!1};if(!(C.type===g.Element&&C.tagName==="textarea"&&C.attributes.value!==void 0)){C.type===g.Element&&C.attributes._cssText!==void 0&&typeof C.attributes._cssText=="string"&&(_.cssCaptured=!0);for(const Fe of Array.from(M.childNodes(i))){const W=G(Fe,_);W&&C.childNodes.push(W)}}let z=null;if($e(i)&&(z=M.shadowRoot(i)))for(const Fe of Array.from(M.childNodes(z))){const W=G(Fe,_);W&&(Ce(z)&&(W.isShadow=!0),C.childNodes.push(W))}}const Be=M.parentNode(i);return Be&&tr(Be)&&Ce(Be)&&(C.isShadow=!0),C.type===g.Element&&C.tagName==="iframe"&&Ti(i,()=>{const _=i.contentDocument;if(_&&O){const z=G(_,{doc:_,mirror:r,blockClass:s,blockSelector:n,needsMask:$,maskTextClass:l,maskTextSelector:a,skipChild:!1,inlineStylesheet:u,maskInputOptions:c,maskTextFn:h,maskInputFn:d,slimDOMOptions:m,dataURLOptions:x,inlineImages:w,recordCanvas:f,preserveWhiteSpace:U,onSerialize:R,onIframeLoad:O,iframeLoadTimeout:p,onStylesheetLoad:b,stylesheetLoadTimeout:N,keepIframeSrcFn:A});z&&O(i,z)}},p),C.type===g.Element&&C.tagName==="link"&&typeof C.attributes.rel=="string"&&(C.attributes.rel==="stylesheet"||C.attributes.rel==="preload"&&typeof C.attributes.href=="string"&&pt(C.attributes.href)==="css")&&Ui(i,()=>{if(b){const _=G(i,{doc:t,mirror:r,blockClass:s,blockSelector:n,needsMask:$,maskTextClass:l,maskTextSelector:a,skipChild:!1,inlineStylesheet:u,maskInputOptions:c,maskTextFn:h,maskInputFn:d,slimDOMOptions:m,dataURLOptions:x,inlineImages:w,recordCanvas:f,preserveWhiteSpace:U,onSerialize:R,onIframeLoad:O,iframeLoadTimeout:p,onStylesheetLoad:b,stylesheetLoadTimeout:N,keepIframeSrcFn:A});_&&b(i,_)}},N),C}function Gi(i,e){const{mirror:t=new Pe,blockClass:r="rr-block",blockSelector:s=null,maskTextClass:n="rr-mask",maskTextSelector:l=null,inlineStylesheet:a=!0,inlineImages:o=!1,recordCanvas:u=!1,maskAllInputs:c=!1,maskTextFn:h,maskInputFn:d,slimDOM:m=!1,dataURLOptions:x,preserveWhiteSpace:w,onSerialize:f,onIframeLoad:R,iframeLoadTimeout:O,onStylesheetLoad:p,stylesheetLoadTimeout:b,keepIframeSrcFn:N=()=>!1}=e||{};return G(i,{doc:i,mirror:t,blockClass:r,blockSelector:s,maskTextClass:n,maskTextSelector:l,skipChild:!1,inlineStylesheet:a,maskInputOptions:c===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:c===!1?{password:!0}:c,maskTextFn:h,maskInputFn:d,slimDOMOptions:m===!0||m==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:m==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:m===!1?{}:m,dataURLOptions:x,inlineImages:o,recordCanvas:u,preserveWhiteSpace:w,onSerialize:f,onIframeLoad:R,iframeLoadTimeout:O,onStylesheetLoad:p,stylesheetLoadTimeout:b,keepIframeSrcFn:N,newlyAddedElement:!1})}function Hi(i,e){function t(r){e(r),(r.type===g.Document||r.type===g.Element)&&r.childNodes.forEach(t)}t(i)}function qi(){pr=1}const Ji=/(max|min)-device-(width|height)/,Dt=new RegExp(Ji.source,"g"),Yi={postcssPlugin:"postcss-custom-selectors",prepare(){return{postcssPlugin:"postcss-custom-selectors",AtRule:function(i){i.params.match(Dt)&&(i.params=i.params.replace(Dt,"$1-$2"))}}}},Ki={postcssPlugin:"postcss-hover-classes",prepare:function(){const i=[];return{Rule:function(e){i.indexOf(e)===-1&&(i.push(e),e.selectors.forEach(function(t){t.includes(":hover")&&(e.selector+=`,
15
- `+t.replace(/:hover/g,".\\:hover"))}))}}}};function wr(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}function br(i){if(i.__esModule)return i;var e=i.default;if(typeof e=="function"){var t=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(i).forEach(function(r){var s=Object.getOwnPropertyDescriptor(i,r);Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:function(){return i[r]}})}),t}var mt={exports:{}},y=String,Sr=function(){return{isColorSupported:!1,reset:y,bold:y,dim:y,italic:y,underline:y,inverse:y,hidden:y,strikethrough:y,black:y,red:y,green:y,yellow:y,blue:y,magenta:y,cyan:y,white:y,gray:y,bgBlack:y,bgRed:y,bgGreen:y,bgYellow:y,bgBlue:y,bgMagenta:y,bgCyan:y,bgWhite:y,blackBright:y,redBright:y,greenBright:y,yellowBright:y,blueBright:y,magentaBright:y,cyanBright:y,whiteBright:y,bgBlackBright:y,bgRedBright:y,bgGreenBright:y,bgYellowBright:y,bgBlueBright:y,bgMagentaBright:y,bgCyanBright:y,bgWhiteBright:y}};mt.exports=Sr();mt.exports.createColors=Sr;var Qi=mt.exports;const Zi={},Xi=Object.freeze(Object.defineProperty({__proto__:null,default:Zi},Symbol.toStringTag,{value:"Module"})),P=br(Xi);let Tt=Qi,Ut=P,Qe=class Cr extends Error{constructor(e,t,r,s,n,l){super(e),this.name="CssSyntaxError",this.reason=e,n&&(this.file=n),s&&(this.source=s),l&&(this.plugin=l),typeof t!="undefined"&&typeof r!="undefined"&&(typeof t=="number"?(this.line=t,this.column=r):(this.line=t.line,this.column=t.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,Cr)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line!="undefined"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;e==null&&(e=Tt.isColorSupported);let r=c=>c,s=c=>c,n=c=>c;if(e){let{bold:c,gray:h,red:d}=Tt.createColors(!0);s=m=>c(d(m)),r=m=>h(m),Ut&&(n=m=>Ut(m))}let l=t.split(/\r?\n/),a=Math.max(this.line-3,0),o=Math.min(this.line+2,l.length),u=String(o).length;return l.slice(a,o).map((c,h)=>{let d=a+1+h,m=" "+(" "+d).slice(-u)+" | ";if(d===this.line){if(c.length>160){let w=20,f=Math.max(0,this.column-w),R=Math.max(this.column+w,this.endColumn+w),O=c.slice(f,R),p=r(m.replace(/\d/g," "))+c.slice(0,Math.min(this.column-1,w-1)).replace(/[^\t]/g," ");return s(">")+r(m)+n(O)+`
16
- `+p+s("^")}let x=r(m.replace(/\d/g," "))+c.slice(0,this.column-1).replace(/[^\t]/g," ");return s(">")+r(m)+n(c)+`
17
- `+x+s("^")}return" "+r(m)+n(c)}).join(`
18
- `)}toString(){let e=this.showSourceCode();return e&&(e=`
14
+ "use strict";var Ur=Object.defineProperty,Br=Object.defineProperties;var Fr=Object.getOwnPropertyDescriptors;var re=Object.getOwnPropertySymbols;var gt=Object.prototype.hasOwnProperty,yt=Object.prototype.propertyIsEnumerable;var mt=(e,r,o)=>r in e?Ur(e,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[r]=o,q=(e,r)=>{for(var o in r||(r={}))gt.call(r,o)&&mt(e,o,r[o]);if(re)for(var o of re(r))yt.call(r,o)&&mt(e,o,r[o]);return e},K=(e,r)=>Br(e,Fr(r));var Ce=(e,r)=>{var o={};for(var l in e)gt.call(e,l)&&r.indexOf(l)<0&&(o[l]=e[l]);if(e!=null&&re)for(var l of re(e))r.indexOf(l)<0&&yt.call(e,l)&&(o[l]=e[l]);return o};var zr=Object.defineProperty,qr=(e,r,o)=>r in e?zr(e,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[r]=o,wt=(e,r,o)=>qr(e,typeof r!="symbol"?r+"":r,o);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var A=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(A||{});const bt={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},St={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},ie={};function Wr(e){var r,o;const l=(o=(r=globalThis==null?void 0:globalThis.Zone)==null?void 0:r.__symbol__)==null?void 0:o.call(r,e);if(l&&globalThis[l])return globalThis[l]}function rt(e){if(ie[e])return ie[e];const r=Wr(e)||globalThis[e],o=r.prototype,l=e in bt?bt[e]:void 0,s=!!(l&&l.every(h=>{var m,u;return!!((u=(m=Object.getOwnPropertyDescriptor(o,h))==null?void 0:m.get)!=null&&u.toString().includes("[native code]"))})),c=e in St?St[e]:void 0,a=!!(c&&c.every(h=>{var m;return typeof o[h]=="function"&&((m=o[h])==null?void 0:m.toString().includes("[native code]"))}));if(s&&a)return ie[e]=r.prototype,r.prototype;try{const h=document.createElement("iframe");document.body.appendChild(h);const m=h.contentWindow;if(!m)return r.prototype;const u=m[e].prototype;return document.body.removeChild(h),u?ie[e]=u:o}catch(h){return o}}const ve={};function $(e,r,o){var l;const s=`${e}.${String(o)}`;if(ve[s])return ve[s].call(r);const c=rt(e),a=(l=Object.getOwnPropertyDescriptor(c,o))==null?void 0:l.get;return a?(ve[s]=a,a.call(r)):r[o]}const xe={};function sr(e,r,o){const l=`${e}.${String(o)}`;if(xe[l])return xe[l].bind(r);const c=rt(e)[o];return typeof c!="function"?r[o]:(xe[l]=c,c.bind(r))}function jr(e){return $("Node",e,"childNodes")}function $r(e){return $("Node",e,"parentNode")}function Vr(e){return $("Node",e,"parentElement")}function Gr(e){return $("Node",e,"textContent")}function Hr(e,r){return sr("Node",e,"contains")(r)}function Jr(e){return sr("Node",e,"getRootNode")()}function Yr(e){return!e||!("host"in e)?null:$("ShadowRoot",e,"host")}function Kr(e){return e.styleSheets}function Qr(e){return!e||!("shadowRoot"in e)?null:$("Element",e,"shadowRoot")}function Zr(e,r){return $("Element",e,"querySelector")(r)}function Xr(e,r){return $("Element",e,"querySelectorAll")(r)}function ei(){return rt("MutationObserver").constructor}function ti(e,r,o){try{if(!(r in e))return()=>{};const l=e[r],s=o(l);return typeof s=="function"&&(s.prototype=s.prototype||{},Object.defineProperties(s,{__rrweb_original__:{enumerable:!1,value:l}})),e[r]=s,()=>{e[r]=l}}catch(l){return()=>{}}}const U={childNodes:jr,parentNode:$r,parentElement:Vr,textContent:Gr,contains:Hr,getRootNode:Jr,host:Yr,styleSheets:Kr,shadowRoot:Qr,querySelector:Zr,querySelectorAll:Xr,mutationObserver:ei,patch:ti};function fe(e){return e.nodeType===e.ELEMENT_NODE}function nr(e){const r=e&&"host"in e&&"mode"in e&&U.host(e)||null;return!!(r&&"shadowRoot"in r&&U.shadowRoot(r)===e)}function oe(e){return Object.prototype.toString.call(e)==="[object ShadowRoot]"}function ri(e){return e.includes(" background-clip: text;")&&!e.includes(" -webkit-background-clip: text;")&&(e=e.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),e}function or(e){const{cssText:r}=e;if(r.split('"').length<3)return r;const o=["@import",`url(${JSON.stringify(e.href)})`];return e.layerName===""?o.push("layer"):e.layerName&&o.push(`layer(${e.layerName})`),e.supportsText&&o.push(`supports(${e.supportsText})`),e.media.length&&o.push(e.media.mediaText),o.join(" ")+";"}function ae(e){try{const r=e.rules||e.cssRules;if(!r)return null;let o=e.href;!o&&e.ownerNode&&e.ownerNode.ownerDocument&&(o=e.ownerNode.ownerDocument.location.href);const l=Array.from(r,s=>lr(s,o)).join("");return ri(l)}catch(r){return null}}function lr(e,r){if(ur(e)){let o;try{o=ae(e.styleSheet)||or(e)}catch(l){o=e.cssText}return e.styleSheet.href?Q(o,e.styleSheet.href):o}else{let o=e.cssText;return fr(e)&&e.selectorText.includes(":")&&(o=ar(o)),r?Q(o,r):o}}function ar(e){const r=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(r,"$1\\$2")}function ur(e){return"styleSheet"in e}function fr(e){return"selectorText"in e}class ce{constructor(){wt(this,"idNodeMap",new Map),wt(this,"nodeMetaMap",new WeakMap)}getId(r){var o;if(!r)return-1;const l=(o=this.getMeta(r))==null?void 0:o.id;return l!=null?l:-1}getNode(r){return this.idNodeMap.get(r)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(r){return this.nodeMetaMap.get(r)||null}removeNodeFromMap(r){const o=this.getId(r);this.idNodeMap.delete(o),r.childNodes&&r.childNodes.forEach(l=>this.removeNodeFromMap(l))}has(r){return this.idNodeMap.has(r)}hasNode(r){return this.nodeMetaMap.has(r)}add(r,o){const l=o.id;this.idNodeMap.set(l,r),this.nodeMetaMap.set(r,o)}replace(r,o){const l=this.getNode(r);if(l){const s=this.nodeMetaMap.get(l);s&&this.nodeMetaMap.set(o,s)}this.idNodeMap.set(r,o)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function ii(){return new ce}function cr({element:e,maskInputOptions:r,tagName:o,type:l,value:s,maskInputFn:c}){let a=s||"";const h=l&&Z(l);return(r[o.toLowerCase()]||h&&r[h])&&(c?a=c(a,e):a="*".repeat(a.length)),a}function Z(e){return e.toLowerCase()}const Ct="__rrweb_original__";function hr(e){const r=e.getContext("2d");if(!r)return!0;const o=50;for(let l=0;l<e.width;l+=o)for(let s=0;s<e.height;s+=o){const c=r.getImageData,a=Ct in c?c[Ct]:c;if(new Uint32Array(a.call(r,l,s,Math.min(o,e.width-l),Math.min(o,e.height-s)).data.buffer).some(m=>m!==0))return!1}return!0}function pr(e,r){return!e||!r||e.type!==r.type?!1:e.type===A.Document?e.compatMode===r.compatMode:e.type===A.DocumentType?e.name===r.name&&e.publicId===r.publicId&&e.systemId===r.systemId:e.type===A.Comment||e.type===A.Text||e.type===A.CDATA?e.textContent===r.textContent:e.type===A.Element?e.tagName===r.tagName&&JSON.stringify(e.attributes)===JSON.stringify(r.attributes)&&e.isSVG===r.isSVG&&e.needBlock===r.needBlock:!1}function dr(e){const r=e.type;return e.hasAttribute("data-rr-is-password")?"password":r?Z(r):null}function he(e,r){var c;let o;try{o=new URL(e,r!=null?r:window.location.href)}catch(a){return null}const l=/\.([0-9a-z]+)(?:$)/i,s=o.pathname.match(l);return(c=s==null?void 0:s[1])!=null?c:null}function si(e){let r="";return e.indexOf("//")>-1?r=e.split("/").slice(0,3).join("/"):r=e.split("/")[0],r=r.split("?")[0],r}const ni=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,oi=/^(?:[a-z+]+:)?\/\//i,li=/^www\..*/i,ai=/^(data:)([^,]*),(.*)/i;function Q(e,r){return(e||"").replace(ni,(o,l,s,c,a,h)=>{const m=s||a||h,u=l||c||"";if(!m)return o;if(oi.test(m)||li.test(m))return`url(${u}${m}${u})`;if(ai.test(m))return`url(${u}${m}${u})`;if(m[0]==="/")return`url(${u}${si(r)+m}${u})`;const t=r.split("/"),f=m.split("/");t.pop();for(const n of f)n!=="."&&(n===".."?t.pop():t.push(n));return`url(${u}${t.join("/")}${u})`})}const Re=new Map,Ee=new Map;function le(e){if(!Re.has(e)){const r=e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,"");Re.set(e,r)}return Re.get(e)}function mr(e,r){const o=e;if(Ee.has(e))return Ee.get(e);const l=Array.from(r.childNodes),s=[];let c=0;if(l.length>1&&e&&typeof e=="string"){let a=le(e);const h=a.length/e.length;for(let m=1;m<l.length;m++)if(l[m].textContent&&typeof l[m].textContent=="string"){const u=le(l[m].textContent);let t=3;for(;t<u.length&&(u[t].match(/[a-zA-Z0-9]/)||u.indexOf(u.substring(0,t),1)!==-1);t++);for(;t<u.length;t++){const f=u.substring(0,t),n=a.split(f);let i=-1;if(n.length===2?i=a.indexOf(f):n.length>2&&n[0]===""&&l[m-1].textContent!==""&&(i=a.indexOf(f,1)),i!==-1){let d=Math.floor(i/h);for(;d>0&&d<e.length;){if(c+=1,c>50*l.length)return s.push(e),s;const p=le(e.substring(0,d));if(p.length===i){s.push(e.substring(0,d)),e=e.substring(d),a=a.substring(i);break}else p.length<i?d+=Math.max(1,Math.floor((i-p.length)/h)):d-=Math.max(1,Math.floor((p.length-i)*h))}break}}}}return s.push(e),o&&Ee.set(o,s),s}function gr(e,r){return mr(e,r).join("/* rr_split */")}let yr=1;const ui=new RegExp("[^a-z0-9-_:]"),tt=-2;function wr(){return yr++}function fi(e){if(e instanceof HTMLFormElement)return"form";const r=Z(e.tagName);return ui.test(r)?"div":r}let H,vt;const ci=/^[^ \t\n\r\u000c]+/,hi=/^[, \t\n\r\u000c]+/;function pi(e,r){if(r.trim()==="")return r;let o=0;function l(c){let a;const h=c.exec(r.substring(o));return h?(a=h[0],o+=a.length,a):""}const s=[];for(;l(hi),!(o>=r.length);){let c=l(ci);if(c.slice(-1)===",")c=J(e,c.substring(0,c.length-1)),s.push(c);else{let a="";c=J(e,c);let h=!1;for(;;){const m=r.charAt(o);if(m===""){s.push((c+a).trim());break}else if(h)m===")"&&(h=!1);else if(m===","){o+=1,s.push((c+a).trim());break}else m==="("&&(h=!0);a+=m,o+=1}}}return s.join(", ")}const xt=new WeakMap;function J(e,r){return!r||r.trim()===""?r:it(e,r)}function di(e){return!!(e.tagName==="svg"||e.ownerSVGElement)}function it(e,r){let o=xt.get(e);if(o||(o=e.createElement("a"),xt.set(e,o)),!r)r="";else if(r.startsWith("blob:")||r.startsWith("data:"))return r;return o.setAttribute("href",r),o.href}function br(e,r,o,l){return l&&(o==="src"||o==="href"&&!(r==="use"&&l[0]==="#")||o==="xlink:href"&&l[0]!=="#"||o==="background"&&(r==="table"||r==="td"||r==="th")?J(e,l):o==="srcset"?pi(e,l):o==="style"?Q(l,it(e)):r==="object"&&o==="data"?J(e,l):l)}function Sr(e,r,o){return(e==="video"||e==="audio")&&r==="autoplay"}function mi(e,r,o){try{if(typeof r=="string"){if(e.classList.contains(r))return!0}else for(let l=e.classList.length;l--;){const s=e.classList[l];if(r.test(s))return!0}if(o)return e.matches(o)}catch(l){}return!1}function ue(e,r,o){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return o?ue(U.parentNode(e),r,o):!1;for(let l=e.classList.length;l--;){const s=e.classList[l];if(r.test(s))return!0}return o?ue(U.parentNode(e),r,o):!1}function Cr(e,r,o,l){let s;if(fe(e)){if(s=e,!U.childNodes(s).length)return!1}else{if(U.parentElement(e)===null)return!1;s=U.parentElement(e)}try{if(typeof r=="string"){if(l){if(s.closest(`.${r}`))return!0}else if(s.classList.contains(r))return!0}else if(ue(s,r,l))return!0;if(o){if(l){if(s.closest(o))return!0}else if(s.matches(o))return!0}}catch(c){}return!1}function gi(e,r,o){const l=e.contentWindow;if(!l)return;let s=!1,c;try{c=l.document.readyState}catch(h){return}if(c!=="complete"){const h=setTimeout(()=>{s||(r(),s=!0)},o);e.addEventListener("load",()=>{clearTimeout(h),s=!0,r()});return}const a="about:blank";if(l.location.href!==a||e.src===a||e.src==="")return setTimeout(r,0),e.addEventListener("load",r);e.addEventListener("load",r)}function yi(e,r,o){let l=!1,s;try{s=e.sheet}catch(a){return}if(s)return;const c=setTimeout(()=>{l||(r(),l=!0)},o);e.addEventListener("load",()=>{clearTimeout(c),l=!0,r()})}function wi(e,r){const{doc:o,mirror:l,blockClass:s,blockSelector:c,needsMask:a,inlineStylesheet:h,maskInputOptions:m={},maskTextFn:u,maskInputFn:t,dataURLOptions:f={},inlineImages:n,recordCanvas:i,keepIframeSrcFn:d,newlyAddedElement:p=!1,cssCaptured:g=!1}=r,C=bi(o,l);switch(e.nodeType){case e.DOCUMENT_NODE:return e.compatMode!=="CSS1Compat"?{type:A.Document,childNodes:[],compatMode:e.compatMode}:{type:A.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:A.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:C};case e.ELEMENT_NODE:return vi(e,{doc:o,blockClass:s,blockSelector:c,inlineStylesheet:h,maskInputOptions:m,maskInputFn:t,dataURLOptions:f,inlineImages:n,recordCanvas:i,keepIframeSrcFn:d,newlyAddedElement:p,rootId:C});case e.TEXT_NODE:return Si(e,{doc:o,needsMask:a,maskTextFn:u,rootId:C,cssCaptured:g});case e.CDATA_SECTION_NODE:return{type:A.CDATA,textContent:"",rootId:C};case e.COMMENT_NODE:return{type:A.Comment,textContent:U.textContent(e)||"",rootId:C};default:return!1}}function bi(e,r){if(!r.hasNode(e))return;const o=r.getId(e);return o===1?void 0:o}function Si(e,r){const{needsMask:o,maskTextFn:l,rootId:s,cssCaptured:c}=r,a=U.parentNode(e),h=a&&a.tagName;let m="";const u=h==="STYLE"?!0:void 0,t=h==="SCRIPT"?!0:void 0;return t?m="SCRIPT_PLACEHOLDER":c||(m=U.textContent(e),u&&m&&(m=Q(m,it(r.doc)))),!u&&!t&&m&&o&&(m=l?l(m,U.parentElement(e)):m.replace(/[\S]/g,"*")),{type:A.Text,textContent:m||"",rootId:s}}function Rt(e,r){return Array.from(e.styleSheets).find(o=>o.href===r)}function Ci(e){return e.href}function vi(e,r){const{doc:o,blockClass:l,blockSelector:s,inlineStylesheet:c,maskInputOptions:a={},maskInputFn:h,dataURLOptions:m={},inlineImages:u,recordCanvas:t,keepIframeSrcFn:f,newlyAddedElement:n=!1,rootId:i}=r,d=mi(e,l,s),p=fi(e);let g={};const C=e.attributes.length;for(let y=0;y<C;y++){const v=e.attributes[y];Sr(p,v.name,v.value)||(g[v.name]=br(o,p,Z(v.name),v.value))}if(p==="link"&&c){const y=Ci(e);if(y){let v=Rt(o,y);if(!v&&y.includes(".css")){const w=window.location.origin,x=y.replace(window.location.href,""),E=w+"/"+x;v=Rt(o,E)}let b=null;v&&(b=ae(v)),b&&(delete g.rel,delete g.href,g._cssText=b)}}if(p==="style"&&e.sheet){let y=ae(e.sheet);y&&(e.childNodes.length>1&&(y=gr(y,e)),g._cssText=y)}if(p==="input"||p==="textarea"||p==="select"){const y=e.value,v=e.checked;g.type!=="radio"&&g.type!=="checkbox"&&g.type!=="submit"&&g.type!=="button"&&y?g.value=cr({element:e,type:dr(e),tagName:p,value:y,maskInputOptions:a,maskInputFn:h}):v&&(g.checked=v)}if(p==="option"&&(e.selected&&!a.select?g.selected=!0:delete g.selected),p==="dialog"&&e.open)try{g.rr_open_mode=e.matches("dialog:modal")?"modal":"non-modal"}catch(y){g.rr_open_mode="modal",g.ph_rr_could_not_detect_modal=!0}if(p==="canvas"&&t){if(e.__context==="2d")hr(e)||(g.rr_dataURL=e.toDataURL(m.type,m.quality));else if(!("__context"in e)){const y=e.toDataURL(m.type,m.quality),v=o.createElement("canvas");v.width=e.width,v.height=e.height;const b=v.toDataURL(m.type,m.quality);y!==b&&(g.rr_dataURL=y)}}if(p==="img"&&u){H||(H=o.createElement("canvas"),vt=H.getContext("2d"));const y=e,v=y.currentSrc||y.getAttribute("src")||"<unknown-src>",b=y.crossOrigin,w=()=>{y.removeEventListener("load",w);try{H.width=y.naturalWidth,H.height=y.naturalHeight,vt.drawImage(y,0,0),g.rr_dataURL=H.toDataURL(m.type,m.quality)}catch(x){if(y.crossOrigin!=="anonymous"){y.crossOrigin="anonymous",y.complete&&y.naturalWidth!==0?w():y.addEventListener("load",w);return}else console.warn(`Cannot inline img src=${v}! Error: ${x}`)}y.crossOrigin==="anonymous"&&(b?g.crossOrigin=b:y.removeAttribute("crossorigin"))};y.complete&&y.naturalWidth!==0?w():y.addEventListener("load",w)}if(p==="audio"||p==="video"){const y=g;y.rr_mediaState=e.paused?"paused":"played",y.rr_mediaCurrentTime=e.currentTime,y.rr_mediaPlaybackRate=e.playbackRate,y.rr_mediaMuted=e.muted,y.rr_mediaLoop=e.loop,y.rr_mediaVolume=e.volume}if(n||(e.scrollLeft&&(g.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(g.rr_scrollTop=e.scrollTop)),d){const{width:y,height:v}=e.getBoundingClientRect();g={class:g.class,rr_width:`${y}px`,rr_height:`${v}px`}}p==="iframe"&&!f(g.src)&&(e.contentDocument||(g.rr_src=g.src),delete g.src);let S;try{customElements.get(p)&&(S=!0)}catch(y){}return{type:A.Element,tagName:p,attributes:g,childNodes:[],isSVG:di(e)||void 0,needBlock:d,rootId:i,isCustom:S}}function k(e){return e==null?"":e.toLowerCase()}function xi(e,r){if(r.comment&&e.type===A.Comment)return!0;if(e.type===A.Element){if(r.script&&(e.tagName==="script"||e.tagName==="link"&&(e.attributes.rel==="preload"&&e.attributes.as==="script"||e.attributes.rel==="modulepreload")||e.tagName==="link"&&e.attributes.rel==="prefetch"&&typeof e.attributes.href=="string"&&he(e.attributes.href)==="js"))return!0;if(r.headFavicon&&(e.tagName==="link"&&e.attributes.rel==="shortcut icon"||e.tagName==="meta"&&(k(e.attributes.name).match(/^msapplication-tile(image|color)$/)||k(e.attributes.name)==="application-name"||k(e.attributes.rel)==="icon"||k(e.attributes.rel)==="apple-touch-icon"||k(e.attributes.rel)==="shortcut icon")))return!0;if(e.tagName==="meta"){if(r.headMetaDescKeywords&&k(e.attributes.name).match(/^description|keywords$/))return!0;if(r.headMetaSocial&&(k(e.attributes.property).match(/^(og|twitter|fb):/)||k(e.attributes.name).match(/^(og|twitter):/)||k(e.attributes.name)==="pinterest"))return!0;if(r.headMetaRobots&&(k(e.attributes.name)==="robots"||k(e.attributes.name)==="googlebot"||k(e.attributes.name)==="bingbot"))return!0;if(r.headMetaHttpEquiv&&e.attributes["http-equiv"]!==void 0)return!0;if(r.headMetaAuthorship&&(k(e.attributes.name)==="author"||k(e.attributes.name)==="generator"||k(e.attributes.name)==="framework"||k(e.attributes.name)==="publisher"||k(e.attributes.name)==="progid"||k(e.attributes.property).match(/^article:/)||k(e.attributes.property).match(/^product:/)))return!0;if(r.headMetaVerification&&(k(e.attributes.name)==="google-site-verification"||k(e.attributes.name)==="yandex-verification"||k(e.attributes.name)==="csrf-token"||k(e.attributes.name)==="p:domain_verify"||k(e.attributes.name)==="verify-v1"||k(e.attributes.name)==="verification"||k(e.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function Y(e,r){const{doc:o,mirror:l,blockClass:s,blockSelector:c,maskTextClass:a,maskTextSelector:h,skipChild:m=!1,inlineStylesheet:u=!0,maskInputOptions:t={},maskTextFn:f,maskInputFn:n,slimDOMOptions:i,dataURLOptions:d={},inlineImages:p=!1,recordCanvas:g=!1,onSerialize:C,onIframeLoad:S,iframeLoadTimeout:y=5e3,onStylesheetLoad:v,stylesheetLoadTimeout:b=5e3,keepIframeSrcFn:w=()=>!1,newlyAddedElement:x=!1,cssCaptured:E=!1}=r;let{needsMask:N}=r,{preserveWhiteSpace:O=!0}=r;N||(N=Cr(e,a,h,N===void 0));const L=wi(e,{doc:o,mirror:l,blockClass:s,blockSelector:c,needsMask:N,inlineStylesheet:u,maskInputOptions:t,maskTextFn:f,maskInputFn:n,dataURLOptions:d,inlineImages:p,recordCanvas:g,keepIframeSrcFn:w,newlyAddedElement:x,cssCaptured:E});if(!L)return console.warn(e,"not serialized"),null;let P;l.hasNode(e)?P=l.getId(e):xi(L,i)||!O&&L.type===A.Text&&!L.textContent.replace(/^\s+|\s+$/gm,"").length?P=tt:P=wr();const _=Object.assign(L,{id:P});if(l.add(e,_),P===tt)return null;C&&C(e);let W=!m;if(_.type===A.Element){W=W&&!_.needBlock,delete _.needBlock;const T=U.shadowRoot(e);T&&oe(T)&&(_.isShadowHost=!0)}if((_.type===A.Document||_.type===A.Element)&&W){i.headWhitespace&&_.type===A.Element&&_.tagName==="head"&&(O=!1);const T={doc:o,mirror:l,blockClass:s,blockSelector:c,needsMask:N,maskTextClass:a,maskTextSelector:h,skipChild:m,inlineStylesheet:u,maskInputOptions:t,maskTextFn:f,maskInputFn:n,slimDOMOptions:i,dataURLOptions:d,inlineImages:p,recordCanvas:g,preserveWhiteSpace:O,onSerialize:C,onIframeLoad:S,iframeLoadTimeout:y,onStylesheetLoad:v,stylesheetLoadTimeout:b,keepIframeSrcFn:w,cssCaptured:!1};if(!(_.type===A.Element&&_.tagName==="textarea"&&_.attributes.value!==void 0)){_.type===A.Element&&_.attributes._cssText!==void 0&&typeof _.attributes._cssText=="string"&&(T.cssCaptured=!0);for(const F of Array.from(U.childNodes(e))){const B=Y(F,T);B&&_.childNodes.push(B)}}let D=null;if(fe(e)&&(D=U.shadowRoot(e)))for(const F of Array.from(U.childNodes(D))){const B=Y(F,T);B&&(oe(D)&&(B.isShadow=!0),_.childNodes.push(B))}}const R=U.parentNode(e);return R&&nr(R)&&oe(R)&&(_.isShadow=!0),_.type===A.Element&&_.tagName==="iframe"&&gi(e,()=>{const T=e.contentDocument;if(T&&S){const D=Y(T,{doc:T,mirror:l,blockClass:s,blockSelector:c,needsMask:N,maskTextClass:a,maskTextSelector:h,skipChild:!1,inlineStylesheet:u,maskInputOptions:t,maskTextFn:f,maskInputFn:n,slimDOMOptions:i,dataURLOptions:d,inlineImages:p,recordCanvas:g,preserveWhiteSpace:O,onSerialize:C,onIframeLoad:S,iframeLoadTimeout:y,onStylesheetLoad:v,stylesheetLoadTimeout:b,keepIframeSrcFn:w});D&&S(e,D)}},y),_.type===A.Element&&_.tagName==="link"&&typeof _.attributes.rel=="string"&&(_.attributes.rel==="stylesheet"||_.attributes.rel==="preload"&&typeof _.attributes.href=="string"&&he(_.attributes.href)==="css")&&yi(e,()=>{if(v){const T=Y(e,{doc:o,mirror:l,blockClass:s,blockSelector:c,needsMask:N,maskTextClass:a,maskTextSelector:h,skipChild:!1,inlineStylesheet:u,maskInputOptions:t,maskTextFn:f,maskInputFn:n,slimDOMOptions:i,dataURLOptions:d,inlineImages:p,recordCanvas:g,preserveWhiteSpace:O,onSerialize:C,onIframeLoad:S,iframeLoadTimeout:y,onStylesheetLoad:v,stylesheetLoadTimeout:b,keepIframeSrcFn:w});T&&v(e,T)}},b),_}function Ri(e,r){const{mirror:o=new ce,blockClass:l="rr-block",blockSelector:s=null,maskTextClass:c="rr-mask",maskTextSelector:a=null,inlineStylesheet:h=!0,inlineImages:m=!1,recordCanvas:u=!1,maskAllInputs:t=!1,maskTextFn:f,maskInputFn:n,slimDOM:i=!1,dataURLOptions:d,preserveWhiteSpace:p,onSerialize:g,onIframeLoad:C,iframeLoadTimeout:S,onStylesheetLoad:y,stylesheetLoadTimeout:v,keepIframeSrcFn:b=()=>!1}=r||{};return Y(e,{doc:e,mirror:o,blockClass:l,blockSelector:s,maskTextClass:c,maskTextSelector:a,skipChild:!1,inlineStylesheet:h,maskInputOptions:t===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:t===!1?{password:!0}:t,maskTextFn:f,maskInputFn:n,slimDOMOptions:i===!0||i==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:i==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:i===!1?{}:i,dataURLOptions:d,inlineImages:m,recordCanvas:u,preserveWhiteSpace:p,onSerialize:g,onIframeLoad:C,iframeLoadTimeout:S,onStylesheetLoad:y,stylesheetLoadTimeout:v,keepIframeSrcFn:b,newlyAddedElement:!1})}function Ei(e,r){function o(l){r(l),(l.type===A.Document||l.type===A.Element)&&l.childNodes.forEach(o)}o(e)}function Oi(){yr=1}const Ni=/(max|min)-device-(width|height)/,Et=new RegExp(Ni.source,"g"),Mi={postcssPlugin:"postcss-custom-selectors",prepare(){return{postcssPlugin:"postcss-custom-selectors",AtRule:function(e){e.params.match(Et)&&(e.params=e.params.replace(Et,"$1-$2"))}}}},Ai={postcssPlugin:"postcss-hover-classes",prepare:function(){const e=[];return{Rule:function(r){e.indexOf(r)===-1&&(e.push(r),r.selectors.forEach(function(o){o.includes(":hover")&&(r.selector+=`,
15
+ `+o.replace(/:hover/g,".\\:hover"))}))}}}};function vr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function _i(e){if(e.__esModule)return e;var r=e.default;if(typeof r=="function"){var o=function l(){return this instanceof l?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};o.prototype=r.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(e).forEach(function(l){var s=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(o,l,s.get?s:{enumerable:!0,get:function(){return e[l]}})}),o}var se={exports:{}},Ot;function Pi(){if(Ot)return se.exports;Ot=1;var e=String,r=function(){return{isColorSupported:!1,reset:e,bold:e,dim:e,italic:e,underline:e,inverse:e,hidden:e,strikethrough:e,black:e,red:e,green:e,yellow:e,blue:e,magenta:e,cyan:e,white:e,gray:e,bgBlack:e,bgRed:e,bgGreen:e,bgYellow:e,bgBlue:e,bgMagenta:e,bgCyan:e,bgWhite:e,blackBright:e,redBright:e,greenBright:e,yellowBright:e,blueBright:e,magentaBright:e,cyanBright:e,whiteBright:e,bgBlackBright:e,bgRedBright:e,bgGreenBright:e,bgYellowBright:e,bgBlueBright:e,bgMagentaBright:e,bgCyanBright:e,bgWhiteBright:e}};return se.exports=r(),se.exports.createColors=r,se.exports}const ki={},Ii=Object.freeze(Object.defineProperty({__proto__:null,default:ki},Symbol.toStringTag,{value:"Module"})),z=_i(Ii);var Oe,Nt;function st(){if(Nt)return Oe;Nt=1;let e=Pi(),r=z;class o extends Error{constructor(s,c,a,h,m,u){super(s),this.name="CssSyntaxError",this.reason=s,m&&(this.file=m),h&&(this.source=h),u&&(this.plugin=u),typeof c!="undefined"&&typeof a!="undefined"&&(typeof c=="number"?(this.line=c,this.column=a):(this.line=c.line,this.column=c.column,this.endLine=a.line,this.endColumn=a.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,o)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line!="undefined"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(s){if(!this.source)return"";let c=this.source;s==null&&(s=e.isColorSupported);let a=i=>i,h=i=>i,m=i=>i;if(s){let{bold:i,gray:d,red:p}=e.createColors(!0);h=g=>i(p(g)),a=g=>d(g),r&&(m=g=>r(g))}let u=c.split(/\r?\n/),t=Math.max(this.line-3,0),f=Math.min(this.line+2,u.length),n=String(f).length;return u.slice(t,f).map((i,d)=>{let p=t+1+d,g=" "+(" "+p).slice(-n)+" | ";if(p===this.line){if(i.length>160){let S=20,y=Math.max(0,this.column-S),v=Math.max(this.column+S,this.endColumn+S),b=i.slice(y,v),w=a(g.replace(/\d/g," "))+i.slice(0,Math.min(this.column-1,S-1)).replace(/[^\t]/g," ");return h(">")+a(g)+m(b)+`
16
+ `+w+h("^")}let C=a(g.replace(/\d/g," "))+i.slice(0,this.column-1).replace(/[^\t]/g," ");return h(">")+a(g)+m(i)+`
17
+ `+C+h("^")}return" "+a(g)+m(i)}).join(`
18
+ `)}toString(){let s=this.showSourceCode();return s&&(s=`
19
19
 
20
- `+e+`
21
- `),this.name+": "+this.message+e}};var gt=Qe;Qe.default=Qe;const Bt={after:`
20
+ `+s+`
21
+ `),this.name+": "+this.message+s}}return Oe=o,o.default=o,Oe}var Ne,Mt;function xr(){if(Mt)return Ne;Mt=1;const e={after:`
22
22
  `,beforeClose:`
23
23
  `,beforeComment:`
24
24
  `,beforeDecl:`
25
25
  `,beforeOpen:" ",beforeRule:`
26
- `,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function es(i){return i[0].toUpperCase()+i.slice(1)}let Ze=class{constructor(e){this.builder=e}atrule(e,t){let r="@"+e.name,s=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName!="undefined"?r+=e.raws.afterName:s&&(r+=" "),e.nodes)this.block(e,r+s);else{let n=(e.raws.between||"")+(t?";":"");this.builder(r+s+n,e)}}beforeAfter(e,t){let r;e.type==="decl"?r=this.raw(e,null,"beforeDecl"):e.type==="comment"?r=this.raw(e,null,"beforeComment"):t==="before"?r=this.raw(e,null,"beforeRule"):r=this.raw(e,null,"beforeClose");let s=e.parent,n=0;for(;s&&s.type!=="root";)n+=1,s=s.parent;if(r.includes(`
27
- `)){let l=this.raw(e,null,"indent");if(l.length)for(let a=0;a<n;a++)r+=l}return r}block(e,t){let r=this.raw(e,"between","beforeOpen");this.builder(t+r+"{",e,"start");let s;e.nodes&&e.nodes.length?(this.body(e),s=this.raw(e,"after")):s=this.raw(e,"after","emptyBody"),s&&this.builder(s),this.builder("}",e,"end")}body(e){let t=e.nodes.length-1;for(;t>0&&e.nodes[t].type==="comment";)t-=1;let r=this.raw(e,"semicolon");for(let s=0;s<e.nodes.length;s++){let n=e.nodes[s],l=this.raw(n,"before");l&&this.builder(l),this.stringify(n,t!==s||r)}}comment(e){let t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon"),s=e.prop+r+this.rawValue(e,"value");e.important&&(s+=e.raws.important||" !important"),t&&(s+=";"),this.builder(s,e)}document(e){this.body(e)}raw(e,t,r){let s;if(r||(r=t),t&&(s=e.raws[t],typeof s!="undefined"))return s;let n=e.parent;if(r==="before"&&(!n||n.type==="root"&&n.first===e||n&&n.type==="document"))return"";if(!n)return Bt[r];let l=e.root();if(l.rawCache||(l.rawCache={}),typeof l.rawCache[r]!="undefined")return l.rawCache[r];if(r==="before"||r==="after")return this.beforeAfter(e,r);{let a="raw"+es(r);this[a]?s=this[a](l,e):l.walk(o=>{if(s=o.raws[t],typeof s!="undefined")return!1})}return typeof s=="undefined"&&(s=Bt[r]),l.rawCache[r]=s,s}rawBeforeClose(e){let t;return e.walk(r=>{if(r.nodes&&r.nodes.length>0&&typeof r.raws.after!="undefined")return t=r.raws.after,t.includes(`
28
- `)&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){let r;return e.walkComments(s=>{if(typeof s.raws.before!="undefined")return r=s.raws.before,r.includes(`
29
- `)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r=="undefined"?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,t){let r;return e.walkDecls(s=>{if(typeof s.raws.before!="undefined")return r=s.raws.before,r.includes(`
30
- `)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r=="undefined"?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(e){let t;return e.walk(r=>{if(r.type!=="decl"&&(t=r.raws.between,typeof t!="undefined"))return!1}),t}rawBeforeRule(e){let t;return e.walk(r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&typeof r.raws.before!="undefined")return t=r.raws.before,t.includes(`
31
- `)&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls(r=>{if(typeof r.raws.between!="undefined")return t=r.raws.between.replace(/[^\s:]/g,""),!1}),t}rawEmptyBody(e){let t;return e.walk(r=>{if(r.nodes&&r.nodes.length===0&&(t=r.raws.after,typeof t!="undefined"))return!1}),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk(r=>{let s=r.parent;if(s&&s!==e&&s.parent&&s.parent===e&&typeof r.raws.before!="undefined"){let n=r.raws.before.split(`
32
- `);return t=n[n.length-1],t=t.replace(/\S/g,""),!1}}),t}rawSemicolon(e){let t;return e.walk(r=>{if(r.nodes&&r.nodes.length&&r.last.type==="decl"&&(t=r.raws.semicolon,typeof t!="undefined"))return!1}),t}rawValue(e,t){let r=e[t],s=e.raws[t];return s&&s.value===r?s.raw:r}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}};var xr=Ze;Ze.default=Ze;let ts=xr;function Xe(i,e){new ts(e).stringify(i)}var ke=Xe;Xe.default=Xe;var ae={};ae.isClean=Symbol("isClean");ae.my=Symbol("my");let rs=gt,is=xr,ss=ke,{isClean:Z,my:ns}=ae;function et(i,e){let t=new i.constructor;for(let r in i){if(!Object.prototype.hasOwnProperty.call(i,r)||r==="proxyCache")continue;let s=i[r],n=typeof s;r==="parent"&&n==="object"?e&&(t[r]=e):r==="source"?t[r]=s:Array.isArray(s)?t[r]=s.map(l=>et(l,t)):(n==="object"&&s!==null&&(s=et(s)),t[r]=s)}return t}function X(i,e){if(e&&typeof e.offset!="undefined")return e.offset;let t=1,r=1,s=0;for(let n=0;n<i.length;n++){if(r===e.line&&t===e.column){s=n;break}i[n]===`
33
- `?(t=1,r+=1):t+=1}return s}let tt=class{constructor(e={}){this.raws={},this[Z]=!1,this[ns]=!0;for(let t in e)if(t==="nodes"){this.nodes=[];for(let r of e[t])typeof r.clone=="function"?this.append(r.clone()):this.append(r)}else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=et(this);for(let r in e)t[r]=e[r];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:r,start:s}=this.rangeBy(t);return this.source.input.error(e,{column:s.column,line:s.line},{column:r.column,line:r.line},t)}return new rs(e)}getProxyProcessor(){return{get(e,t){return t==="proxyOf"?e:t==="root"?()=>e.root().toProxy():e[t]},set(e,t,r){return e[t]===r||(e[t]=r,(t==="prop"||t==="value"||t==="name"||t==="params"||t==="important"||t==="text")&&e.markDirty()),!0}}}markClean(){this[Z]=!0}markDirty(){if(this[Z]){this[Z]=!1;let e=this;for(;e=e.parent;)e[Z]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let r="document"in this.source.input?this.source.input.document:this.source.input.css,n=r.slice(X(r,this.source.start),X(r,this.source.end)).indexOf(e.word);n!==-1&&(t=this.positionInside(n))}return t}positionInside(e){let t=this.source.start.column,r=this.source.start.line,s="document"in this.source.input?this.source.input.document:this.source.input.css,n=X(s,this.source.start),l=n+e;for(let a=n;a<l;a++)s[a]===`
34
- `?(t=1,r+=1):t+=1;return{column:t,line:r}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){let s="document"in this.source.input?this.source.input.document:this.source.input.css,l=s.slice(X(s,this.source.start),X(s,this.source.end)).indexOf(e.word);l!==-1&&(t=this.positionInside(l),r=this.positionInside(l+e.word.length))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:typeof e.endIndex=="number"?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={column:t.column+1,line:t.line}),{end:r,start:t}}raw(e,t){return new is().raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,r=!1;for(let s of e)s===this?r=!0:r?(this.parent.insertAfter(t,s),t=s):this.parent.insertBefore(t,s);r||this.remove()}return this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}toJSON(e,t){let r={},s=t==null;t=t||new Map;let n=0;for(let l in this){if(!Object.prototype.hasOwnProperty.call(this,l)||l==="parent"||l==="proxyCache")continue;let a=this[l];if(Array.isArray(a))r[l]=a.map(o=>typeof o=="object"&&o.toJSON?o.toJSON(null,t):o);else if(typeof a=="object"&&a.toJSON)r[l]=a.toJSON(null,t);else if(l==="source"){let o=t.get(a.input);o==null&&(o=n,t.set(a.input,n),n++),r[l]={end:a.end,inputId:o,start:a.start}}else r[l]=a}return s&&(r.inputs=[...t.keys()].map(l=>l.toJSON())),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=ss){e.stringify&&(e=e.stringify);let t="";return e(this,r=>{t+=r}),t}warn(e,t,r){let s={node:this};for(let n in r)s[n]=r[n];return e.warn(t,s)}get proxyOf(){return this}};var Ie=tt;tt.default=tt;let os=Ie,rt=class extends os{constructor(e){super(e),this.type="comment"}};var ue=rt;rt.default=rt;let ls=Ie,it=class extends ls{constructor(e){e&&typeof e.value!="undefined"&&typeof e.value!="string"&&(e=Q(L({},e),{value:String(e.value)})),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};var Le=it;it.default=it;let vr=ue,Er=Le,as=Ie,{isClean:Rr,my:Or}=ae,yt,Nr,Mr,wt;function Ar(i){return i.map(e=>(e.nodes&&(e.nodes=Ar(e.nodes)),delete e.source,e))}function _r(i){if(i[Rr]=!1,i.proxyOf.nodes)for(let e of i.proxyOf.nodes)_r(e)}let D=class $r extends as{append(...e){for(let t of e){let r=this.normalize(t,this.last);for(let s of r)this.proxyOf.nodes.push(s)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t=this.getIterator(),r,s;for(;this.indexes[t]<this.proxyOf.nodes.length&&(r=this.indexes[t],s=e(this.proxyOf.nodes[r],r),s!==!1);)this.indexes[t]+=1;return delete this.indexes[t],s}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get(e,t){return t==="proxyOf"?e:e[t]?t==="each"||typeof t=="string"&&t.startsWith("walk")?(...r)=>e[t](...r.map(s=>typeof s=="function"?(n,l)=>s(n.toProxy(),l):s)):t==="every"||t==="some"?r=>e[t]((s,...n)=>r(s.toProxy(),...n)):t==="root"?()=>e.root().toProxy():t==="nodes"?e.nodes.map(r=>r.toProxy()):t==="first"||t==="last"?e[t].toProxy():e[t]:e[t]},set(e,t,r){return e[t]===r||(e[t]=r,(t==="name"||t==="params"||t==="selector")&&e.markDirty()),!0}}}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let r=this.index(e),s=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let l of s)this.proxyOf.nodes.splice(r+1,0,l);let n;for(let l in this.indexes)n=this.indexes[l],r<n&&(this.indexes[l]=n+s.length);return this.markDirty(),this}insertBefore(e,t){let r=this.index(e),s=r===0?"prepend":!1,n=this.normalize(t,this.proxyOf.nodes[r],s).reverse();r=this.index(e);for(let a of n)this.proxyOf.nodes.splice(r,0,a);let l;for(let a in this.indexes)l=this.indexes[a],r<=l&&(this.indexes[a]=l+n.length);return this.markDirty(),this}normalize(e,t){if(typeof e=="string")e=Ar(Nr(e).nodes);else if(typeof e=="undefined")e=[];else if(Array.isArray(e)){e=e.slice(0);for(let s of e)s.parent&&s.parent.removeChild(s,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let s of e)s.parent&&s.parent.removeChild(s,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value=="undefined")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new Er(e)]}else if(e.selector||e.selectors)e=[new wt(e)];else if(e.name)e=[new yt(e)];else if(e.text)e=[new vr(e)];else throw new Error("Unknown node type in node creation");return e.map(s=>(s[Or]||$r.rebuild(s),s=s.proxyOf,s.parent&&s.parent.removeChild(s),s[Rr]&&_r(s),s.raws||(s.raws={}),typeof s.raws.before=="undefined"&&t&&typeof t.raws.before!="undefined"&&(s.raws.before=t.raws.before.replace(/\S/g,"")),s.parent=this.proxyOf,s))}prepend(...e){e=e.reverse();for(let t of e){let r=this.normalize(t,this.first,"prepend").reverse();for(let s of r)this.proxyOf.nodes.unshift(s);for(let s in this.indexes)this.indexes[s]=this.indexes[s]+r.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let t;for(let r in this.indexes)t=this.indexes[r],t>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls(s=>{t.props&&!t.props.includes(s.prop)||t.fast&&!s.value.includes(t.fast)||(s.value=s.value.replace(e,r))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((t,r)=>{let s;try{s=e(t,r)}catch(n){throw t.addToError(n)}return s!==!1&&t.walk&&(s=t.walk(e)),s})}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="atrule"&&e.test(r.name))return t(r,s)}):this.walk((r,s)=>{if(r.type==="atrule"&&r.name===e)return t(r,s)}):(t=e,this.walk((r,s)=>{if(r.type==="atrule")return t(r,s)}))}walkComments(e){return this.walk((t,r)=>{if(t.type==="comment")return e(t,r)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="decl"&&e.test(r.prop))return t(r,s)}):this.walk((r,s)=>{if(r.type==="decl"&&r.prop===e)return t(r,s)}):(t=e,this.walk((r,s)=>{if(r.type==="decl")return t(r,s)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="rule"&&e.test(r.selector))return t(r,s)}):this.walk((r,s)=>{if(r.type==="rule"&&r.selector===e)return t(r,s)}):(t=e,this.walk((r,s)=>{if(r.type==="rule")return t(r,s)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};D.registerParse=i=>{Nr=i};D.registerRule=i=>{wt=i};D.registerAtRule=i=>{yt=i};D.registerRoot=i=>{Mr=i};var F=D;D.default=D;D.rebuild=i=>{i.type==="atrule"?Object.setPrototypeOf(i,yt.prototype):i.type==="rule"?Object.setPrototypeOf(i,wt.prototype):i.type==="decl"?Object.setPrototypeOf(i,Er.prototype):i.type==="comment"?Object.setPrototypeOf(i,vr.prototype):i.type==="root"&&Object.setPrototypeOf(i,Mr.prototype),i[Or]=!0,i.nodes&&i.nodes.forEach(e=>{D.rebuild(e)})};let Pr=F,Ne=class extends Pr{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};var bt=Ne;Ne.default=Ne;Pr.registerAtRule(Ne);let us=F,kr,Ir,ie=class extends us{constructor(e){super(L({type:"document"},e)),this.nodes||(this.nodes=[])}toResult(e={}){return new kr(new Ir,this,e).stringify()}};ie.registerLazyResult=i=>{kr=i};ie.registerProcessor=i=>{Ir=i};var St=ie;ie.default=ie;let cs="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",fs=(i,e=21)=>(t=e)=>{let r="",s=t|0;for(;s--;)r+=i[Math.random()*i.length|0];return r},hs=(i=21)=>{let e="",t=i|0;for(;t--;)e+=cs[Math.random()*64|0];return e};var ps={nanoid:hs,customAlphabet:fs};let{existsSync:ds,readFileSync:ms}=P,{dirname:He,join:gs}=P,{SourceMapConsumer:Ft,SourceMapGenerator:zt}=P;function ys(i){return Buffer?Buffer.from(i,"base64").toString():window.atob(i)}let st=class{constructor(e,t){if(t.map===!1)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let r=t.map?t.map.prev:void 0,s=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=He(this.mapFile)),s&&(this.text=s)}consumer(){return this.consumerCache||(this.consumerCache=new Ft(this.text)),this.consumerCache}decodeInline(e){let t=/^data:application\/json;charset=utf-?8;base64,/,r=/^data:application\/json;base64,/,s=/^data:application\/json;charset=utf-?8,/,n=/^data:application\/json,/,l=e.match(s)||e.match(n);if(l)return decodeURIComponent(e.substr(l[0].length));let a=e.match(t)||e.match(r);if(a)return ys(e.substr(a[0].length));let o=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+o)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return typeof e!="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/g);if(!t)return;let r=e.lastIndexOf(t.pop()),s=e.indexOf("*/",r);r>-1&&s>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,s)))}loadFile(e){if(this.root=He(e),ds(e))return this.mapFile=e,ms(e,"utf-8").toString().trim()}loadMap(e,t){if(t===!1)return!1;if(t){if(typeof t=="string")return t;if(typeof t=="function"){let r=t(e);if(r){let s=this.loadFile(r);if(!s)throw new Error("Unable to load previous source map: "+r.toString());return s}}else{if(t instanceof Ft)return zt.fromSourceMap(t).toString();if(t instanceof zt)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let r=this.annotation;return e&&(r=gs(He(e),r)),this.loadFile(r)}}}startWith(e,t){return e?e.substr(0,t.length)===t:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};var Lr=st;st.default=st;let{nanoid:ws}=ps,{isAbsolute:nt,resolve:ot}=P,{SourceMapConsumer:bs,SourceMapGenerator:Ss}=P,{fileURLToPath:Wt,pathToFileURL:pe}=P,jt=gt,Cs=Lr,qe=P,Je=Symbol("fromOffsetCache"),xs=!!(bs&&Ss),Vt=!!(ot&&nt),Me=class{constructor(e,t={}){if(e===null||typeof e=="undefined"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,t.document&&(this.document=t.document.toString()),t.from&&(!Vt||/^\w+:\/\//.test(t.from)||nt(t.from)?this.file=t.from:this.file=ot(t.from)),Vt&&xs){let r=new Cs(this.css,t);if(r.text){this.map=r;let s=r.consumer().file;!this.file&&s&&(this.file=this.mapResolve(s))}}this.file||(this.id="<input css "+ws(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,r,s={}){let n,l,a;if(t&&typeof t=="object"){let u=t,c=r;if(typeof u.offset=="number"){let h=this.fromOffset(u.offset);t=h.line,r=h.col}else t=u.line,r=u.column;if(typeof c.offset=="number"){let h=this.fromOffset(c.offset);l=h.line,n=h.col}else l=c.line,n=c.column}else if(!r){let u=this.fromOffset(t);t=u.line,r=u.col}let o=this.origin(t,r,l,n);return o?a=new jt(e,o.endLine===void 0?o.line:{column:o.column,line:o.line},o.endLine===void 0?o.column:{column:o.endColumn,line:o.endLine},o.source,o.file,s.plugin):a=new jt(e,l===void 0?t:{column:r,line:t},l===void 0?r:{column:n,line:l},this.css,this.file,s.plugin),a.input={column:r,endColumn:n,endLine:l,line:t,source:this.css},this.file&&(pe&&(a.input.url=pe(this.file).toString()),a.input.file=this.file),a}fromOffset(e){let t,r;if(this[Je])r=this[Je];else{let n=this.css.split(`
35
- `);r=new Array(n.length);let l=0;for(let a=0,o=n.length;a<o;a++)r[a]=l,l+=n[a].length+1;this[Je]=r}t=r[r.length-1];let s=0;if(e>=t)s=r.length-1;else{let n=r.length-2,l;for(;s<n;)if(l=s+(n-s>>1),e<r[l])n=l-1;else if(e>=r[l+1])s=l+1;else{s=l;break}}return{col:e-r[s]+1,line:s+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:ot(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,r,s){if(!this.map)return!1;let n=this.map.consumer(),l=n.originalPositionFor({column:t,line:e});if(!l.source)return!1;let a;typeof r=="number"&&(a=n.originalPositionFor({column:s,line:r}));let o;nt(l.source)?o=pe(l.source):o=new URL(l.source,this.map.consumer().sourceRoot||pe(this.map.mapFile));let u={column:l.column,endColumn:a&&a.column,endLine:a&&a.line,line:l.line,url:o.toString()};if(o.protocol==="file:")if(Wt)u.file=Wt(o);else throw new Error("file: protocol is not available in this PostCSS build");let c=n.sourceContentFor(l.source);return c&&(u.source=c),u}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])this[t]!=null&&(e[t]=this[t]);return this.map&&(e.map=L({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e}get from(){return this.file||this.id}};var De=Me;Me.default=Me;qe&&qe.registerInput&&qe.registerInput(Me);let Dr=F,Tr,Ur,H=class extends Dr{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,r){let s=super.normalize(e);if(t){if(r==="prepend")this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let n of s)n.raws.before=t.raws.before}return s}removeChild(e,t){let r=this.index(e);return!t&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}toResult(e={}){return new Tr(new Ur,this,e).stringify()}};H.registerLazyResult=i=>{Tr=i};H.registerProcessor=i=>{Ur=i};var ce=H;H.default=H;Dr.registerRoot(H);let se={comma(i){return se.split(i,[","],!0)},space(i){let e=[" ",`
36
- `," "];return se.split(i,e)},split(i,e,t){let r=[],s="",n=!1,l=0,a=!1,o="",u=!1;for(let c of i)u?u=!1:c==="\\"?u=!0:a?c===o&&(a=!1):c==='"'||c==="'"?(a=!0,o=c):c==="("?l+=1:c===")"?l>0&&(l-=1):l===0&&e.includes(c)&&(n=!0),n?(s!==""&&r.push(s.trim()),s="",n=!1):s+=c;return(t||s!=="")&&r.push(s.trim()),r}};var Br=se;se.default=se;let Fr=F,vs=Br,Ae=class extends Fr{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return vs.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}};var Ct=Ae;Ae.default=Ae;Fr.registerRule(Ae);let Es=bt,Rs=ue,Os=Le,Ns=De,Ms=Lr,As=ce,_s=Ct;function ne(i,e){if(Array.isArray(i))return i.map(l=>ne(l));let s=i,{inputs:t}=s,r=ze(s,["inputs"]);if(t){e=[];for(let l of t){let a=Q(L({},l),{__proto__:Ns.prototype});a.map&&(a.map=Q(L({},a.map),{__proto__:Ms.prototype})),e.push(a)}}if(r.nodes&&(r.nodes=i.nodes.map(l=>ne(l,e))),r.source){let n=r.source,{inputId:l}=n,a=ze(n,["inputId"]);r.source=a,l!=null&&(r.source.input=e[l])}if(r.type==="root")return new As(r);if(r.type==="decl")return new Os(r);if(r.type==="rule")return new _s(r);if(r.type==="comment")return new Rs(r);if(r.type==="atrule")return new Es(r);throw new Error("Unknown node type: "+i.type)}var $s=ne;ne.default=ne;let{dirname:ve,relative:zr,resolve:Wr,sep:jr}=P,{SourceMapConsumer:Vr,SourceMapGenerator:Ee}=P,{pathToFileURL:Gt}=P,Ps=De,ks=!!(Vr&&Ee),Is=!!(ve&&Wr&&zr&&jr),Ls=class{constructor(e,t,r,s){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=s,this.originalCSS=s,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;this.isInline()?e="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?e=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?e=this.mapOpts.annotation(this.opts.to,this.root):e=this.outputFile()+".map";let t=`
26
+ `,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function r(l){return l[0].toUpperCase()+l.slice(1)}class o{constructor(s){this.builder=s}atrule(s,c){let a="@"+s.name,h=s.params?this.rawValue(s,"params"):"";if(typeof s.raws.afterName!="undefined"?a+=s.raws.afterName:h&&(a+=" "),s.nodes)this.block(s,a+h);else{let m=(s.raws.between||"")+(c?";":"");this.builder(a+h+m,s)}}beforeAfter(s,c){let a;s.type==="decl"?a=this.raw(s,null,"beforeDecl"):s.type==="comment"?a=this.raw(s,null,"beforeComment"):c==="before"?a=this.raw(s,null,"beforeRule"):a=this.raw(s,null,"beforeClose");let h=s.parent,m=0;for(;h&&h.type!=="root";)m+=1,h=h.parent;if(a.includes(`
27
+ `)){let u=this.raw(s,null,"indent");if(u.length)for(let t=0;t<m;t++)a+=u}return a}block(s,c){let a=this.raw(s,"between","beforeOpen");this.builder(c+a+"{",s,"start");let h;s.nodes&&s.nodes.length?(this.body(s),h=this.raw(s,"after")):h=this.raw(s,"after","emptyBody"),h&&this.builder(h),this.builder("}",s,"end")}body(s){let c=s.nodes.length-1;for(;c>0&&s.nodes[c].type==="comment";)c-=1;let a=this.raw(s,"semicolon");for(let h=0;h<s.nodes.length;h++){let m=s.nodes[h],u=this.raw(m,"before");u&&this.builder(u),this.stringify(m,c!==h||a)}}comment(s){let c=this.raw(s,"left","commentLeft"),a=this.raw(s,"right","commentRight");this.builder("/*"+c+s.text+a+"*/",s)}decl(s,c){let a=this.raw(s,"between","colon"),h=s.prop+a+this.rawValue(s,"value");s.important&&(h+=s.raws.important||" !important"),c&&(h+=";"),this.builder(h,s)}document(s){this.body(s)}raw(s,c,a){let h;if(a||(a=c),c&&(h=s.raws[c],typeof h!="undefined"))return h;let m=s.parent;if(a==="before"&&(!m||m.type==="root"&&m.first===s||m&&m.type==="document"))return"";if(!m)return e[a];let u=s.root();if(u.rawCache||(u.rawCache={}),typeof u.rawCache[a]!="undefined")return u.rawCache[a];if(a==="before"||a==="after")return this.beforeAfter(s,a);{let t="raw"+r(a);this[t]?h=this[t](u,s):u.walk(f=>{if(h=f.raws[c],typeof h!="undefined")return!1})}return typeof h=="undefined"&&(h=e[a]),u.rawCache[a]=h,h}rawBeforeClose(s){let c;return s.walk(a=>{if(a.nodes&&a.nodes.length>0&&typeof a.raws.after!="undefined")return c=a.raws.after,c.includes(`
28
+ `)&&(c=c.replace(/[^\n]+$/,"")),!1}),c&&(c=c.replace(/\S/g,"")),c}rawBeforeComment(s,c){let a;return s.walkComments(h=>{if(typeof h.raws.before!="undefined")return a=h.raws.before,a.includes(`
29
+ `)&&(a=a.replace(/[^\n]+$/,"")),!1}),typeof a=="undefined"?a=this.raw(c,null,"beforeDecl"):a&&(a=a.replace(/\S/g,"")),a}rawBeforeDecl(s,c){let a;return s.walkDecls(h=>{if(typeof h.raws.before!="undefined")return a=h.raws.before,a.includes(`
30
+ `)&&(a=a.replace(/[^\n]+$/,"")),!1}),typeof a=="undefined"?a=this.raw(c,null,"beforeRule"):a&&(a=a.replace(/\S/g,"")),a}rawBeforeOpen(s){let c;return s.walk(a=>{if(a.type!=="decl"&&(c=a.raws.between,typeof c!="undefined"))return!1}),c}rawBeforeRule(s){let c;return s.walk(a=>{if(a.nodes&&(a.parent!==s||s.first!==a)&&typeof a.raws.before!="undefined")return c=a.raws.before,c.includes(`
31
+ `)&&(c=c.replace(/[^\n]+$/,"")),!1}),c&&(c=c.replace(/\S/g,"")),c}rawColon(s){let c;return s.walkDecls(a=>{if(typeof a.raws.between!="undefined")return c=a.raws.between.replace(/[^\s:]/g,""),!1}),c}rawEmptyBody(s){let c;return s.walk(a=>{if(a.nodes&&a.nodes.length===0&&(c=a.raws.after,typeof c!="undefined"))return!1}),c}rawIndent(s){if(s.raws.indent)return s.raws.indent;let c;return s.walk(a=>{let h=a.parent;if(h&&h!==s&&h.parent&&h.parent===s&&typeof a.raws.before!="undefined"){let m=a.raws.before.split(`
32
+ `);return c=m[m.length-1],c=c.replace(/\S/g,""),!1}}),c}rawSemicolon(s){let c;return s.walk(a=>{if(a.nodes&&a.nodes.length&&a.last.type==="decl"&&(c=a.raws.semicolon,typeof c!="undefined"))return!1}),c}rawValue(s,c){let a=s[c],h=s.raws[c];return h&&h.value===a?h.raw:a}root(s){this.body(s),s.raws.after&&this.builder(s.raws.after)}rule(s){this.block(s,this.rawValue(s,"selector")),s.raws.ownSemicolon&&this.builder(s.raws.ownSemicolon,s,"end")}stringify(s,c){if(!this[s.type])throw new Error("Unknown AST node type "+s.type+". Maybe you need to change PostCSS stringifier.");this[s.type](s,c)}}return Ne=o,o.default=o,Ne}var Me,At;function pe(){if(At)return Me;At=1;let e=xr();function r(o,l){new e(l).stringify(o)}return Me=r,r.default=r,Me}var ne={},_t;function nt(){return _t||(_t=1,ne.isClean=Symbol("isClean"),ne.my=Symbol("my")),ne}var Ae,Pt;function de(){if(Pt)return Ae;Pt=1;let e=st(),r=xr(),o=pe(),{isClean:l,my:s}=nt();function c(m,u){let t=new m.constructor;for(let f in m){if(!Object.prototype.hasOwnProperty.call(m,f)||f==="proxyCache")continue;let n=m[f],i=typeof n;f==="parent"&&i==="object"?u&&(t[f]=u):f==="source"?t[f]=n:Array.isArray(n)?t[f]=n.map(d=>c(d,t)):(i==="object"&&n!==null&&(n=c(n)),t[f]=n)}return t}function a(m,u){if(u&&typeof u.offset!="undefined")return u.offset;let t=1,f=1,n=0;for(let i=0;i<m.length;i++){if(f===u.line&&t===u.column){n=i;break}m[i]===`
33
+ `?(t=1,f+=1):t+=1}return n}class h{constructor(u={}){this.raws={},this[l]=!1,this[s]=!0;for(let t in u)if(t==="nodes"){this.nodes=[];for(let f of u[t])typeof f.clone=="function"?this.append(f.clone()):this.append(f)}else this[t]=u[t]}addToError(u){if(u.postcssNode=this,u.stack&&this.source&&/\n\s{4}at /.test(u.stack)){let t=this.source;u.stack=u.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return u}after(u){return this.parent.insertAfter(this,u),this}assign(u={}){for(let t in u)this[t]=u[t];return this}before(u){return this.parent.insertBefore(this,u),this}cleanRaws(u){delete this.raws.before,delete this.raws.after,u||delete this.raws.between}clone(u={}){let t=c(this);for(let f in u)t[f]=u[f];return t}cloneAfter(u={}){let t=this.clone(u);return this.parent.insertAfter(this,t),t}cloneBefore(u={}){let t=this.clone(u);return this.parent.insertBefore(this,t),t}error(u,t={}){if(this.source){let{end:f,start:n}=this.rangeBy(t);return this.source.input.error(u,{column:n.column,line:n.line},{column:f.column,line:f.line},t)}return new e(u)}getProxyProcessor(){return{get(u,t){return t==="proxyOf"?u:t==="root"?()=>u.root().toProxy():u[t]},set(u,t,f){return u[t]===f||(u[t]=f,(t==="prop"||t==="value"||t==="name"||t==="params"||t==="important"||t==="text")&&u.markDirty()),!0}}}markClean(){this[l]=!0}markDirty(){if(this[l]){this[l]=!1;let u=this;for(;u=u.parent;)u[l]=!1}}next(){if(!this.parent)return;let u=this.parent.index(this);return this.parent.nodes[u+1]}positionBy(u){let t=this.source.start;if(u.index)t=this.positionInside(u.index);else if(u.word){let f="document"in this.source.input?this.source.input.document:this.source.input.css,i=f.slice(a(f,this.source.start),a(f,this.source.end)).indexOf(u.word);i!==-1&&(t=this.positionInside(i))}return t}positionInside(u){let t=this.source.start.column,f=this.source.start.line,n="document"in this.source.input?this.source.input.document:this.source.input.css,i=a(n,this.source.start),d=i+u;for(let p=i;p<d;p++)n[p]===`
34
+ `?(t=1,f+=1):t+=1;return{column:t,line:f}}prev(){if(!this.parent)return;let u=this.parent.index(this);return this.parent.nodes[u-1]}rangeBy(u){let t={column:this.source.start.column,line:this.source.start.line},f=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(u.word){let n="document"in this.source.input?this.source.input.document:this.source.input.css,d=n.slice(a(n,this.source.start),a(n,this.source.end)).indexOf(u.word);d!==-1&&(t=this.positionInside(d),f=this.positionInside(d+u.word.length))}else u.start?t={column:u.start.column,line:u.start.line}:u.index&&(t=this.positionInside(u.index)),u.end?f={column:u.end.column,line:u.end.line}:typeof u.endIndex=="number"?f=this.positionInside(u.endIndex):u.index&&(f=this.positionInside(u.index+1));return(f.line<t.line||f.line===t.line&&f.column<=t.column)&&(f={column:t.column+1,line:t.line}),{end:f,start:t}}raw(u,t){return new r().raw(this,u,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...u){if(this.parent){let t=this,f=!1;for(let n of u)n===this?f=!0:f?(this.parent.insertAfter(t,n),t=n):this.parent.insertBefore(t,n);f||this.remove()}return this}root(){let u=this;for(;u.parent&&u.parent.type!=="document";)u=u.parent;return u}toJSON(u,t){let f={},n=t==null;t=t||new Map;let i=0;for(let d in this){if(!Object.prototype.hasOwnProperty.call(this,d)||d==="parent"||d==="proxyCache")continue;let p=this[d];if(Array.isArray(p))f[d]=p.map(g=>typeof g=="object"&&g.toJSON?g.toJSON(null,t):g);else if(typeof p=="object"&&p.toJSON)f[d]=p.toJSON(null,t);else if(d==="source"){let g=t.get(p.input);g==null&&(g=i,t.set(p.input,i),i++),f[d]={end:p.end,inputId:g,start:p.start}}else f[d]=p}return n&&(f.inputs=[...t.keys()].map(d=>d.toJSON())),f}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(u=o){u.stringify&&(u=u.stringify);let t="";return u(this,f=>{t+=f}),t}warn(u,t,f){let n={node:this};for(let i in f)n[i]=f[i];return u.warn(t,n)}get proxyOf(){return this}}return Ae=h,h.default=h,Ae}var _e,kt;function X(){if(kt)return _e;kt=1;let e=de();class r extends e{constructor(l){super(l),this.type="comment"}}return _e=r,r.default=r,_e}var Pe,It;function me(){if(It)return Pe;It=1;let e=de();class r extends e{constructor(l){l&&typeof l.value!="undefined"&&typeof l.value!="string"&&(l=K(q({},l),{value:String(l.value)})),super(l),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}return Pe=r,r.default=r,Pe}var ke,Lt;function V(){if(Lt)return ke;Lt=1;let e=X(),r=me(),o=de(),{isClean:l,my:s}=nt(),c,a,h,m;function u(n){return n.map(i=>(i.nodes&&(i.nodes=u(i.nodes)),delete i.source,i))}function t(n){if(n[l]=!1,n.proxyOf.nodes)for(let i of n.proxyOf.nodes)t(i)}class f extends o{append(...i){for(let d of i){let p=this.normalize(d,this.last);for(let g of p)this.proxyOf.nodes.push(g)}return this.markDirty(),this}cleanRaws(i){if(super.cleanRaws(i),this.nodes)for(let d of this.nodes)d.cleanRaws(i)}each(i){if(!this.proxyOf.nodes)return;let d=this.getIterator(),p,g;for(;this.indexes[d]<this.proxyOf.nodes.length&&(p=this.indexes[d],g=i(this.proxyOf.nodes[p],p),g!==!1);)this.indexes[d]+=1;return delete this.indexes[d],g}every(i){return this.nodes.every(i)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let i=this.lastEach;return this.indexes[i]=0,i}getProxyProcessor(){return{get(i,d){return d==="proxyOf"?i:i[d]?d==="each"||typeof d=="string"&&d.startsWith("walk")?(...p)=>i[d](...p.map(g=>typeof g=="function"?(C,S)=>g(C.toProxy(),S):g)):d==="every"||d==="some"?p=>i[d]((g,...C)=>p(g.toProxy(),...C)):d==="root"?()=>i.root().toProxy():d==="nodes"?i.nodes.map(p=>p.toProxy()):d==="first"||d==="last"?i[d].toProxy():i[d]:i[d]},set(i,d,p){return i[d]===p||(i[d]=p,(d==="name"||d==="params"||d==="selector")&&i.markDirty()),!0}}}index(i){return typeof i=="number"?i:(i.proxyOf&&(i=i.proxyOf),this.proxyOf.nodes.indexOf(i))}insertAfter(i,d){let p=this.index(i),g=this.normalize(d,this.proxyOf.nodes[p]).reverse();p=this.index(i);for(let S of g)this.proxyOf.nodes.splice(p+1,0,S);let C;for(let S in this.indexes)C=this.indexes[S],p<C&&(this.indexes[S]=C+g.length);return this.markDirty(),this}insertBefore(i,d){let p=this.index(i),g=p===0?"prepend":!1,C=this.normalize(d,this.proxyOf.nodes[p],g).reverse();p=this.index(i);for(let y of C)this.proxyOf.nodes.splice(p,0,y);let S;for(let y in this.indexes)S=this.indexes[y],p<=S&&(this.indexes[y]=S+C.length);return this.markDirty(),this}normalize(i,d){if(typeof i=="string")i=u(a(i).nodes);else if(typeof i=="undefined")i=[];else if(Array.isArray(i)){i=i.slice(0);for(let g of i)g.parent&&g.parent.removeChild(g,"ignore")}else if(i.type==="root"&&this.type!=="document"){i=i.nodes.slice(0);for(let g of i)g.parent&&g.parent.removeChild(g,"ignore")}else if(i.type)i=[i];else if(i.prop){if(typeof i.value=="undefined")throw new Error("Value field is missed in node creation");typeof i.value!="string"&&(i.value=String(i.value)),i=[new r(i)]}else if(i.selector||i.selectors)i=[new m(i)];else if(i.name)i=[new c(i)];else if(i.text)i=[new e(i)];else throw new Error("Unknown node type in node creation");return i.map(g=>(g[s]||f.rebuild(g),g=g.proxyOf,g.parent&&g.parent.removeChild(g),g[l]&&t(g),g.raws||(g.raws={}),typeof g.raws.before=="undefined"&&d&&typeof d.raws.before!="undefined"&&(g.raws.before=d.raws.before.replace(/\S/g,"")),g.parent=this.proxyOf,g))}prepend(...i){i=i.reverse();for(let d of i){let p=this.normalize(d,this.first,"prepend").reverse();for(let g of p)this.proxyOf.nodes.unshift(g);for(let g in this.indexes)this.indexes[g]=this.indexes[g]+p.length}return this.markDirty(),this}push(i){return i.parent=this,this.proxyOf.nodes.push(i),this}removeAll(){for(let i of this.proxyOf.nodes)i.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(i){i=this.index(i),this.proxyOf.nodes[i].parent=void 0,this.proxyOf.nodes.splice(i,1);let d;for(let p in this.indexes)d=this.indexes[p],d>=i&&(this.indexes[p]=d-1);return this.markDirty(),this}replaceValues(i,d,p){return p||(p=d,d={}),this.walkDecls(g=>{d.props&&!d.props.includes(g.prop)||d.fast&&!g.value.includes(d.fast)||(g.value=g.value.replace(i,p))}),this.markDirty(),this}some(i){return this.nodes.some(i)}walk(i){return this.each((d,p)=>{let g;try{g=i(d,p)}catch(C){throw d.addToError(C)}return g!==!1&&d.walk&&(g=d.walk(i)),g})}walkAtRules(i,d){return d?i instanceof RegExp?this.walk((p,g)=>{if(p.type==="atrule"&&i.test(p.name))return d(p,g)}):this.walk((p,g)=>{if(p.type==="atrule"&&p.name===i)return d(p,g)}):(d=i,this.walk((p,g)=>{if(p.type==="atrule")return d(p,g)}))}walkComments(i){return this.walk((d,p)=>{if(d.type==="comment")return i(d,p)})}walkDecls(i,d){return d?i instanceof RegExp?this.walk((p,g)=>{if(p.type==="decl"&&i.test(p.prop))return d(p,g)}):this.walk((p,g)=>{if(p.type==="decl"&&p.prop===i)return d(p,g)}):(d=i,this.walk((p,g)=>{if(p.type==="decl")return d(p,g)}))}walkRules(i,d){return d?i instanceof RegExp?this.walk((p,g)=>{if(p.type==="rule"&&i.test(p.selector))return d(p,g)}):this.walk((p,g)=>{if(p.type==="rule"&&p.selector===i)return d(p,g)}):(d=i,this.walk((p,g)=>{if(p.type==="rule")return d(p,g)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}return f.registerParse=n=>{a=n},f.registerRule=n=>{m=n},f.registerAtRule=n=>{c=n},f.registerRoot=n=>{h=n},ke=f,f.default=f,f.rebuild=n=>{n.type==="atrule"?Object.setPrototypeOf(n,c.prototype):n.type==="rule"?Object.setPrototypeOf(n,m.prototype):n.type==="decl"?Object.setPrototypeOf(n,r.prototype):n.type==="comment"?Object.setPrototypeOf(n,e.prototype):n.type==="root"&&Object.setPrototypeOf(n,h.prototype),n[s]=!0,n.nodes&&n.nodes.forEach(i=>{f.rebuild(i)})},ke}var Ie,Dt;function ot(){if(Dt)return Ie;Dt=1;let e=V();class r extends e{constructor(l){super(l),this.type="atrule"}append(...l){return this.proxyOf.nodes||(this.nodes=[]),super.append(...l)}prepend(...l){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...l)}}return Ie=r,r.default=r,e.registerAtRule(r),Ie}var Le,Tt;function lt(){if(Tt)return Le;Tt=1;let e=V(),r,o;class l extends e{constructor(c){super(q({type:"document"},c)),this.nodes||(this.nodes=[])}toResult(c={}){return new r(new o,this,c).stringify()}}return l.registerLazyResult=s=>{r=s},l.registerProcessor=s=>{o=s},Le=l,l.default=l,Le}var De,Ut;function Li(){if(Ut)return De;Ut=1;let e="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";return De={nanoid:(l=21)=>{let s="",c=l|0;for(;c--;)s+=e[Math.random()*64|0];return s},customAlphabet:(l,s=21)=>(c=s)=>{let a="",h=c|0;for(;h--;)a+=l[Math.random()*l.length|0];return a}},De}var Te,Bt;function Rr(){if(Bt)return Te;Bt=1;let{existsSync:e,readFileSync:r}=z,{dirname:o,join:l}=z,{SourceMapConsumer:s,SourceMapGenerator:c}=z;function a(m){return Buffer?Buffer.from(m,"base64").toString():window.atob(m)}class h{constructor(u,t){if(t.map===!1)return;this.loadAnnotation(u),this.inline=this.startWith(this.annotation,"data:");let f=t.map?t.map.prev:void 0,n=this.loadMap(t.from,f);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=o(this.mapFile)),n&&(this.text=n)}consumer(){return this.consumerCache||(this.consumerCache=new s(this.text)),this.consumerCache}decodeInline(u){let t=/^data:application\/json;charset=utf-?8;base64,/,f=/^data:application\/json;base64,/,n=/^data:application\/json;charset=utf-?8,/,i=/^data:application\/json,/,d=u.match(n)||u.match(i);if(d)return decodeURIComponent(u.substr(d[0].length));let p=u.match(t)||u.match(f);if(p)return a(u.substr(p[0].length));let g=u.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+g)}getAnnotationURL(u){return u.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(u){return typeof u!="object"?!1:typeof u.mappings=="string"||typeof u._mappings=="string"||Array.isArray(u.sections)}loadAnnotation(u){let t=u.match(/\/\*\s*# sourceMappingURL=/g);if(!t)return;let f=u.lastIndexOf(t.pop()),n=u.indexOf("*/",f);f>-1&&n>-1&&(this.annotation=this.getAnnotationURL(u.substring(f,n)))}loadFile(u){if(this.root=o(u),e(u))return this.mapFile=u,r(u,"utf-8").toString().trim()}loadMap(u,t){if(t===!1)return!1;if(t){if(typeof t=="string")return t;if(typeof t=="function"){let f=t(u);if(f){let n=this.loadFile(f);if(!n)throw new Error("Unable to load previous source map: "+f.toString());return n}}else{if(t instanceof s)return c.fromSourceMap(t).toString();if(t instanceof c)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let f=this.annotation;return u&&(f=l(o(u),f)),this.loadFile(f)}}}startWith(u,t){return u?u.substr(0,t.length)===t:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return Te=h,h.default=h,Te}var Ue,Ft;function ge(){if(Ft)return Ue;Ft=1;let{nanoid:e}=Li(),{isAbsolute:r,resolve:o}=z,{SourceMapConsumer:l,SourceMapGenerator:s}=z,{fileURLToPath:c,pathToFileURL:a}=z,h=st(),m=Rr(),u=z,t=Symbol("fromOffsetCache"),f=!!(l&&s),n=!!(o&&r);class i{constructor(p,g={}){if(p===null||typeof p=="undefined"||typeof p=="object"&&!p.toString)throw new Error(`PostCSS received ${p} instead of CSS string`);if(this.css=p.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,g.document&&(this.document=g.document.toString()),g.from&&(!n||/^\w+:\/\//.test(g.from)||r(g.from)?this.file=g.from:this.file=o(g.from)),n&&f){let C=new m(this.css,g);if(C.text){this.map=C;let S=C.consumer().file;!this.file&&S&&(this.file=this.mapResolve(S))}}this.file||(this.id="<input css "+e(6)+">"),this.map&&(this.map.file=this.from)}error(p,g,C,S={}){let y,v,b;if(g&&typeof g=="object"){let x=g,E=C;if(typeof x.offset=="number"){let N=this.fromOffset(x.offset);g=N.line,C=N.col}else g=x.line,C=x.column;if(typeof E.offset=="number"){let N=this.fromOffset(E.offset);v=N.line,y=N.col}else v=E.line,y=E.column}else if(!C){let x=this.fromOffset(g);g=x.line,C=x.col}let w=this.origin(g,C,v,y);return w?b=new h(p,w.endLine===void 0?w.line:{column:w.column,line:w.line},w.endLine===void 0?w.column:{column:w.endColumn,line:w.endLine},w.source,w.file,S.plugin):b=new h(p,v===void 0?g:{column:C,line:g},v===void 0?C:{column:y,line:v},this.css,this.file,S.plugin),b.input={column:C,endColumn:y,endLine:v,line:g,source:this.css},this.file&&(a&&(b.input.url=a(this.file).toString()),b.input.file=this.file),b}fromOffset(p){let g,C;if(this[t])C=this[t];else{let y=this.css.split(`
35
+ `);C=new Array(y.length);let v=0;for(let b=0,w=y.length;b<w;b++)C[b]=v,v+=y[b].length+1;this[t]=C}g=C[C.length-1];let S=0;if(p>=g)S=C.length-1;else{let y=C.length-2,v;for(;S<y;)if(v=S+(y-S>>1),p<C[v])y=v-1;else if(p>=C[v+1])S=v+1;else{S=v;break}}return{col:p-C[S]+1,line:S+1}}mapResolve(p){return/^\w+:\/\//.test(p)?p:o(this.map.consumer().sourceRoot||this.map.root||".",p)}origin(p,g,C,S){if(!this.map)return!1;let y=this.map.consumer(),v=y.originalPositionFor({column:g,line:p});if(!v.source)return!1;let b;typeof C=="number"&&(b=y.originalPositionFor({column:S,line:C}));let w;r(v.source)?w=a(v.source):w=new URL(v.source,this.map.consumer().sourceRoot||a(this.map.mapFile));let x={column:v.column,endColumn:b&&b.column,endLine:b&&b.line,line:v.line,url:w.toString()};if(w.protocol==="file:")if(c)x.file=c(w);else throw new Error("file: protocol is not available in this PostCSS build");let E=y.sourceContentFor(v.source);return E&&(x.source=E),x}toJSON(){let p={};for(let g of["hasBOM","css","file","id"])this[g]!=null&&(p[g]=this[g]);return this.map&&(p.map=q({},this.map),p.map.consumerCache&&(p.map.consumerCache=void 0)),p}get from(){return this.file||this.id}}return Ue=i,i.default=i,u&&u.registerInput&&u.registerInput(i),Ue}var Be,zt;function ee(){if(zt)return Be;zt=1;let e=V(),r,o;class l extends e{constructor(c){super(c),this.type="root",this.nodes||(this.nodes=[])}normalize(c,a,h){let m=super.normalize(c);if(a){if(h==="prepend")this.nodes.length>1?a.raws.before=this.nodes[1].raws.before:delete a.raws.before;else if(this.first!==a)for(let u of m)u.raws.before=a.raws.before}return m}removeChild(c,a){let h=this.index(c);return!a&&h===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[h].raws.before),super.removeChild(c)}toResult(c={}){return new r(new o,this,c).stringify()}}return l.registerLazyResult=s=>{r=s},l.registerProcessor=s=>{o=s},Be=l,l.default=l,e.registerRoot(l),Be}var Fe,qt;function Er(){if(qt)return Fe;qt=1;let e={comma(r){return e.split(r,[","],!0)},space(r){let o=[" ",`
36
+ `," "];return e.split(r,o)},split(r,o,l){let s=[],c="",a=!1,h=0,m=!1,u="",t=!1;for(let f of r)t?t=!1:f==="\\"?t=!0:m?f===u&&(m=!1):f==='"'||f==="'"?(m=!0,u=f):f==="("?h+=1:f===")"?h>0&&(h-=1):h===0&&o.includes(f)&&(a=!0),a?(c!==""&&s.push(c.trim()),c="",a=!1):c+=f;return(l||c!=="")&&s.push(c.trim()),s}};return Fe=e,e.default=e,Fe}var ze,Wt;function at(){if(Wt)return ze;Wt=1;let e=V(),r=Er();class o extends e{constructor(s){super(s),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return r.comma(this.selector)}set selectors(s){let c=this.selector?this.selector.match(/,\s*/):null,a=c?c[0]:","+this.raw("between","beforeOpen");this.selector=s.join(a)}}return ze=o,o.default=o,e.registerRule(o),ze}var qe,jt;function Di(){if(jt)return qe;jt=1;let e=ot(),r=X(),o=me(),l=ge(),s=Rr(),c=ee(),a=at();function h(m,u){if(Array.isArray(m))return m.map(d=>h(d));let n=m,{inputs:t}=n,f=Ce(n,["inputs"]);if(t){u=[];for(let d of t){let p=K(q({},d),{__proto__:l.prototype});p.map&&(p.map=K(q({},p.map),{__proto__:s.prototype})),u.push(p)}}if(f.nodes&&(f.nodes=m.nodes.map(d=>h(d,u))),f.source){let i=f.source,{inputId:d}=i,p=Ce(i,["inputId"]);f.source=p,d!=null&&(f.source.input=u[d])}if(f.type==="root")return new c(f);if(f.type==="decl")return new o(f);if(f.type==="rule")return new a(f);if(f.type==="comment")return new r(f);if(f.type==="atrule")return new e(f);throw new Error("Unknown node type: "+m.type)}return qe=h,h.default=h,qe}var We,$t;function Or(){if($t)return We;$t=1;let{dirname:e,relative:r,resolve:o,sep:l}=z,{SourceMapConsumer:s,SourceMapGenerator:c}=z,{pathToFileURL:a}=z,h=ge(),m=!!(s&&c),u=!!(e&&o&&r&&l);class t{constructor(n,i,d,p){this.stringify=n,this.mapOpts=d.map||{},this.root=i,this.opts=d,this.css=p,this.originalCSS=p,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let n;this.isInline()?n="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?n=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?n=this.mapOpts.annotation(this.opts.to,this.root):n=this.outputFile()+".map";let i=`
37
37
  `;this.css.includes(`\r
38
- `)&&(t=`\r
39
- `),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t=this.toUrl(this.path(e.file)),r=e.root||ve(e.file),s;this.mapOpts.sourcesContent===!1?(s=new Vr(e.text),s.sourcesContent&&(s.sourcesContent=null)):s=e.consumer(),this.map.applySourceMap(s,t,this.toUrl(this.path(r)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],e.type==="comment"&&e.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),Is&&ks&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,t=>{e+=t}),[e]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=Ee.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new Ee({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new Ee({file:this.outputFile(),ignoreInvalidMapping:!0});let e=1,t=1,r="<no source>",s={generated:{column:0,line:0},original:{column:0,line:0},source:""},n,l;this.stringify(this.root,(a,o,u)=>{if(this.css+=a,o&&u!=="end"&&(s.generated.line=e,s.generated.column=t-1,o.source&&o.source.start?(s.source=this.sourcePath(o),s.original.line=o.source.start.line,s.original.column=o.source.start.column-1,this.map.addMapping(s)):(s.source=r,s.original.line=1,s.original.column=0,this.map.addMapping(s))),l=a.match(/\n/g),l?(e+=l.length,n=a.lastIndexOf(`
40
- `),t=a.length-n):t+=a.length,o&&u!=="start"){let c=o.parent||{raws:{}};(!(o.type==="decl"||o.type==="atrule"&&!o.nodes)||o!==c.last||c.raws.semicolon)&&(o.source&&o.source.end?(s.source=this.sourcePath(o),s.original.line=o.source.end.line,s.original.column=o.source.end.column-1,s.generated.line=e,s.generated.column=t-2,this.map.addMapping(s)):(s.source=r,s.original.line=1,s.original.column=0,s.generated.line=e,s.generated.column=t-1,this.map.addMapping(s)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation!="undefined"?this.mapOpts.annotation:this.previous().length?this.previous().some(e=>e.annotation):!0}isInline(){if(typeof this.mapOpts.inline!="undefined")return this.mapOpts.inline;let e=this.mapOpts.annotation;return typeof e!="undefined"&&e!==!0?!1:this.previous().length?this.previous().some(t=>t.inline):!0}isMap(){return typeof this.opts.map!="undefined"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent!="undefined"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(e=>e.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let r=this.opts.to?ve(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(r=ve(Wr(r,this.mapOpts.annotation)));let s=zr(r,e);return this.memoizedPaths.set(e,s),s}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new Ps(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let r=t.source.input.from;if(r&&!e[r]){e[r]=!0;let s=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(s,t.source.input.css)}}});else if(this.css){let t=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(t,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(Gt){let r=Gt(e).toString();return this.memoizedFileURLs.set(e,r),r}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;jr==="\\"&&(e=e.replace(/\\/g,"/"));let r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r}};var Gr=Ls;const Ye=39,Ht=34,de=92,qt=47,me=10,ee=32,ge=12,ye=9,we=13,Ds=91,Ts=93,Us=40,Bs=41,Fs=123,zs=125,Ws=59,js=42,Vs=58,Gs=64,be=/[\t\n\f\r "#'()/;[\\\]{}]/g,Se=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Hs=/.[\r\n"'(/\\]/,Jt=/[\da-f]/i;var Hr=function(e,t={}){let r=e.css.valueOf(),s=t.ignoreErrors,n,l,a,o,u,c,h,d,m,x,w=r.length,f=0,R=[],O=[];function p(){return f}function b(k){throw e.error("Unclosed "+k,f)}function N(){return O.length===0&&f>=w}function A(k){if(O.length)return O.pop();if(f>=w)return;let $=k?k.ignoreUnclosed:!1;switch(n=r.charCodeAt(f),n){case me:case ee:case ye:case we:case ge:{o=f;do o+=1,n=r.charCodeAt(o);while(n===ee||n===me||n===ye||n===we||n===ge);c=["space",r.slice(f,o)],f=o-1;break}case Ds:case Ts:case Fs:case zs:case Vs:case Ws:case Bs:{let U=String.fromCharCode(n);c=[U,U,f];break}case Us:{if(x=R.length?R.pop()[1]:"",m=r.charCodeAt(f+1),x==="url"&&m!==Ye&&m!==Ht&&m!==ee&&m!==me&&m!==ye&&m!==ge&&m!==we){o=f;do{if(h=!1,o=r.indexOf(")",o+1),o===-1)if(s||$){o=f;break}else b("bracket");for(d=o;r.charCodeAt(d-1)===de;)d-=1,h=!h}while(h);c=["brackets",r.slice(f,o+1),f,o],f=o}else o=r.indexOf(")",f+1),l=r.slice(f,o+1),o===-1||Hs.test(l)?c=["(","(",f]:(c=["brackets",l,f,o],f=o);break}case Ye:case Ht:{u=n===Ye?"'":'"',o=f;do{if(h=!1,o=r.indexOf(u,o+1),o===-1)if(s||$){o=f+1;break}else b("string");for(d=o;r.charCodeAt(d-1)===de;)d-=1,h=!h}while(h);c=["string",r.slice(f,o+1),f,o],f=o;break}case Gs:{be.lastIndex=f+1,be.test(r),be.lastIndex===0?o=r.length-1:o=be.lastIndex-2,c=["at-word",r.slice(f,o+1),f,o],f=o;break}case de:{for(o=f,a=!0;r.charCodeAt(o+1)===de;)o+=1,a=!a;if(n=r.charCodeAt(o+1),a&&n!==qt&&n!==ee&&n!==me&&n!==ye&&n!==we&&n!==ge&&(o+=1,Jt.test(r.charAt(o)))){for(;Jt.test(r.charAt(o+1));)o+=1;r.charCodeAt(o+1)===ee&&(o+=1)}c=["word",r.slice(f,o+1),f,o],f=o;break}default:{n===qt&&r.charCodeAt(f+1)===js?(o=r.indexOf("*/",f+2)+1,o===0&&(s||$?o=r.length:b("comment")),c=["comment",r.slice(f,o+1),f,o],f=o):(Se.lastIndex=f+1,Se.test(r),Se.lastIndex===0?o=r.length-1:o=Se.lastIndex-2,c=["word",r.slice(f,o+1),f,o],R.push(c),f=o);break}}return f++,c}function T(k){O.push(k)}return{back:T,endOfFile:N,nextToken:A,position:p}};let qs=bt,Js=ue,Ys=Le,Ks=ce,Yt=Ct,Qs=Hr;const Kt={empty:!0,space:!0};function Zs(i){for(let e=i.length-1;e>=0;e--){let t=i[e],r=t[3]||t[2];if(r)return r}}let Xs=class{constructor(e){this.input=e,this.root=new Ks,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t=new qs;t.name=e[1].slice(1),t.name===""&&this.unnamedAtrule(t,e),this.init(t,e[2]);let r,s,n,l=!1,a=!1,o=[],u=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),r=e[0],r==="("||r==="["?u.push(r==="("?")":"]"):r==="{"&&u.length>0?u.push("}"):r===u[u.length-1]&&u.pop(),u.length===0)if(r===";"){t.source.end=this.getPosition(e[2]),t.source.end.offset++,this.semicolon=!0;break}else if(r==="{"){a=!0;break}else if(r==="}"){if(o.length>0){for(n=o.length-1,s=o[n];s&&s[0]==="space";)s=o[--n];s&&(t.source.end=this.getPosition(s[3]||s[2]),t.source.end.offset++)}this.end(e);break}else o.push(e);else o.push(e);if(this.tokenizer.endOfFile()){l=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(o),o.length?(t.raws.afterName=this.spacesAndCommentsFromStart(o),this.raw(t,"params",o),l&&(e=o[o.length-1],t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++,this.spaces=t.raws.between,t.raws.between="")):(t.raws.afterName="",t.params=""),a&&(t.nodes=[],this.current=t)}checkMissedSemicolon(e){let t=this.colon(e);if(t===!1)return;let r=0,s;for(let n=t-1;n>=0&&(s=e[n],!(s[0]!=="space"&&(r+=1,r===2)));n--);throw this.input.error("Missed semicolon",s[0]==="word"?s[3]+1:s[2])}colon(e){let t=0,r,s,n;for(let[l,a]of e.entries()){if(s=a,n=s[0],n==="("&&(t+=1),n===")"&&(t-=1),t===0&&n===":")if(!r)this.doubleColon(s);else{if(r[0]==="word"&&r[1]==="progid")continue;return l}r=s}return!1}comment(e){let t=new Js;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{let s=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=s[2],t.raws.left=s[1],t.raws.right=s[3]}}createTokenizer(){this.tokenizer=Qs(this.input)}decl(e,t){let r=new Ys;this.init(r,e[0][2]);let s=e[e.length-1];for(s[0]===";"&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(s[3]||s[2]||Zs(e)),r.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){let u=e[0][0];if(u===":"||u==="space"||u==="comment")break;r.prop+=e.shift()[1]}r.raws.between="";let n;for(;e.length;)if(n=e.shift(),n[0]===":"){r.raws.between+=n[1];break}else n[0]==="word"&&/\w/.test(n[1])&&this.unknownWord([n]),r.raws.between+=n[1];(r.prop[0]==="_"||r.prop[0]==="*")&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let l=[],a;for(;e.length&&(a=e[0][0],!(a!=="space"&&a!=="comment"));)l.push(e.shift());this.precheckMissedSemicolon(e);for(let u=e.length-1;u>=0;u--){if(n=e[u],n[1].toLowerCase()==="!important"){r.important=!0;let c=this.stringFrom(e,u);c=this.spacesFromEnd(e)+c,c!==" !important"&&(r.raws.important=c);break}else if(n[1].toLowerCase()==="important"){let c=e.slice(0),h="";for(let d=u;d>0;d--){let m=c[d][0];if(h.trim().startsWith("!")&&m!=="space")break;h=c.pop()[1]+h}h.trim().startsWith("!")&&(r.important=!0,r.raws.important=h,e=c)}if(n[0]!=="space"&&n[0]!=="comment")break}e.some(u=>u[0]!=="space"&&u[0]!=="comment")&&(r.raws.between+=l.map(u=>u[1]).join(""),l=[]),this.raw(r,"value",l.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new Yt;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&t.type==="rule"&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}other(e){let t=!1,r=null,s=!1,n=null,l=[],a=e[1].startsWith("--"),o=[],u=e;for(;u;){if(r=u[0],o.push(u),r==="("||r==="[")n||(n=u),l.push(r==="("?")":"]");else if(a&&s&&r==="{")n||(n=u),l.push("}");else if(l.length===0)if(r===";")if(s){this.decl(o,a);return}else break;else if(r==="{"){this.rule(o);return}else if(r==="}"){this.tokenizer.back(o.pop()),t=!0;break}else r===":"&&(s=!0);else r===l[l.length-1]&&(l.pop(),l.length===0&&(n=null));u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),l.length>0&&this.unclosedBracket(n),t&&s){if(!a)for(;o.length&&(u=o[o.length-1][0],!(u!=="space"&&u!=="comment"));)this.tokenizer.back(o.pop());this.decl(o,a)}else this.unknownWord(o)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}precheckMissedSemicolon(){}raw(e,t,r,s){let n,l,a=r.length,o="",u=!0,c,h;for(let d=0;d<a;d+=1)n=r[d],l=n[0],l==="space"&&d===a-1&&!s?u=!1:l==="comment"?(h=r[d-1]?r[d-1][0]:"empty",c=r[d+1]?r[d+1][0]:"empty",!Kt[h]&&!Kt[c]?o.slice(-1)===","?u=!1:o+=n[1]:u=!1):o+=n[1];if(!u){let d=r.reduce((m,x)=>m+x[1],"");e.raws[t]={raw:d,value:o}}e[t]=o}rule(e){e.pop();let t=new Yt;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],!(t!=="space"&&t!=="comment"));)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let t,r="";for(;e.length&&(t=e[0][0],!(t!=="space"&&t!=="comment"));)r+=e.shift()[1];return r}spacesFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],t==="space");)r=e.pop()[1]+r;return r}stringFrom(e,t){let r="";for(let s=t;s<e.length;s++)r+=e[s][1];return e.splice(t,e.length-t),r}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}};var qr=Xs;let en=F,tn=De,rn=qr;function _e(i,e){let t=new tn(i,e),r=new rn(t);try{r.parse()}catch(s){throw s}return r.root}var xt=_e;_e.default=_e;en.registerParse(_e);let lt=class{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let r=t.node.rangeBy(t);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(let r in t)this[r]=t[r]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};var Jr=lt;lt.default=lt;let sn=Jr,at=class{constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let r=new sn(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}};var vt=at;at.default=at;let nn=F,on=St,ln=Gr,an=xt,Qt=vt,un=ce,cn=ke,{isClean:I,my:fn}=ae;const hn={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},pn={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},dn={Once:!0,postcssPlugin:!0,prepare:!0},q=0;function te(i){return typeof i=="object"&&typeof i.then=="function"}function Yr(i){let e=!1,t=hn[i.type];return i.type==="decl"?e=i.prop.toLowerCase():i.type==="atrule"&&(e=i.name.toLowerCase()),e&&i.append?[t,t+"-"+e,q,t+"Exit",t+"Exit-"+e]:e?[t,t+"-"+e,t+"Exit",t+"Exit-"+e]:i.append?[t,q,t+"Exit"]:[t,t+"Exit"]}function Zt(i){let e;return i.type==="document"?e=["Document",q,"DocumentExit"]:i.type==="root"?e=["Root",q,"RootExit"]:e=Yr(i),{eventIndex:0,events:e,iterator:0,node:i,visitorIndex:0,visitors:[]}}function ut(i){return i[I]=!1,i.nodes&&i.nodes.forEach(e=>ut(e)),i}let ct={},J=class Kr{constructor(e,t,r){this.stringified=!1,this.processed=!1;let s;if(typeof t=="object"&&t!==null&&(t.type==="root"||t.type==="document"))s=ut(t);else if(t instanceof Kr||t instanceof Qt)s=ut(t.root),t.map&&(typeof r.map=="undefined"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=t.map);else{let n=an;r.syntax&&(n=r.syntax.parse),r.parser&&(n=r.parser),n.parse&&(n=n.parse);try{s=n(t,r)}catch(l){this.processed=!0,this.error=l}s&&!s[fn]&&nn.rebuild(s)}this.result=new Qt(e,s,r),this.helpers=Q(L({},ct),{postcss:ct,result:this.result}),this.plugins=this.processor.plugins.map(n=>typeof n=="object"&&n.prepare?L(L({},n),n.prepare(this.result)):n)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin?(e.plugin=r.postcssPlugin,e.setMessage()):r.postcssVersion}catch(s){console&&console.error&&console.error(s)}return e}prepareVisitors(){this.listeners={};let e=(t,r,s)=>{this.listeners[r]||(this.listeners[r]=[]),this.listeners[r].push([t,s])};for(let t of this.plugins)if(typeof t=="object")for(let r in t){if(!pn[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!dn[r])if(typeof t[r]=="object")for(let s in t[r])s==="*"?e(t,r,t[r][s]):e(t,r+"-"+s.toLowerCase(),t[r][s]);else typeof t[r]=="function"&&e(t,r,t[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],r=this.runOnRoot(t);if(te(r))try{await r}catch(s){throw this.handleError(s)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[I];){e[I]=!0;let t=[Zt(e)];for(;t.length>0;){let r=this.visitTick(t);if(te(r))try{await r}catch(s){let n=t[t.length-1].node;throw this.handleError(s,n)}}}if(this.listeners.OnceExit)for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(e.type==="document"){let s=e.nodes.map(n=>r(n,this.helpers));await Promise.all(s)}else await r(e,this.helpers)}catch(s){throw this.handleError(s)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let t=this.result.root.nodes.map(r=>e.Once(r,this.helpers));return te(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(t){throw this.handleError(t)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=cn;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let s=new ln(t,this.result.root,this.result.opts).generate();return this.result.css=s[0],this.result.map=s[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){let t=this.runOnRoot(e);if(te(t))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[I];)e[I]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[r,s]of e){this.result.lastPlugin=r;let n;try{n=s(t,this.helpers)}catch(l){throw this.handleError(l,t.proxyOf)}if(t.type!=="root"&&t.type!=="document"&&!t.parent)return!0;if(te(n))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:r,visitors:s}=t;if(r.type!=="root"&&r.type!=="document"&&!r.parent){e.pop();return}if(s.length>0&&t.visitorIndex<s.length){let[l,a]=s[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===s.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=l;try{return a(r.toProxy(),this.helpers)}catch(o){throw this.handleError(o,r)}}if(t.iterator!==0){let l=t.iterator,a;for(;a=r.nodes[r.indexes[l]];)if(r.indexes[l]+=1,!a[I]){a[I]=!0,e.push(Zt(a));return}t.iterator=0,delete r.indexes[l]}let n=t.events;for(;t.eventIndex<n.length;){let l=n[t.eventIndex];if(t.eventIndex+=1,l===q){r.nodes&&r.nodes.length&&(r[I]=!0,t.iterator=r.getIterator());return}else if(this.listeners[l]){t.visitors=this.listeners[l];return}}e.pop()}walkSync(e){e[I]=!0;let t=Yr(e);for(let r of t)if(r===q)e.nodes&&e.each(s=>{s[I]||this.walkSync(s)});else{let s=this.listeners[r];if(s&&this.visitSync(s,e.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}};J.registerPostcss=i=>{ct=i};var Qr=J;J.default=J;un.registerLazyResult(J);on.registerLazyResult(J);let mn=Gr,gn=xt;const yn=vt;let wn=ke;let ft=class{constructor(e,t,r){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;let s,n=wn;this.result=new yn(this._processor,s,this._opts),this.result.css=t;let l=this;Object.defineProperty(this.result,"root",{get(){return l.root}});let a=new mn(n,s,this._opts,t);if(a.isMap()){let[o,u]=a.generate();o&&(this.result.css=o),u&&(this.result.map=u)}else a.clearAnnotation(),this.result.css=a.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,t=gn;try{e=t(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}};var bn=ft;ft.default=ft;let Sn=St,Cn=Qr,xn=bn,vn=ce,oe=class{constructor(e=[]){this.version="8.5.1",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let r of e)if(r.postcss===!0?r=r():r.postcss&&(r=r.postcss),typeof r=="object"&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if(typeof r=="object"&&r.postcssPlugin)t.push(r);else if(typeof r=="function")t.push(r);else if(!(typeof r=="object"&&(r.parse||r.stringify)))throw new Error(r+" is not a PostCSS plugin");return t}process(e,t={}){return!this.plugins.length&&!t.parser&&!t.stringifier&&!t.syntax?new xn(this,e,t):new Cn(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};var En=oe;oe.default=oe;vn.registerProcessor(oe);Sn.registerProcessor(oe);let Zr=bt,Xr=ue,Rn=F,On=gt,ei=Le,ti=St,Nn=$s,Mn=De,An=Qr,_n=Br,$n=Ie,Pn=xt,Et=En,kn=vt,ri=ce,ii=Ct,In=ke,Ln=Jr;function S(...i){return i.length===1&&Array.isArray(i[0])&&(i=i[0]),new Et(i)}S.plugin=function(e,t){let r=!1;function s(...l){console&&console.warn&&!r&&(r=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
41
- https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357:
42
- https://www.w3ctech.com/topic/2226`));let a=t(...l);return a.postcssPlugin=e,a.postcssVersion=new Et().version,a}let n;return Object.defineProperty(s,"postcss",{get(){return n||(n=s()),n}}),s.process=function(l,a,o){return S([s(o)]).process(l,a)},s};S.stringify=In;S.parse=Pn;S.fromJSON=Nn;S.list=_n;S.comment=i=>new Xr(i);S.atRule=i=>new Zr(i);S.decl=i=>new ei(i);S.rule=i=>new ii(i);S.root=i=>new ri(i);S.document=i=>new ti(i);S.CssSyntaxError=On;S.Declaration=ei;S.Container=Rn;S.Processor=Et;S.Document=ti;S.Comment=Xr;S.Warning=Ln;S.AtRule=Zr;S.Result=kn;S.Input=Mn;S.Rule=ii;S.Root=ri;S.Node=$n;An.registerPostcss(S);var Dn=S;S.default=S;const E=wr(Dn),Tn=E.stringify,Un=E.fromJSON,Bn=E.plugin,Fn=E.parse,zn=E.list,Wn=E.document,jn=E.comment,Vn=E.atRule,Gn=E.rule,Hn=E.decl,qn=E.root,Jn=E.CssSyntaxError,Yn=E.Declaration,Kn=E.Container,Qn=E.Processor,Zn=E.Document,Xn=E.Comment,eo=E.Warning,to=E.AtRule,ro=E.Result,io=E.Input,so=E.Rule,no=E.Root,oo=E.Node,lo=Object.freeze(Object.defineProperty({__proto__:null,AtRule:to,Comment:Xn,Container:Kn,CssSyntaxError:Jn,Declaration:Yn,Document:Zn,Input:io,Node:oo,Processor:Qn,Result:ro,Root:no,Rule:so,Warning:eo,atRule:Vn,comment:jn,decl:Hn,default:E,document:Wn,fromJSON:Un,list:zn,parse:Fn,plugin:Bn,root:qn,rule:Gn,stringify:Tn},Symbol.toStringTag,{value:"Module"})),ao=br(lo);let uo=ue,co=qr,fo=Hr,ho=class extends co{checkMissedSemicolon(){}comment(e){let t=new uo;this.init(t,e[2]);let r=this.input.fromOffset(e[3])||this.input.fromOffset(this.input.css.length-1);t.source.end={column:r.col,line:r.line,offset:e[3]+1};let s=e[1].slice(2);if(s.slice(-2)==="*/"&&(s=s.slice(0,-2)),/^\s*$/.test(s))t.text="",t.raws.left=s,t.raws.right="";else{let n=s.match(/^(\s*)([^]*\S)(\s*)$/);t.text=n[2],t.raws.left=n[1],t.raws.right=n[3]}}createTokenizer(){this.tokenizer=fo(this.input,{ignoreErrors:!0})}decl(e){e.length>1&&e.some(t=>t[0]==="word")&&super.decl(e)}doubleColon(){}endFile(){for(this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.current.parent;)this.current=this.current.parent,this.current.raws.after="";this.root.source.end=this.getPosition(this.tokenizer.position())}precheckMissedSemicolon(e){let t=this.colon(e);if(t===!1)return;let r,s;for(r=t-1;r>=0&&e[r][0]!=="word";r--);if(r===0||r<0)return;for(s=r-1;s>=0;s--)if(e[s][0]!=="space"){s+=1;break}let n=e.slice(r),l=e.slice(s,r);e.splice(s,e.length-s),this.spaces=l.map(a=>a[1]).join(""),this.decl(n)}unclosedBracket(){}unexpectedClose(){this.current.raws.after+="}"}unknownWord(e){this.spaces+=e.map(t=>t[1]).join("")}unnamedAtrule(e){e.name=""}};var po=ho;let{Input:mo}=ao,go=po;var yo=function(e,t){let r=new mo(e,t),s=new go(r);return s.parse(),s.root};const wo=wr(yo),Xt={script:"noscript",altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",fedropshadow:"feDropShadow",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient"};function bo(i){let e=Xt[i.tagName]?Xt[i.tagName]:i.tagName;return e==="link"&&i.attributes._cssText&&(e="style"),e}function Te(i,e){const t=e==null?void 0:e.stylesWithHoverClass.get(i);if(t)return t;let r=i;try{r=E([Yi,Ki]).process(i,{parser:wo}).css}catch(s){console.warn("Failed to adapt css for replay",s)}return e==null||e.stylesWithHoverClass.set(i,r),r}function So(){return{stylesWithHoverClass:new Map}}function Co(i,e,t,r){const s=[];for(const l of i.childNodes)l.type===g.Text&&s.push(l);const n=e.split("/* rr_split */");for(;n.length>1&&n.length>s.length;)n.splice(-2,2,n.slice(-2).join(""));for(let l=0;l<s.length;l++){const a=s[l],o=n[l];a&&o&&(a.textContent=t?Te(o,r):o)}}function xo(i,e,t,r){const{doc:s,hackCss:n,cache:l}=r;i.childNodes.length?Co(i,t,n,l):(n&&(t=Te(t,l)),e.appendChild(s.createTextNode(t)))}function vo(i,e){var t;const{doc:r,hackCss:s,cache:n}=e;switch(i.type){case g.Document:return r.implementation.createDocument(null,"",null);case g.DocumentType:return r.implementation.createDocumentType(i.name||"html",i.publicId,i.systemId);case g.Element:{const l=bo(i);let a;i.isSVG?a=r.createElementNS("http://www.w3.org/2000/svg",l):(i.isCustom&&((t=r.defaultView)!=null&&t.customElements)&&!r.defaultView.customElements.get(i.tagName)&&r.defaultView.customElements.define(i.tagName,class extends r.defaultView.HTMLElement{}),a=r.createElement(l));const o={};for(const u in i.attributes){if(!Object.prototype.hasOwnProperty.call(i.attributes,u))continue;let c=i.attributes[u];if(!(l==="option"&&u==="selected"&&c===!1)&&c!==null){if(c===!0&&(c=""),u.startsWith("rr_")){o[u]=c;continue}if(typeof c=="string"){if(l==="style"&&u==="_cssText"){xo(i,a,c,e);continue}else if(l==="textarea"&&u==="value"){a.appendChild(r.createTextNode(c)),i.childNodes=[];continue}}try{if(i.isSVG&&u==="xlink:href")a.setAttributeNS("http://www.w3.org/1999/xlink",u,c.toString());else if(u==="onload"||u==="onclick"||u.substring(0,7)==="onmouse")a.setAttribute("_"+u,c.toString());else if(l==="meta"&&i.attributes["http-equiv"]==="Content-Security-Policy"&&u==="content"){a.setAttribute("csp-content",c.toString());continue}else l==="link"&&(i.attributes.rel==="preload"||i.attributes.rel==="modulepreload")&&i.attributes.as==="script"||l==="link"&&i.attributes.rel==="prefetch"&&typeof i.attributes.href=="string"&&i.attributes.href.endsWith(".js")||(l==="img"&&i.attributes.srcset&&i.attributes.rr_dataURL?a.setAttribute("rrweb-original-srcset",i.attributes.srcset):a.setAttribute(u,c.toString()))}catch(h){}}}for(const u in o){const c=o[u];if(l==="canvas"&&u==="rr_dataURL"){const h=r.createElement("img");h.onload=()=>{const d=a.getContext("2d");d&&d.drawImage(h,0,0,h.width,h.height)},h.src=c.toString(),a.RRNodeType&&(a.rr_dataURL=c.toString())}else if(l==="img"&&u==="rr_dataURL"){const h=a;h.currentSrc.startsWith("data:")||(h.setAttribute("rrweb-original-src",i.attributes.src),h.src=c.toString())}if(u==="rr_width")a.style.setProperty("width",c.toString());else if(u==="rr_height")a.style.setProperty("height",c.toString());else if(u==="rr_mediaCurrentTime"&&typeof c=="number")a.currentTime=c;else if(u==="rr_mediaState")switch(c){case"played":a.play().catch(h=>console.warn("media playback error",h));break;case"paused":a.pause();break}else u==="rr_mediaPlaybackRate"&&typeof c=="number"?a.playbackRate=c:u==="rr_mediaMuted"&&typeof c=="boolean"?a.muted=c:u==="rr_mediaLoop"&&typeof c=="boolean"?a.loop=c:u==="rr_mediaVolume"&&typeof c=="number"?a.volume=c:u==="rr_open_mode"&&a.setAttribute("rr_open_mode",c)}if(i.isShadowHost)if(!a.shadowRoot)a.attachShadow({mode:"open"});else for(;a.shadowRoot.firstChild;)a.shadowRoot.removeChild(a.shadowRoot.firstChild);return a}case g.Text:return i.isStyle&&s?r.createTextNode(Te(i.textContent,n)):r.createTextNode(i.textContent);case g.CDATA:return r.createCDATASection(i.textContent);case g.Comment:return r.createComment(i.textContent);default:return null}}function Rt(i,e){const{doc:t,mirror:r,skipChild:s=!1,hackCss:n=!0,afterAppend:l,cache:a}=e;if(r.has(i.id)){const u=r.getNode(i.id),c=r.getMeta(u);if(ur(c,i))return r.getNode(i.id)}let o=vo(i,{doc:t,hackCss:n,cache:a});if(!o)return null;if(i.rootId&&r.getNode(i.rootId)!==t&&r.replace(i.rootId,t),i.type===g.Document&&(t.close(),t.open(),i.compatMode==="BackCompat"&&i.childNodes&&i.childNodes[0].type!==g.DocumentType&&(i.childNodes[0].type===g.Element&&"xmlns"in i.childNodes[0].attributes&&i.childNodes[0].attributes.xmlns==="http://www.w3.org/1999/xhtml"?t.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">'):t.write('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "">')),o=t),r.add(o,i),(i.type===g.Document||i.type===g.Element)&&!s)for(const u of i.childNodes){const c=Rt(u,{doc:t,mirror:r,skipChild:!1,hackCss:n,afterAppend:l,cache:a});if(!c){console.warn("Failed to rebuild",u);continue}if(u.isShadow&&$e(o)&&o.shadowRoot)o.shadowRoot.appendChild(c);else if(i.type===g.Document&&u.type==g.Element){const h=c;let d=null;h.childNodes.forEach(m=>{m.nodeName==="BODY"&&(d=m)}),d?(h.removeChild(d),o.appendChild(c),h.appendChild(d)):o.appendChild(c)}else o.appendChild(c);l&&l(c,u.id)}return o}function Eo(i,e){function t(r){e(r)}for(const r of i.getIds())i.has(r)&&t(i.getNode(r))}function Ro(i,e){const t=e.getMeta(i);if((t==null?void 0:t.type)!==g.Element)return;const r=i;for(const s in t.attributes){if(!(Object.prototype.hasOwnProperty.call(t.attributes,s)&&s.startsWith("rr_")))continue;const n=t.attributes[s];s==="rr_scrollLeft"&&(r.scrollLeft=n),s==="rr_scrollTop"&&(r.scrollTop=n)}}function Oo(i,e){const{doc:t,onVisit:r,hackCss:s=!0,afterAppend:n,cache:l,mirror:a=new Pe}=e,o=Rt(i,{doc:t,mirror:a,skipChild:!1,hackCss:s,afterAppend:n,cache:l});return Eo(a,u=>{r&&r(u),Ro(u,a)}),o}exports.IGNORED_NODE=Ke;exports.Mirror=Pe;exports.absolutifyURLs=re;exports.adaptCssForReplay=Te;exports.buildNodeWithSN=Rt;exports.classMatchesRegex=Oe;exports.cleanupSnapshot=qi;exports.createCache=So;exports.createMirror=Ei;exports.escapeImportStatement=rr;exports.extractFileExtension=pt;exports.fixSafariColons=sr;exports.genId=dr;exports.getInputType=cr;exports.ignoreAttribute=gr;exports.is2DCanvasBlank=ar;exports.isCSSImportRule=nr;exports.isCSSStyleRule=or;exports.isElement=$e;exports.isNativeShadowDom=Ce;exports.isNodeMetaEqual=ur;exports.isShadowRoot=tr;exports.markCssSplits=hr;exports.maskInputValue=lr;exports.needMaskingText=yr;exports.normalizeCssString=xe;exports.rebuild=Oo;exports.serializeNodeWithId=G;exports.snapshot=Gi;exports.splitCssText=fr;exports.stringifyRule=ir;exports.stringifyStylesheet=Re;exports.toLowerCase=le;exports.transformAttribute=mr;exports.visitSnapshot=Hi;
38
+ `)&&(i=`\r
39
+ `),this.css+=i+"/*# sourceMappingURL="+n+" */"}applyPrevMaps(){for(let n of this.previous()){let i=this.toUrl(this.path(n.file)),d=n.root||e(n.file),p;this.mapOpts.sourcesContent===!1?(p=new s(n.text),p.sourcesContent&&(p.sourcesContent=null)):p=n.consumer(),this.map.applySourceMap(p,i,this.toUrl(this.path(d)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let n;for(let i=this.root.nodes.length-1;i>=0;i--)n=this.root.nodes[i],n.type==="comment"&&n.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(i)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),u&&m&&this.isMap())return this.generateMap();{let n="";return this.stringify(this.root,i=>{n+=i}),[n]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let n=this.previous()[0].consumer();n.file=this.outputFile(),this.map=c.fromSourceMap(n,{ignoreInvalidMapping:!0})}else this.map=new c({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new c({file:this.outputFile(),ignoreInvalidMapping:!0});let n=1,i=1,d="<no source>",p={generated:{column:0,line:0},original:{column:0,line:0},source:""},g,C;this.stringify(this.root,(S,y,v)=>{if(this.css+=S,y&&v!=="end"&&(p.generated.line=n,p.generated.column=i-1,y.source&&y.source.start?(p.source=this.sourcePath(y),p.original.line=y.source.start.line,p.original.column=y.source.start.column-1,this.map.addMapping(p)):(p.source=d,p.original.line=1,p.original.column=0,this.map.addMapping(p))),C=S.match(/\n/g),C?(n+=C.length,g=S.lastIndexOf(`
40
+ `),i=S.length-g):i+=S.length,y&&v!=="start"){let b=y.parent||{raws:{}};(!(y.type==="decl"||y.type==="atrule"&&!y.nodes)||y!==b.last||b.raws.semicolon)&&(y.source&&y.source.end?(p.source=this.sourcePath(y),p.original.line=y.source.end.line,p.original.column=y.source.end.column-1,p.generated.line=n,p.generated.column=i-2,this.map.addMapping(p)):(p.source=d,p.original.line=1,p.original.column=0,p.generated.line=n,p.generated.column=i-1,this.map.addMapping(p)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation!="undefined"?this.mapOpts.annotation:this.previous().length?this.previous().some(n=>n.annotation):!0}isInline(){if(typeof this.mapOpts.inline!="undefined")return this.mapOpts.inline;let n=this.mapOpts.annotation;return typeof n!="undefined"&&n!==!0?!1:this.previous().length?this.previous().some(i=>i.inline):!0}isMap(){return typeof this.opts.map!="undefined"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent!="undefined"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(n=>n.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(n){if(this.mapOpts.absolute||n.charCodeAt(0)===60||/^\w+:\/\//.test(n))return n;let i=this.memoizedPaths.get(n);if(i)return i;let d=this.opts.to?e(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(d=e(o(d,this.mapOpts.annotation)));let p=r(d,n);return this.memoizedPaths.set(n,p),p}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(n=>{if(n.source&&n.source.input.map){let i=n.source.input.map;this.previousMaps.includes(i)||this.previousMaps.push(i)}});else{let n=new h(this.originalCSS,this.opts);n.map&&this.previousMaps.push(n.map)}return this.previousMaps}setSourcesContent(){let n={};if(this.root)this.root.walk(i=>{if(i.source){let d=i.source.input.from;if(d&&!n[d]){n[d]=!0;let p=this.usesFileUrls?this.toFileUrl(d):this.toUrl(this.path(d));this.map.setSourceContent(p,i.source.input.css)}}});else if(this.css){let i=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(i,this.css)}}sourcePath(n){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(n.source.input.from):this.toUrl(this.path(n.source.input.from))}toBase64(n){return Buffer?Buffer.from(n).toString("base64"):window.btoa(unescape(encodeURIComponent(n)))}toFileUrl(n){let i=this.memoizedFileURLs.get(n);if(i)return i;if(a){let d=a(n).toString();return this.memoizedFileURLs.set(n,d),d}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(n){let i=this.memoizedURLs.get(n);if(i)return i;l==="\\"&&(n=n.replace(/\\/g,"/"));let d=encodeURI(n).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(n,d),d}}return We=t,We}var je,Vt;function Nr(){if(Vt)return je;Vt=1;const e=39,r=34,o=92,l=47,s=10,c=32,a=12,h=9,m=13,u=91,t=93,f=40,n=41,i=123,d=125,p=59,g=42,C=58,S=64,y=/[\t\n\f\r "#'()/;[\\\]{}]/g,v=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,b=/.[\r\n"'(/\\]/,w=/[\da-f]/i;return je=function(E,N={}){let O=E.css.valueOf(),L=N.ignoreErrors,P,_,W,R,T,D,F,B,j,ht,pt=O.length,M=0,we=[],te=[];function Ir(){return M}function be(G){throw E.error("Unclosed "+G,M)}function Lr(){return te.length===0&&M>=pt}function Dr(G){if(te.length)return te.pop();if(M>=pt)return;let Se=G?G.ignoreUnclosed:!1;switch(P=O.charCodeAt(M),P){case s:case c:case h:case m:case a:{R=M;do R+=1,P=O.charCodeAt(R);while(P===c||P===s||P===h||P===m||P===a);D=["space",O.slice(M,R)],M=R-1;break}case u:case t:case i:case d:case C:case p:case n:{let dt=String.fromCharCode(P);D=[dt,dt,M];break}case f:{if(ht=we.length?we.pop()[1]:"",j=O.charCodeAt(M+1),ht==="url"&&j!==e&&j!==r&&j!==c&&j!==s&&j!==h&&j!==a&&j!==m){R=M;do{if(F=!1,R=O.indexOf(")",R+1),R===-1)if(L||Se){R=M;break}else be("bracket");for(B=R;O.charCodeAt(B-1)===o;)B-=1,F=!F}while(F);D=["brackets",O.slice(M,R+1),M,R],M=R}else R=O.indexOf(")",M+1),_=O.slice(M,R+1),R===-1||b.test(_)?D=["(","(",M]:(D=["brackets",_,M,R],M=R);break}case e:case r:{T=P===e?"'":'"',R=M;do{if(F=!1,R=O.indexOf(T,R+1),R===-1)if(L||Se){R=M+1;break}else be("string");for(B=R;O.charCodeAt(B-1)===o;)B-=1,F=!F}while(F);D=["string",O.slice(M,R+1),M,R],M=R;break}case S:{y.lastIndex=M+1,y.test(O),y.lastIndex===0?R=O.length-1:R=y.lastIndex-2,D=["at-word",O.slice(M,R+1),M,R],M=R;break}case o:{for(R=M,W=!0;O.charCodeAt(R+1)===o;)R+=1,W=!W;if(P=O.charCodeAt(R+1),W&&P!==l&&P!==c&&P!==s&&P!==h&&P!==m&&P!==a&&(R+=1,w.test(O.charAt(R)))){for(;w.test(O.charAt(R+1));)R+=1;O.charCodeAt(R+1)===c&&(R+=1)}D=["word",O.slice(M,R+1),M,R],M=R;break}default:{P===l&&O.charCodeAt(M+1)===g?(R=O.indexOf("*/",M+2)+1,R===0&&(L||Se?R=O.length:be("comment")),D=["comment",O.slice(M,R+1),M,R],M=R):(v.lastIndex=M+1,v.test(O),v.lastIndex===0?R=O.length-1:R=v.lastIndex-2,D=["word",O.slice(M,R+1),M,R],we.push(D),M=R);break}}return M++,D}function Tr(G){te.push(G)}return{back:Tr,endOfFile:Lr,nextToken:Dr,position:Ir}},je}var $e,Gt;function Mr(){if(Gt)return $e;Gt=1;let e=ot(),r=X(),o=me(),l=ee(),s=at(),c=Nr();const a={empty:!0,space:!0};function h(u){for(let t=u.length-1;t>=0;t--){let f=u[t],n=f[3]||f[2];if(n)return n}}class m{constructor(t){this.input=t,this.root=new l,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:t,start:{column:1,line:1,offset:0}}}atrule(t){let f=new e;f.name=t[1].slice(1),f.name===""&&this.unnamedAtrule(f,t),this.init(f,t[2]);let n,i,d,p=!1,g=!1,C=[],S=[];for(;!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),n=t[0],n==="("||n==="["?S.push(n==="("?")":"]"):n==="{"&&S.length>0?S.push("}"):n===S[S.length-1]&&S.pop(),S.length===0)if(n===";"){f.source.end=this.getPosition(t[2]),f.source.end.offset++,this.semicolon=!0;break}else if(n==="{"){g=!0;break}else if(n==="}"){if(C.length>0){for(d=C.length-1,i=C[d];i&&i[0]==="space";)i=C[--d];i&&(f.source.end=this.getPosition(i[3]||i[2]),f.source.end.offset++)}this.end(t);break}else C.push(t);else C.push(t);if(this.tokenizer.endOfFile()){p=!0;break}}f.raws.between=this.spacesAndCommentsFromEnd(C),C.length?(f.raws.afterName=this.spacesAndCommentsFromStart(C),this.raw(f,"params",C),p&&(t=C[C.length-1],f.source.end=this.getPosition(t[3]||t[2]),f.source.end.offset++,this.spaces=f.raws.between,f.raws.between="")):(f.raws.afterName="",f.params=""),g&&(f.nodes=[],this.current=f)}checkMissedSemicolon(t){let f=this.colon(t);if(f===!1)return;let n=0,i;for(let d=f-1;d>=0&&(i=t[d],!(i[0]!=="space"&&(n+=1,n===2)));d--);throw this.input.error("Missed semicolon",i[0]==="word"?i[3]+1:i[2])}colon(t){let f=0,n,i,d;for(let[p,g]of t.entries()){if(i=g,d=i[0],d==="("&&(f+=1),d===")"&&(f-=1),f===0&&d===":")if(!n)this.doubleColon(i);else{if(n[0]==="word"&&n[1]==="progid")continue;return p}n=i}return!1}comment(t){let f=new r;this.init(f,t[2]),f.source.end=this.getPosition(t[3]||t[2]),f.source.end.offset++;let n=t[1].slice(2,-2);if(/^\s*$/.test(n))f.text="",f.raws.left=n,f.raws.right="";else{let i=n.match(/^(\s*)([^]*\S)(\s*)$/);f.text=i[2],f.raws.left=i[1],f.raws.right=i[3]}}createTokenizer(){this.tokenizer=c(this.input)}decl(t,f){let n=new o;this.init(n,t[0][2]);let i=t[t.length-1];for(i[0]===";"&&(this.semicolon=!0,t.pop()),n.source.end=this.getPosition(i[3]||i[2]||h(t)),n.source.end.offset++;t[0][0]!=="word";)t.length===1&&this.unknownWord(t),n.raws.before+=t.shift()[1];for(n.source.start=this.getPosition(t[0][2]),n.prop="";t.length;){let S=t[0][0];if(S===":"||S==="space"||S==="comment")break;n.prop+=t.shift()[1]}n.raws.between="";let d;for(;t.length;)if(d=t.shift(),d[0]===":"){n.raws.between+=d[1];break}else d[0]==="word"&&/\w/.test(d[1])&&this.unknownWord([d]),n.raws.between+=d[1];(n.prop[0]==="_"||n.prop[0]==="*")&&(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let p=[],g;for(;t.length&&(g=t[0][0],!(g!=="space"&&g!=="comment"));)p.push(t.shift());this.precheckMissedSemicolon(t);for(let S=t.length-1;S>=0;S--){if(d=t[S],d[1].toLowerCase()==="!important"){n.important=!0;let y=this.stringFrom(t,S);y=this.spacesFromEnd(t)+y,y!==" !important"&&(n.raws.important=y);break}else if(d[1].toLowerCase()==="important"){let y=t.slice(0),v="";for(let b=S;b>0;b--){let w=y[b][0];if(v.trim().startsWith("!")&&w!=="space")break;v=y.pop()[1]+v}v.trim().startsWith("!")&&(n.important=!0,n.raws.important=v,t=y)}if(d[0]!=="space"&&d[0]!=="comment")break}t.some(S=>S[0]!=="space"&&S[0]!=="comment")&&(n.raws.between+=p.map(S=>S[1]).join(""),p=[]),this.raw(n,"value",p.concat(t),f),n.value.includes(":")&&!f&&this.checkMissedSemicolon(t)}doubleColon(t){throw this.input.error("Double colon",{offset:t[2]},{offset:t[2]+t[1].length})}emptyRule(t){let f=new s;this.init(f,t[2]),f.selector="",f.raws.between="",this.current=f}end(t){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(t[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(t)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(t){if(this.spaces+=t[1],this.current.nodes){let f=this.current.nodes[this.current.nodes.length-1];f&&f.type==="rule"&&!f.raws.ownSemicolon&&(f.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(t){let f=this.input.fromOffset(t);return{column:f.col,line:f.line,offset:t}}init(t,f){this.current.push(t),t.source={input:this.input,start:this.getPosition(f)},t.raws.before=this.spaces,this.spaces="",t.type!=="comment"&&(this.semicolon=!1)}other(t){let f=!1,n=null,i=!1,d=null,p=[],g=t[1].startsWith("--"),C=[],S=t;for(;S;){if(n=S[0],C.push(S),n==="("||n==="[")d||(d=S),p.push(n==="("?")":"]");else if(g&&i&&n==="{")d||(d=S),p.push("}");else if(p.length===0)if(n===";")if(i){this.decl(C,g);return}else break;else if(n==="{"){this.rule(C);return}else if(n==="}"){this.tokenizer.back(C.pop()),f=!0;break}else n===":"&&(i=!0);else n===p[p.length-1]&&(p.pop(),p.length===0&&(d=null));S=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(f=!0),p.length>0&&this.unclosedBracket(d),f&&i){if(!g)for(;C.length&&(S=C[C.length-1][0],!(S!=="space"&&S!=="comment"));)this.tokenizer.back(C.pop());this.decl(C,g)}else this.unknownWord(C)}parse(){let t;for(;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case"space":this.spaces+=t[1];break;case";":this.freeSemicolon(t);break;case"}":this.end(t);break;case"comment":this.comment(t);break;case"at-word":this.atrule(t);break;case"{":this.emptyRule(t);break;default:this.other(t);break}this.endFile()}precheckMissedSemicolon(){}raw(t,f,n,i){let d,p,g=n.length,C="",S=!0,y,v;for(let b=0;b<g;b+=1)d=n[b],p=d[0],p==="space"&&b===g-1&&!i?S=!1:p==="comment"?(v=n[b-1]?n[b-1][0]:"empty",y=n[b+1]?n[b+1][0]:"empty",!a[v]&&!a[y]?C.slice(-1)===","?S=!1:C+=d[1]:S=!1):C+=d[1];if(!S){let b=n.reduce((w,x)=>w+x[1],"");t.raws[f]={raw:b,value:C}}t[f]=C}rule(t){t.pop();let f=new s;this.init(f,t[0][2]),f.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(f,"selector",t),this.current=f}spacesAndCommentsFromEnd(t){let f,n="";for(;t.length&&(f=t[t.length-1][0],!(f!=="space"&&f!=="comment"));)n=t.pop()[1]+n;return n}spacesAndCommentsFromStart(t){let f,n="";for(;t.length&&(f=t[0][0],!(f!=="space"&&f!=="comment"));)n+=t.shift()[1];return n}spacesFromEnd(t){let f,n="";for(;t.length&&(f=t[t.length-1][0],f==="space");)n=t.pop()[1]+n;return n}stringFrom(t,f){let n="";for(let i=f;i<t.length;i++)n+=t[i][1];return t.splice(f,t.length-f),n}unclosedBlock(){let t=this.current.source.start;throw this.input.error("Unclosed block",t.line,t.column)}unclosedBracket(t){throw this.input.error("Unclosed bracket",{offset:t[2]},{offset:t[2]+1})}unexpectedClose(t){throw this.input.error("Unexpected }",{offset:t[2]},{offset:t[2]+1})}unknownWord(t){throw this.input.error("Unknown word",{offset:t[0][2]},{offset:t[0][2]+t[0][1].length})}unnamedAtrule(t,f){throw this.input.error("At-rule without name",{offset:f[2]},{offset:f[2]+f[1].length})}}return $e=m,$e}var Ve,Ht;function ut(){if(Ht)return Ve;Ht=1;let e=V(),r=ge(),o=Mr();function l(s,c){let a=new r(s,c),h=new o(a);try{h.parse()}catch(m){throw m}return h.root}return Ve=l,l.default=l,e.registerParse(l),Ve}var Ge,Jt;function Ar(){if(Jt)return Ge;Jt=1;class e{constructor(o,l={}){if(this.type="warning",this.text=o,l.node&&l.node.source){let s=l.node.rangeBy(l);this.line=s.start.line,this.column=s.start.column,this.endLine=s.end.line,this.endColumn=s.end.column}for(let s in l)this[s]=l[s]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}return Ge=e,e.default=e,Ge}var He,Yt;function ft(){if(Yt)return He;Yt=1;let e=Ar();class r{constructor(l,s,c){this.processor=l,this.messages=[],this.root=s,this.opts=c,this.css=void 0,this.map=void 0}toString(){return this.css}warn(l,s={}){s.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(s.plugin=this.lastPlugin.postcssPlugin);let c=new e(l,s);return this.messages.push(c),c}warnings(){return this.messages.filter(l=>l.type==="warning")}get content(){return this.css}}return He=r,r.default=r,He}var Je,Kt;function _r(){if(Kt)return Je;Kt=1;let e={};return Je=function(o){e[o]||(e[o]=!0,typeof console!="undefined"&&console.warn&&console.warn(o))},Je}var Ye,Qt;function Pr(){if(Qt)return Ye;Qt=1;let e=V(),r=lt(),o=Or(),l=ut(),s=ft(),c=ee(),a=pe(),{isClean:h,my:m}=nt(),u=_r();const t={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},f={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},n={Once:!0,postcssPlugin:!0,prepare:!0},i=0;function d(v){return typeof v=="object"&&typeof v.then=="function"}function p(v){let b=!1,w=t[v.type];return v.type==="decl"?b=v.prop.toLowerCase():v.type==="atrule"&&(b=v.name.toLowerCase()),b&&v.append?[w,w+"-"+b,i,w+"Exit",w+"Exit-"+b]:b?[w,w+"-"+b,w+"Exit",w+"Exit-"+b]:v.append?[w,i,w+"Exit"]:[w,w+"Exit"]}function g(v){let b;return v.type==="document"?b=["Document",i,"DocumentExit"]:v.type==="root"?b=["Root",i,"RootExit"]:b=p(v),{eventIndex:0,events:b,iterator:0,node:v,visitorIndex:0,visitors:[]}}function C(v){return v[h]=!1,v.nodes&&v.nodes.forEach(b=>C(b)),v}let S={};class y{constructor(b,w,x){this.stringified=!1,this.processed=!1;let E;if(typeof w=="object"&&w!==null&&(w.type==="root"||w.type==="document"))E=C(w);else if(w instanceof y||w instanceof s)E=C(w.root),w.map&&(typeof x.map=="undefined"&&(x.map={}),x.map.inline||(x.map.inline=!1),x.map.prev=w.map);else{let N=l;x.syntax&&(N=x.syntax.parse),x.parser&&(N=x.parser),N.parse&&(N=N.parse);try{E=N(w,x)}catch(O){this.processed=!0,this.error=O}E&&!E[m]&&e.rebuild(E)}this.result=new s(b,E,x),this.helpers=K(q({},S),{postcss:S,result:this.result}),this.plugins=this.processor.plugins.map(N=>typeof N=="object"&&N.prepare?q(q({},N),N.prepare(this.result)):N)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(b){return this.async().catch(b)}finally(b){return this.async().then(b,b)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(b,w){let x=this.result.lastPlugin;try{w&&w.addToError(b),this.error=b,b.name==="CssSyntaxError"&&!b.plugin?(b.plugin=x.postcssPlugin,b.setMessage()):x.postcssVersion}catch(E){console&&console.error&&console.error(E)}return b}prepareVisitors(){this.listeners={};let b=(w,x,E)=>{this.listeners[x]||(this.listeners[x]=[]),this.listeners[x].push([w,E])};for(let w of this.plugins)if(typeof w=="object")for(let x in w){if(!f[x]&&/^[A-Z]/.test(x))throw new Error(`Unknown event ${x} in ${w.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!n[x])if(typeof w[x]=="object")for(let E in w[x])E==="*"?b(w,x,w[x][E]):b(w,x+"-"+E.toLowerCase(),w[x][E]);else typeof w[x]=="function"&&b(w,x,w[x])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let b=0;b<this.plugins.length;b++){let w=this.plugins[b],x=this.runOnRoot(w);if(d(x))try{await x}catch(E){throw this.handleError(E)}}if(this.prepareVisitors(),this.hasListener){let b=this.result.root;for(;!b[h];){b[h]=!0;let w=[g(b)];for(;w.length>0;){let x=this.visitTick(w);if(d(x))try{await x}catch(E){let N=w[w.length-1].node;throw this.handleError(E,N)}}}if(this.listeners.OnceExit)for(let[w,x]of this.listeners.OnceExit){this.result.lastPlugin=w;try{if(b.type==="document"){let E=b.nodes.map(N=>x(N,this.helpers));await Promise.all(E)}else await x(b,this.helpers)}catch(E){throw this.handleError(E)}}}return this.processed=!0,this.stringify()}runOnRoot(b){this.result.lastPlugin=b;try{if(typeof b=="object"&&b.Once){if(this.result.root.type==="document"){let w=this.result.root.nodes.map(x=>b.Once(x,this.helpers));return d(w[0])?Promise.all(w):w}return b.Once(this.result.root,this.helpers)}else if(typeof b=="function")return b(this.result.root,this.result)}catch(w){throw this.handleError(w)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let b=this.result.opts,w=a;b.syntax&&(w=b.syntax.stringify),b.stringifier&&(w=b.stringifier),w.stringify&&(w=w.stringify);let E=new o(w,this.result.root,this.result.opts).generate();return this.result.css=E[0],this.result.map=E[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let b of this.plugins){let w=this.runOnRoot(b);if(d(w))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let b=this.result.root;for(;!b[h];)b[h]=!0,this.walkSync(b);if(this.listeners.OnceExit)if(b.type==="document")for(let w of b.nodes)this.visitSync(this.listeners.OnceExit,w);else this.visitSync(this.listeners.OnceExit,b)}return this.result}then(b,w){return this.async().then(b,w)}toString(){return this.css}visitSync(b,w){for(let[x,E]of b){this.result.lastPlugin=x;let N;try{N=E(w,this.helpers)}catch(O){throw this.handleError(O,w.proxyOf)}if(w.type!=="root"&&w.type!=="document"&&!w.parent)return!0;if(d(N))throw this.getAsyncError()}}visitTick(b){let w=b[b.length-1],{node:x,visitors:E}=w;if(x.type!=="root"&&x.type!=="document"&&!x.parent){b.pop();return}if(E.length>0&&w.visitorIndex<E.length){let[O,L]=E[w.visitorIndex];w.visitorIndex+=1,w.visitorIndex===E.length&&(w.visitors=[],w.visitorIndex=0),this.result.lastPlugin=O;try{return L(x.toProxy(),this.helpers)}catch(P){throw this.handleError(P,x)}}if(w.iterator!==0){let O=w.iterator,L;for(;L=x.nodes[x.indexes[O]];)if(x.indexes[O]+=1,!L[h]){L[h]=!0,b.push(g(L));return}w.iterator=0,delete x.indexes[O]}let N=w.events;for(;w.eventIndex<N.length;){let O=N[w.eventIndex];if(w.eventIndex+=1,O===i){x.nodes&&x.nodes.length&&(x[h]=!0,w.iterator=x.getIterator());return}else if(this.listeners[O]){w.visitors=this.listeners[O];return}}b.pop()}walkSync(b){b[h]=!0;let w=p(b);for(let x of w)if(x===i)b.nodes&&b.each(E=>{E[h]||this.walkSync(E)});else{let E=this.listeners[x];if(E&&this.visitSync(E,b.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}return y.registerPostcss=v=>{S=v},Ye=y,y.default=y,c.registerLazyResult(y),r.registerLazyResult(y),Ye}var Ke,Zt;function Ti(){if(Zt)return Ke;Zt=1;let e=Or(),r=ut();const o=ft();let l=pe(),s=_r();class c{constructor(h,m,u){m=m.toString(),this.stringified=!1,this._processor=h,this._css=m,this._opts=u,this._map=void 0;let t,f=l;this.result=new o(this._processor,t,this._opts),this.result.css=m;let n=this;Object.defineProperty(this.result,"root",{get(){return n.root}});let i=new e(f,t,this._opts,m);if(i.isMap()){let[d,p]=i.generate();d&&(this.result.css=d),p&&(this.result.map=p)}else i.clearAnnotation(),this.result.css=i.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(h){return this.async().catch(h)}finally(h){return this.async().then(h,h)}sync(){if(this.error)throw this.error;return this.result}then(h,m){return this.async().then(h,m)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let h,m=r;try{h=m(this._css,this._opts)}catch(u){this.error=u}if(this.error)throw this.error;return this._root=h,h}get[Symbol.toStringTag](){return"NoWorkResult"}}return Ke=c,c.default=c,Ke}var Qe,Xt;function Ui(){if(Xt)return Qe;Xt=1;let e=lt(),r=Pr(),o=Ti(),l=ee();class s{constructor(a=[]){this.version="8.5.1",this.plugins=this.normalize(a)}normalize(a){let h=[];for(let m of a)if(m.postcss===!0?m=m():m.postcss&&(m=m.postcss),typeof m=="object"&&Array.isArray(m.plugins))h=h.concat(m.plugins);else if(typeof m=="object"&&m.postcssPlugin)h.push(m);else if(typeof m=="function")h.push(m);else if(!(typeof m=="object"&&(m.parse||m.stringify)))throw new Error(m+" is not a PostCSS plugin");return h}process(a,h={}){return!this.plugins.length&&!h.parser&&!h.stringifier&&!h.syntax?new o(this,a,h):new r(this,a,h)}use(a){return this.plugins=this.plugins.concat(this.normalize([a])),this}}return Qe=s,s.default=s,l.registerProcessor(s),e.registerProcessor(s),Qe}var Ze,er;function kr(){if(er)return Ze;er=1;let e=ot(),r=X(),o=V(),l=st(),s=me(),c=lt(),a=Di(),h=ge(),m=Pr(),u=Er(),t=de(),f=ut(),n=Ui(),i=ft(),d=ee(),p=at(),g=pe(),C=Ar();function S(...y){return y.length===1&&Array.isArray(y[0])&&(y=y[0]),new n(y)}return S.plugin=function(v,b){let w=!1;function x(...N){console&&console.warn&&!w&&(w=!0,console.warn(v+`: postcss.plugin was deprecated. Migration guide:
41
+ https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(v+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357:
42
+ https://www.w3ctech.com/topic/2226`));let O=b(...N);return O.postcssPlugin=v,O.postcssVersion=new n().version,O}let E;return Object.defineProperty(x,"postcss",{get(){return E||(E=x()),E}}),x.process=function(N,O,L){return S([x(L)]).process(N,O)},x},S.stringify=g,S.parse=f,S.fromJSON=a,S.list=u,S.comment=y=>new r(y),S.atRule=y=>new e(y),S.decl=y=>new s(y),S.rule=y=>new p(y),S.root=y=>new d(y),S.document=y=>new c(y),S.CssSyntaxError=l,S.Declaration=s,S.Container=o,S.Processor=n,S.Document=c,S.Comment=r,S.Warning=C,S.AtRule=e,S.Result=i,S.Input=h,S.Rule=p,S.Root=d,S.Node=t,m.registerPostcss(S),Ze=S,S.default=S,Ze}var Xe,tr;function Bi(){if(tr)return Xe;tr=1;let e=X(),r=Mr(),o=Nr();class l extends r{checkMissedSemicolon(){}comment(c){let a=new e;this.init(a,c[2]);let h=this.input.fromOffset(c[3])||this.input.fromOffset(this.input.css.length-1);a.source.end={column:h.col,line:h.line,offset:c[3]+1};let m=c[1].slice(2);if(m.slice(-2)==="*/"&&(m=m.slice(0,-2)),/^\s*$/.test(m))a.text="",a.raws.left=m,a.raws.right="";else{let u=m.match(/^(\s*)([^]*\S)(\s*)$/);a.text=u[2],a.raws.left=u[1],a.raws.right=u[3]}}createTokenizer(){this.tokenizer=o(this.input,{ignoreErrors:!0})}decl(c){c.length>1&&c.some(a=>a[0]==="word")&&super.decl(c)}doubleColon(){}endFile(){for(this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.current.parent;)this.current=this.current.parent,this.current.raws.after="";this.root.source.end=this.getPosition(this.tokenizer.position())}precheckMissedSemicolon(c){let a=this.colon(c);if(a===!1)return;let h,m;for(h=a-1;h>=0&&c[h][0]!=="word";h--);if(h===0||h<0)return;for(m=h-1;m>=0;m--)if(c[m][0]!=="space"){m+=1;break}let u=c.slice(h),t=c.slice(m,h);c.splice(m,c.length-m),this.spaces=t.map(f=>f[1]).join(""),this.decl(u)}unclosedBracket(){}unexpectedClose(){this.current.raws.after+="}"}unknownWord(c){this.spaces+=c.map(a=>a[1]).join("")}unnamedAtrule(c){c.name=""}}return Xe=l,Xe}var et,rr;function Fi(){if(rr)return et;rr=1;let{Input:e}=kr(),r=Bi();return et=function(l,s){let c=new e(l,s),a=new r(c);return a.parse(),a.root},et}var zi=Fi();const qi=vr(zi);var Wi=kr();const I=vr(Wi);I.stringify;I.fromJSON;I.plugin;I.parse;I.list;I.document;I.comment;I.atRule;I.rule;I.decl;I.root;I.CssSyntaxError;I.Declaration;I.Container;I.Processor;I.Document;I.Comment;I.Warning;I.AtRule;I.Result;I.Input;I.Rule;I.Root;I.Node;const ir={script:"noscript",altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",fedropshadow:"feDropShadow",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient"};function ji(e){let r=ir[e.tagName]?ir[e.tagName]:e.tagName;return r==="link"&&e.attributes._cssText&&(r="style"),r}function ye(e,r){const o=r==null?void 0:r.stylesWithHoverClass.get(e);if(o)return o;let l=e;try{l=I([Mi,Ai]).process(e,{parser:qi}).css}catch(s){console.warn("Failed to adapt css for replay",s)}return r==null||r.stylesWithHoverClass.set(e,l),l}function $i(){return{stylesWithHoverClass:new Map}}function Vi(e,r,o,l){const s=[];for(const a of e.childNodes)a.type===A.Text&&s.push(a);const c=r.split("/* rr_split */");for(;c.length>1&&c.length>s.length;)c.splice(-2,2,c.slice(-2).join(""));for(let a=0;a<s.length;a++){const h=s[a],m=c[a];h&&m&&(h.textContent=o?ye(m,l):m)}}function Gi(e,r,o,l){const{doc:s,hackCss:c,cache:a}=l;e.childNodes.length?Vi(e,o,c,a):(c&&(o=ye(o,a)),r.appendChild(s.createTextNode(o)))}function Hi(e,r){var o;const{doc:l,hackCss:s,cache:c}=r;switch(e.type){case A.Document:return l.implementation.createDocument(null,"",null);case A.DocumentType:return l.implementation.createDocumentType(e.name||"html",e.publicId,e.systemId);case A.Element:{const a=ji(e);let h;e.isSVG?h=l.createElementNS("http://www.w3.org/2000/svg",a):(e.isCustom&&((o=l.defaultView)!=null&&o.customElements)&&!l.defaultView.customElements.get(e.tagName)&&l.defaultView.customElements.define(e.tagName,class extends l.defaultView.HTMLElement{}),h=l.createElement(a));const m={};for(const u in e.attributes){if(!Object.prototype.hasOwnProperty.call(e.attributes,u))continue;let t=e.attributes[u];if(!(a==="option"&&u==="selected"&&t===!1)&&t!==null){if(t===!0&&(t=""),u.startsWith("rr_")){m[u]=t;continue}if(typeof t=="string"){if(a==="style"&&u==="_cssText"){Gi(e,h,t,r);continue}else if(a==="textarea"&&u==="value"){h.appendChild(l.createTextNode(t)),e.childNodes=[];continue}}try{if(e.isSVG&&u==="xlink:href")h.setAttributeNS("http://www.w3.org/1999/xlink",u,t.toString());else if(u==="onload"||u==="onclick"||u.substring(0,7)==="onmouse")h.setAttribute("_"+u,t.toString());else if(a==="meta"&&e.attributes["http-equiv"]==="Content-Security-Policy"&&u==="content"){h.setAttribute("csp-content",t.toString());continue}else a==="link"&&(e.attributes.rel==="preload"&&e.attributes.as==="script"||e.attributes.rel==="modulepreload")||a==="link"&&e.attributes.rel==="prefetch"&&typeof e.attributes.href=="string"&&he(e.attributes.href)==="js"||(a==="img"&&e.attributes.srcset&&e.attributes.rr_dataURL?h.setAttribute("rrweb-original-srcset",e.attributes.srcset):h.setAttribute(u,t.toString()))}catch(f){}}}for(const u in m){const t=m[u];if(a==="canvas"&&u==="rr_dataURL"){const f=l.createElement("img");f.onload=()=>{const n=h.getContext("2d");n&&n.drawImage(f,0,0,f.width,f.height)},f.src=t.toString(),h.RRNodeType&&(h.rr_dataURL=t.toString())}else if(a==="img"&&u==="rr_dataURL"){const f=h;f.currentSrc.startsWith("data:")||(f.setAttribute("rrweb-original-src",e.attributes.src),f.src=t.toString())}if(u==="rr_width")h.style.setProperty("width",t.toString());else if(u==="rr_height")h.style.setProperty("height",t.toString());else if(u==="rr_mediaCurrentTime"&&typeof t=="number")h.currentTime=t;else if(u==="rr_mediaState")switch(t){case"played":h.play().catch(f=>console.warn("media playback error",f));break;case"paused":h.pause();break}else u==="rr_mediaPlaybackRate"&&typeof t=="number"?h.playbackRate=t:u==="rr_mediaMuted"&&typeof t=="boolean"?h.muted=t:u==="rr_mediaLoop"&&typeof t=="boolean"?h.loop=t:u==="rr_mediaVolume"&&typeof t=="number"?h.volume=t:u==="rr_open_mode"&&h.setAttribute("rr_open_mode",t)}if(e.isShadowHost)if(!h.shadowRoot)h.attachShadow({mode:"open"});else for(;h.shadowRoot.firstChild;)h.shadowRoot.removeChild(h.shadowRoot.firstChild);return h}case A.Text:return e.isStyle&&s?l.createTextNode(ye(e.textContent,c)):l.createTextNode(e.textContent);case A.CDATA:return l.createCDATASection(e.textContent);case A.Comment:return l.createComment(e.textContent);default:return null}}function ct(e,r){const{doc:o,mirror:l,skipChild:s=!1,hackCss:c=!0,afterAppend:a,cache:h}=r;if(l.has(e.id)){const u=l.getNode(e.id),t=l.getMeta(u);if(pr(t,e))return l.getNode(e.id)}let m=Hi(e,{doc:o,hackCss:c,cache:h});if(!m)return null;if(e.rootId&&l.getNode(e.rootId)!==o&&l.replace(e.rootId,o),e.type===A.Document&&(o.close(),o.open(),e.compatMode==="BackCompat"&&e.childNodes&&e.childNodes[0].type!==A.DocumentType&&(e.childNodes[0].type===A.Element&&"xmlns"in e.childNodes[0].attributes&&e.childNodes[0].attributes.xmlns==="http://www.w3.org/1999/xhtml"?o.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">'):o.write('<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "">')),m=o),l.add(m,e),(e.type===A.Document||e.type===A.Element)&&!s)for(const u of e.childNodes){const t=ct(u,{doc:o,mirror:l,skipChild:!1,hackCss:c,afterAppend:a,cache:h});if(!t){console.warn("Failed to rebuild",u);continue}if(u.isShadow&&fe(m)&&m.shadowRoot)m.shadowRoot.appendChild(t);else if(e.type===A.Document&&u.type==A.Element){const f=t;let n=null;f.childNodes.forEach(i=>{i.nodeName==="BODY"&&(n=i)}),n?(f.removeChild(n),m.appendChild(t),f.appendChild(n)):m.appendChild(t)}else m.appendChild(t);a&&a(t,u.id)}return m}function Ji(e,r){function o(l){r(l)}for(const l of e.getIds())e.has(l)&&o(e.getNode(l))}function Yi(e,r){const o=r.getMeta(e);if((o==null?void 0:o.type)!==A.Element)return;const l=e;for(const s in o.attributes){if(!(Object.prototype.hasOwnProperty.call(o.attributes,s)&&s.startsWith("rr_")))continue;const c=o.attributes[s];s==="rr_scrollLeft"&&(l.scrollLeft=c),s==="rr_scrollTop"&&(l.scrollTop=c)}}function Ki(e,r){const{doc:o,onVisit:l,hackCss:s=!0,afterAppend:c,cache:a,mirror:h=new ce}=r,m=ct(e,{doc:o,mirror:h,skipChild:!1,hackCss:s,afterAppend:c,cache:a});return Ji(h,u=>{l&&l(u),Yi(u,h)}),m}exports.IGNORED_NODE=tt;exports.Mirror=ce;exports.absolutifyURLs=Q;exports.adaptCssForReplay=ye;exports.buildNodeWithSN=ct;exports.classMatchesRegex=ue;exports.cleanupSnapshot=Oi;exports.createCache=$i;exports.createMirror=ii;exports.escapeImportStatement=or;exports.extractFileExtension=he;exports.fixSafariColons=ar;exports.genId=wr;exports.getInputType=dr;exports.ignoreAttribute=Sr;exports.is2DCanvasBlank=hr;exports.isCSSImportRule=ur;exports.isCSSStyleRule=fr;exports.isElement=fe;exports.isNativeShadowDom=oe;exports.isNodeMetaEqual=pr;exports.isShadowRoot=nr;exports.markCssSplits=gr;exports.maskInputValue=cr;exports.needMaskingText=Cr;exports.normalizeCssString=le;exports.rebuild=Ki;exports.serializeNodeWithId=Y;exports.snapshot=Ri;exports.splitCssText=mr;exports.stringifyRule=lr;exports.stringifyStylesheet=ae;exports.toLowerCase=Z;exports.transformAttribute=br;exports.visitSnapshot=Ei;
43
43
  if (typeof module.exports == "object" && typeof exports == "object") {
44
44
  var __cp = (to, from, except, desc) => {
45
45
  if ((from && typeof from === "object") || typeof from === "function") {