PageSourceSearch

https://www.themoonlight.io/_next/static/chunks/6381.0a1ea6142c3775e6.js

js themoonlight.io collected 2026-10-02 04:23:56 UTC 19,317 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7a880350-22b2-4955-8b5f-f91d294f6b52",e._sentryDebugIdIdentifier="sentry-dbid-7a880350-22b2-4955-8b5f-f91d294f6b52")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6381],{36381:function(e,t,r){r.r(t),r.d(t,{evaluateTargeting:function(){return fe}});var n=r(69802),o=r(14492).lW,a=function(e,t){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},a(e,t)};var i=function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function s(e,t,r,n){return new(r||(r=Promise))((function(o,a){function i(e){try{c(n.next(e))}catch(t){a(t)}}function s(e){try{c(n.throw(e))}catch(t){a(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,s)}c((n=n.apply(e,t||[])).next())}))}function c(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(c){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(c){s=[6,c],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}function u(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(e,t){var r="function"===typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}function f(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}"function"===typeof SuppressedError&&SuppressedError;var h="is",p="is not",v="contains",d="does not contain",y="less",m="less or equal",g="greater",b="greater or equal",w="version less",S="version less or equal",x="version greater",C="version greater or equal",A="set is",T="set is not",E="set contains",k="set does not contain",O="set contains any",I="set does not contain any",N="regex match",_="regex does not match",F=-862048943,j=461845907,M=function(e,t){void 0===t&&(t=0);for(var r=function(e){for(var t=[],r=0,n=0;n<e.length;n++){var o=e.charCodeAt(n);o<128?t[r++]=o:o<2048?(t[r++]=o>>6|192,t[r++]=63&o|128):55296==(64512&o)&&n+1<e.length&&56320==(64512&e.charCodeAt(n+1))?(o=65536+((1023&o)<<10)+(1023&e.charCodeAt(++n)),t[r++]=o>>18|240,t[r++]=o>>12&63|128,t[r++]=o>>6&63|128,t[r++]=63&o|128):(t[r++]=o>>12|224,t[r++]=o>>6&63|128,t[r++]=63&o|128)}return Uint8Array.from(t)}(e),n=r.length,o=n>>2,a=t,i=0;i<o;i++){var s=J(r,i<<2);a=R(s,a)}var c=o<<2,u=0;switch(n-c){case 3:u^=r[c+2]<<16,u^=r[c+1]<<8,u^=r[c],u=Math.imul(u,F),u=D(u,15),a^=u=Math.imul(u,j);break;case 2:u^=r[c+1]<<8,u^=r[c],u=Math.imul(u,F),u=D(u,15),a^=u=Math.imul(u,j);break;case 1:u^=r[c],u=Math.imul(u,F),u=D(u,15),a^=u=Math.imul(u,j)}return P(a^=n)>>>0},R=function(e,t){var r=e,n=t;return r=Math.imul(r,F),r=D(r,15),r=Math.imul(r,j),n=D(n^=r,13),
1(n=Math.imul(n,5))+-430675100|0},P=function(e){var t=e;return t^=t>>>16,t=Math.imul(t,-2048144789),t^=t>>>13,t=Math.imul(t,-1028477387),t^=t>>>16},D=function(e,t,r){return void 0===r&&(r=32),t>r&&(t%=r),(e<<t|(e&4294967295<<r-t>>>0)>>>0>>>r-t>>>0)>>>0},J=function(e,t){void 0===t&&(t=0);var r=e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3];return K(r)},K=function(e){return(-16777216&e)>>>24|(16711680&e)>>>8|(65280&e)<<8|(255&e)<<24},q=function(e,t){var r,n;if(t&&0!==t.length){try{for(var o=u(t),a=o.next();!a.done;a=o.next()){var i=a.value;if(!i||!e||"object"!==typeof e)return;e=e[i]}}catch(s){r={error:s}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return e||void 0}},U="^".concat("(\\d+)\\.(\\d+)","(\\.").concat("(\\d+)").concat("(-(([-\\w]+\\.?)*))?",")?$"),G=function(){function e(e,t,r,n){void 0===n&&(n=void 0),this.major=e,this.minor=t,this.patch=r,this.preRelease=n}return e.parse=function(t){if(t){var r=new RegExp(U).exec(t);if(r){var n=Number(r[1]),o=Number(r[2]);if(!isNaN(n)&&!isNaN(o))return new e(n,o,Number(r[4])||0,r[5]||void 0)}}},e.prototype.compareTo=function(e){return this.major>e.major?1:this.major<e.major?-1:this.minor>e.minor?1:this.minor<e.minor?-1:this.patch>e.patch?1:this.patch<e.patch||this.preRelease&&!e.preRelease?-1:!this.preRelease&&e.preRelease?1:this.preRelease&&e.preRelease?this.preRelease>e.preRelease?1:this.preRelease<e.preRelease?-1:0:0},e}(),B=function(){function e(){}return e.prototype.evaluate=function(e,t){var r,n,o={},a={context:e,result:o};try{for(var i=u(t),s=i.next();!s.done;s=i.next()){var c=s.value,l=this.evaluateFlag(a,c);l&&(o[c.key]=l)}}catch(f){r={error:f}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return o},e.prototype.evaluateFlag=function(e,t){var r,n,o;try{for(var a=u(t.segments),s=a.next();!s.done;s=a.next()){var c=s.value;if(o=this.evaluateSegment(e,t,c)){var l=i(i(i({},t.metadata),c.metadata),o.metadata);o=i(i({},o),{metadata:l});break}}}catch(f){r={error:f}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o},e.prototype.evaluateSegment=function(e,t,r){var n,o,a,i;if(!r.conditions)return void 0!==(l=this.bucket(e,r))?t.variants[l]:void 0;try{for(var s=u(r.conditions),c=s.next();!c.done;c=s.next()){var l,f=c.value,h=!0;try{for(var p=(a=void 0,u(f)),v=p.next();!v.done;v=p.next()){var d=v.value;if(!(h=this.matchCondition(e,d)))break}}catch(y){a={error:y}}finally{try{v&&!v.done&&(i=p.return)&&i.call(p)}finally{if(a)throw a.error}}if(h)return void 0!==(l=this.bucket(e,r))?t.variants[l]:void 0}}catch(m){n={error:m}}finally{try{c&&!c.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}},e.prototype.matchCondition=function(e,t){var r=q(e,t.selector);if(r){if(this.isSetOperator(t.op)){var n=this.coerceStringArray(r);return!!n&&this.matchSet(n,t.op,t.values)}var o=this.coerceString(r);return void 0!==o&&this.matchString(o,t.op,t.values)}return this.matchNull(t.op,t.values)},e.prototype.getHash=function(e){return M(e)},e.prototype.bucket=function(e,t){var r,n,o,a;if(!t.bucket)return t.variant;var i=this.coerceString(q(e,t.bucket.selector));if(!i||0===i.length)return t.variant;var s="".concat(t.bucket.salt,"/").concat(i),c=this.getHash(s),l=c%100,f=Math.floor(c/100);try{for(var h=u(t.bucket.allocations),p=h.next();!p.done;p=h.next()){var v=p.value,d=v.range[0],y=v.range[1];if(l>=d&&l<y)try{for(var m=(o=void 0,u(v.distributions)),g=m.next();!g.done;g=m.next()){var b=g.value,w=b.range[0],S=b.range[1];if(f>=w&&f<S)return b.variant}}catch(x){o={error:x}}finally{try{g&&!g.done&&(a=m.return)&&a.call(m)}finally{if(o)throw o.error}}}}catch(C){r={error:C}}finally{try{p&&!p.done&&(n=h.return)&&n.call(h)}finally{if(r)throw r.error}}return t.variant},e.prototype.matchNull=function(e,t){var r=this.containsNone(t);switch(e){case h:case v:case y:case m:case g:case b:case w:case S:case x:case C:case A:case E:case O:return r;case p:case d:case k:case I:return!r;default:return!1}},e.prototype.matchSet=function(e,t,r){switch(t){case A:return this.setEquals(e,r);case T:return!this.setEquals(e,r);case E:return this.matchesSetContainsAll(e,r);case k:return!this.matchesSetContainsAll(e,r);case O:return this.matchesSetContainsAny(e,r);case I:return!this.matchesSetContainsAny(e,r);default:return!1}},e.prototype.matchString=function(e,t,r){var n=this;switch(t){case h:return this.matchesIs(e,r);case p:return!this.matchesIs(e,r);case v:return this.matchesContains(e,r);case d:return!this.matchesContains(e,r);case y:case m:case g:case b:return this.matchesComparable(e,t,r,(function(e){return n.parseNumber(e)}),this.comparator);case w:case S:case x:case C:return this.matchesComparable(e,t,r,(function(e){return G.parse(e)}),this.versionComparator);case N:return this.matchesRegex(e,r);case _:return!this.matchesRegex(e,r);default:return!1}},e.prototype.matchesIs=function(e,t){if(this.containsBooleans(t)){var r=e.toLowerCase();if("true"===r||"false"===r)return t.some((function(e){return e.toLowerCase()===r}))}return t.some((function(t){return e===t}))},e.prototype.matchesContains=function(e,t){var r,n;try{for(var o=u(t),a=o.next();!a.done;a=o.next()){var i=a.value;if(e.toLowerCase().includes(i.toLowerCase()))return!0}}catch(s){r={error:s}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return!1},e.prototype.matchesComparable=function(e,t,r,n,o){var a=this,i=n(e),s=r.map((function(e){return n(e)})).filter((function(e){return void 0!==e}));return void 0===i||0===s.length?r.some((function(r){return a.comparator(e,t,r)})):s.some((function(e){return o(i,t,e)}))},e.prototype.comparator=function(e,t,r){switch(t){case y:case w:return e<r;case m:case S:return e<=r;case g:case x:return e>r;case b:case C:return e>=r;default:return!1}},e.prototype.versionComparator=function(e,t,r){var n=e.compareTo(r);switch(t){case y:case w:return n<0;case m:case S:return n<=0;case g:case x:return n>0;case b:case C:return n>=0;default:return!1}},e.prototype.matchesRegex=function(e,t){return t.some((function(t){return Boolean(new RegExp(t).exec(e))}))},e.prototype.containsNone=function(e){return e.some((function(e){return"(none)"===e}))},e.prototype.containsBooleans=function(e){return e.some((function(e){switch(e.toLowerCase()){case"true":case"false":return!0;default:return!1}}
1))},e.prototype.parseNumber=function(e){var t;return null!==(t=Number(e))&&void 0!==t?t:void 0},e.prototype.coerceString=function(e){if(e)return"object"===typeof e?JSON.stringify(e):String(e)},e.prototype.coerceStringArray=function(e){var t=this;if(Array.isArray(e))return e.map((function(e){return t.coerceString(e)})).filter(Boolean);var r=String(e);try{var n=JSON.parse(r);return Array.isArray(n)?e.map((function(e){return t.coerceString(e)})).filter(Boolean):void 0}catch(o){return}},e.prototype.isSetOperator=function(e){switch(e){case A:case T:case E:case k:case O:case I:return!0;default:return!1}},e.prototype.setEquals=function(e,t){var r=new Set(e),n=new Set(t);return r.size===n.size&&f([],l(n),!1).every((function(e){return r.has(e)}))},e.prototype.matchesSetContainsAll=function(e,t){var r,n;if(e.length<t.length)return!1;try{for(var o=u(t),a=o.next();!a.done;a=o.next()){var i=a.value;if(!this.matchesIs(i,e))return!1}}catch(s){r={error:s}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return!0},e.prototype.matchesSetContainsAny=function(e,t){var r,n;try{for(var o=u(t),a=o.next();!a.done;a=o.next()){var i=a.value;if(this.matchesIs(i,e))return!0}}catch(s){r={error:s}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return!1},e}();const L="function"===typeof btoa,X="function"===typeof o,z=("function"===typeof TextDecoder&&new TextDecoder,"function"===typeof TextEncoder?new TextEncoder:void 0),V=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),H=((e=>{let t={};e.forEach(((e,r)=>t[e]=r))})(V),String.fromCharCode.bind(String)),W=("function"===typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),e=>e.replace(/=/g,"").replace(/[+\/]/g,(e=>"+"==e?"-":"_"))),Q=e=>{let t,r,n,o,a="";const i=e.length%3;for(let s=0;s<e.length;){if((r=e.charCodeAt(s++))>255||(n=e.charCodeAt(s++))>255||(o=e.charCodeAt(s++))>255)throw new TypeError("invalid character found");t=r<<16|n<<8|o,a+=V[t>>18&63]+V[t>>12&63]+V[t>>6&63]+V[63&t]}return i?a.slice(0,i-3)+"===".substring(i):a},Y=L?e=>btoa(e):X?e=>o.from(e,"binary").toString("base64"):Q,Z=X?e=>o.from(e).toString("base64"):e=>{let t=[];for(let r=0,n=e.length;r<n;r+=4096)t.push(H.apply(null,e.subarray(r,r+4096)));return Y(t.join(""))},$=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?H(192|t>>>6)+H(128|63&t):H(224|t>>>12&15)+H(128|t>>>6&63)+H(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return H(240|t>>>18&7)+H(128|t>>>12&63)+H(128|t>>>6&63)+H(128|63&t)},ee=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,te=e=>e.replace(ee,$),re=X?e=>o.from(e,"utf8").toString("base64"):z?e=>Z(z.encode(e)):e=>Y(te(e)),ne=(e,t=!1)=>t?W(re(e)):re(e),oe=e=>ne(e,!0),ae=oe;var ie=function(e){function t(r,n){var o=e.call(this,n)||this;return o.statusCode=r,Object.setPrototypeOf(o,t.prototype),o}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}(t,e),t}(Error),se=(function(){function e(e,t,r){this.deploymentKey=e,this.serverUrl=t,this.httpClient=r}e.prototype.getVariants=function(e,t){return s(this,void 0,void 0,(function(){var r,n,o;return c(this,(function(a){switch(a.label){case 0:return r=ae(JSON.stringify(e)),n={Authorization:"Api-Key ".concat(this.deploymentKey),"X-Amp-Exp-User":r},(null===t||void 0===t?void 0:t.flagKeys)&&(n["X-Amp-Exp-Flag-Keys"]=ae(JSON.stringify(t.flagKeys))),(null===t||void 0===t?void 0:t.trackingOption)&&(n["X-Amp-Exp-Track"]=t.trackingOption),[4,this.httpClient.request({requestUrl:"".concat(this.serverUrl,"/sdk/v2/vardata?v=0"),method:"GET",headers:n,timeoutMillis:null===t||void 0===t?void 0:t.timeoutMillis})];case 1:if(200!=(o=a.sent()).status)throw new ie(o.status,"Fetch error response: status=".concat(o.status));return[2,JSON.parse(o.body)]}}))}))}}(),function(){function e(e,t,r){this.deploymentKey=e,this.serverUrl=t,this.httpClient=r}e.prototype.getFlags=function(e){return s(this,void 0,void 0,(function(){var t,r;return c(this,(function(n){switch(n.label){case 0:return t={Authorization:"Api-Key ".concat(this.deploymentKey)},(null===e||void 0===e?void 0:e.libraryName)&&(null===e||void 0===e?void 0:e.libraryVersion)&&(t["X-Amp-Exp-Library"]="".concat(e.libraryName,"/").concat(e.libraryVersion)),[4,this.httpClient.request({requestUrl:"".concat(this.serverUrl,"/sdk/v2/flags"),method:"GET",headers:t,timeoutMillis:null===e||void 0===e?void 0:e.timeoutMillis})];case 1:if(200!=(r=n.sent()).status)throw Error("Flags error response: status=".concat(r.status));return[2,JSON.parse(r.body).reduce((function(e,t){return e[t.key]=t,e}),{})]}}))}))}}(),"undefined"!==typeof globalThis?globalThis:r.g||self),ce=(function(){function e(e,t){this.poller=void 0,this.action=e,this.ms=t}e.prototype.start=function(){this.poller||(this.poller=se.setInterval(this.action,this.ms),this.action())},e.prototype.stop=function(){this.poller&&(se.clearInterval(this.poller),this.poller=void 0)}}(),r(39096)),ue=new function(){var e=this;this.dbs={},this.createStore=function(t){return(0,n.mG)(e,void 0,void 0,(function(){return(0,n.Jh)(this,(function(e){switch(e.label){case 0:return[4,(0,ce.X3)(t,1,{upgrade:function(e){e.objectStoreNames.contains("eventTypesForSession")||e.createObjectStore("eventTypesForSession",{keyPath:"sessionId"})}})];case 1:return[2,e.sent()]}}))}))},this.openOrCreateDB=function(t){return(0,n.mG)(e,void 0,void 0,(function(){var e,r;return(0,n.Jh)(this,(function(n){switch(n.label){case 0:return this.dbs&&this.dbs[t]?[2,this.dbs[t]]:(e="".concat(t.substring(0,10),"_amp_targeting"),[4,this.createStore(e)]);case 1:return r=n.sent(),this.dbs[t]=r,[2,r]}}))}))},this.updateEventListForSession=function(t){var r=t.sessionId,o=t.eventType,a=t.eventTime,i=t.loggerProvider,s=t.tx;return(0,n.mG)(e,void 0,void 0,(function(){var e,t,c,u,l,f,h;return(0,n.Jh)(this,(function(p){switch(p.label){case 0:return p.trys.push([0,3,,4]),[4,s.store.get(r)];case 1:return e=p.sent(),t=e?e.eventTypes:{},c=t[o]||{},u=(0,n.pi)((0,n.pi)({},t),((f={})[o]=(0,n.pi)((0,n.pi)({},c),((h={})[a]={event_type:o},h)),f)),[4,s.store.put({sessionId:r,eventTypes:u})];case 2:return p.sent(),[2,u];case 3:return l=p.sent(),i.warn("Failed to store events for targeting ".concat(r,": ").concat(l)),[3,4];case 4:return[2,void 0]}}))}))},this.deleteOldSessionEventTypes=function(t){var r=t.currentSessionId,o=t.loggerProvider,a=t.tx;return(0,n.mG)(e,void 0,void 0,(function(){var e,t,i,s,c;return(0,n.Jh)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,6,,7]),[4,a.store.getAll()];case 1:e=n.sent(),t=0,n.label=2;case 2:return t<e.length?(i=e[t],s=Date.now()-i.sessionId,i.sessionId!==r&&s>1728e5?[4,a.store.delete(i.sessionId)]:[3,4]):[3,5];case 3:n.sent(),n.label=4;case 4:return t++,[3,2];case 5:return[3,7];case 6:return c=n.sent(),o.warn("Failed to clear old session events for targeting: ".concat(c)),[3,7];case 7:return[2]}}
1))}))},this.storeEventTypeForSession=function(t){var r=t.loggerProvider,o=t.sessionId,a=t.eventType,i=t.eventTime,s=t.apiKey;return(0,n.mG)(e,void 0,void 0,(function(){var e,t,c,u;return(0,n.Jh)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,5,,6]),[4,this.openOrCreateDB(s)];case 1:return e=n.sent(),(t=e.transaction("eventTypesForSession","readwrite"))?[4,this.updateEventListForSession({sessionId:o,tx:t,loggerProvider:r,eventType:a,eventTime:i})]:[2];case 2:return c=n.sent(),[4,this.deleteOldSessionEventTypes({currentSessionId:o,tx:t,loggerProvider:r})];case 3:return n.sent(),[4,t.done];case 4:return n.sent(),[2,c];case 5:return u=n.sent(),r.warn("Failed to store events for targeting ".concat(o,": ").concat(u)),[3,6];case 6:return[2,void 0]}}))}))}},le=function(){var e=this;this.evaluateTargeting=function(t){var r=t.apiKey,o=t.loggerProvider,a=t.event,i=t.sessionId,s=t.userProperties,c=t.deviceId,u=t.flag;return(0,n.mG)(e,void 0,void 0,(function(){var e,t,l,f;return(0,n.Jh)(this,(function(n){switch(n.label){case 0:return a&&a.time?[4,ue.storeEventTypeForSession({loggerProvider:o,apiKey:r,sessionId:i,eventType:a.event_type,eventTime:a.time})]:[3,2];case 1:return t=n.sent(),[3,3];case 2:t=void 0,n.label=3;case 3:return l=(e=t)&&new Set(Object.keys(e)),f={session_id:i,event:a,event_types:l&&Array.from(l),user:{device_id:c,user_properties:s}},[2,this.evaluationEngine.evaluate(f,[u])]}}))}))},this.evaluationEngine=new B},fe=function(){var e=new le;return{evaluateTargeting:e.evaluateTargeting.bind(e)}}().evaluateTargeting}}]);

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.