Version 5.0.0 beta 1
This commit is contained in:
1 parent
25ddeb65d6
commit
15c7beabc5
6736 files changed
+627902
-497943
No files matched your search
@@ -0,0 +1,78 @@
|
||||
var v2=Object.defineProperty;var w2=(e,t,r)=>t in e?v2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Qh=(e,t,r)=>(w2(e,typeof t!="symbol"?t+"":t,r),r);const y2="modulepreload",_2=function(e){return"/"+e},qh={},S2=function(t,r,l){if(!r||r.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(r.map(s=>{if(s=_2(s),s in qh)return;qh[s]=!0;const c=s.endsWith(".css"),f=c?'[rel="stylesheet"]':"";if(!!l)for(let y=o.length-1;y>=0;y--){const w=o[y];if(w.href===s&&(!c||w.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${f}`))return;const m=document.createElement("link");if(m.rel=c?"stylesheet":y2,c||(m.as="script",m.crossOrigin=""),m.href=s,document.head.appendChild(m),c)return new Promise((y,w)=>{m.addEventListener("load",y),m.addEventListener("error",()=>w(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>t()).catch(s=>{const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=s,window.dispatchEvent(c),!c.defaultPrevented)throw s})};var fl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function x2(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var o0={exports:{}},ss={},u0={exports:{}},he={};/**
|
||||
* @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 to=Symbol.for("react.element"),C2=Symbol.for("react.portal"),E2=Symbol.for("react.fragment"),k2=Symbol.for("react.strict_mode"),L2=Symbol.for("react.profiler"),R2=Symbol.for("react.provider"),I2=Symbol.for("react.context"),T2=Symbol.for("react.forward_ref"),O2=Symbol.for("react.suspense"),A2=Symbol.for("react.memo"),P2=Symbol.for("react.lazy"),Kh=Symbol.iterator;function N2(e){return e===null||typeof e!="object"?null:(e=Kh&&e[Kh]||e["@@iterator"],typeof e=="function"?e:null)}var s0={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},a0=Object.assign,c0={};function Di(e,t,r){this.props=e,this.context=t,this.refs=c0,this.updater=r||s0}Di.prototype.isReactComponent={};Di.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")};Di.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function f0(){}f0.prototype=Di.prototype;function mf(e,t,r){this.props=e,this.context=t,this.refs=c0,this.updater=r||s0}var vf=mf.prototype=new f0;vf.constructor=mf;a0(vf,Di.prototype);vf.isPureReactComponent=!0;var Yh=Array.isArray,d0=Object.prototype.hasOwnProperty,wf={current:null},p0={key:!0,ref:!0,__self:!0,__source:!0};function h0(e,t,r){var l,o={},s=null,c=null;if(t!=null)for(l in t.ref!==void 0&&(c=t.ref),t.key!==void 0&&(s=""+t.key),t)d0.call(t,l)&&!p0.hasOwnProperty(l)&&(o[l]=t[l]);var f=arguments.length-2;if(f===1)o.children=r;else if(1<f){for(var p=Array(f),m=0;m<f;m++)p[m]=arguments[m+2];o.children=p}if(e&&e.defaultProps)for(l in f=e.defaultProps,f)o[l]===void 0&&(o[l]=f[l]);return{$$typeof:to,type:e,key:s,ref:c,props:o,_owner:wf.current}}function M2(e,t){return{$$typeof:to,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function yf(e){return typeof e=="object"&&e!==null&&e.$$typeof===to}function B2(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var Zh=/\/+/g;function Ga(e,t){return typeof e=="object"&&e!==null&&e.key!=null?B2(""+e.key):t.toString(36)}function Su(e,t,r,l,o){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case to:case C2:c=!0}}if(c)return c=e,o=o(c),e=l===""?"."+Ga(c,0):l,Yh(o)?(r="",e!=null&&(r=e.replace(Zh,"$&/")+"/"),Su(o,t,r,"",function(m){return m})):o!=null&&(yf(o)&&(o=M2(o,r+(!o.key||c&&c.key===o.key?"":(""+o.key).replace(Zh,"$&/")+"/")+e)),t.push(o)),1;if(c=0,l=l===""?".":l+":",Yh(e))for(var f=0;f<e.length;f++){s=e[f];var p=l+Ga(s,f);c+=Su(s,t,r,p,o)}else if(p=N2(e),typeof p=="function")for(e=p.call(e),f=0;!(s=e.next()).done;)s=s.value,p=l+Ga(s,f++),c+=Su(s,t,r,p,o);else if(s==="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 tu(e,t,r){if(e==null)return e;var l=[],o=0;return Su(e,l,"","",function(s){return t.call(r,s,o++)}),l}function W2(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var wt={current:null},xu={transition:null},z2={ReactCurrentDispatcher:wt,ReactCurrentBatchConfig:xu,ReactCurrentOwner:wf};he.Children={map:tu,forEach:function(e,t,r){tu(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return tu(e,function(){t++}),t},toArray:function(e){return tu(e,function(t){return t})||[]},only:function(e){if(!yf(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};he.Component=Di;he.Fragment=E2;he.Profiler=L2;he.PureComponent=mf;he.StrictMode=k2;he.Suspense=O2;he.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=z2;he.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var l=a0({},e.props),o=e.key,s=e.ref,c=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,c=wf.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var f=e.type.defaultProps;for(p in t)d0.call(t,p)&&!p0.hasOwnProperty(p)&&(l[p]=t[p]===void 0&&f!==void 0?f[p]:t[p])}var p=arguments.length-2;if(p===1)l.children=r;else if(1<p){f=Array(p);for(var m=0;m<p;m++)f[m]=arguments[m+2];l.children=f}return{$$typeof:to,type:e.type,key:o,ref:s,props:l,_owner:c}};he.createContext=function(e){return e={$$typeof:I2,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:R2,_conLine truncated
|
||||
* @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 $2=X,F2=Symbol.for("react.element"),U2=Symbol.for("react.fragment"),j2=Object.prototype.hasOwnProperty,H2=$2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,V2={key:!0,ref:!0,__self:!0,__source:!0};function g0(e,t,r){var l,o={},s=null,c=null;r!==void 0&&(s=""+r),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(c=t.ref);for(l in t)j2.call(t,l)&&!V2.hasOwnProperty(l)&&(o[l]=t[l]);if(e&&e.defaultProps)for(l in t=e.defaultProps,t)o[l]===void 0&&(o[l]=t[l]);return{$$typeof:F2,type:e,key:s,ref:c,props:o,_owner:H2.current}}ss.Fragment=U2;ss.jsx=g0;ss.jsxs=g0;o0.exports=ss;var I=o0.exports,yc={},m0={exports:{}},Ft={},v0={exports:{}},w0={};/**
|
||||
* @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(j,q){var G=j.length;j.push(q);e:for(;0<G;){var Z=G-1>>>1,ve=j[Z];if(0<o(ve,q))j[Z]=q,j[G]=ve,G=Z;else break e}}function r(j){return j.length===0?null:j[0]}function l(j){if(j.length===0)return null;var q=j[0],G=j.pop();if(G!==q){j[0]=G;e:for(var Z=0,ve=j.length,je=ve>>>1;Z<je;){var Ee=2*(Z+1)-1,ft=j[Ee],dt=Ee+1,Tt=j[dt];if(0>o(ft,G))dt<ve&&0>o(Tt,ft)?(j[Z]=Tt,j[dt]=G,Z=dt):(j[Z]=ft,j[Ee]=G,Z=Ee);else if(dt<ve&&0>o(Tt,G))j[Z]=Tt,j[dt]=G,Z=dt;else break e}}return q}function o(j,q){var G=j.sortIndex-q.sortIndex;return G!==0?G:j.id-q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var c=Date,f=c.now();e.unstable_now=function(){return c.now()-f}}var p=[],m=[],y=1,w=null,_=3,k=!1,A=!1,T=!1,B=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,S=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(j){for(var q=r(m);q!==null;){if(q.callback===null)l(m);else if(q.startTime<=j)l(m),q.sortIndex=q.expirationTime,t(p,q);else break;q=r(m)}}function O(j){if(T=!1,C(j),!A)if(r(p)!==null)A=!0,it(M);else{var q=r(m);q!==null&&fe(O,q.startTime-j)}}function M(j,q){A=!1,T&&(T=!1,v(z),z=-1),k=!0;var G=_;try{for(C(q),w=r(p);w!==null&&(!(w.expirationTime>q)||j&&!ee());){var Z=w.callback;if(typeof Z=="function"){w.callback=null,_=w.priorityLevel;var ve=Z(w.expirationTime<=q);q=e.unstable_now(),typeof ve=="function"?w.callback=ve:w===r(p)&&l(p),C(q)}else l(p);w=r(p)}if(w!==null)var je=!0;else{var Ee=r(m);Ee!==null&&fe(O,Ee.startTime-q),je=!1}return je}finally{w=null,_=G,k=!1}}var F=!1,P=null,z=-1,J=5,H=-1;function ee(){return!(e.unstable_now()-H<J)}function le(){if(P!==null){var j=e.unstable_now();H=j;var q=!0;try{q=P(!0,j)}finally{q?ae():(F=!1,P=null)}}else F=!1}var ae;if(typeof S=="function")ae=function(){S(le)};else if(typeof MessageChannel<"u"){var _e=new MessageChannel,me=_e.port2;_e.port1.onmessage=le,ae=function(){me.postMessage(null)}}else ae=function(){B(le,0)};function it(j){P=j,F||(F=!0,ae())}function fe(j,q){z=B(function(){j(e.unstable_now())},q)}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(j){j.callback=null},e.unstable_continueExecution=function(){A||k||(A=!0,it(M))},e.unstable_forceFrameRate=function(j){0>j||125<j?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):J=0<j?Math.floor(1e3/j):5},e.unstable_getCurrentPriorityLevel=function(){return _},e.unstable_getFirstCallbackNode=function(){return r(p)},e.unstable_next=function(j){switch(_){case 1:case 2:case 3:var q=3;break;default:q=_}var G=_;_=q;try{return j()}finally{_=G}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(j,q){switch(j){case 1:case 2:case 3:case 4:case 5:break;default:j=3}var G=_;_=j;try{return q()}finally{_=G}},e.unstable_scheduleCallback=function(j,q,G){var Z=e.unstable_now();switch(typeof G=="object"&&G!==null?(G=G.delay,G=typeof G=="number"&&0<G?Z+G:Z):G=Z,j){case 1:var ve=-1;break;case 2:ve=250;break;case 5:ve=1073741823;break;case 4:ve=1e4;break;default:ve=5e3}return ve=G+ve,j={id:y++,callback:q,priorityLevel:j,startTime:G,expirationTime:ve,sortIndex:-1},G>Z?(j.sortIndex=G,t(m,j),r(p)===null&&j===r(m)&&(T?(v(z),z=-1):T=!0,fe(O,G-Z))):(j.sortIndex=ve,t(p,j),A||k||(A=!0,it(M))),j},e.unstable_shouldYield=ee,e.unstable_wrapCallback=function(j){var q=_;return function(){var G=_;_=q;try{return j.apply(this,arguments)}finally{_=G}}}})(w0);v0.exports=w0;var G2=v0.exports;/**
|
||||
* @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 y0=X,$t=G2;function V(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);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 _0=new Set,Wl={};function Qr(e,t){Ai(e,t),Ai(e+"Capture",t)}function Ai(e,t){for(Wl[e]=t,e=0;e<t.length;e++)_0.add(t[e])}var Un=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),_c=Object.prototype.hasOwnProperty,Q2=/^[: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]*$/,Xh={},Jh={};function q2(e){return _c.call(Jh,e)?!0:_c.call(Xh,e)?!1:Q2.test(e)?Jh[e]=!0:(Xh[e]=!0,!1)}function K2(e,t,r,l){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return l?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Y2(e,t,r,l){if(t===null||typeof t>"u"||K2(e,t,r,l))return!0;if(l)return!1;if(r!==null)switch(r.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 yt(e,t,r,l,o,s,c){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=l,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=c}var rt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){rt[e]=new yt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];rt[t]=new yt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){rt[e]=new yt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){rt[e]=new yt(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){rt[e]=new yt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){rt[e]=new yt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){rt[e]=new yt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){rt[e]=new yt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){rt[e]=new yt(e,5,!1,e.toLowerCase(),null,!1,!1)});var _f=/[\-:]([a-z])/g;function Sf(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-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(_f,Sf);rt[t]=new yt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(_f,Sf);rt[t]=new yt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(_f,Sf);rt[t]=new yt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){rt[e]=new yt(e,1,!1,e.toLowerCase(),null,!1,!1)});rt.xlinkHref=new yt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){rt[e]=new yt(e,1,!1,e.toLowerCase(),null,!0,!0)});function xf(e,t,r,l){var o=rt.hasOwnProperty(t)?rt[t]:null;(o!==null?o.type!==0:l||!(2<t.length)||t[0]!=="o"&&t[0]!=="
Line truncated
|
||||
`+Qa+e}var qa=!1;function Ka(e,t){if(!e||qa)return"";qa=!0;var r=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(m){var l=m}Reflect.construct(e,[],t)}else{try{t.call()}catch(m){l=m}e.call(t.prototype)}else{try{throw Error()}catch(m){l=m}e()}}catch(m){if(m&&l&&typeof m.stack=="string"){for(var o=m.stack.split(`
|
||||
`),s=l.stack.split(`
|
||||
`),c=o.length-1,f=s.length-1;1<=c&&0<=f&&o[c]!==s[f];)f--;for(;1<=c&&0<=f;c--,f--)if(o[c]!==s[f]){if(c!==1||f!==1)do if(c--,f--,0>f||o[c]!==s[f]){var p=`
|
||||
`+o[c].replace(" at new "," at ");return e.displayName&&p.includes("<anonymous>")&&(p=p.replace("<anonymous>",e.displayName)),p}while(1<=c&&0<=f);break}}}finally{qa=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?xl(e):""}function Z2(e){switch(e.tag){case 5:return xl(e.type);case 16:return xl("Lazy");case 13:return xl("Suspense");case 19:return xl("SuspenseList");case 0:case 2:case 15:return e=Ka(e.type,!1),e;case 11:return e=Ka(e.type.render,!1),e;case 1:return e=Ka(e.type,!0),e;default:return""}}function Ec(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 hi:return"Fragment";case pi:return"Portal";case Sc:return"Profiler";case Cf:return"StrictMode";case xc:return"Suspense";case Cc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case x0:return(e.displayName||"Context")+".Consumer";case S0:return(e._context.displayName||"Context")+".Provider";case Ef:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case kf:return t=e.displayName||null,t!==null?t:Ec(e.type)||"Memo";case rr:t=e._payload,e=e._init;try{return Ec(e(t))}catch{}}return null}function X2(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 Ec(t);case 8:return t===Cf?"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 _r(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function E0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function J2(e){var t=E0(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),l=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,s=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(c){l=""+c,s.call(this,c)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return l},setValue:function(c){l=""+c},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ru(e){e._valueTracker||(e._valueTracker=J2(e))}function k0(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),l="";return e&&(l=E0(e)?e.checked?"true":"false":e.value),e=l,e!==r?(t.setValue(e),!0):!1}function Nu(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 kc(e,t){var r=t.checked;return We({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function eg(e,t){var r=t.defaultValue==null?"":t.defaultValue,l=t.checked!=null?t.checked:t.defaultChecked;r=_r(t.value!=null?t.value:r),e._wrapperState={initialChecked:l,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function L0(e,t){t=t.checked,t!=null&&xf(e,"checked",t,!1)}function Lc(e,t){L0(e,t);var r=_r(t.value),l=t.type;if(r!=null)l==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(l==="submit"||l==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Rc(e,t.type,r):t.hasOwnProperty("defaultValue")&&Rc(e,t.type,_r(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function tg(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var l=t.type;if(!(l!=="submit"&&l!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Rc(e,t,r){(t!=="number"||Nu(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Cl=Array.isArray;function ki(e,t,r,l){if(e=e.options,t){t={};for(var o=0;o<r.length;o++)t["$"+r[o]]=!0;for(r=0;r<e.length;r++)o=t.hasOwnProperty("$"+e[r].value),e[r].selected!==o&&(e[r].selected=o),o&&l&&(e[r].defaultSelected=!0)}else{for(r=""+_r(r),t=null,o=0;o<e.length;o++){if(e[o].value===r){e[o].selected=!0,l&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Ic(e,t){if(t.dan
Line truncated
|
||||
`).replace(sk,"")}function fu(e,t,r){if(t=Eg(t),Eg(e)!==t&&r)throw Error(V(425))}function Uu(){}var Uc=null,jc=null;function Hc(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 Vc=typeof setTimeout=="function"?setTimeout:void 0,ak=typeof clearTimeout=="function"?clearTimeout:void 0,kg=typeof Promise=="function"?Promise:void 0,ck=typeof queueMicrotask=="function"?queueMicrotask:typeof kg<"u"?function(e){return kg.resolve(null).then(e).catch(fk)}:Vc;function fk(e){setTimeout(function(){throw e})}function uc(e,t){var r=t,l=0;do{var o=r.nextSibling;if(e.removeChild(r),o&&o.nodeType===8)if(r=o.data,r==="/$"){if(l===0){e.removeChild(o),Ul(t);return}l--}else r!=="$"&&r!=="$?"&&r!=="$!"||l++;r=o}while(r);Ul(t)}function pr(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 Lg(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var Fi=Math.random().toString(36).slice(2),xn="__reactFiber$"+Fi,Ql="__reactProps$"+Fi,jn="__reactContainer$"+Fi,Gc="__reactEvents$"+Fi,dk="__reactListeners$"+Fi,pk="__reactHandles$"+Fi;function Wr(e){var t=e[xn];if(t)return t;for(var r=e.parentNode;r;){if(t=r[jn]||r[xn]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=Lg(e);e!==null;){if(r=e[xn])return r;e=Lg(e)}return t}e=r,r=e.parentNode}return null}function io(e){return e=e[xn]||e[jn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function wi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(V(33))}function ps(e){return e[Ql]||null}var Qc=[],yi=-1;function Cr(e){return{current:e}}function Oe(e){0>yi||(e.current=Qc[yi],Qc[yi]=null,yi--)}function Re(e,t){yi++,Qc[yi]=e.current,e.current=t}var Sr={},ct=Cr(Sr),Lt=Cr(!1),Ur=Sr;function Pi(e,t){var r=e.type.contextTypes;if(!r)return Sr;var l=e.stateNode;if(l&&l.__reactInternalMemoizedUnmaskedChildContext===t)return l.__reactInternalMemoizedMaskedChildContext;var o={},s;for(s in r)o[s]=t[s];return l&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Rt(e){return e=e.childContextTypes,e!=null}function ju(){Oe(Lt),Oe(ct)}function Rg(e,t,r){if(ct.current!==Sr)throw Error(V(168));Re(ct,t),Re(Lt,r)}function hm(e,t,r){var l=e.stateNode;if(t=t.childContextTypes,typeof l.getChildContext!="function")return r;l=l.getChildContext();for(var o in l)if(!(o in t))throw Error(V(108,X2(e)||"Unknown",o));return We({},r,l)}function Hu(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Sr,Ur=ct.current,Re(ct,e),Re(Lt,Lt.current),!0}function Ig(e,t,r){var l=e.stateNode;if(!l)throw Error(V(169));r?(e=hm(e,t,Ur),l.__reactInternalMemoizedMergedChildContext=e,Oe(Lt),Oe(ct),Re(ct,e)):Oe(Lt),Re(Lt,r)}var zn=null,hs=!1,sc=!1;function gm(e){zn===null?zn=[e]:zn.push(e)}function hk(e){hs=!0,gm(e)}function Er(){if(!sc&&zn!==null){sc=!0;var e=0,t=Ce;try{var r=zn;for(Ce=1;e<r.length;e++){var l=r[e];do l=l(!0);while(l!==null)}zn=null,hs=!1}catch(o){throw zn!==null&&(zn=zn.slice(e+1)),F0(Rf,Er),o}finally{Ce=t,sc=!1}}return null}var _i=[],Si=0,Vu=null,Gu=0,Zt=[],Xt=0,jr=null,Dn=1,$n="";function Mr(e,t){_i[Si++]=Gu,_i[Si++]=Vu,Vu=e,Gu=t}function mm(e,t,r){Zt[Xt++]=Dn,Zt[Xt++]=$n,Zt[Xt++]=jr,jr=e;var l=Dn;e=$n;var o=32-hn(l)-1;l&=~(1<<o),r+=1;var s=32-hn(t)+o;if(30<s){var c=o-o%5;s=(l&(1<<c)-1).toString(32),l>>=c,o-=c,Dn=1<<32-hn(t)+o|r<<o|l,$n=s+e}else Dn=1<<s|r<<o|l,$n=e}function Wf(e){e.return!==null&&(Mr(e,1),mm(e,1,0))}function zf(e){for(;e===Vu;)Vu=_i[--Si],_i[Si]=null,Gu=_i[--Si],_i[Si]=null;for(;e===jr;)jr=Zt[--Xt],Zt[Xt]=null,$n=Zt[--Xt],Zt[Xt]=null,Dn=Zt[--Xt],Zt[Xt]=null}var Dt=null,zt=null,Pe=!1,pn=null;function vm(e,t){var r=Jt(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletions,t===null?(e.deletions=[r],e.flags|=16):t.push(r)}function Tg(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Dt=e,zt=pr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Dt=e,zt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=jr!==null?{id:Dn,overflow:$n}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=Jt(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,Dt=e,zt=null,!0):!1;default:return!1}}function qc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Kc(e){if(Pe){var t=zt;if(t){var r=t;if(!Tg(e,t)){if(qc(e))throw Error(V(418));t=pr(r.nextSibling);var l=Dt;t&&Tg(e,t)?vm(l,r):(e.flags=e.flags&-4097|2,Pe=!1,Dt=e)}}else{if(qc(e))throw Error(V(418));e.flags=e.flags&-4097|2,Pe=!1,Dt=e}}}function Og(e){for(e=e
Line truncated
|
||||
Error generating stack: `+s.message+`
|
||||
`+s.stack}return{value:e,source:t,stack:o,digest:null}}function pc(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function Jc(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var Ck=typeof WeakMap=="function"?WeakMap:Map;function Gm(e,t,r){r=Fn(-1,r),r.tag=3,r.payload={element:null};var l=t.value;return r.callback=function(){bu||(bu=!0,af=l),Jc(e,t)},r}function Qm(e,t,r){r=Fn(-1,r),r.tag=3;var l=e.type.getDerivedStateFromError;if(typeof l=="function"){var o=t.value;r.payload=function(){return l(o)},r.callback=function(){Jc(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(r.callback=function(){Jc(e,t),typeof l!="function"&&(gr===null?gr=new Set([this]):gr.add(this));var c=t.stack;this.componentDidCatch(t.value,{componentStack:c!==null?c:""})}),r}function Dg(e,t,r){var l=e.pingCache;if(l===null){l=e.pingCache=new Ck;var o=new Set;l.set(t,o)}else o=l.get(t),o===void 0&&(o=new Set,l.set(t,o));o.has(r)||(o.add(r),e=zk.bind(null,e,t,r),t.then(e,e))}function $g(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 Fg(e,t,r,l,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=Fn(-1,1),t.tag=2,hr(r,t,1))),r.lanes|=1),e)}var Ek=Gn.ReactCurrentOwner,kt=!1;function mt(e,t,r,l){t.child=e===null?Em(t,null,r,l):Mi(t,e.child,r,l)}function Ug(e,t,r,l,o){r=r.render;var s=t.ref;return Ti(t,o),l=Kf(e,t,r,l,s,o),r=Yf(),e!==null&&!kt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Vn(e,t,o)):(Pe&&r&&Wf(t),t.flags|=1,mt(e,t,l,o),t.child)}function jg(e,t,r,l,o){if(e===null){var s=r.type;return typeof s=="function"&&!ld(s)&&s.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=s,qm(e,t,s,l,o)):(e=Pu(r.type,null,l,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&o)){var c=s.memoizedProps;if(r=r.compare,r=r!==null?r:Hl,r(c,l)&&e.ref===t.ref)return Vn(e,t,o)}return t.flags|=1,e=vr(s,l),e.ref=t.ref,e.return=t,t.child=e}function qm(e,t,r,l,o){if(e!==null){var s=e.memoizedProps;if(Hl(s,l)&&e.ref===t.ref)if(kt=!1,t.pendingProps=l=s,(e.lanes&o)!==0)e.flags&131072&&(kt=!0);else return t.lanes=e.lanes,Vn(e,t,o)}return bc(e,t,r,l,o)}function Km(e,t,r){var l=t.pendingProps,o=l.children,s=e!==null?e.memoizedState:null;if(l.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Re(Ei,Wt),Wt|=r;else{if(!(r&1073741824))return e=s!==null?s.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Re(Ei,Wt),Wt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},l=s!==null?s.baseLanes:r,Re(Ei,Wt),Wt|=l}else s!==null?(l=s.baseLanes|r,t.memoizedState=null):l=r,Re(Ei,Wt),Wt|=l;return mt(e,t,o,r),t.child}function Ym(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function bc(e,t,r,l,o){var s=Rt(r)?Ur:ct.current;return s=Pi(t,s),Ti(t,o),r=Kf(e,t,r,l,s,o),l=Yf(),e!==null&&!kt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Vn(e,t,o)):(Pe&&l&&Wf(t),t.flags|=1,mt(e,t,r,o),t.child)}function Hg(e,t,r,l,o){if(Rt(r)){var s=!0;Hu(t)}else s=!1;if(Ti(t,o),t.stateNode===null)Tu(e,t),xm(t,r,l),Xc(t,r,l,o),l=!0;else if(e===null){var c=t.stateNode,f=t.memoizedProps;c.props=f;var p=c.context,m=r.contextType;typeof m=="object"&&m!==null?m=en(m):(m=Rt(r)?Ur:ct.current,m=Pi(t,m));var y=r.getDerivedStateFromProps,w=typeof y=="function"||typeof c.getSnapshotBeforeUpdate=="function";w||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(f!==l||p!==m)&&Mg(t,c,l,m),ir=!1;var _=t.memoizedState;c.state=_,Ku(t,l,c,o),p=t.memoizedState,f!==l||_!==p||Lt.current||ir?(typeof y=="function"&&(Zc(t,r,y,l),p=t.memoizedState),(f=ir||Ng(t,r,f,l,_,p,m))?(w||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(t.flags|=4194308)):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=l,t.memoizedState=p),c.props=l,c.state=p,c.context=m,l=f):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),l=!1)}else{c=t.stateNode,_m(e,t),f=t.memoizedProps,m=t.type===t.elementType?f:fn(t.type,f),c.props=m,w=t.pendingProps,_=c.context,p=r.contextType,typeof p=="object"&&p!==null?p=en(p):(p=Rt(r)?Ur:ct.current,p=Pi(t,p));var k=r.getDerivedStateFromProps;(y=typeof k=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(f!==w||_!==p)&&Mg(t,c,l,p),ir=!1,_=t.memoizedState,c.state=_,Ku(t,l,c,o);var A=t.memoizedS
Line truncated
|
||||
* @license
|
||||
* Lodash <https://lodash.com/>
|
||||
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
||||
* Released under MIT license <https://lodash.com/license>
|
||||
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
||||
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
||||
*/rs.exports;(function(e,t){(function(){var r,l="4.17.21",o=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",f="Invalid `variable` option passed into `_.template`",p="__lodash_hash_undefined__",m=500,y="__lodash_placeholder__",w=1,_=2,k=4,A=1,T=2,B=1,v=2,S=4,C=8,O=16,M=32,F=64,P=128,z=256,J=512,H=30,ee="...",le=800,ae=16,_e=1,me=2,it=3,fe=1/0,j=9007199254740991,q=17976931348623157e292,G=0/0,Z=4294967295,ve=Z-1,je=Z>>>1,Ee=[["ary",P],["bind",B],["bindKey",v],["curry",C],["curryRight",O],["flip",J],["partial",M],["partialRight",F],["rearg",z]],ft="[object Arguments]",dt="[object Array]",Tt="[object AsyncFunction]",Hi="[object Boolean]",Vi="[object Date]",Nv="[object DOMException]",ao="[object Error]",co="[object Function]",gd="[object GeneratorFunction]",nn="[object Map]",Gi="[object Number]",Mv="[object Null]",Ln="[object Object]",md="[object Promise]",Bv="[object Proxy]",Qi="[object RegExp]",rn="[object Set]",qi="[object String]",fo="[object Symbol]",Wv="[object Undefined]",Ki="[object WeakMap]",zv="[object WeakSet]",Yi="[object ArrayBuffer]",Yr="[object DataView]",Es="[object Float32Array]",ks="[object Float64Array]",Ls="[object Int8Array]",Rs="[object Int16Array]",Is="[object Int32Array]",Ts="[object Uint8Array]",Os="[object Uint8ClampedArray]",As="[object Uint16Array]",Ps="[object Uint32Array]",Dv=/\b__p \+= '';/g,$v=/\b(__p \+=) '' \+/g,Fv=/(__e\(.*?\)|\b__t\)) \+\n'';/g,vd=/&(?:amp|lt|gt|quot|#39);/g,wd=/[&<>"']/g,Uv=RegExp(vd.source),jv=RegExp(wd.source),Hv=/<%-([\s\S]+?)%>/g,Vv=/<%([\s\S]+?)%>/g,yd=/<%=([\s\S]+?)%>/g,Gv=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Qv=/^\w*$/,qv=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ns=/[\\^$.*+?()[\]{}|]/g,Kv=RegExp(Ns.source),Ms=/^\s+/,Yv=/\s/,Zv=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Xv=/\{\n\/\* \[wrapped with (.+)\] \*/,Jv=/,? & /,bv=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,e1=/[()=,{}\[\]\/\s]/,t1=/\\(\\)?/g,n1=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,_d=/\w*$/,r1=/^[-+]0x[0-9a-f]+$/i,i1=/^0b[01]+$/i,l1=/^\[object .+?Constructor\]$/,o1=/^0o[0-7]+$/i,u1=/^(?:0|[1-9]\d*)$/,s1=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,po=/($^)/,a1=/['\n\r\u2028\u2029\\]/g,ho="\\ud800-\\udfff",c1="\\u0300-\\u036f",f1="\\ufe20-\\ufe2f",d1="\\u20d0-\\u20ff",Sd=c1+f1+d1,xd="\\u2700-\\u27bf",Cd="a-z\\xdf-\\xf6\\xf8-\\xff",p1="\\xac\\xb1\\xd7\\xf7",h1="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",g1="\\u2000-\\u206f",m1=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ed="A-Z\\xc0-\\xd6\\xd8-\\xde",kd="\\ufe0e\\ufe0f",Ld=p1+h1+g1+m1,Bs="['’]",v1="["+ho+"]",Rd="["+Ld+"]",go="["+Sd+"]",Id="\\d+",w1="["+xd+"]",Td="["+Cd+"]",Od="[^"+ho+Ld+Id+xd+Cd+Ed+"]",Ws="\\ud83c[\\udffb-\\udfff]",y1="(?:"+go+"|"+Ws+")",Ad="[^"+ho+"]",zs="(?:\\ud83c[\\udde6-\\uddff]){2}",Ds="[\\ud800-\\udbff][\\udc00-\\udfff]",Zr="["+Ed+"]",Pd="\\u200d",Nd="(?:"+Td+"|"+Od+")",_1="(?:"+Zr+"|"+Od+")",Md="(?:"+Bs+"(?:d|ll|m|re|s|t|ve))?",Bd="(?:"+Bs+"(?:D|LL|M|RE|S|T|VE))?",Wd=y1+"?",zd="["+kd+"]?",S1="(?:"+Pd+"(?:"+[Ad,zs,Ds].join("|")+")"+zd+Wd+")*",x1="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",C1="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Dd=zd+Wd+S1,E1="(?:"+[w1,zs,Ds].join("|")+")"+Dd,k1="(?:"+[Ad+go+"?",go,zs,Ds,v1].join("|")+")",L1=RegExp(Bs,"g"),R1=RegExp(go,"g"),$s=RegExp(Ws+"(?="+Ws+")|"+k1+Dd,"g"),I1=RegExp([Zr+"?"+Td+"+"+Md+"(?="+[Rd,Zr,"$"].join("|")+")",_1+"+"+Bd+"(?="+[Rd,Zr+Nd,"$"].join("|")+")",Zr+"?"+Nd+"+"+Md,Zr+"+"+Bd,C1,x1,Id,E1].join("|"),"g"),T1=RegExp("["+Pd+ho+Sd+kd+"]"),O1=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,A1=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],P1=-1,Ie={};Ie[Es]=Ie[ks]=Ie[Ls]=Ie[Rs]=Ie[Is]=Ie[Ts]=Ie[Os]=Ie[As]=Ie[Ps]=!0,Ie[ft]=Ie[dt]=Ie[Yi]=Ie[Hi]=Ie[Yr]=Ie[Vi]=Ie[ao]=Ie[co]=Ie[nn]=Ie[Gi]=Ie[Ln]=Ie[Qi]=Ie[rn]=Ie[qi]=Ie[Ki]=!1;var Le={};Le[ft]=Le[dt]=Le[Yi]=Le[Yr]=Le[Hi]=Le[Vi]=Le[Es]=Le[ks]=Le[Ls]=Le[Rs]=Le[Is]=Le[nn]=Le[Gi]=Le[Ln]=Le[Qi]=Le[rn]=Le[qi]=Le[fo]=Le[Ts]=Le[Os]=Le[As]=Le[Ps]=!0,Le[ao]=Le[co]=Le[Ki]=!1;var N1={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",Line truncated
|
||||
/* [wrapped with `+i+`] */
|
||||
`)}function Yy(n){return oe(n)||Nr(n)||!!(up&&n&&n[up])}function Pn(n,i){var u=typeof n;return i=i??j,!!i&&(u=="number"||u!="symbol"&&u1.test(n))&&n>-1&&n%1==0&&n<i}function ht(n,i,u){if(!Ne(u))return!1;var a=typeof i;return(a=="number"?St(u)&&Pn(i,u.length):a=="string"&&i in u)?un(u[i],n):!1}function La(n,i){if(oe(n))return!1;var u=typeof n;return u=="number"||u=="symbol"||u=="boolean"||n==null||Nt(n)?!0:Qv.test(n)||!Gv.test(n)||i!=null&&n in ke(i)}function Zy(n){var i=typeof n;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?n!=="__proto__":n===null}function Ra(n){var i=Vo(n),u=h[i];if(typeof u!="function"||!(i in pe.prototype))return!1;if(n===u)return!0;var a=Ca(u);return!!a&&n===a[0]}function Xy(n){return!!rp&&rp in n}var Jy=_o?Nn:Va;function sl(n){var i=n&&n.constructor,u=typeof i=="function"&&i.prototype||ti;return n===u}function rh(n){return n===n&&!Ne(n)}function ih(n,i){return function(u){return u==null?!1:u[n]===i&&(i!==r||n in ke(u))}}function by(n){var i=Zo(n,function(a){return u.size===m&&u.clear(),a}),u=i.cache;return i}function e_(n,i){var u=n[1],a=i[1],d=u|a,g=d<(B|v|P),x=a==P&&u==C||a==P&&u==z&&n[7].length<=i[8]||a==(P|z)&&i[7].length<=i[8]&&u==C;if(!(g||x))return n;a&B&&(n[2]=i[2],d|=u&B?0:S);var E=i[3];if(E){var R=n[3];n[3]=R?Fp(R,E,i[4]):E,n[4]=R?Yn(n[3],y):i[4]}return E=i[5],E&&(R=n[5],n[5]=R?Up(R,E,i[6]):E,n[6]=R?Yn(n[5],y):i[6]),E=i[7],E&&(n[7]=E),a&P&&(n[8]=n[8]==null?i[8]:lt(n[8],i[8])),n[9]==null&&(n[9]=i[9]),n[0]=i[0],n[1]=d,n}function t_(n){var i=[];if(n!=null)for(var u in ke(n))i.push(u);return i}function n_(n){return xo.call(n)}function lh(n,i,u){return i=Ge(i===r?n.length-1:i,0),function(){for(var a=arguments,d=-1,g=Ge(a.length-i,0),x=N(g);++d<g;)x[d]=a[i+d];d=-1;for(var E=N(i+1);++d<i;)E[d]=a[d];return E[i]=u(x),Ot(n,this,E)}}function oh(n,i){return i.length<2?n:Or(n,qt(i,0,-1))}function r_(n,i){for(var u=n.length,a=lt(i.length,u),d=_t(n);a--;){var g=i[a];n[a]=Pn(g,u)?d[g]:r}return n}function Ia(n,i){if(!(i==="constructor"&&typeof n[i]=="function")&&i!="__proto__")return n[i]}var uh=ah(Op),al=ww||function(n,i){return Je.setTimeout(n,i)},Ta=ah(Ly);function sh(n,i,u){var a=i+"";return Ta(n,Ky(a,i_(Gy(a),u)))}function ah(n){var i=0,u=0;return function(){var a=xw(),d=ae-(a-u);if(u=a,d>0){if(++i>=le)return arguments[0]}else i=0;return n.apply(r,arguments)}}function Qo(n,i){var u=-1,a=n.length,d=a-1;for(i=i===r?a:i;++u<i;){var g=fa(u,d),x=n[g];n[g]=n[u],n[u]=x}return n.length=i,n}var ch=by(function(n){var i=[];return n.charCodeAt(0)===46&&i.push(""),n.replace(qv,function(u,a,d,g){i.push(d?g.replace(t1,"$1"):a||u)}),i});function yn(n){if(typeof n=="string"||Nt(n))return n;var i=n+"";return i=="0"&&1/n==-fe?"-0":i}function Pr(n){if(n!=null){try{return So.call(n)}catch{}try{return n+""}catch{}}return""}function i_(n,i){return Ht(Ee,function(u){var a="_."+u[0];i&u[1]&&!mo(n,a)&&n.push(a)}),n.sort()}function fh(n){if(n instanceof pe)return n.clone();var i=new Gt(n.__wrapped__,n.__chain__);return i.__actions__=_t(n.__actions__),i.__index__=n.__index__,i.__values__=n.__values__,i}function l_(n,i,u){(u?ht(n,i,u):i===r)?i=1:i=Ge(ue(i),0);var a=n==null?0:n.length;if(!a||i<1)return[];for(var d=0,g=0,x=N(Io(a/i));d<a;)x[g++]=qt(n,d,d+=i);return x}function o_(n){for(var i=-1,u=n==null?0:n.length,a=0,d=[];++i<u;){var g=n[i];g&&(d[a++]=g)}return d}function u_(){var n=arguments.length;if(!n)return[];for(var i=N(n-1),u=arguments[0],a=n;a--;)i[a-1]=arguments[a];return Kn(oe(u)?_t(u):[u],be(i,1))}var s_=ce(function(n,i){return $e(n)?rl(n,be(i,1,$e,!0)):[]}),a_=ce(function(n,i){var u=Kt(i);return $e(u)&&(u=r),$e(n)?rl(n,be(i,1,$e,!0),te(u,2)):[]}),c_=ce(function(n,i){var u=Kt(i);return $e(u)&&(u=r),$e(n)?rl(n,be(i,1,$e,!0),r,u):[]});function f_(n,i,u){var a=n==null?0:n.length;return a?(i=u||i===r?1:ue(i),qt(n,i<0?0:i,a)):[]}function d_(n,i,u){var a=n==null?0:n.length;return a?(i=u||i===r?1:ue(i),i=a-i,qt(n,0,i<0?0:i)):[]}function p_(n,i){return n&&n.length?Do(n,te(i,3),!0,!0):[]}function h_(n,i){return n&&n.length?Do(n,te(i,3),!0):[]}function g_(n,i,u,a){var d=n==null?0:n.length;return d?(u&&typeof u!="number"&&ht(n,i,u)&&(u=0,a=d),uy(n,i,u,a)):[]}function dh(n,i,u){var a=n==null?0:n.length;if(!a)return-1;var d=u==null?0:ue(u);return d<0&&(d=Ge(a+d,0)),vo(n,te(i,3),d)}function ph(n,i,u){var a=n==null?0:n.length;if(!a)return-1;var d=a-1;return u!==r&&(d=ue(u),d=u<0?Ge(a+d,0):lt(d,a-1)),vo(n,te(i,3),d,!0)}function hh(n){var i=n==null?0:n.length;return i?be(n,1):[]}function m_(n){var i=n==null?0:n.length;return i?be(n,fe):[]}function v_(n,i){var u=n==null?0:n.length;return u?(i=i===r?1:ue(i),be(n,i)):[]}function w_(n){for(var i=-1,u=n==null?0:n.length,a={};++i<u;){var d=n[i];a[d[0]]=d[1]}return a}function gh(n){return n&&n.length?n[0]:r}function y_(n,i,u){var a=n==null?0:n.length;if(!a)return-1;var d=u==null?0:ue(u);return d<0&&(d=Ge(a+d,0)),Xr(n,i,d)}function __(n){var i=n==null?0:n.length;return i?qt(n,0,-1):[]}var S_=ce(function(n){var i=Ae(n,ma);return i.length&&i[0]===n[0]?oa(i):[]}),x_=c
Line truncated
|
||||
`;n.replace(Q,function(re,de,ge,Mt,gt,Bt){return ge||(ge=Mt),U+=n.slice(D,Bt).replace(a1,J1),de&&(E=!0,U+=`' +
|
||||
__e(`+de+`) +
|
||||
'`),gt&&(R=!0,U+=`';
|
||||
`+gt+`;
|
||||
__p += '`),ge&&(U+=`' +
|
||||
((__t = (`+ge+`)) == null ? '' : __t) +
|
||||
'`),D=Bt+re.length,re}),U+=`';
|
||||
`;var ne=xe.call(i,"variable")&&i.variable;if(!ne)U=`with (obj) {
|
||||
`+U+`
|
||||
}
|
||||
`;else if(e1.test(ne))throw new ie(f);U=(R?U.replace(Dv,""):U).replace($v,"$1").replace(Fv,"$1;"),U="function("+(ne||"obj")+`) {
|
||||
`+(ne?"":`obj || (obj = {});
|
||||
`)+"var __t, __p = ''"+(E?", __e = _.escape":"")+(R?`, __j = Array.prototype.join;
|
||||
function print() { __p += __j.call(arguments, '') }
|
||||
`:`;
|
||||
`)+U+`return __p
|
||||
}`;var se=Hh(function(){return ye(g,b+"return "+U).apply(r,x)});if(se.source=U,Ma(se))throw se;return se}function EC(n){return Se(n).toLowerCase()}function kC(n){return Se(n).toUpperCase()}function LC(n,i,u){if(n=Se(n),n&&(u||i===r))return Jd(n);if(!n||!(i=Pt(i)))return n;var a=ln(n),d=ln(i),g=bd(a,d),x=ep(a,d)+1;return er(a,g,x).join("")}function RC(n,i,u){if(n=Se(n),n&&(u||i===r))return n.slice(0,np(n)+1);if(!n||!(i=Pt(i)))return n;var a=ln(n),d=ep(a,ln(i))+1;return er(a,0,d).join("")}function IC(n,i,u){if(n=Se(n),n&&(u||i===r))return n.replace(Ms,"");if(!n||!(i=Pt(i)))return n;var a=ln(n),d=bd(a,ln(i));return er(a,d).join("")}function TC(n,i){var u=H,a=ee;if(Ne(i)){var d="separator"in i?i.separator:d;u="length"in i?ue(i.length):u,a="omission"in i?Pt(i.omission):a}n=Se(n);var g=n.length;if(Jr(n)){var x=ln(n);g=x.length}if(u>=g)return n;var E=u-br(a);if(E<1)return a;var R=x?er(x,0,E).join(""):n.slice(0,E);if(d===r)return R+a;if(x&&(E+=R.length-E),Ba(d)){if(n.slice(E).search(d)){var D,$=R;for(d.global||(d=Xs(d.source,Se(_d.exec(d))+"g")),d.lastIndex=0;D=d.exec($);)var U=D.index;R=R.slice(0,U===r?E:U)}}else if(n.indexOf(Pt(d),E)!=E){var Q=R.lastIndexOf(d);Q>-1&&(R=R.slice(0,Q))}return R+a}function OC(n){return n=Se(n),n&&Uv.test(n)?n.replace(vd,lw):n}var AC=oi(function(n,i,u){return n+(u?" ":"")+i.toUpperCase()}),Da=Vp("toUpperCase");function jh(n,i,u){return n=Se(n),i=u?r:i,i===r?ew(n)?sw(n):G1(n):n.match(i)||[]}var Hh=ce(function(n,i){try{return Ot(n,r,i)}catch(u){return Ma(u)?u:new ie(u)}}),PC=An(function(n,i){return Ht(i,function(u){u=yn(u),Tn(n,u,Pa(n[u],n))}),n});function NC(n){var i=n==null?0:n.length,u=te();return n=i?Ae(n,function(a){if(typeof a[1]!="function")throw new Vt(c);return[u(a[0]),a[1]]}):[],ce(function(a){for(var d=-1;++d<i;){var g=n[d];if(Ot(g[0],this,a))return Ot(g[1],this,a)}})}function MC(n){return ly(Qt(n,w))}function $a(n){return function(){return n}}function BC(n,i){return n==null||n!==n?i:n}var WC=Qp(),zC=Qp(!0);function Ct(n){return n}function Fa(n){return xp(typeof n=="function"?n:Qt(n,w))}function DC(n){return Ep(Qt(n,w))}function $C(n,i){return kp(n,Qt(i,w))}var FC=ce(function(n,i){return function(u){return il(u,n,i)}}),UC=ce(function(n,i){return function(u){return il(n,u,i)}});function Ua(n,i,u){var a=Ke(i),d=Bo(i,a);u==null&&!(Ne(i)&&(d.length||!a.length))&&(u=i,i=n,n=this,d=Bo(i,Ke(i)));var g=!(Ne(u)&&"chain"in u)||!!u.chain,x=Nn(n);return Ht(d,function(E){var R=i[E];n[E]=R,x&&(n.prototype[E]=function(){var D=this.__chain__;if(g||D){var $=n(this.__wrapped__),U=$.__actions__=_t(this.__actions__);return U.push({func:R,args:arguments,thisArg:n}),$.__chain__=D,$}return R.apply(n,Kn([this.value()],arguments))})}),n}function jC(){return Je._===this&&(Je._=hw),this}function ja(){}function HC(n){return n=ue(n),ce(function(i){return Lp(i,n)})}var VC=ya(Ae),GC=ya(qd),QC=ya(Vs);function Vh(n){return La(n)?Gs(yn(n)):xy(n)}function qC(n){return function(i){return n==null?r:Or(n,i)}}var KC=Kp(),YC=Kp(!0);function Ha(){return[]}function Va(){return!1}function ZC(){return{}}function XC(){return""}function JC(){return!0}function bC(n,i){if(n=ue(n),n<1||n>j)return[];var u=Z,a=lt(n,Z);i=te(i),n-=Z;for(var d=Ks(a,i);++u<n;)i(u);return d}function e2(n){return oe(n)?Ae(n,yn):Nt(n)?[n]:_t(ch(Se(n)))}function t2(n){var i=++dw;return Se(n)+i}var n2=Uo(function(n,i){return n+i},0),r2=_a("ceil"),i2=Uo(function(n,i){return n/i},1),l2=_a("floor");function o2(n){return n&&n.length?Mo(n,Ct,la):r}function u2(n,i){return n&&n.length?Mo(n,te(i,2),la):r}function s2(n){return Zd(n,Ct)}function a2(n,i){return Zd(n,te(i,2))}function c2(n){return n&&n.length?Mo(n,Ct,aa):r}function f2(n,i){return n&&n.length?Mo(n,te(i,2),aa):r}var d2=Uo(function(n,i){return n*i},1),p2=_a("round"),h2=Uo(function(n,i){return n-i},0);function g2(n){return n&&n.length?qs(n,Ct):0}function m2(n,i){return n&&n.length?qs(n,te(i,2)):0}return h.after=DS,h.ary=Sh,h.assign=kx,h.assignIn=Bh,h.assignInWith=eu,h.assignWith=Lx,h.at=Rx,h.before=xh,h.bind=Pa,h.bindAll=PC,h.bindKey=Ch,h.castArray=ZS,h.chain=wh,h.chunk=l_,h.compact=o_,h.concat=u_,h.cond=NC,h.conforms=MC,h.constant=$a,h.countBy=gS,h.create=Ix,h.curry=Eh,h.curryRight=kh,h.debounce=Lh,h.defaults=Tx,h.defaultsDeep=Ox,h.defer=$S,h.delay=FS,h.difference=s_,h.differenceBy=a_,h.differenceWith=c_,h.drop=f_,h.dropRight=d_,h.dropRightWhile=p_,h.dropWhile=h_,h.fill=g_,h.filter=vS,h.flatMap=_S,h.flatMapDeep=SS,h.flatMapDepth=xS,h.flatten=hh,h.flattenDeep=m_,h.flattenDepth=v_,h.flip=US,h.flow=WC,h.flowRight=zC,h.fromPairs=w_,h.functions=zx,h.functionsIn=Dx,h.groupBy=CS,h.initial=__,h.intersection=S_,h.intersectionBy=x_,h.intersectionWith=C_,h.invert=Fx,h.invertBy=Ux,h.invokeMap=kS,h.iteratee=Fa,h.keyBy=LS,h.keys=Ke,h.keysIn=xt,h.map=Ko,h.mapKeys=Hx,h.mapValues=Vx,h.matches=DC,h.matchesProperty=$C,h.memoize=Zo,h.merge=Gx,h.mergeWith=Wh,h.method=FC,h.methodOf=UC,h.mixin=Ua,h.negate=Xo,h.nthArg=HC,h.omit=Qx,h.omitBy=qx,h.once=jS,h.orderBy=RS,h.over=VC,h.overArgs=HS,h.overEvery=GC,h.overSome=QC,h.pa
Line truncated
|
||||
`;function ur({blocks:e=[],arrows:t=[],arrowId:r,rotate:l=!1,rotateNegative:o=!1,flip:s=!1,lines:c=[],children:f=[],includeInlineStyle:p=!1,effect:m,...y}){X.useEffect(()=>m==null?void 0:m()),r=r||Math.floor(Math.random()*Math.pow(2,4*8)).toString(16),f?Symbol.iterator in f||(f=[f]):f=[],y.className||(y.className=""),y.className+=" cBuilderSvg";const w=()=>p?I.jsx("style",{children:Kk}):I.jsx(I.Fragment,{});return I.jsxs("svg",{viewBox:"0 0 100 100",...y,children:[I.jsx(w,{}),I.jsxs("defs",{children:[I.jsx("marker",{id:`arrow_${r}`,viewBox:"0 0 10 10",refX:"5",refY:"5",markerWidth:"2.5",markerHeight:"2.5",orient:"auto-start-reverse",fill:"currentColor",className:"cBuilderSvg__marker",markerUnits:"strokeWidth",children:I.jsx("path",{d:"M 0 0 L 10 5 L 0 10 Z"})}),I.jsx("clipPath",{id:`main_clip_${r}`,clipPathUnits:"userSpaceOnUse",children:I.jsx("rect",{x:5,y:5,width:90,height:90,rx:11.75})}),I.jsx("clipPath",{id:`clip1_${r}`,clipPathUnits:"userSpaceOnUse",children:I.jsx("path",{d:"M 0 0 L 25 0 L 25 100 L 0 100 Z"})}),I.jsx("clipPath",{id:`clip2_${r}`,clipPathUnits:"userSpaceOnUse",children:I.jsx("path",{d:"M72.5 0 L 97.5 0 L 97.5 100 L 72.5 100 Z"})}),I.jsx("clipPath",{id:`clip3_${r}`,clipPathUnits:"userSpaceOnUse",children:I.jsx("path",{d:"M75 25 L 80 25 A 5 5 0 0 0 85 30 L 85 80 A 5 5 0 0 0 80 85 L 30 85 A 5 5 0 0 0 25 80 L 25 75 L 70 75 A 5 5 0 0 0 75 70 Z"})}),I.jsx("clipPath",{id:`clip4_${r}`,clipPathUnits:"userSpaceOnUse",children:I.jsx("rect",{x:20,y:70,width:60,height:15,rx:5})})]}),I.jsx("g",{transform:l?void 0:`rotate(${o?"-":""}90)`,x:0,y:0,width:100,height:100,children:I.jsxs("g",{transform:l?void 0:`scale(${s?"1,-1":"1,1"})`,x:0,y:0,width:100,height:100,children:[I.jsx("rect",{width:95,height:95,x:2.5,y:2.5,rx:15,fill:"none",stroke:"none",strokeWidth:5,"data-role":"background"}),I.jsxs("g",{id:"mainarea",clipPath:`url(#main_clip_${r})`,children:[e.map((_,k)=>I.jsx("rect",{fill:"currentColor",rx:5,..._},k)),t.map(_=>I.jsx("path",{d:"M "+(_ instanceof Array?_:_.points).map(({x:k,y:A})=>`${k} ${A}`).join(" L "),rx:20,fill:"none",strokeWidth:6,stroke:"currentColor",strokeLinejoin:"round",markerStart:["both","start"].includes(_.marker)?`url(#arrow_${r})`:void 0,markerEnd:["both","end",void 0].includes(_.marker)?`url(#arrow_${r})`:void 0,className:"cBuilderSvg__arrow"},JSON.stringify(_))),c.map(_=>I.jsx("path",{d:"M "+(_ instanceof Array?_:_.points).map(({x:k,y:A})=>`${k} ${A}`).join(" L "),rx:20,fill:"none",strokeWidth:6,stroke:"currentColor",strokeLinejoin:"round",className:_.className||void 0},JSON.stringify(_))),f]}),I.jsx("rect",{width:95,height:95,x:2.5,y:2.5,rx:15,fill:"none",stroke:"currentColor",strokeWidth:5,"data-role":"outerborder"})]})})]})}function Yk({pattern:e="start",horizontal:t=!0,...r}){const o=[{width:60},{width:80},{width:40}].map((s,c)=>({...s,height:23.4,className:"cBuilderSvg__box--outlined",y:5+90*c/3+1.3+2,x:(()=>e==="end"?97.5-s.width:e==="center"?50-s.width/2:2.5)()}));return I.jsx(ur,{blocks:o,rotate:t,...r})}function cn({...e}){return e.className=[e.className||"","cBuilderSvg__image-icon"].join(" ").trim().replace(/\s+/," "),I.jsxs("svg",{...e,viewBox:"0 0 90 90",children:[I.jsx("rect",{x:0,y:0,className:"cBuilderSvg__box--secondaryColoring",width:90,height:90,rx:10,fill:"currentColor"}),I.jsx("path",{d:"M4 86 L 25 28 L 55 68 L 69 50 L 84 86Z",stroke:"currentColor",strokeWidth:"6",fill:"currentColor",strokeLinejoin:"round"}),I.jsx("circle",{r:"10",cx:"70",cy:"20",fill:"currentColor",stroke:"currentColor"})]})}const wu=[[{x:35,y:84},{x:16,y:84}],[{x:65,y:84},{x:84,y:84}]];function Zk({behavior:e="wrap",horizontal:t=!1,...r}){r.className=r.className||"",r.className+=" cBuilderSvg--wrap-icon";const l=[],o=[],s=[];let c=4,f=c,p=[57,31],m,y,w,_,k,A;switch(e){case"carousel":l.push({width:15,height:40,x:0,y:20,className:"cBuilderSvg__box--outlined"}),l.push({width:66,height:60,x:17,y:10,className:"cBuilderSvg__box--outlined"}),l.push({width:15,height:40,x:85,y:20,className:"cBuilderSvg__box--outlined"}),l.push({height:3,width:40,y:25,x:22,rx:0}),l.push({height:3,width:30,y:32,x:22,rx:0}),l.push({height:3,width:52,y:39,x:22,rx:0}),l.push({height:3,width:22,y:46,x:22,rx:0}),o.push([{x:35,y:84},{x:16,y:84}]),o.push([{x:65,y:84},{x:84,y:84}]);break;case"table":case"table-carousel":c=1.3,w=e==="table-carousel"?78:70,_=e==="table-carousel"?11:15,m=e==="table-carousel"?20:0,y=e==="table-carousel"?1:3;for(let T=0;T<y;T++)l.push({height:85/3-4-2*c,width:w,y:7.5+85*T/3+c+2+m,x:_,className:"cBuilderSvg__box--outlined"});e==="table-carousel"&&o.splice(0,0,...wu.map(T=>T.map(B=>({x:B.x,y:B.y-15}))));break;case"mini-grid":case"grid-carousel":case"mini-grid-carousel":case"grid":k=e.startsWith("mini")?3:2,y=e.startsWith("mini")?3:2,A=88,m=e==="grid-carousel"?7:0,e.startsWith("mini")&&(f=10,c=5),e==="grid-carousel"&&(y=1,k=3),e.endsWith("carousel")&&(A=e.startsWith("mini")?68:54,o.splice(o.length,0,...wu.map(T=>T.map(B=>({x:B.x,y:B.y-5}))))),e==="mini-grid"&&(m=10,A=68),e==="mini-grid-carousel
Line truncated
|
||||
<div
|
||||
class="ipsLoading"
|
||||
style="width:${ae.width}px; height:${ae.height}px; position:static !important;"
|
||||
>
|
||||
<div class="ipsRichText ipsWidget__content ipsWidget__padding">
|
||||
${le}
|
||||
</div>
|
||||
</div>`)}else c.current.style.height=`${ae.height}px`,c.current.style.width=`${ae.width}px`;setTimeout(async()=>{let me;try{me=await window.ips.fetch(F.action,{data:J,method:"post",bypassRedirect:!0})}catch(it){window.Debug.error(it)}S.hide(),M.remove(),t("default"),p({}),s(me)},100)})),S.addContentProcessor(F=>{var J,H;const P=(J=M.parentElement)==null?void 0:J.getBoundingClientRect();if(P){const ee=M.parentElement;ee.style.width=P.width+"px",ee.style.height=P.height+"px";const le=(H=F.closest(".ipsDialog"))==null?void 0:H.getAttribute("id");if(le){const ae=(_e,{dialogID:me})=>{le===me&&(ee.style.width="",ee.style.height="",ee.appendChild(M),B(M),window.$(document).off("hideDialog",ae))};window.$(document).on("hideDialog",ae)}}let z=M;for(;z;){if(z.parentElement===F)return;z=z.parentElement}F.innerHTML="",F.appendChild(M),B(M,!0)}),p({element:M,configId:O,dialogRef:S})}t("editing")}}}}function bl(e){return(e instanceof Element?e:document).querySelector("[data-ipsconfigform]")}function _3(e){return!1}function S3({blockID:e,title:t,config:r,update:l,defaultConfiguration:o,blank:s,getArea:c,contentRaw:f,selectArea:p},m){const[y,w]=X.useState("default"),_=X.useRef(null),k=H=>{y==="default"&&H==="editing"&&e.startsWith("app_cms_Wysiwyg")&&(S==null||S()),w(H)};let A=!1;const{area:T}=X.useContext(Kr),{setEditing:B,editForm:v,captureHeight:S,blockUsesInlineEditing:C,toolList:O,tiptapRef:M,toolListWrap:F}=y3({blockID:e,setState:k,state:y,blockArea:T,title:t,reloadContent:z,contentRaw:f},m);X.useEffect(()=>{if(y==="default"){const H=e.split("_");(!H[3]||s)&&(A=!H[3],A&&(e+=`_${Math.random().toString(36).slice(2,9)}`),z(),k("loading"))}}),X.useEffect(()=>{var H;r&&_.current&&((H=_.current)==null?void 0:H.dataset.menuListenerSet)!=="true"&&(_.current.dataset.menuListenerSet="true",window.$(document).trigger("contentChange",[window.$(_.current.parentElement)]),_.current.addEventListener("ipsMenuOpened",async ee=>{if(await new Promise(ae=>setTimeout(ae,1)),C){await p(),J(),await B();return}let le=`${window.ips.getSetting("baseURL")}index.php?${Object.entries(uo()).map(([ae,_e])=>`${encodeURIComponent(ae)}=${encodeURIComponent(_e)}`).join("&")}&do=getConfiguration&block=${encodeURIComponent(e)}&pageApp=${encodeURIComponent(document.body.dataset.pageapp)}&pageModule=${encodeURIComponent(document.body.dataset.pagemodule)}&pageController=${encodeURIComponent(document.body.dataset.pagecontroller)}&pageArea=${encodeURIComponent(T)}&area=${encodeURIComponent(T)}`;try{if(P()==="modal"){J();const ae=window.ips.ui.dialog.create({title:t,url:le,forceReload:!0,destructOnClose:!0,remoteSubmit:!0});ae.show(),document.querySelectorAll(`[id="${e}_edit_menu"]`).ipsHide();const _e=Qn.throttle(me=>{me.dialogID===ae.dialogID&&(me.stopImmediatePropagation(),me.preventDefault(),z(me.response))},200);document.addEventListener("dialogSubmission",_e,{once:!0})}else ee.menu.html(window.$("<div/>").addClass("ipsLoading").css({height:"100px"})),setTimeout(async()=>{const ae=await window.ips.fetch(le),_e=ee.menu.get(0);if(_e.id)for(const me of document.querySelectorAll(`[id="${_e.id}"]`))me!==_e&&me.remove();ee.menu.html(ae).find("form").on("submit",async me=>{var it;me.preventDefault();try{const fe=await window.ips.fetch(window.$(me.currentTarget).attr("action"),{data:window.$(me.currentTarget).serialize(),type:"post"});typeof fe=="object"||((it=fe==null?void 0:fe.toLowerCase)==null?void 0:it.call(fe))==="ok"?(await z(fe),ee.menu.trigger("closeMenu")):typeof fe=="string"&&ee.menu.html(fe)}catch(fe){window.Debug.warn(fe),window.ips.ui.alert.show({type:"alert",icon:"warn",message:window.ips.getString("sidebarConfigError"),callbacks:{}})}}),ee.menu.trigger("contentChange",[ee.menu])},10);document.body.dispatchEvent(new is(null))}catch(ae){window.Debug.warn(ae),window.ips.ui.alert("Something went wrong when loading the configuration settings")}await p()}))});function P(){var H;return((H=ji(e))==null?void 0:H.dataset.menustyle)||"none"}async function z(H){const ee={blockID:e,title:t,config:r,blank:!1,contentRaw:"Error"};(H==null?void 0:H.areaClasses)instanceof Array&&(ee.areaClasses=Array.from(new Set(H.areaClasses)));try{const le=await Tv(e,o,T,A,c().wrapBehavior);ee.contentRaw=le,ee.defaultConfiguration=void 0,l==null||l(ee),k("default")}catch(le){l==null||l(ee),k("contentLoadError"),window.Debug.log("something went wrong when loading a block's content."),window.Debug.error(le)}}function J(){document.querySelectorAll(`[id="${e}_edit_menu"]`).ipsHide()}return{reloadContent:z,state:y,setState:k,editForm:v,blockUsesInlineEditing:C,manageBlockRef:_,toolList:O,tiptapRef:M,toolListWrap:F}}function so(e){return e.split("_").slice(0,3).join("_")}function ji(e){if(typeof e!="string")return window.Debug.warn("Could not get a block base because the id is not a string"),null;const t=so(e);return t?document.querySelector(`[data-role="availableBlocks"] :is([data-blockID="${t}"],[data-blockID*="${t}_"])`):(window.Debug.warn(`The block id ${JSON.stringify(e)} does
Line truncated
|
||||
`)),await window.ips.ui.editorv5.whenLoaded();const J=document.createElement("div");J.setAttribute("hidden",""),document.body.appendChild(J);const[H,ee]=await window.ips.utils.tiptap.editorInstance(J,{...window.ips.ui.editorv5.buildConfig({}),content:z});if(await new Promise(le=>setTimeout(le)),z=H.getHTML(),H.destroy(),ee.unmount(),J.remove(),z){O={orientation:e==="horizontal"?"vertical":"horizontal",children:[],wrapBehavior:"table",otherOptions:{},widgets:[{title:"WYSIWYG Editor",blockID:"app_cms_Wysiwyg",config:!0,blank:!1,contentRaw:z,defaultConfiguration:{content:z}}]};break}throw new Error(`The data from the drop event did not include ${P}, so the block could not be inserted in the widget area tree`)}const F=y.current;if(F){if(M.blockID.startsWith("app_cms_Blocks:")){const le=ji(M.blockID),ae=le==null?void 0:le.dataset.customblockid;if(!ae)throw new Error("The dropped block is a custom block but the block id is invalid");const _e=await window.ips.fetch(window.ips.getSetting("baseURL"),{method:"get",data:{app:"cms",module:"pages",controller:"builder",do:"getCustomBlockContent",id:ae}});if(typeof _e.content!="string"||typeof _e.block_key!="string"||typeof((A=_e.configuration)==null?void 0:A.blocktitle)!="string")throw new TypeError("Could not add a custom block because the server didn't return a string for it's content, blocktitle data attribute, or block key (as in the key of the custom block)");M.contentRaw=_e.content,M.defaultConfiguration={cms_widget_custom_block:_e.block_key},M.blockID=`app_cms_Blocks_${Math.round(Math.random()*Math.pow(16,8)).toString(16)}`,M.blockTitle=_e.configuration.blocktitle}const P=Lv(F,k.clientX,k.clientY),z=M.areaDetails,J={title:M.blockTitle,blockID:M.blockID,config:M.config,blank:M.blank,contentRaw:M.contentRaw||"<div class='ipsLoading'></div>"};M.defaultConfiguration&&(J.defaultConfiguration=J.configuration=M.defaultConfiguration),O=O||{orientation:e==="horizontal"?"vertical":"horizontal",children:[],wrapBehavior:(z==null?void 0:z.wrapBehavior)||M.ipsWrapBehavior||((v=(B=(T=hd(M.blockID))==null?void 0:T.values())==null?void 0:B.next())==null?void 0:v.value)||"table",otherOptions:{...z==null?void 0:z.otherOptions},widgets:[J]};const H=await Ov(),ee=[];if(Number.isInteger(M==null?void 0:M.areaId)&&M.area===w&&M.pageHash===H&&ee.push(M.areaId),ee.includes(f))return;if(so(O.widgets[0].blockID)===O.widgets[0].blockID){O.widgets[0].blockID+="_";for(let le=0;le<6;le++)O.widgets[0].blockID+=Math.round(Math.random()*16).toString(16);O.widgets[0].contentRaw=await Tv(O.widgets[0].blockID,O.widgets[0].defaultConfiguration,w,!0,O.wrapBehavior),O.widgets[0].blank=!1}if((S=y==null?void 0:y.current)!=null&&S.closest(".cWidgetContainer--carousel")&&O.wrapBehavior in Ze&&(O.wrapBehavior=Ze[O.wrapBehavior],O.widgets.length&&(O.widgets[0].blank=!0,O.widgets[0].contentRaw=`<div class="ipsLoading">${O.widgets[0].contentRaw||""}</div>`)),["before","after"].includes(P))O.orientation=e,c==null||c(O,P==="before",ee);else if(!t.length&&s.length){const le={orientation:e==="horizontal"?"vertical":"horizontal",children:[],wrapBehavior:r,otherOptions:o,widgets:s,areaId:f};l({newState:{children:P===0?[O,le]:[le,O],wrapBehavior:"wrap",widgets:[],otherOptions:{}},toRemove:ee})}else t.splice(P,0,O),l({newState:{children:t},toRemove:ee});(C=y.current)==null||C.dispatchEvent(new eo({widget:O.widgets[0],area:w}))}}catch(O){window.Debug.warn(O),window.Debug.log("Could not insert the content dropped inside a widget area"),window.ips.ui.alert.show({message:"This content cannot be dropped in the page"})}document.querySelectorAll("section.cWidgetContainer:not([data-controller])").forEach(O=>{O.removeAttribute("hidden"),O.querySelectorAll(":scope > .cWidgetContainer__menu_region").forEach(M=>M.style.display="")})},onDragOver:k=>{k.preventDefault(),k.stopPropagation(),O3({ref:y,orientation:e,wrapBehavior:r,getParent:p,children:t,clientX:k.clientX,clientY:k.clientY})}}}function I3(e,t){if(e!=null&&e.classList.contains("cWidgetContainer--dragInside")){const r=e.getBoundingClientRect();let l;if(e.scrollWidth<=r.width)return!1;if(t<r.left+Math.min(r.width/10,70))l="prev";else if(t>r.right-Math.max(r.width/10,70))l="next";else return!1;if(l&&!window.ips.ui.carousel.containerAtEnd(e,l))return T3(e,l),!0}return!1}const T3=Qn.throttle((e,t)=>{e.dispatchEvent(new CustomEvent("scrollPanels",{detail:{direction:t,loop:!1}}))},1e3),O3=Qn.throttle(function({ref:e,orientation:t,wrapBehavior:r,getParent:l,children:o,clientX:s,clientY:c}){var f,p;if(e.current){if(bl(e.current.closest(".pageBuilderRoot")))return;const m=l==null?void 0:l();try{let y,w,_=e.current,k=Lv(_,s,c),A=t;if(["stack","accordion"].includes(r)&&(t="vertical"),["before","after"].includes(k)){A=t==="horizontal"?"vertical":"horizontal";const v=k;if(_=(f=e.current.parentElement)==null?void 0:f.closest(".pageBuilderRoot .cWidgetContainer"),_){let S=_.querySelectorAll(":is(:scope, :scope > .cWidgetContainer__accordionWrapper) > :is(.cWidgetContainer, .ipsWidget)");Line truncated
|
||||
|
||||
`+y.message,window.Debug.warn(y)}}},200);function di(e,t,r=400){var l;et.has(e)||et.set(e,new Map);for(const o of t.split(/\s+/).filter(s=>!!s)){et.get(e).has(o)&&(clearTimeout(et.get(e).get(o)),et.get(e).delete(o)),e.classList.add(o),document.querySelectorAll(`.${o}`).forEach(c=>{var f;if(c!==e){c.classList.remove(o);const p=(f=et.get(c))==null?void 0:f.get(o);p&&(clearTimeout(p),et.get(c).delete(o))}});const s=setTimeout(()=>{var f;e.classList.remove(o);const c=(f=et.get(e))==null?void 0:f.get(o);c&&(clearTimeout(c),et.get(e).delete(o),et.get(e).size||et.delete(e))},r);et.get(e).set(o,s)}(l=et.get(e))!=null&&l.size||et.delete(e)}setInterval(()=>{for(const e of et.keys())if(e.closest("body")!==document.body){for(const t of et.get(e).values())clearTimeout(t);et.delete(e)}},5e3);const et=new Map;function A3({wrapBehavior:e,widgets:t,scrollRef:r}){const l=X.useRef(null),o=e==="carousel"&&!t.length;X.useEffect(()=>{if(o&&(p(),r.current)){const y=r.current;os.set(y,p);const w=k=>{var O;const[A,T,B]=c(),v=((O=k==null?void 0:k.detail)==null?void 0:O.direction)||"next",S=v!=="prev"&&(A>=T-1||B[T-1].getBoundingClientRect().right<=y.getBoundingClientRect().right);if(v==="prev"&&A===0||v!=="prev"&&S)return;const C=y.querySelector(`[data-carousel-arrow="${v}"]`);C instanceof HTMLElement&&m({target:C})};y.addEventListener("scrollPanels",w);const _=new ResizeObserver(Qn.debounce(p,100));return _.observe(r.current),()=>{os.delete(y),y.removeEventListener("scrollPanels",w),_.disconnect()}}});function s(){var y;return(y=r.current)!=null&&y.classList.contains("cWidgetContainer--carousel")?r.current:null}function c(){var T;const y=s(),w=y==null?void 0:y.querySelectorAll(":scope > .cWidgetContainer");if(!w)throw new ReferenceError;const _=w.length;if(gf.has(y))return[parseInt(((T=l.current)==null?void 0:T.dataset.actualOffset)||"0"),_,w];const k=y.getBoundingClientRect();let A;for(A=0;A<_;A++)if(w[A].getBoundingClientRect().left>=k.left-1)return[A,_,w];return[_-1,_,w]}function f(){var k,A;const y=(k=r.current)==null?void 0:k.getBoundingClientRect(),w=(A=r.current)==null?void 0:A.querySelectorAll(":scope > .cWidgetContainer");if(!y||!(w!=null&&w.length)||w.length===1)return 1;const _=Math.abs(w[w.length-1].getBoundingClientRect().right-w[0].getBoundingClientRect().left);if(_){let T=Math.ceil(_/y.width);return w.length>2&&w[w.length-1].getBoundingClientRect().right-w[w.length-2].getBoundingClientRect().left>y.width&&T++,T}return 1}function p(){if(!l.current)return;let[y,w]=c();const _=f();y=Math.min(y,_),w=Math.min(w,_),l.current.innerText=`${y+1}/${w}`,l.current.closest(".cWidgetContainer__carousel-buttons").querySelectorAll("button").forEach(k=>w<=1?k.setAttribute("disabled",""):k.removeAttribute("disabled"))}function m(y){const w=s();if(!w)return;const _=y.target instanceof HTMLElement&&y.target.dataset.carouselArrow||"next",[k,A,T]=c();if(T.length<=1)return;const B=w.getBoundingClientRect(),v=_!=="prev"&&(k+1>=A||T[A-1].getBoundingClientRect().right<=B.right),S=(_==="prev"&&k===0?A-1:v?0:k+(_==="prev"?-1:1))%A;let C=(S===A-1?T[S].getBoundingClientRect().right:T[S].getBoundingClientRect().left)-B.left;l.current.dataset.actualOffset=`${S}`,gf.add(w),w.scrollTo({left:r.current.scrollLeft+C,behavior:"smooth"}),p()}return{indicatorRef:l,scroll:m}}const gf=new WeakSet,os=new WeakMap;function Av(e,t=!1){var r,l;if((r=e.classList)!=null&&r.contains("cWidgetContainer--carousel")&&e.querySelector(".ipsWidget__content--wrap--editing")){const o=e.querySelector(".ipsWidget__content--wrap--editing"),s=(l=window.ips.ui.editorv5.getObj(window.$(o.querySelector("[data-ipseditorv5]"))))==null?void 0:l.getInstance();t?o==null||o.dispatchEvent(new CustomEvent("ips:editorHidePanes",{detail:{instance:s},bubbles:!0,cancelable:!0})):o.dispatchEvent(new CustomEvent("ips:editorShowPanes",{detail:{instance:s},bubbles:!0,cancelable:!0}))}}function l0(e){let t=e.target;for(;t instanceof HTMLElement;){if(Av(t),os.has(t)){let r=!1;const l=e.stopPropagation;if(e.stopPropagation=(function(){r=!0,l.call(this)}).bind(e),os.get(t)(e),gf.delete(t),r)break;e.stopPropagation=l.bind(e)}t=t.parentElement}}"onscrollend"in HTMLElement.prototype?window.addEventListener("scrollend",l0,{capture:!0}):window.addEventListener("scroll",Qn.debounce(l0,200),{capture:!0});window.addEventListener("scroll",e=>{var r;let t=e.target;(r=t==null?void 0:t.classList)!=null&&r.contains("cWidgetContainer--carousel")&&Av(t,!0)},{capture:!0});function P3({widgets:e,scrollRef:t,wrapBehavior:r}){const{indicatorRef:l,scroll:o}=A3({widgets:e,scrollRef:t,wrapBehavior:r});return I.jsxs("div",{className:"cWidgetContainer__carousel-buttons","data-controller":"core.front.widgets.carouselControls",children:[I.jsx("div",{className:"cWidgetContainer__carousel-indicator",ref:l}),[["prev","left"],["next","right"]].map(([s,c])=>I.jsx("button",{onClick:o,"data-carousel-arrow":s,children:I.jsx("i",{className:`fa-solid fa-chevron-${c}`})},s))]})}function Pv({...e}){var P,z,J,H,ee,le,ae,_e,me,it,fe;const{
Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
.cBuilderSvg__box--secondaryColoring{color:color-mix(in srgb,var(--i-svg--st) 25%,var(--i-svg--co) 75%)}.cBuilderSvg__arrow,.cBuilderSvg__path{color:var(--i-svg--st)}.cBuilderSvg__marker{fill:var( --i-svg--st )}.cBuilderSvg__box--outlined{stroke:var(--i-svg--st);stroke-width:var(--i-svg--st-wi);color:var(--i-svg--co)}.cBuilderSvg text{fill:var(--i-svg--st)}.cBuilderSvg *:not(#x){transform-origin:center}.cBuilderSvg__image-icon{color:var(--i-svg--st)}.cBuilderSvg__solid{fill:var(--i-svg--st);stroke:var(--i-svg--st)}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"src/css/svg.css": {
|
||||
"file": "assets/main-51be5621.css",
|
||||
"src": "src/css/svg.css"
|
||||
},
|
||||
"src/main.css": {
|
||||
"file": "assets/main-51be5621.css",
|
||||
"src": "src/css/svg.css"
|
||||
},
|
||||
"src/main.jsx": {
|
||||
"css": [
|
||||
"assets/main-51be5621.css"
|
||||
],
|
||||
"file": "assets/main-136dab88.js",
|
||||
"isEntry": true,
|
||||
"src": "src/main.jsx"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user