@geoscene/core 4.33.13 → 4.33.15
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/README.md +25 -25
- package/assets/geoscene/core/workers/chunks/0229c573fa8a2fff2d8b.js +1 -1
- package/assets/geoscene/core/workers/chunks/17fcdaeb42e932712096.js +1 -1
- package/assets/geoscene/core/workers/chunks/29fb64826bb1351aca8d.js +1 -1
- package/assets/geoscene/core/workers/chunks/306e262f148b3057b11b.js +1 -1
- package/assets/geoscene/core/workers/chunks/54f981fe0f8851767be9.js +1 -1
- package/assets/geoscene/core/workers/chunks/58b2dc0ec977af7413b0.js +1 -1
- package/assets/geoscene/core/workers/chunks/73ddb356121add556994.js +1 -1
- package/assets/geoscene/core/workers/chunks/77342fa644507f57c41a.js +1 -1
- package/assets/geoscene/core/workers/chunks/7e1906d35a764f7f10b0.js +1 -1
- package/assets/geoscene/core/workers/chunks/88b7265270feede80e1d.js +1 -1
- package/assets/geoscene/core/workers/chunks/8a87c181b85d0b86b9bb.js +1 -1
- package/assets/geoscene/core/workers/chunks/aad9a693813b47a51530.js +1 -1
- package/assets/geoscene/core/workers/chunks/ac03f1b2402598b394d5.js +1 -1
- package/assets/geoscene/core/workers/chunks/d568070513f2b98fd9b5.js +1 -1
- package/assets/geoscene/core/workers/chunks/f3b51aa0a1a8fc3b231c.js +1 -1
- package/assets/geoscene/css/main.scss +1 -1
- package/assets/geoscene/css/view.scss +1 -1
- package/assets/geoscene/themes/base/_colorVariables.scss +1 -1
- package/assets/geoscene/themes/base/_functions.scss +23 -23
- package/assets/geoscene/themes/base/_layout.scss +11 -11
- package/assets/geoscene/themes/base/_sizes.scss +130 -130
- package/assets/geoscene/themes/base/_type.scss +25 -25
- package/assets/geoscene/themes/base/colors/css/brand_colors.css +76 -76
- package/assets/geoscene/themes/base/colors/css/calcite_core_colors.css +169 -169
- package/assets/geoscene/themes/base/colors/css/calcite_core_colors_dark.css +169 -169
- package/assets/geoscene/themes/base/colors/css/calcite_gray_colors.css +43 -43
- package/assets/geoscene/themes/base/colors/css/calcite_gray_colors_dark.css +43 -43
- package/assets/geoscene/themes/base/colors/css/calcite_highlight_colors.css +43 -43
- package/assets/geoscene/themes/base/colors/css/calcite_highlight_colors_dark.css +43 -43
- package/assets/geoscene/themes/base/colors/css/calcite_vibrant_colors.css +67 -67
- package/assets/geoscene/themes/base/colors/css/calcite_vibrant_colors_dark.css +67 -67
- package/assets/geoscene/themes/base/colors/css/complete.css +610 -610
- package/assets/geoscene/themes/base/colors/css/scss/calcite_core_colors_dark.scss +285 -285
- package/assets/geoscene/themes/base/colors/css/scss/calcite_gray_colors_dark.scss +91 -91
- package/assets/geoscene/themes/base/colors/css/scss/calcite_highlight_colors_dark.scss +64 -64
- package/assets/geoscene/themes/base/colors/css/scss/calcite_vibrant_colors_dark.scss +124 -124
- package/assets/geoscene/themes/base/colors/css/scss/complete.scss +11 -11
- package/assets/geoscene/themes/base/colors/patterns_json/calcite_core_colors_dark.css +673 -673
- package/assets/geoscene/themes/base/colors/patterns_json/calcite_gray_colors_dark.css +169 -169
- package/assets/geoscene/themes/base/colors/patterns_json/calcite_highlight_colors_dark.css +169 -169
- package/assets/geoscene/themes/base/colors/patterns_json/calcite_vibrant_colors_dark.css +265 -265
- package/assets/geoscene/themes/base/colors/patterns_json/scss/calcite_core_colors_dark.scss +964 -964
- package/assets/geoscene/themes/base/colors/patterns_json/scss/calcite_gray_colors_dark.scss +263 -263
- package/assets/geoscene/themes/base/colors/patterns_json/scss/calcite_highlight_colors_dark.scss +234 -234
- package/assets/geoscene/themes/base/colors/patterns_json/scss/calcite_vibrant_colors_dark.scss +347 -347
- package/assets/geoscene/themes/base/colors/patterns_json/scss/complete.scss +11 -11
- package/assets/geoscene/themes/base/fonts/cdn.scss +2 -2
- package/assets/geoscene/themes/base/icons/fonts/CalciteWebCoreIcons.svg +196 -196
- package/assets/geoscene/themes/base/widgets/_AreaMeasurement2D.scss +7 -7
- package/assets/geoscene/themes/base/widgets/_AreaMeasurement3D.scss +7 -7
- package/assets/geoscene/themes/base/widgets/_DirectLineMeasurement3D.scss +7 -7
- package/assets/geoscene/themes/base/widgets/_DistanceMeasurement2D.scss +7 -7
- package/assets/geoscene/themes/base/widgets/_Measurement.scss +7 -7
- package/assets/geoscene/themes/light/view.scss +9 -9
- package/assets/geoscene/views/3d/analysis/images/heading-rotate.ts.svg +10 -10
- package/assets/geoscene/views/3d/analysis/images/tilt-rotate.ts.svg +11 -11
- package/assets/geoscene/views/3d/webgl-engine/lib/intersectorUtils.svg +117 -117
- package/assets/geoscene/views/magnifier/mask.ts.svg +5 -5
- package/assets/geoscene/views/magnifier/overlay.ts.svg +36 -36
- package/copyright.txt +1700 -1700
- package/core/Accessor.js +1 -1
- package/geometry/operators/graphicBufferOperator.d.ts +4 -4
- package/geometry/support/meshUtils.js +1 -1
- package/layers/support/rasterDatasets/ImageServerRaster.js +1 -1
- package/package.json +34 -34
- package/portal/support/portalLayers.js +1 -1
- package/rest/networks/queryAssociations.js +1 -1
- package/symbols/WebStyleSymbol.js +1 -1
- package/views/View2D.js +1 -1
package/README.md
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
# @geoscene/core
|
|
2
|
-
|
|
3
|
-
ES 模块的缩小的、未构建的版本 [GeoScene Maps SDK for JavaScript](https://doc.geoscene.cn/javascript/) 。
|
|
4
|
-
|
|
5
|
-
## 文档
|
|
6
|
-
|
|
7
|
-
- [GeoScene Maps SDK for JavaScript](https://doc.geoscene.cn/javascript/)
|
|
8
|
-
|
|
9
|
-
## 开始
|
|
10
|
-
|
|
11
|
-
将模块安装到您的项目中:
|
|
12
|
-
|
|
13
|
-
```sh
|
|
14
|
-
npm install @geoscene/core
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
## 许可
|
|
18
|
-
|
|
19
|
-
易智瑞信息技术有限公司版权所有 © 2025并保留所有权利。发行于中华人民共和国。
|
|
20
|
-
|
|
21
|
-
本材料在 GeoScene 主许可协议(MLA)下许可使用,并受该协议条款的约束。
|
|
22
|
-
只要遵守主许可协议中的条款并包括此版权声明,您即可在不进行修改的情况下
|
|
23
|
-
重新分发和使用这些代码。
|
|
24
|
-
|
|
25
|
-
查看 https://links.geoscene.cn/legal/full-master-agreement 了解使用限制
|
|
1
|
+
# @geoscene/core
|
|
2
|
+
|
|
3
|
+
ES 模块的缩小的、未构建的版本 [GeoScene Maps SDK for JavaScript](https://doc.geoscene.cn/javascript/) 。
|
|
4
|
+
|
|
5
|
+
## 文档
|
|
6
|
+
|
|
7
|
+
- [GeoScene Maps SDK for JavaScript](https://doc.geoscene.cn/javascript/)
|
|
8
|
+
|
|
9
|
+
## 开始
|
|
10
|
+
|
|
11
|
+
将模块安装到您的项目中:
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
npm install @geoscene/core
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## 许可
|
|
18
|
+
|
|
19
|
+
易智瑞信息技术有限公司版权所有 © 2025并保留所有权利。发行于中华人民共和国。
|
|
20
|
+
|
|
21
|
+
本材料在 GeoScene 主许可协议(MLA)下许可使用,并受该协议条款的约束。
|
|
22
|
+
只要遵守主许可协议中的条款并包括此版权声明,您即可在不进行修改的情况下
|
|
23
|
+
重新分发和使用这些代码。
|
|
24
|
+
|
|
25
|
+
查看 https://links.geoscene.cn/legal/full-master-agreement 了解使用限制
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! For license information please see 0229c573fa8a2fff2d8b.js.LICENSE.txt */
|
|
1
|
+
/*! For license information please see 0229c573fa8a2fff2d8b.js.LICENSE.txt */
|
|
2
2
|
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[224],{87843:(e,t,n)=>{n.r(t),n.d(t,{Label:()=>r});var l=n(34088),a=n(46337),i=n(19246),s=n(93174),c=n(33826);const o=c.AH`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, .5rem)}:host([scale=m]) .container{gap:.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, .75rem)}:host([scale=l]) .container{gap:.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-color-text-1);color:var(--calcite-label-text-color, var(--calcite-color-text-1))}:host([layout=default]) .container{display:flex;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:flex;flex-direction:row;align-items:center;gap:.5rem}:host([layout=inline][scale=l]) .container{gap:.75rem}:host([layout=inline-space-between]) .container{justify-content:space-between}:host([disabled])>.container{opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity: 1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity: 0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;class r extends i.WF{constructor(){super(),this.alignment="start",this.layout="default",this.scale="m",this.calciteInternalLabelClick=(0,i.lh)({bubbles:!1,cancelable:!1}),this.listen("click",this.labelClickHandler)}static{this.properties={alignment:[3,{},{reflect:!0}],for:[3,{},{reflect:!0}],layout:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}]}}static{this.styles=o}connectedCallback(){super.connectedCallback(),document.dispatchEvent(new CustomEvent(s.l))}willUpdate(e){e.has("for")&&(0,s.a)(this.el)}disconnectedCallback(){super.disconnectedCallback(),document.dispatchEvent(new CustomEvent(s.b))}labelClickHandler(e){"Range"!==window.getSelection()?.type&&this.calciteInternalLabelClick.emit({sourceEvent:e})}render(){return a.qy`<div class=${(0,i.CP)("container")}><slot></slot></div>`}}(0,l.c)("calcite-label",r)},93174:(e,t,n)=>{n.d(t,{a:()=>k,b:()=>s,c:()=>m,d:()=>f,g:()=>g,l:()=>i});var l=n(79e3);const a="calciteInternalLabelClick",i="calciteInternalLabelConnected",s="calciteInternalLabelDisconnected",c="calcite-label",o=new WeakMap,r=new WeakMap,d=new WeakMap,b=new WeakMap,h=new Set,u=e=>{const{id:t}=e,n=t&&(0,l.q)(e,{selector:`${c}[for="${t}"]`});if(n)return n;const a=(0,l.l)(e,c);return!a||function(e,t){let n;const l="custom-element-ancestor-check",a=l=>{l.stopImmediatePropagation();const a=l.composedPath();n=a.slice(a.indexOf(t),a.indexOf(e))};e.addEventListener(l,a,{once:!0}),t.dispatchEvent(new CustomEvent(l,{composed:!0,bubbles:!0})),e.removeEventListener(l,a);return n.filter((n=>n!==t&&n!==e)).filter((e=>e.tagName?.includes("-"))).length>0}(a,e)?null:a};function m(e){if(!e)return;const t=u(e.el);if(r.has(t)&&t===e.labelEl||!t&&h.has(e))return;const n=y.bind(e);if(t){e.labelEl=t;const l=o.get(t)||[];l.push(e),o.set(t,l.sort(p)),r.has(e.labelEl)||(r.set(e.labelEl,v),e.labelEl.addEventListener(a,v)),h.delete(e),document.removeEventListener(i,d.get(e)),b.set(e,n),document.addEventListener(s,n)}else h.has(e)||(n(),document.removeEventListener(s,b.get(e)))}function f(e){if(!e)return;if(h.delete(e),document.removeEventListener(i,d.get(e)),document.removeEventListener(s,b.get(e)),d.delete(e),b.delete(e),!e.labelEl)return;const t=o.get(e.labelEl);1===t.length&&(e.labelEl.removeEventListener(a,r.get(e.labelEl)),r.delete(e.labelEl)),o.set(e.labelEl,t.filter((t=>t!==e)).sort(p)),e.labelEl=null}function p(e,t){return(0,l.m)(e.el,t.el)?-1:1}function g(e){return e.label||e.labelEl?.textContent?.trim()||""}function v(e){const t=e.detail.sourceEvent.target,n=o.get(this),l=n.find((e=>e.el===t));if(n.includes(l))return;const a=n[0];a.disabled||a.onLabelClick(e)}function E(){h.has(this)&&m(this)}function y(){h.add(this);const e=d.get(this)||E.bind(this);d.set(this,e),document.addEventListener(i,e)}async function k(e){if(await e.componentOnReady(),o.has(e))return;const t=e.ownerDocument?.getElementById(e.for);t&&requestAnimationFrame((()=>{for(const e of h)if(e.el===t){m(e);break}}))}}}]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see 17fcdaeb42e932712096.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4813],{2799:(t,e,s)=>{s.d(e,{C:()=>U,G:()=>T,a:()=>$,b:()=>C,c:()=>n,d:()=>d,e:()=>u,h:()=>v,i:()=>r,k:()=>A,o:()=>f,s:()=>c,t:()=>E});var o=s(98015),i=s(46337);const n=Symbol.for("controller"),r=t=>"function"==typeof t?.then;let a;const c=t=>{a!==t&&(a=t,queueMicrotask((()=>a===t?a=void 0:0)))},h=t=>a;let l=[];const d=t=>{if(void 0===t)return void(l=[]);const e=l.indexOf(t);l=-1===e?[...l,t]:l.slice(0,e+1),queueMicrotask((()=>l=[]))},u=()=>l;let p;const f=t=>{p!==t&&(p=t,queueMicrotask((()=>p===t?p=void 0:0)))},g=async(t,e)=>{const s=y(t);if(void 0===s)return t;if(await s.ready,"function"==typeof e){const t=s.watchExports((s=>e(s,t)))}return s.exports},m=async t=>{const e=y(t);return await e.ready,e},y=t=>{const e=h().manager.X(t);if(void 0!==e)return e;if((t=>"object"==typeof t&&null!==t&&(n in t||"hostConnected"in t||"hostDisconnected"in t||"hostUpdate"in t||"hostUpdated"in t))(t))return t;const s=(()=>{const t=p;return p=void 0,t})();return void 0!==s?s:void 0};let $=!1;const v=t=>{$=!0;try{return t()}finally{$=!1}};let b;const A=()=>{b?.forEach((({callbacks:t},e)=>{const s=Object.keys(e);t.forEach((t=>t(s)))})),b=void 0},_=(t,e,s)=>{const n=t.manager;return n.V!==i.s6&&n.V!==s&&n.S(void 0,void 0),0===n.T.length&&queueMicrotask((()=>n.S(void 0,void 0))),n.V=s,n.T.push(((t,i)=>(0,o.UF)(e,void 0,s===i?t:void 0))),s},E=(t=[h(),...u()],e,s)=>{const i=Array.isArray(t)?t:[t];let n=i.length+1;const r=t=>{n-=1,void 0!==t&&(n=Math.min(n,0)),0===n&&e(t)};i.forEach((t=>((t,e,s)=>{const i=Object.keys(t),n=i.length;void 0===b&&queueMicrotask(A),b??=new Map;let r=b.get(t);return void 0===r&&(r={callbacks:[],keyCount:n},b.set(t,r)),r.keyCount!==n&&(r.callbacks.forEach((t=>t(i))),r.callbacks=[],r.keyCount=n),r.callbacks.push((i=>{const r=t=>(0,o.UF)(e,null,t),a=i[n];void 0===a?r(void 0):t[a]===s?r(a):r(void 0)})),s})(t,(e=>r(void 0===e?void 0:{key:e,host:t,isReactive:!1})),s)));for(const t of i)if("manager"in t&&t.manager.component===t){_(t,(e=>r(void 0===e?void 0:{key:e,host:t,isReactive:!0})),s);break}return s},C=((t="",e={},s=h())=>{const o={emit:o=>{""===t&&A();const i=new CustomEvent(t,{detail:o,cancelable:!0,bubbles:!0,composed:!0,...e});return s.el.dispatchEvent(i),i}};return""===t&&E(void 0,(e=>t=e.key),o),o}).bind(null,"");var w;w=n;class U{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#o=[],this.#i=[],this.#n=[],this.#r=[],this.#a=[],this.#c=[],this.#h=!1,this.P=new o.cY,this.connectedCalled=!1,this.loadedCalled=!1,this[w]=!0,this.#l=[];const e=this,s=t??h(new.target.name);e.#d=s,e.ready=e.P.promise,e.#u=L(e),e.component=s,e.#d.addController(e),void 0===e.#d.manager||(d(e),queueMicrotask((()=>e.catchUpLifecycle())))}#t;#e;#s;#o;#i;#n;#r;#a;#c;#h;#d;catchUpLifecycle(){const{manager:t}=this.#d;!t.connectedCalled||this.connectedCalled||this.triggerConnected(),!t.#h||this.triggerLoad().then((()=>t.loadedCalled&&this.triggerLoaded())).catch(console.error)}#u;get exports(){return this.#u}set exports(t){const e=this.#u;e!==t&&(this.#u=t,this.#l.forEach(o.UF),this.connectedCalled&&!1!==this.O&&this.#d.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#u=e?L(t):t,this.#l.forEach(o.UF)}#l;watchExports(t){const e=()=>t(this.#u);return this.#l.push(e),()=>{this.#l.splice(this.#l.indexOf(e),1)}}get use(){return c(this.#d),g}get useRef(){return c(this.#d),m}get useRefSync(){return c(this.#d),y}controllerRemoved(){this.#d.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#o.push(t)}onUpdate(t){this.#i.push(t)}onUpdated(t){this.#n.push(t)}onDestroy(t){this.#r.push(t)}onLifecycle(t){this.#a.push(t),this.connectedCalled&&this.#d.el.isConnected&&this.#p(t)}triggerConnected(){const t=this;t.hostConnected&&(0,o.UF)(t.hostConnected,t),t.#t.forEach(o.UF),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){const t=this;t.hostDisconnected&&(0,o.UF)(t.hostDisconnected,t),t.#e.forEach(o.UF),t.#c.forEach(o.UF),t.#c=[]}async triggerLoad(){if(this.#h)return;this.#h=!0;const t=this;t.hostLoad&&await(0,o.ao)(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(o.ao)),this.P.resolve(this.#u)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&(0,o.UF)(this.hostLoaded,this),this.#o.forEach(o.UF),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&(0,o.UF)(this.hostUpdate,this,t),this.#i.forEach(S,t)}triggerUpdated(t){this.hostUpdated&&(0,o.UF)(this.hostUpdated,this,t),this.#n.forEach(S,t)}triggerDestroy(){this.hostDestroy&&(0,o.UF)(this.hostDestroy,this),this.#r.forEach(o.UF)}triggerLifecycle(){this.hostLifecycle&&this.#p((()=>this.hostLifecycle())),this.#a.forEach(this.#p,this)}#p(t){c(this.#d);const e=(0,o.UF)(t);(Array.isArray(e)?e:[e]).forEach((t=>{"function"==typeof t?this.#c.push(t):"object"==typeof t&&"function"==typeof t.remove&&this.#c.push(t.remove)}))}}function S(t){(0,o.UF)(t,void 0,this)}const T=U,L=t=>{if("object"!=typeof t&&"function"!=typeof t||null===t)return t;const e=new Proxy(t,{get(t,s,o){if("exports"!==s&&"_exports"!==s||!(s in t)||t[s]!==e)return s in t||s in Promise.prototype||"symbol"==typeof s?"function"==typeof t?t[s]:Reflect.get(t,s,o):void 0}});return e}},7804:(t,e,s)=>{s.d(e,{OA:()=>o,WL:()=>n,u$:()=>i});const o={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},i=t=>(...e)=>({_$litDirective$:t,values:e});class n{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}},14813:(t,e,s)=>{s.d(e,{Qu:()=>n,qu:()=>i});var o=s(34088);let i=!1;const n=t=>{i=!0,(0,o.s)(t)}},18504:(t,e,s)=>{s.d(e,{Rt:()=>n,mY:()=>a});var o=s(36752);const{I:i}=o.ge,n=t=>void 0===t.strings,r={},a=(t,e=r)=>t._$AH=e},19246:(t,e,s)=>{s.d(e,{WF:()=>C,lh:()=>o.b,le:()=>w,s6:()=>T,CP:()=>U,zl:()=>S,Bq:()=>L,pf:()=>k}),Event,Event;var o=s(2799),i=s(28760);i.W3,i.Ec;var n=s(98015);const r=t=>{let e=t;for(;e=e.parentNode??e.host;)if(e?.constructor?.lumina){const s=e;return s.manager?.loadedCalled||(s.J??s._offspring).push(t),(s.I??s._postLoad).promise}return!1},a={};function c(){}const h=Object.defineProperty,l=globalThis.HTMLElement??c;class d extends l{constructor(){super(),this.#f={},this.#g=[],this.I=new n.cY,this.H=new n.cY,this.J=[];const t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach((e=>{Object.hasOwn(t,e)&&(t.#f[e]=t[e],delete t[e])})),e.A?t.#m({a:e.A}):e.B.then((async s=>{await e.K.p,t.#m(await(s.default?.then((t=>"function"==typeof t?{a:t}:t))??s))})).catch((e=>{t.H.reject(e),setTimeout((()=>{throw e}))}))}static{this.lumina=!0}static F(){for(const t of this.C??[])h(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#f[t]},set(e){this.#f[t]=e}});for(const t of this.E??[])h(this.prototype,t,{async value(...e){this.#y||await this.H.promise;const s=this.#y;return await s[t](...e)},configurable:!0});for(const t of this.D??[])h(this.prototype,t,{value(...e){return this.#y[t](...e)},configurable:!0})}#y;#f;#g;get manager(){return this.#y?.manager}attributeChangedCallback(t,e,s){this.#y?.attributeChangedCallback(t,e,s),this.#y||this.#g.push(t)}connectedCallback(){this.#y?this.#y.connectedCallback?.():queueMicrotask((()=>this.G=r(this)))}disconnectedCallback(){this.#y?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#m(t){const e=this.constructor,s=e.L,o=this.#f,i=Object.values(t).find((t=>t.L===s)),n=`${s}--lazy`;let r=i;for(;r&&!Object.hasOwn(r,"lumina");)r=Object.getPrototypeOf(r);p(r),!e.A&&(e.A=i,customElements.define(n,i)),i.N=this;const a=document.createElement(n);i.N=void 0,this.#y=a,this.#f=a,this.#g.forEach((t=>a.attributeChangedCallback(t,null,this.getAttribute(t)))),Object.entries(o).forEach(u,a);const c=this.isConnected;(c||this.G)&&(a.connectedCallback?.(),c||a.disconnectedCallback())}addController(){}requestUpdate(){this.#y?.requestUpdate()}}function u([t,e]){this[t]=e}const p=t=>{const e=t.prototype,s=Element.prototype;Object.hasOwn(e,"isConnected")||(e.setAttribute=function(t,e){s.setAttribute.call(this.el,t,e)},e.removeAttribute=function(t){s.removeAttribute.call(this.el,t)},h(e,"isConnected",{get(){return Reflect.get(s,"isConnected",this.el)}}))};var f=s(46337),g=s(36752),m=s(7804);const y=(0,m.u$)(class extends m.WL{constructor(t){if(super(t),t.type!==m.OA.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(e)}const s=t.element.classList;for(const t of this.st)t in e||(s.remove(t),this.st.delete(t));for(const t in e){const o=!!e[t];o===this.st.has(t)||this.nt?.has(t)||(o?(s.add(t),this.st.add(t)):(s.remove(t),this.st.delete(t)))}return g.c0}}),$="important",v=" !"+$,b=(0,m.u$)(class extends m.WL{constructor(t){if(super(t),t.type!==m.OA.ATTRIBUTE||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,s)=>{const o=t[s];return null==o?e:e+`${s=s.includes("-")?s:s.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`}),"")}update(t,[e]){const{style:s}=t.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(e)),this.render(e);for(const t of this.ft)null==e[t]&&(this.ft.delete(t),t.includes("-")?s.removeProperty(t):s[t]=null);for(const t in e){const o=e[t];if(null!=o){this.ft.add(t);const e="string"==typeof o&&o.endsWith(v);t.includes("-")||e?s.setProperty(t,e?o.slice(0,-11):o,e?$:""):s[t]=o}}return g.c0}});s(56328);class A extends o.G{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=f.s6,this.T=[],this.#$=new WeakMap,this.#d=t,this.exports=void 0,this.hasDestroy=E in t&&"function"==typeof t.destroy,f.WF.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){const e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${E} prop.`)}void 0!==this.#v&&clearTimeout(this.#v),(0,o.k)();for(const e of t.M)"triggerConnected"in e?e.triggerConnected():(0,n.UF)(e.hostConnected,e)},hostDisconnected:()=>{for(const e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():(0,n.UF)(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(const e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):(0,n.UF)(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(const e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):(0,n.UF)(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask((()=>this.R=!0)),(0,o.s)(t)}#v;#d;async destroy(){if(!this.destroyed){this.#d.el.isConnected&&(this.hasDestroy=!1,this.#d.el.remove()),this.#v=void 0,this.destroyed=!0;for(const t of this.#d.M)"triggerDestroy"in t?t.triggerDestroy():(0,n.UF)(t.hostDestroy,t);this.#d.M.splice(0)}}U(){if(void 0!==this.#v&&clearTimeout(this.#v),!this.#d.el.isConnected&&!this.#d.autoDestroyDisabled){const t=()=>{this.#d.destroy()};this.#v=(0,n.oK)(t,_)}}S(t,e){const s=this.T;this.V=f.s6,this.T=[],s.forEach((s=>s(t,e)))}#$;W(t,e){("object"==typeof e&&null!==e||"function"==typeof e)&&this.#$.set(e,t)}X(t){return"object"==typeof t&&null!==t||"function"==typeof t?this.#$.get(t):void 0}}let _=1e3;const E="autoDestroyDisabled";class C extends f.WF{constructor(){super(),this.M=[],this.manager=new A(this);const t=this,e=t.constructor,s=e.N,o=e.K.o,i=C.prototype.shouldUpdate;t.#b=s?.H??new n.cY,t.I=s?.I??new n.cY,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#A=t.enableUpdating,t.enableUpdating=c,t.shouldUpdate!==i&&(t.#_=t.shouldUpdate,t.shouldUpdate=i),o&&(t.#E=new Map,e.elementProperties.forEach(((e,s)=>t.#E.set(s,o())))),f.S$&&t.el.setAttribute(e.K.hydratedAttribute,"")}static finalizeStyles(t){const e=super.finalizeStyles(t),s=this.shadowRootOptions===a;return void 0===this.K?.commonStyles||s?e:[this.K.commonStyles,...e]}static createProperty(t,e){const s="number"==typeof e?e:Array.isArray(e)?e[0]:0,o=Array.isArray(e)?e[1]:void 0,i=o?.hasChanged??f.Ec,r={attribute:!!(1&s&&"string"==typeof t)&&(0,n.j1)(t),reflect:!!(2&s),type:4&s?Boolean:8&s?Number:void 0,state:!!(16&s),readOnly:!!(32&s),noAccessor:!!(64&s),c:!1,...o,hasChanged(t,e){const s=i(t,e);return r.c=s,s}};super.createProperty(t,r)}static getPropertyDescriptor(t,e,s){const i=this.K,n=super.getPropertyDescriptor(t,e,s);return s.d=n,{...n,get(){return i.t?.(this.#E.get(t)),n.get?.call(this)},set(e){const i=this.manager;if(s.readOnly&&!o.a&&(i.R||i.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${e}"`);n.set.call(this,e??void 0),s.c&&this.#E?.get(t)?.notify(),i.T.length>0&&i?.S(t,e)}}}static{this.lumina=!0}#E;#_;#A;#b;#C;connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;const t=this.manager.A?.((()=>this.requestUpdate()));this.#C=t;const e=!this.manager.connectedCalled;super.connectedCallback(),e?queueMicrotask((()=>this.#w().catch((t=>{this.#b.reject(t),setTimeout((()=>{throw t}))})))):t&&this.requestUpdate()}#U(t){try{this.#C.clear(),this.manager.B(this.#C,(()=>super.update(t)))}catch(t){throw this.#C.clear(),t}}disconnectedCallback(){super.disconnectedCallback(),this.#C?.destroy(),this.#C=void 0}createRenderRoot(){const t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,o=t??(s===a?this.el:this.el.attachShadow(s));if(t)return f.WF.prototype.createRenderRoot.call(this),t;if(this.isConnected){const t=o.getRootNode();t.adoptedStyleSheets=[...t.adoptedStyleSheets,...e.elementStyles.map((t=>"styleSheet"in t?t.styleSheet:t))]}return o}async#w(){const t=this.el.G??r(this.el);t&&await t;const e=[];for(const t of this.M)"triggerLoad"in t?e.push(t.triggerLoad()):e.push((0,n.ao)(t.hostLoad,t));await Promise.all(e),await(this.load?.()),this.manager.hasDestroy&&this.manager.onUpdate((t=>t.has(E)&&this.manager.U())),this.#A(!0),this.performUpdate(),this.I.resolve(),await Promise.resolve();const s=this.J.filter((t=>!t.manager?.loadedCalled));s.length&&await Promise.allSettled(s.map((async t=>await t.componentOnReady()))),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(const t of this.M)"triggerLoaded"in t?t.triggerLoaded():(0,n.UF)(t.hostLoaded,t);this.loaded?.(),this.#b.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#_?.(t)??!0}update(t){this.#C?this.#U(t):super.update(t)}listen(t,e,s){const o=e?.bind(this)??e;this.manager.onLifecycle((()=>(this.el.addEventListener(t,o,s),()=>this.el.removeEventListener(t,o,s))))}listenOn(t,e,s,o){const i=s?.bind(this)??s;this.manager.onLifecycle((()=>(t.addEventListener(e,i,o),()=>t.removeEventListener(e,i,o))))}async componentOnReady(){return await this.#b.promise,this}addController(t){this.M.push(t),!(o.c in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}}const w=t=>{let e;const s=t=>{e=new URL(t,globalThis.location?.href||void 0).href},o={...t,getAssetPath(t){const s=new URL(t,e);return s.origin!==globalThis.location?.origin?s.href:s.pathname},setAssetPath:s,customElement(t,e){e.K=o,e.L=t,customElements.get(t)||customElements.define(t,e)}};return s(t.defaultAssetPath),o},U=t=>"object"==typeof t&&null!=t?y(t):t,S=t=>"object"==typeof t&&null!=t?b(t):t,T=g.s6;function L(t,e,s){null==s?t.removeAttribute(e):t.setAttribute(e,s)}const k={toAttribute:t=>!0===t?"":!1===t?null:t}},28760:(t,e,s)=>{s.d(e,{Ec:()=>m,W3:()=>g,mN:()=>$});var o=s(33826);const{is:i,defineProperty:n,getOwnPropertyDescriptor:r,getOwnPropertyNames:a,getOwnPropertySymbols:c,getPrototypeOf:h}=Object,l=globalThis,d=l.trustedTypes,u=d?d.emptyScript:"",p=l.reactiveElementPolyfillSupport,f=(t,e)=>t,g={toAttribute(t,e){switch(e){case Boolean:t=t?u:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let s=t;switch(e){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},m=(t,e)=>!i(t,e),y={attribute:!0,type:String,converter:g,reflect:!1,useDefault:!1,hasChanged:m};Symbol.metadata??=Symbol("metadata"),l.litPropertyMetadata??=new WeakMap;class $ extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=y){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),o=this.getPropertyDescriptor(t,s,e);void 0!==o&&n(this.prototype,t,o)}}static getPropertyDescriptor(t,e,s){const{get:o,set:i}=r(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:o,set(e){const n=o?.call(this);i?.call(this,e),this.requestUpdate(t,n,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y}static _$Ei(){if(this.hasOwnProperty(f("elementProperties")))return;const t=h(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(f("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(f("properties"))){const t=this.properties,e=[...a(t),...c(t)];for(const s of e)this.createProperty(s,t[s])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,s]of e)this.elementProperties.set(t,s)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const s=this._$Eu(t,e);void 0!==s&&this._$Eh.set(s,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const t of s)e.unshift((0,o.sk)(t))}else void 0!==t&&e.push((0,o.sk)(t));return e}static _$Eu(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return(0,o.Rf)(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){const s=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,s);if(void 0!==o&&!0===s.reflect){const i=(void 0!==s.converter?.toAttribute?s.converter:g).toAttribute(e,s.type);this._$Em=t,null==i?this.removeAttribute(o):this.setAttribute(o,i),this._$Em=null}}_$AK(t,e){const s=this.constructor,o=s._$Eh.get(t);if(void 0!==o&&this._$Em!==o){const t=s.getPropertyOptions(o),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:g;this._$Em=o,this[o]=i.fromAttribute(e,t.type)??this._$Ej?.get(o)??null,this._$Em=null}}requestUpdate(t,e,s){if(void 0!==t){const o=this.constructor,i=this[t];if(s??=o.getPropertyOptions(t),!((s.hasChanged??m)(i,e)||s.useDefault&&s.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(o._$Eu(t,s))))return;this.C(t,e,s)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:o,wrapped:i},n){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,n??e??this[t]),!0!==i||void 0!==n)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),!0===o&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,s]of t){const{wrapped:t}=s,o=this[e];!0!==t||this._$AL.has(e)||void 0===o||this.C(e,void 0,s,o)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EM()}catch(e){throw t=!1,this._$EM(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach((t=>this._$ET(t,this[t]))),this._$EM()}updated(t){}firstUpdated(t){}}$.elementStyles=[],$.shadowRootOptions={mode:"open"},$[f("elementProperties")]=new Map,$[f("finalized")]=new Map,p?.({ReactiveElement:$}),(l.reactiveElementVersions??=[]).push("2.1.0")},33826:(t,e,s)=>{s.d(e,{AH:()=>c,Rf:()=>h,sk:()=>l});const o=globalThis,i=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,n=Symbol(),r=new WeakMap;class a{constructor(t,e,s){if(this._$cssResult$=!0,s!==n)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(i&&void 0===t){const s=void 0!==e&&1===e.length;s&&(t=r.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&r.set(e,t))}return t}toString(){return this.cssText}}const c=(t,...e)=>{const s=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new a(s,t,n)},h=(t,e)=>{if(i)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const s of e){const e=document.createElement("style"),i=o.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=s.cssText,t.appendChild(e)}},l=i?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return(t=>new a("string"==typeof t?t:t+"",void 0,n))(e)})(t):t},34088:(t,e,s)=>{s.d(e,{C:()=>a,D:()=>c,a:()=>h,c:()=>m,f:()=>u,g:()=>y,l:()=>p,s:()=>$});var o=s(19246),i=s(46337);const n="calcite-mode-auto",r="calcite-mode-dark",a={autoMode:n,darkMode:r,lightMode:"calcite-mode-light",rtl:"calcite--rtl",calciteAnimate:"calcite-animate",calciteAnimateInUp:"calcite-animate__in-up",calciteAnimateInDown:"calcite-animate__in-down",calciteAnimateInRight:"calcite-animate__in-right",calciteAnimateInLeft:"calcite-animate__in-left"},c={filter:250,nextTick:0,resize:150,reposition:100},h=25;function l(){const{classList:t}=document.body,e=window.matchMedia("(prefers-color-scheme: dark)").matches,s=()=>t.contains(r)||t.contains(n)&&e?"dark":"light",o=t=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:t}})),i=t=>{a!==t&&o(t),a=t};let a=s();o(a),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(t=>i(t.matches?"dark":"light"))),new MutationObserver((()=>i(s()))).observe(document.body,{attributes:!0,attributeFilter:["class"]})}const d=globalThis.calciteConfig,u=d?.focusTrapStack||[],p=d?.logLevel||"info",f="3.2.1";i.S$||("interactive"===document.readyState?l():document.addEventListener("DOMContentLoaded",(()=>l()),{once:!0})),function(){if(d&&d.version)return;console.info(`Using Calcite Components ${f} [Date: 2025-05-29, Revision: 618973fec]`);const t=d||globalThis.calciteConfig||{};Object.defineProperty(t,"version",{value:f,writable:!1}),globalThis.calciteConfig=t}();const g=(0,o.le)({defaultAssetPath:"https://js.geoscene.cn/calcite-components/3.2.1/",hydratedAttribute:"calcite-hydrated"}),{customElement:m,getAssetPath:y,setAssetPath:$}=g},36752:(t,e,s)=>{s.d(e,{JW:()=>w,XX:()=>B,c0:()=>S,ej:()=>U,ge:()=>W,qy:()=>C,s6:()=>T});const o=globalThis,i=o.trustedTypes,n=i?i.createPolicy("lit-html",{createHTML:t=>t}):void 0,r="$lit$",a=`lit$${Math.random().toFixed(9).slice(2)}$`,c="?"+a,h=`<${c}>`,l=document,d=()=>l.createComment(""),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,p=Array.isArray,f=t=>p(t)||"function"==typeof t?.[Symbol.iterator],g="[ \t\n\f\r]",m=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,y=/-->/g,$=/>/g,v=RegExp(`>|${g}(?:([^\\s"'>=/]+)(${g}*=${g}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),b=/'/g,A=/"/g,_=/^(?:script|style|textarea|title)$/i,E=t=>(e,...s)=>({_$litType$:t,strings:e,values:s}),C=E(1),w=E(2),U=E(3),S=Symbol.for("lit-noChange"),T=Symbol.for("lit-nothing"),L=new WeakMap,k=l.createTreeWalker(l,129);function O(t,e){if(!p(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==n?n.createHTML(e):e}const P=(t,e)=>{const s=t.length-1,o=[];let i,n=2===e?"<svg>":3===e?"<math>":"",c=m;for(let e=0;e<s;e++){const s=t[e];let l,d,u=-1,p=0;for(;p<s.length&&(c.lastIndex=p,d=c.exec(s),null!==d);)p=c.lastIndex,c===m?"!--"===d[1]?c=y:void 0!==d[1]?c=$:void 0!==d[2]?(_.test(d[2])&&(i=RegExp("</"+d[2],"g")),c=v):void 0!==d[3]&&(c=v):c===v?">"===d[0]?(c=i??m,u=-1):void 0===d[1]?u=-2:(u=c.lastIndex-d[2].length,l=d[1],c=void 0===d[3]?v:'"'===d[3]?A:b):c===A||c===b?c=v:c===y||c===$?c=m:(c=v,i=void 0);const f=c===v&&t[e+1].startsWith("/>")?" ":"";n+=c===m?s+h:u>=0?(o.push(l),s.slice(0,u)+r+s.slice(u)+a+f):s+a+(-2===u?e:f)}return[O(t,n+(t[s]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),o]};class x{constructor({strings:t,_$litType$:e},s){let o;this.parts=[];let n=0,h=0;const l=t.length-1,u=this.parts,[p,f]=P(t,e);if(this.el=x.createElement(p,s),k.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(o=k.nextNode())&&u.length<l;){if(1===o.nodeType){if(o.hasAttributes())for(const t of o.getAttributeNames())if(t.endsWith(r)){const e=f[h++],s=o.getAttribute(t).split(a),i=/([.?@])?(.*)/.exec(e);u.push({type:1,index:n,name:i[2],strings:s,ctor:"."===i[1]?j:"?"===i[1]?H:"@"===i[1]?I:N}),o.removeAttribute(t)}else t.startsWith(a)&&(u.push({type:6,index:n}),o.removeAttribute(t));if(_.test(o.tagName)){const t=o.textContent.split(a),e=t.length-1;if(e>0){o.textContent=i?i.emptyScript:"";for(let s=0;s<e;s++)o.append(t[s],d()),k.nextNode(),u.push({type:2,index:++n});o.append(t[e],d())}}}else if(8===o.nodeType)if(o.data===c)u.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(a,t+1));)u.push({type:7,index:n}),t+=a.length-1}n++}}static createElement(t,e){const s=l.createElement("template");return s.innerHTML=t,s}}function R(t,e,s=t,o){if(e===S)return e;let i=void 0!==o?s._$Co?.[o]:s._$Cl;const n=u(e)?void 0:e._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,s,o)),void 0!==o?(s._$Co??=[])[o]=i:s._$Cl=i),void 0!==i&&(e=R(t,i._$AS(t,e.values),i,o)),e}class M{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,o=(t?.creationScope??l).importNode(e,!0);k.currentNode=o;let i=k.nextNode(),n=0,r=0,a=s[0];for(;void 0!==a;){if(n===a.index){let e;2===a.type?e=new D(i,i.nextSibling,this,t):1===a.type?e=new a.ctor(i,a.name,a.strings,this,t):6===a.type&&(e=new F(i,this,t)),this._$AV.push(e),a=s[++r]}n!==a?.index&&(i=k.nextNode(),n++)}return k.currentNode=l,o}p(t){let e=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class D{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,o){this.type=2,this._$AH=T,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=R(this,t,e),u(t)?t===T||null==t||""===t?(this._$AH!==T&&this._$AR(),this._$AH=T):t!==this._$AH&&t!==S&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):f(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==T&&u(this._$AH)?this._$AA.nextSibling.data=t:this.T(l.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:s}=t,o="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=x.createElement(O(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===o)this._$AH.p(e);else{const t=new M(o,this),s=t.u(this.options);t.p(e),this.T(s),this._$AH=t}}_$AC(t){let e=L.get(t.strings);return void 0===e&&L.set(t.strings,e=new x(t)),e}k(t){p(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,o=0;for(const i of t)o===e.length?e.push(s=new D(this.O(d()),this.O(d()),this,this.options)):s=e[o],s._$AI(i),o++;o<e.length&&(this._$AR(s&&s._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class N{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,o,i){this.type=1,this._$AH=T,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=i,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=T}_$AI(t,e=this,s,o){const i=this.strings;let n=!1;if(void 0===i)t=R(this,t,e,0),n=!u(t)||t!==this._$AH&&t!==S,n&&(this._$AH=t);else{const o=t;let r,a;for(t=i[0],r=0;r<i.length-1;r++)a=R(this,o[s+r],e,r),a===S&&(a=this._$AH[r]),n||=!u(a)||a!==this._$AH[r],a===T?t=T:t!==T&&(t+=(a??"")+i[r+1]),this._$AH[r]=a}n&&!o&&this.j(t)}j(t){t===T?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class j extends N{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===T?void 0:t}}class H extends N{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==T)}}class I extends N{constructor(t,e,s,o,i){super(t,e,s,o,i),this.type=5}_$AI(t,e=this){if((t=R(this,t,e,0)??T)===S)return;const s=this._$AH,o=t===T&&s!==T||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,i=t!==T&&(s===T||o);o&&this.element.removeEventListener(this.name,this,s),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class F{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){R(this,t)}}const W={M:r,P:a,A:c,C:1,L:P,R:M,D:f,V:R,I:D,H:N,N:H,U:I,B:j,F},z=o.litHtmlPolyfillSupport;z?.(x,D),(o.litHtmlVersions??=[]).push("3.3.0");const B=(t,e,s)=>{const o=s?.renderBefore??e;let i=o._$litPart$;if(void 0===i){const t=s?.renderBefore??null;o._$litPart$=i=new D(e.insertBefore(d(),t),t,void 0,s??{})}return i._$AI(t),i}},46337:(t,e,s)=>{s.d(e,{WF:()=>r,qy:()=>i.qy,S$:()=>c,Ec:()=>o.Ec,s6:()=>i.s6,JW:()=>i.JW});var o=s(28760),i=s(36752);const n=globalThis;class r extends o.mN{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,i.XX)(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return i.c0}}r._$litElement$=!0,r.finalized=!0,n.litElementHydrateSupport?.({LitElement:r});const a=n.litElementPolyfillSupport;a?.({LitElement:r}),(n.litElementVersions??=[]).push("4.2.0");const c=!1},56328:(t,e,s)=>{s.d(e,{V:()=>r});var o=s(36752),i=s(7804),n=s(18504);const r=(0,i.u$)(class extends i.WL{constructor(t){if(super(t),t.type!==i.OA.PROPERTY&&t.type!==i.OA.ATTRIBUTE&&t.type!==i.OA.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!(0,n.Rt)(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===o.c0||e===o.s6)return e;const s=t.element,r=t.name;if(t.type===i.OA.PROPERTY){if(e===s[r])return o.c0}else if(t.type===i.OA.BOOLEAN_ATTRIBUTE){if(!!e===s.hasAttribute(r))return o.c0}else if(t.type===i.OA.ATTRIBUTE&&s.getAttribute(r)===e+"")return o.c0;return(0,n.mY)(t),e}})},98015:(t,e,s)=>{s.d(e,{UF:()=>a,ao:()=>c,cY:()=>o,hd:()=>y,j1:()=>v,kn:()=>g,oK:()=>A});class o{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}}const i={},n=t=>{const e=t.join(","),s=i[e];if(void 0!==s)return s;const o=new Set,n=new MutationObserver((t=>o.forEach((e=>e(t)))));globalThis.document&&n.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0});const r={subscribe:t=>(o.add(t),()=>{o.delete(t),0===o.size&&(n.disconnect(),i[e]=void 0)})};return i[e]=r,r},r=(t,e,s)=>{const o=((t,e)=>{let s=t;for(;s;){const t=s.closest?.(e);if(t)return t;const o=s.getRootNode?.();if(o===globalThis.document)return null;s=o.host}return null})(t,`[${e}]`);return o?.getAttribute(e)??s},a=(t,e,...s)=>{try{return t?.call(e,...s)}catch(e){console.error(e,t)}},c=async(t,e,...s)=>{try{const o=t?.call(e,...s);return await o}catch(e){console.error(e,t)}},h="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),l=new Set(h),d="en",u={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},p={},f=async(t,e)=>{const s=`${e}${t}.json`;try{const t=await fetch(s);if(t.ok)return await t.json()}catch(t){return console.error(t),{}}return t===d?{}:await f(d,e)},g=t=>{const e=r(t,"lang",globalThis.navigator?.language||d);return{lang:e,t9nLocale:m(e)}},m=t=>{const[e,s]=t.split("-"),o=e.toLowerCase();let i=o;return s&&(i=`${o}-${s.toUpperCase()}`),i=u[i]??i,l.has(i)?i:s?m(o):d},y=(t,e,s,o)=>{let i;const r=()=>$(t,e(),o).then((t=>{i?.lang===t.lang&&i.t9nLocale===t.t9nLocale&&i.t9nStrings===t.t9nStrings||s(t),i=t})).catch(console.error);return queueMicrotask(r),((t,e,s)=>(0,n(e).subscribe)((e=>{const o=e.some((e=>((t,e)=>{let s=t;for(;s;){if(s===e)return!0;if(!s.parentNode)return!1;s=s.parentNode instanceof ShadowRoot?s.parentNode.host:s.parentNode}return!1})(t,e.target)));o&&s()})))(t,["lang"],r)},$=async(t,e,s=t.localName.split("-").slice(1).join("-"))=>{const{lang:o,t9nLocale:i}=g(t),n=`${e}/${s}/t9n`,r=null===s?{}:await(async(t,e,s="")=>{const o=`${e}/${s}`,i=`${o}${t}.json`;return p[i]??(p[i]=f(t,o)),await p[i]})(i,n,"messages.");return{lang:o,t9nLocale:i,t9nStrings:r}},v=t=>t.replace(b,((t,e)=>`${0===e?"":"-"}${t.toLowerCase()}`)),b=/[A-Z]+(?![a-z])|[A-Z]/gu,A=(t,e)=>{const s=e>_?E:e/C;let o=0;const i=setInterval((()=>{o+=s,o>=e&&(clearInterval(i),t())}),s);return i},_=4e3,E=2e3,C=4}}]);
|
|
2
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4813],{2799:(t,e,s)=>{s.d(e,{C:()=>U,G:()=>T,a:()=>$,b:()=>C,c:()=>n,d:()=>d,e:()=>u,h:()=>v,i:()=>r,k:()=>A,o:()=>f,s:()=>c,t:()=>E});var o=s(98015),i=s(46337);const n=Symbol.for("controller"),r=t=>"function"==typeof t?.then;let a;const c=t=>{a!==t&&(a=t,queueMicrotask((()=>a===t?a=void 0:0)))},h=t=>a;let l=[];const d=t=>{if(void 0===t)return void(l=[]);const e=l.indexOf(t);l=-1===e?[...l,t]:l.slice(0,e+1),queueMicrotask((()=>l=[]))},u=()=>l;let p;const f=t=>{p!==t&&(p=t,queueMicrotask((()=>p===t?p=void 0:0)))},g=async(t,e)=>{const s=y(t);if(void 0===s)return t;if(await s.ready,"function"==typeof e){const t=s.watchExports((s=>e(s,t)))}return s.exports},m=async t=>{const e=y(t);return await e.ready,e},y=t=>{const e=h().manager.X(t);if(void 0!==e)return e;if((t=>"object"==typeof t&&null!==t&&(n in t||"hostConnected"in t||"hostDisconnected"in t||"hostUpdate"in t||"hostUpdated"in t))(t))return t;const s=(()=>{const t=p;return p=void 0,t})();return void 0!==s?s:void 0};let $=!1;const v=t=>{$=!0;try{return t()}finally{$=!1}};let b;const A=()=>{b?.forEach((({callbacks:t},e)=>{const s=Object.keys(e);t.forEach((t=>t(s)))})),b=void 0},_=(t,e,s)=>{const n=t.manager;return n.V!==i.s6&&n.V!==s&&n.S(void 0,void 0),0===n.T.length&&queueMicrotask((()=>n.S(void 0,void 0))),n.V=s,n.T.push(((t,i)=>(0,o.UF)(e,void 0,s===i?t:void 0))),s},E=(t=[h(),...u()],e,s)=>{const i=Array.isArray(t)?t:[t];let n=i.length+1;const r=t=>{n-=1,void 0!==t&&(n=Math.min(n,0)),0===n&&e(t)};i.forEach((t=>((t,e,s)=>{const i=Object.keys(t),n=i.length;void 0===b&&queueMicrotask(A),b??=new Map;let r=b.get(t);return void 0===r&&(r={callbacks:[],keyCount:n},b.set(t,r)),r.keyCount!==n&&(r.callbacks.forEach((t=>t(i))),r.callbacks=[],r.keyCount=n),r.callbacks.push((i=>{const r=t=>(0,o.UF)(e,null,t),a=i[n];void 0===a?r(void 0):t[a]===s?r(a):r(void 0)})),s})(t,(e=>r(void 0===e?void 0:{key:e,host:t,isReactive:!1})),s)));for(const t of i)if("manager"in t&&t.manager.component===t){_(t,(e=>r(void 0===e?void 0:{key:e,host:t,isReactive:!0})),s);break}return s},C=((t="",e={},s=h())=>{const o={emit:o=>{""===t&&A();const i=new CustomEvent(t,{detail:o,cancelable:!0,bubbles:!0,composed:!0,...e});return s.el.dispatchEvent(i),i}};return""===t&&E(void 0,(e=>t=e.key),o),o}).bind(null,"");var w;w=n;class U{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#o=[],this.#i=[],this.#n=[],this.#r=[],this.#a=[],this.#c=[],this.#h=!1,this.P=new o.cY,this.connectedCalled=!1,this.loadedCalled=!1,this[w]=!0,this.#l=[];const e=this,s=t??h(new.target.name);e.#d=s,e.ready=e.P.promise,e.#u=L(e),e.component=s,e.#d.addController(e),void 0===e.#d.manager||(d(e),queueMicrotask((()=>e.catchUpLifecycle())))}#t;#e;#s;#o;#i;#n;#r;#a;#c;#h;#d;catchUpLifecycle(){const{manager:t}=this.#d;!t.connectedCalled||this.connectedCalled||this.triggerConnected(),!t.#h||this.triggerLoad().then((()=>t.loadedCalled&&this.triggerLoaded())).catch(console.error)}#u;get exports(){return this.#u}set exports(t){const e=this.#u;e!==t&&(this.#u=t,this.#l.forEach(o.UF),this.connectedCalled&&!1!==this.O&&this.#d.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#u=e?L(t):t,this.#l.forEach(o.UF)}#l;watchExports(t){const e=()=>t(this.#u);return this.#l.push(e),()=>{this.#l.splice(this.#l.indexOf(e),1)}}get use(){return c(this.#d),g}get useRef(){return c(this.#d),m}get useRefSync(){return c(this.#d),y}controllerRemoved(){this.#d.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#o.push(t)}onUpdate(t){this.#i.push(t)}onUpdated(t){this.#n.push(t)}onDestroy(t){this.#r.push(t)}onLifecycle(t){this.#a.push(t),this.connectedCalled&&this.#d.el.isConnected&&this.#p(t)}triggerConnected(){const t=this;t.hostConnected&&(0,o.UF)(t.hostConnected,t),t.#t.forEach(o.UF),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){const t=this;t.hostDisconnected&&(0,o.UF)(t.hostDisconnected,t),t.#e.forEach(o.UF),t.#c.forEach(o.UF),t.#c=[]}async triggerLoad(){if(this.#h)return;this.#h=!0;const t=this;t.hostLoad&&await(0,o.ao)(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(o.ao)),this.P.resolve(this.#u)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&(0,o.UF)(this.hostLoaded,this),this.#o.forEach(o.UF),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&(0,o.UF)(this.hostUpdate,this,t),this.#i.forEach(S,t)}triggerUpdated(t){this.hostUpdated&&(0,o.UF)(this.hostUpdated,this,t),this.#n.forEach(S,t)}triggerDestroy(){this.hostDestroy&&(0,o.UF)(this.hostDestroy,this),this.#r.forEach(o.UF)}triggerLifecycle(){this.hostLifecycle&&this.#p((()=>this.hostLifecycle())),this.#a.forEach(this.#p,this)}#p(t){c(this.#d);const e=(0,o.UF)(t);(Array.isArray(e)?e:[e]).forEach((t=>{"function"==typeof t?this.#c.push(t):"object"==typeof t&&"function"==typeof t.remove&&this.#c.push(t.remove)}))}}function S(t){(0,o.UF)(t,void 0,this)}const T=U,L=t=>{if("object"!=typeof t&&"function"!=typeof t||null===t)return t;const e=new Proxy(t,{get(t,s,o){if("exports"!==s&&"_exports"!==s||!(s in t)||t[s]!==e)return s in t||s in Promise.prototype||"symbol"==typeof s?"function"==typeof t?t[s]:Reflect.get(t,s,o):void 0}});return e}},7804:(t,e,s)=>{s.d(e,{OA:()=>o,WL:()=>n,u$:()=>i});const o={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},i=t=>(...e)=>({_$litDirective$:t,values:e});class n{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}},14813:(t,e,s)=>{s.d(e,{Qu:()=>n,qu:()=>i});var o=s(34088);let i=!1;const n=t=>{i=!0,(0,o.s)(t)}},18504:(t,e,s)=>{s.d(e,{Rt:()=>n,mY:()=>a});var o=s(36752);const{I:i}=o.ge,n=t=>void 0===t.strings,r={},a=(t,e=r)=>t._$AH=e},19246:(t,e,s)=>{s.d(e,{WF:()=>C,lh:()=>o.b,le:()=>w,s6:()=>T,CP:()=>U,zl:()=>S,Bq:()=>L,pf:()=>k}),Event,Event;var o=s(2799),i=s(28760);i.W3,i.Ec;var n=s(98015);const r=t=>{let e=t;for(;e=e.parentNode??e.host;)if(e?.constructor?.lumina){const s=e;return s.manager?.loadedCalled||(s.J??s._offspring).push(t),(s.I??s._postLoad).promise}return!1},a={};function c(){}const h=Object.defineProperty,l=globalThis.HTMLElement??c;class d extends l{constructor(){super(),this.#f={},this.#g=[],this.I=new n.cY,this.H=new n.cY,this.J=[];const t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach((e=>{Object.hasOwn(t,e)&&(t.#f[e]=t[e],delete t[e])})),e.A?t.#m({a:e.A}):e.B.then((async s=>{await e.K.p,t.#m(await(s.default?.then((t=>"function"==typeof t?{a:t}:t))??s))})).catch((e=>{t.H.reject(e),setTimeout((()=>{throw e}))}))}static{this.lumina=!0}static F(){for(const t of this.C??[])h(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#f[t]},set(e){this.#f[t]=e}});for(const t of this.E??[])h(this.prototype,t,{async value(...e){this.#y||await this.H.promise;const s=this.#y;return await s[t](...e)},configurable:!0});for(const t of this.D??[])h(this.prototype,t,{value(...e){return this.#y[t](...e)},configurable:!0})}#y;#f;#g;get manager(){return this.#y?.manager}attributeChangedCallback(t,e,s){this.#y?.attributeChangedCallback(t,e,s),this.#y||this.#g.push(t)}connectedCallback(){this.#y?this.#y.connectedCallback?.():queueMicrotask((()=>this.G=r(this)))}disconnectedCallback(){this.#y?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#m(t){const e=this.constructor,s=e.L,o=this.#f,i=Object.values(t).find((t=>t.L===s)),n=`${s}--lazy`;let r=i;for(;r&&!Object.hasOwn(r,"lumina");)r=Object.getPrototypeOf(r);p(r),!e.A&&(e.A=i,customElements.define(n,i)),i.N=this;const a=document.createElement(n);i.N=void 0,this.#y=a,this.#f=a,this.#g.forEach((t=>a.attributeChangedCallback(t,null,this.getAttribute(t)))),Object.entries(o).forEach(u,a);const c=this.isConnected;(c||this.G)&&(a.connectedCallback?.(),c||a.disconnectedCallback())}addController(){}requestUpdate(){this.#y?.requestUpdate()}}function u([t,e]){this[t]=e}const p=t=>{const e=t.prototype,s=Element.prototype;Object.hasOwn(e,"isConnected")||(e.setAttribute=function(t,e){s.setAttribute.call(this.el,t,e)},e.removeAttribute=function(t){s.removeAttribute.call(this.el,t)},h(e,"isConnected",{get(){return Reflect.get(s,"isConnected",this.el)}}))};var f=s(46337),g=s(36752),m=s(7804);const y=(0,m.u$)(class extends m.WL{constructor(t){if(super(t),t.type!==m.OA.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(e)}const s=t.element.classList;for(const t of this.st)t in e||(s.remove(t),this.st.delete(t));for(const t in e){const o=!!e[t];o===this.st.has(t)||this.nt?.has(t)||(o?(s.add(t),this.st.add(t)):(s.remove(t),this.st.delete(t)))}return g.c0}}),$="important",v=" !"+$,b=(0,m.u$)(class extends m.WL{constructor(t){if(super(t),t.type!==m.OA.ATTRIBUTE||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,s)=>{const o=t[s];return null==o?e:e+`${s=s.includes("-")?s:s.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`}),"")}update(t,[e]){const{style:s}=t.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(e)),this.render(e);for(const t of this.ft)null==e[t]&&(this.ft.delete(t),t.includes("-")?s.removeProperty(t):s[t]=null);for(const t in e){const o=e[t];if(null!=o){this.ft.add(t);const e="string"==typeof o&&o.endsWith(v);t.includes("-")||e?s.setProperty(t,e?o.slice(0,-11):o,e?$:""):s[t]=o}}return g.c0}});s(56328);class A extends o.G{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=f.s6,this.T=[],this.#$=new WeakMap,this.#d=t,this.exports=void 0,this.hasDestroy=E in t&&"function"==typeof t.destroy,f.WF.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){const e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${E} prop.`)}void 0!==this.#v&&clearTimeout(this.#v),(0,o.k)();for(const e of t.M)"triggerConnected"in e?e.triggerConnected():(0,n.UF)(e.hostConnected,e)},hostDisconnected:()=>{for(const e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():(0,n.UF)(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(const e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):(0,n.UF)(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(const e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):(0,n.UF)(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask((()=>this.R=!0)),(0,o.s)(t)}#v;#d;async destroy(){if(!this.destroyed){this.#d.el.isConnected&&(this.hasDestroy=!1,this.#d.el.remove()),this.#v=void 0,this.destroyed=!0;for(const t of this.#d.M)"triggerDestroy"in t?t.triggerDestroy():(0,n.UF)(t.hostDestroy,t);this.#d.M.splice(0)}}U(){if(void 0!==this.#v&&clearTimeout(this.#v),!this.#d.el.isConnected&&!this.#d.autoDestroyDisabled){const t=()=>{this.#d.destroy()};this.#v=(0,n.oK)(t,_)}}S(t,e){const s=this.T;this.V=f.s6,this.T=[],s.forEach((s=>s(t,e)))}#$;W(t,e){("object"==typeof e&&null!==e||"function"==typeof e)&&this.#$.set(e,t)}X(t){return"object"==typeof t&&null!==t||"function"==typeof t?this.#$.get(t):void 0}}let _=1e3;const E="autoDestroyDisabled";class C extends f.WF{constructor(){super(),this.M=[],this.manager=new A(this);const t=this,e=t.constructor,s=e.N,o=e.K.o,i=C.prototype.shouldUpdate;t.#b=s?.H??new n.cY,t.I=s?.I??new n.cY,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#A=t.enableUpdating,t.enableUpdating=c,t.shouldUpdate!==i&&(t.#_=t.shouldUpdate,t.shouldUpdate=i),o&&(t.#E=new Map,e.elementProperties.forEach(((e,s)=>t.#E.set(s,o())))),f.S$&&t.el.setAttribute(e.K.hydratedAttribute,"")}static finalizeStyles(t){const e=super.finalizeStyles(t),s=this.shadowRootOptions===a;return void 0===this.K?.commonStyles||s?e:[this.K.commonStyles,...e]}static createProperty(t,e){const s="number"==typeof e?e:Array.isArray(e)?e[0]:0,o=Array.isArray(e)?e[1]:void 0,i=o?.hasChanged??f.Ec,r={attribute:!!(1&s&&"string"==typeof t)&&(0,n.j1)(t),reflect:!!(2&s),type:4&s?Boolean:8&s?Number:void 0,state:!!(16&s),readOnly:!!(32&s),noAccessor:!!(64&s),c:!1,...o,hasChanged(t,e){const s=i(t,e);return r.c=s,s}};super.createProperty(t,r)}static getPropertyDescriptor(t,e,s){const i=this.K,n=super.getPropertyDescriptor(t,e,s);return s.d=n,{...n,get(){return i.t?.(this.#E.get(t)),n.get?.call(this)},set(e){const i=this.manager;if(s.readOnly&&!o.a&&(i.R||i.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${e}"`);n.set.call(this,e??void 0),s.c&&this.#E?.get(t)?.notify(),i.T.length>0&&i?.S(t,e)}}}static{this.lumina=!0}#E;#_;#A;#b;#C;connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;const t=this.manager.A?.((()=>this.requestUpdate()));this.#C=t;const e=!this.manager.connectedCalled;super.connectedCallback(),e?queueMicrotask((()=>this.#w().catch((t=>{this.#b.reject(t),setTimeout((()=>{throw t}))})))):t&&this.requestUpdate()}#U(t){try{this.#C.clear(),this.manager.B(this.#C,(()=>super.update(t)))}catch(t){throw this.#C.clear(),t}}disconnectedCallback(){super.disconnectedCallback(),this.#C?.destroy(),this.#C=void 0}createRenderRoot(){const t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,o=t??(s===a?this.el:this.el.attachShadow(s));if(t)return f.WF.prototype.createRenderRoot.call(this),t;if(this.isConnected){const t=o.getRootNode();t.adoptedStyleSheets=[...t.adoptedStyleSheets,...e.elementStyles.map((t=>"styleSheet"in t?t.styleSheet:t))]}return o}async#w(){const t=this.el.G??r(this.el);t&&await t;const e=[];for(const t of this.M)"triggerLoad"in t?e.push(t.triggerLoad()):e.push((0,n.ao)(t.hostLoad,t));await Promise.all(e),await(this.load?.()),this.manager.hasDestroy&&this.manager.onUpdate((t=>t.has(E)&&this.manager.U())),this.#A(!0),this.performUpdate(),this.I.resolve(),await Promise.resolve();const s=this.J.filter((t=>!t.manager?.loadedCalled));s.length&&await Promise.allSettled(s.map((async t=>await t.componentOnReady()))),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(const t of this.M)"triggerLoaded"in t?t.triggerLoaded():(0,n.UF)(t.hostLoaded,t);this.loaded?.(),this.#b.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#_?.(t)??!0}update(t){this.#C?this.#U(t):super.update(t)}listen(t,e,s){const o=e?.bind(this)??e;this.manager.onLifecycle((()=>(this.el.addEventListener(t,o,s),()=>this.el.removeEventListener(t,o,s))))}listenOn(t,e,s,o){const i=s?.bind(this)??s;this.manager.onLifecycle((()=>(t.addEventListener(e,i,o),()=>t.removeEventListener(e,i,o))))}async componentOnReady(){return await this.#b.promise,this}addController(t){this.M.push(t),!(o.c in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}}const w=t=>{let e;const s=t=>{e=new URL(t,globalThis.location?.href||void 0).href},o={...t,getAssetPath(t){const s=new URL(t,e);return s.origin!==globalThis.location?.origin?s.href:s.pathname},setAssetPath:s,customElement(t,e){e.K=o,e.L=t,customElements.get(t)||customElements.define(t,e)}};return s(t.defaultAssetPath),o},U=t=>"object"==typeof t&&null!=t?y(t):t,S=t=>"object"==typeof t&&null!=t?b(t):t,T=g.s6;function L(t,e,s){null==s?t.removeAttribute(e):t.setAttribute(e,s)}const k={toAttribute:t=>!0===t?"":!1===t?null:t}},28760:(t,e,s)=>{s.d(e,{Ec:()=>m,W3:()=>g,mN:()=>$});var o=s(33826);const{is:i,defineProperty:n,getOwnPropertyDescriptor:r,getOwnPropertyNames:a,getOwnPropertySymbols:c,getPrototypeOf:h}=Object,l=globalThis,d=l.trustedTypes,u=d?d.emptyScript:"",p=l.reactiveElementPolyfillSupport,f=(t,e)=>t,g={toAttribute(t,e){switch(e){case Boolean:t=t?u:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let s=t;switch(e){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},m=(t,e)=>!i(t,e),y={attribute:!0,type:String,converter:g,reflect:!1,useDefault:!1,hasChanged:m};Symbol.metadata??=Symbol("metadata"),l.litPropertyMetadata??=new WeakMap;class $ extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=y){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),o=this.getPropertyDescriptor(t,s,e);void 0!==o&&n(this.prototype,t,o)}}static getPropertyDescriptor(t,e,s){const{get:o,set:i}=r(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:o,set(e){const n=o?.call(this);i?.call(this,e),this.requestUpdate(t,n,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y}static _$Ei(){if(this.hasOwnProperty(f("elementProperties")))return;const t=h(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(f("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(f("properties"))){const t=this.properties,e=[...a(t),...c(t)];for(const s of e)this.createProperty(s,t[s])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,s]of e)this.elementProperties.set(t,s)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const s=this._$Eu(t,e);void 0!==s&&this._$Eh.set(s,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const t of s)e.unshift((0,o.sk)(t))}else void 0!==t&&e.push((0,o.sk)(t));return e}static _$Eu(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return(0,o.Rf)(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){const s=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,s);if(void 0!==o&&!0===s.reflect){const i=(void 0!==s.converter?.toAttribute?s.converter:g).toAttribute(e,s.type);this._$Em=t,null==i?this.removeAttribute(o):this.setAttribute(o,i),this._$Em=null}}_$AK(t,e){const s=this.constructor,o=s._$Eh.get(t);if(void 0!==o&&this._$Em!==o){const t=s.getPropertyOptions(o),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:g;this._$Em=o,this[o]=i.fromAttribute(e,t.type)??this._$Ej?.get(o)??null,this._$Em=null}}requestUpdate(t,e,s){if(void 0!==t){const o=this.constructor,i=this[t];if(s??=o.getPropertyOptions(t),!((s.hasChanged??m)(i,e)||s.useDefault&&s.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(o._$Eu(t,s))))return;this.C(t,e,s)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:o,wrapped:i},n){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,n??e??this[t]),!0!==i||void 0!==n)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),!0===o&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,s]of t){const{wrapped:t}=s,o=this[e];!0!==t||this._$AL.has(e)||void 0===o||this.C(e,void 0,s,o)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EM()}catch(e){throw t=!1,this._$EM(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach((t=>this._$ET(t,this[t]))),this._$EM()}updated(t){}firstUpdated(t){}}$.elementStyles=[],$.shadowRootOptions={mode:"open"},$[f("elementProperties")]=new Map,$[f("finalized")]=new Map,p?.({ReactiveElement:$}),(l.reactiveElementVersions??=[]).push("2.1.0")},33826:(t,e,s)=>{s.d(e,{AH:()=>c,Rf:()=>h,sk:()=>l});const o=globalThis,i=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,n=Symbol(),r=new WeakMap;class a{constructor(t,e,s){if(this._$cssResult$=!0,s!==n)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(i&&void 0===t){const s=void 0!==e&&1===e.length;s&&(t=r.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&r.set(e,t))}return t}toString(){return this.cssText}}const c=(t,...e)=>{const s=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new a(s,t,n)},h=(t,e)=>{if(i)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const s of e){const e=document.createElement("style"),i=o.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=s.cssText,t.appendChild(e)}},l=i?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return(t=>new a("string"==typeof t?t:t+"",void 0,n))(e)})(t):t},34088:(t,e,s)=>{s.d(e,{C:()=>a,D:()=>c,a:()=>h,c:()=>m,f:()=>u,g:()=>y,l:()=>p,s:()=>$});var o=s(19246),i=s(46337);const n="calcite-mode-auto",r="calcite-mode-dark",a={autoMode:n,darkMode:r,lightMode:"calcite-mode-light",rtl:"calcite--rtl",calciteAnimate:"calcite-animate",calciteAnimateInUp:"calcite-animate__in-up",calciteAnimateInDown:"calcite-animate__in-down",calciteAnimateInRight:"calcite-animate__in-right",calciteAnimateInLeft:"calcite-animate__in-left"},c={filter:250,nextTick:0,resize:150,reposition:100},h=25;function l(){const{classList:t}=document.body,e=window.matchMedia("(prefers-color-scheme: dark)").matches,s=()=>t.contains(r)||t.contains(n)&&e?"dark":"light",o=t=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:t}})),i=t=>{a!==t&&o(t),a=t};let a=s();o(a),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(t=>i(t.matches?"dark":"light"))),new MutationObserver((()=>i(s()))).observe(document.body,{attributes:!0,attributeFilter:["class"]})}const d=globalThis.calciteConfig,u=d?.focusTrapStack||[],p=d?.logLevel||"info",f="3.2.1";i.S$||("interactive"===document.readyState?l():document.addEventListener("DOMContentLoaded",(()=>l()),{once:!0})),function(){if(d&&d.version)return;console.info(`Using Calcite Components ${f} [Date: 2025-05-29, Revision: 618973fec]`);const t=d||globalThis.calciteConfig||{};Object.defineProperty(t,"version",{value:f,writable:!1}),globalThis.calciteConfig=t}();const g=(0,o.le)({defaultAssetPath:"https://js.geoscene.cn/calcite-components/3.3.3/",hydratedAttribute:"calcite-hydrated"}),{customElement:m,getAssetPath:y,setAssetPath:$}=g},36752:(t,e,s)=>{s.d(e,{JW:()=>w,XX:()=>B,c0:()=>S,ej:()=>U,ge:()=>W,qy:()=>C,s6:()=>T});const o=globalThis,i=o.trustedTypes,n=i?i.createPolicy("lit-html",{createHTML:t=>t}):void 0,r="$lit$",a=`lit$${Math.random().toFixed(9).slice(2)}$`,c="?"+a,h=`<${c}>`,l=document,d=()=>l.createComment(""),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,p=Array.isArray,f=t=>p(t)||"function"==typeof t?.[Symbol.iterator],g="[ \t\n\f\r]",m=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,y=/-->/g,$=/>/g,v=RegExp(`>|${g}(?:([^\\s"'>=/]+)(${g}*=${g}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),b=/'/g,A=/"/g,_=/^(?:script|style|textarea|title)$/i,E=t=>(e,...s)=>({_$litType$:t,strings:e,values:s}),C=E(1),w=E(2),U=E(3),S=Symbol.for("lit-noChange"),T=Symbol.for("lit-nothing"),L=new WeakMap,k=l.createTreeWalker(l,129);function O(t,e){if(!p(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==n?n.createHTML(e):e}const P=(t,e)=>{const s=t.length-1,o=[];let i,n=2===e?"<svg>":3===e?"<math>":"",c=m;for(let e=0;e<s;e++){const s=t[e];let l,d,u=-1,p=0;for(;p<s.length&&(c.lastIndex=p,d=c.exec(s),null!==d);)p=c.lastIndex,c===m?"!--"===d[1]?c=y:void 0!==d[1]?c=$:void 0!==d[2]?(_.test(d[2])&&(i=RegExp("</"+d[2],"g")),c=v):void 0!==d[3]&&(c=v):c===v?">"===d[0]?(c=i??m,u=-1):void 0===d[1]?u=-2:(u=c.lastIndex-d[2].length,l=d[1],c=void 0===d[3]?v:'"'===d[3]?A:b):c===A||c===b?c=v:c===y||c===$?c=m:(c=v,i=void 0);const f=c===v&&t[e+1].startsWith("/>")?" ":"";n+=c===m?s+h:u>=0?(o.push(l),s.slice(0,u)+r+s.slice(u)+a+f):s+a+(-2===u?e:f)}return[O(t,n+(t[s]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),o]};class x{constructor({strings:t,_$litType$:e},s){let o;this.parts=[];let n=0,h=0;const l=t.length-1,u=this.parts,[p,f]=P(t,e);if(this.el=x.createElement(p,s),k.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(o=k.nextNode())&&u.length<l;){if(1===o.nodeType){if(o.hasAttributes())for(const t of o.getAttributeNames())if(t.endsWith(r)){const e=f[h++],s=o.getAttribute(t).split(a),i=/([.?@])?(.*)/.exec(e);u.push({type:1,index:n,name:i[2],strings:s,ctor:"."===i[1]?j:"?"===i[1]?H:"@"===i[1]?I:N}),o.removeAttribute(t)}else t.startsWith(a)&&(u.push({type:6,index:n}),o.removeAttribute(t));if(_.test(o.tagName)){const t=o.textContent.split(a),e=t.length-1;if(e>0){o.textContent=i?i.emptyScript:"";for(let s=0;s<e;s++)o.append(t[s],d()),k.nextNode(),u.push({type:2,index:++n});o.append(t[e],d())}}}else if(8===o.nodeType)if(o.data===c)u.push({type:2,index:n});else{let t=-1;for(;-1!==(t=o.data.indexOf(a,t+1));)u.push({type:7,index:n}),t+=a.length-1}n++}}static createElement(t,e){const s=l.createElement("template");return s.innerHTML=t,s}}function R(t,e,s=t,o){if(e===S)return e;let i=void 0!==o?s._$Co?.[o]:s._$Cl;const n=u(e)?void 0:e._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,s,o)),void 0!==o?(s._$Co??=[])[o]=i:s._$Cl=i),void 0!==i&&(e=R(t,i._$AS(t,e.values),i,o)),e}class M{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,o=(t?.creationScope??l).importNode(e,!0);k.currentNode=o;let i=k.nextNode(),n=0,r=0,a=s[0];for(;void 0!==a;){if(n===a.index){let e;2===a.type?e=new D(i,i.nextSibling,this,t):1===a.type?e=new a.ctor(i,a.name,a.strings,this,t):6===a.type&&(e=new F(i,this,t)),this._$AV.push(e),a=s[++r]}n!==a?.index&&(i=k.nextNode(),n++)}return k.currentNode=l,o}p(t){let e=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class D{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,o){this.type=2,this._$AH=T,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=o,this._$Cv=o?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=R(this,t,e),u(t)?t===T||null==t||""===t?(this._$AH!==T&&this._$AR(),this._$AH=T):t!==this._$AH&&t!==S&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):f(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==T&&u(this._$AH)?this._$AA.nextSibling.data=t:this.T(l.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:s}=t,o="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=x.createElement(O(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===o)this._$AH.p(e);else{const t=new M(o,this),s=t.u(this.options);t.p(e),this.T(s),this._$AH=t}}_$AC(t){let e=L.get(t.strings);return void 0===e&&L.set(t.strings,e=new x(t)),e}k(t){p(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,o=0;for(const i of t)o===e.length?e.push(s=new D(this.O(d()),this.O(d()),this,this.options)):s=e[o],s._$AI(i),o++;o<e.length&&(this._$AR(s&&s._$AB.nextSibling,o),e.length=o)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class N{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,o,i){this.type=1,this._$AH=T,this._$AN=void 0,this.element=t,this.name=e,this._$AM=o,this.options=i,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=T}_$AI(t,e=this,s,o){const i=this.strings;let n=!1;if(void 0===i)t=R(this,t,e,0),n=!u(t)||t!==this._$AH&&t!==S,n&&(this._$AH=t);else{const o=t;let r,a;for(t=i[0],r=0;r<i.length-1;r++)a=R(this,o[s+r],e,r),a===S&&(a=this._$AH[r]),n||=!u(a)||a!==this._$AH[r],a===T?t=T:t!==T&&(t+=(a??"")+i[r+1]),this._$AH[r]=a}n&&!o&&this.j(t)}j(t){t===T?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class j extends N{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===T?void 0:t}}class H extends N{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==T)}}class I extends N{constructor(t,e,s,o,i){super(t,e,s,o,i),this.type=5}_$AI(t,e=this){if((t=R(this,t,e,0)??T)===S)return;const s=this._$AH,o=t===T&&s!==T||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,i=t!==T&&(s===T||o);o&&this.element.removeEventListener(this.name,this,s),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class F{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){R(this,t)}}const W={M:r,P:a,A:c,C:1,L:P,R:M,D:f,V:R,I:D,H:N,N:H,U:I,B:j,F},z=o.litHtmlPolyfillSupport;z?.(x,D),(o.litHtmlVersions??=[]).push("3.3.0");const B=(t,e,s)=>{const o=s?.renderBefore??e;let i=o._$litPart$;if(void 0===i){const t=s?.renderBefore??null;o._$litPart$=i=new D(e.insertBefore(d(),t),t,void 0,s??{})}return i._$AI(t),i}},46337:(t,e,s)=>{s.d(e,{WF:()=>r,qy:()=>i.qy,S$:()=>c,Ec:()=>o.Ec,s6:()=>i.s6,JW:()=>i.JW});var o=s(28760),i=s(36752);const n=globalThis;class r extends o.mN{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,i.XX)(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return i.c0}}r._$litElement$=!0,r.finalized=!0,n.litElementHydrateSupport?.({LitElement:r});const a=n.litElementPolyfillSupport;a?.({LitElement:r}),(n.litElementVersions??=[]).push("4.2.0");const c=!1},56328:(t,e,s)=>{s.d(e,{V:()=>r});var o=s(36752),i=s(7804),n=s(18504);const r=(0,i.u$)(class extends i.WL{constructor(t){if(super(t),t.type!==i.OA.PROPERTY&&t.type!==i.OA.ATTRIBUTE&&t.type!==i.OA.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!(0,n.Rt)(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===o.c0||e===o.s6)return e;const s=t.element,r=t.name;if(t.type===i.OA.PROPERTY){if(e===s[r])return o.c0}else if(t.type===i.OA.BOOLEAN_ATTRIBUTE){if(!!e===s.hasAttribute(r))return o.c0}else if(t.type===i.OA.ATTRIBUTE&&s.getAttribute(r)===e+"")return o.c0;return(0,n.mY)(t),e}})},98015:(t,e,s)=>{s.d(e,{UF:()=>a,ao:()=>c,cY:()=>o,hd:()=>y,j1:()=>v,kn:()=>g,oK:()=>A});class o{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}}const i={},n=t=>{const e=t.join(","),s=i[e];if(void 0!==s)return s;const o=new Set,n=new MutationObserver((t=>o.forEach((e=>e(t)))));globalThis.document&&n.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0});const r={subscribe:t=>(o.add(t),()=>{o.delete(t),0===o.size&&(n.disconnect(),i[e]=void 0)})};return i[e]=r,r},r=(t,e,s)=>{const o=((t,e)=>{let s=t;for(;s;){const t=s.closest?.(e);if(t)return t;const o=s.getRootNode?.();if(o===globalThis.document)return null;s=o.host}return null})(t,`[${e}]`);return o?.getAttribute(e)??s},a=(t,e,...s)=>{try{return t?.call(e,...s)}catch(e){console.error(e,t)}},c=async(t,e,...s)=>{try{const o=t?.call(e,...s);return await o}catch(e){console.error(e,t)}},h="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),l=new Set(h),d="en",u={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},p={},f=async(t,e)=>{const s=`${e}${t}.json`;try{const t=await fetch(s);if(t.ok)return await t.json()}catch(t){return console.error(t),{}}return t===d?{}:await f(d,e)},g=t=>{const e=r(t,"lang",globalThis.navigator?.language||d);return{lang:e,t9nLocale:m(e)}},m=t=>{const[e,s]=t.split("-"),o=e.toLowerCase();let i=o;return s&&(i=`${o}-${s.toUpperCase()}`),i=u[i]??i,l.has(i)?i:s?m(o):d},y=(t,e,s,o)=>{let i;const r=()=>$(t,e(),o).then((t=>{i?.lang===t.lang&&i.t9nLocale===t.t9nLocale&&i.t9nStrings===t.t9nStrings||s(t),i=t})).catch(console.error);return queueMicrotask(r),((t,e,s)=>(0,n(e).subscribe)((e=>{const o=e.some((e=>((t,e)=>{let s=t;for(;s;){if(s===e)return!0;if(!s.parentNode)return!1;s=s.parentNode instanceof ShadowRoot?s.parentNode.host:s.parentNode}return!1})(t,e.target)));o&&s()})))(t,["lang"],r)},$=async(t,e,s=t.localName.split("-").slice(1).join("-"))=>{const{lang:o,t9nLocale:i}=g(t),n=`${e}/${s}/t9n`,r=null===s?{}:await(async(t,e,s="")=>{const o=`${e}/${s}`,i=`${o}${t}.json`;return p[i]??(p[i]=f(t,o)),await p[i]})(i,n,"messages.");return{lang:o,t9nLocale:i,t9nStrings:r}},v=t=>t.replace(b,((t,e)=>`${0===e?"":"-"}${t.toLowerCase()}`)),b=/[A-Z]+(?![a-z])|[A-Z]/gu,A=(t,e)=>{const s=e>_?E:e/C;let o=0;const i=setInterval((()=>{o+=s,o>=e&&(clearInterval(i),t())}),s);return i},_=4e3,E=2e3,C=4}}]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! For license information please see 29fb64826bb1351aca8d.js.LICENSE.txt */
|
|
1
|
+
/*! For license information please see 29fb64826bb1351aca8d.js.LICENSE.txt */
|
|
2
2
|
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8098],{48098:(t,e,o)=>{o.r(e),o.d(e,{Notice:()=>m}),o(32239);var i=o(34088),n=o(46337),c=o(48015),a=o(19246),l=o(79e3),s=o(83623);const r={brand:"lightbulb",danger:"exclamationMarkTriangle",info:"information",success:"checkCircle",warning:"exclamationMarkTriangle"};var d=o(70101),h=o(75572),g=o(33826);const p=g.AH`:host([scale=s]){--calcite-notice-spacing-token-small: .5rem;--calcite-notice-spacing-token-large: .75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:.5rem}:host([scale=m]){--calcite-notice-spacing-token-small: .75rem;--calcite-notice-spacing-token-large: 1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small: 1rem;--calcite-notice-spacing-token-large: 1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width: auto}:host([width=half]){--calcite-notice-width: 50%}:host([width=full]){--calcite-notice-width: 100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;opacity:0;overflow:hidden;max-block-size:0;transition-property:opacity,max-block-size;transition-duration:var(--calcite-animation-timing);text-align:start;border-inline-start:var(--calcite-border-width-md) solid;box-shadow:0 0 0 0 transparent;background-color:var(--calcite-notice-background-color, var(--calcite-color-foreground-1))}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host{display:flex}:host([open]) .container{pointer-events:auto;max-block-size:100%;align-items:center;opacity:1;--tw-shadow: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--tw-shadow-colored: 0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);overflow:visible}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-notice-title-text-color, var(--calcite-color-text-1))}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0;display:inline;font-weight:var(--calcite-font-weight-normal);margin-inline-end:var(--calcite-notice-spacing-token-small);color:var(--calcite-notice-content-text-color, var(--calcite-color-text-2))}.notice-content{box-sizing:border-box;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto}.notice-close{display:flex;cursor:pointer;align-items:center;align-self:stretch;border-style:none;background-color:transparent;outline:2px solid transparent;outline-offset:2px;box-sizing:border-box;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;-webkit-appearance:none;color:var(--calcite-notice-close-icon-color, var(--calcite-color-text-3))}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-notice-close-background-color-focus, var(--calcite-color-foreground-2));color:var(--calcite-notice-close-icon-color-hover, var(--calcite-color-text-1))}.notice-close:active{background-color:var(--calcite-notice-close-background-color-press, var(--calcite-color-foreground-3))}.actions-end{display:flex;align-self:stretch}:host([kind=brand]) .container{border-color:var(--calcite-color-brand)}:host([kind=brand]) .container .notice-icon{color:var(--calcite-color-brand)}:host([kind=info]) .container{border-color:var(--calcite-color-status-info)}:host([kind=info]) .container .notice-icon{color:var(--calcite-color-status-info)}:host([kind=danger]) .container{border-color:var(--calcite-color-status-danger)}:host([kind=danger]) .container .notice-icon{color:var(--calcite-color-status-danger)}:host([kind=success]) .container{border-color:var(--calcite-color-status-success)}:host([kind=success]) .container .notice-icon{color:var(--calcite-color-status-success)}:host([kind=warning]) .container{border-color:var(--calcite-color-status-warning)}:host([kind=warning]) .container .notice-icon{color:var(--calcite-color-status-warning)}:host([hidden]){display:none}[hidden]{display:none}`;class m extends a.WF{constructor(){super(...arguments),this.closeButton=(0,c._)(),this.transitionProp="opacity",this.messages=(0,h.u)(),this.hasActionEnd=!1,this.closable=!1,this.iconFlipRtl=!1,this.kind="brand",this.open=!1,this.scale="m",this.width="auto",this.calciteNoticeBeforeClose=(0,a.lh)({cancelable:!1}),this.calciteNoticeBeforeOpen=(0,a.lh)({cancelable:!1}),this.calciteNoticeClose=(0,a.lh)({cancelable:!1}),this.calciteNoticeOpen=(0,a.lh)({cancelable:!1})}static{this.properties={hasActionEnd:[16,{},{state:!0}],closable:[7,{},{reflect:!0,type:Boolean}],icon:[3,{converter:a.pf},{reflect:!0}],iconFlipRtl:[7,{},{reflect:!0,type:Boolean}],kind:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],open:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],width:[3,{},{reflect:!0}]}}static{this.styles=p}async setFocus(){await(0,s.c)(this);const t=this.el.querySelector("calcite-link");if(this.closeButton.value||t)return t?t.setFocus():void(this.closeButton.value&&this.closeButton.value.focus())}async load(){this.requestedIcon=(0,l.v)(r,this.icon,this.kind)}willUpdate(t){t.has("open")&&(this.hasUpdated||!1!==this.open)&&(0,d.o)(this),(t.has("icon")||t.has("kind")&&(this.hasUpdated||"brand"!==this.kind))&&(this.requestedIcon=(0,l.v)(r,this.icon,this.kind))}onBeforeClose(){this.calciteNoticeBeforeClose.emit()}onBeforeOpen(){this.calciteNoticeBeforeOpen.emit()}onClose(){this.calciteNoticeClose.emit()}onOpen(){this.calciteNoticeOpen.emit()}setTransitionEl(t){t&&(this.transitionEl=t)}close(){this.open=!1}handleActionsEndSlotChange(t){this.hasActionEnd=(0,l.a)(t)}render(){const t=n.qy`<button .ariaLabel=${this.messages.close} class=${(0,a.CP)("notice-close")} @click=${this.close} ${(0,c.K)(this.closeButton)}><calcite-icon icon=x .scale=${(0,s.g)(this.scale)}></calcite-icon></button>`;return n.qy`<div class=${(0,a.CP)("container")} ${(0,c.K)(this.setTransitionEl)}>${this.requestedIcon?n.qy`<div class=${(0,a.CP)("notice-icon")}><calcite-icon .flipRtl=${this.iconFlipRtl} .icon=${this.requestedIcon} .scale=${(0,s.g)(this.scale)}></calcite-icon></div>`:null}<div class=${(0,a.CP)("notice-content")}><slot name=${"title"}></slot><slot name=${"message"}></slot><slot name=${"link"}></slot></div><div class=${(0,a.CP)("actions-end")} .hidden=${!this.hasActionEnd}><slot name=${"actions-end"} @slotchange=${this.handleActionsEndSlotChange}></slot></div>${this.closable?t:null}</div>`}}(0,i.c)("calcite-notice",m)},70101:(t,e,o)=>{o.d(e,{o:()=>c});var i=o(79e3);function n(t){return t[t.openProp||"open"]}function c(t){requestAnimationFrame((()=>{t.transitionEl&&(0,i.w)(t.transitionEl,t.transitionProp,(()=>{n(t)?t.onBeforeOpen():t.onBeforeClose()}),(()=>{n(t)?t.onOpen():t.onClose()}))}))}}}]);
|