121 lines
629 KiB
JavaScript
121 lines
629 KiB
JavaScript
|
|
var D_=Object.defineProperty;var R_=(e,t,n)=>t in e?D_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var us=(e,t,n)=>(R_(e,typeof t!="symbol"?t+"":t,n),n);function k_(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerpolicy&&(o.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?o.credentials="include":i.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var Fr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function S1(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function L_(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){if(this instanceof r){var i=[null];i.push.apply(i,arguments);var o=Function.bind.apply(t,i);return new o}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var na={},A_={get exports(){return na},set exports(e){na=e}},Zl={},k={},M_={get exports(){return k},set exports(e){k=e}},ue={};/**
|
|||
|
|
* @license React
|
|||
|
|
* react.production.min.js
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE file in the root directory of this source tree.
|
|||
|
|
*/var ja=Symbol.for("react.element"),N_=Symbol.for("react.portal"),I_=Symbol.for("react.fragment"),j_=Symbol.for("react.strict_mode"),V_=Symbol.for("react.profiler"),$_=Symbol.for("react.provider"),F_=Symbol.for("react.context"),B_=Symbol.for("react.forward_ref"),z_=Symbol.for("react.suspense"),U_=Symbol.for("react.memo"),W_=Symbol.for("react.lazy"),fy=Symbol.iterator;function H_(e){return e===null||typeof e!="object"?null:(e=fy&&e[fy]||e["@@iterator"],typeof e=="function"?e:null)}var P1={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},O1=Object.assign,_1={};function so(e,t,n){this.props=e,this.context=t,this.refs=_1,this.updater=n||P1}so.prototype.isReactComponent={};so.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};so.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function E1(){}E1.prototype=so.prototype;function Xp(e,t,n){this.props=e,this.context=t,this.refs=_1,this.updater=n||P1}var Qp=Xp.prototype=new E1;Qp.constructor=Xp;O1(Qp,so.prototype);Qp.isPureReactComponent=!0;var dy=Array.isArray,T1=Object.prototype.hasOwnProperty,Zp={current:null},C1={key:!0,ref:!0,__self:!0,__source:!0};function x1(e,t,n){var r,i={},o=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)T1.call(t,r)&&!C1.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1<s){for(var l=Array(s),u=0;u<s;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)i[r]===void 0&&(i[r]=s[r]);return{$$typeof:ja,type:e,key:o,ref:a,props:i,_owner:Zp.current}}function G_(e,t){return{$$typeof:ja,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Jp(e){return typeof e=="object"&&e!==null&&e.$$typeof===ja}function Y_(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var py=/\/+/g;function yc(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Y_(""+e.key):t.toString(36)}function Ns(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case ja:case N_:a=!0}}if(a)return a=e,i=i(a),e=r===""?"."+yc(a,0):r,dy(i)?(n="",e!=null&&(n=e.replace(py,"$&/")+"/"),Ns(i,t,n,"",function(u){return u})):i!=null&&(Jp(i)&&(i=G_(i,n+(!i.key||a&&a.key===i.key?"":(""+i.key).replace(py,"$&/")+"/")+e)),t.push(i)),1;if(a=0,r=r===""?".":r+":",dy(e))for(var s=0;s<e.length;s++){o=e[s];var l=r+yc(o,s);a+=Ns(o,t,n,l,i)}else if(l=H_(e),typeof l=="function")for(e=l.call(e),s=0;!(o=e.next()).done;)o=o.value,l=r+yc(o,s++),a+=Ns(o,t,n,l,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function cs(e,t,n){if(e==null)return e;var r=[],i=0;return Ns(e,r,"","",function(o){return t.call(n,o,i++)}),r}function K_(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var St={current:null},Is={transition:null},q_={ReactCurrentDispatcher:St,ReactCurrentBatchConfig:Is,ReactCurrentOwner:Zp};ue.Children={map:cs,forEach:function(e,t,n){cs(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return cs(e,function(){t++}),t},toArray:function(e){return cs(e,function(t){return t})||[]},only:function(e){if(!Jp(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ue.Component=so;ue.Fragment=I_;ue.Profiler=V_;ue
|
|||
|
|
* @license React
|
|||
|
|
* react-jsx-runtime.production.min.js
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE file in the root directory of this source tree.
|
|||
|
|
*/var X_=k,Q_=Symbol.for("react.element"),Z_=Symbol.for("react.fragment"),J_=Object.prototype.hasOwnProperty,eE=X_.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,tE={key:!0,ref:!0,__self:!0,__source:!0};function D1(e,t,n){var r,i={},o=null,a=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)J_.call(t,r)&&!tE.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Q_,type:e,key:o,ref:a,props:i,_owner:eE.current}}Zl.Fragment=Z_;Zl.jsx=D1;Zl.jsxs=D1;(function(e){e.exports=Zl})(A_);const R1=na.Fragment,M=na.jsx,ee=na.jsxs;var Yf={},ra={},nE={get exports(){return ra},set exports(e){ra=e}},Ft={},Kf={},rE={get exports(){return Kf},set exports(e){Kf=e}},k1={};/**
|
|||
|
|
* @license React
|
|||
|
|
* scheduler.production.min.js
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE file in the root directory of this source tree.
|
|||
|
|
*/(function(e){function t(L,D){var A=L.length;L.push(D);e:for(;0<A;){var V=A-1>>>1,z=L[V];if(0<i(z,D))L[V]=D,L[A]=z,A=V;else break e}}function n(L){return L.length===0?null:L[0]}function r(L){if(L.length===0)return null;var D=L[0],A=L.pop();if(A!==D){L[0]=A;e:for(var V=0,z=L.length,H=z>>>1;V<H;){var Z=2*(V+1)-1,re=L[Z],oe=Z+1,se=L[oe];if(0>i(re,A))oe<z&&0>i(se,re)?(L[V]=se,L[oe]=A,V=oe):(L[V]=re,L[Z]=A,V=Z);else if(oe<z&&0>i(se,A))L[V]=se,L[oe]=A,V=oe;else break e}}return D}function i(L,D){var A=L.sortIndex-D.sortIndex;return A!==0?A:L.id-D.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],u=[],c=1,d=null,h=3,m=!1,b=!1,P=!1,T=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function S(L){for(var D=n(u);D!==null;){if(D.callback===null)r(u);else if(D.startTime<=L)r(u),D.sortIndex=D.expirationTime,t(l,D);else break;D=n(u)}}function x(L){if(P=!1,S(L),!b)if(n(l)!==null)b=!0,I(_);else{var D=n(u);D!==null&&j(x,D.startTime-L)}}function _(L,D){b=!1,P&&(P=!1,y(f),f=-1),m=!0;var A=h;try{for(S(D),d=n(l);d!==null&&(!(d.expirationTime>D)||L&&!O());){var V=d.callback;if(typeof V=="function"){d.callback=null,h=d.priorityLevel;var z=V(d.expirationTime<=D);D=e.unstable_now(),typeof z=="function"?d.callback=z:d===n(l)&&r(l),S(D)}else r(l);d=n(l)}if(d!==null)var H=!0;else{var Z=n(u);Z!==null&&j(x,Z.startTime-D),H=!1}return H}finally{d=null,h=A,m=!1}}var E=!1,w=null,f=-1,v=5,p=-1;function O(){return!(e.unstable_now()-p<v)}function C(){if(w!==null){var L=e.unstable_now();p=L;var D=!0;try{D=w(!0,L)}finally{D?N():(E=!1,w=null)}}else E=!1}var N;if(typeof g=="function")N=function(){g(C)};else if(typeof MessageChannel<"u"){var R=new MessageChannel,$=R.port2;R.port1.onmessage=C,N=function(){$.postMessage(null)}}else N=function(){T(C,0)};function I(L){w=L,E||(E=!0,N())}function j(L,D){f=T(function(){L(e.unstable_now())},D)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(L){L.callback=null},e.unstable_continueExecution=function(){b||m||(b=!0,I(_))},e.unstable_forceFrameRate=function(L){0>L||125<L?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):v=0<L?Math.floor(1e3/L):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(L){switch(h){case 1:case 2:case 3:var D=3;break;default:D=h}var A=h;h=D;try{return L()}finally{h=A}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(L,D){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var A=h;h=L;try{return D()}finally{h=A}},e.unstable_scheduleCallback=function(L,D,A){var V=e.unstable_now();switch(typeof A=="object"&&A!==null?(A=A.delay,A=typeof A=="number"&&0<A?V+A:V):A=V,L){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}return z=A+z,L={id:c++,callback:D,priorityLevel:L,startTime:A,expirationTime:z,sortIndex:-1},A>V?(L.sortIndex=A,t(u,L),n(l)===null&&L===n(u)&&(P?(y(f),f=-1):P=!0,j(x,A-V))):(L.sortIndex=z,t(l,L),b||m||(b=!0,I(_))),L},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(L){var D=h;return function(){var A=h;h=D;try{return L.apply(this,arguments)}finally{h=A}}}})(k1);(function(e){e.exports=k1})(rE);/**
|
|||
|
|
* @license React
|
|||
|
|
* react-dom.production.min.js
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE file in the root directory of this source tree.
|
|||
|
|
*/var L1=k,jt=Kf;function K(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var A1=new Set,ia={};function si(e,t){Ki(e,t),Ki(e+"Capture",t)}function Ki(e,t){for(ia[e]=t,e=0;e<t.length;e++)A1.add(t[e])}var jn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),qf=Object.prototype.hasOwnProperty,iE=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,hy={},my={};function oE(e){return qf.call(my,e)?!0:qf.call(hy,e)?!1:iE.test(e)?my[e]=!0:(hy[e]=!0,!1)}function aE(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function sE(e,t,n,r){if(t===null||typeof t>"u"||aE(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Pt(e,t,n,r,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var it={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){it[e]=new Pt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];it[t]=new Pt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){it[e]=new Pt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){it[e]=new Pt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){it[e]=new Pt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){it[e]=new Pt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){it[e]=new Pt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){it[e]=new Pt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){it[e]=new Pt(e,5,!1,e.toLowerCase(),null,!1,!1)});var eh=/[\-:]([a-z])/g;function th(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-
|
|||
|
|
`+vc+e}var gc=!1;function wc(e,t){if(!e||gc)return"";gc=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
|
|||
|
|
`),o=r.stack.split(`
|
|||
|
|
`),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(a!==1||s!==1)do if(a--,s--,0>s||i[a]!==o[s]){var l=`
|
|||
|
|
`+i[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{gc=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Lo(e):""}function lE(e){switch(e.tag){case 5:return Lo(e.type);case 16:return Lo("Lazy");case 13:return Lo("Suspense");case 19:return Lo("SuspenseList");case 0:case 2:case 15:return e=wc(e.type,!1),e;case 11:return e=wc(e.type.render,!1),e;case 1:return e=wc(e.type,!0),e;default:return""}}function Jf(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Si:return"Fragment";case bi:return"Portal";case Xf:return"Profiler";case rh:return"StrictMode";case Qf:return"Suspense";case Zf:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case N1:return(e.displayName||"Context")+".Consumer";case M1:return(e._context.displayName||"Context")+".Provider";case ih:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case oh:return t=e.displayName||null,t!==null?t:Jf(e.type)||"Memo";case qn:t=e._payload,e=e._init;try{return Jf(e(t))}catch{}}return null}function uE(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Jf(t);case 8:return t===rh?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function yr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function j1(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function cE(e){var t=j1(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ds(e){e._valueTracker||(e._valueTracker=cE(e))}function V1(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=j1(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function tl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ed(e,t){var n=t.checked;return Ie({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function vy(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=yr(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function $1(e,t){t=t.checked,t!=null&&nh(e,"checked",t,!1)}function td(e,t){$1(e,t);var n=yr(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?nd(e,t.type,n):t.hasOwnProperty("defaultValue")&&nd(e,t.type,yr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function gy(e,t,n){if(t.hasOwnProperty("val
|
|||
|
|
`).replace(bT,"")}function bs(e,t,n){if(t=By(t),By(e)!==t&&n)throw Error(K(425))}function ul(){}var yd=null,vd=null;function gd(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var wd=typeof setTimeout=="function"?setTimeout:void 0,ST=typeof clearTimeout=="function"?clearTimeout:void 0,zy=typeof Promise=="function"?Promise:void 0,PT=typeof queueMicrotask=="function"?queueMicrotask:typeof zy<"u"?function(e){return zy.resolve(null).then(e).catch(OT)}:wd;function OT(e){setTimeout(function(){throw e})}function Lc(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),ua(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);ua(t)}function cr(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Uy(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var uo=Math.random().toString(36).slice(2),bn="__reactFiber$"+uo,ha="__reactProps$"+uo,Vn="__reactContainer$"+uo,bd="__reactEvents$"+uo,_T="__reactListeners$"+uo,ET="__reactHandles$"+uo;function Br(e){var t=e[bn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Vn]||n[bn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Uy(e);e!==null;){if(n=e[bn])return n;e=Uy(e)}return t}e=n,n=e.parentNode}return null}function Fa(e){return e=e[bn]||e[Vn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ei(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(K(33))}function ru(e){return e[ha]||null}var Sd=[],Ti=-1;function _r(e){return{current:e}}function Ce(e){0>Ti||(e.current=Sd[Ti],Sd[Ti]=null,Ti--)}function be(e,t){Ti++,Sd[Ti]=e.current,e.current=t}var vr={},mt=_r(vr),Tt=_r(!1),qr=vr;function qi(e,t){var n=e.type.contextTypes;if(!n)return vr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ct(e){return e=e.childContextTypes,e!=null}function cl(){Ce(Tt),Ce(mt)}function Wy(e,t,n){if(mt.current!==vr)throw Error(K(168));be(mt,t),be(Tt,n)}function Cw(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(K(108,uE(e)||"Unknown",i));return Ie({},n,r)}function fl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||vr,qr=mt.current,be(mt,e),be(Tt,Tt.current),!0}function Hy(e,t,n){var r=e.stateNode;if(!r)throw Error(K(169));n?(e=Cw(e,t,qr),r.__reactInternalMemoizedMergedChildContext=e,Ce(Tt),Ce(mt),be(mt,e)):Ce(Tt),be(Tt,n)}var Rn=null,iu=!1,Ac=!1;function xw(e){Rn===null?Rn=[e]:Rn.push(e)}function TT(e){iu=!0,xw(e)}function Er(){if(!Ac&&Rn!==null){Ac=!0;var e=0,t=pe;try{var n=Rn;for(pe=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Rn=null,iu=!1}catch(i){throw Rn!==null&&(Rn=Rn.slice(e+1)),J1(sh,Er),i}finally{pe=t,Ac=!1}}return null}var Ci=[],xi=0,dl=null,pl=0,Yt=[],Kt=0,Xr=null,kn=1,Ln="";function Ar(e,t){Ci[xi++]=pl,Ci[xi++]=dl,dl=e,pl=t}function Dw(e,t,n){Yt[Kt++]=kn,Yt[Kt++]=Ln,Yt[Kt++]=Xr,Xr=e;var r=kn;e=Ln;var i=32-ln(r)-1;r&=~(1<<i),n+=1;var o=32-ln(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,kn=1<<32-ln(t)+i|n<<i|r,Ln=o+e}else kn=1<<o|n<<i|r,Ln=e}function yh(e){e.return!==null&&(Ar(e,1),Dw(e,1,0))}function vh(e){for(;e===dl;)dl=Ci[--xi],Ci[xi]=null,pl=Ci[--xi],Ci[xi]=null;for(;e===Xr;)Xr=Yt[--Kt],Yt[Kt]=null,Ln=Yt[--Kt],Yt[Kt]=null,kn=Yt[--Kt],Yt[Kt]=null}var Nt=null,Mt=null,Re=!1,an=null;function Rw(e,t){var n=qt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletio
|
|||
|
|
Error generating stack: `+o.message+`
|
|||
|
|
`+o.stack}return{value:e,source:t,stack:i,digest:null}}function Vc(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Cd(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var NT=typeof WeakMap=="function"?WeakMap:Map;function ib(e,t,n){n=An(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Sl||(Sl=!0,jd=r),Cd(e,t)},n}function ob(e,t,n){n=An(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Cd(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Cd(e,t),typeof r!="function"&&(dr===null?dr=new Set([this]):dr.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function tv(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new NT;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=qT.bind(null,e,t,n),t.then(e,e))}function nv(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function rv(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=An(-1,1),t.tag=2,fr(n,t,1))),n.lanes|=1),e)}var IT=Bn.ReactCurrentOwner,Et=!1;function wt(e,t,n,r){t.child=e===null?jw(t,null,n,r):Qi(t,e.child,n,r)}function iv(e,t,n,r,i){n=n.render;var o=t.ref;return Fi(t,i),r=xh(e,t,n,r,o,i),n=Dh(),e!==null&&!Et?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Fn(e,t,i)):(Re&&n&&yh(t),t.flags|=1,wt(e,t,r,i),t.child)}function ov(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!$h(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,ab(e,t,o,r,i)):(e=Gs(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var a=o.memoizedProps;if(n=n.compare,n=n!==null?n:fa,n(a,r)&&e.ref===t.ref)return Fn(e,t,i)}return t.flags|=1,e=hr(o,r),e.ref=t.ref,e.return=t,t.child=e}function ab(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(fa(o,r)&&e.ref===t.ref)if(Et=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(Et=!0);else return t.lanes=e.lanes,Fn(e,t,i)}return xd(e,t,n,r,i)}function sb(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},be(ki,kt),kt|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,be(ki,kt),kt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,be(ki,kt),kt|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,be(ki,kt),kt|=r;return wt(e,t,i,n),t.child}function lb(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function xd(e,t,n,r,i){var o=Ct(n)?qr:mt.current;return o=qi(t,o),Fi(t,i),n=xh(e,t,n,r,o,i),r=Dh(),e!==null&&!Et?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Fn(e,t,i)):(Re&&r&&yh(t),t.flags|=1,wt(e,t,n,i),t.child)}function av(e,t,n,r,i){if(Ct(n)){var o=!0;fl(t)}else o=!1;if(Fi(t,i),t.stateNode===null)Us(e,t),Nw(t,n,r),Td(t,n,r,i),r=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;typeof u=="object"&&u!==null?u=Qt(u):(u=Ct(n)?qr:mt.current,u=qi(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof a.getSnapshotBeforeUpdate=="function";d||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||l!==u)&&Qy(t,a,r,u),Xn=!1;var h=t.memoizedState;a.state=h,yl(t,r,a,i),l=t.memoizedState,s!==r||h!==l||Tt.current||Xn?(typeof c=="function"&&(Ed(t,n,c,r),l=t.memoizedState),(s=Xn||Xy(t,n,s,r,h,l,u))?(d||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.
|
|||
|
|
* @remix-run/router v1.3.0
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Remix Software Inc.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE.md file in the root directory of this source tree.
|
|||
|
|
*
|
|||
|
|
* @license MIT
|
|||
|
|
*/function Sa(){return Sa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Sa.apply(this,arguments)}var rr;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(rr||(rr={}));const bv="popstate";function aC(e){e===void 0&&(e={});function t(r,i){let{pathname:o,search:a,hash:s}=r.location;return Bd("",{pathname:o,search:a,hash:s},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:El(i)}return uC(t,n,null,e)}function Ye(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function sC(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function lC(){return Math.random().toString(36).substr(2,8)}function Sv(e,t){return{usr:e.state,key:e.key,idx:t}}function Bd(e,t,n,r){return n===void 0&&(n=null),Sa({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?co(t):t,{state:n,key:t&&t.key||r||lC()})}function El(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function co(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function uC(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,a=i.history,s=rr.Pop,l=null,u=c();u==null&&(u=0,a.replaceState(Sa({},a.state,{idx:u}),""));function c(){return(a.state||{idx:null}).idx}function d(){let T=rr.Pop,y=c();if(y!=null){let g=y-u;s=T,u=y,l&&l({action:s,location:P.location,delta:g})}else sC(!1,"You are trying to block a POP navigation to a location that was not created by @remix-run/router. The block will fail silently in production, but in general you should do all navigation with the router (instead of using window.history.pushState directly) to avoid this situation.")}function h(T,y){s=rr.Push;let g=Bd(P.location,T,y);n&&n(g,T),u=c()+1;let S=Sv(g,u),x=P.createHref(g);try{a.pushState(S,"",x)}catch{i.location.assign(x)}o&&l&&l({action:s,location:P.location,delta:1})}function m(T,y){s=rr.Replace;let g=Bd(P.location,T,y);n&&n(g,T),u=c();let S=Sv(g,u),x=P.createHref(g);a.replaceState(S,"",x),o&&l&&l({action:s,location:P.location,delta:0})}function b(T){let y=i.location.origin!=="null"?i.location.origin:i.location.href,g=typeof T=="string"?T:El(T);return Ye(y,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,y)}let P={get action(){return s},get location(){return e(i,a)},listen(T){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(bv,d),l=T,()=>{i.removeEventListener(bv,d),l=null}},createHref(T){return t(i,T)},createURL:b,encodeLocation(T){let y=b(T);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:h,replace:m,go(T){return a.go(T)}};return P}var Pv;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Pv||(Pv={}));function cC(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?co(t):t,i=Ab(r.pathname||"/",n);if(i==null)return null;let o=kb(e);fC(o);let a=null;for(let s=0;a==null&&s<o.length;++s)a=bC(o[s],OC(i));return a}function kb(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(o,a,s)=>{let l={relativePath:s===void 0?o.path||"":s,caseSensitive:o.caseSensitive===!0,childrenIndex:a,route:o};l.relativePath.startsWith("/")&&(Ye(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=mr([r,l.relativePath]),c=n.concat(l);o.children&&o.children.length>0&&(Ye(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),kb(o.children,t,c,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:gC(u,o.index),routesMeta:c
|
|||
|
|
* React Router v6.7.0
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Remix Software Inc.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE.md file in the root directory of this source tree.
|
|||
|
|
*
|
|||
|
|
* @license MIT
|
|||
|
|
*/function zd(){return zd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zd.apply(this,arguments)}function AC(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const MC=typeof Object.is=="function"?Object.is:AC,{useState:NC,useEffect:IC,useLayoutEffect:jC,useDebugValue:VC}=Gf;function $C(e,t,n){const r=t(),[{inst:i},o]=NC({inst:{value:r,getSnapshot:t}});return jC(()=>{i.value=r,i.getSnapshot=t,Uc(i)&&o({inst:i})},[e,r,t]),IC(()=>(Uc(i)&&o({inst:i}),e(()=>{Uc(i)&&o({inst:i})})),[e]),VC(r),r}function Uc(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!MC(n,r)}catch{return!0}}function FC(e,t,n){return t()}const BC=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",zC=!BC,UC=zC?FC:$C;"useSyncExternalStore"in Gf&&(e=>e.useSyncExternalStore)(Gf);const Ib=k.createContext(null),jb=k.createContext(null),hu=k.createContext(null),mu=k.createContext(null),ui=k.createContext({outlet:null,matches:[]}),Vb=k.createContext(null);function WC(e,t){let{relative:n}=t===void 0?{}:t;za()||Ye(!1);let{basename:r,navigator:i}=k.useContext(hu),{hash:o,pathname:a,search:s}=$b(e,{relative:n}),l=a;return r!=="/"&&(l=a==="/"?r:mr([r,a])),i.createHref({pathname:l,search:s,hash:o})}function za(){return k.useContext(mu)!=null}function Tr(){return za()||Ye(!1),k.useContext(mu).location}function Hh(){za()||Ye(!1);let{basename:e,navigator:t}=k.useContext(hu),{matches:n}=k.useContext(ui),{pathname:r}=Tr(),i=JSON.stringify(Mb(n).map(s=>s.pathnameBase)),o=k.useRef(!1);return k.useEffect(()=>{o.current=!0}),k.useCallback(function(s,l){if(l===void 0&&(l={}),!o.current)return;if(typeof s=="number"){t.go(s);return}let u=Nb(s,JSON.parse(i),r,l.relative==="path");e!=="/"&&(u.pathname=u.pathname==="/"?e:mr([e,u.pathname])),(l.replace?t.replace:t.push)(u,l.state,l)},[e,t,i,r])}function Gh(){let{matches:e}=k.useContext(ui),t=e[e.length-1];return t?t.params:{}}function $b(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=k.useContext(ui),{pathname:i}=Tr(),o=JSON.stringify(Mb(r).map(a=>a.pathnameBase));return k.useMemo(()=>Nb(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function HC(e,t){za()||Ye(!1);let{navigator:n}=k.useContext(hu),r=k.useContext(jb),{matches:i}=k.useContext(ui),o=i[i.length-1],a=o?o.params:{};o&&o.pathname;let s=o?o.pathnameBase:"/";o&&o.route;let l=Tr(),u;if(t){var c;let P=typeof t=="string"?co(t):t;s==="/"||(c=P.pathname)!=null&&c.startsWith(s)||Ye(!1),u=P}else u=l;let d=u.pathname||"/",h=s==="/"?d:d.slice(s.length)||"/",m=cC(e,{pathname:h}),b=qC(m&&m.map(P=>Object.assign({},P,{params:Object.assign({},a,P.params),pathname:mr([s,n.encodeLocation?n.encodeLocation(P.pathname).pathname:P.pathname]),pathnameBase:P.pathnameBase==="/"?s:mr([s,n.encodeLocation?n.encodeLocation(P.pathnameBase).pathname:P.pathnameBase])})),i,r||void 0);return t&&b?k.createElement(mu.Provider,{value:{location:zd({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:rr.Pop}},b):b}function GC(){let e=JC(),t=kC(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r},o={padding:"2px 4px",backgroundColor:r};return k.createElement(k.Fragment,null,k.createElement("h2",null,"Unhandled Thrown Error!"),k.createElement("h3",{style:{fontStyle:"italic"}},t),n?k.createElement("pre",{style:i},n):null,k.createElement("p",null,"💿 Hey developer 👋"),k.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",k.createElement("code",{style:o},"errorElement")," props on ",k.createElement("code",{style:o},"<Route>")))}class YC extends k.Component{constructor(t){super(t),this.state={location:t.location,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location?{error:t.error,location:t.location}:{error:t.error||n.error,location:n.location}}compo
|
|||
|
|
* React Router DOM v6.7.0
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Remix Software Inc.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE.md file in the root directory of this source tree.
|
|||
|
|
*
|
|||
|
|
* @license MIT
|
|||
|
|
*/function Wd(){return Wd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wd.apply(this,arguments)}function nx(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function rx(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function ix(e,t){return e.button===0&&(!t||t==="_self")&&!rx(e)}function Hd(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(i=>[n,i]):[[n,r]])},[]))}function ox(e,t){let n=Hd(e);for(let r of t.keys())n.has(r)||t.getAll(r).forEach(i=>{n.append(r,i)});return n}const ax=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"];function sx(e){let{basename:t,children:n,window:r}=e,i=k.useRef();i.current==null&&(i.current=aC({window:r,v5Compat:!0}));let o=i.current,[a,s]=k.useState({action:o.action,location:o.location});return k.useLayoutEffect(()=>o.listen(s),[o]),k.createElement(ex,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o})}const Jt=k.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:a,state:s,target:l,to:u,preventScrollReset:c}=t,d=nx(t,ax),h=WC(u,{relative:i}),m=lx(u,{replace:a,state:s,target:l,preventScrollReset:c,relative:i});function b(P){r&&r(P),P.defaultPrevented||m(P)}return k.createElement("a",Wd({},d,{href:h,onClick:o?r:b,ref:n,target:l}))});var Tv;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(Tv||(Tv={}));var Cv;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Cv||(Cv={}));function lx(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:a}=t===void 0?{}:t,s=Hh(),l=Tr(),u=$b(e,{relative:a});return k.useCallback(c=>{if(ix(c,n)){c.preventDefault();let d=r!==void 0?r:El(l)===El(u);s(e,{replace:d,state:i,preventScrollReset:o,relative:a})}},[l,s,u,r,i,n,e,o,a])}function ux(e){let t=k.useRef(Hd(e)),n=Tr(),r=k.useMemo(()=>ox(n.search,t.current),[n.search]),i=Hh(),o=k.useCallback((a,s)=>{const l=Hd(typeof a=="function"?a(r):a);i("?"+l,s)},[i,r]);return[r,o]}const Yh=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),yu=k.createContext({});function cx(){return k.useContext(yu).visualElement}const Ua=k.createContext(null),vu=typeof document<"u",Cl=vu?k.useLayoutEffect:k.useEffect,Fb=k.createContext({strict:!1});function fx(e,t,n,r){const i=cx(),o=k.useContext(Fb),a=k.useContext(Ua),s=k.useContext(Yh).reducedMotion,l=k.useRef();r=r||o.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:n,presenceId:a?a.id:void 0,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:s}));const u=l.current;return Cl(()=>{u&&u.render()}),(window.MotionAppearAnimations?Cl:k.useEffect)(()=>{u&&u.animationState&&u.animationState.animateChanges()}),u}function Li(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function dx(e,t,n){return k.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Li(n)&&(n.current=r))},[t])}function Pa(e){return typeof e=="string"||Array.isArray(e)}function gu(e){return typeof e=="object"&&typeof e.start=="function"}const px=["initial","animate","exit","whileHover","whileDrag","whileTap","whileFocus","whileInView"];function wu(e){return gu(e.animate)||px.some(t=>Pa(e[t]))}function Bb(e){return Boolean(wu(e)||e.variants)}function hx(e,t){if(wu(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Pa(n)?n:void 0,animate:Pa(r)?r:void 0}}return e.inherit!==!1?t:{}}function mx(e){const{initial:t,animate:n}=hx(e,k.useContext(yu));return k.useMemo(()=>({initial:t,animate:n}),[xv(t),xv(n)])}function xv(e){return Array.isArray(e)?e.join(" "):e}const xn=e=>({isEnabled:t=>e.some(n=>!!t[n])}),Oa={measureLayo
|
|||
|
|
[data-motion-pop-id="${n}"] {
|
|||
|
|
position: absolute !important;
|
|||
|
|
width: ${o}px !important;
|
|||
|
|
height: ${a}px !important;
|
|||
|
|
top: ${s}px !important;
|
|||
|
|
left: ${l}px !important;
|
|||
|
|
}
|
|||
|
|
`),()=>{document.head.removeChild(u)}},[t]),k.createElement(Sk,{isPresent:t,childRef:r,sizeRef:i},k.cloneElement(e,{ref:r}))}const nf=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:a})=>{const s=bu(Ok),l=k.useId(),u=k.useMemo(()=>({id:l,initial:t,isPresent:n,custom:i,onExitComplete:c=>{s.set(c,!0);for(const d of s.values())if(!d)return;r&&r()},register:c=>(s.set(c,!1),()=>s.delete(c))}),o?void 0:[n]);return k.useMemo(()=>{s.forEach((c,d)=>s.set(d,!1))},[n]),k.useEffect(()=>{!n&&!s.size&&r&&r()},[n]),a==="popLayout"&&(e=k.createElement(Pk,{isPresent:n},e)),k.createElement(Ua.Provider,{value:u},e)};function Ok(){return new Map}const wi=e=>e.key||"";function _k(e,t){e.forEach(n=>{const r=wi(n);t.set(r,n)})}function Ek(e){const t=[];return k.Children.forEach(e,n=>{k.isValidElement(n)&&t.push(n)}),t}const Tk=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:i,presenceAffectsLayout:o=!0,mode:a="sync"})=>{i&&(a="wait");let[s]=bk();const l=k.useContext(Kh).forceRender;l&&(s=l);const u=ZS(),c=Ek(e);let d=c;const h=new Set,m=k.useRef(d),b=k.useRef(new Map).current,P=k.useRef(!0);if(Cl(()=>{P.current=!1,_k(c,b),m.current=d}),im(()=>{P.current=!0,b.clear(),h.clear()}),P.current)return k.createElement(k.Fragment,null,d.map(S=>k.createElement(nf,{key:wi(S),isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:o,mode:a},S)));d=[...d];const T=m.current.map(wi),y=c.map(wi),g=T.length;for(let S=0;S<g;S++){const x=T[S];y.indexOf(x)===-1&&h.add(x)}return a==="wait"&&h.size&&(d=[]),h.forEach(S=>{if(y.indexOf(S)!==-1)return;const x=b.get(S);if(!x)return;const _=T.indexOf(S),E=()=>{b.delete(S),h.delete(S);const w=m.current.findIndex(f=>f.key===S);if(m.current.splice(w,1),!h.size){if(m.current=c,u.current===!1)return;s(),r&&r()}};d.splice(_,0,k.createElement(nf,{key:wi(x),isPresent:!1,onExitComplete:E,custom:t,presenceAffectsLayout:o,mode:a},x))}),d=d.map(S=>{const x=S.key;return h.has(x)?S:k.createElement(nf,{key:wi(S),isPresent:!0,presenceAffectsLayout:o,mode:a},S)}),k.createElement(k.Fragment,null,h.size?d:d.map(S=>k.cloneElement(S)))},Ck=({children:e})=>{const t=Tr();return k.useEffect(()=>{window.scrollTo({top:0,behavior:"smooth"})},[t.pathname]),e};let ks;const xk=new Uint8Array(16);function Dk(){if(!ks&&(ks=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!ks))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return ks(xk)}const tt=[];for(let e=0;e<256;++e)tt.push((e+256).toString(16).slice(1));function Rk(e,t=0){return(tt[e[t+0]]+tt[e[t+1]]+tt[e[t+2]]+tt[e[t+3]]+"-"+tt[e[t+4]]+tt[e[t+5]]+"-"+tt[e[t+6]]+tt[e[t+7]]+"-"+tt[e[t+8]]+tt[e[t+9]]+"-"+tt[e[t+10]]+tt[e[t+11]]+tt[e[t+12]]+tt[e[t+13]]+tt[e[t+14]]+tt[e[t+15]]).toLowerCase()}const kk=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Rg={randomUUID:kk};function ot(e,t,n){if(Rg.randomUUID&&!t&&!e)return Rg.randomUUID();e=e||{};const r=e.random||(e.rng||Dk)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n=n||0;for(let i=0;i<16;++i)t[n+i]=r[i];return t}return Rk(r)}const zn="https://turkmenistaninfo.gov.tm/app/api/v1";function JS(e,t){return function(){return e.apply(t,arguments)}}const{toString:eP}=Object.prototype,{getPrototypeOf:Sm}=Object,Pm=(e=>t=>{const n=eP.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Un=e=>(e=e.toLowerCase(),t=>Pm(t)===e),Eu=e=>t=>typeof t===e,{isArray:fo}=Array,Ta=Eu("undefined");function Lk(e){return e!==null&&!Ta(e)&&e.constructor!==null&&!Ta(e.constructor)&&ei(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const tP=Un("ArrayBuffer");function Ak(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&tP(e.buffer),t}const Mk=Eu("string"),ei=Eu("function"),nP=Eu("number"),Om=e=>e!==null&&typeof e=="object",Nk=e=>e===!0||e===!1,qs=e=>{if(Pm(e)!=="object")return!1;const t=Sm(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}
|
|||
|
|
`).forEach(function(a){i=a.indexOf(":"),n=a.substring(0,i).trim().toLowerCase(),r=a.substring(i+1).trim(),!(!n||t[n]&&OL[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Ng=Symbol("internals");function Co(e){return e&&String(e).trim().toLowerCase()}function Xs(e){return e===!1||e==null?e:U.isArray(e)?e.map(Xs):String(e)}function EL(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 TL(e){return/^[-_a-zA-Z]+$/.test(e.trim())}function Ig(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 CL(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function xL(e,t){const n=U.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,o,a){return this[r].call(this,t,i,o,a)},configurable:!0})})}class xu{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(s,l,u){const c=Co(l);if(!c)throw new Error("header name must be a non-empty string");const d=U.findKey(i,c);(!d||i[d]===void 0||u===!0||u===void 0&&i[d]!==!1)&&(i[d||l]=Xs(s))}const a=(s,l)=>U.forEach(s,(u,c)=>o(u,c,l));return U.isPlainObject(t)||t instanceof this.constructor?a(t,n):U.isString(t)&&(t=t.trim())&&!TL(t)?a(_L(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=Co(t),t){const r=U.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return EL(i);if(U.isFunction(n))return n.call(this,i,r);if(U.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Co(t),t){const r=U.findKey(this,t);return!!(r&&(!n||Ig(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(a){if(a=Co(a),a){const s=U.findKey(r,a);s&&(!n||Ig(r,r[s],s,n))&&(delete r[s],i=!0)}}return U.isArray(t)?t.forEach(o):o(t),i}clear(){return Object.keys(this).forEach(this.delete.bind(this))}normalize(t){const n=this,r={};return U.forEach(this,(i,o)=>{const a=U.findKey(r,o);if(a){n[a]=Xs(i),delete n[o];return}const s=t?CL(o):String(o).trim();s!==o&&delete n[o],n[s]=Xs(i),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return U.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&U.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|||
|
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[Ng]=this[Ng]={accessors:{}}).accessors,i=this.prototype;function o(a){const s=Co(a);r[s]||(xL(i,a),r[s]=!0)}return U.isArray(t)?t.forEach(o):o(t),this}}xu.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent"]);U.freezeMethods(xu.prototype);U.freezeMethods(xu);const Nn=xu;function rf(e,t){const n=this||Em,r=t||n,i=Nn.from(r.headers);let o=r.data;return U.forEach(e,function(s){o=s.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function hP(e){return!!(e&&e.__CANCEL__)}function Ka(e,t,n){fe.call(this,e??"canceled",fe.ERR_CANCELED,t,n),this.name="CanceledError"}U.inherits(Ka,fe,{__CANCEL__:!0});const DL=null;function RL(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new fe("Request failed with status code "+n.status,[fe.ERR_BAD_REQUEST,fe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const kL=Sn.isStandardBrowserEnv?function(){return{write:function(n,r,i,o,a,s){const l=[];l.push(n+"="+encodeURIComponent(r)),U.isNumber(i)&&l.push("expires="+new Date(i).toGMTString()),U.isString(o)&&l.push("path="+o),U.isString(a)&&l.push("domain="+a),s===!0&&l.push("secure"),document.cookie=l.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 LL(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function AL(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function mP(e,t){return e&&!LL(t)?AL(e,t):t}const ML=Sn.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(o){let a=o;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{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(a){const s=U.isString(a)?i(a):a;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}();function NL(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function IL(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,a;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[o];a||(a=u),n[i]=l,r[i]=u;let d=o,h=0;for(;d!==i;)h+=n[d++],d=d%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),u-a<t)return;const m=c&&u-c;return m?Math.round(h*1e3/m):void 0}}function jg(e,t){let n=0;const r=IL(50,250);return i=>{const o=i.loaded,a=i.lengthComputable?i.total:void 0,s=o-n,l=r(s),u=o<=a;n=o;const c={loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&u?(a-o)/l:void 0,event:i};c[t?"download":"upload"]=!0,e(c)}}const jL=typeof XMLHttpRequest<"u",VL=jL&&function(e){return new Promise(function(n,r){let i=e.data;const o=Nn.from(e.headers).normalize(),a=e.responseType;let s;function l(){e.cancelToken&&e.cancelToken.unsubscribe(s),e.signal&&e.signal.removeEventListener("abort",s)}U.isFormData(i)&&(Sn.isStandardBrowserEnv||Sn.isStandardBrowserWebWorkerEnv)&&o.setContentType(!1);let u=new XMLHttpRequest;if(e.auth){const m=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(m+":"+b))}const c=mP(e.baseURL,e.url);u.open(e.method.toUpperCase(),fP(c,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function d(){if(!u)return;const m=Nn.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),P={data:!a||a==="text"||a==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:m,config:e,request:u};RL(function(y){n(y),l()},function(y){r(y),l()},
|
|||
|
|
* @license React
|
|||
|
|
* use-sync-external-store-shim.production.min.js
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE file in the root directory of this source tree.
|
|||
|
|
*/var io=k;function YL(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var KL=typeof Object.is=="function"?Object.is:YL,qL=io.useState,XL=io.useEffect,QL=io.useLayoutEffect,ZL=io.useDebugValue;function JL(e,t){var n=t(),r=qL({inst:{value:n,getSnapshot:t}}),i=r[0].inst,o=r[1];return QL(function(){i.value=n,i.getSnapshot=t,af(i)&&o({inst:i})},[e,n,t]),XL(function(){return af(i)&&o({inst:i}),e(function(){af(i)&&o({inst:i})})},[e]),ZL(n),n}function af(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!KL(e,n)}catch{return!0}}function eA(e,t){return t()}var tA=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?eA:JL;gP.useSyncExternalStore=io.useSyncExternalStore!==void 0?io.useSyncExternalStore:tA;(function(e){e.exports=gP})(GL);var mp={},nA={get exports(){return mp},set exports(e){mp=e}},wP={};/**
|
|||
|
|
* @license React
|
|||
|
|
* use-sync-external-store-shim/with-selector.production.min.js
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE file in the root directory of this source tree.
|
|||
|
|
*/var Du=k,rA=hp;function iA(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var oA=typeof Object.is=="function"?Object.is:iA,aA=rA.useSyncExternalStore,sA=Du.useRef,lA=Du.useEffect,uA=Du.useMemo,cA=Du.useDebugValue;wP.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var o=sA(null);if(o.current===null){var a={hasValue:!1,value:null};o.current=a}else a=o.current;o=uA(function(){function l(m){if(!u){if(u=!0,c=m,m=r(m),i!==void 0&&a.hasValue){var b=a.value;if(i(b,m))return d=b}return d=m}if(b=d,oA(c,m))return b;var P=r(m);return i!==void 0&&i(b,P)?b:(c=m,d=P)}var u=!1,c,d,h=n===void 0?null:n;return[function(){return l(t())},h===null?void 0:function(){return l(h())}]},[t,n,r,i]);var s=aA(e,o[0],o[1]);return lA(function(){a.hasValue=!0,a.value=s},[s]),cA(s),s};(function(e){e.exports=wP})(nA);function fA(e){e()}let bP=fA;const dA=e=>bP=e,pA=()=>bP,br=k.createContext(null);function SP(){return k.useContext(br)}const hA=()=>{throw new Error("uSES not initialized!")};let PP=hA;const mA=e=>{PP=e},yA=(e,t)=>e===t;function vA(e=br){const t=e===br?SP:()=>k.useContext(e);return function(r,i=yA){const{store:o,subscription:a,getServerState:s}=t(),l=PP(a.addNestedSub,o.getState,s||o.getState,r,i);return k.useDebugValue(l),l}}const It=vA();var yp={},gA={get exports(){return yp},set exports(e){yp=e}},he={};/** @license React v16.13.1
|
|||
|
|
* react-is.production.min.js
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE file in the root directory of this source tree.
|
|||
|
|
*/var Je=typeof Symbol=="function"&&Symbol.for,xm=Je?Symbol.for("react.element"):60103,Dm=Je?Symbol.for("react.portal"):60106,Ru=Je?Symbol.for("react.fragment"):60107,ku=Je?Symbol.for("react.strict_mode"):60108,Lu=Je?Symbol.for("react.profiler"):60114,Au=Je?Symbol.for("react.provider"):60109,Mu=Je?Symbol.for("react.context"):60110,Rm=Je?Symbol.for("react.async_mode"):60111,Nu=Je?Symbol.for("react.concurrent_mode"):60111,Iu=Je?Symbol.for("react.forward_ref"):60112,ju=Je?Symbol.for("react.suspense"):60113,wA=Je?Symbol.for("react.suspense_list"):60120,Vu=Je?Symbol.for("react.memo"):60115,$u=Je?Symbol.for("react.lazy"):60116,bA=Je?Symbol.for("react.block"):60121,SA=Je?Symbol.for("react.fundamental"):60117,PA=Je?Symbol.for("react.responder"):60118,OA=Je?Symbol.for("react.scope"):60119;function zt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case xm:switch(e=e.type,e){case Rm:case Nu:case Ru:case Lu:case ku:case ju:return e;default:switch(e=e&&e.$$typeof,e){case Mu:case Iu:case $u:case Vu:case Au:return e;default:return t}}case Dm:return t}}}function OP(e){return zt(e)===Nu}he.AsyncMode=Rm;he.ConcurrentMode=Nu;he.ContextConsumer=Mu;he.ContextProvider=Au;he.Element=xm;he.ForwardRef=Iu;he.Fragment=Ru;he.Lazy=$u;he.Memo=Vu;he.Portal=Dm;he.Profiler=Lu;he.StrictMode=ku;he.Suspense=ju;he.isAsyncMode=function(e){return OP(e)||zt(e)===Rm};he.isConcurrentMode=OP;he.isContextConsumer=function(e){return zt(e)===Mu};he.isContextProvider=function(e){return zt(e)===Au};he.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===xm};he.isForwardRef=function(e){return zt(e)===Iu};he.isFragment=function(e){return zt(e)===Ru};he.isLazy=function(e){return zt(e)===$u};he.isMemo=function(e){return zt(e)===Vu};he.isPortal=function(e){return zt(e)===Dm};he.isProfiler=function(e){return zt(e)===Lu};he.isStrictMode=function(e){return zt(e)===ku};he.isSuspense=function(e){return zt(e)===ju};he.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Ru||e===Nu||e===Lu||e===ku||e===ju||e===wA||typeof e=="object"&&e!==null&&(e.$$typeof===$u||e.$$typeof===Vu||e.$$typeof===Au||e.$$typeof===Mu||e.$$typeof===Iu||e.$$typeof===SA||e.$$typeof===PA||e.$$typeof===OA||e.$$typeof===bA)};he.typeOf=zt;(function(e){e.exports=he})(gA);var _P=yp,_A={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},EA={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},EP={};EP[_P.ForwardRef]=_A;EP[_P.Memo]=EA;var Bg={},TA={get exports(){return Bg},set exports(e){Bg=e}},me={};/**
|
|||
|
|
* @license React
|
|||
|
|
* react-is.production.min.js
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE file in the root directory of this source tree.
|
|||
|
|
*/var km=Symbol.for("react.element"),Lm=Symbol.for("react.portal"),Fu=Symbol.for("react.fragment"),Bu=Symbol.for("react.strict_mode"),zu=Symbol.for("react.profiler"),Uu=Symbol.for("react.provider"),Wu=Symbol.for("react.context"),CA=Symbol.for("react.server_context"),Hu=Symbol.for("react.forward_ref"),Gu=Symbol.for("react.suspense"),Yu=Symbol.for("react.suspense_list"),Ku=Symbol.for("react.memo"),qu=Symbol.for("react.lazy"),xA=Symbol.for("react.offscreen"),TP;TP=Symbol.for("react.module.reference");function en(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case km:switch(e=e.type,e){case Fu:case zu:case Bu:case Gu:case Yu:return e;default:switch(e=e&&e.$$typeof,e){case CA:case Wu:case Hu:case qu:case Ku:case Uu:return e;default:return t}}case Lm:return t}}}me.ContextConsumer=Wu;me.ContextProvider=Uu;me.Element=km;me.ForwardRef=Hu;me.Fragment=Fu;me.Lazy=qu;me.Memo=Ku;me.Portal=Lm;me.Profiler=zu;me.StrictMode=Bu;me.Suspense=Gu;me.SuspenseList=Yu;me.isAsyncMode=function(){return!1};me.isConcurrentMode=function(){return!1};me.isContextConsumer=function(e){return en(e)===Wu};me.isContextProvider=function(e){return en(e)===Uu};me.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===km};me.isForwardRef=function(e){return en(e)===Hu};me.isFragment=function(e){return en(e)===Fu};me.isLazy=function(e){return en(e)===qu};me.isMemo=function(e){return en(e)===Ku};me.isPortal=function(e){return en(e)===Lm};me.isProfiler=function(e){return en(e)===zu};me.isStrictMode=function(e){return en(e)===Bu};me.isSuspense=function(e){return en(e)===Gu};me.isSuspenseList=function(e){return en(e)===Yu};me.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Fu||e===zu||e===Bu||e===Gu||e===Yu||e===xA||typeof e=="object"&&e!==null&&(e.$$typeof===qu||e.$$typeof===Ku||e.$$typeof===Uu||e.$$typeof===Wu||e.$$typeof===Hu||e.$$typeof===TP||e.getModuleId!==void 0)};me.typeOf=en;(function(e){e.exports=me})(TA);function DA(){const e=pA();let t=null,n=null;return{clear(){t=null,n=null},notify(){e(()=>{let r=t;for(;r;)r.callback(),r=r.next})},get(){let r=[],i=t;for(;i;)r.push(i),i=i.next;return r},subscribe(r){let i=!0,o=n={callback:r,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){!i||t===null||(i=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}const zg={notify(){},get:()=>[]};function RA(e,t){let n,r=zg;function i(d){return l(),r.subscribe(d)}function o(){r.notify()}function a(){c.onStateChange&&c.onStateChange()}function s(){return Boolean(n)}function l(){n||(n=t?t.addNestedSub(a):e.subscribe(a),r=DA())}function u(){n&&(n(),n=void 0,r.clear(),r=zg)}const c={addNestedSub:i,notifyNestedSubs:o,handleChangeWrapper:a,isSubscribed:s,trySubscribe:l,tryUnsubscribe:u,getListeners:()=>r};return c}const kA=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",LA=kA?k.useLayoutEffect:k.useEffect;function AA({store:e,context:t,children:n,serverState:r}){const i=k.useMemo(()=>{const s=RA(e);return{store:e,subscription:s,getServerState:r?()=>r:void 0}},[e,r]),o=k.useMemo(()=>e.getState(),[e]);LA(()=>{const{subscription:s}=i;return s.onStateChange=s.notifyNestedSubs,s.trySubscribe(),o!==e.getState()&&s.notifyNestedSubs(),()=>{s.tryUnsubscribe(),s.onStateChange=void 0}},[i,o]);const a=t||br;return Q.createElement(a.Provider,{value:i},n)}function CP(e=br){const t=e===br?SP:()=>k.useContext(e);return function(){const{store:r}=t();return r}}const MA=CP();function NA(e=br){const t=e===br?MA:CP(e);return function(){return t().dispatch}}const Cr=NA();mA(mp.useSyncExternalStoreWithSelector);dA(ra.unstable_batchedUpdates);const IA=(e,t,n)=>{if(t=t+`?${e.name}=${e.value.toLowerCase()}`,!n)return t;let r="";return n.forEach(i=>{r=r+`&${i.name}=${i.value}`}),t+r};class dn{constructor(t,n){us(this,"url","");us(this,"params");us(this,"language",It(t=>t.language.title));this.url=t,this.params=n}get(t,n){const r={name:"locale",value:this.language};HL.get(IA(r,this.url,this.params)).then(i=>{n(i.data)}).catch(i=>{throw new Error(i)})}}const jA=[{name:
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function uM(e,t){if(e){if(typeof e=="string")return Hg(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 Hg(e,t)}}function Hg(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function cM(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var n=[],r=!0,i=!1,o=void 0;try{for(var a=e[Symbol.iterator](),s;!(r=(s=a.next()).done)&&(n.push(s.value),!(t&&n.length===t));r=!0);}catch(l){i=!0,o=l}finally{try{!r&&a.return!=null&&a.return()}finally{if(i)throw o}}return n}}function fM(e){if(Array.isArray(e))return e}var dM=/[?&#](?:start|t)=([0-9hms]+)/,pM=/[?&#]end=([0-9hms]+)/,vp=/(\d+)(h|m|s)/g,hM=/^\d+$/;function AP(e,t){if(!(e instanceof Array)){var n=e.match(t);if(n){var r=n[1];if(r.match(vp))return mM(r);if(hM.test(r))return parseInt(r)}}}function mM(e){for(var t=0,n=vp.exec(e);n!==null;){var r=n,i=sM(r,3),o=i[1],a=i[2];a==="h"&&(t+=parseInt(o,10)*60*60),a==="m"&&(t+=parseInt(o,10)*60),a==="s"&&(t+=parseInt(o,10)),n=vp.exec(e)}return t}function yM(e){return AP(e,dM)}function vM(e){return AP(e,pM)}function gM(){return Math.random().toString(36).substr(2,5)}function wM(e){return Object.keys(e).map(function(t){return"".concat(t,"=").concat(e[t])}).join("&")}function sf(e){return window[e]?window[e]:window.exports&&window.exports[e]?window.exports[e]:window.module&&window.module.exports&&window.module.exports[e]?window.module.exports[e]:null}var vi={};function bM(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){return!0},i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:oM.default,o=sf(t);return o&&r(o)?Promise.resolve(o):new Promise(function(a,s){if(vi[e]){vi[e].push({resolve:a,reject:s});return}vi[e]=[{resolve:a,reject:s}];var l=function(d){vi[e].forEach(function(h){return h.resolve(d)})};if(n){var u=window[n];window[n]=function(){u&&u(),l(sf(t))}}i(e,function(c){c?(vi[e].forEach(function(d){return d.reject(c)}),vi[e]=null):n||l(sf(t))})})}function SM(e,t){return(0,aM.default)(t.config,e.config)}function PM(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(var o=(t=[]).concat.apply(t,r),a={},s=Object.keys(e),l=0,u=s;l<u.length;l++){var c=u[l];o.indexOf(c)===-1&&(a[c]=e[c])}return a}function OM(e){var t;if(!this.player||!this.player[e]){var n="ReactPlayer: ".concat(this.constructor.displayName," player could not call %c").concat(e,"%c – ");return this.player?this.player[e]||(n+="The method was not available"):n+="The player was not available",console.warn(n,"font-weight: bold",""),null}for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return(t=this.player)[e].apply(t,i)}function _M(e){return typeof window<"u"&&typeof window.MediaStream<"u"&&e instanceof window.MediaStream}function EM(e){return/^blob:/.test(e)}function TM(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document.createElement("video"),t=/iPhone|iPod/.test(navigator.userAgent)===!1;return e.webkitSupportsPresentationMode&&typeof e.webkitSetPresentationMode=="function"&&t}var ie={};Object.defineProperty(ie,"__esModule",{value:!0});ie.canPlay=ie.FLV_EXTENSIONS=ie.DASH_EXTENSIONS=ie.HLS_EXTENSIONS=ie.VIDEO_EXTENSIONS=ie.AUDIO_EXTENSIONS=ie.MATCH_URL_KALTURA=ie.MATCH_URL_VIDYARD=ie.MATCH_URL_MIXCLOUD=ie.MATCH_URL_DAILYMOTION=ie.MATCH_URL_TWITCH_CHANNEL=ie.MATCH_URL_TWITCH_VIDEO=ie.MATCH_URL_WISTIA=ie.MATCH_URL_STREAMABLE=ie.MATCH_URL_FACEBOOK_WATCH=ie.MATCH_URL_FACEBOOK=ie.MATCH_URL_VIMEO=ie.MATCH_URL_SOUNDCLOUD=ie.MATCH_URL_YOUTUBE=void 0;var Gg=ve;function CM(e,t){var n;if(typeof Symbol>"u"||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=xM(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,a=!1,s;return{s:function(){n=e[Symbol.iterator]()},n:function(){var u=n.next();return o=u.done,u},e:function(u){a=!0,s=u},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(a)throw s}}}}function xM(e,t){if(e){if(typeof e=="string")return Yg(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 Yg(e,t)}}function Yg(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var gp=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//;ie.MATCH_URL_YOUTUBE=gp;var MP=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/;ie.MATCH_URL_SOUNDCLOUD=MP;var NP=/vimeo\.com\/(?!progressive_redirect).+/;ie.MATCH_URL_VIMEO=NP;var IP=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/;ie.MATCH_URL_FACEBOOK=IP;var jP=/^https?:\/\/fb\.watch\/.+$/;ie.MATCH_URL_FACEBOOK_WATCH=jP;var VP=/streamable\.com\/([a-z0-9]+)$/;ie.MATCH_URL_STREAMABLE=VP;var $P=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?(.*)$/;ie.MATCH_URL_WISTIA=$P;var FP=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/;ie.MATCH_URL_TWITCH_VIDEO=FP;var BP=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/;ie.MATCH_URL_TWITCH_CHANNEL=BP;var zP=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?$/;ie.MATCH_URL_DAILYMOTION=zP;var UP=/mixcloud\.com\/([^/]+\/[^/]+)/;ie.MATCH_URL_MIXCLOUD=UP;var WP=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/;ie.MATCH_URL_VIDYARD=WP;var HP=/^https?:\/\/[a-zA-Z]+\.kaltura.(com|org)\/p\/([0-9]+)\/sp\/([0-9]+)00\/embedIframeJs\/uiconf_id\/([0-9]+)\/partner_id\/([0-9]+)(.*)entry_id.([a-zA-Z0-9-_].*)$/;ie.MATCH_URL_KALTURA=HP;var Am=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i;ie.AUDIO_EXTENSIONS=Am;var Mm=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i;ie.VIDEO_EXTENSIONS=Mm;var Nm=/\.(m3u8)($|\?)/i;ie.HLS_EXTENSIONS=Nm;var GP=/\.(mpd)($|\?)/i;ie.DASH_EXTENSIONS=GP;var YP=/\.(flv)($|\?)/i;ie.FLV_EXTENSIONS=YP;var DM=function e(t){if(t instanceof Array){var n=CM(t),r;try{for(n.s();!(r=n.n()).done;){var i=r.value;if(typeof i=="string"&&e(i)||e(i.src))return!0}}catch(o){n.e(o)}finally{n.f()}return!1}return(0,Gg.isMediaStream)(t)||(0,Gg.isBlobUrl)(t)?!0:Am.test(t)||Mm.test(t)||Nm.test(t)||GP.test(t)||YP.test(t)},RM={youtube:function(t){return t instanceof Array?t.every(function(n){return gp.test(n)}):gp.test(t)},soundcloud:function(t){return MP.test(t)&&!Am.test(t)},vimeo:function(t){return NP.test(t)&&!Mm.test(t)&&!Nm.test(t)},facebook:function(t){return IP.test(t)||jP.test(t)},streamable:function(t){return VP.test(t)},wistia:function(t){return $P.test(t)},twitch:function(t){return FP.test(t)||BP.test(t)},dailymotion:function(t){return zP.test(t)},mixcloud:function(t){return UP.test(t)},vidyard:function(t){return WP.test(t)},kaltura:function(t){return HP.test(t)},file:DM};ie.canPlay=RM;var lf={},Kg;function kM(){return Kg||(Kg=1,function(e){function t(L){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(A){return typeof A}:t=function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},t(L)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(k),r=ve,i=ie;function o(){if(typeof WeakMap!="function")return null;var L=new WeakMap;return o=function(){return L},L}function a(L){if(L&&L.__esModule)return L;if(L===null||t(L)!=="object"&&typeof L!="function")return{default:L};var D=o();if(D&&D.has(L))return D.get(L);var A={},V=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var z in L)if(Object.prototype.hasOwnProperty.call(L,z)){var H=V?Object.getOwnPropertyDescriptor(L,z):null;H&&(H.get||H.set)?Object.defineProperty(A,z
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(L,D){if(L){if(typeof L=="string")return h(L,D);var A=Object.prototype.toString.call(L).slice(8,-1);if(A==="Object"&&L.constructor&&(A=L.constructor.name),A==="Map"||A==="Set")return Array.from(L);if(A==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A))return h(L,D)}}function h(L,D){(D==null||D>L.length)&&(D=L.length);for(var A=0,V=new Array(D);A<D;A++)V[A]=L[A];return V}function m(L,D){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(L)))){var A=[],V=!0,z=!1,H=void 0;try{for(var Z=L[Symbol.iterator](),re;!(V=(re=Z.next()).done)&&(A.push(re.value),!(D&&A.length===D));V=!0);}catch(oe){z=!0,H=oe}finally{try{!V&&Z.return!=null&&Z.return()}finally{if(z)throw H}}return A}}function b(L){if(Array.isArray(L))return L}function P(L,D){if(!(L instanceof D))throw new TypeError("Cannot call a class as a function")}function T(L,D){for(var A=0;A<D.length;A++){var V=D[A];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(L,V.key,V)}}function y(L,D,A){return D&&T(L.prototype,D),A&&T(L,A),L}function g(L,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function");L.prototype=Object.create(D&&D.prototype,{constructor:{value:L,writable:!0,configurable:!0}}),D&&S(L,D)}function S(L,D){return S=Object.setPrototypeOf||function(V,z){return V.__proto__=z,V},S(L,D)}function x(L){var D=w();return function(){var V=f(L),z;if(D){var H=f(this).constructor;z=Reflect.construct(V,arguments,H)}else z=V.apply(this,arguments);return _(this,z)}}function _(L,D){return D&&(t(D)==="object"||typeof D=="function")?D:E(L)}function E(L){if(L===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L}function w(){if(typeof Reflect>"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(L){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(A){return A.__proto__||Object.getPrototypeOf(A)},f(L)}function v(L,D,A){return D in L?Object.defineProperty(L,D,{value:A,enumerable:!0,configurable:!0,writable:!0}):L[D]=A,L}var p="https://www.youtube.com/iframe_api",O="YT",C="onYouTubeIframeAPIReady",N=/[?&](?:list|channel)=([a-zA-Z0-9_-]+)/,R=/user\/([a-zA-Z0-9_-]+)\/?/,$=/youtube-nocookie\.com/,I="https://www.youtube-nocookie.com",j=function(L){g(A,L);var D=x(A);function A(){var V;P(this,A);for(var z=arguments.length,H=new Array(z),Z=0;Z<z;Z++)H[Z]=arguments[Z];return V=D.call.apply(D,[this].concat(H)),v(E(V),"callPlayer",r.callPlayer),v(E(V),"parsePlaylist",function(re){if(re instanceof Array)return{listType:"playlist",playlist:re.map(V.getID).join(",")};if(N.test(re)){var oe=re.match(N),se=u(oe,2),Se=se[1];return{listType:"playlist",list:Se.replace(/^UC/,"UU")}}if(R.test(re)){var xe=re.match(R),ce=u(xe,2),Pe=ce[1];return{listType:"user_uploads",list:Pe}}return{}}),v(E(V),"onStateChange",function(re){var oe=re.data,se=V.props,Se=se.onPlay,xe=se.onPause,ce=se.onBuffer,Pe=se.onBufferEnd,Ot=se.onEnded,pn=se.onReady,Oe=se.loop,Wt=se.config,Cn=Wt.playerVars,Dr=Wt.onUnstarted,Ht=window[O].PlayerState,os=Ht.UNSTARTED,as=Ht.PLAYING,fc=Ht.PAUSED,yo=Ht.BUFFERING,dc=Ht.ENDED,ss=Ht.CUED;if(oe===os&&Dr(),oe===as&&(Se(),Pe()),oe===fc&&xe(),oe===yo&&ce(),oe===dc){var pc=!!V.callPlayer("getPlaylist");Oe&&!pc&&(Cn.start?V.seekTo(Cn.start):V.play()),Ot()}oe===ss&&pn()}),v(E(V),"mute",function(){V.callPlayer("mute")}),v(E(V),"unmute",function(){V.callPlayer("unMute")}),v(E(V),"ref",function(re){V.container=re}),V}return y(A,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"getID",value:function(z){return!z||z instanceof Array||N.test(z)?null:z.match(i.MATCH_URL_YOUTUBE)[1]}},{key:"load",value:function(z,H){var Z=this,re=this.props,oe=re.playing,se=re.muted,Se=re.playsinline,xe=re.controls,ce=re.loop,Pe=re.config,Ot=re.onError,pn=Pe.playerVars,
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(R,$){if(R){if(typeof R=="string")return h(R,$);var I=Object.prototype.toString.call(R).slice(8,-1);if(I==="Object"&&R.constructor&&(I=R.constructor.name),I==="Map"||I==="Set")return Array.from(R);if(I==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I))return h(R,$)}}function h(R,$){($==null||$>R.length)&&($=R.length);for(var I=0,j=new Array($);I<$;I++)j[I]=R[I];return j}function m(R,$){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(R)))){var I=[],j=!0,L=!1,D=void 0;try{for(var A=R[Symbol.iterator](),V;!(j=(V=A.next()).done)&&(I.push(V.value),!($&&I.length===$));j=!0);}catch(z){L=!0,D=z}finally{try{!j&&A.return!=null&&A.return()}finally{if(L)throw D}}return I}}function b(R){if(Array.isArray(R))return R}function P(R,$){if(!(R instanceof $))throw new TypeError("Cannot call a class as a function")}function T(R,$){for(var I=0;I<$.length;I++){var j=$[I];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(R,j.key,j)}}function y(R,$,I){return $&&T(R.prototype,$),I&&T(R,I),R}function g(R,$){if(typeof $!="function"&&$!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create($&&$.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),$&&S(R,$)}function S(R,$){return S=Object.setPrototypeOf||function(j,L){return j.__proto__=L,j},S(R,$)}function x(R){var $=w();return function(){var j=f(R),L;if($){var D=f(this).constructor;L=Reflect.construct(j,arguments,D)}else L=j.apply(this,arguments);return _(this,L)}}function _(R,$){return $&&(t($)==="object"||typeof $=="function")?$:E(R)}function E(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function w(){if(typeof Reflect>"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(R){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(I){return I.__proto__||Object.getPrototypeOf(I)},f(R)}function v(R,$,I){return $ in R?Object.defineProperty(R,$,{value:I,enumerable:!0,configurable:!0,writable:!0}):R[$]=I,R}var p="https://api.dmcdn.net/all.js",O="DM",C="dmAsyncInit",N=function(R){g(I,R);var $=x(I);function I(){var j;P(this,I);for(var L=arguments.length,D=new Array(L),A=0;A<L;A++)D[A]=arguments[A];return j=$.call.apply($,[this].concat(D)),v(E(j),"callPlayer",r.callPlayer),v(E(j),"onDurationChange",function(){var V=j.getDuration();j.props.onDuration(V)}),v(E(j),"mute",function(){j.callPlayer("setMuted",!0)}),v(E(j),"unmute",function(){j.callPlayer("setMuted",!1)}),v(E(j),"ref",function(V){j.container=V}),j}return y(I,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(L){var D=this,A=this.props,V=A.controls,z=A.config,H=A.onError,Z=A.playing,re=L.match(i.MATCH_URL_DAILYMOTION),oe=u(re,2),se=oe[1];if(this.player){this.player.load(se,{start:(0,r.parseStartTime)(L),autoplay:Z});return}(0,r.getSDK)(p,O,C,function(Se){return Se.player}).then(function(Se){if(D.container){var xe=Se.player;D.player=new xe(D.container,{width:"100%",height:"100%",video:se,params:l({controls:V,autoplay:D.props.playing,mute:D.props.muted,start:(0,r.parseStartTime)(L),origin:window.location.origin},z.params),events:{apiready:D.props.onReady,seeked:function(){return D.props.onSeek(D.player.currentTime)},video_end:D.props.onEnded,durationchange:D.onDurationChange,pause:D.props.onPause,playing:D.props.onPlay,waiting:D.props.onBuffer,error:function(Pe){return H(Pe)}}})}},H)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(L){this.callPlayer("seek",L)}},{key:"setVolume",value:function(L){this.callPlayer("setVolume",L)}},{key:"getDuration",value:function(){return this.player.duration||null}},{key:"getCurrentTim
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fN(e,t){if(e){if(typeof e=="string")return wp(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 wp(e,t)}}function dN(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function pN(e){if(Array.isArray(e))return wp(e)}function wp(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function hN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d0(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mN(e,t,n){return t&&d0(e.prototype,t),n&&d0(e,n),e}function yN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bp(e,t)}function bp(e,t){return bp=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},bp(e,t)}function vN(e){var t=wN();return function(){var r=Bl(e),i;if(t){var o=Bl(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return gN(this,i)}}function gN(e,t){return t&&(ea(t)==="object"||typeof t=="function")?t:ct(e)}function ct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wN(){if(typeof Reflect>"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 Bl(e){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bl(e)}function je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ZP(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return ZP=function(){return e},e}function JP(e){if(e&&e.__esModule)return e;if(e===null||ea(e)!=="object"&&typeof e!="function")return{default:e};var t=ZP();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 o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}var bN=(0,Vr.lazy)(function(){return Promise.resolve().then(function(){return JP(aN())})}),SN=typeof window<"u"&&window.document,PN=typeof Fr<"u"&&Fr.window&&Fr.window.document,ON=Object.keys(jo.propTypes),_N=SN||PN?Vr.Suspense:function(){return null},Do=[],EN=function(t,n){var r,i;return i=r=function(o){yN(s,o);var a=vN(s);function s(){var l;hN(this,s);for(var u=arguments.length,c=new Array(u),d=0;d<u;d++)c[d]=arguments[d];return l=a.call.apply(a,[this].concat(c)),je(ct(l),"state",{showPreview:!!l.props.light}),je(ct(l),"references",{wrapper:function(m){l.wrapper=m},player:function(m){l.player=m}}),je(ct(l),"handleClickPreview",function(h){l.setState({showPreview:!1}),l.props.onClickPreview(h)}),je(ct(l),"showPreview",function(){l.setState({showPreview:!0})}),je(ct(l),"getDuration",function(){return l.player?l.player.getDuration():null}),je(ct(l),"getCurrentTime",function(){return l.player?l.player.getCurrentTime():null}),je(ct(l),"getSecondsLoaded",function(){return l.player?l.player.getSecondsLoaded():null}),je(ct(l),"getInternalPlayer",function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"player";return l.player?l.player.getInternalPlayer(h):null}),je(ct(l),"seekTo",function(h,m){if(!l.player)return null;l.player.seekTo(h,m)}),je(ct(l),"handleReady",function(){l.props.onReady(ct(l))}),je(ct(l),"getActivePlayer",(0,Pf.default)(function(h){for(var m=0,b=[].concat(Do,Of(t));m<b.length;m++){var
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function P9(e,t){if(e){if(typeof e=="string")return Sp(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 Sp(e,t)}}function O9(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function _9(e){if(Array.isArray(e))return Sp(e)}function Sp(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ef(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Be={ARABIC:"Arabic",HEBREW:"Hebrew",ISO_8601:"ISO 8601",US:"US"},m0=(Ro={},Ef(Ro,Be.US,["en-CA","en-US","es-AR","es-BO","es-CL","es-CO","es-CR","es-DO","es-EC","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-SV","es-VE","pt-BR"]),Ef(Ro,Be.ARABIC,["ar","ar-AE","ar-BH","ar-DZ","ar-EG","ar-IQ","ar-JO","ar-KW","ar-LY","ar-OM","ar-QA","ar-SA","ar-SD","ar-SY","ar-YE","dv","dv-MV","ps","ps-AR"]),Ef(Ro,Be.HEBREW,["he","he-IL"]),Ro),Wm=b9(Array(7)).map(function(e,t){return t}),Tf=new Map;function E9(e){return function(t,n){var r=t||fO();Tf.has(r)||Tf.set(r,new Map);var i=Tf.get(r);return i.has(e)||i.set(e,new Intl.DateTimeFormat(r,e).format),i.get(e)(n)}}function T9(e){var t=new Date(e);return new Date(t.setHours(12))}function hi(e){return function(t,n){return E9(e)(t,T9(n))}}var C9={day:"numeric"},x9={day:"numeric",month:"long",year:"numeric"},D9={month:"long"},R9={month:"long",year:"numeric"},k9={weekday:"short"},L9={weekday:"long"},A9={year:"numeric"},M9=hi(C9),N9=hi(x9),I9=hi(D9),PO=hi(R9),j9=hi(k9),V9=hi(L9),lc=hi(A9),$9=Wm[0],F9=Wm[5],y0=Wm[6];function Da(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Be.ISO_8601,n=e.getDay();switch(t){case Be.ISO_8601:return(n+6)%7;case Be.ARABIC:return(n+1)%7;case Be.HEBREW:case Be.US:return n;default:throw new Error("Unsupported calendar type.")}}function B9(e){var t=Qa(e);return ke(t)}function z9(e){var t=pi(e);return ke(t)}function Pp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Be.ISO_8601,n=ke(e),r=xr(e),i=e.getDate()-Da(e,t);return new Date(n,r,i)}function U9(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Be.ISO_8601,n=t===Be.US?Be.US:Be.ISO_8601,r=Pp(e,t),i=ke(e)+1,o,a;do o=new Date(i,0,n===Be.ISO_8601?4:1),a=Pp(o,t),i-=1;while(e<a);return Math.round((r-a)/(864e5*7))+1}function Yr(e,t){switch(e){case"century":return Qa(t);case"decade":return pi(t);case"year":return Za(t);case"month":return ho(t);case"day":return sc(t);default:throw new Error("Invalid rangeType: ".concat(e))}}function W9(e,t){switch(e){case"century":return p9(t);case"decade":return hO(t);case"year":return vO(t);case"month":return wO(t);default:throw new Error("Invalid rangeType: ".concat(e))}}function OO(e,t){switch(e){case"century":return dO(t);case"decade":return $m(t);case"year":return Fm(t);case"month":return zm(t);default:throw new Error("Invalid rangeType: ".concat(e))}}var H9=function(t,n){switch(t){case"decade":return hO(n,-100);case"year":return vO(n,-10);case"month":return wO(n,-12);default:throw new Error("Invalid rangeType: ".concat(t))}},G9=function(t,n){switch(t){case"decade":return $m(n,100);case"year":return Fm(n,10);case"month":return zm(n,12);default:throw new Error("Invalid rangeType: ".concat(t))}};function _O(e,t){switch(e){case"century":return Vm(t);case"decade":return oc(t);case"year":return ac(t);case"month":return Ja(t);case"day":return Um(t);default:throw new Error("Invalid rangeType: ".concat(e))}}function Y9(e,t){switch(e){case"century":return h9(t);case"decade":return mO(t);case"year":return gO(t);case"month":return bO(t);default:throw new Error("Invalid rangeType: ".concat(e))}}var K9=function(t,n){switch(t){case"decade":return mO(n,-100);case"year":return gO(n,-10);case"month":return bO(n,-12);default:throw new Error("Invalid rangeType: ".concat(t))}};function v0(e,t){
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function oI(e,t){if(e){if(typeof e=="string")return _p(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 _p(e,t)}}function aI(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function sI(e){if(Array.isArray(e))return _p(e)}function _p(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function lI(e,t,n){return t&&t>e?t:n&&n<e?n:e}function ka(e,t){return t[0]<=e&&t[1]>=e}function uI(e,t){return e[0]<=t[0]&&e[1]>=t[1]}function kO(e,t){return ka(e[0],t)||ka(e[1],t)}function S0(e,t,n){var r=kO(t,e),i=[];if(r){i.push(n);var o=ka(e[0],t),a=ka(e[1],t);o&&i.push("".concat(n,"Start")),a&&i.push("".concat(n,"End")),o&&a&&i.push("".concat(n,"BothEnds"))}return i}function cI(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.value,n=e.valueType,r=e.date,i=e.dateType,o=e.hover,a="react-calendar__tile",s=[a];if(!r)return s;if(!Array.isArray(r)&&!i)throw new Error("getTileClasses(): Unable to get tile activity classes because one or more required arguments were not passed.");var l=new Date,u=Array.isArray(r)?r:v0(i,r);if(ka(l,u)&&s.push("".concat(a,"--now")),!t)return s;if(!Array.isArray(t)&&!n)throw new Error("getTileClasses(): Unable to get tile activity classes because one or more required arguments were not passed.");var c=Array.isArray(t)?t:v0(n,t);uI(c,u)?s.push("".concat(a,"--active")):kO(c,u)&&s.push("".concat(a,"--hasActive"));var d=S0(c,u,"".concat(a,"--range"));s.push.apply(s,b0(d));var h=[].concat(t);if(o&&h.length===1){var m=o>c[0]?[c[0],o]:[o,c[0]],b=S0(m,u,"".concat(a,"--hover"));s.push.apply(s,b0(b))}return s}var fI=["className","count","dateTransform","dateType","end","hover","offset","start","step","tile","value","valueType"];function P0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function O0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?P0(Object(n),!0).forEach(function(r){dI(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P0(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function dI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ep(){return Ep=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ep.apply(this,arguments)}function pI(e,t){if(e==null)return{};var n=hI(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function hI(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function rs(e){for(var t=e.className,n=e.count,r=n===void 0?3:n,i=e.dateTransform,o=e.dateType,a=e.end,s=e.hover,l=e.offset,u=e.start,c=e.step,d=c===void 0?1:c,h=e.tile,m=e.value,b=e.valueType,P=pI(e,fI),T=[],y=u;y<=a;y+=d){var g=i(y);T.push(Q.createElement(h,Ep({key:g.getTime(),classes:cI({value:m,valueType:b,date:g,dateType:o,hover:s}),date:g,point:y},P)))}return Q.createElement(uc,{className:t,count:r,offset:l,wrap:!0},T)}rs.propTypes=O0(O0({},ts),{},{activeStartDate:F.instanceOf(Date),count:F.number,dateTransform:F.func.isRequired,dateType:F.string,offset:F.number,step:F.number,tile:F.func.isRequired});function Tp(e){return Tp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typ
|
|||
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function b3(e,t){if(e){if(typeof e=="string")return Fp(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 Fp(e,t)}}function S3(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function P3(e){if(Array.isArray(e))return Fp(e)}function Fp(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ym=new Date;Ym.setFullYear(1,0,1);Ym.setHours(0,0,0,0);var O3=new Date(864e13),Ls="react-calendar",Kr=["century","decade","year","month"],_3=[].concat(g3(Kr.slice(1)),["day"]);function E3(e){return e instanceof Date?e:new Date(e)}function YO(e,t){return Kr.slice(Kr.indexOf(e),Kr.indexOf(t)+1)}function T3(e,t,n){var r=YO(t,n);return r.indexOf(e)!==-1}function Km(e,t,n){return T3(e,t,n)?e:n}function KO(e){return _3[Kr.indexOf(e)]}function C3(e,t){if(!e)return null;var n=Array.isArray(e)&&e.length===2?e[t]:e;if(!n)return null;var r=E3(n);if(isNaN(r.getTime()))throw new Error("Invalid date: ".concat(e));return r}function qO(e,t){var n=e.value,r=e.minDate,i=e.maxDate,o=e.maxDetail,a=C3(n,t);if(!a)return null;var s=KO(o),l=[Yr,_O][t](s,a);return lI(l,r,i)}var qm=function(t){return qO(t,0)},XO=function(t){return qO(t,1)},x3=function(t){var n=t.value;return Array.isArray(n)?n:[qm,XO].map(function(r){return r(t)})};function QO(e){var t=e.maxDate,n=e.maxDetail,r=e.minDate,i=e.minDetail,o=e.value,a=e.view,s=Km(a,i,n),l=qm({value:o,minDate:r,maxDate:t,maxDetail:n})||new Date;return Yr(s,l)}function D3(e){var t=e.activeStartDate,n=e.defaultActiveStartDate,r=e.defaultValue,i=e.defaultView,o=e.maxDetail,a=e.minDetail,s=e.value,l=e.view,u=y3(e,u3),c=Km(l,a,o),d=t||n;return d?Yr(c,d):QO($p({maxDetail:o,minDetail:a,value:s||r,view:l||i},u))}var Df=function(t){return t&&[].concat(t).length===1},Xm=function(e){d3(n,e);var t=p3(n);function n(){var r;c3(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),vn(ft(r),"state",{activeStartDate:r.props.defaultActiveStartDate,value:r.props.defaultValue,view:r.props.defaultView}),vn(ft(r),"setStateAndCallCallbacks",function(s,l,u){var c=ft(r),d=c.activeStartDate,h=c.view,m=r.props,b=m.allowPartialRange,P=m.onActiveStartDateChange,T=m.onChange,y=m.onViewChange,g=m.selectRange,S={activeStartDate:d,view:h};r.setState(s,function(){var x={action:s.action,activeStartDate:s.activeStartDate||r.activeStartDate,value:s.value||r.value,view:s.view||r.view};function _(w){return w in s&&(La(s[w])!==La(S[w])||(s[w]instanceof Date?s[w].getTime()!==S[w].getTime():s[w]!==S[w]))}if(_("activeStartDate")&&P&&P(x),_("view")&&y&&y(x),_("value")&&T)if(g){var E=Df(s.value);E?b&&T([s.value],l):T(s.value,l)}else T(s.value,l);u&&u(x)})}),vn(ft(r),"setActiveStartDate",function(s,l){r.setStateAndCallCallbacks({action:l,activeStartDate:s})}),vn(ft(r),"drillDown",function(s,l){if(r.drillDownAvailable){r.onClickTile(s,l);var u=ft(r),c=u.view,d=u.views,h=r.props.onDrillDown,m=d[d.indexOf(c)+1];r.setStateAndCallCallbacks({action:"drillDown",activeStartDate:s,view:m},void 0,h)}}),vn(ft(r),"drillUp",function(){if(r.drillUpAvailable){var s=ft(r),l=s.activeStartDate,u=s.view,c=s.views,d=r.props.onDrillUp,h=c[c.indexOf(u)-1],m=Yr(h,l);r.setStateAndCallCallbacks({action:"drillUp",activeStartDate:m,view:h},void 0,d)}}),vn(ft(r),"onChange",function(s,l){var u=ft(r),c=u.value,d=r.props,h=d.goToRangeStartOnSelect,m=d.selectRange;r.onClickTile(s,l);var b=m&&!Df(c),P;if(m){var T=ft(r),y=T.valueType;b?P=Yr(y,s):P=q9(y,c,s)}else P=r.getProcessedValue(s);var g=!m||b||h?QO($p($p({},r.props),{},{value:P})):null;l.persist(),r.setStateAndCallCallbacks({action:"onChange",activeStartDate:g,value:P},l)}),vn(ft(r),"onClickTile",function(s,l){var u=ft(r),c=u.view,d=r.props,h=d.onClickDay,m=d.onClickDecade,b=d.onClickMonth,P=d.onClickYear,T=function(){switc
|
|||
|
|
@keyframes `.concat(r,` {
|
|||
|
|
`).concat(t,`
|
|||
|
|
}
|
|||
|
|
`);return o&&o.insertRule(a,0),r},Hl=globalThis&&globalThis.__assign||function(){return Hl=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Hl.apply(this,arguments)},M3=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},N3=A3("PulseLoader","0% {transform: scale(1); opacity: 1} 45% {transform: scale(0.1); opacity: 0.7} 80% {transform: scale(1); opacity: 1}","pulse");function I3(e){var t=e.loading,n=t===void 0?!0:t,r=e.color,i=r===void 0?"#000000":r,o=e.speedMultiplier,a=o===void 0?1:o,s=e.cssOverride,l=s===void 0?{}:s,u=e.size,c=u===void 0?15:u,d=e.margin,h=d===void 0?2:d,m=M3(e,["loading","color","speedMultiplier","cssOverride","size","margin"]),b=Hl({display:"inherit"},l),P=function(T){return{backgroundColor:i,width:Rf(c),height:Rf(c),margin:Rf(h),borderRadius:"100%",display:"inline-block",animation:"".concat(N3," ").concat(.75/a,"s ").concat(T*.12/a,"s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08)"),animationFillMode:"both"}};return n?k.createElement("span",Hl({style:b},m),k.createElement("span",{style:P(1)}),k.createElement("span",{style:P(2)}),k.createElement("span",{style:P(3)})):null}const fn=()=>M("div",{className:"loader",children:M(I3,{color:"#38a39d",loading:!0,cssOverride:{display:"block",margin:"10 auto",borderColor:"red",height:"100%"},"aria-label":"loader","data-testid":"loader"})}),Qm=({type:e})=>{const t=new dn(zn+`${e==="popular"?"/popular":""}/posts`,VA),[n,r]=k.useState();return k.useEffect(()=>{t.get(n,r)},[]),ee("div",{className:"aside",children:[ee("div",{className:"aside-wrapper",children:[M(Xu,{title:e==="latest"?"Последние новости":"Самое читаемое"}),M("div",{className:"aside-inner",children:e==="popular"?n?n.data.map(i=>{var o,a;return M(p0,{title:i==null?void 0:i.title,date:i==null?void 0:i.published_at,category:(o=i.categories[0])==null?void 0:o.name,img:(a=i==null?void 0:i.featured_images[0])==null?void 0:a.path,id:i==null?void 0:i.id,video:i==null?void 0:i.video},ot())}):M(fn,{}):n?n.map(i=>{var o,a;return M(p0,{title:i==null?void 0:i.title,date:i==null?void 0:i.published_at,category:(o=i==null?void 0:i.categories[0])==null?void 0:o.name,img:(a=i==null?void 0:i.featured_images[0])==null?void 0:a.path,id:i==null?void 0:i.id,video:i==null?void 0:i.video},ot())}):M(fn,{})})]}),M("div",{className:"aside-calendar",children:M(R3,{})})]})},Gl=({id:e,title:t,text:n,categories:r,date:i,img:o,video:a})=>M(Jt,{to:`/news/${e}`,children:ee("div",{className:"news-wrapper",children:[M("div",{className:"news-image",children:a&&a.length>0?M(Ju,{url:a,controls:!0,light:o,width:"100%",height:"100%"}):M(Sr.LazyLoadImage,{src:o,alt:o,useIntersectionObserver:!0,effect:"opacity",placeholderSrc:ec})}),M("div",{className:"news-info",children:ee("div",{className:"news-info-inner",children:[M("h2",{className:"news-title",children:t}),ee("div",{className:"news-status",children:[M("div",{className:"news-status-left",children:r.map(s=>M(eO,{title:s.name},ot()))}),M("div",{className:"news-status-right",children:M(tO,{date:i})})]}),M("div",{className:"news-text",dangerouslySetInnerHTML:{__html:n}})]})})]})}),K0=e=>({type:"SET_NEWS_SCROLL",payload:e}),q0=e=>({type:"SET_SEARCH_DATA",payload:e}),j3=e=>({type:"SET_POST",payload:e}),V3=e=>({type:"SET_VIDEO",payload:e}),$3=e=>({type:"SET_FEATURED",payload:e}),F3=e=>({type:"SET_CATEGORIES",payload:e}),B3=({title:e,category:t,count:n,avoidFirst:r})=>{const i=jA.slice();t&&i.push({name:"category",value:t}),n&&(i[0].value=n);const o=new dn(zn+"/pagination/posts",i),a=o.language,[s,l]=k.useState(a),u=It(m=>m.newsScroll.data),c=Cr();k.useEffect(()=>{o.get(u,m=>c(K0(m))),l(a)},[t]),k.useEffect(()=>{u.status_code>0&&s!==a&&(o.get(u,m=>c(K0(
|