vendor: 3,780 bytes, lines 1-2
1/*! For license information please see 9684.a4e56ede93b4f363f0d5.js.LICENSE.txt */ 2"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[9684],{9684:function(t,n,e){e(58070),e(93510),e(2432),e(95307),e(97107),e(11875),e(56569),e(60595),e(12266),e(73185),e(7678),e(81909),e(2380),e(68291),Object.defineProperty(n,"__esModule",{value:!0}),n.replayCanvasIntegration=n.ReplayCanvas=void 0,e(16411),e(5305),e(63252),e(62234),e(33873),e(18981),e(69375),e(68803),e(49694),e(32482),e(27067),e(56528),e(93277),e(82438),e(99819),e(57327),e(50020),e(68470),e(66963),e(80630),e(12353),e(10865),e(90451),e(37087),e(98376),e(46929),e(10568),e(11011),e(74313),e(34270),e(36887),e(57408),e(16422),e(82682),e(74881),e(90435),e(91885),e(10785),e(56805),e(68553),e(78357),e(82822),e(69631),e(24014),e(46196),e(50821),e(2587),e(31969),e(47750),e(32890),e(9616),e(1275),e(16240),e(3870),e(74653),e(55716),e(36554),e(77856),e(55852),e(68472),e(95387),e(41696),e(37404),e(95803),e(11067),e(33912),e(90382),e(85320),e(44304),e(12954),e(18867),e(47010),e(83165),e(24541),e(34397),e(61412),e(91883),e(70286);var r,a=e(18967),o=e(87897),i=["type"];function u(){var t,n,e="function"==typeof Symbol?Symbol:{},r=e.iterator||"@@iterator",a=e.toStringTag||"@@toStringTag";function o(e,r,a,o){var u=r&&r.prototype instanceof c?r:c,f=Object.create(u.prototype);return s(f,"_invoke",function(e,r,a){var o,u,s,c=0,f=a||[],l=!1,p={p:0,n:0,v:t,a:v,f:v.bind(t,4),d:function(n,e){return o=n,u=0,s=t,p.n=e,i}};function v(e,r){for(u=e,s=r,n=0;!l&&c&&!a&&n<f.length;n++){var a,o=f[n],v=p.p,y=o[2];e>3?(a=y===r)&&(s=o[(u=o[4])?5:(u=3,3)],o[4]=o[5]=t):o[0]<=v&&((a=e<2&&v<o[1])?(u=0,p.v=r,p.n=o[1]):v<y&&(a=e<3||o[0]>r||r>y)&&(o[4]=e,o[5]=r,p.n=y,u=0))}if(a||e>1)return i;throw l=!0,r}return function(a,f,y){if(c>1)throw TypeError("Generator is already running");for(l&&1===f&&v(f,y),u=f,s=y;(n=u<2?t:s)||!l;){o||(u?u<3?(u>1&&(p.n=-1),v(u,s)):p.n=s:p.v=s);try{if(c=2,o){if(u||(a="next"),n=o[a]){if(!(n=n.call(o,s)))throw TypeError("iterator result is not an object");if(!n.done)return n;s=n.value,u<2&&(u=0)}else 1===u&&(n=o.return)&&n.call(o),u<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),u=1);o=t}else if((n=(l=p.n<0)?s:e.call(r,p))!==i)break}catch(n){o=t,u=1,s=n}finally{c=1}}return{value:n,done:l}}}(e,a,o),!0),f}var i={};function c(){}function f(){}function l(){}n=Object.getPrototypeOf;var p=[][r]?n(n([][r]())):(s(n={},r,function(){return this}),n),v=l.prototype=c.prototype=Object.create(p);function y(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,s(t,a,"GeneratorFunction")),t.prototype=Object.create(v),t}return f.prototype=l,s(v,"constructor",l),s(l,"constructor",f),f.displayName="GeneratorFunction",s(l,a,"GeneratorFunction"),s(v),s(v,a,"Generator"),s(v,r,function(){return this}),s(v,"toString",function(){return"[object Generator]"}),(u=function(){return{w:o,m:y}})()}function s(t,n,e,r){var a=Object.defineProperty;try{a({},"",{})}catch(t){a=0}s=function(t,n,e,r){function o(n,e){s(t,n,function(t){return this._invoke(n,e,t)})}n?a?a(t,n,{value:e,enumerable:!r,configurable:!r,writable:!r}):t[n]=e:(o("next",0),o("throw",1),o("return",2))},s(t,n,e,r)}function c(t,n,e,r,a,o,i){try{var u=t[o](i),s=u.value}catch(t){return void e(t)}u.done?n(s):Promise.resolve(s).then(r,a)}function f(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),e.push.apply(e,r)}return e}function l(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?f(Object(e),!0).forEach(function(n){p(t,n,e[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):f(Object(e)).forEac
2h(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})}return t}function p(t,n,e){return(n=h(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function v(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,a,o,i,u=[],s=!0,c=!1;try{if(o=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;s=!1}else for(;!(s=(r=o.call(e)).done)&&(u.push(r.value),u.length!==n);s=!0);}catch(t){c=!0,a=t}finally{try{if(!s&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw a}}return u}}(t,n)||b(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,h(r.key),r)}}function h(t){var n=function(t,n){if("object"!=w(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,n||"default");if("object"!=w(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==w(n)?n:n+""}function d(t){return function(t){if(Array.isArray(t))return g(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||b(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(t,n){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=b(t))||n&&t&&"number"==typeof t.length){e&&(t=e);var r=0,a=function(){};return{s:a,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:a}}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 o,i=!0,u=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return i=t.done,t},e:function(t){u=!0,o=t},f:function(){try{i||null==e.return||e.return()}finally{if(u)throw o}}}}function b(t,n){if(t){if("string"==typeof t)return g(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?g(t,n):void 0}}function g(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function w(t){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w(t)}function O(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return t?t.nodeType!==t.ELEMENT_NODE||r>e?-1:n(t)?r:O(t.parentNode,n,e,r+1):-1}function C(t,n){return function(e){var r=e;if(null===r)return!1;try{if(t)if("string"==typeof t){if(r.matches(".".concat(t)))return!0}else if(function(t,n){for(var e=t.classList.length;e--;){var r=t.classList[e];if(n.test(r))return!0}return!1}(r,t))return!0;return!(!n||!r.matches(n))}catch(t){return!1}}}!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"}(r||(r={}));var S="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.",M={map:{},getId:function(){return console.error(S),-1},getNode:function(){return console.error(S),null},removeNodeFromMap:function(){console.error(S)},has:function(){return console.error(S),!1},reset:function(){console.error(S)}};function A(t,n,e,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:window,o=a.Object.getOwnPropertyDescriptor(t,n);return a.Object.defineProperty(t,n,r?e:{set:function(t){var n=this;I(function(){e.set.call(n,t)},0),o&&o.set&&o.set.call(this,t)}}),function(){return A(t,n,o||{},!0)}}function j(t,n,e){try{if(!(n in t))return function(){};var r=t[n],a=e(r);return"function"==typeof a&&(a.prototype=a.prototype||{},Object.defineProperties(a,{__rrweb_original__:{enumerable:!1,value:r}})),t[n]=a,function(){t[n]=r}}catch(t){return function(){}}}function L(t,n,e,r,a){if(!t)return!1;var o=function(t){return t?t.nodeType===t.ELEMENT_NODE?t:t.parentElement:null}(t);if(!o)return!1;var i=C(n,e);if(!a){var u=r&&o.matches(r);return i(o)&&!u}var s=O(o,i),c=-1;return!(s<0)&&(r&&(c=O(o,C(null,r))),s>-1&&c<0||s<c)}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(M=new Proxy(M,{get:function(t,n,e){return"map"===n&&console.error(S),Reflect.get(t,n,e)}})),/[1-9][0-9]{12}/.test(Date.now().toString());var k={};function x(t){var n=k[t];if(n)return n;var e=window.document,r=window[t];if(e&&"function"==typeof e.createElement)try{var a=e.createElement("iframe");a.hidden=!0,e.head.appendChild(a);var o=a.contentWindow;o&&o[t]&&(r=o[t]),e.head.removeChild(a)}catch(t){}return k[t]=r.bind(window)}function P(){return x("requestAnimationFrame").apply(void 0,arguments)}function I(){return x("setTimeout").apply(void 0,arguments)}var _,E=function(t){return t[t["2D"]=0]="2D",t[t.WebGL=1]="WebGL",t[t.WebGL2=2]="WebGL2",t}(E||{});function T(t){_=t}for(var D=function(t){if(!_)return t;return function(){try{return t.apply(void 0,arguments)}catch(t){if(_&&!0===_(t))return function(){};throw t}}},R="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
2+/",G="undefined"==typeof Uint8Array?[]:new Uint8Array(256),U=0;U<64;U++)G[R.charCodeAt(U)]=U;var W=new Map;var F=function(t,n,e){if(t&&(N(t,n)||"object"===w(t))){var r=function(t,n){var e=W.get(t);return e||(e=new Map,W.set(t,e)),e.has(n)||e.set(n,[]),e.get(n)}(e,t.constructor.name),a=r.indexOf(t);return-1===a&&(a=r.length,r.push(t)),a}};function B(t,n,e){if(t instanceof Array)return t.map(function(t){return B(t,n,e)});if(null===t)return t;if(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)return{rr_type:t.constructor.name,args:[Object.values(t)]};if(t instanceof ArrayBuffer){var r=t.constructor.name,a=function(t){var n,e=new Uint8Array(t),r=e.length,a="";for(n=0;n<r;n+=3)a+=R[e[n]>>2],a+=R[(3&e[n])<<4|e[n+1]>>4],a+=R[(15&e[n+1])<<2|e[n+2]>>6],a+=R[63&e[n+2]];return r%3==2?a=a.substring(0,a.length-1)+"=":r%3==1&&(a=a.substring(0,a.length-2)+"=="),a}(t);return{rr_type:r,base64:a}}if(t instanceof DataView)return{rr_type:t.constructor.name,args:[B(t.buffer,n,e),t.byteOffset,t.byteLength]};if(t instanceof HTMLImageElement)return{rr_type:t.constructor.name,src:t.src};if(t instanceof HTMLCanvasElement){return{rr_type:"HTMLImageElement",src:t.toDataURL()}}return t instanceof ImageData?{rr_type:t.constructor.name,args:[B(t.data,n,e),t.width,t.height]}:N(t,n)||"object"===w(t)?{rr_type:t.constructor.name,index:F(t,n,e)}:t}var z=function(t,n,e){return t.map(function(t){return B(t,n,e)})},N=function(t,n){var e=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(function(t){return"function"==typeof n[t]});return Boolean(e.find(function(e){return t instanceof n[e]}))};function H(t,n,e,r,a){var o=[];try{var i=j(t.HTMLCanvasElement.prototype,"getContext",function(t){return function(o){for(var i=arguments.length,u=new Array(i>1?i-1:0),s=1;s<i;s++)u[s-1]=arguments[s];if(!L(this,n,e,r,!0)){var c=function(t){return"experimental-webgl"===t?"webgl":t}(o);if("__context"in this||(this.__context=c),a&&["webgl","webgl2"].includes(c))if(u[0]&&"object"===w(u[0])){var f=u[0];f.preserveDrawingBuffer||(f.preserveDrawingBuffer=!0)}else u.splice(0,1,{preserveDrawingBuffer:!0})}return t.apply(this,[o].concat(u))}});o.push(i)}catch(t){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return function(){o.forEach(function(t){return t()})}}function q(t,n,e,r,a,o,i,u){var s,c=[],f=m(Object.getOwnPropertyNames(t));try{var l=function(){var i=s.value;if(["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(i))return 0;try{if("function"!=typeof t[i])return 0;var f=j(t,i,function(t){return function(){for(var s=arguments.length,c=new Array(s),f=0;f<s;f++)c[f]=arguments[f];var l=t.apply(this,c);if(F(l,u,this),"tagName"in this.canvas&&!L(this.canvas,r,a,o,!0)){var p=z(c,u,this),v={type:n,property:i,args:p};e(this.canvas,v)}return l}});c.push(f)}catch(r){var l=A(t,i,{set:function(t){e(this.canvas,{type:n,property:i,args:[t],setter:!0})}});c.push(l)}};for(f.s();!(s=f.n()).done;)l()}catch(t){f.e(t)}finally{f.f()}return c}var V=function(){return function(t,n,e){return n&&y(t.prototype,n),e&&y(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(n){var e=this;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=function(t,n){!(e.rafStamps.invokeId&&e.rafStamps.latestId!==e.rafStamps.invokeId)&&e.rafStamps.invokeId||(e.rafStamps.invokeId=e.rafStamps.latestId),e.pendingCanvasMutations.has(t)||e.pendingCanvasMutations.set(t,[]),e.pendingCanvasMutations.get(t).push(n)};var r=n.sampling,a=void 0===r?"all":r,o=n.win,i=n.blockClass,u=n.blockSelector,s=n.unblockSelector,c=n.maxCanvasSize,f=n.recordCanvas,l=n.dataURLOptions,p=n.errorHandler;this.mutationCb=n.mutationCb,this.mirror=n.mirror,this.options=n,p&&T(p),n.enableManualSnapshot||D(function(){f&&"all"===a&&e.initCanvasMutationObserver(o,i,u,s),f&&"number"==typeof a&&e.initCanvasFPSObserver(a,o,i,u,s,c,{dataURLOptions:l})})()},[{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:"initCanvasFPSObserver",value:function(t,n,e,r,a,o,i){var u=H(n,e,r,a,!0),s=this.takeSnapshot(!1,t,n,e,r,a,o,i.dataURLOptions);this.resetObservers=function(){u(),cancelAnimationFrame(s)}}},{key:"initCanvasMutationObserver",value:function(t,n,e,r){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();var a=H(t,n,e,r,!1),o=function(t,n,e,r,a){var o,i=[],u=m(Object.getOwnPropertyNames(n.CanvasRenderingContext2D.prototype));try{var s=function(){var u=o.value;try{if("function"!=typeof n.CanvasRenderingContext2D.prototype[u])return 1;var s=j(n.CanvasRenderingContext2D.prototype,u,function(o){return function(){for(var i=this,s=arguments.length,c=new Array(s),f=0;f<s;f++)c[f]=arguments[f];return L(this.canvas,e,r,a,!0)||I(function(){var e=z(c,n,i);t(i.canvas,{type:E["2D"],property:u,args:e})},0),o.apply(this,c)}});i.push(s)}catch(e){var c=A(n.CanvasRenderingContext2D.prototype,u,{set:function(n){t(this.canvas,{type:E["2D"],property:u,args:[n],setter:!0})}});i.push(c)}};for(u.s();!(o=u.n()).done;)s()}catch(t){u.e(t)}finally{u.f()}
2return function(){i.forEach(function(t){return t()})}}(this.processMutation.bind(this),t,n,e,r),i=function(t,n,e,r,a){var o=[];return o.push.apply(o,d(q(n.WebGLRenderingContext.prototype,E.WebGL,t,e,r,a,0,n))),void 0!==n.WebGL2RenderingContext&&o.push.apply(o,d(q(n.WebGL2RenderingContext.prototype,E.WebGL2,t,e,r,a,0,n))),function(){o.forEach(function(t){return t()})}}(this.processMutation.bind(this),t,n,e,r,this.mirror);this.resetObservers=function(){a(),o(),i()}}},{key:"snapshot",value:function(t){var n=this.options,e=this.takeSnapshot(!0,"all"===n.sampling?2:n.sampling||2,n.win,n.blockClass,n.blockSelector,n.unblockSelector,n.maxCanvasSize,n.dataURLOptions,t);this.resetObservers=function(){cancelAnimationFrame(e)}}},{key:"takeSnapshot",value:function(t,n,e,r,o,i,u,s,c){var f=this,l=new Map,p=new Worker(function(){var t=new Blob(['for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t="undefined"==typeof Uint8Array?[]:new Uint8Array(256),a=0;a<64;a++)t[e.charCodeAt(a)]=a;var n=function(t){var a,n=new Uint8Array(t),r=n.length,s="";for(a=0;a<r;a+=3)s+=e[n[a]>>2],s+=e[(3&n[a])<<4|n[a+1]>>4],s+=e[(15&n[a+1])<<2|n[a+2]>>6],s+=e[63&n[a+2]];return r%3==2?s=s.substring(0,s.length-1)+"=":r%3==1&&(s=s.substring(0,s.length-2)+"=="),s};const r=new Map,s=new Map;const i=self;i.onmessage=async function(e){if(!("OffscreenCanvas"in globalThis))return i.postMessage({id:e.data.id});{const{id:t,bitmap:a,width:o,height:f,maxCanvasSize:c,dataURLOptions:g}=e.data,u=async function(e,t,a){const r=e+"-"+t;if("OffscreenCanvas"in globalThis){if(s.has(r))return s.get(r);const i=new OffscreenCanvas(e,t);i.getContext("2d");const o=await i.convertToBlob(a),f=await o.arrayBuffer(),c=n(f);return s.set(r,c),c}return""}(o,f,g),[h,d]=function(e,t,a){if(!a)return[e,t];const[n,r]=a;if(e<=n&&t<=r)return[e,t];let s=e,i=t;return s>n&&(i=Math.floor(n*t/e),s=n),i>r&&(s=Math.floor(r*e/t),i=r),[s,i]}(o,f,c),l=new OffscreenCanvas(h,d),w=l.getContext("bitmaprenderer"),p=h===o&&d===f?a:await createImageBitmap(a,{resizeWidth:h,resizeHeight:d,resizeQuality:"low"});w.transferFromImageBitmap(p),a.close();const y=await l.convertToBlob(g),v=y.type,b=await y.arrayBuffer(),m=n(b);if(p.close(),!r.has(t)&&await u===m)return r.set(t,m),i.postMessage({id:t});if(r.get(t)===m)return i.postMessage({id:t});i.postMessage({id:t,type:v,base64:m,width:o,height:f}),r.set(t,m)}};']);return URL.createObjectURL(t)}());p.onmessage=function(t){var n=t.data,e=n.id;if(l.set(e,!1),"base64"in n){var r=n.base64,a=n.type,o=n.width,i=n.height;f.mutationCb({id:e,type:E["2D"],commands:[{property:"clearRect",args:[0,0,o,i]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:r}],type:a}]},0,0,o,i]}]})}};var v=1e3/n,y=0,h=function(n){y&&n-y<v||(y=n,function(t){if(t)return[t];var n=[];return e.document.querySelectorAll("canvas").forEach(function(t){L(t,r,o,i,!0)||n.push(t)}),n}(c).forEach(function(n){var e=f.mirror.getId(n);if(!l.get(e)&&n.width&&n.height){if(l.set(e,!0),!t&&["webgl","webgl2"].includes(n.__context)){var r=n.getContext(n.__context);!1===(0,a._optionalChain)([r,"optionalAccess",function(t){return t.getContextAttributes},"call",function(t){return t()},"optionalAccess",function(t){return t.preserveDrawingBuffer}])&&r.clear(r.COLOR_BUFFER_BIT)}createImageBitmap(n).then(function(t){p.postMessage({id:e,bitmap:t,width:n.width,height:n.height,dataURLOptions:s,maxCanvasSize:u},[t])}).catch(function(t){D(function(){throw t})()})}})),P(h)};return P(h)}},{key:"startPendingCanvasMutationFlusher",value:function(){var t=this;P(function(){return t.flushPendingCanvasMutations()})}},{key:"startRAFTimestamping",value:function(){var t=this,n=function(e){t.rafStamps.latestId=e,P(n)};P(n)}},{key:"flushPendingCanvasMutations",value:function(){var t=this;this.pendingCanvasMutations.forEach(function(n,e){var r=t.mirror.getId(e);t.flushPendingCanvasMutationFor(e,r)}),P(function(){return t.flushPendingCanvasMutations()})}},{key:"flushPendingCanvasMutationFor",value:function(t,n){if(!this.frozen&&!this.locked){var e=this.pendingCanvasMutations.get(t);if(e&&-1!==n){var r=e.map(function(t){t.type;var n=function(t,n){if(null==t)return{};var e,r,a=function(t,n){if(null==t)return{};var e={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(-1!==n.indexOf(r))continue;e[r]=t[r]}return e}(t,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)e=o[r],-1===n.indexOf(e)&&{}.propertyIsEnumerable.call(t,e)&&(a[e]=t[e])}return a}(t,i);return n}),a=e[0].type;this.mutationCb({id:n,type:a,commands:r}),this.pendingCanvasMutations.delete(t)}}}}])}(),Q={low:{sampling:{canvas:1},dataURLOptions:{type:"image/webp",quality:.25}},medium:{sampling:{canvas:2},dataURLOptions:{type:"image/webp",quality:.4}},high:{sampling:{canvas:4},dataURLOptions:{type:"image/webp",quality:.5}}},J="ReplayCanvas",K=1280,X=n.replayCanvasIntegration=(0,o.defineIntegration)(function(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=v(n.maxCanvasSize||[],2),r=e[0],a=e[1],o={quality:n.quality||"medium",enableManualSnapshot:n.enableManualSnapshot,maxCanvasSize:[r?Math.min(r,K):K,a?Math.min(a,K):K]},i=new Promise(function(n){return t=n});return{name:J,setupOnce:function(){},getOptions:function(){var n=o.enableManualSnapshot,e=o.maxCanvasSize;return l({enableManualSnapshot:n,recordCanvas:!0,getCanvasManager:function(r){var a=new V(l(l({},r),{},{enableManualSnapshot:n,maxCanvasSize:e,errorHandler:function(t){try{"object"===w(t)&&(t.__rrweb__=!0)}catch(t){}}}));return t(a),a}},Q[o.quality||"medium"]||Q.medium)},snapshot:function(t){return(n=u().m(function n(){return u().w(function(n){for(;;)switch(n.n){case 0:return n.n=1,i;case 1:n.v.snapshot(t);case 2:return n.a(2)}},n)}),function(){var t=this,e=arguments;return new Promise(function(r,a){var o=n.apply(t,e);function i(t){c(o,r,a,i,u,"next",t)}function u(t){c(o,r,a,i,u,"throw",t)}i(void 0)})})();var n}}});n.ReplayCanvas=(0,o.convertIntegrationFnToClass)(J,X)}}]); 3//# sourceMappingURL=9684.a4e56ede93b4f363f0d5.js.map
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.