try{let t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="74bdde35-6ac3-4e5d-b301-a292c3c0700e",t._sentryDebugIdIdentifier="sentry-dbid-74bdde35-6ac3-4e5d-b301-a292c3c0700e")}catch(t){}{let t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[new t.Error().stack]=Object.assign({},t._sentryModuleMetadata[new t.Error().stack],{"_sentryBundlerPluginAppKey:anthropic-apps":!0})}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[35050],{0x14c9a8ddb:(t,e,n)=>{n.d(e,{j:()=>i});function i(t,e){var n,i;return"boolean"==typeof(null==e?void 0:e.enabled)?e.enabled:null==(i=null==(n=null==t?void 0:t.__default)?void 0:n.enabled)||i}},0x1a385eeb6:(t,e,n)=>{n.r(e),n.d(e,{LegacyDestination:()=>z,ajsDestinations:()=>I});var i=n(0xae03956b),r=n(0x170ed7e03),o=n(0x1f6428271),s=n(0x8e0bd3e),a=n(0x15de7ea06),u=n(0x17aaba6b8),l=n(0xde40539f),d=n(0x14c9a8ddb),c=n(0x149c77ef1),h=n(0x154feb066),f=n(0xf6fba9f7),p=n(0x1fb4918c6),v=n(0x101e829dc),g=n(0x5ada21bf),y=n(0xccd7b2ba);function b(t){return t.toLowerCase().replace(".","").replace(/\s+/g,"-")}function m(t,e){return void 0===e&&(e=!1),e?btoa(t).replace(/=/g,""):void 0}var w=n(0x164aed00e),_=function(t,e){var n,i=e.type,r=e.bundlingStatus,o=e.versionSettings,s="unbundled"!==r&&("browser"===i||(null==(n=null==o?void 0:o.componentTypes)?void 0:n.includes("browser")));return!t.startsWith("Segment")&&"Iterable"!==t&&s},H=function(t,e){var n=!1===e.All&&void 0===e[t];return!1===e[t]||n},x=n(0x6bccd5de),k=n(0x9670fb8c),z=function(){function t(t,e,n,r,o,s){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=e,this.settings=(0,i.Cl)({},r),this.disableAutoISOConversion=o.disableAutoISOConversion||!1,this.integrationSource=s,this.settings.type&&"browser"===this.settings.type&&delete this.settings.type,this.initializePromise.promise.then(function(t){return a._initialized=t},function(){}),this.options=o,this.buffer=o.disableClientPersistence?new f.M(4,[]):new p.x(4,"".concat(n,":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 e;return null!=(e=t.onReady)?e:Promise.resolve()})},t.prototype.load=function(t,e){var n;return(0,i.sH)(this,void 0,void 0,function(){var r,o,s=this;return(0,i.YH)(this,function(a){switch(a.label){case 0:if(this._ready||void 0!==this.onReady)return[2];if(null==(n=this.integrationSource))return[3,1];return o=n,[3,3];case 1:return[4,function(t,e,n,r){return(0,i.sH)(this,void 0,void 0,function(){var o,s,a,u,l;return(0,i.YH)(this,function(d){switch(d.label){case 0:s=m(o=b(e),r),a=(0,g.YM)(),u="".concat(a,"/integrations/").concat(null!=s?s:o,"/").concat(n,"/").concat(null!=s?s:o,".dynamic.js.gz"),d.label=1;case 1:return d.trys.push([1,3,,4]),[4,(0,y.k)(u)];case 2:d.sent();var c,h,f=u;try{var p=(null!=(h=null==(c=null==window?void 0:window.performance)?void 0:c.getEntriesByName(f,"resource"))?h:[])[0];p&&t.stats.gauge("legacy_destination_time",Math.round(p.duration),(0,i.fX)([e],p.duration<100?["cached"]:[],!0))}catch(t){}return[3,4];case 3:throw l=d.sent(),t.stats.gauge("legacy_destination_time",-1,["plugin:".concat(e),"failed"]),l;case 4:return[4,Promise.all(window["".concat(o,"Deps")].map(function(t){return(0,y.k)(a+t+".gz")}))];case 5:return d.sent(),window["".concat(o,"Loader")](),[2,window["".concat(o,"Integration")]]}})})}(t,this.name,this.version,this.options.obfuscate)];case 2:o=a.sent(),a.label=3;case 3:r=o,this.integration=function(t,e,n){if("Integration"in t){var i;t({user:function(){return n.user()},addIntegration:function(){}}),i=t.Integration}else i=t;var r=new i(e);return r.analytics=n,r}(r,this.settings,e),this.onReady=new Promise(function(t){s.integration.once("ready",function(){s._ready=!0,t(!0)})}),this.integration.on("initialize",function(){s.initializePromise.resolve(!0)});try{(0,x.y)(t,{integrationName:this.name,methodName:"initialize",type:"classic"}),this.integration.initialize()}catch(e){throw(0,x.y)(t,{integrationName:this.name,methodName:"initialize",type:"classic",didError:!0}),this.initializePromise.resolve(!1),e}return[2]}})})},t.prototype.unload=function(t,e){return function(t,e,n){return(0,i.sH)(this,void 0,void 0,function(){var r,o,s,a;return(0,i.YH)(this,function(i){return r=(0,g.YM)(),o=b(t),s=m(t,n),a="".concat(r,"/integrations/").concat(null!=s?s:o,"/").concat(e,"/").concat(null!=s?s:o,".dynamic.js.gz"),[2,(0,y.d)(a)]})})}(this.name,this.version,this.options.obfuscate)},t.prototype.addMiddleware=function(){for(var t,e=[],n=0;n0&&(0,o.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=e.pop()))return[2];return[4,(0,l.C)(r,t)];case 1:return i.sent()instanceof s.o||n.push(r),[2]}})})})];case 1:return a.sent(),n.map(function(t){return e.pushWithBackoff(t)}),[2,e]}})})}(this,this.buffer)];case 1:return t.buffer=e.sent(),this.flushing=!1,this.buffer.todo>0&&this.scheduleFlush(),[2]}})})},5e3*Math.random())},t}();function I(t,e,n,r,o,s){if(void 0===n&&(n={}),void 0===r&&(r={}),(0,u.S)())return[];e.plan&&((r=null!=r?r:{}).plan=e.plan);var a,l,d=null!=(l=null==(a=e.middlewareSettings)?void 0:a.routingRules)?l:[],h=e.integrations,f=r.integrations,p=(0,c.J)(e,null!=r?r:{}),v=null==s?void 0:s.reduce(function(t,e){var n;return(0,i.Cl)((0,i.Cl)({},t),((n={})[("Integration"in e?e.Integration:e).prototype.name]=e,n))},{});return Array.from(new Set((0,i.fX)((0,i.fX)([],Object.keys(h).filter(function(t){return _(t,h[t])}),!0),Object.keys(v||{}).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,n)}).map(function(e){var n,i,s,a,u,l=null!=(u=null!=(s=null==(i=null==(n=h[e])?void 0:n.versionSettings)?void 0:i.override)?s:null==(a=null==n?void 0:n.versionSettings)?void 0:a.version)?u:"latest",c=new z(e,l,t,p[e],r,null==v?void 0:v[e]);return d.filter(function(t){return t.destinationName===e}).length>0&&o&&c.addMiddleware(o),c})}}}]);