@ada-support/embed2 1.0.34 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -152
- package/dist/npm-entry/campaigns/campaign.d.ts +1 -1
- package/dist/npm-entry/client/index.d.ts +1 -0
- package/dist/npm-entry/common/constants/storage-keys.d.ts +1 -0
- package/dist/npm-entry/index.js +590 -701
- package/package.json +5 -2
- package/dist/npm-entry/frames/components/x-storage/index.d.ts +0 -12
- package/dist/npm-entry/frames/helpers/frame-init.d.ts +0 -3
- package/dist/npm-entry/frames/lib/error-tracker.d.ts +0 -6
- package/dist/npm-entry/frames/lib/frame-fc.d.ts +0 -3
- package/dist/npm-entry/frames/lib/store-proxy.d.ts +0 -2
package/dist/npm-entry/index.js
CHANGED
|
@@ -722,7 +722,7 @@ var browserPerformanceTimeOrigin = (function () {
|
|
|
722
722
|
|
|
723
723
|
/***/ }),
|
|
724
724
|
|
|
725
|
-
/***/
|
|
725
|
+
/***/ 7054:
|
|
726
726
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
727
727
|
|
|
728
728
|
"use strict";
|
|
@@ -802,6 +802,9 @@ var get_own_property_descriptor_default = /*#__PURE__*/__webpack_require__.n(get
|
|
|
802
802
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors.js
|
|
803
803
|
var get_own_property_descriptors = __webpack_require__(9649);
|
|
804
804
|
var get_own_property_descriptors_default = /*#__PURE__*/__webpack_require__.n(get_own_property_descriptors);
|
|
805
|
+
// EXTERNAL MODULE: ./node_modules/lodash.debounce/index.js
|
|
806
|
+
var lodash_debounce = __webpack_require__(1296);
|
|
807
|
+
var lodash_debounce_default = /*#__PURE__*/__webpack_require__.n(lodash_debounce);
|
|
805
808
|
;// CONCATENATED MODULE: ./node_modules/preact/dist/preact.module.js
|
|
806
809
|
var n,l,u,i,t,r,o,f={},e=[],c=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function s(n,l){for(var u in l)n[u]=l[u];return n}function a(n){var l=n.parentNode;l&&l.removeChild(n)}function v(n,l,u){var i,t=arguments,r={};for(i in l)"key"!==i&&"ref"!==i&&(r[i]=l[i]);if(arguments.length>3)for(u=[u],i=3;i<arguments.length;i++)u.push(t[i]);if(null!=u&&(r.children=u),"function"==typeof n&&null!=n.defaultProps)for(i in n.defaultProps)void 0===r[i]&&(r[i]=n.defaultProps[i]);return h(n,r,l&&l.key,l&&l.ref,null)}function h(l,u,i,t,r){var o={type:l,props:u,key:i,ref:t,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:r};return null==r&&(o.__v=o),n.vnode&&n.vnode(o),o}function y(){return{current:null}}function p(n){return n.children}function d(n,l){this.props=n,this.context=l}function _(n,l){if(null==l)return n.__?_(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return"function"==typeof n.type?_(n):null}function k(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return k(n)}}function w(l){(!l.__d&&(l.__d=!0)&&u.push(l)&&!m.__r++||t!==n.debounceRendering)&&((t=n.debounceRendering)||i)(m)}function m(){for(var n;m.__r=u.length;)n=u.sort(function(n,l){return n.__v.__b-l.__v.__b}),u=[],n.some(function(n){var l,u,i,t,r,o,f;n.__d&&(o=(r=(l=n).__v).__e,(f=l.__P)&&(u=[],(i=s({},r)).__v=i,t=T(f,r,i,l.__n,void 0!==f.ownerSVGElement,null,u,null==o?_(r):o),$(u,r),t!=o&&k(r)))})}function g(n,l,u,i,t,r,o,c,s,v){var y,d,k,w,m,g,b,A=i&&i.__k||e,P=A.length;for(s==f&&(s=null!=o?o[0]:P?_(i,0):null),u.__k=[],y=0;y<l.length;y++)if(null!=(w=u.__k[y]=null==(w=l[y])||"boolean"==typeof w?null:"string"==typeof w||"number"==typeof w?h(null,w,null,null,w):Array.isArray(w)?h(p,{children:w},null,null,null):null!=w.__e||null!=w.__c?h(w.type,w.props,w.key,null,w.__v):w)){if(w.__=u,w.__b=u.__b+1,null===(k=A[y])||k&&w.key==k.key&&w.type===k.type)A[y]=void 0;else for(d=0;d<P;d++){if((k=A[d])&&w.key==k.key&&w.type===k.type){A[d]=void 0;break}k=null}m=T(n,w,k=k||f,t,r,o,c,s,v),(d=w.ref)&&k.ref!=d&&(b||(b=[]),k.ref&&b.push(k.ref,null,w),b.push(d,w.__c||m,w)),null!=m?(null==g&&(g=m),s=x(n,w,k,A,o,m,s),"option"==u.type?n.value="":"function"==typeof u.type&&(u.__d=s)):s&&k.__e==s&&s.parentNode!=n&&(s=_(k))}if(u.__e=g,null!=o&&"function"!=typeof u.type)for(y=o.length;y--;)null!=o[y]&&a(o[y]);for(y=P;y--;)null!=A[y]&&I(A[y],A[y]);if(b)for(y=0;y<b.length;y++)H(b[y],b[++y],b[++y])}function b(n){return null==n||"boolean"==typeof n?[]:Array.isArray(n)?e.concat.apply([],n.map(b)):[n]}function x(n,l,u,i,t,r,o){var f,e,c;if(void 0!==l.__d)f=l.__d,l.__d=void 0;else if(t==u||r!=o||null==r.parentNode)n:if(null==o||o.parentNode!==n)n.appendChild(r),f=null;else{for(e=o,c=0;(e=e.nextSibling)&&c<i.length;c+=2)if(e==r)break n;n.insertBefore(r,o),f=o}return void 0!==f?f:r.nextSibling}function A(n,l,u,i,t){var r;for(r in u)"children"===r||"key"===r||r in l||C(n,r,null,u[r],i);for(r in l)t&&"function"!=typeof l[r]||"children"===r||"key"===r||"value"===r||"checked"===r||u[r]===l[r]||C(n,r,l[r],u[r],i)}function P(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]="number"==typeof u&&!1===c.test(l)?u+"px":null==u?"":u}function C(n,l,u,i,t){var r,o,f,e,c;if(t?"className"===l&&(l="class"):"class"===l&&(l="className"),"style"===l)if(r=n.style,"string"==typeof u)r.cssText=u;else{if("string"==typeof i&&(r.cssText="",i=null),i)for(e in i)u&&e in u||P(r,e,"");if(u)for(c in u)i&&u[c]===i[c]||P(r,c,u[c])}else"o"===l[0]&&"n"===l[1]?(o=l!==(l=l.replace(/Capture$/,"")),f=l.toLowerCase(),l=(f in n?f:l).slice(2),u?(i||n.addEventListener(l,N,o),(n.l||(n.l={}))[l]=u):n.removeEventListener(l,N,o)):"list"!==l&&"tagName"!==l&&"form"!==l&&"type"!==l&&"size"!==l&&!t&&l in n?n[l]=null==u?"":u:"function"!=typeof u&&"dangerouslySetInnerHTML"!==l&&(l!==(l=l.replace(/^xlink:?/,""))?null==u||!1===u?n.removeAttributeNS("http://www.w3.org/1999/xlink",l.toLowerCase()):n.setAttributeNS("http://www.w3.org/1999/xlink",l.toLowerCase(),u):null==u||!1===u&&!/^ar/.test(l)?n.removeAttribute(l):n.setAttribute(l,u))}function N(l){this.l[l.type](n.event?n.event(l):l)}function z(n,l,u){var i,t;for(i=0;i<n.__k.length;i++)(t=n.__k[i])&&(t.__=n,t.__e&&("function"==typeof t.type&&t.__k.length>1&&z(t,l,u),l=x(u,t,t,n.__k,null,t.__e,l),"function"==typeof n.type&&(n.__d=l)))}function T(l,u,i,t,r,o,f,e,c){var a,v,h,y,_,k,w,m,b,x,A,P=u.type;if(void 0!==u.constructor)return null;(a=n.__b)&&a(u);try{n:if("function"==typeof P){if(m=u.props,b=(a=P.contextType)&&t[a.__c],x=a?b?b.props.value:a.__:t,i.__c?w=(v=u.__c=i.__c).__=v.__E:("prototype"in P&&P.prototype.render?u.__c=v=new P(m,x):(u.__c=v=new d(m,x),v.constructor=P,v.render=L),b&&b.sub(v),v.props=m,v.state||(v.state={}),v.context=x,v.__n=t,h=v.__d=!0,v.__h=[]),null==v.__s&&(v.__s=v.state),null!=P.getDerivedStateFromProps&&(v.__s==v.state&&(v.__s=s({},v.__s)),s(v.__s,P.getDerivedStateFromProps(m,v.__s))),y=v.props,_=v.state,h)null==P.getDerivedStateFromProps&&null!=v.componentWillMount&&v.componentWillMount(),null!=v.componentDidMount&&v.__h.push(v.componentDidMount);else{if(null==P.getDerivedStateFromProps&&m!==y&&null!=v.componentWillReceiveProps&&v.componentWillReceiveProps(m,x),!v.__e&&null!=v.shouldComponentUpdate&&!1===v.shouldComponentUpdate(m,v.__s,x)||u.__v===i.__v){v.props=m,v.state=v.__s,u.__v!==i.__v&&(v.__d=!1),v.__v=u,u.__e=i.__e,u.__k=i.__k,v.__h.length&&f.push(v),z(u,e,l);break n}null!=v.componentWillUpdate&&v.componentWillUpdate(m,v.__s,x),null!=v.componentDidUpdate&&v.__h.push(function(){v.componentDidUpdate(y,_,k)})}v.context=x,v.props=m,v.state=v.__s,(a=n.__r)&&a(u),v.__d=!1,v.__v=u,v.__P=l,a=v.render(v.props,v.state,v.context),v.state=v.__s,null!=v.getChildContext&&(t=s(s({},t),v.getChildContext())),h||null==v.getSnapshotBeforeUpdate||(k=v.getSnapshotBeforeUpdate(y,_)),A=null!=a&&a.type==p&&null==a.key?a.props.children:a,g(l,Array.isArray(A)?A:[A],u,i,t,r,o,f,e,c),v.base=u.__e,v.__h.length&&f.push(v),w&&(v.__E=v.__=null),v.__e=!1}else null==o&&u.__v===i.__v?(u.__k=i.__k,u.__e=i.__e):u.__e=j(i.__e,u,i,t,r,o,f,c);(a=n.diffed)&&a(u)}catch(l){u.__v=null,n.__e(l,u,i)}return u.__e}function $(l,u){n.__c&&n.__c(u,l),l.some(function(u){try{l=u.__h,u.__h=[],l.some(function(n){n.call(u)})}catch(l){n.__e(l,u.__v)}})}function j(n,l,u,i,t,r,o,c){var s,a,v,h,y,p=u.props,d=l.props;if(t="svg"===l.type||t,null!=r)for(s=0;s<r.length;s++)if(null!=(a=r[s])&&((null===l.type?3===a.nodeType:a.localName===l.type)||n==a)){n=a,r[s]=null;break}if(null==n){if(null===l.type)return document.createTextNode(d);n=t?document.createElementNS("http://www.w3.org/2000/svg",l.type):document.createElement(l.type,d.is&&{is:d.is}),r=null,c=!1}if(null===l.type)p!==d&&n.data!=d&&(n.data=d);else{if(null!=r&&(r=e.slice.call(n.childNodes)),v=(p=u.props||f).dangerouslySetInnerHTML,h=d.dangerouslySetInnerHTML,!c){if(null!=r)for(p={},y=0;y<n.attributes.length;y++)p[n.attributes[y].name]=n.attributes[y].value;(h||v)&&(h&&v&&h.__html==v.__html||(n.innerHTML=h&&h.__html||""))}A(n,d,p,t,c),h?l.__k=[]:(s=l.props.children,g(n,Array.isArray(s)?s:[s],l,u,i,"foreignObject"!==l.type&&t,r,o,f,c)),c||("value"in d&&void 0!==(s=d.value)&&s!==n.value&&C(n,"value",s,p.value,!1),"checked"in d&&void 0!==(s=d.checked)&&s!==n.checked&&C(n,"checked",s,p.checked,!1))}return n}function H(l,u,i){try{"function"==typeof l?l(u):l.current=u}catch(l){n.__e(l,i)}}function I(l,u,i){var t,r,o;if(n.unmount&&n.unmount(l),(t=l.ref)&&(t.current&&t.current!==l.__e||H(t,null,u)),i||"function"==typeof l.type||(i=null!=(r=l.__e)),l.__e=l.__d=void 0,null!=(t=l.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount()}catch(l){n.__e(l,u)}t.base=t.__P=null}if(t=l.__k)for(o=0;o<t.length;o++)t[o]&&I(t[o],u,i);null!=r&&a(r)}function L(n,l,u){return this.constructor(n,u)}function M(l,u,i){var t,o,c;n.__&&n.__(l,u),o=(t=i===r)?null:i&&i.__k||u.__k,l=v(p,null,[l]),c=[],T(u,(t?u:i||u).__k=l,o||f,f,void 0!==u.ownerSVGElement,i&&!t?[i]:o?null:u.childNodes.length?e.slice.call(u.childNodes):null,c,i||f,t),$(c,l)}function O(n,l){M(n,l,r)}function S(n,l){var u,i;for(i in l=s(s({},n.props),l),arguments.length>2&&(l.children=e.slice.call(arguments,2)),u={},l)"key"!==i&&"ref"!==i&&(u[i]=l[i]);return h(n.type,u,l.key||n.key,l.ref||n.ref,null)}function q(n){var l={},u={__c:"__cC"+o++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var i,t=this;return this.getChildContext||(i=[],this.getChildContext=function(){return l[u.__c]=t,l},this.shouldComponentUpdate=function(n){t.props.value!==n.value&&i.some(function(l){l.context=n.value,w(l)})},this.sub=function(n){i.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){i.splice(i.indexOf(n),1),l&&l.call(n)}}),n.children}};return u.Consumer.contextType=u,u.Provider.__=u,u}n={__e:function(n,l){for(var u,i;l=l.__;)if((u=l.__c)&&!u.__)try{if(u.constructor&&null!=u.constructor.getDerivedStateFromError&&(i=!0,u.setState(u.constructor.getDerivedStateFromError(n))),null!=u.componentDidCatch&&(i=!0,u.componentDidCatch(n)),i)return w(u.__E=u)}catch(l){n=l}throw n}},l=function(n){return null!=n&&void 0===n.constructor},d.prototype.setState=function(n,l){var u;u=this.__s!==this.state?this.__s:this.__s=s({},this.state),"function"==typeof n&&(n=n(u,this.props)),n&&s(u,n),null!=n&&this.__v&&(l&&this.__h.push(l),w(this))},d.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),w(this))},d.prototype.render=p,u=[],i="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,m.__r=0,r=f,o=0;
|
|
807
810
|
//# sourceMappingURL=preact.module.js.map
|
|
@@ -1738,7 +1741,7 @@ var States;
|
|
|
1738
1741
|
* Thenable class that behaves like a Promise and follows it's interface
|
|
1739
1742
|
* but is not async internally
|
|
1740
1743
|
*/
|
|
1741
|
-
var
|
|
1744
|
+
var SyncPromise = /** @class */ (function () {
|
|
1742
1745
|
function SyncPromise(executor) {
|
|
1743
1746
|
var _this = this;
|
|
1744
1747
|
this._state = States.PENDING;
|
|
@@ -2287,7 +2290,7 @@ var Scope = /** @class */ (function () {
|
|
|
2287
2290
|
Scope.prototype._notifyEventProcessors = function (processors, event, hint, index) {
|
|
2288
2291
|
var _this = this;
|
|
2289
2292
|
if (index === void 0) { index = 0; }
|
|
2290
|
-
return new
|
|
2293
|
+
return new SyncPromise(function (resolve, reject) {
|
|
2291
2294
|
var processor = processors[index];
|
|
2292
2295
|
if (event === null || typeof processor !== 'function') {
|
|
2293
2296
|
resolve(event);
|
|
@@ -3818,7 +3821,7 @@ function makeMain(hub) {
|
|
|
3818
3821
|
* contains a more recent version, it replaces the registered version.
|
|
3819
3822
|
* Otherwise, the currently registered hub will be returned.
|
|
3820
3823
|
*/
|
|
3821
|
-
function
|
|
3824
|
+
function getCurrentHub() {
|
|
3822
3825
|
// Get main carrier (global for every environment)
|
|
3823
3826
|
var registry = getMainCarrier();
|
|
3824
3827
|
// If there's no hub, or its an old API, assign a new one
|
|
@@ -3924,7 +3927,7 @@ var InboundFilters = /** @class */ (function () {
|
|
|
3924
3927
|
*/
|
|
3925
3928
|
InboundFilters.prototype.setupOnce = function () {
|
|
3926
3929
|
addGlobalEventProcessor(function (event) {
|
|
3927
|
-
var hub =
|
|
3930
|
+
var hub = getCurrentHub();
|
|
3928
3931
|
if (!hub) {
|
|
3929
3932
|
return event;
|
|
3930
3933
|
}
|
|
@@ -5186,7 +5189,7 @@ function eventFromException(options, exception, hint) {
|
|
|
5186
5189
|
if (hint && hint.event_id) {
|
|
5187
5190
|
event.event_id = hint.event_id;
|
|
5188
5191
|
}
|
|
5189
|
-
return
|
|
5192
|
+
return SyncPromise.resolve(event);
|
|
5190
5193
|
}
|
|
5191
5194
|
/**
|
|
5192
5195
|
* Builds and Event from a Message
|
|
@@ -5202,7 +5205,7 @@ function eventFromMessage(options, message, level, hint) {
|
|
|
5202
5205
|
if (hint && hint.event_id) {
|
|
5203
5206
|
event.event_id = hint.event_id;
|
|
5204
5207
|
}
|
|
5205
|
-
return
|
|
5208
|
+
return SyncPromise.resolve(event);
|
|
5206
5209
|
}
|
|
5207
5210
|
/**
|
|
5208
5211
|
* @hidden
|
|
@@ -5512,7 +5515,7 @@ function callOnHub(method) {
|
|
|
5512
5515
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
5513
5516
|
args[_i - 1] = arguments[_i];
|
|
5514
5517
|
}
|
|
5515
|
-
var hub =
|
|
5518
|
+
var hub = getCurrentHub();
|
|
5516
5519
|
if (hub && hub[method]) {
|
|
5517
5520
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5518
5521
|
return hub[method].apply(hub, minimal_node_modules_tslib_tslib_es6_spread(args));
|
|
@@ -6172,7 +6175,7 @@ var GlobalHandlers = /** @class */ (function () {
|
|
|
6172
6175
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
6173
6176
|
callback: function (data) {
|
|
6174
6177
|
var error = data.error;
|
|
6175
|
-
var currentHub =
|
|
6178
|
+
var currentHub = getCurrentHub();
|
|
6176
6179
|
var hasIntegration = currentHub.getIntegration(GlobalHandlers);
|
|
6177
6180
|
var isFailedOwnDelivery = error && error.__sentry_own_request__ === true;
|
|
6178
6181
|
if (!hasIntegration || shouldIgnoreOnError() || isFailedOwnDelivery) {
|
|
@@ -6226,7 +6229,7 @@ var GlobalHandlers = /** @class */ (function () {
|
|
|
6226
6229
|
catch (_oO) {
|
|
6227
6230
|
// no-empty
|
|
6228
6231
|
}
|
|
6229
|
-
var currentHub =
|
|
6232
|
+
var currentHub = getCurrentHub();
|
|
6230
6233
|
var hasIntegration = currentHub.getIntegration(GlobalHandlers);
|
|
6231
6234
|
var isFailedOwnDelivery = error && error.__sentry_own_request__ === true;
|
|
6232
6235
|
if (!hasIntegration || shouldIgnoreOnError() || isFailedOwnDelivery) {
|
|
@@ -6588,7 +6591,7 @@ var Breadcrumbs = /** @class */ (function () {
|
|
|
6588
6591
|
if (!this._options.sentry) {
|
|
6589
6592
|
return;
|
|
6590
6593
|
}
|
|
6591
|
-
|
|
6594
|
+
getCurrentHub().addBreadcrumb({
|
|
6592
6595
|
category: "sentry." + (event.type === 'transaction' ? 'transaction' : 'event'),
|
|
6593
6596
|
event_id: event.event_id,
|
|
6594
6597
|
level: event.level,
|
|
@@ -6692,7 +6695,7 @@ var Breadcrumbs = /** @class */ (function () {
|
|
|
6692
6695
|
return;
|
|
6693
6696
|
}
|
|
6694
6697
|
}
|
|
6695
|
-
|
|
6698
|
+
getCurrentHub().addBreadcrumb(breadcrumb, {
|
|
6696
6699
|
input: handlerData.args,
|
|
6697
6700
|
level: handlerData.level,
|
|
6698
6701
|
});
|
|
@@ -6719,7 +6722,7 @@ var Breadcrumbs = /** @class */ (function () {
|
|
|
6719
6722
|
if (target.length === 0) {
|
|
6720
6723
|
return;
|
|
6721
6724
|
}
|
|
6722
|
-
|
|
6725
|
+
getCurrentHub().addBreadcrumb({
|
|
6723
6726
|
category: "ui." + handlerData.name,
|
|
6724
6727
|
message: target,
|
|
6725
6728
|
}, {
|
|
@@ -6739,7 +6742,7 @@ var Breadcrumbs = /** @class */ (function () {
|
|
|
6739
6742
|
return;
|
|
6740
6743
|
}
|
|
6741
6744
|
var _a = handlerData.xhr.__sentry_xhr__ || {}, method = _a.method, url = _a.url, status_code = _a.status_code, body = _a.body;
|
|
6742
|
-
|
|
6745
|
+
getCurrentHub().addBreadcrumb({
|
|
6743
6746
|
category: 'xhr',
|
|
6744
6747
|
data: {
|
|
6745
6748
|
method: method,
|
|
@@ -6768,7 +6771,7 @@ var Breadcrumbs = /** @class */ (function () {
|
|
|
6768
6771
|
return;
|
|
6769
6772
|
}
|
|
6770
6773
|
if (handlerData.error) {
|
|
6771
|
-
|
|
6774
|
+
getCurrentHub().addBreadcrumb({
|
|
6772
6775
|
category: 'fetch',
|
|
6773
6776
|
data: handlerData.fetchData,
|
|
6774
6777
|
level: Severity.Error,
|
|
@@ -6779,7 +6782,7 @@ var Breadcrumbs = /** @class */ (function () {
|
|
|
6779
6782
|
});
|
|
6780
6783
|
}
|
|
6781
6784
|
else {
|
|
6782
|
-
|
|
6785
|
+
getCurrentHub().addBreadcrumb({
|
|
6783
6786
|
category: 'fetch',
|
|
6784
6787
|
data: tslib_es6_assign(tslib_es6_assign({}, handlerData.fetchData), { status_code: handlerData.response.status }),
|
|
6785
6788
|
type: 'http',
|
|
@@ -6812,7 +6815,7 @@ var Breadcrumbs = /** @class */ (function () {
|
|
|
6812
6815
|
if (parsedLoc.protocol === parsedFrom.protocol && parsedLoc.host === parsedFrom.host) {
|
|
6813
6816
|
from = parsedFrom.relative;
|
|
6814
6817
|
}
|
|
6815
|
-
|
|
6818
|
+
getCurrentHub().addBreadcrumb({
|
|
6816
6819
|
category: 'navigation',
|
|
6817
6820
|
data: {
|
|
6818
6821
|
from: from,
|
|
@@ -6855,7 +6858,7 @@ var LinkedErrors = /** @class */ (function () {
|
|
|
6855
6858
|
*/
|
|
6856
6859
|
LinkedErrors.prototype.setupOnce = function () {
|
|
6857
6860
|
addGlobalEventProcessor(function (event, hint) {
|
|
6858
|
-
var self =
|
|
6861
|
+
var self = getCurrentHub().getIntegration(LinkedErrors);
|
|
6859
6862
|
if (self) {
|
|
6860
6863
|
var handler = self._handler && self._handler.bind(self);
|
|
6861
6864
|
return typeof handler === 'function' ? handler(event, hint) : event;
|
|
@@ -6913,7 +6916,7 @@ var UserAgent = /** @class */ (function () {
|
|
|
6913
6916
|
UserAgent.prototype.setupOnce = function () {
|
|
6914
6917
|
addGlobalEventProcessor(function (event) {
|
|
6915
6918
|
var _a, _b, _c;
|
|
6916
|
-
if (
|
|
6919
|
+
if (getCurrentHub().getIntegration(UserAgent)) {
|
|
6917
6920
|
// if none of the information we want exists, don't bother
|
|
6918
6921
|
if (!useragent_global.navigator && !useragent_global.location && !useragent_global.document) {
|
|
6919
6922
|
return event;
|
|
@@ -7176,7 +7179,7 @@ function setupIntegration(integration) {
|
|
|
7176
7179
|
if (installedIntegrations.indexOf(integration.name) !== -1) {
|
|
7177
7180
|
return;
|
|
7178
7181
|
}
|
|
7179
|
-
integration.setupOnce(addGlobalEventProcessor,
|
|
7182
|
+
integration.setupOnce(addGlobalEventProcessor, getCurrentHub);
|
|
7180
7183
|
installedIntegrations.push(integration.name);
|
|
7181
7184
|
logger_logger.log("Integration installed: " + integration.name);
|
|
7182
7185
|
}
|
|
@@ -7420,7 +7423,7 @@ var BaseClient = /** @class */ (function () {
|
|
|
7420
7423
|
*/
|
|
7421
7424
|
BaseClient.prototype._isClientDoneProcessing = function (timeout) {
|
|
7422
7425
|
var _this = this;
|
|
7423
|
-
return new
|
|
7426
|
+
return new SyncPromise(function (resolve) {
|
|
7424
7427
|
var ticked = 0;
|
|
7425
7428
|
var tick = 1;
|
|
7426
7429
|
var interval = setInterval(function () {
|
|
@@ -7473,7 +7476,7 @@ var BaseClient = /** @class */ (function () {
|
|
|
7473
7476
|
finalScope = Scope.clone(finalScope).update(hint.captureContext);
|
|
7474
7477
|
}
|
|
7475
7478
|
// We prepare the result here with a resolved Event.
|
|
7476
|
-
var result =
|
|
7479
|
+
var result = SyncPromise.resolve(prepared);
|
|
7477
7480
|
// This should be the last thing called, since we want that
|
|
7478
7481
|
// {@link Hub.addEventProcessor} gets the finished prepared event.
|
|
7479
7482
|
if (finalScope) {
|
|
@@ -7609,14 +7612,14 @@ var BaseClient = /** @class */ (function () {
|
|
|
7609
7612
|
// eslint-disable-next-line @typescript-eslint/unbound-method
|
|
7610
7613
|
var _a = this.getOptions(), beforeSend = _a.beforeSend, sampleRate = _a.sampleRate;
|
|
7611
7614
|
if (!this._isEnabled()) {
|
|
7612
|
-
return
|
|
7615
|
+
return SyncPromise.reject(new SentryError('SDK not enabled, will not capture event.'));
|
|
7613
7616
|
}
|
|
7614
7617
|
var isTransaction = event.type === 'transaction';
|
|
7615
7618
|
// 1.0 === 100% events are sent
|
|
7616
7619
|
// 0.0 === 0% events are sent
|
|
7617
7620
|
// Sampling for transaction happens somewhere else
|
|
7618
7621
|
if (!isTransaction && typeof sampleRate === 'number' && Math.random() > sampleRate) {
|
|
7619
|
-
return
|
|
7622
|
+
return SyncPromise.reject(new SentryError("Discarding event because it's not included in the random sample (sampling rate = " + sampleRate + ")"));
|
|
7620
7623
|
}
|
|
7621
7624
|
return this._prepareEvent(event, scope, hint)
|
|
7622
7625
|
.then(function (prepared) {
|
|
@@ -7747,7 +7750,7 @@ var NoopTransport = /** @class */ (function () {
|
|
|
7747
7750
|
* @inheritDoc
|
|
7748
7751
|
*/
|
|
7749
7752
|
NoopTransport.prototype.sendEvent = function (_) {
|
|
7750
|
-
return
|
|
7753
|
+
return SyncPromise.resolve({
|
|
7751
7754
|
reason: "NoopTransport: Event has been skipped because no Dsn is configured.",
|
|
7752
7755
|
status: Status.Skipped,
|
|
7753
7756
|
});
|
|
@@ -7756,7 +7759,7 @@ var NoopTransport = /** @class */ (function () {
|
|
|
7756
7759
|
* @inheritDoc
|
|
7757
7760
|
*/
|
|
7758
7761
|
NoopTransport.prototype.close = function (_) {
|
|
7759
|
-
return
|
|
7762
|
+
return SyncPromise.resolve(true);
|
|
7760
7763
|
};
|
|
7761
7764
|
return NoopTransport;
|
|
7762
7765
|
}());
|
|
@@ -7937,7 +7940,7 @@ var PromiseBuffer = /** @class */ (function () {
|
|
|
7937
7940
|
PromiseBuffer.prototype.add = function (taskProducer) {
|
|
7938
7941
|
var _this = this;
|
|
7939
7942
|
if (!this.isReady()) {
|
|
7940
|
-
return
|
|
7943
|
+
return SyncPromise.reject(new SentryError('Not adding Promise due to buffer limit reached.'));
|
|
7941
7944
|
}
|
|
7942
7945
|
// start the task and add its promise to the queue
|
|
7943
7946
|
var task = taskProducer();
|
|
@@ -7983,7 +7986,7 @@ var PromiseBuffer = /** @class */ (function () {
|
|
|
7983
7986
|
*/
|
|
7984
7987
|
PromiseBuffer.prototype.drain = function (timeout) {
|
|
7985
7988
|
var _this = this;
|
|
7986
|
-
return new
|
|
7989
|
+
return new SyncPromise(function (resolve) {
|
|
7987
7990
|
// wait for `timeout` ms and then resolve to `false` (if not cancelled first)
|
|
7988
7991
|
var capturedSetTimeout = setTimeout(function () {
|
|
7989
7992
|
if (timeout && timeout > 0) {
|
|
@@ -7991,7 +7994,7 @@ var PromiseBuffer = /** @class */ (function () {
|
|
|
7991
7994
|
}
|
|
7992
7995
|
}, timeout);
|
|
7993
7996
|
// if all promises resolve in time, cancel the timer and resolve to `true`
|
|
7994
|
-
void
|
|
7997
|
+
void SyncPromise.all(_this._buffer)
|
|
7995
7998
|
.then(function () {
|
|
7996
7999
|
clearTimeout(capturedSetTimeout);
|
|
7997
8000
|
resolve(true);
|
|
@@ -8253,7 +8256,7 @@ var FetchTransport = /** @class */ (function (_super) {
|
|
|
8253
8256
|
options.headers = this.options.headers;
|
|
8254
8257
|
}
|
|
8255
8258
|
return this._buffer.add(function () {
|
|
8256
|
-
return new
|
|
8259
|
+
return new SyncPromise(function (resolve, reject) {
|
|
8257
8260
|
void _this._fetch(sentryRequest.url, options)
|
|
8258
8261
|
.then(function (response) {
|
|
8259
8262
|
var headers = {
|
|
@@ -8314,7 +8317,7 @@ var XHRTransport = /** @class */ (function (_super) {
|
|
|
8314
8317
|
});
|
|
8315
8318
|
}
|
|
8316
8319
|
return this._buffer.add(function () {
|
|
8317
|
-
return new
|
|
8320
|
+
return new SyncPromise(function (resolve, reject) {
|
|
8318
8321
|
var request = new XMLHttpRequest();
|
|
8319
8322
|
request.onreadystatechange = function () {
|
|
8320
8323
|
if (request.readyState === 4) {
|
|
@@ -8492,7 +8495,7 @@ var client = new error_tracker_BrowserClient({
|
|
|
8492
8495
|
return event;
|
|
8493
8496
|
},
|
|
8494
8497
|
environment: "production",
|
|
8495
|
-
release: "
|
|
8498
|
+
release: "f19ff23c3540dea5849b9545cf7188b0bf11bf6e",
|
|
8496
8499
|
sampleRate: 0.25,
|
|
8497
8500
|
autoSessionTracking: false,
|
|
8498
8501
|
// Integrations don't seem to work with Sentry: https://github.com/getsentry/sentry-javascript/issues/2541
|
|
@@ -9176,7 +9179,7 @@ function getEmbedURL(_ref) {
|
|
|
9176
9179
|
polyfillVersionString = "legacy";
|
|
9177
9180
|
}
|
|
9178
9181
|
|
|
9179
|
-
return concat_default()(_context5 = concat_default()(_context6 = concat_default()(_context7 = "".concat(host, "/embed/")).call(_context7, polyfillVersionString, "/")).call(_context6, frameName, "/")).call(_context5, "
|
|
9182
|
+
return concat_default()(_context5 = concat_default()(_context6 = concat_default()(_context7 = "".concat(host, "/embed/")).call(_context7, polyfillVersionString, "/")).call(_context6, frameName, "/")).call(_context5, "f19ff23", "/index.html");
|
|
9180
9183
|
}
|
|
9181
9184
|
/**
|
|
9182
9185
|
* Generate the Chat / API URL
|
|
@@ -9331,63 +9334,10 @@ var CHATTER_CREATED_STORAGE_KEY = "ada-embed_chatter-created";
|
|
|
9331
9334
|
var IN_LIVE_CHAT_STORAGE_KEY = "inLiveChat";
|
|
9332
9335
|
var ZD_SESSION_STORAGE_KEY = "ada-embed_zd-session-id";
|
|
9333
9336
|
var ZD_PREVIOUS_TAGS_STORAGE_KEY = "ada-embed_zd-previous-tags";
|
|
9337
|
+
var IS_DRAWER_OPEN_STORAGE_KEY = "ada-embed_is-drawer-open";
|
|
9334
9338
|
/** @deprecated - Use CHATTER_TOKEN_STORAGE_KEY */
|
|
9335
9339
|
|
|
9336
9340
|
var CHATTER_STORAGE_KEY = CHATTER_TOKEN_STORAGE_KEY;
|
|
9337
|
-
;// CONCATENATED MODULE: ./src/frames/lib/frame-fc.ts
|
|
9338
|
-
|
|
9339
|
-
var frameName = null;
|
|
9340
|
-
/* harmony default export */ var frame_fc = (new FC(frameName, window.parent));
|
|
9341
|
-
;// CONCATENATED MODULE: ./src/frames/helpers/frame-init.ts
|
|
9342
|
-
|
|
9343
|
-
|
|
9344
|
-
|
|
9345
|
-
|
|
9346
|
-
function initializeFrame() {
|
|
9347
|
-
var waitForOtherFrames = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
9348
|
-
var initialState = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
9349
|
-
|
|
9350
|
-
if (!waitForOtherFrames) {
|
|
9351
|
-
return promise_default().resolve(true);
|
|
9352
|
-
}
|
|
9353
|
-
|
|
9354
|
-
return new (promise_default())(function (resolve) {
|
|
9355
|
-
var timeout;
|
|
9356
|
-
var handlerRef;
|
|
9357
|
-
|
|
9358
|
-
var initMessageHandler = function initMessageHandler(type) {
|
|
9359
|
-
if (type === ALL_FRAMES_LOADED) {
|
|
9360
|
-
frame_fc.removeEventListener(handlerRef);
|
|
9361
|
-
clearTimeout(timeout);
|
|
9362
|
-
resolve(true);
|
|
9363
|
-
}
|
|
9364
|
-
};
|
|
9365
|
-
|
|
9366
|
-
timeout = window.setTimeout(function () {
|
|
9367
|
-
frame_fc.removeEventListener(handlerRef);
|
|
9368
|
-
(0,errors/* warn */.Z)("".concat(null, " frame never received all frames loaded"));
|
|
9369
|
-
resolve(false);
|
|
9370
|
-
}, DEFAULT_CONNECTION_TIMEOUT);
|
|
9371
|
-
handlerRef = frame_fc.addEventListener(initMessageHandler);
|
|
9372
|
-
frame_fc.postMessage("".concat(null, "_INIT"), initialState);
|
|
9373
|
-
});
|
|
9374
|
-
}
|
|
9375
|
-
function addCustomStyles(styles, hasUICustomization) {
|
|
9376
|
-
if (!styles) {
|
|
9377
|
-
return;
|
|
9378
|
-
}
|
|
9379
|
-
|
|
9380
|
-
if (!hasUICustomization) {
|
|
9381
|
-
warn("UI Customization is not available in your feature set.");
|
|
9382
|
-
return;
|
|
9383
|
-
}
|
|
9384
|
-
|
|
9385
|
-
var styleSheet = document.createElement("style");
|
|
9386
|
-
styleSheet.type = "text/css";
|
|
9387
|
-
styleSheet.appendChild(document.createTextNode(styles)); // Append the stylesheet to the head of the document
|
|
9388
|
-
|
|
9389
|
-
document.head.appendChild(styleSheet);
|
|
9390
|
-
}
|
|
9391
9341
|
;// CONCATENATED MODULE: ./src/frames/lib/safe-storage/index.ts
|
|
9392
9342
|
|
|
9393
9343
|
|
|
@@ -9494,508 +9444,6 @@ var SafeStorage = /*#__PURE__*/function () {
|
|
|
9494
9444
|
}();
|
|
9495
9445
|
var safeLocalStorage = new SafeStorage(StorageTypes.Local);
|
|
9496
9446
|
var safeSessionStorage = new SafeStorage(StorageTypes.Session);
|
|
9497
|
-
;// CONCATENATED MODULE: ./src/frames/helpers/storage/index.ts
|
|
9498
|
-
|
|
9499
|
-
var PERSISTENCE_NORMAL = "normal";
|
|
9500
|
-
var PERSISTENCE_SESSION = "session";
|
|
9501
|
-
/**
|
|
9502
|
-
* Retrieves items from local or session storage, depending on the client's
|
|
9503
|
-
* persistence setting. If privateMode is set, it returns null.
|
|
9504
|
-
*/
|
|
9505
|
-
|
|
9506
|
-
function retrieveStorage(key, client, privateMode) {
|
|
9507
|
-
var persistence = client.persistence;
|
|
9508
|
-
|
|
9509
|
-
if (privateMode) {
|
|
9510
|
-
return null;
|
|
9511
|
-
}
|
|
9512
|
-
|
|
9513
|
-
if (persistence === PERSISTENCE_NORMAL) {
|
|
9514
|
-
return safeLocalStorage.getItem(key);
|
|
9515
|
-
}
|
|
9516
|
-
|
|
9517
|
-
if (persistence === PERSISTENCE_SESSION) {
|
|
9518
|
-
return safeSessionStorage.getItem(key);
|
|
9519
|
-
}
|
|
9520
|
-
|
|
9521
|
-
return null;
|
|
9522
|
-
}
|
|
9523
|
-
;// CONCATENATED MODULE: ./src/frames/lib/store-proxy.ts
|
|
9524
|
-
|
|
9525
|
-
|
|
9526
|
-
var store = {
|
|
9527
|
-
get: function get(key) {
|
|
9528
|
-
return frame_fc.fetch(GET_EVENT, GET_RESPONSE_EVENT, {
|
|
9529
|
-
key: key
|
|
9530
|
-
});
|
|
9531
|
-
},
|
|
9532
|
-
getState: function getState() {
|
|
9533
|
-
return frame_fc.fetch(GET_STATE_EVENT, GET_STATE_RESPONSE_EVENT);
|
|
9534
|
-
},
|
|
9535
|
-
dispatch: function dispatch(actionKey, payload) {
|
|
9536
|
-
return frame_fc.fetch(DISPATCH_EVENT, DISPATCH_RESPONSE_EVENT, {
|
|
9537
|
-
actionKey: actionKey,
|
|
9538
|
-
payload: payload
|
|
9539
|
-
});
|
|
9540
|
-
},
|
|
9541
|
-
subscribe: function subscribe(callback) {
|
|
9542
|
-
frame_fc.addEventListener(function (type, payload) {
|
|
9543
|
-
if (type === STATE_CHANGE_EVENT) {
|
|
9544
|
-
callback(payload);
|
|
9545
|
-
}
|
|
9546
|
-
});
|
|
9547
|
-
}
|
|
9548
|
-
};
|
|
9549
|
-
;// CONCATENATED MODULE: ./node_modules/@sentry/core/esm/sdk.js
|
|
9550
|
-
|
|
9551
|
-
|
|
9552
|
-
/**
|
|
9553
|
-
* Internal function to create a new SDK client instance. The client is
|
|
9554
|
-
* installed and then bound to the current scope.
|
|
9555
|
-
*
|
|
9556
|
-
* @param clientClass The client class to instantiate.
|
|
9557
|
-
* @param options Options to pass to the client.
|
|
9558
|
-
*/
|
|
9559
|
-
function initAndBind(clientClass, options) {
|
|
9560
|
-
var _a;
|
|
9561
|
-
if (options.debug === true) {
|
|
9562
|
-
logger_logger.enable();
|
|
9563
|
-
}
|
|
9564
|
-
var hub = hub_getCurrentHub();
|
|
9565
|
-
(_a = hub.getScope()) === null || _a === void 0 ? void 0 : _a.update(options.initialScope);
|
|
9566
|
-
var client = new clientClass(options);
|
|
9567
|
-
hub.bindClient(client);
|
|
9568
|
-
}
|
|
9569
|
-
//# sourceMappingURL=sdk.js.map
|
|
9570
|
-
;// CONCATENATED MODULE: ./node_modules/@sentry/browser/esm/sdk.js
|
|
9571
|
-
|
|
9572
|
-
|
|
9573
|
-
|
|
9574
|
-
|
|
9575
|
-
|
|
9576
|
-
|
|
9577
|
-
var defaultIntegrations = [
|
|
9578
|
-
new InboundFilters(),
|
|
9579
|
-
new FunctionToString(),
|
|
9580
|
-
new TryCatch(),
|
|
9581
|
-
new Breadcrumbs(),
|
|
9582
|
-
new GlobalHandlers(),
|
|
9583
|
-
new LinkedErrors(),
|
|
9584
|
-
new Dedupe(),
|
|
9585
|
-
new UserAgent(),
|
|
9586
|
-
];
|
|
9587
|
-
/**
|
|
9588
|
-
* The Sentry Browser SDK Client.
|
|
9589
|
-
*
|
|
9590
|
-
* To use this SDK, call the {@link init} function as early as possible when
|
|
9591
|
-
* loading the web page. To set context information or send manual events, use
|
|
9592
|
-
* the provided methods.
|
|
9593
|
-
*
|
|
9594
|
-
* @example
|
|
9595
|
-
*
|
|
9596
|
-
* ```
|
|
9597
|
-
*
|
|
9598
|
-
* import { init } from '@sentry/browser';
|
|
9599
|
-
*
|
|
9600
|
-
* init({
|
|
9601
|
-
* dsn: '__DSN__',
|
|
9602
|
-
* // ...
|
|
9603
|
-
* });
|
|
9604
|
-
* ```
|
|
9605
|
-
*
|
|
9606
|
-
* @example
|
|
9607
|
-
* ```
|
|
9608
|
-
*
|
|
9609
|
-
* import { configureScope } from '@sentry/browser';
|
|
9610
|
-
* configureScope((scope: Scope) => {
|
|
9611
|
-
* scope.setExtra({ battery: 0.7 });
|
|
9612
|
-
* scope.setTag({ user_mode: 'admin' });
|
|
9613
|
-
* scope.setUser({ id: '4711' });
|
|
9614
|
-
* });
|
|
9615
|
-
* ```
|
|
9616
|
-
*
|
|
9617
|
-
* @example
|
|
9618
|
-
* ```
|
|
9619
|
-
*
|
|
9620
|
-
* import { addBreadcrumb } from '@sentry/browser';
|
|
9621
|
-
* addBreadcrumb({
|
|
9622
|
-
* message: 'My Breadcrumb',
|
|
9623
|
-
* // ...
|
|
9624
|
-
* });
|
|
9625
|
-
* ```
|
|
9626
|
-
*
|
|
9627
|
-
* @example
|
|
9628
|
-
*
|
|
9629
|
-
* ```
|
|
9630
|
-
*
|
|
9631
|
-
* import * as Sentry from '@sentry/browser';
|
|
9632
|
-
* Sentry.captureMessage('Hello, world!');
|
|
9633
|
-
* Sentry.captureException(new Error('Good bye'));
|
|
9634
|
-
* Sentry.captureEvent({
|
|
9635
|
-
* message: 'Manual',
|
|
9636
|
-
* stacktrace: [
|
|
9637
|
-
* // ...
|
|
9638
|
-
* ],
|
|
9639
|
-
* });
|
|
9640
|
-
* ```
|
|
9641
|
-
*
|
|
9642
|
-
* @see {@link BrowserOptions} for documentation on configuration options.
|
|
9643
|
-
*/
|
|
9644
|
-
function init(options) {
|
|
9645
|
-
if (options === void 0) { options = {}; }
|
|
9646
|
-
if (options.defaultIntegrations === undefined) {
|
|
9647
|
-
options.defaultIntegrations = defaultIntegrations;
|
|
9648
|
-
}
|
|
9649
|
-
if (options.release === undefined) {
|
|
9650
|
-
var window_1 = (0,misc/* getGlobalObject */.Rf)();
|
|
9651
|
-
// This supports the variable that sentry-webpack-plugin injects
|
|
9652
|
-
if (window_1.SENTRY_RELEASE && window_1.SENTRY_RELEASE.id) {
|
|
9653
|
-
options.release = window_1.SENTRY_RELEASE.id;
|
|
9654
|
-
}
|
|
9655
|
-
}
|
|
9656
|
-
if (options.autoSessionTracking === undefined) {
|
|
9657
|
-
options.autoSessionTracking = true;
|
|
9658
|
-
}
|
|
9659
|
-
initAndBind(BrowserClient, options);
|
|
9660
|
-
if (options.autoSessionTracking) {
|
|
9661
|
-
startSessionTracking();
|
|
9662
|
-
}
|
|
9663
|
-
}
|
|
9664
|
-
/**
|
|
9665
|
-
* Present the user with a report dialog.
|
|
9666
|
-
*
|
|
9667
|
-
* @param options Everything is optional, we try to fetch all info need from the global scope.
|
|
9668
|
-
*/
|
|
9669
|
-
function showReportDialog(options) {
|
|
9670
|
-
if (options === void 0) { options = {}; }
|
|
9671
|
-
var hub = getCurrentHub();
|
|
9672
|
-
var scope = hub.getScope();
|
|
9673
|
-
if (scope) {
|
|
9674
|
-
options.user = __assign(__assign({}, scope.getUser()), options.user);
|
|
9675
|
-
}
|
|
9676
|
-
if (!options.eventId) {
|
|
9677
|
-
options.eventId = hub.lastEventId();
|
|
9678
|
-
}
|
|
9679
|
-
var client = hub.getClient();
|
|
9680
|
-
if (client) {
|
|
9681
|
-
client.showReportDialog(options);
|
|
9682
|
-
}
|
|
9683
|
-
}
|
|
9684
|
-
/**
|
|
9685
|
-
* This is the getter for lastEventId.
|
|
9686
|
-
*
|
|
9687
|
-
* @returns The last event id of a captured event.
|
|
9688
|
-
*/
|
|
9689
|
-
function lastEventId() {
|
|
9690
|
-
return getCurrentHub().lastEventId();
|
|
9691
|
-
}
|
|
9692
|
-
/**
|
|
9693
|
-
* This function is here to be API compatible with the loader.
|
|
9694
|
-
* @hidden
|
|
9695
|
-
*/
|
|
9696
|
-
function forceLoad() {
|
|
9697
|
-
// Noop
|
|
9698
|
-
}
|
|
9699
|
-
/**
|
|
9700
|
-
* This function is here to be API compatible with the loader.
|
|
9701
|
-
* @hidden
|
|
9702
|
-
*/
|
|
9703
|
-
function onLoad(callback) {
|
|
9704
|
-
callback();
|
|
9705
|
-
}
|
|
9706
|
-
/**
|
|
9707
|
-
* Call `flush()` on the current client, if there is one. See {@link Client.flush}.
|
|
9708
|
-
*
|
|
9709
|
-
* @param timeout Maximum time in ms the client should wait to flush its event queue. Omitting this parameter will cause
|
|
9710
|
-
* the client to wait until all events are sent before resolving the promise.
|
|
9711
|
-
* @returns A promise which resolves to `true` if the queue successfully drains before the timeout, or `false` if it
|
|
9712
|
-
* doesn't (or if there's no client defined).
|
|
9713
|
-
*/
|
|
9714
|
-
function flush(timeout) {
|
|
9715
|
-
var client = getCurrentHub().getClient();
|
|
9716
|
-
if (client) {
|
|
9717
|
-
return client.flush(timeout);
|
|
9718
|
-
}
|
|
9719
|
-
logger.warn('Cannot flush events. No client defined.');
|
|
9720
|
-
return SyncPromise.resolve(false);
|
|
9721
|
-
}
|
|
9722
|
-
/**
|
|
9723
|
-
* Call `close()` on the current client, if there is one. See {@link Client.close}.
|
|
9724
|
-
*
|
|
9725
|
-
* @param timeout Maximum time in ms the client should wait to flush its event queue before shutting down. Omitting this
|
|
9726
|
-
* parameter will cause the client to wait until all events are sent before disabling itself.
|
|
9727
|
-
* @returns A promise which resolves to `true` if the queue successfully drains before the timeout, or `false` if it
|
|
9728
|
-
* doesn't (or if there's no client defined).
|
|
9729
|
-
*/
|
|
9730
|
-
function sdk_close(timeout) {
|
|
9731
|
-
var client = getCurrentHub().getClient();
|
|
9732
|
-
if (client) {
|
|
9733
|
-
return client.close(timeout);
|
|
9734
|
-
}
|
|
9735
|
-
logger.warn('Cannot flush events and disable SDK. No client defined.');
|
|
9736
|
-
return SyncPromise.resolve(false);
|
|
9737
|
-
}
|
|
9738
|
-
/**
|
|
9739
|
-
* Wrap code within a try/catch block so the SDK is able to capture errors.
|
|
9740
|
-
*
|
|
9741
|
-
* @param fn A function to wrap.
|
|
9742
|
-
*
|
|
9743
|
-
* @returns The result of wrapped function call.
|
|
9744
|
-
*/
|
|
9745
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
9746
|
-
function sdk_wrap(fn) {
|
|
9747
|
-
return internalWrap(fn)();
|
|
9748
|
-
}
|
|
9749
|
-
/**
|
|
9750
|
-
* Enable automatic Session Tracking for the initial page load.
|
|
9751
|
-
*/
|
|
9752
|
-
function startSessionTracking() {
|
|
9753
|
-
var window = (0,misc/* getGlobalObject */.Rf)();
|
|
9754
|
-
var document = window.document;
|
|
9755
|
-
if (typeof document === 'undefined') {
|
|
9756
|
-
logger_logger.warn('Session tracking in non-browser environment with @sentry/browser is not supported.');
|
|
9757
|
-
return;
|
|
9758
|
-
}
|
|
9759
|
-
var hub = hub_getCurrentHub();
|
|
9760
|
-
// The only way for this to be false is for there to be a version mismatch between @sentry/browser (>= 6.0.0) and
|
|
9761
|
-
// @sentry/hub (< 5.27.0). In the simple case, there won't ever be such a mismatch, because the two packages are
|
|
9762
|
-
// pinned at the same version in package.json, but there are edge cases where it's possible. See
|
|
9763
|
-
// https://github.com/getsentry/sentry-javascript/issues/3207 and
|
|
9764
|
-
// https://github.com/getsentry/sentry-javascript/issues/3234 and
|
|
9765
|
-
// https://github.com/getsentry/sentry-javascript/issues/3278.
|
|
9766
|
-
if (typeof hub.startSession !== 'function' || typeof hub.captureSession !== 'function') {
|
|
9767
|
-
return;
|
|
9768
|
-
}
|
|
9769
|
-
// The session duration for browser sessions does not track a meaningful
|
|
9770
|
-
// concept that can be used as a metric.
|
|
9771
|
-
// Automatically captured sessions are akin to page views, and thus we
|
|
9772
|
-
// discard their duration.
|
|
9773
|
-
hub.startSession({ ignoreDuration: true });
|
|
9774
|
-
hub.captureSession();
|
|
9775
|
-
// We want to create a session for every navigation as well
|
|
9776
|
-
addInstrumentationHandler({
|
|
9777
|
-
callback: function (_a) {
|
|
9778
|
-
var from = _a.from, to = _a.to;
|
|
9779
|
-
// Don't create an additional session for the initial route or if the location did not change
|
|
9780
|
-
if (from === undefined || from === to) {
|
|
9781
|
-
return;
|
|
9782
|
-
}
|
|
9783
|
-
hub.startSession({ ignoreDuration: true });
|
|
9784
|
-
hub.captureSession();
|
|
9785
|
-
},
|
|
9786
|
-
type: 'history',
|
|
9787
|
-
});
|
|
9788
|
-
}
|
|
9789
|
-
//# sourceMappingURL=sdk.js.map
|
|
9790
|
-
;// CONCATENATED MODULE: ./src/frames/lib/error-tracker.ts
|
|
9791
|
-
var _window$location$host;
|
|
9792
|
-
|
|
9793
|
-
|
|
9794
|
-
|
|
9795
|
-
var IGNORED_ERRORS = [// This error most likely comes from a browser extension
|
|
9796
|
-
/ceCurrentVideo\.currentTime/];
|
|
9797
|
-
init({
|
|
9798
|
-
dsn: null,
|
|
9799
|
-
environment: "production",
|
|
9800
|
-
release: "8920d7ba7d0078df10f4e731ddb98d3a7716a234",
|
|
9801
|
-
ignoreErrors: IGNORED_ERRORS,
|
|
9802
|
-
tracesSampleRate: 0.1,
|
|
9803
|
-
autoSessionTracking: false
|
|
9804
|
-
});
|
|
9805
|
-
setTag("client", (_window$location$host = window.location.hostname) === null || _window$location$host === void 0 ? void 0 : _window$location$host.split(".")[0]);
|
|
9806
|
-
setTag("Embed2 Component", null);
|
|
9807
|
-
var error_tracker_errorTracker = {
|
|
9808
|
-
trackException: function trackException(error) {
|
|
9809
|
-
(0,errors/* warn */.Z)(error.message);
|
|
9810
|
-
captureException(error);
|
|
9811
|
-
},
|
|
9812
|
-
addBreadCrumb: function addBreadCrumb(category, message, data) {
|
|
9813
|
-
var level = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : Severity.Info;
|
|
9814
|
-
addBreadcrumb({
|
|
9815
|
-
category: category,
|
|
9816
|
-
message: message,
|
|
9817
|
-
data: data,
|
|
9818
|
-
level: level
|
|
9819
|
-
});
|
|
9820
|
-
}
|
|
9821
|
-
};
|
|
9822
|
-
/* harmony default export */ var lib_error_tracker = ((/* unused pure expression or super */ null && (error_tracker_errorTracker)));
|
|
9823
|
-
;// CONCATENATED MODULE: ./src/frames/components/x-storage/index.ts
|
|
9824
|
-
|
|
9825
|
-
|
|
9826
|
-
|
|
9827
|
-
|
|
9828
|
-
|
|
9829
|
-
|
|
9830
|
-
|
|
9831
|
-
|
|
9832
|
-
|
|
9833
|
-
|
|
9834
|
-
|
|
9835
|
-
var LIVE_CHAT_PENDING_STORAGE_KEY = "liveChatPending";
|
|
9836
|
-
var IS_DRAWER_OPEN_STORAGE_KEY = "ada-embed_is-drawer-open";
|
|
9837
|
-
var lastDrawerState;
|
|
9838
|
-
/**
|
|
9839
|
-
* NOTE: If you import this file into any other file
|
|
9840
|
-
* it will trigger the init() function below - may cause errors!
|
|
9841
|
-
*/
|
|
9842
|
-
|
|
9843
|
-
/**
|
|
9844
|
-
* Auto-opens the chat door if crossWindowPersistence is one, the chatter is in
|
|
9845
|
-
* a live chat, and if the drawer was previously opened.
|
|
9846
|
-
*/
|
|
9847
|
-
|
|
9848
|
-
function setIsDrawerOpen() {
|
|
9849
|
-
return _setIsDrawerOpen.apply(this, arguments);
|
|
9850
|
-
}
|
|
9851
|
-
/**
|
|
9852
|
-
* Retrieves the chatter token from storage.
|
|
9853
|
-
*/
|
|
9854
|
-
|
|
9855
|
-
function _setIsDrawerOpen() {
|
|
9856
|
-
_setIsDrawerOpen = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/regenerator_default().mark(function _callee2() {
|
|
9857
|
-
var _yield$store$getState, crossWindowPersistence, client, privateMode, isDrawerOpen, liveChatPending, inLiveChat, liveChatActive;
|
|
9858
|
-
|
|
9859
|
-
return regenerator_default().wrap(function _callee2$(_context2) {
|
|
9860
|
-
while (1) {
|
|
9861
|
-
switch (_context2.prev = _context2.next) {
|
|
9862
|
-
case 0:
|
|
9863
|
-
_context2.next = 2;
|
|
9864
|
-
return store.getState();
|
|
9865
|
-
|
|
9866
|
-
case 2:
|
|
9867
|
-
_yield$store$getState = _context2.sent;
|
|
9868
|
-
crossWindowPersistence = _yield$store$getState.crossWindowPersistence;
|
|
9869
|
-
client = _yield$store$getState.client;
|
|
9870
|
-
privateMode = _yield$store$getState.privateMode;
|
|
9871
|
-
isDrawerOpen = safeSessionStorage.getItem(IS_DRAWER_OPEN_STORAGE_KEY);
|
|
9872
|
-
liveChatPending = retrieveStorage(LIVE_CHAT_PENDING_STORAGE_KEY, client, privateMode);
|
|
9873
|
-
inLiveChat = retrieveStorage(IN_LIVE_CHAT_STORAGE_KEY, client, privateMode);
|
|
9874
|
-
liveChatActive = inLiveChat || liveChatPending;
|
|
9875
|
-
|
|
9876
|
-
if (crossWindowPersistence && isDrawerOpen && liveChatActive) {
|
|
9877
|
-
store.dispatch(ActionCreators.TOGGLE_CHAT_ACTION);
|
|
9878
|
-
}
|
|
9879
|
-
|
|
9880
|
-
case 11:
|
|
9881
|
-
case "end":
|
|
9882
|
-
return _context2.stop();
|
|
9883
|
-
}
|
|
9884
|
-
}
|
|
9885
|
-
}, _callee2);
|
|
9886
|
-
}));
|
|
9887
|
-
return _setIsDrawerOpen.apply(this, arguments);
|
|
9888
|
-
}
|
|
9889
|
-
|
|
9890
|
-
function getChatterFromStorage() {
|
|
9891
|
-
return _getChatterFromStorage.apply(this, arguments);
|
|
9892
|
-
}
|
|
9893
|
-
/**
|
|
9894
|
-
* Initialization
|
|
9895
|
-
*/
|
|
9896
|
-
|
|
9897
|
-
|
|
9898
|
-
function _getChatterFromStorage() {
|
|
9899
|
-
_getChatterFromStorage = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/regenerator_default().mark(function _callee3() {
|
|
9900
|
-
var state, privateMode, client;
|
|
9901
|
-
return regenerator_default().wrap(function _callee3$(_context3) {
|
|
9902
|
-
while (1) {
|
|
9903
|
-
switch (_context3.prev = _context3.next) {
|
|
9904
|
-
case 0:
|
|
9905
|
-
_context3.next = 2;
|
|
9906
|
-
return store.getState();
|
|
9907
|
-
|
|
9908
|
-
case 2:
|
|
9909
|
-
state = _context3.sent;
|
|
9910
|
-
|
|
9911
|
-
if (state) {
|
|
9912
|
-
_context3.next = 5;
|
|
9913
|
-
break;
|
|
9914
|
-
}
|
|
9915
|
-
|
|
9916
|
-
return _context3.abrupt("return", null);
|
|
9917
|
-
|
|
9918
|
-
case 5:
|
|
9919
|
-
privateMode = state.privateMode, client = state.client;
|
|
9920
|
-
return _context3.abrupt("return", retrieveStorage(CHATTER_STORAGE_KEY, client, Boolean(privateMode)));
|
|
9921
|
-
|
|
9922
|
-
case 7:
|
|
9923
|
-
case "end":
|
|
9924
|
-
return _context3.stop();
|
|
9925
|
-
}
|
|
9926
|
-
}
|
|
9927
|
-
}, _callee3);
|
|
9928
|
-
}));
|
|
9929
|
-
return _getChatterFromStorage.apply(this, arguments);
|
|
9930
|
-
}
|
|
9931
|
-
|
|
9932
|
-
(0,asyncToGenerator/* default */.Z)( /*#__PURE__*/regenerator_default().mark(function _callee() {
|
|
9933
|
-
var chatterFromStorage, frameInitialized;
|
|
9934
|
-
return regenerator_default().wrap(function _callee$(_context) {
|
|
9935
|
-
while (1) {
|
|
9936
|
-
switch (_context.prev = _context.next) {
|
|
9937
|
-
case 0:
|
|
9938
|
-
_context.next = 2;
|
|
9939
|
-
return getChatterFromStorage();
|
|
9940
|
-
|
|
9941
|
-
case 2:
|
|
9942
|
-
chatterFromStorage = _context.sent;
|
|
9943
|
-
_context.next = 5;
|
|
9944
|
-
return initializeFrame(true, {
|
|
9945
|
-
chatterToken: chatterFromStorage || undefined
|
|
9946
|
-
});
|
|
9947
|
-
|
|
9948
|
-
case 5:
|
|
9949
|
-
frameInitialized = _context.sent;
|
|
9950
|
-
|
|
9951
|
-
if (frameInitialized) {
|
|
9952
|
-
_context.next = 8;
|
|
9953
|
-
break;
|
|
9954
|
-
}
|
|
9955
|
-
|
|
9956
|
-
return _context.abrupt("return");
|
|
9957
|
-
|
|
9958
|
-
case 8:
|
|
9959
|
-
setIsDrawerOpen();
|
|
9960
|
-
/**
|
|
9961
|
-
* Listen for FC events
|
|
9962
|
-
*/
|
|
9963
|
-
|
|
9964
|
-
frame_fc.addEventListener(function (type) {
|
|
9965
|
-
switch (type) {
|
|
9966
|
-
case DELETE_HISTORY_EVENT:
|
|
9967
|
-
{
|
|
9968
|
-
safeLocalStorage.removeItem(CHATTER_STORAGE_KEY);
|
|
9969
|
-
safeSessionStorage.removeItem(CHATTER_STORAGE_KEY);
|
|
9970
|
-
safeLocalStorage.removeItem(IN_LIVE_CHAT_STORAGE_KEY);
|
|
9971
|
-
safeSessionStorage.removeItem(IN_LIVE_CHAT_STORAGE_KEY);
|
|
9972
|
-
break;
|
|
9973
|
-
}
|
|
9974
|
-
|
|
9975
|
-
default:
|
|
9976
|
-
break;
|
|
9977
|
-
}
|
|
9978
|
-
});
|
|
9979
|
-
/**
|
|
9980
|
-
* Listen for store changes
|
|
9981
|
-
*/
|
|
9982
|
-
|
|
9983
|
-
store.subscribe(function (state) {
|
|
9984
|
-
/**
|
|
9985
|
-
* Store isDrawerOpen state in sessionStorage if crossWindowPersistence is enabled
|
|
9986
|
-
*/
|
|
9987
|
-
if (state.isDrawerOpen !== lastDrawerState && state.crossWindowPersistence) {
|
|
9988
|
-
safeSessionStorage.setItem(IS_DRAWER_OPEN_STORAGE_KEY, state.isDrawerOpen);
|
|
9989
|
-
}
|
|
9990
|
-
});
|
|
9991
|
-
|
|
9992
|
-
case 11:
|
|
9993
|
-
case "end":
|
|
9994
|
-
return _context.stop();
|
|
9995
|
-
}
|
|
9996
|
-
}
|
|
9997
|
-
}, _callee);
|
|
9998
|
-
}))();
|
|
9999
9447
|
;// CONCATENATED MODULE: ./src/client/store/mutations/index.ts
|
|
10000
9448
|
|
|
10001
9449
|
|
|
@@ -10879,7 +10327,7 @@ function triggerCampaignImpl(_ref) {
|
|
|
10879
10327
|
});
|
|
10880
10328
|
}
|
|
10881
10329
|
}
|
|
10882
|
-
var getCampaignToTrigger = function getCampaignToTrigger(adaSettings,
|
|
10330
|
+
var getCampaignToTrigger = function getCampaignToTrigger(adaSettings, marketingCampaigns, options, onlyBasic) {
|
|
10883
10331
|
var _options$ignoreStatus = options.ignoreStatus,
|
|
10884
10332
|
ignoreStatus = _options$ignoreStatus === void 0 ? false : _options$ignoreStatus,
|
|
10885
10333
|
_options$ignoreFreque = options.ignoreFrequency,
|
|
@@ -10888,6 +10336,10 @@ var getCampaignToTrigger = function getCampaignToTrigger(adaSettings, chatterTok
|
|
|
10888
10336
|
return marketingCampaigns === null || marketingCampaigns === void 0 ? void 0 : find_default()(marketingCampaigns).call(marketingCampaigns, function (campaign) {
|
|
10889
10337
|
if (campaign.status !== "active" && !ignoreStatus) {
|
|
10890
10338
|
return false;
|
|
10339
|
+
}
|
|
10340
|
+
|
|
10341
|
+
if (onlyBasic && !campaign.message_text) {
|
|
10342
|
+
return false;
|
|
10891
10343
|
} // Campaigns with no trigger conditions can only be triggered manually
|
|
10892
10344
|
|
|
10893
10345
|
|
|
@@ -11404,6 +10856,32 @@ var INTRO_IFRAME = "intro";
|
|
|
11404
10856
|
var BUTTON_IFRAME = "button";
|
|
11405
10857
|
var MASK_IFRAME = "drawer-mask";
|
|
11406
10858
|
var XSTORAGE_IFRAME = "x-storage";
|
|
10859
|
+
;// CONCATENATED MODULE: ./src/frames/helpers/storage/index.ts
|
|
10860
|
+
|
|
10861
|
+
var PERSISTENCE_NORMAL = "normal";
|
|
10862
|
+
var PERSISTENCE_SESSION = "session";
|
|
10863
|
+
/**
|
|
10864
|
+
* Retrieves items from local or session storage, depending on the client's
|
|
10865
|
+
* persistence setting. If privateMode is set, it returns null.
|
|
10866
|
+
*/
|
|
10867
|
+
|
|
10868
|
+
function retrieveStorage(key, client, privateMode) {
|
|
10869
|
+
var persistence = client.persistence;
|
|
10870
|
+
|
|
10871
|
+
if (privateMode) {
|
|
10872
|
+
return null;
|
|
10873
|
+
}
|
|
10874
|
+
|
|
10875
|
+
if (persistence === PERSISTENCE_NORMAL) {
|
|
10876
|
+
return safeLocalStorage.getItem(key);
|
|
10877
|
+
}
|
|
10878
|
+
|
|
10879
|
+
if (persistence === PERSISTENCE_SESSION) {
|
|
10880
|
+
return safeSessionStorage.getItem(key);
|
|
10881
|
+
}
|
|
10882
|
+
|
|
10883
|
+
return null;
|
|
10884
|
+
}
|
|
11407
10885
|
// EXTERNAL MODULE: ./src/services/logger/index.ts
|
|
11408
10886
|
var services_logger = __webpack_require__(9517);
|
|
11409
10887
|
;// CONCATENATED MODULE: ./src/client/components/IFrame/index.tsx
|
|
@@ -13124,14 +12602,13 @@ var Container = /*#__PURE__*/function (_Component) {
|
|
|
13124
12602
|
var useDelay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
13125
12603
|
var _this$props8 = this.props,
|
|
13126
12604
|
adaSettings = _this$props8.adaSettings,
|
|
13127
|
-
chatterToken = _this$props8.chatterToken,
|
|
13128
12605
|
client = _this$props8.client;
|
|
13129
12606
|
|
|
13130
12607
|
if (!hasCampaignsEnabled(client)) {
|
|
13131
12608
|
return;
|
|
13132
12609
|
}
|
|
13133
12610
|
|
|
13134
|
-
var campaignToTrigger = getCampaignToTrigger(adaSettings,
|
|
12611
|
+
var campaignToTrigger = getCampaignToTrigger(adaSettings, client.marketing_campaigns, params, !client.features.afm_proactive_messaging);
|
|
13135
12612
|
|
|
13136
12613
|
if (campaignToTrigger) {
|
|
13137
12614
|
if (useDelay) {
|
|
@@ -13856,6 +13333,7 @@ function Container_mapDispatchToProps(dispatch) {
|
|
|
13856
13333
|
|
|
13857
13334
|
|
|
13858
13335
|
|
|
13336
|
+
|
|
13859
13337
|
function client_ownKeys(object, enumerableOnly) { var keys = keys_default()(object); if ((get_own_property_symbols_default())) { var symbols = get_own_property_symbols_default()(object); if (enumerableOnly) { symbols = filter_default()(symbols).call(symbols, function (sym) { return get_own_property_descriptor_default()(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
13860
13338
|
|
|
13861
13339
|
function client_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { client_ownKeys(Object(source), true).forEach(function (key) { (0,defineProperty/* default */.Z)(target, key, source[key]); }); } else if ((get_own_property_descriptors_default())) { Object.defineProperties(target, get_own_property_descriptors_default()(source)); } else { client_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, get_own_property_descriptor_default()(source, key)); }); } } return target; }
|
|
@@ -13907,6 +13385,8 @@ var Embed = /*#__PURE__*/function () {
|
|
|
13907
13385
|
|
|
13908
13386
|
(0,defineProperty/* default */.Z)(this, "initializationResolve", void 0);
|
|
13909
13387
|
|
|
13388
|
+
(0,defineProperty/* default */.Z)(this, "debounceCampaignTrigger", void 0);
|
|
13389
|
+
|
|
13910
13390
|
this.adaSettings = adaSettings;
|
|
13911
13391
|
this.unmountCallback = unmountCallback;
|
|
13912
13392
|
this.messageService = new MessageService();
|
|
@@ -13916,7 +13396,39 @@ var Embed = /*#__PURE__*/function () {
|
|
|
13916
13396
|
_this.initializationResolve = resolve;
|
|
13917
13397
|
_this.initializationReject = reject;
|
|
13918
13398
|
});
|
|
13919
|
-
this.renderPreactApp();
|
|
13399
|
+
this.renderPreactApp();
|
|
13400
|
+
this.debounceCampaignTrigger = lodash_debounce_default()( /*#__PURE__*/function () {
|
|
13401
|
+
var _ref = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/regenerator_default().mark(function _callee(campaignKey) {
|
|
13402
|
+
var triggerCampaignParams,
|
|
13403
|
+
_args = arguments;
|
|
13404
|
+
return regenerator_default().wrap(function _callee$(_context) {
|
|
13405
|
+
while (1) {
|
|
13406
|
+
switch (_context.prev = _context.next) {
|
|
13407
|
+
case 0:
|
|
13408
|
+
triggerCampaignParams = _args.length > 1 && _args[1] !== undefined ? _args[1] : {};
|
|
13409
|
+
_context.next = 3;
|
|
13410
|
+
return _this.initialized;
|
|
13411
|
+
|
|
13412
|
+
case 3:
|
|
13413
|
+
_context.next = 5;
|
|
13414
|
+
return _this.localChannel.fetch(TRIGGER_CAMPAIGN, TRIGGER_CAMPAIGN_RESPONSE, client_objectSpread({
|
|
13415
|
+
campaignKey: campaignKey
|
|
13416
|
+
}, triggerCampaignParams));
|
|
13417
|
+
|
|
13418
|
+
case 5:
|
|
13419
|
+
case "end":
|
|
13420
|
+
return _context.stop();
|
|
13421
|
+
}
|
|
13422
|
+
}
|
|
13423
|
+
}, _callee);
|
|
13424
|
+
}));
|
|
13425
|
+
|
|
13426
|
+
return function (_x) {
|
|
13427
|
+
return _ref.apply(this, arguments);
|
|
13428
|
+
};
|
|
13429
|
+
}(), 1000, {
|
|
13430
|
+
leading: true
|
|
13431
|
+
});
|
|
13920
13432
|
}
|
|
13921
13433
|
|
|
13922
13434
|
_createClass(Embed, [{
|
|
@@ -13973,32 +13485,32 @@ var Embed = /*#__PURE__*/function () {
|
|
|
13973
13485
|
}, {
|
|
13974
13486
|
key: "toggle",
|
|
13975
13487
|
value: function () {
|
|
13976
|
-
var _toggle = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/regenerator_default().mark(function
|
|
13977
|
-
return regenerator_default().wrap(function
|
|
13488
|
+
var _toggle = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/regenerator_default().mark(function _callee2() {
|
|
13489
|
+
return regenerator_default().wrap(function _callee2$(_context2) {
|
|
13978
13490
|
while (1) {
|
|
13979
|
-
switch (
|
|
13491
|
+
switch (_context2.prev = _context2.next) {
|
|
13980
13492
|
case 0:
|
|
13981
13493
|
if (!this.adaSettings.parentElement) {
|
|
13982
|
-
|
|
13494
|
+
_context2.next = 2;
|
|
13983
13495
|
break;
|
|
13984
13496
|
}
|
|
13985
13497
|
|
|
13986
13498
|
throw new errors/* AdaEmbedError */.S("Cannot toggle when using parentElement.");
|
|
13987
13499
|
|
|
13988
13500
|
case 2:
|
|
13989
|
-
|
|
13501
|
+
_context2.next = 4;
|
|
13990
13502
|
return this.initialized;
|
|
13991
13503
|
|
|
13992
13504
|
case 4:
|
|
13993
|
-
|
|
13505
|
+
_context2.next = 6;
|
|
13994
13506
|
return this.localChannel.fetch(TOGGLE, TOGGLE_RESPONSE);
|
|
13995
13507
|
|
|
13996
13508
|
case 6:
|
|
13997
13509
|
case "end":
|
|
13998
|
-
return
|
|
13510
|
+
return _context2.stop();
|
|
13999
13511
|
}
|
|
14000
13512
|
}
|
|
14001
|
-
},
|
|
13513
|
+
}, _callee2, this);
|
|
14002
13514
|
}));
|
|
14003
13515
|
|
|
14004
13516
|
function toggle() {
|
|
@@ -14010,23 +13522,23 @@ var Embed = /*#__PURE__*/function () {
|
|
|
14010
13522
|
}, {
|
|
14011
13523
|
key: "getInfo",
|
|
14012
13524
|
value: function () {
|
|
14013
|
-
var _getInfo = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/regenerator_default().mark(function
|
|
14014
|
-
return regenerator_default().wrap(function
|
|
13525
|
+
var _getInfo = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/regenerator_default().mark(function _callee3() {
|
|
13526
|
+
return regenerator_default().wrap(function _callee3$(_context3) {
|
|
14015
13527
|
while (1) {
|
|
14016
|
-
switch (
|
|
13528
|
+
switch (_context3.prev = _context3.next) {
|
|
14017
13529
|
case 0:
|
|
14018
|
-
|
|
13530
|
+
_context3.next = 2;
|
|
14019
13531
|
return this.initialized;
|
|
14020
13532
|
|
|
14021
13533
|
case 2:
|
|
14022
|
-
return
|
|
13534
|
+
return _context3.abrupt("return", this.localChannel.fetch(GET_INFO, GET_INFO_RESPONSE));
|
|
14023
13535
|
|
|
14024
13536
|
case 3:
|
|
14025
13537
|
case "end":
|
|
14026
|
-
return
|
|
13538
|
+
return _context3.stop();
|
|
14027
13539
|
}
|
|
14028
13540
|
}
|
|
14029
|
-
},
|
|
13541
|
+
}, _callee3, this);
|
|
14030
13542
|
}));
|
|
14031
13543
|
|
|
14032
13544
|
function getInfo() {
|
|
@@ -14038,27 +13550,27 @@ var Embed = /*#__PURE__*/function () {
|
|
|
14038
13550
|
}, {
|
|
14039
13551
|
key: "setMetaFields",
|
|
14040
13552
|
value: function () {
|
|
14041
|
-
var _setMetaFields = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/regenerator_default().mark(function
|
|
14042
|
-
return regenerator_default().wrap(function
|
|
13553
|
+
var _setMetaFields = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/regenerator_default().mark(function _callee4(options) {
|
|
13554
|
+
return regenerator_default().wrap(function _callee4$(_context4) {
|
|
14043
13555
|
while (1) {
|
|
14044
|
-
switch (
|
|
13556
|
+
switch (_context4.prev = _context4.next) {
|
|
14045
13557
|
case 0:
|
|
14046
|
-
|
|
13558
|
+
_context4.next = 2;
|
|
14047
13559
|
return this.initialized;
|
|
14048
13560
|
|
|
14049
13561
|
case 2:
|
|
14050
|
-
|
|
13562
|
+
_context4.next = 4;
|
|
14051
13563
|
return this.localChannel.fetch(SET_META_FIELDS, SET_META_FIELDS_RESPONSE, options);
|
|
14052
13564
|
|
|
14053
13565
|
case 4:
|
|
14054
13566
|
case "end":
|
|
14055
|
-
return
|
|
13567
|
+
return _context4.stop();
|
|
14056
13568
|
}
|
|
14057
13569
|
}
|
|
14058
|
-
},
|
|
13570
|
+
}, _callee4, this);
|
|
14059
13571
|
}));
|
|
14060
13572
|
|
|
14061
|
-
function setMetaFields(
|
|
13573
|
+
function setMetaFields(_x2) {
|
|
14062
13574
|
return _setMetaFields.apply(this, arguments);
|
|
14063
13575
|
}
|
|
14064
13576
|
|
|
@@ -14067,27 +13579,27 @@ var Embed = /*#__PURE__*/function () {
|
|
|
14067
13579
|
}, {
|
|
14068
13580
|
key: "setSensitiveMetaFields",
|
|
14069
13581
|
value: function () {
|
|
14070
|
-
var _setSensitiveMetaFields = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/regenerator_default().mark(function
|
|
14071
|
-
return regenerator_default().wrap(function
|
|
13582
|
+
var _setSensitiveMetaFields = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/regenerator_default().mark(function _callee5(options) {
|
|
13583
|
+
return regenerator_default().wrap(function _callee5$(_context5) {
|
|
14072
13584
|
while (1) {
|
|
14073
|
-
switch (
|
|
13585
|
+
switch (_context5.prev = _context5.next) {
|
|
14074
13586
|
case 0:
|
|
14075
|
-
|
|
13587
|
+
_context5.next = 2;
|
|
14076
13588
|
return this.initialized;
|
|
14077
13589
|
|
|
14078
13590
|
case 2:
|
|
14079
|
-
|
|
13591
|
+
_context5.next = 4;
|
|
14080
13592
|
return this.localChannel.fetch("SET_SENSITIVE_META_FIELDS", "SET_SENSITIVE_META_FIELDS_RESPONSE", options);
|
|
14081
13593
|
|
|
14082
13594
|
case 4:
|
|
14083
13595
|
case "end":
|
|
14084
|
-
return
|
|
13596
|
+
return _context5.stop();
|
|
14085
13597
|
}
|
|
14086
13598
|
}
|
|
14087
|
-
},
|
|
13599
|
+
}, _callee5, this);
|
|
14088
13600
|
}));
|
|
14089
13601
|
|
|
14090
|
-
function setSensitiveMetaFields(
|
|
13602
|
+
function setSensitiveMetaFields(_x3) {
|
|
14091
13603
|
return _setSensitiveMetaFields.apply(this, arguments);
|
|
14092
13604
|
}
|
|
14093
13605
|
|
|
@@ -14096,24 +13608,24 @@ var Embed = /*#__PURE__*/function () {
|
|
|
14096
13608
|
}, {
|
|
14097
13609
|
key: "stop",
|
|
14098
13610
|
value: function () {
|
|
14099
|
-
var _stop = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/regenerator_default().mark(function
|
|
14100
|
-
return regenerator_default().wrap(function
|
|
13611
|
+
var _stop = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/regenerator_default().mark(function _callee6() {
|
|
13612
|
+
return regenerator_default().wrap(function _callee6$(_context6) {
|
|
14101
13613
|
while (1) {
|
|
14102
|
-
switch (
|
|
13614
|
+
switch (_context6.prev = _context6.next) {
|
|
14103
13615
|
case 0:
|
|
14104
|
-
|
|
13616
|
+
_context6.next = 2;
|
|
14105
13617
|
return this.initialized;
|
|
14106
13618
|
|
|
14107
13619
|
case 2:
|
|
14108
|
-
|
|
13620
|
+
_context6.next = 4;
|
|
14109
13621
|
return this.localChannel.fetch(STOP, STOP_RESPONSE);
|
|
14110
13622
|
|
|
14111
13623
|
case 4:
|
|
14112
13624
|
case "end":
|
|
14113
|
-
return
|
|
13625
|
+
return _context6.stop();
|
|
14114
13626
|
}
|
|
14115
13627
|
}
|
|
14116
|
-
},
|
|
13628
|
+
}, _callee6, this);
|
|
14117
13629
|
}));
|
|
14118
13630
|
|
|
14119
13631
|
function stop() {
|
|
@@ -14125,24 +13637,24 @@ var Embed = /*#__PURE__*/function () {
|
|
|
14125
13637
|
}, {
|
|
14126
13638
|
key: "deleteHistory",
|
|
14127
13639
|
value: function () {
|
|
14128
|
-
var _deleteHistory = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/regenerator_default().mark(function
|
|
14129
|
-
return regenerator_default().wrap(function
|
|
13640
|
+
var _deleteHistory = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/regenerator_default().mark(function _callee7() {
|
|
13641
|
+
return regenerator_default().wrap(function _callee7$(_context7) {
|
|
14130
13642
|
while (1) {
|
|
14131
|
-
switch (
|
|
13643
|
+
switch (_context7.prev = _context7.next) {
|
|
14132
13644
|
case 0:
|
|
14133
|
-
|
|
13645
|
+
_context7.next = 2;
|
|
14134
13646
|
return this.initialized;
|
|
14135
13647
|
|
|
14136
13648
|
case 2:
|
|
14137
|
-
|
|
13649
|
+
_context7.next = 4;
|
|
14138
13650
|
return this.localChannel.fetch(DELETE_HISTORY, DELETE_HISTORY_RESPONSE);
|
|
14139
13651
|
|
|
14140
13652
|
case 4:
|
|
14141
13653
|
case "end":
|
|
14142
|
-
return
|
|
13654
|
+
return _context7.stop();
|
|
14143
13655
|
}
|
|
14144
13656
|
}
|
|
14145
|
-
},
|
|
13657
|
+
}, _callee7, this);
|
|
14146
13658
|
}));
|
|
14147
13659
|
|
|
14148
13660
|
function deleteHistory() {
|
|
@@ -14154,27 +13666,27 @@ var Embed = /*#__PURE__*/function () {
|
|
|
14154
13666
|
}, {
|
|
14155
13667
|
key: "reset",
|
|
14156
13668
|
value: function () {
|
|
14157
|
-
var _reset = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/regenerator_default().mark(function
|
|
13669
|
+
var _reset = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/regenerator_default().mark(function _callee8() {
|
|
14158
13670
|
var resetParams,
|
|
14159
|
-
|
|
14160
|
-
return regenerator_default().wrap(function
|
|
13671
|
+
_args8 = arguments;
|
|
13672
|
+
return regenerator_default().wrap(function _callee8$(_context8) {
|
|
14161
13673
|
while (1) {
|
|
14162
|
-
switch (
|
|
13674
|
+
switch (_context8.prev = _context8.next) {
|
|
14163
13675
|
case 0:
|
|
14164
|
-
resetParams =
|
|
14165
|
-
|
|
13676
|
+
resetParams = _args8.length > 0 && _args8[0] !== undefined ? _args8[0] : {};
|
|
13677
|
+
_context8.next = 3;
|
|
14166
13678
|
return this.initialized;
|
|
14167
13679
|
|
|
14168
13680
|
case 3:
|
|
14169
|
-
|
|
13681
|
+
_context8.next = 5;
|
|
14170
13682
|
return this.localChannel.fetch(RESET, RESET_RESPONSE, resetParams);
|
|
14171
13683
|
|
|
14172
13684
|
case 5:
|
|
14173
13685
|
case "end":
|
|
14174
|
-
return
|
|
13686
|
+
return _context8.stop();
|
|
14175
13687
|
}
|
|
14176
13688
|
}
|
|
14177
|
-
},
|
|
13689
|
+
}, _callee8, this);
|
|
14178
13690
|
}));
|
|
14179
13691
|
|
|
14180
13692
|
function reset() {
|
|
@@ -14186,19 +13698,19 @@ var Embed = /*#__PURE__*/function () {
|
|
|
14186
13698
|
}, {
|
|
14187
13699
|
key: "trackEvent",
|
|
14188
13700
|
value: function () {
|
|
14189
|
-
var _trackEvent = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/regenerator_default().mark(function
|
|
13701
|
+
var _trackEvent = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/regenerator_default().mark(function _callee9(eventKey, value) {
|
|
14190
13702
|
var meta,
|
|
14191
|
-
|
|
14192
|
-
return regenerator_default().wrap(function
|
|
13703
|
+
_args9 = arguments;
|
|
13704
|
+
return regenerator_default().wrap(function _callee9$(_context9) {
|
|
14193
13705
|
while (1) {
|
|
14194
|
-
switch (
|
|
13706
|
+
switch (_context9.prev = _context9.next) {
|
|
14195
13707
|
case 0:
|
|
14196
|
-
meta =
|
|
14197
|
-
|
|
13708
|
+
meta = _args9.length > 2 && _args9[2] !== undefined ? _args9[2] : {};
|
|
13709
|
+
_context9.next = 3;
|
|
14198
13710
|
return this.initialized;
|
|
14199
13711
|
|
|
14200
13712
|
case 3:
|
|
14201
|
-
|
|
13713
|
+
_context9.next = 5;
|
|
14202
13714
|
return this.localChannel.fetch(TRACK_EVENT, TRACK_EVENT_RESPONSE, {
|
|
14203
13715
|
eventKey: eventKey,
|
|
14204
13716
|
value: value,
|
|
@@ -14207,13 +13719,13 @@ var Embed = /*#__PURE__*/function () {
|
|
|
14207
13719
|
|
|
14208
13720
|
case 5:
|
|
14209
13721
|
case "end":
|
|
14210
|
-
return
|
|
13722
|
+
return _context9.stop();
|
|
14211
13723
|
}
|
|
14212
13724
|
}
|
|
14213
|
-
},
|
|
13725
|
+
}, _callee9, this);
|
|
14214
13726
|
}));
|
|
14215
13727
|
|
|
14216
|
-
function trackEvent(
|
|
13728
|
+
function trackEvent(_x4, _x5) {
|
|
14217
13729
|
return _trackEvent.apply(this, arguments);
|
|
14218
13730
|
}
|
|
14219
13731
|
|
|
@@ -14222,32 +13734,25 @@ var Embed = /*#__PURE__*/function () {
|
|
|
14222
13734
|
}, {
|
|
14223
13735
|
key: "triggerCampaign",
|
|
14224
13736
|
value: function () {
|
|
14225
|
-
var _triggerCampaign = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/regenerator_default().mark(function
|
|
13737
|
+
var _triggerCampaign = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/regenerator_default().mark(function _callee10(campaignKey) {
|
|
14226
13738
|
var triggerCampaignParams,
|
|
14227
|
-
|
|
14228
|
-
return regenerator_default().wrap(function
|
|
13739
|
+
_args10 = arguments;
|
|
13740
|
+
return regenerator_default().wrap(function _callee10$(_context10) {
|
|
14229
13741
|
while (1) {
|
|
14230
|
-
switch (
|
|
13742
|
+
switch (_context10.prev = _context10.next) {
|
|
14231
13743
|
case 0:
|
|
14232
|
-
triggerCampaignParams =
|
|
14233
|
-
|
|
14234
|
-
return this.initialized;
|
|
14235
|
-
|
|
14236
|
-
case 3:
|
|
14237
|
-
_context9.next = 5;
|
|
14238
|
-
return this.localChannel.fetch(TRIGGER_CAMPAIGN, TRIGGER_CAMPAIGN_RESPONSE, client_objectSpread({
|
|
14239
|
-
campaignKey: campaignKey
|
|
14240
|
-
}, triggerCampaignParams));
|
|
13744
|
+
triggerCampaignParams = _args10.length > 1 && _args10[1] !== undefined ? _args10[1] : {};
|
|
13745
|
+
this.debounceCampaignTrigger(campaignKey, triggerCampaignParams);
|
|
14241
13746
|
|
|
14242
|
-
case
|
|
13747
|
+
case 2:
|
|
14243
13748
|
case "end":
|
|
14244
|
-
return
|
|
13749
|
+
return _context10.stop();
|
|
14245
13750
|
}
|
|
14246
13751
|
}
|
|
14247
|
-
},
|
|
13752
|
+
}, _callee10, this);
|
|
14248
13753
|
}));
|
|
14249
13754
|
|
|
14250
|
-
function triggerCampaign(
|
|
13755
|
+
function triggerCampaign(_x6) {
|
|
14251
13756
|
return _triggerCampaign.apply(this, arguments);
|
|
14252
13757
|
}
|
|
14253
13758
|
|
|
@@ -14256,27 +13761,27 @@ var Embed = /*#__PURE__*/function () {
|
|
|
14256
13761
|
}, {
|
|
14257
13762
|
key: "evaluateCampaignConditions",
|
|
14258
13763
|
value: function () {
|
|
14259
|
-
var _evaluateCampaignConditions = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/regenerator_default().mark(function
|
|
14260
|
-
return regenerator_default().wrap(function
|
|
13764
|
+
var _evaluateCampaignConditions = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/regenerator_default().mark(function _callee11(options) {
|
|
13765
|
+
return regenerator_default().wrap(function _callee11$(_context11) {
|
|
14261
13766
|
while (1) {
|
|
14262
|
-
switch (
|
|
13767
|
+
switch (_context11.prev = _context11.next) {
|
|
14263
13768
|
case 0:
|
|
14264
|
-
|
|
13769
|
+
_context11.next = 2;
|
|
14265
13770
|
return this.initialized;
|
|
14266
13771
|
|
|
14267
13772
|
case 2:
|
|
14268
|
-
|
|
13773
|
+
_context11.next = 4;
|
|
14269
13774
|
return this.localChannel.fetch(EVAL_CAMPAIGN_CONDITIONS, EVAL_CAMPAIGN_CONDITIONS_RESPONSE, options);
|
|
14270
13775
|
|
|
14271
13776
|
case 4:
|
|
14272
13777
|
case "end":
|
|
14273
|
-
return
|
|
13778
|
+
return _context11.stop();
|
|
14274
13779
|
}
|
|
14275
13780
|
}
|
|
14276
|
-
},
|
|
13781
|
+
}, _callee11, this);
|
|
14277
13782
|
}));
|
|
14278
13783
|
|
|
14279
|
-
function evaluateCampaignConditions(
|
|
13784
|
+
function evaluateCampaignConditions(_x7) {
|
|
14280
13785
|
return _evaluateCampaignConditions.apply(this, arguments);
|
|
14281
13786
|
}
|
|
14282
13787
|
|
|
@@ -14285,25 +13790,25 @@ var Embed = /*#__PURE__*/function () {
|
|
|
14285
13790
|
}, {
|
|
14286
13791
|
key: "createProactive",
|
|
14287
13792
|
value: function () {
|
|
14288
|
-
var _createProactive = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/regenerator_default().mark(function
|
|
14289
|
-
return regenerator_default().wrap(function
|
|
13793
|
+
var _createProactive = (0,asyncToGenerator/* default */.Z)( /*#__PURE__*/regenerator_default().mark(function _callee12(body, duration, responseId) {
|
|
13794
|
+
return regenerator_default().wrap(function _callee12$(_context12) {
|
|
14290
13795
|
while (1) {
|
|
14291
|
-
switch (
|
|
13796
|
+
switch (_context12.prev = _context12.next) {
|
|
14292
13797
|
case 0:
|
|
14293
13798
|
if (!this.adaSettings.parentElement) {
|
|
14294
|
-
|
|
13799
|
+
_context12.next = 2;
|
|
14295
13800
|
break;
|
|
14296
13801
|
}
|
|
14297
13802
|
|
|
14298
13803
|
throw new errors/* AdaEmbedError */.S("Cannot call createProactive when using parentElement.");
|
|
14299
13804
|
|
|
14300
13805
|
case 2:
|
|
14301
|
-
|
|
13806
|
+
_context12.next = 4;
|
|
14302
13807
|
return this.initialized;
|
|
14303
13808
|
|
|
14304
13809
|
case 4:
|
|
14305
|
-
|
|
14306
|
-
|
|
13810
|
+
_context12.prev = 4;
|
|
13811
|
+
_context12.next = 7;
|
|
14307
13812
|
return this.localChannel.fetch(CREATE_PROACTIVE, CREATE_PROACTIVE_RESPONSE, {
|
|
14308
13813
|
body: body,
|
|
14309
13814
|
duration: duration,
|
|
@@ -14314,23 +13819,23 @@ var Embed = /*#__PURE__*/function () {
|
|
|
14314
13819
|
duration * 1000 + 2000);
|
|
14315
13820
|
|
|
14316
13821
|
case 7:
|
|
14317
|
-
|
|
13822
|
+
_context12.next = 12;
|
|
14318
13823
|
break;
|
|
14319
13824
|
|
|
14320
13825
|
case 9:
|
|
14321
|
-
|
|
14322
|
-
|
|
14323
|
-
throw new errors/* AdaEmbedError */.S(
|
|
13826
|
+
_context12.prev = 9;
|
|
13827
|
+
_context12.t0 = _context12["catch"](4);
|
|
13828
|
+
throw new errors/* AdaEmbedError */.S(_context12.t0);
|
|
14324
13829
|
|
|
14325
13830
|
case 12:
|
|
14326
13831
|
case "end":
|
|
14327
|
-
return
|
|
13832
|
+
return _context12.stop();
|
|
14328
13833
|
}
|
|
14329
13834
|
}
|
|
14330
|
-
},
|
|
13835
|
+
}, _callee12, this, [[4, 9]]);
|
|
14331
13836
|
}));
|
|
14332
13837
|
|
|
14333
|
-
function createProactive(
|
|
13838
|
+
function createProactive(_x8, _x9, _x10) {
|
|
14334
13839
|
return _createProactive.apply(this, arguments);
|
|
14335
13840
|
}
|
|
14336
13841
|
|
|
@@ -14374,7 +13879,7 @@ window.__AdaEmbedConstructor = Embed;
|
|
|
14374
13879
|
/* harmony export */ });
|
|
14375
13880
|
var isModern = new RegExp("((CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS)[ +]+(14|(1[5-9]|[2-9]\\d|\\d{3,}))[_.]\\d+(?:[_.]\\d+)?)|((Chromium|Chrome)\\/(92|(9[3-9]|\\d{3,}))\\.\\d+(?:\\.\\d+)?)|(Version\\/(14|(1[5-9]|[2-9]\\d|\\d{3,}))\\.\\d+(?:\\.\\d+)? Safari\\/)|(Firefox\\/(91|(9[2-9]|\\d{3,}))\\.\\d+\\.\\d+)|(Firefox\\/(91|(9[2-9]|\\d{3,}))\\.\\d+(pre|[ab]\\d+[a-z]*)?)").test(navigator.userAgent);
|
|
14376
13881
|
var isProduction = "production" === "production";
|
|
14377
|
-
var embed2Version = "
|
|
13882
|
+
var embed2Version = "f19ff23";
|
|
14378
13883
|
|
|
14379
13884
|
/***/ }),
|
|
14380
13885
|
|
|
@@ -22562,6 +22067,390 @@ module.exports = function (value, replacer, space) {
|
|
|
22562
22067
|
};
|
|
22563
22068
|
|
|
22564
22069
|
|
|
22070
|
+
/***/ }),
|
|
22071
|
+
|
|
22072
|
+
/***/ 1296:
|
|
22073
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
22074
|
+
|
|
22075
|
+
/**
|
|
22076
|
+
* lodash (Custom Build) <https://lodash.com/>
|
|
22077
|
+
* Build: `lodash modularize exports="npm" -o ./`
|
|
22078
|
+
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
|
|
22079
|
+
* Released under MIT license <https://lodash.com/license>
|
|
22080
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
22081
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
22082
|
+
*/
|
|
22083
|
+
|
|
22084
|
+
/** Used as the `TypeError` message for "Functions" methods. */
|
|
22085
|
+
var FUNC_ERROR_TEXT = 'Expected a function';
|
|
22086
|
+
|
|
22087
|
+
/** Used as references for various `Number` constants. */
|
|
22088
|
+
var NAN = 0 / 0;
|
|
22089
|
+
|
|
22090
|
+
/** `Object#toString` result references. */
|
|
22091
|
+
var symbolTag = '[object Symbol]';
|
|
22092
|
+
|
|
22093
|
+
/** Used to match leading and trailing whitespace. */
|
|
22094
|
+
var reTrim = /^\s+|\s+$/g;
|
|
22095
|
+
|
|
22096
|
+
/** Used to detect bad signed hexadecimal string values. */
|
|
22097
|
+
var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
|
|
22098
|
+
|
|
22099
|
+
/** Used to detect binary string values. */
|
|
22100
|
+
var reIsBinary = /^0b[01]+$/i;
|
|
22101
|
+
|
|
22102
|
+
/** Used to detect octal string values. */
|
|
22103
|
+
var reIsOctal = /^0o[0-7]+$/i;
|
|
22104
|
+
|
|
22105
|
+
/** Built-in method references without a dependency on `root`. */
|
|
22106
|
+
var freeParseInt = parseInt;
|
|
22107
|
+
|
|
22108
|
+
/** Detect free variable `global` from Node.js. */
|
|
22109
|
+
var freeGlobal = typeof __webpack_require__.g == 'object' && __webpack_require__.g && __webpack_require__.g.Object === Object && __webpack_require__.g;
|
|
22110
|
+
|
|
22111
|
+
/** Detect free variable `self`. */
|
|
22112
|
+
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
|
22113
|
+
|
|
22114
|
+
/** Used as a reference to the global object. */
|
|
22115
|
+
var root = freeGlobal || freeSelf || Function('return this')();
|
|
22116
|
+
|
|
22117
|
+
/** Used for built-in method references. */
|
|
22118
|
+
var objectProto = Object.prototype;
|
|
22119
|
+
|
|
22120
|
+
/**
|
|
22121
|
+
* Used to resolve the
|
|
22122
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
22123
|
+
* of values.
|
|
22124
|
+
*/
|
|
22125
|
+
var objectToString = objectProto.toString;
|
|
22126
|
+
|
|
22127
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
22128
|
+
var nativeMax = Math.max,
|
|
22129
|
+
nativeMin = Math.min;
|
|
22130
|
+
|
|
22131
|
+
/**
|
|
22132
|
+
* Gets the timestamp of the number of milliseconds that have elapsed since
|
|
22133
|
+
* the Unix epoch (1 January 1970 00:00:00 UTC).
|
|
22134
|
+
*
|
|
22135
|
+
* @static
|
|
22136
|
+
* @memberOf _
|
|
22137
|
+
* @since 2.4.0
|
|
22138
|
+
* @category Date
|
|
22139
|
+
* @returns {number} Returns the timestamp.
|
|
22140
|
+
* @example
|
|
22141
|
+
*
|
|
22142
|
+
* _.defer(function(stamp) {
|
|
22143
|
+
* console.log(_.now() - stamp);
|
|
22144
|
+
* }, _.now());
|
|
22145
|
+
* // => Logs the number of milliseconds it took for the deferred invocation.
|
|
22146
|
+
*/
|
|
22147
|
+
var now = function() {
|
|
22148
|
+
return root.Date.now();
|
|
22149
|
+
};
|
|
22150
|
+
|
|
22151
|
+
/**
|
|
22152
|
+
* Creates a debounced function that delays invoking `func` until after `wait`
|
|
22153
|
+
* milliseconds have elapsed since the last time the debounced function was
|
|
22154
|
+
* invoked. The debounced function comes with a `cancel` method to cancel
|
|
22155
|
+
* delayed `func` invocations and a `flush` method to immediately invoke them.
|
|
22156
|
+
* Provide `options` to indicate whether `func` should be invoked on the
|
|
22157
|
+
* leading and/or trailing edge of the `wait` timeout. The `func` is invoked
|
|
22158
|
+
* with the last arguments provided to the debounced function. Subsequent
|
|
22159
|
+
* calls to the debounced function return the result of the last `func`
|
|
22160
|
+
* invocation.
|
|
22161
|
+
*
|
|
22162
|
+
* **Note:** If `leading` and `trailing` options are `true`, `func` is
|
|
22163
|
+
* invoked on the trailing edge of the timeout only if the debounced function
|
|
22164
|
+
* is invoked more than once during the `wait` timeout.
|
|
22165
|
+
*
|
|
22166
|
+
* If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
|
|
22167
|
+
* until to the next tick, similar to `setTimeout` with a timeout of `0`.
|
|
22168
|
+
*
|
|
22169
|
+
* See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
|
|
22170
|
+
* for details over the differences between `_.debounce` and `_.throttle`.
|
|
22171
|
+
*
|
|
22172
|
+
* @static
|
|
22173
|
+
* @memberOf _
|
|
22174
|
+
* @since 0.1.0
|
|
22175
|
+
* @category Function
|
|
22176
|
+
* @param {Function} func The function to debounce.
|
|
22177
|
+
* @param {number} [wait=0] The number of milliseconds to delay.
|
|
22178
|
+
* @param {Object} [options={}] The options object.
|
|
22179
|
+
* @param {boolean} [options.leading=false]
|
|
22180
|
+
* Specify invoking on the leading edge of the timeout.
|
|
22181
|
+
* @param {number} [options.maxWait]
|
|
22182
|
+
* The maximum time `func` is allowed to be delayed before it's invoked.
|
|
22183
|
+
* @param {boolean} [options.trailing=true]
|
|
22184
|
+
* Specify invoking on the trailing edge of the timeout.
|
|
22185
|
+
* @returns {Function} Returns the new debounced function.
|
|
22186
|
+
* @example
|
|
22187
|
+
*
|
|
22188
|
+
* // Avoid costly calculations while the window size is in flux.
|
|
22189
|
+
* jQuery(window).on('resize', _.debounce(calculateLayout, 150));
|
|
22190
|
+
*
|
|
22191
|
+
* // Invoke `sendMail` when clicked, debouncing subsequent calls.
|
|
22192
|
+
* jQuery(element).on('click', _.debounce(sendMail, 300, {
|
|
22193
|
+
* 'leading': true,
|
|
22194
|
+
* 'trailing': false
|
|
22195
|
+
* }));
|
|
22196
|
+
*
|
|
22197
|
+
* // Ensure `batchLog` is invoked once after 1 second of debounced calls.
|
|
22198
|
+
* var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
|
|
22199
|
+
* var source = new EventSource('/stream');
|
|
22200
|
+
* jQuery(source).on('message', debounced);
|
|
22201
|
+
*
|
|
22202
|
+
* // Cancel the trailing debounced invocation.
|
|
22203
|
+
* jQuery(window).on('popstate', debounced.cancel);
|
|
22204
|
+
*/
|
|
22205
|
+
function debounce(func, wait, options) {
|
|
22206
|
+
var lastArgs,
|
|
22207
|
+
lastThis,
|
|
22208
|
+
maxWait,
|
|
22209
|
+
result,
|
|
22210
|
+
timerId,
|
|
22211
|
+
lastCallTime,
|
|
22212
|
+
lastInvokeTime = 0,
|
|
22213
|
+
leading = false,
|
|
22214
|
+
maxing = false,
|
|
22215
|
+
trailing = true;
|
|
22216
|
+
|
|
22217
|
+
if (typeof func != 'function') {
|
|
22218
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
|
22219
|
+
}
|
|
22220
|
+
wait = toNumber(wait) || 0;
|
|
22221
|
+
if (isObject(options)) {
|
|
22222
|
+
leading = !!options.leading;
|
|
22223
|
+
maxing = 'maxWait' in options;
|
|
22224
|
+
maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
|
|
22225
|
+
trailing = 'trailing' in options ? !!options.trailing : trailing;
|
|
22226
|
+
}
|
|
22227
|
+
|
|
22228
|
+
function invokeFunc(time) {
|
|
22229
|
+
var args = lastArgs,
|
|
22230
|
+
thisArg = lastThis;
|
|
22231
|
+
|
|
22232
|
+
lastArgs = lastThis = undefined;
|
|
22233
|
+
lastInvokeTime = time;
|
|
22234
|
+
result = func.apply(thisArg, args);
|
|
22235
|
+
return result;
|
|
22236
|
+
}
|
|
22237
|
+
|
|
22238
|
+
function leadingEdge(time) {
|
|
22239
|
+
// Reset any `maxWait` timer.
|
|
22240
|
+
lastInvokeTime = time;
|
|
22241
|
+
// Start the timer for the trailing edge.
|
|
22242
|
+
timerId = setTimeout(timerExpired, wait);
|
|
22243
|
+
// Invoke the leading edge.
|
|
22244
|
+
return leading ? invokeFunc(time) : result;
|
|
22245
|
+
}
|
|
22246
|
+
|
|
22247
|
+
function remainingWait(time) {
|
|
22248
|
+
var timeSinceLastCall = time - lastCallTime,
|
|
22249
|
+
timeSinceLastInvoke = time - lastInvokeTime,
|
|
22250
|
+
result = wait - timeSinceLastCall;
|
|
22251
|
+
|
|
22252
|
+
return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;
|
|
22253
|
+
}
|
|
22254
|
+
|
|
22255
|
+
function shouldInvoke(time) {
|
|
22256
|
+
var timeSinceLastCall = time - lastCallTime,
|
|
22257
|
+
timeSinceLastInvoke = time - lastInvokeTime;
|
|
22258
|
+
|
|
22259
|
+
// Either this is the first call, activity has stopped and we're at the
|
|
22260
|
+
// trailing edge, the system time has gone backwards and we're treating
|
|
22261
|
+
// it as the trailing edge, or we've hit the `maxWait` limit.
|
|
22262
|
+
return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
|
|
22263
|
+
(timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
|
|
22264
|
+
}
|
|
22265
|
+
|
|
22266
|
+
function timerExpired() {
|
|
22267
|
+
var time = now();
|
|
22268
|
+
if (shouldInvoke(time)) {
|
|
22269
|
+
return trailingEdge(time);
|
|
22270
|
+
}
|
|
22271
|
+
// Restart the timer.
|
|
22272
|
+
timerId = setTimeout(timerExpired, remainingWait(time));
|
|
22273
|
+
}
|
|
22274
|
+
|
|
22275
|
+
function trailingEdge(time) {
|
|
22276
|
+
timerId = undefined;
|
|
22277
|
+
|
|
22278
|
+
// Only invoke if we have `lastArgs` which means `func` has been
|
|
22279
|
+
// debounced at least once.
|
|
22280
|
+
if (trailing && lastArgs) {
|
|
22281
|
+
return invokeFunc(time);
|
|
22282
|
+
}
|
|
22283
|
+
lastArgs = lastThis = undefined;
|
|
22284
|
+
return result;
|
|
22285
|
+
}
|
|
22286
|
+
|
|
22287
|
+
function cancel() {
|
|
22288
|
+
if (timerId !== undefined) {
|
|
22289
|
+
clearTimeout(timerId);
|
|
22290
|
+
}
|
|
22291
|
+
lastInvokeTime = 0;
|
|
22292
|
+
lastArgs = lastCallTime = lastThis = timerId = undefined;
|
|
22293
|
+
}
|
|
22294
|
+
|
|
22295
|
+
function flush() {
|
|
22296
|
+
return timerId === undefined ? result : trailingEdge(now());
|
|
22297
|
+
}
|
|
22298
|
+
|
|
22299
|
+
function debounced() {
|
|
22300
|
+
var time = now(),
|
|
22301
|
+
isInvoking = shouldInvoke(time);
|
|
22302
|
+
|
|
22303
|
+
lastArgs = arguments;
|
|
22304
|
+
lastThis = this;
|
|
22305
|
+
lastCallTime = time;
|
|
22306
|
+
|
|
22307
|
+
if (isInvoking) {
|
|
22308
|
+
if (timerId === undefined) {
|
|
22309
|
+
return leadingEdge(lastCallTime);
|
|
22310
|
+
}
|
|
22311
|
+
if (maxing) {
|
|
22312
|
+
// Handle invocations in a tight loop.
|
|
22313
|
+
timerId = setTimeout(timerExpired, wait);
|
|
22314
|
+
return invokeFunc(lastCallTime);
|
|
22315
|
+
}
|
|
22316
|
+
}
|
|
22317
|
+
if (timerId === undefined) {
|
|
22318
|
+
timerId = setTimeout(timerExpired, wait);
|
|
22319
|
+
}
|
|
22320
|
+
return result;
|
|
22321
|
+
}
|
|
22322
|
+
debounced.cancel = cancel;
|
|
22323
|
+
debounced.flush = flush;
|
|
22324
|
+
return debounced;
|
|
22325
|
+
}
|
|
22326
|
+
|
|
22327
|
+
/**
|
|
22328
|
+
* Checks if `value` is the
|
|
22329
|
+
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
|
22330
|
+
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
|
22331
|
+
*
|
|
22332
|
+
* @static
|
|
22333
|
+
* @memberOf _
|
|
22334
|
+
* @since 0.1.0
|
|
22335
|
+
* @category Lang
|
|
22336
|
+
* @param {*} value The value to check.
|
|
22337
|
+
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
|
22338
|
+
* @example
|
|
22339
|
+
*
|
|
22340
|
+
* _.isObject({});
|
|
22341
|
+
* // => true
|
|
22342
|
+
*
|
|
22343
|
+
* _.isObject([1, 2, 3]);
|
|
22344
|
+
* // => true
|
|
22345
|
+
*
|
|
22346
|
+
* _.isObject(_.noop);
|
|
22347
|
+
* // => true
|
|
22348
|
+
*
|
|
22349
|
+
* _.isObject(null);
|
|
22350
|
+
* // => false
|
|
22351
|
+
*/
|
|
22352
|
+
function isObject(value) {
|
|
22353
|
+
var type = typeof value;
|
|
22354
|
+
return !!value && (type == 'object' || type == 'function');
|
|
22355
|
+
}
|
|
22356
|
+
|
|
22357
|
+
/**
|
|
22358
|
+
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
22359
|
+
* and has a `typeof` result of "object".
|
|
22360
|
+
*
|
|
22361
|
+
* @static
|
|
22362
|
+
* @memberOf _
|
|
22363
|
+
* @since 4.0.0
|
|
22364
|
+
* @category Lang
|
|
22365
|
+
* @param {*} value The value to check.
|
|
22366
|
+
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
|
22367
|
+
* @example
|
|
22368
|
+
*
|
|
22369
|
+
* _.isObjectLike({});
|
|
22370
|
+
* // => true
|
|
22371
|
+
*
|
|
22372
|
+
* _.isObjectLike([1, 2, 3]);
|
|
22373
|
+
* // => true
|
|
22374
|
+
*
|
|
22375
|
+
* _.isObjectLike(_.noop);
|
|
22376
|
+
* // => false
|
|
22377
|
+
*
|
|
22378
|
+
* _.isObjectLike(null);
|
|
22379
|
+
* // => false
|
|
22380
|
+
*/
|
|
22381
|
+
function isObjectLike(value) {
|
|
22382
|
+
return !!value && typeof value == 'object';
|
|
22383
|
+
}
|
|
22384
|
+
|
|
22385
|
+
/**
|
|
22386
|
+
* Checks if `value` is classified as a `Symbol` primitive or object.
|
|
22387
|
+
*
|
|
22388
|
+
* @static
|
|
22389
|
+
* @memberOf _
|
|
22390
|
+
* @since 4.0.0
|
|
22391
|
+
* @category Lang
|
|
22392
|
+
* @param {*} value The value to check.
|
|
22393
|
+
* @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
|
|
22394
|
+
* @example
|
|
22395
|
+
*
|
|
22396
|
+
* _.isSymbol(Symbol.iterator);
|
|
22397
|
+
* // => true
|
|
22398
|
+
*
|
|
22399
|
+
* _.isSymbol('abc');
|
|
22400
|
+
* // => false
|
|
22401
|
+
*/
|
|
22402
|
+
function isSymbol(value) {
|
|
22403
|
+
return typeof value == 'symbol' ||
|
|
22404
|
+
(isObjectLike(value) && objectToString.call(value) == symbolTag);
|
|
22405
|
+
}
|
|
22406
|
+
|
|
22407
|
+
/**
|
|
22408
|
+
* Converts `value` to a number.
|
|
22409
|
+
*
|
|
22410
|
+
* @static
|
|
22411
|
+
* @memberOf _
|
|
22412
|
+
* @since 4.0.0
|
|
22413
|
+
* @category Lang
|
|
22414
|
+
* @param {*} value The value to process.
|
|
22415
|
+
* @returns {number} Returns the number.
|
|
22416
|
+
* @example
|
|
22417
|
+
*
|
|
22418
|
+
* _.toNumber(3.2);
|
|
22419
|
+
* // => 3.2
|
|
22420
|
+
*
|
|
22421
|
+
* _.toNumber(Number.MIN_VALUE);
|
|
22422
|
+
* // => 5e-324
|
|
22423
|
+
*
|
|
22424
|
+
* _.toNumber(Infinity);
|
|
22425
|
+
* // => Infinity
|
|
22426
|
+
*
|
|
22427
|
+
* _.toNumber('3.2');
|
|
22428
|
+
* // => 3.2
|
|
22429
|
+
*/
|
|
22430
|
+
function toNumber(value) {
|
|
22431
|
+
if (typeof value == 'number') {
|
|
22432
|
+
return value;
|
|
22433
|
+
}
|
|
22434
|
+
if (isSymbol(value)) {
|
|
22435
|
+
return NAN;
|
|
22436
|
+
}
|
|
22437
|
+
if (isObject(value)) {
|
|
22438
|
+
var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
|
|
22439
|
+
value = isObject(other) ? (other + '') : other;
|
|
22440
|
+
}
|
|
22441
|
+
if (typeof value != 'string') {
|
|
22442
|
+
return value === 0 ? value : +value;
|
|
22443
|
+
}
|
|
22444
|
+
value = value.replace(reTrim, '');
|
|
22445
|
+
var isBinary = reIsBinary.test(value);
|
|
22446
|
+
return (isBinary || reIsOctal.test(value))
|
|
22447
|
+
? freeParseInt(value.slice(2), isBinary ? 2 : 8)
|
|
22448
|
+
: (reIsBadHex.test(value) ? NAN : +value);
|
|
22449
|
+
}
|
|
22450
|
+
|
|
22451
|
+
module.exports = debounce;
|
|
22452
|
+
|
|
22453
|
+
|
|
22565
22454
|
/***/ }),
|
|
22566
22455
|
|
|
22567
22456
|
/***/ 5666:
|
|
@@ -23771,7 +23660,7 @@ function _loadEmbed() {
|
|
|
23771
23660
|
polyfillVersionString = "legacy";
|
|
23772
23661
|
}
|
|
23773
23662
|
|
|
23774
|
-
embedScriptSource = concat_default()(_context16 = concat_default()(_context17 = "".concat(host, "/embed/")).call(_context17, polyfillVersionString, "/client/")).call(_context16, "
|
|
23663
|
+
embedScriptSource = concat_default()(_context16 = concat_default()(_context17 = "".concat(host, "/embed/")).call(_context17, polyfillVersionString, "/client/")).call(_context16, "f19ff23", "/index.js");
|
|
23775
23664
|
}
|
|
23776
23665
|
|
|
23777
23666
|
clientScriptExists = Boolean( true || // The client script is bundled with npm module
|
|
@@ -23898,10 +23787,10 @@ function createEmbedObject() {
|
|
|
23898
23787
|
handle: adaSettings.handle,
|
|
23899
23788
|
embedVersion: 2,
|
|
23900
23789
|
embedSettings: adaSettings,
|
|
23901
|
-
version: "1.0.
|
|
23790
|
+
version: "1.0.40",
|
|
23902
23791
|
isNpm: true,
|
|
23903
23792
|
hostPage: window.location.href,
|
|
23904
|
-
commitHash: "
|
|
23793
|
+
commitHash: "f19ff23"
|
|
23905
23794
|
}, {
|
|
23906
23795
|
sampleRate: 0.01 // 1% of logs will go through
|
|
23907
23796
|
|
|
@@ -24316,7 +24205,7 @@ function createEmbedObject() {
|
|
|
24316
24205
|
}
|
|
24317
24206
|
;// CONCATENATED MODULE: ./src/index-npm.ts
|
|
24318
24207
|
|
|
24319
|
-
Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
24208
|
+
Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 7054));
|
|
24320
24209
|
/* harmony default export */ var index_npm = (createEmbedObject());
|
|
24321
24210
|
}();
|
|
24322
24211
|
module.exports = __webpack_exports__;
|