PageSourceSearch

https://www.ceska-justice.cz/app/themes/media-networks/build/901.js?v=89b853e98c8d5c756b42

js ceska-justice.cz collected 2026-09-24 09:00:49 UTC 6,092 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[901,984],{913:(t,e,i)=>{i.d(e,{h:()=>r});var s=i(873),o=i(442);class r{#t;src=(0,s.O)("");referrerPolicy=null;get iframe(){return this.#t}constructor(t){this.#t=t,t.setAttribute("frameBorder","0"),t.setAttribute("aria-hidden","true"),t.setAttribute("allow","autoplay; fullscreen; encrypted-media; picture-in-picture; accelerometer; gyroscope"),null!==this.referrerPolicy&&t.setAttribute("referrerpolicy",this.referrerPolicy)}setup(){(0,s.k6)(window,"message",this.#e.bind(this)),(0,s.k6)(this.#t,"load",this.onLoad.bind(this)),(0,s.QZ)(this.#i.bind(this))}#i(){const t=this.src();if(!t.length)return void this.#t.setAttribute("src","");const e=(0,s.se)((()=>this.buildParams()));this.#t.setAttribute("src",(0,o.xF)(t,e))}postMessage(t,e){this.#t.contentWindow?.postMessage(JSON.stringify(t),e??"*")}#e(t){const e=this.getOrigin();if(!(null!==t.source&&t.source!==this.#t?.contentWindow||(0,s.Kg)(e)&&e!==t.origin)){try{const e=JSON.parse(t.data);return void(e&&this.onMessage(e,t))}catch(t){}t.data&&this.onMessage(t.data,t)}}}},984:(t,e,i)=>{i.d(e,{findYouTubePoster:()=>n,resolveYouTubeVideoId:()=>a});const s=/(?:youtu\.be|youtube|youtube\.com|youtube-nocookie\.com)\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=|)((?:\w|-){11})/,o=new Map,r=new Map;function a(t){return t.match(s)?.[1]}async function n(t,e){if(o.has(t))return o.get(t);if(r.has(t))return r.get(t);const i=new Promise((async i=>{const s=["maxresdefault","sddefault","hqdefault"];for(const r of s)for(const s of[!0,!1]){const a=c(t,r,s);if((await fetch(a,{mode:"no-cors",signal:e.signal})).status<400)return o.set(t,a),void i(a)}})).catch((()=>"")).finally((()=>r.delete(t)));return r.set(t,i),i}function c(t,e,i){return`https://i.ytimg.com/${i?"vi_webp":"vi"}/${t}/${e}.${i?"webp":"jpg"}`}},901:(t,e,i)=>{i.r(e),i.d(e,{YouTubeProvider:()=>c});var s=i(873),o=i(589),r=i(442),a=i(913),n=i(984);class c extends a.h{$$PROVIDER_TYPE="YOUTUBE";scope=(0,s.Ds)();#s;#o=(0,s.O)("");#r=-1;#a=null;#n=-1;#c=!1;#d=new Map;constructor(t,e){super(t),this.#s=e}language="en";color="red";cookies=!1;get currentSrc(){return this.#a}get type(){return"youtube"}get videoId(){return this.#o()}preconnect(){(0,r.kZ)(this.getOrigin())}setup(){super.setup(),(0,s.QZ)(this.#h.bind(this)),this.#s.notify("provider-setup",this)}destroy(){this.#u();for(const t of this.#d.values())for(const{reject:e}of t)e("provider destroyed");this.#d.clear()}async play(){return this.#l("playVideo")}#g(t){this.#p("playVideo")?.reject(t)}async pause(){return this.#l("pauseVideo")}#m(t){this.#p("pauseVideo")?.reject(t)}setMuted(t){t?this.#l("mute"):this.#l("unMute")}setCurrentTime(t){this.#l("seekTo",t),this.#s.notify("seeking",t)}setVolume(t){this.#l("setVolume",100*t)}setPlaybackRate(t){this.#l("setPlaybackRate",t)}async loadSource(t){if(!(0,s.Kg)(t.src))return this.#a=null,void this.#o.set("");const e=(0,n.resolveYouTubeVideoId)(t.src);this.#o.set(e??""),this.#a=t}getOrigin(){return this.cookies?"https://www.youtube.com":"https://www.youtube-nocookie.com"}#h(){this.#u();const t=this.#o();t?(this.src.set(`${this.getOrigin()}/embed/${t}`),this.#s.notify("load-start")):this.src.set("")}buildParams(){const{keyDisabled:t}=this.#s.$props,{muted:e,playsInline:i,nativeControls:s}=this.#s.$state,o=s();return{autoplay:0,cc_lang_pref:this.language,cc_load_policy:o?1:void 0,color:this.color,controls:o?1:0,disablekb:!o||t()?1:0,enablejsapi:1,fs:1,hl:this.language,iv_load_policy:o?1:3,mute:e()?1:0,playsinline:i()?1:0}}#l(t,e){let i=(0,s.vI)(),o=this.#d.get(t);return o||this.#d.set(t,o=[]),o.push(i),this.postMessage({event:"command",func:t,args:e?[e]:void 0}),i.promise}onLoad(){window.setTimeout((()=>this.postMessage({event:"listening"})),100)}#y(t){this.#s.notify("loaded-metadata"),this.#s.notify("loaded-data"),this.#s.delegate.ready(void 0,t)}#f(t){this.#p("pauseVideo")?.resolve(),this.#s.notify("pause",void 0,t)}#v(t,e){const{duration:i,realCurrentTime:s}=this.#s.$state,o=0===this.#r,r=o?i():t;this.#s.notify("time-change",r,e),!o&&Math.abs(r-s())>1&&this.#s.notify("seeking",r,e)}#b(t,e,i){const s={buffered:new o.zJ(0,t),seekable:e};this.#s.notify("progress",s,i);const{seeking:r,realCurrentTime:a}=this.#s.$state;r()&&t>a()&&this.#k(i)}#k(t){const{paused:e,realCurrentTime:i}=this.#s.$state;window.clearTimeout(this.#n),this.#n=window.setTimeout((()=>{this.#s.notify("seeked",i(),t),this.#n=-1}),e()?100:0)}#w(t){const{seeking:e}=this.#s.$state;e()&&this.#k(t),this.#s.notify("pause",void 0,t),this.#s.notify("end",void 0,t)}#x(t,e){const{paused:i,seeking:s}=this.#s.$state,o=1===t,r=3===t,a=this.#P("playVideo"),n=i()&&(r||o);if(r&&this.#s.notify("waiting",void 0,e),s()&&o&&this.#k(e),this.#c&&o)return this.pause(),this.#c=!1,void this.setMuted(this.#s.$state.muted());if(!a&&n)return this.#c=!0,void this.setMuted(!0);switch(n&&(this.#p("playVideo")?.resolve(),this.#s.notify("play",void 0,e)),t){case 5:this.#y(e);break;case 1:this.#s.notify("playing",void 0,e);break;case 2:this.#f(e);break;case 0:this.#w(e)}this.#r=t}onMessage({info:t},e){if(!t)return;const{title:i,intrinsicDuration:r,playbackRate:a}=this.#s.$state;if((0,s.Gv)(t.videoData)&&t.videoData.title!==i()&&this.#s.notify("title-change",t.videoData.title,e),(0,s.Et)(t.duration)&&t.duration!==r()){if((0,s.Et)(t.videoLoadedFraction)){const i=t.progressState?.loaded??t.videoLoadedFraction*t.duration,s=new o.zJ(0,t.duration);this.#b(i,s,e)}this.#s.notify("duration-change",t.duration,e)}if((0,s.Et)(t.playbackRate)&&t.playbackRate!==a()&&this.#s.notify("rate-change",t.playbackRate,e),t.progressState){const{current:i,seekableStart:s,seekableEnd:a,loaded:n,duration:c}=t.progressState;this.#v(i,e),this.#b(n,new o.zJ(s,a),e),c!==r()&&this.#s.notify("duration-change",c,e)}if((0,s.Et)(t.volume)&&(0,s.Lm)(t.muted)&&!this.#c){const i={muted:t.muted,volume:t.volume/100};this.#s.notify("volume-change",i,e)}(0,s.Et)(t.playerState)&&t.playerState!==this.#r&&this.#x(t.playerState,e)}#u(){this.#r=-1,this.#n=-1,this.#c=!1}#p(t){return this.#d.get(t)?.shift()}#P(t){return Boolean(this.#d.get(t)?.length)}}}}]);

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.