cloudinary-video-player 3.1.2-edge.3 → 3.1.2-edge.5

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.
Files changed (52) hide show
  1. package/dist/adaptive-streaming.js +18 -36920
  2. package/dist/adaptive-streaming.min.js +3 -4
  3. package/dist/chapters.js +13 -217
  4. package/dist/chapters.min.js +3 -4
  5. package/dist/cld-video-player.css +2 -4
  6. package/dist/cld-video-player.js +307 -46341
  7. package/dist/cld-video-player.light.js +307 -46341
  8. package/dist/cld-video-player.light.min.js +4 -5
  9. package/dist/cld-video-player.min.css +3 -4
  10. package/dist/cld-video-player.min.js +4 -5
  11. package/dist/colors.js +13 -67
  12. package/dist/colors.min.js +3 -4
  13. package/dist/dash.js +15 -69999
  14. package/dist/dash.min.js +3 -4
  15. package/dist/debug.js +17 -378
  16. package/dist/debug.min.js +3 -4
  17. package/dist/ima.js +24 -7049
  18. package/dist/ima.min.js +3 -4
  19. package/dist/interaction-areas.js +20 -640
  20. package/dist/interaction-areas.min.js +3 -4
  21. package/dist/node_modules_lodash_throttle_js.js +17 -395
  22. package/dist/playlist.js +40 -1504
  23. package/dist/playlist.min.js +3 -4
  24. package/dist/recommendations-overlay.js +19 -391
  25. package/dist/recommendations-overlay.min.js +3 -4
  26. package/dist/share.js +14 -195
  27. package/dist/share.min.js +3 -4
  28. package/dist/shoppable.js +21 -762
  29. package/dist/shoppable.min.js +3 -4
  30. package/dist/srt-text-tracks.js +13 -189
  31. package/dist/srt-text-tracks.min.js +3 -4
  32. package/dist/visual-search.js +16 -271
  33. package/dist/visual-search.min.js +3 -4
  34. package/lib/adaptive-streaming.js +1 -2
  35. package/lib/all.js +1 -2
  36. package/lib/chapters.js +1 -2
  37. package/lib/cld-video-player.js +1 -2
  38. package/lib/cld-video-player.min.css +1 -3
  39. package/lib/colors.js +1 -2
  40. package/lib/dash.js +1 -2
  41. package/lib/debug.js +1 -2
  42. package/lib/ima.js +1 -2
  43. package/lib/interaction-areas.js +1 -2
  44. package/lib/player.js +1 -2
  45. package/lib/playlist.js +1 -2
  46. package/lib/recommendations-overlay.js +1 -2
  47. package/lib/share.js +1 -2
  48. package/lib/shoppable.js +1 -2
  49. package/lib/srt-text-tracks.js +1 -2
  50. package/lib/videoPlayer.js +1 -2
  51. package/lib/visual-search.js +1 -2
  52. package/package.json +2 -3
@@ -1,7 +1,6 @@
1
1
  /*!
2
- * Cloudinary Video Player v3.1.2-edge.3
3
- * Built on 2025-08-06T14:15:21.113Z
2
+ * Cloudinary Video Player v3.1.2-edge.5
3
+ * Built on 2025-08-11T13:52:35.188Z
4
4
  * https://github.com/cloudinary/cloudinary-video-player
5
5
  */
