@logrocket/react-native 1.47.9 → 1.47.10

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.
@@ -13,7 +13,7 @@
13
13
  def DEFAULT_COMPILE_SDK_VERSION = 33
14
14
  def DEFAULT_MIN_SDK_VERSION = 25
15
15
  def DEFAULT_TARGET_SDK_VERSION = 31
16
- def SDK_VERSION = "1.47.9"
16
+ def SDK_VERSION = "1.47.10"
17
17
 
18
18
  def PACKAGE_ROOT_DIR = rootProject.name == 'LogRocket SDK' ? "$rootDir/../packages/@logrocket/react-native" : "$rootDir/..";
19
19
 
@@ -295,7 +295,7 @@ public class LogRocketNativeModule extends ReactContextBaseJavaModule {
295
295
  MessageReceiverHelper.rebuildMessage(messageList);
296
296
  messageList = new ArrayList<>();
297
297
  }
298
-
298
+
299
299
  static class LogRocketReceiver extends BroadcastReceiver {
300
300
  private final ReactApplicationContext reactContext;
301
301
  private final Logger logger = new TaggedLogger("logrocket-receiver");
@@ -359,6 +359,7 @@ public class LogRocketNativeModule extends ReactContextBaseJavaModule {
359
359
  private OptionsConfiguration createOptionsConfiguration(String appID, ReadableMap config) {
360
360
  return options -> {
361
361
  options.setAppID(appID);
362
+ options.setIsReactNative(true);
362
363
 
363
364
  if (config == null) {
364
365
  return;
package/dist/build.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.LogRocketReactNative=t():e.LogRocketReactNative=t()}(self,(function(){return function(){var e={2706:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.encode=function(e){return JSON.stringify(h(e))},t.encodeAsTable=function(e){return h(e)},t.decode=function(e){return function(e){if("number"==typeof e&&e<0)return n(e);var t=new Array(e.length);function r(e){return e in t?t[e]:t[e]=n(e)}function n(t){if(t<0){if(t===i)return;if(t===a)return;if(t===s)return NaN;if(t===u)return 1/0;if(t===c)return-1/0;throw new Error("invalid ARSON index: "+t)}var n=e[t];if(n&&"object"===(0,o.default)(n)){if(Array.isArray(n)){var h=n[0];if("string"==typeof h&&h in f){var p=f[h].reconstruct,v=p();return v&&l.push({reconstruct:p,empty:v,argIndexes:n.slice(1)}),e[t]=v||p(n.slice(1).map(r))}}d.push(n)}return n}var l=[],d=[];return e.forEach((function(e,t){r(t)})),l.forEach((function(e){e.args=e.argIndexes.map(r)})),d.forEach((function(t){Object.keys(t).forEach((function(n){var o=t[n];if("number"==typeof o)if(o<0){if(o===a)return void delete t[n];t[n]=r(o)}else t[n]=e[o]}))})),l.forEach((function(e){e.reconstruct.call(e.empty,e.args)})),e[0]}(JSON.parse(e))};var o=n(r(8698)),i=-1,a=-2,s=-3,u=-4,c=-5,f=Object.create(null),l=function(e,t){function r(r){if("function"!=typeof t[r])throw new Error("second argument to ARSON.registerType("+JSON.stringify(e)+", ...) must be an object with a "+r+" method")}r("deconstruct"),r("reconstruct"),f[e]=t},d=Object.prototype.toString;function h(e){var t=[],r="function"==typeof Map&&new Map;function n(e){switch((0,o.default)(e)){case"undefined":return i;case"number":if(isNaN(e))return s;if(!isFinite(e))return e<0?c:u}var n;return r?void 0===(n=r.get(e))&&(n=t.push(e)-1,r.set(e,n)):(n=t.indexOf(e))<0&&(n=t.push(e)-1),n}function l(e){var t=e;if(e&&"object"===(0,o.default)(e)){var r=Object.keys(e);if(function(e){var t=e&&"object"===(0,o.default)(e);if(t){return(Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__)===Object.prototype}return!1}(e))t={};else{if(!Array.isArray(e)){for(var i in f){var s=f[i].deconstruct(e);if(s){for(c=0;c<s.length;++c)s[c]=n(s[c]);return s.unshift(i),s}}return{}.toString.call(e)}t=Array(e.length);var u=e.length;if(u>r.length)for(var c=0;c<u;++c)t[c]=a}r.forEach((function(r){t[r]=n(e[r])}))}return t}var d=n(e);if(d<0)return d;for(var h=[],p=0;p<t.length;++p)h[p]=l(t[p]);return h}"function"==typeof Buffer&&"function"==typeof Buffer.isBuffer&&l("Buffer",{deconstruct:function(e){return Buffer.isBuffer(e)&&[e.toString("base64"),"base64"]},reconstruct:function(e){return e&&Buffer.from(e[0],e[1])}}),l("Date",{deconstruct:function(e){return"[object Date]"===d.call(e)&&[e.toJSON()]},reconstruct:function(e){return e&&new Date(e[0])}}),l("RegExp",{deconstruct:function(e){if("[object RegExp]"===d.call(e)){var t=[e.source],r="";return e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.global&&(r+="g"),r&&t.push(r),t}},reconstruct:function(e){return e&&new RegExp(e[0],e[1])}}),"function"==typeof Set&&"function"==typeof Array.from&&l("Set",{deconstruct:function(e){if("[object Set]"===d.call(e))return Array.from(e)},reconstruct:function(e){if(!e)return new Set;e.forEach(this.add,this)}}),"function"==typeof Map&&"function"==typeof Array.from&&l("Map",{deconstruct:function(e){if("[object Map]"===d.call(e))return Array.from(e)},reconstruct:function(e){if(!e)return new Map;e.forEach((function(e){this.set(e[0],e[1])}),this)}})},5749:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(9047)).default;t.default=o},9047:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=[];return["log","warn","info","error","debug"].forEach((function(r){t.push((0,i.default)(console,r,(function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];e.addEvent("lr.core.LogEvent",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.isEnabled;if("object"===(0,o.default)(i)&&!1===i[r]||!1===i)return null;if("error"===r&&t.shouldAggregateConsoleErrors)if(n&&n.length>=2&&"ERROR"===n[0]){var s="";try{s=" ".concat(n[1])}catch(e){}a.Capture.captureMessage(e,"".concat(n[0]).concat(s),n,{},!0)}else a.Capture.captureMessage(e,n[0],n,{},!0);return{logLevel:r.toUpperCase(),args:n}}))})))})),function(){t.forEach((function(e){return e()}))}};var o=n(r(8698)),i=n(r(7800)),a=r(5476)},1365:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MAX_CUSTOM_PROPS_PER_SESSION=t.MAX_PROPERTY_NAME_LENGTH=t.SUPPORTED_TYPES=t.RESERVED_PROP_MAPPINGS=t.RESERVED_PROPS=t.VALIDATION_ERRORS=void 0;t.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"};t.RESERVED_PROPS={revenue:"number"};t.RESERVED_PROP_MAPPINGS={revenue:{type:"double"}};t.SUPPORTED_TYPES=["boolean","number","string"];t.MAX_PROPERTY_NAME_LENGTH=100;t.MAX_CUSTOM_PROPS_PER_SESSION=2e3},1550:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.printEventPropError=function(e){switch(e.error){case n.VALIDATION_ERRORS.EMPTY_ARRAY:return"Ignored empty array at property ".concat(e.prop);case n.VALIDATION_ERRORS.MIXED_TYPE_ARRAY:return"Ignored mixed type array at property ".concat(e.prop);case n.VALIDATION_ERRORS.UNSUPPORTED_TYPE:return"Ignored unsupported type (".concat(e.propType,") at property ").concat(e.prop,". Expected one of: ").concat(n.SUPPORTED_TYPES.join(),",").concat(n.SUPPORTED_TYPES.map((function(e){return"".concat(e,"[]")})).join());case n.VALIDATION_ERRORS.RESERVED_TYPE_MISMATCH:return"Ignored reserved property ".concat(e.prop," with unexpected type ").concat(e.propType,". Expected type ").concat(n.RESERVED_PROPS[e.prop]);case n.VALIDATION_ERRORS.MAX_PROPS_REACHED:return"Max number of custom properties per session reached. Ignored property ".concat(e.prop);case n.VALIDATION_ERRORS.NAME_TOO_LONG:return"Property name ".concat(e.prop," is over max length of ").concat(n.MAX_PROPERTY_NAME_LENGTH);case n.VALIDATION_ERRORS.MALFORMED_VARIANT:return"Malformed variant at property ".concat(e.prop);default:return"Unknown error processing event properties"}};var n=r(1365)},2440:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.checkForValidationErrors=a,t.sanitizeEventProps=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1/0,r=0,n={},o=[],u=0,c=Object.keys(e);u<c.length;u++){var f=c[u],l=e[f],d=a(f,l);void 0===d?t===1/0||r!==t?(r++,n[f]=s(l)):o.push({error:i.VALIDATION_ERRORS.MAX_PROPS_REACHED,prop:f}):o.push(d)}return{eventProps:n,errors:o}};var o=n(r(8698)),i=r(1365);function a(e,t){var r,n=Array.isArray(t);if(r=null===t?"null":(0,o.default)(n?t[0]:t),e.length>i.MAX_PROPERTY_NAME_LENGTH)return{error:i.VALIDATION_ERRORS.NAME_TOO_LONG,prop:e};if(Object.keys(i.RESERVED_PROPS).indexOf(e)>=0&&i.RESERVED_PROPS[e]!==r)return{error:i.VALIDATION_ERRORS.RESERVED_TYPE_MISMATCH,prop:e,propType:r};if(n){if(0===t.length)return{error:i.VALIDATION_ERRORS.EMPTY_ARRAY,prop:e};var a=(0,o.default)(t[0]);return i.SUPPORTED_TYPES.indexOf(a)<0?{error:i.VALIDATION_ERRORS.UNSUPPORTED_TYPE,prop:e,propType:"".concat(a,"[]")}:t.every((function(e){return(0,o.default)(e)===a}))?void 0:{error:i.VALIDATION_ERRORS.MIXED_TYPE_ARRAY,prop:e}}return i.SUPPORTED_TYPES.indexOf((0,o.default)(t))<0?{error:i.VALIDATION_ERRORS.UNSUPPORTED_TYPE,prop:e,propType:r}:void 0}function s(e){var t=Array.isArray(e)?e:[e];switch((0,o.default)(t[0])){case"number":return{doubleVal:t};case"boolean":return{boolVal:t};case"string":return{stringVal:t};default:return{}}}},5279:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(1390),o=new n.DiffPatcher({arrays:{detectMove:!1},propertyFilter:function(e,t){return"function"!=typeof t.left[e]&&"function"!=typeof t.right[e]&&!function(e){for(var t=0,r=e.parent;void 0!==r;){if(r.left===e.left&&r.right===e.right)return!0;if(r=r.parent,++t>10)return!0}return!1}(t)}});t.default=o},3237:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(5279)).default;t.default=o},9818:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.captureMessage=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a={exceptionType:i?"CONSOLE":"MESSAGE",message:t,messageArgs:r,browserHref:window.location?window.location.href:""};(0,o.scrubException)(a,n),e.addEvent("lr.core.Exception",(function(){return a}))},t.captureException=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"WINDOW",u=n||i.default.computeStackTrace(t),c={exceptionType:s,errorType:u.name,message:u.message,browserHref:window.location?window.location.href:""};(0,o.scrubException)(c,r);var f={_stackTrace:(0,a.default)(u)};e.addEvent("lr.core.Exception",(function(){return c}),f)};var o=r(6731),i=n(r(8668)),a=n(r(4751))},5476:function(e,t,r){"use strict";var n=r(4836),o=r(8698);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"registerExceptions",{enumerable:!0,get:function(){return i.default}}),t.Capture=void 0;var i=n(r(239)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var r=s(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(n,a,u):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(9818));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(s=function(e){return e?r:t})(e)}t.Capture=a},8414:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(6690)),i=n(r(9728)),a=n(r(8668)),s=Object.prototype;function u(e){return void 0===e}function c(e){return"function"==typeof e}function f(e,t){return s.hasOwnProperty.call(e,t)}function l(e,t,r,n){var o=e[t];e[t]=r(o),n&&n.push([e,t,o])}var d="undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{},h=(d.document,function(){function e(t){var r=t.captureException;(0,o.default)(this,e),this._errorHandler=this._errorHandler.bind(this),this._ignoreOnError=0,this._wrappedBuiltIns=[],this.captureException=r,a.default.report.subscribe(this._errorHandler),this._instrumentTryCatch()}return(0,i.default)(e,[{key:"uninstall",value:function(){var e;for(a.default.report.unsubscribe(this._errorHandler);this._wrappedBuiltIns.length;){var t=(e=this._wrappedBuiltIns.shift())[0],r=e[1],n=e[2];t[r]=n}}},{key:"_errorHandler",value:function(e){this._ignoreOnError||this.captureException(e)}},{key:"_ignoreNextOnError",value:function(){var e=this;this._ignoreOnError+=1,setTimeout((function(){e._ignoreOnError-=1}))}},{key:"context",value:function(e,t,r){return c(e)&&(r=t||[],t=e,e=void 0),this.wrap(e,t).apply(this,r)}},{key:"wrap",value:function(e,t,r){var n=this;if(u(t)&&!c(e))return e;if(c(e)&&(t=e,e=void 0),!c(t))return t;try{if(t.__lr__)return t;if(t.__lr_wrapper__)return t.__lr_wrapper__;if(!Object.isExtensible(t))return t}catch(e){return t}function o(){var o=[],i=arguments.length,s=!e||e&&!1!==e.deep;for(r&&c(r)&&r.apply(this,arguments);i--;)o[i]=s?n.wrap(e,arguments[i]):arguments[i];try{return t.apply(this,o)}catch(t){throw n._ignoreNextOnError(),n.captureException(a.default.computeStackTrace(t),e),t}}for(var i in t)f(t,i)&&(o[i]=t[i]);return o.prototype=t.prototype,t.__lr_wrapper__=o,o.__lr__=!0,o.__inner__=t,o}},{key:"_instrumentTryCatch",value:function(){var e=this,t=e._wrappedBuiltIns;function r(t){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 c(a)&&(o[0]=e.wrap(a)),t.apply?t.apply(this,o):t(o[0],o[1])}}l(d,"setTimeout",r,t),l(d,"setInterval",r,t),d.requestAnimationFrame&&l(d,"requestAnimationFrame",(function(t){return function(r){return t(e.wrap(r))}}),t);for(var n,o,i=["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"],a=0;a<i.length;a++)o=void 0,(o=d[n=i[a]]&&d[n].prototype)&&o.hasOwnProperty&&o.hasOwnProperty("addEventListener")&&(l(o,"addEventListener",(function(t){return function(r,n,o,i){try{n&&n.handleEvent&&(n.handleEvent=e.wrap(n.handleEvent))}catch(e){}return t.call(this,r,e.wrap(n,void 0,void 0),o,i)}}),t),l(o,"removeEventListener",(function(e){return function(t,r,n,o){try{var i=null==r?void 0:r.__lr_wrapper__;i&&e.call(this,t,i,n,o)}catch(e){}return e.call(this,t,r,n,o)}}),void 0));var s=d.jQuery||d.$;s&&s.fn&&s.fn.ready&&l(s.fn,"ready",(function(t){return function(r){return t.call(this,e.wrap(r))}}),t)}}]),e}());t.default=h},239:function(e,t,r){"use strict";var n=r(4836),o=r(8698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=new i.default({captureException:function(t){a.captureException(e,null,null,t)}}),r=function(t){t.reason instanceof Error?a.captureException(e,t.reason,null,null,"UNHANDLED_REJECTION"):e.addEvent("lr.core.Exception",(function(){return{exceptionType:"UNHANDLED_REJECTION",message:t.reason||"Unhandled Promise rejection"}}))};return window.addEventListener("unhandledrejection",r),function(){window.removeEventListener("unhandledrejection",r),t.uninstall()}};var i=n(r(8414)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var r=s(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(n,a,u):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(9818));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(s=function(e){return e?r:t})(e)}},4751:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(e){return null===e?void 0:e}return e.stack?e.stack.map((function(e){return{lineNumber:t(e.line),columnNumber:t(e.column),fileName:t(e.url),functionName:t(e.func)}})):void 0}},8650:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(861)),i=r(1105),a=[];function s(e,t){for(var r=a.reduce((function(e,t){return[t].concat(e)}),[]),n=arguments.length,s=new Array(n>2?n-2:0),u=2;u<n;u++)s[u-2]=arguments[u];var c=Promise.resolve(s);return r.forEach((function(e){var r=e.request,n=e.requestError;(r||n)&&(c=c.then((function(e){return r.apply(void 0,[t].concat((0,o.default)(e)))}),(function(e){return n.apply(void 0,[t].concat((0,o.default)(e)))})))})),c=c.then((function(t){var r,n;(0,i.setActive)(!1);try{r=e.apply(void 0,(0,o.default)(t))}catch(e){n=e}if((0,i.setActive)(!0),n)throw n;return r})),r.forEach((function(e){var r=e.response,n=e.responseError;(r||n)&&(c=c.then((function(e){return r(t,e)}),(function(e){return n&&n(t,e)})))})),c}function u(e){if(e.fetch&&e.Promise){var t=e.fetch.polyfill;e.fetch=function(e){var t=0;return function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return s.apply(void 0,[e,t++].concat(n))}}(e.fetch),t&&(e.fetch.polyfill=t)}}var c=!1,f={register:function(e){return c||(c=!0,u(window)),a.push(e),function(){var t=a.indexOf(e);t>=0&&a.splice(t,1)}},clear:function(){a=[]}};t.default=f},7986:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{isReactNative:!1,isDisabled:!1};if(!0===(null==t?void 0:t.isDisabled))return function(){};var r=t.isReactNative,n=t.shouldAugmentNPS,o=t.shouldParseXHRBlob,l={},h=function(e){var t=e;if("object"===(0,i.default)(e)&&null!=e){var r=Object.getPrototypeOf(e);r!==Object.prototype&&null!==r||(t=JSON.stringify(e))}if(t&&t.length&&t.length>4096e3&&"string"==typeof t){var n=t.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 e},p=function(t,r){var n=r.method;e.addEvent("lr.network.RequestEvent",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=e.isEnabled,i=void 0===o||o,a=e.requestSanitizer,s=void 0===a?function(e){return e}:a;if(!i)return null;var u=null;try{u=s(d(d({},r),{},{reqId:t}))}catch(e){console.error(e)}if(u){var c=u.url;if("undefined"!=typeof document&&"function"==typeof document.createElement){var p=document.createElement("a");p.href=u.url,c=p.href}return{reqId:t,url:c,headers:(0,f.default)(u.headers,(function(e){return"".concat(e)})),body:h(u.body),method:n,referrer:u.referrer||void 0,mode:u.mode||void 0,credentials:u.credentials||void 0}}return l[t]=!0,null}))},v=function(t,r){var n=r.method,o=r.status,i=r.responseType;e.addEvent("lr.network.ResponseEvent",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.isEnabled,s=void 0===a||a,u=e.responseSanitizer,c=void 0===u?function(e){return e}:u;if(!s)return null;if(l[t])return delete l[t],null;var p=null;try{p=c(d(d({},r),{},{reqId:t}))}catch(e){console.error(e)}return p?{reqId:t,responseType:i,status:p.status,headers:(0,f.default)(p.headers,(function(e){return"".concat(e)})),body:h(p.body),method:n}:{reqId:t,responseType:i,status:o,headers:{},body:null,method:n}}))},g=function(t){return e.isDisabled||!0===l[t]},y=(0,a.default)({addRequest:p,addResponse:v,isIgnored:g}),b=(0,c.default)({addRequest:p,addResponse:v,isIgnored:g,logger:e,shouldAugmentNPS:n,shouldParseXHRBlob:o}),_=(0,s.registerIonic)({addRequest:p,addResponse:v,isIgnored:g}),m=r?function(){}:(0,u.default)(e);return function(){m(),y(),b(),_()}};var o=n(r(8416)),i=n(r(8698)),a=n(r(8452)),s=r(4863),u=n(r(989)),c=n(r(1105)),f=n(r(9645));function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){(0,o.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},8452:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.addRequest,r=e.addResponse,n=e.isIgnored,o="fetch-",i={},s=a.default.register({request:function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];var s;if("undefined"!=typeof Request&&n[0]instanceof Request){var c;try{c=n[0].clone().text()}catch(e){c=Promise.resolve("LogRocket fetch error: ".concat(e.message))}s=c.then((function(e){return u(u({},f(n[0])),{},{body:e})}),(function(e){return u(u({},f(n[0])),{},{body:"LogRocket fetch error: ".concat(e.message)})}))}else s=Promise.resolve(u(u({},f(n[1])),{},{url:"".concat(n[0]),body:(n[1]||{}).body}));return s.then((function(r){return i[e]=r.method,t("".concat(o).concat(e),r),n}))},requestError:function(e,t){return Promise.reject(t)},response:function(e,t){var a,s;if(n("".concat(o).concat(e)))return t;if("text/event-stream"===t.headers.get("content-type"))s=Promise.resolve("LogRocket skipped consuming an event-stream body.");else{try{a=t.clone()}catch(n){var u={url:t.url,responseType:t.type.toUpperCase(),status:t.status,headers:c(t.headers),body:"LogRocket fetch error: ".concat(n.message),method:i[e]};return delete i[e],r("".concat(o).concat(e),u),t}try{if(window.TextDecoder&&a.body){var f=a.body.getReader(),l=new window.TextDecoder("utf-8"),d="";s=f.read().then((function e(t){var r=t.done,n=t.value;if(r)return d;var o=n?l.decode(n,{stream:!0}):"";return d+=o,f.read().then(e)}))}else s=a.text()}catch(e){s=Promise.resolve("LogRocket error reading body: ".concat(e.message))}}return s.catch((function(e){if(!("AbortError"===e.name&&e instanceof DOMException))return"LogRocket error reading body: ".concat(e.message)})).then((function(n){var a={url:t.url,responseType:t.type.toUpperCase(),status:t.status,headers:c(t.headers),body:n,method:i[e]};delete i[e],r("".concat(o).concat(e),a)})),t},responseError:function(e,t){var n={url:void 0,status:0,headers:{},body:"".concat(t)};return r("".concat(o).concat(e),n),Promise.reject(t)}});return s};var o=n(r(8416)),i=n(r(9645)),a=n(r(8650));function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){(0,o.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var c=function(e){return(0,i.default)(function(e){if(null==e||"function"!=typeof e.forEach)return e;var t={};return e.forEach((function(e,r){t[r]?t[r]="".concat(t[r],",").concat(e):t[r]="".concat(e)})),t}(e),(function(e){return"".concat(e)}))};function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{url:e.url,headers:c(e.headers),method:e.method&&e.method.toUpperCase(),referrer:e.referrer||void 0,mode:e.mode||void 0,credentials:e.credentials||void 0}}},4863:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.mergeHeaders=E,t.serializeQueryParams=function(e,t){return S("",e,t)},t.appendQueryParamsString=A,t.processData=M,t.registerIonic=function(e){var t,r,n,o=e.addRequest,i=e.addResponse,a=e.isIgnored,u=null===(t=window.cordova)||void 0===t||null===(r=t.plugin)||void 0===r?void 0:r.http,c={},f=!1;if(void 0===u)return function(){};var l=null===(n=window.ionic)||void 0===n?void 0:n.platforms;if(void 0!==l&&"function"==typeof l.some&&l.some((function(e){return g.has(e)})))return function(){};var y=u.sendRequest,b=(0,s.default)((function(e,t,r){if(!a("".concat(v).concat(r)))try{var n={url:e.url||"",status:e.status<600&&e.status>=100?e.status:0,headers:e.headers||{},body:t?e.data:e.error,method:c[r].toUpperCase()};i("".concat(v).concat(r),n)}catch(t){var o={url:e.url||"",status:e.status<600&&e.status>=100?e.status:0,headers:e.headers||{},body:"LogRocket fetch error: ".concat(t.message),method:c[r].toUpperCase()};i("".concat(v).concat(r),o)}}));return u.sendRequest=function(e,t,r,n){var i=++k;if(!f)try{var a=function(e,t){var r;e=e||{};var n=e.data;try{r=x(h,e.serializer||t.getDataSerializer(),"serializer / data payload type")}catch(o){r=x(p,e.serializer||t.getDataSerializer(),"serializer / data payload type"),n={}}return{data:n,filePath:e.filePath,followRedirect:e.followRedirect,headers:O(e.headers||{},_,"Invalid header type, must be string"),method:x(d,e.method||d[0],"method"),name:e.name,params:O(e.params||{},m,"Invalid param, must be of type string or array"),responseType:e.responseType,serializer:r,connectTimeout:e.connectTimeout,readTimeout:e.readTimeout,timeout:e.timeout}}(t,u),s=A(e,S("",a.params,!0)),l=function(e,t,r){var n=r.getHeaders("*")||{},o=function(e,t){var r=new URL(e),n=r.host;return t.getHeaders(n)||null}(e,r)||{};return E(E(n,o),t)}(e,a.headers,u),g=a.method||"get";c[i]=g;var w={url:s,method:g.toUpperCase(),headers:l||{},body:M(a.data||{},a.serializer)};o("".concat(v).concat(i),w)}catch(r){var j={url:e,method:(t.method||"get").toUpperCase(),headers:{},body:"LogRocket fetch error: ".concat(r.message)};o("".concat(v).concat(i),j)}return y(e,t,(function(e){f||(b(e,!0,i),delete c[i]),r(e)}),(function(e){f||(b(e,!1,i),delete c[i]),n(e)}))},function(){f=!0,u.sendRequest=y,c={}}};var o=n(r(8416)),i=n(r(8698)),a=n(r(861)),s=n(r(7167));function u(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},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=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){(0,o.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var d=new Set(["get","put","post","patch","head","delete","options","upload","download"]),h=new Set(["urlencoded","json","utf8"]),p=new Set(["raw","multipart"]),v="ionic-",g=new Set(["desktop","mobileweb","pwa"]),y=new Set(["FormData"]),b=new Set,_=new Set(["string"]),m=new Set(["string","array"]),w={utf8:_,urlencoded:new Set(["object"]),json:new Set(["array","object"]),raw:new Set(["Uint8Array","ArrayBuffer"]),default:b};function x(e,t,r){if("string"!=typeof t)throw new Error("".concat(r," must be one of: ").concat((0,a.default)(e).join(", ")));if(t=t.trim().toLowerCase(),!e.has(t))throw new Error("".concat(r," must be one of: ").concat((0,a.default)(e).join(", ")));return t}function O(e,t,r){if("object"!==(0,i.default)(e))throw new Error(r);for(var n=0,o=Object.keys(e);n<o.length;n++){var a=o[n];if(!t.has((0,i.default)(e[a])))throw new Error(r)}return e}function E(e,t){return l(l({},e),t)}function j(e,t){return t?encodeURIComponent(e):e}function P(e,t,r){return e.length?r?"".concat(encodeURIComponent(e),"[").concat(encodeURIComponent(t),"]"):"".concat(e,"[").concat(t,"]"):r?encodeURIComponent(t):t}function R(e,t,r){var n,o=[],a=u(t);try{for(a.s();!(n=a.n()).done;){var s=n.value;Array.isArray(s)?o.push(R("".concat(e,"[]"),s,r)):"object"!==(0,i.default)(s)?o.push("".concat(P(e,"",r),"=").concat(j(s,r))):o.push(S("".concat(e,"[]").concat(s),r,void 0))}}catch(e){a.e(e)}finally{a.f()}return o.join("&")}function S(e,t,r){var n=[];for(var o in t)if(t.hasOwnProperty(o)){var a=e.length?"".concat(e,"[").concat(o,"]"):o;Array.isArray(t[o])?n.push(R(a,t[o],r)):"object"!==(0,i.default)(t[o])||null===t[o]?n.push("".concat(P(e,o,r),"=").concat(j(t[o],r))):n.push(S(a,t[o],r))}return n.join("&")}function A(e,t){if(!e.length||!t.length)return e;var r=new URL(e),n=r.host,o=r.pathname,i=r.search,a=r.hash,s=r.protocol;return"".concat(s,"//").concat(n).concat(o).concat(i.length?"".concat(i,"&").concat(t):"?".concat(t)).concat(a)}function M(e,t){var n=(0,i.default)(e),o=function(e){return w[e]||w.default}(t),s=function(e){return"multipart"===e?y:b}(t);if(s.size>0){var u=!1;if(s.forEach((function(t){r.g[t]&&e instanceof r.g[t]&&(u=!0)})),!u)throw new Error("INSTANCE_TYPE_MISMATCH_DATA ".concat((0,a.default)(s).join(", ")))}if(0===s.size&&!o.has(n))throw new Error("TYPE_MISMATCH_DATA ".concat((0,a.default)(o).join(", ")));return"utf8"===t?e:JSON.stringify(e,void 0,2)}var k=0},989:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=void 0;function n(){var n={online:window.navigator.onLine,effectiveType:"UNKOWN"};window.navigator.onLine?window.navigator.connection&&window.navigator.connection.effectiveType&&(n.effectiveType=r[window.navigator.connection.effectiveType]||"UNKNOWN"):n.effectiveType="NONE",t&&n.online===t.online&&n.effectiveType===t.effectiveType||(t=n,e.addEvent("lr.network.NetworkStatusEvent",(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).isEnabled;return void 0===e||e?n:null})))}setTimeout(n),window.navigator.connection&&"function"==typeof window.navigator.connection.addEventListener&&window.navigator.connection.addEventListener("change",n);return window.addEventListener("online",n),window.addEventListener("offline",n),function(){window.removeEventListener("offline",n),window.removeEventListener("online",n),window.navigator.connection&&"function"==typeof window.navigator.connection.removeEventListener&&window.navigator.connection.removeEventListener("change",n)}};var r={"slow-2g":"SLOW2G","2g":"TWOG","3g":"THREEG","4g":"FOURG"}},1105:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.setActive=function(e){u=e},t.default=function(e){var t=e.addRequest,r=e.addResponse,n=e.isIgnored,f=e.logger,l=e.shouldAugmentNPS,d=void 0===l||l,h=e.shouldParseXHRBlob,p=void 0!==h&&h,v=XMLHttpRequest,g=new WeakMap,y=!1,b="xhr-";return window._lrXMLHttpRequest=XMLHttpRequest,XMLHttpRequest=function(e,l){var h=new v(e,l);if(!u)return h;g.set(h,{xhrId:++c,headers:{}});var _=h.open;var m=h.send;d&&(h.open=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];try{var n=t[1];if(window.URL&&"function"==typeof window.URL&&0===n.search(s.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]"),u=a?"".concat(a,"\n\n"):"";i.searchParams.set("response[text]","".concat(u,"<").concat(o.href,"|View LogRocket session>")),t[1]=i.href}}catch(e){}return _.apply(this,t)},h.send=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];try{var n=g.get(h);if(window.URL&&"function"==typeof window.URL&&n&&n.url&&0===n.url.search(s.DELIGHTED_RESPONSES_REGEX)&&t.length&&-1!==t[0].indexOf(s.DELIGHTED_FEEDBACK_PREFIX)){var o=new window.URL(f.recordingURL);o.searchParams.set("nps","delighted");var i=encodeURIComponent(o.href),u=t[0].split("&").map((function(e){if((0,a.default)(e,s.DELIGHTED_FEEDBACK_PREFIX)){var t=e===s.DELIGHTED_FEEDBACK_PREFIX;return"".concat(e).concat(t?"":"\n\n","<").concat(i,"|View LogRocket session>")}return e})).join("&");t[0]=u}}catch(e){}return m.apply(this,t)}),(0,i.default)(h,"open",(function(e,t){if(!y){var r=g.get(h);r.method=e,r.url=t}})),(0,i.default)(h,"send",(function(e){if(!y){var r=g.get(h);if(r){var n={url:r.url,method:r.method&&r.method.toUpperCase(),headers:(0,o.default)(r.headers||{},(function(e){return e.join(", ")})),body:e};t("".concat(b).concat(r.xhrId),n)}}})),(0,i.default)(h,"setRequestHeader",(function(e,t){if(!y){var r=g.get(h);r&&(r.headers=r.headers||{},r.headers[e]=r.headers[e]||[],r.headers[e].push(t))}}));var w={readystatechange:function(){if(!y&&4===h.readyState){var e=g.get(h);if(!e)return;if(n("".concat(b).concat(e.xhrId)))return;var t,o=(h.getAllResponseHeaders()||"").split(/[\r\n]+/).reduce((function(e,t){var r=e,n=t.split(": ");if(n.length>0){var o=n.shift(),i=n.join(": ");e[o]?r[o]+=", ".concat(i):r[o]=i}return r}),{});try{switch(h.responseType){case"json":t=f._shouldCloneResponse?JSON.parse(JSON.stringify(h.response)):h.response;break;case"arraybuffer":case"blob":t=h.response;break;case"document":t=h.responseXML;break;case"text":case"":t=h.responseText;break;default:t=""}}catch(e){t="LogRocket: Error accessing response."}var i={url:e.url,status:h.status,headers:o,body:t,method:(e.method||"").toUpperCase()};if(p&&i.body instanceof Blob){var a=new FileReader;a.readAsText(i.body),a.onload=function(){try{i.body=JSON.parse(a.result)}catch(e){}r("".concat(b).concat(e.xhrId),i)}}else r("".concat(b).concat(e.xhrId),i)}}};return Object.keys(w).forEach((function(e){h.addEventListener(e,w[e])})),h},XMLHttpRequest.prototype=v.prototype,["UNSENT","OPENED","HEADERS_RECEIVED","LOADING","DONE"].forEach((function(e){XMLHttpRequest[e]=v[e]})),function(){y=!0,XMLHttpRequest=v}};var o=n(r(9645)),i=n(r(7800)),a=n(r(9242)),s=r(4005),u=!0;var c=0},5818:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=Date.now.bind(Date),n=r(),o="undefined"!=typeof performance&&performance.now?performance.now.bind(performance):function(){return r()-n};t.default=o},7807:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DONE_POSTING=void 0;t.DONE_POSTING=-1},8316:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(861)),i=n(r(8698)),a=n(r(6690)),s=r(7807),u=function e(t){var r=t.worker,n=t.onReceiveFullMessage;(0,a.default)(this,e);var u=[];r.addEventListener("message",(function(e){if(e.data===s.DONE_POSTING){var t=[];u.forEach((function(e){e&&"object"===(0,i.default)(e)&&t.push(e)})),t.forEach((function(e){for(var t in e)e.hasOwnProperty(t)&&(e[t]=u[e[t]])})),u.length>0&&(n(u[0]),u=[])}else u=[].concat((0,o.default)(u),(0,o.default)(e.data))}))};t.default=u},4774:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(4687)),i=n(r(7424)),a=n(r(6690)),s=n(r(9728)),u=n(r(8698)),c=n(r(5818)),f=r(7807),l=n(r(7167));function d(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return h(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},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=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var p=2,v=4,g=8,y=function(e,t){var r=Object.getPrototypeOf(e);return null!==r&&"function"==typeof r[t]};function b(e){if(Array.isArray(e))return e.map((function(e){return"object"===(0,u.default)(e)&&null!==e?b(e):e}));for(var t={},r=0,n=Object.keys(e);r<n.length;r++){var o,i=n[r],a=e[i];null!==(o=Object.getOwnPropertyDescriptor(e,i))&&void 0!==o&&o.hasOwnProperty("get")?t[i]="[object Getter]":"object"===(0,u.default)(a)&&null!==a?t[i]=b(a):t[i]=a}return t}var _=function(){function e(t){var r=t.size,n=t.start;(0,a.default)(this,e),this.i=void 0,this.sum=void 0,this.size=void 0,this.values=void 0,this.i=1,this.sum=n,this.size=r,this.values=new Array(r),this.values[0]=n}return(0,s.default)(e,[{key:"add",value:function(e){var t=this.i++%this.size;this.sum-=this.values[t]||0,this.values[t]=e,this.sum+=e}},{key:"avg",value:function(){return this.sum/Math.min(this.size,this.i)}}]),e}(),m=function(){function e(t){var r=t.worker,n=t.isReactNative,o=void 0!==n&&n;(0,a.default)(this,e),this._worker=void 0,this._messages=void 0,this._byteCache=void 0,this._byteStreams=void 0,this._throughput=void 0,this._bytes=void 0,this._isProcessing=void 0,this._isReactNative=void 0,this._queue=void 0,this._doWork=void 0,this._worker=r,this._messages=[],this._byteCache={},this._byteStreams={},this._throughput=new _({size:10,start:1e3}),this._bytes=0,this._isProcessing=!1,this._isReactNative=o,this._queue=[],this._doWork=this.doWorkGenerator()}return(0,s.default)(e,[{key:"sendQueue",value:function(){try{this._worker.postMessage(this._queue)}catch(n){var e,t=d(this._queue);try{for(t.s();!(e=t.n()).done;){var r=e.value;try{this._worker.postMessage([r])}catch(e){this._worker.postMessage([{}.toString.call(r)])}}}catch(e){t.e(e)}finally{t.f()}}this._queue=[]}},{key:"doWorkGenerator",value:o.default.mark((function e(){var t,r=this;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=o.default.mark((function e(){var t,n,a,s,u,c,l,h,b,_,m,w,x,O,E,j,P;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r._messages.length){e.next=4;break}return e.next=3,-1;case 3:return e.abrupt("return","continue");case 4:if(t=new Map,n=[],a=0,s=function(e){var r=t.get(e);return void 0===r&&(r=n.length,t.set(e,r),n.push(e)),r},u=function e(t){if(null==t)return t;try{var n={}.toString.call(t);switch(n){case"[object String]":return a+=t.length*p,t.valueOf();case"[object Boolean]":return a+=v,t;case"[object Number]":case"[object Date]":return a+=g,t;case"[object Error]":case"[object DOMError]":case"[object DOMException]":var o="".concat(t.constructor.name,": ").concat(t.message||t.name);return a+=o.length*p,o;case"[object Object]":if(y(t,"toJS")&&y(t,"toJSON"))return e(t.toJSON());case"[object Array Iterator]":case"[object Array]":var i=Array.isArray(t)?[]:{};for(var u in t){var c;Object.prototype.hasOwnProperty.call(t,u)&&(a+=u.length*p,!r._isReactNative&&null!==(c=Object.getOwnPropertyDescriptor(t,u))&&void 0!==c&&c.hasOwnProperty("get")?i[u]=s("[object Getter]"):i[u]=s(t[u]))}return i;default:return n}}catch(e){return{}}},!(c=r._messages.shift())){e.next=44;break}b=(0,i.default)(c,2),_=b[0],m=b[1],w=null!==(l=null==_||null===(h=_.event)||void 0===h?void 0:h.type)&&void 0!==l?l:null==_?void 0:_.type,s(_),x=a,O=d(n),e.prev=16,O.s();case 18:if((E=O.n()).done){e.next=29;break}if(j=E.value,P=u(j),!(r._queue.length&&a-x>r._throughput.avg())){e.next=26;break}return r.sendQueue(),e.next=25,a-x;case 25:x=a;case 26:r._queue.push(P);case 27:e.next=18;break;case 29:e.next=34;break;case 31:e.prev=31,e.t0=e.catch(16),O.e(e.t0);case 34:return e.prev=34,O.f(),e.finish(34);case 37:return r._byteCache[w].add(a),r._queue.length>0&&r.sendQueue(),r._isReactNative&&r._worker.donePostingMessage?r._worker.donePostingMessage():r._worker.postMessage(f.DONE_POSTING),r._byteStreams[w]-=m,r._bytes-=m,e.next=44,a-x;case 44:case"end":return e.stop()}}),e,null,[[16,31,34,37]])}));case 1:return e.delegateYield(t(),"t0",3);case 3:if("continue"!==e.t0){e.next=6;break}return e.abrupt("continue",1);case 6:e.next=1;break;case 8:case"end":return e.stop()}}),e)}))},{key:"_processMessages",value:function(){var e=this;if(!this._isProcessing){this._isProcessing=!0;var t=(0,l.default)((function(){var r=0,n=(0,c.default)()+5;do{var o=e._doWork.next().value;if(!("number"==typeof o&&o>0))return void(e._isProcessing=!1);r+=o}while((0,c.default)()<n);e._throughput.add(r),setTimeout(t)}));setTimeout(t)}}},{key:"postMessage",value:function(e){var t,r,n=e;this._isReactNative&&(n=b(e));var o=null!==(t=null===(r=n.event)||void 0===r?void 0:r.type)&&void 0!==t?t:n.type;this._byteCache[o]||(this._byteCache[o]=new _({size:5,start:n.sizeOverride||0}));var i=this._byteCache[o].avg();n.sizeOverride&&(i=n.sizeOverride);var a=this._byteStreams[o]||0;return this._byteStreams[o]=a+i,this._bytes+=i,delete n.sizeOverride,this._messages.push([n,i]),this._processMessages(),[this._bytes,this._byteStreams]}}]),e}();t.default=m},4523:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MessageSender",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"MessageReceiver",{enumerable:!0,get:function(){return i.default}});var o=n(r(4774)),i=n(r(8316))},6410:function(e,t,r){"use strict";var n=r(5643),o=r(4576);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(7472)),a=n(r(7363)),s=n(r(3051)),u=n(r(3237)),c=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(2706));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){(0,i.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var h=function(){function e(){(0,a.default)(this,e),this.reduxStateByStoreId={}}return(0,s.default)(e,[{key:"trackState",value:function(e){var t;this.reduxStateByStoreId[e.storeId]=null!==(t=e.state)&&void 0!==t?t:e.stateDelta}},{key:"encodeInitialState",value:function(e){return this.trackState(e),d(d({},e),{},{state:c.encodeAsTable(e.state)})}},{key:"getInitialStates",value:function(){var e=this;return Object.keys(this.reduxStateByStoreId).map((function(t){var r,n=e.reduxStateByStoreId[t];return{storeId:parseInt(t,10),state:null!==(r=n.state)&&void 0!==r?r:n}}))}},{key:"encodeReduxAction",value:function(e){var t=d({},e),r=this.reduxStateByStoreId[e.storeId];if(r){var n=u.default.diff({o:r.state},{o:e.stateDelta});this.reduxStateByStoreId[e.storeId]={state:e.stateDelta},t.stateDelta=c.encodeAsTable(void 0!==n?n:null)}else this.reduxStateByStoreId[e.storeId]={state:e.stateDelta},t.state=c.encodeAsTable(e.stateDelta),t.stateDelta=c.encode(null);return t.action=c.encodeAsTable(e.action),t}}]),e}();t.default=h},9588:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prepareCaptureMessage=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={exceptionType:"MESSAGE",message:e};return(0,n.scrubException)(r,t),r},t.prepareCaptureException=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={exceptionType:"WINDOW",errorType:e.name,message:e.message};(0,n.scrubException)(r,t);var o={_stackTrace:c(e.stack)};return{data:r,addEventOptions:o}};var n=r(6731);function o(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},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 a,s=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){u=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(u)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var a=/^(.*?)(?:@)(.*?)(?::(\d+))?(?::(\d+))?$/i,s=/^(.*?)(?:^)(.*?)(?::(\d+))(?::(\d+))$/i,u=/^.*at (.*?)\s*\(.*?(\S*?)(?::(\d+))?(?::(\d+))?\)$/i;function c(e){var t,r=[],n=o(e.split("\n"));try{for(n.s();!(t=n.n()).done;){var i=t.value;i=i.trim();var c,f=void 0;if(f=i.startsWith("at")?u.exec(i):i.includes("@")?a.exec(i):s.exec(i))r.push({fileName:null===(c=f[2])||void 0===c?void 0:c.trim(),functionName:f[1],lineNumber:f[3]?+f[3]:void 0,columnNumber:f[4]?+f[4]:void 0})}}catch(e){n.e(e)}finally{n.f()}return r}},8240:function(e,t,r){"use strict";var n=r(5643);Object.defineProperty(t,"__esModule",{value:!0});var o={};t.default=void 0;var i=n(r(5838)),a=n(r(2695)),s=n(r(5571)),u=n(r(4262)),c=n(r(7472)),f=r(7305),l=n(r(887)),d=r(8094),h=r(3871);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){(0,c.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}Object.keys(h).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===h[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}}))}));var g,y=f.NativeModules.LogRocketNativeModule,b=f.NativeModules.NativeUnimoduleProxy,_=y||{},m=_.initWithConfig,w=_.installShutdownHandler,x=_.postMessage,O=_.donePostingMessage,E=_.identifyWithTraits,j=_.track,P=_.shutdown,R=_.pauseViewCapture,S=_.unpauseViewCapture,A=_.tagPage,M=_.registerWebView,k=function(){var e,t;return["storeClient","standalone"].includes(null==b||null===(e=b.moduleConstants)||void 0===e||null===(t=e.ExponentConstants)||void 0===t?void 0:t.executionEnvironment)},I=y?(0,l.default)():{_run:function(){},shutdown:function(){}},T=/^[a-z0-9_-]+\/[a-z0-9_-]+$/,D="@logrocket/react-native cannot be used in Expo Go. See https://docs.logrocket.com/docs/react-native-expo-go for more information.",L=null,N="",C=function(e){for(var t=v({},e),r=0,n=Object.entries(t);r<n.length;r++){var o=(0,u.default)(n[r],2),i=o[0];o[1]||(t[i]=function(){})}return t},U={init:function(e){var t=arguments;return(0,s.default)(i.default.mark((function r(){var n,o,s;return i.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n=t.length>1&&void 0!==t[1]?t[1]:{},o=(0,a.default)({},n),!k()){r.next=4;break}return console.warn(D),r.abrupt("return");case 4:if(m){r.next=8;break}return console.warn("@logrocket/react-native native module is missing. Please review installation instructions."),I.shutdown(),r.abrupt("return");case 8:if("string"==typeof e&&T.test(e)){r.next=11;break}return console.warn("LogRocket: must pass a valid application id to the LogRocket instance."),r.abrupt("return");case 11:if(s=I._didInit,r.prev=12,null===o.updateId&&(o.updateId=void 0),null===o.expoChannel&&(o.expoChannel=void 0),s){r.next=19;break}return r.next=18,m(e,v({serverURL:"https://r.lr-intake.com/i",enableIPCapture:!0,enableJetpackCompose:!1},o));case 18:s=r.sent;case 19:return s?(L=o,N=e,I.init(o,C({postMessage:x,donePostingMessage:O,identifyWithTraits:E,shutdown:P,track:j,tagPage:A})),w&&w((function(){return I.uninstall()}))):(I.disableAndClearBuffer(),__DEV__&&console.warn("LogRocket initialization failed! Check device logs for further details.")),r.abrupt("return",s);case 23:return r.prev=23,r.t0=r.catch(12),console.warn("LogRocket failed to initialize!",r.t0.stack),r.abrupt("return",!1);case 27:case"end":return r.stop()}}),r,null,[[12,23]])})))()},pauseViewCapture:function(){R&&R()},unpauseViewCapture:function(){S&&S()},captureException:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};I._run((function(r){r.captureException(e,t)}))},captureMessage:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};I._run((function(r){r.captureMessage(e,t)}))},getSessionURL:function(e){I.addAcceptanceTask(e)},identify:function(e,t){I._run((function(r){r.identify(e,t)}))},reduxMiddleware:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=function(){return function(e){return function(t){return e(t)}}};return k()?(console.warn(D),t):"function"==typeof x&&"function"==typeof O?(0,d.createMiddleware)(I,e):t},track:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};I._run((function(r){r.track(e,t)}))},tagPage:function(e){I._run((function(t){t.tagPage(e)}))},log:function(e){I._run((function(t){t.addEvent("lr.core.LogEvent",(function(){return{logLevel:"LOG",args:e}}))}))},startNewSession:function(e){var t=arguments,r=this;return(0,s.default)(i.default.mark((function n(){var o,u;return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(o=t.length>1&&void 0!==t[1]?t[1]:{},u=(0,a.default)({},o),e){n.next=3;break}return n.abrupt("return",r.startNewSessionSameConfig());case 3:return g||(g=new Promise(function(){var t=(0,s.default)(i.default.mark((function t(n){var o,a;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=u.forceCleanStart,a=!1,t.prev=2,t.next=5,r.shutdown();case 5:return t.next=7,r.init(e,v(v({},u),{},{forceCleanStart:!0}));case 7:a=t.sent,t.next=13;break;case 10:t.prev=10,t.t0=t.catch(2),console.error("Failed to start a fresh LogRocket session",t.t0.stack);case 13:return t.prev=13,g=null,L.forceCleanStart=o,t.finish(13);case 17:n(a);case 18:case"end":return t.stop()}}),t,null,[[2,10,13,17]])})));return function(e){return t.apply(this,arguments)}}())),n.abrupt("return",g);case 5:case"end":return n.stop()}}),n)})))()},startNewSessionSameConfig:function(){var e=this;return(0,s.default)(i.default.mark((function t(){return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null==L||""===N){t.next=4;break}return t.abrupt("return",e.startNewSession(N,v({},L)));case 4:return I.info("The SDK is currently not active and has not previously been initialized. SDK.init must be called first if no args are specified. No new session will be started."),t.next=7,e.shutdown();case 7:return t.abrupt("return",new Promise(function(){var e=(0,s.default)(i.default.mark((function e(t){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t(!1);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 8:case"end":return t.stop()}}),t)})))()},registerWebView:function(e){"android"===f.Platform.OS&&(null==M||M(e))},shutdown:function(){return I.shutdown()}};t.default=U},887:function(e,t,r){"use strict";var n=r(5643),o=r(4576);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return new N},t.MAX_QUEUE_SIZE=void 0;var i=n(r(5838)),a=n(r(4576)),s=n(r(5571)),u=n(r(4262)),c=n(r(7363)),f=n(r(3051)),l=n(r(7472)),d=r(7305),h=n(r(7986)),p=n(r(5749)),v=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var r=P(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(2706)),g=r(6163),y=r(1365),b=r(2440),_=r(1550),m=n(r(2530)),w=n(r(6410)),x=n(r(6339)),O=r(9588),E=r(4523),j=n(r(3582));function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(P=function(e){return e?r:t})(e)}function R(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return S(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return S(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},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=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function M(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach((function(t){(0,l.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var k=new Set(["[object Error]","[object DOMError]","[object DOMException]"]),I=1e3;t.MAX_QUEUE_SIZE=I;var T=["%c prev state","%c next state","%c action ","%c error ","%c action","%c error"],D=function(e){return function(){try{return e.apply(void 0,arguments)}catch(e){if(r.g&&r.g._lrdebug)throw e}}};function L(e){var t={}.toString.call(e),r=e;return k.has(t)&&(r="".concat(e.constructor.name,": ").concat(e.message||e.name)),v.encodeAsTable(r)}var N=function(){function e(){var t=this;(0,c.default)(this,e),this._getConfig=function(e){if(null==t._config)return{};var r=e.split(".");switch(r[1]){case"network":return t._config.network;case"core":if("LogEvent"===r[2])return t._config.console;default:return{}}},this._isReduxLogger=function(e){if(!e||!e.args)return!1;var t=e.args;return!!(Array.isArray(t)&&3===t.length&&T.indexOf(t[0])>-1)},this.addEvent=D((function(e,r,n){if(!t._isDisabled){var o=r(t._getConfig(e)),i=Date.now();if(null!=o&&!t._isDisabled){var a=D((function(){if("lr.redux.ReduxAction"===e&&o.action&&o.action.type){var r=o.action.type;t._reduxActions[r]?t._reduxActions[r]++:t._reduxActions[r]=1,o.count=t._reduxActions[r]}if("lr.core.LogEvent"===e&&t._isReduxLogger(o))t._didWarnAboutReduxLogger||(t._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{var a={type:"ADD_EVENT",event:{type:e,data:{}}};switch(e){case"lr.redux.InitialState":var s=t.reduxEncoder.encodeInitialState(o);a.event.data={reduxData:s};break;case"lr.redux.ReduxAction":var c=t.reduxEncoder.encodeReduxAction(o);a.event.data={reduxData:c};break;case"lr.core.Exception":var f=o.exceptionType,l=o.message,d=o.errorType,h=void 0===d?"":d,p=o.tags,v=o.extra;a.event.data="MESSAGE"===f?{message:l,options:{tags:p,extra:v}}:{errorMessage:L(l),errorType:h,exceptionType:f,stackTrace:n&&n._stackTrace||"[]"};break;case"lr.core.LogEvent":var y=o.logLevel,b=o.args,_=b&&b.map((function(e){return L(e)}));a.event.data={level:y,args:_||[]};break;case"lr.network.RequestEvent":t._inflightNetwork[o.reqId]={time:i};var m=(0,g.getRequestData)(o);a.event.data={reqId:o.reqId,request:m};break;case"lr.network.ResponseEvent":var w=t._inflightNetwork[o.reqId],x=(0,g.getResponseData)(o);w&&w.time&&(x.duration=i-w.time),a.event.data={reqId:o.reqId,response:x},delete t._inflightNetwork[o.reqId]}if(!(0,j.default)(a.event.data)){var O=t._wall.postMessage(a),E=(0,u.default)(O,2);t._wallBytes=E[0],t.wallByteStreams=E[1]}}}));if(t._didInit)a();else if(e.startsWith("lr.redux"))t.reduxEncoder.trackState(o);else{if(t._buffer.length>=I)return x.default.warn("LogRocket has not been initialized. Event buffering is now disabled."),t.disableAndClearBuffer(),void t.uninstall();t._buffer.push(a)}}}})),this.shutdown=D((0,s.default)(i.default.mark((function e(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t._didInit){e.next=6;break}return t.uninstall(),e.next=4,t._shutdown();case 4:e.next=7;break;case 6:t.disableAndClearBuffer();case 7:t.eventListener&&t.eventListener.remove();case 8:case"end":return e.stop()}}),e)})))),this.captureException=D((function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,O.prepareCaptureException)(e,r),o=n.data,i=n.addEventOptions;t.addEvent("lr.core.Exception",(function(){return o}),i)})),this.captureMessage=D((function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,O.prepareCaptureMessage)(e,r);t.addEvent("lr.core.Exception",(function(){return n}))})),this.uninstall=D((function(){t._installed&&t._installed.forEach((function(e){return e()})),t.reset()})),this.textEncoder=r.g.TextEncoder&&new r.g.TextEncoder,this._customPropCount=0,this._reduxActions={},this._buffer=[],this._didWarnAboutReduxLogger=!1,this._didWarnAboutReduxSize=!1,this._didWarnAboutAcceptanceTasks=!1,this.wallByteStreams={},this.reduxEncoder=new w.default,this._onAcceptanceTasks=[],this._sessionURL="";var n=function(e){e.errorMessage&&(e.shouldWarnAboutReduxSize||console.warn(e.errorMessage),e.shouldWarnAboutReduxSize&&!t._didWarnAboutReduxSize&&(t._didWarnAboutReduxSize=!0,console.warn(e.errorMessage))),e.shouldDisableAndFreeMemory&&t.disableAndClearBuffer()},o=new d.NativeEventEmitter(d.NativeModules.LogRocketNativeModule);this.eventListener=o.addListener("LogRocketSDKOnError",D((function(e){"ios"===d.Platform.OS?setTimeout((function(){n(e)}),1):n(e)}))),o.addListener("LogRocketSDKOnSessionAccepted",D((function(e){if(e.sessionURL){t._sessionURL=e.sessionURL;var r,n=R(t._onAcceptanceTasks);try{for(n.s();!(r=n.n()).done;){(0,r.value)(t._sessionURL)}}catch(e){n.e(e)}finally{n.f()}}}))),o.addListener("LogRocketSDKOnStartSessionFromInactive",D((function(){t.addInitialReduxStates()}))),this.reset()}return(0,f.default)(e,[{key:"_run",value:function(e){if(!this._isDisabled)if(this._didInit)e(this);else{if(this._buffer.length>=I)return x.default.warn("LogRocket has not been initialized. Event buffering is now disabled."),this.disableAndClearBuffer(),void this.uninstall();this._buffer.push(e)}}},{key:"_registerExceptions",value:function(){var e=this,t=ErrorUtils.getGlobalHandler&&ErrorUtils.getGlobalHandler();ErrorUtils.setGlobalHandler((function(r,n){try{e.captureException(r)}catch(e){}t&&t(r,n)}));var n=r(6905);n.disable(),n.enable({allRejections:!0,onUnhandled:D((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 o=r(9594),i=o._onHandle||o._Y,a=o._onReject||o._Z,s=r.g.Promise._onHandle,u=r.g.Promise._onReject,c=r.g.Promise._Y,f=r.g.Promise._X;o!==r.g.Promise&&void 0!==i&&void 0!==a&&("_onHandle"in r.g.Promise&&"_onReject"in r.g.Promise?(r.g.Promise._onHandle=i,r.g.Promise._onReject=a):"_Y"in r.g.Promise&&"_Z"in r.g.Promise&&(r.g.Promise._Y=i,r.g.Promise._Z=a)),this._installed.push((function(){t&&ErrorUtils.setGlobalHandler(t),n.disable(),r.g.Promise._onHandle=s,r.g.Promise._onReject=u,r.g.Promise._Y=c,r.g.Promise._X=f}))}},{key:"addAcceptanceTask",value:function(e){!this._isDisabled&&this._sessionURL&&e(this._sessionURL),this._onAcceptanceTasks.length<128?this._onAcceptanceTasks.push(e):this._didWarnAboutAcceptanceTasks||(this._didWarnAboutAcceptanceTasks=!0,console.warn("LogRocket: acceptance task queue has reached maximum size."))}},{key:"track",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"==typeof e)if(0!==e.length){var r=(0,b.sanitizeEventProps)(t,y.MAX_CUSTOM_PROPS_PER_SESSION-this._customPropCount),n=r.eventProps,o=r.errors;this._customPropCount+=Object.keys(n).length,o.forEach((function(e){return console.warn("LogRocket Track API: ".concat((0,_.printEventPropError)(e)))})),this._track(e,n)}else console.warn("LogRocket: custom event name must not be an empty string");else console.warn("LogRocket: must pass string to track()")}},{key:"tagPage",value:function(e){"string"==typeof e?this._tagPage(e):console.warn("LogRocket: must pass string to tagPage()")}},{key:"_makeUuid",value:function(){return(0,m.default)()}},{key:"_divineAnonymousId",value:function(){return this._lastIdentifyCall&&this._lastIdentifyCall.isAnonymous?this._lastIdentifyCall.userID:this._makeUuid()}},{key:"identify",value:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0],o=t[1],i=!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==o&&"object"===(0,a.default)(n)&&null!==n&&null==(n=(o=n||{}).userID)&&this._lastIdentifyCall&&this._lastIdentifyCall.userID){var s=this._lastIdentifyCall;n=s.userID,i=s.isAnonymous}if(!n){if(o&&(o.name||o.email)){var u=o.name?"name":"email";return void console.warn("LogRocket: user ".concat(u," passed to identify, but no userID given: identify(userId, { ").concat(u,": '...' })."))}i=!0,n=this._divineAnonymousId()}if(/string|number/.test((0,a.default)(n))){if(!(n.toString().length>this._maxIdentityArgLength)){var c=o;if(o){for(var f={},l=["userID","name","email"],d=0,h=Object.keys(o||{});d<h.length;d++){var p=h[d],v=o[p];if(-1===l.indexOf(p)){if(/boolean|number|string/.test((0,a.default)(v))){var g=p.toString();if(this.textEncoder&&this.textEncoder.encode(g).length>this._maxUserTraitBytes){console.warn("LogRocket: Ignoring large user trait key ".concat(g));continue}if(v.toString().length>this._maxIdentityArgLength){console.warn('LogRocket: ignoring large user trait value for key "'.concat(g,'" (max ').concat(this._maxIdentityArgLength," characters)"));continue}f[g]=v.toString()}}else if(v&&"string"==typeof v){if(v.length>this._maxIdentityArgLength){console.warn('LogRocket: too large generic trait "'.concat(p,'" passed to identify() (max ').concat(this._maxIdentityArgLength," characters)"));continue}f[p]=v}}c=f}return this._lastIdentifyCall={userID:n.toString(),email:c?c.email:void 0,name:c?c.name:void 0,isAnonymous:i},this._identifyWithTraits(this._lastIdentifyCall.userID,c,i)}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(e,t){var r,n=t.postMessage,o=void 0===n?function(){}:n,i=t.donePostingMessage,a=void 0===i?function(){}:i,s=t.identifyWithTraits,u=void 0===s?function(){}:s,c=t.track,f=void 0===c?function(){}:c,l=t.tagPage,d=void 0===l?function(){}:l,v=t.shutdown,g=void 0===v?function(){}:v,y=e.maxUserTraitBytes,b=void 0===y?128:y,_=e.shouldDetectExceptions,m=void 0===_||_,w=e.shouldParseXHRBlob,x=void 0!==w&&w;if(!this._didInit)for(this._installed.push((0,p.default)(this)),this._installed.push((0,h.default)(this,{isReactNative:!0,shouldAugmentNPS:!1,shouldParseXHRBlob:x,isDisabled:!1===(null==e||null===(r=e.network)||void 0===r?void 0:r.isEnabled)})),m&&this._registerExceptions(),this._didInit=!0,this._isDisabled=!1,this._postMessage=o,this._donePostingMessage=a,this._config=function(e){return M(M({},e),{},{console:M(M({},e.console||{}),{},{shouldAggregateConsoleErrors:!1})})}(e),this._identifyWithTraits=u,this._maxUserTraitBytes=b,this._track=f,this._tagPage=d,this._shutdown=g,this._wall=new E.MessageSender({worker:{postMessage:this._postMessage,donePostingMessage:this._donePostingMessage},isReactNative:!0}),this.addInitialReduxStates();this._buffer.length>0;){this._buffer.shift()(this)}}},{key:"addInitialReduxStates",value:function(){var e,t=this,r=R(this.reduxEncoder.getInitialStates());try{var n=function(){var r=e.value;t.addEvent("lr.redux.InitialState",(function(){return M({},r)}))};for(r.s();!(e=r.n()).done;)n()}catch(e){r.e(e)}finally{r.f()}}},{key:"disableAndClearBuffer",value:function(){this._isDisabled=!0,this._buffer=[],this._onAcceptanceTasks=[]}},{key:"reset",value:function(){this._didInit=!1,this._config=null,this._installed=[],this._isDisabled=!1,this._didWarnAboutReduxSize=!1,this._sessionURL="",this._postMessage=function(){},this._donePostingMessage=function(){},this._track=function(){},this._tagPage=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}()},6163:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getResponseData=t.getRequestData=void 0;var n=r(7681);t.getRequestData=function(e){var t={};return e.url&&(t.url=e.url),e.body&&(t.body=(0,n.deepArsonifyEncodeAsTable)(e.body)),e.method&&(t.method=e.method),e.headers&&(t.headers=e.headers),t};t.getResponseData=function(e){var t={};return e.status&&(t.statusCode=e.status),e.body&&(t.body=(0,n.deepArsonifyEncodeAsTable)(e.body)),e.headers&&(t.headers=e.headers),t}},3871:function(e,t,r){"use strict";var n=r(5643);Object.defineProperty(t,"__esModule",{value:!0}),t.LRNativeIDRedact=t.LRNativeIDAllow=t.LRRedact=t.LRAllow=t.LRRedactProps=t.LRAllowProps=void 0;var o=n(r(3217)),i=n(r(9497)),a=r(7305),s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"lr-show",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"ios"===a.Platform.OS?t?{nativeID:e,collapsable:!1}:{testID:e,accessible:!0,collapsable:!1}:{testID:e,collapsable:!1}};t.LRAllowProps=s;var u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"lr-hide",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"ios"===a.Platform.OS?t?{nativeID:e,collapsable:!1}:{testID:e,accessible:!1,collapsable:!1}:{testID:e,collapsable:!1}};t.LRRedactProps=u;var c=function(e){return Array.isArray(e)?e:[e]};t.LRAllow=function(e){var t=e.children;return i.default.createElement.apply(i.default,[a.View,s()].concat((0,o.default)(c(t))))};t.LRRedact=function(e){var t=e.children;return i.default.createElement.apply(i.default,[a.View,u()].concat((0,o.default)(c(t))))};t.LRNativeIDAllow=function(e){var t=e.children;return i.default.createElement.apply(i.default,[a.View,s(void 0,!0)].concat((0,o.default)(c(t))))};t.LRNativeIDRedact=function(e){var t=e.children;return i.default.createElement.apply(i.default,[a.View,u(void 0,!0)].concat((0,o.default)(c(t))))}},6339:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={error:console.error.bind(console),warn:console.warn.bind(console),info:console.info.bind(console)};t.default=r},9222:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.stateSanitizer,n=void 0===r?function(e){return e}:r,o=t.actionSanitizer,a=void 0===o?function(e){return e}:o;return function(t){return function(r,o,c){var f=t(r,o,c),l=f.dispatch,d=u++;e.addEvent("lr.redux.InitialState",(function(){var e;try{e=n(f.getState())}catch(e){console.error(e.toString())}return{state:e,storeId:d}}));return s(s({},f),{},{dispatch:function(t){var r,o,s=(0,i.default)();try{o=l(t)}catch(e){r=e}finally{var u=(0,i.default)()-s;e.addEvent("lr.redux.ReduxAction",(function(){var e=null,r=null;try{e=n(f.getState()),r=a(t)}catch(e){console.error(e.toString())}return e&&r?{storeId:d,action:r,duration:u,stateDelta:e}:null}))}if(r)throw r;return o}})}}};var o=n(r(8416)),i=n(r(5818));function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){(0,o.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u=0},6043:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.stateSanitizer,n=void 0===r?function(e){return e}:r,a=t.actionSanitizer,s=void 0===a?function(e){return e}:a;return function(t){var r=i++;return e.addEvent("lr.redux.InitialState",(function(){var e;try{e=n(t.getState())}catch(e){console.error(e.toString())}return{state:e,storeId:r}})),function(i){return function(a){var u,c,f=(0,o.default)();try{c=i(a)}catch(e){u=e}finally{var l=(0,o.default)()-f;e.addEvent("lr.redux.ReduxAction",(function(){var e=null,o=null;try{e=n(t.getState()),o=s(a)}catch(e){console.error(e.toString())}return e&&o?{storeId:r,action:o,duration:l,stateDelta:e}:null}))}if(u)throw u;return c}}}};var o=n(r(5818)),i=0},8094:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createEnhancer",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"createMiddleware",{enumerable:!0,get:function(){return i.default}});var o=n(r(9222)),i=n(r(6043))},8668:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={collectWindowErrors:!0,debug:!1},o="undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{},i=[].slice,a="?",s=/^(?:Uncaught (?:exception: )?)?((?:Eval|Internal|Range|Reference|Syntax|Type|URI)Error): ?(.*)$/;function u(){return"undefined"==typeof document||void 0===document.location?"":document.location.href}n.report=function(){var e,t,r=[],c=null,f=null,l=null;function d(e,t){var o=null;if(!t||n.collectWindowErrors){for(var a in r)if(r.hasOwnProperty(a))try{r[a].apply(null,[e].concat(i.call(arguments,2)))}catch(e){o=e}if(o)throw o}}function h(t,r,o,i,c){if(l)n.computeStackTrace.augmentStackTraceWithInitialElement(l,r,o,t),p();else if(c)d(n.computeStackTrace(c),!0);else{var f,h={url:r,line:o,column:i},v=void 0,g=t;if("[object String]"==={}.toString.call(t))(f=t.match(s))&&(v=f[1],g=f[2]);h.func=a,d({name:v,message:g,url:u(),stack:[h]},!0)}return!!e&&e.apply(this,arguments)}function p(){var e=l,t=c;c=null,l=null,f=null,d.apply(null,[e,!1].concat(t))}function v(e,t){var r=i.call(arguments,1);if(l){if(f===e)return;p()}var o=n.computeStackTrace(e);if(l=o,f=e,c=r,setTimeout((function(){f===e&&p()}),o.incomplete?2e3:0),!1!==t)throw e}return v.subscribe=function(n){!function(){if(t)return;e=o.onerror,o.onerror=h,t=!0}(),r.push(n)},v.unsubscribe=function(e){for(var t=r.length-1;t>=0;--t)r[t]===e&&r.splice(t,1)},v.uninstall=function(){!function(){if(!t)return;o.onerror=e,t=!1,e=void 0}(),r=[]},v}(),n.computeStackTrace=function(){function e(e){if(void 0!==e.stack&&e.stack){for(var t,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,s=e.stack.split("\n"),c=[],f=(/^(.*) is undefined$/.exec(e.message),0),l=s.length;f<l;++f){if(t=n.exec(s[f])){var d=t[2]&&-1!==t[2].indexOf("native");r={url:d?null:t[2],func:t[1]||a,args:d?[t[2]]:[],line:t[3]?+t[3]:null,column:t[4]?+t[4]:null}}else if(t=i.exec(s[f]))r={url:t[2],func:t[1]||a,args:[],line:+t[3],column:t[4]?+t[4]:null};else{if(!(t=o.exec(s[f])))continue;r={url:t[3],func:t[1]||a,args:t[2]?t[2].split(","):[],line:t[4]?+t[4]:null,column:t[5]?+t[5]:null}}!r.func&&r.line&&(r.func=a),c.push(r)}return c.length?(c[0].column||void 0===e.columnNumber||(c[0].column=e.columnNumber+1),{name:e.name,message:e.message,url:u(),stack:c}):null}}function t(e,t,r,n){var o={url:t,line:r};if(o.url&&o.line){if(e.incomplete=!1,o.func||(o.func=a),e.stack.length>0&&e.stack[0].url===o.url){if(e.stack[0].line===o.line)return!1;if(!e.stack[0].line&&e.stack[0].func===o.func)return e.stack[0].line=o.line,!1}return e.stack.unshift(o),e.partial=!0,!0}return e.incomplete=!0,!1}function r(e,i){for(var s,c,f=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,l=[],d={},h=!1,p=r.caller;p&&!h;p=p.caller)if(p!==o&&p!==n.report){if(c={url:null,func:a,line:null,column:null},p.name?c.func=p.name:(s=f.exec(p.toString()))&&(c.func=s[1]),void 0===c.func)try{c.func=s.input.substring(0,s.input.indexOf("{"))}catch(e){}d[""+p]?h=!0:d[""+p]=!0,l.push(c)}i&&l.splice(0,i);var v={name:e.name,message:e.message,url:u(),stack:l};return t(v,e.sourceURL||e.fileName,e.line||e.lineNumber,e.message||e.description),v}function o(t,o){var i=null;o=null==o?0:+o;try{if(i=e(t))return i}catch(e){if(n.debug)throw e}try{if(i=r(t,o+1))return i}catch(e){if(n.debug)throw e}return{name:t.name,message:t.message,url:u()}}return o.augmentStackTraceWithInitialElement=t,o.computeStackTraceFromStackProp=e,o}();var c=n;t.default=c},4005:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DELIGHTED_FEEDBACK_PREFIX=t.DELIGHTED_RESPONSES_REGEX=t.WOOTRIC_RESPONSES_REGEX=void 0;t.WOOTRIC_RESPONSES_REGEX=/^https:\/\/production.wootric.com\/responses/;t.DELIGHTED_RESPONSES_REGEX=/^https:\/\/web.delighted.com\/e\/[a-zA-Z-]*\/c/;t.DELIGHTED_FEEDBACK_PREFIX="comment="},6836:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.createUnsubListener=function(e){return function(){e.clear()}},t.Handler=void 0;var o=n(r(6690)),i=n(r(9728)),a=function(){function e(t){(0,o.default)(this,e),this._value=void 0,this._value=t}return(0,i.default)(e,[{key:"get",value:function(){return this._value}},{key:"clear",value:function(){this._value=void 0}}]),e}();t.Handler=a},7681:function(e,t,r){"use strict";var n=r(8698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{arson:o.encode(e)}},t.deepArsonifyEncodeAsTable=function(e){return{arson:o.encodeAsTable(e)}};var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=a?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(o,s,u):o[s]=e[s]}o.default=e,r&&r.set(e,o);return o}(r(2706));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}},7800:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if("function"!=typeof e[t])return o;try{var i=function(){for(var e,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var o=a.apply(this,r);return null===(e=s.get())||void 0===e||e.apply(this,r),o},a=e[t],s=new n.Handler(r);return e[t]=i,function(){s.clear(),e[t]===i&&(e[t]=a)}}catch(e){return o}};var n=r(6836),o=function(){}},536:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r="undefined"!=typeof console&&console.error&&console.error.bind?console.error.bind(console):function(){};t.default=r},9645:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(null==e)return{};var r={};return Object.keys(e).forEach((function(n){r[n]=t(e[n])})),r}},7167:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};return function(){var r;try{r=e.apply(void 0,arguments)}catch(e){if("undefined"!=typeof window&&window._lrdebug)throw e;var n=t(e);(0,i.default)("LogRocket",e),(0,o.default)(e,n)}return r}};var o=n(r(2769)),i=n(r(536))},6731:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.scrubException=function(e,t){if(t){var r,n=i(u);try{for(n.s();!(r=n.n()).done;){var o=r.value,a=t[o];s(a)&&(e[o]=a.toString())}}catch(e){n.e(e)}finally{n.f()}var f,l=i(c);try{for(l.s();!(f=l.n()).done;){for(var d=f.value,h=t[d]||{},p={},v=0,g=Object.keys(h);v<g.length;v++){var y=g[v],b=h[y];s(b)&&(p[y.toString()]=b.toString())}e[d]=p}}catch(e){l.e(e)}finally{l.f()}}};var o=n(r(8698));function i(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},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,s=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){u=!0,i=e},f:function(){try{s||null==r.return||r.return()}finally{if(u)throw i}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function s(e){return/boolean|number|string/.test((0,o.default)(e))}var u=["level","logger"],c=["tags","extra"]},2769:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.sendTelemetry=function(e,t){if("undefined"!=typeof window&&window._lrdebug)return void(0,i.default)(e);if(t&&t.extra&&t.extra.appID&&"function"==typeof t.extra.appID.indexOf&&0===t.extra.appID.indexOf("au2drp/")&&Math.random()>=.25)return;f(u({message:e},t))},t.default=function(e,t){try{var r,n,o=e.message;try{r=JSON.stringify(t).slice(0,1e3)}catch(e){try{r="Could not stringify payload: ".concat(Object.prototype.toString.call(t))}catch(e){}}try{n=a.default.computeStackTrace(e).stack.map((function(e){return{filename:e.url,lineno:e.line,colno:e.column,function:e.func||"?"}}))}catch(e){}f({message:o,extra:{stringPayload:r},exception:{values:[{type:e.type,value:o,stacktrace:{frames:n}}]}})}catch(e){(0,i.default)("Failed to send",e)}};var o=n(r(8416)),i=n(r(536)),a=n(r(8668));function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){(0,o.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var c="db3c4ce61a74a57c77d65d0d6ac1f1f77590246e";function f(e){try{var t,r,n=e.message,o="https://e.logrocket.com/api/3/store/?sentry_version=7&sentry_client=http%2F3.8.0&sentry_key=b64162b4187a4c5caae8a68a7e291793",a=JSON.stringify(u({message:n,logger:"javascript",platform:"javascript",request:{headers:{"User-Agent":"undefined"!=typeof navigator&&navigator.userAgent},url:"undefined"!=typeof location&&location.href},release:c,environment:(null===(t=window)||void 0===t||null===(r=t.__SDKCONFIG__)||void 0===r?void 0:r.scriptEnv)||"prod"},e));if("undefined"!=typeof window){var s=new(window._lrXMLHttpRequest||XMLHttpRequest);s.open("POST",o),s.send(a)}else"undefined"!=typeof fetch&&fetch(o,{method:"POST",body:a}).catch((function(e){(0,i.default)("Failed to send via fetch",e)}))}catch(e){(0,i.default)("Failed to send",e)}}},9242:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return e&&t&&e.substring(r,r+t.length)===t}},2530:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uuid=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(t){var n=Number(t);return(n^16*Math.random()>>n/4).toString(16)}return r.replace(/[018]/g,e)},t.uuidv7=function(){var e=function(){var e=new Uint8Array(16);if("undefined"!=typeof crypto&&"function"==typeof crypto.getRandomValues)crypto.getRandomValues(e);else for(var t=0;t<e.byteLength;t++)e[t]=n();return e}(),t=Date.now();return e[0]=t/1099511627776&255,e[1]=t/4294967296&255,e[2]=t/16777216&255,e[3]=t/65536&255,e[4]=t/256&255,e[5]=t/1&255,e[6]=15&e[6]|112,e[8]=63&e[8]|128,o(e[0])+o(e[1])+o(e[2])+o(e[3])+"-"+o(e[4])+o(e[5])+"-"+o(e[6])+o(e[7])+"-"+o(e[8])+o(e[9])+"-"+o(e[10])+o(e[11])+o(e[12])+o(e[13])+o(e[14])+o(e[15])},t.extractTimestampFromUuidV7=function(e){var t=e.length-36;return parseInt(e.substring(t,13+t).replace("-",""),16)};var r="10000000-1000-4000-8000-100000000000";var n=function(){return Math.min(255,255*Math.random())};var o=function(e){var t=e.toString(16);return 1===t.length?"0".concat(t):t}},6841:function(){function e(){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 t=-1;e.Diff,e.prototype.diff_main=function(e,t,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==e||null==t)throw new Error("Null input. (diff_main)");if(e==t)return e?[[0,e]]:[];void 0===r&&(r=!0);var i=r,a=this.diff_commonPrefix(e,t),s=e.substring(0,a);e=e.substring(a),t=t.substring(a),a=this.diff_commonSuffix(e,t);var u=e.substring(e.length-a);e=e.substring(0,e.length-a),t=t.substring(0,t.length-a);var c=this.diff_compute_(e,t,i,o);return s&&c.unshift([0,s]),u&&c.push([0,u]),this.diff_cleanupMerge(c),c},e.prototype.diff_compute_=function(e,r,n,o){var i;if(!e)return[[1,r]];if(!r)return[[t,e]];var a=e.length>r.length?e:r,s=e.length>r.length?r:e,u=a.indexOf(s);if(-1!=u)return i=[[1,a.substring(0,u)],[0,s],[1,a.substring(u+s.length)]],e.length>r.length&&(i[0][0]=i[2][0]=t),i;if(1==s.length)return[[t,e],[1,r]];a=s=null;var c=this.diff_halfMatch_(e,r);if(c){var f=c[0],l=c[1],d=c[2],h=c[3],p=c[4],v=this.diff_main(f,d,n,o),g=this.diff_main(l,h,n,o);return v.concat([[0,p]],g)}return n&&e.length>100&&r.length>100?this.diff_lineMode_(e,r,o):this.diff_bisect_(e,r,o)},e.prototype.diff_lineMode_=function(e,r,n){e=(l=this.diff_linesToChars_(e,r))[0],r=l[1];var o=l[2],i=this.diff_bisect_(e,r,n);this.diff_charsToLines_(i,o),this.diff_cleanupSemantic(i),i.push([0,""]);for(var a=0,s=0,u=0,c="",f="";a<i.length;){switch(i[a][0]){case 1:u++,f+=i[a][1];break;case t:s++,c+=i[a][1];break;case 0:if(s>=1&&u>=1){var l=this.diff_main(c,f,!1,n);i.splice(a-s-u,s+u),a=a-s-u;for(var d=l.length-1;d>=0;d--)i.splice(a,0,l[d]);a+=l.length}u=0,s=0,c="",f=""}a++}return i.pop(),i},e.prototype.diff_bisect_=function(e,r,n){for(var o=e.length,i=r.length,a=Math.ceil((o+i)/2),s=a,u=2*a,c=new Array(u),f=new Array(u),l=0;l<u;l++)c[l]=-1,f[l]=-1;c[s+1]=0,f[s+1]=0;for(var d=o-i,h=d%2!=0,p=0,v=0,g=0,y=0,b=0;b<a&&!((new Date).getTime()>n);b++){for(var _=-b+p;_<=b-v;_+=2){for(var m=s+_,w=(P=_==-b||_!=b&&c[m-1]<c[m+1]?c[m+1]:c[m-1]+1)-_;P<o&&w<i&&e.charAt(P)==r.charAt(w);)P++,w++;if(c[m]=P,P>o)v+=2;else if(w>i)p+=2;else if(h){if((E=s+d-_)>=0&&E<u&&-1!=f[E])if(P>=(O=o-f[E]))return this.diff_bisectSplit_(e,r,P,w,n)}}for(var x=-b+g;x<=b-y;x+=2){for(var O,E=s+x,j=(O=x==-b||x!=b&&f[E-1]<f[E+1]?f[E+1]:f[E-1]+1)-x;O<o&&j<i&&e.charAt(o-O-1)==r.charAt(i-j-1);)O++,j++;if(f[E]=O,O>o)y+=2;else if(j>i)g+=2;else if(!h){if((m=s+d-x)>=0&&m<u&&-1!=c[m]){var P;w=s+(P=c[m])-m;if(P>=(O=o-O))return this.diff_bisectSplit_(e,r,P,w,n)}}}}return[[t,e],[1,r]]},e.prototype.diff_bisectSplit_=function(e,t,r,n,o){var i=e.substring(0,r),a=t.substring(0,n),s=e.substring(r),u=t.substring(n),c=this.diff_main(i,a,!1,o),f=this.diff_main(s,u,!1,o);return c.concat(f)},e.prototype.diff_linesToChars_=function(e,t){var r=[],n={};function o(e){for(var t="",o=0,i=-1,a=r.length;i<e.length-1;){-1==(i=e.indexOf("\n",o))&&(i=e.length-1);var s=e.substring(o,i+1);o=i+1,(n.hasOwnProperty?n.hasOwnProperty(s):void 0!==n[s])?t+=String.fromCharCode(n[s]):(t+=String.fromCharCode(a),n[s]=a,r[a++]=s)}return t}return r[0]="",[o(e),o(t),r]},e.prototype.diff_charsToLines_=function(e,t){for(var r=0;r<e.length;r++){for(var n=e[r][1],o=[],i=0;i<n.length;i++)o[i]=t[n.charCodeAt(i)];e[r][1]=o.join("")}},e.prototype.diff_commonPrefix=function(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;for(var r=0,n=Math.min(e.length,t.length),o=n,i=0;r<o;)e.substring(i,o)==t.substring(i,o)?i=r=o:n=o,o=Math.floor((n-r)/2+r);return o},e.prototype.diff_commonSuffix=function(e,t){if(!e||!t||e.charAt(e.length-1)!=t.charAt(t.length-1))return 0;for(var r=0,n=Math.min(e.length,t.length),o=n,i=0;r<o;)e.substring(e.length-o,e.length-i)==t.substring(t.length-o,t.length-i)?i=r=o:n=o,o=Math.floor((n-r)/2+r);return o},e.prototype.diff_commonOverlap_=function(e,t){var r=e.length,n=t.length;if(0==r||0==n)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));var o=Math.min(r,n);if(e==t)return o;for(var i=0,a=1;;){var s=e.substring(o-a),u=t.indexOf(s);if(-1==u)return i;a+=u,0!=u&&e.substring(o-a)!=t.substring(0,a)||(i=a,a++)}},e.prototype.diff_halfMatch_=function(e,t){if(this.Diff_Timeout<=0)return null;var r=e.length>t.length?e:t,n=e.length>t.length?t:e;if(r.length<4||2*n.length<r.length)return null;var o=this;function i(e,t,r){for(var n,i,a,s,u=e.substring(r,r+Math.floor(e.length/4)),c=-1,f="";-1!=(c=t.indexOf(u,c+1));){var l=o.diff_commonPrefix(e.substring(r),t.substring(c)),d=o.diff_commonSuffix(e.substring(0,r),t.substring(0,c));f.length<d+l&&(f=t.substring(c-d,c)+t.substring(c,c+l),n=e.substring(0,r-d),i=e.substring(r+l),a=t.substring(0,c-d),s=t.substring(c+l))}return 2*f.length>=e.length?[n,i,a,s,f]:null}var a,s,u,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,e.length>t.length?(s=a[0],u=a[1],c=a[2],f=a[3]):(c=a[0],f=a[1],s=a[2],u=a[3]),[s,u,c,f,a[4]]):null},e.prototype.diff_cleanupSemantic=function(e){for(var r=!1,n=[],o=0,i=null,a=0,s=0,u=0,c=0,f=0;a<e.length;)0==e[a][0]?(n[o++]=a,s=c,u=f,c=0,f=0,i=e[a][1]):(1==e[a][0]?c+=e[a][1].length:f+=e[a][1].length,null!==i&&i.length<=Math.max(s,u)&&i.length<=Math.max(c,f)&&(e.splice(n[o-1],0,[t,i]),e[n[o-1]+1][0]=1,o--,a=--o>0?n[o-1]:-1,s=0,u=0,c=0,f=0,i=null,r=!0)),a++;for(r&&this.diff_cleanupMerge(e),this.diff_cleanupSemanticLossless(e),a=1;a<e.length;){if(e[a-1][0]==t&&1==e[a][0]){var l=e[a-1][1],d=e[a][1],h=this.diff_commonOverlap_(l,d);(h>=l.length/2||h>=d.length/2)&&(e.splice(a,0,[0,d.substring(0,h)]),e[a-1][1]=l.substring(0,l.length-h),e[a+1][1]=d.substring(h),a++),a++}a++}},e.prototype.diff_cleanupSemanticLossless=function(e){var t=/[^a-zA-Z0-9]/,r=/\s/,n=/[\r\n]/,o=/\n\r?\n$/,i=/^\r?\n\r?\n/;function a(e,a){if(!e||!a)return 5;var s=0;return(e.charAt(e.length-1).match(t)||a.charAt(0).match(t))&&(s++,(e.charAt(e.length-1).match(r)||a.charAt(0).match(r))&&(s++,(e.charAt(e.length-1).match(n)||a.charAt(0).match(n))&&(s++,(e.match(o)||a.match(i))&&s++))),s}for(var s=1;s<e.length-1;){if(0==e[s-1][0]&&0==e[s+1][0]){var u=e[s-1][1],c=e[s][1],f=e[s+1][1],l=this.diff_commonSuffix(u,c);if(l){var d=c.substring(c.length-l);u=u.substring(0,u.length-l),c=d+c.substring(0,c.length-l),f=d+f}for(var h=u,p=c,v=f,g=a(u,c)+a(c,f);c.charAt(0)===f.charAt(0);){u+=c.charAt(0),c=c.substring(1)+f.charAt(0),f=f.substring(1);var y=a(u,c)+a(c,f);y>=g&&(g=y,h=u,p=c,v=f)}e[s-1][1]!=h&&(h?e[s-1][1]=h:(e.splice(s-1,1),s--),e[s][1]=p,v?e[s+1][1]=v:(e.splice(s+1,1),s--))}s++}},e.prototype.diff_cleanupEfficiency=function(e){for(var r=!1,n=[],o=0,i="",a=0,s=!1,u=!1,c=!1,f=!1;a<e.length;)0==e[a][0]?(e[a][1].length<this.Diff_EditCost&&(c||f)?(n[o++]=a,s=c,u=f,i=e[a][1]):(o=0,i=""),c=f=!1):(e[a][0]==t?f=!0:c=!0,i&&(s&&u&&c&&f||i.length<this.Diff_EditCost/2&&s+u+c+f==3)&&(e.splice(n[o-1],0,[t,i]),e[n[o-1]+1][0]=1,o--,i="",s&&u?(c=f=!0,o=0):(a=--o>0?n[o-1]:-1,c=f=!1),r=!0)),a++;r&&this.diff_cleanupMerge(e)},e.prototype.diff_cleanupMerge=function(e){e.push([0,""]);for(var r,n=0,o=0,i=0,a="",s="";n<e.length;)switch(e[n][0]){case 1:i++,s+=e[n][1],n++;break;case t:o++,a+=e[n][1],n++;break;case 0:o+i>1?(0!==o&&0!==i&&(0!==(r=this.diff_commonPrefix(s,a))&&(n-o-i>0&&0==e[n-o-i-1][0]?e[n-o-i-1][1]+=s.substring(0,r):(e.splice(0,0,[0,s.substring(0,r)]),n++),s=s.substring(r),a=a.substring(r)),0!==(r=this.diff_commonSuffix(s,a))&&(e[n][1]=s.substring(s.length-r)+e[n][1],s=s.substring(0,s.length-r),a=a.substring(0,a.length-r))),0===o?e.splice(n-o-i,o+i,[1,s]):0===i?e.splice(n-o-i,o+i,[t,a]):e.splice(n-o-i,o+i,[t,a],[1,s]),n=n-o-i+(o?1:0)+(i?1:0)+1):0!==n&&0==e[n-1][0]?(e[n-1][1]+=e[n][1],e.splice(n,1)):n++,i=0,o=0,a="",s=""}""===e[e.length-1][1]&&e.pop();var u=!1;for(n=1;n<e.length-1;)0==e[n-1][0]&&0==e[n+1][0]&&(e[n][1].substring(e[n][1].length-e[n-1][1].length)==e[n-1][1]?(e[n][1]=e[n-1][1]+e[n][1].substring(0,e[n][1].length-e[n-1][1].length),e[n+1][1]=e[n-1][1]+e[n+1][1],e.splice(n-1,1),u=!0):e[n][1].substring(0,e[n+1][1].length)==e[n+1][1]&&(e[n-1][1]+=e[n+1][1],e[n][1]=e[n][1].substring(e[n+1][1].length)+e[n+1][1],e.splice(n+1,1),u=!0)),n++;u&&this.diff_cleanupMerge(e)},e.prototype.diff_xIndex=function(e,r){var n,o=0,i=0,a=0,s=0;for(n=0;n<e.length&&(1!==e[n][0]&&(o+=e[n][1].length),e[n][0]!==t&&(i+=e[n][1].length),!(o>r));n++)a=o,s=i;return e.length!=n&&e[n][0]===t?s:s+(r-a)},e.prototype.diff_prettyHtml=function(e){for(var r=[],n=/&/g,o=/</g,i=/>/g,a=/\n/g,s=0;s<e.length;s++){var u=e[s][0],c=e[s][1],f=c.replace(n,"&amp;").replace(o,"&lt;").replace(i,"&gt;").replace(a,"&para;<br>");switch(u){case 1:r[s]='<ins style="background:#e6ffe6;">'+f+"</ins>";break;case t:r[s]='<del style="background:#ffe6e6;">'+f+"</del>";break;case 0:r[s]="<span>"+f+"</span>"}u!==t&&c.length}return r.join("")},e.prototype.diff_text1=function(e){for(var t=[],r=0;r<e.length;r++)1!==e[r][0]&&(t[r]=e[r][1]);return t.join("")},e.prototype.diff_text2=function(e){for(var r=[],n=0;n<e.length;n++)e[n][0]!==t&&(r[n]=e[n][1]);return r.join("")},e.prototype.diff_levenshtein=function(e){for(var r=0,n=0,o=0,i=0;i<e.length;i++){var a=e[i][0],s=e[i][1];switch(a){case 1:n+=s.length;break;case t:o+=s.length;break;case 0:r+=Math.max(n,o),n=0,o=0}}return r+=Math.max(n,o)},e.prototype.diff_toDelta=function(e){for(var r=[],n=0;n<e.length;n++)switch(e[n][0]){case 1:r[n]="+"+encodeURI(e[n][1]);break;case t:r[n]="-"+e[n][1].length;break;case 0:r[n]="="+e[n][1].length}return r.join("\t").replace(/%20/g," ")},e.prototype.diff_fromDelta=function(e,r){for(var n=[],o=0,i=0,a=r.split(/\t/g),s=0;s<a.length;s++){var u=a[s].substring(1);switch(a[s].charAt(0)){case"+":try{n[o++]=[1,decodeURI(u)]}catch(e){throw new Error("Illegal escape in diff_fromDelta: "+u)}break;case"-":case"=":var c=parseInt(u,10);if(isNaN(c)||c<0)throw new Error("Invalid number in diff_fromDelta: "+u);var f=e.substring(i,i+=c);"="==a[s].charAt(0)?n[o++]=[0,f]:n[o++]=[t,f];break;default:if(a[s])throw new Error("Invalid diff operation in diff_fromDelta: "+a[s])}}if(i!=e.length)throw new Error("Delta length ("+i+") does not equal source text length ("+e.length+").");return n},e.prototype.match_main=function(e,t,r){if(null==e||null==t||null==r)throw new Error("Null input. (match_main)");return r=Math.max(0,Math.min(r,e.length)),e==t?0:e.length?e.substring(r,r+t.length)==t?r:this.match_bitap_(e,t,r):-1},e.prototype.match_bitap_=function(e,t,r){if(t.length>this.Match_MaxBits)throw new Error("Pattern too long for this browser.");var n=this.match_alphabet_(t),o=this;function i(e,n){var i=e/t.length,a=Math.abs(r-n);return o.Match_Distance?i+a/o.Match_Distance:a?1:i}var a=this.Match_Threshold,s=e.indexOf(t,r);-1!=s&&(a=Math.min(i(0,s),a),-1!=(s=e.lastIndexOf(t,r+t.length))&&(a=Math.min(i(0,s),a)));var u,c,f=1<<t.length-1;s=-1;for(var l,d=t.length+e.length,h=0;h<t.length;h++){for(u=0,c=d;u<c;)i(h,r+c)<=a?u=c:d=c,c=Math.floor((d-u)/2+u);d=c;var p=Math.max(1,r-c+1),v=Math.min(r+c,e.length)+t.length,g=Array(v+2);g[v+1]=(1<<h)-1;for(var y=v;y>=p;y--){var b=n[e.charAt(y-1)];if(g[y]=0===h?(g[y+1]<<1|1)&b:(g[y+1]<<1|1)&b|(l[y+1]|l[y])<<1|1|l[y+1],g[y]&f){var _=i(h,y-1);if(_<=a){if(a=_,!((s=y-1)>r))break;p=Math.max(1,2*r-s)}}}if(i(h+1,r)>a)break;l=g}return s},e.prototype.match_alphabet_=function(e){for(var t={},r=0;r<e.length;r++)t[e.charAt(r)]=0;for(r=0;r<e.length;r++)t[e.charAt(r)]|=1<<e.length-r-1;return t},e.prototype.patch_addContext_=function(e,t){if(0!=t.length){for(var r=t.substring(e.start2,e.start2+e.length1),n=0;t.indexOf(r)!=t.lastIndexOf(r)&&r.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)n+=this.Patch_Margin,r=t.substring(e.start2-n,e.start2+e.length1+n);n+=this.Patch_Margin;var o=t.substring(e.start2-n,e.start2);o&&e.diffs.unshift([0,o]);var i=t.substring(e.start2+e.length1,e.start2+e.length1+n);i&&e.diffs.push([0,i]),e.start1-=o.length,e.start2-=o.length,e.length1+=o.length+i.length,e.length2+=o.length+i.length}},e.prototype.patch_make=function(r,n,o){var i,a;if("string"==typeof r&&"string"==typeof n&&void 0===o)i=r,(a=this.diff_main(i,n,!0)).length>2&&(this.diff_cleanupSemantic(a),this.diff_cleanupEfficiency(a));else if(r&&"object"==typeof r&&void 0===n&&void 0===o)a=r,i=this.diff_text1(a);else if("string"==typeof r&&n&&"object"==typeof n&&void 0===o)i=r,a=n;else{if("string"!=typeof r||"string"!=typeof n||!o||"object"!=typeof o)throw new Error("Unknown call format to patch_make.");i=r,a=o}if(0===a.length)return[];for(var s=[],u=new e.patch_obj,c=0,f=0,l=0,d=i,h=i,p=0;p<a.length;p++){var v=a[p][0],g=a[p][1];switch(c||0===v||(u.start1=f,u.start2=l),v){case 1:u.diffs[c++]=a[p],u.length2+=g.length,h=h.substring(0,l)+g+h.substring(l);break;case t:u.length1+=g.length,u.diffs[c++]=a[p],h=h.substring(0,l)+h.substring(l+g.length);break;case 0:g.length<=2*this.Patch_Margin&&c&&a.length!=p+1?(u.diffs[c++]=a[p],u.length1+=g.length,u.length2+=g.length):g.length>=2*this.Patch_Margin&&c&&(this.patch_addContext_(u,d),s.push(u),u=new e.patch_obj,c=0,d=h,f=l)}1!==v&&(f+=g.length),v!==t&&(l+=g.length)}return c&&(this.patch_addContext_(u,d),s.push(u)),s},e.prototype.patch_deepCopy=function(t){for(var r=[],n=0;n<t.length;n++){var o=t[n],i=new e.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,r[n]=i}return r},e.prototype.patch_apply=function(e,r){if(0==e.length)return[r,[]];e=this.patch_deepCopy(e);var n=this.patch_addPadding(e);r=n+r+n,this.patch_splitMax(e);for(var o=0,i=[],a=0;a<e.length;a++){var s,u,c=e[a].start2+o,f=this.diff_text1(e[a].diffs),l=-1;if(f.length>this.Match_MaxBits?-1!=(s=this.match_main(r,f.substring(0,this.Match_MaxBits),c))&&(-1==(l=this.match_main(r,f.substring(f.length-this.Match_MaxBits),c+f.length-this.Match_MaxBits))||s>=l)&&(s=-1):s=this.match_main(r,f,c),-1==s)i[a]=!1,o-=e[a].length2-e[a].length1;else if(i[a]=!0,o=s-c,f==(u=-1==l?r.substring(s,s+f.length):r.substring(s,l+this.Match_MaxBits)))r=r.substring(0,s)+this.diff_text2(e[a].diffs)+r.substring(s+f.length);else{var d=this.diff_main(f,u,!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 h,p=0,v=0;v<e[a].diffs.length;v++){var g=e[a].diffs[v];0!==g[0]&&(h=this.diff_xIndex(d,p)),1===g[0]?r=r.substring(0,s+h)+g[1]+r.substring(s+h):g[0]===t&&(r=r.substring(0,s+h)+r.substring(s+this.diff_xIndex(d,p+g[1].length))),g[0]!==t&&(p+=g[1].length)}}}}return[r=r.substring(n.length,r.length-n.length),i]},e.prototype.patch_addPadding=function(e){for(var t=this.Patch_Margin,r="",n=1;n<=t;n++)r+=String.fromCharCode(n);for(n=0;n<e.length;n++)e[n].start1+=t,e[n].start2+=t;var o=e[0],i=o.diffs;if(0==i.length||0!=i[0][0])i.unshift([0,r]),o.start1-=t,o.start2-=t,o.length1+=t,o.length2+=t;else if(t>i[0][1].length){var a=t-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=e[e.length-1]).diffs).length||0!=i[i.length-1][0])i.push([0,r]),o.length1+=t,o.length2+=t;else if(t>i[i.length-1][1].length){a=t-i[i.length-1][1].length;i[i.length-1][1]+=r.substring(0,a),o.length1+=a,o.length2+=a}return r},e.prototype.patch_splitMax=function(r){for(var n=this.Match_MaxBits,o=0;o<r.length;o++)if(r[o].length1>n){var i=r[o];r.splice(o--,1);for(var a=i.start1,s=i.start2,u="";0!==i.diffs.length;){var c=new e.patch_obj,f=!0;for(c.start1=a-u.length,c.start2=s-u.length,""!==u&&(c.length1=c.length2=u.length,c.diffs.push([0,u]));0!==i.diffs.length&&c.length1<n-this.Patch_Margin;){var l=i.diffs[0][0],d=i.diffs[0][1];1===l?(c.length2+=d.length,s+=d.length,c.diffs.push(i.diffs.shift()),f=!1):l===t&&1==c.diffs.length&&0==c.diffs[0][0]&&d.length>2*n?(c.length1+=d.length,a+=d.length,f=!1,c.diffs.push([l,d]),i.diffs.shift()):(d=d.substring(0,n-c.length1-this.Patch_Margin),c.length1+=d.length,a+=d.length,0===l?(c.length2+=d.length,s+=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))}u=(u=this.diff_text2(c.diffs)).substring(u.length-this.Patch_Margin);var h=this.diff_text1(i.diffs).substring(0,this.Patch_Margin);""!==h&&(c.length1+=h.length,c.length2+=h.length,0!==c.diffs.length&&0===c.diffs[c.diffs.length-1][0]?c.diffs[c.diffs.length-1][1]+=h:c.diffs.push([0,h])),f||r.splice(++o,0,c)}}},e.prototype.patch_toText=function(e){for(var t=[],r=0;r<e.length;r++)t[r]=e[r];return t.join("")},e.prototype.patch_fromText=function(r){var n=[];if(!r)return n;for(var o=r.split("\n"),i=0,a=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;i<o.length;){var s=o[i].match(a);if(!s)throw new Error("Invalid patch string: "+o[i]);var u=new e.patch_obj;for(n.push(u),u.start1=parseInt(s[1],10),""===s[2]?(u.start1--,u.length1=1):"0"==s[2]?u.length1=0:(u.start1--,u.length1=parseInt(s[2],10)),u.start2=parseInt(s[3],10),""===s[4]?(u.start2--,u.length2=1):"0"==s[4]?u.length2=0:(u.start2--,u.length2=parseInt(s[4],10)),i++;i<o.length;){var c=o[i].charAt(0);try{var f=decodeURI(o[i].substring(1))}catch(e){throw new Error("Illegal escape in patch_fromText: "+f)}if("-"==c)u.diffs.push([t,f]);else if("+"==c)u.diffs.push([1,f]);else if(" "==c)u.diffs.push([0,f]);else{if("@"==c)break;if(""!==c)throw new Error('Invalid patch mode "'+c+'" in: '+f)}i++}}return n},e.patch_obj=function(){this.diffs=[],this.start1=null,this.start2=null,this.length1=0,this.length2=0},e.patch_obj.prototype.toString=function(){for(var e,r=["@@ -"+(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"],n=0;n<this.diffs.length;n++){switch(this.diffs[n][0]){case 1:e="+";break;case t:e="-";break;case 0:e=" "}r[n+1]=e+encodeURI(this.diffs[n][1])+"\n"}return r.join("").replace(/%20/g," ")},this.diff_match_patch=e,this.DIFF_DELETE=t,this.DIFF_INSERT=1,this.DIFF_EQUAL=0},3538:function(e,t,r){var n={"./diff_match_patch_uncompressed":6841,"./diff_match_patch_uncompressed.js":6841};function o(e){var t=i(e);return r(t)}function i(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}o.keys=function(){return Object.keys(n)},o.resolve=i,e.exports=o,o.id=3538},9559:function(e){var t="function"==typeof Array.isArray?Array.isArray:function(e){return e instanceof Array};e.exports=function e(r){if("object"!=typeof r)return r;if(null===r)return null;if(t(r))return r.map(e);if(r instanceof Date)return new Date(r.getTime());if(r instanceof RegExp)return n=/^\/(.*)\/([gimyu]*)$/.exec(r.toString()),new RegExp(n[1],n[2]);var n,o={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(o[i]=e(r[i]));return o}},4251:function(e,t,r){var n=r(5820).E,o=function(){};o.prototype.setResult=function(e){return this.result=e,this.hasResult=!0,this},o.prototype.exit=function(){return this.exiting=!0,this},o.prototype.switchTo=function(e,t){return"string"==typeof e||e instanceof n?this.nextPipe=e:(this.next=e,t&&(this.nextPipe=t)),this},o.prototype.push=function(e,t){return e.parent=this,void 0!==t&&(e.childName=t),e.root=this.root||this,e.options=e.options||this.options,this.children?(this.children[this.children.length-1].next=e,this.children.push(e)):(this.children=[e],this.nextAfterChildren=this.next||null,this.next=e),e.next=this,this},t._=o},9637:function(e,t,r){var n=r(4251)._,o=r(9559),i=function(e,t){this.left=e,this.right=t,this.pipe="diff"};(i.prototype=new n).setResult=function(e){if(this.options.cloneDiffValues&&"object"==typeof e){var t="function"==typeof this.options.cloneDiffValues?this.options.cloneDiffValues:o;"object"==typeof e[0]&&(e[0]=t(e[0])),"object"==typeof e[1]&&(e[1]=t(e[1]))}return n.prototype.setResult.apply(this,arguments)},t.A=i},7443:function(e,t,r){var n=r(4251)._,o=function(e,t){this.left=e,this.delta=t,this.pipe="patch"};o.prototype=new n,t.f=o},4153:function(e,t,r){var n=r(4251)._,o=function(e){this.delta=e,this.pipe="reverse"};o.prototype=new n,t.V=o},1390:function(e,t,r){var n=r(7854).w,o=r(5820).E,i=r(9637).A,a=r(7443).f,s=r(4153).V,u=r(9559),c=r(6294),f=r(1104),l=r(107),d=r(1634),h=r(328),p=function(e){this.processor=new n(e),this.processor.pipe(new o("diff").append(f.collectChildrenDiffFilter,c.diffFilter,d.diffFilter,h.diffFilter,f.objectsDiffFilter,l.diffFilter).shouldHaveResult()),this.processor.pipe(new o("patch").append(f.collectChildrenPatchFilter,l.collectChildrenPatchFilter,c.patchFilter,h.patchFilter,f.patchFilter,l.patchFilter).shouldHaveResult()),this.processor.pipe(new o("reverse").append(f.collectChildrenReverseFilter,l.collectChildrenReverseFilter,c.reverseFilter,h.reverseFilter,f.reverseFilter,l.reverseFilter).shouldHaveResult())};p.prototype.options=function(){return this.processor.options.apply(this.processor,arguments)},p.prototype.diff=function(e,t){return this.processor.process(new i(e,t))},p.prototype.patch=function(e,t){return this.processor.process(new a(e,t))},p.prototype.reverse=function(e){return this.processor.process(new s(e))},p.prototype.unpatch=function(e,t){return this.patch(e,this.reverse(t))},p.prototype.clone=function(e){return u(e)},t.DiffPatcher=p},107:function(e,t,r){var n=r(9637).A,o=r(7443).f,i=r(4153).V,a=r(7821),s="function"==typeof Array.isArray?Array.isArray:function(e){return e instanceof Array},u="function"==typeof Array.prototype.indexOf?function(e,t){return e.indexOf(t)}:function(e,t){for(var r=e.length,n=0;n<r;n++)if(e[n]===t)return n;return-1};function c(e,t,r,n,o){var i=e[r],a=t[n];if(i===a)return!0;if("object"!=typeof i||"object"!=typeof a)return!1;var s,u,c=o.objectHash;return c?("number"==typeof r?(o.hashCache1=o.hashCache1||[],void 0===(s=o.hashCache1[r])&&(o.hashCache1[r]=s=c(i,r))):s=c(i),void 0!==s&&("number"==typeof n?(o.hashCache2=o.hashCache2||[],void 0===(u=o.hashCache2[n])&&(o.hashCache2[n]=u=c(a,n))):u=c(a),void 0!==u&&s===u)):o.matchByPosition&&r===n}var f=function(e){if(e.leftIsArray){var t,r,o,i,s,f={objectHash:e.options&&e.options.objectHash,matchByPosition:e.options&&e.options.matchByPosition},l=0,d=0,h=e.left,p=e.right,v=h.length,g=p.length;for(v>0&&g>0&&!f.objectHash&&"boolean"!=typeof f.matchByPosition&&(f.matchByPosition=!function(e,t,r,n){for(var o=0;o<r;o++)for(var i=e[o],a=0;a<n;a++){var s=t[a];if(o!==a&&i===s)return!0}}(h,p,v,g));l<v&&l<g&&c(h,p,l,l,f);)t=l,i=new n(e.left[t],e.right[t]),e.push(i,t),l++;for(;d+l<v&&d+l<g&&c(h,p,v-1-d,g-1-d,f);)r=v-1-d,o=g-1-d,i=new n(e.left[r],e.right[o]),e.push(i,o),d++;if(l+d!==v)if(l+d!==g){delete f.hashCache1,delete f.hashCache2;var y=h.slice(l,v-d),b=p.slice(l,g-d),_=a.get(y,b,c,f),m=[];for(s=s||{_t:"a"},t=l;t<v-d;t++)u(_.indices1,t-l)<0&&(s["_"+t]=[h[t],0,0],m.push(t));var w=!0;e.options&&e.options.arrays&&!1===e.options.arrays.detectMove&&(w=!1);var x=!1;e.options&&e.options.arrays&&e.options.arrays.includeValueOnMove&&(x=!0);var O=m.length;for(t=l;t<g-d;t++){var E=u(_.indices2,t-l);if(E<0){var j=!1;if(w&&O>0)for(var P=0;P<O;P++)if(c(y,b,(r=m[P])-l,t-l,f)){s["_"+r].splice(1,2,t,3),x||(s["_"+r][0]=""),o=t,i=new n(e.left[r],e.right[o]),e.push(i,o),m.splice(P,1),j=!0;break}j||(s[t]=[p[t]])}else r=_.indices1[E]+l,o=_.indices2[E]+l,i=new n(e.left[r],e.right[o]),e.push(i,o)}e.setResult(s).exit()}else{for(s=s||{_t:"a"},t=l;t<v-d;t++)s["_"+t]=[h[t],0,0];e.setResult(s).exit()}else{if(v===g)return void e.setResult(void 0).exit();for(s=s||{_t:"a"},t=l;t<g-d;t++)s[t]=[p[t]];e.setResult(s).exit()}}};f.filterName="arrays";var l=function(e,t){return e-t},d=function(e){return function(t,r){return t[e]-r[e]}},h=function(e){if(e.nested&&"a"===e.delta._t){var t,r,n=e.delta,i=e.left,a=[],s=[],u=[];for(t in n)if("_t"!==t)if("_"===t[0]){if(0!==n[t][2]&&3!==n[t][2])throw new Error("only removal or move can be applied at original array indices, invalid diff type: "+n[t][2]);a.push(parseInt(t.slice(1),10))}else 1===n[t].length?s.push({index:parseInt(t,10),value:n[t][0]}):u.push({index:parseInt(t,10),delta:n[t]});for(t=(a=a.sort(l)).length-1;t>=0;t--){var c=n["_"+(r=a[t])],f=i.splice(r,1)[0];3===c[2]&&s.push({index:c[1],value:f})}var h=(s=s.sort(d("index"))).length;for(t=0;t<h;t++){var p=s[t];i.splice(p.index,0,p.value)}var v,g=u.length;if(g>0)for(t=0;t<g;t++){var y=u[t];v=new o(e.left[y.index],y.delta),e.push(v,y.index)}e.children?e.exit():e.setResult(e.left).exit()}};h.filterName="arrays";var p=function(e){if(e&&e.children&&"a"===e.delta._t){for(var t,r=e.children.length,n=0;n<r;n++)t=e.children[n],e.left[t.childName]=t.result;e.setResult(e.left).exit()}};p.filterName="arraysCollectChildren";var v=function(e){if(e.nested){if("a"===e.delta._t){var t,r;for(t in e.delta)"_t"!==t&&(r=new i(e.delta[t]),e.push(r,t));e.exit()}}else 3===e.delta[2]&&(e.newName="_"+e.delta[1],e.setResult([e.delta[0],parseInt(e.childName.substr(1),10),3]).exit())};v.filterName="arrays";var g=function(e,t,r){if("string"==typeof t&&"_"===t[0])return parseInt(t.substr(1),10);if(s(r)&&0===r[2])return"_"+t;var n=+t;for(var o in e){var i=e[o];if(s(i))if(3===i[2]){var a=parseInt(o.substr(1),10),u=i[1];if(u===+t)return a;a<=n&&u>n?n++:a>=n&&u<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(e){if(e&&e.children&&"a"===e.delta._t){for(var t,r=e.children.length,n={_t:"a"},o=0;o<r;o++){var i=(t=e.children[o]).newName;void 0===i&&(i=g(e.delta,t.childName,t.result)),n[i]!==t.result&&(n[i]=t.result)}e.setResult(n).exit()}};y.filterName="arraysCollectChildren",t.diffFilter=f,t.patchFilter=h,t.collectChildrenPatchFilter=p,t.reverseFilter=v,t.collectChildrenReverseFilter=y},1634:function(e,t){var r=function(e){e.left instanceof Date?(e.right instanceof Date?e.left.getTime()!==e.right.getTime()?e.setResult([e.left,e.right]):e.setResult(void 0):e.setResult([e.left,e.right]),e.exit()):e.right instanceof Date&&e.setResult([e.left,e.right]).exit()};r.filterName="dates",t.diffFilter=r},7821:function(e,t){var r=function(e,t,r,n){return e[r]===t[n]},n=function(e,t,r,o,i,a){if(0===o||0===i)return{sequence:[],indices1:[],indices2:[]};if(e.match(t,r,o-1,i-1,a)){var s=n(e,t,r,o-1,i-1,a);return s.sequence.push(t[o-1]),s.indices1.push(o-1),s.indices2.push(i-1),s}return e[o][i-1]>e[o-1][i]?n(e,t,r,o,i-1,a):n(e,t,r,o-1,i,a)};t.get=function(e,t,o,i){var a=function(e,t,r,n){var o,i,a=e.length,s=t.length,u=[a+1];for(o=0;o<a+1;o++)for(u[o]=[s+1],i=0;i<s+1;i++)u[o][i]=0;for(u.match=r,o=1;o<a+1;o++)for(i=1;i<s+1;i++)r(e,t,o-1,i-1,n)?u[o][i]=u[o-1][i-1]+1:u[o][i]=Math.max(u[o-1][i],u[o][i-1]);return u}(e,t,o||r,i=i||{}),s=n(a,e,t,e.length,t.length,i);return"string"==typeof e&&"string"==typeof t&&(s.sequence=s.sequence.join("")),s}},1104:function(e,t,r){var n=r(9637).A,o=r(7443).f,i=r(4153).V,a=function(e){if(e&&e.children){for(var t,r=e.children.length,n=e.result,o=0;o<r;o++)void 0!==(t=e.children[o]).result&&((n=n||{})[t.childName]=t.result);n&&e.leftIsArray&&(n._t="a"),e.setResult(n).exit()}};a.filterName="collectChildren";var s=function(e){if(!e.leftIsArray&&"object"===e.leftType){var t,r,o=e.options.propertyFilter;for(t in e.left)Object.prototype.hasOwnProperty.call(e.left,t)&&(o&&!o(t,e)||(r=new n(e.left[t],e.right[t]),e.push(r,t)));for(t in e.right)Object.prototype.hasOwnProperty.call(e.right,t)&&(o&&!o(t,e)||void 0===e.left[t]&&(r=new n(void 0,e.right[t]),e.push(r,t)));e.children&&0!==e.children.length?e.exit():e.setResult(void 0).exit()}};s.filterName="objects";var u=function(e){if(e.nested&&!e.delta._t){var t,r;for(t in e.delta)r=new o(e.left[t],e.delta[t]),e.push(r,t);e.exit()}};u.filterName="objects";var c=function(e){if(e&&e.children&&!e.delta._t){for(var t,r=e.children.length,n=0;n<r;n++)t=e.children[n],Object.prototype.hasOwnProperty.call(e.left,t.childName)&&void 0===t.result?delete e.left[t.childName]:e.left[t.childName]!==t.result&&(e.left[t.childName]=t.result);e.setResult(e.left).exit()}};c.filterName="collectChildren";var f=function(e){if(e.nested&&!e.delta._t){var t,r;for(t in e.delta)r=new i(e.delta[t]),e.push(r,t);e.exit()}};f.filterName="objects";var l=function(e){if(e&&e.children&&!e.delta._t){for(var t,r=e.children.length,n={},o=0;o<r;o++)n[(t=e.children[o]).childName]!==t.result&&(n[t.childName]=t.result);e.setResult(n).exit()}};l.filterName="collectChildren",t.collectChildrenDiffFilter=a,t.objectsDiffFilter=s,t.patchFilter=u,t.collectChildrenPatchFilter=c,t.reverseFilter=f,t.collectChildrenReverseFilter=l},328:function(e,t,r){var n=null,o=function(e){if(!n){var t;if("undefined"!=typeof diff_match_patch)t="function"==typeof diff_match_patch?new diff_match_patch:new diff_match_patch.diff_match_patch;else{try{var o=r(3538)("./diff_match_patch_uncompressed");t=new o.diff_match_patch}catch(e){t=null}}if(!t){if(!e)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(e,r){return t.patch_toText(t.patch_make(e,r))},patch:function(e,r){for(var n=t.patch_apply(t.patch_fromText(r),e),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(e){if("string"===e.leftType){var t=e.options&&e.options.textDiff&&e.options.textDiff.minLength||60;if(e.left.length<t||e.right.length<t)e.setResult([e.left,e.right]).exit();else{var r=o();if(r){var n=r.diff;e.setResult([n(e.left,e.right),0,2]).exit()}else e.setResult([e.left,e.right]).exit()}}};i.filterName="texts";var a=function(e){if(!e.nested&&2===e.delta[2]){var t=o(!0).patch;e.setResult(t(e.left,e.delta[0])).exit()}};a.filterName="texts";var s=function(e){var t,r,n,o,i,a=null,s=/^@@ +\-(\d+),(\d+) +\+(\d+),(\d+) +@@$/;for(t=0,r=(n=e.split("\n")).length;t<r;t++){var u=(o=n[t]).slice(0,1);"@"===u?(a=s.exec(o),null,null,n[t]="@@ -"+a[3]+","+a[4]+" +"+a[1]+","+a[2]+" @@"):"+"===u?(t,n[t]="-"+n[t].slice(1),"+"===n[t-1].slice(0,1)&&(i=n[t],n[t]=n[t-1],n[t-1]=i)):"-"===u&&(t,n[t]="+"+n[t].slice(1))}return n.join("\n")},u=function(e){e.nested||2===e.delta[2]&&e.setResult([s(e.delta[0]),0,2]).exit()};u.filterName="texts",t.diffFilter=i,t.patchFilter=a,t.reverseFilter=u},6294:function(e,t){var r="function"==typeof Array.isArray?Array.isArray:function(e){return e instanceof Array},n=function(e){if(e.left!==e.right)if(void 0!==e.left)if(void 0!==e.right){if("function"==typeof e.left||"function"==typeof e.right)throw new Error("functions are not supported");if(e.leftType=null===e.left?"null":typeof e.left,e.rightType=null===e.right?"null":typeof e.right,e.leftType===e.rightType)if("boolean"!==e.leftType&&"number"!==e.leftType)if("object"===e.leftType&&(e.leftIsArray=r(e.left)),"object"===e.rightType&&(e.rightIsArray=r(e.right)),e.leftIsArray===e.rightIsArray){if(e.left instanceof RegExp){if(!(e.right instanceof RegExp))return void e.setResult([e.left,e.right]).exit();e.setResult([e.left.toString(),e.right.toString()]).exit()}}else e.setResult([e.left,e.right]).exit();else e.setResult([e.left,e.right]).exit();else e.setResult([e.left,e.right]).exit()}else e.setResult([e.left,0,0]).exit();else{if("function"==typeof e.right)throw new Error("functions are not supported");e.setResult([e.right]).exit()}else e.setResult(void 0).exit()};n.filterName="trivial";var o=function(e){if(void 0!==e.delta){if(e.nested=!r(e.delta),!e.nested)if(1!==e.delta.length)if(2!==e.delta.length)3!==e.delta.length||0!==e.delta[2]||e.setResult(void 0).exit();else{if(e.left instanceof RegExp){var t=/^\/(.*)\/([gimyu]+)$/.exec(e.delta[1]);if(t)return void e.setResult(new RegExp(t[1],t[2])).exit()}e.setResult(e.delta[1]).exit()}else e.setResult(e.delta[0]).exit()}else e.setResult(e.left).exit()};o.filterName="trivial";var i=function(e){void 0!==e.delta?(e.nested=!r(e.delta),e.nested||(1!==e.delta.length?2!==e.delta.length?3!==e.delta.length||0!==e.delta[2]||e.setResult([e.delta[0]]).exit():e.setResult([e.delta[1],e.delta[0]]).exit():e.setResult([e.delta[0],0,0]).exit())):e.setResult(e.delta).exit()};i.filterName="trivial",t.diffFilter=n,t.patchFilter=o,t.reverseFilter=i},5820:function(e,t){var r=function(e){this.name=e,this.filters=[]};r.prototype.process=function(e){if(!this.processor)throw new Error("add this pipe to a processor before using it");for(var t=this.debug,r=this.filters.length,n=e,o=0;o<r;o++){var i=this.filters[o];if(t&&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(e){console.log("[jsondiffpatch] "+this.name+" pipe, "+e)},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(e){if(!e)throw new Error("a filter name is required");for(var t=0;t<this.filters.length;t++){if(this.filters[t].filterName===e)return t}throw new Error("filter not found: "+e)},r.prototype.list=function(){for(var e=[],t=0;t<this.filters.length;t++){var r=this.filters[t];e.push(r.filterName)}return e},r.prototype.after=function(e){var t=this.indexOf(e),r=Array.prototype.slice.call(arguments,1);if(!r.length)throw new Error("a filter is required");return r.unshift(t+1,0),Array.prototype.splice.apply(this.filters,r),this},r.prototype.before=function(e){var t=this.indexOf(e),r=Array.prototype.slice.call(arguments,1);if(!r.length)throw new Error("a filter is required");return r.unshift(t,0),Array.prototype.splice.apply(this.filters,r),this},r.prototype.clear=function(){return this.filters.length=0,this},r.prototype.shouldHaveResult=function(e){if(!1!==e){if(!this.resultCheck){var t=this;return this.resultCheck=function(e){if(!e.hasResult){console.log(e);var r=new Error(t.name+" failed");throw r.noResult=!0,r}},this}}else this.resultCheck=null},t.E=r},7854:function(e,t){var r=function(e){this.selfOptions=e||{},this.pipes={}};r.prototype.options=function(e){return e&&(this.selfOptions=e),this.selfOptions},r.prototype.pipe=function(e,t){if("string"==typeof e){if(void 0===t)return this.pipes[e];this.pipes[e]=t}if(e&&e.name){if((t=e).processor===this)return t;this.pipes[t.name]=t}return t.processor=this,t},r.prototype.process=function(e,t){var r=e;r.options=this.options();for(var n,o,i=t||e.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},t.w=r},8762:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.default=e.exports,e.exports.__esModule=!0},4280:function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},8944:function(e,t,r){var n=r(8762);e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.default=e.exports,e.exports.__esModule=!0},5571:function(e){function t(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise((function(o,i){var a=e.apply(r,n);function s(e){t(a,o,i,s,u,"next",e)}function u(e){t(a,o,i,s,u,"throw",e)}s(void 0)}))}},e.exports.default=e.exports,e.exports.__esModule=!0},7363:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},3051:function(e){function t(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e},e.exports.default=e.exports,e.exports.__esModule=!0},7472:function(e){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.default=e.exports,e.exports.__esModule=!0},2695:function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,t.apply(this,arguments)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},5643:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},1198:function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},1024:function(e){e.exports=function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}},e.exports.default=e.exports,e.exports.__esModule=!0},5605:function(e){e.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.")},e.exports.default=e.exports,e.exports.__esModule=!0},9262:function(e){e.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.")},e.exports.default=e.exports,e.exports.__esModule=!0},4262:function(e,t,r){var n=r(4280),o=r(1024),i=r(9487),a=r(5605);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},3217:function(e,t,r){var n=r(8944),o=r(1198),i=r(9487),a=r(9262);e.exports=function(e){return n(e)||o(e)||i(e)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},4576:function(e){function t(r){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=t=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),t(r)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},9487:function(e,t,r){var n=r(8762);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},5838:function(e,t,r){e.exports=r(7828)},5765:function(e,t,r){var n=r(7972)(r(1851),"DataView");e.exports=n},7266:function(e,t,r){var n=r(7972)(r(1851),"Map");e.exports=n},5689:function(e,t,r){var n=r(7972)(r(1851),"Promise");e.exports=n},4352:function(e,t,r){var n=r(7972)(r(1851),"Set");e.exports=n},649:function(e,t,r){var n=r(1851).Symbol;e.exports=n},5708:function(e,t,r){var n=r(7972)(r(1851),"WeakMap");e.exports=n},473:function(e,t,r){var n=r(649),o=r(6886),i=r(597),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},6989:function(e,t,r){var n=r(473),o=r(9847);e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},2631:function(e,t,r){var n=r(6221),o=r(1379),i=r(5847),a=r(3134),s=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,f=u.toString,l=c.hasOwnProperty,d=RegExp("^"+f.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(n(e)?d:s).test(a(e))}},1319:function(e,t,r){var n=r(473),o=r(1908),i=r(9847),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,e.exports=function(e){return i(e)&&o(e.length)&&!!a[n(e)]}},9122:function(e,t,r){var n=r(8652),o=r(722),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&t.push(r);return t}},6150:function(e){e.exports=function(e){return function(t){return e(t)}}},8508:function(e,t,r){var n=r(1851)["__core-js_shared__"];e.exports=n},6393:function(e,t,r){var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},7972:function(e,t,r){var n=r(2631),o=r(3870);e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}},6886:function(e,t,r){var n=r(649),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var o=a.call(e);return n&&(t?e[s]=r:delete e[s]),o}},7893:function(e,t,r){var n=r(5765),o=r(7266),i=r(5689),a=r(4352),s=r(5708),u=r(473),c=r(3134),f="[object Map]",l="[object Promise]",d="[object Set]",h="[object WeakMap]",p="[object DataView]",v=c(n),g=c(o),y=c(i),b=c(a),_=c(s),m=u;(n&&m(new n(new ArrayBuffer(1)))!=p||o&&m(new o)!=f||i&&m(i.resolve())!=l||a&&m(new a)!=d||s&&m(new s)!=h)&&(m=function(e){var t=u(e),r="[object Object]"==t?e.constructor:void 0,n=r?c(r):"";if(n)switch(n){case v:return p;case g:return f;case y:return l;case b:return d;case _:return h}return t}),e.exports=m},3870:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},1379:function(e,t,r){var n,o=r(8508),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},8652:function(e){var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},722:function(e,t,r){var n=r(9416)(Object.keys,Object);e.exports=n},8810:function(e,t,r){e=r.nmd(e);var n=r(6393),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&n.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},597:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},9416:function(e){e.exports=function(e,t){return function(r){return e(t(r))}}},1851:function(e,t,r){var n=r(6393),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();e.exports=i},3134:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},9933:function(e,t,r){var n=r(6989),o=r(9847),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},6811:function(e){var t=Array.isArray;e.exports=t},7620:function(e,t,r){var n=r(6221),o=r(1908);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},2737:function(e,t,r){e=r.nmd(e);var n=r(1851),o=r(515),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?n.Buffer:void 0,u=(s?s.isBuffer:void 0)||o;e.exports=u},3582:function(e,t,r){var n=r(9122),o=r(7893),i=r(9933),a=r(6811),s=r(7620),u=r(2737),c=r(8652),f=r(4158),l=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||f(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!n(e).length;for(var r in e)if(l.call(e,r))return!1;return!0}},6221:function(e,t,r){var n=r(473),o=r(5847);e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1908:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5847:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},9847:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},4158:function(e,t,r){var n=r(1319),o=r(6150),i=r(8810),a=i&&i.isTypedArray,s=a?o(a):n;e.exports=s},515:function(e){e.exports=function(){return!1}},7828:function(e){var t=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),a=new S(n||[]);return i._invoke=function(e,t,r){var n=l;return function(o,i){if(n===h)throw new Error("Generator is already running");if(n===p){if("throw"===o)throw i;return M()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=j(a,r);if(s){if(s===v)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var u=f(e,t,r);if("normal"===u.type){if(n=r.done?p:d,u.arg===v)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=p,r.method="throw",r.arg=u.arg)}}}(e,r,a),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l="suspendedStart",d="suspendedYield",h="executing",p="completed",v={};function g(){}function y(){}function b(){}var _={};_[i]=function(){return this};var m=Object.getPrototypeOf,w=m&&m(m(A([])));w&&w!==r&&n.call(w,i)&&(_=w);var x=b.prototype=g.prototype=Object.create(_);function O(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function r(o,i,a,s){var u=f(e[o],e,i);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?t.resolve(l.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(l).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(u.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function j(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=f(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function R(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function A(e){if(e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:M}}function M(){return{value:t,done:!0}}return y.prototype=x.constructor=b,b.constructor=y,y.displayName=u(b,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,s,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},O(E.prototype),E.prototype[a]=function(){return this},e.AsyncIterator=E,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new E(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(x),u(x,s,"Generator"),x[i]=function(){return this},x.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=A,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(R),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return s.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){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(e,t){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"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),R(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;R(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:A(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}(e.exports);try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}},9594:function(e){"use strict";e.exports=require("promise/setimmediate/core")},6905:function(e){"use strict";e.exports=require("promise/setimmediate/rejection-tracking")},9497:function(e){"use strict";e.exports=require("react")},7305:function(e){"use strict";e.exports=require("react-native")},3897:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.__esModule=!0,e.exports.default=e.exports},5372:function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},3405:function(e,t,r){var n=r(3897);e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.__esModule=!0,e.exports.default=e.exports},6690:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},9728:function(e,t,r){var n=r(4062);function o(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,n(o.key),o)}}e.exports=function(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},8416:function(e,t,r){var n=r(4062);e.exports=function(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},4836:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},9498:function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},8872:function(e){e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],u=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}},e.exports.__esModule=!0,e.exports.default=e.exports},2218:function(e){e.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.")},e.exports.__esModule=!0,e.exports.default=e.exports},2281:function(e){e.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.")},e.exports.__esModule=!0,e.exports.default=e.exports},7061:function(e,t,r){var n=r(8698).default;function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},u=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",f=s.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),s=new S(n||[]);return a(i,"_invoke",{value:E(e,r,s)}),i}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var p={};function v(){}function g(){}function y(){}var b={};l(b,u,(function(){return this}));var _=Object.getPrototypeOf,m=_&&_(_(A([])));m&&m!==r&&i.call(m,u)&&(b=m);var w=y.prototype=v.prototype=Object.create(b);function x(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function r(o,a,s,u){var c=h(e[o],e,a);if("throw"!==c.type){var f=c.arg,l=f.value;return l&&"object"==n(l)&&i.call(l,"__await")?t.resolve(l.__await).then((function(e){r("next",e,s,u)}),(function(e){r("throw",e,s,u)})):t.resolve(l).then((function(e){f.value=e,s(f)}),(function(e){return r("throw",e,s,u)}))}u(c.arg)}var o;a(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}})}function E(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return M()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=j(a,r);if(s){if(s===p)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=h(e,t,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function j(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,j(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),p;var o=h(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function R(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function A(e){if(e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r<e.length;)if(i.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:M}}function M(){return{value:void 0,done:!0}}return g.prototype=y,a(w,"constructor",{value:y,configurable:!0}),a(y,"constructor",{value:g,configurable:!0}),g.displayName=l(y,f,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,l(e,f,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},x(O.prototype),l(O.prototype,c,(function(){return this})),t.AsyncIterator=O,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new O(d(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},x(w),l(w,f,"Generator"),l(w,u,(function(){return this})),l(w,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(R),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),u=i.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),R(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;R(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:A(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},7424:function(e,t,r){var n=r(5372),o=r(8872),i=r(6116),a=r(2218);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},861:function(e,t,r){var n=r(3405),o=r(9498),i=r(6116),a=r(2281);e.exports=function(e){return n(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},5036:function(e,t,r){var n=r(8698).default;e.exports=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},4062:function(e,t,r){var n=r(8698).default,o=r(5036);e.exports=function(e){var t=o(e,"string");return"symbol"===n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},8698:function(e){function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},6116:function(e,t,r){var n=r(3897);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},4687:function(e,t,r){var n=r(7061)();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}return r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},r(8240)}()}));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.LogRocketReactNative=t():e.LogRocketReactNative=t()}(self,(function(){return function(){var e={2706:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.encode=function(e){return JSON.stringify(h(e))},t.encodeAsTable=function(e){return h(e)},t.decode=function(e){return function(e){if("number"==typeof e&&e<0)return n(e);var t=new Array(e.length);function r(e){return e in t?t[e]:t[e]=n(e)}function n(t){if(t<0){if(t===i)return;if(t===a)return;if(t===s)return NaN;if(t===u)return 1/0;if(t===c)return-1/0;throw new Error("invalid ARSON index: "+t)}var n=e[t];if(n&&"object"===(0,o.default)(n)){if(Array.isArray(n)){var h=n[0];if("string"==typeof h&&h in f){var p=f[h].reconstruct,v=p();return v&&l.push({reconstruct:p,empty:v,argIndexes:n.slice(1)}),e[t]=v||p(n.slice(1).map(r))}}d.push(n)}return n}var l=[],d=[];return e.forEach((function(e,t){r(t)})),l.forEach((function(e){e.args=e.argIndexes.map(r)})),d.forEach((function(t){Object.keys(t).forEach((function(n){var o=t[n];if("number"==typeof o)if(o<0){if(o===a)return void delete t[n];t[n]=r(o)}else t[n]=e[o]}))})),l.forEach((function(e){e.reconstruct.call(e.empty,e.args)})),e[0]}(JSON.parse(e))};var o=n(r(8698)),i=-1,a=-2,s=-3,u=-4,c=-5,f=Object.create(null),l=function(e,t){function r(r){if("function"!=typeof t[r])throw new Error("second argument to ARSON.registerType("+JSON.stringify(e)+", ...) must be an object with a "+r+" method")}r("deconstruct"),r("reconstruct"),f[e]=t},d=Object.prototype.toString;function h(e){var t=[],r="function"==typeof Map&&new Map;function n(e){switch((0,o.default)(e)){case"undefined":return i;case"number":if(isNaN(e))return s;if(!isFinite(e))return e<0?c:u}var n;return r?void 0===(n=r.get(e))&&(n=t.push(e)-1,r.set(e,n)):(n=t.indexOf(e))<0&&(n=t.push(e)-1),n}function l(e){var t=e;if(e&&"object"===(0,o.default)(e)){var r=Object.keys(e);if(function(e){var t=e&&"object"===(0,o.default)(e);if(t){return(Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__)===Object.prototype}return!1}(e))t={};else{if(!Array.isArray(e)){for(var i in f){var s=f[i].deconstruct(e);if(s){for(c=0;c<s.length;++c)s[c]=n(s[c]);return s.unshift(i),s}}return{}.toString.call(e)}t=Array(e.length);var u=e.length;if(u>r.length)for(var c=0;c<u;++c)t[c]=a}r.forEach((function(r){t[r]=n(e[r])}))}return t}var d=n(e);if(d<0)return d;for(var h=[],p=0;p<t.length;++p)h[p]=l(t[p]);return h}"function"==typeof Buffer&&"function"==typeof Buffer.isBuffer&&l("Buffer",{deconstruct:function(e){return Buffer.isBuffer(e)&&[e.toString("base64"),"base64"]},reconstruct:function(e){return e&&Buffer.from(e[0],e[1])}}),l("Date",{deconstruct:function(e){return"[object Date]"===d.call(e)&&[e.toJSON()]},reconstruct:function(e){return e&&new Date(e[0])}}),l("RegExp",{deconstruct:function(e){if("[object RegExp]"===d.call(e)){var t=[e.source],r="";return e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.global&&(r+="g"),r&&t.push(r),t}},reconstruct:function(e){return e&&new RegExp(e[0],e[1])}}),"function"==typeof Set&&"function"==typeof Array.from&&l("Set",{deconstruct:function(e){if("[object Set]"===d.call(e))return Array.from(e)},reconstruct:function(e){if(!e)return new Set;e.forEach(this.add,this)}}),"function"==typeof Map&&"function"==typeof Array.from&&l("Map",{deconstruct:function(e){if("[object Map]"===d.call(e))return Array.from(e)},reconstruct:function(e){if(!e)return new Map;e.forEach((function(e){this.set(e[0],e[1])}),this)}})},5749:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(9047)).default;t.default=o},9047:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=[];return["log","warn","info","error","debug"].forEach((function(r){t.push((0,i.default)(console,r,(function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];e.addEvent("lr.core.LogEvent",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.isEnabled;if("object"===(0,o.default)(i)&&!1===i[r]||!1===i)return null;if("error"===r&&t.shouldAggregateConsoleErrors)if(n&&n.length>=2&&"ERROR"===n[0]){var s="";try{s=" ".concat(n[1])}catch(e){}a.Capture.captureMessage(e,"".concat(n[0]).concat(s),n,{},!0)}else a.Capture.captureMessage(e,n[0],n,{},!0);return{logLevel:r.toUpperCase(),args:n}}))})))})),function(){t.forEach((function(e){return e()}))}};var o=n(r(8698)),i=n(r(7800)),a=r(5476)},1365:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MAX_CUSTOM_PROPS_PER_SESSION=t.MAX_PROPERTY_NAME_LENGTH=t.SUPPORTED_TYPES=t.RESERVED_PROP_MAPPINGS=t.RESERVED_PROPS=t.VALIDATION_ERRORS=void 0;t.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"};t.RESERVED_PROPS={revenue:"number"};t.RESERVED_PROP_MAPPINGS={revenue:{type:"double"}};t.SUPPORTED_TYPES=["boolean","number","string"];t.MAX_PROPERTY_NAME_LENGTH=100;t.MAX_CUSTOM_PROPS_PER_SESSION=2e3},1550:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.printEventPropError=function(e){switch(e.error){case n.VALIDATION_ERRORS.EMPTY_ARRAY:return"Ignored empty array at property ".concat(e.prop);case n.VALIDATION_ERRORS.MIXED_TYPE_ARRAY:return"Ignored mixed type array at property ".concat(e.prop);case n.VALIDATION_ERRORS.UNSUPPORTED_TYPE:return"Ignored unsupported type (".concat(e.propType,") at property ").concat(e.prop,". Expected one of: ").concat(n.SUPPORTED_TYPES.join(),",").concat(n.SUPPORTED_TYPES.map((function(e){return"".concat(e,"[]")})).join());case n.VALIDATION_ERRORS.RESERVED_TYPE_MISMATCH:return"Ignored reserved property ".concat(e.prop," with unexpected type ").concat(e.propType,". Expected type ").concat(n.RESERVED_PROPS[e.prop]);case n.VALIDATION_ERRORS.MAX_PROPS_REACHED:return"Max number of custom properties per session reached. Ignored property ".concat(e.prop);case n.VALIDATION_ERRORS.NAME_TOO_LONG:return"Property name ".concat(e.prop," is over max length of ").concat(n.MAX_PROPERTY_NAME_LENGTH);case n.VALIDATION_ERRORS.MALFORMED_VARIANT:return"Malformed variant at property ".concat(e.prop);default:return"Unknown error processing event properties"}};var n=r(1365)},2440:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.checkForValidationErrors=a,t.sanitizeEventProps=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1/0,r=0,n={},o=[],u=0,c=Object.keys(e);u<c.length;u++){var f=c[u],l=e[f],d=a(f,l);void 0===d?t===1/0||r!==t?(r++,n[f]=s(l)):o.push({error:i.VALIDATION_ERRORS.MAX_PROPS_REACHED,prop:f}):o.push(d)}return{eventProps:n,errors:o}};var o=n(r(8698)),i=r(1365);function a(e,t){var r,n=Array.isArray(t);if(r=null===t?"null":(0,o.default)(n?t[0]:t),e.length>i.MAX_PROPERTY_NAME_LENGTH)return{error:i.VALIDATION_ERRORS.NAME_TOO_LONG,prop:e};if(Object.keys(i.RESERVED_PROPS).indexOf(e)>=0&&i.RESERVED_PROPS[e]!==r)return{error:i.VALIDATION_ERRORS.RESERVED_TYPE_MISMATCH,prop:e,propType:r};if(n){if(0===t.length)return{error:i.VALIDATION_ERRORS.EMPTY_ARRAY,prop:e};var a=(0,o.default)(t[0]);return i.SUPPORTED_TYPES.indexOf(a)<0?{error:i.VALIDATION_ERRORS.UNSUPPORTED_TYPE,prop:e,propType:"".concat(a,"[]")}:t.every((function(e){return(0,o.default)(e)===a}))?void 0:{error:i.VALIDATION_ERRORS.MIXED_TYPE_ARRAY,prop:e}}return i.SUPPORTED_TYPES.indexOf((0,o.default)(t))<0?{error:i.VALIDATION_ERRORS.UNSUPPORTED_TYPE,prop:e,propType:r}:void 0}function s(e){var t=Array.isArray(e)?e:[e];switch((0,o.default)(t[0])){case"number":return{doubleVal:t};case"boolean":return{boolVal:t};case"string":return{stringVal:t};default:return{}}}},5279:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(1390),o=new n.DiffPatcher({arrays:{detectMove:!1},propertyFilter:function(e,t){return"function"!=typeof t.left[e]&&"function"!=typeof t.right[e]&&!function(e){for(var t=0,r=e.parent;void 0!==r;){if(r.left===e.left&&r.right===e.right)return!0;if(r=r.parent,++t>10)return!0}return!1}(t)}});t.default=o},3237:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(5279)).default;t.default=o},9818:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.captureMessage=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a={exceptionType:i?"CONSOLE":"MESSAGE",message:t,messageArgs:r,browserHref:window.location?window.location.href:""};(0,o.scrubException)(a,n),e.addEvent("lr.core.Exception",(function(){return a}))},t.captureException=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"WINDOW",u=n||i.default.computeStackTrace(t),c={exceptionType:s,errorType:u.name,message:u.message,browserHref:window.location?window.location.href:""};(0,o.scrubException)(c,r);var f={_stackTrace:(0,a.default)(u)};e.addEvent("lr.core.Exception",(function(){return c}),f)};var o=r(6731),i=n(r(8668)),a=n(r(4751))},5476:function(e,t,r){"use strict";var n=r(4836),o=r(8698);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"registerExceptions",{enumerable:!0,get:function(){return i.default}}),t.Capture=void 0;var i=n(r(239)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var r=s(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(n,a,u):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(9818));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(s=function(e){return e?r:t})(e)}t.Capture=a},8414:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(6690)),i=n(r(9728)),a=n(r(8668)),s=Object.prototype;function u(e){return void 0===e}function c(e){return"function"==typeof e}function f(e,t){return s.hasOwnProperty.call(e,t)}function l(e,t,r,n){var o=e[t];e[t]=r(o),n&&n.push([e,t,o])}var d="undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{},h=(d.document,function(){function e(t){var r=t.captureException;(0,o.default)(this,e),this._errorHandler=this._errorHandler.bind(this),this._ignoreOnError=0,this._wrappedBuiltIns=[],this.captureException=r,a.default.report.subscribe(this._errorHandler),this._instrumentTryCatch()}return(0,i.default)(e,[{key:"uninstall",value:function(){var e;for(a.default.report.unsubscribe(this._errorHandler);this._wrappedBuiltIns.length;){var t=(e=this._wrappedBuiltIns.shift())[0],r=e[1],n=e[2];t[r]=n}}},{key:"_errorHandler",value:function(e){this._ignoreOnError||this.captureException(e)}},{key:"_ignoreNextOnError",value:function(){var e=this;this._ignoreOnError+=1,setTimeout((function(){e._ignoreOnError-=1}))}},{key:"context",value:function(e,t,r){return c(e)&&(r=t||[],t=e,e=void 0),this.wrap(e,t).apply(this,r)}},{key:"wrap",value:function(e,t,r){var n=this;if(u(t)&&!c(e))return e;if(c(e)&&(t=e,e=void 0),!c(t))return t;try{if(t.__lr__)return t;if(t.__lr_wrapper__)return t.__lr_wrapper__;if(!Object.isExtensible(t))return t}catch(e){return t}function o(){var o=[],i=arguments.length,s=!e||e&&!1!==e.deep;for(r&&c(r)&&r.apply(this,arguments);i--;)o[i]=s?n.wrap(e,arguments[i]):arguments[i];try{return t.apply(this,o)}catch(t){throw n._ignoreNextOnError(),n.captureException(a.default.computeStackTrace(t),e),t}}for(var i in t)f(t,i)&&(o[i]=t[i]);return o.prototype=t.prototype,t.__lr_wrapper__=o,o.__lr__=!0,o.__inner__=t,o}},{key:"_instrumentTryCatch",value:function(){var e=this,t=e._wrappedBuiltIns;function r(t){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 c(a)&&(o[0]=e.wrap(a)),t.apply?t.apply(this,o):t(o[0],o[1])}}l(d,"setTimeout",r,t),l(d,"setInterval",r,t),d.requestAnimationFrame&&l(d,"requestAnimationFrame",(function(t){return function(r){return t(e.wrap(r))}}),t);for(var n,o,i=["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"],a=0;a<i.length;a++)o=void 0,(o=d[n=i[a]]&&d[n].prototype)&&o.hasOwnProperty&&o.hasOwnProperty("addEventListener")&&(l(o,"addEventListener",(function(t){return function(r,n,o,i){try{n&&n.handleEvent&&(n.handleEvent=e.wrap(n.handleEvent))}catch(e){}return t.call(this,r,e.wrap(n,void 0,void 0),o,i)}}),t),l(o,"removeEventListener",(function(e){return function(t,r,n,o){try{var i=null==r?void 0:r.__lr_wrapper__;i&&e.call(this,t,i,n,o)}catch(e){}return e.call(this,t,r,n,o)}}),void 0));var s=d.jQuery||d.$;s&&s.fn&&s.fn.ready&&l(s.fn,"ready",(function(t){return function(r){return t.call(this,e.wrap(r))}}),t)}}]),e}());t.default=h},239:function(e,t,r){"use strict";var n=r(4836),o=r(8698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=new i.default({captureException:function(t){a.captureException(e,null,null,t)}}),r=function(t){t.reason instanceof Error?a.captureException(e,t.reason,null,null,"UNHANDLED_REJECTION"):e.addEvent("lr.core.Exception",(function(){return{exceptionType:"UNHANDLED_REJECTION",message:t.reason||"Unhandled Promise rejection"}}))};return window.addEventListener("unhandledrejection",r),function(){window.removeEventListener("unhandledrejection",r),t.uninstall()}};var i=n(r(8414)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var r=s(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(n,a,u):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(9818));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(s=function(e){return e?r:t})(e)}},4751:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(e){return null===e?void 0:e}return e.stack?e.stack.map((function(e){return{lineNumber:t(e.line),columnNumber:t(e.column),fileName:t(e.url),functionName:t(e.func)}})):void 0}},8650:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(861)),i=r(1105),a=[];function s(e,t){for(var r=a.reduce((function(e,t){return[t].concat(e)}),[]),n=arguments.length,s=new Array(n>2?n-2:0),u=2;u<n;u++)s[u-2]=arguments[u];var c=Promise.resolve(s);return r.forEach((function(e){var r=e.request,n=e.requestError;(r||n)&&(c=c.then((function(e){return r.apply(void 0,[t].concat((0,o.default)(e)))}),(function(e){return n.apply(void 0,[t].concat((0,o.default)(e)))})))})),c=c.then((function(t){var r,n;(0,i.setActive)(!1);try{r=e.apply(void 0,(0,o.default)(t))}catch(e){n=e}if((0,i.setActive)(!0),n)throw n;return r})),r.forEach((function(e){var r=e.response,n=e.responseError;(r||n)&&(c=c.then((function(e){return r(t,e)}),(function(e){return n&&n(t,e)})))})),c}function u(e){if(e.fetch&&e.Promise){var t=e.fetch.polyfill;e.fetch=function(e){var t=0;return function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return s.apply(void 0,[e,t++].concat(n))}}(e.fetch),t&&(e.fetch.polyfill=t)}}var c=!1,f={register:function(e){return c||(c=!0,u(window)),a.push(e),function(){var t=a.indexOf(e);t>=0&&a.splice(t,1)}},clear:function(){a=[]}};t.default=f},7986:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{isReactNative:!1,isDisabled:!1};if(!0===(null==t?void 0:t.isDisabled))return function(){};var r=t.isReactNative,n=t.shouldAugmentNPS,o=t.shouldParseXHRBlob,l={},h=function(e){var t=e;if("object"===(0,i.default)(e)&&null!=e){var r=Object.getPrototypeOf(e);r!==Object.prototype&&null!==r||(t=JSON.stringify(e))}if(t&&t.length&&t.length>4096e3&&"string"==typeof t){var n=t.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 e},p=function(t,r){var n=r.method;e.addEvent("lr.network.RequestEvent",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=e.isEnabled,i=void 0===o||o,a=e.requestSanitizer,s=void 0===a?function(e){return e}:a;if(!i)return null;var u=null;try{u=s(d(d({},r),{},{reqId:t}))}catch(e){console.error(e)}if(u){var c=u.url;if("undefined"!=typeof document&&"function"==typeof document.createElement){var p=document.createElement("a");p.href=u.url,c=p.href}return{reqId:t,url:c,headers:(0,f.default)(u.headers,(function(e){return"".concat(e)})),body:h(u.body),method:n,referrer:u.referrer||void 0,mode:u.mode||void 0,credentials:u.credentials||void 0}}return l[t]=!0,null}))},v=function(t,r){var n=r.method,o=r.status,i=r.responseType;e.addEvent("lr.network.ResponseEvent",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.isEnabled,s=void 0===a||a,u=e.responseSanitizer,c=void 0===u?function(e){return e}:u;if(!s)return null;if(l[t])return delete l[t],null;var p=null;try{p=c(d(d({},r),{},{reqId:t}))}catch(e){console.error(e)}return p?{reqId:t,responseType:i,status:p.status,headers:(0,f.default)(p.headers,(function(e){return"".concat(e)})),body:h(p.body),method:n}:{reqId:t,responseType:i,status:o,headers:{},body:null,method:n}}))},g=function(t){return e.isDisabled||!0===l[t]},y=(0,a.default)({addRequest:p,addResponse:v,isIgnored:g}),b=(0,c.default)({addRequest:p,addResponse:v,isIgnored:g,logger:e,shouldAugmentNPS:n,shouldParseXHRBlob:o}),_=(0,s.registerIonic)({addRequest:p,addResponse:v,isIgnored:g}),m=r?function(){}:(0,u.default)(e);return function(){m(),y(),b(),_()}};var o=n(r(8416)),i=n(r(8698)),a=n(r(8452)),s=r(4863),u=n(r(989)),c=n(r(1105)),f=n(r(9645));function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){(0,o.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},8452:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.addRequest,r=e.addResponse,n=e.isIgnored,o="fetch-",i={},s=a.default.register({request:function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];var s;if("undefined"!=typeof Request&&n[0]instanceof Request){var c;try{c=n[0].clone().text()}catch(e){c=Promise.resolve("LogRocket fetch error: ".concat(e.message))}s=c.then((function(e){return u(u({},f(n[0])),{},{body:e})}),(function(e){return u(u({},f(n[0])),{},{body:"LogRocket fetch error: ".concat(e.message)})}))}else s=Promise.resolve(u(u({},f(n[1])),{},{url:"".concat(n[0]),body:(n[1]||{}).body}));return s.then((function(r){return i[e]=r.method,t("".concat(o).concat(e),r),n}))},requestError:function(e,t){return Promise.reject(t)},response:function(e,t){var a,s;if(n("".concat(o).concat(e)))return t;if("text/event-stream"===t.headers.get("content-type"))s=Promise.resolve("LogRocket skipped consuming an event-stream body.");else{try{a=t.clone()}catch(n){var u={url:t.url,responseType:t.type.toUpperCase(),status:t.status,headers:c(t.headers),body:"LogRocket fetch error: ".concat(n.message),method:i[e]};return delete i[e],r("".concat(o).concat(e),u),t}try{if(window.TextDecoder&&a.body){var f=a.body.getReader(),l=new window.TextDecoder("utf-8"),d="";s=f.read().then((function e(t){var r=t.done,n=t.value;if(r)return d;var o=n?l.decode(n,{stream:!0}):"";return d+=o,f.read().then(e)}))}else s=a.text()}catch(e){s=Promise.resolve("LogRocket error reading body: ".concat(e.message))}}return s.catch((function(e){if(!("AbortError"===e.name&&e instanceof DOMException))return"LogRocket error reading body: ".concat(e.message)})).then((function(n){var a={url:t.url,responseType:t.type.toUpperCase(),status:t.status,headers:c(t.headers),body:n,method:i[e]};delete i[e],r("".concat(o).concat(e),a)})),t},responseError:function(e,t){var n={url:void 0,status:0,headers:{},body:"".concat(t)};return r("".concat(o).concat(e),n),Promise.reject(t)}});return s};var o=n(r(8416)),i=n(r(9645)),a=n(r(8650));function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){(0,o.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var c=function(e){return(0,i.default)(function(e){if(null==e||"function"!=typeof e.forEach)return e;var t={};return e.forEach((function(e,r){t[r]?t[r]="".concat(t[r],",").concat(e):t[r]="".concat(e)})),t}(e),(function(e){return"".concat(e)}))};function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{url:e.url,headers:c(e.headers),method:e.method&&e.method.toUpperCase(),referrer:e.referrer||void 0,mode:e.mode||void 0,credentials:e.credentials||void 0}}},4863:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.mergeHeaders=E,t.serializeQueryParams=function(e,t){return S("",e,t)},t.appendQueryParamsString=A,t.processData=M,t.registerIonic=function(e){var t,r,n,o=e.addRequest,i=e.addResponse,a=e.isIgnored,u=null===(t=window.cordova)||void 0===t||null===(r=t.plugin)||void 0===r?void 0:r.http,c={},f=!1;if(void 0===u)return function(){};var l=null===(n=window.ionic)||void 0===n?void 0:n.platforms;if(void 0!==l&&"function"==typeof l.some&&l.some((function(e){return g.has(e)})))return function(){};var y=u.sendRequest,b=(0,s.default)((function(e,t,r){if(!a("".concat(v).concat(r)))try{var n={url:e.url||"",status:e.status<600&&e.status>=100?e.status:0,headers:e.headers||{},body:t?e.data:e.error,method:c[r].toUpperCase()};i("".concat(v).concat(r),n)}catch(t){var o={url:e.url||"",status:e.status<600&&e.status>=100?e.status:0,headers:e.headers||{},body:"LogRocket fetch error: ".concat(t.message),method:c[r].toUpperCase()};i("".concat(v).concat(r),o)}}));return u.sendRequest=function(e,t,r,n){var i=++k;if(!f)try{var a=function(e,t){var r;e=e||{};var n=e.data;try{r=x(h,e.serializer||t.getDataSerializer(),"serializer / data payload type")}catch(o){r=x(p,e.serializer||t.getDataSerializer(),"serializer / data payload type"),n={}}return{data:n,filePath:e.filePath,followRedirect:e.followRedirect,headers:O(e.headers||{},_,"Invalid header type, must be string"),method:x(d,e.method||d[0],"method"),name:e.name,params:O(e.params||{},m,"Invalid param, must be of type string or array"),responseType:e.responseType,serializer:r,connectTimeout:e.connectTimeout,readTimeout:e.readTimeout,timeout:e.timeout}}(t,u),s=A(e,S("",a.params,!0)),l=function(e,t,r){var n=r.getHeaders("*")||{},o=function(e,t){var r=new URL(e),n=r.host;return t.getHeaders(n)||null}(e,r)||{};return E(E(n,o),t)}(e,a.headers,u),g=a.method||"get";c[i]=g;var w={url:s,method:g.toUpperCase(),headers:l||{},body:M(a.data||{},a.serializer)};o("".concat(v).concat(i),w)}catch(r){var j={url:e,method:(t.method||"get").toUpperCase(),headers:{},body:"LogRocket fetch error: ".concat(r.message)};o("".concat(v).concat(i),j)}return y(e,t,(function(e){f||(b(e,!0,i),delete c[i]),r(e)}),(function(e){f||(b(e,!1,i),delete c[i]),n(e)}))},function(){f=!0,u.sendRequest=y,c={}}};var o=n(r(8416)),i=n(r(8698)),a=n(r(861)),s=n(r(7167));function u(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},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=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){(0,o.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var d=new Set(["get","put","post","patch","head","delete","options","upload","download"]),h=new Set(["urlencoded","json","utf8"]),p=new Set(["raw","multipart"]),v="ionic-",g=new Set(["desktop","mobileweb","pwa"]),y=new Set(["FormData"]),b=new Set,_=new Set(["string"]),m=new Set(["string","array"]),w={utf8:_,urlencoded:new Set(["object"]),json:new Set(["array","object"]),raw:new Set(["Uint8Array","ArrayBuffer"]),default:b};function x(e,t,r){if("string"!=typeof t)throw new Error("".concat(r," must be one of: ").concat((0,a.default)(e).join(", ")));if(t=t.trim().toLowerCase(),!e.has(t))throw new Error("".concat(r," must be one of: ").concat((0,a.default)(e).join(", ")));return t}function O(e,t,r){if("object"!==(0,i.default)(e))throw new Error(r);for(var n=0,o=Object.keys(e);n<o.length;n++){var a=o[n];if(!t.has((0,i.default)(e[a])))throw new Error(r)}return e}function E(e,t){return l(l({},e),t)}function j(e,t){return t?encodeURIComponent(e):e}function P(e,t,r){return e.length?r?"".concat(encodeURIComponent(e),"[").concat(encodeURIComponent(t),"]"):"".concat(e,"[").concat(t,"]"):r?encodeURIComponent(t):t}function R(e,t,r){var n,o=[],a=u(t);try{for(a.s();!(n=a.n()).done;){var s=n.value;Array.isArray(s)?o.push(R("".concat(e,"[]"),s,r)):"object"!==(0,i.default)(s)?o.push("".concat(P(e,"",r),"=").concat(j(s,r))):o.push(S("".concat(e,"[]").concat(s),r,void 0))}}catch(e){a.e(e)}finally{a.f()}return o.join("&")}function S(e,t,r){var n=[];for(var o in t)if(t.hasOwnProperty(o)){var a=e.length?"".concat(e,"[").concat(o,"]"):o;Array.isArray(t[o])?n.push(R(a,t[o],r)):"object"!==(0,i.default)(t[o])||null===t[o]?n.push("".concat(P(e,o,r),"=").concat(j(t[o],r))):n.push(S(a,t[o],r))}return n.join("&")}function A(e,t){if(!e.length||!t.length)return e;var r=new URL(e),n=r.host,o=r.pathname,i=r.search,a=r.hash,s=r.protocol;return"".concat(s,"//").concat(n).concat(o).concat(i.length?"".concat(i,"&").concat(t):"?".concat(t)).concat(a)}function M(e,t){var n=(0,i.default)(e),o=function(e){return w[e]||w.default}(t),s=function(e){return"multipart"===e?y:b}(t);if(s.size>0){var u=!1;if(s.forEach((function(t){r.g[t]&&e instanceof r.g[t]&&(u=!0)})),!u)throw new Error("INSTANCE_TYPE_MISMATCH_DATA ".concat((0,a.default)(s).join(", ")))}if(0===s.size&&!o.has(n))throw new Error("TYPE_MISMATCH_DATA ".concat((0,a.default)(o).join(", ")));return"utf8"===t?e:JSON.stringify(e,void 0,2)}var k=0},989:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=void 0;function n(){var n={online:window.navigator.onLine,effectiveType:"UNKOWN"};window.navigator.onLine?window.navigator.connection&&window.navigator.connection.effectiveType&&(n.effectiveType=r[window.navigator.connection.effectiveType]||"UNKNOWN"):n.effectiveType="NONE",t&&n.online===t.online&&n.effectiveType===t.effectiveType||(t=n,e.addEvent("lr.network.NetworkStatusEvent",(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).isEnabled;return void 0===e||e?n:null})))}setTimeout(n),window.navigator.connection&&"function"==typeof window.navigator.connection.addEventListener&&window.navigator.connection.addEventListener("change",n);return window.addEventListener("online",n),window.addEventListener("offline",n),function(){window.removeEventListener("offline",n),window.removeEventListener("online",n),window.navigator.connection&&"function"==typeof window.navigator.connection.removeEventListener&&window.navigator.connection.removeEventListener("change",n)}};var r={"slow-2g":"SLOW2G","2g":"TWOG","3g":"THREEG","4g":"FOURG"}},1105:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.setActive=function(e){u=e},t.default=function(e){var t=e.addRequest,r=e.addResponse,n=e.isIgnored,f=e.logger,l=e.shouldAugmentNPS,d=void 0===l||l,h=e.shouldParseXHRBlob,p=void 0!==h&&h,v=XMLHttpRequest,g=new WeakMap,y=!1,b="xhr-";return window._lrXMLHttpRequest=XMLHttpRequest,XMLHttpRequest=function(e,l){var h=new v(e,l);if(!u)return h;g.set(h,{xhrId:++c,headers:{}});var _=h.open;var m=h.send;d&&(h.open=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];try{var n=t[1];if(window.URL&&"function"==typeof window.URL&&0===n.search(s.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]"),u=a?"".concat(a,"\n\n"):"";i.searchParams.set("response[text]","".concat(u,"<").concat(o.href,"|View LogRocket session>")),t[1]=i.href}}catch(e){}return _.apply(this,t)},h.send=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];try{var n=g.get(h);if(window.URL&&"function"==typeof window.URL&&n&&n.url&&0===n.url.search(s.DELIGHTED_RESPONSES_REGEX)&&t.length&&-1!==t[0].indexOf(s.DELIGHTED_FEEDBACK_PREFIX)){var o=new window.URL(f.recordingURL);o.searchParams.set("nps","delighted");var i=encodeURIComponent(o.href),u=t[0].split("&").map((function(e){if((0,a.default)(e,s.DELIGHTED_FEEDBACK_PREFIX)){var t=e===s.DELIGHTED_FEEDBACK_PREFIX;return"".concat(e).concat(t?"":"\n\n","<").concat(i,"|View LogRocket session>")}return e})).join("&");t[0]=u}}catch(e){}return m.apply(this,t)}),(0,i.default)(h,"open",(function(e,t){if(!y){var r=g.get(h);r.method=e,r.url=t}})),(0,i.default)(h,"send",(function(e){if(!y){var r=g.get(h);if(r){var n={url:r.url,method:r.method&&r.method.toUpperCase(),headers:(0,o.default)(r.headers||{},(function(e){return e.join(", ")})),body:e};t("".concat(b).concat(r.xhrId),n)}}})),(0,i.default)(h,"setRequestHeader",(function(e,t){if(!y){var r=g.get(h);r&&(r.headers=r.headers||{},r.headers[e]=r.headers[e]||[],r.headers[e].push(t))}}));var w={readystatechange:function(){if(!y&&4===h.readyState){var e=g.get(h);if(!e)return;if(n("".concat(b).concat(e.xhrId)))return;var t,o=(h.getAllResponseHeaders()||"").split(/[\r\n]+/).reduce((function(e,t){var r=e,n=t.split(": ");if(n.length>0){var o=n.shift(),i=n.join(": ");e[o]?r[o]+=", ".concat(i):r[o]=i}return r}),{});try{switch(h.responseType){case"json":t=f._shouldCloneResponse?JSON.parse(JSON.stringify(h.response)):h.response;break;case"arraybuffer":case"blob":t=h.response;break;case"document":t=h.responseXML;break;case"text":case"":t=h.responseText;break;default:t=""}}catch(e){t="LogRocket: Error accessing response."}var i={url:e.url,status:h.status,headers:o,body:t,method:(e.method||"").toUpperCase()};if(p&&i.body instanceof Blob){var a=new FileReader;a.readAsText(i.body),a.onload=function(){try{i.body=JSON.parse(a.result)}catch(e){}r("".concat(b).concat(e.xhrId),i)}}else r("".concat(b).concat(e.xhrId),i)}}};return Object.keys(w).forEach((function(e){h.addEventListener(e,w[e])})),h},XMLHttpRequest.prototype=v.prototype,["UNSENT","OPENED","HEADERS_RECEIVED","LOADING","DONE"].forEach((function(e){XMLHttpRequest[e]=v[e]})),function(){y=!0,XMLHttpRequest=v}};var o=n(r(9645)),i=n(r(7800)),a=n(r(9242)),s=r(4005),u=!0;var c=0},5818:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=Date.now.bind(Date),n=r(),o="undefined"!=typeof performance&&performance.now?performance.now.bind(performance):function(){return r()-n};t.default=o},7807:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DONE_POSTING=void 0;t.DONE_POSTING=-1},8316:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(861)),i=n(r(8698)),a=n(r(6690)),s=r(7807),u=function e(t){var r=t.worker,n=t.onReceiveFullMessage;(0,a.default)(this,e);var u=[];r.addEventListener("message",(function(e){if(e.data===s.DONE_POSTING){var t=[];u.forEach((function(e){e&&"object"===(0,i.default)(e)&&t.push(e)})),t.forEach((function(e){for(var t in e)e.hasOwnProperty(t)&&(e[t]=u[e[t]])})),u.length>0&&(n(u[0]),u=[])}else u=[].concat((0,o.default)(u),(0,o.default)(e.data))}))};t.default=u},4774:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(4687)),i=n(r(7424)),a=n(r(6690)),s=n(r(9728)),u=n(r(8698)),c=n(r(5818)),f=r(7807),l=n(r(7167));function d(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return h(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},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=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var p=2,v=4,g=8,y=function(e,t){var r=Object.getPrototypeOf(e);return null!==r&&"function"==typeof r[t]};function b(e){if(Array.isArray(e))return e.map((function(e){return"object"===(0,u.default)(e)&&null!==e?b(e):e}));for(var t={},r=0,n=Object.keys(e);r<n.length;r++){var o,i=n[r],a=e[i];null!==(o=Object.getOwnPropertyDescriptor(e,i))&&void 0!==o&&o.hasOwnProperty("get")?t[i]="[object Getter]":"object"===(0,u.default)(a)&&null!==a?t[i]=b(a):t[i]=a}return t}var _=function(){function e(t){var r=t.size,n=t.start;(0,a.default)(this,e),this.i=void 0,this.sum=void 0,this.size=void 0,this.values=void 0,this.i=1,this.sum=n,this.size=r,this.values=new Array(r),this.values[0]=n}return(0,s.default)(e,[{key:"add",value:function(e){var t=this.i++%this.size;this.sum-=this.values[t]||0,this.values[t]=e,this.sum+=e}},{key:"avg",value:function(){return this.sum/Math.min(this.size,this.i)}}]),e}(),m=function(){function e(t){var r=t.worker,n=t.isReactNative,o=void 0!==n&&n;(0,a.default)(this,e),this._worker=void 0,this._messages=void 0,this._byteCache=void 0,this._byteStreams=void 0,this._throughput=void 0,this._bytes=void 0,this._isProcessing=void 0,this._isReactNative=void 0,this._queue=void 0,this._doWork=void 0,this._worker=r,this._messages=[],this._byteCache={},this._byteStreams={},this._throughput=new _({size:10,start:1e3}),this._bytes=0,this._isProcessing=!1,this._isReactNative=o,this._queue=[],this._doWork=this.doWorkGenerator()}return(0,s.default)(e,[{key:"sendQueue",value:function(){try{this._worker.postMessage(this._queue)}catch(n){var e,t=d(this._queue);try{for(t.s();!(e=t.n()).done;){var r=e.value;try{this._worker.postMessage([r])}catch(e){this._worker.postMessage([{}.toString.call(r)])}}}catch(e){t.e(e)}finally{t.f()}}this._queue=[]}},{key:"doWorkGenerator",value:o.default.mark((function e(){var t,r=this;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=o.default.mark((function e(){var t,n,a,s,u,c,l,h,b,_,m,w,x,O,E,j,P;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r._messages.length){e.next=4;break}return e.next=3,-1;case 3:return e.abrupt("return","continue");case 4:if(t=new Map,n=[],a=0,s=function(e){var r=t.get(e);return void 0===r&&(r=n.length,t.set(e,r),n.push(e)),r},u=function e(t){if(null==t)return t;try{var n={}.toString.call(t);switch(n){case"[object String]":return a+=t.length*p,t.valueOf();case"[object Boolean]":return a+=v,t;case"[object Number]":case"[object Date]":return a+=g,t;case"[object Error]":case"[object DOMError]":case"[object DOMException]":var o="".concat(t.constructor.name,": ").concat(t.message||t.name);return a+=o.length*p,o;case"[object Object]":if(y(t,"toJS")&&y(t,"toJSON"))return e(t.toJSON());case"[object Array Iterator]":case"[object Array]":var i=Array.isArray(t)?[]:{};for(var u in t){var c;Object.prototype.hasOwnProperty.call(t,u)&&(a+=u.length*p,!r._isReactNative&&null!==(c=Object.getOwnPropertyDescriptor(t,u))&&void 0!==c&&c.hasOwnProperty("get")?i[u]=s("[object Getter]"):i[u]=s(t[u]))}return i;default:return n}}catch(e){return{}}},!(c=r._messages.shift())){e.next=44;break}b=(0,i.default)(c,2),_=b[0],m=b[1],w=null!==(l=null==_||null===(h=_.event)||void 0===h?void 0:h.type)&&void 0!==l?l:null==_?void 0:_.type,s(_),x=a,O=d(n),e.prev=16,O.s();case 18:if((E=O.n()).done){e.next=29;break}if(j=E.value,P=u(j),!(r._queue.length&&a-x>r._throughput.avg())){e.next=26;break}return r.sendQueue(),e.next=25,a-x;case 25:x=a;case 26:r._queue.push(P);case 27:e.next=18;break;case 29:e.next=34;break;case 31:e.prev=31,e.t0=e.catch(16),O.e(e.t0);case 34:return e.prev=34,O.f(),e.finish(34);case 37:return r._byteCache[w].add(a),r._queue.length>0&&r.sendQueue(),r._isReactNative&&r._worker.donePostingMessage?r._worker.donePostingMessage():r._worker.postMessage(f.DONE_POSTING),r._byteStreams[w]-=m,r._bytes-=m,e.next=44,a-x;case 44:case"end":return e.stop()}}),e,null,[[16,31,34,37]])}));case 1:return e.delegateYield(t(),"t0",3);case 3:if("continue"!==e.t0){e.next=6;break}return e.abrupt("continue",1);case 6:e.next=1;break;case 8:case"end":return e.stop()}}),e)}))},{key:"_processMessages",value:function(){var e=this;if(!this._isProcessing){this._isProcessing=!0;var t=(0,l.default)((function(){var r=0,n=(0,c.default)()+5;do{var o=e._doWork.next().value;if(!("number"==typeof o&&o>0))return void(e._isProcessing=!1);r+=o}while((0,c.default)()<n);e._throughput.add(r),setTimeout(t)}));setTimeout(t)}}},{key:"postMessage",value:function(e){var t,r,n=e;this._isReactNative&&(n=b(e));var o=null!==(t=null===(r=n.event)||void 0===r?void 0:r.type)&&void 0!==t?t:n.type;this._byteCache[o]||(this._byteCache[o]=new _({size:5,start:n.sizeOverride||0}));var i=this._byteCache[o].avg();n.sizeOverride&&(i=n.sizeOverride);var a=this._byteStreams[o]||0;return this._byteStreams[o]=a+i,this._bytes+=i,delete n.sizeOverride,this._messages.push([n,i]),this._processMessages(),[this._bytes,this._byteStreams]}}]),e}();t.default=m},4523:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MessageSender",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"MessageReceiver",{enumerable:!0,get:function(){return i.default}});var o=n(r(4774)),i=n(r(8316))},6410:function(e,t,r){"use strict";var n=r(5643),o=r(4576);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(7472)),a=n(r(7363)),s=n(r(3051)),u=n(r(3237)),c=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(2706));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){(0,i.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var h=function(){function e(){(0,a.default)(this,e),this.reduxStateByStoreId={}}return(0,s.default)(e,[{key:"trackState",value:function(e){var t;this.reduxStateByStoreId[e.storeId]=null!==(t=e.state)&&void 0!==t?t:e.stateDelta}},{key:"encodeInitialState",value:function(e){return this.trackState(e),d(d({},e),{},{state:c.encodeAsTable(e.state)})}},{key:"getInitialStates",value:function(){var e=this;return Object.keys(this.reduxStateByStoreId).map((function(t){var r,n=e.reduxStateByStoreId[t];return{storeId:parseInt(t,10),state:null!==(r=n.state)&&void 0!==r?r:n}}))}},{key:"encodeReduxAction",value:function(e){var t=d({},e),r=this.reduxStateByStoreId[e.storeId];if(r){var n=u.default.diff({o:r.state},{o:e.stateDelta});this.reduxStateByStoreId[e.storeId]={state:e.stateDelta},t.stateDelta=c.encodeAsTable(void 0!==n?n:null)}else this.reduxStateByStoreId[e.storeId]={state:e.stateDelta},t.state=c.encodeAsTable(e.stateDelta),t.stateDelta=c.encode(null);return t.action=c.encodeAsTable(e.action),t}}]),e}();t.default=h},9588:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prepareCaptureMessage=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={exceptionType:"MESSAGE",message:e};return(0,n.scrubException)(r,t),r},t.prepareCaptureException=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={exceptionType:"WINDOW",errorType:e.name,message:e.message};(0,n.scrubException)(r,t);var o={_stackTrace:c(e.stack)};return{data:r,addEventOptions:o}};var n=r(6731);function o(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},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 a,s=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){u=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(u)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var a=/^(.*?)(?:@)(.*?)(?::(\d+))?(?::(\d+))?$/i,s=/^(.*?)(?:^)(.*?)(?::(\d+))(?::(\d+))$/i,u=/^.*at (.*?)\s*\(.*?(\S*?)(?::(\d+))?(?::(\d+))?\)$/i;function c(e){var t,r=[],n=o(e.split("\n"));try{for(n.s();!(t=n.n()).done;){var i=t.value;i=i.trim();var c,f=void 0;if(f=i.startsWith("at")?u.exec(i):i.includes("@")?a.exec(i):s.exec(i))r.push({fileName:null===(c=f[2])||void 0===c?void 0:c.trim(),functionName:f[1],lineNumber:f[3]?+f[3]:void 0,columnNumber:f[4]?+f[4]:void 0})}}catch(e){n.e(e)}finally{n.f()}return r}},8240:function(e,t,r){"use strict";var n=r(5643);Object.defineProperty(t,"__esModule",{value:!0});var o={};t.default=void 0;var i=n(r(5838)),a=n(r(2695)),s=n(r(5571)),u=n(r(4262)),c=n(r(7472)),f=r(7305),l=n(r(887)),d=r(8094),h=r(3871);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){(0,c.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}Object.keys(h).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===h[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}}))}));var g,y=f.NativeModules.LogRocketNativeModule,b=f.NativeModules.NativeUnimoduleProxy,_=y||{},m=_.initWithConfig,w=_.installShutdownHandler,x=_.postMessage,O=_.donePostingMessage,E=_.identifyWithTraits,j=_.track,P=_.shutdown,R=_.pauseViewCapture,S=_.unpauseViewCapture,A=_.tagPage,M=_.registerWebView,k=function(){var e,t;return["storeClient","standalone"].includes(null==b||null===(e=b.moduleConstants)||void 0===e||null===(t=e.ExponentConstants)||void 0===t?void 0:t.executionEnvironment)},I=y?(0,l.default)():{_run:function(){},shutdown:function(){}},T=/^[a-z0-9_-]+\/[a-z0-9_-]+$/,D="@logrocket/react-native cannot be used in Expo Go. See https://docs.logrocket.com/docs/react-native-expo-go for more information.",L=null,N="",C=function(e){for(var t=v({},e),r=0,n=Object.entries(t);r<n.length;r++){var o=(0,u.default)(n[r],2),i=o[0];o[1]||(t[i]=function(){})}return t},U={init:function(e){var t=arguments;return(0,s.default)(i.default.mark((function r(){var n,o,s;return i.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n=t.length>1&&void 0!==t[1]?t[1]:{},o=(0,a.default)({},n),!k()){r.next=4;break}return console.warn(D),r.abrupt("return");case 4:if(m){r.next=8;break}return console.warn("@logrocket/react-native native module is missing. Please review installation instructions."),I.shutdown(),r.abrupt("return");case 8:if("string"==typeof e&&T.test(e)){r.next=11;break}return console.warn("LogRocket: must pass a valid application id to the LogRocket instance."),r.abrupt("return");case 11:if(s=I._didInit,r.prev=12,null===o.updateId&&(o.updateId=void 0),null===o.expoChannel&&(o.expoChannel=void 0),s){r.next=19;break}return r.next=18,m(e,v({serverURL:"https://r.lr-intake.com/i",enableIPCapture:!0,enableJetpackCompose:!1},o));case 18:s=r.sent;case 19:return s?(L=o,N=e,I.init(o,C({postMessage:x,donePostingMessage:O,identifyWithTraits:E,shutdown:P,track:j,tagPage:A})),w&&w((function(){return I.uninstall()}))):(I.disableAndClearBuffer(),__DEV__&&console.warn("LogRocket initialization failed! Check device logs for further details.")),r.abrupt("return",s);case 23:return r.prev=23,r.t0=r.catch(12),console.warn("LogRocket failed to initialize!",r.t0.stack),r.abrupt("return",!1);case 27:case"end":return r.stop()}}),r,null,[[12,23]])})))()},pauseViewCapture:function(){R&&R()},unpauseViewCapture:function(){S&&S()},captureException:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};I._run((function(r){r.captureException(e,t)}))},captureMessage:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};I._run((function(r){r.captureMessage(e,t)}))},getSessionURL:function(e){I.addAcceptanceTask(e)},identify:function(e,t){I._run((function(r){r.identify(e,t)}))},reduxMiddleware:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=function(){return function(e){return function(t){return e(t)}}};return k()?(console.warn(D),t):"function"==typeof x&&"function"==typeof O?(0,d.createMiddleware)(I,e):t},track:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};I._run((function(r){r.track(e,t)}))},tagPage:function(e){I._run((function(t){t.tagPage(e)}))},log:function(e){I._run((function(t){t.addEvent("lr.core.LogEvent",(function(){return{logLevel:"LOG",args:e}}))}))},startNewSession:function(e){var t=arguments,r=this;return(0,s.default)(i.default.mark((function n(){var o,u;return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(o=t.length>1&&void 0!==t[1]?t[1]:{},u=(0,a.default)({},o),e){n.next=3;break}return n.abrupt("return",r.startNewSessionSameConfig());case 3:return g||(g=new Promise(function(){var t=(0,s.default)(i.default.mark((function t(n){var o,a;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=u.forceCleanStart,a=!1,t.prev=2,t.next=5,r.shutdown();case 5:return t.next=7,r.init(e,v(v({},u),{},{forceCleanStart:!0}));case 7:a=t.sent,t.next=13;break;case 10:t.prev=10,t.t0=t.catch(2),console.error("Failed to start a fresh LogRocket session",t.t0.stack);case 13:return t.prev=13,g=null,L.forceCleanStart=o,t.finish(13);case 17:n(a);case 18:case"end":return t.stop()}}),t,null,[[2,10,13,17]])})));return function(e){return t.apply(this,arguments)}}())),n.abrupt("return",g);case 5:case"end":return n.stop()}}),n)})))()},startNewSessionSameConfig:function(){var e=this;return(0,s.default)(i.default.mark((function t(){return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null==L||""===N){t.next=4;break}return t.abrupt("return",e.startNewSession(N,v({},L)));case 4:return I.info("The SDK is currently not active and has not previously been initialized. SDK.init must be called first if no args are specified. No new session will be started."),t.next=7,e.shutdown();case 7:return t.abrupt("return",new Promise(function(){var e=(0,s.default)(i.default.mark((function e(t){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t(!1);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 8:case"end":return t.stop()}}),t)})))()},registerWebView:function(e){"android"===f.Platform.OS&&(null==M||M(e))},shutdown:function(){return I.shutdown()}};t.default=U},887:function(e,t,r){"use strict";var n=r(5643),o=r(4576);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return new N},t.MAX_QUEUE_SIZE=void 0;var i=n(r(5838)),a=n(r(4576)),s=n(r(5571)),u=n(r(4262)),c=n(r(7363)),f=n(r(3051)),l=n(r(7472)),d=r(7305),h=n(r(7986)),p=n(r(5749)),v=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var r=P(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(2706)),g=r(6163),y=r(1365),b=r(2440),_=r(1550),m=n(r(2530)),w=n(r(6410)),x=n(r(6339)),O=r(9588),E=r(4523),j=n(r(3582));function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(P=function(e){return e?r:t})(e)}function R(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return S(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return S(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},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=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function M(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach((function(t){(0,l.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var k=new Set(["[object Error]","[object DOMError]","[object DOMException]"]),I=1e3;t.MAX_QUEUE_SIZE=I;var T=["%c prev state","%c next state","%c action ","%c error ","%c action","%c error"],D=function(e){return function(){try{return e.apply(void 0,arguments)}catch(e){if(r.g&&r.g._lrdebug)throw e}}};function L(e){var t={}.toString.call(e),r=e;return k.has(t)&&(r="".concat(e.constructor.name,": ").concat(e.message||e.name)),v.encodeAsTable(r)}var N=function(){function e(){var t=this;(0,c.default)(this,e),this._getConfig=function(e){if(null==t._config)return{};var r=e.split(".");switch(r[1]){case"network":return t._config.network;case"core":if("LogEvent"===r[2])return t._config.console;default:return{}}},this._isReduxLogger=function(e){if(!e||!e.args)return!1;var t=e.args;return!!(Array.isArray(t)&&3===t.length&&T.indexOf(t[0])>-1)},this.addEvent=D((function(e,r,n){if(!t._isDisabled){var o=r(t._getConfig(e)),i=Date.now();if(null!=o&&!t._isDisabled){var a=D((function(){if("lr.redux.ReduxAction"===e&&o.action&&o.action.type){var r=o.action.type;t._reduxActions[r]?t._reduxActions[r]++:t._reduxActions[r]=1,o.count=t._reduxActions[r]}if("lr.core.LogEvent"===e&&t._isReduxLogger(o))t._didWarnAboutReduxLogger||(t._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{var a={type:"ADD_EVENT",event:{type:e,data:{}}};switch(e){case"lr.redux.InitialState":var s=t.reduxEncoder.encodeInitialState(o);a.event.data={reduxData:s};break;case"lr.redux.ReduxAction":var c=t.reduxEncoder.encodeReduxAction(o);a.event.data={reduxData:c};break;case"lr.core.Exception":var f=o.exceptionType,l=o.message,d=o.errorType,h=void 0===d?"":d,p=o.tags,v=o.extra;a.event.data="MESSAGE"===f?{message:l,options:{tags:p,extra:v}}:{errorMessage:L(l),errorType:h,exceptionType:f,stackTrace:n&&n._stackTrace||"[]"};break;case"lr.core.LogEvent":var y=o.logLevel,b=o.args,_=b&&b.map((function(e){return L(e)}));a.event.data={level:y,args:_||[]};break;case"lr.network.RequestEvent":t._inflightNetwork[o.reqId]={time:i};var m=(0,g.getRequestData)(o);a.event.data={reqId:o.reqId,request:m};break;case"lr.network.ResponseEvent":var w=t._inflightNetwork[o.reqId],x=(0,g.getResponseData)(o);w&&w.time&&(x.duration=i-w.time),a.event.data={reqId:o.reqId,response:x},delete t._inflightNetwork[o.reqId]}if(!(0,j.default)(a.event.data)){var O=t._wall.postMessage(a),E=(0,u.default)(O,2);t._wallBytes=E[0],t.wallByteStreams=E[1]}}}));if(t._didInit)a();else if(e.startsWith("lr.redux"))t.reduxEncoder.trackState(o);else{if(t._buffer.length>=I)return x.default.warn("LogRocket has not been initialized. Event buffering is now disabled."),t.disableAndClearBuffer(),void t.uninstall();t._buffer.push(a)}}}})),this.shutdown=D((0,s.default)(i.default.mark((function e(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t._didInit){e.next=6;break}return t.uninstall(),e.next=4,t._shutdown();case 4:e.next=7;break;case 6:t.disableAndClearBuffer();case 7:t.eventListener&&t.eventListener.remove();case 8:case"end":return e.stop()}}),e)})))),this.captureException=D((function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,O.prepareCaptureException)(e,r),o=n.data,i=n.addEventOptions;t.addEvent("lr.core.Exception",(function(){return o}),i)})),this.captureMessage=D((function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,O.prepareCaptureMessage)(e,r);t.addEvent("lr.core.Exception",(function(){return n}))})),this.uninstall=D((function(){t._installed&&t._installed.forEach((function(e){return e()})),t.reset()})),this.textEncoder=r.g.TextEncoder&&new r.g.TextEncoder,this._customPropCount=0,this._reduxActions={},this._buffer=[],this._didWarnAboutReduxLogger=!1,this._didWarnAboutReduxSize=!1,this._didWarnAboutAcceptanceTasks=!1,this.wallByteStreams={},this.reduxEncoder=new w.default,this._onAcceptanceTasks=[],this._sessionURL="";var n=function(e){e.errorMessage&&(e.shouldWarnAboutReduxSize||console.warn(e.errorMessage),e.shouldWarnAboutReduxSize&&!t._didWarnAboutReduxSize&&(t._didWarnAboutReduxSize=!0,console.warn(e.errorMessage))),e.shouldDisableAndFreeMemory&&t.disableAndClearBuffer()},o=new d.NativeEventEmitter(d.NativeModules.LogRocketNativeModule);this.eventListener=o.addListener("LogRocketSDKOnError",D((function(e){"ios"===d.Platform.OS?setTimeout((function(){n(e)}),1):n(e)}))),o.addListener("LogRocketSDKOnSessionAccepted",D((function(e){if(e.sessionURL){t._sessionURL=e.sessionURL;var r,n=R(t._onAcceptanceTasks);try{for(n.s();!(r=n.n()).done;){(0,r.value)(t._sessionURL)}}catch(e){n.e(e)}finally{n.f()}}}))),o.addListener("LogRocketSDKOnStartSessionFromInactive",D((function(){t.addInitialReduxStates()}))),this.reset()}return(0,f.default)(e,[{key:"_run",value:function(e){if(!this._isDisabled)if(this._didInit)e(this);else{if(this._buffer.length>=I)return x.default.warn("LogRocket has not been initialized. Event buffering is now disabled."),this.disableAndClearBuffer(),void this.uninstall();this._buffer.push(e)}}},{key:"_registerExceptions",value:function(){var e=this,t=ErrorUtils.getGlobalHandler&&ErrorUtils.getGlobalHandler();ErrorUtils.setGlobalHandler((function(r,n){try{e.captureException(r)}catch(e){}t&&t(r,n)}));var n=r(6905);n.disable(),n.enable({allRejections:!0,onUnhandled:D((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 o=r(9594),i=o._onHandle||o._Y,a=o._onReject||o._Z,s=r.g.Promise._onHandle,u=r.g.Promise._onReject,c=r.g.Promise._Y,f=r.g.Promise._X;o!==r.g.Promise&&void 0!==i&&void 0!==a&&("_onHandle"in r.g.Promise&&"_onReject"in r.g.Promise?(r.g.Promise._onHandle=i,r.g.Promise._onReject=a):"_Y"in r.g.Promise&&"_Z"in r.g.Promise&&(r.g.Promise._Y=i,r.g.Promise._Z=a)),this._installed.push((function(){t&&ErrorUtils.setGlobalHandler(t),n.disable(),r.g.Promise._onHandle=s,r.g.Promise._onReject=u,r.g.Promise._Y=c,r.g.Promise._X=f}))}},{key:"addAcceptanceTask",value:function(e){!this._isDisabled&&this._sessionURL&&e(this._sessionURL),this._onAcceptanceTasks.length<128?this._onAcceptanceTasks.push(e):this._didWarnAboutAcceptanceTasks||(this._didWarnAboutAcceptanceTasks=!0,console.warn("LogRocket: acceptance task queue has reached maximum size."))}},{key:"track",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"==typeof e)if(0!==e.length){var r=(0,b.sanitizeEventProps)(t,y.MAX_CUSTOM_PROPS_PER_SESSION-this._customPropCount),n=r.eventProps,o=r.errors;this._customPropCount+=Object.keys(n).length,o.forEach((function(e){return console.warn("LogRocket Track API: ".concat((0,_.printEventPropError)(e)))})),this._track(e,n)}else console.warn("LogRocket: custom event name must not be an empty string");else console.warn("LogRocket: must pass string to track()")}},{key:"tagPage",value:function(e){"string"==typeof e?this._tagPage(e):console.warn("LogRocket: must pass string to tagPage()")}},{key:"_makeUuid",value:function(){return(0,m.default)()}},{key:"_divineAnonymousId",value:function(){return this._lastIdentifyCall&&this._lastIdentifyCall.isAnonymous?this._lastIdentifyCall.userID:this._makeUuid()}},{key:"identify",value:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0],o=t[1],i=!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==o&&"object"===(0,a.default)(n)&&null!==n&&null==(n=(o=n||{}).userID)&&this._lastIdentifyCall&&this._lastIdentifyCall.userID){var s=this._lastIdentifyCall;n=s.userID,i=s.isAnonymous}if(!n){if(o&&(o.name||o.email)){var u=o.name?"name":"email";return void console.warn("LogRocket: user ".concat(u," passed to identify, but no userID given: identify(userId, { ").concat(u,": '...' })."))}i=!0,n=this._divineAnonymousId()}if(/string|number/.test((0,a.default)(n))){if(!(n.toString().length>this._maxIdentityArgLength)){var c=o;if(o){for(var f={},l=["userID","name","email"],d=0,h=Object.keys(o||{});d<h.length;d++){var p=h[d],v=o[p];if(-1===l.indexOf(p)){if(/boolean|number|string/.test((0,a.default)(v))){var g=p.toString();if(this.textEncoder&&this.textEncoder.encode(g).length>this._maxUserTraitBytes){console.warn("LogRocket: Ignoring large user trait key ".concat(g));continue}if(v.toString().length>this._maxIdentityArgLength){console.warn('LogRocket: ignoring large user trait value for key "'.concat(g,'" (max ').concat(this._maxIdentityArgLength," characters)"));continue}f[g]=v.toString()}}else if(v&&"string"==typeof v){if(v.length>this._maxIdentityArgLength){console.warn('LogRocket: too large generic trait "'.concat(p,'" passed to identify() (max ').concat(this._maxIdentityArgLength," characters)"));continue}f[p]=v}}c=f}return this._lastIdentifyCall={userID:n.toString(),email:c?c.email:void 0,name:c?c.name:void 0,isAnonymous:i},this._identifyWithTraits(this._lastIdentifyCall.userID,c,i)}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(e,t){var r,n=t.postMessage,o=void 0===n?function(){}:n,i=t.donePostingMessage,a=void 0===i?function(){}:i,s=t.identifyWithTraits,u=void 0===s?function(){}:s,c=t.track,f=void 0===c?function(){}:c,l=t.tagPage,d=void 0===l?function(){}:l,v=t.shutdown,g=void 0===v?function(){}:v,y=e.maxUserTraitBytes,b=void 0===y?128:y,_=e.shouldDetectExceptions,m=void 0===_||_,w=e.shouldParseXHRBlob,x=void 0!==w&&w;if(!this._didInit)for(this._installed.push((0,p.default)(this)),this._installed.push((0,h.default)(this,{isReactNative:!0,shouldAugmentNPS:!1,shouldParseXHRBlob:x,isDisabled:!1===(null==e||null===(r=e.network)||void 0===r?void 0:r.isEnabled)})),m&&this._registerExceptions(),this._didInit=!0,this._isDisabled=!1,this._postMessage=o,this._donePostingMessage=a,this._config=function(e){return M(M({},e),{},{console:M(M({},e.console||{}),{},{shouldAggregateConsoleErrors:!1})})}(e),this._identifyWithTraits=u,this._maxUserTraitBytes=b,this._track=f,this._tagPage=d,this._shutdown=g,this._wall=new E.MessageSender({worker:{postMessage:this._postMessage,donePostingMessage:this._donePostingMessage},isReactNative:!0}),this.addInitialReduxStates();this._buffer.length>0;){this._buffer.shift()(this)}}},{key:"addInitialReduxStates",value:function(){var e,t=this,r=R(this.reduxEncoder.getInitialStates());try{var n=function(){var r=e.value;t.addEvent("lr.redux.InitialState",(function(){return M({},r)}))};for(r.s();!(e=r.n()).done;)n()}catch(e){r.e(e)}finally{r.f()}}},{key:"disableAndClearBuffer",value:function(){this._isDisabled=!0,this._buffer=[],this._onAcceptanceTasks=[]}},{key:"reset",value:function(){this._didInit=!1,this._config=null,this._installed=[],this._isDisabled=!1,this._didWarnAboutReduxSize=!1,this._sessionURL="",this._postMessage=function(){},this._donePostingMessage=function(){},this._track=function(){},this._tagPage=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}()},6163:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getResponseData=t.getRequestData=void 0;var n=r(7681);t.getRequestData=function(e){var t={};return e.url&&(t.url=e.url),e.body&&(t.body=(0,n.deepArsonifyEncodeAsTable)(e.body)),e.method&&(t.method=e.method),e.headers&&(t.headers=e.headers),t};t.getResponseData=function(e){var t={};return e.status&&(t.statusCode=e.status),e.body&&(t.body=(0,n.deepArsonifyEncodeAsTable)(e.body)),e.headers&&(t.headers=e.headers),t}},3871:function(e,t,r){"use strict";var n=r(5643);Object.defineProperty(t,"__esModule",{value:!0}),t.LRNativeIDRedact=t.LRNativeIDAllow=t.LRRedact=t.LRAllow=t.LRRedactProps=t.LRAllowProps=void 0;var o=n(r(3217)),i=n(r(9497)),a=r(7305),s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"lr-show",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"ios"===a.Platform.OS?t?{nativeID:e,collapsable:!1}:{testID:e,accessible:!0,collapsable:!1}:{testID:e,collapsable:!1}};t.LRAllowProps=s;var u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"lr-hide",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"ios"===a.Platform.OS?t?{nativeID:e,collapsable:!1}:{testID:e,accessible:!1,collapsable:!1}:{testID:e,collapsable:!1}};t.LRRedactProps=u;var c=function(e){return Array.isArray(e)?e:[e]};t.LRAllow=function(e){var t=e.children;return i.default.createElement.apply(i.default,[a.View,s()].concat((0,o.default)(c(t))))};t.LRRedact=function(e){var t=e.children;return i.default.createElement.apply(i.default,[a.View,u()].concat((0,o.default)(c(t))))};t.LRNativeIDAllow=function(e){var t=e.children;return i.default.createElement.apply(i.default,[a.View,s(void 0,!0)].concat((0,o.default)(c(t))))};t.LRNativeIDRedact=function(e){var t=e.children;return i.default.createElement.apply(i.default,[a.View,u(void 0,!0)].concat((0,o.default)(c(t))))}},6339:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={error:console.error.bind(console),warn:console.warn.bind(console),info:console.info.bind(console)};t.default=r},9222:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.stateSanitizer,n=void 0===r?function(e){return e}:r,o=t.actionSanitizer,a=void 0===o?function(e){return e}:o;return function(t){return function(r,o,c){var f=t(r,o,c),l=f.dispatch,d=u++;e.addEvent("lr.redux.InitialState",(function(){var e;try{e=n(f.getState())}catch(e){console.error(e.toString())}return{state:e,storeId:d}}));return s(s({},f),{},{dispatch:function(t){var r,o,s=(0,i.default)();try{o=l(t)}catch(e){r=e}finally{var u=(0,i.default)()-s;e.addEvent("lr.redux.ReduxAction",(function(){var e=null,r=null;try{e=n(f.getState()),r=a(t)}catch(e){console.error(e.toString())}return e&&r?{storeId:d,action:r,duration:u,stateDelta:e}:null}))}if(r)throw r;return o}})}}};var o=n(r(8416)),i=n(r(5818));function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){(0,o.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u=0},6043:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.stateSanitizer,n=void 0===r?function(e){return e}:r,a=t.actionSanitizer,s=void 0===a?function(e){return e}:a;return function(t){var r=i++;return e.addEvent("lr.redux.InitialState",(function(){var e;try{e=n(t.getState())}catch(e){console.error(e.toString())}return{state:e,storeId:r}})),function(i){return function(a){var u,c,f=(0,o.default)();try{c=i(a)}catch(e){u=e}finally{var l=(0,o.default)()-f;e.addEvent("lr.redux.ReduxAction",(function(){var e=null,o=null;try{e=n(t.getState()),o=s(a)}catch(e){console.error(e.toString())}return e&&o?{storeId:r,action:o,duration:l,stateDelta:e}:null}))}if(u)throw u;return c}}}};var o=n(r(5818)),i=0},8094:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createEnhancer",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"createMiddleware",{enumerable:!0,get:function(){return i.default}});var o=n(r(9222)),i=n(r(6043))},8668:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={collectWindowErrors:!0,debug:!1},o="undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{},i=[].slice,a="?",s=/^(?:Uncaught (?:exception: )?)?((?:Eval|Internal|Range|Reference|Syntax|Type|URI)Error): ?(.*)$/;function u(){return"undefined"==typeof document||void 0===document.location?"":document.location.href}n.report=function(){var e,t,r=[],c=null,f=null,l=null;function d(e,t){var o=null;if(!t||n.collectWindowErrors){for(var a in r)if(r.hasOwnProperty(a))try{r[a].apply(null,[e].concat(i.call(arguments,2)))}catch(e){o=e}if(o)throw o}}function h(t,r,o,i,c){if(l)n.computeStackTrace.augmentStackTraceWithInitialElement(l,r,o,t),p();else if(c)d(n.computeStackTrace(c),!0);else{var f,h={url:r,line:o,column:i},v=void 0,g=t;if("[object String]"==={}.toString.call(t))(f=t.match(s))&&(v=f[1],g=f[2]);h.func=a,d({name:v,message:g,url:u(),stack:[h]},!0)}return!!e&&e.apply(this,arguments)}function p(){var e=l,t=c;c=null,l=null,f=null,d.apply(null,[e,!1].concat(t))}function v(e,t){var r=i.call(arguments,1);if(l){if(f===e)return;p()}var o=n.computeStackTrace(e);if(l=o,f=e,c=r,setTimeout((function(){f===e&&p()}),o.incomplete?2e3:0),!1!==t)throw e}return v.subscribe=function(n){!function(){if(t)return;e=o.onerror,o.onerror=h,t=!0}(),r.push(n)},v.unsubscribe=function(e){for(var t=r.length-1;t>=0;--t)r[t]===e&&r.splice(t,1)},v.uninstall=function(){!function(){if(!t)return;o.onerror=e,t=!1,e=void 0}(),r=[]},v}(),n.computeStackTrace=function(){function e(e){if(void 0!==e.stack&&e.stack){for(var t,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,s=e.stack.split("\n"),c=[],f=(/^(.*) is undefined$/.exec(e.message),0),l=s.length;f<l;++f){if(t=n.exec(s[f])){var d=t[2]&&-1!==t[2].indexOf("native");r={url:d?null:t[2],func:t[1]||a,args:d?[t[2]]:[],line:t[3]?+t[3]:null,column:t[4]?+t[4]:null}}else if(t=i.exec(s[f]))r={url:t[2],func:t[1]||a,args:[],line:+t[3],column:t[4]?+t[4]:null};else{if(!(t=o.exec(s[f])))continue;r={url:t[3],func:t[1]||a,args:t[2]?t[2].split(","):[],line:t[4]?+t[4]:null,column:t[5]?+t[5]:null}}!r.func&&r.line&&(r.func=a),c.push(r)}return c.length?(c[0].column||void 0===e.columnNumber||(c[0].column=e.columnNumber+1),{name:e.name,message:e.message,url:u(),stack:c}):null}}function t(e,t,r,n){var o={url:t,line:r};if(o.url&&o.line){if(e.incomplete=!1,o.func||(o.func=a),e.stack.length>0&&e.stack[0].url===o.url){if(e.stack[0].line===o.line)return!1;if(!e.stack[0].line&&e.stack[0].func===o.func)return e.stack[0].line=o.line,!1}return e.stack.unshift(o),e.partial=!0,!0}return e.incomplete=!0,!1}function r(e,i){for(var s,c,f=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,l=[],d={},h=!1,p=r.caller;p&&!h;p=p.caller)if(p!==o&&p!==n.report){if(c={url:null,func:a,line:null,column:null},p.name?c.func=p.name:(s=f.exec(p.toString()))&&(c.func=s[1]),void 0===c.func)try{c.func=s.input.substring(0,s.input.indexOf("{"))}catch(e){}d[""+p]?h=!0:d[""+p]=!0,l.push(c)}i&&l.splice(0,i);var v={name:e.name,message:e.message,url:u(),stack:l};return t(v,e.sourceURL||e.fileName,e.line||e.lineNumber,e.message||e.description),v}function o(t,o){var i=null;o=null==o?0:+o;try{if(i=e(t))return i}catch(e){if(n.debug)throw e}try{if(i=r(t,o+1))return i}catch(e){if(n.debug)throw e}return{name:t.name,message:t.message,url:u()}}return o.augmentStackTraceWithInitialElement=t,o.computeStackTraceFromStackProp=e,o}();var c=n;t.default=c},4005:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DELIGHTED_FEEDBACK_PREFIX=t.DELIGHTED_RESPONSES_REGEX=t.WOOTRIC_RESPONSES_REGEX=void 0;t.WOOTRIC_RESPONSES_REGEX=/^https:\/\/production.wootric.com\/responses/;t.DELIGHTED_RESPONSES_REGEX=/^https:\/\/web.delighted.com\/e\/[a-zA-Z-]*\/c/;t.DELIGHTED_FEEDBACK_PREFIX="comment="},6836:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.createUnsubListener=function(e){return function(){e.clear()}},t.Handler=void 0;var o=n(r(6690)),i=n(r(9728)),a=function(){function e(t){(0,o.default)(this,e),this._value=void 0,this._value=t}return(0,i.default)(e,[{key:"get",value:function(){return this._value}},{key:"clear",value:function(){this._value=void 0}}]),e}();t.Handler=a},7681:function(e,t,r){"use strict";var n=r(8698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{arson:o.encode(e)}},t.deepArsonifyEncodeAsTable=function(e){return{arson:o.encodeAsTable(e)}};var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=a?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(o,s,u):o[s]=e[s]}o.default=e,r&&r.set(e,o);return o}(r(2706));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}},7800:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if("function"!=typeof e[t])return o;try{var i=function(){for(var e,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var o=a.apply(this,r);return null===(e=s.get())||void 0===e||e.apply(this,r),o},a=e[t],s=new n.Handler(r);return e[t]=i,function(){s.clear(),e[t]===i&&(e[t]=a)}}catch(e){return o}};var n=r(6836),o=function(){}},536:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r="undefined"!=typeof console&&console.error&&console.error.bind?console.error.bind(console):function(){};t.default=r},9645:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(null==e)return{};var r={};return Object.keys(e).forEach((function(n){r[n]=t(e[n])})),r}},7167:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};return function(){var r;try{r=e.apply(void 0,arguments)}catch(e){if("undefined"!=typeof window&&window._lrdebug)throw e;var n=t(e);(0,i.default)("LogRocket",e),(0,o.default)(e,n)}return r}};var o=n(r(2769)),i=n(r(536))},6731:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.scrubException=function(e,t){if(t){var r,n=i(u);try{for(n.s();!(r=n.n()).done;){var o=r.value,a=t[o];s(a)&&(e[o]=a.toString())}}catch(e){n.e(e)}finally{n.f()}var f,l=i(c);try{for(l.s();!(f=l.n()).done;){for(var d=f.value,h=t[d]||{},p={},v=0,g=Object.keys(h);v<g.length;v++){var y=g[v],b=h[y];s(b)&&(p[y.toString()]=b.toString())}e[d]=p}}catch(e){l.e(e)}finally{l.f()}}};var o=n(r(8698));function i(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},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,s=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){u=!0,i=e},f:function(){try{s||null==r.return||r.return()}finally{if(u)throw i}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function s(e){return/boolean|number|string/.test((0,o.default)(e))}var u=["level","logger"],c=["tags","extra"]},2769:function(e,t,r){"use strict";var n=r(4836);Object.defineProperty(t,"__esModule",{value:!0}),t.sendTelemetry=function(e,t){if("undefined"!=typeof window&&window._lrdebug)return void(0,i.default)(e);if(t&&t.extra&&t.extra.appID&&"function"==typeof t.extra.appID.indexOf&&0===t.extra.appID.indexOf("au2drp/")&&Math.random()>=.25)return;f(u({message:e},t))},t.default=function(e,t){try{var r,n,o=e.message;try{r=JSON.stringify(t).slice(0,1e3)}catch(e){try{r="Could not stringify payload: ".concat(Object.prototype.toString.call(t))}catch(e){}}try{n=a.default.computeStackTrace(e).stack.map((function(e){return{filename:e.url,lineno:e.line,colno:e.column,function:e.func||"?"}}))}catch(e){}f({message:o,extra:{stringPayload:r},exception:{values:[{type:e.type,value:o,stacktrace:{frames:n}}]}})}catch(e){(0,i.default)("Failed to send",e)}};var o=n(r(8416)),i=n(r(536)),a=n(r(8668));function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){(0,o.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var c="14fb84044a183fd063a4a2d1bb39dfa9a0a95d07";function f(e){try{var t,r,n=e.message,o="https://e.logrocket.com/api/3/store/?sentry_version=7&sentry_client=http%2F3.8.0&sentry_key=b64162b4187a4c5caae8a68a7e291793",a=JSON.stringify(u({message:n,logger:"javascript",platform:"javascript",request:{headers:{"User-Agent":"undefined"!=typeof navigator&&navigator.userAgent},url:"undefined"!=typeof location&&location.href},release:c,environment:(null===(t=window)||void 0===t||null===(r=t.__SDKCONFIG__)||void 0===r?void 0:r.scriptEnv)||"prod"},e));if("undefined"!=typeof window){var s=new(window._lrXMLHttpRequest||XMLHttpRequest);s.open("POST",o),s.send(a)}else"undefined"!=typeof fetch&&fetch(o,{method:"POST",body:a}).catch((function(e){(0,i.default)("Failed to send via fetch",e)}))}catch(e){(0,i.default)("Failed to send",e)}}},9242:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return e&&t&&e.substring(r,r+t.length)===t}},2530:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uuid=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(t){var n=Number(t);return(n^16*Math.random()>>n/4).toString(16)}return r.replace(/[018]/g,e)},t.uuidv7=function(){var e=function(){var e=new Uint8Array(16);if("undefined"!=typeof crypto&&"function"==typeof crypto.getRandomValues)crypto.getRandomValues(e);else for(var t=0;t<e.byteLength;t++)e[t]=n();return e}(),t=Date.now();return e[0]=t/1099511627776&255,e[1]=t/4294967296&255,e[2]=t/16777216&255,e[3]=t/65536&255,e[4]=t/256&255,e[5]=t/1&255,e[6]=15&e[6]|112,e[8]=63&e[8]|128,o(e[0])+o(e[1])+o(e[2])+o(e[3])+"-"+o(e[4])+o(e[5])+"-"+o(e[6])+o(e[7])+"-"+o(e[8])+o(e[9])+"-"+o(e[10])+o(e[11])+o(e[12])+o(e[13])+o(e[14])+o(e[15])},t.extractTimestampFromUuidV7=function(e){var t=e.length-36;return parseInt(e.substring(t,13+t).replace("-",""),16)};var r="10000000-1000-4000-8000-100000000000";var n=function(){return Math.min(255,255*Math.random())};var o=function(e){var t=e.toString(16);return 1===t.length?"0".concat(t):t}},6841:function(){function e(){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 t=-1;e.Diff,e.prototype.diff_main=function(e,t,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==e||null==t)throw new Error("Null input. (diff_main)");if(e==t)return e?[[0,e]]:[];void 0===r&&(r=!0);var i=r,a=this.diff_commonPrefix(e,t),s=e.substring(0,a);e=e.substring(a),t=t.substring(a),a=this.diff_commonSuffix(e,t);var u=e.substring(e.length-a);e=e.substring(0,e.length-a),t=t.substring(0,t.length-a);var c=this.diff_compute_(e,t,i,o);return s&&c.unshift([0,s]),u&&c.push([0,u]),this.diff_cleanupMerge(c),c},e.prototype.diff_compute_=function(e,r,n,o){var i;if(!e)return[[1,r]];if(!r)return[[t,e]];var a=e.length>r.length?e:r,s=e.length>r.length?r:e,u=a.indexOf(s);if(-1!=u)return i=[[1,a.substring(0,u)],[0,s],[1,a.substring(u+s.length)]],e.length>r.length&&(i[0][0]=i[2][0]=t),i;if(1==s.length)return[[t,e],[1,r]];a=s=null;var c=this.diff_halfMatch_(e,r);if(c){var f=c[0],l=c[1],d=c[2],h=c[3],p=c[4],v=this.diff_main(f,d,n,o),g=this.diff_main(l,h,n,o);return v.concat([[0,p]],g)}return n&&e.length>100&&r.length>100?this.diff_lineMode_(e,r,o):this.diff_bisect_(e,r,o)},e.prototype.diff_lineMode_=function(e,r,n){e=(l=this.diff_linesToChars_(e,r))[0],r=l[1];var o=l[2],i=this.diff_bisect_(e,r,n);this.diff_charsToLines_(i,o),this.diff_cleanupSemantic(i),i.push([0,""]);for(var a=0,s=0,u=0,c="",f="";a<i.length;){switch(i[a][0]){case 1:u++,f+=i[a][1];break;case t:s++,c+=i[a][1];break;case 0:if(s>=1&&u>=1){var l=this.diff_main(c,f,!1,n);i.splice(a-s-u,s+u),a=a-s-u;for(var d=l.length-1;d>=0;d--)i.splice(a,0,l[d]);a+=l.length}u=0,s=0,c="",f=""}a++}return i.pop(),i},e.prototype.diff_bisect_=function(e,r,n){for(var o=e.length,i=r.length,a=Math.ceil((o+i)/2),s=a,u=2*a,c=new Array(u),f=new Array(u),l=0;l<u;l++)c[l]=-1,f[l]=-1;c[s+1]=0,f[s+1]=0;for(var d=o-i,h=d%2!=0,p=0,v=0,g=0,y=0,b=0;b<a&&!((new Date).getTime()>n);b++){for(var _=-b+p;_<=b-v;_+=2){for(var m=s+_,w=(P=_==-b||_!=b&&c[m-1]<c[m+1]?c[m+1]:c[m-1]+1)-_;P<o&&w<i&&e.charAt(P)==r.charAt(w);)P++,w++;if(c[m]=P,P>o)v+=2;else if(w>i)p+=2;else if(h){if((E=s+d-_)>=0&&E<u&&-1!=f[E])if(P>=(O=o-f[E]))return this.diff_bisectSplit_(e,r,P,w,n)}}for(var x=-b+g;x<=b-y;x+=2){for(var O,E=s+x,j=(O=x==-b||x!=b&&f[E-1]<f[E+1]?f[E+1]:f[E-1]+1)-x;O<o&&j<i&&e.charAt(o-O-1)==r.charAt(i-j-1);)O++,j++;if(f[E]=O,O>o)y+=2;else if(j>i)g+=2;else if(!h){if((m=s+d-x)>=0&&m<u&&-1!=c[m]){var P;w=s+(P=c[m])-m;if(P>=(O=o-O))return this.diff_bisectSplit_(e,r,P,w,n)}}}}return[[t,e],[1,r]]},e.prototype.diff_bisectSplit_=function(e,t,r,n,o){var i=e.substring(0,r),a=t.substring(0,n),s=e.substring(r),u=t.substring(n),c=this.diff_main(i,a,!1,o),f=this.diff_main(s,u,!1,o);return c.concat(f)},e.prototype.diff_linesToChars_=function(e,t){var r=[],n={};function o(e){for(var t="",o=0,i=-1,a=r.length;i<e.length-1;){-1==(i=e.indexOf("\n",o))&&(i=e.length-1);var s=e.substring(o,i+1);o=i+1,(n.hasOwnProperty?n.hasOwnProperty(s):void 0!==n[s])?t+=String.fromCharCode(n[s]):(t+=String.fromCharCode(a),n[s]=a,r[a++]=s)}return t}return r[0]="",[o(e),o(t),r]},e.prototype.diff_charsToLines_=function(e,t){for(var r=0;r<e.length;r++){for(var n=e[r][1],o=[],i=0;i<n.length;i++)o[i]=t[n.charCodeAt(i)];e[r][1]=o.join("")}},e.prototype.diff_commonPrefix=function(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;for(var r=0,n=Math.min(e.length,t.length),o=n,i=0;r<o;)e.substring(i,o)==t.substring(i,o)?i=r=o:n=o,o=Math.floor((n-r)/2+r);return o},e.prototype.diff_commonSuffix=function(e,t){if(!e||!t||e.charAt(e.length-1)!=t.charAt(t.length-1))return 0;for(var r=0,n=Math.min(e.length,t.length),o=n,i=0;r<o;)e.substring(e.length-o,e.length-i)==t.substring(t.length-o,t.length-i)?i=r=o:n=o,o=Math.floor((n-r)/2+r);return o},e.prototype.diff_commonOverlap_=function(e,t){var r=e.length,n=t.length;if(0==r||0==n)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));var o=Math.min(r,n);if(e==t)return o;for(var i=0,a=1;;){var s=e.substring(o-a),u=t.indexOf(s);if(-1==u)return i;a+=u,0!=u&&e.substring(o-a)!=t.substring(0,a)||(i=a,a++)}},e.prototype.diff_halfMatch_=function(e,t){if(this.Diff_Timeout<=0)return null;var r=e.length>t.length?e:t,n=e.length>t.length?t:e;if(r.length<4||2*n.length<r.length)return null;var o=this;function i(e,t,r){for(var n,i,a,s,u=e.substring(r,r+Math.floor(e.length/4)),c=-1,f="";-1!=(c=t.indexOf(u,c+1));){var l=o.diff_commonPrefix(e.substring(r),t.substring(c)),d=o.diff_commonSuffix(e.substring(0,r),t.substring(0,c));f.length<d+l&&(f=t.substring(c-d,c)+t.substring(c,c+l),n=e.substring(0,r-d),i=e.substring(r+l),a=t.substring(0,c-d),s=t.substring(c+l))}return 2*f.length>=e.length?[n,i,a,s,f]:null}var a,s,u,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,e.length>t.length?(s=a[0],u=a[1],c=a[2],f=a[3]):(c=a[0],f=a[1],s=a[2],u=a[3]),[s,u,c,f,a[4]]):null},e.prototype.diff_cleanupSemantic=function(e){for(var r=!1,n=[],o=0,i=null,a=0,s=0,u=0,c=0,f=0;a<e.length;)0==e[a][0]?(n[o++]=a,s=c,u=f,c=0,f=0,i=e[a][1]):(1==e[a][0]?c+=e[a][1].length:f+=e[a][1].length,null!==i&&i.length<=Math.max(s,u)&&i.length<=Math.max(c,f)&&(e.splice(n[o-1],0,[t,i]),e[n[o-1]+1][0]=1,o--,a=--o>0?n[o-1]:-1,s=0,u=0,c=0,f=0,i=null,r=!0)),a++;for(r&&this.diff_cleanupMerge(e),this.diff_cleanupSemanticLossless(e),a=1;a<e.length;){if(e[a-1][0]==t&&1==e[a][0]){var l=e[a-1][1],d=e[a][1],h=this.diff_commonOverlap_(l,d);(h>=l.length/2||h>=d.length/2)&&(e.splice(a,0,[0,d.substring(0,h)]),e[a-1][1]=l.substring(0,l.length-h),e[a+1][1]=d.substring(h),a++),a++}a++}},e.prototype.diff_cleanupSemanticLossless=function(e){var t=/[^a-zA-Z0-9]/,r=/\s/,n=/[\r\n]/,o=/\n\r?\n$/,i=/^\r?\n\r?\n/;function a(e,a){if(!e||!a)return 5;var s=0;return(e.charAt(e.length-1).match(t)||a.charAt(0).match(t))&&(s++,(e.charAt(e.length-1).match(r)||a.charAt(0).match(r))&&(s++,(e.charAt(e.length-1).match(n)||a.charAt(0).match(n))&&(s++,(e.match(o)||a.match(i))&&s++))),s}for(var s=1;s<e.length-1;){if(0==e[s-1][0]&&0==e[s+1][0]){var u=e[s-1][1],c=e[s][1],f=e[s+1][1],l=this.diff_commonSuffix(u,c);if(l){var d=c.substring(c.length-l);u=u.substring(0,u.length-l),c=d+c.substring(0,c.length-l),f=d+f}for(var h=u,p=c,v=f,g=a(u,c)+a(c,f);c.charAt(0)===f.charAt(0);){u+=c.charAt(0),c=c.substring(1)+f.charAt(0),f=f.substring(1);var y=a(u,c)+a(c,f);y>=g&&(g=y,h=u,p=c,v=f)}e[s-1][1]!=h&&(h?e[s-1][1]=h:(e.splice(s-1,1),s--),e[s][1]=p,v?e[s+1][1]=v:(e.splice(s+1,1),s--))}s++}},e.prototype.diff_cleanupEfficiency=function(e){for(var r=!1,n=[],o=0,i="",a=0,s=!1,u=!1,c=!1,f=!1;a<e.length;)0==e[a][0]?(e[a][1].length<this.Diff_EditCost&&(c||f)?(n[o++]=a,s=c,u=f,i=e[a][1]):(o=0,i=""),c=f=!1):(e[a][0]==t?f=!0:c=!0,i&&(s&&u&&c&&f||i.length<this.Diff_EditCost/2&&s+u+c+f==3)&&(e.splice(n[o-1],0,[t,i]),e[n[o-1]+1][0]=1,o--,i="",s&&u?(c=f=!0,o=0):(a=--o>0?n[o-1]:-1,c=f=!1),r=!0)),a++;r&&this.diff_cleanupMerge(e)},e.prototype.diff_cleanupMerge=function(e){e.push([0,""]);for(var r,n=0,o=0,i=0,a="",s="";n<e.length;)switch(e[n][0]){case 1:i++,s+=e[n][1],n++;break;case t:o++,a+=e[n][1],n++;break;case 0:o+i>1?(0!==o&&0!==i&&(0!==(r=this.diff_commonPrefix(s,a))&&(n-o-i>0&&0==e[n-o-i-1][0]?e[n-o-i-1][1]+=s.substring(0,r):(e.splice(0,0,[0,s.substring(0,r)]),n++),s=s.substring(r),a=a.substring(r)),0!==(r=this.diff_commonSuffix(s,a))&&(e[n][1]=s.substring(s.length-r)+e[n][1],s=s.substring(0,s.length-r),a=a.substring(0,a.length-r))),0===o?e.splice(n-o-i,o+i,[1,s]):0===i?e.splice(n-o-i,o+i,[t,a]):e.splice(n-o-i,o+i,[t,a],[1,s]),n=n-o-i+(o?1:0)+(i?1:0)+1):0!==n&&0==e[n-1][0]?(e[n-1][1]+=e[n][1],e.splice(n,1)):n++,i=0,o=0,a="",s=""}""===e[e.length-1][1]&&e.pop();var u=!1;for(n=1;n<e.length-1;)0==e[n-1][0]&&0==e[n+1][0]&&(e[n][1].substring(e[n][1].length-e[n-1][1].length)==e[n-1][1]?(e[n][1]=e[n-1][1]+e[n][1].substring(0,e[n][1].length-e[n-1][1].length),e[n+1][1]=e[n-1][1]+e[n+1][1],e.splice(n-1,1),u=!0):e[n][1].substring(0,e[n+1][1].length)==e[n+1][1]&&(e[n-1][1]+=e[n+1][1],e[n][1]=e[n][1].substring(e[n+1][1].length)+e[n+1][1],e.splice(n+1,1),u=!0)),n++;u&&this.diff_cleanupMerge(e)},e.prototype.diff_xIndex=function(e,r){var n,o=0,i=0,a=0,s=0;for(n=0;n<e.length&&(1!==e[n][0]&&(o+=e[n][1].length),e[n][0]!==t&&(i+=e[n][1].length),!(o>r));n++)a=o,s=i;return e.length!=n&&e[n][0]===t?s:s+(r-a)},e.prototype.diff_prettyHtml=function(e){for(var r=[],n=/&/g,o=/</g,i=/>/g,a=/\n/g,s=0;s<e.length;s++){var u=e[s][0],c=e[s][1],f=c.replace(n,"&amp;").replace(o,"&lt;").replace(i,"&gt;").replace(a,"&para;<br>");switch(u){case 1:r[s]='<ins style="background:#e6ffe6;">'+f+"</ins>";break;case t:r[s]='<del style="background:#ffe6e6;">'+f+"</del>";break;case 0:r[s]="<span>"+f+"</span>"}u!==t&&c.length}return r.join("")},e.prototype.diff_text1=function(e){for(var t=[],r=0;r<e.length;r++)1!==e[r][0]&&(t[r]=e[r][1]);return t.join("")},e.prototype.diff_text2=function(e){for(var r=[],n=0;n<e.length;n++)e[n][0]!==t&&(r[n]=e[n][1]);return r.join("")},e.prototype.diff_levenshtein=function(e){for(var r=0,n=0,o=0,i=0;i<e.length;i++){var a=e[i][0],s=e[i][1];switch(a){case 1:n+=s.length;break;case t:o+=s.length;break;case 0:r+=Math.max(n,o),n=0,o=0}}return r+=Math.max(n,o)},e.prototype.diff_toDelta=function(e){for(var r=[],n=0;n<e.length;n++)switch(e[n][0]){case 1:r[n]="+"+encodeURI(e[n][1]);break;case t:r[n]="-"+e[n][1].length;break;case 0:r[n]="="+e[n][1].length}return r.join("\t").replace(/%20/g," ")},e.prototype.diff_fromDelta=function(e,r){for(var n=[],o=0,i=0,a=r.split(/\t/g),s=0;s<a.length;s++){var u=a[s].substring(1);switch(a[s].charAt(0)){case"+":try{n[o++]=[1,decodeURI(u)]}catch(e){throw new Error("Illegal escape in diff_fromDelta: "+u)}break;case"-":case"=":var c=parseInt(u,10);if(isNaN(c)||c<0)throw new Error("Invalid number in diff_fromDelta: "+u);var f=e.substring(i,i+=c);"="==a[s].charAt(0)?n[o++]=[0,f]:n[o++]=[t,f];break;default:if(a[s])throw new Error("Invalid diff operation in diff_fromDelta: "+a[s])}}if(i!=e.length)throw new Error("Delta length ("+i+") does not equal source text length ("+e.length+").");return n},e.prototype.match_main=function(e,t,r){if(null==e||null==t||null==r)throw new Error("Null input. (match_main)");return r=Math.max(0,Math.min(r,e.length)),e==t?0:e.length?e.substring(r,r+t.length)==t?r:this.match_bitap_(e,t,r):-1},e.prototype.match_bitap_=function(e,t,r){if(t.length>this.Match_MaxBits)throw new Error("Pattern too long for this browser.");var n=this.match_alphabet_(t),o=this;function i(e,n){var i=e/t.length,a=Math.abs(r-n);return o.Match_Distance?i+a/o.Match_Distance:a?1:i}var a=this.Match_Threshold,s=e.indexOf(t,r);-1!=s&&(a=Math.min(i(0,s),a),-1!=(s=e.lastIndexOf(t,r+t.length))&&(a=Math.min(i(0,s),a)));var u,c,f=1<<t.length-1;s=-1;for(var l,d=t.length+e.length,h=0;h<t.length;h++){for(u=0,c=d;u<c;)i(h,r+c)<=a?u=c:d=c,c=Math.floor((d-u)/2+u);d=c;var p=Math.max(1,r-c+1),v=Math.min(r+c,e.length)+t.length,g=Array(v+2);g[v+1]=(1<<h)-1;for(var y=v;y>=p;y--){var b=n[e.charAt(y-1)];if(g[y]=0===h?(g[y+1]<<1|1)&b:(g[y+1]<<1|1)&b|(l[y+1]|l[y])<<1|1|l[y+1],g[y]&f){var _=i(h,y-1);if(_<=a){if(a=_,!((s=y-1)>r))break;p=Math.max(1,2*r-s)}}}if(i(h+1,r)>a)break;l=g}return s},e.prototype.match_alphabet_=function(e){for(var t={},r=0;r<e.length;r++)t[e.charAt(r)]=0;for(r=0;r<e.length;r++)t[e.charAt(r)]|=1<<e.length-r-1;return t},e.prototype.patch_addContext_=function(e,t){if(0!=t.length){for(var r=t.substring(e.start2,e.start2+e.length1),n=0;t.indexOf(r)!=t.lastIndexOf(r)&&r.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)n+=this.Patch_Margin,r=t.substring(e.start2-n,e.start2+e.length1+n);n+=this.Patch_Margin;var o=t.substring(e.start2-n,e.start2);o&&e.diffs.unshift([0,o]);var i=t.substring(e.start2+e.length1,e.start2+e.length1+n);i&&e.diffs.push([0,i]),e.start1-=o.length,e.start2-=o.length,e.length1+=o.length+i.length,e.length2+=o.length+i.length}},e.prototype.patch_make=function(r,n,o){var i,a;if("string"==typeof r&&"string"==typeof n&&void 0===o)i=r,(a=this.diff_main(i,n,!0)).length>2&&(this.diff_cleanupSemantic(a),this.diff_cleanupEfficiency(a));else if(r&&"object"==typeof r&&void 0===n&&void 0===o)a=r,i=this.diff_text1(a);else if("string"==typeof r&&n&&"object"==typeof n&&void 0===o)i=r,a=n;else{if("string"!=typeof r||"string"!=typeof n||!o||"object"!=typeof o)throw new Error("Unknown call format to patch_make.");i=r,a=o}if(0===a.length)return[];for(var s=[],u=new e.patch_obj,c=0,f=0,l=0,d=i,h=i,p=0;p<a.length;p++){var v=a[p][0],g=a[p][1];switch(c||0===v||(u.start1=f,u.start2=l),v){case 1:u.diffs[c++]=a[p],u.length2+=g.length,h=h.substring(0,l)+g+h.substring(l);break;case t:u.length1+=g.length,u.diffs[c++]=a[p],h=h.substring(0,l)+h.substring(l+g.length);break;case 0:g.length<=2*this.Patch_Margin&&c&&a.length!=p+1?(u.diffs[c++]=a[p],u.length1+=g.length,u.length2+=g.length):g.length>=2*this.Patch_Margin&&c&&(this.patch_addContext_(u,d),s.push(u),u=new e.patch_obj,c=0,d=h,f=l)}1!==v&&(f+=g.length),v!==t&&(l+=g.length)}return c&&(this.patch_addContext_(u,d),s.push(u)),s},e.prototype.patch_deepCopy=function(t){for(var r=[],n=0;n<t.length;n++){var o=t[n],i=new e.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,r[n]=i}return r},e.prototype.patch_apply=function(e,r){if(0==e.length)return[r,[]];e=this.patch_deepCopy(e);var n=this.patch_addPadding(e);r=n+r+n,this.patch_splitMax(e);for(var o=0,i=[],a=0;a<e.length;a++){var s,u,c=e[a].start2+o,f=this.diff_text1(e[a].diffs),l=-1;if(f.length>this.Match_MaxBits?-1!=(s=this.match_main(r,f.substring(0,this.Match_MaxBits),c))&&(-1==(l=this.match_main(r,f.substring(f.length-this.Match_MaxBits),c+f.length-this.Match_MaxBits))||s>=l)&&(s=-1):s=this.match_main(r,f,c),-1==s)i[a]=!1,o-=e[a].length2-e[a].length1;else if(i[a]=!0,o=s-c,f==(u=-1==l?r.substring(s,s+f.length):r.substring(s,l+this.Match_MaxBits)))r=r.substring(0,s)+this.diff_text2(e[a].diffs)+r.substring(s+f.length);else{var d=this.diff_main(f,u,!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 h,p=0,v=0;v<e[a].diffs.length;v++){var g=e[a].diffs[v];0!==g[0]&&(h=this.diff_xIndex(d,p)),1===g[0]?r=r.substring(0,s+h)+g[1]+r.substring(s+h):g[0]===t&&(r=r.substring(0,s+h)+r.substring(s+this.diff_xIndex(d,p+g[1].length))),g[0]!==t&&(p+=g[1].length)}}}}return[r=r.substring(n.length,r.length-n.length),i]},e.prototype.patch_addPadding=function(e){for(var t=this.Patch_Margin,r="",n=1;n<=t;n++)r+=String.fromCharCode(n);for(n=0;n<e.length;n++)e[n].start1+=t,e[n].start2+=t;var o=e[0],i=o.diffs;if(0==i.length||0!=i[0][0])i.unshift([0,r]),o.start1-=t,o.start2-=t,o.length1+=t,o.length2+=t;else if(t>i[0][1].length){var a=t-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=e[e.length-1]).diffs).length||0!=i[i.length-1][0])i.push([0,r]),o.length1+=t,o.length2+=t;else if(t>i[i.length-1][1].length){a=t-i[i.length-1][1].length;i[i.length-1][1]+=r.substring(0,a),o.length1+=a,o.length2+=a}return r},e.prototype.patch_splitMax=function(r){for(var n=this.Match_MaxBits,o=0;o<r.length;o++)if(r[o].length1>n){var i=r[o];r.splice(o--,1);for(var a=i.start1,s=i.start2,u="";0!==i.diffs.length;){var c=new e.patch_obj,f=!0;for(c.start1=a-u.length,c.start2=s-u.length,""!==u&&(c.length1=c.length2=u.length,c.diffs.push([0,u]));0!==i.diffs.length&&c.length1<n-this.Patch_Margin;){var l=i.diffs[0][0],d=i.diffs[0][1];1===l?(c.length2+=d.length,s+=d.length,c.diffs.push(i.diffs.shift()),f=!1):l===t&&1==c.diffs.length&&0==c.diffs[0][0]&&d.length>2*n?(c.length1+=d.length,a+=d.length,f=!1,c.diffs.push([l,d]),i.diffs.shift()):(d=d.substring(0,n-c.length1-this.Patch_Margin),c.length1+=d.length,a+=d.length,0===l?(c.length2+=d.length,s+=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))}u=(u=this.diff_text2(c.diffs)).substring(u.length-this.Patch_Margin);var h=this.diff_text1(i.diffs).substring(0,this.Patch_Margin);""!==h&&(c.length1+=h.length,c.length2+=h.length,0!==c.diffs.length&&0===c.diffs[c.diffs.length-1][0]?c.diffs[c.diffs.length-1][1]+=h:c.diffs.push([0,h])),f||r.splice(++o,0,c)}}},e.prototype.patch_toText=function(e){for(var t=[],r=0;r<e.length;r++)t[r]=e[r];return t.join("")},e.prototype.patch_fromText=function(r){var n=[];if(!r)return n;for(var o=r.split("\n"),i=0,a=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;i<o.length;){var s=o[i].match(a);if(!s)throw new Error("Invalid patch string: "+o[i]);var u=new e.patch_obj;for(n.push(u),u.start1=parseInt(s[1],10),""===s[2]?(u.start1--,u.length1=1):"0"==s[2]?u.length1=0:(u.start1--,u.length1=parseInt(s[2],10)),u.start2=parseInt(s[3],10),""===s[4]?(u.start2--,u.length2=1):"0"==s[4]?u.length2=0:(u.start2--,u.length2=parseInt(s[4],10)),i++;i<o.length;){var c=o[i].charAt(0);try{var f=decodeURI(o[i].substring(1))}catch(e){throw new Error("Illegal escape in patch_fromText: "+f)}if("-"==c)u.diffs.push([t,f]);else if("+"==c)u.diffs.push([1,f]);else if(" "==c)u.diffs.push([0,f]);else{if("@"==c)break;if(""!==c)throw new Error('Invalid patch mode "'+c+'" in: '+f)}i++}}return n},e.patch_obj=function(){this.diffs=[],this.start1=null,this.start2=null,this.length1=0,this.length2=0},e.patch_obj.prototype.toString=function(){for(var e,r=["@@ -"+(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"],n=0;n<this.diffs.length;n++){switch(this.diffs[n][0]){case 1:e="+";break;case t:e="-";break;case 0:e=" "}r[n+1]=e+encodeURI(this.diffs[n][1])+"\n"}return r.join("").replace(/%20/g," ")},this.diff_match_patch=e,this.DIFF_DELETE=t,this.DIFF_INSERT=1,this.DIFF_EQUAL=0},3538:function(e,t,r){var n={"./diff_match_patch_uncompressed":6841,"./diff_match_patch_uncompressed.js":6841};function o(e){var t=i(e);return r(t)}function i(e){if(!r.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}o.keys=function(){return Object.keys(n)},o.resolve=i,e.exports=o,o.id=3538},9559:function(e){var t="function"==typeof Array.isArray?Array.isArray:function(e){return e instanceof Array};e.exports=function e(r){if("object"!=typeof r)return r;if(null===r)return null;if(t(r))return r.map(e);if(r instanceof Date)return new Date(r.getTime());if(r instanceof RegExp)return n=/^\/(.*)\/([gimyu]*)$/.exec(r.toString()),new RegExp(n[1],n[2]);var n,o={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(o[i]=e(r[i]));return o}},4251:function(e,t,r){var n=r(5820).E,o=function(){};o.prototype.setResult=function(e){return this.result=e,this.hasResult=!0,this},o.prototype.exit=function(){return this.exiting=!0,this},o.prototype.switchTo=function(e,t){return"string"==typeof e||e instanceof n?this.nextPipe=e:(this.next=e,t&&(this.nextPipe=t)),this},o.prototype.push=function(e,t){return e.parent=this,void 0!==t&&(e.childName=t),e.root=this.root||this,e.options=e.options||this.options,this.children?(this.children[this.children.length-1].next=e,this.children.push(e)):(this.children=[e],this.nextAfterChildren=this.next||null,this.next=e),e.next=this,this},t._=o},9637:function(e,t,r){var n=r(4251)._,o=r(9559),i=function(e,t){this.left=e,this.right=t,this.pipe="diff"};(i.prototype=new n).setResult=function(e){if(this.options.cloneDiffValues&&"object"==typeof e){var t="function"==typeof this.options.cloneDiffValues?this.options.cloneDiffValues:o;"object"==typeof e[0]&&(e[0]=t(e[0])),"object"==typeof e[1]&&(e[1]=t(e[1]))}return n.prototype.setResult.apply(this,arguments)},t.A=i},7443:function(e,t,r){var n=r(4251)._,o=function(e,t){this.left=e,this.delta=t,this.pipe="patch"};o.prototype=new n,t.f=o},4153:function(e,t,r){var n=r(4251)._,o=function(e){this.delta=e,this.pipe="reverse"};o.prototype=new n,t.V=o},1390:function(e,t,r){var n=r(7854).w,o=r(5820).E,i=r(9637).A,a=r(7443).f,s=r(4153).V,u=r(9559),c=r(6294),f=r(1104),l=r(107),d=r(1634),h=r(328),p=function(e){this.processor=new n(e),this.processor.pipe(new o("diff").append(f.collectChildrenDiffFilter,c.diffFilter,d.diffFilter,h.diffFilter,f.objectsDiffFilter,l.diffFilter).shouldHaveResult()),this.processor.pipe(new o("patch").append(f.collectChildrenPatchFilter,l.collectChildrenPatchFilter,c.patchFilter,h.patchFilter,f.patchFilter,l.patchFilter).shouldHaveResult()),this.processor.pipe(new o("reverse").append(f.collectChildrenReverseFilter,l.collectChildrenReverseFilter,c.reverseFilter,h.reverseFilter,f.reverseFilter,l.reverseFilter).shouldHaveResult())};p.prototype.options=function(){return this.processor.options.apply(this.processor,arguments)},p.prototype.diff=function(e,t){return this.processor.process(new i(e,t))},p.prototype.patch=function(e,t){return this.processor.process(new a(e,t))},p.prototype.reverse=function(e){return this.processor.process(new s(e))},p.prototype.unpatch=function(e,t){return this.patch(e,this.reverse(t))},p.prototype.clone=function(e){return u(e)},t.DiffPatcher=p},107:function(e,t,r){var n=r(9637).A,o=r(7443).f,i=r(4153).V,a=r(7821),s="function"==typeof Array.isArray?Array.isArray:function(e){return e instanceof Array},u="function"==typeof Array.prototype.indexOf?function(e,t){return e.indexOf(t)}:function(e,t){for(var r=e.length,n=0;n<r;n++)if(e[n]===t)return n;return-1};function c(e,t,r,n,o){var i=e[r],a=t[n];if(i===a)return!0;if("object"!=typeof i||"object"!=typeof a)return!1;var s,u,c=o.objectHash;return c?("number"==typeof r?(o.hashCache1=o.hashCache1||[],void 0===(s=o.hashCache1[r])&&(o.hashCache1[r]=s=c(i,r))):s=c(i),void 0!==s&&("number"==typeof n?(o.hashCache2=o.hashCache2||[],void 0===(u=o.hashCache2[n])&&(o.hashCache2[n]=u=c(a,n))):u=c(a),void 0!==u&&s===u)):o.matchByPosition&&r===n}var f=function(e){if(e.leftIsArray){var t,r,o,i,s,f={objectHash:e.options&&e.options.objectHash,matchByPosition:e.options&&e.options.matchByPosition},l=0,d=0,h=e.left,p=e.right,v=h.length,g=p.length;for(v>0&&g>0&&!f.objectHash&&"boolean"!=typeof f.matchByPosition&&(f.matchByPosition=!function(e,t,r,n){for(var o=0;o<r;o++)for(var i=e[o],a=0;a<n;a++){var s=t[a];if(o!==a&&i===s)return!0}}(h,p,v,g));l<v&&l<g&&c(h,p,l,l,f);)t=l,i=new n(e.left[t],e.right[t]),e.push(i,t),l++;for(;d+l<v&&d+l<g&&c(h,p,v-1-d,g-1-d,f);)r=v-1-d,o=g-1-d,i=new n(e.left[r],e.right[o]),e.push(i,o),d++;if(l+d!==v)if(l+d!==g){delete f.hashCache1,delete f.hashCache2;var y=h.slice(l,v-d),b=p.slice(l,g-d),_=a.get(y,b,c,f),m=[];for(s=s||{_t:"a"},t=l;t<v-d;t++)u(_.indices1,t-l)<0&&(s["_"+t]=[h[t],0,0],m.push(t));var w=!0;e.options&&e.options.arrays&&!1===e.options.arrays.detectMove&&(w=!1);var x=!1;e.options&&e.options.arrays&&e.options.arrays.includeValueOnMove&&(x=!0);var O=m.length;for(t=l;t<g-d;t++){var E=u(_.indices2,t-l);if(E<0){var j=!1;if(w&&O>0)for(var P=0;P<O;P++)if(c(y,b,(r=m[P])-l,t-l,f)){s["_"+r].splice(1,2,t,3),x||(s["_"+r][0]=""),o=t,i=new n(e.left[r],e.right[o]),e.push(i,o),m.splice(P,1),j=!0;break}j||(s[t]=[p[t]])}else r=_.indices1[E]+l,o=_.indices2[E]+l,i=new n(e.left[r],e.right[o]),e.push(i,o)}e.setResult(s).exit()}else{for(s=s||{_t:"a"},t=l;t<v-d;t++)s["_"+t]=[h[t],0,0];e.setResult(s).exit()}else{if(v===g)return void e.setResult(void 0).exit();for(s=s||{_t:"a"},t=l;t<g-d;t++)s[t]=[p[t]];e.setResult(s).exit()}}};f.filterName="arrays";var l=function(e,t){return e-t},d=function(e){return function(t,r){return t[e]-r[e]}},h=function(e){if(e.nested&&"a"===e.delta._t){var t,r,n=e.delta,i=e.left,a=[],s=[],u=[];for(t in n)if("_t"!==t)if("_"===t[0]){if(0!==n[t][2]&&3!==n[t][2])throw new Error("only removal or move can be applied at original array indices, invalid diff type: "+n[t][2]);a.push(parseInt(t.slice(1),10))}else 1===n[t].length?s.push({index:parseInt(t,10),value:n[t][0]}):u.push({index:parseInt(t,10),delta:n[t]});for(t=(a=a.sort(l)).length-1;t>=0;t--){var c=n["_"+(r=a[t])],f=i.splice(r,1)[0];3===c[2]&&s.push({index:c[1],value:f})}var h=(s=s.sort(d("index"))).length;for(t=0;t<h;t++){var p=s[t];i.splice(p.index,0,p.value)}var v,g=u.length;if(g>0)for(t=0;t<g;t++){var y=u[t];v=new o(e.left[y.index],y.delta),e.push(v,y.index)}e.children?e.exit():e.setResult(e.left).exit()}};h.filterName="arrays";var p=function(e){if(e&&e.children&&"a"===e.delta._t){for(var t,r=e.children.length,n=0;n<r;n++)t=e.children[n],e.left[t.childName]=t.result;e.setResult(e.left).exit()}};p.filterName="arraysCollectChildren";var v=function(e){if(e.nested){if("a"===e.delta._t){var t,r;for(t in e.delta)"_t"!==t&&(r=new i(e.delta[t]),e.push(r,t));e.exit()}}else 3===e.delta[2]&&(e.newName="_"+e.delta[1],e.setResult([e.delta[0],parseInt(e.childName.substr(1),10),3]).exit())};v.filterName="arrays";var g=function(e,t,r){if("string"==typeof t&&"_"===t[0])return parseInt(t.substr(1),10);if(s(r)&&0===r[2])return"_"+t;var n=+t;for(var o in e){var i=e[o];if(s(i))if(3===i[2]){var a=parseInt(o.substr(1),10),u=i[1];if(u===+t)return a;a<=n&&u>n?n++:a>=n&&u<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(e){if(e&&e.children&&"a"===e.delta._t){for(var t,r=e.children.length,n={_t:"a"},o=0;o<r;o++){var i=(t=e.children[o]).newName;void 0===i&&(i=g(e.delta,t.childName,t.result)),n[i]!==t.result&&(n[i]=t.result)}e.setResult(n).exit()}};y.filterName="arraysCollectChildren",t.diffFilter=f,t.patchFilter=h,t.collectChildrenPatchFilter=p,t.reverseFilter=v,t.collectChildrenReverseFilter=y},1634:function(e,t){var r=function(e){e.left instanceof Date?(e.right instanceof Date?e.left.getTime()!==e.right.getTime()?e.setResult([e.left,e.right]):e.setResult(void 0):e.setResult([e.left,e.right]),e.exit()):e.right instanceof Date&&e.setResult([e.left,e.right]).exit()};r.filterName="dates",t.diffFilter=r},7821:function(e,t){var r=function(e,t,r,n){return e[r]===t[n]},n=function(e,t,r,o,i,a){if(0===o||0===i)return{sequence:[],indices1:[],indices2:[]};if(e.match(t,r,o-1,i-1,a)){var s=n(e,t,r,o-1,i-1,a);return s.sequence.push(t[o-1]),s.indices1.push(o-1),s.indices2.push(i-1),s}return e[o][i-1]>e[o-1][i]?n(e,t,r,o,i-1,a):n(e,t,r,o-1,i,a)};t.get=function(e,t,o,i){var a=function(e,t,r,n){var o,i,a=e.length,s=t.length,u=[a+1];for(o=0;o<a+1;o++)for(u[o]=[s+1],i=0;i<s+1;i++)u[o][i]=0;for(u.match=r,o=1;o<a+1;o++)for(i=1;i<s+1;i++)r(e,t,o-1,i-1,n)?u[o][i]=u[o-1][i-1]+1:u[o][i]=Math.max(u[o-1][i],u[o][i-1]);return u}(e,t,o||r,i=i||{}),s=n(a,e,t,e.length,t.length,i);return"string"==typeof e&&"string"==typeof t&&(s.sequence=s.sequence.join("")),s}},1104:function(e,t,r){var n=r(9637).A,o=r(7443).f,i=r(4153).V,a=function(e){if(e&&e.children){for(var t,r=e.children.length,n=e.result,o=0;o<r;o++)void 0!==(t=e.children[o]).result&&((n=n||{})[t.childName]=t.result);n&&e.leftIsArray&&(n._t="a"),e.setResult(n).exit()}};a.filterName="collectChildren";var s=function(e){if(!e.leftIsArray&&"object"===e.leftType){var t,r,o=e.options.propertyFilter;for(t in e.left)Object.prototype.hasOwnProperty.call(e.left,t)&&(o&&!o(t,e)||(r=new n(e.left[t],e.right[t]),e.push(r,t)));for(t in e.right)Object.prototype.hasOwnProperty.call(e.right,t)&&(o&&!o(t,e)||void 0===e.left[t]&&(r=new n(void 0,e.right[t]),e.push(r,t)));e.children&&0!==e.children.length?e.exit():e.setResult(void 0).exit()}};s.filterName="objects";var u=function(e){if(e.nested&&!e.delta._t){var t,r;for(t in e.delta)r=new o(e.left[t],e.delta[t]),e.push(r,t);e.exit()}};u.filterName="objects";var c=function(e){if(e&&e.children&&!e.delta._t){for(var t,r=e.children.length,n=0;n<r;n++)t=e.children[n],Object.prototype.hasOwnProperty.call(e.left,t.childName)&&void 0===t.result?delete e.left[t.childName]:e.left[t.childName]!==t.result&&(e.left[t.childName]=t.result);e.setResult(e.left).exit()}};c.filterName="collectChildren";var f=function(e){if(e.nested&&!e.delta._t){var t,r;for(t in e.delta)r=new i(e.delta[t]),e.push(r,t);e.exit()}};f.filterName="objects";var l=function(e){if(e&&e.children&&!e.delta._t){for(var t,r=e.children.length,n={},o=0;o<r;o++)n[(t=e.children[o]).childName]!==t.result&&(n[t.childName]=t.result);e.setResult(n).exit()}};l.filterName="collectChildren",t.collectChildrenDiffFilter=a,t.objectsDiffFilter=s,t.patchFilter=u,t.collectChildrenPatchFilter=c,t.reverseFilter=f,t.collectChildrenReverseFilter=l},328:function(e,t,r){var n=null,o=function(e){if(!n){var t;if("undefined"!=typeof diff_match_patch)t="function"==typeof diff_match_patch?new diff_match_patch:new diff_match_patch.diff_match_patch;else{try{var o=r(3538)("./diff_match_patch_uncompressed");t=new o.diff_match_patch}catch(e){t=null}}if(!t){if(!e)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(e,r){return t.patch_toText(t.patch_make(e,r))},patch:function(e,r){for(var n=t.patch_apply(t.patch_fromText(r),e),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(e){if("string"===e.leftType){var t=e.options&&e.options.textDiff&&e.options.textDiff.minLength||60;if(e.left.length<t||e.right.length<t)e.setResult([e.left,e.right]).exit();else{var r=o();if(r){var n=r.diff;e.setResult([n(e.left,e.right),0,2]).exit()}else e.setResult([e.left,e.right]).exit()}}};i.filterName="texts";var a=function(e){if(!e.nested&&2===e.delta[2]){var t=o(!0).patch;e.setResult(t(e.left,e.delta[0])).exit()}};a.filterName="texts";var s=function(e){var t,r,n,o,i,a=null,s=/^@@ +\-(\d+),(\d+) +\+(\d+),(\d+) +@@$/;for(t=0,r=(n=e.split("\n")).length;t<r;t++){var u=(o=n[t]).slice(0,1);"@"===u?(a=s.exec(o),null,null,n[t]="@@ -"+a[3]+","+a[4]+" +"+a[1]+","+a[2]+" @@"):"+"===u?(t,n[t]="-"+n[t].slice(1),"+"===n[t-1].slice(0,1)&&(i=n[t],n[t]=n[t-1],n[t-1]=i)):"-"===u&&(t,n[t]="+"+n[t].slice(1))}return n.join("\n")},u=function(e){e.nested||2===e.delta[2]&&e.setResult([s(e.delta[0]),0,2]).exit()};u.filterName="texts",t.diffFilter=i,t.patchFilter=a,t.reverseFilter=u},6294:function(e,t){var r="function"==typeof Array.isArray?Array.isArray:function(e){return e instanceof Array},n=function(e){if(e.left!==e.right)if(void 0!==e.left)if(void 0!==e.right){if("function"==typeof e.left||"function"==typeof e.right)throw new Error("functions are not supported");if(e.leftType=null===e.left?"null":typeof e.left,e.rightType=null===e.right?"null":typeof e.right,e.leftType===e.rightType)if("boolean"!==e.leftType&&"number"!==e.leftType)if("object"===e.leftType&&(e.leftIsArray=r(e.left)),"object"===e.rightType&&(e.rightIsArray=r(e.right)),e.leftIsArray===e.rightIsArray){if(e.left instanceof RegExp){if(!(e.right instanceof RegExp))return void e.setResult([e.left,e.right]).exit();e.setResult([e.left.toString(),e.right.toString()]).exit()}}else e.setResult([e.left,e.right]).exit();else e.setResult([e.left,e.right]).exit();else e.setResult([e.left,e.right]).exit()}else e.setResult([e.left,0,0]).exit();else{if("function"==typeof e.right)throw new Error("functions are not supported");e.setResult([e.right]).exit()}else e.setResult(void 0).exit()};n.filterName="trivial";var o=function(e){if(void 0!==e.delta){if(e.nested=!r(e.delta),!e.nested)if(1!==e.delta.length)if(2!==e.delta.length)3!==e.delta.length||0!==e.delta[2]||e.setResult(void 0).exit();else{if(e.left instanceof RegExp){var t=/^\/(.*)\/([gimyu]+)$/.exec(e.delta[1]);if(t)return void e.setResult(new RegExp(t[1],t[2])).exit()}e.setResult(e.delta[1]).exit()}else e.setResult(e.delta[0]).exit()}else e.setResult(e.left).exit()};o.filterName="trivial";var i=function(e){void 0!==e.delta?(e.nested=!r(e.delta),e.nested||(1!==e.delta.length?2!==e.delta.length?3!==e.delta.length||0!==e.delta[2]||e.setResult([e.delta[0]]).exit():e.setResult([e.delta[1],e.delta[0]]).exit():e.setResult([e.delta[0],0,0]).exit())):e.setResult(e.delta).exit()};i.filterName="trivial",t.diffFilter=n,t.patchFilter=o,t.reverseFilter=i},5820:function(e,t){var r=function(e){this.name=e,this.filters=[]};r.prototype.process=function(e){if(!this.processor)throw new Error("add this pipe to a processor before using it");for(var t=this.debug,r=this.filters.length,n=e,o=0;o<r;o++){var i=this.filters[o];if(t&&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(e){console.log("[jsondiffpatch] "+this.name+" pipe, "+e)},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(e){if(!e)throw new Error("a filter name is required");for(var t=0;t<this.filters.length;t++){if(this.filters[t].filterName===e)return t}throw new Error("filter not found: "+e)},r.prototype.list=function(){for(var e=[],t=0;t<this.filters.length;t++){var r=this.filters[t];e.push(r.filterName)}return e},r.prototype.after=function(e){var t=this.indexOf(e),r=Array.prototype.slice.call(arguments,1);if(!r.length)throw new Error("a filter is required");return r.unshift(t+1,0),Array.prototype.splice.apply(this.filters,r),this},r.prototype.before=function(e){var t=this.indexOf(e),r=Array.prototype.slice.call(arguments,1);if(!r.length)throw new Error("a filter is required");return r.unshift(t,0),Array.prototype.splice.apply(this.filters,r),this},r.prototype.clear=function(){return this.filters.length=0,this},r.prototype.shouldHaveResult=function(e){if(!1!==e){if(!this.resultCheck){var t=this;return this.resultCheck=function(e){if(!e.hasResult){console.log(e);var r=new Error(t.name+" failed");throw r.noResult=!0,r}},this}}else this.resultCheck=null},t.E=r},7854:function(e,t){var r=function(e){this.selfOptions=e||{},this.pipes={}};r.prototype.options=function(e){return e&&(this.selfOptions=e),this.selfOptions},r.prototype.pipe=function(e,t){if("string"==typeof e){if(void 0===t)return this.pipes[e];this.pipes[e]=t}if(e&&e.name){if((t=e).processor===this)return t;this.pipes[t.name]=t}return t.processor=this,t},r.prototype.process=function(e,t){var r=e;r.options=this.options();for(var n,o,i=t||e.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},t.w=r},8762:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.default=e.exports,e.exports.__esModule=!0},4280:function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},8944:function(e,t,r){var n=r(8762);e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.default=e.exports,e.exports.__esModule=!0},5571:function(e){function t(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise((function(o,i){var a=e.apply(r,n);function s(e){t(a,o,i,s,u,"next",e)}function u(e){t(a,o,i,s,u,"throw",e)}s(void 0)}))}},e.exports.default=e.exports,e.exports.__esModule=!0},7363:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},3051:function(e){function t(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e},e.exports.default=e.exports,e.exports.__esModule=!0},7472:function(e){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.default=e.exports,e.exports.__esModule=!0},2695:function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,t.apply(this,arguments)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},5643:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},1198:function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},1024:function(e){e.exports=function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}},e.exports.default=e.exports,e.exports.__esModule=!0},5605:function(e){e.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.")},e.exports.default=e.exports,e.exports.__esModule=!0},9262:function(e){e.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.")},e.exports.default=e.exports,e.exports.__esModule=!0},4262:function(e,t,r){var n=r(4280),o=r(1024),i=r(9487),a=r(5605);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},3217:function(e,t,r){var n=r(8944),o=r(1198),i=r(9487),a=r(9262);e.exports=function(e){return n(e)||o(e)||i(e)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},4576:function(e){function t(r){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=t=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),t(r)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},9487:function(e,t,r){var n=r(8762);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},5838:function(e,t,r){e.exports=r(7828)},5765:function(e,t,r){var n=r(7972)(r(1851),"DataView");e.exports=n},7266:function(e,t,r){var n=r(7972)(r(1851),"Map");e.exports=n},5689:function(e,t,r){var n=r(7972)(r(1851),"Promise");e.exports=n},4352:function(e,t,r){var n=r(7972)(r(1851),"Set");e.exports=n},649:function(e,t,r){var n=r(1851).Symbol;e.exports=n},5708:function(e,t,r){var n=r(7972)(r(1851),"WeakMap");e.exports=n},473:function(e,t,r){var n=r(649),o=r(6886),i=r(597),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},6989:function(e,t,r){var n=r(473),o=r(9847);e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},2631:function(e,t,r){var n=r(6221),o=r(1379),i=r(5847),a=r(3134),s=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,f=u.toString,l=c.hasOwnProperty,d=RegExp("^"+f.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(n(e)?d:s).test(a(e))}},1319:function(e,t,r){var n=r(473),o=r(1908),i=r(9847),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,e.exports=function(e){return i(e)&&o(e.length)&&!!a[n(e)]}},9122:function(e,t,r){var n=r(8652),o=r(722),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&t.push(r);return t}},6150:function(e){e.exports=function(e){return function(t){return e(t)}}},8508:function(e,t,r){var n=r(1851)["__core-js_shared__"];e.exports=n},6393:function(e,t,r){var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},7972:function(e,t,r){var n=r(2631),o=r(3870);e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}},6886:function(e,t,r){var n=r(649),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var o=a.call(e);return n&&(t?e[s]=r:delete e[s]),o}},7893:function(e,t,r){var n=r(5765),o=r(7266),i=r(5689),a=r(4352),s=r(5708),u=r(473),c=r(3134),f="[object Map]",l="[object Promise]",d="[object Set]",h="[object WeakMap]",p="[object DataView]",v=c(n),g=c(o),y=c(i),b=c(a),_=c(s),m=u;(n&&m(new n(new ArrayBuffer(1)))!=p||o&&m(new o)!=f||i&&m(i.resolve())!=l||a&&m(new a)!=d||s&&m(new s)!=h)&&(m=function(e){var t=u(e),r="[object Object]"==t?e.constructor:void 0,n=r?c(r):"";if(n)switch(n){case v:return p;case g:return f;case y:return l;case b:return d;case _:return h}return t}),e.exports=m},3870:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},1379:function(e,t,r){var n,o=r(8508),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},8652:function(e){var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},722:function(e,t,r){var n=r(9416)(Object.keys,Object);e.exports=n},8810:function(e,t,r){e=r.nmd(e);var n=r(6393),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&n.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},597:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},9416:function(e){e.exports=function(e,t){return function(r){return e(t(r))}}},1851:function(e,t,r){var n=r(6393),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();e.exports=i},3134:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},9933:function(e,t,r){var n=r(6989),o=r(9847),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},6811:function(e){var t=Array.isArray;e.exports=t},7620:function(e,t,r){var n=r(6221),o=r(1908);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},2737:function(e,t,r){e=r.nmd(e);var n=r(1851),o=r(515),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?n.Buffer:void 0,u=(s?s.isBuffer:void 0)||o;e.exports=u},3582:function(e,t,r){var n=r(9122),o=r(7893),i=r(9933),a=r(6811),s=r(7620),u=r(2737),c=r(8652),f=r(4158),l=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||f(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!n(e).length;for(var r in e)if(l.call(e,r))return!1;return!0}},6221:function(e,t,r){var n=r(473),o=r(5847);e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1908:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},5847:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},9847:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},4158:function(e,t,r){var n=r(1319),o=r(6150),i=r(8810),a=i&&i.isTypedArray,s=a?o(a):n;e.exports=s},515:function(e){e.exports=function(){return!1}},7828:function(e){var t=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),a=new S(n||[]);return i._invoke=function(e,t,r){var n=l;return function(o,i){if(n===h)throw new Error("Generator is already running");if(n===p){if("throw"===o)throw i;return M()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=j(a,r);if(s){if(s===v)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var u=f(e,t,r);if("normal"===u.type){if(n=r.done?p:d,u.arg===v)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=p,r.method="throw",r.arg=u.arg)}}}(e,r,a),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l="suspendedStart",d="suspendedYield",h="executing",p="completed",v={};function g(){}function y(){}function b(){}var _={};_[i]=function(){return this};var m=Object.getPrototypeOf,w=m&&m(m(A([])));w&&w!==r&&n.call(w,i)&&(_=w);var x=b.prototype=g.prototype=Object.create(_);function O(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function r(o,i,a,s){var u=f(e[o],e,i);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?t.resolve(l.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(l).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(u.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function j(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=f(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function R(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function A(e){if(e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:M}}function M(){return{value:t,done:!0}}return y.prototype=x.constructor=b,b.constructor=y,y.displayName=u(b,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,s,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},O(E.prototype),E.prototype[a]=function(){return this},e.AsyncIterator=E,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new E(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(x),u(x,s,"Generator"),x[i]=function(){return this},x.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=A,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(R),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return s.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){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(e,t){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"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),R(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;R(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:A(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}(e.exports);try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}},9594:function(e){"use strict";e.exports=require("promise/setimmediate/core")},6905:function(e){"use strict";e.exports=require("promise/setimmediate/rejection-tracking")},9497:function(e){"use strict";e.exports=require("react")},7305:function(e){"use strict";e.exports=require("react-native")},3897:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.__esModule=!0,e.exports.default=e.exports},5372:function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},3405:function(e,t,r){var n=r(3897);e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.__esModule=!0,e.exports.default=e.exports},6690:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},9728:function(e,t,r){var n=r(4062);function o(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,n(o.key),o)}}e.exports=function(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},8416:function(e,t,r){var n=r(4062);e.exports=function(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},4836:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},9498:function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},8872:function(e){e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],u=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}},e.exports.__esModule=!0,e.exports.default=e.exports},2218:function(e){e.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.")},e.exports.__esModule=!0,e.exports.default=e.exports},2281:function(e){e.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.")},e.exports.__esModule=!0,e.exports.default=e.exports},7061:function(e,t,r){var n=r(8698).default;function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},u=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",f=s.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),s=new S(n||[]);return a(i,"_invoke",{value:E(e,r,s)}),i}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var p={};function v(){}function g(){}function y(){}var b={};l(b,u,(function(){return this}));var _=Object.getPrototypeOf,m=_&&_(_(A([])));m&&m!==r&&i.call(m,u)&&(b=m);var w=y.prototype=v.prototype=Object.create(b);function x(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function r(o,a,s,u){var c=h(e[o],e,a);if("throw"!==c.type){var f=c.arg,l=f.value;return l&&"object"==n(l)&&i.call(l,"__await")?t.resolve(l.__await).then((function(e){r("next",e,s,u)}),(function(e){r("throw",e,s,u)})):t.resolve(l).then((function(e){f.value=e,s(f)}),(function(e){return r("throw",e,s,u)}))}u(c.arg)}var o;a(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}})}function E(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return M()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=j(a,r);if(s){if(s===p)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=h(e,t,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function j(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,j(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),p;var o=h(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function R(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function A(e){if(e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r<e.length;)if(i.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:M}}function M(){return{value:void 0,done:!0}}return g.prototype=y,a(w,"constructor",{value:y,configurable:!0}),a(y,"constructor",{value:g,configurable:!0}),g.displayName=l(y,f,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,l(e,f,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},x(O.prototype),l(O.prototype,c,(function(){return this})),t.AsyncIterator=O,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new O(d(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},x(w),l(w,f,"Generator"),l(w,u,(function(){return this})),l(w,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(R),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),u=i.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),R(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;R(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:A(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},7424:function(e,t,r){var n=r(5372),o=r(8872),i=r(6116),a=r(2218);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},861:function(e,t,r){var n=r(3405),o=r(9498),i=r(6116),a=r(2281);e.exports=function(e){return n(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},5036:function(e,t,r){var n=r(8698).default;e.exports=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},4062:function(e,t,r){var n=r(8698).default,o=r(5036);e.exports=function(e){var t=o(e,"string");return"symbol"===n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},8698:function(e){function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},6116:function(e,t,r){var n=r(3897);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},4687:function(e,t,r){var n=r(7061)();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}return r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},r(8240)}()}));
@@ -65,6 +65,7 @@ static NSMutableArray *fullMessageArray = nil;
65
65
  configuration.expoChannel = expoChannel;
66
66
  configuration.allowTags = allowTags;
67
67
  configuration.redactionTags = redactionTags;
68
+ configuration.isReactNative = YES;
68
69
  configuration.networkCaptureEnabled = NO;
69
70
  configuration.logCaptureEnabled = YES;
70
71
  configuration.requestSanitizer = nil;
@@ -193,7 +194,7 @@ static NSMutableArray *fullMessageArray = nil;
193
194
  if ([config[@"uploadIntervalMs"] isKindOfClass:[NSNumber class]]) {
194
195
  configuration.uploadIntervalMs = [config[@"uploadIntervalMs"] unsignedIntValue];
195
196
  }
196
-
197
+
197
198
  if ([config[@"viewCaptureTimeoutThreshold"] isKindOfClass:[NSNumber class]]) {
198
199
  configuration.viewCaptureTimeoutThreshold = [config[@"viewCaptureTimeoutThreshold"] unsignedIntValue];
199
200
  }
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
16
16
  s.source_files = "ios/**/*.{h,c,m,swift}"
17
17
  s.requires_arc = true
18
18
 
19
- s.dependency "LogRocket", "1.47.9"
19
+ s.dependency "LogRocket", "1.47.10"
20
20
  s.dependency "React"
21
21
  end
22
22
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@logrocket/react-native",
3
3
  "title": "Logrocket Native Module",
4
- "version": "1.47.9",
4
+ "version": "1.47.10",
5
5
  "description": "LogRocket SDK for react-native",
6
6
  "typings": "types.d.ts",
7
7
  "files": [