mirror of
https://ghproxy.net/https://github.com/abhijitb/helix.git
synced 2025-08-27 20:13:02 +08:00
18 lines
7.3 KiB
JavaScript
18 lines
7.3 KiB
JavaScript
|
var m={},C={exports:{}},r={};/**
|
||
|
* @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 y=Symbol.for("react.element"),U=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),F=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),V=Symbol.for("react.provider"),q=Symbol.for("react.context"),M=Symbol.for("react.forward_ref"),B=Symbol.for("react.suspense"),z=Symbol.for("react.memo"),H=Symbol.for("react.lazy"),$=Symbol.iterator;function W(e){return e===null||typeof e!="object"?null:(e=$&&e[$]||e["@@iterator"],typeof e=="function"?e:null)}var O={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},j=Object.assign,x={};function p(e,t,o){this.props=e,this.context=t,this.refs=x,this.updater=o||O}p.prototype.isReactComponent={};p.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")};p.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function P(){}P.prototype=p.prototype;function S(e,t,o){this.props=e,this.context=t,this.refs=x,this.updater=o||O}var E=S.prototype=new P;E.constructor=S;j(E,p.prototype);E.isPureReactComponent=!0;var w=Array.isArray,g=Object.prototype.hasOwnProperty,k={current:null},I={key:!0,ref:!0,__self:!0,__source:!0};function T(e,t,o){var n,u={},i=null,c=null;if(t!=null)for(n in t.ref!==void 0&&(c=t.ref),t.key!==void 0&&(i=""+t.key),t)g.call(t,n)&&!I.hasOwnProperty(n)&&(u[n]=t[n]);var s=arguments.length-2;if(s===1)u.children=o;else if(1<s){for(var f=Array(s),a=0;a<s;a++)f[a]=arguments[a+2];u.children=f}if(e&&e.defaultProps)for(n in s=e.defaultProps,s)u[n]===void 0&&(u[n]=s[n]);return{$$typeof:y,type:e,key:i,ref:c,props:u,_owner:k.current}}function J(e,t){return{$$typeof:y,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function R(e){return typeof e=="object"&&e!==null&&e.$$typeof===y}function Y(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(o){return t[o]})}var b=/\/+/g;function h(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Y(""+e.key):t.toString(36)}function _(e,t,o,n,u){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var c=!1;if(e===null)c=!0;else switch(i){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case y:case U:c=!0}}if(c)return c=e,u=u(c),e=n===""?"."+h(c,0):n,w(u)?(o="",e!=null&&(o=e.replace(b,"$&/")+"/"),_(u,t,o,"",function(a){return a})):u!=null&&(R(u)&&(u=J(u,o+(!u.key||c&&c.key===u.key?"":(""+u.key).replace(b,"$&/")+"/")+e)),t.push(u)),1;if(c=0,n=n===""?".":n+":",w(e))for(var s=0;s<e.length;s++){i=e[s];var f=n+h(i,s);c+=_(i,t,o,f,u)}else if(f=W(e),typeof f=="function")for(e=f.call(e),s=0;!(i=e.next()).done;)i=i.value,f=n+h(i,s++),c+=_(i,t,o,f,u);else if(i==="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 c}function d(e,t,o){if(e==null)return e;var n=[],u=0;return _(e,n,"","",function(i){return t.call(o,i,u++)}),n}function G(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(o){(e._status===0||e._status===-1)&&(e._status=1,e._result=o)},function(o){(e._status===0||e._status===-1)&&(e._status=2,e._result=o)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var l={current:null},v={transition:null},K={ReactCurrentDispatcher:l,ReactCurrentBatchConfig:v,ReactCurrentOwner:k};function D(){throw Error("act(...) is not supported in production builds of React.")}r.Children={map:d,forEach:function(e,t,o){d(e,function(){t.apply(this,arguments)},o)},count:function(e){var t=0;return d(e,function(){t++}),t},toArray:function(e){return d(e,function(t){return t})||[]},only:function(e){if(!R(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};r.Component=p;r.Fragment=A;r.Profiler=N;r.PureComp
|
||
|
* @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=Q,Z=Symbol.for("react.element"),ee=Symbol.for("react.fragment"),te=Object.prototype.hasOwnProperty,re=X.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,ne={key:!0,ref:!0,__self:!0,__source:!0};function L(e,t,o){var n,u={},i=null,c=null;o!==void 0&&(i=""+o),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(c=t.ref);for(n in t)te.call(t,n)&&!ne.hasOwnProperty(n)&&(u[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)u[n]===void 0&&(u[n]=t[n]);return{$$typeof:Z,type:e,key:i,ref:c,props:u,_owner:re.current}}m.Fragment=ee;m.jsx=L;m.jsxs=L;
|