6
- (self.cloudinaryVideoPlayerChunkLoading=self.cloudinaryVideoPlayerChunkLoading||[]).push([[404,691],{9454:(t,e,o)=>{"use strict";o.d(e,{default:()=>a,w:()=>r});var n=o(8838);const i={colorsDark:{base:"#000000",accent:"#0D9AFF",text:"#FFFFFF"},colorsLight:{base:"#FFFFFF",accent:"#0D9AFF",text:"#000000"}},r=t=>(0,n.T4)(t)?i.colorsLight:i.colorsDark,a=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const o=r(t.options_);e.colors=Object.assign({},o,e.colors);const n=t.el();return e.colors.base&&n.style.setProperty("--color-base",e.colors.base),e.colors.accent&&n.style.setProperty("--color-accent",e.colors.accent),e.colors.text&&n.style.setProperty("--color-text",e.colors.text),{updateColors:t=>{const o=Object.assign({},e.colors,t);o.base&&n.style.setProperty("--color-base",o.base),o.accent&&n.style.setProperty("--color-accent",o.accent),o.text&&n.style.setProperty("--color-text",o.text),e.colors=o},getColors:()=>e.colors}}},9017:(t,e,o)=>{"use strict";o.d(e,{F0:()=>a,Fg:()=>r,IT:()=>s,T$:()=>l,Vv:()=>d,Yx:()=>c,be:()=>i,q3:()=>u,sb:()=>n});const n="cld-ia-layout-state",i="vp-ia",r="interaction-areas-container",a={PORTRAIT:"portrait",LANDSCAPE:"landscape",All:"all",CENTER:"center"},s={PULSING:"pulsing",SHADOWED:"shadowed"},c={[a.PORTRAIT]:"https://res.cloudinary.com/prod/raw/upload/v1623772481/video-player/vtts/portrait.vtt",[a.LANDSCAPE]:"https://res.cloudinary.com/prod/raw/upload/v1623772303/video-player/vtts/landscape.vtt",[a.All]:"https://res.cloudinary.com/prod/raw/upload/v1623250266/video-player/vtts/all.vtt",[a.CENTER]:"https://res.cloudinary.com/prod/raw/upload/v1623250265/video-player/vtts/center.vtt"},l="https://res.cloudinary.com/prod/image/upload/v1626764643/video-player/interaction-area-hand.svg",d=4500,u=250},1066:(t,e,o)=>{"use strict";o.d(e,{interactionAreasService:()=>C});var n=o(6673),i=o.n(n),r=o(2832),a=o.n(r),s=o(2858),c=o.n(s),l=o(5114),d=o.n(l),u=o(9017),v=o(7134),p=o(9454);const h=t=>{let{text:e,onClick:o,theme:n="",loadingDelay:i=0}=t;return(0,v.It)({tag:"button",attr:{class:`vp-theme-button theme-${n}`},onClick:o,children:[{tag:"div",attr:{class:"vp-loading-bar"},style:{"animation-duration":`${i}ms`}},{tag:"div",attr:{class:"content"},children:e}]})},f="transparent-white",m=(t,e)=>t.id||t.type||`id_${e}`,g=(t,e,o,n,i)=>{let{playerOptions:r,videojsOptions:s}=t;const c=(0,p.w)(s),l=r&&r.colors?r.colors.accent:c.accent,d=a()(s,"interactionDisplay.theme.template",u.IT.PULSING);return(0,v.It)({tag:"div",attr:{class:`${u.be}-item theme-${d}`,"data-id":m(e,o)},style:{left:`${e.left}%`,top:`${e.top}%`,width:`${e.width}%`,height:`${e.height}%`,transitionDuration:`${n}ms`},event:{name:"click",callback:i},children:[{tag:"div",attr:{class:`${u.be}-area-marker`},children:[{tag:"div",attr:{class:`${u.be}-marker-shadow`},style:{[d===u.IT.SHADOWED?"backgroundColor":"borderColor"]:l}},{tag:"div",attr:{class:`${u.be}-marker-main`},style:{borderColor:l}}]}]})},y=(t,e)=>t/(100/+e),b=(t,e)=>{const o=$(t);o?o.replaceWith(e):t.el().appendChild(e)},x=(t,e,o)=>t.querySelector(`[data-id=${m(e,o)}]`),T=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d();localStorage.setItem(u.sb,JSON.parse(t)),e()},$=t=>t.el().querySelector(`.${u.Fg}`),w=t=>{const e=$(t);e&&e.parentNode.removeChild(e)};var E=o(8838),k=o(1104);const C=(t,e,o)=>{let n=!1,r=null,s=null,l=d();const p=()=>{return t=o.interactionDisplay,a()(t,"layout.enable",!0)&&"true"!==localStorage.getItem(u.sb);var t},C=()=>{const t=A();return!(!t||void 0===t.syncOffsetTime)&&t.syncOffsetTime};function j(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const e=A();return t||e&&e.enable}function D(){s&&t.videojs.removeRemoteTextTrack(s);const e=j(),o=A();if(!e||n)return null;if(Array.isArray(o.template))L(o.template),N();else{const e=o.vttUrl||u.Yx[o.template];e&&(s=(0,E.eo)(t.videojs,e),function(e){if(!e)return;let o=null;e.addEventListener("cuechange",(()=>{const n=e.activeCues&&e.activeCues[0];if(n){const t=Math.max(Math.floor(1e3*(n.endTime-n.startTime)),u.q3),e=JSON.parse(n.text);L(e,o,t),!o&&N(),o=e}else w(t.videojs),o=null}))}(s))}}function A(){const{cldSrc:t}=r;return t&&t.interactionAreas()}function F(){w(t.videojs),D(),t.play()}function O(){if(j())if(p()){let e=null;const n=a()(o,"interactionDisplay.layout.showAgain",!1);t.pause(),function(t,e){let o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=!1;const i=`checkbox_${Math.round(1e4*Math.random())}`,r=(0,v.It)({tag:"div",attr:{class:`${u.Fg} ${u.be}-layout-message ${o?"":"clickable"}`},onClick:o?null:()=>T(n,e),children:[{tag:"img",attr:{class:`${u.be}-layout-icon`,src:u.T$}},{tag:"h3",attr:{class:`${u.be}-layout-message-title`},children:"Tap on dots to zoom for a product."},h({text:"Got it",theme:f,loadingDelay:o?0:u.Vv,onClick:o?()=>T(n,e):null}),o&&{tag:"div",attr:{class:`${u.be}-layout-message-do-not-show`},children:[{tag:"input",attr:{type:"checkbox",class:`${u.be}-layout-message-checkbox`,id:i},event:{name:"input",callback:t=>{n=t.target.checked}}},{tag:"label",attr:{class:`${u.be}-layout-message-checkbox-title`,for:i},children:"Don׳t show it again"}]}].filter((t=>t))});b(t,r)}(t.videojs,(()=>{clearTimeout(e),F()}),n),n||(e=setTimeout(F,u.Vv))}else F()}function S(e,o,a){const s=t.currentTime(),c=C(),{cldSrc:d}=r,p=d.getInitOptions(),h=o||{transformation:p.transformation},f=!e&&((t,e)=>{const{videoHeight:o,videoWidth:n}=t,i=y(n,e.left),r=y(o,e.top),a=y(n,e.width),s=y(o,e.height),c=n/o,l=a/s,d=Math.round(l>1||c>1?s*l:a),u=Math.round(d/c),v=Math.round(i-(d-a)/2),p=Math.round(r-(u-s)/2);return{width:d,height:u,x:Math.min(Math.max(v,0),n-d),y:Math.min(Math.max(p,0),o-u),crop:"crop"}})(t.videoElement,a),m=f?i().obj.merge({transformation:f},h):h,g=d.isRawUrl?r.src:{publicId:d.publicId()};t.source(f?{publicId:d.publicId()}:e,m).play(),c&&t.currentTime(s),n=!0,function(){const e=(0,v.n)("div",{class:"go-back-button"});e.addEventListener("click",(()=>{l()}),!1);const o=(0,v.n)("div",{class:u.Fg},e);b(t.videojs,o)}(),l=()=>{if(n){n=!1;const e=t.currentTime(),o=t.duration();t.source(g,p).play(),c&&e<o&&t.currentTime(e),D()}}}function I(t){let{event:e,item:o,index:n}=t;const i=A();i.onClick&&i.onClick({item:o,index:n,event:e,zoom:(t,e)=>{S(t,e,o)}})}function L(n,i){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const a={playerOptions:e,videojsOptions:o};if(i)((t,e,o,n,i,r)=>{const a=$(t);o.forEach(((t,o)=>{const s=x(a,t,o),c=m(t),l=n.some((t=>m(t)===c));l&&s?(0,v.cu)(s,{left:`${t.left}%`,top:`${t.top}%`,width:`${t.width}%`,height:`${t.height}%`,transitionDuration:`${i}ms`}):l||s||a.appendChild(g(e,t,o,i,(e=>{r({event:e,item:t,index:o})})))})),n.forEach(((t,e)=>{const n=x(a,t,e),i=m(t),r=!o.some((t=>m(t)===i));n&&r&&n.parentNode.removeChild(n)}))})(t.videojs,a,n,i,r,I);else{const e=n.map(((t,e)=>g(a,t,e,r,(o=>{I({event:o,item:t,index:e})}))));b(t.videojs,(0,v.n)("div",{class:u.Fg},e))}}function N(){j()&&((t,e)=>{const o=$(t);if(!o)return;const{videoHeight:n,videoWidth:i}=e,r=i/n,a=r*e.clientHeight;o.style.width=`${e.clientWidth<a?"100%":a}px`,o.style.height=e.clientWidth<a?e.clientWidth/r+"px":"100%"})(t.videojs,t.videoElement)}!function(){if(r=r||t.videojs.currentSource(),j()){t.videojs.el().classList.add("interaction-areas"),t.videojs.one(k.f.PLAY,(()=>{"object"==typeof t.videojs.ima?t.on("adsready",(()=>{t.videojs.ima.addEventListener(window.google.ima.AdEvent.Type.ALL_ADS_COMPLETED,O)})):O()}));const e=c()(N,100);t.videojs.on(k.f.FULL_SCREEN_CHANGE,(()=>{setTimeout(e,100)}));const o=(0,v.q2)(window,"resize",N,!1);t.videojs.on(k.f.DISPOSE,o)}t.videojs.on(k.f.ENDED,(()=>{l()})),t.videojs.on(k.f.ERROR,(()=>{t.pause()}))}()}},8812:(t,e,o)=>{var n=o(2140),i=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(i,""):t}},2140:t=>{var e=/\s/;t.exports=function(t){for(var o=t.length;o--&&e.test(t.charAt(o)););return o}},6177:(t,e,o)=>{var n=o(8953),i=o(3664),r=o(5378),a=Math.max,s=Math.min;t.exports=function(t,e,o){var c,l,d,u,v,p,h=0,f=!1,m=!1,g=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function y(e){var o=c,n=l;return c=l=void 0,h=e,u=t.apply(n,o)}function b(t){var o=t-p;return void 0===p||o>=e||o<0||m&&t-h>=d}function x(){var t=i();if(b(t))return T(t);v=setTimeout(x,function(t){var o=e-(t-p);return m?s(o,d-(t-h)):o}(t))}function T(t){return v=void 0,g&&c?y(t):(c=l=void 0,u)}function $(){var t=i(),o=b(t);if(c=arguments,l=this,p=t,o){if(void 0===v)return function(t){return h=t,v=setTimeout(x,e),f?y(t):u}(p);if(m)return clearTimeout(v),v=setTimeout(x,e),y(p)}return void 0===v&&(v=setTimeout(x,e)),u}return e=r(e)||0,n(o)&&(f=!!o.leading,d=(m="maxWait"in o)?a(r(o.maxWait)||0,e):d,g="trailing"in o?!!o.trailing:g),$.cancel=function(){void 0!==v&&clearTimeout(v),h=0,c=p=l=v=void 0},$.flush=function(){return void 0===v?u:T(i())},$}},5114:t=>{t.exports=function(){}},3664:(t,e,o)=>{var n=o(1433);t.exports=function(){return n.Date.now()}},2858:(t,e,o)=>{var n=o(6177),i=o(8953);t.exports=function(t,e,o){var r=!0,a=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return i(o)&&(r="leading"in o?!!o.leading:r,a="trailing"in o?!!o.trailing:a),n(t,e,{leading:r,maxWait:e,trailing:a})}},5378:(t,e,o)=>{var n=o(8812),i=o(8953),r=o(5414),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(r(t))return NaN;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var o=s.test(t);return o||c.test(t)?l(t.slice(2),o?2:8):a.test(t)?NaN:+t}}}]);
7
- //# sourceMappingURL=interaction-areas.min.js.map
6
+ (self.cloudinaryVideoPlayerChunkLoading=self.cloudinaryVideoPlayerChunkLoading||[]).push([[404,691],{9454:(t,e,o)=>{"use strict";o.d(e,{default:()=>a,w:()=>r});var n=o(8838);const i={colorsDark:{base:"#000000",accent:"#0D9AFF",text:"#FFFFFF"},colorsLight:{base:"#FFFFFF",accent:"#0D9AFF",text:"#000000"}},r=t=>(0,n.T4)(t)?i.colorsLight:i.colorsDark,a=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const o=r(t.options_);e.colors=Object.assign({},o,e.colors);const n=t.el();return e.colors.base&&n.style.setProperty("--color-base",e.colors.base),e.colors.accent&&n.style.setProperty("--color-accent",e.colors.accent),e.colors.text&&n.style.setProperty("--color-text",e.colors.text),{updateColors:t=>{const o=Object.assign({},e.colors,t);o.base&&n.style.setProperty("--color-base",o.base),o.accent&&n.style.setProperty("--color-accent",o.accent),o.text&&n.style.setProperty("--color-text",o.text),e.colors=o},getColors:()=>e.colors}}},9017:(t,e,o)=>{"use strict";o.d(e,{F0:()=>a,Fg:()=>r,IT:()=>s,T$:()=>l,Vv:()=>d,Yx:()=>c,be:()=>i,q3:()=>u,sb:()=>n});const n="cld-ia-layout-state",i="vp-ia",r="interaction-areas-container",a={PORTRAIT:"portrait",LANDSCAPE:"landscape",All:"all",CENTER:"center"},s={PULSING:"pulsing",SHADOWED:"shadowed"},c={[a.PORTRAIT]:"https://res.cloudinary.com/prod/raw/upload/v1623772481/video-player/vtts/portrait.vtt",[a.LANDSCAPE]:"https://res.cloudinary.com/prod/raw/upload/v1623772303/video-player/vtts/landscape.vtt",[a.All]:"https://res.cloudinary.com/prod/raw/upload/v1623250266/video-player/vtts/all.vtt",[a.CENTER]:"https://res.cloudinary.com/prod/raw/upload/v1623250265/video-player/vtts/center.vtt"},l="https://res.cloudinary.com/prod/image/upload/v1626764643/video-player/interaction-area-hand.svg",d=4500,u=250},1066:(t,e,o)=>{"use strict";o.d(e,{interactionAreasService:()=>C});var n=o(6673),i=o.n(n),r=o(2832),a=o.n(r),s=o(2858),c=o.n(s),l=o(5114),d=o.n(l),u=o(9017),v=o(7134),p=o(9454);const h=t=>{let{text:e,onClick:o,theme:n="",loadingDelay:i=0}=t;return(0,v.It)({tag:"button",attr:{class:`vp-theme-button theme-${n}`},onClick:o,children:[{tag:"div",attr:{class:"vp-loading-bar"},style:{"animation-duration":`${i}ms`}},{tag:"div",attr:{class:"content"},children:e}]})},f="transparent-white",m=(t,e)=>t.id||t.type||`id_${e}`,g=(t,e,o,n,i)=>{let{playerOptions:r,videojsOptions:s}=t;const c=(0,p.w)(s),l=r&&r.colors?r.colors.accent:c.accent,d=a()(s,"interactionDisplay.theme.template",u.IT.PULSING);return(0,v.It)({tag:"div",attr:{class:`${u.be}-item theme-${d}`,"data-id":m(e,o)},style:{left:`${e.left}%`,top:`${e.top}%`,width:`${e.width}%`,height:`${e.height}%`,transitionDuration:`${n}ms`},event:{name:"click",callback:i},children:[{tag:"div",attr:{class:`${u.be}-area-marker`},children:[{tag:"div",attr:{class:`${u.be}-marker-shadow`},style:{[d===u.IT.SHADOWED?"backgroundColor":"borderColor"]:l}},{tag:"div",attr:{class:`${u.be}-marker-main`},style:{borderColor:l}}]}]})},y=(t,e)=>t/(100/+e),b=(t,e)=>{const o=$(t);o?o.replaceWith(e):t.el().appendChild(e)},x=(t,e,o)=>t.querySelector(`[data-id=${m(e,o)}]`),T=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d();localStorage.setItem(u.sb,JSON.parse(t)),e()},$=t=>t.el().querySelector(`.${u.Fg}`),w=t=>{const e=$(t);e&&e.parentNode.removeChild(e)};var E=o(8838),k=o(1104);const C=(t,e,o)=>{let n=!1,r=null,s=null,l=d();const p=()=>{return t=o.interactionDisplay,a()(t,"layout.enable",!0)&&"true"!==localStorage.getItem(u.sb);var t},C=()=>{const t=A();return!(!t||void 0===t.syncOffsetTime)&&t.syncOffsetTime};function j(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const e=A();return t||e&&e.enable}function D(){s&&t.videojs.removeRemoteTextTrack(s);const e=j(),o=A();if(!e||n)return null;if(Array.isArray(o.template))L(o.template),N();else{const e=o.vttUrl||u.Yx[o.template];e&&(s=(0,E.eo)(t.videojs,e),function(e){if(!e)return;let o=null;e.addEventListener("cuechange",(()=>{const n=e.activeCues&&e.activeCues[0];if(n){const t=Math.max(Math.floor(1e3*(n.endTime-n.startTime)),u.q3),e=JSON.parse(n.text);L(e,o,t),!o&&N(),o=e}else w(t.videojs),o=null}))}(s))}}function A(){const{cldSrc:t}=r;return t&&t.interactionAreas()}function F(){w(t.videojs),D(),t.play()}function O(){if(j())if(p()){let e=null;const n=a()(o,"interactionDisplay.layout.showAgain",!1);t.pause(),function(t,e){let o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=!1;const i=`checkbox_${Math.round(1e4*Math.random())}`,r=(0,v.It)({tag:"div",attr:{class:`${u.Fg} ${u.be}-layout-message ${o?"":"clickable"}`},onClick:o?null:()=>T(n,e),children:[{tag:"img",attr:{class:`${u.be}-layout-icon`,src:u.T$}},{tag:"h3",attr:{class:`${u.be}-layout-message-title`},children:"Tap on dots to zoom for a product."},h({text:"Got it",theme:f,loadingDelay:o?0:u.Vv,onClick:o?()=>T(n,e):null}),o&&{tag:"div",attr:{class:`${u.be}-layout-message-do-not-show`},children:[{tag:"input",attr:{type:"checkbox",class:`${u.be}-layout-message-checkbox`,id:i},event:{name:"input",callback:t=>{n=t.target.checked}}},{tag:"label",attr:{class:`${u.be}-layout-message-checkbox-title`,for:i},children:"Don׳t show it again"}]}].filter((t=>t))});b(t,r)}(t.videojs,(()=>{clearTimeout(e),F()}),n),n||(e=setTimeout(F,u.Vv))}else F()}function S(e,o,a){const s=t.currentTime(),c=C(),{cldSrc:d}=r,p=d.getInitOptions(),h=o||{transformation:p.transformation},f=!e&&((t,e)=>{const{videoHeight:o,videoWidth:n}=t,i=y(n,e.left),r=y(o,e.top),a=y(n,e.width),s=y(o,e.height),c=n/o,l=a/s,d=Math.round(l>1||c>1?s*l:a),u=Math.round(d/c),v=Math.round(i-(d-a)/2),p=Math.round(r-(u-s)/2);return{width:d,height:u,x:Math.min(Math.max(v,0),n-d),y:Math.min(Math.max(p,0),o-u),crop:"crop"}})(t.videoElement,a),m=f?i().obj.merge({transformation:f},h):h,g=d.isRawUrl?r.src:{publicId:d.publicId()};t.source(f?{publicId:d.publicId()}:e,m).play(),c&&t.currentTime(s),n=!0,function(){const e=(0,v.n)("div",{class:"go-back-button"});e.addEventListener("click",(()=>{l()}),!1);const o=(0,v.n)("div",{class:u.Fg},e);b(t.videojs,o)}(),l=()=>{if(n){n=!1;const e=t.currentTime(),o=t.duration();t.source(g,p).play(),c&&e<o&&t.currentTime(e),D()}}}function I(t){let{event:e,item:o,index:n}=t;const i=A();i.onClick&&i.onClick({item:o,index:n,event:e,zoom:(t,e)=>{S(t,e,o)}})}function L(n,i){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const a={playerOptions:e,videojsOptions:o};if(i)((t,e,o,n,i,r)=>{const a=$(t);o.forEach(((t,o)=>{const s=x(a,t,o),c=m(t),l=n.some((t=>m(t)===c));l&&s?(0,v.cu)(s,{left:`${t.left}%`,top:`${t.top}%`,width:`${t.width}%`,height:`${t.height}%`,transitionDuration:`${i}ms`}):l||s||a.appendChild(g(e,t,o,i,(e=>{r({event:e,item:t,index:o})})))})),n.forEach(((t,e)=>{const n=x(a,t,e),i=m(t),r=!o.some((t=>m(t)===i));n&&r&&n.parentNode.removeChild(n)}))})(t.videojs,a,n,i,r,I);else{const e=n.map(((t,e)=>g(a,t,e,r,(o=>{I({event:o,item:t,index:e})}))));b(t.videojs,(0,v.n)("div",{class:u.Fg},e))}}function N(){j()&&((t,e)=>{const o=$(t);if(!o)return;const{videoHeight:n,videoWidth:i}=e,r=i/n,a=r*e.clientHeight;o.style.width=`${e.clientWidth<a?"100%":a}px`,o.style.height=e.clientWidth<a?e.clientWidth/r+"px":"100%"})(t.videojs,t.videoElement)}!function(){if(r=r||t.videojs.currentSource(),j()){t.videojs.el().classList.add("interaction-areas"),t.videojs.one(k.f.PLAY,(()=>{"object"==typeof t.videojs.ima?t.on("adsready",(()=>{t.videojs.ima.addEventListener(window.google.ima.AdEvent.Type.ALL_ADS_COMPLETED,O)})):O()}));const e=c()(N,100);t.videojs.on(k.f.FULL_SCREEN_CHANGE,(()=>{setTimeout(e,100)}));const o=(0,v.q2)(window,"resize",N,!1);t.videojs.on(k.f.DISPOSE,o)}t.videojs.on(k.f.ENDED,(()=>{l()})),t.videojs.on(k.f.ERROR,(()=>{t.pause()}))}()}},8812:(t,e,o)=>{var n=o(2140),i=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(i,""):t}},2140:t=>{var e=/\s/;t.exports=function(t){for(var o=t.length;o--&&e.test(t.charAt(o)););return o}},6177:(t,e,o)=>{var n=o(8953),i=o(3664),r=o(5378),a=Math.max,s=Math.min;t.exports=function(t,e,o){var c,l,d,u,v,p,h=0,f=!1,m=!1,g=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function y(e){var o=c,n=l;return c=l=void 0,h=e,u=t.apply(n,o)}function b(t){var o=t-p;return void 0===p||o>=e||o<0||m&&t-h>=d}function x(){var t=i();if(b(t))return T(t);v=setTimeout(x,function(t){var o=e-(t-p);return m?s(o,d-(t-h)):o}(t))}function T(t){return v=void 0,g&&c?y(t):(c=l=void 0,u)}function $(){var t=i(),o=b(t);if(c=arguments,l=this,p=t,o){if(void 0===v)return function(t){return h=t,v=setTimeout(x,e),f?y(t):u}(p);if(m)return clearTimeout(v),v=setTimeout(x,e),y(p)}return void 0===v&&(v=setTimeout(x,e)),u}return e=r(e)||0,n(o)&&(f=!!o.leading,d=(m="maxWait"in o)?a(r(o.maxWait)||0,e):d,g="trailing"in o?!!o.trailing:g),$.cancel=function(){void 0!==v&&clearTimeout(v),h=0,c=p=l=v=void 0},$.flush=function(){return void 0===v?u:T(i())},$}},5114:t=>{t.exports=function(){}},3664:(t,e,o)=>{var n=o(1433);t.exports=function(){return n.Date.now()}},2858:(t,e,o)=>{var n=o(6177),i=o(8953);t.exports=function(t,e,o){var r=!0,a=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return i(o)&&(r="leading"in o?!!o.leading:r,a="trailing"in o?!!o.trailing:a),n(t,e,{leading:r,maxWait:e,trailing:a})}},5378:(t,e,o)=>{var n=o(8812),i=o(8953),r=o(5414),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(r(t))return NaN;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var o=s.test(t);return o||c.test(t)?l(t.slice(2),o?2:8):a.test(t)?NaN:+t}}}]);
@@ -1,8 +1,16 @@
1
1
  /*!
2
- * Cloudinary Video Player v3.1.2-edge.3
3
- * Built on 2025-08-06T14:15:40.534Z
2
+ * Cloudinary Video Player v3.1.2-edge.5
3
+ * Built on 2025-08-11T13:52:54.173Z
4
4
  * https://github.com/cloudinary/cloudinary-video-player
5
5
  */
