1"use strict";(self.webpackChunk_inventis_front_end_boilerplate=self.webpackChunk_inventis_front_end_boilerplate||[]).push([[609,368],{1609:function(e,t,r){r.r(t);var n=r(368);function i(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class o{constructor(e){i(this,"options",{frameSelector:"[data-video-frame]"}),i(this,"element",void 0),i(this,"frameElement",void 0),i(this,"player",null),this.element=e}setup(){this.frameElement=this.element.querySelector(this.options.frameSelector),this.createPlayer()}destroy(){null!==this.player&&this.player.destroy()}async createPlayer(){if("youtube"===this.element.dataset.playerType&&(await(0,n.loadYoutubeAPI)(),this.player=new YT.Player(this.frameElement,{videoId:this.element.dataset.videoId,autoplay:1,cc_load_policy:0,modestbranding:1,rel:0})),"vimeo"===this.element.dataset.playerType){let e=document.createElement("iframe");e.src="https://player.vimeo.com/video/"+this.element.dataset.videoId,e.classList.add("video__frame");let t=this.frameElement.parentNode;t.appendChild(e),t.removeChild(this.frameElement)}}}t.default=e=>{const t=new o(e);return t.setup(),t}},368:function(e,t,r){r.r(t),r.d(t,{loadYoutubeAPI:function(){return a}});let n=!1,i=null,o=null;function a(){if(n)return Promise.resolve();if(!i){const e=document.createElement("script");e.src="https://www.youtube.com/iframe_api";const t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t),i=new Promise((e=>{o=e}))}return i}window.onYouTubeIframeAPIReady=function(){n=!0,o()}}}]);
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.