PageSourceSearch

https://account.femaledaily.com/user/_next/static/chunks/b3a13d7d.41ffefd45286994332d1.js

js femaledaily.com collected 2026-09-24 09:16:51 UTC 140,460 bytes, 1 lines download raw bytes

1(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[25],{cq8b:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return Tn}));var a=n("7LId"),r=n("VIvw"),i=n("iHvq"),s=n("wC0P"),o=n("dhJC"),l=n("cpVT"),c=n("rg98"),u=n("nlVP"),d=n("xvhg"),h=n("z7pX"),p=n("H+61"),f=n("UlJF"),m=n("o0o1"),_=n.n(m),v=n("GIgW"),y=n("AsUd"),g=n("vOz9"),b=n("2HVB"),k=n("rbyU"),w=n("8LbN"),S=n("9/Zf"),x=n("vFt6"),E=n("6hSO"),T=n("kdvv"),R=n("oZ5x"),O=n("+A1k"),C=n("6PXS"),I=["category","level","message"];function A(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,a=Object(i.a)(t);if(e){var s=Object(i.a)(this).constructor;n=Reflect.construct(a,arguments,s)}else n=a.apply(this,arguments);return Object(r.a)(this,n)}}function D(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function N(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?D(Object(n),!0).forEach((function(e){Object(l.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function z(t,e){var n;if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"===typeof t)return M(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return M(t,e)}(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var a=0,r=function(){};return{s:r,n:function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,o=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return s=t.done,t},e:function(t){o=!0,i=t},f:function(){try{s||null==n.return||n.return()}finally{if(o)throw i}}}}function M(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,a=new Array(e);n<e;n++)a[n]=t[n];return a}var L,U=k.a,j="sentryReplaySession",F="replay_event",B="Unable to send Replay",P=3e5,Z=P,G=36e5,Y=5e3;function W(t){var e=null===t||void 0===t?void 0:t.host;return Boolean(e&&e.shadowRoot&&e.shadowRoot===t)}function H(t){var e=t.maskInputOptions,n=t.tagName,a=t.type;return e[n.toLowerCase()]||e[a]||"input"===n&&!a&&e.text}function q(t){var e=t.input,n=t.maskInputSelector,a=t.unmaskInputSelector,r=t.maskInputOptions,i=t.tagName,s=t.type,o=t.value,l=t.maskInputFn,c=o||"";return a&&e.matches(a)||(H({maskInputOptions:r,tagName:i,type:s})||n&&e.matches(n))&&(c=l?l(c):"*".repeat(c.length)),c}!function(t){t[t.Document=0]="Document",t[t.DocumentType=1]="DocumentType",t[t.Element=2]="Element",t[t.Text=3]="Text",t[t.CDATA=4]="CDATA",t[t.Comment=5]="Comment"}(L||(L={}));var V="__rrweb_original__";var X,J,K=1,Q=new RegExp("[^a-z0-9-_:]");function $(t){return t?t.replace(/[\S]/g,"*"):""}function tt(t){try{var e=t.rules||t.cssRules;return e?Array.from(e).map(et).join(""):null}catch(n){return null}}function et(t){var e=t.cssText;if(function(t){return"styleSheet"in t}(t))try{e=tt(t.styleSheet)||e}catch(n){}return e}var nt=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,at=/^(?!www\.|(?:http|ftp)s?:\/\/|[A-Za-z]:\\|\/\/|#).*/,rt=/^(data:)([^,]*),(.*)/i;function it(t,e){return(t||"").replace(nt,(function(t,n,a,r,i,s){var o,l=a||i||s,c=n||r||"";if(!l)return t;if(!at.test(l))return"url(".concat(c).concat(l).concat(c,")");if(rt.test(l))return"url(".concat(c).concat(l).concat(c,")");if("/"===l[0])return"url(".concat(c).concat((o=e,(o.indexOf("//")>-1?o.split("/").slice(0,3).join("/"):o.split("/")[0]).split("?")[0]+l)).concat(c,")");var u=e.split("/"),d=l.split("/");u.pop();var h,p=z(d);try{for(p.s();!(h=p.n()).done;){var f=h.value;"."!==f&&(".."===f?u.pop():u.push(f))}}catch(m){p.e(m)}finally{p.f()}
1return"url(".concat(c).concat(u.join("/")).concat(c,")")}))}var st,ot,lt,ct,ut,dt,ht=/^[^ \t\n\r\u000c]+/,pt=/^[, \t\n\r\u000c]+/;function ft(t,e){if(!e||""===e.trim())return e;var n=t.createElement("a");return n.href=e,n.href}function mt(){var t=document.createElement("a");return t.href="",t.href}function _t(t,e,n,a,r,i){return a?"src"===n||"href"===n||"xlink:href"===n&&"#"!==a[0]?ft(t,a):"background"!==n||"table"!==e&&"td"!==e&&"th"!==e?"srcset"===n?function(t,e){if(""===e.trim())return e;var n=0;function a(t){var a,r=t.exec(e.substring(n));return r?(a=r[0],n+=a.length,a):""}for(var r=[];a(pt),!(n>=e.length);){var i=a(ht);if(","===i.slice(-1))i=ft(t,i.substring(0,i.length-1)),r.push(i);else{var s="";i=ft(t,i);for(var o=!1;;){var l=e.charAt(n);if(""===l){r.push((i+s).trim());break}if(o)")"===l&&(o=!1);else{if(","===l){n+=1,r.push((i+s).trim());break}"("===l&&(o=!0)}s+=l,n+=1}}}return r.join(", ")}(t,a):"style"===n?it(a,mt()):"object"===e&&"data"===n?ft(t,a):r&&["placeholder","title","aria-label"].indexOf(n)>-1?i?i(a):$(a):a:ft(t,a):a}function vt(t,e,n,a,r){if(!t)return!1;
1if(t.nodeType!==t.ELEMENT_NODE)return vt(t.parentNode,e,n,a,r);if(a&&(t.matches(a)||t.closest(a)))return!1;if(r)return!0;if("string"===typeof e){if(t.classList.contains(e))return!0}else for(var i=0;i<t.classList.length;i++){var s=t.classList[i];if(e.test(s))return!0}return!(!n||!t.matches(n))||vt(t.parentNode,e,n,a,r)}function yt(t,e){var n,a,r,i,s=e.doc,o=e.blockClass,l=e.blockSelector,c=e.unblockSelector,u=e.maskTextClass,d=e.maskTextSelector,h=e.unmaskTextSelector,p=e.inlineStylesheet,f=e.maskInputSelector,m=e.unmaskInputSelector,_=e.maskAllText,v=e.maskInputOptions,y=void 0===v?{}:v,g=e.maskTextFn,b=e.maskInputFn,k=e.dataURLOptions,w=void 0===k?{}:k,S=e.inlineImages,x=e.recordCanvas,E=e.keepIframeSrcFn;if(s.__sn){var T=s.__sn.id;a=1===T?void 0:T}switch(t.nodeType){case t.DOCUMENT_NODE:return"CSS1Compat"!==t.compatMode?{type:L.Document,childNodes:[],compatMode:t.compatMode,rootId:a}:{type:L.Document,childNodes:[],rootId:a};case t.DOCUMENT_TYPE_NODE:return{type:L.DocumentType,name:t.name,publicId:t.publicId,systemId:t.systemId,rootId:a};case t.ELEMENT_NODE:for(var R=function(t,e,n,a){if(a&&t.matches(a))return!1;if("string"===typeof e){if(t.classList.contains(e))return!0}else for(var r=0;r<t.classList.length;r++){var i=t.classList[r];if(e.test(i))return!0}return!!n&&t.matches(n)}(t,o,l,c),O=function(t){if(t instanceof HTMLFormElement)return"form";var e=t.tagName.toLowerCase().trim();return Q.test(e)?"div":e}(t),C={},I=0,A=Array.from(t.attributes);I<A.length;I++){var D=A[I],N=D.name,z=D.value;wt(O,N)||(C[N]=_t(s,O,N,z,_,g))}if("link"===O&&p){var M=Array.from(s.styleSheets).find((function(e){return e.href===t.href})),U=null;M&&(U=tt(M)),U&&(delete C.rel,delete C.href,C._cssText=it(U,M.href))}if("style"===O&&t.sheet&&!(t.innerText||t.textContent||"").trim().length){var j=tt(t.sheet);j&&(C._cssText=it(j,mt()))}if("input"===O||"textarea"===O||"select"===O){var F=t.value;"radio"!==C.type&&"checkbox"!==C.type&&"submit"!==C.type&&"button"!==C.type&&F?C.value=q({input:t,type:C.type,tagName:O,value:F,maskInputSelector:f,unmaskInputSelector:m,maskInputOptions:y,maskInputFn:b}):t.checked&&(C.checked=t.checked)}if("option"===O&&(t.selected&&!y.select?C.selected=!0:delete C.selected),"canvas"===O&&x)if("2d"===t.__context)(function(t){var e=t.getContext("2d");if(!e)return!0;for(var n=0;n<t.width;n+=50)for(var a=0;a<t.height;a+=50){var r=e.getImageData,i=V in r?r.__rrweb_original__:r;if(new Uint32Array(i.call(e,n,a,Math.min(50,t.width-n),Math.min(50,t.height-a)).data.buffer).some((function(t){return 0!==t})))return!1}return!0})(t)||(C.rr_dataURL=t.toDataURL(w.type,w.quality));else if(!("__context"in t)){var B=t.toDataURL(w.type,w.quality),P=document.createElement("canvas");P.width=t.width,P.height=t.height,B!==P.toDataURL(w.type,w.quality)&&(C.rr_dataURL=B)}if("img"===O&&S){X||(X=s.createElement("canvas"),J=X.getContext("2d"));var Z=t,G=Z.crossOrigin;Z.crossOrigin="anonymous";var Y=function(){try{X.width=Z.naturalWidth,X.height=Z.naturalHeight,J.drawImage(Z,0,0),C.rr_dataURL=X.toDataURL(w.type,w.quality)}catch(t){console.warn("Cannot inline img src=".concat(Z.currentSrc,"! Error: ").concat(t))}G?C.crossOrigin=G:delete C.crossOrigin};Z.complete&&0!==Z.naturalWidth?Y():Z.onload=Y}if("audio"!==O&&"video"!==O||(C.rr_mediaState=t.paused?"paused":"played",C.rr_mediaCurrentTime=t.currentTime),t.scrollLeft&&(C.rr_scrollLeft=t.scrollLeft),t.scrollTop&&(C.rr_scrollTop=t.scrollTop),R){var W=t.getBoundingClientRect(),H=W.width,K=W.height;C={class:C.class,rr_width:"".concat(H,"px"),rr_height:"".concat(K,"px")}}return"iframe"!==O||E(C.src)||(t.contentDocument||(C.rr_src=C.src),delete C.src),{type:L.Element,tagName:O,attributes:C,childNodes:[],isSVG:(i=t,Boolean("svg"===i.tagName||i.ownerSVGElement)||void 0),needBlock:R,rootId:a};case t.TEXT_NODE:var et=t.parentNode&&t.parentNode.tagName,nt=t.textContent,at="STYLE"===et||void 0,rt="SCRIPT"===et||void 0;if(at&&nt){try{t.nextSibling||t.previousSibling||(null===(n=t.parentNode.sheet)||void 0===n?void 0:n.cssRules)&&(nt=(r=t.parentNode.sheet).cssRules?Array.from(r.cssRules).map((function(t){return t.cssText||""})).join(""):"")}catch(st){console.warn("Cannot get CSS styles from text's parentNode. Error: ".concat(st),t)}nt=it(nt,mt())}return rt&&(nt="SCRIPT_PLACEHOLDER"),"TEXTAREA"===et&&nt?nt="":!at&&!rt&&vt(t,u,d,h,_)&&nt&&(nt=g?g(nt):$(nt)),{type:L.Text,textContent:nt||"",isStyle:at,rootId:a};case t.CDATA_SECTION_NODE:return{type:L.CDATA,textContent:"",rootId:a};case t.COMMENT_NODE:return{type:L.Comment,textContent:t.textContent||"",rootId:a};default:return!1}}function gt(t){return void 0===t||null===t?"":t.toLowerCase()}function bt(t,e){var n,a=e.doc,r=e.map,i=e.blockClass,s=e.blockSelector,o=e.unblockSelector,l=e.maskTextClass,c=e.maskTextSelector,u=e.unmaskTextSelector,d=e.skipChild,h=void 0!==d&&d,p=e.inlineStylesheet,f=void 0===p||p,m=e.maskInputSelector,_=e.unmaskInputSelector,v=e.maskAllText,y=e.maskInputOptions,g=void 0===y?{}:y,b=e.maskTextFn,k=e.maskInputFn,w=e.slimDOMOptions,S=e.dataURLOptions,x=void 0===S?{}:S,E=e.inlineImages,T=void 0!==E&&E,R=e.recordCanvas,O=void 0!==R&&R,C=e.onSerialize,I=e.onIframeLoad,A=e.iframeLoadTimeout,D=void 0===A?5e3:A,N=e.keepIframeSrcFn,z=void 0===N?function(){return!1}:N,M=e.preserveWhiteSpace,U=void 0===M||M,j=yt(t,{doc:a,blockClass:i,blockSelector:s,unblockSelector:o,maskTextClass:l,maskTextSelector:c,unmaskTextSelector:u,inlineStylesheet:f,maskInputSelector:m,unmaskInputSelector:_,maskAllText:v,maskInputOptions:g,maskTextFn:b,maskInputFn:k,dataURLOptions:x,inlineImages:T,recordCanvas:O,keepIframeSrcFn:z});if(!j)return console.warn(t,"not serialized"),null;n="__sn"in t?t.__sn.id:!function(t,e){if(e.comment&&t.type===L.Comment)return!0;
1if(t.type===L.Element){if(e.script&&("script"===t.tagName||"link"===t.tagName&&("preload"===t.attributes.rel||"modulepreload"===t.attributes.rel)&&"script"===t.attributes.as||"link"===t.tagName&&"prefetch"===t.attributes.rel&&"string"===typeof t.attributes.href&&t.attributes.href.endsWith(".js")))return!0;if(e.headFavicon&&("link"===t.tagName&&"shortcut icon"===t.attributes.rel||"meta"===t.tagName&&(gt(t.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===gt(t.attributes.name)||"icon"===gt(t.attributes.rel)||"apple-touch-icon"===gt(t.attributes.rel)||"shortcut icon"===gt(t.attributes.rel))))return!0;if("meta"===t.tagName){if(e.headMetaDescKeywords&&gt(t.attributes.name).match(/^description|keywords$/))return!0;if(e.headMetaSocial&&(gt(t.attributes.property).match(/^(og|twitter|fb):/)||gt(t.attributes.name).match(/^(og|twitter):/)||"pinterest"===gt(t.attributes.name)))return!0;if(e.headMetaRobots&&("robots"===gt(t.attributes.name)||"googlebot"===gt(t.attributes.name)||"bingbot"===gt(t.attributes.name)))return!0;if(e.headMetaHttpEquiv&&void 0!==t.attributes["http-equiv"])return!0;if(e.headMetaAuthorship&&("author"===gt(t.attributes.name)||"generator"===gt(t.attributes.name)||"framework"===gt(t.attributes.name)||"publisher"===gt(t.attributes.name)||"progid"===gt(t.attributes.name)||gt(t.attributes.property).match(/^article:/)||gt(t.attributes.property).match(/^product:/)))return!0;if(e.headMetaVerification&&("google-site-verification"===gt(t.attributes.name)||"yandex-verification"===gt(t.attributes.name)||"csrf-token"===gt(t.attributes.name)||"p:domain_verify"===gt(t.attributes.name)||"verify-v1"===gt(t.attributes.name)||"verification"===gt(t.attributes.name)||"shopify-checkout-api-token"===gt(t.attributes.name)))return!0}}return!1}(j,w)&&(U||j.type!==L.Text||j.isStyle||j.textContent.replace(/^\s+|\s+$/gm,"").length)?K++:-2;var F=Object.assign(j,{id:n});if(t.__sn=F,-2===n)return null;r[n]=t,C&&C(t);var B=!h;if(F.type===L.Element&&(B=B&&!F.needBlock,delete F.needBlock,t.shadowRoot&&(F.isShadowHost=!0)),(F.type===L.Document||F.type===L.Element)&&B){w.headWhitespace&&j.type===L.Element&&"head"===j.tagName&&(U=!1);for(var P={doc:a,map:r,blockClass:i,blockSelector:s,unblockSelector:o,maskTextClass:l,maskTextSelector:c,unmaskTextSelector:u,skipChild:h,inlineStylesheet:f,maskInputSelector:m,unmaskInputSelector:_,maskAllText:v,maskInputOptions:g,maskTextFn:b,maskInputFn:k,slimDOMOptions:w,dataURLOptions:x,inlineImages:T,recordCanvas:O,preserveWhiteSpace:U,onSerialize:C,onIframeLoad:I,iframeLoadTimeout:D,keepIframeSrcFn:z},Z=0,G=Array.from(t.childNodes);Z<G.length;Z++){var Y=bt(G[Z],P);Y&&F.childNodes.push(Y)}if(function(t){return t.nodeType===t.ELEMENT_NODE}(t)&&t.shadowRoot)for(var H=0,q=Array.from(t.shadowRoot.childNodes);H<q.length;H++){var V=bt(q[H],P);V&&(V.isShadow=!0,F.childNodes.push(V))}}return t.parentNode&&W(t.parentNode)&&(F.isShadow=!0),F.type===L.Element&&"iframe"===F.tagName&&function(t,e,n){var a=t.contentWindow;if(a){var r,i=!1;try{r=a.document.readyState}catch(l){return}if("complete"===r){var s="about:blank";a.location.href===s&&t.src!==s&&""!==t.src?t.addEventListener("load",e):setTimeout(e,0)}else{var o=setTimeout((function(){i||(e(),i=!0)}),n);t.addEventListener("load",(function(){clearTimeout(o),i=!0,e()}))}}}(t,(function(){var e=t.contentDocument;if(e&&I){var n=bt(e,{doc:e,map:r,blockClass:i,blockSelector:s,unblockSelector:o,maskTextClass:l,maskTextSelector:c,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:f,maskInputSelector:m,unmaskInputSelector:_,maskAllText:v,maskInputOptions:g,maskTextFn:b,maskInputFn:k,slimDOMOptions:w,dataURLOptions:x,inlineImages:T,recordCanvas:O,preserveWhiteSpace:U,onSerialize:C,onIframeLoad:I,iframeLoadTimeout:D,keepIframeSrcFn:z});n&&I(t,n)}}),D),F}function kt(t,e){var n=e||{},a=n.blockClass,r=void 0===a?"rr-block":a,i=n.blockSelector,s=void 0===i?null:i,o=n.unblockSelector,l=void 0===o?null:o,c=n.maskTextClass,u=void 0===c?"rr-mask":c,d=n.maskTextSelector,h=void 0===d?null:d,p=n.unmaskTextSelector,f=void 0===p?null:p,m=n.inlineStylesheet,_=void 0===m||m,v=n.inlineImages,y=void 0!==v&&v,g=n.recordCanvas,b=void 0!==g&&g,k=n.maskInputSelector,w=void 0===k?null:k,S=n.unmaskInputSelector,x=void 0===S?null:S,E=n.maskAllText,T=void 0!==E&&E,R=n.maskAllInputs,O=void 0!==R&&R,C=n.maskTextFn,I=n.maskInputFn,A=n.slimDOM,D=void 0!==A&&A,N=n.dataURLOptions,z=n.preserveWhiteSpace,M=n.onSerialize,L=n.onIframeLoad,U=n.iframeLoadTimeout,j=n.keepIframeSrcFn,F={};return[bt(t,{doc:t,map:F,blockClass:r,blockSelector:s,unblockSelector:l,maskTextClass:u,maskTextSelector:h,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:_,maskInputSelector:w,unmaskInputSelector:x,maskAllText:T,maskInputOptions:!0===O?{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===O?{password:!0}:O,maskTextFn:C,maskInputFn:I,slimDOMOptions:!0===D||"all"===D?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===D,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}
1:!1===D?{}:D,dataURLOptions:N,inlineImages:y,recordCanvas:b,preserveWhiteSpace:z,onSerialize:M,onIframeLoad:L,iframeLoadTimeout:U,keepIframeSrcFn:void 0===j?function(){return!1}:j}),F]}function wt(t,e,n){return("video"===t||"audio"===t)&&"autoplay"===e}function St(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document,a={capture:!0,passive:!0};return n.addEventListener(t,e,a),function(){return n.removeEventListener(t,e,a)}}!function(t){t[t.DomContentLoaded=0]="DomContentLoaded",t[t.Load=1]="Load",t[t.FullSnapshot=2]="FullSnapshot",t[t.IncrementalSnapshot=3]="IncrementalSnapshot",t[t.Meta=4]="Meta",t[t.Custom=5]="Custom",t[t.Plugin=6]="Plugin"}(st||(st={})),function(t){t[t.Mutation=0]="Mutation",t[t.MouseMove=1]="MouseMove",t[t.MouseInteraction=2]="MouseInteraction",t[t.Scroll=3]="Scroll",t[t.ViewportResize=4]="ViewportResize",t[t.Input=5]="Input",t[t.TouchMove=6]="TouchMove",t[t.MediaInteraction=7]="MediaInteraction",t[t.StyleSheetRule=8]="StyleSheetRule",t[t.CanvasMutation=9]="CanvasMutation",t[t.Font=10]="Font",t[t.Log=11]="Log",t[t.Drag=12]="Drag",t[t.StyleDeclaration=13]="StyleDeclaration"}(ot||(ot={})),function(t){t[t.MouseUp=0]="MouseUp",t[t.MouseDown=1]="MouseDown",t[t.Click=2]="Click",t[t.ContextMenu=3]="ContextMenu",t[t.DblClick=4]="DblClick",t[t.Focus=5]="Focus",t[t.Blur=6]="Blur",t[t.TouchStart=7]="TouchStart",t[t.TouchMove_Departed=8]="TouchMove_Departed",t[t.TouchEnd=9]="TouchEnd",t[t.TouchCancel=10]="TouchCancel"}(lt||(lt={})),function(t){t[t["2D"]=0]="2D",t[t.WebGL=1]="WebGL",t[t.WebGL2=2]="WebGL2"}(ct||(ct={})),function(t){t[t.Play=0]="Play",t[t.Pause=1]="Pause",t[t.Seeked=2]="Seeked",t[t.VolumeChange=3]="VolumeChange"}(ut||(ut={})),function(t){t.Start="start",t.Pause="pause",t.Resume="resume",t.Resize="resize",t.Finish="finish",t.FullsnapshotRebuilded="fullsnapshot-rebuilded",t.LoadStylesheetStart="load-stylesheet-start",t.LoadStylesheetEnd="load-stylesheet-end",t.SkipStart="skip-start",t.SkipEnd="skip-end",t.MouseInteraction="mouse-interaction",t.EventCast="event-cast",t.CustomEvent="custom-event",t.Flush="flush",t.StateChange="state-change",t.PlayBack="play-back"}(dt||(dt={}));var xt="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.",Et={map:{},getId:function(){return console.error(xt),-1},getNode:function(){return console.error(xt),null},removeNodeFromMap:function(){console.error(xt)},has:function(){return console.error(xt),!1},reset:function(){console.error(xt)}};function Tt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=null,r=0;return function(i){var s=Date.now();r||!1!==n.leading||(r=s);var o=e-(s-r),l=this,c=arguments;o<=0||o>e?(a&&(clearTimeout(a),a=null),r=s,t.apply(l,c)):a||!1===n.trailing||(a=setTimeout((function(){r=!1===n.leading?0:Date.now(),a=null,t.apply(l,c)}),o))}}function Rt(t,e,n,a){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:window,i=r.Object.getOwnPropertyDescriptor(t,e);return r.Object.defineProperty(t,e,a?n:{set:function(t){var e=this;setTimeout((function(){n.set.call(e,t)}),0),i&&i.set&&i.set.call(this,t)}}),function(){return Rt(t,e,i||{},!0)}}function Ot(t,e,n){try{if(!(e in t))return function(){};var a=t[e],r=n(a);return"function"===typeof r&&(r.prototype=r.prototype||{},Object.defineProperties(r,{__rrweb_original__:{enumerable:!1,value:a}})),t[e]=r,function(){t[e]=a}}catch(i){return function(){}}}function Ct(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function It(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function At(t,e,n,a){if(!t)return!1;
1if(t.nodeType===t.ELEMENT_NODE){var r=!1,i=a&&t.matches(a);return"string"===typeof e?r=void 0!==t.closest?!i&&null!==t.closest("."+e):!i&&t.classList.contains(e):!i&&t.classList.forEach((function(t){e.test(t)&&(r=!0)})),!r&&n&&(r=t.matches(n)),!i&&r||At(t.parentNode,e,n,a)}return t.nodeType,t.TEXT_NODE,At(t.parentNode,e,n,a)}function Dt(t){return"__sn"in t&&-2===t.__sn.id}function Nt(t,e){if(W(t))return!1;var n=e.getId(t);return!e.has(n)||(!t.parentNode||t.parentNode.nodeType!==t.DOCUMENT_NODE)&&(!t.parentNode||Nt(t.parentNode,e))}function zt(t){return Boolean(t.changedTouches)}function Mt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;"NodeList"in t&&!t.NodeList.prototype.forEach&&(t.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in t&&!t.DOMTokenList.prototype.forEach&&(t.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=function(t){if(!(0 in arguments))throw new TypeError("1 argument is required");do{if(this===t)return!0}while(t=t&&t.parentNode);return!1})}function Lt(t){return"__sn"in t&&(t.__sn.type===L.Element&&"iframe"===t.__sn.tagName)}function Ut(t){return Boolean(null===t||void 0===t?void 0:t.shadowRoot)}function jt(t){return"__ln"in t}window.Proxy&&window.Reflect&&(Et=new Proxy(Et,{get:function(t,e,n){return"map"===e&&console.error(xt),Reflect.get(t,e,n)}}));var Ft=function(){function t(){Object(p.a)(this,t),this.length=0,this.head=null}return Object(f.a)(t,[{key:"get",value:function(t){if(t>=this.length)throw new Error("Position outside of list range");for(var e=this.head,n=0;n<t;n++)e=(null===e||void 0===e?void 0:e.next)||null;return e}},{key:"addNode",value:function(t){var e={value:t,previous:null,next:null};if(t.__ln=e,t.previousSibling&&jt(t.previousSibling)){var n=t.previousSibling.__ln.next;e.next=n,e.previous=t.previousSibling.__ln,t.previousSibling.__ln.next=e,n&&(n.previous=e)}else if(t.nextSibling&&jt(t.nextSibling)&&t.nextSibling.__ln.previous){var a=t.nextSibling.__ln.previous;e.previous=a,e.next=t.nextSibling.__ln,t.nextSibling.__ln.previous=e,a&&(a.next=e)}else this.head&&(this.head.previous=e),e.next=this.head,this.head=e;this.length++}},{key:"removeNode",value:function(t){var e=t.__ln;this.head&&(e.previous?(e.previous.next=e.next,e.next&&(e.next.previous=e.previous)):(this.head=e.next,this.head&&(this.head.previous=null)),t.__ln&&delete t.__ln,this.length--)}}]),t}(),Bt=function(t,e){return"".concat(t,"@").concat(e)};function Pt(t){return"__sn"in t}var Zt=function(){function t(){var e=this;Object(p.a)(this,t),this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=function(t){t.forEach(e.processMutation),e.emit()},this.emit=function(){if(!e.frozen&&!e.locked){for(var t=[],n=new Ft,a=function(t){for(var n=t,a=-2;-2===a;)a=(n=n&&n.nextSibling)&&e.mirror.getId(n);return a},r=function(r){for(var i,s,o,l,c,u=r.getRootNode?null===(i=r.getRootNode())||void 0===i?void 0:i.host:null,d=u;null===(o=null===(s=null===d||void 0===d?void 0:d.getRootNode)||void 0===s?void 0:s.call(d))||void 0===o?void 0:o.host;)d=(null===(c=null===(l=null===d||void 0===d?void 0:d.getRootNode)||void 0===l?void 0:l.call(d))||void 0===c?void 0:c.host)||null;var h=!e.doc.contains(r)&&(!d||!e.doc.contains(d));if(r.parentNode&&!h){var p=W(r.parentNode)?e.mirror.getId(u):e.mirror.getId(r.parentNode),f=a(r);if(-1===p||-1===f)return n.addNode(r);var m=bt(r,{doc:e.doc,map:e.mirror.map,blockClass:e.blockClass,blockSelector:e.blockSelector,unblockSelector:e.unblockSelector,maskTextClass:e.maskTextClass,maskTextSelector:e.maskTextSelector,unmaskTextSelector:e.unmaskTextSelector,maskInputSelector:e.maskInputSelector,unmaskInputSelector:e.unmaskInputSelector,skipChild:!0,inlineStylesheet:e.inlineStylesheet,maskAllText:e.maskAllText,maskInputOptions:e.maskInputOptions,maskTextFn:e.maskTextFn,maskInputFn:e.maskInputFn,slimDOMOptions:e.slimDOMOptions,recordCanvas:e.recordCanvas,inlineImages:e.inlineImages,onSerialize:function(t){Lt(t)&&e.iframeManager.addIframe(t),Ut(r)&&e.shadowDomManager.addShadowRoot(r.shadowRoot,document)},onIframeLoad:function(t,n){e.iframeManager.attachIframe(t,n),e.shadowDomManager.observeAttachShadow(t)}});m&&t.push({parentId:p,nextId:f,node:m})}};e.mapRemoves.length;)e.mirror.removeNodeFromMap(e.mapRemoves.shift());var i,s=z(e.movedSet);try{for(s.s();!(i=s.n()).done;){var o=i.value;Yt(e.removes,o,e.mirror)&&!e.movedSet.has(o.parentNode)||r(o)}}catch(b){s.e(b)}finally{s.f()}var l,c=z(e.addedSet);try{for(c.s();!(l=c.n()).done;){var u=l.value;Wt(e.droppedSet,u)||Yt(e.removes,u,e.mirror)?Wt(e.movedSet,u)?r(u):e.droppedSet.add(u):r(u)}}catch(b){c.e(b)}finally{c.f()}for(var d=null;n.length;){var h=null;if(d){var p=e.mirror.getId(d.value.parentNode),f=a(d.value);-1!==p&&-1!==f&&(h=d)}if(!h)for(var m=n.length-1;m>=0;m--){var _=n.get(m);
1if(_){var v=e.mirror.getId(_.value.parentNode),y=a(_.value);if(-1!==v&&-1!==y){h=_;break}}}if(!h){for(;n.head;)n.removeNode(n.head.value);break}d=h.previous,n.removeNode(h.value),r(h.value)}var g={texts:e.texts.map((function(t){return{id:e.mirror.getId(t.node),value:t.value}})).filter((function(t){return e.mirror.has(t.id)})),attributes:e.attributes.map((function(t){return{id:e.mirror.getId(t.node),attributes:t.attributes}})).filter((function(t){return e.mirror.has(t.id)})),removes:e.removes,adds:t};(g.texts.length||g.attributes.length||g.removes.length||g.adds.length)&&(e.texts=[],e.attributes=[],e.removes=[],e.addedSet=new Set,e.movedSet=new Set,e.droppedSet=new Set,e.movedMap={},e.mutationCb(g))}},this.processMutation=function(t){if(!Dt(t.target))switch(t.type){case"characterData":var n=t.target.textContent;At(t.target,e.blockClass,e.blockSelector,e.unblockSelector)||n===t.oldValue||e.texts.push({value:vt(t.target,e.maskTextClass,e.maskTextSelector,e.unmaskTextSelector,e.maskAllText)&&n?e.maskTextFn?e.maskTextFn(n):n.replace(/[\S]/g,"*"):n,node:t.target});break;case"attributes":var a=t.target,r=t.target.getAttribute(t.attributeName);if("value"===t.attributeName&&(r=q({input:a,maskInputSelector:e.maskInputSelector,unmaskInputSelector:e.unmaskInputSelector,maskInputOptions:e.maskInputOptions,tagName:t.target.tagName,type:t.target.getAttribute("type"),value:r,maskInputFn:e.maskInputFn})),At(t.target,e.blockClass,e.blockSelector,e.unblockSelector)||r===t.oldValue)return;var i=e.attributes.find((function(e){return e.node===t.target}));if(i||(i={node:t.target,attributes:{}},e.attributes.push(i)),"style"===t.attributeName){var s=e.doc.createElement("span");t.oldValue&&s.setAttribute("style",t.oldValue),void 0!==i.attributes.style&&null!==i.attributes.style||(i.attributes.style={});try{for(var o=i.attributes.style,l=0,c=Array.from(a.style);l<c.length;l++){var u=c[l],d=a.style.getPropertyValue(u),h=a.style.getPropertyPriority(u);d===s.style.getPropertyValue(u)&&h===s.style.getPropertyPriority(u)||(o[u]=""===h?d:[d,h])}for(var p=0,f=Array.from(s.style);p<f.length;p++){var m=f[p];""===a.style.getPropertyValue(m)&&(o[m]=!1)}}catch(_){console.warn("[rrweb] Error when parsing update to style attribute:",_)}}else i.attributes[t.attributeName]=_t(e.doc,t.target.tagName,t.attributeName,r,e.maskAllText,e.maskTextFn);break;case"childList":t.addedNodes.forEach((function(n){return e.genAdds(n,t.target)})),t.removedNodes.forEach((function(n){var a=e.mirror.getId(n),r=W(t.target)?e.mirror.getId(t.target.host):e.mirror.getId(t.target);At(t.target,e.blockClass,e.blockSelector,e.unblockSelector)||Dt(n)||(e.addedSet.has(n)?(Gt(e.addedSet,n),e.droppedSet.add(n)):e.addedSet.has(t.target)&&-1===a||Nt(t.target,e.mirror)||(e.movedSet.has(n)&&e.movedMap[Bt(a,r)]?Gt(e.movedSet,n):e.removes.push({parentId:r,id:a,isShadow:!!W(t.target)||void 0})),e.mapRemoves.push(n))}))}},this.genAdds=function(t,n){if(!n||!At(n,e.blockClass,e.blockSelector,e.unblockSelector)){if(Pt(t)){if(Dt(t))return;e.movedSet.add(t);var a=null;n&&Pt(n)&&(a=n.__sn.id),a&&(e.movedMap[Bt(t.__sn.id,a)]=!0)}else e.addedSet.add(t),e.droppedSet.delete(t);At(t,e.blockClass,e.blockSelector,e.unblockSelector)||t.childNodes.forEach((function(t){return e.genAdds(t)}))}}}return Object(f.a)(t,[{key:"init",value:function(t){var e=this;["mutationCb","blockClass","blockSelector","unblockSelector","maskTextClass","maskTextSelector","unmaskTextSelector","maskInputSelector","unmaskInputSelector","inlineStylesheet","maskAllText","maskInputOptions","maskTextFn","maskInputFn","recordCanvas","inlineImages","slimDOMOptions","doc","mirror","iframeManager","shadowDomManager","canvasManager"].forEach((function(n){e[n]=t[n]}))}},{key:"freeze",value:function(){this.frozen=!0,this.canvasManager.freeze()}},{key:"unfreeze",value:function(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}},{key:"isFrozen",value:function(){return this.frozen}},{key:"lock",value:function(){this.locked=!0,this.canvasManager.lock()}},{key:"unlock",value:function(){this.locked=!1,this.canvasManager.unlock(),this.emit()}},{key:"reset",value:function(){this.shadowDomManager.reset(),this.canvasManager.reset()}}]),t}();
1function Gt(t,e){t.delete(e),e.childNodes.forEach((function(e){return Gt(t,e)}))}function Yt(t,e,n){var a=e.parentNode;if(!a)return!1;var r=n.getId(a);return!!t.some((function(t){return t.id===r}))||Yt(t,a,n)}function Wt(t,e){var n=e.parentNode;return!!n&&(!!t.has(n)||Wt(t,n))}var Ht=function(t){return function(){try{return t.apply(void 0,arguments)}catch(e){try{e.__rrweb__=!0}catch(n){}throw e}}},qt=[];function Vt(t){try{if("composedPath"in t){var e=t.composedPath();if(e.length)return e[0]}else if("path"in t&&t.path.length)return t.path[0]}catch(n){}return t&&t.target}function Xt(t,e){var n,a,r=new Zt;qt.push(r),r.init(t);var i=window.MutationObserver||window.__rrMutationObserver,s=null===(a=null===(n=null===window||void 0===window?void 0:window.Zone)||void 0===n?void 0:n.__symbol__)||void 0===a?void 0:a.call(n,"MutationObserver");s&&window[s]&&(i=window[s]);var o=new i(Ht(r.processMutations.bind(r)));return o.observe(e,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),o}function Jt(t){var e=t.mousemoveCb,n=t.sampling,a=t.doc,r=t.mirror;if(!1===n.mousemove)return function(){};var i,s="number"===typeof n.mousemove?n.mousemove:50,o="number"===typeof n.mousemoveCallback?n.mousemoveCallback:500,l=[],c=Tt((function(t){var n=Date.now()-i;Ht(e)(l.map((function(t){return t.timeOffset-=n,t})),t),l=[],i=null}),o),u=Tt((function(t){var e=Vt(t),n=zt(t)?t.changedTouches[0]:t,a=n.clientX,s=n.clientY;i||(i=Date.now()),l.push({x:a,y:s,id:r.getId(e),timeOffset:Date.now()-i}),c("undefined"!==typeof DragEvent&&t instanceof DragEvent?ot.Drag:t instanceof MouseEvent?ot.MouseMove:ot.TouchMove)}),s,{trailing:!1}),d=[St("mousemove",Ht(u),a),St("touchmove",Ht(u),a),St("drag",Ht(u),a)];return Ht((function(){d.forEach((function(t){return t()}))}))}function Kt(t){var e=t.mouseInteractionCb,n=t.doc,a=t.mirror,r=t.blockClass,i=t.blockSelector,s=t.unblockSelector,o=t.sampling;if(!1===o.mouseInteraction)return function(){};var l=!0===o.mouseInteraction||void 0===o.mouseInteraction?{}:o.mouseInteraction,c=[];return Object.keys(lt).filter((function(t){return Number.isNaN(Number(t))&&!t.endsWith("_Departed")&&!1!==l[t]})).forEach((function(t){var o=t.toLowerCase(),l=Ht(function(t){return function(n){var o=Vt(n);if(!At(o,r,i,s)){var l=zt(n)?n.changedTouches[0]:n;if(l){var c=a.getId(o),u=l.clientX,d=l.clientY;Ht(e)({type:lt[t],id:c,x:u,y:d})}}}}(t));c.push(St(o,l,n))})),Ht((function(){c.forEach((function(t){return t()}))}))}function Qt(t){var e=t.scrollCb,n=t.doc,a=t.mirror,r=t.blockClass,i=t.blockSelector,s=t.unblockSelector,o=Tt((function(t){var o=Vt(t);if(o&&!At(o,r,i,s)){var l=a.getId(o);if(o===n){var c=n.scrollingElement||n.documentElement;Ht(e)({id:l,x:c.scrollLeft,y:c.scrollTop})}else Ht(e)({id:l,x:o.scrollLeft,y:o.scrollTop})}}),t.sampling.scroll||100);return St("scroll",Ht(o),n)}function $t(t){var e=t.viewportResizeCb,n=-1,a=-1,r=Tt((function(){var t=Ct(),r=It();n===t&&a===r||(Ht(e)({width:Number(r),height:Number(t)}),n=t,a=r)}),200);return St("resize",Ht(r),window)}function te(t,e){var n=Object.assign({},t);return e||delete n.userTriggered,n}var ee=["INPUT","TEXTAREA","SELECT"],ne=new WeakMap;function ae(t){var e=t.inputCb,n=t.doc,a=t.mirror,r=t.blockClass,i=t.blockSelector,s=t.unblockSelector,o=t.ignoreClass,l=t.ignoreSelector,c=t.maskInputSelector,u=t.unmaskInputSelector,d=t.maskInputOptions,p=t.maskInputFn,f=t.sampling,m=t.userTriggeredOnInput;function _(t){var e=Vt(t),a=t.isTrusted;if(e&&"OPTION"===e.tagName&&(e=e.parentElement),e&&e.tagName&&!(ee.indexOf(e.tagName)<0)&&!At(e,r,i,s)){var h=e.type;if(!(e.classList.contains(o)||l&&e.matches(l))){var f=e.value,_=!1;"radio"===h||"checkbox"===h?_=e.checked:function(t){var e=t.tagName,n=t.type,a=t.maskInputOptions;return t.maskInputSelector||H({maskInputOptions:a,tagName:e,type:n})}({maskInputOptions:d,maskInputSelector:c,tagName:e.tagName,type:h})&&(f=q({input:e,maskInputOptions:d,maskInputSelector:c,unmaskInputSelector:u,tagName:e.tagName,type:h,value:f,maskInputFn:p})),v(e,Ht(te)({text:f,isChecked:_,userTriggered:a},m));var y=e.name;"radio"===h&&y&&_&&n.querySelectorAll('input[type="radio"][name="'.concat(y,'"]')).forEac
1h((function(t){t!==e&&v(t,Ht(te)({text:t.value,isChecked:!_,userTriggered:!1},m))}))}}}function v(t,n){var r=ne.get(t);if(!r||r.text!==n.text||r.isChecked!==n.isChecked){ne.set(t,n);var i=a.getId(t);e(Object.assign(Object.assign({},n),{id:i}))}}var y=("last"===f.input?["change"]:["input","change"]).map((function(t){return St(t,Ht(_),n)})),g=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value"),b=[[HTMLInputElement.prototype,"value"],[HTMLInputElement.prototype,"checked"],[HTMLSelectElement.prototype,"value"],[HTMLTextAreaElement.prototype,"value"],[HTMLSelectElement.prototype,"selectedIndex"],[HTMLOptionElement.prototype,"selected"]];return g&&g.set&&y.push.apply(y,Object(h.a)(b.map((function(t){return Rt(t[0],t[1],{set:function(){Ht(_)({target:this})}})})))),Ht((function(){y.forEach((function(t){return t()}))}))}function re(t){return function(t,e){if(de("CSSGroupingRule")&&t.parentRule instanceof CSSGroupingRule||de("CSSMediaRule")&&t.parentRule instanceof CSSMediaRule||de("CSSSupportsRule")&&t.parentRule instanceof CSSSupportsRule||de("CSSConditionRule")&&t.parentRule instanceof CSSConditionRule){var n=Array.from(t.parentRule.cssRules).indexOf(t);e.unshift(n)}else{var a=Array.from(t.parentStyleSheet.cssRules).indexOf(t);e.unshift(a)}return e}(t,[])}function ie(t,e){var n=t.styleSheetRuleCb,a=t.mirror,r=e.win;if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return function(){};var i=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(i,{apply:Ht((function(t,e,r){var i=Object(d.a)(r,2),s=i[0],o=i[1],l=a.getId(e.ownerNode);return-1!==l&&n({id:l,adds:[{rule:s,index:o}]}),t.apply(e,r)}))});var s=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(s,{apply:Ht((function(t,e,r){var i=Object(d.a)(r,1)[0],s=a.getId(e.ownerNode);return-1!==s&&n({id:s,removes:[{index:i}]}),t.apply(e,r)}))});var o={};he("CSSGroupingRule")?o.CSSGroupingRule=r.CSSGroupingRule:(he("CSSMediaRule")&&(o.CSSMediaRule=r.CSSMediaRule),he("CSSConditionRule")&&(o.CSSConditionRule=r.CSSConditionRule),he("CSSSupportsRule")&&(o.CSSSupportsRule=r.CSSSupportsRule));var l={};return Object.entries(o).forEach((function(t){var e=Object(d.a)(t,2),r=e[0],i=e[1];l[r]={insertRule:i.prototype.insertRule,deleteRule:i.prototype.deleteRule},i.prototype.insertRule=new Proxy(l[r].insertRule,{apply:Ht((function(t,e,r){var i=Object(d.a)(r,2),s=i[0],o=i[1],l=a.getId(e.parentStyleSheet.ownerNode);return-1!==l&&n({id:l,adds:[{rule:s,index:[].concat(Object(h.a)(re(e)),[o||0])}]}),t.apply(e,r)}))}),i.prototype.deleteRule=new Proxy(l[r].deleteRule,{apply:Ht((function(t,e,r){var i=Object(d.a)(r,1)[0],s=a.getId(e.parentStyleSheet.ownerNode);return-1!==s&&n({id:s,removes:[{index:[].concat(Object(h.a)(re(e)),[i])}]}),t.apply(e,r)}))})})),Ht((function(){r.CSSStyleSheet.prototype.insertRule=i,r.CSSStyleSheet.prototype.deleteRule=s,Object.entries(o).forEach((function(t){var e=Object(d.a)(t,2),n=e[0],a=e[1];a.prototype.insertRule=l[n].insertRule,a.prototype.deleteRule=l[n].deleteRule}))}))}function se(t,e){var n=t.styleDeclarationCb,a=t.mirror,r=e.win,i=r.CSSStyleDeclaration.prototype.setProperty;r.CSSStyleDeclaration.prototype.setProperty=new Proxy(i,{apply:Ht((function(t,e,r){var i,s,o=Object(d.a)(r,3),l=o[0],c=o[1],u=o[2],h=a.getId(null===(s=null===(i=e.parentRule)||void 0===i?void 0:i.parentStyleSheet)||void 0===s?void 0:s.ownerNode);return-1!==h&&n({id:h,set:{property:l,value:c,priority:u},index:re(e.parentRule)}),t.apply(e,r)}))});var s=r.CSSStyleDeclaration.prototype.removeProperty;return r.CSSStyleDeclaration.prototype.removeProperty=new Proxy(s,{apply:Ht((function(t,e,r){var i,s,o=Object(d.a)(r,1)[0],l=a.getId(null===(s=null===(i=e.parentRule)||void 0===i?void 0:i.parentStyleSheet)||void 0===s?void 0:s.ownerNode);return-1!==l&&n({id:l,remove:{property:o},index:re(e.parentRule)}),t.apply(e,r)}))}),Ht((function(){r.CSSStyleDeclaration.prototype.setProperty=i,r.CSSStyleDeclaration.prototype.removeProperty=s}))}function oe(t){var e=t.mediaInteractionCb,n=t.blockClass,a=t.blockSelector,r=t.unblockSelector,i=t.mirror,s=t.sampling,o=function(t){return Tt(Ht((function(s){var o=Vt(s);if(o&&!At(o,n,a,r)){var l=o.currentTime,c=o.volume,u=o.muted;e({type:t,id:i.getId(o),currentTime:l,volume:c,muted:u})}})),s.media||500)},l=[St("play",o(0)),St("pause",o(1)),St("seeked",o(2)),St("volumechange",o(3))];return Ht((function(){l.forEach((function(t){return t()}))}))}function le(t){var e=t.fontCb,n=t.doc,a=n.defaultView;if(!a)return function(){};var r=[],i=new WeakMap,s=a.FontFace;a.FontFace=function(t,e,n){var a=new s(t,e,n);return i.set(a,{family:t,buffer:"string"!==typeof e,descriptors:n,fontSource:"string"===typeof e?e:JSON.stringify(Array.from(new Uint8Array(e)))}),a};var o=Ot(n.fonts,"add",(function(t){return function(n){return setTimeout((function(){var t=i.get(n);t&&(e(t),i.delete(n))}),0),t.apply(this,[n])}}));return r.push((function(){a.FontFace=s})),r.push(o),Ht((function(){r.forEach((function(t){return t()}))}))}function ce(t,e){var n=t.mutationCb,a=t.mousemoveCb,r=t.mouseInteractionCb,i=t.scrollCb,s=t.viewportResizeCb,o=t.inputCb,l=t.mediaInteractionCb,c=t.styleSheetRuleCb,u=t.styleDeclarationCb,d=t.canvasMutationCb,h=t.fontCb;t.mutationCb=function(){e.mutation&&e.mutation.apply(e,arguments),n.apply(void 0,arguments)},t.mousemoveCb=function(){e.mousemove&&e.mousemove.apply(e,arguments),a.apply(void 0,arguments)},t.mouseInteractionCb=function(){e.mouseInteraction&&e.mouseInteraction.apply(e,arguments),r.apply(void 0,arguments)},t.scrollCb=function(){e.scroll&&e.scroll.apply(e,arguments),i.apply(void 0,arguments)},t.viewportResizeCb=function(){e.viewportResize&&e.viewportResize.apply(e,arguments),s.apply(void 0,arguments)},t.inputCb=function(){e.input&&e.input.apply(e,arguments),o.apply(void 0,arguments)},t.mediaInteractionCb=function(){e.mediaInteaction&&e.mediaInteaction.apply(e,arguments),l.apply(void 0,arguments)},t.styleSheetRuleCb=function(){e.styleSheetRule&&e.styleSheetRule.apply(e,arguments),c.apply(void 0,arguments)},t.styleDeclarationCb=function(){e.styleDeclaration&&e.styleDeclaration.apply(e,arguments),u.a
1pply(void 0,arguments)},t.canvasMutationCb=function(){e.canvasMutation&&e.canvasMutation.apply(e,arguments),d.apply(void 0,arguments)},t.fontCb=function(){e.font&&e.font.apply(e,arguments),h.apply(void 0,arguments)}}function ue(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.doc.defaultView;if(!n)return function(){};ce(t,e);var a,r=Xt(t,t.doc),i=Jt(t),s=Kt(t),o=Qt(t),l=$t(t),c=ae(t),u=oe(t),d=ie(t,{win:n}),h=se(t,{win:n}),p=t.collectFonts?le(t):function(){},f=[],m=z(t.plugins);try{for(m.s();!(a=m.n()).done;){var _=a.value;f.push(_.observer(_.callback,n,_.options))}}catch(v){m.e(v)}finally{m.f()}return Ht((function(){qt.forEach((function(t){return t.reset()})),r.disconnect(),i(),s(),o(),l(),c(),u();try{d(),h()}catch(t){}p(),f.forEach((function(t){return t()}))}))}function de(t){return"undefined"!==typeof window[t]}function he(t){return Boolean("undefined"!==typeof window[t]&&window[t].prototype&&"insertRule"in window[t].prototype&&"deleteRule"in window[t].prototype)}var pe=function(){function t(e){Object(p.a)(this,t),this.iframes=new WeakMap,this.mutationCb=e.mutationCb}return Object(f.a)(t,[{key:"addIframe",value:function(t){this.iframes.set(t,!0)}},{key:"addLoadListener",value:function(t){this.loadListener=t}},{key:"attachIframe",value:function(t,e){var n;this.mutationCb({adds:[{parentId:t.__sn.id,nextId:null,node:e}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),null===(n=this.loadListener)||void 0===n||n.call(this,t)}}]),t}(),fe=function(){function t(e){Object(p.a)(this,t),this.restorePatches=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror;var n=this;this.restorePatches.push(Ot(HTMLElement.prototype,"attachShadow",(function(t){return function(){var e=t.apply(this,arguments);return this.shadowRoot&&n.addShadowRoot(this.shadowRoot,this.ownerDocument),e}})))}return Object(f.a)(t,[{key:"addShadowRoot",value:function(t,e){Xt(Object.assign(Object.assign({},this.bypassOptions),{doc:e,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),t),Qt(Object.assign(Object.assign({},this.bypassOptions),{scrollCb:this.scrollCb,doc:t,mirror:this.mirror}))}},{key:"observeAttachShadow",value:function(t){if(t.contentWindow){var e=this;this.restorePatches.push(Ot(t.contentWindow.HTMLElement.prototype,"attachShadow",(function(n){return function(){var a=n.apply(this,arguments);return this.shadowRoot&&e.addShadowRoot(this.shadowRoot,t.contentDocument),a}})))}}},{key:"reset",value:function(){this.restorePatches.forEach((function(t){return t()}))}}]),t}();for(var me="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",_e="undefined"===typeof Uint8Array?[]:new Uint8Array(256),ve=0;ve<me.length;ve++)_e[me.charCodeAt(ve)]=ve;var ye=new Map;var ge=function(t,e,n){if(t&&(we(t,e)||"object"===Object(u.a)(t))){var a=function(t,e){var n=ye.get(t);return n||(n=new Map,ye.set(t,n)),n.has(e)||n.set(e,[]),n.get(e)}(n,t.constructor.name),r=a.indexOf(t);return-1===r&&(r=a.length,a.push(t)),r}};function be(t,e,n){return t instanceof Array?t.map((function(t){return be(t,e,n)})):null===t?t:t instanceof Float32Array||t instanceof Float64Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Uint8Array||t instanceof Uint16Array||t instanceof Int16Array||t instanceof Int8Array||t instanceof Uint8ClampedArray?{rr_type:t.constructor.name,args:[Object.values(t)]}:t instanceof ArrayBuffer?{rr_type:t.constructor.name,base64:function(t){var e,n=new Uint8Array(t),a=n.length,r="";for(e=0;e<a;e+=3)r+=me[n[e]>>2],r+=me[(3&n[e])<<4|n[e+1]>>4],r+=me[(15&n[e+1])<<2|n[e+2]>>6],r+=me[63&n[e+2]];return a%3===2?r=r.substring(0,r.length-1)+"=":a%3===1&&(r=r.substring(0,r.length-2)+"=="),r}(t)}:t instanceof DataView?{rr_type:t.constructor.name,args:[be(t.buffer,e,n),t.byteOffset,t.byteLength]}:t instanceof HTMLImageElement?{rr_type:t.constructor.name,src:t.src}:t instanceof ImageData?{rr_type:t.constructor.name,args:[be(t.data,e,
1n),t.width,t.height]}:we(t,e)||"object"===Object(u.a)(t)?{rr_type:t.constructor.name,index:ge(t,e,n)}:t}var ke=function(t,e,n){return Object(h.a)(t).map((function(t){return be(t,e,n)}))},we=function(t,e){var n=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter((function(t){return"function"===typeof e[t]}));return Boolean(n.find((function(n){return t instanceof e[n]})))};function Se(t,e,n,a,r,i,s,o){var l,c=[],u=z(Object.getOwnPropertyNames(t));try{var d=function(){var u=l.value;try{if("function"!==typeof t[u])return"continue";var d=Ot(t,u,(function(l){return function(){for(var c=arguments.length,d=new Array(c),h=0;h<c;h++)d[h]=arguments[h];var p=l.apply(this,d);if(ge(p,o,t),!At(this.canvas,a,i,r)){s.getId(this.canvas);var f=ke([].concat(d),o,t),m={type:e,property:u,args:f};n(this.canvas,m)}return p}}));c.push(d)}catch(p){var h=Rt(t,u,{set:function(t){n(this.canvas,{type:e,property:u,args:[t],setter:!0})}});c.push(h)}};for(u.s();!(l=u.n()).done;)d()}catch(h){u.e(h)}finally{u.f()}return c}var xe,Ee,Te=function(){function t(e){Object(p.a)(this,t),this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=function(t,e){!(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId)&&this.rafStamps.invokeId||(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(t)||this.pendingCanvasMutations.set(t,[]),this.pendingCanvasMutations.get(t).push(e)},this.mutationCb=e.mutationCb,this.mirror=e.mirror,!0===e.recordCanvas&&this.initCanvasMutationObserver(e.win,e.blockClass,e.blockSelector,e.unblockSelector)}return Object(f.a)(t,[{key:"reset",value:function(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}},{key:"freeze",value:function(){this.frozen=!0}},{key:"unfreeze",value:function(){this.frozen=!1}},{key:"lock",value:function(){this.locked=!0}},{key:"unlock",value:function(){this.locked=!1}},{key:"initCanvasMutationObserver",value:function(t,e,n,a){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();var r=function(t,e,n,a){var r=[];try{var i=Ot(t.HTMLCanvasElement.prototype,"getContext",(function(t){return function(r){At(this,e,n,a)||"__context"in this||(this.__context=r);for(var i=arguments.length,s=new Array(i>1?i-1:0),o=1;o<i;o++)s[o-1]=arguments[o];return t.apply(this,[r].concat(s))}}));r.push(i)}catch(s){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return function(){r.forEach((function(t){return t()}))}}(t,e,a,n),i=function(t,e,n,a,r,i){var s,o=[],l=z(Object.getOwnPropertyNames(e.CanvasRenderingContext2D.prototype));try{var c=function(){var i=s.value;try{if("function"!==typeof e.CanvasRenderingContext2D.prototype[i])return"continue";var l=Ot(e.CanvasRenderingContext2D.prototype,i,(function(e){return function(){for(var s=this,o=arguments.length,l=new Array(o),c=0;c<o;c++)l[c]=arguments[c];return At(this.canvas,n,r,a)||setTimeout((function(){var e=[].concat(l);if("drawImage"===i&&e[0]&&e[0]instanceof HTMLCanvasElement){var n=e[0],a=n.getContext("2d"),r=null===a||void 0===a?void 0:a.getImageData(0,0,n.width,n.height),o=null===r||void 0===r?void 0:r.data;e[0]=JSON.stringify(o)}t(s.canvas,{type:ct["2D"],property:i,args:e})}),0),e.apply(this,l)}}));o.push(l)}catch(u){var c=Rt(e.CanvasRenderingContext2D.prototype,i,{set:function(e){t(this.canvas,{type:ct["2D"],property:i,args:[e],setter:!0})}});o.push(c)}};for(l.s();!(s=l.n()).done;)c()}catch(u){l.e(u)}finally{l.f()}return function(){o.forEach((function(t){return t()}))}}(this.processMutation.bind(this),t,e,a,n,this.mirror),s=function(t,e,n,a,r,i){var s=[];return s.push.apply(s,Object(h.a)(Se(e.WebGLRenderingContext.prototype,ct.WebGL,t,n,a,r,i,e))),"undefined"!==typeof e.WebGL2RenderingContext&&s.push.apply(s,Object(h.a)(Se(e.WebGL2RenderingContext.prototype,ct.WebGL2,t,n,a,r,i,e))),function(){s.forEach((function(t){return t()}))}}(this.processMutation.bind(this),t,e,a,n,this.mirror);this.resetObservers=function(){r(),i(),s()}}},{key:"startPendingCanvasMutationFlusher",value:function(){var t=this;requestAnimationFrame((function(){return t.flushPendingCanvasMutations()}))}},{key:"startRAFTimestamping",value:function(){var t=this;requestAnimationFrame((function e(n){t.rafStamps.latestId=n,requestAnimationFrame(e)}))}},{key:"flushPendingCanvasMutations",value:function(){var t=this;this.pendingCanvasMutations.forEach((function(e,n){var a=t.mirror.getId(n);t.flushPendingCanvasMutationFor(n,a)})),requestAnimationFrame((function(){return t.flushPendingCanvasMutations()}))}},{key:"flushPendingCanvasMutationFor",value:function(t,e){if(!this.frozen&&!this.locked){var n=this.pendingCanvasMutations.get(t);if(n&&-1!==e){var a=n.map((function(t){return function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(t);r<a.length;r++)e.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(t,a[r])&&(n[a[r]]=t[a[r]])}return n}(t,["type"])})),r=n[0].type;this.mutationCb({id:e,type:r,commands:a}),this.pendingCanvasMutations.delete(t)}}}}]),t}();function Re(t){return Object.assign(Object.assign({},t),{timestamp:Date.now()})}var Oe={map:{},getId:function(t){return t&&t.__sn?t.__sn.id:-1},getNode:function(t){return this.map[t]||null},removeNodeFromMap:function(t){var e=this,n=t.__sn&&t.__sn.id;
1delete this.map[n],t.childNodes&&t.childNodes.forEach((function(t){return e.removeNodeFromMap(t)}))},has:function(t){return this.map.hasOwnProperty(t)},reset:function(){this.map={}}};function Ce(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.emit,n=t.checkoutEveryNms,a=t.checkoutEveryNth,r=t.blockClass,i=void 0===r?"rr-block":r,s=t.blockSelector,o=void 0===s?null:s,l=t.unblockSelector,c=void 0===l?null:l,u=t.ignoreClass,h=void 0===u?"rr-ignore":u,p=t.ignoreSelector,f=void 0===p?null:p,m=t.maskTextClass,_=void 0===m?"rr-mask":m,v=t.maskTextSelector,y=void 0===v?null:v,g=t.maskInputSelector,b=void 0===g?null:g,k=t.unmaskTextSelector,w=void 0===k?null:k,S=t.unmaskInputSelector,x=void 0===S?null:S,E=t.inlineStylesheet,T=void 0===E||E,R=t.maskAllText,O=void 0!==R&&R,C=t.maskAllInputs,I=t.maskInputOptions,A=t.slimDOMOptions,D=t.maskInputFn,N=t.maskTextFn,M=t.hooks,L=t.packFn,U=t.sampling,j=void 0===U?{}:U,F=t.mousemoveWait,B=t.recordCanvas,P=void 0!==B&&B,Z=t.userTriggeredOnInput,G=void 0!==Z&&Z,Y=t.collectFonts,W=void 0!==Y&&Y,H=t.inlineImages,q=void 0!==H&&H,V=t.plugins,X=t.keepIframeSrcFn,J=void 0===X?function(){return!1}:X;if(!e)throw new Error("emit function is required");void 0!==F&&void 0===j.mousemove&&(j.mousemove=F);var K,Q=!0===C?{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!==I?I:{password:!0},$=!0===A||"all"===A?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===A,headMetaDescKeywords:"all"===A}:A||{};Mt();var tt=0,et=function(t){var e,n=z(V||[]);try{for(n.s();!(e=n.n()).done;){var a=e.value;a.eventProcessor&&(t=a.eventProcessor(t))}}catch(r){n.e(r)}finally{n.f()}return L&&(t=L(t)),t};xe=function(t,r){var i;if(!(null===(i=qt[0])||void 0===i?void 0:i.isFrozen())||t.type===st.FullSnapshot||t.type===st.IncrementalSnapshot&&t.data.source===ot.Mutation||qt.forEach((function(t){return t.unfreeze()})),e(et(t),r),t.type===st.FullSnapshot)K=t,tt=0;else if(t.type===st.IncrementalSnapshot){if(t.data.source===ot.Mutation&&t.data.isAttachIframe)return;tt++;var s=a&&tt>=a,o=n&&t.timestamp-K.timestamp>n;(s||o)&&Ee(!0)}};var nt=function(t){xe(Re({type:st.IncrementalSnapshot,data:Object.assign({source:ot.Mutation},t)}))},at=function(t){return xe(Re({type:st.IncrementalSnapshot,data:Object.assign({source:ot.Scroll},t)}))},rt=function(t){return xe(Re({type:st.IncrementalSnapshot,data:Object.assign({source:ot.CanvasMutation},t)}))},it=new pe({mutationCb:nt}),lt=new Te({recordCanvas:P,mutationCb:rt,win:window,blockClass:i,blockSelector:o,unblockSelector:c,mirror:Oe}),ct=new fe({mutationCb:nt,scrollCb:at,bypassOptions:{blockClass:i,blockSelector:o,unblockSelector:c,maskTextClass:_,maskTextSelector:y,unmaskTextSelector:w,maskInputSelector:b,unmaskInputSelector:x,inlineStylesheet:T,maskAllText:O,maskInputOptions:Q,maskTextFn:N,maskInputFn:D,recordCanvas:P,inlineImages:q,sampling:j,slimDOMOptions:$,iframeManager:it,canvasManager:lt},mirror:Oe});Ee=function(){var t,e,n,a,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];xe(Re({type:st.Meta,data:{href:window.location.href,width:It(),height:Ct()}}),r),qt.forEach((function(t){return t.lock()}));var s=kt(document,{blockClass:i,blockSelector:o,unblockSelector:c,maskTextClass:_,maskTextSelector:y,unmaskTextSelector:w,maskInputSelector:b,unmaskInputSelector:x,inlineStylesheet:T,maskAllText:O,maskAllInputs:Q,maskTextFn:N,slimDOM:$,recordCanvas:P,inlineImages:q,onSerialize:function(t){Lt(t)&&it.addIframe(t),Ut(t)&&ct.addShadowRoot(t.shadowRoot,document)},onIframeLoad:function(t,e){it.attachIframe(t,e),ct.observeAttachShadow(t)},keepIframeSrcFn:J}),l=Object(d.a)(s,2),u=l[0],h=l[1];if(!u)return console.warn("Failed to snapshot the document");Oe.map=h,xe(Re({type:st.FullSnapshot,data:{node:u,initialOffset:{left:void 0!==window.pageXOffset?window.pageXOffset:(null===document||void 0===document?void 0:document.documentElement.scrollLeft)||(null===(e=null===(t=null===document||void 0===document?void 0:document.body)||void 0===t?void 0:t.parentElement)||void 0===e?void 0:e.scrollLeft)||(null===document||void 0===document?void 0:document.body.scrollLeft)||0,top:void 0!==window.pageYOffset?window.pageYOffset:(null===document||void 0===document?void 0:document.documentElement.scrollTop)||(null===(a=null===(n=null===document||void 0===document?void 0:document.body)||void 0===n?void 0:n.parentElement)||void 0===a?void 0:a.scrollTop)||(null===document||void 0===document?void 0:document.body.scrollTop)||0}}})),qt.forEach((function(t){return t.unlock()}))};try{var ut=[];ut.push(St("DOMContentLoaded",(function(){xe(Re({type:st.DomContentLoaded,data:{}}))}
1)));var dt=function(t){var e;return Ht(ue)({mutationCb:nt,mousemoveCb:function(t,e){return xe(Re({type:st.IncrementalSnapshot,data:{source:e,positions:t}}))},mouseInteractionCb:function(t){return xe(Re({type:st.IncrementalSnapshot,data:Object.assign({source:ot.MouseInteraction},t)}))},scrollCb:at,viewportResizeCb:function(t){return xe(Re({type:st.IncrementalSnapshot,data:Object.assign({source:ot.ViewportResize},t)}))},inputCb:function(t){return xe(Re({type:st.IncrementalSnapshot,data:Object.assign({source:ot.Input},t)}))},mediaInteractionCb:function(t){return xe(Re({type:st.IncrementalSnapshot,data:Object.assign({source:ot.MediaInteraction},t)}))},styleSheetRuleCb:function(t){return xe(Re({type:st.IncrementalSnapshot,data:Object.assign({source:ot.StyleSheetRule},t)}))},styleDeclarationCb:function(t){return xe(Re({type:st.IncrementalSnapshot,data:Object.assign({source:ot.StyleDeclaration},t)}))},canvasMutationCb:rt,fontCb:function(t){return xe(Re({type:st.IncrementalSnapshot,data:Object.assign({source:ot.Font},t)}))},blockClass:i,ignoreClass:h,ignoreSelector:f,maskTextClass:_,maskTextSelector:y,unmaskTextSelector:w,maskInputSelector:b,unmaskInputSelector:x,maskInputOptions:Q,inlineStylesheet:T,sampling:j,recordCanvas:P,inlineImages:q,userTriggeredOnInput:G,collectFonts:W,doc:t,maskAllText:O,maskInputFn:D,maskTextFn:N,blockSelector:o,unblockSelector:c,slimDOMOptions:$,mirror:Oe,iframeManager:it,shadowDomManager:ct,canvasManager:lt,plugins:(null===(e=null===V||void 0===V?void 0:V.filter((function(t){return t.observer})))||void 0===e?void 0:e.map((function(t){return{observer:t.observer,options:t.options,callback:function(e){return xe(Re({type:st.Plugin,data:{plugin:t.name,payload:e}}))}}})))||[]},M)};it.addLoadListener((function(t){try{ut.push(dt(t.contentDocument))}catch(e){console.warn(e)}}));var ht=function(){Ee(),ut.push(dt(document))};return"interactive"===document.readyState||"complete"===document.readyState?ht():ut.push(St("load",(function(){xe(Re({type:st.Load,data:{}})),ht()}),window)),function(){ut.forEach((function(t){return t()}))}}catch(pt){console.warn(pt)}}Ce.addCustomEvent=function(t,e){if(!xe)throw new Error("please add custom event after start recording");xe(Re({type:st.Custom,data:{tag:t,payload:e}}))},Ce.freezePage=function(){qt.forEach((function(t){return t.freeze()}))},Ce.takeFullSnapshot=function(t){if(!Ee)throw new Error("please take full snapshot after start recording");Ee(t)},Ce.mirror=Oe;var Ie=["name","type","startTime","transferSize","duration"];function Ae(t){return function(e){return Ie.every((function(n){return t[n]===e[n]}))}}function De(t){var e=new PerformanceObserver((function(e){var n=function(t,e){var n=t.reduce((function(t,e){return"navigation"===e.entryType?t[0].push(e):"largest-contentful-paint"===e.entryType?t[1].push(e):t[2].push(e),t}),[[],[],[]]),a=Object(d.a)(n,3),r=a[0],i=a[1],s=a[2],o=[],l=[],c=i.length?i[i.length-1]:void 0;return e.forEach((function(t){if("largest-contentful-paint"!==t.entryType)if("navigation"!==t.entryType)o.push(t);else{var e=t;t.duration>0&&!r.find(Ae(e))&&!l.find(Ae(e))&&l.push(e)}else(!c||c.startTime<t.startTime)&&(c=t)})),[].concat(Object(h.a)(c?[c]:[]),Object(h.a)(r),Object(h.a)(s),o,l).sort((function(t,e){return t.startTime-e.startTime}))}(t.performanceEvents,e.getEntries());t.performanceEvents=n}));return["element","event","first-input","largest-contentful-paint","layout-shift","longtask","navigation","paint","resource"].forEach((function(t){try{e.observe({type:t,buffered:!0})}catch(n){}})),e}var Ne=function(){function t(){Object(p.a)(this,t),this.events=[]}return Object(f.a)(t,[{key:"hasEvents",get:function(){return this.events.length>0}},{key:"destroy",value:function(){this.events=[]}},{key:"addEvent",value:function(){var t=Object(c.default)(_.a.mark((function t(e,n){return _.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!n){t.next=3;break}return this.events=[e],t.abrupt("return");case 3:return this.events.push(e),t.abrupt("return");case 5:case"end":return t.stop()}}),t,this)})));return function(e,n){return t.apply(this,arguments)}}()},{key:"finish",value:function(){var t=this;return new Promise((function(e){var n=t.events;t.events=[],e(JSON.stringify(n))}))}}]),t}(),ze=function(){function t(e){Object(p.a)(this,t),this._worker=e,this._id=0}return Object(f.a)(t,[{key:"ensureReady",value:function(){var t=this;return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise((function(e,n){t._worker.addEventListener("message",(function(t){t.data.success?e():n()}),{once:!0}),t._worker.addEventListener("error",(function(t){n(t)}),{once:!0})}))),this._ensureReadyPromise}},{key:"destroy",value:function(){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&w.c.log("[Replay] Destroying compression worker"),this._worker.terminate()}},{key:"postMessage",value:function(t,e){var n=this,a=this._getAndIncrementId();return new Promise((function(r,i){n._worker.addEventListener("message",(function e(s){var o=s.data;if(o.method===t&&o.id===a){if(n._worker.removeEventListener("message",e),!o.success)return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&w.c.error("[Replay]",o.response),void i(new Error("Error in compression worker"));r(o.response)}})),n._worker.postMessage({id:a,method:t,arg:e})}))}},{key:"_getAndIncrementId",value:function(){return this._id++}}]),t}(),Me=function(){function t(e){Object(p.a)(this,t),this._worker=new ze(e),this.hasEvents=!1}return Object(f.a)(t,[{key:"ensureReady",value:function(){return this._worker.ensureReady()}},{key:"destroy",value:function(){this._worker.destroy()}},{key:"addEvent",value:function(){var t=Object(c.default)(_.a.mark((function t(e,n){return _.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.hasEvents=!0,!n){t.next=4;break}return t.next=4,this._clear();case 4:return t.abrupt("return",this._sendEventToWorker(e));case 5:case"end":return t.stop()}}),t,this)})));return function(e,n){return t.apply(this,arguments)}}()},{key:"finish",value:function(){return this._finishRequest()}},{key:"_sendEventToWorker",value:function(t){return this._worker.postMessage("addEvent",JSON.stringify(t))}},{key:"_finishRequest",value:function(){var t=Object(c.default)(_.a.mark((function t(){var e;return _.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this._worker.postMessage("finish");case 2:return e=t.sent,this.hasEvents=!1,t.abrupt("return",e);case 5:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"_clear",value:function(){return this._worker.postMessage("clear")}}]),t}(),Le=function(){function t(e){Object(p.a)(this,t),this._fallback=new Ne,this._compression=new Me(e),this._used=this._fallback,this._ensureWorkerIsLoadedProm
1ise=this._ensureWorkerIsLoaded()}return Object(f.a)(t,[{key:"hasEvents",get:function(){return this._used.hasEvents}},{key:"destroy",value:function(){this._fallback.destroy(),this._compression.destroy()}},{key:"addEvent",value:function(t,e){return this._used.addEvent(t,e)}},{key:"finish",value:function(){var t=Object(c.default)(_.a.mark((function t(){return _.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.ensureWorkerIsLoaded();case 2:return t.abrupt("return",this._used.finish());case 3:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"ensureWorkerIsLoaded",value:function(){return this._ensureWorkerIsLoadedPromise}},{key:"_ensureWorkerIsLoaded",value:function(){var t=Object(c.default)(_.a.mark((function t(){return _.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._compression.ensureReady();case 3:t.next=9;break;case 5:return t.prev=5,t.t0=t.catch(0),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&w.c.log("[Replay] Failed to load the compression worker, falling back to simple buffer"),t.abrupt("return");case 9:return t.next=11,this._switchToCompressionWorker();case 11:case"end":return t.stop()}}),t,this,[[0,5]])})));return function(){return t.apply(this,arguments)}}()},{key:"_switchToCompressionWorker",value:function(){var t=Object(c.default)(_.a.mark((function t(){var e,n,a,r,i;return _.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=this._fallback.events,n=[],a=z(e);try{for(a.s();!(r=a.n()).done;)i=r.value,n.push(this._compression.addEvent(i))}catch(s){a.e(s)}finally{a.f()}return this._used=this._compression,t.prev=5,t.next=8,Promise.all(n);case 8:t.next=13;break;case 10:t.prev=10,t.t0=t.catch(5),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&w.c.warn("[Replay] Failed to add events when switching buffers.",t.t0);case 13:case"end":return t.stop()}}),t,this,[[5,10]])})));return function(){return t.apply(this,arguments)}}()}]),t}();function Ue(t){if(t.useCompression&&window.Worker)try{var e=function(){var t=new Blob(['/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */\nfunction t(t){let e=t.length;for(;--e>=0;)t[e]=0}const e=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),a=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),i=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),n=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=new Array(576);t(s);const r=new Array(60);t(r);const o=new Array(512);t(o);const l=new Array(256);t(l);const h=new Array(29);t(h);const d=new Array(30);function _(t,e,a,i,n){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=i,this.max_length=n,this.has_stree=t&&t.length}let f,c,u;function w(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}t(d);const m=t=>t<256?o[t]:o[256+(t>>>7)],b=(t,e)=>{t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},g=(t,e,a)=>{t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,b(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},p=(t,e,a)=>{g(t,a[2*e],a[2*e+1])},k=(t,e)=>{let a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},v=(t,e,a)=>{const i=new Array(16);let n,s,r=0;for(n=1;n<=15;n++)r=r+a[n-1]<<1,i[n]=r;for(s=0;s<=e;s++){let e=t[2*s+1];0!==e&&(t[2*s]=k(i[e]++,e))}},y=t=>{let e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.sym_next=t.matches=0},x=t=>{t.bi_valid>8?b(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},z=(t,e,a,i)=>{const n=2*e,s=2*a;return t[n]<t[s]||t[n]===t[s]&&i[e]<=i[a]},A=(t,e,a)=>{const i=t.heap[a];let n=a<<1;for(;n<=t.heap_len&&(n<t.heap_len&&z(e,t.heap[n+1],t.heap[n],t.depth)&&n++,!z(e,i,t.heap[n],t.depth));)t.heap[a]=t.heap[n],a=n,n<<=1;t.heap[a]=i},E=(t,i,n)=>{let s,r,o,_,f=0;if(0!==t.sym_next)do{s=255&t.pending_buf[t.sym_buf+f++],s+=(255&t.pending_buf[t.sym_buf+f++])<<8,r=t.pen
vendor: 4,281 bytes, line 1
1ding_buf[t.sym_buf+f++],0===s?p(t,r,i):(o=l[r],p(t,o+256+1,i),_=e[o],0!==_&&(r-=h[o],g(t,r,_)),s--,o=m(s),p(t,o,n),_=a[o],0!==_&&(s-=d[o],g(t,s,_)))}while(f<t.sym_next);p(t,256,i)},R=(t,e)=>{const a=e.dyn_tree,i=e.stat_desc.static_tree,n=e.stat_desc.has_stree,s=e.stat_desc.elems;let r,o,l,h=-1;for(t.heap_len=0,t.heap_max=573,r=0;r<s;r++)0!==a[2*r]?(t.heap[++t.heap_len]=h=r,t.depth[r]=0):a[2*r+1]=0;for(;t.heap_len<2;)l=t.heap[++t.heap_len]=h<2?++h:0,a[2*l]=1,t.depth[l]=0,t.opt_len--,n&&(t.static_len-=i[2*l+1]);for(e.max_code=h,r=t.heap_len>>1;r>=1;r--)A(t,a,r);l=s;do{r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],A(t,a,1),o=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=o,a[2*l]=a[2*r]+a[2*o],t.depth[l]=(t.depth[r]>=t.depth[o]?t.depth[r]:t.depth[o])+1,a[2*r+1]=a[2*o+1]=l,t.heap[1]=l++,A(t,a,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],((t,e)=>{const a=e.dyn_tree,i=e.max_code,n=e.stat_desc.static_tree,s=e.stat_desc.has_stree,r=e.stat_desc.extra_bits,o=e.stat_desc.extra_base,l=e.stat_desc.max_length;let h,d,_,f,c,u,w=0;for(f=0;f<=15;f++)t.bl_count[f]=0;for(a[2*t.heap[t.heap_max]+1]=0,h=t.heap_max+1;h<573;h++)d=t.heap[h],f=a[2*a[2*d+1]+1]+1,f>l&&(f=l,w++),a[2*d+1]=f,d>i||(t.bl_count[f]++,c=0,d>=o&&(c=r[d-o]),u=a[2*d],t.opt_len+=u*(f+c),s&&(t.static_len+=u*(n[2*d+1]+c)));if(0!==w){do{for(f=l-1;0===t.bl_count[f];)f--;t.bl_count[f]--,t.bl_count[f+1]+=2,t.bl_count[l]--,w-=2}while(w>0);for(f=l;0!==f;f--)for(d=t.bl_count[f];0!==d;)_=t.heap[--h],_>i||(a[2*_+1]!==f&&(t.opt_len+=(f-a[2*_+1])*a[2*_],a[2*_+1]=f),d--)}})(t,e),v(a,h,t.bl_count)},Z=(t,e,a)=>{let i,n,s=-1,r=e[1],o=0,l=7,h=4;for(0===r&&(l=138,h=3),e[2*(a+1)+1]=65535,i=0;i<=a;i++)n=r,r=e[2*(i+1)+1],++o<l&&n===r||(o<h?t.bl_tree[2*n]+=o:0!==n?(n!==s&&t.bl_tree[2*n]++,t.bl_tree[32]++):o<=10?t.bl_tree[34]++:t.bl_tree[36]++,o=0,s=n,0===r?(l=138,h=3):n===r?(l=6,h=3):(l=7,h=4))},U=(t,e,a)=>{let i,n,s=-1,r=e[1],o=0,l=7,h=4;for(0===r&&(l=138,h=3),i=0;i<=a;i++)if(n=r,r=e[2*(i+1)+1],!(++o<l&&n===r)){if(o<h)do{p(t,n,t.bl_tree)}while(0!=--o);else 0!==n?(n!==s&&(p(t,n,t.bl_tree),o--),p(t,16,t.bl_tree),g(t,o-3,2)):o<=10?(p(t,17,t.bl_tree),g(t,o-3,3)):(p(t,18,t.bl_tree),g(t,o-11,7));o=0,s=n,0===r?(l=138,h=3):n===r?(l=6,h=3):(l=7,h=4)}};let S=!1;const D=(t,e,a,i)=>{g(t,0+(i?1:0),3),x(t),b(t,a),b(t,~a),a&&t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a};var T=(t,e,a,i)=>{let o,l,h=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=(t=>{let e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0})(t)),R(t,t.l_desc),R(t,t.d_desc),h=(t=>{let e;for(Z(t,t.dyn_ltree,t.l_desc.max_code),Z(t,t.dyn_dtree,t.d_desc.max_code),R(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*n[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e})(t),o=t.opt_len+3+7>>>3,l=t.static_len+3+7>>>3,l<=o&&(o=l)):o=l=a+5,a+4<=o&&-1!==e?D(t,e,a,i):4===t.strategy||l===o?(g(t,2+(i?1:0),3),E(t,s,r)):(g(t,4+(i?1:0),3),((t,e,a,i)=>{let s;for(g(t,e-257,5),g(t,a-1,5),g(t,i-4,4),s=0;s<i;s++)g(t,t.bl_tree[2*n[s]+1],3);U(t,t.dyn_ltree,e-1),U(t,t.dyn_dtree,a-1)})(t,t.l_desc.max_code+1,t.d_desc.max_code+1,h+1),E(t,t.dyn_ltree,t.dyn_dtree)),y(t),i&&x(t)},O={_tr_init:t=>{S||((()=>{let t,n,w,m,b;const g=new Array(16);for(w=0,m=0;m<28;m++)for(h[m]=w,t=0;t<1<<e[m];t++)l[w++]=m;for(l[w-1]=m,b=0,m=0;m<16;m++)for(d[m]=b,t=0;t<1<<a[m];t++)o[b++]=m;for(b>>=7;m<30;m++)for(d[m]=b<<7,t=0;t<1<<a[m]-7;t++)o[256+b++]=m;for(n=0;n<=15;n++)g[n]=0;for(t=0;t<=143;)s[2*t+1]=8,t++,g[8]++;for(;t<=255;)s[2*t+1]=9,t++,g[9]++;for(;t<=279;)s[2*t+1]=7,t++,g[7]++;for(;t<=287;)s[2*t+1]=8,t++,g[8]++;for(v(s,287,g),t=0;t<30;t++)r[2*t+1]=5,r[2*t]=k(t,5);f=new _(s,e,257,286,15),c=new _(r,a,0,30,15),u=new _(new Array(0),i,0,19,7)})(),S=!0),t.l_desc=new w(t.dyn_ltree,f),t.d_desc=new w(t.dyn_dtree,c),t.bl_desc=new w(t.bl_tree,u),t.bi_buf=0,t.bi_valid=0,y(t)},_tr_stored_block:D,_tr_flush_block:T,_tr_tally:(t,e,a)=>(t.pending_buf[t.sym_buf+t.sym_next++]=e,t.pending_buf[t.sym_buf+t.sym_next++]=e>>8,t.pending_buf[t.sym_buf+t.sym_next++]=a,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(l[a]+256+1)]++,t.dyn_dtree[2*m(e)]++),t.sym_next===t.sym_end),_tr_align:t=>{g(t,2,3),p(t,256,s),(t=>
1{16===t.bi_valid?(b(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)})(t)}};var F=(t,e,a,i)=>{let n=65535&t|0,s=t>>>16&65535|0,r=0;for(;0!==a;){r=a>2e3?2e3:a,a-=r;do{n=n+e[i++]|0,s=s+n|0}while(--r);n%=65521,s%=65521}return n|s<<16|0};const L=new Uint32Array((()=>{let t,e=[];for(var a=0;a<256;a++){t=a;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e})());var N=(t,e,a,i)=>{const n=L,s=i+a;t^=-1;for(let a=i;a<s;a++)t=t>>>8^n[255&(t^e[a])];return-1^t},I={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},B={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:C,_tr_stored_block:H,_tr_flush_block:M,_tr_tally:j,_tr_align:K}=O,{Z_NO_FLUSH:P,Z_PARTIAL_FLUSH:Y,Z_FULL_FLUSH:G,Z_FINISH:X,Z_BLOCK:W,Z_OK:q,Z_STREAM_END:J,Z_STREAM_ERROR:Q,Z_DATA_ERROR:V,Z_BUF_ER
vendor: 10,438 bytes, line 1
1ROR:$,Z_DEFAULT_COMPRESSION:tt,Z_FILTERED:et,Z_HUFFMAN_ONLY:at,Z_RLE:it,Z_FIXED:nt,Z_DEFAULT_STRATEGY:st,Z_UNKNOWN:rt,Z_DEFLATED:ot}=B,lt=(t,e)=>(t.msg=I[e],e),ht=t=>2*t-(t>4?9:0),dt=t=>{let e=t.length;for(;--e>=0;)t[e]=0},_t=t=>{let e,a,i,n=t.w_size;e=t.hash_size,i=e;do{a=t.head[--i],t.head[i]=a>=n?a-n:0}while(--e);e=n,i=e;do{a=t.prev[--i],t.prev[i]=a>=n?a-n:0}while(--e)};let ft=(t,e,a)=>(e<<t.hash_shift^a)&t.hash_mask;const ct=t=>{const e=t.state;let a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},ut=(t,e)=>{M(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,ct(t.strm)},wt=(t,e)=>{t.pending_buf[t.pending++]=e},mt=(t,e)=>{t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},bt=(t,e,a,i)=>{let n=t.avail_in;return n>i&&(n=i),0===n?0:(t.avail_in-=n,e.set(t.input.subarray(t.next_in,t.next_in+n),a),1===t.state.wrap?t.adler=F(t.adler,e,n,a):2===t.state.wrap&&(t.adler=N(t.adler,e,n,a)),t.next_in+=n,t.total_in+=n,n)},gt=(t,e)=>{let a,i,n=t.max_chain_length,s=t.strstart,r=t.prev_length,o=t.nice_match;const l=t.strstart>t.w_size-262?t.strstart-(t.w_size-262):0,h=t.window,d=t.w_mask,_=t.prev,f=t.strstart+258;let c=h[s+r-1],u=h[s+r];t.prev_length>=t.good_match&&(n>>=2),o>t.lookahead&&(o=t.lookahead);do{if(a=e,h[a+r]===u&&h[a+r-1]===c&&h[a]===h[s]&&h[++a]===h[s+1]){s+=2,a++;do{}while(h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&s<f);if(i=258-(f-s),s=f-258,i>r){if(t.match_start=e,r=i,i>=o)break;c=h[s+r-1],u=h[s+r]}}}while((e=_[e&d])>l&&0!=--n);return r<=t.lookahead?r:t.lookahead},pt=t=>{const e=t.w_size;let a,i,n;do{if(i=t.window_size-t.lookahead-t.strstart,t.strstart>=e+(e-262)&&(t.window.set(t.window.subarray(e,e+e-i),0),t.match_start-=e,t.strstart-=e,t.block_start-=e,t.insert>t.strstart&&(t.insert=t.strstart),_t(t),i+=e),0===t.strm.avail_in)break;if(a=bt(t.strm,t.window,t.strstart+t.lookahead,i),t.lookahead+=a,t.lookahead+t.insert>=3)for(n=t.strstart-t.insert,t.ins_h=t.window[n],t.ins_h=ft(t,t.ins_h,t.window[n+1]);t.insert&&(t.ins_h=ft(t,t.ins_h,t.window[n+3-1]),t.prev[n&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=n,n++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<262&&0!==t.strm.avail_in)},kt=(t,e)=>{let a,i,n,s=t.pending_buf_size-5>t.w_size?t.w_size:t.pending_buf_size-5,r=0,o=t.strm.avail_in;do{if(a=65535,n=t.bi_valid+42>>3,t.strm.avail_out<n)break;if(n=t.strm.avail_out-n,i=t.strstart-t.block_start,a>i+t.strm.avail_in&&(a=i+t.strm.avail_in),a>n&&(a=n),a<s&&(0===a&&e!==X||e===P||a!==i+t.strm.avail_in))break;r=e===X&&a===i+t.strm.avail_in?1:0,H(t,0,0,r),t.pending_buf[t.pending-4]=a,t.pending_buf[t.pending-3]=a>>8,t.pending_buf[t.pending-2]=~a,t.pending_buf[t.pending-1]=~a>>8,ct(t.strm),i&&(i>a&&(i=a),t.strm.output.set(t.window.subarray(t.block_start,t.block_start+i),t.strm.next_out),t.strm.next_out+=i,t.strm.avail_out-=i,t.strm.total_out+=i,t.block_start+=i,a-=i),a&&(bt(t.strm,t.strm.output,t.strm.next_out,a),t.strm.next_out+=a,t.strm.avail_out-=a,t.strm.total_out+=a)}while(0===r);return o-=t.strm.avail_in,o&&(o>=t.w_size?(t.matches=2,t.window.set(t.strm.input.subarray(t.strm.next_in-t.w_size,t.strm.next_in),0),t.strstart=t.w_size,t.insert=t.strstart):(t.window_size-t.strstart<=o&&(t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,t.insert>t.strstart&&(t.insert=t.strstart)),t.window.set(t.strm.input.subarray(t.strm.next_in-o,t.strm.next_in),t.strstart),t.strstart+=o,t.insert+=o>t.w_size-t.insert?t.w_size-t.insert:o),t.block_start=t.strstart),t.high_water<t.strstart&&(t.high_water=t.strstart),r?4:e!==P&&e!==X&&0===t.strm.avail_in&&t.strstart===t.block_start?2:(n=t.window_size-t.strstart,t.strm.avail_in>n&&t.block_start>=t.w_size&&(t.block_start-=t.w_size,t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,n+=t.w_size,t.insert>t.strstart&&(t.insert=t.strstart)),n>t.strm.avail_in&&(n=t.strm.avail_in),n&&(bt(t.strm,t.window,t.strstart,n),t.strstart+=n,t.insert+=n>t.w_size-t.insert?t.w_size-t.insert:n),t.high_water<t.strstart&&(t.high_water=t.strstart),n=t.bi_valid+42>>3,n=t.pending_buf_size-n>65535?65535:t.pending_buf_size-n,s=n>t.w_size?t.w_size:n,i=t.strstart-t.block_start,(i>=s||(i||e===X)&&e!==P&&0===t.strm.avail_in&&i<=n)&&(a=i>n?n:i,r=e===X&&0===t.strm.avail_in&&a===i?1:0,H(t,t.block_start,a,r),t.block_start+=a,ct(t.strm)),r?3:1)},vt=(t,e)=>{let a,i;for(;;){if(t.lookahead<262){if(pt(t),t.lookahead<262&&e===P)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-262&&(t.match_length=gt(t,a)),t.match_length>=3)if(i=j(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=ft(t,t.ins_h,t.window[t.strstart+1]);else i=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2},yt=(t,e)=>{let a,i,n;for(;;){if(t.lookahead<262){if(pt(t),t.lookahead<262&&e===P)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-262&&(t.match_length=gt(t,a),t.match_length<=5&&(t.strategy===et||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){n=t.strstart+t.lookahead-3,i=j(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=n&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,i&&(ut(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if(i=j(t,0,t.window[t.strstart-1]),i&&ut(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(i=j(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2};function xt(t,e,a,i,n){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=i,this.func=n}const zt=[new xt(0,0,0,0,kt),new xt(4,4,8,4,vt),new xt(4,5,16,8,vt),new xt(4,6,32,32,vt),new xt(4,4,16,16,yt),new xt(8,16,32,32,yt),new xt(8,16,128,128,yt),new xt(8,32,128,256,yt),new xt(32,128,258,1024,yt),new xt(32,258,258,4096,yt)];function At(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ot,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),dt(this.dyn_ltree),dt(this.dyn_dtree),dt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),dt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),dt(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Et=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||42!==e.status&&57!==e.status&&69!==e.status&&73!==e.status&&91!==e.status&&103!==e.status&&113!==e.status&&666!==e.status?1:0},Rt=t=>{if(Et(t))return lt(t,Q);t.total_in=t.total_out=0,t.data_type=rt;const e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=2===e.wrap?57:e.wrap?42:113,t.adler=2===e.wrap?0:1,e.last_flush=-2,C(e),q},Zt=t=>{const e=Rt(t);var a;return e===q&&((a=t.state).window_size=2*a.w_size,dt(a.head),a.max_lazy_match=zt[a.level].max_lazy,a.good_match=zt[a.level].good_length,a.nice_match=zt[a.level].nice_length,a.max_chain_length=zt[a.level].max_chain,a.strstart=0,a.block_start=0,a.lookahead=0,a.insert=0,a.match_length=a.prev_length=2,a.match_available=0,a.ins_h=0),e},Ut=(t,e,a,i,n,s)=>{if(!t)return Q;let r=1;if(e===tt&&(e=6),i<0?(r=0,i=-i):i>15&&(r=2,i-=16),n<1||n>9||a!==ot||i<8||i>15||e<0||e>9||s<0||s>nt||8===i&&1!==r)return lt(t,Q);8===i&&(i=9);const o=new At;return t.state=o,o.strm=t,o.status=42,o.wrap=r,o.gzhead=null,o.w_bits=i,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=n+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+3-1)/3),o.window=new Uint8Array(2*o.w_size),o.head=new Uint16Array(o.hash_size),o.prev=new Uint16Array(o.w_size),o.lit_bufsize=1<<n+6,o.pending_buf_size=4*o.lit_bufsize,o.pending_buf=new Uint8Array(o.pending_buf_size),o.sym_buf=o.lit_bufsize,o.sym_end=3*(o.lit_bufsize-1),o.level=e,o.strategy=s,o.method=a,Zt(t)};var St={deflateInit:(t,e)=>Ut(t,e,ot,15,8,st),deflateInit2:Ut,deflateReset:Zt,deflateResetKeep:Rt,deflateSetHeader:(t,e)=>Et(t)||2!==t.state.wrap?Q:(t.state.gzhead=e,q),deflate:(t,e)=>{if(Et(t)||e>W||e<0)return t?lt(t,Q):Q;const a=t.state;if(!t.output||0!==t.avail_in&&!t.input||666===a.status&&e!==X)return lt(t,0===t.avail_out?$:Q);const i=a.last_flush;
vendor: 4,728 bytes, line 1
1if(a.last_flush=e,0!==a.pending){if(ct(t),0===t.avail_out)return a.last_flush=-1,q}else if(0===t.avail_in&&ht(e)<=ht(i)&&e!==X)return lt(t,$);if(666===a.status&&0!==t.avail_in)return lt(t,$);if(42===a.status&&0===a.wrap&&(a.status=113),42===a.status){let e=ot+(a.w_bits-8<<4)<<8,i=-1;if(i=a.strategy>=at||a.level<2?0:a.level<6?1:6===a.level?2:3,e|=i<<6,0!==a.strstart&&(e|=32),e+=31-e%31,mt(a,e),0!==a.strstart&&(mt(a,t.adler>>>16),mt(a,65535&t.adler)),t.adler=1,a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q}if(57===a.status)if(t.adler=0,wt(a,31),wt(a,139),wt(a,8),a.gzhead)wt(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),wt(a,255&a.gzhead.time),wt(a,a.gzhead.time>>8&255),wt(a,a.gzhead.time>>16&255),wt(a,a.gzhead.time>>24&255),wt(a,9===a.level?2:a.strategy>=at||a.level<2?4:0),wt(a,255&a.gzhead.os),a.gzhead.extra&&a.gzhead.extra.length&&(wt(a,255&a.gzhead.extra.length),wt(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(t.adler=N(t.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=69;else if(wt(a,0),wt(a,0),wt(a,0),wt(a,0),wt(a,0),wt(a,9===a.level?2:a.strategy>=at||a.level<2?4:0),wt(a,3),a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q;if(69===a.status){if(a.gzhead.extra){let e=a.pending,i=(65535&a.gzhead.extra.length)-a.gzindex;for(;a.pending+i>a.pending_buf_size;){let n=a.pending_buf_size-a.pending;if(a.pending_buf.set(a.gzhead.extra.subarray(a.gzindex,a.gzindex+n),a.pending),a.pending=a.pending_buf_size,a.gzhead.hcrc&&a.pending>e&&(t.adler=N(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex+=n,ct(t),0!==a.pending)return a.last_flush=-1,q;e=0,i-=n}let n=new Uint8Array(a.gzhead.extra);a.pending_buf.set(n.subarray(a.gzindex,a.gzindex+i),a.pending),a.pending+=i,a.gzhead.hcrc&&a.pending>e&&(t.adler=N(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex=0}a.status=73}if(73===a.status){if(a.gzhead.name){let e,i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),ct(t),0!==a.pending)return a.last_flush=-1,q;i=0}e=a.gzindex<a.gzhead.name.length?255&a.gzhead.name.charCodeAt(a.gzindex++):0,wt(a,e)}while(0!==e);a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),a.gzindex=0}a.status=91}if(91===a.status){if(a.gzhead.comment){let e,i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),ct(t),0!==a.pending)return a.last_flush=-1,q;i=0}e=a.gzindex<a.gzhead.comment.length?255&a.gzhead.comment.charCodeAt(a.gzindex++):0,wt(a,e)}while(0!==e);a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i))}a.status=103}if(103===a.status){if(a.gzhead.hcrc){if(a.pending+2>a.pending_buf_size&&(ct(t),0!==a.pending))return a.last_flush=-1,q;wt(a,255&t.adler),wt(a,t.adler>>8&255),t.adler=0}if(a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q}if(0!==t.avail_in||0!==a.lookahead||e!==P&&666!==a.status){let i=0===a.level?kt(a,e):a.strategy===at?((t,e)=>{let a;for(;;){if(0===t.lookahead&&(pt(t),0===t.lookahead)){if(e===P)return 1;break}if(t.match_length=0,a=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2})(a,e):a.strategy===it?((t,e)=>{let a,i,n,s;const r=t.window;for(;;){if(t.lookahead<=258){if(pt(t),t.lookahead<=258&&e===P)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=t.strstart-1,i=r[n],i===r[++n]&&i===r[++n]&&i===r[++n])){s=t.strstart+258;do{}while(i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&n<s);t.match_length=258-(s-n),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=j(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2})(a,e):zt[a.level].func(a,e);if(3!==i&&4!==i||(a.status=666),1===i||3===i)return 0===t.avail_out&&(a.last_flush=-1),q;if(2===i&&(e===Y?K(a):e!==W&&(H(a,0,0,!1),e===G&&(dt(a.head),0===a.lookahead&&(a.strstart=0,a.block_start=0,a.insert=0))),ct(t),0===t.avail_out))return a.last_flush=-1,q}return e!==X?q:a.wrap<=0?J:(2===a.wrap?(wt(a,255&t.adler),wt(a,t.adler>>8&255),wt(a,t.adler>>16&255),wt(a,t.adler>>24&255),wt(a,255&t.total_in),wt(a,t.total_in>>8&255),wt(a,t.total_in>>16&255),wt(a,t.total_in>>24&255)):(mt(a,t.adler>>>16),mt(a,65535&t.adler)),ct(t),a.wrap>
vendor: 10,448 bytes, line 1
10&&(a.wrap=-a.wrap),0!==a.pending?q:J)},deflateEnd:t=>{if(Et(t))return Q;const e=t.state.status;return t.state=null,113===e?lt(t,V):q},deflateSetDictionary:(t,e)=>{let a=e.length;if(Et(t))return Q;const i=t.state,n=i.wrap;if(2===n||1===n&&42!==i.status||i.lookahead)return Q;if(1===n&&(t.adler=F(t.adler,e,a,0)),i.wrap=0,a>=i.w_size){0===n&&(dt(i.head),i.strstart=0,i.block_start=0,i.insert=0);let t=new Uint8Array(i.w_size);t.set(e.subarray(a-i.w_size,a),0),e=t,a=i.w_size}const s=t.avail_in,r=t.next_in,o=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,pt(i);i.lookahead>=3;){let t=i.strstart,e=i.lookahead-2;do{i.ins_h=ft(i,i.ins_h,i.window[t+3-1]),i.prev[t&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=t,t++}while(--e);i.strstart=t,i.lookahead=2,pt(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=2,i.match_available=0,t.next_in=r,t.input=o,t.avail_in=s,i.wrap=n,q},deflateInfo:"pako deflate (from Nodeca project)"};const Dt=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var Tt=function(t){const e=Array.prototype.slice.call(arguments,1);for(;e.length;){const a=e.shift();if(a){if("object"!=typeof a)throw new TypeError(a+"must be non-object");for(const e in a)Dt(a,e)&&(t[e]=a[e])}}return t},Ot=t=>{let e=0;for(let a=0,i=t.length;a<i;a++)e+=t[a].length;const a=new Uint8Array(e);for(let e=0,i=0,n=t.length;e<n;e++){let n=t[e];a.set(n,i),i+=n.length}return a};let Ft=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){Ft=!1}const Lt=new Uint8Array(256);for(let t=0;t<256;t++)Lt[t]=t>=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;Lt[254]=Lt[254]=1;var Nt=t=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);let e,a,i,n,s,r=t.length,o=0;for(n=0;n<r;n++)a=t.charCodeAt(n),55296==(64512&a)&&n+1<r&&(i=t.charCodeAt(n+1),56320==(64512&i)&&(a=65536+(a-55296<<10)+(i-56320),n++)),o+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(o),s=0,n=0;s<o;n++)a=t.charCodeAt(n),55296==(64512&a)&&n+1<r&&(i=t.charCodeAt(n+1),56320==(64512&i)&&(a=65536+(a-55296<<10)+(i-56320),n++)),a<128?e[s++]=a:a<2048?(e[s++]=192|a>>>6,e[s++]=128|63&a):a<65536?(e[s++]=224|a>>>12,e[s++]=128|a>>>6&63,e[s++]=128|63&a):(e[s++]=240|a>>>18,e[s++]=128|a>>>12&63,e[s++]=128|a>>>6&63,e[s++]=128|63&a);return e},It=(t,e)=>{const a=e||t.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(t.subarray(0,e));let i,n;const s=new Array(2*a);for(n=0,i=0;i<a;){let e=t[i++];if(e<128){s[n++]=e;continue}let r=Lt[e];if(r>4)s[n++]=65533,i+=r-1;else{for(e&=2===r?31:3===r?15:7;r>1&&i<a;)e=e<<6|63&t[i++],r--;r>1?s[n++]=65533:e<65536?s[n++]=e:(e-=65536,s[n++]=55296|e>>10&1023,s[n++]=56320|1023&e)}}return((t,e)=>{if(e<65534&&t.subarray&&Ft)return String.fromCharCode.apply(null,t.length===e?t:t.subarray(0,e));let a="";for(let i=0;i<e;i++)a+=String.fromCharCode(t[i]);return a})(s,n)},Bt=(t,e)=>{(e=e||t.length)>t.length&&(e=t.length);let a=e-1;for(;a>=0&&128==(192&t[a]);)a--;return a<0||0===a?e:a+Lt[t[a]]>e?a:e};var Ct=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0};const Ht=Object.prototype.toString,{Z_NO_FLUSH:Mt,Z_SYNC_FLUSH:jt,Z_FULL_FLUSH:Kt,Z_FINISH:Pt,Z_OK:Yt,Z_STREAM_END:Gt,Z_DEFAULT_COMPRESSION:Xt,Z_DEFAULT_STRATEGY:Wt,Z_DEFLATED:qt}=B;function Jt(t){this.options=Tt({level:Xt,method:qt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Wt},t||{});let e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;let a=St.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(a!==Yt)throw new Error(I[a]);if(e.header&&St.deflateSetHeader(this.strm,e.header),e.dictionary){let t;if(t="string"==typeof e.dictionary?Nt(e.dictionary):"[object ArrayBuffer]"===Ht.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,a=St.deflateSetDictionary(this.strm,t),a!==Yt)throw new Error(I[a]);this._dict_set=!0}}function Qt(t,e){const a=new Jt(e);if(a.push(t,!0),a.err)throw a.msg||I[a.err];return a.result}Jt.prototype.push=function(t,e){const a=this.strm,i=this.options.chunkSize;let n,s;if(this.ended)return!1;for(s=e===~~e?e:!0===e?Pt:Mt,"string"==typeof t?a.input=Nt(t):"[object ArrayBuffer]"===Ht.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;)if(0===a.avail_out&&(a.output=new Uint8Array(i),a.next_out=0,a.avail_out=i),(s===jt||s===Kt)&&a.avail_out<=6)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else{if(n=St.deflate(a,s),n===Gt)return a.next_out>0&&this.onData(a.output.subarray(0,a.next_out)),n=St.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Yt;if(0!==a.avail_out){if(s>0&&a.next_out>0)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else if(0===a.avail_in)break}else this.onData(a.output)}return!0},Jt.prototype.onData=function(t){this.chunks.push(t)},Jt.prototype.onEnd=function(t){t===Yt&&(this.result=Ot(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var Vt={Deflate:Jt,deflate:Qt,deflateRaw:function(t,e){return(e=e||{}).raw=!0,Qt(t,e)},gzip:function(t,e){return(e=e||{}).gzip=!0,Qt(t,e)},constants:B};var $t=function(t,e){let a,i,n,s,r,o,l,h,d,_,f,c,u,w,m,b,g,p,k,v,y,x,z,A;const E=t.state;a=t.next_in,z=t.input,i=a+(t.avail_in-5),n=t.next_out,A=t.output,s=n-(e-t.avail_out),r=n+(t.avail_out-257),o=E.dmax,l=E.wsize,h=E.whave,d=E.wnext,_=E.window,f=E.hold,c=E.bits,u=E.lencode,w=E.distcode,m=(1<<E.lenbits)-1,b=(1<<E.distbits)-1;t:do{c<15&&(f+=z[a++]<<c,c+=8,f+=z[a++]<<c,c+=8),g=u[f&m];e:for(;;){if(p=g>>>24,f>>>=p,c-=p,p=g>>>16&255,0===p)A[n++]=65535&g;else{if(!(16&p)){if(0==(64&p)){g=u[(65535&g)+(f&(1<<p)-1)];continue e}if(32&p){E.mode=16191;break t}t.msg="invalid literal/length code",E.mode=16209;break t}k=65535&g,p&=15,p&&(c<p&&(f+=z[a++]<<c,c+=8),k+=f&(1<<p)-1,f>>>=p,c-=p),c<15&&(f+=z[a++]<<c,c+=8,f+=z[a++]<<c,c+=8),g=w[f&b];a:for(;;){if(p=g>>>24,f>>>=p,c-=p,p=g>>>16&255,!(16&p)){if(0==(64&p)){g=w[(65535&g)+(f&(1<<p)-1)];continue a}t.msg="invalid distance code",E.mode=16209;break t}if(v=65535&g,p&=15,c<p&&(f+=z[a++]<<c,c+=8,c<p&&(f+=z[a++]<<c,c+=8)),v+=f&(1<<p)-1,v>o){t.msg="invalid distance too far back",E.mode=16209;break t}if(f>>>=p,c-=p,p=n-s,v>p){if(p=v-p,p>h&&E.sane){t.msg="invalid distance too far back",E.mode=16209;break t}if(y=0,x=_,0===d){if(y+=l-p,p<k){k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}}else if(d<p){if(y+=l+d-p,p-=d,p<k){k-=p;do{A[n++]=_[y++]}while(--p);if(y=0,d<k){p=d,k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}}}else if(y+=d-p,p<k){k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}for(;k>2;)A[n++]=x[y++],A[n++]=x[y++],A[n++]=x[y++],k-=3;k&&(A[n++]=x[y++],k>1&&(A[n++]=x[y++]))}else{y=n-v;do{A[n++]=A[y++],A[n++]=A[y++],A[n++]=A[y++],k-=3}while(k>2);k&&(A[n++]=A[y++],k>1&&(A[n++]=A[y++]))}break}}break}}while(a<i&&n<r);k=c>>3,a-=k,c-=k<<3,f&=(1<<c)-1,t.next_in=a,t.next_out=n,t.avail_in=a<i?i-a+5:5-(a-i),t.avail_out=n<r?r-n+257:257-(n-r),E.hold=f,E.bits=c};const te=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),ee=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),ae=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),ie=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);var ne=(t,e,a,i,n,s,r,o)=>{const l=o.bits;let h,d,_,f,c,u,w=0,m=0,b=0,g=0,p=0,k=0,v=0,y=0,x=0,z=0,A=null;const E=new Uint16Array(16),R=new Uint16Array(16);let Z,U,S,D=null;for(w=0;w<=15;w++)E[w]=0;for(m=0;m<i;m++)E[e[a+m]]++;for(p=l,g=15;g>=1&&0===E[g];g--);if(p>g&&(p=g),0===g)return n[s++]=20971520,n[s++]=20971520,o.bits=1,0;for(b=1;b<g&&0===E[b];b++);for(p<b&&(p=b),y=1,w=1;w<=15;w++)if(y<<=1,y-=E[w],y<0)return-1;if(y>0&&(0===t||1!==g))return-1;for(R[1]=0,w=1;w<15;w++)R[w+1]=R[w]+E[w];for(m=0;m<i;m++)0!==e[a+m]&&(r[R[e[a+m]]++]=m);if(0===t?(A=D=r,u=20):1===t?(A=te,D=ee,u=257):(A=ae,D=ie,u=0),z=0,m=0,w=b,c=s,k=p,v=0,_=-1,x=1<<p,f=x-1,1===t&&x>852||2===t&&x>592)return 1;for(;;){Z=w-v,r[m]+1<u?(U=0,S=r[m]):r[m]>=u?(U=D[r[m]-u],S=A[r[m]-u]):(U=96,S=0),h=1<<w-v,d=1<<k,b=d;do{d-=h,n[c+(z>>v)+d]=Z<<24|U<<16|S|0}while(0!==d);for(h=1<<w-1;z&h;)h>>=1;if(0!==h?(z&=h-1,z+=h):z=0,m++,0==--E[w]){if(w===g)break;w=e[a+r[m]]}if(w>p&&(z&f)!==_){for(0===v&&(v=p),c+=b,k=w-v,y=1<<k;k+v<g&&(y-=E[k+v],!(y<=0));)k++,y<<=1;if(x+=1<<k,1===t&&x>852||2===t&&x>592)return 1;_=z&f,n[_]=p<<24|k<<16|c-s|0}}return 0!==z&&(n[c+z]=w-v<<24|64<<16|0),o.bits=p,0};const{Z_FINISH:se,Z_BLOCK:re,Z_TREES:oe,Z_OK:le,Z_STREAM_END:he,Z_NEED_DICT:de,Z_STREAM_ERROR:_e,Z_DATA_ERROR:fe,Z_MEM_ERROR:ce,Z_BUF_ERROR:ue,Z_DEFLATED:we}=B,me=16209,be=t=>(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24);function ge(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const pe=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||e.mode<16180||e.mode>16211?1:0},ke=t=>{if(pe(t))return _e;const e=t.state;return t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=16180,e.last=0,e.havedict=0,e.flags=-1,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Int32Array(852),e.distcode=e.distdyn=new Int32Array(592),e.sane=1,e.back=-1,le},ve=t=>{if(pe(t))return _e;const e=t.state;return e.wsize=0,e.whave=0,e.wnext=0,ke(t)},ye=(t,e)=>{let a;if(pe(t))return _e;const i=t.state;return e<0?(a=0,e=-e):(a=5+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?_e:(null!==i.window&&i.wbits!==e&&(i.window=null),i.wrap=a,i.wbits=e,ve(t))},xe=(t,e)=>{if(!t)return _e;const a=new ge;t.state=a,a.strm=t,a.window=null,a.mode=16180;const i=ye(t,e);return i!==le&&(t.state=null),i};let ze,Ae,Ee=!0;const Re=t=>
vendor: 11,506 bytes, line 1
1{if(Ee){ze=new Int32Array(512),Ae=new Int32Array(32);let e=0;for(;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(ne(1,t.lens,0,288,ze,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;ne(2,t.lens,0,32,Ae,0,t.work,{bits:5}),Ee=!1}t.lencode=ze,t.lenbits=9,t.distcode=Ae,t.distbits=5},Ze=(t,e,a,i)=>{let n;const s=t.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new Uint8Array(s.wsize)),i>=s.wsize?(s.window.set(e.subarray(a-s.wsize,a),0),s.wnext=0,s.whave=s.wsize):(n=s.wsize-s.wnext,n>i&&(n=i),s.window.set(e.subarray(a-i,a-i+n),s.wnext),(i-=n)?(s.window.set(e.subarray(a-i,a),0),s.wnext=i,s.whave=s.wsize):(s.wnext+=n,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=n))),0};var Ue={inflateReset:ve,inflateReset2:ye,inflateResetKeep:ke,inflateInit:t=>xe(t,15),inflateInit2:xe,inflate:(t,e)=>{let a,i,n,s,r,o,l,h,d,_,f,c,u,w,m,b,g,p,k,v,y,x,z=0;const A=new Uint8Array(4);let E,R;const Z=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(pe(t)||!t.output||!t.input&&0!==t.avail_in)return _e;a=t.state,16191===a.mode&&(a.mode=16192),r=t.next_out,n=t.output,l=t.avail_out,s=t.next_in,i=t.input,o=t.avail_in,h=a.hold,d=a.bits,_=o,f=l,x=le;t:for(;;)switch(a.mode){case 16180:if(0===a.wrap){a.mode=16192;break}for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(2&a.wrap&&35615===h){0===a.wbits&&(a.wbits=15),a.check=0,A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0),h=0,d=0,a.mode=16181;break}if(a.head&&(a.head.done=!1),!(1&a.wrap)||(((255&h)<<8)+(h>>8))%31){t.msg="incorrect header check",a.mode=me;break}if((15&h)!==we){t.msg="unknown compression method",a.mode=me;break}if(h>>>=4,d-=4,y=8+(15&h),0===a.wbits&&(a.wbits=y),y>15||y>a.wbits){t.msg="invalid window size",a.mode=me;break}a.dmax=1<<a.wbits,a.flags=0,t.adler=a.check=1,a.mode=512&h?16189:16191,h=0,d=0;break;case 16181:for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(a.flags=h,(255&a.flags)!==we){t.msg="unknown compression method",a.mode=me;break}if(57344&a.flags){t.msg="unknown header flags set",a.mode=me;break}a.head&&(a.head.text=h>>8&1),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0,a.mode=16182;case 16182:for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.head&&(a.head.time=h),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,A[2]=h>>>16&255,A[3]=h>>>24&255,a.check=N(a.check,A,4,0)),h=0,d=0,a.mode=16183;case 16183:for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.head&&(a.head.xflags=255&h,a.head.os=h>>8),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0,a.mode=16184;case 16184:if(1024&a.flags){for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.length=h,a.head&&(a.head.extra_len=h),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0}else a.head&&(a.head.extra=null);a.mode=16185;case 16185:if(1024&a.flags&&(c=a.length,c>o&&(c=o),c&&(a.head&&(y=a.head.extra_len-a.length,a.head.extra||(a.head.extra=new Uint8Array(a.head.extra_len)),a.head.extra.set(i.subarray(s,s+c),y)),512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,a.length-=c),a.length))break t;a.length=0,a.mode=16186;case 16186:if(2048&a.flags){if(0===o)break t;c=0;do{y=i[s+c++],a.head&&y&&a.length<65536&&(a.head.name+=String.fromCharCode(y))}while(y&&c<o);if(512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,y)break t}else a.head&&(a.head.name=null);a.length=0,a.mode=16187;case 16187:if(4096&a.flags){if(0===o)break t;c=0;do{y=i[s+c++],a.head&&y&&a.length<65536&&(a.head.comment+=String.fromCharCode(y))}while(y&&c<o);if(512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,y)break t}else a.head&&(a.head.comment=null);a.mode=16188;case 16188:if(512&a.flags){for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(4&a.wrap&&h!==(65535&a.check)){t.msg="header crc mismatch",a.mode=me;break}h=0,d=0}a.head&&(a.head.hcrc=a.flags>>9&1,a.head.done=!0),t.adler=a.check=0,a.mode=16191;break;case 16189:for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}t.adler=a.check=be(h),h=0,d=0,a.mode=16190;case 16190:if(0===a.havedict)return t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,de;t.adler=a.check=1,a.mode=16191;case 16191:if(e===re||e===oe)break t;case 16192:if(a.last){h>>>=7&d,d-=7&d,a.mode=16206;break}for(;d<3;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}switch(a.last=1&h,h>>>=1,d-=1,3&h){case 0:a.mode=16193;break;case 1:if(Re(a),a.mode=16199,e===oe){h>>>=2,d-=2;break t}break;case 2:a.mode=16196;break;case 3:t.msg="invalid block type",a.mode=me}h>>>=2,d-=2;break;case 16193:for(h>>>=7&d,d-=7&d;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if((65535&h)!=(h>>>16^65535)){t.msg="invalid stored block lengths",a.mode=me;break}if(a.length=65535&h,h=0,d=0,a.mode=16194,e===oe)break t;case 16194:a.mode=16195;case 16195:if(c=a.length,c){if(c>o&&(c=o),c>l&&(c=l),0===c)break t;n.set(i.subarray(s,s+c),r),o-=c,s+=c,l-=c,r+=c,a.length-=c;break}a.mode=16191;break;case 16196:for(;d<14;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(a.nlen=257+(31&h),h>>>=5,d-=5,a.ndist=1+(31&h),h>>>=5,d-=5,a.ncode=4+(15&h),h>>>=4,d-=4,a.nlen>286||a.ndist>30){t.msg="too many length or distance symbols",a.mode=me;break}a.have=0,a.mode=16197;case 16197:for(;a.have<a.ncode;){for(;d<3;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.lens[Z[a.have++]]=7&h,h>>>=3,d-=3}for(;a.have<19;)a.lens[Z[a.have++]]=0;if(a.lencode=a.lendyn,a.lenbits=7,E={bits:a.lenbits},x=ne(0,a.lens,0,19,a.lencode,0,a.work,E),a.lenbits=E.bits,x){t.msg="invalid code lengths set",a.mode=me;break}a.have=0,a.mode=16198;case 16198:for(;a.have<a.nlen+a.ndist;){for(;z=a.lencode[h&(1<<a.lenbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(g<16)h>>>=m,d-=m,a.lens[a.have++]=g;else{if(16===g){for(R=m+2;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(h>>>=m,d-=m,0===a.have){t.msg="invalid bit length repeat",a.mode=me;break}y=a.lens[a.have-1],c=3+(3&h),h>>>=2,d-=2}else if(17===g){for(R=m+3;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=m,d-=m,y=0,c=3+(7&h),h>>>=3,d-=3}else{for(R=m+7;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=m,d-=m,y=0,c=11+(127&h),h>>>=7,d-=7}if(a.have+c>a.nlen+a.ndist){t.msg="invalid bit length repeat",a.mode=me;break}for(;c--;)a.lens[a.have++]=y}}if(a.mode===me)break;if(0===a.lens[256]){t.msg="invalid code -- missing end-of-block",a.mode=me;break}if(a.lenbits=9,E={bits:a.lenbits},x=ne(1,a.lens,0,a.nlen,a.lencode,0,a.work,E),a.lenbits=E.bits,x){t.msg="invalid literal/lengths set",a.mode=me;break}if(a.distbits=6,a.distcode=a.distdyn,E={bits:a.distbits},x=ne(2,a.lens,a.nlen,a.ndist,a.distcode,0,a.work,E),a.distbits=E.bits,x){t.msg="invalid distances set",a.mode=me;break}if(a.mode=16199,e===oe)break t;case 16199:a.mode=16200;case 16200:if(o>=6&&l>=258){t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,$t(t,f),r=t.next_out,n=t.output,l=t.avail_out,s=t.next_in,i=t.input,o=t.avail_in,h=a.hold,d=a.bits,16191===a.mode&&(a.back=-1);break}for(a.back=0;z=a.lencode[h&(1<<a.lenbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(b&&0==(240&b)){for(p=m,k=b,v=g;z=a.lencode[v+((h&(1<<p+k)-1)>>p)],m=z>>>24,b=z>>>16&255,g=65535&z,!(p+m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,a.length=g,0===b){a.mode=16205;break}if(32&b){a.back=-1,a.mode=16191;break}if(64&b){t.msg="invalid literal/length code",a.mode=me;break}a.extra=15&b,a.mode=16201;case 16201:if(a.extra){for(R=a.extra;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.length+=h&(1<<a.extra)-1,h>>>=a.extra,d-=a.extra,a.back+=a.extra}a.was=a.length,a.mode=16202;case 16202:for(;z=a.distcode[h&(1<<a.distbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(0==(240&b)){for(p=m,k=b,v=g;z=a.distcode[v+((h&(1<<p+k)-1)>>p)],m=z>>>24,b=z>>>16&255,g=65535&z,!(p+m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,64&b){t.msg="invalid distance code",a.mode=me;break}a.offset=g,a.extra=15&b,a.mode=16203;case 16203:if(a.extra){for(R=a.extra;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.offset+=h&(1<<a.extra)-1,h>>>=a.extra,d-=a.extra,a.back+=a.extra}if(a.offset>a.dmax){t.msg="invalid distance too far back",a.mode=me;break}a.mode=16204;case 16204:if(0===l)break t;if(c=f-l,a.offset>c){if(c=a.offset-c,c>a.whave&&a.sane){t.msg="invalid distance too far back",a.mode=me;break}c>a.wnext?(c-=a.wnext,u=a.wsize-c):u=a.wnext-c,c>a.length&&(c=a.length),w=a.window}else w=n,u=r-a.offset,c=a.length;c>l&&(c=l),l-=c,a.length-=c;do{n[r++]=w[u++]}while(--c);0===a.length&&(a.mode=16200);break;case 16205:if(0===l)break t;n[r++]=a.length,l--,a.mode=16200;break;case 16206:if(a.wrap){for(;d<32;){if(0===o)break t;o--,h|=i[s++]<<d,d+=8}if(f-=l,t.total_out+=f,a.total+=f,4&a.wrap&&f&&(t.adler=a.check=a.flags?N(a.check,n,f,r-f):F(a.check,n,f,r-f)),f=l,4&a.wrap&&(a.flags?h:be(h))!==a.check){t.msg="incorrect data check",a.mode=me;break}h=0,d=0}a.mode=16207;case 16207:if(a.wrap&&a.flags){for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(4&a.wrap&&h!==(4294967295&a.total)){t.msg="incorrect length check",a.mode=me;break}h=0,d=0}a.mode=16208;case 16208:x=he;break t;case me:x=fe;break t;case 16210:return ce;default:return _e}return t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,(a.wsize||f!==t.avail_out&&a.mode<me&&(a.mode<16206||e!==se))&&Ze(t,t.output,t.next_out,f-t.avail_out),_-=t.avail_in,f-=t.avail_out,t.total_in+=_,t.total_out+=f,a.total+=f,4&a.wrap&&f&&(t.adler=a.check=a.flags?N(a.check,n,f,t.next_out-f):F(a.check,n,f,t.next_out-f)),t.data_type=a.bits+(a.last?64:0)+(16191===a.mode?128:0)+(16199===a.mode||16194===a.mode?256:0),(0===_&&0===f||e===se)&&x===le&&(x=ue),x},inflateEnd:t=>{if(pe(t))return _e;let e=t.state;return e.window&&(e.window=null),t.state=null,le},inflateGetHeader:(t,e)=>{if(pe(t))return _e;const a=t.state;return 0==(2&a.wrap)?_e:(a.head=e,e.done=!1,le)},inflateSetDictionary:(t,e)=>{const a=e.length;let i,n,s;return pe(t)?_e:(i=t.state,0!==i.wrap&&16190!==i.mode?_e:16190===i.mode&&(n=1,n=F(n,e,a,0),n!==i.check)?fe:(s=Ze(t,e,a,a),s?(i.mode=16210,ce):(i.havedict=1,le)))},inflateInfo:"pako inflate (from Nodeca project)"};var Se=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};const De=Object.prototype.toString,{Z_NO_FLUSH:Te,Z_FINISH:Oe,Z_OK:Fe,Z_STREAM_END:Le,Z_NEED_DICT:Ne,Z_STREAM_ERROR:Ie,Z_DATA_ERROR:Be,Z_MEM_ERROR:Ce}=B;function He(t){this.options=Tt({chunkSize:65536,windowBits:15,to:""},t||{});const e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;let a=Ue.inflateInit2(this.strm,e.windowBits);if(a!==Fe)throw new Error(I[a]);if(this.header=new Se,Ue.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=Nt(e.dictionary):"[object ArrayBuffer]"===De.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(a=Ue.inflateSetDictionary(this.strm,e.dictionary),a!==Fe)))throw new Error(I[a])}He.prototype.push=function(t,e){const a=this.strm,i=this.options.chunkSize,n=this.options.dictionary;let s,r,o;
1if(this.ended)return!1;for(r=e===~~e?e:!0===e?Oe:Te,"[object ArrayBuffer]"===De.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;){for(0===a.avail_out&&(a.output=new Uint8Array(i),a.next_out=0,a.avail_out=i),s=Ue.inflate(a,r),s===Ne&&n&&(s=Ue.inflateSetDictionary(a,n),s===Fe?s=Ue.inflate(a,r):s===Be&&(s=Ne));a.avail_in>0&&s===Le&&a.state.wrap>0&&0!==t[a.next_in];)Ue.inflateReset(a),s=Ue.inflate(a,r);switch(s){case Ie:case Be:case Ne:case Ce:return this.onEnd(s),this.ended=!0,!1}if(o=a.avail_out,a.next_out&&(0===a.avail_out||s===Le))if("string"===this.options.to){let t=Bt(a.output,a.next_out),e=a.next_out-t,n=It(a.output,t);a.next_out=e,a.avail_out=i-e,e&&a.output.set(a.output.subarray(t,t+e),0),this.onData(n)}else this.onData(a.output.length===a.next_out?a.output:a.output.subarray(0,a.next_out));if(s!==Fe||0!==o){if(s===Le)return s=Ue.inflateEnd(this.strm),this.onEnd(s),this.ended=!0,!0;if(0===a.avail_in)break}}return!0},He.prototype.onData=function(t){this.chunks.push(t)},He.prototype.onEnd=function(t){t===Fe&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Ot(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};const{Deflate:Me,deflate:je,deflateRaw:Ke,gzip:Pe}=Vt;var Ye=Me,Ge=je,Xe=B;const We=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const e=this._hasEvents?",":"";this.deflate.push(e+t,Xe.Z_SYNC_FLUSH),this._hasEvents=!0}finish(){if(this.deflate.push("]",Xe.Z_FINISH),this.deflate.err)throw this.deflate.err;const t=this.deflate.result;return this._init(),t}_init(){this._hasEvents=!1,this.deflate=new Ye,this.deflate.push("[",Xe.Z_NO_FLUSH)}},qe={clear:()=>{We.clear()},addEvent:t=>We.addEvent(t),finish:()=>We.finish(),compress:t=>function(t){return Ge(t)}(t)};addEventListener("message",(function(t){const e=t.data.method,a=t.data.id,i=t.data.arg;if(e in qe&&"function"==typeof qe[e])try{const t=qe[e](i);postMessage({id:a,method:e,success:!0,response:t})}catch(t){postMessage({id:a,method:e,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});']);return URL.createObjectURL(t)}();("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&w.c.log("[Replay] Using compression worker");var n=new Worker(e);return new Le(n)}catch(a){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&w.c.log("[Replay] Failed to create compression worker")}return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&w.c.log("[Replay] Using simple buffer"),new Ne}function je(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:+new Date;return null===t||void 0===e||e<0||0!==e&&t+e<=n}function Fe(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:+new Date;return je(t.started,G,n)||je(t.lastActivity,e,n)}function Be(t){if("sessionStorage"in U)try{U.sessionStorage.setItem(j,JSON.stringify(t))}catch(e){}}function Pe(t){return void 0!==t&&Math.random()<t}function Ze(t){var e=(new Date).getTime();return{id:t.id||Object(S.f)(),started:t.started||e,lastActivity:t.lastActivity||e,segmentId:t.segmentId||0,sampled:t.sampled}}function Ge(t){var e=t.sessionSampleRate,n=t.errorSampleRate,a=t.stickySession,r=void 0!==a&&a,i=Ze({sampled:function(t,e){return Pe(t)?"session":!!Pe(e)&&"error"}(e,n)});return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&w.c.log("[Replay] Creating new session: ".concat(i.id)),r&&Be(i),i}function Ye(t){var e=t.expiry,n=t.currentSession,a=t.stickySession,r=t.sessionSampleRate,i=t.errorSampleRate,s=n||a&&function(){if(!("sessionStorage"in U))return null;try{var t=U.sessionStorage.getItem(j);return t?Ze(JSON.parse(t)):null}catch(e){return null}}();if(s){if(!Fe(s,e))return{type:"saved",session:s};if("error"===s.sampled)return{type:"new",session:Ze({sampled:!1})};("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&w.c.log("[Replay] Session has expired")}return{type:"new",session:Ge({stickySession:a,sessionSampleRate:r,errorSampleRate:i})}}function We(t,e,n){return He.apply(this,arguments)}function He(){return(He=Object(c.default)(_.a.mark((function t(e,n,a){var r,i,s,o;return _.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.eventBuffer){t.next=2;break}return t.abrupt("return",null);case 2:if(!e.isPaused()){t.next=4;break}return t.abrupt("return",null);case 4:if(r=n.timestamp>9999999999,!((i=r?n.timestamp:1e3*n.timestamp)+P<(new Date).getTime())){t.next=8;break}return t.abrupt("return",null);
1case 8:return s=e.getContext().earliestEvent,e.session&&0===e.session.segmentId&&(!s||i<s)&&(e.getContext().earliestEvent=i),t.prev=10,t.next=13,e.eventBuffer.addEvent(n,a);case 13:return t.abrupt("return",t.sent);case 16:t.prev=16,t.t0=t.catch(10),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&w.c.error(t.t0),e.stop("addEvent"),(o=Object(v.b)().getClient())&&o.recordDroppedEvent("internal_sdk_error","replay");case 22:case"end":return t.stop()}}),t,null,[[10,16]])})))).apply(this,arguments)}function qe(t){return N({timestamp:(new Date).getTime()/1e3,type:"default"},t)}function Ve(t,e){"sentry.transaction"!==e.category&&("ui.click"===e.category?t.triggerUserActivity():t.checkAndHandleExpiredSession(),t.addUpdate((function(){return We(t,{type:st.Custom,timestamp:1e3*(e.timestamp||0),data:{tag:"breadcrumb",payload:e}}),"console"===e.category})))}var Xe=function(t){return function(e){if(t.isEnabled()){var n=function(t){var e,n;try{n=function(t){if(e=t.event,e.target)return t.event.target;var e;return t.event}(t),e=Object(x.c)(n)}catch(a){e="<unknown>"}if(0===e.length)return null;return qe({category:"ui.".concat(t.name),message:e,data:N({},n?{nodeId:Ce.mirror.getId(n)}:{})})}(e);n&&Ve(t,n)}}};function Je(t,e){return e.map((function(e){var n=e.type,a=e.start,r=e.end,i=e.name,s=e.data;return We(t,{type:st.Custom,timestamp:a,data:{tag:"performanceSpan",payload:{op:n,description:i,startTimestamp:a,endTimestamp:r,data:s}}})}))}function Ke(t,e){return("undefined"!==typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__||!t.getOptions()._experiments.traceInternals)&&function(t){var e=Object(v.b)().getClient(),n=e&&e.getDsn();return!!n&&t.includes(n.host)}(e)}function Qe(t){return function(e,n){if(e.type===F)return delete e.breadcrumbs,e;if(function(t,e){return!(t.type||!t.exception||!t.exception.values||!t.exception.values.length)&&(!(!e.originalException||!e.originalException.__rrweb__)||t.exception.values.some((function(t){return!!(t.stacktrace&&t.stacktrace.frames&&t.stacktrace.frames.length)&&t.stacktrace.frames.some((function(t){return t.filename&&t.filename.includes("/rrweb/src/")}))})))}(e,n)&&!t.getOptions()._experiments.captureExceptions)return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&w.c.log("[Replay] Ignoring error from rrweb internals",e),null;if(e.type&&"session"!==t.recordingMode||(e.tags=N(N({},e.tags),{},{replayId:t.getSessionId()})),"transaction"===e.type&&e.contexts&&e.contexts.trace&&e.contexts.trace.trace_id)return t.getContext().traceIds.add(e.contexts.trace.trace_id),e;if(e.type||t.getContext().errorIds.add(e.event_id),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&t.getOptions()._experiments.traceInternals){var a=function(t){return N({type:"Unknown",value:"n/a"},t.exception&&t.exception.values&&t.exception.values[0])}(e);!function(t){var e=t.category,n=t.level,a=t.message,r=Object(o.a)(t,I);Object(y.a)(N({category:e||"console",level:n||"debug",message:"[debug]: ".concat(a)},r))}({message:"Tagging event (".concat(e.event_id,") - ").concat(e.message," - ").concat(a.type,": ").concat(a.value)})}return"error"===t.recordingMode&&e.exception&&e.message!==B&&setTimeout(Object(c.default)(_.a.mark((function e(){return _.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.flushImmediate();case 2:t.stopRecording()&&(t.recordingMode="session",t.startRecording());case 3:case"end":return e.stop()}}),e)})))),e}}function $e(t){return function(e){if(t.isEnabled()){var n=function(t){var e=t.from,n=t.to,a=(new Date).getTime()/1e3;return{type:"navigation.push",start:a,end:a,name:n,data:{previous:e}}}(e);null!==n&&(t.getContext().urls.push(n.name),t.triggerUserActivity(),t.addUpdate((function(){return Je(t,[n]),!1})))}}}var tn=null,en=function(t){return function(e){if(t.isEnabled()){var n=function(t){var e=t.getLastBreadcrumb&&t.getLastBreadcrumb();if(tn===e||!e)return null;if(tn=e,e.category&&(["fetch","xhr","sentry.event","sentry.transaction"].includes(e.category)||e.category.startsWith("ui.")))return null;return qe(e)}(e);n&&Ve(t,n)}}};function nn(t){var e=Object(v.b)().getScope();e&&e.addScopeListener(en(t)),Object(E.a)("dom",Xe(t)),Object(E.a)("fetch",function(t){return function(e){if(t.isEnabled()){var n=function(t){if(!t.endTimestamp)return null;var e=t.startTimestamp,n=t.endTimestamp,a=t.fetchData,r=t.response;return{type:"resource.fetch",start:e/1e3,end:n/1e3,name:a.url,data:{method:a.method,statusCode:r.status}}}(e);null!==n&&(Ke(t,n.name)||t.addUpdate((function(){return Je(t,[n]),!0})))}}}(t)),Object(E.a)("xhr",function(t){return function(e){if(t.isEnabled()){var n=function(t){if(t.xhr.__sentry_own_request__)return null;if(t.startTimestamp&&(t.xhr.__sentry_xhr__=t.xhr.__sentry_xhr__||{},t.xhr.__sentry_xhr__.startTimestamp=t.startTimestamp),!t.endTimestamp)return null;var e=t.xhr.__sentry_xhr__||{},n=e.method,a=e.url,r=e.status_code;return void 0===a?null:{type:"resource.xhr",name:a,start:(t.xhr.__sentry_xhr__?t.xhr.__sentry_xhr__.startTimestamp||0:t.endTimestamp)/1e3,end:t.endTimestamp/1e3,data:{method:n,statusCode:r}}}(e);null!==n&&(Ke(t,n.name)||t.addUpdate((function(){return Je(t,[n]),!0})))}}}(t)),Object(E.a)("history",$e(t)),Object(g.b)(Qe(t))}function an(t){return rn.apply(this,arguments)}function rn(){return(rn=Object(c.default)(_.a.mark((function t(e){return _.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.abrupt("return",Promise.all(Je(e,[sn(U.performance.memory)])));case 4:return t.prev=4,t.t0=t.catch(0),t.abrupt("return",[]);case 7:case"end":return t.stop()}}),t,null,[[0,4]])})))).apply(this,arguments)}function sn(t){var e=t.jsHeapSizeLimit,n=t.totalJSHeapSize,a=t.usedJSHeapSize,r=(new Date).getTime()/1e3;return{type:"memory",name:"memory",start:r,end:r,data:{memory:{jsHeapSizeLimit:e,totalJSHeapSize:n,usedJSHeapSize:a}}}}var on,ln=Object(l.a)({resource:function(t){var e=t.entryType,n=t.initiatorType,a=t.name,r=t.responseEnd,i=t.startTime,s=t.encodedBodySize,o=t.transferSize;if(["fetch","xmlhttprequest"].includes(n))return null;return{type:"".concat(e,".").concat(n),start:un(i),end:un(r),name:a,data:{size:o,encodedBodySize:s}}},paint:function(t){var e=t.duration,n=t.entryType,a=t.name,r=un(t.startTime);return{type:n,name:a,start:r,end:r+e}}
1,navigation:function(t){var e=t.entryType,n=t.name,a=t.duration,r=t.domComplete,i=t.startTime,s=t.transferSize,o=t.type;if(0===a)return null;return{type:"".concat(e,".").concat(o),start:un(i),end:un(r),name:n,data:{size:s,duration:a}}}},"largest-contentful-paint",(function(t){var e=t.entryType,n=t.startTime,a=t.size,r=0;if(U.performance){var i=U.performance.getEntriesByType("navigation")[0];r=i&&i.activationStart||0}var s=Math.max(n-r,0),o=un(r)+s/1e3;return{type:e,name:e,start:o,end:o,data:{value:s,size:a,nodeId:Ce.mirror.getId(t.element)}}}));function cn(t){return void 0===ln[t.entryType]?null:ln[t.entryType](t)}function un(t){return((T.a||U.performance.timeOrigin)+t)/1e3}function dn(t,e,n,a){return Object(R.c)(Object(R.d)(t,Object(R.h)(t),a,n),[[{type:"replay_event"},t],[{type:"replay_recording",length:"string"===typeof e?(new TextEncoder).encode(e).length:e.length},e]])}function hn(t){var e,n=t.recordingData,a=t.headers,r="".concat(JSON.stringify(a),"\n");if("string"===typeof n)e="".concat(r).concat(n);else{var i=(new TextEncoder).encode(r);(e=new Uint8Array(i.length+n.length)).set(i),e.set(n,i.length)}return e}function pn(t){return fn.apply(this,arguments)}function fn(){return(fn=Object(c.default)(_.a.mark((function t(e){var n,a,r,i,s,o,l,c,d,h;return _.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.client,a=e.scope,r=e.replayId,i=e.event,s="object"!==Object(u.a)(n._integrations)||null===n._integrations||Array.isArray(n._integrations)?void 0:Object.keys(n._integrations),t.next=4,Object(b.a)(n.getOptions(),i,{event_id:r,integrations:s},a);case 4:if(o=t.sent){t.next=7;break}return t.abrupt("return",null);case 7:return o.platform=o.platform||"javascript",l=n.getSdkMetadata&&n.getSdkMetadata(),c=l&&l.sdk||{},d=c.name,h=c.version,o.sdk=N(N({},o.sdk),{},{name:d||"sentry.javascript.unknown",version:h||"0.0.0"}),t.abrupt("return",o);case 12:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function mn(t){return _n.apply(this,arguments)}function _n(){return(_n=Object(c.default)(_.a.mark((function t(e){var n,a,r,i,s,o,l,c,u,d,h,p,f,m,y,g,b,k,S,x,E,T;return _.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.recordingData,a=e.replayId,r=e.segmentId,i=e.includeReplayStartTimestamp,s=e.eventContext,o=e.timestamp,l=e.session,c=e.options,u=hn({recordingData:n,headers:{segment_id:r}}),d=s.urls,h=s.errorIds,p=s.traceIds,f=s.initialTimestamp,m=Object(v.b)(),y=m.getClient(),g=m.getScope(),b=y&&y.getTransport(),k=y&&y.getDsn(),y&&g&&b&&k&&l.sampled){t.next=10;break}return t.abrupt("return");case 10:return S=N(N({type:F},i?{replay_start_timestamp:f/1e3}:{}),{},{timestamp:o/1e3,error_ids:h,trace_ids:p,urls:d,replay_id:a,segment_id:r,replay_type:l.sampled}),t.next=13,pn({scope:g,client:y,replayId:a,event:S});case 13:if(x=t.sent){t.next=18;break}return y.recordDroppedEvent("event_processor","replay",S),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&w.c.log("An event processor returned `null`, will not send event."),t.abrupt("return");case 18:return x.contexts=N(N({},x.contexts),{},{replay:N(N({},x.contexts&&x.contexts.replay),{},{session_sample_rate:c.sessionSampleRate,error_sample_rate:c.errorSampleRate})}),E=dn(x,u,k,y.getOptions().tunnel),t.prev=20,t.next=23,b.send(E);case 23:T=t.sent,t.next=29;break;case 26:throw t.prev=26,t.t0=t.catch(20),new Error(B);case 29:if(T){t.next=31;break}return t.abrupt("return",T);case 31:if("number"!==typeof T.statusCode||!(T.statusCode<200||T.statusCode>=300)){t.next=33;break}throw new vn(T.statusCode);case 33:return t.abrupt("return",T);case 34:case"end":return t.stop()}}),t,null,[[20,26]])})))).apply(this,arguments)}var vn=function(t){Object(a.a)(n,t);var e=A(n);function n(t){return Object(p.a)(this,n),e.call(this,"Transport returned status code ".concat(t))}return Object(f.a)(n)}(Object(s.a)(Error));function yn(t){return gn.apply(this,arguments)}function gn(){return(gn=Object(c.default)(_.a.mark((function t(e){var n,a,r,i=arguments;return _.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=i.length>1&&void 0!==i[1]?i[1]:{count:0,interval:Y},a=e.recordingData,r=e.options,a.length){t.next=4;break}return t.abrupt("return");case 4:return t.prev=4,t.next=7,mn(e);case 7:return t.abrupt("return",!0);case 10:if(t.prev=10,t.t0=t.catch(4),!(t.t0 instanceof vn)){t.next=14;break}throw t.t0;case 14:if(Object(y.f)("Replays",{_retryCount:n.count}),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r._experiments&&r._experiments.captureExceptions&&Object(y.c)(t.t0),!(n.count>=3)){t.next=18;break}throw new Error("".concat(B," - max retries exceeded"));case 18:return n.interval*=++n.count,t.next=21,new Promise((function(t,a){setTimeout(Object(c.default)(_.a.mark((function r(){return _.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,yn(e,n);case 3:t(!0),r.next=9;break;case 6:r.prev=6,r.t0=r.catch(0),a(r.t0);case 9:case"end":return r.stop()}}),r,null,[[0,6]])}))),n.interval)}));case 21:return t.abrupt("return",t.sent);case 22:case"end":return t.stop()}}),t,null,[[4,10]])})))).apply(this,arguments)}var bn=function(){function t(e){var n=this,a=e.options,r=e.recordingOptions;Object(p.a)(this,t),t.prototype.__init.call(this),t.prototype.__init2.call(this),t.prototype.__init3.call(this),t.prototype.__init4.call(this),t.prototype.__init5.call(this),t.prototype.__init6.call(this),t.prototype.__init7.call(this),t.prototype.__init8.call(this),t.prototype.__init9.call(this),t.prototype.__init10.call(this),t.prototype.__init11.call(this),t.prototype.__init12.call(this),t.prototype.__init13.call(this),t.prototype.__init14.call(this),t.prototype.__init15.call(this),t.prototype.__init16.call(this),this._recordingOptions=r,this._options=a,this._debouncedFlush=function(t,e,n){var a,r,i,s=n&&n.maxWait?Math.max(n.maxWait,e):0;function o(){return l(),a=t()}function l(){void 0!==r&&clearTimeout(r),void 0!==i&&clearTimeout(i),r=i=void 0}function c(){return r&&clearTimeout(r),r=setTimeout(o,e),s&&void 0===i&&(i=setTimeout(o,s)),a}return c.cancel=l,c.flush=function(){return void 0!==r||void 0!==i?o():a},c}((function(){return n._flush()}),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay})}return Object(f.a)(t,[{key:"__init",value:function(){this.eventBuffer=null}},{key:"__init2",value:function(){this.performanceEvents=[]}},{key:"__init3",value:function(){this.recordingMode="session"}},{key:"__init4",value:function(){this._performanceObserver=null}},{key:"__init5",value:function(){this._flushLock=null}},{key:"__init6",value:function(){this._lastActivity=(new Date).getTime()}},{key:"__init7",value:function(){this._isEnabled=!1}},{key:"__init8",value:function(){this._isPaused=!1}},{key:"__init9",value:function(){this._hasInitializedCoreListeners=!1}},{key:"__init10",value:function(){this._stopRecording=null}},{key:"__init11",value:function(){this._context={errorIds:new Set,traceIds:new Set,urls:[],earliestEvent:null,initialTimestamp:(new Date).getTime(),initialUrl:""}}},{key:"getContext",value:function(){return this._context}},{key:"isEnabled",value:function(){return this._isEnabled}},{key:"isPaused",value:function(){return this._isPaused}},{key:"getOptions",value:function(){return this._options}},{key:"start",value:function(){this._setInitialState(),this._loadAndCheckSession()&&(this.session?this.session.sampled&&("error"===this.session.sampled&&(this.recordingMode="error"),this._updateSessionActivity(),this.eventBuffer=Ue({useCompression:this._options.useCompression}),this._addListeners(),this._isEnabled=!0,this.startRecording()):this._handleException(new Error("No session found")))}},{key:"startRecording",value:function(){try{this._stopRecording=Ce(N(N(N({},this._recordingOptions),"error"===this.recordingMode&&{checkoutEveryNms:6e4}),{},{emit:this._handleRecordingEmit}))}catch(t){this._handleException(t)}}},{key:"stopRecording",value:function(){try{return!!this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0,!0)}catch(t){return this._handleException(t),!1}}},{key:"stop",value:function(t){if(this._isEnabled)try{if("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__){var e="[Replay] Stopping Replay".concat(t?" triggered by ".concat(t):"");(this.getOptions()._experiments.traceInternals?console.warn:w.c.log)(e)}this._isEnabled=!1,this._removeListeners(),this.stopRecording(),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,this._debouncedFlush.cancel()}catch(n){this._handleException(n)}}},{key:"pause",value:function(){this._isPaused=!0,this.stopRecording()}},{key:"resume",value:function(){this._loadAndCheckSession()&&(this._isPaused=!1,this.startRecording())}},{key:"addUpdate",value:function(t){var e=t();"error"!==this.recordingMode&&!0!==e&&this._debouncedFlush()}},{key:"triggerUserActivity",value:function(){if(this._updateUserActivity(),this._stopRecording)this.checkAndHandleExpiredSession(),this._updateSessionActivity();else{if(!this._loadAndCheckSession())return;this.resume()}}},{key:"flushImmediate",value:function(){return this._debouncedFlush(),this._debouncedFlush.flush()}},{key:"getSessionId",value:function(){return this.session&&this.session.id}},{key:"checkAndHandleExpiredSession",value:function(t){var e=this.getSessionId();if(this._lastActivity&&je(this._lastActivity,G))this.pause();else if(this._loadAndCheckSession(t))return e===this.getSessionId()||(this._triggerFullSnapshot(),!1)}},{key:"_handleException",value:function(t){("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&w.c.error("[Replay]",t),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&this._options._experiments&&this._options._experiments.captureExceptions&&Object(y.c)(t)}},{key:"_loadAndCheckSession",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:P,e=Ye({expiry:t,stickySession:Boolean(this._options.stickySession),currentSession:this.session,sessionSampleRate:this._options.sessionSampleRate,errorSampleRate:this._options.errorSampleRate}),n=e.type,a=e.session;"new"===n&&this._setInitialState();var r=this.getSessionId();return a.id!==r&&(a.previousSessionId=r),this.session=a,!!this.session.sampled||(this.stop("session unsampled"),!1)}},{key:"_setInitialState",value:function(){var t="".concat(U.location.pathname).concat(U.location.hash).concat(U.location.search),e="".concat(U.location.origin).concat(t);
1this.performanceEvents=[],this._clearContext(),this._context.initialUrl=e,this._context.initialTimestamp=(new Date).getTime(),this._context.urls.push(e)}},{key:"_addListeners",value:function(){try{U.document.addEventListener("visibilitychange",this._handleVisibilityChange),U.addEventListener("blur",this._handleWindowBlur),U.addEventListener("focus",this._handleWindowFocus),function(t){var e=Object(v.b)().getClient();if(e){var n=e.recordDroppedEvent.bind(e);e.recordDroppedEvent=function(e,a,r){return r&&!r.type&&r.event_id&&t.delete(r.event_id),n(e,a,r)},on=n}}(this._context.errorIds),this._hasInitializedCoreListeners||(nn(this),this._hasInitializedCoreListeners=!0)}catch(t){this._handleException(t)}"PerformanceObserver"in U&&(this._performanceObserver=De(this))}},{key:"_removeListeners",value:function(){try{U.document.removeEventListener("visibilitychange",this._handleVisibilityChange),U.removeEventListener("blur",this._handleWindowBlur),U.removeEventListener("focus",this._handleWindowFocus),function(){var t=Object(v.b)().getClient();t&&on&&(t.recordDroppedEvent=on)}(),this._performanceObserver&&(this._performanceObserver.disconnect(),this._performanceObserver=null)}catch(t){this._handleException(t)}}},{key:"__init12",value:function(){var t=this;this._handleRecordingEmit=function(e,n){t.checkAndHandleExpiredSession()?t.addUpdate((function(){return"error"===t.recordingMode&&2===e.type&&t._setInitialState(),We(t,e,n),2===e.type&&(t.session&&t.session.previousSessionId||("error"===t.recordingMode&&t.session&&t._context.earliestEvent&&(t.session.started=t._context.earliestEvent,t._maybeSaveSession()),"session"===t.recordingMode&&t.flushImmediate()),!0)})):("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&w.c.error("[Replay] Received replay event after session expired.")}}},{key:"__init13",value:function(){var t=this;this._handleVisibilityChange=function(){"visible"===U.document.visibilityState?t._doChangeToForegroundTasks():t._doChangeToBackgroundTasks()}}},{key:"__init14",value:function(){var t=this;this._handleWindowBlur=function(){var e=qe({category:"ui.blur"});t._doChangeToBackgroundTasks(e)}}},{key:"__init15",value:function(){var t=this;this._handleWindowFocus=function(){var e=qe({category:"ui.focus"});t._doChangeToForegroundTasks(e)}}},{key:"_doChangeToBackgroundTasks",value:function(t){if(this.session){var e=Fe(this.session,Z);t&&!e&&this._createCustomBreadcrumb(t),this._conditionalFlush()}}},{key:"_doChangeToForegroundTasks",value:function(t){this.session&&(this.checkAndHandleExpiredSession(Z)?t&&this._createCustomBreadcrumb(t):("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&w.c.log("[Replay] Document has become active, but session has expired"))}},{key:"_triggerFullSnapshot",value:function(){try{("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&w.c.log("[Replay] Taking full rrweb snapshot"),Ce.takeFullSnapshot(!0)}catch(t){this._handleException(t)}}},{key:"_updateUserActivity",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(new Date).getTime();this._lastActivity=t}},{key:"_updateSessionActivity",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(new Date).getTime();this.session&&(this.session.lastActivity=t,this._maybeSaveSession())}},{key:"_createCustomBreadcrumb",value:function(t){var e=this;this.addUpdate((function(){We(e,{type:st.Custom,timestamp:t.timestamp||0,data:{tag:"breadcrumb",payload:t}})}))}},{key:"_addPerformanceEntries",value:function(){var t=Object(h.a)(this.performanceEvents);return this.performanceEvents=[],Promise.all(Je(this,function(t){return t.map(cn).filter(Boolean)}(t)))}},{key:"_conditionalFlush",value:function(){"error"!==this.recordingMode&&this.flushImmediate()}},{key:"_clearContext",value:function(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[],this._context.earliestEvent=null}},{key:"_popEventContext",value:function(){this._context.earliestEvent&&this._context.earliestEvent<this._context.initialTimestamp&&(this._context.initialTimestamp=this._context.earliestEvent);
1var t={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds).filter(Boolean),traceIds:Array.from(this._context.traceIds).filter(Boolean),urls:this._context.urls};return this._clearContext(),t}},{key:"_runFlush",value:function(){var t=Object(c.default)(_.a.mark((function t(){var e,n,a,r,i;return _.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.session&&this.eventBuffer){t.next=3;break}return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&w.c.error("[Replay] No session or eventBuffer found to flush."),t.abrupt("return");case 3:return t.next=5,this._addPerformanceEntries();case 5:if(this.eventBuffer&&this.eventBuffer.hasEvents){t.next=7;break}return t.abrupt("return");case 7:return t.next=9,an(this);case 9:if(this.eventBuffer){t.next=11;break}return t.abrupt("return");case 11:return t.prev=11,t.next=14,this.eventBuffer.finish();case 14:return e=t.sent,n=this.session.id,a=this._popEventContext(),r=this.session.segmentId++,this._maybeSaveSession(),t.next=21,yn({replayId:n,recordingData:e,segmentId:r,includeReplayStartTimestamp:0===r,eventContext:a,session:this.session,options:this.getOptions(),timestamp:(new Date).getTime()});case 21:t.next=29;break;case 23:t.prev=23,t.t0=t.catch(11),this._handleException(t.t0),this.stop("sendReplay"),(i=Object(v.b)().getClient())&&i.recordDroppedEvent("send_error","replay");case 29:case"end":return t.stop()}}),t,this,[[11,23]])})));return function(){return t.apply(this,arguments)}}()},{key:"__init16",value:function(){var t=this;this._flush=Object(c.default)(_.a.mark((function e(){return _.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t._isEnabled){e.next=2;break}return e.abrupt("return");case 2:if(t.checkAndHandleExpiredSession()){e.next=5;break}return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&w.c.error("[Replay] Attempting to finish replay event after session expired."),e.abrupt("return");case 5:if(t.session){e.next=8;break}return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&w.c.error("[Replay] No session found to flush."),e.abrupt("return");case 8:if(t._debouncedFlush.cancel(),t._flushLock){e.next=15;break}return t._flushLock=t._runFlush(),e.next=13,t._flushLock;case 13:return t._flushLock=null,e.abrupt("return");case 15:return e.prev=15,e.next=18,t._flushLock;case 18:e.next=23;break;case 20:e.prev=20,e.t0=e.catch(15),("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&w.c.error(e.t0);case 23:return e.prev=23,t._debouncedFlush(),e.finish(23);case 26:case"end":return e.stop()}}),e,null,[[15,20,23,26]])})))}},{key:"_maybeSaveSession",value:function(){this.session&&this._options.stickySession&&Be(this.session)}}]),t}();function kn(t,e,n,a){var r="string"===typeof a?a.split(","):[],i=[].concat(Object(h.a)(t),Object(h.a)(r),Object(h.a)(e));return"undefined"!==typeof n&&("string"===typeof n&&i.push(".".concat(n)),console.warn("[Replay] You are using a deprecated configuration item for privacy. Read the documentation on how to use the new privacy configuration.")),i.join(",")}function wn(t){var e=t.mask,n=t.unmask,a=t.block,r=t.unblock,i=t.ignore,s=t.blockClass,o=t.blockSelector,l=t.maskTextClass,c=t.maskTextSelector,u=t.ignoreClass,d=kn(e,[".sentry-mask","[data-sentry-mask]"],l,c),h=kn(n,[".sentry-unmask","[data-sentry-unmask]"]),p={maskTextSelector:d,unmaskTextSelector:h,maskInputSelector:d,unmaskInputSelector:h,blockSelector:kn(a,[".sentry-block","[data-sentry-block]"].concat(['base[href="/"]']),s,o),unblockSelector:kn(r,[".sentry-unblock","[data-sentry-unblock]"]),ignoreSelector:kn(i,[".sentry-ignore","[data-sentry-ignore]"],u)};return s instanceof RegExp&&(p.blockClass=s),l instanceof RegExp&&(p.maskTextClass=l),p}function Sn(){return!Object(O.b)()||"undefined"!==typeof t&&"renderer"===t.type}var xn='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',En=!1,Tn=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.flushMinDelay,a=void 0===n?5e3:n,r=e.flushMaxDelay,i=void 0===r?5500:r,s=e.stickySession,o=void 0===s||s,l=e.useCompression,c=void 0===l||l,u=e._experiments,d=void 0===u?{}:u,h=e.sessionSampleRate,f=e.errorSampleRate,m=e.maskAllText,_=void 0===m||m,v=e.maskAllInputs,y=void 0===v||v,g=e.blockAllMedia,b=void 0===g||g,k=e.mask,w=void 0===k?[]:k,S=e.unmask,x=void 0===S?[]:S,E=e.block,T=void 0===E?[]:E,R=e.unblock,O=void 0===R?[]:R,C=e.ignore,I=void 0===C?[]:C,A=e.maskFn,D=e.blockClass,z=e.blockSelector,M=e.maskInputOptions,L=e.maskTextClass,U=e.maskTextSelector,j=e.ignoreClass;if(Object(p.a)(this,t),t.prototype.__init.call(this),this._recordingOptions=N(N({maskAllInputs:y,maskAllText:_,maskInputOptions:N(N({},M||{}),{},{password:!0}),maskTextFn:A,maskInputFn:A},wn({mask:w,unmask:x,block:T,unblock:O,ignore:I,blockClass:D,blockSelector:z,maskTextClass:L,maskTextSelector:U,ignoreClass:j})),{},{slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0}),this._initialOptions={flushMinDelay:a,flushMaxDelay:i,stickySession:o,sessionSampleRate:h,errorSampleRate:f,useCompression:c,blockAllMedia:b,_experiments:d},"number"===typeof h&&(console.warn("[Replay] You are passing `sessionSampleRate` to the Replay integration.\nThis option is deprecated and will be removed soon.\nInstead, configure `replaysSessionSampleRate` directly in the SDK init options, e.g.:\nSentry.init({ replaysSessionSampleRate: ".concat(h," })")),this._initialOptions.sessionSampleRate=h),"number"===typeof f&&(console.warn("[Replay] You are passing `errorSampleRate` to the Replay integration.\nThis option is deprecated and will be removed soon.\nInstead, configure `replaysOnErrorSampleRate` directly in the SDK init options, e.g.:\nSentry.init({ replaysOnErrorSampleRate: ".concat(f," })")),this._initialOptions.errorSampleRate=f),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?"".concat(this._recordingOptions.blockSelector,",").concat(xn):xn),this._isInitialized&&Sn())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}return Object(f.a)(t,[{key:"__init",value:function(){this.name=t.id}},{key:"_isInitialized",get:function(){return En},set:function(t){En=t}},{key:"setupOnce",value:function(){var t=this;Sn()&&(this._setup(),setTimeout((function(){return t.start()})))}},{key:"start",value:function(){this._replay&&this._replay.start()}},{key:"stop",value:function(){this._replay&&this._replay.stop()}},{key:"flush",value:function(){if(this._replay&&this._replay.isEnabled())return this._replay.flushImmediate()}},{key:"_setup",value:function(){var t=function(t){var e=Object(v.b)().getClient(),n=e&&e.getOptions(),a=N({sessionSampleRate:0,errorSampleRate:0},Object(C.c)(t));if(!n)return console.warn("SDK client is not available."),a;null==t.sessionSampleRate&&null==t.errorSampleRate&&null==n.replaysSessionSampleRate&&null==n.replaysOnErrorSampleRate&&console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.");"number"===typeof n.replaysSessionSampleRate&&(a.sessionSampleRate=n.replaysSessionSampleRate);"number"===typeof n.replaysOnErrorSampleRate&&(a.errorSampleRate=n.replaysOnErrorSampleRate);return a}(this._initialOptions);this._replay=new bn({options:t,recordingOptions:this._recordingOptions})}}],[{key:"__initStatic",value:function(){this.id="Replay"}}]),t}();Tn.__initStatic()}).call(this,n("8oxB"))}}]);

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.