PageSourceSearch

https://www.fresha.com/assets/b2b-mktg/_next/static/chunks/1991-7fb4f26f6f21dd76.js

js fresha.com collected 2026-09-24 08:45:41 UTC 20,866 bytes, 2 lines download raw bytes

1try{!function(){var t="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="2bbd1a7e-806c-4a56-8bc5-fec3c3ef40d0",t._sentryDebugIdIdentifier="sentry-dbid-2bbd1a7e-806c-4a56-8bc5-fec3c3ef40d0")}()}catch(t){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1991],{91991:(t,e,r)=>{let n;r.d(e,{cn:()=>L});var o=function(t,e){return(o=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},i=function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function s(t,e,r,n){return new(r||(r=Promise))(function(o,i){function s(t){try{c(n.next(t))}catch(t){i(t)}}function a(t){try{c(n.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):((e=t.value)instanceof r?e:new r(function(t){t(e)})).then(s,a)}c((n=n.apply(t,e||[])).next())})}function a(t,e){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(c){var u=[a,c];if(r)throw TypeError("Generator is already executing.");for(;s&&(s=0,u[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&u[0]?n.return:u[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,u[1])).done)return o;switch(n=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,n=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=e.call(t,i)}catch(t){u=[6,t],n=0}
1finally{r=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}"function"==typeof SuppressedError&&SuppressedError;var c={exports:{}};function u(){}u.prototype={on:function(t,e,r){var n=this.e||(this.e={});return(n[t]||(n[t]=[])).push({fn:e,ctx:r}),this},once:function(t,e,r){var n=this;function o(){n.off(t,o),e.apply(r,arguments)}return o._=e,this.on(t,o,r)},emit:function(t){for(var e=[].slice.call(arguments,1),r=((this.e||(this.e={}))[t]||[]).slice(),n=0,o=r.length;n<o;n++)r[n].fn.apply(r[n].ctx,e);return this},off:function(t,e){var r=this.e||(this.e={}),n=r[t],o=[];if(n&&e)for(var i=0,s=n.length;i<s;i++)n[i].fn!==e&&n[i].fn._!==e&&o.push(n[i]);return o.length?r[t]=o:delete r[t],this}},c.exports=u;var l=c.exports.TinyEmitter=u,h=function(t){return null!=t[1]},p=function(t){var e=t.properties,r=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)0>e.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}(t,["properties"]),n=function(t){return Object.entries(t).sort(function(t,e){var r=t[0],n=e[0];return r.localeCompare(n,void 0)})};return JSON.stringify([n(r),n(void 0===e?{}:e)])},d=function(t){return s(void 0,void 0,void 0,function(){var e;return a(this,function(r){var n;switch(r.label){case 0:e=p(t),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,(n=e,s(void 0,void 0,void 0,function(){var t,e,r,o;return a(this,function(i){switch(i.label){case 0:if(t="u">typeof globalThis&&(null==(r=globalThis.crypto)?void 0:r.subtle)?null==(o=globalThis.crypto)?void 0:o.subtle:void 0,"u"<typeof TextEncoder||!(null==t?void 0:t.digest)||"u"<typeof Uint8Array)throw Error("Hashing function not available");return e=(new TextEncoder).encode(n),[4,t.digest("SHA-256",e)];case 1:return[2,Array.from(new Uint8Array(i.sent())).map(function(t){return t.toString(16).padStart(2,"0")}).join("")]}})}))];case 2:return[2,r.sent()];case 3:return r.sent(),[2,e];case 4:return[2]}})})},f=function(t){var e,r=t.clientKey,n=t.appName,o=t.connectionId,i=t.customHeaders,s=t.headerName,a=t.etag,c=t.isPost,u=((e={accept:"application/json"})[(void 0===s?"authorization":s).toLocaleLowerCase()]=r,e["unleash-sdk"]="unleash-client-js:3.7.6",e["unleash-appname"]=n,e);return c&&(u["content-type"]="application/json"),a&&(u["if-none-match"]=a),Object.entries(i||{}).filter(h).forEach(function(t){var e=t[0],r=t[1];return u[e.toLocaleLowerCase()]=r}),u["unleash-connection-id"]=o,u},v=function(){},m=function(){function t(t){var e=t.onError,r=t.onSent,n=t.appName,o=t.metricsInterval,i=t.disableMetrics,s=t.url,a=t.clientKey,c=t.fetch,u=t.headerName,l=t.customHeaders,h=t.metricsIntervalInitial,p=t.connectionId;this.onError=e,this.onSent=r||v,this.disabled=void 0!==i&&i,this.metricsInterval=1e3*o,this.metricsIntervalInitial=1e3*h,this.appName=n,this.url=s instanceof URL?s:new URL(s),this.clientKey=a,this.bucket=this.createEmptyBucket(),this.fetch=c,this.headerName=u,this.customHeaders=void 0===l?{}:l,this.connectionId=p}return t.prototype.start=function(){var t=this;if(this.disabled)return!1;"number"==typeof this.metricsInterval&&this.metricsInterval>0&&(this.metricsIntervalInitial>0?setTimeout(function(){t.startTimer(),t.sendMetrics()},this.metricsIntervalInitial):this.startTimer())},t.prototype.stop=function(){this.timer&&(clearInterval(this.timer),delete this.timer)},t.prototype.createEmptyBucket=function(){return{start:new Date,stop:null,toggles:{}}},t.prototype.getHeaders=function(){return f({clientKey:this.clientKey,appName:this.appName,connectionId:this.connectionId,customHeaders:this.customHeaders,headerName:this.headerName,isPost:!0})},t.prototype.sendMetrics=function(){return s(this,void 0,void 0,function(){var t,e,r;return a(this,function(n){switch(n.label){case 0:if(t="".concat(this.url,"/client/metrics"),e=this.getPayload(),this.bucketIsEmpty(e))return[2];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.fetch(t,{cache:"no-cache",method:"POST",headers:this.getHeaders(),body:JSON.stringify(e)})];case 2:return n.sent(),this.onSent(e),[3,4];case 3:return console.error("Unleash: unable to send feature metrics",r=n.sent()),this.onError(r),[3,4];case 4:return[2]}})})},t.prototype.count=function(t,e){return!(this.disabled||!this.bucket)&&(this.assertBucket(t),this.bucket.toggles[t][e?"yes":"no"]++,!0)},t.prototype.countVariant=function(t,e){return!(this.disabled||!this.bucket)&&(this.assertBucket(t),this.bucket.toggles[t].variants[e]?this.bucket.toggles[t].variants[e]+=1:this.bucket.toggles[t].variants[e]=1,!0)},t.prototype.assertBucket=function(t){if(this.disabled||!this.bucket)return!1;this.bucket.toggles[t]||(this.bucket.toggles[t]={yes:0,no:0,variants:{}})},t.prototype.startTimer=function(){var t=this;this.timer=setInterval(function(){t.sendMetrics()},this.metricsInterval)},t.prototype.bucketIsEmpty=function(t){return 0===Object.keys(t.bucket.toggles).length},t.prototype.getPayload=function(){var t=i(i({},this.bucket),{stop:new Date});return this.bucket=this.createEmptyBucket(),{bucket:t,appName:this.appName,instanceId:"browser"}},t}(),g=function(){function t(){this.store=new Map}return t.prototype.save=function(t,e){return s(this,void 0,void 0,function(){return a(this,function(r){return this.store.set(t,e),[2]})})},t.prototype.get=function(t){return s(this,void 0,void 0,function(){return a(this,function(e){return[2,this.store.get(t)]})})},t}(),y=function(){function t(t){void 0===t&&(t="unleash:repository"),this.prefix=t}return t.prototype.save=function(t,e){return s(this,void 0,void 0,function(){var r,n;return a(this,function(o){r=JSON.stringify(e),n="".concat(this.prefix,":").concat(t);try{window.localStorage.setItem(n,r)}catch(t){console.error(t)}return[2]})})},t.prototype.get=function(t){try{var e="".concat(this.prefix,":").concat(t),r=window.localStorage.getItem(e);return r?JSON.parse(r):void 0}catch(t){console.error(t)}},t}();let b=new Uint8Array(16),x=[];for(let t=0;t<256;++t)x.push((t+256).toString(16).slice(1));var w={randomUUID:"u">typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},T=function(){function t(){}return t.prototype.generateEventId=function(){var t;if(w.randomUUID&&!t)return w.randomUUID();let e=(t=t||{}).random||(t.rng||function(){if(!n&&!(n="u">typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(b)})();return e[6]=15&e[6]|64,e[8]=63&e[8]|128,function(t,e=0){return x[t[e+0]]+x[t[e+1]]+x[t[e+2]]+x[t[e+3]]+"-"+x[t[e+4]]+x[t[e+5]]+"-"+x[t[e+6]]+x[t[e+7]]+"-"+x[t[e+8]]+x[t[e+9]]+"-"+x[t[e+10]]+x[t[e+11]]+x[t[e+12]]+x[t[e+13]]+x[t[e+14]]+x[t[e+15]]}(e)},t.prototype.createImpressionEvent=function(t,e,r,n,o,s){var a=this.createBaseEvent(t,e,r,n,o);return s?i(i({},a),{variant:s}):a},t.prototype.createBaseEvent=function(t,e,r,n,o){return{eventType:n,eventId:this.generateEventId(),context:t,enabled:e,featureName:r,impressionData:o}},t}(),I=["userId","sessionId","remoteAddress","currentTime"],S=function(t){return I.includes(t)},E="error",k="ready",O="impression",N={name:"disabled",enabled:!1,feature_enabled:!1},R="repo",U="repoLastUpdateTimestamp",C=function(){try{if("u">typeof window&&"fetch"in window)return fetch.bind(window);if("fetch"in globalThis)return fetch.bind(globalThis)}catch(t){console.error('Unleash failed to resolve "fetch"',t)}},L=function(t){function e(e){var r=e.storageProvider,n=e.url,o=e.clientKey,s=e.disableRefresh,a=e.refreshInterval,c=e.metricsInterval,u=e.metricsIntervalInitial,l=e.disableMetrics,h=e.appName,p=e.environment,d=e.context,f
1=e.fetch,v=void 0===f?C():f,b=e.createAbortController,x=void 0===b?function(){try{if("u">typeof window&&"AbortController"in window)return function(){return new window.AbortController};if("fetch"in globalThis)return function(){return new globalThis.AbortController}}catch(t){console.error('Unleash failed to resolve "AbortController" factory',t)}}():b,w=e.bootstrap,I=e.bootstrapOverride,S=e.headerName,k=void 0===S?"Authorization":S,O=e.customHeaders,N=void 0===O?{}:O,R=e.impressionDataAll,U=e.usePOSTrequests,L=e.experimental,D=t.call(this)||this;if(D.toggles=[],D.etag="",D.readyEventEmitted=!1,D.fetchedFromServer=!1,D.usePOSTrequests=!1,D.started=!1,!n)throw Error("url is required");if(!o)throw Error("clientKey is required");if(!h)throw Error("appName is required.");return D.eventsHandler=new T,D.impressionDataAll=void 0!==R&&R,D.toggles=w&&w.length>0?w:[],D.url=n instanceof URL?n:new URL(n),D.clientKey=o,D.headerName=k,D.customHeaders=N,D.storage=r||("u">typeof window?new y:new g),D.refreshInterval=void 0!==s&&s?0:1e3*(void 0===a?30:a),D.context=i({appName:h,environment:void 0===p?"default":p},d),D.usePOSTrequests=void 0!==U&&U,D.sdkState="initializing",D.experimental=i({},L),(null==L?void 0:L.togglesStorageTTL)&&(null==L?void 0:L.togglesStorageTTL)>0&&(D.experimental.togglesStorageTTL=1e3*L.togglesStorageTTL),D.lastRefreshTimestamp=0,D.ready=new Promise(function(t){D.init().then(t).catch(function(e){console.error(e),D.sdkState="error",D.emit(E,e),D.lastError=e,t()})}),v||console.error('Unleash: You must either provide your own "fetch" implementation or run in an environment where "fetch" is available.'),x||console.error('Unleash: You must either provide your own "AbortController" implementation or run in an environment where "AbortController" is available.'),D.fetch=v,D.createAbortController=x,D.bootstrap=w&&w.length>0?w:void 0,D.bootstrapOverride=void 0===I||I,D.connectionId="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}),D.metrics=new m({onError:D.emit.bind(D,E),onSent:D.emit.bind(D,"sent"),appName:h,metricsInterval:void 0===c?30:c,disableMetrics:void 0!==l&&l,url:D.url,clientKey:o,fetch:v,headerName:k,customHeaders:N,metricsIntervalInitial:void 0===u?2:u,connectionId:D.connectionId}),D}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}(e,t),e.prototype.getAllToggles=function(){return function(t,e,r){if(r||2==arguments.length)for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}([],this.toggles,!0)},e.prototype.isEnabled=function(t){var e,r=this.toggles.find(function(e){return e.name===t}),n=!!r&&r.enabled;if(this.metrics.count(t,n),(null==r?void 0:r.impressionData)||this.impressionDataAll){var o=this.eventsHandler.createImpressionEvent(this.context,n,t,"isEnabled",null!=(e=null==r?void 0:r.impressionData)?e:void 0);this.emit(O,o)}return n},e.prototype.getVariant=function(t){var e,r=this.toggles.find(function(e){return e.name===t}),n=(null==r?void 0:r.enabled)||!1,o=r?r.variant:N;if(o.name&&this.metrics.countVariant(t,o.name),this.metrics.count(t,n),(null==r?void 0:r.impressionData)||this.impressionDataAll){var s=this.eventsHandler.createImpressionEvent(this.context,n,t,"getVariant",null!=(e=null==r?void 0:r.impressionData)?e:void 0,o.name);this.emit(O,s)}return i(i({},o),{feature_enabled:n})},e.prototype.updateToggles=function(){return s(this,void 0,void 0,function(){var t=this;return a(this,function(e){switch(e.label){case 0:return this.timerRef||this.fetchedFromServer?[4,this.fetchToggles()]:[3,2];case 1:return e.sent(),[3,4];case 2:return this.started?[4,new Promise(function(e){var r=function(){t.fetchToggles().then(function(){t.off(k,r),e()})};t.once(k,r)})]:[3,4];case 3:e.sent(),e.label=4;case 4:return[2]}})})},e.prototype.updateContext=function(t){return s(this,void 0,void 0,function(){var e;return a(this,function(r){switch(r.label){case 0:return(t.appName||t.environment)&&console.warn("appName and environment are static. They can't be updated with updateContext."),e={environment:this.context.environment,appName:this.context.appName,sessionId:this.context.sessionId},this.context=i(i({},e),t),[4,this.updateToggles()];case 1:return r.sent(),[2]}})})},e.prototype.getContext=function(){return i({},this.context)},e.prototype.setContextField=function(t,e){var r,n;if(S(t))this.context=i(i({},this.context),((r={})[t]=e,r));else{var o=i(i({},this.context.properties),((n={}
1)[t]=e,n));this.context=i(i({},this.context),{properties:o})}this.updateToggles()},e.prototype.removeContextField=function(t){var e;S(t)?this.context=i(i({},this.context),((e={})[t]=void 0,e)):"object"==typeof this.context.properties&&delete this.context.properties[t],this.updateToggles()},e.prototype.setReady=function(){this.readyEventEmitted=!0,this.emit(k)},e.prototype.init=function(){return s(this,void 0,void 0,function(){var t,e,r;return a(this,function(n){switch(n.label){case 0:return[4,this.resolveSessionId()];case 1:return t=n.sent(),this.context=i({sessionId:t},this.context),[4,this.storage.get(R)];case 2:return e=n.sent()||[],r=this,[4,this.getLastRefreshTimestamp()];case 3:return r.lastRefreshTimestamp=n.sent(),this.bootstrap&&(this.bootstrapOverride||0===e.length)?[4,this.storage.save(R,this.bootstrap)]:[3,6];case 4:return n.sent(),this.toggles=this.bootstrap,this.sdkState="healthy",[4,this.storeLastRefreshTimestamp()];case 5:return n.sent(),this.setReady(),[3,7];case 6:this.toggles=e,n.label=7;case 7:return this.sdkState="healthy",this.emit("initialized"),[2]}})})},e.prototype.start=function(){return s(this,void 0,void 0,function(){var t,e=this;return a(this,function(r){switch(r.label){case 0:return this.started=!0,this.timerRef?(console.error("Unleash SDK has already started, if you want to restart the SDK you should call client.stop() before starting again."),[2]):[4,this.ready];case 1:return r.sent(),this.metrics.start(),t=this.refreshInterval,[4,this.initialFetchToggles()];case 2:return r.sent(),t>0&&(this.timerRef=setInterval(function(){return e.fetchToggles()},t)),[2]}})})},e.prototype.stop=function(){this.timerRef&&(clearInterval(this.timerRef),this.timerRef=void 0),this.metrics.stop()},e.prototype.isReady=function(){return this.readyEventEmitted},e.prototype.getError=function(){return"error"===this.sdkState?this.lastError:void 0},e.prototype.sendMetrics=function(){return this.metrics.sendMetrics()},e.prototype.resolveSessionId=function(){return s(this,void 0,void 0,function(){var t;return a(this,function(e){switch(e.label){case 0:return this.context.sessionId?[2,this.context.sessionId]:[4,this.storage.get("sessionId")];case 1:return(t=e.sent())?[3,3]:(t=Math.floor(1e9*Math.random()),[4,this.storage.save("sessionId",t.toString(10))]);case 2:e.sent(),e.label=3;case 3:return[2,t.toString(10)]}})})},e.prototype.getHeaders=function(){return f({clientKey:this.clientKey,connectionId:this.connectionId,appName:this.context.appName,customHeaders:this.customHeaders,headerName:this.headerName,etag:this.etag,isPost:this.usePOSTrequests})},e.prototype.storeToggles=function(t){return s(this,void 0,void 0,function(){return a(this,function(e){switch(e.label){case 0:return this.toggles=t,this.emit("update"),[4,this.storage.save(R,t)];case 1:return e.sent(),[2]}})})},e.prototype.isTogglesStorageTTLEnabled=function(){var t;return!!((null==(t=this.experimental)?void 0:t.togglesStorageTTL)&&this.experimental.togglesStorageTTL>0)},e.prototype.isUpToDate=function(){if(!this.isTogglesStorageTTLEnabled())return!1;var t,e=Date.now(),r=(null==(t=this.experimental)?void 0:t.togglesStorageTTL)||0;return this.lastRefreshTimestamp>0&&this.lastRefreshTimestamp<=e&&e-this.lastRefreshTimestamp<=r},e.prototype.getLastRefreshTimestamp=function(){return s(this,void 0,void 0,function(){var t,e;return a(this,function(r){switch(r.label){case 0:return this.isTogglesStorageTTLEnabled()?[4,this.storage.get(U)]:[3,3];case 1:return t=r.sent(),[4,d(this.context)];case 2:return e=r.sent(),[2,(null==t?void 0:t.key)===e?t.timestamp:0];case 3:return[2,0]}})})},e.prototype.storeLastRefreshTimestamp=function(){return s(this,void 0,void 0,function(){var t,e;return a(this,function(r){switch(r.label){case 0:return this.isTogglesStorageTTLEnabled()?(this.lastRefreshTimestamp=Date.now(),e={},[4,d(this.context)]):[3,3];case 1:return e.key=r.sent(),e.timestamp=this.lastRefreshTimestamp,t=e,[4,this.storage.save(U,t)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},e.prototype.initialFetchToggles=function(){if(!this.isUpToDate())return this.fetchToggles();this.fetchedFromServer||(this.fetchedFromServer=!0,this.setReady())},e.prototype.fetchToggles=function(){return s(this,void 0,void 0,function(){var t,e,r,n,o,i,s,c,u;return a(this,function(a){switch(a.label){case 0:if(!this.fetch)return[3,9];this.abortController&&!this.abortController.signal.aborted&&this.abortController.abort(),this.abortController=null==(u=this.createAbortController)?void 0:u.call(this),t=this.abortController?this.abortController.signal:void 0,a.label=1;case 1:var l,p,d;return a.trys.push([1,7,8,9]),r=(e=this.usePOSTrequests)?this.url:(l=this.url,p=this.context,d=new URL(l.toString()),Object.entries(p).filter(h).forEac
1h(function(t){var e=t[0],r=t[1];"properties"===e&&r?Object.entries(r).filter(h).forEach(function(t){var e=t[0],r=t[1];return d.searchParams.append("properties[".concat(e,"]"),r)}):d.searchParams.append(e,r)}),d),n=e?"POST":"GET",o=e?JSON.stringify({context:this.context}):void 0,[4,this.fetch(r.toString(),{method:n,cache:"no-cache",headers:this.getHeaders(),body:o,signal:t})];case 2:return i=a.sent(),"error"===this.sdkState&&i.status<400&&(this.sdkState="healthy",this.emit("recovered")),i.ok?(this.etag=i.headers.get("ETag")||"",[4,i.json()]):[3,5];case 3:return s=a.sent(),[4,this.storeToggles(s.toggles)];case 4:return a.sent(),"healthy"!==this.sdkState&&(this.sdkState="healthy"),this.fetchedFromServer||(this.fetchedFromServer=!0,this.setReady()),this.storeLastRefreshTimestamp(),[3,6];case 5:304===i.status?this.storeLastRefreshTimestamp():(console.error("Unleash: Fetching feature toggles did not have an ok response"),this.sdkState="error",this.emit(E,{type:"HttpError",code:i.status}),this.lastError={type:"HttpError",code:i.status}),a.label=6;case 6:return[3,9];case 7:return"object"==typeof(c=a.sent())&&null!==c&&"name"in c&&"AbortError"===c.name||(console.error("Unleash: unable to fetch feature toggles",c),this.sdkState="error",this.emit(E,c),this.lastError=c),[3,9];case 8:return this.abortController=null,[7];case 9:return[2]}})})},e}(l)}}]);
2//# sourceMappingURL=1991-7fb4f26f6f21dd76.js.map

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.