@posthog/rrweb-player 0.0.47 → 0.0.49
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.
- package/dist/rrweb-player.cjs +4 -1
- package/dist/rrweb-player.cjs.map +1 -1
- package/dist/rrweb-player.js +4 -1
- package/dist/rrweb-player.js.map +1 -1
- package/dist/rrweb-player.umd.cjs +4 -1
- package/dist/rrweb-player.umd.cjs.map +2 -2
- package/dist/rrweb-player.umd.min.cjs +2 -2
- package/dist/rrweb-player.umd.min.cjs.map +3 -3
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(function (g, f) {if ("object" == typeof exports && "object" == typeof module) {module.exports = f();} else if ("function" == typeof define && define.amd) {define("rrwebPlayer", [], f);} else if ("object" == typeof exports) {exports["rrwebPlayer"] = f();} else {g["rrwebPlayer"] = f();}}(typeof self !== 'undefined' ? self : typeof globalThis !== 'undefined' ? globalThis : this, () => {var exports = {};var module = { exports };
|
|
2
|
-
"use strict";var Zo=Object.defineProperty,ea=Object.defineProperties;var ta=Object.getOwnPropertyDescriptors;var ut=Object.getOwnPropertySymbols;var Ui=Object.prototype.hasOwnProperty,zi=Object.prototype.propertyIsEnumerable;var Bi=(e,t,r)=>t in e?Zo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Q=(e,t)=>{for(var r in t||(t={}))Ui.call(t,r)&&Bi(e,r,t[r]);if(ut)for(var r of ut(t))zi.call(t,r)&&Bi(e,r,t[r]);return e},le=(e,t)=>ea(e,ta(t));var Je=(e,t)=>{var r={};for(var s in e)Ui.call(e,s)&&t.indexOf(s)<0&&(r[s]=e[s]);if(e!=null&&ut)for(var s of ut(e))t.indexOf(s)<0&&zi.call(e,s)&&(r[s]=e[s]);return r};var ra=Object.defineProperty,ia=(e,t,r)=>t in e?ra(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,qi=(e,t,r)=>ia(e,typeof t!="symbol"?t+"":t,r);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function rt(){}function Wi(e,t){for(const r in t)e[r]=t[r];return e}function Wn(e){return e()}function $i(){return Object.create(null)}function He(e){e.forEach(Wn)}function $n(e){return typeof e=="function"}function fi(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function sa(e){return Object.keys(e).length===0}function ji(e){const t={};for(const r in e)r[0]!=="$"&&(t[r]=e[r]);return t}function G(e,t){e.appendChild(t)}function Ce(e,t,r){e.insertBefore(t,r||null)}function ve(e){e.parentNode&&e.parentNode.removeChild(e)}function Ut(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function oe(e){return document.createElement(e)}function Ct(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Te(e){return document.createTextNode(e)}function fe(){return Te(" ")}function na(){return Te("")}function We(e,t,r,s){return e.addEventListener(t,r,s),()=>e.removeEventListener(t,r,s)}function B(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function oa(e){return Array.from(e.childNodes)}function Et(e,t){t=""+t,e.data!==t&&(e.data=t)}function se(e,t,r,s){r==null?e.style.removeProperty(t):e.style.setProperty(t,r,"")}function Ve(e,t,r){e.classList.toggle(t,!!r)}function aa(e,t,{bubbles:r=!1,cancelable:s=!1}={}){return new CustomEvent(e,{detail:t,bubbles:r,cancelable:s})}let it;function Ze(e){it=e}function _t(){if(!it)throw new Error("Function called outside component initialization");return it}function jn(e){_t().$$.on_mount.push(e)}function la(e){_t().$$.after_update.push(e)}function Vn(e){_t().$$.on_destroy.push(e)}function ua(){const e=_t();return(t,r,{cancelable:s=!1}={})=>{const i=e.$$.callbacks[t];if(i){const a=aa(t,r,{cancelable:s});return i.slice().forEach(o=>{o.call(e,a)}),!a.defaultPrevented}return!0}}const Be=[],Pe=[];let je=[];const ri=[],ca=Promise.resolve();let ii=!1;function ha(){ii||(ii=!0,ca.then(Gn))}function si(e){je.push(e)}function fa(e){ri.push(e)}const zt=new Set;let Le=0;function Gn(){if(Le!==0)return;const e=it;do{try{for(;Le<Be.length;){const t=Be[Le];Le++,Ze(t),da(t.$$)}}catch(t){throw Be.length=0,Le=0,t}for(Ze(null),Be.length=0,Le=0;Pe.length;)Pe.pop()();for(let t=0;t<je.length;t+=1){const r=je[t];zt.has(r)||(zt.add(r),r())}je.length=0}while(Be.length);for(;ri.length;)ri.pop()();ii=!1,zt.clear(),Ze(e)}function da(e){if(e.fragment!==null){e.update(),He(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(si)}}function pa(e){const t=[],r=[];je.forEach(s=>e.indexOf(s)===-1?t.push(s):r.push(s)),r.forEach(s=>s()),je=t}const St=new Set;let De;function Hn(){De={r:0,c:[],p:De}}function Yn(){De.r||He(De.c),De=De.p}function Se(e,t){e&&e.i&&(St.delete(e),e.i(t))}function Ge(e,t,r,s){if(e&&e.o){if(St.has(e))return;St.add(e),De.c.push(()=>{St.delete(e),s&&(r&&e.d(1),s())}),e.o(t)}else s&&s()}function Fe(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function ma(e,t,r){const s=e.$$.props[t];s!==void 0&&(e.$$.bound[s]=r,r(e.$$.ctx[s]))}function Jn(e){e&&e.c()}function di(e,t,r){const{fragment:s,after_update:i}=e.$$;s&&s.m(t,r),si(()=>{const a=e.$$.on_mount.map(Wn).filter($n);e.$$.on_destroy?e.$$.on_destroy.push(...a):He(a),e.$$.on_mount=[]}),i.forEach(si)}function pi(e,t){const r=e.$$;r.fragment!==null&&(pa(r.after_update),He(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function ga(e,t){e.$$.dirty[0]===-1&&(Be.push(e),ha(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function mi(e,t,r,s,i,a,o=null,u=[-1]){const d=it;Ze(e);const l=e.$$={fragment:null,ctx:[],props:a,update:rt,not_equal:i,bound:$i(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(d?d.$$.context:[])),callbacks:$i(),dirty:u,skip_bound:!1,root:t.target||d.$$.root};o&&o(l.root);let n=!1;if(l.ctx=r?r(e,t.props||{},(c,f,...h)=>{const p=h.length?h[0]:f;return l.ctx&&i(l.ctx[c],l.ctx[c]=p)&&(!l.skip_bound&&l.bound[c]&&l.bound[c](p),n&&ga(e,c)),f}):[],l.update(),n=!0,He(l.before_update),l.fragment=s?s(l.ctx):!1,t.target){if(t.hydrate){const c=oa(t.target);l.fragment&&l.fragment.l(c),c.forEach(ve)}else l.fragment&&l.fragment.c();t.intro&&Se(e.$$.fragment),di(e,t.target,t.anchor),Gn()}Ze(d)}class gi{constructor(){qi(this,"$$"),qi(this,"$$set")}$destroy(){pi(this,1),this.$destroy=rt}$on(t,r){if(!$n(r))return rt;const s=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return s.push(r),()=>{const i=s.indexOf(r);i!==-1&&s.splice(i,1)}}$set(t){this.$$set&&!sa(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const ya="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(ya);var wa=Object.defineProperty,va=(e,t,r)=>t in e?wa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,F=(e,t,r)=>va(e,typeof t!="symbol"?t+"":t,r),Vi,ba=Object.defineProperty,Sa=(e,t,r)=>t in e?ba(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Gi=(e,t,r)=>Sa(e,typeof t!="symbol"?t+"":t,r),re=(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))(re||{});const Hi={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Yi={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},ct={};function Ca(e){var t,r;const s=(r=(t=globalThis==null?void 0:globalThis.Zone)==null?void 0:t.__symbol__)==null?void 0:r.call(t,e);if(s&&globalThis[s])return globalThis[s]}function yi(e){if(ct[e])return ct[e];const t=Ca(e)||globalThis[e],r=t.prototype,s=e in Hi?Hi[e]:void 0,i=!!(s&&s.every(u=>{var d,l;return!!((l=(d=Object.getOwnPropertyDescriptor(r,u))==null?void 0:d.get)!=null&&l.toString().includes("[native code]"))})),a=e in Yi?Yi[e]:void 0,o=!!(a&&a.every(u=>{var d;return typeof r[u]=="function"&&((d=r[u])==null?void 0:d.toString().includes("[native code]"))}));if(i&&o)return ct[e]=t.prototype,t.prototype;try{const u=document.createElement("iframe");document.body.appendChild(u);const d=u.contentWindow;if(!d)return t.prototype;const l=d[e].prototype;return document.body.removeChild(u),l?ct[e]=l:r}catch(u){return r}}const qt={};function Ne(e,t,r){var s;const i=`${e}.${String(r)}`;if(qt[i])return qt[i].call(t);const a=yi(e),o=(s=Object.getOwnPropertyDescriptor(a,r))==null?void 0:s.get;return o?(qt[i]=o,o.call(t)):t[r]}const Wt={};function Xn(e,t,r){const s=`${e}.${String(r)}`;if(Wt[s])return Wt[s].bind(t);const a=yi(e)[r];return typeof a!="function"?t[r]:(Wt[s]=a,a.bind(t))}function Ea(e){return Ne("Node",e,"childNodes")}function Ra(e){return Ne("Node",e,"parentNode")}function xa(e){return Ne("Node",e,"parentElement")}function Ma(e){return Ne("Node",e,"textContent")}function Na(e,t){return Xn("Node",e,"contains")(t)}function _a(e){return Xn("Node",e,"getRootNode")()}function Oa(e){return!e||!("host"in e)?null:Ne("ShadowRoot",e,"host")}function Aa(e){return e.styleSheets}function Da(e){return!e||!("shadowRoot"in e)?null:Ne("Element",e,"shadowRoot")}function Pa(e,t){return Ne("Element",e,"querySelector")(t)}function Ta(e,t){return Ne("Element",e,"querySelectorAll")(t)}function ka(){return yi("MutationObserver").constructor}function Ia(e,t,r){try{if(!(t in e))return()=>{};const s=e[t],i=r(s);return typeof i=="function"&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:s}})),e[t]=i,()=>{e[t]=s}}catch(s){return()=>{}}}const La={childNodes:Ea,parentNode:Ra,parentElement:xa,textContent:Ma,contains:Na,getRootNode:_a,host:Oa,styleSheets:Aa,shadowRoot:Da,querySelector:Pa,querySelectorAll:Ta,mutationObserver:ka,patch:Ia};function Qn(e){return e.nodeType===e.ELEMENT_NODE}class Kn{constructor(){Gi(this,"idNodeMap",new Map),Gi(this,"nodeMetaMap",new WeakMap)}getId(t){var r;if(!t)return-1;const s=(r=this.getMeta(t))==null?void 0:r.id;return s!=null?s:-1}getNode(t){return this.idNodeMap.get(t)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(t){return this.nodeMetaMap.get(t)||null}removeNodeFromMap(t){const r=this.getId(t);if(this.idNodeMap.delete(r),t.childNodes&&t.childNodes.forEach(s=>this.removeNodeFromMap(s)),Qn(t)){const s=La.shadowRoot(t);s&&this.removeNodeFromMap(s),t.nodeName==="IFRAME"&&t.contentDocument&&this.removeNodeFromMap(t.contentDocument)}}has(t){return this.idNodeMap.has(t)}hasNode(t){return this.nodeMetaMap.has(t)}add(t,r){const s=r.id;this.idNodeMap.set(s,t),this.nodeMetaMap.set(t,r)}replace(t,r){const s=this.getNode(t);if(s){const i=this.nodeMetaMap.get(s);i&&this.nodeMetaMap.set(r,i)}this.idNodeMap.set(t,r)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function Zn(){return new Kn}function Fa(e){return e.toLowerCase()}function Ba(e,t){return!e||!t||e.type!==t.type?!1:e.type===re.Document?e.compatMode===t.compatMode:e.type===re.DocumentType?e.name===t.name&&e.publicId===t.publicId&&e.systemId===t.systemId:e.type===re.Comment||e.type===re.Text||e.type===re.CDATA?e.textContent===t.textContent:e.type===re.Element?e.tagName===t.tagName&&JSON.stringify(e.attributes)===JSON.stringify(t.attributes)&&e.isSVG===t.isSVG&&e.needBlock===t.needBlock:!1}function Ua(e,t){var a;let r;try{r=new URL(e,t!=null?t:window.location.href)}catch(o){return null}const s=/\.([0-9a-z]+)(?:$)/i,i=r.pathname.match(s);return(a=i==null?void 0:i[1])!=null?a:null}const za=/(max|min)-device-(width|height)/,Ji=new RegExp(za.source,"g"),qa={postcssPlugin:"postcss-custom-selectors",prepare(){return{postcssPlugin:"postcss-custom-selectors",AtRule:function(e){e.params.match(Ji)&&(e.params=e.params.replace(Ji,"$1-$2"))}}}},Wa={postcssPlugin:"postcss-hover-classes",prepare:function(){const e=[];return{Rule:function(t){e.indexOf(t)===-1&&(e.push(t),t.selectors.forEach(function(r){r.includes(":hover")&&(t.selector+=`,
|
|
3
|
-
`+
|
|
2
|
+
"use strict";var Zo=Object.defineProperty,ea=Object.defineProperties;var ta=Object.getOwnPropertyDescriptors;var ut=Object.getOwnPropertySymbols;var Ui=Object.prototype.hasOwnProperty,zi=Object.prototype.propertyIsEnumerable;var Bi=(e,t,r)=>t in e?Zo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Q=(e,t)=>{for(var r in t||(t={}))Ui.call(t,r)&&Bi(e,r,t[r]);if(ut)for(var r of ut(t))zi.call(t,r)&&Bi(e,r,t[r]);return e},le=(e,t)=>ea(e,ta(t));var Je=(e,t)=>{var r={};for(var s in e)Ui.call(e,s)&&t.indexOf(s)<0&&(r[s]=e[s]);if(e!=null&&ut)for(var s of ut(e))t.indexOf(s)<0&&zi.call(e,s)&&(r[s]=e[s]);return r};var ra=Object.defineProperty,ia=(e,t,r)=>t in e?ra(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,qi=(e,t,r)=>ia(e,typeof t!="symbol"?t+"":t,r);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function rt(){}function Wi(e,t){for(const r in t)e[r]=t[r];return e}function Wn(e){return e()}function $i(){return Object.create(null)}function He(e){e.forEach(Wn)}function $n(e){return typeof e=="function"}function fi(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function sa(e){return Object.keys(e).length===0}function ji(e){const t={};for(const r in e)r[0]!=="$"&&(t[r]=e[r]);return t}function G(e,t){e.appendChild(t)}function Ce(e,t,r){e.insertBefore(t,r||null)}function ve(e){e.parentNode&&e.parentNode.removeChild(e)}function Ut(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function oe(e){return document.createElement(e)}function Ct(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Te(e){return document.createTextNode(e)}function fe(){return Te(" ")}function na(){return Te("")}function We(e,t,r,s){return e.addEventListener(t,r,s),()=>e.removeEventListener(t,r,s)}function B(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function oa(e){return Array.from(e.childNodes)}function Et(e,t){t=""+t,e.data!==t&&(e.data=t)}function se(e,t,r,s){r==null?e.style.removeProperty(t):e.style.setProperty(t,r,"")}function Ve(e,t,r){e.classList.toggle(t,!!r)}function aa(e,t,{bubbles:r=!1,cancelable:s=!1}={}){return new CustomEvent(e,{detail:t,bubbles:r,cancelable:s})}let it;function Ze(e){it=e}function _t(){if(!it)throw new Error("Function called outside component initialization");return it}function jn(e){_t().$$.on_mount.push(e)}function la(e){_t().$$.after_update.push(e)}function Vn(e){_t().$$.on_destroy.push(e)}function ua(){const e=_t();return(t,r,{cancelable:s=!1}={})=>{const i=e.$$.callbacks[t];if(i){const a=aa(t,r,{cancelable:s});return i.slice().forEach(o=>{o.call(e,a)}),!a.defaultPrevented}return!0}}const Be=[],Pe=[];let je=[];const ri=[],ca=Promise.resolve();let ii=!1;function ha(){ii||(ii=!0,ca.then(Gn))}function si(e){je.push(e)}function fa(e){ri.push(e)}const zt=new Set;let Le=0;function Gn(){if(Le!==0)return;const e=it;do{try{for(;Le<Be.length;){const t=Be[Le];Le++,Ze(t),da(t.$$)}}catch(t){throw Be.length=0,Le=0,t}for(Ze(null),Be.length=0,Le=0;Pe.length;)Pe.pop()();for(let t=0;t<je.length;t+=1){const r=je[t];zt.has(r)||(zt.add(r),r())}je.length=0}while(Be.length);for(;ri.length;)ri.pop()();ii=!1,zt.clear(),Ze(e)}function da(e){if(e.fragment!==null){e.update(),He(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(si)}}function pa(e){const t=[],r=[];je.forEach(s=>e.indexOf(s)===-1?t.push(s):r.push(s)),r.forEach(s=>s()),je=t}const St=new Set;let De;function Hn(){De={r:0,c:[],p:De}}function Yn(){De.r||He(De.c),De=De.p}function Se(e,t){e&&e.i&&(St.delete(e),e.i(t))}function Ge(e,t,r,s){if(e&&e.o){if(St.has(e))return;St.add(e),De.c.push(()=>{St.delete(e),s&&(r&&e.d(1),s())}),e.o(t)}else s&&s()}function Fe(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function ma(e,t,r){const s=e.$$.props[t];s!==void 0&&(e.$$.bound[s]=r,r(e.$$.ctx[s]))}function Jn(e){e&&e.c()}function di(e,t,r){const{fragment:s,after_update:i}=e.$$;s&&s.m(t,r),si(()=>{const a=e.$$.on_mount.map(Wn).filter($n);e.$$.on_destroy?e.$$.on_destroy.push(...a):He(a),e.$$.on_mount=[]}),i.forEach(si)}function pi(e,t){const r=e.$$;r.fragment!==null&&(pa(r.after_update),He(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function ga(e,t){e.$$.dirty[0]===-1&&(Be.push(e),ha(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function mi(e,t,r,s,i,a,o=null,u=[-1]){const d=it;Ze(e);const l=e.$$={fragment:null,ctx:[],props:a,update:rt,not_equal:i,bound:$i(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(d?d.$$.context:[])),callbacks:$i(),dirty:u,skip_bound:!1,root:t.target||d.$$.root};o&&o(l.root);let n=!1;if(l.ctx=r?r(e,t.props||{},(c,f,...h)=>{const p=h.length?h[0]:f;return l.ctx&&i(l.ctx[c],l.ctx[c]=p)&&(!l.skip_bound&&l.bound[c]&&l.bound[c](p),n&&ga(e,c)),f}):[],l.update(),n=!0,He(l.before_update),l.fragment=s?s(l.ctx):!1,t.target){if(t.hydrate){const c=oa(t.target);l.fragment&&l.fragment.l(c),c.forEach(ve)}else l.fragment&&l.fragment.c();t.intro&&Se(e.$$.fragment),di(e,t.target,t.anchor),Gn()}Ze(d)}class gi{constructor(){qi(this,"$$"),qi(this,"$$set")}$destroy(){pi(this,1),this.$destroy=rt}$on(t,r){if(!$n(r))return rt;const s=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return s.push(r),()=>{const i=s.indexOf(r);i!==-1&&s.splice(i,1)}}$set(t){this.$$set&&!sa(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const ya="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(ya);var wa=Object.defineProperty,va=(e,t,r)=>t in e?wa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,F=(e,t,r)=>va(e,typeof t!="symbol"?t+"":t,r),Vi,ba=Object.defineProperty,Sa=(e,t,r)=>t in e?ba(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Gi=(e,t,r)=>Sa(e,typeof t!="symbol"?t+"":t,r),re=(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))(re||{});const Hi={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Yi={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},ct={};function Ca(e){var t,r;const s=(r=(t=globalThis==null?void 0:globalThis.Zone)==null?void 0:t.__symbol__)==null?void 0:r.call(t,e);if(s&&globalThis[s])return globalThis[s]}function yi(e){if(ct[e])return ct[e];const t=Ca(e)||globalThis[e],r=t.prototype,s=e in Hi?Hi[e]:void 0,i=!!(s&&s.every(u=>{var d,l;return!!((l=(d=Object.getOwnPropertyDescriptor(r,u))==null?void 0:d.get)!=null&&l.toString().includes("[native code]"))})),a=e in Yi?Yi[e]:void 0,o=!!(a&&a.every(u=>{var d;return typeof r[u]=="function"&&((d=r[u])==null?void 0:d.toString().includes("[native code]"))}));if(i&&o)return ct[e]=t.prototype,t.prototype;try{const u=document.createElement("iframe");document.body.appendChild(u);const d=u.contentWindow;if(!d)return t.prototype;const l=d[e].prototype;return document.body.removeChild(u),l?ct[e]=l:r}catch(u){return r}}const qt={};function Ne(e,t,r){var s;const i=`${e}.${String(r)}`;if(qt[i])return qt[i].call(t);const a=yi(e),o=(s=Object.getOwnPropertyDescriptor(a,r))==null?void 0:s.get;return o?(qt[i]=o,o.call(t)):t[r]}const Wt={};function Xn(e,t,r){const s=`${e}.${String(r)}`;if(Wt[s])return Wt[s].bind(t);const a=yi(e)[r];return typeof a!="function"?t[r]:(Wt[s]=a,a.bind(t))}function Ea(e){return Ne("Node",e,"childNodes")}function Ra(e){return Ne("Node",e,"parentNode")}function xa(e){return Ne("Node",e,"parentElement")}function Ma(e){return Ne("Node",e,"textContent")}function Na(e,t){return Xn("Node",e,"contains")(t)}function _a(e){return Xn("Node",e,"getRootNode")()}function Oa(e){return!e||!("host"in e)?null:Ne("ShadowRoot",e,"host")}function Aa(e){return e.styleSheets}function Da(e){return!e||!("shadowRoot"in e)?null:Ne("Element",e,"shadowRoot")}function Pa(e,t){return Ne("Element",e,"querySelector")(t)}function Ta(e,t){return Ne("Element",e,"querySelectorAll")(t)}function ka(){return yi("MutationObserver").constructor}function Ia(e,t,r){try{if(!(t in e))return()=>{};const s=e[t],i=r(s);return typeof i=="function"&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:s}})),e[t]=i,()=>{e[t]=s}}catch(s){return()=>{}}}const La={childNodes:Ea,parentNode:Ra,parentElement:xa,textContent:Ma,contains:Na,getRootNode:_a,host:Oa,styleSheets:Aa,shadowRoot:Da,querySelector:Pa,querySelectorAll:Ta,mutationObserver:ka,patch:Ia};function Qn(e){return e.nodeType===e.ELEMENT_NODE}class Kn{constructor(){Gi(this,"idNodeMap",new Map),Gi(this,"nodeMetaMap",new WeakMap)}getId(t){var r;if(!t)return-1;const s=(r=this.getMeta(t))==null?void 0:r.id;return s!=null?s:-1}getNode(t){return this.idNodeMap.get(t)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(t){return this.nodeMetaMap.get(t)||null}removeNodeFromMap(t){const r=this.getId(t);if(this.idNodeMap.delete(r),t.childNodes&&t.childNodes.forEach(s=>this.removeNodeFromMap(s)),Qn(t)){const s=La.shadowRoot(t);s&&this.removeNodeFromMap(s),t.nodeName==="IFRAME"&&t.contentDocument&&this.removeNodeFromMap(t.contentDocument)}}has(t){return this.idNodeMap.has(t)}hasNode(t){return this.nodeMetaMap.has(t)}add(t,r){const s=r.id;this.idNodeMap.set(s,t),this.nodeMetaMap.set(t,r)}replace(t,r){const s=this.getNode(t);if(s){const i=this.nodeMetaMap.get(s);i&&this.nodeMetaMap.set(r,i)}this.idNodeMap.set(t,r)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function Zn(){return new Kn}function Fa(e){return e.toLowerCase()}function Ba(e,t){return!e||!t||e.type!==t.type?!1:e.type===re.Document?e.compatMode===t.compatMode:e.type===re.DocumentType?e.name===t.name&&e.publicId===t.publicId&&e.systemId===t.systemId:e.type===re.Comment||e.type===re.Text||e.type===re.CDATA?e.textContent===t.textContent:e.type===re.Element?e.tagName===t.tagName&&JSON.stringify(e.attributes)===JSON.stringify(t.attributes)&&e.isSVG===t.isSVG&&e.needBlock===t.needBlock:!1}function Ua(e,t){var a;let r;try{r=new URL(e,t!=null?t:window.location.href)}catch(o){return null}const s=/\.([0-9a-z]+)(?:$)/i,i=r.pathname.match(s);return(a=i==null?void 0:i[1])!=null?a:null}const za=/(max|min)-device-(width|height)/,Ji=new RegExp(za.source,"g"),qa={postcssPlugin:"postcss-custom-selectors",prepare(){return{postcssPlugin:"postcss-custom-selectors",AtRule:function(e){e.params.match(Ji)&&(e.params=e.params.replace(Ji,"$1-$2"))}}}},Wa={postcssPlugin:"postcss-hover-classes",prepare:function(){const e=[];return{Rule:function(t){e.indexOf(t)===-1&&(e.push(t),t.selectors.forEach(function(r){if(r.includes(":hover")){const s=r.replace(new RegExp("(?<!\\\\):hover","g"),".\\:hover");s!==r&&(t.selector+=`,
|
|
3
|
+
`+s)}}))}}}};function eo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function $a(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function s(){return this instanceof s?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(s){var i=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(r,s,i.get?i:{enumerable:!0,get:function(){return e[s]}})}),r}var ht={exports:{}},Xi;function ja(){if(Xi)return ht.exports;Xi=1;var e=String,t=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 ht.exports=t(),ht.exports.createColors=t,ht.exports}const Va={},Ga=Object.freeze(Object.defineProperty({__proto__:null,default:Va},Symbol.toStringTag,{value:"Module"})),me=$a(Ga);var $t,Qi;function wi(){if(Qi)return $t;Qi=1;let e=ja(),t=me;class r extends Error{constructor(i,a,o,u,d,l){super(i),this.name="CssSyntaxError",this.reason=i,d&&(this.file=d),u&&(this.source=u),l&&(this.plugin=l),typeof a!="undefined"&&typeof o!="undefined"&&(typeof a=="number"?(this.line=a,this.column=o):(this.line=a.line,this.column=a.column,this.endLine=o.line,this.endColumn=o.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,r)}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(i){if(!this.source)return"";let a=this.source;i==null&&(i=e.isColorSupported);let o=h=>h,u=h=>h,d=h=>h;if(i){let{bold:h,gray:p,red:m}=e.createColors(!0);u=g=>h(m(g)),o=g=>p(g),t&&(d=g=>t(g))}let l=a.split(/\r?\n/),n=Math.max(this.line-3,0),c=Math.min(this.line+2,l.length),f=String(c).length;return l.slice(n,c).map((h,p)=>{let m=n+1+p,g=" "+(" "+m).slice(-f)+" | ";if(m===this.line){if(h.length>160){let y=20,S=Math.max(0,this.column-y),E=Math.max(this.column+y,this.endColumn+y),w=h.slice(S,E),b=o(g.replace(/\d/g," "))+h.slice(0,Math.min(this.column-1,y-1)).replace(/[^\t]/g," ");return u(">")+o(g)+d(w)+`
|
|
4
4
|
`+b+u("^")}let v=o(g.replace(/\d/g," "))+h.slice(0,this.column-1).replace(/[^\t]/g," ");return u(">")+o(g)+d(h)+`
|
|
5
5
|
`+v+u("^")}return" "+o(g)+d(h)}).join(`
|
|
6
6
|
`)}toString(){let i=this.showSourceCode();return i&&(i=`
|