PageSourceSearch

https://app.formdr.com/recorder.cf429ee296cf5892.esm.js

js formdr.com collected 2026-09-29 12:43:23 UTC 190,485 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[777],{37776:(e,t,r)=>{r.r(t),r.d(t,{Recorder:()=>Ro});var s,n=Object.defineProperty,o=(e,t,r)=>((e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r),i=Object.defineProperty,a=(e,t,r)=>((e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r),l=(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))(l||{});const c={Node:["childNodes","parentNode","parentElement","textContent","ownerDocument"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},u={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},h={};function p(e){if(h[e])return h[e];const t=/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&function(e){var t,r;const s=null==(r=null==(t=null==globalThis?void 0:globalThis.Zone)?void 0:t.__symbol__)?void 0:r.call(t,e);return s&&globalThis[s]?globalThis[s]:void 0}(e)||globalThis[e],r=t.prototype,s=e in c?c[e]:void 0,n=Boolean(s&&s.every((e=>{var t,s;return Boolean(null==(s=null==(t=Object.getOwnPropertyDescriptor(r,e))?void 0:t.get)?void 0:s.toString().includes("[native code]"))}))),o=e in u?u[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]"))}))),a=n&&i;let l=t.prototype;if(!a){let t;try{t=document.createElement("iframe"),t.hidden=!0,document.body.appendChild(t);const r=t.contentWindow;if(r){const t=r[e].prototype;t&&(l=t)}}finally{t&&document.body.removeChild(t)}}return h[e]=l,l}const d={};function f(e,t,r){var s;const n=`${e}.${String(r)}`;if(d[n])return d[n].call(t);const o=p(e),i=null==(s=Object.getOwnPropertyDescriptor(o,r))?void 0:s.get;return i?(d[n]=i,i.call(t)):t[r]}const m={};function g(e,t,r){const s=`${e}.${String(r)}`;if(m[s])return m[s].bind(t);const n=p(e)[r];return"function"!=typeof n?t[r]:(m[s]=n,n.bind(t))}const y={ownerDocument:function(e){return f("Node",e,"ownerDocument")},childNodes:function(e){return f("Node",e,"childNodes")},parentNode:function(e){return f("Node",e,"parentNode")},parentElement:function(e){return f("Node",e,"parentElement")},textContent:function(e){return f("Node",e,"textContent")},contains:function(e,t){return g("Node",e,"contains")(t)},getRootNode:function(e){return g("Node",e,"getRootNode")()},host:function(e){return e&&"host"in e?f("ShadowRoot",e,"host"):null},styleSheets:function(e){return e.styleSheets},shadowRoot:function(e){return e&&"shadowRoot"in e?f("Element",e,"shadowRoot"):null},querySelector:function(e,t){return f("Element",e,"querySelector")(t)},querySelectorAll:function(e,t){return f("Element",e,"querySelectorAll")(t)},mutationObserver:function(){return p("MutationObserver").constructor},patch:function(e,t,r){try{if(!(t in e))return()=>{};const s=e[t],n=r(s);return"function"==typeof n&&(n.prototype=n.prototype||{},Object.defineProperties(n,{__rrweb_original__:{enumerable:!1,value:s}})),e[t]=n,()=>{e[t]=s}}catch{return()=>{}}}};function w(e){return e.nodeType===e.ELEMENT_NODE}function b(e){const t=e&&"host"in e&&"mode"in e&&y.host(e)||null;return Boolean(t&&"shadowRoot"in t&&y.shadowRoot(t)===e)}function S(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function v(e){try{const r=e.rules||e.cssRules;if(!r)return null;let s=e.href;!s&&e.ownerNode&&(s=e.ownerNode.baseURI);const n=Array.from(r,(e=>C(e,s))).join("");return(t=n).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(r){return null}var t}function C(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?L(t,e.styleSheet.href):t}{let r=e.cssText;return function(e){return"selectorText"in e}(e)&&e.selectorText.includes(":")&&(r=function(e){const t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}(r)),t?L(r,t):r}}class k{constructor(){a(this,"idNodeMap",new Map),a(this,"nodeMetaMap",new WeakMap)}getId(e){var t;if(!e)return-1;return(null==(t=this.getMeta(e))?void 0:t.id)??-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);
vendor: 23,207 bytes, line 1
1this.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 x(){return new k}function O({element:e,maskInputOptions:t,tagName:r,type:s,value:n,maskInputFn:o}){let i=n||"";const a=s&&M(s);return(t[r.toLowerCase()]||a&&t[a])&&(i=o?o(i,e):"*".repeat(i.length)),i}function M(e){return e.toLowerCase()}const I="__rrweb_original__";function E(e){const t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?M(t):null}function R(e,t){let r;try{r=new URL(e,t??window.location.href)}catch(n){return null}const s=r.pathname.match(/\.([0-9a-z]+)(?:$)/i);return(null==s?void 0:s[1])??null}const A=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,T=/^(?:[a-z+]+:)?\/\//i,N=/^www\..*/i,_=/^(data:)([^,]*),(.*)/i;function L(e,t){return(e||"").replace(A,((e,r,s,n,o,i)=>{const a=s||o||i,l=r||n||"";if(!a)return e;if(T.test(a)||N.test(a))return`url(${l}${a}${l})`;if(_.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 t of u)"."!==t&&(".."===t?c.pop():c.push(t));return`url(${l}${c.join("/")}${l})`}))}function P(e,t=!1){return t?e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,""):e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,"").replace(/0px/g,"0")}function D(e,t){return function(e,t,r=!1){const s=Array.from(t.childNodes),n=[];let o=0;if(s.length>1&&e&&"string"==typeof e){let t=P(e,r);const i=t.length/e.length;for(let a=1;a<s.length;a++)if(s[a].textContent&&"string"==typeof s[a].textContent){const l=P(s[a].textContent,r),c=100;let u=3;for(;u<l.length&&(l[u].match(/[a-zA-Z0-9]/)||-1!==l.indexOf(l.substring(0,u),1));u++);for(;u<l.length;u++){let h=l.substring(0,u),p=t.split(h),d=-1;if(2===p.length)d=p[0].length;else if(p.length>2&&""===p[0]&&""!==s[a-1].textContent)d=t.indexOf(h,1);else if(1===p.length){if(h=h.substring(0,h.length-1),p=t.split(h),p.length<=1)return n.push(e),n;u=c+1}else u===l.length-1&&(d=t.indexOf(h));if(p.length>=2&&u>c){const e=s[a-1].textContent;if(e&&"string"==typeof e){const r=P(e).length;d=t.indexOf(h,r)}-1===d&&(d=p[0].length)}if(-1!==d){let a=Math.floor(d/i);for(;a>0&&a<e.length;){if(o+=1,o>50*s.length)return n.push(e),n;const l=P(e.substring(0,a),r);if(l.length===d){n.push(e.substring(0,a)),e=e.substring(a),t=t.substring(d);break}l.length<d?a+=Math.max(1,Math.floor((d-l.length)/i)):a-=Math.max(1,Math.floor((l.length-d)*i))}break}}}}return n.push(e),n}(e,t).join("/* rr_split */")}let F=1;const U=new RegExp("[^a-z0-9-_:]");function B(){return F++}let j,z;const W=/^[^ \t\n\r\u000c]+/,$=/^[, \t\n\r\u000c]+/;const V=new WeakMap;function G(e,t){return t&&""!==t.trim()?X(e,t):t}function H(e){return Boolean("svg"===e.tagName||e.ownerSVGElement)}function X(e,t){let r=V.get(e);if(r||(r=e.createElement("a"),V.set(e,r)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return r.setAttribute("href",t),r.href}function q(e,t,r,s){return s?"src"===r||"href"===r&&("use"!==t||"#"!==s[0])||"xlink:href"===r&&"#"!==s[0]||"background"===r&&["table","td","th"].includes(t)?G(e,s):"srcset"===r?function(e,t){if(""===t.trim())return t;let r=0;function s(e){let s;const n=e.exec(t.substring(r));return n?(s=n[0],r+=s.length,s):""}const n=[];for(;s($),!(r>=t.length);){let o=s(W);if(","===o.slice(-1))o=G(e,o.substring(0,o.length-1)),n.push(o);else{let s="";o=G(e,o);let i=!1;for(;;){const e=t.charAt(r);if(""===e){n.push((o+s).trim());break}if(i)")"===e&&(i=!1);else{if(","===e){r+=1,n.push((o+s).trim());break}"("===e&&(i=!0)}s+=e,r+=1}}}return n.join(", ")}(e,s):"style"===r?L(s,X(e)):"object"===t&&"data"===r?G(e,s):s:s}function J(e,t,r){return["video","audio"].includes(e)&&"autoplay"===t}function K(e,t,r){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return!!r&&K(y.parentNode(e),t,r);for(let s=e.classList.length;s--;){const r=e.classList[s];if(t.test(r))return!0}return!!r&&K(y.parentNode(e),t,r)}function Y(e,t,r,s){let n;if(w(e)){if(n=e,!y.childNodes(n).length)return!1}else{if(null===y.parentElement(e))return!1;n=y.parentElement(e)}try{if("string"==typeof t){if(s){if(n.closest(`.${t}`))return!0}else if(n.classList.contains(t))return!0}else if(K(n,t,s))return!0;if(r)if(s){if(n.closest(r))return!0}else if(n.matches(r))return!0}catch(o){}return!1}function Z(e,t){const{doc:r,mirror:s,blockClass:n,blockSelector:o,needsMask:i,inlineStylesheet:a,maskInputOptions:c={},maskTextFn:u,maskInputFn:h,dataURLOptions:p={},inlineImages:d,recordCanvas:f,keepIframeSrcFn:m,newlyAddedElement:g=!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,s);switch(e.nodeType){case e.DOCUMENT_NODE:return"CSS1Compat"!==e.compatMode?{type:l.Document,childNodes:[],compatMode:e.compatMode}:{type:l.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:l.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:b};case e.ELEMENT_NODE:return function(e,t){const{doc:r,blockClass:s,blockSelector:n,inlineStylesheet:o,maskInputOptions:i={},maskInputFn:a,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 s=e.classList[r];if(t.test(s))return!0}if(r)return e.matches(r)}catch(s){}return!1}(e,s,n),g=function(e){if(e instanceof HTMLFormElement)return"form";const t=M(e.tagName);return U.test(t)?"div":t}(e);let y={};const w=e.attributes.length;for(let l=0;l<w;l++){const t=e.attributes[l];J(g,t.name,t.value)||(y[t.name]=q(r,g,M(t.name),t.value))}if("link"===g&&o){const t=Array.from(r.styleSheets).find((t=>t.href===e.href));let s=null;t&&(s=v(t)),s&&(delete y.rel,delete y.href,y._cssText=s)}if("style"===g&&e.sheet){let t=v(e.sheet);t&&(e.childNodes.length>1&&(t=D(t,e)),y._cssText=t)}if(["input","textarea","select"].includes(g)){const t=e.value,r=e.checked;"radio"!==y.type&&"checkbox"!==y.type&&"submit"!==y.type&&"button"!==y.type&&t?y.value=O({element:e,type:E(e),tagName:g,value:t,maskInputOptions:i,maskInputFn:a}):r&&(y.checked=r)}"option"===g&&(e.selected&&!i.select?y.selected=!0:delete y.selected);"dialog"===g&&e.open&&(y.rr_open_mode=e.matches("dialog:modal")?"modal":"non-modal");if("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 s=0;s<e.height;s+=50){const n=t.getImageData,o=I in n?n.__rrweb_original__:n;if(new Uint32Array(o.call(t,r,s,Math.min(50,e.width-r),Math.min(50,e.height-s)).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),s=r.createElement("canvas");s.width=e.width,s.height=e.height;t!==s.toDataURL(c.type,c.quality)&&(y.rr_dataURL=t)}if("img"===g&&u){j||(j=r.createElement("canvas"),z=j.getContext("2d"));const t=e,s=t.currentSrc||t.getAttribute("src")||"<unknown-src>",n=t.crossOrigin,o=()=>{t.removeEventListener("load",o);try{j.width=t.naturalWidth,j.height=t.naturalHeight,z.drawImage(t,0,0),y.rr_dataURL=j.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=${s}! Error: ${e}`)}"anonymous"===t.crossOrigin&&(n?y.crossOrigin=n:t.removeAttribute("crossorigin"))};t.complete&&0!==t.naturalWidth?o():t.addEventListener("load",o)}if(["audio","video"].includes(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}d||(e.scrollLeft&&(y.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(y.rr_scrollTop=e.scrollTop));if(m){const{width:t,height:r}=e.getBoundingClientRect();y={class:y.class,rr_width:`${t}px`,rr_height:`${r}px`}}"iframe"!==g||p(y.src)||(e.contentDocument||(y.rr_src=y.src),delete y.src);let b;try{customElements.get(g)&&(b=!0)}catch(S){}return{type:l.Element,tagName:g,attributes:y,childNodes:[],isSVG:H(e)||void 0,needBlock:m,rootId:f,isCustom:b}}(e,{doc:r,blockClass:n,blockSelector:o,inlineStylesheet:a,maskInputOptions:c,maskInputFn:h,dataURLOptions:p,inlineImages:d,recordCanvas:f,keepIframeSrcFn:m,newlyAddedElement:g,rootId:b});case e.TEXT_NODE:return function(e,t){const{needsMask:r,maskTextFn:s,rootId:n,cssCaptured:o}=t,i=y.parentNode(e),a=i&&i.tagName;let c="";const u="STYLE"===a||void 0,h="SCRIPT"===a||void 0;h?c="SCRIPT_PLACEHOLDER":o||(c=y.textContent(e),u&&c&&(c=L(c,X(t.doc))));!u&&!h&&c&&r&&(c=s?s(c,y.parentElement(e)):c.replace(/[\S]/g,"*"));return{type:l.Text,textContent:c||"",rootId:n}}(e,{doc:r,needsMask:i,maskTextFn:u,rootId:b,cssCaptured:w});case e.CDATA_SECTION_NODE:return{type:l.CDATA,textContent:"",rootId:b};case e.COMMENT_NODE:return{type:l.Comment,textContent:y.textContent(e)||"",rootId:b};default:return!1}}function Q(e){return null==e?"":e.toLowerCase()}function ee(e){return!0===e||"all"===e?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===e,headMetaDescKeywords:"all"===e,headTitleMutations:"all"===e}:e||{}}function te(e,t){const{doc:r,mirror:s,blockClass:n,blockSelector:o,maskTextClass:i,maskTextSelector:a,skipChild:c=!1,inlineStylesheet:u=!0,maskInputOptions:h={},maskTextFn:p,maskInputFn:d,slimDOMOptions:f,dataURLOptions:m={},inlineImages:g=!1,recordCanvas:v=!1,onSerialize:C,onIframeLoad:k,iframeLoadTimeout:x=5e3,onStylesheetLoad:O,stylesheetLoadTimeout:M=5e3,keepIframeSrcFn:I=(()=>!1),newlyAddedElement:E=!1,cssCaptured:A=!1}=t;let{needsMask:T}=t,{preserveWhiteSpace:N=!0}=t;if(!T){T=Y(e,i,a,void 0===T)}const _=Z(e,{doc:r,mirror:s,blockClass:n,blockSelector:o,needsMask:T,inlineStylesheet:u,maskInputOptions:h,maskTextFn:p,maskInputFn:d,dataURLOptions:m,inlineImages:g,recordCanvas:v,keepIframeSrcFn:I,newlyAddedElement:E,cssCaptured:A});if(!_)return console.warn(e,"not serialized"),null;let L;L=s.hasNode(e)?s.getId(e):function(e,t){if(t.comment&&e.type===l.Comment)return!0;if(e.type===l.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel&&"script"===e.attributes.as||"modulepreload"===e.attributes.rel)||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&"js"===R(e.attributes.href)))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(Q(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===Q(e.attributes.name)||"icon"===Q(e.attributes.rel)||"apple-touch-icon"===Q(e.attributes.rel)||"shortcut icon"===Q(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&Q(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(Q(e.attributes.property).match(/^(og|twitter|fb):/)||Q(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===Q(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===Q(e.attributes.name)||"googlebot"===Q(e.attributes.name)||"bingbot"===Q(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===Q(e.attributes.name)||"generator"===Q(e.attributes.name)||"framework"===Q(e.attributes.name)||"publisher"===Q(e.attributes.name)||"progid"===Q(e.attributes.name)||Q(e.attributes.property).match(/^article:/)||Q(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===Q(e.attributes.name)||"yandex-verification"===Q(e.attributes.name)||"csrf-token"===Q(e.attributes.name)||"p:domain_verify"===Q(e.attributes.name)||"verify-v1"===Q(e.attributes.name)||"verification"===Q(e.attributes.name)||"shopify-checkout-api-token"===Q(e.attributes.name)))return!0}}return!1}(_,f)||!N&&_.type===l.Text&&!_.textContent.replace(/^\s+|\s+$/gm,"").length?-2:B();const P=Object.assign(_,{id:L});if(s.add(e,P),-2===L)return null;C&&C(e);let D=!c;if(P.type===l.Element){D=D&&!P.needBlock,delete P.needBlock;const t=y.shadowRoot(e);t&&S(t)&&(P.isShadowHost=!0)}if((P.type===l.Document||P.type===l.Element)&&D){f.headWhitespace&&P.type===l.Element&&"head"===P.tagName&&(N=!1);const t={doc:r,mirror:s,blockClass:n,blockSelector:o,needsMask:T,maskTextClass:i,maskTextSelector:a,skipChild:c,inlineStylesheet:u,maskInputOptions:h,maskTextFn:p,maskInputFn:d,slimDOMOptions:f,dataURLOptions:m,inlineImages:g,recordCanvas:v,preserveWhiteSpace:N,onSerialize:C,onIframeLoad:k,iframeLoadTimeout:x,onStylesheetLoad:O,stylesheetLoadTimeout:M,keepIframeSrcFn:I,cssCaptured:!1};if(P.type===l.Element&&"textarea"===P.tagName&&void 0!==P.attributes.value);else{P.type===l.Element&&void 0!==P.attributes._cssText&&"string"==typeof P.attributes._cssText&&(t.cssCaptured=!0);for(const r of Array.from(y.childNodes(e))){const e=te(r,t);e&&P.childNodes.push(e)}}let b=null;if(w(e)&&(b=y.shadowRoot(e)))for(const e of Array.from(y.childNodes(b))){const r=te(e,t);r&&(S(b)&&(r.isShadow=!0),P.childNodes.push(r))}}const F=y.parentNode(e);return F&&b(F)&&S(F)&&(P.isShadow=!0),P.type===l.Element&&"iframe"===P.tagName&&function(e,t,r){const s=e.contentWindow;if(!s)return;let n,o=!1;try{n=s.document.readyState}catch(a){return}if("complete"!==n){const s=setTimeout((()=>{o||(t(),o=!0)}),r);return void e.addEventListener("load",(()=>{clearTimeout(s),o=!0,t()}))}const i="about:blank";if(s.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&&k){const r=te(t,{doc:t,mirror:s,blockClass:n,blockSelector:o,needsMask:T,maskTextClass:i,maskTextSelector:a,skipChild:!1,inlineStylesheet:u,maskInputOptions:h,maskTextFn:p,maskInputFn:d,slimDOMOptions:f,dataURLOptions:m,inlineImages:g,recordCanvas:v,preserveWhiteSpace:N,onSerialize:C,onIframeLoad:k,iframeLoadTimeout:x,onStylesheetLoad:O,stylesheetLoadTimeout:M,keepIframeSrcFn:I});r&&k(e,r)}}),x),P.type===l.Element&&"link"===P.tagName&&"string"==typeof P.attributes.rel&&("stylesheet"===P.attributes.rel||"preload"===P.attributes.rel&&"string"==typeof P.attributes.href&&"css"===R(P.attributes.href))&&function(e,t,r){let s,n=!1;try{s=e.sheet}catch(i){return}if(s)return;const o=setTimeout((()=>{n||(t(),n=!0)}),r);e.addEventListener("load",(()=>{clearTimeout(o),n=!0,t()}))}(e,(()=>{if(O){const t=te(e,{doc:r,mirror:s,blockClass:n,blockSelector:o,needsMask:T,maskTextClass:i,maskTextSelector:a,skipChild:!1,inlineStylesheet:u,maskInputOptions:h,maskTextFn:p,maskInputFn:d,slimDOMOptions:f,dataURLOptions:m,inlineImages:g,recordCanvas:v,preserveWhiteSpace:N,onSerialize:C,onIframeLoad:k,iframeLoadTimeout:x,onStylesheetLoad:O,stylesheetLoadTimeout:M,keepIframeSrcFn:I});t&&O(e,t)}}),M),P}new RegExp(/(max|min)-device-(width|height)/.source,"g");function re(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function se(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 s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,s.get?s:{enumerable:!0,get:function(){return e[t]}})})),r}var ne,oe={exports:{}};function ie(){if(ne)return oe.exports;ne=1;var e=String,t=function(){return{isColorSupported:!1,reset:e,bold:e,dim:e,italic:e,underline:e,inverse:e,hidden:e,strikethrough:e,black:e,red:e,green:e,yellow:e,blue:e,magenta:e,cyan:e,white:e,gray:e,bgBlack:e,bgRed:e,bgGreen:e,bgYellow:e,bgBlue:e,bgMagenta:e,bgCyan:e,bgWhite:e}};return oe.exports=t(),oe.exports.createColors=t,oe.exports}const ae=se(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var le,ce;function ue(){if(ce)return le;ce=1;let e=ie(),t=ae;class r extends Error{constructor(e,t,s,n,o,i){super(e),this.name="CssSyntaxError",this.reason=e,o&&(this.file=o),n&&(this.source=n),i&&(this.plugin=i),void 0!==t&&void 0!==s&&("number"==typeof t?(this.line=t,this.column=s):(this.line=t.line,this.column=t.column,this.endLine=s.line,this.endColumn=s.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,r)}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(r){if(!this.source)return"";let s=this.source;null==r&&(r=e.isColorSupported),t&&r&&(s=t(s));let n,o,i=s.split(/\r?\n/),a=Math.max(this.line-3,0),l=Math.min(this.line+2,i.length),c=String(l).length;if(r){let{bold:t,gray:r,red:s}=e.createColors(!0);n=e=>t(s(e)),o=e=>r(e)}else n=o=e=>e;return i.slice(a,l).map(((e,t)=>{let r=a+1+t,s=" "+(" "+r).slice(-c)+" | ";if(r===this.line){let t=o(s.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return n(">")+o(s)+e+"\n "+t+n("^")}return" "+o(s)+e})).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}return le=r,r.default=r,le}var he,pe,de,fe,me,ge,ye,we,be,Se,ve,Ce,ke,xe,Oe,Me,Ie,Ee,Re,Ae,Te,Ne,_e,Le,Pe,De,Fe,Ue,Be,je,ze,We,$e,Ve,Ge,He,Xe,qe,Je,Ke,Ye,Ze,Qe,et,tt,rt,st,nt,ot,it,at,lt,ct,ut={};function ht(){return he||(he=1,ut.isClean=Symbol("isClean"),ut.my=Symbol("my")),ut}function pt(){if(de)return pe;de=1;const e={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:"    ",semicolon:!1};class t{constructor(e){this.builder=e}atrule(e,t){let r="@"+e.name,s=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:s&&(r+=" "),e.nodes)this.block(e,r+s);else{let n=(e.raws.between||"")+(t?";":"");this.builder(r+s+n,e)}}beforeAfter(e,t){let r;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 s=e.parent,n=0;for(;s&&"root"!==s.type;)n+=1,s=s.parent;if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<n;e++)r+=t}return r}block(e,t){let r,s=this.raw(e,"between","beforeOpen");this.builder(t+s+"{",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 s=0;s<e.nodes.length;s++){let n=e.nodes[s],o=this.raw(n,"before");o&&this.builder(o),this.stringify(n,t!==s||r)}}comment(e){let t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon"),s=e.prop+r+this.rawValue(e,"value");e.important&&(s+=e.raws.important||" !important"),t&&(s+=";"),this.builder(s,e)}document(e){this.body(e)}raw(t,r,s){let n;if(s||(s=r),r&&(n=t.raws[r],void 0!==n))return n;let o=t.parent;if("before"===s){if(!o||"root"===o.type&&o.first===t)return"";if(o&&"document"===o.type)return""}if(!o)return e[s];let i=t.root();if(i.rawCache||(i.rawCache={}),void 0!==i.rawCache[s])return i.rawCache[s];if("before"===s||"after"===s)return this.beforeAfter(t,s);{let e="raw"+((a=s)[0].toUpperCase()+a.slice(1));this[e]?n=this[e](i,t):i.walk((e=>{if(n=e.raws[r],void 0!==n)return!1}))}var a;return void 0===n&&(n=e[s]),i.rawCache[s]=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 s=r.parent;if(s&&s!==e&&s.parent&&s.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],s=e.raws[t];return s&&s.value===r?s.raw:r}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}}return pe=t,t.default=t,pe}function dt(){if(me)return fe;me=1;let e=pt();function t(t,r){new e(r).stringify(t)}return fe=t,t.default=t,fe}function ft(){if(ye)return ge;ye=1;let{isClean:e,my:t}=ht(),r=ue(),s=pt(),n=dt();function o(e,t){let r=new e.constructor;for(let s in e){if(!Object.prototype.hasOwnProperty.call(e,s))continue;if("proxyCache"===s)continue;let n=e[s],i=typeof n;"parent"===s&&"object"===i?t&&(r[s]=t):"source"===s?r[s]=n:Array.isArray(n)?r[s]=n.map((e=>o(e,r))):("object"===i&&null!==n&&(n=o(n)),r[s]=n)}return r}class i{constructor(r={}){this.raws={},this[e]=!1,this[t]=!0;for(let e in r)if("nodes"===e){this.nodes=[];for(let t of r[e])"function"==typeof t.clone?this.append(t.clone()):this.append(t)}else this[e]=r[e]}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={}
vendor: 4,940 bytes, line 1
1){let t=o(this);for(let r in e)t[r]=e[r];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:r,start:s}=this.rangeBy(t);return this.source.input.error(e,{column:s.column,line:s.line},{column:r.column,line:r.line},t)}return new r(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[e]){this[e]=!1;let t=this;for(;t=t.parent;)t[e]=!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 s=(t=this.toString()).indexOf(e.word);-1!==s&&(r=this.positionInside(s,t))}return r}positionInside(e,t){let r=t||this.toString(),s=this.source.start.column,n=this.source.start.line;for(let o=0;o<e;o++)"\n"===r[o]?(s=1,n+=1):s+=1;return{column:s,line:n}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){let s=this.toString(),n=s.indexOf(e.word);-1!==n&&(t=this.positionInside(n,s),r=this.positionInside(n+e.word.length,s))}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 s).raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,r=!1;for(let s of e)s===this?r=!0:r?(this.parent.insertAfter(t,s),t=s):this.parent.insertBefore(t,s);r||this.remove()}return this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}toJSON(e,t){let r={},s=null==t;t=t||new Map;let n=0;for(let o in this){if(!Object.prototype.hasOwnProperty.call(this,o))continue;if("parent"===o||"proxyCache"===o)continue;let e=this[o];if(Array.isArray(e))r[o]=e.map((e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e));else if("object"==typeof e&&e.toJSON)r[o]=e.toJSON(null,t);else if("source"===o){let s=t.get(e.input);null==s&&(s=n,t.set(e.input,n),n++),r[o]={end:e.end,inputId:s,start:e.start}}else r[o]=e}return s&&(r.inputs=[...t.keys()].map((e=>e.toJSON()))),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=n){e.stringify&&(e=e.stringify);let t="";return e(this,(e=>{t+=e})),t}warn(e,t,r){let s={node:this};for(let n in r)s[n]=r[n];return e.warn(t,s)}get proxyOf(){return this}}return ge=i,i.default=i,ge}function mt(){if(be)return we;be=1;let e=ft();class t extends e{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]}}return we=t,t.default=t,we}function gt(){if(ve)return Se;ve=1;return Se={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 s="",n=r;for(;n--;)s+=e[Math.random()*e.length|0];return s}}}function yt(){if(ke)return Ce;ke=1;let{SourceMapConsumer:e,SourceMapGenerator:t}=ae,{existsSync:r,readFileSync:s}=ae,{dirname:n,join:o}=ae;class i{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,s=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=n(this.mapFile)),s&&(this.text=s)}consumer(){return this.consumerCache||(this.consumerCache=new e(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);
vendor: 25,568 bytes, line 1
1if(!t)return;let r=e.lastIndexOf(t.pop()),s=e.indexOf("*/",r);r>-1&&s>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,s)))}loadFile(e){if(this.root=n(e),r(e))return this.mapFile=e,s(e,"utf-8").toString().trim()}loadMap(r,s){if(!1===s)return!1;if(s){if("string"==typeof s)return s;if("function"!=typeof s){if(s instanceof e)return t.fromSourceMap(s).toString();if(s instanceof t)return s.toString();if(this.isMap(s))return JSON.stringify(s);throw new Error("Unsupported previous source map format: "+s.toString())}{let e=s(r);if(e){let t=this.loadFile(e);if(!t)throw new Error("Unable to load previous source map: "+e.toString());return t}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let e=this.annotation;return r&&(e=o(n(r),e)),this.loadFile(e)}}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return Ce=i,i.default=i,Ce}function wt(){if(Oe)return xe;Oe=1;let{SourceMapConsumer:e,SourceMapGenerator:t}=ae,{fileURLToPath:r,pathToFileURL:s}=ae,{isAbsolute:n,resolve:o}=ae,{nanoid:i}=gt(),a=ae,l=ue(),c=yt(),u=Symbol("fromOffsetCache"),h=Boolean(e&&t),p=Boolean(o&&n);class d{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]||"\ufffe"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!p||/^\w+:\/\//.test(t.from)||n(t.from)?this.file=t.from:this.file=o(t.from)),p&&h){let e=new c(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 "+i(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,r,n={}){let o,i,a;if(t&&"object"==typeof t){let e=t,s=r;if("number"==typeof e.offset){let s=this.fromOffset(e.offset);t=s.line,r=s.col}else t=e.line,r=e.column;if("number"==typeof s.offset){let e=this.fromOffset(s.offset);i=e.line,a=e.col}else i=s.line,a=s.column}else if(!r){let e=this.fromOffset(t);t=e.line,r=e.col}let c=this.origin(t,r,i,a);return o=c?new l(e,void 0===c.endLine?c.line:{column:c.column,line:c.line},void 0===c.endLine?c.column:{column:c.endColumn,line:c.endLine},c.source,c.file,n.plugin):new l(e,void 0===i?t:{column:r,line:t},void 0===i?r:{column:a,line:i},this.css,this.file,n.plugin),o.input={column:r,endColumn:a,endLine:i,line:t,source:this.css},this.file&&(s&&(o.input.url=s(this.file).toString()),o.input.file=this.file),o}fromOffset(e){let t,r;if(this[u])r=this[u];else{let e=this.css.split("\n");r=new Array(e.length);let t=0;for(let s=0,n=e.length;s<n;s++)r[s]=t,t+=e[s].length+1;this[u]=r}t=r[r.length-1];let s=0;if(e>=t)s=r.length-1;else{let t,n=r.length-2;for(;s<n;)if(t=s+(n-s>>1),e<r[t])n=t-1;else{if(!(e>=r[t+1])){s=t;break}s=t+1}}return{col:e-r[s]+1,line:s+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:o(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,o,i){if(!this.map)return!1;let a,l,c=this.map.consumer(),u=c.originalPositionFor({column:t,line:e});if(!u.source)return!1;"number"==typeof o&&(a=c.originalPositionFor({column:i,line:o})),l=n(u.source)?s(u.source):new URL(u.source,this.map.consumer().sourceRoot||s(this.map.mapFile));let h={column:u.column,endColumn:a&&a.column,endLine:a&&a.line,line:u.line,url:l.toString()};if("file:"===l.protocol){if(!r)throw new Error("file: protocol is not available in this PostCSS build");h.file=r(l)}let p=c.sourceContentFor(u.source);return p&&(h.source=p),h}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}}return xe=d,d.default=d,a&&a.registerInput&&a.registerInput(d),xe}function bt(){if(Ie)return Me;Ie=1;let{SourceMapConsumer:e,SourceMapGenerator:t}=ae,{dirname:r,relative:s,resolve:n,sep:o}=ae,{pathToFileURL:i}=ae,a=wt(),l=Boolean(e&&t),c=Boolean(r&&n&&s&&o);return Me=class{constructor(e,t,r,s){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=s,this.originalCSS=s,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;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 t of this.previous()){let s,n=this.toUrl(this.path(t.file)),o=t.root||r(t.file);!1===this.mapOpts.sourcesContent?(s=new e(t.text),s.sourcesContent&&(s.sourcesContent=null)):s=t.consumer(),this.map.applySourceMap(s,n,this.toUrl(this.path(o)))}}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(),c&&l&&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=t.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new t({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 t({file:this.outputFile(),ignoreInvalidMapping:!0});let e,r,s=1,n=1,o="<no source>",i={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,((t,a,l)=>{if(this.css+=t,a&&"end"!==l&&(i.generated.line=s,i.generated.column=n-1,a.source&&a.source.start?(i.source=this.sourcePath(a),i.original.line=a.source.start.line,i.original.column=a.source.start.column-1,this.map.addMapping(i)):(i.source=o,i.original.line=1,i.original.column=0,this.map.addMapping(i))),e=t.match(/\n/g),e?(s+=e.length,r=t.lastIndexOf("\n"),n=t.length-r):n+=t.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?(i.source=this.sourcePath(a),i.original.line=a.source.end.line,i.original.column=a.source.end.column-1,i.generated.line=s,i.generated.column=n-2,this.map.addMapping(i)):(i.source=o,i.original.line=1,i.original.column=0,i.generated.line=s,i.generated.column=n-1,this.map.addMapping(i)))}}))}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 o=this.opts.to?r(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(o=r(n(o,this.mapOpts.annotation)));let i=s(o,e);return this.memoizedPaths.set(e,i),i}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 a(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk((t=>{if(t.source){let r=t.source.input.from;if(r&&!e[r]){e[r]=!0;let s=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(s,t.source.input.css)}}}));else if(this.css){let 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(i){let t=i(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;"\\"===o&&(e=e.replace(/\\/g,"/"));let r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r}},Me}function St(){if(Re)return Ee;Re=1;let e=ft();class t extends e{constructor(e){super(e),this.type="comment"}}return Ee=t,t.default=t,Ee}function vt(){if(Te)return Ae;Te=1;let e,t,r,s,{isClean:n,my:o}=ht(),i=mt(),a=St(),l=ft();function c(e){return e.map((e=>(e.nodes&&(e.nodes=c(e.nodes)),delete e.source,e)))}function u(e){if(e[n]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)u(t)}class h extends l{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,s=this.getIterator();for(;this.indexes[s]<this.proxyOf.nodes.length&&(t=this.indexes[s],r=e(this.proxyOf.nodes[t],t),!1!==r);)this.indexes[s]+=1;return delete this.indexes[s],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,s=this.index(e),n=this.normalize(t,this.proxyOf.nodes[s]).reverse();s=this.index(e);for(let o of n)this.proxyOf.nodes.splice(s+1,0,o);for(let o in this.indexes)r=this.indexes[o],s<r&&(this.indexes[o]=r+n.length);return this.markDirty(),this}insertBefore(e,t){let r,s=this.index(e),n=0===s&&"prepend",o=this.normalize(t,this.proxyOf.nodes[s],n).reverse();s=this.index(e);for(let i of o)this.proxyOf.nodes.splice(s,0,i);for(let i in this.indexes)r=this.indexes[i],s<=r&&(this.indexes[i]=r+o.length);return this.markDirty(),this}normalize(s,l){if("string"==typeof s)s=c(e(s).nodes);else if(void 0===s)s=[];else if(Array.isArray(s)){s=s.slice(0);for(let e of s)e.parent&&e.parent.removeChild(e,"ignore")}else if("root"===s.type&&"document"!==this.type){s=s.nodes.slice(0);for(let e of s)e.parent&&e.parent.removeChild(e,"ignore")}else if(s.type)s=[s];else if(s.prop){if(void 0===s.value)throw new Error("Value field is missed in node creation");"string"!=typeof s.value&&(s.value=String(s.value)),s=[new i(s)]}else if(s.selector)s=[new t(s)];else if(s.name)s=[new r(s)];else{if(!s.text)throw new Error("Unknown node type in node creation");s=[new a(s)]}return s.map((e=>(e[o]||h.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[n]&&u(e),void 0===e.raws.before&&l&&void 0!==l.raws.before&&(e.raws.before=l.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e)))}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((s=>{t.props&&!t.props.includes(s.prop)||t.fast&&!s.value.includes(t.fast)||(s.value=s.value.replace(e,r))})),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each(((t,r)=>{let s;try{s=e(t,r)}catch(n){throw t.addToError(n)}return!1!==s&&t.walk&&(s=t.walk(e)),s}))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk(((r,s)=>{if("atrule"===r.type&&e.test(r.name))return t(r,s)})):this.walk(((r,s)=>{if("atrule"===r.type&&r.name===e)return t(r,s)})):(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,s)=>{if("decl"===r.type&&e.test(r.prop))return t(r,s)})):this.walk(((r,s)=>{if("decl"===r.type&&r.prop===e)return t(r,s)})):(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,s)=>{if("rule"===r.type&&e.test(r.selector))return t(r,s)})):this.walk(((r,s)=>{if("rule"===r.type&&r.selector===e)return t(r,s)})):(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]}}return h.registerParse=t=>{e=t},h.registerRule=e=>{t=e},h.registerAtRule=e=>{r=e},h.registerRoot=e=>{s=e},Ae=h,h.default=h,h.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,r.prototype):"rule"===e.type?Object.setPrototypeOf(e,t.prototype):"decl"===e.type?Object.setPrototypeOf(e,i.prototype):"comment"===e.type?Object.setPrototypeOf(e,a.prototype):"root"===e.type&&Object.setPrototypeOf(e,s.prototype),e[o]=!0,e.nodes&&e.nodes.forEach((e=>{h.rebuild(e)}))},Ae}function Ct(){if(_e)return Ne;_e=1;let e,t,r=vt();class s extends r{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(r={}){return new e(new t,this,r).stringify()}}return s.registerLazyResult=t=>{e=t},s.registerProcessor=e=>{t=e},Ne=s,s.default=s,Ne}function kt(){if(Pe)return Le;Pe=1;let e={};return Le=function(t){e[t]||(e[t]=!0,"undefined"!=typeof console&&console.warn&&console.warn(t))}}function xt(){if(Fe)return De;Fe=1;class e{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 r in t)this[r]=t[r]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}return De=e,e.default=e,De}function Ot(){if(Be)return Ue;Be=1;let e=xt();class t{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(t,r={}){r.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(r.plugin=this.lastPlugin.postcssPlugin);let s=new e(t,r);return this.messages.push(s),s}warnings(){return this.messages.filter((e=>"warning"===e.type))}get content(){return this.css}}return Ue=t,t.default=t,Ue}function Mt(){if($e)return We;$e=1;let e=vt();class t extends e{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)}}return We=t,t.default=t,e.registerAtRule(t),We}function It(){if(Ge)return Ve;Ge=1;let e,t,r=vt();class s extends r{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,r){let s=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 n of s)n.raws.before=t.raws.before;return s}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(r={}){return new e(new t,this,r).stringify()}}return s.registerLazyResult=t=>{e=t},s.registerProcessor=e=>{t=e},Ve=s,s.default=s,r.registerRoot(s),Ve}function Et(){if(Xe)return He;Xe=1;let e={comma:t=>e.split(t,[","],!0),space:t=>e.split(t,[" ","\n","\t"]),split(e,t,r){let s=[],n="",o=!1,i=0,a=!1,l="",c=!1;for(let u of e)c?c=!1:"\\"===u?c=!0:a?u===l&&(a=!1):'"'===u||"'"===u?(a=!0,l=u):"("===u?i+=1:")"===u?i>0&&(i-=1):0===i&&t.includes(u)&&(o=!0),o?(""!==n&&s.push(n.trim()),n="",o=!1):n+=u;return(r||""!==n)&&s.push(n.trim()),s}};return He=e,e.default=e,He}function Rt(){if(Je)return qe;Je=1;let e=vt(),t=Et();class r extends e{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return t.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)}}return qe=r,r.default=r,e.registerRule(r),qe}function At(){if(Ye)return Ke;Ye=1;let e=mt(),t=function(){if(ze)return je;ze=1;const e="'".charCodeAt(0),t='"'.charCodeAt(0),r="\\".charCodeAt(0),s="/".charCodeAt(0),n="\n".charCodeAt(0),o=" ".charCodeAt(0),i="\f".charCodeAt(0),a="\t".charCodeAt(0),l="\r".charCodeAt(0),c="[".charCodeAt(0),u="]".charCodeAt(0),h="(".charCodeAt(0),p=")".charCodeAt(0),d="{".charCodeAt(0),f="}".charCodeAt(0),m=";".charCodeAt(0),g="*".charCodeAt(0),y=":".charCodeAt(0),w="@".charCodeAt(0),b=/[\t\n\f\r "#'()/;[\\\]{}]/g,S=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,v=/.[\r\n"'(/\\]/,C=/[\da-f]/i;return je=function(k,x={}){let O,M,I,E,R,A,T,N,_,L,P=k.css.valueOf(),D=x.ignoreErrors,F=P.length,U=0,B=[],j=[];function z(e){throw k.error("Unclosed "+e,U)}return{back:function(e){j.push(e)},endOfFile:function(){return 0===j.length&&U>=F},nextToken:function(k){if(j.length)return j.pop();if(U>=F)return;let x=!!k&&k.ignoreUnclosed;switch(O=P.charCodeAt(U),O){case n:case o:case a:case l:case i:M=U;do{M+=1,O=P.charCodeAt(M)}while(O===o||O===n||O===a||O===l||O===i);L=["space",P.slice(U,M)],U=M-1;break;case c:case u:case d:case f:case y:case m:case p:{let e=String.fromCharCode(O);L=[e,e,U];break}case h:if(N=B.length?B.pop()[1]:"",_=P.charCodeAt(U+1),"url"===N&&_!==e&&_!==t&&_!==o&&_!==n&&_!==a&&_!==i&&_!==l){M=U;do{if(A=!1,M=P.indexOf(")",M+1),-1===M){if(D||x){M=U;break}z("bracket")}for(T=M;P.charCodeAt(T-1)===r;)T-=1,A=!A}while(A);L=["brackets",P.slice(U,M+1),U,M],U=M}else M=P.indexOf(")",U+1),E=P.slice(U,M+1),-1===M||v.test(E)?L=["(","(",U]:(L=["brackets",E,U,M],U=M);break;case e:case t:I=O===e?"'":'"',M=U;do{if(A=!1,M=P.indexOf(I,M+1),-1===M){if(D||x){M=U+1;break}z("string")}for(T=M;P.charCodeAt(T-1)===r;)T-=1,A=!A}while(A);L=["string",P.slice(U,M+1),U,M],U=M;break;case w:b.lastIndex=U+1,b.test(P),M=0===b.lastIndex?P.length-1:b.lastIndex-2,L=["at-word",P.slice(U,M+1),U,M],U=M;break;case r:for(M=U,R=!0;P.charCodeAt(M+1)===r;)M+=1,R=!R;if(O=P.charCodeAt(M+1),R&&O!==s&&O!==o&&O!==n&&O!==a&&O!==l&&O!==i&&(M+=1,C.test(P.charAt(M)))){for(;C.test(P.charAt(M+1));)M+=1;P.charCodeAt(M+1)===o&&(M+=1)}L=["word",P.slice(U,M+1),U,M],U=M;break;default:O===s&&P.charCodeAt(U+1)===g?(M=P.indexOf("*/",U+2)+1,0===M&&(D||x?M=P.length:z("comment")),L=["comment",P.slice(U,M+1),U,M],U=M):(S.lastIndex=U+1,S.test(P),M=0===S.lastIndex?P.length-1:S.lastIndex-2,L=["word",P.slice(U,M+1),U,M],B.push(L),U=M)}return U++,L},position:function(){return U}}}}(),r=St(),s=Mt(),n=It(),o=Rt();const i={empty:!0,space:!0};return Ke=class{constructor(e){this.input=e,this.root=new n,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,o=new s;o.name=e[1].slice(1),""===o.name&&this.unnamedAtrule(o,e),this.init(o,e[2]);let i=!1,a=!1,l=[],c=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?c.push("("===t?")":"]"):"{"===t&&c.length>0?c.push("}"):t===c[c.length-1]&&c.pop(),0===c.length){if(";"===t){o.source.end=this.getPosition(e[2]),o.source.end.offset++,this.semicolon=!0;break}if("{"===t){a=!0;break}if("}"===t){if(l.length>0){for(n=l.length-1,r=l[n];r&&"space"===r[0];)r=l[--n];r&&(o.source.end=this.getPosition(r[3]||r[2]),o.source.end.offset++)}this.end(e);break}l.push(e)}else l.push(e);if(this.tokenizer.endOfFile()){i=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(o.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(o,"params",l),i&&(e=l[l.length-1],o.source.end=this.getPosition(e[3]||e[2]),o.source.end.offset++,this.spaces=o.raws.between,o.raws.between="")):(o.raws.afterName="",o.params=""),a&&(o.nodes=[],this.current=o)}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let r,s=0;for(let n=t-1;n>=0&&(r=e[n],"space"===r[0]||(s+=1,2!==s));n--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}colon(e){let t,r,s,n=0;for(let[o,i]of e.entries()){if(t=i,r=t[0],"("===r&&(n+=1),")"===r&&(n-=1),0===n&&":"===r){if(s){if("word"===s[0]&&"progid"===s[1])continue;return o}this.doubleColon(t)}s=t}return!1}comment(e){let t=new r;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let s=e[1].slice(2,-2);if(/^\s*$/.test(s))t.text="",t.raws.left=s,t.raws.right="";else{let e=s.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}createTokenizer(){this.tokenizer=t(this.input)}decl(t,r){let s=new e;this.init(s,t[0][2]);let n,o=t[t.length-1];for(";"===o[0]&&(this.semicolon=!0,t.pop()),s.source.end=this.getPosition(o[3]||o[2]||function(e){for(let t=e.length-1;t>=0;t--){let r=e[t],s=r[3]||r[2];if(s)return s}}(t)),s.source.end.offset++;"word"!==t[0][0];)1===t.length&&this.unknownWord(t),s.raws.before+=t.shift()[1];for(s.source.start=this.getPosition(t[0][2]),s.prop="";t.length;){let e=t[0][0];if(":"===e||"space"===e||"comment"===e)break;s.prop+=t.shift()[1]}for(s.raws.between="";t.length;){if(n=t.shift(),":"===n[0]){s.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),s.raws.between+=n[1]}"_"!==s.prop[0]&&"*"!==s.prop[0]||(s.raws.before+=s.prop[0],s.prop=s.prop.slice(1));let i,a=[];for(;t.length&&(i=t[0][0],"space"===i||"comment"===i);)a.push(t.shift());this.precheckMissedSemicolon(t);for(let e=t.length-1;e>=0;e--){if(n=t[e],"!important"===n[1].toLowerCase()){s.important=!0;let r=this.stringFrom(t,e);r=this.spacesFromEnd(t)+r," !important"!==r&&(s.raws.important=r);break}if("important"===n[1].toLowerCase()){let r=t.slice(0),n="";for(let t=e;t>0;t--){let e=r[t][0];if(0===n.trim().indexOf("!")&&"space"!==e)break;n=r.pop()[1]+n}0===n.trim().indexOf("!")&&(s.important=!0,s.raws.important=n,t=r)}if("space"!==n[0]&&"comment"!==n[0])break}t.some((e=>"space"!==e[0]&&"comment"!==e[0]))&&(s.raws.between+=a.map((e=>e[1])).join(""),a=[]),this.raw(s,"value",a.concat(t),r),s.value.includes(":")&&!r&&this.checkMissedSemicolon(t)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new o;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,s=!1,n=null,o=[],i=e[1].startsWith("--"),a=[],l=e;for(;l;){if(r=l[0],a.push(l),"("===r||"["===r)n||(n=l),o.push("("===r?")":"]");else if(i&&s&&"{"===r)n||(n=l),o.push("}");else if(0===o.length){if(";"===r){if(s)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&&(s=!0)}else r===o[o.length-1]&&(o.pop(),0===o.length&&(n=null));l=this.tokenizer.nextToken()}
vendor: 4,668 bytes, line 1
1if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(n),t&&s){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,s){let n,o,a,l,c=r.length,u="",h=!0;for(let p=0;p<c;p+=1)n=r[p],o=n[0],"space"!==o||p!==c-1||s?"comment"===o?(l=r[p-1]?r[p-1][0]:"empty",a=r[p+1]?r[p+1][0]:"empty",i[l]||i[a]||","===u.slice(-1)?h=!1:u+=n[1]):u+=n[1]:h=!1;if(!h){let s=r.reduce(((e,t)=>e+t[1]),"");e.raws[t]={raw:s,value:u}}e[t]=u}rule(e){e.pop();let t=new o;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 s=t;s<e.length;s++)r+=e[s][1];return e.splice(t,e.length-t),r}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}}}function Tt(){if(Qe)return Ze;Qe=1;let e=vt(),t=At(),r=wt();function s(e,s){let n=new r(e,s),o=new t(n);try{o.parse()}catch(i){throw i}return o.root}return Ze=s,s.default=s,e.registerParse(s),Ze}function Nt(){if(tt)return et;tt=1;let{isClean:e,my:t}=ht(),r=bt(),s=dt(),n=vt(),o=Ct(),i=(kt(),Ot()),a=Tt(),l=It();const c={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},u={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},h={Once:!0,postcssPlugin:!0,prepare:!0};function p(e){return"object"==typeof e&&"function"==typeof e.then}function d(e){let t=!1,r=c[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function f(e){let t;return t="document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:d(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function m(t){return t[e]=!1,t.nodes&&t.nodes.forEach((e=>m(e))),t}let g={};class y{constructor(e,r,s){let o;if(this.stringified=!1,this.processed=!1,"object"!=typeof r||null===r||"root"!==r.type&&"document"!==r.type)if(r instanceof y||r instanceof i)o=m(r.root),r.map&&(void 0===s.map&&(s.map={}),s.map.inline||(s.map.inline=!1),s.map.prev=r.map);else{let e=a;s.syntax&&(e=s.syntax.parse),s.parser&&(e=s.parser),e.parse&&(e=e.parse);try{o=e(r,s)}catch(l){this.processed=!0,this.error=l}o&&!o[t]&&n.rebuild(o)}else o=m(r);this.result=new i(e,o,s),this.helpers={...g,postcss:g,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(s){console&&console.error&&console.error(s)}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(!u[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}
1. Try to update PostCSS (${this.processor.version} now).`);if(!h[r])if("object"==typeof t[r])for(let s in t[r])e(t,"*"===s?r:r+"-"+s.toLowerCase(),t[r][s]);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 r=this.plugins[e],s=this.runOnRoot(r);if(p(s))try{await s}catch(t){throw this.handleError(t)}}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[e];){t[e]=!0;let s=[f(t)];for(;s.length>0;){let e=this.visitTick(s);if(p(e))try{await e}catch(r){let e=s[s.length-1].node;throw this.handleError(r,e)}}}if(this.listeners.OnceExit)for(let[e,s]of this.listeners.OnceExit){this.result.lastPlugin=e;try{if("document"===t.type){let e=t.nodes.map((e=>s(e,this.helpers)));await Promise.all(e)}else await s(t,this.helpers)}catch(r){throw this.handleError(r)}}}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 p(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(t){throw this.handleError(t)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=s;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let n=new r(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[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(p(this.runOnRoot(e)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[e];)t[e]=!0,this.walkSync(t);if(this.listeners.OnceExit)if("document"===t.type)for(let e of t.nodes)this.visitSync(this.listeners.OnceExit,e);else this.visitSync(this.listeners.OnceExit,t)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[s,n]of e){let e;this.result.lastPlugin=s;try{e=n(t,this.helpers)}catch(r){throw this.handleError(r,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(p(e))throw this.getAsyncError()}}visitTick(t){let r=t[t.length-1],{node:s,visitors:n}=r;if("root"!==s.type&&"document"!==s.type&&!s.parent)return void t.pop();if(n.length>0&&r.visitorIndex<n.length){let[e,t]=n[r.visitorIndex];r.visitorIndex+=1,r.visitorIndex===n.length&&(r.visitors=[],r.visitorIndex=0),this.result.lastPlugin=e;try{return t(s.toProxy(),this.helpers)}catch(i){throw this.handleError(i,s)}}if(0!==r.iterator){let n,o=r.iterator;for(;n=s.nodes[s.indexes[o]];)if(s.indexes[o]+=1,!n[e])return n[e]=!0,void t.push(f(n));r.iterator=0,delete s.indexes[o]}let o=r.events;for(;r.eventIndex<o.length;){let t=o[r.eventIndex];if(r.eventIndex+=1,0===t)return void(s.nodes&&s.nodes.length&&(s[e]=!0,r.iterator=s.getIterator()));if(this.listeners[t])return void(r.visitors=this.listeners[t])}t.pop()}walkSync(t){t[e]=!0;let r=d(t);for(let s of r)if(0===s)t.nodes&&t.each((t=>{t[e]||this.walkSync(t)}));else{let e=this.listeners[s];if(e&&this.visitSync(e,t.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}return y.registerPostcss=e=>{g=e},et=y,y.default=y,l.registerLazyResult(y),o.registerLazyResult(y),et}function _t(){if(ot)return nt;ot=1;let e=function(){if(st)return rt;st=1;let e=bt(),t=dt(),r=(kt(),Tt());const s=Ot();class n{constructor(r,n,o){let i;n=n.toString(),this.stringified=!1,this._processor=r,this._css=n,this._opts=o,this._map=void 0;let a=t;this.result=new s(this._processor,i,this._opts),this.result.css=n;let l=this;Object.defineProperty(this.result,"root",{get:()=>l.root});let c=new e(a,i,this._opts,n);if(c.isMap()){let[e,t]=c.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else c.clearAnnotation(),this.result.css=c.css}
vendor: 12,735 bytes, line 1
1async(){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=r;try{e=t(this._css,this._opts)}catch(s){this.error=s}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}}return rt=n,n.default=n,rt}(),t=Nt(),r=Ct(),s=It();class n{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(r,s={}){return this.plugins.length||s.parser||s.stringifier||s.syntax?new t(this,r,s):new e(this,r,s)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}return nt=n,n.default=n,s.registerProcessor(n),r.registerProcessor(n),nt}var Lt=function(){if(ct)return lt;ct=1;let e=ue(),t=mt(),r=Nt(),s=vt(),n=_t(),o=dt(),i=function(){if(at)return it;at=1;let e=mt(),t=yt(),r=St(),s=Mt(),n=wt(),o=It(),i=Rt();function a(l,c){if(Array.isArray(l))return l.map((e=>a(e)));let{inputs:u,...h}=l;if(u){c=[];for(let e of u){let r={...e,__proto__:n.prototype};r.map&&(r.map={...r.map,__proto__:t.prototype}),c.push(r)}}if(h.nodes&&(h.nodes=l.nodes.map((e=>a(e,c)))),h.source){let{inputId:e,...t}=h.source;h.source=t,null!=e&&(h.source.input=c[e])}if("root"===h.type)return new o(h);if("decl"===h.type)return new e(h);if("rule"===h.type)return new i(h);if("comment"===h.type)return new r(h);if("atrule"===h.type)return new s(h);throw new Error("Unknown node type: "+l.type)}return it=a,a.default=a,it}(),a=Ct(),l=xt(),c=St(),u=Mt(),h=Ot(),p=wt(),d=Tt(),f=Et(),m=Rt(),g=It(),y=ft();function w(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new n(e)}return w.plugin=function(e,t){let r,s=!1;function o(...r){console&&console.warn&&!s&&(s=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),{NODE_ENV:"production",NX_NO_CLOUD:"true",NX_DAEMON:"false",NX_CLI_SET:"true",NX_VERBOSE_LOGGING:"true",NX_CLOUD_LIGHT_CLIENT_RESOLUTION_PATHS:'["/formdr/node_modules/nx-cloud/node_modules","/formdr/node_modules"]',NX_WORKSPACE_ROOT:"/formdr",NX_SKIP_NX_CACHE:"true",NX_TERMINAL_OUTPUT_PATH:"/formdr/node_modules/.cache/nx/terminalOutputs/db41ef6bb5ed58c9c481095583a1cc5c016033f9f9b8efe6a813ba21b3d84ca3",NX_TASK_TARGET_PROJECT:"app",NX_TASK_HASH:"db41ef6bb5ed58c9c481095583a1cc5c016033f9f9b8efe6a813ba21b3d84ca3"}.LANG&&{NODE_ENV:"production",NX_NO_CLOUD:"true",NX_DAEMON:"false",NX_CLI_SET:"true",NX_VERBOSE_LOGGING:"true",NX_CLOUD_LIGHT_CLIENT_RESOLUTION_PATHS:'["/formdr/node_modules/nx-cloud/node_modules","/formdr/node_modules"]',NX_WORKSPACE_ROOT:"/formdr",NX_SKIP_NX_CACHE:"true",NX_TERMINAL_OUTPUT_PATH:"/formdr/node_modules/.cache/nx/terminalOutputs/db41ef6bb5ed58c9c481095583a1cc5c016033f9f9b8efe6a813ba21b3d84ca3",NX_TASK_TARGET_PROJECT:"app",NX_TASK_HASH:"db41ef6bb5ed58c9c481095583a1cc5c016033f9f9b8efe6a813ba21b3d84ca3"}.LANG.startsWith("cn")&&console.warn(e+": \u91cc\u9762 postcss.plugin \u88ab\u5f03\u7528. \u8fc1\u79fb\u6307\u5357:\nhttps://www.w3ctech.com/topic/2226"));let o=t(...r);return o.postcssPlugin=e,o.postcssVersion=(new n).version,o}return Object.defineProperty(o,"postcss",{get:()=>(r||(r=o()),r)}),o.process=function(e,t,r){return w([o(r)]).process(e,t)},o},w.stringify=o,w.parse=d,w.fromJSON=i,w.list=f,w.comment=e=>new c(e),w.atRule=e=>new u(e),w.decl=e=>new t(e),w.rule=e=>new m(e),w.root=e=>new g(e),w.document=e=>new a(e),w.CssSyntaxError=e,w.Declaration=t,w.Container=s,w.Processor=n,w.Document=a,w.Comment=c,w.Warning=l,w.AtRule=u,w.Result=h,w.Input=p,w.Rule=m,w.Root=g,w.Node=y,r.registerPostcss(w),lt=w,w.default=w,lt}();const Pt=re(Lt);Pt.stringify,Pt.fromJSON,Pt.plugin,Pt.parse,Pt.list,Pt.document,Pt.comment,Pt.atRule,Pt.rule,Pt.decl,Pt.root,Pt.CssSyntaxError,Pt.Declaration,Pt.Container,Pt.Processor,Pt.Document,Pt.Comment,Pt.Warning,Pt.AtRule,Pt.Result,Pt.Input,Pt.Rule,Pt.Root,Pt.Node;var Dt=Object.defineProperty,Ft=(e,t,r)=>((e,t,r)=>t in e?Dt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r);Object.defineProperty;function Ut(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Bt(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 s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,s.get?s:{enumerable:!0,get:function(){return e[t]}})})),r}var jt,zt={exports:{}};function Wt(){if(jt)return zt.exports;jt=1;var e=String,t=function(){return{isColorSupported:!1,reset:e,bold:e,dim:e,italic:e,underline:e,inverse:e,hidden:e,strikethrough:e,black:e,red:e,green:e,yellow:e,blue:e,magenta:e,cyan:e,white:e,gray:e,bgBlack:e,bgRed:e,bgGreen:e,bgYellow:e,bgBlue:e,bgMagenta:e,bgCyan:e,bgWhite:e}};return zt.exports=t(),zt.exports.createColors=t,zt.exports}const $t=Bt(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Vt,Gt;function Ht(){if(Gt)return Vt;Gt=1;let e=Wt(),t=$t;class r extends Error{constructor(e,t,s,n,o,i){super(e),this.name="CssSyntaxError",this.reason=e,o&&(this.file=o),n&&(this.source=n),i&&(this.plugin=i),void 0!==t&&void 0!==s&&("number"==typeof t?(this.line=t,this.column=s):(this.line=t.line,this.column=t.column,this.endLine=s.line,this.endColumn=s.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,r)}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(r){if(!this.source)return"";let s=this.source;null==r&&(r=e.isColorSupported),t&&r&&(s=t(s));let n,o,i=s.split(/\r?\n/),a=Math.max(this.line-3,0),l=Math.min(this.line+2,i.length),c=String(l).length;if(r){let{bold:t,gray:r,red:s}=e.createColors(!0);n=e=>t(s(e)),o=e=>r(e)}else n=o=e=>e;return i.slice(a,l).map(((e,t)=>{let r=a+1+t,s=" "+(" "+r).slice(-c)+" | ";if(r===this.line){let t=o(s.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return n(">")+o(s)+e+"\n "+t+n("^")}return" "+o(s)+e})).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}return Vt=r,r.default=r,Vt}var Xt,qt,Jt,Kt,Yt,Zt,Qt,er,tr,rr,sr,nr,or,ir,ar,lr,cr,ur,hr,pr,dr,fr,mr,gr,yr,wr,br,Sr,vr,Cr,kr,xr,Or,Mr,Ir,Er,Rr,Ar,Tr,Nr,_r,Lr,Pr,Dr,Fr,Ur,Br,jr,zr,Wr,$r,Vr,Gr,Hr={};function Xr(){return Xt||(Xt=1,Hr.isClean=Symbol("isClean"),Hr.my=Symbol("my")),Hr}function qr(){if(Jt)return qt;Jt=1;const e={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:"    ",semicolon:!1};class t{constructor(e){this.builder=e}atrule(e,t){let r="@"+e.name,s=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:s&&(r+=" "),e.nodes)this.block(e,r+s);else{let n=(e.raws.between||"")+(t?";":"");this.builder(r+s+n,e)}}beforeAfter(e,t){let r;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 s=e.parent,n=0;for(;s&&"root"!==s.type;)n+=1,s=s.parent;if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<n;e++)r+=t}return r}block(e,t){let r,s=this.raw(e,"between","beforeOpen");this.builder(t+s+"{",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 s=0;s<e.nodes.length;s++){let n=e.nodes[s],o=this.raw(n,"before");o&&this.builder(o),this.stringify(n,t!==s||r)}}comment(e){let t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon"),s=e.prop+r+this.rawValue(e,"value");e.important&&(s+=e.raws.important||" !important"),t&&(s+=";"),this.builder(s,e)}document(e){this.body(e)}raw(t,r,s){let n;if(s||(s=r),r&&(n=t.raws[r],void 0!==n))return n;let o=t.parent;if("before"===s){if(!o||"root"===o.type&&o.first===t)return"";if(o&&"document"===o.type)return""}if(!o)return e[s];let i=t.root();if(i.rawCache||(i.rawCache={}),void 0!==i.rawCache[s])return i.rawCache[s];if("before"===s||"after"===s)return this.beforeAfter(t,s);{let e="raw"+((a=s)[0].toUpperCase()+a.slice(1));this[e]?n=this[e](i,t):i.walk((e=>{if(n=e.raws[r],void 0!==n)return!1}))}var a;return void 0===n&&(n=e[s]),i.rawCache[s]=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 s=r.parent;if(s&&s!==e&&s.parent&&s.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],s=e.raws[t];return s&&s.value===r?s.raw:r}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}}return qt=t,t.default=t,qt}function Jr(){if(Yt)return Kt;Yt=1;let e=qr();function t(t,r){new e(r).stringify(t)}return Kt=t,t.default=t,Kt}function Kr(){if(Qt)return Zt;Qt=1;let{isClean:e,my:t}=Xr(),r=Ht(),s=qr(),n=Jr();function o(e,t){let r=new e.constructor;for(let s in e){if(!Object.prototype.hasOwnProperty.call(e,s))continue;if("proxyCache"===s)continue;let n=e[s],i=typeof n;"parent"===s&&"object"===i?t&&(r[s]=t):"source"===s?r[s]=n:Array.isArray(n)?r[s]=n.map((e=>o(e,r))):("object"===i&&null!==n&&(n=o(n)),r[s]=n)}return r}class i{constructor(r={}){this.raws={},this[e]=!1,this[t]=!0;for(let e in r)if("nodes"===e){this.nodes=[];for(let t of r[e])"function"==typeof t.clone?this.append(t.clone()):this.append(t)}else this[e]=r[e]}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={}
vendor: 4,940 bytes, line 1
1){let t=o(this);for(let r in e)t[r]=e[r];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:r,start:s}=this.rangeBy(t);return this.source.input.error(e,{column:s.column,line:s.line},{column:r.column,line:r.line},t)}return new r(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[e]){this[e]=!1;let t=this;for(;t=t.parent;)t[e]=!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 s=(t=this.toString()).indexOf(e.word);-1!==s&&(r=this.positionInside(s,t))}return r}positionInside(e,t){let r=t||this.toString(),s=this.source.start.column,n=this.source.start.line;for(let o=0;o<e;o++)"\n"===r[o]?(s=1,n+=1):s+=1;return{column:s,line:n}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){let s=this.toString(),n=s.indexOf(e.word);-1!==n&&(t=this.positionInside(n,s),r=this.positionInside(n+e.word.length,s))}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 s).raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,r=!1;for(let s of e)s===this?r=!0:r?(this.parent.insertAfter(t,s),t=s):this.parent.insertBefore(t,s);r||this.remove()}return this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}toJSON(e,t){let r={},s=null==t;t=t||new Map;let n=0;for(let o in this){if(!Object.prototype.hasOwnProperty.call(this,o))continue;if("parent"===o||"proxyCache"===o)continue;let e=this[o];if(Array.isArray(e))r[o]=e.map((e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e));else if("object"==typeof e&&e.toJSON)r[o]=e.toJSON(null,t);else if("source"===o){let s=t.get(e.input);null==s&&(s=n,t.set(e.input,n),n++),r[o]={end:e.end,inputId:s,start:e.start}}else r[o]=e}return s&&(r.inputs=[...t.keys()].map((e=>e.toJSON()))),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=n){e.stringify&&(e=e.stringify);let t="";return e(this,(e=>{t+=e})),t}warn(e,t,r){let s={node:this};for(let n in r)s[n]=r[n];return e.warn(t,s)}get proxyOf(){return this}}return Zt=i,i.default=i,Zt}function Yr(){if(tr)return er;tr=1;let e=Kr();class t extends e{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]}}return er=t,t.default=t,er}function Zr(){if(sr)return rr;sr=1;return rr={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 s="",n=r;for(;n--;)s+=e[Math.random()*e.length|0];return s}}}function Qr(){if(or)return nr;or=1;let{SourceMapConsumer:e,SourceMapGenerator:t}=$t,{existsSync:r,readFileSync:s}=$t,{dirname:n,join:o}=$t;class i{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,s=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=n(this.mapFile)),s&&(this.text=s)}consumer(){return this.consumerCache||(this.consumerCache=new e(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);
vendor: 25,568 bytes, line 1
1if(!t)return;let r=e.lastIndexOf(t.pop()),s=e.indexOf("*/",r);r>-1&&s>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,s)))}loadFile(e){if(this.root=n(e),r(e))return this.mapFile=e,s(e,"utf-8").toString().trim()}loadMap(r,s){if(!1===s)return!1;if(s){if("string"==typeof s)return s;if("function"!=typeof s){if(s instanceof e)return t.fromSourceMap(s).toString();if(s instanceof t)return s.toString();if(this.isMap(s))return JSON.stringify(s);throw new Error("Unsupported previous source map format: "+s.toString())}{let e=s(r);if(e){let t=this.loadFile(e);if(!t)throw new Error("Unable to load previous source map: "+e.toString());return t}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let e=this.annotation;return r&&(e=o(n(r),e)),this.loadFile(e)}}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return nr=i,i.default=i,nr}function es(){if(ar)return ir;ar=1;let{SourceMapConsumer:e,SourceMapGenerator:t}=$t,{fileURLToPath:r,pathToFileURL:s}=$t,{isAbsolute:n,resolve:o}=$t,{nanoid:i}=Zr(),a=$t,l=Ht(),c=Qr(),u=Symbol("fromOffsetCache"),h=Boolean(e&&t),p=Boolean(o&&n);class d{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]||"\ufffe"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!p||/^\w+:\/\//.test(t.from)||n(t.from)?this.file=t.from:this.file=o(t.from)),p&&h){let e=new c(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 "+i(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,r,n={}){let o,i,a;if(t&&"object"==typeof t){let e=t,s=r;if("number"==typeof e.offset){let s=this.fromOffset(e.offset);t=s.line,r=s.col}else t=e.line,r=e.column;if("number"==typeof s.offset){let e=this.fromOffset(s.offset);i=e.line,a=e.col}else i=s.line,a=s.column}else if(!r){let e=this.fromOffset(t);t=e.line,r=e.col}let c=this.origin(t,r,i,a);return o=c?new l(e,void 0===c.endLine?c.line:{column:c.column,line:c.line},void 0===c.endLine?c.column:{column:c.endColumn,line:c.endLine},c.source,c.file,n.plugin):new l(e,void 0===i?t:{column:r,line:t},void 0===i?r:{column:a,line:i},this.css,this.file,n.plugin),o.input={column:r,endColumn:a,endLine:i,line:t,source:this.css},this.file&&(s&&(o.input.url=s(this.file).toString()),o.input.file=this.file),o}fromOffset(e){let t,r;if(this[u])r=this[u];else{let e=this.css.split("\n");r=new Array(e.length);let t=0;for(let s=0,n=e.length;s<n;s++)r[s]=t,t+=e[s].length+1;this[u]=r}t=r[r.length-1];let s=0;if(e>=t)s=r.length-1;else{let t,n=r.length-2;for(;s<n;)if(t=s+(n-s>>1),e<r[t])n=t-1;else{if(!(e>=r[t+1])){s=t;break}s=t+1}}return{col:e-r[s]+1,line:s+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:o(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,o,i){if(!this.map)return!1;let a,l,c=this.map.consumer(),u=c.originalPositionFor({column:t,line:e});if(!u.source)return!1;"number"==typeof o&&(a=c.originalPositionFor({column:i,line:o})),l=n(u.source)?s(u.source):new URL(u.source,this.map.consumer().sourceRoot||s(this.map.mapFile));let h={column:u.column,endColumn:a&&a.column,endLine:a&&a.line,line:u.line,url:l.toString()};if("file:"===l.protocol){if(!r)throw new Error("file: protocol is not available in this PostCSS build");h.file=r(l)}let p=c.sourceContentFor(u.source);return p&&(h.source=p),h}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}}return ir=d,d.default=d,a&&a.registerInput&&a.registerInput(d),ir}function ts(){if(cr)return lr;cr=1;let{SourceMapConsumer:e,SourceMapGenerator:t}=$t,{dirname:r,relative:s,resolve:n,sep:o}=$t,{pathToFileURL:i}=$t,a=es(),l=Boolean(e&&t),c=Boolean(r&&n&&s&&o);return lr=class{constructor(e,t,r,s){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=s,this.originalCSS=s,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;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 t of this.previous()){let s,n=this.toUrl(this.path(t.file)),o=t.root||r(t.file);!1===this.mapOpts.sourcesContent?(s=new e(t.text),s.sourcesContent&&(s.sourcesContent=null)):s=t.consumer(),this.map.applySourceMap(s,n,this.toUrl(this.path(o)))}}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(),c&&l&&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=t.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new t({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 t({file:this.outputFile(),ignoreInvalidMapping:!0});let e,r,s=1,n=1,o="<no source>",i={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,((t,a,l)=>{if(this.css+=t,a&&"end"!==l&&(i.generated.line=s,i.generated.column=n-1,a.source&&a.source.start?(i.source=this.sourcePath(a),i.original.line=a.source.start.line,i.original.column=a.source.start.column-1,this.map.addMapping(i)):(i.source=o,i.original.line=1,i.original.column=0,this.map.addMapping(i))),e=t.match(/\n/g),e?(s+=e.length,r=t.lastIndexOf("\n"),n=t.length-r):n+=t.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?(i.source=this.sourcePath(a),i.original.line=a.source.end.line,i.original.column=a.source.end.column-1,i.generated.line=s,i.generated.column=n-2,this.map.addMapping(i)):(i.source=o,i.original.line=1,i.original.column=0,i.generated.line=s,i.generated.column=n-1,this.map.addMapping(i)))}}))}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 o=this.opts.to?r(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(o=r(n(o,this.mapOpts.annotation)));let i=s(o,e);return this.memoizedPaths.set(e,i),i}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 a(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk((t=>{if(t.source){let r=t.source.input.from;if(r&&!e[r]){e[r]=!0;let s=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(s,t.source.input.css)}}}));else if(this.css){let 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(i){let t=i(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;"\\"===o&&(e=e.replace(/\\/g,"/"));let r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r}},lr}function rs(){if(hr)return ur;hr=1;let e=Kr();class t extends e{constructor(e){super(e),this.type="comment"}}return ur=t,t.default=t,ur}function ss(){if(dr)return pr;dr=1;let e,t,r,s,{isClean:n,my:o}=Xr(),i=Yr(),a=rs(),l=Kr();function c(e){return e.map((e=>(e.nodes&&(e.nodes=c(e.nodes)),delete e.source,e)))}function u(e){if(e[n]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)u(t)}class h extends l{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,s=this.getIterator();for(;this.indexes[s]<this.proxyOf.nodes.length&&(t=this.indexes[s],r=e(this.proxyOf.nodes[t],t),!1!==r);)this.indexes[s]+=1;return delete this.indexes[s],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,s=this.index(e),n=this.normalize(t,this.proxyOf.nodes[s]).reverse();s=this.index(e);for(let o of n)this.proxyOf.nodes.splice(s+1,0,o);for(let o in this.indexes)r=this.indexes[o],s<r&&(this.indexes[o]=r+n.length);return this.markDirty(),this}insertBefore(e,t){let r,s=this.index(e),n=0===s&&"prepend",o=this.normalize(t,this.proxyOf.nodes[s],n).reverse();s=this.index(e);for(let i of o)this.proxyOf.nodes.splice(s,0,i);for(let i in this.indexes)r=this.indexes[i],s<=r&&(this.indexes[i]=r+o.length);return this.markDirty(),this}normalize(s,l){if("string"==typeof s)s=c(e(s).nodes);else if(void 0===s)s=[];else if(Array.isArray(s)){s=s.slice(0);for(let e of s)e.parent&&e.parent.removeChild(e,"ignore")}else if("root"===s.type&&"document"!==this.type){s=s.nodes.slice(0);for(let e of s)e.parent&&e.parent.removeChild(e,"ignore")}else if(s.type)s=[s];else if(s.prop){if(void 0===s.value)throw new Error("Value field is missed in node creation");"string"!=typeof s.value&&(s.value=String(s.value)),s=[new i(s)]}else if(s.selector)s=[new t(s)];else if(s.name)s=[new r(s)];else{if(!s.text)throw new Error("Unknown node type in node creation");s=[new a(s)]}return s.map((e=>(e[o]||h.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[n]&&u(e),void 0===e.raws.before&&l&&void 0!==l.raws.before&&(e.raws.before=l.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e)))}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((s=>{t.props&&!t.props.includes(s.prop)||t.fast&&!s.value.includes(t.fast)||(s.value=s.value.replace(e,r))})),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each(((t,r)=>{let s;try{s=e(t,r)}catch(n){throw t.addToError(n)}return!1!==s&&t.walk&&(s=t.walk(e)),s}))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk(((r,s)=>{if("atrule"===r.type&&e.test(r.name))return t(r,s)})):this.walk(((r,s)=>{if("atrule"===r.type&&r.name===e)return t(r,s)})):(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,s)=>{if("decl"===r.type&&e.test(r.prop))return t(r,s)})):this.walk(((r,s)=>{if("decl"===r.type&&r.prop===e)return t(r,s)})):(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,s)=>{if("rule"===r.type&&e.test(r.selector))return t(r,s)})):this.walk(((r,s)=>{if("rule"===r.type&&r.selector===e)return t(r,s)})):(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]}}return h.registerParse=t=>{e=t},h.registerRule=e=>{t=e},h.registerAtRule=e=>{r=e},h.registerRoot=e=>{s=e},pr=h,h.default=h,h.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,r.prototype):"rule"===e.type?Object.setPrototypeOf(e,t.prototype):"decl"===e.type?Object.setPrototypeOf(e,i.prototype):"comment"===e.type?Object.setPrototypeOf(e,a.prototype):"root"===e.type&&Object.setPrototypeOf(e,s.prototype),e[o]=!0,e.nodes&&e.nodes.forEach((e=>{h.rebuild(e)}))},pr}function ns(){if(mr)return fr;mr=1;let e,t,r=ss();class s extends r{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(r={}){return new e(new t,this,r).stringify()}}return s.registerLazyResult=t=>{e=t},s.registerProcessor=e=>{t=e},fr=s,s.default=s,fr}function os(){if(yr)return gr;yr=1;let e={};return gr=function(t){e[t]||(e[t]=!0,"undefined"!=typeof console&&console.warn&&console.warn(t))}}function is(){if(br)return wr;br=1;class e{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 r in t)this[r]=t[r]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}return wr=e,e.default=e,wr}function as(){if(vr)return Sr;vr=1;let e=is();class t{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(t,r={}){r.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(r.plugin=this.lastPlugin.postcssPlugin);let s=new e(t,r);return this.messages.push(s),s}warnings(){return this.messages.filter((e=>"warning"===e.type))}get content(){return this.css}}return Sr=t,t.default=t,Sr}function ls(){if(Or)return xr;Or=1;let e=ss();class t extends e{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)}}return xr=t,t.default=t,e.registerAtRule(t),xr}function cs(){if(Ir)return Mr;Ir=1;let e,t,r=ss();class s extends r{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,r){let s=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 n of s)n.raws.before=t.raws.before;return s}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(r={}){return new e(new t,this,r).stringify()}}return s.registerLazyResult=t=>{e=t},s.registerProcessor=e=>{t=e},Mr=s,s.default=s,r.registerRoot(s),Mr}function us(){if(Rr)return Er;Rr=1;let e={comma:t=>e.split(t,[","],!0),space:t=>e.split(t,[" ","\n","\t"]),split(e,t,r){let s=[],n="",o=!1,i=0,a=!1,l="",c=!1;for(let u of e)c?c=!1:"\\"===u?c=!0:a?u===l&&(a=!1):'"'===u||"'"===u?(a=!0,l=u):"("===u?i+=1:")"===u?i>0&&(i-=1):0===i&&t.includes(u)&&(o=!0),o?(""!==n&&s.push(n.trim()),n="",o=!1):n+=u;return(r||""!==n)&&s.push(n.trim()),s}};return Er=e,e.default=e,Er}function hs(){if(Tr)return Ar;Tr=1;let e=ss(),t=us();class r extends e{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return t.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)}}return Ar=r,r.default=r,e.registerRule(r),Ar}function ps(){if(_r)return Nr;_r=1;let e=Yr(),t=function(){if(kr)return Cr;kr=1;const e="'".charCodeAt(0),t='"'.charCodeAt(0),r="\\".charCodeAt(0),s="/".charCodeAt(0),n="\n".charCodeAt(0),o=" ".charCodeAt(0),i="\f".charCodeAt(0),a="\t".charCodeAt(0),l="\r".charCodeAt(0),c="[".charCodeAt(0),u="]".charCodeAt(0),h="(".charCodeAt(0),p=")".charCodeAt(0),d="{".charCodeAt(0),f="}".charCodeAt(0),m=";".charCodeAt(0),g="*".charCodeAt(0),y=":".charCodeAt(0),w="@".charCodeAt(0),b=/[\t\n\f\r "#'()/;[\\\]{}]/g,S=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,v=/.[\r\n"'(/\\]/,C=/[\da-f]/i;return Cr=function(k,x={}){let O,M,I,E,R,A,T,N,_,L,P=k.css.valueOf(),D=x.ignoreErrors,F=P.length,U=0,B=[],j=[];function z(e){throw k.error("Unclosed "+e,U)}return{back:function(e){j.push(e)},endOfFile:function(){return 0===j.length&&U>=F},nextToken:function(k){if(j.length)return j.pop();if(U>=F)return;let x=!!k&&k.ignoreUnclosed;switch(O=P.charCodeAt(U),O){case n:case o:case a:case l:case i:M=U;do{M+=1,O=P.charCodeAt(M)}while(O===o||O===n||O===a||O===l||O===i);L=["space",P.slice(U,M)],U=M-1;break;case c:case u:case d:case f:case y:case m:case p:{let e=String.fromCharCode(O);L=[e,e,U];break}case h:if(N=B.length?B.pop()[1]:"",_=P.charCodeAt(U+1),"url"===N&&_!==e&&_!==t&&_!==o&&_!==n&&_!==a&&_!==i&&_!==l){M=U;do{if(A=!1,M=P.indexOf(")",M+1),-1===M){if(D||x){M=U;break}z("bracket")}for(T=M;P.charCodeAt(T-1)===r;)T-=1,A=!A}while(A);L=["brackets",P.slice(U,M+1),U,M],U=M}else M=P.indexOf(")",U+1),E=P.slice(U,M+1),-1===M||v.test(E)?L=["(","(",U]:(L=["brackets",E,U,M],U=M);break;case e:case t:I=O===e?"'":'"',M=U;do{if(A=!1,M=P.indexOf(I,M+1),-1===M){if(D||x){M=U+1;break}z("string")}for(T=M;P.charCodeAt(T-1)===r;)T-=1,A=!A}while(A);L=["string",P.slice(U,M+1),U,M],U=M;break;case w:b.lastIndex=U+1,b.test(P),M=0===b.lastIndex?P.length-1:b.lastIndex-2,L=["at-word",P.slice(U,M+1),U,M],U=M;break;case r:for(M=U,R=!0;P.charCodeAt(M+1)===r;)M+=1,R=!R;if(O=P.charCodeAt(M+1),R&&O!==s&&O!==o&&O!==n&&O!==a&&O!==l&&O!==i&&(M+=1,C.test(P.charAt(M)))){for(;C.test(P.charAt(M+1));)M+=1;P.charCodeAt(M+1)===o&&(M+=1)}L=["word",P.slice(U,M+1),U,M],U=M;break;default:O===s&&P.charCodeAt(U+1)===g?(M=P.indexOf("*/",U+2)+1,0===M&&(D||x?M=P.length:z("comment")),L=["comment",P.slice(U,M+1),U,M],U=M):(S.lastIndex=U+1,S.test(P),M=0===S.lastIndex?P.length-1:S.lastIndex-2,L=["word",P.slice(U,M+1),U,M],B.push(L),U=M)}return U++,L},position:function(){return U}}}}(),r=rs(),s=ls(),n=cs(),o=hs();const i={empty:!0,space:!0};return Nr=class{constructor(e){this.input=e,this.root=new n,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,o=new s;o.name=e[1].slice(1),""===o.name&&this.unnamedAtrule(o,e),this.init(o,e[2]);let i=!1,a=!1,l=[],c=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?c.push("("===t?")":"]"):"{"===t&&c.length>0?c.push("}"):t===c[c.length-1]&&c.pop(),0===c.length){if(";"===t){o.source.end=this.getPosition(e[2]),o.source.end.offset++,this.semicolon=!0;break}if("{"===t){a=!0;break}if("}"===t){if(l.length>0){for(n=l.length-1,r=l[n];r&&"space"===r[0];)r=l[--n];r&&(o.source.end=this.getPosition(r[3]||r[2]),o.source.end.offset++)}this.end(e);break}l.push(e)}else l.push(e);if(this.tokenizer.endOfFile()){i=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(o.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(o,"params",l),i&&(e=l[l.length-1],o.source.end=this.getPosition(e[3]||e[2]),o.source.end.offset++,this.spaces=o.raws.between,o.raws.between="")):(o.raws.afterName="",o.params=""),a&&(o.nodes=[],this.current=o)}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let r,s=0;for(let n=t-1;n>=0&&(r=e[n],"space"===r[0]||(s+=1,2!==s));n--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}colon(e){let t,r,s,n=0;for(let[o,i]of e.entries()){if(t=i,r=t[0],"("===r&&(n+=1),")"===r&&(n-=1),0===n&&":"===r){if(s){if("word"===s[0]&&"progid"===s[1])continue;return o}this.doubleColon(t)}s=t}return!1}comment(e){let t=new r;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let s=e[1].slice(2,-2);if(/^\s*$/.test(s))t.text="",t.raws.left=s,t.raws.right="";else{let e=s.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}createTokenizer(){this.tokenizer=t(this.input)}decl(t,r){let s=new e;this.init(s,t[0][2]);let n,o=t[t.length-1];for(";"===o[0]&&(this.semicolon=!0,t.pop()),s.source.end=this.getPosition(o[3]||o[2]||function(e){for(let t=e.length-1;t>=0;t--){let r=e[t],s=r[3]||r[2];if(s)return s}}(t)),s.source.end.offset++;"word"!==t[0][0];)1===t.length&&this.unknownWord(t),s.raws.before+=t.shift()[1];for(s.source.start=this.getPosition(t[0][2]),s.prop="";t.length;){let e=t[0][0];if(":"===e||"space"===e||"comment"===e)break;s.prop+=t.shift()[1]}for(s.raws.between="";t.length;){if(n=t.shift(),":"===n[0]){s.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),s.raws.between+=n[1]}"_"!==s.prop[0]&&"*"!==s.prop[0]||(s.raws.before+=s.prop[0],s.prop=s.prop.slice(1));let i,a=[];for(;t.length&&(i=t[0][0],"space"===i||"comment"===i);)a.push(t.shift());this.precheckMissedSemicolon(t);for(let e=t.length-1;e>=0;e--){if(n=t[e],"!important"===n[1].toLowerCase()){s.important=!0;let r=this.stringFrom(t,e);r=this.spacesFromEnd(t)+r," !important"!==r&&(s.raws.important=r);break}if("important"===n[1].toLowerCase()){let r=t.slice(0),n="";for(let t=e;t>0;t--){let e=r[t][0];if(0===n.trim().indexOf("!")&&"space"!==e)break;n=r.pop()[1]+n}0===n.trim().indexOf("!")&&(s.important=!0,s.raws.important=n,t=r)}if("space"!==n[0]&&"comment"!==n[0])break}t.some((e=>"space"!==e[0]&&"comment"!==e[0]))&&(s.raws.between+=a.map((e=>e[1])).join(""),a=[]),this.raw(s,"value",a.concat(t),r),s.value.includes(":")&&!r&&this.checkMissedSemicolon(t)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new o;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,s=!1,n=null,o=[],i=e[1].startsWith("--"),a=[],l=e;for(;l;){if(r=l[0],a.push(l),"("===r||"["===r)n||(n=l),o.push("("===r?")":"]");else if(i&&s&&"{"===r)n||(n=l),o.push("}");else if(0===o.length){if(";"===r){if(s)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&&(s=!0)}else r===o[o.length-1]&&(o.pop(),0===o.length&&(n=null));l=this.tokenizer.nextToken()}
vendor: 4,668 bytes, line 1
1if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(n),t&&s){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,s){let n,o,a,l,c=r.length,u="",h=!0;for(let p=0;p<c;p+=1)n=r[p],o=n[0],"space"!==o||p!==c-1||s?"comment"===o?(l=r[p-1]?r[p-1][0]:"empty",a=r[p+1]?r[p+1][0]:"empty",i[l]||i[a]||","===u.slice(-1)?h=!1:u+=n[1]):u+=n[1]:h=!1;if(!h){let s=r.reduce(((e,t)=>e+t[1]),"");e.raws[t]={raw:s,value:u}}e[t]=u}rule(e){e.pop();let t=new o;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 s=t;s<e.length;s++)r+=e[s][1];return e.splice(t,e.length-t),r}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}}}function ds(){if(Pr)return Lr;Pr=1;let e=ss(),t=ps(),r=es();function s(e,s){let n=new r(e,s),o=new t(n);try{o.parse()}catch(i){throw i}return o.root}return Lr=s,s.default=s,e.registerParse(s),Lr}function fs(){if(Fr)return Dr;Fr=1;let{isClean:e,my:t}=Xr(),r=ts(),s=Jr(),n=ss(),o=ns(),i=(os(),as()),a=ds(),l=cs();const c={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},u={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},h={Once:!0,postcssPlugin:!0,prepare:!0};function p(e){return"object"==typeof e&&"function"==typeof e.then}function d(e){let t=!1,r=c[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function f(e){let t;return t="document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:d(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function m(t){return t[e]=!1,t.nodes&&t.nodes.forEach((e=>m(e))),t}let g={};class y{constructor(e,r,s){let o;if(this.stringified=!1,this.processed=!1,"object"!=typeof r||null===r||"root"!==r.type&&"document"!==r.type)if(r instanceof y||r instanceof i)o=m(r.root),r.map&&(void 0===s.map&&(s.map={}),s.map.inline||(s.map.inline=!1),s.map.prev=r.map);else{let e=a;s.syntax&&(e=s.syntax.parse),s.parser&&(e=s.parser),e.parse&&(e=e.parse);try{o=e(r,s)}catch(l){this.processed=!0,this.error=l}o&&!o[t]&&n.rebuild(o)}else o=m(r);this.result=new i(e,o,s),this.helpers={...g,postcss:g,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(s){console&&console.error&&console.error(s)}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(!u[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}
1. Try to update PostCSS (${this.processor.version} now).`);if(!h[r])if("object"==typeof t[r])for(let s in t[r])e(t,"*"===s?r:r+"-"+s.toLowerCase(),t[r][s]);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 r=this.plugins[e],s=this.runOnRoot(r);if(p(s))try{await s}catch(t){throw this.handleError(t)}}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[e];){t[e]=!0;let s=[f(t)];for(;s.length>0;){let e=this.visitTick(s);if(p(e))try{await e}catch(r){let e=s[s.length-1].node;throw this.handleError(r,e)}}}if(this.listeners.OnceExit)for(let[e,s]of this.listeners.OnceExit){this.result.lastPlugin=e;try{if("document"===t.type){let e=t.nodes.map((e=>s(e,this.helpers)));await Promise.all(e)}else await s(t,this.helpers)}catch(r){throw this.handleError(r)}}}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 p(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(t){throw this.handleError(t)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=s;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let n=new r(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[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(p(this.runOnRoot(e)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[e];)t[e]=!0,this.walkSync(t);if(this.listeners.OnceExit)if("document"===t.type)for(let e of t.nodes)this.visitSync(this.listeners.OnceExit,e);else this.visitSync(this.listeners.OnceExit,t)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[s,n]of e){let e;this.result.lastPlugin=s;try{e=n(t,this.helpers)}catch(r){throw this.handleError(r,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(p(e))throw this.getAsyncError()}}visitTick(t){let r=t[t.length-1],{node:s,visitors:n}=r;if("root"!==s.type&&"document"!==s.type&&!s.parent)return void t.pop();if(n.length>0&&r.visitorIndex<n.length){let[e,t]=n[r.visitorIndex];r.visitorIndex+=1,r.visitorIndex===n.length&&(r.visitors=[],r.visitorIndex=0),this.result.lastPlugin=e;try{return t(s.toProxy(),this.helpers)}catch(i){throw this.handleError(i,s)}}if(0!==r.iterator){let n,o=r.iterator;for(;n=s.nodes[s.indexes[o]];)if(s.indexes[o]+=1,!n[e])return n[e]=!0,void t.push(f(n));r.iterator=0,delete s.indexes[o]}let o=r.events;for(;r.eventIndex<o.length;){let t=o[r.eventIndex];if(r.eventIndex+=1,0===t)return void(s.nodes&&s.nodes.length&&(s[e]=!0,r.iterator=s.getIterator()));if(this.listeners[t])return void(r.visitors=this.listeners[t])}t.pop()}walkSync(t){t[e]=!0;let r=d(t);for(let s of r)if(0===s)t.nodes&&t.each((t=>{t[e]||this.walkSync(t)}));else{let e=this.listeners[s];if(e&&this.visitSync(e,t.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}return y.registerPostcss=e=>{g=e},Dr=y,y.default=y,l.registerLazyResult(y),o.registerLazyResult(y),Dr}function ms(){if(zr)return jr;zr=1;let e=function(){if(Br)return Ur;Br=1;
vendor: 10,960 bytes, line 1
1let e=ts(),t=Jr(),r=(os(),ds());const s=as();class n{constructor(r,n,o){let i;n=n.toString(),this.stringified=!1,this._processor=r,this._css=n,this._opts=o,this._map=void 0;let a=t;this.result=new s(this._processor,i,this._opts),this.result.css=n;let l=this;Object.defineProperty(this.result,"root",{get:()=>l.root});let c=new e(a,i,this._opts,n);if(c.isMap()){let[e,t]=c.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else c.clearAnnotation(),this.result.css=c.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=r;try{e=t(this._css,this._opts)}catch(s){this.error=s}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}}return Ur=n,n.default=n,Ur}(),t=fs(),r=ns(),s=cs();class n{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(r,s={}){return this.plugins.length||s.parser||s.stringifier||s.syntax?new t(this,r,s):new e(this,r,s)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}return jr=n,n.default=n,s.registerProcessor(n),r.registerProcessor(n),jr}var gs=function(){if(Gr)return Vr;Gr=1;let e=Ht(),t=Yr(),r=fs(),s=ss(),n=ms(),o=Jr(),i=function(){if($r)return Wr;$r=1;let e=Yr(),t=Qr(),r=rs(),s=ls(),n=es(),o=cs(),i=hs();function a(l,c){if(Array.isArray(l))return l.map((e=>a(e)));let{inputs:u,...h}=l;if(u){c=[];for(let e of u){let r={...e,__proto__:n.prototype};r.map&&(r.map={...r.map,__proto__:t.prototype}),c.push(r)}}if(h.nodes&&(h.nodes=l.nodes.map((e=>a(e,c)))),h.source){let{inputId:e,...t}=h.source;h.source=t,null!=e&&(h.source.input=c[e])}if("root"===h.type)return new o(h);if("decl"===h.type)return new e(h);if("rule"===h.type)return new i(h);if("comment"===h.type)return new r(h);if("atrule"===h.type)return new s(h);throw new Error("Unknown node type: "+l.type)}return Wr=a,a.default=a,Wr}(),a=ns(),l=is(),c=rs(),u=ls(),h=as(),p=es(),d=ds(),f=us(),m=hs(),g=cs(),y=Kr();function w(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new n(e)}return w.plugin=function(e,t){let r,s=!1;function o(...r){console&&console.warn&&!s&&(s=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),{NODE_ENV:"production",NX_NO_CLOUD:"true",NX_DAEMON:"false",NX_CLI_SET:"true",NX_VERBOSE_LOGGING:"true",NX_CLOUD_LIGHT_CLIENT_RESOLUTION_PATHS:'["/formdr/node_modules/nx-cloud/node_modules","/formdr/node_modules"]',NX_WORKSPACE_ROOT:"/formdr",NX_SKIP_NX_CACHE:"true",NX_TERMINAL_OUTPUT_PATH:"/formdr/node_modules/.cache/nx/terminalOutputs/db41ef6bb5ed58c9c481095583a1cc5c016033f9f9b8efe6a813ba21b3d84ca3",NX_TASK_TARGET_PROJECT:"app",NX_TASK_HASH:"db41ef6bb5ed58c9c481095583a1cc5c016033f9f9b8efe6a813ba21b3d84ca3"}.LANG&&{NODE_ENV:"production",NX_NO_CLOUD:"true",NX_DAEMON:"false",NX_CLI_SET:"true",NX_VERBOSE_LOGGING:"true",NX_CLOUD_LIGHT_CLIENT_RESOLUTION_PATHS:'["/formdr/node_modules/nx-cloud/node_modules","/formdr/node_modules"]',NX_WORKSPACE_ROOT:"/formdr",NX_SKIP_NX_CACHE:"true",NX_TERMINAL_OUTPUT_PATH:"/formdr/node_modules/.cache/nx/terminalOutputs/db41ef6bb5ed58c9c481095583a1cc5c016033f9f9b8efe6a813ba21b3d84ca3",NX_TASK_TARGET_PROJECT:"app",NX_TASK_HASH:"db41ef6bb5ed58c9c481095583a1cc5c016033f9f9b8efe6a813ba21b3d84ca3"}.LANG.startsWith("cn")&&console.warn(e+": \u91cc\u9762 postcss.plugin \u88ab\u5f03\u7528. \u8fc1\u79fb\u6307\u5357:\nhttps://www.w3ctech.com/topic/2226"));let o=t(...r);return o.postcssPlugin=e,o.postcssVersion=(new n).version,o}return Object.defineProperty(o,"postcss",{get:()=>(r||(r=o()),r)}),o.process=function(e,t,r){return w([o(r)]).process(e,t)},o},w.stringify=o,w.parse=d,w.fromJSON=i,w.list=f,w.comment=e=>new c(e),w.atRule=e=>new u(e),w.decl=e=>new t(e),w.rule=e=>new m(e),w.root=e=>new g(e),w.document=e=>new a(e),w.CssSyntaxError=e,w.Declaration=t,w.Container=s,w.Processor=n,w.Document=a,w.Comment=c,w.Warning=l,w.AtRule=u,w.Result=h,w.Input=p,w.Rule=m,w.Root=g,w.Node=y,r.registerPostcss(w),Vr=w,w.default=w,Vr}();const ys=Ut(gs);ys.stringify,ys.fromJSON,ys.plugin,ys.parse,ys.list,ys.document,ys.comment,ys.atRule,ys.rule,ys.decl,ys.root,ys.CssSyntaxError,ys.Declaration,ys.Container,ys.Processor,ys.Document,ys.Comment,ys.Warning,ys.AtRule,ys.Result,ys.Input,ys.Rule,ys.Root,ys.Node;class ws{constructor(...e){Ft(this,"parentElement",null),Ft(this,"parentNode",null),Ft(this,"ownerDocument"),Ft(this,"firstChild",null),Ft(this,"lastChild",null),Ft(this,"previousSibling",null),Ft(this,"nextSibling",null),Ft(this,"ELEMENT_NODE",1),Ft(this,"TEXT_NODE",3),Ft(this,"nodeType"),Ft(this,"nodeName"),Ft(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 ws))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 bs={Node:["childNodes","parentNode","parentElement","textContent","ownerDocument"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Ss={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},vs={};function Cs(e){if(vs[e])return vs[e];const t=/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&function(e){var t,r;const s=null==(r=null==(t=null==globalThis?void 0:globalThis.Zone)?void 0:t.__symbol__)?void 0:r.call(t,e);return s&&globalThis[s]?globalThis[s]:void 0}(e)||globalThis[e],r=t.prototype,s=e in bs?bs[e]:void 0,n=Boolean(s&&s.every((e=>{var t,s;return Boolean(null==(s=null==(t=Object.getOwnPropertyDescriptor(r,e))?void 0:t.get)?void 0:s.toString().includes("[native code]"))}))),o=e in Ss?Ss[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]"))}))),a=n&&i;let l=t.prototype;if(!a){let t;try{t=document.createElement("iframe"),t.hidden=!0,document.body.appendChild(t);const r=t.contentWindow;if(r){const t=r[e].prototype;t&&(l=t)}}finally{t&&document.body.removeChild(t)}}return vs[e]=l,l}const ks={};function xs(e,t,r){var s;const n=`${e}.${String(r)}`;if(ks[n])return ks[n].call(t);const o=Cs(e),i=null==(s=Object.getOwnPropertyDescriptor(o,r))?void 0:s.get;return i?(ks[n]=i,i.call(t)):t[r]}const Os={};function Ms(e,t,r){const s=`${e}.${String(r)}`;if(Os[s])return Os[s].bind(t);const n=Cs(e)[r];return"function"!=typeof n?t[r]:(Os[s]=n,n.bind(t))}function Is(){return Cs("MutationObserver").constructor}function Es(e,t,r){try{if(!(t in e))return()=>{};const s=e[t],n=r(s);return"function"==typeof n&&(n.prototype=n.prototype||{},Object.defineProperties(n,{__rrweb_original__:{enumerable:!1,value:s}})),e[t]=n,()=>{e[t]=s}}catch{return()=>{}}}const Rs={ownerDocument:function(e){return xs("Node",e,"ownerDocument")},childNodes:function(e){return xs("Node",e,"childNodes")},parentNode:function(e){return xs("Node",e,"parentNode")},parentElement:function(e){return xs("Node",e,"parentElement")},textContent:function(e){return xs("Node",e,"textContent")},contains:function(e,t){return Ms("Node",e,"contains")(t)},getRootNode:function(e){return Ms("Node",e,"getRootNode")()},host:function(e){return e&&"host"in e?xs("ShadowRoot",e,"host"):null},styleSheets:function(e){return e.styleSheets},shadowRoot:function(e){return e&&"shadowRoot"in e?xs("Element",e,"shadowRoot"):null},querySelector:function(e,t){return xs("Element",e,"querySelector")(t)},querySelectorAll:function(e,t){return xs("Element",e,"querySelectorAll")(t)},mutationObserver:Is,patch:Es};function As(e,t,r=document){const s={capture:!0,passive:!0};return r.addEventListener(e,t,s),()=>r.removeEventListener(e,t,s)}const Ts="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 Ns={map:{},getId:()=>(console.error(Ts),-1),getNode:()=>(console.error(Ts),null),removeNodeFromMap(){console.error(Ts)},has:()=>(console.error(Ts),!1),reset(){console.error(Ts)}};function _s(e,t,r={}){let s=null,n=0;return function(...o){const i=Date.now();n||!1!==r.leading||(n=i);const a=t-(i-n),l=this;a<=0||a>t?(s&&(clearTimeout(s),s=null),n=i,e.apply(l,o)):s||!1===r.trailing||(s=setTimeout((()=>{n=!1===r.leading?0:Date.now(),s=null,e.apply(l,o)}),a))}}function Ls(e,t,r,s,n=window){const o=n.Object.getOwnPropertyDescriptor(e,t);return n.Object.defineProperty(e,t,s?r:{set(e){setTimeout((()=>{r.set.call(this,e)}),0),o&&o.set&&o.set.call(this,e)}}),()=>Ls(e,t,o||{},!0)}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(Ns=new Proxy(Ns,{get:(e,t,r)=>("map"===t&&console.error(Ts),Reflect.get(e,t,r))}));let Ps=Date.now;function Ds(e){var t,r,s,n;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=Rs.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==(s=Rs.parentElement(o.body))?void 0:s.scrollTop)||(null==(n=null==o?void 0:o.body)?void 0:n.scrollTop)||0}}function Fs(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function Us(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Bs(e){if(!e)return null;
vendor: 5,804 bytes, line 1
1return e.nodeType===e.ELEMENT_NODE?e:Rs.parentElement(e)}function js(e,t,r,s){if(!e)return!1;const n=Bs(e);if(!n)return!1;try{if("string"==typeof t){if(n.classList.contains(t))return!0;if(s&&null!==n.closest("."+t))return!0}else if(K(n,t,s))return!0}catch(o){}if(r){if(n.matches(r))return!0;if(s&&null!==n.closest(r))return!0}return!1}function zs(e,t){return-1!==t.getId(e)}function Ws(e,t,r){return!("TITLE"!==e.tagName||!r.headTitleMutations)||-2===t.getId(e)}function $s(e,t){if(b(e))return!1;const r=t.getId(e);if(!t.has(r))return!0;const s=Rs.parentNode(e);return(!s||s.nodeType!==e.DOCUMENT_NODE)&&(!s||$s(s,t))}function Vs(e){return Boolean(e.changedTouches)}function Gs(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)}function Hs(e){const t={},r=(e,r)=>{const s={value:e,parent:r,children:[]};return t[e.node.id]=s,s},s=[];for(const n of e){const{nextId:e,parentId:o}=n;if(e&&e in t){const o=t[e];if(o.parent){const e=o.parent.children.indexOf(o);o.parent.children.splice(e,0,r(n,o.parent))}else{const e=s.indexOf(o);s.splice(e,0,r(n,null))}}else if(o in t){const e=t[o];e.children.push(r(n,e))}else s.push(r(n,null))}return s}function Xs(e,t){t(e.value);for(let r=e.children.length-1;r>=0;r--)Xs(e.children[r],t)}function qs(e,t){return Boolean("IFRAME"===e.nodeName&&t.getMeta(e))}function Js(e,t){return Boolean("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function Ks(e,t){var r,s;const n=null==(s=null==(r=e.ownerDocument)?void 0:r.defaultView)?void 0:s.frameElement;if(!n||n===t)return{x:0,y:0,relativeScale:1,absoluteScale:1};const o=n.getBoundingClientRect(),i=Ks(n,t),a=o.height/n.clientHeight;return{x:o.x*i.relativeScale+i.x,y:o.y*i.relativeScale+i.y,relativeScale:a,absoluteScale:i.absoluteScale*a}}function Ys(e){return!!e&&(e instanceof ws&&"shadowRoot"in e?Boolean(e.shadowRoot):Boolean(Rs.shadowRoot(e)))}function Zs(e,t){const r=null==e?void 0:e[t[0]];return r?1===t.length?r:Zs(r.cssRules,t.slice(1)):null}function Qs(e){const t=[...e],r=t.pop();return{positions:t,index:r}}function en(e){const t=new Set,r=[];for(let s=e.length;s--;){const n=e[s];t.has(n.id)||(r.push(n),t.add(n.id))}return r}/[1-9][0-9]{12}/.test(Date.now().toString())||(Ps=()=>(new Date).getTime());class tn{constructor(){o(this,"id",1),o(this,"styleIDMap",new WeakMap),o(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 rn(e){var t;let r=null;return"getRootNode"in e&&(null==(t=Rs.getRootNode(e))?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&Rs.host(Rs.getRootNode(e))&&(r=Rs.host(Rs.getRootNode(e))),r}function sn(e){let t,r=e;for(;t=rn(r);)r=t;return r}function nn(e){const t=Rs.ownerDocument(e);if(!t)return!1;const r=sn(e);return Rs.contains(t,r)}function on(e){const t=Rs.ownerDocument(e);return!!t&&(Rs.contains(t,e)||nn(e))}Symbol.toStringTag;var an=(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))(an||{}),ln=(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))(ln||{}),cn=(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))(cn||{}),un=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(un||{}),hn=(e=>(e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e))(hn||{}),pn=(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))(pn||{}),dn=(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))(dn||{});function fn(e){return"__ln"in e}class mn{constructor(){o(this,"length",0),o(this,"head",null),o(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&&fn(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&&fn(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: 21,108 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 gn=(e,t)=>`${e}@${t}`;class yn{constructor(){o(this,"frozen",!1),o(this,"locked",!1),o(this,"texts",[]),o(this,"attributes",[]),o(this,"attributeMap",new WeakMap),o(this,"removes",[]),o(this,"mapRemoves",[]),o(this,"movedMap",{}),o(this,"addedSet",new Set),o(this,"movedSet",new Set),o(this,"droppedSet",new Set),o(this,"removesSubTreeCache",new Set),o(this,"mutationCb"),o(this,"blockClass"),o(this,"blockSelector"),o(this,"maskTextClass"),o(this,"maskTextSelector"),o(this,"inlineStylesheet"),o(this,"maskInputOptions"),o(this,"maskTextFn"),o(this,"maskInputFn"),o(this,"keepIframeSrcFn"),o(this,"recordCanvas"),o(this,"inlineImages"),o(this,"slimDOMOptions"),o(this,"dataURLOptions"),o(this,"doc"),o(this,"mirror"),o(this,"iframeManager"),o(this,"stylesheetManager"),o(this,"shadowDomManager"),o(this,"canvasManager"),o(this,"processedNodeManager"),o(this,"unattachedDoc"),o(this,"processMutations",(e=>{e.forEach(this.processMutation),this.emit()})),o(this,"emit",(()=>{if(this.frozen||this.locked)return;const e=[],t=new Set,r=new mn,s=e=>{let t=e,r=-2;for(;-2===r;)t=t&&t.nextSibling,r=t&&this.mirror.getId(t);return r},n=n=>{const o=Rs.parentNode(n);if(!o||!on(n))return;let i=!1;if(n.nodeType===Node.TEXT_NODE){const e=o.tagName;if("TEXTAREA"===e)return;"STYLE"===e&&this.addedSet.has(o)&&(i=!0)}const a=b(o)?this.mirror.getId(rn(n)):this.mirror.getId(o),l=s(n);if(-1===a||-1===l)return r.addNode(n);const c=te(n,{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=>{qs(e,this.mirror)&&this.iframeManager.addIframe(e),Js(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),Ys(n)&&this.shadowDomManager.addShadowRoot(Rs.shadowRoot(n),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 a of this.movedSet)bn(this.removesSubTreeCache,a,this.mirror)&&!this.movedSet.has(Rs.parentNode(a))||n(a);for(const a of this.addedSet)Sn(this.droppedSet,a)||bn(this.removesSubTreeCache,a,this.mirror)?Sn(this.movedSet,a)?n(a):this.droppedSet.add(a):n(a);let o=null;for(;r.length;){let e=null;if(o){const t=this.mirror.getId(Rs.parentNode(o.value)),r=s(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(Rs.parentNode(r.value));if(-1===s(r.value))continue;if(-1!==t){e=r;break}{const t=r.value,s=Rs.parentNode(t);if(s&&s.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const t=Rs.host(s);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),n(e.value)}const i={texts:this.texts.map((e=>{const t=e.node,r=Rs.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),s=JSON.stringify(e._unchangedStyles);r.length<t.style.length&&(r+s).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))})),o(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));const r=Array.from(Rs.childNodes(e),(e=>Rs.textContent(e)||"")).join("");t.attributes.value=O({element:e,maskInputOptions:this.maskInputOptions,tagName:e.tagName,type:E(e),value:r,maskInputFn:this.maskInputFn})})),o(this,"processMutation",(e=>{if(!Ws(e.target,this.mirror,this.slimDOMOptions))switch(e.type){case"characterData":{const t=Rs.textContent(e.target);js(e.target,this.blockClass,this.blockSelector,!1)||t===e.oldValue||this.texts.push({value:Y(e.target,this.maskTextClass,this.maskTextSelector,!0)&&t?this.maskTextFn?this.maskTextFn(t,Bs(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{const r=e.target;let s=e.attributeName,n=e.target.getAttribute(s);if("value"===s){const e=E(r);n=O({element:r,maskInputOptions:this.maskInputOptions,tagName:r.tagName,type:e,value:n,maskInputFn:this.maskInputFn})}if(js(e.target,this.blockClass,this.blockSelector,!1)||n===e.oldValue)return;let o=this.attributeMap.get(e.target);if("IFRAME"===r.tagName&&"src"===s&&!this.keepIframeSrcFn(n)){if(r.contentDocument)return;s="rr_src"}if(o||(o={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(o),this.attributeMap.set(e.target,o)),"type"===s&&"INPUT"===r.tagName&&"password"===(e.oldValue||"").toLowerCase()&&r.setAttribute("data-rr-is-password","true"),!J(r.tagName,s))if(o.attributes[s]=q(this.doc,M(r.tagName),M(s),n),"style"===s){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch(t){this.unattachedDoc=this.doc}const s=this.unattachedDoc.createElement("span");e.oldValue&&s.setAttribute("style",e.oldValue);for(const e of Array.from(r.style)){const t=r.style.getPropertyValue(e),n=r.style.getPropertyPriority(e);t!==s.style.getPropertyValue(e)||n!==s.style.getPropertyPriority(e)?o.styleDiff[e]=""===n?t:[t,n]:o._unchangedStyles[e]=[t,n]}for(const e of Array.from(s.style))""===r.style.getPropertyValue(e)&&(o.styleDiff[e]=!1)}else"open"===s&&"DIALOG"===r.tagName&&(r.matches("dialog:modal")?o.attributes.rr_open_mode="modal":o.attributes.rr_open_mode="non-modal");break}case"childList":if(js(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),s=b(e.target)?this.mirror.getId(Rs.host(e.target)):this.mirror.getId(e.target);js(e.target,this.blockClass,this.blockSelector,!1)||Ws(t,this.mirror,this.slimDOMOptions)||!zs(t,this.mirror)||(this.addedSet.has(t)?(wn(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===r||$s(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[gn(r,s)]?wn(this.movedSet,t):(this.removes.push({parentId:s,id:r,isShadow:!(!b(e.target)||!S(e.target))||void 0}),function(e,t){const r=[e];for(;r.length;){const e=r.pop();t.has(e)||(t.add(e),Rs.childNodes(e).forEach((e=>r.push(e))))}}(t,this.removesSubTreeCache))),this.mapRemoves.push(t))}))}})),o(this,"genAdds",((e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!this.addedSet.has(e)&&!this.movedSet.has(e)){if(this.mirror.hasNode(e)){if(Ws(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[gn(this.mirror.getId(e),r)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);js(e,this.blockClass,this.blockSelector,!1)||(Rs.childNodes(e).forEach((e=>this.genAdds(e))),Ys(e)&&Rs.childNodes(Rs.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 wn(e,t){e.delete(t),Rs.childNodes(t).forEach((t=>wn(e,t)))}function bn(e,t,r){return 0!==e.size&&function(e,t,r){const s=Rs.parentNode(t);return!!s&&e.has(s)}(e,t)}function Sn(e,t){return 0!==e.size&&vn(e,t)}function vn(e,t){const r=Rs.parentNode(t);return!!r&&(!!e.has(r)||vn(e,r))}let Cn;const kn=e=>{if(!Cn)return e;return(...t)=>{try{return e(...t)}catch(r){if(Cn&&!0===Cn(r))return;throw r}}},xn=[];function On(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 Mn(e,t){const r=new yn;xn.push(r),r.init(e);const s=new(Is())(kn(r.processMutations.bind(r)));return s.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),s}function In({mouseInteractionCb:e,doc:t,mirror:r,blockClass:s,blockSelector:n,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(cn).filter((e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==i[e])).forEach((o=>{let i=M(o);const c=(t=>o=>{const i=On(o);if(js(i,s,n,!0))return;let a=null,c=t;if("pointerType"in o){switch(o.pointerType){case"mouse":a=un.Mouse;break;case"touch":a=un.Touch;break;case"pen":a=un.Pen}a===un.Touch?cn[t]===cn.MouseDown?c="TouchStart":cn[t]===cn.MouseUp&&(c="TouchEnd"):un.Pen}else Vs(o)&&(a=un.Touch);null!==a?(l=a,(c.startsWith("Touch")&&a===un.Touch||c.startsWith("Mouse")&&a===un.Mouse)&&(a=null)):cn[t]===cn.Click&&(a=l,l=null);const u=Vs(o)?o.changedTouches[0]:o;if(!u)return;const h=r.getId(i),{clientX:p,clientY:d}=u;kn(e)({type:cn[c],id:h,x:p,y:d,...null!==a&&{pointerType:a}})})(o);if(window.PointerEvent)switch(cn[o]){case cn.MouseDown:case cn.MouseUp:i=i.replace("mouse","pointer");break;case cn.TouchStart:case cn.TouchEnd:return}a.push(As(i,c,t))})),kn((()=>{a.forEach((e=>e()))}))}function En({scrollCb:e,doc:t,mirror:r,blockClass:s,blockSelector:n,sampling:o}){return As("scroll",kn(_s(kn((o=>{const i=On(o);if(!i||js(i,s,n,!0))return;const a=r.getId(i);if(i===t&&t.defaultView){const r=Ds(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 Rn=["INPUT","TEXTAREA","SELECT"],An=new WeakMap;function Tn(e){return function e(t,r){if(Pn("CSSGroupingRule")&&t.parentRule instanceof CSSGroupingRule||Pn("CSSMediaRule")&&t.parentRule instanceof CSSMediaRule||Pn("CSSSupportsRule")&&t.parentRule instanceof CSSSupportsRule||Pn("CSSConditionRule")&&t.parentRule instanceof CSSConditionRule){const s=Array.from(t.parentRule.cssRules).indexOf(t);return r.unshift(s),e(t.parentRule,r)}if(t.parentStyleSheet){const e=Array.from(t.parentStyleSheet.cssRules).indexOf(t);r.unshift(e)}return r}(e,[])}function Nn(e,t,r){let s,n;return e?(e.ownerNode?s=t.getId(e.ownerNode):n=r.getId(e),{styleId:n,id:s}):{}}function _n({mirror:e,stylesheetManager:t},r){var s,n,o;let i=null;i="#document"===r.nodeName?e.getId(r):e.getId(Rs.host(r));const a="#document"===r.nodeName?null==(s=r.defaultView)?void 0:s.Document:null==(o=null==(n=r.ownerDocument)?void 0:n.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 s=null==(r=l.set)?void 0:r.call(this,e);if(null!==i&&-1!==i)try{t.adoptStyleSheets(e,i)}catch(n){}return s}}),kn((()=>{Object.defineProperty(r,"adoptedStyleSheets",{configurable:l.configurable,enumerable:l.enumerable,get:l.get,set:l.set})}))):()=>{}}function Ln(e,t={}){const r=e.doc.defaultView;if(!r)return()=>{};let s;!function(e,t){const{mutationCb:r,mousemoveCb:s,mouseInteractionCb:n,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),s(...e)},e.mouseInteractionCb=(...e)=>{t.mouseInteraction&&t.mouseInteraction(...e),n(...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&&(s=Mn(e,e.doc));const n=function({mousemoveCb:e,sampling:t,doc:r,mirror:s}){if(!1===t.mousemove)return()=>{};const n="number"==typeof t.mousemove?t.mousemove:50,o="number"==typeof t.mousemoveCallback?t.mousemoveCallback:500;let i,a=[];const l=_s(kn((t=>{const r=Date.now()-i;e(a.map((e=>(e.timeOffset-=r,e))),t),a=[],i=null})),o),c=kn(_s(kn((e=>{const t=On(e),{clientX:r,clientY:n}=Vs(e)?e.changedTouches[0]:e;i||(i=Ps()),a.push({x:r,y:n,id:s.getId(t),timeOffset:Ps()-i}),l("undefined"!=typeof DragEvent&&e instanceof DragEvent?ln.Drag:e instanceof MouseEvent?ln.MouseMove:ln.TouchMove)})),n,{trailing:!1})),u=[As("mousemove",c,r),As("touchmove",c,r),As("drag",c,r)];return kn((()=>{u.forEach((e=>e()))}))}(e),o=In(e),i=En(e),a=function({viewportResizeCb:e},{win:t}){let r=-1,s=-1;return As("resize",kn(_s(kn((()=>{const t=Fs(),n=Us();r===t&&s===n||(e({width:Number(n),height:Number(t)}),r=t,s=n)})),200)),t)}(e,{win:r}),l=function({inputCb:e,doc:t,mirror:r,blockClass:s,blockSelector:n,ignoreClass:o,ignoreSelector:i,maskInputOptions:a,maskInputFn:l,sampling:c,userTriggeredOnInput:u}){function h(e){let r=On(e);const c=e.isTrusted,h=r&&r.tagName;if(r&&"OPTION"===h&&(r=Rs.parentElement(r)),!r||!h||Rn.indexOf(h)<0||js(r,s,n,!0))return;if(r.classList.contains(o)||i&&r.matches(i))return;let d=r.value,f=!1;const m=E(r)||"";"radio"===m||"checkbox"===m?f=r.checked:(a[h.toLowerCase()]||a[m])&&(d=O({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,s){const n=An.get(t);if(!n||n.text!==s.text||n.isChecked!==s.isChecked){An.set(t,s);const n=r.getId(t);kn(e)({...s,id:n})}}const d=("last"===c.input?["change"]:["input","change"]).map((e=>As(e,kn(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=>Ls(e[0],e[1],{set(){kn(h)({target:this,isTrusted:!1})}},!1,f)))),kn((()=>{d.forEach((e=>e()))}))}(e),c=function({mediaInteractionCb:e,blockClass:t,blockSelector:r,mirror:s,sampling:n,doc:o}){const i=kn((o=>_s(kn((n=>{const i=On(n);if(!i||js(i,t,r,!0))return;const{currentTime:a,volume:l,muted:c,playbackRate:u,loop:h}=i;e({type:o,id:s.getId(i),currentTime:a,volume:l,muted:c,playbackRate:u,loop:h})})),n.media||500))),a=[As("play",i(pn.Play),o),As("pause",i(pn.Pause),o),As("seeked",i(pn.Seeked),o),As("volumechange",i(pn.VolumeChange),o),As("ratechange",i(pn.RateChange),o)];return kn((()=>{a.forEach((e=>e()))}))}(e);let u=()=>{},h=()=>{},p=()=>{},d=()=>{};e.recordDOM&&(u=function({styleSheetRuleCb:e,mirror:t,stylesheetManager:r},{win:s}){if(!s.CSSStyleSheet||!s.CSSStyleSheet.prototype)return()=>{};const n=s.CSSStyleSheet.prototype.insertRule;s.CSSStyleSheet.prototype.insertRule=new Proxy(n,{apply:kn(((s,n,o)=>{const[i,a]=o,{id:l,styleId:c}=Nn(n,t,r.styleMirror);return(l&&-1!==l||c&&-1!==c)&&e({id:l,styleId:c,adds:[{rule:i,index:a}]}),s.apply(n,o)}))}),s.CSSStyleSheet.prototype.addRule=function(e,t,r=this.cssRules.length){const n=`${e} { ${t} }`;return s.CSSStyleSheet.prototype.insertRule.apply(this,[n,r])};const o=s.CSSStyleSheet.prototype.deleteRule;let i,a;s.CSSStyleSheet.prototype.deleteRule=new Proxy(o,{apply:kn(((s,n,o)=>{const[i]=o,{id:a,styleId:l}=Nn(n,t,r.styleMirror);return(a&&-1!==a||l&&-1!==l)&&e({id:a,styleId:l,removes:[{index:i}]}),s.apply(n,o)}))}),s.CSSStyleSheet.prototype.removeRule=function(e){return s.CSSStyleSheet.prototype.deleteRule.apply(this,[e])},s.CSSStyleSheet.prototype.replace&&(i=s.CSSStyleSheet.prototype.replace,s.CSSStyleSheet.prototype.replace=new Proxy(i,{apply:kn(((s,n,o)=>{const[i]=o,{id:a,styleId:l}=Nn(n,t,r.styleMirror);return(a&&-1!==a||l&&-1!==l)&&e({id:a,styleId:l,replace:i}),s.apply(n,o)}))})),s.CSSStyleSheet.prototype.replaceSync&&(a=s.CSSStyleSheet.prototype.replaceSync,s.CSSStyleSheet.prototype.replaceSync=new Proxy(a,{apply:kn(((s,n,o)=>{const[i]=o,{id:a,styleId:l}=Nn(n,t,r.styleMirror);return(a&&-1!==a||l&&-1!==l)&&e({id:a,styleId:l,replaceSync:i}),s.apply(n,o)}))}));const l={};Dn("CSSGroupingRule")?l.CSSGroupingRule=s.CSSGroupingRule:(Dn("CSSMediaRule")&&(l.CSSMediaRule=s.CSSMediaRule),Dn("CSSConditionRule")&&(l.CSSConditionRule=s.CSSConditionRule),Dn("CSSSupportsRule")&&(l.CSSSupportsRule=s.CSSSupportsRule));const c={};return Object.entries(l).forEach((([s,n])=>{c[s]={insertRule:n.prototype.insertRule,deleteRule:n.prototype.deleteRule},n.prototype.insertRule=new Proxy(c[s].insertRule,{apply:kn(((s,n,o)=>{const[i,a]=o,{id:l,styleId:c}=Nn(n.parentStyleSheet,t,r.styleMirror);return(l&&-1!==l||c&&-1!==c)&&e({id:l,styleId:c,adds:[{rule:i,index:[...Tn(n),a||0]}]}),s.apply(n,o)}))}),n.prototype.deleteRule=new Proxy(c[s].deleteRule,{apply:kn(((s,n,o)=>{const[i]=o,{id:a,styleId:l}=Nn(n.parentStyleSheet,t,r.styleMirror);return(a&&-1!==a||l&&-1!==l)&&e({id:a,styleId:l,removes:[{index:[...Tn(n),i]}]}),s.apply(n,o)}))})})),kn((()=>{s.CSSStyleSheet.prototype.insertRule=n,s.CSSStyleSheet.prototype.deleteRule=o,i&&(s.CSSStyleSheet.prototype.replace=i),a&&(s.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=_n(e,e.doc),p=function({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:r,stylesheetManager:s},{win:n}){const o=n.CSSStyleDeclaration.prototype.setProperty;n.CSSStyleDeclaration.prototype.setProperty=new Proxy(o,{apply:kn(((n,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}=Nn(null==(l=i.parentRule)?void 0:l.parentStyleSheet,t,s.styleMirror);return(p&&-1!==p||d&&-1!==d)&&e({id:p,styleId:d,set:{property:c,value:u,priority:h},index:Tn(i.parentRule)}),n.apply(i,a)}))});const i=n.CSSStyleDeclaration.prototype.removeProperty;return n.CSSStyleDeclaration.prototype.removeProperty=new Proxy(i,{apply:kn(((n,o,a)=>{var l;const[c]=a;if(r.has(c))return i.apply(o,[c]);const{id:u,styleId:h}=Nn(null==(l=o.parentRule)?void 0:l.parentStyleSheet,t,s.styleMirror);return(u&&-1!==u||h&&-1!==h)&&e({id:u,styleId:h,remove:{property:c},index:Tn(o.parentRule)}),n.apply(o,a)}))}),kn((()=>{n.CSSStyleDeclaration.prototype.setProperty=o,n.CSSStyleDeclaration.prototype.removeProperty=i}))}(e,{win:r}),e.collectFonts&&(d=function({fontCb:e,doc:t}){const r=t.defaultView;if(!r)return()=>{};const s=[],n=new WeakMap,o=r.FontFace;r.FontFace=function(e,t,r){const s=new o(e,t,r);return n.set(s,{family:e,buffer:"string"!=typeof t,descriptors:r,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),s};const i=Es(t.fonts,"add",(function(t){return function(r){return setTimeout(kn((()=>{const t=n.get(r);t&&(e(t),n.delete(r))})),0),t.apply(this,[r])}}));return s.push((()=>{r.FontFace=o})),s.push(i),kn((()=>
vendor: 4,920 bytes, line 1
1{s.forEach((e=>e()))}))}(e)));const f=function(e){const{doc:t,mirror:r,blockClass:s,blockSelector:n,selectionCb:o}=e;let i=!0;const a=kn((()=>{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;js(i,s,n,!0)||js(c,s,n,!0)||a.push({start:r.getId(i),startOffset:l,end:r.getId(c),endOffset:u})}o({ranges:a})}));return a(),As("selectionchange",a)}(e),m=function({doc:e,customElementCb:t}){const r=e.defaultView;return r&&r.customElements?Es(r.customElements,"define",(function(e){return function(r,s,n){try{t({define:{name:r}})}catch(o){console.warn(`Custom element callback failed for ${r}`)}return e.apply(this,[r,s,n])}})):()=>{}}(e),g=[];for(const y of e.plugins)g.push(y.observer(y.callback,r,y.options));return kn((()=>{xn.forEach((e=>e.reset())),null==s||s.disconnect(),n(),o(),i(),a(),l(),c(),u(),h(),p(),d(),f(),m(),g.forEach((e=>e()))}))}function Pn(e){return void 0!==window[e]}function Dn(e){return Boolean(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class Fn{constructor(e){o(this,"iframeIdToRemoteIdMap",new WeakMap),o(this,"iframeRemoteIdToIdMap",new WeakMap),this.generateIdFn=e}getId(e,t,r,s){const n=r||this.getIdToRemoteIdMap(e),o=s||this.getRemoteIdToIdMap(e);let i=n.get(t);return i||(i=this.generateIdFn(),n.set(t,i),o.set(i,t)),i}getIds(e,t){const r=this.getIdToRemoteIdMap(e),s=this.getRemoteIdToIdMap(e);return t.map((t=>this.getId(e,t,r,s)))}getRemoteId(e,t,r){const s=r||this.getRemoteIdToIdMap(e);if("number"!=typeof t)return t;const n=s.get(t);return n||-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 Un{constructor(e){o(this,"iframes",new WeakMap),o(this,"crossOriginIframeMap",new WeakMap),o(this,"crossOriginIframeMirror",new Fn(B)),o(this,"crossOriginIframeStyleMirror"),o(this,"crossOriginIframeRootIdMap",new WeakMap),o(this,"mirror"),o(this,"mutationCb"),o(this,"wrappedEmit"),o(this,"loadListener"),o(this,"stylesheetManager"),o(this,"recordCrossOriginIframes"),this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new Fn(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,s;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==(s=this.loadListener)||s.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 s=this.transformCrossOriginEvent(r,t.data.event);s&&this.wrappedEmit(s,t.data.isCheckout)}transformCrossOriginEvent(e,t){var r;switch(t.type){case an.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:an.IncrementalSnapshot,data:{source:ln.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case an.Meta:case an.Load:case an.DomContentLoaded:return!1;case an.Plugin:return t;case an.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case an.IncrementalSnapshot:switch(t.data.source){case ln.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)}
vendor: 9,703 bytes, line 1
1)),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 ln.Drag:case ln.TouchMove:case ln.MouseMove:return t.data.positions.forEach((t=>{this.replaceIds(t,e,["id"])})),t;case ln.ViewportResize:return!1;case ln.MediaInteraction:case ln.MouseInteraction:case ln.Scroll:case ln.CanvasMutation:case ln.Input:return this.replaceIds(t.data,e,["id"]),t;case ln.StyleSheetRule:case ln.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case ln.Font:return t;case ln.Selection:return t.data.ranges.forEach((t=>{this.replaceIds(t,e,["start","end"])})),t;case ln.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,s){for(const n of s)(Array.isArray(t[n])||"number"==typeof t[n])&&(Array.isArray(t[n])?t[n]=e.getIds(r,t[n]):t[n]=e.getId(r,t[n]));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===dn.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach((e=>{this.patchRootIdOnNode(e,t)}))}}class Bn{constructor(e){o(this,"shadowDoms",new WeakSet),o(this,"mutationCb"),o(this,"scrollCb"),o(this,"bypassOptions"),o(this,"mirror"),o(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(!S(e))return;if(this.shadowDoms.has(e))return;this.shadowDoms.add(e);const r=Mn({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push((()=>r.disconnect())),this.restoreHandlers.push(En({...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(Rs.host(e))),this.restoreHandlers.push(_n({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(Es(e.prototype,"attachShadow",(function(e){return function(s){const n=e.call(this,s),o=Rs.shadowRoot(this);return o&&on(this)&&r.addShadowRoot(o,t),n}})))}reset(){this.restoreHandlers.forEach((e=>{try{e()}catch(t){}})),this.restoreHandlers=[],this.shadowDoms=new WeakSet}}for(var jn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",zn="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Wn=0;Wn<jn.length;Wn++)zn[jn.charCodeAt(Wn)]=Wn;const $n=new Map;const Vn=(e,t,r)=>{if(!e||!Xn(e,t)&&"object"!=typeof e)return;const s=function(e,t){let r=$n.get(e);return r||(r=new Map,$n.set(e,r)),r.has(t)||r.set(t,[]),r.get(t)}(r,e.constructor.name);let n=s.indexOf(e);return-1===n&&(n=s.length,s.push(e)),n};function Gn(e,t,r){if(e instanceof Array)return e.map((e=>Gn(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),s=r.length,n="";for(t=0;t<s;t+=3)n+=jn[r[t]>>2],n+=jn[(3&r[t])<<4|r[t+1]>>4],n+=jn[(15&r[t+1])<<2|r[t+2]>>6],n+=jn[63&r[t+2]];return s%3==2?n=n.substring(0,n.length-1)+"=":s%3==1&&(n=n.substring(0,n.length-2)+"=="),n}(e)}}if(e instanceof DataView){return{rr_type:e.constructor.name,args:[Gn(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}}if(e instanceof HTMLCanvasElement){return{rr_type:"HTMLImageElement",src:e.toDataURL()}}if(e instanceof ImageData){return{rr_type:e.constructor.name,args:[Gn(e.data,t,r),e.width,e.height]}}if(Xn(e,t)||"object"==typeof e){return{rr_type:e.constructor.name,index:Vn(e,t,r)}}return e}const Hn=(e,t,r)=>e.map((e=>Gn(e,t,r))),Xn=(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 qn(e,t,r,s){const n=[];try{const o=Es(e.HTMLCanvasElement.prototype,"getContext",(function(e){return function(n,...o){if(!js(this,t,r,!0)){const e=function(e){return"experimental-webgl"===e?"webgl":e}(n);if("__context"in this||(this.__context=e),s&&["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,[n,...o])}}));n.push(o)}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{n.forEach((e=>e()))}}function Jn(e,t,r,s,n,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=Es(e,l,(function(e){return function(...i){const a=e.apply(this,i);if(Vn(a,o,this),"tagName"in this.canvas&&!js(this.canvas,s,n,!0)){const e=Hn(i,o,this),s={type:t,property:l,args:e};r(this.canvas,s)}return a}}));i.push(a)}catch{const s=Ls(e,l,{set(e){r(this.canvas,{type:t,property:l,args:[e],setter:!0})}});i.push(s)}return i}const Kn='(function() {\n  "use strict";\n  var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";\n  var lookup = typeof Uint8Array === "undefined" ? [] : new Uint8Array(256);\n  for (var i = 0; i < chars.length; i++) {\n    lookup[chars.charCodeAt(i)] = i;\n  }\n  var encode = function(arraybuffer) {\n    var bytes = new Uint8Array(arraybuffer), i2, len = bytes.length, base64 = "";\n    for (i2 = 0; i2 < len; i2 += 3) {\n      base64 += chars[bytes[i2] >> 2];\n      base64 += chars[(bytes[i2] & 3) << 4 | bytes[i2 + 1] >> 4];\n      base64 += chars[(bytes[i2 + 1] & 15) << 2 | bytes[i2 + 2] >> 6];\n      base64 += chars[bytes[i2 + 2] & 63];\n    }\n    if (len % 3 === 2) {\n      base64 = base64.substring(0, base64.length - 1) + "=";\n    } else if (len % 3 === 1) {\n      base64 = base64.substring(0, base64.length - 2) + "==";\n    }\n    return base64;\n  };\n  const lastBlobMap = /* @__PURE__ */ new Map();\n  const transparentBlobMap = /* @__PURE__ */ new Map();\n  async function getTransparentBlobFor(width, height, dataURLOptions) {\n    const id = `${width}-${height}`;\n    if ("OffscreenCanvas" in globalThis) {\n      if (transparentBlobMap.has(id)) return transparentBlobMap.get(id);\n      const offscreen = new OffscreenCanvas(width, height);\n      offscreen.getContext("2d");\n      const blob = await offscreen.convertToBlob(dataURLOptions);\n      const arrayBuffer = await blob.arrayBuffer();\n      const base64 = encode(arrayBuffer);\n      transparentBlobMap.set(id, base64);\n      return base64;\n    } else {\n      return "";\n    }\n  }\n  const worker = self;\n  worker.onmessage = async function(e) {\n    if ("OffscreenCanvas" in globalThis) {\n      const { id, bitmap, width, height, dataURLOptions } = e.data;\n      const transparentBase64 = getTransparentBlobFor(\n        width,\n        height,\n        dataURLOptions\n      );\n      const offscreen = new OffscreenCanvas(width, height);\n      const ctx = offscreen.getContext("2d");\n      ctx.drawImage(bitmap, 0, 0);\n      bitmap.close();\n      const blob = await offscreen.convertToBlob(dataURLOptions);\n      const type = blob.type;\n      const arrayBuffer = await blob.arrayBuffer();\n      const base64 = encode(arrayBuffer);\n      if (!lastBlobMap.has(id) && await transparentBase64 === base64) {\n        lastBlobMap.set(id, base64);\n        return worker.postMessage({ id });\n      }\n      if (lastBlobMap.get(id) === base64) return worker.postMessage({ id });\n      worker.postMessage({\n        id,\n        type,\n        base64,\n        width,\n        height\n      });\n      lastBlobMap.set(id, base64);\n    } else {\n      return worker.postMessage({ id: e.data.id });\n    }\n  };\n})();\n//# sourceMappingURL=image-bitmap-data-url-worker-IJpC7g_b.js.map\n',Yn="undefined"!=typeof self&&self.Blob&&new Blob([Kn],{type:"text/javascript;charset=utf-8"});function Zn(e){let t;try{if(t=Yn&&(self.URL||self.webkitURL).createObjectURL(Yn),!t)throw"";const r=new Worker(t,{name:null==e?void 0:e.name});return r.addEventListener("error",(()=>{(self.URL||self.webkitURL).revokeObjectURL(t)})),r}catch(r){return new Worker("data:text/javascript;charset=utf-8,"+encodeURIComponent(Kn),{name:null==e?void 0:e.name})}finally{t&&(self.URL||self.webkitURL).revokeObjectURL(t)}}class Qn{constructor(e){o(this,"pendingCanvasMutations",new Map),o(this,"rafStamps",{latestId:0,invokeId:null}),o(this,"mirror"),o(this,"mutationCb"),o(this,"resetObservers"),o(this,"frozen",!1),o(this,"locked",!1),o(this,"processMutation",((e,t)=>
vendor: 1,302 bytes, line 1
1{!(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:n,recordCanvas:i,dataURLOptions:a}=e;this.mutationCb=e.mutationCb,this.mirror=e.mirror,i&&"all"===t&&this.initCanvasMutationObserver(r,s,n),i&&"number"==typeof t&&this.initCanvasFPSObserver(t,r,s,n,{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,s,n){const o=qn(t,r,s,!0),i=new Map,a=new Zn;a.onmessage=e=>{const{id:t}=e.data;if(i.set(t,!1),!("base64"in e.data))return;const{base64:r,type:s,width:n,height:o}=e.data;this.mutationCb({id:t,type:hn["2D"],commands:[{property:"clearRect",args:[0,0,n,o]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:r}],type:s}]},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=>{js(t,r,s,!0)||e.push(t)})),e}
vendor: 8,255 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 s=await createImageBitmap(e);a.postMessage({id:r,bitmap:s,width:e.width,height:e.height,dataURLOptions:n.dataURLOptions},[s])}))),c=requestAnimationFrame(h)};c=requestAnimationFrame(h),this.resetObservers=()=>{o(),cancelAnimationFrame(c)}}initCanvasMutationObserver(e,t,r){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();const s=qn(e,t,r,!1),n=function(e,t,r,s){const n=[],o=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype);for(const i of o)try{if("function"!=typeof t.CanvasRenderingContext2D.prototype[i])continue;const o=Es(t.CanvasRenderingContext2D.prototype,i,(function(n){return function(...o){return js(this.canvas,r,s,!0)||setTimeout((()=>{const r=Hn(o,t,this);e(this.canvas,{type:hn["2D"],property:i,args:r})}),0),n.apply(this,o)}}));n.push(o)}catch{const r=Ls(t.CanvasRenderingContext2D.prototype,i,{set(t){e(this.canvas,{type:hn["2D"],property:i,args:[t],setter:!0})}});n.push(r)}return()=>{n.forEach((e=>e()))}}(this.processMutation.bind(this),e,t,r),o=function(e,t,r,s){const n=[];return void 0!==t.WebGLRenderingContext&&n.push(...Jn(t.WebGLRenderingContext.prototype,hn.WebGL,e,r,s,t)),void 0!==t.WebGL2RenderingContext&&n.push(...Jn(t.WebGL2RenderingContext.prototype,hn.WebGL2,e,r,s,t)),()=>{n.forEach((e=>e()))}}(this.processMutation.bind(this),e,t,r);this.resetObservers=()=>{s(),n(),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 s=r.map((e=>{const{type:t,...r}=e;return r})),{type:n}=r[0];this.mutationCb({id:t,type:n,commands:s}),this.pendingCanvasMutations.delete(e)}}class eo{constructor(e){o(this,"trackedLinkElements",new WeakSet),o(this,"mutationCb"),o(this,"adoptedStyleSheetCb"),o(this,"styleMirror",new tn),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:[]},s=[];for(const n of e){let e;this.styleMirror.has(n)?e=this.styleMirror.getId(n):(e=this.styleMirror.add(n),s.push({styleId:e,rules:Array.from(n.rules||CSSRule,((e,t)=>({rule:C(e,n.href),index:t})))})),r.styleIds.push(e)}s.length>0&&(r.styles=s),this.adoptedStyleSheetCb(r)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class to{constructor(){o(this,"nodeMap",new WeakMap),o(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 ro,so,no,oo=!1;try{if(2!==Array.from([1],(e=>2*e))[0]){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=(null==(s=e.contentWindow)?void 0:s.Array.from)||Array.from,document.body.removeChild(e)}}catch(Ao){console.debug("Unable to override Array.from",Ao)}const io=x();function ao(e={}){const{emit:t,checkoutEveryNms:r,checkoutEveryNth:s,blockClass:n="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:S,recordDOM:v=!0,recordCanvas:C=!1,recordCrossOriginIframes:x=!1,recordAfter:O=("DOMContentLoaded"===e.recordAfter?e.recordAfter:"load"),userTriggeredOnInput:M=!1,collectFonts:I=!1,inlineImages:E=!1,plugins:R,keepIframeSrcFn:A=(()=>!1),ignoreCSSAttributes:T=new Set([]),errorHandler:N}=e;Cn=N;const _=!x||window.parent===window;let L=!1;if(!_)try{window.parent.document&&(L=!1)}catch(X){L=!0}if(_&&!t)throw new Error("emit function is required");if(!_&&!L)return()=>{};void 0!==S&&void 0===w.mousemove&&(w.mousemove=S),io.reset();const P=!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},D=ee(d);let F;Gs();let U=0;const B=e=>{for(const t of R||[])t.eventProcessor&&(e=t.eventProcessor(e));return y&&!L&&(e=y(e)),e};ro=(e,n)=>{var o;const i=e;if(i.timestamp=Ps(),!(null==(o=xn[0])?void 0:o.isFrozen())||i.type===an.FullSnapshot||i.type===an.IncrementalSnapshot&&i.data.source===ln.Mutation||xn.forEach((e=>e.unfreeze())),_)null==t||t(B(i),n);else if(L){const e={type:"rrweb",event:B(i),origin:window.location.origin,isCheckout:n};window.parent.postMessage(e,"*")}if(i.type===an.FullSnapshot)F=i,U=0;else if(i.type===an.IncrementalSnapshot){if(i.data.source===ln.Mutation&&i.data.isAttachIframe)return;U++;const e=s&&U>=s,t=r&&i.timestamp-F.timestamp>r;(e||t)&&so(!0)}};const j=e=>{ro({type:an.IncrementalSnapshot,data:{source:ln.Mutation,...e}})},z=e=>ro({type:an.IncrementalSnapshot,data:{source:ln.Scroll,...e}}),W=e=>ro({type:an.IncrementalSnapshot,data:{source:ln.CanvasMutation,...e}}),$=new eo({mutationCb:j,adoptedStyleSheetCb:e=>ro({type:an.IncrementalSnapshot,data:{source:ln.AdoptedStyleSheet,...e}})}),V=new Un({mirror:io,mutationCb:j,stylesheetManager:$,recordCrossOriginIframes:x,wrappedEmit:ro});for(const k of R||[])k.getMirror&&k.getMirror({nodeMirror:io,crossOriginIframeMirror:V.crossOriginIframeMirror,crossOriginIframeStyleMirror:V.crossOriginIframeStyleMirror});const G=new to;no=new Qn({recordCanvas:C,mutationCb:W,win:window,blockClass:n,blockSelector:o,mirror:io,sampling:w.canvas,dataURLOptions:b});const H=new Bn({mutationCb:j,scrollCb:z,bypassOptions:{blockClass:n,blockSelector:o,maskTextClass:l,maskTextSelector:c,inlineStylesheet:u,maskInputOptions:P,dataURLOptions:b,maskTextFn:m,maskInputFn:f,recordCanvas:C,inlineImages:E,sampling:w,slimDOMOptions:D,iframeManager:V,stylesheetManager:$,canvasManager:no,keepIframeSrcFn:A,processedNodeManager:G},mirror:io});so=(e=!1)=>{if(!v)return;ro({type:an.Meta,data:{href:window.location.href,width:Us(),height:Fs()}},e),$.reset(),H.init(),xn.forEach((e=>e.lock()));const t=function(e,t){const{mirror:r=new k,blockClass:s="rr-block",blockSelector:n=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:S,keepIframeSrcFn:v=(()=>!1)}=t;return te(e,{doc:e,mirror:r,blockClass:s,blockSelector:n,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:ee(d),dataURLOptions:f,inlineImages:l,recordCanvas:c,preserveWhiteSpace:m,onSerialize:g,onIframeLoad:y,iframeLoadTimeout:w,onStylesheetLoad:b,stylesheetLoadTimeout:S,keepIframeSrcFn:v,newlyAddedElement:!1})}(document,{mirror:io,blockClass:n,blockSelector:o,maskTextClass:l,maskTextSelector:c,inlineStylesheet:u,maskAllInputs:P,maskTextFn:m,maskInputFn:f,slimDOM:D,dataURLOptions:b,recordCanvas:C,inlineImages:E,onSerialize:e=>
1{qs(e,io)&&V.addIframe(e),Js(e,io)&&$.trackLinkElement(e),Ys(e)&&H.addShadowRoot(Rs.shadowRoot(e),document)},onIframeLoad:(e,t)=>{V.attachIframe(e,t),H.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{$.attachLinkElement(e,t)},keepIframeSrcFn:A});if(!t)return console.warn("Failed to snapshot the document");ro({type:an.FullSnapshot,data:{node:t,initialOffset:Ds(window)}},e),xn.forEach((e=>e.unlock())),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&$.adoptStyleSheets(document.adoptedStyleSheets,io.getId(document))};try{const e=[],t=e=>{var t;return kn(Ln)({mutationCb:j,mousemoveCb:(e,t)=>ro({type:an.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>ro({type:an.IncrementalSnapshot,data:{source:ln.MouseInteraction,...e}}),scrollCb:z,viewportResizeCb:e=>ro({type:an.IncrementalSnapshot,data:{source:ln.ViewportResize,...e}}),inputCb:e=>ro({type:an.IncrementalSnapshot,data:{source:ln.Input,...e}}),mediaInteractionCb:e=>ro({type:an.IncrementalSnapshot,data:{source:ln.MediaInteraction,...e}}),styleSheetRuleCb:e=>ro({type:an.IncrementalSnapshot,data:{source:ln.StyleSheetRule,...e}}),styleDeclarationCb:e=>ro({type:an.IncrementalSnapshot,data:{source:ln.StyleDeclaration,...e}}),canvasMutationCb:W,fontCb:e=>ro({type:an.IncrementalSnapshot,data:{source:ln.Font,...e}}),selectionCb:e=>{ro({type:an.IncrementalSnapshot,data:{source:ln.Selection,...e}})},customElementCb:e=>{ro({type:an.IncrementalSnapshot,data:{source:ln.CustomElement,...e}})},blockClass:n,ignoreClass:i,ignoreSelector:a,maskTextClass:l,maskTextSelector:c,maskInputOptions:P,inlineStylesheet:u,sampling:w,recordDOM:v,recordCanvas:C,inlineImages:E,userTriggeredOnInput:M,collectFonts:I,doc:e,maskInputFn:f,maskTextFn:m,keepIframeSrcFn:A,blockSelector:o,slimDOMOptions:D,dataURLOptions:b,mirror:io,iframeManager:V,stylesheetManager:$,shadowDomManager:H,processedNodeManager:G,canvasManager:no,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=>ro({type:an.Plugin,data:{plugin:e.name,payload:t}})}))))||[]},g)};V.addLoadListener((r=>{try{e.push(t(r.contentDocument))}catch(s){console.warn(s)}}));const r=()=>{so(),e.push(t(document)),oo=!0};return["interactive","complete"].includes(document.readyState)?r():(e.push(As("DOMContentLoaded",(()=>{ro({type:an.DomContentLoaded,data:{}}),"DOMContentLoaded"===O&&r()}))),e.push(As("load",(()=>{ro({type:an.Load,data:{}}),"load"===O&&r()}),window))),()=>{e.forEach((e=>{try{e()}catch(t){String(t).toLowerCase().includes("cross-origin")||console.warn(t)}})),G.destroy(),oo=!1,Cn=void 0}}catch(q){console.warn(q)}}ao.addCustomEvent=(e,t)=>{if(!oo)throw new Error("please add custom event after start recording");ro({type:an.Custom,data:{tag:e,payload:t}})},ao.freezePage=()=>{xn.forEach((e=>e.freeze()))},ao.takeFullSnapshot=e=>{if(!oo)throw new Error("please take full snapshot after start recording");so(e)},ao.mirror=io;var lo,co;(co=lo||(lo={}))[co.NotStarted=0]="NotStarted",co[co.Running=1]="Running",co[co.Stopped=2]="Stopped";const{addCustomEvent:uo}=ao,{freezePage:ho}=ao,{takeFullSnapshot:po}=ao;var fo=r(98885),mo=r(94805),go=r(28034);class yo{#e=new go.Z(1/0);cycleTimestamp=Date.now();hasSnapshot=!1;hasMeta=!1;hasError=!1;constructor(e=!0){this.inlinedAllStylesheets=e}add(e,t){this.#e.add(e,t)}get events(){return this.#e.get()}get payloadBytesEstimation(){return this.#e.byteSize()}}var wo=r(32365),bo=r(74730),So=r(21293),vo=r(89714),Co=r(46269),ko=r(83757),xo=r(98804),Oo=r(50229),Mo=r(6854),Io=r(34779);const Eo="rrweb-data";class Ro{#t=!1;#r=(0,Mo.J)((()=>(0,Oo.R)(47)));#s=!0;triggerHistory=[];constructor(e){this.srInstrument=e,this.ee=e.ee,this.srFeatureName=e.featureName,this.agentRef=e.agentRef,this.isErrorMode=!1,this.shouldFix=this.agentRef.init.session_replay.fix_stylesheets,this.events=new yo(this.shouldFix),this.backloggedEvents=new yo(this.shouldFix),this.hasSeenSnapshot=!1,this.hasSeenMeta=!1,this.lastMeta=!1,this.stopRecording=()=>{this.agentRef.runtime.isRecording=!1},(0,Io.i)(xo.qh,(()=>{this.#s=!1,this.stopRecording()}),this.srFeatureName,this.ee);const t=(e,t)=>{this.audit(e,t)};this.srInstrument.featAggregate?.drained?this.ee.on(Eo,t):(0,Io.i)(Eo,t,this.srFeatureName,this.ee)}get trigger(){return this.triggerHistory[this.triggerHistory.length-1]}getEvents(){return{events:[...this.backloggedEvents.events,...this.events.events].filter((e=>e)),type:"standard",cycleTimestamp:Math.min(this.backloggedEvents.cycleTimestamp,this.events.cycleTimestamp),payloadBytesEstimation:this.backloggedEvents.payloadBytesEstimation+this.events.payloadBytesEstimation,hasError:this.backloggedEvents.hasError||this.events.hasError,hasMeta:this.backloggedEvents.hasMeta||this.events.hasMeta,hasSnapshot:this.backloggedEvents.hasSnapshot||this.events.hasSnapshot,inlinedAllStylesheets:!!this.backloggedEvents.events.length&&this.backloggedEvents.inlinedAllStylesheets||this.events.inlinedAllStylesheets}}clearBuffer(){this.backloggedEvents=this.isErrorMode?this.events:new yo(this.shouldFix),this.events=new yo(this.shouldFix)}startRecording(e,t){if(!this.#s)return;this.triggerHistory.push(e),this.isErrorMode=t===wo.g.ERROR,this.stopRecording(),this.agentRef.runtime.isRecording=!0;const{block_class:r,ignore_class:s,mask_text_class:n,block_selector:o,mask_input_options:i,mask_text_selector:a,mask_all_inputs:l,inline_images:c,collect_fonts:u}=this.agentRef.init.session_replay;let h;try{h=ao({emit:(e,t)=>
1{(0,So.p)(Eo,[e,t],void 0,this.srFeatureName,this.ee)},blockClass:r,ignoreClass:s,maskTextClass:n,blockSelector:o,maskInputOptions:i,maskTextSelector:a,maskTextFn:ko.rF,maskAllInputs:l,maskInputFn:ko.rF,inlineStylesheet:!0,inlineImages:c,collectFonts:u,checkoutEveryNms:mo.yP[t],recordAfter:"DOMContentLoaded",slimDOMOptions:"all"})}catch(Ao){this.ee.emit("internal-error",[Ao])}this.stopRecording=()=>{this.agentRef.runtime.isRecording=!1,h?.()}}audit(e,t){const r=this.agentRef.init.session_replay.fix_stylesheets?bo.m.evaluate():0,s="SessionReplay/Payload/Missing-Inline-Css/";if(!this.shouldFix)return r>0&&(this.events.inlinedAllStylesheets=!1,this.#r(),(0,So.p)(vo.xV,[s+"Skipped",r],void 0,Co.K7.metrics,this.ee)),this.store(e,t);!r&&this.#t&&e.type===mo._s.Meta&&(this.#t=!1),r>0&&(bo.m.fix().then((e=>{e>0&&(this.events.inlinedAllStylesheets=!1,this.shouldFix=!1),(0,So.p)(vo.xV,[s+"Failed",e],void 0,Co.K7.metrics,this.ee),(0,So.p)(vo.xV,[s+"Fixed",r-e],void 0,Co.K7.metrics,this.ee),this.takeFullSnapshot()})),e.type!==mo._s.FullSnapshot&&e.type!==mo._s.Meta||(this.#t=!0)),this.#t||this.store(e,t)}store(e,t){if(!e||this.srInstrument.featAggregate?.blocked)return;e.timestamp=this.agentRef.runtime.timeKeeper.correctAbsoluteTimestamp(e.timestamp),e.__serialized=(0,fo.A)(e);const r=e.__serialized.length,s=this.getPayloadSize(r);(0,So.p)(vo.xV,["rrweb/node/"+e.type+"/bytes",r],void 0,Co.K7.metrics,this.ee),this.isErrorMode&&t&&e.type===mo._s.Meta&&this.clearBuffer(),this.hasSeenMeta||=this.events.hasMeta||=e.type===mo._s.Meta,this.hasSeenSnapshot||=this.events.hasSnapshot||=e.type===mo._s.FullSnapshot,this.events.add(e,r),(this.events.hasSnapshot&&this.events.hasMeta||s>xo.No)&&!this.isErrorMode&&this.agentRef.runtime.harvester.triggerHarvestFor(this.srInstrument.featAggregate)}takeFullSnapshot(){try{if(!this.agentRef.runtime.isRecording)return;ao.takeFullSnapshot()}catch(Ao){}}clearTimestamps(){this.events.cycleTimestamp=void 0}getPayloadSize(e=0){return this.estimateCompression(this.events.payloadBytesEstimation+e)+mo.BB}estimateCompression(e){return this.srInstrument.featAggregate?.gzipper&&this.srInstrument.featAggregate?.u8?e*mo.Ug:e}}},28034:(e,t,r)=>{r.d(t,{Z:()=>o});var s=r(98885),n=r(98804);class o{#n=[];#o=0;#i;#a;constructor(e=n.It,t){this.maxPayloadSize=e,this.featureAgg=t}get length(){return this.#n.length}isEmpty(){return 0===this.#n.length}get(){return this.#n}byteSize(){return this.#o}wouldExceedMaxSize(e){return this.#o+e>this.maxPayloadSize}add(e,t){const r=t||(0,s.A)(e)?.length||0;if(this.#o+r>this.maxPayloadSize){const e=e=>"EventBuffer/".concat(e,"/Dropped/Bytes");return this.featureAgg?.reportSupportabilityMetric(e(this.featureAgg.featureName),r),this.featureAgg?.reportSupportabilityMetric(e("Combined"),r),!1}return this.#n.push(e),this.#o+=r,this.featureAgg?.decideEarlyHarvest(),!0}merge(e,t){if(this.isEmpty()||!e)return!1;const r=this.#n.findIndex(e);return!(r<0)&&(this.#n[r]={...this.#n[r],...t},!0)}clear(e={}){void 0!==e.clearBeforeTime&&e.timestampKey?this.#n=this.#n.filter((t=>t[e.timestampKey]>=e.clearBeforeTime)):void 0!==e.clearBeforeIndex?this.#n=this.#n.slice(e.clearBeforeIndex):this.#n=[],this.#o=this.#n.length&&(0,s.A)(this.#n)?.length||0}save(){this.#i=this.#n,this.#a=this.#o}clearSave(){this.#i=void 0,this.#a=void 0}reloadSave(){this.#i&&(this.#a+this.#o>this.maxPayloadSize||(this.#n=[...this.#i,...this.#n],this.#o=this.#a+this.#o))}}}}]);

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.