6
+ /*
7
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
8
+ * This devtool is neither made for production nor for readable output files.
9
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
10
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
11
+ * or disable the default devtool with "devtool: false".
12
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
13
+ */
6
14
  (self["cloudinaryVideoPlayerChunkLoading"] = self["cloudinaryVideoPlayerChunkLoading"] || []).push([["node_modules_lodash_throttle_js"],{
7
15
 
8
16
  /***/ "../node_modules/lodash/_baseTrim.js":
@@ -11,26 +19,7 @@
11
19
  \*******************************************/
12
20
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
13
21
 
14
- var trimmedEndIndex = __webpack_require__(/*! ./_trimmedEndIndex */ "../node_modules/lodash/_trimmedEndIndex.js");
15
-
16
- /** Used to match leading whitespace. */
17
- var reTrimStart = /^\s+/;
18
-
19
- /**
20
- * The base implementation of `_.trim`.
21
- *
22
- * @private
23
- * @param {string} string The string to trim.
24
- * @returns {string} Returns the trimmed string.
25
- */
26
- function baseTrim(string) {
27
- return string
28
- ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')
29
- : string;
30
- }
31
-
32
- module.exports = baseTrim;
33
-
22
+ eval("var trimmedEndIndex = __webpack_require__(/*! ./_trimmedEndIndex */ \"../node_modules/lodash/_trimmedEndIndex.js\");\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n\n\n//# sourceURL=webpack://cloudinary-video-player/../node_modules/lodash/_baseTrim.js?");
34
23
 
35
24
  /***/ }),
36
25
 
@@ -40,26 +29,7 @@ module.exports = baseTrim;
40
29
  \**************************************************/
41
30
  /***/ ((module) => {
42
31
 
43
- /** Used to match a single whitespace character. */
44
- var reWhitespace = /\s/;
45
-
46
- /**
47
- * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
48
- * character of `string`.
49
- *
50
- * @private
51
- * @param {string} string The string to inspect.
52
- * @returns {number} Returns the index of the last non-whitespace character.
53
- */
54
- function trimmedEndIndex(string) {
55
- var index = string.length;
56
-
57
- while (index-- && reWhitespace.test(string.charAt(index))) {}
58
- return index;
59
- }
60
-
61
- module.exports = trimmedEndIndex;
62
-
32
+ eval("/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n\n\n//# sourceURL=webpack://cloudinary-video-player/../node_modules/lodash/_trimmedEndIndex.js?");
63
33
 
64
34
  /***/ }),
65
35
 
@@ -69,198 +39,7 @@ module.exports = trimmedEndIndex;
69
39
  \******************************************/
70
40
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
71
41
 
72
- var isObject = __webpack_require__(/*! ./isObject */ "../node_modules/lodash/isObject.js"),
73
- now = __webpack_require__(/*! ./now */ "../node_modules/lodash/now.js"),
74
- toNumber = __webpack_require__(/*! ./toNumber */ "../node_modules/lodash/toNumber.js");
75
-
76
- /** Error message constants. */
77
- var FUNC_ERROR_TEXT = 'Expected a function';
78
-
79
- /* Built-in method references for those with the same name as other `lodash` methods. */
80
- var nativeMax = Math.max,
81
- nativeMin = Math.min;
82
-
83
- /**
84
- * Creates a debounced function that delays invoking `func` until after `wait`
85
- * milliseconds have elapsed since the last time the debounced function was
86
- * invoked. The debounced function comes with a `cancel` method to cancel
87
- * delayed `func` invocations and a `flush` method to immediately invoke them.
88
- * Provide `options` to indicate whether `func` should be invoked on the
89
- * leading and/or trailing edge of the `wait` timeout. The `func` is invoked
90
- * with the last arguments provided to the debounced function. Subsequent
91
- * calls to the debounced function return the result of the last `func`
92
- * invocation.
93
- *
94
- * **Note:** If `leading` and `trailing` options are `true`, `func` is
95
- * invoked on the trailing edge of the timeout only if the debounced function
96
- * is invoked more than once during the `wait` timeout.
97
- *
98
- * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
99
- * until to the next tick, similar to `setTimeout` with a timeout of `0`.
100
- *
101
- * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
102
- * for details over the differences between `_.debounce` and `_.throttle`.
103
- *
104
- * @static
105
- * @memberOf _
106
- * @since 0.1.0
107
- * @category Function
108
- * @param {Function} func The function to debounce.
109
- * @param {number} [wait=0] The number of milliseconds to delay.
110
- * @param {Object} [options={}] The options object.
111
- * @param {boolean} [options.leading=false]
112
- * Specify invoking on the leading edge of the timeout.
113
- * @param {number} [options.maxWait]
114
- * The maximum time `func` is allowed to be delayed before it's invoked.
115
- * @param {boolean} [options.trailing=true]
116
- * Specify invoking on the trailing edge of the timeout.
117
- * @returns {Function} Returns the new debounced function.
118
- * @example
119
- *
120
- * // Avoid costly calculations while the window size is in flux.
121
- * jQuery(window).on('resize', _.debounce(calculateLayout, 150));
122
- *
123
- * // Invoke `sendMail` when clicked, debouncing subsequent calls.
124
- * jQuery(element).on('click', _.debounce(sendMail, 300, {
125
- * 'leading': true,
126
- * 'trailing': false
127
- * }));
128
- *
129
- * // Ensure `batchLog` is invoked once after 1 second of debounced calls.
130
- * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
131
- * var source = new EventSource('/stream');
132
- * jQuery(source).on('message', debounced);
133
- *
134
- * // Cancel the trailing debounced invocation.
135
- * jQuery(window).on('popstate', debounced.cancel);
136
- */
137
- function debounce(func, wait, options) {
138
- var lastArgs,
139
- lastThis,
140
- maxWait,
141
- result,
142
- timerId,
143
- lastCallTime,
144
- lastInvokeTime = 0,
145
- leading = false,
146
- maxing = false,
147
- trailing = true;
148
-
149
- if (typeof func != 'function') {
150
- throw new TypeError(FUNC_ERROR_TEXT);
151
- }
152
- wait = toNumber(wait) || 0;
153
- if (isObject(options)) {
154
- leading = !!options.leading;
155
- maxing = 'maxWait' in options;
156
- maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
157
- trailing = 'trailing' in options ? !!options.trailing : trailing;
158
- }
159
-
160
- function invokeFunc(time) {
161
- var args = lastArgs,
162
- thisArg = lastThis;
163
-
164
- lastArgs = lastThis = undefined;
165
- lastInvokeTime = time;
166
- result = func.apply(thisArg, args);
167
- return result;
168
- }
169
-
170
- function leadingEdge(time) {
171
- // Reset any `maxWait` timer.
172
- lastInvokeTime = time;
173
- // Start the timer for the trailing edge.
174
- timerId = setTimeout(timerExpired, wait);
175
- // Invoke the leading edge.
176
- return leading ? invokeFunc(time) : result;
177
- }
178
-
179
- function remainingWait(time) {
180
- var timeSinceLastCall = time - lastCallTime,
181
- timeSinceLastInvoke = time - lastInvokeTime,
182
- timeWaiting = wait - timeSinceLastCall;
183
-
184
- return maxing
185
- ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)
186
- : timeWaiting;
187
- }
188
-
189
- function shouldInvoke(time) {
190
- var timeSinceLastCall = time - lastCallTime,
191
- timeSinceLastInvoke = time - lastInvokeTime;
192
-
193
- // Either this is the first call, activity has stopped and we're at the
194
- // trailing edge, the system time has gone backwards and we're treating
195
- // it as the trailing edge, or we've hit the `maxWait` limit.
196
- return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
197
- (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
198
- }
199
-
200
- function timerExpired() {
201
- var time = now();
202
- if (shouldInvoke(time)) {
203
- return trailingEdge(time);
204
- }
205
- // Restart the timer.
206
- timerId = setTimeout(timerExpired, remainingWait(time));
207
- }
208
-
209
- function trailingEdge(time) {
210
- timerId = undefined;
211
-
212
- // Only invoke if we have `lastArgs` which means `func` has been
213
- // debounced at least once.
214
- if (trailing && lastArgs) {
215
- return invokeFunc(time);
216
- }
217
- lastArgs = lastThis = undefined;
218
- return result;
219
- }
220
-
221
- function cancel() {
222
- if (timerId !== undefined) {
223
- clearTimeout(timerId);
224
- }
225
- lastInvokeTime = 0;
226
- lastArgs = lastCallTime = lastThis = timerId = undefined;
227
- }
228
-
229
- function flush() {
230
- return timerId === undefined ? result : trailingEdge(now());
231
- }
232
-
233
- function debounced() {
234
- var time = now(),
235
- isInvoking = shouldInvoke(time);
236
-
237
- lastArgs = arguments;
238
- lastThis = this;
239
- lastCallTime = time;
240
-
241
- if (isInvoking) {
242
- if (timerId === undefined) {
243
- return leadingEdge(lastCallTime);
244
- }
245
- if (maxing) {
246
- // Handle invocations in a tight loop.
247
- clearTimeout(timerId);
248
- timerId = setTimeout(timerExpired, wait);
249
- return invokeFunc(lastCallTime);
250
- }
251
- }
252
- if (timerId === undefined) {
253
- timerId = setTimeout(timerExpired, wait);
254
- }
255
- return result;
256
- }
257
- debounced.cancel = cancel;
258
- debounced.flush = flush;
259
- return debounced;
260
- }
261
-
262
- module.exports = debounce;
263
-
42
+ eval("var isObject = __webpack_require__(/*! ./isObject */ \"../node_modules/lodash/isObject.js\"),\n now = __webpack_require__(/*! ./now */ \"../node_modules/lodash/now.js\"),\n toNumber = __webpack_require__(/*! ./toNumber */ \"../node_modules/lodash/toNumber.js\");\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n\n\n//# sourceURL=webpack://cloudinary-video-player/../node_modules/lodash/debounce.js?");
264
43
 
265
44
  /***/ }),
