Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!

0}):e[t]=r}(ne,"featureNa
me",re.t);var ie=i(3916),oe=i(3752),ae=i(8683),se=i.n(ae),ce=A._A,ue="fetch-",de="fetch-body-
",fe=["arrayBuffer","blob","json","text","formData"],le=ce.Request,he=ce.Response,pe="prototype",ge=
"nr@context";const ve={};function me(e){const
t=function(e){return(e||oe.ee).get("fetch")}(e);if(!(le&&he&&ce.fetch))return t;if(ve[t.debugId])return
t;function r(e,r,n){var i=e[r];"function"==typeof i&&(e[r]=function(){var
e,r=se()(arguments),o={};t.emit(n+"before-start",[r],o),o[ge]&&o[ge].dt&&(e=o[ge].dt);var
a=i.apply(this,r);return t.emit(n+"start",[r,e],a),a.then((function(e){return
t.emit(n+"end",[null,e],a),e}),(function(e){throw t.emit(n+"end",[e],a),e}))})}return
ve[t.debugId]=!0,(0,u.D)(fe,(function(e,t){r(le[pe],t,de),r(he[pe],t,de)})),r(ce,"fetch",ue),t.on("fetch-
end",(function(e,r){var n=this;if(r){var i=r.headers.get("content-
length");null!==i&&(n.rxSize=i),t.emit("fetch-done",[null,r],n)}else t.emit("fetch-done",[e],n)})),t}var
be="nr@original",ye=Object.prototype.hasOwnProperty,we=!1;function Ee(e,t){return
e||(e=oe.ee),r.inPlace=function(e,t,n,i,o){n||(n="");var a,s,c,u="-
"===n.charAt(0);for(c=0;c<t.length;c++)s=t[c],Oe(a=e[s])||(e[s]=r(a,u?s+n:n,i,s,o))},r.flag=be,r;function
r(t,r,i,o,a){return Oe(t)?t:(r||(r=""),nrWrapper[be]=t,xe(t,nrWrapper,e),nrWrapper);function
nrWrapper(){var s,c,u,d;try{c=this,s=se()(arguments),u="function"==typeof
i?i(s,c):i||{}}catch(t){Te([t,"",[s,c,o],u],e)}n(r+"start",[s,c,o],u,a);try{return d=t.apply(c,s)}catch(e){throw
n(r+"err",[s,c,e],u,a),e}finally{n(r+"end",[s,c,d],u,a)}}}function n(r,n,i,o){if(!we||t){var
a=we;we=!0;try{e.emit(r,n,i,t,o)}catch(t){Te([t,r,n,i],e)}we=a}}}function
Te(e,t){t||(t=oe.ee);try{t.emit("internal-error",e)}catch(e){}}function
xe(e,t,r){if(Object.defineProperty&&Object.keys)try{return
Object.keys(e).forEach((function(r){Object.defineProperty(t,r,{get:function(){return
e[r]},set:function(t){return e[r]=t,t}})})),t}catch(e){Te([e],r)}for(var n in e)ye.call(e,n)&&(t[n]=e[n]);return
t}function Oe(e){return!(e&&e instanceof Function&&e.apply&&!e[be])}function Ae(e,t,r){var
n=e[t];e[t]=function(e,t){var r=t(e);return r[be]=e,xe(e,r,oe.ee),r}(n,r)}function _e(){for(var
e=arguments.length,t=new Array(e),r=0;r<e;++r)t[r]=arguments[r];return t}const Se={};function
Ne(e){const t=function(e){return(e||oe.ee).get("timer")}(e);if(Se[t.debugId])return
t;Se[t.debugId]=!0;var r=Ee(t),n="setTimeout",i="setInterval",o="clearTimeout",a="-start";return
r.inPlace(A._A,[n,"setImmediate"],"setTimeout-"),r.inPlace(A._A,[i],"setInterval-
"),r.inPlace(A._A,[o,"clearImmediate"],"clearTimeout-"),t.on(i+a,(function(e,t,n){e[0]=r(e[0],"fn-
",null,n)})),t.on(n+a,(function(e,t,n){this.method=n,this.timerDuration=isNaN(e[1])?0:+e[1],e[0]=r(e[0],"f
n-",this,n)})),t}const De={};function Pe(e){const
t=function(e){return(e||oe.ee).get("raf")}(e);if(De[t.debugId]||!A.il)return t;De[t.debugId]=!0;var
r=Ee(t);return
r.inPlace(window,["requestAnimationFrame","mozRequestAnimationFrame","webkitRequestAnimation
Frame","msRequestAnimationFrame"],"raf-"),t.on("raf-start",(function(e){e[0]=r(e[0],"fn-")})),t}const
Ie={};function Re(e){const t=function(e){return(e||oe.ee).get("history")}(e);if(Ie[t.debugId]||!A.il)return
t;Ie[t.debugId]=!0;var
r=Ee(t),n=window.history&&window.history.constructor&&window.history.constructor.prototype,i=win
dow.history;return n&&n.pushState&&n.replaceState&&(i=n),r.inPlace(i,["pushState","replaceState"],"-
"),t}const Ce={};function je(e){const
t=function(e){return(e||oe.ee).get("jsonp")}(e);if(Ce[t.debugId]||!A.il)return t;Ce[t.debugId]=!0;var
r=Ee(t),n=/[?&](?:callback|cb)=([^&#]+)/,i=/(.*)\.([^.]+)/,o=/^(\w+)(\.|$)(.*)$/,a=["appendChild","insertB
efore","replaceChild"];function s(e,t){var r=e.match(o),n=r[1],i=r[3];return
i?s(i,t[n]):t[n]}return"addEventListener"in
window&&(Node&&Node.prototype&&Node.prototype.appendChild?r.inPlace(Node.prototype,a,"dom
-"):(r.inPlace(HTMLElement.prototype,a,"dom-"),r.inPlace(HTMLHeadElement.prototype,a,"dom-
"),r.inPlace(HTMLBodyElement.prototype,a,"dom-"))),t.on("dom-
start",(function(e){!function(e){if(!e||"string"!=typeof
e.nodeName||"script"!==e.nodeName.toLowerCase())return;if("function"!=typeof
e.addEventListener)return;var o=(a=e.src,c=a.match(n),c?c[1]:null);var a,c;if(!o)return;var
u=function(e){var
t=e.match(i);if(t&&t.length>=3)return{key:t[2],parent:s(t[1],window)};return{key:e,parent:window}}(o);i
f("function"!=typeof u.parent[u.key])return;var d={};function f(){t.emit("jsonp-
end",[],d),e.removeEventListener("load",f,(0,C.m$)(!1)),e.removeEventListener("error",l,(0,C.m$)(!1))}fu
nction l(){t.emit("jsonp-error",[],d),t.emit("jsonp-
end",[],d),e.removeEventListener("load",f,(0,C.m$)(!1)),e.removeEventListener("error",l,(0,C.m$)(!1))}r.i
nPlace(u.parent,[u.key],"cb-
",d),e.addEventListener("load",f,(0,C.m$)(!1)),e.addEventListener("error",l,(0,C.m$)(!1)),t.emit("new-
jsonp",[e.src],d)}(e[0])})),t}const ke={};function Le(e){const
r=function(e){return(e||oe.ee).get("mutation")}(e);if(ke[r.debugId]||!A.il)return r;ke[r.debugId]=!0;var
n=Ee(r),i=t.Yu.MO;return i&&(window.MutationObserver=function(e){return this instanceof i?new
i(n(e,"fn-")):i.apply(this,arguments)},MutationObserver.prototype=i.prototype),r}const Me={};function
He(e){const r=function(e){return(e||oe.ee).get("promise")}(e);if(Me[r.debugId])return
r;Me[r.debugId]=!0;var n=oe.c,i=Ee(r),o=t.Yu.PR;return o&&function(){function e(e){var
t=r.context(),n=i(e,"executor-",t,null,!1),a=new o(n);return r.context(a).getCtx=function(){return
t},a}A._A.Promise=e,Object.defineProperty(A._A.Promise,"name",{value:"Promise"}),["all","race"].forEa
ch((function(e){var t=o[e];o[e]=function(n){var
i=!1;(0,u.D)(n,(function(t,r){Promise.resolve(r).then(s("all"===e),s(!1))}));var
a=t.apply(o,arguments);return o.resolve(a);function s(e){return
function(){r.emit("propagate",[null,!i],a,!1,!1),i=i||!e}}}})),["resolve","reject"].forEach((function(e){var
t=o[e];o[e]=function(e){var n=t.apply(o,arguments);return
e!==n&&r.emit("propagate",[e,!0],n,!1,!1),n}})),o.prototype.catch=function(e){return
this.then(null,e)},Object.assign(o.prototype,{constructor:{value:e}}),(0,u.D)(Object.getOwnPropertyNam
es(o),(function(t,r){try{e[r]=o[r]}catch(e){}})),Ae(o.prototype,"then",(function(e){return function(){var
t=this,o=_e.apply(this,arguments),a=n(t);a.promise=t,o[0]=i(o[0],"cb-",a,null,!1),o[1]=i(o[1],"cb-
",a,null,!1);var s=e.apply(this,o);return
a.nextPromise=s,r.emit("propagate",[t,!0],s,!1,!1),s}})),r.on("executor-
start",(function(e){e[0]=i(e[0],"resolve-",this,null,!1),e[1]=i(e[1],"resolve-",this,null,!1)})),r.on("executor-
err",(function(e,t,r){e[1](r)})),r.on("cb-
end",(function(e,t,n){r.emit("propagate",[n,!0],this.nextPromise,!1,!1)})),r.on("propagate",(function(e,t,
n){this.getCtx&&!t||(this.getCtx=function(){if(e instanceof Promise)var t=r.context(e);return
t&&t.getCtx?t.getCtx():this})})),e.toString=function(){return""+o}}(),r}const ze={};function Be(e){var
t=function(e){return(e||oe.ee).get("events")}(e);if(ze[t.debugId])return t;ze[t.debugId]=!0;var
r=Ee(t,!0),n=XMLHttpRequest,i="addEventListener",o="removeEventListener";function a(e){for(var
t=e;t&&!t.hasOwnProperty(i);)t=Object.getPrototypeOf(t);t&&s(t)}function s(e){r.inPlace(e,[i,o],"-
",c)}function c(e,t){return e[1]}return"getPrototypeOf"in

You might also like