1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new t.Error).stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="7127834a-7fdd-469e-9b13-6630fec9a930",t._sentryDebugIdIdentifier="sentry-dbid-7127834a-7fdd-469e-9b13-6630fec9a930")}catch(t){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5050],{9926:(t,n,e)=>{e.d(n,{j:()=>i});function i(t,n){var e,i;return"boolean"==typeof(null==n?void 0:n.enabled)?n.enabled:null==(i=null==(e=null==t?void 0:t.__default)?void 0:e.enabled)||i}},52731:(t,n,e)=>{e.r(n),e.d(n,{LegacyDestination:()=>I,ajsDestinations:()=>C});var i=e(4902),r=e(76994),s=e(12076),o=e(87013),a=e(74397),u=e(69467),l=e(5968),c=e(9926),d=e(2514),h=e(36923),f=e(27882),v=e(28017),p=e(70891),g=e(65818),y=e(10723);function m(t){return t.toLowerCase().replace(".","").replace(/\s+/g,"-")}function b(t,n){return void 0===n&&(n=!1),n?btoa(t).replace(/=/g,""):void 0}var w=e(35321),_=function(t,n){var e,i=n.type,r=n.bundlingStatus,s=n.versionSettings,o="unbundled"!==r&&("browser"===i||(null==(e=null==s?void 0:s.componentTypes)?void 0:e.includes("browser")));return!t.startsWith("Segment")&&"Iterable"!==t&&o},H=function(t,n){var e=!1===n.All&&void 0===n[t];return!1===n[t]||e},z=e(54911),k=e(50091),I=function(){function t(t,n,e,r,s,o){void 0===r&&(r={});var a=this;this.options={},this.type="destination",this.middleware=[],this.initializePromise=(0,k.u)(),this.flushing=!1,this.name=t,this.version=n,this.settings=(0,i.Cl)({},r),this.disableAutoISOConversion=s.disableAutoISOConversion||!1,this.integrationSource=o,this.settings.type&&"browser"===this.settings.type&&delete this.settings.type,this.initializePromise.promise.then(function(t){return a._initialized=t},function(){}),this.options=s,this.buffer=s.disableClientPersistence?new f.M(4,[]):new v.x(4,"".concat(e,":dest-").concat(t)),this.scheduleFlush()}return t.prototype.isLoaded=function(){return!!this._ready},t.prototype.ready=function(){var t=this;return this.initializePromise.promise.then(function(){var n;return null!=(n=t.onReady)?n:Promise.resolve()})},t.prototype.load=function(t,n){var e;return(0,i.sH)(this,void 0,void 0,function(){var r,s,o,a=this;return(0,i.YH)(this,function(u){switch(u.label){case 0:if(this._ready||void 0!==this.onReady)return[2];u.label=1;case 1:if(u.trys.push([1,5,,6]),null==(e=this.integrationSource))return[3,2];return s=e,[3,4];case 2:return[4,function(t,n,e,r){return(0,i.sH)(this,void 0,void 0,function(){var s,o,a,u,l;return(0,i.YH)(this,function(c){switch(c.label){case 0:o=b(s=m(n),r),a=(0,g.YM)(),u="".concat(a,"/integrations/").concat(null!=o?o:s,"/").concat(e,"/").concat(null!=o?o:s,".dynamic.js.gz"),c.label=1;case 1:return c.trys.push([1,3,,4]),[4,(0,y.k)(u)];case 2:c.sent();var d,h,f=u;try{var v=(null!=(h=null==(d=null==window?void 0:window.performance)?void 0:d.getEntriesByName(f,"resource"))?h:[])[0];v&&t.stats.gauge("legacy_destination_time",Math.round(v.duration),(0,i.fX)([n],v.duration<100?["cached"]:[],!0))}catch(t){}return[3,4];case 3:throw l=c.sent(),t.stats.gauge("legacy_destination_time",-1,["plugin:".concat(n),"failed"]),l;case 4:return[4,Promise.all(window["".concat(s,"Deps")].map(function(t){return(0,y.k)(a+t+".gz")}))];case 5:return c.sent(),window["".concat(s,"Loader")](),[2,window["".concat(s,"Integration")]]}})})}(t,this.name,this.version,this.options.obfuscate)];case 3:s=u.sent(),u.label=4;case 4:return r=s,this.integration=function(t,n,e){if("Integration"in t){var i;t({user:function(){return e.user()},addIntegration:function(){}}),i=t.Integration}else i=t;var r=new i(n);return r.analytics=e,r}(r,this.settings,n),[3,6];case 5:throw o=u.sent(),(0,z.y)(t,{integrationName:this.name,methodName:"load",type:"classic",didError:!0}),o;case 6:this.onReady=new Promise(function(t){a.integration.once("ready",function(){a._ready=!0,t(!0)})}),this.integration.on("initialize",function(){a.initializePromise.resolve(!0)});try{(0,z.y)(t,{integrationName:this.name,methodName:"initialize",type:"classic"}),this.integration.initialize()}catch(n){throw(0,z.y)(t,{integrationName:this.name,methodName:"initialize",type:"classic",didError:!0}),this.initializePromise.resolve(!1),n}return[2]}})})},t.prototype.unload=function(t,n){return function(t,n,e){return(0,i.sH)(this,void 0,void 0,function(){var r,s,o,a;return(0,i.YH)(this,function(i){return r=(0,g.YM)(),s=m(t),o=b(t,e),a="".concat(r,"/integrations/").concat(null!=o?o:s,"/").concat(n,"/").concat(null!=o?o:s,".dynamic.js.gz"),[2,(0,y.d)(a)]})})}(this.name,this.version,this.options.obfuscate)},t.prototype.addMiddleware=function(){for(var t,n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];this.middleware=(t=this.middleware).concat.apply(t,n)},t.prototype.shouldBuffer=function(t){return"page"!==t.event.type&&((0,s.a)()||!0!==this._ready||!0!==this._initialized)},t.prototype.send=function(t,n,e){var r,s;return(0,i.sH)(this,void 0,void 0,function(){var o,u,l,d,h,f;return(0,i.YH)(this,function(v){switch(v.label){case 0:if(this.shouldBuffer(t))return this.buffer.push(t),this.scheduleFlush(),[2,t];return o=null==(s=null==(r=this.options)?void 0:r.plan)?void 0:s.track,u=t.event.event,o&&u&&"Segment.io"!==this.name&&(l=o[u],(0,c.j)(o,l)?t.updateEvent("integrations",(0,i.Cl)((0,i.Cl)({},t.event.integrations),null==l?void 0:l.integrations)):(t.updateEvent("integrations",(0,i.Cl)((0,i.Cl)({},t.event.integrations),{All:!1,"Segment.io":!0})),t.cancel(new a.d({retry:!1,reason:"Event ".concat(u," disabled for integration ").concat(this.name," in tracking plan"),type:"Dropped by plan"}))),(null==l?void 0:l.enabled)&&(null==l?void 0:l.integrations[this.name])===!1&&t.cancel(new a.d({retry:!1,reason:"Event ".concat(u," disabled for integration ").concat(this.name," in tracking plan"),type:"Dropped by plan"}))),[4,(0,p.applyDestinationMiddleware)(this.name,t.event,this.middleware)];case 1:if(null===(d=v.sent()))return[2,t];h=new n(d,{traverse:!this.disableAutoISOConversion}),(0,z.y)(t,{integrationName:this.name,methodName:e,type:"classic"}),v.label=2;case 2:if(v.trys.push([2,5,,6]),!this.integration)return[3,4];return[4,this.integration.invoke.call(this.integration,e,h)];case 3:v.sent(),v.label=4;case 4:return[3,6];case 5:throw f=v.sent(),(0,z.y)(t,{integrationName:this.name,methodName:e,type:"classic",didError:!0}),f;case 6:return[2,t]}})})},t.prototype.track=function(t){return(0,i.sH)(this,void 0,void 0,function(){return(0,i.YH)(this,function(n){return[2,this.send(t,r.Track,"track")]})})},t.prototype.page=function(t){var n;return(0,i.sH)(this,void 0,void 0,function(){return(0,i.YH)(this,function(e){switch(e.label){case 0:return(null==(n=this.integration)?void 0:n._assumesPageview)&&!this._initialized&&this.integration.initialize(),[4,this.initializePromise.promise];case 1:return e.sent(),[2,this.send(t,r.Page,"page")]}})})},t.prototype.identify=function(t){return(0,i.sH)(this,void 0,void 0,function(){return(0,i.YH)(this,function(n){return[2,this.send(t,r.Identify,"identify")]})})},t.prototype.alias=function(t){return(0,i.sH)(this,void 0,void 0,function(){return(0,i.YH)(this,function(n){return[2,this.send(t,r.Alias,"alias")]})})},t.prototype.group=function(t){return(0,i.sH)(this,void 0,void 0,function(){return(0,i.YH)(this,function(n){return[2,this.send(t,r.Group,"group")]})})},t.prototype.scheduleFlush=function(){var t=this;this.flushing||setTimeout(function(){return(0,i.sH)(t,void 0,void 0,function(){var t;return(0,i.YH)(this,function(n){switch(n.label){case 0:if((0,s.a)()||!0!==this._ready||!0!==this._initialized)return this.scheduleFlush(),[2];return this.flushing=!0,t=this,[4,function(t,n){return(0,i.sH)(this,void 0,void 0,function(){var e,r=this;return(0,i.YH)(this,function(a){switch(a.label){case 0:if(e=[],(0,s.a)())return[2,n];return[4,(0,h._)(function(){return n.length>0&&(0,s.s)()},function(){return(0,i.sH)(r,void 0,void 0,function(){var r;return(0,i.YH)(this,function(i){switch(i.label){case 0:if(!(r=n.pop()))return[2];return[4,(0,l.C)(r,t)];case 1:return i.sent()instanceof o.o||e.push(r),[2]}})})})];case 1:return a.sent(),e.map(function(t){return n.pushWithBackoff(t)}),[2,n]}})})}(this,this.buffer)];case 1:return t.buffer=n.sent(),this.flushing=!1,this.buffer.todo>0&&this.scheduleFlush(),[2]}})})},5e3*Math.random())},t}();function C(t,n,e,r,s,o){if(void 0===e&&(e={}),void 0===r&&(r={}),(0,u.S)())return[];n.plan&&((r=null!=r?r:{}).plan=n.plan);var a,l,c=null!=(l=null==(a=n.middlewareSettings)?void 0:a.routingRules)?l:[],h=n.integrations,f=r.integrations,v=(0,d.J)(n,null!=r?r:{}),p=null==o?void 0:o.reduce(function(t,n){var e;return(0,i.Cl)((0,i.Cl)({}
1,t),((e={})[("Integration"in n?n.Integration:n).prototype.name]=n,e))},{});return Array.from(new Set((0,i.fX)((0,i.fX)([],Object.keys(h).filter(function(t){return _(t,h[t])}),!0),Object.keys(p||{}).filter(function(t){return(0,w.Qd)(h[t])||(0,w.Qd)(null==f?void 0:f[t])}),!0))).filter(function(t){return!H(t,e)}).map(function(n){var e,i,o,a,u,l=null!=(u=null!=(o=null==(i=null==(e=h[n])?void 0:e.versionSettings)?void 0:i.override)?o:null==(a=null==e?void 0:e.versionSettings)?void 0:a.version)?u:"latest",d=new I(n,l,t,v[n],r,null==p?void 0:p[n]);return c.filter(function(t){return t.destinationName===n}).length>0&&s&&d.addMiddleware(s),d})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.