From c8bd63d0f46910b15397221ee4922b2f0b7d512b Mon Sep 17 00:00:00 2001 From: Kakabay Date: Thu, 30 Mar 2023 21:02:15 +0500 Subject: [PATCH] Build --- .../assets/{index.57970e33.js => index.4dab28f5.js} | 2 +- dist/index.html | 4 ++-- dist/logo.svg | 13 +++++++++++++ 3 files changed, 16 insertions(+), 3 deletions(-) rename dist/assets/{index.57970e33.js => index.4dab28f5.js} (98%) create mode 100644 dist/logo.svg diff --git a/dist/assets/index.57970e33.js b/dist/assets/index.4dab28f5.js similarity index 98% rename from dist/assets/index.57970e33.js rename to dist/assets/index.4dab28f5.js index c3950f3..5e1ac19 100644 --- a/dist/assets/index.57970e33.js +++ b/dist/assets/index.4dab28f5.js @@ -70,7 +70,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var u=!0,s=!1,a;return{s:function(){n=e[Symbol.iterator]()},n:function(){var l=n.next();return u=l.done,l},e:function(l){s=!0,a=l},f:function(){try{!u&&n.return!=null&&n.return()}finally{if(s)throw a}}}}function Wb(e,t){if(!!e){if(typeof e=="string")return hd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return hd(e,t)}}function hd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nA.length)&&(R=A.length);for(var N=0,z=new Array(R);N"u"||!(Symbol.iterator in Object(A)))){var N=[],z=!0,V=!1,W=void 0;try{for(var q=A[Symbol.iterator](),X;!(z=(X=q.next()).done)&&(N.push(X.value),!(R&&N.length===R));z=!0);}catch(Q){V=!0,W=Q}finally{try{!z&&q.return!=null&&q.return()}finally{if(V)throw W}}return N}}function b(A){if(Array.isArray(A))return A}function k(A,R){if(!(A instanceof R))throw new TypeError("Cannot call a class as a function")}function O(A,R){for(var N=0;N"u"||!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{return!1}}function f(A){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(N){return N.__proto__||Object.getPrototypeOf(N)},f(A)}function m(A,R,N){return R in A?Object.defineProperty(A,R,{value:N,enumerable:!0,configurable:!0,writable:!0}):A[R]=N,A}var h="https://www.youtube.com/iframe_api",E="YT",C="onYouTubeIframeAPIReady",B=/[?&](?:list|channel)=([a-zA-Z0-9_-]+)/,F=/user\/([a-zA-Z0-9_-]+)\/?/,M=/youtube-nocookie\.com/,I="https://www.youtube-nocookie.com",L=function(A){_(N,A);var R=T(N);function N(){var z;k(this,N);for(var V=arguments.length,W=new Array(V),q=0;q"u"||!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{return!1}}function _(y){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(m){return m.__proto__||Object.getPrototypeOf(m)},_(y)}function w(y,f,m){return f in y?Object.defineProperty(y,f,{value:m,enumerable:!0,configurable:!0,writable:!0}):y[f]=m,y}var T="https://w.soundcloud.com/player/api.js",D="SC",S=function(y){g(m,y);var f=b(m);function m(){var h;l(this,m);for(var E=arguments.length,C=new Array(E),B=0;B"u"||!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{return!1}}function _(y){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(m){return m.__proto__||Object.getPrototypeOf(m)},_(y)}function w(y,f,m){return f in y?Object.defineProperty(y,f,{value:m,enumerable:!0,configurable:!0,writable:!0}):y[f]=m,y}var T="https://player.vimeo.com/api/player.js",D="Vimeo",S=function(y){g(m,y);var f=b(m);function m(){var h;l(this,m);for(var E=arguments.length,C=new Array(E),B=0;B"u"||!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{return!1}}function x(f){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(h){return h.__proto__||Object.getPrototypeOf(h)},x(f)}function _(f,m,h){return m in f?Object.defineProperty(f,m,{value:h,enumerable:!0,configurable:!0,writable:!0}):f[m]=h,f}var w="https://connect.facebook.net/en_US/sdk.js",T="FB",D="fbAsyncInit",S="facebook-player-",y=function(f){p(h,f);var m=v(h);function h(){var E;o(this,h);for(var C=arguments.length,B=new Array(C),F=0;F"u"||!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{return!1}}function O(D){return O=Object.setPrototypeOf?Object.getPrototypeOf:function(y){return y.__proto__||Object.getPrototypeOf(y)},O(D)}function x(D,S,y){return S in D?Object.defineProperty(D,S,{value:y,enumerable:!0,configurable:!0,writable:!0}):D[S]=y,D}var _="https://cdn.embed.ly/player-0.1.0.min.js",w="playerjs",T=function(D){d(y,D);var S=g(y);function y(){var f;a(this,y);for(var m=arguments.length,h=new Array(m),E=0;E"u"||!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{return!1}}function _(f){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(h){return h.__proto__||Object.getPrototypeOf(h)},_(f)}function w(f,m,h){return m in f?Object.defineProperty(f,m,{value:h,enumerable:!0,configurable:!0,writable:!0}):f[m]=h,f}var T="https://fast.wistia.com/assets/external/E-v1.js",D="Wistia",S="wistia-player-",y=function(f){g(h,f);var m=b(h);function h(){var E;l(this,h);for(var C=arguments.length,B=new Array(C),F=0;F"u"||!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{return!1}}function _(f){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(h){return h.__proto__||Object.getPrototypeOf(h)},_(f)}function w(f,m,h){return m in f?Object.defineProperty(f,m,{value:h,enumerable:!0,configurable:!0,writable:!0}):f[m]=h,f}var T="https://player.twitch.tv/js/embed/v1.js",D="Twitch",S="twitch-player-",y=function(f){g(h,f);var m=b(h);function h(){var E;l(this,h);for(var C=arguments.length,B=new Array(C),F=0;FF.length)&&(M=F.length);for(var I=0,L=new Array(M);I"u"||!(Symbol.iterator in Object(F)))){var I=[],L=!0,A=!1,R=void 0;try{for(var N=F[Symbol.iterator](),z;!(L=(z=N.next()).done)&&(I.push(z.value),!(M&&I.length===M));L=!0);}catch(V){A=!0,R=V}finally{try{!L&&N.return!=null&&N.return()}finally{if(A)throw R}}return I}}function b(F){if(Array.isArray(F))return F}function k(F,M){if(!(F instanceof M))throw new TypeError("Cannot call a class as a function")}function O(F,M){for(var I=0;I"u"||!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{return!1}}function f(F){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(I){return I.__proto__||Object.getPrototypeOf(I)},f(F)}function m(F,M,I){return M in F?Object.defineProperty(F,M,{value:I,enumerable:!0,configurable:!0,writable:!0}):F[M]=I,F}var h="https://api.dmcdn.net/all.js",E="DM",C="dmAsyncInit",B=function(F){_(I,F);var M=T(I);function I(){var L;k(this,I);for(var A=arguments.length,R=new Array(A),N=0;N"u"||!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{return!1}}function _(y){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(m){return m.__proto__||Object.getPrototypeOf(m)},_(y)}function w(y,f,m){return f in y?Object.defineProperty(y,f,{value:m,enumerable:!0,configurable:!0,writable:!0}):y[f]=m,y}var T="https://widget.mixcloud.com/media/js/widgetApi.js",D="Mixcloud",S=function(y){g(m,y);var f=b(m);function m(){var h;l(this,m);for(var E=arguments.length,C=new Array(E),B=0;B"u"||!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{return!1}}function _(f){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(h){return h.__proto__||Object.getPrototypeOf(h)},_(f)}function w(f,m,h){return m in f?Object.defineProperty(f,m,{value:h,enumerable:!0,configurable:!0,writable:!0}):f[m]=h,f}var T="https://play.vidyard.com/embed/v4.js",D="VidyardV4",S="onVidyardAPI",y=function(f){g(h,f);var m=b(h);function h(){var E;l(this,h);for(var C=arguments.length,B=new Array(C),F=0;F"u"||!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{return!1}}function O(D){return O=Object.setPrototypeOf?Object.getPrototypeOf:function(y){return y.__proto__||Object.getPrototypeOf(y)},O(D)}function x(D,S,y){return S in D?Object.defineProperty(D,S,{value:y,enumerable:!0,configurable:!0,writable:!0}):D[S]=y,D}var _="https://cdn.embed.ly/player-0.1.0.min.js",w="playerjs",T=function(D){d(y,D);var S=g(y);function y(){var f;a(this,y);for(var m=arguments.length,h=new Array(m),E=0;E"u"||!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{return!1}}function x(I){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(A){return A.__proto__||Object.getPrototypeOf(A)},x(I)}function _(I,L,A){return L in I?Object.defineProperty(I,L,{value:A,enumerable:!0,configurable:!0,writable:!0}):I[L]=A,I}var w=typeof navigator<"u",T=w&&navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1,D=w&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||T)&&!window.MSStream,S="https://cdn.jsdelivr.net/npm/hls.js@VERSION/dist/hls.min.js",y="Hls",f="https://cdnjs.cloudflare.com/ajax/libs/dashjs/VERSION/dash.all.min.js",m="dashjs",h="https://cdn.jsdelivr.net/npm/flv.js@VERSION/dist/flv.min.js",E="flvjs",C=/www\.dropbox\.com\/.+/,B=/https:\/\/watch\.cloudflarestream\.com\/([a-z0-9]+)/,F="https://videodelivery.net/{id}/manifest/video.m3u8",M=function(I){p(A,I);var L=v(A);function A(){var R;o(this,A);for(var N=arguments.length,z=new Array(N),V=0;V0?V.end(V.length-1):z}},{key:"getCurrentTime",value:function(){return this.player?this.player.currentTime:null}},{key:"getSecondsLoaded",value:function(){if(!this.player)return null;var N=this.player.buffered;if(N.length===0)return 0;var z=N.end(N.length-1),V=this.getDuration();return z>V?V:z}},{key:"getSource",value:function(N){var z=this.shouldUseHLS(N),V=this.shouldUseDASH(N),W=this.shouldUseFLV(N);if(!(N instanceof Array||(0,r.isMediaStream)(N)||z||V||W))return C.test(N)?N.replace("www.dropbox.com","dl.dropboxusercontent.com"):N}},{key:"render",value:function(){var N=this.props,z=N.url,V=N.playing,W=N.loop,q=N.controls,X=N.muted,Q=N.config,G=N.width,we=N.height,Se=this.shouldUseAudio(this.props),st=Se?"audio":"video",zt={width:G==="auto"?G:"100%",height:we==="auto"?we:"100%"};return n.default.createElement(st,a({ref:this.ref,src:this.getSource(z),style:zt,preload:"auto",autoPlay:V||void 0,controls:q,muted:X,loop:W},Q.attributes),z instanceof Array&&z.map(this.renderSourceElement),Q.tracks.map(this.renderTrack))}}]),A}(n.Component);e.default=M,_(M,"displayName","FilePlayer"),_(M,"canPlay",i.canPlay.file)}(Io)),Io}(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=j.exports,n=ae,r=Y;function i(o){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?i=function(d){return typeof d}:i=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},i(o)}function u(){if(typeof WeakMap!="function")return null;var o=new WeakMap;return u=function(){return o},o}function s(o){if(o&&o.__esModule)return o;if(o===null||i(o)!=="object"&&typeof o!="function")return{default:o};var l=u();if(l&&l.has(o))return l.get(o);var d={},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in o)if(Object.prototype.hasOwnProperty.call(o,g)){var v=p?Object.getOwnPropertyDescriptor(o,g):null;v&&(v.get||v.set)?Object.defineProperty(d,g,v):d[g]=o[g]}return d.default=o,l&&l.set(o,d),d}var a=[{key:"youtube",name:"YouTube",canPlay:r.canPlay.youtube,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return s(Kb())})})},{key:"soundcloud",name:"SoundCloud",canPlay:r.canPlay.soundcloud,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return s(Yb())})})},{key:"vimeo",name:"Vimeo",canPlay:r.canPlay.vimeo,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return s(qb())})})},{key:"facebook",name:"Facebook",canPlay:r.canPlay.facebook,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return s(Xb())})})},{key:"streamable",name:"Streamable",canPlay:r.canPlay.streamable,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return s(Gb())})})},{key:"wistia",name:"Wistia",canPlay:r.canPlay.wistia,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return s(Qb())})})},{key:"twitch",name:"Twitch",canPlay:r.canPlay.twitch,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return s(Jb())})})},{key:"dailymotion",name:"DailyMotion",canPlay:r.canPlay.dailymotion,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return s(Zb())})})},{key:"mixcloud",name:"Mixcloud",canPlay:r.canPlay.mixcloud,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return s(ex())})})},{key:"vidyard",name:"Vidyard",canPlay:r.canPlay.vidyard,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return s(tx())})})},{key:"kaltura",name:"Kaltura",canPlay:r.canPlay.kaltura,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return s(nx())})})},{key:"file",name:"FilePlayer",canPlay:r.canPlay.file,canEnablePIP:function(l){return r.canPlay.file(l)&&(document.pictureInPictureEnabled||(0,n.supportsWebKitPresentationMode)())&&!r.AUDIO_EXTENSIONS.test(l)},lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return s(rx())})})}];e.default=a})(k3);var Ia={},Sd=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function ix(e,t){return!!(e===t||Sd(e)&&Sd(t))}function ux(e,t){if(e.length!==t.length)return!1;for(var n=0;n"u"||!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{return!1}}function w(y){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(m){return m.__proto__||Object.getPrototypeOf(m)},w(y)}function T(y,f,m){return f in y?Object.defineProperty(y,f,{value:m,enumerable:!0,configurable:!0,writable:!0}):y[f]=m,y}var D=5e3,S=function(y){v(m,y);var f=k(m);function m(){var h;d(this,m);for(var E=arguments.length,C=new Array(E),B=0;B0&&E<1;if(F){var M=this.player.getDuration();if(!M){console.warn("ReactPlayer: could not seek using fraction \u2013\xA0duration not yet available");return}this.player.seekTo(M*E);return}this.player.seekTo(E)}},{key:"render",value:function(){var E=this.props.activePlayer;return E?n.default.createElement(E,l({},this.props,{onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError})):null}}]),m}(n.Component);e.default=S,T(S,"displayName","Player"),T(S,"propTypes",i.propTypes),T(S,"defaultProps",i.defaultProps)})(q3);var jo={},Cd;function xx(){return Cd||(Cd=1,function(e){function t(D){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(y){return typeof y}:t=function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y},t(D)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(j.exports);function r(){if(typeof WeakMap!="function")return null;var D=new WeakMap;return r=function(){return D},D}function i(D){if(D&&D.__esModule)return D;if(D===null||t(D)!=="object"&&typeof D!="function")return{default:D};var S=r();if(S&&S.has(D))return S.get(D);var y={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in D)if(Object.prototype.hasOwnProperty.call(D,m)){var h=f?Object.getOwnPropertyDescriptor(D,m):null;h&&(h.get||h.set)?Object.defineProperty(y,m,h):y[m]=D[m]}return y.default=D,S&&S.set(D,y),y}function u(D,S){var y=Object.keys(D);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(D);S&&(f=f.filter(function(m){return Object.getOwnPropertyDescriptor(D,m).enumerable})),y.push.apply(y,f)}return y}function s(D){for(var S=1;S"u"||!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{return!1}}function O(D){return O=Object.setPrototypeOf?Object.getPrototypeOf:function(y){return y.__proto__||Object.getPrototypeOf(y)},O(D)}function x(D,S,y){return S in D?Object.defineProperty(D,S,{value:y,enumerable:!0,configurable:!0,writable:!0}):D[S]=y,D}var _="64px",w={},T=function(D){d(y,D);var S=g(y);function y(){var f;a(this,y);for(var m=arguments.length,h=new Array(m),E=0;Ee.length)&&(t=e.length);for(var n=0,r=new Array(t);n"u"||!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{return!1}}function ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ra(e)}function ve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function X3(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return X3=function(){return e},e}function G3(e){if(e&&e.__esModule)return e;if(e===null||Ki(e)!=="object"&&typeof e!="function")return{default:e};var t=X3();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var u=r?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}var Tx=(0,Qn.lazy)(function(){return Promise.resolve().then(function(){return G3(xx())})}),Mx=typeof window<"u"&&window.document,Lx=typeof Ga<"u"&&Ga.window&&Ga.window.document,Bx=Object.keys(Ri.propTypes),Ix=Mx||Lx?Qn.Suspense:function(){return null},xi=[],zx=function(t,n){var r,i;return i=r=function(u){Fx(a,u);var s=Nx(a);function a(){var o;Cx(this,a);for(var l=arguments.length,d=new Array(l),p=0;p0&&arguments[0]!==void 0?arguments[0]:"player";return o.player?o.player.getInternalPlayer(g):null}),ve(Ue(o),"seekTo",function(g,v){if(!o.player)return null;o.player.seekTo(g,v)}),ve(Ue(o),"handleReady",function(){o.props.onReady(Ue(o))}),ve(Ue(o),"getActivePlayer",(0,Vo.default)(function(g){for(var v=0,b=[].concat(xi,Uo(t));vc("div",{className:"video-player",children:c(jx,{url:`${e}`,controls:!0,volume:1,light:`${t}`,playing:!0,autoplay:!0,height:"100%",width:"100%"})});function J3(e,t){return function(){return e.apply(t,arguments)}}const{toString:Z3}=Object.prototype,{getPrototypeOf:b0}=Object,x0=(e=>t=>{const n=Z3.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),hn=e=>(e=e.toLowerCase(),t=>x0(t)===e),ja=e=>t=>typeof t===e,{isArray:Pu}=Array,ac=ja("undefined");function Vx(e){return e!==null&&!ac(e)&&e.constructor!==null&&!ac(e.constructor)&&ai(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const em=hn("ArrayBuffer");function Ux(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&em(e.buffer),t}const Wx=ja("string"),ai=ja("function"),tm=ja("number"),nm=e=>e!==null&&typeof e=="object",Hx=e=>e===!0||e===!1,Os=e=>{if(x0(e)!=="object")return!1;const t=b0(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},$x=hn("Date"),Kx=hn("File"),Yx=hn("Blob"),qx=hn("FileList"),Xx=e=>nm(e)&&ai(e.pipe),Gx=e=>{const t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||Z3.call(e)===t||ai(e.toString)&&e.toString()===t)},Qx=hn("URLSearchParams"),Jx=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Va(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Pu(e))for(r=0,i=e.length;r{Os(e[r])&&Os(n)?e[r]=oc(e[r],n):Os(n)?e[r]=oc({},n):Pu(n)?e[r]=n.slice():e[r]=n};for(let n=0,r=arguments.length;n(Va(t,(i,u)=>{n&&ai(i)?e[u]=J3(i,n):e[u]=i},{allOwnKeys:r}),e),eE=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),tE=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},nE=(e,t,n,r)=>{let i,u,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),u=i.length;u-- >0;)s=i[u],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&b0(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},rE=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},iE=e=>{if(!e)return null;if(Pu(e))return e;let t=e.length;if(!tm(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},uE=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&b0(Uint8Array)),sE=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const u=i.value;t.call(e,u[0],u[1])}},aE=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},oE=hn("HTMLFormElement"),lE=e=>e.toLowerCase().replace(/[_-\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Rd=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),cE=hn("RegExp"),rm=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Va(n,(i,u)=>{t(i,u,e)!==!1&&(r[u]=i)}),Object.defineProperties(e,r)},dE=e=>{rm(e,(t,n)=>{const r=e[n];if(!!ai(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not read-only method '"+n+"'")})}})},fE=(e,t)=>{const n={},r=i=>{i.forEach(u=>{n[u]=!0})};return Pu(e)?r(e):r(String(e).split(t)),n},hE=()=>{},pE=(e,t)=>(e=+e,Number.isFinite(e)?e:t),U={isArray:Pu,isArrayBuffer:em,isBuffer:Vx,isFormData:Gx,isArrayBufferView:Ux,isString:Wx,isNumber:tm,isBoolean:Hx,isObject:nm,isPlainObject:Os,isUndefined:ac,isDate:$x,isFile:Kx,isBlob:Yx,isRegExp:cE,isFunction:ai,isStream:Xx,isURLSearchParams:Qx,isTypedArray:uE,isFileList:qx,forEach:Va,merge:oc,extend:Zx,trim:Jx,stripBOM:eE,inherits:tE,toFlatObject:nE,kindOf:x0,kindOfTest:hn,endsWith:rE,toArray:iE,forEachEntry:sE,matchAll:aE,isHTMLForm:oE,hasOwnProperty:Rd,hasOwnProp:Rd,reduceDescriptors:rm,freezeMethods:dE,toObjectSet:fE,toCamelCase:lE,noop:hE,toFiniteNumber:pE};function re(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}U.inherits(re,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const im=re.prototype,um={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{um[e]={value:e}});Object.defineProperties(re,um);Object.defineProperty(im,"isAxiosError",{value:!0});re.from=(e,t,n,r,i,u)=>{const s=Object.create(im);return U.toFlatObject(e,s,function(o){return o!==Error.prototype},a=>a!=="isAxiosError"),re.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,u&&Object.assign(s,u),s};var mE=typeof self=="object"?self.FormData:window.FormData;function lc(e){return U.isPlainObject(e)||U.isArray(e)}function sm(e){return U.endsWith(e,"[]")?e.slice(0,-2):e}function Td(e,t,n){return e?e.concat(t).map(function(i,u){return i=sm(i),!n&&u?"["+i+"]":i}).join(n?".":""):t}function gE(e){return U.isArray(e)&&!e.some(lc)}const yE=U.toFlatObject(U,{},null,function(t){return/^is[A-Z]/.test(t)});function vE(e){return e&&U.isFunction(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator]}function Ua(e,t,n){if(!U.isObject(e))throw new TypeError("target must be an object");t=t||new(mE||FormData),n=U.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(k,O){return!U.isUndefined(O[k])});const r=n.metaTokens,i=n.visitor||d,u=n.dots,s=n.indexes,o=(n.Blob||typeof Blob<"u"&&Blob)&&vE(t);if(!U.isFunction(i))throw new TypeError("visitor must be a function");function l(b){if(b===null)return"";if(U.isDate(b))return b.toISOString();if(!o&&U.isBlob(b))throw new re("Blob is not supported. Use a Buffer instead.");return U.isArrayBuffer(b)||U.isTypedArray(b)?o&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function d(b,k,O){let x=b;if(b&&!O&&typeof b=="object"){if(U.endsWith(k,"{}"))k=r?k:k.slice(0,-2),b=JSON.stringify(b);else if(U.isArray(b)&&gE(b)||U.isFileList(b)||U.endsWith(k,"[]")&&(x=U.toArray(b)))return k=sm(k),x.forEach(function(w,T){!U.isUndefined(w)&&t.append(s===!0?Td([k],T,u):s===null?k:k+"[]",l(w))}),!1}return lc(b)?!0:(t.append(Td(O,k,u),l(b)),!1)}const p=[],g=Object.assign(yE,{defaultVisitor:d,convertValue:l,isVisitable:lc});function v(b,k){if(!U.isUndefined(b)){if(p.indexOf(b)!==-1)throw Error("Circular reference detected in "+k.join("."));p.push(b),U.forEach(b,function(x,_){(!U.isUndefined(x)&&i.call(t,x,U.isString(_)?_.trim():_,k,g))===!0&&v(x,k?k.concat(_):[_])}),p.pop()}}if(!U.isObject(e))throw new TypeError("data must be an object");return v(e),t}function Md(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function E0(e,t){this._pairs=[],e&&Ua(e,this,t)}const am=E0.prototype;am.append=function(t,n){this._pairs.push([t,n])};am.toString=function(t){const n=t?function(r){return t.call(this,r,Md)}:Md;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function bE(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function om(e,t,n){if(!t)return e;const r=e.indexOf("#");r!==-1&&(e=e.slice(0,r));const i=n&&n.encode||bE,u=U.isURLSearchParams(t)?t.toString():new E0(t,n).toString(i);return u&&(e+=(e.indexOf("?")===-1?"?":"&")+u),e}class Ld{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){U.forEach(this.handlers,function(r){r!==null&&t(r)})}}const lm={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},xE=typeof URLSearchParams<"u"?URLSearchParams:E0,EE=FormData,_E=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),sn={isBrowser:!0,classes:{URLSearchParams:xE,FormData:EE,Blob},isStandardBrowserEnv:_E,protocols:["http","https","file","blob","url","data"]};function wE(e,t){return Ua(e,new sn.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,u){return sn.isNode&&U.isBuffer(n)?(this.append(r,n.toString("base64")),!1):u.defaultVisitor.apply(this,arguments)}},t))}function DE(e){return U.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function kE(e){const t={},n=Object.keys(e);let r;const i=n.length;let u;for(r=0;r=n.length;return s=!s&&U.isArray(i)?i.length:s,o?(U.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!U.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],u)&&U.isArray(i[s])&&(i[s]=kE(i[s])),!a)}if(U.isFormData(e)&&U.isFunction(e.entries)){const n={};return U.forEachEntry(e,(r,i)=>{t(DE(r),i,n,0)}),n}return null}function SE(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new re("Request failed with status code "+n.status,[re.ERR_BAD_REQUEST,re.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const PE=sn.isStandardBrowserEnv?function(){return{write:function(n,r,i,u,s,a){const o=[];o.push(n+"="+encodeURIComponent(r)),U.isNumber(i)&&o.push("expires="+new Date(i).toGMTString()),U.isString(u)&&o.push("path="+u),U.isString(s)&&o.push("domain="+s),a===!0&&o.push("secure"),document.cookie=o.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function CE(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function OE(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function dm(e,t){return e&&!CE(t)?OE(e,t):t}const FE=sn.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(u){let s=u;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(s){const a=U.isString(s)?i(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function Cu(e,t,n){re.call(this,e==null?"canceled":e,re.ERR_CANCELED,t,n),this.name="CanceledError"}U.inherits(Cu,re,{__CANCEL__:!0});function NE(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const AE=U.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),RE=e=>{const t={};let n,r,i;return e&&e.split(` +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kx(e,t){if(!!e){if(typeof e=="string")return uc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return uc(e,t)}}function Sx(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function Px(e){if(Array.isArray(e))return uc(e)}function uc(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n"u"||!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{return!1}}function ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ra(e)}function ve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function X3(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return X3=function(){return e},e}function G3(e){if(e&&e.__esModule)return e;if(e===null||Ki(e)!=="object"&&typeof e!="function")return{default:e};var t=X3();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var u=r?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}var Tx=(0,Qn.lazy)(function(){return Promise.resolve().then(function(){return G3(xx())})}),Mx=typeof window<"u"&&window.document,Lx=typeof Ga<"u"&&Ga.window&&Ga.window.document,Bx=Object.keys(Ri.propTypes),Ix=Mx||Lx?Qn.Suspense:function(){return null},xi=[],zx=function(t,n){var r,i;return i=r=function(u){Fx(a,u);var s=Nx(a);function a(){var o;Cx(this,a);for(var l=arguments.length,d=new Array(l),p=0;p0&&arguments[0]!==void 0?arguments[0]:"player";return o.player?o.player.getInternalPlayer(g):null}),ve(Ue(o),"seekTo",function(g,v){if(!o.player)return null;o.player.seekTo(g,v)}),ve(Ue(o),"handleReady",function(){o.props.onReady(Ue(o))}),ve(Ue(o),"getActivePlayer",(0,Vo.default)(function(g){for(var v=0,b=[].concat(xi,Uo(t));vc("div",{className:"video-player",children:c(jx,{url:`${e}`,controls:!0,volume:1,light:`${t}`,playing:!0,height:"100%",width:"100%"})});function J3(e,t){return function(){return e.apply(t,arguments)}}const{toString:Z3}=Object.prototype,{getPrototypeOf:b0}=Object,x0=(e=>t=>{const n=Z3.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),hn=e=>(e=e.toLowerCase(),t=>x0(t)===e),ja=e=>t=>typeof t===e,{isArray:Pu}=Array,ac=ja("undefined");function Vx(e){return e!==null&&!ac(e)&&e.constructor!==null&&!ac(e.constructor)&&ai(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const em=hn("ArrayBuffer");function Ux(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&em(e.buffer),t}const Wx=ja("string"),ai=ja("function"),tm=ja("number"),nm=e=>e!==null&&typeof e=="object",Hx=e=>e===!0||e===!1,Os=e=>{if(x0(e)!=="object")return!1;const t=b0(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},$x=hn("Date"),Kx=hn("File"),Yx=hn("Blob"),qx=hn("FileList"),Xx=e=>nm(e)&&ai(e.pipe),Gx=e=>{const t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||Z3.call(e)===t||ai(e.toString)&&e.toString()===t)},Qx=hn("URLSearchParams"),Jx=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Va(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Pu(e))for(r=0,i=e.length;r{Os(e[r])&&Os(n)?e[r]=oc(e[r],n):Os(n)?e[r]=oc({},n):Pu(n)?e[r]=n.slice():e[r]=n};for(let n=0,r=arguments.length;n(Va(t,(i,u)=>{n&&ai(i)?e[u]=J3(i,n):e[u]=i},{allOwnKeys:r}),e),eE=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),tE=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},nE=(e,t,n,r)=>{let i,u,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),u=i.length;u-- >0;)s=i[u],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&b0(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},rE=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},iE=e=>{if(!e)return null;if(Pu(e))return e;let t=e.length;if(!tm(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},uE=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&b0(Uint8Array)),sE=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const u=i.value;t.call(e,u[0],u[1])}},aE=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},oE=hn("HTMLFormElement"),lE=e=>e.toLowerCase().replace(/[_-\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Rd=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),cE=hn("RegExp"),rm=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Va(n,(i,u)=>{t(i,u,e)!==!1&&(r[u]=i)}),Object.defineProperties(e,r)},dE=e=>{rm(e,(t,n)=>{const r=e[n];if(!!ai(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not read-only method '"+n+"'")})}})},fE=(e,t)=>{const n={},r=i=>{i.forEach(u=>{n[u]=!0})};return Pu(e)?r(e):r(String(e).split(t)),n},hE=()=>{},pE=(e,t)=>(e=+e,Number.isFinite(e)?e:t),U={isArray:Pu,isArrayBuffer:em,isBuffer:Vx,isFormData:Gx,isArrayBufferView:Ux,isString:Wx,isNumber:tm,isBoolean:Hx,isObject:nm,isPlainObject:Os,isUndefined:ac,isDate:$x,isFile:Kx,isBlob:Yx,isRegExp:cE,isFunction:ai,isStream:Xx,isURLSearchParams:Qx,isTypedArray:uE,isFileList:qx,forEach:Va,merge:oc,extend:Zx,trim:Jx,stripBOM:eE,inherits:tE,toFlatObject:nE,kindOf:x0,kindOfTest:hn,endsWith:rE,toArray:iE,forEachEntry:sE,matchAll:aE,isHTMLForm:oE,hasOwnProperty:Rd,hasOwnProp:Rd,reduceDescriptors:rm,freezeMethods:dE,toObjectSet:fE,toCamelCase:lE,noop:hE,toFiniteNumber:pE};function re(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}U.inherits(re,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const im=re.prototype,um={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{um[e]={value:e}});Object.defineProperties(re,um);Object.defineProperty(im,"isAxiosError",{value:!0});re.from=(e,t,n,r,i,u)=>{const s=Object.create(im);return U.toFlatObject(e,s,function(o){return o!==Error.prototype},a=>a!=="isAxiosError"),re.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,u&&Object.assign(s,u),s};var mE=typeof self=="object"?self.FormData:window.FormData;function lc(e){return U.isPlainObject(e)||U.isArray(e)}function sm(e){return U.endsWith(e,"[]")?e.slice(0,-2):e}function Td(e,t,n){return e?e.concat(t).map(function(i,u){return i=sm(i),!n&&u?"["+i+"]":i}).join(n?".":""):t}function gE(e){return U.isArray(e)&&!e.some(lc)}const yE=U.toFlatObject(U,{},null,function(t){return/^is[A-Z]/.test(t)});function vE(e){return e&&U.isFunction(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator]}function Ua(e,t,n){if(!U.isObject(e))throw new TypeError("target must be an object");t=t||new(mE||FormData),n=U.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(k,O){return!U.isUndefined(O[k])});const r=n.metaTokens,i=n.visitor||d,u=n.dots,s=n.indexes,o=(n.Blob||typeof Blob<"u"&&Blob)&&vE(t);if(!U.isFunction(i))throw new TypeError("visitor must be a function");function l(b){if(b===null)return"";if(U.isDate(b))return b.toISOString();if(!o&&U.isBlob(b))throw new re("Blob is not supported. Use a Buffer instead.");return U.isArrayBuffer(b)||U.isTypedArray(b)?o&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function d(b,k,O){let x=b;if(b&&!O&&typeof b=="object"){if(U.endsWith(k,"{}"))k=r?k:k.slice(0,-2),b=JSON.stringify(b);else if(U.isArray(b)&&gE(b)||U.isFileList(b)||U.endsWith(k,"[]")&&(x=U.toArray(b)))return k=sm(k),x.forEach(function(w,T){!U.isUndefined(w)&&t.append(s===!0?Td([k],T,u):s===null?k:k+"[]",l(w))}),!1}return lc(b)?!0:(t.append(Td(O,k,u),l(b)),!1)}const p=[],g=Object.assign(yE,{defaultVisitor:d,convertValue:l,isVisitable:lc});function v(b,k){if(!U.isUndefined(b)){if(p.indexOf(b)!==-1)throw Error("Circular reference detected in "+k.join("."));p.push(b),U.forEach(b,function(x,_){(!U.isUndefined(x)&&i.call(t,x,U.isString(_)?_.trim():_,k,g))===!0&&v(x,k?k.concat(_):[_])}),p.pop()}}if(!U.isObject(e))throw new TypeError("data must be an object");return v(e),t}function Md(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function E0(e,t){this._pairs=[],e&&Ua(e,this,t)}const am=E0.prototype;am.append=function(t,n){this._pairs.push([t,n])};am.toString=function(t){const n=t?function(r){return t.call(this,r,Md)}:Md;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function bE(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function om(e,t,n){if(!t)return e;const r=e.indexOf("#");r!==-1&&(e=e.slice(0,r));const i=n&&n.encode||bE,u=U.isURLSearchParams(t)?t.toString():new E0(t,n).toString(i);return u&&(e+=(e.indexOf("?")===-1?"?":"&")+u),e}class Ld{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){U.forEach(this.handlers,function(r){r!==null&&t(r)})}}const lm={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},xE=typeof URLSearchParams<"u"?URLSearchParams:E0,EE=FormData,_E=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),sn={isBrowser:!0,classes:{URLSearchParams:xE,FormData:EE,Blob},isStandardBrowserEnv:_E,protocols:["http","https","file","blob","url","data"]};function wE(e,t){return Ua(e,new sn.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,u){return sn.isNode&&U.isBuffer(n)?(this.append(r,n.toString("base64")),!1):u.defaultVisitor.apply(this,arguments)}},t))}function DE(e){return U.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function kE(e){const t={},n=Object.keys(e);let r;const i=n.length;let u;for(r=0;r=n.length;return s=!s&&U.isArray(i)?i.length:s,o?(U.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!U.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],u)&&U.isArray(i[s])&&(i[s]=kE(i[s])),!a)}if(U.isFormData(e)&&U.isFunction(e.entries)){const n={};return U.forEachEntry(e,(r,i)=>{t(DE(r),i,n,0)}),n}return null}function SE(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new re("Request failed with status code "+n.status,[re.ERR_BAD_REQUEST,re.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const PE=sn.isStandardBrowserEnv?function(){return{write:function(n,r,i,u,s,a){const o=[];o.push(n+"="+encodeURIComponent(r)),U.isNumber(i)&&o.push("expires="+new Date(i).toGMTString()),U.isString(u)&&o.push("path="+u),U.isString(s)&&o.push("domain="+s),a===!0&&o.push("secure"),document.cookie=o.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function CE(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function OE(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function dm(e,t){return e&&!CE(t)?OE(e,t):t}const FE=sn.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(u){let s=u;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(s){const a=U.isString(s)?i(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function Cu(e,t,n){re.call(this,e==null?"canceled":e,re.ERR_CANCELED,t,n),this.name="CanceledError"}U.inherits(Cu,re,{__CANCEL__:!0});function NE(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const AE=U.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),RE=e=>{const t={};let n,r,i;return e&&e.split(` `).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&AE[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Bd=Symbol("internals"),fm=Symbol("defaults");function Ti(e){return e&&String(e).trim().toLowerCase()}function ts(e){return e===!1||e==null?e:String(e)}function TE(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}function Id(e,t,n,r){if(U.isFunction(r))return r.call(this,t,n);if(!!U.isString(t)){if(U.isString(r))return t.indexOf(r)!==-1;if(U.isRegExp(r))return r.test(t)}}function ME(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function LE(e,t){const n=U.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,u,s){return this[r].call(this,t,i,u,s)},configurable:!0})})}function Ei(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}function Dt(e,t){e&&this.set(e),this[fm]=t||null}Object.assign(Dt.prototype,{set:function(e,t,n){const r=this;function i(u,s,a){const o=Ti(s);if(!o)throw new Error("header name must be a non-empty string");const l=Ei(r,o);l&&a!==!0&&(r[l]===!1||a===!1)||(U.isArray(u)?u=u.map(ts):u=ts(u),r[l||s]=u)}return U.isPlainObject(e)?U.forEach(e,(u,s)=>{i(u,s,t)}):i(t,e,n),this},get:function(e,t){if(e=Ti(e),!e)return;const n=Ei(this,e);if(n){const r=this[n];if(!t)return r;if(t===!0)return TE(r);if(U.isFunction(t))return t.call(this,r,n);if(U.isRegExp(t))return t.exec(r);throw new TypeError("parser must be boolean|regexp|function")}},has:function(e,t){if(e=Ti(e),e){const n=Ei(this,e);return!!(n&&(!t||Id(this,this[n],n,t)))}return!1},delete:function(e,t){const n=this;let r=!1;function i(u){if(u=Ti(u),u){const s=Ei(n,u);s&&(!t||Id(n,n[s],s,t))&&(delete n[s],r=!0)}}return U.isArray(e)?e.forEach(i):i(e),r},clear:function(){return Object.keys(this).forEach(this.delete.bind(this))},normalize:function(e){const t=this,n={};return U.forEach(this,(r,i)=>{const u=Ei(n,i);if(u){t[u]=ts(r),delete t[i];return}const s=e?ME(i):String(i).trim();s!==i&&delete t[i],t[s]=ts(r),n[s]=!0}),this},toJSON:function(){const e=Object.create(null);return U.forEach(Object.assign({},this[fm]||null,this),(t,n)=>{t==null||t===!1||(e[n]=U.isArray(t)?t.join(", "):t)}),e}});Object.assign(Dt,{from:function(e){return U.isString(e)?new this(RE(e)):e instanceof this?e:new this(e)},accessor:function(e){const n=(this[Bd]=this[Bd]={accessors:{}}).accessors,r=this.prototype;function i(u){const s=Ti(u);n[s]||(LE(r,u),n[s]=!0)}return U.isArray(e)?e.forEach(i):i(e),this}});Dt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent"]);U.freezeMethods(Dt.prototype);U.freezeMethods(Dt);function BE(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,u=0,s;return t=t!==void 0?t:1e3,function(o){const l=Date.now(),d=r[u];s||(s=l),n[i]=o,r[i]=l;let p=u,g=0;for(;p!==i;)g+=n[p++],p=p%e;if(i=(i+1)%e,i===u&&(u=(u+1)%e),l-s{const u=i.loaded,s=i.lengthComputable?i.total:void 0,a=u-n,o=r(a),l=u<=s;n=u;const d={loaded:u,total:s,progress:s?u/s:void 0,bytes:a,rate:o||void 0,estimated:o&&s&&l?(s-u)/o:void 0};d[t?"download":"upload"]=!0,e(d)}}function jd(e){return new Promise(function(n,r){let i=e.data;const u=Dt.from(e.headers).normalize(),s=e.responseType;let a;function o(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}U.isFormData(i)&&sn.isStandardBrowserEnv&&u.setContentType(!1);let l=new XMLHttpRequest;if(e.auth){const v=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";u.set("Authorization","Basic "+btoa(v+":"+b))}const d=dm(e.baseURL,e.url);l.open(e.method.toUpperCase(),om(d,e.params,e.paramsSerializer),!0),l.timeout=e.timeout;function p(){if(!l)return;const v=Dt.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),k={data:!s||s==="text"||s==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:v,config:e,request:l};SE(function(x){n(x),o()},function(x){r(x),o()},k),l=null}if("onloadend"in l?l.onloadend=p:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(p)},l.onabort=function(){!l||(r(new re("Request aborted",re.ECONNABORTED,e,l)),l=null)},l.onerror=function(){r(new re("Network Error",re.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let b=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const k=e.transitional||lm;e.timeoutErrorMessage&&(b=e.timeoutErrorMessage),r(new re(b,k.clarifyTimeoutError?re.ETIMEDOUT:re.ECONNABORTED,e,l)),l=null},sn.isStandardBrowserEnv){const v=(e.withCredentials||FE(d))&&e.xsrfCookieName&&PE.read(e.xsrfCookieName);v&&u.set(e.xsrfHeaderName,v)}i===void 0&&u.setContentType(null),"setRequestHeader"in l&&U.forEach(u.toJSON(),function(b,k){l.setRequestHeader(k,b)}),U.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),s&&s!=="json"&&(l.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&l.addEventListener("progress",zd(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",zd(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=v=>{!l||(r(!v||v.type?new Cu(null,e,l):v),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const g=NE(d);if(g&&sn.protocols.indexOf(g)===-1){r(new re("Unsupported protocol "+g+":",re.ERR_BAD_REQUEST,e));return}l.send(i||null)})}const Vd={http:jd,xhr:jd},Ud={getAdapter:e=>{if(U.isString(e)){const t=Vd[e];if(!e)throw Error(U.hasOwnProp(e)?`Adapter '${e}' is not available in the build`:`Can not resolve adapter '${e}'`);return t}if(!U.isFunction(e))throw new TypeError("adapter is not a function");return e},adapters:Vd},IE={"Content-Type":"application/x-www-form-urlencoded"};function zE(){let e;return typeof XMLHttpRequest<"u"?e=Ud.getAdapter("xhr"):typeof process<"u"&&U.kindOf(process)==="process"&&(e=Ud.getAdapter("http")),e}function jE(e,t,n){if(U.isString(e))try{return(t||JSON.parse)(e),U.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const oi={transitional:lm,adapter:zE(),transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,u=U.isObject(t);if(u&&U.isHTMLForm(t)&&(t=new FormData(t)),U.isFormData(t))return i&&i?JSON.stringify(cm(t)):t;if(U.isArrayBuffer(t)||U.isBuffer(t)||U.isStream(t)||U.isFile(t)||U.isBlob(t))return t;if(U.isArrayBufferView(t))return t.buffer;if(U.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(u){if(r.indexOf("application/x-www-form-urlencoded")>-1)return wE(t,this.formSerializer).toString();if((a=U.isFileList(t))||r.indexOf("multipart/form-data")>-1){const o=this.env&&this.env.FormData;return Ua(a?{"files[]":t}:t,o&&new o,this.formSerializer)}}return u||i?(n.setContentType("application/json",!1),jE(t)):t}],transformResponse:[function(t){const n=this.transitional||oi.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(t&&U.isString(t)&&(r&&!this.responseType||i)){const s=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?re.from(a,re.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:sn.classes.FormData,Blob:sn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};U.forEach(["delete","get","head"],function(t){oi.headers[t]={}});U.forEach(["post","put","patch"],function(t){oi.headers[t]=U.merge(IE)});function Wo(e,t){const n=this||oi,r=t||n,i=Dt.from(r.headers);let u=r.data;return U.forEach(e,function(a){u=a.call(n,u,i.normalize(),t?t.status:void 0)}),i.normalize(),u}function hm(e){return!!(e&&e.__CANCEL__)}function Ho(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Cu}function Wd(e){return Ho(e),e.headers=Dt.from(e.headers),e.data=Wo.call(e,e.transformRequest),(e.adapter||oi.adapter)(e).then(function(r){return Ho(e),r.data=Wo.call(e,e.transformResponse,r),r.headers=Dt.from(r.headers),r},function(r){return hm(r)||(Ho(e),r&&r.response&&(r.response.data=Wo.call(e,e.transformResponse,r.response),r.response.headers=Dt.from(r.response.headers))),Promise.reject(r)})}function gu(e,t){t=t||{};const n={};function r(l,d){return U.isPlainObject(l)&&U.isPlainObject(d)?U.merge(l,d):U.isPlainObject(d)?U.merge({},d):U.isArray(d)?d.slice():d}function i(l){if(U.isUndefined(t[l])){if(!U.isUndefined(e[l]))return r(void 0,e[l])}else return r(e[l],t[l])}function u(l){if(!U.isUndefined(t[l]))return r(void 0,t[l])}function s(l){if(U.isUndefined(t[l])){if(!U.isUndefined(e[l]))return r(void 0,e[l])}else return r(void 0,t[l])}function a(l){if(l in t)return r(e[l],t[l]);if(l in e)return r(void 0,e[l])}const o={url:u,method:u,data:u,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a};return U.forEach(Object.keys(e).concat(Object.keys(t)),function(d){const p=o[d]||i,g=p(d);U.isUndefined(g)&&p!==a||(n[d]=g)}),n}const pm="1.1.2",_0={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{_0[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Hd={};_0.transitional=function(t,n,r){function i(u,s){return"[Axios v"+pm+"] Transitional option '"+u+"'"+s+(r?". "+r:"")}return(u,s,a)=>{if(t===!1)throw new re(i(s," has been removed"+(n?" in "+n:"")),re.ERR_DEPRECATED);return n&&!Hd[s]&&(Hd[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(u,s,a):!0}};function VE(e,t,n){if(typeof e!="object")throw new re("options must be an object",re.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const u=r[i],s=t[u];if(s){const a=e[u],o=a===void 0||s(a,u,e);if(o!==!0)throw new re("option "+u+" must be "+o,re.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new re("Unknown option "+u,re.ERR_BAD_OPTION)}}const mm={assertOptions:VE,validators:_0},Er=mm.validators;class ir{constructor(t){this.defaults=t,this.interceptors={request:new Ld,response:new Ld}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=gu(this.defaults,n);const r=n.transitional;r!==void 0&&mm.assertOptions(r,{silentJSONParsing:Er.transitional(Er.boolean),forcedJSONParsing:Er.transitional(Er.boolean),clarifyTimeoutError:Er.transitional(Er.boolean)},!1),n.method=(n.method||this.defaults.method||"get").toLowerCase();const i=n.headers&&U.merge(n.headers.common,n.headers[n.method]);i&&U.forEach(["delete","get","head","post","put","patch","common"],function(v){delete n.headers[v]}),n.headers=new Dt(n.headers,i);const u=[];let s=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(s=s&&v.synchronous,u.unshift(v.fulfilled,v.rejected))});const a=[];this.interceptors.response.forEach(function(v){a.push(v.fulfilled,v.rejected)});let o,l=0,d;if(!s){const g=[Wd.bind(this),void 0];for(g.unshift.apply(g,u),g.push.apply(g,a),d=g.length,o=Promise.resolve(n);l{if(!r._listeners)return;let u=r._listeners.length;for(;u-- >0;)r._listeners[u](i);r._listeners=null}),this.promise.then=i=>{let u;const s=new Promise(a=>{r.subscribe(a),u=a}).then(i);return s.cancel=function(){r.unsubscribe(u)},s},t(function(u,s,a){r.reason||(r.reason=new Cu(u,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new w0(function(i){t=i}),cancel:t}}}function UE(e){return function(n){return e.apply(null,n)}}function WE(e){return U.isObject(e)&&e.isAxiosError===!0}function gm(e){const t=new ir(e),n=J3(ir.prototype.request,t);return U.extend(n,ir.prototype,t,{allOwnKeys:!0}),U.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return gm(gu(e,i))},n}const Qe=gm(oi);Qe.Axios=ir;Qe.CanceledError=Cu;Qe.CancelToken=w0;Qe.isCancel=hm;Qe.VERSION=pm;Qe.toFormData=Ua;Qe.AxiosError=re;Qe.Cancel=Qe.CanceledError;Qe.all=function(t){return Promise.all(t)};Qe.spread=UE;Qe.isAxiosError=WE;Qe.formToJSON=e=>cm(U.isHTMLForm(e)?new FormData(e):e);class Oe{constructor(t,n,r,i,u){yr(this,"destination");yr(this,"initialState");yr(this,"setState");yr(this,"setLoader");yr(this,"middleware",t=>t);this.destination=t,this.initialState=n,this.setState=r,this.setLoader=i,this.middleware=u}get(t,n=!1){try{return Qe.get(this.destination,t?{headers:t}:null).then(r=>{n&&this.setLoader(!0),this.setState(r.data)}).finally(()=>{n&&this.setLoader(!1)})}catch(r){throw new Error("Bad parameters",r)}}post(t,n=!1,r=!1){try{return Qe.post(this.destination,t).then(i=>{r&&this.setLoader(!0),n&&this.setState(i.data)}).finally(()=>{r&&this.setLoader(!1)})}catch(i){throw new Error("Bad parameters",i)}}}var ns,HE=new Uint8Array(16);function $E(){if(!ns&&(ns=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!ns))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return ns(HE)}const KE=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function YE(e){return typeof e=="string"&&KE.test(e)}var Te=[];for(var $o=0;$o<256;++$o)Te.push(($o+256).toString(16).substr(1));function qE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=(Te[e[t+0]]+Te[e[t+1]]+Te[e[t+2]]+Te[e[t+3]]+"-"+Te[e[t+4]]+Te[e[t+5]]+"-"+Te[e[t+6]]+Te[e[t+7]]+"-"+Te[e[t+8]]+Te[e[t+9]]+"-"+Te[e[t+10]]+Te[e[t+11]]+Te[e[t+12]]+Te[e[t+13]]+Te[e[t+14]]+Te[e[t+15]]).toLowerCase();if(!YE(n))throw TypeError("Stringified UUID is invalid");return n}function Jr(e,t,n){e=e||{};var r=e.random||(e.rng||$E)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return qE(r)}const ym="/assets/arrow-up.403bca16.svg",vm="/assets/arrow-down.6e85faaa.svg",XE=({active:e,onClick:t,title:n,priceChange:r,price:i,currency:u,titleHide:s})=>{const a=d=>{const p=Array.from(d);p.pop();let g="";return p.forEach(v=>{g=g+v}),parseFloat(g)},[o,l]=j.exports.useState();return j.exports.useEffect(()=>{l(a(r))},[r]),P("div",{className:`table-row ${e}`,onClick:()=>t(),children:[c("div",{className:`table-product-name ${s}`,children:n}),P("div",{className:"table-row-status",children:[c("div",{className:"table-row-arrow",children:c("img",{src:o>0?ym:o<0?vm:""})}),c("span",{className:o>0?"table-row-status-title green":o<0?"table-row-status-title red":"table-row-status-title",children:r})]}),P("div",{className:"table-product-price",children:[i," ",u]})]})},GE=({activeRow:e,setActiveRow:t,tabIndex:n,lang:r})=>{const[i,u]=j.exports.useState(),s=a=>{t(a)};return j.exports.useEffect(()=>{n&&new Oe(`https://tmex.gov.tm:8765/api/categories/${n}/tradings`,i,u).get()},[n]),P("div",{className:"table",children:[P("div",{className:"table-top",children:[c("h4",{className:"table-title",children:r==="ru"?"\u0422\u043E\u0432\u0430\u0440\u043D\u0430\u044F \u043F\u043E\u0437\u0438\u0446\u0438\u044F":r==="tm"?"Harydy\u0148 ady":r==="en"?"Product name":null}),c("h4",{className:"table-title",children:r==="ru"?"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0435 \u0446\u0435\u043D\u044B":r==="tm"?"Bahany\u0148 \xFC\xFDtge\xFD\u015Fi":r==="en"?"Price change":null}),c("h4",{className:"table-title",children:r==="ru"?"\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u0446\u0435\u043D\u0430":r==="tm"?"H\xE4zirki baha":r==="en"?"Current price":null})]}),c("div",{className:"table-bottom",children:i?i.data.map((a,o)=>o<=2?c(XE,{title:a.title,titleHide:a.title.length>7?"title-hide":null,priceChange:a.price_change,price:a.price,currency:a.currency,onClick:()=>s(o),active:e===o?"active":""},Jr()):null):null})]})};/*! * Chart.js v3.9.1 * https://www.chartjs.org diff --git a/dist/index.html b/dist/index.html index a332546..20b46b8 100644 --- a/dist/index.html +++ b/dist/index.html @@ -2,10 +2,10 @@ - + Exchange - + diff --git a/dist/logo.svg b/dist/logo.svg new file mode 100644 index 0000000..bd7cbb7 --- /dev/null +++ b/dist/logo.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + +