@car-cutter/react-webplayer 3.1.0 → 3.1.2

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.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./shared-Dj9ilM-O.cjs");require("react/jsx-runtime");const S=require("react"),V=require("react-dom/client");var R=Object.defineProperty,D=(e,t,r)=>t in e?R(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,y=(e,t,r)=>D(e,typeof t!="symbol"?t+"":t,r);const v={stringify:e=>e?"true":"false",parse:e=>/^[ty1-9]/i.test(e)},w={stringify:e=>e.name,parse:(e,t,r)=>{const s=(()=>{if(typeof window<"u"&&e in window)return window[e];if(typeof global<"u"&&e in global)return global[e]})();return typeof s=="function"?s.bind(r):void 0}},M={stringify:e=>JSON.stringify(e),parse:e=>JSON.parse(e)};function Y(e){return e.replace(/([a-z0-9])([A-Z])/g,(t,r,s)=>`${r}-${s.toLowerCase()}`)}function L(e){return e.replace(/[-:]([a-z])/g,(t,r)=>`${r.toUpperCase()}`)}const G={stringify:e=>e.name,parse:(e,t,r)=>{const s=(()=>{const _=L(t);if(typeof r<"u"&&_ in r.container)return r.container[_]})();return typeof s=="function"?s.bind(r):void 0}},F={stringify:e=>`${e}`,parse:e=>parseFloat(e)},j={stringify:e=>e,parse:e=>e},N={string:j,number:F,boolean:v,function:w,method:G,json:M},f=Symbol.for("r2wc.render"),O=Symbol.for("r2wc.connected"),T=Symbol.for("r2wc.context"),a=Symbol.for("r2wc.props");function k(e,t,r){var s,_,C;t.props||(t.props=e.propTypes?Object.keys(e.propTypes):[]),t.events||(t.events=[]);const h=Array.isArray(t.props)?t.props.slice():Object.keys(t.props),g=Array.isArray(t.events)?t.events.slice():Object.keys(t.events),b={},P={},m={},d={};for(const i of h){b[i]=Array.isArray(t.props)?"string":t.props[i];const o=Y(i);m[i]=o,d[o]=i}for(const i of g)P[i]=Array.isArray(t.events)?{}:t.events[i];class I extends HTMLElement{constructor(){super(),y(this,C,!0),y(this,_),y(this,s,{}),y(this,"container"),t.shadow?this.container=this.attachShadow({mode:t.shadow}):this.container=this,this[a].container=this.container;for(const o of h){const l=m[o],E=this.getAttribute(l),c=b[o],u=c?N[c]:null;if(c==="method"){const p=L(l);Object.defineProperty(this[a].container,p,{enumerable:!0,configurable:!0,get(){return this[a][p]},set(W){this[a][p]=W,this[f]()}}),this[a][o]=u.parse(E,l,this)}u!=null&&u.parse&&E&&(this[a][o]=u.parse(E,l,this))}for(const o of g)this[a][o]=l=>{const E=o.replace(/^on/,"").toLowerCase();this.dispatchEvent(new CustomEvent(E,{detail:l,...P[o]}))}}static get observedAttributes(){return Object.keys(d)}connectedCallback(){this[O]=!0,this[f]()}disconnectedCallback(){this[O]=!1,this[T]&&r.unmount(this[T]),delete this[T]}attributeChangedCallback(o,l,E){const c=d[o],u=b[c],p=u?N[u]:null;c in b&&p!=null&&p.parse&&E&&(this[a][c]=p.parse(E,o,this),this[f]())}[(C=O,_=T,s=a,f)](){this[O]&&(this[T]?r.update(this[T],this[a]):this[T]=r.mount(this.container,e,this[a]))}}for(const i of h){const o=m[i],l=b[i];Object.defineProperty(I.prototype,i,{enumerable:!0,configurable:!0,get(){return this[a][i]},set(E){this[a][i]=E;const c=l?N[l]:null;if(c!=null&&c.stringify){const u=c.stringify(E,o,this);this.getAttribute(o)!==u&&this.setAttribute(o,u)}else this[f]()}})}return I}function x(e,t,r){const s=V.createRoot(e),_=S.createElement(t,r);return s.render(_),{root:s,ReactComponent:t}}function B({root:e,ReactComponent:t},r){const s=S.createElement(t,r);e.render(s)}function U({root:e}){setTimeout(()=>{e.unmount()},0)}function A(e,t={}){return k(e,t,{mount:x,update:B,unmount:U})}const $=A(n.WebPlayerWithInjectedStyles,{shadow:"closed",props:{compositionUrl:"string",hideCategoriesNav:"boolean",infiniteCarrousel:"boolean",permanentGallery:"boolean",integration:"boolean",maxItemsShown:"number",minMediaWidth:"number",maxMediaWidth:"number",mediaLoadStrategy:"string",preloadRange:"number",autoLoad360:"boolean",autoLoadInterior360:"boolean",categoriesFilter:"string",extendBehavior:"string",eventPrefix:"string",demoSpin:"boolean",reverse360:"boolean",analyticsEventPrefix:"string",analyticsUrl:"string",analyticsBearer:"string",analyticsSimpleRequestsOnly:"boolean",analyticsDryRun:"boolean",analyticsDebug:"boolean"}}),H=A(n.WebPlayerCustomMedia,{shadow:"closed",props:{index:"number",thumbnailSrc:"string"}}),X=A(n.WebPlayerIcon,{shadow:"closed",props:{name:"string"}});function q(){customElements.define(n.WEB_PLAYER_WC_TAG,$),customElements.define(n.WEB_PLAYER_CUSTOM_MEDIA_WC_TAG,H),customElements.define(n.WEB_PLAYER_ICON_WC_TAG,X)}function z(){n.checkCustomElementsDefinition()||q()}z();exports.ANALYTICS_EVENT_IDENTIFY=n.ANALYTICS_EVENT_IDENTIFY;exports.ANALYTICS_EVENT_PAGE=n.ANALYTICS_EVENT_PAGE;exports.ANALYTICS_EVENT_TRACK=n.ANALYTICS_EVENT_TRACK;exports.DEFAULT_EVENT_PREFIX=n.DEFAULT_EVENT_PREFIX;exports.EVENT_COMPOSITION_LOADED=n.EVENT_COMPOSITION_LOADED;exports.EVENT_COMPOSITION_LOADING=n.EVENT_COMPOSITION_LOADING;exports.EVENT_COMPOSITION_LOAD_ERROR=n.EVENT_COMPOSITION_LOAD_ERROR;exports.EVENT_EXTEND_MODE_OFF=n.EVENT_EXTEND_MODE_OFF;exports.EVENT_EXTEND_MODE_ON=n.EVENT_EXTEND_MODE_ON;exports.EVENT_GALLERY_CLOSE=n.EVENT_GALLERY_CLOSE;exports.EVENT_GALLERY_OPEN=n.EVENT_GALLERY_OPEN;exports.EVENT_HOTSPOTS_OFF=n.EVENT_HOTSPOTS_OFF;exports.EVENT_HOTSPOTS_ON=n.EVENT_HOTSPOTS_ON;exports.EVENT_ITEM_CHANGE=n.EVENT_ITEM_CHANGE;exports.WEB_PLAYER_ICON_WC_TAG=n.WEB_PLAYER_ICON_WC_TAG;exports.WEB_PLAYER_WC_TAG=n.WEB_PLAYER_WC_TAG;exports.WebPlayer=n.WebPlayer;exports.WebPlayerCustomMedia=n.WebPlayerCustomMedia$1;exports.WebPlayerIcon=n.WebPlayerIcon$1;exports.generateCompositionUrl=n.generateCompositionUrl;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./shared-B2uKgIRn.cjs");require("react/jsx-runtime");const S=require("react"),W=require("react-dom/client");var V=Object.defineProperty,D=(e,t,r)=>t in e?V(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,f=(e,t,r)=>D(e,typeof t!="symbol"?t+"":t,r);const v={stringify:e=>e?"true":"false",parse:e=>/^[ty1-9]/i.test(e)},w={stringify:e=>e.name,parse:(e,t,r)=>{const s=(()=>{if(typeof window<"u"&&e in window)return window[e];if(typeof global<"u"&&e in global)return global[e]})();return typeof s=="function"?s.bind(r):void 0}},M={stringify:e=>JSON.stringify(e),parse:e=>JSON.parse(e)};function Y(e){return e.replace(/([a-z0-9])([A-Z])/g,(t,r,s)=>`${r}-${s.toLowerCase()}`)}function P(e){return e.replace(/[-:]([a-z])/g,(t,r)=>`${r.toUpperCase()}`)}const G={stringify:e=>e.name,parse:(e,t,r)=>{const s=(()=>{const _=P(t);if(typeof r<"u"&&_ in r.container)return r.container[_]})();return typeof s=="function"?s.bind(r):void 0}},F={stringify:e=>`${e}`,parse:e=>parseFloat(e)},j={stringify:e=>e,parse:e=>e},A={string:j,number:F,boolean:v,function:w,method:G,json:M},O=Symbol.for("r2wc.render"),N=Symbol.for("r2wc.connected"),p=Symbol.for("r2wc.context"),a=Symbol.for("r2wc.props");function k(e,t,r){var s,_,C;t.props||(t.props=e.propTypes?Object.keys(e.propTypes):[]),t.events||(t.events=[]);const m=Array.isArray(t.props)?t.props.slice():Object.keys(t.props),g=Array.isArray(t.events)?t.events.slice():Object.keys(t.events),b={},L={},y={},h={};for(const i of m){b[i]=Array.isArray(t.props)?"string":t.props[i];const o=Y(i);y[i]=o,h[o]=i}for(const i of g)L[i]=Array.isArray(t.events)?{}:t.events[i];class I extends HTMLElement{constructor(){super(),f(this,C,!0),f(this,_),f(this,s,{}),f(this,"container"),t.shadow?this.container=this.attachShadow({mode:t.shadow}):this.container=this,this[a].container=this.container;for(const o of m){const l=y[o],E=this.getAttribute(l),c=b[o],u=c?A[c]:null;if(c==="method"){const T=P(l);Object.defineProperty(this[a].container,T,{enumerable:!0,configurable:!0,get(){return this[a][T]},set(R){this[a][T]=R,this[O]()}}),this[a][o]=u.parse(E,l,this)}u!=null&&u.parse&&E&&(this[a][o]=u.parse(E,l,this))}for(const o of g)this[a][o]=l=>{const E=o.replace(/^on/,"").toLowerCase();this.dispatchEvent(new CustomEvent(E,{detail:l,...L[o]}))}}static get observedAttributes(){return Object.keys(h)}connectedCallback(){this[N]=!0,this[O]()}disconnectedCallback(){this[N]=!1,this[p]&&r.unmount(this[p]),delete this[p]}attributeChangedCallback(o,l,E){const c=h[o],u=b[c],T=u?A[u]:null;c in b&&T!=null&&T.parse&&E&&(this[a][c]=T.parse(E,o,this),this[O]())}[(C=N,_=p,s=a,O)](){this[N]&&(this[p]?r.update(this[p],this[a]):this[p]=r.mount(this.container,e,this[a]))}}for(const i of m){const o=y[i],l=b[i];Object.defineProperty(I.prototype,i,{enumerable:!0,configurable:!0,get(){return this[a][i]},set(E){this[a][i]=E;const c=l?A[l]:null;if(c!=null&&c.stringify){const u=c.stringify(E,o,this);this.getAttribute(o)!==u&&this.setAttribute(o,u)}else this[O]()}})}return I}function x(e,t,r){const s=W.createRoot(e),_=S.createElement(t,r);return s.render(_),{root:s,ReactComponent:t}}function B({root:e,ReactComponent:t},r){const s=S.createElement(t,r);e.render(s)}function U({root:e}){setTimeout(()=>{e.unmount()},0)}function d(e,t={}){return k(e,t,{mount:x,update:B,unmount:U})}const $=d(n.WebPlayerWithInjectedStyles,{shadow:"closed",props:{compositionUrl:"string",hideCategoriesNav:"boolean",infiniteCarrousel:"boolean",permanentGallery:"boolean",integration:"boolean",maxItemsShown:"number",minMediaWidth:"number",maxMediaWidth:"number",mediaLoadStrategy:"string",preloadRange:"number",autoLoad360:"boolean",autoLoadInterior360:"boolean",categoriesFilter:"string",extendBehavior:"string",eventPrefix:"string",demoSpin:"boolean",reverse360:"boolean",spinCursor:"string",analyticsEventPrefix:"string",analyticsUrl:"string",analyticsBearer:"string",analyticsSimpleRequestsOnly:"boolean",analyticsDryRun:"boolean",analyticsDebug:"boolean",monitoring:"boolean"}}),H=d(n.WebPlayerCustomMedia,{shadow:"closed",props:{index:"number",thumbnailSrc:"string"}}),X=d(n.WebPlayerIcon,{shadow:"closed",props:{name:"string"}});function q(){customElements.define(n.WEB_PLAYER_WC_TAG,$),customElements.define(n.WEB_PLAYER_CUSTOM_MEDIA_WC_TAG,H),customElements.define(n.WEB_PLAYER_ICON_WC_TAG,X)}function z(){n.checkCustomElementsDefinition()||q()}z();exports.ANALYTICS_EVENT_DISPLAY=n.ANALYTICS_EVENT_DISPLAY;exports.ANALYTICS_EVENT_ERROR=n.ANALYTICS_EVENT_ERROR;exports.ANALYTICS_EVENT_INTERACTION=n.ANALYTICS_EVENT_INTERACTION;exports.ANALYTICS_EVENT_LOAD=n.ANALYTICS_EVENT_LOAD;exports.DEFAULT_EVENT_PREFIX=n.DEFAULT_EVENT_PREFIX;exports.EVENT_COMPOSITION_LOADED=n.EVENT_COMPOSITION_LOADED;exports.EVENT_COMPOSITION_LOADING=n.EVENT_COMPOSITION_LOADING;exports.EVENT_COMPOSITION_LOAD_ERROR=n.EVENT_COMPOSITION_LOAD_ERROR;exports.EVENT_EXTEND_MODE_OFF=n.EVENT_EXTEND_MODE_OFF;exports.EVENT_EXTEND_MODE_ON=n.EVENT_EXTEND_MODE_ON;exports.EVENT_GALLERY_CLOSE=n.EVENT_GALLERY_CLOSE;exports.EVENT_GALLERY_OPEN=n.EVENT_GALLERY_OPEN;exports.EVENT_HOTSPOTS_OFF=n.EVENT_HOTSPOTS_OFF;exports.EVENT_HOTSPOTS_ON=n.EVENT_HOTSPOTS_ON;exports.EVENT_ITEM_CHANGE=n.EVENT_ITEM_CHANGE;exports.WEB_PLAYER_ICON_WC_TAG=n.WEB_PLAYER_ICON_WC_TAG;exports.WEB_PLAYER_WC_TAG=n.WEB_PLAYER_WC_TAG;exports.WebPlayer=n.WebPlayer;exports.WebPlayerCustomMedia=n.WebPlayerCustomMedia$1;exports.WebPlayerIcon=n.WebPlayerIcon$1;exports.generateCompositionUrl=n.generateCompositionUrl;
package/dist/index.d.ts CHANGED
@@ -1,61 +1,59 @@
1
1
  import { FC } from 'react';
2
2
  import { PropsWithChildren } from 'react';
3
3
 
4
- export declare const ANALYTICS_EVENT_IDENTIFY = "analytics-identify";
4
+ export declare const ANALYTICS_EVENT_DISPLAY = "analytics-display";
5
5
 
6
- export declare const ANALYTICS_EVENT_PAGE = "analytics-page";
6
+ export declare const ANALYTICS_EVENT_ERROR = "analytics-error";
7
7
 
8
- export declare const ANALYTICS_EVENT_TRACK = "analytics-track";
8
+ export declare const ANALYTICS_EVENT_INTERACTION = "analytics-interaction";
9
9
 
10
- declare type AnalyticsEventBase = {
11
- type: AnalyticsEventType;
10
+ export declare const ANALYTICS_EVENT_LOAD = "analytics-load";
11
+
12
+ declare type AnalyticsDisplayEvent = {
13
+ type: "display";
12
14
  timestamp: string;
13
- instance_id: string;
15
+ instance: WebplayerInstance;
16
+ item: WebplayerDisplayedItem;
14
17
  };
15
18
 
16
- declare type AnalyticsEventType =
17
- | AnalyticsEventTypeIdentify
18
- | AnalyticsEventTypePage
19
- | AnalyticsEventTypeTrack;
20
-
21
- declare type AnalyticsEventTypeIdentify = "identify";
22
-
23
- declare type AnalyticsEventTypePage = "page";
19
+ declare type AnalyticsErrorEvent = {
20
+ type: "error";
21
+ timestamp: string;
22
+ instance: WebplayerInstance;
23
+ current?: WebplayerDisplayedItem;
24
+ action?: WebplayerAction;
25
+ error: WebplayerError;
26
+ };
24
27
 
25
- declare type AnalyticsEventTypeTrack = "track";
28
+ declare type AnalyticsInteractionEvent = {
29
+ type: "interaction";
30
+ timestamp: string;
31
+ instance: WebplayerInstance;
32
+ current: WebplayerDisplayedItem;
33
+ action: WebplayerAction;
34
+ };
26
35
 
27
- declare type AnalyticsIdentifyEvent = Omit<AnalyticsEventBase, "type"> &
28
- AnalyticsIdentifyEventProps;
36
+ declare type AnalyticsLoadEvent = {
37
+ type: "load";
38
+ timestamp: string;
39
+ instance: WebplayerInstance;
40
+ config: AnalyticsLoadEventProps["config"];
41
+ };
29
42
 
30
- declare type AnalyticsIdentifyEventProps = {
31
- type: AnalyticsEventTypeIdentify;
32
- browser_id: string;
33
- session_id: string;
34
- referrer: string;
35
- origin: string;
36
- page_url: string;
37
- user_agent: string;
38
- wp_properties: {
43
+ declare type AnalyticsLoadEventProps = {
44
+ type: "load";
45
+ config: {
39
46
  composition_url: string;
40
-
41
- // Integration mode
42
47
  integration: boolean;
43
48
  max_items_shown: number;
44
-
45
- // Layout
46
49
  hide_categories_nav: boolean;
47
50
  infinite_carrousel: boolean;
48
51
  permanent_gallery: boolean;
49
-
50
- // Medias loading
51
52
  media_load_strategy: string;
52
53
  min_media_width: number;
53
- max_media_width: number;
54
54
  preload_range: number;
55
55
  auto_load_360: boolean;
56
56
  auto_load_interior_360: boolean;
57
-
58
- // Miscellaneous
59
57
  categories_filter: string;
60
58
  extend_behavior: string;
61
59
  event_prefix: string;
@@ -64,44 +62,6 @@ declare type AnalyticsIdentifyEventProps = {
64
62
  };
65
63
  };
66
64
 
67
- declare type AnalyticsPageEvent = Omit<AnalyticsEventBase, "type"> &
68
- AnalyticsPageEventProps;
69
-
70
- declare type AnalyticsPageEventProps = {
71
- type: AnalyticsEventTypePage;
72
- category_id: string;
73
- category_name: string;
74
- items_count: number;
75
- page_properties: {
76
- item_type: string;
77
- item_position: number;
78
- };
79
- };
80
-
81
- declare type AnalyticsTrackEvent = Omit<AnalyticsEventBase, "type"> &
82
- AnalyticsTrackEventProps;
83
-
84
- declare type AnalyticsTrackEventProps = {
85
- type: AnalyticsEventTypeTrack;
86
- category_id: string;
87
- category_name: string;
88
- item_type: string;
89
- item_position: number;
90
- action_properties: {
91
- action_name: string;
92
- action_field: string;
93
- action_value:
94
- | bigint
95
- | boolean
96
- | null
97
- | number
98
- | string
99
- | symbol
100
- | undefined
101
- | object;
102
- };
103
- };
104
-
105
65
  declare type AspectRatio = `${number}:${number}`;
106
66
 
107
67
  declare type Category = {
@@ -215,6 +175,12 @@ export declare const WEB_PLAYER_WC_TAG = "cc-webplayer";
215
175
 
216
176
  export declare const WebPlayer: FC<WebPlayerProps>;
217
177
 
178
+ declare type WebplayerAction = {
179
+ name: string;
180
+ field: string;
181
+ value: unknown;
182
+ };
183
+
218
184
  export declare const WebPlayerCustomMedia: FC<PropsWithChildren<WebPlayerCustomMediaProps>>;
219
185
 
220
186
  export declare type WebPlayerCustomMediaProps = {
@@ -222,6 +188,20 @@ export declare type WebPlayerCustomMediaProps = {
222
188
  thumbnailSrc?: string;
223
189
  };
224
190
 
191
+ declare type WebplayerDisplayedItem = {
192
+ category_id: string;
193
+ category_name: string;
194
+ item_type: string;
195
+ item_position: number;
196
+ items_count?: number;
197
+ };
198
+
199
+ declare type WebplayerError = {
200
+ name: string;
201
+ message: string;
202
+ stack?: string;
203
+ };
204
+
225
205
  export declare const WebPlayerIcon: FC<PropsWithChildren<WebPlayerIconProps>>;
226
206
 
227
207
  declare type WebPlayerIconName =
@@ -252,6 +232,13 @@ export declare type WebPlayerIconProps = {
252
232
  name: WebPlayerIconName;
253
233
  };
254
234
 
235
+ declare type WebplayerInstance = {
236
+ instance_id: string;
237
+ browser_id?: string;
238
+ session_id?: string;
239
+ from_url?: string;
240
+ };
241
+
255
242
  export declare type WebPlayerProps = PropsWithChildren<WebPlayerProps_2> & {
256
243
  onCompositionLoading?: (url: string) => void;
257
244
  onCompositionLoaded?: (composition: Composition) => void;
@@ -266,9 +253,10 @@ export declare type WebPlayerProps = PropsWithChildren<WebPlayerProps_2> & {
266
253
  onHotspotsOff?: () => void;
267
254
  onGalleryOpen?: () => void;
268
255
  onGalleryClose?: () => void;
269
- onAnalyticsIdentify?: (event: AnalyticsIdentifyEvent) => void;
270
- onAnalyticsPage?: (event: AnalyticsPageEvent) => void;
271
- onAnalyticsTrack?: (event: AnalyticsTrackEvent) => void;
256
+ onAnalyticsLoad?: (event: AnalyticsLoadEvent) => void;
257
+ onAnalyticsDisplay?: (event: AnalyticsDisplayEvent) => void;
258
+ onAnalyticsInteraction?: (event: AnalyticsInteractionEvent) => void;
259
+ onAnalyticsError?: (event: AnalyticsErrorEvent) => void;
272
260
  } & Pick<React.HTMLAttributes<HTMLElement>, "className" | "style">;
273
261
 
274
262
  declare type WebPlayerProps_2 = {
@@ -297,14 +285,21 @@ declare type WebPlayerProps_2 = {
297
285
  eventPrefix?: string;
298
286
  demoSpin?: boolean;
299
287
  reverse360?: boolean;
288
+ spinCursor?: string;
300
289
 
301
290
  // Analytics
302
291
  analyticsEventPrefix?: string;
292
+ /** @deprecated Prefer monitoring (enabled by default). When set, disables monitoring and sends analytics to this URL instead. */
303
293
  analyticsUrl?: string;
294
+ /** @deprecated Only used with analyticsUrl. Sets the Authorization bearer token for analytics requests. Ignored when analyticsSimpleRequestsOnly is true. */
304
295
  analyticsBearer?: string;
296
+ /** @deprecated Only used with analyticsUrl. When true, sends CORS simple requests only (disables custom headers including analyticsBearer). */
305
297
  analyticsSimpleRequestsOnly?: boolean;
306
298
  analyticsDryRun?: boolean;
307
299
  analyticsDebug?: boolean;
300
+
301
+ // Monitoring
302
+ monitoring?: boolean;
308
303
  };
309
304
 
310
305
  export { }
package/dist/index.js CHANGED
@@ -1,13 +1,13 @@
1
- import { W as I, a as L, b as W, c as D, d as R, e as V, f as M } from "./shared-D7cc889c.js";
2
- import { A as ce, g as le, h as ue, D as pe, E as fe, i as me, j as be, k as Ee, l as he, m as ye, n as de, o as ge, p as _e, q as Te, r as Oe, s as Ae, t as Ce, u as Ne } from "./shared-D7cc889c.js";
1
+ import { W as I, a as w, b as W, c as R, d as D, e as V, f as M } from "./shared-BpNLb25Y.js";
2
+ import { A as ce, g as le, h as ue, i as pe, D as fe, E as me, j as Ee, k as be, l as he, m as ye, n as de, o as ge, p as _e, q as Oe, r as Te, s as Ae, t as Ce, u as Ne, v as Se } from "./shared-BpNLb25Y.js";
3
3
  import "react/jsx-runtime";
4
- import P from "react";
4
+ import L from "react";
5
5
  import { createRoot as j } from "react-dom/client";
6
6
  var x = Object.defineProperty, k = (e, t, n) => t in e ? x(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, h = (e, t, n) => k(e, typeof t != "symbol" ? t + "" : t, n);
7
- const F = {
7
+ const Y = {
8
8
  stringify: (e) => e ? "true" : "false",
9
9
  parse: (e) => /^[ty1-9]/i.test(e)
10
- }, G = {
10
+ }, F = {
11
11
  stringify: (e) => e.name,
12
12
  parse: (e, t, n) => {
13
13
  const r = (() => {
@@ -18,7 +18,7 @@ const F = {
18
18
  })();
19
19
  return typeof r == "function" ? r.bind(n) : void 0;
20
20
  }
21
- }, Y = {
21
+ }, G = {
22
22
  stringify: (e) => JSON.stringify(e),
23
23
  parse: (e) => JSON.parse(e)
24
24
  };
@@ -28,14 +28,14 @@ function U(e) {
28
28
  (t, n, r) => `${n}-${r.toLowerCase()}`
29
29
  );
30
30
  }
31
- function v(e) {
31
+ function P(e) {
32
32
  return e.replace(/[-:]([a-z])/g, (t, n) => `${n.toUpperCase()}`);
33
33
  }
34
34
  const $ = {
35
35
  stringify: (e) => e.name,
36
36
  parse: (e, t, n) => {
37
37
  const r = (() => {
38
- const p = v(t);
38
+ const p = P(t);
39
39
  if (typeof n < "u" && p in n.container)
40
40
  return n.container[p];
41
41
  })();
@@ -47,20 +47,20 @@ const $ = {
47
47
  }, H = {
48
48
  stringify: (e) => e,
49
49
  parse: (e) => e
50
- }, T = {
50
+ }, O = {
51
51
  string: H,
52
52
  number: B,
53
- boolean: F,
54
- function: G,
53
+ boolean: Y,
54
+ function: F,
55
55
  method: $,
56
- json: Y
57
- }, E = Symbol.for("r2wc.render"), y = Symbol.for("r2wc.connected"), m = Symbol.for("r2wc.context"), i = Symbol.for("r2wc.props");
56
+ json: G
57
+ }, b = Symbol.for("r2wc.render"), y = Symbol.for("r2wc.connected"), m = Symbol.for("r2wc.context"), i = Symbol.for("r2wc.props");
58
58
  function z(e, t, n) {
59
59
  var r, p, A;
60
60
  t.props || (t.props = e.propTypes ? Object.keys(e.propTypes) : []), t.events || (t.events = []);
61
- const d = Array.isArray(t.props) ? t.props.slice() : Object.keys(t.props), C = Array.isArray(t.events) ? t.events.slice() : Object.keys(t.events), b = {}, N = {}, g = {}, _ = {};
61
+ const d = Array.isArray(t.props) ? t.props.slice() : Object.keys(t.props), C = Array.isArray(t.events) ? t.events.slice() : Object.keys(t.events), E = {}, N = {}, g = {}, _ = {};
62
62
  for (const s of d) {
63
- b[s] = Array.isArray(t.props) ? "string" : t.props[s];
63
+ E[s] = Array.isArray(t.props) ? "string" : t.props[s];
64
64
  const o = U(s);
65
65
  g[s] = o, _[o] = s;
66
66
  }
@@ -72,17 +72,17 @@ function z(e, t, n) {
72
72
  mode: t.shadow
73
73
  }) : this.container = this, this[i].container = this.container;
74
74
  for (const o of d) {
75
- const l = g[o], a = this.getAttribute(l), c = b[o], u = c ? T[c] : null;
75
+ const l = g[o], a = this.getAttribute(l), c = E[o], u = c ? O[c] : null;
76
76
  if (c === "method") {
77
- const f = v(l);
77
+ const f = P(l);
78
78
  Object.defineProperty(this[i].container, f, {
79
79
  enumerable: !0,
80
80
  configurable: !0,
81
81
  get() {
82
82
  return this[i][f];
83
83
  },
84
- set(w) {
85
- this[i][f] = w, this[E]();
84
+ set(v) {
85
+ this[i][f] = v, this[b]();
86
86
  }
87
87
  }), this[i][o] = u.parse(a, l, this);
88
88
  }
@@ -100,16 +100,16 @@ function z(e, t, n) {
100
100
  return Object.keys(_);
101
101
  }
102
102
  connectedCallback() {
103
- this[y] = !0, this[E]();
103
+ this[y] = !0, this[b]();
104
104
  }
105
105
  disconnectedCallback() {
106
106
  this[y] = !1, this[m] && n.unmount(this[m]), delete this[m];
107
107
  }
108
108
  attributeChangedCallback(o, l, a) {
109
- const c = _[o], u = b[c], f = u ? T[u] : null;
110
- c in b && f != null && f.parse && a && (this[i][c] = f.parse(a, o, this), this[E]());
109
+ const c = _[o], u = E[c], f = u ? O[u] : null;
110
+ c in E && f != null && f.parse && a && (this[i][c] = f.parse(a, o, this), this[b]());
111
111
  }
112
- [(A = y, p = m, r = i, E)]() {
112
+ [(A = y, p = m, r = i, b)]() {
113
113
  this[y] && (this[m] ? n.update(this[m], this[i]) : this[m] = n.mount(
114
114
  this.container,
115
115
  e,
@@ -118,7 +118,7 @@ function z(e, t, n) {
118
118
  }
119
119
  }
120
120
  for (const s of d) {
121
- const o = g[s], l = b[s];
121
+ const o = g[s], l = E[s];
122
122
  Object.defineProperty(S.prototype, s, {
123
123
  enumerable: !0,
124
124
  configurable: !0,
@@ -127,26 +127,26 @@ function z(e, t, n) {
127
127
  },
128
128
  set(a) {
129
129
  this[i][s] = a;
130
- const c = l ? T[l] : null;
130
+ const c = l ? O[l] : null;
131
131
  if (c != null && c.stringify) {
132
132
  const u = c.stringify(a, o, this);
133
133
  this.getAttribute(o) !== u && this.setAttribute(o, u);
134
134
  } else
135
- this[E]();
135
+ this[b]();
136
136
  }
137
137
  });
138
138
  }
139
139
  return S;
140
140
  }
141
141
  function J(e, t, n) {
142
- const r = j(e), p = P.createElement(t, n);
142
+ const r = j(e), p = L.createElement(t, n);
143
143
  return r.render(p), {
144
144
  root: r,
145
145
  ReactComponent: t
146
146
  };
147
147
  }
148
148
  function X({ root: e, ReactComponent: t }, n) {
149
- const r = P.createElement(t, n);
149
+ const r = L.createElement(t, n);
150
150
  e.render(r);
151
151
  }
152
152
  function q({ root: e }) {
@@ -154,10 +154,10 @@ function q({ root: e }) {
154
154
  e.unmount();
155
155
  }, 0);
156
156
  }
157
- function O(e, t = {}) {
157
+ function T(e, t = {}) {
158
158
  return z(e, t, { mount: J, update: X, unmount: q });
159
159
  }
160
- const K = O(I, {
160
+ const Z = T(I, {
161
161
  shadow: "closed",
162
162
  props: {
163
163
  compositionUrl: "string",
@@ -180,55 +180,59 @@ const K = O(I, {
180
180
  eventPrefix: "string",
181
181
  demoSpin: "boolean",
182
182
  reverse360: "boolean",
183
+ spinCursor: "string",
183
184
  // Analytics
184
185
  analyticsEventPrefix: "string",
185
186
  analyticsUrl: "string",
186
187
  analyticsBearer: "string",
187
188
  analyticsSimpleRequestsOnly: "boolean",
188
189
  analyticsDryRun: "boolean",
189
- analyticsDebug: "boolean"
190
+ analyticsDebug: "boolean",
191
+ // Monitoring
192
+ monitoring: "boolean"
190
193
  }
191
- }), Z = O(L, {
194
+ }), K = T(w, {
192
195
  shadow: "closed",
193
196
  props: {
194
197
  index: "number",
195
198
  thumbnailSrc: "string"
196
199
  }
197
- }), Q = O(W, {
200
+ }), Q = T(W, {
198
201
  shadow: "closed",
199
202
  props: {
200
203
  name: "string"
201
204
  }
202
205
  });
203
206
  function ee() {
204
- customElements.define(R, K), customElements.define(
207
+ customElements.define(D, Z), customElements.define(
205
208
  V,
206
- Z
209
+ K
207
210
  ), customElements.define(M, Q);
208
211
  }
209
212
  function te() {
210
- D() || ee();
213
+ R() || ee();
211
214
  }
212
215
  te();
213
216
  export {
214
- ce as ANALYTICS_EVENT_IDENTIFY,
215
- le as ANALYTICS_EVENT_PAGE,
216
- ue as ANALYTICS_EVENT_TRACK,
217
- pe as DEFAULT_EVENT_PREFIX,
218
- fe as EVENT_COMPOSITION_LOADED,
219
- me as EVENT_COMPOSITION_LOADING,
217
+ ce as ANALYTICS_EVENT_DISPLAY,
218
+ le as ANALYTICS_EVENT_ERROR,
219
+ ue as ANALYTICS_EVENT_INTERACTION,
220
+ pe as ANALYTICS_EVENT_LOAD,
221
+ fe as DEFAULT_EVENT_PREFIX,
222
+ me as EVENT_COMPOSITION_LOADED,
223
+ Ee as EVENT_COMPOSITION_LOADING,
220
224
  be as EVENT_COMPOSITION_LOAD_ERROR,
221
- Ee as EVENT_EXTEND_MODE_OFF,
222
- he as EVENT_EXTEND_MODE_ON,
223
- ye as EVENT_GALLERY_CLOSE,
224
- de as EVENT_GALLERY_OPEN,
225
- ge as EVENT_HOTSPOTS_OFF,
226
- _e as EVENT_HOTSPOTS_ON,
225
+ he as EVENT_EXTEND_MODE_OFF,
226
+ ye as EVENT_EXTEND_MODE_ON,
227
+ de as EVENT_GALLERY_CLOSE,
228
+ ge as EVENT_GALLERY_OPEN,
229
+ _e as EVENT_HOTSPOTS_OFF,
230
+ Oe as EVENT_HOTSPOTS_ON,
227
231
  Te as EVENT_ITEM_CHANGE,
228
232
  M as WEB_PLAYER_ICON_WC_TAG,
229
- R as WEB_PLAYER_WC_TAG,
230
- Oe as WebPlayer,
231
- Ae as WebPlayerCustomMedia,
232
- Ce as WebPlayerIcon,
233
- Ne as generateCompositionUrl
233
+ D as WEB_PLAYER_WC_TAG,
234
+ Ae as WebPlayer,
235
+ Ce as WebPlayerCustomMedia,
236
+ Ne as WebPlayerIcon,
237
+ Se as generateCompositionUrl
234
238
  };
package/dist/legacy.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./shared-Dj9ilM-O.cjs");require("react/jsx-runtime");const S=require("react"),A=require("react-dom");var R=Object.defineProperty,D=(e,t,r)=>t in e?R(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,y=(e,t,r)=>D(e,typeof t!="symbol"?t+"":t,r);const v={stringify:e=>e?"true":"false",parse:e=>/^[ty1-9]/i.test(e)},M={stringify:e=>e.name,parse:(e,t,r)=>{const s=(()=>{if(typeof window<"u"&&e in window)return window[e];if(typeof global<"u"&&e in global)return global[e]})();return typeof s=="function"?s.bind(r):void 0}},w={stringify:e=>JSON.stringify(e),parse:e=>JSON.parse(e)};function Y(e){return e.replace(/([a-z0-9])([A-Z])/g,(t,r,s)=>`${r}-${s.toLowerCase()}`)}function W(e){return e.replace(/[-:]([a-z])/g,(t,r)=>`${r.toUpperCase()}`)}const G={stringify:e=>e.name,parse:(e,t,r)=>{const s=(()=>{const T=W(t);if(typeof r<"u"&&T in r.container)return r.container[T]})();return typeof s=="function"?s.bind(r):void 0}},F={stringify:e=>`${e}`,parse:e=>parseFloat(e)},j={stringify:e=>e,parse:e=>e},m={string:j,number:F,boolean:v,function:M,method:G,json:w},f=Symbol.for("r2wc.render"),O=Symbol.for("r2wc.connected"),p=Symbol.for("r2wc.context"),a=Symbol.for("r2wc.props");function k(e,t,r){var s,T,g;t.props||(t.props=e.propTypes?Object.keys(e.propTypes):[]),t.events||(t.events=[]);const d=Array.isArray(t.props)?t.props.slice():Object.keys(t.props),P=Array.isArray(t.events)?t.events.slice():Object.keys(t.events),b={},I={},h={},N={};for(const i of d){b[i]=Array.isArray(t.props)?"string":t.props[i];const o=Y(i);h[i]=o,N[o]=i}for(const i of P)I[i]=Array.isArray(t.events)?{}:t.events[i];class L extends HTMLElement{constructor(){super(),y(this,g,!0),y(this,T),y(this,s,{}),y(this,"container"),t.shadow?this.container=this.attachShadow({mode:t.shadow}):this.container=this,this[a].container=this.container;for(const o of d){const l=h[o],E=this.getAttribute(l),c=b[o],u=c?m[c]:null;if(c==="method"){const _=W(l);Object.defineProperty(this[a].container,_,{enumerable:!0,configurable:!0,get(){return this[a][_]},set(V){this[a][_]=V,this[f]()}}),this[a][o]=u.parse(E,l,this)}u!=null&&u.parse&&E&&(this[a][o]=u.parse(E,l,this))}for(const o of P)this[a][o]=l=>{const E=o.replace(/^on/,"").toLowerCase();this.dispatchEvent(new CustomEvent(E,{detail:l,...I[o]}))}}static get observedAttributes(){return Object.keys(N)}connectedCallback(){this[O]=!0,this[f]()}disconnectedCallback(){this[O]=!1,this[p]&&r.unmount(this[p]),delete this[p]}attributeChangedCallback(o,l,E){const c=N[o],u=b[c],_=u?m[u]:null;c in b&&_!=null&&_.parse&&E&&(this[a][c]=_.parse(E,o,this),this[f]())}[(g=O,T=p,s=a,f)](){this[O]&&(this[p]?r.update(this[p],this[a]):this[p]=r.mount(this.container,e,this[a]))}}for(const i of d){const o=h[i],l=b[i];Object.defineProperty(L.prototype,i,{enumerable:!0,configurable:!0,get(){return this[a][i]},set(E){this[a][i]=E;const c=l?m[l]:null;if(c!=null&&c.stringify){const u=c.stringify(E,o,this);this.getAttribute(o)!==u&&this.setAttribute(o,u)}else this[f]()}})}return L}function B(e,t,r){const s=S.createElement(t,r);return A.render(s,e),{container:e,ReactComponent:t}}function $({container:e,ReactComponent:t},r){const s=S.createElement(t,r);A.render(s,e)}function x({container:e}){A.unmountComponentAtNode(e)}function C(e,t={}){return k(e,t,{mount:B,update:$,unmount:x})}const U=C(n.WebPlayerWithInjectedStyles,{shadow:"closed",props:{compositionUrl:"string",hideCategoriesNav:"boolean",infiniteCarrousel:"boolean",permanentGallery:"boolean",minMediaWidth:"number",maxMediaWidth:"number",mediaLoadStrategy:"string",preloadRange:"number",autoLoad360:"boolean",autoLoadInterior360:"boolean",categoriesFilter:"string",extendBehavior:"string",eventPrefix:"string",demoSpin:"boolean",reverse360:"boolean",analyticsEventPrefix:"string",analyticsUrl:"string",analyticsBearer:"string",analyticsSimpleRequestsOnly:"boolean",analyticsDryRun:"boolean",analyticsDebug:"boolean"}}),H=C(n.WebPlayerCustomMedia,{shadow:"closed",props:{index:"number",thumbnailSrc:"string"}}),X=C(n.WebPlayerIcon,{shadow:"closed",props:{name:"string"}});function q(){customElements.define(n.WEB_PLAYER_WC_TAG,U),customElements.define(n.WEB_PLAYER_CUSTOM_MEDIA_WC_TAG,H),customElements.define(n.WEB_PLAYER_ICON_WC_TAG,X)}function z(){n.checkCustomElementsDefinition()||q()}z();exports.ANALYTICS_EVENT_IDENTIFY=n.ANALYTICS_EVENT_IDENTIFY;exports.ANALYTICS_EVENT_PAGE=n.ANALYTICS_EVENT_PAGE;exports.ANALYTICS_EVENT_TRACK=n.ANALYTICS_EVENT_TRACK;exports.DEFAULT_EVENT_PREFIX=n.DEFAULT_EVENT_PREFIX;exports.EVENT_COMPOSITION_LOADED=n.EVENT_COMPOSITION_LOADED;exports.EVENT_COMPOSITION_LOADING=n.EVENT_COMPOSITION_LOADING;exports.EVENT_COMPOSITION_LOAD_ERROR=n.EVENT_COMPOSITION_LOAD_ERROR;exports.EVENT_EXTEND_MODE_OFF=n.EVENT_EXTEND_MODE_OFF;exports.EVENT_EXTEND_MODE_ON=n.EVENT_EXTEND_MODE_ON;exports.EVENT_GALLERY_CLOSE=n.EVENT_GALLERY_CLOSE;exports.EVENT_GALLERY_OPEN=n.EVENT_GALLERY_OPEN;exports.EVENT_HOTSPOTS_OFF=n.EVENT_HOTSPOTS_OFF;exports.EVENT_HOTSPOTS_ON=n.EVENT_HOTSPOTS_ON;exports.EVENT_ITEM_CHANGE=n.EVENT_ITEM_CHANGE;exports.WEB_PLAYER_ICON_WC_TAG=n.WEB_PLAYER_ICON_WC_TAG;exports.WEB_PLAYER_WC_TAG=n.WEB_PLAYER_WC_TAG;exports.WebPlayer=n.WebPlayer;exports.WebPlayerCustomMedia=n.WebPlayerCustomMedia$1;exports.WebPlayerIcon=n.WebPlayerIcon$1;exports.generateCompositionUrl=n.generateCompositionUrl;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./shared-B2uKgIRn.cjs");require("react/jsx-runtime");const P=require("react"),m=require("react-dom");var V=Object.defineProperty,D=(e,t,r)=>t in e?V(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,N=(e,t,r)=>D(e,typeof t!="symbol"?t+"":t,r);const v={stringify:e=>e?"true":"false",parse:e=>/^[ty1-9]/i.test(e)},M={stringify:e=>e.name,parse:(e,t,r)=>{const s=(()=>{if(typeof window<"u"&&e in window)return window[e];if(typeof global<"u"&&e in global)return global[e]})();return typeof s=="function"?s.bind(r):void 0}},w={stringify:e=>JSON.stringify(e),parse:e=>JSON.parse(e)};function Y(e){return e.replace(/([a-z0-9])([A-Z])/g,(t,r,s)=>`${r}-${s.toLowerCase()}`)}function R(e){return e.replace(/[-:]([a-z])/g,(t,r)=>`${r.toUpperCase()}`)}const G={stringify:e=>e.name,parse:(e,t,r)=>{const s=(()=>{const T=R(t);if(typeof r<"u"&&T in r.container)return r.container[T]})();return typeof s=="function"?s.bind(r):void 0}},F={stringify:e=>`${e}`,parse:e=>parseFloat(e)},j={stringify:e=>e,parse:e=>e},h={string:j,number:F,boolean:v,function:M,method:G,json:w},b=Symbol.for("r2wc.render"),f=Symbol.for("r2wc.connected"),p=Symbol.for("r2wc.context"),a=Symbol.for("r2wc.props");function k(e,t,r){var s,T,g;t.props||(t.props=e.propTypes?Object.keys(e.propTypes):[]),t.events||(t.events=[]);const y=Array.isArray(t.props)?t.props.slice():Object.keys(t.props),L=Array.isArray(t.events)?t.events.slice():Object.keys(t.events),O={},I={},A={},d={};for(const i of y){O[i]=Array.isArray(t.props)?"string":t.props[i];const o=Y(i);A[i]=o,d[o]=i}for(const i of L)I[i]=Array.isArray(t.events)?{}:t.events[i];class S extends HTMLElement{constructor(){super(),N(this,g,!0),N(this,T),N(this,s,{}),N(this,"container"),t.shadow?this.container=this.attachShadow({mode:t.shadow}):this.container=this,this[a].container=this.container;for(const o of y){const l=A[o],E=this.getAttribute(l),c=O[o],u=c?h[c]:null;if(c==="method"){const _=R(l);Object.defineProperty(this[a].container,_,{enumerable:!0,configurable:!0,get(){return this[a][_]},set(W){this[a][_]=W,this[b]()}}),this[a][o]=u.parse(E,l,this)}u!=null&&u.parse&&E&&(this[a][o]=u.parse(E,l,this))}for(const o of L)this[a][o]=l=>{const E=o.replace(/^on/,"").toLowerCase();this.dispatchEvent(new CustomEvent(E,{detail:l,...I[o]}))}}static get observedAttributes(){return Object.keys(d)}connectedCallback(){this[f]=!0,this[b]()}disconnectedCallback(){this[f]=!1,this[p]&&r.unmount(this[p]),delete this[p]}attributeChangedCallback(o,l,E){const c=d[o],u=O[c],_=u?h[u]:null;c in O&&_!=null&&_.parse&&E&&(this[a][c]=_.parse(E,o,this),this[b]())}[(g=f,T=p,s=a,b)](){this[f]&&(this[p]?r.update(this[p],this[a]):this[p]=r.mount(this.container,e,this[a]))}}for(const i of y){const o=A[i],l=O[i];Object.defineProperty(S.prototype,i,{enumerable:!0,configurable:!0,get(){return this[a][i]},set(E){this[a][i]=E;const c=l?h[l]:null;if(c!=null&&c.stringify){const u=c.stringify(E,o,this);this.getAttribute(o)!==u&&this.setAttribute(o,u)}else this[b]()}})}return S}function B(e,t,r){const s=P.createElement(t,r);return m.render(s,e),{container:e,ReactComponent:t}}function $({container:e,ReactComponent:t},r){const s=P.createElement(t,r);m.render(s,e)}function x({container:e}){m.unmountComponentAtNode(e)}function C(e,t={}){return k(e,t,{mount:B,update:$,unmount:x})}const U=C(n.WebPlayerWithInjectedStyles,{shadow:"closed",props:{compositionUrl:"string",hideCategoriesNav:"boolean",infiniteCarrousel:"boolean",permanentGallery:"boolean",minMediaWidth:"number",maxMediaWidth:"number",mediaLoadStrategy:"string",preloadRange:"number",autoLoad360:"boolean",autoLoadInterior360:"boolean",categoriesFilter:"string",extendBehavior:"string",eventPrefix:"string",demoSpin:"boolean",reverse360:"boolean",spinCursor:"string",analyticsEventPrefix:"string",analyticsUrl:"string",analyticsBearer:"string",analyticsSimpleRequestsOnly:"boolean",analyticsDryRun:"boolean",analyticsDebug:"boolean",monitoring:"boolean"}}),H=C(n.WebPlayerCustomMedia,{shadow:"closed",props:{index:"number",thumbnailSrc:"string"}}),X=C(n.WebPlayerIcon,{shadow:"closed",props:{name:"string"}});function q(){customElements.define(n.WEB_PLAYER_WC_TAG,U),customElements.define(n.WEB_PLAYER_CUSTOM_MEDIA_WC_TAG,H),customElements.define(n.WEB_PLAYER_ICON_WC_TAG,X)}function z(){n.checkCustomElementsDefinition()||q()}z();exports.ANALYTICS_EVENT_DISPLAY=n.ANALYTICS_EVENT_DISPLAY;exports.ANALYTICS_EVENT_ERROR=n.ANALYTICS_EVENT_ERROR;exports.ANALYTICS_EVENT_INTERACTION=n.ANALYTICS_EVENT_INTERACTION;exports.ANALYTICS_EVENT_LOAD=n.ANALYTICS_EVENT_LOAD;exports.DEFAULT_EVENT_PREFIX=n.DEFAULT_EVENT_PREFIX;exports.EVENT_COMPOSITION_LOADED=n.EVENT_COMPOSITION_LOADED;exports.EVENT_COMPOSITION_LOADING=n.EVENT_COMPOSITION_LOADING;exports.EVENT_COMPOSITION_LOAD_ERROR=n.EVENT_COMPOSITION_LOAD_ERROR;exports.EVENT_EXTEND_MODE_OFF=n.EVENT_EXTEND_MODE_OFF;exports.EVENT_EXTEND_MODE_ON=n.EVENT_EXTEND_MODE_ON;exports.EVENT_GALLERY_CLOSE=n.EVENT_GALLERY_CLOSE;exports.EVENT_GALLERY_OPEN=n.EVENT_GALLERY_OPEN;exports.EVENT_HOTSPOTS_OFF=n.EVENT_HOTSPOTS_OFF;exports.EVENT_HOTSPOTS_ON=n.EVENT_HOTSPOTS_ON;exports.EVENT_ITEM_CHANGE=n.EVENT_ITEM_CHANGE;exports.WEB_PLAYER_ICON_WC_TAG=n.WEB_PLAYER_ICON_WC_TAG;exports.WEB_PLAYER_WC_TAG=n.WEB_PLAYER_WC_TAG;exports.WebPlayer=n.WebPlayer;exports.WebPlayerCustomMedia=n.WebPlayerCustomMedia$1;exports.WebPlayerIcon=n.WebPlayerIcon$1;exports.generateCompositionUrl=n.generateCompositionUrl;