@esri/solutions-components 0.8.60 → 0.8.61
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
- package/dist/cjs/buffer-tools_3.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-alert_4.cjs.entry.js +4 -4
- package/dist/cjs/calcite-block_5.cjs.entry.js +4 -4
- package/dist/cjs/calcite-dropdown-group_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-flow_6.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +2 -2
- package/dist/cjs/card-manager_3.cjs.entry.js +24 -9
- package/dist/cjs/consent-manager.cjs.entry.js +2 -2
- package/dist/cjs/crowdsource-manager.cjs.entry.js +4 -12
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +2 -2
- package/dist/cjs/{downloadUtils-2e169425.js → downloadUtils-f4b01945.js} +2 -2
- package/dist/cjs/feature-list.cjs.entry.js +4 -4
- package/dist/cjs/{helpers-95c28cf3.js → helpers-0104985c.js} +1 -1
- package/dist/cjs/{index.es-301b8d18.js → index.es-08ff626f.js} +3 -3
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-create.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-export.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-header.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-popover.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-splash.cjs.entry.js +4 -4
- package/dist/cjs/{languageSwitcher-f0bb94fa.js → languageSwitcher-dc2dd354.js} +1 -1
- package/dist/cjs/{languageUtil-f22ce913.js → languageUtil-a3e1eafd.js} +1 -1
- package/dist/cjs/layout-manager.cjs.entry.js +2 -2
- package/dist/cjs/{loadModules-36d49819.js → loadModules-8567855e.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{locale-708985a1.js → locale-1d07e942.js} +2 -2
- package/dist/cjs/{locale-f6fd03d2.js → locale-31289fc5.js} +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +3 -3
- package/dist/cjs/{popupUtils-36e57a27.js → popupUtils-64405c62.js} +2 -2
- package/dist/cjs/public-notification.cjs.entry.js +3 -3
- package/dist/cjs/solution-configuration.cjs.entry.js +2 -2
- package/dist/cjs/solution-contents_3.cjs.entry.js +2 -2
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/cjs/spatial-ref.cjs.entry.js +2 -2
- package/dist/cjs/{utils-31a22d49.js → utils-0ab15745.js} +1 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +1 -11
- package/dist/collection/components/layer-table/layer-table.js +21 -6
- package/dist/components/crowdsource-manager.js +3 -12
- package/dist/components/layer-table2.js +21 -6
- package/dist/esm/basemap-gallery_7.entry.js +2 -2
- package/dist/esm/buffer-tools_3.entry.js +2 -2
- package/dist/esm/calcite-action-pad_2.entry.js +2 -2
- package/dist/esm/calcite-alert_4.entry.js +4 -4
- package/dist/esm/calcite-block_5.entry.js +4 -4
- package/dist/esm/calcite-dropdown-group_2.entry.js +2 -2
- package/dist/esm/calcite-flow_6.entry.js +2 -2
- package/dist/esm/calcite-shell-panel_14.entry.js +2 -2
- package/dist/esm/card-manager_3.entry.js +24 -9
- package/dist/esm/consent-manager.entry.js +2 -2
- package/dist/esm/crowdsource-manager.entry.js +4 -12
- package/dist/esm/crowdsource-reporter.entry.js +2 -2
- package/dist/esm/{downloadUtils-5fbd8a40.js → downloadUtils-408e0384.js} +2 -2
- package/dist/esm/feature-list.entry.js +4 -4
- package/dist/esm/{helpers-3d53560f.js → helpers-3407a4b6.js} +1 -1
- package/dist/esm/{index.es-66571353.js → index.es-cac1405b.js} +3 -3
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +5 -5
- package/dist/esm/instant-apps-control-panel.entry.js +2 -2
- package/dist/esm/instant-apps-create.entry.js +4 -4
- package/dist/esm/instant-apps-export.entry.js +4 -4
- package/dist/esm/instant-apps-header.entry.js +2 -2
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend.entry.js +5 -5
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +4 -4
- package/dist/esm/instant-apps-language-switcher.entry.js +6 -6
- package/dist/esm/instant-apps-language-translator.entry.js +6 -6
- package/dist/esm/instant-apps-measurement.entry.js +4 -4
- package/dist/esm/instant-apps-popover.entry.js +4 -4
- package/dist/esm/instant-apps-scoreboard.entry.js +4 -4
- package/dist/esm/instant-apps-sign-in.entry.js +4 -4
- package/dist/esm/instant-apps-splash.entry.js +4 -4
- package/dist/esm/{languageSwitcher-b665499d.js → languageSwitcher-9db90f1e.js} +1 -1
- package/dist/esm/{languageUtil-a3e6adf6.js → languageUtil-2b6e191a.js} +1 -1
- package/dist/esm/layout-manager.entry.js +2 -2
- package/dist/esm/{loadModules-9c062d08.js → loadModules-03ba7abe.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{locale-28d48640.js → locale-4adfc8cf.js} +1 -1
- package/dist/esm/{locale-b4e7d56f.js → locale-d66155ee.js} +2 -2
- package/dist/esm/map-select-tools_3.entry.js +3 -3
- package/dist/esm/{popupUtils-4a91aa2a.js → popupUtils-142f616a.js} +2 -2
- package/dist/esm/public-notification.entry.js +3 -3
- package/dist/esm/solution-configuration.entry.js +2 -2
- package/dist/esm/solution-contents_3.entry.js +2 -2
- package/dist/esm/solutions-components.js +1 -1
- package/dist/esm/spatial-ref.entry.js +2 -2
- package/dist/esm/{utils-5484fcbf.js → utils-efd425d4.js} +1 -1
- package/dist/solutions-components/p-03b07165.entry.js +6 -0
- package/dist/solutions-components/{p-9e3b0220.entry.js → p-0534b446.entry.js} +1 -1
- package/dist/solutions-components/{p-3e8562b5.entry.js → p-057f9296.entry.js} +1 -1
- package/dist/solutions-components/{p-ce4b6931.entry.js → p-09de2308.entry.js} +1 -1
- package/dist/solutions-components/{p-7696af8e.entry.js → p-120a2091.entry.js} +1 -1
- package/dist/solutions-components/{p-5cc6eb18.js → p-12f9f81d.js} +1 -1
- package/dist/solutions-components/{p-427b4593.js → p-1c64264d.js} +1 -1
- package/dist/solutions-components/{p-ccd1e256.entry.js → p-2671a80b.entry.js} +1 -1
- package/dist/solutions-components/{p-d2de2b2a.entry.js → p-2e2e975a.entry.js} +1 -1
- package/dist/solutions-components/{p-c742acd9.js → p-2fc63144.js} +1 -1
- package/dist/solutions-components/{p-969828ab.entry.js → p-30f0687e.entry.js} +1 -1
- package/dist/solutions-components/p-318eac43.entry.js +6 -0
- package/dist/solutions-components/{p-6e6e6d23.entry.js → p-3ec70ff5.entry.js} +1 -1
- package/dist/solutions-components/{p-bbc7dd5e.entry.js → p-4250f852.entry.js} +1 -1
- package/dist/solutions-components/{p-36e199e0.entry.js → p-4bfec58a.entry.js} +1 -1
- package/dist/solutions-components/{p-ae50581b.entry.js → p-4c8fdf0b.entry.js} +1 -1
- package/dist/solutions-components/{p-65581d83.js → p-4cd4cb85.js} +1 -1
- package/dist/solutions-components/{p-b7123452.entry.js → p-54562381.entry.js} +1 -1
- package/dist/solutions-components/{p-2d6d44b5.entry.js → p-6067b27a.entry.js} +1 -1
- package/dist/solutions-components/{p-986ee365.entry.js → p-62e5aea4.entry.js} +1 -1
- package/dist/solutions-components/{p-00291b93.js → p-67c3ac62.js} +2 -2
- package/dist/solutions-components/{p-c6fd40f9.entry.js → p-6e65d93b.entry.js} +1 -1
- package/dist/solutions-components/{p-bd871071.entry.js → p-6f4a40fa.entry.js} +1 -1
- package/dist/solutions-components/{p-d73b90ab.entry.js → p-7058b4fa.entry.js} +1 -1
- package/dist/solutions-components/{p-44fea43a.js → p-742b5af7.js} +1 -1
- package/dist/solutions-components/{p-0cd87dca.entry.js → p-7b9207e4.entry.js} +1 -1
- package/dist/solutions-components/{p-6c7a990a.entry.js → p-80e42752.entry.js} +1 -1
- package/dist/solutions-components/{p-b92e9047.entry.js → p-83640661.entry.js} +1 -1
- package/dist/solutions-components/{p-2467b476.entry.js → p-83fdb1d4.entry.js} +1 -1
- package/dist/solutions-components/{p-1c3c83a5.js → p-841863b8.js} +1 -1
- package/dist/solutions-components/{p-a8d62b7d.entry.js → p-967411c5.entry.js} +1 -1
- package/dist/solutions-components/{p-af2c8aa9.js → p-ac122d9e.js} +1 -1
- package/dist/solutions-components/{p-cb4842dd.entry.js → p-b0985f9d.entry.js} +1 -1
- package/dist/solutions-components/{p-dae9d5b3.entry.js → p-bc8b4f68.entry.js} +1 -1
- package/dist/solutions-components/{p-ffd41e25.js → p-c0bf1d9f.js} +3 -3
- package/dist/solutions-components/{p-bb7463ed.entry.js → p-d3a2d182.entry.js} +1 -1
- package/dist/solutions-components/{p-e80751f4.entry.js → p-d61bbc4c.entry.js} +1 -1
- package/dist/solutions-components/{p-2961c63c.entry.js → p-d72b4031.entry.js} +1 -1
- package/dist/solutions-components/{p-881ead62.entry.js → p-d783ae9a.entry.js} +1 -1
- package/dist/solutions-components/{p-61f88049.entry.js → p-ddd9d50f.entry.js} +1 -1
- package/dist/solutions-components/{p-295f850a.entry.js → p-df2fc967.entry.js} +1 -1
- package/dist/solutions-components/{p-1e6c6ec4.entry.js → p-e900ec51.entry.js} +1 -1
- package/dist/solutions-components/{p-df56c019.entry.js → p-ed71dfdc.entry.js} +1 -1
- package/dist/solutions-components/{p-219f209e.entry.js → p-ee62f91c.entry.js} +1 -1
- package/dist/solutions-components/{p-e8ed3fa6.entry.js → p-f629ed65.entry.js} +1 -1
- package/dist/solutions-components/{p-932d6f29.entry.js → p-faed40ad.entry.js} +1 -1
- package/dist/solutions-components/{p-91142a26.js → p-fea7535c.js} +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +0 -4
- package/package.json +1 -1
- package/dist/solutions-components/p-13404ad7.entry.js +0 -6
- package/dist/solutions-components/p-d300430b.entry.js +0 -6
- package/dist/solutions-components_commit.txt +0 -8
- /package/dist/cjs/{esri-loader-a56cbcbe.js → esri-loader-08dc41bd.js} +0 -0
- /package/dist/esm/{esri-loader-781d738a.js → esri-loader-c6842c6b.js} +0 -0
- /package/dist/solutions-components/{p-6a68306c.js → p-0a24ad5f.js} +0 -0
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as t,c as e,h as a,H as s,g as i}from"./p-fa1ceaf9.js";import{g as n}from"./p-
|
6
|
+
import{r as t,c as e,h as a,H as s,g as i}from"./p-fa1ceaf9.js";import{g as n}from"./p-ac122d9e.js";import{S as h}from"./p-a230b270.js";import{w as o}from"./p-04674a1e.js";import{g as r}from"./p-a42ff7fe.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const d={base:"instant-apps-header--standard",headerContainer:"instant-apps-header__header-container",headerContent:"instant-apps-header__header-content",flipRtl:"instant-apps-header--rtl",logoScale:"instant-apps-header__logo-scale--",logoHeight:"instant-apps-header__logo-height--",standardHeight:"instant-apps-header__standard-height",actionsEndContainer:"instant-apps-header__actions-end-container",alignment:{center:"instant-apps-header__header-content--center",right:"instant-apps-header__header-content--right"}},p=class{constructor(a){t(this,a),this.infoIsOpenChanged=e(this,"infoIsOpenChanged",6),this._sanitizer=new h({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.dir=void 0,this.titleText=void 0,this.titleTextLink=void 0,this.backgroundColor=void 0,this.textColor=void 0,this.logoImage=void 0,this.logoScale="m",this.logoImageAltText=void 0,this.logoLink=void 0,this.infoButton=!1,this.infoIsOpen=!1,this.infoTitleText=void 0,this.customHeaderHtml=void 0,this.headerAlignment="left",this.customHeaderCss=void 0,this.fontFamily="var(--calcite-sans-family);",this.mobileWidthBreakpoint=o.medium[1],this.initialScale="m"}sanitizeCustomHeaderHtml(){this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}componentWillLoad(){this.dir=n(this.el),this.handleMobileBreakpoints(),this.dir=n(this.el),this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}render(){var t,e,i,n;const h="undefined"===this.logoImage||"undefined"===(null===(e=null===(t=this.logoImage)||void 0===t?void 0:t.split("?"))||void 0===e?void 0:e[0])||""===(null===(n=null===(i=this.logoImage)||void 0===i?void 0:i.split("?"))||void 0===n?void 0:n[0])||!this.logoImage,o=this.renderLogo(h),p=this.renderTitle(),l="right"===this.headerAlignment||"center"===this.headerAlignment?d.headerContent.concat(" ",d.alignment[this.headerAlignment]):d.headerContent,c=r(this.fontFamily);return a(s,{key:"f93285efa9fe03f2cdedfe0e870f7cb44802e151"},this.customHeaderHtml?[a("style",null,this.customHeaderCss),a("div",{id:"customHeader",innerHTML:this.customHeaderHtml})]:a("header",{class:`${d.base}${"rtl"===this.dir?` ${d.flipRtl}`:""}${this.logoImage&&!h?` ${d.logoHeight}${this.logoScale}`:` ${d.standardHeight}`}`,style:{backgroundColor:this.backgroundColor,fontFamily:c}},a("div",{class:d.headerContainer},a("span",{class:l},o,p,this.infoButton?a("calcite-button",{style:{"--calcite-color-text-1":this.textColor},id:"infoButton",alignment:"start",appearance:"transparent",kind:"neutral","icon-start":"information-f",scale:"s",label:this.infoTitleText,title:this.infoTitleText,onClick:this.toggleInfo.bind(this)}):null),a("div",{class:d.actionsEndContainer},a("slot",{name:"actions-end"})))))}renderLogo(t){return t?"":this.logoImage&&this.logoLink?a("a",{href:`${this.logoLink}`,target:"_blank"},a("img",{class:`${d.logoScale}${this.logoScale}`,src:`${this.logoImage}`,alt:`${this.logoImageAltText}`})):this.logoImage?a("img",{class:`${d.logoScale}${this.logoScale}`,src:`${this.logoImage}`,alt:this.logoImageAltText}):""}renderTitle(){return this.titleText&&this.titleTextLink?a("a",{style:{color:this.textColor},href:`${this.titleTextLink}`,rel:"noopener noreferrer",target:"_blank"},a("h1",{style:{color:this.textColor}},this.titleText)):a("h1",{style:{color:this.textColor}},this.titleText)}toggleInfo(){this.infoIsOpen=!this.infoIsOpen,this.infoIsOpenChanged.emit(this.infoIsOpen)}mqlCallback(){return t=>{const{matches:e}=t;this.logoScale=e?"s":this.initialScale}}handleMobileBreakpoints(){this.initialScale=this.logoScale;const t=window.matchMedia(`(max-width: ${this.mobileWidthBreakpoint}px)`);t.matches&&(this.logoScale="s"),t.addEventListener("change",this.mqlCallback())}get el(){return i(this)}static get watchers(){return{customHeaderHtml:["sanitizeCustomHeaderHtml"]}}};p.style=":host{--instant-apps-header-height:auto;--instant-apps-header-min-height:50px;--instant-apps-header-title-text-link-decoration:underline;--instant-apps-header-height--logo-scale--s:55px;--instant-apps-header-logo-width--logo-scale--s:35px;--instant-apps-header-logo-height--logo-scale--s:35px;--instant-apps-header-height--logo-scale--m:70px;--instant-apps-header-logo-width--logo-scale--m:50px;--instant-apps-header-logo-height--logo-scale--m:50px;--instant-apps-header-height--logo-scale--l:80px;--instant-apps-header-logo-width--logo-scale--l:60px;--instant-apps-header-logo-height--logo-scale--l:60px;--instant-apps-header-actions-end-height:auto;width:100%}:host .image.image_resized img{width:100%}:host .instant-apps-header--standard{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;height:var(--instant-apps-header-height);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);font-family:var(--calcite-sans-family);min-height:var(--instant-apps-header-min-height)}:host .instant-apps-header--standard .instant-apps-header__header-container{display:flex;align-items:center;width:100%;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container slot{display:flex;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*) calcite-button{height:100%}:host .instant-apps-header--standard .instant-apps-header__header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .instant-apps-header--standard .instant-apps-header__header-content a{display:flex;align-items:center;-webkit-text-decoration:var(--instant-apps-header-title-text-link-decoration);text-decoration:var(--instant-apps-header-title-text-link-decoration)}:host .instant-apps-header--standard .instant-apps-header__header-content a img{padding-right:0}:host .instant-apps-header--standard .instant-apps-header__header-content img{margin:10px}:host .instant-apps-header--standard .instant-apps-header__header-content h1{margin:0;font-size:1.25rem;color:var(--calcite-color-text-1);font-weight:430;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .instant-apps-header--standard .instant-apps-header__header-content #infoButton{margin-inline-start:10px}:host .instant-apps-header--standard .instant-apps-header__header-content--center{justify-content:center}:host .instant-apps-header--standard .instant-apps-header__header-content--right{justify-content:end}:host .instant-apps-header__logo-height--s{height:var(--instant-apps-header-height--logo-scale--s)}:host .instant-apps-header__logo-height--s .instant-apps-header__header-content h1{font-size:1.125rem}:host .instant-apps-header__logo-scale--s{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .instant-apps-header__logo-height--m{height:var(--instant-apps-header-height--logo-scale--m)}:host .instant-apps-header__logo-scale--m{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .instant-apps-header__logo-height--l{height:var(--instant-apps-header-height--logo-scale--l)}:host .instant-apps-header__logo-height--l .instant-apps-header__header-content h1{font-size:1.375rem}:host .instant-apps-header__logo-scale--l{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .instant-apps-header__actions-end-container{height:var(--instant-apps-header-actions-end-height);display:flex}:host .instant-apps-header__sign-in-container{height:inherit;display:flex;align-items:center}:host .instant-apps-header__sign-in-container calcite-dropdown,:host .instant-apps-header__sign-in-container calcite-navigation-user{height:100%}:host .instant-apps-header__sign-in-container calcite-button{margin:0 10px}:host .instant-apps-header__sign-in-container calcite-dropdown-group{min-width:140px}";export{p as instant_apps_header}
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as e,c as t,h as a,H as i,g as c}from"./p-fa1ceaf9.js";import{g as o}from"./p-
|
6
|
+
import{r as e,c as t,h as a,H as i,g as c}from"./p-fa1ceaf9.js";import{g as o}from"./p-c0bf1d9f.js";import{E as n}from"./p-c1cf3ebc.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const r=class{constructor(a){e(this,a),this.layoutChanged=t(this,"layoutChanged",7),this._layoutMode=n.GRID,this._translations=void 0}async componentWillLoad(){await this._getTranslations()}render(){return a(i,{key:"10b8c1f7ee9503c4bd7cb1bbbd8b58cb5009336f"},a("div",{key:"39ae898c19e24746bfa5f7510006e368f37fe7d5",class:"display-flex"},a("div",{key:"0080f9562ab26665e26a8447e4484d76e4861f9f",class:"display-flex action-center"},a("calcite-icon",{key:"cc941eede331c518fe0944e2bf4b46b0c9799f0c",class:"icon icon-color",icon:"information",id:"app-information-icon",scale:"s"}),a("calcite-popover",{key:"d92ccbe95f58f15964fd8b5d0d1446216ef780a7",closable:!0,label:"",referenceElement:"app-information-icon"},a("span",{key:"37d306563b80589652c25809233063c60035397b",class:"tooltip-message"},this._translations.appInfo))),a("div",{key:"e33a33071990cd0edb32e1c76505ddcc834ae932",class:"header-text"},this._translations.layout),this._getAction("grid-background",n.GRID,this._translations.grid),this._getAction("vertical-background",n.VERTICAL,this._translations.vertical),this._getAction("horizontal-background",n.HORIZONTAL,this._translations.horizontal)))}_getAction(e,t,i){return a("div",null,a("calcite-action",{alignment:"center",appearance:"transparent",compact:!1,id:e,indicator:t===this._layoutMode,onClick:()=>{this._setLayoutMode(t)},text:""},a("div",{class:e+" img-background"})),a("calcite-tooltip",{label:"",placement:"bottom","reference-element":e},a("span",null,i)))}_setLayoutMode(e){this._layoutMode=e,this.layoutChanged.emit(this._layoutMode)}async _getTranslations(){const e=await o(this.el);this._translations=e[0]}get el(){return c(this)}};r.style=":host{display:block}.action-center{-webkit-box-align:center;-webkit-align-items:center;-ms-grid-row-align:center;align-items:center;align-content:center;justify-content:center}.display-flex{display:flex}.icon-color{--calcite-color-icon-color:var(--calcite-color-brand)}.icon{cursor:pointer}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}.header-text{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);padding-inline:0.75rem;padding-block:0.875rem;line-height:1.25rem}.img-background{background-repeat:no-repeat;background-size:100% 100%;width:38px;height:26px}.grid-background{background-image:url('../../assets/data/images/grid.png')}.horizontal-background{background-image:url('../../assets/data/images/horizontal.png')}.vertical-background{background-image:url('../../assets/data/images/vertical.png')}";export{r as layout_manager}
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as t,c as o,h as i,H as e,g as a}from"./p-fa1ceaf9.js";import{g as l}from"./p-
|
6
|
+
import{r as t,c as o,h as i,H as e,g as a}from"./p-fa1ceaf9.js";import{g as l}from"./p-1c64264d.js";import"./p-4cd4cb85.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const c=class{constructor(i){t(this,i),this.measureActive=o(this,"measureActive",7),this.messages=void 0,this.view=void 0,this.areaUnit=void 0,this.linearUnit=void 0,this.coordinateFormat=void 0,this.activeToolType=void 0,this.closable=!1}async componentWillLoad(){l(this)}componentDidLoad(){}render(){var t;return i(e,{key:"7a579ade6dca5d875e5dac86e1ef23778babd570"},i("calcite-panel",{key:"91593087bbf31b2ec252d802962e8ece7246c7d6",heading:null===(t=null==this?void 0:this.messages)||void 0===t?void 0:t.label,closable:this.closable},i("div",{key:"628cb313218c45b1375ab96d1d9b349f07d02a75"},this.renderActionPad()),this.renderMeasureToolPanel()))}renderMeasureToolPanel(){const{view:t,coordinateFormat:o,areaUnit:e,linearUnit:a,activeToolType:l}=this;return i("calcite-panel",{class:"instant-apps-measurement__content"},i("instant-apps-measurement-tool",{ref:t=>{this.measureTool=t},view:t,measureConfiguration:{coordinateFormat:o,areaUnit:e,linearUnit:a,activeToolType:l}}))}renderActionPad(){const{messages:t,activeToolType:o}=this;return i("calcite-action-pad",{"expand-disabled":!0,layout:"horizontal",position:"end"},i("calcite-action",{class:"distance"===o?"active-tool":"",text:null==t?void 0:t.line,icon:"measure",scale:"m","data-value":"distance",onClick:this._handleToolClick.bind(this)},i("calcite-tooltip",{"close-on-click":!0,placement:"bottom",slot:"tooltip"},null==t?void 0:t.line)),i("calcite-action",{class:"area"===o?"active-tool":"",text:null==t?void 0:t.area,scale:"m",icon:"measure-area","data-value":"area",onClick:this._handleToolClick.bind(this)},i("calcite-tooltip",{"close-on-click":!0,placement:"bottom",slot:"tooltip"},null==t?void 0:t.area)),i("calcite-action",{class:"point"===o?"active-tool":"",text:null==t?void 0:t.point,scale:"m",icon:"pin-plus","data-value":"point",onClick:this._handleToolClick.bind(this)},i("calcite-tooltip",{"close-on-click":!0,placement:"bottom",slot:"tooltip"},null==t?void 0:t.point)),i("calcite-action",{text:null==t?void 0:t.clear,scale:"m",icon:"trash","data-value":"clear",onClick:this._handleToolClick.bind(this)},i("calcite-tooltip",{"close-on-click":!0,placement:"bottom",slot:"tooltip"},null==t?void 0:t.clear)))}_handleToolClick(t){var o,i,e,a;if(!(null==this?void 0:this.measureTool))return;const l=null===(o=null==t?void 0:t.target)||void 0===o?void 0:o.dataset.value;this.measureTool.activeTool=l;const c=document.getElementsByClassName("active-tool");for(let t=0;t<(null==c?void 0:c.length);t++)null===(e=null===(i=c[t])||void 0===i?void 0:i.classList)||void 0===e||e.remove("active-tool");null===(a=null==t?void 0:t.target)||void 0===a||a.classList.add("active-tool"),this.measureActive.emit(void 0!==l&&"clear"!==l)}get el(){return a(this)}};c.style=".sc-instant-apps-measurement-h .sc-instant-apps-measurement.sc-instant-apps-measurement{background:var(--calcite-color-foreground-1)}.sc-instant-apps-measurement-h .active-tool.sc-instant-apps-measurement{--calcite-color-foreground-1:#c7eaff}";export{c as instant_apps_measurement}
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as a,c as t,h as n,H as s,F as e,g as i}from"./p-fa1ceaf9.js";import{g as r,a as l,s as o,E as c,b as p,l as g,c as u}from"./p-5cc6eb18.js";import{l as d}from"./p-65581d83.js";import{c as h}from"./p-427b4593.js";import{g as v,f as m}from"./p-c742acd9.js";import"./p-8c6d9b5a.js";import"./p-6a68306c.js";import"./p-d4056c1c.js";import"./p-af2c8aa9.js";const _="instant-apps-language-translator",b={BASE:_,header:`${_}__header`,headerText:`${_}__header-text`,savingIndicator:`${_}__saving-indicator`,closeButton:`${_}__close-button`,headerTip:`${_}__header-tip`,topBar:`${_}__top-bar`,topBarSection:`${_}__top-bar-section`,collapseSearchContainer:`${_}__collapse-search-container`,userLangText:`${_}__user-lang-text`,lastItem:`${_}--last-item`,writingIcon:`${_}__writing-icon`},f=class{constructor(n){a(this,n),this.translatorDataUpdated=t(this,"translatorDataUpdated",7),this.portalItem=void 0,this.appSettings=void 0,this.locales=void 0,this.open=!1,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0,this.saving=!1,this.messages=void 0,this.isCollapse=!0}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}handleLocaleChange(){this.initUIData(),this.initSelectLanguage()}handleAppSettings(){this.initUIData(),this.initSelectLanguage()}async componentDidLoad(){this.initialize()}async initialize(){const[a,t]=await d(["esri/intl","esri/request"]);this.intl=a,this.request=t,await this.initMessages(),this.initUIData(),this.initPortalItemResourceT9nData(),this.initSelectLanguage()}async initMessages(){try{const{el:a}=this,t=await r(a);return this.messages=t,Promise.resolve()}catch(a){return Promise.reject()}}initUIData(){const{appSettings:a,locales:t}=this,n=l(a,t);o.set("uiData",n)}initSelectLanguage(){var a,t;if(!this.intl)return;const{locales:n}=this,s=null!==(t=null===(a=null==n?void 0:n[0])||void 0===a?void 0:a.locale)&&void 0!==t?t:this.intl.getLocale(),e=o.get("currentLanguage");0===this.locales.filter((a=>a.locale===e)).length&&o.set("currentLanguage",s)}async initPortalItemResourceT9nData(){try{const a=await v(this.portalItem);o.set("portalItemResource",a);const t=await m(this.request,a);o.set("portalItemResourceT9n",null!=t?t:{})}catch(a){}}render(){return n(s,{key:"fc32ca4cd8da2d20de670b77e7e6e324fbe15e80"},this.renderModal(),this.renderPopoverTip())}renderModal(){return n("calcite-modal",{open:this.open,scale:"l",fullscreen:!0,onCalciteModalClose:this.close.bind(this)},this.renderHeader(),this.renderContent(),this.renderPrimaryButton())}renderPopoverTip(){var a;return n("calcite-popover",{label:"",referenceElement:"headerTip",placement:"trailing","auto-close":!0,closable:!0},n("div",{class:b.headerTip},null===(a=this.messages)||void 0===a?void 0:a.headerTip))}renderHeader(){const a=o.get("saving");return n("header",{class:b.header,slot:"header"},this.renderHeaderText(),a?this.renderSavingIndicator():null)}renderHeaderText(){const{messages:a}=this;return n("div",{class:b.headerText},n("span",null,null==a?void 0:a.header),n("calcite-button",{id:"headerTip",appearance:"transparent"},n("calcite-icon",{icon:c.Popover,scale:"s"})))}renderSavingIndicator(){var a;const t=o.get("saving"),s=null===(a=this.messages)||void 0===a?void 0:a.saving;return n("div",{class:b.savingIndicator},t?n("calcite-loader",{label:s,inline:!0}):null,n("span",null,s))}renderContent(){const a=p(this.locales);return n("div",{slot:"content"},this.renderTopBar(),(null==a?void 0:a.length)>0?this.renderUIData():this.renderNotice())}renderTopBar(){return n("div",{class:b.topBar},this.renderLeadingTopBarSection(),this.renderTrailingTopBarSection())}renderLeadingTopBarSection(){return n("div",{class:b.topBarSection},this.renderUserLocale(),this.renderCollapseSearchContainer())}renderUserLocale(){var a;const t=null===(a=this.messages)||void 0===a?void 0:a.languages,s=h(this.el);return n("div",{class:b.userLangText},null==t?void 0:t[s])}renderCollapseSearchContainer(){return n("div",{class:b.collapseSearchContainer},this.renderExpandCollapseButton(),this.renderSearch())}renderExpandCollapseButton(){const{isCollapse:a,messages:t}=this,s=a?null==t?void 0:t.collapseAll:null==t?void 0:t.expandAll;return n(e,null,n("slot",{name:"primary-custom-action"}),n("slot",{name:"secondary-custom-action"}),n("calcite-button",{onClick:this.handleExpandCollapseAll.bind(this),appearance:"transparent","icon-start":c.ExpandCollapse},s))}renderSearch(){var a;return n("instant-apps-language-translator-search",{onSuggestionSelected:this.onSuggestionSelect.bind(this),t9nPlaceholder:null===(a=this.messages)||void 0===a?void 0:a.searchPlaceholder})}renderTrailingTopBarSection(){return n("div",{class:b.topBarSection},this.renderLanguageSelection(),n("slot",{name:"translation-custom-action"}))}renderLanguageSelection(){var a;return n("calcite-label",{layout:"inline"},null===(a=this.messages)||void 0===a?void 0:a.translatedLanguage,n("calcite-select",{label:"",onCalciteSelectChange:this.handleLanguageSelection.bind(this)},this.renderTranslatedLangOptions()))}renderTranslatedLangOptions(){const a=o.get("uiData"),t=null==a?void 0:a.get("locales"),s=p(t);return null==s?void 0:s.map((a=>{const{messages:t}=this,s=null==t?void 0:t.translatedLanguageNames,e=null==t?void 0:t.languages;return n("calcite-option",{key:`translated-lang-option-${a}`,value:a},`${null==s?void 0:s[a]} - ${null==e?void 0:e[a]}`)}))}renderUIData(){if(!(null==g?void 0:g.uiData))return;const a=u();return n("div",null,null==a?void 0:a.map(((t,n)=>this.renderUIDataItem(t,n,a.length))))}renderNotice(){var a;const t=null===(a=this.messages)||void 0===a?void 0:a.noLanguage;return n("calcite-notice",{open:!0,icon:"exclamation-mark-triangle",kind:"warning"},n("div",{slot:"title"},null==t?void 0:t.title),n("div",{slot:"message"},null==t?void 0:t.message))}renderUIDataItem(a,t,s){var e,i;const r=null===(i=null===(e=this.appSettings)||void 0===e?void 0:e.translatedLanguageLabels)||void 0===i?void 0:i[g.currentLanguage],l=`${t===s-1?b.lastItem:""}`,o=this.appSettings.content.filter((t=>t.id===a))[0];return n("instant-apps-language-translator-item",{key:`${a}-${t}`,class:l,fieldName:a,translatedLanguageLabels:r,setting:o,userLocaleInputOnChangeCallback:this.userLocaleInputOnChangeCallback,translatedLocaleInputOnChangeCallback:this.translatedLocaleInputOnChangeCallback})}renderPrimaryButton(){var a;return n("calcite-button",{onClick:()=>this.open=!1,slot:"primary",class:b.closeButton},null===(a=this.messages)||void 0===a?void 0:a.close)}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;const a=new Map(g.uiData);u().forEach((t=>a.get(t).expanded=this.isCollapse)),o.set("uiData",a)}onSuggestionSelect(a){const t=a.detail,n=new Map(g.uiData);u().forEach((a=>{n.get(a).selected=a===t})),o.set("uiData",n)}close(){this.open=!1}handleLanguageSelection(a){o.set("currentLanguage",a.target.value)}async getTranslationData(){return o.get("portalItemResourceT9n")}async setTranslationData(a){return o.set("portalItemResourceT9n",a)}async getPortalItemResource(){return o.get("portalItemResource")}async batchWriteToPortalItemResource(a){o.set("saving",!0);try{const t=await this.getPortalItemResource(),n=JSON.stringify(a),s=new Blob([n],{type:"application/json"});return await t.update(s),setTimeout((()=>o.set("saving",!1)),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(a){return console.error("Error writing to portal item resource: ",a),o.set("saving",!1),Promise.reject()}}get el(){return i(this)}static get watchers(){return{locales:["handleLocaleChange"],appSettings:["handleAppSettings"]}}};f.style=".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:0;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}";export{f as instant_apps_language_translator}
|
6
|
+
import{r as a,c as t,h as n,H as s,F as e,g as i}from"./p-fa1ceaf9.js";import{g as r,a as l,s as o,E as c,b as p,l as g,c as u}from"./p-12f9f81d.js";import{l as d}from"./p-4cd4cb85.js";import{c as h}from"./p-1c64264d.js";import{g as v,f as m}from"./p-2fc63144.js";import"./p-8c6d9b5a.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const _="instant-apps-language-translator",b={BASE:_,header:`${_}__header`,headerText:`${_}__header-text`,savingIndicator:`${_}__saving-indicator`,closeButton:`${_}__close-button`,headerTip:`${_}__header-tip`,topBar:`${_}__top-bar`,topBarSection:`${_}__top-bar-section`,collapseSearchContainer:`${_}__collapse-search-container`,userLangText:`${_}__user-lang-text`,lastItem:`${_}--last-item`,writingIcon:`${_}__writing-icon`},f=class{constructor(n){a(this,n),this.translatorDataUpdated=t(this,"translatorDataUpdated",7),this.portalItem=void 0,this.appSettings=void 0,this.locales=void 0,this.open=!1,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0,this.saving=!1,this.messages=void 0,this.isCollapse=!0}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}handleLocaleChange(){this.initUIData(),this.initSelectLanguage()}handleAppSettings(){this.initUIData(),this.initSelectLanguage()}async componentDidLoad(){this.initialize()}async initialize(){const[a,t]=await d(["esri/intl","esri/request"]);this.intl=a,this.request=t,await this.initMessages(),this.initUIData(),this.initPortalItemResourceT9nData(),this.initSelectLanguage()}async initMessages(){try{const{el:a}=this,t=await r(a);return this.messages=t,Promise.resolve()}catch(a){return Promise.reject()}}initUIData(){const{appSettings:a,locales:t}=this,n=l(a,t);o.set("uiData",n)}initSelectLanguage(){var a,t;if(!this.intl)return;const{locales:n}=this,s=null!==(t=null===(a=null==n?void 0:n[0])||void 0===a?void 0:a.locale)&&void 0!==t?t:this.intl.getLocale(),e=o.get("currentLanguage");0===this.locales.filter((a=>a.locale===e)).length&&o.set("currentLanguage",s)}async initPortalItemResourceT9nData(){try{const a=await v(this.portalItem);o.set("portalItemResource",a);const t=await m(this.request,a);o.set("portalItemResourceT9n",null!=t?t:{})}catch(a){}}render(){return n(s,{key:"fc32ca4cd8da2d20de670b77e7e6e324fbe15e80"},this.renderModal(),this.renderPopoverTip())}renderModal(){return n("calcite-modal",{open:this.open,scale:"l",fullscreen:!0,onCalciteModalClose:this.close.bind(this)},this.renderHeader(),this.renderContent(),this.renderPrimaryButton())}renderPopoverTip(){var a;return n("calcite-popover",{label:"",referenceElement:"headerTip",placement:"trailing","auto-close":!0,closable:!0},n("div",{class:b.headerTip},null===(a=this.messages)||void 0===a?void 0:a.headerTip))}renderHeader(){const a=o.get("saving");return n("header",{class:b.header,slot:"header"},this.renderHeaderText(),a?this.renderSavingIndicator():null)}renderHeaderText(){const{messages:a}=this;return n("div",{class:b.headerText},n("span",null,null==a?void 0:a.header),n("calcite-button",{id:"headerTip",appearance:"transparent"},n("calcite-icon",{icon:c.Popover,scale:"s"})))}renderSavingIndicator(){var a;const t=o.get("saving"),s=null===(a=this.messages)||void 0===a?void 0:a.saving;return n("div",{class:b.savingIndicator},t?n("calcite-loader",{label:s,inline:!0}):null,n("span",null,s))}renderContent(){const a=p(this.locales);return n("div",{slot:"content"},this.renderTopBar(),(null==a?void 0:a.length)>0?this.renderUIData():this.renderNotice())}renderTopBar(){return n("div",{class:b.topBar},this.renderLeadingTopBarSection(),this.renderTrailingTopBarSection())}renderLeadingTopBarSection(){return n("div",{class:b.topBarSection},this.renderUserLocale(),this.renderCollapseSearchContainer())}renderUserLocale(){var a;const t=null===(a=this.messages)||void 0===a?void 0:a.languages,s=h(this.el);return n("div",{class:b.userLangText},null==t?void 0:t[s])}renderCollapseSearchContainer(){return n("div",{class:b.collapseSearchContainer},this.renderExpandCollapseButton(),this.renderSearch())}renderExpandCollapseButton(){const{isCollapse:a,messages:t}=this,s=a?null==t?void 0:t.collapseAll:null==t?void 0:t.expandAll;return n(e,null,n("slot",{name:"primary-custom-action"}),n("slot",{name:"secondary-custom-action"}),n("calcite-button",{onClick:this.handleExpandCollapseAll.bind(this),appearance:"transparent","icon-start":c.ExpandCollapse},s))}renderSearch(){var a;return n("instant-apps-language-translator-search",{onSuggestionSelected:this.onSuggestionSelect.bind(this),t9nPlaceholder:null===(a=this.messages)||void 0===a?void 0:a.searchPlaceholder})}renderTrailingTopBarSection(){return n("div",{class:b.topBarSection},this.renderLanguageSelection(),n("slot",{name:"translation-custom-action"}))}renderLanguageSelection(){var a;return n("calcite-label",{layout:"inline"},null===(a=this.messages)||void 0===a?void 0:a.translatedLanguage,n("calcite-select",{label:"",onCalciteSelectChange:this.handleLanguageSelection.bind(this)},this.renderTranslatedLangOptions()))}renderTranslatedLangOptions(){const a=o.get("uiData"),t=null==a?void 0:a.get("locales"),s=p(t);return null==s?void 0:s.map((a=>{const{messages:t}=this,s=null==t?void 0:t.translatedLanguageNames,e=null==t?void 0:t.languages;return n("calcite-option",{key:`translated-lang-option-${a}`,value:a},`${null==s?void 0:s[a]} - ${null==e?void 0:e[a]}`)}))}renderUIData(){if(!(null==g?void 0:g.uiData))return;const a=u();return n("div",null,null==a?void 0:a.map(((t,n)=>this.renderUIDataItem(t,n,a.length))))}renderNotice(){var a;const t=null===(a=this.messages)||void 0===a?void 0:a.noLanguage;return n("calcite-notice",{open:!0,icon:"exclamation-mark-triangle",kind:"warning"},n("div",{slot:"title"},null==t?void 0:t.title),n("div",{slot:"message"},null==t?void 0:t.message))}renderUIDataItem(a,t,s){var e,i;const r=null===(i=null===(e=this.appSettings)||void 0===e?void 0:e.translatedLanguageLabels)||void 0===i?void 0:i[g.currentLanguage],l=`${t===s-1?b.lastItem:""}`,o=this.appSettings.content.filter((t=>t.id===a))[0];return n("instant-apps-language-translator-item",{key:`${a}-${t}`,class:l,fieldName:a,translatedLanguageLabels:r,setting:o,userLocaleInputOnChangeCallback:this.userLocaleInputOnChangeCallback,translatedLocaleInputOnChangeCallback:this.translatedLocaleInputOnChangeCallback})}renderPrimaryButton(){var a;return n("calcite-button",{onClick:()=>this.open=!1,slot:"primary",class:b.closeButton},null===(a=this.messages)||void 0===a?void 0:a.close)}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;const a=new Map(g.uiData);u().forEach((t=>a.get(t).expanded=this.isCollapse)),o.set("uiData",a)}onSuggestionSelect(a){const t=a.detail,n=new Map(g.uiData);u().forEach((a=>{n.get(a).selected=a===t})),o.set("uiData",n)}close(){this.open=!1}handleLanguageSelection(a){o.set("currentLanguage",a.target.value)}async getTranslationData(){return o.get("portalItemResourceT9n")}async setTranslationData(a){return o.set("portalItemResourceT9n",a)}async getPortalItemResource(){return o.get("portalItemResource")}async batchWriteToPortalItemResource(a){o.set("saving",!0);try{const t=await this.getPortalItemResource(),n=JSON.stringify(a),s=new Blob([n],{type:"application/json"});return await t.update(s),setTimeout((()=>o.set("saving",!1)),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(a){return console.error("Error writing to portal item resource: ",a),o.set("saving",!1),Promise.reject()}}get el(){return i(this)}static get watchers(){return{locales:["handleLocaleChange"],appSettings:["handleAppSettings"]}}};f.style=".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:0;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}";export{f as instant_apps_language_translator}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as a,c as x,h as e,H as t,g as n}from"./p-fa1ceaf9.js";import{g as m}from"./p-
|
6
|
+
import{r as a,c as x,h as e,H as t,g as n}from"./p-fa1ceaf9.js";import{g as m}from"./p-c0bf1d9f.js";import{n as l}from"./p-eed41e1a.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-3d7cff5e.js";import"./p-a230b270.js";import"./p-c1cf3ebc.js";
|
7
7
|
/** @license
|
8
8
|
* Copyright 2022 Esri
|
9
9
|
*
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as t,c as i,h as s,g as e}from"./p-fa1ceaf9.js";import{l as a,g as h}from"./p-
|
6
|
+
import{r as t,c as i,h as s,g as e}from"./p-fa1ceaf9.js";import{l as a,g as h}from"./p-c0bf1d9f.js";import{P as c}from"./p-742b5af7.js";import{g as n,c as o,h as l}from"./p-996c1ac5.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-67c3ac62.js";import"./p-3d7cff5e.js";import"./p-a230b270.js";import"./p-a0300d31.js";import"./p-c1cf3ebc.js";const r=class{constructor(s){t(this,s),this.featureSelect=i(this,"featureSelect",7),this.selectedLayerId=void 0,this.mapView=void 0,this.noFeaturesFoundMsg=void 0,this.pageSize=100,this.highlightOnMap=!1,this.highlightOnHover=!1,this.sortingInfo=void 0,this.whereClause=void 0,this.textSize="large",this.showInitialLoading=!0,this.showErrorWhenNoFeatures=!0,this._featureItems=[],this._featuresCount=0,this._isLoading=!1,this._translations=void 0}async selectedLayerWatchHandler(){this._selectedLayer=await n(this.mapView,this.selectedLayerId),await this.initializeFeatureItems()}async sortingInfoWatchHandler(){await this.initializeFeatureItems()}async whereClauseHandler(){await this.initializeFeatureItems()}async refresh(){await this.initializeFeatureItems()}async componentWillLoad(){await this.initModules(),await this._getTranslations(),this._isLoading=this.showInitialLoading,this._popupUtils=new c,this.mapView&&this.selectedLayerId&&(this._selectedLayer=await n(this.mapView,this.selectedLayerId))}async componentDidLoad(){await this.initializeFeatureItems()}render(){return s("calcite-panel",{key:"3d7b707a73bb6c4d566515e50cf2baa155e60816","full-height":!0,"full-width":!0},this._isLoading&&s("calcite-loader",{key:"50294111fb6c1e52e727b03e54ca83fc498ca3b9",label:"",scale:"m"}),this.showErrorWhenNoFeatures&&0===this._featureItems.length&&!this._isLoading&&s("calcite-notice",{key:"8dd48fc33e2a9825a95b0d0d50424baf431fed55",class:"error-msg",icon:"feature-details",kind:"info",open:!0},s("div",{key:"6ff0dc700cdf40fe6929a9777bca8ebc6325f1ed",slot:"message"},this.noFeaturesFoundMsg?this.noFeaturesFoundMsg:this._translations.featureErrorMsg)),s("calcite-list",{key:"2412a7b41ab87bfee803460bdea0395ca609d55a","selection-appearance":"border","selection-mode":"none"},!this._isLoading&&this._featureItems.length>0&&this._featureItems),this._featuresCount>this.pageSize&&s("div",{key:"4216b02c264cf88472082f1c6f3cd466bd77d166",class:"width-full",slot:"footer"},s("calcite-pagination",{key:"2bb39768d0fbd0d863b075b0e2e6b750c5f7c2a1",class:"pagination","full-width":!0,onCalcitePaginationChange:this.pageChanged.bind(this),"page-size":this.pageSize,ref:t=>this._pagination=t,"start-item":"1","total-items":this._featuresCount})))}async initModules(){const[t]=await a(["esri/Color"]);this.Color=t}getWhereCondition(){var t;let i="1=1";return this.whereClause&&(i=this.whereClause),(null===(t=this._selectedLayer)||void 0===t?void 0:t.definitionExpression)&&(i=i+" AND "+this._selectedLayer.definitionExpression),i}async initializeFeatureItems(){var t;if(this._selectedLayer){null===(t=this._pagination)||void 0===t||t.goTo("start"),this._isLoading=this.showInitialLoading,this._featureItems=await this.queryPage(0);const i={where:this.getWhereCondition()};this._featuresCount=await this._selectedLayer.queryFeatureCount(i),this._isLoading=!1}}async pageChanged(t){this._isLoading=!0,this._highlightHandle&&(this._highlightHandle.remove(),this._highlightHandle=null);const i=t.target.startItem-1;this._featureItems=await this.queryPage(i),this._isLoading=!1}async featureClicked(t,i){if(this.clearHighlights(),this.highlightOnMap){const i=Number(t.target.value),s=await o(this.mapView,this.selectedLayerId);this._highlightHandle=await l([i],s,this.mapView,!0)}await this.emitSelectedFeature(i)}async emitSelectedFeature(t){const i=t.layer,s=i.createQuery();s.returnGeometry=!0,s.objectIds=[t.getObjectId()];const e=await i.queryFeatures(s);this.featureSelect.emit(e.features[0])}async onFeatureHover(t){if(this.clearHighlights(),this.highlightOnHover){const i=t.getObjectId(),s=await o(this.mapView,this.selectedLayerId);s.highlightOptions={color:new this.Color("#FFFF00")},this._highlightHandle=s.highlight([i])}}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}async queryPage(t){var i,s;const e=this._selectedLayer,a=(null===(i=this.sortingInfo)||void 0===i?void 0:i.field)?this.sortingInfo.field:e.objectIdField,h=(null===(s=this.sortingInfo)||void 0===s?void 0:s.order)?this.sortingInfo.order:"desc",c={start:t,num:this.pageSize,outFields:["*"],returnGeometry:!0,where:this.getWhereCondition(),outSpatialReference:this.mapView.spatialReference.toJSON()};a&&h&&(c.orderByFields=[a.toString()+" "+h]);const n=await e.queryFeatures(c);return await this.createFeatureItem(n)}async createFeatureItem(t){const i=(null==t?void 0:t.features).map((async t=>{const i=await this._popupUtils.getPopupTitle(t,this.mapView.map);return this.getFeatureItem(t,i)}));return Promise.all(i)}getFeatureItem(t,i){const e=t.attributes[this._selectedLayer.objectIdField].toString();return s("calcite-list-item",{onCalciteListItemSelect:i=>{this.featureClicked(i,t)},onMouseLeave:()=>{this.clearHighlights()},onMouseOver:()=>{this.onFeatureHover(t)},value:e},s("div",{class:"small"===this.textSize?"feature-list-popup-title-small":"feature-list-popup-title",slot:"content-start"},i=null!=i?i:e),s("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:"s",slot:"content-end"}))}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}get el(){return e(this)}static get watchers(){return{selectedLayerId:["selectedLayerWatchHandler"],sortingInfo:["sortingInfoWatchHandler"],whereClause:["whereClauseHandler"]}}};r.style=":host{display:block}.width-full{width:100%}.pagination{display:flex;justify-content:center}.error-msg{padding:10px;width:calc(100% - 20px)}.feature-list-popup-title{font-weight:500;padding:10px 12px;white-space:pre-line}.feature-list-popup-title-small{font-size:small;padding:10px 12px;white-space:pre-line}";export{r as feature_list}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{c as t,g as r}from"./p-d4056c1c.js";import{b as i}from"./p-00291b93.js";import"./p-fa1ceaf9.js";import"./p-ffd41e25.js";import"./p-6a68306c.js";import"./p-996c1ac5.js";import"./p-c1cf3ebc.js";import"./p-3d7cff5e.js";import"./p-a230b270.js";import"./p-a0300d31.js";var e=function(t){return t&&t.Math==Math&&t},n=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof t&&t)||function(){return this}()||Function("return this")(),s={},a=function(t){try{return!!t()}catch(t){return!0}},o=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),h=!a((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),u=Function.prototype.call,c=h?u.bind(u):function(){return u.apply(u,arguments)},f={},l={}.propertyIsEnumerable,v=Object.getOwnPropertyDescriptor,d=v&&!l.call({1:2},1);f.f=d?function(t){var r=v(this,t);return!!r&&r.enumerable}:l;var p,y,g=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},m=h,b=Function.prototype,w=b.call,x=m&&b.bind.bind(w,w),M=m?x:function(t){return function(){return w.apply(t,arguments)}},k=M,S=k({}.toString),N=k("".slice),j=function(t){return N(S(t),8,-1)},P=a,O=j,E=Object,T=M("".split),C=P((function(){return!E("z").propertyIsEnumerable(0)}))?function(t){return"String"==O(t)?T(t,""):E(t)}:E,A=function(t){return null==t},R=A,B=TypeError,L=function(t){if(R(t))throw B("Can't call method on "+t);return t},$=C,I=L,D=function(t){return $(I(t))},F="object"==typeof document&&document.all,z={all:F,IS_HTMLDDA:void 0===F&&void 0!==F},_=z.all,Y=z.IS_HTMLDDA?function(t){return"function"==typeof t||t===_}:function(t){return"function"==typeof t},X=Y,q=z.all,G=z.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:X(t)||t===q}:function(t){return"object"==typeof t?null!==t:X(t)},U=n,V=Y,H=function(t,r){return arguments.length<2?V(i=U[t])?i:void 0:U[t]&&U[t][r];var i},W=M({}.isPrototypeOf),Q="undefined"!=typeof navigator&&String(navigator.userAgent)||"",Z=Q,K=n.process,J=n.Deno,tt=K&&K.versions||J&&J.version,rt=tt&&tt.v8;rt&&(y=(p=rt.split("."))[0]>0&&p[0]<4?1:+(p[0]+p[1])),!y&&Z&&(!(p=Z.match(/Edge\/(\d+)/))||p[1]>=74)&&(p=Z.match(/Chrome\/(\d+)/))&&(y=+p[1]);var it=y,et=it,nt=!!Object.getOwnPropertySymbols&&!a((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&et&&et<41})),st=nt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,at=H,ot=Y,ht=W,ut=Object,ct=st?function(t){return"symbol"==typeof t}:function(t){var r=at("Symbol");return ot(r)&&ht(r.prototype,ut(t))},ft=String,lt=function(t){try{return ft(t)}catch(t){return"Object"}},vt=Y,dt=lt,pt=TypeError,yt=function(t){if(vt(t))return t;throw pt(dt(t)+" is not a function")},gt=yt,mt=A,bt=function(t,r){var i=t[r];return mt(i)?void 0:gt(i)},wt=c,xt=Y,Mt=G,kt=TypeError,St={exports:{}},Nt=n,jt=Object.defineProperty,Pt=function(t,r){try{jt(Nt,t,{value:r,configurable:!0,writable:!0})}catch(i){Nt[t]=r}return r},Ot="__core-js_shared__",Et=n[Ot]||Pt(Ot,{}),Tt=Et;(St.exports=function(t,r){return Tt[t]||(Tt[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.27.2",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.2/LICENSE",source:"https://github.com/zloirock/core-js"});var Ct=L,At=Object,Rt=function(t){return At(Ct(t))},Bt=Rt,Lt=M({}.hasOwnProperty),$t=Object.hasOwn||function(t,r){return Lt(Bt(t),r)},It=M,Dt=0,Ft=Math.random(),zt=It(1..toString),_t=function(t){return"Symbol("+(void 0===t?"":t)+")_"+zt(++Dt+Ft,36)},Yt=$t,Xt=_t,qt=nt,Gt=st,Ut=n.Symbol,Vt=(0,St.exports)("wks"),Ht=Gt?Ut.for||Ut:Ut&&Ut.withoutSetter||Xt,Wt=function(t){return Yt(Vt,t)||(Vt[t]=qt&&Yt(Ut,t)?Ut[t]:Ht("Symbol."+t)),Vt[t]},Qt=c,Zt=G,Kt=ct,Jt=bt,tr=TypeError,rr=Wt("toPrimitive"),ir=function(t,r){if(!Zt(t)||Kt(t))return t;var i,e=Jt(t,rr);if(e){if(void 0===r&&(r="default"),i=Qt(e,t,r),!Zt(i)||Kt(i))return i;throw tr("Can't convert object to primitive value")}return void 0===r&&(r="number"),function(t,r){var i,e;if("string"===r&&xt(i=t.toString)&&!Mt(e=wt(i,t)))return e;if(xt(i=t.valueOf)&&!Mt(e=wt(i,t)))return e;if("string"!==r&&xt(i=t.toString)&&!Mt(e=wt(i,t)))return e;throw kt("Can't convert object to primitive value")}(t,r)},er=ct,nr=function(t){var r=ir(t,"string");return er(r)?r:r+""},sr=G,ar=n.document,or=sr(ar)&&sr(ar.createElement),hr=function(t){return or?ar.createElement(t):{}},ur=hr,cr=!o&&!a((function(){return 7!=Object.defineProperty(ur("div"),"a",{get:function(){return 7}}).a})),fr=c,lr=f,vr=g,dr=D,pr=nr,yr=$t,gr=cr,mr=Object.getOwnPropertyDescriptor;s.f=o?mr:function(t,r){if(t=dr(t),r=pr(r),gr)try{return mr(t,r)}catch(t){}if(yr(t,r))return vr(!fr(lr.f,t,r),t[r])};var br={},wr=o&&a((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),xr=G,Mr=String,kr=TypeError,Sr=function(t){if(xr(t))return t;throw kr(Mr(t)+" is not an object")},Nr=cr,jr=Sr,Pr=nr,Or=TypeError,Er=Object.defineProperty,Tr=Object.getOwnPropertyDescriptor,Cr="enumerable",Ar="configurable",Rr="writable";br.f=o?wr?function(t,r,i){if(jr(t),r=Pr(r),jr(i),"function"==typeof t&&"prototype"===r&&"value"in i&&Rr in i&&!i[Rr]){var e=Tr(t,r);e&&e[Rr]&&(t[r]=i.value,i={configurable:Ar in i?i[Ar]:e[Ar],enumerable:Cr in i?i[Cr]:e[Cr],writable:!1})}return Er(t,r,i)}:Er:function(t,r,i){if(jr(t),r=Pr(r),jr(i),Nr)try{return Er(t,r,i)}catch(t){}if("get"in i||"set"in i)throw Or("Accessors not supported");return"value"in i&&(t[r]=i.value),t};var Br=br,Lr=g,$r=o?function(t,r,i){return Br.f(t,r,Lr(1,i))}:function(t,r,i){return t[r]=i,t},Ir={exports:{}},Dr=o,Fr=Function.prototype,zr=Dr&&Object.getOwnPropertyDescriptor,_r=$t(Fr,"name"),Yr={EXISTS:_r,PROPER:_r&&"something"===function(){}.name,CONFIGURABLE:_r&&(!Dr||Dr&&zr(Fr,"name").configurable)},Xr=Y,qr=Et,Gr=M(Function.toString);Xr(qr.inspectSource)||(qr.inspectSource=function(t){return Gr(t)});var Ur,Vr,Hr,Wr=qr.inspectSource,Qr=n.WeakMap,Zr=Y(Qr)&&/native code/.test(String(Qr)),Kr=_t,Jr=(0,St.exports)("keys"),ti=function(t){return Jr[t]||(Jr[t]=Kr(t))},ri={},ii=G,ei=$r,ni=$t,si=ti,ai=ri,oi="Object already initialized",hi=n.TypeError;if(Zr||Et.state){var ui=Et.state||(Et.state=new(0,n.WeakMap));ui.get=ui.get,ui.has=ui.has,ui.set=ui.set,Ur=function(t,r){if(ui.has(t))throw hi(oi);return r.facade=t,ui.set(t,r),r},Vr=function(t){return ui.get(t)||{}},Hr=function(t){return ui.has(t)}}else{var ci=si("state");ai[ci]=!0,Ur=function(t,r){if(ni(t,ci))throw hi(oi);return r.facade=t,ei(t,ci,r),r},Vr=function(t){return ni(t,ci)?t[ci]:{}},Hr=function(t){return ni(t,ci)}}var fi={set:Ur,get:Vr,has:Hr,enforce:function(t){return Hr(t)?Vr(t):Ur(t,{})},getterFor:function(t){return function(r){var i;if(!ii(r)||(i=Vr(r)).type!==t)throw hi("Incompatible receiver, "+t+" required");return i}}},li=M,vi=a,di=Y,pi=$t,yi=o,gi=Yr.CONFIGURABLE,mi=Wr,bi=fi.enforce,wi=fi.get,xi=String,Mi=Object.defineProperty,ki=li("".slice),Si=li("".replace),Ni=li([].join),ji=yi&&!vi((function(){return 8!==Mi((function(){}),"length",{value:8}).length})),Pi=String(String).split("String"),Oi=Ir.exports=function(t,r,i){"Symbol("===ki(xi(r),0,7)&&(r="["+Si(xi(r),/^Symbol\(([^)]*)\)/,"$1")+"]"),i&&i.getter&&(r="get "+r),i&&i.setter&&(r="set "+r),(!pi(t,"name")||gi&&t.name!==r)&&(yi?Mi(t,"name",{value:r,configurable:!0}):t.name=r),ji&&i&&pi(i,"arity")&&t.length!==i.arity&&Mi(t,"length",{value:i.arity});try{i&&pi(i,"constructor")&&i.constructor?yi&&Mi(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var e=bi(t);return pi(e,"source")||(e.source=Ni(Pi,"string"==typeof r?r:"")),t};Function.prototype.toString=Oi((function(){return di(this)&&wi(this).source||mi(this)}),"toString");var Ei=Y,Ti=br,Ci=Ir.exports,Ai=Pt,Ri=function(t,r,i,e){e||(e={});var n=e.enumerable,s=void 0!==e.name?e.name:r;if(Ei(i)&&Ci(i,s,e),e.global)n?t[r]=i:Ai(r,i);else{try{e.unsafe?t[r]&&(n=!0):delete t[r]}catch(t){}n?t[r]=i:Ti.f(t,r,{value:i,enumerable:!1,configurable:!e.nonConfigurable,writable:!e.nonWritable})}return t},Bi={},Li=Math.ceil,$i=Math.floor,Ii=Math.trunc||function(t){var r=+t;return(r>0?$i:Li)(r)},Di=Ii,Fi=function(t){var r=+t;return r!=r||0===r?0:Di(r)},zi=Fi,_i=Math.max,Yi=Math.min,Xi=function(t,r){var i=zi(t);return i<0?_i(i+r,0):Yi(i,r)},qi=Fi,Gi=Math.min,Ui=function(t){return t>0?Gi(qi(t),9007199254740991):0},Vi=Ui,Hi=function(t){return Vi(t.length)},Wi=D,Qi=Xi,Zi=Hi,Ki=function(t){return function(r,i,e){var n,s=Wi(r),a=Zi(s),o=Qi(e,a);if(t&&i!=i){for(;a>o;)if((n=s[o++])!=n)return!0}else for(;a>o;o++)if((t||o in s)&&s[o]===i)return t||o||0;return!t&&-1}},Ji={includes:Ki(!0),indexOf:Ki(!1)},te=$t,re=D,ie=Ji.indexOf,ee=ri,ne=M([].push),se=function(t,r){var i,e=re(t),n=0,s=[];for(i in e)!te(ee,i)&&te(e,i)&&ne(s,i);for(;r.length>n;)te(e,i=r[n++])&&(~ie(s,i)||ne(s,i));return s},ae=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],oe=se,he=ae.concat("length","prototype");Bi.f=Object.getOwnPropertyNames||function(t){return oe(t,he)};var ue={};ue.f=Object.getOwnPropertySymbols;var ce=H,fe=Bi,le=ue,ve=Sr,de=M([].concat),pe=ce("Reflect","ownKeys")||function(t){var r=fe.f(ve(t)),i=le.f;return i?de(r,i(t)):r},ye=$t,ge=pe,me=s,be=br,we=a,xe=Y,Me=/#|\.prototype\./,ke=function(t,r){var i=Ne[Se(t)];return i==Pe||i!=je&&(xe(r)?we(r):!!r)},Se=ke.normalize=function(t){return String(t).replace(Me,".").toLowerCase()},Ne=ke.data={},je=ke.NATIVE="N",Pe=ke.POLYFILL="P",Oe=ke,Ee=n,Te=s.f,Ce=$r,Ae=Ri,Re=Pt,Be=function(t,r,i){for(var e=ge(r),n=be.f,s=me.f,a=0;a<e.length;a++){var o=e[a];ye(t,o)||i&&ye(i,o)||n(t,o,s(r,o))}},Le=Oe,$e=function(t,r){var i,e,n,s,a,o=t.target,h=t.global,u=t.stat;if(i=h?Ee:u?Ee[o]||Re(o,{}):(Ee[o]||{}).prototype)for(e in r){if(s=r[e],n=t.dontCallGetSet?(a=Te(i,e))&&a.value:i[e],!Le(h?e:o+(u?".":"#")+e,t.forced)&&void 0!==n){if(typeof s==typeof n)continue;Be(s,n)}(t.sham||n&&n.sham)&&Ce(s,"sham",!0),Ae(i,e,s,t)}},Ie="undefined"!=typeof process&&"process"==j(process),De=Y,Fe=String,ze=TypeError,_e=M,Ye=Sr,Xe=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,i={};try{(t=_e(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(i,[]),r=i instanceof Array}catch(t){}return function(i,e){return Ye(i),function(t){if("object"==typeof t||De(t))return t;throw ze("Can't set "+Fe(t)+" as a prototype")}(e),r?t(i,e):i.__proto__=e,i}}():void 0),qe=br.f,Ge=$t,Ue=Wt("toStringTag"),Ve=function(t,r,i){t&&!i&&(t=t.prototype),t&&!Ge(t,Ue)&&qe(t,Ue,{configurable:!0,value:r})},He=H,We=br,Qe=o,Ze=Wt("species"),Ke=W,Je=TypeError,tn={};tn[Wt("toStringTag")]="z";var rn="[object z]"===String(tn),en=Y,nn=j,sn=Wt("toStringTag"),an=Object,on="Arguments"==nn(function(){return arguments}()),hn=rn?nn:function(t){var r,i,e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,r){try{return t[r]}catch(t){}}(r=an(t),sn))?i:on?nn(r):"Object"==(e=nn(r))&&en(r.callee)?"Arguments":e},un=M,cn=a,fn=Y,ln=hn,vn=Wr,dn=function(){},pn=[],yn=H("Reflect","construct"),gn=/^\s*(?:class|function)\b/,mn=un(gn.exec),bn=!gn.exec(dn),wn=function(t){if(!fn(t))return!1;try{return yn(dn,pn,t),!0}catch(t){return!1}},xn=function(t){if(!fn(t))return!1;switch(ln(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return bn||!!mn(gn,vn(t))}catch(t){return!0}};xn.sham=!0;var Mn,kn,Sn,Nn,jn=!yn||cn((function(){var t;return wn(wn.call)||!wn(Object)||!wn((function(){t=!0}))||t}))?xn:wn,Pn=jn,On=lt,En=TypeError,Tn=Sr,Cn=A,An=Wt("species"),Rn=function(t,r){var i,e=Tn(t).constructor;return void 0===e||Cn(i=Tn(e)[An])?r:function(t){if(Pn(t))return t;throw En(On(t)+" is not a constructor")}(i)},Bn=Function.prototype,Ln=Bn.apply,$n=Bn.call,In="object"==typeof Reflect&&Reflect.apply||(h?$n.bind(Ln):function(){return $n.apply(Ln,arguments)}),Dn=j,Fn=M,zn=function(t){if("Function"===Dn(t))return Fn(t)},_n=yt,Yn=h,Xn=zn(zn.bind),qn=function(t,r){return _n(t),void 0===r?t:Yn?Xn(t,r):function(){return t.apply(r,arguments)}},Gn=H("document","documentElement"),Un=M([].slice),Vn=TypeError,Hn=/(?:ipad|iphone|ipod).*applewebkit/i.test(Q),Wn=n,Qn=In,Zn=qn,Kn=Y,Jn=$t,ts=a,rs=Gn,is=Un,es=hr,ns=Hn,ss=Ie,as=Wn.setImmediate,os=Wn.clearImmediate,hs=Wn.process,us=Wn.Dispatch,cs=Wn.Function,fs=Wn.MessageChannel,ls=Wn.String,vs=0,ds={},ps="onreadystatechange";ts((function(){Mn=Wn.location}));var ys=function(t){if(Jn(ds,t)){var r=ds[t];delete ds[t],r()}},gs=function(t){return function(){ys(t)}},ms=function(t){ys(t.data)},bs=function(t){Wn.postMessage(ls(t),Mn.protocol+"//"+Mn.host)};as&&os||(as=function(t){!function(t,r){if(t<r)throw Vn("Not enough arguments")}(arguments.length,1);var r=Kn(t)?t:cs(t),i=is(arguments,1);return ds[++vs]=function(){Qn(r,void 0,i)},kn(vs),vs},os=function(t){delete ds[t]},ss?kn=function(t){hs.nextTick(gs(t))}:us&&us.now?kn=function(t){us.now(gs(t))}:fs&&!ns?(Nn=(Sn=new fs).port2,Sn.port1.onmessage=ms,kn=Zn(Nn.postMessage,Nn)):Wn.addEventListener&&Kn(Wn.postMessage)&&!Wn.importScripts&&Mn&&"file:"!==Mn.protocol&&!ts(bs)?(kn=bs,Wn.addEventListener("message",ms,!1)):kn=ps in es("script")?function(t){rs.appendChild(es("script"))[ps]=function(){rs.removeChild(this),ys(t)}}:function(t){setTimeout(gs(t),0)});var ws={set:as,clear:os},xs=function(){this.head=null,this.tail=null};xs.prototype={add:function(t){var r={item:t,next:null},i=this.tail;i?i.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var Ms,ks,Ss,Ns,js,Ps=xs,Os=/ipad|iphone|ipod/i.test(Q)&&"undefined"!=typeof Pebble,Es=/web0s(?!.*chrome)/i.test(Q),Ts=n,Cs=qn,As=ws.set,Rs=Ps,Bs=Hn,Ls=Os,$s=Es,Is=Ie,Ds=Ts.MutationObserver||Ts.WebKitMutationObserver,Fs=Ts.document,zs=Ts.process,_s=Ts.Promise,Ys=(0,s.f)(Ts,"queueMicrotask"),Xs=Ys&&Ys.value;if(!Xs){var qs=new Rs,Gs=function(){var t,r;for(Is&&(t=zs.domain)&&t.exit();r=qs.get();)try{r()}catch(t){throw qs.head&&Ms(),t}t&&t.enter()};Bs||Is||$s||!Ds||!Fs?!Ls&&_s&&_s.resolve?((Ns=_s.resolve(void 0)).constructor=_s,js=Cs(Ns.then,Ns),Ms=function(){js(Gs)}):Is?Ms=function(){zs.nextTick(Gs)}:(As=Cs(As,Ts),Ms=function(){As(Gs)}):(ks=!0,Ss=Fs.createTextNode(""),new Ds(Gs).observe(Ss,{characterData:!0}),Ms=function(){Ss.data=ks=!ks}),Xs=function(t){qs.head||Ms(),qs.add(t)}}var Us=Xs,Vs=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Hs=n.Promise,Ws="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,Qs=!Ws&&!Ie&&"object"==typeof window&&"object"==typeof document,Zs=n,Ks=Hs,Js=Y,ta=Oe,ra=Wr,ia=Qs,ea=Ws,na=it,sa=Wt("species"),aa=!1,oa=Js(Zs.PromiseRejectionEvent),ha=ta("Promise",(function(){var t=ra(Ks),r=t!==String(Ks);if(!r&&66===na)return!0;if(!na||na<51||!/native code/.test(t)){var i=new Ks((function(t){t(1)})),e=function(t){t((function(){}),(function(){}))};if((i.constructor={})[sa]=e,!(aa=i.then((function(){}))instanceof e))return!0}return!r&&(ia||ea)&&!oa})),ua={CONSTRUCTOR:ha,REJECTION_EVENT:oa,SUBCLASSING:aa},ca={},fa=yt,la=TypeError,va=function(t){var r,i;this.promise=new t((function(t,e){if(void 0!==r||void 0!==i)throw la("Bad Promise constructor");r=t,i=e})),this.resolve=fa(r),this.reject=fa(i)};ca.f=function(t){return new va(t)};var da,pa,ya,ga,ma=$e,ba=Ie,wa=n,xa=c,Ma=Ri,ka=Xe,Sa=Ve,Na=yt,ja=Y,Pa=G,Oa=Rn,Ea=ws.set,Ta=Us,Ca=Vs,Aa=Ps,Ra=fi,Ba=Hs,La=ca,$a="Promise",Ia=ua.CONSTRUCTOR,Da=ua.REJECTION_EVENT,Fa=ua.SUBCLASSING,za=Ra.getterFor($a),_a=Ra.set,Ya=Ba&&Ba.prototype,Xa=Ba,qa=Ya,Ga=wa.TypeError,Ua=wa.document,Va=wa.process,Ha=La.f,Wa=Ha,Qa=!!(Ua&&Ua.createEvent&&wa.dispatchEvent),Za="unhandledrejection",Ka=function(t){var r;return!(!Pa(t)||!ja(r=t.then))&&r},Ja=function(t,r){var i,e,n,s=r.value,a=1==r.state,o=a?t.ok:t.fail,h=t.resolve,u=t.reject,c=t.domain;try{o?(a||(2===r.rejection&&no(r),r.rejection=1),!0===o?i=s:(c&&c.enter(),i=o(s),c&&(c.exit(),n=!0)),i===t.promise?u(Ga("Promise-chain cycle")):(e=Ka(i))?xa(e,i,h,u):h(i)):u(s)}catch(t){c&&!n&&c.exit(),u(t)}},to=function(t,r){t.notified||(t.notified=!0,Ta((function(){for(var i,e=t.reactions;i=e.get();)Ja(i,t);t.notified=!1,r&&!t.rejection&&io(t)})))},ro=function(t,r,i){var e,n;Qa?((e=Ua.createEvent("Event")).promise=r,e.reason=i,e.initEvent(t,!1,!0),wa.dispatchEvent(e)):e={promise:r,reason:i},!Da&&(n=wa["on"+t])?n(e):t===Za&&function(t,r){try{1==arguments.length?console.error(t):console.error(t,r)}catch(t){}}("Unhandled promise rejection",i)},io=function(t){xa(Ea,wa,(function(){var r,i=t.facade,e=t.value;if(eo(t)&&(r=Ca((function(){ba?Va.emit("unhandledRejection",e,i):ro(Za,i,e)})),t.rejection=ba||eo(t)?2:1,r.error))throw r.value}))},eo=function(t){return 1!==t.rejection&&!t.parent},no=function(t){xa(Ea,wa,(function(){var r=t.facade;ba?Va.emit("rejectionHandled",r):ro("rejectionhandled",r,t.value)}))},so=function(t,r,i){return function(e){t(r,e,i)}},ao=function(t,r,i){t.done||(t.done=!0,i&&(t=i),t.value=r,t.state=2,to(t,!0))},oo=function(t,r,i){if(!t.done){t.done=!0,i&&(t=i);try{if(t.facade===r)throw Ga("Promise can't be resolved itself");var e=Ka(r);e?Ta((function(){var i={done:!1};try{xa(e,r,so(oo,i,t),so(ao,i,t))}catch(r){ao(i,r,t)}})):(t.value=r,t.state=1,to(t,!1))}catch(r){ao({done:!1},r,t)}}};if(Ia&&(Xa=function(t){(function(t,r){if(Ke(r,t))return t;throw Je("Incorrect invocation")})(this,qa),Na(t),xa(da,this);var r=za(this);try{t(so(oo,r),so(ao,r))}catch(t){ao(r,t)}},(da=function(){_a(this,{type:$a,done:!1,notified:!1,parent:!1,reactions:new Aa,rejection:!1,state:0,value:void 0})}).prototype=Ma(qa=Xa.prototype,"then",(function(t,r){var i=za(this),e=Ha(Oa(this,Xa));return i.parent=!0,e.ok=!ja(t)||t,e.fail=ja(r)&&r,e.domain=ba?Va.domain:void 0,0==i.state?i.reactions.add(e):Ta((function(){Ja(e,i)})),e.promise})),pa=function(){var t=new da,r=za(t);this.promise=t,this.resolve=so(oo,r),this.reject=so(ao,r)},La.f=Ha=function(t){return t===Xa||void 0===t?new pa(t):Wa(t)},ja(Ba)&&Ya!==Object.prototype)){ya=Ya.then,Fa||Ma(Ya,"then",(function(t,r){var i=this;return new Xa((function(t,r){xa(ya,i,t,r)})).then(t,r)}),{unsafe:!0});try{delete Ya.constructor}catch(t){}ka&&ka(Ya,qa)}ma({global:!0,constructor:!0,wrap:!0,forced:Ia},{Promise:Xa}),Sa(Xa,$a,!1),ga=He($a),Qe&&ga&&!ga[Ze]&&(0,We.f)(ga,Ze,{configurable:!0,get:function(){return this}});var ho={},uo=ho,co=Wt("iterator"),fo=Array.prototype,lo=hn,vo=bt,po=A,yo=ho,go=Wt("iterator"),mo=function(t){if(!po(t))return vo(t,go)||vo(t,"@@iterator")||yo[lo(t)]},bo=c,wo=yt,xo=Sr,Mo=lt,ko=mo,So=TypeError,No=c,jo=Sr,Po=bt,Oo=qn,Eo=c,To=Sr,Co=lt,Ao=Hi,Ro=W,Bo=mo,Lo=function(t,r,i){var e,n;jo(t);try{if(!(e=Po(t,"return"))){if("throw"===r)throw i;return i}e=No(e,t)}catch(t){n=!0,e=t}if("throw"===r)throw i;if(n)throw e;return jo(e),i},$o=TypeError,Io=function(t,r){this.stopped=t,this.result=r},Do=Io.prototype,Fo=function(t,r,i){var e,n,s,a,o,h,u,c,f=!(!i||!i.AS_ENTRIES),l=!(!i||!i.IS_RECORD),v=!(!i||!i.IS_ITERATOR),d=!(!i||!i.INTERRUPTED),p=Oo(r,i&&i.that),y=function(t){return e&&Lo(e,"normal",t),new Io(!0,t)},g=function(t){return f?(To(t),d?p(t[0],t[1],y):p(t[0],t[1])):d?p(t,y):p(t)};if(l)e=t.iterator;else if(v)e=t;else{if(!(n=Bo(t)))throw $o(Co(t)+" is not iterable");if(void 0!==(c=n)&&(uo.Array===c||fo[co]===c)){for(s=0,a=Ao(t);a>s;s++)if((o=g(t[s]))&&Ro(Do,o))return o;return new Io(!1)}e=function(t,r){var i=arguments.length<2?ko(t):r;if(wo(i))return xo(bo(i,t));throw So(Mo(t)+" is not iterable")}(t,n)}for(h=l?t.next:e.next;!(u=Eo(h,e)).done;){try{o=g(u.value)}catch(t){Lo(e,"throw",t)}if("object"==typeof o&&o&&Ro(Do,o))return o}return new Io(!1)},zo=Wt("iterator"),_o=!1;try{var Yo=0,Xo={next:function(){return{done:!!Yo++}},return:function(){_o=!0}};Xo[zo]=function(){return this},Array.from(Xo,(function(){throw 2}))}catch(t){}var qo=Hs,Go=ua.CONSTRUCTOR||!function(t,r){if(!r&&!_o)return!1;var i=!1;try{var e={};e[zo]=function(){return{next:function(){return{done:i=!0}}}},t(e)}catch(t){}return i}((function(t){qo.all(t).then(void 0,(function(){}))})),Uo=c,Vo=yt,Ho=ca,Wo=Vs,Qo=Fo;$e({target:"Promise",stat:!0,forced:Go},{all:function(t){var r=this,i=Ho.f(r),e=i.resolve,n=i.reject,s=Wo((function(){var i=Vo(r.resolve),s=[],a=0,o=1;Qo(t,(function(t){var h=a++,u=!1;o++,Uo(i,r,t).then((function(t){u||(u=!0,s[h]=t,--o||e(s))}),n)})),--o||e(s)}));return s.error&&n(s.value),i.promise}});var Zo=Hs,Ko=H,Jo=Y,th=Ri,rh=Zo&&Zo.prototype;if($e({target:"Promise",proto:!0,forced:ua.CONSTRUCTOR,real:!0},{catch:function(t){return this.then(void 0,t)}}),Jo(Zo)){var ih=Ko("Promise").prototype.catch;rh.catch!==ih&&th(rh,"catch",ih,{unsafe:!0})}var eh=c,nh=yt,sh=ca,ah=Vs,oh=Fo;$e({target:"Promise",stat:!0,forced:Go},{race:function(t){var r=this,i=sh.f(r),e=i.reject,n=ah((function(){var n=nh(r.resolve);oh(t,(function(t){eh(n,r,t).then(i.resolve,e)}))}));return n.error&&e(n.value),i.promise}});var hh=c,uh=ca;$e({target:"Promise",stat:!0,forced:ua.CONSTRUCTOR},{reject:function(t){var r=uh.f(this);return hh(r.reject,void 0,t),r.promise}});var ch=Sr,fh=G,lh=ca;$e({target:"Promise",stat:!0,forced:ua.CONSTRUCTOR},{resolve:function(t){return function(t,r){if(ch(t),fh(r)&&r.constructor===t)return r;var i=lh.f(t);return(0,i.resolve)(r),i.promise}(this,t)}});var vh={exports:{}};!function(t){function r(t,r,i,e,n,s,a){try{var o=t[s](a),h=o.value}catch(t){return void i(t)}o.done?r(h):Promise.resolve(h).then(e,n)}t.exports=function(t){return function(){var i=this,e=arguments;return new Promise((function(n,s){var a=t.apply(i,e);function o(t){r(a,n,s,o,h,"next",t)}function h(t){r(a,n,s,o,h,"throw",t)}o(void 0)}))}},t.exports.__esModule=!0,t.exports.default=t.exports}(vh);const dh=r(vh.exports);var ph=hn,yh=String,gh=function(t){if("Symbol"===ph(t))throw TypeError("Cannot convert a Symbol value to a string");return yh(t)},mh=Sr,bh=function(){var t=mh(this),r="";return t.hasIndices&&(r+="d"),t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.unicodeSets&&(r+="v"),t.sticky&&(r+="y"),r},wh=a,xh=n.RegExp,Mh=wh((function(){var t=xh("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),kh=Mh||wh((function(){return!xh("a","y").sticky})),Sh={BROKEN_CARET:Mh||wh((function(){var t=xh("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),MISSED_STICKY:kh,UNSUPPORTED_Y:Mh},Nh={},jh=se,Ph=ae,Oh=Object.keys||function(t){return jh(t,Ph)},Eh=br,Th=Sr,Ch=D,Ah=Oh;Nh.f=o&&!wr?Object.defineProperties:function(t,r){Th(t);for(var i,e=Ch(r),n=Ah(r),s=n.length,a=0;s>a;)Eh.f(t,i=n[a++],e[i]);return t};var Rh,Bh=Sr,Lh=Nh,$h=ae,Ih=ri,Dh=Gn,Fh=hr,zh="prototype",_h="script",Yh=ti("IE_PROTO"),Xh=function(){},qh=function(t){return"<"+_h+">"+t+"</"+_h+">"},Gh=function(t){t.write(qh("")),t.close();var r=t.parentWindow.Object;return t=null,r},Uh=function(){try{Rh=new ActiveXObject("htmlfile")}catch(t){}var t,r,i;Uh="undefined"!=typeof document?document.domain&&Rh?Gh(Rh):(r=Fh("iframe"),i="java"+_h+":",r.style.display="none",Dh.appendChild(r),r.src=String(i),(t=r.contentWindow.document).open(),t.write(qh("document.F=Object")),t.close(),t.F):Gh(Rh);for(var e=$h.length;e--;)delete Uh[zh][$h[e]];return Uh()};Ih[Yh]=!0;var Vh,Hh,Wh=Object.create||function(t,r){var i;return null!==t?(Xh[zh]=Bh(t),i=new Xh,Xh[zh]=null,i[Yh]=t):i=Uh(),void 0===r?i:Lh.f(i,r)},Qh=n.RegExp,Zh=a((function(){var t=Qh(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),Kh=n.RegExp,Jh=a((function(){var t=Kh("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),tu=c,ru=M,iu=gh,eu=bh,nu=Sh,su=Wh,au=fi.get,ou=Zh,hu=Jh,uu=(0,St.exports)("native-string-replace",String.prototype.replace),cu=RegExp.prototype.exec,fu=cu,lu=ru("".charAt),vu=ru("".indexOf),du=ru("".replace),pu=ru("".slice),yu=(Hh=/b*/g,tu(cu,Vh=/a/,"a"),tu(cu,Hh,"a"),0!==Vh.lastIndex||0!==Hh.lastIndex),gu=nu.BROKEN_CARET,mu=void 0!==/()??/.exec("")[1];(yu||mu||gu||ou||hu)&&(fu=function(t){var r,i,e,n,s,a,o,h=this,u=au(h),c=iu(t),f=u.raw;if(f)return f.lastIndex=h.lastIndex,r=tu(fu,f,c),h.lastIndex=f.lastIndex,r;var l=u.groups,v=gu&&h.sticky,d=tu(eu,h),p=h.source,y=0,g=c;if(v&&(d=du(d,"y",""),-1===vu(d,"g")&&(d+="g"),g=pu(c,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==lu(c,h.lastIndex-1))&&(p="(?: "+p+")",g=" "+g,y++),i=new RegExp("^(?:"+p+")",d)),mu&&(i=new RegExp("^"+p+"$(?!\\s)",d)),yu&&(e=h.lastIndex),n=tu(cu,v?i:h,g),v?n?(n.input=pu(n.input,y),n[0]=pu(n[0],y),n.index=h.lastIndex,h.lastIndex+=n[0].length):h.lastIndex=0:yu&&n&&(h.lastIndex=h.global?n.index+n[0].length:e),mu&&n&&n.length>1&&tu(uu,n[0],i,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(n[s]=void 0)})),n&&l)for(n.groups=a=su(null),s=0;s<l.length;s++)a[(o=l[s])[0]]=n[o[1]];return n});var bu=fu;$e({target:"RegExp",proto:!0,forced:/./.exec!==bu},{exec:bu});var wu=zn,xu=Ri,Mu=bu,ku=a,Su=Wt,Nu=$r,ju=Su("species"),Pu=RegExp.prototype,Ou=function(t,r,i,e){var n=Su(t),s=!ku((function(){var r={};return r[n]=function(){return 7},7!=""[t](r)})),a=s&&!ku((function(){var r=!1,i=/a/;return"split"===t&&((i={}).constructor={},i.constructor[ju]=function(){return i},i.flags="",i[n]=/./[n]),i.exec=function(){return r=!0,null},i[n](""),!r}));if(!s||!a||i){var o=wu(/./[n]),h=r(n,""[t],(function(t,r,i,e,n){var a=wu(t),h=r.exec;return h===Mu||h===Pu.exec?s&&!n?{done:!0,value:o(r,i,e)}:{done:!0,value:a(i,r,e)}:{done:!1}}));xu(String.prototype,t,h[0]),xu(Pu,n,h[1])}e&&Nu(Pu[n],"sham",!0)},Eu=M,Tu=Fi,Cu=gh,Au=L,Ru=Eu("".charAt),Bu=Eu("".charCodeAt),Lu=Eu("".slice),$u=function(t){return function(r,i){var e,n,s=Cu(Au(r)),a=Tu(i),o=s.length;return a<0||a>=o?t?"":void 0:(e=Bu(s,a))<55296||e>56319||a+1===o||(n=Bu(s,a+1))<56320||n>57343?t?Ru(s,a):e:t?Lu(s,a,a+2):n-56320+(e-55296<<10)+65536}},Iu=($u(!1),$u(!0)),Du=function(t,r,i){return r+(i?Iu(t,r).length:1)},Fu=c,zu=Sr,_u=Y,Yu=j,Xu=bu,qu=TypeError,Gu=function(t,r){var i=t.exec;if(_u(i)){var e=Fu(i,t,r);return null!==e&&zu(e),e}if("RegExp"===Yu(t))return Fu(Xu,t,r);throw qu("RegExp#exec called on incompatible receiver")},Uu=c,Vu=Sr,Hu=A,Wu=Ui,Qu=gh,Zu=L,Ku=bt,Ju=Du,tc=Gu;Ou("match",(function(t,r,i){return[function(r){var i=Zu(this),e=Hu(r)?void 0:Ku(r,t);return e?Uu(e,r,i):new RegExp(r)[t](Qu(i))},function(t){var e=Vu(this),n=Qu(t),s=i(r,e,n);if(s.done)return s.value;if(!e.global)return tc(e,n);var a=e.unicode;e.lastIndex=0;for(var o,h=[],u=0;null!==(o=tc(e,n));){var c=Qu(o[0]);h[u]=c,""===c&&(e.lastIndex=Ju(n,Wu(e.lastIndex),a)),u++}return 0===u?null:h}]}));var rc=M,ic=Rt,ec=Math.floor,nc=rc("".charAt),sc=rc("".replace),ac=rc("".slice),oc=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,hc=/\$([$&'`]|\d{1,2})/g,uc=In,cc=c,fc=M,lc=Ou,vc=a,dc=Sr,pc=Y,yc=A,gc=Fi,mc=Ui,bc=gh,wc=L,xc=Du,Mc=bt,kc=function(t,r,i,e,n,s){var a=i+t.length,o=e.length,h=hc;return void 0!==n&&(n=ic(n),h=oc),sc(s,h,(function(s,h){var u;switch(nc(h,0)){case"$":return"$";case"&":return t;case"`":return ac(r,0,i);case"'":return ac(r,a);case"<":u=n[ac(h,1,-1)];break;default:var c=+h;if(0===c)return s;if(c>o){var f=ec(c/10);return 0===f?s:f<=o?void 0===e[f-1]?nc(h,1):e[f-1]+nc(h,1):s}u=e[c-1]}return void 0===u?"":u}))},Sc=Gu,Nc=Wt("replace"),jc=Math.max,Pc=Math.min,Oc=fc([].concat),Ec=fc([].push),Tc=fc("".indexOf),Cc=fc("".slice),Ac="$0"==="a".replace(/./,"$0"),Rc=!!/./[Nc]&&""===/./[Nc]("a","$0");lc("replace",(function(t,r,i){var e=Rc?"$":"$0";return[function(t,i){var e=wc(this),n=yc(t)?void 0:Mc(t,Nc);return n?cc(n,t,e,i):cc(r,bc(e),t,i)},function(t,n){var s=dc(this),a=bc(t);if("string"==typeof n&&-1===Tc(n,e)&&-1===Tc(n,"$<")){var o=i(r,s,a,n);if(o.done)return o.value}var h=pc(n);h||(n=bc(n));var u=s.global;if(u){var c=s.unicode;s.lastIndex=0}for(var f=[];;){var l=Sc(s,a);if(null===l)break;if(Ec(f,l),!u)break;""===bc(l[0])&&(s.lastIndex=xc(a,mc(s.lastIndex),c))}for(var v,d="",p=0,y=0;y<f.length;y++){for(var g=bc((l=f[y])[0]),m=jc(Pc(gc(l.index),a.length),0),b=[],w=1;w<l.length;w++)Ec(b,void 0===(v=l[w])?v:String(v));var x=l.groups;if(h){var M=Oc([g],b,m,a);void 0!==x&&Ec(M,x);var k=bc(uc(n,void 0,M))}else k=kc(g,a,m,b,x,n);m>=p&&(d+=Cc(a,p,m)+k,p=m+g.length)}return d+Cc(a,p)}]}),!!vc((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!Ac||Rc);var Bc,Lc=G,$c=j,Ic=Wt("match"),Dc=function(t){var r;return Lc(t)&&(void 0!==(r=t[Ic])?!!r:"RegExp"==$c(t))},Fc=Dc,zc=TypeError,_c=function(t){if(Fc(t))throw zc("The method doesn't accept regular expressions");return t},Yc=Wt("match"),Xc=function(t){var r=/./;try{"/./"[t](r)}catch(i){try{return r[Yc]=!1,"/./"[t](r)}catch(t){}}return!1},qc=$e,Gc=zn,Uc=s.f,Vc=Ui,Hc=gh,Wc=_c,Qc=L,Zc=Xc,Kc=Gc("".startsWith),Jc=Gc("".slice),tf=Math.min,rf=Zc("startsWith");qc({target:"String",proto:!0,forced:!(!rf&&(Bc=Uc(String.prototype,"startsWith"),Bc&&!Bc.writable)||rf)},{startsWith:function(t){var r=Hc(Qc(this));Wc(t);var i=Vc(tf(arguments.length>1?arguments[1]:void 0,r.length)),e=Hc(t);return Kc?Kc(r,e,i):Jc(r,i,i+e.length)===e}});var ef=Wh,nf=br.f,sf=Wt("unscopables"),af=Array.prototype;null==af[sf]&&nf(af,sf,{configurable:!0,value:ef(null)});var of,hf,uf,cf=!a((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),ff=$t,lf=Y,vf=Rt,df=cf,pf=ti("IE_PROTO"),yf=Object,gf=yf.prototype,mf=df?yf.getPrototypeOf:function(t){var r=vf(t);if(ff(r,pf))return r[pf];var i=r.constructor;return lf(i)&&r instanceof i?i.prototype:r instanceof yf?gf:null},bf=a,wf=Y,xf=G,Mf=mf,kf=Ri,Sf=Wt("iterator"),Nf=!1;[].keys&&("next"in(uf=[].keys())?(hf=Mf(Mf(uf)))!==Object.prototype&&(of=hf):Nf=!0);var jf=!xf(of)||bf((function(){var t={};return of[Sf].call(t)!==t}));jf&&(of={}),wf(of[Sf])||kf(of,Sf,(function(){return this}));var Pf={IteratorPrototype:of,BUGGY_SAFARI_ITERATORS:Nf},Of=Pf.IteratorPrototype,Ef=Wh,Tf=g,Cf=Ve,Af=ho,Rf=function(){return this},Bf=$e,Lf=c,$f=Y,If=mf,Df=Xe,Ff=Ve,zf=$r,_f=Ri,Yf=ho,Xf=Yr.PROPER,qf=Yr.CONFIGURABLE,Gf=Pf.IteratorPrototype,Uf=Pf.BUGGY_SAFARI_ITERATORS,Vf=Wt("iterator"),Hf="keys",Wf="values",Qf="entries",Zf=function(){return this},Kf=D,Jf=function(t){af[sf][t]=!0},tl=ho,rl=br.f,il=function(t,r){return{value:t,done:r}},el=o,nl="Array Iterator",sl=fi.set,al=fi.getterFor(nl),ol=function(t,r,i,e,n,s,a){!function(t,r,i,e){var n=r+" Iterator";t.prototype=Ef(Of,{next:Tf(+!e,i)}),Cf(t,n,!1),Af[n]=Rf}(i,r,e);var o,h,u,c=function(t){if(t===n&&p)return p;if(!Uf&&t in v)return v[t];switch(t){case Hf:case Wf:case Qf:return function(){return new i(this,t)}}return function(){return new i(this)}},f=r+" Iterator",l=!1,v=t.prototype,d=v[Vf]||v["@@iterator"]||n&&v[n],p=!Uf&&d||c(n),y="Array"==r&&v.entries||d;if(y&&(o=If(y.call(new t)))!==Object.prototype&&o.next&&(If(o)!==Gf&&(Df?Df(o,Gf):$f(o[Vf])||_f(o,Vf,Zf)),Ff(o,f,!0)),Xf&&n==Wf&&d&&d.name!==Wf&&(qf?zf(v,"name",Wf):(l=!0,p=function(){return Lf(d,this)})),n)if(h={values:c(Wf),keys:s?p:c(Hf),entries:c(Qf)},a)for(u in h)(Uf||l||!(u in v))&&_f(v,u,h[u]);else Bf({target:r,proto:!0,forced:Uf||l},h);return v[Vf]!==p&&_f(v,Vf,p,{name:n}),Yf[r]=p,h}(Array,"Array",(function(t,r){sl(this,{type:nl,target:Kf(t),index:0,kind:r})}),(function(){var t=al(this),r=t.target,i=t.kind,e=t.index++;return!r||e>=r.length?(t.target=void 0,il(void 0,!0)):il("keys"==i?e:"values"==i?r[e]:[e,r[e]],!1)}),"values"),hl=tl.Arguments=tl.Array;if(Jf("keys"),Jf("values"),Jf("entries"),el&&"values"!==hl.name)try{rl(hl,"name",{value:"values"})}catch(t){}var ul=hr("span").classList,cl=ul&&ul.constructor&&ul.constructor.prototype,fl=n,ll={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},vl=cl===Object.prototype?void 0:cl,dl=ol,pl=$r,yl=Wt,gl=yl("iterator"),ml=yl("toStringTag"),bl=dl.values,wl=function(t,r){if(t){if(t[gl]!==bl)try{pl(t,gl,bl)}catch(r){t[gl]=bl}if(t[ml]||pl(t,ml,r),ll[r])for(var i in dl)if(t[i]!==dl[i])try{pl(t,i,dl[i])}catch(r){t[i]=dl[i]}}};for(var xl in ll)wl(fl[xl]&&fl[xl].prototype,xl);wl(vl,"DOMTokenList");var Ml={exports:{}},kl={exports:{}},Sl={exports:{}};!function(t){var r=i.exports.default;t.exports=function(t,i){if("object"!==r(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,i||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===i?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(Sl),function(t){var r=i.exports.default,e=Sl.exports;t.exports=function(t){var i=e(t,"string");return"symbol"===r(i)?i:String(i)},t.exports.__esModule=!0,t.exports.default=t.exports}(kl),function(t){var r=kl.exports;t.exports=function(t,i,e){return(i=r(i))in t?Object.defineProperty(t,i,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[i]=e,t},t.exports.__esModule=!0,t.exports.default=t.exports}(Ml);const Nl=r(Ml.exports);var jl=yt,Pl=Rt,Ol=C,El=Hi,Tl=TypeError,Cl=function(t){return function(r,i,e,n){jl(i);var s=Pl(r),a=Ol(s),o=El(s),h=t?o-1:0,u=t?-1:1;if(e<2)for(;;){if(h in a){n=a[h],h+=u;break}if(h+=u,t?h<0:o<=h)throw Tl("Reduce of empty array with no initial value")}for(;t?h>=0:o>h;h+=u)h in a&&(n=i(n,a[h],h,s));return n}},Al={left:Cl(!1),right:Cl(!0)},Rl=a,Bl=function(t,r){var i=[][t];return!!i&&Rl((function(){i.call(null,r||function(){return 1},1)}))},Ll=Al.left;$e({target:"Array",proto:!0,forced:!Ie&&it>79&&it<83||!Bl("reduce")},{reduce:function(t){var r=arguments.length;return Ll(this,t,r,r>1?arguments[1]:void 0)}});var $l=$e,Il=zn,Dl=s.f,Fl=Ui,zl=gh,_l=_c,Yl=L,Xl=Xc,ql=Il("".endsWith),Gl=Il("".slice),Ul=Math.min,Vl=Xl("endsWith"),Hl=!Vl&&!!function(){var t=Dl(String.prototype,"endsWith");return t&&!t.writable}();$l({target:"String",proto:!0,forced:!Hl&&!Vl},{endsWith:function(t){var r=zl(Yl(this));_l(t);var i=arguments.length>1?arguments[1]:void 0,e=r.length,n=void 0===i?e:Ul(Fl(i),e),s=zl(t);return ql?ql(r,s,n):Gl(r,n-s.length,n)===s}});var Wl=nr,Ql=br,Zl=g,Kl=Xi,Jl=Hi,tv=Array,rv=Math.max,iv=In,ev=c,nv=M,sv=Ou,av=Sr,ov=A,hv=Dc,uv=L,cv=Rn,fv=Du,lv=Ui,vv=gh,dv=bt,pv=function(t,r,i){for(var e=Jl(t),n=Kl(r,e),s=Kl(void 0===i?e:i,e),a=tv(rv(s-n,0)),o=0;n<s;n++,o++)h=a,u=t[n],c=void 0,(c=Wl(o))in h?Ql.f(h,c,Zl(0,u)):h[c]=u;var h,u,c;return a.length=o,a},yv=Gu,gv=bu,mv=a,bv=Sh.UNSUPPORTED_Y,wv=4294967295,xv=Math.min,Mv=[].push,kv=nv(/./.exec),Sv=nv(Mv),Nv=nv("".slice);sv("split",(function(t,r,i){var e;return e="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,i){var e=vv(uv(this)),n=void 0===i?wv:i>>>0;if(0===n)return[];if(void 0===t)return[e];if(!hv(t))return ev(r,e,t,n);for(var s,a,o,h=[],u=0,c=new RegExp(t.source,(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":"")+"g");(s=ev(gv,c,e))&&!((a=c.lastIndex)>u&&(Sv(h,Nv(e,u,s.index)),s.length>1&&s.index<e.length&&iv(Mv,h,pv(s,1)),o=s[0].length,u=a,h.length>=n));)c.lastIndex===s.index&&c.lastIndex++;return u===e.length?!o&&kv(c,"")||Sv(h,""):Sv(h,Nv(e,u)),h.length>n?pv(h,0,n):h}:"0".split(void 0,0).length?function(t,i){return void 0===t&&0===i?[]:ev(r,this,t,i)}:r,[function(r,i){var n=uv(this),s=ov(r)?void 0:dv(r,t);return s?ev(s,r,n,i):ev(e,vv(n),r,i)},function(t,n){var s=av(this),a=vv(t),o=i(e,s,a,n,e!==r);if(o.done)return o.value;var h=cv(s,RegExp),u=s.unicode,c=new h(bv?"^(?:"+s.source+")":s,(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(bv?"g":"y")),f=void 0===n?wv:n>>>0;if(0===f)return[];if(0===a.length)return null===yv(c,a)?[a]:[];for(var l=0,v=0,d=[];v<a.length;){c.lastIndex=bv?0:v;var p,y=yv(c,bv?Nv(a,v):a);if(null===y||(p=xv(lv(c.lastIndex+(bv?v:0)),a.length))===l)v=fv(a,v,u);else{if(Sv(d,Nv(a,l,v)),d.length===f)return d;for(var g=1;g<=y.length-1;g++)if(Sv(d,y[g]),d.length===f)return d;v=l=p}}return Sv(d,Nv(a,l)),d}]}),!!mv((function(){var t=/(?:)/,r=t.exec;t.exec=function(){return r.apply(this,arguments)};var i="ab".split(t);return 2!==i.length||"a"!==i[0]||"b"!==i[1]})),bv);var jv={exports:{}},Pv={exports:{}};(function(){var t,r,i,e,n,s;"undefined"!=typeof performance&&null!==performance&&performance.now?Pv.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(Pv.exports=function(){return(t()-n)/1e6},r=process.hrtime,e=(t=function(){var t;return 1e9*(t=r())[0]+t[1]})(),s=1e9*process.uptime(),n=e-s):Date.now?(Pv.exports=function(){return Date.now()-i},i=Date.now()):(Pv.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(t);for(var Ov=Pv.exports,Ev="undefined"==typeof window?t:window,Tv=["moz","webkit"],Cv="AnimationFrame",Av=Ev["request"+Cv],Rv=Ev["cancel"+Cv]||Ev["cancelRequest"+Cv],Bv=0;!Av&&Bv<Tv.length;Bv++)Av=Ev[Tv[Bv]+"Request"+Cv],Rv=Ev[Tv[Bv]+"Cancel"+Cv]||Ev[Tv[Bv]+"CancelRequest"+Cv];if(!Av||!Rv){var Lv=0,$v=0,Iv=[],Dv=1e3/60;Av=function(t){if(0===Iv.length){var r=Ov(),i=Math.max(0,Dv-(r-Lv));Lv=i+r,setTimeout((function(){var t=Iv.slice(0);Iv.length=0;for(var r=0;r<t.length;r++)if(!t[r].cancelled)try{t[r].callback(Lv)}catch(t){setTimeout((function(){throw t}),0)}}),Math.round(i))}return Iv.push({handle:++$v,callback:t,cancelled:!1}),$v},Rv=function(t){for(var r=0;r<Iv.length;r++)Iv[r].handle===t&&(Iv[r].cancelled=!0)}}jv.exports=function(t){return Av.call(Ev,t)},jv.exports.cancel=function(){Rv.apply(Ev,arguments)},jv.exports.polyfill=function(t){t||(t=Ev),t.requestAnimationFrame=Av,t.cancelAnimationFrame=Rv};const Fv=jv.exports;var zv,_v="\t\n\v\f\r \u2028\u2029\ufeff",Yv=L,Xv=gh,qv=_v,Gv=M("".replace),Uv="["+qv+"]",Vv=RegExp("^"+Uv+Uv+"*"),Hv=RegExp(Uv+Uv+"*$"),Wv=function(t){return function(r){var i=Xv(Yv(r));return 1&t&&(i=Gv(i,Vv,"")),2&t&&(i=Gv(i,Hv,"")),i}},Qv={start:Wv(1),end:Wv(2),trim:Wv(3)},Zv=Yr.PROPER,Kv=_v,Jv=Qv.trim;$e({target:"String",proto:!0,forced:(zv="trim",a((function(){return!!Kv[zv]()||"
"!=="
"[zv]()||Zv&&Kv[zv].name!==zv})))},{trim:function(){return Jv(this)}});var td=function(t){this.ok=!1,this.alpha=1,"#"==t.charAt(0)&&(t=t.substr(1,6)),t=(t=t.replace(/ /g,"")).toLowerCase();var r={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};t=r[t]||t;for(var i=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3]),parseFloat(t[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}],e=0;e<i.length;e++){var n=i[e].process,s=i[e].re.exec(t);if(s){var a=n(s);this.r=a[0],this.g=a[1],this.b=a[2],a.length>3&&(this.alpha=a[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var t=this.r.toString(16),r=this.g.toString(16),i=this.b.toString(16);return 1==t.length&&(t="0"+t),1==r.length&&(r="0"+r),1==i.length&&(i="0"+i),"#"+t+r+i},this.getHelpXML=function(){for(var t=new Array,e=0;e<i.length;e++)for(var n=i[e].example,s=0;s<n.length;s++)t[t.length]=n[s];for(var a in r)t[t.length]=a;var o=document.createElement("ul");for(o.setAttribute("id","rgbcolor-examples"),e=0;e<t.length;e++)try{var h=document.createElement("li"),u=new RGBColor(t[e]),c=document.createElement("div");c.style.cssText="margin: 3px; border: 1px solid black; background:"+u.toHex()+"; color:"+u.toHex(),c.appendChild(document.createTextNode("test"));var f=document.createTextNode(" "+t[e]+" -> "+u.toRGB()+" -> "+u.toHex());h.appendChild(c),h.appendChild(f),o.appendChild(h)}catch(t){}return o}},rd=$e,id=Ji.indexOf,ed=Bl,nd=zn([].indexOf),sd=!!nd&&1/nd([1],1,-0)<0;rd({target:"Array",proto:!0,forced:sd||!ed("indexOf")},{indexOf:function(t){var r=arguments.length>1?arguments[1]:void 0;return sd?nd(this,t,r)||0:id(this,t,r)}});var ad=$e,od=_c,hd=L,ud=gh,cd=Xc,fd=M("".indexOf);ad({target:"String",proto:!0,forced:!cd("includes")},{includes:function(t){return!!~fd(ud(hd(this)),ud(od(t)),arguments.length>1?arguments[1]:void 0)}});var ld=j,vd=$e,dd=Array.isArray||function(t){return"Array"==ld(t)},pd=M([].reverse),yd=[1,2];vd({target:"Array",proto:!0,forced:String(yd)===String(yd.reverse())},{reverse:function(){return dd(this)&&(this.length=this.length),pd(this)}});
|
6
|
+
import{c as t,g as r}from"./p-d4056c1c.js";import{b as i}from"./p-67c3ac62.js";import"./p-fa1ceaf9.js";import"./p-c0bf1d9f.js";import"./p-0a24ad5f.js";import"./p-996c1ac5.js";import"./p-c1cf3ebc.js";import"./p-3d7cff5e.js";import"./p-a230b270.js";import"./p-a0300d31.js";var e=function(t){return t&&t.Math==Math&&t},n=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof t&&t)||function(){return this}()||Function("return this")(),s={},a=function(t){try{return!!t()}catch(t){return!0}},o=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),h=!a((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),u=Function.prototype.call,c=h?u.bind(u):function(){return u.apply(u,arguments)},f={},l={}.propertyIsEnumerable,v=Object.getOwnPropertyDescriptor,d=v&&!l.call({1:2},1);f.f=d?function(t){var r=v(this,t);return!!r&&r.enumerable}:l;var p,y,g=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},m=h,b=Function.prototype,w=b.call,x=m&&b.bind.bind(w,w),M=m?x:function(t){return function(){return w.apply(t,arguments)}},k=M,S=k({}.toString),N=k("".slice),j=function(t){return N(S(t),8,-1)},P=a,O=j,E=Object,T=M("".split),C=P((function(){return!E("z").propertyIsEnumerable(0)}))?function(t){return"String"==O(t)?T(t,""):E(t)}:E,A=function(t){return null==t},R=A,B=TypeError,L=function(t){if(R(t))throw B("Can't call method on "+t);return t},$=C,I=L,D=function(t){return $(I(t))},F="object"==typeof document&&document.all,z={all:F,IS_HTMLDDA:void 0===F&&void 0!==F},_=z.all,Y=z.IS_HTMLDDA?function(t){return"function"==typeof t||t===_}:function(t){return"function"==typeof t},X=Y,q=z.all,G=z.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:X(t)||t===q}:function(t){return"object"==typeof t?null!==t:X(t)},U=n,V=Y,H=function(t,r){return arguments.length<2?V(i=U[t])?i:void 0:U[t]&&U[t][r];var i},W=M({}.isPrototypeOf),Q="undefined"!=typeof navigator&&String(navigator.userAgent)||"",Z=Q,K=n.process,J=n.Deno,tt=K&&K.versions||J&&J.version,rt=tt&&tt.v8;rt&&(y=(p=rt.split("."))[0]>0&&p[0]<4?1:+(p[0]+p[1])),!y&&Z&&(!(p=Z.match(/Edge\/(\d+)/))||p[1]>=74)&&(p=Z.match(/Chrome\/(\d+)/))&&(y=+p[1]);var it=y,et=it,nt=!!Object.getOwnPropertySymbols&&!a((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&et&&et<41})),st=nt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,at=H,ot=Y,ht=W,ut=Object,ct=st?function(t){return"symbol"==typeof t}:function(t){var r=at("Symbol");return ot(r)&&ht(r.prototype,ut(t))},ft=String,lt=function(t){try{return ft(t)}catch(t){return"Object"}},vt=Y,dt=lt,pt=TypeError,yt=function(t){if(vt(t))return t;throw pt(dt(t)+" is not a function")},gt=yt,mt=A,bt=function(t,r){var i=t[r];return mt(i)?void 0:gt(i)},wt=c,xt=Y,Mt=G,kt=TypeError,St={exports:{}},Nt=n,jt=Object.defineProperty,Pt=function(t,r){try{jt(Nt,t,{value:r,configurable:!0,writable:!0})}catch(i){Nt[t]=r}return r},Ot="__core-js_shared__",Et=n[Ot]||Pt(Ot,{}),Tt=Et;(St.exports=function(t,r){return Tt[t]||(Tt[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.27.2",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.2/LICENSE",source:"https://github.com/zloirock/core-js"});var Ct=L,At=Object,Rt=function(t){return At(Ct(t))},Bt=Rt,Lt=M({}.hasOwnProperty),$t=Object.hasOwn||function(t,r){return Lt(Bt(t),r)},It=M,Dt=0,Ft=Math.random(),zt=It(1..toString),_t=function(t){return"Symbol("+(void 0===t?"":t)+")_"+zt(++Dt+Ft,36)},Yt=$t,Xt=_t,qt=nt,Gt=st,Ut=n.Symbol,Vt=(0,St.exports)("wks"),Ht=Gt?Ut.for||Ut:Ut&&Ut.withoutSetter||Xt,Wt=function(t){return Yt(Vt,t)||(Vt[t]=qt&&Yt(Ut,t)?Ut[t]:Ht("Symbol."+t)),Vt[t]},Qt=c,Zt=G,Kt=ct,Jt=bt,tr=TypeError,rr=Wt("toPrimitive"),ir=function(t,r){if(!Zt(t)||Kt(t))return t;var i,e=Jt(t,rr);if(e){if(void 0===r&&(r="default"),i=Qt(e,t,r),!Zt(i)||Kt(i))return i;throw tr("Can't convert object to primitive value")}return void 0===r&&(r="number"),function(t,r){var i,e;if("string"===r&&xt(i=t.toString)&&!Mt(e=wt(i,t)))return e;if(xt(i=t.valueOf)&&!Mt(e=wt(i,t)))return e;if("string"!==r&&xt(i=t.toString)&&!Mt(e=wt(i,t)))return e;throw kt("Can't convert object to primitive value")}(t,r)},er=ct,nr=function(t){var r=ir(t,"string");return er(r)?r:r+""},sr=G,ar=n.document,or=sr(ar)&&sr(ar.createElement),hr=function(t){return or?ar.createElement(t):{}},ur=hr,cr=!o&&!a((function(){return 7!=Object.defineProperty(ur("div"),"a",{get:function(){return 7}}).a})),fr=c,lr=f,vr=g,dr=D,pr=nr,yr=$t,gr=cr,mr=Object.getOwnPropertyDescriptor;s.f=o?mr:function(t,r){if(t=dr(t),r=pr(r),gr)try{return mr(t,r)}catch(t){}if(yr(t,r))return vr(!fr(lr.f,t,r),t[r])};var br={},wr=o&&a((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),xr=G,Mr=String,kr=TypeError,Sr=function(t){if(xr(t))return t;throw kr(Mr(t)+" is not an object")},Nr=cr,jr=Sr,Pr=nr,Or=TypeError,Er=Object.defineProperty,Tr=Object.getOwnPropertyDescriptor,Cr="enumerable",Ar="configurable",Rr="writable";br.f=o?wr?function(t,r,i){if(jr(t),r=Pr(r),jr(i),"function"==typeof t&&"prototype"===r&&"value"in i&&Rr in i&&!i[Rr]){var e=Tr(t,r);e&&e[Rr]&&(t[r]=i.value,i={configurable:Ar in i?i[Ar]:e[Ar],enumerable:Cr in i?i[Cr]:e[Cr],writable:!1})}return Er(t,r,i)}:Er:function(t,r,i){if(jr(t),r=Pr(r),jr(i),Nr)try{return Er(t,r,i)}catch(t){}if("get"in i||"set"in i)throw Or("Accessors not supported");return"value"in i&&(t[r]=i.value),t};var Br=br,Lr=g,$r=o?function(t,r,i){return Br.f(t,r,Lr(1,i))}:function(t,r,i){return t[r]=i,t},Ir={exports:{}},Dr=o,Fr=Function.prototype,zr=Dr&&Object.getOwnPropertyDescriptor,_r=$t(Fr,"name"),Yr={EXISTS:_r,PROPER:_r&&"something"===function(){}.name,CONFIGURABLE:_r&&(!Dr||Dr&&zr(Fr,"name").configurable)},Xr=Y,qr=Et,Gr=M(Function.toString);Xr(qr.inspectSource)||(qr.inspectSource=function(t){return Gr(t)});var Ur,Vr,Hr,Wr=qr.inspectSource,Qr=n.WeakMap,Zr=Y(Qr)&&/native code/.test(String(Qr)),Kr=_t,Jr=(0,St.exports)("keys"),ti=function(t){return Jr[t]||(Jr[t]=Kr(t))},ri={},ii=G,ei=$r,ni=$t,si=ti,ai=ri,oi="Object already initialized",hi=n.TypeError;if(Zr||Et.state){var ui=Et.state||(Et.state=new(0,n.WeakMap));ui.get=ui.get,ui.has=ui.has,ui.set=ui.set,Ur=function(t,r){if(ui.has(t))throw hi(oi);return r.facade=t,ui.set(t,r),r},Vr=function(t){return ui.get(t)||{}},Hr=function(t){return ui.has(t)}}else{var ci=si("state");ai[ci]=!0,Ur=function(t,r){if(ni(t,ci))throw hi(oi);return r.facade=t,ei(t,ci,r),r},Vr=function(t){return ni(t,ci)?t[ci]:{}},Hr=function(t){return ni(t,ci)}}var fi={set:Ur,get:Vr,has:Hr,enforce:function(t){return Hr(t)?Vr(t):Ur(t,{})},getterFor:function(t){return function(r){var i;if(!ii(r)||(i=Vr(r)).type!==t)throw hi("Incompatible receiver, "+t+" required");return i}}},li=M,vi=a,di=Y,pi=$t,yi=o,gi=Yr.CONFIGURABLE,mi=Wr,bi=fi.enforce,wi=fi.get,xi=String,Mi=Object.defineProperty,ki=li("".slice),Si=li("".replace),Ni=li([].join),ji=yi&&!vi((function(){return 8!==Mi((function(){}),"length",{value:8}).length})),Pi=String(String).split("String"),Oi=Ir.exports=function(t,r,i){"Symbol("===ki(xi(r),0,7)&&(r="["+Si(xi(r),/^Symbol\(([^)]*)\)/,"$1")+"]"),i&&i.getter&&(r="get "+r),i&&i.setter&&(r="set "+r),(!pi(t,"name")||gi&&t.name!==r)&&(yi?Mi(t,"name",{value:r,configurable:!0}):t.name=r),ji&&i&&pi(i,"arity")&&t.length!==i.arity&&Mi(t,"length",{value:i.arity});try{i&&pi(i,"constructor")&&i.constructor?yi&&Mi(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var e=bi(t);return pi(e,"source")||(e.source=Ni(Pi,"string"==typeof r?r:"")),t};Function.prototype.toString=Oi((function(){return di(this)&&wi(this).source||mi(this)}),"toString");var Ei=Y,Ti=br,Ci=Ir.exports,Ai=Pt,Ri=function(t,r,i,e){e||(e={});var n=e.enumerable,s=void 0!==e.name?e.name:r;if(Ei(i)&&Ci(i,s,e),e.global)n?t[r]=i:Ai(r,i);else{try{e.unsafe?t[r]&&(n=!0):delete t[r]}catch(t){}n?t[r]=i:Ti.f(t,r,{value:i,enumerable:!1,configurable:!e.nonConfigurable,writable:!e.nonWritable})}return t},Bi={},Li=Math.ceil,$i=Math.floor,Ii=Math.trunc||function(t){var r=+t;return(r>0?$i:Li)(r)},Di=Ii,Fi=function(t){var r=+t;return r!=r||0===r?0:Di(r)},zi=Fi,_i=Math.max,Yi=Math.min,Xi=function(t,r){var i=zi(t);return i<0?_i(i+r,0):Yi(i,r)},qi=Fi,Gi=Math.min,Ui=function(t){return t>0?Gi(qi(t),9007199254740991):0},Vi=Ui,Hi=function(t){return Vi(t.length)},Wi=D,Qi=Xi,Zi=Hi,Ki=function(t){return function(r,i,e){var n,s=Wi(r),a=Zi(s),o=Qi(e,a);if(t&&i!=i){for(;a>o;)if((n=s[o++])!=n)return!0}else for(;a>o;o++)if((t||o in s)&&s[o]===i)return t||o||0;return!t&&-1}},Ji={includes:Ki(!0),indexOf:Ki(!1)},te=$t,re=D,ie=Ji.indexOf,ee=ri,ne=M([].push),se=function(t,r){var i,e=re(t),n=0,s=[];for(i in e)!te(ee,i)&&te(e,i)&&ne(s,i);for(;r.length>n;)te(e,i=r[n++])&&(~ie(s,i)||ne(s,i));return s},ae=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],oe=se,he=ae.concat("length","prototype");Bi.f=Object.getOwnPropertyNames||function(t){return oe(t,he)};var ue={};ue.f=Object.getOwnPropertySymbols;var ce=H,fe=Bi,le=ue,ve=Sr,de=M([].concat),pe=ce("Reflect","ownKeys")||function(t){var r=fe.f(ve(t)),i=le.f;return i?de(r,i(t)):r},ye=$t,ge=pe,me=s,be=br,we=a,xe=Y,Me=/#|\.prototype\./,ke=function(t,r){var i=Ne[Se(t)];return i==Pe||i!=je&&(xe(r)?we(r):!!r)},Se=ke.normalize=function(t){return String(t).replace(Me,".").toLowerCase()},Ne=ke.data={},je=ke.NATIVE="N",Pe=ke.POLYFILL="P",Oe=ke,Ee=n,Te=s.f,Ce=$r,Ae=Ri,Re=Pt,Be=function(t,r,i){for(var e=ge(r),n=be.f,s=me.f,a=0;a<e.length;a++){var o=e[a];ye(t,o)||i&&ye(i,o)||n(t,o,s(r,o))}},Le=Oe,$e=function(t,r){var i,e,n,s,a,o=t.target,h=t.global,u=t.stat;if(i=h?Ee:u?Ee[o]||Re(o,{}):(Ee[o]||{}).prototype)for(e in r){if(s=r[e],n=t.dontCallGetSet?(a=Te(i,e))&&a.value:i[e],!Le(h?e:o+(u?".":"#")+e,t.forced)&&void 0!==n){if(typeof s==typeof n)continue;Be(s,n)}(t.sham||n&&n.sham)&&Ce(s,"sham",!0),Ae(i,e,s,t)}},Ie="undefined"!=typeof process&&"process"==j(process),De=Y,Fe=String,ze=TypeError,_e=M,Ye=Sr,Xe=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,i={};try{(t=_e(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(i,[]),r=i instanceof Array}catch(t){}return function(i,e){return Ye(i),function(t){if("object"==typeof t||De(t))return t;throw ze("Can't set "+Fe(t)+" as a prototype")}(e),r?t(i,e):i.__proto__=e,i}}():void 0),qe=br.f,Ge=$t,Ue=Wt("toStringTag"),Ve=function(t,r,i){t&&!i&&(t=t.prototype),t&&!Ge(t,Ue)&&qe(t,Ue,{configurable:!0,value:r})},He=H,We=br,Qe=o,Ze=Wt("species"),Ke=W,Je=TypeError,tn={};tn[Wt("toStringTag")]="z";var rn="[object z]"===String(tn),en=Y,nn=j,sn=Wt("toStringTag"),an=Object,on="Arguments"==nn(function(){return arguments}()),hn=rn?nn:function(t){var r,i,e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,r){try{return t[r]}catch(t){}}(r=an(t),sn))?i:on?nn(r):"Object"==(e=nn(r))&&en(r.callee)?"Arguments":e},un=M,cn=a,fn=Y,ln=hn,vn=Wr,dn=function(){},pn=[],yn=H("Reflect","construct"),gn=/^\s*(?:class|function)\b/,mn=un(gn.exec),bn=!gn.exec(dn),wn=function(t){if(!fn(t))return!1;try{return yn(dn,pn,t),!0}catch(t){return!1}},xn=function(t){if(!fn(t))return!1;switch(ln(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return bn||!!mn(gn,vn(t))}catch(t){return!0}};xn.sham=!0;var Mn,kn,Sn,Nn,jn=!yn||cn((function(){var t;return wn(wn.call)||!wn(Object)||!wn((function(){t=!0}))||t}))?xn:wn,Pn=jn,On=lt,En=TypeError,Tn=Sr,Cn=A,An=Wt("species"),Rn=function(t,r){var i,e=Tn(t).constructor;return void 0===e||Cn(i=Tn(e)[An])?r:function(t){if(Pn(t))return t;throw En(On(t)+" is not a constructor")}(i)},Bn=Function.prototype,Ln=Bn.apply,$n=Bn.call,In="object"==typeof Reflect&&Reflect.apply||(h?$n.bind(Ln):function(){return $n.apply(Ln,arguments)}),Dn=j,Fn=M,zn=function(t){if("Function"===Dn(t))return Fn(t)},_n=yt,Yn=h,Xn=zn(zn.bind),qn=function(t,r){return _n(t),void 0===r?t:Yn?Xn(t,r):function(){return t.apply(r,arguments)}},Gn=H("document","documentElement"),Un=M([].slice),Vn=TypeError,Hn=/(?:ipad|iphone|ipod).*applewebkit/i.test(Q),Wn=n,Qn=In,Zn=qn,Kn=Y,Jn=$t,ts=a,rs=Gn,is=Un,es=hr,ns=Hn,ss=Ie,as=Wn.setImmediate,os=Wn.clearImmediate,hs=Wn.process,us=Wn.Dispatch,cs=Wn.Function,fs=Wn.MessageChannel,ls=Wn.String,vs=0,ds={},ps="onreadystatechange";ts((function(){Mn=Wn.location}));var ys=function(t){if(Jn(ds,t)){var r=ds[t];delete ds[t],r()}},gs=function(t){return function(){ys(t)}},ms=function(t){ys(t.data)},bs=function(t){Wn.postMessage(ls(t),Mn.protocol+"//"+Mn.host)};as&&os||(as=function(t){!function(t,r){if(t<r)throw Vn("Not enough arguments")}(arguments.length,1);var r=Kn(t)?t:cs(t),i=is(arguments,1);return ds[++vs]=function(){Qn(r,void 0,i)},kn(vs),vs},os=function(t){delete ds[t]},ss?kn=function(t){hs.nextTick(gs(t))}:us&&us.now?kn=function(t){us.now(gs(t))}:fs&&!ns?(Nn=(Sn=new fs).port2,Sn.port1.onmessage=ms,kn=Zn(Nn.postMessage,Nn)):Wn.addEventListener&&Kn(Wn.postMessage)&&!Wn.importScripts&&Mn&&"file:"!==Mn.protocol&&!ts(bs)?(kn=bs,Wn.addEventListener("message",ms,!1)):kn=ps in es("script")?function(t){rs.appendChild(es("script"))[ps]=function(){rs.removeChild(this),ys(t)}}:function(t){setTimeout(gs(t),0)});var ws={set:as,clear:os},xs=function(){this.head=null,this.tail=null};xs.prototype={add:function(t){var r={item:t,next:null},i=this.tail;i?i.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}};var Ms,ks,Ss,Ns,js,Ps=xs,Os=/ipad|iphone|ipod/i.test(Q)&&"undefined"!=typeof Pebble,Es=/web0s(?!.*chrome)/i.test(Q),Ts=n,Cs=qn,As=ws.set,Rs=Ps,Bs=Hn,Ls=Os,$s=Es,Is=Ie,Ds=Ts.MutationObserver||Ts.WebKitMutationObserver,Fs=Ts.document,zs=Ts.process,_s=Ts.Promise,Ys=(0,s.f)(Ts,"queueMicrotask"),Xs=Ys&&Ys.value;if(!Xs){var qs=new Rs,Gs=function(){var t,r;for(Is&&(t=zs.domain)&&t.exit();r=qs.get();)try{r()}catch(t){throw qs.head&&Ms(),t}t&&t.enter()};Bs||Is||$s||!Ds||!Fs?!Ls&&_s&&_s.resolve?((Ns=_s.resolve(void 0)).constructor=_s,js=Cs(Ns.then,Ns),Ms=function(){js(Gs)}):Is?Ms=function(){zs.nextTick(Gs)}:(As=Cs(As,Ts),Ms=function(){As(Gs)}):(ks=!0,Ss=Fs.createTextNode(""),new Ds(Gs).observe(Ss,{characterData:!0}),Ms=function(){Ss.data=ks=!ks}),Xs=function(t){qs.head||Ms(),qs.add(t)}}var Us=Xs,Vs=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Hs=n.Promise,Ws="object"==typeof Deno&&Deno&&"object"==typeof Deno.version,Qs=!Ws&&!Ie&&"object"==typeof window&&"object"==typeof document,Zs=n,Ks=Hs,Js=Y,ta=Oe,ra=Wr,ia=Qs,ea=Ws,na=it,sa=Wt("species"),aa=!1,oa=Js(Zs.PromiseRejectionEvent),ha=ta("Promise",(function(){var t=ra(Ks),r=t!==String(Ks);if(!r&&66===na)return!0;if(!na||na<51||!/native code/.test(t)){var i=new Ks((function(t){t(1)})),e=function(t){t((function(){}),(function(){}))};if((i.constructor={})[sa]=e,!(aa=i.then((function(){}))instanceof e))return!0}return!r&&(ia||ea)&&!oa})),ua={CONSTRUCTOR:ha,REJECTION_EVENT:oa,SUBCLASSING:aa},ca={},fa=yt,la=TypeError,va=function(t){var r,i;this.promise=new t((function(t,e){if(void 0!==r||void 0!==i)throw la("Bad Promise constructor");r=t,i=e})),this.resolve=fa(r),this.reject=fa(i)};ca.f=function(t){return new va(t)};var da,pa,ya,ga,ma=$e,ba=Ie,wa=n,xa=c,Ma=Ri,ka=Xe,Sa=Ve,Na=yt,ja=Y,Pa=G,Oa=Rn,Ea=ws.set,Ta=Us,Ca=Vs,Aa=Ps,Ra=fi,Ba=Hs,La=ca,$a="Promise",Ia=ua.CONSTRUCTOR,Da=ua.REJECTION_EVENT,Fa=ua.SUBCLASSING,za=Ra.getterFor($a),_a=Ra.set,Ya=Ba&&Ba.prototype,Xa=Ba,qa=Ya,Ga=wa.TypeError,Ua=wa.document,Va=wa.process,Ha=La.f,Wa=Ha,Qa=!!(Ua&&Ua.createEvent&&wa.dispatchEvent),Za="unhandledrejection",Ka=function(t){var r;return!(!Pa(t)||!ja(r=t.then))&&r},Ja=function(t,r){var i,e,n,s=r.value,a=1==r.state,o=a?t.ok:t.fail,h=t.resolve,u=t.reject,c=t.domain;try{o?(a||(2===r.rejection&&no(r),r.rejection=1),!0===o?i=s:(c&&c.enter(),i=o(s),c&&(c.exit(),n=!0)),i===t.promise?u(Ga("Promise-chain cycle")):(e=Ka(i))?xa(e,i,h,u):h(i)):u(s)}catch(t){c&&!n&&c.exit(),u(t)}},to=function(t,r){t.notified||(t.notified=!0,Ta((function(){for(var i,e=t.reactions;i=e.get();)Ja(i,t);t.notified=!1,r&&!t.rejection&&io(t)})))},ro=function(t,r,i){var e,n;Qa?((e=Ua.createEvent("Event")).promise=r,e.reason=i,e.initEvent(t,!1,!0),wa.dispatchEvent(e)):e={promise:r,reason:i},!Da&&(n=wa["on"+t])?n(e):t===Za&&function(t,r){try{1==arguments.length?console.error(t):console.error(t,r)}catch(t){}}("Unhandled promise rejection",i)},io=function(t){xa(Ea,wa,(function(){var r,i=t.facade,e=t.value;if(eo(t)&&(r=Ca((function(){ba?Va.emit("unhandledRejection",e,i):ro(Za,i,e)})),t.rejection=ba||eo(t)?2:1,r.error))throw r.value}))},eo=function(t){return 1!==t.rejection&&!t.parent},no=function(t){xa(Ea,wa,(function(){var r=t.facade;ba?Va.emit("rejectionHandled",r):ro("rejectionhandled",r,t.value)}))},so=function(t,r,i){return function(e){t(r,e,i)}},ao=function(t,r,i){t.done||(t.done=!0,i&&(t=i),t.value=r,t.state=2,to(t,!0))},oo=function(t,r,i){if(!t.done){t.done=!0,i&&(t=i);try{if(t.facade===r)throw Ga("Promise can't be resolved itself");var e=Ka(r);e?Ta((function(){var i={done:!1};try{xa(e,r,so(oo,i,t),so(ao,i,t))}catch(r){ao(i,r,t)}})):(t.value=r,t.state=1,to(t,!1))}catch(r){ao({done:!1},r,t)}}};if(Ia&&(Xa=function(t){(function(t,r){if(Ke(r,t))return t;throw Je("Incorrect invocation")})(this,qa),Na(t),xa(da,this);var r=za(this);try{t(so(oo,r),so(ao,r))}catch(t){ao(r,t)}},(da=function(){_a(this,{type:$a,done:!1,notified:!1,parent:!1,reactions:new Aa,rejection:!1,state:0,value:void 0})}).prototype=Ma(qa=Xa.prototype,"then",(function(t,r){var i=za(this),e=Ha(Oa(this,Xa));return i.parent=!0,e.ok=!ja(t)||t,e.fail=ja(r)&&r,e.domain=ba?Va.domain:void 0,0==i.state?i.reactions.add(e):Ta((function(){Ja(e,i)})),e.promise})),pa=function(){var t=new da,r=za(t);this.promise=t,this.resolve=so(oo,r),this.reject=so(ao,r)},La.f=Ha=function(t){return t===Xa||void 0===t?new pa(t):Wa(t)},ja(Ba)&&Ya!==Object.prototype)){ya=Ya.then,Fa||Ma(Ya,"then",(function(t,r){var i=this;return new Xa((function(t,r){xa(ya,i,t,r)})).then(t,r)}),{unsafe:!0});try{delete Ya.constructor}catch(t){}ka&&ka(Ya,qa)}ma({global:!0,constructor:!0,wrap:!0,forced:Ia},{Promise:Xa}),Sa(Xa,$a,!1),ga=He($a),Qe&&ga&&!ga[Ze]&&(0,We.f)(ga,Ze,{configurable:!0,get:function(){return this}});var ho={},uo=ho,co=Wt("iterator"),fo=Array.prototype,lo=hn,vo=bt,po=A,yo=ho,go=Wt("iterator"),mo=function(t){if(!po(t))return vo(t,go)||vo(t,"@@iterator")||yo[lo(t)]},bo=c,wo=yt,xo=Sr,Mo=lt,ko=mo,So=TypeError,No=c,jo=Sr,Po=bt,Oo=qn,Eo=c,To=Sr,Co=lt,Ao=Hi,Ro=W,Bo=mo,Lo=function(t,r,i){var e,n;jo(t);try{if(!(e=Po(t,"return"))){if("throw"===r)throw i;return i}e=No(e,t)}catch(t){n=!0,e=t}if("throw"===r)throw i;if(n)throw e;return jo(e),i},$o=TypeError,Io=function(t,r){this.stopped=t,this.result=r},Do=Io.prototype,Fo=function(t,r,i){var e,n,s,a,o,h,u,c,f=!(!i||!i.AS_ENTRIES),l=!(!i||!i.IS_RECORD),v=!(!i||!i.IS_ITERATOR),d=!(!i||!i.INTERRUPTED),p=Oo(r,i&&i.that),y=function(t){return e&&Lo(e,"normal",t),new Io(!0,t)},g=function(t){return f?(To(t),d?p(t[0],t[1],y):p(t[0],t[1])):d?p(t,y):p(t)};if(l)e=t.iterator;else if(v)e=t;else{if(!(n=Bo(t)))throw $o(Co(t)+" is not iterable");if(void 0!==(c=n)&&(uo.Array===c||fo[co]===c)){for(s=0,a=Ao(t);a>s;s++)if((o=g(t[s]))&&Ro(Do,o))return o;return new Io(!1)}e=function(t,r){var i=arguments.length<2?ko(t):r;if(wo(i))return xo(bo(i,t));throw So(Mo(t)+" is not iterable")}(t,n)}for(h=l?t.next:e.next;!(u=Eo(h,e)).done;){try{o=g(u.value)}catch(t){Lo(e,"throw",t)}if("object"==typeof o&&o&&Ro(Do,o))return o}return new Io(!1)},zo=Wt("iterator"),_o=!1;try{var Yo=0,Xo={next:function(){return{done:!!Yo++}},return:function(){_o=!0}};Xo[zo]=function(){return this},Array.from(Xo,(function(){throw 2}))}catch(t){}var qo=Hs,Go=ua.CONSTRUCTOR||!function(t,r){if(!r&&!_o)return!1;var i=!1;try{var e={};e[zo]=function(){return{next:function(){return{done:i=!0}}}},t(e)}catch(t){}return i}((function(t){qo.all(t).then(void 0,(function(){}))})),Uo=c,Vo=yt,Ho=ca,Wo=Vs,Qo=Fo;$e({target:"Promise",stat:!0,forced:Go},{all:function(t){var r=this,i=Ho.f(r),e=i.resolve,n=i.reject,s=Wo((function(){var i=Vo(r.resolve),s=[],a=0,o=1;Qo(t,(function(t){var h=a++,u=!1;o++,Uo(i,r,t).then((function(t){u||(u=!0,s[h]=t,--o||e(s))}),n)})),--o||e(s)}));return s.error&&n(s.value),i.promise}});var Zo=Hs,Ko=H,Jo=Y,th=Ri,rh=Zo&&Zo.prototype;if($e({target:"Promise",proto:!0,forced:ua.CONSTRUCTOR,real:!0},{catch:function(t){return this.then(void 0,t)}}),Jo(Zo)){var ih=Ko("Promise").prototype.catch;rh.catch!==ih&&th(rh,"catch",ih,{unsafe:!0})}var eh=c,nh=yt,sh=ca,ah=Vs,oh=Fo;$e({target:"Promise",stat:!0,forced:Go},{race:function(t){var r=this,i=sh.f(r),e=i.reject,n=ah((function(){var n=nh(r.resolve);oh(t,(function(t){eh(n,r,t).then(i.resolve,e)}))}));return n.error&&e(n.value),i.promise}});var hh=c,uh=ca;$e({target:"Promise",stat:!0,forced:ua.CONSTRUCTOR},{reject:function(t){var r=uh.f(this);return hh(r.reject,void 0,t),r.promise}});var ch=Sr,fh=G,lh=ca;$e({target:"Promise",stat:!0,forced:ua.CONSTRUCTOR},{resolve:function(t){return function(t,r){if(ch(t),fh(r)&&r.constructor===t)return r;var i=lh.f(t);return(0,i.resolve)(r),i.promise}(this,t)}});var vh={exports:{}};!function(t){function r(t,r,i,e,n,s,a){try{var o=t[s](a),h=o.value}catch(t){return void i(t)}o.done?r(h):Promise.resolve(h).then(e,n)}t.exports=function(t){return function(){var i=this,e=arguments;return new Promise((function(n,s){var a=t.apply(i,e);function o(t){r(a,n,s,o,h,"next",t)}function h(t){r(a,n,s,o,h,"throw",t)}o(void 0)}))}},t.exports.__esModule=!0,t.exports.default=t.exports}(vh);const dh=r(vh.exports);var ph=hn,yh=String,gh=function(t){if("Symbol"===ph(t))throw TypeError("Cannot convert a Symbol value to a string");return yh(t)},mh=Sr,bh=function(){var t=mh(this),r="";return t.hasIndices&&(r+="d"),t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.unicodeSets&&(r+="v"),t.sticky&&(r+="y"),r},wh=a,xh=n.RegExp,Mh=wh((function(){var t=xh("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),kh=Mh||wh((function(){return!xh("a","y").sticky})),Sh={BROKEN_CARET:Mh||wh((function(){var t=xh("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),MISSED_STICKY:kh,UNSUPPORTED_Y:Mh},Nh={},jh=se,Ph=ae,Oh=Object.keys||function(t){return jh(t,Ph)},Eh=br,Th=Sr,Ch=D,Ah=Oh;Nh.f=o&&!wr?Object.defineProperties:function(t,r){Th(t);for(var i,e=Ch(r),n=Ah(r),s=n.length,a=0;s>a;)Eh.f(t,i=n[a++],e[i]);return t};var Rh,Bh=Sr,Lh=Nh,$h=ae,Ih=ri,Dh=Gn,Fh=hr,zh="prototype",_h="script",Yh=ti("IE_PROTO"),Xh=function(){},qh=function(t){return"<"+_h+">"+t+"</"+_h+">"},Gh=function(t){t.write(qh("")),t.close();var r=t.parentWindow.Object;return t=null,r},Uh=function(){try{Rh=new ActiveXObject("htmlfile")}catch(t){}var t,r,i;Uh="undefined"!=typeof document?document.domain&&Rh?Gh(Rh):(r=Fh("iframe"),i="java"+_h+":",r.style.display="none",Dh.appendChild(r),r.src=String(i),(t=r.contentWindow.document).open(),t.write(qh("document.F=Object")),t.close(),t.F):Gh(Rh);for(var e=$h.length;e--;)delete Uh[zh][$h[e]];return Uh()};Ih[Yh]=!0;var Vh,Hh,Wh=Object.create||function(t,r){var i;return null!==t?(Xh[zh]=Bh(t),i=new Xh,Xh[zh]=null,i[Yh]=t):i=Uh(),void 0===r?i:Lh.f(i,r)},Qh=n.RegExp,Zh=a((function(){var t=Qh(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)})),Kh=n.RegExp,Jh=a((function(){var t=Kh("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),tu=c,ru=M,iu=gh,eu=bh,nu=Sh,su=Wh,au=fi.get,ou=Zh,hu=Jh,uu=(0,St.exports)("native-string-replace",String.prototype.replace),cu=RegExp.prototype.exec,fu=cu,lu=ru("".charAt),vu=ru("".indexOf),du=ru("".replace),pu=ru("".slice),yu=(Hh=/b*/g,tu(cu,Vh=/a/,"a"),tu(cu,Hh,"a"),0!==Vh.lastIndex||0!==Hh.lastIndex),gu=nu.BROKEN_CARET,mu=void 0!==/()??/.exec("")[1];(yu||mu||gu||ou||hu)&&(fu=function(t){var r,i,e,n,s,a,o,h=this,u=au(h),c=iu(t),f=u.raw;if(f)return f.lastIndex=h.lastIndex,r=tu(fu,f,c),h.lastIndex=f.lastIndex,r;var l=u.groups,v=gu&&h.sticky,d=tu(eu,h),p=h.source,y=0,g=c;if(v&&(d=du(d,"y",""),-1===vu(d,"g")&&(d+="g"),g=pu(c,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==lu(c,h.lastIndex-1))&&(p="(?: "+p+")",g=" "+g,y++),i=new RegExp("^(?:"+p+")",d)),mu&&(i=new RegExp("^"+p+"$(?!\\s)",d)),yu&&(e=h.lastIndex),n=tu(cu,v?i:h,g),v?n?(n.input=pu(n.input,y),n[0]=pu(n[0],y),n.index=h.lastIndex,h.lastIndex+=n[0].length):h.lastIndex=0:yu&&n&&(h.lastIndex=h.global?n.index+n[0].length:e),mu&&n&&n.length>1&&tu(uu,n[0],i,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(n[s]=void 0)})),n&&l)for(n.groups=a=su(null),s=0;s<l.length;s++)a[(o=l[s])[0]]=n[o[1]];return n});var bu=fu;$e({target:"RegExp",proto:!0,forced:/./.exec!==bu},{exec:bu});var wu=zn,xu=Ri,Mu=bu,ku=a,Su=Wt,Nu=$r,ju=Su("species"),Pu=RegExp.prototype,Ou=function(t,r,i,e){var n=Su(t),s=!ku((function(){var r={};return r[n]=function(){return 7},7!=""[t](r)})),a=s&&!ku((function(){var r=!1,i=/a/;return"split"===t&&((i={}).constructor={},i.constructor[ju]=function(){return i},i.flags="",i[n]=/./[n]),i.exec=function(){return r=!0,null},i[n](""),!r}));if(!s||!a||i){var o=wu(/./[n]),h=r(n,""[t],(function(t,r,i,e,n){var a=wu(t),h=r.exec;return h===Mu||h===Pu.exec?s&&!n?{done:!0,value:o(r,i,e)}:{done:!0,value:a(i,r,e)}:{done:!1}}));xu(String.prototype,t,h[0]),xu(Pu,n,h[1])}e&&Nu(Pu[n],"sham",!0)},Eu=M,Tu=Fi,Cu=gh,Au=L,Ru=Eu("".charAt),Bu=Eu("".charCodeAt),Lu=Eu("".slice),$u=function(t){return function(r,i){var e,n,s=Cu(Au(r)),a=Tu(i),o=s.length;return a<0||a>=o?t?"":void 0:(e=Bu(s,a))<55296||e>56319||a+1===o||(n=Bu(s,a+1))<56320||n>57343?t?Ru(s,a):e:t?Lu(s,a,a+2):n-56320+(e-55296<<10)+65536}},Iu=($u(!1),$u(!0)),Du=function(t,r,i){return r+(i?Iu(t,r).length:1)},Fu=c,zu=Sr,_u=Y,Yu=j,Xu=bu,qu=TypeError,Gu=function(t,r){var i=t.exec;if(_u(i)){var e=Fu(i,t,r);return null!==e&&zu(e),e}if("RegExp"===Yu(t))return Fu(Xu,t,r);throw qu("RegExp#exec called on incompatible receiver")},Uu=c,Vu=Sr,Hu=A,Wu=Ui,Qu=gh,Zu=L,Ku=bt,Ju=Du,tc=Gu;Ou("match",(function(t,r,i){return[function(r){var i=Zu(this),e=Hu(r)?void 0:Ku(r,t);return e?Uu(e,r,i):new RegExp(r)[t](Qu(i))},function(t){var e=Vu(this),n=Qu(t),s=i(r,e,n);if(s.done)return s.value;if(!e.global)return tc(e,n);var a=e.unicode;e.lastIndex=0;for(var o,h=[],u=0;null!==(o=tc(e,n));){var c=Qu(o[0]);h[u]=c,""===c&&(e.lastIndex=Ju(n,Wu(e.lastIndex),a)),u++}return 0===u?null:h}]}));var rc=M,ic=Rt,ec=Math.floor,nc=rc("".charAt),sc=rc("".replace),ac=rc("".slice),oc=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,hc=/\$([$&'`]|\d{1,2})/g,uc=In,cc=c,fc=M,lc=Ou,vc=a,dc=Sr,pc=Y,yc=A,gc=Fi,mc=Ui,bc=gh,wc=L,xc=Du,Mc=bt,kc=function(t,r,i,e,n,s){var a=i+t.length,o=e.length,h=hc;return void 0!==n&&(n=ic(n),h=oc),sc(s,h,(function(s,h){var u;switch(nc(h,0)){case"$":return"$";case"&":return t;case"`":return ac(r,0,i);case"'":return ac(r,a);case"<":u=n[ac(h,1,-1)];break;default:var c=+h;if(0===c)return s;if(c>o){var f=ec(c/10);return 0===f?s:f<=o?void 0===e[f-1]?nc(h,1):e[f-1]+nc(h,1):s}u=e[c-1]}return void 0===u?"":u}))},Sc=Gu,Nc=Wt("replace"),jc=Math.max,Pc=Math.min,Oc=fc([].concat),Ec=fc([].push),Tc=fc("".indexOf),Cc=fc("".slice),Ac="$0"==="a".replace(/./,"$0"),Rc=!!/./[Nc]&&""===/./[Nc]("a","$0");lc("replace",(function(t,r,i){var e=Rc?"$":"$0";return[function(t,i){var e=wc(this),n=yc(t)?void 0:Mc(t,Nc);return n?cc(n,t,e,i):cc(r,bc(e),t,i)},function(t,n){var s=dc(this),a=bc(t);if("string"==typeof n&&-1===Tc(n,e)&&-1===Tc(n,"$<")){var o=i(r,s,a,n);if(o.done)return o.value}var h=pc(n);h||(n=bc(n));var u=s.global;if(u){var c=s.unicode;s.lastIndex=0}for(var f=[];;){var l=Sc(s,a);if(null===l)break;if(Ec(f,l),!u)break;""===bc(l[0])&&(s.lastIndex=xc(a,mc(s.lastIndex),c))}for(var v,d="",p=0,y=0;y<f.length;y++){for(var g=bc((l=f[y])[0]),m=jc(Pc(gc(l.index),a.length),0),b=[],w=1;w<l.length;w++)Ec(b,void 0===(v=l[w])?v:String(v));var x=l.groups;if(h){var M=Oc([g],b,m,a);void 0!==x&&Ec(M,x);var k=bc(uc(n,void 0,M))}else k=kc(g,a,m,b,x,n);m>=p&&(d+=Cc(a,p,m)+k,p=m+g.length)}return d+Cc(a,p)}]}),!!vc((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!Ac||Rc);var Bc,Lc=G,$c=j,Ic=Wt("match"),Dc=function(t){var r;return Lc(t)&&(void 0!==(r=t[Ic])?!!r:"RegExp"==$c(t))},Fc=Dc,zc=TypeError,_c=function(t){if(Fc(t))throw zc("The method doesn't accept regular expressions");return t},Yc=Wt("match"),Xc=function(t){var r=/./;try{"/./"[t](r)}catch(i){try{return r[Yc]=!1,"/./"[t](r)}catch(t){}}return!1},qc=$e,Gc=zn,Uc=s.f,Vc=Ui,Hc=gh,Wc=_c,Qc=L,Zc=Xc,Kc=Gc("".startsWith),Jc=Gc("".slice),tf=Math.min,rf=Zc("startsWith");qc({target:"String",proto:!0,forced:!(!rf&&(Bc=Uc(String.prototype,"startsWith"),Bc&&!Bc.writable)||rf)},{startsWith:function(t){var r=Hc(Qc(this));Wc(t);var i=Vc(tf(arguments.length>1?arguments[1]:void 0,r.length)),e=Hc(t);return Kc?Kc(r,e,i):Jc(r,i,i+e.length)===e}});var ef=Wh,nf=br.f,sf=Wt("unscopables"),af=Array.prototype;null==af[sf]&&nf(af,sf,{configurable:!0,value:ef(null)});var of,hf,uf,cf=!a((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),ff=$t,lf=Y,vf=Rt,df=cf,pf=ti("IE_PROTO"),yf=Object,gf=yf.prototype,mf=df?yf.getPrototypeOf:function(t){var r=vf(t);if(ff(r,pf))return r[pf];var i=r.constructor;return lf(i)&&r instanceof i?i.prototype:r instanceof yf?gf:null},bf=a,wf=Y,xf=G,Mf=mf,kf=Ri,Sf=Wt("iterator"),Nf=!1;[].keys&&("next"in(uf=[].keys())?(hf=Mf(Mf(uf)))!==Object.prototype&&(of=hf):Nf=!0);var jf=!xf(of)||bf((function(){var t={};return of[Sf].call(t)!==t}));jf&&(of={}),wf(of[Sf])||kf(of,Sf,(function(){return this}));var Pf={IteratorPrototype:of,BUGGY_SAFARI_ITERATORS:Nf},Of=Pf.IteratorPrototype,Ef=Wh,Tf=g,Cf=Ve,Af=ho,Rf=function(){return this},Bf=$e,Lf=c,$f=Y,If=mf,Df=Xe,Ff=Ve,zf=$r,_f=Ri,Yf=ho,Xf=Yr.PROPER,qf=Yr.CONFIGURABLE,Gf=Pf.IteratorPrototype,Uf=Pf.BUGGY_SAFARI_ITERATORS,Vf=Wt("iterator"),Hf="keys",Wf="values",Qf="entries",Zf=function(){return this},Kf=D,Jf=function(t){af[sf][t]=!0},tl=ho,rl=br.f,il=function(t,r){return{value:t,done:r}},el=o,nl="Array Iterator",sl=fi.set,al=fi.getterFor(nl),ol=function(t,r,i,e,n,s,a){!function(t,r,i,e){var n=r+" Iterator";t.prototype=Ef(Of,{next:Tf(+!e,i)}),Cf(t,n,!1),Af[n]=Rf}(i,r,e);var o,h,u,c=function(t){if(t===n&&p)return p;if(!Uf&&t in v)return v[t];switch(t){case Hf:case Wf:case Qf:return function(){return new i(this,t)}}return function(){return new i(this)}},f=r+" Iterator",l=!1,v=t.prototype,d=v[Vf]||v["@@iterator"]||n&&v[n],p=!Uf&&d||c(n),y="Array"==r&&v.entries||d;if(y&&(o=If(y.call(new t)))!==Object.prototype&&o.next&&(If(o)!==Gf&&(Df?Df(o,Gf):$f(o[Vf])||_f(o,Vf,Zf)),Ff(o,f,!0)),Xf&&n==Wf&&d&&d.name!==Wf&&(qf?zf(v,"name",Wf):(l=!0,p=function(){return Lf(d,this)})),n)if(h={values:c(Wf),keys:s?p:c(Hf),entries:c(Qf)},a)for(u in h)(Uf||l||!(u in v))&&_f(v,u,h[u]);else Bf({target:r,proto:!0,forced:Uf||l},h);return v[Vf]!==p&&_f(v,Vf,p,{name:n}),Yf[r]=p,h}(Array,"Array",(function(t,r){sl(this,{type:nl,target:Kf(t),index:0,kind:r})}),(function(){var t=al(this),r=t.target,i=t.kind,e=t.index++;return!r||e>=r.length?(t.target=void 0,il(void 0,!0)):il("keys"==i?e:"values"==i?r[e]:[e,r[e]],!1)}),"values"),hl=tl.Arguments=tl.Array;if(Jf("keys"),Jf("values"),Jf("entries"),el&&"values"!==hl.name)try{rl(hl,"name",{value:"values"})}catch(t){}var ul=hr("span").classList,cl=ul&&ul.constructor&&ul.constructor.prototype,fl=n,ll={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},vl=cl===Object.prototype?void 0:cl,dl=ol,pl=$r,yl=Wt,gl=yl("iterator"),ml=yl("toStringTag"),bl=dl.values,wl=function(t,r){if(t){if(t[gl]!==bl)try{pl(t,gl,bl)}catch(r){t[gl]=bl}if(t[ml]||pl(t,ml,r),ll[r])for(var i in dl)if(t[i]!==dl[i])try{pl(t,i,dl[i])}catch(r){t[i]=dl[i]}}};for(var xl in ll)wl(fl[xl]&&fl[xl].prototype,xl);wl(vl,"DOMTokenList");var Ml={exports:{}},kl={exports:{}},Sl={exports:{}};!function(t){var r=i.exports.default;t.exports=function(t,i){if("object"!==r(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,i||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===i?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports}(Sl),function(t){var r=i.exports.default,e=Sl.exports;t.exports=function(t){var i=e(t,"string");return"symbol"===r(i)?i:String(i)},t.exports.__esModule=!0,t.exports.default=t.exports}(kl),function(t){var r=kl.exports;t.exports=function(t,i,e){return(i=r(i))in t?Object.defineProperty(t,i,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[i]=e,t},t.exports.__esModule=!0,t.exports.default=t.exports}(Ml);const Nl=r(Ml.exports);var jl=yt,Pl=Rt,Ol=C,El=Hi,Tl=TypeError,Cl=function(t){return function(r,i,e,n){jl(i);var s=Pl(r),a=Ol(s),o=El(s),h=t?o-1:0,u=t?-1:1;if(e<2)for(;;){if(h in a){n=a[h],h+=u;break}if(h+=u,t?h<0:o<=h)throw Tl("Reduce of empty array with no initial value")}for(;t?h>=0:o>h;h+=u)h in a&&(n=i(n,a[h],h,s));return n}},Al={left:Cl(!1),right:Cl(!0)},Rl=a,Bl=function(t,r){var i=[][t];return!!i&&Rl((function(){i.call(null,r||function(){return 1},1)}))},Ll=Al.left;$e({target:"Array",proto:!0,forced:!Ie&&it>79&&it<83||!Bl("reduce")},{reduce:function(t){var r=arguments.length;return Ll(this,t,r,r>1?arguments[1]:void 0)}});var $l=$e,Il=zn,Dl=s.f,Fl=Ui,zl=gh,_l=_c,Yl=L,Xl=Xc,ql=Il("".endsWith),Gl=Il("".slice),Ul=Math.min,Vl=Xl("endsWith"),Hl=!Vl&&!!function(){var t=Dl(String.prototype,"endsWith");return t&&!t.writable}();$l({target:"String",proto:!0,forced:!Hl&&!Vl},{endsWith:function(t){var r=zl(Yl(this));_l(t);var i=arguments.length>1?arguments[1]:void 0,e=r.length,n=void 0===i?e:Ul(Fl(i),e),s=zl(t);return ql?ql(r,s,n):Gl(r,n-s.length,n)===s}});var Wl=nr,Ql=br,Zl=g,Kl=Xi,Jl=Hi,tv=Array,rv=Math.max,iv=In,ev=c,nv=M,sv=Ou,av=Sr,ov=A,hv=Dc,uv=L,cv=Rn,fv=Du,lv=Ui,vv=gh,dv=bt,pv=function(t,r,i){for(var e=Jl(t),n=Kl(r,e),s=Kl(void 0===i?e:i,e),a=tv(rv(s-n,0)),o=0;n<s;n++,o++)h=a,u=t[n],c=void 0,(c=Wl(o))in h?Ql.f(h,c,Zl(0,u)):h[c]=u;var h,u,c;return a.length=o,a},yv=Gu,gv=bu,mv=a,bv=Sh.UNSUPPORTED_Y,wv=4294967295,xv=Math.min,Mv=[].push,kv=nv(/./.exec),Sv=nv(Mv),Nv=nv("".slice);sv("split",(function(t,r,i){var e;return e="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,i){var e=vv(uv(this)),n=void 0===i?wv:i>>>0;if(0===n)return[];if(void 0===t)return[e];if(!hv(t))return ev(r,e,t,n);for(var s,a,o,h=[],u=0,c=new RegExp(t.source,(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":"")+"g");(s=ev(gv,c,e))&&!((a=c.lastIndex)>u&&(Sv(h,Nv(e,u,s.index)),s.length>1&&s.index<e.length&&iv(Mv,h,pv(s,1)),o=s[0].length,u=a,h.length>=n));)c.lastIndex===s.index&&c.lastIndex++;return u===e.length?!o&&kv(c,"")||Sv(h,""):Sv(h,Nv(e,u)),h.length>n?pv(h,0,n):h}:"0".split(void 0,0).length?function(t,i){return void 0===t&&0===i?[]:ev(r,this,t,i)}:r,[function(r,i){var n=uv(this),s=ov(r)?void 0:dv(r,t);return s?ev(s,r,n,i):ev(e,vv(n),r,i)},function(t,n){var s=av(this),a=vv(t),o=i(e,s,a,n,e!==r);if(o.done)return o.value;var h=cv(s,RegExp),u=s.unicode,c=new h(bv?"^(?:"+s.source+")":s,(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(bv?"g":"y")),f=void 0===n?wv:n>>>0;if(0===f)return[];if(0===a.length)return null===yv(c,a)?[a]:[];for(var l=0,v=0,d=[];v<a.length;){c.lastIndex=bv?0:v;var p,y=yv(c,bv?Nv(a,v):a);if(null===y||(p=xv(lv(c.lastIndex+(bv?v:0)),a.length))===l)v=fv(a,v,u);else{if(Sv(d,Nv(a,l,v)),d.length===f)return d;for(var g=1;g<=y.length-1;g++)if(Sv(d,y[g]),d.length===f)return d;v=l=p}}return Sv(d,Nv(a,l)),d}]}),!!mv((function(){var t=/(?:)/,r=t.exec;t.exec=function(){return r.apply(this,arguments)};var i="ab".split(t);return 2!==i.length||"a"!==i[0]||"b"!==i[1]})),bv);var jv={exports:{}},Pv={exports:{}};(function(){var t,r,i,e,n,s;"undefined"!=typeof performance&&null!==performance&&performance.now?Pv.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(Pv.exports=function(){return(t()-n)/1e6},r=process.hrtime,e=(t=function(){var t;return 1e9*(t=r())[0]+t[1]})(),s=1e9*process.uptime(),n=e-s):Date.now?(Pv.exports=function(){return Date.now()-i},i=Date.now()):(Pv.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(t);for(var Ov=Pv.exports,Ev="undefined"==typeof window?t:window,Tv=["moz","webkit"],Cv="AnimationFrame",Av=Ev["request"+Cv],Rv=Ev["cancel"+Cv]||Ev["cancelRequest"+Cv],Bv=0;!Av&&Bv<Tv.length;Bv++)Av=Ev[Tv[Bv]+"Request"+Cv],Rv=Ev[Tv[Bv]+"Cancel"+Cv]||Ev[Tv[Bv]+"CancelRequest"+Cv];if(!Av||!Rv){var Lv=0,$v=0,Iv=[],Dv=1e3/60;Av=function(t){if(0===Iv.length){var r=Ov(),i=Math.max(0,Dv-(r-Lv));Lv=i+r,setTimeout((function(){var t=Iv.slice(0);Iv.length=0;for(var r=0;r<t.length;r++)if(!t[r].cancelled)try{t[r].callback(Lv)}catch(t){setTimeout((function(){throw t}),0)}}),Math.round(i))}return Iv.push({handle:++$v,callback:t,cancelled:!1}),$v},Rv=function(t){for(var r=0;r<Iv.length;r++)Iv[r].handle===t&&(Iv[r].cancelled=!0)}}jv.exports=function(t){return Av.call(Ev,t)},jv.exports.cancel=function(){Rv.apply(Ev,arguments)},jv.exports.polyfill=function(t){t||(t=Ev),t.requestAnimationFrame=Av,t.cancelAnimationFrame=Rv};const Fv=jv.exports;var zv,_v="\t\n\v\f\r \u2028\u2029\ufeff",Yv=L,Xv=gh,qv=_v,Gv=M("".replace),Uv="["+qv+"]",Vv=RegExp("^"+Uv+Uv+"*"),Hv=RegExp(Uv+Uv+"*$"),Wv=function(t){return function(r){var i=Xv(Yv(r));return 1&t&&(i=Gv(i,Vv,"")),2&t&&(i=Gv(i,Hv,"")),i}},Qv={start:Wv(1),end:Wv(2),trim:Wv(3)},Zv=Yr.PROPER,Kv=_v,Jv=Qv.trim;$e({target:"String",proto:!0,forced:(zv="trim",a((function(){return!!Kv[zv]()||"
"!=="
"[zv]()||Zv&&Kv[zv].name!==zv})))},{trim:function(){return Jv(this)}});var td=function(t){this.ok=!1,this.alpha=1,"#"==t.charAt(0)&&(t=t.substr(1,6)),t=(t=t.replace(/ /g,"")).toLowerCase();var r={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};t=r[t]||t;for(var i=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3]),parseFloat(t[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}],e=0;e<i.length;e++){var n=i[e].process,s=i[e].re.exec(t);if(s){var a=n(s);this.r=a[0],this.g=a[1],this.b=a[2],a.length>3&&(this.alpha=a[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var t=this.r.toString(16),r=this.g.toString(16),i=this.b.toString(16);return 1==t.length&&(t="0"+t),1==r.length&&(r="0"+r),1==i.length&&(i="0"+i),"#"+t+r+i},this.getHelpXML=function(){for(var t=new Array,e=0;e<i.length;e++)for(var n=i[e].example,s=0;s<n.length;s++)t[t.length]=n[s];for(var a in r)t[t.length]=a;var o=document.createElement("ul");for(o.setAttribute("id","rgbcolor-examples"),e=0;e<t.length;e++)try{var h=document.createElement("li"),u=new RGBColor(t[e]),c=document.createElement("div");c.style.cssText="margin: 3px; border: 1px solid black; background:"+u.toHex()+"; color:"+u.toHex(),c.appendChild(document.createTextNode("test"));var f=document.createTextNode(" "+t[e]+" -> "+u.toRGB()+" -> "+u.toHex());h.appendChild(c),h.appendChild(f),o.appendChild(h)}catch(t){}return o}},rd=$e,id=Ji.indexOf,ed=Bl,nd=zn([].indexOf),sd=!!nd&&1/nd([1],1,-0)<0;rd({target:"Array",proto:!0,forced:sd||!ed("indexOf")},{indexOf:function(t){var r=arguments.length>1?arguments[1]:void 0;return sd?nd(this,t,r)||0:id(this,t,r)}});var ad=$e,od=_c,hd=L,ud=gh,cd=Xc,fd=M("".indexOf);ad({target:"String",proto:!0,forced:!cd("includes")},{includes:function(t){return!!~fd(ud(hd(this)),ud(od(t)),arguments.length>1?arguments[1]:void 0)}});var ld=j,vd=$e,dd=Array.isArray||function(t){return"Array"==ld(t)},pd=M([].reverse),yd=[1,2];vd({target:"Array",proto:!0,forced:String(yd)===String(yd.reverse())},{reverse:function(){return dd(this)&&(this.length=this.length),pd(this)}});
|
7
7
|
/*! *****************************************************************************
|
8
8
|
Copyright (c) Microsoft Corporation.
|
9
9
|
|