@appsurify-testmap/rrweb-player 2.1.1-alpha.7 → 2.1.2-alpha.2

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,7 +11,7 @@
11
11
  }(this, () => {
12
12
  var exports = {};
13
13
  var module = { exports };
14
- "use strict";var Yl=Object.defineProperty,Zl=Object.defineProperties;var Hl=Object.getOwnPropertyDescriptors;var Dt=Object.getOwnPropertySymbols;var dr=Object.prototype.hasOwnProperty,mr=Object.prototype.propertyIsEnumerable;var pr=(s,e,t)=>e in s?Yl(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,$=(s,e)=>{for(var t in e||(e={}))dr.call(e,t)&&pr(s,t,e[t]);if(Dt)for(var t of Dt(e))mr.call(e,t)&&pr(s,t,e[t]);return s},oe=(s,e)=>Zl(s,Hl(e));var nt=(s,e)=>{var t={};for(var i in s)dr.call(s,i)&&e.indexOf(i)<0&&(t[i]=s[i]);if(s!=null&&Dt)for(var i of Dt(s))e.indexOf(i)<0&&mr.call(s,i)&&(t[i]=s[i]);return t};var Xl=Object.defineProperty,Jl=(s,e,t)=>e in s?Xl(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,gr=(s,e,t)=>Jl(s,typeof e!="symbol"?e+"":e,t);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function gt(){}function yr(s,e){for(const t in e)s[t]=e[t];return s}function Fn(s){return s()}function wr(){return Object.create(null)}function st(s){s.forEach(Fn)}function Bn(s){return typeof s=="function"}function Ls(s,e){return s!=s?e==e:s!==e||s&&typeof s=="object"||typeof s=="function"}function Kl(s){return Object.keys(s).length===0}function vr(s){const e={};for(const t in s)t[0]!=="$"&&(e[t]=s[t]);return e}function T(s,e){s.appendChild(e)}function Me(s,e,t){s.insertBefore(e,t||null)}function Ee(s){s.parentNode&&s.parentNode.removeChild(s)}function ki(s,e){for(let t=0;t<s.length;t+=1)s[t]&&s[t].d(e)}function se(s){return document.createElement(s)}function oi(s){return document.createElementNS("http://www.w3.org/2000/svg",s)}function Le(s){return document.createTextNode(s)}function ce(){return Le(" ")}function Ql(){return Le("")}function Ye(s,e,t,i){return s.addEventListener(e,t,i),()=>s.removeEventListener(e,t,i)}function M(s,e,t){t==null?s.removeAttribute(e):s.getAttribute(e)!==t&&s.setAttribute(e,t)}function ql(s){return Array.from(s.childNodes)}function li(s,e){e=""+e,s.data!==e&&(s.data=e)}function ee(s,e,t,i){t==null?s.style.removeProperty(e):s.style.setProperty(e,t,"")}function Xe(s,e,t){s.classList.toggle(e,!!t)}function ea(s,e,{bubbles:t=!1,cancelable:i=!1}={}){return new CustomEvent(s,{detail:e,bubbles:t,cancelable:i})}let yt;function pt(s){yt=s}function bi(){if(!yt)throw new Error("Function called outside component initialization");return yt}function Un(s){bi().$$.on_mount.push(s)}function ta(s){bi().$$.after_update.push(s)}function zn(s){bi().$$.on_destroy.push(s)}function ia(){const s=bi();return(e,t,{cancelable:i=!1}={})=>{const r=s.$$.callbacks[e];if(r){const o=ea(e,t,{cancelable:i});return r.slice().forEach(n=>{n.call(s,o)}),!o.defaultPrevented}return!0}}const Ve=[],$e=[];let He=[];const Ki=[],sa=Promise.resolve();let Qi=!1;function ra(){Qi||(Qi=!0,sa.then(Vn))}function qi(s){He.push(s)}function na(s){Ki.push(s)}const Pi=new Set;let Ue=0;function Vn(){if(Ue!==0)return;const s=yt;do{try{for(;Ue<Ve.length;){const e=Ve[Ue];Ue++,pt(e),oa(e.$$)}}catch(e){throw Ve.length=0,Ue=0,e}for(pt(null),Ve.length=0,Ue=0;$e.length;)$e.pop()();for(let e=0;e<He.length;e+=1){const t=He[e];Pi.has(t)||(Pi.add(t),t())}He.length=0}while(Ve.length);for(;Ki.length;)Ki.pop()();Qi=!1,Pi.clear(),pt(s)}function oa(s){if(s.fragment!==null){s.update(),st(s.before_update);const e=s.dirty;s.dirty=[-1],s.fragment&&s.fragment.p(s.ctx,e),s.after_update.forEach(qi)}}function la(s){const e=[],t=[];He.forEach(i=>s.indexOf(i)===-1?e.push(i):t.push(i)),t.forEach(i=>i()),He=e}const ti=new Set;let Pe;function Wn(){Pe={r:0,c:[],p:Pe}}function Gn(){Pe.r||st(Pe.c),Pe=Pe.p}function Ae(s,e){s&&s.i&&(ti.delete(s),s.i(e))}function Je(s,e,t,i){if(s&&s.o){if(ti.has(s))return;ti.add(s),Pe.c.push(()=>{ti.delete(s),i&&(t&&s.d(1),i())}),s.o(e)}else i&&i()}function ze(s){return(s==null?void 0:s.length)!==void 0?s:Array.from(s)}function aa(s,e,t){const i=s.$$.props[e];i!==void 0&&(s.$$.bound[i]=t,t(s.$$.ctx[i]))}function jn(s){s&&s.c()}function Fs(s,e,t){const{fragment:i,after_update:r}=s.$$;i&&i.m(e,t),qi(()=>{const o=s.$$.on_mount.map(Fn).filter(Bn);s.$$.on_destroy?s.$$.on_destroy.push(...o):st(o),s.$$.on_mount=[]}),r.forEach(qi)}function Bs(s,e){const t=s.$$;t.fragment!==null&&(la(t.after_update),st(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function ua(s,e){s.$$.dirty[0]===-1&&(Ve.push(s),ra(),s.$$.dirty.fill(0)),s.$$.dirty[e/31|0]|=1<<e%31}function Us(s,e,t,i,r,o,n=null,l=[-1]){const a=yt;pt(s);const u=s.$$={fragment:null,ctx:[],props:o,update:gt,not_equal:r,bound:wr(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:wr(),dirty:l,skip_bound:!1,root:e.target||a.$$.root};n&&n(u.root);let c=!1;if(u.ctx=t?t(s,e.props||{},(h,f,...g)=>{const d=g.length?g[0]:f;return u.ctx&&r(u.ctx[h],u.ctx[h]=d)&&(!u.skip_bound&&u.bound[h]&&u.bound[h](d),c&&ua(s,h)),f}):[],u.update(),c=!0,st(u.before_update),u.fragment=i?i(u.ctx):!1,e.target){if(e.hydrate){const h=ql(e.target);u.fragment&&u.fragment.l(h),h.forEach(Ee)}else u.fragment&&u.fragment.c();e.intro&&Ae(s.$$.fragment),Fs(s,e.target,e.anchor),Vn()}pt(a)}class zs{constructor(){gr(this,"$$"),gr(this,"$$set")}$destroy(){Bs(this,1),this.$destroy=gt}$on(e,t){if(!Bn(t))return gt;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(t),()=>{const r=i.indexOf(t);r!==-1&&i.splice(r,1)}}$set(e){this.$$set&&!Kl(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const ca="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(ca);var ha=Object.defineProperty,fa=(s,e,t)=>e in s?ha(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,N=(s,e,t)=>fa(s,typeof e!="symbol"?e+"":e,t),br,pa=Object.defineProperty,da=(s,e,t)=>e in s?pa(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,Cr=(s,e,t)=>da(s,typeof e!="symbol"?e+"":e,t),Q=(s=>(s[s.Document=0]="Document",s[s.DocumentType=1]="DocumentType",s[s.Element=2]="Element",s[s.Text=3]="Text",s[s.CDATA=4]="CDATA",s[s.Comment=5]="Comment",s))(Q||{});function ma(s){return s.nodeType===s.ELEMENT_NODE}class Yn{constructor(){Cr(this,"idNodeMap",new Map),Cr(this,"nodeMetaMap",new WeakMap)}getId(e){var t;if(!e)return-1;const i=(t=this.getMeta(e))==null?void 0:t.id;return i!=null?i:-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(i=>this.removeNodeFromMap(i))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){const i=t.id;this.idNodeMap.set(i,e),this.nodeMetaMap.set(e,t)}replace(e,t){const i=this.getNode(e);if(i){const r=this.nodeMetaMap.get(i);r&&this.nodeMetaMap.set(t,r)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function Zn(){return new Yn}function ga(s){return s.toLowerCase()}function ya(s,e){return!s||!e||s.type!==e.type?!1:s.type===Q.Document?s.compatMode===e.compatMode:s.type===Q.DocumentType?s.name===e.name&&s.publicId===e.publicId&&s.systemId===e.systemId:s.type===Q.Comment||s.type===Q.Text||s.type===Q.CDATA?s.textContent===e.textContent:s.type===Q.Element?s.tagName===e.tagName&&JSON.stringify(s.attributes)===JSON.stringify(e.attributes)&&s.isSVG===e.isSVG&&s.needBlock===e.needBlock:!1}function wa(s,e){var o;let t;try{t=new URL(s,e!=null?e:window.location.href)}catch(n){return null}const i=/\.([0-9a-z]+)(?:$)/i,r=t.pathname.match(i);return(o=r==null?void 0:r[1])!=null?o:null}const va=["change","submit","dragstart","drop","pointerdown","pointerup","input","keydown","keyup","keypress","mouseenter","mouseleave","mouseup","mousedown","click","contextmenu","dblclick","focus","blur","touchstart","touchmove","touchend","touchcancel"],ba=["onclick","ondblclick","onmousedown","onmouseup","onmouseover","onmouseout","onmousemove","onfocus","onblur","onkeydown","onkeypress","onkeyup","onchange","oninput","onsubmit","onreset","onselect","oncontextmenu","ontouchstart","ontouchmove","ontouchend","ontouchcancel"],Hn=new WeakSet,Ca=EventTarget.prototype.addEventListener;EventTarget.prototype.addEventListener=function(s,e,t){if(Ca.call(this,s,e,t),this instanceof Element){const i=s.toLowerCase();va.includes(i)&&Hn.add(this)}};const Sa=EventTarget.prototype.removeEventListener;EventTarget.prototype.removeEventListener=function(s,e,t){Sa.call(this,s,e,t)};function Sr(){document.querySelectorAll("*").forEach(e=>{ba.forEach(t=>{e.hasAttribute(t)&&Hn.add(e)})})}document.readyState==="complete"||document.readyState==="interactive"?Sr():document.addEventListener("DOMContentLoaded",Sr);const Ea=/(max|min)-device-(width|height)/,Er=new RegExp(Ea.source,"g"),xa={postcssPlugin:"postcss-custom-selectors",prepare(){return{postcssPlugin:"postcss-custom-selectors",AtRule:function(s){s.params.match(Er)&&(s.params=s.params.replace(Er,"$1-$2"))}}}},Aa={postcssPlugin:"postcss-hover-classes",prepare:function(){const s=[];return{Rule:function(e){s.indexOf(e)===-1&&(s.push(e),e.selectors.forEach(function(t){t.includes(":hover")&&(e.selector+=`,
14
+ "use strict";var Yl=Object.defineProperty,Zl=Object.defineProperties;var Hl=Object.getOwnPropertyDescriptors;var Dt=Object.getOwnPropertySymbols;var dr=Object.prototype.hasOwnProperty,mr=Object.prototype.propertyIsEnumerable;var pr=(s,e,t)=>e in s?Yl(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,$=(s,e)=>{for(var t in e||(e={}))dr.call(e,t)&&pr(s,t,e[t]);if(Dt)for(var t of Dt(e))mr.call(e,t)&&pr(s,t,e[t]);return s},oe=(s,e)=>Zl(s,Hl(e));var nt=(s,e)=>{var t={};for(var i in s)dr.call(s,i)&&e.indexOf(i)<0&&(t[i]=s[i]);if(s!=null&&Dt)for(var i of Dt(s))e.indexOf(i)<0&&mr.call(s,i)&&(t[i]=s[i]);return t};var Xl=Object.defineProperty,Jl=(s,e,t)=>e in s?Xl(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,gr=(s,e,t)=>Jl(s,typeof e!="symbol"?e+"":e,t);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function gt(){}function yr(s,e){for(const t in e)s[t]=e[t];return s}function Fn(s){return s()}function wr(){return Object.create(null)}function st(s){s.forEach(Fn)}function Bn(s){return typeof s=="function"}function Ls(s,e){return s!=s?e==e:s!==e||s&&typeof s=="object"||typeof s=="function"}function Kl(s){return Object.keys(s).length===0}function vr(s){const e={};for(const t in s)t[0]!=="$"&&(e[t]=s[t]);return e}function T(s,e){s.appendChild(e)}function Me(s,e,t){s.insertBefore(e,t||null)}function Ee(s){s.parentNode&&s.parentNode.removeChild(s)}function ki(s,e){for(let t=0;t<s.length;t+=1)s[t]&&s[t].d(e)}function se(s){return document.createElement(s)}function oi(s){return document.createElementNS("http://www.w3.org/2000/svg",s)}function Le(s){return document.createTextNode(s)}function ce(){return Le(" ")}function Ql(){return Le("")}function Ye(s,e,t,i){return s.addEventListener(e,t,i),()=>s.removeEventListener(e,t,i)}function M(s,e,t){t==null?s.removeAttribute(e):s.getAttribute(e)!==t&&s.setAttribute(e,t)}function ql(s){return Array.from(s.childNodes)}function li(s,e){e=""+e,s.data!==e&&(s.data=e)}function ee(s,e,t,i){t==null?s.style.removeProperty(e):s.style.setProperty(e,t,"")}function Xe(s,e,t){s.classList.toggle(e,!!t)}function ea(s,e,{bubbles:t=!1,cancelable:i=!1}={}){return new CustomEvent(s,{detail:e,bubbles:t,cancelable:i})}let yt;function pt(s){yt=s}function bi(){if(!yt)throw new Error("Function called outside component initialization");return yt}function Un(s){bi().$$.on_mount.push(s)}function ta(s){bi().$$.after_update.push(s)}function zn(s){bi().$$.on_destroy.push(s)}function ia(){const s=bi();return(e,t,{cancelable:i=!1}={})=>{const r=s.$$.callbacks[e];if(r){const o=ea(e,t,{cancelable:i});return r.slice().forEach(n=>{n.call(s,o)}),!o.defaultPrevented}return!0}}const Ve=[],$e=[];let He=[];const Ki=[],sa=Promise.resolve();let Qi=!1;function ra(){Qi||(Qi=!0,sa.then(Vn))}function qi(s){He.push(s)}function na(s){Ki.push(s)}const Pi=new Set;let Ue=0;function Vn(){if(Ue!==0)return;const s=yt;do{try{for(;Ue<Ve.length;){const e=Ve[Ue];Ue++,pt(e),oa(e.$$)}}catch(e){throw Ve.length=0,Ue=0,e}for(pt(null),Ve.length=0,Ue=0;$e.length;)$e.pop()();for(let e=0;e<He.length;e+=1){const t=He[e];Pi.has(t)||(Pi.add(t),t())}He.length=0}while(Ve.length);for(;Ki.length;)Ki.pop()();Qi=!1,Pi.clear(),pt(s)}function oa(s){if(s.fragment!==null){s.update(),st(s.before_update);const e=s.dirty;s.dirty=[-1],s.fragment&&s.fragment.p(s.ctx,e),s.after_update.forEach(qi)}}function la(s){const e=[],t=[];He.forEach(i=>s.indexOf(i)===-1?e.push(i):t.push(i)),t.forEach(i=>i()),He=e}const ti=new Set;let Pe;function Wn(){Pe={r:0,c:[],p:Pe}}function Gn(){Pe.r||st(Pe.c),Pe=Pe.p}function Ae(s,e){s&&s.i&&(ti.delete(s),s.i(e))}function Je(s,e,t,i){if(s&&s.o){if(ti.has(s))return;ti.add(s),Pe.c.push(()=>{ti.delete(s),i&&(t&&s.d(1),i())}),s.o(e)}else i&&i()}function ze(s){return(s==null?void 0:s.length)!==void 0?s:Array.from(s)}function aa(s,e,t){const i=s.$$.props[e];i!==void 0&&(s.$$.bound[i]=t,t(s.$$.ctx[i]))}function jn(s){s&&s.c()}function Fs(s,e,t){const{fragment:i,after_update:r}=s.$$;i&&i.m(e,t),qi(()=>{const o=s.$$.on_mount.map(Fn).filter(Bn);s.$$.on_destroy?s.$$.on_destroy.push(...o):st(o),s.$$.on_mount=[]}),r.forEach(qi)}function Bs(s,e){const t=s.$$;t.fragment!==null&&(la(t.after_update),st(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function ua(s,e){s.$$.dirty[0]===-1&&(Ve.push(s),ra(),s.$$.dirty.fill(0)),s.$$.dirty[e/31|0]|=1<<e%31}function Us(s,e,t,i,r,o,n=null,l=[-1]){const a=yt;pt(s);const u=s.$$={fragment:null,ctx:[],props:o,update:gt,not_equal:r,bound:wr(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:wr(),dirty:l,skip_bound:!1,root:e.target||a.$$.root};n&&n(u.root);let c=!1;if(u.ctx=t?t(s,e.props||{},(h,f,...g)=>{const d=g.length?g[0]:f;return u.ctx&&r(u.ctx[h],u.ctx[h]=d)&&(!u.skip_bound&&u.bound[h]&&u.bound[h](d),c&&ua(s,h)),f}):[],u.update(),c=!0,st(u.before_update),u.fragment=i?i(u.ctx):!1,e.target){if(e.hydrate){const h=ql(e.target);u.fragment&&u.fragment.l(h),h.forEach(Ee)}else u.fragment&&u.fragment.c();e.intro&&Ae(s.$$.fragment),Fs(s,e.target,e.anchor),Vn()}pt(a)}class zs{constructor(){gr(this,"$$"),gr(this,"$$set")}$destroy(){Bs(this,1),this.$destroy=gt}$on(e,t){if(!Bn(t))return gt;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(t),()=>{const r=i.indexOf(t);r!==-1&&i.splice(r,1)}}$set(e){this.$$set&&!Kl(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const ca="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(ca);var ha=Object.defineProperty,fa=(s,e,t)=>e in s?ha(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,N=(s,e,t)=>fa(s,typeof e!="symbol"?e+"":e,t),br,pa=Object.defineProperty,da=(s,e,t)=>e in s?pa(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,Cr=(s,e,t)=>da(s,typeof e!="symbol"?e+"":e,t),Q=(s=>(s[s.Document=0]="Document",s[s.DocumentType=1]="DocumentType",s[s.Element=2]="Element",s[s.Text=3]="Text",s[s.CDATA=4]="CDATA",s[s.Comment=5]="Comment",s))(Q||{});function ma(s){return s.nodeType===s.ELEMENT_NODE}class Yn{constructor(){Cr(this,"idNodeMap",new Map),Cr(this,"nodeMetaMap",new WeakMap)}getId(e){var t;if(!e)return-1;const i=(t=this.getMeta(e))==null?void 0:t.id;return i!=null?i:-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(i=>this.removeNodeFromMap(i))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){const i=t.id;this.idNodeMap.set(i,e),this.nodeMetaMap.set(e,t)}replace(e,t){const i=this.getNode(e);if(i){const r=this.nodeMetaMap.get(i);r&&this.nodeMetaMap.set(t,r)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function Zn(){return new Yn}function ga(s){return s.toLowerCase()}function ya(s,e){return!s||!e||s.type!==e.type?!1:s.type===Q.Document?s.compatMode===e.compatMode:s.type===Q.DocumentType?s.name===e.name&&s.publicId===e.publicId&&s.systemId===e.systemId:s.type===Q.Comment||s.type===Q.Text||s.type===Q.CDATA?s.textContent===e.textContent:s.type===Q.Element?s.tagName===e.tagName&&JSON.stringify(s.attributes)===JSON.stringify(e.attributes)&&s.isSVG===e.isSVG&&s.needBlock===e.needBlock:!1}function wa(s,e){var o;let t;try{t=new URL(s,e!=null?e:window.location.href)}catch(n){return null}const i=/\.([0-9a-z]+)(?:$)/i,r=t.pathname.match(i);return(o=r==null?void 0:r[1])!=null?o:null}const va=["change","submit","dragstart","drop","pointerdown","pointerup","input","keydown","keyup","keypress","mouseenter","mouseleave","mouseup","mousedown","click","contextmenu","dblclick","focus","blur","touchstart","touchmove","touchend","touchcancel"],ba=["onclick","ondblclick","onmousedown","onmouseup","onmouseover","onmouseout","onmousemove","onfocus","onblur","onkeydown","onkeypress","onkeyup","onchange","oninput","onsubmit","onreset","onselect","oncontextmenu","ontouchstart","ontouchmove","ontouchend","ontouchcancel"],Hn=new WeakSet,Ca=EventTarget.prototype.addEventListener;EventTarget.prototype.addEventListener=function(s,e,t){if(Ca.call(this,s,e,t),this instanceof Element){const i=s.toLowerCase();va.includes(i)&&Hn.add(this)}};const Sa=EventTarget.prototype.removeEventListener;EventTarget.prototype.removeEventListener=function(s,e,t){Sa.call(this,s,e,t)};function Sr(){document.querySelectorAll("*").forEach(e=>{ba.forEach(t=>{e.hasAttribute(t)&&Hn.add(e)})})}try{document.readyState==="complete"||document.readyState==="interactive"?Sr():document.addEventListener("DOMContentLoaded",Sr)}catch(s){}const Ea=/(max|min)-device-(width|height)/,Er=new RegExp(Ea.source,"g"),xa={postcssPlugin:"postcss-custom-selectors",prepare(){return{postcssPlugin:"postcss-custom-selectors",AtRule:function(s){s.params.match(Er)&&(s.params=s.params.replace(Er,"$1-$2"))}}}},Aa={postcssPlugin:"postcss-hover-classes",prepare:function(){const s=[];return{Rule:function(e){s.indexOf(e)===-1&&(s.push(e),e.selectors.forEach(function(t){t.includes(":hover")&&(e.selector+=`,
15
15
  `+t.replace(/:hover/g,".\\:hover"))}))}}}};function Ra(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}function Na(s){if(s.__esModule)return s;var e=s.default;if(typeof e=="function"){var t=function i(){return this instanceof i?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(s).forEach(function(i){var r=Object.getOwnPropertyDescriptor(s,i);Object.defineProperty(t,i,r.get?r:{enumerable:!0,get:function(){return s[i]}})}),t}var Vs={exports:{}},W=String,Xn=function(){return{isColorSupported:!1,reset:W,bold:W,dim:W,italic:W,underline:W,inverse:W,hidden:W,strikethrough:W,black:W,red:W,green:W,yellow:W,blue:W,magenta:W,cyan:W,white:W,gray:W,bgBlack:W,bgRed:W,bgGreen:W,bgYellow:W,bgBlue:W,bgMagenta:W,bgCyan:W,bgWhite:W}};Vs.exports=Xn();Vs.exports.createColors=Xn;var Ma=Vs.exports;const Oa={},Ia=Object.freeze(Object.defineProperty({__proto__:null,default:Oa},Symbol.toStringTag,{value:"Module"})),me=Na(Ia);let xr=Ma,Ar=me,es=class Jn extends Error{constructor(e,t,i,r,o,n){super(e),this.name="CssSyntaxError",this.reason=e,o&&(this.file=o),r&&(this.source=r),n&&(this.plugin=n),typeof t!="undefined"&&typeof i!="undefined"&&(typeof t=="number"?(this.line=t,this.column=i):(this.line=t.line,this.column=t.column,this.endLine=i.line,this.endColumn=i.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,Jn)}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=xr.isColorSupported),Ar&&e&&(t=Ar(t));let i=t.split(/\r?\n/),r=Math.max(this.line-3,0),o=Math.min(this.line+2,i.length),n=String(o).length,l,a;if(e){let{bold:u,gray:c,red:h}=xr.createColors(!0);l=f=>u(h(f)),a=f=>c(f)}else l=a=u=>u;return i.slice(r,o).map((u,c)=>{let h=r+1+c,f=" "+(" "+h).slice(-n)+" | ";if(h===this.line){let g=a(f.replace(/\d/g," "))+u.slice(0,this.column-1).replace(/[^\t]/g," ");return l(">")+a(f)+u+`
16
16
  `+g+l("^")}return" "+a(f)+u}).join(`
17
17
  `)}toString(){let e=this.showSourceCode();return e&&(e=`
@@ -38,7 +38,7 @@ var module = { exports };
38
38
  `.charCodeAt(0),ot=" ".charCodeAt(0),$t="\f".charCodeAt(0),Lt=" ".charCodeAt(0),Ft="\r".charCodeAt(0),nu="[".charCodeAt(0),ou="]".charCodeAt(0),lu="(".charCodeAt(0),au=")".charCodeAt(0),uu="{".charCodeAt(0),cu="}".charCodeAt(0),hu=";".charCodeAt(0),fu="*".charCodeAt(0),pu=":".charCodeAt(0),du="@".charCodeAt(0),Bt=/[\t\n\f\r "#'()/;[\\\]{}]/g,Ut=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,mu=/.[\r\n"'(/\\]/,Pr=/[\da-f]/i;var gu=function(e,t={}){let i=e.css.valueOf(),r=t.ignoreErrors,o,n,l,a,u,c,h,f,g,d,A=i.length,p=0,m=[],w=[];function v(){return p}function x(O){throw e.error("Unclosed "+O,p)}function R(){return w.length===0&&p>=A}function I(O){if(w.length)return w.pop();if(p>=A)return;let X=O?O.ignoreUnclosed:!1;switch(o=i.charCodeAt(p),o){case Pt:case ot:case Lt:case Ft:case $t:{n=p;do n+=1,o=i.charCodeAt(n);while(o===ot||o===Pt||o===Lt||o===Ft||o===$t);d=["space",i.slice(p,n)],p=n-1;break}case nu:case ou:case uu:case cu:case pu:case hu:case au:{let z=String.fromCharCode(o);d=[z,z,p];break}case lu:{if(f=m.length?m.pop()[1]:"",g=i.charCodeAt(p+1),f==="url"&&g!==Bi&&g!==Tr&&g!==ot&&g!==Pt&&g!==Lt&&g!==$t&&g!==Ft){n=p;do{if(c=!1,n=i.indexOf(")",n+1),n===-1)if(r||X){n=p;break}else x("bracket");for(h=n;i.charCodeAt(h-1)===kt;)h-=1,c=!c}while(c);d=["brackets",i.slice(p,n+1),p,n],p=n}else n=i.indexOf(")",p+1),a=i.slice(p,n+1),n===-1||mu.test(a)?d=["(","(",p]:(d=["brackets",a,p,n],p=n);break}case Bi:case Tr:{l=o===Bi?"'":'"',n=p;do{if(c=!1,n=i.indexOf(l,n+1),n===-1)if(r||X){n=p+1;break}else x("string");for(h=n;i.charCodeAt(h-1)===kt;)h-=1,c=!c}while(c);d=["string",i.slice(p,n+1),p,n],p=n;break}case du:{Bt.lastIndex=p+1,Bt.test(i),Bt.lastIndex===0?n=i.length-1:n=Bt.lastIndex-2,d=["at-word",i.slice(p,n+1),p,n],p=n;break}case kt:{for(n=p,u=!0;i.charCodeAt(n+1)===kt;)n+=1,u=!u;if(o=i.charCodeAt(n+1),u&&o!==kr&&o!==ot&&o!==Pt&&o!==Lt&&o!==Ft&&o!==$t&&(n+=1,Pr.test(i.charAt(n)))){for(;Pr.test(i.charAt(n+1));)n+=1;i.charCodeAt(n+1)===ot&&(n+=1)}d=["word",i.slice(p,n+1),p,n],p=n;break}default:{o===kr&&i.charCodeAt(p+1)===fu?(n=i.indexOf("*/",p+2)+1,n===0&&(r||X?n=i.length:x("comment")),d=["comment",i.slice(p,n+1),p,n],p=n):(Ut.lastIndex=p+1,Ut.test(i),Ut.lastIndex===0?n=i.length-1:n=Ut.lastIndex-2,d=["word",i.slice(p,n+1),p,n],m.push(d),p=n);break}}return p++,d}function Z(O){w.push(O)}return{back:Z,endOfFile:R,nextToken:I,position:v}};let yo=Fe,ui=class extends yo{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 Hs=ui;ui.default=ui;yo.registerAtRule(ui);let wo=Fe,vo,bo,Ke=class extends wo{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,i){let r=super.normalize(e);if(t){if(i==="prepend")this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let o of r)o.raws.before=t.raws.before}return r}removeChild(e,t){let i=this.index(e);return!t&&i===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[i].raws.before),super.removeChild(e)}toResult(e={}){return new vo(new bo,this,e).stringify()}};Ke.registerLazyResult=s=>{vo=s};Ke.registerProcessor=s=>{bo=s};var Nt=Ke;Ke.default=Ke;wo.registerRoot(Ke);let vt={comma(s){return vt.split(s,[","],!0)},space(s){let e=[" ",`
39
39
  `," "];return vt.split(s,e)},split(s,e,t){let i=[],r="",o=!1,n=0,l=!1,a="",u=!1;for(let c of s)u?u=!1:c==="\\"?u=!0:l?c===a&&(l=!1):c==='"'||c==="'"?(l=!0,a=c):c==="("?n+=1:c===")"?n>0&&(n-=1):n===0&&e.includes(c)&&(o=!0),o?(r!==""&&i.push(r.trim()),r="",o=!1):r+=c;return(t||r!=="")&&i.push(r.trim()),i}};var Co=vt;vt.default=vt;let So=Fe,yu=Co,ci=class extends So{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return yu.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,i=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(i)}};var Xs=ci;ci.default=ci;So.registerRule(ci);let wu=Ei,vu=gu,bu=Ai,Cu=Hs,Su=Nt,$r=Xs;const Lr={empty:!0,space:!0};function Eu(s){for(let e=s.length-1;e>=0;e--){let t=s[e],i=t[3]||t[2];if(i)return i}}let xu=class{constructor(e){this.input=e,this.root=new Su,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 Cu;t.name=e[1].slice(1),t.name===""&&this.unnamedAtrule(t,e),this.init(t,e[2]);let i,r,o,n=!1,l=!1,a=[],u=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),i=e[0],i==="("||i==="["?u.push(i==="("?")":"]"):i==="{"&&u.length>0?u.push("}"):i===u[u.length-1]&&u.pop(),u.length===0)if(i===";"){t.source.end=this.getPosition(e[2]),t.source.end.offset++,this.semicolon=!0;break}else if(i==="{"){l=!0;break}else if(i==="}"){if(a.length>0){for(o=a.length-1,r=a[o];r&&r[0]==="space";)r=a[--o];r&&(t.source.end=this.getPosition(r[3]||r[2]),t.source.end.offset++)}this.end(e);break}else a.push(e);else a.push(e);if(this.tokenizer.endOfFile()){n=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(t.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(t,"params",a),n&&(e=a[a.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=""),l&&(t.nodes=[],this.current=t)}checkMissedSemicolon(e){let t=this.colon(e);if(t===!1)return;let i=0,r;for(let o=t-1;o>=0&&(r=e[o],!(r[0]!=="space"&&(i+=1,i===2)));o--);throw this.input.error("Missed semicolon",r[0]==="word"?r[3]+1:r[2])}colon(e){let t=0,i,r,o;for(let[n,l]of e.entries()){if(i=l,r=i[0],r==="("&&(t+=1),r===")"&&(t-=1),t===0&&r===":")if(!o)this.doubleColon(i);else{if(o[0]==="word"&&o[1]==="progid")continue;return n}o=i}return!1}comment(e){let t=new bu;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let i=e[1].slice(2,-2);if(/^\s*$/.test(i))t.text="",t.raws.left=i,t.raws.right="";else{let r=i.match(/^(\s*)([^]*\S)(\s*)$/);t.text=r[2],t.raws.left=r[1],t.raws.right=r[3]}}createTokenizer(){this.tokenizer=vu(this.input)}decl(e,t){let i=new wu;this.init(i,e[0][2]);let r=e[e.length-1];for(r[0]===";"&&(this.semicolon=!0,e.pop()),i.source.end=this.getPosition(r[3]||r[2]||Eu(e)),i.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),i.raws.before+=e.shift()[1];for(i.source.start=this.getPosition(e[0][2]),i.prop="";e.length;){let u=e[0][0];if(u===":"||u==="space"||u==="comment")break;i.prop+=e.shift()[1]}i.raws.between="";let o;for(;e.length;)if(o=e.shift(),o[0]===":"){i.raws.between+=o[1];break}else o[0]==="word"&&/\w/.test(o[1])&&this.unknownWord([o]),i.raws.between+=o[1];(i.prop[0]==="_"||i.prop[0]==="*")&&(i.raws.before+=i.prop[0],i.prop=i.prop.slice(1));let n=[],l;for(;e.length&&(l=e[0][0],!(l!=="space"&&l!=="comment"));)n.push(e.shift());this.precheckMissedSemicolon(e);for(let u=e.length-1;u>=0;u--){if(o=e[u],o[1].toLowerCase()==="!important"){i.important=!0;let c=this.stringFrom(e,u);c=this.spacesFromEnd(e)+c,c!==" !important"&&(i.raws.important=c);break}else if(o[1].toLowerCase()==="important"){let c=e.slice(0),h="";for(let f=u;f>0;f--){let g=c[f][0];if(h.trim().indexOf("!")===0&&g!=="space")break;h=c.pop()[1]+h}h.trim().indexOf("!")===0&&(i.important=!0,i.raws.important=h,e=c)}if(o[0]!=="space"&&o[0]!=="comment")break}e.some(u=>u[0]!=="space"&&u[0]!=="comment")&&(i.raws.between+=n.map(u=>u[1]).join(""),n=[]),this.raw(i,"value",n.concat(e),t),i.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 $r;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,i=null,r=!1,o=null,n=[],l=e[1].startsWith("--"),a=[],u=e;for(;u;){if(i=u[0],a.push(u),i==="("||i==="[")o||(o=u),n.push(i==="("?")":"]");else if(l&&r&&i==="{")o||(o=u),n.push("}");else if(n.length===0)if(i===";")if(r){this.decl(a,l);return}else break;else if(i==="{"){this.rule(a);return}else if(i==="}"){this.tokenizer.back(a.pop()),t=!0;break}else i===":"&&(r=!0);else i===n[n.length-1]&&(n.pop(),n.length===0&&(o=null));u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),n.length>0&&this.unclosedBracket(o),t&&r){if(!l)for(;a.length&&(u=a[a.length-1][0],!(u!=="space"&&u!=="comment"));)this.tokenizer.back(a.pop());this.decl(a,l)}else this.unknownWord(a)}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,i,r){let o,n,l=i.length,a="",u=!0,c,h;for(let f=0;f<l;f+=1)o=i[f],n=o[0],n==="space"&&f===l-1&&!r?u=!1:n==="comment"?(h=i[f-1]?i[f-1][0]:"empty",c=i[f+1]?i[f+1][0]:"empty",!Lr[h]&&!Lr[c]?a.slice(-1)===","?u=!1:a+=o[1]:u=!1):a+=o[1];if(!u){let f=i.reduce((g,d)=>g+d[1],"");e.raws[t]={raw:f,value:a}}e[t]=a}rule(e){e.pop();let t=new $r;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,i="";for(;e.length&&(t=e[e.length-1][0],!(t!=="space"&&t!=="comment"));)i=e.pop()[1]+i;return i}spacesAndCommentsFromStart(e){let t,i="";for(;e.length&&(t=e[0][0],!(t!=="space"&&t!=="comment"));)i+=e.shift()[1];return i}spacesFromEnd(e){let t,i="";for(;e.length&&(t=e[e.length-1][0],t==="space");)i=e.pop()[1]+i;return i}stringFrom(e,t){let i="";for(let r=t;r<e.length;r++)i+=e[r][1];return e.splice(t,e.length-t),i}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 Au=xu;let Ru=Fe,Nu=Au,Mu=xi;function hi(s,e){let t=new Mu(s,e),i=new Nu(t);try{i.parse()}catch(r){throw r}return i.root}var Js=hi;hi.default=hi;Ru.registerParse(hi);let{isClean:be,my:Ou}=Rt,Iu=so,Du=Ci,_u=Fe,Tu=Ys;let Fr=Zs,ku=Js,Pu=Nt;const $u={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},Lu={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},Fu={Once:!0,postcssPlugin:!0,prepare:!0},Qe=0;function lt(s){return typeof s=="object"&&typeof s.then=="function"}function Eo(s){let e=!1,t=$u[s.type];return s.type==="decl"?e=s.prop.toLowerCase():s.type==="atrule"&&(e=s.name.toLowerCase()),e&&s.append?[t,t+"-"+e,Qe,t+"Exit",t+"Exit-"+e]:e?[t,t+"-"+e,t+"Exit",t+"Exit-"+e]:s.append?[t,Qe,t+"Exit"]:[t,t+"Exit"]}function Br(s){let e;return s.type==="document"?e=["Document",Qe,"DocumentExit"]:s.type==="root"?e=["Root",Qe,"RootExit"]:e=Eo(s),{eventIndex:0,events:e,iterator:0,node:s,visitorIndex:0,visitors:[]}}function fs(s){return s[be]=!1,s.nodes&&s.nodes.forEach(e=>fs(e)),s}let ps={},qe=class xo{constructor(e,t,i){this.stringified=!1,this.processed=!1;let r;if(typeof t=="object"&&t!==null&&(t.type==="root"||t.type==="document"))r=fs(t);else if(t instanceof xo||t instanceof Fr)r=fs(t.root),t.map&&(typeof i.map=="undefined"&&(i.map={}),i.map.inline||(i.map.inline=!1),i.map.prev=t.map);else{let o=ku;i.syntax&&(o=i.syntax.parse),i.parser&&(o=i.parser),o.parse&&(o=o.parse);try{r=o(t,i)}catch(n){this.processed=!0,this.error=n}r&&!r[Ou]&&_u.rebuild(r)}this.result=new Fr(e,r,i),this.helpers=oe($({},ps),{postcss:ps,result:this.result}),this.plugins=this.processor.plugins.map(o=>typeof o=="object"&&o.prepare?$($({},o),o.prepare(this.result)):o)}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 i=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin?(e.plugin=i.postcssPlugin,e.setMessage()):i.postcssVersion}catch(r){console&&console.error&&console.error(r)}return e}prepareVisitors(){this.listeners={};let e=(t,i,r)=>{this.listeners[i]||(this.listeners[i]=[]),this.listeners[i].push([t,r])};for(let t of this.plugins)if(typeof t=="object")for(let i in t){if(!Lu[i]&&/^[A-Z]/.test(i))throw new Error(`Unknown event ${i} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!Fu[i])if(typeof t[i]=="object")for(let r in t[i])r==="*"?e(t,i,t[i][r]):e(t,i+"-"+r.toLowerCase(),t[i][r]);else typeof t[i]=="function"&&e(t,i,t[i])}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],i=this.runOnRoot(t);if(lt(i))try{await i}catch(r){throw this.handleError(r)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[be];){e[be]=!0;let t=[Br(e)];for(;t.length>0;){let i=this.visitTick(t);if(lt(i))try{await i}catch(r){let o=t[t.length-1].node;throw this.handleError(r,o)}}}if(this.listeners.OnceExit)for(let[t,i]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(e.type==="document"){let r=e.nodes.map(o=>i(o,this.helpers));await Promise.all(r)}else await i(e,this.helpers)}catch(r){throw this.handleError(r)}}}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(i=>e.Once(i,this.helpers));return lt(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=Du;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let r=new Iu(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[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(lt(t))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[be];)e[be]=!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[i,r]of e){this.result.lastPlugin=i;let o;try{o=r(t,this.helpers)}catch(n){throw this.handleError(n,t.proxyOf)}if(t.type!=="root"&&t.type!=="document"&&!t.parent)return!0;if(lt(o))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:i,visitors:r}=t;if(i.type!=="root"&&i.type!=="document"&&!i.parent){e.pop();return}if(r.length>0&&t.visitorIndex<r.length){let[n,l]=r[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===r.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=n;try{return l(i.toProxy(),this.helpers)}catch(a){throw this.handleError(a,i)}}if(t.iterator!==0){let n=t.iterator,l;for(;l=i.nodes[i.indexes[n]];)if(i.indexes[n]+=1,!l[be]){l[be]=!0,e.push(Br(l));return}t.iterator=0,delete i.indexes[n]}let o=t.events;for(;t.eventIndex<o.length;){let n=o[t.eventIndex];if(t.eventIndex+=1,n===Qe){i.nodes&&i.nodes.length&&(i[be]=!0,t.iterator=i.getIterator());return}else if(this.listeners[n]){t.visitors=this.listeners[n];return}}e.pop()}walkSync(e){e[be]=!0;let t=Eo(e);for(let i of t)if(i===Qe)e.nodes&&e.each(r=>{r[be]||this.walkSync(r)});else{let r=this.listeners[i];if(r&&this.visitSync(r,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"}};qe.registerPostcss=s=>{ps=s};var Ao=qe;qe.default=qe;Pu.registerLazyResult(qe);Tu.registerLazyResult(qe);let Bu=so,Uu=Ci;let zu=Js;const Vu=Zs;let ds=class{constructor(e,t,i){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=i,this._map=void 0;let r,o=Uu;this.result=new Vu(this._processor,r,this._opts),this.result.css=t;let n=this;Object.defineProperty(this.result,"root",{get(){return n.root}});let l=new Bu(o,r,this._opts,t);if(l.isMap()){let[a,u]=l.generate();a&&(this.result.css=a),u&&(this.result.map=u)}else l.clearAnnotation(),this.result.css=l.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=zu;try{e=t(this._css,this._opts)}catch(i){this.error=i}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}};var Wu=ds;ds.default=ds;let Gu=Wu,ju=Ao,Yu=Ys,Zu=Nt,bt=class{constructor(e=[]){this.version="8.4.38",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let i of e)if(i.postcss===!0?i=i():i.postcss&&(i=i.postcss),typeof i=="object"&&Array.isArray(i.plugins))t=t.concat(i.plugins);else if(typeof i=="object"&&i.postcssPlugin)t.push(i);else if(typeof i=="function")t.push(i);else if(!(typeof i=="object"&&(i.parse||i.stringify)))throw new Error(i+" is not a PostCSS plugin");return t}process(e,t={}){return!this.plugins.length&&!t.parser&&!t.stringifier&&!t.syntax?new Gu(this,e,t):new ju(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};var Hu=bt;bt.default=bt;Zu.registerProcessor(bt);Yu.registerProcessor(bt);let Xu=Ei,Ju=Qn,Ku=Ai,Qu=Hs,qu=xi,ec=Nt,tc=Xs;function Ct(s,e){if(Array.isArray(s))return s.map(n=>Ct(n));let r=s,{inputs:t}=r,i=nt(r,["inputs"]);if(t){e=[];for(let n of t){let l=oe($({},n),{__proto__:qu.prototype});l.map&&(l.map=oe($({},l.map),{__proto__:Ju.prototype})),e.push(l)}}if(i.nodes&&(i.nodes=s.nodes.map(n=>Ct(n,e))),i.source){let o=i.source,{inputId:n}=o,l=nt(o,["inputId"]);i.source=l,n!=null&&(i.source.input=e[n])}if(i.type==="root")return new ec(i);if(i.type==="decl")return new Xu(i);if(i.type==="rule")return new tc(i);if(i.type==="comment")return new Ku(i);if(i.type==="atrule")return new Qu(i);throw new Error("Unknown node type: "+s.type)}var ic=Ct;Ct.default=Ct;let sc=Ws,Ro=Ei,rc=Ao,nc=Fe,Ks=Hu,oc=Ci,lc=ic,No=Ys,ac=go,Mo=Ai,Oo=Hs,uc=Zs,cc=xi,hc=Js,fc=Co,Io=Xs,Do=Nt,pc=Si;function B(...s){return s.length===1&&Array.isArray(s[0])&&(s=s[0]),new Ks(s)}B.plugin=function(e,t){let i=!1;function r(...n){console&&console.warn&&!i&&(i=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
40
40
  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:
41
- https://www.w3ctech.com/topic/2226`));let l=t(...n);return l.postcssPlugin=e,l.postcssVersion=new Ks().version,l}let o;return Object.defineProperty(r,"postcss",{get(){return o||(o=r()),o}}),r.process=function(n,l,a){return B([r(a)]).process(n,l)},r};B.stringify=oc;B.parse=hc;B.fromJSON=lc;B.list=fc;B.comment=s=>new Mo(s);B.atRule=s=>new Oo(s);B.decl=s=>new Ro(s);B.rule=s=>new Io(s);B.root=s=>new Do(s);B.document=s=>new No(s);B.CssSyntaxError=sc;B.Declaration=Ro;B.Container=nc;B.Processor=Ks;B.Document=No;B.Comment=Mo;B.Warning=ac;B.AtRule=Oo;B.Result=uc;B.Input=cc;B.Rule=Io;B.Root=Do;B.Node=pc;rc.registerPostcss(B);var dc=B;B.default=B;const Y=Ra(dc);Y.stringify;Y.fromJSON;Y.plugin;Y.parse;Y.list;Y.document;Y.comment;Y.atRule;Y.rule;Y.decl;Y.root;Y.CssSyntaxError;Y.Declaration;Y.Container;Y.Processor;Y.Document;Y.Comment;Y.Warning;Y.AtRule;Y.Result;Y.Input;Y.Rule;Y.Root;Y.Node;const Ur={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 mc(s){let e=Ur[s.tagName]?Ur[s.tagName]:s.tagName;return e==="link"&&s.attributes._cssText&&(e="style"),e}function Ri(s,e){const t=e==null?void 0:e.stylesWithHoverClass.get(s);if(t)return t;let i=s;try{i=Y([xa,Aa]).process(s).css}catch(r){console.warn("Failed to adapt css for replay",r)}return e==null||e.stylesWithHoverClass.set(s,i),i}function zr(){return{stylesWithHoverClass:new Map}}function gc(s,e,t,i){const r=[];for(const a of s.childNodes)a.type===Q.Text&&r.push(a);const o=e.split("/* rr_split */");for(;o.length>1&&o.length>r.length;)o.splice(-2,2,o.slice(-2).join(""));let n="";t&&(n=Ri(o.join(""),i));let l=0;for(let a=0;a<r.length&&a!==o.length;a++){const u=r[a];if(!t)u.textContent=o[a];else if(a<o.length-1){let c=l,h=o[a+1].length;h=Math.min(h,30);let f=!1;for(;h>2;h--){const g=o[a+1].substring(0,h),d=n.substring(l).indexOf(g);if(f=d!==-1,f){c+=d;break}}f||(c+=o[a].length),u.textContent=n.substring(l,c),l=c}else u.textContent=n.substring(l)}}function yc(s,e,t,i){const{doc:r,hackCss:o,cache:n}=i;s.childNodes.length?gc(s,t,o,n):(o&&(t=Ri(t,n)),e.appendChild(r.createTextNode(t)))}function wc(s,e){var t;const{doc:i,hackCss:r,cache:o}=e;switch(s.type){case Q.Document:return i.implementation.createDocument(null,"",null);case Q.DocumentType:return i.implementation.createDocumentType(s.name||"html",s.publicId,s.systemId);case Q.Element:{const n=mc(s);let l;s.isSVG?l=i.createElementNS("http://www.w3.org/2000/svg",n):(s.isCustom&&((t=i.defaultView)!=null&&t.customElements)&&!i.defaultView.customElements.get(s.tagName)&&i.defaultView.customElements.define(s.tagName,class extends i.defaultView.HTMLElement{}),l=i.createElement(n));const a={};for(const u in s.attributes){if(!Object.prototype.hasOwnProperty.call(s.attributes,u))continue;let c=s.attributes[u];if(!(n==="option"&&u==="selected"&&c===!1)&&c!==null){if(c===!0&&(c=""),u.startsWith("rr_")){a[u]=c;continue}if(typeof c=="string"){if(n==="style"&&u==="_cssText"){yc(s,l,c,e);continue}else if(n==="textarea"&&u==="value"){l.appendChild(i.createTextNode(c)),s.childNodes=[];continue}}try{if(s.isSVG&&u==="xlink:href")l.setAttributeNS("http://www.w3.org/1999/xlink",u,c.toString());else if(u==="onload"||u==="onclick"||u.substring(0,7)==="onmouse")l.setAttribute("_"+u,c.toString());else if(n==="meta"&&s.attributes["http-equiv"]==="Content-Security-Policy"&&u==="content"){l.setAttribute("csp-content",c.toString());continue}else n==="link"&&(s.attributes.rel==="preload"&&s.attributes.as==="script"||s.attributes.rel==="modulepreload")||n==="link"&&s.attributes.rel==="prefetch"&&typeof s.attributes.href=="string"&&wa(s.attributes.href)==="js"||(n==="img"&&s.attributes.srcset&&s.attributes.rr_dataURL?l.setAttribute("rrweb-original-srcset",s.attributes.srcset):l.setAttribute(u,c.toString()))}catch(h){}}}for(const u in a){const c=a[u];if(n==="canvas"&&u==="rr_dataURL"){const h=i.createElement("img");h.onload=()=>{const f=l.getContext("2d");f&&f.drawImage(h,0,0,h.width,h.height)},h.src=c.toString(),l.RRNodeType&&(l.rr_dataURL=c.toString())}else if(n==="img"&&u==="rr_dataURL"){const h=l;h.currentSrc.startsWith("data:")||(h.setAttribute("rrweb-original-src",s.attributes.src),h.src=c.toString())}if(u==="rr_width")l.style.setProperty("width",c.toString());else if(u==="rr_height")l.style.setProperty("height",c.toString());else if(u==="rr_mediaCurrentTime"&&typeof c=="number")l.currentTime=c;else if(u==="rr_mediaState")switch(c){case"played":l.play().catch(h=>console.warn("media playback error",h));break;case"paused":l.pause();break}else u==="rr_mediaPlaybackRate"&&typeof c=="number"?l.playbackRate=c:u==="rr_mediaMuted"&&typeof c=="boolean"?l.muted=c:u==="rr_mediaLoop"&&typeof c=="boolean"?l.loop=c:u==="rr_mediaVolume"&&typeof c=="number"?l.volume=c:u==="rr_open_mode"&&l.setAttribute("rr_open_mode",c)}if(s.isShadowHost)if(!l.shadowRoot)l.attachShadow({mode:"open"});else for(;l.shadowRoot.firstChild;)l.shadowRoot.removeChild(l.shadowRoot.firstChild);return l}case Q.Text:return s.isStyle&&r?i.createTextNode(Ri(s.textContent,o)):i.createTextNode(s.textContent);case Q.CDATA:return i.createCDATASection(s.textContent);case Q.Comment:return i.createComment(s.textContent);default:return null}}function dt(s,e){const{doc:t,mirror:i,skipChild:r=!1,hackCss:o=!0,afterAppend:n,cache:l}=e;if(i.has(s.id)){const u=i.getNode(s.id),c=i.getMeta(u);if(ya(c,s))return i.getNode(s.id)}let a=wc(s,{doc:t,hackCss:o,cache:l});if(!a)return null;if(s.rootId&&i.getNode(s.rootId)!==t&&i.replace(s.rootId,t),s.type===Q.Document&&(t.close(),t.open(),s.compatMode==="BackCompat"&&s.childNodes&&s.childNodes[0].type!==Q.DocumentType&&(s.childNodes[0].type===Q.Element&&"xmlns"in s.childNodes[0].attributes&&s.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" "">')),a=t),i.add(a,s),(s.type===Q.Document||s.type===Q.Element)&&!r)for(const u of s.childNodes){const c=dt(u,{doc:t,mirror:i,skipChild:!1,hackCss:o,afterAppend:n,cache:l});if(!c){console.warn("Failed to rebuild",u);continue}if(u.isShadow&&ma(a)&&a.shadowRoot)a.shadowRoot.appendChild(c);else if(s.type===Q.Document&&u.type==Q.Element){const h=c;let f=null;h.childNodes.forEach(g=>{g.nodeName==="BODY"&&(f=g)}),f?(h.removeChild(f),a.appendChild(c),h.appendChild(f)):a.appendChild(c)}else a.appendChild(c);n&&n(c,u.id)}return a}function vc(s,e){function t(i){e(i)}for(const i of s.getIds())s.has(i)&&t(s.getNode(i))}function bc(s,e){const t=e.getMeta(s);if((t==null?void 0:t.type)!==Q.Element)return;const i=s;for(const r in t.attributes){if(!(Object.prototype.hasOwnProperty.call(t.attributes,r)&&r.startsWith("rr_")))continue;const o=t.attributes[r];r==="rr_scrollLeft"&&(i.scrollLeft=o),r==="rr_scrollTop"&&(i.scrollTop=o)}}function Cc(s,e){const{doc:t,onVisit:i,hackCss:r=!0,afterAppend:o,cache:n,mirror:l=new Yn}=e,a=dt(s,{doc:t,mirror:l,skipChild:!1,hackCss:r,afterAppend:o,cache:n});return vc(l,u=>{i&&i(u),bc(u,l)}),a}var Sc=Object.defineProperty,Ec=(s,e,t)=>e in s?Sc(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,C=(s,e,t)=>Ec(s,typeof e!="symbol"?e+"":e,t),xc=Object.defineProperty,Ac=(s,e,t)=>e in s?xc(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,Vr=(s,e,t)=>Ac(s,typeof e!="symbol"?e+"":e,t);let Rc=class{constructor(){Vr(this,"idNodeMap",new Map),Vr(this,"nodeMetaMap",new WeakMap)}getId(e){var t;if(!e)return-1;const i=(t=this.getMeta(e))==null?void 0:t.id;return i!=null?i:-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(i=>this.removeNodeFromMap(i))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){const i=t.id;this.idNodeMap.set(i,e),this.nodeMetaMap.set(e,t)}replace(e,t){const i=this.getNode(e);if(i){const r=this.nodeMetaMap.get(i);r&&this.nodeMetaMap.set(t,r)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}};function Nc(){return new Rc}const Mc=["change","submit","dragstart","drop","pointerdown","pointerup","input","keydown","keyup","keypress","mouseenter","mouseleave","mouseup","mousedown","click","contextmenu","dblclick","focus","blur","touchstart","touchmove","touchend","touchcancel"],Oc=["onclick","ondblclick","onmousedown","onmouseup","onmouseover","onmouseout","onmousemove","onfocus","onblur","onkeydown","onkeypress","onkeyup","onchange","oninput","onsubmit","onreset","onselect","oncontextmenu","ontouchstart","ontouchmove","ontouchend","ontouchcancel"],_o=new WeakSet,Ic=EventTarget.prototype.addEventListener;EventTarget.prototype.addEventListener=function(s,e,t){if(Ic.call(this,s,e,t),this instanceof Element){const i=s.toLowerCase();Mc.includes(i)&&_o.add(this)}};const Dc=EventTarget.prototype.removeEventListener;EventTarget.prototype.removeEventListener=function(s,e,t){Dc.call(this,s,e,t)};function Wr(){document.querySelectorAll("*").forEach(e=>{Oc.forEach(t=>{e.hasAttribute(t)&&_o.add(e)})})}document.readyState==="complete"||document.readyState==="interactive"?Wr():document.addEventListener("DOMContentLoaded",Wr);function _c(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}function Tc(s){if(s.__esModule)return s;var e=s.default;if(typeof e=="function"){var t=function i(){return this instanceof i?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(s).forEach(function(i){var r=Object.getOwnPropertyDescriptor(s,i);Object.defineProperty(t,i,r.get?r:{enumerable:!0,get:function(){return s[i]}})}),t}var Qs={exports:{}},G=String,To=function(){return{isColorSupported:!1,reset:G,bold:G,dim:G,italic:G,underline:G,inverse:G,hidden:G,strikethrough:G,black:G,red:G,green:G,yellow:G,blue:G,magenta:G,cyan:G,white:G,gray:G,bgBlack:G,bgRed:G,bgGreen:G,bgYellow:G,bgBlue:G,bgMagenta:G,bgCyan:G,bgWhite:G}};Qs.exports=To();Qs.exports.createColors=To;var kc=Qs.exports;const Pc={},$c=Object.freeze(Object.defineProperty({__proto__:null,default:Pc},Symbol.toStringTag,{value:"Module"})),ge=Tc($c);let Gr=kc,jr=ge,ms=class ko extends Error{constructor(e,t,i,r,o,n){super(e),this.name="CssSyntaxError",this.reason=e,o&&(this.file=o),r&&(this.source=r),n&&(this.plugin=n),typeof t!="undefined"&&typeof i!="undefined"&&(typeof t=="number"?(this.line=t,this.column=i):(this.line=t.line,this.column=t.column,this.endLine=i.line,this.endColumn=i.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,ko)}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=Gr.isColorSupported),jr&&e&&(t=jr(t));let i=t.split(/\r?\n/),r=Math.max(this.line-3,0),o=Math.min(this.line+2,i.length),n=String(o).length,l,a;if(e){let{bold:u,gray:c,red:h}=Gr.createColors(!0);l=f=>u(h(f)),a=f=>c(f)}else l=a=u=>u;return i.slice(r,o).map((u,c)=>{let h=r+1+c,f=" "+(" "+h).slice(-n)+" | ";if(h===this.line){let g=a(f.replace(/\d/g," "))+u.slice(0,this.column-1).replace(/[^\t]/g," ");return l(">")+a(f)+u+`
41
+ https://www.w3ctech.com/topic/2226`));let l=t(...n);return l.postcssPlugin=e,l.postcssVersion=new Ks().version,l}let o;return Object.defineProperty(r,"postcss",{get(){return o||(o=r()),o}}),r.process=function(n,l,a){return B([r(a)]).process(n,l)},r};B.stringify=oc;B.parse=hc;B.fromJSON=lc;B.list=fc;B.comment=s=>new Mo(s);B.atRule=s=>new Oo(s);B.decl=s=>new Ro(s);B.rule=s=>new Io(s);B.root=s=>new Do(s);B.document=s=>new No(s);B.CssSyntaxError=sc;B.Declaration=Ro;B.Container=nc;B.Processor=Ks;B.Document=No;B.Comment=Mo;B.Warning=ac;B.AtRule=Oo;B.Result=uc;B.Input=cc;B.Rule=Io;B.Root=Do;B.Node=pc;rc.registerPostcss(B);var dc=B;B.default=B;const Y=Ra(dc);Y.stringify;Y.fromJSON;Y.plugin;Y.parse;Y.list;Y.document;Y.comment;Y.atRule;Y.rule;Y.decl;Y.root;Y.CssSyntaxError;Y.Declaration;Y.Container;Y.Processor;Y.Document;Y.Comment;Y.Warning;Y.AtRule;Y.Result;Y.Input;Y.Rule;Y.Root;Y.Node;const Ur={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 mc(s){let e=Ur[s.tagName]?Ur[s.tagName]:s.tagName;return e==="link"&&s.attributes._cssText&&(e="style"),e}function Ri(s,e){const t=e==null?void 0:e.stylesWithHoverClass.get(s);if(t)return t;let i=s;try{i=Y([xa,Aa]).process(s).css}catch(r){console.warn("Failed to adapt css for replay",r)}return e==null||e.stylesWithHoverClass.set(s,i),i}function zr(){return{stylesWithHoverClass:new Map}}function gc(s,e,t,i){const r=[];for(const a of s.childNodes)a.type===Q.Text&&r.push(a);const o=e.split("/* rr_split */");for(;o.length>1&&o.length>r.length;)o.splice(-2,2,o.slice(-2).join(""));let n="";t&&(n=Ri(o.join(""),i));let l=0;for(let a=0;a<r.length&&a!==o.length;a++){const u=r[a];if(!t)u.textContent=o[a];else if(a<o.length-1){let c=l,h=o[a+1].length;h=Math.min(h,30);let f=!1;for(;h>2;h--){const g=o[a+1].substring(0,h),d=n.substring(l).indexOf(g);if(f=d!==-1,f){c+=d;break}}f||(c+=o[a].length),u.textContent=n.substring(l,c),l=c}else u.textContent=n.substring(l)}}function yc(s,e,t,i){const{doc:r,hackCss:o,cache:n}=i;s.childNodes.length?gc(s,t,o,n):(o&&(t=Ri(t,n)),e.appendChild(r.createTextNode(t)))}function wc(s,e){var t;const{doc:i,hackCss:r,cache:o}=e;switch(s.type){case Q.Document:return i.implementation.createDocument(null,"",null);case Q.DocumentType:return i.implementation.createDocumentType(s.name||"html",s.publicId,s.systemId);case Q.Element:{const n=mc(s);let l;s.isSVG?l=i.createElementNS("http://www.w3.org/2000/svg",n):(s.isCustom&&((t=i.defaultView)!=null&&t.customElements)&&!i.defaultView.customElements.get(s.tagName)&&i.defaultView.customElements.define(s.tagName,class extends i.defaultView.HTMLElement{}),l=i.createElement(n));const a={};for(const u in s.attributes){if(!Object.prototype.hasOwnProperty.call(s.attributes,u))continue;let c=s.attributes[u];if(!(n==="option"&&u==="selected"&&c===!1)&&c!==null){if(c===!0&&(c=""),u.startsWith("rr_")){a[u]=c;continue}if(typeof c=="string"){if(n==="style"&&u==="_cssText"){yc(s,l,c,e);continue}else if(n==="textarea"&&u==="value"){l.appendChild(i.createTextNode(c)),s.childNodes=[];continue}}try{if(s.isSVG&&u==="xlink:href")l.setAttributeNS("http://www.w3.org/1999/xlink",u,c.toString());else if(u==="onload"||u==="onclick"||u.substring(0,7)==="onmouse")l.setAttribute("_"+u,c.toString());else if(n==="meta"&&s.attributes["http-equiv"]==="Content-Security-Policy"&&u==="content"){l.setAttribute("csp-content",c.toString());continue}else n==="link"&&(s.attributes.rel==="preload"&&s.attributes.as==="script"||s.attributes.rel==="modulepreload")||n==="link"&&s.attributes.rel==="prefetch"&&typeof s.attributes.href=="string"&&wa(s.attributes.href)==="js"||(n==="img"&&s.attributes.srcset&&s.attributes.rr_dataURL?l.setAttribute("rrweb-original-srcset",s.attributes.srcset):l.setAttribute(u,c.toString()))}catch(h){}}}for(const u in a){const c=a[u];if(n==="canvas"&&u==="rr_dataURL"){const h=i.createElement("img");h.onload=()=>{const f=l.getContext("2d");f&&f.drawImage(h,0,0,h.width,h.height)},h.src=c.toString(),l.RRNodeType&&(l.rr_dataURL=c.toString())}else if(n==="img"&&u==="rr_dataURL"){const h=l;h.currentSrc.startsWith("data:")||(h.setAttribute("rrweb-original-src",s.attributes.src),h.src=c.toString())}if(u==="rr_width")l.style.setProperty("width",c.toString());else if(u==="rr_height")l.style.setProperty("height",c.toString());else if(u==="rr_mediaCurrentTime"&&typeof c=="number")l.currentTime=c;else if(u==="rr_mediaState")switch(c){case"played":l.play().catch(h=>console.warn("media playback error",h));break;case"paused":l.pause();break}else u==="rr_mediaPlaybackRate"&&typeof c=="number"?l.playbackRate=c:u==="rr_mediaMuted"&&typeof c=="boolean"?l.muted=c:u==="rr_mediaLoop"&&typeof c=="boolean"?l.loop=c:u==="rr_mediaVolume"&&typeof c=="number"?l.volume=c:u==="rr_open_mode"&&l.setAttribute("rr_open_mode",c)}if(s.isShadowHost)if(!l.shadowRoot)l.attachShadow({mode:"open"});else for(;l.shadowRoot.firstChild;)l.shadowRoot.removeChild(l.shadowRoot.firstChild);return l}case Q.Text:return s.isStyle&&r?i.createTextNode(Ri(s.textContent,o)):i.createTextNode(s.textContent);case Q.CDATA:return i.createCDATASection(s.textContent);case Q.Comment:return i.createComment(s.textContent);default:return null}}function dt(s,e){const{doc:t,mirror:i,skipChild:r=!1,hackCss:o=!0,afterAppend:n,cache:l}=e;if(i.has(s.id)){const u=i.getNode(s.id),c=i.getMeta(u);if(ya(c,s))return i.getNode(s.id)}let a=wc(s,{doc:t,hackCss:o,cache:l});if(!a)return null;if(s.rootId&&i.getNode(s.rootId)!==t&&i.replace(s.rootId,t),s.type===Q.Document&&(t.close(),t.open(),s.compatMode==="BackCompat"&&s.childNodes&&s.childNodes[0].type!==Q.DocumentType&&(s.childNodes[0].type===Q.Element&&"xmlns"in s.childNodes[0].attributes&&s.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" "">')),a=t),i.add(a,s),(s.type===Q.Document||s.type===Q.Element)&&!r)for(const u of s.childNodes){const c=dt(u,{doc:t,mirror:i,skipChild:!1,hackCss:o,afterAppend:n,cache:l});if(!c){console.warn("Failed to rebuild",u);continue}if(u.isShadow&&ma(a)&&a.shadowRoot)a.shadowRoot.appendChild(c);else if(s.type===Q.Document&&u.type==Q.Element){const h=c;let f=null;h.childNodes.forEach(g=>{g.nodeName==="BODY"&&(f=g)}),f?(h.removeChild(f),a.appendChild(c),h.appendChild(f)):a.appendChild(c)}else a.appendChild(c);n&&n(c,u.id)}return a}function vc(s,e){function t(i){e(i)}for(const i of s.getIds())s.has(i)&&t(s.getNode(i))}function bc(s,e){const t=e.getMeta(s);if((t==null?void 0:t.type)!==Q.Element)return;const i=s;for(const r in t.attributes){if(!(Object.prototype.hasOwnProperty.call(t.attributes,r)&&r.startsWith("rr_")))continue;const o=t.attributes[r];r==="rr_scrollLeft"&&(i.scrollLeft=o),r==="rr_scrollTop"&&(i.scrollTop=o)}}function Cc(s,e){const{doc:t,onVisit:i,hackCss:r=!0,afterAppend:o,cache:n,mirror:l=new Yn}=e,a=dt(s,{doc:t,mirror:l,skipChild:!1,hackCss:r,afterAppend:o,cache:n});return vc(l,u=>{i&&i(u),bc(u,l)}),a}var Sc=Object.defineProperty,Ec=(s,e,t)=>e in s?Sc(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,C=(s,e,t)=>Ec(s,typeof e!="symbol"?e+"":e,t),xc=Object.defineProperty,Ac=(s,e,t)=>e in s?xc(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,Vr=(s,e,t)=>Ac(s,typeof e!="symbol"?e+"":e,t);let Rc=class{constructor(){Vr(this,"idNodeMap",new Map),Vr(this,"nodeMetaMap",new WeakMap)}getId(e){var t;if(!e)return-1;const i=(t=this.getMeta(e))==null?void 0:t.id;return i!=null?i:-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(i=>this.removeNodeFromMap(i))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){const i=t.id;this.idNodeMap.set(i,e),this.nodeMetaMap.set(e,t)}replace(e,t){const i=this.getNode(e);if(i){const r=this.nodeMetaMap.get(i);r&&this.nodeMetaMap.set(t,r)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}};function Nc(){return new Rc}const Mc=["change","submit","dragstart","drop","pointerdown","pointerup","input","keydown","keyup","keypress","mouseenter","mouseleave","mouseup","mousedown","click","contextmenu","dblclick","focus","blur","touchstart","touchmove","touchend","touchcancel"],Oc=["onclick","ondblclick","onmousedown","onmouseup","onmouseover","onmouseout","onmousemove","onfocus","onblur","onkeydown","onkeypress","onkeyup","onchange","oninput","onsubmit","onreset","onselect","oncontextmenu","ontouchstart","ontouchmove","ontouchend","ontouchcancel"],_o=new WeakSet,Ic=EventTarget.prototype.addEventListener;EventTarget.prototype.addEventListener=function(s,e,t){if(Ic.call(this,s,e,t),this instanceof Element){const i=s.toLowerCase();Mc.includes(i)&&_o.add(this)}};const Dc=EventTarget.prototype.removeEventListener;EventTarget.prototype.removeEventListener=function(s,e,t){Dc.call(this,s,e,t)};function Wr(){document.querySelectorAll("*").forEach(e=>{Oc.forEach(t=>{e.hasAttribute(t)&&_o.add(e)})})}try{document.readyState==="complete"||document.readyState==="interactive"?Wr():document.addEventListener("DOMContentLoaded",Wr)}catch(s){}function _c(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}function Tc(s){if(s.__esModule)return s;var e=s.default;if(typeof e=="function"){var t=function i(){return this instanceof i?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(s).forEach(function(i){var r=Object.getOwnPropertyDescriptor(s,i);Object.defineProperty(t,i,r.get?r:{enumerable:!0,get:function(){return s[i]}})}),t}var Qs={exports:{}},G=String,To=function(){return{isColorSupported:!1,reset:G,bold:G,dim:G,italic:G,underline:G,inverse:G,hidden:G,strikethrough:G,black:G,red:G,green:G,yellow:G,blue:G,magenta:G,cyan:G,white:G,gray:G,bgBlack:G,bgRed:G,bgGreen:G,bgYellow:G,bgBlue:G,bgMagenta:G,bgCyan:G,bgWhite:G}};Qs.exports=To();Qs.exports.createColors=To;var kc=Qs.exports;const Pc={},$c=Object.freeze(Object.defineProperty({__proto__:null,default:Pc},Symbol.toStringTag,{value:"Module"})),ge=Tc($c);let Gr=kc,jr=ge,ms=class ko extends Error{constructor(e,t,i,r,o,n){super(e),this.name="CssSyntaxError",this.reason=e,o&&(this.file=o),r&&(this.source=r),n&&(this.plugin=n),typeof t!="undefined"&&typeof i!="undefined"&&(typeof t=="number"?(this.line=t,this.column=i):(this.line=t.line,this.column=t.column,this.endLine=i.line,this.endColumn=i.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,ko)}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=Gr.isColorSupported),jr&&e&&(t=jr(t));let i=t.split(/\r?\n/),r=Math.max(this.line-3,0),o=Math.min(this.line+2,i.length),n=String(o).length,l,a;if(e){let{bold:u,gray:c,red:h}=Gr.createColors(!0);l=f=>u(h(f)),a=f=>c(f)}else l=a=u=>u;return i.slice(r,o).map((u,c)=>{let h=r+1+c,f=" "+(" "+h).slice(-n)+" | ";if(h===this.line){let g=a(f.replace(/\d/g," "))+u.slice(0,this.column-1).replace(/[^\t]/g," ");return l(">")+a(f)+u+`
42
42
  `+g+l("^")}return" "+a(f)+u}).join(`
43
43
  `)}toString(){let e=this.showSourceCode();return e&&(e=`
44
44