@glomex/integration-web-component 1.1538.2 → 1.1540.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -412,7 +412,7 @@ export declare interface ExtraContext {
412
412
  export declare function getIntegrationComponentName(tenant?: string): string;
413
413
 
414
414
  /** Returns the CSS URL for a given integration, tenant and environment. */
415
- export declare function getIntegrationCssUrl(integrationId: string, tenant?: string, env?: string): string;
415
+ export declare function getIntegrationCssUrl(integrationId: string, tenant?: string, env?: TenantEnvironment): string;
416
416
 
417
417
  /**
418
418
  * Returns the {@link SharedContext} singleton from the loaded integration.
@@ -589,6 +589,11 @@ export declare class IntegrationElement extends HTMLElement implements Integrati
589
589
  */
590
590
  userLanguage?: string;
591
591
  extraContext?: ExtraContext;
592
+ /**
593
+ * {@inheritDoc IntegrationProperties.schain}
594
+ * @attribute schain
595
+ */
596
+ schain?: string;
592
597
  /**
593
598
  * Optional callback function invoked when the integration fails to load an advertisement.
594
599
  * The callback receives an object with a `reason` property that explains why no ad was loaded.
@@ -1378,6 +1383,12 @@ export declare interface IntegrationProperties {
1378
1383
  * {@inheritDoc ExtraContext}
1379
1384
  */
1380
1385
  extraContext?: ExtraContext;
1386
+ /**
1387
+ * Supply chain (schain) information provided by the integrating party (e.g. meta-publisher).
1388
+ * Must be set as an IAB serialized string (e.g. `"1.0,1!exchange.com,123,1"`).
1389
+ * Supply chain nodes provided here are extended with the relevant downstream nodes.
1390
+ */
1391
+ schain?: string;
1381
1392
  }
1382
1393
 
1383
1394
  /**
@@ -1476,7 +1487,7 @@ export declare enum KnownMarkerName {
1476
1487
  * Loads the integration custom element by injecting the tenant-specific
1477
1488
  * script into the document. Does nothing if the element is already defined.
1478
1489
  */
1479
- export declare function loadIntegrationComponent(tenant?: string, env?: string): void;
1490
+ export declare function loadIntegrationComponent(tenant?: string, env?: TenantEnvironment): void;
1480
1491
 
1481
1492
  /**
1482
1493
  * Loads the variant CSS for the given integration ID by injecting a
@@ -1490,7 +1501,7 @@ export declare function loadIntegrationComponent(tenant?: string, env?: string):
1490
1501
  * loadIntegrationStyles('my-integration-id');
1491
1502
  * ```
1492
1503
  */
1493
- export declare function loadIntegrationStyles(integrationId: string, tenant?: string, env?: string): void;
1504
+ export declare function loadIntegrationStyles(integrationId: string, tenant?: string, env?: TenantEnvironment): void;
1494
1505
 