266
45
 
@@ -270,30 +49,7 @@ module.exports = debounce;
270
49
  \*************************************/
271
50
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
272
51
 
273
- var root = __webpack_require__(/*! ./_root */ "../node_modules/lodash/_root.js");
274
-
275
- /**
276
- * Gets the timestamp of the number of milliseconds that have elapsed since
277
- * the Unix epoch (1 January 1970 00:00:00 UTC).
278
- *
279
- * @static
280
- * @memberOf _
281
- * @since 2.4.0
282
- * @category Date
283
- * @returns {number} Returns the timestamp.
284
- * @example
285
- *
286
- * _.defer(function(stamp) {
287
- * console.log(_.now() - stamp);
288
- * }, _.now());
289
- * // => Logs the number of milliseconds it took for the deferred invocation.
290
- */
291
- var now = function() {
292
- return root.Date.now();
293
- };
294
-
295
- module.exports = now;
296
-
52
+ eval("var root = __webpack_require__(/*! ./_root */ \"../node_modules/lodash/_root.js\");\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n\n\n//# sourceURL=webpack://cloudinary-video-player/../node_modules/lodash/now.js?");
297
53
 
298
54
  /***/ }),
299
55
 
@@ -303,76 +59,7 @@ module.exports = now;
303
59
  \******************************************/
