"use strict";(self.webpackChunk_flagship_io_js_sdk=self.webpackChunk_flagship_io_js_sdk||[]).push([[149],{3149:(t,e,s)=>{s.r(e),s.d(e,{ERROR_MESSAGE:()=>r,Segment:()=>i});var o=s(3641),n=s(8068);const r="data property is required";class i extends n.HitAbstract{get context(){return this._context}set context(t){this._context=t}constructor(t){super({type:"SEGMENT",userIp:t.userIp,screenResolution:t.screenResolution,locale:t.locale,sessionNumber:t.sessionNumber,visitorId:t.visitorId,anonymousId:t.anonymousId,qaMode:t.qaMode,isActionTrackingHit:t.isActionTrackingHit}),this.context=t.context}isReady(){return!((!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&!super.isReady()||!this.context)}toApiKeys(){const t=super.toApiKeys();return t[o.S_API_ITEM]=this.context,t}toObject(){return{...super.toObject(),context:this.context}}getErrorMessage(){return r}}}}]);
//# sourceMappingURL=149.6d4f95f7592f0cad8133.js.map