PageSourceSearch

https://artmuseum.pl/_next/static/chunks/4713.66ff3a55c97c4a55.js

js artmuseum.pl collected 2026-09-24 17:45:28 UTC 13,975 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4713,2606],{24713:function(t,e,i){i.r(e),i.d(e,{VimeoProvider:function(){return Z}});var s=i(53359),a=i(10851),n=i(70262),l=i(27938),h=i(12226),r=i(63298),o=i(71911),c=i(13466),u=i(32606);i(2265);let _=["bufferend","bufferstart","durationchange","ended","enterpictureinpicture","error","fullscreenchange","leavepictureinpicture","loaded","playProgress","loadProgress","pause","play","playbackratechange","qualitychange","seeked","seeking","timeupdate","volumechange","waiting"];var d=new WeakMap,f=new WeakMap,v=new WeakMap,p=new WeakMap,k=new WeakMap,g=new WeakMap,w=new WeakMap,y=new WeakMap,b=new WeakMap,m=new WeakMap,W=new WeakMap,S=new WeakMap,M=new WeakSet,P=new WeakSet,V=new WeakSet,$=new WeakSet,T=new WeakMap,A=new WeakSet,C=new WeakSet,E=new WeakSet,q=new WeakSet,I=new WeakSet,O=new WeakSet,R=new WeakSet,x=new WeakSet,N=new WeakSet,j=new WeakSet,Q=new WeakSet,D=new WeakSet,H=new WeakSet,L=new WeakSet,B=new WeakSet,F=new WeakSet,J=new WeakSet,X=new WeakSet,K=new WeakSet,Y=new WeakSet,z=new WeakSet,G=new WeakSet,U=new WeakSet;class Z extends c.w{get type(){return"vimeo"}get currentSrc(){return(0,s._)(this,k)}get videoId(){return(0,s._)(this,f).call(this)}get hash(){return(0,s._)(this,p)}get isPro(){return(0,s._)(this,v).call(this)}preconnect(){(0,o.$P)(this.getOrigin())}setup(){super.setup(),(0,r.effect)((0,l._)(this,M,tt).bind(this)),(0,r.effect)((0,l._)(this,P,te).bind(this)),(0,r.effect)((0,l._)(this,V,ti).bind(this)),(0,s._)(this,d).notify("provider-setup",this)}destroy(){for(let t of((0,l._)(this,G,tM).call(this),this.fullscreen=void 0,(0,s._)(this,W).values()))for(let{reject:e}of t)e("provider destroyed");(0,s._)(this,W).clear(),(0,l._)(this,z,tS).call(this,"destroy")}async play(){return(0,l._)(this,z,tS).call(this,"play")}async pause(){return(0,l._)(this,z,tS).call(this,"pause")}setMuted(t){(0,l._)(this,z,tS).call(this,"setMuted",t)}setCurrentTime(t){(0,l._)(this,z,tS).call(this,"seekTo",t),(0,s._)(this,d).notify("seeking",t)}setVolume(t){(0,l._)(this,z,tS).call(this,"setVolume",t),(0,l._)(this,z,tS).call(this,"setMuted",(0,r.peek)((0,s._)(this,d).$state.muted))}setPlaybackRate(t){(0,l._)(this,z,tS).call(this,"setPlaybackRate",t)}async loadSource(t){if(!(0,r.isString)(t.src)){(0,n._)(this,k,null),(0,n._)(this,p,null),(0,s._)(this,f).set("");return}let{videoId:e,hash:i}=(0,u.resolveVimeoVideoId)(t.src);(0,s._)(this,f).set(null!=e?e:""),(0,n._)(this,p,null!=i?i:null),(0,n._)(this,k,t)}getOrigin(){return"https://player.vimeo.com"}buildParams(){let{keyDisabled:t}=(0,s._)(this,d).$props,{playsInline:e,nativeControls:i}=(0,s._)(this,d).$state,a=i();return{title:this.title,byline:this.byline,color:this.color,portrait:this.portrait,controls:a,h:this.hash,keyboard:a&&!t(),transparent:!0,playsinline:e(),dnt:!this.cookies}}onMessage(t,e){t.event?(0,l._)(this,K,tm).call(this,t.event,t.data,e):t.method&&(0,l._)(this,I,tr).call(this,t.method,t.value,e)}onLoad(){}constructor(t,e){super(t),(0,h._)(this,M),(0,h._)(this,P),(0,h._)(this,V),(0,h._)(this,$),(0,h._)(this,A),(0,h._)(this,C),(0,h._)(this,E),(0,h._)(this,q),(0,h._)(this,I),(0,h._)(this,O),(0,h._)(this,R),(0,h._)(this,x),(0,h._)(this,N),(0,h._)(this,j),(0,h._)(this,Q),(0,h._)(this,D),(0,h._)(this,H),(0,h._)(this,L),(0,h._)(this,B),(0,h._)(this,F),(0,h._)(this,J),(0,h._)(this,X),(0,h._)(this,K),(0,h._)(this,Y),(0,h._)(this,z),(0,h._)(this,G),(0,h._)(this,U),(0,a._)(this,d,{writable:!0,value:void 0}),(0,a._)(this,f,{writable:!0,value:void 0}),(0,a._)(this,v,{writable:!0,value:void 0}),(0,a._)(this,p,{writable:!0,value:void 0}),(0,a._)(this,k,{writable:!0,value:void 0}),(0,a._)(this,g,{writable:!0,value:void 0}),(0,a._)(this,w,{writable:!0,value:void 0}),(0,a._)(this,y,{writable:!0,value:void 0}),(0,a._)(this,b,{writable:!0,value:void 0}),(0,a._)(this,m,{writable:!0,value:void 0}),(0,a._)(this,W,{writable:!0,value:void 0}),(0,a._)(this,S,{writable:!0,value:void 0}),(0,a._)(this,T,{writable:!0,value:void 0}),this.$$PROVIDER_TYPE="VIMEO",this.scope=(0,r.createScope)(),(0,n._)(this,f,(0,r.signal)("")),(0,n._)(this,v,(0,r.signal)(!1)),(0,n._)(this,p,null),(0,n._)(this,k,null),(0,n._)(this,g,!1),(0,n._)(this,w,new o.tn(0,0)),(0,n._)(this,y,new o.LK((0,l._)(this,$,ts).bind(this))),(0,n._)(this,b,null),(0,n._)(this,m,null),(0,n._)(this,W,new Map),(0,n._)(this,S,null),this.cookies=!1,this.title=!0,this.byline=!0,this.portrait=!0,this.color="00ADEF",(0,n._)(this,T,!1),(0,n._)(this,d,e);let i=this;this.fullscreen={get active(){return(0,s._)(i,g)}
1,supported:!0,enter:()=>(0,l._)(this,z,tS).call(this,"requestFullscreen"),exit:()=>(0,l._)(this,z,tS).call(this,"exitFullscreen")}}}function tt(){(0,l._)(this,G,tM).call(this);let t=(0,s._)(this,f).call(this);if(!t){this.src.set("");return}this.src.set("".concat(this.getOrigin(),"/video/").concat(t)),(0,s._)(this,d).notify("load-start")}function te(){let t=(0,s._)(this,f).call(this);if(!t)return;let e=(0,r.deferredPromise)(),i=new AbortController;return(0,n._)(this,S,e),(0,u.getVimeoVideoInfo)(t,i,(0,s._)(this,p)).then(t=>{e.resolve(t)}).catch(t=>{e.reject()}),()=>{e.reject(),i.abort()}}function ti(){let t=(0,s._)(this,v).call(this),{$state:e,qualities:i}=(0,s._)(this,d);if(e.canSetPlaybackRate.set(t),i[o.HV.setReadonly](!t),t)return(0,r.listenEvent)(i,"change",()=>{var t;if(i.auto)return;let e=null===(t=i.selected)||void 0===t?void 0:t.id;e&&(0,l._)(this,z,tS).call(this,"setQuality",e)})}function ts(){(0,l._)(this,z,tS).call(this,"getCurrentTime")}function ta(t,e){if((0,s._)(this,T)&&0===t)return;let{realCurrentTime:i,paused:a,bufferedEnd:l,seekableEnd:h,live:r}=(0,s._)(this,d).$state;if(i()===t)return;let o=i();(0,s._)(this,d).notify("time-change",t,e),Math.abs(o-t)>1.5&&((0,s._)(this,d).notify("seeking",t,e),!a()&&l()<t&&(0,s._)(this,d).notify("waiting",void 0,e)),!r()&&h()-t<.01&&((0,s._)(this,d).notify("end",void 0,e),(0,n._)(this,T,!0),setTimeout(()=>{(0,n._)(this,T,!1)},500))}function tn(t,e){(0,s._)(this,d).notify("seeked",t,e)}function tl(t){var e;let i=(0,s._)(this,f).call(this);null===(e=(0,s._)(this,S))||void 0===e||e.promise.then(e=>{if(!e)return;let{title:i,poster:a,duration:n,pro:h}=e;(0,s._)(this,v).set(h),(0,s._)(this,d).notify("title-change",i,t),(0,s._)(this,d).notify("poster-change",a,t),(0,s._)(this,d).notify("duration-change",n,t),(0,l._)(this,q,th).call(this,n,t)}).catch(()=>{i===(0,s._)(this,f).call(this)&&((0,l._)(this,z,tS).call(this,"getVideoTitle"),(0,l._)(this,z,tS).call(this,"getDuration"))})}function th(t,e){let{nativeControls:i}=(0,s._)(this,d).$state,a=i();(0,n._)(this,w,new o.tn(0,t));let h={buffered:new o.tn(0,0),seekable:(0,s._)(this,w),duration:t};(0,s._)(this,d).delegate.ready(h,e),a||(0,l._)(this,z,tS).call(this,"_hideOverlay"),(0,l._)(this,z,tS).call(this,"getQualities"),(0,l._)(this,z,tS).call(this,"getChapters")}function tr(t,e,i){var a;switch(t){case"getVideoTitle":(0,s._)(this,d).notify("title-change",e,i);break;case"getDuration":(0,s._)(this,d).$state.canPlay()?(0,s._)(this,d).notify("duration-change",e,i):(0,l._)(this,q,th).call(this,e,i);break;case"getCurrentTime":(0,l._)(this,A,ta).call(this,e,i);break;case"getBuffered":(0,r.isArray)(e)&&e.length&&(0,l._)(this,j,td).call(this,e[e.length-1][1],i);break;case"setMuted":(0,l._)(this,L,tk).call(this,(0,r.peek)((0,s._)(this,d).$state.volume),e,i);break;case"getChapters":(0,l._)(this,B,tg).call(this,e);break;case"getQualities":(0,l._)(this,J,ty).call(this,e,i)}null===(a=(0,l._)(this,U,tP).call(this,t))||void 0===a||a.resolve()}function to(){for(let t of _)(0,l._)(this,z,tS).call(this,"addEventListener",t)}function tc(t){(0,s._)(this,y).stop(),(0,s._)(this,d).notify("pause",void 0,t)}function tu(t){(0,s._)(this,y).start(),(0,s._)(this,d).notify("play",void 0,t)}function t_(t){let{paused:e}=(0,s._)(this,d).$state;e()||(0,s._)(this,T)||(0,s._)(this,d).notify("playing",void 0,t)}function td(t,e){let i={buffered:new o.tn(0,t),seekable:(0,s._)(this,w)};(0,s._)(this,d).notify("progress",i,e)}function tf(t){(0,s._)(this,d).notify("waiting",void 0,t)}function tv(t){let{paused:e}=(0,s._)(this,d).$state;e()||(0,s._)(this,d).notify("playing",void 0,t)}function tp(t){let{paused:e}=(0,s._)(this,d).$state;e()&&(0,s._)(this,d).notify("play",void 0,t),(0,s._)(this,d).notify("waiting",void 0,t)}function tk(t,e,i){(0,s._)(this,d).notify("volume-change",{volume:t,muted:e},i)}function tg(t){if((0,l._)(this,F,tw).call(this),!t.length)return;let e=new o.n8({kind:"chapters",default:!0}),{seekableEnd:i}=(0,s._)(this,d).$state;for(let s=0;s<t.length;s++){var a;let n=t[s],l=t[s+1];e.addCue(new window.VTTCue(n.startTime,null!==(a=null==l?void 0:l.startTime)&&void 0!==a?a:i(),n.title))}(0,n._)(this,m,e),(0,s._)(this,d).textTracks.add(e)}function tw(){(0,s._)(this,m)&&((0,s._)(this,d).textTracks.remove((0,s._)(this,m)),(0,n._)(this,m,null))}function ty(t,e){for(let i of((0,s._)(this,d).qualities[o.WX.enableAuto]=t.some(t=>"auto"===t.id)?()=>(0,l._)(this,z,tS).call(this,"setQuality","auto"):void 0,t)){if("auto"===i.id
1)continue;let t=+i.id.slice(0,-1);isNaN(t)||(0,s._)(this,d).qualities[o.HV.add]({id:i.id,width:16/9*t,height:t,codec:"avc1,h.264",bitrate:-1},e)}(0,l._)(this,X,tb).call(this,t.find(t=>t.active),e)}function tb(){let{id:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;if(!t)return;let i="auto"===t,a=(0,s._)(this,d).qualities.getById(t);i?((0,s._)(this,d).qualities[o.WX.setAuto](i,e),(0,s._)(this,d).qualities[o.HV.select](void 0,!0,e)):(0,s._)(this,d).qualities[o.HV.select](null!=a?a:void 0,!0,e)}function tm(t,e,i){switch(t){case"ready":(0,l._)(this,O,to).call(this);break;case"loaded":(0,l._)(this,E,tl).call(this,i);break;case"play":(0,l._)(this,x,tu).call(this,i);break;case"playProgress":(0,l._)(this,N,t_).call(this,i);break;case"pause":(0,l._)(this,R,tc).call(this,i);break;case"loadProgress":(0,l._)(this,j,td).call(this,e.seconds,i);break;case"waiting":(0,l._)(this,H,tp).call(this,i);break;case"bufferstart":(0,l._)(this,Q,tf).call(this,i);break;case"bufferend":(0,l._)(this,D,tv).call(this,i);break;case"volumechange":(0,l._)(this,L,tk).call(this,e.volume,(0,r.peek)((0,s._)(this,d).$state.muted),i);break;case"durationchange":(0,n._)(this,w,new o.tn(0,e.duration)),(0,s._)(this,d).notify("duration-change",e.duration,i);break;case"playbackratechange":(0,s._)(this,d).notify("rate-change",e.playbackRate,i);break;case"qualitychange":(0,l._)(this,X,tb).call(this,e,i);break;case"fullscreenchange":(0,n._)(this,g,e.fullscreen),(0,s._)(this,d).notify("fullscreen-change",e.fullscreen,i);break;case"enterpictureinpicture":(0,s._)(this,d).notify("picture-in-picture-change",!0,i);break;case"leavepictureinpicture":(0,s._)(this,d).notify("picture-in-picture-change",!1,i);break;case"ended":(0,s._)(this,d).notify("end",void 0,i);break;case"error":(0,l._)(this,Y,tW).call(this,e,i);break;case"seek":case"seeked":(0,l._)(this,C,tn).call(this,e.seconds,i)}}function tW(t,e){let{message:i,method:a}=t;if("setPlaybackRate"===a&&(0,s._)(this,v).set(!1),a){var n;null===(n=(0,l._)(this,U,tP).call(this,a))||void 0===n||n.reject(i)}}async function tS(t,e){let i=(0,r.deferredPromise)(),a=(0,s._)(this,W).get(t);return a||(0,s._)(this,W).set(t,a=[]),a.push(i),this.postMessage({method:t,value:e}),i.promise}function tM(){(0,s._)(this,y).stop(),(0,n._)(this,w,new o.tn(0,0)),(0,n._)(this,S,null),(0,n._)(this,b,null),(0,s._)(this,v).set(!1),(0,l._)(this,F,tw).call(this)}function tP(t){var e;return null===(e=(0,s._)(this,W).get(t))||void 0===e?void 0:e.shift()}},13466:function(t,e,i){i.d(e,{w:function(){return d}});var s=i(53359),a=i(10851),n=i(70262),l=i(27938),h=i(12226),r=i(71911),o=i(63298),c=new WeakMap,u=new WeakSet,_=new WeakSet;class d{get iframe(){return(0,s._)(this,c)}setup(){(0,o.listenEvent)(window,"message",(0,l._)(this,_,v).bind(this)),(0,o.listenEvent)((0,s._)(this,c),"load",this.onLoad.bind(this)),(0,o.effect)((0,l._)(this,u,f).bind(this))}postMessage(t,e){var i;r.W6||null===(i=(0,s._)(this,c).contentWindow)||void 0===i||i.postMessage(JSON.stringify(t),null!=e?e:"*")}constructor(t){(0,h._)(this,u),(0,h._)(this,_),(0,a._)(this,c,{writable:!0,value:void 0}),this.src=(0,o.signal)(""),this.referrerPolicy=null,(0,n._)(this,c,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)}}function f(){let t=this.src();if(!t.length){(0,s._)(this,c).setAttribute("src","");return}let e=(0,o.peek)(()=>this.buildParams());(0,s._)(this,c).setAttribute("src",(0,r.nQ)(t,e))}function v(t){var e;let i=this.getOrigin();if((null===t.source||t.source===(null===(e=(0,s._)(this,c))||void 0===e?void 0:e.contentWindow))&&(!(0,o.isString)(i)||i===t.origin)){try{let e=JSON.parse(t.data);e&&this.onMessage(e,t);return}catch(t){}t.data&&this.onMessage(t.data,t)}}},32606:function(t,e,i){i.d(e,{getVimeoVideoInfo:function(){return h},resolveVimeoVideoId:function(){return l}});let s=/(?:https:\/\/)?(?:player\.)?vimeo(?:\.com)?\/(?:video\/)?(\d+)(?:(?:\?hash=|\?h=|\/)(.*))?/,a=new Map,n=new Map;function l(t){let e=t.match(s);return{videoId:null==e?void 0:e[1],hash:null==e?void 0:e[2]}}
1async function h(t,e,i){if(a.has(t))return a.get(t);if(n.has(t))return n.get(t);let s="https://vimeo.com/api/oembed.json?url=https://player.vimeo.com/video/".concat(t);i&&(s=s.concat("?h=".concat(i)));let l=window.fetch(s,{mode:"cors",signal:e.signal}).then(t=>t.json()).then(e=>{var i,s,n,l;let h=null==e?void 0:null===(s=e.thumbnail_url)||void 0===s?void 0:null===(i=s.match(/vimeocdn.com\/video\/(.*)?_/))||void 0===i?void 0:i[1],r={title:null!==(n=null==e?void 0:e.title)&&void 0!==n?n:"",duration:null!==(l=null==e?void 0:e.duration)&&void 0!==l?l:0,poster:h?"https://i.vimeocdn.com/video/".concat(h,"_1920x1080.webp"):"",pro:"basic"!==e.account_type};return a.set(t,r),r}).finally(()=>n.delete(t));return n.set(t,l),l}}}]);

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.