PageSourceSearch

https://www.flexispot.pl/assets/js/chunk-reactPlayerFacebook-ae23c46f92fc13f060b3.js

js flexispot.pl collected 2026-10-08 08:47:06 UTC 8,275 bytes, 1 lines download raw bytes

1(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[2121],{37342:(function(x,S,p){var f=Object.defineProperty,v=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,P=(n,r,e)=>r in n?f(n,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[r]=e,I=(n,r)=>{for(var e in r||(r={}))b.call(r,e)&&P(n,e,r[e]);if(v)for(var e of v(r))w.call(r,e)&&P(n,e,r[e]);return n},m=Object.create,y=Object.defineProperty,E=Object.getOwnPropertyDescriptor,L=Object.getOwnPropertyNames,R=Object.getPrototypeOf,g=Object.prototype.hasOwnProperty,A=(n,r,e)=>r in n?y(n,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[r]=e,k=(n,r)=>{for(var e in r)y(n,e,{get:r[e],enumerable:!0})},c=(n,r,e,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let l of L(r))!g.call(n,l)&&l!==e&&y(n,l,{get:()=>r[l],enumerable:!(s=E(r,l))||s.enumerable});return n},B=(n,r,e)=>(e=n!=null?m(R(n)):{},c(r||!n||!n.__esModule?y(e,"default",{value:n,enumerable:!0}):e,n)),_=n=>c(y({},"__esModule",{value:!0}),n),u=(n,r,e)=>(A(n,typeof r!="symbol"?r+"":r,e),e),O={};k(O,{default:()=>a}),x.exports=_(O);var D=B(p(67294)),d=p(35457),M=p(58279);const h="https://connect.facebook.net/en_US/sdk.js",t="FB",o="fbAsyncInit",i="facebook-player-";class a extends D.Component{constructor(){super(...arguments),u(this,"callPlayer",d.callPlayer),u(this,"playerID",this.props.config.playerId||`${i}${(0,d.randomString)()}`),u(this,"mute",()=>{this.callPlayer("mute")}),u(this,"unmute",()=>{this.callPlayer("unmute")})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(r,e){if(e){(0,d.getSDK)(h,t,o).then(s=>s.XFBML.parse());return}(0,d.getSDK)(h,t,o).then(s=>{s.init({appId:this.props.config.appId,xfbml:!0,version:this.props.config.version}),s.Event.subscribe("xfbml.render",l=>{this.props.onLoaded()}),s.Event.subscribe("xfbml.ready",l=>{l.type==="video"&&l.id===this.playerID&&(this.player=l.instance,this.player.subscribe("startedPlaying",this.props.onPlay),this.player.subscribe("paused",this.props.onPause),this.player.subscribe("finishedPlaying",this.props.onEnded),this.player.subscribe("startedBuffering",this.props.onBuffer),this.player.subscribe("finishedBuffering",this.props.onBufferEnd),this.player.subscribe("error",this.props.onError),this.props.muted?this.callPlayer("mute"):this.callPlayer("unmute"),this.props.onReady(),document.getElementById(this.playerID).querySelector("iframe").style.visibility="visible")})})}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(r,e=!0){this.callPlayer("seek",r),e||this.pause()}setVolume(r){this.callPlayer("setVolume",r)}getDuration(){return this.callPlayer("getDuration")}getCurrentTime(){return this.callPlayer("getCurrentPosition")}getSecondsLoaded(){return null}render(){const{attributes:r}=this.props.config,e={width:"100%",height:"100%"};return D.default.createElement("div",I({style:e,id:this.playerID,className:"fb-video","data-href":this.props.url,"data-autoplay":this.props.playing?"true":"false","data-allowfullscreen":"true","data-controls":this.props.controls?"true":"false"},r))}}u(a,"displayName","Facebook"),u(a,"canPlay",M.canPlay.facebook),u(a,"loopOnEnded",!0)}),26429:(function(x,S,p){"use strict";function f(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?f=function(i){return typeof i}:f=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},f(t)}Object.defineProperty(S,"__esModule",{value:!0}),S.default=void 0;var v=I(p(67294)),b=p(56281),w=p(99790);function P(){if(typeof WeakMap!="function")return null;var t=new WeakMap;return P=function(){return t},t}function I(t){if(t&&t.__esModule)return t;if(t===null||f(t)!=="object"&&typeof t!="function")return{default:t};var o=P();if(o&&o.has(t))return o.get(t);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=a?Object.getOwnPropertyDescriptor(t,n):null;r&&(r.get||r.set)?Object.defineProperty(i,n,r):i[n]=t[n]}return i.default=t,o&&o.set(t,i),i}function m(){return m=Object.assign||function(t){for(var o=1;o<arguments.length;o++){var i=arguments[o];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(t[a]=i[a])}return t},m.apply(this,arguments)}function y(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}function E(t,o){for(var i=0;i<o.length;i++){var a=o[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function L(t,o,i){return o&&E(t.prototype,o),i&&E(t,i),t}function R(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(o&&o.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),o&&g(t,o)}function g(t,o){return g=Object.setPrototypeOf||function(a,n){return a.__proto__=n,a},g(t,o)}function A(t){var o=B();return function(){var a=_(t),n;if(o){var r=_(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return k(this,n)}}function k(t,o){return o&&(f(o)==="object"||typeof o=="function")?o:c(t)}function c(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function B(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function _(t){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},_(t)}function u(t,o,i){return o in t?Object.defineProperty(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[o]=i,t}var O="https://connect.facebook.net/en_US/sdk.js",D="FB",d="fbAsyncInit",M="facebook-player-",h=(function(t){R(i,t);var o=A(i);function i(){var a;y(this,i);for(var n=arguments.length,r=new Array(n),e=0;e<n;e++)r[e]=arguments[e];return a=o.call.apply(o,[this].concat(r)),u(c(a),"callPlayer",b.callPlayer),u(c(a),"playerID",a.props.config.playerId||"".concat(M).concat((0,b.randomString)())),u(c(a),"mute",function(){a.callPlayer("mute")}),u(c(a),"unmute",function(){a.callPlayer("unmute")}
1),a}return L(i,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(n,r){var e=this;if(r){(0,b.getSDK)(O,D,d).then(function(s){return s.XFBML.parse()});return}(0,b.getSDK)(O,D,d).then(function(s){s.init({appId:e.props.config.appId,xfbml:!0,version:e.props.config.version}),s.Event.subscribe("xfbml.render",function(l){e.props.onLoaded()}),s.Event.subscribe("xfbml.ready",function(l){l.type==="video"&&l.id===e.playerID&&(e.player=l.instance,e.player.subscribe("startedPlaying",e.props.onPlay),e.player.subscribe("paused",e.props.onPause),e.player.subscribe("finishedPlaying",e.props.onEnded),e.player.subscribe("startedBuffering",e.props.onBuffer),e.player.subscribe("finishedBuffering",e.props.onBufferEnd),e.player.subscribe("error",e.props.onError),e.props.muted?e.callPlayer("mute"):e.callPlayer("unmute"),e.props.onReady(),document.getElementById(e.playerID).querySelector("iframe").style.visibility="visible")})})}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(n){this.callPlayer("seek",n)}},{key:"setVolume",value:function(n){this.callPlayer("setVolume",n)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentPosition")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var n=this.props.config.attributes,r={width:"100%",height:"100%"};return v.default.createElement("div",m({style:r,id:this.playerID,className:"fb-video","data-href":this.props.url,"data-autoplay":this.props.playing?"true":"false","data-allowfullscreen":"true","data-controls":this.props.controls?"true":"false"},n))}}]),i})(v.Component);S.default=h,u(h,"displayName","Facebook"),u(h,"canPlay",w.canPlay.facebook),u(h,"loopOnEnded",!0)})}]);

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.