304
60
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
305
61
 
306
- var debounce = __webpack_require__(/*! ./debounce */ "../node_modules/lodash/debounce.js"),
307
- isObject = __webpack_require__(/*! ./isObject */ "../node_modules/lodash/isObject.js");
308
-
309
- /** Error message constants. */
310
- var FUNC_ERROR_TEXT = 'Expected a function';
311
-
312
- /**
313
- * Creates a throttled function that only invokes `func` at most once per
314
- * every `wait` milliseconds. The throttled function comes with a `cancel`
315
- * method to cancel delayed `func` invocations and a `flush` method to
316
- * immediately invoke them. Provide `options` to indicate whether `func`
317
- * should be invoked on the leading and/or trailing edge of the `wait`
318
- * timeout. The `func` is invoked with the last arguments provided to the
319
- * throttled function. Subsequent calls to the throttled function return the
320
- * result of the last `func` invocation.
321
- *
322
- * **Note:** If `leading` and `trailing` options are `true`, `func` is
323
- * invoked on the trailing edge of the timeout only if the throttled function
324
- * is invoked more than once during the `wait` timeout.
325
- *
326
- * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
327
- * until to the next tick, similar to `setTimeout` with a timeout of `0`.
328
- *
329
- * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
330
- * for details over the differences between `_.throttle` and `_.debounce`.
331
- *
332
- * @static
333
- * @memberOf _
334
- * @since 0.1.0
335
- * @category Function
336
- * @param {Function} func The function to throttle.
337
- * @param {number} [wait=0] The number of milliseconds to throttle invocations to.
338
- * @param {Object} [options={}] The options object.
339
- * @param {boolean} [options.leading=true]
340
- * Specify invoking on the leading edge of the timeout.
341
- * @param {boolean} [options.trailing=true]
342
- * Specify invoking on the trailing edge of the timeout.
343
- * @returns {Function} Returns the new throttled function.
344
- * @example
345
- *
346
- * // Avoid excessively updating the position while scrolling.
347
- * jQuery(window).on('scroll', _.throttle(updatePosition, 100));
348
- *
349
- * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.
350
- * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });
351
- * jQuery(element).on('click', throttled);
352
- *
353
- * // Cancel the trailing throttled invocation.
354
- * jQuery(window).on('popstate', throttled.cancel);
355
- */
356
- function throttle(func, wait, options) {
357
- var leading = true,
358
- trailing = true;
359
-
360
- if (typeof func != 'function') {
361
- throw new TypeError(FUNC_ERROR_TEXT);
362
- }
363
- if (isObject(options)) {
364
- leading = 'leading' in options ? !!options.leading : leading;
365
- trailing = 'trailing' in options ? !!options.trailing : trailing;
366
- }
367
- return debounce(func, wait, {
368
- 'leading': leading,
369
- 'maxWait': wait,
370
- 'trailing': trailing
371
- });
372
- }
373
-
374
- module.exports = throttle;
375
-
62
+ eval("var debounce = __webpack_require__(/*! ./debounce */ \"../node_modules/lodash/debounce.js\"),\n isObject = __webpack_require__(/*! ./isObject */ \"../node_modules/lodash/isObject.js\");\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\nmodule.exports = throttle;\n\n\n//# sourceURL=webpack://cloudinary-video-player/../node_modules/lodash/throttle.js?");
376
63
 
