@blueskyproject/tiled 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ButtonCopyToClipboard.d.ts +2 -1
- package/dist/components/ButtonCopyToClipboard.d.ts.map +1 -1
- package/dist/components/Tiled/TiledColumn.d.ts +5 -2
- package/dist/components/Tiled/TiledColumn.d.ts.map +1 -1
- package/dist/components/Tiled/TiledColumns.d.ts +0 -9
- package/dist/components/Tiled/TiledColumns.d.ts.map +1 -1
- package/dist/components/Tiled/TiledContainer.d.ts.map +1 -1
- package/dist/components/Tiled/apiClient.d.ts +1 -1
- package/dist/components/Tiled/apiClient.d.ts.map +1 -1
- package/dist/components/Tiled/types.d.ts +1 -1
- package/dist/components/Tiled/types.d.ts.map +1 -1
- package/dist/components/Tiled/useTiled.d.ts +3 -0
- package/dist/components/Tiled/useTiled.d.ts.map +1 -1
- package/dist/tiled.css +1 -1
- package/dist/tiled.es.js +2194 -2159
- package/dist/tiled.umd.js +22 -22
- package/package.json +1 -1
package/dist/tiled.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(ht,
|
|
1
|
+
(function(ht,g){typeof exports=="object"&&typeof module<"u"?g(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],g):(ht=typeof globalThis<"u"?globalThis:ht||self,g(ht.Tiled={},ht.React))})(this,function(ht,g){"use strict";function qo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var sr={exports:{}},Jt={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var mn;function
|
|
9
|
+
*/var mn;function $o(){if(mn)return Jt;mn=1;var e=g,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function s(a,u,d){var f,A={},v=null,w=null;d!==void 0&&(v=""+d),u.key!==void 0&&(v=""+u.key),u.ref!==void 0&&(w=u.ref);for(f in u)r.call(u,f)&&!i.hasOwnProperty(f)&&(A[f]=u[f]);if(a&&a.defaultProps)for(f in u=a.defaultProps,u)A[f]===void 0&&(A[f]=u[f]);return{$$typeof:t,type:a,key:v,ref:w,props:A,_owner:o.current}}return Jt.Fragment=n,Jt.jsx=s,Jt.jsxs=s,Jt}var Yt={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,40 +14,40 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var hn;function
|
|
18
|
-
`+
|
|
17
|
+
*/var hn;function Ko(){return hn||(hn=1,process.env.NODE_ENV!=="production"&&function(){var e=g,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),a=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),p=Symbol.iterator,b="@@iterator";function m(c){if(c===null||typeof c!="object")return null;var y=p&&c[p]||c[b];return typeof y=="function"?y:null}var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function I(c){{for(var y=arguments.length,C=new Array(y>1?y-1:0),W=1;W<y;W++)C[W-1]=arguments[W];E("error",c,C)}}function E(c,y,C){{var W=x.ReactDebugCurrentFrame,$=W.getStackAddendum();$!==""&&(y+="%s",C=C.concat([$]));var ne=C.map(function(Y){return String(Y)});ne.unshift("Warning: "+y),Function.prototype.apply.call(console[c],console,ne)}}var L=!1,O=!1,T=!1,j=!1,k=!1,F;F=Symbol.for("react.module.reference");function fe(c){return!!(typeof c=="string"||typeof c=="function"||c===r||c===i||k||c===o||c===d||c===f||j||c===w||L||O||T||typeof c=="object"&&c!==null&&(c.$$typeof===v||c.$$typeof===A||c.$$typeof===s||c.$$typeof===a||c.$$typeof===u||c.$$typeof===F||c.getModuleId!==void 0))}function me(c,y,C){var W=c.displayName;if(W)return W;var $=y.displayName||y.name||"";return $!==""?C+"("+$+")":C}function le(c){return c.displayName||"Context"}function ie(c){if(c==null)return null;if(typeof c.tag=="number"&&I("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof c=="function")return c.displayName||c.name||null;if(typeof c=="string")return c;switch(c){case r:return"Fragment";case n:return"Portal";case i:return"Profiler";case o:return"StrictMode";case d:return"Suspense";case f:return"SuspenseList"}if(typeof c=="object")switch(c.$$typeof){case a:var y=c;return le(y)+".Consumer";case s:var C=c;return le(C._context)+".Provider";case u:return me(c,c.render,"ForwardRef");case A:var W=c.displayName||null;return W!==null?W:ie(c.type)||"Memo";case v:{var $=c,ne=$._payload,Y=$._init;try{return ie(Y(ne))}catch{return null}}}return null}var G=Object.assign,te=0,q,X,R,ce,we,se,ke;function Q(){}Q.__reactDisabledLog=!0;function de(){{if(te===0){q=console.log,X=console.info,R=console.warn,ce=console.error,we=console.group,se=console.groupCollapsed,ke=console.groupEnd;var c={configurable:!0,enumerable:!0,value:Q,writable:!0};Object.defineProperties(console,{info:c,log:c,warn:c,error:c,group:c,groupCollapsed:c,groupEnd:c})}te++}}function Le(){{if(te--,te===0){var c={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:G({},c,{value:q}),info:G({},c,{value:X}),warn:G({},c,{value:R}),error:G({},c,{value:ce}),group:G({},c,{value:we}),groupCollapsed:G({},c,{value:se}),groupEnd:G({},c,{value:ke})})}te<0&&I("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ne=x.ReactCurrentDispatcher,re;function S(c,y,C){{if(re===void 0)try{throw Error()}catch($){var W=$.stack.trim().match(/\n( *(at )?)/);re=W&&W[1]||""}return`
|
|
18
|
+
`+re+c}}var K=!1,H;{var ee=typeof WeakMap=="function"?WeakMap:Map;H=new ee}function Ie(c,y){if(!c||K)return"";{var C=H.get(c);if(C!==void 0)return C}var W;K=!0;var $=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ne;ne=Ne.current,Ne.current=null,de();try{if(y){var Y=function(){throw Error()};if(Object.defineProperty(Y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Y,[])}catch(ye){W=ye}Reflect.construct(c,[],Y)}else{try{Y.call()}catch(ye){W=ye}c.call(Y.prototype)}}else{try{throw Error()}catch(ye){W=ye}c()}}catch(ye){if(ye&&W&&typeof ye.stack=="string"){for(var z=ye.stack.split(`
|
|
19
19
|
`),xe=W.stack.split(`
|
|
20
|
-
`),
|
|
21
|
-
`+z[
|
|
20
|
+
`),D=z.length-1,oe=xe.length-1;D>=1&&oe>=0&&z[D]!==xe[oe];)oe--;for(;D>=1&&oe>=0;D--,oe--)if(z[D]!==xe[oe]){if(D!==1||oe!==1)do if(D--,oe--,oe<0||z[D]!==xe[oe]){var Ee=`
|
|
21
|
+
`+z[D].replace(" at new "," at ");return c.displayName&&Ee.includes("<anonymous>")&&(Ee=Ee.replace("<anonymous>",c.displayName)),typeof c=="function"&&H.set(c,Ee),Ee}while(D>=1&&oe>=0);break}}}finally{K=!1,Ne.current=ne,Le(),Error.prepareStackTrace=$}var Ze=c?c.displayName||c.name:"",lt=Ze?S(Ze):"";return typeof c=="function"&&H.set(c,lt),lt}function We(c,y,C){return Ie(c,!1)}function Ct(c){var y=c.prototype;return!!(y&&y.isReactComponent)}function he(c,y,C){if(c==null)return"";if(typeof c=="function")return Ie(c,Ct(c));if(typeof c=="string")return S(c);switch(c){case d:return S("Suspense");case f:return S("SuspenseList")}if(typeof c=="object")switch(c.$$typeof){case u:return We(c.render);case A:return he(c.type,y,C);case v:{var W=c,$=W._payload,ne=W._init;try{return he(ne($),y,C)}catch{}}}return""}var Pe=Object.prototype.hasOwnProperty,Qe={},qe=x.ReactDebugCurrentFrame;function ae(c){if(c){var y=c._owner,C=he(c.type,c._source,y?y.type:null);qe.setExtraStackFrame(C)}else qe.setExtraStackFrame(null)}function St(c,y,C,W,$){{var ne=Function.call.bind(Pe);for(var Y in c)if(ne(c,Y)){var z=void 0;try{if(typeof c[Y]!="function"){var xe=Error((W||"React class")+": "+C+" type `"+Y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof c[Y]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw xe.name="Invariant Violation",xe}z=c[Y](y,Y,W,C,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(D){z=D}z&&!(z instanceof Error)&&(ae($),I("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",W||"React class",C,Y,typeof z),ae(null)),z instanceof Error&&!(z.message in Qe)&&(Qe[z.message]=!0,ae($),I("Failed %s type: %s",C,z.message),ae(null))}}}var Et=Array.isArray;function et(c){return Et(c)}function jt(c){{var y=typeof Symbol=="function"&&Symbol.toStringTag,C=y&&c[Symbol.toStringTag]||c.constructor.name||"Object";return C}}function zt(c){try{return tt(c),!1}catch{return!0}}function tt(c){return""+c}function ze(c){if(zt(c))return I("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",jt(c)),tt(c)}var ft=x.ReactCurrentOwner,rt={key:!0,ref:!0,__self:!0,__source:!0},nt,At;function pt(c){if(Pe.call(c,"ref")){var y=Object.getOwnPropertyDescriptor(c,"ref").get;if(y&&y.isReactWarning)return!1}return c.ref!==void 0}function Rt(c){if(Pe.call(c,"key")){var y=Object.getOwnPropertyDescriptor(c,"key").get;if(y&&y.isReactWarning)return!1}return c.key!==void 0}function Be(c,y){typeof c.ref=="string"&&ft.current}function Ae(c,y){{var C=function(){nt||(nt=!0,I("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",y))};C.isReactWarning=!0,Object.defineProperty(c,"key",{get:C,configurable:!0})}}function Ht(c,y){{var C=function(){At||(At=!0,I("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",y))};C.isReactWarning=!0,Object.defineProperty(c,"ref",{get:C,configurable:!0})}}var _t=function(c,y,C,W,$,ne,Y){var z={$$typeof:t,type:c,key:y,ref:C,props:Y,_owner:ne};return z._store={},Object.defineProperty(z._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(z,"_self",{configurable:!1,enumerable:!1,writable:!1,value:W}),Object.defineProperty(z,"_source",{configurable:!1,enumerable:!1,writable:!1,value:$}),Object.freeze&&(Object.freeze(z.props),Object.freeze(z)),z};function mt(c,y,C,W,$){{var ne,Y={},z=null,xe=null;C!==void 0&&(ze(C),z=""+C),Rt(y)&&(ze(y.key),z=""+y.key),pt(y)&&(xe=y.ref,Be(y,$));for(ne in y)Pe.call(y,ne)&&!rt.hasOwnProperty(ne)&&(Y[ne]=y[ne]);if(c&&c.defaultProps){var D=c.defaultProps;for(ne in D)Y[ne]===void 0&&(Y[ne]=D[ne])}if(z||xe){var oe=typeof c=="function"?c.displayName||c.name||"Unknown":c;z&&Ae(Y,oe),xe&&Ht(Y,oe)}return _t(c,z,xe,$,W,ft.current,Y)}}var ot=x.ReactCurrentOwner,st=x.ReactDebugCurrentFrame;function Te(c){if(c){var y=c._owner,C=he(c.type,c._source,y?y.type:null);st.setExtraStackFrame(C)}else st.setExtraStackFrame(null)}var $e;$e=!1;function it(c){return typeof c=="object"&&c!==null&&c.$$typeof===t}function Ot(){{if(ot.current){var c=ie(ot.current.type);if(c)return`
|
|
22
22
|
|
|
23
|
-
Check the render method of \``+
|
|
23
|
+
Check the render method of \``+c+"`."}return""}}function ge(c){return""}var je={};function P(c){{var y=Ot();if(!y){var C=typeof c=="string"?c:c.displayName||c.name;C&&(y=`
|
|
24
24
|
|
|
25
|
-
Check the top-level render call using <`+C+">.")}return
|
|
25
|
+
Check the top-level render call using <`+C+">.")}return y}}function J(c,y){{if(!c._store||c._store.validated||c.key!=null)return;c._store.validated=!0;var C=P(y);if(je[C])return;je[C]=!0;var W="";c&&c._owner&&c._owner!==ot.current&&(W=" It was passed a child from "+ie(c._owner.type)+"."),Te(c),I('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',C,W),Te(null)}}function Se(c,y){{if(typeof c!="object")return;if(et(c))for(var C=0;C<c.length;C++){var W=c[C];it(W)&&J(W,y)}else if(it(c))c._store&&(c._store.validated=!0);else if(c){var $=m(c);if(typeof $=="function"&&$!==c.entries)for(var ne=$.call(c),Y;!(Y=ne.next()).done;)it(Y.value)&&J(Y.value,y)}}}function at(c){{var y=c.type;if(y==null||typeof y=="string")return;var C;if(typeof y=="function")C=y.propTypes;else if(typeof y=="object"&&(y.$$typeof===u||y.$$typeof===A))C=y.propTypes;else return;if(C){var W=ie(y);St(C,c.props,"prop",W,c)}else if(y.PropTypes!==void 0&&!$e){$e=!0;var $=ie(y);I("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",$||"Unknown")}typeof y.getDefaultProps=="function"&&!y.getDefaultProps.isReactClassApproved&&I("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function _(c){{for(var y=Object.keys(c.props),C=0;C<y.length;C++){var W=y[C];if(W!=="children"&&W!=="key"){Te(c),I("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",W),Te(null);break}}c.ref!==null&&(Te(c),I("Invalid attribute `ref` supplied to `React.Fragment`."),Te(null))}}var M={};function Z(c,y,C,W,$,ne){{var Y=fe(c);if(!Y){var z="";(c===void 0||typeof c=="object"&&c!==null&&Object.keys(c).length===0)&&(z+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var xe=ge();xe?z+=xe:z+=Ot();var D;c===null?D="null":et(c)?D="array":c!==void 0&&c.$$typeof===t?(D="<"+(ie(c.type)||"Unknown")+" />",z=" Did you accidentally export a JSX literal instead of a component?"):D=typeof c,I("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",D,z)}var oe=mt(c,y,C,$,ne);if(oe==null)return oe;if(Y){var Ee=y.children;if(Ee!==void 0)if(W)if(et(Ee)){for(var Ze=0;Ze<Ee.length;Ze++)Se(Ee[Ze],c);Object.freeze&&Object.freeze(Ee)}else I("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Se(Ee,c)}if(Pe.call(y,"key")){var lt=ie(c),ye=Object.keys(y).filter(function(Cl){return Cl!=="key"}),pn=ye.length>0?"{key: someKey, "+ye.join(": ..., ")+": ...}":"{key: someKey}";if(!M[lt+pn]){var Il=ye.length>0?"{"+ye.join(": ..., ")+": ...}":"{}";I(`A props object containing a "key" prop is being spread into JSX:
|
|
26
26
|
let props = %s;
|
|
27
27
|
<%s {...props} />
|
|
28
28
|
React keys must be passed directly to JSX without using spread:
|
|
29
29
|
let props = %s;
|
|
30
|
-
<%s key={someKey} {...props} />`,pn,lt,Rl,lt),M[lt+pn]=!0}}return u===r?_(re):at(re),re}}function pe(u,x,C){return D(u,x,C,!0)}function ve(u,x,C){return D(u,x,C,!1)}var We=ve,Pe=pe;zt.Fragment=r,zt.jsx=We,zt.jsxs=Pe}()),zt}var gn;function Ko(){return gn||(gn=1,process.env.NODE_ENV==="production"?or.exports=qo():or.exports=$o()),or.exports}var l=Ko();function wn(e,t){return function(){return e.apply(t,arguments)}}const{toString:es}=Object.prototype,{getPrototypeOf:jr}=Object,sr=(e=>t=>{const n=es.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ze=e=>(e=e.toLowerCase(),t=>sr(t)===e),ir=e=>t=>typeof t===e,{isArray:Ot}=Array,Jt=ir("undefined");function ts(e){return e!==null&&!Jt(e)&&e.constructor!==null&&!Jt(e.constructor)&&_e(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const bn=Ze("ArrayBuffer");function rs(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&bn(e.buffer),t}const ns=ir("string"),_e=ir("function"),vn=ir("number"),ar=e=>e!==null&&typeof e=="object",os=e=>e===!0||e===!1,lr=e=>{if(sr(e)!=="object")return!1;const t=jr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},ss=Ze("Date"),is=Ze("File"),as=Ze("Blob"),ls=Ze("FileList"),cs=e=>ar(e)&&_e(e.pipe),us=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||_e(e.append)&&((t=sr(e))==="formdata"||t==="object"&&_e(e.toString)&&e.toString()==="[object FormData]"))},ds=Ze("URLSearchParams"),[fs,As,ps,ms]=["ReadableStream","Request","Response","Headers"].map(Ze),hs=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Yt(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),Ot(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),i=s.length;let a;for(r=0;r<i;r++)a=s[r],t.call(null,e[a],a,e)}}function xn(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const gt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,yn=e=>!Jt(e)&&e!==gt;function Rr(){const{caseless:e}=yn(this)&&this||{},t={},n=(r,o)=>{const s=e&&xn(t,o)||o;lr(t[s])&&lr(r)?t[s]=Rr(t[s],r):lr(r)?t[s]=Rr({},r):Ot(r)?t[s]=r.slice():t[s]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&Yt(arguments[r],n);return t}const gs=(e,t,n,{allOwnKeys:r}={})=>(Yt(t,(o,s)=>{n&&_e(o)?e[s]=wn(o,n):e[s]=o},{allOwnKeys:r}),e),ws=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),bs=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},vs=(e,t,n,r)=>{let o,s,i;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)i=o[s],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&jr(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},xs=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},ys=e=>{if(!e)return null;if(Ot(e))return e;let t=e.length;if(!vn(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},ks=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&jr(Uint8Array)),Is=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const s=o.value;t.call(e,s[0],s[1])}},Cs=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Ss=Ze("HTMLFormElement"),Es=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),kn=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),js=Ze("RegExp"),In=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Yt(n,(o,s)=>{let i;(i=t(o,s,e))!==!1&&(r[s]=i||o)}),Object.defineProperties(e,r)},Rs=e=>{In(e,(t,n)=>{if(_e(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(_e(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},_s=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return Ot(e)?r(e):r(String(e).split(t)),n},Os=()=>{},Ls=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,_r="abcdefghijklmnopqrstuvwxyz",Cn="0123456789",Sn={DIGIT:Cn,ALPHA:_r,ALPHA_DIGIT:_r+_r.toUpperCase()+Cn},Bs=(e=16,t=Sn.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Ns(e){return!!(e&&_e(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Ts=e=>{const t=new Array(10),n=(r,o)=>{if(ar(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const s=Ot(r)?[]:{};return Yt(r,(i,a)=>{const c=n(i,o+1);!Jt(c)&&(s[a]=c)}),t[o]=void 0,s}}return r};return n(e,0)},Fs=Ze("AsyncFunction"),Ws=e=>e&&(ar(e)||_e(e))&&_e(e.then)&&_e(e.catch),En=((e,t)=>e?setImmediate:t?((n,r)=>(gt.addEventListener("message",({source:o,data:s})=>{o===gt&&s===n&&r.length&&r.shift()()},!1),o=>{r.push(o),gt.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",_e(gt.postMessage)),Ps=typeof queueMicrotask<"u"?queueMicrotask.bind(gt):typeof process<"u"&&process.nextTick||En,m={isArray:Ot,isArrayBuffer:bn,isBuffer:ts,isFormData:us,isArrayBufferView:rs,isString:ns,isNumber:vn,isBoolean:os,isObject:ar,isPlainObject:lr,isReadableStream:fs,isRequest:As,isResponse:ps,isHeaders:ms,isUndefined:Jt,isDate:ss,isFile:is,isBlob:as,isRegExp:js,isFunction:_e,isStream:cs,isURLSearchParams:ds,isTypedArray:ks,isFileList:ls,forEach:Yt,merge:Rr,extend:gs,trim:hs,stripBOM:ws,inherits:bs,toFlatObject:vs,kindOf:sr,kindOfTest:Ze,endsWith:xs,toArray:ys,forEachEntry:Is,matchAll:Cs,isHTMLForm:Ss,hasOwnProperty:kn,hasOwnProp:kn,reduceDescriptors:In,freezeMethods:Rs,toObjectSet:_s,toCamelCase:Es,noop:Os,toFiniteNumber:Ls,findKey:xn,global:gt,isContextDefined:yn,ALPHABET:Sn,generateString:Bs,isSpecCompliantForm:Ns,toJSONObject:Ts,isAsyncFn:Fs,isThenable:Ws,setImmediate:En,asap:Ps};function V(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}m.inherits(V,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:m.toJSONObject(this.config),code:this.code,status:this.status}}});const jn=V.prototype,Rn={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Rn[e]={value:e}}),Object.defineProperties(V,Rn),Object.defineProperty(jn,"isAxiosError",{value:!0}),V.from=(e,t,n,r,o,s)=>{const i=Object.create(jn);return m.toFlatObject(e,i,function(c){return c!==Error.prototype},a=>a!=="isAxiosError"),V.call(i,e.message,t,n,r,o),i.cause=e,i.name=e.name,s&&Object.assign(i,s),i};const Ms=null;function Or(e){return m.isPlainObject(e)||m.isArray(e)}function _n(e){return m.endsWith(e,"[]")?e.slice(0,-2):e}function On(e,t,n){return e?e.concat(t).map(function(o,s){return o=_n(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function Zs(e){return m.isArray(e)&&!e.some(Or)}const Ds=m.toFlatObject(m,{},null,function(t){return/^is[A-Z]/.test(t)});function cr(e,t,n){if(!m.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=m.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,g){return!m.isUndefined(g[w])});const r=n.metaTokens,o=n.visitor||f,s=n.dots,i=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&m.isSpecCompliantForm(t);if(!m.isFunction(o))throw new TypeError("visitor must be a function");function d(p){if(p===null)return"";if(m.isDate(p))return p.toISOString();if(!c&&m.isBlob(p))throw new V("Blob is not supported. Use a Buffer instead.");return m.isArrayBuffer(p)||m.isTypedArray(p)?c&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function f(p,w,g){let y=p;if(p&&!g&&typeof p=="object"){if(m.endsWith(w,"{}"))w=r?w:w.slice(0,-2),p=JSON.stringify(p);else if(m.isArray(p)&&Zs(p)||(m.isFileList(p)||m.endsWith(w,"[]"))&&(y=m.toArray(p)))return w=_n(w),y.forEach(function(S,L){!(m.isUndefined(S)||S===null)&&t.append(i===!0?On([w],L,s):i===null?w:w+"[]",d(S))}),!1}return Or(p)?!0:(t.append(On(g,w,s),d(p)),!1)}const A=[],v=Object.assign(Ds,{defaultVisitor:f,convertValue:d,isVisitable:Or});function b(p,w){if(!m.isUndefined(p)){if(A.indexOf(p)!==-1)throw Error("Circular reference detected in "+w.join("."));A.push(p),m.forEach(p,function(y,I){(!(m.isUndefined(y)||y===null)&&o.call(t,y,m.isString(I)?I.trim():I,w,v))===!0&&b(y,w?w.concat(I):[I])}),A.pop()}}if(!m.isObject(e))throw new TypeError("data must be an object");return b(e),t}function Ln(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Lr(e,t){this._pairs=[],e&&cr(e,this,t)}const Bn=Lr.prototype;Bn.append=function(t,n){this._pairs.push([t,n])},Bn.toString=function(t){const n=t?function(r){return t.call(this,r,Ln)}:Ln;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Gs(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Nn(e,t,n){if(!t)return e;const r=n&&n.encode||Gs;m.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let s;if(o?s=o(t,n):s=m.isURLSearchParams(t)?t.toString():new Lr(t,n).toString(r),s){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class Tn{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){m.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Fn={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Vs={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Lr,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Br=typeof window<"u"&&typeof document<"u",Nr=typeof navigator=="object"&&navigator||void 0,Hs=Br&&(!Nr||["ReactNative","NativeScript","NS"].indexOf(Nr.product)<0),Us=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",zs=Br&&window.location.href||"http://localhost",Ie={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Br,hasStandardBrowserEnv:Hs,hasStandardBrowserWebWorkerEnv:Us,navigator:Nr,origin:zs},Symbol.toStringTag,{value:"Module"})),...Vs};function Js(e,t){return cr(e,new Ie.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,s){return Ie.isNode&&m.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function Ys(e){return m.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Xs(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r<o;r++)s=n[r],t[s]=e[s];return t}function Wn(e){function t(n,r,o,s){let i=n[s++];if(i==="__proto__")return!0;const a=Number.isFinite(+i),c=s>=n.length;return i=!i&&m.isArray(o)?o.length:i,c?(m.hasOwnProp(o,i)?o[i]=[o[i],r]:o[i]=r,!a):((!o[i]||!m.isObject(o[i]))&&(o[i]=[]),t(n,r,o[i],s)&&m.isArray(o[i])&&(o[i]=Xs(o[i])),!a)}if(m.isFormData(e)&&m.isFunction(e.entries)){const n={};return m.forEachEntry(e,(r,o)=>{t(Ys(r),o,n,0)}),n}return null}function Qs(e,t,n){if(m.isString(e))try{return(t||JSON.parse)(e),m.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const Xt={transitional:Fn,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,s=m.isObject(t);if(s&&m.isHTMLForm(t)&&(t=new FormData(t)),m.isFormData(t))return o?JSON.stringify(Wn(t)):t;if(m.isArrayBuffer(t)||m.isBuffer(t)||m.isStream(t)||m.isFile(t)||m.isBlob(t)||m.isReadableStream(t))return t;if(m.isArrayBufferView(t))return t.buffer;if(m.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Js(t,this.formSerializer).toString();if((a=m.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return cr(a?{"files[]":t}:t,c&&new c,this.formSerializer)}}return s||o?(n.setContentType("application/json",!1),Qs(t)):t}],transformResponse:[function(t){const n=this.transitional||Xt.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(m.isResponse(t)||m.isReadableStream(t))return t;if(t&&m.isString(t)&&(r&&!this.responseType||o)){const i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(a){if(i)throw a.name==="SyntaxError"?V.from(a,V.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ie.classes.FormData,Blob:Ie.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};m.forEach(["delete","get","head","post","put","patch"],e=>{Xt.headers[e]={}});const qs=m.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),$s=e=>{const t={};let n,r,o;return e&&e.split(`
|
|
31
|
-
`).forEach(function(
|
|
32
|
-
`)}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(o=>r.set(o)),r}static accessor(t){const r=(this[Pn]=this[Pn]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=Qt(i);r[a]||(ri(o,i),r[a]=!0)}return m.isArray(t)?t.forEach(s):s(t),this}}je.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),m.reduceDescriptors(je.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),m.freezeMethods(je);function Fr(e,t){const n=this||Xt,r=t||n,o=je.from(r.headers);let s=r.data;return m.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function Mn(e){return!!(e&&e.__CANCEL__)}function Lt(e,t,n){V.call(this,e??"canceled",V.ERR_CANCELED,t,n),this.name="CanceledError"}m.inherits(Lt,V,{__CANCEL__:!0});function Zn(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new V("Request failed with status code "+n.status,[V.ERR_BAD_REQUEST,V.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function ni(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function oi(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,i;return t=t!==void 0?t:1e3,function(c){const d=Date.now(),f=r[s];i||(i=d),n[o]=c,r[o]=d;let A=s,v=0;for(;A!==o;)v+=n[A++],A=A%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),d-i<t)return;const b=f&&d-f;return b?Math.round(v*1e3/b):void 0}}function si(e,t){let n=0,r=1e3/t,o,s;const i=(d,f=Date.now())=>{n=f,o=null,s&&(clearTimeout(s),s=null),e.apply(null,d)};return[(...d)=>{const f=Date.now(),A=f-n;A>=r?i(d,f):(o=d,s||(s=setTimeout(()=>{s=null,i(o)},r-A)))},()=>o&&i(o)]}const dr=(e,t,n=3)=>{let r=0;const o=oi(50,250);return si(s=>{const i=s.loaded,a=s.lengthComputable?s.total:void 0,c=i-r,d=o(c),f=i<=a;r=i;const A={loaded:i,total:a,progress:a?i/a:void 0,bytes:c,rate:d||void 0,estimated:d&&a&&f?(a-i)/d:void 0,event:s,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(A)},n)},Dn=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Gn=e=>(...t)=>m.asap(()=>e(...t)),ii=Ie.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Ie.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Ie.origin),Ie.navigator&&/(msie|trident)/i.test(Ie.navigator.userAgent)):()=>!0,ai=Ie.hasStandardBrowserEnv?{write(e,t,n,r,o,s){const i=[e+"="+encodeURIComponent(t)];m.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),m.isString(r)&&i.push("path="+r),m.isString(o)&&i.push("domain="+o),s===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function li(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ci(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Vn(e,t){return e&&!li(t)?ci(e,t):t}const Hn=e=>e instanceof je?{...e}:e;function wt(e,t){t=t||{};const n={};function r(d,f,A,v){return m.isPlainObject(d)&&m.isPlainObject(f)?m.merge.call({caseless:v},d,f):m.isPlainObject(f)?m.merge({},f):m.isArray(f)?f.slice():f}function o(d,f,A,v){if(m.isUndefined(f)){if(!m.isUndefined(d))return r(void 0,d,A,v)}else return r(d,f,A,v)}function s(d,f){if(!m.isUndefined(f))return r(void 0,f)}function i(d,f){if(m.isUndefined(f)){if(!m.isUndefined(d))return r(void 0,d)}else return r(void 0,f)}function a(d,f,A){if(A in t)return r(d,f);if(A in e)return r(void 0,d)}const c={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(d,f,A)=>o(Hn(d),Hn(f),A,!0)};return m.forEach(Object.keys(Object.assign({},e,t)),function(f){const A=c[f]||o,v=A(e[f],t[f],f);m.isUndefined(v)&&A!==a||(n[f]=v)}),n}const Un=e=>{const t=wt({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:s,headers:i,auth:a}=t;t.headers=i=je.from(i),t.url=Nn(Vn(t.baseURL,t.url),e.params,e.paramsSerializer),a&&i.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let c;if(m.isFormData(n)){if(Ie.hasStandardBrowserEnv||Ie.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((c=i.getContentType())!==!1){const[d,...f]=c?c.split(";").map(A=>A.trim()).filter(Boolean):[];i.setContentType([d||"multipart/form-data",...f].join("; "))}}if(Ie.hasStandardBrowserEnv&&(r&&m.isFunction(r)&&(r=r(t)),r||r!==!1&&ii(t.url))){const d=o&&s&&ai.read(s);d&&i.set(o,d)}return t},ui=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){const o=Un(e);let s=o.data;const i=je.from(o.headers).normalize();let{responseType:a,onUploadProgress:c,onDownloadProgress:d}=o,f,A,v,b,p;function w(){b&&b(),p&&p(),o.cancelToken&&o.cancelToken.unsubscribe(f),o.signal&&o.signal.removeEventListener("abort",f)}let g=new XMLHttpRequest;g.open(o.method.toUpperCase(),o.url,!0),g.timeout=o.timeout;function y(){if(!g)return;const S=je.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),R={data:!a||a==="text"||a==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:S,config:e,request:g};Zn(function(E){n(E),w()},function(E){r(E),w()},R),g=null}"onloadend"in g?g.onloadend=y:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(y)},g.onabort=function(){g&&(r(new V("Request aborted",V.ECONNABORTED,e,g)),g=null)},g.onerror=function(){r(new V("Network Error",V.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let L=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const R=o.transitional||Fn;o.timeoutErrorMessage&&(L=o.timeoutErrorMessage),r(new V(L,R.clarifyTimeoutError?V.ETIMEDOUT:V.ECONNABORTED,e,g)),g=null},s===void 0&&i.setContentType(null),"setRequestHeader"in g&&m.forEach(i.toJSON(),function(L,R){g.setRequestHeader(R,L)}),m.isUndefined(o.withCredentials)||(g.withCredentials=!!o.withCredentials),a&&a!=="json"&&(g.responseType=o.responseType),d&&([v,p]=dr(d,!0),g.addEventListener("progress",v)),c&&g.upload&&([A,b]=dr(c),g.upload.addEventListener("progress",A),g.upload.addEventListener("loadend",b)),(o.cancelToken||o.signal)&&(f=S=>{g&&(r(!S||S.type?new Lt(null,e,g):S),g.abort(),g=null)},o.cancelToken&&o.cancelToken.subscribe(f),o.signal&&(o.signal.aborted?f():o.signal.addEventListener("abort",f)));const I=ni(o.url);if(I&&Ie.protocols.indexOf(I)===-1){r(new V("Unsupported protocol "+I+":",V.ERR_BAD_REQUEST,e));return}g.send(s||null)})},di=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const s=function(d){if(!o){o=!0,a();const f=d instanceof Error?d:this.reason;r.abort(f instanceof V?f:new Lt(f instanceof Error?f.message:f))}};let i=t&&setTimeout(()=>{i=null,s(new V(`timeout ${t} of ms exceeded`,V.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(d=>{d.unsubscribe?d.unsubscribe(s):d.removeEventListener("abort",s)}),e=null)};e.forEach(d=>d.addEventListener("abort",s));const{signal:c}=r;return c.unsubscribe=()=>m.asap(a),c}},fi=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,o;for(;r<n;)o=r+t,yield e.slice(r,o),r=o},Ai=async function*(e,t){for await(const n of pi(e))yield*fi(n,t)},pi=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},zn=(e,t,n,r)=>{const o=Ai(e,t);let s=0,i,a=c=>{i||(i=!0,r&&r(c))};return new ReadableStream({async pull(c){try{const{done:d,value:f}=await o.next();if(d){a(),c.close();return}let A=f.byteLength;if(n){let v=s+=A;n(v)}c.enqueue(new Uint8Array(f))}catch(d){throw a(d),d}},cancel(c){return a(c),o.return()}},{highWaterMark:2})},fr=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Jn=fr&&typeof ReadableStream=="function",mi=fr&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Yn=(e,...t)=>{try{return!!e(...t)}catch{return!1}},hi=Jn&&Yn(()=>{let e=!1;const t=new Request(Ie.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Xn=64*1024,Wr=Jn&&Yn(()=>m.isReadableStream(new Response("").body)),Ar={stream:Wr&&(e=>e.body)};fr&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Ar[t]&&(Ar[t]=m.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new V(`Response type '${t}' is not supported`,V.ERR_NOT_SUPPORT,r)})})})(new Response);const gi=async e=>{if(e==null)return 0;if(m.isBlob(e))return e.size;if(m.isSpecCompliantForm(e))return(await new Request(Ie.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(m.isArrayBufferView(e)||m.isArrayBuffer(e))return e.byteLength;if(m.isURLSearchParams(e)&&(e=e+""),m.isString(e))return(await mi(e)).byteLength},wi=async(e,t)=>{const n=m.toFiniteNumber(e.getContentLength());return n??gi(t)},Pr={http:Ms,xhr:ui,fetch:fr&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:s,timeout:i,onDownloadProgress:a,onUploadProgress:c,responseType:d,headers:f,withCredentials:A="same-origin",fetchOptions:v}=Un(e);d=d?(d+"").toLowerCase():"text";let b=di([o,s&&s.toAbortSignal()],i),p;const w=b&&b.unsubscribe&&(()=>{b.unsubscribe()});let g;try{if(c&&hi&&n!=="get"&&n!=="head"&&(g=await wi(f,r))!==0){let R=new Request(t,{method:"POST",body:r,duplex:"half"}),F;if(m.isFormData(r)&&(F=R.headers.get("content-type"))&&f.setContentType(F),R.body){const[E,k]=Dn(g,dr(Gn(c)));r=zn(R.body,Xn,E,k)}}m.isString(A)||(A=A?"include":"omit");const y="credentials"in Request.prototype;p=new Request(t,{...v,signal:b,method:n.toUpperCase(),headers:f.normalize().toJSON(),body:r,duplex:"half",credentials:y?A:void 0});let I=await fetch(p);const S=Wr&&(d==="stream"||d==="response");if(Wr&&(a||S&&w)){const R={};["status","statusText","headers"].forEach(T=>{R[T]=I[T]});const F=m.toFiniteNumber(I.headers.get("content-length")),[E,k]=a&&Dn(F,dr(Gn(a),!0))||[];I=new Response(zn(I.body,Xn,E,()=>{k&&k(),w&&w()}),R)}d=d||"text";let L=await Ar[m.findKey(Ar,d)||"text"](I,e);return!S&&w&&w(),await new Promise((R,F)=>{Zn(R,F,{data:L,headers:je.from(I.headers),status:I.status,statusText:I.statusText,config:e,request:p})})}catch(y){throw w&&w(),y&&y.name==="TypeError"&&/fetch/i.test(y.message)?Object.assign(new V("Network Error",V.ERR_NETWORK,e,p),{cause:y.cause||y}):V.from(y,y&&y.code,e,p)}})};m.forEach(Pr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Qn=e=>`- ${e}`,bi=e=>m.isFunction(e)||e===null||e===!1,qn={getAdapter:e=>{e=m.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let s=0;s<t;s++){n=e[s];let i;if(r=n,!bi(n)&&(r=Pr[(i=String(n)).toLowerCase()],r===void 0))throw new V(`Unknown adapter '${i}'`);if(r)break;o[i||"#"+s]=r}if(!r){const s=Object.entries(o).map(([a,c])=>`adapter ${a} `+(c===!1?"is not supported by the environment":"is not available in the build"));let i=t?s.length>1?`since :
|
|
33
|
-
`+
|
|
34
|
-
`):" "+Qn(
|
|
35
|
-
`+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=wt(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&mr.assertOptions(r,{silentJSONParsing:He.transitional(He.boolean),forcedJSONParsing:He.transitional(He.boolean),clarifyTimeoutError:He.transitional(He.boolean)},!1),o!=null&&(m.isFunction(o)?n.paramsSerializer={serialize:o}:mr.assertOptions(o,{encode:He.function,serialize:He.function},!0)),mr.assertOptions(n,{baseUrl:He.spelling("baseURL"),withXsrfToken:He.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&m.merge(s.common,s[n.method]);s&&m.forEach(["delete","get","head","post","put","patch","common"],p=>{delete s[p]}),n.headers=je.concat(i,s);const a=[];let c=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(n)===!1||(c=c&&w.synchronous,a.unshift(w.fulfilled,w.rejected))});const d=[];this.interceptors.response.forEach(function(w){d.push(w.fulfilled,w.rejected)});let f,A=0,v;if(!c){const p=[$n.bind(this),void 0];for(p.unshift.apply(p,a),p.push.apply(p,d),v=p.length,f=Promise.resolve(n);A<v;)f=f.then(p[A++],p[A++]);return f}v=a.length;let b=n;for(A=0;A<v;){const p=a[A++],w=a[A++];try{b=p(b)}catch(g){w.call(this,g);break}}try{f=$n.call(this,b)}catch(p){return Promise.reject(p)}for(A=0,v=d.length;A<v;)f=f.then(d[A++],d[A++]);return f}getUri(t){t=wt(this.defaults,t);const n=Vn(t.baseURL,t.url);return Nn(n,t.params,t.paramsSerializer)}}m.forEach(["delete","get","head","options"],function(t){bt.prototype[t]=function(n,r){return this.request(wt(r||{},{method:t,url:n,data:(r||{}).data}))}}),m.forEach(["post","put","patch"],function(t){function n(r){return function(s,i,a){return this.request(wt(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}bt.prototype[t]=n(),bt.prototype[t+"Form"]=n(!0)});class Zr{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const i=new Promise(a=>{r.subscribe(a),s=a}).then(o);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,a){r.reason||(r.reason=new Lt(s,i,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Zr(function(o){t=o}),cancel:t}}}function xi(e){return function(n){return e.apply(null,n)}}function yi(e){return m.isObject(e)&&e.isAxiosError===!0}const Dr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Dr).forEach(([e,t])=>{Dr[t]=e});function to(e){const t=new bt(e),n=wn(bt.prototype.request,t);return m.extend(n,bt.prototype,t,{allOwnKeys:!0}),m.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return to(wt(e,o))},n}const le=to(Xt);le.Axios=bt,le.CanceledError=Lt,le.CancelToken=Zr,le.isCancel=Mn,le.VERSION=Kn,le.toFormData=cr,le.AxiosError=V,le.Cancel=le.CanceledError,le.all=function(t){return Promise.all(t)},le.spread=xi,le.isAxiosError=yi,le.mergeConfig=wt,le.AxiosHeaders=je,le.formToJSON=e=>Wn(m.isHTMLForm(e)?new FormData(e):e),le.getAdapter=qn.getAdapter,le.HttpStatusCode=Dr,le.default=le;const Gr={data:[{id:"big_image",attributes:{ancestors:[],structure_family:"array",specs:[],metadata:{},structure:{data_type:{endianness:"little",kind:"f",itemsize:8,dt_units:null},chunks:[[4096,4096,1808],[4096,4096,1808]],shape:[1e4,1e4],dims:null,resizable:!1},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/big_image",full:"http://127.0.0.1:8000/api/v1/array/full/big_image",block:"http://127.0.0.1:8000/api/v1/array/block/big_image?block={0},{1}"},meta:null},{id:"small_image",attributes:{ancestors:[],structure_family:"array",specs:[],metadata:{},structure:{data_type:{endianness:"little",kind:"f",itemsize:8,dt_units:null},chunks:[[300],[300]],shape:[300,300],dims:null,resizable:!1},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/small_image",full:"http://127.0.0.1:8000/api/v1/array/full/small_image",block:"http://127.0.0.1:8000/api/v1/array/block/small_image?block={0},{1}"},meta:null},{id:"medium_image",attributes:{ancestors:[],structure_family:"array",specs:[],metadata:{},structure:{data_type:{endianness:"little",kind:"f",itemsize:8,dt_units:null},chunks:[[1e3],[1e3]],shape:[1e3,1e3],dims:null,resizable:!1},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/medium_image",full:"http://127.0.0.1:8000/api/v1/array/full/medium_image",block:"http://127.0.0.1:8000/api/v1/array/block/medium_image?block={0},{1}"},meta:null},{id:"sparse_image",attributes:{ancestors:[],structure_family:"sparse",specs:[],metadata:{},structure:{shape:[100,100],chunks:[[100],[100]],dims:null,resizable:!1,layout:"COO"},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/sparse_image",full:"http://127.0.0.1:8000/api/v1/array/full/sparse_image",block:"http://127.0.0.1:8000/api/v1/array/block/sparse_image?block={0},{1}"},meta:null},{id:"awkward_array",attributes:{ancestors:[],structure_family:"awkward",specs:[],metadata:{},structure:{length:3,form:{class:"ListOffsetArray",offsets:"i64",content:{class:"RecordArray",fields:["x","y"],contents:[{class:"NumpyArray",primitive:"float64",inner_shape:[],parameters:{},form_key:"node2"},{class:"ListOffsetArray",offsets:"i64",content:{class:"NumpyArray",primitive:"int64",inner_shape:[],parameters:{},form_key:"node4"},parameters:{},form_key:"node3"}],parameters:{},form_key:"node1"},parameters:{},form_key:"node0"}},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/awkward_array",buffers:"http://127.0.0.1:8000/api/v1/awkward/buffers/awkward_array",full:"http://127.0.0.1:8000/api/v1/awkward/full/awkward_array"},meta:null},{id:"tiny_image",attributes:{ancestors:[],structure_family:"array",specs:[],metadata:{},structure:{data_type:{endianness:"little",kind:"f",itemsize:8,dt_units:null},chunks:[[50],[50]],shape:[50,50],dims:null,resizable:!1},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/tiny_image",full:"http://127.0.0.1:8000/api/v1/array/full/tiny_image",block:"http://127.0.0.1:8000/api/v1/array/block/tiny_image?block={0},{1}"},meta:null},{id:"tiny_cube",attributes:{ancestors:[],structure_family:"array",specs:[],metadata:{},structure:{data_type:{endianness:"little",kind:"f",itemsize:8,dt_units:null},chunks:[[50],[50],[50]],shape:[50,50,50],dims:null,resizable:!1},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/tiny_cube",full:"http://127.0.0.1:8000/api/v1/array/full/tiny_cube",block:"http://127.0.0.1:8000/api/v1/array/block/tiny_cube?block={0},{1},{2}"},meta:null},{id:"tiny_hypercube",attributes:{ancestors:[],structure_family:"array",specs:[],metadata:{},structure:{data_type:{endianness:"little",kind:"f",itemsize:8,dt_units:null},chunks:[[27,23],[27,23],[27,23],[27,23],[27,23]],shape:[50,50,50,50,50],dims:null,resizable:!1},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/tiny_hypercube",full:"http://127.0.0.1:8000/api/v1/array/full/tiny_hypercube",block:"http://127.0.0.1:8000/api/v1/array/block/tiny_hypercube?block={0},{1},{2},{3},{4}"},meta:null},{id:"short_table",attributes:{ancestors:[],structure_family:"table",specs:[{name:"dataframe",version:null}],metadata:{animal:"dog",color:"red"},structure:{arrow_schema:"data:application/vnd.apache.arrow.file;base64,/////+gDAAAQAAAAAAAKAA4ABgAFAAgACgAAAAABBAAQAAAAAAAKAAwAAAAEAAgACgAAAOACAAAEAAAAAQAAAAwAAAAIAAwABAAIAAgAAAC4AgAABAAAAKkCAAB7ImluZGV4X2NvbHVtbnMiOiBbImluZGV4Il0sICJjb2x1bW5faW5kZXhlcyI6IFt7Im5hbWUiOiBudWxsLCAiZmllbGRfbmFtZSI6IG51bGwsICJwYW5kYXNfdHlwZSI6ICJ1bmljb2RlIiwgIm51bXB5X3R5cGUiOiAib2JqZWN0IiwgIm1ldGFkYXRhIjogeyJlbmNvZGluZyI6ICJVVEYtOCJ9fV0sICJjb2x1bW5zIjogW3sibmFtZSI6ICJBIiwgImZpZWxkX25hbWUiOiAiQSIsICJwYW5kYXNfdHlwZSI6ICJmbG9hdDY0IiwgIm51bXB5X3R5cGUiOiAiZmxvYXQ2NCIsICJtZXRhZGF0YSI6IG51bGx9LCB7Im5hbWUiOiAiQiIsICJmaWVsZF9uYW1lIjogIkIiLCAicGFuZGFzX3R5cGUiOiAiZmxvYXQ2NCIsICJudW1weV90eXBlIjogImZsb2F0NjQiLCAibWV0YWRhdGEiOiBudWxsfSwgeyJuYW1lIjogIkMiLCAiZmllbGRfbmFtZSI6ICJDIiwgInBhbmRhc190eXBlIjogImZsb2F0NjQiLCAibnVtcHlfdHlwZSI6ICJmbG9hdDY0IiwgIm1ldGFkYXRhIjogbnVsbH0sIHsibmFtZSI6ICJpbmRleCIsICJmaWVsZF9uYW1lIjogImluZGV4IiwgInBhbmRhc190eXBlIjogImludDY0IiwgIm51bXB5X3R5cGUiOiAiaW50NjQiLCAibWV0YWRhdGEiOiBudWxsfV0sICJjcmVhdG9yIjogeyJsaWJyYXJ5IjogInB5YXJyb3ciLCAidmVyc2lvbiI6ICIxOC4xLjAifSwgInBhbmRhc192ZXJzaW9uIjogIjIuMi4zIn0AAAAGAAAAcGFuZGFzAAAEAAAAqAAAAGwAAABAAAAABAAAAHj///8AAAECEAAAACAAAAAEAAAAAAAAAAUAAABpbmRleAAAAAgADAAIAAcACAAAAAAAAAFAAAAAsP///wAAAQMQAAAAFAAAAAQAAAAAAAAAAQAAAEMAAACi////AAACANj///8AAAEDEAAAABQAAAAEAAAAAAAAAAEAAABCAAAAyv///wAAAgAQABQACAAGAAcADAAAABAAEAAAAAAAAQMQAAAAGAAAAAQAAAAAAAAAAQAAAEEABgAIAAYABgAAAAAAAgAAAAAA",npartitions:1,columns:["A","B","C"],resizable:!1},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/short_table",full:"http://127.0.0.1:8000/api/v1/table/full/short_table",partition:"http://127.0.0.1:8000/api/v1/table/partition/short_table?partition={index}"},meta:null},{id:"long_table",attributes:{ancestors:[],structure_family:"table",specs:[{name:"dataframe",version:null}],metadata:{animal:"dog",color:"green"},structure:{arrow_schema:"data:application/vnd.apache.arrow.file;base64,/////+gDAAAQAAAAAAAKAA4ABgAFAAgACgAAAAABBAAQAAAAAAAKAAwAAAAEAAgACgAAAOACAAAEAAAAAQAAAAwAAAAIAAwABAAIAAgAAAC4AgAABAAAAKkCAAB7ImluZGV4X2NvbHVtbnMiOiBbImluZGV4Il0sICJjb2x1bW5faW5kZXhlcyI6IFt7Im5hbWUiOiBudWxsLCAiZmllbGRfbmFtZSI6IG51bGwsICJwYW5kYXNfdHlwZSI6ICJ1bmljb2RlIiwgIm51bXB5X3R5cGUiOiAib2JqZWN0IiwgIm1ldGFkYXRhIjogeyJlbmNvZGluZyI6ICJVVEYtOCJ9fV0sICJjb2x1bW5zIjogW3sibmFtZSI6ICJBIiwgImZpZWxkX25hbWUiOiAiQSIsICJwYW5kYXNfdHlwZSI6ICJmbG9hdDY0IiwgIm51bXB5X3R5cGUiOiAiZmxvYXQ2NCIsICJtZXRhZGF0YSI6IG51bGx9LCB7Im5hbWUiOiAiQiIsICJmaWVsZF9uYW1lIjogIkIiLCAicGFuZGFzX3R5cGUiOiAiZmxvYXQ2NCIsICJudW1weV90eXBlIjogImZsb2F0NjQiLCAibWV0YWRhdGEiOiBudWxsfSwgeyJuYW1lIjogIkMiLCAiZmllbGRfbmFtZSI6ICJDIiwgInBhbmRhc190eXBlIjogImZsb2F0NjQiLCAibnVtcHlfdHlwZSI6ICJmbG9hdDY0IiwgIm1ldGFkYXRhIjogbnVsbH0sIHsibmFtZSI6ICJpbmRleCIsICJmaWVsZF9uYW1lIjogImluZGV4IiwgInBhbmRhc190eXBlIjogImludDY0IiwgIm51bXB5X3R5cGUiOiAiaW50NjQiLCAibWV0YWRhdGEiOiBudWxsfV0sICJjcmVhdG9yIjogeyJsaWJyYXJ5IjogInB5YXJyb3ciLCAidmVyc2lvbiI6ICIxOC4xLjAifSwgInBhbmRhc192ZXJzaW9uIjogIjIuMi4zIn0AAAAGAAAAcGFuZGFzAAAEAAAAqAAAAGwAAABAAAAABAAAAHj///8AAAECEAAAACAAAAAEAAAAAAAAAAUAAABpbmRleAAAAAgADAAIAAcACAAAAAAAAAFAAAAAsP///wAAAQMQAAAAFAAAAAQAAAAAAAAAAQAAAEMAAACi////AAACANj///8AAAEDEAAAABQAAAAEAAAAAAAAAAEAAABCAAAAyv///wAAAgAQABQACAAGAAcADAAAABAAEAAAAAAAAQMQAAAAGAAAAAQAAAAAAAAAAQAAAEEABgAIAAYABgAAAAAAAgAAAAAA",npartitions:5,columns:["A","B","C"],resizable:!1},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/long_table",full:"http://127.0.0.1:8000/api/v1/table/full/long_table",partition:"http://127.0.0.1:8000/api/v1/table/partition/long_table?partition={index}"},meta:null},{id:"wide_table",attributes:{ancestors:[],structure_family:"table",specs:[{name:"dataframe",version:null}],metadata:{animal:"dog",color:"red"},structure:{arrow_schema:"data:application/vnd.apache.arrow.file;base64,/////xgRAAAQAAAAAAAKAA4ABgAFAAgACgAAAAABBAAQAAAAAAAKAAwAAAAEAAgACgAAACAMAAAEAAAAAQAAAAwAAAAIAAwABAAIAAgAAAD4CwAABAAAAOoLAAB7ImluZGV4X2NvbHVtbnMiOiBbImluZGV4Il0sICJjb2x1bW5faW5kZXhlcyI6IFt7Im5hbWUiOiBudWxsLCAiZmllbGRfbmFtZSI6IG51bGwsICJwYW5kYXNfdHlwZSI6ICJ1bmljb2RlIiwgIm51bXB5X3R5cGUiOiAib2JqZWN0IiwgIm1ldGFkYXRhIjogeyJlbmNvZGluZyI6ICJVVEYtOCJ9fV0sICJjb2x1bW5zIjogW3sibmFtZSI6ICJBIiwgImZpZWxkX25hbWUiOiAiQSIsICJwYW5kYXNfdHlwZSI6ICJmbG9hdDY0IiwgIm51bXB5X3R5cGUiOiAiZmxvYXQ2NCIsICJtZXRhZGF0YSI6IG51bGx9LCB7Im5hbWUiOiAiQiIsICJmaWVsZF9uYW1lIjogIkIiLCAicGFuZGFzX3R5cGUiOiAiZmxvYXQ2NCIsICJudW1weV90eXBlIjogImZsb2F0NjQiLCAibWV0YWRhdGEiOiBudWxsfSwgeyJuYW1lIjogIkMiLCAiZmllbGRfbmFtZSI6ICJDIiwgInBhbmRhc190eXBlIjogImZsb2F0NjQiLCAibnVtcHlfdHlwZSI6ICJmbG9hdDY0IiwgIm1ldGFkYXRhIjogbnVsbH0sIHsibmFtZSI6ICJEIiwgImZpZWxkX25hbWUiOiAiRCIsICJwYW5kYXNfdHlwZSI6ICJmbG9hdDY0IiwgIm51bXB5X3R5cGUiOiAiZmxvYXQ2NCIsICJtZXRhZGF0YSI6IG51bGx9LCB7Im5hbWUiOiAiRSIsICJmaWVsZF9uYW1lIjogIkUiLCAicGFuZGFzX3R5cGUiOiAiZmxvYXQ2NCIsICJudW1weV90eXBlIjogImZsb2F0NjQiLCAibWV0YWRhdGEiOiBudWxsfSwgeyJuYW1lIjogIkYiLCAiZmllbGRfbmFtZSI6ICJGIiwgInBhbmRhc190eXBlIjogImZsb2F0NjQiLCAibnVtcHlfdHlwZSI6ICJmbG9hdDY0IiwgIm1ldGFkYXRhIjogbnVsbH0sIHsibmFtZSI6ICJHIiwgImZpZWxkX25hbWUiOiAiRyIsICJwYW5kYXNfdHlwZSI6ICJmbG9hdDY0IiwgIm51bXB5X3R5cGUiOiAiZmxvYXQ2NCIsICJtZXRhZGF0YSI6IG51bGx9LCB7Im5hbWUiOiAiSCIsICJmaWVsZF9uYW1lIjogIkgiLCAicGFuZGFzX3R5cGUiOiAiZmxvYXQ2NCIsICJudW1weV90eXBlIjogImZsb2F0NjQiLCAibWV0YWRhdGEiOiBudWxsfSwgeyJuYW1lIjogIkkiLCAiZmllbGRfbmFtZSI6ICJJIiwgInBhbmRhc190eXBlIjogImZsb2F0NjQiLCAibnVtcHlfdHlwZSI6ICJmbG9hdDY0IiwgIm1ldGFkYXRhIjogbnVsbH0sIHsibmFtZSI6ICJKIiwgImZpZWxkX25hbWUiOiAiSiIsICJwYW5kYXNfdHlwZSI6ICJmbG9hdDY0IiwgIm51bXB5X3R5cGUiOiAiZmxvYXQ2NCIsICJtZXRhZGF0YSI6IG51bGx9LCB7Im5hbWUiOiAiSyIsICJmaWVsZF9uYW1lIjogIksiLCAicGFuZGFzX3R5cGUiOiAiZmxvYXQ2NCIsICJudW1weV90eXBlIjogImZsb2F0NjQiLCAibWV0YWRhdGEiOiBudWxsfSwgeyJuYW1lIjogIkwiLCAiZmllbGRfbmFtZSI6ICJMIiwgInBhbmRhc190eXBlIjogImZsb2F0NjQiLCAibnVtcHlfdHlwZSI6ICJmbG9hdDY0IiwgIm1ldGFkYXRhIjogbnVsbH0sIHsibmFtZSI6ICJNIiwgImZpZWxkX25hbWUiOiAiTSIsICJwYW5kYXNfdHlwZSI6ICJmbG9hdDY0IiwgIm51bXB5X3R5cGUiOiAiZmxvYXQ2NCIsICJtZXRhZGF0YSI6IG51bGx9LCB7Im5hbWUiOiAiTiIsICJmaWVsZF9uYW1lIjogIk4iLCAicGFuZGFzX3R5cGUiOiAiZmxvYXQ2NCIsICJudW1weV90eXBlIjogImZsb2F0NjQiLCAibWV0YWRhdGEiOiBudWxsfSwgeyJuYW1lIjogIk8iLCAiZmllbGRfbmFtZSI6ICJPIiwgInBhbmRhc190eXBlIjogImZsb2F0NjQiLCAibnVtcHlfdHlwZSI6ICJmbG9hdDY0IiwgIm1ldGFkYXRhIjogbnVsbH0sIHsibmFtZSI6ICJQIiwgImZpZWxkX25hbWUiOiAiUCIsICJwYW5kYXNfdHlwZSI6ICJmbG9hdDY0IiwgIm51bXB5X3R5cGUiOiAiZmxvYXQ2NCIsICJtZXRhZGF0YSI6IG51bGx9LCB7Im5hbWUiOiAiUSIsICJmaWVsZF9uYW1lIjogIlEiLCAicGFuZGFzX3R5cGUiOiAiZmxvYXQ2NCIsICJudW1weV90eXBlIjogImZsb2F0NjQiLCAibWV0YWRhdGEiOiBudWxsfSwgeyJuYW1lIjogIlIiLCAiZmllbGRfbmFtZSI6ICJSIiwgInBhbmRhc190eXBlIjogImZsb2F0NjQiLCAibnVtcHlfdHlwZSI6ICJmbG9hdDY0IiwgIm1ldGFkYXRhIjogbnVsbH0sIHsibmFtZSI6ICJTIiwgImZpZWxkX25hbWUiOiAiUyIsICJwYW5kYXNfdHlwZSI6ICJmbG9hdDY0IiwgIm51bXB5X3R5cGUiOiAiZmxvYXQ2NCIsICJtZXRhZGF0YSI6IG51bGx9LCB7Im5hbWUiOiAiVCIsICJmaWVsZF9uYW1lIjogIlQiLCAicGFuZGFzX3R5cGUiOiAiZmxvYXQ2NCIsICJudW1weV90eXBlIjogImZsb2F0NjQiLCAibWV0YWRhdGEiOiBudWxsfSwgeyJuYW1lIjogIlUiLCAiZmllbGRfbmFtZSI6ICJVIiwgInBhbmRhc190eXBlIjogImZsb2F0NjQiLCAibnVtcHlfdHlwZSI6ICJmbG9hdDY0IiwgIm1ldGFkYXRhIjogbnVsbH0sIHsibmFtZSI6ICJWIiwgImZpZWxkX25hbWUiOiAiViIsICJwYW5kYXNfdHlwZSI6ICJmbG9hdDY0IiwgIm51bXB5X3R5cGUiOiAiZmxvYXQ2NCIsICJtZXRhZGF0YSI6IG51bGx9LCB7Im5hbWUiOiAiVyIsICJmaWVsZF9uYW1lIjogIlciLCAicGFuZGFzX3R5cGUiOiAiZmxvYXQ2NCIsICJudW1weV90eXBlIjogImZsb2F0NjQiLCAibWV0YWRhdGEiOiBudWxsfSwgeyJuYW1lIjogIlgiLCAiZmllbGRfbmFtZSI6ICJYIiwgInBhbmRhc190eXBlIjogImZsb2F0NjQiLCAibnVtcHlfdHlwZSI6ICJmbG9hdDY0IiwgIm1ldGFkYXRhIjogbnVsbH0sIHsibmFtZSI6ICJZIiwgImZpZWxkX25hbWUiOiAiWSIsICJwYW5kYXNfdHlwZSI6ICJmbG9hdDY0IiwgIm51bXB5X3R5cGUiOiAiZmxvYXQ2NCIsICJtZXRhZGF0YSI6IG51bGx9LCB7Im5hbWUiOiAiWiIsICJmaWVsZF9uYW1lIjogIloiLCAicGFuZGFzX3R5cGUiOiAiZmxvYXQ2NCIsICJudW1weV90eXBlIjogImZsb2F0NjQiLCAibWV0YWRhdGEiOiBudWxsfSwgeyJuYW1lIjogImluZGV4IiwgImZpZWxkX25hbWUiOiAiaW5kZXgiLCAicGFuZGFzX3R5cGUiOiAiaW50NjQiLCAibnVtcHlfdHlwZSI6ICJpbnQ2NCIsICJtZXRhZGF0YSI6IG51bGx9XSwgImNyZWF0b3IiOiB7ImxpYnJhcnkiOiAicHlhcnJvdyIsICJ2ZXJzaW9uIjogIjE4LjEuMCJ9LCAicGFuZGFzX3ZlcnNpb24iOiAiMi4yLjMifQAABgAAAHBhbmRhcwAAGwAAAJwEAABgBAAANAQAAAgEAADcAwAAsAMAAIQDAABYAwAALAMAAAADAADUAgAAqAIAAHwCAABQAgAAJAIAAPgBAADMAQAAoAEAAHQBAABIAQAAHAEAAPAAAADEAAAAmAAAAGwAAABAAAAABAAAAOD7//8AAAECEAAAACAAAAAEAAAAAAAAAAUAAABpbmRleAAAAAgADAAIAAcACAAAAAAAAAFAAAAAGPz//wAAAQMQAAAAFAAAAAQAAAAAAAAAAQAAAFoAAAAK/P//AAACAED8//8AAAEDEAAAABQAAAAEAAAAAAAAAAEAAABZAAAAMvz//wAAAgBo/P//AAABAxAAAAAUAAAABAAAAAAAAAABAAAAWAAAAFr8//8AAAIAkPz//wAAAQMQAAAAFAAAAAQAAAAAAAAAAQAAAFcAAACC/P//AAACALj8//8AAAEDEAAAABQAAAAEAAAAAAAAAAEAAABWAAAAqvz//wAAAgDg/P//AAABAxAAAAAUAAAABAAAAAAAAAABAAAAVQAAANL8//8AAAIACP3//wAAAQMQAAAAFAAAAAQAAAAAAAAAAQAAAFQAAAD6/P//AAACADD9//8AAAEDEAAAABQAAAAEAAAAAAAAAAEAAABTAAAAIv3//wAAAgBY/f//AAABAxAAAAAUAAAABAAAAAAAAAABAAAAUgAAAEr9//8AAAIAgP3//wAAAQMQAAAAFAAAAAQAAAAAAAAAAQAAAFEAAABy/f//AAACAKj9//8AAAEDEAAAABQAAAAEAAAAAAAAAAEAAABQAAAAmv3//wAAAgDQ/f//AAABAxAAAAAUAAAABAAAAAAAAAABAAAATwAAAML9//8AAAIA+P3//wAAAQMQAAAAFAAAAAQAAAAAAAAAAQAAAE4AAADq/f//AAACACD+//8AAAEDEAAAABQAAAAEAAAAAAAAAAEAAABNAAAAEv7//wAAAgBI/v//AAABAxAAAAAUAAAABAAAAAAAAAABAAAATAAAADr+//8AAAIAcP7//wAAAQMQAAAAFAAAAAQAAAAAAAAAAQAAAEsAAABi/v//AAACAJj+//8AAAEDEAAAABQAAAAEAAAAAAAAAAEAAABKAAAAiv7//wAAAgDA/v//AAABAxAAAAAUAAAABAAAAAAAAAABAAAASQAAALL+//8AAAIA6P7//wAAAQMQAAAAFAAAAAQAAAAAAAAAAQAAAEgAAADa/v//AAACABD///8AAAEDEAAAABQAAAAEAAAAAAAAAAEAAABHAAAAAv///wAAAgA4////AAABAxAAAAAUAAAABAAAAAAAAAABAAAARgAAACr///8AAAIAYP///wAAAQMQAAAAFAAAAAQAAAAAAAAAAQAAAEUAAABS////AAACAIj///8AAAEDEAAAABQAAAAEAAAAAAAAAAEAAABEAAAAev///wAAAgCw////AAABAxAAAAAUAAAABAAAAAAAAAABAAAAQwAAAKL///8AAAIA2P///wAAAQMQAAAAFAAAAAQAAAAAAAAAAQAAAEIAAADK////AAACABAAFAAIAAYABwAMAAAAEAAQAAAAAAABAxAAAAAYAAAABAAAAAAAAAABAAAAQQAGAAgABgAGAAAAAAACAA==",npartitions:1,columns:["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],resizable:!1},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/wide_table",full:"http://127.0.0.1:8000/api/v1/table/full/wide_table",partition:"http://127.0.0.1:8000/api/v1/table/partition/wide_table?partition={index}"},meta:null},{id:"structured_data",attributes:{ancestors:[],structure_family:"container",specs:[],metadata:{animal:"cat",color:"green"},structure:{contents:null,count:2},sorting:[{key:"_",direction:1}],data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/structured_data",search:"http://127.0.0.1:8000/api/v1/search/structured_data",full:"http://127.0.0.1:8000/api/v1/container/full/structured_data"},meta:null},{id:"flat_array",attributes:{ancestors:[],structure_family:"array",specs:[],metadata:{},structure:{data_type:{endianness:"little",kind:"f",itemsize:8,dt_units:null},chunks:[[100]],shape:[100],dims:null,resizable:!1},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/flat_array",full:"http://127.0.0.1:8000/api/v1/array/full/flat_array",block:"http://127.0.0.1:8000/api/v1/array/block/flat_array?block={0}"},meta:null},{id:"low_entropy",attributes:{ancestors:[],structure_family:"array",specs:[],metadata:{},structure:{data_type:{endianness:"little",kind:"f",itemsize:8,dt_units:null},chunks:[[100],[100]],shape:[100,100],dims:null,resizable:!1},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/low_entropy",full:"http://127.0.0.1:8000/api/v1/array/full/low_entropy",block:"http://127.0.0.1:8000/api/v1/array/block/low_entropy?block={0},{1}"},meta:null},{id:"high_entropy",attributes:{ancestors:[],structure_family:"array",specs:[],metadata:{},structure:{data_type:{endianness:"little",kind:"f",itemsize:8,dt_units:null},chunks:[[100],[100]],shape:[100,100],dims:null,resizable:!1},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/high_entropy",full:"http://127.0.0.1:8000/api/v1/array/full/high_entropy",block:"http://127.0.0.1:8000/api/v1/array/block/high_entropy?block={0},{1}"},meta:null},{id:"dynamic",attributes:{ancestors:[],structure_family:"array",specs:[],metadata:{},structure:{data_type:{endianness:"little",kind:"f",itemsize:8,dt_units:null},chunks:[[3],[3]],shape:[3,3],dims:null,resizable:!1},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/dynamic",full:"http://127.0.0.1:8000/api/v1/array/full/dynamic",block:"http://127.0.0.1:8000/api/v1/array/block/dynamic?block={0},{1}"},meta:null}],error:null,links:{self:"http://127.0.0.1:8000/api/v1/search/?page[offset]=0&page[limit]=100",first:"http://127.0.0.1:8000/api/v1/search/?page[offset]=0&page[limit]=100",last:"http://127.0.0.1:8000/api/v1/search/?page[offset]=0&page[limit]=100",next:null,prev:null},meta:{count:16}},hr={folder:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",viewBox:"0 0 256 256",children:l.jsx("path",{fill:"currentColor",d:"M216,72H131.31L104,44.69A15.86,15.86,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.4,15.4,0,0,0,39.38,216H216.89A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM40,56H92.69l16,16H40ZM216,200H40V88H216Z"})}),brackestSqaure:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",viewBox:"0 0 256 256",children:l.jsx("path",{fill:"currentColor",d:"M48,48V208H80a8,8,0,0,1,0,16H40a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8H80a8,8,0,0,1,0,16ZM216,32H176a8,8,0,0,0,0,16h32V208H176a8,8,0,0,0,0,16h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32Z"})}),table:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",viewBox:"0 0 256 256",children:l.jsx("path",{fill:"currentColor",d:"M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM40,112H80v32H40Zm56,0H216v32H96ZM216,64V96H40V64ZM40,160H80v32H40Zm176,32H96V160H216v32Z"})}),question:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",viewBox:"0 0 256 256",children:l.jsx("path",{fill:"currentColor",d:"M140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180ZM128,72c-22.06,0-40,16.15-40,36v4a8,8,0,0,0,16,0v-4c0-11,10.77-20,24-20s24,9,24,20-10.77,20-24,20a8,8,0,0,0-8,8v8a8,8,0,0,0,16,0v-.72c18.24-3.35,32-17.9,32-35.28C168,88.15,150.06,72,128,72Zm104,56A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"})})},ki=(e,t)=>{var n={...e.links};const r=t||Hr(),o=Bt(e);return n.default=r+"/"+o,n},Ii=e=>{var t=hr.question;return(e==="array"||e==="awkward"||e==="sparse")&&(t=hr.brackestSqaure),e==="table"&&(t=hr.table),e==="container"&&(t=hr.folder),t},Bt=(e,t)=>{var r=e.attributes.ancestors.length>0?e.attributes.ancestors.join("/")+"/":"";return r+=e.id,r},Ci={b:1,B:1,h:2,H:2,i:4,I:4,l:8,L:8,q:8,Q:8,f:4,d:8,g:16,F:8,D:16,G:32,S:1,a:1,U:4,"?":1,O:8,M:8,m:8,V:1},Si=e=>{window.open(e,"_blank","noopener,noreferrer")},Ei=(e,t)=>{var n=[];for(let r=0;r<e;r++){const o={min:0,max:t[r]-1,index:r,value:Math.floor(t[r]/2)};n.push(o)}return n},ji=()=>{const e=localStorage.getItem("lastSearchHistory");if(e)return e},gr=e=>{if(typeof e=="string"||!e)localStorage.setItem("lastSearchHistory","");else if(e){const t=Bt(e);return localStorage.setItem("lastSearchHistory",t),t}},ro=()=>{const e=localStorage.getItem("tiledApiKey");if(e)return e.length===0?void 0:e};le.defaults.withCredentials=!0;var vt=null,Vr=!1;const Hr=()=>{const e=window.location.hostname;try{return`http://${e}:8000/api/v1`}catch(t){return console.error("error parsing VITE_API_TILED_URL env: ",t),`http://${e}:8000/api/v1`}},Ri=()=>{try{return null}catch(e){return console.error("error parsing VITE_API_TILED_API_KEY: ",e),null}},_i=e=>{e?le.defaults.headers.common.Authorization=`Bearer ${e}`:delete le.defaults.headers.common.Authorization},wr=Hr();Ri();const qt=async(e,t,n,r)=>{try{const o=t||wr,s=new URLSearchParams;vt&&s.append("api_key",vt),Vr&&s.append("sort","-");const i=s.toString(),a=o+"/search/"+(e||"")+(i?"?"+i:""),c=await le.get(a);return n&&n(c.data),c.data}catch(o){return console.error("Error searching path: ",o),console.log("If you are getting a CORS error, make sure to start tiled with the TILED_ALLOW_ORIGINS environment variable set to your frontend URL"),null}},Oi=async(e,t,n,r,o)=>{const s=ro();s&&s!==e&&(localStorage.removeItem("tiledApiKey"),localStorage.setItem("tiledApiKey",e)),vt=e;try{const i=n||wr,a=new URLSearchParams;a.append("api_key",e),Vr&&a.append("sort","-");const c=a.toString(),d=i+"/search/"+(t||"")+"?"+c;return(await le.get(d)).data}catch(i){return console.error("Error searching path: ",i),console.log("If you are getting a CORS error, make sure to start tiled with the TILED_ALLOW_ORIGINS environment variable set to your frontend URL"),null}},no=async(e,t,n,r)=>{try{const o=n||wr,i=(await le.get(o+"/table/partition/"+e+"?partition="+t+"&format=application/json-seq"+(vt?"&api_key="+vt:""))).data.trim().split(`
|
|
36
|
-
`).map(a=>JSON.parse(a));return r&&r(i),i}catch(o){return console.error("Error searching table data: ",o),null}},oo=(e,t,n,r,o)=>{const s=r&&(r==null?void 0:r.length)>0?r.join(",")+",":"";return(o||wr)+"/array/full/"+e+"?format=image/png&slice="+s+"::"+t+",::"+n+(vt?"&api_key="+vt:"")},Li=e=>{Vr=e||!1};Gr.data,Gr.data,Gr.data;const Bi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAAjCAYAAADBl8lGAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAceSURBVHgBzVldbFRFFD4zdyktP3WTtiEqNVtF8SfaNhipEsw2kRBSA/SFRKxk64PBH9JWEx98aUl8MCpsidGQqGFLiPjWiDSgMXaJARKjtPEfMbJaBAktLlBaoLt3PHN/5s6dO3e725bo2UzuzJmZc+abc+bMuXcJ3CRKvPNVHAjZAIzFCGMNWI+JTsYy2M4wQoax/klq2+o03CQiMIeUSA5GIRLpANPsxGY0oIU5dRZYQQaZaciz7amu5gzMIc0ZwC27BjsIgx6UGPV1uKB0pOljFHr2bmveDnNEswbIrcYI68elxdU+xvxaiANIYTuDHbyORQmjzXNhzVkBRHAxE/KDWI1BSRRmVpnPshSgNdW1Jg2zoBkDtMCxKQuculzZQkzzBAgeS9C0eR0DUfO+WYCcEcBE8lAsz8ggao8JKboA4vaBx+cuyFTU4J8vxtiUNajZmOpal4EZEIUSyQJncnAMLWcix8Sq/QT3KQqzedZqbZ7JgnPU+UySgzqiOcbP+MyoKAtuTn7eYJi5OA6vxyY+PbdkhSZqjlqY4UCStXB+BFYsWwLf/nYerl7POXPM7fteaemBEikUYCLZH82Z5R0EmHWnMdd13EWyEDRkmn6QBGmo5pYKeG3TSqiurICu99MwdmXSns0gGzGu16W6WrNQAmldtO3twx15s+w0ukwPYwzBWccdrCezn8QOAVJxQDj9Lp+IJ3jjmDrXKy44Vx7z5EVzubJOKJECAJ/ZcTAJkO/lwILbzJQag3AnZb4ZLNAXlM2BeeA04wlsgBLJB5CDw83qlJUTorGSukCiswYEeCQATDceNP2i3bA5OdAAJVDErbQlB7oxF+x0Q7QbDFhINAmEewD/+SsUgaaNTsGxrj7DZP1tOz7tw8awaRqZj15tGYbpANqhP98j0ijily9XmKpcGS/P920CgD8BILbhmaxLjbiSfOY9Y1jp5p3UYNzrMoSQXkpu9OkCkAUwb5rdsnLQ1KFAPwvpl3JLrRxGgtcGqPOx3Lu0yro2KubPg4XlERi9NAl/XLgMv4yMwejlScyoGMaMeZ2b3xxoVS0asbOSfKLghchAm3GoSbS6UpmvAxtwAKX/vtoqePyBpRZAHU3gHfnZ0O/Qf/wUVxAzDDa0ZeehxN6X1/W5YyhaL+5Kd3+gFgLBupYnz3O7bD4hIMn3NLpj5bpLz62tDwXHaQEmBK1N98DrbavRsvMsPZgQ9MqBiAIlG4izALFeqdhtIvGI8lTrMo9IMom0Z14fkfpIATfi1hoZHYeh0xfg5Fn/UbujphI61q9wdUcNIEm3L4LXQEzdOTkTIbLrecmKfe7UtiJDGuJzX6oZb19zeoRffD8CB745bYF0qXpxObQ33w/Lb7Pfr7ml1zbWoctm+JrjePTimKCnKSG0wd1tb9exUKxTh0elfuFyHh/k+eBYxB0HQRn+8UR4wOj4tQA4Duzjo6d84DiNXrkGbx044bPmxqZlQg8zoNvaTBWcW6jko+6C+WThsuD1+RZL7dwhsDkguS1IMoSLUtEng+AAC9G7h78T4BdglOWWdGQ38HwapdKsvKsCkGQlkBZKOQC3LVlQWJ3YIH18h+fJlGVQR27wEB47eQ6mo4kbeDbHxkWbp3qObvTdhTFuqCzIrkMVF1JdV3Ez0IyZjk81PJCsK1uwGBoZvSLqNZULPJ0REo3giT+CKmPFp1Waa1mNOqHkvSoR0Mvk7sbDfylUVVku6tyilrtzqZjpUAOMYSK7nFoCfbTAGBouR3JHLd+py+62avmtRQGsrVos6mcuXhWy+DbRXAVNoYKsrdwulHj10EKVOi1inDw2ZPzJc15U5FdAbfWiguCeeHCpdWVwGkOX/vXcJSHrg+fXpGmqvRkl0l2ycqDKQnRFB2y6cYXAOuXLH87abubQi2sfEgBUaqyrgfUP3ynax06dl2QZac6znD1XZvaW5fGTO36aUO91lcL4unEAwUScaeoyTeZMOHjiT9jUZC+cg3vj6cesiDqUGcUzOgVViyss93UveU5jeIceHBoR1xQ1WZ+8Dtj64dEEtvYUVl8cLCY+UahhR5/zMIcnB56Whlp4srEWiqGx8euw89CPcNFLFDK7n11Vp8qErXuO92AQ6Ib/CTUtq4GW+tuhatH80DGDP/8NA8N/yW6dxc8tjbvbH83wRiCmv7D36wQ+ECSJyZ1+S7jfW0hAAHNGEmmG7vLQvYGF1VfeVQ13L1kkgE7eyMOZfyZg8KfzMDGVl9JklmV5aH6v/RHxTqi9tDr3D8WmpnIbwTDwHyNMxolmleobsq9NpGwdij+IxbRl/b5+ko5Mkfbe9sYMhEzR0kv7h+LUhDj+R1CPgS+GH5s54Khfj+aVw7cW1dbOfouzKp/D4Jn09kM+4/gHKn6XwdYRowJSva2N2u+l0wIMI25l+I+o9ym/lQrRvwn19Sc8QrRKAAAAAElFTkSuQmCC",ct={arrowsPointingOut:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 3.75v4.5m0-4.5h4.5m-4.5 0L9 9M3.75 20.25v-4.5m0 4.5h4.5m-4.5 0L9 15M20.25 3.75h-4.5m4.5 0v4.5m0-4.5L15 9m5.25 11.25h-4.5m4.5 0v-4.5m0 4.5L15 15"})}),arrowsPointingIn:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 9V4.5M9 9H4.5M9 9 3.75 3.75M9 15v4.5M9 15H4.5M9 15l-5.25 5.25M15 9h4.5M15 9V4.5M15 9l5.25-5.25M15 15h4.5M15 15v4.5m0-4.5 5.25 5.25"})}),arrowDownTray:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3"})}),arrowTopRight:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"})}),arrowUturnLeft:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 15 3 9m0 0 6-6M3 9h12a6 6 0 0 1 0 12h-3"})}),arrowRefresh:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"})}),arrowLongLeft:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 15.75 3 12m0 0 3.75-3.75M3 12h18"})}),adjustmentsVertical:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 13.5V3.75m0 9.75a1.5 1.5 0 0 1 0 3m0-3a1.5 1.5 0 0 0 0 3m0 3.75V16.5m12-3V3.75m0 9.75a1.5 1.5 0 0 1 0 3m0-3a1.5 1.5 0 0 0 0 3m0 3.75V16.5m-6-9V3.75m0 3.75a1.5 1.5 0 0 1 0 3m0-3a1.5 1.5 0 0 0 0 3m0 9.75V10.5"})}),chatBubbleOvalEllipsisLeft:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.625 12a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H8.25m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H12m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0h-.375M21 12c0 4.556-4.03 8.25-9 8.25a9.764 9.764 0 0 1-2.555-.337A5.972 5.972 0 0 1 5.41 20.97a5.969 5.969 0 0 1-.474-.065 4.48 4.48 0 0 0 .978-2.025c.09-.457-.133-.901-.467-1.226C3.93 16.178 3 14.189 3 12c0-4.556 4.03-8.25 9-8.25s9 3.694 9 8.25Z"})}),chevronDown:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"})}),chevronLeft:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5 8.25 12l7.5-7.5"})}),chevronRight:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"})}),chevronUp:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 15.75 7.5-7.5 7.5 7.5"})}),checkmarkInCircle:l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",strokeWidth:1.5,stroke:"currentColor",className:"",children:[l.jsx("circle",{cx:"16",cy:"16",r:"14",stroke:"currentColor",strokeWidth:1.5}),l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8 17.25 6 6 9-13.5"})]}),circleStack:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20.25 6.375c0 2.278-3.694 4.125-8.25 4.125S3.75 8.653 3.75 6.375m16.5 0c0-2.278-3.694-4.125-8.25-4.125S3.75 4.097 3.75 6.375m16.5 0v11.25c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125V6.375m16.5 0v3.75m-16.5-3.75v3.75m16.5 0v3.75C20.25 16.153 16.556 18 12 18s-8.25-1.847-8.25-4.125v-3.75m16.5 0c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125"})}),clipBoardDocument:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 7.5V6.108c0-1.135.845-2.098 1.976-2.192.373-.03.748-.057 1.123-.08M15.75 18H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08M15.75 18.75v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5A3.375 3.375 0 0 0 6.375 7.5H5.25m11.9-3.664A2.251 2.251 0 0 0 15 2.25h-1.5a2.251 2.251 0 0 0-2.15 1.586m5.8 0c.065.21.1.433.1.664v.75h-6V4.5c0-.231.035-.454.1-.664M6.75 7.5H4.875c-.621 0-1.125.504-1.125 1.125v12c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V16.5a9 9 0 0 0-9-9Z"})}),clipBoardDocumentCheck:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.35 3.836c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-.1-.664m-5.8 0A2.251 2.251 0 0 1 13.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m8.9-4.414c.376.023.75.05 1.124.08 1.131.094 1.976 1.057 1.976 2.192V16.5A2.25 2.25 0 0 1 18 18.75h-2.25m-7.5-10.5H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V18.75m-7.5-10.5h6.375c.621 0 1.125.504 1.125 1.125v9.375m-8.25-3 1.5 1.5 3-3.75"})}),clipboardDocumentList:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-.1-.664m-5.8 0A2.251 2.251 0 0 1 13.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25ZM6.75 12h.008v.008H6.75V12Zm0 3h.008v.008H6.75V15Zm0 3h.008v.008H6.75V18Z"})}),clock:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})}),cloud:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-6 h-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 15a4.5 4.5 0 0 0 4.5 4.5H18a3.75 3.75 0 0 0 1.332-7.257 3 3 0 0 0-3.758-3.848 5.25 5.25 0 0 0-10.233 2.33A4.502 4.502 0 0 0 2.25 15Z"})}),codeBracket:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.25 6.75 22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3-4.5 16.5"})}),cog:l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:[l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.343 3.94c.09-.542.56-.94 1.11-.94h1.093c.55 0 1.02.398 1.11.94l.149.894c.07.424.384.764.78.93.398.164.855.142 1.205-.108l.737-.527a1.125 1.125 0 0 1 1.45.12l.773.774c.39.389.44 1.002.12 1.45l-.527.737c-.25.35-.272.806-.107 1.204.165.397.505.71.93.78l.893.15c.543.09.94.559.94 1.109v1.094c0 .55-.397 1.02-.94 1.11l-.894.149c-.424.07-.764.383-.929.78-.165.398-.143.854.107 1.204l.527.738c.32.447.269 1.06-.12 1.45l-.774.773a1.125 1.125 0 0 1-1.449.12l-.738-.527c-.35-.25-.806-.272-1.203-.107-.398.165-.71.505-.781.929l-.149.894c-.09.542-.56.94-1.11.94h-1.094c-.55 0-1.019-.398-1.11-.94l-.148-.894c-.071-.424-.384-.764-.781-.93-.398-.164-.854-.142-1.204.108l-.738.527c-.447.32-1.06.269-1.45-.12l-.773-.774a1.125 1.125 0 0 1-.12-1.45l.527-.737c.25-.35.272-.806.108-1.204-.165-.397-.506-.71-.93-.78l-.894-.15c-.542-.09-.94-.56-.94-1.109v-1.094c0-.55.398-1.02.94-1.11l.894-.149c.424-.07.765-.383.93-.78.165-.398.143-.854-.108-1.204l-.526-.738a1.125 1.125 0 0 1 .12-1.45l.773-.773a1.125 1.125 0 0 1 1.45-.12l.737.527c.35.25.807.272 1.204.107.397-.165.71-.505.78-.929l.15-.894Z"}),l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})]}),commandLine:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m6.75 7.5 3 2.25-3 2.25m4.5 0h3m-9 8.25h13.5A2.25 2.25 0 0 0 21 18V6a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 6v12a2.25 2.25 0 0 0 2.25 2.25Z"})}),documentCharBar:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-6 h-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25M9 16.5v.75m3-3v3M15 12v5.25m-4.5-15H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"})}),exclamationTriangle:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"})}),fingerprint:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.864 4.243A7.5 7.5 0 0 1 19.5 10.5c0 2.92-.556 5.709-1.568 8.268M5.742 6.364A7.465 7.465 0 0 0 4.5 10.5a7.464 7.464 0 0 1-1.15 3.993m1.989 3.559A11.209 11.209 0 0 0 8.25 10.5a3.75 3.75 0 1 1 7.5 0c0 .527-.021 1.049-.064 1.565M12 10.5a14.94 14.94 0 0 1-3.6 9.75m6.633-4.596a18.666 18.666 0 0 1-2.485 5.33"})}),home:l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-6 h-6",children:[" ",l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m2.25 12 8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25"})]}),leftArrow:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-6 h-6",children:l.jsx("g",{transform:"scale(-1, 1) translate(-24, 0)",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.25 5.653c0-.856.917-1.398 1.667-.986l11.54 6.347a1.125 1.125 0 0 1 0 1.972l-11.54 6.347a1.125 1.125 0 0 1-1.667-.986V5.653Z"})})}),leftArrowBox:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-6 h-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15m-3 0-3-3m0 0 3-3m-3 3H15"})}),lightning:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-auto h-auto",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m3.75 13.5 10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75Z"})}),locked:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-auto h-auto",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"})}),minus:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-auto h-auto",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 12h14"})}),plus:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"})}),presentationChart:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 3v11.25A2.25 2.25 0 0 0 6 16.5h2.25M3.75 3h-1.5m1.5 0h16.5m0 0h1.5m-1.5 0v11.25A2.25 2.25 0 0 1 18 16.5h-2.25m-7.5 0h7.5m-7.5 0-1 3m8.5-3 1 3m0 0 .5 1.5m-.5-1.5h-9.5m0 0-.5 1.5m.75-9 3-3 2.148 2.148A12.061 12.061 0 0 1 16.5 7.605"})}),rightArrow:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-6 h-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.25 5.653c0-.856.917-1.398 1.667-.986l11.54 6.347a1.125 1.125 0 0 1 0 1.972l-11.54 6.347a1.125 1.125 0 0 1-1.667-.986V5.653Z"})}),queueList:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-6 h-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 12h16.5m-16.5 3.75h16.5M3.75 19.5h16.5M5.625 4.5h12.75a1.875 1.875 0 0 1 0 3.75H5.625a1.875 1.875 0 0 1 0-3.75Z"})}),rectangleGroup:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-6 h-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 7.125C2.25 6.504 2.754 6 3.375 6h6c.621 0 1.125.504 1.125 1.125v3.75c0 .621-.504 1.125-1.125 1.125h-6a1.125 1.125 0 0 1-1.125-1.125v-3.75ZM14.25 8.625c0-.621.504-1.125 1.125-1.125h5.25c.621 0 1.125.504 1.125 1.125v8.25c0 .621-.504 1.125-1.125 1.125h-5.25a1.125 1.125 0 0 1-1.125-1.125v-8.25ZM3.75 16.125c0-.621.504-1.125 1.125-1.125h5.25c.621 0 1.125.504 1.125 1.125v2.25c0 .621-.504 1.125-1.125 1.125h-5.25a1.125 1.125 0 0 1-1.125-1.125v-2.25Z"})}),trash:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"})}),unlocked:l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-auto h-auto",children:[" ",l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 10.5V6.75a4.5 4.5 0 1 1 9 0v3.75M3.75 21.75h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H3.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"})]}),user:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})}),userCircle:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})}),users:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 19.128a9.38 9.38 0 0 0 2.625.372 9.337 9.337 0 0 0 4.121-.952 4.125 4.125 0 0 0-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 0 1 8.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0 1 11.964-3.07M12 6.375a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0Zm8.25 2.25a2.625 2.625 0 1 1-5.25 0 2.625 2.625 0 0 1 5.25 0Z"})}),videoCamera:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-6 h-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m15.75 10.5 4.72-4.72a.75.75 0 0 1 1.28.53v11.38a.75.75 0 0 1-1.28.53l-4.72-4.72M4.5 18.75h9a2.25 2.25 0 0 0 2.25-2.25v-9a2.25 2.25 0 0 0-2.25-2.25h-9A2.25 2.25 0 0 0 2.25 7.5v9a2.25 2.25 0 0 0 2.25 2.25Z"})}),xCircle:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})})},Ni=Hr();function Ti({breadcrumbs:e=[],onLeftArrowClick:t,onRightArrowClick:n,onHomeClick:r,imageUrl:o=Bi,title:s="Tiled",secondaryTitle:i=Ni,handleExpandClick:a,isExpanded:c,...d}){const f=({onClick:A,icon:v})=>l.jsx("div",{className:`w-6 aspect-square flex-shrink-0 ${A?"hover:text-slate-400 hover:cursor-pointer text-slate-600":"text-slate-200"} `,onClick:A?()=>A():()=>{},children:v});return l.jsxs("div",{className:"flex w-full min-h-14 pb-2 pt-2 relative pl-4 ",...d,children:[l.jsxs("div",{className:"flex items-end w-1/4",children:[l.jsx(f,{onClick:t,icon:ct.chevronLeft}),l.jsx(f,{onClick:n,icon:ct.chevronRight}),l.jsxs("p",{className:"truncate",children:[" ",e.length>0&&e[e.length-1].label]})]}),l.jsxs("div",{onClick:r?()=>r():()=>{},className:"w-4/5 flex items-end justify-center space-x-4 mx-auto absolute left-1/2 transform -translate-x-1/2 hover:cursor-pointer hover:opacity-70",children:[l.jsx("img",{src:o,className:"w-16 h-auto "}),l.jsxs("div",{className:"flex items-center gap-4",children:[l.jsx("h2",{className:"text-sky-900 font-semibold text-lg",children:s}),l.jsx("p",{className:"text-sm",children:i})]})]}),l.jsx("div",{className:"absolute top-0 right-0 mr-3 mt-3 h-6 aspect-square text-slate-500 hover:text-slate-900 hover:cursor-pointer",onClick:()=>a(),children:c?ct.arrowsPointingIn:ct.arrowsPointingOut})]})}function Ur({cb:e=()=>{},text:t="",bgColor:n="bg-sky-500",hoverBgColor:r="hover:bg-sky-600",textColor:o="text-white",styles:s="",disabled:i=!1,size:a="medium",isSecondary:c,...d}){const f=w=>{w.preventDefault(),e(w)},A={small:"text-sm",medium:"text-md",large:"text-2xl"},v={small:"px-3 py-1",medium:"px-3 py-2",large:"px-6 py-3"};return l.jsx("button",{disabled:i,className:`
|
|
30
|
+
<%s key={someKey} {...props} />`,pn,lt,Il,lt),M[lt+pn]=!0}}return c===r?_(oe):at(oe),oe}}function pe(c,y,C){return Z(c,y,C,!0)}function ve(c,y,C){return Z(c,y,C,!1)}var Me=ve,De=pe;Yt.Fragment=r,Yt.jsx=Me,Yt.jsxs=De}()),Yt}var gn;function es(){return gn||(gn=1,process.env.NODE_ENV==="production"?sr.exports=$o():sr.exports=Ko()),sr.exports}var l=es();function bn(e,t){return function(){return e.apply(t,arguments)}}const{toString:ts}=Object.prototype,{getPrototypeOf:Rr}=Object,ir=(e=>t=>{const n=ts.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ge=e=>(e=e.toLowerCase(),t=>ir(t)===e),ar=e=>t=>typeof t===e,{isArray:Lt}=Array,Xt=ar("undefined");function rs(e){return e!==null&&!Xt(e)&&e.constructor!==null&&!Xt(e.constructor)&&_e(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const wn=Ge("ArrayBuffer");function ns(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&wn(e.buffer),t}const os=ar("string"),_e=ar("function"),vn=ar("number"),lr=e=>e!==null&&typeof e=="object",ss=e=>e===!0||e===!1,cr=e=>{if(ir(e)!=="object")return!1;const t=Rr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},is=Ge("Date"),as=Ge("File"),ls=Ge("Blob"),cs=Ge("FileList"),us=e=>lr(e)&&_e(e.pipe),ds=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||_e(e.append)&&((t=ir(e))==="formdata"||t==="object"&&_e(e.toString)&&e.toString()==="[object FormData]"))},fs=Ge("URLSearchParams"),[As,ps,ms,hs]=["ReadableStream","Request","Response","Headers"].map(Ge),gs=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Qt(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),Lt(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),s=i.length;let a;for(r=0;r<s;r++)a=i[r],t.call(null,e[a],a,e)}}function xn(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const gt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,yn=e=>!Xt(e)&&e!==gt;function _r(){const{caseless:e}=yn(this)&&this||{},t={},n=(r,o)=>{const i=e&&xn(t,o)||o;cr(t[i])&&cr(r)?t[i]=_r(t[i],r):cr(r)?t[i]=_r({},r):Lt(r)?t[i]=r.slice():t[i]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&Qt(arguments[r],n);return t}const bs=(e,t,n,{allOwnKeys:r}={})=>(Qt(t,(o,i)=>{n&&_e(o)?e[i]=bn(o,n):e[i]=o},{allOwnKeys:r}),e),ws=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),vs=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},xs=(e,t,n,r)=>{let o,i,s;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&Rr(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},ys=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},ks=e=>{if(!e)return null;if(Lt(e))return e;let t=e.length;if(!vn(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Is=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Rr(Uint8Array)),Cs=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},Ss=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Es=Ge("HTMLFormElement"),js=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),kn=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Rs=Ge("RegExp"),In=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Qt(n,(o,i)=>{let s;(s=t(o,i,e))!==!1&&(r[i]=s||o)}),Object.defineProperties(e,r)},_s=e=>{In(e,(t,n)=>{if(_e(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(_e(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Os=(e,t)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return Lt(e)?r(e):r(String(e).split(t)),n},Ls=()=>{},Ns=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Or="abcdefghijklmnopqrstuvwxyz",Cn="0123456789",Sn={DIGIT:Cn,ALPHA:Or,ALPHA_DIGIT:Or+Or.toUpperCase()+Cn},Bs=(e=16,t=Sn.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Ts(e){return!!(e&&_e(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Fs=e=>{const t=new Array(10),n=(r,o)=>{if(lr(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const i=Lt(r)?[]:{};return Qt(r,(s,a)=>{const u=n(s,o+1);!Xt(u)&&(i[a]=u)}),t[o]=void 0,i}}return r};return n(e,0)},Ws=Ge("AsyncFunction"),Ps=e=>e&&(lr(e)||_e(e))&&_e(e.then)&&_e(e.catch),En=((e,t)=>e?setImmediate:t?((n,r)=>(gt.addEventListener("message",({source:o,data:i})=>{o===gt&&i===n&&r.length&&r.shift()()},!1),o=>{r.push(o),gt.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",_e(gt.postMessage)),Ms=typeof queueMicrotask<"u"?queueMicrotask.bind(gt):typeof process<"u"&&process.nextTick||En,h={isArray:Lt,isArrayBuffer:wn,isBuffer:rs,isFormData:ds,isArrayBufferView:ns,isString:os,isNumber:vn,isBoolean:ss,isObject:lr,isPlainObject:cr,isReadableStream:As,isRequest:ps,isResponse:ms,isHeaders:hs,isUndefined:Xt,isDate:is,isFile:as,isBlob:ls,isRegExp:Rs,isFunction:_e,isStream:us,isURLSearchParams:fs,isTypedArray:Is,isFileList:cs,forEach:Qt,merge:_r,extend:bs,trim:gs,stripBOM:ws,inherits:vs,toFlatObject:xs,kindOf:ir,kindOfTest:Ge,endsWith:ys,toArray:ks,forEachEntry:Cs,matchAll:Ss,isHTMLForm:Es,hasOwnProperty:kn,hasOwnProp:kn,reduceDescriptors:In,freezeMethods:_s,toObjectSet:Os,toCamelCase:js,noop:Ls,toFiniteNumber:Ns,findKey:xn,global:gt,isContextDefined:yn,ALPHABET:Sn,generateString:Bs,isSpecCompliantForm:Ts,toJSONObject:Fs,isAsyncFn:Ws,isThenable:Ps,setImmediate:En,asap:Ms};function U(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}h.inherits(U,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:h.toJSONObject(this.config),code:this.code,status:this.status}}});const jn=U.prototype,Rn={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Rn[e]={value:e}}),Object.defineProperties(U,Rn),Object.defineProperty(jn,"isAxiosError",{value:!0}),U.from=(e,t,n,r,o,i)=>{const s=Object.create(jn);return h.toFlatObject(e,s,function(u){return u!==Error.prototype},a=>a!=="isAxiosError"),U.call(s,e.message,t,n,r,o),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};const Ds=null;function Lr(e){return h.isPlainObject(e)||h.isArray(e)}function _n(e){return h.endsWith(e,"[]")?e.slice(0,-2):e}function On(e,t,n){return e?e.concat(t).map(function(o,i){return o=_n(o),!n&&i?"["+o+"]":o}).join(n?".":""):t}function Zs(e){return h.isArray(e)&&!e.some(Lr)}const Gs=h.toFlatObject(h,{},null,function(t){return/^is[A-Z]/.test(t)});function ur(e,t,n){if(!h.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=h.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,m){return!h.isUndefined(m[b])});const r=n.metaTokens,o=n.visitor||f,i=n.dots,s=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&h.isSpecCompliantForm(t);if(!h.isFunction(o))throw new TypeError("visitor must be a function");function d(p){if(p===null)return"";if(h.isDate(p))return p.toISOString();if(!u&&h.isBlob(p))throw new U("Blob is not supported. Use a Buffer instead.");return h.isArrayBuffer(p)||h.isTypedArray(p)?u&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function f(p,b,m){let x=p;if(p&&!m&&typeof p=="object"){if(h.endsWith(b,"{}"))b=r?b:b.slice(0,-2),p=JSON.stringify(p);else if(h.isArray(p)&&Zs(p)||(h.isFileList(p)||h.endsWith(b,"[]"))&&(x=h.toArray(p)))return b=_n(b),x.forEach(function(E,L){!(h.isUndefined(E)||E===null)&&t.append(s===!0?On([b],L,i):s===null?b:b+"[]",d(E))}),!1}return Lr(p)?!0:(t.append(On(m,b,i),d(p)),!1)}const A=[],v=Object.assign(Gs,{defaultVisitor:f,convertValue:d,isVisitable:Lr});function w(p,b){if(!h.isUndefined(p)){if(A.indexOf(p)!==-1)throw Error("Circular reference detected in "+b.join("."));A.push(p),h.forEach(p,function(x,I){(!(h.isUndefined(x)||x===null)&&o.call(t,x,h.isString(I)?I.trim():I,b,v))===!0&&w(x,b?b.concat(I):[I])}),A.pop()}}if(!h.isObject(e))throw new TypeError("data must be an object");return w(e),t}function Ln(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Nr(e,t){this._pairs=[],e&&ur(e,this,t)}const Nn=Nr.prototype;Nn.append=function(t,n){this._pairs.push([t,n])},Nn.toString=function(t){const n=t?function(r){return t.call(this,r,Ln)}:Ln;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Us(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Bn(e,t,n){if(!t)return e;const r=n&&n.encode||Us;h.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(o?i=o(t,n):i=h.isURLSearchParams(t)?t.toString():new Nr(t,n).toString(r),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Tn{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){h.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Fn={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Vs={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Nr,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Br=typeof window<"u"&&typeof document<"u",Tr=typeof navigator=="object"&&navigator||void 0,zs=Br&&(!Tr||["ReactNative","NativeScript","NS"].indexOf(Tr.product)<0),Hs=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Js=Br&&window.location.href||"http://localhost",Ce={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Br,hasStandardBrowserEnv:zs,hasStandardBrowserWebWorkerEnv:Hs,navigator:Tr,origin:Js},Symbol.toStringTag,{value:"Module"})),...Vs};function Ys(e,t){return ur(e,new Ce.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return Ce.isNode&&h.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function Xs(e){return h.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Qs(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}function Wn(e){function t(n,r,o,i){let s=n[i++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),u=i>=n.length;return s=!s&&h.isArray(o)?o.length:s,u?(h.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!a):((!o[s]||!h.isObject(o[s]))&&(o[s]=[]),t(n,r,o[s],i)&&h.isArray(o[s])&&(o[s]=Qs(o[s])),!a)}if(h.isFormData(e)&&h.isFunction(e.entries)){const n={};return h.forEachEntry(e,(r,o)=>{t(Xs(r),o,n,0)}),n}return null}function qs(e,t,n){if(h.isString(e))try{return(t||JSON.parse)(e),h.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const qt={transitional:Fn,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=h.isObject(t);if(i&&h.isHTMLForm(t)&&(t=new FormData(t)),h.isFormData(t))return o?JSON.stringify(Wn(t)):t;if(h.isArrayBuffer(t)||h.isBuffer(t)||h.isStream(t)||h.isFile(t)||h.isBlob(t)||h.isReadableStream(t))return t;if(h.isArrayBufferView(t))return t.buffer;if(h.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Ys(t,this.formSerializer).toString();if((a=h.isFileList(t))||r.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return ur(a?{"files[]":t}:t,u&&new u,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),qs(t)):t}],transformResponse:[function(t){const n=this.transitional||qt.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(h.isResponse(t)||h.isReadableStream(t))return t;if(t&&h.isString(t)&&(r&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?U.from(a,U.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ce.classes.FormData,Blob:Ce.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};h.forEach(["delete","get","head","post","put","patch"],e=>{qt.headers[e]={}});const $s=h.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ks=e=>{const t={};let n,r,o;return e&&e.split(`
|
|
31
|
+
`).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||t[n]&&$s[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Pn=Symbol("internals");function $t(e){return e&&String(e).trim().toLowerCase()}function dr(e){return e===!1||e==null?e:h.isArray(e)?e.map(dr):String(e)}function ei(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}const ti=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Fr(e,t,n,r,o){if(h.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!h.isString(t)){if(h.isString(r))return t.indexOf(r)!==-1;if(h.isRegExp(r))return r.test(t)}}function ri(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function ni(e,t){const n=h.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,s){return this[r].call(this,t,o,i,s)},configurable:!0})})}class Re{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(a,u,d){const f=$t(u);if(!f)throw new Error("header name must be a non-empty string");const A=h.findKey(o,f);(!A||o[A]===void 0||d===!0||d===void 0&&o[A]!==!1)&&(o[A||u]=dr(a))}const s=(a,u)=>h.forEach(a,(d,f)=>i(d,f,u));if(h.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(h.isString(t)&&(t=t.trim())&&!ti(t))s(Ks(t),n);else if(h.isHeaders(t))for(const[a,u]of t.entries())i(u,a,r);else t!=null&&i(n,t,r);return this}get(t,n){if(t=$t(t),t){const r=h.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return ei(o);if(h.isFunction(n))return n.call(this,o,r);if(h.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=$t(t),t){const r=h.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Fr(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(s){if(s=$t(s),s){const a=h.findKey(r,s);a&&(!n||Fr(r,r[a],a,n))&&(delete r[a],o=!0)}}return h.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||Fr(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return h.forEach(this,(o,i)=>{const s=h.findKey(r,i);if(s){n[s]=dr(o),delete n[i];return}const a=t?ri(i):String(i).trim();a!==i&&delete n[i],n[a]=dr(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return h.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&h.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(`
|
|
32
|
+
`)}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(o=>r.set(o)),r}static accessor(t){const r=(this[Pn]=this[Pn]={accessors:{}}).accessors,o=this.prototype;function i(s){const a=$t(s);r[a]||(ni(o,s),r[a]=!0)}return h.isArray(t)?t.forEach(i):i(t),this}}Re.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),h.reduceDescriptors(Re.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),h.freezeMethods(Re);function Wr(e,t){const n=this||qt,r=t||n,o=Re.from(r.headers);let i=r.data;return h.forEach(e,function(a){i=a.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function Mn(e){return!!(e&&e.__CANCEL__)}function Nt(e,t,n){U.call(this,e??"canceled",U.ERR_CANCELED,t,n),this.name="CanceledError"}h.inherits(Nt,U,{__CANCEL__:!0});function Dn(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new U("Request failed with status code "+n.status,[U.ERR_BAD_REQUEST,U.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function oi(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function si(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,s;return t=t!==void 0?t:1e3,function(u){const d=Date.now(),f=r[i];s||(s=d),n[o]=u,r[o]=d;let A=i,v=0;for(;A!==o;)v+=n[A++],A=A%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),d-s<t)return;const w=f&&d-f;return w?Math.round(v*1e3/w):void 0}}function ii(e,t){let n=0,r=1e3/t,o,i;const s=(d,f=Date.now())=>{n=f,o=null,i&&(clearTimeout(i),i=null),e.apply(null,d)};return[(...d)=>{const f=Date.now(),A=f-n;A>=r?s(d,f):(o=d,i||(i=setTimeout(()=>{i=null,s(o)},r-A)))},()=>o&&s(o)]}const fr=(e,t,n=3)=>{let r=0;const o=si(50,250);return ii(i=>{const s=i.loaded,a=i.lengthComputable?i.total:void 0,u=s-r,d=o(u),f=s<=a;r=s;const A={loaded:s,total:a,progress:a?s/a:void 0,bytes:u,rate:d||void 0,estimated:d&&a&&f?(a-s)/d:void 0,event:i,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(A)},n)},Zn=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Gn=e=>(...t)=>h.asap(()=>e(...t)),ai=Ce.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Ce.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Ce.origin),Ce.navigator&&/(msie|trident)/i.test(Ce.navigator.userAgent)):()=>!0,li=Ce.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const s=[e+"="+encodeURIComponent(t)];h.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),h.isString(r)&&s.push("path="+r),h.isString(o)&&s.push("domain="+o),i===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function ci(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ui(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Un(e,t){return e&&!ci(t)?ui(e,t):t}const Vn=e=>e instanceof Re?{...e}:e;function bt(e,t){t=t||{};const n={};function r(d,f,A,v){return h.isPlainObject(d)&&h.isPlainObject(f)?h.merge.call({caseless:v},d,f):h.isPlainObject(f)?h.merge({},f):h.isArray(f)?f.slice():f}function o(d,f,A,v){if(h.isUndefined(f)){if(!h.isUndefined(d))return r(void 0,d,A,v)}else return r(d,f,A,v)}function i(d,f){if(!h.isUndefined(f))return r(void 0,f)}function s(d,f){if(h.isUndefined(f)){if(!h.isUndefined(d))return r(void 0,d)}else return r(void 0,f)}function a(d,f,A){if(A in t)return r(d,f);if(A in e)return r(void 0,d)}const u={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(d,f,A)=>o(Vn(d),Vn(f),A,!0)};return h.forEach(Object.keys(Object.assign({},e,t)),function(f){const A=u[f]||o,v=A(e[f],t[f],f);h.isUndefined(v)&&A!==a||(n[f]=v)}),n}const zn=e=>{const t=bt({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:a}=t;t.headers=s=Re.from(s),t.url=Bn(Un(t.baseURL,t.url),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let u;if(h.isFormData(n)){if(Ce.hasStandardBrowserEnv||Ce.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((u=s.getContentType())!==!1){const[d,...f]=u?u.split(";").map(A=>A.trim()).filter(Boolean):[];s.setContentType([d||"multipart/form-data",...f].join("; "))}}if(Ce.hasStandardBrowserEnv&&(r&&h.isFunction(r)&&(r=r(t)),r||r!==!1&&ai(t.url))){const d=o&&i&&li.read(i);d&&s.set(o,d)}return t},di=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){const o=zn(e);let i=o.data;const s=Re.from(o.headers).normalize();let{responseType:a,onUploadProgress:u,onDownloadProgress:d}=o,f,A,v,w,p;function b(){w&&w(),p&&p(),o.cancelToken&&o.cancelToken.unsubscribe(f),o.signal&&o.signal.removeEventListener("abort",f)}let m=new XMLHttpRequest;m.open(o.method.toUpperCase(),o.url,!0),m.timeout=o.timeout;function x(){if(!m)return;const E=Re.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),O={data:!a||a==="text"||a==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:E,config:e,request:m};Dn(function(j){n(j),b()},function(j){r(j),b()},O),m=null}"onloadend"in m?m.onloadend=x:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(x)},m.onabort=function(){m&&(r(new U("Request aborted",U.ECONNABORTED,e,m)),m=null)},m.onerror=function(){r(new U("Network Error",U.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let L=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const O=o.transitional||Fn;o.timeoutErrorMessage&&(L=o.timeoutErrorMessage),r(new U(L,O.clarifyTimeoutError?U.ETIMEDOUT:U.ECONNABORTED,e,m)),m=null},i===void 0&&s.setContentType(null),"setRequestHeader"in m&&h.forEach(s.toJSON(),function(L,O){m.setRequestHeader(O,L)}),h.isUndefined(o.withCredentials)||(m.withCredentials=!!o.withCredentials),a&&a!=="json"&&(m.responseType=o.responseType),d&&([v,p]=fr(d,!0),m.addEventListener("progress",v)),u&&m.upload&&([A,w]=fr(u),m.upload.addEventListener("progress",A),m.upload.addEventListener("loadend",w)),(o.cancelToken||o.signal)&&(f=E=>{m&&(r(!E||E.type?new Nt(null,e,m):E),m.abort(),m=null)},o.cancelToken&&o.cancelToken.subscribe(f),o.signal&&(o.signal.aborted?f():o.signal.addEventListener("abort",f)));const I=oi(o.url);if(I&&Ce.protocols.indexOf(I)===-1){r(new U("Unsupported protocol "+I+":",U.ERR_BAD_REQUEST,e));return}m.send(i||null)})},fi=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const i=function(d){if(!o){o=!0,a();const f=d instanceof Error?d:this.reason;r.abort(f instanceof U?f:new Nt(f instanceof Error?f.message:f))}};let s=t&&setTimeout(()=>{s=null,i(new U(`timeout ${t} of ms exceeded`,U.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(d=>{d.unsubscribe?d.unsubscribe(i):d.removeEventListener("abort",i)}),e=null)};e.forEach(d=>d.addEventListener("abort",i));const{signal:u}=r;return u.unsubscribe=()=>h.asap(a),u}},Ai=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,o;for(;r<n;)o=r+t,yield e.slice(r,o),r=o},pi=async function*(e,t){for await(const n of mi(e))yield*Ai(n,t)},mi=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},Hn=(e,t,n,r)=>{const o=pi(e,t);let i=0,s,a=u=>{s||(s=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:d,value:f}=await o.next();if(d){a(),u.close();return}let A=f.byteLength;if(n){let v=i+=A;n(v)}u.enqueue(new Uint8Array(f))}catch(d){throw a(d),d}},cancel(u){return a(u),o.return()}},{highWaterMark:2})},Ar=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Jn=Ar&&typeof ReadableStream=="function",hi=Ar&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Yn=(e,...t)=>{try{return!!e(...t)}catch{return!1}},gi=Jn&&Yn(()=>{let e=!1;const t=new Request(Ce.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Xn=64*1024,Pr=Jn&&Yn(()=>h.isReadableStream(new Response("").body)),pr={stream:Pr&&(e=>e.body)};Ar&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!pr[t]&&(pr[t]=h.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new U(`Response type '${t}' is not supported`,U.ERR_NOT_SUPPORT,r)})})})(new Response);const bi=async e=>{if(e==null)return 0;if(h.isBlob(e))return e.size;if(h.isSpecCompliantForm(e))return(await new Request(Ce.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(h.isArrayBufferView(e)||h.isArrayBuffer(e))return e.byteLength;if(h.isURLSearchParams(e)&&(e=e+""),h.isString(e))return(await hi(e)).byteLength},wi=async(e,t)=>{const n=h.toFiniteNumber(e.getContentLength());return n??bi(t)},Mr={http:Ds,xhr:di,fetch:Ar&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:s,onDownloadProgress:a,onUploadProgress:u,responseType:d,headers:f,withCredentials:A="same-origin",fetchOptions:v}=zn(e);d=d?(d+"").toLowerCase():"text";let w=fi([o,i&&i.toAbortSignal()],s),p;const b=w&&w.unsubscribe&&(()=>{w.unsubscribe()});let m;try{if(u&&gi&&n!=="get"&&n!=="head"&&(m=await wi(f,r))!==0){let O=new Request(t,{method:"POST",body:r,duplex:"half"}),T;if(h.isFormData(r)&&(T=O.headers.get("content-type"))&&f.setContentType(T),O.body){const[j,k]=Zn(m,fr(Gn(u)));r=Hn(O.body,Xn,j,k)}}h.isString(A)||(A=A?"include":"omit");const x="credentials"in Request.prototype;p=new Request(t,{...v,signal:w,method:n.toUpperCase(),headers:f.normalize().toJSON(),body:r,duplex:"half",credentials:x?A:void 0});let I=await fetch(p);const E=Pr&&(d==="stream"||d==="response");if(Pr&&(a||E&&b)){const O={};["status","statusText","headers"].forEach(F=>{O[F]=I[F]});const T=h.toFiniteNumber(I.headers.get("content-length")),[j,k]=a&&Zn(T,fr(Gn(a),!0))||[];I=new Response(Hn(I.body,Xn,j,()=>{k&&k(),b&&b()}),O)}d=d||"text";let L=await pr[h.findKey(pr,d)||"text"](I,e);return!E&&b&&b(),await new Promise((O,T)=>{Dn(O,T,{data:L,headers:Re.from(I.headers),status:I.status,statusText:I.statusText,config:e,request:p})})}catch(x){throw b&&b(),x&&x.name==="TypeError"&&/fetch/i.test(x.message)?Object.assign(new U("Network Error",U.ERR_NETWORK,e,p),{cause:x.cause||x}):U.from(x,x&&x.code,e,p)}})};h.forEach(Mr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Qn=e=>`- ${e}`,vi=e=>h.isFunction(e)||e===null||e===!1,qn={getAdapter:e=>{e=h.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){n=e[i];let s;if(r=n,!vi(n)&&(r=Mr[(s=String(n)).toLowerCase()],r===void 0))throw new U(`Unknown adapter '${s}'`);if(r)break;o[s||"#"+i]=r}if(!r){const i=Object.entries(o).map(([a,u])=>`adapter ${a} `+(u===!1?"is not supported by the environment":"is not available in the build"));let s=t?i.length>1?`since :
|
|
33
|
+
`+i.map(Qn).join(`
|
|
34
|
+
`):" "+Qn(i[0]):"as no adapter specified";throw new U("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:Mr};function Dr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Nt(null,e)}function $n(e){return Dr(e),e.headers=Re.from(e.headers),e.data=Wr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),qn.getAdapter(e.adapter||qt.adapter)(e).then(function(r){return Dr(e),r.data=Wr.call(e,e.transformResponse,r),r.headers=Re.from(r.headers),r},function(r){return Mn(r)||(Dr(e),r&&r.response&&(r.response.data=Wr.call(e,e.transformResponse,r.response),r.response.headers=Re.from(r.response.headers))),Promise.reject(r)})}const Kn="1.7.9",mr={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{mr[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const eo={};mr.transitional=function(t,n,r){function o(i,s){return"[Axios v"+Kn+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,a)=>{if(t===!1)throw new U(o(s," has been removed"+(n?" in "+n:"")),U.ERR_DEPRECATED);return n&&!eo[s]&&(eo[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,s,a):!0}},mr.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function xi(e,t,n){if(typeof e!="object")throw new U("options must be an object",U.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],s=t[i];if(s){const a=e[i],u=a===void 0||s(a,i,e);if(u!==!0)throw new U("option "+i+" must be "+u,U.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new U("Unknown option "+i,U.ERR_BAD_OPTION)}}const hr={assertOptions:xi,validators:mr},He=hr.validators;class wt{constructor(t){this.defaults=t,this.interceptors={request:new Tn,response:new Tn}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
|
35
|
+
`+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=bt(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&hr.assertOptions(r,{silentJSONParsing:He.transitional(He.boolean),forcedJSONParsing:He.transitional(He.boolean),clarifyTimeoutError:He.transitional(He.boolean)},!1),o!=null&&(h.isFunction(o)?n.paramsSerializer={serialize:o}:hr.assertOptions(o,{encode:He.function,serialize:He.function},!0)),hr.assertOptions(n,{baseUrl:He.spelling("baseURL"),withXsrfToken:He.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=i&&h.merge(i.common,i[n.method]);i&&h.forEach(["delete","get","head","post","put","patch","common"],p=>{delete i[p]}),n.headers=Re.concat(s,i);const a=[];let u=!0;this.interceptors.request.forEach(function(b){typeof b.runWhen=="function"&&b.runWhen(n)===!1||(u=u&&b.synchronous,a.unshift(b.fulfilled,b.rejected))});const d=[];this.interceptors.response.forEach(function(b){d.push(b.fulfilled,b.rejected)});let f,A=0,v;if(!u){const p=[$n.bind(this),void 0];for(p.unshift.apply(p,a),p.push.apply(p,d),v=p.length,f=Promise.resolve(n);A<v;)f=f.then(p[A++],p[A++]);return f}v=a.length;let w=n;for(A=0;A<v;){const p=a[A++],b=a[A++];try{w=p(w)}catch(m){b.call(this,m);break}}try{f=$n.call(this,w)}catch(p){return Promise.reject(p)}for(A=0,v=d.length;A<v;)f=f.then(d[A++],d[A++]);return f}getUri(t){t=bt(this.defaults,t);const n=Un(t.baseURL,t.url);return Bn(n,t.params,t.paramsSerializer)}}h.forEach(["delete","get","head","options"],function(t){wt.prototype[t]=function(n,r){return this.request(bt(r||{},{method:t,url:n,data:(r||{}).data}))}}),h.forEach(["post","put","patch"],function(t){function n(r){return function(i,s,a){return this.request(bt(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}wt.prototype[t]=n(),wt.prototype[t+"Form"]=n(!0)});class Zr{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(a=>{r.subscribe(a),i=a}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},t(function(i,s,a){r.reason||(r.reason=new Nt(i,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Zr(function(o){t=o}),cancel:t}}}function yi(e){return function(n){return e.apply(null,n)}}function ki(e){return h.isObject(e)&&e.isAxiosError===!0}const Gr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Gr).forEach(([e,t])=>{Gr[t]=e});function to(e){const t=new wt(e),n=bn(wt.prototype.request,t);return h.extend(n,wt.prototype,t,{allOwnKeys:!0}),h.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return to(bt(e,o))},n}const ue=to(qt);ue.Axios=wt,ue.CanceledError=Nt,ue.CancelToken=Zr,ue.isCancel=Mn,ue.VERSION=Kn,ue.toFormData=ur,ue.AxiosError=U,ue.Cancel=ue.CanceledError,ue.all=function(t){return Promise.all(t)},ue.spread=yi,ue.isAxiosError=ki,ue.mergeConfig=bt,ue.AxiosHeaders=Re,ue.formToJSON=e=>Wn(h.isHTMLForm(e)?new FormData(e):e),ue.getAdapter=qn.getAdapter,ue.HttpStatusCode=Gr,ue.default=ue;const Kt={data:[{id:"big_image",attributes:{ancestors:[],structure_family:"array",specs:[],metadata:{},structure:{data_type:{endianness:"little",kind:"f",itemsize:8,dt_units:null},chunks:[[4096,4096,1808],[4096,4096,1808]],shape:[1e4,1e4],dims:null,resizable:!1},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/big_image",full:"http://127.0.0.1:8000/api/v1/array/full/big_image",block:"http://127.0.0.1:8000/api/v1/array/block/big_image?block={0},{1}"},meta:null},{id:"small_image",attributes:{ancestors:[],structure_family:"array",specs:[],metadata:{},structure:{data_type:{endianness:"little",kind:"f",itemsize:8,dt_units:null},chunks:[[300],[300]],shape:[300,300],dims:null,resizable:!1},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/small_image",full:"http://127.0.0.1:8000/api/v1/array/full/small_image",block:"http://127.0.0.1:8000/api/v1/array/block/small_image?block={0},{1}"},meta:null},{id:"medium_image",attributes:{ancestors:[],structure_family:"array",specs:[],metadata:{},structure:{data_type:{endianness:"little",kind:"f",itemsize:8,dt_units:null},chunks:[[1e3],[1e3]],shape:[1e3,1e3],dims:null,resizable:!1},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/medium_image",full:"http://127.0.0.1:8000/api/v1/array/full/medium_image",block:"http://127.0.0.1:8000/api/v1/array/block/medium_image?block={0},{1}"},meta:null},{id:"sparse_image",attributes:{ancestors:[],structure_family:"sparse",specs:[],metadata:{},structure:{shape:[100,100],chunks:[[100],[100]],dims:null,resizable:!1,layout:"COO"},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/sparse_image",full:"http://127.0.0.1:8000/api/v1/array/full/sparse_image",block:"http://127.0.0.1:8000/api/v1/array/block/sparse_image?block={0},{1}"},meta:null},{id:"awkward_array",attributes:{ancestors:[],structure_family:"awkward",specs:[],metadata:{},structure:{length:3,form:{class:"ListOffsetArray",offsets:"i64",content:{class:"RecordArray",fields:["x","y"],contents:[{class:"NumpyArray",primitive:"float64",inner_shape:[],parameters:{},form_key:"node2"},{class:"ListOffsetArray",offsets:"i64",content:{class:"NumpyArray",primitive:"int64",inner_shape:[],parameters:{},form_key:"node4"},parameters:{},form_key:"node3"}],parameters:{},form_key:"node1"},parameters:{},form_key:"node0"}},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/awkward_array",buffers:"http://127.0.0.1:8000/api/v1/awkward/buffers/awkward_array",full:"http://127.0.0.1:8000/api/v1/awkward/full/awkward_array"},meta:null},{id:"tiny_image",attributes:{ancestors:[],structure_family:"array",specs:[],metadata:{},structure:{data_type:{endianness:"little",kind:"f",itemsize:8,dt_units:null},chunks:[[50],[50]],shape:[50,50],dims:null,resizable:!1},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/tiny_image",full:"http://127.0.0.1:8000/api/v1/array/full/tiny_image",block:"http://127.0.0.1:8000/api/v1/array/block/tiny_image?block={0},{1}"},meta:null},{id:"tiny_cube",attributes:{ancestors:[],structure_family:"array",specs:[],metadata:{},structure:{data_type:{endianness:"little",kind:"f",itemsize:8,dt_units:null},chunks:[[50],[50],[50]],shape:[50,50,50],dims:null,resizable:!1},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/tiny_cube",full:"http://127.0.0.1:8000/api/v1/array/full/tiny_cube",block:"http://127.0.0.1:8000/api/v1/array/block/tiny_cube?block={0},{1},{2}"},meta:null},{id:"tiny_hypercube",attributes:{ancestors:[],structure_family:"array",specs:[],metadata:{},structure:{data_type:{endianness:"little",kind:"f",itemsize:8,dt_units:null},chunks:[[27,23],[27,23],[27,23],[27,23],[27,23]],shape:[50,50,50,50,50],dims:null,resizable:!1},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/tiny_hypercube",full:"http://127.0.0.1:8000/api/v1/array/full/tiny_hypercube",block:"http://127.0.0.1:8000/api/v1/array/block/tiny_hypercube?block={0},{1},{2},{3},{4}"},meta:null},{id:"short_table",attributes:{ancestors:[],structure_family:"table",specs:[{name:"dataframe",version:null}],metadata:{animal:"dog",color:"red"},structure:{arrow_schema:"data:application/vnd.apache.arrow.file;base64,/////+gDAAAQAAAAAAAKAA4ABgAFAAgACgAAAAABBAAQAAAAAAAKAAwAAAAEAAgACgAAAOACAAAEAAAAAQAAAAwAAAAIAAwABAAIAAgAAAC4AgAABAAAAKkCAAB7ImluZGV4X2NvbHVtbnMiOiBbImluZGV4Il0sICJjb2x1bW5faW5kZXhlcyI6IFt7Im5hbWUiOiBudWxsLCAiZmllbGRfbmFtZSI6IG51bGwsICJwYW5kYXNfdHlwZSI6ICJ1bmljb2RlIiwgIm51bXB5X3R5cGUiOiAib2JqZWN0IiwgIm1ldGFkYXRhIjogeyJlbmNvZGluZyI6ICJVVEYtOCJ9fV0sICJjb2x1bW5zIjogW3sibmFtZSI6ICJBIiwgImZpZWxkX25hbWUiOiAiQSIsICJwYW5kYXNfdHlwZSI6ICJmbG9hdDY0IiwgIm51bXB5X3R5cGUiOiAiZmxvYXQ2NCIsICJtZXRhZGF0YSI6IG51bGx9LCB7Im5hbWUiOiAiQiIsICJmaWVsZF9uYW1lIjogIkIiLCAicGFuZGFzX3R5cGUiOiAiZmxvYXQ2NCIsICJudW1weV90eXBlIjogImZsb2F0NjQiLCAibWV0YWRhdGEiOiBudWxsfSwgeyJuYW1lIjogIkMiLCAiZmllbGRfbmFtZSI6ICJDIiwgInBhbmRhc190eXBlIjogImZsb2F0NjQiLCAibnVtcHlfdHlwZSI6ICJmbG9hdDY0IiwgIm1ldGFkYXRhIjogbnVsbH0sIHsibmFtZSI6ICJpbmRleCIsICJmaWVsZF9uYW1lIjogImluZGV4IiwgInBhbmRhc190eXBlIjogImludDY0IiwgIm51bXB5X3R5cGUiOiAiaW50NjQiLCAibWV0YWRhdGEiOiBudWxsfV0sICJjcmVhdG9yIjogeyJsaWJyYXJ5IjogInB5YXJyb3ciLCAidmVyc2lvbiI6ICIxOC4xLjAifSwgInBhbmRhc192ZXJzaW9uIjogIjIuMi4zIn0AAAAGAAAAcGFuZGFzAAAEAAAAqAAAAGwAAABAAAAABAAAAHj///8AAAECEAAAACAAAAAEAAAAAAAAAAUAAABpbmRleAAAAAgADAAIAAcACAAAAAAAAAFAAAAAsP///wAAAQMQAAAAFAAAAAQAAAAAAAAAAQAAAEMAAACi////AAACANj///8AAAEDEAAAABQAAAAEAAAAAAAAAAEAAABCAAAAyv///wAAAgAQABQACAAGAAcADAAAABAAEAAAAAAAAQMQAAAAGAAAAAQAAAAAAAAAAQAAAEEABgAIAAYABgAAAAAAAgAAAAAA",npartitions:1,columns:["A","B","C"],resizable:!1},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/short_table",full:"http://127.0.0.1:8000/api/v1/table/full/short_table",partition:"http://127.0.0.1:8000/api/v1/table/partition/short_table?partition={index}"},meta:null},{id:"long_table",attributes:{ancestors:[],structure_family:"table",specs:[{name:"dataframe",version:null}],metadata:{animal:"dog",color:"green"},structure:{arrow_schema:"data:application/vnd.apache.arrow.file;base64,/////+gDAAAQAAAAAAAKAA4ABgAFAAgACgAAAAABBAAQAAAAAAAKAAwAAAAEAAgACgAAAOACAAAEAAAAAQAAAAwAAAAIAAwABAAIAAgAAAC4AgAABAAAAKkCAAB7ImluZGV4X2NvbHVtbnMiOiBbImluZGV4Il0sICJjb2x1bW5faW5kZXhlcyI6IFt7Im5hbWUiOiBudWxsLCAiZmllbGRfbmFtZSI6IG51bGwsICJwYW5kYXNfdHlwZSI6ICJ1bmljb2RlIiwgIm51bXB5X3R5cGUiOiAib2JqZWN0IiwgIm1ldGFkYXRhIjogeyJlbmNvZGluZyI6ICJVVEYtOCJ9fV0sICJjb2x1bW5zIjogW3sibmFtZSI6ICJBIiwgImZpZWxkX25hbWUiOiAiQSIsICJwYW5kYXNfdHlwZSI6ICJmbG9hdDY0IiwgIm51bXB5X3R5cGUiOiAiZmxvYXQ2NCIsICJtZXRhZGF0YSI6IG51bGx9LCB7Im5hbWUiOiAiQiIsICJmaWVsZF9uYW1lIjogIkIiLCAicGFuZGFzX3R5cGUiOiAiZmxvYXQ2NCIsICJudW1weV90eXBlIjogImZsb2F0NjQiLCAibWV0YWRhdGEiOiBudWxsfSwgeyJuYW1lIjogIkMiLCAiZmllbGRfbmFtZSI6ICJDIiwgInBhbmRhc190eXBlIjogImZsb2F0NjQiLCAibnVtcHlfdHlwZSI6ICJmbG9hdDY0IiwgIm1ldGFkYXRhIjogbnVsbH0sIHsibmFtZSI6ICJpbmRleCIsICJmaWVsZF9uYW1lIjogImluZGV4IiwgInBhbmRhc190eXBlIjogImludDY0IiwgIm51bXB5X3R5cGUiOiAiaW50NjQiLCAibWV0YWRhdGEiOiBudWxsfV0sICJjcmVhdG9yIjogeyJsaWJyYXJ5IjogInB5YXJyb3ciLCAidmVyc2lvbiI6ICIxOC4xLjAifSwgInBhbmRhc192ZXJzaW9uIjogIjIuMi4zIn0AAAAGAAAAcGFuZGFzAAAEAAAAqAAAAGwAAABAAAAABAAAAHj///8AAAECEAAAACAAAAAEAAAAAAAAAAUAAABpbmRleAAAAAgADAAIAAcACAAAAAAAAAFAAAAAsP///wAAAQMQAAAAFAAAAAQAAAAAAAAAAQAAAEMAAACi////AAACANj///8AAAEDEAAAABQAAAAEAAAAAAAAAAEAAABCAAAAyv///wAAAgAQABQACAAGAAcADAAAABAAEAAAAAAAAQMQAAAAGAAAAAQAAAAAAAAAAQAAAEEABgAIAAYABgAAAAAAAgAAAAAA",npartitions:5,columns:["A","B","C"],resizable:!1},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/long_table",full:"http://127.0.0.1:8000/api/v1/table/full/long_table",partition:"http://127.0.0.1:8000/api/v1/table/partition/long_table?partition={index}"},meta:null},{id:"wide_table",attributes:{ancestors:[],structure_family:"table",specs:[{name:"dataframe",version:null}],metadata:{animal:"dog",color:"red"},structure:{arrow_schema:"data:application/vnd.apache.arrow.file;base64,/////xgRAAAQAAAAAAAKAA4ABgAFAAgACgAAAAABBAAQAAAAAAAKAAwAAAAEAAgACgAAACAMAAAEAAAAAQAAAAwAAAAIAAwABAAIAAgAAAD4CwAABAAAAOoLAAB7ImluZGV4X2NvbHVtbnMiOiBbImluZGV4Il0sICJjb2x1bW5faW5kZXhlcyI6IFt7Im5hbWUiOiBudWxsLCAiZmllbGRfbmFtZSI6IG51bGwsICJwYW5kYXNfdHlwZSI6ICJ1bmljb2RlIiwgIm51bXB5X3R5cGUiOiAib2JqZWN0IiwgIm1ldGFkYXRhIjogeyJlbmNvZGluZyI6ICJVVEYtOCJ9fV0sICJjb2x1bW5zIjogW3sibmFtZSI6ICJBIiwgImZpZWxkX25hbWUiOiAiQSIsICJwYW5kYXNfdHlwZSI6ICJmbG9hdDY0IiwgIm51bXB5X3R5cGUiOiAiZmxvYXQ2NCIsICJtZXRhZGF0YSI6IG51bGx9LCB7Im5hbWUiOiAiQiIsICJmaWVsZF9uYW1lIjogIkIiLCAicGFuZGFzX3R5cGUiOiAiZmxvYXQ2NCIsICJudW1weV90eXBlIjogImZsb2F0NjQiLCAibWV0YWRhdGEiOiBudWxsfSwgeyJuYW1lIjogIkMiLCAiZmllbGRfbmFtZSI6ICJDIiwgInBhbmRhc190eXBlIjogImZsb2F0NjQiLCAibnVtcHlfdHlwZSI6ICJmbG9hdDY0IiwgIm1ldGFkYXRhIjogbnVsbH0sIHsibmFtZSI6ICJEIiwgImZpZWxkX25hbWUiOiAiRCIsICJwYW5kYXNfdHlwZSI6ICJmbG9hdDY0IiwgIm51bXB5X3R5cGUiOiAiZmxvYXQ2NCIsICJtZXRhZGF0YSI6IG51bGx9LCB7Im5hbWUiOiAiRSIsICJmaWVsZF9uYW1lIjogIkUiLCAicGFuZGFzX3R5cGUiOiAiZmxvYXQ2NCIsICJudW1weV90eXBlIjogImZsb2F0NjQiLCAibWV0YWRhdGEiOiBudWxsfSwgeyJuYW1lIjogIkYiLCAiZmllbGRfbmFtZSI6ICJGIiwgInBhbmRhc190eXBlIjogImZsb2F0NjQiLCAibnVtcHlfdHlwZSI6ICJmbG9hdDY0IiwgIm1ldGFkYXRhIjogbnVsbH0sIHsibmFtZSI6ICJHIiwgImZpZWxkX25hbWUiOiAiRyIsICJwYW5kYXNfdHlwZSI6ICJmbG9hdDY0IiwgIm51bXB5X3R5cGUiOiAiZmxvYXQ2NCIsICJtZXRhZGF0YSI6IG51bGx9LCB7Im5hbWUiOiAiSCIsICJmaWVsZF9uYW1lIjogIkgiLCAicGFuZGFzX3R5cGUiOiAiZmxvYXQ2NCIsICJudW1weV90eXBlIjogImZsb2F0NjQiLCAibWV0YWRhdGEiOiBudWxsfSwgeyJuYW1lIjogIkkiLCAiZmllbGRfbmFtZSI6ICJJIiwgInBhbmRhc190eXBlIjogImZsb2F0NjQiLCAibnVtcHlfdHlwZSI6ICJmbG9hdDY0IiwgIm1ldGFkYXRhIjogbnVsbH0sIHsibmFtZSI6ICJKIiwgImZpZWxkX25hbWUiOiAiSiIsICJwYW5kYXNfdHlwZSI6ICJmbG9hdDY0IiwgIm51bXB5X3R5cGUiOiAiZmxvYXQ2NCIsICJtZXRhZGF0YSI6IG51bGx9LCB7Im5hbWUiOiAiSyIsICJmaWVsZF9uYW1lIjogIksiLCAicGFuZGFzX3R5cGUiOiAiZmxvYXQ2NCIsICJudW1weV90eXBlIjogImZsb2F0NjQiLCAibWV0YWRhdGEiOiBudWxsfSwgeyJuYW1lIjogIkwiLCAiZmllbGRfbmFtZSI6ICJMIiwgInBhbmRhc190eXBlIjogImZsb2F0NjQiLCAibnVtcHlfdHlwZSI6ICJmbG9hdDY0IiwgIm1ldGFkYXRhIjogbnVsbH0sIHsibmFtZSI6ICJNIiwgImZpZWxkX25hbWUiOiAiTSIsICJwYW5kYXNfdHlwZSI6ICJmbG9hdDY0IiwgIm51bXB5X3R5cGUiOiAiZmxvYXQ2NCIsICJtZXRhZGF0YSI6IG51bGx9LCB7Im5hbWUiOiAiTiIsICJmaWVsZF9uYW1lIjogIk4iLCAicGFuZGFzX3R5cGUiOiAiZmxvYXQ2NCIsICJudW1weV90eXBlIjogImZsb2F0NjQiLCAibWV0YWRhdGEiOiBudWxsfSwgeyJuYW1lIjogIk8iLCAiZmllbGRfbmFtZSI6ICJPIiwgInBhbmRhc190eXBlIjogImZsb2F0NjQiLCAibnVtcHlfdHlwZSI6ICJmbG9hdDY0IiwgIm1ldGFkYXRhIjogbnVsbH0sIHsibmFtZSI6ICJQIiwgImZpZWxkX25hbWUiOiAiUCIsICJwYW5kYXNfdHlwZSI6ICJmbG9hdDY0IiwgIm51bXB5X3R5cGUiOiAiZmxvYXQ2NCIsICJtZXRhZGF0YSI6IG51bGx9LCB7Im5hbWUiOiAiUSIsICJmaWVsZF9uYW1lIjogIlEiLCAicGFuZGFzX3R5cGUiOiAiZmxvYXQ2NCIsICJudW1weV90eXBlIjogImZsb2F0NjQiLCAibWV0YWRhdGEiOiBudWxsfSwgeyJuYW1lIjogIlIiLCAiZmllbGRfbmFtZSI6ICJSIiwgInBhbmRhc190eXBlIjogImZsb2F0NjQiLCAibnVtcHlfdHlwZSI6ICJmbG9hdDY0IiwgIm1ldGFkYXRhIjogbnVsbH0sIHsibmFtZSI6ICJTIiwgImZpZWxkX25hbWUiOiAiUyIsICJwYW5kYXNfdHlwZSI6ICJmbG9hdDY0IiwgIm51bXB5X3R5cGUiOiAiZmxvYXQ2NCIsICJtZXRhZGF0YSI6IG51bGx9LCB7Im5hbWUiOiAiVCIsICJmaWVsZF9uYW1lIjogIlQiLCAicGFuZGFzX3R5cGUiOiAiZmxvYXQ2NCIsICJudW1weV90eXBlIjogImZsb2F0NjQiLCAibWV0YWRhdGEiOiBudWxsfSwgeyJuYW1lIjogIlUiLCAiZmllbGRfbmFtZSI6ICJVIiwgInBhbmRhc190eXBlIjogImZsb2F0NjQiLCAibnVtcHlfdHlwZSI6ICJmbG9hdDY0IiwgIm1ldGFkYXRhIjogbnVsbH0sIHsibmFtZSI6ICJWIiwgImZpZWxkX25hbWUiOiAiViIsICJwYW5kYXNfdHlwZSI6ICJmbG9hdDY0IiwgIm51bXB5X3R5cGUiOiAiZmxvYXQ2NCIsICJtZXRhZGF0YSI6IG51bGx9LCB7Im5hbWUiOiAiVyIsICJmaWVsZF9uYW1lIjogIlciLCAicGFuZGFzX3R5cGUiOiAiZmxvYXQ2NCIsICJudW1weV90eXBlIjogImZsb2F0NjQiLCAibWV0YWRhdGEiOiBudWxsfSwgeyJuYW1lIjogIlgiLCAiZmllbGRfbmFtZSI6ICJYIiwgInBhbmRhc190eXBlIjogImZsb2F0NjQiLCAibnVtcHlfdHlwZSI6ICJmbG9hdDY0IiwgIm1ldGFkYXRhIjogbnVsbH0sIHsibmFtZSI6ICJZIiwgImZpZWxkX25hbWUiOiAiWSIsICJwYW5kYXNfdHlwZSI6ICJmbG9hdDY0IiwgIm51bXB5X3R5cGUiOiAiZmxvYXQ2NCIsICJtZXRhZGF0YSI6IG51bGx9LCB7Im5hbWUiOiAiWiIsICJmaWVsZF9uYW1lIjogIloiLCAicGFuZGFzX3R5cGUiOiAiZmxvYXQ2NCIsICJudW1weV90eXBlIjogImZsb2F0NjQiLCAibWV0YWRhdGEiOiBudWxsfSwgeyJuYW1lIjogImluZGV4IiwgImZpZWxkX25hbWUiOiAiaW5kZXgiLCAicGFuZGFzX3R5cGUiOiAiaW50NjQiLCAibnVtcHlfdHlwZSI6ICJpbnQ2NCIsICJtZXRhZGF0YSI6IG51bGx9XSwgImNyZWF0b3IiOiB7ImxpYnJhcnkiOiAicHlhcnJvdyIsICJ2ZXJzaW9uIjogIjE4LjEuMCJ9LCAicGFuZGFzX3ZlcnNpb24iOiAiMi4yLjMifQAABgAAAHBhbmRhcwAAGwAAAJwEAABgBAAANAQAAAgEAADcAwAAsAMAAIQDAABYAwAALAMAAAADAADUAgAAqAIAAHwCAABQAgAAJAIAAPgBAADMAQAAoAEAAHQBAABIAQAAHAEAAPAAAADEAAAAmAAAAGwAAABAAAAABAAAAOD7//8AAAECEAAAACAAAAAEAAAAAAAAAAUAAABpbmRleAAAAAgADAAIAAcACAAAAAAAAAFAAAAAGPz//wAAAQMQAAAAFAAAAAQAAAAAAAAAAQAAAFoAAAAK/P//AAACAED8//8AAAEDEAAAABQAAAAEAAAAAAAAAAEAAABZAAAAMvz//wAAAgBo/P//AAABAxAAAAAUAAAABAAAAAAAAAABAAAAWAAAAFr8//8AAAIAkPz//wAAAQMQAAAAFAAAAAQAAAAAAAAAAQAAAFcAAACC/P//AAACALj8//8AAAEDEAAAABQAAAAEAAAAAAAAAAEAAABWAAAAqvz//wAAAgDg/P//AAABAxAAAAAUAAAABAAAAAAAAAABAAAAVQAAANL8//8AAAIACP3//wAAAQMQAAAAFAAAAAQAAAAAAAAAAQAAAFQAAAD6/P//AAACADD9//8AAAEDEAAAABQAAAAEAAAAAAAAAAEAAABTAAAAIv3//wAAAgBY/f//AAABAxAAAAAUAAAABAAAAAAAAAABAAAAUgAAAEr9//8AAAIAgP3//wAAAQMQAAAAFAAAAAQAAAAAAAAAAQAAAFEAAABy/f//AAACAKj9//8AAAEDEAAAABQAAAAEAAAAAAAAAAEAAABQAAAAmv3//wAAAgDQ/f//AAABAxAAAAAUAAAABAAAAAAAAAABAAAATwAAAML9//8AAAIA+P3//wAAAQMQAAAAFAAAAAQAAAAAAAAAAQAAAE4AAADq/f//AAACACD+//8AAAEDEAAAABQAAAAEAAAAAAAAAAEAAABNAAAAEv7//wAAAgBI/v//AAABAxAAAAAUAAAABAAAAAAAAAABAAAATAAAADr+//8AAAIAcP7//wAAAQMQAAAAFAAAAAQAAAAAAAAAAQAAAEsAAABi/v//AAACAJj+//8AAAEDEAAAABQAAAAEAAAAAAAAAAEAAABKAAAAiv7//wAAAgDA/v//AAABAxAAAAAUAAAABAAAAAAAAAABAAAASQAAALL+//8AAAIA6P7//wAAAQMQAAAAFAAAAAQAAAAAAAAAAQAAAEgAAADa/v//AAACABD///8AAAEDEAAAABQAAAAEAAAAAAAAAAEAAABHAAAAAv///wAAAgA4////AAABAxAAAAAUAAAABAAAAAAAAAABAAAARgAAACr///8AAAIAYP///wAAAQMQAAAAFAAAAAQAAAAAAAAAAQAAAEUAAABS////AAACAIj///8AAAEDEAAAABQAAAAEAAAAAAAAAAEAAABEAAAAev///wAAAgCw////AAABAxAAAAAUAAAABAAAAAAAAAABAAAAQwAAAKL///8AAAIA2P///wAAAQMQAAAAFAAAAAQAAAAAAAAAAQAAAEIAAADK////AAACABAAFAAIAAYABwAMAAAAEAAQAAAAAAABAxAAAAAYAAAABAAAAAAAAAABAAAAQQAGAAgABgAGAAAAAAACAA==",npartitions:1,columns:["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],resizable:!1},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/wide_table",full:"http://127.0.0.1:8000/api/v1/table/full/wide_table",partition:"http://127.0.0.1:8000/api/v1/table/partition/wide_table?partition={index}"},meta:null},{id:"structured_data",attributes:{ancestors:[],structure_family:"container",specs:[],metadata:{animal:"cat",color:"green"},structure:{contents:null,count:2},sorting:[{key:"_",direction:1}],data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/structured_data",search:"http://127.0.0.1:8000/api/v1/search/structured_data",full:"http://127.0.0.1:8000/api/v1/container/full/structured_data"},meta:null},{id:"flat_array",attributes:{ancestors:[],structure_family:"array",specs:[],metadata:{},structure:{data_type:{endianness:"little",kind:"f",itemsize:8,dt_units:null},chunks:[[100]],shape:[100],dims:null,resizable:!1},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/flat_array",full:"http://127.0.0.1:8000/api/v1/array/full/flat_array",block:"http://127.0.0.1:8000/api/v1/array/block/flat_array?block={0}"},meta:null},{id:"low_entropy",attributes:{ancestors:[],structure_family:"array",specs:[],metadata:{},structure:{data_type:{endianness:"little",kind:"f",itemsize:8,dt_units:null},chunks:[[100],[100]],shape:[100,100],dims:null,resizable:!1},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/low_entropy",full:"http://127.0.0.1:8000/api/v1/array/full/low_entropy",block:"http://127.0.0.1:8000/api/v1/array/block/low_entropy?block={0},{1}"},meta:null},{id:"high_entropy",attributes:{ancestors:[],structure_family:"array",specs:[],metadata:{},structure:{data_type:{endianness:"little",kind:"f",itemsize:8,dt_units:null},chunks:[[100],[100]],shape:[100,100],dims:null,resizable:!1},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/high_entropy",full:"http://127.0.0.1:8000/api/v1/array/full/high_entropy",block:"http://127.0.0.1:8000/api/v1/array/block/high_entropy?block={0},{1}"},meta:null},{id:"dynamic",attributes:{ancestors:[],structure_family:"array",specs:[],metadata:{},structure:{data_type:{endianness:"little",kind:"f",itemsize:8,dt_units:null},chunks:[[3],[3]],shape:[3,3],dims:null,resizable:!1},sorting:null,data_sources:null},links:{self:"http://127.0.0.1:8000/api/v1/metadata/dynamic",full:"http://127.0.0.1:8000/api/v1/array/full/dynamic",block:"http://127.0.0.1:8000/api/v1/array/block/dynamic?block={0},{1}"},meta:null}],error:null,links:{self:"http://127.0.0.1:8000/api/v1/search/?page[offset]=0&page[limit]=100",first:"http://127.0.0.1:8000/api/v1/search/?page[offset]=0&page[limit]=100",last:"http://127.0.0.1:8000/api/v1/search/?page[offset]=0&page[limit]=100",next:null,prev:null},meta:{count:16}},gr={folder:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",viewBox:"0 0 256 256",children:l.jsx("path",{fill:"currentColor",d:"M216,72H131.31L104,44.69A15.86,15.86,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.4,15.4,0,0,0,39.38,216H216.89A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM40,56H92.69l16,16H40ZM216,200H40V88H216Z"})}),brackestSqaure:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",viewBox:"0 0 256 256",children:l.jsx("path",{fill:"currentColor",d:"M48,48V208H80a8,8,0,0,1,0,16H40a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8H80a8,8,0,0,1,0,16ZM216,32H176a8,8,0,0,0,0,16h32V208H176a8,8,0,0,0,0,16h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32Z"})}),table:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",viewBox:"0 0 256 256",children:l.jsx("path",{fill:"currentColor",d:"M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM40,112H80v32H40Zm56,0H216v32H96ZM216,64V96H40V64ZM40,160H80v32H40Zm176,32H96V160H216v32Z"})}),question:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",viewBox:"0 0 256 256",children:l.jsx("path",{fill:"currentColor",d:"M140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180ZM128,72c-22.06,0-40,16.15-40,36v4a8,8,0,0,0,16,0v-4c0-11,10.77-20,24-20s24,9,24,20-10.77,20-24,20a8,8,0,0,0-8,8v8a8,8,0,0,0,16,0v-.72c18.24-3.35,32-17.9,32-35.28C168,88.15,150.06,72,128,72Zm104,56A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"})})},Ii=(e,t)=>{var n={...e.links};const r=t||Vr(),o=Bt(e);return n.default=r+"/"+o,n},ro=e=>{var t=gr.question;return(e==="array"||e==="awkward"||e==="sparse")&&(t=gr.brackestSqaure),e==="table"&&(t=gr.table),(e==="container"||e==="composite")&&(t=gr.folder),t},Bt=(e,t)=>{var r=e.attributes.ancestors.length>0?e.attributes.ancestors.join("/")+"/":"";return r+=e.id,r},Ci={b:1,B:1,h:2,H:2,i:4,I:4,l:8,L:8,q:8,Q:8,f:4,d:8,g:16,F:8,D:16,G:32,S:1,a:1,U:4,"?":1,O:8,M:8,m:8,V:1},Si=e=>{window.open(e,"_blank","noopener,noreferrer")},Ei=(e,t)=>{var n=[];for(let r=0;r<e;r++){const o={min:0,max:t[r]-1,index:r,value:Math.floor(t[r]/2)};n.push(o)}return n},ji=()=>{const e=localStorage.getItem("lastSearchHistory");if(e)return e},br=e=>{if(typeof e=="string"||!e)localStorage.setItem("lastSearchHistory","");else if(e){const t=Bt(e);return localStorage.setItem("lastSearchHistory",t),t}},no=()=>{const e=localStorage.getItem("tiledApiKey");if(e)return e.length===0?void 0:e};ue.defaults.withCredentials=!0;var vt=null,Ur=!1;const Vr=()=>{const e=window.location.hostname;try{return`http://${e}:8000/api/v1`}catch(t){return console.error("error parsing VITE_API_TILED_URL env: ",t),`http://${e}:8000/api/v1`}},Ri=()=>{try{return null}catch(e){return console.error("error parsing VITE_API_TILED_API_KEY: ",e),null}},_i=e=>{e?ue.defaults.headers.common.Authorization=`Bearer ${e}`:delete ue.defaults.headers.common.Authorization},wr=Vr();Ri();const Tt=async(e,t,n,r,o)=>{if(r)return n&&n(Kt),Kt;try{const i=t||wr,s=new URLSearchParams;vt&&s.append("api_key",vt),Ur&&s.append("sort","-"),o&&Object.keys(o).forEach(f=>{s.append(f,o[f])});const a=s.toString(),u=i+"/search/"+(e||"")+(a?"?"+a:""),d=await ue.get(u);return n&&n(d.data),d.data}catch(i){return console.error("Error searching path: ",i),console.log("If you are getting a CORS error, make sure to start tiled with the TILED_ALLOW_ORIGINS environment variable set to your frontend URL"),null}},Oi=async(e,t,n,r,o)=>{const i=no();i&&i!==e&&(localStorage.removeItem("tiledApiKey"),localStorage.setItem("tiledApiKey",e)),vt=e;try{const s=n||wr,a=new URLSearchParams;a.append("api_key",e),Ur&&a.append("sort","-");const u=a.toString(),d=s+"/search/"+(t||"")+"?"+u;return(await ue.get(d)).data}catch(s){return console.error("Error searching path: ",s),console.log("If you are getting a CORS error, make sure to start tiled with the TILED_ALLOW_ORIGINS environment variable set to your frontend URL"),null}},oo=async(e,t,n,r)=>{try{const o=n||wr,s=(await ue.get(o+"/table/partition/"+e+"?partition="+t+"&format=application/json-seq"+(vt?"&api_key="+vt:""))).data.trim().split(`
|
|
36
|
+
`).map(a=>JSON.parse(a));return r&&r(s),s}catch(o){return console.error("Error searching table data: ",o),null}},so=(e,t,n,r,o)=>{const i=r&&(r==null?void 0:r.length)>0?r.join(",")+",":"";return(o||wr)+"/array/full/"+e+"?format=image/png&slice="+i+"::"+t+",::"+n+(vt?"&api_key="+vt:"")},Li=e=>{Ur=e||!1};Kt.data,Kt.data,Kt.data;const Ni="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAAjCAYAAADBl8lGAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAceSURBVHgBzVldbFRFFD4zdyktP3WTtiEqNVtF8SfaNhipEsw2kRBSA/SFRKxk64PBH9JWEx98aUl8MCpsidGQqGFLiPjWiDSgMXaJARKjtPEfMbJaBAktLlBaoLt3PHN/5s6dO3e725bo2UzuzJmZc+abc+bMuXcJ3CRKvPNVHAjZAIzFCGMNWI+JTsYy2M4wQoax/klq2+o03CQiMIeUSA5GIRLpANPsxGY0oIU5dRZYQQaZaciz7amu5gzMIc0ZwC27BjsIgx6UGPV1uKB0pOljFHr2bmveDnNEswbIrcYI68elxdU+xvxaiANIYTuDHbyORQmjzXNhzVkBRHAxE/KDWI1BSRRmVpnPshSgNdW1Jg2zoBkDtMCxKQuculzZQkzzBAgeS9C0eR0DUfO+WYCcEcBE8lAsz8ggao8JKboA4vaBx+cuyFTU4J8vxtiUNajZmOpal4EZEIUSyQJncnAMLWcix8Sq/QT3KQqzedZqbZ7JgnPU+UySgzqiOcbP+MyoKAtuTn7eYJi5OA6vxyY+PbdkhSZqjlqY4UCStXB+BFYsWwLf/nYerl7POXPM7fteaemBEikUYCLZH82Z5R0EmHWnMdd13EWyEDRkmn6QBGmo5pYKeG3TSqiurICu99MwdmXSns0gGzGu16W6WrNQAmldtO3twx15s+w0ukwPYwzBWccdrCezn8QOAVJxQDj9Lp+IJ3jjmDrXKy44Vx7z5EVzubJOKJECAJ/ZcTAJkO/lwILbzJQag3AnZb4ZLNAXlM2BeeA04wlsgBLJB5CDw83qlJUTorGSukCiswYEeCQATDceNP2i3bA5OdAAJVDErbQlB7oxF+x0Q7QbDFhINAmEewD/+SsUgaaNTsGxrj7DZP1tOz7tw8awaRqZj15tGYbpANqhP98j0ijily9XmKpcGS/P920CgD8BILbhmaxLjbiSfOY9Y1jp5p3UYNzrMoSQXkpu9OkCkAUwb5rdsnLQ1KFAPwvpl3JLrRxGgtcGqPOx3Lu0yro2KubPg4XlERi9NAl/XLgMv4yMwejlScyoGMaMeZ2b3xxoVS0asbOSfKLghchAm3GoSbS6UpmvAxtwAKX/vtoqePyBpRZAHU3gHfnZ0O/Qf/wUVxAzDDa0ZeehxN6X1/W5YyhaL+5Kd3+gFgLBupYnz3O7bD4hIMn3NLpj5bpLz62tDwXHaQEmBK1N98DrbavRsvMsPZgQ9MqBiAIlG4izALFeqdhtIvGI8lTrMo9IMom0Z14fkfpIATfi1hoZHYeh0xfg5Fn/UbujphI61q9wdUcNIEm3L4LXQEzdOTkTIbLrecmKfe7UtiJDGuJzX6oZb19zeoRffD8CB745bYF0qXpxObQ33w/Lb7Pfr7ml1zbWoctm+JrjePTimKCnKSG0wd1tb9exUKxTh0elfuFyHh/k+eBYxB0HQRn+8UR4wOj4tQA4Duzjo6d84DiNXrkGbx044bPmxqZlQg8zoNvaTBWcW6jko+6C+WThsuD1+RZL7dwhsDkguS1IMoSLUtEng+AAC9G7h78T4BdglOWWdGQ38HwapdKsvKsCkGQlkBZKOQC3LVlQWJ3YIH18h+fJlGVQR27wEB47eQ6mo4kbeDbHxkWbp3qObvTdhTFuqCzIrkMVF1JdV3Ez0IyZjk81PJCsK1uwGBoZvSLqNZULPJ0REo3giT+CKmPFp1Waa1mNOqHkvSoR0Mvk7sbDfylUVVku6tyilrtzqZjpUAOMYSK7nFoCfbTAGBouR3JHLd+py+62avmtRQGsrVos6mcuXhWy+DbRXAVNoYKsrdwulHj10EKVOi1inDw2ZPzJc15U5FdAbfWiguCeeHCpdWVwGkOX/vXcJSHrg+fXpGmqvRkl0l2ycqDKQnRFB2y6cYXAOuXLH87abubQi2sfEgBUaqyrgfUP3ynax06dl2QZac6znD1XZvaW5fGTO36aUO91lcL4unEAwUScaeoyTeZMOHjiT9jUZC+cg3vj6cesiDqUGcUzOgVViyss93UveU5jeIceHBoR1xQ1WZ+8Dtj64dEEtvYUVl8cLCY+UahhR5/zMIcnB56Whlp4srEWiqGx8euw89CPcNFLFDK7n11Vp8qErXuO92AQ6Ib/CTUtq4GW+tuhatH80DGDP/8NA8N/yW6dxc8tjbvbH83wRiCmv7D36wQ+ECSJyZ1+S7jfW0hAAHNGEmmG7vLQvYGF1VfeVQ13L1kkgE7eyMOZfyZg8KfzMDGVl9JklmV5aH6v/RHxTqi9tDr3D8WmpnIbwTDwHyNMxolmleobsq9NpGwdij+IxbRl/b5+ko5Mkfbe9sYMhEzR0kv7h+LUhDj+R1CPgS+GH5s54Khfj+aVw7cW1dbOfouzKp/D4Jn09kM+4/gHKn6XwdYRowJSva2N2u+l0wIMI25l+I+o9ym/lQrRvwn19Sc8QrRKAAAAAElFTkSuQmCC",ct={arrowsPointingOut:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 3.75v4.5m0-4.5h4.5m-4.5 0L9 9M3.75 20.25v-4.5m0 4.5h4.5m-4.5 0L9 15M20.25 3.75h-4.5m4.5 0v4.5m0-4.5L15 9m5.25 11.25h-4.5m4.5 0v-4.5m0 4.5L15 15"})}),arrowsPointingIn:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 9V4.5M9 9H4.5M9 9 3.75 3.75M9 15v4.5M9 15H4.5M9 15l-5.25 5.25M15 9h4.5M15 9V4.5M15 9l5.25-5.25M15 15h4.5M15 15v4.5m0-4.5 5.25 5.25"})}),arrowDownTray:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3"})}),arrowTopRight:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"})}),arrowUturnLeft:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 15 3 9m0 0 6-6M3 9h12a6 6 0 0 1 0 12h-3"})}),arrowRefresh:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"})}),arrowLongLeft:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 15.75 3 12m0 0 3.75-3.75M3 12h18"})}),adjustmentsVertical:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 13.5V3.75m0 9.75a1.5 1.5 0 0 1 0 3m0-3a1.5 1.5 0 0 0 0 3m0 3.75V16.5m12-3V3.75m0 9.75a1.5 1.5 0 0 1 0 3m0-3a1.5 1.5 0 0 0 0 3m0 3.75V16.5m-6-9V3.75m0 3.75a1.5 1.5 0 0 1 0 3m0-3a1.5 1.5 0 0 0 0 3m0 9.75V10.5"})}),chatBubbleOvalEllipsisLeft:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.625 12a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H8.25m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H12m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0h-.375M21 12c0 4.556-4.03 8.25-9 8.25a9.764 9.764 0 0 1-2.555-.337A5.972 5.972 0 0 1 5.41 20.97a5.969 5.969 0 0 1-.474-.065 4.48 4.48 0 0 0 .978-2.025c.09-.457-.133-.901-.467-1.226C3.93 16.178 3 14.189 3 12c0-4.556 4.03-8.25 9-8.25s9 3.694 9 8.25Z"})}),chevronDown:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"})}),chevronLeft:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 19.5 8.25 12l7.5-7.5"})}),chevronRight:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"})}),chevronUp:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 15.75 7.5-7.5 7.5 7.5"})}),checkmarkInCircle:l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",strokeWidth:1.5,stroke:"currentColor",className:"",children:[l.jsx("circle",{cx:"16",cy:"16",r:"14",stroke:"currentColor",strokeWidth:1.5}),l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8 17.25 6 6 9-13.5"})]}),circleStack:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20.25 6.375c0 2.278-3.694 4.125-8.25 4.125S3.75 8.653 3.75 6.375m16.5 0c0-2.278-3.694-4.125-8.25-4.125S3.75 4.097 3.75 6.375m16.5 0v11.25c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125V6.375m16.5 0v3.75m-16.5-3.75v3.75m16.5 0v3.75C20.25 16.153 16.556 18 12 18s-8.25-1.847-8.25-4.125v-3.75m16.5 0c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125"})}),clipBoardDocument:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 7.5V6.108c0-1.135.845-2.098 1.976-2.192.373-.03.748-.057 1.123-.08M15.75 18H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08M15.75 18.75v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5A3.375 3.375 0 0 0 6.375 7.5H5.25m11.9-3.664A2.251 2.251 0 0 0 15 2.25h-1.5a2.251 2.251 0 0 0-2.15 1.586m5.8 0c.065.21.1.433.1.664v.75h-6V4.5c0-.231.035-.454.1-.664M6.75 7.5H4.875c-.621 0-1.125.504-1.125 1.125v12c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V16.5a9 9 0 0 0-9-9Z"})}),clipBoardDocumentCheck:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.35 3.836c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-.1-.664m-5.8 0A2.251 2.251 0 0 1 13.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m8.9-4.414c.376.023.75.05 1.124.08 1.131.094 1.976 1.057 1.976 2.192V16.5A2.25 2.25 0 0 1 18 18.75h-2.25m-7.5-10.5H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V18.75m-7.5-10.5h6.375c.621 0 1.125.504 1.125 1.125v9.375m-8.25-3 1.5 1.5 3-3.75"})}),clipboardDocumentList:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-.1-.664m-5.8 0A2.251 2.251 0 0 1 13.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25ZM6.75 12h.008v.008H6.75V12Zm0 3h.008v.008H6.75V15Zm0 3h.008v.008H6.75V18Z"})}),clock:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})}),cloud:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-6 h-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 15a4.5 4.5 0 0 0 4.5 4.5H18a3.75 3.75 0 0 0 1.332-7.257 3 3 0 0 0-3.758-3.848 5.25 5.25 0 0 0-10.233 2.33A4.502 4.502 0 0 0 2.25 15Z"})}),codeBracket:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.25 6.75 22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3-4.5 16.5"})}),cog:l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:[l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.343 3.94c.09-.542.56-.94 1.11-.94h1.093c.55 0 1.02.398 1.11.94l.149.894c.07.424.384.764.78.93.398.164.855.142 1.205-.108l.737-.527a1.125 1.125 0 0 1 1.45.12l.773.774c.39.389.44 1.002.12 1.45l-.527.737c-.25.35-.272.806-.107 1.204.165.397.505.71.93.78l.893.15c.543.09.94.559.94 1.109v1.094c0 .55-.397 1.02-.94 1.11l-.894.149c-.424.07-.764.383-.929.78-.165.398-.143.854.107 1.204l.527.738c.32.447.269 1.06-.12 1.45l-.774.773a1.125 1.125 0 0 1-1.449.12l-.738-.527c-.35-.25-.806-.272-1.203-.107-.398.165-.71.505-.781.929l-.149.894c-.09.542-.56.94-1.11.94h-1.094c-.55 0-1.019-.398-1.11-.94l-.148-.894c-.071-.424-.384-.764-.781-.93-.398-.164-.854-.142-1.204.108l-.738.527c-.447.32-1.06.269-1.45-.12l-.773-.774a1.125 1.125 0 0 1-.12-1.45l.527-.737c.25-.35.272-.806.108-1.204-.165-.397-.506-.71-.93-.78l-.894-.15c-.542-.09-.94-.56-.94-1.109v-1.094c0-.55.398-1.02.94-1.11l.894-.149c.424-.07.765-.383.93-.78.165-.398.143-.854-.108-1.204l-.526-.738a1.125 1.125 0 0 1 .12-1.45l.773-.773a1.125 1.125 0 0 1 1.45-.12l.737.527c.35.25.807.272 1.204.107.397-.165.71-.505.78-.929l.15-.894Z"}),l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})]}),commandLine:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m6.75 7.5 3 2.25-3 2.25m4.5 0h3m-9 8.25h13.5A2.25 2.25 0 0 0 21 18V6a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 6v12a2.25 2.25 0 0 0 2.25 2.25Z"})}),documentCharBar:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-6 h-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25M9 16.5v.75m3-3v3M15 12v5.25m-4.5-15H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"})}),exclamationTriangle:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"})}),fingerprint:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.864 4.243A7.5 7.5 0 0 1 19.5 10.5c0 2.92-.556 5.709-1.568 8.268M5.742 6.364A7.465 7.465 0 0 0 4.5 10.5a7.464 7.464 0 0 1-1.15 3.993m1.989 3.559A11.209 11.209 0 0 0 8.25 10.5a3.75 3.75 0 1 1 7.5 0c0 .527-.021 1.049-.064 1.565M12 10.5a14.94 14.94 0 0 1-3.6 9.75m6.633-4.596a18.666 18.666 0 0 1-2.485 5.33"})}),home:l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-6 h-6",children:[" ",l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m2.25 12 8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25"})]}),leftArrow:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-6 h-6",children:l.jsx("g",{transform:"scale(-1, 1) translate(-24, 0)",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.25 5.653c0-.856.917-1.398 1.667-.986l11.54 6.347a1.125 1.125 0 0 1 0 1.972l-11.54 6.347a1.125 1.125 0 0 1-1.667-.986V5.653Z"})})}),leftArrowBox:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-6 h-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15m-3 0-3-3m0 0 3-3m-3 3H15"})}),lightning:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-auto h-auto",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m3.75 13.5 10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75Z"})}),locked:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-auto h-auto",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"})}),minus:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-auto h-auto",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 12h14"})}),plus:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"})}),presentationChart:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 3v11.25A2.25 2.25 0 0 0 6 16.5h2.25M3.75 3h-1.5m1.5 0h16.5m0 0h1.5m-1.5 0v11.25A2.25 2.25 0 0 1 18 16.5h-2.25m-7.5 0h7.5m-7.5 0-1 3m8.5-3 1 3m0 0 .5 1.5m-.5-1.5h-9.5m0 0-.5 1.5m.75-9 3-3 2.148 2.148A12.061 12.061 0 0 1 16.5 7.605"})}),rightArrow:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-6 h-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.25 5.653c0-.856.917-1.398 1.667-.986l11.54 6.347a1.125 1.125 0 0 1 0 1.972l-11.54 6.347a1.125 1.125 0 0 1-1.667-.986V5.653Z"})}),queueList:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-6 h-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 12h16.5m-16.5 3.75h16.5M3.75 19.5h16.5M5.625 4.5h12.75a1.875 1.875 0 0 1 0 3.75H5.625a1.875 1.875 0 0 1 0-3.75Z"})}),rectangleGroup:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-6 h-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 7.125C2.25 6.504 2.754 6 3.375 6h6c.621 0 1.125.504 1.125 1.125v3.75c0 .621-.504 1.125-1.125 1.125h-6a1.125 1.125 0 0 1-1.125-1.125v-3.75ZM14.25 8.625c0-.621.504-1.125 1.125-1.125h5.25c.621 0 1.125.504 1.125 1.125v8.25c0 .621-.504 1.125-1.125 1.125h-5.25a1.125 1.125 0 0 1-1.125-1.125v-8.25ZM3.75 16.125c0-.621.504-1.125 1.125-1.125h5.25c.621 0 1.125.504 1.125 1.125v2.25c0 .621-.504 1.125-1.125 1.125h-5.25a1.125 1.125 0 0 1-1.125-1.125v-2.25Z"})}),trash:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"})}),unlocked:l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-auto h-auto",children:[" ",l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 10.5V6.75a4.5 4.5 0 1 1 9 0v3.75M3.75 21.75h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H3.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"})]}),user:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"})}),userCircle:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"size-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})}),users:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 19.128a9.38 9.38 0 0 0 2.625.372 9.337 9.337 0 0 0 4.121-.952 4.125 4.125 0 0 0-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 0 1 8.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0 1 11.964-3.07M12 6.375a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0Zm8.25 2.25a2.625 2.625 0 1 1-5.25 0 2.625 2.625 0 0 1 5.25 0Z"})}),videoCamera:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-6 h-6",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m15.75 10.5 4.72-4.72a.75.75 0 0 1 1.28.53v11.38a.75.75 0 0 1-1.28.53l-4.72-4.72M4.5 18.75h9a2.25 2.25 0 0 0 2.25-2.25v-9a2.25 2.25 0 0 0-2.25-2.25h-9A2.25 2.25 0 0 0 2.25 7.5v9a2.25 2.25 0 0 0 2.25 2.25Z"})}),xCircle:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})})},Bi=Vr();function Ti({breadcrumbs:e=[],onLeftArrowClick:t,onRightArrowClick:n,onHomeClick:r,imageUrl:o=Ni,title:i="Tiled",secondaryTitle:s=Bi,handleExpandClick:a,isExpanded:u,...d}){const f=({onClick:A,icon:v})=>l.jsx("div",{className:`w-6 aspect-square flex-shrink-0 ${A?"hover:text-slate-400 hover:cursor-pointer text-slate-600":"text-slate-200"} `,onClick:A?()=>A():()=>{},children:v});return l.jsxs("div",{className:"flex w-full min-h-14 pb-2 pt-2 relative pl-4 ",...d,children:[l.jsxs("div",{className:"flex items-end w-1/4",children:[l.jsx(f,{onClick:t,icon:ct.chevronLeft}),l.jsx(f,{onClick:n,icon:ct.chevronRight}),l.jsxs("p",{className:"truncate",children:[" ",e.length>0&&e[e.length-1].label]})]}),l.jsxs("div",{onClick:r?()=>r():()=>{},className:"w-4/5 flex items-end justify-center space-x-4 mx-auto absolute left-1/2 transform -translate-x-1/2 hover:cursor-pointer hover:opacity-70",children:[l.jsx("img",{src:o,className:"w-16 h-auto "}),l.jsxs("div",{className:"flex items-center gap-4",children:[l.jsx("h2",{className:"text-sky-900 font-semibold text-lg",children:i}),l.jsx("p",{className:"text-sm",children:s})]})]}),l.jsx("div",{className:"absolute top-0 right-0 mr-3 mt-3 h-6 aspect-square text-slate-500 hover:text-slate-900 hover:cursor-pointer",onClick:()=>a(),children:u?ct.arrowsPointingIn:ct.arrowsPointingOut})]})}function zr({cb:e=()=>{},text:t="",bgColor:n="bg-sky-500",hoverBgColor:r="hover:bg-sky-600",textColor:o="text-white",styles:i="",disabled:s=!1,size:a="medium",isSecondary:u,...d}){const f=b=>{b.preventDefault(),e(b)},A={small:"text-sm",medium:"text-md",large:"text-2xl"},v={small:"px-3 py-1",medium:"px-3 py-2",large:"px-6 py-3"};return l.jsx("button",{disabled:s,className:`
|
|
37
37
|
rounded-xl font-medium w-fit
|
|
38
|
-
${
|
|
39
|
-
${
|
|
38
|
+
${u?"bg-transparent text-black border":`${n} ${o}`}
|
|
39
|
+
${s?"hover:cursor-not-allowed":`${u?"secondaryHoverBgColor":r} hover:cursor-pointer`}
|
|
40
40
|
${A[a]}
|
|
41
41
|
${v[a]}
|
|
42
|
-
${
|
|
43
|
-
`,onClick:
|
|
42
|
+
${i}
|
|
43
|
+
`,onClick:b=>f(b),...d,children:l.jsx("p",{children:t})})}function io({label:e,min:t,max:n,value:r,units:o,shorthandUnits:i,marks:s,step:a=1,showFill:u=!1,size:d="medium",width:f="w-full",showSideInput:A=!0,onChange:v,styles:w="",...p}){const[b,m]=g.useState(r),x=16,I=k=>{k<t&&(k=t),k>n&&(k=n),m(k),v&&v(k)},E=k=>{const F=Number(k.target.value);I(F)},L=k=>{var F=Number(k.target.value);I(F)};if(s)for(let k=0;k<(s==null?void 0:s.length);k++)s[k];const O=({mark:k,displayValue:F=!0})=>l.jsx("div",{className:"absolute -top-2 w-[1px] h-4 bg-gray-400",style:{left:T(k)},children:F&&l.jsxs("p",{className:"absolute text-center text-xs top-2 -translate-x-1/2 translate-y-full whitespace-nowrap",children:[k," ",i]})}),T=k=>`calc(${(k-t)/(n-t)*100}% + ${-((k-t)/(n-t))*x+x/2}px)`,j=(k,F)=>k.length-1===F||F===0;return l.jsxs("div",{className:`flex items-center pt-4 pb-4 pr-2 min-h-12 group ${f} ${w}`,...p,children:[e&&l.jsx("label",{className:"font-medium text-gray-700 w-fit pr-2",children:e}),l.jsxs("div",{className:"flex-grow flex items-center relative",children:[l.jsx("input",{type:"range",min:t,max:n,value:r,step:a,onChange:E,className:`${u?"appearance-auto":"appearance-none"} w-full absolute z-10 appearance-nonee hover:cursor-pointer bg-slate-400/50 h-2 rounded-lg focus:outline-none`}),l.jsx("div",{className:"absolute z-0 -top-8 w-12 h-24",style:{left:`calc(${(r-t)/(n-t)*100}% + ${-((r-t)/(n-t))*x+x/2}px)`},children:l.jsxs("div",{className:"relative ",children:[l.jsx("div",{className:"absolute w-[0] h-4 top-1 bg-gray-400"}),l.jsx("div",{className:"absolute -translate-x-1/2 left-2 -y-translate-full -top-0",children:l.jsx("input",{type:"number",value:r,className:"w-16 text-center text-xs appearance-none bg-transparent py-[1px] group-hover:border border-slate-400",onChange:L})})]})}),s&&l.jsx("div",{className:"absolute z-0 w-full",children:s.map((k,F)=>l.jsx(O,{mark:k,displayValue:j(s,F)},F.toString()))}),(!s||!s.includes(t))&&l.jsx(O,{mark:t,displayValue:!0},t.toString()),(!s||!s.includes(n))&&l.jsx(O,{mark:n,displayValue:!0},n.toString())]}),A&&l.jsxs("div",{className:"w-fit pl-2 text-gray-700 flex justify-center items-center",children:[l.jsx("input",{type:"number",value:r,className:"text-center text-md w-12 border appearance-none bg-white/50",onChange:L}),l.jsx("p",{className:"pl-1",children:o})]})]})}function Fi({arrayItem:e,url:t,isFullWidth:n}){const[r,o]=g.useState([]),[i,s]=g.useState(""),[a,u]=g.useState(""),d=1e6,f=e.attributes.structure.shape,v=f.length-2,w=(m,x)=>{var I=r.map(E=>E.value);I[x.index]=m,b(I),o(E=>{var L=[...E];return L[x.index].value=m,L})},p=Bt(e),b=m=>{var x=1,I=1;const E=e.attributes.structure.data_type.kind[0],L=Ci[E],O=f[f.length-1]*f[f.length-2]*L;if(O>d){const k=O/d;let F=Math.ceil(Math.sqrt(k));x=F,I=F}const T=so(p,I,x,m,t);s(T);const j=so(p,1,1,m,t);u(j)};return g.useEffect(()=>{if(!e)return;const m=f.slice(0,v).map(x=>Math.floor(x/2));o(Ei(v,f)),b(m)},[e]),l.jsxs("div",{className:"flex flex-col w-full space-y-2",children:[l.jsx("p",{className:"text-sky-900 text-center",children:e.id}),l.jsxs("div",{className:`${v>2?"flex-wrap":"flex-col"} flex items-center justify-center w-full`,children:[l.jsxs("div",{className:`relative bg-slate-300 aspect-square m-auto ${n?"w-7/12":"w-72"}`,children:[a&&l.jsx("div",{onClick:()=>Si(a),className:"absolute top-2 right-2 w-6 aspect-square hover:cursor-pointer hover:text-slate-500",children:ct.arrowTopRight}),i&&l.jsx("img",{src:i,className:"w-full h-full"}),l.jsx("p",{className:"text-sm text-center text-slate-500",children:`True Dimensions: [${e.attributes.structure.shape.join(", ")}]`})]}),l.jsx("div",{className:`${v>0?"w-72":"hidden"} flex flex-col space-y-4 pt-6 px-4`,children:r.map((m,x)=>l.jsx(io,{showSideInput:!1,min:m.min,max:m.max,value:m.value,onChange:I=>w(I,m)},x))})]})]})}var Hr={exports:{}};/*!
|
|
44
44
|
Copyright (c) 2018 Jed Watson.
|
|
45
45
|
Licensed under the MIT License (MIT), see
|
|
46
46
|
http://jedwatson.github.io/classnames
|
|
47
|
-
*/var io;function Wi(){return io||(io=1,function(e){(function(){var t={}.hasOwnProperty;function n(){for(var s="",i=0;i<arguments.length;i++){var a=arguments[i];a&&(s=o(s,r(a)))}return s}function r(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return n.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var i="";for(var a in s)t.call(s,a)&&s[a]&&(i=o(i,a));return i}function o(s,i){return i?s?s+" "+i:s+i:s}e.exports?(n.default=n,e.exports=n):window.classNames=n})()}(zr)),zr.exports}var Pi=Wi();const Jr=Qo(Pi);function Mi({tableItem:e,url:t}){const[n,r]=h.useState([]),[o,s]=h.useState([]),[i,a]=h.useState(0),[c,d]=h.useState(!0);h.useState(!0);const[f,A]=h.useState(""),[v,b]=h.useState(""),p=h.useRef(null),w=h.useRef(null),g=e.attributes.structure.npartitions,y=Bt(e),I=20,S=n.length>0?Object.keys(n[0]):[],L=E=>{r(E),s(E.slice(0,I)),d(!1)},R=h.useCallback(E=>{d(!0),no(y,E,t,L),a(E)},[e]);h.useEffect(()=>{w.current&&(w.current.scrollTop=0);const E=Bt(e);a(0),no(E,0,t,L)},[e]);const F=h.useCallback(()=>{s(E=>{const k=n.slice(E.length,E.length+I);return[...E,...k]})},[n]);return h.useEffect(()=>{if(!p.current)return;const E=new IntersectionObserver(k=>{k[0].isIntersecting&&F()},{threshold:1});return E.observe(p.current),()=>E.disconnect()},[F]),h.useEffect(()=>{S.length>=2&&(A(S[0]),b(S[1]))},[S]),l.jsxs("div",{className:"w-full px-12",children:[l.jsx("p",{className:"text-sky-900 text-center mb-4",children:e.id}),l.jsxs("div",{ref:w,className:"h-96 overflow-auto max-w-[100%] w-fit m-auto",children:[c?l.jsx("div",{className:"flex items-center justify-center w-full h-20 overflow-hidden",children:l.jsxs("svg",{className:"animate-spin h-10 w-10 overflow-hidden text-slate-400 m-auto my-12",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[l.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),l.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}):l.jsxs("table",{className:"m-auto border border-gray-300 shadow-md h-full bg-white",children:[l.jsx("thead",{className:"bg-gray-200",children:l.jsx("tr",{children:S.map(E=>l.jsx("th",{className:"border border-gray-300 px-4 py-2 text-left",children:E},E))})}),l.jsx("tbody",{children:o.map((E,k)=>l.jsx("tr",{className:"hover:bg-gray-100",children:S.map(T=>l.jsx("td",{className:"border border-gray-300 px-4 py-2",children:E[T].toFixed(4)},T))},k))})]}),l.jsx("div",{ref:p,className:"h-4"})]}),g>1&&l.jsx("div",{className:"pb-1 pt-4",children:l.jsx(so,{label:"Partition Index",max:g-1,min:0,value:i,onChange:R})}),!1]})}const ao=e=>e.attributes.structure_family==="array",lo=e=>e.attributes.structure_family==="table",Zi=e=>e.attributes.structure_family==="container",Di=l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 7.5V6.108c0-1.135.845-2.098 1.976-2.192.373-.03.748-.057 1.123-.08M15.75 18H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08M15.75 18.75v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5A3.375 3.375 0 0 0 6.375 7.5H5.25m11.9-3.664A2.251 2.251 0 0 0 15 2.25h-1.5a2.251 2.251 0 0 0-2.15 1.586m5.8 0c.065.21.1.433.1.664v.75h-6V4.5c0-.231.035-.454.1-.664M6.75 7.5H4.875c-.621 0-1.125.504-1.125 1.125v12c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V16.5a9 9 0 0 0-9-9Z"})}),Gi=l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.35 3.836c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-.1-.664m-5.8 0A2.251 2.251 0 0 1 13.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m8.9-4.414c.376.023.75.05 1.124.08 1.131.094 1.976 1.057 1.976 2.192V16.5A2.25 2.25 0 0 1 18 18.75h-2.25m-7.5-10.5H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V18.75m-7.5-10.5h6.375c.621 0 1.125.504 1.125 1.125v9.375m-8.25-3 1.5 1.5 3-3.75"})});function co({copyText:e,cb:t,size:n="medium",...r}){const[o,s]=h.useState(!1),i=h.useCallback(c=>{c.preventDefault(),navigator.clipboard.writeText(e).then(()=>{s(!0),t&&t(),setTimeout(()=>{s(!1)},2e3)}).catch(d=>{console.error("Failed to copy: ",d)})},[e]),a={small:"h-6",medium:"h-10",large:"h-16"};return l.jsx("button",{...r,className:`${o?"text-sky-500":"text-slate-400"} ${a[n]} hover:text-sky-300 hover:cursor-pointer flex`,onClick:c=>i(c),children:o?l.jsxs(l.Fragment,{children:[Gi," ",l.jsx("p",{children:"Copied"})]}):l.jsxs(l.Fragment,{children:[Di," ",l.jsx("p",{children:"copy meta link"})]})})}function Vi({item:e,...t}){const n=Object.keys(e.links),r=(o,s)=>{o.preventDefault(),s&&window.open(s,"_blank","noopener,noreferrer")};return l.jsxs("div",{...t,children:[l.jsx("h3",{className:"m-auto text-left pl-4 text-sky-950",children:"Links"}),l.jsx("ul",{className:"flex w-full justify-start pl-8 space-x-6",children:n.map(o=>{var s=e.links[o];return typeof s!="string"?null:l.jsxs("li",{className:"flex space-x-1 text-sm",children:[l.jsx(co,{copyText:s,size:"small"}),l.jsx("a",{onClick:i=>r(i,s),className:"text-blue-600 underline hover:text-blue-500",href:e.links[o],children:o})]},o)})}),l.jsx("h3",{className:"m-auto text-left pl-4 mt-2 text-sky-950",children:"Metadata"}),l.jsx("div",{className:"px-8 max-w-[400px]",...t,children:l.jsx("pre",{className:"text-sm font-mono text-gray-700 whitespace-pre-wrap break-words",children:JSON.stringify(e,null,2)})})]})}function Hi({previewItem:e,handleSelectClick:t,previewSize:n="medium",url:r,scrollContainerRef:o,...s}){const[i,a]=h.useState(!1),c={hidden:"hidden",small:"min-w-72",medium:"min-w-96",large:"min-w-[30rem]"};return h.useEffect(()=>{o.current&&(o.current.scrollLeft=o.current.scrollWidth)},[i]),l.jsxs("div",{className:`${c[n]} flex-grow h-full flex flex-col overflow-y-auto relative max-w-full ${i&&"min-w-full"}`,...s,children:[l.jsxs("div",{className:"flex justify-between px-2 pt-2 absolute top-0 w-full",children:[l.jsx("div",{className:"h-6 aspect-square hover:cursor-pointer hover:text-slate-600",onClick:()=>a(!i),children:i?ct.arrowsPointingIn:ct.arrowsPointingOut}),l.jsx("div",{className:"h-6 aspect-square hover:cursor-pointer hover:text-slate-600",children:ct.arrowDownTray})]}),l.jsxs("div",{className:"w-full flex flex-col items-center space-y-8 py-4",children:[ao(e)&&l.jsx(Fi,{arrayItem:e,url:r,isFullWidth:i}),lo(e)&&l.jsx(Mi,{tableItem:e,url:r}),t&&l.jsx(Ur,{text:"Select",size:"medium",cb:()=>t(e)})]}),l.jsx(Vi,{item:e})]})}function Ui({breadcrumbs:e,...t}){const n=r=>{console.log("click"),console.log({cb:r}),r!==void 0&&(console.log("about to run cb"),r())};return l.jsx("div",{className:"w-full h-8 flex-shrink-0 pl-2 overflow-x-auto",...t,children:l.jsx("div",{className:"flex space-x-2",children:e&&e.map((r,o)=>{const s=e.length-1===o;return l.jsxs("div",{className:`flex items-center max-w-32 space-x-1 ${!s&&"hover:cursor-pointer hover:text-slate-500"}`,children:[r.icon&&l.jsx("div",{className:"w-5 aspect-square flex-shrink-0",children:r.icon}),l.jsx("p",{className:"truncate",onClick:s?()=>{}:()=>n(r.onClick),children:r.label}),l.jsx("p",{className:"flex-shrink-0",children:o<e.length-1&&"/"})]},o)})})})}const zi=h.forwardRef(({children:e,...t},n)=>{const r=h.useRef(null);return h.useImperativeHandle(n,()=>r.current,[]),h.useEffect(()=>{r.current&&(r.current.scrollLeft=r.current.scrollWidth)},[e]),l.jsx("div",{className:"w-full flex min-h-0 flex-grow border overflow-x-auto scrollbar-always-visible",ref:r,...t,children:e})}),Nt=Math.min,xt=Math.max,br=Math.round,vr=Math.floor,Ue=e=>({x:e,y:e}),Ji={left:"right",right:"left",bottom:"top",top:"bottom"},Yi={start:"end",end:"start"};function Yr(e,t,n){return xt(e,Nt(t,n))}function $t(e,t){return typeof e=="function"?e(t):e}function yt(e){return e.split("-")[0]}function Kt(e){return e.split("-")[1]}function uo(e){return e==="x"?"y":"x"}function Xr(e){return e==="y"?"height":"width"}function Tt(e){return["top","bottom"].includes(yt(e))?"y":"x"}function Qr(e){return uo(Tt(e))}function Xi(e,t,n){n===void 0&&(n=!1);const r=Kt(e),o=Qr(e),s=Xr(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=xr(i)),[i,xr(i)]}function Qi(e){const t=xr(e);return[qr(e),t,qr(t)]}function qr(e){return e.replace(/start|end/g,t=>Yi[t])}function qi(e,t,n){const r=["left","right"],o=["right","left"],s=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?s:i;default:return[]}}function $i(e,t,n,r){const o=Kt(e);let s=qi(yt(e),n==="start",r);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(qr)))),s}function xr(e){return e.replace(/left|right|bottom|top/g,t=>Ji[t])}function Ki(e){return{top:0,right:0,bottom:0,left:0,...e}}function fo(e){return typeof e!="number"?Ki(e):{top:e,right:e,bottom:e,left:e}}function yr(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Ao(e,t,n){let{reference:r,floating:o}=e;const s=Tt(t),i=Qr(t),a=Xr(i),c=yt(t),d=s==="y",f=r.x+r.width/2-o.width/2,A=r.y+r.height/2-o.height/2,v=r[a]/2-o[a]/2;let b;switch(c){case"top":b={x:f,y:r.y-o.height};break;case"bottom":b={x:f,y:r.y+r.height};break;case"right":b={x:r.x+r.width,y:A};break;case"left":b={x:r.x-o.width,y:A};break;default:b={x:r.x,y:r.y}}switch(Kt(t)){case"start":b[i]-=v*(n&&d?-1:1);break;case"end":b[i]+=v*(n&&d?-1:1);break}return b}const ea=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:i}=n,a=s.filter(Boolean),c=await(i.isRTL==null?void 0:i.isRTL(t));let d=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:A}=Ao(d,r,c),v=r,b={},p=0;for(let w=0;w<a.length;w++){const{name:g,fn:y}=a[w],{x:I,y:S,data:L,reset:R}=await y({x:f,y:A,initialPlacement:r,placement:v,strategy:o,middlewareData:b,rects:d,platform:i,elements:{reference:e,floating:t}});f=I??f,A=S??A,b={...b,[g]:{...b[g],...L}},R&&p<=50&&(p++,typeof R=="object"&&(R.placement&&(v=R.placement),R.rects&&(d=R.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):R.rects),{x:f,y:A}=Ao(d,v,c)),w=-1)}return{x:f,y:A,placement:v,strategy:o,middlewareData:b}};async function po(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:i,elements:a,strategy:c}=e,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:A="floating",altBoundary:v=!1,padding:b=0}=$t(t,e),p=fo(b),g=a[v?A==="floating"?"reference":"floating":A],y=yr(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(g)))==null||n?g:g.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:d,rootBoundary:f,strategy:c})),I=A==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),L=await(s.isElement==null?void 0:s.isElement(S))?await(s.getScale==null?void 0:s.getScale(S))||{x:1,y:1}:{x:1,y:1},R=yr(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:I,offsetParent:S,strategy:c}):I);return{top:(y.top-R.top+p.top)/L.y,bottom:(R.bottom-y.bottom+p.bottom)/L.y,left:(y.left-R.left+p.left)/L.x,right:(R.right-y.right+p.right)/L.x}}const ta=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:i,elements:a,middlewareData:c}=t,{element:d,padding:f=0}=$t(e,t)||{};if(d==null)return{};const A=fo(f),v={x:n,y:r},b=Qr(o),p=Xr(b),w=await i.getDimensions(d),g=b==="y",y=g?"top":"left",I=g?"bottom":"right",S=g?"clientHeight":"clientWidth",L=s.reference[p]+s.reference[b]-v[b]-s.floating[p],R=v[b]-s.reference[b],F=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d));let E=F?F[S]:0;(!E||!await(i.isElement==null?void 0:i.isElement(F)))&&(E=a.floating[S]||s.floating[p]);const k=L/2-R/2,T=E/2-w[p]/2-1,fe=Nt(A[y],T),me=Nt(A[I],T),ie=fe,oe=E-w[p]-me,G=E/2-w[p]/2+k,ee=Yr(ie,G,oe),$=!c.arrow&&Kt(o)!=null&&G!==ee&&s.reference[p]/2-(G<ie?fe:me)-w[p]/2<0,X=$?G<ie?G-ie:G-oe:0;return{[b]:v[b]+X,data:{[b]:ee,centerOffset:G-ee-X,...$&&{alignmentOffset:X}},reset:$}}}),ra=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:s,rects:i,initialPlacement:a,platform:c,elements:d}=t,{mainAxis:f=!0,crossAxis:A=!0,fallbackPlacements:v,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:w=!0,...g}=$t(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const y=yt(o),I=Tt(a),S=yt(a)===a,L=await(c.isRTL==null?void 0:c.isRTL(d.floating)),R=v||(S||!w?[xr(a)]:Qi(a)),F=p!=="none";!v&&F&&R.push(...$i(a,w,p,L));const E=[a,...R],k=await po(t,g),T=[];let fe=((r=s.flip)==null?void 0:r.overflows)||[];if(f&&T.push(k[y]),A){const G=Xi(o,i,L);T.push(k[G[0]],k[G[1]])}if(fe=[...fe,{placement:o,overflows:T}],!T.every(G=>G<=0)){var me,ie;const G=(((me=s.flip)==null?void 0:me.index)||0)+1,ee=E[G];if(ee)return{data:{index:G,overflows:fe},reset:{placement:ee}};let $=(ie=fe.filter(X=>X.overflows[0]<=0).sort((X,j)=>X.overflows[1]-j.overflows[1])[0])==null?void 0:ie.placement;if(!$)switch(b){case"bestFit":{var oe;const X=(oe=fe.filter(j=>{if(F){const ae=Tt(j.placement);return ae===I||ae==="y"}return!0}).map(j=>[j.placement,j.overflows.filter(ae=>ae>0).reduce((ae,we)=>ae+we,0)]).sort((j,ae)=>j[1]-ae[1])[0])==null?void 0:oe[0];X&&($=X);break}case"initialPlacement":$=a;break}if(o!==$)return{reset:{placement:$}}}return{}}}};async function na(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=yt(n),a=Kt(n),c=Tt(n)==="y",d=["left","top"].includes(i)?-1:1,f=s&&c?-1:1,A=$t(t,e);let{mainAxis:v,crossAxis:b,alignmentAxis:p}=typeof A=="number"?{mainAxis:A,crossAxis:0,alignmentAxis:null}:{mainAxis:A.mainAxis||0,crossAxis:A.crossAxis||0,alignmentAxis:A.alignmentAxis};return a&&typeof p=="number"&&(b=a==="end"?p*-1:p),c?{x:b*f,y:v*d}:{x:v*d,y:b*f}}const oa=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:i,middlewareData:a}=t,c=await na(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+c.x,y:s+c.y,data:{...c,placement:i}}}}},sa=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:a={fn:g=>{let{x:y,y:I}=g;return{x:y,y:I}}},...c}=$t(e,t),d={x:n,y:r},f=await po(t,c),A=Tt(yt(o)),v=uo(A);let b=d[v],p=d[A];if(s){const g=v==="y"?"top":"left",y=v==="y"?"bottom":"right",I=b+f[g],S=b-f[y];b=Yr(I,b,S)}if(i){const g=A==="y"?"top":"left",y=A==="y"?"bottom":"right",I=p+f[g],S=p-f[y];p=Yr(I,p,S)}const w=a.fn({...t,[v]:b,[A]:p});return{...w,data:{x:w.x-n,y:w.y-r,enabled:{[v]:s,[A]:i}}}}}};function kr(){return typeof window<"u"}function Ft(e){return mo(e)?(e.nodeName||"").toLowerCase():"#document"}function Oe(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ze(e){var t;return(t=(mo(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function mo(e){return kr()?e instanceof Node||e instanceof Oe(e).Node:!1}function De(e){return kr()?e instanceof Element||e instanceof Oe(e).Element:!1}function Je(e){return kr()?e instanceof HTMLElement||e instanceof Oe(e).HTMLElement:!1}function ho(e){return!kr()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Oe(e).ShadowRoot}function er(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Ge(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function ia(e){return["table","td","th"].includes(Ft(e))}function Ir(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function $r(e){const t=Kr(),n=De(e)?Ge(e):e;return["transform","translate","scale","rotate","perspective"].some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function aa(e){let t=ut(e);for(;Je(t)&&!Wt(t);){if($r(t))return t;if(Ir(t))return null;t=ut(t)}return null}function Kr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Wt(e){return["html","body","#document"].includes(Ft(e))}function Ge(e){return Oe(e).getComputedStyle(e)}function Cr(e){return De(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ut(e){if(Ft(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ho(e)&&e.host||ze(e);return ho(t)?t.host:t}function go(e){const t=ut(e);return Wt(t)?e.ownerDocument?e.ownerDocument.body:e.body:Je(t)&&er(t)?t:go(t)}function tr(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=go(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),i=Oe(o);if(s){const a=en(i);return t.concat(i,i.visualViewport||[],er(o)?o:[],a&&n?tr(a):[])}return t.concat(o,tr(o,[],n))}function en(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function wo(e){const t=Ge(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Je(e),s=o?e.offsetWidth:n,i=o?e.offsetHeight:r,a=br(n)!==s||br(r)!==i;return a&&(n=s,r=i),{width:n,height:r,$:a}}function tn(e){return De(e)?e:e.contextElement}function Pt(e){const t=tn(e);if(!Je(t))return Ue(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=wo(t);let i=(s?br(n.width):n.width)/r,a=(s?br(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const la=Ue(0);function bo(e){const t=Oe(e);return!Kr()||!t.visualViewport?la:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ca(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Oe(e)?!1:t}function kt(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=tn(e);let i=Ue(1);t&&(r?De(r)&&(i=Pt(r)):i=Pt(e));const a=ca(s,n,r)?bo(s):Ue(0);let c=(o.left+a.x)/i.x,d=(o.top+a.y)/i.y,f=o.width/i.x,A=o.height/i.y;if(s){const v=Oe(s),b=r&&De(r)?Oe(r):r;let p=v,w=en(p);for(;w&&r&&b!==p;){const g=Pt(w),y=w.getBoundingClientRect(),I=Ge(w),S=y.left+(w.clientLeft+parseFloat(I.paddingLeft))*g.x,L=y.top+(w.clientTop+parseFloat(I.paddingTop))*g.y;c*=g.x,d*=g.y,f*=g.x,A*=g.y,c+=S,d+=L,p=Oe(w),w=en(p)}}return yr({width:f,height:A,x:c,y:d})}function rn(e,t){const n=Cr(e).scrollLeft;return t?t.left+n:kt(ze(e)).left+n}function vo(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:rn(e,r)),s=r.top+t.scrollTop;return{x:o,y:s}}function ua(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",i=ze(r),a=t?Ir(t.floating):!1;if(r===i||a&&s)return n;let c={scrollLeft:0,scrollTop:0},d=Ue(1);const f=Ue(0),A=Je(r);if((A||!A&&!s)&&((Ft(r)!=="body"||er(i))&&(c=Cr(r)),Je(r))){const b=kt(r);d=Pt(r),f.x=b.x+r.clientLeft,f.y=b.y+r.clientTop}const v=i&&!A&&!s?vo(i,c,!0):Ue(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-c.scrollLeft*d.x+f.x+v.x,y:n.y*d.y-c.scrollTop*d.y+f.y+v.y}}function da(e){return Array.from(e.getClientRects())}function fa(e){const t=ze(e),n=Cr(e),r=e.ownerDocument.body,o=xt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=xt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+rn(e);const a=-n.scrollTop;return Ge(r).direction==="rtl"&&(i+=xt(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:i,y:a}}function Aa(e,t){const n=Oe(e),r=ze(e),o=n.visualViewport;let s=r.clientWidth,i=r.clientHeight,a=0,c=0;if(o){s=o.width,i=o.height;const d=Kr();(!d||d&&t==="fixed")&&(a=o.offsetLeft,c=o.offsetTop)}return{width:s,height:i,x:a,y:c}}function pa(e,t){const n=kt(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=Je(e)?Pt(e):Ue(1),i=e.clientWidth*s.x,a=e.clientHeight*s.y,c=o*s.x,d=r*s.y;return{width:i,height:a,x:c,y:d}}function xo(e,t,n){let r;if(t==="viewport")r=Aa(e,n);else if(t==="document")r=fa(ze(e));else if(De(t))r=pa(t,n);else{const o=bo(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return yr(r)}function yo(e,t){const n=ut(e);return n===t||!De(n)||Wt(n)?!1:Ge(n).position==="fixed"||yo(n,t)}function ma(e,t){const n=t.get(e);if(n)return n;let r=tr(e,[],!1).filter(a=>De(a)&&Ft(a)!=="body"),o=null;const s=Ge(e).position==="fixed";let i=s?ut(e):e;for(;De(i)&&!Wt(i);){const a=Ge(i),c=$r(i);!c&&a.position==="fixed"&&(o=null),(s?!c&&!o:!c&&a.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||er(i)&&!c&&yo(e,i))?r=r.filter(f=>f!==i):o=a,i=ut(i)}return t.set(e,r),r}function ha(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?Ir(t)?[]:ma(t,this._c):[].concat(n),r],a=i[0],c=i.reduce((d,f)=>{const A=xo(t,f,o);return d.top=xt(A.top,d.top),d.right=Nt(A.right,d.right),d.bottom=Nt(A.bottom,d.bottom),d.left=xt(A.left,d.left),d},xo(t,a,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function ga(e){const{width:t,height:n}=wo(e);return{width:t,height:n}}function wa(e,t,n){const r=Je(t),o=ze(t),s=n==="fixed",i=kt(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const c=Ue(0);if(r||!r&&!s)if((Ft(t)!=="body"||er(o))&&(a=Cr(t)),r){const v=kt(t,!0,s,t);c.x=v.x+t.clientLeft,c.y=v.y+t.clientTop}else o&&(c.x=rn(o));const d=o&&!r&&!s?vo(o,a):Ue(0),f=i.left+a.scrollLeft-c.x-d.x,A=i.top+a.scrollTop-c.y-d.y;return{x:f,y:A,width:i.width,height:i.height}}function nn(e){return Ge(e).position==="static"}function ko(e,t){if(!Je(e)||Ge(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ze(e)===n&&(n=n.ownerDocument.body),n}function Io(e,t){const n=Oe(e);if(Ir(e))return n;if(!Je(e)){let o=ut(e);for(;o&&!Wt(o);){if(De(o)&&!nn(o))return o;o=ut(o)}return n}let r=ko(e,t);for(;r&&ia(r)&&nn(r);)r=ko(r,t);return r&&Wt(r)&&nn(r)&&!$r(r)?n:r||aa(e)||n}const ba=async function(e){const t=this.getOffsetParent||Io,n=this.getDimensions,r=await n(e.floating);return{reference:wa(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function va(e){return Ge(e).direction==="rtl"}const xa={convertOffsetParentRelativeRectToViewportRelativeRect:ua,getDocumentElement:ze,getClippingRect:ha,getOffsetParent:Io,getElementRects:ba,getClientRects:da,getDimensions:ga,getScale:Pt,isElement:De,isRTL:va};function Co(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ya(e,t){let n=null,r;const o=ze(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function i(a,c){a===void 0&&(a=!1),c===void 0&&(c=1),s();const d=e.getBoundingClientRect(),{left:f,top:A,width:v,height:b}=d;if(a||t(),!v||!b)return;const p=vr(A),w=vr(o.clientWidth-(f+v)),g=vr(o.clientHeight-(A+b)),y=vr(f),S={rootMargin:-p+"px "+-w+"px "+-g+"px "+-y+"px",threshold:xt(0,Nt(1,c))||1};let L=!0;function R(F){const E=F[0].intersectionRatio;if(E!==c){if(!L)return i();E?i(!1,E):r=setTimeout(()=>{i(!1,1e-7)},1e3)}E===1&&!Co(d,e.getBoundingClientRect())&&i(),L=!1}try{n=new IntersectionObserver(R,{...S,root:o.ownerDocument})}catch{n=new IntersectionObserver(R,S)}n.observe(e)}return i(!0),s}function ka(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,d=tn(e),f=o||s?[...d?tr(d):[],...tr(t)]:[];f.forEach(y=>{o&&y.addEventListener("scroll",n,{passive:!0}),s&&y.addEventListener("resize",n)});const A=d&&a?ya(d,n):null;let v=-1,b=null;i&&(b=new ResizeObserver(y=>{let[I]=y;I&&I.target===d&&b&&(b.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var S;(S=b)==null||S.observe(t)})),n()}),d&&!c&&b.observe(d),b.observe(t));let p,w=c?kt(e):null;c&&g();function g(){const y=kt(e);w&&!Co(w,y)&&n(),w=y,p=requestAnimationFrame(g)}return n(),()=>{var y;f.forEach(I=>{o&&I.removeEventListener("scroll",n),s&&I.removeEventListener("resize",n)}),A==null||A(),(y=b)==null||y.disconnect(),b=null,c&&cancelAnimationFrame(p)}}const Ia=oa,Ca=sa,Sa=ra,Ea=ta,So=(e,t,n)=>{const r=new Map,o={platform:xa,...n},s={...o.platform,_c:r};return ea(e,t,{...o,platform:s})};/*
|
|
47
|
+
*/var ao;function Wi(){return ao||(ao=1,function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i="",s=0;s<arguments.length;s++){var a=arguments[s];a&&(i=o(i,r(a)))}return i}function r(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return n.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var s="";for(var a in i)t.call(i,a)&&i[a]&&(s=o(s,a));return s}function o(i,s){return s?i?i+" "+s:i+s:i}e.exports?(n.default=n,e.exports=n):window.classNames=n})()}(Hr)),Hr.exports}var Pi=Wi();const Jr=qo(Pi);function Mi({tableItem:e,url:t}){const[n,r]=g.useState([]),[o,i]=g.useState([]),[s,a]=g.useState(0),[u,d]=g.useState(!0);g.useState(!0);const[f,A]=g.useState(""),[v,w]=g.useState(""),p=g.useRef(null),b=g.useRef(null),m=e.attributes.structure.npartitions,x=Bt(e),I=20,E=n.length>0?Object.keys(n[0]):[],L=j=>{r(j),i(j.slice(0,I)),d(!1)},O=g.useCallback(j=>{d(!0),oo(x,j,t,L),a(j)},[e]);g.useEffect(()=>{b.current&&(b.current.scrollTop=0);const j=Bt(e);a(0),oo(j,0,t,L)},[e]);const T=g.useCallback(()=>{i(j=>{const k=n.slice(j.length,j.length+I);return[...j,...k]})},[n]);return g.useEffect(()=>{if(!p.current)return;const j=new IntersectionObserver(k=>{k[0].isIntersecting&&T()},{threshold:1});return j.observe(p.current),()=>j.disconnect()},[T]),g.useEffect(()=>{E.length>=2&&(A(E[0]),w(E[1]))},[E]),l.jsxs("div",{className:"w-full px-12",children:[l.jsx("p",{className:"text-sky-900 text-center mb-4",children:e.id}),l.jsxs("div",{ref:b,className:"h-96 overflow-auto max-w-[100%] w-fit m-auto",children:[u?l.jsx("div",{className:"flex items-center justify-center w-full h-20 overflow-hidden",children:l.jsxs("svg",{className:"animate-spin h-10 w-10 overflow-hidden text-slate-400 m-auto my-12",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[l.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),l.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}):l.jsxs("table",{className:"m-auto border border-gray-300 shadow-md h-full bg-white",children:[l.jsx("thead",{className:"bg-gray-200",children:l.jsx("tr",{children:E.map(j=>l.jsx("th",{className:"border border-gray-300 px-4 py-2 text-left",children:j},j))})}),l.jsx("tbody",{children:o.map((j,k)=>l.jsx("tr",{className:"hover:bg-gray-100",children:E.map(F=>l.jsx("td",{className:"border border-gray-300 px-4 py-2",children:j[F].toFixed(4)},F))},k))})]}),l.jsx("div",{ref:p,className:"h-4"})]}),m>1&&l.jsx("div",{className:"pb-1 pt-4",children:l.jsx(io,{label:"Partition Index",max:m-1,min:0,value:s,onChange:O})}),!1]})}const lo=e=>e.attributes.structure_family==="array",co=e=>e.attributes.structure_family==="table",Di=e=>e.attributes.structure_family==="container"||e.attributes.structure_family==="composite",Zi=l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 7.5V6.108c0-1.135.845-2.098 1.976-2.192.373-.03.748-.057 1.123-.08M15.75 18H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08M15.75 18.75v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5A3.375 3.375 0 0 0 6.375 7.5H5.25m11.9-3.664A2.251 2.251 0 0 0 15 2.25h-1.5a2.251 2.251 0 0 0-2.15 1.586m5.8 0c.065.21.1.433.1.664v.75h-6V4.5c0-.231.035-.454.1-.664M6.75 7.5H4.875c-.621 0-1.125.504-1.125 1.125v12c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V16.5a9 9 0 0 0-9-9Z"})}),Gi=l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.35 3.836c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-.1-.664m-5.8 0A2.251 2.251 0 0 1 13.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m8.9-4.414c.376.023.75.05 1.124.08 1.131.094 1.976 1.057 1.976 2.192V16.5A2.25 2.25 0 0 1 18 18.75h-2.25m-7.5-10.5H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V18.75m-7.5-10.5h6.375c.621 0 1.125.504 1.125 1.125v9.375m-8.25-3 1.5 1.5 3-3.75"})});function uo({copyText:e,cb:t,size:n="medium",showText:r=!1,...o}){const[i,s]=g.useState(!1),a=g.useCallback(d=>{d.preventDefault(),navigator.clipboard.writeText(e).then(()=>{s(!0),t&&t(),setTimeout(()=>{s(!1)},2e3)}).catch(f=>{console.error("Failed to copy: ",f)})},[e]),u={small:"h-6",medium:"h-10",large:"h-16"};return l.jsx("button",{...o,className:`${i?"text-sky-500":"text-slate-400"} ${u[n]} hover:text-sky-300 hover:cursor-pointer flex`,onClick:d=>a(d),children:i?l.jsxs(l.Fragment,{children:[Gi," ",r&&l.jsx("p",{children:"Copied"})]}):l.jsxs(l.Fragment,{children:[Zi," ",r&&l.jsx("p",{children:"copy meta link"})]})})}function Ui({item:e,...t}){const n=Object.keys(e.links),r=(o,i)=>{o.preventDefault(),i&&window.open(i,"_blank","noopener,noreferrer")};return l.jsxs("div",{...t,children:[l.jsx("h3",{className:"m-auto text-left pl-4 text-sky-950",children:"Links"}),l.jsx("ul",{className:"flex w-full justify-start pl-8 space-x-6",children:n.map(o=>{var i=e.links[o];return typeof i!="string"?null:l.jsxs("li",{className:"flex space-x-1 text-sm",children:[l.jsx(uo,{copyText:i,size:"small"}),l.jsx("a",{onClick:s=>r(s,i),className:"text-blue-600 underline hover:text-blue-500",href:e.links[o],children:o})]},o)})}),l.jsx("h3",{className:"m-auto text-left pl-4 mt-2 text-sky-950",children:"Metadata"}),l.jsx("div",{className:"px-8 max-w-[400px]",...t,children:l.jsx("pre",{className:"text-sm font-mono text-gray-700 whitespace-pre-wrap break-words",children:JSON.stringify(e,null,2)})})]})}function Vi({previewItem:e,handleSelectClick:t,previewSize:n="medium",url:r,scrollContainerRef:o,...i}){const[s,a]=g.useState(!1),u={hidden:"hidden",small:"min-w-72",medium:"min-w-96",large:"min-w-[30rem]"};return g.useEffect(()=>{o.current&&(o.current.scrollLeft=o.current.scrollWidth)},[s]),l.jsxs("div",{className:`${u[n]} flex-grow h-full flex flex-col overflow-y-auto relative max-w-full ${s&&"min-w-full"}`,...i,children:[l.jsxs("div",{className:"flex justify-between px-2 pt-2 absolute top-0 w-full",children:[l.jsx("div",{className:"h-6 aspect-square hover:cursor-pointer hover:text-slate-600",onClick:()=>a(!s),children:s?ct.arrowsPointingIn:ct.arrowsPointingOut}),l.jsx("div",{className:"h-6 aspect-square hover:cursor-pointer hover:text-slate-600",children:ct.arrowDownTray})]}),l.jsxs("div",{className:"w-full flex flex-col items-center space-y-8 py-4",children:[lo(e)&&l.jsx(Fi,{arrayItem:e,url:r,isFullWidth:s}),co(e)&&l.jsx(Mi,{tableItem:e,url:r}),t&&l.jsx(zr,{text:"Select",size:"medium",cb:()=>t(e)})]}),l.jsx(Ui,{item:e})]})}function zi({breadcrumbs:e,...t}){const n=r=>{console.log("click"),console.log({cb:r}),r!==void 0&&(console.log("about to run cb"),r())};return l.jsx("div",{className:"w-full h-8 flex-shrink-0 pl-2 overflow-x-auto",...t,children:l.jsx("div",{className:"flex space-x-2",children:e&&e.map((r,o)=>{const i=e.length-1===o;return l.jsxs("div",{className:`flex items-center max-w-32 space-x-1 ${!i&&"hover:cursor-pointer hover:text-slate-500"}`,children:[r.icon&&l.jsx("div",{className:"w-5 aspect-square flex-shrink-0",children:r.icon}),l.jsx("p",{className:"truncate",onClick:i?()=>{}:()=>n(r.onClick),children:r.label}),l.jsx("p",{className:"flex-shrink-0",children:o<e.length-1&&"/"})]},o)})})})}const Hi=g.forwardRef(({children:e,...t},n)=>{const r=g.useRef(null);return g.useImperativeHandle(n,()=>r.current,[]),g.useEffect(()=>{r.current&&(r.current.scrollLeft=r.current.scrollWidth)},[e]),l.jsx("div",{className:"w-full flex min-h-0 flex-grow border overflow-x-auto scrollbar-always-visible",ref:r,...t,children:e})}),Ft=Math.min,xt=Math.max,vr=Math.round,xr=Math.floor,Je=e=>({x:e,y:e}),Ji={left:"right",right:"left",bottom:"top",top:"bottom"},Yi={start:"end",end:"start"};function Yr(e,t,n){return xt(e,Ft(t,n))}function er(e,t){return typeof e=="function"?e(t):e}function yt(e){return e.split("-")[0]}function tr(e){return e.split("-")[1]}function fo(e){return e==="x"?"y":"x"}function Xr(e){return e==="y"?"height":"width"}function Wt(e){return["top","bottom"].includes(yt(e))?"y":"x"}function Qr(e){return fo(Wt(e))}function Xi(e,t,n){n===void 0&&(n=!1);const r=tr(e),o=Qr(e),i=Xr(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=yr(s)),[s,yr(s)]}function Qi(e){const t=yr(e);return[qr(e),t,qr(t)]}function qr(e){return e.replace(/start|end/g,t=>Yi[t])}function qi(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:s;default:return[]}}function $i(e,t,n,r){const o=tr(e);let i=qi(yt(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(qr)))),i}function yr(e){return e.replace(/left|right|bottom|top/g,t=>Ji[t])}function Ki(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ao(e){return typeof e!="number"?Ki(e):{top:e,right:e,bottom:e,left:e}}function kr(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function po(e,t,n){let{reference:r,floating:o}=e;const i=Wt(t),s=Qr(t),a=Xr(s),u=yt(t),d=i==="y",f=r.x+r.width/2-o.width/2,A=r.y+r.height/2-o.height/2,v=r[a]/2-o[a]/2;let w;switch(u){case"top":w={x:f,y:r.y-o.height};break;case"bottom":w={x:f,y:r.y+r.height};break;case"right":w={x:r.x+r.width,y:A};break;case"left":w={x:r.x-o.width,y:A};break;default:w={x:r.x,y:r.y}}switch(tr(t)){case"start":w[s]-=v*(n&&d?-1:1);break;case"end":w[s]+=v*(n&&d?-1:1);break}return w}const ea=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(t));let d=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:A}=po(d,r,u),v=r,w={},p=0;for(let b=0;b<a.length;b++){const{name:m,fn:x}=a[b],{x:I,y:E,data:L,reset:O}=await x({x:f,y:A,initialPlacement:r,placement:v,strategy:o,middlewareData:w,rects:d,platform:s,elements:{reference:e,floating:t}});f=I??f,A=E??A,w={...w,[m]:{...w[m],...L}},O&&p<=50&&(p++,typeof O=="object"&&(O.placement&&(v=O.placement),O.rects&&(d=O.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):O.rects),{x:f,y:A}=po(d,v,u)),b=-1)}return{x:f,y:A,placement:v,strategy:o,middlewareData:w}};async function mo(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:u}=e,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:A="floating",altBoundary:v=!1,padding:w=0}=er(t,e),p=Ao(w),m=a[v?A==="floating"?"reference":"floating":A],x=kr(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(m)))==null||n?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:d,rootBoundary:f,strategy:u})),I=A==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,E=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),L=await(i.isElement==null?void 0:i.isElement(E))?await(i.getScale==null?void 0:i.getScale(E))||{x:1,y:1}:{x:1,y:1},O=kr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:I,offsetParent:E,strategy:u}):I);return{top:(x.top-O.top+p.top)/L.y,bottom:(O.bottom-x.bottom+p.bottom)/L.y,left:(x.left-O.left+p.left)/L.x,right:(O.right-x.right+p.right)/L.x}}const ta=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:u}=t,{element:d,padding:f=0}=er(e,t)||{};if(d==null)return{};const A=Ao(f),v={x:n,y:r},w=Qr(o),p=Xr(w),b=await s.getDimensions(d),m=w==="y",x=m?"top":"left",I=m?"bottom":"right",E=m?"clientHeight":"clientWidth",L=i.reference[p]+i.reference[w]-v[w]-i.floating[p],O=v[w]-i.reference[w],T=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d));let j=T?T[E]:0;(!j||!await(s.isElement==null?void 0:s.isElement(T)))&&(j=a.floating[E]||i.floating[p]);const k=L/2-O/2,F=j/2-b[p]/2-1,fe=Ft(A[x],F),me=Ft(A[I],F),le=fe,ie=j-b[p]-me,G=j/2-b[p]/2+k,te=Yr(le,G,ie),q=!u.arrow&&tr(o)!=null&&G!==te&&i.reference[p]/2-(G<le?fe:me)-b[p]/2<0,X=q?G<le?G-le:G-ie:0;return{[w]:v[w]+X,data:{[w]:te,centerOffset:G-te-X,...q&&{alignmentOffset:X}},reset:q}}}),ra=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:u,elements:d}=t,{mainAxis:f=!0,crossAxis:A=!0,fallbackPlacements:v,fallbackStrategy:w="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:b=!0,...m}=er(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const x=yt(o),I=Wt(a),E=yt(a)===a,L=await(u.isRTL==null?void 0:u.isRTL(d.floating)),O=v||(E||!b?[yr(a)]:Qi(a)),T=p!=="none";!v&&T&&O.push(...$i(a,b,p,L));const j=[a,...O],k=await mo(t,m),F=[];let fe=((r=i.flip)==null?void 0:r.overflows)||[];if(f&&F.push(k[x]),A){const G=Xi(o,s,L);F.push(k[G[0]],k[G[1]])}if(fe=[...fe,{placement:o,overflows:F}],!F.every(G=>G<=0)){var me,le;const G=(((me=i.flip)==null?void 0:me.index)||0)+1,te=j[G];if(te)return{data:{index:G,overflows:fe},reset:{placement:te}};let q=(le=fe.filter(X=>X.overflows[0]<=0).sort((X,R)=>X.overflows[1]-R.overflows[1])[0])==null?void 0:le.placement;if(!q)switch(w){case"bestFit":{var ie;const X=(ie=fe.filter(R=>{if(T){const ce=Wt(R.placement);return ce===I||ce==="y"}return!0}).map(R=>[R.placement,R.overflows.filter(ce=>ce>0).reduce((ce,we)=>ce+we,0)]).sort((R,ce)=>R[1]-ce[1])[0])==null?void 0:ie[0];X&&(q=X);break}case"initialPlacement":q=a;break}if(o!==q)return{reset:{placement:q}}}return{}}}};async function na(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=yt(n),a=tr(n),u=Wt(n)==="y",d=["left","top"].includes(s)?-1:1,f=i&&u?-1:1,A=er(t,e);let{mainAxis:v,crossAxis:w,alignmentAxis:p}=typeof A=="number"?{mainAxis:A,crossAxis:0,alignmentAxis:null}:{mainAxis:A.mainAxis||0,crossAxis:A.crossAxis||0,alignmentAxis:A.alignmentAxis};return a&&typeof p=="number"&&(w=a==="end"?p*-1:p),u?{x:w*f,y:v*d}:{x:v*d,y:w*f}}const oa=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,u=await na(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:s}}}}},sa=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:m=>{let{x,y:I}=m;return{x,y:I}}},...u}=er(e,t),d={x:n,y:r},f=await mo(t,u),A=Wt(yt(o)),v=fo(A);let w=d[v],p=d[A];if(i){const m=v==="y"?"top":"left",x=v==="y"?"bottom":"right",I=w+f[m],E=w-f[x];w=Yr(I,w,E)}if(s){const m=A==="y"?"top":"left",x=A==="y"?"bottom":"right",I=p+f[m],E=p-f[x];p=Yr(I,p,E)}const b=a.fn({...t,[v]:w,[A]:p});return{...b,data:{x:b.x-n,y:b.y-r,enabled:{[v]:i,[A]:s}}}}}};function Ir(){return typeof window<"u"}function Pt(e){return ho(e)?(e.nodeName||"").toLowerCase():"#document"}function Oe(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ye(e){var t;return(t=(ho(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ho(e){return Ir()?e instanceof Node||e instanceof Oe(e).Node:!1}function Ue(e){return Ir()?e instanceof Element||e instanceof Oe(e).Element:!1}function Xe(e){return Ir()?e instanceof HTMLElement||e instanceof Oe(e).HTMLElement:!1}function go(e){return!Ir()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Oe(e).ShadowRoot}function rr(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Ve(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function ia(e){return["table","td","th"].includes(Pt(e))}function Cr(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function $r(e){const t=Kr(),n=Ue(e)?Ve(e):e;return["transform","translate","scale","rotate","perspective"].some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function aa(e){let t=ut(e);for(;Xe(t)&&!Mt(t);){if($r(t))return t;if(Cr(t))return null;t=ut(t)}return null}function Kr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Mt(e){return["html","body","#document"].includes(Pt(e))}function Ve(e){return Oe(e).getComputedStyle(e)}function Sr(e){return Ue(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ut(e){if(Pt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||go(e)&&e.host||Ye(e);return go(t)?t.host:t}function bo(e){const t=ut(e);return Mt(t)?e.ownerDocument?e.ownerDocument.body:e.body:Xe(t)&&rr(t)?t:bo(t)}function nr(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=bo(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=Oe(o);if(i){const a=en(s);return t.concat(s,s.visualViewport||[],rr(o)?o:[],a&&n?nr(a):[])}return t.concat(o,nr(o,[],n))}function en(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function wo(e){const t=Ve(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Xe(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=vr(n)!==i||vr(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function tn(e){return Ue(e)?e:e.contextElement}function Dt(e){const t=tn(e);if(!Xe(t))return Je(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=wo(t);let s=(i?vr(n.width):n.width)/r,a=(i?vr(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const la=Je(0);function vo(e){const t=Oe(e);return!Kr()||!t.visualViewport?la:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ca(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Oe(e)?!1:t}function kt(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=tn(e);let s=Je(1);t&&(r?Ue(r)&&(s=Dt(r)):s=Dt(e));const a=ca(i,n,r)?vo(i):Je(0);let u=(o.left+a.x)/s.x,d=(o.top+a.y)/s.y,f=o.width/s.x,A=o.height/s.y;if(i){const v=Oe(i),w=r&&Ue(r)?Oe(r):r;let p=v,b=en(p);for(;b&&r&&w!==p;){const m=Dt(b),x=b.getBoundingClientRect(),I=Ve(b),E=x.left+(b.clientLeft+parseFloat(I.paddingLeft))*m.x,L=x.top+(b.clientTop+parseFloat(I.paddingTop))*m.y;u*=m.x,d*=m.y,f*=m.x,A*=m.y,u+=E,d+=L,p=Oe(b),b=en(p)}}return kr({width:f,height:A,x:u,y:d})}function rn(e,t){const n=Sr(e).scrollLeft;return t?t.left+n:kt(Ye(e)).left+n}function xo(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:rn(e,r)),i=r.top+t.scrollTop;return{x:o,y:i}}function ua(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=Ye(r),a=t?Cr(t.floating):!1;if(r===s||a&&i)return n;let u={scrollLeft:0,scrollTop:0},d=Je(1);const f=Je(0),A=Xe(r);if((A||!A&&!i)&&((Pt(r)!=="body"||rr(s))&&(u=Sr(r)),Xe(r))){const w=kt(r);d=Dt(r),f.x=w.x+r.clientLeft,f.y=w.y+r.clientTop}const v=s&&!A&&!i?xo(s,u,!0):Je(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-u.scrollLeft*d.x+f.x+v.x,y:n.y*d.y-u.scrollTop*d.y+f.y+v.y}}function da(e){return Array.from(e.getClientRects())}function fa(e){const t=Ye(e),n=Sr(e),r=e.ownerDocument.body,o=xt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=xt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+rn(e);const a=-n.scrollTop;return Ve(r).direction==="rtl"&&(s+=xt(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}function Aa(e,t){const n=Oe(e),r=Ye(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,u=0;if(o){i=o.width,s=o.height;const d=Kr();(!d||d&&t==="fixed")&&(a=o.offsetLeft,u=o.offsetTop)}return{width:i,height:s,x:a,y:u}}function pa(e,t){const n=kt(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Xe(e)?Dt(e):Je(1),s=e.clientWidth*i.x,a=e.clientHeight*i.y,u=o*i.x,d=r*i.y;return{width:s,height:a,x:u,y:d}}function yo(e,t,n){let r;if(t==="viewport")r=Aa(e,n);else if(t==="document")r=fa(Ye(e));else if(Ue(t))r=pa(t,n);else{const o=vo(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return kr(r)}function ko(e,t){const n=ut(e);return n===t||!Ue(n)||Mt(n)?!1:Ve(n).position==="fixed"||ko(n,t)}function ma(e,t){const n=t.get(e);if(n)return n;let r=nr(e,[],!1).filter(a=>Ue(a)&&Pt(a)!=="body"),o=null;const i=Ve(e).position==="fixed";let s=i?ut(e):e;for(;Ue(s)&&!Mt(s);){const a=Ve(s),u=$r(s);!u&&a.position==="fixed"&&(o=null),(i?!u&&!o:!u&&a.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||rr(s)&&!u&&ko(e,s))?r=r.filter(f=>f!==s):o=a,s=ut(s)}return t.set(e,r),r}function ha(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?Cr(t)?[]:ma(t,this._c):[].concat(n),r],a=s[0],u=s.reduce((d,f)=>{const A=yo(t,f,o);return d.top=xt(A.top,d.top),d.right=Ft(A.right,d.right),d.bottom=Ft(A.bottom,d.bottom),d.left=xt(A.left,d.left),d},yo(t,a,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function ga(e){const{width:t,height:n}=wo(e);return{width:t,height:n}}function ba(e,t,n){const r=Xe(t),o=Ye(t),i=n==="fixed",s=kt(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const u=Je(0);if(r||!r&&!i)if((Pt(t)!=="body"||rr(o))&&(a=Sr(t)),r){const v=kt(t,!0,i,t);u.x=v.x+t.clientLeft,u.y=v.y+t.clientTop}else o&&(u.x=rn(o));const d=o&&!r&&!i?xo(o,a):Je(0),f=s.left+a.scrollLeft-u.x-d.x,A=s.top+a.scrollTop-u.y-d.y;return{x:f,y:A,width:s.width,height:s.height}}function nn(e){return Ve(e).position==="static"}function Io(e,t){if(!Xe(e)||Ve(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Ye(e)===n&&(n=n.ownerDocument.body),n}function Co(e,t){const n=Oe(e);if(Cr(e))return n;if(!Xe(e)){let o=ut(e);for(;o&&!Mt(o);){if(Ue(o)&&!nn(o))return o;o=ut(o)}return n}let r=Io(e,t);for(;r&&ia(r)&&nn(r);)r=Io(r,t);return r&&Mt(r)&&nn(r)&&!$r(r)?n:r||aa(e)||n}const wa=async function(e){const t=this.getOffsetParent||Co,n=this.getDimensions,r=await n(e.floating);return{reference:ba(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function va(e){return Ve(e).direction==="rtl"}const xa={convertOffsetParentRelativeRectToViewportRelativeRect:ua,getDocumentElement:Ye,getClippingRect:ha,getOffsetParent:Co,getElementRects:wa,getClientRects:da,getDimensions:ga,getScale:Dt,isElement:Ue,isRTL:va};function So(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ya(e,t){let n=null,r;const o=Ye(e);function i(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,u){a===void 0&&(a=!1),u===void 0&&(u=1),i();const d=e.getBoundingClientRect(),{left:f,top:A,width:v,height:w}=d;if(a||t(),!v||!w)return;const p=xr(A),b=xr(o.clientWidth-(f+v)),m=xr(o.clientHeight-(A+w)),x=xr(f),E={rootMargin:-p+"px "+-b+"px "+-m+"px "+-x+"px",threshold:xt(0,Ft(1,u))||1};let L=!0;function O(T){const j=T[0].intersectionRatio;if(j!==u){if(!L)return s();j?s(!1,j):r=setTimeout(()=>{s(!1,1e-7)},1e3)}j===1&&!So(d,e.getBoundingClientRect())&&s(),L=!1}try{n=new IntersectionObserver(O,{...E,root:o.ownerDocument})}catch{n=new IntersectionObserver(O,E)}n.observe(e)}return s(!0),i}function ka(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:u=!1}=r,d=tn(e),f=o||i?[...d?nr(d):[],...nr(t)]:[];f.forEach(x=>{o&&x.addEventListener("scroll",n,{passive:!0}),i&&x.addEventListener("resize",n)});const A=d&&a?ya(d,n):null;let v=-1,w=null;s&&(w=new ResizeObserver(x=>{let[I]=x;I&&I.target===d&&w&&(w.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var E;(E=w)==null||E.observe(t)})),n()}),d&&!u&&w.observe(d),w.observe(t));let p,b=u?kt(e):null;u&&m();function m(){const x=kt(e);b&&!So(b,x)&&n(),b=x,p=requestAnimationFrame(m)}return n(),()=>{var x;f.forEach(I=>{o&&I.removeEventListener("scroll",n),i&&I.removeEventListener("resize",n)}),A==null||A(),(x=w)==null||x.disconnect(),w=null,u&&cancelAnimationFrame(p)}}const Ia=oa,Ca=sa,Sa=ra,Ea=ta,Eo=(e,t,n)=>{const r=new Map,o={platform:xa,...n},i={...o.platform,_c:r};return ea(e,t,{...o,platform:i})};/*
|
|
48
48
|
* React Tooltip
|
|
49
49
|
* {@link https://github.com/ReactTooltip/react-tooltip}
|
|
50
50
|
* @copyright ReactTooltip Team
|
|
51
51
|
* @license MIT
|
|
52
|
-
*/const ja="react-tooltip-core-styles",Ra="react-tooltip-base-styles",Eo={core:!1,base:!1};function jo({css:e,id:t=Ra,type:n="base",ref:r}){var o,s;if(!e||typeof document>"u"||Eo[n]||n==="core"&&typeof process<"u"&&(!((o=process==null?void 0:process.env)===null||o===void 0)&&o.REACT_TOOLTIP_DISABLE_CORE_STYLES)||n!=="base"&&typeof process<"u"&&(!((s=process==null?void 0:process.env)===null||s===void 0)&&s.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;n==="core"&&(t=ja),r||(r={});const{insertAt:i}=r;if(document.getElementById(t))return;const a=document.head||document.getElementsByTagName("head")[0],c=document.createElement("style");c.id=t,c.type="text/css",i==="top"&&a.firstChild?a.insertBefore(c,a.firstChild):a.appendChild(c),c.styleSheet?c.styleSheet.cssText=e:c.appendChild(document.createTextNode(e)),Eo[n]=!0}const Ro=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:n=null,place:r="top",offset:o=10,strategy:s="absolute",middlewares:i=[Ia(Number(o)),Sa({fallbackAxisSideDirection:"start"}),Ca({padding:5})],border:a})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};if(t===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};const c=i;return n?(c.push(Ea({element:n,padding:5})),So(e,t,{placement:r,strategy:s,middleware:c}).then(({x:d,y:f,placement:A,middlewareData:v})=>{var b,p;const w={left:`${d}px`,top:`${f}px`,border:a},{x:g,y}=(b=v.arrow)!==null&&b!==void 0?b:{x:0,y:0},I=(p={top:"bottom",right:"left",bottom:"top",left:"right"}[A.split("-")[0]])!==null&&p!==void 0?p:"bottom",S=a&&{borderBottom:a,borderRight:a};let L=0;if(a){const R=`${a}`.match(/(\d+)px/);L=R!=null&&R[1]?Number(R[1]):1}return{tooltipStyles:w,tooltipArrowStyles:{left:g!=null?`${g}px`:"",top:y!=null?`${y}px`:"",right:"",bottom:"",...S,[I]:`-${4+L}px`},place:A}})):So(e,t,{placement:"bottom",strategy:s,middleware:c}).then(({x:d,y:f,placement:A})=>({tooltipStyles:{left:`${d}px`,top:`${f}px`},tooltipArrowStyles:{},place:A}))},_o=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),Oo=(e,t,n)=>{let r=null;const o=function(...s){const i=()=>{r=null};!r&&(e.apply(this,s),r=setTimeout(i,t))};return o.cancel=()=>{r&&(clearTimeout(r),r=null)},o},Lo=e=>e!==null&&!Array.isArray(e)&&typeof e=="object",on=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((o,s)=>on(o,t[s]));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!Lo(e)||!Lo(t))return e===t;const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(o=>on(e[o],t[o]))},_a=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(n=>{const r=t.getPropertyValue(n);return r==="auto"||r==="scroll"})},Bo=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(_a(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},Oa=typeof window<"u"?h.useLayoutEffect:h.useEffect,Fe=e=>{e.current&&(clearTimeout(e.current),e.current=null)},La="DEFAULT_TOOLTIP_ID",Ba={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},Na=h.createContext({getTooltipData:()=>Ba});function No(e=La){return h.useContext(Na).getTooltipData(e)}var Mt={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},sn={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const Ta=({forwardRef:e,id:t,className:n,classNameArrow:r,variant:o="dark",anchorId:s,anchorSelect:i,place:a="top",offset:c=10,events:d=["hover"],openOnClick:f=!1,positionStrategy:A="absolute",middlewares:v,wrapper:b,delayShow:p=0,delayHide:w=0,float:g=!1,hidden:y=!1,noArrow:I=!1,clickable:S=!1,closeOnEsc:L=!1,closeOnScroll:R=!1,closeOnResize:F=!1,openEvents:E,closeEvents:k,globalCloseEvents:T,imperativeModeOnly:fe,style:me,position:ie,afterShow:oe,afterHide:G,disableTooltip:ee,content:$,contentWrapperRef:X,isOpen:j,defaultIsOpen:ae=!1,setIsOpen:we,activeAnchor:ne,setActiveAnchor:ke,border:q,opacity:ce,arrowColor:Le,role:O="tooltip"})=>{var H;const Q=h.useRef(null),ue=h.useRef(null),de=h.useRef(null),Re=h.useRef(null),Be=h.useRef(null),[Ye,nr]=h.useState({tooltipStyles:{},tooltipArrowStyles:{},place:a}),[be,Xe]=h.useState(!1),[Qe,qe]=h.useState(!1),[se,Ct]=h.useState(null),St=h.useRef(!1),et=h.useRef(null),{anchorRefs:Et,setActiveAnchor:Vt}=No(t),tt=h.useRef(!1),[Ve,ft]=h.useState([]),rt=h.useRef(!1),nt=f||d.includes("click"),At=nt||(E==null?void 0:E.click)||(E==null?void 0:E.dblclick)||(E==null?void 0:E.mousedown),pt=E?{...E}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!E&&nt&&Object.assign(pt,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const jt=k?{...k}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!k&&nt&&Object.assign(jt,{mouseleave:!1,blur:!1,mouseout:!1});const Ne=T?{...T}:{escape:L||!1,scroll:R||!1,resize:F||!1,clickOutsideAnchor:At||!1};fe&&(Object.assign(pt,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(jt,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(Ne,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),Oa(()=>(rt.current=!0,()=>{rt.current=!1}),[]);const Ae=_=>{rt.current&&(_&&qe(!0),setTimeout(()=>{rt.current&&(we==null||we(_),j===void 0&&Xe(_))},10))};h.useEffect(()=>{if(j===void 0)return()=>null;j&&qe(!0);const _=setTimeout(()=>{Xe(j)},10);return()=>{clearTimeout(_)}},[j]),h.useEffect(()=>{if(be!==St.current)if(Fe(Be),St.current=be,be)oe==null||oe();else{const _=(M=>{const D=M.match(/^([\d.]+)(ms|s)$/);if(!D)return 0;const[,pe,ve]=D;return Number(pe)*(ve==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));Be.current=setTimeout(()=>{qe(!1),Ct(null),G==null||G()},_+25)}},[be]);const Ht=_=>{nr(M=>on(M,_)?M:_)},Rt=(_=p)=>{Fe(de),Qe?Ae(!0):de.current=setTimeout(()=>{Ae(!0)},_)},mt=(_=w)=>{Fe(Re),Re.current=setTimeout(()=>{tt.current||Ae(!1)},_)},ot=_=>{var M;if(!_)return;const D=(M=_.currentTarget)!==null&&M!==void 0?M:_.target;if(!(D!=null&&D.isConnected))return ke(null),void Vt({current:null});p?Rt():Ae(!0),ke(D),Vt({current:D}),Fe(Re)},st=()=>{S?mt(w||100):w?mt():Ae(!1),Fe(de)},Te=({x:_,y:M})=>{var D;const pe={getBoundingClientRect:()=>({x:_,y:M,width:0,height:0,top:M,left:_,right:_,bottom:M})};Ro({place:(D=se==null?void 0:se.place)!==null&&D!==void 0?D:a,offset:c,elementReference:pe,tooltipReference:Q.current,tooltipArrowReference:ue.current,strategy:A,middlewares:v,border:q}).then(ve=>{Ht(ve)})},$e=_=>{if(!_)return;const M=_,D={x:M.clientX,y:M.clientY};Te(D),et.current=D},it=_=>{var M;if(!be)return;const D=_.target;D.isConnected&&(!((M=Q.current)===null||M===void 0)&&M.contains(D)||[document.querySelector(`[id='${s}']`),...Ve].some(pe=>pe==null?void 0:pe.contains(D))||(Ae(!1),Fe(de)))},_t=Oo(ot,50),he=Oo(st,50),Ee=_=>{he.cancel(),_t(_)},P=()=>{_t.cancel(),he()},J=h.useCallback(()=>{var _,M;const D=(_=se==null?void 0:se.position)!==null&&_!==void 0?_:ie;D?Te(D):g?et.current&&Te(et.current):ne!=null&&ne.isConnected&&Ro({place:(M=se==null?void 0:se.place)!==null&&M!==void 0?M:a,offset:c,elementReference:ne,tooltipReference:Q.current,tooltipArrowReference:ue.current,strategy:A,middlewares:v,border:q}).then(pe=>{rt.current&&Ht(pe)})},[be,ne,$,me,a,se==null?void 0:se.place,c,A,ie,se==null?void 0:se.position,g]);h.useEffect(()=>{var _,M;const D=new Set(Et);Ve.forEach(Z=>{ee!=null&&ee(Z)||D.add({current:Z})});const pe=document.querySelector(`[id='${s}']`);pe&&!(ee!=null&&ee(pe))&&D.add({current:pe});const ve=()=>{Ae(!1)},We=Bo(ne),Pe=Bo(Q.current);Ne.scroll&&(window.addEventListener("scroll",ve),We==null||We.addEventListener("scroll",ve),Pe==null||Pe.addEventListener("scroll",ve));let u=null;Ne.resize?window.addEventListener("resize",ve):ne&&Q.current&&(u=ka(ne,Q.current,J,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const x=Z=>{Z.key==="Escape"&&Ae(!1)};Ne.escape&&window.addEventListener("keydown",x),Ne.clickOutsideAnchor&&window.addEventListener("click",it);const C=[],W=Z=>{be&&(Z==null?void 0:Z.target)===ne||ot(Z)},K=Z=>{be&&(Z==null?void 0:Z.target)===ne&&st()},te=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],Y=["click","dblclick","mousedown","mouseup"];Object.entries(pt).forEach(([Z,re])=>{re&&(te.includes(Z)?C.push({event:Z,listener:Ee}):Y.includes(Z)&&C.push({event:Z,listener:W}))}),Object.entries(jt).forEach(([Z,re])=>{re&&(te.includes(Z)?C.push({event:Z,listener:P}):Y.includes(Z)&&C.push({event:Z,listener:K}))}),g&&C.push({event:"pointermove",listener:$e});const z=()=>{tt.current=!0},xe=()=>{tt.current=!1,st()};return S&&!At&&((_=Q.current)===null||_===void 0||_.addEventListener("mouseenter",z),(M=Q.current)===null||M===void 0||M.addEventListener("mouseleave",xe)),C.forEach(({event:Z,listener:re})=>{D.forEach(Se=>{var Me;(Me=Se.current)===null||Me===void 0||Me.addEventListener(Z,re)})}),()=>{var Z,re;Ne.scroll&&(window.removeEventListener("scroll",ve),We==null||We.removeEventListener("scroll",ve),Pe==null||Pe.removeEventListener("scroll",ve)),Ne.resize?window.removeEventListener("resize",ve):u==null||u(),Ne.clickOutsideAnchor&&window.removeEventListener("click",it),Ne.escape&&window.removeEventListener("keydown",x),S&&!At&&((Z=Q.current)===null||Z===void 0||Z.removeEventListener("mouseenter",z),(re=Q.current)===null||re===void 0||re.removeEventListener("mouseleave",xe)),C.forEach(({event:Se,listener:Me})=>{D.forEach(lt=>{var ye;(ye=lt.current)===null||ye===void 0||ye.removeEventListener(Se,Me)})})}},[ne,J,Qe,Et,Ve,E,k,T,nt,p,w]),h.useEffect(()=>{var _,M;let D=(M=(_=se==null?void 0:se.anchorSelect)!==null&&_!==void 0?_:i)!==null&&M!==void 0?M:"";!D&&t&&(D=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);const pe=new MutationObserver(ve=>{const We=[],Pe=[];ve.forEach(u=>{if(u.type==="attributes"&&u.attributeName==="data-tooltip-id"&&(u.target.getAttribute("data-tooltip-id")===t?We.push(u.target):u.oldValue===t&&Pe.push(u.target)),u.type==="childList"){if(ne){const x=[...u.removedNodes].filter(C=>C.nodeType===1);if(D)try{Pe.push(...x.filter(C=>C.matches(D))),Pe.push(...x.flatMap(C=>[...C.querySelectorAll(D)]))}catch{}x.some(C=>{var W;return!!(!((W=C==null?void 0:C.contains)===null||W===void 0)&&W.call(C,ne))&&(qe(!1),Ae(!1),ke(null),Fe(de),Fe(Re),!0)})}if(D)try{const x=[...u.addedNodes].filter(C=>C.nodeType===1);We.push(...x.filter(C=>C.matches(D))),We.push(...x.flatMap(C=>[...C.querySelectorAll(D)]))}catch{}}}),(We.length||Pe.length)&&ft(u=>[...u.filter(x=>!Pe.includes(x)),...We])});return pe.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{pe.disconnect()}},[t,i,se==null?void 0:se.anchorSelect,ne]),h.useEffect(()=>{J()},[J]),h.useEffect(()=>{if(!(X!=null&&X.current))return()=>null;const _=new ResizeObserver(()=>{setTimeout(()=>J())});return _.observe(X.current),()=>{_.disconnect()}},[$,X==null?void 0:X.current]),h.useEffect(()=>{var _;const M=document.querySelector(`[id='${s}']`),D=[...Ve,M];ne&&D.includes(ne)||ke((_=Ve[0])!==null&&_!==void 0?_:M)},[s,Ve,ne]),h.useEffect(()=>(ae&&Ae(!0),()=>{Fe(de),Fe(Re)}),[]),h.useEffect(()=>{var _;let M=(_=se==null?void 0:se.anchorSelect)!==null&&_!==void 0?_:i;if(!M&&t&&(M=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),M)try{const D=Array.from(document.querySelectorAll(M));ft(D)}catch{ft([])}},[t,i,se==null?void 0:se.anchorSelect]),h.useEffect(()=>{de.current&&(Fe(de),Rt(p))},[p]);const Ce=(H=se==null?void 0:se.content)!==null&&H!==void 0?H:$,at=be&&Object.keys(Ye.tooltipStyles).length>0;return h.useImperativeHandle(e,()=>({open:_=>{if(_!=null&&_.anchorSelect)try{document.querySelector(_.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${_.anchorSelect}" is not a valid CSS selector`)}Ct(_??null),_!=null&&_.delay?Rt(_.delay):Ae(!0)},close:_=>{_!=null&&_.delay?mt(_.delay):Ae(!1)},activeAnchor:ne,place:Ye.place,isOpen:!!(Qe&&!y&&Ce&&at)})),Qe&&!y&&Ce?h.createElement(b,{id:t,role:O,className:Jr("react-tooltip",Mt.tooltip,sn.tooltip,sn[o],n,`react-tooltip__place-${Ye.place}`,Mt[at?"show":"closing"],at?"react-tooltip__show":"react-tooltip__closing",A==="fixed"&&Mt.fixed,S&&Mt.clickable),onTransitionEnd:_=>{Fe(Be),be||_.propertyName!=="opacity"||(qe(!1),Ct(null),G==null||G())},style:{...me,...Ye.tooltipStyles,opacity:ce!==void 0&&at?ce:void 0},ref:Q},Ce,h.createElement(b,{className:Jr("react-tooltip-arrow",Mt.arrow,sn.arrow,r,I&&Mt.noArrow),style:{...Ye.tooltipArrowStyles,background:Le?`linear-gradient(to right bottom, transparent 50%, ${Le} 50%)`:void 0},ref:ue})):null},Fa=({content:e})=>h.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),Wa=h.forwardRef(({id:e,anchorId:t,anchorSelect:n,content:r,html:o,render:s,className:i,classNameArrow:a,variant:c="dark",place:d="top",offset:f=10,wrapper:A="div",children:v=null,events:b=["hover"],openOnClick:p=!1,positionStrategy:w="absolute",middlewares:g,delayShow:y=0,delayHide:I=0,float:S=!1,hidden:L=!1,noArrow:R=!1,clickable:F=!1,closeOnEsc:E=!1,closeOnScroll:k=!1,closeOnResize:T=!1,openEvents:fe,closeEvents:me,globalCloseEvents:ie,imperativeModeOnly:oe=!1,style:G,position:ee,isOpen:$,defaultIsOpen:X=!1,disableStyleInjection:j=!1,border:ae,opacity:we,arrowColor:ne,setIsOpen:ke,afterShow:q,afterHide:ce,disableTooltip:Le,role:O="tooltip"},H)=>{const[Q,ue]=h.useState(r),[de,Re]=h.useState(o),[Be,Ye]=h.useState(d),[nr,be]=h.useState(c),[Xe,Qe]=h.useState(f),[qe,se]=h.useState(y),[Ct,St]=h.useState(I),[et,Et]=h.useState(S),[Vt,tt]=h.useState(L),[Ve,ft]=h.useState(A),[rt,nt]=h.useState(b),[At,pt]=h.useState(w),[jt,Ne]=h.useState(null),[Ae,Ht]=h.useState(null),Rt=h.useRef(j),{anchorRefs:mt,activeAnchor:ot}=No(e),st=he=>he==null?void 0:he.getAttributeNames().reduce((Ee,P)=>{var J;return P.startsWith("data-tooltip-")&&(Ee[P.replace(/^data-tooltip-/,"")]=(J=he==null?void 0:he.getAttribute(P))!==null&&J!==void 0?J:null),Ee},{}),Te=he=>{const Ee={place:P=>{var J;Ye((J=P)!==null&&J!==void 0?J:d)},content:P=>{ue(P??r)},html:P=>{Re(P??o)},variant:P=>{var J;be((J=P)!==null&&J!==void 0?J:c)},offset:P=>{Qe(P===null?f:Number(P))},wrapper:P=>{var J;ft((J=P)!==null&&J!==void 0?J:A)},events:P=>{const J=P==null?void 0:P.split(" ");nt(J??b)},"position-strategy":P=>{var J;pt((J=P)!==null&&J!==void 0?J:w)},"delay-show":P=>{se(P===null?y:Number(P))},"delay-hide":P=>{St(P===null?I:Number(P))},float:P=>{Et(P===null?S:P==="true")},hidden:P=>{tt(P===null?L:P==="true")},"class-name":P=>{Ne(P)}};Object.values(Ee).forEach(P=>P(null)),Object.entries(he).forEach(([P,J])=>{var Ce;(Ce=Ee[P])===null||Ce===void 0||Ce.call(Ee,J)})};h.useEffect(()=>{ue(r)},[r]),h.useEffect(()=>{Re(o)},[o]),h.useEffect(()=>{Ye(d)},[d]),h.useEffect(()=>{be(c)},[c]),h.useEffect(()=>{Qe(f)},[f]),h.useEffect(()=>{se(y)},[y]),h.useEffect(()=>{St(I)},[I]),h.useEffect(()=>{Et(S)},[S]),h.useEffect(()=>{tt(L)},[L]),h.useEffect(()=>{pt(w)},[w]),h.useEffect(()=>{Rt.current!==j&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[j]),h.useEffect(()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:j==="core",disableBase:j}}))},[]),h.useEffect(()=>{var he;const Ee=new Set(mt);let P=n;if(!P&&e&&(P=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),P)try{document.querySelectorAll(P).forEach(M=>{Ee.add({current:M})})}catch{console.warn(`[react-tooltip] "${P}" is not a valid CSS selector`)}const J=document.querySelector(`[id='${t}']`);if(J&&Ee.add({current:J}),!Ee.size)return()=>null;const Ce=(he=Ae??J)!==null&&he!==void 0?he:ot.current,at=new MutationObserver(M=>{M.forEach(D=>{var pe;if(!Ce||D.type!=="attributes"||!(!((pe=D.attributeName)===null||pe===void 0)&&pe.startsWith("data-tooltip-")))return;const ve=st(Ce);Te(ve)})}),_={attributes:!0,childList:!1,subtree:!1};if(Ce){const M=st(Ce);Te(M),at.observe(Ce,_)}return()=>{at.disconnect()}},[mt,ot,Ae,t,n]),h.useEffect(()=>{G!=null&&G.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),ae&&!_o("border",`${ae}`)&&console.warn(`[react-tooltip] "${ae}" is not a valid \`border\`.`),G!=null&&G.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),we&&!_o("opacity",`${we}`)&&console.warn(`[react-tooltip] "${we}" is not a valid \`opacity\`.`)},[]);let $e=v;const it=h.useRef(null);if(s){const he=s({content:(Ae==null?void 0:Ae.getAttribute("data-tooltip-content"))||Q||null,activeAnchor:Ae});$e=he?h.createElement("div",{ref:it,className:"react-tooltip-content-wrapper"},he):null}else Q&&($e=Q);de&&($e=h.createElement(Fa,{content:de}));const _t={forwardRef:H,id:e,anchorId:t,anchorSelect:n,className:Jr(i,jt),classNameArrow:a,content:$e,contentWrapperRef:it,place:Be,variant:nr,offset:Xe,wrapper:Ve,events:rt,openOnClick:p,positionStrategy:At,middlewares:g,delayShow:qe,delayHide:Ct,float:et,hidden:Vt,noArrow:R,clickable:F,closeOnEsc:E,closeOnScroll:k,closeOnResize:T,openEvents:fe,closeEvents:me,globalCloseEvents:ie,imperativeModeOnly:oe,style:G,position:ee,isOpen:$,defaultIsOpen:X,border:ae,opacity:we,arrowColor:ne,setIsOpen:ke,afterShow:q,afterHide:ce,disableTooltip:Le,activeAnchor:Ae,setActiveAnchor:he=>Ht(he),role:O};return h.createElement(Ta,{..._t})});typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",e=>{e.detail.disableCore||jo({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),e.detail.disableBase||jo({css:`
|
|
53
|
-
.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})});function To(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=To(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Pa(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=To(e))&&(r&&(r+=" "),r+=t);return r}const an="-",Ma=e=>{const t=Da(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{const a=i.split(an);return a[0]===""&&a.length!==1&&a.shift(),Fo(a,t)||Za(i)},getConflictingClassGroupIds:(i,a)=>{const c=n[i]||[];return a&&r[i]?[...c,...r[i]]:c}}},Fo=(e,t)=>{var i;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?Fo(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const s=e.join(an);return(i=t.validators.find(({validator:a})=>a(s)))==null?void 0:i.classGroupId},Wo=/^\[(.+)\]$/,Za=e=>{if(Wo.test(e)){const t=Wo.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Da=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const o in n)ln(n[o],r,o,t);return r},ln=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const s=o===""?t:Po(t,o);s.classGroupId=n;return}if(typeof o=="function"){if(Ga(o)){ln(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([s,i])=>{ln(i,Po(t,s),n,r)})})},Po=(e,t)=>{let n=e;return t.split(an).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},Ga=e=>e.isThemeGetter,Va=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(s,i)=>{n.set(s,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let i=n.get(s);if(i!==void 0)return i;if((i=r.get(s))!==void 0)return o(s,i),i},set(s,i){n.has(s)?n.set(s,i):o(s,i)}}},cn="!",un=":",Ha=un.length,Ua=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=o=>{const s=[];let i=0,a=0,c=0,d;for(let p=0;p<o.length;p++){let w=o[p];if(i===0&&a===0){if(w===un){s.push(o.slice(c,p)),c=p+Ha;continue}if(w==="/"){d=p;continue}}w==="["?i++:w==="]"?i--:w==="("?a++:w===")"&&a--}const f=s.length===0?o:o.substring(c),A=za(f),v=A!==f,b=d&&d>c?d-c:void 0;return{modifiers:s,hasImportantModifier:v,baseClassName:A,maybePostfixModifierPosition:b}};if(t){const o=t+un,s=r;r=i=>i.startsWith(o)?s(i.substring(o.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:i,maybePostfixModifierPosition:void 0}}if(n){const o=r;r=s=>n({className:s,parseClassName:o})}return r},za=e=>e.endsWith(cn)?e.substring(0,e.length-1):e.startsWith(cn)?e.substring(1):e,Ja=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const o=[];let s=[];return r.forEach(i=>{i[0]==="["||t[i]?(o.push(...s.sort(),i),s=[]):s.push(i)}),o.push(...s.sort()),o}},Ya=e=>({cache:Va(e.cacheSize),parseClassName:Ua(e),sortModifiers:Ja(e),...Ma(e)}),Xa=/\s+/,Qa=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:s}=t,i=[],a=e.trim().split(Xa);let c="";for(let d=a.length-1;d>=0;d-=1){const f=a[d],{isExternal:A,modifiers:v,hasImportantModifier:b,baseClassName:p,maybePostfixModifierPosition:w}=n(f);if(A){c=f+(c.length>0?" "+c:c);continue}let g=!!w,y=r(g?p.substring(0,w):p);if(!y){if(!g){c=f+(c.length>0?" "+c:c);continue}if(y=r(p),!y){c=f+(c.length>0?" "+c:c);continue}g=!1}const I=s(v).join(":"),S=b?I+cn:I,L=S+y;if(i.includes(L))continue;i.push(L);const R=o(y,g);for(let F=0;F<R.length;++F){const E=R[F];i.push(S+E)}c=f+(c.length>0?" "+c:c)}return c};function qa(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Mo(t))&&(r&&(r+=" "),r+=n);return r}const Mo=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Mo(e[r]))&&(n&&(n+=" "),n+=t);return n};function $a(e,...t){let n,r,o,s=i;function i(c){const d=t.reduce((f,A)=>A(f),e());return n=Ya(d),r=n.cache.get,o=n.cache.set,s=a,a(c)}function a(c){const d=r(c);if(d)return d;const f=Qa(c,n);return o(c,f),f}return function(){return s(qa.apply(null,arguments))}}const ge=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Zo=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Do=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Ka=/^\d+\/\d+$/,el=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,tl=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,rl=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,nl=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ol=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Zt=e=>Ka.test(e),U=e=>!!e&&!Number.isNaN(Number(e)),dt=e=>!!e&&Number.isInteger(Number(e)),dn=e=>e.endsWith("%")&&U(e.slice(0,-1)),Ke=e=>el.test(e),sl=()=>!0,il=e=>tl.test(e)&&!rl.test(e),Go=()=>!1,al=e=>nl.test(e),ll=e=>ol.test(e),cl=e=>!B(e)&&!N(e),ul=e=>Dt(e,Jo,Go),B=e=>Zo.test(e),It=e=>Dt(e,Yo,il),fn=e=>Dt(e,ml,U),Vo=e=>Dt(e,Uo,Go),dl=e=>Dt(e,zo,ll),Sr=e=>Dt(e,Xo,al),N=e=>Do.test(e),rr=e=>Gt(e,Yo),fl=e=>Gt(e,hl),Ho=e=>Gt(e,Uo),Al=e=>Gt(e,Jo),pl=e=>Gt(e,zo),Er=e=>Gt(e,Xo,!0),Dt=(e,t,n)=>{const r=Zo.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Gt=(e,t,n=!1)=>{const r=Do.exec(e);return r?r[1]?t(r[1]):n:!1},Uo=e=>e==="position"||e==="percentage",zo=e=>e==="image"||e==="url",Jo=e=>e==="length"||e==="size"||e==="bg-size",Yo=e=>e==="length",ml=e=>e==="number",hl=e=>e==="family-name",Xo=e=>e==="shadow",gl=$a(()=>{const e=ge("color"),t=ge("font"),n=ge("text"),r=ge("font-weight"),o=ge("tracking"),s=ge("leading"),i=ge("breakpoint"),a=ge("container"),c=ge("spacing"),d=ge("radius"),f=ge("shadow"),A=ge("inset-shadow"),v=ge("text-shadow"),b=ge("drop-shadow"),p=ge("blur"),w=ge("perspective"),g=ge("aspect"),y=ge("ease"),I=ge("animate"),S=()=>["auto","avoid","all","avoid-page","page","left","right","column"],L=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],R=()=>[...L(),N,B],F=()=>["auto","hidden","clip","visible","scroll"],E=()=>["auto","contain","none"],k=()=>[N,B,c],T=()=>[Zt,"full","auto",...k()],fe=()=>[dt,"none","subgrid",N,B],me=()=>["auto",{span:["full",dt,N,B]},dt,N,B],ie=()=>[dt,"auto",N,B],oe=()=>["auto","min","max","fr",N,B],G=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ee=()=>["start","end","center","stretch","center-safe","end-safe"],$=()=>["auto",...k()],X=()=>[Zt,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...k()],j=()=>[e,N,B],ae=()=>[...L(),Ho,Vo,{position:[N,B]}],we=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ne=()=>["auto","cover","contain",Al,ul,{size:[N,B]}],ke=()=>[dn,rr,It],q=()=>["","none","full",d,N,B],ce=()=>["",U,rr,It],Le=()=>["solid","dashed","dotted","double"],O=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],H=()=>[U,dn,Ho,Vo],Q=()=>["","none",p,N,B],ue=()=>["none",U,N,B],de=()=>["none",U,N,B],Re=()=>[U,N,B],Be=()=>[Zt,"full",...k()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ke],breakpoint:[Ke],color:[sl],container:[Ke],"drop-shadow":[Ke],ease:["in","out","in-out"],font:[cl],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ke],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ke],shadow:[Ke],spacing:["px",U],text:[Ke],"text-shadow":[Ke],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Zt,B,N,g]}],container:["container"],columns:[{columns:[U,B,N,a]}],"break-after":[{"break-after":S()}],"break-before":[{"break-before":S()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:R()}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:E()}],"overscroll-x":[{"overscroll-x":E()}],"overscroll-y":[{"overscroll-y":E()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{start:T()}],end:[{end:T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:["visible","invisible","collapse"],z:[{z:[dt,"auto",N,B]}],basis:[{basis:[Zt,"full","auto",a,...k()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[U,Zt,"auto","initial","none",B]}],grow:[{grow:["",U,N,B]}],shrink:[{shrink:["",U,N,B]}],order:[{order:[dt,"first","last","none",N,B]}],"grid-cols":[{"grid-cols":fe()}],"col-start-end":[{col:me()}],"col-start":[{"col-start":ie()}],"col-end":[{"col-end":ie()}],"grid-rows":[{"grid-rows":fe()}],"row-start-end":[{row:me()}],"row-start":[{"row-start":ie()}],"row-end":[{"row-end":ie()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":oe()}],"auto-rows":[{"auto-rows":oe()}],gap:[{gap:k()}],"gap-x":[{"gap-x":k()}],"gap-y":[{"gap-y":k()}],"justify-content":[{justify:[...G(),"normal"]}],"justify-items":[{"justify-items":[...ee(),"normal"]}],"justify-self":[{"justify-self":["auto",...ee()]}],"align-content":[{content:["normal",...G()]}],"align-items":[{items:[...ee(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ee(),{baseline:["","last"]}]}],"place-content":[{"place-content":G()}],"place-items":[{"place-items":[...ee(),"baseline"]}],"place-self":[{"place-self":["auto",...ee()]}],p:[{p:k()}],px:[{px:k()}],py:[{py:k()}],ps:[{ps:k()}],pe:[{pe:k()}],pt:[{pt:k()}],pr:[{pr:k()}],pb:[{pb:k()}],pl:[{pl:k()}],m:[{m:$()}],mx:[{mx:$()}],my:[{my:$()}],ms:[{ms:$()}],me:[{me:$()}],mt:[{mt:$()}],mr:[{mr:$()}],mb:[{mb:$()}],ml:[{ml:$()}],"space-x":[{"space-x":k()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":k()}],"space-y-reverse":["space-y-reverse"],size:[{size:X()}],w:[{w:[a,"screen",...X()]}],"min-w":[{"min-w":[a,"screen","none",...X()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},...X()]}],h:[{h:["screen",...X()]}],"min-h":[{"min-h":["screen","none",...X()]}],"max-h":[{"max-h":["screen",...X()]}],"font-size":[{text:["base",n,rr,It]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,N,fn]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",dn,B]}],"font-family":[{font:[fl,B,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,N,B]}],"line-clamp":[{"line-clamp":[U,"none",N,fn]}],leading:[{leading:[s,...k()]}],"list-image":[{"list-image":["none",N,B]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",N,B]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:j()}],"text-color":[{text:j()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Le(),"wavy"]}],"text-decoration-thickness":[{decoration:[U,"from-font","auto",N,It]}],"text-decoration-color":[{decoration:j()}],"underline-offset":[{"underline-offset":[U,"auto",N,B]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",N,B]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",N,B]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ae()}],"bg-repeat":[{bg:we()}],"bg-size":[{bg:ne()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},dt,N,B],radial:["",N,B],conic:[dt,N,B]},pl,dl]}],"bg-color":[{bg:j()}],"gradient-from-pos":[{from:ke()}],"gradient-via-pos":[{via:ke()}],"gradient-to-pos":[{to:ke()}],"gradient-from":[{from:j()}],"gradient-via":[{via:j()}],"gradient-to":[{to:j()}],rounded:[{rounded:q()}],"rounded-s":[{"rounded-s":q()}],"rounded-e":[{"rounded-e":q()}],"rounded-t":[{"rounded-t":q()}],"rounded-r":[{"rounded-r":q()}],"rounded-b":[{"rounded-b":q()}],"rounded-l":[{"rounded-l":q()}],"rounded-ss":[{"rounded-ss":q()}],"rounded-se":[{"rounded-se":q()}],"rounded-ee":[{"rounded-ee":q()}],"rounded-es":[{"rounded-es":q()}],"rounded-tl":[{"rounded-tl":q()}],"rounded-tr":[{"rounded-tr":q()}],"rounded-br":[{"rounded-br":q()}],"rounded-bl":[{"rounded-bl":q()}],"border-w":[{border:ce()}],"border-w-x":[{"border-x":ce()}],"border-w-y":[{"border-y":ce()}],"border-w-s":[{"border-s":ce()}],"border-w-e":[{"border-e":ce()}],"border-w-t":[{"border-t":ce()}],"border-w-r":[{"border-r":ce()}],"border-w-b":[{"border-b":ce()}],"border-w-l":[{"border-l":ce()}],"divide-x":[{"divide-x":ce()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ce()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Le(),"hidden","none"]}],"divide-style":[{divide:[...Le(),"hidden","none"]}],"border-color":[{border:j()}],"border-color-x":[{"border-x":j()}],"border-color-y":[{"border-y":j()}],"border-color-s":[{"border-s":j()}],"border-color-e":[{"border-e":j()}],"border-color-t":[{"border-t":j()}],"border-color-r":[{"border-r":j()}],"border-color-b":[{"border-b":j()}],"border-color-l":[{"border-l":j()}],"divide-color":[{divide:j()}],"outline-style":[{outline:[...Le(),"none","hidden"]}],"outline-offset":[{"outline-offset":[U,N,B]}],"outline-w":[{outline:["",U,rr,It]}],"outline-color":[{outline:j()}],shadow:[{shadow:["","none",f,Er,Sr]}],"shadow-color":[{shadow:j()}],"inset-shadow":[{"inset-shadow":["none",A,Er,Sr]}],"inset-shadow-color":[{"inset-shadow":j()}],"ring-w":[{ring:ce()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:j()}],"ring-offset-w":[{"ring-offset":[U,It]}],"ring-offset-color":[{"ring-offset":j()}],"inset-ring-w":[{"inset-ring":ce()}],"inset-ring-color":[{"inset-ring":j()}],"text-shadow":[{"text-shadow":["none",v,Er,Sr]}],"text-shadow-color":[{"text-shadow":j()}],opacity:[{opacity:[U,N,B]}],"mix-blend":[{"mix-blend":[...O(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":O()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[U]}],"mask-image-linear-from-pos":[{"mask-linear-from":H()}],"mask-image-linear-to-pos":[{"mask-linear-to":H()}],"mask-image-linear-from-color":[{"mask-linear-from":j()}],"mask-image-linear-to-color":[{"mask-linear-to":j()}],"mask-image-t-from-pos":[{"mask-t-from":H()}],"mask-image-t-to-pos":[{"mask-t-to":H()}],"mask-image-t-from-color":[{"mask-t-from":j()}],"mask-image-t-to-color":[{"mask-t-to":j()}],"mask-image-r-from-pos":[{"mask-r-from":H()}],"mask-image-r-to-pos":[{"mask-r-to":H()}],"mask-image-r-from-color":[{"mask-r-from":j()}],"mask-image-r-to-color":[{"mask-r-to":j()}],"mask-image-b-from-pos":[{"mask-b-from":H()}],"mask-image-b-to-pos":[{"mask-b-to":H()}],"mask-image-b-from-color":[{"mask-b-from":j()}],"mask-image-b-to-color":[{"mask-b-to":j()}],"mask-image-l-from-pos":[{"mask-l-from":H()}],"mask-image-l-to-pos":[{"mask-l-to":H()}],"mask-image-l-from-color":[{"mask-l-from":j()}],"mask-image-l-to-color":[{"mask-l-to":j()}],"mask-image-x-from-pos":[{"mask-x-from":H()}],"mask-image-x-to-pos":[{"mask-x-to":H()}],"mask-image-x-from-color":[{"mask-x-from":j()}],"mask-image-x-to-color":[{"mask-x-to":j()}],"mask-image-y-from-pos":[{"mask-y-from":H()}],"mask-image-y-to-pos":[{"mask-y-to":H()}],"mask-image-y-from-color":[{"mask-y-from":j()}],"mask-image-y-to-color":[{"mask-y-to":j()}],"mask-image-radial":[{"mask-radial":[N,B]}],"mask-image-radial-from-pos":[{"mask-radial-from":H()}],"mask-image-radial-to-pos":[{"mask-radial-to":H()}],"mask-image-radial-from-color":[{"mask-radial-from":j()}],"mask-image-radial-to-color":[{"mask-radial-to":j()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":L()}],"mask-image-conic-pos":[{"mask-conic":[U]}],"mask-image-conic-from-pos":[{"mask-conic-from":H()}],"mask-image-conic-to-pos":[{"mask-conic-to":H()}],"mask-image-conic-from-color":[{"mask-conic-from":j()}],"mask-image-conic-to-color":[{"mask-conic-to":j()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ae()}],"mask-repeat":[{mask:we()}],"mask-size":[{mask:ne()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",N,B]}],filter:[{filter:["","none",N,B]}],blur:[{blur:Q()}],brightness:[{brightness:[U,N,B]}],contrast:[{contrast:[U,N,B]}],"drop-shadow":[{"drop-shadow":["","none",b,Er,Sr]}],"drop-shadow-color":[{"drop-shadow":j()}],grayscale:[{grayscale:["",U,N,B]}],"hue-rotate":[{"hue-rotate":[U,N,B]}],invert:[{invert:["",U,N,B]}],saturate:[{saturate:[U,N,B]}],sepia:[{sepia:["",U,N,B]}],"backdrop-filter":[{"backdrop-filter":["","none",N,B]}],"backdrop-blur":[{"backdrop-blur":Q()}],"backdrop-brightness":[{"backdrop-brightness":[U,N,B]}],"backdrop-contrast":[{"backdrop-contrast":[U,N,B]}],"backdrop-grayscale":[{"backdrop-grayscale":["",U,N,B]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[U,N,B]}],"backdrop-invert":[{"backdrop-invert":["",U,N,B]}],"backdrop-opacity":[{"backdrop-opacity":[U,N,B]}],"backdrop-saturate":[{"backdrop-saturate":[U,N,B]}],"backdrop-sepia":[{"backdrop-sepia":["",U,N,B]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":k()}],"border-spacing-x":[{"border-spacing-x":k()}],"border-spacing-y":[{"border-spacing-y":k()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",N,B]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[U,"initial",N,B]}],ease:[{ease:["linear","initial",y,N,B]}],delay:[{delay:[U,N,B]}],animate:[{animate:["none",I,N,B]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[w,N,B]}],"perspective-origin":[{"perspective-origin":R()}],rotate:[{rotate:ue()}],"rotate-x":[{"rotate-x":ue()}],"rotate-y":[{"rotate-y":ue()}],"rotate-z":[{"rotate-z":ue()}],scale:[{scale:de()}],"scale-x":[{"scale-x":de()}],"scale-y":[{"scale-y":de()}],"scale-z":[{"scale-z":de()}],"scale-3d":["scale-3d"],skew:[{skew:Re()}],"skew-x":[{"skew-x":Re()}],"skew-y":[{"skew-y":Re()}],transform:[{transform:[N,B,"","none","gpu","cpu"]}],"transform-origin":[{origin:R()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Be()}],"translate-x":[{"translate-x":Be()}],"translate-y":[{"translate-y":Be()}],"translate-z":[{"translate-z":Be()}],"translate-none":["translate-none"],accent:[{accent:j()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:j()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",N,B]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",N,B]}],fill:[{fill:["none",...j()]}],"stroke-w":[{stroke:[U,rr,It,fn]}],stroke:[{stroke:["none",...j()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function An(...e){return gl(Pa(e))}const wl=l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",viewBox:"0 0 256 256",children:l.jsx("path",{fill:"currentColor",d:"M216,72H131.31L104,44.69A15.86,15.86,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.4,15.4,0,0,0,39.38,216H216.89A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM40,56H92.69l16,16H40ZM216,200H40V88H216Z"})}),bl=l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",viewBox:"0 0 256 256",children:l.jsx("path",{fill:"currentColor",d:"M48,48V208H80a8,8,0,0,1,0,16H40a8,8,0,0,1-8-8V40a8,8,0,0,1,8-8H80a8,8,0,0,1,0,16ZM216,32H176a8,8,0,0,0,0,16h32V208H176a8,8,0,0,0,0,16h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32Z"})}),vl=l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",viewBox:"0 0 256 256",children:l.jsx("path",{fill:"currentColor",d:"M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM40,112H80v32H40Zm56,0H216v32H96ZM216,64V96H40V64ZM40,160H80v32H40Zm176,32H96V160H216v32Z"})}),xl=l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",viewBox:"0 0 256 256",children:l.jsx("path",{fill:"currentColor",d:"M140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180ZM128,72c-22.06,0-40,16.15-40,36v4a8,8,0,0,0,16,0v-4c0-11,10.77-20,24-20s24,9,24,20-10.77,20-24,20a8,8,0,0,0-8,8v8a8,8,0,0,0,16,0v-.72c18.24-3.35,32-17.9,32-35.28C168,88.15,150.06,72,128,72Zm104,56A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"})}),yl=e=>{var t=xl,n="";return(e==="array"||e==="awkward"||e==="sparse")&&(t=bl),e==="table"&&(t=vl),e==="container"&&(t=wl,n="text-sky-700"),l.jsx("div",{className:`w-6 aspect-square flex-shrink-0 ${n}`,children:t})};function kl({data:e,index:t,onItemClick:n,breadcrumbs:r,handleSelectClick:o,className:s,showTooltip:i=!0}){return l.jsx("div",{className:An("flex flex-col-reverse border-r border-r-slate-300 min-w-56 w-fit max-w-xs px-4 h-auto pt-2",s),children:l.jsx("ul",{className:"scrollbar-always-visible overflow-y-auto flex-grow peer-hover:text-slate-500 peer-hover:border peer-hover:border-blue-400 rounded-md",children:e.map(a=>{let c=a.id+t;return l.jsxs("li",{className:`${r.length>t&&r[t].label===a.id?"bg-sky-200 hover:bg-sky-300":"hover:bg-sky-300"} flex space-x-2 px-2 rounded-sm hover:cursor-pointer relative`,onClick:()=>n(a),id:c,children:[yl(a.attributes.structure_family),l.jsx("p",{className:"truncate max-w-full",children:a.id}),a.attributes.structure_family==="container"?l.jsx("p",{className:"absolute right-1 text-slate-500",children:">"}):"",o&&i&&l.jsx(Wa,{children:l.jsx(Ur,{text:"Select",size:"small",cb:d=>{d.stopPropagation(),o(a)}}),anchorSelect:`#${c}`,clickable:!0,delayShow:600,opacity:1,offset:10,place:"top",variant:"info",style:{maxWidth:"500px",margin:"0",padding:"0.3rem",height:"fit-content",backgroundColor:"#e9e8eb",borderWidth:"1px",borderRadius:"1rem"}})]},c)})})})}const Il=({url:e,apiKey:t,searchPath:n,bearerToken:r,initialSearchPath:o,reverseSort:s})=>{const[i,a]=h.useState([]),[c,d]=h.useState([]),[f,A]=h.useState(),[v,b]=h.useState(),[p,w]=h.useState("hidden"),[g,y]=h.useState(null),[I,S]=h.useState(void 0),[L,R]=h.useState(null),F=h.useRef([]),E=h.useRef(-1),k=h.useMemo(()=>ji(),[]),T=h.useMemo(()=>o||k||null,[o]);var fe,me;E.current>-1&&(fe=()=>{if(E.current=E.current-1,E.current<0)qt(n,e,O=>a([O])),d([]),A(""),b(""),w("hidden"),gr("");else{const O=F.current[E.current];j(O),gr(O)}}),E.current+1<F.current.length&&(me=()=>{E.current=E.current+1;const O=F.current[E.current];j(O),gr(O)});const ie="medium",oe=h.useCallback((O,H)=>{a(Q=>{const ue=Q.slice(0,O.attributes.ancestors.length+1);return H?[...ue,H]:ue})},[]),G=h.useCallback(O=>{d(H=>{var Q=[...H];const ue=O.attributes.ancestors;for(;Q.length>ue.length;)Q.pop();var de={label:O.id,icon:Ii(O.attributes.structure_family),onClick:()=>X(O)};return Q.push(de),Q})},[]),ee=()=>{A(void 0),b(void 0),w("hidden")},$=O=>{E.current=O.attributes.ancestors.length,F.current=F.current.slice(0,E.current),F.current=[...F.current,O]},X=h.useCallback(O=>{$(O),j(O),gr(O)},[]),j=O=>{ao(O)?ae(O):lo(O)?we(O):Zi(O)?ne(O):console.error("Error: No matching structure family found for: "+O.attributes.structure_family)},ae=h.useCallback(O=>{y(O),G(O),w(ie),oe(O)},[]),we=h.useCallback(O=>{y(O),G(O),w(ie),oe(O)},[]),ne=O=>{y(null);const H=Bt(O);qt(H,e,Q=>ke(O,Q)),ee()},ke=h.useCallback((O,H)=>{oe(O,H),G(O)},[]),q=()=>{d([]),F.current=[],E.current=-1,y(null),w("hidden"),qt(n,e,O=>a([O]))},ce=async()=>{let O=null;r&&_i(r),Li(s),t?O=await Oi(t,n,e):O=await qt(n,e),O!==null&&typeof O!="string"&&"data"in O?a([O]):S("No data found at the provided Tiled URL. Please check the URL or API key.")},Le=O=>{const Q=i[i.length-1].data.find(ue=>ue.id===O);Q?(X(Q),R(ue=>ue?ue.slice(1):null)):(console.warn(`No matching item found for search path: ${O}`),R(null))};return h.useEffect(()=>{try{ce()}catch(O){console.error("error getting first tiled request: ",O),S("Error initializing Tiled data. Please check the console for more details.")}if(T){let O=T.split("/").filter(Boolean);R(O)}},[]),h.useEffect(()=>{if(!(i.length<=0)&&!(!L||L.length===0)&&T&&L){let H=T.split("/").filter(Boolean).length-L.length;i.length===H+1&&Le(L[0])}},[L,i]),h.useMemo(()=>({columns:i,breadcrumbs:c,imageUrl:f,popoutUrl:v,previewSize:p,previewItem:g,handleColumnItemClick:X,handleLeftArrowClick:fe,handleRightArrowClick:me,resetAllData:q,warning:I}),[i,c,f,v,p,X,I])};function Cl({url:e,handleSelectClick:t,singleColumnMode:n,handleExpandClick:r,isExpanded:o,apiKey:s,bearerToken:i,initialSearchPath:a,reverseSort:c,...d}){const f=h.useRef(null),A=Il({url:e,apiKey:s,bearerToken:i,reverseSort:c});if(!A)return l.jsx("div",{children:"Error: Unable to load tiled data. Check console for error logs."});const{columns:v,breadcrumbs:b,previewItem:p,previewSize:w,handleColumnItemClick:g,handleLeftArrowClick:y,handleRightArrowClick:I,resetAllData:S}=A;return l.jsxs(l.Fragment,{children:[l.jsx(Ti,{breadcrumbs:b,onLeftArrowClick:y,onRightArrowClick:I,onHomeClick:S,secondaryTitle:e,handleExpandClick:r,isExpanded:o}),l.jsxs(zi,{ref:f,children:[v.map((L,R)=>l.jsx(kl,{handleSelectClick:t,data:L.data,index:R,onItemClick:n?t:g,breadcrumbs:b,className:n?"w-full max-w-full":"",showTooltip:!n},R)),p&&l.jsx(Hi,{previewItem:p,previewSize:w,handleSelectClick:t,url:e,scrollContainerRef:f})]}),l.jsx(Ui,{breadcrumbs:b})]})}function Sl({url:e,handleUrlChange:t,handleSubmit:n,...r}){const[o,s]=h.useState(null),i=async c=>{console.log({url:c});const d=await qt("",c);d!==null&&typeof d!="string"&&"data"in d?(console.log({res:d}),n()):(console.log({res:d}),s(l.jsxs("p",{className:"px-8",children:["Did not receive a valid response from ",l.jsx("b",{children:l.jsx("i",{children:c})}),", please verify your Tiled server can be reached from this path. The most common issue is CORS restrictions, which need to be set during Tiled server initialization. Check the console for more details."]})))},a=c=>{c.key==="Enter"&&(c.preventDefault(),i(e))};return l.jsxs("div",{className:"flex flex-col justify-center items-center space-y-8 h-full w-full",...r,children:[l.jsxs("div",{className:"h-1/2 flex flex-col space-y-8 justify-end py-8 items-center",children:[l.jsx("h2",{className:"text-slate-700 font-light text-lg",children:"Enter your Tiled url"}),l.jsx("input",{className:"w-72 h-10 pl-2 border border-slate-500",type:"text",value:e||"",onKeyDown:a,onChange:c=>t(c.target.value)}),l.jsx(Ur,{disabled:!e,text:"Submit",cb:()=>i(e)})]}),l.jsx("div",{className:"h-1/2",children:o})]})}function El({userInputApiKey:e,setIsViewerOpen:t,buttonModeText:n,selectedData:r,handleInputChange:o,userInputReverseSort:s,handleReverseSortChange:i}){return l.jsxs("span",{className:"flex gap-2 items-center",children:[l.jsx("label",{htmlFor:"apikey",className:"text-gray-700 text-sm flex items-center",children:"API Key:"}),l.jsx("input",{type:"text",className:"border border-gray-300 rounded-md px-2 py-1 h-fit",placeholder:"Enter API Key (optional)",value:e||"",onChange:a=>o(a.target.value),name:"apikey"}),l.jsx("label",{htmlFor:"reverseSort",className:"text-gray-700 text-sm flex items-center",children:"Reverse Sort:"}),l.jsx("input",{type:"checkbox",className:"border border-gray-300 rounded-md px-2 py-1 h-fit",checked:s,onChange:a=>i(a.target.checked),name:"reverseSort"}),l.jsx("button",{className:"bg-blue-600 hover:bg-blue-500 text-white rounded-md px-2 py-1 h-fit ml-4",onClick:()=>t(!0),children:n}),l.jsx("p",{className:" text-black text-nowrap overflow-x-auto max-w-72 min-w-36 w-fit bg-white hover:cursor-text px-1 py-1",children:r&&r.self.split("/").pop()}),l.jsx(co,{size:"small",copyText:r?r.self:""})]})}function jl({onSelectCallback:e,apiKey:t,bearerToken:n,size:r,closeOnSelect:o=!1,isPopup:s,enableStartupScreen:i=!1,tiledBaseUrl:a,backgroundClassName:c,contentClassName:d,singleColumnMode:f=!1,isFullWidth:A=!1,isButtonMode:v=!1,buttonModeText:b="Select Data",reverseSort:p=!0,...w}){const[g,y]=h.useState(!1),[I,S]=h.useState(!0),[L,R]=h.useState(!v),[F,E]=h.useState(a),[k,T]=h.useState(!1),[fe,me]=h.useState(null),[ie,oe]=h.useState(t||ro()),[G,ee]=h.useState(p||!1),$=q=>{const ce=ki(q,F);me(ce),e&&e(ce),o&&y(!0),v&&R(!1)},X=q=>{R(!1)},j={small:"w-[600px] h-[500px]",medium:"w-[800px] h-[800px]",large:"w-[1200px] h-[1200px]"},ae={small:"w-[800px] h-[800px]",medium:"w-[1000px] h-[1000px]",large:"w-[1600px] h-[1600px]"},we=()=>{T(!k)},ne=()=>{S(!1)},ke=q=>{oe(q),localStorage.setItem("tiledApiKey",q)};if(!g)return l.jsxs(l.Fragment,{children:[v&&l.jsx(El,{userInputApiKey:ie,setIsViewerOpen:R,buttonModeText:b,selectedData:fe,userInputReverseSort:G,handleReverseSortChange:ee,handleInputChange:ke}),L&&l.jsx("div",{className:An(s||v?"fixed inset-0 z-50 bg-black/50 flex items-center justify-center":`flex w-full h-full min-w-[600px] min-h-[500px] justify-center items-center ${r&&j[r]} ${r&&k&&ae[r]}`,c),onClick:X,...w,children:l.jsx("div",{className:An(`flex flex-col border border-slate-400 shadow-lg rounded-md bg-white max-w-full max-h-full ${r?j[r]:"h-1/2 w-1/2 min-w-[600px] min-h-[500px]"} ${A&&"w-full"} ${k&&(r?ae[r]:"h-full w-full")}`,d),onClick:q=>q.stopPropagation(),children:i&&I?l.jsx(Sl,{url:F,handleUrlChange:E,handleSubmit:ne}):l.jsxs(l.Fragment,{children:[l.jsx(Cl,{url:F,handleSelectClick:$,singleColumnMode:f,handleExpandClick:we,isExpanded:k,apiKey:ie,bearerToken:n,reverseSort:G}),l.jsx("p",{className:"absolute top-12 text-center text-gray-200 text-3xl -translate-x-1/2 left-1/2",children:"Select an Item or Click Outside to Close"})]})})})]})}ht.Tiled=jl,Object.defineProperty(ht,Symbol.toStringTag,{value:"Module"})});
|
|
52
|
+
*/const ja="react-tooltip-core-styles",Ra="react-tooltip-base-styles",jo={core:!1,base:!1};function Ro({css:e,id:t=Ra,type:n="base",ref:r}){var o,i;if(!e||typeof document>"u"||jo[n]||n==="core"&&typeof process<"u"&&(!((o=process==null?void 0:process.env)===null||o===void 0)&&o.REACT_TOOLTIP_DISABLE_CORE_STYLES)||n!=="base"&&typeof process<"u"&&(!((i=process==null?void 0:process.env)===null||i===void 0)&&i.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;n==="core"&&(t=ja),r||(r={});const{insertAt:s}=r;if(document.getElementById(t))return;const a=document.head||document.getElementsByTagName("head")[0],u=document.createElement("style");u.id=t,u.type="text/css",s==="top"&&a.firstChild?a.insertBefore(u,a.firstChild):a.appendChild(u),u.styleSheet?u.styleSheet.cssText=e:u.appendChild(document.createTextNode(e)),jo[n]=!0}const _o=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:n=null,place:r="top",offset:o=10,strategy:i="absolute",middlewares:s=[Ia(Number(o)),Sa({fallbackAxisSideDirection:"start"}),Ca({padding:5})],border:a})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};if(t===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};const u=s;return n?(u.push(Ea({element:n,padding:5})),Eo(e,t,{placement:r,strategy:i,middleware:u}).then(({x:d,y:f,placement:A,middlewareData:v})=>{var w,p;const b={left:`${d}px`,top:`${f}px`,border:a},{x:m,y:x}=(w=v.arrow)!==null&&w!==void 0?w:{x:0,y:0},I=(p={top:"bottom",right:"left",bottom:"top",left:"right"}[A.split("-")[0]])!==null&&p!==void 0?p:"bottom",E=a&&{borderBottom:a,borderRight:a};let L=0;if(a){const O=`${a}`.match(/(\d+)px/);L=O!=null&&O[1]?Number(O[1]):1}return{tooltipStyles:b,tooltipArrowStyles:{left:m!=null?`${m}px`:"",top:x!=null?`${x}px`:"",right:"",bottom:"",...E,[I]:`-${4+L}px`},place:A}})):Eo(e,t,{placement:"bottom",strategy:i,middleware:u}).then(({x:d,y:f,placement:A})=>({tooltipStyles:{left:`${d}px`,top:`${f}px`},tooltipArrowStyles:{},place:A}))},Oo=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),Lo=(e,t,n)=>{let r=null;const o=function(...i){const s=()=>{r=null};!r&&(e.apply(this,i),r=setTimeout(s,t))};return o.cancel=()=>{r&&(clearTimeout(r),r=null)},o},No=e=>e!==null&&!Array.isArray(e)&&typeof e=="object",on=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((o,i)=>on(o,t[i]));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!No(e)||!No(t))return e===t;const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(o=>on(e[o],t[o]))},_a=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(n=>{const r=t.getPropertyValue(n);return r==="auto"||r==="scroll"})},Bo=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(_a(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},Oa=typeof window<"u"?g.useLayoutEffect:g.useEffect,Fe=e=>{e.current&&(clearTimeout(e.current),e.current=null)},La="DEFAULT_TOOLTIP_ID",Na={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},Ba=g.createContext({getTooltipData:()=>Na});function To(e=La){return g.useContext(Ba).getTooltipData(e)}var Zt={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},sn={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const Ta=({forwardRef:e,id:t,className:n,classNameArrow:r,variant:o="dark",anchorId:i,anchorSelect:s,place:a="top",offset:u=10,events:d=["hover"],openOnClick:f=!1,positionStrategy:A="absolute",middlewares:v,wrapper:w,delayShow:p=0,delayHide:b=0,float:m=!1,hidden:x=!1,noArrow:I=!1,clickable:E=!1,closeOnEsc:L=!1,closeOnScroll:O=!1,closeOnResize:T=!1,openEvents:j,closeEvents:k,globalCloseEvents:F,imperativeModeOnly:fe,style:me,position:le,afterShow:ie,afterHide:G,disableTooltip:te,content:q,contentWrapperRef:X,isOpen:R,defaultIsOpen:ce=!1,setIsOpen:we,activeAnchor:se,setActiveAnchor:ke,border:Q,opacity:de,arrowColor:Le,role:Ne="tooltip"})=>{var re;const S=g.useRef(null),K=g.useRef(null),H=g.useRef(null),ee=g.useRef(null),Ie=g.useRef(null),[We,Ct]=g.useState({tooltipStyles:{},tooltipArrowStyles:{},place:a}),[he,Pe]=g.useState(!1),[Qe,qe]=g.useState(!1),[ae,St]=g.useState(null),Et=g.useRef(!1),et=g.useRef(null),{anchorRefs:jt,setActiveAnchor:zt}=To(t),tt=g.useRef(!1),[ze,ft]=g.useState([]),rt=g.useRef(!1),nt=f||d.includes("click"),At=nt||(j==null?void 0:j.click)||(j==null?void 0:j.dblclick)||(j==null?void 0:j.mousedown),pt=j?{...j}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!j&&nt&&Object.assign(pt,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const Rt=k?{...k}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!k&&nt&&Object.assign(Rt,{mouseleave:!1,blur:!1,mouseout:!1});const Be=F?{...F}:{escape:L||!1,scroll:O||!1,resize:T||!1,clickOutsideAnchor:At||!1};fe&&(Object.assign(pt,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(Rt,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(Be,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),Oa(()=>(rt.current=!0,()=>{rt.current=!1}),[]);const Ae=_=>{rt.current&&(_&&qe(!0),setTimeout(()=>{rt.current&&(we==null||we(_),R===void 0&&Pe(_))},10))};g.useEffect(()=>{if(R===void 0)return()=>null;R&&qe(!0);const _=setTimeout(()=>{Pe(R)},10);return()=>{clearTimeout(_)}},[R]),g.useEffect(()=>{if(he!==Et.current)if(Fe(Ie),Et.current=he,he)ie==null||ie();else{const _=(M=>{const Z=M.match(/^([\d.]+)(ms|s)$/);if(!Z)return 0;const[,pe,ve]=Z;return Number(pe)*(ve==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));Ie.current=setTimeout(()=>{qe(!1),St(null),G==null||G()},_+25)}},[he]);const Ht=_=>{Ct(M=>on(M,_)?M:_)},_t=(_=p)=>{Fe(H),Qe?Ae(!0):H.current=setTimeout(()=>{Ae(!0)},_)},mt=(_=b)=>{Fe(ee),ee.current=setTimeout(()=>{tt.current||Ae(!1)},_)},ot=_=>{var M;if(!_)return;const Z=(M=_.currentTarget)!==null&&M!==void 0?M:_.target;if(!(Z!=null&&Z.isConnected))return ke(null),void zt({current:null});p?_t():Ae(!0),ke(Z),zt({current:Z}),Fe(ee)},st=()=>{E?mt(b||100):b?mt():Ae(!1),Fe(H)},Te=({x:_,y:M})=>{var Z;const pe={getBoundingClientRect:()=>({x:_,y:M,width:0,height:0,top:M,left:_,right:_,bottom:M})};_o({place:(Z=ae==null?void 0:ae.place)!==null&&Z!==void 0?Z:a,offset:u,elementReference:pe,tooltipReference:S.current,tooltipArrowReference:K.current,strategy:A,middlewares:v,border:Q}).then(ve=>{Ht(ve)})},$e=_=>{if(!_)return;const M=_,Z={x:M.clientX,y:M.clientY};Te(Z),et.current=Z},it=_=>{var M;if(!he)return;const Z=_.target;Z.isConnected&&(!((M=S.current)===null||M===void 0)&&M.contains(Z)||[document.querySelector(`[id='${i}']`),...ze].some(pe=>pe==null?void 0:pe.contains(Z))||(Ae(!1),Fe(H)))},Ot=Lo(ot,50),ge=Lo(st,50),je=_=>{ge.cancel(),Ot(_)},P=()=>{Ot.cancel(),ge()},J=g.useCallback(()=>{var _,M;const Z=(_=ae==null?void 0:ae.position)!==null&&_!==void 0?_:le;Z?Te(Z):m?et.current&&Te(et.current):se!=null&&se.isConnected&&_o({place:(M=ae==null?void 0:ae.place)!==null&&M!==void 0?M:a,offset:u,elementReference:se,tooltipReference:S.current,tooltipArrowReference:K.current,strategy:A,middlewares:v,border:Q}).then(pe=>{rt.current&&Ht(pe)})},[he,se,q,me,a,ae==null?void 0:ae.place,u,A,le,ae==null?void 0:ae.position,m]);g.useEffect(()=>{var _,M;const Z=new Set(jt);ze.forEach(D=>{te!=null&&te(D)||Z.add({current:D})});const pe=document.querySelector(`[id='${i}']`);pe&&!(te!=null&&te(pe))&&Z.add({current:pe});const ve=()=>{Ae(!1)},Me=Bo(se),De=Bo(S.current);Be.scroll&&(window.addEventListener("scroll",ve),Me==null||Me.addEventListener("scroll",ve),De==null||De.addEventListener("scroll",ve));let c=null;Be.resize?window.addEventListener("resize",ve):se&&S.current&&(c=ka(se,S.current,J,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const y=D=>{D.key==="Escape"&&Ae(!1)};Be.escape&&window.addEventListener("keydown",y),Be.clickOutsideAnchor&&window.addEventListener("click",it);const C=[],W=D=>{he&&(D==null?void 0:D.target)===se||ot(D)},$=D=>{he&&(D==null?void 0:D.target)===se&&st()},ne=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],Y=["click","dblclick","mousedown","mouseup"];Object.entries(pt).forEach(([D,oe])=>{oe&&(ne.includes(D)?C.push({event:D,listener:je}):Y.includes(D)&&C.push({event:D,listener:W}))}),Object.entries(Rt).forEach(([D,oe])=>{oe&&(ne.includes(D)?C.push({event:D,listener:P}):Y.includes(D)&&C.push({event:D,listener:$}))}),m&&C.push({event:"pointermove",listener:$e});const z=()=>{tt.current=!0},xe=()=>{tt.current=!1,st()};return E&&!At&&((_=S.current)===null||_===void 0||_.addEventListener("mouseenter",z),(M=S.current)===null||M===void 0||M.addEventListener("mouseleave",xe)),C.forEach(({event:D,listener:oe})=>{Z.forEach(Ee=>{var Ze;(Ze=Ee.current)===null||Ze===void 0||Ze.addEventListener(D,oe)})}),()=>{var D,oe;Be.scroll&&(window.removeEventListener("scroll",ve),Me==null||Me.removeEventListener("scroll",ve),De==null||De.removeEventListener("scroll",ve)),Be.resize?window.removeEventListener("resize",ve):c==null||c(),Be.clickOutsideAnchor&&window.removeEventListener("click",it),Be.escape&&window.removeEventListener("keydown",y),E&&!At&&((D=S.current)===null||D===void 0||D.removeEventListener("mouseenter",z),(oe=S.current)===null||oe===void 0||oe.removeEventListener("mouseleave",xe)),C.forEach(({event:Ee,listener:Ze})=>{Z.forEach(lt=>{var ye;(ye=lt.current)===null||ye===void 0||ye.removeEventListener(Ee,Ze)})})}},[se,J,Qe,jt,ze,j,k,F,nt,p,b]),g.useEffect(()=>{var _,M;let Z=(M=(_=ae==null?void 0:ae.anchorSelect)!==null&&_!==void 0?_:s)!==null&&M!==void 0?M:"";!Z&&t&&(Z=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);const pe=new MutationObserver(ve=>{const Me=[],De=[];ve.forEach(c=>{if(c.type==="attributes"&&c.attributeName==="data-tooltip-id"&&(c.target.getAttribute("data-tooltip-id")===t?Me.push(c.target):c.oldValue===t&&De.push(c.target)),c.type==="childList"){if(se){const y=[...c.removedNodes].filter(C=>C.nodeType===1);if(Z)try{De.push(...y.filter(C=>C.matches(Z))),De.push(...y.flatMap(C=>[...C.querySelectorAll(Z)]))}catch{}y.some(C=>{var W;return!!(!((W=C==null?void 0:C.contains)===null||W===void 0)&&W.call(C,se))&&(qe(!1),Ae(!1),ke(null),Fe(H),Fe(ee),!0)})}if(Z)try{const y=[...c.addedNodes].filter(C=>C.nodeType===1);Me.push(...y.filter(C=>C.matches(Z))),Me.push(...y.flatMap(C=>[...C.querySelectorAll(Z)]))}catch{}}}),(Me.length||De.length)&&ft(c=>[...c.filter(y=>!De.includes(y)),...Me])});return pe.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{pe.disconnect()}},[t,s,ae==null?void 0:ae.anchorSelect,se]),g.useEffect(()=>{J()},[J]),g.useEffect(()=>{if(!(X!=null&&X.current))return()=>null;const _=new ResizeObserver(()=>{setTimeout(()=>J())});return _.observe(X.current),()=>{_.disconnect()}},[q,X==null?void 0:X.current]),g.useEffect(()=>{var _;const M=document.querySelector(`[id='${i}']`),Z=[...ze,M];se&&Z.includes(se)||ke((_=ze[0])!==null&&_!==void 0?_:M)},[i,ze,se]),g.useEffect(()=>(ce&&Ae(!0),()=>{Fe(H),Fe(ee)}),[]),g.useEffect(()=>{var _;let M=(_=ae==null?void 0:ae.anchorSelect)!==null&&_!==void 0?_:s;if(!M&&t&&(M=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),M)try{const Z=Array.from(document.querySelectorAll(M));ft(Z)}catch{ft([])}},[t,s,ae==null?void 0:ae.anchorSelect]),g.useEffect(()=>{H.current&&(Fe(H),_t(p))},[p]);const Se=(re=ae==null?void 0:ae.content)!==null&&re!==void 0?re:q,at=he&&Object.keys(We.tooltipStyles).length>0;return g.useImperativeHandle(e,()=>({open:_=>{if(_!=null&&_.anchorSelect)try{document.querySelector(_.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${_.anchorSelect}" is not a valid CSS selector`)}St(_??null),_!=null&&_.delay?_t(_.delay):Ae(!0)},close:_=>{_!=null&&_.delay?mt(_.delay):Ae(!1)},activeAnchor:se,place:We.place,isOpen:!!(Qe&&!x&&Se&&at)})),Qe&&!x&&Se?g.createElement(w,{id:t,role:Ne,className:Jr("react-tooltip",Zt.tooltip,sn.tooltip,sn[o],n,`react-tooltip__place-${We.place}`,Zt[at?"show":"closing"],at?"react-tooltip__show":"react-tooltip__closing",A==="fixed"&&Zt.fixed,E&&Zt.clickable),onTransitionEnd:_=>{Fe(Ie),he||_.propertyName!=="opacity"||(qe(!1),St(null),G==null||G())},style:{...me,...We.tooltipStyles,opacity:de!==void 0&&at?de:void 0},ref:S},Se,g.createElement(w,{className:Jr("react-tooltip-arrow",Zt.arrow,sn.arrow,r,I&&Zt.noArrow),style:{...We.tooltipArrowStyles,background:Le?`linear-gradient(to right bottom, transparent 50%, ${Le} 50%)`:void 0},ref:K})):null},Fa=({content:e})=>g.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),Wa=g.forwardRef(({id:e,anchorId:t,anchorSelect:n,content:r,html:o,render:i,className:s,classNameArrow:a,variant:u="dark",place:d="top",offset:f=10,wrapper:A="div",children:v=null,events:w=["hover"],openOnClick:p=!1,positionStrategy:b="absolute",middlewares:m,delayShow:x=0,delayHide:I=0,float:E=!1,hidden:L=!1,noArrow:O=!1,clickable:T=!1,closeOnEsc:j=!1,closeOnScroll:k=!1,closeOnResize:F=!1,openEvents:fe,closeEvents:me,globalCloseEvents:le,imperativeModeOnly:ie=!1,style:G,position:te,isOpen:q,defaultIsOpen:X=!1,disableStyleInjection:R=!1,border:ce,opacity:we,arrowColor:se,setIsOpen:ke,afterShow:Q,afterHide:de,disableTooltip:Le,role:Ne="tooltip"},re)=>{const[S,K]=g.useState(r),[H,ee]=g.useState(o),[Ie,We]=g.useState(d),[Ct,he]=g.useState(u),[Pe,Qe]=g.useState(f),[qe,ae]=g.useState(x),[St,Et]=g.useState(I),[et,jt]=g.useState(E),[zt,tt]=g.useState(L),[ze,ft]=g.useState(A),[rt,nt]=g.useState(w),[At,pt]=g.useState(b),[Rt,Be]=g.useState(null),[Ae,Ht]=g.useState(null),_t=g.useRef(R),{anchorRefs:mt,activeAnchor:ot}=To(e),st=ge=>ge==null?void 0:ge.getAttributeNames().reduce((je,P)=>{var J;return P.startsWith("data-tooltip-")&&(je[P.replace(/^data-tooltip-/,"")]=(J=ge==null?void 0:ge.getAttribute(P))!==null&&J!==void 0?J:null),je},{}),Te=ge=>{const je={place:P=>{var J;We((J=P)!==null&&J!==void 0?J:d)},content:P=>{K(P??r)},html:P=>{ee(P??o)},variant:P=>{var J;he((J=P)!==null&&J!==void 0?J:u)},offset:P=>{Qe(P===null?f:Number(P))},wrapper:P=>{var J;ft((J=P)!==null&&J!==void 0?J:A)},events:P=>{const J=P==null?void 0:P.split(" ");nt(J??w)},"position-strategy":P=>{var J;pt((J=P)!==null&&J!==void 0?J:b)},"delay-show":P=>{ae(P===null?x:Number(P))},"delay-hide":P=>{Et(P===null?I:Number(P))},float:P=>{jt(P===null?E:P==="true")},hidden:P=>{tt(P===null?L:P==="true")},"class-name":P=>{Be(P)}};Object.values(je).forEach(P=>P(null)),Object.entries(ge).forEach(([P,J])=>{var Se;(Se=je[P])===null||Se===void 0||Se.call(je,J)})};g.useEffect(()=>{K(r)},[r]),g.useEffect(()=>{ee(o)},[o]),g.useEffect(()=>{We(d)},[d]),g.useEffect(()=>{he(u)},[u]),g.useEffect(()=>{Qe(f)},[f]),g.useEffect(()=>{ae(x)},[x]),g.useEffect(()=>{Et(I)},[I]),g.useEffect(()=>{jt(E)},[E]),g.useEffect(()=>{tt(L)},[L]),g.useEffect(()=>{pt(b)},[b]),g.useEffect(()=>{_t.current!==R&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[R]),g.useEffect(()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:R==="core",disableBase:R}}))},[]),g.useEffect(()=>{var ge;const je=new Set(mt);let P=n;if(!P&&e&&(P=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),P)try{document.querySelectorAll(P).forEach(M=>{je.add({current:M})})}catch{console.warn(`[react-tooltip] "${P}" is not a valid CSS selector`)}const J=document.querySelector(`[id='${t}']`);if(J&&je.add({current:J}),!je.size)return()=>null;const Se=(ge=Ae??J)!==null&&ge!==void 0?ge:ot.current,at=new MutationObserver(M=>{M.forEach(Z=>{var pe;if(!Se||Z.type!=="attributes"||!(!((pe=Z.attributeName)===null||pe===void 0)&&pe.startsWith("data-tooltip-")))return;const ve=st(Se);Te(ve)})}),_={attributes:!0,childList:!1,subtree:!1};if(Se){const M=st(Se);Te(M),at.observe(Se,_)}return()=>{at.disconnect()}},[mt,ot,Ae,t,n]),g.useEffect(()=>{G!=null&&G.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),ce&&!Oo("border",`${ce}`)&&console.warn(`[react-tooltip] "${ce}" is not a valid \`border\`.`),G!=null&&G.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),we&&!Oo("opacity",`${we}`)&&console.warn(`[react-tooltip] "${we}" is not a valid \`opacity\`.`)},[]);let $e=v;const it=g.useRef(null);if(i){const ge=i({content:(Ae==null?void 0:Ae.getAttribute("data-tooltip-content"))||S||null,activeAnchor:Ae});$e=ge?g.createElement("div",{ref:it,className:"react-tooltip-content-wrapper"},ge):null}else S&&($e=S);H&&($e=g.createElement(Fa,{content:H}));const Ot={forwardRef:re,id:e,anchorId:t,anchorSelect:n,className:Jr(s,Rt),classNameArrow:a,content:$e,contentWrapperRef:it,place:Ie,variant:Ct,offset:Pe,wrapper:ze,events:rt,openOnClick:p,positionStrategy:At,middlewares:m,delayShow:qe,delayHide:St,float:et,hidden:zt,noArrow:O,clickable:T,closeOnEsc:j,closeOnScroll:k,closeOnResize:F,openEvents:fe,closeEvents:me,globalCloseEvents:le,imperativeModeOnly:ie,style:G,position:te,isOpen:q,defaultIsOpen:X,border:ce,opacity:we,arrowColor:se,setIsOpen:ke,afterShow:Q,afterHide:de,disableTooltip:Le,activeAnchor:Ae,setActiveAnchor:ge=>Ht(ge),role:Ne};return g.createElement(Ta,{...Ot})});typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",e=>{e.detail.disableCore||Ro({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),e.detail.disableBase||Ro({css:`
|
|
53
|
+
.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})});function Fo(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Fo(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Pa(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Fo(e))&&(r&&(r+=" "),r+=t);return r}const an="-",Ma=e=>{const t=Za(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const a=s.split(an);return a[0]===""&&a.length!==1&&a.shift(),Wo(a,t)||Da(s)},getConflictingClassGroupIds:(s,a)=>{const u=n[s]||[];return a&&r[s]?[...u,...r[s]]:u}}},Wo=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?Wo(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join(an);return(s=t.validators.find(({validator:a})=>a(i)))==null?void 0:s.classGroupId},Po=/^\[(.+)\]$/,Da=e=>{if(Po.test(e)){const t=Po.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Za=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const o in n)ln(n[o],r,o,t);return r},ln=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:Mo(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(Ga(o)){ln(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,s])=>{ln(s,Mo(t,i),n,r)})})},Mo=(e,t)=>{let n=e;return t.split(an).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},Ga=e=>e.isThemeGetter,Ua=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(i,s)=>{n.set(i,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let s=n.get(i);if(s!==void 0)return s;if((s=r.get(i))!==void 0)return o(i,s),s},set(i,s){n.has(i)?n.set(i,s):o(i,s)}}},cn="!",un=":",Va=un.length,za=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=o=>{const i=[];let s=0,a=0,u=0,d;for(let p=0;p<o.length;p++){let b=o[p];if(s===0&&a===0){if(b===un){i.push(o.slice(u,p)),u=p+Va;continue}if(b==="/"){d=p;continue}}b==="["?s++:b==="]"?s--:b==="("?a++:b===")"&&a--}const f=i.length===0?o:o.substring(u),A=Ha(f),v=A!==f,w=d&&d>u?d-u:void 0;return{modifiers:i,hasImportantModifier:v,baseClassName:A,maybePostfixModifierPosition:w}};if(t){const o=t+un,i=r;r=s=>s.startsWith(o)?i(s.substring(o.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:s,maybePostfixModifierPosition:void 0}}if(n){const o=r;r=i=>n({className:i,parseClassName:o})}return r},Ha=e=>e.endsWith(cn)?e.substring(0,e.length-1):e.startsWith(cn)?e.substring(1):e,Ja=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const o=[];let i=[];return r.forEach(s=>{s[0]==="["||t[s]?(o.push(...i.sort(),s),i=[]):i.push(s)}),o.push(...i.sort()),o}},Ya=e=>({cache:Ua(e.cacheSize),parseClassName:za(e),sortModifiers:Ja(e),...Ma(e)}),Xa=/\s+/,Qa=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:i}=t,s=[],a=e.trim().split(Xa);let u="";for(let d=a.length-1;d>=0;d-=1){const f=a[d],{isExternal:A,modifiers:v,hasImportantModifier:w,baseClassName:p,maybePostfixModifierPosition:b}=n(f);if(A){u=f+(u.length>0?" "+u:u);continue}let m=!!b,x=r(m?p.substring(0,b):p);if(!x){if(!m){u=f+(u.length>0?" "+u:u);continue}if(x=r(p),!x){u=f+(u.length>0?" "+u:u);continue}m=!1}const I=i(v).join(":"),E=w?I+cn:I,L=E+x;if(s.includes(L))continue;s.push(L);const O=o(x,m);for(let T=0;T<O.length;++T){const j=O[T];s.push(E+j)}u=f+(u.length>0?" "+u:u)}return u};function qa(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Do(t))&&(r&&(r+=" "),r+=n);return r}const Do=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Do(e[r]))&&(n&&(n+=" "),n+=t);return n};function $a(e,...t){let n,r,o,i=s;function s(u){const d=t.reduce((f,A)=>A(f),e());return n=Ya(d),r=n.cache.get,o=n.cache.set,i=a,a(u)}function a(u){const d=r(u);if(d)return d;const f=Qa(u,n);return o(u,f),f}return function(){return i(qa.apply(null,arguments))}}const be=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Zo=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Go=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Ka=/^\d+\/\d+$/,el=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,tl=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,rl=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,nl=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ol=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Gt=e=>Ka.test(e),V=e=>!!e&&!Number.isNaN(Number(e)),dt=e=>!!e&&Number.isInteger(Number(e)),dn=e=>e.endsWith("%")&&V(e.slice(0,-1)),Ke=e=>el.test(e),sl=()=>!0,il=e=>tl.test(e)&&!rl.test(e),Uo=()=>!1,al=e=>nl.test(e),ll=e=>ol.test(e),cl=e=>!N(e)&&!B(e),ul=e=>Ut(e,Yo,Uo),N=e=>Zo.test(e),It=e=>Ut(e,Xo,il),fn=e=>Ut(e,ml,V),Vo=e=>Ut(e,Ho,Uo),dl=e=>Ut(e,Jo,ll),Er=e=>Ut(e,Qo,al),B=e=>Go.test(e),or=e=>Vt(e,Xo),fl=e=>Vt(e,hl),zo=e=>Vt(e,Ho),Al=e=>Vt(e,Yo),pl=e=>Vt(e,Jo),jr=e=>Vt(e,Qo,!0),Ut=(e,t,n)=>{const r=Zo.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Vt=(e,t,n=!1)=>{const r=Go.exec(e);return r?r[1]?t(r[1]):n:!1},Ho=e=>e==="position"||e==="percentage",Jo=e=>e==="image"||e==="url",Yo=e=>e==="length"||e==="size"||e==="bg-size",Xo=e=>e==="length",ml=e=>e==="number",hl=e=>e==="family-name",Qo=e=>e==="shadow",gl=$a(()=>{const e=be("color"),t=be("font"),n=be("text"),r=be("font-weight"),o=be("tracking"),i=be("leading"),s=be("breakpoint"),a=be("container"),u=be("spacing"),d=be("radius"),f=be("shadow"),A=be("inset-shadow"),v=be("text-shadow"),w=be("drop-shadow"),p=be("blur"),b=be("perspective"),m=be("aspect"),x=be("ease"),I=be("animate"),E=()=>["auto","avoid","all","avoid-page","page","left","right","column"],L=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],O=()=>[...L(),B,N],T=()=>["auto","hidden","clip","visible","scroll"],j=()=>["auto","contain","none"],k=()=>[B,N,u],F=()=>[Gt,"full","auto",...k()],fe=()=>[dt,"none","subgrid",B,N],me=()=>["auto",{span:["full",dt,B,N]},dt,B,N],le=()=>[dt,"auto",B,N],ie=()=>["auto","min","max","fr",B,N],G=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],te=()=>["start","end","center","stretch","center-safe","end-safe"],q=()=>["auto",...k()],X=()=>[Gt,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...k()],R=()=>[e,B,N],ce=()=>[...L(),zo,Vo,{position:[B,N]}],we=()=>["no-repeat",{repeat:["","x","y","space","round"]}],se=()=>["auto","cover","contain",Al,ul,{size:[B,N]}],ke=()=>[dn,or,It],Q=()=>["","none","full",d,B,N],de=()=>["",V,or,It],Le=()=>["solid","dashed","dotted","double"],Ne=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],re=()=>[V,dn,zo,Vo],S=()=>["","none",p,B,N],K=()=>["none",V,B,N],H=()=>["none",V,B,N],ee=()=>[V,B,N],Ie=()=>[Gt,"full",...k()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ke],breakpoint:[Ke],color:[sl],container:[Ke],"drop-shadow":[Ke],ease:["in","out","in-out"],font:[cl],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ke],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ke],shadow:[Ke],spacing:["px",V],text:[Ke],"text-shadow":[Ke],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Gt,N,B,m]}],container:["container"],columns:[{columns:[V,N,B,a]}],"break-after":[{"break-after":E()}],"break-before":[{"break-before":E()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:O()}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:j()}],"overscroll-x":[{"overscroll-x":j()}],"overscroll-y":[{"overscroll-y":j()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:F()}],"inset-x":[{"inset-x":F()}],"inset-y":[{"inset-y":F()}],start:[{start:F()}],end:[{end:F()}],top:[{top:F()}],right:[{right:F()}],bottom:[{bottom:F()}],left:[{left:F()}],visibility:["visible","invisible","collapse"],z:[{z:[dt,"auto",B,N]}],basis:[{basis:[Gt,"full","auto",a,...k()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[V,Gt,"auto","initial","none",N]}],grow:[{grow:["",V,B,N]}],shrink:[{shrink:["",V,B,N]}],order:[{order:[dt,"first","last","none",B,N]}],"grid-cols":[{"grid-cols":fe()}],"col-start-end":[{col:me()}],"col-start":[{"col-start":le()}],"col-end":[{"col-end":le()}],"grid-rows":[{"grid-rows":fe()}],"row-start-end":[{row:me()}],"row-start":[{"row-start":le()}],"row-end":[{"row-end":le()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ie()}],"auto-rows":[{"auto-rows":ie()}],gap:[{gap:k()}],"gap-x":[{"gap-x":k()}],"gap-y":[{"gap-y":k()}],"justify-content":[{justify:[...G(),"normal"]}],"justify-items":[{"justify-items":[...te(),"normal"]}],"justify-self":[{"justify-self":["auto",...te()]}],"align-content":[{content:["normal",...G()]}],"align-items":[{items:[...te(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...te(),{baseline:["","last"]}]}],"place-content":[{"place-content":G()}],"place-items":[{"place-items":[...te(),"baseline"]}],"place-self":[{"place-self":["auto",...te()]}],p:[{p:k()}],px:[{px:k()}],py:[{py:k()}],ps:[{ps:k()}],pe:[{pe:k()}],pt:[{pt:k()}],pr:[{pr:k()}],pb:[{pb:k()}],pl:[{pl:k()}],m:[{m:q()}],mx:[{mx:q()}],my:[{my:q()}],ms:[{ms:q()}],me:[{me:q()}],mt:[{mt:q()}],mr:[{mr:q()}],mb:[{mb:q()}],ml:[{ml:q()}],"space-x":[{"space-x":k()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":k()}],"space-y-reverse":["space-y-reverse"],size:[{size:X()}],w:[{w:[a,"screen",...X()]}],"min-w":[{"min-w":[a,"screen","none",...X()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...X()]}],h:[{h:["screen",...X()]}],"min-h":[{"min-h":["screen","none",...X()]}],"max-h":[{"max-h":["screen",...X()]}],"font-size":[{text:["base",n,or,It]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,B,fn]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",dn,N]}],"font-family":[{font:[fl,N,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,B,N]}],"line-clamp":[{"line-clamp":[V,"none",B,fn]}],leading:[{leading:[i,...k()]}],"list-image":[{"list-image":["none",B,N]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",B,N]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:R()}],"text-color":[{text:R()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Le(),"wavy"]}],"text-decoration-thickness":[{decoration:[V,"from-font","auto",B,It]}],"text-decoration-color":[{decoration:R()}],"underline-offset":[{"underline-offset":[V,"auto",B,N]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",B,N]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",B,N]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ce()}],"bg-repeat":[{bg:we()}],"bg-size":[{bg:se()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},dt,B,N],radial:["",B,N],conic:[dt,B,N]},pl,dl]}],"bg-color":[{bg:R()}],"gradient-from-pos":[{from:ke()}],"gradient-via-pos":[{via:ke()}],"gradient-to-pos":[{to:ke()}],"gradient-from":[{from:R()}],"gradient-via":[{via:R()}],"gradient-to":[{to:R()}],rounded:[{rounded:Q()}],"rounded-s":[{"rounded-s":Q()}],"rounded-e":[{"rounded-e":Q()}],"rounded-t":[{"rounded-t":Q()}],"rounded-r":[{"rounded-r":Q()}],"rounded-b":[{"rounded-b":Q()}],"rounded-l":[{"rounded-l":Q()}],"rounded-ss":[{"rounded-ss":Q()}],"rounded-se":[{"rounded-se":Q()}],"rounded-ee":[{"rounded-ee":Q()}],"rounded-es":[{"rounded-es":Q()}],"rounded-tl":[{"rounded-tl":Q()}],"rounded-tr":[{"rounded-tr":Q()}],"rounded-br":[{"rounded-br":Q()}],"rounded-bl":[{"rounded-bl":Q()}],"border-w":[{border:de()}],"border-w-x":[{"border-x":de()}],"border-w-y":[{"border-y":de()}],"border-w-s":[{"border-s":de()}],"border-w-e":[{"border-e":de()}],"border-w-t":[{"border-t":de()}],"border-w-r":[{"border-r":de()}],"border-w-b":[{"border-b":de()}],"border-w-l":[{"border-l":de()}],"divide-x":[{"divide-x":de()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":de()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Le(),"hidden","none"]}],"divide-style":[{divide:[...Le(),"hidden","none"]}],"border-color":[{border:R()}],"border-color-x":[{"border-x":R()}],"border-color-y":[{"border-y":R()}],"border-color-s":[{"border-s":R()}],"border-color-e":[{"border-e":R()}],"border-color-t":[{"border-t":R()}],"border-color-r":[{"border-r":R()}],"border-color-b":[{"border-b":R()}],"border-color-l":[{"border-l":R()}],"divide-color":[{divide:R()}],"outline-style":[{outline:[...Le(),"none","hidden"]}],"outline-offset":[{"outline-offset":[V,B,N]}],"outline-w":[{outline:["",V,or,It]}],"outline-color":[{outline:R()}],shadow:[{shadow:["","none",f,jr,Er]}],"shadow-color":[{shadow:R()}],"inset-shadow":[{"inset-shadow":["none",A,jr,Er]}],"inset-shadow-color":[{"inset-shadow":R()}],"ring-w":[{ring:de()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:R()}],"ring-offset-w":[{"ring-offset":[V,It]}],"ring-offset-color":[{"ring-offset":R()}],"inset-ring-w":[{"inset-ring":de()}],"inset-ring-color":[{"inset-ring":R()}],"text-shadow":[{"text-shadow":["none",v,jr,Er]}],"text-shadow-color":[{"text-shadow":R()}],opacity:[{opacity:[V,B,N]}],"mix-blend":[{"mix-blend":[...Ne(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ne()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[V]}],"mask-image-linear-from-pos":[{"mask-linear-from":re()}],"mask-image-linear-to-pos":[{"mask-linear-to":re()}],"mask-image-linear-from-color":[{"mask-linear-from":R()}],"mask-image-linear-to-color":[{"mask-linear-to":R()}],"mask-image-t-from-pos":[{"mask-t-from":re()}],"mask-image-t-to-pos":[{"mask-t-to":re()}],"mask-image-t-from-color":[{"mask-t-from":R()}],"mask-image-t-to-color":[{"mask-t-to":R()}],"mask-image-r-from-pos":[{"mask-r-from":re()}],"mask-image-r-to-pos":[{"mask-r-to":re()}],"mask-image-r-from-color":[{"mask-r-from":R()}],"mask-image-r-to-color":[{"mask-r-to":R()}],"mask-image-b-from-pos":[{"mask-b-from":re()}],"mask-image-b-to-pos":[{"mask-b-to":re()}],"mask-image-b-from-color":[{"mask-b-from":R()}],"mask-image-b-to-color":[{"mask-b-to":R()}],"mask-image-l-from-pos":[{"mask-l-from":re()}],"mask-image-l-to-pos":[{"mask-l-to":re()}],"mask-image-l-from-color":[{"mask-l-from":R()}],"mask-image-l-to-color":[{"mask-l-to":R()}],"mask-image-x-from-pos":[{"mask-x-from":re()}],"mask-image-x-to-pos":[{"mask-x-to":re()}],"mask-image-x-from-color":[{"mask-x-from":R()}],"mask-image-x-to-color":[{"mask-x-to":R()}],"mask-image-y-from-pos":[{"mask-y-from":re()}],"mask-image-y-to-pos":[{"mask-y-to":re()}],"mask-image-y-from-color":[{"mask-y-from":R()}],"mask-image-y-to-color":[{"mask-y-to":R()}],"mask-image-radial":[{"mask-radial":[B,N]}],"mask-image-radial-from-pos":[{"mask-radial-from":re()}],"mask-image-radial-to-pos":[{"mask-radial-to":re()}],"mask-image-radial-from-color":[{"mask-radial-from":R()}],"mask-image-radial-to-color":[{"mask-radial-to":R()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":L()}],"mask-image-conic-pos":[{"mask-conic":[V]}],"mask-image-conic-from-pos":[{"mask-conic-from":re()}],"mask-image-conic-to-pos":[{"mask-conic-to":re()}],"mask-image-conic-from-color":[{"mask-conic-from":R()}],"mask-image-conic-to-color":[{"mask-conic-to":R()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ce()}],"mask-repeat":[{mask:we()}],"mask-size":[{mask:se()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",B,N]}],filter:[{filter:["","none",B,N]}],blur:[{blur:S()}],brightness:[{brightness:[V,B,N]}],contrast:[{contrast:[V,B,N]}],"drop-shadow":[{"drop-shadow":["","none",w,jr,Er]}],"drop-shadow-color":[{"drop-shadow":R()}],grayscale:[{grayscale:["",V,B,N]}],"hue-rotate":[{"hue-rotate":[V,B,N]}],invert:[{invert:["",V,B,N]}],saturate:[{saturate:[V,B,N]}],sepia:[{sepia:["",V,B,N]}],"backdrop-filter":[{"backdrop-filter":["","none",B,N]}],"backdrop-blur":[{"backdrop-blur":S()}],"backdrop-brightness":[{"backdrop-brightness":[V,B,N]}],"backdrop-contrast":[{"backdrop-contrast":[V,B,N]}],"backdrop-grayscale":[{"backdrop-grayscale":["",V,B,N]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[V,B,N]}],"backdrop-invert":[{"backdrop-invert":["",V,B,N]}],"backdrop-opacity":[{"backdrop-opacity":[V,B,N]}],"backdrop-saturate":[{"backdrop-saturate":[V,B,N]}],"backdrop-sepia":[{"backdrop-sepia":["",V,B,N]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":k()}],"border-spacing-x":[{"border-spacing-x":k()}],"border-spacing-y":[{"border-spacing-y":k()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",B,N]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[V,"initial",B,N]}],ease:[{ease:["linear","initial",x,B,N]}],delay:[{delay:[V,B,N]}],animate:[{animate:["none",I,B,N]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,B,N]}],"perspective-origin":[{"perspective-origin":O()}],rotate:[{rotate:K()}],"rotate-x":[{"rotate-x":K()}],"rotate-y":[{"rotate-y":K()}],"rotate-z":[{"rotate-z":K()}],scale:[{scale:H()}],"scale-x":[{"scale-x":H()}],"scale-y":[{"scale-y":H()}],"scale-z":[{"scale-z":H()}],"scale-3d":["scale-3d"],skew:[{skew:ee()}],"skew-x":[{"skew-x":ee()}],"skew-y":[{"skew-y":ee()}],transform:[{transform:[B,N,"","none","gpu","cpu"]}],"transform-origin":[{origin:O()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Ie()}],"translate-x":[{"translate-x":Ie()}],"translate-y":[{"translate-y":Ie()}],"translate-z":[{"translate-z":Ie()}],"translate-none":["translate-none"],accent:[{accent:R()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:R()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",B,N]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",B,N]}],fill:[{fill:["none",...R()]}],"stroke-w":[{stroke:[V,or,It,fn]}],stroke:[{stroke:["none",...R()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function An(...e){return gl(Pa(e))}function bl({data:e,meta:t,links:n,index:r,onItemClick:o,breadcrumbs:i,handleSelectClick:s,className:a,showTooltip:u=!0,handleNewPageClick:d}){let f=n.self?parseInt(n.self.split("page[offset]=")[1].split("&")[0]):1;n.self&&parseInt(n.self.split("page[limit]=")[1]);let A=t.count,v=f+(e.length>0?1:0),w=v+e.length-1,p=n.next?n.next:null,b=n.prev?n.prev:null;return l.jsxs("div",{className:An("flex flex-col-reverse border-r border-r-slate-300 min-w-56 w-fit max-w-xs px-4 h-auto pt-2",a),children:[p||b?l.jsxs("p",{className:"text-center text-sm py-1",children:[`${v} - ${w} of ${A}`,l.jsx("span",{onClick:b?()=>d(b,r):()=>{},className:`${b?"text-slate-600 hover:text-sky-500 hover:cursor-pointer":"text-slate-300"} text-base pl-4 pr-2`,children:"<"}),l.jsx("span",{onClick:p?()=>d(p,r):()=>{},className:`${p?"text-slate-600 hover:text-sky-500 hover:cursor-pointer":"text-slate-300"} text-base`,children:">"})]}):null,l.jsx("ul",{className:"scrollbar-always-visible overflow-y-auto flex-grow peer-hover:text-slate-500 peer-hover:border peer-hover:border-blue-400 rounded-md",children:e.map(m=>{let x=`item-${m.id}${r}`;return l.jsxs("li",{className:`${i.length>r&&i[r].label===m.id?"bg-sky-200 hover:bg-sky-300":"hover:bg-sky-300"} flex space-x-2 px-2 rounded-sm hover:cursor-pointer relative`,onClick:()=>o(m),id:x,children:[l.jsx("div",{className:`w-6 aspect-square flex-shrink-0 ${m.attributes.structure_family==="container"||m.attributes.structure_family==="composite"?"text-sky-700":""}`,children:ro(m.attributes.structure_family)}),l.jsx("p",{className:"truncate max-w-full",children:m.id}),m.attributes.structure_family==="container"||m.attributes.structure_family==="composite"?l.jsx("p",{className:"absolute right-1 text-slate-500",children:">"}):"",s&&u&&l.jsx(Wa,{children:l.jsx(zr,{text:"Select",size:"small",cb:I=>{I.stopPropagation(),s(m)}}),anchorSelect:`#${x}`,clickable:!0,delayShow:600,opacity:1,offset:10,place:"top",variant:"info",style:{maxWidth:"500px",margin:"0",padding:"0.3rem",height:"fit-content",backgroundColor:"#e9e8eb",borderWidth:"1px",borderRadius:"1rem"}})]},x)})})]})}const wl=({url:e,apiKey:t,searchPath:n,bearerToken:r,initialSearchPath:o,reverseSort:i})=>{const[s,a]=g.useState([]),[u,d]=g.useState([]),[f,A]=g.useState(),[v,w]=g.useState(),[p,b]=g.useState("hidden"),[m,x]=g.useState(null),[I,E]=g.useState(void 0),[L,O]=g.useState(null),T=g.useRef([]),j=g.useRef(-1),k=g.useMemo(()=>ji(),[]),F=g.useMemo(()=>o||k||null,[o]);var fe,me;j.current>-1&&(fe=()=>{if(j.current=j.current-1,j.current<0)Tt(n,e,S=>a([S])),d([]),A(""),w(""),b("hidden"),br("");else{const S=T.current[j.current];R(S),br(S)}}),j.current+1<T.current.length&&(me=()=>{j.current=j.current+1;const S=T.current[j.current];R(S),br(S)});const le="medium",ie=g.useCallback((S,K)=>{a(H=>{const ee=H.slice(0,S.attributes.ancestors.length+1);return K?[...ee,K]:ee})},[]),G=g.useCallback(S=>{d(K=>{var H=[...K];const ee=S.attributes.ancestors;for(;H.length>ee.length;)H.pop();var Ie={label:S.id,icon:ro(S.attributes.structure_family),onClick:()=>X(S)};return H.push(Ie),H})},[]),te=()=>{A(void 0),w(void 0),b("hidden")},q=S=>{j.current=S.attributes.ancestors.length,T.current=T.current.slice(0,j.current),T.current=[...T.current,S]},X=g.useCallback(S=>{q(S),R(S),br(S)},[]),R=S=>{lo(S)?ce(S):co(S)?we(S):Di(S)?se(S):(console.error("Error: No matching structure family found for: "+S.attributes.structure_family),console.log({item:S}))},ce=g.useCallback(S=>{x(S),G(S),b(le),ie(S)},[]),we=g.useCallback(S=>{x(S),G(S),b(le),ie(S)},[]),se=S=>{x(null);const K=Bt(S);Tt(K,e,H=>ke(S,H)),te()},ke=g.useCallback((S,K)=>{ie(S,K),G(S)},[]),Q=()=>{d([]),T.current=[],j.current=-1,x(null),b("hidden"),Tt(n,e,S=>a([S]))},de=async()=>{let S=null;r&&_i(r),Li(i),t?S=await Oi(t,n,e):S=await Tt(n,e),S!==null&&typeof S!="string"&&"data"in S?a([S]):E("No data found at the provided Tiled URL. Please check the URL or API key.")},Le=S=>{const H=s[s.length-1].data.find(ee=>ee.id===S);H?(X(H),O(ee=>ee?ee.slice(1):null)):(console.warn(`Attempted to load previous search, no matching item found for search path: ${S} in the current page offset, initializing at root.`),O(null))},Ne=(S,K,H)=>{if(!S)return;const ee=new URL(S),Ie=H||parseInt(ee.searchParams.get("page[offset]")||"0"),We=parseInt(ee.searchParams.get("page[limit]")||"100"),Ct={"page[offset]":Ie,"page[limit]":We},he=ee.pathname.split("/search/")[1].split("?")[0];Tt(he,e,Pe=>re(Pe,K),!1,Ct)},re=(S,K)=>{if(S===null||S.data.length===0){console.warn("No data returned for the new page.");return}a(H=>{const ee=[...H];return ee[K]=S,ee})};return g.useEffect(()=>{try{de()}catch(S){console.error("error getting first tiled request: ",S),E("Error initializing Tiled data. Please check the console for more details.")}if(F){let S=F.split("/").filter(Boolean);O(S)}},[]),g.useEffect(()=>{if(!(s.length<=0)&&!(!L||L.length===0)&&F&&L){let K=F.split("/").filter(Boolean).length-L.length;s.length===K+1&&Le(L[0])}},[L,s]),g.useMemo(()=>({columns:s,breadcrumbs:u,imageUrl:f,popoutUrl:v,previewSize:p,previewItem:m,handleColumnItemClick:X,handleLeftArrowClick:fe,handleRightArrowClick:me,resetAllData:Q,warning:I,handleNewPageClick:Ne}),[s,u,f,v,p,X,I,Ne])};function vl({url:e,handleSelectClick:t,singleColumnMode:n,handleExpandClick:r,isExpanded:o,apiKey:i,bearerToken:s,initialSearchPath:a,reverseSort:u,...d}){const f=g.useRef(null),A=wl({url:e,apiKey:i,bearerToken:s,reverseSort:u});if(!A)return l.jsx("div",{children:"Error: Unable to load tiled data. Check console for error logs."});const{columns:v,breadcrumbs:w,previewItem:p,previewSize:b,handleColumnItemClick:m,handleLeftArrowClick:x,handleRightArrowClick:I,resetAllData:E,warning:L,handleNewPageClick:O}=A;return l.jsxs(l.Fragment,{children:[l.jsx(Ti,{breadcrumbs:w,onLeftArrowClick:x,onRightArrowClick:I,onHomeClick:E,secondaryTitle:e,handleExpandClick:r,isExpanded:o}),l.jsxs(Hi,{ref:f,children:[v.map((T,j)=>l.jsx(bl,{handleSelectClick:t,data:T.data,meta:T.meta,links:T.links,index:j,onItemClick:n?t:m,breadcrumbs:w,className:n?"w-full max-w-full":"",showTooltip:!n,handleNewPageClick:O},j)),p&&l.jsx(Vi,{previewItem:p,previewSize:b,handleSelectClick:t,url:e,scrollContainerRef:f})]}),l.jsx(zi,{breadcrumbs:w})]})}function xl({url:e,handleUrlChange:t,handleSubmit:n,...r}){const[o,i]=g.useState(null),s=async u=>{console.log({url:u});const d=await Tt("",u);d!==null&&typeof d!="string"&&"data"in d?(console.log({res:d}),n()):(console.log({res:d}),i(l.jsxs("p",{className:"px-8",children:["Did not receive a valid response from ",l.jsx("b",{children:l.jsx("i",{children:u})}),", please verify your Tiled server can be reached from this path. The most common issue is CORS restrictions, which need to be set during Tiled server initialization. Check the console for more details."]})))},a=u=>{u.key==="Enter"&&(u.preventDefault(),s(e))};return l.jsxs("div",{className:"flex flex-col justify-center items-center space-y-8 h-full w-full",...r,children:[l.jsxs("div",{className:"h-1/2 flex flex-col space-y-8 justify-end py-8 items-center",children:[l.jsx("h2",{className:"text-slate-700 font-light text-lg",children:"Enter your Tiled url"}),l.jsx("input",{className:"w-72 h-10 pl-2 border border-slate-500",type:"text",value:e||"",onKeyDown:a,onChange:u=>t(u.target.value)}),l.jsx(zr,{disabled:!e,text:"Submit",cb:()=>s(e)})]}),l.jsx("div",{className:"h-1/2",children:o})]})}function yl({userInputApiKey:e,setIsViewerOpen:t,buttonModeText:n,selectedData:r,handleInputChange:o,userInputReverseSort:i,handleReverseSortChange:s}){return l.jsxs("span",{className:"flex gap-2 items-center",children:[l.jsx("label",{htmlFor:"apikey",className:"text-gray-700 text-sm flex items-center",children:"API Key:"}),l.jsx("input",{type:"text",className:"border border-gray-300 rounded-md px-2 py-1 h-fit",placeholder:"Enter API Key (optional)",value:e||"",onChange:a=>o(a.target.value),name:"apikey"}),l.jsx("label",{htmlFor:"reverseSort",className:"text-gray-700 text-sm flex items-center",children:"Reverse Sort:"}),l.jsx("input",{type:"checkbox",className:"border border-gray-300 rounded-md px-2 py-1 h-fit",checked:i,onChange:a=>s(a.target.checked),name:"reverseSort"}),l.jsx("button",{className:"bg-blue-600 hover:bg-blue-500 text-white rounded-md px-2 py-1 h-fit ml-4",onClick:()=>t(!0),children:n}),l.jsx("p",{className:" text-black text-nowrap overflow-x-auto max-w-72 min-w-36 w-fit bg-white hover:cursor-text px-1 py-1",children:r&&r.self.split("/").pop()}),l.jsx(uo,{size:"small",showText:!0,copyText:r?r.self:""})]})}function kl({onSelectCallback:e,apiKey:t,bearerToken:n,size:r,closeOnSelect:o=!1,isPopup:i,enableStartupScreen:s=!1,tiledBaseUrl:a,backgroundClassName:u,contentClassName:d,singleColumnMode:f=!1,isFullWidth:A=!1,isButtonMode:v=!1,buttonModeText:w="Select Data",reverseSort:p=!0,...b}){const[m,x]=g.useState(!1),[I,E]=g.useState(!0),[L,O]=g.useState(!v),[T,j]=g.useState(a),[k,F]=g.useState(!1),[fe,me]=g.useState(null),[le,ie]=g.useState(t||no()),[G,te]=g.useState(p||!1),q=Q=>{const de=Ii(Q,T);me(de),e&&e(de),o&&x(!0),v&&O(!1)},X=Q=>{O(!1)},R={small:"w-[600px] h-[500px]",medium:"w-[800px] h-[800px]",large:"w-[1200px] h-[1200px]"},ce={small:"w-[800px] h-[800px]",medium:"w-[1000px] h-[1000px]",large:"w-[1600px] h-[1600px]"},we=()=>{F(!k)},se=()=>{E(!1)},ke=Q=>{ie(Q),localStorage.setItem("tiledApiKey",Q)};if(!m)return l.jsxs(l.Fragment,{children:[v&&l.jsx(yl,{userInputApiKey:le,setIsViewerOpen:O,buttonModeText:w,selectedData:fe,userInputReverseSort:G,handleReverseSortChange:te,handleInputChange:ke}),L&&l.jsx("div",{className:An(i||v?"fixed inset-0 z-50 bg-black/50 flex items-center justify-center":`flex w-full h-full min-w-[600px] min-h-[500px] justify-center items-center ${r&&R[r]} ${r&&k&&ce[r]}`,u),onClick:X,...b,children:l.jsx("div",{className:An(`flex flex-col border border-slate-400 shadow-lg rounded-md bg-white max-w-full max-h-full ${r?R[r]:"h-1/2 w-1/2 min-w-[600px] min-h-[500px]"} ${A&&"w-full"} ${k&&(r?ce[r]:"h-full w-full")}`,d),onClick:Q=>Q.stopPropagation(),children:s&&I?l.jsx(xl,{url:T,handleUrlChange:j,handleSubmit:se}):l.jsxs(l.Fragment,{children:[l.jsx(vl,{url:T,handleSelectClick:q,singleColumnMode:f,handleExpandClick:we,isExpanded:k,apiKey:le,bearerToken:n,reverseSort:G}),l.jsx("p",{className:"absolute top-12 text-center text-gray-200 text-3xl -translate-x-1/2 left-1/2",children:"Select an Item or Click Outside to Close"})]})})})]})}ht.Tiled=kl,Object.defineProperty(ht,Symbol.toStringTag,{value:"Module"})});
|