@roadtrip/components 3.41.2 → 3.42.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/road-badge_14.cjs.entry.js +1612 -12
- package/dist/cjs/road-badge_14.cjs.entry.js.map +1 -1
- package/dist/cjs/road-card.cjs.entry.js +46 -16
- package/dist/cjs/road-card.cjs.entry.js.map +1 -1
- package/dist/cjs/road-navbar-v2.cjs.entry.js.map +1 -1
- package/dist/cjs/roadtrip.cjs.js +1 -1
- package/dist/collection/components/button/button.css +76 -5
- package/dist/collection/components/button/button.js +26 -1
- package/dist/collection/components/button/button.js.map +1 -1
- package/dist/collection/components/button/button.stories.js +67 -0
- package/dist/collection/components/card/card.css +58 -11
- package/dist/collection/components/card/card.js +90 -20
- package/dist/collection/components/card/card.js.map +1 -1
- package/dist/collection/components/card/card.stories.js +330 -75
- package/dist/collection/components/drawer/drawer.js +31 -10
- package/dist/collection/components/drawer/drawer.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/road-badge_14.entry.js +1612 -12
- package/dist/esm/road-badge_14.entry.js.map +1 -1
- package/dist/esm/road-card.entry.js +46 -16
- package/dist/esm/road-card.entry.js.map +1 -1
- package/dist/esm/road-navbar-v2.entry.js.map +1 -1
- package/dist/esm/roadtrip.js +1 -1
- package/dist/html.html-data.json +12 -0
- package/dist/roadtrip/p-d89d49b2.entry.js +2 -0
- package/dist/roadtrip/p-d89d49b2.entry.js.map +1 -0
- package/dist/roadtrip/p-f46b6488.entry.js +18 -0
- package/dist/roadtrip/p-f46b6488.entry.js.map +1 -0
- package/dist/roadtrip/p-fdcebcc3.entry.js.map +1 -1
- package/dist/roadtrip/roadtrip.css +1 -1
- package/dist/roadtrip/roadtrip.esm.js +1 -1
- package/dist/roadtrip/roadtrip.esm.js.map +1 -1
- package/dist/types/components/button/button.d.ts +4 -0
- package/dist/types/components/card/card.d.ts +15 -5
- package/dist/types/components/drawer/drawer.d.ts +9 -4
- package/dist/types/components.d.ts +28 -4
- package/hydrate/index.js +1663 -29
- package/hydrate/index.mjs +1663 -29
- package/package.json +2 -1
- package/dist/roadtrip/p-36f8563a.entry.js +0 -2
- package/dist/roadtrip/p-36f8563a.entry.js.map +0 -1
- package/dist/roadtrip/p-d8dd3342.entry.js +0 -10
- package/dist/roadtrip/p-d8dd3342.entry.js.map +0 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import{r as t,h as r,H as n,c as e,a as i}from"./p-d7aae05d.js";import"./p-453fa8b4.js";import{n as o,a}from"./p-55a946f4.js";import{i as u,g as s,b as f}from"./p-31b0c1df.js";import{c}from"./p-85aa8e05.js";const l=":host{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-width:1rem;min-height:1rem;padding:0 0.3125rem;font-family:var(--road-font, sans-serif);font-size:var(--road-font-size-10);font-weight:700;white-space:nowrap;border-radius:1rem}:host(.badge-bubble){min-width:0.25rem;min-height:0.25rem;padding:0}:host(.badge-primary){color:var(--road-on-primary);background-color:var(--road-primary)}:host(.badge-secondary){color:var(--road-on-secondary);background-color:var(--road-secondary)}:host(.badge-accent){color:var(--road-on-warning-surface-inverse);background-color:var(--road-warning-surface-inverse)}:host(.badge-info){color:var(--road-on-info-surface-inverse);background-color:var(--road-info-surface-inverse)}:host(.badge-success){color:var(--road-on-success-surface-inverse);background-color:var(--road-success-surface-inverse)}:host(.badge-warning){color:var(--road-on-warning-surface-inverse);background-color:var(--road-warning-surface-inverse)}:host(.badge-danger){color:var(--road-on-danger-surface-inverse);background-color:var(--road-danger-surface-inverse)}:host(.badge-inverse){color:var(--road-primary);background-color:var(--road-surface)}:host(.badge-sm){font-size:8px}:host(.badge-md){font-size:8px}:host(.badge-lg){font-size:var(--road-font-size-10)}";const d=l;const h=class{constructor(r){t(this,r);this.color="secondary";this.bubble=false;this.size="lg"}render(){const t=this.color!==undefined?`badge-${this.color}`:"";const e=this.bubble?"badge-bubble":"";const i=this.size!==undefined?`badge-${this.size}`:"";return r(n,{key:"272af446e438ac2c9df336d12cd0bfbc3485af77",class:`${t} ${e} ${i}`},r("slot",{key:"da72ac86b6650797cd4a4e16a5afe85e2090f325"}))}};h.style=d;const v=':host{--border-radius:0.25rem;--font-size:var(--road-button-medium);--margin-bottom:1rem;--padding-start:1.5rem;--padding-end:1.5rem;box-sizing:border-box;display:inline-flex;display:-webkit-inline-flex;align-items:center;justify-content:center;height:3rem;padding:0;margin-bottom:var(--margin-bottom);font-family:var(--road-font, sans-serif);font-size:var(--font-size);font-weight:700;line-height:1.375;color:var(--road-grey-10);text-decoration:none;white-space:nowrap;vertical-align:middle;background:transparent;border:1px solid transparent;border-radius:var(--border-radius);transition:background 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms}:host(:hover){text-decoration:none}:host(.focus-visible){text-decoration:underline;outline:auto}.button-native{position:relative;display:flex;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%;padding:0 var(--padding-end) 0 var(--padding-start);margin:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;color:inherit;text-align:inherit;text-decoration:none;text-indent:inherit;text-overflow:inherit;text-transform:inherit;letter-spacing:inherit;white-space:inherit;cursor:pointer;background:transparent;border:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}:host(.btn-default:not([disabled]).focus-visible){background:var(--road-grey-80)}:host(.btn-primary){color:var(--road-on-button-primary);background:var(--road-button-primary)}:host(.btn-primary) ::slotted(road-icon){color:var(--road-on-button-primary)}:host(.btn-primary:not([disabled]):hover),:host(.btn-primary:not([disabled]).focus-visible){background:var(--road-button-primary-variant);outline:0}:host(.btn-secondary){color:var(--road-on-button-secondary);background:var(--road-button-secondary)}:host(.btn-secondary) ::slotted(road-icon){color:var(--road-on-button-secondary)}:host(.btn-secondary:not([disabled]):hover),:host(.btn-secondary:not([disabled]).focus-visible){background:var(--road-button-secondary-variant)}:host(.btn-destructive){color:var(--road-on-button-destructive-primary);background:var(--road-button-destructive-primary)}:host(.btn-destructive) ::slotted(road-icon){color:var(--road-on-button-destructive-primary)}:host(.btn-destructive:not([disabled]):hover),:host(.btn-destructive:not([disabled]).focus-visible){background:var(--road-button-destructive-primary-variant)}:host(.btn-link){font-weight:400;color:var(--road-link-primary);text-decoration:underline;background:transparent}:host(.btn-link:not([disabled]):hover),:host(.btn-link:not([disabled]).focus-visible){color:var(--road-primary-30)}:host(.btn-outline-primary),:host(.btn-outline-secondary),:host(.btn-outline-default),:host(.btn-outline-destructive){background:transparent}:host(.btn-outline-default){color:var(--road-on-surface-weak);background:var(--road-surface);border-color:var(--road-input-outline)}:host(.btn-outline-default) ::slotted(road-icon){color:var(--road-on-surface-weak)}:host(.btn-outline-default:hover),:host(.btn-outline-default.focus-visible){background:var(--road-grey-80)}:host(.btn-outline-default.focus-visible),:host(.btn-outline-default:focus-visible){background:var(--road-surface-disabled);outline-offset:1px;outline:2px solid var(--road-outline)}:host(.btn-outline-default) .button-native:focus,:host(.btn-outline-default) .button-native:focus-visible{outline:none}:host(.btn-ghost){color:var(--road-on-button-ghost)}:host(.btn-ghost:not(.btn-inverse):hover){background:var(--road-button-ghost-variant)}:host(.btn-ghost:not(.btn-inverse).focus-visible),:host(.btn-ghost:not(.btn-inverse):focus-visible){background:var(--road-button-ghost-variant);outline-offset:1px;outline:2px solid var(--road-button-ghost-variant)}:host(.btn-ghost:not(.btn-inverse)) .button-native:focus,:host(.btn-ghost:not(.btn-inverse)) .button-native:focus-visible{outline:none}:host(.btn-outline-ghost:not(.btn-inverse):hover){background:var(--road-surface-disabled)}:host(.btn-outline-ghost:not(.btn-inverse).focus-visible),:host(.btn-outline-ghost:not(.btn-inverse):focus-visible){border:1px solid var(--road-outline);background:var(--road-surface-disabled);outline-offset:1px;outline:2px solid var(--road-outline)}:host(.btn-outline-ghost:not(.btn-inverse)) .button-native:focus,:host(.btn-outline-ghost:not(.btn-inverse)) .button-native:focus-visible{outline:none}:host(.btn-inverse) .button-native:focus,:host(.btn-inverse) .button-native:focus-visible{outline:none}:host(.btn-inverse) ::slotted(road-icon){color:var(--road-on-button-ghost)}:host(.btn-inverse:hover){outline:1px solid var(--road-on-header-surface)}:host(.btn-inverse.focus-visible),:host(.btn-inverse:focus-visible),:host(.btn-inverse:focus){outline:thick double var(--road-on-header-surface)}:host([aria-disabled].btn-inverse){border:1px solid var(--road-on-header-surface-disabled);background:var(--road-on-header-surface-disabled)}:host([aria-disabled].btn-inverse) ::slotted(road-icon){color:var(--road-on-header-surface-disabled)}:host([aria-disabled].btn-outline-primary){background:none}:host(.btn-outline-primary){color:var(--road-button-primary);border-color:var(--road-button-tertiary-outline)}:host(.btn-outline-primary) ::slotted(road-icon){color:var(--road-button-primary)}:host(.btn-outline-primary:hover),:host(.btn-outline-primary.focus-visible){background:var(--road-button-tertiary-variant)}:host(.btn-outline-secondary){color:var(--road-button-secondary);border-color:var(--road-button-secondary)}:host(.btn-outline-secondary) ::slotted(road-icon){color:var(--road-button-secondary)}:host(.btn-outline-secondary:hover),:host(.btn-outline-secondary.focus-visible){background:var(--road-button-tertiary-variant)}:host(.btn-outline-destructive){color:var(--road-on-button-destructive-secondary);border-color:var(--road-button-destructive-outline)}:host(.btn-outline-destructive) ::slotted(road-icon){color:var(--road-on-button-destructive-secondary)}:host(.btn-outline-destructive:hover),:host(.btn-outline-destructive.focus-visible){background:var(--road-button-destructive-secondary-variant)}:host([aria-disabled]){color:var(--road-on-surface-disabled);pointer-events:none;cursor:not-allowed;background-color:var(--road-surface-disabled);border-color:1px solid var(--road-surface-disabled)}:host([aria-disabled]) ::slotted(road-icon){color:var(--road-on-surface-disabled)}.button-native:disabled{cursor:not-allowed}::slotted([slot="start"]){margin-right:0.5rem}::slotted([slot="end"]){margin-left:0.5rem}:host(.btn-xl){height:3.5rem}:host(.btn-xl) ::slotted(road-icon){width:2rem;height:2rem}:host(.btn-icon.btn-xl){width:56px}:host(.btn-lg){height:3rem}:host(.btn-lg) ::slotted(road-icon){width:2rem;height:2rem}:host(.btn-icon.btn-lg){width:48px}:host(.btn-md){--font-size:var(--road-font-size-14);height:2.5rem}:host(.btn-md) ::slotted(road-icon){width:1.5rem;height:1.5rem}:host(.btn-icon.btn-md){width:40px}:host(.btn-sm){--font-size:var(--road-font-size-14);height:2rem}:host(.btn-sm) ::slotted(road-icon){width:1.25rem;height:1.25rem}:host(.btn-icon.btn-sm){width:32px}:host(.btn-block){width:100%}:host(.btn-icon) .button-native{padding:0}::slotted(road-badge){position:absolute;top:4px;left:calc(50% + 0.375rem);box-sizing:border-box;height:auto}';const b=v;const p=class{constructor(r){t(this,r);this.roadfocus=e(this,"roadfocus",7);this.roadFocus=e(this,"roadFocus",7);this.roadblur=e(this,"roadblur",7);this.roadBlur=e(this,"roadBlur",7);this.color="default";this.size="lg";this.buttonType="button";this.inverse=false;this.iconOnly=false;this.disabled=false;this.expand=false;this.outline=false;this.onClick=t=>{if(this.el.shadowRoot&&this.el.attachShadow){const r=this.el.closest("form");if(r){t.preventDefault();const n=document.createElement("button");n.type=this.buttonType;n.style.display="none";r.appendChild(n);n.click();n.remove()}}};this.onFocus=()=>{this.roadfocus.emit();this.roadFocus.emit()};this.onBlur=()=>{this.roadblur.emit();this.roadBlur.emit()}}render(){const{buttonType:t,disabled:e,href:i,rel:o,target:a,color:u}=this;const s=this.href===undefined?"button":"a";const f=s==="button"?{type:t}:{download:this.download,href:i,rel:o,target:a};const c=this.outline?`btn-outline-${u}`:`btn-${u}`;const l=this.size!==undefined?`btn-${this.size}`:"";const d=this.expand?"btn-block":"";const h=this.iconOnly?"btn-icon":"";const v=this.inverse?"btn-inverse":"";return r(n,{key:"10bf8a00e2cf0abe8a3116ed54c9bce15fae6b0f",class:[c,l,d,h,v].filter(Boolean).join(" "),onClick:this.onClick,"aria-disabled":e?"true":null},r(s,Object.assign({key:"b4d651d32195f88f6958d3261cd88ee46476ea95"},f,{class:"button-native",part:"native",disabled:e,onFocus:this.onFocus,onBlur:this.onBlur}),r("slot",{key:"8e931be9fcf7a6894ed71921f110c3726d2a4215",name:"start"}),r("slot",{key:"4a26d78cb726e7487e8ac5fb5006b7b7c70185b3"}),r("slot",{key:"a8f44025e68ce0142b3eee4991d9c86bb22233ee",name:"end"})))}get el(){return i(this)}};p.style=b;const m=":host{position:relative;flex-basis:0;flex-grow:1;width:100%;max-width:100%;min-height:1px;padding-right:8px;padding-left:8px}:host(.col-auto){flex:0 0 auto;width:auto;max-width:none}:host(.col-1){flex:0 0 8.3333%;max-width:8.3333%}:host(.col-2){flex:0 0 16.6667%;max-width:16.6667%}:host(.col-3){flex:0 0 25%;max-width:25%}:host(.col-4){flex:0 0 33.3333%;max-width:33.3333%}:host(.col-5){flex:0 0 41.6667%;max-width:41.6667%}:host(.col-6){flex:0 0 50%;max-width:50%}:host(.col-7){flex:0 0 58.3333%;max-width:58.3333%}:host(.col-8){flex:0 0 66.6667%;max-width:66.6667%}:host(.col-9){flex:0 0 75%;max-width:75%}:host(.col-10){flex:0 0 83.3333%;max-width:83.3333%}:host(.col-11){flex:0 0 91.6667%;max-width:91.6667%}:host(.col-12){flex:0 0 100%;max-width:100%}:host(.offset-1){margin-left:8.3333%}:host(.offset-2){margin-left:16.6667%}:host(.offset-3){margin-left:25%}:host(.offset-4){margin-left:33.3333%}:host(.offset-5){margin-left:41.6667%}:host(.offset-6){margin-left:50%}:host(.offset-7){margin-left:58.3333%}:host(.offset-8){margin-left:66.6667%}:host(.offset-9){margin-left:75%}:host(.offset-10){margin-left:83.3333%}:host(.offset-11){margin-left:91.6667%}@media (min-width: 576px){:host(.col-sm){flex-basis:0;flex-grow:1;max-width:100%}:host(.col-sm-auto){flex:0 0 auto;width:auto;max-width:none}:host(.col-sm-1){flex:0 0 8.3333%;max-width:8.3333%}:host(.col-sm-2){flex:0 0 16.6667%;max-width:16.6667%}:host(.col-sm-3){flex:0 0 25%;max-width:25%}:host(.col-sm-4){flex:0 0 33.3333%;max-width:33.3333%}:host(.col-sm-5){flex:0 0 41.6667%;max-width:41.6667%}:host(.col-sm-6){flex:0 0 50%;max-width:50%}:host(.col-sm-7){flex:0 0 58.3333%;max-width:58.3333%}:host(.col-sm-8){flex:0 0 66.6667%;max-width:66.6667%}:host(.col-sm-9){flex:0 0 75%;max-width:75%}:host(.col-sm-10){flex:0 0 83.3333%;max-width:83.3333%}:host(.col-sm-11){flex:0 0 91.6667%;max-width:91.6667%}:host(.col-sm-12){flex:0 0 100%;max-width:100%}:host(.offset-sm-0){margin-left:0}:host(.offset-sm-1){margin-left:8.3333%}:host(.offset-sm-2){margin-left:16.6667%}:host(.offset-sm-3){margin-left:25%}:host(.offset-sm-4){margin-left:33.3333%}:host(.offset-sm-5){margin-left:41.6667%}:host(.offset-sm-6){margin-left:50%}:host(.offset-sm-7){margin-left:58.3333%}:host(.offset-sm-8){margin-left:66.6667%}:host(.offset-sm-9){margin-left:75%}:host(.offset-sm-10){margin-left:83.3333%}:host(.offset-sm-11){margin-left:91.6667%}}@media (min-width: 768px){:host(.col-md){flex-basis:0;flex-grow:1;max-width:100%}:host(.col-md-auto){flex:0 0 auto;width:auto;max-width:none}:host(.col-md-1){flex:0 0 8.3333%;max-width:8.3333%}:host(.col-md-2){flex:0 0 16.6667%;max-width:16.6667%}:host(.col-md-3){flex:0 0 25%;max-width:25%}:host(.col-md-4){flex:0 0 33.3333%;max-width:33.3333%}:host(.col-md-5){flex:0 0 41.6667%;max-width:41.6667%}:host(.col-md-6){flex:0 0 50%;max-width:50%}:host(.col-md-7){flex:0 0 58.3333%;max-width:58.3333%}:host(.col-md-8){flex:0 0 66.6667%;max-width:66.6667%}:host(.col-md-9){flex:0 0 75%;max-width:75%}:host(.col-md-10){flex:0 0 83.3333%;max-width:83.3333%}:host(.col-md-11){flex:0 0 91.6667%;max-width:91.6667%}:host(.col-md-12){flex:0 0 100%;max-width:100%}:host(.offset-md-0){margin-left:0}:host(.offset-md-1){margin-left:8.3333%}:host(.offset-md-2){margin-left:16.6667%}:host(.offset-md-3){margin-left:25%}:host(.offset-md-4){margin-left:33.3333%}:host(.offset-md-5){margin-left:41.6667%}:host(.offset-md-6){margin-left:50%}:host(.offset-md-7){margin-left:58.3333%}:host(.offset-md-8){margin-left:66.6667%}:host(.offset-md-9){margin-left:75%}:host(.offset-md-10){margin-left:83.3333%}:host(.offset-md-11){margin-left:91.6667%}}@media (min-width: 992px){:host(.col-lg){flex-basis:0;flex-grow:1;max-width:100%}:host(.col-lg-auto){flex:0 0 auto;width:auto;max-width:none}:host(.col-lg-1){flex:0 0 8.3333%;max-width:8.3333%}:host(.col-lg-2){flex:0 0 16.6667%;max-width:16.6667%}:host(.col-lg-3){flex:0 0 25%;max-width:25%}:host(.col-lg-4){flex:0 0 33.3333%;max-width:33.3333%}:host(.col-lg-5){flex:0 0 41.6667%;max-width:41.6667%}:host(.col-lg-6){flex:0 0 50%;max-width:50%}:host(.col-lg-7){flex:0 0 58.3333%;max-width:58.3333%}:host(.col-lg-8){flex:0 0 66.6667%;max-width:66.6667%}:host(.col-lg-9){flex:0 0 75%;max-width:75%}:host(.col-lg-10){flex:0 0 83.3333%;max-width:83.3333%}:host(.col-lg-11){flex:0 0 91.6667%;max-width:91.6667%}:host(.col-lg-12){flex:0 0 100%;max-width:100%}:host(.offset-lg-0){margin-left:0}:host(.offset-lg-1){margin-left:8.3333%}:host(.offset-lg-2){margin-left:16.6667%}:host(.offset-lg-3){margin-left:25%}:host(.offset-lg-4){margin-left:33.3333%}:host(.offset-lg-5){margin-left:41.6667%}:host(.offset-lg-6){margin-left:50%}:host(.offset-lg-7){margin-left:58.3333%}:host(.offset-lg-8){margin-left:66.6667%}:host(.offset-lg-9){margin-left:75%}:host(.offset-lg-10){margin-left:83.3333%}:host(.offset-lg-11){margin-left:91.6667%}}@media (min-width: 1200px){:host(.col-xl){flex-basis:0;flex-grow:1;max-width:100%}:host(.col-xl-auto){flex:0 0 auto;width:auto;max-width:none}:host(.col-xl-1){flex:0 0 8.3333%;max-width:8.3333%}:host(.col-xl-2){flex:0 0 16.6667%;max-width:16.6667%}:host(.col-xl-3){flex:0 0 25%;max-width:25%}:host(.col-xl-4){flex:0 0 33.3333%;max-width:33.3333%}:host(.col-xl-5){flex:0 0 41.6667%;max-width:41.6667%}:host(.col-xl-6){flex:0 0 50%;max-width:50%}:host(.col-xl-7){flex:0 0 58.3333%;max-width:58.3333%}:host(.col-xl-8){flex:0 0 66.6667%;max-width:66.6667%}:host(.col-xl-9){flex:0 0 75%;max-width:75%}:host(.col-xl-10){flex:0 0 83.3333%;max-width:83.3333%}:host(.col-xl-11){flex:0 0 91.6667%;max-width:91.6667%}:host(.col-xl-12){flex:0 0 100%;max-width:100%}:host(.offset-xl-0){margin-left:0}:host(.offset-xl-1){margin-left:8.3333%}:host(.offset-xl-2){margin-left:16.6667%}:host(.offset-xl-3){margin-left:25%}:host(.offset-xl-4){margin-left:33.3333%}:host(.offset-xl-5){margin-left:41.6667%}:host(.offset-xl-6){margin-left:50%}:host(.offset-xl-7){margin-left:58.3333%}:host(.offset-xl-8){margin-left:66.6667%}:host(.offset-xl-9){margin-left:75%}:host(.offset-xl-10){margin-left:83.3333%}:host(.offset-xl-11){margin-left:91.6667%}}";const g=m;const w=class{constructor(r){t(this,r)}render(){return r("slot",{key:"a2621927906372b10b73caae4ddb4eca67ca3077"})}};w.style=g;const y=".sc-road-counter-h{position:relative;z-index:0;display:block}road-input.sc-road-counter{--input-text-align:center;--border-radius:0;--margin-bottom:0}road-button.sc-road-counter{position:relative;width:3rem;font-size:var(--road-font-size-24);line-height:1.4;background:var(--road-surface);border:1px solid var(--road-button-tertiary-outline)}road-button.sc-road-counter:hover,road-button.sc-road-counter:focus{background:var(--road-button-tertiary-variant)}road-button.sc-road-counter road-icon.sc-road-counter{display:flex;fill:var(--road-primary)}.disabled.sc-road-counter{margin-right:-1px;margin-left:-1px;pointer-events:none;cursor:not-allowed;background:var(--road-surface-disabled);border:1px solid var(--road-on-surface-disabled);opacity:inherit}.disabled.sc-road-counter:focus{background:var(--road-disabled)}.disabled.sc-road-counter road-icon.sc-road-counter{fill:var(--road-grey-50)}road-button.btn-md.sc-road-counter{width:2.5rem}road-button.btn-sm.sc-road-counter{width:2rem}.counter-md.sc-road-counter{height:2.5rem}.counter-sm.sc-road-counter{height:2rem}.counter-md.sc-road-counter road-input.sc-road-counter{--height:2.5rem}.counter-md.sc-road-counter road-button.sc-road-counter{min-width:2.5rem}.counter-sm.sc-road-counter road-input.sc-road-counter{--height:2rem}.counter-sm.sc-road-counter road-button.sc-road-counter{min-width:2rem}";const x=y;const k=class{constructor(r){t(this,r);this.roadIncrease=e(this,"roadIncrease",7);this.roadDecrease=e(this,"roadDecrease",7);this.roadChange=e(this,"roadChange",7);this.roadDustbinClick=e(this,"roadDustbinClick",7);this.leftIconClasses="";this.rightIconClasses="";this.isDustbinVisible=false;this.inputId=`road-counter-${j++}`;this.min=0;this.value=1;this.size="lg";this.dustbin=false;this.readonly=false;this.setIsDustbinVisible=t=>{if(t>this.min){this.isDustbinVisible=false}else if(this.dustbin){this.isDustbinVisible=true}else{this.isDustbinVisible=false}};this.increase=()=>{this.inputElement.querySelector("input").stepUp();let t=parseInt(this.inputElement.querySelector("input").value);if(!t){t=this.min}this.onValueChange(t);this.roadIncrease.emit({value:t})};this.decrease=()=>{if(this.isDustbinVisible){this.roadDustbinClick.emit();return}this.inputElement.querySelector("input").stepDown();let t=parseInt(this.inputElement.querySelector("input").value);if(!t){t=this.min}this.onValueChange(t);this.roadDecrease.emit({value:t})};this.checkValue=t=>{const r=t.target;const n=r.value&&parseInt(r.value);if(n==null||n==="")return;if(n<this.min){r.value=this.min.toString()}else if(this.max&&n>this.max){r.value=this.max.toString()}this.onValueChange(parseInt(r.value))};this.onRoadChange=t=>{t.stopPropagation();const r=t.target;const n=r.value&&parseInt(r.value);if(n!==null&&n!==""){if(n<this.min){this.roadChange.emit({value:this.min})}else if(this.max&&n>this.max){this.roadChange.emit({value:this.max})}else{this.roadChange.emit({value:parseInt(r.value)})}}else{this.roadChange.emit({value:null})}}}onValueChange(t){this.setIsDustbinVisible(t);this.setIconsClasses(t)}setIconsClasses(t){t=t!==null&&t!==void 0?t:parseInt(this.inputElement.querySelector("input").value);this.leftIconClasses=t<=this.min&&!this.dustbin?"disabled":"";this.rightIconClasses=this.max&&t>=this.max?"disabled":""}componentWillLoad(){this.onValueChange(this.value)}updateIndentation(){const t=!!this.el.querySelector('[slot="prepend"]');const r=this.el.querySelector(".form-control");const n=this.el.querySelector(".form-label");if(r){r.style.textIndent=t?"":""}if(n){n.style.textIndent=t?"":""}}componentDidLoad(){const t=this.el.querySelectorAll("road-button");this.updateIndentation();const r=new MutationObserver((()=>this.updateIndentation()));r.observe(this.el,{childList:true,subtree:true});t.forEach((t=>{t.addEventListener("touchstart",(()=>{t.style.backgroundColor="var(--road-button-tertiary-variant)"}));t.addEventListener("touchend",(()=>{t.style.backgroundColor="var(--road-surface)"}))}));const n=this.el.querySelector(".form-label");const e=this.el.querySelector(".form-control.sc-road-input");if(n){n.style.clip="rect(0 0 0 0)";n.style.border="0";n.style.height="1px";n.style.left="0";n.style.margin="-1px";n.style.overflow="hidden";n.style.padding="0";n.style.position="absolute";n.style.top="0";n.style.width="1px";e.style.padding="0 1rem 0"}}render(){const t=this.isDustbinVisible?"road-dustbin":"";return r("road-input-group",{key:"820b0cc9986dcb4e4c234f6c7046c14b3a3df095",class:this.size&&`counter-${this.size}`},r("road-button",{key:"fab3f2d7e20855197f186f0e281d064befb95bbd",slot:"prepend",size:this.size,onClick:this.decrease,class:this.leftIconClasses,"data-cy":"road-decrease"},r("road-icon",{key:"03c83781abc87777441b607b9722bf8d4ea30e03",name:this.isDustbinVisible?"delete-forever":"navigation-add-less",ref:t=>this.iconCounterLess=t,size:this.size,"data-cy":t,role:"button"})),r("road-input",{key:"dd8911ac1c4b2c08ad876629962cd6b8b9531a61",ref:t=>this.inputElement=t,type:"number",min:this.min.toString(),max:this.max&&this.max.toString(),step:this.step,value:this.value,onRoadChange:this.onRoadChange,onKeyUp:this.checkValue,"data-cy":"road-input-counter",readonly:this.readonly,label:"Quantité"}),r("road-button",{key:"79bb668b3831df7ce76d1d3691f2c9ef6a3e56a8",slot:"append",size:this.size,onClick:this.increase,class:this.rightIconClasses,"data-cy":"road-increase"},r("road-icon",{key:"035e4cacd9c843fd6b08a15ea40953bee8fcaa17",name:"navigation-add-more",size:this.size,role:"button"})))}get el(){return i(this)}static get watchers(){return{value:["onValueChange"]}}};let j=0;k.style=x;
|
|
2
|
+
/*!
|
|
3
|
+
* tabbable 6.3.0
|
|
4
|
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
5
|
+
*/var z=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"];var _=z.join(",");var A=typeof Element==="undefined";var $=A?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;var E=!A&&Element.prototype.getRootNode?function(t){var r;return t===null||t===void 0?void 0:(r=t.getRootNode)===null||r===void 0?void 0:r.call(t)}:function(t){return t===null||t===void 0?void 0:t.ownerDocument};var C=function t(r,n){var e;if(n===void 0){n=true}var i=r===null||r===void 0?void 0:(e=r.getAttribute)===null||e===void 0?void 0:e.call(r,"inert");var o=i===""||i==="true";var a=o||n&&r&&C(r.parentNode);return a};var I=function t(r){var n;var e=r===null||r===void 0?void 0:(n=r.getAttribute)===null||n===void 0?void 0:n.call(r,"contenteditable");return e===""||e==="true"};var O=function t(r,n,e){if(C(r)){return[]}var i=Array.prototype.slice.apply(r.querySelectorAll(_));if(n&&$.call(r,_)){i.unshift(r)}i=i.filter(e);return i};var F=function t(r,n,e){var i=[];var o=Array.from(r);while(o.length){var a=o.shift();if(C(a,false)){continue}if(a.tagName==="SLOT"){var u=a.assignedElements();var s=u.length?u:a.children;var f=F(s,true,e);if(e.flatten){i.push.apply(i,f)}else{i.push({scopeParent:a,candidates:f})}}else{var c=$.call(a,_);if(c&&e.filter(a)&&(n||!r.includes(a))){i.push(a)}var l=a.shadowRoot||typeof e.getShadowRoot==="function"&&e.getShadowRoot(a);var d=!C(l,false)&&(!e.shadowRootFilter||e.shadowRootFilter(a));if(l&&d){var h=F(l===true?a.children:l.children,true,e);if(e.flatten){i.push.apply(i,h)}else{i.push({scopeParent:a,candidates:h})}}else{o.unshift.apply(o,a.children)}}}return i};var S=function t(r){return!isNaN(parseInt(r.getAttribute("tabindex"),10))};var D=function t(r){if(!r){throw new Error("No node provided")}if(r.tabIndex<0){if((/^(AUDIO|VIDEO|DETAILS)$/.test(r.tagName)||I(r))&&!S(r)){return 0}}return r.tabIndex};var T=function t(r,n){var e=D(r);if(e<0&&n&&!S(r)){return 0}return e};var R=function t(r,n){return r.tabIndex===n.tabIndex?r.documentOrder-n.documentOrder:r.tabIndex-n.tabIndex};var N=function t(r){return r.tagName==="INPUT"};var U=function t(r){return N(r)&&r.type==="hidden"};var L=function t(r){var n=r.tagName==="DETAILS"&&Array.prototype.slice.apply(r.children).some((function(t){return t.tagName==="SUMMARY"}));return n};var P=function t(r,n){for(var e=0;e<r.length;e++){if(r[e].checked&&r[e].form===n){return r[e]}}};var M=function t(r){if(!r.name){return true}var n=r.form||E(r);var e=function t(r){return n.querySelectorAll('input[type="radio"][name="'+r+'"]')};var i;if(typeof window!=="undefined"&&typeof window.CSS!=="undefined"&&typeof window.CSS.escape==="function"){i=e(window.CSS.escape(r.name))}else{try{i=e(r.name)}catch(t){console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",t.message);return false}}var o=P(i,r.form);return!o||o===r};var B=function t(r){return N(r)&&r.type==="radio"};var V=function t(r){return B(r)&&!M(r)};var W=function t(r){var n;var e=r&&E(r);var i=(n=e)===null||n===void 0?void 0:n.host;var o=false;if(e&&e!==r){var a,u,s;o=!!((a=i)!==null&&a!==void 0&&(u=a.ownerDocument)!==null&&u!==void 0&&u.contains(i)||r!==null&&r!==void 0&&(s=r.ownerDocument)!==null&&s!==void 0&&s.contains(r));while(!o&&i){var f,c,l;e=E(i);i=(f=e)===null||f===void 0?void 0:f.host;o=!!((c=i)!==null&&c!==void 0&&(l=c.ownerDocument)!==null&&l!==void 0&&l.contains(i))}}return o};var Y=function t(r){var n=r.getBoundingClientRect(),e=n.width,i=n.height;return e===0&&i===0};var Z=function t(r,n){var e=n.displayCheck,i=n.getShadowRoot;if(e==="full-native"){if("checkVisibility"in r){var o=r.checkVisibility({checkOpacity:false,opacityProperty:false,contentVisibilityAuto:true,visibilityProperty:true,checkVisibilityCSS:true});return!o}}if(getComputedStyle(r).visibility==="hidden"){return true}var a=$.call(r,"details>summary:first-of-type");var u=a?r.parentElement:r;if($.call(u,"details:not([open]) *")){return true}if(!e||e==="full"||e==="full-native"||e==="legacy-full"){if(typeof i==="function"){var s=r;while(r){var f=r.parentElement;var c=E(r);if(f&&!f.shadowRoot&&i(f)===true){return Y(r)}else if(r.assignedSlot){r=r.assignedSlot}else if(!f&&c!==r.ownerDocument){r=c.host}else{r=f}}r=s}if(W(r)){return!r.getClientRects().length}if(e!=="legacy-full"){return true}}else if(e==="non-zero-area"){return Y(r)}return false};var K=function t(r){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(r.tagName)){var n=r.parentElement;while(n){if(n.tagName==="FIELDSET"&&n.disabled){for(var e=0;e<n.children.length;e++){var i=n.children.item(e);if(i.tagName==="LEGEND"){return $.call(n,"fieldset[disabled] *")?true:!i.contains(r)}}return true}n=n.parentElement}}return false};var q=function t(r,n){if(n.disabled||C(n)||U(n)||Z(n,r)||L(n)||K(n)){return false}return true};var G=function t(r,n){if(V(n)||D(n)<0||!q(r,n)){return false}return true};var H=function t(r){var n=parseInt(r.getAttribute("tabindex"),10);if(isNaN(n)||n>=0){return true}return false};var X=function t(r){var n=[];var e=[];r.forEach((function(t,r){var i=!!t.scopeParent;var o=i?t.scopeParent:t;var a=T(o,i);var u=i?X(t.candidates):o;if(a===0){i?n.push.apply(n,u):n.push(o)}else{e.push({documentOrder:r,tabIndex:a,item:t,isScope:i,content:u})}}));return e.sort(R).reduce((function(t,r){r.isScope?t.push.apply(t,r.content):t.push(r.content);return t}),[]).concat(n)};var J=function t(r,n){n=n||{};var e;if(n.getShadowRoot){e=F([r],n.includeContainer,{filter:G.bind(null,n),flatten:false,getShadowRoot:n.getShadowRoot,shadowRootFilter:H})}else{e=O(r,n.includeContainer,G.bind(null,n))}return X(e)};var Q=function t(r,n){n=n||{};var e;if(n.getShadowRoot){e=F([r],n.includeContainer,{filter:q.bind(null,n),flatten:true,getShadowRoot:n.getShadowRoot})}else{e=O(r,n.includeContainer,q.bind(null,n))}return e};var tt=function t(r,n){n=n||{};if(!r){throw new Error("No node provided")}if($.call(r,_)===false){return false}return G(n,r)};var rt=z.concat("iframe").join(",");var nt=function t(r,n){n=n||{};if(!r){throw new Error("No node provided")}if($.call(r,rt)===false){return false}return q(n,r)};
|
|
6
|
+
/*!
|
|
7
|
+
* focus-trap 7.6.6
|
|
8
|
+
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
9
|
+
*/function et(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=Array(r);n<r;n++)e[n]=t[n];return e}function it(t){if(Array.isArray(t))return et(t)}function ot(t,r,n){return(r=dt(r))in t?Object.defineProperty(t,r,{value:n,enumerable:true,configurable:true,writable:true}):t[r]=n,t}function at(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function ut(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function st(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);r&&(e=e.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),n.push.apply(n,e)}return n}function ft(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?st(Object(n),true).forEach((function(r){ot(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):st(Object(n)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))}))}return t}function ct(t){return it(t)||at(t)||ht(t)||ut()}function lt(t,r){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var e=n.call(t,r);if("object"!=typeof e)return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}function dt(t){var r=lt(t,"string");return"symbol"==typeof r?r:r+""}function ht(t,r){if(t){if("string"==typeof t)return et(t,r);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?et(t,r):void 0}}var vt={activateTrap:function t(r,n){if(r.length>0){var e=r[r.length-1];if(e!==n){e._setPausedState(true)}}var i=r.indexOf(n);if(i===-1){r.push(n)}else{r.splice(i,1);r.push(n)}},deactivateTrap:function t(r,n){var e=r.indexOf(n);if(e!==-1){r.splice(e,1)}if(r.length>0&&!r[r.length-1]._isManuallyPaused()){r[r.length-1]._setPausedState(false)}}};var bt=function t(r){return r.tagName&&r.tagName.toLowerCase()==="input"&&typeof r.select==="function"};var pt=function t(r){return(r===null||r===void 0?void 0:r.key)==="Escape"||(r===null||r===void 0?void 0:r.key)==="Esc"||(r===null||r===void 0?void 0:r.keyCode)===27};var mt=function t(r){return(r===null||r===void 0?void 0:r.key)==="Tab"||(r===null||r===void 0?void 0:r.keyCode)===9};var gt=function t(r){return mt(r)&&!r.shiftKey};var wt=function t(r){return mt(r)&&r.shiftKey};var yt=function t(r){return setTimeout(r,0)};var xt=function t(r){for(var n=arguments.length,e=new Array(n>1?n-1:0),i=1;i<n;i++){e[i-1]=arguments[i]}return typeof r==="function"?r.apply(void 0,e):r};var kt=function t(r){return r.target.shadowRoot&&typeof r.composedPath==="function"?r.composedPath()[0]:r.target};var jt=[];var zt=function t(r,n){var e=(n===null||n===void 0?void 0:n.document)||document;var i=(n===null||n===void 0?void 0:n.trapStack)||jt;var o=ft({returnFocusOnDeactivate:true,escapeDeactivates:true,delayInitialFocus:true,isKeyForward:gt,isKeyBackward:wt},n);var a={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:false,paused:false,manuallyPaused:false,delayInitialFocusTimer:undefined,recentNavEvent:undefined};var u;var s=function t(r,n,e){return r&&r[n]!==undefined?r[n]:o[e||n]};var f=function t(r,n){var e=typeof(n===null||n===void 0?void 0:n.composedPath)==="function"?n.composedPath():undefined;return a.containerGroups.findIndex((function(t){var n=t.container,i=t.tabbableNodes;return n.contains(r)||(e===null||e===void 0?void 0:e.includes(n))||i.find((function(t){return t===r}))}))};var c=function t(r){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},i=n.hasFallback,a=i===void 0?false:i,u=n.params,s=u===void 0?[]:u;var f=o[r];if(typeof f==="function"){f=f.apply(void 0,ct(s))}if(f===true){f=undefined}if(!f){if(f===undefined||f===false){return f}throw new Error("`".concat(r,"` was specified but was not a node, or did not return a node"))}var c=f;if(typeof f==="string"){try{c=e.querySelector(f)}catch(t){throw new Error("`".concat(r,'` appears to be an invalid selector; error="').concat(t.message,'"'))}if(!c){if(!a){throw new Error("`".concat(r,"` as selector refers to no known node"))}}}return c};var l=function t(){var r=c("initialFocus",{hasFallback:true});if(r===false){return false}if(r===undefined||r&&!nt(r,o.tabbableOptions)){if(f(e.activeElement)>=0){r=e.activeElement}else{var n=a.tabbableGroups[0];var i=n&&n.firstTabbableNode;r=i||c("fallbackFocus")}}else if(r===null){r=c("fallbackFocus")}if(!r){throw new Error("Your focus-trap needs to have at least one focusable element")}return r};var d=function t(){a.containerGroups=a.containers.map((function(t){var r=J(t,o.tabbableOptions);var n=Q(t,o.tabbableOptions);var e=r.length>0?r[0]:undefined;var i=r.length>0?r[r.length-1]:undefined;var a=n.find((function(t){return tt(t)}));var u=n.slice().reverse().find((function(t){return tt(t)}));var s=!!r.find((function(t){return D(t)>0}));return{container:t,tabbableNodes:r,focusableNodes:n,posTabIndexesFound:s,firstTabbableNode:e,lastTabbableNode:i,firstDomTabbableNode:a,lastDomTabbableNode:u,nextTabbableNode:function t(e){var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:true;var o=r.indexOf(e);if(o<0){if(i){return n.slice(n.indexOf(e)+1).find((function(t){return tt(t)}))}return n.slice(0,n.indexOf(e)).reverse().find((function(t){return tt(t)}))}return r[o+(i?1:-1)]}}}));a.tabbableGroups=a.containerGroups.filter((function(t){return t.tabbableNodes.length>0}));if(a.tabbableGroups.length<=0&&!c("fallbackFocus")){throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")}if(a.containerGroups.find((function(t){return t.posTabIndexesFound}))&&a.containerGroups.length>1){throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")}};var h=function t(r){var n=r.activeElement;if(!n){return}if(n.shadowRoot&&n.shadowRoot.activeElement!==null){return h(n.shadowRoot)}return n};var v=function t(r){if(r===false){return}if(r===h(document)){return}if(!r||!r.focus){v(l());return}r.focus({preventScroll:!!o.preventScroll});a.mostRecentlyFocusedNode=r;if(bt(r)){r.select()}};var b=function t(r){var n=c("setReturnFocus",{params:[r]});return n?n:n===false?false:r};var p=function t(r){var n=r.target,e=r.event,i=r.isBackward,u=i===void 0?false:i;n=n||kt(e);d();var s=null;if(a.tabbableGroups.length>0){var l=f(n,e);var h=l>=0?a.containerGroups[l]:undefined;if(l<0){if(u){s=a.tabbableGroups[a.tabbableGroups.length-1].lastTabbableNode}else{s=a.tabbableGroups[0].firstTabbableNode}}else if(u){var v=a.tabbableGroups.findIndex((function(t){var r=t.firstTabbableNode;return n===r}));if(v<0&&(h.container===n||nt(n,o.tabbableOptions)&&!tt(n,o.tabbableOptions)&&!h.nextTabbableNode(n,false))){v=l}if(v>=0){var b=v===0?a.tabbableGroups.length-1:v-1;var p=a.tabbableGroups[b];s=D(n)>=0?p.lastTabbableNode:p.lastDomTabbableNode}else if(!mt(e)){s=h.nextTabbableNode(n,false)}}else{var m=a.tabbableGroups.findIndex((function(t){var r=t.lastTabbableNode;return n===r}));if(m<0&&(h.container===n||nt(n,o.tabbableOptions)&&!tt(n,o.tabbableOptions)&&!h.nextTabbableNode(n))){m=l}if(m>=0){var g=m===a.tabbableGroups.length-1?0:m+1;var w=a.tabbableGroups[g];s=D(n)>=0?w.firstTabbableNode:w.firstDomTabbableNode}else if(!mt(e)){s=h.nextTabbableNode(n)}}}else{s=c("fallbackFocus")}return s};var m=function t(r){var n=kt(r);if(f(n,r)>=0){return}if(xt(o.clickOutsideDeactivates,r)){u.deactivate({returnFocus:o.returnFocusOnDeactivate});return}if(xt(o.allowOutsideClick,r)){return}r.preventDefault()};var g=function t(r){var n=kt(r);var e=f(n,r)>=0;if(e||n instanceof Document){if(e){a.mostRecentlyFocusedNode=n}}else{r.stopImmediatePropagation();var i;var u=true;if(a.mostRecentlyFocusedNode){if(D(a.mostRecentlyFocusedNode)>0){var s=f(a.mostRecentlyFocusedNode);var c=a.containerGroups[s].tabbableNodes;if(c.length>0){var d=c.findIndex((function(t){return t===a.mostRecentlyFocusedNode}));if(d>=0){if(o.isKeyForward(a.recentNavEvent)){if(d+1<c.length){i=c[d+1];u=false}}else{if(d-1>=0){i=c[d-1];u=false}}}}}else{if(!a.containerGroups.some((function(t){return t.tabbableNodes.some((function(t){return D(t)>0}))}))){u=false}}}else{u=false}if(u){i=p({target:a.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(a.recentNavEvent)})}if(i){v(i)}else{v(a.mostRecentlyFocusedNode||l())}}a.recentNavEvent=undefined};var w=function t(r){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;a.recentNavEvent=r;var e=p({event:r,isBackward:n});if(e){if(mt(r)){r.preventDefault()}v(e)}};var y=function t(r){if(o.isKeyForward(r)||o.isKeyBackward(r)){w(r,o.isKeyBackward(r))}};var x=function t(r){if(pt(r)&&xt(o.escapeDeactivates,r)!==false){r.preventDefault();u.deactivate()}};var k=function t(r){var n=kt(r);if(f(n,r)>=0){return}if(xt(o.clickOutsideDeactivates,r)){return}if(xt(o.allowOutsideClick,r)){return}r.preventDefault();r.stopImmediatePropagation()};var j=function t(){if(!a.active){return}vt.activateTrap(i,u);a.delayInitialFocusTimer=o.delayInitialFocus?yt((function(){v(l())})):v(l());e.addEventListener("focusin",g,true);e.addEventListener("mousedown",m,{capture:true,passive:false});e.addEventListener("touchstart",m,{capture:true,passive:false});e.addEventListener("click",k,{capture:true,passive:false});e.addEventListener("keydown",y,{capture:true,passive:false});e.addEventListener("keydown",x);return u};var z=function t(){if(!a.active){return}e.removeEventListener("focusin",g,true);e.removeEventListener("mousedown",m,true);e.removeEventListener("touchstart",m,true);e.removeEventListener("click",k,true);e.removeEventListener("keydown",y,true);e.removeEventListener("keydown",x);return u};var _=function t(r){var n=r.some((function(t){var r=Array.from(t.removedNodes);return r.some((function(t){return t===a.mostRecentlyFocusedNode}))}));if(n){v(l())}};var A=typeof window!=="undefined"&&"MutationObserver"in window?new MutationObserver(_):undefined;var $=function t(){if(!A){return}A.disconnect();if(a.active&&!a.paused){a.containers.map((function(t){A.observe(t,{subtree:true,childList:true})}))}};u={get active(){return a.active},get paused(){return a.paused},activate:function t(r){if(a.active){return this}var n=s(r,"onActivate");var i=s(r,"onPostActivate");var o=s(r,"checkCanFocusTrap");if(!o){d()}a.active=true;a.paused=false;a.nodeFocusedBeforeActivation=h(e);n===null||n===void 0||n();var u=function t(){if(o){d()}j();$();i===null||i===void 0||i()};if(o){o(a.containers.concat()).then(u,u);return this}u();return this},deactivate:function t(r){if(!a.active){return this}var n=ft({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},r);clearTimeout(a.delayInitialFocusTimer);a.delayInitialFocusTimer=undefined;z();a.active=false;a.paused=false;$();vt.deactivateTrap(i,u);var e=s(n,"onDeactivate");var f=s(n,"onPostDeactivate");var c=s(n,"checkCanReturnFocus");var l=s(n,"returnFocus","returnFocusOnDeactivate");e===null||e===void 0||e();var d=function t(){yt((function(){if(l){v(b(a.nodeFocusedBeforeActivation))}f===null||f===void 0||f()}))};if(l&&c){c(b(a.nodeFocusedBeforeActivation)).then(d,d);return this}d();return this},pause:function t(r){if(!a.active){return this}a.manuallyPaused=true;return this._setPausedState(true,r)},unpause:function t(r){if(!a.active){return this}a.manuallyPaused=false;if(i[i.length-1]!==this){return this}return this._setPausedState(false,r)},updateContainerElements:function t(r){var n=[].concat(r).filter(Boolean);a.containers=n.map((function(t){return typeof t==="string"?e.querySelector(t):t}));if(a.active){d()}$();return this}};Object.defineProperties(u,{_isManuallyPaused:{value:function t(){return a.manuallyPaused}},_setPausedState:{value:function t(r,n){if(a.paused===r){return this}a.paused=r;if(r){var e=s(n,"onPause");var i=s(n,"onPostPause");e===null||e===void 0||e();z();$();i===null||i===void 0||i()}else{var o=s(n,"onUnpause");var u=s(n,"onPostUnpause");o===null||o===void 0||o();d();j();$();u===null||u===void 0||u()}return this}}});u.updateContainerElements(r);return u};const _t=":host{--background:var(--road-surface);--color:var(--road-on-surface);--header-icon:var(--road-on-surface);--header-color:var(--road-on-surface);--header-background:var(--road-surface);--header-delimiter:0;--back-chevron-color:var(--road-icon);--max-height:auto;--z-index:10;position:fixed;top:0;left:0;z-index:var(--z-index);display:flex;justify-content:flex-start;width:100%;height:100%;overflow:hidden;font-family:var(--road-font, sans-serif);line-height:1.5;color:var(--color);visibility:hidden !important;opacity:0;transition:opacity 0.15s linear, visibility 0.15s}.drawer-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:block;touch-action:none;cursor:pointer;background:var(--road-overlay)}.drawer-dialog{position:relative;width:100%;pointer-events:none;transition:transform 0.3s ease-out;transform:translateX(-100%)}:host(.drawer-right){justify-content:flex-end}:host(.drawer-right) .drawer-dialog{transform:translateX(100%)}:host(.drawer-bottom){align-items:flex-end}:host(.drawer-bottom) .drawer-dialog{width:100%;max-height:var(--max-height);transform:translateY(100%)}:host(.drawer-bottom) .drawer-content{height:auto}.drawer-content{position:relative;display:flex;flex-direction:column;width:100%;height:100vh;max-height:100vh;pointer-events:auto;background-color:var(--background);background-clip:padding-box;box-shadow:var(--road-elevation-hight)}.drawer-header{display:flex;flex-shrink:0;align-items:center;justify-content:flex-end;color:var(--header-color);background:var(--header-background);border-color:var(--road-grey-300);border-style:solid;border-width:var(--header-delimiter)}.drawer-header road-icon{flex-shrink:0;color:var(--header-icon)}.drawer-footer{padding:var(--road-spacing-05);background-color:var(--road-surface)}.drawer-footer.remove-padding{padding:0}.drawer-header-inverse{--header-icon:var(--road-on-primary);--header-color:var(--road-on-primary);--header-background:var(--road-primary-variant);margin-bottom:2.5rem}.drawer-action,.drawer-close{display:flex;align-items:center;justify-content:center;padding:0.5rem;font-family:inherit;font-size:0.875rem;color:inherit;cursor:pointer;background:transparent;border:0;appearance:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.drawer-header:not(.drawer-header-inverse) .drawer-action road-icon{color:var(--back-chevron-color)}.drawer-action~.drawer-title,.drawer-close~.drawer-title{padding-left:0}.drawer-action-left,.drawer-close-left{margin-right:auto}.drawer-title{display:flex;flex-grow:1;align-items:center;justify-content:center;padding-left:3.5rem;margin:0;font-size:var(--road-body-medium)}.drawer-body{overflow-y:auto;padding:0 var(--road-spacing-05) var(--road-spacing-05)}.drawer-body.remove-padding{padding:0}:host(.drawer-right) .drawer-body,:host(.drawer-left) .drawer-body{height:calc(100vh - 3.5rem)}.drawer-inner{padding:0 1rem 2.5rem}@media (min-width: 768px){.drawer-inner{padding:0 2rem 2.5rem}.drawer-body{padding:0 var(--road-spacing-08) var(--road-spacing-05)}.drawer-body.remove-padding{padding:0}.drawer-footer{padding:var(--road-spacing-05) var(--road-spacing-08)}.drawer-footer.remove-padding{padding:0}}:host(.drawer-open){visibility:visible !important;opacity:1}:host(.drawer-open) .drawer-dialog{transform:none}";const At=_t;const $t=class{constructor(r){t(this,r);this.onOpen=e(this,"open",7);this.onClose=e(this,"close",7);this.onBack=e(this,"back",7);this.isOpen=false;this.removePadding=false;this.position="left";this.drawerWidth=480;this.hasInverseHeader=false;this.hasBackIcon=false;this.hasCloseIcon=true;this.onClick=t=>{t.stopPropagation();t.preventDefault();this.close()};this.onClickBack=t=>{t.stopPropagation();t.preventDefault();this.back()}}async open(){this.isOpen=true}async close(){this.isOpen=false}async back(){this.onBack.emit()}handleOpen(t){if(t===true){this.onOpen.emit();setTimeout((()=>{var t;this.focusFirstElement();(t=this.focusTrap)===null||t===void 0?void 0:t.activate()}),50)}else{this.el.addEventListener("transitionend",(()=>{var t;(t=this.focusTrap)===null||t===void 0?void 0:t.deactivate();this.onClose.emit();this.el.shadowRoot&&(this.el.shadowRoot.querySelector(".drawer-body").scrollTop=0)}),{once:true})}}focusFirstElement(){var t;const r=(t=this.el.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [contenteditable], [tabindex]:not([tabindex="-1"])')[0];if(r){r.focus()}}onEscape(t){if(t.key==="Escape"||t.key==="Esc"){this.close()}}componentDidLoad(){var t;this.el.querySelectorAll('[data-dismiss="modal"]').forEach((t=>{t.addEventListener("click",(()=>this.close()))}));const r=(t=this.el.shadowRoot)===null||t===void 0?void 0:t.querySelector(".drawer-dialog");this.focusTrap=zt(r,{onActivate:()=>r===null||r===void 0?void 0:r.classList.add("focus-trapped"),onDeactivate:()=>r===null||r===void 0?void 0:r.classList.remove("focus-trapped"),tabbableOptions:{getShadowRoot:true}})}render(){var t,e,i,u;const s=this.isOpen?"drawer-open":"";const f=this.removePadding?"remove-padding":"";const c=this.hasInverseHeader?"drawer-header-inverse":"";const l=(t=this.ariaLabel)!==null&&t!==void 0?t:"drawer";const d=(e=this.ariaLabelBack)!==null&&e!==void 0?e:"Back";const h=(i=this.ariaLabelClose)!==null&&i!==void 0?i:"Close";const v=this.drawerTitle&&!this.hasInverseHeader?"drawer-delimiter":"";const b=this.hasBackIcon?r("button",{type:"button",class:"drawer-action","aria-label":d,onClick:this.onClickBack},r("road-icon",{icon:o,rotate:"180"}),this.backText):null;const p=this.hasCloseIcon?r("button",{type:"button",class:"drawer-close",onClick:this.onClick,"aria-label":h},r("road-icon",{icon:a,"aria-hidden":"true"})):null;const m=this.position==="bottom"?"100%":`${this.drawerWidth}px`;const g=(u=this.el.shadowRoot)===null||u===void 0?void 0:u.querySelector('slot[name="footer"]');const w=g instanceof HTMLSlotElement&&g.assignedNodes().length>0;return r(n,{key:"a2f62ec1ecc2d5452041c1aef21c219dfb7d37e5",class:`${s} drawer-${this.position}`,tabindex:"0",role:"dialog","aria-label":l},r("div",{key:"483e792abee343f79a36594eb391203521dac055",class:"drawer-overlay",onClick:this.onClick,tabindex:"-1"}),r("div",{key:"b0692ac024a6f402915f482177b867f1d3fa5144",class:"drawer-dialog",style:{maxWidth:m},role:"document",tabindex:"0"},r("div",{key:"6afd92780745fe0f6817adb5fba8649a9de0cdd9",class:"drawer-content"},r("header",{key:"5248706c77aeaa4ce3332acfe7f3b605cbe7fd54",class:`drawer-header ${c} ${v}`},b,this.drawerTitle?r("h2",{class:"drawer-title"},this.drawerTitle):r("div",{class:"drawer-title"},r("slot",{name:"title"})),p),r("div",{key:"42ade4a899a1f381af1463ac5217c245de22c241",class:`drawer-body ${f}`},r("slot",{key:"adb1a893b61941e6488ba3bc233540ca18d90252"})),r("footer",{key:"7fb54e5564e98777a3fbf3474d323f7fe1eb0e07",class:`drawer-footer ${f}`,style:{display:w?"block":"none"}},r("slot",{key:"37f2d0ec86cccc74795bc9a8fb509c5ded347f92",name:"footer"})))))}get el(){return i(this)}static get watchers(){return{isOpen:["handleOpen"]}}};$t.style=At;const Et=":host{box-sizing:border-box;display:block;width:100%;padding-right:8px;padding-left:8px;margin-right:auto;margin-left:auto}@media (min-width: 768px){:host{padding-right:24px;padding-left:24px}}";const Ct=Et;const It=class{constructor(r){t(this,r)}render(){return r("slot",{key:"8f4662a444e12323e10cda6ecc7a2fe9b2199ff3"})}};It.style=Ct;const Ot=t=>{const r=document.createElement("div");r.innerHTML=t;for(let t=r.childNodes.length-1;t>=0;t--){if(r.childNodes[t].nodeName.toLowerCase()!=="svg"){r.removeChild(r.childNodes[t])}}const n=r.firstElementChild;if(n&&n.nodeName.toLowerCase()==="svg"){const t=n.getAttribute("class")||"";n.setAttribute("class",(t+" s-ion-icon").trim());if(Ft(n)){return r.innerHTML}}return""};const Ft=t=>{if(t.nodeType===1){if(t.nodeName.toLowerCase()==="script"){return false}for(let r=0;r<t.attributes.length;r++){const n=t.attributes[r].value;if(u(n)&&n.toLowerCase().indexOf("on")===0){return false}}for(let r=0;r<t.childNodes.length;r++){if(!Ft(t.childNodes[r])){return false}}}return true};const St=new Map;const Dt=new Map;const Tt=(t,r)=>{let n=Dt.get(t);if(!n){if(typeof fetch!=="undefined"&&typeof document!=="undefined"){n=fetch(t).then((n=>{if(n.ok){return n.text().then((n=>{if(n&&r!==false){n=Ot(n)}St.set(t,n||"")}))}St.set(t,"")}));Dt.set(t,n)}else{St.set(t,"");return Promise.resolve()}}return n};const Rt=":host{box-sizing:content-box;display:inline-block;color:currentColor;transition:fill 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;fill:currentColor;contain:strict}:host svg{display:block;width:100%;height:100%}:host(.icon-sm){width:1rem;height:1rem}:host(.icon-md){width:1.5rem;height:1.5rem}:host(.icon-lg){width:2rem;height:2rem}:host(.icon-3x){width:3rem;height:3rem}:host(.icon-4x){width:4rem;height:4rem}:host(.icon-primary){color:var(--road-primary-50);fill:currentColor}:host(.icon-secondary){color:var(--road-secondary-50);fill:currentColor}:host(.icon-accent){color:var(--road-secondary-50);fill:currentColor}:host(.icon-info){color:var(--road-info-icon);fill:currentColor}:host(.icon-success){color:var(--road-success-icon);fill:currentColor}:host(.icon-warning){color:var(--road-warning-icon);fill:currentColor}:host(.icon-danger){color:var(--road-danger-icon);fill:currentColor}:host(.icon-default){color:var(--road-icon);fill:currentColor}:host(.icon-white){color:var(--road-icon-inverse);fill:currentColor}:host(.icon-rotate-90){transform:rotate(90deg)}:host(.icon-rotate-180){transform:rotate(180deg)}:host(.icon-rotate-270){transform:rotate(270deg)}";const Nt=Rt;const Ut=class{constructor(r){t(this,r);this.isVisible=false;this.size="lg";this.lazy=false;this.sanitize=true}componentWillLoad(){this.waitUntilVisible(this.el,"50px",(()=>{this.isVisible=true;this.loadIcon()}))}disconnectedCallback(){if(this.io){this.io.disconnect();this.io=undefined}}waitUntilVisible(t,r,n){if(this.lazy&&window.IntersectionObserver){const e=this.io=new window.IntersectionObserver((t=>{if(t[0].isIntersecting){e.disconnect();this.io=undefined;n()}}),{rootMargin:r});e.observe(t)}else{n()}}loadIcon(){if(this.isVisible){const t=s(this);if(t){if(St.has(t)){this.svgContent=St.get(t)}else{Tt(t,this.sanitize).then((()=>this.svgContent=St.get(t)))}}}if(!this.ariaLabel&&this.ariaHidden!=="true"){const t=f(this.name,this.icon);if(t){this.ariaLabel=t.replace(/-/g," ")}}}render(){const t=this.color?`icon-${this.color}`:"";const e=this.size?`icon-${this.size}`:"";const i=this.rotate?`icon-rotate-${this.rotate}`:"";const o=[t,e,i].filter(Boolean).join(" ");return r(n,{key:"1da1702db901bcfb80638d9ae30a8c5cc4a2ac26",class:o,"aria-hidden":"true"},this.svgContent!==""?r("div",{class:"icon-inner",innerHTML:this.svgContent}):r("div",{class:"icon-inner"}))}static get assetsDirs(){return["svg"]}get el(){return i(this)}static get watchers(){return{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"]}}};Ut.style=Nt;var Lt={exports:{}};
|
|
10
|
+
/**
|
|
11
|
+
* @license
|
|
12
|
+
* Lodash <https://lodash.com/>
|
|
13
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
14
|
+
* Released under MIT license <https://lodash.com/license>
|
|
15
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
16
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
17
|
+
*/(function(t,r){(function(){var n;var e="4.17.21";var i=200;var o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",u="Invalid `variable` option passed into `_.template`";var s="__lodash_hash_undefined__";var f=500;var l="__lodash_placeholder__";var d=1,h=2,v=4;var b=1,p=2;var m=1,g=2,w=4,y=8,x=16,k=32,j=64,z=128,_=256,A=512;var $=30,E="...";var C=800,I=16;var O=1,F=2,S=3;var D=1/0,T=9007199254740991,R=17976931348623157e292,N=0/0;var U=4294967295,L=U-1,P=U>>>1;var M=[["ary",z],["bind",m],["bindKey",g],["curry",y],["curryRight",x],["flip",A],["partial",k],["partialRight",j],["rearg",_]];var B="[object Arguments]",V="[object Array]",W="[object AsyncFunction]",Y="[object Boolean]",Z="[object Date]",K="[object DOMException]",q="[object Error]",G="[object Function]",H="[object GeneratorFunction]",X="[object Map]",J="[object Number]",Q="[object Null]",tt="[object Object]",rt="[object Promise]",nt="[object Proxy]",et="[object RegExp]",it="[object Set]",ot="[object String]",at="[object Symbol]",ut="[object Undefined]",st="[object WeakMap]",ft="[object WeakSet]";var ct="[object ArrayBuffer]",lt="[object DataView]",dt="[object Float32Array]",ht="[object Float64Array]",vt="[object Int8Array]",bt="[object Int16Array]",pt="[object Int32Array]",mt="[object Uint8Array]",gt="[object Uint8ClampedArray]",wt="[object Uint16Array]",yt="[object Uint32Array]";var xt=/\b__p \+= '';/g,kt=/\b(__p \+=) '' \+/g,jt=/(__e\(.*?\)|\b__t\)) \+\n'';/g;var zt=/&(?:amp|lt|gt|quot|#39);/g,_t=/[&<>"']/g,At=RegExp(zt.source),$t=RegExp(_t.source);var Et=/<%-([\s\S]+?)%>/g,Ct=/<%([\s\S]+?)%>/g,It=/<%=([\s\S]+?)%>/g;var Ot=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ft=/^\w*$/,St=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var Dt=/[\\^$.*+?()[\]{}|]/g,Tt=RegExp(Dt.source);var Rt=/^\s+/;var Nt=/\s/;var Ut=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Lt=/\{\n\/\* \[wrapped with (.+)\] \*/,Pt=/,? & /;var Mt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var Bt=/[()=,{}\[\]\/\s]/;var Vt=/\\(\\)?/g;var Wt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;var Yt=/\w*$/;var Zt=/^[-+]0x[0-9a-f]+$/i;var Kt=/^0b[01]+$/i;var qt=/^\[object .+?Constructor\]$/;var Gt=/^0o[0-7]+$/i;var Ht=/^(?:0|[1-9]\d*)$/;var Xt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;var Jt=/($^)/;var Qt=/['\n\r\u2028\u2029\\]/g;var tr="\\ud800-\\udfff",rr="\\u0300-\\u036f",nr="\\ufe20-\\ufe2f",er="\\u20d0-\\u20ff",ir=rr+nr+er,or="\\u2700-\\u27bf",ar="a-z\\xdf-\\xf6\\xf8-\\xff",ur="\\xac\\xb1\\xd7\\xf7",sr="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",fr="\\u2000-\\u206f",cr=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",lr="A-Z\\xc0-\\xd6\\xd8-\\xde",dr="\\ufe0e\\ufe0f",hr=ur+sr+fr+cr;var vr="['’]",br="["+tr+"]",pr="["+hr+"]",mr="["+ir+"]",gr="\\d+",wr="["+or+"]",yr="["+ar+"]",xr="[^"+tr+hr+gr+or+ar+lr+"]",kr="\\ud83c[\\udffb-\\udfff]",jr="(?:"+mr+"|"+kr+")",zr="[^"+tr+"]",_r="(?:\\ud83c[\\udde6-\\uddff]){2}",Ar="[\\ud800-\\udbff][\\udc00-\\udfff]",$r="["+lr+"]",Er="\\u200d";var Cr="(?:"+yr+"|"+xr+")",Ir="(?:"+$r+"|"+xr+")",Or="(?:"+vr+"(?:d|ll|m|re|s|t|ve))?",Fr="(?:"+vr+"(?:D|LL|M|RE|S|T|VE))?",Sr=jr+"?",Dr="["+dr+"]?",Tr="(?:"+Er+"(?:"+[zr,_r,Ar].join("|")+")"+Dr+Sr+")*",Rr="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Nr="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ur=Dr+Sr+Tr,Lr="(?:"+[wr,_r,Ar].join("|")+")"+Ur,Pr="(?:"+[zr+mr+"?",mr,_r,Ar,br].join("|")+")";var Mr=RegExp(vr,"g");var Br=RegExp(mr,"g");var Vr=RegExp(kr+"(?="+kr+")|"+Pr+Ur,"g");var Wr=RegExp([$r+"?"+yr+"+"+Or+"(?="+[pr,$r,"$"].join("|")+")",Ir+"+"+Fr+"(?="+[pr,$r+Cr,"$"].join("|")+")",$r+"?"+Cr+"+"+Or,$r+"+"+Fr,Nr,Rr,gr,Lr].join("|"),"g");var Yr=RegExp("["+Er+tr+ir+dr+"]");var Zr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var Kr=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"];var qr=-1;var Gr={};Gr[dt]=Gr[ht]=Gr[vt]=Gr[bt]=Gr[pt]=Gr[mt]=Gr[gt]=Gr[wt]=Gr[yt]=true;Gr[B]=Gr[V]=Gr[ct]=Gr[Y]=Gr[lt]=Gr[Z]=Gr[q]=Gr[G]=Gr[X]=Gr[J]=Gr[tt]=Gr[et]=Gr[it]=Gr[ot]=Gr[st]=false;var Hr={};Hr[B]=Hr[V]=Hr[ct]=Hr[lt]=Hr[Y]=Hr[Z]=Hr[dt]=Hr[ht]=Hr[vt]=Hr[bt]=Hr[pt]=Hr[X]=Hr[J]=Hr[tt]=Hr[et]=Hr[it]=Hr[ot]=Hr[at]=Hr[mt]=Hr[gt]=Hr[wt]=Hr[yt]=true;Hr[q]=Hr[G]=Hr[st]=false;var Xr={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"};var Jr={"&":"&","<":"<",">":">",'"':""","'":"'"};var Qr={"&":"&","<":"<",">":">",""":'"',"'":"'"};var tn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};var rn=parseFloat,nn=parseInt;var en=typeof c=="object"&&c&&c.Object===Object&&c;var on=typeof self=="object"&&self&&self.Object===Object&&self;var an=en||on||Function("return this")();var un=r&&!r.nodeType&&r;var sn=un&&"object"=="object"&&t&&!t.nodeType&&t;var fn=sn&&sn.exports===un;var cn=fn&&en.process;var ln=function(){try{var t=sn&&sn.require&&sn.require("util").types;if(t){return t}return cn&&cn.binding&&cn.binding("util")}catch(t){}}();var dn=ln&&ln.isArrayBuffer,hn=ln&&ln.isDate,vn=ln&&ln.isMap,bn=ln&&ln.isRegExp,pn=ln&&ln.isSet,mn=ln&&ln.isTypedArray;function gn(t,r,n){switch(n.length){case 0:return t.call(r);case 1:return t.call(r,n[0]);case 2:return t.call(r,n[0],n[1]);case 3:return t.call(r,n[0],n[1],n[2])}return t.apply(r,n)}function wn(t,r,n,e){var i=-1,o=t==null?0:t.length;while(++i<o){var a=t[i];r(e,a,n(a),t)}return e}function yn(t,r){var n=-1,e=t==null?0:t.length;while(++n<e){if(r(t[n],n,t)===false){break}}return t}function xn(t,r){var n=t==null?0:t.length;while(n--){if(r(t[n],n,t)===false){break}}return t}function kn(t,r){var n=-1,e=t==null?0:t.length;while(++n<e){if(!r(t[n],n,t)){return false}}return true}function jn(t,r){var n=-1,e=t==null?0:t.length,i=0,o=[];while(++n<e){var a=t[n];if(r(a,n,t)){o[i++]=a}}return o}function zn(t,r){var n=t==null?0:t.length;return!!n&&Rn(t,r,0)>-1}function _n(t,r,n){var e=-1,i=t==null?0:t.length;while(++e<i){if(n(r,t[e])){return true}}return false}function An(t,r){var n=-1,e=t==null?0:t.length,i=Array(e);while(++n<e){i[n]=r(t[n],n,t)}return i}function $n(t,r){var n=-1,e=r.length,i=t.length;while(++n<e){t[i+n]=r[n]}return t}function En(t,r,n,e){var i=-1,o=t==null?0:t.length;if(e&&o){n=t[++i]}while(++i<o){n=r(n,t[i],i,t)}return n}function Cn(t,r,n,e){var i=t==null?0:t.length;if(e&&i){n=t[--i]}while(i--){n=r(n,t[i],i,t)}return n}function In(t,r){var n=-1,e=t==null?0:t.length;while(++n<e){if(r(t[n],n,t)){return true}}return false}var On=Pn("length");function Fn(t){return t.split("")}function Sn(t){return t.match(Mt)||[]}function Dn(t,r,n){var e;n(t,(function(t,n,i){if(r(t,n,i)){e=n;return false}}));return e}function Tn(t,r,n,e){var i=t.length,o=n+(e?1:-1);while(e?o--:++o<i){if(r(t[o],o,t)){return o}}return-1}function Rn(t,r,n){return r===r?de(t,r,n):Tn(t,Un,n)}function Nn(t,r,n,e){var i=n-1,o=t.length;while(++i<o){if(e(t[i],r)){return i}}return-1}function Un(t){return t!==t}function Ln(t,r){var n=t==null?0:t.length;return n?Wn(t,r)/n:N}function Pn(t){return function(r){return r==null?n:r[t]}}function Mn(t){return function(r){return t==null?n:t[r]}}function Bn(t,r,n,e,i){i(t,(function(t,i,o){n=e?(e=false,t):r(n,t,i,o)}));return n}function Vn(t,r){var n=t.length;t.sort(r);while(n--){t[n]=t[n].value}return t}function Wn(t,r){var e,i=-1,o=t.length;while(++i<o){var a=r(t[i]);if(a!==n){e=e===n?a:e+a}}return e}function Yn(t,r){var n=-1,e=Array(t);while(++n<t){e[n]=r(n)}return e}function Zn(t,r){return An(r,(function(r){return[r,t[r]]}))}function Kn(t){return t?t.slice(0,pe(t)+1).replace(Rt,""):t}function qn(t){return function(r){return t(r)}}function Gn(t,r){return An(r,(function(r){return t[r]}))}function Hn(t,r){return t.has(r)}function Xn(t,r){var n=-1,e=t.length;while(++n<e&&Rn(r,t[n],0)>-1){}return n}function Jn(t,r){var n=t.length;while(n--&&Rn(r,t[n],0)>-1){}return n}function Qn(t,r){var n=t.length,e=0;while(n--){if(t[n]===r){++e}}return e}var te=Mn(Xr);var re=Mn(Jr);function ne(t){return"\\"+tn[t]}function ee(t,r){return t==null?n:t[r]}function ie(t){return Yr.test(t)}function oe(t){return Zr.test(t)}function ae(t){var r,n=[];while(!(r=t.next()).done){n.push(r.value)}return n}function ue(t){var r=-1,n=Array(t.size);t.forEach((function(t,e){n[++r]=[e,t]}));return n}function se(t,r){return function(n){return t(r(n))}}function fe(t,r){var n=-1,e=t.length,i=0,o=[];while(++n<e){var a=t[n];if(a===r||a===l){t[n]=l;o[i++]=n}}return o}function ce(t){var r=-1,n=Array(t.size);t.forEach((function(t){n[++r]=t}));return n}function le(t){var r=-1,n=Array(t.size);t.forEach((function(t){n[++r]=[t,t]}));return n}function de(t,r,n){var e=n-1,i=t.length;while(++e<i){if(t[e]===r){return e}}return-1}function he(t,r,n){var e=n+1;while(e--){if(t[e]===r){return e}}return e}function ve(t){return ie(t)?ge(t):On(t)}function be(t){return ie(t)?we(t):Fn(t)}function pe(t){var r=t.length;while(r--&&Nt.test(t.charAt(r))){}return r}var me=Mn(Qr);function ge(t){var r=Vr.lastIndex=0;while(Vr.test(t)){++r}return r}function we(t){return t.match(Vr)||[]}function ye(t){return t.match(Wr)||[]}var xe=function t(r){r=r==null?an:ke.defaults(an.Object(),r,ke.pick(an,Kr));var c=r.Array,Nt=r.Date,Mt=r.Error,tr=r.Function,rr=r.Math,nr=r.Object,er=r.RegExp,ir=r.String,or=r.TypeError;var ar=c.prototype,ur=tr.prototype,sr=nr.prototype;var fr=r["__core-js_shared__"];var cr=ur.toString;var lr=sr.hasOwnProperty;var dr=0;var hr=function(){var t=/[^.]+$/.exec(fr&&fr.keys&&fr.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();var vr=sr.toString;var br=cr.call(nr);var pr=an._;var mr=er("^"+cr.call(lr).replace(Dt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var gr=fn?r.Buffer:n,wr=r.Symbol,yr=r.Uint8Array,xr=gr?gr.allocUnsafe:n,kr=se(nr.getPrototypeOf,nr),jr=nr.create,zr=sr.propertyIsEnumerable,_r=ar.splice,Ar=wr?wr.isConcatSpreadable:n,$r=wr?wr.iterator:n,Er=wr?wr.toStringTag:n;var Cr=function(){try{var t=Ka(nr,"defineProperty");t({},"",{});return t}catch(t){}}();var Ir=r.clearTimeout!==an.clearTimeout&&r.clearTimeout,Or=Nt&&Nt.now!==an.Date.now&&Nt.now,Fr=r.setTimeout!==an.setTimeout&&r.setTimeout;var Sr=rr.ceil,Dr=rr.floor,Tr=nr.getOwnPropertySymbols,Rr=gr?gr.isBuffer:n,Nr=r.isFinite,Ur=ar.join,Lr=se(nr.keys,nr),Pr=rr.max,Vr=rr.min,Wr=Nt.now,Yr=r.parseInt,Zr=rr.random,Xr=ar.reverse;var Jr=Ka(r,"DataView"),Qr=Ka(r,"Map"),tn=Ka(r,"Promise"),en=Ka(r,"Set"),on=Ka(r,"WeakMap"),un=Ka(nr,"create");var sn=on&&new on;var cn={};var ln=Fu(Jr),On=Fu(Qr),Fn=Fu(tn),Mn=Fu(en),de=Fu(on);var ge=wr?wr.prototype:n,we=ge?ge.valueOf:n,xe=ge?ge.toString:n;function je(t){if(Ac(t)&&!fc(t)&&!(t instanceof $e)){if(t instanceof Ae){return t}if(lr.call(t,"__wrapped__")){return Du(t)}}return new Ae(t)}var ze=function(){function t(){}return function(r){if(!_c(r)){return{}}if(jr){return jr(r)}t.prototype=r;var e=new t;t.prototype=n;return e}}();function _e(){}function Ae(t,r){this.__wrapped__=t;this.__actions__=[];this.__chain__=!!r;this.__index__=0;this.__values__=n}je.templateSettings={escape:Et,evaluate:Ct,interpolate:It,variable:"",imports:{_:je}};je.prototype=_e.prototype;je.prototype.constructor=je;Ae.prototype=ze(_e.prototype);Ae.prototype.constructor=Ae;function $e(t){this.__wrapped__=t;this.__actions__=[];this.__dir__=1;this.__filtered__=false;this.__iteratees__=[];this.__takeCount__=U;this.__views__=[]}function Ee(){var t=new $e(this.__wrapped__);t.__actions__=ia(this.__actions__);t.__dir__=this.__dir__;t.__filtered__=this.__filtered__;t.__iteratees__=ia(this.__iteratees__);t.__takeCount__=this.__takeCount__;t.__views__=ia(this.__views__);return t}function Ce(){if(this.__filtered__){var t=new $e(this);t.__dir__=-1;t.__filtered__=true}else{t=this.clone();t.__dir__*=-1}return t}function Ie(){var t=this.__wrapped__.value(),r=this.__dir__,n=fc(t),e=r<0,i=n?t.length:0,o=Ja(0,i,this.__views__),a=o.start,u=o.end,s=u-a,f=e?u:a-1,c=this.__iteratees__,l=c.length,d=0,h=Vr(s,this.__takeCount__);if(!n||!e&&i==s&&h==s){return Lo(t,this.__actions__)}var v=[];t:while(s--&&d<h){f+=r;var b=-1,p=t[f];while(++b<l){var m=c[b],g=m.iteratee,w=m.type,y=g(p);if(w==F){p=y}else if(!y){if(w==O){continue t}else{break t}}}v[d++]=p}return v}$e.prototype=ze(_e.prototype);$e.prototype.constructor=$e;function Oe(t){var r=-1,n=t==null?0:t.length;this.clear();while(++r<n){var e=t[r];this.set(e[0],e[1])}}function Fe(){this.__data__=un?un(null):{};this.size=0}function Se(t){var r=this.has(t)&&delete this.__data__[t];this.size-=r?1:0;return r}function De(t){var r=this.__data__;if(un){var e=r[t];return e===s?n:e}return lr.call(r,t)?r[t]:n}function Te(t){var r=this.__data__;return un?r[t]!==n:lr.call(r,t)}function Re(t,r){var e=this.__data__;this.size+=this.has(t)?0:1;e[t]=un&&r===n?s:r;return this}Oe.prototype.clear=Fe;Oe.prototype["delete"]=Se;Oe.prototype.get=De;Oe.prototype.has=Te;Oe.prototype.set=Re;function Ne(t){var r=-1,n=t==null?0:t.length;this.clear();while(++r<n){var e=t[r];this.set(e[0],e[1])}}function Ue(){this.__data__=[];this.size=0}function Le(t){var r=this.__data__,n=ci(r,t);if(n<0){return false}var e=r.length-1;if(n==e){r.pop()}else{_r.call(r,n,1)}--this.size;return true}function Pe(t){var r=this.__data__,e=ci(r,t);return e<0?n:r[e][1]}function Me(t){return ci(this.__data__,t)>-1}function Be(t,r){var n=this.__data__,e=ci(n,t);if(e<0){++this.size;n.push([t,r])}else{n[e][1]=r}return this}Ne.prototype.clear=Ue;Ne.prototype["delete"]=Le;Ne.prototype.get=Pe;Ne.prototype.has=Me;Ne.prototype.set=Be;function Ve(t){var r=-1,n=t==null?0:t.length;this.clear();while(++r<n){var e=t[r];this.set(e[0],e[1])}}function We(){this.size=0;this.__data__={hash:new Oe,map:new(Qr||Ne),string:new Oe}}function Ye(t){var r=Ya(this,t)["delete"](t);this.size-=r?1:0;return r}function Ze(t){return Ya(this,t).get(t)}function Ke(t){return Ya(this,t).has(t)}function qe(t,r){var n=Ya(this,t),e=n.size;n.set(t,r);this.size+=n.size==e?0:1;return this}Ve.prototype.clear=We;Ve.prototype["delete"]=Ye;Ve.prototype.get=Ze;Ve.prototype.has=Ke;Ve.prototype.set=qe;function Ge(t){var r=-1,n=t==null?0:t.length;this.__data__=new Ve;while(++r<n){this.add(t[r])}}function He(t){this.__data__.set(t,s);return this}function Xe(t){return this.__data__.has(t)}Ge.prototype.add=Ge.prototype.push=He;Ge.prototype.has=Xe;function Je(t){var r=this.__data__=new Ne(t);this.size=r.size}function Qe(){this.__data__=new Ne;this.size=0}function ti(t){var r=this.__data__,n=r["delete"](t);this.size=r.size;return n}function ri(t){return this.__data__.get(t)}function ni(t){return this.__data__.has(t)}function ei(t,r){var n=this.__data__;if(n instanceof Ne){var e=n.__data__;if(!Qr||e.length<i-1){e.push([t,r]);this.size=++n.size;return this}n=this.__data__=new Ve(e)}n.set(t,r);this.size=n.size;return this}Je.prototype.clear=Qe;Je.prototype["delete"]=ti;Je.prototype.get=ri;Je.prototype.has=ni;Je.prototype.set=ei;function ii(t,r){var n=fc(t),e=!n&&sc(t),i=!n&&!e&&vc(t),o=!n&&!e&&!i&&Mc(t),a=n||e||i||o,u=a?Yn(t.length,ir):[],s=u.length;for(var f in t){if((r||lr.call(t,f))&&!(a&&(f=="length"||i&&(f=="offset"||f=="parent")||o&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||au(f,s)))){u.push(f)}}return u}function oi(t){var r=t.length;return r?t[go(0,r-1)]:n}function ai(t,r){return Cu(ia(t),pi(r,0,t.length))}function ui(t){return Cu(ia(t))}function si(t,r,e){if(e!==n&&!oc(t[r],e)||e===n&&!(r in t)){vi(t,r,e)}}function fi(t,r,e){var i=t[r];if(!(lr.call(t,r)&&oc(i,e))||e===n&&!(r in t)){vi(t,r,e)}}function ci(t,r){var n=t.length;while(n--){if(oc(t[n][0],r)){return n}}return-1}function li(t,r,n,e){ki(t,(function(t,i,o){r(e,t,n(t),o)}));return e}function di(t,r){return t&&oa(r,jl(r),t)}function hi(t,r){return t&&oa(r,zl(r),t)}function vi(t,r,n){if(r=="__proto__"&&Cr){Cr(t,r,{configurable:true,enumerable:true,value:n,writable:true})}else{t[r]=n}}function bi(t,r){var e=-1,i=r.length,o=c(i),a=t==null;while(++e<i){o[e]=a?n:ml(t,r[e])}return o}function pi(t,r,e){if(t===t){if(e!==n){t=t<=e?t:e}if(r!==n){t=t>=r?t:r}}return t}function mi(t,r,e,i,o,a){var u,s=r&d,f=r&h,c=r&v;if(e){u=o?e(t,i,o,a):e(t)}if(u!==n){return u}if(!_c(t)){return t}var l=fc(t);if(l){u=ru(t);if(!s){return ia(t,u)}}else{var b=Xa(t),p=b==G||b==H;if(vc(t)){return qo(t,s)}if(b==tt||b==B||p&&!o){u=f||p?{}:nu(t);if(!s){return f?ua(t,hi(u,t)):aa(t,di(u,t))}}else{if(!Hr[b]){return o?t:{}}u=eu(t,b,s)}}a||(a=new Je);var m=a.get(t);if(m){return m}a.set(t,u);if(Uc(t)){t.forEach((function(n){u.add(mi(n,r,e,n,t,a))}))}else if($c(t)){t.forEach((function(n,i){u.set(i,mi(n,r,e,i,t,a))}))}var g=c?f?Pa:La:f?zl:jl;var w=l?n:g(t);yn(w||t,(function(n,i){if(w){i=n;n=t[i]}fi(u,i,mi(n,r,e,i,t,a))}));return u}function gi(t){var r=jl(t);return function(n){return wi(n,t,r)}}function wi(t,r,e){var i=e.length;if(t==null){return!i}t=nr(t);while(i--){var o=e[i],a=r[o],u=t[o];if(u===n&&!(o in t)||!a(u)){return false}}return true}function yi(t,r,e){if(typeof t!="function"){throw new or(a)}return _u((function(){t.apply(n,e)}),r)}function xi(t,r,n,e){var o=-1,a=zn,u=true,s=t.length,f=[],c=r.length;if(!s){return f}if(n){r=An(r,qn(n))}if(e){a=_n;u=false}else if(r.length>=i){a=Hn;u=false;r=new Ge(r)}t:while(++o<s){var l=t[o],d=n==null?l:n(l);l=e||l!==0?l:0;if(u&&d===d){var h=c;while(h--){if(r[h]===d){continue t}}f.push(l)}else if(!a(r,d,e)){f.push(l)}}return f}var ki=ca(Oi);var ji=ca(Fi,true);function zi(t,r){var n=true;ki(t,(function(t,e,i){n=!!r(t,e,i);return n}));return n}function _i(t,r,e){var i=-1,o=t.length;while(++i<o){var a=t[i],u=r(a);if(u!=null&&(s===n?u===u&&!Pc(u):e(u,s))){var s=u,f=a}}return f}function Ai(t,r,e,i){var o=t.length;e=Gc(e);if(e<0){e=-e>o?0:o+e}i=i===n||i>o?o:Gc(i);if(i<0){i+=o}i=e>i?0:Hc(i);while(e<i){t[e++]=r}return t}function $i(t,r){var n=[];ki(t,(function(t,e,i){if(r(t,e,i)){n.push(t)}}));return n}function Ei(t,r,n,e,i){var o=-1,a=t.length;n||(n=ou);i||(i=[]);while(++o<a){var u=t[o];if(r>0&&n(u)){if(r>1){Ei(u,r-1,n,e,i)}else{$n(i,u)}}else if(!e){i[i.length]=u}}return i}var Ci=la();var Ii=la(true);function Oi(t,r){return t&&Ci(t,r,jl)}function Fi(t,r){return t&&Ii(t,r,jl)}function Si(t,r){return jn(r,(function(r){return kc(t[r])}))}function Di(t,r){r=Wo(r,t);var e=0,i=r.length;while(t!=null&&e<i){t=t[Ou(r[e++])]}return e&&e==i?t:n}function Ti(t,r,n){var e=r(t);return fc(t)?e:$n(e,n(t))}function Ri(t){if(t==null){return t===n?ut:Q}return Er&&Er in nr(t)?qa(t):wu(t)}function Ni(t,r){return t>r}function Ui(t,r){return t!=null&&lr.call(t,r)}function Li(t,r){return t!=null&&r in nr(t)}function Pi(t,r,n){return t>=Vr(r,n)&&t<Pr(r,n)}function Mi(t,r,e){var i=e?_n:zn,o=t[0].length,a=t.length,u=a,s=c(a),f=Infinity,l=[];while(u--){var d=t[u];if(u&&r){d=An(d,qn(r))}f=Vr(d.length,f);s[u]=!e&&(r||o>=120&&d.length>=120)?new Ge(u&&d):n}d=t[0];var h=-1,v=s[0];t:while(++h<o&&l.length<f){var b=d[h],p=r?r(b):b;b=e||b!==0?b:0;if(!(v?Hn(v,p):i(l,p,e))){u=a;while(--u){var m=s[u];if(!(m?Hn(m,p):i(t[u],p,e))){continue t}}if(v){v.push(p)}l.push(b)}}return l}function Bi(t,r,n,e){Oi(t,(function(t,i,o){r(e,n(t),i,o)}));return e}function Vi(t,r,e){r=Wo(r,t);t=xu(t,r);var i=t==null?t:t[Ou(os(r))];return i==null?n:gn(i,t,e)}function Wi(t){return Ac(t)&&Ri(t)==B}function Yi(t){return Ac(t)&&Ri(t)==ct}function Zi(t){return Ac(t)&&Ri(t)==Z}function Ki(t,r,n,e,i){if(t===r){return true}if(t==null||r==null||!Ac(t)&&!Ac(r)){return t!==t&&r!==r}return qi(t,r,n,e,Ki,i)}function qi(t,r,n,e,i,o){var a=fc(t),u=fc(r),s=a?V:Xa(t),f=u?V:Xa(r);s=s==B?tt:s;f=f==B?tt:f;var c=s==tt,l=f==tt,d=s==f;if(d&&vc(t)){if(!vc(r)){return false}a=true;c=false}if(d&&!c){o||(o=new Je);return a||Mc(t)?Ta(t,r,n,e,i,o):Ra(t,r,s,n,e,i,o)}if(!(n&b)){var h=c&&lr.call(t,"__wrapped__"),v=l&&lr.call(r,"__wrapped__");if(h||v){var p=h?t.value():t,m=v?r.value():r;o||(o=new Je);return i(p,m,n,e,o)}}if(!d){return false}o||(o=new Je);return Na(t,r,n,e,i,o)}function Gi(t){return Ac(t)&&Xa(t)==X}function Hi(t,r,e,i){var o=e.length,a=o,u=!i;if(t==null){return!a}t=nr(t);while(o--){var s=e[o];if(u&&s[2]?s[1]!==t[s[0]]:!(s[0]in t)){return false}}while(++o<a){s=e[o];var f=s[0],c=t[f],l=s[1];if(u&&s[2]){if(c===n&&!(f in t)){return false}}else{var d=new Je;if(i){var h=i(c,l,f,t,r,d)}if(!(h===n?Ki(l,c,b|p,i,d):h)){return false}}}return true}function Xi(t){if(!_c(t)||lu(t)){return false}var r=kc(t)?mr:qt;return r.test(Fu(t))}function Ji(t){return Ac(t)&&Ri(t)==et}function Qi(t){return Ac(t)&&Xa(t)==it}function to(t){return Ac(t)&&zc(t.length)&&!!Gr[Ri(t)]}function ro(t){if(typeof t=="function"){return t}if(t==null){return Od}if(typeof t=="object"){return fc(t)?uo(t[0],t[1]):ao(t)}return Wd(t)}function no(t){if(!hu(t)){return Lr(t)}var r=[];for(var n in nr(t)){if(lr.call(t,n)&&n!="constructor"){r.push(n)}}return r}function eo(t){if(!_c(t)){return gu(t)}var r=hu(t),n=[];for(var e in t){if(!(e=="constructor"&&(r||!lr.call(t,e)))){n.push(e)}}return n}function io(t,r){return t<r}function oo(t,r){var n=-1,e=lc(t)?c(t.length):[];ki(t,(function(t,i,o){e[++n]=r(t,i,o)}));return e}function ao(t){var r=Za(t);if(r.length==1&&r[0][2]){return bu(r[0][0],r[0][1])}return function(n){return n===t||Hi(n,t,r)}}function uo(t,r){if(su(t)&&vu(r)){return bu(Ou(t),r)}return function(e){var i=ml(e,t);return i===n&&i===r?wl(e,t):Ki(r,i,b|p)}}function so(t,r,e,i,o){if(t===r){return}Ci(r,(function(a,u){o||(o=new Je);if(_c(a)){fo(t,r,u,e,so,i,o)}else{var s=i?i(ju(t,u),a,u+"",t,r,o):n;if(s===n){s=a}si(t,u,s)}}),zl)}function fo(t,r,e,i,o,a,u){var s=ju(t,e),f=ju(r,e),c=u.get(f);if(c){si(t,e,c);return}var l=a?a(s,f,e+"",t,r,u):n;var d=l===n;if(d){var h=fc(f),v=!h&&vc(f),b=!h&&!v&&Mc(f);l=f;if(h||v||b){if(fc(s)){l=s}else if(dc(s)){l=ia(s)}else if(v){d=false;l=qo(f,true)}else if(b){d=false;l=Qo(f,true)}else{l=[]}}else if(Tc(f)||sc(f)){l=s;if(sc(s)){l=Jc(s)}else if(!_c(s)||kc(s)){l=nu(f)}}else{d=false}}if(d){u.set(f,l);o(l,f,i,a,u);u["delete"](f)}si(t,e,l)}function co(t,r){var e=t.length;if(!e){return}r+=r<0?e:0;return au(r,e)?t[r]:n}function lo(t,r,n){if(r.length){r=An(r,(function(t){if(fc(t)){return function(r){return Di(r,t.length===1?t[0]:t)}}return t}))}else{r=[Od]}var e=-1;r=An(r,qn(Wa()));var i=oo(t,(function(t,n,i){var o=An(r,(function(r){return r(t)}));return{criteria:o,index:++e,value:t}}));return Vn(i,(function(t,r){return ra(t,r,n)}))}function ho(t,r){return vo(t,r,(function(r,n){return wl(t,n)}))}function vo(t,r,n){var e=-1,i=r.length,o={};while(++e<i){var a=r[e],u=Di(t,a);if(n(u,a)){zo(o,Wo(a,t),u)}}return o}function bo(t){return function(r){return Di(r,t)}}function po(t,r,n,e){var i=e?Nn:Rn,o=-1,a=r.length,u=t;if(t===r){r=ia(r)}if(n){u=An(t,qn(n))}while(++o<a){var s=0,f=r[o],c=n?n(f):f;while((s=i(u,c,s,e))>-1){if(u!==t){_r.call(u,s,1)}_r.call(t,s,1)}}return t}function mo(t,r){var n=t?r.length:0,e=n-1;while(n--){var i=r[n];if(n==e||i!==o){var o=i;if(au(i)){_r.call(t,i,1)}else{Ro(t,i)}}}return t}function go(t,r){return t+Dr(Zr()*(r-t+1))}function wo(t,r,n,e){var i=-1,o=Pr(Sr((r-t)/(n||1)),0),a=c(o);while(o--){a[e?o:++i]=t;t+=n}return a}function yo(t,r){var n="";if(!t||r<1||r>T){return n}do{if(r%2){n+=t}r=Dr(r/2);if(r){t+=t}}while(r);return n}function xo(t,r){return Au(yu(t,r,Od),t+"")}function ko(t){return oi(Bl(t))}function jo(t,r){var n=Bl(t);return Cu(n,pi(r,0,n.length))}function zo(t,r,e,i){if(!_c(t)){return t}r=Wo(r,t);var o=-1,a=r.length,u=a-1,s=t;while(s!=null&&++o<a){var f=Ou(r[o]),c=e;if(f==="__proto__"||f==="constructor"||f==="prototype"){return t}if(o!=u){var l=s[f];c=i?i(l,f,s):n;if(c===n){c=_c(l)?l:au(r[o+1])?[]:{}}}fi(s,f,c);s=s[f]}return t}var _o=!sn?Od:function(t,r){sn.set(t,r);return t};var Ao=!Cr?Od:function(t,r){return Cr(t,"toString",{configurable:true,enumerable:false,value:$d(r),writable:true})};function $o(t){return Cu(Bl(t))}function Eo(t,r,n){var e=-1,i=t.length;if(r<0){r=-r>i?0:i+r}n=n>i?i:n;if(n<0){n+=i}i=r>n?0:n-r>>>0;r>>>=0;var o=c(i);while(++e<i){o[e]=t[e+r]}return o}function Co(t,r){var n;ki(t,(function(t,e,i){n=r(t,e,i);return!n}));return!!n}function Io(t,r,n){var e=0,i=t==null?e:t.length;if(typeof r=="number"&&r===r&&i<=P){while(e<i){var o=e+i>>>1,a=t[o];if(a!==null&&!Pc(a)&&(n?a<=r:a<r)){e=o+1}else{i=o}}return i}return Oo(t,r,Od,n)}function Oo(t,r,e,i){var o=0,a=t==null?0:t.length;if(a===0){return 0}r=e(r);var u=r!==r,s=r===null,f=Pc(r),c=r===n;while(o<a){var l=Dr((o+a)/2),d=e(t[l]),h=d!==n,v=d===null,b=d===d,p=Pc(d);if(u){var m=i||b}else if(c){m=b&&(i||h)}else if(s){m=b&&h&&(i||!v)}else if(f){m=b&&h&&!v&&(i||!p)}else if(v||p){m=false}else{m=i?d<=r:d<r}if(m){o=l+1}else{a=l}}return Vr(a,L)}function Fo(t,r){var n=-1,e=t.length,i=0,o=[];while(++n<e){var a=t[n],u=r?r(a):a;if(!n||!oc(u,s)){var s=u;o[i++]=a===0?0:a}}return o}function So(t){if(typeof t=="number"){return t}if(Pc(t)){return N}return+t}function Do(t){if(typeof t=="string"){return t}if(fc(t)){return An(t,Do)+""}if(Pc(t)){return xe?xe.call(t):""}var r=t+"";return r=="0"&&1/t==-D?"-0":r}function To(t,r,n){var e=-1,o=zn,a=t.length,u=true,s=[],f=s;if(n){u=false;o=_n}else if(a>=i){var c=r?null:Ca(t);if(c){return ce(c)}u=false;o=Hn;f=new Ge}else{f=r?[]:s}t:while(++e<a){var l=t[e],d=r?r(l):l;l=n||l!==0?l:0;if(u&&d===d){var h=f.length;while(h--){if(f[h]===d){continue t}}if(r){f.push(d)}s.push(l)}else if(!o(f,d,n)){if(f!==s){f.push(d)}s.push(l)}}return s}function Ro(t,r){r=Wo(r,t);t=xu(t,r);return t==null||delete t[Ou(os(r))]}function No(t,r,n,e){return zo(t,r,n(Di(t,r)),e)}function Uo(t,r,n,e){var i=t.length,o=e?i:-1;while((e?o--:++o<i)&&r(t[o],o,t)){}return n?Eo(t,e?0:o,e?o+1:i):Eo(t,e?o+1:0,e?i:o)}function Lo(t,r){var n=t;if(n instanceof $e){n=n.value()}return En(r,(function(t,r){return r.func.apply(r.thisArg,$n([t],r.args))}),n)}function Po(t,r,n){var e=t.length;if(e<2){return e?To(t[0]):[]}var i=-1,o=c(e);while(++i<e){var a=t[i],u=-1;while(++u<e){if(u!=i){o[i]=xi(o[i]||a,t[u],r,n)}}}return To(Ei(o,1),r,n)}function Mo(t,r,e){var i=-1,o=t.length,a=r.length,u={};while(++i<o){var s=i<a?r[i]:n;e(u,t[i],s)}return u}function Bo(t){return dc(t)?t:[]}function Vo(t){return typeof t=="function"?t:Od}function Wo(t,r){if(fc(t)){return t}return su(t,r)?[t]:Iu(tl(t))}var Yo=xo;function Zo(t,r,e){var i=t.length;e=e===n?i:e;return!r&&e>=i?t:Eo(t,r,e)}var Ko=Ir||function(t){return an.clearTimeout(t)};function qo(t,r){if(r){return t.slice()}var n=t.length,e=xr?xr(n):new t.constructor(n);t.copy(e);return e}function Go(t){var r=new t.constructor(t.byteLength);new yr(r).set(new yr(t));return r}function Ho(t,r){var n=r?Go(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function Xo(t){var r=new t.constructor(t.source,Yt.exec(t));r.lastIndex=t.lastIndex;return r}function Jo(t){return we?nr(we.call(t)):{}}function Qo(t,r){var n=r?Go(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function ta(t,r){if(t!==r){var e=t!==n,i=t===null,o=t===t,a=Pc(t);var u=r!==n,s=r===null,f=r===r,c=Pc(r);if(!s&&!c&&!a&&t>r||a&&u&&f&&!s&&!c||i&&u&&f||!e&&f||!o){return 1}if(!i&&!a&&!c&&t<r||c&&e&&o&&!i&&!a||s&&e&&o||!u&&o||!f){return-1}}return 0}function ra(t,r,n){var e=-1,i=t.criteria,o=r.criteria,a=i.length,u=n.length;while(++e<a){var s=ta(i[e],o[e]);if(s){if(e>=u){return s}var f=n[e];return s*(f=="desc"?-1:1)}}return t.index-r.index}function na(t,r,n,e){var i=-1,o=t.length,a=n.length,u=-1,s=r.length,f=Pr(o-a,0),l=c(s+f),d=!e;while(++u<s){l[u]=r[u]}while(++i<a){if(d||i<o){l[n[i]]=t[i]}}while(f--){l[u++]=t[i++]}return l}function ea(t,r,n,e){var i=-1,o=t.length,a=-1,u=n.length,s=-1,f=r.length,l=Pr(o-u,0),d=c(l+f),h=!e;while(++i<l){d[i]=t[i]}var v=i;while(++s<f){d[v+s]=r[s]}while(++a<u){if(h||i<o){d[v+n[a]]=t[i++]}}return d}function ia(t,r){var n=-1,e=t.length;r||(r=c(e));while(++n<e){r[n]=t[n]}return r}function oa(t,r,e,i){var o=!e;e||(e={});var a=-1,u=r.length;while(++a<u){var s=r[a];var f=i?i(e[s],t[s],s,e,t):n;if(f===n){f=t[s]}if(o){vi(e,s,f)}else{fi(e,s,f)}}return e}function aa(t,r){return oa(t,Ga(t),r)}function ua(t,r){return oa(t,Ha(t),r)}function sa(t,r){return function(n,e){var i=fc(n)?wn:li,o=r?r():{};return i(n,t,Wa(e,2),o)}}function fa(t){return xo((function(r,e){var i=-1,o=e.length,a=o>1?e[o-1]:n,u=o>2?e[2]:n;a=t.length>3&&typeof a=="function"?(o--,a):n;if(u&&uu(e[0],e[1],u)){a=o<3?n:a;o=1}r=nr(r);while(++i<o){var s=e[i];if(s){t(r,s,i,a)}}return r}))}function ca(t,r){return function(n,e){if(n==null){return n}if(!lc(n)){return t(n,e)}var i=n.length,o=r?i:-1,a=nr(n);while(r?o--:++o<i){if(e(a[o],o,a)===false){break}}return n}}function la(t){return function(r,n,e){var i=-1,o=nr(r),a=e(r),u=a.length;while(u--){var s=a[t?u:++i];if(n(o[s],s,o)===false){break}}return r}}function da(t,r,n){var e=r&m,i=ba(t);function o(){var r=this&&this!==an&&this instanceof o?i:t;return r.apply(e?n:this,arguments)}return o}function ha(t){return function(r){r=tl(r);var e=ie(r)?be(r):n;var i=e?e[0]:r.charAt(0);var o=e?Zo(e,1).join(""):r.slice(1);return i[t]()+o}}function va(t){return function(r){return En(kd(Gl(r).replace(Mr,"")),t,"")}}function ba(t){return function(){var r=arguments;switch(r.length){case 0:return new t;case 1:return new t(r[0]);case 2:return new t(r[0],r[1]);case 3:return new t(r[0],r[1],r[2]);case 4:return new t(r[0],r[1],r[2],r[3]);case 5:return new t(r[0],r[1],r[2],r[3],r[4]);case 6:return new t(r[0],r[1],r[2],r[3],r[4],r[5]);case 7:return new t(r[0],r[1],r[2],r[3],r[4],r[5],r[6])}var n=ze(t.prototype),e=t.apply(n,r);return _c(e)?e:n}}function pa(t,r,e){var i=ba(t);function o(){var a=arguments.length,u=c(a),s=a,f=Va(o);while(s--){u[s]=arguments[s]}var l=a<3&&u[0]!==f&&u[a-1]!==f?[]:fe(u,f);a-=l.length;if(a<e){return $a(t,r,wa,o.placeholder,n,u,l,n,n,e-a)}var d=this&&this!==an&&this instanceof o?i:t;return gn(d,this,u)}return o}function ma(t){return function(r,e,i){var o=nr(r);if(!lc(r)){var a=Wa(e,3);r=jl(r);e=function(t){return a(o[t],t,o)}}var u=t(r,e,i);return u>-1?o[a?r[u]:u]:n}}function ga(t){return Ua((function(r){var e=r.length,i=e,o=Ae.prototype.thru;if(t){r.reverse()}while(i--){var u=r[i];if(typeof u!="function"){throw new or(a)}if(o&&!s&&Ba(u)=="wrapper"){var s=new Ae([],true)}}i=s?i:e;while(++i<e){u=r[i];var f=Ba(u),c=f=="wrapper"?Ma(u):n;if(c&&cu(c[0])&&c[1]==(z|y|k|_)&&!c[4].length&&c[9]==1){s=s[Ba(c[0])].apply(s,c[3])}else{s=u.length==1&&cu(u)?s[f]():s.thru(u)}}return function(){var t=arguments,n=t[0];if(s&&t.length==1&&fc(n)){return s.plant(n).value()}var i=0,o=e?r[i].apply(this,t):n;while(++i<e){o=r[i].call(this,o)}return o}}))}function wa(t,r,e,i,o,a,u,s,f,l){var d=r&z,h=r&m,v=r&g,b=r&(y|x),p=r&A,w=v?n:ba(t);function k(){var n=arguments.length,m=c(n),g=n;while(g--){m[g]=arguments[g]}if(b){var y=Va(k),x=Qn(m,y)}if(i){m=na(m,i,o,b)}if(a){m=ea(m,a,u,b)}n-=x;if(b&&n<l){var j=fe(m,y);return $a(t,r,wa,k.placeholder,e,m,j,s,f,l-n)}var z=h?e:this,_=v?z[t]:t;n=m.length;if(s){m=ku(m,s)}else if(p&&n>1){m.reverse()}if(d&&f<n){m.length=f}if(this&&this!==an&&this instanceof k){_=w||ba(_)}return _.apply(z,m)}return k}function ya(t,r){return function(n,e){return Bi(n,t,r(e),{})}}function xa(t,r){return function(e,i){var o;if(e===n&&i===n){return r}if(e!==n){o=e}if(i!==n){if(o===n){return i}if(typeof e=="string"||typeof i=="string"){e=Do(e);i=Do(i)}else{e=So(e);i=So(i)}o=t(e,i)}return o}}function ka(t){return Ua((function(r){r=An(r,qn(Wa()));return xo((function(n){var e=this;return t(r,(function(t){return gn(t,e,n)}))}))}))}function ja(t,r){r=r===n?" ":Do(r);var e=r.length;if(e<2){return e?yo(r,t):r}var i=yo(r,Sr(t/ve(r)));return ie(r)?Zo(be(i),0,t).join(""):i.slice(0,t)}function za(t,r,n,e){var i=r&m,o=ba(t);function a(){var r=-1,u=arguments.length,s=-1,f=e.length,l=c(f+u),d=this&&this!==an&&this instanceof a?o:t;while(++s<f){l[s]=e[s]}while(u--){l[s++]=arguments[++r]}return gn(d,i?n:this,l)}return a}function _a(t){return function(r,e,i){if(i&&typeof i!="number"&&uu(r,e,i)){e=i=n}r=qc(r);if(e===n){e=r;r=0}else{e=qc(e)}i=i===n?r<e?1:-1:qc(i);return wo(r,e,i,t)}}function Aa(t){return function(r,n){if(!(typeof r=="string"&&typeof n=="string")){r=Xc(r);n=Xc(n)}return t(r,n)}}function $a(t,r,e,i,o,a,u,s,f,c){var l=r&y,d=l?u:n,h=l?n:u,v=l?a:n,b=l?n:a;r|=l?k:j;r&=~(l?j:k);if(!(r&w)){r&=~(m|g)}var p=[t,r,o,v,d,b,h,s,f,c];var x=e.apply(n,p);if(cu(t)){zu(x,p)}x.placeholder=i;return $u(x,t,r)}function Ea(t){var r=rr[t];return function(t,n){t=Xc(t);n=n==null?0:Vr(Gc(n),292);if(n&&Nr(t)){var e=(tl(t)+"e").split("e"),i=r(e[0]+"e"+(+e[1]+n));e=(tl(i)+"e").split("e");return+(e[0]+"e"+(+e[1]-n))}return r(t)}}var Ca=!(en&&1/ce(new en([,-0]))[1]==D)?Ld:function(t){return new en(t)};function Ia(t){return function(r){var n=Xa(r);if(n==X){return ue(r)}if(n==it){return le(r)}return Zn(r,t(r))}}function Oa(t,r,e,i,o,u,s,f){var c=r&g;if(!c&&typeof t!="function"){throw new or(a)}var l=i?i.length:0;if(!l){r&=~(k|j);i=o=n}s=s===n?s:Pr(Gc(s),0);f=f===n?f:Gc(f);l-=o?o.length:0;if(r&j){var d=i,h=o;i=o=n}var v=c?n:Ma(t);var b=[t,r,e,i,o,d,h,u,s,f];if(v){mu(b,v)}t=b[0];r=b[1];e=b[2];i=b[3];o=b[4];f=b[9]=b[9]===n?c?0:t.length:Pr(b[9]-l,0);if(!f&&r&(y|x)){r&=~(y|x)}if(!r||r==m){var p=da(t,r,e)}else if(r==y||r==x){p=pa(t,r,f)}else if((r==k||r==(m|k))&&!o.length){p=za(t,r,e,i)}else{p=wa.apply(n,b)}var w=v?_o:zu;return $u(w(p,b),t,r)}function Fa(t,r,e,i){if(t===n||oc(t,sr[e])&&!lr.call(i,e)){return r}return t}function Sa(t,r,e,i,o,a){if(_c(t)&&_c(r)){a.set(r,t);so(t,r,n,Sa,a);a["delete"](r)}return t}function Da(t){return Tc(t)?n:t}function Ta(t,r,e,i,o,a){var u=e&b,s=t.length,f=r.length;if(s!=f&&!(u&&f>s)){return false}var c=a.get(t);var l=a.get(r);if(c&&l){return c==r&&l==t}var d=-1,h=true,v=e&p?new Ge:n;a.set(t,r);a.set(r,t);while(++d<s){var m=t[d],g=r[d];if(i){var w=u?i(g,m,d,r,t,a):i(m,g,d,t,r,a)}if(w!==n){if(w){continue}h=false;break}if(v){if(!In(r,(function(t,r){if(!Hn(v,r)&&(m===t||o(m,t,e,i,a))){return v.push(r)}}))){h=false;break}}else if(!(m===g||o(m,g,e,i,a))){h=false;break}}a["delete"](t);a["delete"](r);return h}function Ra(t,r,n,e,i,o,a){switch(n){case lt:if(t.byteLength!=r.byteLength||t.byteOffset!=r.byteOffset){return false}t=t.buffer;r=r.buffer;case ct:if(t.byteLength!=r.byteLength||!o(new yr(t),new yr(r))){return false}return true;case Y:case Z:case J:return oc(+t,+r);case q:return t.name==r.name&&t.message==r.message;case et:case ot:return t==r+"";case X:var u=ue;case it:var s=e&b;u||(u=ce);if(t.size!=r.size&&!s){return false}var f=a.get(t);if(f){return f==r}e|=p;a.set(t,r);var c=Ta(u(t),u(r),e,i,o,a);a["delete"](t);return c;case at:if(we){return we.call(t)==we.call(r)}}return false}function Na(t,r,e,i,o,a){var u=e&b,s=La(t),f=s.length,c=La(r),l=c.length;if(f!=l&&!u){return false}var d=f;while(d--){var h=s[d];if(!(u?h in r:lr.call(r,h))){return false}}var v=a.get(t);var p=a.get(r);if(v&&p){return v==r&&p==t}var m=true;a.set(t,r);a.set(r,t);var g=u;while(++d<f){h=s[d];var w=t[h],y=r[h];if(i){var x=u?i(y,w,h,r,t,a):i(w,y,h,t,r,a)}if(!(x===n?w===y||o(w,y,e,i,a):x)){m=false;break}g||(g=h=="constructor")}if(m&&!g){var k=t.constructor,j=r.constructor;if(k!=j&&("constructor"in t&&"constructor"in r)&&!(typeof k=="function"&&k instanceof k&&typeof j=="function"&&j instanceof j)){m=false}}a["delete"](t);a["delete"](r);return m}function Ua(t){return Au(yu(t,n,qu),t+"")}function La(t){return Ti(t,jl,Ga)}function Pa(t){return Ti(t,zl,Ha)}var Ma=!sn?Ld:function(t){return sn.get(t)};function Ba(t){var r=t.name+"",n=cn[r],e=lr.call(cn,r)?n.length:0;while(e--){var i=n[e],o=i.func;if(o==null||o==t){return i.name}}return r}function Va(t){var r=lr.call(je,"placeholder")?je:t;return r.placeholder}function Wa(){var t=je.iteratee||Fd;t=t===Fd?ro:t;return arguments.length?t(arguments[0],arguments[1]):t}function Ya(t,r){var n=t.__data__;return fu(r)?n[typeof r=="string"?"string":"hash"]:n.map}function Za(t){var r=jl(t),n=r.length;while(n--){var e=r[n],i=t[e];r[n]=[e,i,vu(i)]}return r}function Ka(t,r){var e=ee(t,r);return Xi(e)?e:n}function qa(t){var r=lr.call(t,Er),e=t[Er];try{t[Er]=n;var i=true}catch(t){}var o=vr.call(t);if(i){if(r){t[Er]=e}else{delete t[Er]}}return o}var Ga=!Tr?qd:function(t){if(t==null){return[]}t=nr(t);return jn(Tr(t),(function(r){return zr.call(t,r)}))};var Ha=!Tr?qd:function(t){var r=[];while(t){$n(r,Ga(t));t=kr(t)}return r};var Xa=Ri;if(Jr&&Xa(new Jr(new ArrayBuffer(1)))!=lt||Qr&&Xa(new Qr)!=X||tn&&Xa(tn.resolve())!=rt||en&&Xa(new en)!=it||on&&Xa(new on)!=st){Xa=function(t){var r=Ri(t),e=r==tt?t.constructor:n,i=e?Fu(e):"";if(i){switch(i){case ln:return lt;case On:return X;case Fn:return rt;case Mn:return it;case de:return st}}return r}}function Ja(t,r,n){var e=-1,i=n.length;while(++e<i){var o=n[e],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":r-=a;break;case"take":r=Vr(r,t+a);break;case"takeRight":t=Pr(t,r-a);break}}return{start:t,end:r}}function Qa(t){var r=t.match(Lt);return r?r[1].split(Pt):[]}function tu(t,r,n){r=Wo(r,t);var e=-1,i=r.length,o=false;while(++e<i){var a=Ou(r[e]);if(!(o=t!=null&&n(t,a))){break}t=t[a]}if(o||++e!=i){return o}i=t==null?0:t.length;return!!i&&zc(i)&&au(a,i)&&(fc(t)||sc(t))}function ru(t){var r=t.length,n=new t.constructor(r);if(r&&typeof t[0]=="string"&&lr.call(t,"index")){n.index=t.index;n.input=t.input}return n}function nu(t){return typeof t.constructor=="function"&&!hu(t)?ze(kr(t)):{}}function eu(t,r,n){var e=t.constructor;switch(r){case ct:return Go(t);case Y:case Z:return new e(+t);case lt:return Ho(t,n);case dt:case ht:case vt:case bt:case pt:case mt:case gt:case wt:case yt:return Qo(t,n);case X:return new e;case J:case ot:return new e(t);case et:return Xo(t);case it:return new e;case at:return Jo(t)}}function iu(t,r){var n=r.length;if(!n){return t}var e=n-1;r[e]=(n>1?"& ":"")+r[e];r=r.join(n>2?", ":" ");return t.replace(Ut,"{\n/* [wrapped with "+r+"] */\n")}function ou(t){return fc(t)||sc(t)||!!(Ar&&t&&t[Ar])}function au(t,r){var n=typeof t;r=r==null?T:r;return!!r&&(n=="number"||n!="symbol"&&Ht.test(t))&&(t>-1&&t%1==0&&t<r)}function uu(t,r,n){if(!_c(n)){return false}var e=typeof r;if(e=="number"?lc(n)&&au(r,n.length):e=="string"&&r in n){return oc(n[r],t)}return false}function su(t,r){if(fc(t)){return false}var n=typeof t;if(n=="number"||n=="symbol"||n=="boolean"||t==null||Pc(t)){return true}return Ft.test(t)||!Ot.test(t)||r!=null&&t in nr(r)}function fu(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}function cu(t){var r=Ba(t),n=je[r];if(typeof n!="function"||!(r in $e.prototype)){return false}if(t===n){return true}var e=Ma(n);return!!e&&t===e[0]}function lu(t){return!!hr&&hr in t}var du=fr?kc:Gd;function hu(t){var r=t&&t.constructor,n=typeof r=="function"&&r.prototype||sr;return t===n}function vu(t){return t===t&&!_c(t)}function bu(t,r){return function(e){if(e==null){return false}return e[t]===r&&(r!==n||t in nr(e))}}function pu(t){var r=Mf(t,(function(t){if(n.size===f){n.clear()}return t}));var n=r.cache;return r}function mu(t,r){var n=t[1],e=r[1],i=n|e,o=i<(m|g|z);var a=e==z&&n==y||e==z&&n==_&&t[7].length<=r[8]||e==(z|_)&&r[7].length<=r[8]&&n==y;if(!(o||a)){return t}if(e&m){t[2]=r[2];i|=n&m?0:w}var u=r[3];if(u){var s=t[3];t[3]=s?na(s,u,r[4]):u;t[4]=s?fe(t[3],l):r[4]}u=r[5];if(u){s=t[5];t[5]=s?ea(s,u,r[6]):u;t[6]=s?fe(t[5],l):r[6]}u=r[7];if(u){t[7]=u}if(e&z){t[8]=t[8]==null?r[8]:Vr(t[8],r[8])}if(t[9]==null){t[9]=r[9]}t[0]=r[0];t[1]=i;return t}function gu(t){var r=[];if(t!=null){for(var n in nr(t)){r.push(n)}}return r}function wu(t){return vr.call(t)}function yu(t,r,e){r=Pr(r===n?t.length-1:r,0);return function(){var n=arguments,i=-1,o=Pr(n.length-r,0),a=c(o);while(++i<o){a[i]=n[r+i]}i=-1;var u=c(r+1);while(++i<r){u[i]=n[i]}u[r]=e(a);return gn(t,this,u)}}function xu(t,r){return r.length<2?t:Di(t,Eo(r,0,-1))}function ku(t,r){var e=t.length,i=Vr(r.length,e),o=ia(t);while(i--){var a=r[i];t[i]=au(a,e)?o[a]:n}return t}function ju(t,r){if(r==="constructor"&&typeof t[r]==="function"){return}if(r=="__proto__"){return}return t[r]}var zu=Eu(_o);var _u=Fr||function(t,r){return an.setTimeout(t,r)};var Au=Eu(Ao);function $u(t,r,n){var e=r+"";return Au(t,iu(e,Su(Qa(e),n)))}function Eu(t){var r=0,e=0;return function(){var i=Wr(),o=I-(i-e);e=i;if(o>0){if(++r>=C){return arguments[0]}}else{r=0}return t.apply(n,arguments)}}function Cu(t,r){var e=-1,i=t.length,o=i-1;r=r===n?i:r;while(++e<r){var a=go(e,o),u=t[a];t[a]=t[e];t[e]=u}t.length=r;return t}var Iu=pu((function(t){var r=[];if(t.charCodeAt(0)===46){r.push("")}t.replace(St,(function(t,n,e,i){r.push(e?i.replace(Vt,"$1"):n||t)}));return r}));function Ou(t){if(typeof t=="string"||Pc(t)){return t}var r=t+"";return r=="0"&&1/t==-D?"-0":r}function Fu(t){if(t!=null){try{return cr.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Su(t,r){yn(M,(function(n){var e="_."+n[0];if(r&n[1]&&!zn(t,e)){t.push(e)}}));return t.sort()}function Du(t){if(t instanceof $e){return t.clone()}var r=new Ae(t.__wrapped__,t.__chain__);r.__actions__=ia(t.__actions__);r.__index__=t.__index__;r.__values__=t.__values__;return r}function Tu(t,r,e){if(e?uu(t,r,e):r===n){r=1}else{r=Pr(Gc(r),0)}var i=t==null?0:t.length;if(!i||r<1){return[]}var o=0,a=0,u=c(Sr(i/r));while(o<i){u[a++]=Eo(t,o,o+=r)}return u}function Ru(t){var r=-1,n=t==null?0:t.length,e=0,i=[];while(++r<n){var o=t[r];if(o){i[e++]=o}}return i}function Nu(){var t=arguments.length;if(!t){return[]}var r=c(t-1),n=arguments[0],e=t;while(e--){r[e-1]=arguments[e]}return $n(fc(n)?ia(n):[n],Ei(r,1))}var Uu=xo((function(t,r){return dc(t)?xi(t,Ei(r,1,dc,true)):[]}));var Lu=xo((function(t,r){var e=os(r);if(dc(e)){e=n}return dc(t)?xi(t,Ei(r,1,dc,true),Wa(e,2)):[]}));var Pu=xo((function(t,r){var e=os(r);if(dc(e)){e=n}return dc(t)?xi(t,Ei(r,1,dc,true),n,e):[]}));function Mu(t,r,e){var i=t==null?0:t.length;if(!i){return[]}r=e||r===n?1:Gc(r);return Eo(t,r<0?0:r,i)}function Bu(t,r,e){var i=t==null?0:t.length;if(!i){return[]}r=e||r===n?1:Gc(r);r=i-r;return Eo(t,0,r<0?0:r)}function Vu(t,r){return t&&t.length?Uo(t,Wa(r,3),true,true):[]}function Wu(t,r){return t&&t.length?Uo(t,Wa(r,3),true):[]}function Yu(t,r,n,e){var i=t==null?0:t.length;if(!i){return[]}if(n&&typeof n!="number"&&uu(t,r,n)){n=0;e=i}return Ai(t,r,n,e)}function Zu(t,r,n){var e=t==null?0:t.length;if(!e){return-1}var i=n==null?0:Gc(n);if(i<0){i=Pr(e+i,0)}return Tn(t,Wa(r,3),i)}function Ku(t,r,e){var i=t==null?0:t.length;if(!i){return-1}var o=i-1;if(e!==n){o=Gc(e);o=e<0?Pr(i+o,0):Vr(o,i-1)}return Tn(t,Wa(r,3),o,true)}function qu(t){var r=t==null?0:t.length;return r?Ei(t,1):[]}function Gu(t){var r=t==null?0:t.length;return r?Ei(t,D):[]}function Hu(t,r){var e=t==null?0:t.length;if(!e){return[]}r=r===n?1:Gc(r);return Ei(t,r)}function Xu(t){var r=-1,n=t==null?0:t.length,e={};while(++r<n){var i=t[r];e[i[0]]=i[1]}return e}function Ju(t){return t&&t.length?t[0]:n}function Qu(t,r,n){var e=t==null?0:t.length;if(!e){return-1}var i=n==null?0:Gc(n);if(i<0){i=Pr(e+i,0)}return Rn(t,r,i)}function ts(t){var r=t==null?0:t.length;return r?Eo(t,0,-1):[]}var rs=xo((function(t){var r=An(t,Bo);return r.length&&r[0]===t[0]?Mi(r):[]}));var ns=xo((function(t){var r=os(t),e=An(t,Bo);if(r===os(e)){r=n}else{e.pop()}return e.length&&e[0]===t[0]?Mi(e,Wa(r,2)):[]}));var es=xo((function(t){var r=os(t),e=An(t,Bo);r=typeof r=="function"?r:n;if(r){e.pop()}return e.length&&e[0]===t[0]?Mi(e,n,r):[]}));function is(t,r){return t==null?"":Ur.call(t,r)}function os(t){var r=t==null?0:t.length;return r?t[r-1]:n}function as(t,r,e){var i=t==null?0:t.length;if(!i){return-1}var o=i;if(e!==n){o=Gc(e);o=o<0?Pr(i+o,0):Vr(o,i-1)}return r===r?he(t,r,o):Tn(t,Un,o,true)}function us(t,r){return t&&t.length?co(t,Gc(r)):n}var ss=xo(fs);function fs(t,r){return t&&t.length&&r&&r.length?po(t,r):t}function cs(t,r,n){return t&&t.length&&r&&r.length?po(t,r,Wa(n,2)):t}function ls(t,r,e){return t&&t.length&&r&&r.length?po(t,r,n,e):t}var ds=Ua((function(t,r){var n=t==null?0:t.length,e=bi(t,r);mo(t,An(r,(function(t){return au(t,n)?+t:t})).sort(ta));return e}));function hs(t,r){var n=[];if(!(t&&t.length)){return n}var e=-1,i=[],o=t.length;r=Wa(r,3);while(++e<o){var a=t[e];if(r(a,e,t)){n.push(a);i.push(e)}}mo(t,i);return n}function vs(t){return t==null?t:Xr.call(t)}function bs(t,r,e){var i=t==null?0:t.length;if(!i){return[]}if(e&&typeof e!="number"&&uu(t,r,e)){r=0;e=i}else{r=r==null?0:Gc(r);e=e===n?i:Gc(e)}return Eo(t,r,e)}function ps(t,r){return Io(t,r)}function ms(t,r,n){return Oo(t,r,Wa(n,2))}function gs(t,r){var n=t==null?0:t.length;if(n){var e=Io(t,r);if(e<n&&oc(t[e],r)){return e}}return-1}function ws(t,r){return Io(t,r,true)}function ys(t,r,n){return Oo(t,r,Wa(n,2),true)}function xs(t,r){var n=t==null?0:t.length;if(n){var e=Io(t,r,true)-1;if(oc(t[e],r)){return e}}return-1}function ks(t){return t&&t.length?Fo(t):[]}function js(t,r){return t&&t.length?Fo(t,Wa(r,2)):[]}function zs(t){var r=t==null?0:t.length;return r?Eo(t,1,r):[]}function _s(t,r,e){if(!(t&&t.length)){return[]}r=e||r===n?1:Gc(r);return Eo(t,0,r<0?0:r)}function As(t,r,e){var i=t==null?0:t.length;if(!i){return[]}r=e||r===n?1:Gc(r);r=i-r;return Eo(t,r<0?0:r,i)}function $s(t,r){return t&&t.length?Uo(t,Wa(r,3),false,true):[]}function Es(t,r){return t&&t.length?Uo(t,Wa(r,3)):[]}var Cs=xo((function(t){return To(Ei(t,1,dc,true))}));var Is=xo((function(t){var r=os(t);if(dc(r)){r=n}return To(Ei(t,1,dc,true),Wa(r,2))}));var Os=xo((function(t){var r=os(t);r=typeof r=="function"?r:n;return To(Ei(t,1,dc,true),n,r)}));function Fs(t){return t&&t.length?To(t):[]}function Ss(t,r){return t&&t.length?To(t,Wa(r,2)):[]}function Ds(t,r){r=typeof r=="function"?r:n;return t&&t.length?To(t,n,r):[]}function Ts(t){if(!(t&&t.length)){return[]}var r=0;t=jn(t,(function(t){if(dc(t)){r=Pr(t.length,r);return true}}));return Yn(r,(function(r){return An(t,Pn(r))}))}function Rs(t,r){if(!(t&&t.length)){return[]}var e=Ts(t);if(r==null){return e}return An(e,(function(t){return gn(r,n,t)}))}var Ns=xo((function(t,r){return dc(t)?xi(t,r):[]}));var Us=xo((function(t){return Po(jn(t,dc))}));var Ls=xo((function(t){var r=os(t);if(dc(r)){r=n}return Po(jn(t,dc),Wa(r,2))}));var Ps=xo((function(t){var r=os(t);r=typeof r=="function"?r:n;return Po(jn(t,dc),n,r)}));var Ms=xo(Ts);function Bs(t,r){return Mo(t||[],r||[],fi)}function Vs(t,r){return Mo(t||[],r||[],zo)}var Ws=xo((function(t){var r=t.length,e=r>1?t[r-1]:n;e=typeof e=="function"?(t.pop(),e):n;return Rs(t,e)}));function Ys(t){var r=je(t);r.__chain__=true;return r}function Zs(t,r){r(t);return t}function Ks(t,r){return r(t)}var qs=Ua((function(t){var r=t.length,e=r?t[0]:0,i=this.__wrapped__,o=function(r){return bi(r,t)};if(r>1||this.__actions__.length||!(i instanceof $e)||!au(e)){return this.thru(o)}i=i.slice(e,+e+(r?1:0));i.__actions__.push({func:Ks,args:[o],thisArg:n});return new Ae(i,this.__chain__).thru((function(t){if(r&&!t.length){t.push(n)}return t}))}));function Gs(){return Ys(this)}function Hs(){return new Ae(this.value(),this.__chain__)}function Xs(){if(this.__values__===n){this.__values__=Kc(this.value())}var t=this.__index__>=this.__values__.length,r=t?n:this.__values__[this.__index__++];return{done:t,value:r}}function Js(){return this}function Qs(t){var r,e=this;while(e instanceof _e){var i=Du(e);i.__index__=0;i.__values__=n;if(r){o.__wrapped__=i}else{r=i}var o=i;e=e.__wrapped__}o.__wrapped__=t;return r}function tf(){var t=this.__wrapped__;if(t instanceof $e){var r=t;if(this.__actions__.length){r=new $e(this)}r=r.reverse();r.__actions__.push({func:Ks,args:[vs],thisArg:n});return new Ae(r,this.__chain__)}return this.thru(vs)}function rf(){return Lo(this.__wrapped__,this.__actions__)}var nf=sa((function(t,r,n){if(lr.call(t,n)){++t[n]}else{vi(t,n,1)}}));function ef(t,r,e){var i=fc(t)?kn:zi;if(e&&uu(t,r,e)){r=n}return i(t,Wa(r,3))}function of(t,r){var n=fc(t)?jn:$i;return n(t,Wa(r,3))}var af=ma(Zu);var uf=ma(Ku);function sf(t,r){return Ei(mf(t,r),1)}function ff(t,r){return Ei(mf(t,r),D)}function cf(t,r,e){e=e===n?1:Gc(e);return Ei(mf(t,r),e)}function lf(t,r){var n=fc(t)?yn:ki;return n(t,Wa(r,3))}function df(t,r){var n=fc(t)?xn:ji;return n(t,Wa(r,3))}var hf=sa((function(t,r,n){if(lr.call(t,n)){t[n].push(r)}else{vi(t,n,[r])}}));function vf(t,r,n,e){t=lc(t)?t:Bl(t);n=n&&!e?Gc(n):0;var i=t.length;if(n<0){n=Pr(i+n,0)}return Lc(t)?n<=i&&t.indexOf(r,n)>-1:!!i&&Rn(t,r,n)>-1}var bf=xo((function(t,r,n){var e=-1,i=typeof r=="function",o=lc(t)?c(t.length):[];ki(t,(function(t){o[++e]=i?gn(r,t,n):Vi(t,r,n)}));return o}));var pf=sa((function(t,r,n){vi(t,n,r)}));function mf(t,r){var n=fc(t)?An:oo;return n(t,Wa(r,3))}function gf(t,r,e,i){if(t==null){return[]}if(!fc(r)){r=r==null?[]:[r]}e=i?n:e;if(!fc(e)){e=e==null?[]:[e]}return lo(t,r,e)}var wf=sa((function(t,r,n){t[n?0:1].push(r)}),(function(){return[[],[]]}));function yf(t,r,n){var e=fc(t)?En:Bn,i=arguments.length<3;return e(t,Wa(r,4),n,i,ki)}function xf(t,r,n){var e=fc(t)?Cn:Bn,i=arguments.length<3;return e(t,Wa(r,4),n,i,ji)}function kf(t,r){var n=fc(t)?jn:$i;return n(t,Bf(Wa(r,3)))}function jf(t){var r=fc(t)?oi:ko;return r(t)}function zf(t,r,e){if(e?uu(t,r,e):r===n){r=1}else{r=Gc(r)}var i=fc(t)?ai:jo;return i(t,r)}function _f(t){var r=fc(t)?ui:$o;return r(t)}function Af(t){if(t==null){return 0}if(lc(t)){return Lc(t)?ve(t):t.length}var r=Xa(t);if(r==X||r==it){return t.size}return no(t).length}function $f(t,r,e){var i=fc(t)?In:Co;if(e&&uu(t,r,e)){r=n}return i(t,Wa(r,3))}var Ef=xo((function(t,r){if(t==null){return[]}var n=r.length;if(n>1&&uu(t,r[0],r[1])){r=[]}else if(n>2&&uu(r[0],r[1],r[2])){r=[r[0]]}return lo(t,Ei(r,1),[])}));var Cf=Or||function(){return an.Date.now()};function If(t,r){if(typeof r!="function"){throw new or(a)}t=Gc(t);return function(){if(--t<1){return r.apply(this,arguments)}}}function Of(t,r,e){r=e?n:r;r=t&&r==null?t.length:r;return Oa(t,z,n,n,n,n,r)}function Ff(t,r){var e;if(typeof r!="function"){throw new or(a)}t=Gc(t);return function(){if(--t>0){e=r.apply(this,arguments)}if(t<=1){r=n}return e}}var Sf=xo((function(t,r,n){var e=m;if(n.length){var i=fe(n,Va(Sf));e|=k}return Oa(t,e,r,n,i)}));var Df=xo((function(t,r,n){var e=m|g;if(n.length){var i=fe(n,Va(Df));e|=k}return Oa(r,e,t,n,i)}));function Tf(t,r,e){r=e?n:r;var i=Oa(t,y,n,n,n,n,n,r);i.placeholder=Tf.placeholder;return i}function Rf(t,r,e){r=e?n:r;var i=Oa(t,x,n,n,n,n,n,r);i.placeholder=Rf.placeholder;return i}function Nf(t,r,e){var i,o,u,s,f,c,l=0,d=false,h=false,v=true;if(typeof t!="function"){throw new or(a)}r=Xc(r)||0;if(_c(e)){d=!!e.leading;h="maxWait"in e;u=h?Pr(Xc(e.maxWait)||0,r):u;v="trailing"in e?!!e.trailing:v}function b(r){var e=i,a=o;i=o=n;l=r;s=t.apply(a,e);return s}function p(t){l=t;f=_u(w,r);return d?b(t):s}function m(t){var n=t-c,e=t-l,i=r-n;return h?Vr(i,u-e):i}function g(t){var e=t-c,i=t-l;return c===n||e>=r||e<0||h&&i>=u}function w(){var t=Cf();if(g(t)){return y(t)}f=_u(w,m(t))}function y(t){f=n;if(v&&i){return b(t)}i=o=n;return s}function x(){if(f!==n){Ko(f)}l=0;i=c=o=f=n}function k(){return f===n?s:y(Cf())}function j(){var t=Cf(),e=g(t);i=arguments;o=this;c=t;if(e){if(f===n){return p(c)}if(h){Ko(f);f=_u(w,r);return b(c)}}if(f===n){f=_u(w,r)}return s}j.cancel=x;j.flush=k;return j}var Uf=xo((function(t,r){return yi(t,1,r)}));var Lf=xo((function(t,r,n){return yi(t,Xc(r)||0,n)}));function Pf(t){return Oa(t,A)}function Mf(t,r){if(typeof t!="function"||r!=null&&typeof r!="function"){throw new or(a)}var n=function(){var e=arguments,i=r?r.apply(this,e):e[0],o=n.cache;if(o.has(i)){return o.get(i)}var a=t.apply(this,e);n.cache=o.set(i,a)||o;return a};n.cache=new(Mf.Cache||Ve);return n}Mf.Cache=Ve;function Bf(t){if(typeof t!="function"){throw new or(a)}return function(){var r=arguments;switch(r.length){case 0:return!t.call(this);case 1:return!t.call(this,r[0]);case 2:return!t.call(this,r[0],r[1]);case 3:return!t.call(this,r[0],r[1],r[2])}return!t.apply(this,r)}}function Vf(t){return Ff(2,t)}var Wf=Yo((function(t,r){r=r.length==1&&fc(r[0])?An(r[0],qn(Wa())):An(Ei(r,1),qn(Wa()));var n=r.length;return xo((function(e){var i=-1,o=Vr(e.length,n);while(++i<o){e[i]=r[i].call(this,e[i])}return gn(t,this,e)}))}));var Yf=xo((function(t,r){var e=fe(r,Va(Yf));return Oa(t,k,n,r,e)}));var Zf=xo((function(t,r){var e=fe(r,Va(Zf));return Oa(t,j,n,r,e)}));var Kf=Ua((function(t,r){return Oa(t,_,n,n,n,r)}));function qf(t,r){if(typeof t!="function"){throw new or(a)}r=r===n?r:Gc(r);return xo(t,r)}function Gf(t,r){if(typeof t!="function"){throw new or(a)}r=r==null?0:Pr(Gc(r),0);return xo((function(n){var e=n[r],i=Zo(n,0,r);if(e){$n(i,e)}return gn(t,this,i)}))}function Hf(t,r,n){var e=true,i=true;if(typeof t!="function"){throw new or(a)}if(_c(n)){e="leading"in n?!!n.leading:e;i="trailing"in n?!!n.trailing:i}return Nf(t,r,{leading:e,maxWait:r,trailing:i})}function Xf(t){return Of(t,1)}function Jf(t,r){return Yf(Vo(r),t)}function Qf(){if(!arguments.length){return[]}var t=arguments[0];return fc(t)?t:[t]}function tc(t){return mi(t,v)}function rc(t,r){r=typeof r=="function"?r:n;return mi(t,v,r)}function nc(t){return mi(t,d|v)}function ec(t,r){r=typeof r=="function"?r:n;return mi(t,d|v,r)}function ic(t,r){return r==null||wi(t,r,jl(r))}function oc(t,r){return t===r||t!==t&&r!==r}var ac=Aa(Ni);var uc=Aa((function(t,r){return t>=r}));var sc=Wi(function(){return arguments}())?Wi:function(t){return Ac(t)&&lr.call(t,"callee")&&!zr.call(t,"callee")};var fc=c.isArray;var cc=dn?qn(dn):Yi;function lc(t){return t!=null&&zc(t.length)&&!kc(t)}function dc(t){return Ac(t)&&lc(t)}function hc(t){return t===true||t===false||Ac(t)&&Ri(t)==Y}var vc=Rr||Gd;var bc=hn?qn(hn):Zi;function pc(t){return Ac(t)&&t.nodeType===1&&!Tc(t)}function mc(t){if(t==null){return true}if(lc(t)&&(fc(t)||typeof t=="string"||typeof t.splice=="function"||vc(t)||Mc(t)||sc(t))){return!t.length}var r=Xa(t);if(r==X||r==it){return!t.size}if(hu(t)){return!no(t).length}for(var n in t){if(lr.call(t,n)){return false}}return true}function gc(t,r){return Ki(t,r)}function wc(t,r,e){e=typeof e=="function"?e:n;var i=e?e(t,r):n;return i===n?Ki(t,r,n,e):!!i}function yc(t){if(!Ac(t)){return false}var r=Ri(t);return r==q||r==K||typeof t.message=="string"&&typeof t.name=="string"&&!Tc(t)}function xc(t){return typeof t=="number"&&Nr(t)}function kc(t){if(!_c(t)){return false}var r=Ri(t);return r==G||r==H||r==W||r==nt}function jc(t){return typeof t=="number"&&t==Gc(t)}function zc(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=T}function _c(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}function Ac(t){return t!=null&&typeof t=="object"}var $c=vn?qn(vn):Gi;function Ec(t,r){return t===r||Hi(t,r,Za(r))}function Cc(t,r,e){e=typeof e=="function"?e:n;return Hi(t,r,Za(r),e)}function Ic(t){return Dc(t)&&t!=+t}function Oc(t){if(du(t)){throw new Mt(o)}return Xi(t)}function Fc(t){return t===null}function Sc(t){return t==null}function Dc(t){return typeof t=="number"||Ac(t)&&Ri(t)==J}function Tc(t){if(!Ac(t)||Ri(t)!=tt){return false}var r=kr(t);if(r===null){return true}var n=lr.call(r,"constructor")&&r.constructor;return typeof n=="function"&&n instanceof n&&cr.call(n)==br}var Rc=bn?qn(bn):Ji;function Nc(t){return jc(t)&&t>=-T&&t<=T}var Uc=pn?qn(pn):Qi;function Lc(t){return typeof t=="string"||!fc(t)&&Ac(t)&&Ri(t)==ot}function Pc(t){return typeof t=="symbol"||Ac(t)&&Ri(t)==at}var Mc=mn?qn(mn):to;function Bc(t){return t===n}function Vc(t){return Ac(t)&&Xa(t)==st}function Wc(t){return Ac(t)&&Ri(t)==ft}var Yc=Aa(io);var Zc=Aa((function(t,r){return t<=r}));function Kc(t){if(!t){return[]}if(lc(t)){return Lc(t)?be(t):ia(t)}if($r&&t[$r]){return ae(t[$r]())}var r=Xa(t),n=r==X?ue:r==it?ce:Bl;return n(t)}function qc(t){if(!t){return t===0?t:0}t=Xc(t);if(t===D||t===-D){var r=t<0?-1:1;return r*R}return t===t?t:0}function Gc(t){var r=qc(t),n=r%1;return r===r?n?r-n:r:0}function Hc(t){return t?pi(Gc(t),0,U):0}function Xc(t){if(typeof t=="number"){return t}if(Pc(t)){return N}if(_c(t)){var r=typeof t.valueOf=="function"?t.valueOf():t;t=_c(r)?r+"":r}if(typeof t!="string"){return t===0?t:+t}t=Kn(t);var n=Kt.test(t);return n||Gt.test(t)?nn(t.slice(2),n?2:8):Zt.test(t)?N:+t}function Jc(t){return oa(t,zl(t))}function Qc(t){return t?pi(Gc(t),-T,T):t===0?t:0}function tl(t){return t==null?"":Do(t)}var rl=fa((function(t,r){if(hu(r)||lc(r)){oa(r,jl(r),t);return}for(var n in r){if(lr.call(r,n)){fi(t,n,r[n])}}}));var nl=fa((function(t,r){oa(r,zl(r),t)}));var el=fa((function(t,r,n,e){oa(r,zl(r),t,e)}));var il=fa((function(t,r,n,e){oa(r,jl(r),t,e)}));var ol=Ua(bi);function al(t,r){var n=ze(t);return r==null?n:di(n,r)}var ul=xo((function(t,r){t=nr(t);var e=-1;var i=r.length;var o=i>2?r[2]:n;if(o&&uu(r[0],r[1],o)){i=1}while(++e<i){var a=r[e];var u=zl(a);var s=-1;var f=u.length;while(++s<f){var c=u[s];var l=t[c];if(l===n||oc(l,sr[c])&&!lr.call(t,c)){t[c]=a[c]}}}return t}));var sl=xo((function(t){t.push(n,Sa);return gn(El,n,t)}));function fl(t,r){return Dn(t,Wa(r,3),Oi)}function cl(t,r){return Dn(t,Wa(r,3),Fi)}function ll(t,r){return t==null?t:Ci(t,Wa(r,3),zl)}function dl(t,r){return t==null?t:Ii(t,Wa(r,3),zl)}function hl(t,r){return t&&Oi(t,Wa(r,3))}function vl(t,r){return t&&Fi(t,Wa(r,3))}function bl(t){return t==null?[]:Si(t,jl(t))}function pl(t){return t==null?[]:Si(t,zl(t))}function ml(t,r,e){var i=t==null?n:Di(t,r);return i===n?e:i}function gl(t,r){return t!=null&&tu(t,r,Ui)}function wl(t,r){return t!=null&&tu(t,r,Li)}var yl=ya((function(t,r,n){if(r!=null&&typeof r.toString!="function"){r=vr.call(r)}t[r]=n}),$d(Od));var xl=ya((function(t,r,n){if(r!=null&&typeof r.toString!="function"){r=vr.call(r)}if(lr.call(t,r)){t[r].push(n)}else{t[r]=[n]}}),Wa);var kl=xo(Vi);function jl(t){return lc(t)?ii(t):no(t)}function zl(t){return lc(t)?ii(t,true):eo(t)}function _l(t,r){var n={};r=Wa(r,3);Oi(t,(function(t,e,i){vi(n,r(t,e,i),t)}));return n}function Al(t,r){var n={};r=Wa(r,3);Oi(t,(function(t,e,i){vi(n,e,r(t,e,i))}));return n}var $l=fa((function(t,r,n){so(t,r,n)}));var El=fa((function(t,r,n,e){so(t,r,n,e)}));var Cl=Ua((function(t,r){var n={};if(t==null){return n}var e=false;r=An(r,(function(r){r=Wo(r,t);e||(e=r.length>1);return r}));oa(t,Pa(t),n);if(e){n=mi(n,d|h|v,Da)}var i=r.length;while(i--){Ro(n,r[i])}return n}));function Il(t,r){return Fl(t,Bf(Wa(r)))}var Ol=Ua((function(t,r){return t==null?{}:ho(t,r)}));function Fl(t,r){if(t==null){return{}}var n=An(Pa(t),(function(t){return[t]}));r=Wa(r);return vo(t,n,(function(t,n){return r(t,n[0])}))}function Sl(t,r,e){r=Wo(r,t);var i=-1,o=r.length;if(!o){o=1;t=n}while(++i<o){var a=t==null?n:t[Ou(r[i])];if(a===n){i=o;a=e}t=kc(a)?a.call(t):a}return t}function Dl(t,r,n){return t==null?t:zo(t,r,n)}function Tl(t,r,e,i){i=typeof i=="function"?i:n;return t==null?t:zo(t,r,e,i)}var Rl=Ia(jl);var Nl=Ia(zl);function Ul(t,r,n){var e=fc(t),i=e||vc(t)||Mc(t);r=Wa(r,4);if(n==null){var o=t&&t.constructor;if(i){n=e?new o:[]}else if(_c(t)){n=kc(o)?ze(kr(t)):{}}else{n={}}}(i?yn:Oi)(t,(function(t,e,i){return r(n,t,e,i)}));return n}function Ll(t,r){return t==null?true:Ro(t,r)}function Pl(t,r,n){return t==null?t:No(t,r,Vo(n))}function Ml(t,r,e,i){i=typeof i=="function"?i:n;return t==null?t:No(t,r,Vo(e),i)}function Bl(t){return t==null?[]:Gn(t,jl(t))}function Vl(t){return t==null?[]:Gn(t,zl(t))}function Wl(t,r,e){if(e===n){e=r;r=n}if(e!==n){e=Xc(e);e=e===e?e:0}if(r!==n){r=Xc(r);r=r===r?r:0}return pi(Xc(t),r,e)}function Yl(t,r,e){r=qc(r);if(e===n){e=r;r=0}else{e=qc(e)}t=Xc(t);return Pi(t,r,e)}function Zl(t,r,e){if(e&&typeof e!="boolean"&&uu(t,r,e)){r=e=n}if(e===n){if(typeof r=="boolean"){e=r;r=n}else if(typeof t=="boolean"){e=t;t=n}}if(t===n&&r===n){t=0;r=1}else{t=qc(t);if(r===n){r=t;t=0}else{r=qc(r)}}if(t>r){var i=t;t=r;r=i}if(e||t%1||r%1){var o=Zr();return Vr(t+o*(r-t+rn("1e-"+((o+"").length-1))),r)}return go(t,r)}var Kl=va((function(t,r,n){r=r.toLowerCase();return t+(n?ql(r):r)}));function ql(t){return xd(tl(t).toLowerCase())}function Gl(t){t=tl(t);return t&&t.replace(Xt,te).replace(Br,"")}function Hl(t,r,e){t=tl(t);r=Do(r);var i=t.length;e=e===n?i:pi(Gc(e),0,i);var o=e;e-=r.length;return e>=0&&t.slice(e,o)==r}function Xl(t){t=tl(t);return t&&$t.test(t)?t.replace(_t,re):t}function Jl(t){t=tl(t);return t&&Tt.test(t)?t.replace(Dt,"\\$&"):t}var Ql=va((function(t,r,n){return t+(n?"-":"")+r.toLowerCase()}));var td=va((function(t,r,n){return t+(n?" ":"")+r.toLowerCase()}));var rd=ha("toLowerCase");function nd(t,r,n){t=tl(t);r=Gc(r);var e=r?ve(t):0;if(!r||e>=r){return t}var i=(r-e)/2;return ja(Dr(i),n)+t+ja(Sr(i),n)}function ed(t,r,n){t=tl(t);r=Gc(r);var e=r?ve(t):0;return r&&e<r?t+ja(r-e,n):t}function id(t,r,n){t=tl(t);r=Gc(r);var e=r?ve(t):0;return r&&e<r?ja(r-e,n)+t:t}function od(t,r,n){if(n||r==null){r=0}else if(r){r=+r}return Yr(tl(t).replace(Rt,""),r||0)}function ad(t,r,e){if(e?uu(t,r,e):r===n){r=1}else{r=Gc(r)}return yo(tl(t),r)}function ud(){var t=arguments,r=tl(t[0]);return t.length<3?r:r.replace(t[1],t[2])}var sd=va((function(t,r,n){return t+(n?"_":"")+r.toLowerCase()}));function fd(t,r,e){if(e&&typeof e!="number"&&uu(t,r,e)){r=e=n}e=e===n?U:e>>>0;if(!e){return[]}t=tl(t);if(t&&(typeof r=="string"||r!=null&&!Rc(r))){r=Do(r);if(!r&&ie(t)){return Zo(be(t),0,e)}}return t.split(r,e)}var cd=va((function(t,r,n){return t+(n?" ":"")+xd(r)}));function ld(t,r,n){t=tl(t);n=n==null?0:pi(Gc(n),0,t.length);r=Do(r);return t.slice(n,n+r.length)==r}function dd(t,r,e){var i=je.templateSettings;if(e&&uu(t,r,e)){r=n}t=tl(t);r=el({},r,i,Fa);var o=el({},r.imports,i.imports,Fa),a=jl(o),s=Gn(o,a);var f,c,l=0,d=r.interpolate||Jt,h="__p += '";var v=er((r.escape||Jt).source+"|"+d.source+"|"+(d===It?Wt:Jt).source+"|"+(r.evaluate||Jt).source+"|$","g");var b="//# sourceURL="+(lr.call(r,"sourceURL")?(r.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++qr+"]")+"\n";t.replace(v,(function(r,n,e,i,o,a){e||(e=i);h+=t.slice(l,a).replace(Qt,ne);if(n){f=true;h+="' +\n__e("+n+") +\n'"}if(o){c=true;h+="';\n"+o+";\n__p += '"}if(e){h+="' +\n((__t = ("+e+")) == null ? '' : __t) +\n'"}l=a+r.length;return r}));h+="';\n";var p=lr.call(r,"variable")&&r.variable;if(!p){h="with (obj) {\n"+h+"\n}\n"}else if(Bt.test(p)){throw new Mt(u)}h=(c?h.replace(xt,""):h).replace(kt,"$1").replace(jt,"$1;");h="function("+(p||"obj")+") {\n"+(p?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(f?", __e = _.escape":"")+(c?", __j = Array.prototype.join;\n"+"function print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var m=jd((function(){return tr(a,b+"return "+h).apply(n,s)}));m.source=h;if(yc(m)){throw m}return m}function hd(t){return tl(t).toLowerCase()}function vd(t){return tl(t).toUpperCase()}function bd(t,r,e){t=tl(t);if(t&&(e||r===n)){return Kn(t)}if(!t||!(r=Do(r))){return t}var i=be(t),o=be(r),a=Xn(i,o),u=Jn(i,o)+1;return Zo(i,a,u).join("")}function pd(t,r,e){t=tl(t);if(t&&(e||r===n)){return t.slice(0,pe(t)+1)}if(!t||!(r=Do(r))){return t}var i=be(t),o=Jn(i,be(r))+1;return Zo(i,0,o).join("")}function md(t,r,e){t=tl(t);if(t&&(e||r===n)){return t.replace(Rt,"")}if(!t||!(r=Do(r))){return t}var i=be(t),o=Xn(i,be(r));return Zo(i,o).join("")}function gd(t,r){var e=$,i=E;if(_c(r)){var o="separator"in r?r.separator:o;e="length"in r?Gc(r.length):e;i="omission"in r?Do(r.omission):i}t=tl(t);var a=t.length;if(ie(t)){var u=be(t);a=u.length}if(e>=a){return t}var s=e-ve(i);if(s<1){return i}var f=u?Zo(u,0,s).join(""):t.slice(0,s);if(o===n){return f+i}if(u){s+=f.length-s}if(Rc(o)){if(t.slice(s).search(o)){var c,l=f;if(!o.global){o=er(o.source,tl(Yt.exec(o))+"g")}o.lastIndex=0;while(c=o.exec(l)){var d=c.index}f=f.slice(0,d===n?s:d)}}else if(t.indexOf(Do(o),s)!=s){var h=f.lastIndexOf(o);if(h>-1){f=f.slice(0,h)}}return f+i}function wd(t){t=tl(t);return t&&At.test(t)?t.replace(zt,me):t}var yd=va((function(t,r,n){return t+(n?" ":"")+r.toUpperCase()}));var xd=ha("toUpperCase");function kd(t,r,e){t=tl(t);r=e?n:r;if(r===n){return oe(t)?ye(t):Sn(t)}return t.match(r)||[]}var jd=xo((function(t,r){try{return gn(t,n,r)}catch(t){return yc(t)?t:new Mt(t)}}));var zd=Ua((function(t,r){yn(r,(function(r){r=Ou(r);vi(t,r,Sf(t[r],t))}));return t}));function _d(t){var r=t==null?0:t.length,n=Wa();t=!r?[]:An(t,(function(t){if(typeof t[1]!="function"){throw new or(a)}return[n(t[0]),t[1]]}));return xo((function(n){var e=-1;while(++e<r){var i=t[e];if(gn(i[0],this,n)){return gn(i[1],this,n)}}}))}function Ad(t){return gi(mi(t,d))}function $d(t){return function(){return t}}function Ed(t,r){return t==null||t!==t?r:t}var Cd=ga();var Id=ga(true);function Od(t){return t}function Fd(t){return ro(typeof t=="function"?t:mi(t,d))}function Sd(t){return ao(mi(t,d))}function Dd(t,r){return uo(t,mi(r,d))}var Td=xo((function(t,r){return function(n){return Vi(n,t,r)}}));var Rd=xo((function(t,r){return function(n){return Vi(t,n,r)}}));function Nd(t,r,n){var e=jl(r),i=Si(r,e);if(n==null&&!(_c(r)&&(i.length||!e.length))){n=r;r=t;t=this;i=Si(r,jl(r))}var o=!(_c(n)&&"chain"in n)||!!n.chain,a=kc(t);yn(i,(function(n){var e=r[n];t[n]=e;if(a){t.prototype[n]=function(){var r=this.__chain__;if(o||r){var n=t(this.__wrapped__),i=n.__actions__=ia(this.__actions__);i.push({func:e,args:arguments,thisArg:t});n.__chain__=r;return n}return e.apply(t,$n([this.value()],arguments))}}}));return t}function Ud(){if(an._===this){an._=pr}return this}function Ld(){}function Pd(t){t=Gc(t);return xo((function(r){return co(r,t)}))}var Md=ka(An);var Bd=ka(kn);var Vd=ka(In);function Wd(t){return su(t)?Pn(Ou(t)):bo(t)}function Yd(t){return function(r){return t==null?n:Di(t,r)}}var Zd=_a();var Kd=_a(true);function qd(){return[]}function Gd(){return false}function Hd(){return{}}function Xd(){return""}function Jd(){return true}function Qd(t,r){t=Gc(t);if(t<1||t>T){return[]}var n=U,e=Vr(t,U);r=Wa(r);t-=U;var i=Yn(e,r);while(++n<t){r(n)}return i}function th(t){if(fc(t)){return An(t,Ou)}return Pc(t)?[t]:ia(Iu(tl(t)))}function rh(t){var r=++dr;return tl(t)+r}var nh=xa((function(t,r){return t+r}),0);var eh=Ea("ceil");var ih=xa((function(t,r){return t/r}),1);var oh=Ea("floor");function ah(t){return t&&t.length?_i(t,Od,Ni):n}function uh(t,r){return t&&t.length?_i(t,Wa(r,2),Ni):n}function sh(t){return Ln(t,Od)}function fh(t,r){return Ln(t,Wa(r,2))}function ch(t){return t&&t.length?_i(t,Od,io):n}function lh(t,r){return t&&t.length?_i(t,Wa(r,2),io):n}var dh=xa((function(t,r){return t*r}),1);var hh=Ea("round");var vh=xa((function(t,r){return t-r}),0);function bh(t){return t&&t.length?Wn(t,Od):0}function ph(t,r){return t&&t.length?Wn(t,Wa(r,2)):0}je.after=If;je.ary=Of;je.assign=rl;je.assignIn=nl;je.assignInWith=el;je.assignWith=il;je.at=ol;je.before=Ff;je.bind=Sf;je.bindAll=zd;je.bindKey=Df;je.castArray=Qf;je.chain=Ys;je.chunk=Tu;je.compact=Ru;je.concat=Nu;je.cond=_d;je.conforms=Ad;je.constant=$d;je.countBy=nf;je.create=al;je.curry=Tf;je.curryRight=Rf;je.debounce=Nf;je.defaults=ul;je.defaultsDeep=sl;je.defer=Uf;je.delay=Lf;je.difference=Uu;je.differenceBy=Lu;je.differenceWith=Pu;je.drop=Mu;je.dropRight=Bu;je.dropRightWhile=Vu;je.dropWhile=Wu;je.fill=Yu;je.filter=of;je.flatMap=sf;je.flatMapDeep=ff;je.flatMapDepth=cf;je.flatten=qu;je.flattenDeep=Gu;je.flattenDepth=Hu;je.flip=Pf;je.flow=Cd;je.flowRight=Id;je.fromPairs=Xu;je.functions=bl;je.functionsIn=pl;je.groupBy=hf;je.initial=ts;je.intersection=rs;je.intersectionBy=ns;je.intersectionWith=es;je.invert=yl;je.invertBy=xl;je.invokeMap=bf;je.iteratee=Fd;je.keyBy=pf;je.keys=jl;je.keysIn=zl;je.map=mf;je.mapKeys=_l;je.mapValues=Al;je.matches=Sd;je.matchesProperty=Dd;je.memoize=Mf;je.merge=$l;je.mergeWith=El;je.method=Td;je.methodOf=Rd;je.mixin=Nd;je.negate=Bf;je.nthArg=Pd;je.omit=Cl;je.omitBy=Il;je.once=Vf;je.orderBy=gf;je.over=Md;je.overArgs=Wf;je.overEvery=Bd;je.overSome=Vd;je.partial=Yf;je.partialRight=Zf;je.partition=wf;je.pick=Ol;je.pickBy=Fl;je.property=Wd;je.propertyOf=Yd;je.pull=ss;je.pullAll=fs;je.pullAllBy=cs;je.pullAllWith=ls;je.pullAt=ds;je.range=Zd;je.rangeRight=Kd;je.rearg=Kf;je.reject=kf;je.remove=hs;je.rest=qf;je.reverse=vs;je.sampleSize=zf;je.set=Dl;je.setWith=Tl;je.shuffle=_f;je.slice=bs;je.sortBy=Ef;je.sortedUniq=ks;je.sortedUniqBy=js;je.split=fd;je.spread=Gf;je.tail=zs;je.take=_s;je.takeRight=As;je.takeRightWhile=$s;je.takeWhile=Es;je.tap=Zs;je.throttle=Hf;je.thru=Ks;je.toArray=Kc;je.toPairs=Rl;je.toPairsIn=Nl;je.toPath=th;je.toPlainObject=Jc;je.transform=Ul;je.unary=Xf;je.union=Cs;je.unionBy=Is;je.unionWith=Os;je.uniq=Fs;je.uniqBy=Ss;je.uniqWith=Ds;je.unset=Ll;je.unzip=Ts;je.unzipWith=Rs;je.update=Pl;je.updateWith=Ml;je.values=Bl;je.valuesIn=Vl;je.without=Ns;je.words=kd;je.wrap=Jf;je.xor=Us;je.xorBy=Ls;je.xorWith=Ps;je.zip=Ms;je.zipObject=Bs;je.zipObjectDeep=Vs;je.zipWith=Ws;je.entries=Rl;je.entriesIn=Nl;je.extend=nl;je.extendWith=el;Nd(je,je);je.add=nh;je.attempt=jd;je.camelCase=Kl;je.capitalize=ql;je.ceil=eh;je.clamp=Wl;je.clone=tc;je.cloneDeep=nc;je.cloneDeepWith=ec;je.cloneWith=rc;je.conformsTo=ic;je.deburr=Gl;je.defaultTo=Ed;je.divide=ih;je.endsWith=Hl;je.eq=oc;je.escape=Xl;je.escapeRegExp=Jl;je.every=ef;je.find=af;je.findIndex=Zu;je.findKey=fl;je.findLast=uf;je.findLastIndex=Ku;je.findLastKey=cl;je.floor=oh;je.forEach=lf;je.forEachRight=df;je.forIn=ll;je.forInRight=dl;je.forOwn=hl;je.forOwnRight=vl;je.get=ml;je.gt=ac;je.gte=uc;je.has=gl;je.hasIn=wl;je.head=Ju;je.identity=Od;je.includes=vf;je.indexOf=Qu;je.inRange=Yl;je.invoke=kl;je.isArguments=sc;je.isArray=fc;je.isArrayBuffer=cc;je.isArrayLike=lc;je.isArrayLikeObject=dc;je.isBoolean=hc;je.isBuffer=vc;je.isDate=bc;je.isElement=pc;je.isEmpty=mc;je.isEqual=gc;je.isEqualWith=wc;je.isError=yc;je.isFinite=xc;je.isFunction=kc;je.isInteger=jc;je.isLength=zc;je.isMap=$c;je.isMatch=Ec;je.isMatchWith=Cc;je.isNaN=Ic;je.isNative=Oc;je.isNil=Sc;je.isNull=Fc;je.isNumber=Dc;je.isObject=_c;je.isObjectLike=Ac;je.isPlainObject=Tc;je.isRegExp=Rc;je.isSafeInteger=Nc;je.isSet=Uc;je.isString=Lc;je.isSymbol=Pc;je.isTypedArray=Mc;je.isUndefined=Bc;je.isWeakMap=Vc;je.isWeakSet=Wc;je.join=is;je.kebabCase=Ql;je.last=os;je.lastIndexOf=as;je.lowerCase=td;je.lowerFirst=rd;je.lt=Yc;je.lte=Zc;je.max=ah;je.maxBy=uh;je.mean=sh;je.meanBy=fh;je.min=ch;je.minBy=lh;je.stubArray=qd;je.stubFalse=Gd;je.stubObject=Hd;je.stubString=Xd;je.stubTrue=Jd;je.multiply=dh;je.nth=us;je.noConflict=Ud;je.noop=Ld;je.now=Cf;je.pad=nd;je.padEnd=ed;je.padStart=id;je.parseInt=od;je.random=Zl;je.reduce=yf;je.reduceRight=xf;je.repeat=ad;je.replace=ud;je.result=Sl;je.round=hh;je.runInContext=t;je.sample=jf;je.size=Af;je.snakeCase=sd;je.some=$f;je.sortedIndex=ps;je.sortedIndexBy=ms;je.sortedIndexOf=gs;je.sortedLastIndex=ws;je.sortedLastIndexBy=ys;je.sortedLastIndexOf=xs;je.startCase=cd;je.startsWith=ld;je.subtract=vh;je.sum=bh;je.sumBy=ph;je.template=dd;je.times=Qd;je.toFinite=qc;je.toInteger=Gc;je.toLength=Hc;je.toLower=hd;je.toNumber=Xc;je.toSafeInteger=Qc;je.toString=tl;je.toUpper=vd;je.trim=bd;je.trimEnd=pd;je.trimStart=md;je.truncate=gd;je.unescape=wd;je.uniqueId=rh;je.upperCase=yd;je.upperFirst=xd;je.each=lf;je.eachRight=df;je.first=Ju;Nd(je,function(){var t={};Oi(je,(function(r,n){if(!lr.call(je.prototype,n)){t[n]=r}}));return t}(),{chain:false});je.VERSION=e;yn(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){je[t].placeholder=je}));yn(["drop","take"],(function(t,r){$e.prototype[t]=function(e){e=e===n?1:Pr(Gc(e),0);var i=this.__filtered__&&!r?new $e(this):this.clone();if(i.__filtered__){i.__takeCount__=Vr(e,i.__takeCount__)}else{i.__views__.push({size:Vr(e,U),type:t+(i.__dir__<0?"Right":"")})}return i};$e.prototype[t+"Right"]=function(r){return this.reverse()[t](r).reverse()}}));yn(["filter","map","takeWhile"],(function(t,r){var n=r+1,e=n==O||n==S;$e.prototype[t]=function(t){var r=this.clone();r.__iteratees__.push({iteratee:Wa(t,3),type:n});r.__filtered__=r.__filtered__||e;return r}}));yn(["head","last"],(function(t,r){var n="take"+(r?"Right":"");$e.prototype[t]=function(){return this[n](1).value()[0]}}));yn(["initial","tail"],(function(t,r){var n="drop"+(r?"":"Right");$e.prototype[t]=function(){return this.__filtered__?new $e(this):this[n](1)}}));$e.prototype.compact=function(){return this.filter(Od)};$e.prototype.find=function(t){return this.filter(t).head()};$e.prototype.findLast=function(t){return this.reverse().find(t)};$e.prototype.invokeMap=xo((function(t,r){if(typeof t=="function"){return new $e(this)}return this.map((function(n){return Vi(n,t,r)}))}));$e.prototype.reject=function(t){return this.filter(Bf(Wa(t)))};$e.prototype.slice=function(t,r){t=Gc(t);var e=this;if(e.__filtered__&&(t>0||r<0)){return new $e(e)}if(t<0){e=e.takeRight(-t)}else if(t){e=e.drop(t)}if(r!==n){r=Gc(r);e=r<0?e.dropRight(-r):e.take(r-t)}return e};$e.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()};$e.prototype.toArray=function(){return this.take(U)};Oi($e.prototype,(function(t,r){var e=/^(?:filter|find|map|reject)|While$/.test(r),i=/^(?:head|last)$/.test(r),o=je[i?"take"+(r=="last"?"Right":""):r],a=i||/^find/.test(r);if(!o){return}je.prototype[r]=function(){var r=this.__wrapped__,u=i?[1]:arguments,s=r instanceof $e,f=u[0],c=s||fc(r);var l=function(t){var r=o.apply(je,$n([t],u));return i&&d?r[0]:r};if(c&&e&&typeof f=="function"&&f.length!=1){s=c=false}var d=this.__chain__,h=!!this.__actions__.length,v=a&&!d,b=s&&!h;if(!a&&c){r=b?r:new $e(this);var p=t.apply(r,u);p.__actions__.push({func:Ks,args:[l],thisArg:n});return new Ae(p,d)}if(v&&b){return t.apply(this,u)}p=this.thru(l);return v?i?p.value()[0]:p.value():p}}));yn(["pop","push","shift","sort","splice","unshift"],(function(t){var r=ar[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",e=/^(?:pop|shift)$/.test(t);je.prototype[t]=function(){var t=arguments;if(e&&!this.__chain__){var i=this.value();return r.apply(fc(i)?i:[],t)}return this[n]((function(n){return r.apply(fc(n)?n:[],t)}))}}));Oi($e.prototype,(function(t,r){var n=je[r];if(n){var e=n.name+"";if(!lr.call(cn,e)){cn[e]=[]}cn[e].push({name:r,func:n})}}));cn[wa(n,g).name]=[{name:"wrapper",func:n}];$e.prototype.clone=Ee;$e.prototype.reverse=Ce;$e.prototype.value=Ie;je.prototype.at=qs;je.prototype.chain=Gs;je.prototype.commit=Hs;je.prototype.next=Xs;je.prototype.plant=Qs;je.prototype.reverse=tf;je.prototype.toJSON=je.prototype.valueOf=je.prototype.value=rf;je.prototype.first=je.prototype.head;if($r){je.prototype[$r]=Js}return je};var ke=xe();if(sn){(sn.exports=ke)._=ke;un._=ke}else{an._=ke}}).call(c)})(Lt,Lt.exports);const Pt='.sc-road-input-h{--height:3rem;--border-radius:0.25rem;--input-text-align:left;--margin-bottom:1rem;position:relative;display:block;margin-bottom:var(--margin-bottom);font-family:var(--road-font, sans-serif);color:var(--road-grey-10)}.form-control.sc-road-input{box-sizing:border-box;display:block;width:100%;height:var(--height);padding:0.75rem 1rem 0;margin:0;font-size:var(--road-body-medium);color:var(--road-on-surface);text-align:var(--input-text-align);background:var(--road-surface);border:1px solid var(--road-input-outline);border-radius:var(--border-radius);box-shadow:none;appearance:none}.form-control[type="number"].sc-road-input{appearance:textfield}.form-control.sc-road-input::-webkit-calendar-picker-indicator{margin-top:-0.75rem}.form-control.sc-road-input::-webkit-date-and-time-value{padding-top:0.625rem}.form-control.sc-road-input::placeholder{color:var(--road-on-surface-extra-weak);opacity:1}@media (hover: hover){.form-control.sc-road-input:not(:disabled):hover{border-color:var(--road-input-outline-variant)}}.form-control.sc-road-input:focus~.form-label.sc-road-input,.form-control[required].sc-road-input:valid~.form-label.sc-road-input,.form-control.has-value.sc-road-input~.form-label.sc-road-input,.form-control[type="date"].sc-road-input~.form-label.sc-road-input,.form-control[type="time"].sc-road-input~.form-label.sc-road-input{transform:scale(0.625) translateY(-0.625rem)}.form-control.sc-road-input:placeholder-shown~.form-label.sc-road-input{transform:scale(0.625) translateY(-0.625rem)}.form-control.sc-road-input:-ms-input-placeholder~.form-label.sc-road-input{transform:scale(0.625) translateY(-0.625rem)}.form-control.sc-road-input:not(:disabled):focus,.form-control[autofocus].sc-road-input,.form-control.sc-road-input:focus-visible{border-color:var(--road-input-outline-variant)}.form-control.sc-road-input:disabled,.form-control[readonly].sc-road-input{color:var(--road-on-surface-disabled);cursor:not-allowed;background:var(--road-surface-disabled);opacity:1}.form-label.sc-road-input{position:absolute;top:0.75rem;left:1rem;display:block;font-size:var(--road-body-medium);line-height:1.5;color:var(--road-on-surface-weak);pointer-events:none;transition:transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;transform-origin:0 0}.form-control.sc-road-input:required~.form-label.sc-road-input::after{color:var(--road-danger-default);content:" *"}.sc-road-input-h:has([disabled]) .form-label.sc-road-input{color:var(--road-on-surface-disabled)}.less-label.sc-road-input{padding-top:0}.input-xl.sc-road-input-h{--height:3.5rem}.input-xl.sc-road-input-h .form-control.sc-road-input{padding:1rem 1rem 0}.phone-number.sc-road-input-h .form-control.sc-road-input{padding-left:2rem}.phone-number.sc-road-input-h .form-label.sc-road-input{left:2rem}.input-xl.sc-road-input-h .form-label.sc-road-input{top:1rem}.input-xl.sc-road-input-h .form-control.sc-road-input:focus~.form-label.sc-road-input,.input-xl.sc-road-input-h .form-control[autofocus].sc-road-input~.form-label.sc-road-input,.input-xl.sc-road-input-h .form-control[required].sc-road-input:valid~.form-label.sc-road-input,.input-xl.sc-road-input-h .form-control.has-value.sc-road-input~.form-label.sc-road-input,.input-xl.sc-road-input-h .form-control[type="date"].sc-road-input~.form-label.sc-road-input,.input-xl.sc-road-input-h .form-control[type="time"].sc-road-input~.form-label.sc-road-input{transform:scale(0.75) translateY(-0.625rem)}.input-xl.sc-road-input-h .form-control.sc-road-input:placeholder-shown~.form-label.sc-road-input{transform:scale(0.625) translateY(-0.625rem)}.invalid-feedback.sc-road-input{display:none;width:100%;margin-top:0.5rem;font-size:var(--road-helper-medium);color:var(--road-on-danger-surface)}.invalid-feedback.sc-road-input road-icon.sc-road-input{color:var(--road-danger-icon);margin-right:var(--road-spacing-02)}.form-control.is-invalid.sc-road-input,.was-validated.sc-road-input .form-control.sc-road-input:invalid{border-color:var(--road-danger-outline)}.form-control.is-invalid.sc-road-input~.invalid-feedback.sc-road-input,.was-validated.sc-road-input .form-control.sc-road-input:invalid~.invalid-feedback.sc-road-input{display:flex}.form-control.is-valid.sc-road-input,.was-validated.sc-road-input .form-control.sc-road-input:valid{border-color:var(--road-success-outline)}.helper.sc-road-input{margin-top:0.5rem;font-size:var(--road-body-small);color:var(--road-on-surface-weak)}.form-control[type="password"].sc-road-input~.checklist-password.sc-road-input .invalid.sc-road-input{color:var(--road-on-surface-weak)}';const Mt=Pt;const Bt=class{constructor(r){t(this,r);this.roadInput=e(this,"roadInput",7);this.roadChange=e(this,"roadChange",7);this.roadBlur=e(this,"roadBlur",7);this.roadFocus=e(this,"roadFocus",7);this.inputId=`road-input-${Vt++}`;this.autocapitalize="off";this.autocomplete="off";this.blockdecimal=false;this.autocorrect="off";this.autofocus=false;this.disabled=false;this.name=this.inputId;this.readonly=false;this.required=false;this.spellcheck=false;this.sizes="lg";this.type="text";this.value="";this.label="";this.success=false;this.debounce=0;this.debouncedRoadChange=this.createDebouncedRoadChange();this.onInput=t=>{const r=t.target;let n=r.value;if(this.type==="number"&&this.blockdecimal){n=n.replace(/[.,]/g,"")}if(this.type==="number"){let e=parseFloat(n);const i=this.min!==undefined?parseFloat(this.min):undefined;const o=this.max!==undefined?parseFloat(this.max):undefined;if(!isNaN(e)){if(i!==undefined&&e<i){e=i}if(o!==undefined&&e>o){e=o}n=e.toString();r.value=n;t.preventDefault()}this.value=n}if(this.value!==n){this.value=n;this.roadInput.emit(t)}this.enforceMinMaxValue()};this.onBlur=()=>{let t=this.getValue();if(this.type==="number"){const r=this.min!==undefined?parseFloat(this.min):undefined;const n=this.max!==undefined?parseFloat(this.max):undefined;let e=parseFloat(t);if(!isNaN(e)){if(r!==undefined&&e<r){e=r}if(n!==undefined&&e>n){e=n}t=e.toString()}this.value=t;const i=document.getElementById(this.inputId);i.value=t}if(this.value!==t){this.value=t;this.roadBlur.emit(t);this.roadChange.emit({value:t})}else{this.roadBlur.emit(t)}this.enforceMinMaxValue()};this.onFocus=()=>{this.roadFocus.emit()}}handleKeyDown(t){if(this.type==="number"&&this.blockdecimal){const r=[".",",","e","-","¨","^","`","+"];if(r.includes(t.key)){t.preventDefault()}}}createDebouncedRoadChange(){return Lt.exports.debounce((t=>{this.roadChange.emit({value:t==null?t:t.toString()})}),this.debounce)}debounceChanged(){this.debouncedRoadChange=this.createDebouncedRoadChange()}valueChanged(t,r){if(t!==r){this.debouncedRoadChange(t)}}async enforceMinMaxValue(){let t=this.getValue();const r=this.min!==undefined?parseFloat(this.min):undefined;const n=this.max!==undefined?parseFloat(this.max):undefined;let e=parseFloat(t);if(!isNaN(e)){if(r!==undefined&&e<r){e=r}if(n!==undefined&&e>n){e=n}t=e.toString()}if(this.type==="number"&&this.value!==t){this.value=t}}getValue(){return typeof this.value==="number"?this.value.toString():(this.value||"").toString()}async focus(){var t;(t=this.inputEl)===null||t===void 0?void 0:t.focus()}componentWillLoad(){this.debounceChanged()}render(){const t=this.getValue();const e=this.inputId+"-label";const i=this.value!==""&&this.value!==null?"has-value":"";const o=this.label!==""?"":"less-label";const a=this.error!==undefined&&this.error!==""?"is-invalid":"";const u=this.success==true?"is-valid":"";return r(n,{key:"e1c39fcb1d557fa2317201767d3d8ab78f9d3a49","aria-disabled":this.disabled?"true":null,class:this.sizes&&`input-${this.sizes}`,value:t,blockdecimal:this.blockdecimal},r("input",{key:"5ae23298f7781fa0480e1d34d50add334f1ab10f",class:`form-control ${i} ${a} ${u} ${o}`,id:this.inputId,"aria-disabled":this.disabled?"true":null,"aria-labelledby":e,disabled:this.disabled,autoCapitalize:this.autocapitalize,autoComplete:this.autocomplete,autoCorrect:this.autocorrect,enterKeyHint:this.enterkeyhint,autoFocus:this.autofocus,inputMode:this.inputmode,min:this.min,max:this.max,minLength:this.minlength,maxLength:this.maxlength,name:this.name,pattern:this.pattern,placeholder:this.placeholder,readOnly:this.readonly,required:this.required,spellcheck:this.spellcheck,step:this.step,size:this.size,type:this.type,value:t,onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.type==="number"?t=>this.handleKeyDown(t):undefined,"data-cy":"road-input",ref:t=>this.inputEl=t}),r("label",{key:"d6f5b0aa7e14eb4c06fb3af037f9bda656a98282",class:"form-label",id:e,htmlFor:this.inputId},this.label),this.error&&this.error!==""&&(Array.isArray(this.error)?this.error.map(((t,n)=>r("p",{key:n,class:"invalid-feedback"},r("road-icon",{slot:"start",name:"alert-error-solid","aria-hidden":"true",size:"sm"}),t.trim()," "))):this.error.split(",").map(((t,n)=>r("p",{key:n,class:"invalid-feedback"},r("road-icon",{slot:"start",name:"alert-error-solid","aria-hidden":"true",size:"sm"}),t.trim()," ")))),this.helper&&this.helper!==""&&r("p",{key:"049438b598d8a81b1d8bdadfbd615f66914db3e1",class:"helper"},this.helper),this.type&&this.type=="password"&&r("slot",{key:"f804b3b5727fa91623defc4f5209d865bc461f21",name:"checklistPassword"}))}static get watchers(){return{debounce:["debounceChanged"],value:["valueChanged"]}}};let Vt=0;Bt.style=Mt;const Wt=':host{display:block}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%;font-family:var(--road-font, sans-serif)}::slotted(road-input),::slotted(input),::slotted(textarea),::slotted(road-select){position:relative;flex:1 1 auto;width:1%;margin-bottom:0}::slotted([slot="prepend"]){margin-right:-3px;border-right-color:transparent;border-color:var(--road-input-outline);border-top-right-radius:0;border-bottom-right-radius:0;position:absolute;left:0;top:0;bottom:0}::slotted([slot="append"]){margin-left:-0.25rem;border-color:var(--road-input-outline);border-left-width:0;position:absolute;right:0;top:0;bottom:0}@media (hover: hover){.input-group:not(.is-disabled):hover ::slotted([slot="prepend"]){border-right-color:transparent}.input-group:not(.is-disabled):hover ::slotted([slot="append"]){border-left-color:transparent}:host(.phone-number-group) .input-group:not(.is-disabled):hover ::slotted([slot="prepend"]){border-color:var(--road-input-outline-variant)}}.input-group:focus-within ::slotted([slot="prepend"]),:host(.phone-number-group) .input-group:focus-within ::slotted([slot="prepend"]){border-color:var(--road-grey-0);border-width:2px;border-right-color:transparent;outline:none;}.input-group:focus-within ::slotted([slot="append"]){border-color:var(--road-grey-0);border-width:2px;border-left-color:transparent;outline:none;}.input-group:focus-within ::slotted(road-input):focus-visible{border-color:var(--road-grey-0);border-width:2px;outline:none;}.input-group-prepend,.input-group-append{display:flex;height:3rem}::slotted(road-button){--padding-start:0.5rem;--padding-end:0.5rem;position:relative;z-index:2;min-width:3rem;margin:0;font-size:var(--road-font-size-14)}::slotted(road-button):hover{background-color:var(--road-button-ghost-variant)}.input-group-prepend{z-index:1;order:-1;position:relative}.input-group-prepend~.form-label{left:calc(3rem + 1px)}.input-group-append{position:relative;z-index:1;border-radius:0 0.25rem 0.25rem 0}::slotted(label){display:flex;align-items:center;padding:0 0.5rem;margin-bottom:0;color:var(--road-on-surface);text-align:center;white-space:nowrap;cursor:text;border-radius:0.25rem;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}::slotted(road-label){display:flex;align-items:center;padding:0 0.5rem;margin-bottom:0;color:var(--road-on-surface);text-align:center;white-space:nowrap;cursor:text;background:var(--road-surface);border:1px solid var(--road-input-outline);border-radius:0.25rem;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}::slotted(road-input:not(:first-child)),::slotted(road-select:not(:first-child)){border-radius:0}.input-group-append ::slotted([slot="append"]){border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.input-group-prepend ::slotted([slot="prepend"]){border-right:0;border-top-right-radius:0;border-bottom-right-radius:0}:host(.phone-number-group) .input-group-prepend ::slotted([slot="prepend"]){border-right:1px solid var(--road-input-outline);border-top-right-radius:0;border-bottom-right-radius:0}.input-group-prepend ::slotted(label){margin-right:calc(-1rem + 1px)}.input-group-append:hover ::slotted(road-button){background-color:var(--road-button-ghost-variant)}.size-xl .input-group-prepend,.size-xl .input-group-append{height:3.5rem}.size-xl ::slotted(road-button){height:3.5rem}.input-group.is-invalid ::slotted([slot="append"]),.input-group.is-invalid ::slotted([slot="prepend"]){border-color:var(--road-danger-outline)}:host(.phone-number-group) .input-group.is-invalid ::slotted([slot="prepend"]){border-color:var(--road-danger-outline)}:host([disabled]){cursor:not-allowed}:host([disabled]) .input-group{pointer-events:none;}:host([disabled]) ::slotted([slot="append"]),:host([disabled]) ::slotted([slot="prepend"]){color:var(--road-on-surface-disabled);cursor:not-allowed;background:#e4e5e9}:host([disabled]) ::slotted([slot="append"] road-icon),:host([disabled]) ::slotted([slot="prepend"] road-icon){color:var(--road-on-surface-disabled)}:host([disabled]) road-icon{color:var(--road-on-surface-disabled)}';const Yt=Wt;const Zt=class{constructor(r){t(this,r);this.disabled=false}handleDisabledChange(t){this.updateDisabledState(t)}updateDisabledState(t){const r=this.el.querySelectorAll("road-input, road-button, road-select");r.forEach((r=>{if(t){r.setAttribute("disabled","")}else{r.removeAttribute("disabled")}}))}updateIndentation(){const t=!!this.el.querySelector('[slot="prepend"]');const r=this.el.querySelector(".form-control");const n=this.el.querySelector(".form-label");const e=this.el.querySelector(".form-select");const i=this.el.querySelector(".form-select-label");if(r){r.style.textIndent=t?"2.1rem":""}if(e){e.style.textIndent=t?"2.1rem":""}if(n){n.style.textIndent=t?"2.8rem":""}if(i){i.style.textIndent=t?"2.8rem":""}}componentDidLoad(){this.updateDisabledState(this.disabled);this.updateIndentation();const t=new MutationObserver((()=>this.updateIndentation()));t.observe(this.el,{childList:true,subtree:true})}render(){const t=this.el.querySelector("road-input[error]")?"is-invalid":"";const n=this.el.querySelector("road-input[sizes]")?`size-${this.el.querySelector("road-input").sizes}`:"";const e=this.disabled?"is-disabled":"";return r("div",{key:"c789f52752140cc0f396a8e2e2fcf9725ca974d2",class:`input-group ${t} ${e} ${n}`},r("div",{key:"41870e22ddc72cd42c6b737962c11e075af78f91",class:"input-group-prepend"},r("slot",{key:"80322c2acb0bfe220cef11df0a7fd03aad98186a",name:"prepend"})),r("slot",{key:"3b3c02a69bba482658a95f26fa46cb365ab373a5"}),r("div",{key:"2551b5848533d7564872892e04380a68216a4979",class:"input-group-append"},r("slot",{key:"c030afa5616bf26d7bcf99f09adc644fc2eeb2ca",name:"append"})))}get el(){return i(this)}static get watchers(){return{disabled:["handleDisabledChange"]}}};Zt.style=Yt;const Kt=":host{--border-radius:var(--road-spacing-02);--background-color:var(--road-surface);--border-color:var(--road-outline-variant);--detail-color:var(--road-icon);position:relative;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;overflow:hidden;font-size:var(--road-font-size-14);text-decoration:none;border:1px solid var(--road-outline-weak);border-radius:var(--border-radius);outline:none}.layout-vertical{display:flex;flex-direction:column;max-width:224px}.layout-vertical .item-inner{align-items:flex-start}.item-native{position:relative;z-index:1;box-sizing:border-box;display:flex;align-items:inherit;justify-content:inherit;width:100%;padding:var(--road-spacing-05);margin:0;overflow:inherit;font-family:inherit;font-size:inherit;color:var(--road-on-surface);text-align:left;background-color:var(--background-color);border:2px solid transparent;outline:none;transition:background 0.15s ease-in-out;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.item-active{border:2px solid var(--border-color)}button.item-native:not(:disabled):not(.item-active):hover,button.item-native:not(:disabled):not(.item-active):focus{border:2px solid var(--border-color)}.item-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.item-inner{position:relative;box-sizing:border-box;display:flex;flex:1;flex-direction:inherit;align-items:center;align-self:stretch;width:100%;min-height:inherit;padding:var(--inner-padding);overflow:inherit;text-align:inherit;text-decoration:none;border-color:var(--road-grey-70);border-style:solid;border-width:var(--inner-border-width, 0);outline:0}.input-wrapper{box-sizing:border-box;display:flex;flex:1;flex-direction:inherit;align-items:inherit;align-self:stretch;overflow:inherit;text-overflow:ellipsis}.input-wrapper-info-title{font-size:var(--road-font-size-16);font-weight:700}.input-wrapper-info-text{margin:0;font-size:var(--road-font-size-16);font-weight:400;color:var(--road-on-surface-weak)}.item-detail-icon{color:var(--detail-color)}::slotted(road-icon){flex-shrink:0;margin-right:0.5rem}::slotted(road-img){flex-shrink:0;margin-right:0.5rem}.layout-vertical ::slotted(road-img){margin-bottom:0.5rem}::slotted(road-label) p{color:var(--road-on-surface-weak)}::slotted(road-button){--padding-start:0.5rem;--padding-end:0.5rem;--margin-bottom:0}:host(.item-lines-none){--border-width:0 !important;--inner-border-width:0 !important}:host(.item-lines-full){--border-width:0 0 1px 0 !important;--inner-border-width:0 !important}:host(.item-lines-inset){--inner-border-width:0 0 1px 0 !important}";const qt=Kt;const Gt=class{constructor(r){t(this,r);this.multipleInputs=false;this.titleItem="";this.text="";this.button=false;this.detailIcon=o;this.disabled=false;this.layout="horizontal";this.type="button"}isClickable(){return this.href!==undefined||this.button}render(){const{detail:t,detailIcon:e,download:i,layout:o,lines:a,disabled:u,href:s,rel:f,target:c}=this;const l=this.isClickable();const d=l?s===undefined?"button":"a":"div";const h=d==="button"?{type:this.type}:{download:i,href:s,rel:f,target:c};const v=t!==undefined&&t;return r(n,{key:"0aea3486ca34a04bfa7e0690181466e0f563ecdd","aria-disabled":u?"true":null,class:{[`item-lines-${a}`]:a!==undefined}},r(d,Object.assign({key:"a2b491a400eb88b4af1ac7a26a5a00e32fde08cb"},h,{class:{"item-native":true,"item-active":this.active,[`layout-${o}`]:o!==undefined},part:"native",disabled:u}),r("slot",{key:"b78e532a469747c50da1368932d4f582eb87f28b",name:"start"}),r("div",{key:"de095dfd6b972de3daebc9217842f3b5b2f593c8",class:"item-inner"},r("div",{key:"9f43e5afd0c887e8f5df8fee8b6a4e95b205fbd0",class:"input-wrapper"},r("slot",{key:"29497de23731ee53ee5e7665a03959e7fdc5df9b"}),r("div",{key:"16a247a409fa1803a0026c6923fc2b99b64b351b",class:"input-wrapper-info"},r("road-label",{key:"aefe0b6c06109bd0c17d405968344c24549332e7",class:"input-wrapper-info-title"},this.titleItem),r("p",{key:"9296d6542fee43a933193b284bc7cc8a1e1c5048",class:"input-wrapper-info-text"},this.text))),r("slot",{key:"f66a05fb104f8ddf9553a99e8a75a59b0f24d9d7",name:"end"}),v&&r("road-icon",{key:"5eab0e8ca80203ec5d276a8403aba93746953b7e",icon:e,lazy:false,class:"item-detail-icon"}))))}get el(){return i(this)}};Gt.style=qt;const Ht=":host{box-sizing:border-box;display:block;overflow:hidden;font-size:var(--road-font-size-14);color:currentColor;text-overflow:ellipsis;white-space:nowrap}";const Xt=Ht;const Jt=class{constructor(r){t(this,r)}render(){return r("slot",{key:"f59ac081c472add0201c72c48c5146a231bf05fd"})}};Jt.style=Xt;const Qt=":host{display:block;contain:content;list-style-type:none}:host(.list-lines-none) ::slotted(road-item){--border-width:0;--inner-border-width:0}:host(.list-lines-full){border:1px solid var(--road-outline);border-bottom:0}:host(.list-lines-full),:host(.list-lines-full) ::slotted(road-item){--border-width:0 0 1px 0;--inner-border-width:0}:host(.item-lines-inset),:host(.list-lines-inset) ::slotted(road-item){--inner-border-width:0 0 1px 0}";const tr=Qt;const rr=class{constructor(r){t(this,r)}render(){const{lines:t}=this;return r(n,{key:"2c2537547489eb97f46ccb6306d3d697773ab719",class:{[`list-lines-${t}`]:t!==undefined}},r("slot",{key:"f4449d3df668e2d77f83103bb2e87915ef101efc"}))}};rr.style=tr;const nr=":host{display:flex;flex-wrap:wrap;max-width:1440px;margin-right:-8px;margin-left:-8px}@media (min-width: 1440px){:host{margin-right:auto;margin-left:auto}}:host(.flex-wrap){flex-wrap:wrap}:host(.flex-nowrap){flex-wrap:nowrap}:host(.justify-content-start){justify-content:flex-start}:host(.justify-content-end){justify-content:flex-end}:host(.justify-content-center){justify-content:center}:host(.justify-content-between){justify-content:space-between}:host(.justify-content-around){justify-content:space-around}:host(.align-items-start){align-items:flex-start}:host(.align-items-end){align-items:flex-end}:host(.align-items-center){align-items:center}:host(.align-items-baseline){align-items:baseline}:host(.align-items-stretch){align-items:stretch}@media (min-width: 576px){:host(.flex-sm-wrap){flex-wrap:wrap}:host(.flex-sm-nowrap){flex-wrap:nowrap}:host(.justify-content-sm-start){justify-content:flex-start}:host(.justify-content-sm-end){justify-content:flex-end}:host(.justify-content-sm-center){justify-content:center}:host(.justify-content-sm-between){justify-content:space-between}:host(.justify-content-sm-around){justify-content:space-around}:host(.align-items-sm-start){align-items:flex-start}:host(.align-items-sm-end){align-items:flex-end}:host(.align-items-sm-center){align-items:center}:host(.align-items-sm-baseline){align-items:baseline}:host(.align-items-sm-stretch){align-items:stretch}}@media (min-width: 768px){:host(.flex-md-wrap){flex-wrap:wrap}:host(.flex-md-nowrap){flex-wrap:nowrap}:host(.justify-content-md-start){justify-content:flex-start}:host(.justify-content-md-end){justify-content:flex-end}:host(.justify-content-md-center){justify-content:center}:host(.justify-content-md-between){justify-content:space-between}:host(.justify-content-md-around){justify-content:space-around}:host(.align-items-md-start){align-items:flex-start}:host(.align-items-md-end){align-items:flex-end}:host(.align-items-md-center){align-items:center}:host(.align-items-md-baseline){align-items:baseline}:host(.align-items-md-stretch){align-items:stretch}}@media (min-width: 992px){:host(.flex-lg-wrap){flex-wrap:wrap}:host(.flex-lg-nowrap){flex-wrap:nowrap}:host(.justify-content-lg-start){justify-content:flex-start}:host(.justify-content-lg-end){justify-content:flex-end}:host(.justify-content-lg-center){justify-content:center}:host(.justify-content-lg-between){justify-content:space-between}:host(.justify-content-lg-around){justify-content:space-around}:host(.align-items-lg-start){align-items:flex-start}:host(.align-items-lg-end){align-items:flex-end}:host(.align-items-lg-center){align-items:center}:host(.align-items-lg-baseline){align-items:baseline}:host(.align-items-lg-stretch){align-items:stretch}}@media (min-width: 1200px){:host(.flex-xl-wrap){flex-wrap:wrap}:host(.flex-xl-nowrap){flex-wrap:nowrap}:host(.justify-content-xl-start){justify-content:flex-start}:host(.justify-content-xl-end){justify-content:flex-end}:host(.justify-content-xl-center){justify-content:center}:host(.justify-content-xl-between){justify-content:space-between}:host(.justify-content-xl-around){justify-content:space-around}:host(.align-items-xl-start){align-items:flex-start}:host(.align-items-xl-end){align-items:flex-end}:host(.align-items-xl-center){align-items:center}:host(.align-items-xl-baseline){align-items:baseline}:host(.align-items-xl-stretch){align-items:stretch}}:host(.align-content-start){align-content:flex-start}:host(.align-content-end){align-content:flex-end}:host(.align-content-center){align-content:center}:host(.align-content-between){align-content:space-between}:host(.align-content-around){align-content:space-around}:host(.align-content-stretch){align-content:stretch}:host(.align-self-auto){align-self:auto}:host(.align-self-start){align-self:flex-start}:host(.align-self-end){align-self:flex-end}:host(.align-self-center){align-self:center}:host(.align-self-baseline){align-self:baseline}:host(.align-self-stretch){align-self:stretch}";const er=nr;const ir=class{constructor(r){t(this,r)}render(){return r(n,{key:"c38bbf8641a80fc8ebb76c25f5cec3070127c569"},r("slot",{key:"b8459fd13efb02e5b04fb4558533f89f37cbe858"}))}};ir.style=er;const or=':host{position:relative;box-sizing:border-box;display:block;width:100%;contain:content;color:var(--road-on-surface);background:var(--road-surface);border-bottom:1px solid var(--road-outline-weak)}.toolbar-container{position:relative;box-sizing:border-box;display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;min-height:3.73rem;contain:content;overflow:hidden}.toolbar-title-container{position:relative;top:0;left:0;display:flex;flex:1;align-items:center;width:100%;height:100%;text-align:center}.toolbar-title{display:block;width:100%;font-size:var(--road-font-size-18);font-weight:700;text-align:left;text-overflow:ellipsis;white-space:nowrap;pointer-events:auto}@media (min-width: 1200px){.toolbar-title{font-size:var(--road-font-size-21);text-align:center}}.toolbar-content{flex:1 1 0%;min-width:0;max-width:100%}.toolbar .logo{position:relative;z-index:1;padding-left:1rem;margin-bottom:0;font-size:var(--road-font-size-14);font-weight:400}.toolbar .app-name{margin-left:1rem;font-size:var(--road-font-size-20);font-weight:700}::slotted([slot="start"]){--margin-bottom:0;--padding-start:0.5rem;--padding-end:0.5rem;align-self:auto;font-size:var(--road-font-size-14);font-weight:400;border-right:1px solid var(--road-outline-weak);border-radius:0}::slotted([slot="end"]),::slotted([slot="secondary"]){--margin-bottom:0;--padding-start:0.5rem;--padding-end:0.5rem;font-size:var(--road-font-size-14);font-weight:400;border-left:1px solid var(--road-outline-weak);border-radius:0}:host(.toolbar-primary){color:var(--road-on-header-surface);background:var(--road-header-surface)}:host(.toolbar-secondary){color:var(--road-on-secondary);background:var(--road-secondary)}';const ar=or;const ur=class{constructor(r){t(this,r)}render(){const t=this.color!==undefined?`toolbar-${this.color}`:"";return r(n,{key:"4155097cf17050c6f1c9ddd4ad66c153f005fa45",class:t},r("div",{key:"74c8520959b7893b32c59744ad5486ed075d5ee1",class:"toolbar-container"},r("slot",{key:"37605f2014027e0f12b5c80b2f57db710ae3b726",name:"start"}),r("slot",{key:"9162f18c3fc3fab8ce1491841889a2d9616ab0e9",name:"primary"}),r("div",{key:"fdf739135446b6977e3d89537118a3417c0bfd86",class:"toolbar-content"},r("slot",{key:"48434e192dd116fe52796dbe3f62d6bed0ac5a79"})),r("slot",{key:"5eee5c80975129ed993ce466e5d96efdd6854922",name:"secondary"}),r("slot",{key:"c52c70da47aea897e50c7eab9a3fdfba5f9056e3",name:"end"})))}};ur.style=ar;export{h as road_badge,p as road_button,w as road_col,k as road_counter,$t as road_drawer,It as road_grid,Ut as road_icon,Bt as road_input,Zt as road_input_group,Gt as road_item,Jt as road_label,rr as road_list,ir as road_row,ur as road_toolbar};
|
|
18
|
+
//# sourceMappingURL=p-f46b6488.entry.js.map
|