377
64
  /***/ }),
378
65
 
@@ -382,73 +69,8 @@ module.exports = throttle;
382
69
  \******************************************/
383
70
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
384
71
 
385
- var baseTrim = __webpack_require__(/*! ./_baseTrim */ "../node_modules/lodash/_baseTrim.js"),
386
- isObject = __webpack_require__(/*! ./isObject */ "../node_modules/lodash/isObject.js"),
387
- isSymbol = __webpack_require__(/*! ./isSymbol */ "../node_modules/lodash/isSymbol.js");
388
-
389
- /** Used as references for various `Number` constants. */
390
- var NAN = 0 / 0;
391
-
392
- /** Used to detect bad signed hexadecimal string values. */
393
- var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
394
-
395
- /** Used to detect binary string values. */
396
- var reIsBinary = /^0b[01]+$/i;
397
-
398
- /** Used to detect octal string values. */
399
- var reIsOctal = /^0o[0-7]+$/i;
400
-
401
- /** Built-in method references without a dependency on `root`. */
402
- var freeParseInt = parseInt;
403
-
404
- /**
405
- * Converts `value` to a number.
406
- *
407
- * @static
408
- * @memberOf _
409
- * @since 4.0.0
410
- * @category Lang
411
- * @param {*} value The value to process.
412
- * @returns {number} Returns the number.
413
- * @example
414
- *
415
- * _.toNumber(3.2);
416
- * // => 3.2
417
- *
418
- * _.toNumber(Number.MIN_VALUE);
419
- * // => 5e-324
420
- *
421
- * _.toNumber(Infinity);
422
- * // => Infinity
423
- *
424
- * _.toNumber('3.2');
425
- * // => 3.2
426
- */
427
- function toNumber(value) {
428
- if (typeof value == 'number') {
429
- return value;
430
- }
431
- if (isSymbol(value)) {
432
- return NAN;
433
- }
434
- if (isObject(value)) {
435
- var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
436
- value = isObject(other) ? (other + '') : other;
437
- }
438
- if (typeof value != 'string') {
439
- return value === 0 ? value : +value;
440
- }
441
- value = baseTrim(value);
442
- var isBinary = reIsBinary.test(value);
443
- return (isBinary || reIsOctal.test(value))
444
- ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
445
- : (reIsBadHex.test(value) ? NAN : +value);
446
- }
447
-
448
- module.exports = toNumber;
449
-
72
+ eval("var baseTrim = __webpack_require__(/*! ./_baseTrim */ \"../node_modules/lodash/_baseTrim.js\"),\n isObject = __webpack_require__(/*! ./isObject */ \"../node_modules/lodash/isObject.js\"),\n isSymbol = __webpack_require__(/*! ./isSymbol */ \"../node_modules/lodash/isSymbol.js\");\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n\n\n//# sourceURL=webpack://cloudinary-video-player/../node_modules/lodash/toNumber.js?");
450
73
 
451
74
  /***/ })
452
75
 
453
- }]);
454
- //# sourceMappingURL=node_modules_lodash_throttle_js.js.map
76
+ }]);