@logrocket/react-native 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/android/build.gradle
CHANGED
|
@@ -14,7 +14,7 @@ def DEFAULT_COMPILE_SDK_VERSION = 28
|
|
|
14
14
|
def DEFAULT_BUILD_TOOLS_VERSION = '28.0.3'
|
|
15
15
|
def DEFAULT_MIN_SDK_VERSION = 21
|
|
16
16
|
def DEFAULT_TARGET_SDK_VERSION = 28
|
|
17
|
-
def SDK_VERSION = "1.4.
|
|
17
|
+
def SDK_VERSION = "1.4.1"
|
|
18
18
|
|
|
19
19
|
def PACKAGE_ROOT_DIR = rootProject.name == 'LogRocket SDK' ? "$rootDir/../packages/@logrocket/react-native" : "$rootDir/..";
|
|
20
20
|
|
package/dist/build.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.LogRocketReactNative=e():t.LogRocketReactNative=e()}(window,(function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=75)}([function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){var n=r(57),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(t.exports=r=function(t){return typeof t},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.default=t.exports,t.exports.__esModule=!0),r(e)}t.exports=r,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){var r=Array.isArray;t.exports=r},function(t,e,r){var n=r(155),o=r(160);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){var n=r(13),o=r(156),i=r(157),a=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):i(t)}},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,r){var n=r(92),o=r(93),i=r(39),a=r(94);t.exports=function(t){return n(t)||o(t)||i(t)||a()},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";(function(n){var o=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(r(3)),a=-2,u=Object.create(null),s=function(t,e){function r(r){if("function"!=typeof e[r])throw new Error("second argument to ARSON.registerType("+JSON.stringify(t)+", ...) must be an object with a "+r+" method")}r("deconstruct"),r("reconstruct"),u[t]=e},c=Object.prototype.toString;"function"==typeof n&&"function"==typeof n.isBuffer&&s("Buffer",{deconstruct:function(t){return n.isBuffer(t)&&[t.toString("base64"),"base64"]},reconstruct:function(t){return t&&n.from(t[0],t[1])}}),s("Date",{deconstruct:function(t){return"[object Date]"===c.call(t)&&[t.toJSON()]},reconstruct:function(t){return t&&new Date(t[0])}}),s("RegExp",{deconstruct:function(t){if("[object RegExp]"===c.call(t)){var e=[t.source],r="";return t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.global&&(r+="g"),r&&e.push(r),e}},reconstruct:function(t){return t&&new RegExp(t[0],t[1])}}),"function"==typeof Set&&"function"==typeof Array.from&&s("Set",{deconstruct:function(t){if("[object Set]"===c.call(t))return Array.from(t)},reconstruct:function(t){if(!t)return new Set;t.forEach(this.add,this)}}),"function"==typeof Map&&"function"==typeof Array.from&&s("Map",{deconstruct:function(t){if("[object Map]"===c.call(t))return Array.from(t)},reconstruct:function(t){if(!t)return new Map;t.forEach((function(t){this.set(t[0],t[1])}),this)}});var f={encode:function(t){return JSON.stringify(function(t){var e=[],r="function"==typeof Map&&new Map;function n(t){switch((0,i.default)(t)){case"undefined":return-1;case"number":if(isNaN(t))return-3;if(!isFinite(t))return t<0?-5:-4}var n;return r?void 0===(n=r.get(t))&&(n=e.push(t)-1,r.set(t,n)):(n=e.indexOf(t))<0&&(n=e.push(t)-1),n}function o(t){var e=t;if(t&&"object"===(0,i.default)(t)){var r=Object.keys(t);if(function(t){if(t&&"object"===(0,i.default)(t)){return(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__)===Object.prototype}return!1}(t))e={};else{if(!Array.isArray(t)){for(var o in u){var a=u[o].deconstruct(t);if(a){for(c=0;c<a.length;++c)a[c]=n(a[c]);return a.unshift(o),a}}return{}.toString.call(t)}e=Array(t.length);var s=t.length;if(s>r.length)for(var c=0;c<s;++c)e[c]=-2}r.forEach((function(r){e[r]=n(t[r])}))}return e}var a=n(t);if(a<0)return a;for(var s=[],c=0;c<e.length;++c)s[c]=o(e[c]);return s}(t))},decode:function(t){return function(t){if("number"==typeof t&&t<0)return n(t);var e=new Array(t.length);function r(t){return t in e?e[t]:e[t]=n(t)}function n(e){if(e<0){if(-1===e)return;if(e===a)return;if(-3===e)return NaN;if(-4===e)return 1/0;if(-5===e)return-1/0;throw new Error("invalid ARSON index: "+e)}var n=t[e];if(n&&"object"===(0,i.default)(n)){if(Array.isArray(n)){var c=n[0];if("string"==typeof c&&c in u){var f=u[c].reconstruct,l=f();return l&&o.push({reconstruct:f,empty:l,argIndexes:n.slice(1)}),t[e]=l||f(n.slice(1).map(r))}}s.push(n)}return n}var o=[],s=[];return t.forEach((function(t,e){r(e)})),o.forEach((function(t){t.args=t.argIndexes.map(r)})),s.forEach((function(e){Object.keys(e).forEach((function(n){var o=e[n];if("number"==typeof o)if(o<0){if(o===a)return void delete e[n];e[n]=r(o)}else e[n]=t[o]}))})),o.forEach((function(t){t.reconstruct.call(t.empty,t.args)})),t[0]}(JSON.parse(t))}};e.default=f,t.exports=e.default}).call(this,r(103).Buffer)},function(t,e,r){var n=r(145),o=r(146),i=r(147),a=r(148),u=r(149);function s(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}s.prototype.clear=n,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,t.exports=s},function(t,e,r){var n=r(55);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},function(t,e,r){var n=r(2).Symbol;t.exports=n},function(t,e,r){var n=r(5)(Object,"create");t.exports=n},function(t,e,r){var n=r(169);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},function(t,e,r){var n=r(7),o=r(8);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==n(t)}},function(t,e,r){var n=r(16);t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if(null==t)return{};var r={};return Object.keys(t).forEach((function(n){r[n]=e(t[n])})),r},t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r){var n=t[e];return t[e]=function(){for(var t,e=arguments.length,o=new Array(e),i=0;i<e;i++)o[i]=arguments[i];n&&(t=n.apply(this,o));return r.apply(this,o),t},function(){t[e]=n}},t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return t&&e&&t.substring(r,r+e.length)===e},t.exports=e.default},function(t,e,r){var n=r(3).default;function o(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,r=new WeakMap;return(o=function(t){return t?r:e})(t)}t.exports=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==n(t)&&"function"!=typeof t)return{default:t};var r=o(e);if(r&&r.has(t))return r.get(t);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&Object.prototype.hasOwnProperty.call(t,u)){var s=a?Object.getOwnPropertyDescriptor(t,u):null;s&&(s.get||s.set)?Object.defineProperty(i,u,s):i[u]=t[u]}return i.default=t,r&&r.set(t,i),i},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";(function(r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={collectWindowErrors:!0,debug:!1},o="undefined"!=typeof window?window:void 0!==r?r:"undefined"!=typeof self?self:{},i=[].slice,a="?",u=/^(?:Uncaught (?:exception: )?)?((?:Eval|Internal|Range|Reference|Syntax|Type|URI)Error): ?(.*)$/;function s(){return"undefined"==typeof document||void 0===document.location?"":document.location.href}n.report=function(){var t,e,r=[],c=null,f=null,l=null;function d(t,e){var o=null;if(!e||n.collectWindowErrors){for(var a in r)if(r.hasOwnProperty(a))try{r[a].apply(null,[t].concat(i.call(arguments,2)))}catch(t){o=t}if(o)throw o}}function p(e,r,o,i,c){if(l)n.computeStackTrace.augmentStackTraceWithInitialElement(l,r,o,e),h();else if(c)d(n.computeStackTrace(c),!0);else{var f,p={url:r,line:o,column:i},g=void 0,v=e;if("[object String]"==={}.toString.call(e))(f=e.match(u))&&(g=f[1],v=f[2]);p.func=a,d({name:g,message:v,url:s(),stack:[p]},!0)}return!!t&&t.apply(this,arguments)}function h(){var t=l,e=c;c=null,l=null,f=null,d.apply(null,[t,!1].concat(e))}function g(t,e){var r=i.call(arguments,1);if(l){if(f===t)return;h()}var o=n.computeStackTrace(t);if(l=o,f=t,c=r,setTimeout((function(){f===t&&h()}),o.incomplete?2e3:0),!1!==e)throw t}return g.subscribe=function(n){!function(){if(e)return;t=o.onerror,o.onerror=p,e=!0}(),r.push(n)},g.unsubscribe=function(t){for(var e=r.length-1;e>=0;--e)r[e]===t&&r.splice(e,1)},g.uninstall=function(){!function(){if(!e)return;o.onerror=t,e=!1,t=void 0}(),r=[]},g}(),n.computeStackTrace=function(){function t(t){if(void 0!==t.stack&&t.stack){for(var e,r,n=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|<anonymous>).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,o=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|resource|\[native).*?)(?::(\d+))?(?::(\d+))?\s*$/i,i=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,u=t.stack.split("\n"),c=[],f=(/^(.*) is undefined$/.exec(t.message),0),l=u.length;f<l;++f){if(e=n.exec(u[f])){var d=e[2]&&-1!==e[2].indexOf("native");r={url:d?null:e[2],func:e[1]||a,args:d?[e[2]]:[],line:e[3]?+e[3]:null,column:e[4]?+e[4]:null}}else if(e=i.exec(u[f]))r={url:e[2],func:e[1]||a,args:[],line:+e[3],column:e[4]?+e[4]:null};else{if(!(e=o.exec(u[f])))continue;r={url:e[3],func:e[1]||a,args:e[2]?e[2].split(","):[],line:e[4]?+e[4]:null,column:e[5]?+e[5]:null}}!r.func&&r.line&&(r.func=a),c.push(r)}return c.length?(c[0].column||void 0===t.columnNumber||(c[0].column=t.columnNumber+1),{name:t.name,message:t.message,url:s(),stack:c}):null}}function e(t,e,r,n){var o={url:e,line:r};if(o.url&&o.line){if(t.incomplete=!1,o.func||(o.func=a),t.stack.length>0&&t.stack[0].url===o.url){if(t.stack[0].line===o.line)return!1;if(!t.stack[0].line&&t.stack[0].func===o.func)return t.stack[0].line=o.line,!1}return t.stack.unshift(o),t.partial=!0,!0}return t.incomplete=!0,!1}function r(t,i){for(var u,c,f=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,l=[],d={},p=!1,h=r.caller;h&&!p;h=h.caller)if(h!==o&&h!==n.report){if(c={url:null,func:a,line:null,column:null},h.name?c.func=h.name:(u=f.exec(h.toString()))&&(c.func=u[1]),void 0===c.func)try{c.func=u.input.substring(0,u.input.indexOf("{"))}catch(t){}d[""+h]?p=!0:d[""+h]=!0,l.push(c)}i&&l.splice(0,i);var g={name:t.name,message:t.message,url:s(),stack:l};return e(g,t.sourceURL||t.fileName,t.line||t.lineNumber,t.message||t.description),g}function o(e,o){var i=null;o=null==o?0:+o;try{if(i=t(e))return i}catch(t){if(n.debug)throw t}try{if(i=r(e,o+1))return i}catch(t){if(n.debug)throw t}return{name:e.name,message:e.message,url:s()}}return o.augmentStackTraceWithInitialElement=e,o.computeStackTraceFromStackProp=t,o}();var c=n;e.default=c,t.exports=e.default}).call(this,r(6))},function(t,e,r){var n=r(5)(r(2),"Map");t.exports=n},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,r){var n=r(161),o=r(168),i=r(170),a=r(171),u=r(172);function s(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}s.prototype.clear=n,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,t.exports=s},function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,e,r){var n=r(4),o=r(16),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(n(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!o(t))||(a.test(t)||!i.test(t)||null!=e&&t in Object(e))}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MAX_CUSTOM_PROPS_PER_SESSION=e.MAX_PROPERTY_NAME_LENGTH=e.SUPPORTED_TYPES=e.RESERVED_PROP_MAPPINGS=e.RESERVED_PROPS=e.VALIDATION_ERRORS=void 0;e.VALIDATION_ERRORS={EMPTY_ARRAY:"EMPTY_ARRAY",MIXED_TYPE_ARRAY:"MIXED_TYPE_ARRAY",UNSUPPORTED_TYPE:"UNSUPPORTED_TYPE",RESERVED_TYPE_MISMATCH:"RESERVED_TYPE_MISMATCH",MAX_PROPS_REACHED:"MAX_PROPS_REACHED",NAME_TOO_LONG:"NAME_TOO_LONG",MALFORMED_VARIANT:"MALFORMED_VARIANT"};e.RESERVED_PROPS={revenue:"number"};e.RESERVED_PROP_MAPPINGS={revenue:{type:"double"}};e.SUPPORTED_TYPES=["boolean","number","string"];e.MAX_PROPERTY_NAME_LENGTH=100;e.MAX_CUSTOM_PROPS_PER_SESSION=500},function(t,e,r){var n=r(32).Context,o=r(72),i=function(t,e){this.left=t,this.right=e,this.pipe="diff"};(i.prototype=new n).setResult=function(t){if(this.options.cloneDiffValues&&"object"==typeof t){var e="function"==typeof this.options.cloneDiffValues?this.options.cloneDiffValues:o;"object"==typeof t[0]&&(t[0]=e(t[0])),"object"==typeof t[1]&&(t[1]=e(t[1]))}return n.prototype.setResult.apply(this,arguments)},e.DiffContext=i},function(t,e,r){var n=r(71).Pipe,o=function(){};o.prototype.setResult=function(t){return this.result=t,this.hasResult=!0,this},o.prototype.exit=function(){return this.exiting=!0,this},o.prototype.switchTo=function(t,e){return"string"==typeof t||t instanceof n?this.nextPipe=t:(this.next=t,e&&(this.nextPipe=e)),this},o.prototype.push=function(t,e){return t.parent=this,void 0!==e&&(t.childName=e),t.root=this.root||this,t.options=t.options||this.options,this.children?(this.children[this.children.length-1].next=t,this.children.push(t)):(this.children=[t],this.nextAfterChildren=this.next||null,this.next=t),t.next=this,this},e.Context=o},function(t,e,r){var n=r(32).Context,o=function(t,e){this.left=t,this.delta=e,this.pipe="patch"};o.prototype=new n,e.PatchContext=o},function(t,e,r){var n=r(32).Context,o=function(t){this.delta=t,this.pipe="reverse"};o.prototype=new n,e.ReverseContext=o},function(t,e){t.exports=require("react-native")},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){function r(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}t.exports=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){var n=r(38);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.setActive=function(t){s=t},e.default=function(t){var e=t.addRequest,r=t.addResponse,n=t.isIgnored,f=t.logger,l=t.shouldAugmentNPS,d=void 0===l||l,p=t.shouldParseXHRBlob,h=void 0!==p&&p,g=XMLHttpRequest,v=new WeakMap,y=!1,_="xhr-";return window._lrXMLHttpRequest=XMLHttpRequest,XMLHttpRequest=function(t,l){var p=new g(t,l);if(!s)return p;v.set(p,{xhrId:++c,headers:{}});var b=p.open;var m=p.send;d&&(p.open=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];try{var n=e[1];if(window.URL&&"function"==typeof window.URL&&0===n.search(u.WOOTRIC_RESPONSES_REGEX)){var o=new window.URL(f.recordingURL);o.searchParams.set("nps","wootric");var i=new window.URL(n),a=i.searchParams.get("response[text]"),s=a?"".concat(a,"\n\n"):"";i.searchParams.set("response[text]","".concat(s,"<").concat(o.href,"|View LogRocket session>")),e[1]=i.href}}catch(t){}return b.apply(this,e)},p.send=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];try{var n=v.get(p);if(window.URL&&"function"==typeof window.URL&&n&&n.url&&0===n.url.search(u.DELIGHTED_RESPONSES_REGEX)&&e.length&&-1!==e[0].indexOf(u.DELIGHTED_FEEDBACK_PREFIX)){var o=new window.URL(f.recordingURL);o.searchParams.set("nps","delighted");var i=encodeURIComponent(o.href),s=e[0].split("&").map((function(t){if((0,a.default)(t,u.DELIGHTED_FEEDBACK_PREFIX)){var e=t===u.DELIGHTED_FEEDBACK_PREFIX;return"".concat(t).concat(e?"":"\n\n","<").concat(i,"|View LogRocket session>")}return t})).join("&");e[0]=s}}catch(t){}return m.apply(this,e)}),(0,i.default)(p,"open",(function(t,e){if(!y){var r=v.get(p);r.method=t,r.url=e}})),(0,i.default)(p,"send",(function(t){if(!y){var r=v.get(p);if(r){var n={url:r.url,method:r.method&&r.method.toUpperCase(),headers:(0,o.default)(r.headers||{},(function(t){return t.join(", ")})),body:t};e("".concat(_).concat(r.xhrId),n)}}})),(0,i.default)(p,"setRequestHeader",(function(t,e){if(!y){var r=v.get(p);r&&(r.headers=r.headers||{},r.headers[t]=r.headers[t]||[],r.headers[t].push(e))}}));var E={readystatechange:function(){if(!y&&4===p.readyState){var t=v.get(p);if(!t)return;if(n("".concat(_).concat(t.xhrId)))return;var e,o=(p.getAllResponseHeaders()||"").split(/[\r\n]+/).reduce((function(t,e){var r=t,n=e.split(": ");if(n.length>0){var o=n.shift(),i=n.join(": ");t[o]?r[o]+=", ".concat(i):r[o]=i}return r}),{});try{switch(p.responseType){case"json":e=f._shouldCloneResponse?JSON.parse(JSON.stringify(p.response)):p.response;break;case"arraybuffer":case"blob":e=p.response;break;case"document":e=p.responseXML;break;case"text":case"":e=p.responseText;break;default:e=""}}catch(t){e="LogRocket: Error accessing response."}var i={url:t.url,status:p.status,headers:o,body:e,method:(t.method||"").toUpperCase()};if(h&&i.body instanceof Blob){var a=new FileReader;a.readAsText(i.body),a.onload=function(){try{i.body=JSON.parse(a.result)}catch(t){}r("".concat(_).concat(t.xhrId),i)}}else r("".concat(_).concat(t.xhrId),i)}}};return Object.keys(E).forEach((function(t){p.addEventListener(t,E[t])})),p},XMLHttpRequest.prototype=g.prototype,["UNSENT","OPENED","HEADERS_RECEIVED","LOADING","DONE"].forEach((function(t){XMLHttpRequest[t]=g[t]})),function(){y=!0,XMLHttpRequest=g}};var o=n(r(20)),i=n(r(21)),a=n(r(22)),u=r(41),s=!0;var c=0},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DELIGHTED_FEEDBACK_PREFIX=e.DELIGHTED_RESPONSES_REGEX=e.WOOTRIC_RESPONSES_REGEX=void 0;e.WOOTRIC_RESPONSES_REGEX=/^https:\/\/production.wootric.com\/responses/;e.DELIGHTED_RESPONSES_REGEX=/^https:\/\/web.delighted.com\/e\/[a-zA-Z-]*\/c/;e.DELIGHTED_FEEDBACK_PREFIX="comment="},function(t,e,r){"use strict";var n=r(23),o=r(0);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"registerExceptions",{enumerable:!0,get:function(){return i.default}}),e.Capture=void 0;var i=o(r(98)),a=n(r(43));e.Capture=a},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.captureMessage=function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={exceptionType:o?"CONSOLE":"MESSAGE",message:e,messageArgs:r,browserHref:window.location?window.location.href:""};s(i,n),t.addEvent("lr.core.Exception",(function(){return i}))},e.captureException=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=n||i.default.computeStackTrace(e),u={exceptionType:"WINDOW",errorType:o.name,message:o.message,browserHref:window.location?window.location.href:""};s(u,r);var c={_stackTrace:(0,a.default)(o)};t.addEvent("lr.core.Exception",(function(){return u}),c)};var o=n(r(3)),i=n(r(24)),a=n(r(102));function u(t){return/boolean|number|string/.test((0,o.default)(t))}function s(t,e){if(e){for(var r=0,n=["level","logger"];r<n.length;r++){var o=n[r],i=e[o];u(i)&&(t[o]=i.toString())}for(var a=0,s=["tags","extra"];a<s.length;a++){for(var c=s[a],f=e[c]||{},l={},d=0,p=Object.keys(f);d<p.length;d++){var h=p[d],g=f[h];u(g)&&(l[h.toString()]=g.toString())}t[c]=l}}}},function(t,e,r){"use strict";var n=r(23),o=r(0);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"enhanceFunc",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"shallowArsonify",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"shallowDearsonify",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"deepArsonify",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"deepDearsonify",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"addListener",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"protectFunc",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"findIndex",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"find",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"flatten",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"selectorMatches",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(e,"parseSelectorForMatch",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"parseSelectorForSearch",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"querySelectorWithShadowDom",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(e,"sendErrorTelemetry",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"sendTelemetry",{enumerable:!0,get:function(){return b.sendTelemetry}}),Object.defineProperty(e,"sanitizeValue",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(e,"selectorFromNodePath",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(e,"startsWith",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"endsWith",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(e,"contains",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(e,"uuid",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(e,"randomInt",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"getNodeSelector",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(e,"getGraphQLOperation",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(e,"isSessionEvent",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(e,"isActivityEvent",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"parseIntFromHex",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(e,"isRecordingSampled",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(e,"makeRecordingID",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(e,"setFromArray",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(e,"setToArray",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(e,"applyUrlSanitizer",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(e,"getMockDeveloperUser",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(e,"isDemoAppOrSandbox",{enumerable:!0,get:function(){return U.isDemoAppOrSandbox}}),Object.defineProperty(e,"isDemoOrg",{enumerable:!0,get:function(){return U.isDemoOrg}}),Object.defineProperty(e,"isSandboxOrg",{enumerable:!0,get:function(){return U.isSandboxOrg}}),Object.defineProperty(e,"isDemoApp",{enumerable:!0,get:function(){return U.isDemoApp}}),Object.defineProperty(e,"LOG_FILTER_TYPES",{enumerable:!0,get:function(){return F.LOG_FILTER_TYPES}}),Object.defineProperty(e,"LOG_TYPES",{enumerable:!0,get:function(){return F.LOG_TYPES}}),Object.defineProperty(e,"METRIC_TIMESERIES_TYPE",{enumerable:!0,get:function(){return Y.METRIC_TIMESERIES_TYPE}}),Object.defineProperty(e,"HEATMAP_FOR_URL_OPERATOR",{enumerable:!0,get:function(){return Y.HEATMAP_FOR_URL_OPERATOR}}),Object.defineProperty(e,"DEFAULT_HEATMAP_FOR_URL_OPERATOR",{enumerable:!0,get:function(){return Y.DEFAULT_HEATMAP_FOR_URL_OPERATOR}}),Object.defineProperty(e,"DEFAULT_INSIGHTS_HEATMAP_FOR_URL_OPERATOR",{enumerable:!0,get:function(){return Y.DEFAULT_INSIGHTS_HEATMAP_FOR_URL_OPERATOR}}),Object.defineProperty(e,"SORT_DIRECTION",{enumerable:!0,get:function(){return Y.SORT_DIRECTION}}),Object.defineProperty(e,"FEEDBACK_SORT_COLUMN",{enumerable:!0,get:function(){return Y.FEEDBACK_SORT_COLUMN}}),Object.defineProperty(e,"ISSUE_TYPE",{enumerable:!0,get:function(){return B.ISSUE_TYPE}}),Object.defineProperty(e,"ISSUE_GROUP_TYPE",{enumerable:!0,get:function(){return B.ISSUE_GROUP_TYPE}}),Object.defineProperty(e,"ES_ISSUE_TYPE_BASE_FILTER",{enumerable:!0,get:function(){return B.ES_ISSUE_TYPE_BASE_FILTER}}),Object.defineProperty(e,"ES_ISSUE_TYPES",{enumerable:!0,get:function(){return B.ES_ISSUE_TYPES}}),Object.defineProperty(e,"DYNAMIC_ES_ISSUE_TYPES",{enumerable:!0,get:function(){return B.DYNAMIC_ES_ISSUE_TYPES}}),Object.defineProperty(e,"HASHED_ES_ISSUE_TYPES",{enumerable:!0,get:function(){return B.HASHED_ES_ISSUE_TYPES}}),Object.defineProperty(e,"ES_ISSUE_TYPE_GROUP_FIELD",{enumerable:!0,get:function(){return B.ES_ISSUE_TYPE_GROUP_FIELD}}),Object.defineProperty(e,"findKeyFrames",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(e,"interpolate",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(e,"interpolateMobile",{enumerable:!0,get:function(){return H.interpolateMobile}}),Object.defineProperty(e,"removeOutdated",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(e,"APP_PROACTIVE_INSIGHTS",{enumerable:!0,get:function(){return q.APP_PROACTIVE_INSIGHTS}}),Object.defineProperty(e,"DEMO_ORG_SLUG",{enumerable:!0,get:function(){return q.DEMO_ORG_SLUG}}),Object.defineProperty(e,"DEMO_APP_SLUG",{enumerable:!0,get:function(){return q.DEMO_APP_SLUG}}),Object.defineProperty(e,"DEMO_APP_ID",{enumerable:!0,get:function(){return q.DEMO_APP_ID}}),Object.defineProperty(e,"SANDBOX_SOURCE_ORG_SLUG",{enumerable:!0,get:function(){return q.SANDBOX_SOURCE_ORG_SLUG}}),Object.defineProperty(e,"knownMetricTypes",{enumerable:!0,get:function(){return z.knownMetricTypes}}),Object.defineProperty(e,"DELIGHTED_RESPONSES_REGEX",{enumerable:!0,get:function(){return V.DELIGHTED_RESPONSES_REGEX}}),Object.defineProperty(e,"WOOTRIC_RESPONSES_REGEX",{enumerable:!0,get:function(){return V.WOOTRIC_RESPONSES_REGEX}}),Object.defineProperty(e,"SDK_TYPES",{enumerable:!0,get:function(){return W.SDK_TYPES}}),Object.defineProperty(e,"SDK_TYPE_TO_DISPLAY",{enumerable:!0,get:function(){return W.SDK_TYPE_TO_DISPLAY}}),Object.defineProperty(e,"SESSION_TYPES",{enumerable:!0,get:function(){return W.SESSION_TYPES}}),Object.defineProperty(e,"SESSION_TYPE_TO_DISPLAY",{enumerable:!0,get:function(){return W.SESSION_TYPE_TO_DISPLAY}}),Object.defineProperty(e,"parseQueryString",{enumerable:!0,get:function(){return K.parseQueryString}}),Object.defineProperty(e,"likeOperator",{enumerable:!0,get:function(){return $.likeOperator}}),Object.defineProperty(e,"scrollMapHistogramToPercent",{enumerable:!0,get:function(){return J.default}}),e.MobileConstants=void 0;var i=o(r(21)),a=o(r(108)),u=o(r(109)),s=o(r(110)),c=o(r(111)),f=o(r(112)),l=o(r(45)),d=o(r(48)),p=o(r(113)),h=o(r(114)),g=o(r(115)),v=o(r(116)),y=o(r(120)),_=o(r(121)),b=n(r(46)),m=o(r(122)),E=o(r(123)),O=o(r(22)),x=o(r(124)),w=o(r(125)),S=o(r(50)),P=o(r(126)),R=o(r(127)),A=o(r(128)),T=o(r(129)),j=o(r(130)),I=o(r(51)),M=o(r(131)),D=o(r(132)),L=o(r(133)),N=o(r(134)),k=o(r(135)),C=o(r(136)),U=r(137),F=r(138),Y=r(139),B=r(140),G=o(r(141)),H=n(r(224)),X=o(r(225)),q=r(52),z=r(226),V=r(41),W=r(227),K=r(228),$=r(229),J=o(r(230)),Q=n(r(231));e.MobileConstants=Q},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};return function(){var r;try{r=t.apply(void 0,arguments)}catch(t){if("undefined"!=typeof window&&window._lrdebug)throw t;var n=e(t);(0,i.default)("LogRocket",t),(0,o.default)(t,n)}return r}};var o=n(r(46)),i=n(r(47));t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.sendTelemetry=function(t,e){if("undefined"!=typeof window&&window._lrdebug)return void(0,i.default)(t);if(e&&e.extra&&e.extra.appID&&"function"==typeof e.extra.appID.indexOf&&0===e.extra.appID.indexOf("au2drp/")&&Math.random()>=.25)return;c(s({message:t},e))},e.default=function(t,e){try{var r,n,o=t.message;try{r=JSON.stringify(e).slice(0,1e3)}catch(t){try{r="Could not stringify payload: ".concat(Object.prototype.toString.call(e))}catch(t){}}try{n=a.default.computeStackTrace(t).stack.map((function(t){return{filename:t.url,lineno:t.line,colno:t.column,function:t.func||"?"}}))}catch(t){}c({message:o,extra:{stringPayload:r},exception:{values:[{type:t.type,value:o,stacktrace:{frames:n}}]}})}catch(t){(0,i.default)("Failed to send",t)}};var o=n(r(1)),i=n(r(47)),a=n(r(24));function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?u(Object(r),!0).forEach((function(e){(0,o.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function c(t){var e=window._lrXMLHttpRequest||XMLHttpRequest;try{var r=new e,n=t.message;r.open("POST","https://e.logrocket.com/api/3/store/?sentry_version=7&sentry_client=http%2F3.8.0&sentry_key=b64162b4187a4c5caae8a68a7e291793"),r.send(JSON.stringify(s({message:n,logger:"javascript",platform:"javascript",request:{headers:{"User-Agent":"undefined"!=typeof navigator&&navigator.userAgent},url:"undefined"!=typeof location&&location.href},release:"8c4ff7ac1c4dd0c94c842ef594edc23ad56ef65d",environment:"test"},t)))}catch(t){(0,i.default)("Failed to send",t)}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n="undefined"!=typeof console&&console.error&&console.error.bind?console.error.bind(console):function(){};e.default=n,t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){for(var r=0;r<t.length;r++)if(e(t[r]))return r;return-1},t.exports=e.default},function(t,e,r){var n=r(117),o=r(118),i=r(39),a=r(119);t.exports=function(t,e){return n(t)||o(t,e)||i(t,e)||a()},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function t(e){return e?(e^16*Math.random()>>e/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,t)},t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.replace(/[^0-9a-f]/g,"");return parseInt("0x".concat(e),16)||0},t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.APP_PROACTIVE_INSIGHTS=e.SANDBOX_SOURCE_ORG_SLUG=e.DEMO_APP_ID=e.DEMO_APP_SLUG=e.DEMO_ORG_SLUG=void 0;var o=n(r(1)),i="demo-kdz7k";e.DEMO_ORG_SLUG=i;var a="logrocket";e.DEMO_APP_SLUG=a;var u="".concat(i,"/").concat(a);e.DEMO_APP_ID=u;e.SANDBOX_SOURCE_ORG_SLUG="sandbox-source";var s=(0,o.default)({},u,[{tags:["Checkout","Lost Conversion"],date:"04/16/2021",frequency:100,impact:"100",description:'User attempting to checkout but "Buy Now" button is unresponsive',rootCause:'Cannot read "key" of undefined',issueLink:"https://demo.logrocket.com/demo-kdz7k/logrocket/issue/g49?from=issues&issueType=EXCEPTION&issueTypeOption=EXCEPTION",sessionLink:"https://demo.logrocket.com/demo-kdz7k/logrocket/s/4-9db65df9-57a5-4b94-b3d7-be87886b64ab/0?fromTab=latest",metricLink:"https://demo.logrocket.com/demo-kdz7k/logrocket/metrics/4/metric/25"},{tags:["New User","Lost Signup"],date:"04/16/2021",frequency:75,impact:"75",description:"User lands on blank page after login flow.",rootCause:"Network Failure 500 Get",issueLink:"https://demo.logrocket.com/demo-kdz7k/logrocket/issue/829?from=issues&issueType=NETWORK_ERROR&issueTypeOption=NETWORK_ERROR",sessionLink:"https://demo.logrocket.com/demo-kdz7k/logrocket/s/4-9db65df9-57a5-4b94-b3d7-be87886b64ab/0?fromTab=latest",metricLink:"https://demo.logrocket.com/demo-kdz7k/logrocket/metrics/4/metric/25"},{tags:["UX","Poor Experience"],date:"04/16/2021",frequency:50,impact:"50",description:"User attempts to edit amount in cart but sees red error message.",rootCause:"TypeError: S is undefined",issueLink:"https://demo.logrocket.com/demo-kdz7k/logrocket/issue/17?from=issues%2Fneeds-triage&issueOffset=10&issueType=EXCEPTION",sessionLink:"https://demo.logrocket.com/demo-kdz7k/logrocket/s/4-9db65df9-57a5-4b94-b3d7-be87886b64ab/0?fromTab=latest",metricLink:"https://demo.logrocket.com/demo-kdz7k/logrocket/metrics/4/metric/25"},{tags:["UX","Poor Experience"],date:"04/16/2021",frequency:25,impact:"25",description:'Trend: User noticed rage-clicking on "Add to cart". Sluggish responsiveness but eventually works.',rootCause:"unclear; noticed with Rage Click filter",issueLink:"",sessionLink:"https://demo.logrocket.com/demo-kdz7k/logrocket/s/4-9db65df9-57a5-4b94-b3d7-be87886b64ab/0?fromTab=latest",metricLink:"https://demo.logrocket.com/demo-kdz7k/logrocket/metrics/4/metric/25"},{tags:["UX","Poor Experience"],date:"04/16/2021",frequency:50,impact:"50",description:'Trend: Users seen struggling to click/accept the "we use cookies ... ok" button.',rootCause:"unclear; noticed with Rage Click filter",issueLink:"",sessionLink:"https://demo.logrocket.com/demo-kdz7k/logrocket/s/4-9db65df9-57a5-4b94-b3d7-be87886b64ab/0?fromTab=latest",metricLink:"https://demo.logrocket.com/demo-kdz7k/logrocket/metrics/4/metric/25"}]);e.APP_PROACTIVE_INSIGHTS=s},function(t,e,r){var n=r(142),o=r(223);t.exports=function(t,e,r){return o(t,e,n(r,2),!0)}},function(t,e,r){var n=r(11),o=r(150),i=r(151),a=r(152),u=r(153),s=r(154);function c(t){var e=this.__data__=new n(t);this.size=e.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=u,c.prototype.set=s,t.exports=c},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,r){var n=r(7),o=r(26);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,r){(function(e){var r="object"==typeof e&&e&&e.Object===Object&&e;t.exports=r}).call(this,r(6))},function(t,e){var r=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e,r){var n=r(173),o=r(8);t.exports=function t(e,r,i,a,u){return e===r||(null==e||null==r||!o(e)&&!o(r)?e!=e&&r!=r:n(e,r,i,a,t,u))}},function(t,e,r){var n=r(174),o=r(177),i=r(178);t.exports=function(t,e,r,a,u,s){var c=1&r,f=t.length,l=e.length;if(f!=l&&!(c&&l>f))return!1;var d=s.get(t),p=s.get(e);if(d&&p)return d==e&&p==t;var h=-1,g=!0,v=2&r?new n:void 0;for(s.set(t,e),s.set(e,t);++h<f;){var y=t[h],_=e[h];if(a)var b=c?a(_,y,h,e,t,s):a(y,_,h,t,e,s);if(void 0!==b){if(b)continue;g=!1;break}if(v){if(!o(e,(function(t,e){if(!i(v,e)&&(y===t||u(y,t,r,a,s)))return v.push(e)}))){g=!1;break}}else if(y!==_&&!u(y,_,r,a,s)){g=!1;break}}return s.delete(t),s.delete(e),g}},function(t,e,r){var n=r(190),o=r(197),i=r(201);t.exports=function(t){return i(t)?n(t):o(t)}},function(t,e,r){var n=r(192),o=r(8),i=Object.prototype,a=i.hasOwnProperty,u=i.propertyIsEnumerable,s=n(function(){return arguments}())?n:function(t){return o(t)&&a.call(t,"callee")&&!u.call(t,"callee")};t.exports=s},function(t,e,r){(function(t){var n=r(2),o=r(193),i=e&&!e.nodeType&&e,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,u=a&&a.exports===i?n.Buffer:void 0,s=(u?u.isBuffer:void 0)||o;t.exports=s}).call(this,r(64)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e){var r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&r.test(t))&&t>-1&&t%1==0&&t<e}},function(t,e,r){var n=r(194),o=r(195),i=r(196),a=i&&i.isTypedArray,u=a?o(a):n;t.exports=u},function(t,e,r){var n=r(26);t.exports=function(t){return t==t&&!n(t)}},function(t,e){t.exports=function(t,e){return function(r){return null!=r&&(r[t]===e&&(void 0!==e||t in Object(r)))}}},function(t,e,r){var n=r(70),o=r(17);t.exports=function(t,e){for(var r=0,i=(e=n(e,t)).length;null!=t&&r<i;)t=t[o(e[r++])];return r&&r==i?t:void 0}},function(t,e,r){var n=r(4),o=r(29),i=r(210),a=r(213);t.exports=function(t,e){return n(t)?t:o(t,e)?[t]:i(a(t))}},function(t,e){var r=function(t){this.name=t,this.filters=[]};r.prototype.process=function(t){if(!this.processor)throw new Error("add this pipe to a processor before using it");for(var e=this.debug,r=this.filters.length,n=t,o=0;o<r;o++){var i=this.filters[o];if(e&&this.log("filter: "+i.filterName),i(n),"object"==typeof n&&n.exiting){n.exiting=!1;break}}!n.next&&this.resultCheck&&this.resultCheck(n)},r.prototype.log=function(t){console.log("[jsondiffpatch] "+this.name+" pipe, "+t)},r.prototype.append=function(){return this.filters.push.apply(this.filters,arguments),this},r.prototype.prepend=function(){return this.filters.unshift.apply(this.filters,arguments),this},r.prototype.indexOf=function(t){if(!t)throw new Error("a filter name is required");for(var e=0;e<this.filters.length;e++){if(this.filters[e].filterName===t)return e}throw new Error("filter not found: "+t)},r.prototype.list=function(){for(var t=[],e=0;e<this.filters.length;e++){var r=this.filters[e];t.push(r.filterName)}return t},r.prototype.after=function(t){var e=this.indexOf(t),r=Array.prototype.slice.call(arguments,1);if(!r.length)throw new Error("a filter is required");return r.unshift(e+1,0),Array.prototype.splice.apply(this.filters,r),this},r.prototype.before=function(t){var e=this.indexOf(t),r=Array.prototype.slice.call(arguments,1);if(!r.length)throw new Error("a filter is required");return r.unshift(e,0),Array.prototype.splice.apply(this.filters,r),this},r.prototype.clear=function(){return this.filters.length=0,this},r.prototype.shouldHaveResult=function(t){if(!1!==t){if(!this.resultCheck){var e=this;return this.resultCheck=function(t){if(!t.hasResult){console.log(t);var r=new Error(e.name+" failed");throw r.noResult=!0,r}},this}}else this.resultCheck=null},e.Pipe=r},function(t,e){var r="function"==typeof Array.isArray?Array.isArray:function(t){return t instanceof Array};t.exports=function t(e){if("object"!=typeof e)return e;if(null===e)return null;if(r(e))return e.map(t);if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return n=/^\/(.*)\/([gimyu]*)$/.exec(e.toString()),new RegExp(n[1],n[2]);var n,o={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(o[i]=t(e[i]));return o}},function(t,e){function r(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32}var n=-1;r.Diff,r.prototype.diff_main=function(t,e,r,n){void 0===n&&(n=this.Diff_Timeout<=0?Number.MAX_VALUE:(new Date).getTime()+1e3*this.Diff_Timeout);var o=n;if(null==t||null==e)throw new Error("Null input. (diff_main)");if(t==e)return t?[[0,t]]:[];void 0===r&&(r=!0);var i=r,a=this.diff_commonPrefix(t,e),u=t.substring(0,a);t=t.substring(a),e=e.substring(a),a=this.diff_commonSuffix(t,e);var s=t.substring(t.length-a);t=t.substring(0,t.length-a),e=e.substring(0,e.length-a);var c=this.diff_compute_(t,e,i,o);return u&&c.unshift([0,u]),s&&c.push([0,s]),this.diff_cleanupMerge(c),c},r.prototype.diff_compute_=function(t,e,r,o){var i;if(!t)return[[1,e]];if(!e)return[[n,t]];var a=t.length>e.length?t:e,u=t.length>e.length?e:t,s=a.indexOf(u);if(-1!=s)return i=[[1,a.substring(0,s)],[0,u],[1,a.substring(s+u.length)]],t.length>e.length&&(i[0][0]=i[2][0]=n),i;if(1==u.length)return[[n,t],[1,e]];a=u=null;var c=this.diff_halfMatch_(t,e);if(c){var f=c[0],l=c[1],d=c[2],p=c[3],h=c[4],g=this.diff_main(f,d,r,o),v=this.diff_main(l,p,r,o);return g.concat([[0,h]],v)}return r&&t.length>100&&e.length>100?this.diff_lineMode_(t,e,o):this.diff_bisect_(t,e,o)},r.prototype.diff_lineMode_=function(t,e,r){t=(l=this.diff_linesToChars_(t,e))[0],e=l[1];var o=l[2],i=this.diff_bisect_(t,e,r);this.diff_charsToLines_(i,o),this.diff_cleanupSemantic(i),i.push([0,""]);for(var a=0,u=0,s=0,c="",f="";a<i.length;){switch(i[a][0]){case 1:s++,f+=i[a][1];break;case n:u++,c+=i[a][1];break;case 0:if(u>=1&&s>=1){var l=this.diff_main(c,f,!1,r);i.splice(a-u-s,u+s),a=a-u-s;for(var d=l.length-1;d>=0;d--)i.splice(a,0,l[d]);a+=l.length}s=0,u=0,c="",f=""}a++}return i.pop(),i},r.prototype.diff_bisect_=function(t,e,r){for(var o=t.length,i=e.length,a=Math.ceil((o+i)/2),u=a,s=2*a,c=new Array(s),f=new Array(s),l=0;l<s;l++)c[l]=-1,f[l]=-1;c[u+1]=0,f[u+1]=0;for(var d=o-i,p=d%2!=0,h=0,g=0,v=0,y=0,_=0;_<a&&!((new Date).getTime()>r);_++){for(var b=-_+h;b<=_-g;b+=2){for(var m=u+b,E=(P=b==-_||b!=_&&c[m-1]<c[m+1]?c[m+1]:c[m-1]+1)-b;P<o&&E<i&&t.charAt(P)==e.charAt(E);)P++,E++;if(c[m]=P,P>o)g+=2;else if(E>i)h+=2;else if(p){if((w=u+d-b)>=0&&w<s&&-1!=f[w])if(P>=(x=o-f[w]))return this.diff_bisectSplit_(t,e,P,E,r)}}for(var O=-_+v;O<=_-y;O+=2){for(var x,w=u+O,S=(x=O==-_||O!=_&&f[w-1]<f[w+1]?f[w+1]:f[w-1]+1)-O;x<o&&S<i&&t.charAt(o-x-1)==e.charAt(i-S-1);)x++,S++;if(f[w]=x,x>o)y+=2;else if(S>i)v+=2;else if(!p){if((m=u+d-O)>=0&&m<s&&-1!=c[m]){var P;E=u+(P=c[m])-m;if(P>=(x=o-x))return this.diff_bisectSplit_(t,e,P,E,r)}}}}return[[n,t],[1,e]]},r.prototype.diff_bisectSplit_=function(t,e,r,n,o){var i=t.substring(0,r),a=e.substring(0,n),u=t.substring(r),s=e.substring(n),c=this.diff_main(i,a,!1,o),f=this.diff_main(u,s,!1,o);return c.concat(f)},r.prototype.diff_linesToChars_=function(t,e){var r=[],n={};function o(t){for(var e="",o=0,i=-1,a=r.length;i<t.length-1;){-1==(i=t.indexOf("\n",o))&&(i=t.length-1);var u=t.substring(o,i+1);o=i+1,(n.hasOwnProperty?n.hasOwnProperty(u):void 0!==n[u])?e+=String.fromCharCode(n[u]):(e+=String.fromCharCode(a),n[u]=a,r[a++]=u)}return e}return r[0]="",[o(t),o(e),r]},r.prototype.diff_charsToLines_=function(t,e){for(var r=0;r<t.length;r++){for(var n=t[r][1],o=[],i=0;i<n.length;i++)o[i]=e[n.charCodeAt(i)];t[r][1]=o.join("")}},r.prototype.diff_commonPrefix=function(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;for(var r=0,n=Math.min(t.length,e.length),o=n,i=0;r<o;)t.substring(i,o)==e.substring(i,o)?i=r=o:n=o,o=Math.floor((n-r)/2+r);return o},r.prototype.diff_commonSuffix=function(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;for(var r=0,n=Math.min(t.length,e.length),o=n,i=0;r<o;)t.substring(t.length-o,t.length-i)==e.substring(e.length-o,e.length-i)?i=r=o:n=o,o=Math.floor((n-r)/2+r);return o},r.prototype.diff_commonOverlap_=function(t,e){var r=t.length,n=e.length;if(0==r||0==n)return 0;r>n?t=t.substring(r-n):r<n&&(e=e.substring(0,r));var o=Math.min(r,n);if(t==e)return o;for(var i=0,a=1;;){var u=t.substring(o-a),s=e.indexOf(u);if(-1==s)return i;a+=s,0!=s&&t.substring(o-a)!=e.substring(0,a)||(i=a,a++)}},r.prototype.diff_halfMatch_=function(t,e){if(this.Diff_Timeout<=0)return null;var r=t.length>e.length?t:e,n=t.length>e.length?e:t;if(r.length<4||2*n.length<r.length)return null;var o=this;function i(t,e,r){for(var n,i,a,u,s=t.substring(r,r+Math.floor(t.length/4)),c=-1,f="";-1!=(c=e.indexOf(s,c+1));){var l=o.diff_commonPrefix(t.substring(r),e.substring(c)),d=o.diff_commonSuffix(t.substring(0,r),e.substring(0,c));f.length<d+l&&(f=e.substring(c-d,c)+e.substring(c,c+l),n=t.substring(0,r-d),i=t.substring(r+l),a=e.substring(0,c-d),u=e.substring(c+l))}return 2*f.length>=t.length?[n,i,a,u,f]:null}var a,u,s,c,f,l=i(r,n,Math.ceil(r.length/4)),d=i(r,n,Math.ceil(r.length/2));return l||d?(a=d?l&&l[4].length>d[4].length?l:d:l,t.length>e.length?(u=a[0],s=a[1],c=a[2],f=a[3]):(c=a[0],f=a[1],u=a[2],s=a[3]),[u,s,c,f,a[4]]):null},r.prototype.diff_cleanupSemantic=function(t){for(var e=!1,r=[],o=0,i=null,a=0,u=0,s=0,c=0,f=0;a<t.length;)0==t[a][0]?(r[o++]=a,u=c,s=f,c=0,f=0,i=t[a][1]):(1==t[a][0]?c+=t[a][1].length:f+=t[a][1].length,null!==i&&i.length<=Math.max(u,s)&&i.length<=Math.max(c,f)&&(t.splice(r[o-1],0,[n,i]),t[r[o-1]+1][0]=1,o--,a=--o>0?r[o-1]:-1,u=0,s=0,c=0,f=0,i=null,e=!0)),a++;for(e&&this.diff_cleanupMerge(t),this.diff_cleanupSemanticLossless(t),a=1;a<t.length;){if(t[a-1][0]==n&&1==t[a][0]){var l=t[a-1][1],d=t[a][1],p=this.diff_commonOverlap_(l,d);(p>=l.length/2||p>=d.length/2)&&(t.splice(a,0,[0,d.substring(0,p)]),t[a-1][1]=l.substring(0,l.length-p),t[a+1][1]=d.substring(p),a++),a++}a++}},r.prototype.diff_cleanupSemanticLossless=function(t){var e=/[^a-zA-Z0-9]/,r=/\s/,n=/[\r\n]/,o=/\n\r?\n$/,i=/^\r?\n\r?\n/;function a(t,a){if(!t||!a)return 5;var u=0;return(t.charAt(t.length-1).match(e)||a.charAt(0).match(e))&&(u++,(t.charAt(t.length-1).match(r)||a.charAt(0).match(r))&&(u++,(t.charAt(t.length-1).match(n)||a.charAt(0).match(n))&&(u++,(t.match(o)||a.match(i))&&u++))),u}for(var u=1;u<t.length-1;){if(0==t[u-1][0]&&0==t[u+1][0]){var s=t[u-1][1],c=t[u][1],f=t[u+1][1],l=this.diff_commonSuffix(s,c);if(l){var d=c.substring(c.length-l);s=s.substring(0,s.length-l),c=d+c.substring(0,c.length-l),f=d+f}for(var p=s,h=c,g=f,v=a(s,c)+a(c,f);c.charAt(0)===f.charAt(0);){s+=c.charAt(0),c=c.substring(1)+f.charAt(0),f=f.substring(1);var y=a(s,c)+a(c,f);y>=v&&(v=y,p=s,h=c,g=f)}t[u-1][1]!=p&&(p?t[u-1][1]=p:(t.splice(u-1,1),u--),t[u][1]=h,g?t[u+1][1]=g:(t.splice(u+1,1),u--))}u++}},r.prototype.diff_cleanupEfficiency=function(t){for(var e=!1,r=[],o=0,i="",a=0,u=!1,s=!1,c=!1,f=!1;a<t.length;)0==t[a][0]?(t[a][1].length<this.Diff_EditCost&&(c||f)?(r[o++]=a,u=c,s=f,i=t[a][1]):(o=0,i=""),c=f=!1):(t[a][0]==n?f=!0:c=!0,i&&(u&&s&&c&&f||i.length<this.Diff_EditCost/2&&u+s+c+f==3)&&(t.splice(r[o-1],0,[n,i]),t[r[o-1]+1][0]=1,o--,i="",u&&s?(c=f=!0,o=0):(a=--o>0?r[o-1]:-1,c=f=!1),e=!0)),a++;e&&this.diff_cleanupMerge(t)},r.prototype.diff_cleanupMerge=function(t){t.push([0,""]);for(var e,r=0,o=0,i=0,a="",u="";r<t.length;)switch(t[r][0]){case 1:i++,u+=t[r][1],r++;break;case n:o++,a+=t[r][1],r++;break;case 0:o+i>1?(0!==o&&0!==i&&(0!==(e=this.diff_commonPrefix(u,a))&&(r-o-i>0&&0==t[r-o-i-1][0]?t[r-o-i-1][1]+=u.substring(0,e):(t.splice(0,0,[0,u.substring(0,e)]),r++),u=u.substring(e),a=a.substring(e)),0!==(e=this.diff_commonSuffix(u,a))&&(t[r][1]=u.substring(u.length-e)+t[r][1],u=u.substring(0,u.length-e),a=a.substring(0,a.length-e))),0===o?t.splice(r-o-i,o+i,[1,u]):0===i?t.splice(r-o-i,o+i,[n,a]):t.splice(r-o-i,o+i,[n,a],[1,u]),r=r-o-i+(o?1:0)+(i?1:0)+1):0!==r&&0==t[r-1][0]?(t[r-1][1]+=t[r][1],t.splice(r,1)):r++,i=0,o=0,a="",u=""}""===t[t.length-1][1]&&t.pop();var s=!1;for(r=1;r<t.length-1;)0==t[r-1][0]&&0==t[r+1][0]&&(t[r][1].substring(t[r][1].length-t[r-1][1].length)==t[r-1][1]?(t[r][1]=t[r-1][1]+t[r][1].substring(0,t[r][1].length-t[r-1][1].length),t[r+1][1]=t[r-1][1]+t[r+1][1],t.splice(r-1,1),s=!0):t[r][1].substring(0,t[r+1][1].length)==t[r+1][1]&&(t[r-1][1]+=t[r+1][1],t[r][1]=t[r][1].substring(t[r+1][1].length)+t[r+1][1],t.splice(r+1,1),s=!0)),r++;s&&this.diff_cleanupMerge(t)},r.prototype.diff_xIndex=function(t,e){var r,o=0,i=0,a=0,u=0;for(r=0;r<t.length&&(1!==t[r][0]&&(o+=t[r][1].length),t[r][0]!==n&&(i+=t[r][1].length),!(o>e));r++)a=o,u=i;return t.length!=r&&t[r][0]===n?u:u+(e-a)},r.prototype.diff_prettyHtml=function(t){for(var e=[],r=/&/g,o=/</g,i=/>/g,a=/\n/g,u=0;u<t.length;u++){var s=t[u][0],c=t[u][1],f=c.replace(r,"&").replace(o,"<").replace(i,">").replace(a,"¶<br>");switch(s){case 1:e[u]='<ins style="background:#e6ffe6;">'+f+"</ins>";break;case n:e[u]='<del style="background:#ffe6e6;">'+f+"</del>";break;case 0:e[u]="<span>"+f+"</span>"}s!==n&&c.length}return e.join("")},r.prototype.diff_text1=function(t){for(var e=[],r=0;r<t.length;r++)1!==t[r][0]&&(e[r]=t[r][1]);return e.join("")},r.prototype.diff_text2=function(t){for(var e=[],r=0;r<t.length;r++)t[r][0]!==n&&(e[r]=t[r][1]);return e.join("")},r.prototype.diff_levenshtein=function(t){for(var e=0,r=0,o=0,i=0;i<t.length;i++){var a=t[i][0],u=t[i][1];switch(a){case 1:r+=u.length;break;case n:o+=u.length;break;case 0:e+=Math.max(r,o),r=0,o=0}}return e+=Math.max(r,o)},r.prototype.diff_toDelta=function(t){for(var e=[],r=0;r<t.length;r++)switch(t[r][0]){case 1:e[r]="+"+encodeURI(t[r][1]);break;case n:e[r]="-"+t[r][1].length;break;case 0:e[r]="="+t[r][1].length}return e.join("\t").replace(/%20/g," ")},r.prototype.diff_fromDelta=function(t,e){for(var r=[],o=0,i=0,a=e.split(/\t/g),u=0;u<a.length;u++){var s=a[u].substring(1);switch(a[u].charAt(0)){case"+":try{r[o++]=[1,decodeURI(s)]}catch(t){throw new Error("Illegal escape in diff_fromDelta: "+s)}break;case"-":case"=":var c=parseInt(s,10);if(isNaN(c)||c<0)throw new Error("Invalid number in diff_fromDelta: "+s);var f=t.substring(i,i+=c);"="==a[u].charAt(0)?r[o++]=[0,f]:r[o++]=[n,f];break;default:if(a[u])throw new Error("Invalid diff operation in diff_fromDelta: "+a[u])}}if(i!=t.length)throw new Error("Delta length ("+i+") does not equal source text length ("+t.length+").");return r},r.prototype.match_main=function(t,e,r){if(null==t||null==e||null==r)throw new Error("Null input. (match_main)");return r=Math.max(0,Math.min(r,t.length)),t==e?0:t.length?t.substring(r,r+e.length)==e?r:this.match_bitap_(t,e,r):-1},r.prototype.match_bitap_=function(t,e,r){if(e.length>this.Match_MaxBits)throw new Error("Pattern too long for this browser.");var n=this.match_alphabet_(e),o=this;function i(t,n){var i=t/e.length,a=Math.abs(r-n);return o.Match_Distance?i+a/o.Match_Distance:a?1:i}var a=this.Match_Threshold,u=t.indexOf(e,r);-1!=u&&(a=Math.min(i(0,u),a),-1!=(u=t.lastIndexOf(e,r+e.length))&&(a=Math.min(i(0,u),a)));var s,c,f=1<<e.length-1;u=-1;for(var l,d=e.length+t.length,p=0;p<e.length;p++){for(s=0,c=d;s<c;)i(p,r+c)<=a?s=c:d=c,c=Math.floor((d-s)/2+s);d=c;var h=Math.max(1,r-c+1),g=Math.min(r+c,t.length)+e.length,v=Array(g+2);v[g+1]=(1<<p)-1;for(var y=g;y>=h;y--){var _=n[t.charAt(y-1)];if(v[y]=0===p?(v[y+1]<<1|1)&_:(v[y+1]<<1|1)&_|(l[y+1]|l[y])<<1|1|l[y+1],v[y]&f){var b=i(p,y-1);if(b<=a){if(a=b,!((u=y-1)>r))break;h=Math.max(1,2*r-u)}}}if(i(p+1,r)>a)break;l=v}return u},r.prototype.match_alphabet_=function(t){for(var e={},r=0;r<t.length;r++)e[t.charAt(r)]=0;for(r=0;r<t.length;r++)e[t.charAt(r)]|=1<<t.length-r-1;return e},r.prototype.patch_addContext_=function(t,e){if(0!=e.length){for(var r=e.substring(t.start2,t.start2+t.length1),n=0;e.indexOf(r)!=e.lastIndexOf(r)&&r.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)n+=this.Patch_Margin,r=e.substring(t.start2-n,t.start2+t.length1+n);n+=this.Patch_Margin;var o=e.substring(t.start2-n,t.start2);o&&t.diffs.unshift([0,o]);var i=e.substring(t.start2+t.length1,t.start2+t.length1+n);i&&t.diffs.push([0,i]),t.start1-=o.length,t.start2-=o.length,t.length1+=o.length+i.length,t.length2+=o.length+i.length}},r.prototype.patch_make=function(t,e,o){var i,a;if("string"==typeof t&&"string"==typeof e&&void 0===o)i=t,(a=this.diff_main(i,e,!0)).length>2&&(this.diff_cleanupSemantic(a),this.diff_cleanupEfficiency(a));else if(t&&"object"==typeof t&&void 0===e&&void 0===o)a=t,i=this.diff_text1(a);else if("string"==typeof t&&e&&"object"==typeof e&&void 0===o)i=t,a=e;else{if("string"!=typeof t||"string"!=typeof e||!o||"object"!=typeof o)throw new Error("Unknown call format to patch_make.");i=t,a=o}if(0===a.length)return[];for(var u=[],s=new r.patch_obj,c=0,f=0,l=0,d=i,p=i,h=0;h<a.length;h++){var g=a[h][0],v=a[h][1];switch(c||0===g||(s.start1=f,s.start2=l),g){case 1:s.diffs[c++]=a[h],s.length2+=v.length,p=p.substring(0,l)+v+p.substring(l);break;case n:s.length1+=v.length,s.diffs[c++]=a[h],p=p.substring(0,l)+p.substring(l+v.length);break;case 0:v.length<=2*this.Patch_Margin&&c&&a.length!=h+1?(s.diffs[c++]=a[h],s.length1+=v.length,s.length2+=v.length):v.length>=2*this.Patch_Margin&&c&&(this.patch_addContext_(s,d),u.push(s),s=new r.patch_obj,c=0,d=p,f=l)}1!==g&&(f+=v.length),g!==n&&(l+=v.length)}return c&&(this.patch_addContext_(s,d),u.push(s)),u},r.prototype.patch_deepCopy=function(t){for(var e=[],n=0;n<t.length;n++){var o=t[n],i=new r.patch_obj;i.diffs=[];for(var a=0;a<o.diffs.length;a++)i.diffs[a]=o.diffs[a].slice();i.start1=o.start1,i.start2=o.start2,i.length1=o.length1,i.length2=o.length2,e[n]=i}return e},r.prototype.patch_apply=function(t,e){if(0==t.length)return[e,[]];t=this.patch_deepCopy(t);var r=this.patch_addPadding(t);e=r+e+r,this.patch_splitMax(t);for(var o=0,i=[],a=0;a<t.length;a++){var u,s,c=t[a].start2+o,f=this.diff_text1(t[a].diffs),l=-1;if(f.length>this.Match_MaxBits?-1!=(u=this.match_main(e,f.substring(0,this.Match_MaxBits),c))&&(-1==(l=this.match_main(e,f.substring(f.length-this.Match_MaxBits),c+f.length-this.Match_MaxBits))||u>=l)&&(u=-1):u=this.match_main(e,f,c),-1==u)i[a]=!1,o-=t[a].length2-t[a].length1;else if(i[a]=!0,o=u-c,f==(s=-1==l?e.substring(u,u+f.length):e.substring(u,l+this.Match_MaxBits)))e=e.substring(0,u)+this.diff_text2(t[a].diffs)+e.substring(u+f.length);else{var d=this.diff_main(f,s,!1);if(f.length>this.Match_MaxBits&&this.diff_levenshtein(d)/f.length>this.Patch_DeleteThreshold)i[a]=!1;else{this.diff_cleanupSemanticLossless(d);for(var p,h=0,g=0;g<t[a].diffs.length;g++){var v=t[a].diffs[g];0!==v[0]&&(p=this.diff_xIndex(d,h)),1===v[0]?e=e.substring(0,u+p)+v[1]+e.substring(u+p):v[0]===n&&(e=e.substring(0,u+p)+e.substring(u+this.diff_xIndex(d,h+v[1].length))),v[0]!==n&&(h+=v[1].length)}}}}return[e=e.substring(r.length,e.length-r.length),i]},r.prototype.patch_addPadding=function(t){for(var e=this.Patch_Margin,r="",n=1;n<=e;n++)r+=String.fromCharCode(n);for(n=0;n<t.length;n++)t[n].start1+=e,t[n].start2+=e;var o=t[0],i=o.diffs;if(0==i.length||0!=i[0][0])i.unshift([0,r]),o.start1-=e,o.start2-=e,o.length1+=e,o.length2+=e;else if(e>i[0][1].length){var a=e-i[0][1].length;i[0][1]=r.substring(i[0][1].length)+i[0][1],o.start1-=a,o.start2-=a,o.length1+=a,o.length2+=a}if(0==(i=(o=t[t.length-1]).diffs).length||0!=i[i.length-1][0])i.push([0,r]),o.length1+=e,o.length2+=e;else if(e>i[i.length-1][1].length){a=e-i[i.length-1][1].length;i[i.length-1][1]+=r.substring(0,a),o.length1+=a,o.length2+=a}return r},r.prototype.patch_splitMax=function(t){for(var e=this.Match_MaxBits,o=0;o<t.length;o++)if(t[o].length1>e){var i=t[o];t.splice(o--,1);for(var a=i.start1,u=i.start2,s="";0!==i.diffs.length;){var c=new r.patch_obj,f=!0;for(c.start1=a-s.length,c.start2=u-s.length,""!==s&&(c.length1=c.length2=s.length,c.diffs.push([0,s]));0!==i.diffs.length&&c.length1<e-this.Patch_Margin;){var l=i.diffs[0][0],d=i.diffs[0][1];1===l?(c.length2+=d.length,u+=d.length,c.diffs.push(i.diffs.shift()),f=!1):l===n&&1==c.diffs.length&&0==c.diffs[0][0]&&d.length>2*e?(c.length1+=d.length,a+=d.length,f=!1,c.diffs.push([l,d]),i.diffs.shift()):(d=d.substring(0,e-c.length1-this.Patch_Margin),c.length1+=d.length,a+=d.length,0===l?(c.length2+=d.length,u+=d.length):f=!1,c.diffs.push([l,d]),d==i.diffs[0][1]?i.diffs.shift():i.diffs[0][1]=i.diffs[0][1].substring(d.length))}s=(s=this.diff_text2(c.diffs)).substring(s.length-this.Patch_Margin);var p=this.diff_text1(i.diffs).substring(0,this.Patch_Margin);""!==p&&(c.length1+=p.length,c.length2+=p.length,0!==c.diffs.length&&0===c.diffs[c.diffs.length-1][0]?c.diffs[c.diffs.length-1][1]+=p:c.diffs.push([0,p])),f||t.splice(++o,0,c)}}},r.prototype.patch_toText=function(t){for(var e=[],r=0;r<t.length;r++)e[r]=t[r];return e.join("")},r.prototype.patch_fromText=function(t){var e=[];if(!t)return e;for(var o=t.split("\n"),i=0,a=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;i<o.length;){var u=o[i].match(a);if(!u)throw new Error("Invalid patch string: "+o[i]);var s=new r.patch_obj;for(e.push(s),s.start1=parseInt(u[1],10),""===u[2]?(s.start1--,s.length1=1):"0"==u[2]?s.length1=0:(s.start1--,s.length1=parseInt(u[2],10)),s.start2=parseInt(u[3],10),""===u[4]?(s.start2--,s.length2=1):"0"==u[4]?s.length2=0:(s.start2--,s.length2=parseInt(u[4],10)),i++;i<o.length;){var c=o[i].charAt(0);try{var f=decodeURI(o[i].substring(1))}catch(t){throw new Error("Illegal escape in patch_fromText: "+f)}if("-"==c)s.diffs.push([n,f]);else if("+"==c)s.diffs.push([1,f]);else if(" "==c)s.diffs.push([0,f]);else{if("@"==c)break;if(""!==c)throw new Error('Invalid patch mode "'+c+'" in: '+f)}i++}}return e},r.patch_obj=function(){this.diffs=[],this.start1=null,this.start2=null,this.length1=0,this.length2=0},r.patch_obj.prototype.toString=function(){for(var t,e=["@@ -"+(0===this.length1?this.start1+",0":1==this.length1?this.start1+1:this.start1+1+","+this.length1)+" +"+(0===this.length2?this.start2+",0":1==this.length2?this.start2+1:this.start2+1+","+this.length2)+" @@\n"],r=0;r<this.diffs.length;r++){switch(this.diffs[r][0]){case 1:t="+";break;case n:t="-";break;case 0:t=" "}e[r+1]=t+encodeURI(this.diffs[r][1])+"\n"}return e.join("").replace(/%20/g," ")},this.diff_match_patch=r,this.DIFF_DELETE=n,this.DIFF_INSERT=1,this.DIFF_EQUAL=0},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=Date.now.bind(Date),o=n(),i="undefined"!=typeof performance&&performance.now?performance.now.bind(performance):function(){return n()-o};e.default=i,t.exports=e.default},function(t,e,r){t.exports=r(76)},function(t,e,r){"use strict";var n=r(18);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(77)),i=n(r(79)),a=n(r(80)),u=n(r(81)),s=n(r(19)),c=r(35),f=n(r(87)),l=r(249);function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function p(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach((function(e){(0,s.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var h=c.NativeModules.LogRocketNativeModule,g=c.NativeModules.NativeUnimoduleProxy,v=h||{},y=v.initWithConfig,_=v.installShutdownHandler,b=v.getSessionURL,m=v.captureException,E=v.captureReduxAction,O=v.captureReduxInitialState,x=v.captureRequest,w=v.captureResponse,S=v.addLog,P=v.identifyWithTraits,R=v.track,A=v.shutdown,T=function(){var t,e;return["storeClient","standalone"].includes(null==g||null===(t=g.moduleConstants)||void 0===t||null===(e=t.ExponentConstants)||void 0===e?void 0:e.executionEnvironment)},j=h?(0,f.default)():{_run:function(){},shutdown:function(){}},I=/^[a-z0-9_-]+\/[a-z0-9_-]+$/,M="@logrocket/react-native cannot be used in Expo Go. See https://docs.logrocket.com/docs/react-native-expo-go for more information.",D=function(t){for(var e=p({},t),r=0,n=Object.entries(e);r<n.length;r++){var o=(0,u.default)(n[r],2),i=o[0];o[1]||(e[i]=function(){})}return e},L={init:function(t){var e=arguments;return(0,a.default)(o.default.mark((function r(){var n,a;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n=e.length>1&&void 0!==e[1]?e[1]:{},a=(0,i.default)({},n),!T()){r.next=4;break}return console.warn(M),r.abrupt("return");case 4:if(y){r.next=8;break}return console.warn("@logrocket/react-native native module is missing. Please review installation instructions."),j.shutdown(),r.abrupt("return");case 8:if("string"==typeof t&&I.test(t)){r.next=11;break}return console.warn("LogRocket: must pass a valid application id to the LogRocket instance."),r.abrupt("return");case 11:if(r.t0=j._didInit,r.t0){r.next=16;break}return r.next=15,y(t,p({serverURL:"https://r.lr-in-prod.com/i",enableIPCapture:!0},a));case 15:r.t0=r.sent;case 16:r.t0?(j.init(a,D({addLog:S,captureException:m,captureReduxAction:E,captureReduxInitialState:O,captureRequest:x,captureResponse:w,identifyWithTraits:P,shutdown:A,track:R})),_&&_((function(){return j.uninstall()}))):(j.disableAndClearBuffer(),__DEV__&&console.warn("LogRocket initialization failed! Check device logs for further details."));case 18:case"end":return r.stop()}}),r)})))()},captureException:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};j._run((function(r){r.captureException(t,e)}))},getSessionURL:function(t){b&&b(t)},identify:function(t,e){j._run((function(r){r.identify(t,e)}))},reduxMiddleware:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=function(){return function(t){return function(e){return t(e)}}};return T()?(console.warn(M),e):"function"==typeof O&&"function"==typeof E?(0,l.createMiddleware)(j,t):e},track:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};j._run((function(r){r.track(t,e)}))},shutdown:function(){j.shutdown()}};e.default=L,t.exports=e.default},function(t,e,r){t.exports=r(78)},function(t,e,r){var n=function(t){"use strict";var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,i=Object.create(o.prototype),a=new A(n||[]);return i._invoke=function(t,e,r){var n=l;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===h){if("throw"===o)throw i;return j()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=S(a,r);if(u){if(u===g)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var s=f(t,e,r);if("normal"===s.type){if(n=r.done?h:d,s.arg===g)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n=h,r.method="throw",r.arg=s.arg)}}}(t,r,a),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var l="suspendedStart",d="suspendedYield",p="executing",h="completed",g={};function v(){}function y(){}function _(){}var b={};b[i]=function(){return this};var m=Object.getPrototypeOf,E=m&&m(m(T([])));E&&E!==r&&n.call(E,i)&&(b=E);var O=_.prototype=v.prototype=Object.create(b);function x(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function r(o,i,a,u){var s=f(t[o],t,i);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(l).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}var o;this._invoke=function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}}function S(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,S(t,r),"throw"===r.method))return g;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var o=f(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function R(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function T(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:j}}function j(){return{value:e,done:!0}}return y.prototype=O.constructor=_,_.constructor=y,y.displayName=s(_,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,s(t,u,"GeneratorFunction")),t.prototype=Object.create(O),t},t.awrap=function(t){return{__await:t}},x(w.prototype),w.prototype[a]=function(){return this},t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(c(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(O),s(O,u,"Generator"),O[i]=function(){return this},O.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=T,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(R),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),R(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;R(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:T(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}},function(t,e){function r(){return t.exports=r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},t.exports.default=t.exports,t.exports.__esModule=!0,r.apply(this,arguments)}t.exports=r,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){function r(t,e,r,n,o,i,a){try{var u=t[i](a),s=u.value}catch(t){return void r(t)}u.done?e(s):Promise.resolve(s).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function u(t){r(a,o,i,u,s,"next",t)}function s(t){r(a,o,i,u,s,"throw",t)}u(void 0)}))}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){var n=r(82),o=r(83),i=r(84),a=r(86);t.exports=function(t,e){return n(t)||o(t,e)||i(t,e)||a()},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){var r=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=r){var n,o,i=[],a=!0,u=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){var n=r(85);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=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.")},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";(function(t){var n=r(18);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return new R},e.MAX_QUEUE_SIZE=void 0;var o=n(r(88)),i=n(r(36)),a=n(r(37)),u=n(r(19)),s=r(35),c=n(r(89)),f=n(r(96)),l=r(42),d=n(r(10)),p=r(107),h=r(30),g=r(232),v=r(233),y=r(44),_=n(r(234)),b=n(r(246));function m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function E(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?m(Object(r),!0).forEach((function(e){(0,u.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var O=new Set(["[object Error]","[object DOMError]","[object DOMException]"]),x=1e3;e.MAX_QUEUE_SIZE=x;var w=["%c prev state","%c next state","%c action ","%c error ","%c action","%c error"],S=function(e){return function(){try{return e.apply(void 0,arguments)}catch(e){if(t&&t._lrdebug)throw e}}};function P(t){var e={}.toString.call(t),r=t;return O.has(e)&&(r="".concat(t.constructor.name,": ").concat(t.message||t.name)),d.default.encode(r)}var R=function(){function e(){var r=this;(0,i.default)(this,e),this._getConfig=function(t){if(null==r._config)return{};var e=t.split(".");switch(e[1]){case"network":return r._config.network;case"core":switch(e[2]){case"LogEvent":return r._config.console}default:return{}}},this._isReduxLogger=function(t){if(!t||!t.args)return!1;var e=t.args;return!!(Array.isArray(e)&&3===e.length&&w.indexOf(e[0])>-1)},this.addEvent=S((function(t,e,n){if(!r._isDisabled){var o=e(r._getConfig(t)),i=Date.now();if(null!=o&&!r._isDisabled){var a=S((function(){if("lr.redux.ReduxAction"===t&&o.action&&o.action.type){var e=o.action.type;r._reduxActions[e]?r._reduxActions[e]++:r._reduxActions[e]=1,o.count=r._reduxActions[e]}if("lr.core.LogEvent"===t&&r._isReduxLogger(o))r._didWarnAboutReduxLogger||(r._didWarnAboutReduxLogger=!0,console.warn("LogRocket: Redux logger detected, skipping data. Please use the LogRocket redux middleware to record production redux logs: https://docs.logrocket.com/docs/redux-middleware"));else switch(t){case"lr.redux.InitialState":r._captureReduxInitialState(r.reduxEncoder.encodeInitialState(o));break;case"lr.redux.ReduxAction":r._captureReduxAction(r.reduxEncoder.encodeReduxAction(o));break;case"lr.core.Exception":var a=o.exceptionType,u=o.message,s=o.errorType,c=void 0===s?"":s;r._captureException(P(u),c,a,n&&JSON.stringify(n._stackTrace)||"[]");break;case"lr.core.LogEvent":var f=o.logLevel,l=o.args,d=l&&l.map(P);r._addLog(f,d||[]);break;case"lr.network.RequestEvent":r._inflightNetwork[o.reqId]={time:i},r._captureRequest(o.reqId,(0,p.getRequestData)(o));break;case"lr.network.ResponseEvent":var h=r._inflightNetwork[o.reqId],g=(0,p.getResponseData)(o);h&&h.time&&(g.duration=i-h.time),r._captureResponse(o.reqId,g),delete r._inflightNetwork[o.reqId]}}));if(r._didInit)a();else{if(r._buffer.length>=x)return b.default.warn("LogRocket has not been initialized. Event buffering is now disabled."),r.disableAndClearBuffer(),void r.uninstall();r._buffer.push(a)}}}})),this.shutdown=S((function(){r._didInit?(r.uninstall(),r._shutdown()):r.disableAndClearBuffer(),r.eventListener&&r.eventListener.remove()})),this.captureException=S((function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};l.Capture.captureException(r,t,e)})),this.uninstall=S((function(){r._installed&&r._installed.forEach((function(t){return t()})),r.reset()})),this.textEncoder=t.TextEncoder&&new t.TextEncoder,this._customPropCount=0,this._reduxActions={},this._buffer=[],this._didWarnAboutReduxLogger=!1,this._didWarnAboutReduxSize=!1,this.wallByteStreams={},this.reduxEncoder=new _.default;var n=new s.NativeEventEmitter(s.NativeModules.LogRocketNativeModule);this.eventListener=n.addListener("LogRocketSDKOnError",S((function(t){t.errorMessage&&(t.shouldWarnAboutReduxSize||console.warn(t.errorMessage),t.shouldWarnAboutReduxSize&&!r._didWarnAboutReduxSize&&(r._didWarnAboutReduxSize=!0,console.warn(t.errorMessage))),t.shouldDisableAndFreeMemory&&r.disableAndClearBuffer()}))),this.reset()}return(0,a.default)(e,[{key:"_run",value:function(t){if(!this._isDisabled)if(this._didInit)t(this);else{if(this._buffer.length>=x)return b.default.warn("LogRocket has not been initialized. Event buffering is now disabled."),this.disableAndClearBuffer(),void this.uninstall();this._buffer.push(t)}}},{key:"_registerExceptions",value:function(){var e=this,n=ErrorUtils.getGlobalHandler&&ErrorUtils.getGlobalHandler();ErrorUtils.setGlobalHandler((function(t,r){try{e.captureException(t)}catch(t){}n&&n(t,r)}));var o=r(247);o.disable(),o.enable({allRejections:!0,onUnhandled:S((function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.addEvent("lr.core.Exception",(function(){return{exceptionType:"UNHANDLED_REJECTION",message:r.reason||"Unhandled Promise rejection"}}))}))});var i=r(248),a=i._onHandle||i._Y,u=i._onReject||i._Z,s=t.Promise._onHandle,c=t.Promise._onReject,f=t.Promise._Y,l=t.Promise._X;i!==t.Promise&&void 0!==a&&void 0!==u&&("_onHandle"in t.Promise&&"_onReject"in t.Promise?(t.Promise._onHandle=a,t.Promise._onReject=u):"_Y"in t.Promise&&"_Z"in t.Promise&&(t.Promise._Y=a,t.Promise._Z=u)),this._installed.push((function(){n&&ErrorUtils.setGlobalHandler(n),o.disable(),t.Promise._onHandle=s,t.Promise._onReject=c,t.Promise._Y=f,t.Promise._X=l}))}},{key:"track",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"==typeof t)if(0!==t.length){var r=(0,g.sanitizeEventProps)(e,h.MAX_CUSTOM_PROPS_PER_SESSION-this._customPropCount),n=r.eventProps,o=r.errors;this._customPropCount+=Object.keys(n).length,o.forEach((function(t){return console.warn("LogRocket Track API: ".concat((0,v.printEventPropError)(t)))})),this._track(t,n)}else console.warn("LogRocket: custom event name must be not be an empty string");else console.warn("LogRocket: must pass string to track()")}},{key:"_divineAnonymousId",value:function(){return this._lastIdentifyCall&&this._lastIdentifyCall.isAnonymous?this._lastIdentifyCall.userID:(0,y.uuid)()}},{key:"identify",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0],i=e[1],a=!1;if(this._identifyCalls++,!(this._identifyCalls>10)){if(10===this._identifyCalls&&console.warn("LogRocket: More than 10 identify calls on this page. Ignoring future calls."),null==i&&"object"===(0,o.default)(n)&&null!==n&&null==(n=(i=n||{}).userID)&&this._lastIdentifyCall&&this._lastIdentifyCall.userID){var u=this._lastIdentifyCall;n=u.userID,a=u.isAnonymous}if(!n){if(i&&(i.name||i.email)){var s=i.name?"name":"email";return void console.warn("LogRocket: user ".concat(s," passed to identify, but no userID given: identify(userId, { ").concat(s,": '...' })."))}a=!0,n=this._divineAnonymousId()}if(/string|number/.test((0,o.default)(n))){if(!(n.toString().length>this._maxIdentityArgLength)){var c=i;if(i){for(var f={},l=["userID","name","email"],d=0,p=Object.keys(i||{});d<p.length;d++){var h=p[d],g=i[h];if(-1===l.indexOf(h)){if(/boolean|number|string/.test((0,o.default)(g))){var v=h.toString();if(this.textEncoder&&this.textEncoder.encode(v).length>this._maxUserTraitBytes){console.warn("LogRocket: Ignoring large user trait key ".concat(v));continue}if(g.toString().length>this._maxIdentityArgLength){console.warn('LogRocket: ignoring large user trait value for key "'.concat(v,'" (max ').concat(this._maxIdentityArgLength," characters)"));continue}f[v]=g.toString()}}else if(g&&"string"==typeof g){if(g.length>this._maxIdentityArgLength){console.warn('LogRocket: too large generic trait "'.concat(h,'" passed to identify() (max ').concat(this._maxIdentityArgLength," characters)"));continue}f[h]=g}}c=f}return this._lastIdentifyCall={userID:n.toString(),email:c?c.email:void 0,name:c?c.name:void 0,isAnonymous:a},this._identifyWithTraits(this._lastIdentifyCall.userID,c,a)}console.warn("LogRocket: too large userID passed to identify() (max ".concat(this._maxIdentityArgLength," characters)"))}else console.warn("LogRocket: must pass a valid user id to identify().")}}},{key:"init",value:function(t,e){var r=e.addLog,n=void 0===r?function(){}:r,o=e.captureException,i=void 0===o?function(){}:o,a=e.captureReduxAction,u=void 0===a?function(){}:a,s=e.captureReduxInitialState,l=void 0===s?function(){}:s,d=e.captureRequest,p=void 0===d?function(){}:d,h=e.captureResponse,g=void 0===h?function(){}:h,v=e.identifyWithTraits,y=void 0===v?function(){}:v,_=e.track,b=void 0===_?function(){}:_,m=e.shutdown,O=void 0===m?function(){}:m,x=t.maxUserTraitBytes,w=void 0===x?128:x;if(!this._didInit)for(this._installed.push((0,f.default)(this)),this._installed.push((0,c.default)(this,{isReactNative:!0,shouldAugmentNPS:!1,shouldParseXHRBlob:!1})),this._registerExceptions(),this._didInit=!0,this._isDisabled=!1,this._addLog=n,this._captureException=i,this._captureReduxAction=u,this._captureReduxInitialState=l,this._captureRequest=p,this._captureResponse=g,this._config=function(t){return E(E({},t),{},{console:E(E({},t.console||{}),{},{shouldAggregateConsoleErrors:!1})})}(t),this._identifyWithTraits=y,this._maxUserTraitBytes=w,this._track=b,this._shutdown=O;this._buffer.length>0;){this._buffer.shift()(this)}}},{key:"disableAndClearBuffer",value:function(){this._isDisabled=!0,this._buffer=[]}},{key:"reset",value:function(){this._didInit=!1,this._config=null,this._installed=[],this._isDisabled=!1,this._didWarnAboutReduxSize=!1,this._addLog=function(){},this._captureRequest=function(){},this._captureResponse=function(){},this._track=function(){},this._inflightNetwork={},this._maxIdentityArgLength=1024,this._maxUserTraitBytes=128,this._buffer=[],this._customPropCount=0,this._identifyCalls=0,this._reduxActions={},this._didWarnAboutReduxLogger=!1,this.wallByteStreams={}}}]),e}()}).call(this,r(6))},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(t.exports=r=function(t){return typeof t},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.default=t.exports,t.exports.__esModule=!0),r(e)}t.exports=r,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{isReactNative:!1},r=e.isReactNative,n=e.shouldAugmentNPS,o=e.shouldParseXHRBlob,f={},d=function(t){var e=t;if("object"===(0,i.default)(t)&&null!=t){var r=Object.getPrototypeOf(t);r!==Object.prototype&&null!==r||(e=JSON.stringify(t))}if(e&&e.length&&e.length>4096e3&&"string"==typeof e){var n=e.substring(0,1e3);return"".concat(n," ... LogRocket truncating to first 1000 characters.\n Keep data under 4MB to prevent truncation. https://docs.logrocket.com/reference#network")}return t},p=function(e,r){var n=r.method;t.addEvent("lr.network.RequestEvent",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=t.isEnabled,i=void 0===o||o,a=t.requestSanitizer,u=void 0===a?function(t){return t}:a;if(!i)return null;var s=null;try{s=u(l(l({},r),{},{reqId:e}))}catch(t){console.error(t)}if(s){var p=s.url;if("undefined"!=typeof document&&"function"==typeof document.createElement){var h=document.createElement("a");h.href=s.url,p=h.href}return{reqId:e,url:p,headers:(0,c.default)(s.headers,(function(t){return"".concat(t)})),body:d(s.body),method:n,referrer:s.referrer||void 0,mode:s.mode||void 0,credentials:s.credentials||void 0}}return f[e]=!0,null}))},h=function(e,r){var n=r.method,o=r.status;t.addEvent("lr.network.ResponseEvent",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.isEnabled,a=void 0===i||i,u=t.responseSanitizer,s=void 0===u?function(t){return t}:u;if(!a)return null;if(f[e])return delete f[e],null;var p=null;try{p=s(l(l({},r),{},{reqId:e}))}catch(t){console.error(t)}return p?{reqId:e,status:p.status,headers:(0,c.default)(p.headers,(function(t){return"".concat(t)})),body:d(p.body),method:n}:{reqId:e,status:o,headers:{},body:null,method:n}}))},g=function(e){return t.isDisabled||!0===f[e]},v=(0,a.default)({addRequest:p,addResponse:h,isIgnored:g}),y=(0,s.default)({addRequest:p,addResponse:h,isIgnored:g,logger:t,shouldAugmentNPS:n,shouldParseXHRBlob:o}),_=r?function(){}:(0,u.default)(t);return function(){_(),v(),y()}};var o=n(r(1)),i=n(r(3)),a=n(r(90)),u=n(r(95)),s=n(r(40)),c=n(r(20));function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach((function(e){(0,o.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.addRequest,r=t.addResponse,n=t.isIgnored,o="fetch-",i={};return a.default.register({request:function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];var u;if("undefined"!=typeof Request&&n[0]instanceof Request){var c;try{c=n[0].clone().text()}catch(t){c=Promise.resolve("LogRocket fetch error: ".concat(t.message))}u=c.then((function(t){return s(s({},f(n[0])),{},{body:t})}),(function(t){return s(s({},f(n[0])),{},{body:"LogRocket fetch error: ".concat(t.message)})}))}else u=Promise.resolve(s(s({},f(n[1])),{},{url:"".concat(n[0]),body:(n[1]||{}).body}));return u.then((function(r){return i[t]=r.method,e("".concat(o).concat(t),r),n}))},requestError:function(t,e){return Promise.reject(e)},response:function(t,e){var a;if(n("".concat(o).concat(t)))return e;try{a=e.clone().text()}catch(t){a=Promise.resolve("LogRocket fetch error: ".concat(t.message))}return a.catch((function(t){if(!("AbortError"===t.name&&t instanceof DOMException))throw t})).then((function(n){var a={url:e.url,status:e.status,headers:c(e.headers),body:n,method:i[t]};delete i[t],r("".concat(o).concat(t),a)})),e},responseError:function(t,e){var n={url:void 0,status:0,headers:{},body:"".concat(e)};return r("".concat(o).concat(t),n),Promise.reject(e)}})};var o=n(r(1)),i=n(r(20)),a=n(r(91));function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?u(Object(r),!0).forEach((function(e){(0,o.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var c=function(t){return(0,i.default)(function(t){if(null==t||"function"!=typeof t.forEach)return t;var e={};return t.forEach((function(t,r){e[r]?e[r]="".concat(e[r],",").concat(t):e[r]="".concat(t)})),e}(t),(function(t){return"".concat(t)}))};function f(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{url:t.url,headers:c(t.headers),method:t.method&&t.method.toUpperCase(),referrer:t.referrer||void 0,mode:t.mode||void 0,credentials:t.credentials||void 0}}t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(9)),i=r(40),a=[];function u(t,e){for(var r=a.reduce((function(t,e){return[e].concat(t)}),[]),n=arguments.length,u=new Array(n>2?n-2:0),s=2;s<n;s++)u[s-2]=arguments[s];var c=Promise.resolve(u);return r.forEach((function(t){var r=t.request,n=t.requestError;(r||n)&&(c=c.then((function(t){return r.apply(void 0,[e].concat((0,o.default)(t)))}),(function(t){return n.apply(void 0,[e].concat((0,o.default)(t)))})))})),c=c.then((function(e){var r,n;(0,i.setActive)(!1);try{r=t.apply(void 0,(0,o.default)(e))}catch(t){n=t}if((0,i.setActive)(!0),n)throw n;return r})),r.forEach((function(t){var r=t.response,n=t.responseError;(r||n)&&(c=c.then((function(t){return r(e,t)}),(function(t){return n&&n(e,t)})))})),c}var s=!1,c={register:function(t){return s||(s=!0,function(t){if(t.fetch&&t.Promise){var e,r,n=t.fetch.polyfill;t.fetch=(e=t.fetch,r=0,function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return u.apply(void 0,[e,r++].concat(n))}),n&&(t.fetch.polyfill=n)}}(window)),a.push(t),function(){var e=a.indexOf(t);e>=0&&a.splice(e,1)}},clear:function(){a=[]}};e.default=c,t.exports=e.default},function(t,e,r){var n=r(38);t.exports=function(t){if(Array.isArray(t))return n(t)},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=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.")},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=void 0;function r(){var r={online:window.navigator.onLine,effectiveType:"UNKOWN"};window.navigator.onLine?window.navigator.connection&&window.navigator.connection.effectiveType&&(r.effectiveType=n[window.navigator.connection.effectiveType]||"UNKNOWN"):r.effectiveType="NONE",e&&r.online===e.online&&r.effectiveType===e.effectiveType||(e=r,t.addEvent("lr.network.NetworkStatusEvent",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.isEnabled,n=void 0===e||e;return n?r:null})))}setTimeout(r),window.navigator.connection&&"function"==typeof window.navigator.connection.addEventListener&&window.navigator.connection.addEventListener("change",r);return window.addEventListener("online",r),window.addEventListener("offline",r),function(){window.removeEventListener("offline",r),window.removeEventListener("online",r),window.navigator.connection&&"function"==typeof window.navigator.connection.removeEventListener&&window.navigator.connection.removeEventListener("change",r)}};var n={"slow-2g":"SLOW2G","2g":"TWOG","3g":"THREEG","4g":"FOURG"};t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(97)).default;e.default=o,t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=[];return["log","warn","info","error","debug"].forEach((function(r){e.push((0,i.default)(console,r,(function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];t.addEvent("lr.core.LogEvent",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.isEnabled;return"object"===(0,o.default)(i)&&!1===i[r]||!1===i?null:("error"===r&&e.shouldAggregateConsoleErrors&&a.Capture.captureMessage(t,n[0],n,{},!0),{logLevel:r.toUpperCase(),args:n})}))})))})),function(){e.forEach((function(t){return t()}))}};var o=n(r(3)),i=n(r(21)),a=r(42);t.exports=e.default},function(t,e,r){"use strict";var n=r(23),o=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=new i.default({captureException:function(e){a.captureException(t,null,null,e)}}),r=function(e){t.addEvent("lr.core.Exception",(function(){return{exceptionType:"UNHANDLED_REJECTION",message:e.reason||"Unhandled Promise rejection"}}))};return window.addEventListener("unhandledrejection",r),function(){window.removeEventListener("unhandledrejection",r),e.uninstall()}};var i=o(r(99)),a=n(r(43));t.exports=e.default},function(t,e,r){"use strict";(function(n){var o=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(r(100)),a=o(r(101)),u=o(r(24)),s=Object.prototype;function c(t){return void 0===t}function f(t){return"function"==typeof t}function l(t,e){return s.hasOwnProperty.call(t,e)}function d(t,e,r,n){var o=t[e];t[e]=r(o),n&&n.push([t,e,o])}var p="undefined"!=typeof window?window:void 0!==n?n:"undefined"!=typeof self?self:{},h=(p.document,function(){function t(e){var r=e.captureException;(0,i.default)(this,t),this._errorHandler=this._errorHandler.bind(this),this._ignoreOnError=0,this._wrappedBuiltIns=[],this.captureException=r,u.default.report.subscribe(this._errorHandler),this._instrumentTryCatch()}return(0,a.default)(t,[{key:"uninstall",value:function(){var t;for(u.default.report.unsubscribe(this._errorHandler);this._wrappedBuiltIns.length;){var e=(t=this._wrappedBuiltIns.shift())[0],r=t[1],n=t[2];e[r]=n}}},{key:"_errorHandler",value:function(t){this._ignoreOnError||this.captureException(t)}},{key:"_ignoreNextOnError",value:function(){var t=this;this._ignoreOnError+=1,setTimeout((function(){t._ignoreOnError-=1}))}},{key:"context",value:function(t,e,r){return f(t)&&(r=e||[],e=t,t=void 0),this.wrap(t,e).apply(this,r)}},{key:"wrap",value:function(t,e,r){var n=this;if(c(e)&&!f(t))return t;if(f(t)&&(e=t,t=void 0),!f(e))return e;try{if(e.__lr__)return e;if(e.__lr_wrapper__)return e.__lr_wrapper__;if(!Object.isExtensible(e))return e}catch(t){return e}function o(){var o=[],i=arguments.length,a=!t||t&&!1!==t.deep;for(r&&f(r)&&r.apply(this,arguments);i--;)o[i]=a?n.wrap(t,arguments[i]):arguments[i];try{return e.apply(this,o)}catch(e){throw n._ignoreNextOnError(),n.captureException(u.default.computeStackTrace(e),t),e}}for(var i in e)l(e,i)&&(o[i]=e[i]);return o.prototype=e.prototype,e.__lr_wrapper__=o,o.__lr__=!0,o.__inner__=e,o}},{key:"_instrumentTryCatch",value:function(){var t=this,e=t._wrappedBuiltIns;function r(e){return function(r,n){for(var o=new Array(arguments.length),i=0;i<o.length;++i)o[i]=arguments[i];var a=o[0];return f(a)&&(o[0]=t.wrap(a)),e.apply?e.apply(this,o):e(o[0],o[1])}}function n(r){var n=p[r]&&p[r].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(d(n,"addEventListener",(function(e){return function(r,n,o,i){try{n&&n.handleEvent&&(n.handleEvent=t.wrap(n.handleEvent))}catch(t){}return e.call(this,r,t.wrap(n,void 0,undefined),o,i)}}),e),d(n,"removeEventListener",(function(t){return function(e,r,n,o){try{r=r&&(r.__lr_wrapper__?r.__lr_wrapper__:r)}catch(t){}return t.call(this,e,r,n,o)}}),e))}d(p,"setTimeout",r,e),d(p,"setInterval",r,e),p.requestAnimationFrame&&d(p,"requestAnimationFrame",(function(e){return function(r){return e(t.wrap(r))}}),e);for(var o=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],i=0;i<o.length;i++)n(o[i]);var a=p.jQuery||p.$;a&&a.fn&&a.fn.ready&&d(a.fn,"ready",(function(e){return function(r){return e.call(this,t.wrap(r))}}),e)}}]),t}());e.default=h,t.exports=e.default}).call(this,r(6))},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){function r(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}t.exports=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){function e(t){return null===t?void 0:t}return t.stack?t.stack.map((function(t){return{lineNumber:e(t.line),columnNumber:e(t.column),fileName:e(t.url),functionName:e(t.func)}})):void 0},t.exports=e.default},function(t,e,r){"use strict";(function(t){
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.LogRocketReactNative=e():t.LogRocketReactNative=e()}(window,(function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=75)}([function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){var n=r(57),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(t.exports=r=function(t){return typeof t},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.default=t.exports,t.exports.__esModule=!0),r(e)}t.exports=r,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){var r=Array.isArray;t.exports=r},function(t,e,r){var n=r(156),o=r(161);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){var n=r(13),o=r(157),i=r(158),a=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):i(t)}},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,r){var n=r(92),o=r(93),i=r(39),a=r(94);t.exports=function(t){return n(t)||o(t)||i(t)||a()},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";(function(n){var o=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(r(3)),a=-2,u=Object.create(null),s=function(t,e){function r(r){if("function"!=typeof e[r])throw new Error("second argument to ARSON.registerType("+JSON.stringify(t)+", ...) must be an object with a "+r+" method")}r("deconstruct"),r("reconstruct"),u[t]=e},c=Object.prototype.toString;"function"==typeof n&&"function"==typeof n.isBuffer&&s("Buffer",{deconstruct:function(t){return n.isBuffer(t)&&[t.toString("base64"),"base64"]},reconstruct:function(t){return t&&n.from(t[0],t[1])}}),s("Date",{deconstruct:function(t){return"[object Date]"===c.call(t)&&[t.toJSON()]},reconstruct:function(t){return t&&new Date(t[0])}}),s("RegExp",{deconstruct:function(t){if("[object RegExp]"===c.call(t)){var e=[t.source],r="";return t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.global&&(r+="g"),r&&e.push(r),e}},reconstruct:function(t){return t&&new RegExp(t[0],t[1])}}),"function"==typeof Set&&"function"==typeof Array.from&&s("Set",{deconstruct:function(t){if("[object Set]"===c.call(t))return Array.from(t)},reconstruct:function(t){if(!t)return new Set;t.forEach(this.add,this)}}),"function"==typeof Map&&"function"==typeof Array.from&&s("Map",{deconstruct:function(t){if("[object Map]"===c.call(t))return Array.from(t)},reconstruct:function(t){if(!t)return new Map;t.forEach((function(t){this.set(t[0],t[1])}),this)}});var f={encode:function(t){return JSON.stringify(function(t){var e=[],r="function"==typeof Map&&new Map;function n(t){switch((0,i.default)(t)){case"undefined":return-1;case"number":if(isNaN(t))return-3;if(!isFinite(t))return t<0?-5:-4}var n;return r?void 0===(n=r.get(t))&&(n=e.push(t)-1,r.set(t,n)):(n=e.indexOf(t))<0&&(n=e.push(t)-1),n}function o(t){var e=t;if(t&&"object"===(0,i.default)(t)){var r=Object.keys(t);if(function(t){if(t&&"object"===(0,i.default)(t)){return(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__)===Object.prototype}return!1}(t))e={};else{if(!Array.isArray(t)){for(var o in u){var a=u[o].deconstruct(t);if(a){for(c=0;c<a.length;++c)a[c]=n(a[c]);return a.unshift(o),a}}return{}.toString.call(t)}e=Array(t.length);var s=t.length;if(s>r.length)for(var c=0;c<s;++c)e[c]=-2}r.forEach((function(r){e[r]=n(t[r])}))}return e}var a=n(t);if(a<0)return a;for(var s=[],c=0;c<e.length;++c)s[c]=o(e[c]);return s}(t))},decode:function(t){return function(t){if("number"==typeof t&&t<0)return n(t);var e=new Array(t.length);function r(t){return t in e?e[t]:e[t]=n(t)}function n(e){if(e<0){if(-1===e)return;if(e===a)return;if(-3===e)return NaN;if(-4===e)return 1/0;if(-5===e)return-1/0;throw new Error("invalid ARSON index: "+e)}var n=t[e];if(n&&"object"===(0,i.default)(n)){if(Array.isArray(n)){var c=n[0];if("string"==typeof c&&c in u){var f=u[c].reconstruct,l=f();return l&&o.push({reconstruct:f,empty:l,argIndexes:n.slice(1)}),t[e]=l||f(n.slice(1).map(r))}}s.push(n)}return n}var o=[],s=[];return t.forEach((function(t,e){r(e)})),o.forEach((function(t){t.args=t.argIndexes.map(r)})),s.forEach((function(e){Object.keys(e).forEach((function(n){var o=e[n];if("number"==typeof o)if(o<0){if(o===a)return void delete e[n];e[n]=r(o)}else e[n]=t[o]}))})),o.forEach((function(t){t.reconstruct.call(t.empty,t.args)})),t[0]}(JSON.parse(t))}};e.default=f,t.exports=e.default}).call(this,r(103).Buffer)},function(t,e,r){var n=r(146),o=r(147),i=r(148),a=r(149),u=r(150);function s(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}s.prototype.clear=n,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,t.exports=s},function(t,e,r){var n=r(55);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},function(t,e,r){var n=r(2).Symbol;t.exports=n},function(t,e,r){var n=r(5)(Object,"create");t.exports=n},function(t,e,r){var n=r(170);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},function(t,e,r){var n=r(7),o=r(8);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==n(t)}},function(t,e,r){var n=r(16);t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if(null==t)return{};var r={};return Object.keys(t).forEach((function(n){r[n]=e(t[n])})),r},t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r){var n=t[e];return t[e]=function(){for(var t,e=arguments.length,o=new Array(e),i=0;i<e;i++)o[i]=arguments[i];n&&(t=n.apply(this,o));return r.apply(this,o),t},function(){t[e]=n}},t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return t&&e&&t.substring(r,r+e.length)===e},t.exports=e.default},function(t,e,r){var n=r(3).default;function o(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,r=new WeakMap;return(o=function(t){return t?r:e})(t)}t.exports=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==n(t)&&"function"!=typeof t)return{default:t};var r=o(e);if(r&&r.has(t))return r.get(t);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&Object.prototype.hasOwnProperty.call(t,u)){var s=a?Object.getOwnPropertyDescriptor(t,u):null;s&&(s.get||s.set)?Object.defineProperty(i,u,s):i[u]=t[u]}return i.default=t,r&&r.set(t,i),i},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";(function(r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={collectWindowErrors:!0,debug:!1},o="undefined"!=typeof window?window:void 0!==r?r:"undefined"!=typeof self?self:{},i=[].slice,a="?",u=/^(?:Uncaught (?:exception: )?)?((?:Eval|Internal|Range|Reference|Syntax|Type|URI)Error): ?(.*)$/;function s(){return"undefined"==typeof document||void 0===document.location?"":document.location.href}n.report=function(){var t,e,r=[],c=null,f=null,l=null;function d(t,e){var o=null;if(!e||n.collectWindowErrors){for(var a in r)if(r.hasOwnProperty(a))try{r[a].apply(null,[t].concat(i.call(arguments,2)))}catch(t){o=t}if(o)throw o}}function p(e,r,o,i,c){if(l)n.computeStackTrace.augmentStackTraceWithInitialElement(l,r,o,e),h();else if(c)d(n.computeStackTrace(c),!0);else{var f,p={url:r,line:o,column:i},g=void 0,v=e;if("[object String]"==={}.toString.call(e))(f=e.match(u))&&(g=f[1],v=f[2]);p.func=a,d({name:g,message:v,url:s(),stack:[p]},!0)}return!!t&&t.apply(this,arguments)}function h(){var t=l,e=c;c=null,l=null,f=null,d.apply(null,[t,!1].concat(e))}function g(t,e){var r=i.call(arguments,1);if(l){if(f===t)return;h()}var o=n.computeStackTrace(t);if(l=o,f=t,c=r,setTimeout((function(){f===t&&h()}),o.incomplete?2e3:0),!1!==e)throw t}return g.subscribe=function(n){!function(){if(e)return;t=o.onerror,o.onerror=p,e=!0}(),r.push(n)},g.unsubscribe=function(t){for(var e=r.length-1;e>=0;--e)r[e]===t&&r.splice(e,1)},g.uninstall=function(){!function(){if(!e)return;o.onerror=t,e=!1,t=void 0}(),r=[]},g}(),n.computeStackTrace=function(){function t(t){if(void 0!==t.stack&&t.stack){for(var e,r,n=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|<anonymous>).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,o=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|resource|\[native).*?)(?::(\d+))?(?::(\d+))?\s*$/i,i=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,u=t.stack.split("\n"),c=[],f=(/^(.*) is undefined$/.exec(t.message),0),l=u.length;f<l;++f){if(e=n.exec(u[f])){var d=e[2]&&-1!==e[2].indexOf("native");r={url:d?null:e[2],func:e[1]||a,args:d?[e[2]]:[],line:e[3]?+e[3]:null,column:e[4]?+e[4]:null}}else if(e=i.exec(u[f]))r={url:e[2],func:e[1]||a,args:[],line:+e[3],column:e[4]?+e[4]:null};else{if(!(e=o.exec(u[f])))continue;r={url:e[3],func:e[1]||a,args:e[2]?e[2].split(","):[],line:e[4]?+e[4]:null,column:e[5]?+e[5]:null}}!r.func&&r.line&&(r.func=a),c.push(r)}return c.length?(c[0].column||void 0===t.columnNumber||(c[0].column=t.columnNumber+1),{name:t.name,message:t.message,url:s(),stack:c}):null}}function e(t,e,r,n){var o={url:e,line:r};if(o.url&&o.line){if(t.incomplete=!1,o.func||(o.func=a),t.stack.length>0&&t.stack[0].url===o.url){if(t.stack[0].line===o.line)return!1;if(!t.stack[0].line&&t.stack[0].func===o.func)return t.stack[0].line=o.line,!1}return t.stack.unshift(o),t.partial=!0,!0}return t.incomplete=!0,!1}function r(t,i){for(var u,c,f=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,l=[],d={},p=!1,h=r.caller;h&&!p;h=h.caller)if(h!==o&&h!==n.report){if(c={url:null,func:a,line:null,column:null},h.name?c.func=h.name:(u=f.exec(h.toString()))&&(c.func=u[1]),void 0===c.func)try{c.func=u.input.substring(0,u.input.indexOf("{"))}catch(t){}d[""+h]?p=!0:d[""+h]=!0,l.push(c)}i&&l.splice(0,i);var g={name:t.name,message:t.message,url:s(),stack:l};return e(g,t.sourceURL||t.fileName,t.line||t.lineNumber,t.message||t.description),g}function o(e,o){var i=null;o=null==o?0:+o;try{if(i=t(e))return i}catch(t){if(n.debug)throw t}try{if(i=r(e,o+1))return i}catch(t){if(n.debug)throw t}return{name:e.name,message:e.message,url:s()}}return o.augmentStackTraceWithInitialElement=e,o.computeStackTraceFromStackProp=t,o}();var c=n;e.default=c,t.exports=e.default}).call(this,r(6))},function(t,e,r){var n=r(5)(r(2),"Map");t.exports=n},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,r){var n=r(162),o=r(169),i=r(171),a=r(172),u=r(173);function s(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}s.prototype.clear=n,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,t.exports=s},function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,e,r){var n=r(4),o=r(16),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(n(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!o(t))||(a.test(t)||!i.test(t)||null!=e&&t in Object(e))}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MAX_CUSTOM_PROPS_PER_SESSION=e.MAX_PROPERTY_NAME_LENGTH=e.SUPPORTED_TYPES=e.RESERVED_PROP_MAPPINGS=e.RESERVED_PROPS=e.VALIDATION_ERRORS=void 0;e.VALIDATION_ERRORS={EMPTY_ARRAY:"EMPTY_ARRAY",MIXED_TYPE_ARRAY:"MIXED_TYPE_ARRAY",UNSUPPORTED_TYPE:"UNSUPPORTED_TYPE",RESERVED_TYPE_MISMATCH:"RESERVED_TYPE_MISMATCH",MAX_PROPS_REACHED:"MAX_PROPS_REACHED",NAME_TOO_LONG:"NAME_TOO_LONG",MALFORMED_VARIANT:"MALFORMED_VARIANT"};e.RESERVED_PROPS={revenue:"number"};e.RESERVED_PROP_MAPPINGS={revenue:{type:"double"}};e.SUPPORTED_TYPES=["boolean","number","string"];e.MAX_PROPERTY_NAME_LENGTH=100;e.MAX_CUSTOM_PROPS_PER_SESSION=500},function(t,e,r){var n=r(32).Context,o=r(72),i=function(t,e){this.left=t,this.right=e,this.pipe="diff"};(i.prototype=new n).setResult=function(t){if(this.options.cloneDiffValues&&"object"==typeof t){var e="function"==typeof this.options.cloneDiffValues?this.options.cloneDiffValues:o;"object"==typeof t[0]&&(t[0]=e(t[0])),"object"==typeof t[1]&&(t[1]=e(t[1]))}return n.prototype.setResult.apply(this,arguments)},e.DiffContext=i},function(t,e,r){var n=r(71).Pipe,o=function(){};o.prototype.setResult=function(t){return this.result=t,this.hasResult=!0,this},o.prototype.exit=function(){return this.exiting=!0,this},o.prototype.switchTo=function(t,e){return"string"==typeof t||t instanceof n?this.nextPipe=t:(this.next=t,e&&(this.nextPipe=e)),this},o.prototype.push=function(t,e){return t.parent=this,void 0!==e&&(t.childName=e),t.root=this.root||this,t.options=t.options||this.options,this.children?(this.children[this.children.length-1].next=t,this.children.push(t)):(this.children=[t],this.nextAfterChildren=this.next||null,this.next=t),t.next=this,this},e.Context=o},function(t,e,r){var n=r(32).Context,o=function(t,e){this.left=t,this.delta=e,this.pipe="patch"};o.prototype=new n,e.PatchContext=o},function(t,e,r){var n=r(32).Context,o=function(t){this.delta=t,this.pipe="reverse"};o.prototype=new n,e.ReverseContext=o},function(t,e){t.exports=require("react-native")},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){function r(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}t.exports=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){var n=r(38);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.setActive=function(t){s=t},e.default=function(t){var e=t.addRequest,r=t.addResponse,n=t.isIgnored,f=t.logger,l=t.shouldAugmentNPS,d=void 0===l||l,p=t.shouldParseXHRBlob,h=void 0!==p&&p,g=XMLHttpRequest,v=new WeakMap,y=!1,_="xhr-";return window._lrXMLHttpRequest=XMLHttpRequest,XMLHttpRequest=function(t,l){var p=new g(t,l);if(!s)return p;v.set(p,{xhrId:++c,headers:{}});var b=p.open;var m=p.send;d&&(p.open=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];try{var n=e[1];if(window.URL&&"function"==typeof window.URL&&0===n.search(u.WOOTRIC_RESPONSES_REGEX)){var o=new window.URL(f.recordingURL);o.searchParams.set("nps","wootric");var i=new window.URL(n),a=i.searchParams.get("response[text]"),s=a?"".concat(a,"\n\n"):"";i.searchParams.set("response[text]","".concat(s,"<").concat(o.href,"|View LogRocket session>")),e[1]=i.href}}catch(t){}return b.apply(this,e)},p.send=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];try{var n=v.get(p);if(window.URL&&"function"==typeof window.URL&&n&&n.url&&0===n.url.search(u.DELIGHTED_RESPONSES_REGEX)&&e.length&&-1!==e[0].indexOf(u.DELIGHTED_FEEDBACK_PREFIX)){var o=new window.URL(f.recordingURL);o.searchParams.set("nps","delighted");var i=encodeURIComponent(o.href),s=e[0].split("&").map((function(t){if((0,a.default)(t,u.DELIGHTED_FEEDBACK_PREFIX)){var e=t===u.DELIGHTED_FEEDBACK_PREFIX;return"".concat(t).concat(e?"":"\n\n","<").concat(i,"|View LogRocket session>")}return t})).join("&");e[0]=s}}catch(t){}return m.apply(this,e)}),(0,i.default)(p,"open",(function(t,e){if(!y){var r=v.get(p);r.method=t,r.url=e}})),(0,i.default)(p,"send",(function(t){if(!y){var r=v.get(p);if(r){var n={url:r.url,method:r.method&&r.method.toUpperCase(),headers:(0,o.default)(r.headers||{},(function(t){return t.join(", ")})),body:t};e("".concat(_).concat(r.xhrId),n)}}})),(0,i.default)(p,"setRequestHeader",(function(t,e){if(!y){var r=v.get(p);r&&(r.headers=r.headers||{},r.headers[t]=r.headers[t]||[],r.headers[t].push(e))}}));var E={readystatechange:function(){if(!y&&4===p.readyState){var t=v.get(p);if(!t)return;if(n("".concat(_).concat(t.xhrId)))return;var e,o=(p.getAllResponseHeaders()||"").split(/[\r\n]+/).reduce((function(t,e){var r=t,n=e.split(": ");if(n.length>0){var o=n.shift(),i=n.join(": ");t[o]?r[o]+=", ".concat(i):r[o]=i}return r}),{});try{switch(p.responseType){case"json":e=f._shouldCloneResponse?JSON.parse(JSON.stringify(p.response)):p.response;break;case"arraybuffer":case"blob":e=p.response;break;case"document":e=p.responseXML;break;case"text":case"":e=p.responseText;break;default:e=""}}catch(t){e="LogRocket: Error accessing response."}var i={url:t.url,status:p.status,headers:o,body:e,method:(t.method||"").toUpperCase()};if(h&&i.body instanceof Blob){var a=new FileReader;a.readAsText(i.body),a.onload=function(){try{i.body=JSON.parse(a.result)}catch(t){}r("".concat(_).concat(t.xhrId),i)}}else r("".concat(_).concat(t.xhrId),i)}}};return Object.keys(E).forEach((function(t){p.addEventListener(t,E[t])})),p},XMLHttpRequest.prototype=g.prototype,["UNSENT","OPENED","HEADERS_RECEIVED","LOADING","DONE"].forEach((function(t){XMLHttpRequest[t]=g[t]})),function(){y=!0,XMLHttpRequest=g}};var o=n(r(20)),i=n(r(21)),a=n(r(22)),u=r(41),s=!0;var c=0},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DELIGHTED_FEEDBACK_PREFIX=e.DELIGHTED_RESPONSES_REGEX=e.WOOTRIC_RESPONSES_REGEX=void 0;e.WOOTRIC_RESPONSES_REGEX=/^https:\/\/production.wootric.com\/responses/;e.DELIGHTED_RESPONSES_REGEX=/^https:\/\/web.delighted.com\/e\/[a-zA-Z-]*\/c/;e.DELIGHTED_FEEDBACK_PREFIX="comment="},function(t,e,r){"use strict";var n=r(23),o=r(0);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"registerExceptions",{enumerable:!0,get:function(){return i.default}}),e.Capture=void 0;var i=o(r(98)),a=n(r(43));e.Capture=a},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.captureMessage=function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={exceptionType:o?"CONSOLE":"MESSAGE",message:e,messageArgs:r,browserHref:window.location?window.location.href:""};s(i,n),t.addEvent("lr.core.Exception",(function(){return i}))},e.captureException=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=n||i.default.computeStackTrace(e),u={exceptionType:"WINDOW",errorType:o.name,message:o.message,browserHref:window.location?window.location.href:""};s(u,r);var c={_stackTrace:(0,a.default)(o)};t.addEvent("lr.core.Exception",(function(){return u}),c)};var o=n(r(3)),i=n(r(24)),a=n(r(102));function u(t){return/boolean|number|string/.test((0,o.default)(t))}function s(t,e){if(e){for(var r=0,n=["level","logger"];r<n.length;r++){var o=n[r],i=e[o];u(i)&&(t[o]=i.toString())}for(var a=0,s=["tags","extra"];a<s.length;a++){for(var c=s[a],f=e[c]||{},l={},d=0,p=Object.keys(f);d<p.length;d++){var h=p[d],g=f[h];u(g)&&(l[h.toString()]=g.toString())}t[c]=l}}}},function(t,e,r){"use strict";var n=r(23),o=r(0);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"enhanceFunc",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"shallowArsonify",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"shallowDearsonify",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"deepArsonify",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"deepDearsonify",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"addListener",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"protectFunc",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"findIndex",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"find",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"flatten",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"selectorMatches",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(e,"parseSelectorForMatch",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"parseSelectorForSearch",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"querySelectorWithShadowDom",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(e,"sendErrorTelemetry",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"sendTelemetry",{enumerable:!0,get:function(){return b.sendTelemetry}}),Object.defineProperty(e,"sanitizeValue",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(e,"adjustOs",{enumerable:!0,get:function(){return E.adjustOs}}),Object.defineProperty(e,"adjustOsVersion",{enumerable:!0,get:function(){return E.adjustOsVersion}}),Object.defineProperty(e,"selectorFromNodePath",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"startsWith",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(e,"endsWith",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(e,"contains",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(e,"uuid",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"randomInt",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(e,"getNodeSelector",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(e,"getGraphQLOperation",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(e,"isSessionEvent",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"isActivityEvent",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(e,"parseIntFromHex",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(e,"isRecordingSampled",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(e,"makeRecordingID",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(e,"setFromArray",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(e,"setToArray",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(e,"applyUrlSanitizer",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(e,"getMockDeveloperUser",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(e,"isDemoAppOrSandbox",{enumerable:!0,get:function(){return F.isDemoAppOrSandbox}}),Object.defineProperty(e,"isDemoOrg",{enumerable:!0,get:function(){return F.isDemoOrg}}),Object.defineProperty(e,"isSandboxOrg",{enumerable:!0,get:function(){return F.isSandboxOrg}}),Object.defineProperty(e,"isDemoApp",{enumerable:!0,get:function(){return F.isDemoApp}}),Object.defineProperty(e,"LOG_FILTER_TYPES",{enumerable:!0,get:function(){return Y.LOG_FILTER_TYPES}}),Object.defineProperty(e,"LOG_TYPES",{enumerable:!0,get:function(){return Y.LOG_TYPES}}),Object.defineProperty(e,"METRIC_TIMESERIES_TYPE",{enumerable:!0,get:function(){return B.METRIC_TIMESERIES_TYPE}}),Object.defineProperty(e,"HEATMAP_FOR_URL_OPERATOR",{enumerable:!0,get:function(){return B.HEATMAP_FOR_URL_OPERATOR}}),Object.defineProperty(e,"DEFAULT_HEATMAP_FOR_URL_OPERATOR",{enumerable:!0,get:function(){return B.DEFAULT_HEATMAP_FOR_URL_OPERATOR}}),Object.defineProperty(e,"DEFAULT_INSIGHTS_HEATMAP_FOR_URL_OPERATOR",{enumerable:!0,get:function(){return B.DEFAULT_INSIGHTS_HEATMAP_FOR_URL_OPERATOR}}),Object.defineProperty(e,"SORT_DIRECTION",{enumerable:!0,get:function(){return B.SORT_DIRECTION}}),Object.defineProperty(e,"FEEDBACK_SORT_COLUMN",{enumerable:!0,get:function(){return B.FEEDBACK_SORT_COLUMN}}),Object.defineProperty(e,"ISSUE_TYPE",{enumerable:!0,get:function(){return G.ISSUE_TYPE}}),Object.defineProperty(e,"ISSUE_GROUP_TYPE",{enumerable:!0,get:function(){return G.ISSUE_GROUP_TYPE}}),Object.defineProperty(e,"ES_ISSUE_TYPE_BASE_FILTER",{enumerable:!0,get:function(){return G.ES_ISSUE_TYPE_BASE_FILTER}}),Object.defineProperty(e,"ES_ISSUE_TYPES",{enumerable:!0,get:function(){return G.ES_ISSUE_TYPES}}),Object.defineProperty(e,"DYNAMIC_ES_ISSUE_TYPES",{enumerable:!0,get:function(){return G.DYNAMIC_ES_ISSUE_TYPES}}),Object.defineProperty(e,"HASHED_ES_ISSUE_TYPES",{enumerable:!0,get:function(){return G.HASHED_ES_ISSUE_TYPES}}),Object.defineProperty(e,"ES_ISSUE_TYPE_GROUP_FIELD",{enumerable:!0,get:function(){return G.ES_ISSUE_TYPE_GROUP_FIELD}}),Object.defineProperty(e,"findKeyFrames",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(e,"interpolate",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(e,"interpolateMobile",{enumerable:!0,get:function(){return X.interpolateMobile}}),Object.defineProperty(e,"removeOutdated",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(e,"APP_PROACTIVE_INSIGHTS",{enumerable:!0,get:function(){return V.APP_PROACTIVE_INSIGHTS}}),Object.defineProperty(e,"DEMO_ORG_SLUG",{enumerable:!0,get:function(){return V.DEMO_ORG_SLUG}}),Object.defineProperty(e,"DEMO_APP_SLUG",{enumerable:!0,get:function(){return V.DEMO_APP_SLUG}}),Object.defineProperty(e,"DEMO_APP_ID",{enumerable:!0,get:function(){return V.DEMO_APP_ID}}),Object.defineProperty(e,"SANDBOX_SOURCE_ORG_SLUG",{enumerable:!0,get:function(){return V.SANDBOX_SOURCE_ORG_SLUG}}),Object.defineProperty(e,"knownMetricTypes",{enumerable:!0,get:function(){return z.knownMetricTypes}}),Object.defineProperty(e,"DELIGHTED_RESPONSES_REGEX",{enumerable:!0,get:function(){return W.DELIGHTED_RESPONSES_REGEX}}),Object.defineProperty(e,"WOOTRIC_RESPONSES_REGEX",{enumerable:!0,get:function(){return W.WOOTRIC_RESPONSES_REGEX}}),Object.defineProperty(e,"SDK_TYPES",{enumerable:!0,get:function(){return K.SDK_TYPES}}),Object.defineProperty(e,"SDK_TYPE_TO_DISPLAY",{enumerable:!0,get:function(){return K.SDK_TYPE_TO_DISPLAY}}),Object.defineProperty(e,"SESSION_TYPES",{enumerable:!0,get:function(){return K.SESSION_TYPES}}),Object.defineProperty(e,"SESSION_TYPE_TO_DISPLAY",{enumerable:!0,get:function(){return K.SESSION_TYPE_TO_DISPLAY}}),Object.defineProperty(e,"parseQueryString",{enumerable:!0,get:function(){return $.parseQueryString}}),Object.defineProperty(e,"likeOperator",{enumerable:!0,get:function(){return J.likeOperator}}),Object.defineProperty(e,"scrollMapHistogramToPercent",{enumerable:!0,get:function(){return Q.default}}),e.MobileConstants=void 0;var i=o(r(21)),a=o(r(108)),u=o(r(109)),s=o(r(110)),c=o(r(111)),f=o(r(112)),l=o(r(45)),d=o(r(48)),p=o(r(113)),h=o(r(114)),g=o(r(115)),v=o(r(116)),y=o(r(120)),_=o(r(121)),b=n(r(46)),m=o(r(122)),E=r(123),O=o(r(124)),x=o(r(22)),w=o(r(125)),S=o(r(126)),P=o(r(50)),R=o(r(127)),A=o(r(128)),T=o(r(129)),j=o(r(130)),I=o(r(131)),M=o(r(51)),D=o(r(132)),L=o(r(133)),N=o(r(134)),k=o(r(135)),C=o(r(136)),U=o(r(137)),F=r(138),Y=r(139),B=r(140),G=r(141),H=o(r(142)),X=n(r(225)),q=o(r(226)),V=r(52),z=r(227),W=r(41),K=r(228),$=r(229),J=r(230),Q=o(r(231)),Z=n(r(232));e.MobileConstants=Z},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};return function(){var r;try{r=t.apply(void 0,arguments)}catch(t){if("undefined"!=typeof window&&window._lrdebug)throw t;var n=e(t);(0,i.default)("LogRocket",t),(0,o.default)(t,n)}return r}};var o=n(r(46)),i=n(r(47));t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.sendTelemetry=function(t,e){if("undefined"!=typeof window&&window._lrdebug)return void(0,i.default)(t);if(e&&e.extra&&e.extra.appID&&"function"==typeof e.extra.appID.indexOf&&0===e.extra.appID.indexOf("au2drp/")&&Math.random()>=.25)return;c(s({message:t},e))},e.default=function(t,e){try{var r,n,o=t.message;try{r=JSON.stringify(e).slice(0,1e3)}catch(t){try{r="Could not stringify payload: ".concat(Object.prototype.toString.call(e))}catch(t){}}try{n=a.default.computeStackTrace(t).stack.map((function(t){return{filename:t.url,lineno:t.line,colno:t.column,function:t.func||"?"}}))}catch(t){}c({message:o,extra:{stringPayload:r},exception:{values:[{type:t.type,value:o,stacktrace:{frames:n}}]}})}catch(t){(0,i.default)("Failed to send",t)}};var o=n(r(1)),i=n(r(47)),a=n(r(24));function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?u(Object(r),!0).forEach((function(e){(0,o.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function c(t){var e=window._lrXMLHttpRequest||XMLHttpRequest;try{var r=new e,n=t.message;r.open("POST","https://e.logrocket.com/api/3/store/?sentry_version=7&sentry_client=http%2F3.8.0&sentry_key=b64162b4187a4c5caae8a68a7e291793"),r.send(JSON.stringify(s({message:n,logger:"javascript",platform:"javascript",request:{headers:{"User-Agent":"undefined"!=typeof navigator&&navigator.userAgent},url:"undefined"!=typeof location&&location.href},release:"11ab452e91f266837dd42e3f2b793a6afd19bff0",environment:"test"},t)))}catch(t){(0,i.default)("Failed to send",t)}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n="undefined"!=typeof console&&console.error&&console.error.bind?console.error.bind(console):function(){};e.default=n,t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){for(var r=0;r<t.length;r++)if(e(t[r]))return r;return-1},t.exports=e.default},function(t,e,r){var n=r(117),o=r(118),i=r(39),a=r(119);t.exports=function(t,e){return n(t)||o(t,e)||i(t,e)||a()},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function t(e){return e?(e^16*Math.random()>>e/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,t)},t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.replace(/[^0-9a-f]/g,"");return parseInt("0x".concat(e),16)||0},t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.APP_PROACTIVE_INSIGHTS=e.SANDBOX_SOURCE_ORG_SLUG=e.DEMO_APP_ID=e.DEMO_APP_SLUG=e.DEMO_ORG_SLUG=void 0;var o=n(r(1)),i="demo-kdz7k";e.DEMO_ORG_SLUG=i;var a="logrocket";e.DEMO_APP_SLUG=a;var u="".concat(i,"/").concat(a);e.DEMO_APP_ID=u;e.SANDBOX_SOURCE_ORG_SLUG="sandbox-source";var s=(0,o.default)({},u,[{tags:["Checkout","Lost Conversion"],date:"04/16/2021",frequency:100,impact:"100",description:'User attempting to checkout but "Buy Now" button is unresponsive',rootCause:'Cannot read "key" of undefined',issueLink:"https://demo.logrocket.com/demo-kdz7k/logrocket/issue/g49?from=issues&issueType=EXCEPTION&issueTypeOption=EXCEPTION",sessionLink:"https://demo.logrocket.com/demo-kdz7k/logrocket/s/4-9db65df9-57a5-4b94-b3d7-be87886b64ab/0?fromTab=latest",metricLink:"https://demo.logrocket.com/demo-kdz7k/logrocket/metrics/4/metric/25"},{tags:["New User","Lost Signup"],date:"04/16/2021",frequency:75,impact:"75",description:"User lands on blank page after login flow.",rootCause:"Network Failure 500 Get",issueLink:"https://demo.logrocket.com/demo-kdz7k/logrocket/issue/829?from=issues&issueType=NETWORK_ERROR&issueTypeOption=NETWORK_ERROR",sessionLink:"https://demo.logrocket.com/demo-kdz7k/logrocket/s/4-9db65df9-57a5-4b94-b3d7-be87886b64ab/0?fromTab=latest",metricLink:"https://demo.logrocket.com/demo-kdz7k/logrocket/metrics/4/metric/25"},{tags:["UX","Poor Experience"],date:"04/16/2021",frequency:50,impact:"50",description:"User attempts to edit amount in cart but sees red error message.",rootCause:"TypeError: S is undefined",issueLink:"https://demo.logrocket.com/demo-kdz7k/logrocket/issue/17?from=issues%2Fneeds-triage&issueOffset=10&issueType=EXCEPTION",sessionLink:"https://demo.logrocket.com/demo-kdz7k/logrocket/s/4-9db65df9-57a5-4b94-b3d7-be87886b64ab/0?fromTab=latest",metricLink:"https://demo.logrocket.com/demo-kdz7k/logrocket/metrics/4/metric/25"},{tags:["UX","Poor Experience"],date:"04/16/2021",frequency:25,impact:"25",description:'Trend: User noticed rage-clicking on "Add to cart". Sluggish responsiveness but eventually works.',rootCause:"unclear; noticed with Rage Click filter",issueLink:"",sessionLink:"https://demo.logrocket.com/demo-kdz7k/logrocket/s/4-9db65df9-57a5-4b94-b3d7-be87886b64ab/0?fromTab=latest",metricLink:"https://demo.logrocket.com/demo-kdz7k/logrocket/metrics/4/metric/25"},{tags:["UX","Poor Experience"],date:"04/16/2021",frequency:50,impact:"50",description:'Trend: Users seen struggling to click/accept the "we use cookies ... ok" button.',rootCause:"unclear; noticed with Rage Click filter",issueLink:"",sessionLink:"https://demo.logrocket.com/demo-kdz7k/logrocket/s/4-9db65df9-57a5-4b94-b3d7-be87886b64ab/0?fromTab=latest",metricLink:"https://demo.logrocket.com/demo-kdz7k/logrocket/metrics/4/metric/25"}]);e.APP_PROACTIVE_INSIGHTS=s},function(t,e,r){var n=r(143),o=r(224);t.exports=function(t,e,r){return o(t,e,n(r,2),!0)}},function(t,e,r){var n=r(11),o=r(151),i=r(152),a=r(153),u=r(154),s=r(155);function c(t){var e=this.__data__=new n(t);this.size=e.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=u,c.prototype.set=s,t.exports=c},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,r){var n=r(7),o=r(26);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,r){(function(e){var r="object"==typeof e&&e&&e.Object===Object&&e;t.exports=r}).call(this,r(6))},function(t,e){var r=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e,r){var n=r(174),o=r(8);t.exports=function t(e,r,i,a,u){return e===r||(null==e||null==r||!o(e)&&!o(r)?e!=e&&r!=r:n(e,r,i,a,t,u))}},function(t,e,r){var n=r(175),o=r(178),i=r(179);t.exports=function(t,e,r,a,u,s){var c=1&r,f=t.length,l=e.length;if(f!=l&&!(c&&l>f))return!1;var d=s.get(t),p=s.get(e);if(d&&p)return d==e&&p==t;var h=-1,g=!0,v=2&r?new n:void 0;for(s.set(t,e),s.set(e,t);++h<f;){var y=t[h],_=e[h];if(a)var b=c?a(_,y,h,e,t,s):a(y,_,h,t,e,s);if(void 0!==b){if(b)continue;g=!1;break}if(v){if(!o(e,(function(t,e){if(!i(v,e)&&(y===t||u(y,t,r,a,s)))return v.push(e)}))){g=!1;break}}else if(y!==_&&!u(y,_,r,a,s)){g=!1;break}}return s.delete(t),s.delete(e),g}},function(t,e,r){var n=r(191),o=r(198),i=r(202);t.exports=function(t){return i(t)?n(t):o(t)}},function(t,e,r){var n=r(193),o=r(8),i=Object.prototype,a=i.hasOwnProperty,u=i.propertyIsEnumerable,s=n(function(){return arguments}())?n:function(t){return o(t)&&a.call(t,"callee")&&!u.call(t,"callee")};t.exports=s},function(t,e,r){(function(t){var n=r(2),o=r(194),i=e&&!e.nodeType&&e,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,u=a&&a.exports===i?n.Buffer:void 0,s=(u?u.isBuffer:void 0)||o;t.exports=s}).call(this,r(64)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e){var r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&r.test(t))&&t>-1&&t%1==0&&t<e}},function(t,e,r){var n=r(195),o=r(196),i=r(197),a=i&&i.isTypedArray,u=a?o(a):n;t.exports=u},function(t,e,r){var n=r(26);t.exports=function(t){return t==t&&!n(t)}},function(t,e){t.exports=function(t,e){return function(r){return null!=r&&(r[t]===e&&(void 0!==e||t in Object(r)))}}},function(t,e,r){var n=r(70),o=r(17);t.exports=function(t,e){for(var r=0,i=(e=n(e,t)).length;null!=t&&r<i;)t=t[o(e[r++])];return r&&r==i?t:void 0}},function(t,e,r){var n=r(4),o=r(29),i=r(211),a=r(214);t.exports=function(t,e){return n(t)?t:o(t,e)?[t]:i(a(t))}},function(t,e){var r=function(t){this.name=t,this.filters=[]};r.prototype.process=function(t){if(!this.processor)throw new Error("add this pipe to a processor before using it");for(var e=this.debug,r=this.filters.length,n=t,o=0;o<r;o++){var i=this.filters[o];if(e&&this.log("filter: "+i.filterName),i(n),"object"==typeof n&&n.exiting){n.exiting=!1;break}}!n.next&&this.resultCheck&&this.resultCheck(n)},r.prototype.log=function(t){console.log("[jsondiffpatch] "+this.name+" pipe, "+t)},r.prototype.append=function(){return this.filters.push.apply(this.filters,arguments),this},r.prototype.prepend=function(){return this.filters.unshift.apply(this.filters,arguments),this},r.prototype.indexOf=function(t){if(!t)throw new Error("a filter name is required");for(var e=0;e<this.filters.length;e++){if(this.filters[e].filterName===t)return e}throw new Error("filter not found: "+t)},r.prototype.list=function(){for(var t=[],e=0;e<this.filters.length;e++){var r=this.filters[e];t.push(r.filterName)}return t},r.prototype.after=function(t){var e=this.indexOf(t),r=Array.prototype.slice.call(arguments,1);if(!r.length)throw new Error("a filter is required");return r.unshift(e+1,0),Array.prototype.splice.apply(this.filters,r),this},r.prototype.before=function(t){var e=this.indexOf(t),r=Array.prototype.slice.call(arguments,1);if(!r.length)throw new Error("a filter is required");return r.unshift(e,0),Array.prototype.splice.apply(this.filters,r),this},r.prototype.clear=function(){return this.filters.length=0,this},r.prototype.shouldHaveResult=function(t){if(!1!==t){if(!this.resultCheck){var e=this;return this.resultCheck=function(t){if(!t.hasResult){console.log(t);var r=new Error(e.name+" failed");throw r.noResult=!0,r}},this}}else this.resultCheck=null},e.Pipe=r},function(t,e){var r="function"==typeof Array.isArray?Array.isArray:function(t){return t instanceof Array};t.exports=function t(e){if("object"!=typeof e)return e;if(null===e)return null;if(r(e))return e.map(t);if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return n=/^\/(.*)\/([gimyu]*)$/.exec(e.toString()),new RegExp(n[1],n[2]);var n,o={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(o[i]=t(e[i]));return o}},function(t,e){function r(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32}var n=-1;r.Diff,r.prototype.diff_main=function(t,e,r,n){void 0===n&&(n=this.Diff_Timeout<=0?Number.MAX_VALUE:(new Date).getTime()+1e3*this.Diff_Timeout);var o=n;if(null==t||null==e)throw new Error("Null input. (diff_main)");if(t==e)return t?[[0,t]]:[];void 0===r&&(r=!0);var i=r,a=this.diff_commonPrefix(t,e),u=t.substring(0,a);t=t.substring(a),e=e.substring(a),a=this.diff_commonSuffix(t,e);var s=t.substring(t.length-a);t=t.substring(0,t.length-a),e=e.substring(0,e.length-a);var c=this.diff_compute_(t,e,i,o);return u&&c.unshift([0,u]),s&&c.push([0,s]),this.diff_cleanupMerge(c),c},r.prototype.diff_compute_=function(t,e,r,o){var i;if(!t)return[[1,e]];if(!e)return[[n,t]];var a=t.length>e.length?t:e,u=t.length>e.length?e:t,s=a.indexOf(u);if(-1!=s)return i=[[1,a.substring(0,s)],[0,u],[1,a.substring(s+u.length)]],t.length>e.length&&(i[0][0]=i[2][0]=n),i;if(1==u.length)return[[n,t],[1,e]];a=u=null;var c=this.diff_halfMatch_(t,e);if(c){var f=c[0],l=c[1],d=c[2],p=c[3],h=c[4],g=this.diff_main(f,d,r,o),v=this.diff_main(l,p,r,o);return g.concat([[0,h]],v)}return r&&t.length>100&&e.length>100?this.diff_lineMode_(t,e,o):this.diff_bisect_(t,e,o)},r.prototype.diff_lineMode_=function(t,e,r){t=(l=this.diff_linesToChars_(t,e))[0],e=l[1];var o=l[2],i=this.diff_bisect_(t,e,r);this.diff_charsToLines_(i,o),this.diff_cleanupSemantic(i),i.push([0,""]);for(var a=0,u=0,s=0,c="",f="";a<i.length;){switch(i[a][0]){case 1:s++,f+=i[a][1];break;case n:u++,c+=i[a][1];break;case 0:if(u>=1&&s>=1){var l=this.diff_main(c,f,!1,r);i.splice(a-u-s,u+s),a=a-u-s;for(var d=l.length-1;d>=0;d--)i.splice(a,0,l[d]);a+=l.length}s=0,u=0,c="",f=""}a++}return i.pop(),i},r.prototype.diff_bisect_=function(t,e,r){for(var o=t.length,i=e.length,a=Math.ceil((o+i)/2),u=a,s=2*a,c=new Array(s),f=new Array(s),l=0;l<s;l++)c[l]=-1,f[l]=-1;c[u+1]=0,f[u+1]=0;for(var d=o-i,p=d%2!=0,h=0,g=0,v=0,y=0,_=0;_<a&&!((new Date).getTime()>r);_++){for(var b=-_+h;b<=_-g;b+=2){for(var m=u+b,E=(P=b==-_||b!=_&&c[m-1]<c[m+1]?c[m+1]:c[m-1]+1)-b;P<o&&E<i&&t.charAt(P)==e.charAt(E);)P++,E++;if(c[m]=P,P>o)g+=2;else if(E>i)h+=2;else if(p){if((w=u+d-b)>=0&&w<s&&-1!=f[w])if(P>=(x=o-f[w]))return this.diff_bisectSplit_(t,e,P,E,r)}}for(var O=-_+v;O<=_-y;O+=2){for(var x,w=u+O,S=(x=O==-_||O!=_&&f[w-1]<f[w+1]?f[w+1]:f[w-1]+1)-O;x<o&&S<i&&t.charAt(o-x-1)==e.charAt(i-S-1);)x++,S++;if(f[w]=x,x>o)y+=2;else if(S>i)v+=2;else if(!p){if((m=u+d-O)>=0&&m<s&&-1!=c[m]){var P;E=u+(P=c[m])-m;if(P>=(x=o-x))return this.diff_bisectSplit_(t,e,P,E,r)}}}}return[[n,t],[1,e]]},r.prototype.diff_bisectSplit_=function(t,e,r,n,o){var i=t.substring(0,r),a=e.substring(0,n),u=t.substring(r),s=e.substring(n),c=this.diff_main(i,a,!1,o),f=this.diff_main(u,s,!1,o);return c.concat(f)},r.prototype.diff_linesToChars_=function(t,e){var r=[],n={};function o(t){for(var e="",o=0,i=-1,a=r.length;i<t.length-1;){-1==(i=t.indexOf("\n",o))&&(i=t.length-1);var u=t.substring(o,i+1);o=i+1,(n.hasOwnProperty?n.hasOwnProperty(u):void 0!==n[u])?e+=String.fromCharCode(n[u]):(e+=String.fromCharCode(a),n[u]=a,r[a++]=u)}return e}return r[0]="",[o(t),o(e),r]},r.prototype.diff_charsToLines_=function(t,e){for(var r=0;r<t.length;r++){for(var n=t[r][1],o=[],i=0;i<n.length;i++)o[i]=e[n.charCodeAt(i)];t[r][1]=o.join("")}},r.prototype.diff_commonPrefix=function(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;for(var r=0,n=Math.min(t.length,e.length),o=n,i=0;r<o;)t.substring(i,o)==e.substring(i,o)?i=r=o:n=o,o=Math.floor((n-r)/2+r);return o},r.prototype.diff_commonSuffix=function(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;for(var r=0,n=Math.min(t.length,e.length),o=n,i=0;r<o;)t.substring(t.length-o,t.length-i)==e.substring(e.length-o,e.length-i)?i=r=o:n=o,o=Math.floor((n-r)/2+r);return o},r.prototype.diff_commonOverlap_=function(t,e){var r=t.length,n=e.length;if(0==r||0==n)return 0;r>n?t=t.substring(r-n):r<n&&(e=e.substring(0,r));var o=Math.min(r,n);if(t==e)return o;for(var i=0,a=1;;){var u=t.substring(o-a),s=e.indexOf(u);if(-1==s)return i;a+=s,0!=s&&t.substring(o-a)!=e.substring(0,a)||(i=a,a++)}},r.prototype.diff_halfMatch_=function(t,e){if(this.Diff_Timeout<=0)return null;var r=t.length>e.length?t:e,n=t.length>e.length?e:t;if(r.length<4||2*n.length<r.length)return null;var o=this;function i(t,e,r){for(var n,i,a,u,s=t.substring(r,r+Math.floor(t.length/4)),c=-1,f="";-1!=(c=e.indexOf(s,c+1));){var l=o.diff_commonPrefix(t.substring(r),e.substring(c)),d=o.diff_commonSuffix(t.substring(0,r),e.substring(0,c));f.length<d+l&&(f=e.substring(c-d,c)+e.substring(c,c+l),n=t.substring(0,r-d),i=t.substring(r+l),a=e.substring(0,c-d),u=e.substring(c+l))}return 2*f.length>=t.length?[n,i,a,u,f]:null}var a,u,s,c,f,l=i(r,n,Math.ceil(r.length/4)),d=i(r,n,Math.ceil(r.length/2));return l||d?(a=d?l&&l[4].length>d[4].length?l:d:l,t.length>e.length?(u=a[0],s=a[1],c=a[2],f=a[3]):(c=a[0],f=a[1],u=a[2],s=a[3]),[u,s,c,f,a[4]]):null},r.prototype.diff_cleanupSemantic=function(t){for(var e=!1,r=[],o=0,i=null,a=0,u=0,s=0,c=0,f=0;a<t.length;)0==t[a][0]?(r[o++]=a,u=c,s=f,c=0,f=0,i=t[a][1]):(1==t[a][0]?c+=t[a][1].length:f+=t[a][1].length,null!==i&&i.length<=Math.max(u,s)&&i.length<=Math.max(c,f)&&(t.splice(r[o-1],0,[n,i]),t[r[o-1]+1][0]=1,o--,a=--o>0?r[o-1]:-1,u=0,s=0,c=0,f=0,i=null,e=!0)),a++;for(e&&this.diff_cleanupMerge(t),this.diff_cleanupSemanticLossless(t),a=1;a<t.length;){if(t[a-1][0]==n&&1==t[a][0]){var l=t[a-1][1],d=t[a][1],p=this.diff_commonOverlap_(l,d);(p>=l.length/2||p>=d.length/2)&&(t.splice(a,0,[0,d.substring(0,p)]),t[a-1][1]=l.substring(0,l.length-p),t[a+1][1]=d.substring(p),a++),a++}a++}},r.prototype.diff_cleanupSemanticLossless=function(t){var e=/[^a-zA-Z0-9]/,r=/\s/,n=/[\r\n]/,o=/\n\r?\n$/,i=/^\r?\n\r?\n/;function a(t,a){if(!t||!a)return 5;var u=0;return(t.charAt(t.length-1).match(e)||a.charAt(0).match(e))&&(u++,(t.charAt(t.length-1).match(r)||a.charAt(0).match(r))&&(u++,(t.charAt(t.length-1).match(n)||a.charAt(0).match(n))&&(u++,(t.match(o)||a.match(i))&&u++))),u}for(var u=1;u<t.length-1;){if(0==t[u-1][0]&&0==t[u+1][0]){var s=t[u-1][1],c=t[u][1],f=t[u+1][1],l=this.diff_commonSuffix(s,c);if(l){var d=c.substring(c.length-l);s=s.substring(0,s.length-l),c=d+c.substring(0,c.length-l),f=d+f}for(var p=s,h=c,g=f,v=a(s,c)+a(c,f);c.charAt(0)===f.charAt(0);){s+=c.charAt(0),c=c.substring(1)+f.charAt(0),f=f.substring(1);var y=a(s,c)+a(c,f);y>=v&&(v=y,p=s,h=c,g=f)}t[u-1][1]!=p&&(p?t[u-1][1]=p:(t.splice(u-1,1),u--),t[u][1]=h,g?t[u+1][1]=g:(t.splice(u+1,1),u--))}u++}},r.prototype.diff_cleanupEfficiency=function(t){for(var e=!1,r=[],o=0,i="",a=0,u=!1,s=!1,c=!1,f=!1;a<t.length;)0==t[a][0]?(t[a][1].length<this.Diff_EditCost&&(c||f)?(r[o++]=a,u=c,s=f,i=t[a][1]):(o=0,i=""),c=f=!1):(t[a][0]==n?f=!0:c=!0,i&&(u&&s&&c&&f||i.length<this.Diff_EditCost/2&&u+s+c+f==3)&&(t.splice(r[o-1],0,[n,i]),t[r[o-1]+1][0]=1,o--,i="",u&&s?(c=f=!0,o=0):(a=--o>0?r[o-1]:-1,c=f=!1),e=!0)),a++;e&&this.diff_cleanupMerge(t)},r.prototype.diff_cleanupMerge=function(t){t.push([0,""]);for(var e,r=0,o=0,i=0,a="",u="";r<t.length;)switch(t[r][0]){case 1:i++,u+=t[r][1],r++;break;case n:o++,a+=t[r][1],r++;break;case 0:o+i>1?(0!==o&&0!==i&&(0!==(e=this.diff_commonPrefix(u,a))&&(r-o-i>0&&0==t[r-o-i-1][0]?t[r-o-i-1][1]+=u.substring(0,e):(t.splice(0,0,[0,u.substring(0,e)]),r++),u=u.substring(e),a=a.substring(e)),0!==(e=this.diff_commonSuffix(u,a))&&(t[r][1]=u.substring(u.length-e)+t[r][1],u=u.substring(0,u.length-e),a=a.substring(0,a.length-e))),0===o?t.splice(r-o-i,o+i,[1,u]):0===i?t.splice(r-o-i,o+i,[n,a]):t.splice(r-o-i,o+i,[n,a],[1,u]),r=r-o-i+(o?1:0)+(i?1:0)+1):0!==r&&0==t[r-1][0]?(t[r-1][1]+=t[r][1],t.splice(r,1)):r++,i=0,o=0,a="",u=""}""===t[t.length-1][1]&&t.pop();var s=!1;for(r=1;r<t.length-1;)0==t[r-1][0]&&0==t[r+1][0]&&(t[r][1].substring(t[r][1].length-t[r-1][1].length)==t[r-1][1]?(t[r][1]=t[r-1][1]+t[r][1].substring(0,t[r][1].length-t[r-1][1].length),t[r+1][1]=t[r-1][1]+t[r+1][1],t.splice(r-1,1),s=!0):t[r][1].substring(0,t[r+1][1].length)==t[r+1][1]&&(t[r-1][1]+=t[r+1][1],t[r][1]=t[r][1].substring(t[r+1][1].length)+t[r+1][1],t.splice(r+1,1),s=!0)),r++;s&&this.diff_cleanupMerge(t)},r.prototype.diff_xIndex=function(t,e){var r,o=0,i=0,a=0,u=0;for(r=0;r<t.length&&(1!==t[r][0]&&(o+=t[r][1].length),t[r][0]!==n&&(i+=t[r][1].length),!(o>e));r++)a=o,u=i;return t.length!=r&&t[r][0]===n?u:u+(e-a)},r.prototype.diff_prettyHtml=function(t){for(var e=[],r=/&/g,o=/</g,i=/>/g,a=/\n/g,u=0;u<t.length;u++){var s=t[u][0],c=t[u][1],f=c.replace(r,"&").replace(o,"<").replace(i,">").replace(a,"¶<br>");switch(s){case 1:e[u]='<ins style="background:#e6ffe6;">'+f+"</ins>";break;case n:e[u]='<del style="background:#ffe6e6;">'+f+"</del>";break;case 0:e[u]="<span>"+f+"</span>"}s!==n&&c.length}return e.join("")},r.prototype.diff_text1=function(t){for(var e=[],r=0;r<t.length;r++)1!==t[r][0]&&(e[r]=t[r][1]);return e.join("")},r.prototype.diff_text2=function(t){for(var e=[],r=0;r<t.length;r++)t[r][0]!==n&&(e[r]=t[r][1]);return e.join("")},r.prototype.diff_levenshtein=function(t){for(var e=0,r=0,o=0,i=0;i<t.length;i++){var a=t[i][0],u=t[i][1];switch(a){case 1:r+=u.length;break;case n:o+=u.length;break;case 0:e+=Math.max(r,o),r=0,o=0}}return e+=Math.max(r,o)},r.prototype.diff_toDelta=function(t){for(var e=[],r=0;r<t.length;r++)switch(t[r][0]){case 1:e[r]="+"+encodeURI(t[r][1]);break;case n:e[r]="-"+t[r][1].length;break;case 0:e[r]="="+t[r][1].length}return e.join("\t").replace(/%20/g," ")},r.prototype.diff_fromDelta=function(t,e){for(var r=[],o=0,i=0,a=e.split(/\t/g),u=0;u<a.length;u++){var s=a[u].substring(1);switch(a[u].charAt(0)){case"+":try{r[o++]=[1,decodeURI(s)]}catch(t){throw new Error("Illegal escape in diff_fromDelta: "+s)}break;case"-":case"=":var c=parseInt(s,10);if(isNaN(c)||c<0)throw new Error("Invalid number in diff_fromDelta: "+s);var f=t.substring(i,i+=c);"="==a[u].charAt(0)?r[o++]=[0,f]:r[o++]=[n,f];break;default:if(a[u])throw new Error("Invalid diff operation in diff_fromDelta: "+a[u])}}if(i!=t.length)throw new Error("Delta length ("+i+") does not equal source text length ("+t.length+").");return r},r.prototype.match_main=function(t,e,r){if(null==t||null==e||null==r)throw new Error("Null input. (match_main)");return r=Math.max(0,Math.min(r,t.length)),t==e?0:t.length?t.substring(r,r+e.length)==e?r:this.match_bitap_(t,e,r):-1},r.prototype.match_bitap_=function(t,e,r){if(e.length>this.Match_MaxBits)throw new Error("Pattern too long for this browser.");var n=this.match_alphabet_(e),o=this;function i(t,n){var i=t/e.length,a=Math.abs(r-n);return o.Match_Distance?i+a/o.Match_Distance:a?1:i}var a=this.Match_Threshold,u=t.indexOf(e,r);-1!=u&&(a=Math.min(i(0,u),a),-1!=(u=t.lastIndexOf(e,r+e.length))&&(a=Math.min(i(0,u),a)));var s,c,f=1<<e.length-1;u=-1;for(var l,d=e.length+t.length,p=0;p<e.length;p++){for(s=0,c=d;s<c;)i(p,r+c)<=a?s=c:d=c,c=Math.floor((d-s)/2+s);d=c;var h=Math.max(1,r-c+1),g=Math.min(r+c,t.length)+e.length,v=Array(g+2);v[g+1]=(1<<p)-1;for(var y=g;y>=h;y--){var _=n[t.charAt(y-1)];if(v[y]=0===p?(v[y+1]<<1|1)&_:(v[y+1]<<1|1)&_|(l[y+1]|l[y])<<1|1|l[y+1],v[y]&f){var b=i(p,y-1);if(b<=a){if(a=b,!((u=y-1)>r))break;h=Math.max(1,2*r-u)}}}if(i(p+1,r)>a)break;l=v}return u},r.prototype.match_alphabet_=function(t){for(var e={},r=0;r<t.length;r++)e[t.charAt(r)]=0;for(r=0;r<t.length;r++)e[t.charAt(r)]|=1<<t.length-r-1;return e},r.prototype.patch_addContext_=function(t,e){if(0!=e.length){for(var r=e.substring(t.start2,t.start2+t.length1),n=0;e.indexOf(r)!=e.lastIndexOf(r)&&r.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)n+=this.Patch_Margin,r=e.substring(t.start2-n,t.start2+t.length1+n);n+=this.Patch_Margin;var o=e.substring(t.start2-n,t.start2);o&&t.diffs.unshift([0,o]);var i=e.substring(t.start2+t.length1,t.start2+t.length1+n);i&&t.diffs.push([0,i]),t.start1-=o.length,t.start2-=o.length,t.length1+=o.length+i.length,t.length2+=o.length+i.length}},r.prototype.patch_make=function(t,e,o){var i,a;if("string"==typeof t&&"string"==typeof e&&void 0===o)i=t,(a=this.diff_main(i,e,!0)).length>2&&(this.diff_cleanupSemantic(a),this.diff_cleanupEfficiency(a));else if(t&&"object"==typeof t&&void 0===e&&void 0===o)a=t,i=this.diff_text1(a);else if("string"==typeof t&&e&&"object"==typeof e&&void 0===o)i=t,a=e;else{if("string"!=typeof t||"string"!=typeof e||!o||"object"!=typeof o)throw new Error("Unknown call format to patch_make.");i=t,a=o}if(0===a.length)return[];for(var u=[],s=new r.patch_obj,c=0,f=0,l=0,d=i,p=i,h=0;h<a.length;h++){var g=a[h][0],v=a[h][1];switch(c||0===g||(s.start1=f,s.start2=l),g){case 1:s.diffs[c++]=a[h],s.length2+=v.length,p=p.substring(0,l)+v+p.substring(l);break;case n:s.length1+=v.length,s.diffs[c++]=a[h],p=p.substring(0,l)+p.substring(l+v.length);break;case 0:v.length<=2*this.Patch_Margin&&c&&a.length!=h+1?(s.diffs[c++]=a[h],s.length1+=v.length,s.length2+=v.length):v.length>=2*this.Patch_Margin&&c&&(this.patch_addContext_(s,d),u.push(s),s=new r.patch_obj,c=0,d=p,f=l)}1!==g&&(f+=v.length),g!==n&&(l+=v.length)}return c&&(this.patch_addContext_(s,d),u.push(s)),u},r.prototype.patch_deepCopy=function(t){for(var e=[],n=0;n<t.length;n++){var o=t[n],i=new r.patch_obj;i.diffs=[];for(var a=0;a<o.diffs.length;a++)i.diffs[a]=o.diffs[a].slice();i.start1=o.start1,i.start2=o.start2,i.length1=o.length1,i.length2=o.length2,e[n]=i}return e},r.prototype.patch_apply=function(t,e){if(0==t.length)return[e,[]];t=this.patch_deepCopy(t);var r=this.patch_addPadding(t);e=r+e+r,this.patch_splitMax(t);for(var o=0,i=[],a=0;a<t.length;a++){var u,s,c=t[a].start2+o,f=this.diff_text1(t[a].diffs),l=-1;if(f.length>this.Match_MaxBits?-1!=(u=this.match_main(e,f.substring(0,this.Match_MaxBits),c))&&(-1==(l=this.match_main(e,f.substring(f.length-this.Match_MaxBits),c+f.length-this.Match_MaxBits))||u>=l)&&(u=-1):u=this.match_main(e,f,c),-1==u)i[a]=!1,o-=t[a].length2-t[a].length1;else if(i[a]=!0,o=u-c,f==(s=-1==l?e.substring(u,u+f.length):e.substring(u,l+this.Match_MaxBits)))e=e.substring(0,u)+this.diff_text2(t[a].diffs)+e.substring(u+f.length);else{var d=this.diff_main(f,s,!1);if(f.length>this.Match_MaxBits&&this.diff_levenshtein(d)/f.length>this.Patch_DeleteThreshold)i[a]=!1;else{this.diff_cleanupSemanticLossless(d);for(var p,h=0,g=0;g<t[a].diffs.length;g++){var v=t[a].diffs[g];0!==v[0]&&(p=this.diff_xIndex(d,h)),1===v[0]?e=e.substring(0,u+p)+v[1]+e.substring(u+p):v[0]===n&&(e=e.substring(0,u+p)+e.substring(u+this.diff_xIndex(d,h+v[1].length))),v[0]!==n&&(h+=v[1].length)}}}}return[e=e.substring(r.length,e.length-r.length),i]},r.prototype.patch_addPadding=function(t){for(var e=this.Patch_Margin,r="",n=1;n<=e;n++)r+=String.fromCharCode(n);for(n=0;n<t.length;n++)t[n].start1+=e,t[n].start2+=e;var o=t[0],i=o.diffs;if(0==i.length||0!=i[0][0])i.unshift([0,r]),o.start1-=e,o.start2-=e,o.length1+=e,o.length2+=e;else if(e>i[0][1].length){var a=e-i[0][1].length;i[0][1]=r.substring(i[0][1].length)+i[0][1],o.start1-=a,o.start2-=a,o.length1+=a,o.length2+=a}if(0==(i=(o=t[t.length-1]).diffs).length||0!=i[i.length-1][0])i.push([0,r]),o.length1+=e,o.length2+=e;else if(e>i[i.length-1][1].length){a=e-i[i.length-1][1].length;i[i.length-1][1]+=r.substring(0,a),o.length1+=a,o.length2+=a}return r},r.prototype.patch_splitMax=function(t){for(var e=this.Match_MaxBits,o=0;o<t.length;o++)if(t[o].length1>e){var i=t[o];t.splice(o--,1);for(var a=i.start1,u=i.start2,s="";0!==i.diffs.length;){var c=new r.patch_obj,f=!0;for(c.start1=a-s.length,c.start2=u-s.length,""!==s&&(c.length1=c.length2=s.length,c.diffs.push([0,s]));0!==i.diffs.length&&c.length1<e-this.Patch_Margin;){var l=i.diffs[0][0],d=i.diffs[0][1];1===l?(c.length2+=d.length,u+=d.length,c.diffs.push(i.diffs.shift()),f=!1):l===n&&1==c.diffs.length&&0==c.diffs[0][0]&&d.length>2*e?(c.length1+=d.length,a+=d.length,f=!1,c.diffs.push([l,d]),i.diffs.shift()):(d=d.substring(0,e-c.length1-this.Patch_Margin),c.length1+=d.length,a+=d.length,0===l?(c.length2+=d.length,u+=d.length):f=!1,c.diffs.push([l,d]),d==i.diffs[0][1]?i.diffs.shift():i.diffs[0][1]=i.diffs[0][1].substring(d.length))}s=(s=this.diff_text2(c.diffs)).substring(s.length-this.Patch_Margin);var p=this.diff_text1(i.diffs).substring(0,this.Patch_Margin);""!==p&&(c.length1+=p.length,c.length2+=p.length,0!==c.diffs.length&&0===c.diffs[c.diffs.length-1][0]?c.diffs[c.diffs.length-1][1]+=p:c.diffs.push([0,p])),f||t.splice(++o,0,c)}}},r.prototype.patch_toText=function(t){for(var e=[],r=0;r<t.length;r++)e[r]=t[r];return e.join("")},r.prototype.patch_fromText=function(t){var e=[];if(!t)return e;for(var o=t.split("\n"),i=0,a=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;i<o.length;){var u=o[i].match(a);if(!u)throw new Error("Invalid patch string: "+o[i]);var s=new r.patch_obj;for(e.push(s),s.start1=parseInt(u[1],10),""===u[2]?(s.start1--,s.length1=1):"0"==u[2]?s.length1=0:(s.start1--,s.length1=parseInt(u[2],10)),s.start2=parseInt(u[3],10),""===u[4]?(s.start2--,s.length2=1):"0"==u[4]?s.length2=0:(s.start2--,s.length2=parseInt(u[4],10)),i++;i<o.length;){var c=o[i].charAt(0);try{var f=decodeURI(o[i].substring(1))}catch(t){throw new Error("Illegal escape in patch_fromText: "+f)}if("-"==c)s.diffs.push([n,f]);else if("+"==c)s.diffs.push([1,f]);else if(" "==c)s.diffs.push([0,f]);else{if("@"==c)break;if(""!==c)throw new Error('Invalid patch mode "'+c+'" in: '+f)}i++}}return e},r.patch_obj=function(){this.diffs=[],this.start1=null,this.start2=null,this.length1=0,this.length2=0},r.patch_obj.prototype.toString=function(){for(var t,e=["@@ -"+(0===this.length1?this.start1+",0":1==this.length1?this.start1+1:this.start1+1+","+this.length1)+" +"+(0===this.length2?this.start2+",0":1==this.length2?this.start2+1:this.start2+1+","+this.length2)+" @@\n"],r=0;r<this.diffs.length;r++){switch(this.diffs[r][0]){case 1:t="+";break;case n:t="-";break;case 0:t=" "}e[r+1]=t+encodeURI(this.diffs[r][1])+"\n"}return e.join("").replace(/%20/g," ")},this.diff_match_patch=r,this.DIFF_DELETE=n,this.DIFF_INSERT=1,this.DIFF_EQUAL=0},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=Date.now.bind(Date),o=n(),i="undefined"!=typeof performance&&performance.now?performance.now.bind(performance):function(){return n()-o};e.default=i,t.exports=e.default},function(t,e,r){t.exports=r(76)},function(t,e,r){"use strict";var n=r(18);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(77)),i=n(r(79)),a=n(r(80)),u=n(r(81)),s=n(r(19)),c=r(35),f=n(r(87)),l=r(250);function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function p(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach((function(e){(0,s.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var h=c.NativeModules.LogRocketNativeModule,g=c.NativeModules.NativeUnimoduleProxy,v=h||{},y=v.initWithConfig,_=v.installShutdownHandler,b=v.getSessionURL,m=v.captureException,E=v.captureReduxAction,O=v.captureReduxInitialState,x=v.captureRequest,w=v.captureResponse,S=v.addLog,P=v.identifyWithTraits,R=v.track,A=v.shutdown,T=function(){var t,e;return["storeClient","standalone"].includes(null==g||null===(t=g.moduleConstants)||void 0===t||null===(e=t.ExponentConstants)||void 0===e?void 0:e.executionEnvironment)},j=h?(0,f.default)():{_run:function(){},shutdown:function(){}},I=/^[a-z0-9_-]+\/[a-z0-9_-]+$/,M="@logrocket/react-native cannot be used in Expo Go. See https://docs.logrocket.com/docs/react-native-expo-go for more information.",D=function(t){for(var e=p({},t),r=0,n=Object.entries(e);r<n.length;r++){var o=(0,u.default)(n[r],2),i=o[0];o[1]||(e[i]=function(){})}return e},L={init:function(t){var e=arguments;return(0,a.default)(o.default.mark((function r(){var n,a;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n=e.length>1&&void 0!==e[1]?e[1]:{},a=(0,i.default)({},n),!T()){r.next=4;break}return console.warn(M),r.abrupt("return");case 4:if(y){r.next=8;break}return console.warn("@logrocket/react-native native module is missing. Please review installation instructions."),j.shutdown(),r.abrupt("return");case 8:if("string"==typeof t&&I.test(t)){r.next=11;break}return console.warn("LogRocket: must pass a valid application id to the LogRocket instance."),r.abrupt("return");case 11:if(r.t0=j._didInit,r.t0){r.next=16;break}return r.next=15,y(t,p({serverURL:"https://r.lr-in-prod.com/i",enableIPCapture:!0},a));case 15:r.t0=r.sent;case 16:r.t0?(j.init(a,D({addLog:S,captureException:m,captureReduxAction:E,captureReduxInitialState:O,captureRequest:x,captureResponse:w,identifyWithTraits:P,shutdown:A,track:R})),_&&_((function(){return j.uninstall()}))):(j.disableAndClearBuffer(),__DEV__&&console.warn("LogRocket initialization failed! Check device logs for further details."));case 18:case"end":return r.stop()}}),r)})))()},captureException:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};j._run((function(r){r.captureException(t,e)}))},getSessionURL:function(t){b&&b(t)},identify:function(t,e){j._run((function(r){r.identify(t,e)}))},reduxMiddleware:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=function(){return function(t){return function(e){return t(e)}}};return T()?(console.warn(M),e):"function"==typeof O&&"function"==typeof E?(0,l.createMiddleware)(j,t):e},track:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};j._run((function(r){r.track(t,e)}))},shutdown:function(){j.shutdown()}};e.default=L,t.exports=e.default},function(t,e,r){t.exports=r(78)},function(t,e,r){var n=function(t){"use strict";var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,i=Object.create(o.prototype),a=new A(n||[]);return i._invoke=function(t,e,r){var n=l;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===h){if("throw"===o)throw i;return j()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=S(a,r);if(u){if(u===g)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var s=f(t,e,r);if("normal"===s.type){if(n=r.done?h:d,s.arg===g)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n=h,r.method="throw",r.arg=s.arg)}}}(t,r,a),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var l="suspendedStart",d="suspendedYield",p="executing",h="completed",g={};function v(){}function y(){}function _(){}var b={};b[i]=function(){return this};var m=Object.getPrototypeOf,E=m&&m(m(T([])));E&&E!==r&&n.call(E,i)&&(b=E);var O=_.prototype=v.prototype=Object.create(b);function x(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function r(o,i,a,u){var s=f(t[o],t,i);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(l).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}var o;this._invoke=function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}}function S(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,S(t,r),"throw"===r.method))return g;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var o=f(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function R(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function T(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:j}}function j(){return{value:e,done:!0}}return y.prototype=O.constructor=_,_.constructor=y,y.displayName=s(_,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,s(t,u,"GeneratorFunction")),t.prototype=Object.create(O),t},t.awrap=function(t){return{__await:t}},x(w.prototype),w.prototype[a]=function(){return this},t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(c(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(O),s(O,u,"Generator"),O[i]=function(){return this},O.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=T,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(R),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),R(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;R(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:T(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}},function(t,e){function r(){return t.exports=r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},t.exports.default=t.exports,t.exports.__esModule=!0,r.apply(this,arguments)}t.exports=r,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){function r(t,e,r,n,o,i,a){try{var u=t[i](a),s=u.value}catch(t){return void r(t)}u.done?e(s):Promise.resolve(s).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function u(t){r(a,o,i,u,s,"next",t)}function s(t){r(a,o,i,u,s,"throw",t)}u(void 0)}))}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){var n=r(82),o=r(83),i=r(84),a=r(86);t.exports=function(t,e){return n(t)||o(t,e)||i(t,e)||a()},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){var r=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=r){var n,o,i=[],a=!0,u=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){var n=r(85);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=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.")},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";(function(t){var n=r(18);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return new R},e.MAX_QUEUE_SIZE=void 0;var o=n(r(88)),i=n(r(36)),a=n(r(37)),u=n(r(19)),s=r(35),c=n(r(89)),f=n(r(96)),l=r(42),d=n(r(10)),p=r(107),h=r(30),g=r(233),v=r(234),y=r(44),_=n(r(235)),b=n(r(247));function m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function E(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?m(Object(r),!0).forEach((function(e){(0,u.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var O=new Set(["[object Error]","[object DOMError]","[object DOMException]"]),x=1e3;e.MAX_QUEUE_SIZE=x;var w=["%c prev state","%c next state","%c action ","%c error ","%c action","%c error"],S=function(e){return function(){try{return e.apply(void 0,arguments)}catch(e){if(t&&t._lrdebug)throw e}}};function P(t){var e={}.toString.call(t),r=t;return O.has(e)&&(r="".concat(t.constructor.name,": ").concat(t.message||t.name)),d.default.encode(r)}var R=function(){function e(){var r=this;(0,i.default)(this,e),this._getConfig=function(t){if(null==r._config)return{};var e=t.split(".");switch(e[1]){case"network":return r._config.network;case"core":switch(e[2]){case"LogEvent":return r._config.console}default:return{}}},this._isReduxLogger=function(t){if(!t||!t.args)return!1;var e=t.args;return!!(Array.isArray(e)&&3===e.length&&w.indexOf(e[0])>-1)},this.addEvent=S((function(t,e,n){if(!r._isDisabled){var o=e(r._getConfig(t)),i=Date.now();if(null!=o&&!r._isDisabled){var a=S((function(){if("lr.redux.ReduxAction"===t&&o.action&&o.action.type){var e=o.action.type;r._reduxActions[e]?r._reduxActions[e]++:r._reduxActions[e]=1,o.count=r._reduxActions[e]}if("lr.core.LogEvent"===t&&r._isReduxLogger(o))r._didWarnAboutReduxLogger||(r._didWarnAboutReduxLogger=!0,console.warn("LogRocket: Redux logger detected, skipping data. Please use the LogRocket redux middleware to record production redux logs: https://docs.logrocket.com/docs/redux-middleware"));else switch(t){case"lr.redux.InitialState":r._captureReduxInitialState(r.reduxEncoder.encodeInitialState(o));break;case"lr.redux.ReduxAction":r._captureReduxAction(r.reduxEncoder.encodeReduxAction(o));break;case"lr.core.Exception":var a=o.exceptionType,u=o.message,s=o.errorType,c=void 0===s?"":s;r._captureException(P(u),c,a,n&&JSON.stringify(n._stackTrace)||"[]");break;case"lr.core.LogEvent":var f=o.logLevel,l=o.args,d=l&&l.map(P);r._addLog(f,d||[]);break;case"lr.network.RequestEvent":r._inflightNetwork[o.reqId]={time:i},r._captureRequest(o.reqId,(0,p.getRequestData)(o));break;case"lr.network.ResponseEvent":var h=r._inflightNetwork[o.reqId],g=(0,p.getResponseData)(o);h&&h.time&&(g.duration=i-h.time),r._captureResponse(o.reqId,g),delete r._inflightNetwork[o.reqId]}}));if(r._didInit)a();else{if(r._buffer.length>=x)return b.default.warn("LogRocket has not been initialized. Event buffering is now disabled."),r.disableAndClearBuffer(),void r.uninstall();r._buffer.push(a)}}}})),this.shutdown=S((function(){r._didInit?(r.uninstall(),r._shutdown()):r.disableAndClearBuffer(),r.eventListener&&r.eventListener.remove()})),this.captureException=S((function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};l.Capture.captureException(r,t,e)})),this.uninstall=S((function(){r._installed&&r._installed.forEach((function(t){return t()})),r.reset()})),this.textEncoder=t.TextEncoder&&new t.TextEncoder,this._customPropCount=0,this._reduxActions={},this._buffer=[],this._didWarnAboutReduxLogger=!1,this._didWarnAboutReduxSize=!1,this.wallByteStreams={},this.reduxEncoder=new _.default;var n=new s.NativeEventEmitter(s.NativeModules.LogRocketNativeModule);this.eventListener=n.addListener("LogRocketSDKOnError",S((function(t){t.errorMessage&&(t.shouldWarnAboutReduxSize||console.warn(t.errorMessage),t.shouldWarnAboutReduxSize&&!r._didWarnAboutReduxSize&&(r._didWarnAboutReduxSize=!0,console.warn(t.errorMessage))),t.shouldDisableAndFreeMemory&&r.disableAndClearBuffer()}))),this.reset()}return(0,a.default)(e,[{key:"_run",value:function(t){if(!this._isDisabled)if(this._didInit)t(this);else{if(this._buffer.length>=x)return b.default.warn("LogRocket has not been initialized. Event buffering is now disabled."),this.disableAndClearBuffer(),void this.uninstall();this._buffer.push(t)}}},{key:"_registerExceptions",value:function(){var e=this,n=ErrorUtils.getGlobalHandler&&ErrorUtils.getGlobalHandler();ErrorUtils.setGlobalHandler((function(t,r){try{e.captureException(t)}catch(t){}n&&n(t,r)}));var o=r(248);o.disable(),o.enable({allRejections:!0,onUnhandled:S((function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.addEvent("lr.core.Exception",(function(){return{exceptionType:"UNHANDLED_REJECTION",message:r.reason||"Unhandled Promise rejection"}}))}))});var i=r(249),a=i._onHandle||i._Y,u=i._onReject||i._Z,s=t.Promise._onHandle,c=t.Promise._onReject,f=t.Promise._Y,l=t.Promise._X;i!==t.Promise&&void 0!==a&&void 0!==u&&("_onHandle"in t.Promise&&"_onReject"in t.Promise?(t.Promise._onHandle=a,t.Promise._onReject=u):"_Y"in t.Promise&&"_Z"in t.Promise&&(t.Promise._Y=a,t.Promise._Z=u)),this._installed.push((function(){n&&ErrorUtils.setGlobalHandler(n),o.disable(),t.Promise._onHandle=s,t.Promise._onReject=c,t.Promise._Y=f,t.Promise._X=l}))}},{key:"track",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"==typeof t)if(0!==t.length){var r=(0,g.sanitizeEventProps)(e,h.MAX_CUSTOM_PROPS_PER_SESSION-this._customPropCount),n=r.eventProps,o=r.errors;this._customPropCount+=Object.keys(n).length,o.forEach((function(t){return console.warn("LogRocket Track API: ".concat((0,v.printEventPropError)(t)))})),this._track(t,n)}else console.warn("LogRocket: custom event name must be not be an empty string");else console.warn("LogRocket: must pass string to track()")}},{key:"_divineAnonymousId",value:function(){return this._lastIdentifyCall&&this._lastIdentifyCall.isAnonymous?this._lastIdentifyCall.userID:(0,y.uuid)()}},{key:"identify",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0],i=e[1],a=!1;if(this._identifyCalls++,!(this._identifyCalls>10)){if(10===this._identifyCalls&&console.warn("LogRocket: More than 10 identify calls on this page. Ignoring future calls."),null==i&&"object"===(0,o.default)(n)&&null!==n&&null==(n=(i=n||{}).userID)&&this._lastIdentifyCall&&this._lastIdentifyCall.userID){var u=this._lastIdentifyCall;n=u.userID,a=u.isAnonymous}if(!n){if(i&&(i.name||i.email)){var s=i.name?"name":"email";return void console.warn("LogRocket: user ".concat(s," passed to identify, but no userID given: identify(userId, { ").concat(s,": '...' })."))}a=!0,n=this._divineAnonymousId()}if(/string|number/.test((0,o.default)(n))){if(!(n.toString().length>this._maxIdentityArgLength)){var c=i;if(i){for(var f={},l=["userID","name","email"],d=0,p=Object.keys(i||{});d<p.length;d++){var h=p[d],g=i[h];if(-1===l.indexOf(h)){if(/boolean|number|string/.test((0,o.default)(g))){var v=h.toString();if(this.textEncoder&&this.textEncoder.encode(v).length>this._maxUserTraitBytes){console.warn("LogRocket: Ignoring large user trait key ".concat(v));continue}if(g.toString().length>this._maxIdentityArgLength){console.warn('LogRocket: ignoring large user trait value for key "'.concat(v,'" (max ').concat(this._maxIdentityArgLength," characters)"));continue}f[v]=g.toString()}}else if(g&&"string"==typeof g){if(g.length>this._maxIdentityArgLength){console.warn('LogRocket: too large generic trait "'.concat(h,'" passed to identify() (max ').concat(this._maxIdentityArgLength," characters)"));continue}f[h]=g}}c=f}return this._lastIdentifyCall={userID:n.toString(),email:c?c.email:void 0,name:c?c.name:void 0,isAnonymous:a},this._identifyWithTraits(this._lastIdentifyCall.userID,c,a)}console.warn("LogRocket: too large userID passed to identify() (max ".concat(this._maxIdentityArgLength," characters)"))}else console.warn("LogRocket: must pass a valid user id to identify().")}}},{key:"init",value:function(t,e){var r=e.addLog,n=void 0===r?function(){}:r,o=e.captureException,i=void 0===o?function(){}:o,a=e.captureReduxAction,u=void 0===a?function(){}:a,s=e.captureReduxInitialState,l=void 0===s?function(){}:s,d=e.captureRequest,p=void 0===d?function(){}:d,h=e.captureResponse,g=void 0===h?function(){}:h,v=e.identifyWithTraits,y=void 0===v?function(){}:v,_=e.track,b=void 0===_?function(){}:_,m=e.shutdown,O=void 0===m?function(){}:m,x=t.maxUserTraitBytes,w=void 0===x?128:x;if(!this._didInit)for(this._installed.push((0,f.default)(this)),this._installed.push((0,c.default)(this,{isReactNative:!0,shouldAugmentNPS:!1,shouldParseXHRBlob:!1})),this._registerExceptions(),this._didInit=!0,this._isDisabled=!1,this._addLog=n,this._captureException=i,this._captureReduxAction=u,this._captureReduxInitialState=l,this._captureRequest=p,this._captureResponse=g,this._config=function(t){return E(E({},t),{},{console:E(E({},t.console||{}),{},{shouldAggregateConsoleErrors:!1})})}(t),this._identifyWithTraits=y,this._maxUserTraitBytes=w,this._track=b,this._shutdown=O;this._buffer.length>0;){this._buffer.shift()(this)}}},{key:"disableAndClearBuffer",value:function(){this._isDisabled=!0,this._buffer=[]}},{key:"reset",value:function(){this._didInit=!1,this._config=null,this._installed=[],this._isDisabled=!1,this._didWarnAboutReduxSize=!1,this._addLog=function(){},this._captureRequest=function(){},this._captureResponse=function(){},this._track=function(){},this._inflightNetwork={},this._maxIdentityArgLength=1024,this._maxUserTraitBytes=128,this._buffer=[],this._customPropCount=0,this._identifyCalls=0,this._reduxActions={},this._didWarnAboutReduxLogger=!1,this.wallByteStreams={}}}]),e}()}).call(this,r(6))},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(t.exports=r=function(t){return typeof t},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.default=t.exports,t.exports.__esModule=!0),r(e)}t.exports=r,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{isReactNative:!1},r=e.isReactNative,n=e.shouldAugmentNPS,o=e.shouldParseXHRBlob,f={},d=function(t){var e=t;if("object"===(0,i.default)(t)&&null!=t){var r=Object.getPrototypeOf(t);r!==Object.prototype&&null!==r||(e=JSON.stringify(t))}if(e&&e.length&&e.length>4096e3&&"string"==typeof e){var n=e.substring(0,1e3);return"".concat(n," ... LogRocket truncating to first 1000 characters.\n Keep data under 4MB to prevent truncation. https://docs.logrocket.com/reference#network")}return t},p=function(e,r){var n=r.method;t.addEvent("lr.network.RequestEvent",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=t.isEnabled,i=void 0===o||o,a=t.requestSanitizer,u=void 0===a?function(t){return t}:a;if(!i)return null;var s=null;try{s=u(l(l({},r),{},{reqId:e}))}catch(t){console.error(t)}if(s){var p=s.url;if("undefined"!=typeof document&&"function"==typeof document.createElement){var h=document.createElement("a");h.href=s.url,p=h.href}return{reqId:e,url:p,headers:(0,c.default)(s.headers,(function(t){return"".concat(t)})),body:d(s.body),method:n,referrer:s.referrer||void 0,mode:s.mode||void 0,credentials:s.credentials||void 0}}return f[e]=!0,null}))},h=function(e,r){var n=r.method,o=r.status;t.addEvent("lr.network.ResponseEvent",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.isEnabled,a=void 0===i||i,u=t.responseSanitizer,s=void 0===u?function(t){return t}:u;if(!a)return null;if(f[e])return delete f[e],null;var p=null;try{p=s(l(l({},r),{},{reqId:e}))}catch(t){console.error(t)}return p?{reqId:e,status:p.status,headers:(0,c.default)(p.headers,(function(t){return"".concat(t)})),body:d(p.body),method:n}:{reqId:e,status:o,headers:{},body:null,method:n}}))},g=function(e){return t.isDisabled||!0===f[e]},v=(0,a.default)({addRequest:p,addResponse:h,isIgnored:g}),y=(0,s.default)({addRequest:p,addResponse:h,isIgnored:g,logger:t,shouldAugmentNPS:n,shouldParseXHRBlob:o}),_=r?function(){}:(0,u.default)(t);return function(){_(),v(),y()}};var o=n(r(1)),i=n(r(3)),a=n(r(90)),u=n(r(95)),s=n(r(40)),c=n(r(20));function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach((function(e){(0,o.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.addRequest,r=t.addResponse,n=t.isIgnored,o="fetch-",i={};return a.default.register({request:function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];var u;if("undefined"!=typeof Request&&n[0]instanceof Request){var c;try{c=n[0].clone().text()}catch(t){c=Promise.resolve("LogRocket fetch error: ".concat(t.message))}u=c.then((function(t){return s(s({},f(n[0])),{},{body:t})}),(function(t){return s(s({},f(n[0])),{},{body:"LogRocket fetch error: ".concat(t.message)})}))}else u=Promise.resolve(s(s({},f(n[1])),{},{url:"".concat(n[0]),body:(n[1]||{}).body}));return u.then((function(r){return i[t]=r.method,e("".concat(o).concat(t),r),n}))},requestError:function(t,e){return Promise.reject(e)},response:function(t,e){var a;if(n("".concat(o).concat(t)))return e;try{a=e.clone().text()}catch(t){a=Promise.resolve("LogRocket fetch error: ".concat(t.message))}return a.catch((function(t){if(!("AbortError"===t.name&&t instanceof DOMException))throw t})).then((function(n){var a={url:e.url,status:e.status,headers:c(e.headers),body:n,method:i[t]};delete i[t],r("".concat(o).concat(t),a)})),e},responseError:function(t,e){var n={url:void 0,status:0,headers:{},body:"".concat(e)};return r("".concat(o).concat(t),n),Promise.reject(e)}})};var o=n(r(1)),i=n(r(20)),a=n(r(91));function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?u(Object(r),!0).forEach((function(e){(0,o.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var c=function(t){return(0,i.default)(function(t){if(null==t||"function"!=typeof t.forEach)return t;var e={};return t.forEach((function(t,r){e[r]?e[r]="".concat(e[r],",").concat(t):e[r]="".concat(t)})),e}(t),(function(t){return"".concat(t)}))};function f(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{url:t.url,headers:c(t.headers),method:t.method&&t.method.toUpperCase(),referrer:t.referrer||void 0,mode:t.mode||void 0,credentials:t.credentials||void 0}}t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(9)),i=r(40),a=[];function u(t,e){for(var r=a.reduce((function(t,e){return[e].concat(t)}),[]),n=arguments.length,u=new Array(n>2?n-2:0),s=2;s<n;s++)u[s-2]=arguments[s];var c=Promise.resolve(u);return r.forEach((function(t){var r=t.request,n=t.requestError;(r||n)&&(c=c.then((function(t){return r.apply(void 0,[e].concat((0,o.default)(t)))}),(function(t){return n.apply(void 0,[e].concat((0,o.default)(t)))})))})),c=c.then((function(e){var r,n;(0,i.setActive)(!1);try{r=t.apply(void 0,(0,o.default)(e))}catch(t){n=t}if((0,i.setActive)(!0),n)throw n;return r})),r.forEach((function(t){var r=t.response,n=t.responseError;(r||n)&&(c=c.then((function(t){return r(e,t)}),(function(t){return n&&n(e,t)})))})),c}var s=!1,c={register:function(t){return s||(s=!0,function(t){if(t.fetch&&t.Promise){var e,r,n=t.fetch.polyfill;t.fetch=(e=t.fetch,r=0,function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return u.apply(void 0,[e,r++].concat(n))}),n&&(t.fetch.polyfill=n)}}(window)),a.push(t),function(){var e=a.indexOf(t);e>=0&&a.splice(e,1)}},clear:function(){a=[]}};e.default=c,t.exports=e.default},function(t,e,r){var n=r(38);t.exports=function(t){if(Array.isArray(t))return n(t)},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=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.")},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=void 0;function r(){var r={online:window.navigator.onLine,effectiveType:"UNKOWN"};window.navigator.onLine?window.navigator.connection&&window.navigator.connection.effectiveType&&(r.effectiveType=n[window.navigator.connection.effectiveType]||"UNKNOWN"):r.effectiveType="NONE",e&&r.online===e.online&&r.effectiveType===e.effectiveType||(e=r,t.addEvent("lr.network.NetworkStatusEvent",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.isEnabled,n=void 0===e||e;return n?r:null})))}setTimeout(r),window.navigator.connection&&"function"==typeof window.navigator.connection.addEventListener&&window.navigator.connection.addEventListener("change",r);return window.addEventListener("online",r),window.addEventListener("offline",r),function(){window.removeEventListener("offline",r),window.removeEventListener("online",r),window.navigator.connection&&"function"==typeof window.navigator.connection.removeEventListener&&window.navigator.connection.removeEventListener("change",r)}};var n={"slow-2g":"SLOW2G","2g":"TWOG","3g":"THREEG","4g":"FOURG"};t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(97)).default;e.default=o,t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=[];return["log","warn","info","error","debug"].forEach((function(r){e.push((0,i.default)(console,r,(function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];t.addEvent("lr.core.LogEvent",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.isEnabled;return"object"===(0,o.default)(i)&&!1===i[r]||!1===i?null:("error"===r&&e.shouldAggregateConsoleErrors&&a.Capture.captureMessage(t,n[0],n,{},!0),{logLevel:r.toUpperCase(),args:n})}))})))})),function(){e.forEach((function(t){return t()}))}};var o=n(r(3)),i=n(r(21)),a=r(42);t.exports=e.default},function(t,e,r){"use strict";var n=r(23),o=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=new i.default({captureException:function(e){a.captureException(t,null,null,e)}}),r=function(e){t.addEvent("lr.core.Exception",(function(){return{exceptionType:"UNHANDLED_REJECTION",message:e.reason||"Unhandled Promise rejection"}}))};return window.addEventListener("unhandledrejection",r),function(){window.removeEventListener("unhandledrejection",r),e.uninstall()}};var i=o(r(99)),a=n(r(43));t.exports=e.default},function(t,e,r){"use strict";(function(n){var o=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(r(100)),a=o(r(101)),u=o(r(24)),s=Object.prototype;function c(t){return void 0===t}function f(t){return"function"==typeof t}function l(t,e){return s.hasOwnProperty.call(t,e)}function d(t,e,r,n){var o=t[e];t[e]=r(o),n&&n.push([t,e,o])}var p="undefined"!=typeof window?window:void 0!==n?n:"undefined"!=typeof self?self:{},h=(p.document,function(){function t(e){var r=e.captureException;(0,i.default)(this,t),this._errorHandler=this._errorHandler.bind(this),this._ignoreOnError=0,this._wrappedBuiltIns=[],this.captureException=r,u.default.report.subscribe(this._errorHandler),this._instrumentTryCatch()}return(0,a.default)(t,[{key:"uninstall",value:function(){var t;for(u.default.report.unsubscribe(this._errorHandler);this._wrappedBuiltIns.length;){var e=(t=this._wrappedBuiltIns.shift())[0],r=t[1],n=t[2];e[r]=n}}},{key:"_errorHandler",value:function(t){this._ignoreOnError||this.captureException(t)}},{key:"_ignoreNextOnError",value:function(){var t=this;this._ignoreOnError+=1,setTimeout((function(){t._ignoreOnError-=1}))}},{key:"context",value:function(t,e,r){return f(t)&&(r=e||[],e=t,t=void 0),this.wrap(t,e).apply(this,r)}},{key:"wrap",value:function(t,e,r){var n=this;if(c(e)&&!f(t))return t;if(f(t)&&(e=t,t=void 0),!f(e))return e;try{if(e.__lr__)return e;if(e.__lr_wrapper__)return e.__lr_wrapper__;if(!Object.isExtensible(e))return e}catch(t){return e}function o(){var o=[],i=arguments.length,a=!t||t&&!1!==t.deep;for(r&&f(r)&&r.apply(this,arguments);i--;)o[i]=a?n.wrap(t,arguments[i]):arguments[i];try{return e.apply(this,o)}catch(e){throw n._ignoreNextOnError(),n.captureException(u.default.computeStackTrace(e),t),e}}for(var i in e)l(e,i)&&(o[i]=e[i]);return o.prototype=e.prototype,e.__lr_wrapper__=o,o.__lr__=!0,o.__inner__=e,o}},{key:"_instrumentTryCatch",value:function(){var t=this,e=t._wrappedBuiltIns;function r(e){return function(r,n){for(var o=new Array(arguments.length),i=0;i<o.length;++i)o[i]=arguments[i];var a=o[0];return f(a)&&(o[0]=t.wrap(a)),e.apply?e.apply(this,o):e(o[0],o[1])}}function n(r){var n=p[r]&&p[r].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(d(n,"addEventListener",(function(e){return function(r,n,o,i){try{n&&n.handleEvent&&(n.handleEvent=t.wrap(n.handleEvent))}catch(t){}return e.call(this,r,t.wrap(n,void 0,undefined),o,i)}}),e),d(n,"removeEventListener",(function(t){return function(e,r,n,o){try{r=r&&(r.__lr_wrapper__?r.__lr_wrapper__:r)}catch(t){}return t.call(this,e,r,n,o)}}),e))}d(p,"setTimeout",r,e),d(p,"setInterval",r,e),p.requestAnimationFrame&&d(p,"requestAnimationFrame",(function(e){return function(r){return e(t.wrap(r))}}),e);for(var o=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],i=0;i<o.length;i++)n(o[i]);var a=p.jQuery||p.$;a&&a.fn&&a.fn.ready&&d(a.fn,"ready",(function(e){return function(r){return e.call(this,t.wrap(r))}}),e)}}]),t}());e.default=h,t.exports=e.default}).call(this,r(6))},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){function r(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}t.exports=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){function e(t){return null===t?void 0:t}return t.stack?t.stack.map((function(t){return{lineNumber:e(t.line),columnNumber:e(t.column),fileName:e(t.url),functionName:e(t.func)}})):void 0},t.exports=e.default},function(t,e,r){"use strict";(function(t){
|
|
2
2
|
/*!
|
|
3
3
|
* The buffer module from node.js, for the browser.
|
|
4
4
|
*
|
|
5
5
|
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
|
6
6
|
* @license MIT
|
|
7
7
|
*/
|
|
8
|
-
var n=r(104),o=r(105),i=r(106);function a(){return s.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return s.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=s.prototype:(null===t&&(t=new s(e)),t.length=e),t}function s(t,e,r){if(!(s.TYPED_ARRAY_SUPPORT||this instanceof s))return new s(t,e,r);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return l(this,t)}return c(this,t,e,r)}function c(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n);s.TYPED_ARRAY_SUPPORT?(t=e).__proto__=s.prototype:t=d(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!s.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|h(e,r),o=(t=u(t,n)).write(e,r);o!==n&&(t=t.slice(0,o));return t}(t,e,r):function(t,e){if(s.isBuffer(e)){var r=0|p(e.length);return 0===(t=u(t,r)).length||e.copy(t,0,0,r),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(n=e.length)!=n?u(t,0):d(t,e);if("Buffer"===e.type&&i(e.data))return d(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function f(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function l(t,e){if(f(e),t=u(t,e<0?0:0|p(e)),!s.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function d(t,e){var r=e.length<0?0:0|p(e.length);t=u(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function p(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function h(t,e){if(s.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return B(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return G(t).length;default:if(n)return B(t).length;e=(""+e).toLowerCase(),n=!0}}function g(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return j(this,e,r);case"utf8":case"utf-8":return P(this,e,r);case"ascii":return A(this,e,r);case"latin1":case"binary":return T(this,e,r);case"base64":return S(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function v(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function y(t,e,r,n,o){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=s.from(e,n)),s.isBuffer(e))return 0===e.length?-1:_(t,e,r,n,o);if("number"==typeof e)return e&=255,s.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):_(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function _(t,e,r,n,o){var i,a=1,u=t.length,s=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,u/=2,s/=2,r/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){var f=-1;for(i=r;i<u;i++)if(c(t,i)===c(e,-1===f?0:i-f)){if(-1===f&&(f=i),i-f+1===s)return f*a}else-1!==f&&(i-=i-f),f=-1}else for(r+s>u&&(r=u-s),i=r;i>=0;i--){for(var l=!0,d=0;d<s;d++)if(c(t,i+d)!==c(e,d)){l=!1;break}if(l)return i}return-1}function b(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=e.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var a=0;a<n;++a){var u=parseInt(e.substr(2*a,2),16);if(isNaN(u))return a;t[r+a]=u}return a}function m(t,e,r,n){return H(B(e,t.length-r),t,r,n)}function E(t,e,r,n){return H(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function O(t,e,r,n){return E(t,e,r,n)}function x(t,e,r,n){return H(G(e),t,r,n)}function w(t,e,r,n){return H(function(t,e){for(var r,n,o,i=[],a=0;a<t.length&&!((e-=2)<0);++a)n=(r=t.charCodeAt(a))>>8,o=r%256,i.push(o),i.push(n);return i}(e,t.length-r),t,r,n)}function S(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function P(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i,a,u,s,c=t[o],f=null,l=c>239?4:c>223?3:c>191?2:1;if(o+l<=r)switch(l){case 1:c<128&&(f=c);break;case 2:128==(192&(i=t[o+1]))&&(s=(31&c)<<6|63&i)>127&&(f=s);break;case 3:i=t[o+1],a=t[o+2],128==(192&i)&&128==(192&a)&&(s=(15&c)<<12|(63&i)<<6|63&a)>2047&&(s<55296||s>57343)&&(f=s);break;case 4:i=t[o+1],a=t[o+2],u=t[o+3],128==(192&i)&&128==(192&a)&&128==(192&u)&&(s=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&u)>65535&&s<1114112&&(f=s)}null===f?(f=65533,l=1):f>65535&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),o+=l}return function(t){var e=t.length;if(e<=R)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=R));return r}(n)}e.Buffer=s,e.SlowBuffer=function(t){+t!=t&&(t=0);return s.alloc(+t)},e.INSPECT_MAX_BYTES=50,s.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=a(),s.poolSize=8192,s._augment=function(t){return t.__proto__=s.prototype,t},s.from=function(t,e,r){return c(null,t,e,r)},s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0})),s.alloc=function(t,e,r){return function(t,e,r,n){return f(e),e<=0?u(t,e):void 0!==r?"string"==typeof n?u(t,e).fill(r,n):u(t,e).fill(r):u(t,e)}(null,t,e,r)},s.allocUnsafe=function(t){return l(null,t)},s.allocUnsafeSlow=function(t){return l(null,t)},s.isBuffer=function(t){return!(null==t||!t._isBuffer)},s.compare=function(t,e){if(!s.isBuffer(t)||!s.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?1:0},s.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(t,e){if(!i(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return s.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=s.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var a=t[r];if(!s.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,o),o+=a.length}return n},s.byteLength=h,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)v(this,e,e+1);return this},s.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)v(this,e,e+3),v(this,e+1,e+2);return this},s.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)v(this,e,e+7),v(this,e+1,e+6),v(this,e+2,e+5),v(this,e+3,e+4);return this},s.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?P(this,0,t):g.apply(this,arguments)},s.prototype.equals=function(t){if(!s.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===s.compare(this,t)},s.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),"<Buffer "+t+">"},s.prototype.compare=function(t,e,r,n,o){if(!s.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(this===t)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(e>>>=0),u=Math.min(i,a),c=this.slice(n,o),f=t.slice(e,r),l=0;l<u;++l)if(c[l]!==f[l]){i=c[l],a=f[l];break}return i<a?-1:a<i?1:0},s.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},s.prototype.indexOf=function(t,e,r){return y(this,t,e,r,!0)},s.prototype.lastIndexOf=function(t,e,r){return y(this,t,e,r,!1)},s.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-e;if((void 0===r||r>o)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return b(this,t,e,r);case"utf8":case"utf-8":return m(this,t,e,r);case"ascii":return E(this,t,e,r);case"latin1":case"binary":return O(this,t,e,r);case"base64":return x(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var R=4096;function A(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}function T(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}function j(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i<r;++i)o+=Y(t[i]);return o}function I(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function M(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function D(t,e,r,n,o,i){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function L(t,e,r,n){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-r,2);o<i;++o)t[r+o]=(e&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function N(t,e,r,n){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-r,4);o<i;++o)t[r+o]=e>>>8*(n?o:3-o)&255}function k(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function C(t,e,r,n,i){return i||k(t,0,r,4),o.write(t,e,r,n,23,4),r+4}function U(t,e,r,n,i){return i||k(t,0,r,8),o.write(t,e,r,n,52,8),r+8}s.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t),s.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=s.prototype;else{var o=e-t;r=new s(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+t]}return r},s.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||M(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n},s.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||M(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},s.prototype.readUInt8=function(t,e){return e||M(t,1,this.length),this[t]},s.prototype.readUInt16LE=function(t,e){return e||M(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUInt16BE=function(t,e){return e||M(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUInt32LE=function(t,e){return e||M(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},s.prototype.readUInt32BE=function(t,e){return e||M(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||M(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*e)),n},s.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||M(t,e,this.length);for(var n=e,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},s.prototype.readInt8=function(t,e){return e||M(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},s.prototype.readInt16LE=function(t,e){e||M(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt16BE=function(t,e){e||M(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt32LE=function(t,e){return e||M(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return e||M(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readFloatLE=function(t,e){return e||M(t,4,this.length),o.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return e||M(t,4,this.length),o.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return e||M(t,8,this.length),o.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return e||M(t,8,this.length),o.read(this,t,!1,52,8)},s.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||D(this,t,e,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[e]=255&t;++i<r&&(o*=256);)this[e+i]=t/o&255;return e+r},s.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||D(this,t,e,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[e+o]=255&t;--o>=0&&(i*=256);)this[e+o]=t/i&255;return e+r},s.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,1,255,0),s.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},s.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):L(this,t,e,!0),e+2},s.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):L(this,t,e,!1),e+2},s.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):N(this,t,e,!0),e+4},s.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):N(this,t,e,!1),e+4},s.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);D(this,t,e,r,o-1,-o)}var i=0,a=1,u=0;for(this[e]=255&t;++i<r&&(a*=256);)t<0&&0===u&&0!==this[e+i-1]&&(u=1),this[e+i]=(t/a>>0)-u&255;return e+r},s.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);D(this,t,e,r,o-1,-o)}var i=r-1,a=1,u=0;for(this[e+i]=255&t;--i>=0&&(a*=256);)t<0&&0===u&&0!==this[e+i+1]&&(u=1),this[e+i]=(t/a>>0)-u&255;return e+r},s.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,1,127,-128),s.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):L(this,t,e,!0),e+2},s.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):L(this,t,e,!1),e+2},s.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):N(this,t,e,!0),e+4},s.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):N(this,t,e,!1),e+4},s.prototype.writeFloatLE=function(t,e,r){return C(this,t,e,!0,r)},s.prototype.writeFloatBE=function(t,e,r){return C(this,t,e,!1,r)},s.prototype.writeDoubleLE=function(t,e,r){return U(this,t,e,!0,r)},s.prototype.writeDoubleBE=function(t,e,r){return U(this,t,e,!1,r)},s.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var o,i=n-r;if(this===t&&r<e&&e<n)for(o=i-1;o>=0;--o)t[o+e]=this[o+r];else if(i<1e3||!s.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+i),e);return i},s.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===t.length){var o=t.charCodeAt(0);o<256&&(t=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var i;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{var a=s.isBuffer(t)?t:B(new s(t,n).toString()),u=a.length;for(i=0;i<r-e;++i)this[i+e]=a[i%u]}return this};var F=/[^+\/0-9A-Za-z-_]/g;function Y(t){return t<16?"0"+t.toString(16):t.toString(16)}function B(t,e){var r;e=e||1/0;for(var n=t.length,o=null,i=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function G(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(F,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function H(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}}).call(this,r(6))},function(t,e,r){"use strict";e.byteLength=function(t){return 3*t.length/4-c(t)},e.toByteArray=function(t){var e,r,n,a,u,s=t.length;a=c(t),u=new i(3*s/4-a),r=a>0?s-4:s;var f=0;for(e=0;e<r;e+=4)n=o[t.charCodeAt(e)]<<18|o[t.charCodeAt(e+1)]<<12|o[t.charCodeAt(e+2)]<<6|o[t.charCodeAt(e+3)],u[f++]=n>>16&255,u[f++]=n>>8&255,u[f++]=255&n;2===a?(n=o[t.charCodeAt(e)]<<2|o[t.charCodeAt(e+1)]>>4,u[f++]=255&n):1===a&&(n=o[t.charCodeAt(e)]<<10|o[t.charCodeAt(e+1)]<<4|o[t.charCodeAt(e+2)]>>2,u[f++]=n>>8&255,u[f++]=255&n);return u},e.fromByteArray=function(t){for(var e,r=t.length,o=r%3,i="",a=[],u=16383,s=0,c=r-o;s<c;s+=u)a.push(f(t,s,s+u>c?c:s+u));1===o?(e=t[r-1],i+=n[e>>2],i+=n[e<<4&63],i+="=="):2===o&&(e=(t[r-2]<<8)+t[r-1],i+=n[e>>10],i+=n[e>>4&63],i+=n[e<<2&63],i+="=");return a.push(i),a.join("")};for(var n=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,s=a.length;u<s;++u)n[u]=a[u],o[a.charCodeAt(u)]=u;function c(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===t[e-2]?2:"="===t[e-1]?1:0}function f(t,e,r){for(var o,i,a=[],u=e;u<r;u+=3)o=(t[u]<<16)+(t[u+1]<<8)+t[u+2],a.push(n[(i=o)>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,r,n,o){var i,a,u=8*o-n-1,s=(1<<u)-1,c=s>>1,f=-7,l=r?o-1:0,d=r?-1:1,p=t[e+l];for(l+=d,i=p&(1<<-f)-1,p>>=-f,f+=u;f>0;i=256*i+t[e+l],l+=d,f-=8);for(a=i&(1<<-f)-1,i>>=-f,f+=n;f>0;a=256*a+t[e+l],l+=d,f-=8);if(0===i)i=1-c;else{if(i===s)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),i-=c}return(p?-1:1)*a*Math.pow(2,i-n)},e.write=function(t,e,r,n,o,i){var a,u,s,c=8*i-o-1,f=(1<<c)-1,l=f>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:i-1,h=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,a=f):(a=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-a))<1&&(a--,s*=2),(e+=a+l>=1?d/s:d*Math.pow(2,1-l))*s>=2&&(a++,s/=2),a+l>=f?(u=0,a=f):a+l>=1?(u=(e*s-1)*Math.pow(2,o),a+=l):(u=e*Math.pow(2,l-1)*Math.pow(2,o),a=0));o>=8;t[r+p]=255&u,p+=h,u/=256,o-=8);for(a=a<<o|u,c+=o;c>0;t[r+p]=255&a,p+=h,a/=256,c-=8);t[r+p-h]|=128*g}},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getResponseData=e.getRequestData=void 0;var n=r(44);e.getRequestData=function(t){var e={};return t.url&&(e.url=t.url),t.body&&(e.body=(0,n.deepArsonify)(t.body)),t.method&&(e.method=t.method),t.headers&&(e.headers=t.headers),e};e.getResponseData=function(t){var e={};return t.status&&(e.statusCode=t.status),t.body&&(e.body=(0,n.deepArsonify)(t.body)),t.headers&&(e.headers=t.headers),e}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e={}.toString.call(t);switch(e){case"[object Undefined]":return{undefined:{}};case"[object Null]":return{null:{}};case"[object Boolean]":return{boolean:{bool:t}};case"[object Number]":return{number:{double:t}};case"[object String]":return{string:{string:t}};case"[object Object]":return{object:{map:t}};case"[object Array]":return{array:{map:t}};case"[object Date]":return{date:{double:t.getTime()}};case"[object Error]":return{string:{string:"".concat(t.name,": ").concat(t.message)}};default:return{unsupported:{type:e}}}},t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){switch(t.type||Object.keys(t)[0]){case"undefined":return;case"null":return null;case"boolean":return t.boolean.bool;case"number":return t.number.double;case"string":return t.string.string;case"object":return t.object.map;case"array":return Object.keys(t.array.map).reduce((function(e,r){return e[r]=t.array.map[r],e}),[]);case"date":return new Date(t.date.double);case"unsupported":return t.unsupported.type;default:throw new TypeError("Unexpected value in shallowDearsonify: ".concat(t))}},t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return{arson:o.default.encode(t)}};var o=n(r(10));t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(!t)return t;return o.default.decode(t.arson)};var o=n(r(10));t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document;return r.addEventListener(t,e,{capture:!0,passive:!0}),function(){r.removeEventListener(t,e,{capture:!0,passive:!0})}},t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){for(var r=0;r<t.length;r++)if(e(t[r]))return t[r]},t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return t.concat(e)},t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var r,n,c=t.slice(0).reverse(),f=function(t,e){var r;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}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,a=!0,s=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}(e);try{var l=function(){var t=n.value;return t.directDesc?s.apply(void 0,[t].concat((0,o.default)(c.splice(0,1))))?"continue":{v:!1}:-1===(r=(0,a.default)(c,(function(e){return s(t,e)})))?{v:!1}:void c.splice(0,r+1)};for(f.s();!(n=f.n()).done;){var d=l();if("continue"!==d&&"object"===(0,i.default)(d))return d.v}}catch(t){f.e(t)}finally{f.f()}return!0};var o=n(r(9)),i=n(r(3)),a=n(r(48));function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function s(t,e){if(!t||!e)return!1;if(t.id&&t.id!==e.id)return!1;if(t.nodeName&&t.nodeName!==e.nodeName)return!1;if(t.classList&&(!e.classList||t.classList.map((function(t){return t.toLowerCase()})).some((function(t){return-1===e.classList.map((function(t){return t.toLowerCase()})).indexOf(t)}))))return!1;if(t.nthChild){var r=parseInt(t.nthChild,10);return isNaN(r)?Math.abs(e.nthChild%2)===("odd"===t.nthChild?1:0):r===e.nthChild}return!0}t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t.replace(/\s*>\s*|:nth-child\(([1-9][0-9]*|odd|even)\)|\s+/gi,(function(t){return t.indexOf(">")>-1?" >":0===t.trim().length?" ":" ".concat("~").concat(t.slice(":nth-child(".length))})).split(/\s+/).map((function(t){var e={},r=t;switch(t.charAt(0)){case">":e.directDesc=!0,r=t.slice(1);break;case"~":var n=t.slice(1).split(")"),u=(0,i.default)(n,2),s=u[0],c=u[1];e.directDesc=!0,e.nthChild=s,r=c}return r.replace(/\.|#/gi,(function(t){return" ".concat(t)})).split(" ").forEach((function(t){if((0,a.default)(t,".")){var r=t.slice(1);e.classList=e.classList?[].concat((0,o.default)(e.classList),[r]):[r]}else(0,a.default)(t,"#")?e.id=t.slice(1):e.nodeName=t})),e}))};var o=n(r(9)),i=n(r(49)),a=n(r(22));t.exports=e.default},function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){var r=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=r){var n,o,i=[],a=!0,u=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=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.")},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";function n(t){var e=t.match(/^([a-z0-9-_]+)/gi),r=t.match(/:(nth-child[a-z0-9-_()]+)/gi),n=t.match(/#([a-z0-9-_:]+)/gi),o=t.match(/(\.[a-z0-9-_/:]+)/gi),i={};return e&&(i.nodeName=e[0]),r&&(i.pseudoClassList=r.map((function(t){return t.substr(1)}))),n&&(i.id=n[0].substr(1)),o&&(i.classList=o.map((function(t){return t.substr(1)}))),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t.replace(/\s?>\s?/g," ").split(/\s+/g).map(n).map((function(t){return t.classList&&t.classList.sort(),t}))},t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if(e.startsWith("$shadow-root >"))throw new Error("Malformed selector '".concat(e,"': should not start with $shadow-root"));e.endsWith("> $shadow-root")&&(e=e.slice(0,e.length-"> $shadow-root".length));for(var r,n=t,o=e.split("> $shadow-root >"),i=0;i<o.length;i++)if((r=s(n,o[i]))&&i<o.length-1){if(!r.shadowRoot)throw new Error("Missing shadowRoot for selector '".concat(e,"' at depth ").concat(i));n=r.shadowRoot}return{root:n,node:r}},e.caseInsensitiveQuerySelector=void 0;var o=n(r(3));function i(t,e){var r;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}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,u=!0,s=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return u=t.done,t},e:function(t){s=!0,i=t},f:function(){try{u||null==r.return||r.return()}finally{if(s)throw i}}}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var u=function(t){var e=t.root,r=t.selector,n=t.directDesc,a=r.split(/(?=\.)|(?=#)/),u=a.shift(),s="",c=[];a.forEach((function(t){"#"===t[0]&&(s=t.toLowerCase().substring(1).trim()),"."===t[0]&&c.push(t.toLowerCase().substring(1).trim())}));var f,l=i(n?[e.querySelector(":scope > ".concat(u))]:e.querySelectorAll(u));try{var d=function(){var t=f.value;if(!t||s!==t.id.toLowerCase())return"continue";var e=Array.from(t.classList.values()).map((function(t){return t.toLowerCase()})).filter((function(t){return""!==t&&":"!==t[0]}));return c.every((function(t){return e.indexOf(t)>-1}))?{v:t}:"continue"};for(l.s();!(f=l.n()).done;){var p=d();if("continue"!==p&&"object"===(0,o.default)(p))return p.v}}catch(t){l.e(t)}finally{l.f()}return null},s=function(t,e){if(!e.length)return null;var r,n=e.split(" > ");if(!(r=t.host?t:t.querySelector("body")))return null;var o=n.shift();if(!(r=u({root:r,selector:o,directDesc:!1})))return null;var a,s=i(n);try{for(s.s();!(a=s.n()).done;){var c=a.value;if(!(r=u({root:r,selector:c,directDesc:!0})))return null}}catch(t){s.e(t)}finally{s.f()}return r};e.caseInsensitiveQuerySelector=s},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var r=String(t);if("lipsum"===String(e).toLowerCase())return function(t){var e="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. ",r=Math.ceil(t.length/e.length),n="";for(;r>0;)n+=e,r--;return n.slice(0,t.length)}(r);return""};t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=[],n=i(e.reverse());try{var a=function(){var e=t.value,n=e.nodeName,i=e.id,a=e.nthChild,u=e.classList,s=[],c=[];a&&c.push("nth-child(".concat(a,")")),n&&(s.push(n),c.sort().map((function(t){return s.push(":".concat(t))}))),i&&s.push("#".concat(i)),u&&u.length&&(u=u.map((function(t){return t.toLowerCase()})).sort(),s=[].concat((0,o.default)(s),(0,o.default)(u.map((function(t){return".".concat(t)}))))),s.length&&r.push(s.join(" "))};for(n.s();!(t=n.n()).done;)a()}catch(t){n.e(t)}finally{n.f()}return r.join(" > ")};var o=n(r(9));function i(t,e){var r;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}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,u=!0,s=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return u=t.done,t},e:function(t){s=!0,i=t},f:function(){try{u||null==r.return||r.return()}finally{if(s)throw i}}}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return t&&e&&t.substring(t.length-e.length)===e},t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return t&&e&&t.indexOf(e)>-1},t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var r=Math.ceil(t),n=Math.floor(e);return Math.floor(Math.random()*(n-r))+r},t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=(0,n(r(45)).default)((function(t){var e={nodeName:t.nodeName?t.nodeName.toLowerCase():""};return t.id&&t.id.length>0&&(e.id=t.id),t.classList&&t.classList.length>0&&(e.classList=Array.prototype.slice.call(t.classList,0)),e}));e.default=o,t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(t)try{var e=("string"==typeof t?JSON.parse(t):t).query.trim().match(/(query|mutation) ([a-z_-]+)/i);return e?{operationType:e[1],operationName:e[2]}:{}}catch(t){return{}}return{}},t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return n.indexOf(t.type)>-1||"CLICK"===t.data.eventType};var n=["lr.browser.NavigationEvent","lr.browser.InputChangeEvent","lr.browser.InputEvent"];t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return["lr.browser.MouseEvent","lr.browser.ScrollEvent","lr.browser.InputEvent","lr.browser.InputChangeEvent","lr.android.TouchEvent","lr.android.InputChangeEvent","lr.ios.TouchEvent","lr.ios.InputChangeEvent"].indexOf(t)>-1},t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if(e<=0)return!1;var r=Math.floor(1e4*e);return(0,o.default)(t)%1e4<=r};var o=n(r(51));t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.prefix,r=void 0===e?5:e;return"".concat(r,"-").concat((0,o.default)())};var o=n(r(50));t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=new Set;return t.forEach((function(t){return e.add(t)})),e},t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=[];return t.forEach((function(t){return e.push(t)})),e},t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e,r=t.logger,n=t.url,o=void 0===n?"":n,i=(r.getConfig("lr.browser")||{}).urlSanitizer,a=void 0===i?function(t){return t}:i;try{e=a(o)}catch(t){console.error(t)}if("string"==typeof e)return e;return""},t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return{permissions:{dashboard:{metrics:!0,errors:!0},sessionPlayback:{developerPane:{networkPane:{requestBodiesAndHeaders:!0}}}},appRoles:[]}},t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isSandboxOrg=e.isDemoOrg=e.isDemoApp=e.isDemoAppOrSandbox=void 0;var n=r(52);e.isDemoAppOrSandbox=function(t){return t===n.DEMO_APP_ID||t.split("/")[0]===n.SANDBOX_SOURCE_ORG_SLUG};e.isDemoApp=function(t){return t===n.DEMO_APP_ID};e.isDemoOrg=function(t){if(!t)return!1;var e=t.split("/")[0];return e===n.DEMO_ORG_SLUG||e===n.SANDBOX_SOURCE_ORG_SLUG};e.isSandboxOrg=function(t){return!!t&&t.split("/")[0]===n.SANDBOX_SOURCE_ORG_SLUG}},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.LOG_FILTER_TYPES=e.LOG_TYPES=void 0;var o,i=n(r(1)),a={LOG:"LOG",WARN:"WARN",ERROR:"ERROR",DEBUG:"DEBUG",INFO:"INFO",REDUX:"REDUX",NAVIGATION:"NAVIGATION",NETWORK:"NETWORK",PREV_SESSION:"PREV_SESSION",NEXT_SESSION:"NEXT_SESSION",LOAD_MORE:"LOAD_MORE",EXCEPTION:"EXCEPTION"};e.LOG_TYPES=a;var u=(o={},(0,i.default)(o,a.LOG,{label:"Logs",filterLabel:"Log",types:[a.LOG]}),(0,i.default)(o,a.WARN,{label:"Warnings",filterLabel:"Warning",types:[a.WARN]}),(0,i.default)(o,a.ERROR,{label:"Errors",filterLabel:"Error",types:[a.ERROR,a.EXCEPTION]}),(0,i.default)(o,a.INFO,{label:"Info",filterLabel:"Info",types:[a.INFO]}),(0,i.default)(o,a.DEBUG,{label:"Debug",filterLabel:"Debug",types:[a.DEBUG]}),(0,i.default)(o,a.REDUX,{label:"Redux",types:[a.REDUX]}),(0,i.default)(o,a.NAVIGATION,{label:"Navigation",types:[a.NAVIGATION]}),o);e.LOG_FILTER_TYPES=u},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_INSIGHTS_HEATMAP_FOR_URL_OPERATOR=e.DEFAULT_HEATMAP_FOR_URL_OPERATOR=e.nextSortDirection=e.SORT_DIRECTION=e.FEEDBACK_SORT_COLUMN=e.HEATMAP_FOR_URL_OPERATOR=e.METRIC_TIMESERIES_TYPE=void 0;e.METRIC_TIMESERIES_TYPE={SESSION_COUNT:"SESSION_COUNT",PERCENTILE:"PERCENTILE",CONVERSION_RATE:"CONVERSION_RATE",SESSION_PERCENTAGE:"SESSION_PERCENTAGE",ACTIVE_USERS:"ACTIVE_USERS",EVENT_COUNT:"EVENT_COUNT"};var n={IS:"IS",CONTAINS:"CONTAINS",LIKE:"LIKE",HREF_LIKE:"HREF_LIKE"};e.HEATMAP_FOR_URL_OPERATOR=n;e.FEEDBACK_SORT_COLUMN={RATING:"RATING",SUBMISSION_DATE:"SUBMISSION_DATE"};var o={UNSET:"UNSET",ASC:"ASC",DESC:"DESC"};e.SORT_DIRECTION=o;e.nextSortDirection=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.reverse,n=void 0!==r&&r,i=o.UNSET,a=o.ASC,u=o.DESC,s=[i,u,a];n&&(s=[i,a,u]);var c=s.indexOf(t);return s[(c+1)%s.length]};var i=n.IS;e.DEFAULT_HEATMAP_FOR_URL_OPERATOR=i;var a=n.HREF_LIKE;e.DEFAULT_INSIGHTS_HEATMAP_FOR_URL_OPERATOR=a},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.ES_ISSUE_TYPE_GROUP_FIELD=e.ES_ISSUE_TYPE_BASE_FILTER=e.DYNAMIC_ES_ISSUE_TYPES=e.HASHED_ES_ISSUE_TYPES=e.ES_ISSUE_TYPES=e.ISSUE_GROUP_TYPE=e.ISSUE_TYPE=void 0;var o,i,a=n(r(1)),u={EXCEPTION:"EXCEPTION",NETWORK_ERROR:"NETWORK_ERROR",RAGE_CLICK:"RAGE_CLICK",DEAD_CLICK:"DEAD_CLICK",FRUSTRATING_NETWORK:"FRUSTRATING_NETWORK"};e.ISSUE_TYPE=u;e.ISSUE_GROUP_TYPE={DYNAMIC_URL:"DYNAMIC_URL",DYNAMIC_ES:"DYNAMIC_ES",TROYTOWN:"TROYTOWN",SENTRY:"SENTRY"};var s=[u.RAGE_CLICK,u.DEAD_CLICK,u.FRUSTRATING_NETWORK];e.ES_ISSUE_TYPES=s;var c=[u.FRUSTRATING_NETWORK];e.HASHED_ES_ISSUE_TYPES=c;var f=[u.RAGE_CLICK,u.DEAD_CLICK];e.DYNAMIC_ES_ISSUE_TYPES=f;var l=(o={},(0,a.default)(o,u.RAGE_CLICK,{rageClicked:{operator:"TEXT_IS",strings:[]}}),(0,a.default)(o,u.DEAD_CLICK,{deadClicked:{operator:"TEXT_IS",strings:[]}}),o);e.ES_ISSUE_TYPE_BASE_FILTER=l;var d=(i={},(0,a.default)(i,u.RAGE_CLICK,{field:"data.text",groupField:"data.text.keyword"}),(0,a.default)(i,u.DEAD_CLICK,{field:"data.text",groupField:"data.text.keyword"}),(0,a.default)(i,u.FRUSTRATING_NETWORK,{field:"data.groupHash",groupField:"data.groupHash"}),i);e.ES_ISSUE_TYPE_GROUP_FIELD=d},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.sdkThrottle,i=void 0===n?500:n;if(!t.length)return null;var a=(0,o.default)(t,{time:e},"time"),u=t[a]||t[a-1],s=t[a-1]||u,c=Math.min(u.time-s.time,i),f=Math.max(e-(u.time-c),0),l=0===c?1:Math.min(f/c,1);return{prev:s,next:u,ratio:l}};var o=n(r(53));t.exports=e.default},function(t,e,r){var n=r(143),o=r(208),i=r(219),a=r(4),u=r(220);t.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?a(t)?o(t[0],t[1]):n(t):u(t)}},function(t,e,r){var n=r(144),o=r(207),i=r(68);t.exports=function(t){var e=o(t);return 1==e.length&&e[0][2]?i(e[0][0],e[0][1]):function(r){return r===t||n(r,t,e)}}},function(t,e,r){var n=r(54),o=r(59);t.exports=function(t,e,r,i){var a=r.length,u=a,s=!i;if(null==t)return!u;for(t=Object(t);a--;){var c=r[a];if(s&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++a<u;){var f=(c=r[a])[0],l=t[f],d=c[1];if(s&&c[2]){if(void 0===l&&!(f in t))return!1}else{var p=new n;if(i)var h=i(l,d,f,t,e,p);if(!(void 0===h?o(d,l,3,i,p):h))return!1}}return!0}},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(25),i=r(27);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!o||a.length<199)return a.push([t,e]),this.size=++r.size,this;r=this.__data__=new i(a)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(56),o=r(158),i=r(26),a=r(58),u=/^\[object .+?Constructor\]$/,s=Function.prototype,c=Object.prototype,f=s.toString,l=c.hasOwnProperty,d=RegExp("^"+f.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(n(t)?d:u).test(a(t))}},function(t,e,r){var n=r(13),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,u=n?n.toStringTag:void 0;t.exports=function(t){var e=i.call(t,u),r=t[u];try{t[u]=void 0;var n=!0}catch(t){}var o=a.call(t);return n&&(e?t[u]=r:delete t[u]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(159),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!i&&i in t}},function(t,e,r){var n=r(2)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(162),o=r(11),i=r(25);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},function(t,e,r){var n=r(163),o=r(164),i=r(165),a=r(166),u=r(167);function s(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}s.prototype.clear=n,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,t.exports=s},function(t,e,r){var n=r(14);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},function(t,e,r){var n=r(14),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},function(t,e,r){var n=r(14),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},function(t,e,r){var n=r(14);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},function(t,e,r){var n=r(15);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},function(t,e,r){var n=r(15);t.exports=function(t){return n(this,t).get(t)}},function(t,e,r){var n=r(15);t.exports=function(t){return n(this,t).has(t)}},function(t,e,r){var n=r(15);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},function(t,e,r){var n=r(54),o=r(60),i=r(179),a=r(183),u=r(202),s=r(4),c=r(63),f=r(66),l="[object Arguments]",d="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,g,v,y){var _=s(t),b=s(e),m=_?d:u(t),E=b?d:u(e),O=(m=m==l?p:m)==p,x=(E=E==l?p:E)==p,w=m==E;if(w&&c(t)){if(!c(e))return!1;_=!0,O=!1}if(w&&!O)return y||(y=new n),_||f(t)?o(t,e,r,g,v,y):i(t,e,m,r,g,v,y);if(!(1&r)){var S=O&&h.call(t,"__wrapped__"),P=x&&h.call(e,"__wrapped__");if(S||P){var R=S?t.value():t,A=P?e.value():e;return y||(y=new n),v(R,A,r,g,y)}}return!!w&&(y||(y=new n),a(t,e,r,g,v,y))}},function(t,e,r){var n=r(27),o=r(175),i=r(176);function a(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,t.exports=a},function(t,e){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},function(t,e){t.exports=function(t,e){return t.has(e)}},function(t,e,r){var n=r(13),o=r(180),i=r(55),a=r(60),u=r(181),s=r(182),c=n?n.prototype:void 0,f=c?c.valueOf:void 0;t.exports=function(t,e,r,n,c,l,d){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!l(new o(t),new o(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var p=u;case"[object Set]":var h=1&n;if(p||(p=s),t.size!=e.size&&!h)return!1;var g=d.get(t);if(g)return g==e;n|=2,d.set(t,e);var v=a(p(t),p(e),n,c,l,d);return d.delete(t),v;case"[object Symbol]":if(f)return f.call(t)==f.call(e)}return!1}},function(t,e,r){var n=r(2).Uint8Array;t.exports=n},function(t,e){t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}},function(t,e){t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}},function(t,e,r){var n=r(184),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,i,a,u){var s=1&r,c=n(t),f=c.length;if(f!=n(e).length&&!s)return!1;for(var l=f;l--;){var d=c[l];if(!(s?d in e:o.call(e,d)))return!1}var p=u.get(t),h=u.get(e);if(p&&h)return p==e&&h==t;var g=!0;u.set(t,e),u.set(e,t);for(var v=s;++l<f;){var y=t[d=c[l]],_=e[d];if(i)var b=s?i(_,y,d,e,t,u):i(y,_,d,t,e,u);if(!(void 0===b?y===_||a(y,_,r,i,u):b)){g=!1;break}v||(v="constructor"==d)}if(g&&!v){var m=t.constructor,E=e.constructor;m==E||!("constructor"in t)||!("constructor"in e)||"function"==typeof m&&m instanceof m&&"function"==typeof E&&E instanceof E||(g=!1)}return u.delete(t),u.delete(e),g}},function(t,e,r){var n=r(185),o=r(187),i=r(61);t.exports=function(t){return n(t,i,o)}},function(t,e,r){var n=r(186),o=r(4);t.exports=function(t,e,r){var i=e(t);return o(t)?i:n(i,r(t))}},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}},function(t,e,r){var n=r(188),o=r(189),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,u=a?function(t){return null==t?[]:(t=Object(t),n(a(t),(function(e){return i.call(t,e)})))}:o;t.exports=u},function(t,e){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r<n;){var a=t[r];e(a,r,t)&&(i[o++]=a)}return i}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(191),o=r(62),i=r(4),a=r(63),u=r(65),s=r(66),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=i(t),f=!r&&o(t),l=!r&&!f&&a(t),d=!r&&!f&&!l&&s(t),p=r||f||l||d,h=p?n(t.length,String):[],g=h.length;for(var v in t)!e&&!c.call(t,v)||p&&("length"==v||l&&("offset"==v||"parent"==v)||d&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||u(v,g))||h.push(v);return h}},function(t,e){t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},function(t,e,r){var n=r(7),o=r(8);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},function(t,e){t.exports=function(){return!1}},function(t,e,r){var n=r(7),o=r(28),i=r(8),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!a[n(t)]}},function(t,e){t.exports=function(t){return function(e){return t(e)}}},function(t,e,r){(function(t){var n=r(57),o=e&&!e.nodeType&&e,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o&&n.process,u=function(){try{var t=i&&i.require&&i.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=u}).call(this,r(64)(t))},function(t,e,r){var n=r(198),o=r(199),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))i.call(t,r)&&"constructor"!=r&&e.push(r);return e}},function(t,e){var r=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}},function(t,e,r){var n=r(200)(Object.keys,Object);t.exports=n},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(56),o=r(28);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e,r){var n=r(203),o=r(25),i=r(204),a=r(205),u=r(206),s=r(7),c=r(58),f="[object Map]",l="[object Promise]",d="[object Set]",p="[object WeakMap]",h="[object DataView]",g=c(n),v=c(o),y=c(i),_=c(a),b=c(u),m=s;(n&&m(new n(new ArrayBuffer(1)))!=h||o&&m(new o)!=f||i&&m(i.resolve())!=l||a&&m(new a)!=d||u&&m(new u)!=p)&&(m=function(t){var e=s(t),r="[object Object]"==e?t.constructor:void 0,n=r?c(r):"";if(n)switch(n){case g:return h;case v:return f;case y:return l;case _:return d;case b:return p}return e}),t.exports=m},function(t,e,r){var n=r(5)(r(2),"DataView");t.exports=n},function(t,e,r){var n=r(5)(r(2),"Promise");t.exports=n},function(t,e,r){var n=r(5)(r(2),"Set");t.exports=n},function(t,e,r){var n=r(5)(r(2),"WeakMap");t.exports=n},function(t,e,r){var n=r(67),o=r(61);t.exports=function(t){for(var e=o(t),r=e.length;r--;){var i=e[r],a=t[i];e[r]=[i,a,n(a)]}return e}},function(t,e,r){var n=r(59),o=r(209),i=r(216),a=r(29),u=r(67),s=r(68),c=r(17);t.exports=function(t,e){return a(t)&&u(e)?s(c(t),e):function(r){var a=o(r,t);return void 0===a&&a===e?i(r,t):n(e,a,3)}}},function(t,e,r){var n=r(69);t.exports=function(t,e,r){var o=null==t?void 0:n(t,e);return void 0===o?r:o}},function(t,e,r){var n=r(211),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=n((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,r,n,o){e.push(n?o.replace(i,"$1"):r||t)})),e}));t.exports=a},function(t,e,r){var n=r(212);t.exports=function(t){var e=n(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}},function(t,e,r){var n=r(27);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(o.Cache||n),r}o.Cache=n,t.exports=o},function(t,e,r){var n=r(214);t.exports=function(t){return null==t?"":n(t)}},function(t,e,r){var n=r(13),o=r(215),i=r(4),a=r(16),u=n?n.prototype:void 0,s=u?u.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(a(e))return s?s.call(e):"";var r=e+"";return"0"==r&&1/e==-Infinity?"-0":r}},function(t,e){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}},function(t,e,r){var n=r(217),o=r(218);t.exports=function(t,e){return null!=t&&o(t,e,n)}},function(t,e){t.exports=function(t,e){return null!=t&&e in Object(t)}},function(t,e,r){var n=r(70),o=r(62),i=r(4),a=r(65),u=r(28),s=r(17);t.exports=function(t,e,r){for(var c=-1,f=(e=n(e,t)).length,l=!1;++c<f;){var d=s(e[c]);if(!(l=null!=t&&r(t,d)))break;t=t[d]}return l||++c!=f?l:!!(f=null==t?0:t.length)&&u(f)&&a(d,f)&&(i(t)||o(t))}},function(t,e){t.exports=function(t){return t}},function(t,e,r){var n=r(221),o=r(222),i=r(29),a=r(17);t.exports=function(t){return i(t)?n(a(t)):o(t)}},function(t,e){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},function(t,e,r){var n=r(69);t.exports=function(t){return function(e){return n(e,t)}}},function(t,e,r){var n=r(16),o=Math.floor,i=Math.min;t.exports=function(t,e,r,a){var u=0,s=null==t?0:t.length;if(0===s)return 0;for(var c=(e=r(e))!=e,f=null===e,l=n(e),d=void 0===e;u<s;){var p=o((u+s)/2),h=r(t[p]),g=void 0!==h,v=null===h,y=h==h,_=n(h);if(c)var b=a||y;else b=d?y&&(a||g):f?y&&g&&(a||!v):l?y&&g&&!v&&(a||!_):!v&&!_&&(a?h<=e:h<e);b?u=p+1:s=p}return i(s,4294967294)}},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=s,e.interpolateMobile=function(t,e,r){if(!t)return{};var n=t.prev,o=t.next;if("MOVE"===o.type)return s(t,e);if(n===o&&Math.abs(r-o.time)>500)return null;return o};var o=n(r(1));function i(t,e){var r;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}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,u=!0,s=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return u=t.done,t},e:function(t){s=!0,i=t},f:function(){try{u||null==r.return||r.return()}finally{if(s)throw i}}}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function s(t,e){if(!t)return{};var r,n=t.prev,a=t.next,s=t.ratio,c=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?u(Object(r),!0).forEach((function(e){(0,o.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},a),f=i(e);try{for(f.s();!(r=f.n()).done;){var l=r.value;c[l]=n[l]+(a[l]-n[l])*s}}catch(t){f.e(t)}finally{f.f()}return c}},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if(0===t.length)return t;var r=(0,o.default)(t,{time:e.time-5e3},"time")-1,n=t[r];if(n&&e.time-n.time>5e3&&r>0)return t.slice(r);return t};var o=n(r(53));t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.knownMetricTypes=void 0;e.knownMetricTypes=["cumulativeLayoutShift","firstInputDelay","initialPageLoadTime","largestContentfulPaintTime","timeToFirstByte"]},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.SESSION_TYPE_TO_DISPLAY=e.SESSION_TYPES=e.SDK_TYPE_TO_DISPLAY=e.SDK_TYPES=void 0;var o,i=n(r(1)),a={WEB:"web",MOBILE:"mobile"};e.SDK_TYPES=a;var u=(o={},(0,i.default)(o,a.WEB,"Web"),(0,i.default)(o,a.MOBILE,"Mobile"),o);e.SDK_TYPE_TO_DISPLAY=u;var s=a;e.SESSION_TYPES=s;var c=u;e.SESSION_TYPE_TO_DISPLAY=c},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.parseQueryString=void 0;var o=n(r(49));e.parseQueryString=function(t){var e=t.indexOf("?");return-1===e?{}:function(t){var e={};return t.split("&").forEach((function(t){var r=t.split("=").map((function(t){return t.replace(/\+/g," ")})).map(decodeURIComponent),n=(0,o.default)(r,2),i=n[0],a=n[1];e[i]=a})),e}(t.substring(e+1))}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.likeOperator=function(t,e){var r=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/\\\*/g,".*").replace(/\\\?/g,".");return new RegExp("^".concat(r,"$")).test(t)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){for(var r=[],n=t.reduce((function(t,e){return t+e.count}),0),o=0,i=1;i<=100;i++){var a=e*(.01*i);o>=t.length?r.push(0):(r.push(n),a>t[o].maxScroll&&(n-=t[o].count,o++))}return r},t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ORGS_THAT_CAN_USE_OLDER_MOBILE_SDKS=e.MAXIMUM_SUPPORTED_VERSION=e.MINIMUM_SUPPORTED_VERSION=e.IOS_VERSION=e.ANDROID_VERSION=void 0;e.ANDROID_VERSION="1.4.0";e.IOS_VERSION="1.4.0";e.MINIMUM_SUPPORTED_VERSION="1.0.0";e.MAXIMUM_SUPPORTED_VERSION="1.5.0";var n=new Set(["acns5j","tnlnay"]);e.ORGS_THAT_CAN_USE_OLDER_MOBILE_SDKS=n},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.checkForValidationErrors=a,e.sanitizeEventProps=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=0,n={},o=[],s=0,c=Object.keys(t);s<c.length;s++){var f=c[s],l=t[f],d=a(f,l);void 0===d?void 0===e||r!==e?(r++,n[f]=u(l)):o.push({error:i.VALIDATION_ERRORS.MAX_PROPS_REACHED,prop:f}):o.push(d)}return{eventProps:n,errors:o}};var o=n(r(3)),i=r(30);function a(t,e){if(t.length>i.MAX_PROPERTY_NAME_LENGTH)return{error:i.VALIDATION_ERRORS.NAME_TOO_LONG,prop:t};if(Object.keys(i.RESERVED_PROPS).indexOf(t)>=0&&i.RESERVED_PROPS[t]!==(0,o.default)(e))return{error:i.VALIDATION_ERRORS.RESERVED_TYPE_MISMATCH,prop:t,propType:(0,o.default)(e)};if(Array.isArray(e)){if(0===e.length)return{error:i.VALIDATION_ERRORS.EMPTY_ARRAY,prop:t};var r=(0,o.default)(e[0]);return i.SUPPORTED_TYPES.indexOf(r)<0?{error:i.VALIDATION_ERRORS.UNSUPPORTED_TYPE,prop:t,propType:"".concat(r,"[]")}:e.every((function(t){return(0,o.default)(t)===r}))?void 0:{error:i.VALIDATION_ERRORS.MIXED_TYPE_ARRAY,prop:t}}return i.SUPPORTED_TYPES.indexOf((0,o.default)(e))<0?{error:i.VALIDATION_ERRORS.UNSUPPORTED_TYPE,prop:t,propType:(0,o.default)(e)}:void 0}function u(t){var e=Array.isArray(t)?t:[t];switch((0,o.default)(e[0])){case"number":return{doubleVal:e};case"boolean":return{boolVal:e};case"string":return{stringVal:e};default:return{}}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.printEventPropError=function(t){switch(t.error){case n.VALIDATION_ERRORS.EMPTY_ARRAY:return"Ignored empty array at property ".concat(t.prop);case n.VALIDATION_ERRORS.MIXED_TYPE_ARRAY:return"Ignored mixed type array at property ".concat(t.prop);case n.VALIDATION_ERRORS.UNSUPPORTED_TYPE:return"Ignored unsupported type (".concat(t.propType,") at property ").concat(t.prop,". Expected one of: ").concat(n.SUPPORTED_TYPES.join(),",").concat(n.SUPPORTED_TYPES.map((function(t){return"".concat(t,"[]")})).join());case n.VALIDATION_ERRORS.RESERVED_TYPE_MISMATCH:return"Ignored reserved property ".concat(t.prop," with unexpected type ").concat(t.propType,". Expected type ").concat(n.RESERVED_PROPS[t.prop]);case n.VALIDATION_ERRORS.MAX_PROPS_REACHED:return"Max number of custom properties per session reached. Ignored property ".concat(t.prop);case n.VALIDATION_ERRORS.NAME_TOO_LONG:return"Property name ".concat(t.prop," is over max length of ").concat(n.MAX_PROPERTY_NAME_LENGTH);case n.VALIDATION_ERRORS.MALFORMED_VARIANT:return"Malformed variant at property ".concat(t.prop);default:return"Unknown error processing event properties"}};var n=r(30)},function(t,e,r){"use strict";var n=r(18);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(19)),i=n(r(36)),a=n(r(37)),u=n(r(235)),s=n(r(10));function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function f(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){(0,o.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var l=function(){function t(){(0,i.default)(this,t),this.reduxStateByStoreId={}}return(0,a.default)(t,[{key:"encodeInitialState",value:function(t){return this.reduxStateByStoreId[t.storeId]=t.state,f(f({},t),{},{state:s.default.encode(t.state)})}},{key:"encodeReduxAction",value:function(t){var e=f({},t),r=this.reduxStateByStoreId[t.storeId];if(r){var n=u.default.diff({o:r.state},{o:t.stateDelta});this.reduxStateByStoreId[t.storeId]={state:t.stateDelta},e.stateDelta=s.default.encode(void 0!==n?n:null)}else this.reduxStateByStoreId[t.storeId]={state:t.stateDelta},e.state=s.default.encode(t.stateDelta),e.stateDelta=s.default.encode(null);return e.action=s.default.encode(t.action),e}}]),t}();e.default=l,t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(236)).default;e.default=o,t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(237),o=new n.DiffPatcher({arrays:{detectMove:!1},propertyFilter:function(t,e){return"function"!=typeof e.left[t]&&"function"!=typeof e.right[t]&&!function(t){for(var e=0,r=t.parent;void 0!==r;){if(r.left===t.left&&r.right===t.right)return!0;if(r=r.parent,++e>10)return!0}return!1}(e)}});e.default=o,t.exports=e.default},function(t,e,r){var n=r(238).Processor,o=r(71).Pipe,i=r(31).DiffContext,a=r(33).PatchContext,u=r(34).ReverseContext,s=r(72),c=r(239),f=r(240),l=r(241),d=r(243),p=r(244),h=function(t){this.processor=new n(t),this.processor.pipe(new o("diff").append(f.collectChildrenDiffFilter,c.diffFilter,d.diffFilter,p.diffFilter,f.objectsDiffFilter,l.diffFilter).shouldHaveResult()),this.processor.pipe(new o("patch").append(f.collectChildrenPatchFilter,l.collectChildrenPatchFilter,c.patchFilter,p.patchFilter,f.patchFilter,l.patchFilter).shouldHaveResult()),this.processor.pipe(new o("reverse").append(f.collectChildrenReverseFilter,l.collectChildrenReverseFilter,c.reverseFilter,p.reverseFilter,f.reverseFilter,l.reverseFilter).shouldHaveResult())};h.prototype.options=function(){return this.processor.options.apply(this.processor,arguments)},h.prototype.diff=function(t,e){return this.processor.process(new i(t,e))},h.prototype.patch=function(t,e){return this.processor.process(new a(t,e))},h.prototype.reverse=function(t){return this.processor.process(new u(t))},h.prototype.unpatch=function(t,e){return this.patch(t,this.reverse(e))},h.prototype.clone=function(t){return s(t)},e.DiffPatcher=h},function(t,e){var r=function(t){this.selfOptions=t||{},this.pipes={}};r.prototype.options=function(t){return t&&(this.selfOptions=t),this.selfOptions},r.prototype.pipe=function(t,e){if("string"==typeof t){if(void 0===e)return this.pipes[t];this.pipes[t]=e}if(t&&t.name){if((e=t).processor===this)return e;this.pipes[e.name]=e}return e.processor=this,e},r.prototype.process=function(t,e){var r=t;r.options=this.options();for(var n,o,i=e||t.pipe||"default";i;)void 0!==r.nextAfterChildren&&(r.next=r.nextAfterChildren,r.nextAfterChildren=null),"string"==typeof i&&(i=this.pipe(i)),i.process(r),o=r,n=i,i=null,r&&r.next&&(r=r.next,i=o.nextPipe||r.pipe||n);return r.hasResult?r.result:void 0},e.Processor=r},function(t,e){var r="function"==typeof Array.isArray?Array.isArray:function(t){return t instanceof Array},n=function(t){if(t.left!==t.right)if(void 0!==t.left)if(void 0!==t.right){if("function"==typeof t.left||"function"==typeof t.right)throw new Error("functions are not supported");if(t.leftType=null===t.left?"null":typeof t.left,t.rightType=null===t.right?"null":typeof t.right,t.leftType===t.rightType)if("boolean"!==t.leftType&&"number"!==t.leftType)if("object"===t.leftType&&(t.leftIsArray=r(t.left)),"object"===t.rightType&&(t.rightIsArray=r(t.right)),t.leftIsArray===t.rightIsArray){if(t.left instanceof RegExp){if(!(t.right instanceof RegExp))return void t.setResult([t.left,t.right]).exit();t.setResult([t.left.toString(),t.right.toString()]).exit()}}else t.setResult([t.left,t.right]).exit();else t.setResult([t.left,t.right]).exit();else t.setResult([t.left,t.right]).exit()}else t.setResult([t.left,0,0]).exit();else{if("function"==typeof t.right)throw new Error("functions are not supported");t.setResult([t.right]).exit()}else t.setResult(void 0).exit()};n.filterName="trivial";var o=function(t){if(void 0!==t.delta){if(t.nested=!r(t.delta),!t.nested)if(1!==t.delta.length)if(2!==t.delta.length)3!==t.delta.length||0!==t.delta[2]||t.setResult(void 0).exit();else{if(t.left instanceof RegExp){var e=/^\/(.*)\/([gimyu]+)$/.exec(t.delta[1]);if(e)return void t.setResult(new RegExp(e[1],e[2])).exit()}t.setResult(t.delta[1]).exit()}else t.setResult(t.delta[0]).exit()}else t.setResult(t.left).exit()};o.filterName="trivial";var i=function(t){void 0!==t.delta?(t.nested=!r(t.delta),t.nested||(1!==t.delta.length?2!==t.delta.length?3!==t.delta.length||0!==t.delta[2]||t.setResult([t.delta[0]]).exit():t.setResult([t.delta[1],t.delta[0]]).exit():t.setResult([t.delta[0],0,0]).exit())):t.setResult(t.delta).exit()};i.filterName="trivial",e.diffFilter=n,e.patchFilter=o,e.reverseFilter=i},function(t,e,r){var n=r(31).DiffContext,o=r(33).PatchContext,i=r(34).ReverseContext,a=function(t){if(t&&t.children){for(var e,r=t.children.length,n=t.result,o=0;o<r;o++)void 0!==(e=t.children[o]).result&&((n=n||{})[e.childName]=e.result);n&&t.leftIsArray&&(n._t="a"),t.setResult(n).exit()}};a.filterName="collectChildren";var u=function(t){if(!t.leftIsArray&&"object"===t.leftType){var e,r,o=t.options.propertyFilter;for(e in t.left)Object.prototype.hasOwnProperty.call(t.left,e)&&(o&&!o(e,t)||(r=new n(t.left[e],t.right[e]),t.push(r,e)));for(e in t.right)Object.prototype.hasOwnProperty.call(t.right,e)&&(o&&!o(e,t)||void 0===t.left[e]&&(r=new n(void 0,t.right[e]),t.push(r,e)));t.children&&0!==t.children.length?t.exit():t.setResult(void 0).exit()}};u.filterName="objects";var s=function(t){if(t.nested&&!t.delta._t){var e,r;for(e in t.delta)r=new o(t.left[e],t.delta[e]),t.push(r,e);t.exit()}};s.filterName="objects";var c=function(t){if(t&&t.children&&!t.delta._t){for(var e,r=t.children.length,n=0;n<r;n++)e=t.children[n],Object.prototype.hasOwnProperty.call(t.left,e.childName)&&void 0===e.result?delete t.left[e.childName]:t.left[e.childName]!==e.result&&(t.left[e.childName]=e.result);t.setResult(t.left).exit()}};c.filterName="collectChildren";var f=function(t){if(t.nested&&!t.delta._t){var e,r;for(e in t.delta)r=new i(t.delta[e]),t.push(r,e);t.exit()}};f.filterName="objects";var l=function(t){if(t&&t.children&&!t.delta._t){for(var e,r=t.children.length,n={},o=0;o<r;o++)n[(e=t.children[o]).childName]!==e.result&&(n[e.childName]=e.result);t.setResult(n).exit()}};l.filterName="collectChildren",e.collectChildrenDiffFilter=a,e.objectsDiffFilter=u,e.patchFilter=s,e.collectChildrenPatchFilter=c,e.reverseFilter=f,e.collectChildrenReverseFilter=l},function(t,e,r){var n=r(31).DiffContext,o=r(33).PatchContext,i=r(34).ReverseContext,a=r(242),u="function"==typeof Array.isArray?Array.isArray:function(t){return t instanceof Array},s="function"==typeof Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var r=t.length,n=0;n<r;n++)if(t[n]===e)return n;return-1};function c(t,e,r,n,o){var i=t[r],a=e[n];if(i===a)return!0;if("object"!=typeof i||"object"!=typeof a)return!1;var u,s,c=o.objectHash;return c?("number"==typeof r?(o.hashCache1=o.hashCache1||[],void 0===(u=o.hashCache1[r])&&(o.hashCache1[r]=u=c(i,r))):u=c(i),void 0!==u&&("number"==typeof n?(o.hashCache2=o.hashCache2||[],void 0===(s=o.hashCache2[n])&&(o.hashCache2[n]=s=c(a,n))):s=c(a),void 0!==s&&u===s)):o.matchByPosition&&r===n}var f=function(t){if(t.leftIsArray){var e,r,o,i,u,f={objectHash:t.options&&t.options.objectHash,matchByPosition:t.options&&t.options.matchByPosition},l=0,d=0,p=t.left,h=t.right,g=p.length,v=h.length;for(g>0&&v>0&&!f.objectHash&&"boolean"!=typeof f.matchByPosition&&(f.matchByPosition=!function(t,e,r,n){for(var o=0;o<r;o++)for(var i=t[o],a=0;a<n;a++){var u=e[a];if(o!==a&&i===u)return!0}}(p,h,g,v));l<g&&l<v&&c(p,h,l,l,f);)e=l,i=new n(t.left[e],t.right[e]),t.push(i,e),l++;for(;d+l<g&&d+l<v&&c(p,h,g-1-d,v-1-d,f);)r=g-1-d,o=v-1-d,i=new n(t.left[r],t.right[o]),t.push(i,o),d++;if(l+d!==g)if(l+d!==v){delete f.hashCache1,delete f.hashCache2;var y=p.slice(l,g-d),_=h.slice(l,v-d),b=a.get(y,_,c,f),m=[];for(u=u||{_t:"a"},e=l;e<g-d;e++)s(b.indices1,e-l)<0&&(u["_"+e]=[p[e],0,0],m.push(e));var E=!0;t.options&&t.options.arrays&&!1===t.options.arrays.detectMove&&(E=!1);var O=!1;t.options&&t.options.arrays&&t.options.arrays.includeValueOnMove&&(O=!0);var x=m.length;for(e=l;e<v-d;e++){var w=s(b.indices2,e-l);if(w<0){var S=!1;if(E&&x>0)for(var P=0;P<x;P++)if(c(y,_,(r=m[P])-l,e-l,f)){u["_"+r].splice(1,2,e,3),O||(u["_"+r][0]=""),o=e,i=new n(t.left[r],t.right[o]),t.push(i,o),m.splice(P,1),S=!0;break}S||(u[e]=[h[e]])}else r=b.indices1[w]+l,o=b.indices2[w]+l,i=new n(t.left[r],t.right[o]),t.push(i,o)}t.setResult(u).exit()}else{for(u=u||{_t:"a"},e=l;e<g-d;e++)u["_"+e]=[p[e],0,0];t.setResult(u).exit()}else{if(g===v)return void t.setResult(void 0).exit();for(u=u||{_t:"a"},e=l;e<v-d;e++)u[e]=[h[e]];t.setResult(u).exit()}}};f.filterName="arrays";var l=function(t,e){return t-e},d=function(t){return function(e,r){return e[t]-r[t]}},p=function(t){if(t.nested&&"a"===t.delta._t){var e,r,n=t.delta,i=t.left,a=[],u=[],s=[];for(e in n)if("_t"!==e)if("_"===e[0]){if(0!==n[e][2]&&3!==n[e][2])throw new Error("only removal or move can be applied at original array indices, invalid diff type: "+n[e][2]);a.push(parseInt(e.slice(1),10))}else 1===n[e].length?u.push({index:parseInt(e,10),value:n[e][0]}):s.push({index:parseInt(e,10),delta:n[e]});for(e=(a=a.sort(l)).length-1;e>=0;e--){var c=n["_"+(r=a[e])],f=i.splice(r,1)[0];3===c[2]&&u.push({index:c[1],value:f})}var p=(u=u.sort(d("index"))).length;for(e=0;e<p;e++){var h=u[e];i.splice(h.index,0,h.value)}var g,v=s.length;if(v>0)for(e=0;e<v;e++){var y=s[e];g=new o(t.left[y.index],y.delta),t.push(g,y.index)}t.children?t.exit():t.setResult(t.left).exit()}};p.filterName="arrays";var h=function(t){if(t&&t.children&&"a"===t.delta._t){for(var e,r=t.children.length,n=0;n<r;n++)e=t.children[n],t.left[e.childName]=e.result;t.setResult(t.left).exit()}};h.filterName="arraysCollectChildren";var g=function(t){if(t.nested){if("a"===t.delta._t){var e,r;for(e in t.delta)"_t"!==e&&(r=new i(t.delta[e]),t.push(r,e));t.exit()}}else 3===t.delta[2]&&(t.newName="_"+t.delta[1],t.setResult([t.delta[0],parseInt(t.childName.substr(1),10),3]).exit())};g.filterName="arrays";var v=function(t,e,r){if("string"==typeof e&&"_"===e[0])return parseInt(e.substr(1),10);if(u(r)&&0===r[2])return"_"+e;var n=+e;for(var o in t){var i=t[o];if(u(i))if(3===i[2]){var a=parseInt(o.substr(1),10),s=i[1];if(s===+e)return a;a<=n&&s>n?n++:a>=n&&s<n&&n--}else if(0===i[2]){parseInt(o.substr(1),10)<=n&&n++}else 1===i.length&&o<=n&&n--}return n},y=function(t){if(t&&t.children&&"a"===t.delta._t){for(var e,r=t.children.length,n={_t:"a"},o=0;o<r;o++){var i=(e=t.children[o]).newName;void 0===i&&(i=v(t.delta,e.childName,e.result)),n[i]!==e.result&&(n[i]=e.result)}t.setResult(n).exit()}};y.filterName="arraysCollectChildren",e.diffFilter=f,e.patchFilter=p,e.collectChildrenPatchFilter=h,e.reverseFilter=g,e.collectChildrenReverseFilter=y},function(t,e){var r=function(t,e,r,n){return t[r]===e[n]},n=function(t,e,r,o,i,a){if(0===o||0===i)return{sequence:[],indices1:[],indices2:[]};if(t.match(e,r,o-1,i-1,a)){var u=n(t,e,r,o-1,i-1,a);return u.sequence.push(e[o-1]),u.indices1.push(o-1),u.indices2.push(i-1),u}return t[o][i-1]>t[o-1][i]?n(t,e,r,o,i-1,a):n(t,e,r,o-1,i,a)};e.get=function(t,e,o,i){var a=function(t,e,r,n){var o,i,a=t.length,u=e.length,s=[a+1];for(o=0;o<a+1;o++)for(s[o]=[u+1],i=0;i<u+1;i++)s[o][i]=0;for(s.match=r,o=1;o<a+1;o++)for(i=1;i<u+1;i++)r(t,e,o-1,i-1,n)?s[o][i]=s[o-1][i-1]+1:s[o][i]=Math.max(s[o-1][i],s[o][i-1]);return s}(t,e,o||r,i=i||{}),u=n(a,t,e,t.length,e.length,i);return"string"==typeof t&&"string"==typeof e&&(u.sequence=u.sequence.join("")),u}},function(t,e){var r=function(t){t.left instanceof Date?(t.right instanceof Date?t.left.getTime()!==t.right.getTime()?t.setResult([t.left,t.right]):t.setResult(void 0):t.setResult([t.left,t.right]),t.exit()):t.right instanceof Date&&t.setResult([t.left,t.right]).exit()};r.filterName="dates",e.diffFilter=r},function(t,e,r){var n=null,o=function(t){if(!n){var e;if("undefined"!=typeof diff_match_patch)e="function"==typeof diff_match_patch?new diff_match_patch:new diff_match_patch.diff_match_patch;else{try{var o=r(245)("./diff_match_patch_uncompressed");e=new o.diff_match_patch}catch(t){e=null}}if(!e){if(!t)return null;var i=new Error("text diff_match_patch library not found");throw i.diff_match_patch_not_found=!0,i}n={diff:function(t,r){return e.patch_toText(e.patch_make(t,r))},patch:function(t,r){for(var n=e.patch_apply(e.patch_fromText(r),t),o=0;o<n[1].length;o++){if(!n[1][o])new Error("text patch failed").textPatchFailed=!0}return n[0]}}}return n},i=function(t){if("string"===t.leftType){var e=t.options&&t.options.textDiff&&t.options.textDiff.minLength||60;if(t.left.length<e||t.right.length<e)t.setResult([t.left,t.right]).exit();else{var r=o();if(r){var n=r.diff;t.setResult([n(t.left,t.right),0,2]).exit()}else t.setResult([t.left,t.right]).exit()}}};i.filterName="texts";var a=function(t){if(!t.nested&&2===t.delta[2]){var e=o(!0).patch;t.setResult(e(t.left,t.delta[0])).exit()}};a.filterName="texts";var u=function(t){var e,r,n,o,i,a=null,u=/^@@ +\-(\d+),(\d+) +\+(\d+),(\d+) +@@$/;for(e=0,r=(n=t.split("\n")).length;e<r;e++){var s=(o=n[e]).slice(0,1);"@"===s?(a=u.exec(o),null,null,n[e]="@@ -"+a[3]+","+a[4]+" +"+a[1]+","+a[2]+" @@"):"+"===s?(e,n[e]="-"+n[e].slice(1),"+"===n[e-1].slice(0,1)&&(i=n[e],n[e]=n[e-1],n[e-1]=i)):"-"===s&&(e,n[e]="+"+n[e].slice(1))}return n.join("\n")},s=function(t){t.nested||2===t.delta[2]&&t.setResult([u(t.delta[0]),0,2]).exit()};s.filterName="texts",e.diffFilter=i,e.patchFilter=a,e.reverseFilter=s},function(t,e,r){var n={"./diff_match_patch_uncompressed":73,"./diff_match_patch_uncompressed.js":73};function o(t){var e=i(t);return r(e)}function i(t){if(!r.o(n,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}o.keys=function(){return Object.keys(n)},o.resolve=i,t.exports=o,o.id=245},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={error:console.error.bind(console),warn:console.warn.bind(console),info:console.info.bind(console)};e.default=n,t.exports=e.default},function(t,e){t.exports=require("promise/setimmediate/rejection-tracking")},function(t,e){t.exports=require("promise/setimmediate/core")},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"createEnhancer",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"createMiddleware",{enumerable:!0,get:function(){return i.default}});var o=n(r(250)),i=n(r(251))},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.stateSanitizer,n=void 0===r?function(t){return t}:r,o=e.actionSanitizer,a=void 0===o?function(t){return t}:o;return function(e){return function(r,o,c){var f=e(r,o,c),l=f.dispatch,d=s++;t.addEvent("lr.redux.InitialState",(function(){var t;try{t=n(f.getState())}catch(t){console.error(t.toString())}return{state:t,storeId:d}}));return u(u({},f),{},{dispatch:function(e){var r,o,u=(0,i.default)();try{o=l(e)}catch(t){r=t}finally{var s=(0,i.default)()-u;t.addEvent("lr.redux.ReduxAction",(function(){var t=null,r=null;try{t=n(f.getState()),r=a(e)}catch(t){console.error(t.toString())}return t&&r?{storeId:d,action:r,duration:s,stateDelta:t}:null}))}if(r)throw r;return o}})}}};var o=n(r(1)),i=n(r(74));function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(Object(r),!0).forEach((function(e){(0,o.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var s=0;t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.stateSanitizer,n=void 0===r?function(t){return t}:r,a=e.actionSanitizer,u=void 0===a?function(t){return t}:a;return function(e){var r=i++;return t.addEvent("lr.redux.InitialState",(function(){var t;try{t=n(e.getState())}catch(t){console.error(t.toString())}return{state:t,storeId:r}})),function(i){return function(a){var s,c,f=(0,o.default)();try{c=i(a)}catch(t){s=t}finally{var l=(0,o.default)()-f;t.addEvent("lr.redux.ReduxAction",(function(){var t=null,o=null;try{t=n(e.getState()),o=u(a)}catch(t){console.error(t.toString())}return t&&o?{storeId:r,action:o,duration:l,stateDelta:t}:null}))}if(s)throw s;return c}}}};var o=n(r(74)),i=0;t.exports=e.default}])}));
|
|
8
|
+
var n=r(104),o=r(105),i=r(106);function a(){return s.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return s.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=s.prototype:(null===t&&(t=new s(e)),t.length=e),t}function s(t,e,r){if(!(s.TYPED_ARRAY_SUPPORT||this instanceof s))return new s(t,e,r);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return l(this,t)}return c(this,t,e,r)}function c(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n);s.TYPED_ARRAY_SUPPORT?(t=e).__proto__=s.prototype:t=d(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!s.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|h(e,r),o=(t=u(t,n)).write(e,r);o!==n&&(t=t.slice(0,o));return t}(t,e,r):function(t,e){if(s.isBuffer(e)){var r=0|p(e.length);return 0===(t=u(t,r)).length||e.copy(t,0,0,r),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(n=e.length)!=n?u(t,0):d(t,e);if("Buffer"===e.type&&i(e.data))return d(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function f(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function l(t,e){if(f(e),t=u(t,e<0?0:0|p(e)),!s.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function d(t,e){var r=e.length<0?0:0|p(e.length);t=u(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function p(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function h(t,e){if(s.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return B(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return G(t).length;default:if(n)return B(t).length;e=(""+e).toLowerCase(),n=!0}}function g(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return j(this,e,r);case"utf8":case"utf-8":return P(this,e,r);case"ascii":return A(this,e,r);case"latin1":case"binary":return T(this,e,r);case"base64":return S(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function v(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function y(t,e,r,n,o){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=s.from(e,n)),s.isBuffer(e))return 0===e.length?-1:_(t,e,r,n,o);if("number"==typeof e)return e&=255,s.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):_(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function _(t,e,r,n,o){var i,a=1,u=t.length,s=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,u/=2,s/=2,r/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){var f=-1;for(i=r;i<u;i++)if(c(t,i)===c(e,-1===f?0:i-f)){if(-1===f&&(f=i),i-f+1===s)return f*a}else-1!==f&&(i-=i-f),f=-1}else for(r+s>u&&(r=u-s),i=r;i>=0;i--){for(var l=!0,d=0;d<s;d++)if(c(t,i+d)!==c(e,d)){l=!1;break}if(l)return i}return-1}function b(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=e.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var a=0;a<n;++a){var u=parseInt(e.substr(2*a,2),16);if(isNaN(u))return a;t[r+a]=u}return a}function m(t,e,r,n){return H(B(e,t.length-r),t,r,n)}function E(t,e,r,n){return H(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function O(t,e,r,n){return E(t,e,r,n)}function x(t,e,r,n){return H(G(e),t,r,n)}function w(t,e,r,n){return H(function(t,e){for(var r,n,o,i=[],a=0;a<t.length&&!((e-=2)<0);++a)n=(r=t.charCodeAt(a))>>8,o=r%256,i.push(o),i.push(n);return i}(e,t.length-r),t,r,n)}function S(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function P(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i,a,u,s,c=t[o],f=null,l=c>239?4:c>223?3:c>191?2:1;if(o+l<=r)switch(l){case 1:c<128&&(f=c);break;case 2:128==(192&(i=t[o+1]))&&(s=(31&c)<<6|63&i)>127&&(f=s);break;case 3:i=t[o+1],a=t[o+2],128==(192&i)&&128==(192&a)&&(s=(15&c)<<12|(63&i)<<6|63&a)>2047&&(s<55296||s>57343)&&(f=s);break;case 4:i=t[o+1],a=t[o+2],u=t[o+3],128==(192&i)&&128==(192&a)&&128==(192&u)&&(s=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&u)>65535&&s<1114112&&(f=s)}null===f?(f=65533,l=1):f>65535&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),o+=l}return function(t){var e=t.length;if(e<=R)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=R));return r}(n)}e.Buffer=s,e.SlowBuffer=function(t){+t!=t&&(t=0);return s.alloc(+t)},e.INSPECT_MAX_BYTES=50,s.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=a(),s.poolSize=8192,s._augment=function(t){return t.__proto__=s.prototype,t},s.from=function(t,e,r){return c(null,t,e,r)},s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0})),s.alloc=function(t,e,r){return function(t,e,r,n){return f(e),e<=0?u(t,e):void 0!==r?"string"==typeof n?u(t,e).fill(r,n):u(t,e).fill(r):u(t,e)}(null,t,e,r)},s.allocUnsafe=function(t){return l(null,t)},s.allocUnsafeSlow=function(t){return l(null,t)},s.isBuffer=function(t){return!(null==t||!t._isBuffer)},s.compare=function(t,e){if(!s.isBuffer(t)||!s.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?1:0},s.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(t,e){if(!i(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return s.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=s.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var a=t[r];if(!s.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,o),o+=a.length}return n},s.byteLength=h,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)v(this,e,e+1);return this},s.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)v(this,e,e+3),v(this,e+1,e+2);return this},s.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)v(this,e,e+7),v(this,e+1,e+6),v(this,e+2,e+5),v(this,e+3,e+4);return this},s.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?P(this,0,t):g.apply(this,arguments)},s.prototype.equals=function(t){if(!s.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===s.compare(this,t)},s.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),"<Buffer "+t+">"},s.prototype.compare=function(t,e,r,n,o){if(!s.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(this===t)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(e>>>=0),u=Math.min(i,a),c=this.slice(n,o),f=t.slice(e,r),l=0;l<u;++l)if(c[l]!==f[l]){i=c[l],a=f[l];break}return i<a?-1:a<i?1:0},s.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},s.prototype.indexOf=function(t,e,r){return y(this,t,e,r,!0)},s.prototype.lastIndexOf=function(t,e,r){return y(this,t,e,r,!1)},s.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-e;if((void 0===r||r>o)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return b(this,t,e,r);case"utf8":case"utf-8":return m(this,t,e,r);case"ascii":return E(this,t,e,r);case"latin1":case"binary":return O(this,t,e,r);case"base64":return x(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var R=4096;function A(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}function T(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}function j(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i<r;++i)o+=Y(t[i]);return o}function I(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function M(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function D(t,e,r,n,o,i){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function L(t,e,r,n){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-r,2);o<i;++o)t[r+o]=(e&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function N(t,e,r,n){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-r,4);o<i;++o)t[r+o]=e>>>8*(n?o:3-o)&255}function k(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function C(t,e,r,n,i){return i||k(t,0,r,4),o.write(t,e,r,n,23,4),r+4}function U(t,e,r,n,i){return i||k(t,0,r,8),o.write(t,e,r,n,52,8),r+8}s.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t),s.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=s.prototype;else{var o=e-t;r=new s(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+t]}return r},s.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||M(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n},s.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||M(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},s.prototype.readUInt8=function(t,e){return e||M(t,1,this.length),this[t]},s.prototype.readUInt16LE=function(t,e){return e||M(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUInt16BE=function(t,e){return e||M(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUInt32LE=function(t,e){return e||M(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},s.prototype.readUInt32BE=function(t,e){return e||M(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||M(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*e)),n},s.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||M(t,e,this.length);for(var n=e,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},s.prototype.readInt8=function(t,e){return e||M(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},s.prototype.readInt16LE=function(t,e){e||M(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt16BE=function(t,e){e||M(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt32LE=function(t,e){return e||M(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return e||M(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readFloatLE=function(t,e){return e||M(t,4,this.length),o.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return e||M(t,4,this.length),o.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return e||M(t,8,this.length),o.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return e||M(t,8,this.length),o.read(this,t,!1,52,8)},s.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||D(this,t,e,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[e]=255&t;++i<r&&(o*=256);)this[e+i]=t/o&255;return e+r},s.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||D(this,t,e,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[e+o]=255&t;--o>=0&&(i*=256);)this[e+o]=t/i&255;return e+r},s.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,1,255,0),s.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},s.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):L(this,t,e,!0),e+2},s.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):L(this,t,e,!1),e+2},s.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):N(this,t,e,!0),e+4},s.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):N(this,t,e,!1),e+4},s.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);D(this,t,e,r,o-1,-o)}var i=0,a=1,u=0;for(this[e]=255&t;++i<r&&(a*=256);)t<0&&0===u&&0!==this[e+i-1]&&(u=1),this[e+i]=(t/a>>0)-u&255;return e+r},s.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);D(this,t,e,r,o-1,-o)}var i=r-1,a=1,u=0;for(this[e+i]=255&t;--i>=0&&(a*=256);)t<0&&0===u&&0!==this[e+i+1]&&(u=1),this[e+i]=(t/a>>0)-u&255;return e+r},s.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,1,127,-128),s.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):L(this,t,e,!0),e+2},s.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):L(this,t,e,!1),e+2},s.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):N(this,t,e,!0),e+4},s.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):N(this,t,e,!1),e+4},s.prototype.writeFloatLE=function(t,e,r){return C(this,t,e,!0,r)},s.prototype.writeFloatBE=function(t,e,r){return C(this,t,e,!1,r)},s.prototype.writeDoubleLE=function(t,e,r){return U(this,t,e,!0,r)},s.prototype.writeDoubleBE=function(t,e,r){return U(this,t,e,!1,r)},s.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var o,i=n-r;if(this===t&&r<e&&e<n)for(o=i-1;o>=0;--o)t[o+e]=this[o+r];else if(i<1e3||!s.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+i),e);return i},s.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===t.length){var o=t.charCodeAt(0);o<256&&(t=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var i;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{var a=s.isBuffer(t)?t:B(new s(t,n).toString()),u=a.length;for(i=0;i<r-e;++i)this[i+e]=a[i%u]}return this};var F=/[^+\/0-9A-Za-z-_]/g;function Y(t){return t<16?"0"+t.toString(16):t.toString(16)}function B(t,e){var r;e=e||1/0;for(var n=t.length,o=null,i=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function G(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(F,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function H(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}}).call(this,r(6))},function(t,e,r){"use strict";e.byteLength=function(t){return 3*t.length/4-c(t)},e.toByteArray=function(t){var e,r,n,a,u,s=t.length;a=c(t),u=new i(3*s/4-a),r=a>0?s-4:s;var f=0;for(e=0;e<r;e+=4)n=o[t.charCodeAt(e)]<<18|o[t.charCodeAt(e+1)]<<12|o[t.charCodeAt(e+2)]<<6|o[t.charCodeAt(e+3)],u[f++]=n>>16&255,u[f++]=n>>8&255,u[f++]=255&n;2===a?(n=o[t.charCodeAt(e)]<<2|o[t.charCodeAt(e+1)]>>4,u[f++]=255&n):1===a&&(n=o[t.charCodeAt(e)]<<10|o[t.charCodeAt(e+1)]<<4|o[t.charCodeAt(e+2)]>>2,u[f++]=n>>8&255,u[f++]=255&n);return u},e.fromByteArray=function(t){for(var e,r=t.length,o=r%3,i="",a=[],u=16383,s=0,c=r-o;s<c;s+=u)a.push(f(t,s,s+u>c?c:s+u));1===o?(e=t[r-1],i+=n[e>>2],i+=n[e<<4&63],i+="=="):2===o&&(e=(t[r-2]<<8)+t[r-1],i+=n[e>>10],i+=n[e>>4&63],i+=n[e<<2&63],i+="=");return a.push(i),a.join("")};for(var n=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,s=a.length;u<s;++u)n[u]=a[u],o[a.charCodeAt(u)]=u;function c(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===t[e-2]?2:"="===t[e-1]?1:0}function f(t,e,r){for(var o,i,a=[],u=e;u<r;u+=3)o=(t[u]<<16)+(t[u+1]<<8)+t[u+2],a.push(n[(i=o)>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,r,n,o){var i,a,u=8*o-n-1,s=(1<<u)-1,c=s>>1,f=-7,l=r?o-1:0,d=r?-1:1,p=t[e+l];for(l+=d,i=p&(1<<-f)-1,p>>=-f,f+=u;f>0;i=256*i+t[e+l],l+=d,f-=8);for(a=i&(1<<-f)-1,i>>=-f,f+=n;f>0;a=256*a+t[e+l],l+=d,f-=8);if(0===i)i=1-c;else{if(i===s)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),i-=c}return(p?-1:1)*a*Math.pow(2,i-n)},e.write=function(t,e,r,n,o,i){var a,u,s,c=8*i-o-1,f=(1<<c)-1,l=f>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:i-1,h=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,a=f):(a=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-a))<1&&(a--,s*=2),(e+=a+l>=1?d/s:d*Math.pow(2,1-l))*s>=2&&(a++,s/=2),a+l>=f?(u=0,a=f):a+l>=1?(u=(e*s-1)*Math.pow(2,o),a+=l):(u=e*Math.pow(2,l-1)*Math.pow(2,o),a=0));o>=8;t[r+p]=255&u,p+=h,u/=256,o-=8);for(a=a<<o|u,c+=o;c>0;t[r+p]=255&a,p+=h,a/=256,c-=8);t[r+p-h]|=128*g}},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getResponseData=e.getRequestData=void 0;var n=r(44);e.getRequestData=function(t){var e={};return t.url&&(e.url=t.url),t.body&&(e.body=(0,n.deepArsonify)(t.body)),t.method&&(e.method=t.method),t.headers&&(e.headers=t.headers),e};e.getResponseData=function(t){var e={};return t.status&&(e.statusCode=t.status),t.body&&(e.body=(0,n.deepArsonify)(t.body)),t.headers&&(e.headers=t.headers),e}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e={}.toString.call(t);switch(e){case"[object Undefined]":return{undefined:{}};case"[object Null]":return{null:{}};case"[object Boolean]":return{boolean:{bool:t}};case"[object Number]":return{number:{double:t}};case"[object String]":return{string:{string:t}};case"[object Object]":return{object:{map:t}};case"[object Array]":return{array:{map:t}};case"[object Date]":return{date:{double:t.getTime()}};case"[object Error]":return{string:{string:"".concat(t.name,": ").concat(t.message)}};default:return{unsupported:{type:e}}}},t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){switch(t.type||Object.keys(t)[0]){case"undefined":return;case"null":return null;case"boolean":return t.boolean.bool;case"number":return t.number.double;case"string":return t.string.string;case"object":return t.object.map;case"array":return Object.keys(t.array.map).reduce((function(e,r){return e[r]=t.array.map[r],e}),[]);case"date":return new Date(t.date.double);case"unsupported":return t.unsupported.type;default:throw new TypeError("Unexpected value in shallowDearsonify: ".concat(t))}},t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return{arson:o.default.encode(t)}};var o=n(r(10));t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(!t)return t;return o.default.decode(t.arson)};var o=n(r(10));t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document;return r.addEventListener(t,e,{capture:!0,passive:!0}),function(){r.removeEventListener(t,e,{capture:!0,passive:!0})}},t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){for(var r=0;r<t.length;r++)if(e(t[r]))return t[r]},t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return t.concat(e)},t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var r,n,c=t.slice(0).reverse(),f=function(t,e){var r;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}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,a=!0,s=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}(e);try{var l=function(){var t=n.value;return t.directDesc?s.apply(void 0,[t].concat((0,o.default)(c.splice(0,1))))?"continue":{v:!1}:-1===(r=(0,a.default)(c,(function(e){return s(t,e)})))?{v:!1}:void c.splice(0,r+1)};for(f.s();!(n=f.n()).done;){var d=l();if("continue"!==d&&"object"===(0,i.default)(d))return d.v}}catch(t){f.e(t)}finally{f.f()}return!0};var o=n(r(9)),i=n(r(3)),a=n(r(48));function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function s(t,e){if(!t||!e)return!1;if(t.id&&t.id!==e.id)return!1;if(t.nodeName&&t.nodeName!==e.nodeName)return!1;if(t.classList&&(!e.classList||t.classList.map((function(t){return t.toLowerCase()})).some((function(t){return-1===e.classList.map((function(t){return t.toLowerCase()})).indexOf(t)}))))return!1;if(t.nthChild){var r=parseInt(t.nthChild,10);return isNaN(r)?Math.abs(e.nthChild%2)===("odd"===t.nthChild?1:0):r===e.nthChild}return!0}t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t.replace(/\s*>\s*|:nth-child\(([1-9][0-9]*|odd|even)\)|\s+/gi,(function(t){return t.indexOf(">")>-1?" >":0===t.trim().length?" ":" ".concat("~").concat(t.slice(":nth-child(".length))})).split(/\s+/).map((function(t){var e={},r=t;switch(t.charAt(0)){case">":e.directDesc=!0,r=t.slice(1);break;case"~":var n=t.slice(1).split(")"),u=(0,i.default)(n,2),s=u[0],c=u[1];e.directDesc=!0,e.nthChild=s,r=c}return r.replace(/\.|#/gi,(function(t){return" ".concat(t)})).split(" ").forEach((function(t){if((0,a.default)(t,".")){var r=t.slice(1);e.classList=e.classList?[].concat((0,o.default)(e.classList),[r]):[r]}else(0,a.default)(t,"#")?e.id=t.slice(1):e.nodeName=t})),e}))};var o=n(r(9)),i=n(r(49)),a=n(r(22));t.exports=e.default},function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){var r=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=r){var n,o,i=[],a=!0,u=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=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.")},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";function n(t){var e=t.match(/^([a-z0-9-_]+)/gi),r=t.match(/:(nth-child[a-z0-9-_()]+)/gi),n=t.match(/#([a-z0-9-_:]+)/gi),o=t.match(/(\.[a-z0-9-_/:]+)/gi),i={};return e&&(i.nodeName=e[0]),r&&(i.pseudoClassList=r.map((function(t){return t.substr(1)}))),n&&(i.id=n[0].substr(1)),o&&(i.classList=o.map((function(t){return t.substr(1)}))),i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t.replace(/\s?>\s?/g," ").split(/\s+/g).map(n).map((function(t){return t.classList&&t.classList.sort(),t}))},t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if(e.startsWith("$shadow-root >"))throw new Error("Malformed selector '".concat(e,"': should not start with $shadow-root"));e.endsWith("> $shadow-root")&&(e=e.slice(0,e.length-"> $shadow-root".length));for(var r,n=t,o=e.split("> $shadow-root >"),i=0;i<o.length;i++)if((r=s(n,o[i]))&&i<o.length-1){if(!r.shadowRoot)throw new Error("Missing shadowRoot for selector '".concat(e,"' at depth ").concat(i));n=r.shadowRoot}return{root:n,node:r}},e.caseInsensitiveQuerySelector=void 0;var o=n(r(3));function i(t,e){var r;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}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,u=!0,s=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return u=t.done,t},e:function(t){s=!0,i=t},f:function(){try{u||null==r.return||r.return()}finally{if(s)throw i}}}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var u=function(t){var e=t.root,r=t.selector,n=t.directDesc,a=r.split(/(?=\.)|(?=#)/),u=a.shift(),s="",c=[];a.forEach((function(t){"#"===t[0]&&(s=t.toLowerCase().substring(1).trim()),"."===t[0]&&c.push(t.toLowerCase().substring(1).trim())}));var f,l=i(n?[e.querySelector(":scope > ".concat(u))]:e.querySelectorAll(u));try{var d=function(){var t=f.value;if(!t||s!==t.id.toLowerCase())return"continue";var e=Array.from(t.classList.values()).map((function(t){return t.toLowerCase()})).filter((function(t){return""!==t&&":"!==t[0]}));return c.every((function(t){return e.indexOf(t)>-1}))?{v:t}:"continue"};for(l.s();!(f=l.n()).done;){var p=d();if("continue"!==p&&"object"===(0,o.default)(p))return p.v}}catch(t){l.e(t)}finally{l.f()}return null},s=function(t,e){if(!e.length)return null;var r,n=e.split(" > ");if(!(r=t.host?t:t.querySelector("body")))return null;var o=n.shift();if(!(r=u({root:r,selector:o,directDesc:!1})))return null;var a,s=i(n);try{for(s.s();!(a=s.n()).done;){var c=a.value;if(!(r=u({root:r,selector:c,directDesc:!0})))return null}}catch(t){s.e(t)}finally{s.f()}return r};e.caseInsensitiveQuerySelector=s},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var r=String(t);if("lipsum"===String(e).toLowerCase())return function(t){var e="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. ",r=Math.ceil(t.length/e.length),n="";for(;r>0;)n+=e,r--;return n.slice(0,t.length)}(r);return""};t.exports=e.default},function(t,e,r){"use strict";function n(t,e){var r=e;return e&&t.toLowerCase().replace(/\s/g,"").indexOf("macos")>-1&&(r=e.replace("10.15.7","10.15.7+")),r}Object.defineProperty(e,"__esModule",{value:!0}),e.adjustOsVersion=n,e.adjustOs=function(t){return n(t,t)}},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=[],n=i(e.reverse());try{var a=function(){var e=t.value,n=e.nodeName,i=e.id,a=e.nthChild,u=e.classList,s=[],c=[];a&&c.push("nth-child(".concat(a,")")),n&&(s.push(n),c.sort().map((function(t){return s.push(":".concat(t))}))),i&&s.push("#".concat(i)),u&&u.length&&(u=u.map((function(t){return t.toLowerCase()})).sort(),s=[].concat((0,o.default)(s),(0,o.default)(u.map((function(t){return".".concat(t)}))))),s.length&&r.push(s.join(" "))};for(n.s();!(t=n.n()).done;)a()}catch(t){n.e(t)}finally{n.f()}return r.join(" > ")};var o=n(r(9));function i(t,e){var r;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}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,u=!0,s=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return u=t.done,t},e:function(t){s=!0,i=t},f:function(){try{u||null==r.return||r.return()}finally{if(s)throw i}}}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return t&&e&&t.substring(t.length-e.length)===e},t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return t&&e&&t.indexOf(e)>-1},t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var r=Math.ceil(t),n=Math.floor(e);return Math.floor(Math.random()*(n-r))+r},t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=(0,n(r(45)).default)((function(t){var e={nodeName:t.nodeName?t.nodeName.toLowerCase():""};return t.id&&t.id.length>0&&(e.id=t.id),t.classList&&t.classList.length>0&&(e.classList=Array.prototype.slice.call(t.classList,0)),e}));e.default=o,t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(t)try{var e=("string"==typeof t?JSON.parse(t):t).query.trim().match(/(query|mutation) ([a-z_-]+)/i);return e?{operationType:e[1],operationName:e[2]}:{}}catch(t){return{}}return{}},t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return n.indexOf(t.type)>-1||"CLICK"===t.data.eventType};var n=["lr.browser.NavigationEvent","lr.browser.InputChangeEvent","lr.browser.InputEvent"];t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return["lr.browser.MouseEvent","lr.browser.ScrollEvent","lr.browser.InputEvent","lr.browser.InputChangeEvent","lr.android.TouchEvent","lr.android.InputChangeEvent","lr.ios.TouchEvent","lr.ios.InputChangeEvent"].indexOf(t)>-1},t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if(e<=0)return!1;var r=Math.floor(1e4*e);return(0,o.default)(t)%1e4<=r};var o=n(r(51));t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.prefix,r=void 0===e?5:e;return"".concat(r,"-").concat((0,o.default)())};var o=n(r(50));t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=new Set;return t.forEach((function(t){return e.add(t)})),e},t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=[];return t.forEach((function(t){return e.push(t)})),e},t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e,r=t.logger,n=t.url,o=void 0===n?"":n,i=(r.getConfig("lr.browser")||{}).urlSanitizer,a=void 0===i?function(t){return t}:i;try{e=a(o)}catch(t){console.error(t)}if("string"==typeof e)return e;return""},t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return{permissions:{dashboard:{metrics:!0,errors:!0},sessionPlayback:{developerPane:{networkPane:{requestBodiesAndHeaders:!0}}}},appRoles:[]}},t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isSandboxOrg=e.isDemoOrg=e.isDemoApp=e.isDemoAppOrSandbox=void 0;var n=r(52);e.isDemoAppOrSandbox=function(t){return t===n.DEMO_APP_ID||t.split("/")[0]===n.SANDBOX_SOURCE_ORG_SLUG};e.isDemoApp=function(t){return t===n.DEMO_APP_ID};e.isDemoOrg=function(t){if(!t)return!1;var e=t.split("/")[0];return e===n.DEMO_ORG_SLUG||e===n.SANDBOX_SOURCE_ORG_SLUG};e.isSandboxOrg=function(t){return!!t&&t.split("/")[0]===n.SANDBOX_SOURCE_ORG_SLUG}},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.LOG_FILTER_TYPES=e.LOG_TYPES=void 0;var o,i=n(r(1)),a={LOG:"LOG",WARN:"WARN",ERROR:"ERROR",DEBUG:"DEBUG",INFO:"INFO",REDUX:"REDUX",NAVIGATION:"NAVIGATION",NETWORK:"NETWORK",PREV_SESSION:"PREV_SESSION",NEXT_SESSION:"NEXT_SESSION",LOAD_MORE:"LOAD_MORE",EXCEPTION:"EXCEPTION"};e.LOG_TYPES=a;var u=(o={},(0,i.default)(o,a.LOG,{label:"Logs",filterLabel:"Log",types:[a.LOG]}),(0,i.default)(o,a.WARN,{label:"Warnings",filterLabel:"Warning",types:[a.WARN]}),(0,i.default)(o,a.ERROR,{label:"Errors",filterLabel:"Error",types:[a.ERROR,a.EXCEPTION]}),(0,i.default)(o,a.INFO,{label:"Info",filterLabel:"Info",types:[a.INFO]}),(0,i.default)(o,a.DEBUG,{label:"Debug",filterLabel:"Debug",types:[a.DEBUG]}),(0,i.default)(o,a.REDUX,{label:"Redux",types:[a.REDUX]}),(0,i.default)(o,a.NAVIGATION,{label:"Navigation",types:[a.NAVIGATION]}),o);e.LOG_FILTER_TYPES=u},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_INSIGHTS_HEATMAP_FOR_URL_OPERATOR=e.DEFAULT_HEATMAP_FOR_URL_OPERATOR=e.nextSortDirection=e.SORT_DIRECTION=e.FEEDBACK_SORT_COLUMN=e.HEATMAP_FOR_URL_OPERATOR=e.METRIC_TIMESERIES_TYPE=void 0;e.METRIC_TIMESERIES_TYPE={SESSION_COUNT:"SESSION_COUNT",PERCENTILE:"PERCENTILE",CONVERSION_RATE:"CONVERSION_RATE",SESSION_PERCENTAGE:"SESSION_PERCENTAGE",ACTIVE_USERS:"ACTIVE_USERS",EVENT_COUNT:"EVENT_COUNT"};var n={IS:"IS",CONTAINS:"CONTAINS",LIKE:"LIKE",HREF_LIKE:"HREF_LIKE"};e.HEATMAP_FOR_URL_OPERATOR=n;e.FEEDBACK_SORT_COLUMN={RATING:"RATING",SUBMISSION_DATE:"SUBMISSION_DATE"};var o={UNSET:"UNSET",ASC:"ASC",DESC:"DESC"};e.SORT_DIRECTION=o;e.nextSortDirection=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.reverse,n=void 0!==r&&r,i=o.UNSET,a=o.ASC,u=o.DESC,s=[i,u,a];n&&(s=[i,a,u]);var c=s.indexOf(t);return s[(c+1)%s.length]};var i=n.IS;e.DEFAULT_HEATMAP_FOR_URL_OPERATOR=i;var a=n.HREF_LIKE;e.DEFAULT_INSIGHTS_HEATMAP_FOR_URL_OPERATOR=a},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.ES_ISSUE_TYPE_GROUP_FIELD=e.ES_ISSUE_TYPE_BASE_FILTER=e.DYNAMIC_ES_ISSUE_TYPES=e.HASHED_ES_ISSUE_TYPES=e.ES_ISSUE_TYPES=e.ISSUE_GROUP_TYPE=e.ISSUE_TYPE=void 0;var o,i,a=n(r(1)),u={EXCEPTION:"EXCEPTION",NETWORK_ERROR:"NETWORK_ERROR",RAGE_CLICK:"RAGE_CLICK",DEAD_CLICK:"DEAD_CLICK",FRUSTRATING_NETWORK:"FRUSTRATING_NETWORK"};e.ISSUE_TYPE=u;e.ISSUE_GROUP_TYPE={DYNAMIC_URL:"DYNAMIC_URL",DYNAMIC_ES:"DYNAMIC_ES",TROYTOWN:"TROYTOWN",SENTRY:"SENTRY"};var s=[u.RAGE_CLICK,u.DEAD_CLICK,u.FRUSTRATING_NETWORK];e.ES_ISSUE_TYPES=s;var c=[u.FRUSTRATING_NETWORK];e.HASHED_ES_ISSUE_TYPES=c;var f=[u.RAGE_CLICK,u.DEAD_CLICK];e.DYNAMIC_ES_ISSUE_TYPES=f;var l=(o={},(0,a.default)(o,u.RAGE_CLICK,{rageClicked:{operator:"TEXT_IS",strings:[]}}),(0,a.default)(o,u.DEAD_CLICK,{deadClicked:{operator:"TEXT_IS",strings:[]}}),o);e.ES_ISSUE_TYPE_BASE_FILTER=l;var d=(i={},(0,a.default)(i,u.RAGE_CLICK,{field:"data.text",groupField:"data.text.keyword"}),(0,a.default)(i,u.DEAD_CLICK,{field:"data.text",groupField:"data.text.keyword"}),(0,a.default)(i,u.FRUSTRATING_NETWORK,{field:"data.groupHash",groupField:"data.groupHash"}),i);e.ES_ISSUE_TYPE_GROUP_FIELD=d},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.sdkThrottle,i=void 0===n?500:n;if(!t.length)return null;var a=(0,o.default)(t,{time:e},"time"),u=t[a]||t[a-1],s=t[a-1]||u,c=Math.min(u.time-s.time,i),f=Math.max(e-(u.time-c),0),l=0===c?1:Math.min(f/c,1);return{prev:s,next:u,ratio:l}};var o=n(r(53));t.exports=e.default},function(t,e,r){var n=r(144),o=r(209),i=r(220),a=r(4),u=r(221);t.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?a(t)?o(t[0],t[1]):n(t):u(t)}},function(t,e,r){var n=r(145),o=r(208),i=r(68);t.exports=function(t){var e=o(t);return 1==e.length&&e[0][2]?i(e[0][0],e[0][1]):function(r){return r===t||n(r,t,e)}}},function(t,e,r){var n=r(54),o=r(59);t.exports=function(t,e,r,i){var a=r.length,u=a,s=!i;if(null==t)return!u;for(t=Object(t);a--;){var c=r[a];if(s&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++a<u;){var f=(c=r[a])[0],l=t[f],d=c[1];if(s&&c[2]){if(void 0===l&&!(f in t))return!1}else{var p=new n;if(i)var h=i(l,d,f,t,e,p);if(!(void 0===h?o(d,l,3,i,p):h))return!1}}return!0}},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,r){var n=r(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},function(t,e,r){var n=r(12);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},function(t,e,r){var n=r(12);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,e,r){var n=r(12);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},function(t,e,r){var n=r(11);t.exports=function(){this.__data__=new n,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,r){var n=r(11),o=r(25),i=r(27);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!o||a.length<199)return a.push([t,e]),this.size=++r.size,this;r=this.__data__=new i(a)}return r.set(t,e),this.size=r.size,this}},function(t,e,r){var n=r(56),o=r(159),i=r(26),a=r(58),u=/^\[object .+?Constructor\]$/,s=Function.prototype,c=Object.prototype,f=s.toString,l=c.hasOwnProperty,d=RegExp("^"+f.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(n(t)?d:u).test(a(t))}},function(t,e,r){var n=r(13),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,u=n?n.toStringTag:void 0;t.exports=function(t){var e=i.call(t,u),r=t[u];try{t[u]=void 0;var n=!0}catch(t){}var o=a.call(t);return n&&(e?t[u]=r:delete t[u]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e,r){var n,o=r(160),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!i&&i in t}},function(t,e,r){var n=r(2)["__core-js_shared__"];t.exports=n},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,r){var n=r(163),o=r(11),i=r(25);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},function(t,e,r){var n=r(164),o=r(165),i=r(166),a=r(167),u=r(168);function s(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}s.prototype.clear=n,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=u,t.exports=s},function(t,e,r){var n=r(14);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},function(t,e,r){var n=r(14),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},function(t,e,r){var n=r(14),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},function(t,e,r){var n=r(14);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},function(t,e,r){var n=r(15);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},function(t,e,r){var n=r(15);t.exports=function(t){return n(this,t).get(t)}},function(t,e,r){var n=r(15);t.exports=function(t){return n(this,t).has(t)}},function(t,e,r){var n=r(15);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},function(t,e,r){var n=r(54),o=r(60),i=r(180),a=r(184),u=r(203),s=r(4),c=r(63),f=r(66),l="[object Arguments]",d="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,g,v,y){var _=s(t),b=s(e),m=_?d:u(t),E=b?d:u(e),O=(m=m==l?p:m)==p,x=(E=E==l?p:E)==p,w=m==E;if(w&&c(t)){if(!c(e))return!1;_=!0,O=!1}if(w&&!O)return y||(y=new n),_||f(t)?o(t,e,r,g,v,y):i(t,e,m,r,g,v,y);if(!(1&r)){var S=O&&h.call(t,"__wrapped__"),P=x&&h.call(e,"__wrapped__");if(S||P){var R=S?t.value():t,A=P?e.value():e;return y||(y=new n),v(R,A,r,g,y)}}return!!w&&(y||(y=new n),a(t,e,r,g,v,y))}},function(t,e,r){var n=r(27),o=r(176),i=r(177);function a(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,t.exports=a},function(t,e){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},function(t,e){t.exports=function(t,e){return t.has(e)}},function(t,e,r){var n=r(13),o=r(181),i=r(55),a=r(60),u=r(182),s=r(183),c=n?n.prototype:void 0,f=c?c.valueOf:void 0;t.exports=function(t,e,r,n,c,l,d){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!l(new o(t),new o(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var p=u;case"[object Set]":var h=1&n;if(p||(p=s),t.size!=e.size&&!h)return!1;var g=d.get(t);if(g)return g==e;n|=2,d.set(t,e);var v=a(p(t),p(e),n,c,l,d);return d.delete(t),v;case"[object Symbol]":if(f)return f.call(t)==f.call(e)}return!1}},function(t,e,r){var n=r(2).Uint8Array;t.exports=n},function(t,e){t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}},function(t,e){t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}},function(t,e,r){var n=r(185),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,i,a,u){var s=1&r,c=n(t),f=c.length;if(f!=n(e).length&&!s)return!1;for(var l=f;l--;){var d=c[l];if(!(s?d in e:o.call(e,d)))return!1}var p=u.get(t),h=u.get(e);if(p&&h)return p==e&&h==t;var g=!0;u.set(t,e),u.set(e,t);for(var v=s;++l<f;){var y=t[d=c[l]],_=e[d];if(i)var b=s?i(_,y,d,e,t,u):i(y,_,d,t,e,u);if(!(void 0===b?y===_||a(y,_,r,i,u):b)){g=!1;break}v||(v="constructor"==d)}if(g&&!v){var m=t.constructor,E=e.constructor;m==E||!("constructor"in t)||!("constructor"in e)||"function"==typeof m&&m instanceof m&&"function"==typeof E&&E instanceof E||(g=!1)}return u.delete(t),u.delete(e),g}},function(t,e,r){var n=r(186),o=r(188),i=r(61);t.exports=function(t){return n(t,i,o)}},function(t,e,r){var n=r(187),o=r(4);t.exports=function(t,e,r){var i=e(t);return o(t)?i:n(i,r(t))}},function(t,e){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}},function(t,e,r){var n=r(189),o=r(190),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,u=a?function(t){return null==t?[]:(t=Object(t),n(a(t),(function(e){return i.call(t,e)})))}:o;t.exports=u},function(t,e){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r<n;){var a=t[r];e(a,r,t)&&(i[o++]=a)}return i}},function(t,e){t.exports=function(){return[]}},function(t,e,r){var n=r(192),o=r(62),i=r(4),a=r(63),u=r(65),s=r(66),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=i(t),f=!r&&o(t),l=!r&&!f&&a(t),d=!r&&!f&&!l&&s(t),p=r||f||l||d,h=p?n(t.length,String):[],g=h.length;for(var v in t)!e&&!c.call(t,v)||p&&("length"==v||l&&("offset"==v||"parent"==v)||d&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||u(v,g))||h.push(v);return h}},function(t,e){t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},function(t,e,r){var n=r(7),o=r(8);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},function(t,e){t.exports=function(){return!1}},function(t,e,r){var n=r(7),o=r(28),i=r(8),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!a[n(t)]}},function(t,e){t.exports=function(t){return function(e){return t(e)}}},function(t,e,r){(function(t){var n=r(57),o=e&&!e.nodeType&&e,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o&&n.process,u=function(){try{var t=i&&i.require&&i.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=u}).call(this,r(64)(t))},function(t,e,r){var n=r(199),o=r(200),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))i.call(t,r)&&"constructor"!=r&&e.push(r);return e}},function(t,e){var r=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}},function(t,e,r){var n=r(201)(Object.keys,Object);t.exports=n},function(t,e){t.exports=function(t,e){return function(r){return t(e(r))}}},function(t,e,r){var n=r(56),o=r(28);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,e,r){var n=r(204),o=r(25),i=r(205),a=r(206),u=r(207),s=r(7),c=r(58),f="[object Map]",l="[object Promise]",d="[object Set]",p="[object WeakMap]",h="[object DataView]",g=c(n),v=c(o),y=c(i),_=c(a),b=c(u),m=s;(n&&m(new n(new ArrayBuffer(1)))!=h||o&&m(new o)!=f||i&&m(i.resolve())!=l||a&&m(new a)!=d||u&&m(new u)!=p)&&(m=function(t){var e=s(t),r="[object Object]"==e?t.constructor:void 0,n=r?c(r):"";if(n)switch(n){case g:return h;case v:return f;case y:return l;case _:return d;case b:return p}return e}),t.exports=m},function(t,e,r){var n=r(5)(r(2),"DataView");t.exports=n},function(t,e,r){var n=r(5)(r(2),"Promise");t.exports=n},function(t,e,r){var n=r(5)(r(2),"Set");t.exports=n},function(t,e,r){var n=r(5)(r(2),"WeakMap");t.exports=n},function(t,e,r){var n=r(67),o=r(61);t.exports=function(t){for(var e=o(t),r=e.length;r--;){var i=e[r],a=t[i];e[r]=[i,a,n(a)]}return e}},function(t,e,r){var n=r(59),o=r(210),i=r(217),a=r(29),u=r(67),s=r(68),c=r(17);t.exports=function(t,e){return a(t)&&u(e)?s(c(t),e):function(r){var a=o(r,t);return void 0===a&&a===e?i(r,t):n(e,a,3)}}},function(t,e,r){var n=r(69);t.exports=function(t,e,r){var o=null==t?void 0:n(t,e);return void 0===o?r:o}},function(t,e,r){var n=r(212),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=n((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,r,n,o){e.push(n?o.replace(i,"$1"):r||t)})),e}));t.exports=a},function(t,e,r){var n=r(213);t.exports=function(t){var e=n(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}},function(t,e,r){var n=r(27);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(o.Cache||n),r}o.Cache=n,t.exports=o},function(t,e,r){var n=r(215);t.exports=function(t){return null==t?"":n(t)}},function(t,e,r){var n=r(13),o=r(216),i=r(4),a=r(16),u=n?n.prototype:void 0,s=u?u.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(a(e))return s?s.call(e):"";var r=e+"";return"0"==r&&1/e==-Infinity?"-0":r}},function(t,e){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}},function(t,e,r){var n=r(218),o=r(219);t.exports=function(t,e){return null!=t&&o(t,e,n)}},function(t,e){t.exports=function(t,e){return null!=t&&e in Object(t)}},function(t,e,r){var n=r(70),o=r(62),i=r(4),a=r(65),u=r(28),s=r(17);t.exports=function(t,e,r){for(var c=-1,f=(e=n(e,t)).length,l=!1;++c<f;){var d=s(e[c]);if(!(l=null!=t&&r(t,d)))break;t=t[d]}return l||++c!=f?l:!!(f=null==t?0:t.length)&&u(f)&&a(d,f)&&(i(t)||o(t))}},function(t,e){t.exports=function(t){return t}},function(t,e,r){var n=r(222),o=r(223),i=r(29),a=r(17);t.exports=function(t){return i(t)?n(a(t)):o(t)}},function(t,e){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},function(t,e,r){var n=r(69);t.exports=function(t){return function(e){return n(e,t)}}},function(t,e,r){var n=r(16),o=Math.floor,i=Math.min;t.exports=function(t,e,r,a){var u=0,s=null==t?0:t.length;if(0===s)return 0;for(var c=(e=r(e))!=e,f=null===e,l=n(e),d=void 0===e;u<s;){var p=o((u+s)/2),h=r(t[p]),g=void 0!==h,v=null===h,y=h==h,_=n(h);if(c)var b=a||y;else b=d?y&&(a||g):f?y&&g&&(a||!v):l?y&&g&&!v&&(a||!_):!v&&!_&&(a?h<=e:h<e);b?u=p+1:s=p}return i(s,4294967294)}},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=s,e.interpolateMobile=function(t,e,r){if(!t)return{};var n=t.prev,o=t.next;if("MOVE"===o.type)return s(t,e);if(n===o&&Math.abs(r-o.time)>500)return null;return o};var o=n(r(1));function i(t,e){var r;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}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,u=!0,s=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return u=t.done,t},e:function(t){s=!0,i=t},f:function(){try{u||null==r.return||r.return()}finally{if(s)throw i}}}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function s(t,e){if(!t)return{};var r,n=t.prev,a=t.next,s=t.ratio,c=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?u(Object(r),!0).forEach((function(e){(0,o.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},a),f=i(e);try{for(f.s();!(r=f.n()).done;){var l=r.value;c[l]=n[l]+(a[l]-n[l])*s}}catch(t){f.e(t)}finally{f.f()}return c}},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if(0===t.length)return t;var r=(0,o.default)(t,{time:e.time-5e3},"time")-1,n=t[r];if(n&&e.time-n.time>5e3&&r>0)return t.slice(r);return t};var o=n(r(53));t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.knownMetricTypes=void 0;e.knownMetricTypes=["cumulativeLayoutShift","firstInputDelay","initialPageLoadTime","largestContentfulPaintTime","timeToFirstByte"]},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.SESSION_TYPE_TO_DISPLAY=e.SESSION_TYPES=e.SDK_TYPE_TO_DISPLAY=e.SDK_TYPES=void 0;var o,i=n(r(1)),a={WEB:"web",MOBILE:"mobile"};e.SDK_TYPES=a;var u=(o={},(0,i.default)(o,a.WEB,"Web"),(0,i.default)(o,a.MOBILE,"Mobile"),o);e.SDK_TYPE_TO_DISPLAY=u;var s=a;e.SESSION_TYPES=s;var c=u;e.SESSION_TYPE_TO_DISPLAY=c},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.parseQueryString=void 0;var o=n(r(49));e.parseQueryString=function(t){var e=t.indexOf("?");return-1===e?{}:function(t){var e={};return t.split("&").forEach((function(t){var r=t.split("=").map((function(t){return t.replace(/\+/g," ")})).map(decodeURIComponent),n=(0,o.default)(r,2),i=n[0],a=n[1];e[i]=a})),e}(t.substring(e+1))}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.likeOperator=function(t,e){var r=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/\\\*/g,".*").replace(/\\\?/g,".");return new RegExp("^".concat(r,"$")).test(t)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){for(var r=[],n=t.reduce((function(t,e){return t+e.count}),0),o=0,i=1;i<=100;i++){var a=e*(.01*i);o>=t.length?r.push(0):(r.push(n),a>t[o].maxScroll&&(n-=t[o].count,o++))}return r},t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ORGS_THAT_CAN_USE_OLDER_MOBILE_SDKS=e.MAXIMUM_SUPPORTED_VERSION=e.MINIMUM_SUPPORTED_VERSION=e.IOS_VERSION=e.ANDROID_VERSION=void 0;e.ANDROID_VERSION="1.4.1";e.IOS_VERSION="1.4.1";e.MINIMUM_SUPPORTED_VERSION="1.0.0";e.MAXIMUM_SUPPORTED_VERSION="1.5.0";var n=new Set(["acns5j","tnlnay"]);e.ORGS_THAT_CAN_USE_OLDER_MOBILE_SDKS=n},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.checkForValidationErrors=a,e.sanitizeEventProps=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=0,n={},o=[],s=0,c=Object.keys(t);s<c.length;s++){var f=c[s],l=t[f],d=a(f,l);void 0===d?void 0===e||r!==e?(r++,n[f]=u(l)):o.push({error:i.VALIDATION_ERRORS.MAX_PROPS_REACHED,prop:f}):o.push(d)}return{eventProps:n,errors:o}};var o=n(r(3)),i=r(30);function a(t,e){var r=Array.isArray(e),n=(0,o.default)(r?e[0]:e);if(t.length>i.MAX_PROPERTY_NAME_LENGTH)return{error:i.VALIDATION_ERRORS.NAME_TOO_LONG,prop:t};if(Object.keys(i.RESERVED_PROPS).indexOf(t)>=0&&i.RESERVED_PROPS[t]!==n)return{error:i.VALIDATION_ERRORS.RESERVED_TYPE_MISMATCH,prop:t,propType:n};if(r){if(0===e.length)return{error:i.VALIDATION_ERRORS.EMPTY_ARRAY,prop:t};var a=(0,o.default)(e[0]);return i.SUPPORTED_TYPES.indexOf(a)<0?{error:i.VALIDATION_ERRORS.UNSUPPORTED_TYPE,prop:t,propType:"".concat(a,"[]")}:e.every((function(t){return(0,o.default)(t)===a}))?void 0:{error:i.VALIDATION_ERRORS.MIXED_TYPE_ARRAY,prop:t}}return i.SUPPORTED_TYPES.indexOf((0,o.default)(e))<0?{error:i.VALIDATION_ERRORS.UNSUPPORTED_TYPE,prop:t,propType:(0,o.default)(e)}:void 0}function u(t){var e=Array.isArray(t)?t:[t];switch((0,o.default)(e[0])){case"number":return{doubleVal:e};case"boolean":return{boolVal:e};case"string":return{stringVal:e};default:return{}}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.printEventPropError=function(t){switch(t.error){case n.VALIDATION_ERRORS.EMPTY_ARRAY:return"Ignored empty array at property ".concat(t.prop);case n.VALIDATION_ERRORS.MIXED_TYPE_ARRAY:return"Ignored mixed type array at property ".concat(t.prop);case n.VALIDATION_ERRORS.UNSUPPORTED_TYPE:return"Ignored unsupported type (".concat(t.propType,") at property ").concat(t.prop,". Expected one of: ").concat(n.SUPPORTED_TYPES.join(),",").concat(n.SUPPORTED_TYPES.map((function(t){return"".concat(t,"[]")})).join());case n.VALIDATION_ERRORS.RESERVED_TYPE_MISMATCH:return"Ignored reserved property ".concat(t.prop," with unexpected type ").concat(t.propType,". Expected type ").concat(n.RESERVED_PROPS[t.prop]);case n.VALIDATION_ERRORS.MAX_PROPS_REACHED:return"Max number of custom properties per session reached. Ignored property ".concat(t.prop);case n.VALIDATION_ERRORS.NAME_TOO_LONG:return"Property name ".concat(t.prop," is over max length of ").concat(n.MAX_PROPERTY_NAME_LENGTH);case n.VALIDATION_ERRORS.MALFORMED_VARIANT:return"Malformed variant at property ".concat(t.prop);default:return"Unknown error processing event properties"}};var n=r(30)},function(t,e,r){"use strict";var n=r(18);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(19)),i=n(r(36)),a=n(r(37)),u=n(r(236)),s=n(r(10));function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function f(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){(0,o.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var l=function(){function t(){(0,i.default)(this,t),this.reduxStateByStoreId={}}return(0,a.default)(t,[{key:"encodeInitialState",value:function(t){return this.reduxStateByStoreId[t.storeId]=t.state,f(f({},t),{},{state:s.default.encode(t.state)})}},{key:"encodeReduxAction",value:function(t){var e=f({},t),r=this.reduxStateByStoreId[t.storeId];if(r){var n=u.default.diff({o:r.state},{o:t.stateDelta});this.reduxStateByStoreId[t.storeId]={state:t.stateDelta},e.stateDelta=s.default.encode(void 0!==n?n:null)}else this.reduxStateByStoreId[t.storeId]={state:t.stateDelta},e.state=s.default.encode(t.stateDelta),e.stateDelta=s.default.encode(null);return e.action=s.default.encode(t.action),e}}]),t}();e.default=l,t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(237)).default;e.default=o,t.exports=e.default},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(238),o=new n.DiffPatcher({arrays:{detectMove:!1},propertyFilter:function(t,e){return"function"!=typeof e.left[t]&&"function"!=typeof e.right[t]&&!function(t){for(var e=0,r=t.parent;void 0!==r;){if(r.left===t.left&&r.right===t.right)return!0;if(r=r.parent,++e>10)return!0}return!1}(e)}});e.default=o,t.exports=e.default},function(t,e,r){var n=r(239).Processor,o=r(71).Pipe,i=r(31).DiffContext,a=r(33).PatchContext,u=r(34).ReverseContext,s=r(72),c=r(240),f=r(241),l=r(242),d=r(244),p=r(245),h=function(t){this.processor=new n(t),this.processor.pipe(new o("diff").append(f.collectChildrenDiffFilter,c.diffFilter,d.diffFilter,p.diffFilter,f.objectsDiffFilter,l.diffFilter).shouldHaveResult()),this.processor.pipe(new o("patch").append(f.collectChildrenPatchFilter,l.collectChildrenPatchFilter,c.patchFilter,p.patchFilter,f.patchFilter,l.patchFilter).shouldHaveResult()),this.processor.pipe(new o("reverse").append(f.collectChildrenReverseFilter,l.collectChildrenReverseFilter,c.reverseFilter,p.reverseFilter,f.reverseFilter,l.reverseFilter).shouldHaveResult())};h.prototype.options=function(){return this.processor.options.apply(this.processor,arguments)},h.prototype.diff=function(t,e){return this.processor.process(new i(t,e))},h.prototype.patch=function(t,e){return this.processor.process(new a(t,e))},h.prototype.reverse=function(t){return this.processor.process(new u(t))},h.prototype.unpatch=function(t,e){return this.patch(t,this.reverse(e))},h.prototype.clone=function(t){return s(t)},e.DiffPatcher=h},function(t,e){var r=function(t){this.selfOptions=t||{},this.pipes={}};r.prototype.options=function(t){return t&&(this.selfOptions=t),this.selfOptions},r.prototype.pipe=function(t,e){if("string"==typeof t){if(void 0===e)return this.pipes[t];this.pipes[t]=e}if(t&&t.name){if((e=t).processor===this)return e;this.pipes[e.name]=e}return e.processor=this,e},r.prototype.process=function(t,e){var r=t;r.options=this.options();for(var n,o,i=e||t.pipe||"default";i;)void 0!==r.nextAfterChildren&&(r.next=r.nextAfterChildren,r.nextAfterChildren=null),"string"==typeof i&&(i=this.pipe(i)),i.process(r),o=r,n=i,i=null,r&&r.next&&(r=r.next,i=o.nextPipe||r.pipe||n);return r.hasResult?r.result:void 0},e.Processor=r},function(t,e){var r="function"==typeof Array.isArray?Array.isArray:function(t){return t instanceof Array},n=function(t){if(t.left!==t.right)if(void 0!==t.left)if(void 0!==t.right){if("function"==typeof t.left||"function"==typeof t.right)throw new Error("functions are not supported");if(t.leftType=null===t.left?"null":typeof t.left,t.rightType=null===t.right?"null":typeof t.right,t.leftType===t.rightType)if("boolean"!==t.leftType&&"number"!==t.leftType)if("object"===t.leftType&&(t.leftIsArray=r(t.left)),"object"===t.rightType&&(t.rightIsArray=r(t.right)),t.leftIsArray===t.rightIsArray){if(t.left instanceof RegExp){if(!(t.right instanceof RegExp))return void t.setResult([t.left,t.right]).exit();t.setResult([t.left.toString(),t.right.toString()]).exit()}}else t.setResult([t.left,t.right]).exit();else t.setResult([t.left,t.right]).exit();else t.setResult([t.left,t.right]).exit()}else t.setResult([t.left,0,0]).exit();else{if("function"==typeof t.right)throw new Error("functions are not supported");t.setResult([t.right]).exit()}else t.setResult(void 0).exit()};n.filterName="trivial";var o=function(t){if(void 0!==t.delta){if(t.nested=!r(t.delta),!t.nested)if(1!==t.delta.length)if(2!==t.delta.length)3!==t.delta.length||0!==t.delta[2]||t.setResult(void 0).exit();else{if(t.left instanceof RegExp){var e=/^\/(.*)\/([gimyu]+)$/.exec(t.delta[1]);if(e)return void t.setResult(new RegExp(e[1],e[2])).exit()}t.setResult(t.delta[1]).exit()}else t.setResult(t.delta[0]).exit()}else t.setResult(t.left).exit()};o.filterName="trivial";var i=function(t){void 0!==t.delta?(t.nested=!r(t.delta),t.nested||(1!==t.delta.length?2!==t.delta.length?3!==t.delta.length||0!==t.delta[2]||t.setResult([t.delta[0]]).exit():t.setResult([t.delta[1],t.delta[0]]).exit():t.setResult([t.delta[0],0,0]).exit())):t.setResult(t.delta).exit()};i.filterName="trivial",e.diffFilter=n,e.patchFilter=o,e.reverseFilter=i},function(t,e,r){var n=r(31).DiffContext,o=r(33).PatchContext,i=r(34).ReverseContext,a=function(t){if(t&&t.children){for(var e,r=t.children.length,n=t.result,o=0;o<r;o++)void 0!==(e=t.children[o]).result&&((n=n||{})[e.childName]=e.result);n&&t.leftIsArray&&(n._t="a"),t.setResult(n).exit()}};a.filterName="collectChildren";var u=function(t){if(!t.leftIsArray&&"object"===t.leftType){var e,r,o=t.options.propertyFilter;for(e in t.left)Object.prototype.hasOwnProperty.call(t.left,e)&&(o&&!o(e,t)||(r=new n(t.left[e],t.right[e]),t.push(r,e)));for(e in t.right)Object.prototype.hasOwnProperty.call(t.right,e)&&(o&&!o(e,t)||void 0===t.left[e]&&(r=new n(void 0,t.right[e]),t.push(r,e)));t.children&&0!==t.children.length?t.exit():t.setResult(void 0).exit()}};u.filterName="objects";var s=function(t){if(t.nested&&!t.delta._t){var e,r;for(e in t.delta)r=new o(t.left[e],t.delta[e]),t.push(r,e);t.exit()}};s.filterName="objects";var c=function(t){if(t&&t.children&&!t.delta._t){for(var e,r=t.children.length,n=0;n<r;n++)e=t.children[n],Object.prototype.hasOwnProperty.call(t.left,e.childName)&&void 0===e.result?delete t.left[e.childName]:t.left[e.childName]!==e.result&&(t.left[e.childName]=e.result);t.setResult(t.left).exit()}};c.filterName="collectChildren";var f=function(t){if(t.nested&&!t.delta._t){var e,r;for(e in t.delta)r=new i(t.delta[e]),t.push(r,e);t.exit()}};f.filterName="objects";var l=function(t){if(t&&t.children&&!t.delta._t){for(var e,r=t.children.length,n={},o=0;o<r;o++)n[(e=t.children[o]).childName]!==e.result&&(n[e.childName]=e.result);t.setResult(n).exit()}};l.filterName="collectChildren",e.collectChildrenDiffFilter=a,e.objectsDiffFilter=u,e.patchFilter=s,e.collectChildrenPatchFilter=c,e.reverseFilter=f,e.collectChildrenReverseFilter=l},function(t,e,r){var n=r(31).DiffContext,o=r(33).PatchContext,i=r(34).ReverseContext,a=r(243),u="function"==typeof Array.isArray?Array.isArray:function(t){return t instanceof Array},s="function"==typeof Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var r=t.length,n=0;n<r;n++)if(t[n]===e)return n;return-1};function c(t,e,r,n,o){var i=t[r],a=e[n];if(i===a)return!0;if("object"!=typeof i||"object"!=typeof a)return!1;var u,s,c=o.objectHash;return c?("number"==typeof r?(o.hashCache1=o.hashCache1||[],void 0===(u=o.hashCache1[r])&&(o.hashCache1[r]=u=c(i,r))):u=c(i),void 0!==u&&("number"==typeof n?(o.hashCache2=o.hashCache2||[],void 0===(s=o.hashCache2[n])&&(o.hashCache2[n]=s=c(a,n))):s=c(a),void 0!==s&&u===s)):o.matchByPosition&&r===n}var f=function(t){if(t.leftIsArray){var e,r,o,i,u,f={objectHash:t.options&&t.options.objectHash,matchByPosition:t.options&&t.options.matchByPosition},l=0,d=0,p=t.left,h=t.right,g=p.length,v=h.length;for(g>0&&v>0&&!f.objectHash&&"boolean"!=typeof f.matchByPosition&&(f.matchByPosition=!function(t,e,r,n){for(var o=0;o<r;o++)for(var i=t[o],a=0;a<n;a++){var u=e[a];if(o!==a&&i===u)return!0}}(p,h,g,v));l<g&&l<v&&c(p,h,l,l,f);)e=l,i=new n(t.left[e],t.right[e]),t.push(i,e),l++;for(;d+l<g&&d+l<v&&c(p,h,g-1-d,v-1-d,f);)r=g-1-d,o=v-1-d,i=new n(t.left[r],t.right[o]),t.push(i,o),d++;if(l+d!==g)if(l+d!==v){delete f.hashCache1,delete f.hashCache2;var y=p.slice(l,g-d),_=h.slice(l,v-d),b=a.get(y,_,c,f),m=[];for(u=u||{_t:"a"},e=l;e<g-d;e++)s(b.indices1,e-l)<0&&(u["_"+e]=[p[e],0,0],m.push(e));var E=!0;t.options&&t.options.arrays&&!1===t.options.arrays.detectMove&&(E=!1);var O=!1;t.options&&t.options.arrays&&t.options.arrays.includeValueOnMove&&(O=!0);var x=m.length;for(e=l;e<v-d;e++){var w=s(b.indices2,e-l);if(w<0){var S=!1;if(E&&x>0)for(var P=0;P<x;P++)if(c(y,_,(r=m[P])-l,e-l,f)){u["_"+r].splice(1,2,e,3),O||(u["_"+r][0]=""),o=e,i=new n(t.left[r],t.right[o]),t.push(i,o),m.splice(P,1),S=!0;break}S||(u[e]=[h[e]])}else r=b.indices1[w]+l,o=b.indices2[w]+l,i=new n(t.left[r],t.right[o]),t.push(i,o)}t.setResult(u).exit()}else{for(u=u||{_t:"a"},e=l;e<g-d;e++)u["_"+e]=[p[e],0,0];t.setResult(u).exit()}else{if(g===v)return void t.setResult(void 0).exit();for(u=u||{_t:"a"},e=l;e<v-d;e++)u[e]=[h[e]];t.setResult(u).exit()}}};f.filterName="arrays";var l=function(t,e){return t-e},d=function(t){return function(e,r){return e[t]-r[t]}},p=function(t){if(t.nested&&"a"===t.delta._t){var e,r,n=t.delta,i=t.left,a=[],u=[],s=[];for(e in n)if("_t"!==e)if("_"===e[0]){if(0!==n[e][2]&&3!==n[e][2])throw new Error("only removal or move can be applied at original array indices, invalid diff type: "+n[e][2]);a.push(parseInt(e.slice(1),10))}else 1===n[e].length?u.push({index:parseInt(e,10),value:n[e][0]}):s.push({index:parseInt(e,10),delta:n[e]});for(e=(a=a.sort(l)).length-1;e>=0;e--){var c=n["_"+(r=a[e])],f=i.splice(r,1)[0];3===c[2]&&u.push({index:c[1],value:f})}var p=(u=u.sort(d("index"))).length;for(e=0;e<p;e++){var h=u[e];i.splice(h.index,0,h.value)}var g,v=s.length;if(v>0)for(e=0;e<v;e++){var y=s[e];g=new o(t.left[y.index],y.delta),t.push(g,y.index)}t.children?t.exit():t.setResult(t.left).exit()}};p.filterName="arrays";var h=function(t){if(t&&t.children&&"a"===t.delta._t){for(var e,r=t.children.length,n=0;n<r;n++)e=t.children[n],t.left[e.childName]=e.result;t.setResult(t.left).exit()}};h.filterName="arraysCollectChildren";var g=function(t){if(t.nested){if("a"===t.delta._t){var e,r;for(e in t.delta)"_t"!==e&&(r=new i(t.delta[e]),t.push(r,e));t.exit()}}else 3===t.delta[2]&&(t.newName="_"+t.delta[1],t.setResult([t.delta[0],parseInt(t.childName.substr(1),10),3]).exit())};g.filterName="arrays";var v=function(t,e,r){if("string"==typeof e&&"_"===e[0])return parseInt(e.substr(1),10);if(u(r)&&0===r[2])return"_"+e;var n=+e;for(var o in t){var i=t[o];if(u(i))if(3===i[2]){var a=parseInt(o.substr(1),10),s=i[1];if(s===+e)return a;a<=n&&s>n?n++:a>=n&&s<n&&n--}else if(0===i[2]){parseInt(o.substr(1),10)<=n&&n++}else 1===i.length&&o<=n&&n--}return n},y=function(t){if(t&&t.children&&"a"===t.delta._t){for(var e,r=t.children.length,n={_t:"a"},o=0;o<r;o++){var i=(e=t.children[o]).newName;void 0===i&&(i=v(t.delta,e.childName,e.result)),n[i]!==e.result&&(n[i]=e.result)}t.setResult(n).exit()}};y.filterName="arraysCollectChildren",e.diffFilter=f,e.patchFilter=p,e.collectChildrenPatchFilter=h,e.reverseFilter=g,e.collectChildrenReverseFilter=y},function(t,e){var r=function(t,e,r,n){return t[r]===e[n]},n=function(t,e,r,o,i,a){if(0===o||0===i)return{sequence:[],indices1:[],indices2:[]};if(t.match(e,r,o-1,i-1,a)){var u=n(t,e,r,o-1,i-1,a);return u.sequence.push(e[o-1]),u.indices1.push(o-1),u.indices2.push(i-1),u}return t[o][i-1]>t[o-1][i]?n(t,e,r,o,i-1,a):n(t,e,r,o-1,i,a)};e.get=function(t,e,o,i){var a=function(t,e,r,n){var o,i,a=t.length,u=e.length,s=[a+1];for(o=0;o<a+1;o++)for(s[o]=[u+1],i=0;i<u+1;i++)s[o][i]=0;for(s.match=r,o=1;o<a+1;o++)for(i=1;i<u+1;i++)r(t,e,o-1,i-1,n)?s[o][i]=s[o-1][i-1]+1:s[o][i]=Math.max(s[o-1][i],s[o][i-1]);return s}(t,e,o||r,i=i||{}),u=n(a,t,e,t.length,e.length,i);return"string"==typeof t&&"string"==typeof e&&(u.sequence=u.sequence.join("")),u}},function(t,e){var r=function(t){t.left instanceof Date?(t.right instanceof Date?t.left.getTime()!==t.right.getTime()?t.setResult([t.left,t.right]):t.setResult(void 0):t.setResult([t.left,t.right]),t.exit()):t.right instanceof Date&&t.setResult([t.left,t.right]).exit()};r.filterName="dates",e.diffFilter=r},function(t,e,r){var n=null,o=function(t){if(!n){var e;if("undefined"!=typeof diff_match_patch)e="function"==typeof diff_match_patch?new diff_match_patch:new diff_match_patch.diff_match_patch;else{try{var o=r(246)("./diff_match_patch_uncompressed");e=new o.diff_match_patch}catch(t){e=null}}if(!e){if(!t)return null;var i=new Error("text diff_match_patch library not found");throw i.diff_match_patch_not_found=!0,i}n={diff:function(t,r){return e.patch_toText(e.patch_make(t,r))},patch:function(t,r){for(var n=e.patch_apply(e.patch_fromText(r),t),o=0;o<n[1].length;o++){if(!n[1][o])new Error("text patch failed").textPatchFailed=!0}return n[0]}}}return n},i=function(t){if("string"===t.leftType){var e=t.options&&t.options.textDiff&&t.options.textDiff.minLength||60;if(t.left.length<e||t.right.length<e)t.setResult([t.left,t.right]).exit();else{var r=o();if(r){var n=r.diff;t.setResult([n(t.left,t.right),0,2]).exit()}else t.setResult([t.left,t.right]).exit()}}};i.filterName="texts";var a=function(t){if(!t.nested&&2===t.delta[2]){var e=o(!0).patch;t.setResult(e(t.left,t.delta[0])).exit()}};a.filterName="texts";var u=function(t){var e,r,n,o,i,a=null,u=/^@@ +\-(\d+),(\d+) +\+(\d+),(\d+) +@@$/;for(e=0,r=(n=t.split("\n")).length;e<r;e++){var s=(o=n[e]).slice(0,1);"@"===s?(a=u.exec(o),null,null,n[e]="@@ -"+a[3]+","+a[4]+" +"+a[1]+","+a[2]+" @@"):"+"===s?(e,n[e]="-"+n[e].slice(1),"+"===n[e-1].slice(0,1)&&(i=n[e],n[e]=n[e-1],n[e-1]=i)):"-"===s&&(e,n[e]="+"+n[e].slice(1))}return n.join("\n")},s=function(t){t.nested||2===t.delta[2]&&t.setResult([u(t.delta[0]),0,2]).exit()};s.filterName="texts",e.diffFilter=i,e.patchFilter=a,e.reverseFilter=s},function(t,e,r){var n={"./diff_match_patch_uncompressed":73,"./diff_match_patch_uncompressed.js":73};function o(t){var e=i(t);return r(e)}function i(t){if(!r.o(n,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}o.keys=function(){return Object.keys(n)},o.resolve=i,t.exports=o,o.id=246},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={error:console.error.bind(console),warn:console.warn.bind(console),info:console.info.bind(console)};e.default=n,t.exports=e.default},function(t,e){t.exports=require("promise/setimmediate/rejection-tracking")},function(t,e){t.exports=require("promise/setimmediate/core")},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"createEnhancer",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"createMiddleware",{enumerable:!0,get:function(){return i.default}});var o=n(r(251)),i=n(r(252))},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.stateSanitizer,n=void 0===r?function(t){return t}:r,o=e.actionSanitizer,a=void 0===o?function(t){return t}:o;return function(e){return function(r,o,c){var f=e(r,o,c),l=f.dispatch,d=s++;t.addEvent("lr.redux.InitialState",(function(){var t;try{t=n(f.getState())}catch(t){console.error(t.toString())}return{state:t,storeId:d}}));return u(u({},f),{},{dispatch:function(e){var r,o,u=(0,i.default)();try{o=l(e)}catch(t){r=t}finally{var s=(0,i.default)()-u;t.addEvent("lr.redux.ReduxAction",(function(){var t=null,r=null;try{t=n(f.getState()),r=a(e)}catch(t){console.error(t.toString())}return t&&r?{storeId:d,action:r,duration:s,stateDelta:t}:null}))}if(r)throw r;return o}})}}};var o=n(r(1)),i=n(r(74));function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(Object(r),!0).forEach((function(e){(0,o.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var s=0;t.exports=e.default},function(t,e,r){"use strict";var n=r(0);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.stateSanitizer,n=void 0===r?function(t){return t}:r,a=e.actionSanitizer,u=void 0===a?function(t){return t}:a;return function(e){var r=i++;return t.addEvent("lr.redux.InitialState",(function(){var t;try{t=n(e.getState())}catch(t){console.error(t.toString())}return{state:t,storeId:r}})),function(i){return function(a){var s,c,f=(0,o.default)();try{c=i(a)}catch(t){s=t}finally{var l=(0,o.default)()-f;t.addEvent("lr.redux.ReduxAction",(function(){var t=null,o=null;try{t=n(e.getState()),o=u(a)}catch(t){console.error(t.toString())}return t&&o?{storeId:r,action:o,duration:l,stateDelta:t}:null}))}if(s)throw s;return c}}}};var o=n(r(74)),i=0;t.exports=e.default}])}));
|
|
@@ -136,9 +136,6 @@ RCT_EXPORT_METHOD(initWithConfig:(NSString *)appID
|
|
|
136
136
|
NSString *serverURL = config[@"serverURL"];
|
|
137
137
|
NSMutableSet<NSString *> *tags = [NSMutableSet setWithArray:config[@"redactionTags"]];
|
|
138
138
|
|
|
139
|
-
BOOL persistenceEnabled = config[@"enablePersistence"];
|
|
140
|
-
BOOL ipCaptureEnabled = config[@"enableIPCapture"];
|
|
141
|
-
|
|
142
139
|
LROConfiguration *configuration = [[LROConfiguration alloc] initWithAppID:appID];
|
|
143
140
|
|
|
144
141
|
configuration.serverURL = serverURL;
|
|
@@ -149,8 +146,27 @@ RCT_EXPORT_METHOD(initWithConfig:(NSString *)appID
|
|
|
149
146
|
configuration.requestSanitizer = nil;
|
|
150
147
|
configuration.responseSanitizer = nil;
|
|
151
148
|
configuration.registerTouchHandlers = true;
|
|
152
|
-
|
|
153
|
-
|
|
149
|
+
|
|
150
|
+
// Entries in the dictionary can be NSNull. Especially, on React-Native, this can happen.
|
|
151
|
+
id enablePersistence = config[@"enablePersistence"];
|
|
152
|
+
if (enablePersistence != nil && ![enablePersistence isEqual:[NSNull null]]) {
|
|
153
|
+
configuration.persistenceEnabled = [enablePersistence boolValue];
|
|
154
|
+
} else {
|
|
155
|
+
configuration.persistenceEnabled = YES;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
id enableIPCapture = config[@"enableIPCapture"];
|
|
159
|
+
if (enableIPCapture != nil && ![enableIPCapture isEqual:[NSNull null]]) {
|
|
160
|
+
configuration.ipCaptureEnabled = [enableIPCapture boolValue];
|
|
161
|
+
} else {
|
|
162
|
+
configuration.ipCaptureEnabled = YES;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
NSLog(@"LogRocket: ipCaptureEnabled = %@", configuration.ipCaptureEnabled ? @"YES" : @"NO");
|
|
166
|
+
|
|
167
|
+
if ([config[@"uploadIntervalMs"] isKindOfClass:[NSNumber class]]) {
|
|
168
|
+
configuration.uploadIntervalMs = [config[@"uploadIntervalMs"] unsignedIntValue];
|
|
169
|
+
}
|
|
154
170
|
|
|
155
171
|
BOOL result = [LROSDK initializeInternalWithConfiguration:configuration];
|
|
156
172
|
resolve(@(result));
|