PageSourceSearch

https://www.zeiss.com.au/etc.clientlibs/zeiss-aem-app/jupiter/clie…/VideoLibrary.962320ea9ba9ba8f.chunk.js

js zeiss.com.au collected 2026-09-29 16:05:18 UTC 4,767 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkzeiss_greenfield_aem=self.webpackChunkzeiss_greenfield_aem||[]).push([["82611"],{60550:function(t,e,i){i.d(e,{Z:()=>a});function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,a=Array(e);i<e;i++)a[i]=t[i];return a}},52487:function(t,e,i){i.d(e,{Z:()=>n});var a=i(60550);function n(t,e){if(t){if("string"==typeof t)return(0,a.Z)(t,e);var i=({}).toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?(0,a.Z)(t,e):void 0}}},74270:function(t,e,i){i.r(e),i.d(e,{default:()=>g}),i(31454);var a,n=i(27331),l=i(46932),r=i(89526),o=i(11998),s=i(84892),u=i(28446),c=i(26238);i(12212),i(49193),i(54480),i(67398);var _=i(58273),d=i(89665),h=i(85429),v=i(75373);function f(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(f=function(){return!!t})()}var p='[data-js-select="Slideshow_item"]',m="slideshow__item--blurred",y=function(t){return(null==t?void 0:t.length)===2?t:"0".concat(t)},b=function(t,e,i){if(!t&&!e&&!i)return"";var a="0"!==t?"".concat(y(t),":"):"";return"".concat(a).concat(y(e),":").concat(y(i))};let g=d.lE.register("VideoLibrary")(a=(0,d.Sp)(a=function(t){function e(t){var i,a,n;return(0,l.Z)(this,e),a=e,n=[t],a=(0,u.Z)(a),(i=(0,o.Z)(this,f()?Reflect.construct(a,n||[],(0,u.Z)(this).constructor):a.apply(this,n)))._$root=t,i}return(0,c.Z)(e,t),(0,r.Z)(e,[{key:"connect",value:function(t){(0,s.Z)((0,u.Z)(e.prototype),"connect",this).call(this,t)}},{key:"loaded",value:function(t){var i=this;(0,s.Z)((0,u.Z)(e.prototype),"loaded",this).call(this,t),h.Z.aem_edit_mode||this._$root.addEventListener(_.Vb,function(){return i._init()},!1)}},{key:"disconnect",value:function(t){var i=this;(0,s.Z)((0,u.Z)(e.prototype),"disconnect",this).call(this,t),this.is_loaded&&(this._$thumbnail_area.removeEventListener("scroll",function(){return i._update_thumbnail_visibility_status()}),this._$root.removeEventListener(_.Vb,function(){return i._init()}))}},{key:"_init",value:function(){var t=this;this._$thumbnail_area=this._$root.querySelector('[data-js-select="ThumbnailSlideshow_thumbs-wrapper"]'),this._$root.classList.add("video-library--loaded"),this._update_module(),this._populate_thumbnail_info(),this._$thumbnail_area.addEventListener("scroll",function(){return t._update_thumbnail_visibility_status()}),this.is_loaded=!0}},{key:"resize_observed",value:function(){this.is_loaded&&this._update_module()}},{key:"_update_module",value:function(){h.Z.viewport_width<h.Z.breakpoint_by_name("l")?(this._align_heights(!0),this._update_thumbnail_visibility_status(!0)):(this._align_heights(!1),this._update_thumbnail_visibility_status(!1))}}
1,{key:"_align_heights",value:function(t){var e=this._$root.querySelector('[data-config-reference="main_slideshow"] .swiper-slide-active');if(e)if(t)this._$thumbnail_area.style.height="auto";else{var i,a=null==e||null==(i=e.getBoundingClientRect())?void 0:i.height;this._$thumbnail_area.style.height="".concat(a>0&&void 0!==a?Math.ceil(a)+3:770,"px")}}},{key:"_update_thumbnail_visibility_status",value:function(t){var i,a=this;null==(i=this._$thumbnail_area)||null==(i=i.querySelectorAll(p))||i.forEach(function(i){e._is_fully_visible_in_element(i,a._$thumbnail_area,t)?i.classList.remove(m):i.classList.add(m)})}},{key:"_populate_thumbnail_info",value:function(){var t,i=(0,n.Z)(this._$root.querySelectorAll('[data-js-select="VideoPlayer_settings"]'));i&&(null==(t=this._$thumbnail_area)||null==(t=t.querySelectorAll(p))||t.forEach(function(t,a){var n=i[a];if(n){var l,r,o,s=null==(l=n.dataset)?void 0:l.durationHours,u=null==(r=n.dataset)?void 0:r.durationMinutes,c=null==(o=n.dataset)?void 0:o.durationSeconds;if(s&&""!==s&&"0"!==s||u&&""!==u&&"0"!==u||c&&""!==c&&"0"!==c){var _=b(s,u,c);t.querySelector('[data-js-select="LazyImage_image-container"]').setAttribute("data-duration",_)}t.querySelector('[data-js-select="LazyImage_caption"]')||e._create_caption(n,t)}}))}}],[{key:"_create_caption",value:function(t,e){var i,a=null==(i=t.querySelector('[data-js-select="VideoPlayer_title"] [data-js-select="Headline_main"]'))?void 0:i.innerHTML,n=document.createElement("figcaption"),l=document.createElement("p"),r=document.createElement("span");n.classList.add("lazy-image__figcaption","text--caption"),r.classList.add("lazy-image__caption"),r.setAttribute("data-js-select","LazyImage_caption"),l.innerHTML=a?v.Z.sanitize(a):"",r.appendChild(l),n.appendChild(r),e.querySelector(".lazy-image").appendChild(n)}},{key:"_is_fully_visible_in_element",value:function(t,e,i){var a=t.getBoundingClientRect(),n=e.getBoundingClientRect();return!!i||a.top>=n.top&&a.bottom<=n.bottom}}]),e}(d.hp))||a)||a}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.