1495
1506
  /**
1496
1507
  * Known markers that the integration interprets.
@@ -2594,6 +2605,9 @@ export declare enum StartMethod {
2594
2605
  AUTOPLAY_NEXT = "autoplay-next"
2595
2606
  }
2596
2607
 
2608
+ /** Runtime environment for resolving tenant endpoints. */
2609
+ declare type TenantEnvironment = 'prod' | 'stage' | 'local';
2610
+
2597
2611
  /**
2598
2612
  * Represents a text track (subtitles, captions, etc.).
2599
2613
  */
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- function e(e){if("provider"in e)return e;let t=e.sources?.some(e=>e.mimetype===j.JOYN);return{id:e.id||"",provider:t?K.JOYN:K.EXTERNAL,item:e}}(T=x||(x={})).DEFAULT="turbo-integration",T.SCRIPT="turbo-script",T.IFRAME="turbo-iframe",T.FULLPAGE="turbo-fullpage",T.AMP_VIDEO_IFRAME="turbo-amp-video-iframe",T.AMP_IFRAME="turbo-amp-iframe",(N=G||(G={})).INTEGRATION="glomex-integration",N.TURBO_INTEGRATION="turbo-integration",N.EXTERNAL_MEDIA_ITEM="external-media-item",N.GLOMEX_MEDIA_ITEM="glomex-media-item",N.JOYN_MEDIA_ITEM="joyn-media-item",(_=F||(F={})).INTEGRATION_CONFIGS="application/integration-configs+json",_.INTEGRATION_CONFIGS_LEGACY="application/glomex-integration-configs+json",_.EXTERNAL_MEDIA_ITEM="application/external-media-item+json",_.EXTERNAL_MEDIA_ITEM_LEGACY="application/glomex-external-media-item+json";let t="turbo-player";(m=b||(b={})).NET_ID="netId",m.PPID="ppid",m.UTIQ_ID="utiqId",m.LIVERAMP_ID="liverampId",m.PAIR_ID="pairId",m.ATS_DIRECT="atsDirect",(A=k||(k={})).AAID="aaid",A.AFAI="afai",A.ASIA="asia",A.ASID="asid",A.TIFA="tifa",A.VAID="vaid",A.IDFA="idfa",A.IDFV="idfv",A.LGUDID="lgudid",A.MSAI="msai",A.OAID="oaid",A.PSNAI="psnai",A.RIDA="rida",A.VIDA="vida",A.WAID="waid",(p=V||(V={})).HIDDEN="hidden",p.INLINE="inline",p.DOCK="dock",p.LIGHTBOX="lightbox",p.LIGHTBOX_EXTERNAL="lightbox-external",p.FULLSCREEN="fullscreen",p.AMP_DOCK="amp-dock",(R=Y||(Y={})).READY="ready",R.INTEGRATION_ABORT="integrationabort",R.INTEGRATION_AD_AVAILABLE="integrationadavailable",R.INTEGRATION_PASSBACK="integrationpassback",R.USER_UPDATE_CONSENT="userupdateconsent",R.PLAYLIST_UPDATE="playlistupdate",R.PLAYER_SET_PRESENTATION_MODE="playersetpresentationmode",R.CONTENT_SELECT="contentselect",R.CONTENT_START="contentstart",R.CONTENT_IMPRESSION="contentimpression",R.CONTENT_BUFFERING_START="contentbufferingstart",R.CONTENT_BUFFERING_END="contentbufferingend",R.CONTENT_STOP="contentstop",R.CONTENT_SUSPEND="contentsuspend",R.CONTENT_ERROR="contenterror",R.CONTENT_MARKER_REACHED="contentmarkerreached",R.CONTENT_TIME_UPDATE="timeupdate",R.CONTENT_SEEKING="seeking",R.CONTENT_SEEKED="seeked",R.CONTENT_PLAY="play",R.CONTENT_PAUSE="pause",R.CONTENT_VOLUME_CHANGE="volumechange",R.CONTENT_RATECHANGE="ratechange",R.CONTENT_ENDED="ended",R.AD_BREAK_REQUEST="adbreakrequest",R.AD_BREAK_REQUEST_ERROR="adbreakrequesterror",R.AD_LOADED="adloaded",R.AD_IMPRESSION="adimpression",R.AD_BUFFERING_START="adbufferingstart",R.AD_BUFFERING_END="adbufferingend",R.AD_TIME_UPDATE="adtimeupdate",R.AD_VOLUME_CHANGE="advolumechange",R.AD_PAUSED="adpaused",R.AD_RESUMED="adresumed",R.AD_CLICK="adclick",R.AD_SKIPPED="adskipped",R.AD_COMPLETE="adcomplete",R.AD_ERROR="aderror",R.UI_INTERACTION="uiinteraction",(u=B||(B={})).TIME_IN_SECONDS="time",u.PERCENT="percent",u.TIME_IN_SECONDS_RECURRING="timeRecurring",(g=H||(H={})).PREROLL="preroll",g.MIDROLL="midroll",g.POSTROLL="postroll",g.FIRST_QUARTILE="contentFirstQuartile",g.MIDPOINT="contentMidpoint",g.THIRD_QUARTILE="contentThirdQuartile",g.COMPLETE="contentComplete",g.STILL_INTERESTING="stillInteresting",g.REQUEST_RECOMMENDATIONS="requestRecommendations",(O=X||(X={})).NOT_FOUND="NotFound",O.FORBIDDEN="Forbidden",O.HIDDEN="Hidden",O.NO_CONTENT="NoContent",O.GENERIC="Generic",(D=w||(w={})).NOT_FOUND="NotFound",D.NOT_AVAILABLE="NotAvailable",D.GEOBLOCKED="Geoblocked",D.YOUTH_PROTECTED="YouthProtected",D.TERMINATED="Terminated",D.EXPIRED="Expired",D.LOGIN_REQUIRED="LoginRequired",D.HIGHER_TIER_ACCOUNT_REQUIRED="HigherTierAccountRequired",D.VPN_DETECTED="VpnDetected",D.AGE_VERIFICATION_REQUIRED="AgeVerificationRequired",D.PIN_REQUIRED="PinRequired",D.INVALID_PIN="InvalidPin",D.GENERIC="Generic",(L=K||(K={})).GLOMEX="glomex",L.JOYN="joyn",L.EXTERNAL="external",(C=j||(j={})).HLS="application/vnd.apple.mpegurl",C.HLS_LEGACY="application/x-mpegURL",C.DASH="application/dash+xml",C.MP4="video/mp4",C.OGG="video/ogg",C.WEBM="video/webm",C.MP3="audio/mp3",C.AAC="audio/aac",C.WAV="audio/wav",C.OGG_AUDIO="audio/ogg",C.MPEG_AUDIO="audio/mpeg",C.DYNAMIC_CONTENT="application/x-turbo-dynamic-content",C.JOYN="application/x-joyn-source",(S=Q||(Q={})).LIVE="live",S.VOD="vod",S.INTERACTIVE="interactive",S.EMBED="embed",(P=q||(q={})).COMPILATION="compilation",P.CLIP="clip",P.INTERACTIVE="interactive",P.LIVE_ON_DEMAND="live-on-demand",P.LIVE="live",P.MOVIE="movie",P.SERIES="series",P.SPORTS_MATCH="sports-match",P.TRAILER="trailer",(M=$||($={})).ANONYMOUS="anonymous",M.REGISTERED="registered",M.PAID="paid",(y=J||(J={})).FAIRPLAY="com.apple.fps",y.WIDEVINE="com.widevine.alpha",y.PLAYREADY="com.microsoft.playready",(f=W||(W={})).PREROLL="preroll",f.MIDROLL="midroll",f.POSTROLL="postroll",f.OVERLAY="overlay",(v=z||(z={})).LINEAR="linear",v.OVERLAY="overlay",v.CUTIN="cutin",v.PAUSE="pause",(U=Z||(Z={})).PRE_CLICK="pre-click-to-play",U.CLICK="click-to-play",U.AUTOPLAY_SCROLL="autoplay-scroll",U.AUTOPLAY_SCROLL_OUT="autoplay-scroll-out",U.CLICK_NEXT="click-to-play-next",U.CLICK_REPLAY="click-to-play-replay",U.AUTOPLAY_NEXT="autoplay-next",(h=ee||(ee={})).CLEAR_PLAYLIST="clearPlaylist",h.SELECT_PLAYLIST_ITEM="selectPlaylistItem",h.ENDED="ended",h.CONTENT_ERROR="contentError",h.API_STOP="apiStop",h.LIVESTREAM_STOP="livestreamStop",h.LIVESTREAM_NOT_STARTED="livestreamNotStarted",h.PAGE_HIDE="pageHide",h.BEFORE_UNLOAD="beforeUnload";let o=["glomex","joyn"],a={glomex:{name:"glomex",domains:["player.glomex.com","player.mes.glomex.cloud","player.stage.mes.glomex.cloud"],configVersion:1,skipLegacyAuth:!1,configService:{prod:"https://config-vvs.glomex.com",stage:"https://vvs-config.stage.mes.glomex.cloud"},integrationService:{prod:"https://integration-cloudfront-eu-west-1.mes.glomex.cloud",stage:"https://integration-cloudfront-eu-west-1.stage.mes.glomex.cloud"},salesHouseService:{prod:"https://sales-house-configuration.mes.glomex.cloud/v2/config/",stage:"https://sales-house-configuration.stage.mes.glomex.cloud/v2/config/"},variantService:{prod:"https://player.glomex.com",stage:"https://player.stage.mes.glomex.cloud"},integrationLoader:{scriptBase:{prod:"https://player.glomex.com",stage:"https://player.stage.mes.glomex.cloud"},cssPath:"/variant/{id}/variant.css",componentName:"glomex-integration"}},joyn:{name:"joyn",domains:["player.joyn.de","player.stg.joyn.de","dg62ywrecl0tk.cloudfront.net","d15my2nums9uz9.cloudfront.net"],configVersion:2,skipLegacyAuth:!0,configService:{prod:"https://d15my2nums9uz9.cloudfront.net",stage:"https://dg62ywrecl0tk.cloudfront.net",local:"https://localhost:5174"},integrationService:void 0,salesHouseService:void 0,integrationLoader:{cssPath:"/config/{id}/styles.css",componentName:"turbo-integration"}}};function n(e){var t;return e&&"string"==typeof(t=e)&&o.includes(t)?a[e]:a.glomex}function i(e,t){let o=n(e);var a=o.integrationLoader.scriptBase??o.configService,i=t||"prod";if(a)return"local"===i&&a.local?a.local:"stage"===i||"local"===i?a.stage:a.prod}function r(e,t,o){let a=n(t),r=i(t,o);return`${r}${a.integrationLoader.cssPath.replace("{id}",e)}`}function E(e){return n(e).integrationLoader.componentName}function s(e,t,o){return r(e,t,o)}function d(e){return E(e)}function l(e,t){let o=E(e);if(window.customElements.get(o))return;let a=`${i(e,t)}/integration/1/integration.js`,n=document.createElement("script");n.innerText=`import('${a}');`,n.type="module",(document.head||document.body).appendChild(n)}function c(e,t,o){let a=r(e,t,o);if(document.querySelector(`link[href="${a}"]`))return;let n=document.createElement("link");n.rel="stylesheet",n.href=a,(document.head||document.body).appendChild(n)}async function I(e){let t=E(e);await customElements.whenDefined(t);let o=customElements.get(t);if(!o?.sharedContext)throw Error(`sharedContext not available on ${t} element`);return o.sharedContext}var T,N,_,m,A,p,R,u,g,O,D,L,C,S,P,M,y,f,v,U,h,x,G,F,b,k,V,Y,B,H,X,w,K,j,Q,q,$,J,W,z,Z,ee,et="turbo",eo="glomex";export{W as AdBreakName,z as AdFormat,G as ComponentName,ee as ContentStopReason,k as DeviceIdName,J as DrmSystem,t as EXTERNAL_PLAYER_NAME,Y as IntegrationEvent,H as KnownMarkerName,B as MarkerType,w as MediaItemErrorCode,K as MediaItemProvider,X as MediaProviderErrorCode,j as Mimetype,x as Origin,Q as PlaybackMode,V as PresentationMode,q as ProgramType,F as ScriptType,Z as StartMethod,b as UserIdName,$ as UserTier,d as getIntegrationComponentName,s as getIntegrationCssUrl,I as getSharedContext,l as loadIntegrationComponent,c as loadIntegrationStyles,e as normalizeMediaItem,et as INTERNAL_PREFIX,eo as PUBLIC_PREFIX};
1
+ function e(e){if("provider"in e)return e;let t=e.sources?.some(e=>e.mimetype===w.JOYN);return{id:e.id||"",provider:t?K.JOYN:K.EXTERNAL,item:e}}(T=x||(x={})).DEFAULT="turbo-integration",T.SCRIPT="turbo-script",T.IFRAME="turbo-iframe",T.FULLPAGE="turbo-fullpage",T.AMP_VIDEO_IFRAME="turbo-amp-video-iframe",T.AMP_IFRAME="turbo-amp-iframe",(p=G||(G={})).INTEGRATION="glomex-integration",p.TURBO_INTEGRATION="turbo-integration",p.EXTERNAL_MEDIA_ITEM="external-media-item",p.GLOMEX_MEDIA_ITEM="glomex-media-item",p.JOYN_MEDIA_ITEM="joyn-media-item",(N=b||(b={})).INTEGRATION_CONFIGS="application/integration-configs+json",N.INTEGRATION_CONFIGS_LEGACY="application/glomex-integration-configs+json",N.EXTERNAL_MEDIA_ITEM="application/external-media-item+json",N.EXTERNAL_MEDIA_ITEM_LEGACY="application/glomex-external-media-item+json";let t="turbo-player";(_=F||(F={})).NET_ID="netId",_.PPID="ppid",_.UTIQ_ID="utiqId",_.LIVERAMP_ID="liverampId",_.PAIR_ID="pairId",_.ATS_DIRECT="atsDirect",(m=k||(k={})).AAID="aaid",m.AFAI="afai",m.ASIA="asia",m.ASID="asid",m.TIFA="tifa",m.VAID="vaid",m.IDFA="idfa",m.IDFV="idfv",m.LGUDID="lgudid",m.MSAI="msai",m.OAID="oaid",m.PSNAI="psnai",m.RIDA="rida",m.VIDA="vida",m.WAID="waid",(A=V||(V={})).HIDDEN="hidden",A.INLINE="inline",A.DOCK="dock",A.LIGHTBOX="lightbox",A.LIGHTBOX_EXTERNAL="lightbox-external",A.FULLSCREEN="fullscreen",A.AMP_DOCK="amp-dock",(R=Y||(Y={})).READY="ready",R.INTEGRATION_ABORT="integrationabort",R.INTEGRATION_AD_AVAILABLE="integrationadavailable",R.INTEGRATION_PASSBACK="integrationpassback",R.USER_UPDATE_CONSENT="userupdateconsent",R.PLAYLIST_UPDATE="playlistupdate",R.PLAYER_SET_PRESENTATION_MODE="playersetpresentationmode",R.CONTENT_SELECT="contentselect",R.CONTENT_START="contentstart",R.CONTENT_IMPRESSION="contentimpression",R.CONTENT_BUFFERING_START="contentbufferingstart",R.CONTENT_BUFFERING_END="contentbufferingend",R.CONTENT_STOP="contentstop",R.CONTENT_SUSPEND="contentsuspend",R.CONTENT_ERROR="contenterror",R.CONTENT_MARKER_REACHED="contentmarkerreached",R.CONTENT_TIME_UPDATE="timeupdate",R.CONTENT_SEEKING="seeking",R.CONTENT_SEEKED="seeked",R.CONTENT_PLAY="play",R.CONTENT_PAUSE="pause",R.CONTENT_VOLUME_CHANGE="volumechange",R.CONTENT_RATECHANGE="ratechange",R.CONTENT_ENDED="ended",R.AD_BREAK_REQUEST="adbreakrequest",R.AD_BREAK_REQUEST_ERROR="adbreakrequesterror",R.AD_LOADED="adloaded",R.AD_IMPRESSION="adimpression",R.AD_BUFFERING_START="adbufferingstart",R.AD_BUFFERING_END="adbufferingend",R.AD_TIME_UPDATE="adtimeupdate",R.AD_VOLUME_CHANGE="advolumechange",R.AD_PAUSED="adpaused",R.AD_RESUMED="adresumed",R.AD_CLICK="adclick",R.AD_SKIPPED="adskipped",R.AD_COMPLETE="adcomplete",R.AD_ERROR="aderror",R.UI_INTERACTION="uiinteraction",(g=B||(B={})).TIME_IN_SECONDS="time",g.PERCENT="percent",g.TIME_IN_SECONDS_RECURRING="timeRecurring",(u=H||(H={})).PREROLL="preroll",u.MIDROLL="midroll",u.POSTROLL="postroll",u.FIRST_QUARTILE="contentFirstQuartile",u.MIDPOINT="contentMidpoint",u.THIRD_QUARTILE="contentThirdQuartile",u.COMPLETE="contentComplete",u.STILL_INTERESTING="stillInteresting",u.REQUEST_RECOMMENDATIONS="requestRecommendations",(O=j||(j={})).NOT_FOUND="NotFound",O.FORBIDDEN="Forbidden",O.HIDDEN="Hidden",O.NO_CONTENT="NoContent",O.GENERIC="Generic",(D=X||(X={})).NOT_FOUND="NotFound",D.NOT_AVAILABLE="NotAvailable",D.GEOBLOCKED="Geoblocked",D.YOUTH_PROTECTED="YouthProtected",D.TERMINATED="Terminated",D.EXPIRED="Expired",D.LOGIN_REQUIRED="LoginRequired",D.HIGHER_TIER_ACCOUNT_REQUIRED="HigherTierAccountRequired",D.VPN_DETECTED="VpnDetected",D.AGE_VERIFICATION_REQUIRED="AgeVerificationRequired",D.PIN_REQUIRED="PinRequired",D.INVALID_PIN="InvalidPin",D.GENERIC="Generic",(L=K||(K={})).GLOMEX="glomex",L.JOYN="joyn",L.EXTERNAL="external",(C=w||(w={})).HLS="application/vnd.apple.mpegurl",C.HLS_LEGACY="application/x-mpegURL",C.DASH="application/dash+xml",C.MP4="video/mp4",C.OGG="video/ogg",C.WEBM="video/webm",C.MP3="audio/mp3",C.AAC="audio/aac",C.WAV="audio/wav",C.OGG_AUDIO="audio/ogg",C.MPEG_AUDIO="audio/mpeg",C.DYNAMIC_CONTENT="application/x-turbo-dynamic-content",C.JOYN="application/x-joyn-source",(S=Q||(Q={})).LIVE="live",S.VOD="vod",S.INTERACTIVE="interactive",S.EMBED="embed",(P=q||(q={})).COMPILATION="compilation",P.CLIP="clip",P.INTERACTIVE="interactive",P.LIVE_ON_DEMAND="live-on-demand",P.LIVE="live",P.MOVIE="movie",P.SERIES="series",P.SPORTS_MATCH="sports-match",P.TRAILER="trailer",(y=$||($={})).ANONYMOUS="anonymous",y.REGISTERED="registered",y.PAID="paid",(M=J||(J={})).FAIRPLAY="com.apple.fps",M.WIDEVINE="com.widevine.alpha",M.PLAYREADY="com.microsoft.playready",(v=W||(W={})).PREROLL="preroll",v.MIDROLL="midroll",v.POSTROLL="postroll",v.OVERLAY="overlay",(f=z||(z={})).LINEAR="linear",f.OVERLAY="overlay",f.CUTIN="cutin",f.PAUSE="pause",(U=Z||(Z={})).PRE_CLICK="pre-click-to-play",U.CLICK="click-to-play",U.AUTOPLAY_SCROLL="autoplay-scroll",U.AUTOPLAY_SCROLL_OUT="autoplay-scroll-out",U.CLICK_NEXT="click-to-play-next",U.CLICK_REPLAY="click-to-play-replay",U.AUTOPLAY_NEXT="autoplay-next",(h=ee||(ee={})).CLEAR_PLAYLIST="clearPlaylist",h.SELECT_PLAYLIST_ITEM="selectPlaylistItem",h.ENDED="ended",h.CONTENT_ERROR="contentError",h.API_STOP="apiStop",h.LIVESTREAM_STOP="livestreamStop",h.LIVESTREAM_NOT_STARTED="livestreamNotStarted",h.PAGE_HIDE="pageHide",h.BEFORE_UNLOAD="beforeUnload";let o=["glomex","joyn"],a={glomex:{name:"glomex",domains:["player.glomex.com","player.mes.glomex.cloud","player.stage.mes.glomex.cloud"],configVersion:1,skipLegacyAuth:!1,trackingTarget:"player-feedback",configService:{prod:"https://config-vvs.glomex.com",stage:"https://vvs-config.stage.mes.glomex.cloud"},integrationService:{prod:"https://integration-cloudfront-eu-west-1.mes.glomex.cloud",stage:"https://integration-cloudfront-eu-west-1.stage.mes.glomex.cloud"},salesHouseService:{prod:"https://sales-house-configuration.mes.glomex.cloud/v2/config/",stage:"https://sales-house-configuration.stage.mes.glomex.cloud/v2/config/"},variantService:{prod:"https://player.glomex.com",stage:"https://player.stage.mes.glomex.cloud"},integrationLoader:{scriptBase:{prod:"https://player.glomex.com",stage:"https://player.stage.mes.glomex.cloud"},cssPath:"/variant/{id}/variant.css",componentName:"glomex-integration"}},joyn:{name:"joyn",domains:["player.joyn.de","player-stage.joyn.de"],configVersion:2,skipLegacyAuth:!0,configService:{prod:"https://player.joyn.de",stage:"https://player-stage.joyn.de",local:"https://localhost:5174"},integrationService:void 0,salesHouseService:void 0,telemetryService:{prod:"https://player.joyn.de/events",stage:"https://player-stage.joyn.de/events",local:"https://player-stage.joyn.de/events"},trackingTarget:"both",integrationLoader:{cssPath:"/config/{id}/styles.css",componentName:"turbo-integration"}}};function n(e){var t;return e&&"string"==typeof(t=e)&&o.includes(t)?a[e]:a.glomex}function r(e,t){let o=n(e);var a=o.integrationLoader.scriptBase??o.configService,r=t??"prod";if(a)return"local"===r&&a.local?a.local:"stage"===r||"local"===r?a.stage:a.prod}function i(e,t,o){let a=n(t),i=r(t,o);return`${i}${a.integrationLoader.cssPath.replace("{id}",e)}`}function s(e){return n(e).integrationLoader.componentName}function E(e,t,o){return i(e,t,o)}function l(e){return s(e)}function d(e,t){let o=s(e);if(window.customElements.get(o))return;let a=`${r(e,t)}/integration/1/integration.js`,n=document.createElement("script");n.innerText=`import('${a}');`,n.type="module",(document.head||document.body).appendChild(n)}function c(e,t,o){let a=i(e,t,o);if(document.querySelector(`link[href="${a}"]`))return;let n=document.createElement("link");n.rel="stylesheet",n.href=a,(document.head||document.body).appendChild(n)}async function I(e){let t=s(e);await customElements.whenDefined(t);let o=customElements.get(t);if(!o?.sharedContext)throw Error(`sharedContext not available on ${t} element`);return o.sharedContext}var T,p,N,_,m,A,R,g,u,O,D,L,C,S,P,y,M,v,f,U,h,x,G,b,F,k,V,Y,B,H,j,X,K,w,Q,q,$,J,W,z,Z,ee,et="turbo",eo="glomex";export{W as AdBreakName,z as AdFormat,G as ComponentName,ee as ContentStopReason,k as DeviceIdName,J as DrmSystem,t as EXTERNAL_PLAYER_NAME,Y as IntegrationEvent,H as KnownMarkerName,B as MarkerType,X as MediaItemErrorCode,K as MediaItemProvider,j as MediaProviderErrorCode,w as Mimetype,x as Origin,Q as PlaybackMode,V as PresentationMode,q as ProgramType,b as ScriptType,Z as StartMethod,F as UserIdName,$ as UserTier,l as getIntegrationComponentName,E as getIntegrationCssUrl,I as getSharedContext,d as loadIntegrationComponent,c as loadIntegrationStyles,e as normalizeMediaItem,et as INTERNAL_PREFIX,eo as PUBLIC_PREFIX};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glomex/integration-web-component",
3
- "version": "1.1538.2",
3
+ "version": "1.1540.0",
4
4
  "description": "Web component and types to integrate the glomex player",
5
5
  "documentation": "https://docs.glomex.com",
6
6
  "homepage": "https://glomex.com",
@@ -32,8 +32,8 @@
32
32
  },
33
33
  "devDependencies": {
34
34
  "@biomejs/biome": "catalog:",
35
- "@glomex/integration": "1.1538.2",
36
- "@glomex/turbo-shared-types": "1.1536.0",
35
+ "@glomex/integration": "1.1540.0",
36
+ "@glomex/turbo-shared-types": "1.1540.0",
37
37
  "@microsoft/api-extractor": "catalog:",
38
38
  "@rslib/core": "catalog:",
39
39
  "npm-run-all": "catalog:",
@@ -43,5 +43,5 @@
43
43
  "access": "public"
44
44
  },
45
45
  "license": "MIT",
46
- "gitHead": "7f5ae3225c5962d44b78d95f41dddea91e544dd8"
46
+ "gitHead": "6c532d89b9726b888a89ae459133480db582e13d"
47
47
  }