1(()=>{var e={148:(e,t,r)=>{"use strict";var n=r(9762),s=Array.prototype.forEach,o=Object.create;e.exports=function(e){var t=o(null);return s.call(arguments,(function(e){n(e)&&function(e,t){var r;for(r in e)t[r]=e[r]}(Object(e),t)})),t}},181:(e,t,r)=>{"use strict";var n=r(8175),s={object:!0,function:!0,undefined:!0};e.exports=function(e){return!!n(e)&&hasOwnProperty.call(s,typeof e)}},214:(e,t,r)=>{"use strict";e.exports=r(525)()?String.prototype.contains:r(1521)},525:e=>{"use strict";var t="razdwatrzy";e.exports=function(){return"function"==typeof t.contains&&!0===t.contains("dwa")&&!1===t.contains("foo")}},1521:e=>{"use strict";var t=String.prototype.indexOf;e.exports=function(e){return t.call(this,e,arguments[1])>-1}},2093:(e,t,r)=>{"use strict";e.exports=r(3380)()?Object.keys:r(4232)},2215:e=>{var t=function(){if("object"==typeof self&&self)return self;if("object"==typeof window&&window)return window;throw new Error("Unable to resolve global `this`")};e.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch(e){return t()}try{return __global__||t()}finally{delete Object.prototype.__global__}}()},2380:(e,t,r)=>{"use strict";e.exports=r(4195)()?r(8209).Symbol:r(6613)},2941:(e,t,r)=>{"use strict";var n=r(8263),s=Object.create,o=Object.defineProperty,i=Object.prototype,a=s(null);e.exports=function(e){for(var t,r,s=0;a[e+(s||"")];)++s;return a[e+=s||""]=!0,o(i,t="@@"+e,n.gs(null,(function(e){r||(r=!0,o(this,t,n(e)),r=!1)}))),t}},3055:e=>{"use strict";e.exports=function(e){return!!e&&("symbol"==typeof e||!!e.constructor&&"Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag])}},3297:(e,t,r)=>{"use strict";var n=r(3055);e.exports=function(e){if(!n(e))throw new TypeError(e+" is not a symbol");return e}},3333:(e,t,r)=>{"use strict";var n=r(8263),s=r(8209).Symbol;e.exports=function(e){return Object.defineProperties(e,{hasInstance:n("",s&&s.hasInstance||e("hasInstance")),isConcatSpreadable:n("",s&&s.isConcatSpreadable||e("isConcatSpreadable")),iterator:n("",s&&s.iterator||e("iterator")),match:n("",s&&s.match||e("match")),replace:n("",s&&s.replace||e("replace")),search:n("",s&&s.search||e("search")),species:n("",s&&s.species||e("species")),split:n("",s&&s.split||e("split")),toPrimitive:n("",s&&s.toPrimitive||e("toPrimitive")),toStringTag:n("",s&&s.toStringTag||e("toStringTag")),unscopables:n("",s&&s.unscopables||e("unscopables"))})}},3380:e=>{"use strict";e.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}},3595:(e,t,r)=>{"use strict";var n=r(2093),s=r(7134),o=Math.max;e.exports=function(e,t){var r,i,a,l=o(arguments.length,2);for(e=Object(s(e)),a=function(n){try{e[n]=t[n]}catch(e){r||(r=e)}},i=1;i<l;++i)n(t=arguments[i]).forEach(a);if(void 0!==r)throw r;return e}},4080:(e,t,r)=>{"use strict";var n=r(9202);e.exports=function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(e){return!1}return!n(e)}},4195:(e,t,r)=>{"use strict";var n=r(8209),s={object:!0,symbol:!0};e.exports=function(){var e,t=n.Symbol;if("function"!=typeof t)return!1;e=t("test symbol");try{String(e)}catch(e){return!1}return!!s[typeof t.iterator]&&!!s[typeof t.toPrimitive]&&!!s[typeof t.toStringTag]}},4232:(e,t,r)=>{"use strict";var n=r(9762),s=Object.keys;e.exports=function(e){return s(n(e)?Object(e):e)}},4744:e=>{"use strict";e.exports=function(){return"object"==typeof globalThis&&!!globalThis&&globalThis.Array===Array}},5339:e=>{"use strict";e.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},6011:e=>{"use strict";e.exports=function(){}},6596:(e,t,r)=>{"use strict";e.exports=r(5339)()?Object.assign:r(3595)},6613:(e,t,r)=>{"use strict";var n,s,o,i=r(8263),a=r(3297),l=r(8209).Symbol,c=r(2941),u=r(3333),h=r(8118),p=Object.create,d=Object.defineProperties,f=Object.defineProperty;if("function"==typeof l)try{String(l()),o=!0}catch(e){}else l=null;s=function(e){if(this instanceof s)throw new TypeError("Symbol is not a constructor");return n(e)},e.exports=n=function e(t){var r;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return o?l(t):(r=p(s.prototype),t=void 0===t?"":String(t),d(r,{__description__:i("",t),__name__:i("",c(t))}))},u(n),h(n),d(s.prototype,{constructor:i(n),toString:i("",(function(){return this.__name__}))}),d(n.prototype,{toString:i((function(){return"Symbol ("+a(this).__description__+")"}
1)),valueOf:i((function(){return a(this)}))}),f(n.prototype,n.toPrimitive,i("",(function(){var e=a(this);return"symbol"==typeof e?e:e.toString()}))),f(n.prototype,n.toStringTag,i("c","Symbol")),f(s.prototype,n.toStringTag,i("c",n.prototype[n.toStringTag])),f(s.prototype,n.toPrimitive,i("c",n.prototype[n.toPrimitive]))},6873:(e,t,r)=>{"use strict";var n=r(4080),s=/^\s*class[\s{/}]/,o=Function.prototype.toString;e.exports=function(e){return!!n(e)&&!s.test(o.call(e))}},7134:(e,t,r)=>{"use strict";var n=r(9762);e.exports=function(e){if(!n(e))throw new TypeError("Cannot use null or undefined");return e}},8118:(e,t,r)=>{"use strict";var n=r(8263),s=r(3297),o=Object.create(null);e.exports=function(e){return Object.defineProperties(e,{for:n((function(t){return o[t]?o[t]:o[t]=e(String(t))})),keyFor:n((function(e){var t;for(t in s(e),o)if(o[t]===e)return t}))})}},8175:e=>{"use strict";e.exports=function(e){return null!=e}},8209:(e,t,r)=>{"use strict";e.exports=r(4744)()?globalThis:r(2215)},8263:(e,t,r)=>{"use strict";var n=r(8175),s=r(6873),o=r(6596),i=r(148),a=r(214);(e.exports=function(e,t){var r,s,l,c,u;return arguments.length<2||"string"!=typeof e?(c=t,t=e,e=null):c=arguments[2],n(e)?(r=a.call(e,"c"),s=a.call(e,"e"),l=a.call(e,"w")):(r=l=!0,s=!1),u={value:t,configurable:r,enumerable:s,writable:l},c?o(i(c),u):u}).gs=function(e,t,r){var l,c,u,h;return"string"!=typeof e?(u=r,r=t,t=e,e=null):u=arguments[3],n(t)?s(t)?n(r)?s(r)||(u=r,r=void 0):r=void 0:(u=t,t=r=void 0):t=void 0,n(e)?(l=a.call(e,"c"),c=a.call(e,"e")):(l=!0,c=!1),h={get:t,set:r,configurable:l,enumerable:c},u?o(i(u),h):h}},9202:(e,t,r)=>{"use strict";var n=r(181);e.exports=function(e){if(!n(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(e){return!1}}},9762:(e,t,r)=>{"use strict";var n=r(6011)();e.exports=function(e){return e!==n&&null!==e}}},t={};function r(n){var s=t[n];if(void 0!==s)return s.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}var n={};(()=>{"use strict";r(2380);var e,t=Object.defineProperty,n=(e,r,n)=>((e,r,n)=>r in e?t(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n)(e,"symbol"!=typeof r?r+"":r,n),s=Object.defineProperty,o=(e,t,r)=>((e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r),i=(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))(i||{});const a={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},l={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},c={},u=()=>!!globalThis.Zone;function h(e){if(c[e])return c[e];const t=globalThis[e],r=t.prototype,n=e in a?a[e]:void 0,s=Boolean(n&&n.every((e=>{var t,n;return Boolean(null==(n=null==(t=Object.getOwnPropertyDescriptor(r,e))?void 0:t.get)?void 0:n.toString().includes("[native code]"))}))),o=e in l?l[e]:void 0,i=Boolean(o&&o.every((e=>{var t;return"function"==typeof r[e]&&(null==(t=r[e])?void 0:t.toString().includes("[native code]"))})));if(s&&i&&!u())return c[e]=t.prototype,t.prototype;try{const n=document.createElement("iframe");document.body.appendChild(n);const s=n.contentWindow;if(!s)return t.prototype;const o=s[e].prototype;return document.body.removeChild(n),o?c[e]=o:r}catch{return r}}const p={};function d(e,t,r){var n;const s=`${e}.${String(r)}`;if(p[s])return p[s].call(t);const o=h(e),i=null==(n=Object.getOwnPropertyDescriptor(o,r))?void 0:n.get;return i?(p[s]=i,i.call(t)):t[r]}const f={};function m(e,t,r){const n=`${e}.${String(r)}`;if(f[n])return f[n].bind(t);const s=h(e)[r];return"function"!=typeof s?t[r]:(f[n]=s,s.bind(t))}const g={childNodes:function(e){return d("Node",e,"childNodes")},parentNode:function(e){return d("Node",e,"parentNode")},parentElement:function(e){return d("Node",e,"parentElement")},textContent:function(e){return d("Node",e,"textContent")},contains:function(e,t){return m("Node",e,"contains")(t)},getRootNode:function(e){return m("Node",e,"getRootNode")()},host:function(e){return e&&"host"in e?d("ShadowRoot",e,"host"):null},styleSheets:function(e){return e.styleSheets},shadowRoot:function(e){return e&&"shadowRoot"in e?d("Element",e,"shadowRoot"):null},querySelector:function(e,t){return d("Element",e,"querySelector")(t)},querySelectorAll:function(e,t){return d("Element",e,"querySelectorAll")(t)},mutationObserver:function(){return h("MutationObserver").constructor}};
vendor: 4,666 bytes, line 1
1function y(e){return e.nodeType===e.ELEMENT_NODE}function w(e){const t=e&&"host"in e&&"mode"in e&&g.host(e)||null;return Boolean(t&&"shadowRoot"in t&&g.shadowRoot(t)===e)}function b(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function v(e){try{const r=e.rules||e.cssRules;if(!r)return null;let n=e.href;!n&&e.ownerNode&&e.ownerNode.ownerDocument&&(n=e.ownerNode.ownerDocument.location.href);return(t=Array.from(r,(e=>S(e,n))).join("")).includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),t}catch(e){return null}var t}function S(e,t){if(function(e){return"styleSheet"in e}(e)){let t;try{t=v(e.styleSheet)||function(e){const{cssText:t}=e;if(t.split('"').length<3)return t;const r=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?r.push("layer"):e.layerName&&r.push(`layer(${e.layerName})`),e.supportsText&&r.push(`supports(${e.supportsText})`),e.media.length&&r.push(e.media.mediaText),r.join(" ")+";"}(e)}catch(r){t=e.cssText}return e.styleSheet.href?N(t,e.styleSheet.href):t}{let r=e.cssText;return function(e){return"selectorText"in e}(e)&&e.selectorText.includes(":")&&(r=r.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,"$1\\$2")),t?N(r,t):r}}class C{constructor(){o(this,"idNodeMap",new Map),o(this,"nodeMetaMap",new WeakMap)}getId(e){var t;return e?(null==(t=this.getMeta(e))?void 0:t.id)??-1:-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((e=>this.removeNodeFromMap(e)))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){const r=t.id;this.idNodeMap.set(r,e),this.nodeMetaMap.set(e,t)}replace(e,t){const r=this.getNode(e);if(r){const e=this.nodeMetaMap.get(r);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function I({element:e,maskInputOptions:t,tagName:r,type:n,value:s,maskInputFn:o}){let i=s||"";const a=n&&k(n);return(t[r.toLowerCase()]||a&&t[a])&&(i=o?o(i,e):"*".repeat(i.length)),i}function k(e){return e.toLowerCase()}const x="__rrweb_original__";function O(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?k(t):null}function M(e,t){let r;try{r=new URL(e,t??window.location.href)}catch(e){return null}const n=r.pathname.match(/\.([0-9a-z]+)(?:$)/i);return(null==n?void 0:n[1])??null}const A=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,R=/^(?:[a-z+]+:)?\/\//i,E=/^www\..*/i,T=/^(data:)([^,]*),(.*)/i;function N(e,t){return(e||"").replace(A,((e,r,n,s,o,i)=>{const a=n||o||i,l=r||s||"";if(!a)return e;if(R.test(a)||E.test(a))return`url(${l}${a}${l})`;if(T.test(a))return`url(${l}${a}${l})`;if("/"===a[0])return`url(${l}${function(e){let t="";return t=e.indexOf("//")>-1?e.split("/").slice(0,3).join("/"):e.split("/")[0],t=t.split("?")[0],t}(t)+a}${l})`;const c=t.split("/"),u=a.split("/");c.pop();for(const e of u)"."!==e&&(".."===e?c.pop():c.push(e));return`url(${l}${c.join("/")}${l})`}))}function P(e){return e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,"")}let L=1;const D=new RegExp("[^a-z0-9-_:]"),F=-2;function j(){return L++}let U,_;const B=/^[^ \t\n\r\u000c]+/,z=/^[, \t\n\r\u000c]+/,W=new WeakMap;function V(e,t){return t&&""!==t.trim()?G(e,t):t}function G(e,t){let r=W.get(e);if(r||(r=e.createElement("a"),W.set(e,r)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return r.setAttribute("href",t),r.href}function Z(e,t,r,n){return n?"src"===r||"href"===r&&("use"!==t||"#"!==n[0])||"xlink:href"===r&&"#"!==n[0]?V(e,n):"background"!==r||"table"!==t&&"td"!==t&&"th"!==t?"srcset"===r?function(e,t){if(""===t.trim())return t;let r=0;function n(e){let n;const s=e.exec(t.substring(r));return s?(n=s[0],r+=n.length,n):""}const s=[];for(;n(z),!(r>=t.length);){let o=n(B);if(","===o.slice(-1))o=V(e,o.substring(0,o.length-1)),s.push(o);else{let n="";o=V(e,o);let i=!1;for(;;){const e=t.charAt(r);if(""===e){s.push((o+n).trim());break}if(i)")"===e&&(i=!1);else{if(","===e){r+=1,s.push((o+n).trim());break}"("===e&&(i=!0)}n+=e,r+=1}}}return s.join(", ")}(e,n):"style"===r?N(n,G(e)):"object"===t&&"data"===r?V(e,n):n:V(e,n):n}function Y(e,t,r){return("video"===e||"audio"===e)&&"autoplay"===t}function J(e,t,r){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return!!r&&J(g.parentNode(e),t,r);for(let r=e.classList.length;r--;){const n=e.classList[r];if(t.test(n))return!0}return!!r&&J(g.parentNode(e),t,r)}function $(e,t,r,n){let s;
vendor: 9,580 bytes, line 1
1if(y(e)){if(s=e,!g.childNodes(s).length)return!1}else{if(null===g.parentElement(e))return!1;s=g.parentElement(e)}try{if("string"==typeof t){if(n){if(s.closest(`.${t}`))return!0}else if(s.classList.contains(t))return!0}else if(J(s,t,n))return!0;if(r)if(n){if(s.closest(r))return!0}else if(s.matches(r))return!0}catch(e){}return!1}function X(e,t){const{doc:r,mirror:n,blockClass:s,blockSelector:o,needsMask:a,inlineStylesheet:l,maskInputOptions:c={},maskTextFn:u,maskInputFn:h,dataURLOptions:p={},inlineImages:d,recordCanvas:f,keepIframeSrcFn:m,newlyAddedElement:y=!1,cssCaptured:w=!1}=t,b=function(e,t){if(!t.hasNode(e))return;const r=t.getId(e);return 1===r?void 0:r}(r,n);switch(e.nodeType){case e.DOCUMENT_NODE:return"CSS1Compat"!==e.compatMode?{type:i.Document,childNodes:[],compatMode:e.compatMode}:{type:i.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:i.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:b};case e.ELEMENT_NODE:return function(e,t){const{doc:r,blockClass:n,blockSelector:s,inlineStylesheet:o,maskInputOptions:a={},maskInputFn:l,dataURLOptions:c={},inlineImages:u,recordCanvas:h,keepIframeSrcFn:p,newlyAddedElement:d=!1,rootId:f}=t,m=function(e,t,r){try{if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let r=e.classList.length;r--;){const n=e.classList[r];if(t.test(n))return!0}if(r)return e.matches(r)}catch(e){}return!1}(e,n,s),g=function(e){if(e instanceof HTMLFormElement)return"form";const t=k(e.tagName);return D.test(t)?"div":t}(e);let y={};const w=e.attributes.length;for(let t=0;t<w;t++){const n=e.attributes[t];Y(g,n.name,n.value)||(y[n.name]=Z(r,g,k(n.name),n.value))}if("link"===g&&o){const t=Array.from(r.styleSheets).find((t=>t.href===e.href));let n=null;t&&(n=v(t)),n&&(delete y.rel,delete y.href,y._cssText=n)}if("style"===g&&e.sheet){let t=v(e.sheet);t&&(e.childNodes.length>1&&(t=function(e,t){return function(e,t){const r=Array.from(t.childNodes),n=[];if(r.length>1&&e&&"string"==typeof e){const t=P(e);for(let s=1;s<r.length;s++)if(r[s].textContent&&"string"==typeof r[s].textContent){const o=P(r[s].textContent);for(let r=3;r<o.length;r++){const s=o.substring(0,r);if(2===t.split(s).length){const r=t.indexOf(s);for(let t=r;t<e.length;t++)if(P(e.substring(0,t)).length===r){n.push(e.substring(0,t)),e=e.substring(t);break}break}}}}return n.push(e),n}(e,t).join("/* rr_split */")}(t,e)),y._cssText=t)}if("input"===g||"textarea"===g||"select"===g){const t=e.value,r=e.checked;"radio"!==y.type&&"checkbox"!==y.type&&"submit"!==y.type&&"button"!==y.type&&t?y.value=I({element:e,type:O(e),tagName:g,value:t,maskInputOptions:a,maskInputFn:l}):r&&(y.checked=r)}if("option"===g&&(e.selected&&!a.select?y.selected=!0:delete y.selected),"dialog"===g&&e.open&&(y.rr_open_mode=e.matches("dialog:modal")?"modal":"non-modal"),"canvas"===g&&h)if("2d"===e.__context)(function(e){const t=e.getContext("2d");if(!t)return!0;for(let r=0;r<e.width;r+=50)for(let n=0;n<e.height;n+=50){const s=t.getImageData,o=x in s?s[x]:s;if(new Uint32Array(o.call(t,r,n,Math.min(50,e.width-r),Math.min(50,e.height-n)).data.buffer).some((e=>0!==e)))return!1}return!0})(e)||(y.rr_dataURL=e.toDataURL(c.type,c.quality));else if(!("__context"in e)){const t=e.toDataURL(c.type,c.quality),n=r.createElement("canvas");n.width=e.width,n.height=e.height,t!==n.toDataURL(c.type,c.quality)&&(y.rr_dataURL=t)}if("img"===g&&u){U||(U=r.createElement("canvas"),_=U.getContext("2d"));const t=e,n=t.currentSrc||t.getAttribute("src")||"<unknown-src>",s=t.crossOrigin,o=()=>{t.removeEventListener("load",o);try{U.width=t.naturalWidth,U.height=t.naturalHeight,_.drawImage(t,0,0),y.rr_dataURL=U.toDataURL(c.type,c.quality)}catch(e){if("anonymous"!==t.crossOrigin)return t.crossOrigin="anonymous",void(t.complete&&0!==t.naturalWidth?o():t.addEventListener("load",o));console.warn(`Cannot inline img src=${n}! Error: ${e}`)}"anonymous"===t.crossOrigin&&(s?y.crossOrigin=s:t.removeAttribute("crossorigin"))};t.complete&&0!==t.naturalWidth?o():t.addEventListener("load",o)}if("audio"===g||"video"===g){const t=y;t.rr_mediaState=e.paused?"paused":"played",t.rr_mediaCurrentTime=e.currentTime,t.rr_mediaPlaybackRate=e.playbackRate,t.rr_mediaMuted=e.muted,t.rr_mediaLoop=e.loop,t.rr_mediaVolume=e.volume}if(d||(e.scrollLeft&&(y.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(y.rr_scrollTop=e.scrollTop)),m){const{width:t,height:r}=e.getBoundingClientRect();y={class:y.class,rr_width:`${t}px`,rr_height:`${r}px`}}let b;"iframe"!==g||p(y.src)||(e.contentDocument||(y.rr_src=y.src),delete y.src);try{customElements.get(g)&&(b=!0)}catch(e){}return{type:i.Element,tagName:g,attributes:y,childNodes:[],isSVG:(S=e,Boolean("svg"===S.tagName||S.ownerSVGElement)||void 0),needBlock:m,rootId:f,isCustom:b};var S}(e,{doc:r,blockClass:s,blockSelector:o,inlineStylesheet:l,maskInputOptions:c,maskInputFn:h,dataURLOptions:p,inlineImages:d,recordCanvas:f,keepIframeSrcFn:m,newlyAddedElement:y,rootId:b});case e.TEXT_NODE:return function(e,t){const{needsMask:r,maskTextFn:n,rootId:s,cssCaptured:o}=t,a=g.parentNode(e),l=a&&a.tagName;let c="";const u="STYLE"===l||void 0,h="SCRIPT"===l||void 0;return h?c="SCRIPT_PLACEHOLDER":o||(c=g.textContent(e),u&&c&&(c=N(c,G(t.doc)))),!u&&!h&&c&&r&&(c=n?n(c,g.parentElement(e)):c.replace(/[\S]/g,"*")),{type:i.Text,textContent:c||"",rootId:s}}(e,{doc:r,needsMask:a,maskTextFn:u,rootId:b,cssCaptured:w});case e.CDATA_SECTION_NODE:return{type:i.CDATA,textContent:"",rootId:b};case e.COMMENT_NODE:return{type:i.Comment,textContent:g.textContent(e)||"",rootId:b};default:return!1}}function H(e){return null==e?"":e.toLowerCase()}function K(e,t){const{doc:r,mirror:n,blockClass:s,blockSelector:o,maskTextClass:a,maskTextSelector:l,skipChild:c=!1,inlineStylesheet:u=!0,maskInputOptions:h={},maskTextFn:p,maskInputFn:d,slimDOMOptions:f,dataURLOptions:m={},inlineImages:v=!1,recordCanvas:S=!1,onSerialize:C,onIframeLoad:I,iframeLoadTimeout:k=5e3,onStylesheetLoad:x,stylesheetLoadTimeout:O=5e3,keepIframeSrcFn:A=(()=>!1),newlyAddedElement:R=!1,cssCaptured:E=!1}=t;let{needsMask:T}=t,{preserveWhiteSpace:N=!0}=t;T||(T=$(e,a,l,void 0===T));const P=X(e,{doc:r,mirror:n,blockClass:s,blockSelector:o,needsMask:T,inlineStylesheet:u,maskInputOptions:h,maskTextFn:p,maskInputFn:d,dataURLOptions:m,inlineImages:v,recordCanvas:S,keepIframeSrcFn:A,newlyAddedElement:R,cssCaptured:E});if(!P)return console.warn(e,"not serialized"),null;let L;L=n.hasNode(e)?n.getId(e):function(e,t){if(t.comment&&e.type===i.Comment)return!0;if(e.type===i.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)&&"script"===e.attributes.as||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&"js"===M(e.attributes.href)))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(H(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===H(e.attributes.name)||"icon"===H(e.attributes.rel)||"apple-touch-icon"===H(e.attributes.rel)||"shortcut icon"===H(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&H(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(H(e.attributes.property).match(/^(og|twitter|fb):/)||H(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===H(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===H(e.attributes.name)||"googlebot"===H(e.attributes.name)||"bingbot"===H(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===H(e.attributes.name)||"generator"===H(e.attributes.name)||"framework"===H(e.attributes.name)||"publisher"===H(e.attributes.name)||"progid"===H(e.attributes.name)||H(e.attributes.property).match(/^article:/)||H(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===H(e.attributes.name)||"yandex-verification"===H(e.attributes.name)||"csrf-token"===H(e.attributes.name)||"p:domain_verify"===H(e.attributes.name)||"verify-v1"===H(e.attributes.name)||"verification"===H(e.attributes.name)||"shopify-checkout-api-token"===H(e.attributes.name)))return!0}}return!1}(P,f)||!N&&P.type===i.Text&&!P.textContent.replace(/^\s+|\s+$/gm,"").length?F:j();const D=Object.assign(P,{id:L});if(n.add(e,D),L===F)return null;C&&C(e);let U=!c;if(D.type===i.Element){U=U&&!D.needBlock,delete D.needBlock;const t=g.shadowRoot(e);t&&b(t)&&(D.isShadowHost=!0)}if((D.type===i.Document||D.type===i.Element)&&U){f.headWhitespace&&D.type===i.Element&&"head"===D.tagName&&(N=!1);const t={doc:r,mirror:n,blockClass:s,blockSelector:o,needsMask:T,maskTextClass:a,maskTextSelector:l,skipChild:c,inlineStylesheet:u,maskInputOptions:h,maskTextFn:p,maskInputFn:d,slimDOMOptions:f,dataURLOptions:m,inlineImages:v,recordCanvas:S,preserveWhiteSpace:N,onSerialize:C,onIframeLoad:I,iframeLoadTimeout:k,onStylesheetLoad:x,stylesheetLoadTimeout:O,keepIframeSrcFn:A,cssCaptured:!1};if(D.type===i.Element&&"textarea"===D.tagName&&void 0!==D.attributes.value);else{D.type===i.Element&&void 0!==D.attributes._cssText&&"string"==typeof D.attributes._cssText&&(t.cssCaptured=!0);for(const r of Array.from(g.childNodes(e))){const e=K(r,t);e&&D.childNodes.push(e)}}let w=null;if(y(e)&&(w=g.shadowRoot(e)))for(const e of Array.from(g.childNodes(w))){const r=K(e,t);r&&(b(w)&&(r.isShadow=!0),D.childNodes.push(r))}}const _=g.parentNode(e);return _&&w(_)&&b(_)&&(D.isShadow=!0),D.type===i.Element&&"iframe"===D.tagName&&function(e,t,r){const n=e.contentWindow;if(!n)return;let s,o=!1;
vendor: 43,794 bytes, line 1
1try{s=n.document.readyState}catch(e){return}if("complete"!==s){const n=setTimeout((()=>{o||(t(),o=!0)}),r);return void e.addEventListener("load",(()=>{clearTimeout(n),o=!0,t()}))}const i="about:blank";if(n.location.href!==i||e.src===i||""===e.src)return setTimeout(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}(e,(()=>{const t=e.contentDocument;if(t&&I){const r=K(t,{doc:t,mirror:n,blockClass:s,blockSelector:o,needsMask:T,maskTextClass:a,maskTextSelector:l,skipChild:!1,inlineStylesheet:u,maskInputOptions:h,maskTextFn:p,maskInputFn:d,slimDOMOptions:f,dataURLOptions:m,inlineImages:v,recordCanvas:S,preserveWhiteSpace:N,onSerialize:C,onIframeLoad:I,iframeLoadTimeout:k,onStylesheetLoad:x,stylesheetLoadTimeout:O,keepIframeSrcFn:A});r&&I(e,r)}}),k),D.type===i.Element&&"link"===D.tagName&&"string"==typeof D.attributes.rel&&("stylesheet"===D.attributes.rel||"preload"===D.attributes.rel&&"string"==typeof D.attributes.href&&"css"===M(D.attributes.href))&&function(e,t,r){let n,s=!1;try{n=e.sheet}catch(e){return}if(n)return;const o=setTimeout((()=>{s||(t(),s=!0)}),r);e.addEventListener("load",(()=>{clearTimeout(o),s=!0,t()}))}(e,(()=>{if(x){const t=K(e,{doc:r,mirror:n,blockClass:s,blockSelector:o,needsMask:T,maskTextClass:a,maskTextSelector:l,skipChild:!1,inlineStylesheet:u,maskInputOptions:h,maskTextFn:p,maskInputFn:d,slimDOMOptions:f,dataURLOptions:m,inlineImages:v,recordCanvas:S,preserveWhiteSpace:N,onSerialize:C,onIframeLoad:I,iframeLoadTimeout:k,onStylesheetLoad:x,stylesheetLoadTimeout:O,keepIframeSrcFn:A});t&&x(e,t)}}),O),D}function Q(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function q(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?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(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),r}new RegExp(/(max|min)-device-(width|height)/.source,"g");var ee={exports:{}},te=String,re=function(){return{isColorSupported:!1,reset:te,bold:te,dim:te,italic:te,underline:te,inverse:te,hidden:te,strikethrough:te,black:te,red:te,green:te,yellow:te,blue:te,magenta:te,cyan:te,white:te,gray:te,bgBlack:te,bgRed:te,bgGreen:te,bgYellow:te,bgBlue:te,bgMagenta:te,bgCyan:te,bgWhite:te}};ee.exports=re(),ee.exports.createColors=re;var ne=ee.exports;const se=q(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));let oe=ne,ie=se,ae=class e extends Error{constructor(t,r,n,s,o,i){super(t),this.name="CssSyntaxError",this.reason=t,o&&(this.file=o),s&&(this.source=s),i&&(this.plugin=i),void 0!==r&&void 0!==n&&("number"==typeof r?(this.line=r,this.column=n):(this.line=r.line,this.column=r.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,e)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=oe.isColorSupported),ie&&e&&(t=ie(t));let r,n,s=t.split(/\r?\n/),o=Math.max(this.line-3,0),i=Math.min(this.line+2,s.length),a=String(i).length;if(e){let{bold:e,gray:t,red:s}=oe.createColors(!0);r=t=>e(s(t)),n=e=>t(e)}else r=n=e=>e;return s.slice(o,i).map(((e,t)=>{let s=o+1+t,i=" "+(" "+s).slice(-a)+" | ";if(s===this.line){let t=n(i.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return r(">")+n(i)+e+"\n "+t+r("^")}return" "+n(i)+e})).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}};var le=ae;ae.default=ae;var ce={};ce.isClean=Symbol("isClean"),ce.my=Symbol("my");const ue={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};let he=class{constructor(e){this.builder=e}atrule(e,t){let r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{let s=(e.raws.between||"")+(t?";":"");this.builder(r+n+s,e)}}beforeAfter(e,t){let r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let n=e.parent,s=0;for(;n&&"root"!==n.type;)s+=1,n=n.parent;if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<s;e++)r+=t}return r}block(e,t){let r,n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")}body(e){let t=e.nodes.length-1;for(;t>0&&"comment"===e.nodes[t].type;)t-=1;let r=this.raw(e,"semicolon");for(let n=0;n<e.nodes.length;n++){let s=e.nodes[n],o=this.raw(s,"before");o&&this.builder(o),this.stringify(s,t!==n||r)}}comment(e){let t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon"),n=e.prop+r+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),t&&(n+=";"),this.builder(n,e)}document(e){this.body(e)}raw(e,t,r){let n;if(r||(r=t),t&&(n=e.raws[t],void 0!==n))return n;let s=e.parent;if("before"===r){if(!s||"root"===s.type&&s.first===e)return"";if(s&&"document"===s.type)return""}if(!s)return ue[r];let o=e.root();if(o.rawCache||(o.rawCache={}),void 0!==o.rawCache[r])return o.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);{let s="raw"+((i=r)[0].toUpperCase()+i.slice(1));this[s]?n=this[s](o,e):o.walk((e=>{if(n=e.raws[t],void 0!==n)return!1}))}var i;return void 0===n&&(n=ue[r]),o.rawCache[r]=n,n}rawBeforeClose(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){let r;return e.walkComments((e=>{if(void 0!==e.raws.before)return r=e.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,t){let r;return e.walkDecls((e=>{if(void 0!==e.raws.before)return r=e.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(e){let t;return e.walk((e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1})),t}rawBeforeRule(e){let t;return e.walk((r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return t=r.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls((e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t}rawEmptyBody(e){let t;return e.walk((e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1})),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk((r=>{let n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==r.raws.before){let e=r.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}})),t}rawSemicolon(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1})),t}rawValue(e,t){let r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}};var pe=he;he.default=he;let de=pe;function fe(e,t){new de(t).stringify(e)}var me=fe;fe.default=fe;let{isClean:ge,my:ye}=ce,we=le,be=pe,ve=me;function Se(e,t){let r=new e.constructor;for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;if("proxyCache"===n)continue;let s=e[n],o=typeof s;"parent"===n&&"object"===o?t&&(r[n]=t):"source"===n?r[n]=s:Array.isArray(s)?r[n]=s.map((e=>Se(e,r))):("object"===o&&null!==s&&(s=Se(s)),r[n]=s)}return r}let Ce=class{constructor(e={}){this.raws={},this[ge]=!1,this[ye]=!0;for(let t in e)if("nodes"===t){this.nodes=[];for(let r of e[t])"function"==typeof r.clone?this.append(r.clone()):this.append(r)}else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=Se(this);for(let r in e)t[r]=e[r];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:r,start:n}=this.rangeBy(t);return this.source.input.error(e,{column:n.column,line:n.line},{column:r.column,line:r.line},t)}return new we(e)}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t],set:(e,t,r)=>(e[t]===r||(e[t]=r,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0)}}markDirty(){if(this[ge]){this[ge]=!1;let e=this;for(;e=e.parent;)e[ge]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,t){let r=this.source.start;if(e.index)r=this.positionInside(e.index,t);else if(e.word){let n=(t=this.toString()).indexOf(e.word);-1!==n&&(r=this.positionInside(n,t))}return r}positionInside(e,t){let r=t||this.toString(),n=this.source.start.column,s=this.source.start.line;for(let t=0;t<e;t++)"\n"===r[t]?(n=1,s+=1):n+=1;return{column:n,line:s}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){let n=this.toString(),s=n.indexOf(e.word);-1!==s&&(t=this.positionInside(s,n),r=this.positionInside(s+e.word.length,n))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:"number"==typeof e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={column:t.column+1,line:t.line}),{end:r,start:t}}raw(e,t){return(new be).raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,r=!1;for(let n of e)n===this?r=!0:r?(this.parent.insertAfter(t,n),t=n):this.parent.insertBefore(t,n);r||this.remove()}return this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}toJSON(e,t){let r={},n=null==t;t=t||new Map;let s=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e))continue;if("parent"===e||"proxyCache"===e)continue;let n=this[e];if(Array.isArray(n))r[e]=n.map((e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e));else if("object"==typeof n&&n.toJSON)r[e]=n.toJSON(null,t);else if("source"===e){let o=t.get(n.input);null==o&&(o=s,t.set(n.input,s),s++),r[e]={end:n.end,inputId:o,start:n.start}}else r[e]=n}return n&&(r.inputs=[...t.keys()].map((e=>e.toJSON()))),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=ve){e.stringify&&(e=e.stringify);let t="";return e(this,(e=>{t+=e})),t}warn(e,t,r){let n={node:this};for(let e in r)n[e]=r[e];return e.warn(t,n)}get proxyOf(){return this}};var Ie=Ce;Ce.default=Ce;let ke=Ie,xe=class extends ke{constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}};var Oe=xe;xe.default=xe;var Me={nanoid:(e=21)=>{let t="",r=e;for(;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(r=t)=>{let n="",s=r;for(;s--;)n+=e[Math.random()*e.length|0];return n}};let{SourceMapConsumer:Ae,SourceMapGenerator:Re}=se,{existsSync:Ee,readFileSync:Te}=se,{dirname:Ne,join:Pe}=se,Le=class{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=Ne(this.mapFile)),n&&(this.text=n)}consumer(){return this.consumerCache||(this.consumerCache=new Ae(this.text)),this.consumerCache}decodeInline(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from(t,"base64").toString():window.atob(t);var t;let r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}loadFile(e){if(this.root=Ne(e),Ee(e))return this.mapFile=e,Te(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof Ae)return Re.fromSourceMap(t).toString();if(t instanceof Re)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let r=t(e);if(r){let e=this.loadFile(r);if(!e)throw new Error("Unable to load previous source map: "+r.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=Pe(Ne(e),t)),this.loadFile(t)}}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};var De=Le;Le.default=Le;let{SourceMapConsumer:Fe,SourceMapGenerator:je}=se,{fileURLToPath:Ue,pathToFileURL:_e}=se,{isAbsolute:Be,resolve:ze}=se,{nanoid:We}=Me,Ve=se,Ge=le,Ze=De,Ye=Symbol("fromOffsetCache"),Je=Boolean(Fe&&je),$e=Boolean(ze&&Be),Xe=class{constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!$e||/^\w+:\/\//.test(t.from)||Be(t.from)?this.file=t.from:this.file=ze(t.from)),$e&&Je){let e=new Ze(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id="<input css "+We(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,r,n={}){let s,o,i;if(t&&"object"==typeof t){let e=t,n=r;if("number"==typeof e.offset){let n=this.fromOffset(e.offset);t=n.line,r=n.col}else t=e.line,r=e.column;if("number"==typeof n.offset){let e=this.fromOffset(n.offset);o=e.line,i=e.col}else o=n.line,i=n.column}else if(!r){let e=this.fromOffset(t);t=e.line,r=e.col}let a=this.origin(t,r,o,i);return s=a?new Ge(e,void 0===a.endLine?a.line:{column:a.column,line:a.line},void 0===a.endLine?a.column:{column:a.endColumn,line:a.endLine},a.source,a.file,n.plugin):new Ge(e,void 0===o?t:{column:r,line:t},void 0===o?r:{column:i,line:o},this.css,this.file,n.plugin),s.input={column:r,endColumn:i,endLine:o,line:t,source:this.css},this.file&&(_e&&(s.input.url=_e(this.file).toString()),s.input.file=this.file),s}fromOffset(e){let t,r;if(this[Ye])r=this[Ye];else{let e=this.css.split("\n");r=new Array(e.length);let t=0;for(let n=0,s=e.length;n<s;n++)r[n]=t,t+=e[n].length+1;this[Ye]=r}t=r[r.length-1];let n=0;if(e>=t)n=r.length-1;else{let t,s=r.length-2;for(;n<s;)if(t=n+(s-n>>1),e<r[t])s=t-1;else{if(!(e>=r[t+1])){n=t;break}n=t+1}}return{col:e-r[n]+1,line:n+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:ze(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,r,n){if(!this.map)return!1;let s,o,i=this.map.consumer(),a=i.originalPositionFor({column:t,line:e});if(!a.source)return!1;"number"==typeof r&&(s=i.originalPositionFor({column:n,line:r})),o=Be(a.source)?_e(a.source):new URL(a.source,this.map.consumer().sourceRoot||_e(this.map.mapFile));let l={column:a.column,endColumn:s&&s.column,endLine:s&&s.line,line:a.line,url:o.toString()};if("file:"===o.protocol){if(!Ue)throw new Error("file: protocol is not available in this PostCSS build");l.file=Ue(o)}let c=i.sourceContentFor(a.source);return c&&(l.source=c),l}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}get from(){return this.file||this.id}};var He=Xe;Xe.default=Xe,Ve&&Ve.registerInput&&Ve.registerInput(Xe);let{SourceMapConsumer:Ke,SourceMapGenerator:Qe}=se,{dirname:qe,relative:et,resolve:tt,sep:rt}=se,{pathToFileURL:nt}=se,st=He,ot=Boolean(Ke&&Qe),it=Boolean(qe&&tt&&et&&rt);var at=class{constructor(e,t,r,n){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t,r=this.toUrl(this.path(e.file)),n=e.root||qe(e.file);!1===this.mapOpts.sourcesContent?(t=new Ke(e.text),t.sourcesContent&&(t.sourcesContent=null)):t=e.consumer(),this.map.applySourceMap(t,r,this.toUrl(this.path(n)))}}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),it&&ot&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,(t=>{e+=t})),[e]}}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=Qe.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new Qe({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new Qe({file:this.outputFile(),ignoreInvalidMapping:!0});let e,t,r=1,n=1,s="<no source>",o={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,((i,a,l)=>{if(this.css+=i,a&&"end"!==l&&(o.generated.line=r,o.generated.column=n-1,a.source&&a.source.start?(o.source=this.sourcePath(a),o.original.line=a.source.start.line,o.original.column=a.source.start.column-1,this.map.addMapping(o)):(o.source=s,o.original.line=1,o.original.column=0,this.map.addMapping(o))),e=i.match(/\n/g),e?(r+=e.length,t=i.lastIndexOf("\n"),n=i.length-t):n+=i.length,a&&"start"!==l){let e=a.parent||{raws:{}};("decl"===a.type||"atrule"===a.type&&!a.nodes)&&a===e.last&&!e.raws.semicolon||(a.source&&a.source.end?(o.source=this.sourcePath(a),o.original.line=a.source.end.line,o.original.column=a.source.end.column-1,o.generated.line=r,o.generated.column=n-2,this.map.addMapping(o)):(o.source=s,o.original.line=1,o.original.column=0,o.generated.line=r,o.generated.column=n-1,this.map.addMapping(o)))}}))}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((e=>e.annotation)))}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((e=>e.inline)))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((e=>e.withContent()))}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let r=this.opts.to?qe(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(r=qe(tt(r,this.mapOpts.annotation)));let n=et(r,e);return this.memoizedPaths.set(e,n),n}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk((e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}}));else{let e=new st(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk((t=>{if(t.source){let r=t.source.input.from;if(r&&!e[r]){e[r]=!0;let n=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(n,t.source.input.css)}}}));else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(nt){let t=nt(e).toString();return this.memoizedFileURLs.set(e,t),t}throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;"\\"===rt&&(e=e.replace(/\\/g,"/"));let r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r}};let lt=Ie,ct=class extends lt{constructor(e){super(e),this.type="comment"}};var ut=ct;ct.default=ct;let ht,pt,dt,ft,{isClean:mt,my:gt}=ce,yt=Oe,wt=ut,bt=Ie;function vt(e){return e.map((e=>(e.nodes&&(e.nodes=vt(e.nodes)),delete e.source,e)))}function St(e){if(e[mt]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)St(t)}let Ct=class e extends bt{append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t,r,n=this.getIterator();for(;this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],r=e(this.proxyOf.nodes[t],t),!1!==r);)this.indexes[n]+=1;return delete this.indexes[n],r}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...r)=>e[t](...r.map((e=>"function"==typeof e?(t,r)=>e(t.toProxy(),r):e))):"every"===t||"some"===t?r=>e[t](((e,...t)=>r(e.toProxy(),...t))):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map((e=>e.toProxy())):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t],set:(e,t,r)=>(e[t]===r||(e[t]=r,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0)}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let r,n=this.index(e),s=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(let e of s)this.proxyOf.nodes.splice(n+1,0,e);for(let e in this.indexes)r=this.indexes[e],n<r&&(this.indexes[e]=r+s.length);return this.markDirty(),this}insertBefore(e,t){let r,n=this.index(e),s=0===n&&"prepend",o=this.normalize(t,this.proxyOf.nodes[n],s).reverse();n=this.index(e);for(let e of o)this.proxyOf.nodes.splice(n,0,e);for(let e in this.indexes)r=this.indexes[e],n<=r&&(this.indexes[e]=r+o.length);return this.markDirty(),this}normalize(t,r){if("string"==typeof t)t=vt(ht(t).nodes);else if(void 0===t)t=[];else if(Array.isArray(t)){t=t.slice(0);for(let e of t)e.parent&&e.parent.removeChild(e,"ignore")}else if("root"===t.type&&"document"!==this.type){t=t.nodes.slice(0);for(let e of t)e.parent&&e.parent.removeChild(e,"ignore")}else if(t.type)t=[t];else if(t.prop){if(void 0===t.value)throw new Error("Value field is missed in node creation");"string"!=typeof t.value&&(t.value=String(t.value)),t=[new yt(t)]}else if(t.selector)t=[new pt(t)];else if(t.name)t=[new dt(t)];else{if(!t.text)throw new Error("Unknown node type in node creation");t=[new wt(t)]}return t.map((t=>(t[gt]||e.rebuild(t),(t=t.proxyOf).parent&&t.parent.removeChild(t),t[mt]&&St(t),void 0===t.raws.before&&r&&void 0!==r.raws.before&&(t.raws.before=r.raws.before.replace(/\S/g,"")),t.parent=this.proxyOf,t)))}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let r in this.indexes)t=this.indexes[r],t>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls((n=>{t.props&&!t.props.includes(n.prop)||t.fast&&!n.value.includes(t.fast)||(n.value=n.value.replace(e,r))})),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each(((t,r)=>{let n;try{n=e(t,r)}catch(e){throw t.addToError(e)}return!1!==n&&t.walk&&(n=t.walk(e)),n}))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if("atrule"===r.type&&e.test(r.name))return t(r,n)})):this.walk(((r,n)=>{if("atrule"===r.type&&r.name===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if("atrule"===e.type)return t(e,r)})))}walkComments(e){return this.walk(((t,r)=>{if("comment"===t.type)return e(t,r)}))}walkDecls(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if("decl"===r.type&&e.test(r.prop))return t(r,n)})):this.walk(((r,n)=>{if("decl"===r.type&&r.prop===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if("decl"===e.type)return t(e,r)})))}walkRules(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if("rule"===r.type&&e.test(r.selector))return t(r,n)})):this.walk(((r,n)=>{if("rule"===r.type&&r.selector===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if("rule"===e.type)return t(e,r)})))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};Ct.registerParse=e=>{ht=e},Ct.registerRule=e=>{pt=e},Ct.registerAtRule=e=>{dt=e},Ct.registerRoot=e=>{ft=e};var It=Ct;Ct.default=Ct,Ct.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,dt.prototype):"rule"===e.type?Object.setPrototypeOf(e,pt.prototype):"decl"===e.type?Object.setPrototypeOf(e,yt.prototype):"comment"===e.type?Object.setPrototypeOf(e,wt.prototype):"root"===e.type&&Object.setPrototypeOf(e,ft.prototype),e[gt]=!0,e.nodes&&e.nodes.forEach((e=>{Ct.rebuild(e)}))};let kt,xt,Ot=It,Mt=class extends Ot{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new kt(new xt,this,e).stringify()}};Mt.registerLazyResult=e=>{kt=e},Mt.registerProcessor=e=>{xt=e};var At=Mt;Mt.default=Mt;let Rt=class{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};var Et=Rt;Rt.default=Rt;let Tt=Et,Nt=class{constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let r=new Tt(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter((e=>"warning"===e.type))}get content(){return this.css}};var Pt=Nt;Nt.default=Nt;const Lt="'".charCodeAt(0),Dt='"'.charCodeAt(0),Ft="\\".charCodeAt(0),jt="/".charCodeAt(0),Ut="\n".charCodeAt(0),_t=" ".charCodeAt(0),Bt="\f".charCodeAt(0),zt="\t".charCodeAt(0),Wt="\r".charCodeAt(0),Vt="[".charCodeAt(0),Gt="]".charCodeAt(0),Zt="(".charCodeAt(0),Yt=")".charCodeAt(0),Jt="{".charCodeAt(0),$t="}".charCodeAt(0),Xt=";".charCodeAt(0),Ht="*".charCodeAt(0),Kt=":".charCodeAt(0),Qt="@".charCodeAt(0),qt=/[\t\n\f\r "#'()/;[\\\]{}]/g,er=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,tr=/.[\r\n"'(/\\]/,rr=/[\da-f]/i;let nr=It,sr=class extends nr{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 or=sr;sr.default=sr,nr.registerAtRule(sr);let ir,ar,lr=It,cr=class extends lr{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,r){let n=super.normalize(e);if(t)if("prepend"===r)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of n)e.raws.before=t.raws.before;return n}removeChild(e,t){let r=this.index(e);return!t&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}toResult(e={}){return new ir(new ar,this,e).stringify()}};cr.registerLazyResult=e=>{ir=e},cr.registerProcessor=e=>{ar=e};var ur=cr;cr.default=cr,lr.registerRoot(cr);let hr={comma:e=>hr.split(e,[","],!0),space:e=>hr.split(e,[" ","\n","\t"]),split(e,t,r){let n=[],s="",o=!1,i=0,a=!1,l="",c=!1;for(let r of e)c?c=!1:"\\"===r?c=!0:a?r===l&&(a=!1):'"'===r||"'"===r?(a=!0,l=r):"("===r?i+=1:")"===r?i>0&&(i-=1):0===i&&t.includes(r)&&(o=!0),o?(""!==s&&n.push(s.trim()),s="",o=!1):s+=r;return(r||""!==s)&&n.push(s.trim()),n}};var pr=hr;hr.default=hr;let dr=It,fr=pr,mr=class extends dr{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return fr.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}};var gr=mr;mr.default=mr,dr.registerRule(mr);let yr=Oe,wr=ut,br=or,vr=ur,Sr=gr;const Cr={empty:!0,space:!0};let Ir=It,kr=class{constructor(e){this.input=e,this.root=new vr,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,r,n,s=new br;s.name=e[1].slice(1),""===s.name&&this.unnamedAtrule(s,e),this.init(s,e[2]);let o=!1,i=!1,a=[],l=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?l.push("("===t?")":"]"):"{"===t&&l.length>0?l.push("}"):t===l[l.length-1]&&l.pop(),0===l.length){if(";"===t){s.source.end=this.getPosition(e[2]),s.source.end.offset++,this.semicolon=!0;break}if("{"===t){i=!0;break}if("}"===t){if(a.length>0){for(n=a.length-1,r=a[n];r&&"space"===r[0];)r=a[--n];r&&(s.source.end=this.getPosition(r[3]||r[2]),s.source.end.offset++)}this.end(e);break}a.push(e)}else a.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}s.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(s.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(s,"params",a),o&&(e=a[a.length-1],s.source.end=this.getPosition(e[3]||e[2]),s.source.end.offset++,this.spaces=s.raws.between,s.raws.between="")):(s.raws.afterName="",s.params=""),i&&(s.nodes=[],this.current=s)}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let r,n=0;for(let s=t-1;s>=0&&(r=e[s],"space"===r[0]||(n+=1,2!==n));s--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}colon(e){let t,r,n,s=0;for(let[o,i]of e.entries()){if(t=i,r=t[0],"("===r&&(s+=1),")"===r&&(s-=1),0===s&&":"===r){if(n){if("word"===n[0]&&"progid"===n[1])continue;return o}this.doubleColon(t)}n=t}return!1}comment(e){let t=new wr;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{let e=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}createTokenizer(){this.tokenizer=function(e,t={}){let r,n,s,o,i,a,l,c,u,h,p=e.css.valueOf(),d=t.ignoreErrors,f=p.length,m=0,g=[],y=[];function w(t){throw e.error("Unclosed "+t,m)}return{back:function(e){y.push(e)},endOfFile:function(){return 0===y.length&&m>=f},nextToken:function(e){if(y.length)return y.pop();if(m>=f)return;let t=!!e&&e.ignoreUnclosed;switch(r=p.charCodeAt(m),r){case Ut:case _t:case zt:case Wt:case Bt:n=m;do{n+=1,r=p.charCodeAt(n)}while(r===_t||r===Ut||r===zt||r===Wt||r===Bt);h=["space",p.slice(m,n)],m=n-1;break;case Vt:case Gt:case Jt:case $t:case Kt:case Xt:case Yt:{let e=String.fromCharCode(r);h=[e,e,m];break}case Zt:if(c=g.length?g.pop()[1]:"",u=p.charCodeAt(m+1),"url"===c&&u!==Lt&&u!==Dt&&u!==_t&&u!==Ut&&u!==zt&&u!==Bt&&u!==Wt){n=m;do{if(a=!1,n=p.indexOf(")",n+1),-1===n){if(d||t){n=m;break}w("bracket")}for(l=n;p.charCodeAt(l-1)===Ft;)l-=1,a=!a}while(a);h=["brackets",p.slice(m,n+1),m,n],m=n}else n=p.indexOf(")",m+1),o=p.slice(m,n+1),-1===n||tr.test(o)?h=["(","(",m]:(h=["brackets",o,m,n],m=n);break;case Lt:case Dt:s=r===Lt?"'":'"',n=m;do{if(a=!1,n=p.indexOf(s,n+1),-1===n){if(d||t){n=m+1;break}w("string")}for(l=n;p.charCodeAt(l-1)===Ft;)l-=1,a=!a}while(a);h=["string",p.slice(m,n+1),m,n],m=n;break;case Qt:qt.lastIndex=m+1,qt.test(p),n=0===qt.lastIndex?p.length-1:qt.lastIndex-2,h=["at-word",p.slice(m,n+1),m,n],m=n;break;case Ft:for(n=m,i=!0;p.charCodeAt(n+1)===Ft;)n+=1,i=!i;if(r=p.charCodeAt(n+1),i&&r!==jt&&r!==_t&&r!==Ut&&r!==zt&&r!==Wt&&r!==Bt&&(n+=1,rr.test(p.charAt(n)))){for(;rr.test(p.charAt(n+1));)n+=1;p.charCodeAt(n+1)===_t&&(n+=1)}h=["word",p.slice(m,n+1),m,n],m=n;break;default:r===jt&&p.charCodeAt(m+1)===Ht?(n=p.indexOf("*/",m+2)+1,0===n&&(d||t?n=p.length:w("comment")),h=["comment",p.slice(m,n+1),m,n],m=n):(er.lastIndex=m+1,er.test(p),n=0===er.lastIndex?p.length-1:er.lastIndex-2,h=["word",p.slice(m,n+1),m,n],g.push(h),m=n)}return m++,h},position:function(){return m}}}(this.input)}decl(e,t){let r=new yr;this.init(r,e[0][2]);let n,s=e[e.length-1];for(";"===s[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(s[3]||s[2]||function(e){for(let t=e.length-1;t>=0;t--){let r=e[t],n=r[3]||r[2];if(n)return n}}(e)),r.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;r.prop+=e.shift()[1]}for(r.raws.between="";e.length;){if(n=e.shift(),":"===n[0]){r.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),r.raws.between+=n[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let o,i=[];for(;e.length&&(o=e[0][0],"space"===o||"comment"===o);)i.push(e.shift());this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(n=e[t],"!important"===n[1].toLowerCase()){r.important=!0;let n=this.stringFrom(e,t);n=this.spacesFromEnd(e)+n," !important"!==n&&(r.raws.important=n);break}if("important"===n[1].toLowerCase()){let n=e.slice(0),s="";for(let e=t;e>0;e--){let t=n[e][0];if(0===s.trim().indexOf("!")&&"space"!==t)break;s=n.pop()[1]+s}0===s.trim().indexOf("!")&&(r.important=!0,r.raws.important=s,e=n)}if("space"!==n[0]&&"comment"!==n[0])break}e.some((e=>"space"!==e[0]&&"comment"!==e[0]))&&(r.raws.between+=i.map((e=>e[1])).join(""),i=[]),this.raw(r,"value",i.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new Sr;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 e=this.current.nodes[this.current.nodes.length-1];e&&"rule"===e.type&&!e.raws.ownSemicolon&&(e.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="","comment"!==e.type&&(this.semicolon=!1)}other(e){let t=!1,r=null,n=!1,s=null,o=[],i=e[1].startsWith("--"),a=[],l=e;for(;l;){if(r=l[0],a.push(l),"("===r||"["===r)s||(s=l),o.push("("===r?")":"]");else if(i&&n&&"{"===r)s||(s=l),o.push("}");else if(0===o.length){if(";"===r){if(n)return void this.decl(a,i);break}if("{"===r)return void this.rule(a);if("}"===r){this.tokenizer.back(a.pop()),t=!0;break}":"===r&&(n=!0)}else r===o[o.length-1]&&(o.pop(),0===o.length&&(s=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(s),t&&n){if(!i)for(;a.length&&(l=a[a.length-1][0],"space"===l||"comment"===l);)this.tokenizer.back(a.pop());this.decl(a,i)}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)}this.endFile()}precheckMissedSemicolon(){}raw(e,t,r,n){let s,o,i,a,l=r.length,c="",u=!0;for(let e=0;e<l;e+=1)s=r[e],o=s[0],"space"!==o||e!==l-1||n?"comment"===o?(a=r[e-1]?r[e-1][0]:"empty",i=r[e+1]?r[e+1][0]:"empty",Cr[a]||Cr[i]||","===c.slice(-1)?u=!1:c+=s[1]):c+=s[1]:u=!1;if(!u){let n=r.reduce(((e,t)=>e+t[1]),"");e.raws[t]={raw:n,value:c}}e[t]=c}rule(e){e.pop();let t=new Sr;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let t,r="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)r+=e.shift()[1];return r}spacesFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)r=e.pop()[1]+r;return r}stringFrom(e,t){let r="";for(let n=t;n<e.length;n++)r+=e[n][1];return e.splice(t,e.length-t),r}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}},xr=He;function Or(e,t){let r=new xr(e,t),n=new kr(r);try{n.parse()}catch(e){throw e}return n.root}var Mr=Or;Or.default=Or,Ir.registerParse(Or);let{isClean:Ar,my:Rr}=ce,Er=at,Tr=me,Nr=It,Pr=At,Lr=Pt,Dr=Mr,Fr=ur;const jr={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},Ur={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},_r={Once:!0,postcssPlugin:!0,prepare:!0},Br=0;function zr(e){return"object"==typeof e&&"function"==typeof e.then}function Wr(e){let t=!1,r=jr[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,Br,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,Br,r+"Exit"]:[r,r+"Exit"]}function Vr(e){let t;return t="document"===e.type?["Document",Br,"DocumentExit"]:"root"===e.type?["Root",Br,"RootExit"]:Wr(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function Gr(e){return e[Ar]=!1,e.nodes&&e.nodes.forEach((e=>Gr(e))),e}let Zr={},Yr=class e{constructor(t,r,n){let s;if(this.stringified=!1,this.processed=!1,"object"!=typeof r||null===r||"root"!==r.type&&"document"!==r.type)if(r instanceof e||r instanceof Lr)s=Gr(r.root),r.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{let e=Dr;n.syntax&&(e=n.syntax.parse),n.parser&&(e=n.parser),e.parse&&(e=e.parse);try{s=e(r,n)}catch(e){this.processed=!0,this.error=e}s&&!s[Rr]&&Nr.rebuild(s)}else s=Gr(r);this.result=new Lr(t,s,n),this.helpers={...Zr,postcss:Zr,result:this.result},this.plugins=this.processor.plugins.map((e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e))}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?r.postcssVersion:(e.plugin=r.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e}prepareVisitors(){this.listeners={};let e=(e,t,r)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,r])};for(let t of this.plugins)if("object"==typeof t)for(let r in t){if(!Ur[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}
1. Try to update PostCSS (${this.processor.version} now).`);if(!_r[r])if("object"==typeof t[r])for(let n in t[r])e(t,"*"===n?r:r+"-"+n.toLowerCase(),t[r][n]);else"function"==typeof t[r]&&e(t,r,t[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],r=this.runOnRoot(t);if(zr(r))try{await r}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Ar];){e[Ar]=!0;let t=[Vr(e)];for(;t.length>0;){let e=this.visitTick(t);if(zr(e))try{await e}catch(e){let r=t[t.length-1].node;throw this.handleError(e,r)}}}if(this.listeners.OnceExit)for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map((e=>r(e,this.helpers)));await Promise.all(t)}else await r(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map((t=>e.Once(t,this.helpers)));return zr(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=Tr;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let r=new Er(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)if(zr(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Ar];)e[Ar]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[r,n]of e){let e;this.result.lastPlugin=r;try{e=n(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(zr(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:r,visitors:n}=t;if("root"!==r.type&&"document"!==r.type&&!r.parent)return void e.pop();if(n.length>0&&t.visitorIndex<n.length){let[e,s]=n[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return s(r.toProxy(),this.helpers)}catch(e){throw this.handleError(e,r)}}if(0!==t.iterator){let n,s=t.iterator;for(;n=r.nodes[r.indexes[s]];)if(r.indexes[s]+=1,!n[Ar])return n[Ar]=!0,void e.push(Vr(n));t.iterator=0,delete r.indexes[s]}let s=t.events;for(;t.eventIndex<s.length;){let e=s[t.eventIndex];if(t.eventIndex+=1,e===Br)return void(r.nodes&&r.nodes.length&&(r[Ar]=!0,t.iterator=r.getIterator()));if(this.listeners[e])return void(t.visitors=this.listeners[e])}e.pop()}walkSync(e){e[Ar]=!0;let t=Wr(e);for(let r of t)if(r===Br)e.nodes&&e.each((e=>{e[Ar]||this.walkSync(e)}));else{let t=this.listeners[r];if(t&&this.visitSync(t,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"}};Yr.registerPostcss=e=>{Zr=e};var Jr=Yr;Yr.default=Yr,Fr.registerLazyResult(Yr),Pr.registerLazyResult(Yr);let $r=at,Xr=me,Hr=Mr;const Kr=Pt;let Qr=class{constructor(e,t,r){let n;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;let s=Xr;this.result=new Kr(this._processor,n,this._opts),this.result.css=t;let o=this;Object.defineProperty(this.result,"root",{get:()=>o.root});let i=new $r(s,n,this._opts,t);
vendor: 46,051 bytes, line 1
1if(i.isMap()){let[e,t]=i.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else i.clearAnnotation(),this.result.css=i.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=Hr;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}};var qr=Qr;Qr.default=Qr;let en=qr,tn=Jr,rn=At,nn=ur,sn=class{constructor(e=[]){this.version="8.4.38",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let r of e)if(!0===r.postcss?r=r():r.postcss&&(r=r.postcss),"object"==typeof r&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if("object"==typeof r&&r.postcssPlugin)t.push(r);else if("function"==typeof r)t.push(r);else if("object"!=typeof r||!r.parse&&!r.stringify)throw new Error(r+" is not a PostCSS plugin");return t}process(e,t={}){return this.plugins.length||t.parser||t.stringifier||t.syntax?new tn(this,e,t):new en(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};var on=sn;sn.default=sn,nn.registerProcessor(sn),rn.registerProcessor(sn);let an=Oe,ln=De,cn=ut,un=or,hn=He,pn=ur,dn=gr;function fn(e,t){if(Array.isArray(e))return e.map((e=>fn(e)));let{inputs:r,...n}=e;if(r){t=[];for(let e of r){let r={...e,__proto__:hn.prototype};r.map&&(r.map={...r.map,__proto__:ln.prototype}),t.push(r)}}if(n.nodes&&(n.nodes=e.nodes.map((e=>fn(e,t)))),n.source){let{inputId:e,...r}=n.source;n.source=r,null!=e&&(n.source.input=t[e])}if("root"===n.type)return new pn(n);if("decl"===n.type)return new an(n);if("rule"===n.type)return new dn(n);if("comment"===n.type)return new cn(n);if("atrule"===n.type)return new un(n);throw new Error("Unknown node type: "+e.type)}var mn=fn;fn.default=fn;let gn=le,yn=Oe,wn=Jr,bn=It,vn=on,Sn=me,Cn=mn,In=At,kn=Et,xn=ut,On=or,Mn=Pt,An=He,Rn=Mr,En=pr,Tn=gr,Nn=ur,Pn=Ie;function Ln(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new vn(e)}Ln.plugin=function(e,t){let r,n=!1;function s(...r){console&&console.warn&&!n&&(n=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+": éé¢ postcss.plugin 被å¼ç¨. è¿ç§»æå:\nhttps://www.w3ctech.com/topic/2226"));let s=t(...r);return s.postcssPlugin=e,s.postcssVersion=(new vn).version,s}return Object.defineProperty(s,"postcss",{get:()=>(r||(r=s()),r)}),s.process=function(e,t,r){return Ln([s(r)]).process(e,t)},s},Ln.stringify=Sn,Ln.parse=Rn,Ln.fromJSON=Cn,Ln.list=En,Ln.comment=e=>new xn(e),Ln.atRule=e=>new On(e),Ln.decl=e=>new yn(e),Ln.rule=e=>new Tn(e),Ln.root=e=>new Nn(e),Ln.document=e=>new In(e),Ln.CssSyntaxError=gn,Ln.Declaration=yn,Ln.Container=bn,Ln.Processor=vn,Ln.Document=In,Ln.Comment=xn,Ln.Warning=kn,Ln.AtRule=On,Ln.Result=Mn,Ln.Input=An,Ln.Rule=Tn,Ln.Root=Nn,Ln.Node=Pn,wn.registerPostcss(Ln);var Dn=Ln;Ln.default=Ln;const Fn=Q(Dn);Fn.stringify,Fn.fromJSON,Fn.plugin,Fn.parse,Fn.list,Fn.document,Fn.comment,Fn.atRule,Fn.rule,Fn.decl,Fn.root,Fn.CssSyntaxError,Fn.Declaration,Fn.Container,Fn.Processor,Fn.Document,Fn.Comment,Fn.Warning,Fn.AtRule,Fn.Result,Fn.Input,Fn.Rule,Fn.Root,Fn.Node;var jn=Object.defineProperty,Un=(e,t,r)=>((e,t,r)=>t in e?jn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r);function Bn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function zn(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?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(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),r}Object.defineProperty;var Wn={exports:{}},Vn=String,Gn=function(){return{isColorSupported:!1,reset:Vn,bold:Vn,dim:Vn,italic:Vn,underline:Vn,inverse:Vn,hidden:Vn,strikethrough:Vn,black:Vn,red:Vn,green:Vn,yellow:Vn,blue:Vn,magenta:Vn,cyan:Vn,white:Vn,gray:Vn,bgBlack:Vn,bgRed:Vn,bgGreen:Vn,bgYellow:Vn,bgBlue:Vn,bgMagenta:Vn,bgCyan:Vn,bgWhite:Vn}};Wn.exports=Gn(),Wn.exports.createColors=Gn;var Zn=Wn.exports;const Yn=zn(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));let Jn=Zn,$n=Yn,Xn=class e extends Error{constructor(t,r,n,s,o,i){super(t),this.name="CssSyntaxError",this.reason=t,o&&(this.file=o),s&&(this.source=s),i&&(this.plugin=i),void 0!==r&&void 0!==n&&("number"==typeof r?(this.line=r,this.column=n):(this.line=r.line,this.column=r.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,e)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=Jn.isColorSupported),$n&&e&&(t=$n(t));let r,n,s=t.split(/\r?\n/),o=Math.max(this.line-3,0),i=Math.min(this.line+2,s.length),a=String(i).length;if(e){let{bold:e,gray:t,red:s}=Jn.createColors(!0);r=t=>e(s(t)),n=e=>t(e)}else r=n=e=>e;return s.slice(o,i).map(((e,t)=>{let s=o+1+t,i=" "+(" "+s).slice(-a)+" | ";if(s===this.line){let t=n(i.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return r(">")+n(i)+e+"\n "+t+r("^")}return" "+n(i)+e})).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}};var Hn=Xn;Xn.default=Xn;var Kn={};Kn.isClean=Symbol("isClean"),Kn.my=Symbol("my");const Qn={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};let qn=class{constructor(e){this.builder=e}atrule(e,t){let r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{let s=(e.raws.between||"")+(t?";":"");this.builder(r+n+s,e)}}beforeAfter(e,t){let r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let n=e.parent,s=0;for(;n&&"root"!==n.type;)s+=1,n=n.parent;if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<s;e++)r+=t}return r}block(e,t){let r,n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")}body(e){let t=e.nodes.length-1;for(;t>0&&"comment"===e.nodes[t].type;)t-=1;let r=this.raw(e,"semicolon");for(let n=0;n<e.nodes.length;n++){let s=e.nodes[n],o=this.raw(s,"before");o&&this.builder(o),this.stringify(s,t!==n||r)}}comment(e){let t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon"),n=e.prop+r+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),t&&(n+=";"),this.builder(n,e)}document(e){this.body(e)}raw(e,t,r){let n;if(r||(r=t),t&&(n=e.raws[t],void 0!==n))return n;let s=e.parent;if("before"===r){if(!s||"root"===s.type&&s.first===e)return"";if(s&&"document"===s.type)return""}if(!s)return Qn[r];let o=e.root();if(o.rawCache||(o.rawCache={}),void 0!==o.rawCache[r])return o.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);{let s="raw"+((i=r)[0].toUpperCase()+i.slice(1));this[s]?n=this[s](o,e):o.walk((e=>{if(n=e.raws[t],void 0!==n)return!1}))}var i;return void 0===n&&(n=Qn[r]),o.rawCache[r]=n,n}rawBeforeClose(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){let r;return e.walkComments((e=>{if(void 0!==e.raws.before)return r=e.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,t){let r;return e.walkDecls((e=>{if(void 0!==e.raws.before)return r=e.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(e){let t;return e.walk((e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1})),t}rawBeforeRule(e){let t;return e.walk((r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return t=r.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls((e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t}rawEmptyBody(e){let t;return e.walk((e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1})),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk((r=>{let n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==r.raws.before){let e=r.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}})),t}rawSemicolon(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1})),t}rawValue(e,t){let r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}};var es=qn;qn.default=qn;let ts=es;function rs(e,t){new ts(t).stringify(e)}var ns=rs;rs.default=rs;let{isClean:ss,my:os}=Kn,is=Hn,as=es,ls=ns;function cs(e,t){let r=new e.constructor;for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;if("proxyCache"===n)continue;let s=e[n],o=typeof s;"parent"===n&&"object"===o?t&&(r[n]=t):"source"===n?r[n]=s:Array.isArray(s)?r[n]=s.map((e=>cs(e,r))):("object"===o&&null!==s&&(s=cs(s)),r[n]=s)}return r}let us=class{constructor(e={}){this.raws={},this[ss]=!1,this[os]=!0;for(let t in e)if("nodes"===t){this.nodes=[];for(let r of e[t])"function"==typeof r.clone?this.append(r.clone()):this.append(r)}else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=cs(this);for(let r in e)t[r]=e[r];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:r,start:n}=this.rangeBy(t);return this.source.input.error(e,{column:n.column,line:n.line},{column:r.column,line:r.line},t)}return new is(e)}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t],set:(e,t,r)=>(e[t]===r||(e[t]=r,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0)}}markDirty(){if(this[ss]){this[ss]=!1;let e=this;for(;e=e.parent;)e[ss]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,t){let r=this.source.start;if(e.index)r=this.positionInside(e.index,t);else if(e.word){let n=(t=this.toString()).indexOf(e.word);-1!==n&&(r=this.positionInside(n,t))}return r}positionInside(e,t){let r=t||this.toString(),n=this.source.start.column,s=this.source.start.line;for(let t=0;t<e;t++)"\n"===r[t]?(n=1,s+=1):n+=1;return{column:n,line:s}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){let n=this.toString(),s=n.indexOf(e.word);-1!==s&&(t=this.positionInside(s,n),r=this.positionInside(s+e.word.length,n))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:"number"==typeof e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={column:t.column+1,line:t.line}),{end:r,start:t}}raw(e,t){return(new as).raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,r=!1;for(let n of e)n===this?r=!0:r?(this.parent.insertAfter(t,n),t=n):this.parent.insertBefore(t,n);r||this.remove()}return this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}toJSON(e,t){let r={},n=null==t;t=t||new Map;let s=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e))continue;if("parent"===e||"proxyCache"===e)continue;let n=this[e];if(Array.isArray(n))r[e]=n.map((e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e));else if("object"==typeof n&&n.toJSON)r[e]=n.toJSON(null,t);else if("source"===e){let o=t.get(n.input);null==o&&(o=s,t.set(n.input,s),s++),r[e]={end:n.end,inputId:o,start:n.start}}else r[e]=n}return n&&(r.inputs=[...t.keys()].map((e=>e.toJSON()))),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=ls){e.stringify&&(e=e.stringify);let t="";return e(this,(e=>{t+=e})),t}warn(e,t,r){let n={node:this};for(let e in r)n[e]=r[e];return e.warn(t,n)}get proxyOf(){return this}};var hs=us;us.default=us;let ps=hs,ds=class extends ps{constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}};var fs=ds;ds.default=ds;var ms={nanoid:(e=21)=>{let t="",r=e;for(;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(r=t)=>{let n="",s=r;for(;s--;)n+=e[Math.random()*e.length|0];return n}};let{SourceMapConsumer:gs,SourceMapGenerator:ys}=Yn,{existsSync:ws,readFileSync:bs}=Yn,{dirname:vs,join:Ss}=Yn,Cs=class{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=vs(this.mapFile)),n&&(this.text=n)}consumer(){return this.consumerCache||(this.consumerCache=new gs(this.text)),this.consumerCache}decodeInline(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from(t,"base64").toString():window.atob(t);var t;let r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}loadFile(e){if(this.root=vs(e),ws(e))return this.mapFile=e,bs(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof gs)return ys.fromSourceMap(t).toString();if(t instanceof ys)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let r=t(e);if(r){let e=this.loadFile(r);if(!e)throw new Error("Unable to load previous source map: "+r.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=Ss(vs(e),t)),this.loadFile(t)}}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};var Is=Cs;Cs.default=Cs;let{SourceMapConsumer:ks,SourceMapGenerator:xs}=Yn,{fileURLToPath:Os,pathToFileURL:Ms}=Yn,{isAbsolute:As,resolve:Rs}=Yn,{nanoid:Es}=ms,Ts=Yn,Ns=Hn,Ps=Is,Ls=Symbol("fromOffsetCache"),Ds=Boolean(ks&&xs),Fs=Boolean(Rs&&As),js=class{constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!Fs||/^\w+:\/\//.test(t.from)||As(t.from)?this.file=t.from:this.file=Rs(t.from)),Fs&&Ds){let e=new Ps(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id="<input css "+Es(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,r,n={}){let s,o,i;if(t&&"object"==typeof t){let e=t,n=r;if("number"==typeof e.offset){let n=this.fromOffset(e.offset);t=n.line,r=n.col}else t=e.line,r=e.column;if("number"==typeof n.offset){let e=this.fromOffset(n.offset);o=e.line,i=e.col}else o=n.line,i=n.column}else if(!r){let e=this.fromOffset(t);t=e.line,r=e.col}let a=this.origin(t,r,o,i);return s=a?new Ns(e,void 0===a.endLine?a.line:{column:a.column,line:a.line},void 0===a.endLine?a.column:{column:a.endColumn,line:a.endLine},a.source,a.file,n.plugin):new Ns(e,void 0===o?t:{column:r,line:t},void 0===o?r:{column:i,line:o},this.css,this.file,n.plugin),s.input={column:r,endColumn:i,endLine:o,line:t,source:this.css},this.file&&(Ms&&(s.input.url=Ms(this.file).toString()),s.input.file=this.file),s}fromOffset(e){let t,r;if(this[Ls])r=this[Ls];else{let e=this.css.split("\n");r=new Array(e.length);let t=0;for(let n=0,s=e.length;n<s;n++)r[n]=t,t+=e[n].length+1;this[Ls]=r}t=r[r.length-1];let n=0;if(e>=t)n=r.length-1;else{let t,s=r.length-2;for(;n<s;)if(t=n+(s-n>>1),e<r[t])s=t-1;else{if(!(e>=r[t+1])){n=t;break}n=t+1}}return{col:e-r[n]+1,line:n+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:Rs(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,r,n){if(!this.map)return!1;let s,o,i=this.map.consumer(),a=i.originalPositionFor({column:t,line:e});if(!a.source)return!1;"number"==typeof r&&(s=i.originalPositionFor({column:n,line:r})),o=As(a.source)?Ms(a.source):new URL(a.source,this.map.consumer().sourceRoot||Ms(this.map.mapFile));let l={column:a.column,endColumn:s&&s.column,endLine:s&&s.line,line:a.line,url:o.toString()};if("file:"===o.protocol){if(!Os)throw new Error("file: protocol is not available in this PostCSS build");l.file=Os(o)}let c=i.sourceContentFor(a.source);return c&&(l.source=c),l}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}get from(){return this.file||this.id}};var Us=js;js.default=js,Ts&&Ts.registerInput&&Ts.registerInput(js);let{SourceMapConsumer:_s,SourceMapGenerator:Bs}=Yn,{dirname:zs,relative:Ws,resolve:Vs,sep:Gs}=Yn,{pathToFileURL:Zs}=Yn,Ys=Us,Js=Boolean(_s&&Bs),$s=Boolean(zs&&Vs&&Ws&&Gs);var Xs=class{constructor(e,t,r,n){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t,r=this.toUrl(this.path(e.file)),n=e.root||zs(e.file);!1===this.mapOpts.sourcesContent?(t=new _s(e.text),t.sourcesContent&&(t.sourcesContent=null)):t=e.consumer(),this.map.applySourceMap(t,r,this.toUrl(this.path(n)))}}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),$s&&Js&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,(t=>{e+=t})),[e]}}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=Bs.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new Bs({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new Bs({file:this.outputFile(),ignoreInvalidMapping:!0});let e,t,r=1,n=1,s="<no source>",o={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,((i,a,l)=>{if(this.css+=i,a&&"end"!==l&&(o.generated.line=r,o.generated.column=n-1,a.source&&a.source.start?(o.source=this.sourcePath(a),o.original.line=a.source.start.line,o.original.column=a.source.start.column-1,this.map.addMapping(o)):(o.source=s,o.original.line=1,o.original.column=0,this.map.addMapping(o))),e=i.match(/\n/g),e?(r+=e.length,t=i.lastIndexOf("\n"),n=i.length-t):n+=i.length,a&&"start"!==l){let e=a.parent||{raws:{}};("decl"===a.type||"atrule"===a.type&&!a.nodes)&&a===e.last&&!e.raws.semicolon||(a.source&&a.source.end?(o.source=this.sourcePath(a),o.original.line=a.source.end.line,o.original.column=a.source.end.column-1,o.generated.line=r,o.generated.column=n-2,this.map.addMapping(o)):(o.source=s,o.original.line=1,o.original.column=0,o.generated.line=r,o.generated.column=n-1,this.map.addMapping(o)))}}))}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((e=>e.annotation)))}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((e=>e.inline)))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((e=>e.withContent()))}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let r=this.opts.to?zs(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(r=zs(Vs(r,this.mapOpts.annotation)));let n=Ws(r,e);return this.memoizedPaths.set(e,n),n}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk((e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}}));else{let e=new Ys(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk((t=>{if(t.source){let r=t.source.input.from;if(r&&!e[r]){e[r]=!0;let n=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(n,t.source.input.css)}}}));else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(Zs){let t=Zs(e).toString();return this.memoizedFileURLs.set(e,t),t}throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;"\\"===Gs&&(e=e.replace(/\\/g,"/"));let r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r}};let Hs=hs,Ks=class extends Hs{constructor(e){super(e),this.type="comment"}};var Qs=Ks;Ks.default=Ks;let qs,eo,to,ro,{isClean:no,my:so}=Kn,oo=fs,io=Qs,ao=hs;function lo(e){return e.map((e=>(e.nodes&&(e.nodes=lo(e.nodes)),delete e.source,e)))}function co(e){if(e[no]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)co(t)}let uo=class e extends ao{append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t,r,n=this.getIterator();for(;this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],r=e(this.proxyOf.nodes[t],t),!1!==r);)this.indexes[n]+=1;return delete this.indexes[n],r}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...r)=>e[t](...r.map((e=>"function"==typeof e?(t,r)=>e(t.toProxy(),r):e))):"every"===t||"some"===t?r=>e[t](((e,...t)=>r(e.toProxy(),...t))):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map((e=>e.toProxy())):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t],set:(e,t,r)=>(e[t]===r||(e[t]=r,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0)}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let r,n=this.index(e),s=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(let e of s)this.proxyOf.nodes.splice(n+1,0,e);for(let e in this.indexes)r=this.indexes[e],n<r&&(this.indexes[e]=r+s.length);return this.markDirty(),this}insertBefore(e,t){let r,n=this.index(e),s=0===n&&"prepend",o=this.normalize(t,this.proxyOf.nodes[n],s).reverse();n=this.index(e);for(let e of o)this.proxyOf.nodes.splice(n,0,e);for(let e in this.indexes)r=this.indexes[e],n<=r&&(this.indexes[e]=r+o.length);return this.markDirty(),this}normalize(t,r){if("string"==typeof t)t=lo(qs(t).nodes);else if(void 0===t)t=[];else if(Array.isArray(t)){t=t.slice(0);for(let e of t)e.parent&&e.parent.removeChild(e,"ignore")}else if("root"===t.type&&"document"!==this.type){t=t.nodes.slice(0);for(let e of t)e.parent&&e.parent.removeChild(e,"ignore")}else if(t.type)t=[t];else if(t.prop){if(void 0===t.value)throw new Error("Value field is missed in node creation");"string"!=typeof t.value&&(t.value=String(t.value)),t=[new oo(t)]}else if(t.selector)t=[new eo(t)];else if(t.name)t=[new to(t)];else{if(!t.text)throw new Error("Unknown node type in node creation");t=[new io(t)]}return t.map((t=>(t[so]||e.rebuild(t),(t=t.proxyOf).parent&&t.parent.removeChild(t),t[no]&&co(t),void 0===t.raws.before&&r&&void 0!==r.raws.before&&(t.raws.before=r.raws.before.replace(/\S/g,"")),t.parent=this.proxyOf,t)))}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let r in this.indexes)t=this.indexes[r],t>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls((n=>{t.props&&!t.props.includes(n.prop)||t.fast&&!n.value.includes(t.fast)||(n.value=n.value.replace(e,r))})),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each(((t,r)=>{let n;try{n=e(t,r)}catch(e){throw t.addToError(e)}return!1!==n&&t.walk&&(n=t.walk(e)),n}))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if("atrule"===r.type&&e.test(r.name))return t(r,n)})):this.walk(((r,n)=>{if("atrule"===r.type&&r.name===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if("atrule"===e.type)return t(e,r)})))}walkComments(e){return this.walk(((t,r)=>{if("comment"===t.type)return e(t,r)}))}walkDecls(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if("decl"===r.type&&e.test(r.prop))return t(r,n)})):this.walk(((r,n)=>{if("decl"===r.type&&r.prop===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if("decl"===e.type)return t(e,r)})))}walkRules(e,t){return t?e instanceof RegExp?this.walk(((r,n)=>{if("rule"===r.type&&e.test(r.selector))return t(r,n)})):this.walk(((r,n)=>{if("rule"===r.type&&r.selector===e)return t(r,n)})):(t=e,this.walk(((e,r)=>{if("rule"===e.type)return t(e,r)})))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};uo.registerParse=e=>{qs=e},uo.registerRule=e=>{eo=e},uo.registerAtRule=e=>{to=e},uo.registerRoot=e=>{ro=e};var ho=uo;uo.default=uo,uo.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,to.prototype):"rule"===e.type?Object.setPrototypeOf(e,eo.prototype):"decl"===e.type?Object.setPrototypeOf(e,oo.prototype):"comment"===e.type?Object.setPrototypeOf(e,io.prototype):"root"===e.type&&Object.setPrototypeOf(e,ro.prototype),e[so]=!0,e.nodes&&e.nodes.forEach((e=>{uo.rebuild(e)}))};let po,fo,mo=ho,go=class extends mo{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new po(new fo,this,e).stringify()}};go.registerLazyResult=e=>{po=e},go.registerProcessor=e=>{fo=e};var yo=go;go.default=go;let wo=class{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};var bo=wo;wo.default=wo;let vo=bo,So=class{constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let r=new vo(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter((e=>"warning"===e.type))}get content(){return this.css}};var Co=So;So.default=So;const Io="'".charCodeAt(0),ko='"'.charCodeAt(0),xo="\\".charCodeAt(0),Oo="/".charCodeAt(0),Mo="\n".charCodeAt(0),Ao=" ".charCodeAt(0),Ro="\f".charCodeAt(0),Eo="\t".charCodeAt(0),To="\r".charCodeAt(0),No="[".charCodeAt(0),Po="]".charCodeAt(0),Lo="(".charCodeAt(0),Do=")".charCodeAt(0),Fo="{".charCodeAt(0),jo="}".charCodeAt(0),Uo=";".charCodeAt(0),_o="*".charCodeAt(0),Bo=":".charCodeAt(0),zo="@".charCodeAt(0),Wo=/[\t\n\f\r "#'()/;[\\\]{}]/g,Vo=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Go=/.[\r\n"'(/\\]/,Zo=/[\da-f]/i;let Yo=ho,Jo=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 $o=Jo;Jo.default=Jo,Yo.registerAtRule(Jo);let Xo,Ho,Ko=ho,Qo=class extends Ko{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,r){let n=super.normalize(e);if(t)if("prepend"===r)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of n)e.raws.before=t.raws.before;return n}removeChild(e,t){let r=this.index(e);return!t&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}toResult(e={}){return new Xo(new Ho,this,e).stringify()}};Qo.registerLazyResult=e=>{Xo=e},Qo.registerProcessor=e=>{Ho=e};var qo=Qo;Qo.default=Qo,Ko.registerRoot(Qo);let ei={comma:e=>ei.split(e,[","],!0),space:e=>ei.split(e,[" ","\n","\t"]),split(e,t,r){let n=[],s="",o=!1,i=0,a=!1,l="",c=!1;for(let r of e)c?c=!1:"\\"===r?c=!0:a?r===l&&(a=!1):'"'===r||"'"===r?(a=!0,l=r):"("===r?i+=1:")"===r?i>0&&(i-=1):0===i&&t.includes(r)&&(o=!0),o?(""!==s&&n.push(s.trim()),s="",o=!1):s+=r;return(r||""!==s)&&n.push(s.trim()),n}};var ti=ei;ei.default=ei;let ri=ho,ni=ti,si=class extends ri{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return ni.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}};var oi=si;si.default=si,ri.registerRule(si);let ii=fs,ai=Qs,li=$o,ci=qo,ui=oi;const hi={empty:!0,space:!0};let pi=ho,di=class{constructor(e){this.input=e,this.root=new ci,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,r,n,s=new li;s.name=e[1].slice(1),""===s.name&&this.unnamedAtrule(s,e),this.init(s,e[2]);let o=!1,i=!1,a=[],l=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?l.push("("===t?")":"]"):"{"===t&&l.length>0?l.push("}"):t===l[l.length-1]&&l.pop(),0===l.length){if(";"===t){s.source.end=this.getPosition(e[2]),s.source.end.offset++,this.semicolon=!0;break}if("{"===t){i=!0;break}if("}"===t){if(a.length>0){for(n=a.length-1,r=a[n];r&&"space"===r[0];)r=a[--n];r&&(s.source.end=this.getPosition(r[3]||r[2]),s.source.end.offset++)}this.end(e);break}a.push(e)}else a.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}s.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(s.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(s,"params",a),o&&(e=a[a.length-1],s.source.end=this.getPosition(e[3]||e[2]),s.source.end.offset++,this.spaces=s.raws.between,s.raws.between="")):(s.raws.afterName="",s.params=""),i&&(s.nodes=[],this.current=s)}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let r,n=0;for(let s=t-1;s>=0&&(r=e[s],"space"===r[0]||(n+=1,2!==n));s--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}colon(e){let t,r,n,s=0;for(let[o,i]of e.entries()){if(t=i,r=t[0],"("===r&&(s+=1),")"===r&&(s-=1),0===s&&":"===r){if(n){if("word"===n[0]&&"progid"===n[1])continue;return o}this.doubleColon(t)}n=t}return!1}comment(e){let t=new ai;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{let e=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}createTokenizer(){this.tokenizer=function(e,t={}){let r,n,s,o,i,a,l,c,u,h,p=e.css.valueOf(),d=t.ignoreErrors,f=p.length,m=0,g=[],y=[];function w(t){throw e.error("Unclosed "+t,m)}return{back:function(e){y.push(e)},endOfFile:function(){return 0===y.length&&m>=f},nextToken:function(e){if(y.length)return y.pop();if(m>=f)return;let t=!!e&&e.ignoreUnclosed;switch(r=p.charCodeAt(m),r){case Mo:case Ao:case Eo:case To:case Ro:n=m;do{n+=1,r=p.charCodeAt(n)}while(r===Ao||r===Mo||r===Eo||r===To||r===Ro);h=["space",p.slice(m,n)],m=n-1;break;case No:case Po:case Fo:case jo:case Bo:case Uo:case Do:{let e=String.fromCharCode(r);h=[e,e,m];break}case Lo:if(c=g.length?g.pop()[1]:"",u=p.charCodeAt(m+1),"url"===c&&u!==Io&&u!==ko&&u!==Ao&&u!==Mo&&u!==Eo&&u!==Ro&&u!==To){n=m;do{if(a=!1,n=p.indexOf(")",n+1),-1===n){if(d||t){n=m;break}w("bracket")}for(l=n;p.charCodeAt(l-1)===xo;)l-=1,a=!a}while(a);h=["brackets",p.slice(m,n+1),m,n],m=n}else n=p.indexOf(")",m+1),o=p.slice(m,n+1),-1===n||Go.test(o)?h=["(","(",m]:(h=["brackets",o,m,n],m=n);break;case Io:case ko:s=r===Io?"'":'"',n=m;do{if(a=!1,n=p.indexOf(s,n+1),-1===n){if(d||t){n=m+1;break}w("string")}for(l=n;p.charCodeAt(l-1)===xo;)l-=1,a=!a}while(a);h=["string",p.slice(m,n+1),m,n],m=n;break;case zo:Wo.lastIndex=m+1,Wo.test(p),n=0===Wo.lastIndex?p.length-1:Wo.lastIndex-2,h=["at-word",p.slice(m,n+1),m,n],m=n;break;case xo:for(n=m,i=!0;p.charCodeAt(n+1)===xo;)n+=1,i=!i;if(r=p.charCodeAt(n+1),i&&r!==Oo&&r!==Ao&&r!==Mo&&r!==Eo&&r!==To&&r!==Ro&&(n+=1,Zo.test(p.charAt(n)))){for(;Zo.test(p.charAt(n+1));)n+=1;p.charCodeAt(n+1)===Ao&&(n+=1)}h=["word",p.slice(m,n+1),m,n],m=n;break;default:r===Oo&&p.charCodeAt(m+1)===_o?(n=p.indexOf("*/",m+2)+1,0===n&&(d||t?n=p.length:w("comment")),h=["comment",p.slice(m,n+1),m,n],m=n):(Vo.lastIndex=m+1,Vo.test(p),n=0===Vo.lastIndex?p.length-1:Vo.lastIndex-2,h=["word",p.slice(m,n+1),m,n],g.push(h),m=n)}return m++,h},position:function(){return m}}}(this.input)}decl(e,t){let r=new ii;this.init(r,e[0][2]);let n,s=e[e.length-1];for(";"===s[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(s[3]||s[2]||function(e){for(let t=e.length-1;t>=0;t--){let r=e[t],n=r[3]||r[2];if(n)return n}}(e)),r.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;r.prop+=e.shift()[1]}for(r.raws.between="";e.length;){if(n=e.shift(),":"===n[0]){r.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),r.raws.between+=n[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let o,i=[];for(;e.length&&(o=e[0][0],"space"===o||"comment"===o);)i.push(e.shift());this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(n=e[t],"!important"===n[1].toLowerCase()){r.important=!0;let n=this.stringFrom(e,t);n=this.spacesFromEnd(e)+n," !important"!==n&&(r.raws.important=n);break}if("important"===n[1].toLowerCase()){let n=e.slice(0),s="";for(let e=t;e>0;e--){let t=n[e][0];if(0===s.trim().indexOf("!")&&"space"!==t)break;s=n.pop()[1]+s}0===s.trim().indexOf("!")&&(r.important=!0,r.raws.important=s,e=n)}if("space"!==n[0]&&"comment"!==n[0])break}e.some((e=>"space"!==e[0]&&"comment"!==e[0]))&&(r.raws.between+=i.map((e=>e[1])).join(""),i=[]),this.raw(r,"value",i.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new ui;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 e=this.current.nodes[this.current.nodes.length-1];e&&"rule"===e.type&&!e.raws.ownSemicolon&&(e.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="","comment"!==e.type&&(this.semicolon=!1)}other(e){let t=!1,r=null,n=!1,s=null,o=[],i=e[1].startsWith("--"),a=[],l=e;for(;l;){if(r=l[0],a.push(l),"("===r||"["===r)s||(s=l),o.push("("===r?")":"]");else if(i&&n&&"{"===r)s||(s=l),o.push("}");else if(0===o.length){if(";"===r){if(n)return void this.decl(a,i);break}if("{"===r)return void this.rule(a);if("}"===r){this.tokenizer.back(a.pop()),t=!0;break}":"===r&&(n=!0)}else r===o[o.length-1]&&(o.pop(),0===o.length&&(s=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(s),t&&n){if(!i)for(;a.length&&(l=a[a.length-1][0],"space"===l||"comment"===l);)this.tokenizer.back(a.pop());this.decl(a,i)}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)}this.endFile()}precheckMissedSemicolon(){}raw(e,t,r,n){let s,o,i,a,l=r.length,c="",u=!0;for(let e=0;e<l;e+=1)s=r[e],o=s[0],"space"!==o||e!==l-1||n?"comment"===o?(a=r[e-1]?r[e-1][0]:"empty",i=r[e+1]?r[e+1][0]:"empty",hi[a]||hi[i]||","===c.slice(-1)?u=!1:c+=s[1]):c+=s[1]:u=!1;if(!u){let n=r.reduce(((e,t)=>e+t[1]),"");e.raws[t]={raw:n,value:c}}e[t]=c}rule(e){e.pop();let t=new ui;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let t,r="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)r+=e.shift()[1];return r}spacesFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)r=e.pop()[1]+r;return r}stringFrom(e,t){let r="";for(let n=t;n<e.length;n++)r+=e[n][1];return e.splice(t,e.length-t),r}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}},fi=Us;function mi(e,t){let r=new fi(e,t),n=new di(r);try{n.parse()}catch(e){throw e}return n.root}var gi=mi;mi.default=mi,pi.registerParse(mi);let{isClean:yi,my:wi}=Kn,bi=Xs,vi=ns,Si=ho,Ci=yo,Ii=Co,ki=gi,xi=qo;const Oi={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},Mi={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},Ai={Once:!0,postcssPlugin:!0,prepare:!0},Ri=0;function Ei(e){return"object"==typeof e&&"function"==typeof e.then}function Ti(e){let t=!1,r=Oi[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,Ri,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,Ri,r+"Exit"]:[r,r+"Exit"]}function Ni(e){let t;return t="document"===e.type?["Document",Ri,"DocumentExit"]:"root"===e.type?["Root",Ri,"RootExit"]:Ti(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function Pi(e){return e[yi]=!1,e.nodes&&e.nodes.forEach((e=>Pi(e))),e}let Li={},Di=class e{constructor(t,r,n){let s;if(this.stringified=!1,this.processed=!1,"object"!=typeof r||null===r||"root"!==r.type&&"document"!==r.type)if(r instanceof e||r instanceof Ii)s=Pi(r.root),r.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{let e=ki;n.syntax&&(e=n.syntax.parse),n.parser&&(e=n.parser),e.parse&&(e=e.parse);try{s=e(r,n)}catch(e){this.processed=!0,this.error=e}s&&!s[wi]&&Si.rebuild(s)}else s=Pi(r);this.result=new Ii(t,s,n),this.helpers={...Li,postcss:Li,result:this.result},this.plugins=this.processor.plugins.map((e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e))}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?r.postcssVersion:(e.plugin=r.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e}prepareVisitors(){this.listeners={};let e=(e,t,r)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,r])};for(let t of this.plugins)if("object"==typeof t)for(let r in t){if(!Mi[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}
1. Try to update PostCSS (${this.processor.version} now).`);if(!Ai[r])if("object"==typeof t[r])for(let n in t[r])e(t,"*"===n?r:r+"-"+n.toLowerCase(),t[r][n]);else"function"==typeof t[r]&&e(t,r,t[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],r=this.runOnRoot(t);if(Ei(r))try{await r}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[yi];){e[yi]=!0;let t=[Ni(e)];for(;t.length>0;){let e=this.visitTick(t);if(Ei(e))try{await e}catch(e){let r=t[t.length-1].node;throw this.handleError(e,r)}}}if(this.listeners.OnceExit)for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map((e=>r(e,this.helpers)));await Promise.all(t)}else await r(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map((t=>e.Once(t,this.helpers)));return Ei(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=vi;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let r=new bi(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)if(Ei(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[yi];)e[yi]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[r,n]of e){let e;this.result.lastPlugin=r;try{e=n(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(Ei(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:r,visitors:n}=t;if("root"!==r.type&&"document"!==r.type&&!r.parent)return void e.pop();if(n.length>0&&t.visitorIndex<n.length){let[e,s]=n[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return s(r.toProxy(),this.helpers)}catch(e){throw this.handleError(e,r)}}if(0!==t.iterator){let n,s=t.iterator;for(;n=r.nodes[r.indexes[s]];)if(r.indexes[s]+=1,!n[yi])return n[yi]=!0,void e.push(Ni(n));t.iterator=0,delete r.indexes[s]}let s=t.events;for(;t.eventIndex<s.length;){let e=s[t.eventIndex];if(t.eventIndex+=1,e===Ri)return void(r.nodes&&r.nodes.length&&(r[yi]=!0,t.iterator=r.getIterator()));if(this.listeners[e])return void(t.visitors=this.listeners[e])}e.pop()}walkSync(e){e[yi]=!0;let t=Ti(e);for(let r of t)if(r===Ri)e.nodes&&e.each((e=>{e[yi]||this.walkSync(e)}));else{let t=this.listeners[r];if(t&&this.visitSync(t,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"}};Di.registerPostcss=e=>{Li=e};var Fi=Di;Di.default=Di,xi.registerLazyResult(Di),Ci.registerLazyResult(Di);let ji=Xs,Ui=ns,_i=gi;const Bi=Co;let zi=class{constructor(e,t,r){let n;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;let s=Ui;this.result=new Bi(this._processor,n,this._opts),this.result.css=t;let o=this;Object.defineProperty(this.result,"root",{get:()=>o.root});let i=new ji(s,n,this._opts,t);
vendor: 9,445 bytes, line 1
1if(i.isMap()){let[e,t]=i.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else i.clearAnnotation(),this.result.css=i.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=_i;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}};var Wi=zi;zi.default=zi;let Vi=Wi,Gi=Fi,Zi=yo,Yi=qo,Ji=class{constructor(e=[]){this.version="8.4.38",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let r of e)if(!0===r.postcss?r=r():r.postcss&&(r=r.postcss),"object"==typeof r&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if("object"==typeof r&&r.postcssPlugin)t.push(r);else if("function"==typeof r)t.push(r);else if("object"!=typeof r||!r.parse&&!r.stringify)throw new Error(r+" is not a PostCSS plugin");return t}process(e,t={}){return this.plugins.length||t.parser||t.stringifier||t.syntax?new Gi(this,e,t):new Vi(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};var $i=Ji;Ji.default=Ji,Yi.registerProcessor(Ji),Zi.registerProcessor(Ji);let Xi=fs,Hi=Is,Ki=Qs,Qi=$o,qi=Us,ea=qo,ta=oi;function ra(e,t){if(Array.isArray(e))return e.map((e=>ra(e)));let{inputs:r,...n}=e;if(r){t=[];for(let e of r){let r={...e,__proto__:qi.prototype};r.map&&(r.map={...r.map,__proto__:Hi.prototype}),t.push(r)}}if(n.nodes&&(n.nodes=e.nodes.map((e=>ra(e,t)))),n.source){let{inputId:e,...r}=n.source;n.source=r,null!=e&&(n.source.input=t[e])}if("root"===n.type)return new ea(n);if("decl"===n.type)return new Xi(n);if("rule"===n.type)return new ta(n);if("comment"===n.type)return new Ki(n);if("atrule"===n.type)return new Qi(n);throw new Error("Unknown node type: "+e.type)}var na=ra;ra.default=ra;let sa=Hn,oa=fs,ia=Fi,aa=ho,la=$i,ca=ns,ua=na,ha=yo,pa=bo,da=Qs,fa=$o,ma=Co,ga=Us,ya=gi,wa=ti,ba=oi,va=qo,Sa=hs;function Ca(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new la(e)}Ca.plugin=function(e,t){let r,n=!1;function s(...r){console&&console.warn&&!n&&(n=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+": éé¢ postcss.plugin 被å¼ç¨. è¿ç§»æå:\nhttps://www.w3ctech.com/topic/2226"));let s=t(...r);return s.postcssPlugin=e,s.postcssVersion=(new la).version,s}return Object.defineProperty(s,"postcss",{get:()=>(r||(r=s()),r)}),s.process=function(e,t,r){return Ca([s(r)]).process(e,t)},s},Ca.stringify=ca,Ca.parse=ya,Ca.fromJSON=ua,Ca.list=wa,Ca.comment=e=>new da(e),Ca.atRule=e=>new fa(e),Ca.decl=e=>new oa(e),Ca.rule=e=>new ba(e),Ca.root=e=>new va(e),Ca.document=e=>new ha(e),Ca.CssSyntaxError=sa,Ca.Declaration=oa,Ca.Container=aa,Ca.Processor=la,Ca.Document=ha,Ca.Comment=da,Ca.Warning=pa,Ca.AtRule=fa,Ca.Result=ma,Ca.Input=ga,Ca.Rule=ba,Ca.Root=va,Ca.Node=Sa,ia.registerPostcss(Ca);var Ia=Ca;Ca.default=Ca;const ka=Bn(Ia);ka.stringify,ka.fromJSON,ka.plugin,ka.parse,ka.list,ka.document,ka.comment,ka.atRule,ka.rule,ka.decl,ka.root,ka.CssSyntaxError,ka.Declaration,ka.Container,ka.Processor,ka.Document,ka.Comment,ka.Warning,ka.AtRule,ka.Result,ka.Input,ka.Rule,ka.Root,ka.Node;class xa{constructor(...e){Un(this,"parentElement",null),Un(this,"parentNode",null),Un(this,"ownerDocument"),Un(this,"firstChild",null),Un(this,"lastChild",null),Un(this,"previousSibling",null),Un(this,"nextSibling",null),Un(this,"ELEMENT_NODE",1),Un(this,"TEXT_NODE",3),Un(this,"nodeType"),Un(this,"nodeName"),Un(this,"RRNodeType")}get childNodes(){const e=[];let t=this.firstChild;for(;t;)e.push(t),t=t.nextSibling;return e}contains(e){if(!(e instanceof xa))return!1;if(e.ownerDocument!==this.ownerDocument)return!1;if(e===this)return!0;for(;e.parentNode;){if(e.parentNode===this)return!0;e=e.parentNode}return!1}appendChild(e){throw new Error("RRDomException: Failed to execute 'appendChild' on 'RRNode': This RRNode type does not support this method.")}insertBefore(e,t){throw new Error("RRDomException: Failed to execute 'insertBefore' on 'RRNode': This RRNode type does not support this method.")}removeChild(e){throw new Error("RRDomException: Failed to execute 'removeChild' on 'RRNode': This RRNode type does not support this method.")}toString(){return"RRNode"}}const Oa={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Ma={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},Aa={},Ra=()=>!!globalThis.Zone;function Ea(e){if(Aa[e])return Aa[e];const t=globalThis[e],r=t.prototype,n=e in Oa?Oa[e]:void 0,s=Boolean(n&&n.every((e=>{var t,n;return Boolean(null==(n=null==(t=Object.getOwnPropertyDescriptor(r,e))?void 0:t.get)?void 0:n.toString().includes("[native code]"))}))),o=e in Ma?Ma[e]:void 0,i=Boolean(o&&o.every((e=>{var t;return"function"==typeof r[e]&&(null==(t=r[e])?void 0:t.toString().includes("[native code]"))})));if(s&&i&&!Ra())return Aa[e]=t.prototype,t.prototype;try{const n=document.createElement("iframe");document.body.appendChild(n);const s=n.contentWindow;if(!s)return t.prototype;const o=s[e].prototype;return document.body.removeChild(n),o?Aa[e]=o:r}catch{return r}}const Ta={};function Na(e,t,r){var n;const s=`${e}.${String(r)}`;if(Ta[s])return Ta[s].call(t);const o=Ea(e),i=null==(n=Object.getOwnPropertyDescriptor(o,r))?void 0:n.get;return i?(Ta[s]=i,i.call(t)):t[r]}const Pa={};function La(e,t,r){const n=`${e}.${String(r)}`;if(Pa[n])return Pa[n].bind(t);const s=Ea(e)[r];return"function"!=typeof s?t[r]:(Pa[n]=s,s.bind(t))}function Da(){return Ea("MutationObserver").constructor}const Fa={childNodes:function(e){return Na("Node",e,"childNodes")},parentNode:function(e){return Na("Node",e,"parentNode")},parentElement:function(e){return Na("Node",e,"parentElement")},textContent:function(e){return Na("Node",e,"textContent")},contains:function(e,t){return La("Node",e,"contains")(t)},getRootNode:function(e){return La("Node",e,"getRootNode")()},host:function(e){return e&&"host"in e?Na("ShadowRoot",e,"host"):null},styleSheets:function(e){return e.styleSheets},shadowRoot:function(e){return e&&"shadowRoot"in e?Na("Element",e,"shadowRoot"):null},querySelector:function(e,t){return Na("Element",e,"querySelector")(t)},querySelectorAll:function(e,t){return Na("Element",e,"querySelectorAll")(t)},mutationObserver:Da};function ja(e,t,r=document){const n={capture:!0,passive:!0};return r.addEventListener(e,t,n),()=>r.removeEventListener(e,t,n)}const Ua="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.";let _a={map:{},getId:()=>(console.error(Ua),-1),getNode:()=>(console.error(Ua),null),removeNodeFromMap(){console.error(Ua)},has:()=>(console.error(Ua),!1),reset(){console.error(Ua)}};function Ba(e,t,r={}){let n=null,s=0;return function(...o){const i=Date.now();s||!1!==r.leading||(s=i);const a=t-(i-s),l=this;a<=0||a>t?(n&&(clearTimeout(n),n=null),s=i,e.apply(l,o)):n||!1===r.trailing||(n=setTimeout((()=>{s=!1===r.leading?0:Date.now(),n=null,e.apply(l,o)}),a))}}function za(e,t,r,n,s=window){const o=s.Object.getOwnPropertyDescriptor(e,t);return s.Object.defineProperty(e,t,n?r:{set(e){setTimeout((()=>{r.set.call(this,e)}),0),o&&o.set&&o.set.call(this,e)}}),()=>za(e,t,o||{},!0)}function Wa(e,t,r){try{if(!(t in e))return()=>{};const n=e[t],s=r(n);return"function"==typeof s&&(s.prototype=s.prototype||{},Object.defineProperties(s,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=s,()=>{e[t]=n}}catch{return()=>{}}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(_a=new Proxy(_a,{get:(e,t,r)=>("map"===t&&console.error(Ua),Reflect.get(e,t,r))}));let Va=Date.now;function Ga(e){var t,r,n,s;const o=e.document;return{left:o.scrollingElement?o.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:o.documentElement.scrollLeft||(null==o?void 0:o.body)&&(null==(t=Fa.parentElement(o.body))?void 0:t.scrollLeft)||(null==(r=null==o?void 0:o.body)?void 0:r.scrollLeft)||0,top:o.scrollingElement?o.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:(null==o?void 0:o.documentElement.scrollTop)||(null==o?void 0:o.body)&&(null==(n=Fa.parentElement(o.body))?void 0:n.scrollTop)||(null==(s=null==o?void 0:o.body)?void 0:s.scrollTop)||0}}function Za(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function Ya(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Ja(e){return e?e.nodeType===e.ELEMENT_NODE?e:Fa.parentElement(e):null}function $a(e,t,r,n){if(!e)return!1;const s=Ja(e);if(!s)return!1;try{if("string"==typeof t){if(s.classList.contains(t))return!0;
vendor: 4,190 bytes, line 1
1if(n&&null!==s.closest("."+t))return!0}else if(J(s,t,n))return!0}catch(e){}if(r){if(s.matches(r))return!0;if(n&&null!==s.closest(r))return!0}return!1}function Xa(e,t,r){return!("TITLE"!==e.tagName||!r.headTitleMutations)||t.getId(e)===F}function Ha(e,t){if(w(e))return!1;const r=t.getId(e);if(!t.has(r))return!0;const n=Fa.parentNode(e);return(!n||n.nodeType!==e.DOCUMENT_NODE)&&(!n||Ha(n,t))}function Ka(e){return Boolean(e.changedTouches)}function Qa(e,t){return Boolean("IFRAME"===e.nodeName&&t.getMeta(e))}function qa(e,t){return Boolean("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function el(e){return!!e&&(e instanceof xa&&"shadowRoot"in e?Boolean(e.shadowRoot):Boolean(Fa.shadowRoot(e)))}/[1-9][0-9]{12}/.test(Date.now().toString())||(Va=()=>(new Date).getTime());class tl{constructor(){n(this,"id",1),n(this,"styleIDMap",new WeakMap),n(this,"idStyleMap",new Map)}getId(e){return this.styleIDMap.get(e)??-1}has(e){return this.styleIDMap.has(e)}add(e,t){if(this.has(e))return this.getId(e);let r;return r=void 0===t?this.id++:t,this.styleIDMap.set(e,r),this.idStyleMap.set(r,e),r}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function rl(e){var t;let r=null;return"getRootNode"in e&&(null==(t=Fa.getRootNode(e))?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&Fa.host(Fa.getRootNode(e))&&(r=Fa.host(Fa.getRootNode(e))),r}function nl(e){const t=e.ownerDocument;if(!t)return!1;const r=function(e){let t,r=e;for(;t=rl(r);)r=t;return r}(e);return Fa.contains(t,r)}function sl(e){const t=e.ownerDocument;return!!t&&(Fa.contains(t,e)||nl(e))}Symbol.toStringTag;var ol=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(ol||{}),il=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(il||{}),al=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(al||{}),ll=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(ll||{}),cl=(e=>(e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e))(cl||{}),ul=(e=>(e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e))(ul||{}),hl=(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))(hl||{});function pl(e){return"__ln"in e}class dl{constructor(){n(this,"length",0),n(this,"head",null),n(this,"tail",null)}get(e){if(e>=this.length)throw new Error("Position outside of list range");let t=this.head;for(let r=0;r<e;r++)t=(null==t?void 0:t.next)||null;return t}addNode(e){const t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&pl(e.previousSibling)){const r=e.previousSibling.__ln.next;t.next=r,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,r&&(r.previous=t)}else if(e.nextSibling&&pl(e.nextSibling)&&e.nextSibling.__ln.previous){const r=e.nextSibling.__ln.previous;t.previous=r,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,r&&(r.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}removeNode(e){const t=e.__ln;
vendor: 33,306 bytes, line 1
1this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}}const fl=(e,t)=>`${e}@${t}`;class ml{constructor(){n(this,"frozen",!1),n(this,"locked",!1),n(this,"texts",[]),n(this,"attributes",[]),n(this,"attributeMap",new WeakMap),n(this,"removes",[]),n(this,"mapRemoves",[]),n(this,"movedMap",{}),n(this,"addedSet",new Set),n(this,"movedSet",new Set),n(this,"droppedSet",new Set),n(this,"removesSubTreeCache",new Set),n(this,"mutationCb"),n(this,"blockClass"),n(this,"blockSelector"),n(this,"maskTextClass"),n(this,"maskTextSelector"),n(this,"inlineStylesheet"),n(this,"maskInputOptions"),n(this,"maskTextFn"),n(this,"maskInputFn"),n(this,"keepIframeSrcFn"),n(this,"recordCanvas"),n(this,"inlineImages"),n(this,"slimDOMOptions"),n(this,"dataURLOptions"),n(this,"doc"),n(this,"mirror"),n(this,"iframeManager"),n(this,"stylesheetManager"),n(this,"shadowDomManager"),n(this,"canvasManager"),n(this,"processedNodeManager"),n(this,"unattachedDoc"),n(this,"processMutations",(e=>{e.forEach(this.processMutation),this.emit()})),n(this,"emit",(()=>{if(this.frozen||this.locked)return;const e=[],t=new Set,r=new dl,n=e=>{let t=e,r=F;for(;r===F;)t=t&&t.nextSibling,r=t&&this.mirror.getId(t);return r},s=s=>{const o=Fa.parentNode(s);if(!o||!sl(s))return;let i=!1;if(s.nodeType===Node.TEXT_NODE){const e=o.tagName;if("TEXTAREA"===e)return;"STYLE"===e&&this.addedSet.has(o)&&(i=!0)}const a=w(o)?this.mirror.getId(rl(s)):this.mirror.getId(o),l=n(s);if(-1===a||-1===l)return r.addNode(s);const c=K(s,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskTextClass:this.maskTextClass,maskTextSelector:this.maskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{Qa(e,this.mirror)&&this.iframeManager.addIframe(e),qa(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),el(s)&&this.shadowDomManager.addShadowRoot(Fa.shadowRoot(s),this.doc)},onIframeLoad:(e,t)=>{this.iframeManager.attachIframe(e,t),this.shadowDomManager.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)},cssCaptured:i});c&&(e.push({parentId:a,nextId:l,node:c}),t.add(c.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const e of this.movedSet)yl(this.removesSubTreeCache,e,this.mirror)&&!this.movedSet.has(Fa.parentNode(e))||s(e);for(const e of this.addedSet)wl(this.droppedSet,e)||yl(this.removesSubTreeCache,e,this.mirror)?wl(this.movedSet,e)?s(e):this.droppedSet.add(e):s(e);let o=null;for(;r.length;){let e=null;if(o){const t=this.mirror.getId(Fa.parentNode(o.value)),r=n(o.value);-1!==t&&-1!==r&&(e=o)}if(!e){let t=r.tail;for(;t;){const r=t;if(t=t.previous,r){const t=this.mirror.getId(Fa.parentNode(r.value));if(-1===n(r.value))continue;if(-1!==t){e=r;break}{const t=r.value,n=Fa.parentNode(t);if(n&&n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const t=Fa.host(n);if(-1!==this.mirror.getId(t)){e=r;break}}}}}}if(!e){for(;r.head;)r.removeNode(r.head.value);break}o=e.previous,r.removeNode(e.value),s(e.value)}const i={texts:this.texts.map((e=>{const t=e.node,r=Fa.parentNode(t);return r&&"TEXTAREA"===r.tagName&&this.genTextAreaValueMutation(r),{id:this.mirror.getId(t),value:e.value}})).filter((e=>!t.has(e.id))).filter((e=>this.mirror.has(e.id))),attributes:this.attributes.map((e=>{const{attributes:t}=e;if("string"==typeof t.style){const r=JSON.stringify(e.styleDiff),n=JSON.stringify(e._unchangedStyles);r.length<t.style.length&&(r+n).split("var(").length===t.style.split("var(").length&&(t.style=e.styleDiff)}return{id:this.mirror.getId(e.node),attributes:t}})).filter((e=>!t.has(e.id))).filter((e=>this.mirror.has(e.id))),removes:this.removes,adds:e};(i.texts.length||i.attributes.length||i.removes.length||i.adds.length)&&(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.removesSubTreeCache=new Set,this.movedMap={},this.mutationCb(i))})),n(this,"genTextAreaValueMutation",(e=>{let t=this.attributeMap.get(e);t||(t={node:e,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(t),this.attributeMap.set(e,t)),t.attributes.value=Array.from(Fa.childNodes(e),(e=>Fa.textContent(e)||"")).join("")})),n(this,"processMutation",(e=>{if(!Xa(e.target,this.mirror,this.slimDOMOptions))switch(e.type){case"characterData":{const t=Fa.textContent(e.target);$a(e.target,this.blockClass,this.blockSelector,!1)||t===e.oldValue||this.texts.push({value:$(e.target,this.maskTextClass,this.maskTextSelector,!0)&&t?this.maskTextFn?this.maskTextFn(t,Ja(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{const t=e.target;let r=e.attributeName,n=e.target.getAttribute(r);if("value"===r){const e=O(t);n=I({element:t,maskInputOptions:this.maskInputOptions,tagName:t.tagName,type:e,value:n,maskInputFn:this.maskInputFn})}if($a(e.target,this.blockClass,this.blockSelector,!1)||n===e.oldValue)return;let s=this.attributeMap.get(e.target);if("IFRAME"===t.tagName&&"src"===r&&!this.keepIframeSrcFn(n)){if(t.contentDocument)return;r="rr_src"}if(s||(s={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(s),this.attributeMap.set(e.target,s)),"type"===r&&"INPUT"===t.tagName&&"password"===(e.oldValue||"").toLowerCase()&&t.setAttribute("data-rr-is-password","true"),!Y(t.tagName,r))if(s.attributes[r]=Z(this.doc,k(t.tagName),k(r),n),"style"===r){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch(e){this.unattachedDoc=this.doc}const r=this.unattachedDoc.createElement("span");e.oldValue&&r.setAttribute("style",e.oldValue);for(const e of Array.from(t.style)){const n=t.style.getPropertyValue(e),o=t.style.getPropertyPriority(e);n!==r.style.getPropertyValue(e)||o!==r.style.getPropertyPriority(e)?s.styleDiff[e]=""===o?n:[n,o]:s._unchangedStyles[e]=[n,o]}for(const e of Array.from(r.style))""===t.style.getPropertyValue(e)&&(s.styleDiff[e]=!1)}else"open"===r&&"DIALOG"===t.tagName&&(t.matches("dialog:modal")?s.attributes.rr_open_mode="modal":s.attributes.rr_open_mode="non-modal");break}case"childList":if($a(e.target,this.blockClass,this.blockSelector,!0))return;if("TEXTAREA"===e.target.tagName)return void this.genTextAreaValueMutation(e.target);e.addedNodes.forEach((t=>this.genAdds(t,e.target))),e.removedNodes.forEach((t=>{const r=this.mirror.getId(t),n=w(e.target)?this.mirror.getId(Fa.host(e.target)):this.mirror.getId(e.target);$a(e.target,this.blockClass,this.blockSelector,!1)||Xa(t,this.mirror,this.slimDOMOptions)||!function(e,t){return-1!==t.getId(e)}(t,this.mirror)||(this.addedSet.has(t)?(gl(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===r||Ha(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[fl(r,n)]?gl(this.movedSet,t):(this.removes.push({parentId:n,id:r,isShadow:!(!w(e.target)||!b(e.target))||void 0}),function(e,t){const r=[e];for(;r.length;){const e=r.pop();t.has(e)||(t.add(e),Fa.childNodes(e).forEach((e=>r.push(e))))}}(t,this.removesSubTreeCache))),this.mapRemoves.push(t))}))}})),n(this,"genAdds",((e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!this.addedSet.has(e)&&!this.movedSet.has(e)){if(this.mirror.hasNode(e)){if(Xa(e,this.mirror,this.slimDOMOptions))return;this.movedSet.add(e);let r=null;t&&this.mirror.hasNode(t)&&(r=this.mirror.getId(t)),r&&-1!==r&&(this.movedMap[fl(this.mirror.getId(e),r)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);$a(e,this.blockClass,this.blockSelector,!1)||(Fa.childNodes(e).forEach((e=>this.genAdds(e))),el(e)&&Fa.childNodes(Fa.shadowRoot(e)).forEach((t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)})))}}))}init(e){["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach((t=>{this[t]=e[t]}))}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function gl(e,t){e.delete(t),Fa.childNodes(t).forEach((t=>gl(e,t)))}function yl(e,t,r){return 0!==e.size&&function(e,t,r){const n=Fa.parentNode(t);return!!n&&e.has(n)}(e,t)}function wl(e,t){return 0!==e.size&&bl(e,t)}function bl(e,t){const r=Fa.parentNode(t);return!!r&&(!!e.has(r)||bl(e,r))}let vl;const Sl=e=>vl?(...t)=>{try{return e(...t)}catch(e){if(vl&&!0===vl(e))return;throw e}}:e,Cl=[];function Il(e){try{if("composedPath"in e){const t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function kl(e,t){const r=new ml;Cl.push(r),r.init(e);const n=new(Da())(Sl(r.processMutations.bind(r)));return n.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),n}function xl({scrollCb:e,doc:t,mirror:r,blockClass:n,blockSelector:s,sampling:o}){return ja("scroll",Sl(Ba(Sl((o=>{const i=Il(o);if(!i||$a(i,n,s,!0))return;const a=r.getId(i);if(i===t&&t.defaultView){const r=Ga(t.defaultView);e({id:a,x:r.left,y:r.top})}else e({id:a,x:i.scrollLeft,y:i.scrollTop})})),o.scroll||100)),t)}const Ol=["INPUT","TEXTAREA","SELECT"],Ml=new WeakMap;function Al(e){return function(e,t){if(Nl("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||Nl("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||Nl("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||Nl("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule){const r=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(r)}else if(e.parentStyleSheet){const r=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(r)}return t}(e,[])}function Rl(e,t,r){let n,s;return e?(e.ownerNode?n=t.getId(e.ownerNode):s=r.getId(e),{styleId:s,id:n}):{}}function El({mirror:e,stylesheetManager:t},r){var n,s,o;let i=null;i="#document"===r.nodeName?e.getId(r):e.getId(Fa.host(r));const a="#document"===r.nodeName?null==(n=r.defaultView)?void 0:n.Document:null==(o=null==(s=r.ownerDocument)?void 0:s.defaultView)?void 0:o.ShadowRoot,l=(null==a?void 0:a.prototype)?Object.getOwnPropertyDescriptor(null==a?void 0:a.prototype,"adoptedStyleSheets"):void 0;return null!==i&&-1!==i&&a&&l?(Object.defineProperty(r,"adoptedStyleSheets",{configurable:l.configurable,enumerable:l.enumerable,get(){var e;return null==(e=l.get)?void 0:e.call(this)},set(e){var r;const n=null==(r=l.set)?void 0:r.call(this,e);if(null!==i&&-1!==i)try{t.adoptStyleSheets(e,i)}catch(e){}return n}}),Sl((()=>{Object.defineProperty(r,"adoptedStyleSheets",{configurable:l.configurable,enumerable:l.enumerable,get:l.get,set:l.set})}))):()=>{}}function Tl(e,t={}){const r=e.doc.defaultView;if(!r)return()=>{};let n;!function(e,t){const{mutationCb:r,mousemoveCb:n,mouseInteractionCb:s,scrollCb:o,viewportResizeCb:i,inputCb:a,mediaInteractionCb:l,styleSheetRuleCb:c,styleDeclarationCb:u,canvasMutationCb:h,fontCb:p,selectionCb:d,customElementCb:f}=e;e.mutationCb=(...e)=>{t.mutation&&t.mutation(...e),r(...e)},e.mousemoveCb=(...e)=>{t.mousemove&&t.mousemove(...e),n(...e)},e.mouseInteractionCb=(...e)=>{t.mouseInteraction&&t.mouseInteraction(...e),s(...e)},e.scrollCb=(...e)=>{t.scroll&&t.scroll(...e),o(...e)},e.viewportResizeCb=(...e)=>{t.viewportResize&&t.viewportResize(...e),i(...e)},e.inputCb=(...e)=>{t.input&&t.input(...e),a(...e)},e.mediaInteractionCb=(...e)=>{t.mediaInteaction&&t.mediaInteaction(...e),l(...e)},e.styleSheetRuleCb=(...e)=>{t.styleSheetRule&&t.styleSheetRule(...e),c(...e)},e.styleDeclarationCb=(...e)=>{t.styleDeclaration&&t.styleDeclaration(...e),u(...e)},e.canvasMutationCb=(...e)=>{t.canvasMutation&&t.canvasMutation(...e),h(...e)},e.fontCb=(...e)=>{t.font&&t.font(...e),p(...e)},e.selectionCb=(...e)=>{t.selection&&t.selection(...e),d(...e)},e.customElementCb=(...e)=>{t.customElement&&t.customElement(...e),f(...e)}}(e,t),e.recordDOM&&(n=kl(e,e.doc));const s=function({mousemoveCb:e,sampling:t,doc:r,mirror:n}){if(!1===t.mousemove)return()=>{};const s="number"==typeof t.mousemove?t.mousemove:50,o="number"==typeof t.mousemoveCallback?t.mousemoveCallback:500;let i,a=[];const l=Ba(Sl((t=>{const r=Date.now()-i;e(a.map((e=>(e.timeOffset-=r,e))),t),a=[],i=null})),o),c=Sl(Ba(Sl((e=>{const t=Il(e),{clientX:r,clientY:s}=Ka(e)?e.changedTouches[0]:e;i||(i=Va()),a.push({x:r,y:s,id:n.getId(t),timeOffset:Va()-i}),l("undefined"!=typeof DragEvent&&e instanceof DragEvent?il.Drag:e instanceof MouseEvent?il.MouseMove:il.TouchMove)})),s,{trailing:!1})),u=[ja("mousemove",c,r),ja("touchmove",c,r),ja("drag",c,r)];return Sl((()=>{u.forEach((e=>e()))}))}(e),o=function({mouseInteractionCb:e,doc:t,mirror:r,blockClass:n,blockSelector:s,sampling:o}){if(!1===o.mouseInteraction)return()=>{};const i=!0===o.mouseInteraction||void 0===o.mouseInteraction?{}:o.mouseInteraction,a=[];let l=null;return Object.keys(al).filter((e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==i[e])).forEach((o=>{let i=k(o);const c=(t=>o=>{const i=Il(o);if($a(i,n,s,!0))return;let a=null,c=t;if("pointerType"in o){switch(o.pointerType){case"mouse":a=ll.Mouse;break;case"touch":a=ll.Touch;break;case"pen":a=ll.Pen}a===ll.Touch?al[t]===al.MouseDown?c="TouchStart":al[t]===al.MouseUp&&(c="TouchEnd"):ll.Pen}else Ka(o)&&(a=ll.Touch);null!==a?(l=a,(c.startsWith("Touch")&&a===ll.Touch||c.startsWith("Mouse")&&a===ll.Mouse)&&(a=null)):al[t]===al.Click&&(a=l,l=null);const u=Ka(o)?o.changedTouches[0]:o;if(!u)return;const h=r.getId(i),{clientX:p,clientY:d}=u;Sl(e)({type:al[c],id:h,x:p,y:d,...null!==a&&{pointerType:a}})})(o);if(window.PointerEvent)switch(al[o]){case al.MouseDown:case al.MouseUp:i=i.replace("mouse","pointer");break;case al.TouchStart:case al.TouchEnd:return}a.push(ja(i,c,t))})),Sl((()=>{a.forEach((e=>e()))}))}(e),i=xl(e),a=function({viewportResizeCb:e},{win:t}){let r=-1,n=-1;return ja("resize",Sl(Ba(Sl((()=>{const t=Za(),s=Ya();r===t&&n===s||(e({width:Number(s),height:Number(t)}),r=t,n=s)})),200)),t)}(e,{win:r}),l=function({inputCb:e,doc:t,mirror:r,blockClass:n,blockSelector:s,ignoreClass:o,ignoreSelector:i,maskInputOptions:a,maskInputFn:l,sampling:c,userTriggeredOnInput:u}){function h(e){let r=Il(e);const c=e.isTrusted,h=r&&r.tagName;if(r&&"OPTION"===h&&(r=Fa.parentElement(r)),!r||!h||Ol.indexOf(h)<0||$a(r,n,s,!0))return;if(r.classList.contains(o)||i&&r.matches(i))return;let d=r.value,f=!1;const m=O(r)||"";"radio"===m||"checkbox"===m?f=r.checked:(a[h.toLowerCase()]||a[m])&&(d=I({element:r,maskInputOptions:a,tagName:h,type:m,value:d,maskInputFn:l})),p(r,u?{text:d,isChecked:f,userTriggered:c}:{text:d,isChecked:f});const g=r.name;"radio"===m&&g&&f&&t.querySelectorAll(`input[type="radio"][name="${g}"]`).forEach((e=>{if(e!==r){const t=e.value;p(e,u?{text:t,isChecked:!f,userTriggered:!1}:{text:t,isChecked:!f})}}))}function p(t,n){const s=Ml.get(t);if(!s||s.text!==n.text||s.isChecked!==n.isChecked){Ml.set(t,n);const s=r.getId(t);Sl(e)({...n,id:s})}}const d=("last"===c.input?["change"]:["input","change"]).map((e=>ja(e,Sl(h),t))),f=t.defaultView;if(!f)return()=>{d.forEach((e=>e()))};const m=f.Object.getOwnPropertyDescriptor(f.HTMLInputElement.prototype,"value"),g=[[f.HTMLInputElement.prototype,"value"],[f.HTMLInputElement.prototype,"checked"],[f.HTMLSelectElement.prototype,"value"],[f.HTMLTextAreaElement.prototype,"value"],[f.HTMLSelectElement.prototype,"selectedIndex"],[f.HTMLOptionElement.prototype,"selected"]];return m&&m.set&&d.push(...g.map((e=>za(e[0],e[1],{set(){Sl(h)({target:this,isTrusted:!1})}},!1,f)))),Sl((()=>{d.forEach((e=>e()))}))}(e),c=function({mediaInteractionCb:e,blockClass:t,blockSelector:r,mirror:n,sampling:s,doc:o}){const i=Sl((o=>Ba(Sl((s=>{const i=Il(s);if(!i||$a(i,t,r,!0))return;const{currentTime:a,volume:l,muted:c,playbackRate:u,loop:h}=i;e({type:o,id:n.getId(i),currentTime:a,volume:l,muted:c,playbackRate:u,loop:h})})),s.media||500))),a=[ja("play",i(ul.Play),o),ja("pause",i(ul.Pause),o),ja("seeked",i(ul.Seeked),o),ja("volumechange",i(ul.VolumeChange),o),ja("ratechange",i(ul.RateChange),o)];return Sl((()=>{a.forEach((e=>e()))}))}(e);let u=()=>{},h=()=>{},p=()=>{},d=()=>{};e.recordDOM&&(u=function({styleSheetRuleCb:e,mirror:t,stylesheetManager:r},{win:n}){if(!n.CSSStyleSheet||!n.CSSStyleSheet.prototype)return()=>{};const s=n.CSSStyleSheet.prototype.insertRule;n.CSSStyleSheet.prototype.insertRule=new Proxy(s,{apply:Sl(((n,s,o)=>{const[i,a]=o,{id:l,styleId:c}=Rl(s,t,r.styleMirror);return(l&&-1!==l||c&&-1!==c)&&e({id:l,styleId:c,adds:[{rule:i,index:a}]}),n.apply(s,o)}))}),n.CSSStyleSheet.prototype.addRule=function(e,t,r=this.cssRules.length){const s=`${e} { ${t} }`;return n.CSSStyleSheet.prototype.insertRule.apply(this,[s,r])};const o=n.CSSStyleSheet.prototype.deleteRule;let i,a;n.CSSStyleSheet.prototype.deleteRule=new Proxy(o,{apply:Sl(((n,s,o)=>{const[i]=o,{id:a,styleId:l}=Rl(s,t,r.styleMirror);return(a&&-1!==a||l&&-1!==l)&&e({id:a,styleId:l,removes:[{index:i}]}),n.apply(s,o)}))}),n.CSSStyleSheet.prototype.removeRule=function(e){return n.CSSStyleSheet.prototype.deleteRule.apply(this,[e])},n.CSSStyleSheet.prototype.replace&&(i=n.CSSStyleSheet.prototype.replace,n.CSSStyleSheet.prototype.replace=new Proxy(i,{apply:Sl(((n,s,o)=>{const[i]=o,{id:a,styleId:l}=Rl(s,t,r.styleMirror);return(a&&-1!==a||l&&-1!==l)&&e({id:a,styleId:l,replace:i}),n.apply(s,o)}))})),n.CSSStyleSheet.prototype.replaceSync&&(a=n.CSSStyleSheet.prototype.replaceSync,n.CSSStyleSheet.prototype.replaceSync=new Proxy(a,{apply:Sl(((n,s,o)=>{const[i]=o,{id:a,styleId:l}=Rl(s,t,r.styleMirror);return(a&&-1!==a||l&&-1!==l)&&e({id:a,styleId:l,replaceSync:i}),n.apply(s,o)}))}));const l={};Pl("CSSGroupingRule")?l.CSSGroupingRule=n.CSSGroupingRule:(Pl("CSSMediaRule")&&(l.CSSMediaRule=n.CSSMediaRule),Pl("CSSConditionRule")&&(l.CSSConditionRule=n.CSSConditionRule),Pl("CSSSupportsRule")&&(l.CSSSupportsRule=n.CSSSupportsRule));const c={};return Object.entries(l).forEach((([n,s])=>{c[n]={insertRule:s.prototype.insertRule,deleteRule:s.prototype.deleteRule},s.prototype.insertRule=new Proxy(c[n].insertRule,{apply:Sl(((n,s,o)=>{const[i,a]=o,{id:l,styleId:c}=Rl(s.parentStyleSheet,t,r.styleMirror);return(l&&-1!==l||c&&-1!==c)&&e({id:l,styleId:c,adds:[{rule:i,index:[...Al(s),a||0]}]}),n.apply(s,o)}))}),s.prototype.deleteRule=new Proxy(c[n].deleteRule,{apply:Sl(((n,s,o)=>{const[i]=o,{id:a,styleId:l}=Rl(s.parentStyleSheet,t,r.styleMirror);return(a&&-1!==a||l&&-1!==l)&&e({id:a,styleId:l,removes:[{index:[...Al(s),i]}]}),n.apply(s,o)}))})})),Sl((()=>{n.CSSStyleSheet.prototype.insertRule=s,n.CSSStyleSheet.prototype.deleteRule=o,i&&(n.CSSStyleSheet.prototype.replace=i),a&&(n.CSSStyleSheet.prototype.replaceSync=a),Object.entries(l).forEach((([e,t])=>{t.prototype.insertRule=c[e].insertRule,t.prototype.deleteRule=c[e].deleteRule}))}))}(e,{win:r}),h=El(e,e.doc),p=function({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:r,stylesheetManager:n},{win:s}){const o=s.CSSStyleDeclaration.prototype.setProperty;s.CSSStyleDeclaration.prototype.setProperty=new Proxy(o,{apply:Sl(((s,i,a)=>{var l;const[c,u,h]=a;if(r.has(c))return o.apply(i,[c,u,h]);const{id:p,styleId:d}=Rl(null==(l=i.parentRule)?void 0:l.parentStyleSheet,t,n.styleMirror);return(p&&-1!==p||d&&-1!==d)&&e({id:p,styleId:d,set:{property:c,value:u,priority:h},index:Al(i.parentRule)}),s.apply(i,a)}))});const i=s.CSSStyleDeclaration.prototype.removeProperty;return s.CSSStyleDeclaration.prototype.removeProperty=new Proxy(i,{apply:Sl(((s,o,a)=>{var l;const[c]=a;if(r.has(c))return i.apply(o,[c]);const{id:u,styleId:h}=Rl(null==(l=o.parentRule)?void 0:l.parentStyleSheet,t,n.styleMirror);return(u&&-1!==u||h&&-1!==h)&&e({id:u,styleId:h,remove:{property:c},index:Al(o.parentRule)}),s.apply(o,a)}))}),Sl((()=>{s.CSSStyleDeclaration.prototype.setProperty=o,s.CSSStyleDeclaration.prototype.removeProperty=i}))}(e,{win:r}),e.collectFonts&&(d=function({fontCb:e,doc:t}){const r=t.defaultView;if(!r)return()=>{};const n=[],s=new WeakMap,o=r.FontFace;r.FontFace=function(e,t,r){const n=new o(e,t,r);return s.set(n,{family:e,buffer:"string"!=typeof t,descriptors:r,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),n};const i=Wa(t.fonts,"add",(function(t){return function(r){return setTimeout(Sl((()=>{const t=s.get(r);t&&(e(t),s.delete(r))})),0),t.apply(this,[r])}}));return n.push((()=>{r.FontFace=o})),n.push(i),Sl((()=>{n.forEach((e=>e()))}))}(e)));const f=function(e){const{doc:t,mirror:r,blockClass:n,blockSelector:s,selectionCb:o}=e;let i=!0;const a=Sl((()=>{const e=t.getSelection();if(!e||i&&(null==e?void 0:e.isCollapsed))return;i=e.isCollapsed||!1;const a=[],l=e.rangeCount||0;for(let t=0;t<l;t++){const o=e.getRangeAt(t),{startContainer:i,startOffset:l,endContainer:c,endOffset:u}=o;$a(i,n,s,!0)||$a(c,n,s,!0)||a.push({start:r.getId(i),startOffset:l,end:r.getId(c),endOffset:u})}o({ranges:a})}));return a(),ja("selectionchange",a)}(e),m=function({doc:e,customElementCb:t}){const r=e.defaultView;return r&&r.customElements?Wa(r.customElements,"define",(function(e){return function(r,n,s){try{t({define:{name:r}})}catch(e){console.warn(`Custom element callback failed for ${r}`)}return e.apply(this,[r,n,s])}})):()=>{}}(e),g=[];for(const t of e.plugins)g.push(t.observer(t.callback,r,t.options));return Sl((()=>{Cl.forEach((e=>e.reset())),null==n||n.disconnect(),s(),o(),i(),a(),l(),c(),u(),h(),p(),d(),f(),m(),g.forEach((e=>e()))}))}function Nl(e){return void 0!==window[e]}function Pl(e){return Boolean(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class Ll{constructor(e){n(this,"iframeIdToRemoteIdMap",new WeakMap),n(this,"iframeRemoteIdToIdMap",new WeakMap),this.generateIdFn=e}getId(e,t,r,n){const s=r||this.getIdToRemoteIdMap(e),o=n||this.getRemoteIdToIdMap(e);let i=s.get(t);return i||(i=this.generateIdFn(),s.set(t,i),o.set(i,t)),i}getIds(e,t){const r=this.getIdToRemoteIdMap(e),n=this.getRemoteIdToIdMap(e);return t.map((t=>this.getId(e,t,r,n)))}getRemoteId(e,t,r){const n=r||this.getRemoteIdToIdMap(e);if("number"!=typeof t)return t;return n.get(t)||-1}getRemoteIds(e,t){const r=this.getRemoteIdToIdMap(e);return t.map((t=>this.getRemoteId(e,t,r)))}reset(e){if(!e)return this.iframeIdToRemoteIdMap=new WeakMap,void(this.iframeRemoteIdToIdMap=new WeakMap);this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}}class Dl{constructor(e){n(this,"iframes",new WeakMap),n(this,"crossOriginIframeMap",new WeakMap),n(this,"crossOriginIframeMirror",new Ll(j)),n(this,"crossOriginIframeStyleMirror"),n(this,"crossOriginIframeRootIdMap",new WeakMap),n(this,"mirror"),n(this,"mutationCb"),n(this,"wrappedEmit"),n(this,"loadListener"),n(this,"stylesheetManager"),n(this,"recordCrossOriginIframes"),this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new Ll(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){var r,n;this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&(null==(r=e.contentWindow)||r.addEventListener("message",this.handleMessage.bind(this))),null==(n=this.loadListener)||n.call(this,e),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument))}handleMessage(e){const t=e;if("rrweb"!==t.data.type||t.origin!==t.data.origin)return;if(!e.source)return;const r=this.crossOriginIframeMap.get(e.source);if(!r)return;const n=this.transformCrossOriginEvent(r,t.data.event);n&&this.wrappedEmit(n,t.data.isCheckout)}transformCrossOriginEvent(e,t){var r;switch(t.type){case ol.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);const r=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,r),this.patchRootIdOnNode(t.data.node,r),{timestamp:t.timestamp,type:ol.IncrementalSnapshot,data:{source:il.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case ol.Meta:case ol.Load:case ol.DomContentLoaded:return!1;case ol.Plugin:return t;case ol.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case ol.IncrementalSnapshot:switch(t.data.source){case il.Mutation:return t.data.adds.forEach((t=>{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);const r=this.crossOriginIframeRootIdMap.get(e);r&&this.patchRootIdOnNode(t.node,r)})),t.data.removes.forEach((t=>{this.replaceIds(t,e,["parentId","id"])})),t.data.attributes.forEach((t=>{this.replaceIds(t,e,["id"])})),t.data.texts.forEach((t=>{this.replaceIds(t,e,["id"])})),t;case il.Drag:case il.TouchMove:case il.MouseMove:return t.data.positions.forEach((t=>{this.replaceIds(t,e,["id"])})),t;case il.ViewportResize:return!1;case il.MediaInteraction:case il.MouseInteraction:case il.Scroll:case il.CanvasMutation:case il.Input:return this.replaceIds(t.data,e,["id"]),t;case il.StyleSheetRule:case il.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case il.Font:return t;case il.Selection:return t.data.ranges.forEach((t=>{this.replaceIds(t,e,["start","end"])})),t;case il.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),null==(r=t.data.styles)||r.forEach((t=>{this.replaceStyleIds(t,e,["styleId"])})),t}}return!1}replace(e,t,r,n){for(const s of n)(Array.isArray(t[s])||"number"==typeof t[s])&&(Array.isArray(t[s])?t[s]=e.getIds(r,t[s]):t[s]=e.getId(r,t[s]));return t}replaceIds(e,t,r){return this.replace(this.crossOriginIframeMirror,e,t,r)}replaceStyleIds(e,t,r){return this.replace(this.crossOriginIframeStyleMirror,e,t,r)}replaceIdOnNode(e,t){this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach((e=>{this.replaceIdOnNode(e,t)}))}patchRootIdOnNode(e,t){e.type===hl.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach((e=>{this.patchRootIdOnNode(e,t)}))}}class Fl{constructor(e){n(this,"shadowDoms",new WeakSet),n(this,"mutationCb"),n(this,"scrollCb"),n(this,"bypassOptions"),n(this,"mirror"),n(this,"restoreHandlers",[]),this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!b(e))return;if(this.shadowDoms.has(e))return;this.shadowDoms.add(e);const r=kl({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push((()=>r.disconnect())),this.restoreHandlers.push(xl({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),setTimeout((()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(Fa.host(e))),this.restoreHandlers.push(El({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))}),0)}observeAttachShadow(e){e.contentWindow&&e.contentDocument&&this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)}patchAttachShadow(e,t){const r=this;this.restoreHandlers.push(Wa(e.prototype,"attachShadow",(function(e){return function(n){const s=e.call(this,n),o=Fa.shadowRoot(this);return o&&sl(this)&&r.addShadowRoot(o,t),s}})))}reset(){this.restoreHandlers.forEach((e=>{try{e()}catch(e){}})),this.restoreHandlers=[],this.shadowDoms=new WeakSet}}for(var jl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ul="undefined"==typeof Uint8Array?[]:new Uint8Array(256),_l=0;_l<64;_l++)Ul[jl.charCodeAt(_l)]=_l;const Bl=new Map,zl=(e,t,r)=>{if(!e||!Gl(e,t)&&"object"!=typeof e)return;const n=function(e,t){let r=Bl.get(e);return r||(r=new Map,Bl.set(e,r)),r.has(t)||r.set(t,[]),r.get(t)}(r,e.constructor.name);let s=n.indexOf(e);return-1===s&&(s=n.length,n.push(e)),s};function Wl(e,t,r){if(e instanceof Array)return e.map((e=>Wl(e,t,r)));if(null===e)return e;if(e instanceof Float32Array||e instanceof Float64Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Int8Array||e instanceof Uint8ClampedArray)return{rr_type:e.constructor.name,args:[Object.values(e)]};if(e instanceof ArrayBuffer)return{rr_type:e.constructor.name,base64:function(e){var t,r=new Uint8Array(e),n=r.length,s="";for(t=0;t<n;t+=3)s+=jl[r[t]>>2],s+=jl[(3&r[t])<<4|r[t+1]>>4],s+=jl[(15&r[t+1])<<2|r[t+2]>>6],s+=jl[63&r[t+2]];return n%3==2?s=s.substring(0,s.length-1)+"=":n%3==1&&(s=s.substring(0,s.length-2)+"=="),s}(e)};if(e instanceof DataView)return{rr_type:e.constructor.name,args:[Wl(e.buffer,t,r),e.byteOffset,e.byteLength]};if(e instanceof HTMLImageElement){const t=e.constructor.name,{src:r}=e;return{rr_type:t,src:r}}return e instanceof HTMLCanvasElement?{rr_type:"HTMLImageElement",src:e.toDataURL()}:e instanceof ImageData?{rr_type:e.constructor.name,args:[Wl(e.data,t,r),e.width,e.height]}:Gl(e,t)||"object"==typeof e?{rr_type:e.constructor.name,index:zl(e,t,r)}:e}const Vl=(e,t,r)=>e.map((e=>Wl(e,t,r))),Gl=(e,t)=>{const r=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter((e=>"function"==typeof t[e]));return Boolean(r.find((r=>e instanceof t[r])))};function Zl(e,t,r,n){const s=[];try{const o=Wa(e.HTMLCanvasElement.prototype,"getContext",(function(e){return function(s,...o){if(!$a(this,t,r,!0)){const e=function(e){return"experimental-webgl"===e?"webgl":e}(s);if("__context"in this||(this.__context=e),n&&["webgl","webgl2"].includes(e))if(o[0]&&"object"==typeof o[0]){const e=o[0];e.preserveDrawingBuffer||(e.preserveDrawingBuffer=!0)}else o.splice(0,1,{preserveDrawingBuffer:!0})}return e.apply(this,[s,...o])}}));s.push(o)}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{s.forEach((e=>e()))}}function Yl(e,t,r,n,s,o){const i=[],a=Object.getOwnPropertyNames(e);for(const l of a)if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(l))try{if("function"!=typeof e[l])continue;const a=Wa(e,l,(function(e){return function(...i){const a=e.apply(this,i);if(zl(a,o,this),"tagName"in this.canvas&&!$a(this.canvas,n,s,!0)){const e=Vl(i,o,this),n={type:t,property:l,args:e};r(this.canvas,n)}return a}}));i.push(a)}catch{const n=za(e,l,{set(e){r(this.canvas,{type:t,property:l,args:[e],setter:!0})}});i.push(n)}return i}const Jl="KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChpKV0gPSBpOwogIH0KICB2YXIgZW5jb2RlID0gZnVuY3Rpb24oYXJyYXlidWZmZXIpIHsKICAgIHZhciBieXRlcyA9IG5ldyBVaW50OEFycmF5KGFycmF5YnVmZmVyKSwgaTIsIGxlbiA9IGJ5dGVzLmxlbmd0aCwgYmFzZTY0ID0gIiI7CiAgICBmb3IgKGkyID0gMDsgaTIgPCBsZW47IGkyICs9IDMpIHsKICAgICAgYmFzZTY0ICs9IGNoYXJzW2J5dGVzW2kyXSA+PiAyXTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMl0gJiAzKSA8PCA0IHwgYnl0ZXNbaTIgKyAxXSA+PiA0XTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMiArIDFdICYgMTUpIDw8IDIgfCBieXRlc1tpMiArIDJdID4+IDZdOwogICAgICBiYXNlNjQgKz0gY2hhcnNbYnl0ZXNbaTIgKyAyXSAmIDYzXTsKICAgIH0KICAgIGlmIChsZW4gJSAzID09PSAyKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDEpICsgIj0iOwogICAgfSBlbHNlIGlmIChsZW4gJSAzID09PSAxKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDIpICsgIj09IjsKICAgIH0KICAgIHJldHVybiBiYXNlNjQ7CiAgfTsKICBjb25zdCBsYXN0QmxvYk1hcCA9IC8qIEBfX1BVUkVfXyAqLyBuZXcgTWFwKCk7CiAgY29uc3QgdHJhbnNwYXJlbnRCbG9iTWFwID0gLyogQF9fUFVSRV9fICovIG5ldyBNYXAoKTsKICBhc3luYyBmdW5jdGlvbiBnZXRUcmFuc3B
1hcmVudEJsb2JGb3Iod2lkdGgsIGhlaWdodCwgZGF0YVVSTE9wdGlvbnMpIHsKICAgIGNvbnN0IGlkID0gYCR7d2lkdGh9LSR7aGVpZ2h0fWA7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBpZiAodHJhbnNwYXJlbnRCbG9iTWFwLmhhcyhpZCkpIHJldHVybiB0cmFuc3BhcmVudEJsb2JNYXAuZ2V0KGlkKTsKICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsKICAgICAgb2Zmc2NyZWVuLmdldENvbnRleHQoIjJkIik7CiAgICAgIGNvbnN0IGJsb2IgPSBhd2FpdCBvZmZzY3JlZW4uY29udmVydFRvQmxvYihkYXRhVVJMT3B0aW9ucyk7CiAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0gYXdhaXQgYmxvYi5hcnJheUJ1ZmZlcigpOwogICAgICBjb25zdCBiYXNlNjQgPSBlbmNvZGUoYXJyYXlCdWZmZXIpOwogICAgICB0cmFuc3BhcmVudEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICByZXR1cm4gYmFzZTY0OwogICAgfSBlbHNlIHsKICAgICAgcmV0dXJuICIiOwogICAgfQogIH0KICBjb25zdCB3b3JrZXIgPSBzZWxmOwogIHdvcmtlci5vbm1lc3NhZ2UgPSBhc3luYyBmdW5jdGlvbihlKSB7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBjb25zdCB7IGlkLCBiaXRtYXAsIHdpZHRoLCBoZWlnaHQsIGRhdGFVUkxPcHRpb25zIH0gPSBlLmRhdGE7CiAgICAgIGNvbnN0IHRyYW5zcGFyZW50QmFzZTY0ID0gZ2V0VHJhbnNwYXJlbnRCbG9iRm9yKAogICAgICAgIHdpZHRoLAogICAgICAgIGhlaWdodCwKICAgICAgICBkYXRhVVJMT3B0aW9ucwogICAgICApOwogICAgICBjb25zdCBvZmZzY3JlZW4gPSBuZXcgT2Zmc2NyZWVuQ2FudmFzKHdpZHRoLCBoZWlnaHQpOwogICAgICBjb25zdCBjdHggPSBvZmZzY3JlZW4uZ2V0Q29udGV4dCgiMmQiKTsKICAgICAgY3R4LmRyYXdJbWFnZShiaXRtYXAsIDAsIDApOwogICAgICBiaXRtYXAuY2xvc2UoKTsKICAgICAgY29uc3QgYmxvYiA9IGF3YWl0IG9mZnNjcmVlbi5jb252ZXJ0VG9CbG9iKGRhdGFVUkxPcHRpb25zKTsKICAgICAgY29uc3QgdHlwZSA9IGJsb2IudHlwZTsKICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSBhd2FpdCBibG9iLmFycmF5QnVmZmVyKCk7CiAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7CiAgICAgIGlmICghbGFzdEJsb2JNYXAuaGFzKGlkKSAmJiBhd2FpdCB0cmFuc3BhcmVudEJhc2U2NCA9PT0gYmFzZTY0KSB7CiAgICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICAgIHJldHVybiB3b3JrZXIucG9zdE1lc3NhZ2UoeyBpZCB9KTsKICAgICAgfQogICAgICBpZiAobGFzdEJsb2JNYXAuZ2V0KGlkKSA9PT0gYmFzZTY0KSByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQgfSk7CiAgICAgIHdvcmtlci5wb3N0TWVzc2FnZSh7CiAgICAgICAgaWQsCiAgICAgICAgdHlwZSwKICAgICAgICBiYXNlNjQsCiAgICAgICAgd2lkdGgsCiAgICAgICAgaGVpZ2h0CiAgICAgIH0pOwogICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7CiAgICB9IGVsc2UgewogICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsKICAgIH0KICB9Owp9KSgpOwovLyMgc291cmNlTWFwcGluZ1VSTD1pbWFnZS1iaXRtYXAtZGF0YS11cmwtd29ya2VyLUlKcEM3Z19iLmpzLm1hcAo=",$l="undefined"!=typeof window&&window.Blob&&new Blob([(Xl=Jl,Uint8Array.from(atob(Xl),(e=>e.charCodeAt(0))))],{type:"text/javascript;charset=utf-8"});var Xl;function Hl(e){let t;try{if(t=$l&&(window.URL||window.webkitURL).createObjectURL($l),!t)throw"";const r=new Worker(t,{name:null==e?void 0:e.name});return r.addEventListener("error",(()=>{(window.URL||window.webkitURL).revokeObjectURL(t)})),r}catch(t){return new Worker("data:text/javascript;base64,"+Jl,{name:null==e?void 0:e.name})}finally{t&&(window.URL||window.webkitURL).revokeObjectURL(t)}}class Kl{constructor(e){n(this,"pendingCanvasMutations",new Map),n(this,"rafStamps",{latestId:0,invokeId:null}),n(this,"mirror"),n(this,"mutationCb"),n(this,"resetObservers"),n(this,"frozen",!1),n(this,"locked",!1),n(this,"processMutation",((e,t)=>{!(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId)&&this.rafStamps.invokeId||(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(e)||this.pendingCanvasMutations.set(e,[]),this.pendingCanvasMutations.get(e).push(t)}));const{sampling:t="all",win:r,blockClass:s,blockSelector:o,recordCanvas:i,dataURLOptions:a}=e;this.mutationCb=e.mutationCb,this.mirror=e.mirror,i&&"all"===t&&this.initCanvasMutationObserver(r,s,o),i&&"number"==typeof t&&this.initCanvasFPSObserver(t,r,s,o,{dataURLOptions:a})}reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}initCanvasFPSObserver(e,t,r,n,s){const o=Zl(t,r,n,!0),i=new Map,a=new Hl;a.onmessage=e=>{const{id:t}=e.data;if(i.set(t,!1),!("base64"in e.data))return;const{base64:r,type:n,width:s,height:o}=e.data;this.mutationCb({id:t,type:cl["2D"],commands:[{property:"clearRect",args:[0,0,s,o]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:r}],type:n}]},0,0]}]})};const l=1e3/e;let c,u=0;const h=e=>{u&&e-u<l||(u=e,(()=>{const e=[];return t.document.querySelectorAll("canvas").forEach((t=>{$a(t,r,n,!0)||e.push(t)})),e}
vendor: 8,483 bytes, line 1
1)().forEach((async e=>{var t;const r=this.mirror.getId(e);if(i.get(r))return;if(0===e.width||0===e.height)return;if(i.set(r,!0),["webgl","webgl2"].includes(e.__context)){const r=e.getContext(e.__context);!1===(null==(t=null==r?void 0:r.getContextAttributes())?void 0:t.preserveDrawingBuffer)&&r.clear(r.COLOR_BUFFER_BIT)}const n=await createImageBitmap(e);a.postMessage({id:r,bitmap:n,width:e.width,height:e.height,dataURLOptions:s.dataURLOptions},[n])}))),c=requestAnimationFrame(h)};c=requestAnimationFrame(h),this.resetObservers=()=>{o(),cancelAnimationFrame(c)}}initCanvasMutationObserver(e,t,r){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();const n=Zl(e,t,r,!1),s=function(e,t,r,n){const s=[],o=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype);for(const i of o)try{if("function"!=typeof t.CanvasRenderingContext2D.prototype[i])continue;const o=Wa(t.CanvasRenderingContext2D.prototype,i,(function(s){return function(...o){return $a(this.canvas,r,n,!0)||setTimeout((()=>{const r=Vl(o,t,this);e(this.canvas,{type:cl["2D"],property:i,args:r})}),0),s.apply(this,o)}}));s.push(o)}catch{const r=za(t.CanvasRenderingContext2D.prototype,i,{set(t){e(this.canvas,{type:cl["2D"],property:i,args:[t],setter:!0})}});s.push(r)}return()=>{s.forEach((e=>e()))}}(this.processMutation.bind(this),e,t,r),o=function(e,t,r,n){const s=[];return s.push(...Yl(t.WebGLRenderingContext.prototype,cl.WebGL,e,r,n,t)),void 0!==t.WebGL2RenderingContext&&s.push(...Yl(t.WebGL2RenderingContext.prototype,cl.WebGL2,e,r,n,t)),()=>{s.forEach((e=>e()))}}(this.processMutation.bind(this),e,t,r);this.resetObservers=()=>{n(),s(),o()}}startPendingCanvasMutationFlusher(){requestAnimationFrame((()=>this.flushPendingCanvasMutations()))}startRAFTimestamping(){const e=t=>{this.rafStamps.latestId=t,requestAnimationFrame(e)};requestAnimationFrame(e)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach(((e,t)=>{const r=this.mirror.getId(t);this.flushPendingCanvasMutationFor(t,r)})),requestAnimationFrame((()=>this.flushPendingCanvasMutations()))}flushPendingCanvasMutationFor(e,t){if(this.frozen||this.locked)return;const r=this.pendingCanvasMutations.get(e);if(!r||-1===t)return;const n=r.map((e=>{const{type:t,...r}=e;return r})),{type:s}=r[0];this.mutationCb({id:t,type:s,commands:n}),this.pendingCanvasMutations.delete(e)}}class Ql{constructor(e){n(this,"trackedLinkElements",new WeakSet),n(this,"mutationCb"),n(this,"adoptedStyleSheetCb"),n(this,"styleMirror",new tl),this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,t){if(0===e.length)return;const r={id:t,styleIds:[]},n=[];for(const t of e){let e;this.styleMirror.has(t)?e=this.styleMirror.getId(t):(e=this.styleMirror.add(t),n.push({styleId:e,rules:Array.from(t.rules||CSSRule,((e,r)=>({rule:S(e,t.href),index:r})))})),r.styleIds.push(e)}n.length>0&&(r.styles=n),this.adoptedStyleSheetCb(r)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class ql{constructor(){n(this,"nodeMap",new WeakMap),n(this,"active",!1)}inOtherBuffer(e,t){const r=this.nodeMap.get(e);return r&&Array.from(r).some((e=>e!==t))}add(e,t){this.active||(this.active=!0,requestAnimationFrame((()=>{this.nodeMap=new WeakMap,this.active=!1}))),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}destroy(){}}let ec,tc,rc,nc=!1;try{if(2!==Array.from([1],(e=>2*e))[0]){const t=document.createElement("iframe");document.body.appendChild(t),Array.from=(null==(e=t.contentWindow)?void 0:e.Array.from)||Array.from,document.body.removeChild(t)}}catch(e){console.debug("Unable to override Array.from",e)}const sc=new C;function oc(e={}){const{emit:t,checkoutEveryNms:r,checkoutEveryNth:n,blockClass:s="rr-block",blockSelector:o=null,ignoreClass:i="rr-ignore",ignoreSelector:a=null,maskTextClass:l="rr-mask",maskTextSelector:c=null,inlineStylesheet:u=!0,maskAllInputs:h,maskInputOptions:p,slimDOMOptions:d,maskInputFn:f,maskTextFn:m,hooks:g,packFn:y,sampling:w={},dataURLOptions:b={},mousemoveWait:v,recordDOM:S=!0,recordCanvas:I=!1,recordCrossOriginIframes:k=!1,recordAfter:x=("DOMContentLoaded"===e.recordAfter?e.recordAfter:"load"),userTriggeredOnInput:O=!1,collectFonts:M=!1,inlineImages:A=!1,plugins:R,keepIframeSrcFn:E=(()=>!1),ignoreCSSAttributes:T=new Set([]),errorHandler:N}=e;vl=N;const P=!k||window.parent===window;let L=!1;if(!P)try{window.parent.document&&(L=!1)}catch(e){L=!0}if(P&&!t)throw new Error("emit function is required");if(!P&&!L)return()=>{};void 0!==v&&void 0===w.mousemove&&(w.mousemove=v),sc.reset();const D=!0===h?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:void 0!==p?p:{password:!0},F=!0===d||"all"===d?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===d,headMetaDescKeywords:"all"===d,headTitleMutations:"all"===d}:d||{};let j;!function(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach)}();let U=0;const _=e=>{for(const t of R||[])t.eventProcessor&&(e=t.eventProcessor(e));return y&&!L&&(e=y(e)),e};ec=(e,s)=>{var o;const i=e;if(i.timestamp=Va(),!(null==(o=Cl[0])?void 0:o.isFrozen())||i.type===ol.FullSnapshot||i.type===ol.IncrementalSnapshot&&i.data.source===il.Mutation||Cl.forEach((e=>e.unfreeze())),P)null==t||t(_(i),s);else if(L){const e={type:"rrweb",event:_(i),origin:window.location.origin,isCheckout:s};window.parent.postMessage(e,"*")}if(i.type===ol.FullSnapshot)j=i,U=0;else if(i.type===ol.IncrementalSnapshot){if(i.data.source===il.Mutation&&i.data.isAttachIframe)return;U++;const e=n&&U>=n,t=r&&i.timestamp-j.timestamp>r;(e||t)&&tc(!0)}};const B=e=>{ec({type:ol.IncrementalSnapshot,data:{source:il.Mutation,...e}})},z=e=>ec({type:ol.IncrementalSnapshot,data:{source:il.Scroll,...e}}),W=e=>ec({type:ol.IncrementalSnapshot,data:{source:il.CanvasMutation,...e}}),V=new Ql({mutationCb:B,adoptedStyleSheetCb:e=>ec({type:ol.IncrementalSnapshot,data:{source:il.AdoptedStyleSheet,...e}})}),G=new Dl({mirror:sc,mutationCb:B,stylesheetManager:V,recordCrossOriginIframes:k,wrappedEmit:ec});for(const e of R||[])e.getMirror&&e.getMirror({nodeMirror:sc,crossOriginIframeMirror:G.crossOriginIframeMirror,crossOriginIframeStyleMirror:G.crossOriginIframeStyleMirror});const Z=new ql;rc=new Kl({recordCanvas:I,mutationCb:W,win:window,blockClass:s,blockSelector:o,mirror:sc,sampling:w.canvas,dataURLOptions:b});const Y=new Fl({mutationCb:B,scrollCb:z,bypassOptions:{blockClass:s,blockSelector:o,maskTextClass:l,maskTextSelector:c,inlineStylesheet:u,maskInputOptions:D,dataURLOptions:b,maskTextFn:m,maskInputFn:f,recordCanvas:I,inlineImages:A,sampling:w,slimDOMOptions:F,iframeManager:G,stylesheetManager:V,canvasManager:rc,keepIframeSrcFn:E,processedNodeManager:Z},mirror:sc});tc=(e=!1)=>{if(!S)return;ec({type:ol.Meta,data:{href:window.location.href,width:Ya(),height:Za()}},e),V.reset(),Y.init(),Cl.forEach((e=>e.lock()));const t=function(e,t){const{mirror:r=new C,blockClass:n="rr-block",blockSelector:s=null,maskTextClass:o="rr-mask",maskTextSelector:i=null,inlineStylesheet:a=!0,inlineImages:l=!1,recordCanvas:c=!1,maskAllInputs:u=!1,maskTextFn:h,maskInputFn:p,slimDOM:d=!1,dataURLOptions:f,preserveWhiteSpace:m,onSerialize:g,onIframeLoad:y,iframeLoadTimeout:w,onStylesheetLoad:b,stylesheetLoadTimeout:v,keepIframeSrcFn:S=(()=>!1)}=t||{};return K(e,{doc:e,mirror:r,blockClass:n,blockSelector:s,maskTextClass:o,maskTextSelector:i,skipChild:!1,inlineStylesheet:a,maskInputOptions:!0===u?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:!1===u?{password:!0}:u,maskTextFn:h,maskInputFn:p,slimDOMOptions:!0===d||"all"===d?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===d,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}
1:!1===d?{}:d,dataURLOptions:f,inlineImages:l,recordCanvas:c,preserveWhiteSpace:m,onSerialize:g,onIframeLoad:y,iframeLoadTimeout:w,onStylesheetLoad:b,stylesheetLoadTimeout:v,keepIframeSrcFn:S,newlyAddedElement:!1})}(document,{mirror:sc,blockClass:s,blockSelector:o,maskTextClass:l,maskTextSelector:c,inlineStylesheet:u,maskAllInputs:D,maskTextFn:m,maskInputFn:f,slimDOM:F,dataURLOptions:b,recordCanvas:I,inlineImages:A,onSerialize:e=>{Qa(e,sc)&&G.addIframe(e),qa(e,sc)&&V.trackLinkElement(e),el(e)&&Y.addShadowRoot(Fa.shadowRoot(e),document)},onIframeLoad:(e,t)=>{G.attachIframe(e,t),Y.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{V.attachLinkElement(e,t)},keepIframeSrcFn:E});if(!t)return console.warn("Failed to snapshot the document");ec({type:ol.FullSnapshot,data:{node:t,initialOffset:Ga(window)}},e),Cl.forEach((e=>e.unlock())),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&V.adoptStyleSheets(document.adoptedStyleSheets,sc.getId(document))};try{const e=[],t=e=>{var t;return Sl(Tl)({mutationCb:B,mousemoveCb:(e,t)=>ec({type:ol.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>ec({type:ol.IncrementalSnapshot,data:{source:il.MouseInteraction,...e}}),scrollCb:z,viewportResizeCb:e=>ec({type:ol.IncrementalSnapshot,data:{source:il.ViewportResize,...e}}),inputCb:e=>ec({type:ol.IncrementalSnapshot,data:{source:il.Input,...e}}),mediaInteractionCb:e=>ec({type:ol.IncrementalSnapshot,data:{source:il.MediaInteraction,...e}}),styleSheetRuleCb:e=>ec({type:ol.IncrementalSnapshot,data:{source:il.StyleSheetRule,...e}}),styleDeclarationCb:e=>ec({type:ol.IncrementalSnapshot,data:{source:il.StyleDeclaration,...e}}),canvasMutationCb:W,fontCb:e=>ec({type:ol.IncrementalSnapshot,data:{source:il.Font,...e}}),selectionCb:e=>{ec({type:ol.IncrementalSnapshot,data:{source:il.Selection,...e}})},customElementCb:e=>{ec({type:ol.IncrementalSnapshot,data:{source:il.CustomElement,...e}})},blockClass:s,ignoreClass:i,ignoreSelector:a,maskTextClass:l,maskTextSelector:c,maskInputOptions:D,inlineStylesheet:u,sampling:w,recordDOM:S,recordCanvas:I,inlineImages:A,userTriggeredOnInput:O,collectFonts:M,doc:e,maskInputFn:f,maskTextFn:m,keepIframeSrcFn:E,blockSelector:o,slimDOMOptions:F,dataURLOptions:b,mirror:sc,iframeManager:G,stylesheetManager:V,shadowDomManager:Y,processedNodeManager:Z,canvasManager:rc,ignoreCSSAttributes:T,plugins:(null==(t=null==R?void 0:R.filter((e=>e.observer)))?void 0:t.map((e=>({observer:e.observer,options:e.options,callback:t=>ec({type:ol.Plugin,data:{plugin:e.name,payload:t}})}))))||[]},g)};G.addLoadListener((r=>{try{e.push(t(r.contentDocument))}catch(e){console.warn(e)}}));const r=()=>{tc(),e.push(t(document)),nc=!0};return"interactive"===document.readyState||"complete"===document.readyState?r():(e.push(ja("DOMContentLoaded",(()=>{ec({type:ol.DomContentLoaded,data:{}}),"DOMContentLoaded"===x&&r()}))),e.push(ja("load",(()=>{ec({type:ol.Load,data:{}}),"load"===x&&r()}),window))),()=>{e.forEach((e=>e())),Z.destroy(),nc=!1,vl=void 0}}catch(e){console.warn(e)}}var ic,ac;oc.addCustomEvent=(e,t)=>{if(!nc)throw new Error("please add custom event after start recording");ec({type:ol.Custom,data:{tag:e,payload:t}})},oc.freezePage=()=>{Cl.forEach((e=>e.freeze()))},oc.takeFullSnapshot=e=>{if(!nc)throw new Error("please take full snapshot after start recording");tc(e)},oc.mirror=sc,Symbol.toStringTag,(ac=ic||(ic={}))[ac.NotStarted=0]="NotStarted",ac[ac.Running=1]="Running",ac[ac.Stopped=2]="Stopped";const{addCustomEvent:lc}=oc,{freezePage:cc}=oc,{takeFullSnapshot:uc}=oc,hc=58e5,pc=144e5,dc=18e5;function fc(e){const t=0<=e.indexOf("#")?e.substr(0,e.indexOf("#")):e,r=0<=e.indexOf("#")?e.substr(e.indexOf("#")+1):"";return{cleanUrl:0<=t.indexOf("?")?t.substr(0,t.indexOf("?")):t,search:0<=t.indexOf("?")?t.substr(t.indexOf("?")+1):"",hash:r}}const mc=(e,t,r)=>function(e,t){t=null!=t?t:{};const{cleanUrl:r,hash:n}=fc(e);return function(e,t={},r){const n=Object.keys(t);return n.length&&(e+="?"+n.filter((e=>void 0!==t[e])).map((e=>{var r;return`${e}=${encodeURIComponent(null!==(r=t[e])&&void 0!==r?r:"")}`})).map((e=>/=$/.test(e)?e.slice(0,-1):e)).reduce(((e,t)=>`${e}&${t}`))),r&&(e+="#"+r),e}(r,Object.assign(Object.assign({},function(e){const{search:t}=fc(e);return t?t.split("&").reduce(((e,t)=>{const[r,n=""]=t.split("=");return r&&(e[r]=decodeURIComponent(n)),e}),{}):{}}(e)),t),n)}(`${e.url}${t}`,r),gc={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let yc;const wc=new Uint8Array(16),bc=[];for(let e=0;e<256;++e)bc.push((e+256).toString(16).slice(1));const vc=function(e,t,r){if(gc.randomUUID&&!t&&!e)return gc.randomUUID();const n=(e=e||{}).random??e.rng?.()??function(){if(!yc){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");yc=crypto.getRandomValues.bind(crypto)}return yc(wc)}();if(n.length<16)throw new Error("Random bytes length must be >= 16");if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){if((r=r||0)<0||r+16>t.length)throw new RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=n[e];return t}return function(e,t=0){return(bc[e[t+0]]+bc[e[t+1]]+bc[e[t+2]]+bc[e[t+3]]+"-"+bc[e[t+4]]+bc[e[t+5]]+"-"+bc[e[t+6]]+bc[e[t+7]]+"-"+bc[e[t+8]]+bc[e[t+9]]+"-"+bc[e[t+10]]+bc[e[t+11]]+bc[e[t+12]]+bc[e[t+13]]+bc[e[t+14]]+bc[e[t+15]]).toLowerCase()}(n)};function Sc(e,t,r){const n=Object.assign({path:"/",expires:0},r||{});let s=`${e}=${encodeURIComponent(t)};`;0<n.expires&&(s+=` expires=${new Date((new Date).getTime()+n.expires).toUTCString()};`),s+=` path=${n.path};`,s+=" SameSite=None; Secure;",document.cookie=s}function Cc(e){var t;const r=document.cookie.split(";").map((e=>e.trim())).reduce(((e,t)=>{var r,n;return e[null!==(r=t.split("=")[0])&&void 0!==r?r:""]=null!==(n=t.split("=")[1])&&void 0!==n?n:"",e}),{});if(r[e])return decodeURIComponent(null!==(t=r[e])&&void 0!==t?t:"")}const Ic={timeoutId:void 0,cookie:"",counter:0},kc={};function xc(){var e;Ic.counter&&Ic.cookie===document.cookie||Object.values(kc).forEac
1h((e=>e())),Ic.cookie=null!==(e=document.cookie)&&void 0!==e?e:"",++Ic.counter,Object.values(kc).length&&(Ic.timeoutId=setTimeout(xc,Ic.counter<120?500:2e3))}const Oc=()=>{let e="";do{e=`${Math.random()}`.slice(2)}while(Object.keys(kc).includes(e));return e};function Mc(e){if(!e)return!1;if(function(){const e=window.navigator.userAgent||"";return-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")}())return!1;if(Sc("neliosrCheckWritePermission",!0),!Cc("neliosrCheckWritePermission")||(t="neliosrCheckWritePermission",document.cookie=`${t}=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/; SameSite=None; Secure`,0))return!1;var t;if(Cc("neliosrIsVisitorExcluded"))return!1;const{samplingRate:r,monthlyQuota:n}=e;switch(r.mode){case"custom":return Ac(r.percentage);case"uniform":if(0===n)return!1;const e=new Date((new Date).getFullYear(),(new Date).getMonth()+1,0).getDate(),t=Math.floor(n/e),s=Math.floor(r.estimatedSessions/e);return Ac(Math.min(Math.floor(t/s*100),100));default:return!0}}function Ac(e){(function(){const e=Cc("neliosrParticipation")||"";return/^(true|false),[0-9]{1,3}$/.test(e)})()&&!function(e){return(Cc("neliosrParticipation")||"").split(",")[1]!==`${e}`}(e)||function(e){Sc("neliosrParticipation",`${Math.min(100,Math.floor(101*Math.random()))<=e?"true":"false"},${e}`,{expires:pc})}(e);const t=Cc("neliosrParticipation");return 0===(null==t?void 0:t.indexOf("true"))}const Rc="events";let Ec;function Tc(e,t){if(Ec)try{return Ec.transaction(e,t).objectStore(e)}catch(e){return}}const Nc=()=>{const e=Tc(Rc,"readwrite");e&&(e.clear().onerror=function(e){console.error("clearObjectStore:",e.target.errorCode)})},Pc=e=>{const t=Tc(Rc,"readwrite");t&&e.length&&e.forEach((e=>{t.add(e).onerror=function(){console.error("saveEvents error",this.error)}}))},Lc=e=>{const t=Tc(Rc,"readonly");if(!t)return;const r=[],n=t.openCursor();n.onsuccess=t=>{const n=t.target.result;n?(r.push({id:n.primaryKey,event:n.value}),n.continue()):e(r)},n.onerror=function(){console.error("getEvents error",this.error)}},Dc=e=>{const t=Tc(Rc,"readwrite");t&&e.length&&e.forEach((e=>{t.delete(e).onerror=function(){console.error("removeEvents error",this.error)}}))};function Fc(e,t){const r=[],n=[];return null===t&&(t=function(e,t){return r[0]===t?"[Circular ~]":"[Circular ~."+n.slice(0,r.indexOf(t)).join(".")+"]"}),function(s,o){if(r.length>0){const e=r.indexOf(this);~e?r.splice(e+1):r.push(this),~e?n.splice(e,1/0,s):n.push(s),~r.indexOf(o)&&(o=t.call(this,s,o))}else r.push(o);return null===e?o:null==e?void 0:e.call(this,s,o)}}function jc(e){try{const t=function(e,t,r,n){return JSON.stringify(e,Fc.call(e,t,n),r)}(e);return Buffer.byteLength(t,"utf8")}catch(e){return 0}}var Uc=function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}l((n=n.apply(e,t||[])).next())}))};function _c(e,t){return Uc(this,void 0,void 0,(function*(){try{return(yield fetch(e,{method:"POST",mode:"cors",body:JSON.stringify(t.map((e=>e.event))),headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}})).ok}catch(e){return!1}}))}const Bc=["animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","transition","transition-delay","transition-duration","transition-property","transition-timing-function","will-change"],zc=["a[href]","button","details","dialog","iframe","input","option","select","summary","textarea","audio","video",'[contenteditable=""]','[contenteditable="true"]',"[hidden]","[aria-expanded]","[aria-hidden]","[aria-pressed]","[aria-selected]","[aria-checked]"],Wc="[data-aos]",Vc="aos-init",Gc="aos-animate",Zc=".wow,[data-wow-duration],[data-wow-delay],[data-wow-offset],[data-wow-iteration]",Yc="animate__",Jc=["wow","animated","animate__animated"],$c=["pin-spacer"],Xc="gsap-",Hc=document.createElement("div").style;function Kc(e){return $c.includes(e)||e.startsWith(Xc)}function Qc(e,t){return t.some((t=>{try{return e.matches(t)}catch(e){return!1}}
1))}function qc(e){return e.trim().toLowerCase()}function eu(e){return e.matches(Wc)}function tu(e){return e.matches(Zc)}function ru(e){var t;(null===(t=window.__neliosrDebugTracking)||void 0===t?void 0:t.enabled)&&window.dispatchEvent(new CustomEvent("neliosr:noise-filter",{detail:e}))}function nu(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}function su(e){return e.length>1?e.replace(/\/+$/,""):e}function ou(e){return"http:"===e.protocol&&"80"===e.port||"https:"===e.protocol&&"443"===e.port?"":e.port}var iu=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(iu||{}),au=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(au||{}),lu=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(lu||{}),cu=(e=>(e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e))(cu||{});const uu="neliosrSession";let hu,pu,du=!1;const fu=()=>{if(hu)return hu;const e=Cc(uu);return hu=e?JSON.parse(e):void 0,hu},mu=()=>{pu&&(window.clearTimeout(pu),pu=void 0),yu()};function gu(e){switch(e.type){case iu.DomContentLoaded:case iu.Load:case iu.FullSnapshot:case iu.Custom:case iu.Plugin:return!1;case iu.IncrementalSnapshot:switch(e.data.source){case au.Mutation:case au.MouseMove:return!1;case au.MouseInteraction:switch(e.data.type){case lu.MouseUp:case lu.MouseDown:return!1;case lu.Click:return!0;case lu.ContextMenu:return!1;case lu.DblClick:return!0;case lu.Focus:case lu.Blur:case lu.TouchStart:case lu.TouchMove_Departed:case lu.TouchEnd:case lu.TouchCancel:return!1}return!1;case au.Scroll:case au.ViewportResize:return!0;case au.Input:return!!e.data.userTriggered;case au.MediaInteraction:switch(e.data.type){case cu.Play:case cu.Pause:return!0;case cu.RateChange:case cu.Seeked:return!1;case cu.VolumeChange:return!0}return!1;case au.StyleSheetRule:case au.CanvasMutation:case au.Font:return!1;case au.Selection:return!0;case au.StyleDeclaration:case au.AdoptedStyleSheet:return!1}return!1;case iu.Meta:return!1}}function yu(){hu&&du&&(Sc(uu,JSON.stringify(hu),{expires:dc}),du=!1)}function wu(e){let t=bu(e,void 0,[]).join(" > ");return t=t.replace(/:nth-child\([0-9]+\)/g,""),t=t.replace(/>/g,""),t=t.replace(/ +/g," "),t=t.replace(/\.nab[-0-9a-z]*/g,""),t}const bu=function(e,t,r){var n=e.tagName.toLowerCase(),s=[n],o=e.getAttribute("class"),i=e.getAttribute("id");return i?(r.unshift(n+"#"+i.trim()),r):(o&&s.push(function(e){for(var t,r=e.split(/\s/g),n=[],s=0;s<r.length;++s){const e=r[s];(null!==(t=null==e?void 0:e.length)&&void 0!==t?t:0)>0&&n.push("."+e)}return n.join("")}(o)),"html"!==n&&"body"!==n&&e.parentNode&&s.push(":nth-child("+function(e){for(var t=0,r=e.parentNode.childNodes,n=0;n<r.length;++n)if(1===r[n].nodeType&&++t,r[n]===e)return t;return 0}(e)+")"),r.unshift(s.join("")),e.parentNode&&e.parentNode!==t&&e.parentNode.tagName&&bu(e.parentNode,t,r),r)};function vu(e){const t=function(e){const t=Oc();return kc[t]=e,Ic.counter=0,clearInterval(Ic.timeoutId),Ic.timeoutId=setTimeout(xc,500),t}((()=>{var r;(function(e){const{gdprCookie:t}=e;if(!t.name)return!0;const r=(e,t)=>0<=e.split("*").reduce(((e,r)=>e<0?e:t.indexOf(r,e)),0);return document.cookie.split(";").map((e=>e.trim())).map((e=>e.split("="))).map((([e,...t])=>[e,t.join("=")])).filter((e=>void 0!==e[0]&&void 0!==e[1])).filter((([e])=>r(t.name,e))).some((([e,n])=>!t.value||r(t.value,n)))})(e)&&(kc[r=t]&&delete kc[r],function(e){const{recordingsScope:t}=e;return!t.length||t.some((e=>function(e,t){const r=t.trim();if(!r)return!1;if(r.startsWith('"')&&r.endsWith('"')&&r.length>=2){const t=r.slice(1,-1).trim();return!!t&&function(e,t){let r,n;try{r=new URL(e,window.location.origin),n=new URL(t,window.location.origin)}catch(e){return!1}return!(r.protocol!==n.protocol||r.hostname!==n.hostname||ou(r)!==ou(n)||su(r.pathname)!==su(n.pathname)||n.search&&!function(e,t){const r=new
1URLSearchParams(e),n=function(e){if(!e)return[];const t=e.startsWith("?")?e.slice(1):e;return t?t.split("&").filter(Boolean).map((e=>{const t=e.indexOf("=");return-1===t?{key:decodeURIComponent(e),type:"any"}:{key:decodeURIComponent(e.slice(0,t)),value:decodeURIComponent(e.slice(t+1)),type:"exact"}})):[]}(t);for(const e of n){if(!r.has(e.key))return!1;if("exact"===e.type&&r.get(e.key)!==e.value)return!1}return!0}(r.search,n.search)||n.hash&&r.hash!==n.hash)}(e,t)}return e.includes(r)}(window.location.href,e.trim())))}(e)&&function(e){if(Iu)return;Iu=!0;const t=(()=>{const e=fu();if(!e)return{currentPage:window.location.pathname};const t=Object.assign(Object.assign(Object.assign(Object.assign({},e),!!e.previousPage&&{secondPreviousPage:e.previousPage,secondPreviousPageTimestamp:e.previousPageTimestamp}),!!e.currentPage&&{previousPage:e.currentPage,previousPageTimestamp:e.currentPageTimestamp}),{currentPage:window.location.pathname,currentPageTimestamp:Date.now()});return hu=t,du=!0,yu(),t})(),r=["svg","lottie-player",".swiper-wrapper",".swiper-slide",".elementor-swiper",".swiper-wrapper *",".swiper-slide *",".elementor-swiper *",".wp-block-cb-slide",".wp-block-cb-carousel",...e.excludedSelectors],n=function(e,t,r){const n=function(e){const t=e.ignoreClasses.map((e=>e.trim().toLowerCase())),r=[...Bc,...e.ignoreStyleProperties].map(qc);return{enabled:e.enabled,mutationThrottleMs:Math.max(0,e.mutationThrottleMs),maxBufferedMutations:Math.max(1,e.maxBufferedMutations),ignoreSelectors:e.ignoreSelectors,ignoreClasses:t,ignoreClassSet:new Set(t),ignoreStyleProperties:r,ignoreStylePropertySet:new Set(r),keepSelectors:[...zc,...e.keepSelectors]}}(e);let s,o;const i=()=>{o&&(window.clearTimeout(o),o=void 0),s&&0!==s.attributes.size?(r([{type:ol.IncrementalSnapshot,timestamp:s.timestamp,data:{source:il.Mutation,adds:[],removes:[],texts:[],attributes:[...s.attributes.values()]}}]),s=void 0):s=void 0};return{handleEvent:e=>{if(!n.enabled||!function(e){return e.type===ol.IncrementalSnapshot&&e.data.source===il.Mutation}(e))return i(),void r([e]);const a=function(e,t,r){const n=e.data.attributes.map((e=>function(e,t,r){const n=t.getNode(e.id);if(!nu(n))return e;const s=!Qc(n,r.keepSelectors)&&Qc(n,r.ignoreSelectors),o=Object.assign({},e.attributes),i=Object.assign({},e.attributes),a=function(e){if(e.id)return`#${e.id}`;
1const t=e.className.split(/\s+/u).filter(Boolean).slice(0,2).join(".");return t?`${e.tagName.toLowerCase()}.${t}`:e.tagName.toLowerCase()}(n);if("class"in o&&"string"==typeof o.class)if(s)delete o.class,ru({kind:"attribute-filtered",nodeId:e.id,selector:a,reason:"Selector matched ignoreSelectors; removed class mutation",before:i.class,after:void 0});else{const t=function(e,t,r){return e.trim().length&&r.ignoreClassSet.size?e.split(/\s+/u).filter((e=>e.length&&!function(e,t,r){if(!r.ignoreClassSet.has(t))return!1;if(eu(e)){if(t===Vc)return!0;if(t===Gc)return!1}return!function(e,t){return!!tu(e)&&(Jc.includes(t)||t.startsWith(Yc))}(e,t)&&!Kc(t)}(t,e.toLowerCase(),r))).join(" "):e}(o.class,n,r);t!==o.class&&ru({kind:"attribute-filtered",nodeId:e.id,selector:a,reason:"Ignored noisy CSS classes",before:o.class,after:t||null}),o.class=t||null}if("style"in o)if(s)delete o.style,ru({kind:"attribute-filtered",nodeId:e.id,selector:a,reason:"Selector matched ignoreSelectors; removed style mutation",before:i.style,after:void 0});else{const t=function(e,t){if(null===e||!t.size)return e;if("string"==typeof e){Hc.cssText=e,t.forEach((e=>Hc.removeProperty(e)));const r=Hc.cssText||null;return Hc.cssText="",r}const r=Object.keys(e).reduce(((r,n)=>{if(t.has(qc(n)))return r;const s=e[n];return void 0===s||(r[n]=s),r}),{});return Object.keys(r).length?r:null}(o.style,r.ignoreStylePropertySet);t!==o.style&&ru({kind:"attribute-filtered",nodeId:e.id,selector:a,reason:"Ignored noisy inline style properties",before:o.style,after:t}),o.style=t}if(Object.keys(o).forEach((e=>{const t=o[e];(void 0===t||""===t||null!==t&&function(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&0===Object.keys(e).length}(t))&&(o[e]=null)})),Object.values(o).some((e=>void 0!==e)))return{id:e.id,attributes:o};ru({kind:"attribute-dropped",nodeId:e.id,selector:a,reason:"Mutation contained only filtered cosmetic changes",before:i,after:o})}(e,t,r))).filter((e=>!!e));if(0!==n.length||0!==e.data.texts.length||0!==e.data.adds.length||0!==e.data.removes.length)return Object.assign(Object.assign({},e),{data:Object.assign(Object.assign({},e.data),{attributes:n})});ru({kind:"event-dropped",reason:"Mutation event became empty after filtering",count:e.data.attributes.length})}(e,t,n);if(a){if(!function(e,t,r){return!(e.data.adds.length||e.data.removes.length||e.data.texts.length)&&e.data.attributes.every((e=>{const n=Object.keys(e.attributes);if(!n.length||n.some((e=>"class"!==e&&"style"!==e)))return!1;const s=t.getNode(e.id);return(!nu(s)||!function(e,t){return"class"in e.attributes&&"string"==typeof e.attributes.class&&(function(e,t){return eu(t)&&"class"in e.attributes&&"string"==typeof e.attributes.class}(e,t)||function(e,t){return!!tu(t)&&e.split(/\s+/u).some((e=>Jc.includes(e)||e.startsWith(Yc)))}(e.attributes.class,t)||e.attributes.class.split(/\s+/u).some((e=>Kc(e))))}(e,s))&&nu(s)&&!Qc(s,r.keepSelectors)}))}(a,t,n))return i(),void r([a]);s=null!=s?s:{timestamp:a.timestamp,attributes:new Map},s.timestamp=a.timestamp,a.data.attributes.forEach((e=>{var t;const r=null==s?void 0:s.attributes.get(e.id);null==s||s.attributes.set(e.id,{id:e.id,attributes:Object.assign(Object.assign({},null!==(t=null==r?void 0:r.attributes)&&void 0!==t?t:{}),e.attributes)})})),ru({kind:"mutation-buffered",reason:"Class/style-only mutation burst buffered",count:a.data.attributes.length}),s.attributes.size>=n.maxBufferedMutations?i():o||(o=window.setTimeout(i,n.mutationThrottleMs))}},flush:i}}(e.recordingNoiseControl,oc.mirror,(e=>{(e=>{if(!e.length)return;const t=fu();t&&(hu=e.reduce(((e,t)=>Object.assign(Object.assign({},e),{first:Math.min(e.first,t.timestamp),last:Math.max(e.last,t.timestamp),isMeaningful:!!e.isMeaningful||gu(t)})),t),du=!0,pu||(pu=window.setTimeout((()=>{pu=void 0,yu()}),1e3)))})(e),Pc(e)}));let s=!1;oc({emit:e=>{e=function(e,t){if(e.type!==ol.FullSnapshot)return e;const{currentPage:r,previousPage:n,secondPreviousPage:s,currentPageTimestamp:o,previousPageTimestamp:i}=t,a=!!r&&!!n&&r===n,l=!!r&&!!n&&!!s&&r!==n&&r===s&&o&&i&&o-i<=7e3;return Object.assign(Object.assign({},e),{data:Object.assign(Object.assign(Object.assign(Object.assign({},e.data),{href:window.location.href}),a&&{isRefresh:a}),l&&{isUTurn:l})})}(e,t),e=function(e,t){if(e.type!==ol.IncrementalSnapshot||e.data.source!==il.MouseInteraction||e.data.type!==al.Click)return e;const r=t.getNode(e.data.id);if(!r||["HTML","HEAD","META","LINK","SCRIPT","STYLE","BODY"].includes(r.nodeName))return e;const n=r,s=function(e){return e.innerText.replace(/\s+/g," ").substring(0,140).trim()}(n);return Object.assign(Object.assign({},e),{data:Object.assign(Object.assign({},e.data),{clickedElement:Object.assign(Object.assign({selector:wu(n),isClickable:Ou(n)},n.id.length&&{id:n.id}),!!s&&{text:s})})})}(e,oc.mirror),e=function(e){return e.type!==ol.IncrementalSnapshot||e.data.source!==il.MouseInteraction||e.data.type!==al.Click||(Su&&(e.timestamp-Su<600?Cu++:Cu=1),Su=e.timestamp,Cu>=6&&(e=Object.assign(Object.assign({},e),{data:Object.assign(Object.assign({},e.data),{isRageClick:!0})}),Su=0,Cu=0)),e}(e),n.handleEvent(e)},blockSelector:r.join(","),maskAllInputs:!0,recordCanvas:!1,recordCrossOriginIframes:!1,slimDOMOptions:{headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}
1,userTriggeredOnInput:!0});const o=()=>n.flush();window.addEventListener("pagehide",o),window.addEventListener("beforeunload",o),window.addEventListener("pagehide",mu),window.addEventListener("beforeunload",mu),document.addEventListener("visibilitychange",(()=>{"hidden"===document.visibilityState&&(o(),mu())})),ku.forEach((e=>lc("nab-event",e))),ku=[],setInterval((()=>{s||(n.flush(),mu(),function(e){const t=fu();if(!t)return!1;const r=!!t.isMeaningful,n=t.last-t.first>=3e4;return e.trackShortSessions?r:r&&n}(e)&&(s=!0,Lc((t=>{(function(e,t){return Uc(this,void 0,void 0,(function*(){return e.length?function(e,t){return Uc(this,void 0,void 0,(function*(){if(t.isStagingSite)return e.forEach((e=>console.info("[Staging] Event",JSON.stringify(e.event)))),e.map((e=>e.id));const r=function({input:e,bytesSize:t=Number.MAX_SAFE_INTEGER,failOnOversize:r=!1,sizeCalcFunction:n=jc}){var s,o;const i=[];let a=0,l=0;if(!e||0===e.length||t<=0)return i;for(const c of e){const e=n(c);if(e>t&&r)throw new Error("Can't chunk array as item is bigger than the max chunk size");a+e<=t?(Array.isArray(i[l])||(i[l]=[]),null===(s=i[l])||void 0===s||s.push(c),a+=e):(i[l]&&(l++,a=0),i[l]=[],null===(o=i[l])||void 0===o||o.push(c),a+=e)}return i}({input:[...e],bytesSize:hc,sizeCalcFunction:e=>JSON.stringify(e.event).length}),{api:n,site:s,id:o}=t,i=mc(n,`/site/${s}/session/${o}`,{a:s}),a=[];for(const e of r)(yield _c(i,e))&&a.push(...e.map((e=>e.id)));return a}))}(e,t):[]}))})(t,e).then((e=>Dc(e))).finally((()=>{s=!1}))}))))}),3e3)}(e))}))}let Su=0,Cu=0,Iu=!1,ku=[];window.addEventListener("message",(e=>{xu(e)&&(Iu?lc("nab-event",e.data.value):"visit"===e.data.value.kind&&(ku=[...ku,e.data.value]))}));const xu=e=>!!e.data&&"object"==typeof e.data&&"plugin"in e.data&&"nelio-ab-testing"===e.data.plugin&&"type"in e.data&&"testing-event"===e.data.type&&"value"in e.data&&!!e.data.value&&"object"==typeof e.data.value&&"kind"in e.data.value&&("visit"===e.data.value.kind||"conversion"===e.data.value.kind);function Ou(e){if(!e)return!1;if("disabled"in e&&e.disabled)return!1;if(e.onclick||e.onmousedown||e.onmouseup)return!0;if(["A","BUTTON","INPUT","LABEL","SELECT","OPTION","TEXTAREA","SUMMARY","AREA"].includes(e.tagName))return!0;const t=e.getAttribute("role");if(t&&["button","link","menuitem","option","tab","checkbox","radio","switch"].includes(t))return!0;const r=["href","tabindex","data-clickable","aria-pressed","aria-expanded"];for(const t of r)if(e.hasAttribute(t))return!0;if(e.classList.contains("wp-block-navigation-item"))return!0;const n=window.getComputedStyle(e);if("pointer"===n.cursor)return!0;if("none"===n.pointerEvents)return!1;let s=e.parentElement;for(;s;){if("A"===s.tagName||"BUTTON"===s.tagName)return!0;s=s.parentElement}return!1}var Mu;Mu=function(){const e=window;(!function(e){return!!e&&"object"==typeof e&&"nab"in e&&!!e.nab&&"object"==typeof e.nab&&"ready"in e.nab&&"function"==typeof e.nab.ready}(e)?e=>e():e.nab.ready)((()=>(e=>{const t=indexedDB.open("neliosr-events",1);t.onupgradeneeded=function(e){Ec=e.target.result,Ec.objectStoreNames.contains(Rc)||Ec.createObjectStore(Rc,{keyPath:"id",autoIncrement:!0})},t.onerror=function(e){console.error("initEventsStore:",e.target.errorCode)},t.onsuccess=function(e){Ec=e.target.result,(()=>{const e=(()=>{const e=(()=>{const e=window;if(!(e=>!!e&&"object"==typeof e&&"neliosrSettings"in e)(e))return;const t=e.neliosrSettings,r=Object.assign({enabled:!0,mutationThrottleMs:180,maxBufferedMutations:200,ignoreSelectors:[],ignoreClasses:[],ignoreStyleProperties:[],keepSelectors:[]},t.recordingNoiseControl);return Object.assign(Object.assign({api:{mode:"native",url:""},isStagingSite:!1,monthlyQuota:0,site:"",trackShortSessions:!1,recordingsScope:[],excludedSelectors:[],samplingRate:{mode:"unlimited"},gdprCookie:{name:"",value:""}},t),{recordingNoiseControl:r})})();if(!e)return void console.error("[NSR] Settings not found.");if(!Mc(e))return;let t=Cc("neliosrSession");if(!t){Nc();const e=(new Date).getTime();t=JSON.stringify({id:vc(),first:e,last:e}),Sc("neliosrSession",t,{expires:dc})}let r=JSON.parse(t);if((new Date).getTime()-r.last>pc){Nc();const e=(new Date).getTime();r={id:vc(),first:e,last:e},Sc("neliosrSession",JSON.stringify(r),{expires:dc})}return Object.assign(Object.assign({},e),{id:r.id})})();e&&vu(e)})()}})()))},"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",Mu):Mu())})();var s=neliosr="undefined"==typeof neliosr?{}:neliosr;for(var o in n)s[o]=n[o];n.__esModule&&Object.defineProperty(s,"__esModule",{value:!0})})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.